@gct-paas/core-web 0.1.4-dev.10 → 0.1.4-dev.11
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/index-B8zoAUhR.cjs +20 -0
- package/dist/index-BH5PTZ_c.js +20 -0
- package/dist/index-Cna4DZog.js +109381 -0
- package/dist/index.esm.min.mjs +89 -39
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/monaco-editor-4E2xdOou.cjs +1 -0
- package/dist/monaco-editor-C-wvzgow.js +1 -0
- package/dist/monaco-editor-Cel355Cg.js +350 -0
- package/es/ai-components/code-chat/code-chat.d.ts +53 -0
- package/es/ai-components/index.d.ts +1 -0
- package/es/ai-components/wujie-ai-container/wujie-ai-container.d.ts +21 -0
- package/es/components/base-button/base-button.vue.d.ts +5 -5
- package/es/components/basic-button/basic-button.vue.d.ts +2 -2
- package/es/components/code-editor/code-editor.d.ts +1 -1
- package/es/components/double-input/double-input.vue.mjs +1 -1
- package/es/components/icon-next/data/icons.data.d.ts +5 -0
- package/es/components/icon-next/hooks/useIconAsset.d.ts +16 -0
- package/es/components/icon-next/hooks/useIconAsset.mjs +48 -0
- package/es/components/icon-next/hooks/useIconPark.d.ts +16 -0
- package/es/components/icon-next/hooks/useIconPark.mjs +52 -0
- package/es/components/icon-next/hooks/useIconPlatform.d.ts +8 -0
- package/es/components/icon-next/hooks/useIconPlatform.mjs +48 -0
- package/es/components/icon-next/index.d.ts +3 -0
- package/es/components/icon-next/src/IconNext.css +18 -0
- package/es/components/icon-next/src/IconNext.vue.d.ts +40 -0
- package/es/components/icon-next/src/IconNext.vue2.mjs +7 -0
- package/es/components/icon-next/src/IconNext.vue3.mjs +108 -0
- package/es/components/icon-next/src/IconNextPicker.css +195 -0
- package/es/components/icon-next/src/IconNextPicker.vue.d.ts +75 -0
- package/es/components/icon-next/src/IconNextPicker.vue2.mjs +452 -0
- package/es/components/icon-next/src/IconNextPicker.vue3.mjs +6 -0
- package/es/components/icon-next/types/index.d.ts +17 -0
- package/es/components/icon-next/types/index.mjs +10 -0
- package/es/components/index.d.ts +0 -3
- package/es/components/index.mjs +10 -2
- package/es/components/svg-icon/svg-icon.vue.d.ts +1 -1
- package/es/create-app-vue.mjs +5 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/useDesign.d.ts +4 -0
- package/es/hooks/useDesign.mjs +11 -0
- package/es/index.d.ts +3 -0
- package/es/index.mjs +102 -5
- package/es/modules/Cropper/hooks/useFile.d.ts +4 -0
- package/es/modules/Cropper/index.d.ts +5 -0
- package/es/modules/Cropper/src/CopperFreeModal.vue.d.ts +100 -0
- package/es/modules/Cropper/src/CopperModal.vue.d.ts +40 -0
- package/es/modules/Cropper/src/Cropper.vue.d.ts +96 -0
- package/es/modules/Cropper/src/CropperAvatar.vue.d.ts +62 -0
- package/es/modules/Cropper/src/CropperFree.vue.d.ts +118 -0
- package/es/modules/Cropper/src/typing.d.ts +11 -0
- package/es/modules/code-editor/index.d.ts +11 -11
- package/es/modules/code-editor/monaco-editor.vue.d.ts +4 -4
- package/es/modules/color-picker/src/ColorPicker.vue.d.ts +1 -1
- package/es/modules/formula-editor/formula-editor.mjs +11 -4
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.d.ts +1 -1
- package/es/modules/gct-form/constants/editor-register/editor-register.d.ts +14 -0
- package/es/modules/gct-form/constants/editor-register/editor-register.mjs +6 -0
- package/es/modules/gct-form/constants/editor-type/editor-type.d.ts +130 -0
- package/es/modules/gct-form/constants/editor-type/editor-type.mjs +35 -0
- package/es/modules/gct-form/constants/index.d.ts +3 -0
- package/es/modules/gct-form/constants/index.mjs +3 -0
- package/es/modules/gct-form/controller/edit-form/edit-form.controller.d.ts +42 -0
- package/es/modules/gct-form/controller/edit-form/edit-form.controller.mjs +72 -0
- package/es/modules/gct-form/controller/editor-item/editor-item.controller.d.ts +15 -0
- package/es/modules/gct-form/controller/editor-item/editor-item.controller.mjs +23 -0
- package/es/modules/gct-form/controller/form/form.controller.d.ts +68 -0
- package/es/modules/gct-form/controller/form-collapse/form-collapse.controller.d.ts +18 -0
- package/es/modules/gct-form/controller/form-collapse/form-collapse.controller.mjs +11 -0
- package/es/modules/gct-form/controller/form-collapse-pane/form-collapse-pane.controller.d.ts +18 -0
- package/es/modules/gct-form/controller/form-collapse-pane/form-collapse-pane.controller.mjs +11 -0
- package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.d.ts +27 -0
- package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.mjs +94 -0
- package/es/modules/gct-form/controller/form-group/form-group.controller.d.ts +18 -0
- package/es/modules/gct-form/controller/form-group/form-group.controller.mjs +11 -0
- package/es/modules/gct-form/controller/form-item/form-item.controller.d.ts +21 -0
- package/es/modules/gct-form/controller/form-item/form-item.controller.mjs +37 -0
- package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.d.ts +57 -0
- package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.mjs +45 -0
- package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.d.ts +17 -0
- package/es/modules/gct-form/controller/form-item-hidden/form-item-hidden.controller.mjs +7 -0
- package/es/modules/gct-form/controller/form-line/form-line.controller.d.ts +18 -0
- package/es/modules/gct-form/controller/form-line/form-line.controller.mjs +11 -0
- package/es/modules/gct-form/controller/form-tab/form-tab.controller.d.ts +18 -0
- package/es/modules/gct-form/controller/form-tab/form-tab.controller.mjs +11 -0
- package/es/modules/gct-form/controller/form-tab-pane/form-tab-pane.controller.d.ts +18 -0
- package/es/modules/gct-form/controller/form-tab-pane/form-tab-pane.controller.mjs +11 -0
- package/es/modules/gct-form/controller/gct-form/gct-form.controller.d.ts +101 -0
- package/es/modules/gct-form/controller/gct-form/gct-form.controller.mjs +224 -0
- package/es/modules/gct-form/controller/index.d.ts +13 -0
- package/es/modules/gct-form/editor/gct-form-action/gct-form-action.d.ts +39 -0
- package/es/modules/gct-form/editor/gct-form-action/gct-form-action.mjs +50 -0
- package/es/modules/gct-form/editor/gct-form-action/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-action/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.css +86 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/gct-form-check-switch.d.ts +7 -2
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.mjs +59 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/gct-form-check-switch.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-check-switch/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.css +108 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-checkbox/gct-form-checkbox.d.ts +19 -5
- package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.mjs +127 -0
- package/es/{editor/gct-form-icon-select → modules/gct-form/editor/gct-form-checkbox}/index.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-checkbox/index.mjs +14 -0
- package/es/{components/layout/flex-container/flex-container.css → modules/gct-form/editor/gct-form-color/gct-form-color.css} +2 -2
- package/es/modules/gct-form/editor/gct-form-color/gct-form-color.d.ts +36 -0
- package/es/modules/gct-form/editor/gct-form-color/gct-form-color.mjs +44 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-color/gct-form-color.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-color/gct-form-color.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-color/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-form-date/gct-form-date.d.ts +286 -0
- package/es/modules/gct-form/editor/gct-form-date/gct-form-date.mjs +81 -0
- package/es/modules/gct-form/editor/gct-form-date/gct-form-date.provider.d.ts +11 -0
- package/es/modules/gct-form/editor/gct-form-date/gct-form-date.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-date/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.css +77 -0
- package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.d.ts +111 -0
- package/es/modules/gct-form/editor/gct-form-date-format-select/gct-form-date-format-select.mjs +113 -0
- package/es/{editor/gct-form-info → modules/gct-form/editor/gct-form-date-format-select}/index.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-date-format-select/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.d.ts +2 -0
- package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.mjs +16 -0
- package/es/modules/gct-form/editor/gct-form-empty/gct-form-empty.provider.d.ts +4 -0
- package/es/modules/gct-form/editor/gct-form-empty/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-empty/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.css +81 -0
- package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.d.ts +39 -0
- package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.mjs +69 -0
- package/es/{editor/gct-form-radio → modules/gct-form/editor/gct-form-formula}/index.d.ts +1 -4
- package/es/modules/gct-form/editor/gct-form-formula/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.css +120 -0
- package/es/{editor/gct-form-modal-select/gct-form-modal-select.d.ts → modules/gct-form/editor/gct-form-group-select/gct-form-group-select.d.ts} +19 -12
- package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.mjs +231 -0
- package/es/modules/gct-form/editor/gct-form-group-select/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-group-select/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.d.ts +121 -0
- package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.mjs +114 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-i18n/gct-form-i18n.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-i18n/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.css +76 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-icon-select/gct-form-icon-select.d.ts +3 -3
- package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.mjs +73 -0
- package/es/{editor/gct-form-checkbox → modules/gct-form/editor/gct-form-icon-select}/index.d.ts +1 -4
- package/es/modules/gct-form/editor/gct-form-icon-select/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-info/gct-form-info.css +85 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-info/gct-form-info.d.ts +16 -1
- package/es/modules/gct-form/editor/gct-form-info/gct-form-info.mjs +52 -0
- package/es/modules/gct-form/editor/gct-form-info/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-info/index.mjs +14 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-length-unit/gct-form-length-unit.d.ts +1 -4
- package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.mjs +43 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-length-unit/gct-form-length-unit.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-length-unit/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.css +76 -0
- package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.d.ts +19 -0
- package/es/modules/gct-form/editor/gct-form-model-select/gct-form-model-select.mjs +175 -0
- package/es/modules/gct-form/editor/gct-form-model-select/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-model-select/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-multiple-choice/gct-form-multiple-choice.d.ts +68 -0
- package/es/modules/gct-form/editor/gct-form-multiple-choice/gct-form-multiple-choice.mjs +68 -0
- package/es/modules/gct-form/editor/gct-form-multiple-choice/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-multiple-choice/index.mjs +14 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-number/gct-form-number.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-number/gct-form-number.mjs +44 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-number/gct-form-number.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-number/gct-form-number.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-number/index.mjs +12 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-picker/gct-form-picker.d.ts +3 -3
- package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.mjs +113 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-picker/gct-form-picker.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-picker/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.css +103 -0
- package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.d.ts +29 -0
- package/es/modules/gct-form/editor/gct-form-pixel-config/gct-form-pixel-config.mjs +69 -0
- package/es/modules/gct-form/editor/gct-form-pixel-config/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-pixel-config/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.css +205 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-radio/gct-form-radio.d.ts +7 -1
- package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.mjs +95 -0
- package/es/modules/gct-form/editor/gct-form-radio/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-radio/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.css +83 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-select/gct-form-select.d.ts +17 -3
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.mjs +128 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-select/gct-form-select.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-select/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-form-span/gct-form-span.css +73 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-span/gct-form-span.d.ts +10 -1
- package/es/modules/gct-form/editor/gct-form-span/gct-form-span.mjs +100 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-span/gct-form-span.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-span/gct-form-span.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-span/index.mjs +12 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-switch/gct-form-switch.d.ts +7 -1
- package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.mjs +39 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-switch/gct-form-switch.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-switch/index.d.ts +4 -0
- package/es/modules/gct-form/editor/gct-form-switch/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-form-table/gct-form-table.d.ts +53 -0
- package/es/modules/gct-form/editor/gct-form-table/gct-form-table.mjs +32 -0
- package/es/modules/gct-form/editor/gct-form-table/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-table/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.css +70 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-text/gct-form-text.d.ts +8 -2
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.mjs +58 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-text/gct-form-text.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-text/index.d.ts +4 -0
- package/es/modules/gct-form/editor/gct-form-text/index.mjs +12 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-textarea/gct-form-textarea.d.ts +2 -1
- package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.mjs +46 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-textarea/gct-form-textarea.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.provider.mjs +5 -0
- package/es/modules/gct-form/editor/gct-form-textarea/index.d.ts +4 -0
- package/es/modules/gct-form/editor/gct-form-textarea/index.mjs +12 -0
- package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.css +94 -0
- package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.d.ts +53 -0
- package/es/modules/gct-form/editor/gct-select-form-table/gct-select-form-table.mjs +79 -0
- package/es/modules/gct-form/editor/gct-select-form-table/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-select-form-table/index.mjs +14 -0
- package/es/modules/gct-form/editor/index.mjs +34 -0
- package/es/modules/gct-form/hooks/index.d.ts +2 -0
- package/es/modules/gct-form/hooks/use-form/use-form.d.ts +10 -0
- package/es/modules/gct-form/hooks/use-form/use-form.mjs +8 -0
- package/es/modules/gct-form/hooks/use-gct-form-value/use-gct-form-value.d.ts +22 -0
- package/es/modules/gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs +89 -0
- package/es/modules/gct-form/index.d.ts +12 -0
- package/es/modules/gct-form/index.mjs +16 -0
- package/es/modules/gct-form/interface/i-controller/edit-form/edit-form.controller.d.ts +20 -0
- package/es/modules/gct-form/interface/i-controller/editor-item/editor-item.controller.d.ts +27 -0
- package/es/modules/gct-form/interface/i-controller/form/form.controller.d.ts +121 -0
- package/es/modules/gct-form/interface/i-controller/form-collapse/form-collapse.controller.d.ts +23 -0
- package/es/modules/gct-form/interface/i-controller/form-collapse-pane/form-collapse-pane.controller.d.ts +23 -0
- package/es/modules/gct-form/interface/i-controller/form-edit-item/form-edit-item.controller.d.ts +59 -0
- package/es/modules/gct-form/interface/i-controller/form-group/form-group.controller.d.ts +24 -0
- package/es/modules/gct-form/interface/i-controller/form-hidden-item/form-hidden-item.controller.d.ts +24 -0
- package/es/modules/gct-form/interface/i-controller/form-item/form-item.controller.d.ts +40 -0
- package/es/modules/gct-form/interface/i-controller/form-item-basic/form-item-basic.controller.d.ts +51 -0
- package/es/modules/gct-form/interface/i-controller/form-line/form-line.controller.d.ts +20 -0
- package/es/modules/gct-form/interface/i-controller/form-tab/form-tab.controller.d.ts +23 -0
- package/es/modules/gct-form/interface/i-controller/form-tab-pane/form-tab-pane.controller.d.ts +23 -0
- package/es/modules/gct-form/interface/i-controller/index.d.ts +13 -0
- package/es/modules/gct-form/interface/i-editor/i-action-editor.d.ts +23 -0
- package/es/modules/gct-form/interface/i-editor/i-check-switch.d.ts +29 -0
- package/es/modules/gct-form/interface/i-editor/i-checkbox-editor.d.ts +11 -0
- package/es/modules/gct-form/interface/i-editor/i-color-editor.d.ts +13 -0
- package/es/modules/gct-form/interface/i-editor/i-date-format-select-editor.d.ts +36 -0
- package/es/modules/gct-form/interface/i-editor/i-editor-basic.d.ts +134 -0
- package/es/modules/gct-form/interface/i-editor/i-formula-editor.d.ts +22 -0
- package/es/modules/gct-form/interface/i-editor/i-i18n-editor.d.ts +38 -0
- package/es/modules/gct-form/interface/i-editor/i-icon-select-editor.d.ts +21 -0
- package/es/modules/gct-form/interface/i-editor/i-info-editor.d.ts +21 -0
- package/es/modules/gct-form/interface/i-editor/i-length-unit-editor.d.ts +13 -0
- package/es/modules/gct-form/interface/i-editor/i-model-field-select-editor.d.ts +18 -0
- package/es/modules/gct-form/interface/i-editor/i-mpicker-editor.d.ts +36 -0
- package/es/modules/gct-form/interface/i-editor/i-number-editor.d.ts +21 -0
- package/es/modules/gct-form/interface/i-editor/i-picker-editor.d.ts +37 -0
- package/es/modules/gct-form/interface/i-editor/i-radio-editor.d.ts +32 -0
- package/es/modules/gct-form/interface/i-editor/i-select-editor.d.ts +45 -0
- package/es/modules/gct-form/interface/i-editor/i-select-table-editor.d.ts +44 -0
- package/es/modules/gct-form/interface/i-editor/i-span-editor.d.ts +30 -0
- package/es/modules/gct-form/interface/i-editor/i-switch-editor.d.ts +14 -0
- package/es/modules/gct-form/interface/i-editor/i-table-editor.d.ts +19 -0
- package/es/modules/gct-form/interface/i-editor/i-text-editor.d.ts +46 -0
- package/es/modules/gct-form/interface/i-editor/i-textarea-editor.d.ts +25 -0
- package/es/modules/gct-form/interface/i-editor/index.d.ts +23 -0
- package/es/modules/gct-form/interface/i-events/form/i-form.event.d.ts +14 -0
- package/es/modules/gct-form/interface/i-events/index.d.ts +1 -0
- package/es/modules/gct-form/interface/i-form/i-edit-form.d.ts +48 -0
- package/es/modules/gct-form/interface/i-form/i-form-collapse-pane.d.ts +30 -0
- package/es/modules/gct-form/interface/i-form/i-form-collapse.d.ts +39 -0
- package/es/modules/gct-form/interface/i-form/i-form-container.d.ts +53 -0
- package/es/modules/gct-form/interface/i-form/i-form-edit-item.d.ts +154 -0
- package/es/modules/gct-form/interface/i-form/i-form-group-container.d.ts +24 -0
- package/es/modules/gct-form/interface/i-form/i-form-group.d.ts +35 -0
- package/es/modules/gct-form/interface/i-form/i-form-hidden-item.d.ts +11 -0
- package/es/modules/gct-form/interface/i-form/i-form-item-basic.d.ts +131 -0
- package/es/modules/gct-form/interface/i-form/i-form-item.d.ts +11 -0
- package/es/modules/gct-form/interface/i-form/i-form-line.d.ts +24 -0
- package/es/modules/gct-form/interface/i-form/i-form-tab-pane.d.ts +23 -0
- package/es/modules/gct-form/interface/i-form/i-form-tab.d.ts +25 -0
- package/es/modules/gct-form/interface/i-form/i-form.d.ts +93 -0
- package/es/modules/gct-form/interface/i-form/index.d.ts +14 -0
- package/es/modules/gct-form/interface/i-layout/i-flex-layout/i-flex-container.d.ts +75 -0
- package/es/modules/gct-form/interface/i-layout/i-flex-layout/i-flex-item.d.ts +51 -0
- package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-container.d.ts +29 -0
- package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-item-span.d.ts +54 -0
- package/es/modules/gct-form/interface/i-layout/i-grid-layout/i-grid-item.d.ts +37 -0
- package/es/modules/gct-form/interface/i-layout/i-layout-basis/i-layout-container-basis.d.ts +11 -0
- package/es/modules/gct-form/interface/i-layout/index.d.ts +6 -0
- package/es/modules/gct-form/interface/i-provider/i-editor-provider/i-editor-provider.d.ts +24 -0
- package/es/modules/gct-form/interface/i-provider/i-form-item-provider/i-form-item-provider.d.ts +44 -0
- package/es/modules/gct-form/interface/i-provider/index.d.ts +2 -0
- package/es/modules/gct-form/interface/i-state/form/form.state.d.ts +59 -0
- package/es/modules/gct-form/interface/i-state/form-collapse/form-collapse.state.d.ts +11 -0
- package/es/modules/gct-form/interface/i-state/form-collapse-pane/form-collapse-pane.state.d.ts +11 -0
- package/es/modules/gct-form/interface/i-state/form-edit-item/form-edit-item.state.d.ts +38 -0
- package/es/modules/gct-form/interface/i-state/form-group/form-group.state.d.ts +21 -0
- package/es/modules/gct-form/interface/i-state/form-hidden-item/form-hidden-item.state.d.ts +5 -0
- package/es/modules/gct-form/interface/i-state/form-item/form-item.state.d.ts +20 -0
- package/es/modules/gct-form/interface/i-state/form-item-basic/form-item-basic.state.d.ts +63 -0
- package/es/modules/gct-form/interface/i-state/form-line/form-line.state.d.ts +10 -0
- package/es/modules/gct-form/interface/i-state/form-tab/form-tab.state.d.ts +19 -0
- package/es/modules/gct-form/interface/i-state/form-tab-pane/form-tab-pane.state.d.ts +11 -0
- package/es/modules/gct-form/interface/i-state/index.d.ts +11 -0
- package/es/modules/gct-form/interface/index.d.ts +7 -0
- package/es/modules/gct-form/props/gct-form-item/gct-form-item.props.d.ts +63 -0
- package/es/modules/gct-form/props/gct-form-item/gct-form-item.props.mjs +66 -0
- package/es/modules/gct-form/props/index.d.ts +1 -0
- package/es/modules/gct-form/register/editor-register/editor-register.d.ts +49 -0
- package/es/modules/gct-form/register/editor-register/editor-register.mjs +57 -0
- package/es/modules/gct-form/register/form-item-register/form-item-register.d.ts +36 -0
- package/es/modules/gct-form/register/form-item-register/form-item-register.mjs +42 -0
- package/es/modules/gct-form/register/index.d.ts +2 -0
- package/es/modules/gct-form/state/form/form.state.d.ts +25 -0
- package/es/modules/gct-form/state/form/form.state.mjs +17 -0
- package/es/modules/gct-form/state/form-collapse/form-collapse.state.d.ts +14 -0
- package/es/modules/gct-form/state/form-collapse/form-collapse.state.mjs +6 -0
- package/es/modules/gct-form/state/form-collapse-pane/form-collapse-pane.state.d.ts +14 -0
- package/es/modules/gct-form/state/form-collapse-pane/form-collapse-pane.state.mjs +6 -0
- package/es/modules/gct-form/state/form-edit-item/form-edit-item.state.d.ts +18 -0
- package/es/modules/gct-form/state/form-edit-item/form-edit-item.state.mjs +10 -0
- package/es/modules/gct-form/state/form-group/form-group.state.d.ts +21 -0
- package/es/modules/gct-form/state/form-group/form-group.state.mjs +14 -0
- package/es/modules/gct-form/state/form-item/form-item.state.d.ts +14 -0
- package/es/modules/gct-form/state/form-item/form-item.state.mjs +6 -0
- package/es/modules/gct-form/state/form-item-basic/form-item-basic.state.d.ts +17 -0
- package/es/modules/gct-form/state/form-item-basic/form-item-basic.state.mjs +9 -0
- package/es/modules/gct-form/state/form-line/form-line.state.d.ts +11 -0
- package/es/modules/gct-form/state/form-line/form-line.state.mjs +6 -0
- package/es/modules/gct-form/state/form-tab/form-tab.state.d.ts +15 -0
- package/es/modules/gct-form/state/form-tab/form-tab.state.mjs +7 -0
- package/es/modules/gct-form/state/form-tab-pane/form-tab-pane.state.d.ts +14 -0
- package/es/modules/gct-form/state/form-tab-pane/form-tab-pane.state.mjs +6 -0
- package/es/modules/gct-form/state/index.d.ts +10 -0
- package/es/modules/gct-form/utils/index.d.ts +1 -0
- package/es/modules/gct-form/utils/width-install/width-install.d.ts +17 -0
- package/es/modules/gct-form/utils/width-install/width-install.mjs +19 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-edit-form/gct-edit-form.d.ts +23 -4
- package/es/modules/gct-form/widgets/gct-edit-form/gct-edit-form.mjs +151 -0
- package/es/modules/gct-form/widgets/gct-edit-form/index.mjs +10 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.css +97 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse/gct-form-collapse.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +79 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.model.d.ts +19 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse/gct-form-collapse.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +14 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.d.ts +7 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.mjs +15 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.css +79 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +77 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.model.d.ts +18 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +16 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.d.ts +7 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.mjs +15 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.css +88 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.mjs +94 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.model.d.ts +19 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +14 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.d.ts +7 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.mjs +15 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.d.ts +16 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.d.ts +2 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +16 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/index.d.ts +6 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.css +171 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-item/gct-form-item.d.ts +23 -4
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.mjs +163 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.model.d.ts +17 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-item/gct-form-item.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +14 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/index.d.ts +7 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.css +72 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.d.ts +37 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.mjs +48 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.model.d.ts +15 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.provider.d.ts +5 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.provider.mjs +14 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.d.ts +7 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.mjs +12 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.css +108 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab/gct-form-tab.d.ts +12 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +72 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.model.d.ts +10 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab/gct-form-tab.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +14 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.d.ts +7 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.mjs +12 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.css +74 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab-pane/gct-form-tab-pane.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +71 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.model.d.ts +17 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +14 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.d.ts +6 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.mjs +15 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.css +82 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-title-group/gct-form-title-group.d.ts +2 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +73 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.model.d.ts +19 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-title-group/gct-form-title-group.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +14 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.d.ts +7 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.mjs +16 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form.css +73 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form.mjs +147 -0
- package/es/modules/gct-form/widgets/gct-form/index.d.ts +14 -0
- package/es/modules/gct-form/widgets/gct-form/index.mjs +33 -0
- package/es/modules/gct-table/controller/gct-table/gct-table.controller.d.ts +54 -0
- package/es/modules/gct-table/controller/gct-table/gct-table.controller.mjs +143 -0
- package/es/modules/gct-table/controller/index.d.ts +5 -0
- package/es/modules/gct-table/controller/table-item/table-action-item.controller.d.ts +15 -0
- package/es/modules/gct-table/controller/table-item/table-action-item.controller.mjs +6 -0
- package/es/modules/gct-table/controller/table-item/table-edit-item.controller.d.ts +19 -0
- package/es/modules/gct-table/controller/table-item/table-edit-item.controller.mjs +16 -0
- package/es/modules/gct-table/controller/table-item/table-item.controller.d.ts +21 -0
- package/es/modules/gct-table/controller/table-item/table-item.controller.mjs +26 -0
- package/es/modules/gct-table/controller/table-row/table-row.controller.d.ts +28 -0
- package/es/modules/gct-table/controller/table-row/table-row.controller.mjs +70 -0
- package/es/{editor/gct-form-i18n/gct-form-i18n.d.ts → modules/gct-table/editor/gct-table-date/gct-table-date.d.ts} +19 -8
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +93 -0
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.provider.d.ts +11 -0
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.provider.mjs +5 -0
- package/es/modules/gct-table/editor/gct-table-date/index.d.ts +4 -0
- package/es/modules/gct-table/editor/gct-table-date/index.mjs +52 -0
- package/es/modules/gct-table/editor/gct-table-span/gct-table-span.css +86 -0
- package/es/modules/gct-table/editor/gct-table-span/gct-table-span.d.ts +34 -0
- package/es/modules/gct-table/editor/gct-table-span/gct-table-span.mjs +40 -0
- package/es/modules/gct-table/editor/gct-table-span/gct-table-span.provider.d.ts +13 -0
- package/es/modules/gct-table/editor/gct-table-span/gct-table-span.provider.mjs +5 -0
- package/es/modules/gct-table/editor/gct-table-span/index.d.ts +4 -0
- package/es/modules/gct-table/editor/gct-table-span/index.mjs +52 -0
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.css +80 -0
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.d.ts +50 -0
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +106 -0
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.provider.d.ts +13 -0
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.provider.mjs +5 -0
- package/es/modules/gct-table/editor/gct-table-text/index.d.ts +4 -0
- package/es/modules/gct-table/editor/gct-table-text/index.mjs +52 -0
- package/es/modules/gct-table/editor/index.mjs +11 -0
- package/es/modules/gct-table/hooks/index.d.ts +1 -0
- package/es/modules/gct-table/hooks/use-ant-table/use-ant-table.d.ts +10 -0
- package/es/modules/gct-table/hooks/use-ant-table/use-ant-table.mjs +85 -0
- package/es/modules/gct-table/index.d.ts +10 -0
- package/es/modules/gct-table/index.mjs +15 -0
- package/es/modules/gct-table/interface/i-controller/index.d.ts +5 -0
- package/es/modules/gct-table/interface/i-controller/table/i-table.controller.d.ts +133 -0
- package/es/modules/gct-table/interface/i-controller/table-item/i-table-action-item.controller.d.ts +21 -0
- package/es/modules/gct-table/interface/i-controller/table-item/i-table-edit-item.controller.d.ts +44 -0
- package/es/modules/gct-table/interface/i-controller/table-item/i-table-item.controller.d.ts +61 -0
- package/es/modules/gct-table/interface/i-controller/table-row/i-table-row.controller.d.ts +110 -0
- package/es/modules/gct-table/interface/i-events/index.d.ts +1 -0
- package/es/modules/gct-table/interface/i-events/table/i-table.event.d.ts +21 -0
- package/es/modules/gct-table/interface/i-provider/i-table-editor-provider/i-table-editor-provider.d.ts +24 -0
- package/es/modules/gct-table/interface/i-provider/index.d.ts +1 -0
- package/es/modules/gct-table/interface/i-state/index.d.ts +4 -0
- package/es/modules/gct-table/interface/i-state/table/i-table.state.d.ts +50 -0
- package/es/modules/gct-table/interface/i-state/table-item/table-edit-item.state.d.ts +47 -0
- package/es/modules/gct-table/interface/i-state/table-item/table-item.state.d.ts +28 -0
- package/es/modules/gct-table/interface/i-state/table-row/table-row.state.d.ts +35 -0
- package/es/modules/gct-table/interface/i-table/i-pagination.d.ts +29 -0
- package/es/modules/gct-table/interface/i-table/i-table-action-item.d.ts +135 -0
- package/es/modules/gct-table/interface/i-table/i-table-edit-item.d.ts +74 -0
- package/es/modules/gct-table/interface/i-table/i-table-item.d.ts +98 -0
- package/es/modules/gct-table/interface/i-table/i-table.d.ts +76 -0
- package/es/modules/gct-table/interface/i-table/index.d.ts +4 -0
- package/es/modules/gct-table/interface/index.d.ts +5 -0
- package/es/modules/gct-table/register/index.d.ts +1 -0
- package/es/modules/gct-table/register/table-editor-register/table-editor-register.d.ts +53 -0
- package/es/modules/gct-table/register/table-editor-register/table-editor-register.mjs +61 -0
- package/es/modules/gct-table/state/index.d.ts +4 -0
- package/es/modules/gct-table/state/table/table.state.d.ts +45 -0
- package/es/modules/gct-table/state/table/table.state.mjs +37 -0
- package/es/modules/gct-table/state/table-item/table-edit-item.state.d.ts +18 -0
- package/es/modules/gct-table/state/table-item/table-edit-item.state.mjs +10 -0
- package/es/modules/gct-table/state/table-item/table-item.state.d.ts +28 -0
- package/es/modules/gct-table/state/table-item/table-item.state.mjs +20 -0
- package/es/modules/gct-table/state/table-row/table-row.state.d.ts +15 -0
- package/es/modules/gct-table/state/table-row/table-row.state.mjs +7 -0
- package/es/modules/gct-table/utils/count-latch/count-latch.d.ts +70 -0
- package/es/modules/gct-table/utils/count-latch/count-latch.mjs +95 -0
- package/es/modules/gct-table/utils/count-latch/result-awaiter.d.ts +17 -0
- package/es/modules/gct-table/utils/index.d.ts +3 -0
- package/es/modules/gct-table/utils/width-install/width-install.d.ts +16 -0
- package/es/modules/gct-table/utils/width-install/width-install.mjs +19 -0
- package/es/modules/gct-table/widgets/gct-table/gct-table.css +124 -0
- package/es/modules/gct-table/widgets/gct-table/gct-table.d.ts +51 -0
- package/es/modules/gct-table/widgets/gct-table/gct-table.mjs +414 -0
- package/es/modules/gct-table/widgets/gct-table/index.mjs +10 -0
- package/es/modules/gct-table/widgets/index.mjs +9 -0
- package/es/modules/global-modal/index.d.ts +1 -0
- package/es/modules/global-modal/index.mjs +1 -0
- package/es/modules/global-modal/src/BasicModal.vue.d.ts +18 -18
- package/es/modules/global-modal/src/components/GlboalModal.d.ts +10 -10
- package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +12 -12
- package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/es/modules/target-loading/src/target-loading.vue.d.ts +1 -1
- package/es/types/index.d.ts +11 -1
- package/package.json +13 -6
- package/dist/index-Bpd2MFJC.js +0 -33732
- package/dist/index-CwxW5OnC.js +0 -98
- package/dist/index-vFQ1naj3.cjs +0 -98
- package/dist/monaco-editor-5rbNTIph.cjs +0 -19
- package/dist/monaco-editor-DHkSqfaq.js +0 -19
- package/dist/monaco-editor-DYUIGpkZ.js +0 -20245
- package/es/components/layout/flex-container/flex-container.d.ts +0 -15
- package/es/components/layout/flex-container/flex-container.mjs +0 -94
- package/es/components/layout/flex-item/flex-item.d.ts +0 -14
- package/es/components/layout/flex-item/flex-item.mjs +0 -55
- package/es/components/layout/grid-container/grid-container.d.ts +0 -13
- package/es/components/layout/grid-container/grid-container.mjs +0 -51
- package/es/editor/gct-form-color/gct-form-color.d.ts +0 -5
- package/es/editor/gct-form-color/index.d.ts +0 -7
- package/es/editor/gct-form-field-select/gct-form-field-select.d.ts +0 -47
- package/es/editor/gct-form-field-select/gct-form-field-select.provider.d.ts +0 -13
- package/es/editor/gct-form-field-select/gct-model-select.vue.d.ts +0 -9
- package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.d.ts +0 -13
- package/es/editor/gct-form-number/index.d.ts +0 -7
- package/es/editor/gct-form-switch/index.d.ts +0 -7
- package/es/editor/gct-form-text/index.d.ts +0 -7
- package/es/widgets/gct-form/gct-form-tab/index.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-tab-pane/index.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-title-group/index.d.ts +0 -5
- package/es/widgets/gct-form/index.d.ts +0 -5
- /package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/index.d.ts +0 -0
- /package/es/{editor/gct-form-field-select → modules/gct-form/editor/gct-form-color}/index.d.ts +0 -0
- /package/es/{editor/gct-form-i18n → modules/gct-form/editor/gct-form-date}/index.d.ts +0 -0
- /package/es/{editor/gct-form-length-unit → modules/gct-form/editor/gct-form-i18n}/index.d.ts +0 -0
- /package/es/{editor/gct-form-modal-select → modules/gct-form/editor/gct-form-length-unit}/index.d.ts +0 -0
- /package/es/{editor/gct-form-picker → modules/gct-form/editor/gct-form-number}/index.d.ts +0 -0
- /package/es/{editor/gct-form-select → modules/gct-form/editor/gct-form-picker}/index.d.ts +0 -0
- /package/es/{editor/gct-form-span → modules/gct-form/editor/gct-form-select}/index.d.ts +0 -0
- /package/es/{editor/gct-form-textarea → modules/gct-form/editor/gct-form-span}/index.d.ts +0 -0
- /package/es/{editor → modules/gct-form/editor}/index.d.ts +0 -0
- /package/es/{widgets → modules/gct-form/widgets}/gct-edit-form/index.d.ts +0 -0
- /package/es/{widgets/gct-form/gct-form-collapse-pane → modules/gct-table/editor}/index.d.ts +0 -0
- /package/es/{widgets/gct-form/gct-form-collapse → modules/gct-table/widgets/gct-table}/index.d.ts +0 -0
- /package/es/{widgets/gct-form/gct-form-group → modules/gct-table/widgets}/index.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const MonacoEditor: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./monaco-editor.vue').Prop> & Readonly<{
|
|
3
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
4
3
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
5
5
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
6
6
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
7
7
|
"onEditor-mounted"?: ((...args: any[]) => any) | undefined;
|
|
@@ -34,19 +34,19 @@ export declare const MonacoEditor: {
|
|
|
34
34
|
isChatBotActive: import('vue').Ref<boolean, boolean>;
|
|
35
35
|
handleChatBotClick: () => void;
|
|
36
36
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
-
blur: (...args: any[]) => void;
|
|
38
37
|
change: (...args: any[]) => void;
|
|
38
|
+
blur: (...args: any[]) => void;
|
|
39
39
|
focus: (...args: any[]) => void;
|
|
40
40
|
"update:value": (...args: any[]) => void;
|
|
41
41
|
"editor-mounted": (...args: any[]) => void;
|
|
42
42
|
"chat-bot-click": (...args: any[]) => void;
|
|
43
43
|
}, import('vue').PublicProps, {
|
|
44
|
+
value: string | null;
|
|
44
45
|
title: string;
|
|
45
46
|
direction: "top" | "bottom";
|
|
47
|
+
readonly: boolean;
|
|
46
48
|
theme: import('./useMonacoEditor').Theme;
|
|
47
|
-
value: string | null;
|
|
48
49
|
language: string;
|
|
49
|
-
readonly: boolean;
|
|
50
50
|
gapVal: number;
|
|
51
51
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
52
52
|
Editor: HTMLDivElement;
|
|
@@ -58,8 +58,8 @@ export declare const MonacoEditor: {
|
|
|
58
58
|
M: {};
|
|
59
59
|
Defaults: {};
|
|
60
60
|
}, Readonly<import('./monaco-editor.vue').Prop> & Readonly<{
|
|
61
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
62
61
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
"onEditor-mounted"?: ((...args: any[]) => any) | undefined;
|
|
@@ -92,20 +92,20 @@ export declare const MonacoEditor: {
|
|
|
92
92
|
isChatBotActive: import('vue').Ref<boolean, boolean>;
|
|
93
93
|
handleChatBotClick: () => void;
|
|
94
94
|
}, {}, {}, {}, {
|
|
95
|
+
value: string | null;
|
|
95
96
|
title: string;
|
|
96
97
|
direction: "top" | "bottom";
|
|
98
|
+
readonly: boolean;
|
|
97
99
|
theme: import('./useMonacoEditor').Theme;
|
|
98
|
-
value: string | null;
|
|
99
100
|
language: string;
|
|
100
|
-
readonly: boolean;
|
|
101
101
|
gapVal: number;
|
|
102
102
|
}>;
|
|
103
103
|
__isFragment?: never;
|
|
104
104
|
__isTeleport?: never;
|
|
105
105
|
__isSuspense?: never;
|
|
106
106
|
} & import('vue').ComponentOptionsBase<Readonly<import('./monaco-editor.vue').Prop> & Readonly<{
|
|
107
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
108
107
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
110
110
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
111
111
|
"onEditor-mounted"?: ((...args: any[]) => any) | undefined;
|
|
@@ -138,19 +138,19 @@ export declare const MonacoEditor: {
|
|
|
138
138
|
isChatBotActive: import('vue').Ref<boolean, boolean>;
|
|
139
139
|
handleChatBotClick: () => void;
|
|
140
140
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
141
|
-
blur: (...args: any[]) => void;
|
|
142
141
|
change: (...args: any[]) => void;
|
|
142
|
+
blur: (...args: any[]) => void;
|
|
143
143
|
focus: (...args: any[]) => void;
|
|
144
144
|
"update:value": (...args: any[]) => void;
|
|
145
145
|
"editor-mounted": (...args: any[]) => void;
|
|
146
146
|
"chat-bot-click": (...args: any[]) => void;
|
|
147
147
|
}, string, {
|
|
148
|
+
value: string | null;
|
|
148
149
|
title: string;
|
|
149
150
|
direction: "top" | "bottom";
|
|
151
|
+
readonly: boolean;
|
|
150
152
|
theme: import('./useMonacoEditor').Theme;
|
|
151
|
-
value: string | null;
|
|
152
153
|
language: string;
|
|
153
|
-
readonly: boolean;
|
|
154
154
|
gapVal: number;
|
|
155
155
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
156
156
|
$slots: {
|
|
@@ -110,26 +110,26 @@ declare const __VLS_component: import('vue').DefineComponent<Prop, {
|
|
|
110
110
|
isChatBotActive: import('vue').Ref<boolean, boolean>;
|
|
111
111
|
handleChatBotClick: typeof handleChatBotClick;
|
|
112
112
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
113
|
-
blur: (...args: any[]) => void;
|
|
114
113
|
change: (...args: any[]) => void;
|
|
114
|
+
blur: (...args: any[]) => void;
|
|
115
115
|
focus: (...args: any[]) => void;
|
|
116
116
|
"update:value": (...args: any[]) => void;
|
|
117
117
|
"editor-mounted": (...args: any[]) => void;
|
|
118
118
|
"chat-bot-click": (...args: any[]) => void;
|
|
119
119
|
}, string, import('vue').PublicProps, Readonly<Prop> & Readonly<{
|
|
120
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
121
120
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
121
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
122
122
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
"onEditor-mounted"?: ((...args: any[]) => any) | undefined;
|
|
125
125
|
"onChat-bot-click"?: ((...args: any[]) => any) | undefined;
|
|
126
126
|
}>, {
|
|
127
|
+
value: string | null;
|
|
127
128
|
title: string;
|
|
128
129
|
direction: "top" | "bottom";
|
|
130
|
+
readonly: boolean;
|
|
129
131
|
theme: Theme;
|
|
130
|
-
value: string | null;
|
|
131
132
|
language: string;
|
|
132
|
-
readonly: boolean;
|
|
133
133
|
gapVal: number;
|
|
134
134
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
135
135
|
Editor: HTMLDivElement;
|
|
@@ -30,9 +30,9 @@ declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {},
|
|
|
30
30
|
}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{
|
|
31
31
|
"onUpdate:color"?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
+
color: string | RgbaType;
|
|
33
34
|
width: number;
|
|
34
35
|
placement: string;
|
|
35
|
-
color: string | RgbaType;
|
|
36
36
|
preset: string[];
|
|
37
37
|
useTrigger: boolean;
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createApp, h } from 'vue';
|
|
2
2
|
import WujieVue3 from 'wujie-vue3';
|
|
3
3
|
import '@gct-paas/core';
|
|
4
|
-
import '../../components/layout/view-container/view-container.css';import '../../components/
|
|
4
|
+
import '../../components/layout/view-container/view-container.css';import '../../components/code-editor/code-editor.css';import '../../components/icon-next/src/IconNextPicker.css';import '../../components/icon-next/src/IconNext.css';import '../../components/copy-module-key/copy-module-key.css';import '../../components/basic-button/basic-button.css';import '../../components/base-button/base-button.css';import '../../components/assets-svg-icon/assets-svg-icon.css';import '../../components/svg-icon/svg-icon.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import 'ant-design-vue';
|
|
7
7
|
import 'lodash-es';
|
|
@@ -10,10 +10,17 @@ import 'lodash-es';
|
|
|
10
10
|
import { WuJieContainer } from '../../components/wujie-container/wujie-container.mjs';
|
|
11
11
|
import 'bignumber.js';
|
|
12
12
|
/* empty css */
|
|
13
|
+
import '@gct-paas/platform-icons';
|
|
14
|
+
import '@icon-park/vue-next/es/all';
|
|
15
|
+
/* empty css */
|
|
16
|
+
import 'overlayscrollbars-vue';
|
|
17
|
+
import '../../components/icon-next/hooks/useIconAsset.mjs';
|
|
18
|
+
import '../../components/icon-next/hooks/useIconPark.mjs';
|
|
19
|
+
import '../../components/icon-next/hooks/useIconPlatform.mjs';
|
|
20
|
+
/* empty css */
|
|
13
21
|
import '@monaco-editor/loader';
|
|
14
22
|
/* empty css */
|
|
15
23
|
/* empty css */
|
|
16
|
-
/* empty css */
|
|
17
24
|
|
|
18
25
|
function openFormulaEditor(opts) {
|
|
19
26
|
return new Promise((resolve) => {
|
|
@@ -31,8 +38,8 @@ function openFormulaEditor(opts) {
|
|
|
31
38
|
{},
|
|
32
39
|
h(WuJieContainer, {
|
|
33
40
|
wuJieName: `gct-formula-editor`,
|
|
34
|
-
//
|
|
35
|
-
url: "
|
|
41
|
+
// 本地开发时,需要更换为本地地址,生产环境需要更换为线上地址
|
|
42
|
+
url: "/extras/@gct-paas/formula-editor/index.html",
|
|
36
43
|
props: opts,
|
|
37
44
|
onWujieFormula___confirm: (data) => {
|
|
38
45
|
resolve(data);
|
|
@@ -31,7 +31,7 @@ export declare const GctDndContainer: import('vue').DefineComponent<import('vue'
|
|
|
31
31
|
}>> & Readonly<{
|
|
32
32
|
"onUpdate:items"?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
config: IGctDndConfig;
|
|
35
34
|
items: IGctDndData[];
|
|
35
|
+
config: IGctDndConfig;
|
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
37
|
export default GctDndContainer;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 编辑器类型
|
|
3
|
+
*
|
|
4
|
+
* @author zhanghanrui
|
|
5
|
+
* @date 2024-03-27 10:03:19
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {number}
|
|
8
|
+
*/
|
|
9
|
+
export declare enum EditorType {
|
|
10
|
+
/**
|
|
11
|
+
* 带单位长度字符串编辑器
|
|
12
|
+
*/
|
|
13
|
+
LENGTH_UNIT = "length-unit",
|
|
14
|
+
/**
|
|
15
|
+
* 颜色选择编辑器
|
|
16
|
+
*/
|
|
17
|
+
COLOR = "color",
|
|
18
|
+
/**
|
|
19
|
+
* 纯文本展示编辑器
|
|
20
|
+
*/
|
|
21
|
+
SPAN = "span",
|
|
22
|
+
/**
|
|
23
|
+
* 文本编辑器
|
|
24
|
+
*/
|
|
25
|
+
TEXT = "text",
|
|
26
|
+
/**
|
|
27
|
+
* 数值编辑器
|
|
28
|
+
*/
|
|
29
|
+
NUMBER = "number",
|
|
30
|
+
/**
|
|
31
|
+
* 纯信息呈现
|
|
32
|
+
*/
|
|
33
|
+
INFO = "info",
|
|
34
|
+
/**
|
|
35
|
+
* 根据模型或者字段进行的纯信息展示
|
|
36
|
+
*/
|
|
37
|
+
MSG = "msg",
|
|
38
|
+
/**
|
|
39
|
+
* 下拉选择编辑器
|
|
40
|
+
*/
|
|
41
|
+
SELECT = "select",
|
|
42
|
+
/**
|
|
43
|
+
* 分组下拉选择编辑器
|
|
44
|
+
*/
|
|
45
|
+
SELECT_GROUP = "select-group",
|
|
46
|
+
/**
|
|
47
|
+
* 单选框编辑器
|
|
48
|
+
*/
|
|
49
|
+
RADIO = "radio",
|
|
50
|
+
/**
|
|
51
|
+
* 数据选择器编辑器
|
|
52
|
+
*/
|
|
53
|
+
PICKER = "picker",
|
|
54
|
+
/**
|
|
55
|
+
* 数据选择多选编辑器
|
|
56
|
+
*/
|
|
57
|
+
MULTIPLE_CHOICE = "multiple-choice",
|
|
58
|
+
/**
|
|
59
|
+
* 多语言选择编辑器
|
|
60
|
+
*/
|
|
61
|
+
I18N = "i18n",
|
|
62
|
+
/**
|
|
63
|
+
* 多行文本编辑器
|
|
64
|
+
*/
|
|
65
|
+
TEXTAREA = "textarea",
|
|
66
|
+
/**
|
|
67
|
+
* 日期时间范围选择编辑器
|
|
68
|
+
*/
|
|
69
|
+
DATE_RANGE = "date-range",
|
|
70
|
+
/**
|
|
71
|
+
* 开关组件
|
|
72
|
+
*/
|
|
73
|
+
SWITCH = "switch",
|
|
74
|
+
/**
|
|
75
|
+
* 选框类型开关
|
|
76
|
+
*/
|
|
77
|
+
CHECK_SWITCH = "check-switch",
|
|
78
|
+
/**
|
|
79
|
+
* 图标选择
|
|
80
|
+
*/
|
|
81
|
+
ICON_SELECT = "icon-select",
|
|
82
|
+
/**
|
|
83
|
+
* 复选框
|
|
84
|
+
*/
|
|
85
|
+
CHECKBOX = "checkbox",
|
|
86
|
+
/**
|
|
87
|
+
* 日期
|
|
88
|
+
*/
|
|
89
|
+
DATE = "date",
|
|
90
|
+
/**
|
|
91
|
+
* 平台模型选择
|
|
92
|
+
*/
|
|
93
|
+
MODEL_SELECT = "model-select",
|
|
94
|
+
/**
|
|
95
|
+
* 按钮行为
|
|
96
|
+
*/
|
|
97
|
+
ACTION = "action",
|
|
98
|
+
/**
|
|
99
|
+
* 表格编辑器
|
|
100
|
+
*/
|
|
101
|
+
TABLE = "table",
|
|
102
|
+
/**
|
|
103
|
+
* 表格选择编辑器
|
|
104
|
+
*/
|
|
105
|
+
SELECT_TABLE = "select-table",
|
|
106
|
+
/**
|
|
107
|
+
* 空显示
|
|
108
|
+
*/
|
|
109
|
+
EMPTY = "empty",
|
|
110
|
+
/**
|
|
111
|
+
* 表单模型字段选择编辑器
|
|
112
|
+
*/
|
|
113
|
+
FORM_MODEL_FIELD_SELECT = "form-model-field-select",
|
|
114
|
+
/**
|
|
115
|
+
* 像素模式配置
|
|
116
|
+
*/
|
|
117
|
+
PIXEL_CONFIG = "pixel-config",
|
|
118
|
+
/**
|
|
119
|
+
* 界面配置中,属性配置的基本信息
|
|
120
|
+
*/
|
|
121
|
+
FIELD_INFO = "field-info",
|
|
122
|
+
/**
|
|
123
|
+
* 日期与日期时间类型的格式化选择编辑器
|
|
124
|
+
*/
|
|
125
|
+
DATE_FORMAT_SELECT = "date-format-select",
|
|
126
|
+
/**
|
|
127
|
+
* 公式编辑器
|
|
128
|
+
*/
|
|
129
|
+
FORMULA = "formula"
|
|
130
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var EditorType = /* @__PURE__ */ ((EditorType2) => {
|
|
2
|
+
EditorType2["LENGTH_UNIT"] = "length-unit";
|
|
3
|
+
EditorType2["COLOR"] = "color";
|
|
4
|
+
EditorType2["SPAN"] = "span";
|
|
5
|
+
EditorType2["TEXT"] = "text";
|
|
6
|
+
EditorType2["NUMBER"] = "number";
|
|
7
|
+
EditorType2["INFO"] = "info";
|
|
8
|
+
EditorType2["MSG"] = "msg";
|
|
9
|
+
EditorType2["SELECT"] = "select";
|
|
10
|
+
EditorType2["SELECT_GROUP"] = "select-group";
|
|
11
|
+
EditorType2["RADIO"] = "radio";
|
|
12
|
+
EditorType2["PICKER"] = "picker";
|
|
13
|
+
EditorType2["MULTIPLE_CHOICE"] = "multiple-choice";
|
|
14
|
+
EditorType2["I18N"] = "i18n";
|
|
15
|
+
EditorType2["TEXTAREA"] = "textarea";
|
|
16
|
+
EditorType2["DATE_RANGE"] = "date-range";
|
|
17
|
+
EditorType2["SWITCH"] = "switch";
|
|
18
|
+
EditorType2["CHECK_SWITCH"] = "check-switch";
|
|
19
|
+
EditorType2["ICON_SELECT"] = "icon-select";
|
|
20
|
+
EditorType2["CHECKBOX"] = "checkbox";
|
|
21
|
+
EditorType2["DATE"] = "date";
|
|
22
|
+
EditorType2["MODEL_SELECT"] = "model-select";
|
|
23
|
+
EditorType2["ACTION"] = "action";
|
|
24
|
+
EditorType2["TABLE"] = "table";
|
|
25
|
+
EditorType2["SELECT_TABLE"] = "select-table";
|
|
26
|
+
EditorType2["EMPTY"] = "empty";
|
|
27
|
+
EditorType2["FORM_MODEL_FIELD_SELECT"] = "form-model-field-select";
|
|
28
|
+
EditorType2["PIXEL_CONFIG"] = "pixel-config";
|
|
29
|
+
EditorType2["FIELD_INFO"] = "field-info";
|
|
30
|
+
EditorType2["DATE_FORMAT_SELECT"] = "date-format-select";
|
|
31
|
+
EditorType2["FORMULA"] = "formula";
|
|
32
|
+
return EditorType2;
|
|
33
|
+
})(EditorType || {});
|
|
34
|
+
|
|
35
|
+
export { EditorType };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IEditForm, IEditFormController, IFormEvent, IFormItemBasic, IFormItemBasicController, IFormItemBasicState, IFormItemProvider, IFormState } from '../../interface';
|
|
2
|
+
import { GctFormController } from '../gct-form/gct-form.controller';
|
|
3
|
+
import { QXEvent } from 'qx-util';
|
|
4
|
+
/**
|
|
5
|
+
* 编辑表单控制器
|
|
6
|
+
*
|
|
7
|
+
* @author zhanghanrui
|
|
8
|
+
* @date 2024-04-01 18:04:45
|
|
9
|
+
* @export
|
|
10
|
+
* @class EditFormController
|
|
11
|
+
* @extends {GctFormController}
|
|
12
|
+
* @implements {IEditFormController}
|
|
13
|
+
*/
|
|
14
|
+
export declare class EditFormController extends GctFormController implements IEditFormController {
|
|
15
|
+
evt: QXEvent<IFormEvent>;
|
|
16
|
+
state: IFormState;
|
|
17
|
+
item: Record<string, IFormItemBasicController<IFormItemBasic, IFormItemBasicState>>;
|
|
18
|
+
provider: Record<string, IFormItemProvider>;
|
|
19
|
+
context: IParams;
|
|
20
|
+
params: IParams;
|
|
21
|
+
getData(): IData;
|
|
22
|
+
resetData(): void;
|
|
23
|
+
load(): Promise<IData>;
|
|
24
|
+
loaded(): void;
|
|
25
|
+
destroy(): void;
|
|
26
|
+
validate(): Promise<boolean>;
|
|
27
|
+
validateItem(_key: string): Promise<boolean>;
|
|
28
|
+
mounted(): void;
|
|
29
|
+
model: IEditForm;
|
|
30
|
+
protected initEvent(): void;
|
|
31
|
+
save(): Promise<IData>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 获取编辑表单控制器实例
|
|
35
|
+
*
|
|
36
|
+
* @author zhanghanrui
|
|
37
|
+
* @date 2024-04-01 18:04:13
|
|
38
|
+
* @export
|
|
39
|
+
* @param {IEditForm} model
|
|
40
|
+
* @return {*} {EditFormController}
|
|
41
|
+
*/
|
|
42
|
+
export declare function useEditFormController(fn: () => EditFormController): EditFormController;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { reactive, onUnmounted } from 'vue';
|
|
2
|
+
import { GctFormController } from '../gct-form/gct-form.controller.mjs';
|
|
3
|
+
|
|
4
|
+
class EditFormController extends GctFormController {
|
|
5
|
+
getData() {
|
|
6
|
+
throw new Error("Method not implemented.");
|
|
7
|
+
}
|
|
8
|
+
resetData() {
|
|
9
|
+
throw new Error("Method not implemented.");
|
|
10
|
+
}
|
|
11
|
+
load() {
|
|
12
|
+
throw new Error("Method not implemented.");
|
|
13
|
+
}
|
|
14
|
+
loaded() {
|
|
15
|
+
throw new Error("Method not implemented.");
|
|
16
|
+
}
|
|
17
|
+
destroy() {
|
|
18
|
+
throw new Error("Method not implemented.");
|
|
19
|
+
}
|
|
20
|
+
validate() {
|
|
21
|
+
throw new Error("Method not implemented.");
|
|
22
|
+
}
|
|
23
|
+
validateItem(_key) {
|
|
24
|
+
throw new Error("Method not implemented.");
|
|
25
|
+
}
|
|
26
|
+
mounted() {
|
|
27
|
+
throw new Error("Method not implemented.");
|
|
28
|
+
}
|
|
29
|
+
initEvent() {
|
|
30
|
+
super.initEvent();
|
|
31
|
+
this.evt.on("change", (key, val, oldVal) => {
|
|
32
|
+
if (this.model.watch) {
|
|
33
|
+
const fun = this.model.watch[key];
|
|
34
|
+
if (fun) {
|
|
35
|
+
fun(this, val, oldVal);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const item = this.item[key];
|
|
39
|
+
if (item && item.model.watch) {
|
|
40
|
+
item.model.watch(this, item, val, oldVal);
|
|
41
|
+
}
|
|
42
|
+
if (item && item.model.change) {
|
|
43
|
+
item.model.change(
|
|
44
|
+
this,
|
|
45
|
+
item,
|
|
46
|
+
this.state.data
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
if (val != oldVal) {
|
|
50
|
+
this.calcHidden();
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
save() {
|
|
55
|
+
const data = this.getData();
|
|
56
|
+
if (this.state.isNew === true && this.model.newRequest) {
|
|
57
|
+
return this.model.newRequest(data);
|
|
58
|
+
}
|
|
59
|
+
if (this.model.updateRequest) {
|
|
60
|
+
return this.model.updateRequest({ id: this.context.id }, data);
|
|
61
|
+
}
|
|
62
|
+
return Promise.resolve(data);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function useEditFormController(fn) {
|
|
66
|
+
const c = fn();
|
|
67
|
+
c.state = reactive(c.state);
|
|
68
|
+
onUnmounted(() => c.destroy());
|
|
69
|
+
return c;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export { EditFormController, useEditFormController };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IEditorBasic, IEditorController } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 编辑器控制器
|
|
4
|
+
*
|
|
5
|
+
* @author zhanghanrui
|
|
6
|
+
* @date 2024-04-02 13:04:55
|
|
7
|
+
* @export
|
|
8
|
+
* @class EditorController
|
|
9
|
+
* @implements {IEditorController}
|
|
10
|
+
*/
|
|
11
|
+
export declare class EditorController<M extends IEditorBasic = IEditorBasic> implements IEditorController<M> {
|
|
12
|
+
model: M;
|
|
13
|
+
options: IObject[];
|
|
14
|
+
constructor(model: M);
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
class EditorController {
|
|
2
|
+
model;
|
|
3
|
+
options = [];
|
|
4
|
+
constructor(model) {
|
|
5
|
+
this.model = model;
|
|
6
|
+
}
|
|
7
|
+
// protected init(): void {
|
|
8
|
+
// if (this.model.codeList) {
|
|
9
|
+
// if (this.model.codeList.mode === 'static' && this.model.codeList.items) {
|
|
10
|
+
// this.options = this.model.codeList.items;
|
|
11
|
+
// }
|
|
12
|
+
// } else if (this.model.codeTag) {
|
|
13
|
+
// const cfg = _gct.dictionary.getConfig(this.model.codeTag);
|
|
14
|
+
// if (cfg) {
|
|
15
|
+
// if (cfg.mode === 'static') {
|
|
16
|
+
// this.options = _gct.dictionary.get(this.model.codeTag);
|
|
17
|
+
// }
|
|
18
|
+
// }
|
|
19
|
+
// }
|
|
20
|
+
// }
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { EditorController };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { IForm, IFormState, IFormController, IFormItemBasic, IFormItemProvider, IFormItemBasicController, IFormEvent } from '../../interface';
|
|
2
|
+
import { QXEvent } from 'qx-util';
|
|
3
|
+
/**
|
|
4
|
+
* 表单控制器
|
|
5
|
+
*
|
|
6
|
+
* @author zhanghanrui
|
|
7
|
+
* @date 2024-03-27 09:03:56
|
|
8
|
+
* @export
|
|
9
|
+
* @class FormController
|
|
10
|
+
*/
|
|
11
|
+
export declare class FormController {
|
|
12
|
+
readonly model: IForm;
|
|
13
|
+
readonly evt: QXEvent<IFormEvent>;
|
|
14
|
+
state: IFormState;
|
|
15
|
+
item: Record<string, IFormItemBasicController>;
|
|
16
|
+
provider: Record<string, IFormItemProvider>;
|
|
17
|
+
constructor(model: IForm);
|
|
18
|
+
/**
|
|
19
|
+
* 表单初始化
|
|
20
|
+
*
|
|
21
|
+
* @author zhanghanrui
|
|
22
|
+
* @date 2024-04-01 13:04:27
|
|
23
|
+
* @protected
|
|
24
|
+
*/
|
|
25
|
+
protected init(): void;
|
|
26
|
+
/**
|
|
27
|
+
* 初始化表单事件订阅相关
|
|
28
|
+
*
|
|
29
|
+
* @author zhanghanrui
|
|
30
|
+
* @date 2024-04-02 14:04:31
|
|
31
|
+
* @protected
|
|
32
|
+
*/
|
|
33
|
+
protected initEvent(): void;
|
|
34
|
+
/**
|
|
35
|
+
* 初始化表单项控制器
|
|
36
|
+
*
|
|
37
|
+
* @author zhanghanrui
|
|
38
|
+
* @date 2024-04-01 13:04:38
|
|
39
|
+
* @protected
|
|
40
|
+
* @param {IFormItemBasic[]} models
|
|
41
|
+
*/
|
|
42
|
+
protected initFormItems(models: IFormItemBasic[]): void;
|
|
43
|
+
/**
|
|
44
|
+
* 获取当前表单数据
|
|
45
|
+
*
|
|
46
|
+
* @author zhanghanrui
|
|
47
|
+
* @date 2024-03-27 18:03:33
|
|
48
|
+
* @return {*} {IData}
|
|
49
|
+
*/
|
|
50
|
+
getData(): IData;
|
|
51
|
+
/**
|
|
52
|
+
* 重置表单数据
|
|
53
|
+
*
|
|
54
|
+
* @author zhanghanrui
|
|
55
|
+
* @date 2024-03-27 18:03:09
|
|
56
|
+
*/
|
|
57
|
+
resetData(): void;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* 获取表单控制器实例
|
|
61
|
+
*
|
|
62
|
+
* @author zhanghanrui
|
|
63
|
+
* @date 2024-03-27 10:03:30
|
|
64
|
+
* @export
|
|
65
|
+
* @param {IForm} model
|
|
66
|
+
* @return {*} {FormController}
|
|
67
|
+
*/
|
|
68
|
+
export declare function useFormController(model: IForm): IFormController;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IFormCollapse, IFormCollapseController, IFormCollapseState } from '../../interface';
|
|
2
|
+
import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller';
|
|
3
|
+
/**
|
|
4
|
+
* 表单折叠面板控制器
|
|
5
|
+
*
|
|
6
|
+
* @author lxm
|
|
7
|
+
* @date 2024-07-15 09:07:23
|
|
8
|
+
* @export
|
|
9
|
+
* @class FormCollapseController
|
|
10
|
+
* @extends {FormItemBasicController}
|
|
11
|
+
* @implements {IFormCollapseController}
|
|
12
|
+
*/
|
|
13
|
+
export declare class FormCollapseController extends FormItemBasicController implements IFormCollapseController {
|
|
14
|
+
readonly type = "collapse";
|
|
15
|
+
model: IFormCollapse;
|
|
16
|
+
state: IFormCollapseState;
|
|
17
|
+
protected crateItemState(): IFormCollapseState;
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormCollapseState } from '../../state/form-collapse/form-collapse.state.mjs';
|
|
2
|
+
import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller.mjs';
|
|
3
|
+
|
|
4
|
+
class FormCollapseController extends FormItemBasicController {
|
|
5
|
+
type = "collapse";
|
|
6
|
+
crateItemState() {
|
|
7
|
+
return new FormCollapseState();
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { FormCollapseController };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IFormCollapsePane, IFormCollapsePaneController, IFormCollapsePaneState } from '../../interface';
|
|
2
|
+
import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller';
|
|
3
|
+
/**
|
|
4
|
+
* 表单折叠面板项控制器
|
|
5
|
+
*
|
|
6
|
+
* @author lxm
|
|
7
|
+
* @date 2024-07-15 09:07:23
|
|
8
|
+
* @export
|
|
9
|
+
* @class FormCollapsePaneController
|
|
10
|
+
* @extends {FormItemBasicController}
|
|
11
|
+
* @implements {IFormCollapsePaneController}
|
|
12
|
+
*/
|
|
13
|
+
export declare class FormCollapsePaneController extends FormItemBasicController implements IFormCollapsePaneController {
|
|
14
|
+
readonly type = "collapse-pane";
|
|
15
|
+
model: IFormCollapsePane;
|
|
16
|
+
state: IFormCollapsePaneState;
|
|
17
|
+
protected crateItemState(): IFormCollapsePaneState;
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormCollapsePaneState } from '../../state/form-collapse-pane/form-collapse-pane.state.mjs';
|
|
2
|
+
import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller.mjs';
|
|
3
|
+
|
|
4
|
+
class FormCollapsePaneController extends FormItemBasicController {
|
|
5
|
+
type = "collapse-pane";
|
|
6
|
+
crateItemState() {
|
|
7
|
+
return new FormCollapsePaneState();
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { FormCollapsePaneController };
|