zc-lowcode 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +437 -3
- package/designer.d.ts +5 -0
- package/dist/assets/code-editor.css +1 -0
- package/dist/assets/designer.css +1 -0
- package/dist/assets/materials.css +1 -0
- package/dist/assets/runtime-definitions.css +1 -0
- package/dist/assets/runtime.css +1 -0
- package/dist/assets/sortable.css +1 -0
- package/dist/code-editor-DJwwp3uU.js +9 -0
- package/dist/code-editor-DJwwp3uU.js.map +1 -0
- package/dist/code-editor.vue_vue_type_script_setup_true_lang-aA043pnA.js +40176 -0
- package/dist/code-editor.vue_vue_type_script_setup_true_lang-aA043pnA.js.map +1 -0
- package/dist/core/index.d.ts +560 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core.js +881 -0
- package/dist/core.js.map +1 -0
- package/dist/designer/canvas/draggable-list.vue.d.ts +15 -0
- package/dist/designer/canvas/draggable-list.vue.d.ts.map +1 -0
- package/dist/designer/canvas/widget-node.vue.d.ts +11 -0
- package/dist/designer/canvas/widget-node.vue.d.ts.map +1 -0
- package/dist/designer/canvas/workspace.vue.d.ts +3 -0
- package/dist/designer/canvas/workspace.vue.d.ts.map +1 -0
- package/dist/designer/datasource/data-editor.vue.d.ts +13 -0
- package/dist/designer/datasource/data-editor.vue.d.ts.map +1 -0
- package/dist/designer/datasource/datasource-help.d.ts +9 -0
- package/dist/designer/datasource/datasource-help.d.ts.map +1 -0
- package/dist/designer/datasource/panel.vue.d.ts +3 -0
- package/dist/designer/datasource/panel.vue.d.ts.map +1 -0
- package/dist/designer/designer.d.ts +119 -0
- package/dist/designer/designer.d.ts.map +1 -0
- package/dist/designer/designer.vue.d.ts +40 -0
- package/dist/designer/designer.vue.d.ts.map +1 -0
- package/dist/designer/index.d.ts +13 -0
- package/dist/designer/index.d.ts.map +1 -0
- package/dist/designer/material-registry.d.ts +19 -0
- package/dist/designer/material-registry.d.ts.map +1 -0
- package/dist/designer/materials/widget-library.vue.d.ts +3 -0
- package/dist/designer/materials/widget-library.vue.d.ts.map +1 -0
- package/dist/designer/methods/api-method-params-list.vue.d.ts +14 -0
- package/dist/designer/methods/api-method-params-list.vue.d.ts.map +1 -0
- package/dist/designer/methods/api-param-bind-button.vue.d.ts +17 -0
- package/dist/designer/methods/api-param-bind-button.vue.d.ts.map +1 -0
- package/dist/designer/methods/api-param-list.vue.d.ts +19 -0
- package/dist/designer/methods/api-param-list.vue.d.ts.map +1 -0
- package/dist/designer/methods/api-result-rules-list.vue.d.ts +16 -0
- package/dist/designer/methods/api-result-rules-list.vue.d.ts.map +1 -0
- package/dist/designer/methods/method-api-config-form.vue.d.ts +15 -0
- package/dist/designer/methods/method-api-config-form.vue.d.ts.map +1 -0
- package/dist/designer/methods/page-method-api.d.ts +37 -0
- package/dist/designer/methods/page-method-api.d.ts.map +1 -0
- package/dist/designer/methods/page-method-editor-modal.vue.d.ts +30 -0
- package/dist/designer/methods/page-method-editor-modal.vue.d.ts.map +1 -0
- package/dist/designer/methods/page-method-simulate-args-modal.vue.d.ts +18 -0
- package/dist/designer/methods/page-method-simulate-args-modal.vue.d.ts.map +1 -0
- package/dist/designer/methods/page-methods.vue.d.ts +3 -0
- package/dist/designer/methods/page-methods.vue.d.ts.map +1 -0
- package/dist/designer/methods/use-page-methods-editor.d.ts +163 -0
- package/dist/designer/methods/use-page-methods-editor.d.ts.map +1 -0
- package/dist/designer/outline/panel.vue.d.ts +5 -0
- package/dist/designer/outline/panel.vue.d.ts.map +1 -0
- package/dist/designer/properties/panel.vue.d.ts +18 -0
- package/dist/designer/properties/panel.vue.d.ts.map +1 -0
- package/dist/designer/shared/code-editor-page-context-completion.d.ts +39 -0
- package/dist/designer/shared/code-editor-page-context-completion.d.ts.map +1 -0
- package/dist/designer/shared/code-editor.vue.d.ts +93 -0
- package/dist/designer/shared/code-editor.vue.d.ts.map +1 -0
- package/dist/designer/use-designer-shortcuts.d.ts +21 -0
- package/dist/designer/use-designer-shortcuts.d.ts.map +1 -0
- package/dist/designer-style.js +4 -0
- package/dist/designer.js +3215 -0
- package/dist/designer.js.map +1 -0
- package/dist/materials/definitions.d.ts +3 -0
- package/dist/materials/definitions.d.ts.map +1 -0
- package/dist/materials/index.d.ts +11 -0
- package/dist/materials/index.d.ts.map +1 -0
- package/dist/materials/packages/button/index.d.ts +4 -0
- package/dist/materials/packages/button/index.d.ts.map +1 -0
- package/dist/materials/packages/button/options.d.ts +45 -0
- package/dist/materials/packages/button/options.d.ts.map +1 -0
- package/dist/materials/packages/button/setter.vue.d.ts +7 -0
- package/dist/materials/packages/button/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/button/view.vue.d.ts +11 -0
- package/dist/materials/packages/button/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/card/index.d.ts +4 -0
- package/dist/materials/packages/card/index.d.ts.map +1 -0
- package/dist/materials/packages/card/options.d.ts +24 -0
- package/dist/materials/packages/card/options.d.ts.map +1 -0
- package/dist/materials/packages/card/setter.vue.d.ts +7 -0
- package/dist/materials/packages/card/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/card/view.vue.d.ts +28 -0
- package/dist/materials/packages/card/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/carousel/carousel-slide/options.d.ts +12 -0
- package/dist/materials/packages/carousel/carousel-slide/options.d.ts.map +1 -0
- package/dist/materials/packages/carousel/carousel-slide/setter.vue.d.ts +7 -0
- package/dist/materials/packages/carousel/carousel-slide/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/carousel/carousel-slide/view.vue.d.ts +24 -0
- package/dist/materials/packages/carousel/carousel-slide/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/carousel/designer.vue.d.ts +30 -0
- package/dist/materials/packages/carousel/designer.vue.d.ts.map +1 -0
- package/dist/materials/packages/carousel/index.d.ts +5 -0
- package/dist/materials/packages/carousel/index.d.ts.map +1 -0
- package/dist/materials/packages/carousel/options.d.ts +65 -0
- package/dist/materials/packages/carousel/options.d.ts.map +1 -0
- package/dist/materials/packages/carousel/setter.vue.d.ts +7 -0
- package/dist/materials/packages/carousel/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/carousel/view.vue.d.ts +41 -0
- package/dist/materials/packages/carousel/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/divider/index.d.ts +4 -0
- package/dist/materials/packages/divider/index.d.ts.map +1 -0
- package/dist/materials/packages/divider/options.d.ts +39 -0
- package/dist/materials/packages/divider/options.d.ts.map +1 -0
- package/dist/materials/packages/divider/setter.vue.d.ts +7 -0
- package/dist/materials/packages/divider/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/divider/view.vue.d.ts +11 -0
- package/dist/materials/packages/divider/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/grid/designer.vue.d.ts +160 -0
- package/dist/materials/packages/grid/designer.vue.d.ts.map +1 -0
- package/dist/materials/packages/grid/index.d.ts +4 -0
- package/dist/materials/packages/grid/index.d.ts.map +1 -0
- package/dist/materials/packages/grid/options.d.ts +41 -0
- package/dist/materials/packages/grid/options.d.ts.map +1 -0
- package/dist/materials/packages/grid/setter.vue.d.ts +7 -0
- package/dist/materials/packages/grid/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/grid/split.d.ts +18 -0
- package/dist/materials/packages/grid/split.d.ts.map +1 -0
- package/dist/materials/packages/grid/view.vue.d.ts +35 -0
- package/dist/materials/packages/grid/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/image/index.d.ts +4 -0
- package/dist/materials/packages/image/index.d.ts.map +1 -0
- package/dist/materials/packages/image/options.d.ts +31 -0
- package/dist/materials/packages/image/options.d.ts.map +1 -0
- package/dist/materials/packages/image/setter.vue.d.ts +7 -0
- package/dist/materials/packages/image/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/image/view.vue.d.ts +11 -0
- package/dist/materials/packages/image/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/list/designer.vue.d.ts +29 -0
- package/dist/materials/packages/list/designer.vue.d.ts.map +1 -0
- package/dist/materials/packages/list/index.d.ts +4 -0
- package/dist/materials/packages/list/index.d.ts.map +1 -0
- package/dist/materials/packages/list/options.d.ts +60 -0
- package/dist/materials/packages/list/options.d.ts.map +1 -0
- package/dist/materials/packages/list/setter.vue.d.ts +7 -0
- package/dist/materials/packages/list/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/list/view.vue.d.ts +31 -0
- package/dist/materials/packages/list/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/tab/designer.vue.d.ts +30 -0
- package/dist/materials/packages/tab/designer.vue.d.ts.map +1 -0
- package/dist/materials/packages/tab/index.d.ts +5 -0
- package/dist/materials/packages/tab/index.d.ts.map +1 -0
- package/dist/materials/packages/tab/options.d.ts +48 -0
- package/dist/materials/packages/tab/options.d.ts.map +1 -0
- package/dist/materials/packages/tab/setter.vue.d.ts +7 -0
- package/dist/materials/packages/tab/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/tab/tab-pane/options.d.ts +13 -0
- package/dist/materials/packages/tab/tab-pane/options.d.ts.map +1 -0
- package/dist/materials/packages/tab/tab-pane/setter.vue.d.ts +7 -0
- package/dist/materials/packages/tab/tab-pane/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/tab/tab-pane/view.vue.d.ts +24 -0
- package/dist/materials/packages/tab/tab-pane/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/tab/view.vue.d.ts +34 -0
- package/dist/materials/packages/tab/view.vue.d.ts.map +1 -0
- package/dist/materials/packages/text/index.d.ts +4 -0
- package/dist/materials/packages/text/index.d.ts.map +1 -0
- package/dist/materials/packages/text/options.d.ts +29 -0
- package/dist/materials/packages/text/options.d.ts.map +1 -0
- package/dist/materials/packages/text/setter.vue.d.ts +7 -0
- package/dist/materials/packages/text/setter.vue.d.ts.map +1 -0
- package/dist/materials/packages/text/view.vue.d.ts +11 -0
- package/dist/materials/packages/text/view.vue.d.ts.map +1 -0
- package/dist/materials/page/index.d.ts +4 -0
- package/dist/materials/page/index.d.ts.map +1 -0
- package/dist/materials/page/lifecycle-panel.vue.d.ts +13 -0
- package/dist/materials/page/lifecycle-panel.vue.d.ts.map +1 -0
- package/dist/materials/page/setter-slots.d.ts +7 -0
- package/dist/materials/page/setter-slots.d.ts.map +1 -0
- package/dist/materials/page/setter.vue.d.ts +25 -0
- package/dist/materials/page/setter.vue.d.ts.map +1 -0
- package/dist/materials/page/view.vue.d.ts +26 -0
- package/dist/materials/page/view.vue.d.ts.map +1 -0
- package/dist/materials/runtime-definitions.d.ts +10 -0
- package/dist/materials/runtime-definitions.d.ts.map +1 -0
- package/dist/materials/shared/designer/container-children.vue.d.ts +24 -0
- package/dist/materials/shared/designer/container-children.vue.d.ts.map +1 -0
- package/dist/materials/shared/designer/helpers.d.ts +68 -0
- package/dist/materials/shared/designer/helpers.d.ts.map +1 -0
- package/dist/materials/shared/designer/icon.vue.d.ts +8 -0
- package/dist/materials/shared/designer/icon.vue.d.ts.map +1 -0
- package/dist/materials/shared/designer/selection-chrome.vue.d.ts +31 -0
- package/dist/materials/shared/designer/selection-chrome.vue.d.ts.map +1 -0
- package/dist/materials/shared/designer/use-keyed-slot-sync.d.ts +15 -0
- package/dist/materials/shared/designer/use-keyed-slot-sync.d.ts.map +1 -0
- package/dist/materials/shared/designer/use-widget-size-resize.d.ts +16 -0
- package/dist/materials/shared/designer/use-widget-size-resize.d.ts.map +1 -0
- package/dist/materials/shared/envelopes/internal-pane-view.vue.d.ts +29 -0
- package/dist/materials/shared/envelopes/internal-pane-view.vue.d.ts.map +1 -0
- package/dist/materials/shared/envelopes/item-scope-provider.vue.d.ts +22 -0
- package/dist/materials/shared/envelopes/item-scope-provider.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/binding-form-item.vue.d.ts +40 -0
- package/dist/materials/shared/setter/components/binding-form-item.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/binding-picker/binding-scope-tree.d.ts +83 -0
- package/dist/materials/shared/setter/components/binding-picker/binding-scope-tree.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/binding-picker/binding-utils.d.ts +105 -0
- package/dist/materials/shared/setter/components/binding-picker/binding-utils.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/binding-picker/index.vue.d.ts +30 -0
- package/dist/materials/shared/setter/components/binding-picker/index.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/box-model.vue.d.ts +11 -0
- package/dist/materials/shared/setter/components/box-model.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/color-input.vue.d.ts +14 -0
- package/dist/materials/shared/setter/components/color-input.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/image-upload.vue.d.ts +25 -0
- package/dist/materials/shared/setter/components/image-upload.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/keyed-slot-child-list.vue.d.ts +17 -0
- package/dist/materials/shared/setter/components/keyed-slot-child-list.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/offset-box.vue.d.ts +11 -0
- package/dist/materials/shared/setter/components/offset-box.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/percent-input.vue.d.ts +19 -0
- package/dist/materials/shared/setter/components/percent-input.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/components/style-property-input.vue.d.ts +92 -0
- package/dist/materials/shared/setter/components/style-property-input.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/composables/use-page-data-field-options.d.ts +15 -0
- package/dist/materials/shared/setter/composables/use-page-data-field-options.d.ts.map +1 -0
- package/dist/materials/shared/setter/panels/animation-panel.vue.d.ts +7 -0
- package/dist/materials/shared/setter/panels/animation-panel.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/panels/background-panel.vue.d.ts +11 -0
- package/dist/materials/shared/setter/panels/background-panel.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/panels/border-panel.vue.d.ts +11 -0
- package/dist/materials/shared/setter/panels/border-panel.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/panels/event-panel.vue.d.ts +14 -0
- package/dist/materials/shared/setter/panels/event-panel.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/panels/layout-panel.vue.d.ts +25 -0
- package/dist/materials/shared/setter/panels/layout-panel.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/panels/position-panel.vue.d.ts +16 -0
- package/dist/materials/shared/setter/panels/position-panel.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/panels/typography-panel.vue.d.ts +11 -0
- package/dist/materials/shared/setter/panels/typography-panel.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/panels/widget-style-panel.vue.d.ts +30 -0
- package/dist/materials/shared/setter/panels/widget-style-panel.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/shell.vue.d.ts +21 -0
- package/dist/materials/shared/setter/shell.vue.d.ts.map +1 -0
- package/dist/materials/shared/setter/use-widget-setter.d.ts +35 -0
- package/dist/materials/shared/setter/use-widget-setter.d.ts.map +1 -0
- package/dist/materials-style.js +3 -0
- package/dist/materials.js +14703 -0
- package/dist/materials.js.map +1 -0
- package/dist/runtime/index.d.ts +6 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/page-renderer.vue.d.ts +4 -0
- package/dist/runtime/page-renderer.vue.d.ts.map +1 -0
- package/dist/runtime/runtime.d.ts +585 -0
- package/dist/runtime/runtime.d.ts.map +1 -0
- package/dist/runtime/scoped-style-block.vue.d.ts +7 -0
- package/dist/runtime/scoped-style-block.vue.d.ts.map +1 -0
- package/dist/runtime/widget-node.vue.d.ts +9 -0
- package/dist/runtime/widget-node.vue.d.ts.map +1 -0
- package/dist/runtime-definitions-BGShdDBK.js +1984 -0
- package/dist/runtime-definitions-BGShdDBK.js.map +1 -0
- package/dist/runtime-style.js +3 -0
- package/dist/runtime.js +262 -0
- package/dist/runtime.js.map +1 -0
- package/dist/sortable.esm-DbutZcEr.js +18104 -0
- package/dist/sortable.esm-DbutZcEr.js.map +1 -0
- package/dist/style.js +3 -0
- package/package.json +73 -37
- package/runtime.d.ts +5 -0
- package/dist/lowcode-editor.es.js +0 -45473
- package/dist/lowcode-editor.umd.js +0 -45472
- package/dist/packages/install.d.ts +0 -4
- package/dist/packages/locale/en-US.d.ts +0 -315
- package/dist/packages/locale/index.d.ts +0 -635
- package/dist/packages/locale/zh-CN.d.ts +0 -315
- package/dist/packages/lowcode-editor/components/design-panel/components/wrapper.vue.d.ts +0 -40
- package/dist/packages/lowcode-editor/components/design-panel/index.vue.d.ts +0 -64
- package/dist/packages/lowcode-editor/components/layout-panel/index.vue.d.ts +0 -33
- package/dist/packages/lowcode-editor/components/setter-panel/index.vue.d.ts +0 -22
- package/dist/packages/lowcode-editor/components/widget-panel/index.vue.d.ts +0 -100
- package/dist/packages/lowcode-editor/index.vue.d.ts +0 -349
- package/dist/packages/lowcode-editor-renderer/index.vue.d.ts +0 -100
- package/dist/packages/lowcode-editor-widgets/components/property-editor/property.d.ts +0 -4
- package/dist/packages/lowcode-editor-widgets/components/property.vue.d.ts +0 -53
- package/dist/packages/lowcode-editor-widgets/components/setter-base/index.vue.d.ts +0 -20
- package/dist/packages/lowcode-editor-widgets/components/usePropertyRegister.d.ts +0 -7
- package/dist/packages/lowcode-editor-widgets/index.d.ts +0 -4
- package/dist/packages/lowcode-editor-widgets/widgets/container/card/index.d.ts +0 -38
- package/dist/packages/lowcode-editor-widgets/widgets/container/card/setter.vue.d.ts +0 -15
- package/dist/packages/lowcode-editor-widgets/widgets/container/card/view.vue.d.ts +0 -15
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid/index.d.ts +0 -67
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid/setter.vue.d.ts +0 -18
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid/view.vue.d.ts +0 -24
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid-col/index.d.ts +0 -68
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid-col/setter.vue.d.ts +0 -15
- package/dist/packages/lowcode-editor-widgets/widgets/container/grid-col/view.vue.d.ts +0 -40
- package/dist/packages/lowcode-editor-widgets/widgets/container/tab/index.d.ts +0 -38
- package/dist/packages/lowcode-editor-widgets/widgets/container/tab/setter.vue.d.ts +0 -15
- package/dist/packages/lowcode-editor-widgets/widgets/container/tab/view.vue.d.ts +0 -15
- package/dist/packages/lowcode-editor-widgets/widgets/form/radio/index.d.ts +0 -38
- package/dist/packages/lowcode-editor-widgets/widgets/form/radio/setter.vue.d.ts +0 -15
- package/dist/packages/lowcode-editor-widgets/widgets/form/radio/view.vue.d.ts +0 -15
- package/dist/packages/lowcode-editor-widgets/widgets/form/text/index.d.ts +0 -38
- package/dist/packages/lowcode-editor-widgets/widgets/form/text/setter.vue.d.ts +0 -15
- package/dist/packages/lowcode-editor-widgets/widgets/form/text/view.vue.d.ts +0 -15
- package/dist/packages/type.d.ts +0 -28
- package/dist/style.css +0 -154
package/README.md
CHANGED
|
@@ -1,5 +1,439 @@
|
|
|
1
|
-
#
|
|
1
|
+
# zc-lowcode
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
可视化页面搭建 SDK,提供 **设计器(Designer)** 与 **运行时(Runtime)** 两套入口,共享同一套页面 JSON 契约(`Page` / `Widget` 树)。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install zc-lowcode
|
|
9
|
+
# 或
|
|
10
|
+
pnpm add zc-lowcode
|
|
11
|
+
# 或
|
|
12
|
+
yarn add zc-lowcode
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
依赖:`vue ^3.5`(peer)、`ant-design-vue`(设计器 UI)、`vuedraggable`(画布拖拽)。
|
|
16
|
+
|
|
17
|
+
## 包结构
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
code/
|
|
21
|
+
├── src/
|
|
22
|
+
│ ├── core/ # 核心引擎(无 UI 壳)
|
|
23
|
+
│ │ └── index.ts # Page/Widget 类型、物料注册、快照、命令、历史
|
|
24
|
+
│ ├── materials/ # 内置物料(button、grid、tab 等)
|
|
25
|
+
│ │ ├── packages/ # 各物料实现(view / setter / designer)
|
|
26
|
+
│ │ ├── page/ # 页面根节点物料
|
|
27
|
+
│ │ ├── shared/ # 属性面板、设计态公共组件
|
|
28
|
+
│ │ ├── definitions.ts # 设计器全量 materialDefinitions
|
|
29
|
+
│ │ └── runtime-definitions.ts # 仅 view 的运行时轻量副本
|
|
30
|
+
│ ├── designer/ # 可视化设计器 UI
|
|
31
|
+
│ │ ├── designer.ts # createDesigner、撤销/重做
|
|
32
|
+
│ │ ├── material-registry.ts # 设计器物料注册表
|
|
33
|
+
│ │ ├── canvas/ # 画布、拖拽、选中框
|
|
34
|
+
│ │ ├── properties/ # 属性面板
|
|
35
|
+
│ │ ├── outline/ # 大纲
|
|
36
|
+
│ │ ├── datasource/ # 数据源编辑
|
|
37
|
+
│ │ └── methods/ # 页面函数 / 接口配置
|
|
38
|
+
│ └── runtime/ # LowcodePageRenderer 页面渲染器
|
|
39
|
+
│ ├── runtime.ts # 生命周期、事件、样式、注入键
|
|
40
|
+
│ └── widget-node.vue # 运行时组件树递归
|
|
41
|
+
├── uno.config.ts # UnoCSS 配置(runtime / designer 分 scope)
|
|
42
|
+
└── vite.config.ts # 多入口 lib 构建
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### 模块职责
|
|
46
|
+
|
|
47
|
+
| 模块 | 职责 | 典型导出 |
|
|
48
|
+
| --- | --- | --- |
|
|
49
|
+
| `core` | 类型契约、物料注册表、页面树操作、快照序列化 | `Page`、`clonePageSnapshot`、`createMaterialRegistry` |
|
|
50
|
+
| `materials` | 内置物料元数据与 palette 分组 | `materialDefinitions`、`runtimeMaterialDefinitions` |
|
|
51
|
+
| `designer` | 可视化编辑 UI | `LowcodeDesigner`、`createDesigner` |
|
|
52
|
+
| `runtime` | 运行时页面渲染 | `LowcodePageRenderer`、`useLifecycle` |
|
|
53
|
+
|
|
54
|
+
## 子包入口
|
|
55
|
+
|
|
56
|
+
| 入口 | 用途 |
|
|
57
|
+
| --- | --- |
|
|
58
|
+
| `zc-lowcode/core` | 类型、快照工具、物料注册表,无 Vue 组件 |
|
|
59
|
+
| `zc-lowcode/materials` | 全量物料定义 `materialDefinitions`、默认注册表 |
|
|
60
|
+
| `zc-lowcode/designer` | `LowcodeDesigner` 设计器组件 |
|
|
61
|
+
| `zc-lowcode/runtime` | `LowcodePageRenderer` 运行时渲染器 |
|
|
62
|
+
| `zc-lowcode/style` | 运行时样式副作用入口 |
|
|
63
|
+
| `zc-lowcode/style/designer` | 设计器样式副作用入口 |
|
|
64
|
+
| `zc-lowcode/style/runtime` | 同 `style` |
|
|
65
|
+
| `zc-lowcode/style/materials` | 物料相关样式副作用入口 |
|
|
66
|
+
| `zc-lowcode/uno.config` | 供消费方扩展 UnoCSS 的基准配置 |
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 核心概念
|
|
71
|
+
|
|
72
|
+
### Page 与 Widget
|
|
73
|
+
|
|
74
|
+
- **Page** 是页面根节点,`type: 'page'`,除通用 Widget 字段外还包含:
|
|
75
|
+
- `data` — 页面初始数据(设计器可编辑)
|
|
76
|
+
- `methods` — 页面自定义函数(支持 API 模板生成 fetch 请求)
|
|
77
|
+
- `lifecycle` — 生命周期钩子源码
|
|
78
|
+
- **Widget** = **可持久化字段**(`WidgetPersisted`)+ **仅设计态字段**(`WidgetEditorFields`)。
|
|
79
|
+
|
|
80
|
+
可持久化字段(入库 / 历史快照 / `v-model` 出站):
|
|
81
|
+
|
|
82
|
+
```ts
|
|
83
|
+
{
|
|
84
|
+
id: number
|
|
85
|
+
name: string
|
|
86
|
+
type: string
|
|
87
|
+
options: WidgetOptions // style、events、hidden、物料专有字段等
|
|
88
|
+
children?: Widget[]
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**不入库** 的编辑态字段(保存前会被 `stripWidgetRuntimeFields` 剥离):
|
|
93
|
+
|
|
94
|
+
`component`、`setterComponent`、`designerComponent`、`icon`、`eventPresets`、`keyedSlotConfig`、`normalize`、`copyNeedsNormalize`、`usesItemSlot`、`internal`
|
|
95
|
+
|
|
96
|
+
`internal` 标记内部子节点(如 `tab-pane`、栅格子格);加载页面时由 `applyWidgetInternalFlags` 按 type 与树位置推导,不入库。
|
|
97
|
+
|
|
98
|
+
> 持久化时请使用 `clonePageSnapshot(page)` 或 `serializePageSnapshot(page)`,不要直接 `JSON.stringify` 原始 Page 对象。
|
|
99
|
+
|
|
100
|
+
### MaterialDefinition
|
|
101
|
+
|
|
102
|
+
```ts
|
|
103
|
+
type MaterialDefinition = {
|
|
104
|
+
widget: Widget
|
|
105
|
+
palette?: boolean // true 才出现在左侧物料面板
|
|
106
|
+
packageName?: string // 面板分组名(仅 palette 物料)
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
- **palette 物料**:用户可从面板拖入画布。
|
|
111
|
+
- **非 palette 物料**:如 `tab-pane`、`carousel-slide`、`page`,仅作为子类型或根类型存在。
|
|
112
|
+
|
|
113
|
+
### 组件注册命名
|
|
114
|
+
|
|
115
|
+
| 角色 | 全局组件名 | 来源 |
|
|
116
|
+
| --- | --- | --- |
|
|
117
|
+
| 运行时 view | `widget-{type}` | `widget.component` |
|
|
118
|
+
| 属性面板 setter | `widget-{type}-setter` | `widget.setterComponent` |
|
|
119
|
+
| 设计态外壳 | `widget-{type}-designer` | `widget.designerComponent` |
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## 快速接入
|
|
124
|
+
|
|
125
|
+
### 设计器
|
|
126
|
+
|
|
127
|
+
```vue
|
|
128
|
+
<script setup lang="ts">
|
|
129
|
+
import {
|
|
130
|
+
LowcodeDesigner,
|
|
131
|
+
createDefaultPage,
|
|
132
|
+
type LowcodeUploadHandler,
|
|
133
|
+
type Page
|
|
134
|
+
} from 'zc-lowcode/designer'
|
|
135
|
+
import { materialDefinitions } from 'zc-lowcode/materials'
|
|
136
|
+
import 'zc-lowcode/style/designer'
|
|
137
|
+
|
|
138
|
+
const page = ref<Page>(createDefaultPage())
|
|
139
|
+
|
|
140
|
+
const uploadHandler: LowcodeUploadHandler = async ({ file }) => {
|
|
141
|
+
// 对接宿主上传接口,返回图片 URL
|
|
142
|
+
return 'https://example.com/uploaded.png'
|
|
143
|
+
}
|
|
144
|
+
</script>
|
|
145
|
+
|
|
146
|
+
<template>
|
|
147
|
+
<LowcodeDesigner
|
|
148
|
+
v-model:page="page"
|
|
149
|
+
:definitions="materialDefinitions"
|
|
150
|
+
:upload-handler="uploadHandler"
|
|
151
|
+
:theme="theme"
|
|
152
|
+
:locale="locale"
|
|
153
|
+
/>
|
|
154
|
+
</template>
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
要点:
|
|
158
|
+
|
|
159
|
+
- **必须** 传入 `:definitions`(通常用 `materialDefinitions`)。
|
|
160
|
+
- 通过 `v-model:page` 双向绑定;出站数据已是剥离编辑态字段的快照。
|
|
161
|
+
- `uploadHandler` 用于 Setter 内图片上传等场景。
|
|
162
|
+
- `theme` / `locale` 与 Ant Design Vue `ConfigProvider` 一致。
|
|
163
|
+
|
|
164
|
+
### 运行时
|
|
165
|
+
|
|
166
|
+
```vue
|
|
167
|
+
<script setup lang="ts">
|
|
168
|
+
import { LowcodePageRenderer, type Page } from 'zc-lowcode/runtime'
|
|
169
|
+
import { clonePageSnapshot } from 'zc-lowcode/core'
|
|
170
|
+
import 'zc-lowcode/style'
|
|
171
|
+
|
|
172
|
+
const page = ref<Page>(/* 从接口加载的 JSON */)
|
|
173
|
+
|
|
174
|
+
// 若 JSON 含编辑态字段,渲染前建议 clonePageSnapshot
|
|
175
|
+
</script>
|
|
176
|
+
|
|
177
|
+
<template>
|
|
178
|
+
<LowcodePageRenderer
|
|
179
|
+
:page="page"
|
|
180
|
+
:theme="theme"
|
|
181
|
+
:locale="locale"
|
|
182
|
+
/>
|
|
183
|
+
</template>
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
要点:
|
|
187
|
+
|
|
188
|
+
- 默认使用内置 `runtimeMaterialDefinitions`(仅 view 组件,体积更小)。
|
|
189
|
+
- 也可传入自定义 `:definitions`,须保证 `type` 与持久化 JSON 一致。
|
|
190
|
+
- **不要** 把带 `component` / `setterComponent` 的设计态 JSON 原样落库;服务端存 `clonePageSnapshot` 结果即可。
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## 页面脚本
|
|
195
|
+
|
|
196
|
+
Page 级脚本能力由 `useLifecycle` 驱动,设计器与运行时共用实现。
|
|
197
|
+
|
|
198
|
+
| 能力 | 字段 | 说明 |
|
|
199
|
+
| --- | --- | --- |
|
|
200
|
+
| 数据 | `page.data` | `PageDataItem[]`,编译为 `context.data` |
|
|
201
|
+
| 方法 | `page.methods` | 可绑定到组件事件与 `{{ }}`;支持手写脚本或 API 模板(生成 fetch 请求) |
|
|
202
|
+
| 生命周期 | `page.lifecycle` | `beforeMount`、`mounted` 等 |
|
|
203
|
+
|
|
204
|
+
运行时上下文 `PageScriptContext`:
|
|
205
|
+
|
|
206
|
+
```ts
|
|
207
|
+
{
|
|
208
|
+
data: Record<string, unknown>
|
|
209
|
+
methods: Record<string, (...args: unknown[]) => unknown>
|
|
210
|
+
}
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
组件事件绑定(`options.events`):
|
|
214
|
+
|
|
215
|
+
```ts
|
|
216
|
+
type WidgetEventItem = {
|
|
217
|
+
key: number
|
|
218
|
+
name: string // DOM / 组件事件名,如 click
|
|
219
|
+
method: string // 绑定的 page.methods 中的方法名
|
|
220
|
+
paramsEnabled?: boolean
|
|
221
|
+
params?: string // JSON 字符串,作为方法第二参数
|
|
222
|
+
}
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
View 组件内通过 `useWidgetEvents` 获取 `domEventHandlers`,挂到根元素 `v-on` 上。设计模式下 `click` / `dblclick` 会 `preventDefault`,避免误跳转。
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## 新增物料规范
|
|
230
|
+
|
|
231
|
+
每个物料建议目录结构:
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
src/materials/packages/{type}/
|
|
235
|
+
├── index.ts # Widget 元数据 + 导出
|
|
236
|
+
├── options.ts # 类型、默认值、ensureXxxOptions、样式/布局工具
|
|
237
|
+
├── view.vue # 运行时 & 无 designer 时的画布渲染
|
|
238
|
+
├── setter.vue # 右侧属性面板(可选 #basic / #style / #event)
|
|
239
|
+
├── designer.vue # 可选:设计态外壳(复杂容器如 grid、tab)
|
|
240
|
+
└── icon.svg # 物料面板图标
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### index.ts 模板
|
|
244
|
+
|
|
245
|
+
```ts
|
|
246
|
+
import View from './view.vue'
|
|
247
|
+
import Setter from './setter.vue'
|
|
248
|
+
import Icon from './icon.svg'
|
|
249
|
+
import type { Widget } from '../../../core/index.ts'
|
|
250
|
+
import { COMMON_CONTAINER_EVENT_PRESETS } from '../../../core/index.ts'
|
|
251
|
+
import { ensureMyOptions } from './options.ts'
|
|
252
|
+
|
|
253
|
+
const widget: Widget = {
|
|
254
|
+
id: 0,
|
|
255
|
+
type: 'my-widget', // 全局唯一,kebab-case
|
|
256
|
+
name: '我的组件', // 物料面板 / 大纲显示名
|
|
257
|
+
icon: Icon,
|
|
258
|
+
component: View,
|
|
259
|
+
setterComponent: Setter,
|
|
260
|
+
eventPresets: COMMON_CONTAINER_EVENT_PRESETS,
|
|
261
|
+
children: [],
|
|
262
|
+
options: {
|
|
263
|
+
hidden: false,
|
|
264
|
+
title: '我的组件',
|
|
265
|
+
styles: { default: { display: 'block' } },
|
|
266
|
+
events: []
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export default widget
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### view.vue 约定
|
|
274
|
+
|
|
275
|
+
- Props:`widget`、`parentWidget?`、`index?`
|
|
276
|
+
- 注入 `LOWCODE_DESIGN_MODE_KEY` 区分设计 / 运行态(如需)
|
|
277
|
+
- 样式:优先 UnoCSS 工具类 + `options.style` 内联 CSS
|
|
278
|
+
- 事件:`useWidgetEvents({ widget, designMode })` → `domEventHandlers`
|
|
279
|
+
- 容器若使用 `#item` slot 模式,见下文 **Keyed Slot 容器**
|
|
280
|
+
|
|
281
|
+
### setter.vue 约定
|
|
282
|
+
|
|
283
|
+
- 使用 `useWidgetSetter<TOptions>({ widget, ensureOptions })`
|
|
284
|
+
- 布局:`SetterShell` 的 `#basic` / `#style` / `#event` 插槽
|
|
285
|
+
- 样式面板复用 `WidgetStylePanel`;事件面板复用 `EventPanel`
|
|
286
|
+
|
|
287
|
+
### 注册到 definitions
|
|
288
|
+
|
|
289
|
+
在 `src/materials/definitions.ts` 追加:
|
|
290
|
+
|
|
291
|
+
```ts
|
|
292
|
+
import myWidget from './packages/my-widget/index.ts'
|
|
293
|
+
|
|
294
|
+
export const materialDefinitions: MaterialDefinition[] = [
|
|
295
|
+
// ...
|
|
296
|
+
{ widget: myWidget, palette: true, packageName: '基础组件' }
|
|
297
|
+
]
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
同时在 `src/materials/runtime-definitions.ts` 维护仅 import `view.vue` 的运行时条目(**禁止**从 `definitions.ts` 推导,否则会静态拉入 setter/designer 进 runtime 包)。`toRuntimeMaterialDefinitions()` 仅适用于已隔离的 view-only 源。
|
|
301
|
+
|
|
302
|
+
### options.ts 约定
|
|
303
|
+
|
|
304
|
+
- 导出 `XxxOptions` 类型、`DEFAULT_*`、`ensureXxxOptions`
|
|
305
|
+
- `ensureXxxOptions` 负责补默认值、校验枚举、调用 `patchOptionsWidgetEvents`
|
|
306
|
+
- 布局相关默认值可复用 `patchFlexLayoutDefaults`、`FLEX_LAYOUT_DEFAULTS`
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
## Keyed Slot 容器(tab / carousel)
|
|
311
|
+
|
|
312
|
+
带 **activeKey** 的多子项容器(标签页、走马灯)使用统一模型:
|
|
313
|
+
|
|
314
|
+
- 容器 `type`:如 `tab`
|
|
315
|
+
- 子项 `type`:如 `tab-pane`(设计态 `internal`,不入库)
|
|
316
|
+
- 子项挂在 `container.children`,由 `options.activeKey` 控制当前项
|
|
317
|
+
- 配置 `keyedSlotConfig` + `normalize` + 通常 `copyNeedsNormalize: true`
|
|
318
|
+
|
|
319
|
+
推荐使用 `createKeyedSlotMaterialHelpers`(`runtime/runtime.ts`)生成:
|
|
320
|
+
|
|
321
|
+
- `keyedSlotConfig`
|
|
322
|
+
- `normalizeWidget`
|
|
323
|
+
- 子项 CRUD 辅助函数
|
|
324
|
+
|
|
325
|
+
View 通过 `<slot name="item" :item :index :visible />` 暴露子项;`widget-node` 根据 `usesItemSlot` / `keyedSlotConfig` 决定渲染策略。
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
## Grid 与 usesItemSlot
|
|
330
|
+
|
|
331
|
+
普通容器:`children` 由 `widget-node` 递归渲染。
|
|
332
|
+
|
|
333
|
+
**结构化 Grid**(行列布局):`usesItemSlot: isGridStructuredNode`,view 内用 `#item` slot 逐格渲染,设计器可单独选中每一格。
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
## 设计器架构要点
|
|
338
|
+
|
|
339
|
+
- `createDesigner()` 管理页面树、选中态、撤销/重做(快照栈,默认 20 步,350ms 防抖)。
|
|
340
|
+
- `createDesignerMaterialRegistry()` 在 core 注册表上扩展 palette 分组与设计态组件解析。
|
|
341
|
+
- 画布:`DesignerWidgetNode` → 有 `designerComponent` 则渲染设计外壳,否则渲染 view;运行时递归渲染在 `widget-node.vue`(内部组件,不对外导出)中,与设计器共享 `useWidgetNodeContext`。
|
|
342
|
+
- 外部 `v-model:page` 变更会 `loadPage`;内部编辑会 `clonePageSnapshot` 回写,避免编辑态字段泄漏。
|
|
343
|
+
|
|
344
|
+
常用注入:
|
|
345
|
+
|
|
346
|
+
| Key | 用途 |
|
|
347
|
+
| --- | --- |
|
|
348
|
+
| `DESIGNER_KEY` | 设计器实例 |
|
|
349
|
+
| `MATERIAL_REGISTRY_KEY` | 物料注册表(可用 `useMaterialRegistry()` 注入) |
|
|
350
|
+
| `LOWCODE_DESIGN_MODE_KEY` | 是否设计模式 |
|
|
351
|
+
| `LOWCODE_UPLOAD_KEY` | 图片上传 handler |
|
|
352
|
+
| `LIFECYCLE_KEY` | 页面脚本运行时 |
|
|
353
|
+
|
|
354
|
+
---
|
|
355
|
+
|
|
356
|
+
## 样式与主题
|
|
357
|
+
|
|
358
|
+
- 包内样式基于 **UnoCSS**,构建时按 **runtime / designer** 分别扫描源码生成 CSS,挂到 virtual 模块。
|
|
359
|
+
- 消费方需 import 对应 style 入口(见上文)。
|
|
360
|
+
- 主题变量通过 `applyLowcodeThemeCssVariables` 写入 `.lowcode-theme-scope`;组件使用 `var(--colorPrimary)` 等 CSS 变量,与 Ant Design token 对齐。
|
|
361
|
+
- View 组件:**优先 UnoCSS 工具类**,用户可调部分走 `widget.styles`(`default` / `hover` / `active` / `focus` 多态 `CssStyle`)。
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
## 命名与数据约定
|
|
366
|
+
|
|
367
|
+
### 文件命名
|
|
368
|
+
|
|
369
|
+
| 路径 | 约定 |
|
|
370
|
+
| --- | --- |
|
|
371
|
+
| `core/index.ts` | 核心模型、物料注册、快照、命令、历史 |
|
|
372
|
+
| `runtime/runtime.ts` | 页面脚本运行时、事件、样式、注入键 |
|
|
373
|
+
| `designer/material-registry.ts` | 设计器物料注册表(palette 分组、设计态 view 解析) |
|
|
374
|
+
| `materials/packages/{type}/options.ts` | 物料 options 类型与默认值 |
|
|
375
|
+
| `materials/packages/{type}/view.vue` | 运行时 view |
|
|
376
|
+
| `materials/packages/{type}/setter.vue` | 属性面板 |
|
|
377
|
+
| `materials/packages/{type}/designer.vue` | 可选设计态外壳 |
|
|
378
|
+
|
|
379
|
+
### 数据与 API 命名
|
|
380
|
+
|
|
381
|
+
| 层级 | 约定 |
|
|
382
|
+
| --- | --- |
|
|
383
|
+
| Widget `type` | kebab-case,如 `tab-pane` |
|
|
384
|
+
| `options` 字段 | camelCase(与对外 JSON 一致) |
|
|
385
|
+
| 组件全局注册名 | `widget-{type}` / `widget-{type}-setter` / `widget-{type}-designer` |
|
|
386
|
+
| 页面节点 `id` | 正整数,从 `WIDGET_ID_START`(1)起,树内单调递增 |
|
|
387
|
+
| 列表项 `key` | `data` / `methods` / `events` 列表项的稳定 key,用于增删 |
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## 构建与发布
|
|
392
|
+
|
|
393
|
+
```bash
|
|
394
|
+
# 在 code/ 目录下
|
|
395
|
+
npm run build # 生产构建 → dist/
|
|
396
|
+
npm run dev # watch 模式
|
|
397
|
+
npm run release # build + 发布到 npm(需先 npm login)
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
构建产物:
|
|
401
|
+
|
|
402
|
+
- `dist/core.js`、`dist/materials.js`、`dist/designer.js`、`dist/runtime.js`
|
|
403
|
+
- 对应 `.d.ts` 与 CSS 资源
|
|
404
|
+
- `designer.d.ts` / `runtime.d.ts` 为 Vue 组件类型 shim
|
|
405
|
+
|
|
406
|
+
修改物料或引擎后需重新 build,消费方才能引用最新 dist。
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
## 内置物料一览
|
|
411
|
+
|
|
412
|
+
| type | 名称 | 分组 | 说明 |
|
|
413
|
+
| --- | --- | --- | --- |
|
|
414
|
+
| `grid` | 容器 | 容器组件 | 支持结构化行列布局 |
|
|
415
|
+
| `card` | 卡片 | 容器组件 | |
|
|
416
|
+
| `tab` | 标签页 | 容器组件 | Keyed Slot,子类型 `tab-pane` |
|
|
417
|
+
| `carousel` | 走马灯 | 容器组件 | Keyed Slot,子类型 `carousel-slide` |
|
|
418
|
+
| `list` | 列表 | 容器组件 | 绑定数据源循环渲染 |
|
|
419
|
+
| `button` | 按钮 | 基础组件 | |
|
|
420
|
+
| `image` | 图片 | 基础组件 | |
|
|
421
|
+
| `text` | 文本 | 基础组件 | |
|
|
422
|
+
| `divider` | 分割线 | 基础组件 | |
|
|
423
|
+
| `page` | 页面 | — | 根节点,非 palette |
|
|
424
|
+
|
|
425
|
+
---
|
|
426
|
+
|
|
427
|
+
## 常见问题
|
|
428
|
+
|
|
429
|
+
**Q: 保存到数据库的 JSON 里能不能带 `component`?**
|
|
430
|
+
A: 不要。始终用 `clonePageSnapshot` / `serializePageSnapshot` 出站;运行时靠 `runtimeMaterialDefinitions` 解析 `type` → view 组件。
|
|
431
|
+
|
|
432
|
+
**Q: 设计器和运行时物料列表必须一致吗?**
|
|
433
|
+
A: `type` 必须与持久化 JSON 一致;运行时只需 view 链,可不含 setter/designer,体积更小。
|
|
434
|
+
|
|
435
|
+
**Q: 如何扩展页面 HTTP?**
|
|
436
|
+
A: 在设计器「函数」面板使用 API 模板配置请求,或手写 `page.methods` 中的 async 函数(内部使用 `fetch`),在生命周期或事件中 `await context.methods.xxx(...)` 调用。
|
|
437
|
+
|
|
438
|
+
**Q: 复制 tab/carousel 后子项错乱?**
|
|
439
|
+
A: 容器 Widget 应设置 `copyNeedsNormalize: true` 并提供 `normalize`,复制后会重新分配 id 并规范化子树。
|
package/designer.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.code-editor-host[data-v-0fc480d3]{width:100%}.code-editor-host--fill[data-v-0fc480d3]{display:flex;flex-direction:column;min-height:0;height:100%}.code-editor-host--fill[data-v-0fc480d3] .cm-editor{flex:1;min-height:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.lowcode-theme-scope .container{width:100%}.lowcode-theme-scope .lowcode-sortable-ghost{min-height:3rem!important;width:100%!important;border-width:2px!important;border-color:var(--colorPrimary)!important;border-style:dashed!important}.lowcode-theme-scope .flex-center{display:flex;align-items:center;justify-content:center}@media(min-width:640px){.lowcode-theme-scope .container{max-width:640px}}@media(min-width:768px){.lowcode-theme-scope .container{max-width:768px}}@media(min-width:1024px){.lowcode-theme-scope .container{max-width:1024px}}@media(min-width:1280px){.lowcode-theme-scope .container{max-width:1280px}}@media(min-width:1536px){.lowcode-theme-scope .container{max-width:1536px}}.lowcode-theme-scope{--colorPrimary:#396AF8;--colorPrimaryBorder:#91caff;--colorText:rgba(0, 0, 0, .88);--colorTextQuaternary:rgba(0, 0, 0, .25);--colorTextSecondary:rgba(0, 0, 0, .65);--colorTextTertiary:rgba(0, 0, 0, .45);--colorTextLightSolid:#fff;--colorBgLayout:#f5f5f5;--colorBgContainer:#ffffff;--colorBgElevated:#ffffff;--colorBorder:#d9d9d9;--colorBorderSecondary:#f0f0f0;--colorSplit:rgba(5, 5, 5, .06);--colorFillSecondary:rgba(0, 0, 0, .06);--colorFillTertiary:rgba(0, 0, 0, .04);--colorFillQuaternary:rgba(0, 0, 0, .02);--colorLink:#396AF8;--colorPrimary-2:#1c357c}.lowcode-theme-scope .scrollbar{scrollbar-width:thin;scrollbar-color:var(--colorPrimary) var(--colorBgLayout)}.lowcode-theme-scope .scrollbar::-webkit-scrollbar{width:1px;height:1px}.lowcode-theme-scope .scrollbar::-webkit-scrollbar-track{background-color:var(--colorBgLayout)}.lowcode-theme-scope .scrollbar::-webkit-scrollbar-thumb{background-color:var(--colorPrimary);border-radius:10px}.lowcode-theme-scope .scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--colorPrimary-2)}.lowcode-theme-scope .\[background-image\:linear-gradient\(90deg\,color-mix\(in_srgb\,var\(--colorText\)_4\%\,transparent\)_1px\,transparent_1px\)\,linear-gradient\(color-mix\(in_srgb\,var\(--colorText\)_4\%\,transparent\)_1px\,transparent_1px\)\]{background-image:linear-gradient(90deg,color-mix(in srgb,var(--colorText) 4%,transparent) 1px,transparent 1px),linear-gradient(color-mix(in srgb,var(--colorText) 4%,transparent) 1px,transparent 1px)}.lowcode-theme-scope .\[background-size\:20px_20px\]{background-size:20px 20px}.lowcode-theme-scope .\[box-decoration-break\:clone\]{-webkit-box-decoration-break:clone;box-decoration-break:clone}.lowcode-theme-scope .pointer-events-auto{pointer-events:auto}.lowcode-theme-scope .pointer-events-none{pointer-events:none}.lowcode-theme-scope .visible{visibility:visible}.lowcode-theme-scope .absolute{position:absolute}.lowcode-theme-scope .fixed{position:fixed}.lowcode-theme-scope .relative{position:relative}.lowcode-theme-scope .sticky{position:sticky}.lowcode-theme-scope .static{position:static}.lowcode-theme-scope .inset-0{top:0;right:0;bottom:0;left:0}.lowcode-theme-scope .end-0{inset-inline-end:0}.lowcode-theme-scope .end-3{inset-inline-end:.75rem}.lowcode-theme-scope .start-0{inset-inline-start:0}.lowcode-theme-scope .start-3{inset-inline-start:.75rem}.lowcode-theme-scope .inset-x-0{left:0;right:0}.lowcode-theme-scope .inset-y-0{top:0;bottom:0}.lowcode-theme-scope .-top-\[0\.06em\]{top:-.06em}.lowcode-theme-scope .\!top-0{top:0!important}.lowcode-theme-scope .bottom-0{bottom:0}.lowcode-theme-scope .bottom-3{bottom:.75rem}.lowcode-theme-scope .left-0{left:0}.lowcode-theme-scope .left-1\/2{left:50%}.lowcode-theme-scope .left-12{left:3rem}.lowcode-theme-scope .left-3{left:.75rem}.lowcode-theme-scope .right-0{right:0}.lowcode-theme-scope .right-3{right:.75rem}.lowcode-theme-scope .top-0{top:0}.lowcode-theme-scope .top-1{top:.25rem}.lowcode-theme-scope .top-1\/2{top:50%}.lowcode-theme-scope .top-3{top:.75rem}.lowcode-theme-scope .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.lowcode-theme-scope .line-clamp-10{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:10;line-clamp:10}.lowcode-theme-scope .line-clamp-11{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:11;line-clamp:11}.lowcode-theme-scope .line-clamp-12{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:12;line-clamp:12}.lowcode-theme-scope .line-clamp-13{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:13;line-clamp:13}.lowcode-theme-scope .line-clamp-14{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:14;line-clamp:14}.lowcode-theme-scope .line-clamp-15{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:15;line-clamp:15}.lowcode-theme-scope .line-clamp-16{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:16;line-clamp:16}.lowcode-theme-scope .line-clamp-17{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:17;line-clamp:17}.lowcode-theme-scope .line-clamp-18{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:18;line-clamp:18}.lowcode-theme-scope .line-clamp-19{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:19;line-clamp:19}.lowcode-theme-scope .line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.lowcode-theme-scope .line-clamp-20{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:20;line-clamp:20}.lowcode-theme-scope .line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.lowcode-theme-scope .line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4}.lowcode-theme-scope .line-clamp-5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5}.lowcode-theme-scope .line-clamp-6{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-clamp:6}.lowcode-theme-scope .line-clamp-7{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;line-clamp:7}.lowcode-theme-scope .line-clamp-8{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;line-clamp:8}.lowcode-theme-scope .line-clamp-9{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:9;line-clamp:9}.lowcode-theme-scope .z-1{z-index:1}.lowcode-theme-scope .z-10{z-index:10}.lowcode-theme-scope .z-100{z-index:100}.lowcode-theme-scope .z-20{z-index:20}.lowcode-theme-scope .z-30{z-index:30}.lowcode-theme-scope .z-500{z-index:500}.lowcode-theme-scope .grid,.lowcode-theme-scope [grid=""]{display:grid}.lowcode-theme-scope .col-start-1{grid-column-start:1}.lowcode-theme-scope .col-start-2{grid-column-start:2}.lowcode-theme-scope .col-start-3{grid-column-start:3}.lowcode-theme-scope .row-start-1{grid-row-start:1}.lowcode-theme-scope .row-start-2{grid-row-start:2}.lowcode-theme-scope .row-start-3{grid-row-start:3}.lowcode-theme-scope .grid-cols-\[88px_1fr\]{grid-template-columns:88px 1fr}.lowcode-theme-scope .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lowcode-theme-scope .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lowcode-theme-scope .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lowcode-theme-scope .grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.lowcode-theme-scope .clear-both{clear:both}.lowcode-theme-scope .\[\&_\.ant-tabs-tab\]\:m-0 .ant-tabs-tab,.lowcode-theme-scope .m-0{margin:0}.lowcode-theme-scope .m-auto{margin:auto}.lowcode-theme-scope .\!mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.lowcode-theme-scope .\!my-0{margin-top:0!important;margin-bottom:0!important}.lowcode-theme-scope .\!my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.lowcode-theme-scope .mx-2{margin-left:.5rem;margin-right:.5rem}.lowcode-theme-scope .mx-auto{margin-left:auto;margin-right:auto}.lowcode-theme-scope .my-4{margin-top:1rem;margin-bottom:1rem}.lowcode-theme-scope .my-6{margin-top:1.5rem;margin-bottom:1.5rem}.lowcode-theme-scope .-mt-4{margin-top:-1rem}.lowcode-theme-scope .\[\&_\.ant-tabs-nav\]\:mb-0 .ant-tabs-nav,.lowcode-theme-scope .mb-0{margin-bottom:0}.lowcode-theme-scope .mb-0\.5{margin-bottom:.125rem}.lowcode-theme-scope .mb-1{margin-bottom:.25rem}.lowcode-theme-scope .mb-1\.5{margin-bottom:.375rem}.lowcode-theme-scope .mb-2{margin-bottom:.5rem}.lowcode-theme-scope .mb-2\.5{margin-bottom:.625rem}.lowcode-theme-scope .mb-3{margin-bottom:.75rem}.lowcode-theme-scope .me-0{margin-inline-end:0}.lowcode-theme-scope .ml-auto{margin-left:auto}.lowcode-theme-scope .mr-0{margin-right:0}.lowcode-theme-scope .ms,.lowcode-theme-scope .ms-4{margin-inline-start:1rem}.lowcode-theme-scope .mt-0\.5{margin-top:.125rem}.lowcode-theme-scope .mt-1{margin-top:.25rem}.lowcode-theme-scope .mt-1\.5{margin-top:.375rem}.lowcode-theme-scope .mt-2{margin-top:.5rem}.lowcode-theme-scope .mt-3{margin-top:.75rem}.lowcode-theme-scope .mt-px{margin-top:1px}.lowcode-theme-scope .box-border{box-sizing:border-box}.lowcode-theme-scope .inline{display:inline}.lowcode-theme-scope .block,.lowcode-theme-scope [block=""]{display:block}.lowcode-theme-scope .inline-block{display:inline-block}.lowcode-theme-scope .contents{display:contents}.lowcode-theme-scope .hidden{display:none}.lowcode-theme-scope .size-\[12px\]{width:12px;height:12px}.lowcode-theme-scope .size-\[22px\]{width:22px;height:22px}.lowcode-theme-scope .size-8,.lowcode-theme-scope [size~="8"]{width:2rem;height:2rem}.lowcode-theme-scope [size~="80px"]{width:80px;height:80px}.lowcode-theme-scope .\!h-3\.5{height:.875rem!important}.lowcode-theme-scope .\!h-5{height:1.25rem!important}.lowcode-theme-scope .\!h-7{height:1.75rem!important}.lowcode-theme-scope .\!w-7{width:1.75rem!important}.lowcode-theme-scope .\[\&_\.ant-radio-button-wrapper\]\:h-28px .ant-radio-button-wrapper{height:28px}.lowcode-theme-scope .\[\&_\.ant-radio-button-wrapper\]\:min-w-28px .ant-radio-button-wrapper{min-width:28px}.lowcode-theme-scope .\[\&_\.ant-tabs-nav-list\]\:w-full .ant-tabs-nav-list,.lowcode-theme-scope .\[\&_\.ant-tabs-nav\]\:w-full .ant-tabs-nav,.lowcode-theme-scope .w-full{width:100%}.lowcode-theme-scope .h-\[0\.9em\]{height:.9em}.lowcode-theme-scope .h-\[10px\]{height:10px}.lowcode-theme-scope .h-\[14px\]{height:14px}.lowcode-theme-scope .h-\[1em\]{height:1em}.lowcode-theme-scope .h-\[600px\]{height:600px}.lowcode-theme-scope .h-0{height:0}.lowcode-theme-scope .h-0\.5{height:.125rem}.lowcode-theme-scope .h-10{height:2.5rem}.lowcode-theme-scope .h-16px{height:16px}.lowcode-theme-scope .h-2{height:.5rem}.lowcode-theme-scope .h-6{height:1.5rem}.lowcode-theme-scope .h-8{height:2rem}.lowcode-theme-scope .h-9{height:2.25rem}.lowcode-theme-scope .h-auto{height:auto}.lowcode-theme-scope .h-full{height:100%}.lowcode-theme-scope .max-h-60{max-height:15rem}.lowcode-theme-scope .max-h-full{max-height:100%}.lowcode-theme-scope .max-w-\[120px\]{max-width:120px}.lowcode-theme-scope .max-w-\[88px\]{max-width:88px}.lowcode-theme-scope .max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.lowcode-theme-scope .max-w-80{max-width:20rem}.lowcode-theme-scope .max-w-full{max-width:100%}.lowcode-theme-scope .max-w-none{max-width:none}.lowcode-theme-scope .min-h-\[220px\]{min-height:220px}.lowcode-theme-scope .min-h-\[280px\]{min-height:280px}.lowcode-theme-scope .min-h-\[38px\]{min-height:38px}.lowcode-theme-scope .min-h-\[48px\]{min-height:48px}.lowcode-theme-scope .min-h-\[72px\]{min-height:72px}.lowcode-theme-scope .min-h-0{min-height:0}.lowcode-theme-scope .min-h-14{min-height:3.5rem}.lowcode-theme-scope .min-h-24{min-height:6rem}.lowcode-theme-scope .min-h-full{min-height:100%}.lowcode-theme-scope .min-h-min{min-height:min-content}.lowcode-theme-scope .min-w-\[280px\]{min-width:280px}.lowcode-theme-scope .min-w-\[320px\]{min-width:320px}.lowcode-theme-scope .min-w-0{min-width:0}.lowcode-theme-scope .min-w-12{min-width:3rem}.lowcode-theme-scope .min-w-24{min-width:6rem}.lowcode-theme-scope .min-w-full{min-width:100%}.lowcode-theme-scope .min-w-min{min-width:min-content}.lowcode-theme-scope .w-\[10px\]{width:10px}.lowcode-theme-scope .w-\[14px\]{width:14px}.lowcode-theme-scope .w-\[1em\]{width:1em}.lowcode-theme-scope .w-\[280px\]{width:280px}.lowcode-theme-scope .w-\[320px\]{width:320px}.lowcode-theme-scope .w-\[500px\]{width:500px}.lowcode-theme-scope .w-\[calc\(\(100\%-16px\)\/3\)\]{width:calc((100% - 16px) / 3)}.lowcode-theme-scope .w-0{width:0}.lowcode-theme-scope .w-0\.5{width:.125rem}.lowcode-theme-scope .w-10{width:2.5rem}.lowcode-theme-scope .w-12{width:3rem}.lowcode-theme-scope .w-16px{width:16px}.lowcode-theme-scope .w-2{width:.5rem}.lowcode-theme-scope .w-52{width:13rem}.lowcode-theme-scope .w-6{width:1.5rem}.lowcode-theme-scope .w-72{width:18rem}.lowcode-theme-scope .w-8{width:2rem}.lowcode-theme-scope .w-fit{width:fit-content}.lowcode-theme-scope .w-max{width:max-content}.lowcode-theme-scope .\!flex{display:flex!important}.lowcode-theme-scope .flex,.lowcode-theme-scope [flex=""]{display:flex}.lowcode-theme-scope .\[\&_\.ant-radio-button-wrapper\]\:inline-flex .ant-radio-button-wrapper,.lowcode-theme-scope .inline-flex{display:inline-flex}.lowcode-theme-scope .flex-\[0_0_100\%\]{flex:0 0 100%}.lowcode-theme-scope .flex-\[2\]{flex:2}.lowcode-theme-scope .flex-\[3\]{flex:3}.lowcode-theme-scope .\[\&_\.ant-tabs-tab\]\:flex-1 .ant-tabs-tab,.lowcode-theme-scope .flex-1{flex:1 1 0%}.lowcode-theme-scope [flex~=auto]{flex:1 1 auto}.lowcode-theme-scope .flex-none,.lowcode-theme-scope [flex~=none]{flex:none}.lowcode-theme-scope .flex-shrink{flex-shrink:1}.lowcode-theme-scope .shrink-0{flex-shrink:0}.lowcode-theme-scope .flex-row{flex-direction:row}.lowcode-theme-scope .flex-row-reverse{flex-direction:row-reverse}.lowcode-theme-scope .flex-col{flex-direction:column}.lowcode-theme-scope .flex-col-reverse{flex-direction:column-reverse}.lowcode-theme-scope .flex-wrap{flex-wrap:wrap}.lowcode-theme-scope .flex-nowrap{flex-wrap:nowrap}.lowcode-theme-scope .-translate-x-1\/2{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lowcode-theme-scope .-translate-y-1\/2{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lowcode-theme-scope .translate-y-1\.5{--un-translate-y:.375rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lowcode-theme-scope .rotate-90,.lowcode-theme-scope [rotate~="90"]{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:90deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lowcode-theme-scope .transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lowcode-theme-scope .cursor-pointer{cursor:pointer}.lowcode-theme-scope .cursor-not-allowed{cursor:not-allowed}.lowcode-theme-scope .disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.lowcode-theme-scope .cursor-grab{cursor:grab}.lowcode-theme-scope .active\:cursor-grabbing:active{cursor:grabbing}.lowcode-theme-scope .cursor-ew-resize{cursor:ew-resize}.lowcode-theme-scope .cursor-ns-resize{cursor:ns-resize}.lowcode-theme-scope .cursor-nwse-resize{cursor:nwse-resize}.lowcode-theme-scope .touch-manipulation{touch-action:manipulation}.lowcode-theme-scope .touch-none{touch-action:none}.lowcode-theme-scope .select-text{-webkit-user-select:text;user-select:text}.lowcode-theme-scope .select-none{-webkit-user-select:none;user-select:none}.lowcode-theme-scope .resize{resize:both}.lowcode-theme-scope .list-none{list-style-type:none}.lowcode-theme-scope .items-start{align-items:flex-start}.lowcode-theme-scope .\[\&_\.ant-radio-button-wrapper\]\:items-center .ant-radio-button-wrapper,.lowcode-theme-scope .items-center{align-items:center}.lowcode-theme-scope .self-start{align-self:flex-start}.lowcode-theme-scope .self-center{align-self:center}.lowcode-theme-scope .self-stretch{align-self:stretch}.lowcode-theme-scope .justify-start{justify-content:flex-start}.lowcode-theme-scope .\[\&_\.ant-radio-button-wrapper\]\:justify-center .ant-radio-button-wrapper,.lowcode-theme-scope .\[\&_\.ant-tabs-tab\]\:justify-center .ant-tabs-tab,.lowcode-theme-scope .justify-center{justify-content:center}.lowcode-theme-scope .justify-between{justify-content:space-between}.lowcode-theme-scope .gap-0{gap:0}.lowcode-theme-scope .gap-0\.5{gap:.125rem}.lowcode-theme-scope .gap-1{gap:.25rem}.lowcode-theme-scope .gap-1\.5{gap:.375rem}.lowcode-theme-scope .gap-2{gap:.5rem}.lowcode-theme-scope .gap-2\.5{gap:.625rem}.lowcode-theme-scope .gap-3{gap:.75rem}.lowcode-theme-scope .gap-x-3{column-gap:.75rem}.lowcode-theme-scope .overflow-auto{overflow:auto}.lowcode-theme-scope .overflow-hidden{overflow:hidden}.lowcode-theme-scope .overflow-visible{overflow:visible}.lowcode-theme-scope .overflow-x-auto{overflow-x:auto}.lowcode-theme-scope .overflow-x-hidden{overflow-x:hidden}.lowcode-theme-scope .overflow-y-auto{overflow-y:auto}.lowcode-theme-scope .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lowcode-theme-scope .text-ellipsis{text-overflow:ellipsis}.lowcode-theme-scope .whitespace-nowrap{white-space:nowrap}.lowcode-theme-scope .whitespace-pre-wrap{white-space:pre-wrap}.lowcode-theme-scope .break-words{overflow-wrap:break-word}.lowcode-theme-scope .break-all{word-break:break-all}.lowcode-theme-scope .border{border-width:1px}.lowcode-theme-scope .border-0{border-width:0px}.lowcode-theme-scope .border-b{border-bottom-width:1px}.lowcode-theme-scope .border-b-0{border-bottom-width:0px}.lowcode-theme-scope .border-e{border-inline-end-width:1px}.lowcode-theme-scope .border-e-0{border-inline-end-width:0px}.lowcode-theme-scope .border-l{border-left-width:1px}.lowcode-theme-scope .border-r{border-right-width:1px}.lowcode-theme-scope .border-s{border-inline-start-width:1px}.lowcode-theme-scope .border-t{border-top-width:1px}.lowcode-theme-scope .border-t-0{border-top-width:0px}.lowcode-theme-scope .border-\[\#ff4d4f\]{--un-border-opacity:1;border-color:rgb(255 77 79 / var(--un-border-opacity))}.lowcode-theme-scope .border-\[color-mix\(in_srgb\,var\(--colorText\)_10\%\,transparent\)\]{border-color:color-mix(in srgb,var(--colorText) 10%,transparent)}.lowcode-theme-scope .border-\[color-mix\(in_srgb\,var\(--colorText\)_8\%\,transparent\)\]{border-color:color-mix(in srgb,var(--colorText) 8%,transparent)}.lowcode-theme-scope .border-\[var\(--colorBorder\)\]{border-color:var(--colorBorder)}.lowcode-theme-scope .border-\[var\(--colorBorderSecondary\)\]{border-color:var(--colorBorderSecondary)}.lowcode-theme-scope .border-\[var\(--colorPrimary\)\]{border-color:var(--colorPrimary)}.lowcode-theme-scope .border-\[var\(--colorSplit\)\]{border-color:var(--colorSplit)}.lowcode-theme-scope .border-transparent{border-color:transparent}.lowcode-theme-scope .hover\:border-\[var\(--colorPrimary\)\]:hover{border-color:var(--colorPrimary)}.lowcode-theme-scope .border-r-\[var\(--colorSplit\)\]{border-right-color:var(--colorSplit)}.lowcode-theme-scope .\[\&_\.ant-input\]\:rounded-6px .ant-input{border-radius:6px}.lowcode-theme-scope .rounded{border-radius:.25rem}.lowcode-theme-scope .rounded-\[10px\]{border-radius:10px}.lowcode-theme-scope .rounded-\[24px\]{border-radius:24px}.lowcode-theme-scope .rounded-\[2px\]{border-radius:2px}.lowcode-theme-scope .rounded-\[32px\]{border-radius:32px}.lowcode-theme-scope .rounded-\[40px\]{border-radius:40px}.lowcode-theme-scope .rounded-full{border-radius:9999px}.lowcode-theme-scope .rounded-lg{border-radius:.5rem}.lowcode-theme-scope .rounded-md{border-radius:.375rem}.lowcode-theme-scope .rounded-sm{border-radius:.125rem}.lowcode-theme-scope .rounded-xl{border-radius:.75rem}.lowcode-theme-scope .border-dashed{border-style:dashed}.lowcode-theme-scope .border-none{border-style:none}.lowcode-theme-scope .border-solid{border-style:solid}.lowcode-theme-scope .border-r-solid{border-right-style:solid}.lowcode-theme-scope .bg-\[\#ff4d4f\]{--un-bg-opacity:1;background-color:rgb(255 77 79 / var(--un-bg-opacity))}.lowcode-theme-scope .bg-\[\#ffe58f\]{--un-bg-opacity:1;background-color:rgb(255 229 143 / var(--un-bg-opacity))}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorBgContainer\)_72\%\,transparent\)\]{background-color:color-mix(in srgb,var(--colorBgContainer) 72%,transparent)}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorBgElevated\)_98\%\,transparent\)\]{background-color:color-mix(in srgb,var(--colorBgElevated) 98%,transparent)}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorPrimary\)_10\%\,var\(--colorBgContainer\)\)\]{background-color:color-mix(in srgb,var(--colorPrimary) 10%,var(--colorBgContainer))}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorPrimary\)_12\%\,transparent\)\]{background-color:color-mix(in srgb,var(--colorPrimary) 12%,transparent)}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorPrimary\)_8\%\,var\(--colorBgContainer\)\)\]{background-color:color-mix(in srgb,var(--colorPrimary) 8%,var(--colorBgContainer))}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorSuccess\)_12\%\,transparent\)\]{background-color:color-mix(in srgb,var(--colorSuccess) 12%,transparent)}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorText\)_4\%\,var\(--colorBgContainer\)\)\]{background-color:color-mix(in srgb,var(--colorText) 4%,var(--colorBgContainer))}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorText\)_6\%\,var\(--colorBgContainer\)\)\]{background-color:color-mix(in srgb,var(--colorText) 6%,var(--colorBgContainer))}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorText\)_8\%\,transparent\)\]{background-color:color-mix(in srgb,var(--colorText) 8%,transparent)}.lowcode-theme-scope .bg-\[color-mix\(in_srgb\,var\(--colorText\)_88\%\,\#000\)\]{background-color:color-mix(in srgb,var(--colorText) 88%,#000)}.lowcode-theme-scope .bg-\[linear-gradient\(180deg\,var\(--colorBgContainer\)_0\%\,color-mix\(in_srgb\,var\(--colorBgContainer\)_94\%\,var\(--colorPrimary\)_6\%\)_100\%\)\]{background-image:linear-gradient(180deg,var(--colorBgContainer) 0%,color-mix(in srgb,var(--colorBgContainer) 94%,var(--colorPrimary) 6%) 100%)}.lowcode-theme-scope .bg-\[var\(--colorBgContainer\)\]{background-color:var(--colorBgContainer)}.lowcode-theme-scope .bg-\[var\(--colorBgElevated\)\]{background-color:var(--colorBgElevated)}.lowcode-theme-scope .bg-\[var\(--colorBgLayout\)\]{background-color:var(--colorBgLayout)}.lowcode-theme-scope .bg-\[var\(--colorFillQuaternary\)\]{background-color:var(--colorFillQuaternary)}.lowcode-theme-scope .bg-\[var\(--colorFillSecondary\)\]{background-color:var(--colorFillSecondary)}.lowcode-theme-scope .bg-\[var\(--colorFillTertiary\)\]{background-color:var(--colorFillTertiary)}.lowcode-theme-scope .bg-\[var\(--colorPrimary\)\]{background-color:var(--colorPrimary)}.lowcode-theme-scope .bg-\[var\(--lc-carousel-dot-color\,var\(--colorPrimary\)\)\]{background-color:var(--lc-carousel-dot-color,var(--colorPrimary))}.lowcode-theme-scope .bg-black\/25{background-color:#00000040}.lowcode-theme-scope .bg-transparent{background-color:transparent}.lowcode-theme-scope .hover\:bg-\[color-mix\(in_srgb\,var\(--colorPrimary\)_8\%\,var\(--colorBgContainer\)\)\]:hover{background-color:color-mix(in srgb,var(--colorPrimary) 8%,var(--colorBgContainer))}.lowcode-theme-scope .hover\:bg-\[color-mix\(in_srgb\,var\(--colorTextLightSolid\)_12\%\,transparent\)\]:hover{background-color:color-mix(in srgb,var(--colorTextLightSolid) 12%,transparent)}.lowcode-theme-scope .hover\:bg-\[var\(--colorFillSecondary\)\]:hover{background-color:var(--colorFillSecondary)}.lowcode-theme-scope .hover\:bg-\[var\(--colorPrimary\)\]:hover{background-color:var(--colorPrimary)}.lowcode-theme-scope .hover\:bg-black\/45:hover{background-color:#00000073}.lowcode-theme-scope .focus\:bg-black\/45:focus{background-color:#00000073}.lowcode-theme-scope .object-cover{object-fit:cover}.lowcode-theme-scope .object-contain{object-fit:contain}.lowcode-theme-scope .object-fill{object-fit:fill}.lowcode-theme-scope .object-scale-down{object-fit:scale-down}.lowcode-theme-scope .object-none{object-fit:none}.lowcode-theme-scope .\!p-0{padding:0!important}.lowcode-theme-scope .\!p-1{padding:.25rem!important}.lowcode-theme-scope .p-0{padding:0}.lowcode-theme-scope .p-0\.5{padding:.125rem}.lowcode-theme-scope .p-1{padding:.25rem}.lowcode-theme-scope .p-2{padding:.5rem}.lowcode-theme-scope .p-3{padding:.75rem}.lowcode-theme-scope .p-4{padding:1rem}.lowcode-theme-scope .p-6{padding:1.5rem}.lowcode-theme-scope .\[\&_\.ant-radio-button-wrapper\]\:px-2 .ant-radio-button-wrapper,.lowcode-theme-scope .px-2{padding-left:.5rem;padding-right:.5rem}.lowcode-theme-scope .px,.lowcode-theme-scope .px-4{padding-left:1rem;padding-right:1rem}.lowcode-theme-scope .px-\[15px\]{padding-left:15px;padding-right:15px}.lowcode-theme-scope .px-\[7px\]{padding-left:7px;padding-right:7px}.lowcode-theme-scope .px-0{padding-left:0;padding-right:0}.lowcode-theme-scope .px-0\.5{padding-left:.125rem;padding-right:.125rem}.lowcode-theme-scope .px-1{padding-left:.25rem;padding-right:.25rem}.lowcode-theme-scope .px-1\.5{padding-left:.375rem;padding-right:.375rem}.lowcode-theme-scope .px-3{padding-left:.75rem;padding-right:.75rem}.lowcode-theme-scope .px-6{padding-left:1.5rem;padding-right:1.5rem}.lowcode-theme-scope .py-\[6\.4px\]{padding-top:6.4px;padding-bottom:6.4px}.lowcode-theme-scope .py-0{padding-top:0;padding-bottom:0}.lowcode-theme-scope .py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.lowcode-theme-scope .py-1{padding-top:.25rem;padding-bottom:.25rem}.lowcode-theme-scope .py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.lowcode-theme-scope .py-16{padding-top:4rem;padding-bottom:4rem}.lowcode-theme-scope .py-2{padding-top:.5rem;padding-bottom:.5rem}.lowcode-theme-scope .py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.lowcode-theme-scope .py-3{padding-top:.75rem;padding-bottom:.75rem}.lowcode-theme-scope .py-4{padding-top:1rem;padding-bottom:1rem}.lowcode-theme-scope .py-6{padding-top:1.5rem;padding-bottom:1.5rem}.lowcode-theme-scope .pb-2{padding-bottom:.5rem}.lowcode-theme-scope .pb-3{padding-bottom:.75rem}.lowcode-theme-scope .pl-0\.5{padding-left:.125rem}.lowcode-theme-scope .pl-1{padding-left:.25rem}.lowcode-theme-scope .pr-0\.5{padding-right:.125rem}.lowcode-theme-scope .pr-1{padding-right:.25rem}.lowcode-theme-scope .pt-0\.5{padding-top:.125rem}.lowcode-theme-scope .pt-1{padding-top:.25rem}.lowcode-theme-scope .pt-16{padding-top:4rem}.lowcode-theme-scope .pt-18{padding-top:4.5rem}.lowcode-theme-scope .pt-3{padding-top:.75rem}.lowcode-theme-scope .text-center{text-align:center}.lowcode-theme-scope .text-left{text-align:left}.lowcode-theme-scope .align-baseline{vertical-align:baseline}.lowcode-theme-scope .align-middle,.lowcode-theme-scope [align~=middle]{vertical-align:middle}.lowcode-theme-scope .align-top{vertical-align:top}.lowcode-theme-scope .\!text-xs{font-size:.75rem!important;line-height:1rem!important}.lowcode-theme-scope .text-\[10px\]{font-size:10px}.lowcode-theme-scope .text-\[11px\]{font-size:11px}.lowcode-theme-scope .text-\[15px\]{font-size:15px}.lowcode-theme-scope .text-\[9px\]{font-size:9px}.lowcode-theme-scope .text-2xl{font-size:1.5rem;line-height:2rem}.lowcode-theme-scope .text-base{font-size:1rem;line-height:1.5rem}.lowcode-theme-scope .text-lg{font-size:1.125rem;line-height:1.75rem}.lowcode-theme-scope .text-sm{font-size:.875rem;line-height:1.25rem}.lowcode-theme-scope .text-xs{font-size:.75rem;line-height:1rem}.lowcode-theme-scope [text~="1"]{font-size:.25rem}.lowcode-theme-scope .\!text-\[var\(--colorTextSecondary\)\]{color:var(--colorTextSecondary)!important}.lowcode-theme-scope .\[\&_\.ant-radio-button-wrapper-checked\]\:text-\[var\(--colorPrimary\)\] .ant-radio-button-wrapper-checked,.lowcode-theme-scope .text-\[var\(--colorPrimary\)\]{color:var(--colorPrimary)}.lowcode-theme-scope .text-\[var\(--colorError\)\]{color:var(--colorError)}.lowcode-theme-scope .text-\[var\(--colorLink\,var\(--colorPrimary\)\)\]{color:var(--colorLink,var(--colorPrimary))}.lowcode-theme-scope .text-\[var\(--colorSuccess\)\]{color:var(--colorSuccess)}.lowcode-theme-scope .text-\[var\(--colorText\)\]{color:var(--colorText)}.lowcode-theme-scope .text-\[var\(--colorTextLightSolid\)\]{color:var(--colorTextLightSolid)}.lowcode-theme-scope .text-\[var\(--colorTextQuaternary\)\]{color:var(--colorTextQuaternary)}.lowcode-theme-scope .text-\[var\(--colorTextSecondary\)\]{color:var(--colorTextSecondary)}.lowcode-theme-scope .text-\[var\(--colorTextTertiary\)\]{color:var(--colorTextTertiary)}.lowcode-theme-scope .text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.lowcode-theme-scope .text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.lowcode-theme-scope .hover\:text-\[var\(--colorError\)\]:hover{color:var(--colorError)}.lowcode-theme-scope .hover\:text-\[var\(--colorPrimary\)\]:hover{color:var(--colorPrimary)}.lowcode-theme-scope .hover\:text-\[var\(--colorText\)\]:hover{color:var(--colorText)}.lowcode-theme-scope .hover\:text-\[var\(--colorTextLightSolid\)\]:hover{color:var(--colorTextLightSolid)}.lowcode-theme-scope .font-medium{font-weight:500}.lowcode-theme-scope .font-normal{font-weight:400}.lowcode-theme-scope .font-semibold{font-weight:600}.lowcode-theme-scope .\[\&_\.ant-radio-button-wrapper\]\:leading-none .ant-radio-button-wrapper,.lowcode-theme-scope .leading-none{line-height:1}.lowcode-theme-scope .leading-\[1\.4\]{line-height:1.4}.lowcode-theme-scope .leading-\[1\.45\]{line-height:1.45}.lowcode-theme-scope .leading-\[1\.5714\]{line-height:1.5714}.lowcode-theme-scope .leading-4{line-height:1rem}.lowcode-theme-scope .leading-relaxed{line-height:1.625}.lowcode-theme-scope .leading-snug{line-height:1.375}.lowcode-theme-scope .leading-tight{line-height:1.25}.lowcode-theme-scope .line-height-1{line-height:.25rem}.lowcode-theme-scope .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.lowcode-theme-scope .font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.lowcode-theme-scope .italic{font-style:italic}.lowcode-theme-scope .line-through{text-decoration-line:line-through}.lowcode-theme-scope .underline{text-decoration-line:underline}.lowcode-theme-scope .tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.lowcode-theme-scope .opacity-0{opacity:0}.lowcode-theme-scope .opacity-100,.lowcode-theme-scope .group:hover .group-hover\:opacity-100{opacity:1}.lowcode-theme-scope .opacity-30{opacity:.3}.lowcode-theme-scope .opacity-45{opacity:.45}.lowcode-theme-scope .opacity-50{opacity:.5}.lowcode-theme-scope .opacity-60{opacity:.6}.lowcode-theme-scope .opacity-70{opacity:.7}.lowcode-theme-scope .opacity-80{opacity:.8}.lowcode-theme-scope .hover\:opacity-45:hover{opacity:.45}.lowcode-theme-scope .hover\:opacity-80:hover{opacity:.8}.lowcode-theme-scope .focus\:opacity-45:focus{opacity:.45}.lowcode-theme-scope .disabled\:opacity-40:disabled{opacity:.4}.lowcode-theme-scope .disabled\:opacity-50:disabled{opacity:.5}.lowcode-theme-scope .shadow-\[0_0_0_1px_color-mix\(in_srgb\,var\(--colorPrimary\)_25\%\,transparent\)\]{--un-shadow:0 0 0 1px color-mix(in srgb,var(--colorPrimary) 25%,transparent) var(--un-shadow-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-\[0_1px_4px_color-mix\(in_srgb\,var\(--colorText\)_6\%\,transparent\)\]{--un-shadow:0 1px 4px color-mix(in srgb,var(--colorText) 6%,transparent) var(--un-shadow-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-\[0_2px_6px_color-mix\(in_srgb\,var\(--colorPrimary\)_35\%\,transparent\)\]{--un-shadow:0 2px 6px color-mix(in srgb,var(--colorPrimary) 35%,transparent) var(--un-shadow-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-\[0_4px_12px_color-mix\(in_srgb\,var\(--colorText\)_8\%\,transparent\)\]{--un-shadow:0 4px 12px color-mix(in srgb,var(--colorText) 8%,transparent) var(--un-shadow-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--colorPrimary\)_16\%\,transparent\)\]{--un-shadow:inset 0 0 0 1px color-mix(in srgb,var(--colorPrimary) 16%,transparent) var(--un-shadow-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--colorPrimary\)_18\%\,transparent\)\]{--un-shadow:inset 0 0 0 1px color-mix(in srgb,var(--colorPrimary) 18%,transparent) var(--un-shadow-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-\[inset_0_0_0_1px_color-mix\(in_srgb\,var\(--colorText\)_8\%\,transparent\)\]{--un-shadow:inset 0 0 0 1px color-mix(in srgb,var(--colorText) 8%,transparent) var(--un-shadow-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-md{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-none{--un-shadow:0 0 var(--un-shadow-color, rgb(0 0 0 / 0));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .outline{outline-style:solid}.lowcode-theme-scope .blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.lowcode-theme-scope .hover\:brightness-105:hover{--un-brightness:brightness(1.05);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.lowcode-theme-scope .filter,.lowcode-theme-scope [filter=""]{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.lowcode-theme-scope .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .transition-\[opacity\,transform\]{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .duration-\[160ms\]{transition-duration:.16s}.lowcode-theme-scope .duration-\[180ms\]{transition-duration:.18s}.lowcode-theme-scope .duration-150{transition-duration:.15s}.lowcode-theme-scope .duration-200{transition-duration:.2s}.lowcode-theme-scope .duration-250{transition-duration:.25s}.lowcode-theme-scope .ease,.lowcode-theme-scope .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.lowcode-theme-scope .ease-\[cubic-bezier\(0\.645\,0\.045\,0\.355\,1\)\]{transition-timing-function:cubic-bezier(.645,.045,.355,1)}.lowcode-theme-scope [property~=gap]{transition-property:gap}.lowcode-theme-scope [property~=height]{transition-property:height}.lowcode-theme-scope [property~=width]{transition-property:width}.outline-tree[data-v-04629d9d]{--outline-tree-row-height: 24px;background:transparent;font-size:12px}.outline-tree[data-v-04629d9d] .ant-tree-treenode{align-items:center!important;padding:0!important}.outline-tree[data-v-04629d9d] .ant-tree-indent{align-self:center;height:var(--outline-tree-row-height)}.outline-tree[data-v-04629d9d] .ant-tree-indent-unit{width:16px;height:var(--outline-tree-row-height)}.outline-tree[data-v-04629d9d] .ant-tree-switcher{display:flex;align-items:center;justify-content:center;align-self:center;width:16px;height:var(--outline-tree-row-height);line-height:1}.outline-tree[data-v-04629d9d] .ant-tree-switcher-noop{pointer-events:none}.outline-tree[data-v-04629d9d] .ant-tree-switcher-icon,.outline-tree[data-v-04629d9d] .ant-tree-switcher-leaf-line{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:1}.outline-tree[data-v-04629d9d] .ant-tree-switcher-icon svg{transform:none!important}.outline-tree-switcher[data-v-04629d9d]{display:inline-flex;align-items:center;justify-content:center;font-size:10px;line-height:1;color:var(--colorTextQuaternary);transition:transform .2s ease}.outline-tree-switcher--expanded[data-v-04629d9d]{transform:rotate(90deg)}.outline-tree[data-v-04629d9d] .ant-tree-draggable-icon{display:none}.outline-tree[data-v-04629d9d] .ant-tree-node-content-wrapper{display:flex;align-items:center;flex:1;min-width:0;min-height:var(--outline-tree-row-height)!important;height:var(--outline-tree-row-height);padding:0 4px;line-height:var(--outline-tree-row-height);border-radius:4px}.outline-tree[data-v-04629d9d] .ant-tree-title{display:flex;align-items:center;flex:1;min-width:0;height:var(--outline-tree-row-height);line-height:var(--outline-tree-row-height)}.outline-tree[data-v-04629d9d] .ant-tree-node-content-wrapper:hover{background-color:var(--colorFillSecondary)}.outline-tree[data-v-04629d9d] .ant-tree-node-content-wrapper.ant-tree-node-selected{color:var(--colorText);background-color:var(--colorFillSecondary)}.outline-tree.ant-tree-show-line[data-v-04629d9d] .ant-tree-indent-unit:before,.outline-tree.ant-tree-show-line[data-v-04629d9d] .ant-tree-switcher-leaf-line:before,.outline-tree.ant-tree-show-line[data-v-04629d9d] .ant-tree-switcher-leaf-line:after{border-color:color-mix(in srgb,var(--colorText) 12%,transparent)}.outline-tree.ant-tree-show-line[data-v-04629d9d] .ant-tree-indent-unit:before,.outline-tree.ant-tree-show-line[data-v-04629d9d] .ant-tree-switcher-leaf-line:before{bottom:0}.outline-tree-node[data-v-04629d9d]{height:var(--outline-tree-row-height);width:100%}.outline-tree-node-icon[data-v-04629d9d]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:14px;height:var(--outline-tree-row-height);line-height:1}.outline-tree-node-icon[data-v-04629d9d] svg,.outline-tree-node-icon[data-v-04629d9d] img{display:block;width:14px;height:14px}.outline-tree-node-label[data-v-04629d9d]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:var(--outline-tree-row-height);height:var(--outline-tree-row-height);color:var(--colorText)}.outline-tree-node-actions[data-v-04629d9d]{height:var(--outline-tree-row-height)}.outline-tree-action-btn[data-v-04629d9d]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;cursor:pointer;border:none;background:transparent;padding:0;font-size:12px;line-height:1;color:var(--colorTextQuaternary);transition:color .15s ease}.outline-tree-action-btn[data-v-04629d9d]:hover:not(:disabled){color:var(--colorTextSecondary)}.outline-tree-action-btn--active[data-v-04629d9d]{color:var(--colorTextSecondary)}.outline-tree-action-btn--danger[data-v-04629d9d]:hover:not(:disabled){color:var(--colorError)}.outline-tree-action-btn[data-v-04629d9d]:disabled{cursor:not-allowed;opacity:0}.outline-tree-node:hover .outline-tree-action-btn[data-v-04629d9d]:disabled,.outline-tree-node--selected .outline-tree-action-btn[data-v-04629d9d]:disabled{opacity:.35}.outline-rename-input[data-v-04629d9d] .ant-input{height:22px;padding-inline:6px;font-size:12px;line-height:22px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.style-color-input[data-v-531b4d90]{width:100%}.style-color-input__picker[data-v-531b4d90]{width:32px;height:32px;flex-shrink:0;padding:0;border:1px solid var(--colorBorder);border-radius:6px;cursor:pointer;background:transparent}.style-percent-input[data-v-684aee04]{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:12px;align-items:center;width:100%}.style-percent-input__slider[data-v-684aee04]{min-width:0;margin:0}.style-percent-input__number[data-v-684aee04]{width:100%}.style-property-input__group[data-v-525dde70] .style-property-input__unit{width:84px;min-width:84px;flex:0 0 84px}.style-property-input__group[data-v-525dde70] .style-property-input__unit .ant-select-selector{padding-inline-end:24px!important}.style-property-input__group[data-v-525dde70] .style-property-input__unit .ant-select-arrow{display:flex;inset-inline-end:8px}.layout-box-container[data-v-516b791c]{position:relative;width:100%;height:150px;background:var(--colorBgContainer)}.layout-box-container[data-v-516b791c] .ant-input-number{min-width:0;border:none;box-shadow:none;background:transparent}.layout-box-container[data-v-516b791c] .ant-input-number-input{color:var(--colorTextSecondary);font-size:12px}.layout-box-container[data-v-516b791c] .ant-input-number-input::placeholder{color:var(--colorTextSecondary)}.help-txt[data-v-516b791c]{position:absolute;left:10px;bottom:-17px;z-index:1;transform:scale(.75);transform-origin:left bottom;font-size:12px;color:var(--colorTextQuaternary);letter-spacing:.04em;pointer-events:none;-webkit-user-select:none;user-select:none}.margin-top-div[data-v-516b791c],.margin-right-div[data-v-516b791c],.margin-bottom-div[data-v-516b791c],.margin-left-div[data-v-516b791c],.padding-top-div[data-v-516b791c],.padding-right-div[data-v-516b791c],.padding-bottom-div[data-v-516b791c],.padding-left-div[data-v-516b791c]{position:absolute;transition:all .3s ease;box-sizing:content-box;overflow:visible}.margin-top-div[data-v-516b791c],.margin-bottom-div[data-v-516b791c],.padding-top-div[data-v-516b791c],.padding-bottom-div[data-v-516b791c]{height:0}.margin-right-div[data-v-516b791c],.margin-left-div[data-v-516b791c],.padding-right-div[data-v-516b791c],.padding-left-div[data-v-516b791c]{width:0}.margin-top-div[data-v-516b791c]{top:0;left:0;right:0;border-left:20px solid transparent;border-right:20px solid transparent;border-top:20px solid #d6e4ff}.margin-top-div[data-v-516b791c]:hover{border-top:20px solid #bfd4fb}.margin-top-div[data-v-516b791c] .ant-input-number{position:absolute;left:0;right:0;top:-20px;height:20px!important;width:100%}.margin-top-div[data-v-516b791c] .ant-input-number-input{text-align:center;line-height:20px;height:20px;padding:0}.margin-right-div[data-v-516b791c]{top:5px;bottom:5px;right:0;border-top:20px solid transparent;border-bottom:20px solid transparent;border-right:20px solid #d6e4ff}.margin-right-div[data-v-516b791c]:hover{border-right:20px solid #bfd4fb}.margin-right-div[data-v-516b791c] .ant-input-number{position:absolute;top:0;bottom:0;right:-20px;width:20px;margin:auto}.margin-right-div[data-v-516b791c] .ant-input-number-input{position:absolute;top:0;bottom:0;left:-20px;margin:auto;width:60px;height:20px;line-height:20px;text-align:center;padding:0 8px}.margin-bottom-div[data-v-516b791c]{bottom:0;left:0;right:0;border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:20px solid #d6e4ff}.margin-bottom-div[data-v-516b791c]:hover{border-bottom:20px solid #bfd4fb}.margin-bottom-div[data-v-516b791c] .ant-input-number{position:absolute;left:0;right:0;bottom:-20px;height:20px!important;width:100%}.margin-bottom-div[data-v-516b791c] .ant-input-number-input{text-align:center;line-height:20px;height:20px;padding:0}.margin-left-div[data-v-516b791c]{top:5px;bottom:5px;left:0;border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid #d6e4ff}.margin-left-div[data-v-516b791c]:hover{border-left:20px solid #bfd4fb}.margin-left-div[data-v-516b791c] .ant-input-number{position:absolute;top:0;bottom:0;left:-20px;width:20px;margin:auto}.margin-left-div[data-v-516b791c] .ant-input-number-input{position:absolute;top:0;bottom:0;right:-20px;margin:auto;width:60px;height:20px;line-height:20px;text-align:center;padding:0 8px}.padding-top-div[data-v-516b791c]{top:25px;left:25px;right:25px;border-left:20px solid transparent;border-right:20px solid transparent;border-top:20px solid #d6e4ff}.padding-top-div[data-v-516b791c]:hover{border-top:20px solid #bfd4fb}.padding-top-div[data-v-516b791c] .ant-input-number{position:absolute;left:0;right:0;top:-20px;height:20px!important;width:100%}.padding-top-div[data-v-516b791c] .ant-input-number-input{text-align:center;line-height:20px;height:20px;padding:0}.padding-bottom-div[data-v-516b791c]{bottom:25px;left:25px;right:25px;border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:20px solid #d6e4ff}.padding-bottom-div[data-v-516b791c]:hover{border-bottom:20px solid #bfd4fb}.padding-bottom-div[data-v-516b791c] .ant-input-number{position:absolute;left:0;right:0;bottom:-20px;height:20px!important;width:100%}.padding-bottom-div[data-v-516b791c] .ant-input-number-input{text-align:center;line-height:20px;height:20px;padding:0}.padding-right-div[data-v-516b791c]{top:30px;bottom:30px;right:25px;border-top:20px solid transparent;border-bottom:20px solid transparent;border-right:20px solid #d6e4ff}.padding-right-div[data-v-516b791c]:hover{border-right:20px solid #bfd4fb}.padding-right-div[data-v-516b791c] .ant-input-number{position:absolute;top:0;bottom:0;right:-25px;width:20px;margin:auto}.padding-right-div[data-v-516b791c] .ant-input-number-input{position:absolute;top:0;bottom:0;right:0;margin:auto;width:30px;height:20px;line-height:20px;text-align:center;padding:0 5px}.padding-left-div[data-v-516b791c]{top:30px;bottom:30px;left:25px;border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid #d6e4ff}.padding-left-div[data-v-516b791c]:hover{border-left:20px solid #bfd4fb}.padding-left-div[data-v-516b791c] .ant-input-number{position:absolute;top:0;bottom:0;left:-25px;width:20px;margin:auto}.padding-left-div[data-v-516b791c] .ant-input-number-input{position:absolute;top:0;bottom:0;left:0;margin:auto;width:30px;height:20px;line-height:20px;text-align:center;padding:0 5px}.center-uniform[data-v-516b791c]{position:absolute;top:45px;right:45px;bottom:45px;left:45px;z-index:2;display:flex;align-items:center;justify-content:center;gap:12px}.uniform-item[data-v-516b791c]{display:flex;flex:1;flex-direction:column;align-items:center;gap:4px;max-width:72px}.uniform-label[data-v-516b791c]{font-size:9px;line-height:1;color:var(--colorTextQuaternary);letter-spacing:.04em;transform:scale(.75)}.uniform-input[data-v-516b791c] .ant-input-number{width:100%!important;height:24px!important;border:1px solid var(--colorBorderSecondary)!important;border-radius:4px;background:var(--colorBgContainer);box-shadow:none}.uniform-input[data-v-516b791c] .ant-input-number-input{height:22px!important;line-height:22px;text-align:center;padding:0 4px}.offset-box-container[data-v-5681f23f]{position:relative;width:100%;height:120px;background:var(--colorBgContainer)}.offset-box-container[data-v-5681f23f] .ant-input-number{min-width:0;border:none;box-shadow:none;background:transparent}.offset-box-container[data-v-5681f23f] .ant-input-number-input{color:var(--colorTextSecondary);font-size:12px;text-align:center;padding:0}.offset-box-container[data-v-5681f23f] .ant-input-number-input::placeholder{color:var(--colorTextQuaternary)}.offset-top-div[data-v-5681f23f],.offset-right-div[data-v-5681f23f],.offset-bottom-div[data-v-5681f23f],.offset-left-div[data-v-5681f23f]{position:absolute;transition:all .3s ease;box-sizing:content-box;overflow:visible}.offset-top-div[data-v-5681f23f],.offset-bottom-div[data-v-5681f23f]{height:0}.offset-right-div[data-v-5681f23f],.offset-left-div[data-v-5681f23f]{width:0}.offset-top-div[data-v-5681f23f]{top:0;left:0;right:0;border-left:20px solid transparent;border-right:20px solid transparent;border-top:20px solid #d6e4ff}.offset-top-div[data-v-5681f23f]:hover{border-top-color:#bfd4fb}.offset-top-div[data-v-5681f23f] .ant-input-number{position:absolute;left:0;right:0;top:-20px;height:20px!important;width:100%}.offset-top-div[data-v-5681f23f] .ant-input-number-input{height:20px;line-height:20px}.offset-right-div[data-v-5681f23f]{top:5px;bottom:5px;right:0;border-top:20px solid transparent;border-bottom:20px solid transparent;border-right:20px solid #d6e4ff}.offset-right-div[data-v-5681f23f]:hover{border-right-color:#bfd4fb}.offset-right-div[data-v-5681f23f] .ant-input-number{position:absolute;top:0;bottom:0;right:-20px;width:20px;margin:auto;height:20px!important}.offset-right-div[data-v-5681f23f] .ant-input-number-input{height:20px;line-height:20px}.offset-bottom-div[data-v-5681f23f]{bottom:0;left:0;right:0;border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:20px solid #d6e4ff}.offset-bottom-div[data-v-5681f23f]:hover{border-bottom-color:#bfd4fb}.offset-bottom-div[data-v-5681f23f] .ant-input-number{position:absolute;left:0;right:0;bottom:-20px;height:20px!important;width:100%}.offset-bottom-div[data-v-5681f23f] .ant-input-number-input{height:20px;line-height:20px}.offset-left-div[data-v-5681f23f]{top:5px;bottom:5px;left:0;border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid #d6e4ff}.offset-left-div[data-v-5681f23f]:hover{border-left-color:#bfd4fb}.offset-left-div[data-v-5681f23f] .ant-input-number{position:absolute;top:0;bottom:0;left:-20px;width:20px;margin:auto;height:20px!important}.offset-left-div[data-v-5681f23f] .ant-input-number-input{height:20px;line-height:20px}.offset-center[data-v-5681f23f]{position:absolute;top:25px;right:25px;bottom:25px;left:25px;z-index:1;background:var(--colorBgContainer);pointer-events:none}.setter-shell[data-v-08726d10] .ant-form-item-label label{font-size:12px;color:var(--colorTextSecondary);display:flex;align-items:center;justify-content:space-between;width:100%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.lc-divider-with-text[data-v-49ed8c12]{display:grid;align-items:center}.lc-divider-line[data-v-49ed8c12]{min-width:0;height:0;border:0;border-top:1px solid var(--colorSplit)}.lc-divider-inner[data-v-49ed8c12]{padding-inline:1em}.lc-divider-orient-center[data-v-49ed8c12]{grid-template-columns:1fr auto 1fr}.lc-divider-orient-left[data-v-49ed8c12]{grid-template-columns:5% auto 1fr}.lc-divider-orient-right[data-v-49ed8c12]{grid-template-columns:1fr auto 5%}.lc-divider-custom-margin-left[data-v-49ed8c12]{grid-template-columns:0 auto 1fr}.lc-divider-custom-margin-right[data-v-49ed8c12]{grid-template-columns:1fr auto 0}.lc-divider-dashed-text .lc-divider-line[data-v-49ed8c12]{border-top-style:dashed}.lc-tab-pane-body[data-v-6afcdd57]>.drag-handler [data-lc-rs]{display:flex;height:100%;min-height:0;flex:1 1 auto;flex-direction:column}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.lowcode-theme-scope .container{width:100%}@media(min-width:640px){.lowcode-theme-scope .container{max-width:640px}}@media(min-width:768px){.lowcode-theme-scope .container{max-width:768px}}@media(min-width:1024px){.lowcode-theme-scope .container{max-width:1024px}}@media(min-width:1280px){.lowcode-theme-scope .container{max-width:1280px}}@media(min-width:1536px){.lowcode-theme-scope .container{max-width:1536px}}.lowcode-theme-scope{--colorPrimary:#396AF8;--colorPrimaryBorder:#91caff;--colorText:rgba(0, 0, 0, .88);--colorTextQuaternary:rgba(0, 0, 0, .25);--colorTextSecondary:rgba(0, 0, 0, .65);--colorTextTertiary:rgba(0, 0, 0, .45);--colorTextLightSolid:#fff;--colorBgLayout:#f5f5f5;--colorBgContainer:#ffffff;--colorBgElevated:#ffffff;--colorBorder:#d9d9d9;--colorBorderSecondary:#f0f0f0;--colorSplit:rgba(5, 5, 5, .06);--colorFillSecondary:rgba(0, 0, 0, .06);--colorFillTertiary:rgba(0, 0, 0, .04);--colorFillQuaternary:rgba(0, 0, 0, .02);--colorLink:#396AF8;--colorPrimary-2:#1c357c}.lowcode-theme-scope .scrollbar{scrollbar-width:thin;scrollbar-color:var(--colorPrimary) var(--colorBgLayout)}.lowcode-theme-scope .scrollbar::-webkit-scrollbar{width:1px;height:1px}.lowcode-theme-scope .scrollbar::-webkit-scrollbar-track{background-color:var(--colorBgLayout)}.lowcode-theme-scope .scrollbar::-webkit-scrollbar-thumb{background-color:var(--colorPrimary);border-radius:10px}.lowcode-theme-scope .scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--colorPrimary-2)}.lowcode-theme-scope .\[box-decoration-break\:clone\]{-webkit-box-decoration-break:clone;box-decoration-break:clone}.lowcode-theme-scope .pointer-events-auto{pointer-events:auto}.lowcode-theme-scope .pointer-events-none{pointer-events:none}.lowcode-theme-scope .visible{visibility:visible}.lowcode-theme-scope .absolute{position:absolute}.lowcode-theme-scope .relative{position:relative}.lowcode-theme-scope .inset-0{top:0;right:0;bottom:0;left:0}.lowcode-theme-scope .end-0{inset-inline-end:0}.lowcode-theme-scope .end-3{inset-inline-end:.75rem}.lowcode-theme-scope .start-0{inset-inline-start:0}.lowcode-theme-scope .start-3{inset-inline-start:.75rem}.lowcode-theme-scope .-top-\[0\.06em\]{top:-.06em}.lowcode-theme-scope .bottom-0{bottom:0}.lowcode-theme-scope .bottom-3{bottom:.75rem}.lowcode-theme-scope .left-1\/2{left:50%}.lowcode-theme-scope .left-3{left:.75rem}.lowcode-theme-scope .right-3{right:.75rem}.lowcode-theme-scope .top-0{top:0}.lowcode-theme-scope .top-1\/2{top:50%}.lowcode-theme-scope .top-3{top:.75rem}.lowcode-theme-scope .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.lowcode-theme-scope .line-clamp-10{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:10;line-clamp:10}.lowcode-theme-scope .line-clamp-11{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:11;line-clamp:11}.lowcode-theme-scope .line-clamp-12{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:12;line-clamp:12}.lowcode-theme-scope .line-clamp-13{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:13;line-clamp:13}.lowcode-theme-scope .line-clamp-14{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:14;line-clamp:14}.lowcode-theme-scope .line-clamp-15{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:15;line-clamp:15}.lowcode-theme-scope .line-clamp-16{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:16;line-clamp:16}.lowcode-theme-scope .line-clamp-17{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:17;line-clamp:17}.lowcode-theme-scope .line-clamp-18{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:18;line-clamp:18}.lowcode-theme-scope .line-clamp-19{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:19;line-clamp:19}.lowcode-theme-scope .line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.lowcode-theme-scope .line-clamp-20{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:20;line-clamp:20}.lowcode-theme-scope .line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.lowcode-theme-scope .line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4}.lowcode-theme-scope .line-clamp-5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5}.lowcode-theme-scope .line-clamp-6{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-clamp:6}.lowcode-theme-scope .line-clamp-7{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;line-clamp:7}.lowcode-theme-scope .line-clamp-8{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;line-clamp:8}.lowcode-theme-scope .line-clamp-9{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:9;line-clamp:9}.lowcode-theme-scope .z-10{z-index:10}.lowcode-theme-scope .grid{display:grid}.lowcode-theme-scope .clear-both{clear:both}.lowcode-theme-scope .m-0{margin:0}.lowcode-theme-scope .mx-2{margin-left:.5rem;margin-right:.5rem}.lowcode-theme-scope .my-4{margin-top:1rem;margin-bottom:1rem}.lowcode-theme-scope .my-6{margin-top:1.5rem;margin-bottom:1.5rem}.lowcode-theme-scope .-mt-4{margin-top:-1rem}.lowcode-theme-scope .me-0{margin-inline-end:0}.lowcode-theme-scope .ms,.lowcode-theme-scope .ms-4{margin-inline-start:1rem}.lowcode-theme-scope .box-border{box-sizing:border-box}.lowcode-theme-scope .inline{display:inline}.lowcode-theme-scope .block{display:block}.lowcode-theme-scope .inline-block{display:inline-block}.lowcode-theme-scope .hidden,.lowcode-theme-scope [hidden=""]{display:none}.lowcode-theme-scope .h-\[0\.9em\]{height:.9em}.lowcode-theme-scope .h-0\.5{height:.125rem}.lowcode-theme-scope .h-10{height:2.5rem}.lowcode-theme-scope .h-2{height:.5rem}.lowcode-theme-scope .h-6{height:1.5rem}.lowcode-theme-scope .h-8{height:2rem}.lowcode-theme-scope .h-auto{height:auto}.lowcode-theme-scope .h-full{height:100%}.lowcode-theme-scope .max-h-full{max-height:100%}.lowcode-theme-scope .max-w-full{max-width:100%}.lowcode-theme-scope .min-h-\[38px\]{min-height:38px}.lowcode-theme-scope .min-h-0{min-height:0}.lowcode-theme-scope .min-h-14{min-height:3.5rem}.lowcode-theme-scope .min-h-24{min-height:6rem}.lowcode-theme-scope .min-h-full{min-height:100%}.lowcode-theme-scope .min-w-0{min-width:0}.lowcode-theme-scope .min-w-24{min-width:6rem}.lowcode-theme-scope .min-w-full{min-width:100%}.lowcode-theme-scope .w-0\.5{width:.125rem}.lowcode-theme-scope .w-10{width:2.5rem}.lowcode-theme-scope .w-2{width:.5rem}.lowcode-theme-scope .w-6{width:1.5rem}.lowcode-theme-scope .w-8{width:2rem}.lowcode-theme-scope .w-full{width:100%}.lowcode-theme-scope .flex,.lowcode-theme-scope [flex=""]{display:flex}.lowcode-theme-scope .inline-flex{display:inline-flex}.lowcode-theme-scope .flex-\[0_0_100\%\]{flex:0 0 100%}.lowcode-theme-scope .flex-1{flex:1 1 0%}.lowcode-theme-scope .flex-none{flex:none}.lowcode-theme-scope .flex-row{flex-direction:row}.lowcode-theme-scope .flex-row-reverse{flex-direction:row-reverse}.lowcode-theme-scope .flex-col{flex-direction:column}.lowcode-theme-scope .flex-col-reverse{flex-direction:column-reverse}.lowcode-theme-scope .-translate-x-1\/2{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lowcode-theme-scope .-translate-y-1\/2{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lowcode-theme-scope .transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lowcode-theme-scope .cursor-pointer{cursor:pointer}.lowcode-theme-scope .cursor-not-allowed{cursor:not-allowed}.lowcode-theme-scope .touch-manipulation{touch-action:manipulation}.lowcode-theme-scope .select-none{-webkit-user-select:none;user-select:none}.lowcode-theme-scope .list-none{list-style-type:none}.lowcode-theme-scope .items-center{align-items:center}.lowcode-theme-scope .justify-start{justify-content:flex-start}.lowcode-theme-scope .justify-center{justify-content:center}.lowcode-theme-scope .gap-0{gap:0}.lowcode-theme-scope .gap-1\.5{gap:.375rem}.lowcode-theme-scope .gap-2{gap:.5rem}.lowcode-theme-scope .overflow-hidden{overflow:hidden}.lowcode-theme-scope .text-ellipsis{text-overflow:ellipsis}.lowcode-theme-scope .whitespace-nowrap{white-space:nowrap}.lowcode-theme-scope .whitespace-pre-wrap{white-space:pre-wrap}.lowcode-theme-scope .break-words{overflow-wrap:break-word}.lowcode-theme-scope .b,.lowcode-theme-scope .border,.lowcode-theme-scope [b=""]{border-width:1px}.lowcode-theme-scope .border-0{border-width:0px}.lowcode-theme-scope .border-b{border-bottom-width:1px}.lowcode-theme-scope .border-b-0{border-bottom-width:0px}.lowcode-theme-scope .border-e{border-inline-end-width:1px}.lowcode-theme-scope .border-e-0{border-inline-end-width:0px}.lowcode-theme-scope .border-s{border-inline-start-width:1px}.lowcode-theme-scope .border-t{border-top-width:1px}.lowcode-theme-scope .border-t-0{border-top-width:0px}.lowcode-theme-scope .border-\[\#ff4d4f\]{--un-border-opacity:1;border-color:rgb(255 77 79 / var(--un-border-opacity))}.lowcode-theme-scope .border-\[var\(--colorBorder\)\]{border-color:var(--colorBorder)}.lowcode-theme-scope .border-\[var\(--colorBorderSecondary\)\]{border-color:var(--colorBorderSecondary)}.lowcode-theme-scope .border-\[var\(--colorPrimary\)\]{border-color:var(--colorPrimary)}.lowcode-theme-scope .border-\[var\(--colorSplit\)\]{border-color:var(--colorSplit)}.lowcode-theme-scope .border-transparent{border-color:transparent}.lowcode-theme-scope .hover\:border-\[var\(--colorPrimary\)\]:hover{border-color:var(--colorPrimary)}.lowcode-theme-scope .rounded{border-radius:.25rem}.lowcode-theme-scope .rounded-\[24px\]{border-radius:24px}.lowcode-theme-scope .rounded-\[32px\]{border-radius:32px}.lowcode-theme-scope .rounded-\[40px\]{border-radius:40px}.lowcode-theme-scope .rounded-full{border-radius:9999px}.lowcode-theme-scope .rounded-lg{border-radius:.5rem}.lowcode-theme-scope .rounded-md{border-radius:.375rem}.lowcode-theme-scope .border-dashed{border-style:dashed}.lowcode-theme-scope .border-solid{border-style:solid}.lowcode-theme-scope .bg-\[\#ff4d4f\]{--un-bg-opacity:1;background-color:rgb(255 77 79 / var(--un-bg-opacity))}.lowcode-theme-scope .bg-\[\#ffe58f\]{--un-bg-opacity:1;background-color:rgb(255 229 143 / var(--un-bg-opacity))}.lowcode-theme-scope .bg-\[var\(--colorBgContainer\)\]{background-color:var(--colorBgContainer)}.lowcode-theme-scope .bg-\[var\(--colorFillQuaternary\)\]{background-color:var(--colorFillQuaternary)}.lowcode-theme-scope .bg-\[var\(--colorPrimary\)\]{background-color:var(--colorPrimary)}.lowcode-theme-scope .bg-\[var\(--lc-carousel-dot-color\,var\(--colorPrimary\)\)\]{background-color:var(--lc-carousel-dot-color,var(--colorPrimary))}.lowcode-theme-scope .bg-black\/25{background-color:#00000040}.lowcode-theme-scope .bg-transparent{background-color:transparent}.lowcode-theme-scope .hover\:bg-black\/45:hover{background-color:#00000073}.lowcode-theme-scope .focus\:bg-black\/45:focus{background-color:#00000073}.lowcode-theme-scope .object-cover{object-fit:cover}.lowcode-theme-scope .object-contain{object-fit:contain}.lowcode-theme-scope .object-fill{object-fit:fill}.lowcode-theme-scope .object-scale-down{object-fit:scale-down}.lowcode-theme-scope .object-none{object-fit:none}.lowcode-theme-scope .p-0{padding:0}.lowcode-theme-scope .p-3{padding:.75rem}.lowcode-theme-scope .p-6{padding:1.5rem}.lowcode-theme-scope .px,.lowcode-theme-scope .px-4,.lowcode-theme-scope [px=""]{padding-left:1rem;padding-right:1rem}.lowcode-theme-scope .px-\[15px\]{padding-left:15px;padding-right:15px}.lowcode-theme-scope .px-\[7px\]{padding-left:7px;padding-right:7px}.lowcode-theme-scope .px-0{padding-left:0;padding-right:0}.lowcode-theme-scope .px-3{padding-left:.75rem;padding-right:.75rem}.lowcode-theme-scope .px-6{padding-left:1.5rem;padding-right:1.5rem}.lowcode-theme-scope .py-\[6\.4px\]{padding-top:6.4px;padding-bottom:6.4px}.lowcode-theme-scope .py-1{padding-top:.25rem;padding-bottom:.25rem}.lowcode-theme-scope .py-2{padding-top:.5rem;padding-bottom:.5rem}.lowcode-theme-scope .py-3{padding-top:.75rem;padding-bottom:.75rem}.lowcode-theme-scope .py-4{padding-top:1rem;padding-bottom:1rem}.lowcode-theme-scope .text-center{text-align:center}.lowcode-theme-scope .align-middle{vertical-align:middle}.lowcode-theme-scope .align-top{vertical-align:top}.lowcode-theme-scope .text-base{font-size:1rem;line-height:1.5rem}.lowcode-theme-scope .text-sm{font-size:.875rem;line-height:1.25rem}.lowcode-theme-scope .text-\[var\(--colorLink\,var\(--colorPrimary\)\)\]{color:var(--colorLink,var(--colorPrimary))}.lowcode-theme-scope .text-\[var\(--colorPrimary\)\]{color:var(--colorPrimary)}.lowcode-theme-scope .text-\[var\(--colorText\)\]{color:var(--colorText)}.lowcode-theme-scope .text-\[var\(--colorTextQuaternary\)\]{color:var(--colorTextQuaternary)}.lowcode-theme-scope .text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.lowcode-theme-scope .hover\:text-\[var\(--colorPrimary\)\]:hover{color:var(--colorPrimary)}.lowcode-theme-scope .font-medium{font-weight:500}.lowcode-theme-scope .font-normal{font-weight:400}.lowcode-theme-scope .font-semibold{font-weight:600}.lowcode-theme-scope .leading-\[1\.5714\]{line-height:1.5714}.lowcode-theme-scope .leading-none{line-height:1}.lowcode-theme-scope .line-through{text-decoration-line:line-through}.lowcode-theme-scope .underline{text-decoration-line:underline}.lowcode-theme-scope .tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.lowcode-theme-scope .opacity-0{opacity:0}.lowcode-theme-scope .opacity-100{opacity:1}.lowcode-theme-scope .opacity-30{opacity:.3}.lowcode-theme-scope .opacity-45,.lowcode-theme-scope .hover\:opacity-45:hover{opacity:.45}.lowcode-theme-scope .focus\:opacity-45:focus{opacity:.45}.lowcode-theme-scope .shadow,.lowcode-theme-scope [shadow=""]{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .shadow-none{--un-shadow:0 0 var(--un-shadow-color, rgb(0 0 0 / 0));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.lowcode-theme-scope .blur,.lowcode-theme-scope [blur=""]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.lowcode-theme-scope .hover\:brightness-105:hover{--un-brightness:brightness(1.05);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.lowcode-theme-scope .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lowcode-theme-scope .duration-200{transition-duration:.2s}.lowcode-theme-scope .ease,.lowcode-theme-scope .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.lowcode-theme-scope .ease-\[cubic-bezier\(0\.645\,0\.045\,0\.355\,1\)\]{transition-timing-function:cubic-bezier(.645,.045,.355,1)}.lowcode-theme-scope .ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.lowcode-theme-scope .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-lc-selection-hover]{outline:2px dashed var(--colorPrimaryBorder);outline-offset:-2px;background:color-mix(in srgb,var(--colorPrimary) 5%,transparent)}[data-lc-selection-active]{outline:2px dashed var(--colorPrimary);outline-offset:-2px;background:color-mix(in srgb,var(--colorPrimary) 10%,transparent)}[data-lc-selection-active][data-lc-selection-locked]{outline-color:var(--colorWarning)}.selection-chrome-toolbar-divider.ant-divider-vertical[data-v-ee7bf7a4]{border-inline-start-color:color-mix(in srgb,var(--colorTextLightSolid) 35%,transparent)}.selection-chrome-lock-toggle--locked[data-v-ee7bf7a4] .anticon{color:var(--colorError, #ff4d4f)}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ab as o } from "./code-editor.vue_vue_type_script_setup_true_lang-aA043pnA.js";
|
|
2
|
+
import { C as f } from "./code-editor.vue_vue_type_script_setup_true_lang-aA043pnA.js";
|
|
3
|
+
import { m as r } from "./sortable.esm-DbutZcEr.js";
|
|
4
|
+
const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0fc480d3"]]);
|
|
5
|
+
export {
|
|
6
|
+
f as CodeEditor,
|
|
7
|
+
d as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=code-editor-DJwwp3uU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-editor-DJwwp3uU.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|