@gct-paas/design 0.1.4-dev.1 → 0.1.4-dev.10
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-CeYFqnkk.js +638 -0
- package/dist/index.esm.min.mjs +25829 -0
- 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-D2HSS5w_.js +270718 -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 +297 -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 +221 -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 +179 -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 +71 -2
- 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 +2569 -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 +1991 -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 +1470 -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 +400 -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 +3119 -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/index.d.ts +12 -4
- package/es/index.mjs +113 -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 +32 -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 +32 -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 +32 -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 +36 -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 +10 -24
- 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/formula-editor-design/formula-editor-design.d.ts +9 -0
- package/es/utils/formula-editor-design/formula-editor-design.mjs +45 -0
- package/es/utils/index.d.ts +10 -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 +346 -0
- package/es/views/index.d.ts +1 -0
- package/package.json +31 -10
- package/es/constant/variable-type/variable-type.d.ts +0 -12
- package/es/constant/variable-type/variable-type.mjs +0 -13
- 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/controller/i-design-drag.controller.mjs +0 -1
- package/es/interface/controller/i-design-view.controller.mjs +0 -1
- package/es/interface/design-page/design-page.d.ts +0 -141
- package/es/interface/design-page/design-page.mjs +0 -1
- package/es/interface/i-drag-collect/i-drag-collect.mjs +0 -1
- package/es/interface/i-drag-data-item/i-drag-data-item.mjs +0 -1
- package/es/interface/i-drag-item/i-drag-item.mjs +0 -1
- package/es/interface/i-drop-collect/i-drop-collect.mjs +0 -1
- package/es/interface/i-drop-result/i-drop-result.mjs +0 -1
- 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/props/plugin-comp-props.mjs +0 -1
- package/es/interface/state/i-design-drag.state.d.ts +0 -15
- package/es/interface/state/i-design-drag.state.mjs +0 -1
- package/es/interface/state/i-design-view.state.mjs +0 -1
- 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
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { ButtonSize, ButtonType, ButtonStyle, PropGroup } from '@gct-paas/core';
|
|
2
|
-
import { displayProps } from './display-editor-config.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
const baseBtnProp = {
|
|
6
|
-
disabled: false,
|
|
7
|
-
icon: "icon-park:all-application",
|
|
8
|
-
iconColor: "",
|
|
9
|
-
/**标题 */
|
|
10
|
-
title: "${sys.pageDesigner.button}",
|
|
11
|
-
buttonStyle: ButtonStyle.ORDINARY,
|
|
12
|
-
/**二次确认 */
|
|
13
|
-
confirm: false,
|
|
14
|
-
confirmText: "",
|
|
15
|
-
// /**内置事件 */
|
|
16
|
-
// innerEvent: true,
|
|
17
|
-
/**系统事件类型 */
|
|
18
|
-
// sysMethedType: undefined,
|
|
19
|
-
// linkPage: '',
|
|
20
|
-
/**事件名称 */
|
|
21
|
-
// eventName: '',
|
|
22
|
-
hasIcon: false,
|
|
23
|
-
hasText: true,
|
|
24
|
-
type: ButtonType.PRIMARY,
|
|
25
|
-
danger: false,
|
|
26
|
-
size: ButtonSize.DEFAULT,
|
|
27
|
-
enableCustomColor: false,
|
|
28
|
-
backgroundColor: "",
|
|
29
|
-
fontColor: "",
|
|
30
|
-
...displayProps
|
|
31
|
-
};
|
|
32
|
-
const baseBtnEditor = [
|
|
33
|
-
{
|
|
34
|
-
component: "text-editor",
|
|
35
|
-
name: "title",
|
|
36
|
-
label: "sys.pageDesigner.buttonName",
|
|
37
|
-
group: PropGroup.BASIC,
|
|
38
|
-
_config: {
|
|
39
|
-
i18n: true,
|
|
40
|
-
showCount: true,
|
|
41
|
-
maxlength: 32
|
|
42
|
-
},
|
|
43
|
-
changeCallback: (widget, val) => {
|
|
44
|
-
widget.alias = val;
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
component: "button-type-editor",
|
|
49
|
-
name: {
|
|
50
|
-
type: "type",
|
|
51
|
-
danger: "danger",
|
|
52
|
-
icon: "icon",
|
|
53
|
-
label: "label",
|
|
54
|
-
hasText: "hasText",
|
|
55
|
-
hasIcon: "hasIcon"
|
|
56
|
-
},
|
|
57
|
-
label: "sys.pageDesigner.buttonType",
|
|
58
|
-
group: PropGroup.BUTTON
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
component: "icon-editor",
|
|
62
|
-
name: { icon: "icon", iconColor: "iconColor" },
|
|
63
|
-
label: "sys.pageDesigner.buttonIcon",
|
|
64
|
-
group: PropGroup.BUTTON,
|
|
65
|
-
// _config: {
|
|
66
|
-
// showColor: true,
|
|
67
|
-
// },
|
|
68
|
-
hidden: (widget) => {
|
|
69
|
-
return !widget.props.hasIcon;
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
component: "radio-bgc-editor",
|
|
74
|
-
name: "size",
|
|
75
|
-
label: "sys.pageDesigner.buttonSize",
|
|
76
|
-
group: PropGroup.BUTTON,
|
|
77
|
-
_config: {
|
|
78
|
-
options: Object.values(ButtonSize).map((i) => {
|
|
79
|
-
return { value: i, label: "sys.pageDesigner." + i };
|
|
80
|
-
})
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
];
|
|
84
|
-
|
|
85
|
-
export { baseBtnEditor, baseBtnProp };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ButtonColorType, ButtonColorTheme, ButtonStyle, LowCodeWidget } from '@gct-paas/core';
|
|
2
|
-
export declare const buttonProps: {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
buttonTheme: ButtonColorTheme;
|
|
5
|
-
buttonType: ButtonColorType;
|
|
6
|
-
icon: string;
|
|
7
|
-
iconColor: string;
|
|
8
|
-
buttonStyle: ButtonStyle;
|
|
9
|
-
enableCustomColor: boolean;
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
fontColor: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const buttonEditor: LowCodeWidget.PropEditor[];
|
|
14
|
-
export declare const buttonStyleEditor: LowCodeWidget.StyleEditor[];
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { ButtonStyle, ButtonColorType, ButtonColorTheme, PropGroup, ButtonSize, StyleGroup } from '@gct-paas/core';
|
|
2
|
-
import { hiddenButtonProps } from './button-props-func.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
const buttonProps = {
|
|
6
|
-
disabled: false,
|
|
7
|
-
buttonTheme: ButtonColorTheme.DEFAULT,
|
|
8
|
-
buttonType: ButtonColorType.DEFAULT,
|
|
9
|
-
icon: "",
|
|
10
|
-
iconColor: "",
|
|
11
|
-
buttonStyle: ButtonStyle.ORDINARY,
|
|
12
|
-
enableCustomColor: false,
|
|
13
|
-
backgroundColor: "",
|
|
14
|
-
fontColor: ""
|
|
15
|
-
};
|
|
16
|
-
const buttonEditor = [
|
|
17
|
-
{
|
|
18
|
-
component: "button-type-editor",
|
|
19
|
-
name: {
|
|
20
|
-
type: "type",
|
|
21
|
-
danger: "danger",
|
|
22
|
-
icon: "icon",
|
|
23
|
-
label: "label",
|
|
24
|
-
hasText: "hasText",
|
|
25
|
-
hasIcon: "hasIcon"
|
|
26
|
-
},
|
|
27
|
-
label: "sys.pageDesigner.buttonType",
|
|
28
|
-
group: PropGroup.ButtonStyle,
|
|
29
|
-
hidden: (widget) => {
|
|
30
|
-
return hiddenButtonProps(widget);
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
component: "icon-editor",
|
|
35
|
-
name: { icon: "icon", iconColor: "iconColor" },
|
|
36
|
-
label: "sys.pageDesigner.buttonIcon",
|
|
37
|
-
group: PropGroup.ButtonStyle,
|
|
38
|
-
hidden: (widget) => {
|
|
39
|
-
return !widget.props.hasIcon || hiddenButtonProps(widget);
|
|
40
|
-
},
|
|
41
|
-
_config: {
|
|
42
|
-
clearable: false
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
component: "switch-editor",
|
|
47
|
-
name: "enableCustomColor",
|
|
48
|
-
label: "sys.pageDesigner.customBtnColor",
|
|
49
|
-
group: PropGroup.ButtonStyle,
|
|
50
|
-
hidden: (widget) => {
|
|
51
|
-
return hiddenButtonProps(widget);
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
component: "button-color-editor",
|
|
56
|
-
name: "fontColor",
|
|
57
|
-
label: "sys.pageDesigner.buttonNameColor",
|
|
58
|
-
group: PropGroup.ButtonStyle,
|
|
59
|
-
_config: {
|
|
60
|
-
isInRow: true
|
|
61
|
-
},
|
|
62
|
-
hidden: (widget) => {
|
|
63
|
-
return !widget.props.enableCustomColor;
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
component: "button-color-editor",
|
|
68
|
-
name: "backgroundColor",
|
|
69
|
-
label: "sys.pageDesigner.buttonStyleColor",
|
|
70
|
-
group: PropGroup.ButtonStyle,
|
|
71
|
-
_config: {
|
|
72
|
-
isInRow: true
|
|
73
|
-
},
|
|
74
|
-
hidden: (widget) => {
|
|
75
|
-
return !widget.props.enableCustomColor || widget.props.type === "link";
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
component: "radio-bgc-editor",
|
|
80
|
-
name: "size",
|
|
81
|
-
label: "sys.pageDesigner.buttonSize",
|
|
82
|
-
group: PropGroup.ButtonStyle,
|
|
83
|
-
hidden: (widget) => {
|
|
84
|
-
return !!widget;
|
|
85
|
-
},
|
|
86
|
-
_config: {
|
|
87
|
-
options: Object.values(ButtonSize).map((i) => {
|
|
88
|
-
return { value: i, label: "sys.pageDesigner." + i };
|
|
89
|
-
})
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
component: "switch-editor",
|
|
94
|
-
name: "confirm",
|
|
95
|
-
label: "sys.pageDesigner.confirm",
|
|
96
|
-
group: PropGroup.ButtonStyle,
|
|
97
|
-
hidden: (widget) => {
|
|
98
|
-
return hiddenButtonProps(widget);
|
|
99
|
-
},
|
|
100
|
-
_config: {
|
|
101
|
-
tooltip: "sys.pageDesigner.buttonConfirm"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
component: "texteare-editor",
|
|
106
|
-
name: "confirmText",
|
|
107
|
-
label: "sys.pageDesigner.regHint",
|
|
108
|
-
group: PropGroup.ButtonStyle,
|
|
109
|
-
_config: {
|
|
110
|
-
i18n: true,
|
|
111
|
-
placeholder: "sys.pageDesigner.confirmTodo"
|
|
112
|
-
},
|
|
113
|
-
hidden: (widget) => {
|
|
114
|
-
return !widget.props.confirm || hiddenButtonProps(widget);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
];
|
|
118
|
-
const buttonStyleEditor = [
|
|
119
|
-
{
|
|
120
|
-
component: "position-editor",
|
|
121
|
-
name: "position",
|
|
122
|
-
label: "sys.pageDesigner.position",
|
|
123
|
-
group: StyleGroup.LAYOUT,
|
|
124
|
-
// 按钮容器中的按钮不需要样式属性
|
|
125
|
-
hidden: (widget) => {
|
|
126
|
-
return !!widget.props.parentWidgetId || !!widget.preLocation;
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
component: "margin-editor",
|
|
131
|
-
group: StyleGroup.MARGIN,
|
|
132
|
-
// 按钮容器中的按钮不需要样式属性
|
|
133
|
-
hidden: (widget) => {
|
|
134
|
-
return !!widget.props.parentWidgetId || !!widget.preLocation;
|
|
135
|
-
},
|
|
136
|
-
_config: {
|
|
137
|
-
hiddenMarginOrPadding: "padding"
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
];
|
|
141
|
-
|
|
142
|
-
export { buttonEditor, buttonProps, buttonStyleEditor };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
function hiddenButtonProps(widget) {
|
|
3
|
-
if (Object.prototype.hasOwnProperty.call(widget.props, "model")) {
|
|
4
|
-
return !widget.props.model;
|
|
5
|
-
}
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(widget.props, "refForm")) {
|
|
7
|
-
return !widget.props.refForm;
|
|
8
|
-
}
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { hiddenButtonProps };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { fixedAlignENUM, PropGroup } from '@gct-paas/core';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
const fixedAlignEditor = [
|
|
5
|
-
{
|
|
6
|
-
component: "radio-icon-editor",
|
|
7
|
-
name: "fixedAlign",
|
|
8
|
-
label: "sys.pageDesigner.columnFixed",
|
|
9
|
-
group: PropGroup.SHOW,
|
|
10
|
-
_config: {
|
|
11
|
-
options: [
|
|
12
|
-
{
|
|
13
|
-
label: "sys.pageDesigner.left",
|
|
14
|
-
value: fixedAlignENUM.LEFT
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
label: "sys.pageDesigner.none",
|
|
18
|
-
value: fixedAlignENUM.NONE
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
label: "sys.pageDesigner.right",
|
|
22
|
-
value: fixedAlignENUM.RIGHT
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
export { fixedAlignEditor };
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { BorderStyle, TagTypeEnum, TextDecoration } from '@gct-paas/core';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
const style = {
|
|
5
|
-
position: "",
|
|
6
|
-
top: "",
|
|
7
|
-
left: "",
|
|
8
|
-
right: "",
|
|
9
|
-
bottom: "",
|
|
10
|
-
width: "",
|
|
11
|
-
height: "",
|
|
12
|
-
backgroundColor: "",
|
|
13
|
-
marginAll: "",
|
|
14
|
-
marginTop: "",
|
|
15
|
-
marginRight: "",
|
|
16
|
-
marginBottom: "",
|
|
17
|
-
marginLeft: "",
|
|
18
|
-
paddingAll: "",
|
|
19
|
-
paddingTop: "",
|
|
20
|
-
paddingRight: "",
|
|
21
|
-
paddingBottom: "",
|
|
22
|
-
paddingLeft: "",
|
|
23
|
-
labelFont: {
|
|
24
|
-
align: "left",
|
|
25
|
-
fontSize: "",
|
|
26
|
-
bold: false,
|
|
27
|
-
italic: false,
|
|
28
|
-
textDecoration: TextDecoration.NONE,
|
|
29
|
-
color: ""
|
|
30
|
-
},
|
|
31
|
-
contentFont: {
|
|
32
|
-
align: "left",
|
|
33
|
-
fontSize: "",
|
|
34
|
-
bold: false,
|
|
35
|
-
italic: false,
|
|
36
|
-
textDecoration: TextDecoration.NONE,
|
|
37
|
-
color: ""
|
|
38
|
-
},
|
|
39
|
-
tagStyle: {
|
|
40
|
-
color: "",
|
|
41
|
-
tagType: TagTypeEnum.RADIUS
|
|
42
|
-
},
|
|
43
|
-
tagStyleOpen: false,
|
|
44
|
-
borderAll: {
|
|
45
|
-
borderStyle: BorderStyle.NONE,
|
|
46
|
-
borderColor: "#F0F0F0",
|
|
47
|
-
borderWidth: "1"
|
|
48
|
-
},
|
|
49
|
-
borderLeft: {
|
|
50
|
-
borderStyle: BorderStyle.NONE,
|
|
51
|
-
borderColor: "#F0F0F0",
|
|
52
|
-
borderWidth: "1"
|
|
53
|
-
},
|
|
54
|
-
borderRight: {
|
|
55
|
-
borderStyle: BorderStyle.NONE,
|
|
56
|
-
borderColor: "#F0F0F0",
|
|
57
|
-
borderWidth: "1"
|
|
58
|
-
},
|
|
59
|
-
borderBottom: {
|
|
60
|
-
borderStyle: BorderStyle.NONE,
|
|
61
|
-
borderColor: "#F0F0F0",
|
|
62
|
-
borderWidth: "1"
|
|
63
|
-
},
|
|
64
|
-
borderTop: {
|
|
65
|
-
borderStyle: BorderStyle.NONE,
|
|
66
|
-
borderColor: "#F0F0F0",
|
|
67
|
-
borderWidth: "1"
|
|
68
|
-
},
|
|
69
|
-
borderTopRightRadius: "0",
|
|
70
|
-
borderTopLeftRadius: "0",
|
|
71
|
-
borderBottomRightRadius: "0",
|
|
72
|
-
borderBottomLeftRadius: "0",
|
|
73
|
-
borderAllRadius: "0"
|
|
74
|
-
};
|
|
75
|
-
const notNeedPxStyle = [
|
|
76
|
-
"position",
|
|
77
|
-
"backgroundColor",
|
|
78
|
-
"bold",
|
|
79
|
-
"italic",
|
|
80
|
-
"textDecoration",
|
|
81
|
-
"color",
|
|
82
|
-
"borderStyle",
|
|
83
|
-
"borderColor"
|
|
84
|
-
];
|
|
85
|
-
|
|
86
|
-
export { notNeedPxStyle, style };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Dependency_ENUM, ASSIGNMENTSTRATEGY_ENUM, PropGroup, MaterialEnum, FormComponents, FIELD_TYPE } from '@gct-paas/core';
|
|
2
|
-
import { hiddenButtonProps } from './button-props-func.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
const displayProps = {
|
|
6
|
-
////显隐配置start
|
|
7
|
-
hidden: false,
|
|
8
|
-
// displayType: DisplayType.CONFIG,
|
|
9
|
-
// displayRule: '',
|
|
10
|
-
componentDependency: {
|
|
11
|
-
sortDependency: [],
|
|
12
|
-
configDependency: {
|
|
13
|
-
/**隐藏 */
|
|
14
|
-
[Dependency_ENUM.HIDDEN]: {
|
|
15
|
-
expression: ""
|
|
16
|
-
},
|
|
17
|
-
/**只读 */
|
|
18
|
-
[Dependency_ENUM.READONLY]: {
|
|
19
|
-
expression: ""
|
|
20
|
-
},
|
|
21
|
-
/**禁用 */
|
|
22
|
-
[Dependency_ENUM.DISABLED]: {
|
|
23
|
-
expression: ""
|
|
24
|
-
},
|
|
25
|
-
/**必填 */
|
|
26
|
-
[Dependency_ENUM.REQUIRED]: {
|
|
27
|
-
expression: ""
|
|
28
|
-
},
|
|
29
|
-
[Dependency_ENUM.ASSIGNMENT]: {
|
|
30
|
-
expression: "",
|
|
31
|
-
strategy: ASSIGNMENTSTRATEGY_ENUM.alwaysCover
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
const displayEditor = [
|
|
37
|
-
{
|
|
38
|
-
component: "dependency-editor",
|
|
39
|
-
name: "componentDependency",
|
|
40
|
-
label: "",
|
|
41
|
-
group: PropGroup.COMPONENTDEPENDENCY,
|
|
42
|
-
hidden: (widget) => {
|
|
43
|
-
if (widget.materialType === MaterialEnum.MaterialEmbedTableField) {
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
if (widget.type === FormComponents.Form && widget.preLocation) {
|
|
47
|
-
return true;
|
|
48
|
-
}
|
|
49
|
-
return hiddenButtonProps(widget);
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
component: "switch-editor",
|
|
54
|
-
name: "notSubmitInHide",
|
|
55
|
-
label: "sys.pageDesigner.submitWhenHidden",
|
|
56
|
-
group: PropGroup.FIELD_CONFIG,
|
|
57
|
-
hidden(widget) {
|
|
58
|
-
return !widget.isField || !widget.props.field || !!widget.props.bindFieldKey || !!widget.props.fieldReadonly || widget.materialType === MaterialEnum.cardListFormField || [
|
|
59
|
-
FIELD_TYPE.EXPRESSION_CONDITION,
|
|
60
|
-
FIELD_TYPE.SERIALRULE,
|
|
61
|
-
FIELD_TYPE.LABEL_TEMPLATE
|
|
62
|
-
].includes(widget.props.fieldType);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
];
|
|
66
|
-
|
|
67
|
-
export { displayEditor, displayProps };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { PropGroup, Platform } from '@gct-paas/core';
|
|
2
|
-
import { displayProps, displayEditor } from './display-editor-config.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
const formItemProps = {
|
|
6
|
-
field: "",
|
|
7
|
-
fieldId: "",
|
|
8
|
-
label: "",
|
|
9
|
-
modelKey: "",
|
|
10
|
-
fieldType: void 0,
|
|
11
|
-
bindModelKey: void 0,
|
|
12
|
-
disabled: false,
|
|
13
|
-
explain: "",
|
|
14
|
-
showExplain: false,
|
|
15
|
-
displayLabelText: true,
|
|
16
|
-
readonly: false,
|
|
17
|
-
fieldReadonly: false,
|
|
18
|
-
notSubmitInHide: true,
|
|
19
|
-
...displayProps
|
|
20
|
-
};
|
|
21
|
-
const formItemDisplayEditor = [
|
|
22
|
-
{
|
|
23
|
-
component: "switch-editor",
|
|
24
|
-
name: "showExplain",
|
|
25
|
-
label: "sys.pageDesigner.explain",
|
|
26
|
-
group: PropGroup.BASIC,
|
|
27
|
-
hidden: (widget) => {
|
|
28
|
-
return widget.platform === Platform.MOBILE;
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
component: "texteare-editor",
|
|
33
|
-
name: "explain",
|
|
34
|
-
label: "",
|
|
35
|
-
group: PropGroup.BASIC,
|
|
36
|
-
hidden: (widget) => {
|
|
37
|
-
return !widget.props.showExplain;
|
|
38
|
-
},
|
|
39
|
-
_config: {
|
|
40
|
-
i18n: true
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
component: "switch-editor",
|
|
45
|
-
name: "displayLabelText",
|
|
46
|
-
label: "sys.pageDesigner.displayLabelText",
|
|
47
|
-
group: PropGroup.ADVANCED
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
component: "switch-editor",
|
|
51
|
-
name: "disabled",
|
|
52
|
-
label: "sys.pageDesigner.disabled",
|
|
53
|
-
group: PropGroup.ADVANCED
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
component: "switch-editor",
|
|
57
|
-
name: "readonly",
|
|
58
|
-
label: "sys.pageDesigner.readonly",
|
|
59
|
-
group: PropGroup.ADVANCED
|
|
60
|
-
},
|
|
61
|
-
...displayEditor
|
|
62
|
-
// {
|
|
63
|
-
// component: 'switch-editor',
|
|
64
|
-
// name: 'notSubmitInHide',
|
|
65
|
-
// label: 'sys.pageDesigner.notSubmitInHide',
|
|
66
|
-
// group: PropGroup.DISPLAY,
|
|
67
|
-
// },
|
|
68
|
-
];
|
|
69
|
-
|
|
70
|
-
export { formItemDisplayEditor, formItemProps };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PropGroup } from '@gct-paas/core';
|
|
2
|
-
import { hiddenButtonProps } from './button-props-func.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
const permissionEditor = [
|
|
6
|
-
{
|
|
7
|
-
component: "permission-editor",
|
|
8
|
-
label: "",
|
|
9
|
-
group: PropGroup.PERMISSION,
|
|
10
|
-
hidden: (widget) => {
|
|
11
|
-
return hiddenButtonProps(widget);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
];
|
|
15
|
-
|
|
16
|
-
export { permissionEditor };
|
package/es/schema/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { getAutofillEditor } from './common-config/autofill-editor-config';
|
|
2
|
-
export { baseBtnEditor, baseBtnProp } from './common-config/base-button-config';
|
|
3
|
-
export { buttonEditor, buttonProps, buttonStyleEditor, } from './common-config/button-editor-config';
|
|
4
|
-
export { hiddenButtonProps } from './common-config/button-props-func';
|
|
5
|
-
export { fixedAlignEditor } from './common-config/column-editor-config';
|
|
6
|
-
export { style, notNeedPxStyle } from './common-config/common-style';
|
|
7
|
-
export { displayEditor, displayProps, } from './common-config/display-editor-config';
|
|
8
|
-
export { formItemProps, formItemDisplayEditor, } from './common-config/formItem-editor-config';
|
|
9
|
-
export { permissionEditor } from './common-config/permission-editor-config';
|
package/es/schema/index.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { getAutofillEditor } from './common-config/autofill-editor-config.mjs';
|
|
2
|
-
export { baseBtnEditor, baseBtnProp } from './common-config/base-button-config.mjs';
|
|
3
|
-
export { buttonEditor, buttonProps, buttonStyleEditor } from './common-config/button-editor-config.mjs';
|
|
4
|
-
export { hiddenButtonProps } from './common-config/button-props-func.mjs';
|
|
5
|
-
export { fixedAlignEditor } from './common-config/column-editor-config.mjs';
|
|
6
|
-
export { notNeedPxStyle, style } from './common-config/common-style.mjs';
|
|
7
|
-
export { displayEditor, displayProps } from './common-config/display-editor-config.mjs';
|
|
8
|
-
export { formItemDisplayEditor, formItemProps } from './common-config/formItem-editor-config.mjs';
|
|
9
|
-
export { permissionEditor } from './common-config/permission-editor-config.mjs';
|
|
10
|
-
|
|
11
|
-
"use strict";
|
package/es/utils/index.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IMessageUtil } from '@gct-paas/core';
|
|
2
|
-
/**
|
|
3
|
-
* 消息提示工具
|
|
4
|
-
*
|
|
5
|
-
* @export
|
|
6
|
-
* @class MessageUtil
|
|
7
|
-
* @implements {IMessageUtil}
|
|
8
|
-
*/
|
|
9
|
-
export declare class MessageUtil implements IMessageUtil {
|
|
10
|
-
info(msg: string, duration?: number): Promise<void>;
|
|
11
|
-
success(msg: string, duration?: number): Promise<void>;
|
|
12
|
-
warning(msg: string, duration?: number): Promise<void>;
|
|
13
|
-
error(msg: string, duration?: number): Promise<void>;
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { message } from 'ant-design-vue';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
class MessageUtil {
|
|
5
|
-
info(msg, duration) {
|
|
6
|
-
return new Promise((resolve) => {
|
|
7
|
-
message.info(msg, duration, () => {
|
|
8
|
-
resolve();
|
|
9
|
-
});
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
success(msg, duration) {
|
|
13
|
-
return new Promise((resolve) => {
|
|
14
|
-
message.success(msg, duration, () => {
|
|
15
|
-
resolve();
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
warning(msg, duration) {
|
|
20
|
-
return new Promise((resolve) => {
|
|
21
|
-
message.warning(msg, duration, () => {
|
|
22
|
-
resolve();
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
error(msg, duration) {
|
|
27
|
-
return new Promise((resolve) => {
|
|
28
|
-
message.error(msg, duration, () => {
|
|
29
|
-
resolve();
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export { MessageUtil };
|