@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
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, normalizeStyle, unref, normalizeClass, createBlock, createCommentVNode, toDisplayString, Fragment, renderList, withDirectives, vModelText, nextTick } from 'vue';
|
|
2
|
+
import { Form, Empty } from 'ant-design-vue';
|
|
3
|
+
import 'overlayscrollbars-vue';
|
|
4
|
+
import { useIconAsset } from '../hooks/useIconAsset.mjs';
|
|
5
|
+
import { useIconPark } from '../hooks/useIconPark.mjs';
|
|
6
|
+
import { useIconPlatform } from '../hooks/useIconPlatform.mjs';
|
|
7
|
+
import { IconNamespaceEnum } from '../types/index.mjs';
|
|
8
|
+
import IconNext from './IconNext.vue2.mjs';
|
|
9
|
+
import { debounce, cloneDeep } from 'lodash-es';
|
|
10
|
+
import { usePlatformConfigStore } from '@gct-paas/core';
|
|
11
|
+
|
|
12
|
+
const _hoisted_1 = { class: "icon-picker-next" };
|
|
13
|
+
const _hoisted_2 = { class: "p-12px" };
|
|
14
|
+
const _hoisted_3 = { class: "flex icon-picker-next__container" };
|
|
15
|
+
const _hoisted_4 = { class: "icon-picker-next__cats" };
|
|
16
|
+
const _hoisted_5 = ["title", "data-id", "onClick"];
|
|
17
|
+
const _hoisted_6 = { class: "icon-picker-next__panel" };
|
|
18
|
+
const _hoisted_7 = { class: "icon-picker-next__icons" };
|
|
19
|
+
const _hoisted_8 = { class: "icon__list" };
|
|
20
|
+
const _hoisted_9 = ["title", "data-id", "onClick"];
|
|
21
|
+
const _hoisted_10 = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "color__setting"
|
|
24
|
+
};
|
|
25
|
+
const _hoisted_11 = { class: "color__list" };
|
|
26
|
+
const _hoisted_12 = ["onClick"];
|
|
27
|
+
const _hoisted_13 = { class: "color__input" };
|
|
28
|
+
const _hoisted_14 = {
|
|
29
|
+
key: 1,
|
|
30
|
+
class: "color__setting"
|
|
31
|
+
};
|
|
32
|
+
const _hoisted_15 = { class: "color__list" };
|
|
33
|
+
const _hoisted_16 = ["onClick"];
|
|
34
|
+
const _hoisted_17 = { class: "color__input" };
|
|
35
|
+
const _hoisted_18 = {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "flex items-center justify-center h-full"
|
|
38
|
+
};
|
|
39
|
+
const DEFAULT_COLOR = "#FFFFFF";
|
|
40
|
+
const DEFAULT_BACKGROUND = "#3370FF";
|
|
41
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
|
+
__name: "IconNextPicker",
|
|
43
|
+
props: {
|
|
44
|
+
value: {
|
|
45
|
+
type: String,
|
|
46
|
+
required: true
|
|
47
|
+
},
|
|
48
|
+
disabled: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
},
|
|
52
|
+
color: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: "#FFFFFF"
|
|
55
|
+
},
|
|
56
|
+
size: {
|
|
57
|
+
type: Number,
|
|
58
|
+
default: 30
|
|
59
|
+
},
|
|
60
|
+
showColor: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: false
|
|
63
|
+
},
|
|
64
|
+
background: {
|
|
65
|
+
type: String
|
|
66
|
+
},
|
|
67
|
+
showBackground: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
emits: ["update:value", "update:color", "update:background"],
|
|
73
|
+
setup(__props, { emit: __emit }) {
|
|
74
|
+
const { themeSetting } = usePlatformConfigStore();
|
|
75
|
+
const props = __props;
|
|
76
|
+
const emit = __emit;
|
|
77
|
+
const { getIconAssetCats } = useIconAsset();
|
|
78
|
+
const { getIconParkCats } = useIconPark();
|
|
79
|
+
const { getIconPlatformCats } = useIconPlatform();
|
|
80
|
+
const { onFieldChange } = Form.useInjectFormItemContext();
|
|
81
|
+
const TreeScrollRef = ref();
|
|
82
|
+
const IconsScrollRef = ref();
|
|
83
|
+
const spinning = ref(false);
|
|
84
|
+
const BASIC_COLORS = [
|
|
85
|
+
"#3370FF",
|
|
86
|
+
"#0DAA9C",
|
|
87
|
+
"#EF3232",
|
|
88
|
+
"#EFA332",
|
|
89
|
+
"#18C8D3",
|
|
90
|
+
"#A33FF2"
|
|
91
|
+
];
|
|
92
|
+
const ICON_COLOR = [DEFAULT_COLOR, ...BASIC_COLORS];
|
|
93
|
+
const ICON_BACKGROUND = ["transparent", ...BASIC_COLORS];
|
|
94
|
+
const customColor = ref(DEFAULT_COLOR);
|
|
95
|
+
const customColorChecked = ref(false);
|
|
96
|
+
const customBackground = ref(DEFAULT_COLOR);
|
|
97
|
+
const customBackgroundChecked = ref(false);
|
|
98
|
+
let catTreeCache = [];
|
|
99
|
+
const catTree = ref([]);
|
|
100
|
+
const catIcons = ref([]);
|
|
101
|
+
const selectedKeys = ref([]);
|
|
102
|
+
const searchKey = ref("");
|
|
103
|
+
const supportColor = computed(() => {
|
|
104
|
+
return catIcons.value.length > 0 && !catIcons.value[0].id.startsWith(IconNamespaceEnum.Asset);
|
|
105
|
+
});
|
|
106
|
+
const activeDefault = () => {
|
|
107
|
+
let cat = catTree.value[0] || {};
|
|
108
|
+
let selectCat = void 0;
|
|
109
|
+
if (cat) {
|
|
110
|
+
selectCat = cat.icons ? cat : cat.children?.[0];
|
|
111
|
+
}
|
|
112
|
+
if (selectCat) {
|
|
113
|
+
selectedKeys.value = [selectCat.id];
|
|
114
|
+
catIcons.value = selectCat.icons;
|
|
115
|
+
} else {
|
|
116
|
+
selectedKeys.value = [];
|
|
117
|
+
catIcons.value = [];
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
const activeSelected = async () => {
|
|
121
|
+
if (props.value) {
|
|
122
|
+
let cat = catTree.value.reduce((total, c) => {
|
|
123
|
+
if ("children" in c) {
|
|
124
|
+
total.push(...c.children);
|
|
125
|
+
} else {
|
|
126
|
+
total.push(c);
|
|
127
|
+
}
|
|
128
|
+
return total;
|
|
129
|
+
}, []).find((c) => c.icons.map((i) => i.id).includes(props.value));
|
|
130
|
+
if (cat) {
|
|
131
|
+
selectedKeys.value = [cat.id];
|
|
132
|
+
catIcons.value = cat.icons;
|
|
133
|
+
await nextTick();
|
|
134
|
+
TreeScrollRef.value?.getElement()?.scrollIntoView({
|
|
135
|
+
block: "center"
|
|
136
|
+
});
|
|
137
|
+
IconsScrollRef.value?.getElement()?.scrollIntoView({ block: "center" });
|
|
138
|
+
} else {
|
|
139
|
+
activeDefault();
|
|
140
|
+
}
|
|
141
|
+
} else {
|
|
142
|
+
activeDefault();
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
const handleVisibleChange = async (visible) => {
|
|
146
|
+
if (!visible) {
|
|
147
|
+
searchKey.value = "";
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
spinning.value = true;
|
|
151
|
+
if (catTreeCache.length > 0) {
|
|
152
|
+
catTree.value = catTreeCache;
|
|
153
|
+
} else {
|
|
154
|
+
const iconParkCats = getIconParkCats();
|
|
155
|
+
const iconAssetCats = await getIconAssetCats();
|
|
156
|
+
const iconPlatformCats = getIconPlatformCats();
|
|
157
|
+
catTreeCache = iconAssetCats.concat(iconParkCats).concat(iconPlatformCats);
|
|
158
|
+
catTree.value = catTreeCache;
|
|
159
|
+
}
|
|
160
|
+
if (!props.color) {
|
|
161
|
+
emit("update:color", DEFAULT_COLOR);
|
|
162
|
+
} else if (ICON_COLOR.includes(props.color)) {
|
|
163
|
+
customColor.value = DEFAULT_COLOR;
|
|
164
|
+
customColorChecked.value = false;
|
|
165
|
+
} else {
|
|
166
|
+
customColor.value = props.color;
|
|
167
|
+
customColorChecked.value = true;
|
|
168
|
+
}
|
|
169
|
+
if (!props.background) {
|
|
170
|
+
emit("update:background", DEFAULT_BACKGROUND);
|
|
171
|
+
} else if (ICON_BACKGROUND.includes(props.background)) {
|
|
172
|
+
customBackground.value = DEFAULT_COLOR;
|
|
173
|
+
customBackgroundChecked.value = false;
|
|
174
|
+
} else {
|
|
175
|
+
customBackground.value = props.background;
|
|
176
|
+
customBackgroundChecked.value = true;
|
|
177
|
+
}
|
|
178
|
+
activeSelected();
|
|
179
|
+
spinning.value = false;
|
|
180
|
+
};
|
|
181
|
+
function recursiveIcons(arr, searchKey2) {
|
|
182
|
+
return arr.map((tree) => {
|
|
183
|
+
const childKey = ["children", "icons"].find((key) => !!tree[key]);
|
|
184
|
+
if (childKey) {
|
|
185
|
+
tree[childKey] = recursiveIcons(tree[childKey], searchKey2);
|
|
186
|
+
if (tree[childKey].length > 0) {
|
|
187
|
+
return tree;
|
|
188
|
+
}
|
|
189
|
+
return void 0;
|
|
190
|
+
} else {
|
|
191
|
+
const _filter_ = tree._filter_;
|
|
192
|
+
const isMatch = _filter_.some((k) => k.includes(searchKey2));
|
|
193
|
+
if (isMatch) {
|
|
194
|
+
return tree;
|
|
195
|
+
}
|
|
196
|
+
return void 0;
|
|
197
|
+
}
|
|
198
|
+
}).filter(Boolean);
|
|
199
|
+
}
|
|
200
|
+
const searchKeyHandler = (e) => {
|
|
201
|
+
spinning.value = true;
|
|
202
|
+
const key = e.target.value?.trim();
|
|
203
|
+
if (!key) {
|
|
204
|
+
catTree.value = catTreeCache;
|
|
205
|
+
} else {
|
|
206
|
+
catTree.value = recursiveIcons(cloneDeep(catTreeCache), key);
|
|
207
|
+
}
|
|
208
|
+
activeDefault();
|
|
209
|
+
spinning.value = false;
|
|
210
|
+
};
|
|
211
|
+
const handleSearchKeyChange = debounce(searchKeyHandler, 500);
|
|
212
|
+
const handleCategoryClick = (data) => {
|
|
213
|
+
if (data?.children && data?.children.length) {
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
catIcons.value = data.icons ?? [];
|
|
217
|
+
selectedKeys.value = [data.id];
|
|
218
|
+
};
|
|
219
|
+
function handleIconClick(icon) {
|
|
220
|
+
emit("update:value", icon);
|
|
221
|
+
onFieldChange();
|
|
222
|
+
}
|
|
223
|
+
const handleSelectColor = (color, custom = false) => {
|
|
224
|
+
customColorChecked.value = custom;
|
|
225
|
+
emit("update:color", color);
|
|
226
|
+
onFieldChange();
|
|
227
|
+
};
|
|
228
|
+
const handleCustomColorChange = () => {
|
|
229
|
+
if (customColorChecked.value) {
|
|
230
|
+
emit("update:color", customColor.value);
|
|
231
|
+
onFieldChange();
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
const handleSelectBackground = (color, custom = false) => {
|
|
235
|
+
customBackgroundChecked.value = custom;
|
|
236
|
+
emit("update:background", color);
|
|
237
|
+
onFieldChange();
|
|
238
|
+
};
|
|
239
|
+
const handleCustomBackgroundChange = () => {
|
|
240
|
+
if (customBackgroundChecked.value) {
|
|
241
|
+
emit("update:background", customBackground.value);
|
|
242
|
+
onFieldChange();
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
return (_ctx, _cache) => {
|
|
246
|
+
const _component_a_input = resolveComponent("a-input");
|
|
247
|
+
const _component_a_tree = resolveComponent("a-tree");
|
|
248
|
+
const _component_overlayScrollbarsComponent = resolveComponent("overlayScrollbarsComponent");
|
|
249
|
+
const _component_CheckOutlined = resolveComponent("CheckOutlined");
|
|
250
|
+
const _component_a_empty = resolveComponent("a-empty");
|
|
251
|
+
const _component_a_spin = resolveComponent("a-spin");
|
|
252
|
+
const _component_a_popover = resolveComponent("a-popover");
|
|
253
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
254
|
+
createVNode(_component_a_popover, {
|
|
255
|
+
placement: "bottomLeft",
|
|
256
|
+
trigger: "click",
|
|
257
|
+
"overlay-class-name": "icon-picker-next__popover",
|
|
258
|
+
onVisibleChange: handleVisibleChange
|
|
259
|
+
}, {
|
|
260
|
+
content: withCtx(() => [
|
|
261
|
+
createElementVNode("div", _hoisted_2, [
|
|
262
|
+
createVNode(_component_a_input, {
|
|
263
|
+
value: searchKey.value,
|
|
264
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
|
|
265
|
+
class: "icon-picker-next__search",
|
|
266
|
+
placeholder: "搜索图标",
|
|
267
|
+
"allow-clear": "",
|
|
268
|
+
onChange: _cache[1] || (_cache[1] = (e) => {
|
|
269
|
+
spinning.value = true;
|
|
270
|
+
unref(handleSearchKeyChange)(e);
|
|
271
|
+
})
|
|
272
|
+
}, {
|
|
273
|
+
prefix: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
274
|
+
createElementVNode("i", { class: "iconfont icon-sousuo1" }, null, -1)
|
|
275
|
+
])]),
|
|
276
|
+
_: 1
|
|
277
|
+
}, 8, ["value"])
|
|
278
|
+
]),
|
|
279
|
+
createVNode(_component_a_spin, { spinning: spinning.value }, {
|
|
280
|
+
default: withCtx(() => [
|
|
281
|
+
createElementVNode("div", _hoisted_3, [
|
|
282
|
+
createElementVNode("div", _hoisted_4, [
|
|
283
|
+
createVNode(_component_overlayScrollbarsComponent, {
|
|
284
|
+
ref_key: "TreeScrollRef",
|
|
285
|
+
ref: TreeScrollRef
|
|
286
|
+
}, {
|
|
287
|
+
default: withCtx(() => [
|
|
288
|
+
catTree.value.length > 0 ? (openBlock(), createBlock(_component_a_tree, {
|
|
289
|
+
key: 0,
|
|
290
|
+
"selected-keys": selectedKeys.value,
|
|
291
|
+
"default-expand-all": "",
|
|
292
|
+
"block-node": "",
|
|
293
|
+
"field-names": {
|
|
294
|
+
children: "children",
|
|
295
|
+
title: "name",
|
|
296
|
+
key: "id"
|
|
297
|
+
},
|
|
298
|
+
"tree-data": catTree.value
|
|
299
|
+
}, {
|
|
300
|
+
title: withCtx(({ data }) => [
|
|
301
|
+
createElementVNode("div", {
|
|
302
|
+
class: "ell",
|
|
303
|
+
title: data.name,
|
|
304
|
+
"data-id": data.id,
|
|
305
|
+
onClick: ($event) => handleCategoryClick(data)
|
|
306
|
+
}, toDisplayString(data.name), 9, _hoisted_5)
|
|
307
|
+
]),
|
|
308
|
+
_: 1
|
|
309
|
+
}, 8, ["selected-keys", "tree-data"])) : createCommentVNode("", true)
|
|
310
|
+
]),
|
|
311
|
+
_: 1
|
|
312
|
+
}, 512)
|
|
313
|
+
]),
|
|
314
|
+
createElementVNode("div", _hoisted_6, [
|
|
315
|
+
catIcons.value?.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
316
|
+
createElementVNode("div", _hoisted_7, [
|
|
317
|
+
createVNode(_component_overlayScrollbarsComponent, {
|
|
318
|
+
ref_key: "IconsScrollRef",
|
|
319
|
+
ref: IconsScrollRef
|
|
320
|
+
}, {
|
|
321
|
+
default: withCtx(() => [
|
|
322
|
+
createElementVNode("ul", _hoisted_8, [
|
|
323
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(catIcons.value, (icon) => {
|
|
324
|
+
return openBlock(), createElementBlock("li", {
|
|
325
|
+
key: icon.name,
|
|
326
|
+
style: normalizeStyle({
|
|
327
|
+
"--background": __props.background || unref(themeSetting).themeColor
|
|
328
|
+
}),
|
|
329
|
+
class: normalizeClass({
|
|
330
|
+
"icon-picker-next--selected": icon.id === __props.value
|
|
331
|
+
}),
|
|
332
|
+
title: icon.name,
|
|
333
|
+
"data-id": icon.id,
|
|
334
|
+
onClick: ($event) => handleIconClick(icon.id)
|
|
335
|
+
}, [
|
|
336
|
+
createVNode(IconNext, {
|
|
337
|
+
value: icon.id,
|
|
338
|
+
color: icon.id === __props.value ? __props.color : DEFAULT_COLOR
|
|
339
|
+
}, null, 8, ["value", "color"])
|
|
340
|
+
], 14, _hoisted_9);
|
|
341
|
+
}), 128))
|
|
342
|
+
])
|
|
343
|
+
]),
|
|
344
|
+
_: 1
|
|
345
|
+
}, 512)
|
|
346
|
+
]),
|
|
347
|
+
__props.showBackground ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
348
|
+
_cache[7] || (_cache[7] = createElementVNode("div", { class: "color__title" }, "背景颜色", -1)),
|
|
349
|
+
createElementVNode("div", _hoisted_11, [
|
|
350
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(ICON_BACKGROUND, (colorItem) => {
|
|
351
|
+
return createElementVNode("span", {
|
|
352
|
+
key: colorItem,
|
|
353
|
+
class: normalizeClass(["color__item", "color__item--" + colorItem]),
|
|
354
|
+
style: normalizeStyle({ backgroundColor: colorItem }),
|
|
355
|
+
onClick: () => handleSelectBackground(colorItem)
|
|
356
|
+
}, [
|
|
357
|
+
__props.background === colorItem ? (openBlock(), createBlock(_component_CheckOutlined, { key: 0 })) : createCommentVNode("", true)
|
|
358
|
+
], 14, _hoisted_12);
|
|
359
|
+
}), 64))
|
|
360
|
+
]),
|
|
361
|
+
createElementVNode("div", _hoisted_13, [
|
|
362
|
+
createElementVNode("div", {
|
|
363
|
+
class: "color__preview",
|
|
364
|
+
style: normalizeStyle({
|
|
365
|
+
"--custom-bg": customBackground.value
|
|
366
|
+
}),
|
|
367
|
+
onClick: _cache[2] || (_cache[2] = () => handleSelectBackground(customBackground.value, true))
|
|
368
|
+
}, [
|
|
369
|
+
customBackgroundChecked.value ? (openBlock(), createBlock(_component_CheckOutlined, { key: 0 })) : createCommentVNode("", true)
|
|
370
|
+
], 4),
|
|
371
|
+
withDirectives(createElementVNode("input", {
|
|
372
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => customBackground.value = $event),
|
|
373
|
+
type: "text",
|
|
374
|
+
onBlur: handleCustomBackgroundChange
|
|
375
|
+
}, null, 544), [
|
|
376
|
+
[vModelText, customBackground.value]
|
|
377
|
+
])
|
|
378
|
+
])
|
|
379
|
+
])) : createCommentVNode("", true),
|
|
380
|
+
__props.showColor && supportColor.value ? (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
381
|
+
_cache[8] || (_cache[8] = createElementVNode("div", { class: "color__title" }, "图标色", -1)),
|
|
382
|
+
createElementVNode("div", _hoisted_15, [
|
|
383
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(ICON_COLOR, (colorItem) => {
|
|
384
|
+
return createElementVNode("span", {
|
|
385
|
+
key: colorItem,
|
|
386
|
+
class: "color__item",
|
|
387
|
+
style: normalizeStyle({ backgroundColor: colorItem }),
|
|
388
|
+
onClick: () => handleSelectColor(colorItem)
|
|
389
|
+
}, [
|
|
390
|
+
__props.color === colorItem ? (openBlock(), createBlock(_component_CheckOutlined, { key: 0 })) : createCommentVNode("", true)
|
|
391
|
+
], 12, _hoisted_16);
|
|
392
|
+
}), 64))
|
|
393
|
+
]),
|
|
394
|
+
createElementVNode("div", _hoisted_17, [
|
|
395
|
+
createElementVNode("div", {
|
|
396
|
+
class: "color__preview",
|
|
397
|
+
style: normalizeStyle({
|
|
398
|
+
"--custom-bg": customColor.value
|
|
399
|
+
}),
|
|
400
|
+
onClick: _cache[4] || (_cache[4] = () => handleSelectColor(customColor.value, true))
|
|
401
|
+
}, [
|
|
402
|
+
customColorChecked.value ? (openBlock(), createBlock(_component_CheckOutlined, { key: 0 })) : createCommentVNode("", true)
|
|
403
|
+
], 4),
|
|
404
|
+
withDirectives(createElementVNode("input", {
|
|
405
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => customColor.value = $event),
|
|
406
|
+
type: "text",
|
|
407
|
+
onBlur: handleCustomColorChange
|
|
408
|
+
}, null, 544), [
|
|
409
|
+
[vModelText, customColor.value]
|
|
410
|
+
])
|
|
411
|
+
])
|
|
412
|
+
])) : createCommentVNode("", true)
|
|
413
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
414
|
+
createVNode(_component_a_empty, {
|
|
415
|
+
image: unref(Empty).PRESENTED_IMAGE_SIMPLE,
|
|
416
|
+
description: null
|
|
417
|
+
}, null, 8, ["image"])
|
|
418
|
+
]))
|
|
419
|
+
])
|
|
420
|
+
])
|
|
421
|
+
]),
|
|
422
|
+
_: 1
|
|
423
|
+
}, 8, ["spinning"])
|
|
424
|
+
]),
|
|
425
|
+
default: withCtx(() => [
|
|
426
|
+
createElementVNode("div", {
|
|
427
|
+
class: normalizeClass(["icon-picker-next__trigger cursor-pointer", {
|
|
428
|
+
"icon-picker-next--selected": __props.value
|
|
429
|
+
}]),
|
|
430
|
+
style: normalizeStyle({
|
|
431
|
+
"--background": __props.background || unref(themeSetting).themeColor
|
|
432
|
+
})
|
|
433
|
+
}, [
|
|
434
|
+
__props.value ? (openBlock(), createBlock(IconNext, {
|
|
435
|
+
key: 0,
|
|
436
|
+
value: __props.value,
|
|
437
|
+
size: __props.size,
|
|
438
|
+
color: __props.color
|
|
439
|
+
}, null, 8, ["value", "size", "color"])) : createCommentVNode("", true),
|
|
440
|
+
_cache[9] || (_cache[9] = createElementVNode("div", null, [
|
|
441
|
+
createElementVNode("i", { class: "iconfont icon-bianji" })
|
|
442
|
+
], -1))
|
|
443
|
+
], 6)
|
|
444
|
+
]),
|
|
445
|
+
_: 1
|
|
446
|
+
})
|
|
447
|
+
]);
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
|
|
452
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ICategory {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
icons?: {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
_filter_: string[];
|
|
8
|
+
}[];
|
|
9
|
+
children?: ICategory[];
|
|
10
|
+
}
|
|
11
|
+
export declare enum IconNamespaceEnum {
|
|
12
|
+
Preset = "icon-preset",
|
|
13
|
+
IconPark = "icon-park",
|
|
14
|
+
Asset = "icon-assert",
|
|
15
|
+
Platform = "icon-platform",
|
|
16
|
+
GctIconFont = "gct-iconfont"
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var IconNamespaceEnum = /* @__PURE__ */ ((IconNamespaceEnum2) => {
|
|
2
|
+
IconNamespaceEnum2["Preset"] = "icon-preset";
|
|
3
|
+
IconNamespaceEnum2["IconPark"] = "icon-park";
|
|
4
|
+
IconNamespaceEnum2["Asset"] = "icon-assert";
|
|
5
|
+
IconNamespaceEnum2["Platform"] = "icon-platform";
|
|
6
|
+
IconNamespaceEnum2["GctIconFont"] = "gct-iconfont";
|
|
7
|
+
return IconNamespaceEnum2;
|
|
8
|
+
})(IconNamespaceEnum || {});
|
|
9
|
+
|
|
10
|
+
export { IconNamespaceEnum };
|
package/es/components/index.d.ts
CHANGED
|
@@ -8,9 +8,6 @@ import { default as DoubleInput } from './double-input/double-input.vue';
|
|
|
8
8
|
import { default as CopyModuleKey } from './copy-module-key/copy-module-key.vue';
|
|
9
9
|
export { SvgIcon, AssetsSvgIcon, BaseButton, BasicButton, WuJieContainer, DoubleInput, CopyModuleKey, };
|
|
10
10
|
export { CodeEditor } from './code-editor/code-editor';
|
|
11
|
-
export { FlexContainer } from './layout/flex-container/flex-container';
|
|
12
|
-
export { FlexItem } from './layout/flex-item/flex-item';
|
|
13
|
-
export { GridContainer } from './layout/grid-container/grid-container';
|
|
14
11
|
export { ViewContainer } from './layout/view-container/view-container';
|
|
15
12
|
declare const _default: {
|
|
16
13
|
install(app: App): void;
|
package/es/components/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from './svg-icon/svg-icon.vue.mjs';
|
|
2
|
-
import './layout/view-container/view-container.css';import './
|
|
2
|
+
import './layout/view-container/view-container.css';import './code-editor/code-editor.css';import './icon-next/src/IconNextPicker.css';import './copy-module-key/copy-module-key.css';import './basic-button/basic-button.css';import './base-button/base-button.css';import './svg-icon/svg-icon.css';/* empty css */
|
|
3
3
|
import { AssetsSvgIcon } from './assets-svg-icon/assets-svg-icon.mjs';
|
|
4
4
|
import 'vue';
|
|
5
5
|
import 'ant-design-vue';
|
|
@@ -10,16 +10,24 @@ import '@gct-paas/core';
|
|
|
10
10
|
import { WuJieContainer } from './wujie-container/wujie-container.mjs';
|
|
11
11
|
import 'bignumber.js';
|
|
12
12
|
/* empty css */
|
|
13
|
+
import '@gct-paas/platform-icons';
|
|
14
|
+
import IconNext from './icon-next/src/IconNext.vue2.mjs';
|
|
15
|
+
import _sfc_main$1 from './icon-next/src/IconNextPicker.vue2.mjs';
|
|
16
|
+
/* empty css */
|
|
13
17
|
import '@monaco-editor/loader';
|
|
14
18
|
/* empty css */
|
|
15
19
|
/* empty css */
|
|
16
|
-
/* empty css */
|
|
17
20
|
|
|
18
21
|
const Comps = {
|
|
19
22
|
install(app) {
|
|
20
23
|
app.component(AssetsSvgIcon.name, AssetsSvgIcon);
|
|
21
24
|
app.component(_sfc_main.name, _sfc_main);
|
|
22
25
|
app.component(WuJieContainer.name, WuJieContainer);
|
|
26
|
+
app.component(IconNext.name || IconNext.__name, IconNext);
|
|
27
|
+
app.component(
|
|
28
|
+
_sfc_main$1.name || _sfc_main$1.__name,
|
|
29
|
+
_sfc_main$1
|
|
30
|
+
);
|
|
23
31
|
}
|
|
24
32
|
};
|
|
25
33
|
|
|
@@ -34,7 +34,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
34
34
|
};
|
|
35
35
|
}>> & Readonly<{}>, {
|
|
36
36
|
size: string | number;
|
|
37
|
-
spin: boolean;
|
|
38
37
|
prefix: string;
|
|
38
|
+
spin: boolean;
|
|
39
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
40
40
|
export default _default;
|
package/es/create-app-vue.mjs
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { OverlayScrollbarsComponent } from 'overlayscrollbars-vue';
|
|
2
|
+
import 'overlayscrollbars/overlayscrollbars.css';
|
|
2
3
|
import Comps from './components/index.mjs';
|
|
3
4
|
import * as Icons from '@ant-design/icons-vue';
|
|
4
5
|
import { setupDirectives } from './directives/index.mjs';
|
|
5
6
|
import ColorPicker from './modules/color-picker/src/ColorPicker.vue.mjs';
|
|
7
|
+
import GctForm from './modules/gct-form/index.mjs';
|
|
8
|
+
import GctTable from './modules/gct-table/index.mjs';
|
|
6
9
|
|
|
7
10
|
async function coreWebCreateAppVue(app) {
|
|
8
11
|
setupDirectives(app);
|
|
@@ -12,6 +15,8 @@ async function coreWebCreateAppVue(app) {
|
|
|
12
15
|
});
|
|
13
16
|
app.component(ColorPicker.name, ColorPicker);
|
|
14
17
|
app.component(OverlayScrollbarsComponent.__name, OverlayScrollbarsComponent);
|
|
18
|
+
app.use(GctForm);
|
|
19
|
+
app.use(GctTable);
|
|
15
20
|
}
|
|
16
21
|
|
|
17
22
|
export { coreWebCreateAppVue };
|
package/es/hooks/index.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function useDesign(scope) {
|
|
2
|
+
const values = { prefixCls: "gct" };
|
|
3
|
+
return {
|
|
4
|
+
// prefixCls: computed(() => `${values.prefixCls}-${scope}`),
|
|
5
|
+
prefixCls: `${values.prefixCls}-${scope}`,
|
|
6
|
+
prefixVar: values.prefixCls
|
|
7
|
+
// style,
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { useDesign };
|
package/es/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './hooks';
|
|
2
2
|
export * from './utils';
|
|
3
3
|
export * from './modules/code-editor';
|
|
4
|
+
export * from './modules/color-picker';
|
|
4
5
|
export * from './modules/formula-editor';
|
|
5
6
|
export * from './modules/gct-dnd';
|
|
7
|
+
export * from './modules/gct-form';
|
|
8
|
+
export * from './modules/gct-table';
|
|
6
9
|
export * from './modules/global-modal';
|
|
7
10
|
export * from './components';
|
|
8
11
|
export { coreWebCreateAppVue } from './create-app-vue';
|