@gct-paas/core-web 0.1.4-dev.1 → 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 +91 -0
- package/dist/index.min.cjs +1 -20
- package/dist/index.min.css +1 -0
- package/dist/index.system.min.js +1 -20
- 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/_virtual/_plugin-vue_export-helper.mjs +9 -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/app-modal/app-modal-component.css +149 -0
- package/es/components/app-modal/app-modal-component.d.ts +26 -0
- package/es/components/app-modal/app-modal-component.mjs +140 -0
- package/es/components/assets-svg-icon/assets-svg-icon.css +188 -0
- package/es/components/assets-svg-icon/assets-svg-icon.d.ts +134 -0
- package/es/components/assets-svg-icon/assets-svg-icon.mjs +238 -0
- package/es/components/assets-svg-icon/request.d.ts +2 -0
- package/es/components/assets-svg-icon/request.mjs +51 -0
- package/es/components/assets-svg-icon/utils.d.ts +9 -0
- package/es/components/assets-svg-icon/utils.mjs +21 -0
- package/es/components/assets-svg-icon/validate.d.ts +4 -0
- package/es/components/assets-svg-icon/validate.mjs +43 -0
- package/es/components/base-button/base-button.css +74 -0
- package/es/components/base-button/base-button.vue.d.ts +173 -0
- package/es/components/base-button/base-button.vue.mjs +7 -0
- package/es/components/base-button/base-button.vue3.mjs +179 -0
- package/es/components/basic-button/basic-button.css +25 -0
- package/es/components/basic-button/basic-button.vue.d.ts +100 -0
- package/es/components/basic-button/basic-button.vue.mjs +7 -0
- package/es/components/basic-button/basic-button.vue3.mjs +130 -0
- package/es/components/code-editor/code-editor.css +67 -0
- package/es/components/code-editor/code-editor.d.ts +1 -4
- package/es/components/code-editor/code-editor.mjs +16 -22
- package/es/components/copy-module-key/copy-module-key.css +24 -0
- package/es/components/copy-module-key/copy-module-key.vue.d.ts +74 -0
- package/es/components/copy-module-key/copy-module-key.vue.mjs +7 -0
- package/es/components/copy-module-key/copy-module-key.vue3.mjs +104 -0
- package/es/components/double-input/double-input.vue.d.ts +49 -0
- package/es/components/double-input/double-input.vue.mjs +158 -0
- package/es/components/double-input/double-input.vue2.mjs +5 -0
- 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 +13 -3
- package/es/components/index.mjs +33 -6
- package/es/components/layout/view-container/view-container.css +83 -0
- package/es/components/layout/view-container/view-container.mjs +6 -7
- package/es/components/svg-icon/svg-icon.css +73 -0
- package/es/components/svg-icon/svg-icon.vue.d.ts +40 -0
- package/es/components/svg-icon/svg-icon.vue.mjs +50 -0
- package/es/components/svg-icon/svg-icon.vue3.mjs +6 -0
- package/es/components/wujie-container/wujie-container.css +74 -0
- package/es/components/wujie-container/wujie-container.d.ts +11 -0
- package/es/components/wujie-container/wujie-container.mjs +84 -0
- package/es/create-app-vue.d.ts +9 -0
- package/es/create-app-vue.mjs +22 -0
- package/es/directives/drag-resize.d.ts +4 -0
- package/es/directives/drag-resize.mjs +42 -0
- package/es/directives/index.d.ts +8 -0
- package/es/directives/index.mjs +9 -0
- package/es/directives/target-loading.d.ts +4 -0
- package/es/directives/target-loading.mjs +40 -0
- package/es/hooks/index.d.ts +4 -0
- package/es/hooks/useDesign.d.ts +4 -0
- package/es/hooks/useDesign.mjs +11 -0
- package/es/hooks/useDragLine.d.ts +6 -0
- package/es/hooks/useDragLine.mjs +78 -0
- package/es/hooks/useLocale.d.ts +4 -0
- package/es/hooks/useLocale.mjs +32 -0
- package/es/hooks/useTheme.d.ts +8 -0
- package/es/hooks/useTheme.mjs +20 -0
- package/es/index.d.ts +11 -7
- package/es/index.mjs +137 -24
- 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 +163 -0
- package/es/modules/code-editor/index.mjs +8 -0
- package/es/modules/code-editor/monaco-editor.css +49 -0
- package/es/modules/code-editor/monaco-editor.vue.d.ts +143 -0
- package/es/modules/code-editor/monaco-editor.vue.mjs +7 -0
- package/es/modules/code-editor/monaco-editor.vue2.mjs +440 -0
- package/es/modules/code-editor/useEditorConsole.d.ts +54 -0
- package/es/modules/code-editor/useEditorConsole.mjs +194 -0
- package/es/modules/code-editor/useMonacoEditor.d.ts +26 -0
- package/es/modules/code-editor/useMonacoEditor.mjs +26 -0
- package/es/modules/color-picker/index.d.ts +2 -0
- package/es/modules/color-picker/src/ColorPicker.css +16 -0
- package/es/modules/color-picker/src/ColorPicker.vue.d.ts +49 -0
- package/es/modules/color-picker/src/ColorPicker.vue.mjs +8 -0
- package/es/modules/color-picker/src/ColorPicker.vue2.mjs +545 -0
- package/es/modules/color-picker/src/ColorPicker2.css +156 -0
- package/es/modules/formula-editor/constants/index.d.ts +7 -0
- package/es/modules/formula-editor/constants/index.mjs +8 -0
- package/es/modules/formula-editor/formula-editor.d.ts +10 -0
- package/es/modules/formula-editor/formula-editor.mjs +62 -0
- package/es/modules/formula-editor/index.d.ts +4 -0
- package/es/modules/formula-editor/interface/i-formula-editor-options/i-formula-editor-options.d.ts +47 -0
- package/es/modules/formula-editor/interface/i-formula-result/i-formula-result.d.ts +20 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.css +72 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.d.ts +37 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs +195 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.css +79 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.d.ts +29 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.mjs +98 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.css +70 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.d.ts +50 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.mjs +239 -0
- package/es/modules/gct-dnd/constants/index.d.ts +22 -0
- package/es/modules/gct-dnd/constants/index.mjs +20 -0
- package/es/modules/gct-dnd/index.d.ts +5 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-config.d.ts +101 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-data.d.ts +14 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-render-item-options.d.ts +28 -0
- package/es/modules/gct-dnd/interface/i-gct-drag-collect.d.ts +24 -0
- package/es/modules/gct-dnd/interface/i-gct-drag-dnd-data.d.ts +51 -0
- package/es/modules/gct-dnd/interface/i-gct-drop-collect.d.ts +32 -0
- package/es/modules/gct-dnd/interface/i-gct-drop-result.d.ts +47 -0
- package/es/modules/gct-dnd/interface/index.d.ts +7 -0
- 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/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.d.ts +45 -0
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.mjs +59 -0
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.d.ts +55 -0
- package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.mjs +127 -0
- package/es/modules/gct-form/editor/gct-form-checkbox/index.d.ts +8 -0
- package/es/modules/gct-form/editor/gct-form-checkbox/index.mjs +14 -0
- package/es/modules/gct-form/editor/gct-form-color/gct-form-color.css +67 -0
- 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/modules/gct-form/editor/gct-form-color/gct-form-color.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-date-format-select/index.d.ts +8 -0
- 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/modules/gct-form/editor/gct-form-formula/index.d.ts +8 -0
- 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/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.d.ts +52 -0
- 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/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.d.ts +29 -0
- package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.mjs +73 -0
- package/es/modules/gct-form/editor/gct-form-icon-select/index.d.ts +8 -0
- 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/modules/gct-form/editor/gct-form-info/gct-form-info.d.ts +43 -0
- 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/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.d.ts +36 -0
- package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.mjs +43 -0
- package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-number/gct-form-number.d.ts +28 -0
- package/es/modules/gct-form/editor/gct-form-number/gct-form-number.mjs +44 -0
- package/es/modules/gct-form/editor/gct-form-number/gct-form-number.provider.d.ts +4 -0
- 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/modules/gct-form/editor/gct-form-picker/gct-form-picker.d.ts +39 -0
- package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.mjs +113 -0
- package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-radio/gct-form-radio.d.ts +43 -0
- 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/modules/gct-form/editor/gct-form-select/gct-form-select.d.ts +52 -0
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.mjs +128 -0
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-span/gct-form-span.d.ts +52 -0
- package/es/modules/gct-form/editor/gct-form-span/gct-form-span.mjs +100 -0
- package/es/modules/gct-form/editor/gct-form-span/gct-form-span.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-switch/gct-form-switch.d.ts +32 -0
- package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.mjs +39 -0
- package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-text/gct-form-text.d.ts +38 -0
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.mjs +58 -0
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.provider.d.ts +13 -0
- 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/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.d.ts +29 -0
- package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.mjs +46 -0
- package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.provider.d.ts +4 -0
- 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/modules/gct-form/widgets/gct-edit-form/gct-edit-form.d.ts +81 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.d.ts +41 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.d.ts +5 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.d.ts +39 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.d.ts +5 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.d.ts +40 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.provider.d.ts +5 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.d.ts +5 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.d.ts +54 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.provider.d.ts +5 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.d.ts +38 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.provider.d.ts +5 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.d.ts +39 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.d.ts +5 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.d.ts +30 -0
- 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/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.d.ts +5 -0
- 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/modules/gct-form/widgets/gct-form/gct-form.d.ts +41 -0
- 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/modules/gct-table/editor/gct-table-date/gct-table-date.d.ts +49 -0
- 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 +6 -0
- package/es/modules/global-modal/index.mjs +17 -0
- package/es/modules/global-modal/src/BasicModal.vue.d.ts +518 -0
- package/es/modules/global-modal/src/BasicModal.vue.mjs +221 -0
- package/es/modules/global-modal/src/BasicModal.vue2.mjs +5 -0
- package/es/modules/global-modal/src/components/GlboalModal.d.ts +251 -0
- package/es/modules/global-modal/src/components/GlboalModal.mjs +40 -0
- package/es/modules/global-modal/src/components/ModalClose.css +95 -0
- package/es/modules/global-modal/src/components/ModalClose.vue.d.ts +27 -0
- package/es/modules/global-modal/src/components/ModalClose.vue.mjs +79 -0
- package/es/modules/global-modal/src/components/ModalClose.vue3.mjs +6 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +270 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue.mjs +44 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue2.mjs +5 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue.d.ts +17 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue.mjs +11 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue2.mjs +13 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +95 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.mjs +26 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue2.mjs +136 -0
- package/es/modules/global-modal/src/hooks/useModal.d.ts +6 -0
- package/es/modules/global-modal/src/hooks/useModal.mjs +120 -0
- package/es/modules/global-modal/src/hooks/useModalContext.d.ts +5 -0
- package/es/modules/global-modal/src/hooks/useModalContext.mjs +11 -0
- package/es/modules/global-modal/src/hooks/useModalDrag.d.ts +7 -0
- package/es/modules/global-modal/src/hooks/useModalDrag.mjs +82 -0
- package/es/modules/global-modal/src/hooks/useModalFullScreen.d.ts +11 -0
- package/es/modules/global-modal/src/hooks/useModalFullScreen.mjs +16 -0
- package/es/modules/global-modal/src/index.css +153 -0
- package/es/modules/global-modal/src/props.d.ts +156 -0
- package/es/modules/global-modal/src/props.mjs +57 -0
- package/es/modules/global-modal/src/typing.d.ts +174 -0
- package/es/modules/target-loading/index.d.ts +4 -0
- package/es/modules/target-loading/src/createLoading.d.ts +13 -0
- package/es/modules/target-loading/src/createLoading.mjs +57 -0
- package/es/modules/target-loading/src/target-loading.css +18 -0
- package/es/modules/target-loading/src/target-loading.vue.d.ts +57 -0
- package/es/modules/target-loading/src/target-loading.vue.mjs +52 -0
- package/es/modules/target-loading/src/target-loading.vue3.mjs +7 -0
- package/es/modules/target-loading/src/typing.d.ts +9 -0
- package/es/modules/target-loading/src/useLoading.d.ts +9 -0
- package/es/setup-app.d.ts +1 -0
- package/es/setup-app.mjs +4 -0
- package/es/types/index.d.ts +201 -1
- package/es/utils/index.d.ts +4 -1
- package/es/utils/message-util/message-util.d.ts +7 -0
- package/es/utils/message-util/message-util.mjs +26 -0
- package/es/utils/monaco-loader/monaco-loader.d.ts +59 -0
- package/es/utils/monaco-loader/monaco-loader.mjs +88 -0
- package/es/utils/overlay-controller/overlay-controller.d.ts +18 -0
- package/es/utils/overlay-controller/overlay-controller.mjs +23 -0
- package/es/utils/with-install.mjs +0 -1
- package/package.json +33 -13
- package/dist/core-web.css +0 -1
- package/es/_virtual/_commonjsHelpers.mjs +0 -44
- package/es/_virtual/node.mjs +0 -7
- package/es/_virtual/node2.mjs +0 -3
- package/es/components/code-editor/code-editor.scss +0 -3
- package/es/components/layout/flex-container/flex-container.d.ts +0 -15
- package/es/components/layout/flex-container/flex-container.mjs +0 -90
- package/es/components/layout/flex-container/flex-container.scss +0 -3
- package/es/components/layout/flex-item/flex-item.d.ts +0 -14
- package/es/components/layout/flex-item/flex-item.mjs +0 -53
- package/es/components/layout/flex-item/flex-item.scss +0 -17
- package/es/components/layout/grid-container/grid-container.d.ts +0 -13
- package/es/components/layout/grid-container/grid-container.mjs +0 -47
- package/es/components/layout/view-container/view-container.scss +0 -19
- package/es/editor/gct-form-check-switch/gct-form-check-switch.d.ts +0 -40
- package/es/editor/gct-form-check-switch/gct-form-check-switch.mjs +0 -53
- package/es/editor/gct-form-check-switch/gct-form-check-switch.provider.d.ts +0 -13
- package/es/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +0 -6
- package/es/editor/gct-form-check-switch/gct-form-check-switch.scss +0 -10
- package/es/editor/gct-form-check-switch/index.mjs +0 -12
- package/es/editor/gct-form-checkbox/gct-form-checkbox.d.ts +0 -41
- package/es/editor/gct-form-checkbox/gct-form-checkbox.mjs +0 -70
- package/es/editor/gct-form-checkbox/gct-form-checkbox.scss +0 -56
- package/es/editor/gct-form-checkbox/index.d.ts +0 -11
- package/es/editor/gct-form-checkbox/index.mjs +0 -19
- package/es/editor/gct-form-color/gct-form-color.d.ts +0 -5
- package/es/editor/gct-form-color/gct-form-color.mjs +0 -45
- package/es/editor/gct-form-color/gct-form-color.provider.d.ts +0 -13
- package/es/editor/gct-form-color/gct-form-color.provider.mjs +0 -6
- package/es/editor/gct-form-color/gct-form-color.scss +0 -3
- package/es/editor/gct-form-color/index.d.ts +0 -7
- package/es/editor/gct-form-color/index.mjs +0 -17
- 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.mjs +0 -48
- package/es/editor/gct-form-field-select/gct-form-field-select.provider.d.ts +0 -13
- package/es/editor/gct-form-field-select/gct-form-field-select.provider.mjs +0 -6
- package/es/editor/gct-form-field-select/gct-form-field-select.scss +0 -7
- package/es/editor/gct-form-field-select/gct-model-select.vue +0 -70
- package/es/editor/gct-form-field-select/gct-model-select.vue.d.ts +0 -9
- package/es/editor/gct-form-field-select/index.mjs +0 -12
- package/es/editor/gct-form-i18n/gct-form-i18n.d.ts +0 -38
- package/es/editor/gct-form-i18n/gct-form-i18n.mjs +0 -62
- package/es/editor/gct-form-i18n/gct-form-i18n.provider.d.ts +0 -13
- package/es/editor/gct-form-i18n/gct-form-i18n.provider.mjs +0 -6
- package/es/editor/gct-form-i18n/index.mjs +0 -12
- package/es/editor/gct-form-icon-select/gct-form-icon-select.d.ts +0 -29
- package/es/editor/gct-form-icon-select/gct-form-icon-select.mjs +0 -74
- package/es/editor/gct-form-icon-select/gct-form-icon-select.scss +0 -14
- package/es/editor/gct-form-icon-select/index.d.ts +0 -8
- package/es/editor/gct-form-icon-select/index.mjs +0 -14
- package/es/editor/gct-form-info/gct-form-info.d.ts +0 -28
- package/es/editor/gct-form-info/gct-form-info.mjs +0 -40
- package/es/editor/gct-form-info/gct-form-info.scss +0 -8
- package/es/editor/gct-form-info/index.d.ts +0 -8
- package/es/editor/gct-form-info/index.mjs +0 -14
- package/es/editor/gct-form-length-unit/gct-form-length-unit.d.ts +0 -39
- package/es/editor/gct-form-length-unit/gct-form-length-unit.mjs +0 -43
- package/es/editor/gct-form-length-unit/gct-form-length-unit.provider.d.ts +0 -13
- package/es/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +0 -6
- package/es/editor/gct-form-length-unit/index.mjs +0 -12
- package/es/editor/gct-form-modal-select/gct-form-modal-select.d.ts +0 -45
- package/es/editor/gct-form-modal-select/gct-form-modal-select.mjs +0 -99
- package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.d.ts +0 -13
- package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.mjs +0 -6
- package/es/editor/gct-form-modal-select/gct-form-modal-select.scss +0 -7
- package/es/editor/gct-form-modal-select/index.mjs +0 -12
- package/es/editor/gct-form-number/gct-form-number.d.ts +0 -28
- package/es/editor/gct-form-number/gct-form-number.mjs +0 -44
- package/es/editor/gct-form-number/gct-form-number.provider.d.ts +0 -4
- package/es/editor/gct-form-number/gct-form-number.provider.mjs +0 -6
- package/es/editor/gct-form-number/gct-form-number.scss +0 -3
- package/es/editor/gct-form-number/index.d.ts +0 -7
- package/es/editor/gct-form-number/index.mjs +0 -17
- package/es/editor/gct-form-picker/gct-form-picker.d.ts +0 -39
- package/es/editor/gct-form-picker/gct-form-picker.mjs +0 -92
- package/es/editor/gct-form-picker/gct-form-picker.provider.d.ts +0 -13
- package/es/editor/gct-form-picker/gct-form-picker.provider.mjs +0 -6
- package/es/editor/gct-form-picker/index.mjs +0 -12
- package/es/editor/gct-form-radio/gct-form-radio.d.ts +0 -37
- package/es/editor/gct-form-radio/gct-form-radio.mjs +0 -70
- package/es/editor/gct-form-radio/gct-form-radio.scss +0 -68
- package/es/editor/gct-form-radio/index.d.ts +0 -11
- package/es/editor/gct-form-radio/index.mjs +0 -19
- package/es/editor/gct-form-select/gct-form-select.d.ts +0 -38
- package/es/editor/gct-form-select/gct-form-select.mjs +0 -50
- package/es/editor/gct-form-select/gct-form-select.provider.d.ts +0 -13
- package/es/editor/gct-form-select/gct-form-select.provider.mjs +0 -6
- package/es/editor/gct-form-select/index.mjs +0 -12
- package/es/editor/gct-form-span/gct-form-span.d.ts +0 -43
- package/es/editor/gct-form-span/gct-form-span.mjs +0 -89
- package/es/editor/gct-form-span/gct-form-span.provider.d.ts +0 -13
- package/es/editor/gct-form-span/gct-form-span.provider.mjs +0 -6
- package/es/editor/gct-form-span/gct-form-span.scss +0 -10
- package/es/editor/gct-form-span/index.mjs +0 -12
- package/es/editor/gct-form-switch/gct-form-switch.d.ts +0 -26
- package/es/editor/gct-form-switch/gct-form-switch.mjs +0 -35
- package/es/editor/gct-form-switch/gct-form-switch.provider.d.ts +0 -13
- package/es/editor/gct-form-switch/gct-form-switch.provider.mjs +0 -6
- package/es/editor/gct-form-switch/index.d.ts +0 -7
- package/es/editor/gct-form-switch/index.mjs +0 -17
- package/es/editor/gct-form-text/gct-form-text.d.ts +0 -32
- package/es/editor/gct-form-text/gct-form-text.mjs +0 -45
- package/es/editor/gct-form-text/gct-form-text.provider.d.ts +0 -13
- package/es/editor/gct-form-text/gct-form-text.provider.mjs +0 -6
- package/es/editor/gct-form-text/index.d.ts +0 -7
- package/es/editor/gct-form-text/index.mjs +0 -17
- package/es/editor/gct-form-textarea/gct-form-textarea.d.ts +0 -28
- package/es/editor/gct-form-textarea/gct-form-textarea.mjs +0 -40
- package/es/editor/gct-form-textarea/gct-form-textarea.provider.d.ts +0 -4
- package/es/editor/gct-form-textarea/gct-form-textarea.provider.mjs +0 -6
- package/es/editor/gct-form-textarea/index.mjs +0 -12
- package/es/editor/index.mjs +0 -51
- package/es/node_modules/.pnpm/@aesoper_normal-utils@0.1.5/node_modules/@aesoper/normal-utils/NormalUtils.es.mjs +0 -3
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.mjs +0 -142
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/config/index.mjs +0 -7
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/index.mjs +0 -1
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/loader/index.mjs +0 -188
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/compose.mjs +0 -13
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/curry.mjs +0 -19
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.mjs +0 -14
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/isObject.mjs +0 -5
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.mjs +0 -20
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/validators/index.mjs +0 -49
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/createPopper.mjs +0 -200
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.mjs +0 -26
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.mjs +0 -44
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.mjs +0 -72
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.mjs +0 -60
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.mjs +0 -9
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.mjs +0 -32
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.mjs +0 -8
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.mjs +0 -28
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.mjs +0 -14
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.mjs +0 -71
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.mjs +0 -22
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.mjs +0 -19
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.mjs +0 -34
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.mjs +0 -14
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.mjs +0 -13
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.mjs +0 -16
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.mjs +0 -23
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.mjs +0 -13
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.mjs +0 -29
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/enums.mjs +0 -33
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/index.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.mjs +0 -87
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.mjs +0 -92
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.mjs +0 -171
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.mjs +0 -51
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.mjs +0 -149
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.mjs +0 -63
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/index.mjs +0 -9
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.mjs +0 -56
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.mjs +0 -27
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.mjs +0 -144
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper-lite.mjs +0 -12
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper.mjs +0 -19
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.mjs +0 -46
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.mjs +0 -73
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.mjs +0 -17
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.mjs +0 -67
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.mjs +0 -8
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.mjs +0 -10
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.mjs +0 -13
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.mjs +0 -11
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/math.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.mjs +0 -16
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.mjs +0 -46
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.mjs +0 -10
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.mjs +0 -13
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/within.mjs +0 -11
- package/es/node_modules/.pnpm/@vueuse_core@13.7.0_vue@3.5.18_typescript@5.9.2_/node_modules/@vueuse/core/index.mjs +0 -8285
- package/es/node_modules/.pnpm/@vueuse_shared@13.7.0_vue@3.5.18_typescript@5.9.2_/node_modules/@vueuse/shared/index.mjs +0 -1641
- package/es/node_modules/.pnpm/gradient-parser@1.0.2/node_modules/gradient-parser/build/node.mjs +0 -528
- package/es/node_modules/.pnpm/state-local@1.0.7/node_modules/state-local/lib/es/state-local.mjs +0 -193
- package/es/node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/esm/tinycolor.mjs +0 -1180
- package/es/node_modules/.pnpm/vue-types@3.0.2_vue@3.5.18_typescript@5.9.2_/node_modules/vue-types/dist/vue-types.m.mjs +0 -3
- package/es/node_modules/.pnpm/vue3-colorpicker@2.3.0_@aesoper_normal-utils@0.1.5_@popperjs_core@2.11.8_@vueuse_core@1_c6850a6c65df63e96440af393dfce213/node_modules/vue3-colorpicker/index.es.mjs +0 -1815
- package/es/utils/index.mjs +0 -3
- package/es/vite-env.d.ts +0 -1
- package/es/widgets/gct-edit-form/gct-edit-form.d.ts +0 -62
- package/es/widgets/gct-edit-form/gct-edit-form.mjs +0 -126
- package/es/widgets/gct-edit-form/index.mjs +0 -10
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.d.ts +0 -31
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +0 -73
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.scss +0 -62
- package/es/widgets/gct-form/gct-form-collapse/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.d.ts +0 -29
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +0 -71
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +0 -13
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.scss +0 -23
- package/es/widgets/gct-form/gct-form-collapse-pane/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-group/gct-form-group.d.ts +0 -30
- package/es/widgets/gct-form/gct-form-group/gct-form-group.mjs +0 -88
- package/es/widgets/gct-form/gct-form-group/gct-form-group.provider.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-group/gct-form-group.scss +0 -28
- package/es/widgets/gct-form/gct-form-group/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +0 -13
- package/es/widgets/gct-form/gct-form-item/gct-form-item.d.ts +0 -35
- package/es/widgets/gct-form/gct-form-item/gct-form-item.mjs +0 -141
- package/es/widgets/gct-form/gct-form-item/gct-form-item.provider.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-item/gct-form-item.scss +0 -115
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.d.ts +0 -28
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +0 -53
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.provider.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.scss +0 -63
- package/es/widgets/gct-form/gct-form-tab/index.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-tab/index.mjs +0 -12
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.d.ts +0 -29
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +0 -65
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.scss +0 -16
- package/es/widgets/gct-form/gct-form-tab-pane/index.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-tab-pane/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.d.ts +0 -30
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +0 -71
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.scss +0 -25
- package/es/widgets/gct-form/gct-form-title-group/index.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-title-group/index.mjs +0 -16
- package/es/widgets/gct-form/gct-form.d.ts +0 -31
- package/es/widgets/gct-form/gct-form.mjs +0 -110
- package/es/widgets/gct-form/gct-form.scss +0 -11
- package/es/widgets/gct-form/index.d.ts +0 -5
- package/es/widgets/gct-form/index.mjs +0 -31
- /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,16 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { ITableEditorProvider } from '../../interface';
|
|
3
|
+
/**
|
|
4
|
+
* 表格编辑器注册器
|
|
5
|
+
*
|
|
6
|
+
* @author zhanghanrui
|
|
7
|
+
* @date 2024-04-17 13:04:18
|
|
8
|
+
* @export
|
|
9
|
+
* @param {string} providerTag
|
|
10
|
+
* @param {() => ITableEditorProvider} provider
|
|
11
|
+
* @param {*} [com]
|
|
12
|
+
* @return {*}
|
|
13
|
+
*/
|
|
14
|
+
export declare function widthTableEditorInstall(providerTag: string, provider: () => ITableEditorProvider, com?: any): {
|
|
15
|
+
install(app: App): void;
|
|
16
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EditorRegisterConst } from '@gct-paas/core';
|
|
2
|
+
|
|
3
|
+
function widthTableEditorInstall(providerTag, provider, com) {
|
|
4
|
+
return {
|
|
5
|
+
install(app) {
|
|
6
|
+
if (providerTag && provider) {
|
|
7
|
+
_gct.register.tableEditor.register(
|
|
8
|
+
EditorRegisterConst.PREFIX + providerTag,
|
|
9
|
+
provider
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
if (com) {
|
|
13
|
+
app.component(com.name || com.__name, com);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { widthTableEditorInstall };
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
3
|
+
/* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
|
|
4
|
+
/**
|
|
5
|
+
* 定义 Block 块
|
|
6
|
+
* @param {String} $block - Block 块名称
|
|
7
|
+
* @example
|
|
8
|
+
* @include b('button') {
|
|
9
|
+
* padding: 10px;
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 定义 Element 元素
|
|
14
|
+
* @param {String|List} $element - Element 元素名称,支持单个或多个
|
|
15
|
+
* @example
|
|
16
|
+
* @include b('button') {
|
|
17
|
+
* @include e('text') {
|
|
18
|
+
* color: #000;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* // 或传入多个元素
|
|
22
|
+
* @include b('button') {
|
|
23
|
+
* @include e(('text', 'icon')) {
|
|
24
|
+
* margin: 5px;
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* 定义 Modifier 修饰符
|
|
30
|
+
* @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
|
|
31
|
+
* @example
|
|
32
|
+
* @include b('button') {
|
|
33
|
+
* @include m('primary') {
|
|
34
|
+
* background: blue;
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* // 或传入多个修饰符
|
|
38
|
+
* @include b('button') {
|
|
39
|
+
* @include m(('primary', 'large')) {
|
|
40
|
+
* background: blue;
|
|
41
|
+
* font-size: 16px;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* 定义状态选择器
|
|
47
|
+
* @param {String} $state - 状态名称
|
|
48
|
+
* @example
|
|
49
|
+
* @include b('button') {
|
|
50
|
+
* @include when('disabled') {
|
|
51
|
+
* opacity: 0.5;
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* 深色主题样式
|
|
57
|
+
* @param {String} $block - Block 块名称
|
|
58
|
+
* @example
|
|
59
|
+
* @include dark('button') {
|
|
60
|
+
* background: #333;
|
|
61
|
+
* color: #fff;
|
|
62
|
+
* }
|
|
63
|
+
*/
|
|
64
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
65
|
+
.gct-gct-table__table-header.is-required::before {
|
|
66
|
+
content: "*";
|
|
67
|
+
color: var(--gct-color-danger);
|
|
68
|
+
margin-right: var(--gct-spacing-4);
|
|
69
|
+
vertical-align: -2px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.gct-gct-table .ant-table-wrapper {
|
|
73
|
+
height: 100% !important;
|
|
74
|
+
}
|
|
75
|
+
.gct-gct-table .ant-table-wrapper.is-not-edit .ant-table .ant-table-body {
|
|
76
|
+
padding-bottom: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.gct-gct-table .ant-form {
|
|
80
|
+
display: flex;
|
|
81
|
+
height: 100%;
|
|
82
|
+
}
|
|
83
|
+
.gct-gct-table .ant-form .ant-form-item {
|
|
84
|
+
margin-bottom: 0;
|
|
85
|
+
height: 26px;
|
|
86
|
+
}
|
|
87
|
+
.gct-gct-table .ant-table .ant-table-row {
|
|
88
|
+
height: 44px;
|
|
89
|
+
}
|
|
90
|
+
.gct-gct-table .ant-table .ant-table-row:hover {
|
|
91
|
+
background-color: #f7f9ff !important;
|
|
92
|
+
}
|
|
93
|
+
.gct-gct-table .ant-table .ant-table-cell {
|
|
94
|
+
padding: 8px;
|
|
95
|
+
}
|
|
96
|
+
.gct-gct-table .ant-form-item-with-help .ant-form-item-explain {
|
|
97
|
+
margin-bottom: -18px;
|
|
98
|
+
height: 18px;
|
|
99
|
+
min-height: 18px;
|
|
100
|
+
font-size: 12px;
|
|
101
|
+
}
|
|
102
|
+
.gct-gct-table .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td:not(.ant-table-cell-fix-right, .ant-table-cell-fix-left),
|
|
103
|
+
.gct-gct-table .ant-table-tbody .ant-table-row-hover,
|
|
104
|
+
.gct-gct-table .ant-table-tbody .ant-table-row-hover > td {
|
|
105
|
+
background-color: transparent !important;
|
|
106
|
+
}
|
|
107
|
+
.gct-gct-table .ant-btn-text.ant-btn {
|
|
108
|
+
border-color: transparent;
|
|
109
|
+
}
|
|
110
|
+
.gct-gct-table .ant-spin-nested-loading {
|
|
111
|
+
height: 100%;
|
|
112
|
+
}
|
|
113
|
+
.gct-gct-table .ant-spin-container {
|
|
114
|
+
height: 100%;
|
|
115
|
+
display: flex;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
}
|
|
118
|
+
.gct-gct-table .ant-table {
|
|
119
|
+
height: 100%;
|
|
120
|
+
flex-grow: 1;
|
|
121
|
+
}
|
|
122
|
+
.gct-gct-table .ant-pagination {
|
|
123
|
+
flex-shrink: 0;
|
|
124
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TablePaginationConfig } from 'ant-design-vue';
|
|
3
|
+
import { ITable } from '../../interface';
|
|
4
|
+
export declare const GctTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
count: {
|
|
6
|
+
type: NumberConstructor;
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
model: {
|
|
10
|
+
type: PropType<ITable>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
data: {
|
|
14
|
+
type: PropType<IData[]>;
|
|
15
|
+
default: () => never[];
|
|
16
|
+
};
|
|
17
|
+
}>, {
|
|
18
|
+
ns: import('@gct-paas/core').Namespace;
|
|
19
|
+
c: import('../..').ITableController;
|
|
20
|
+
loadingState: import('vue').Ref<IObject, IObject>;
|
|
21
|
+
elRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
22
|
+
formRef: import('vue').Ref<any, any>;
|
|
23
|
+
tableRef: import('vue').Ref<any, any>;
|
|
24
|
+
scrollHeight: import('vue').Ref<number | undefined, number | undefined>;
|
|
25
|
+
pagination: import('vue').ComputedRef<false | TablePaginationConfig>;
|
|
26
|
+
isEdit: import('vue').ComputedRef<boolean>;
|
|
27
|
+
handleTableChange: (pagination: TablePaginationConfig, filters: Record<string, import('ant-design-vue/lib/table/interface').FilterValue | null>, sorter: import('ant-design-vue/lib/table/interface').SorterResult<any> | import('ant-design-vue/lib/table/interface').SorterResult<any>[], extra: import('ant-design-vue/lib/table/interface').TableCurrentDataSource<any>) => void;
|
|
28
|
+
mouseOver: (e: MouseEvent) => void;
|
|
29
|
+
mouseOut: (e: MouseEvent) => void;
|
|
30
|
+
onValidate: (name: string, status: boolean, errorMsgs: string[]) => void;
|
|
31
|
+
validate: () => any;
|
|
32
|
+
reload: (params?: IParams) => Promise<void>;
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "rowChange"[], "rowChange", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
+
count: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
model: {
|
|
39
|
+
type: PropType<ITable>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
data: {
|
|
43
|
+
type: PropType<IData[]>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{
|
|
47
|
+
onRowChange?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
data: IData[];
|
|
50
|
+
count: number;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
import { defineComponent, createVNode, resolveComponent, mergeProps, h, ref, watch, onMounted, onUnmounted, computed, isVNode } from 'vue';
|
|
2
|
+
import { isBoolean, cloneDeep, isNil, clone, defaults } from 'lodash-es';
|
|
3
|
+
import { isPromise, isAsync } from 'qx-util';
|
|
4
|
+
import { useNamespace, t } from '@gct-paas/core';
|
|
5
|
+
import { useTableController, GctTableController } from '../../controller/gct-table/gct-table.controller.mjs';
|
|
6
|
+
import { useAntTableScrollHeight } from '../../hooks/use-ant-table/use-ant-table.mjs';
|
|
7
|
+
import './gct-table.css';/* empty css */
|
|
8
|
+
|
|
9
|
+
function _isSlot(s) {
|
|
10
|
+
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
11
|
+
}
|
|
12
|
+
const GctTable = /* @__PURE__ */ defineComponent({
|
|
13
|
+
name: 'GctTable',
|
|
14
|
+
props: {
|
|
15
|
+
// local 必给,避免vue的双向数据绑定不生效
|
|
16
|
+
count: {
|
|
17
|
+
type: Number,
|
|
18
|
+
default: 0
|
|
19
|
+
},
|
|
20
|
+
model: {
|
|
21
|
+
type: Object,
|
|
22
|
+
required: true
|
|
23
|
+
},
|
|
24
|
+
data: {
|
|
25
|
+
type: Array,
|
|
26
|
+
default: () => []
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
emits: ['rowChange'],
|
|
30
|
+
setup(props, {
|
|
31
|
+
emit
|
|
32
|
+
}) {
|
|
33
|
+
const ns = useNamespace('gct-table');
|
|
34
|
+
const loadingState = ref({});
|
|
35
|
+
const elRef = ref();
|
|
36
|
+
const formRef = ref();
|
|
37
|
+
const tableRef = ref();
|
|
38
|
+
let hoverRow = null;
|
|
39
|
+
let activeRow = null;
|
|
40
|
+
const c = useTableController(() => new GctTableController(props.model));
|
|
41
|
+
c.evt.on('change', async (data, name, val, oldVal) => {
|
|
42
|
+
emit('rowChange', cloneDeep(data), name, val, oldVal);
|
|
43
|
+
});
|
|
44
|
+
if (c.model.local === true) {
|
|
45
|
+
watch(() => props.count, () => {
|
|
46
|
+
c.setData(cloneDeep(props.data));
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// 要放在 return 之前,避免初始化顺序问题导致加载参数异常
|
|
51
|
+
if (c.model.local !== true && c.model.autoLoad !== false) {
|
|
52
|
+
c.load();
|
|
53
|
+
}
|
|
54
|
+
const findRowId = el => {
|
|
55
|
+
if (!el || el === elRef.value) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
const id = el.getAttribute('data-row-key');
|
|
59
|
+
if (id) {
|
|
60
|
+
return id;
|
|
61
|
+
}
|
|
62
|
+
return findRowId(el.parentElement);
|
|
63
|
+
};
|
|
64
|
+
const mouseOver = e => {
|
|
65
|
+
const rowId = findRowId(e.target);
|
|
66
|
+
if (rowId) {
|
|
67
|
+
const row = c.row[rowId];
|
|
68
|
+
if (hoverRow) {
|
|
69
|
+
hoverRow.state.hover = false;
|
|
70
|
+
}
|
|
71
|
+
row.state.hover = true;
|
|
72
|
+
hoverRow = row;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
const mouseOut = e => {
|
|
76
|
+
const rowId = findRowId(e.target);
|
|
77
|
+
if (!rowId && hoverRow) {
|
|
78
|
+
hoverRow.state.hover = false;
|
|
79
|
+
hoverRow = null;
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
const mouseLeave = e => {
|
|
83
|
+
const rowId = findRowId(e.target);
|
|
84
|
+
if (!rowId && hoverRow) {
|
|
85
|
+
hoverRow.state.hover = false;
|
|
86
|
+
hoverRow = null;
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
const click = e => {
|
|
90
|
+
const rowId = findRowId(e.target);
|
|
91
|
+
if (rowId) {
|
|
92
|
+
const row = c.row[rowId];
|
|
93
|
+
if (activeRow) {
|
|
94
|
+
activeRow.unActive();
|
|
95
|
+
}
|
|
96
|
+
row.active();
|
|
97
|
+
activeRow = row;
|
|
98
|
+
} else {
|
|
99
|
+
if (activeRow) {
|
|
100
|
+
activeRow.unActive();
|
|
101
|
+
activeRow = null;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const winClick = () => {
|
|
106
|
+
if (activeRow) {
|
|
107
|
+
activeRow.unActive();
|
|
108
|
+
activeRow = null;
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
onMounted(() => {
|
|
112
|
+
if (elRef.value) {
|
|
113
|
+
elRef.value.addEventListener('mouseover', mouseOver, {
|
|
114
|
+
capture: true
|
|
115
|
+
});
|
|
116
|
+
elRef.value.addEventListener('mouseout', mouseOver, {
|
|
117
|
+
capture: true
|
|
118
|
+
});
|
|
119
|
+
elRef.value.addEventListener('mouseleave', mouseLeave, {
|
|
120
|
+
capture: true
|
|
121
|
+
});
|
|
122
|
+
elRef.value.addEventListener('click', click, {
|
|
123
|
+
capture: true
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
window.addEventListener('click', winClick, {
|
|
127
|
+
capture: true
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
onUnmounted(() => {
|
|
131
|
+
if (elRef.value) {
|
|
132
|
+
elRef.value.removeEventListener('mouseover', mouseOver, {
|
|
133
|
+
capture: true
|
|
134
|
+
});
|
|
135
|
+
elRef.value.removeEventListener('mouseout', mouseOver, {
|
|
136
|
+
capture: true
|
|
137
|
+
});
|
|
138
|
+
elRef.value.removeEventListener('mouseleave', mouseLeave, {
|
|
139
|
+
capture: true
|
|
140
|
+
});
|
|
141
|
+
elRef.value.removeEventListener('click', click, {
|
|
142
|
+
capture: true
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
window.removeEventListener('click', winClick, {
|
|
146
|
+
capture: true
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
const onValidate = (name, status, errorMsgs) => {
|
|
150
|
+
const keys = name.split('___');
|
|
151
|
+
if (keys.length === 2) {
|
|
152
|
+
const [name, id] = keys;
|
|
153
|
+
const row = c.row[id];
|
|
154
|
+
if (row) {
|
|
155
|
+
const item = row.item[name];
|
|
156
|
+
if (item) {
|
|
157
|
+
item.state.error = !status;
|
|
158
|
+
if (errorMsgs && errorMsgs.length > 0) {
|
|
159
|
+
item.state.errMessage = errorMsgs[0];
|
|
160
|
+
} else {
|
|
161
|
+
item.state.errMessage = '';
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
const validate = () => {
|
|
168
|
+
return formRef.value.validate();
|
|
169
|
+
};
|
|
170
|
+
const reload = params => {
|
|
171
|
+
return c.load(params);
|
|
172
|
+
};
|
|
173
|
+
const pagination = computed(() => {
|
|
174
|
+
if (isNil(props.model.pagination)) {
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
const pagination = clone(props.model.pagination);
|
|
178
|
+
defaults(pagination, {
|
|
179
|
+
pageSizeOptions: [10, 20, 30, 40, 50],
|
|
180
|
+
showSizeChanger: true,
|
|
181
|
+
showTotal: true
|
|
182
|
+
});
|
|
183
|
+
const showTotal = pagination.showTotal === true ? total => t('sys.component.table.total', {
|
|
184
|
+
total
|
|
185
|
+
}) : pagination.showTotal || undefined;
|
|
186
|
+
const sizeOptions = pagination.pageSizeOptions?.map(item => `${item}`); //ant组件识别纯数字数组的时候不会显示中文
|
|
187
|
+
|
|
188
|
+
return {
|
|
189
|
+
class: 'pagination-total-left',
|
|
190
|
+
total: c.state.total,
|
|
191
|
+
current: c.state.page,
|
|
192
|
+
pageSize: c.state.size,
|
|
193
|
+
pageSizeOptions: sizeOptions,
|
|
194
|
+
showSizeChanger: pagination.showSizeChanger,
|
|
195
|
+
showTotal: showTotal
|
|
196
|
+
};
|
|
197
|
+
});
|
|
198
|
+
const handleTableChange = (pagination, filters, sorter) => {
|
|
199
|
+
console.log('[ pagination ] >', pagination, filters, sorter);
|
|
200
|
+
c.updatePagination({
|
|
201
|
+
page: pagination.current,
|
|
202
|
+
size: pagination.pageSize
|
|
203
|
+
});
|
|
204
|
+
c.reload();
|
|
205
|
+
};
|
|
206
|
+
const {
|
|
207
|
+
scrollHeight
|
|
208
|
+
} = useAntTableScrollHeight(elRef, {
|
|
209
|
+
pagination: !!pagination.value
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
// 是否有编辑项
|
|
213
|
+
const isEdit = computed(() => {
|
|
214
|
+
return c.model.columns.some(col => col.type === 'edit');
|
|
215
|
+
});
|
|
216
|
+
return {
|
|
217
|
+
ns,
|
|
218
|
+
c,
|
|
219
|
+
loadingState,
|
|
220
|
+
elRef,
|
|
221
|
+
formRef,
|
|
222
|
+
tableRef,
|
|
223
|
+
scrollHeight,
|
|
224
|
+
pagination,
|
|
225
|
+
isEdit,
|
|
226
|
+
handleTableChange,
|
|
227
|
+
mouseOver,
|
|
228
|
+
mouseOut,
|
|
229
|
+
onValidate,
|
|
230
|
+
validate,
|
|
231
|
+
reload
|
|
232
|
+
};
|
|
233
|
+
},
|
|
234
|
+
render() {
|
|
235
|
+
return createVNode("div", {
|
|
236
|
+
"ref": "elRef",
|
|
237
|
+
"class": this.ns.b(),
|
|
238
|
+
"onMouseover": this.mouseOver,
|
|
239
|
+
"onMouseout": this.mouseOut
|
|
240
|
+
}, [createVNode(resolveComponent("a-form"), {
|
|
241
|
+
"ref": "formRef",
|
|
242
|
+
"model": this.c.state.formData,
|
|
243
|
+
"onValidate": this.onValidate
|
|
244
|
+
}, {
|
|
245
|
+
default: () => [createVNode(resolveComponent("a-table"), mergeProps({
|
|
246
|
+
"ref": "tableRef",
|
|
247
|
+
"class": ['flex-1', this.ns.is('pagination', !!this.pagination), this.ns.is('not-edit', !this.isEdit)],
|
|
248
|
+
"scroll": {
|
|
249
|
+
y: this.scrollHeight
|
|
250
|
+
},
|
|
251
|
+
"columns": this.model.columns,
|
|
252
|
+
"data-source": this.c.state.items,
|
|
253
|
+
"row-key": record => record[this.c.model.key],
|
|
254
|
+
"pagination": this.pagination,
|
|
255
|
+
"onChange": this.handleTableChange
|
|
256
|
+
}, this.$attrs), {
|
|
257
|
+
headerCell: ({
|
|
258
|
+
title,
|
|
259
|
+
column
|
|
260
|
+
}) => {
|
|
261
|
+
const _column = column;
|
|
262
|
+
if (_column.type === 'edit' && _column.rules && _column.rules.length > 0) {
|
|
263
|
+
const isRequired = _column.rules.some(rule => rule.required === true);
|
|
264
|
+
return createVNode("span", {
|
|
265
|
+
"title": title,
|
|
266
|
+
"class": [this.ns.e('table-header'), this.ns.is('required', isRequired)]
|
|
267
|
+
}, [createVNode("span", {
|
|
268
|
+
"class": this.ns.e('table-item')
|
|
269
|
+
}, [title])]);
|
|
270
|
+
}
|
|
271
|
+
return title;
|
|
272
|
+
},
|
|
273
|
+
bodyCell: ({
|
|
274
|
+
column,
|
|
275
|
+
text,
|
|
276
|
+
record
|
|
277
|
+
}) => {
|
|
278
|
+
if (text == null && this.model.isEmptyText == true) {
|
|
279
|
+
text = _gct.store.getEmptyDisplay;
|
|
280
|
+
} else {
|
|
281
|
+
text = isBoolean(text) ? text.toString() : text;
|
|
282
|
+
}
|
|
283
|
+
const _column = column;
|
|
284
|
+
if (_column.customRender) {
|
|
285
|
+
return _column.customRender({
|
|
286
|
+
record
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
if (column.type === 'edit') {
|
|
290
|
+
const key = record[this.c.model.key];
|
|
291
|
+
const row = this.c.row[key];
|
|
292
|
+
if (row) {
|
|
293
|
+
let _slot;
|
|
294
|
+
const provider = this.c.editorProviders[column.name];
|
|
295
|
+
const com = resolveComponent(provider.component);
|
|
296
|
+
const item = row.item[column.name];
|
|
297
|
+
const isEdit = row.state.hover === true || item.state.error === true || row.state.active === true || this.c.model.rowEditMode === 'all';
|
|
298
|
+
return createVNode(resolveComponent("a-form-item"), {
|
|
299
|
+
"name": `${column.name}___${key}`,
|
|
300
|
+
"class": [this.ns.b('table-item'), this.ns.bm('table-item', 'edit')],
|
|
301
|
+
"rules": item.model.rules || []
|
|
302
|
+
}, _isSlot(_slot = h(com, {
|
|
303
|
+
key: item.model.name,
|
|
304
|
+
c: item,
|
|
305
|
+
model: item.model.editor,
|
|
306
|
+
readonly: item.state.readonly,
|
|
307
|
+
disabled: item.state.disabled,
|
|
308
|
+
value: item.value,
|
|
309
|
+
itemModel: item.model,
|
|
310
|
+
data: row.data,
|
|
311
|
+
keepalive: item.state.keepalive,
|
|
312
|
+
visible: item.state.visible,
|
|
313
|
+
isEdit,
|
|
314
|
+
'onUpdate:value': value => {
|
|
315
|
+
item.value = value;
|
|
316
|
+
}
|
|
317
|
+
})) ? _slot : {
|
|
318
|
+
default: () => [_slot]
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
if (column.type === 'actions') {
|
|
323
|
+
const item = column;
|
|
324
|
+
return createVNode("div", {
|
|
325
|
+
"class": this.ns.b('table-actions')
|
|
326
|
+
}, [item.actions.filter(_ => {
|
|
327
|
+
if (_.hidden) {
|
|
328
|
+
return !_.hidden(record);
|
|
329
|
+
}
|
|
330
|
+
return true;
|
|
331
|
+
}).map(_ => {
|
|
332
|
+
if (_.mode === 'divider') {
|
|
333
|
+
return createVNode(resolveComponent("a-divider"), {
|
|
334
|
+
"type": "vertical"
|
|
335
|
+
}, null);
|
|
336
|
+
}
|
|
337
|
+
const loadingKey = `${_.type}___${_.tag}___${record[this.c.model.key]}`;
|
|
338
|
+
const button = createVNode(resolveComponent("a-button"), mergeProps({
|
|
339
|
+
"class": this.ns.b('table-action-item'),
|
|
340
|
+
"type": _.type,
|
|
341
|
+
"size": "small",
|
|
342
|
+
"loading": this.loadingState[loadingKey] === true,
|
|
343
|
+
"onClick": async e => {
|
|
344
|
+
if (_.confirm) {
|
|
345
|
+
return;
|
|
346
|
+
}
|
|
347
|
+
e.stopPropagation();
|
|
348
|
+
if (_.action) {
|
|
349
|
+
if (isPromise(_.action) || isAsync(_.action)) {
|
|
350
|
+
this.loadingState[loadingKey] = true;
|
|
351
|
+
try {
|
|
352
|
+
await _.action(record);
|
|
353
|
+
} catch (error) {
|
|
354
|
+
console.log(error);
|
|
355
|
+
} finally {
|
|
356
|
+
this.loadingState[loadingKey] = false;
|
|
357
|
+
}
|
|
358
|
+
} else {
|
|
359
|
+
_.action(record);
|
|
360
|
+
}
|
|
361
|
+
} else {
|
|
362
|
+
item.action(_.tag, record);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}, _.props), {
|
|
366
|
+
default: () => [_.text]
|
|
367
|
+
});
|
|
368
|
+
if (_.confirm) {
|
|
369
|
+
return createVNode(resolveComponent("a-popconfirm"), mergeProps({
|
|
370
|
+
"onConfirm": async () => {
|
|
371
|
+
if (_.action) {
|
|
372
|
+
if (isPromise(_.action) || isAsync(_.action)) {
|
|
373
|
+
this.loadingState[loadingKey] = true;
|
|
374
|
+
try {
|
|
375
|
+
await _.action(record);
|
|
376
|
+
} catch (error) {
|
|
377
|
+
console.log(error);
|
|
378
|
+
} finally {
|
|
379
|
+
this.loadingState[loadingKey] = false;
|
|
380
|
+
}
|
|
381
|
+
} else {
|
|
382
|
+
_.action(record);
|
|
383
|
+
}
|
|
384
|
+
} else {
|
|
385
|
+
item.action(_.tag, record);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}, _.confirm), _isSlot(button) ? button : {
|
|
389
|
+
default: () => [button]
|
|
390
|
+
});
|
|
391
|
+
} else {
|
|
392
|
+
return button;
|
|
393
|
+
}
|
|
394
|
+
})]);
|
|
395
|
+
}
|
|
396
|
+
if (column.type === 'link') {
|
|
397
|
+
return createVNode("a", {
|
|
398
|
+
"class": this.ns.e('table-link'),
|
|
399
|
+
"onClick": e => {
|
|
400
|
+
e.stopPropagation();
|
|
401
|
+
if (_column.click) {
|
|
402
|
+
_column.click(record);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}, [text]);
|
|
406
|
+
}
|
|
407
|
+
return text;
|
|
408
|
+
}
|
|
409
|
+
})]
|
|
410
|
+
})]);
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
|
|
414
|
+
export { GctTable };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { WithInstall } from '../../utils';
|
|
2
|
+
export declare const BasicModal: WithInstall<unknown>;
|
|
3
|
+
export { useModalContext } from './src/hooks/useModalContext';
|
|
4
|
+
export { useModal, useModalInner } from './src/hooks/useModal';
|
|
5
|
+
export { useModalDragMove } from './src/hooks/useModalDrag';
|
|
6
|
+
export * from './src/typing';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '../../components/app-modal/app-modal-component.css';import './src/index.css';/* empty css */
|
|
2
|
+
import _sfc_main from './src/BasicModal.vue.mjs';
|
|
3
|
+
import 'ant-design-vue';
|
|
4
|
+
import '../../utils/monaco-loader/monaco-loader.mjs';
|
|
5
|
+
import 'lodash-es';
|
|
6
|
+
import 'vue';
|
|
7
|
+
import '@gct-paas/core';
|
|
8
|
+
import 'vue3-dnd';
|
|
9
|
+
import 'react-dnd-html5-backend';
|
|
10
|
+
/* empty css */
|
|
11
|
+
import { withInstall } from '../../utils/with-install.mjs';
|
|
12
|
+
export { useModal, useModalInner } from './src/hooks/useModal.mjs';
|
|
13
|
+
import '@vueuse/core';
|
|
14
|
+
|
|
15
|
+
const BasicModal = withInstall(_sfc_main);
|
|
16
|
+
|
|
17
|
+
export { BasicModal };
|