@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
package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { defineComponent, mergeProps, createVNode, resolveComponent, isVNode } from 'vue';
|
|
2
|
+
import { useNamespace } from '@gct-paas/core';
|
|
3
|
+
import './gct-form-collapse-pane.css';/* empty css */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 表单折叠面板项
|
|
7
|
+
*/
|
|
8
|
+
function _isSlot(s) {
|
|
9
|
+
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
10
|
+
}
|
|
11
|
+
const GctFormCollapsePane = /* @__PURE__ */ defineComponent({
|
|
12
|
+
name: 'GctFormCollapsePane',
|
|
13
|
+
props: {
|
|
14
|
+
c: {
|
|
15
|
+
type: Object,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
18
|
+
model: {
|
|
19
|
+
type: Object,
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
context: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: () => ({})
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(props) {
|
|
28
|
+
const ns = useNamespace('form-collapse-pane');
|
|
29
|
+
const style = {};
|
|
30
|
+
function renderContainer(items) {
|
|
31
|
+
if (props.model.layout === 'flex') {
|
|
32
|
+
return createVNode(resolveComponent("flex-container"), {
|
|
33
|
+
"layout": props.model.flex
|
|
34
|
+
}, _isSlot(items) ? items : {
|
|
35
|
+
default: () => [items]
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
if (props.model.layout === 'grid') {
|
|
39
|
+
return createVNode(resolveComponent("grid-container"), {
|
|
40
|
+
"layout": props.model.grid
|
|
41
|
+
}, _isSlot(items) ? items : {
|
|
42
|
+
default: () => [items]
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
console.error('不支持的layout类型' + props.model.layout);
|
|
46
|
+
}
|
|
47
|
+
if (props.model.width) {
|
|
48
|
+
style[ns.cssVarName('form-collapse-pane-width')] = props.model.width;
|
|
49
|
+
}
|
|
50
|
+
if (props.model.height) {
|
|
51
|
+
style[ns.cssVarName('form-collapse-pane-height')] = props.model.height;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
ns,
|
|
55
|
+
style,
|
|
56
|
+
renderContainer
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
render() {
|
|
60
|
+
if (this.c.state.keepalive !== true && this.c.state.visible === false) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
const items = this.$slots.default?.() || [];
|
|
64
|
+
const lastVNode = items[items.length - 1];
|
|
65
|
+
if (lastVNode) {
|
|
66
|
+
lastVNode.props = mergeProps(lastVNode.props || {}, {
|
|
67
|
+
class: this.ns.e('last-child')
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return createVNode("div", {
|
|
71
|
+
"class": [this.ns.b(), this.ns.is('hidden', this.c.state.visible === false)],
|
|
72
|
+
"style": this.style
|
|
73
|
+
}, [this.renderContainer(items)]);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export { GctFormCollapsePane };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IFormCollapsePane, IFormItemBasic } from '../../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 表单折叠面板项模型
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class GctFormCollapsePaneModel
|
|
7
|
+
* @implements {IFormCollapsePane}
|
|
8
|
+
*/
|
|
9
|
+
export declare class GctFormCollapsePaneModel implements IFormCollapsePane {
|
|
10
|
+
type: "collapse-pane";
|
|
11
|
+
isContainer: true;
|
|
12
|
+
title: string;
|
|
13
|
+
layout: 'flex' | 'grid';
|
|
14
|
+
children: IFormItemBasic[];
|
|
15
|
+
name: string;
|
|
16
|
+
collapsible?: boolean;
|
|
17
|
+
constructor(name: string, title: string, opts: Partial<IFormCollapsePane>, children: IFormItemBasic[]);
|
|
18
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IFormCollapsePaneController, IFormController, IFormItemBasic, IFormItemProvider } from '../../../interface';
|
|
2
2
|
export declare class GctFormCollapsePaneProvider implements IFormItemProvider {
|
|
3
3
|
component: string;
|
|
4
4
|
createController(form: IFormController, item: IFormItemBasic): IFormCollapsePaneController;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import 'vue';
|
|
2
|
+
import 'qx-util';
|
|
3
|
+
import { FormCollapsePaneController } from '../../../controller/form-collapse-pane/form-collapse-pane.controller.mjs';
|
|
4
|
+
import { useFormItemController } from '../../../controller/form-item-basic/form-item-basic.controller.mjs';
|
|
5
|
+
import 'lodash-es';
|
|
6
|
+
|
|
7
|
+
class GctFormCollapsePaneProvider {
|
|
8
|
+
component = "gct-form-collapse-pane";
|
|
9
|
+
createController(form, item) {
|
|
10
|
+
return useFormItemController(
|
|
11
|
+
() => new FormCollapsePaneController(form, item)
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { GctFormCollapsePaneProvider };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import 'vue';
|
|
2
|
+
import { GctFormCollapsePaneProvider } from './gct-form-collapse-pane.provider.mjs';
|
|
3
|
+
import { GctFormCollapsePane as GctFormCollapsePane$1 } from './gct-form-collapse-pane.mjs';
|
|
4
|
+
|
|
5
|
+
const GctFormCollapsePane = {
|
|
6
|
+
install(app) {
|
|
7
|
+
_gct.register.formItem.register(
|
|
8
|
+
"collapse-pane",
|
|
9
|
+
() => new GctFormCollapsePaneProvider()
|
|
10
|
+
);
|
|
11
|
+
app.component(GctFormCollapsePane$1.name, GctFormCollapsePane$1);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { GctFormCollapsePane as default };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
3
|
+
/* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
|
|
4
|
+
/**
|
|
5
|
+
* 定义 Block 块
|
|
6
|
+
* @param {String} $block - Block 块名称
|
|
7
|
+
* @example
|
|
8
|
+
* @include b('button') {
|
|
9
|
+
* padding: 10px;
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 定义 Element 元素
|
|
14
|
+
* @param {String|List} $element - Element 元素名称,支持单个或多个
|
|
15
|
+
* @example
|
|
16
|
+
* @include b('button') {
|
|
17
|
+
* @include e('text') {
|
|
18
|
+
* color: #000;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* // 或传入多个元素
|
|
22
|
+
* @include b('button') {
|
|
23
|
+
* @include e(('text', 'icon')) {
|
|
24
|
+
* margin: 5px;
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* 定义 Modifier 修饰符
|
|
30
|
+
* @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
|
|
31
|
+
* @example
|
|
32
|
+
* @include b('button') {
|
|
33
|
+
* @include m('primary') {
|
|
34
|
+
* background: blue;
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* // 或传入多个修饰符
|
|
38
|
+
* @include b('button') {
|
|
39
|
+
* @include m(('primary', 'large')) {
|
|
40
|
+
* background: blue;
|
|
41
|
+
* font-size: 16px;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* 定义状态选择器
|
|
47
|
+
* @param {String} $state - 状态名称
|
|
48
|
+
* @example
|
|
49
|
+
* @include b('button') {
|
|
50
|
+
* @include when('disabled') {
|
|
51
|
+
* opacity: 0.5;
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* 深色主题样式
|
|
57
|
+
* @param {String} $block - Block 块名称
|
|
58
|
+
* @example
|
|
59
|
+
* @include dark('button') {
|
|
60
|
+
* background: #333;
|
|
61
|
+
* color: #fff;
|
|
62
|
+
* }
|
|
63
|
+
*/
|
|
64
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
65
|
+
.gct-gct-form-group {
|
|
66
|
+
--gct-form-group-min-height: 32px;
|
|
67
|
+
--gct-form-group-width: auto;
|
|
68
|
+
--gct-form-group-height: 100%;
|
|
69
|
+
width: var(--gct-form-group-width);
|
|
70
|
+
height: var(--gct-form-group-height);
|
|
71
|
+
min-height: var(--gct-form-group-min-height);
|
|
72
|
+
}
|
|
73
|
+
.gct-gct-form-group.is-hidden-header .gct-gct-form-group__title {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.gct-gct-form-group.is-hidden-header .gct-gct-form-group__content {
|
|
78
|
+
overflow: auto;
|
|
79
|
+
height: 100%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.gct-gct-form-group__content {
|
|
83
|
+
height: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.gct-gct-form-group.is-hidden {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IFormGroup, IFormGroupController } from '
|
|
2
|
+
import { IFormGroup, IFormGroupController } from '../../../interface';
|
|
3
3
|
/**
|
|
4
4
|
* 表单分组
|
|
5
5
|
*/
|
|
@@ -12,11 +12,15 @@ export declare const GctFormGroup: import('vue').DefineComponent<import('vue').E
|
|
|
12
12
|
type: PropType<IFormGroup>;
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
|
+
context: {
|
|
16
|
+
type: PropType<IContext>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
15
19
|
}>, {
|
|
16
20
|
ns: import('@gct-paas/core').Namespace;
|
|
17
21
|
keys: import('vue').Ref<number[], number[]>;
|
|
18
22
|
style: IParams;
|
|
19
|
-
renderContainer: (items:
|
|
23
|
+
renderContainer: (items: IObject[]) => import("vue/jsx-runtime").JSX.Element | undefined;
|
|
20
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
25
|
c: {
|
|
22
26
|
type: PropType<IFormGroupController>;
|
|
@@ -26,5 +30,11 @@ export declare const GctFormGroup: import('vue').DefineComponent<import('vue').E
|
|
|
26
30
|
type: PropType<IFormGroup>;
|
|
27
31
|
required: true;
|
|
28
32
|
};
|
|
29
|
-
|
|
33
|
+
context: {
|
|
34
|
+
type: PropType<IContext>;
|
|
35
|
+
default: () => {};
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
context: IContext;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
40
|
export default GctFormGroup;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { defineComponent, createVNode, resolveComponent, ref, isVNode } from 'vue';
|
|
2
|
+
import { useNamespace } from '@gct-paas/core';
|
|
3
|
+
import './gct-form-group.css';/* empty css */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 表单分组
|
|
7
|
+
*/
|
|
8
|
+
function _isSlot(s) {
|
|
9
|
+
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
10
|
+
}
|
|
11
|
+
const GctFormGroup = /* @__PURE__ */ defineComponent({
|
|
12
|
+
name: 'GctFormGroup',
|
|
13
|
+
props: {
|
|
14
|
+
c: {
|
|
15
|
+
type: Object,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
18
|
+
model: {
|
|
19
|
+
type: Object,
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
context: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: () => ({})
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(props) {
|
|
28
|
+
const ns = useNamespace('gct-form-group');
|
|
29
|
+
const keys = ref([0]);
|
|
30
|
+
function renderContainer(items) {
|
|
31
|
+
if (props.model.layout === 'flex') {
|
|
32
|
+
return createVNode(resolveComponent("flex-container"), {
|
|
33
|
+
"layout": props.model.flex
|
|
34
|
+
}, _isSlot(items) ? items : {
|
|
35
|
+
default: () => [items]
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
if (props.model.layout === 'grid') {
|
|
39
|
+
return createVNode(resolveComponent("grid-container"), {
|
|
40
|
+
"layout": props.model.grid
|
|
41
|
+
}, _isSlot(items) ? items : {
|
|
42
|
+
default: () => [items]
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
console.error('不支持的layout类型' + props.model.layout);
|
|
46
|
+
}
|
|
47
|
+
const style = {};
|
|
48
|
+
if (props.model.width) {
|
|
49
|
+
style[ns.cssVarName('form-group-width')] = props.model.width;
|
|
50
|
+
}
|
|
51
|
+
if (props.model.height) {
|
|
52
|
+
style[ns.cssVarName('form-group-height')] = props.model.height;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
ns,
|
|
56
|
+
keys,
|
|
57
|
+
style,
|
|
58
|
+
renderContainer
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
render() {
|
|
62
|
+
if (this.c.state.keepalive !== true && this.c.state.visible === false) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
const items = this.$slots.default?.() || [];
|
|
66
|
+
if (this.model.isCollapse) {
|
|
67
|
+
let _slot;
|
|
68
|
+
return createVNode(resolveComponent("a-collapse"), {
|
|
69
|
+
"activeKey": this.keys,
|
|
70
|
+
"onUpdate:activeKey": $event => this.keys = $event,
|
|
71
|
+
"class": [this.ns.b(), this.ns.is('hidden-header', this.model.showHeader === false), this.ns.is('hidden', this.c.state.visible === false)],
|
|
72
|
+
"style": this.style,
|
|
73
|
+
"ghost": true
|
|
74
|
+
}, {
|
|
75
|
+
default: () => [createVNode(resolveComponent("a-collapse-panel"), {
|
|
76
|
+
"key": "0",
|
|
77
|
+
"header": this.model.title
|
|
78
|
+
}, _isSlot(_slot = this.renderContainer(items)) ? _slot : {
|
|
79
|
+
default: () => [_slot]
|
|
80
|
+
})]
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
return createVNode("div", {
|
|
84
|
+
"class": [this.ns.b(), this.ns.is('hidden-header', this.model.showHeader === false), this.ns.is('hidden', this.c.state.visible === false), this.model.class],
|
|
85
|
+
"style": this.style
|
|
86
|
+
}, [this.model.showHeader === false ? createVNode("div", {
|
|
87
|
+
"class": this.ns.e('title')
|
|
88
|
+
}, [this.model.title]) : null, createVNode("div", {
|
|
89
|
+
"class": this.ns.e('content')
|
|
90
|
+
}, [this.renderContainer(items)])]);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
export { GctFormGroup };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IFormGroup, IFormItemBasic } from '../../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 表单分组模型
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class GctFormGroupModel
|
|
7
|
+
* @implements {IFormGroup}
|
|
8
|
+
*/
|
|
9
|
+
export declare class GctFormGroupModel implements IFormGroup {
|
|
10
|
+
type: "group";
|
|
11
|
+
isContainer: true;
|
|
12
|
+
layout: 'flex' | 'grid';
|
|
13
|
+
children: IFormItemBasic[];
|
|
14
|
+
name: string;
|
|
15
|
+
title?: string;
|
|
16
|
+
showHeader?: boolean;
|
|
17
|
+
isCollapse?: boolean;
|
|
18
|
+
constructor(name: string, opts: Partial<IFormGroup>, children: IFormItemBasic[]);
|
|
19
|
+
}
|
package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.provider.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFormController, IFormGroupController, IFormItemBasic, IFormItemProvider } from '
|
|
1
|
+
import { IFormController, IFormGroupController, IFormItemBasic, IFormItemProvider } from '../../../interface';
|
|
2
2
|
export declare class GctFormGroupProvider implements IFormItemProvider {
|
|
3
3
|
component: string;
|
|
4
4
|
createController(form: IFormController, item: IFormItemBasic): IFormGroupController;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import 'vue';
|
|
2
|
+
import 'qx-util';
|
|
3
|
+
import { useFormItemController } from '../../../controller/form-item-basic/form-item-basic.controller.mjs';
|
|
4
|
+
import { FormGroupController } from '../../../controller/form-group/form-group.controller.mjs';
|
|
5
|
+
import 'lodash-es';
|
|
6
|
+
|
|
7
|
+
class GctFormGroupProvider {
|
|
8
|
+
component = "gct-form-group";
|
|
9
|
+
createController(form, item) {
|
|
10
|
+
return useFormItemController(() => new FormGroupController(form, item));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { GctFormGroupProvider };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import 'vue';
|
|
2
|
+
import { GctFormGroupProvider } from './gct-form-group.provider.mjs';
|
|
3
|
+
import { GctFormGroup as GctFormGroup$1 } from './gct-form-group.mjs';
|
|
4
|
+
|
|
5
|
+
const GctFormGroup = {
|
|
6
|
+
install(app) {
|
|
7
|
+
_gct.register.formItem.register(
|
|
8
|
+
"container",
|
|
9
|
+
() => new GctFormGroupProvider()
|
|
10
|
+
);
|
|
11
|
+
app.component(GctFormGroup$1.name, GctFormGroup$1);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { GctFormGroup as default };
|
package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IFormHiddenItem } from '../../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 表单隐藏项模型
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class GctFormHiddenItemModel
|
|
7
|
+
* @implements {IFormHiddenItem}
|
|
8
|
+
*/
|
|
9
|
+
export declare class GctFormHiddenItemModel implements IFormHiddenItem {
|
|
10
|
+
type: "hidden";
|
|
11
|
+
name: string;
|
|
12
|
+
field?: string;
|
|
13
|
+
defaultValue?: any;
|
|
14
|
+
editor?: any;
|
|
15
|
+
constructor(name: string, options?: Partial<IFormHiddenItem>);
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IFormController, IFormHiddenItemController, IFormItemBasic, IFormItemProvider } from '../../../interface';
|
|
2
2
|
export declare class GctFormHiddenItemProvider implements IFormItemProvider {
|
|
3
3
|
component: string;
|
|
4
|
-
createController(form: IFormController, item: IFormItemBasic):
|
|
4
|
+
createController(form: IFormController, item: IFormItemBasic): IFormHiddenItemController;
|
|
5
5
|
}
|
package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import 'vue';
|
|
2
|
+
import 'qx-util';
|
|
3
|
+
import { useFormItemController } from '../../../controller/form-item-basic/form-item-basic.controller.mjs';
|
|
4
|
+
import 'lodash-es';
|
|
5
|
+
import { FormHiddenItemController } from '../../../controller/form-item-hidden/form-item-hidden.controller.mjs';
|
|
6
|
+
|
|
7
|
+
class GctFormHiddenItemProvider {
|
|
8
|
+
component = "gct-form-hidden-item";
|
|
9
|
+
createController(form, item) {
|
|
10
|
+
return useFormItemController(
|
|
11
|
+
() => new FormHiddenItemController(form, item)
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { GctFormHiddenItemProvider };
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
3
|
+
/* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
|
|
4
|
+
/**
|
|
5
|
+
* 定义 Block 块
|
|
6
|
+
* @param {String} $block - Block 块名称
|
|
7
|
+
* @example
|
|
8
|
+
* @include b('button') {
|
|
9
|
+
* padding: 10px;
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 定义 Element 元素
|
|
14
|
+
* @param {String|List} $element - Element 元素名称,支持单个或多个
|
|
15
|
+
* @example
|
|
16
|
+
* @include b('button') {
|
|
17
|
+
* @include e('text') {
|
|
18
|
+
* color: #000;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* // 或传入多个元素
|
|
22
|
+
* @include b('button') {
|
|
23
|
+
* @include e(('text', 'icon')) {
|
|
24
|
+
* margin: 5px;
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* 定义 Modifier 修饰符
|
|
30
|
+
* @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
|
|
31
|
+
* @example
|
|
32
|
+
* @include b('button') {
|
|
33
|
+
* @include m('primary') {
|
|
34
|
+
* background: blue;
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* // 或传入多个修饰符
|
|
38
|
+
* @include b('button') {
|
|
39
|
+
* @include m(('primary', 'large')) {
|
|
40
|
+
* background: blue;
|
|
41
|
+
* font-size: 16px;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* 定义状态选择器
|
|
47
|
+
* @param {String} $state - 状态名称
|
|
48
|
+
* @example
|
|
49
|
+
* @include b('button') {
|
|
50
|
+
* @include when('disabled') {
|
|
51
|
+
* opacity: 0.5;
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* 深色主题样式
|
|
57
|
+
* @param {String} $block - Block 块名称
|
|
58
|
+
* @example
|
|
59
|
+
* @include dark('button') {
|
|
60
|
+
* background: #333;
|
|
61
|
+
* color: #fff;
|
|
62
|
+
* }
|
|
63
|
+
*/
|
|
64
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
65
|
+
.gct-gct-form-item {
|
|
66
|
+
--gct-form-item-min-height: 32px;
|
|
67
|
+
--gct-form-item-height: auto;
|
|
68
|
+
--gct-form-item-width: auto;
|
|
69
|
+
--gct-form-item-label-width: 100px;
|
|
70
|
+
--gct-form-item-readonly-color: #999;
|
|
71
|
+
--gct-form-item-placeholder-color: var(--gct-color-text-7);
|
|
72
|
+
--gct-form-item-label-align: right;
|
|
73
|
+
--gct-form-item-editor-align: left;
|
|
74
|
+
--gct-form-item-label-color: #252525;
|
|
75
|
+
--gct-form-item-label-font-size: 14px;
|
|
76
|
+
--gct-form-item-checkbox-width: 6px;
|
|
77
|
+
--gct-form-item-checkbox-height: 9px;
|
|
78
|
+
width: var(--gct-form-item-width);
|
|
79
|
+
height: var(--gct-form-item-height);
|
|
80
|
+
min-height: var(--gct-form-item-min-height);
|
|
81
|
+
}
|
|
82
|
+
.gct-gct-form-item.is-hidden-label > .ant-col.ant-form-item-control > .ant-form-item-control-input > .ant-form-item-control-input-content > .gct-gct-form-item__editor {
|
|
83
|
+
width: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.gct-gct-form-item.is-hidden-error {
|
|
87
|
+
margin-bottom: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.gct-gct-form-item.is-hidden {
|
|
91
|
+
display: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.gct-gct-form-item.is-readonly {
|
|
95
|
+
margin-bottom: 18px !important;
|
|
96
|
+
--gct-form-item-min-height: 22px;
|
|
97
|
+
}
|
|
98
|
+
.gct-gct-form-item.is-readonly .ant-form-item-label {
|
|
99
|
+
padding: 0;
|
|
100
|
+
}
|
|
101
|
+
.gct-gct-form-item.is-readonly .ant-form-item-label label {
|
|
102
|
+
color: var(--gct-form-item-readonly-color);
|
|
103
|
+
}
|
|
104
|
+
.gct-gct-form-item.is-readonly .gct-gct-form-item__label {
|
|
105
|
+
color: var(--gct-form-item-readonly-color);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.gct-gct-form-item.is-required .gct-gct-form-item__label::before {
|
|
109
|
+
display: inline-block;
|
|
110
|
+
margin-inline-end: 4px;
|
|
111
|
+
color: #ff4d4f;
|
|
112
|
+
font-size: 14px;
|
|
113
|
+
font-family: SimSun, sans-serif;
|
|
114
|
+
line-height: 1;
|
|
115
|
+
content: "*";
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.gct-gct-form-item .ant-input {
|
|
119
|
+
border-radius: 4px;
|
|
120
|
+
}
|
|
121
|
+
.gct-gct-form-item .ant-form-item-label {
|
|
122
|
+
width: var(--gct-form-item-label-width);
|
|
123
|
+
text-align: var(--gct-form-item-label-align);
|
|
124
|
+
}
|
|
125
|
+
.gct-gct-form-item .ant-form-item-label label {
|
|
126
|
+
color: var(--gct-form-item-label-color);
|
|
127
|
+
font-size: var(--gct-form-item-label-font-size);
|
|
128
|
+
}
|
|
129
|
+
.gct-gct-form-item .ant-form-item-control-input-content {
|
|
130
|
+
text-align: var(--gct-form-item-editor-align);
|
|
131
|
+
}
|
|
132
|
+
.gct-gct-form-item__label {
|
|
133
|
+
width: var(--gct-form-item-label-width);
|
|
134
|
+
line-height: 1.5715;
|
|
135
|
+
font-size: var(--gct-form-item-label-font-size);
|
|
136
|
+
}
|
|
137
|
+
.gct-gct-form-item__label--top {
|
|
138
|
+
width: 100%;
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.gct-gct-form-item--label-top .gct-gct-form-item__label {
|
|
144
|
+
margin-bottom: 8px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.gct-gct-form-item__label-tooltip {
|
|
148
|
+
color: var(--gct-color-text-6);
|
|
149
|
+
}
|
|
150
|
+
.gct-gct-form-item__label-tooltip:hover {
|
|
151
|
+
color: var(--gct-color-text-4);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.gct-gct-form-item .ant-form-item-control-input {
|
|
155
|
+
flex-grow: 1;
|
|
156
|
+
}
|
|
157
|
+
.gct-gct-form-item .ant-checkbox-group {
|
|
158
|
+
font-size: var(--gct-form-item-label-font-size);
|
|
159
|
+
}
|
|
160
|
+
.gct-gct-form-item .ant-checkbox-group .ant-checkbox-wrapper {
|
|
161
|
+
font-size: var(--gct-form-item-label-font-size);
|
|
162
|
+
}
|
|
163
|
+
.gct-gct-form-item .ant-checkbox-group .ant-form input[type=checkbox],
|
|
164
|
+
.gct-gct-form-item .ant-checkbox-group .ant-checkbox-inner {
|
|
165
|
+
width: var(--gct-form-item-label-font-size);
|
|
166
|
+
height: var(--gct-form-item-label-font-size);
|
|
167
|
+
}
|
|
168
|
+
.gct-gct-form-item .ant-checkbox-group .ant-checkbox-inner::after {
|
|
169
|
+
width: var(--gct-form-item-checkbox-width);
|
|
170
|
+
height: var(--gct-form-item-checkbox-height);
|
|
171
|
+
}
|