From 033c7304f37f16f1f130dd91ec9d8c116a1cf557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Wed, 24 May 2023 12:52:20 +0300 Subject: [PATCH 1/2] Refactor #3965 - For Inplace --- components/lib/inplace/BaseInplace.vue | 75 ++++++++++++++++++++++++++ components/lib/inplace/Inplace.d.ts | 5 ++ components/lib/inplace/Inplace.vue | 64 +++------------------- 3 files changed, 86 insertions(+), 58 deletions(-) create mode 100644 components/lib/inplace/BaseInplace.vue diff --git a/components/lib/inplace/BaseInplace.vue b/components/lib/inplace/BaseInplace.vue new file mode 100644 index 000000000..77642aad7 --- /dev/null +++ b/components/lib/inplace/BaseInplace.vue @@ -0,0 +1,75 @@ + diff --git a/components/lib/inplace/Inplace.d.ts b/components/lib/inplace/Inplace.d.ts index 7141a548a..1de356221 100755 --- a/components/lib/inplace/Inplace.d.ts +++ b/components/lib/inplace/Inplace.d.ts @@ -101,6 +101,11 @@ export interface InplaceProps { * @type {InplacePassThroughOptions} */ pt?: InplacePassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/inplace/Inplace.vue b/components/lib/inplace/Inplace.vue index b757cd82f..c026e56f3 100755 --- a/components/lib/inplace/Inplace.vue +++ b/components/lib/inplace/Inplace.vue @@ -1,14 +1,14 @@ - - From 123e38fe8e11bbbc275bf1f008bee58759f70abe Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Wed, 24 May 2023 09:53:02 +0000 Subject: [PATCH 2/2] Update API doc --- doc/common/apidoc/index.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 928e0282c..99403d99d 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -20874,6 +20874,14 @@ "type": "InplacePassThroughOptions", "default": "", "description": "Uses to pass attributes to DOM elements inside the component." + }, + { + "name": "unstyled", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "When enabled, it removes component related styles in the core." } ], "methods": []