From 80478bbfe19ae4a4a5cf185403ee9a588aad5053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Fri, 2 Jun 2023 19:04:55 +0300 Subject: [PATCH] Refactor #3965 - For DataViewLayoutOptions --- .../BaseDataViewLayoutOptions.vue | 35 +++++++++++++++++++ .../DataViewLayoutOptions.d.ts | 5 +++ .../DataViewLayoutOptions.vue | 19 +++------- 3 files changed, 45 insertions(+), 14 deletions(-) create mode 100644 components/lib/dataviewlayoutoptions/BaseDataViewLayoutOptions.vue diff --git a/components/lib/dataviewlayoutoptions/BaseDataViewLayoutOptions.vue b/components/lib/dataviewlayoutoptions/BaseDataViewLayoutOptions.vue new file mode 100644 index 000000000..a97f4f0ee --- /dev/null +++ b/components/lib/dataviewlayoutoptions/BaseDataViewLayoutOptions.vue @@ -0,0 +1,35 @@ + diff --git a/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.d.ts b/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.d.ts index c60aa10b7..2e8a3b498 100755 --- a/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +++ b/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.d.ts @@ -83,6 +83,11 @@ export interface DataViewLayoutOptionsProps { * @type {DataViewLayoutOptionsPassThroughOptions} */ pt?: DataViewLayoutOptionsPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.vue b/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.vue index cf06764fa..6ec26683b 100755 --- a/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.vue +++ b/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.vue @@ -1,11 +1,11 @@