@gct-paas/design 0.1.4-dev.7 → 0.1.4-dev.9
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/dist/assets/transform-js.worker-BtVTa-PT.js +666 -0
- package/dist/index.esm.min.mjs +25756 -464
- package/dist/index.min.cjs +70 -1
- package/dist/index.min.css +1 -0
- package/dist/index.system.min.js +70 -1
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/assets/transform-js.worker-DdeZQ5i-.js +296567 -0
- package/es/components/design/design-content/design-content.css +76 -0
- package/es/components/design/design-content/design-content.d.ts +191 -0
- package/es/components/design/design-content/design-content.mjs +363 -0
- package/es/components/design/design-drag-item/design-drag-item.css +179 -0
- package/es/components/design/design-drag-item/design-drag-item.d.ts +55 -0
- package/es/components/design/design-drag-item/design-drag-item.mjs +296 -0
- package/es/components/design/design-drop-container/design-drop-container.css +103 -0
- package/es/components/design/design-drop-container/design-drop-container.d.ts +91 -0
- package/es/components/design/design-drop-container/design-drop-container.mjs +220 -0
- package/es/components/design/design-drop-line/design-drop-line.css +165 -0
- package/es/components/design/design-drop-line/design-drop-line.d.ts +72 -0
- package/es/components/design/design-drop-line/design-drop-line.mjs +178 -0
- package/es/components/design/design-item-actions/design-item-actions.css +97 -0
- package/es/components/design/design-item-actions/design-item-actions.d.ts +42 -0
- package/es/components/design/design-item-actions/design-item-actions.mjs +196 -0
- package/es/components/design/design-item-highlighter/design-item-highlighter.css +70 -0
- package/es/components/design/design-item-highlighter/design-item-highlighter.d.ts +168 -0
- package/es/components/design/design-item-highlighter/design-item-highlighter.mjs +167 -0
- package/es/components/design/design-item-highlighter-container/design-item-highlighter-container.css +85 -0
- package/es/components/design/design-item-highlighter-container/design-item-highlighter-container.d.ts +53 -0
- package/es/components/design/design-item-highlighter-container/design-item-highlighter-container.mjs +224 -0
- package/es/components/design/design-item-hover-title/design-item-hover-title.css +12 -0
- package/es/components/design/design-item-hover-title/design-item-hover-title.d.ts +60 -0
- package/es/components/design/design-item-hover-title/design-item-hover-title.mjs +74 -0
- package/es/components/design/design-item-preview/design-item-preview.css +91 -0
- package/es/components/design/design-item-preview/design-item-preview.d.ts +1 -0
- package/es/components/design/design-item-preview/design-item-preview.mjs +50 -0
- package/es/components/design/design-not-drag-item/design-not-drag-item.css +67 -0
- package/es/components/design/design-not-drag-item/design-not-drag-item.d.ts +49 -0
- package/es/components/design/design-not-drag-item/design-not-drag-item.mjs +87 -0
- package/es/components/design/design-not-found/design-not-found.css +68 -0
- package/es/components/design/design-not-found/design-not-found.d.ts +14 -0
- package/es/components/design/design-not-found/design-not-found.mjs +26 -0
- package/es/components/design/index.d.ts +6 -0
- package/es/components/design/index.mjs +22 -0
- package/es/components/design-icon-button/design-icon-button.css +101 -0
- package/es/components/design-icon-button/design-icon-button.d.ts +104 -0
- package/es/components/design-icon-button/design-icon-button.mjs +150 -0
- package/es/components/design-save-tip/design-save-tip.css +107 -0
- package/es/components/design-save-tip/design-save-tip.d.ts +44 -0
- package/es/components/design-save-tip/design-save-tip.mjs +107 -0
- package/es/components/design-step-check/design-step-check.css +133 -0
- package/es/components/design-step-check/design-step-check.d.ts +30 -0
- package/es/components/design-step-check/design-step-check.mjs +122 -0
- package/es/components/design-view-layout/design-view-layout.css +157 -0
- package/es/components/design-view-layout/design-view-layout.d.ts +1 -0
- package/es/components/design-view-layout/design-view-layout.mjs +209 -0
- package/es/components/editor/index.d.ts +5 -0
- package/es/components/editor/index.mjs +15 -0
- package/es/components/editor/style/border-editor/border-box.css +144 -0
- package/es/components/editor/style/border-editor/border-box.vue.d.ts +10 -0
- package/es/components/editor/style/border-editor/border-box.vue2.mjs +7 -0
- package/es/components/editor/style/border-editor/border-box.vue3.mjs +305 -0
- package/es/components/editor/style/border-editor/border-editor.css +64 -0
- package/es/components/editor/style/border-editor/border-editor.vue.d.ts +13 -0
- package/es/components/editor/style/border-editor/border-editor.vue2.mjs +7 -0
- package/es/components/editor/style/border-editor/border-editor.vue3.mjs +60 -0
- package/es/components/editor/style/border-editor/border-radius.css +102 -0
- package/es/components/editor/style/border-editor/border-radius.vue.d.ts +10 -0
- package/es/components/editor/style/border-editor/border-radius.vue2.mjs +7 -0
- package/es/components/editor/style/border-editor/border-radius.vue3.mjs +212 -0
- package/es/components/editor/style/border-editor/util.d.ts +19 -0
- package/es/components/editor/style/border-editor/util.mjs +77 -0
- package/es/components/editor/style/font-editor/align-group.css +28 -0
- package/es/components/editor/style/font-editor/align-group.vue.d.ts +10 -0
- package/es/components/editor/style/font-editor/align-group.vue2.mjs +7 -0
- package/es/components/editor/style/font-editor/align-group.vue3.mjs +66 -0
- package/es/components/editor/style/font-editor/font-editor.vue.d.ts +10 -0
- package/es/components/editor/style/font-editor/font-editor.vue.mjs +72 -0
- package/es/components/editor/style/font-editor/font-editor.vue2.mjs +5 -0
- package/es/components/editor/style/font-editor/font-style-group.css +29 -0
- package/es/components/editor/style/font-editor/font-style-group.vue.d.ts +11 -0
- package/es/components/editor/style/font-editor/font-style-group.vue2.mjs +7 -0
- package/es/components/editor/style/font-editor/font-style-group.vue3.mjs +105 -0
- package/es/components/editor/style/font-editor/util.d.ts +2 -0
- package/es/components/editor/style/font-editor/util.mjs +12 -0
- package/es/components/editor/style/position-editor/position-editor.css +158 -0
- package/es/components/editor/style/position-editor/position-editor.vue.d.ts +12 -0
- package/es/components/editor/style/position-editor/position-editor.vue2.mjs +7 -0
- package/es/components/editor/style/position-editor/position-editor.vue3.mjs +242 -0
- package/es/components/editor/style/spacing-editor/spacing-editor.css +135 -0
- package/es/components/editor/style/spacing-editor/spacing-editor.vue.d.ts +16 -0
- package/es/components/editor/style/spacing-editor/spacing-editor.vue2.mjs +7 -0
- package/es/components/editor/style/spacing-editor/spacing-editor.vue3.mjs +311 -0
- package/es/components/icon/downleft-icon.vue.d.ts +4 -0
- package/es/components/icon/downleft-icon.vue.mjs +11 -0
- package/es/components/icon/downleft-icon.vue2.mjs +27 -0
- package/es/components/icon/downright-icon.vue.d.ts +4 -0
- package/es/components/icon/downright-icon.vue.mjs +11 -0
- package/es/components/icon/downright-icon.vue2.mjs +27 -0
- package/es/components/icon/upleft-icon.vue.d.ts +4 -0
- package/es/components/icon/upleft-icon.vue.mjs +11 -0
- package/es/components/icon/upleft-icon.vue2.mjs +27 -0
- package/es/components/icon/upright-icon.vue.d.ts +4 -0
- package/es/components/icon/upright-icon.vue.mjs +11 -0
- package/es/components/icon/upright-icon.vue2.mjs +27 -0
- package/es/components/index.d.ts +9 -0
- package/es/components/index.mjs +26 -0
- package/es/components/material/index.d.ts +5 -0
- package/es/components/material/index.mjs +9 -0
- package/es/components/material/material-content/material-content.css +86 -0
- package/es/components/material/material-content/material-content.d.ts +187 -0
- package/es/components/material/material-content/material-content.mjs +59 -0
- package/es/components/material/material-module/material-module.css +104 -0
- package/es/components/material/material-module/material-module.d.ts +72 -0
- package/es/components/material/material-module/material-module.mjs +111 -0
- package/es/components/material/material-module-drag-container/material-module-drag-container.css +69 -0
- package/es/components/material/material-module-drag-container/material-module-drag-container.d.ts +62 -0
- package/es/components/material/material-module-drag-container/material-module-drag-container.mjs +32 -0
- package/es/components/material/material-module-drag-item/material-module-drag-item.css +83 -0
- package/es/components/material/material-module-drag-item/material-module-drag-item.d.ts +17 -0
- package/es/components/material/material-module-drag-item/material-module-drag-item.mjs +103 -0
- package/es/components/material/material-outline-tree/material-outline-tree.css +81 -0
- package/es/components/material/material-outline-tree/material-outline-tree.d.ts +1 -0
- package/es/components/material/material-outline-tree/material-outline-tree.mjs +90 -0
- package/es/components/material/material-tab-pane/material-tab-pane.css +68 -0
- package/es/components/material/material-tab-pane/material-tab-pane.d.ts +13 -0
- package/es/components/material/material-tab-pane/material-tab-pane.mjs +26 -0
- package/es/components/material/material-tabs/material-tabs.css +105 -0
- package/es/components/material/material-tabs/material-tabs.d.ts +103 -0
- package/es/components/material/material-tabs/material-tabs.mjs +69 -0
- package/es/components/mobile-container/mobile-container.css +134 -0
- package/es/components/mobile-container/mobile-container.d.ts +31 -0
- package/es/components/mobile-container/mobile-container.mjs +81 -0
- package/es/components/modal-name-editor/modal-name-editor.css +117 -0
- package/es/components/modal-name-editor/modal-name-editor.d.ts +44 -0
- package/es/components/modal-name-editor/modal-name-editor.mjs +174 -0
- package/es/components/panel/index.d.ts +5 -0
- package/es/components/panel/index.mjs +9 -0
- package/es/components/panel/panel-content/panel-content.css +183 -0
- package/es/components/panel/panel-content/panel-content.d.ts +19 -0
- package/es/components/panel/panel-content/panel-content.mjs +73 -0
- package/es/components/panel/panel-form/panel-form.css +67 -0
- package/es/components/panel/panel-form/panel-form.d.ts +62 -0
- package/es/components/panel/panel-form/panel-form.mjs +76 -0
- package/es/components/panel/panel-path/panel-path.css +89 -0
- package/es/components/panel/panel-path/panel-path.d.ts +35 -0
- package/es/components/panel/panel-path/panel-path.mjs +75 -0
- package/es/constant/design-editor-type.d.ts +50 -0
- package/es/constant/design-editor-type.mjs +15 -0
- package/es/constant/index.d.ts +256 -1
- package/es/constant/index.mjs +72 -0
- package/es/constant/page-designer.d.ts +75 -0
- package/es/constant/page-designer.mjs +52 -0
- package/es/controller/index.d.ts +1 -0
- package/es/controller/view/design-view.controller.d.ts +47 -0
- package/es/controller/view/design-view.controller.mjs +183 -0
- package/es/create-app-vue.d.ts +8 -0
- package/es/create-app-vue.mjs +11 -0
- package/es/data/design-container-node/design-container-node.d.ts +15 -0
- package/es/data/design-container-node/design-container-node.mjs +6 -0
- package/es/data/design-editor-node/design-editor-node.d.ts +16 -0
- package/es/data/design-editor-node/design-editor-node.mjs +8 -0
- package/es/data/design-node/design-node.d.ts +41 -0
- package/es/data/design-node/design-node.mjs +67 -0
- package/es/data/index.d.ts +3 -0
- package/es/dictionary/index.d.ts +1 -0
- package/es/dictionary/tab-type/tab-type.d.ts +5 -0
- package/es/dictionary/tab-type/tab-type.mjs +24 -0
- package/es/editor/child-list-editor/child-list-editor.css +76 -0
- package/es/editor/child-list-editor/child-list-editor.d.ts +163 -0
- package/es/editor/child-list-editor/child-list-editor.mjs +145 -0
- package/es/editor/child-list-editor/child-list-editor.provider.d.ts +13 -0
- package/es/editor/child-list-editor/child-list-editor.provider.mjs +5 -0
- package/es/editor/child-list-editor/components/child-list-item-editor.css +112 -0
- package/es/editor/child-list-editor/components/child-list-item-editor.d.ts +133 -0
- package/es/editor/child-list-editor/components/child-list-item-editor.mjs +238 -0
- package/es/editor/child-list-editor/index.d.ts +4 -0
- package/es/editor/child-list-editor/index.mjs +13 -0
- package/es/editor/content-tag-style/content-tag-style.css +164 -0
- package/es/editor/content-tag-style/content-tag-style.d.ts +112 -0
- package/es/editor/content-tag-style/content-tag-style.mjs +103 -0
- package/es/editor/content-tag-style/index.d.ts +8 -0
- package/es/editor/content-tag-style/index.mjs +15 -0
- package/es/editor/custom-exp-menu-editor/components/custom-exp-menu-item.css +156 -0
- package/es/editor/custom-exp-menu-editor/components/custom-exp-menu-item.d.ts +29 -0
- package/es/editor/custom-exp-menu-editor/components/custom-exp-menu-item.mjs +134 -0
- package/es/editor/custom-exp-menu-editor/custom-exp-menu-editor.css +76 -0
- package/es/editor/custom-exp-menu-editor/custom-exp-menu-editor.d.ts +38 -0
- package/es/editor/custom-exp-menu-editor/custom-exp-menu-editor.mjs +163 -0
- package/es/editor/custom-exp-menu-editor/custom-exp-menu-editor.provider.d.ts +13 -0
- package/es/editor/custom-exp-menu-editor/custom-exp-menu-editor.provider.mjs +5 -0
- package/es/editor/custom-exp-menu-editor/i-custom-exp-menu-model.d.ts +23 -0
- package/es/editor/custom-exp-menu-editor/index.d.ts +5 -0
- package/es/editor/custom-exp-menu-editor/index.mjs +13 -0
- package/es/editor/custom-exp-menu-editor/modal/exp-menu.modal.d.ts +37 -0
- package/es/editor/field-info-editor/field-info-editor.css +125 -0
- package/es/editor/field-info-editor/field-info-editor.d.ts +111 -0
- package/es/editor/field-info-editor/field-info-editor.mjs +60 -0
- package/es/editor/field-info-editor/index.d.ts +8 -0
- package/es/editor/field-info-editor/index.mjs +13 -0
- package/es/editor/index.d.ts +5 -0
- package/es/editor/index.mjs +27 -0
- package/es/editor/model-field-select/index.d.ts +8 -0
- package/es/editor/model-field-select/index.mjs +13 -0
- package/es/editor/model-field-select/model-field-select.css +141 -0
- package/es/editor/model-field-select/model-field-select.d.ts +42 -0
- package/es/editor/model-field-select/model-field-select.mjs +314 -0
- package/es/editor/style-border/index.d.ts +8 -0
- package/es/editor/style-border/index.mjs +15 -0
- package/es/editor/style-border/style-border.d.ts +38 -0
- package/es/editor/style-border/style-border.mjs +45 -0
- package/es/editor/style-font/index.d.ts +8 -0
- package/es/editor/style-font/index.mjs +15 -0
- package/es/editor/style-font/style-font.css +86 -0
- package/es/editor/style-font/style-font.d.ts +38 -0
- package/es/editor/style-font/style-font.mjs +45 -0
- package/es/editor/style-position/index.d.ts +8 -0
- package/es/editor/style-position/index.mjs +15 -0
- package/es/editor/style-position/style-position.d.ts +38 -0
- package/es/editor/style-position/style-position.mjs +44 -0
- package/es/editor/style-spacing/index.d.ts +8 -0
- package/es/editor/style-spacing/index.mjs +15 -0
- package/es/editor/style-spacing/style-spacing.d.ts +40 -0
- package/es/editor/style-spacing/style-spacing.mjs +69 -0
- package/es/editor/system-page-select/i-system-page-select.d.ts +23 -0
- package/es/editor/system-page-select/index.d.ts +9 -0
- package/es/editor/system-page-select/index.mjs +15 -0
- package/es/editor/system-page-select/system-page-select.css +119 -0
- package/es/editor/system-page-select/system-page-select.d.ts +38 -0
- package/es/editor/system-page-select/system-page-select.mjs +82 -0
- package/es/hooks/design-view/constants/style-editor.const.d.ts +24 -0
- package/es/hooks/design-view/constants/style-editor.const.mjs +53 -0
- package/es/hooks/design-view/design-state.d.ts +2427 -0
- package/es/hooks/design-view/design-state.mjs +86 -0
- package/es/hooks/design-view/designer/useDesignCache.d.ts +4 -0
- package/es/hooks/design-view/designer/useDesignCache.mjs +27 -0
- package/es/hooks/design-view/designer/useDesignHistory.d.ts +16 -0
- package/es/hooks/design-view/designer/useDesignHistory.mjs +102 -0
- package/es/hooks/design-view/designer/useDesignModal.d.ts +1874 -0
- package/es/hooks/design-view/designer/useDesignModal.mjs +80 -0
- package/es/hooks/design-view/designer/useDesignPreview.d.ts +11 -0
- package/es/hooks/design-view/designer/useDesignPreview.mjs +143 -0
- package/es/hooks/design-view/designer/useDesignSave.d.ts +12 -0
- package/es/hooks/design-view/designer/useDesignSave.mjs +239 -0
- package/es/hooks/design-view/editor/usePropEditor.d.ts +33 -0
- package/es/hooks/design-view/editor/usePropEditor.mjs +99 -0
- package/es/hooks/design-view/editor/useStyle.d.ts +21 -0
- package/es/hooks/design-view/editor/useStyle.mjs +30 -0
- package/es/hooks/design-view/editor/useStyleEditor.d.ts +30 -0
- package/es/hooks/design-view/editor/useStyleEditor.mjs +77 -0
- package/es/hooks/design-view/global/useGlobal.d.ts +1392 -0
- package/es/hooks/design-view/global/useGlobal.mjs +74 -0
- package/es/hooks/design-view/layout/useScope.d.ts +12 -0
- package/es/hooks/design-view/layout/useScope.mjs +106 -0
- package/es/hooks/design-view/layout/useToolkit.d.ts +374 -0
- package/es/hooks/design-view/layout/useToolkit.mjs +315 -0
- package/es/hooks/design-view/page/usePage.d.ts +57 -0
- package/es/hooks/design-view/page/usePage.mjs +154 -0
- package/es/hooks/design-view/page/usePageOccupy.d.ts +33 -0
- package/es/hooks/design-view/page/usePageOccupy.mjs +77 -0
- package/es/hooks/design-view/useDesigner.d.ts +2938 -0
- package/es/hooks/design-view/useDesigner.mjs +109 -0
- package/es/hooks/design-view/utils/color.util.d.ts +21 -0
- package/es/hooks/design-view/utils/color.util.mjs +36 -0
- package/es/hooks/design-view/utils/field-schema.util.d.ts +55 -0
- package/es/hooks/design-view/utils/field-schema.util.mjs +96 -0
- package/es/hooks/design-view/widget/useSelectedWidget.d.ts +53 -0
- package/es/hooks/design-view/widget/useSelectedWidget.mjs +219 -0
- package/es/hooks/design-view/widget/useWidget.d.ts +107 -0
- package/es/hooks/design-view/widget/useWidget.mjs +124 -0
- package/es/hooks/design-view/widget/useWidgetQuery.d.ts +13 -0
- package/es/hooks/design-view/widget/useWidgetQuery.mjs +88 -0
- package/es/hooks/design-view/widget/useWidgetRegistry.d.ts +11 -0
- package/es/hooks/design-view/widget/useWidgetRegistry.mjs +59 -0
- package/es/hooks/designer.hooks.d.ts +15 -0
- package/es/hooks/designer.hooks.mjs +12 -0
- package/es/hooks/develop/useCacheHistory.d.ts +67 -0
- package/es/hooks/develop/useCacheHistory.mjs +157 -0
- package/es/hooks/develop/useKeyParser.d.ts +16 -0
- package/es/hooks/develop/useKeyParser.mjs +67 -0
- package/es/hooks/index.d.ts +25 -1
- package/es/hooks/use-design-view-controller/use-design-view-controller.d.ts +11 -0
- package/es/hooks/use-design-view-controller/use-design-view-controller.mjs +26 -0
- package/es/hooks/use-model-field/use-model-field.d.ts +32 -0
- package/es/hooks/use-model-field/use-model-field.mjs +344 -0
- package/es/hooks/web/useUUid.d.ts +41 -0
- package/es/hooks/web/useUUid.mjs +93 -0
- package/es/index.d.ts +12 -4
- package/es/index.mjs +112 -23
- package/es/interface/actions/i-design-view.actions.d.ts +217 -0
- package/es/interface/controller/i-design-view.controller.d.ts +53 -14
- package/es/interface/design/i-design-container-node.d.ts +13 -0
- package/es/interface/design/i-design-data.d.ts +44 -0
- package/es/interface/design/i-design-editor-data.d.ts +20 -0
- package/es/interface/design/i-design-editor-node.d.ts +15 -0
- package/es/interface/design/i-design-node-data.d.ts +19 -0
- package/es/interface/design/i-design-node.d.ts +80 -0
- package/es/interface/design/i-design-page-node-data.d.ts +15 -0
- package/es/interface/design/i-design-tree-item.d.ts +26 -0
- package/es/interface/design/i-model-field-node-data/i-model-field-node-data.d.ts +158 -0
- package/es/interface/design/index.d.ts +9 -0
- package/es/interface/designer/i-designer-hooks.d.ts +26 -0
- package/es/interface/designer/i-designer-provider.d.ts +20 -0
- package/es/interface/designer/i-designer-state.d.ts +41 -0
- package/es/interface/designer/i-designer.controller.d.ts +116 -0
- package/es/interface/designer/index.d.ts +4 -0
- package/es/interface/editor/child-list-editor/child-list-editor.d.ts +114 -0
- package/es/interface/editor/index.d.ts +9 -0
- package/es/interface/editor/style-border/i-style-border.controller.d.ts +11 -0
- package/es/interface/editor/style-border/i-style-border.d.ts +22 -0
- package/es/interface/editor/style-font/i-style-font.controller.d.ts +11 -0
- package/es/interface/editor/style-font/i-style-font.d.ts +13 -0
- package/es/interface/editor/style-position/i-style-position.controller.d.ts +11 -0
- package/es/interface/editor/style-position/i-style-position.d.ts +13 -0
- package/es/interface/editor/style-spacing/i-style-spacing.controller.d.ts +11 -0
- package/es/interface/editor/style-spacing/i-style-spacing.d.ts +22 -0
- package/es/interface/i-design-item-action/i-design-item-action.d.ts +42 -0
- package/es/interface/i-design-view-options/i-design-view-options.d.ts +69 -0
- package/es/interface/i-drag-collect/i-drag-collect.d.ts +6 -0
- package/es/interface/i-drag-data-item/i-drag-data-item.d.ts +13 -2
- package/es/interface/i-drag-item/i-drag-item.d.ts +13 -2
- package/es/interface/i-drop-collect/i-drop-collect.d.ts +8 -0
- package/es/interface/i-drop-result/i-drop-result.d.ts +2 -0
- package/es/interface/i-material-data/i-material-data.d.ts +50 -0
- package/es/interface/i-material-group/i-material-group.d.ts +51 -0
- package/es/interface/i-view-step/i-view-step.d.ts +32 -0
- package/es/interface/i-vue3-dnd-item-options/i-vue3-dnd-item-options.d.ts +323 -0
- package/es/interface/index.d.ts +31 -7
- package/es/interface/page-designer/toolkit.d.ts +12 -0
- package/es/interface/provider/i-node-provider.d.ts +142 -0
- package/es/interface/state/i-design-view.state.d.ts +107 -10
- package/es/plugins/design-custom-exp-menu/components/design-custom-exp-menu-component.css +87 -0
- package/es/plugins/design-custom-exp-menu/components/design-custom-exp-menu.component.d.ts +9 -0
- package/es/plugins/design-custom-exp-menu/components/design-custom-exp-menu.component.mjs +109 -0
- package/es/plugins/design-custom-exp-menu/design-custom-exp-menu.data.d.ts +51 -0
- package/es/plugins/design-custom-exp-menu/design-custom-exp-menu.data.mjs +89 -0
- package/es/plugins/design-custom-exp-menu/design-custom-exp-menu.provider.d.ts +23 -0
- package/es/plugins/design-custom-exp-menu/design-custom-exp-menu.provider.mjs +159 -0
- package/es/plugins/design-editor/index.d.ts +5 -0
- package/es/plugins/design-editor/index.mjs +13 -0
- package/es/plugins/design-editor/upload-file/index.d.ts +4 -0
- package/es/plugins/design-editor/upload-file/index.mjs +15 -0
- package/es/plugins/design-editor/upload-file/upload-file.css +124 -0
- package/es/plugins/design-editor/upload-file/upload-file.d.ts +46 -0
- package/es/plugins/design-editor/upload-file/upload-file.mjs +51 -0
- package/es/plugins/design-editor/upload-image/index.d.ts +4 -0
- package/es/plugins/design-editor/upload-image/index.mjs +15 -0
- package/es/plugins/design-editor/upload-image/upload-image.css +79 -0
- package/es/plugins/design-editor/upload-image/upload-image.d.ts +46 -0
- package/es/plugins/design-editor/upload-image/upload-image.mjs +23 -0
- package/es/plugins/design-editor/user-signature/index.d.ts +4 -0
- package/es/plugins/design-editor/user-signature/index.mjs +15 -0
- package/es/plugins/design-editor/user-signature/user-signature.css +79 -0
- package/es/plugins/design-editor/user-signature/user-signature.d.ts +46 -0
- package/es/plugins/design-editor/user-signature/user-signature.mjs +23 -0
- package/es/plugins/design-grid/components/design-grid.component.css +68 -0
- package/es/plugins/design-grid/components/design-grid.component.d.ts +39 -0
- package/es/plugins/design-grid/components/design-grid.component.mjs +60 -0
- package/es/plugins/design-grid/design-grid.data.d.ts +34 -0
- package/es/plugins/design-grid/design-grid.data.mjs +17 -0
- package/es/plugins/design-grid/design-grid.provider.d.ts +26 -0
- package/es/plugins/design-grid/design-grid.provider.mjs +273 -0
- package/es/plugins/design-grid-item/components/design-grid-item.component.d.ts +38 -0
- package/es/plugins/design-grid-item/components/design-grid-item.component.mjs +39 -0
- package/es/plugins/design-grid-item/design-grid-item.data.d.ts +26 -0
- package/es/plugins/design-grid-item/design-grid-item.data.mjs +17 -0
- package/es/plugins/design-grid-item/design-grid-item.provider.d.ts +25 -0
- package/es/plugins/design-grid-item/design-grid-item.provider.mjs +172 -0
- package/es/plugins/design-menu-list/components/design-menu-list.component.css +131 -0
- package/es/plugins/design-menu-list/components/design-menu-list.component.d.ts +18 -0
- package/es/plugins/design-menu-list/components/design-menu-list.component.mjs +110 -0
- package/es/plugins/design-menu-list/design-menu-list.data.d.ts +62 -0
- package/es/plugins/design-menu-list/design-menu-list.data.mjs +21 -0
- package/es/plugins/design-menu-list/design-menu-list.provider.d.ts +23 -0
- package/es/plugins/design-menu-list/design-menu-list.provider.mjs +265 -0
- package/es/plugins/design-page/design-page.data.d.ts +15 -0
- package/es/plugins/design-page/design-page.data.mjs +17 -0
- package/es/plugins/design-page/design-page.provider.d.ts +23 -0
- package/es/plugins/design-page/design-page.provider.mjs +109 -0
- package/es/plugins/design-panel/components/design-panel-component.css +108 -0
- package/es/plugins/design-panel/components/design-panel.component.d.ts +39 -0
- package/es/plugins/design-panel/components/design-panel.component.mjs +49 -0
- package/es/plugins/design-panel/design-panel.data.d.ts +64 -0
- package/es/plugins/design-panel/design-panel.data.mjs +27 -0
- package/es/plugins/design-panel/design-panel.provider.d.ts +23 -0
- package/es/plugins/design-panel/design-panel.provider.mjs +298 -0
- package/es/plugins/design-personal-center/components/design-personal-center.component.css +48 -0
- package/es/plugins/design-personal-center/components/design-personal-center.component.vue.d.ts +36 -0
- package/es/plugins/design-personal-center/components/design-personal-center.component.vue.mjs +7 -0
- package/es/plugins/design-personal-center/components/design-personal-center.component.vue2.mjs +97 -0
- package/es/plugins/design-personal-center/design-personal-center.data.d.ts +27 -0
- package/es/plugins/design-personal-center/design-personal-center.data.mjs +21 -0
- package/es/plugins/design-personal-center/design-personal-center.provider.d.ts +13 -0
- package/es/plugins/design-personal-center/design-personal-center.provider.mjs +144 -0
- package/es/plugins/design-select-component/components/design-select-component.component.css +107 -0
- package/es/plugins/design-select-component/components/design-select-component.component.d.ts +41 -0
- package/es/plugins/design-select-component/components/design-select-component.component.mjs +57 -0
- package/es/plugins/design-select-component/design-select-component.data.d.ts +57 -0
- package/es/plugins/design-select-component/design-select-component.data.mjs +18 -0
- package/es/plugins/design-select-component/design-select-component.provider.d.ts +23 -0
- package/es/plugins/design-select-component/design-select-component.provider.mjs +207 -0
- package/es/plugins/design-tab-item/components/design-tab-item.component.d.ts +38 -0
- package/es/plugins/design-tab-item/components/design-tab-item.component.mjs +39 -0
- package/es/plugins/design-tab-item/design-tab-item.data.d.ts +35 -0
- package/es/plugins/design-tab-item/design-tab-item.data.mjs +22 -0
- package/es/plugins/design-tab-item/design-tab-item.provider.d.ts +25 -0
- package/es/plugins/design-tab-item/design-tab-item.provider.mjs +185 -0
- package/es/plugins/design-tabs/components/design-tabs.component.css +105 -0
- package/es/plugins/design-tabs/components/design-tabs.component.d.ts +40 -0
- package/es/plugins/design-tabs/components/design-tabs.component.mjs +85 -0
- package/es/plugins/design-tabs/design-tabs.data.d.ts +66 -0
- package/es/plugins/design-tabs/design-tabs.data.mjs +19 -0
- package/es/plugins/design-tabs/design-tabs.provider.d.ts +26 -0
- package/es/plugins/design-tabs/design-tabs.provider.mjs +261 -0
- package/es/plugins/index.d.ts +5 -0
- package/es/plugins/index.mjs +116 -0
- package/es/plugins/install-material.d.ts +8 -0
- package/es/plugins/install-material.mjs +55 -0
- package/es/props/index.d.ts +64 -0
- package/es/props/index.mjs +56 -0
- package/es/provider/design-editor-node/design-editor-node.provider.d.ts +40 -0
- package/es/provider/design-editor-node/design-editor-node.provider.mjs +44 -0
- package/es/provider/index.d.ts +2 -0
- package/es/provider/node-base/node-base.provider.d.ts +25 -0
- package/es/provider/node-base/node-base.provider.mjs +26 -0
- package/es/register/designer-register/designer-register.d.ts +82 -0
- package/es/register/designer-register/designer-register.mjs +102 -0
- package/es/register/index.d.ts +3 -0
- package/es/register/material/material.register.d.ts +90 -0
- package/es/register/material/material.register.mjs +134 -0
- package/es/register/node/node.register.d.ts +113 -0
- package/es/register/node/node.register.mjs +134 -0
- package/es/setup-app.d.ts +1 -0
- package/es/setup-app.mjs +18 -0
- package/es/store/index.d.ts +1 -0
- package/es/store/view/design-view.store.d.ts +5 -0
- package/es/store/view/design-view.store.mjs +412 -0
- package/es/types/index.d.ts +9 -23
- package/es/utils/can-drop/can-drop.d.ts +12 -0
- package/es/utils/can-drop/can-drop.mjs +56 -0
- package/es/utils/design-install/design-install.d.ts +16 -0
- package/es/utils/design-install/design-install.mjs +22 -0
- package/es/utils/design-interceptors/design-interceptors.d.ts +8 -0
- package/es/utils/design-interceptors/design-interceptors.mjs +20 -0
- package/es/utils/field-attrs/basicAttrs.d.ts +25 -0
- package/es/utils/field-attrs/basicAttrs.mjs +724 -0
- package/es/utils/field-attrs/index.d.ts +8 -0
- package/es/utils/field-attrs/index.mjs +8 -0
- package/es/utils/field-filter/index.d.ts +4 -0
- package/es/utils/field-filter/index.mjs +58 -0
- package/es/utils/find-deep-types/find-deep-types.d.ts +9 -0
- package/es/utils/find-deep-types/find-deep-types.mjs +30 -0
- package/es/utils/index.d.ts +9 -1
- package/es/utils/init-widget-info/init-widget-info.d.ts +16 -0
- package/es/utils/init-widget-info/init-widget-info.mjs +40 -0
- package/es/utils/plugin-pkg-util/plugin-pkg-util.d.ts +97 -0
- package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +258 -0
- package/es/utils/transform-js/index.d.ts +1 -0
- package/es/utils/transform-js/transform-js.d.ts +13 -0
- package/es/utils/transform-js/transform-js.mjs +48 -0
- package/es/utils/transform-js/transform-js.worker.d.ts +1 -0
- package/es/views/design-view.css +218 -0
- package/es/views/design-view.d.ts +87 -0
- package/es/views/design-view.mjs +345 -0
- package/es/views/index.d.ts +1 -0
- package/package.json +30 -9
- package/es/constant/variable-type/variable-type.d.ts +0 -12
- package/es/hooks/index.mjs +0 -3
- package/es/hooks/useStyle.d.ts +0 -15
- package/es/hooks/useStyle.mjs +0 -135
- package/es/interface/controller/i-design-drag.controller.d.ts +0 -42
- package/es/interface/design-page/design-page.d.ts +0 -141
- package/es/interface/index.mjs +0 -3
- package/es/interface/props/index.d.ts +0 -1
- package/es/interface/props/index.mjs +0 -1
- package/es/interface/props/plugin-comp-props.d.ts +0 -15
- package/es/interface/state/i-design-drag.state.d.ts +0 -15
- package/es/schema/common-config/autofill-editor-config.d.ts +0 -4
- package/es/schema/common-config/autofill-editor-config.mjs +0 -45
- package/es/schema/common-config/base-button-config.d.ts +0 -45
- package/es/schema/common-config/base-button-config.mjs +0 -85
- package/es/schema/common-config/button-editor-config.d.ts +0 -14
- package/es/schema/common-config/button-editor-config.mjs +0 -142
- package/es/schema/common-config/button-props-func.d.ts +0 -5
- package/es/schema/common-config/button-props-func.mjs +0 -12
- package/es/schema/common-config/column-editor-config.d.ts +0 -3
- package/es/schema/common-config/column-editor-config.mjs +0 -29
- package/es/schema/common-config/common-style.d.ts +0 -3
- package/es/schema/common-config/common-style.mjs +0 -86
- package/es/schema/common-config/display-editor-config.d.ts +0 -3
- package/es/schema/common-config/display-editor-config.mjs +0 -67
- package/es/schema/common-config/formItem-editor-config.d.ts +0 -3
- package/es/schema/common-config/formItem-editor-config.mjs +0 -70
- package/es/schema/common-config/permission-editor-config.d.ts +0 -2
- package/es/schema/common-config/permission-editor-config.mjs +0 -16
- package/es/schema/index.d.ts +0 -9
- package/es/schema/index.mjs +0 -11
- package/es/utils/index.mjs +0 -3
- package/es/utils/message/message.d.ts +0 -14
- package/es/utils/message/message.mjs +0 -35
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 设计树项
|
|
3
|
+
*
|
|
4
|
+
* @author zhanghanrui
|
|
5
|
+
* @date 2024-08-20 10:08:36
|
|
6
|
+
* @export
|
|
7
|
+
* @interface IDesignTreeItem
|
|
8
|
+
*/
|
|
9
|
+
export interface IDesignTreeItem {
|
|
10
|
+
/**
|
|
11
|
+
* 标识
|
|
12
|
+
*
|
|
13
|
+
* @author zhanghanrui
|
|
14
|
+
* @date 2024-08-20 10:08:48
|
|
15
|
+
* @type {string}
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* 子项
|
|
20
|
+
*
|
|
21
|
+
* @author zhanghanrui
|
|
22
|
+
* @date 2024-08-20 10:08:56
|
|
23
|
+
* @type {IDesignTreeItem[]}
|
|
24
|
+
*/
|
|
25
|
+
children?: IDesignTreeItem[];
|
|
26
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { IDesignNodeData } from '../i-design-node-data';
|
|
2
|
+
import { IFieldCodeChain, IFont, TagTypeEnum } from '@gct-paas/core';
|
|
3
|
+
/**
|
|
4
|
+
* 卡片字段设计节点数据接口
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-06-18 17:06:52
|
|
8
|
+
* @export
|
|
9
|
+
* @interface IModelFieldNodeData
|
|
10
|
+
* @extends {IDesignNodeData}
|
|
11
|
+
*/
|
|
12
|
+
export interface IModelFieldNodeData extends IDesignNodeData {
|
|
13
|
+
/**
|
|
14
|
+
* 模型标识
|
|
15
|
+
*
|
|
16
|
+
* @author chitanda
|
|
17
|
+
* @date 2025-07-02 09:07:02
|
|
18
|
+
* @type {string}
|
|
19
|
+
*/
|
|
20
|
+
modelKey: string;
|
|
21
|
+
/**
|
|
22
|
+
* 模型分类
|
|
23
|
+
*
|
|
24
|
+
* @author chitanda
|
|
25
|
+
* @date 2025-07-02 09:07:07
|
|
26
|
+
* @type {string}
|
|
27
|
+
*/
|
|
28
|
+
modelCategory: string;
|
|
29
|
+
/**
|
|
30
|
+
* 字段标识
|
|
31
|
+
*
|
|
32
|
+
* @author chitanda
|
|
33
|
+
* @date 2025-06-18 19:06:47
|
|
34
|
+
* @type {string}
|
|
35
|
+
*/
|
|
36
|
+
key: string;
|
|
37
|
+
/**
|
|
38
|
+
* 字段类型
|
|
39
|
+
*
|
|
40
|
+
* @author chitanda
|
|
41
|
+
* @date 2025-06-22 11:06:03
|
|
42
|
+
* @type {string}
|
|
43
|
+
*/
|
|
44
|
+
type: string;
|
|
45
|
+
/**
|
|
46
|
+
* 字段映射类型
|
|
47
|
+
*
|
|
48
|
+
* @author chitanda
|
|
49
|
+
* @date 2025-06-22 11:06:33
|
|
50
|
+
* @type {string}
|
|
51
|
+
*/
|
|
52
|
+
mapping_type?: string;
|
|
53
|
+
/**
|
|
54
|
+
* 字段代码链,表示字段的完整路径。根据字段的层级关系进行拼接
|
|
55
|
+
*
|
|
56
|
+
* @author chitanda
|
|
57
|
+
* @date 2025-06-22 14:06:03
|
|
58
|
+
* @type {IFieldCodeChain}
|
|
59
|
+
*/
|
|
60
|
+
fieldCodeChain?: IFieldCodeChain;
|
|
61
|
+
/**
|
|
62
|
+
* 用户自定义的显示名称,未定义则使用字段的名称
|
|
63
|
+
*
|
|
64
|
+
* @author chitanda
|
|
65
|
+
* @date 2025-06-19 10:06:23
|
|
66
|
+
* @type {string}
|
|
67
|
+
*/
|
|
68
|
+
label?: string;
|
|
69
|
+
/**
|
|
70
|
+
* 字段名称
|
|
71
|
+
*
|
|
72
|
+
* @author chitanda
|
|
73
|
+
* @date 2025-06-30 11:06:27
|
|
74
|
+
* @type {string}
|
|
75
|
+
*/
|
|
76
|
+
name: string;
|
|
77
|
+
/**
|
|
78
|
+
* 是否显示标签
|
|
79
|
+
*
|
|
80
|
+
* @default true
|
|
81
|
+
* @author chitanda
|
|
82
|
+
* @date 2025-06-22 11:06:43
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
*/
|
|
85
|
+
show_label?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* 编辑器类型
|
|
88
|
+
*
|
|
89
|
+
* @author chitanda
|
|
90
|
+
* @date 2025-06-22 11:06:37
|
|
91
|
+
* @type {string}
|
|
92
|
+
*/
|
|
93
|
+
editor_type?: string;
|
|
94
|
+
/**
|
|
95
|
+
* 币种:根据编辑器类型显示
|
|
96
|
+
*
|
|
97
|
+
* @author chitanda
|
|
98
|
+
* @date 2025-06-24 14:06:00
|
|
99
|
+
* @type {string}
|
|
100
|
+
*/
|
|
101
|
+
currency?: string;
|
|
102
|
+
/**
|
|
103
|
+
* 时间类型:根据编辑器类型显示
|
|
104
|
+
*
|
|
105
|
+
* @author chitanda
|
|
106
|
+
* @date 2025-06-24 14:06:58
|
|
107
|
+
* @type {string}
|
|
108
|
+
*/
|
|
109
|
+
time_type?: string;
|
|
110
|
+
/**
|
|
111
|
+
* 格式化分割符存储的配置项
|
|
112
|
+
*
|
|
113
|
+
* @author chitanda
|
|
114
|
+
* @date 2025-06-23 19:06:21
|
|
115
|
+
* @type {string}
|
|
116
|
+
*/
|
|
117
|
+
separator?: string;
|
|
118
|
+
/**
|
|
119
|
+
* 字段格式化方式
|
|
120
|
+
*
|
|
121
|
+
* @author chitanda
|
|
122
|
+
* @date 2025-06-22 11:06:55
|
|
123
|
+
* @type {string}
|
|
124
|
+
*/
|
|
125
|
+
format?: string;
|
|
126
|
+
/**
|
|
127
|
+
* 标签字体样式配置
|
|
128
|
+
*
|
|
129
|
+
* @author chitanda
|
|
130
|
+
* @date 2025-06-24 19:06:36
|
|
131
|
+
* @type {IFont}
|
|
132
|
+
*/
|
|
133
|
+
label_font?: IFont;
|
|
134
|
+
/**
|
|
135
|
+
* 内容字体样式配置
|
|
136
|
+
*
|
|
137
|
+
* @author chitanda
|
|
138
|
+
* @date 2025-06-24 19:06:38
|
|
139
|
+
* @type {IFont}
|
|
140
|
+
*/
|
|
141
|
+
content_font?: IFont;
|
|
142
|
+
/**
|
|
143
|
+
* 标签样式配置
|
|
144
|
+
*
|
|
145
|
+
* @author chitanda
|
|
146
|
+
* @date 2025-06-24 19:06:01
|
|
147
|
+
* @type {{
|
|
148
|
+
* check: boolean;
|
|
149
|
+
* color: string;
|
|
150
|
+
* mode: TagTypeEnum;
|
|
151
|
+
* }}
|
|
152
|
+
*/
|
|
153
|
+
tag_style?: {
|
|
154
|
+
check: boolean;
|
|
155
|
+
color: string;
|
|
156
|
+
mode: TagTypeEnum;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type { IModelFieldNodeData } from './i-model-field-node-data/i-model-field-node-data';
|
|
2
|
+
export type { IDesignContainerNode } from './i-design-container-node';
|
|
3
|
+
export type { IDesignPageNodeData } from './i-design-page-node-data';
|
|
4
|
+
export type { IDesignData } from './i-design-data';
|
|
5
|
+
export type { IDesignEditorData } from './i-design-editor-data';
|
|
6
|
+
export type { IDesignEditorNode } from './i-design-editor-node';
|
|
7
|
+
export type { IDesignNodeData } from './i-design-node-data';
|
|
8
|
+
export type { IDesignNode } from './i-design-node';
|
|
9
|
+
export type { IDesignTreeItem } from './i-design-tree-item';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SyncSeriesHook } from 'qx-util';
|
|
2
|
+
import { LowCodeWidget } from '@gct-paas/schema';
|
|
3
|
+
/**
|
|
4
|
+
* 设计界面钩子接口
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @interface IDesignerHooks
|
|
8
|
+
*/
|
|
9
|
+
export interface IDesignerHooks {
|
|
10
|
+
/**
|
|
11
|
+
* 触发执行设计容器扩容展示
|
|
12
|
+
*/
|
|
13
|
+
expansion: SyncSeriesHook<[], LowCodeWidget.BasicSchema[]>;
|
|
14
|
+
/**
|
|
15
|
+
* 触发选中项重选
|
|
16
|
+
*/
|
|
17
|
+
selectHighlightChange: SyncSeriesHook<[]>;
|
|
18
|
+
/**
|
|
19
|
+
* 触发悬浮项重选
|
|
20
|
+
*/
|
|
21
|
+
hoverHighlightChange: SyncSeriesHook<[]>;
|
|
22
|
+
/**
|
|
23
|
+
* 设置选中项
|
|
24
|
+
*/
|
|
25
|
+
setSelect: SyncSeriesHook<[key: string]>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { IWidgetInfoItem } from '@gct-paas/schema';
|
|
3
|
+
/**
|
|
4
|
+
* 设计界面项
|
|
5
|
+
*
|
|
6
|
+
* @author zhanghanrui
|
|
7
|
+
* @date 2024-05-24 13:05:47
|
|
8
|
+
* @export
|
|
9
|
+
* @interface IDesignerProvider
|
|
10
|
+
*/
|
|
11
|
+
export interface IDesignerProvider extends IWidgetInfoItem {
|
|
12
|
+
/**
|
|
13
|
+
* render 绘制组件,目前只支持异步组件
|
|
14
|
+
*
|
|
15
|
+
* @author zhanghanrui
|
|
16
|
+
* @date 2024-05-24 17:05:17
|
|
17
|
+
* @type {Component}
|
|
18
|
+
*/
|
|
19
|
+
component: Component;
|
|
20
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { LowCodeWidget } from '@gct-paas/schema';
|
|
2
|
+
/**
|
|
3
|
+
* 设计器状态接口
|
|
4
|
+
*
|
|
5
|
+
* @author zhanghanrui
|
|
6
|
+
* @date 2024-05-09 14:05:44
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IDesignerState
|
|
9
|
+
*/
|
|
10
|
+
export interface IDesignerState {
|
|
11
|
+
/**
|
|
12
|
+
* 设计页面是否正在拖拽中
|
|
13
|
+
*/
|
|
14
|
+
isDragging: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 当前正在拖拽中的数据(旧拖拽)
|
|
17
|
+
*
|
|
18
|
+
* @deprecated
|
|
19
|
+
* @type {IData | null}
|
|
20
|
+
*/
|
|
21
|
+
draggingData: IData | null;
|
|
22
|
+
/**
|
|
23
|
+
* 当前鼠标容器悬浮元素(旧拖拽)
|
|
24
|
+
*
|
|
25
|
+
* @deprecated
|
|
26
|
+
* @type {(HTMLDivElement | null)}
|
|
27
|
+
*/
|
|
28
|
+
hoverEL: HTMLDivElement | null;
|
|
29
|
+
/**
|
|
30
|
+
* 拖拽放置目标容器
|
|
31
|
+
*/
|
|
32
|
+
dropContainer: LowCodeWidget.BasicSchema | null;
|
|
33
|
+
/**
|
|
34
|
+
* 需要扩张的容器列表
|
|
35
|
+
*/
|
|
36
|
+
expansionContainerList: LowCodeWidget.BasicSchema[];
|
|
37
|
+
/**
|
|
38
|
+
* 数据变更次数,主要用于复杂结构下,数据变更后的设计界面重绘
|
|
39
|
+
*/
|
|
40
|
+
count: number;
|
|
41
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { LowCodeWidget } from '@gct-paas/schema';
|
|
2
|
+
import { IDesignerHooks } from './i-designer-hooks';
|
|
3
|
+
import { IDesignerState } from './i-designer-state';
|
|
4
|
+
/**
|
|
5
|
+
* 设计界面控制器接口
|
|
6
|
+
*
|
|
7
|
+
* @author zhanghanrui
|
|
8
|
+
* @date 2024-05-09 14:05:12
|
|
9
|
+
* @export
|
|
10
|
+
* @interface IDesignerController
|
|
11
|
+
*/
|
|
12
|
+
export interface IDesignerController {
|
|
13
|
+
/**
|
|
14
|
+
* 设计界面状态
|
|
15
|
+
*
|
|
16
|
+
* @author zhanghanrui
|
|
17
|
+
* @date 2024-05-09 14:05:19
|
|
18
|
+
*/
|
|
19
|
+
readonly state: IDesignerState;
|
|
20
|
+
/**
|
|
21
|
+
* 设计界面钩子
|
|
22
|
+
*
|
|
23
|
+
* @type {IDesignerHooks}
|
|
24
|
+
*/
|
|
25
|
+
readonly hooks: IDesignerHooks;
|
|
26
|
+
/**
|
|
27
|
+
* 鼠标悬浮元素清单
|
|
28
|
+
*
|
|
29
|
+
* @author zhanghanrui
|
|
30
|
+
* @date 2024-05-10 10:05:47
|
|
31
|
+
* @type {HTMLDivElement[]}
|
|
32
|
+
*/
|
|
33
|
+
readonly hoverStack: HTMLDivElement[];
|
|
34
|
+
/**
|
|
35
|
+
* 拖拽设计区容器
|
|
36
|
+
*
|
|
37
|
+
* @author zhanghanrui
|
|
38
|
+
* @date 2024-05-10 13:05:46
|
|
39
|
+
* @type {HTMLDivElement}
|
|
40
|
+
*/
|
|
41
|
+
stageContainer: HTMLDivElement;
|
|
42
|
+
/**
|
|
43
|
+
* 拖拽展开定时器
|
|
44
|
+
*
|
|
45
|
+
* @type {(number | null)}
|
|
46
|
+
*/
|
|
47
|
+
expansionTimer: number | null;
|
|
48
|
+
/**
|
|
49
|
+
* 设置拖拽数据
|
|
50
|
+
*
|
|
51
|
+
* @author zhanghanrui
|
|
52
|
+
* @date 2024-05-09 14:05:31
|
|
53
|
+
* @param {(IData | null)} data
|
|
54
|
+
*/
|
|
55
|
+
setDragData(data: IData | null): void;
|
|
56
|
+
/**
|
|
57
|
+
* 获取当前拖拽数据
|
|
58
|
+
*
|
|
59
|
+
* @author zhanghanrui
|
|
60
|
+
* @date 2024-05-09 14:05:49
|
|
61
|
+
* @return {*} {(IData | null)}
|
|
62
|
+
*/
|
|
63
|
+
getDragData(): IData | null;
|
|
64
|
+
/**
|
|
65
|
+
* 新增鼠标悬浮堆栈
|
|
66
|
+
*
|
|
67
|
+
* @author zhanghanrui
|
|
68
|
+
* @date 2024-05-10 10:05:02
|
|
69
|
+
* @param {HTMLDivElement} el
|
|
70
|
+
*/
|
|
71
|
+
pushStack(el: HTMLDivElement): void;
|
|
72
|
+
/**
|
|
73
|
+
* 删除鼠标悬浮堆栈
|
|
74
|
+
*
|
|
75
|
+
* @author zhanghanrui
|
|
76
|
+
* @date 2024-05-08 11:05:53
|
|
77
|
+
* @param {HTMLDivElement} el
|
|
78
|
+
*/
|
|
79
|
+
popStack(el: HTMLDivElement): void;
|
|
80
|
+
/**
|
|
81
|
+
* 重置悬浮缓存
|
|
82
|
+
*
|
|
83
|
+
* @author zhanghanrui
|
|
84
|
+
* @date 2024-05-15 11:05:51
|
|
85
|
+
*/
|
|
86
|
+
resetStack(): void;
|
|
87
|
+
/**
|
|
88
|
+
* 添加展开容器
|
|
89
|
+
*
|
|
90
|
+
* @param {LowCodeWidget.BasicSchema[]} widgets
|
|
91
|
+
* @returns {*} {void}
|
|
92
|
+
*/
|
|
93
|
+
setExpansion(widgets: LowCodeWidget.BasicSchema[]): void;
|
|
94
|
+
/**
|
|
95
|
+
* 取消展开容器
|
|
96
|
+
*/
|
|
97
|
+
cancelExpansion(): void;
|
|
98
|
+
/**
|
|
99
|
+
* 强制设计界面重绘
|
|
100
|
+
*/
|
|
101
|
+
force(): void;
|
|
102
|
+
/**
|
|
103
|
+
* 重新计算选中高亮
|
|
104
|
+
*/
|
|
105
|
+
changeSelectHighlight(): void;
|
|
106
|
+
/**
|
|
107
|
+
* 重新计算悬浮高亮
|
|
108
|
+
*/
|
|
109
|
+
changeHoverHighlight(): void;
|
|
110
|
+
/**
|
|
111
|
+
* 设置选中
|
|
112
|
+
*
|
|
113
|
+
* @param {string} key
|
|
114
|
+
*/
|
|
115
|
+
setSelect(key: string): void;
|
|
116
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { IEditorBasic } from '@gct-paas/core';
|
|
2
|
+
import { DesignEditorType } from '../../../constant';
|
|
3
|
+
/**
|
|
4
|
+
* 子项编辑器
|
|
5
|
+
*
|
|
6
|
+
* @author zhanghanrui
|
|
7
|
+
* @date 2024-07-29 14:07:55
|
|
8
|
+
* @export
|
|
9
|
+
* @interface IChildListEditor
|
|
10
|
+
* @extends {IEditorBasic}
|
|
11
|
+
*/
|
|
12
|
+
export interface IChildListEditor extends IEditorBasic {
|
|
13
|
+
readonly type: DesignEditorType.CHILD_LIST_EDITOR;
|
|
14
|
+
/**
|
|
15
|
+
* 标题
|
|
16
|
+
*
|
|
17
|
+
* @author zhanghanrui
|
|
18
|
+
* @date 2024-07-29 15:07:10
|
|
19
|
+
* @type {string}
|
|
20
|
+
*/
|
|
21
|
+
title: string;
|
|
22
|
+
/**
|
|
23
|
+
* 默认激活的子数据标识
|
|
24
|
+
*
|
|
25
|
+
* @author zhanghanrui
|
|
26
|
+
* @date 2024-07-29 17:07:49
|
|
27
|
+
* @type {string}
|
|
28
|
+
*/
|
|
29
|
+
defaultSelectChildKey?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 编辑的子项,默认是 name
|
|
32
|
+
*
|
|
33
|
+
* @author zhanghanrui
|
|
34
|
+
* @date 2024-07-30 13:07:38
|
|
35
|
+
* @type {string}
|
|
36
|
+
*/
|
|
37
|
+
childEditFieldKey?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 是否可以新增
|
|
40
|
+
*
|
|
41
|
+
* @description 默认不可以新增
|
|
42
|
+
* @default true
|
|
43
|
+
* @author zhanghanrui
|
|
44
|
+
* @date 2024-07-29 14:07:21
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
*/
|
|
47
|
+
add?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* 是否允许拖拽排序
|
|
50
|
+
*
|
|
51
|
+
* @description 默认不启用拖拽排序
|
|
52
|
+
* @default false
|
|
53
|
+
* @author zhanghanrui
|
|
54
|
+
* @date 2024-07-29 15:07:20
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
*/
|
|
57
|
+
sort?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* 是否可以删除项
|
|
60
|
+
*
|
|
61
|
+
* @description 默认不启用删除
|
|
62
|
+
* @default true
|
|
63
|
+
* @author zhanghanrui
|
|
64
|
+
* @date 2024-07-29 15:07:19
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
*/
|
|
67
|
+
delete?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* 默认的编辑器
|
|
70
|
+
*
|
|
71
|
+
* @description 默认使用文本编辑器
|
|
72
|
+
* @default 'text'
|
|
73
|
+
* @author zhanghanrui
|
|
74
|
+
* @date 2024-07-29 15:07:31
|
|
75
|
+
* @type {('i18n' | 'text' | 'number')}
|
|
76
|
+
*/
|
|
77
|
+
editorType?: 'i18n' | 'text' | 'number';
|
|
78
|
+
/**
|
|
79
|
+
* 编辑器属性
|
|
80
|
+
*
|
|
81
|
+
* @author zhanghanrui
|
|
82
|
+
* @date 2024-08-01 17:08:26
|
|
83
|
+
* @type {IParams}
|
|
84
|
+
*/
|
|
85
|
+
editorProps?: IParams;
|
|
86
|
+
/**
|
|
87
|
+
* 是否允许选中项
|
|
88
|
+
*
|
|
89
|
+
* @description 默认不可以选择
|
|
90
|
+
* @default false
|
|
91
|
+
* @author zhanghanrui
|
|
92
|
+
* @date 2024-07-29 15:07:57
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
*/
|
|
95
|
+
select?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* 显示标题
|
|
98
|
+
*
|
|
99
|
+
* @description 默认不显示标题
|
|
100
|
+
* @default false
|
|
101
|
+
* @author zhanghanrui
|
|
102
|
+
* @date 2024-07-30 13:07:14
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
*/
|
|
105
|
+
showLabel?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* 子项类型
|
|
108
|
+
*
|
|
109
|
+
* @author zhanghanrui
|
|
110
|
+
* @date 2024-07-29 15:07:00
|
|
111
|
+
* @type {string}
|
|
112
|
+
*/
|
|
113
|
+
childDesignType: string;
|
|
114
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type { IChildListEditor } from './child-list-editor/child-list-editor';
|
|
2
|
+
export type { IStyleBorder } from './style-border/i-style-border';
|
|
3
|
+
export type { IStyleBorderController } from './style-border/i-style-border.controller';
|
|
4
|
+
export type { IStyleSpacing } from './style-spacing/i-style-spacing';
|
|
5
|
+
export type { IStyleSpacingController } from './style-spacing/i-style-spacing.controller';
|
|
6
|
+
export type { IStyleFont } from './style-font/i-style-font';
|
|
7
|
+
export type { IStyleFontController } from './style-font/i-style-font.controller';
|
|
8
|
+
export type { IStylePosition } from './style-position/i-style-position';
|
|
9
|
+
export type { IStylePositionController } from './style-position/i-style-position.controller';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IEditorController } from '@gct-paas/core';
|
|
2
|
+
import { IStyleBorder } from './i-style-border';
|
|
3
|
+
/**
|
|
4
|
+
* 边框编辑器控制器
|
|
5
|
+
* @author lingxiaoming
|
|
6
|
+
* @date 2024-07-17 04:35:50
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IStyleBorderController
|
|
9
|
+
* @extends {IEditorController<IStyleBorder>}
|
|
10
|
+
*/
|
|
11
|
+
export type IStyleBorderController = IEditorController<IStyleBorder>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IEditorBasic } from '@gct-paas/core';
|
|
2
|
+
import { DesignEditorType } from '../../../constant';
|
|
3
|
+
/**
|
|
4
|
+
* 边框编辑器模型
|
|
5
|
+
* @author lingxiaoming
|
|
6
|
+
* @date 2024-07-17 04:32:52
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IStyleBorder
|
|
9
|
+
* @extends {IEditorBasic}
|
|
10
|
+
*/
|
|
11
|
+
export interface IStyleBorder extends IEditorBasic {
|
|
12
|
+
readonly type: DesignEditorType.STYLE_BORDER;
|
|
13
|
+
/**
|
|
14
|
+
* 显示编辑区域(默认全显示)
|
|
15
|
+
* - radius 圆角
|
|
16
|
+
* - basics 边框线
|
|
17
|
+
* @author lingxiaoming
|
|
18
|
+
* @date 2024-07-17 06:10:19
|
|
19
|
+
* @type {(Array<'radius' | 'basics'>)}
|
|
20
|
+
*/
|
|
21
|
+
showArea?: ('radius' | 'basics')[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IEditorController } from '@gct-paas/core';
|
|
2
|
+
import { IStyleFont } from './i-style-font';
|
|
3
|
+
/**
|
|
4
|
+
* 文本样式编辑器控制器
|
|
5
|
+
* @author lingxiaoming
|
|
6
|
+
* @date 2024-07-17 04:35:50
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IStyleFontController
|
|
9
|
+
* @extends {IEditorController<IStyleFont>}
|
|
10
|
+
*/
|
|
11
|
+
export type IStyleFontController = IEditorController<IStyleFont>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IEditorBasic } from '@gct-paas/core';
|
|
2
|
+
import { DesignEditorType } from '../../../constant';
|
|
3
|
+
/**
|
|
4
|
+
* 文本样式编辑器模型
|
|
5
|
+
* @author lingxiaoming
|
|
6
|
+
* @date 2024-07-17 04:32:52
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IStyleFont
|
|
9
|
+
* @extends {IEditorBasic}
|
|
10
|
+
*/
|
|
11
|
+
export interface IStyleFont extends IEditorBasic {
|
|
12
|
+
readonly type: DesignEditorType.STYLE_FONT;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IEditorController } from '@gct-paas/core';
|
|
2
|
+
import { IStylePosition } from './i-style-position';
|
|
3
|
+
/**
|
|
4
|
+
* 定位编辑器控制器
|
|
5
|
+
* @author lingxiaoming
|
|
6
|
+
* @date 2024-07-17 04:35:50
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IStylePositionController
|
|
9
|
+
* @extends {IEditorController<IStylePosition>}
|
|
10
|
+
*/
|
|
11
|
+
export type IStylePositionController = IEditorController<IStylePosition>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IEditorBasic } from '@gct-paas/core';
|
|
2
|
+
import { DesignEditorType } from '../../../constant';
|
|
3
|
+
/**
|
|
4
|
+
* 定位编辑器模型
|
|
5
|
+
* @author lingxiaoming
|
|
6
|
+
* @date 2024-07-17 04:32:52
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IStylePosition
|
|
9
|
+
* @extends {IEditorBasic}
|
|
10
|
+
*/
|
|
11
|
+
export interface IStylePosition extends IEditorBasic {
|
|
12
|
+
readonly type: DesignEditorType.STYLE_POSITION;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IEditorController } from '@gct-paas/core';
|
|
2
|
+
import { IStyleSpacing } from './i-style-spacing';
|
|
3
|
+
/**
|
|
4
|
+
* 边距编辑器控制器
|
|
5
|
+
* @author lingxiaoming
|
|
6
|
+
* @date 2024-07-17 04:35:50
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IStyleSpacingController
|
|
9
|
+
* @extends {IEditorController<IStyleSpacing>}
|
|
10
|
+
*/
|
|
11
|
+
export type IStyleSpacingController = IEditorController<IStyleSpacing>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IEditorBasic } from '@gct-paas/core';
|
|
2
|
+
import { DesignEditorType } from '../../../constant';
|
|
3
|
+
/**
|
|
4
|
+
* 边距编辑器模型
|
|
5
|
+
* @author lingxiaoming
|
|
6
|
+
* @date 2024-07-17 04:32:52
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IStyleSpacing
|
|
9
|
+
* @extends {IEditorBasic}
|
|
10
|
+
*/
|
|
11
|
+
export interface IStyleSpacing extends IEditorBasic {
|
|
12
|
+
readonly type: DesignEditorType.STYLE_SPACING;
|
|
13
|
+
/**
|
|
14
|
+
* 显示编辑区域(默认全显示)
|
|
15
|
+
* - padding 内边距
|
|
16
|
+
* - margin 外边距
|
|
17
|
+
* @author lingxiaoming
|
|
18
|
+
* @date 2024-07-17 06:10:19
|
|
19
|
+
* @type {(Array<'padding' | 'margin'>)}
|
|
20
|
+
*/
|
|
21
|
+
showArea?: ('padding' | 'margin')[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 行为项
|
|
3
|
+
*
|
|
4
|
+
* @author zhanghanrui
|
|
5
|
+
* @date 2024-07-16 16:07:55
|
|
6
|
+
* @export
|
|
7
|
+
* @interface IDesignItemAction
|
|
8
|
+
*/
|
|
9
|
+
export interface IDesignItemAction {
|
|
10
|
+
/**
|
|
11
|
+
* 行为标识
|
|
12
|
+
*
|
|
13
|
+
* @author zhanghanrui
|
|
14
|
+
* @date 2024-07-16 16:07:00
|
|
15
|
+
* @type {string}
|
|
16
|
+
*/
|
|
17
|
+
tag: string;
|
|
18
|
+
/**
|
|
19
|
+
* 文本
|
|
20
|
+
*
|
|
21
|
+
* @author zhanghanrui
|
|
22
|
+
* @date 2024-07-16 16:07:07
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
label?: string;
|
|
26
|
+
/**
|
|
27
|
+
* 提示
|
|
28
|
+
*
|
|
29
|
+
* @author zhanghanrui
|
|
30
|
+
* @date 2024-07-16 16:07:11
|
|
31
|
+
* @type {string}
|
|
32
|
+
*/
|
|
33
|
+
tooltip?: string;
|
|
34
|
+
/**
|
|
35
|
+
* 图标(目前只支持 iconfont)
|
|
36
|
+
*
|
|
37
|
+
* @author zhanghanrui
|
|
38
|
+
* @date 2024-07-16 16:07:15
|
|
39
|
+
* @type {string}
|
|
40
|
+
*/
|
|
41
|
+
icon?: string;
|
|
42
|
+
}
|