@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,350 @@
|
|
|
1
|
+
import { defineComponent as le, ref as u, watch as ae, computed as ie, onMounted as re, onUnmounted as se, resolveComponent as N, openBlock as T, createElementBlock as ce, renderSlot as M, createElementVNode as k, createVNode as s, normalizeStyle as E, withCtx as x, createTextVNode as ue, toDisplayString as de, unref as d, createBlock as fe, normalizeClass as me, createCommentVNode as ge } from "vue";
|
|
2
|
+
import { SearchOutlined as pe, UpCircleOutlined as ve, DownCircleOutlined as Ce, FormatPainterOutlined as we, CloudDownloadOutlined as he, ClearOutlined as be, RobotOutlined as ye } from "@ant-design/icons-vue";
|
|
3
|
+
import { T as D, m as Me, _ as ke } from "./index-Cna4DZog.js";
|
|
4
|
+
import { format as Ee } from "sql-formatter";
|
|
5
|
+
import "ant-design-vue";
|
|
6
|
+
import "lodash-es";
|
|
7
|
+
import "@gct-paas/core";
|
|
8
|
+
const xe = { class: "hex-monaco-editor m-e w-full h-full overflow-hidden" }, _e = { class: "m-e-main" }, Le = /* @__PURE__ */ le({
|
|
9
|
+
__name: "monaco-editor",
|
|
10
|
+
props: {
|
|
11
|
+
value: { default: "" },
|
|
12
|
+
title: { default: "" },
|
|
13
|
+
language: { default: "typescript" },
|
|
14
|
+
theme: { default: D.DARK },
|
|
15
|
+
readonly: { type: Boolean, default: !1 },
|
|
16
|
+
direction: { default: "bottom" },
|
|
17
|
+
gapVal: { default: 20 }
|
|
18
|
+
},
|
|
19
|
+
emits: [
|
|
20
|
+
"update:value",
|
|
21
|
+
"change",
|
|
22
|
+
"editor-mounted",
|
|
23
|
+
"blur",
|
|
24
|
+
"focus",
|
|
25
|
+
"chat-bot-click"
|
|
26
|
+
],
|
|
27
|
+
setup(_, { expose: F, emit: W }) {
|
|
28
|
+
const n = _, L = u(!1);
|
|
29
|
+
let i = null;
|
|
30
|
+
ae(
|
|
31
|
+
() => n.language,
|
|
32
|
+
async (t) => {
|
|
33
|
+
e && e.getModel() && i && i.editor.setModelLanguage(e.getModel(), t);
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
const o = W, f = u();
|
|
37
|
+
let e;
|
|
38
|
+
const p = u(!0), V = u(!1), c = u(!1), v = u(!1), w = u(!1), A = ie(() => ({
|
|
39
|
+
color: c.value ? "#000" : "#fff",
|
|
40
|
+
marginRight: n.gapVal + "px"
|
|
41
|
+
}));
|
|
42
|
+
n.theme === D.VS && (c.value = !0);
|
|
43
|
+
let I = {
|
|
44
|
+
value: n.value ?? "",
|
|
45
|
+
// 编辑器内容
|
|
46
|
+
language: n.language,
|
|
47
|
+
automaticLayout: !0,
|
|
48
|
+
// 是否自动布局
|
|
49
|
+
theme: n.theme,
|
|
50
|
+
readOnly: n.readonly,
|
|
51
|
+
wordWrap: p.value ? "on" : "off",
|
|
52
|
+
// 当单行文本太长时截断换行,true 为换行,false 为不换行
|
|
53
|
+
scrollBeyondLastLine: !1,
|
|
54
|
+
// 滚动完最后一行后再滚动一屏幕
|
|
55
|
+
// 是否开启小地图
|
|
56
|
+
minimap: {
|
|
57
|
+
enabled: !0
|
|
58
|
+
},
|
|
59
|
+
tabSize: 2,
|
|
60
|
+
// tab缩进长度
|
|
61
|
+
autoClosingBrackets: "always",
|
|
62
|
+
// 是否自动添加结束括号(包括中括号) "always" | "languageDefined" | "beforeWhitespace" | "never"
|
|
63
|
+
autoClosingDelete: "always",
|
|
64
|
+
// 是否自动删除结束括号(包括中括号) "always" | "never" | "auto"
|
|
65
|
+
autoClosingOvertype: "always",
|
|
66
|
+
// 是否关闭改写 即使用insert模式时是覆盖后面的文字还是不覆盖后面的文字 "always" | "never" | "auto"
|
|
67
|
+
autoClosingQuotes: "always",
|
|
68
|
+
// 是否自动添加结束的单引号 双引号 "always" | "languageDefined" | "beforeWhitespace" | "never"
|
|
69
|
+
comments: {
|
|
70
|
+
ignoreEmptyLines: !0,
|
|
71
|
+
// 插入行注释时忽略空行。默认为真。
|
|
72
|
+
insertSpace: !0
|
|
73
|
+
// 在行注释标记之后和块注释标记内插入一个空格。默认为真。
|
|
74
|
+
},
|
|
75
|
+
// 注释配置
|
|
76
|
+
columnSelection: !1,
|
|
77
|
+
// 启用列编辑 按下shift键位然后按↑↓键位可以实现列选择 然后实现列编辑
|
|
78
|
+
folding: !0,
|
|
79
|
+
// 是否启用代码折叠
|
|
80
|
+
fixedOverflowWidgets: !0,
|
|
81
|
+
// 超出编辑器大小的使用fixed属性显示
|
|
82
|
+
// 编辑器悬停配置
|
|
83
|
+
hover: {
|
|
84
|
+
sticky: !0,
|
|
85
|
+
// 悬停是否粘滞,可以点击并选择其内容
|
|
86
|
+
above: !1
|
|
87
|
+
// 悬停是否应该显示在直线上方
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
async function U() {
|
|
91
|
+
i = await Me.loadMonaco(), O(), z(), n.value && y();
|
|
92
|
+
}
|
|
93
|
+
async function q() {
|
|
94
|
+
await _api.apaas.basicConfig.getAiRagEnabled() == !0 ? w.value = !0 : w.value = !1;
|
|
95
|
+
}
|
|
96
|
+
function z() {
|
|
97
|
+
if (!i) {
|
|
98
|
+
console.warn(
|
|
99
|
+
"[MonacoEditor] Monaco editor is not available for initEditor"
|
|
100
|
+
);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
e = i.editor.create(f.value, I), n.direction === "bottom" ? b() : n.direction === "top" && h(), e.onDidChangeModelContent(() => {
|
|
104
|
+
o("change", l()), o("update:value", l());
|
|
105
|
+
}), e.onDidBlurEditorText(() => {
|
|
106
|
+
o("blur", l()), o("update:value", l());
|
|
107
|
+
}), e.onDidFocusEditorText(() => {
|
|
108
|
+
o("focus");
|
|
109
|
+
}), L.value = !0, o("editor-mounted", e);
|
|
110
|
+
}
|
|
111
|
+
function R(t) {
|
|
112
|
+
e.setValue(t), o("change", l()), o("update:value", l());
|
|
113
|
+
}
|
|
114
|
+
function l() {
|
|
115
|
+
return e.getValue();
|
|
116
|
+
}
|
|
117
|
+
function K() {
|
|
118
|
+
if (!i)
|
|
119
|
+
return console.warn(
|
|
120
|
+
"[MonacoEditor] Monaco editor is not available for getEditorMarkers"
|
|
121
|
+
), [];
|
|
122
|
+
const t = e.getModel();
|
|
123
|
+
return t ? i.editor.getModelMarkers({ resource: t.uri }) : [];
|
|
124
|
+
}
|
|
125
|
+
function $() {
|
|
126
|
+
if (!i) {
|
|
127
|
+
console.warn(
|
|
128
|
+
"[MonacoEditor] Monaco editor is not available for findByKeyword"
|
|
129
|
+
);
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
try {
|
|
133
|
+
e.focus(), e.setSelection(new i.Range(1, 9999, 1, 1e4)), e.trigger("", "actions.find", null);
|
|
134
|
+
} catch (t) {
|
|
135
|
+
console.error(t);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function h() {
|
|
139
|
+
e.setScrollPosition({ scrollTop: 0 });
|
|
140
|
+
}
|
|
141
|
+
function b() {
|
|
142
|
+
e.revealLine(e.getModel().getLineCount());
|
|
143
|
+
}
|
|
144
|
+
function j() {
|
|
145
|
+
p.value = !p.value, p.value ? e.updateOptions({ wordWrap: "on" }) : e.updateOptions({ wordWrap: "off" });
|
|
146
|
+
}
|
|
147
|
+
function P() {
|
|
148
|
+
c.value = !c.value, c.value ? e.updateOptions({ theme: "vs" }) : e.updateOptions({ theme: "vs-dark" });
|
|
149
|
+
}
|
|
150
|
+
function Q() {
|
|
151
|
+
f.value.fullscreenElement ? (f.value.exitFullscreen(), V.value = !1) : (f.value.requestFullscreen(), V.value = !0);
|
|
152
|
+
}
|
|
153
|
+
function S() {
|
|
154
|
+
G(n.title, e.getValue());
|
|
155
|
+
}
|
|
156
|
+
function G(t, r) {
|
|
157
|
+
const a = window.URL || window.webkitURL || window, m = new Blob([r]), C = document.createEvent("MouseEvents");
|
|
158
|
+
C.initMouseEvent(
|
|
159
|
+
"click",
|
|
160
|
+
!0,
|
|
161
|
+
!1,
|
|
162
|
+
window,
|
|
163
|
+
0,
|
|
164
|
+
0,
|
|
165
|
+
0,
|
|
166
|
+
0,
|
|
167
|
+
0,
|
|
168
|
+
!1,
|
|
169
|
+
!1,
|
|
170
|
+
!1,
|
|
171
|
+
!1,
|
|
172
|
+
0,
|
|
173
|
+
null
|
|
174
|
+
);
|
|
175
|
+
const g = document.createElementNS(
|
|
176
|
+
"http://www.w3.org/1999/xhtml",
|
|
177
|
+
"a"
|
|
178
|
+
);
|
|
179
|
+
g.href = a.createObjectURL(m), g.download = t, g.dispatchEvent(C);
|
|
180
|
+
}
|
|
181
|
+
function y() {
|
|
182
|
+
if (n.language == "sql") {
|
|
183
|
+
const r = l(), a = Ee(r);
|
|
184
|
+
e.setValue(a);
|
|
185
|
+
} else
|
|
186
|
+
e.getAction("editor.action.formatDocument").run();
|
|
187
|
+
const t = l();
|
|
188
|
+
o("change", t), o("update:value", t);
|
|
189
|
+
}
|
|
190
|
+
function H() {
|
|
191
|
+
R("");
|
|
192
|
+
}
|
|
193
|
+
function B() {
|
|
194
|
+
v.value = !v.value, o("chat-bot-click");
|
|
195
|
+
}
|
|
196
|
+
function O() {
|
|
197
|
+
e && e.dispose();
|
|
198
|
+
}
|
|
199
|
+
function J() {
|
|
200
|
+
return e;
|
|
201
|
+
}
|
|
202
|
+
re(() => {
|
|
203
|
+
U();
|
|
204
|
+
}), se(() => {
|
|
205
|
+
O();
|
|
206
|
+
});
|
|
207
|
+
function X(t) {
|
|
208
|
+
const r = e.getModel();
|
|
209
|
+
if (!r) return;
|
|
210
|
+
const a = r.getFullModelRange();
|
|
211
|
+
e.executeEdits("setValue", [
|
|
212
|
+
{
|
|
213
|
+
range: a,
|
|
214
|
+
text: t,
|
|
215
|
+
forceMoveMarkers: !1
|
|
216
|
+
}
|
|
217
|
+
]), o("change", l()), o("update:value", l());
|
|
218
|
+
}
|
|
219
|
+
function Y() {
|
|
220
|
+
return e.getValue();
|
|
221
|
+
}
|
|
222
|
+
function Z() {
|
|
223
|
+
const t = e.getSelection();
|
|
224
|
+
if (t) {
|
|
225
|
+
const r = e.getModel()?.getValueInRange(t), a = t.startLineNumber, m = t.startColumn, C = t.endLineNumber, g = t.endColumn, ee = {
|
|
226
|
+
startLineNumber: 1,
|
|
227
|
+
startColumn: 1,
|
|
228
|
+
endLineNumber: a,
|
|
229
|
+
endColumn: m
|
|
230
|
+
}, te = e.getModel().getValueInRange(ee), oe = {
|
|
231
|
+
startLineNumber: C,
|
|
232
|
+
startColumn: g,
|
|
233
|
+
endLineNumber: e.getModel().getLineCount(),
|
|
234
|
+
endColumn: e.getModel().getLineMaxColumn(e.getModel().getLineCount())
|
|
235
|
+
}, ne = e.getModel().getValueInRange(oe);
|
|
236
|
+
return {
|
|
237
|
+
text: r,
|
|
238
|
+
textBefore: te,
|
|
239
|
+
textAfter: ne
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
return {};
|
|
243
|
+
}
|
|
244
|
+
return q(), F({
|
|
245
|
+
isMonacoReady: L,
|
|
246
|
+
reload(t) {
|
|
247
|
+
if (e == null) {
|
|
248
|
+
console.warn("[MonacoEditor] Monaco editor is not available for reload");
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
e.setValue(t || "");
|
|
252
|
+
},
|
|
253
|
+
getMonacoEditor: J,
|
|
254
|
+
setEditorContent: R,
|
|
255
|
+
getEditorContent: l,
|
|
256
|
+
scrollToTop: h,
|
|
257
|
+
scrollToBottom: b,
|
|
258
|
+
setEditorWordWrap: j,
|
|
259
|
+
setEditorTheme: P,
|
|
260
|
+
handleFullScreenClick: Q,
|
|
261
|
+
handleDownloadLogClick: S,
|
|
262
|
+
getEditorMarkers: K,
|
|
263
|
+
handleFormatCodeClick: y,
|
|
264
|
+
getValue: Y,
|
|
265
|
+
setValue: X,
|
|
266
|
+
getSelectCode: Z,
|
|
267
|
+
isChatBotActive: v,
|
|
268
|
+
handleChatBotClick: B
|
|
269
|
+
}), (t, r) => {
|
|
270
|
+
const a = N("a-col"), m = N("a-row");
|
|
271
|
+
return T(), ce("div", xe, [
|
|
272
|
+
M(t.$slots, "header", {}, void 0, !0),
|
|
273
|
+
k("div", _e, [
|
|
274
|
+
s(m, {
|
|
275
|
+
class: "m-e-main_toolbar w-full flex",
|
|
276
|
+
type: "flex",
|
|
277
|
+
justify: "space-between",
|
|
278
|
+
style: E(
|
|
279
|
+
c.value ? "background-color: #fff; box-shadow: 0px 2px 5px #ddd;" : "background-color: #1e1e1e; box-shadow: 0px 2px 5px #111;"
|
|
280
|
+
)
|
|
281
|
+
}, {
|
|
282
|
+
default: x(() => [
|
|
283
|
+
s(a, {
|
|
284
|
+
class: "m-e-main_toolbar_left flex-1",
|
|
285
|
+
style: E(c.value ? "color: #000" : "color: #fff")
|
|
286
|
+
}, {
|
|
287
|
+
default: x(() => [
|
|
288
|
+
k("span", null, [
|
|
289
|
+
M(t.$slots, "title", {}, () => [
|
|
290
|
+
ue(de(_.title), 1)
|
|
291
|
+
], !0)
|
|
292
|
+
])
|
|
293
|
+
]),
|
|
294
|
+
_: 3
|
|
295
|
+
}, 8, ["style"]),
|
|
296
|
+
s(a, {
|
|
297
|
+
class: "m-e-main_toolbar_right",
|
|
298
|
+
style: E(A.value)
|
|
299
|
+
}, {
|
|
300
|
+
default: x(() => [
|
|
301
|
+
s(d(pe), {
|
|
302
|
+
class: "icon",
|
|
303
|
+
onClick: $
|
|
304
|
+
}),
|
|
305
|
+
s(d(ve), {
|
|
306
|
+
class: "icon",
|
|
307
|
+
onClick: h
|
|
308
|
+
}),
|
|
309
|
+
s(d(Ce), {
|
|
310
|
+
class: "icon",
|
|
311
|
+
onClick: b
|
|
312
|
+
}),
|
|
313
|
+
s(d(we), {
|
|
314
|
+
class: "icon",
|
|
315
|
+
onClick: y
|
|
316
|
+
}),
|
|
317
|
+
s(d(he), {
|
|
318
|
+
class: "icon",
|
|
319
|
+
onClick: S
|
|
320
|
+
}),
|
|
321
|
+
s(d(be), {
|
|
322
|
+
class: "icon",
|
|
323
|
+
onClick: H
|
|
324
|
+
}),
|
|
325
|
+
w.value ? (T(), fe(d(ye), {
|
|
326
|
+
key: 0,
|
|
327
|
+
title: "聊天机器人",
|
|
328
|
+
class: me(["icon", { "icon-active": v.value }]),
|
|
329
|
+
onClick: B
|
|
330
|
+
}, null, 8, ["class"])) : ge("", !0)
|
|
331
|
+
]),
|
|
332
|
+
_: 1
|
|
333
|
+
}, 8, ["style"])
|
|
334
|
+
]),
|
|
335
|
+
_: 3
|
|
336
|
+
}, 8, ["style"]),
|
|
337
|
+
k("div", {
|
|
338
|
+
ref_key: "Editor",
|
|
339
|
+
ref: f,
|
|
340
|
+
class: "m-e-main_container"
|
|
341
|
+
}, null, 512)
|
|
342
|
+
]),
|
|
343
|
+
M(t.$slots, "footer", {}, void 0, !0)
|
|
344
|
+
]);
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
}), De = /* @__PURE__ */ ke(Le, [["__scopeId", "data-v-254c9227"]]);
|
|
348
|
+
export {
|
|
349
|
+
De as default
|
|
350
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const CodeChat: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
id: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
backend: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
editorRef: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
};
|
|
14
|
+
providers: {
|
|
15
|
+
type: PropType<{
|
|
16
|
+
tag: string;
|
|
17
|
+
getMentions: () => Promise<IObject[]>;
|
|
18
|
+
}[]>;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
pageInfo: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
|
+
};
|
|
24
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
id: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
backend: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
editorRef: {
|
|
34
|
+
type: ObjectConstructor;
|
|
35
|
+
};
|
|
36
|
+
providers: {
|
|
37
|
+
type: PropType<{
|
|
38
|
+
tag: string;
|
|
39
|
+
getMentions: () => Promise<IObject[]>;
|
|
40
|
+
}[]>;
|
|
41
|
+
default: () => never[];
|
|
42
|
+
};
|
|
43
|
+
pageInfo: {
|
|
44
|
+
type: ObjectConstructor;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{}>, {
|
|
47
|
+
id: string;
|
|
48
|
+
backend: boolean;
|
|
49
|
+
providers: {
|
|
50
|
+
tag: string;
|
|
51
|
+
getMentions: () => Promise<IObject[]>;
|
|
52
|
+
}[];
|
|
53
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CodeChat } from './code-chat/code-chat';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const WuJieAIContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
wuJieName: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
wuJieProps: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => {};
|
|
9
|
+
};
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
wuJieName: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
wuJieProps: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
wuJieProps: Record<string, any>;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -151,17 +151,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
151
151
|
}>> & Readonly<{
|
|
152
152
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
153
153
|
}>, {
|
|
154
|
+
hidden: boolean;
|
|
155
|
+
size: ButtonSize;
|
|
154
156
|
type: string;
|
|
155
157
|
title: string;
|
|
156
|
-
|
|
157
|
-
size: ButtonSize;
|
|
158
|
+
icon: string;
|
|
158
159
|
disabled: boolean;
|
|
160
|
+
loading: boolean;
|
|
159
161
|
block: boolean;
|
|
160
|
-
danger: boolean;
|
|
161
|
-
icon: string;
|
|
162
|
-
hidden: boolean;
|
|
163
162
|
hasIcon: boolean;
|
|
164
163
|
hasText: boolean;
|
|
164
|
+
danger: boolean;
|
|
165
165
|
buttonStyle: ButtonStyle;
|
|
166
166
|
i18nConfig: string;
|
|
167
167
|
confirm: boolean;
|
|
@@ -82,9 +82,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
82
82
|
}>> & Readonly<{
|
|
83
83
|
onDropdown?: ((...args: any[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
|
-
loading: boolean;
|
|
86
|
-
disabled: boolean;
|
|
87
85
|
icon: string;
|
|
86
|
+
disabled: boolean;
|
|
87
|
+
loading: boolean;
|
|
88
88
|
buttonStyle: buttonEnum;
|
|
89
89
|
dropdown: boolean;
|
|
90
90
|
buttonType: ButtonColorType;
|
|
@@ -30,6 +30,6 @@ export declare const CodeEditor: import('vue').DefineComponent<import('vue').Ext
|
|
|
30
30
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
value: string;
|
|
33
|
-
language: string;
|
|
34
33
|
config: editor.IStandaloneEditorConstructionOptions;
|
|
34
|
+
language: string;
|
|
35
35
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot, resolveDynamicComponent, createCommentVNode } from 'vue';
|
|
2
2
|
import { isNil } from 'lodash-es';
|
|
3
|
-
import BigNumber from 'bignumber.js';
|
|
3
|
+
import { BigNumber } from 'bignumber.js';
|
|
4
4
|
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "double-input",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare function useIconAsset(): {
|
|
2
|
+
getIconAssetCats: () => Promise<{
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
children: {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
icons?: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
_filter_: string[];
|
|
12
|
+
}[] | undefined;
|
|
13
|
+
children?: /*elided*/ any[] | undefined;
|
|
14
|
+
}[];
|
|
15
|
+
}[]>;
|
|
16
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ref, computed } from 'vue';
|
|
2
|
+
import { IconNamespaceEnum } from '../types/index.mjs';
|
|
3
|
+
|
|
4
|
+
const iconAssetIcons = ref([]);
|
|
5
|
+
const iconParkCats = computed(() => {
|
|
6
|
+
return [
|
|
7
|
+
{
|
|
8
|
+
id: "IconAsset",
|
|
9
|
+
name: "资产图标",
|
|
10
|
+
children: iconAssetIcons.value
|
|
11
|
+
}
|
|
12
|
+
].filter((i) => i.children?.length);
|
|
13
|
+
});
|
|
14
|
+
function useIconAsset() {
|
|
15
|
+
async function getIconAssetCats() {
|
|
16
|
+
if (iconAssetIcons.value.length > 0) {
|
|
17
|
+
return iconParkCats.value;
|
|
18
|
+
}
|
|
19
|
+
const params = {
|
|
20
|
+
assetsModule: "ICON"
|
|
21
|
+
};
|
|
22
|
+
const result = await Promise.all([
|
|
23
|
+
_api.platform.category.getList(params),
|
|
24
|
+
_api.platform.assets.getList(params)
|
|
25
|
+
]).then(([catRes, iconRes]) => {
|
|
26
|
+
return catRes?.map((c) => {
|
|
27
|
+
return {
|
|
28
|
+
id: `${c.id}`,
|
|
29
|
+
name: c.name,
|
|
30
|
+
icons: iconRes?.filter((i) => i.categoryId === c.id).map((item) => {
|
|
31
|
+
Object.assign(item, {
|
|
32
|
+
id: `${IconNamespaceEnum.Asset}:${item.path}`,
|
|
33
|
+
_filter_: [item.name]
|
|
34
|
+
});
|
|
35
|
+
return item;
|
|
36
|
+
})
|
|
37
|
+
};
|
|
38
|
+
}).filter((i) => i.icons?.length);
|
|
39
|
+
});
|
|
40
|
+
iconAssetIcons.value = result;
|
|
41
|
+
return iconParkCats.value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
getIconAssetCats
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { useIconAsset };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare function useIconPark(): {
|
|
2
|
+
getIconParkCats: () => {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
children: {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
icons?: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
_filter_: string[];
|
|
12
|
+
}[] | undefined;
|
|
13
|
+
children?: /*elided*/ any[] | undefined;
|
|
14
|
+
}[];
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ref, computed } from 'vue';
|
|
2
|
+
import IconParkJson from '@icon-park/vue-next/icons.json';
|
|
3
|
+
import { IconNamespaceEnum } from '../types/index.mjs';
|
|
4
|
+
|
|
5
|
+
const iconParkIcons = ref([]);
|
|
6
|
+
const iconParkCats = computed(() => {
|
|
7
|
+
return [
|
|
8
|
+
{
|
|
9
|
+
id: "IconPark",
|
|
10
|
+
name: "IconPark",
|
|
11
|
+
children: iconParkIcons.value
|
|
12
|
+
}
|
|
13
|
+
];
|
|
14
|
+
});
|
|
15
|
+
function useIconPark() {
|
|
16
|
+
function getIconParkCats() {
|
|
17
|
+
if (iconParkIcons.value.length > 0) {
|
|
18
|
+
return iconParkCats.value;
|
|
19
|
+
}
|
|
20
|
+
const cats = [];
|
|
21
|
+
IconParkJson.forEach((item) => {
|
|
22
|
+
const icon = {
|
|
23
|
+
...item,
|
|
24
|
+
id: `${IconNamespaceEnum.IconPark}:${item.name}`,
|
|
25
|
+
_filter_: [...item.tag, item.title, item.name]
|
|
26
|
+
};
|
|
27
|
+
let category = cats.find((c) => c.id === icon.category);
|
|
28
|
+
if (category) {
|
|
29
|
+
category.icons.push(icon);
|
|
30
|
+
} else {
|
|
31
|
+
category = {
|
|
32
|
+
id: icon.category,
|
|
33
|
+
name: icon.categoryCN,
|
|
34
|
+
icons: [icon]
|
|
35
|
+
};
|
|
36
|
+
cats.push(category);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
const base = cats.filter((c) => c.id === "Base" /* Base */);
|
|
40
|
+
const others = cats.filter((c) => c.id === "Others" /* Others */);
|
|
41
|
+
const middle = cats.filter(
|
|
42
|
+
(c) => !["Base" /* Base */, "Others" /* Others */].includes(c.id)
|
|
43
|
+
);
|
|
44
|
+
iconParkIcons.value = base.concat(middle, others);
|
|
45
|
+
return iconParkCats.value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
getIconParkCats
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { useIconPark };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { computed } from 'vue';
|
|
2
|
+
import { IconNamespaceEnum } from '../types/index.mjs';
|
|
3
|
+
import { iconsNames } from '@gct-paas/platform-icons';
|
|
4
|
+
|
|
5
|
+
const iconPlatformCats = computed(() => {
|
|
6
|
+
return [
|
|
7
|
+
{
|
|
8
|
+
id: "medicalCare",
|
|
9
|
+
name: "医疗器械",
|
|
10
|
+
icons: medicalCareIcons.value
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
id: "IconPlatform",
|
|
14
|
+
name: "平台图标",
|
|
15
|
+
icons: platformIcons.value
|
|
16
|
+
}
|
|
17
|
+
];
|
|
18
|
+
});
|
|
19
|
+
const platformIcons = computed(() => {
|
|
20
|
+
const icons = iconsNames.filter((e) => /^(icon-platform)/.test(e)).map((e) => {
|
|
21
|
+
const iconName = e.replace(/icon-/g, "");
|
|
22
|
+
return {
|
|
23
|
+
id: `${IconNamespaceEnum.Platform}:${iconName}`,
|
|
24
|
+
name: iconName,
|
|
25
|
+
_filter_: [iconName]
|
|
26
|
+
};
|
|
27
|
+
});
|
|
28
|
+
return icons;
|
|
29
|
+
});
|
|
30
|
+
const medicalCareIcons = computed(() => {
|
|
31
|
+
const icons = iconsNames.filter((e) => /^(icon-medicalCare)/.test(e)).map((e) => {
|
|
32
|
+
const iconName = e.replace(/icon-/g, "");
|
|
33
|
+
return {
|
|
34
|
+
id: `${IconNamespaceEnum.Platform}:${iconName}`,
|
|
35
|
+
name: e.replace(/icon-medicalCare-/g, ""),
|
|
36
|
+
_filter_: [iconName]
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
return icons;
|
|
40
|
+
});
|
|
41
|
+
function useIconPlatform() {
|
|
42
|
+
function getIconPlatformCats() {
|
|
43
|
+
return iconPlatformCats.value;
|
|
44
|
+
}
|
|
45
|
+
return { getIconPlatformCats };
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { useIconPlatform };
|