@gct-paas/core-web 0.1.4-dev.9 → 0.1.5-dev.0
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/chunk-lEgNpoW5.js +1 -0
- package/dist/cropper-DyP6CFER.js +1 -0
- package/dist/de_DE-DIDpd1gQ.js +1 -0
- package/dist/en_US-BaP-b1tP.js +1 -0
- package/dist/es_ES-NOVlNQnw.js +1 -0
- package/dist/fr_FR-Bk_x0L7S.js +1 -0
- package/dist/index.min.css +2 -1
- package/dist/ja_JP-CeseBQS9.js +1 -0
- package/dist/loader.esm.min.js +1 -0
- package/dist/monaco-editor-DCEyjUmJ.js +1 -0
- package/dist/objectSpread2-Cr8AaZiL.js +1 -0
- package/dist/pt_PT-DFlFmzXZ.js +1 -0
- package/dist/ru_RU-C5XPaRfl.js +1 -0
- package/dist/tr_TR-CODhj5X1.js +1 -0
- package/dist/useMonacoEditor-kyCCXYcK.js +1 -0
- package/dist/vi_VN-BjwID8XV.js +1 -0
- package/dist/zh_CN-BKmwBYsr.js +1 -0
- package/dist/zh_TW-BSGEo2Qx.js +1 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +7 -8
- 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/assets/svg/image-error.svg.mjs +4 -0
- package/es/components/BpmnRuntime/index.d.ts +2 -0
- package/es/components/BpmnRuntime/index.mjs +1 -0
- package/es/components/BpmnRuntime/paas/paas-bpmn-runtime.vue.d.ts +5 -0
- package/es/components/BpmnRuntime/paas/paas-bpmn-runtime.vue.mjs +5 -0
- package/es/components/BpmnRuntime/paas/paas-bpmn-runtime.vue_vue_type_script_setup_true_lang.mjs +83 -0
- package/es/components/I18nSelect/index.d.ts +7 -0
- package/es/components/I18nSelect/index.mjs +7 -0
- package/es/components/I18nSelect/src/i18n-modal.vue.d.ts +21 -0
- package/es/components/I18nSelect/src/i18n-modal.vue.mjs +5 -0
- package/es/components/I18nSelect/src/i18n-modal.vue_vue_type_script_setup_true_lang.mjs +128 -0
- package/es/components/I18nSelect/src/i18n-select-btn.vue.d.ts +17 -0
- package/es/components/I18nSelect/src/i18n-select-btn.vue.mjs +7 -0
- package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_script_setup_true_name_i18n-select-btn_lang.mjs +119 -0
- package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_style_index_0_scoped_d0fab479_lang.css +58 -0
- package/es/components/I18nSelect/src/i18n-select-container.vue.d.ts +10 -0
- package/es/components/I18nSelect/src/i18n-select-container.vue.mjs +7 -0
- package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_script_setup_true_name_i18n-select-container_lang.mjs +226 -0
- package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_style_index_0_scoped_5f75bfb2_lang.css +6 -0
- package/es/components/I18nSelect/src/i18n-select-input-form.vue.d.ts +15 -0
- package/es/components/I18nSelect/src/i18n-select-input-form.vue.mjs +5 -0
- package/es/components/I18nSelect/src/i18n-select-input-form.vue_vue_type_script_setup_true_name_i18n-select-input-form_lang.mjs +56 -0
- package/es/components/I18nSelect/src/i18n-select-input.vue.d.ts +51 -0
- package/es/components/I18nSelect/src/i18n-select-input.vue.mjs +7 -0
- package/es/components/I18nSelect/src/i18n-select-input.vue_vue_type_script_setup_true_name_i18n-select-input_lang.mjs +124 -0
- package/es/components/I18nSelect/src/i18n-select-input.vue_vue_type_style_index_0_scoped_b4baf3ec_lang.css +3 -0
- package/es/components/I18nSelect/src/i18n-select-modal.vue.d.ts +4 -0
- package/es/components/I18nSelect/src/i18n-select-modal.vue.mjs +5 -0
- package/es/components/I18nSelect/src/i18n-select-modal.vue_vue_type_script_setup_true_lang.mjs +20 -0
- package/es/components/I18nSelect/src/i18n-select-textarea-form.vue.d.ts +15 -0
- package/es/components/I18nSelect/src/i18n-select-textarea-form.vue.mjs +5 -0
- package/es/components/I18nSelect/src/i18n-select-textarea-form.vue_vue_type_script_setup_true_name_i18n-select-input-form_lang.mjs +56 -0
- package/es/components/I18nSelect/src/i18n-select-textarea.vue.d.ts +26 -0
- package/es/components/I18nSelect/src/i18n-select-textarea.vue.mjs +7 -0
- package/es/components/I18nSelect/src/i18n-select-textarea.vue_vue_type_script_setup_true_name_i18n-select-input_lang.mjs +86 -0
- package/es/components/I18nSelect/src/i18n-select-textarea.vue_vue_type_style_index_0_scoped_cd95c416_lang.css +17 -0
- package/es/components/I18nSelect/src/useI18nSelect.d.ts +13 -0
- package/es/components/I18nSelect/src/useI18nSelect.mjs +47 -0
- package/es/components/UserPick/index.d.ts +42 -0
- package/es/components/UserPick/index.mjs +108 -0
- package/es/{editor/gct-form-field-select/gct-model-select.vue.d.ts → components/UserPick/src/components/dept-item.vue.d.ts} +6 -4
- package/es/components/UserPick/src/components/dept-item.vue.mjs +7 -0
- package/es/components/UserPick/src/components/dept-item.vue_vue_type_script_setup_true_lang.mjs +32 -0
- package/es/components/UserPick/src/components/dept-item.vue_vue_type_style_index_0_scoped_075b8ce7_lang.css +3 -0
- package/es/components/UserPick/src/components/user-item.vue.d.ts +11 -0
- package/es/components/UserPick/src/components/user-item.vue.mjs +7 -0
- package/es/components/UserPick/src/components/user-item.vue_vue_type_script_setup_true_lang.mjs +33 -0
- package/es/components/UserPick/src/components/user-item.vue_vue_type_style_index_0_scoped_1456f8b9_lang.css +3 -0
- package/es/components/UserPick/src/constants/index.d.ts +5 -0
- package/es/components/UserPick/src/constants/index.mjs +9 -0
- package/es/components/UserPick/src/hooks.d.ts +1 -0
- package/es/components/UserPick/src/hooks.mjs +94 -0
- package/es/components/UserPick/src/user-pick.vue.d.ts +17 -0
- package/es/components/UserPick/src/user-pick.vue.mjs +7 -0
- package/es/components/UserPick/src/user-pick.vue_vue_type_script_setup_true_lang.mjs +280 -0
- package/es/components/UserPick/src/user-pick.vue_vue_type_style_index_0_scoped_a49a84da_lang.css +39 -0
- package/es/components/app-modal/app-modal-component.mjs +104 -133
- package/es/components/assets-svg-icon/assets-svg-icon.mjs +161 -232
- package/es/components/assets-svg-icon/request.mjs +60 -43
- package/es/components/assets-svg-icon/utils.mjs +21 -19
- package/es/components/assets-svg-icon/validate.mjs +27 -41
- package/es/components/base-button/base-button.vue.d.ts +6 -6
- package/es/components/base-button/base-button.vue.mjs +7 -7
- package/es/components/base-button/base-button.vue_vue_type_script_setup_true_name_BaseButton_lang.mjs +181 -0
- package/es/components/base-button/{base-button.css → base-button.vue_vue_type_style_index_0_scoped_5b7fe5af_lang.css} +18 -18
- package/es/components/basic-button/basic-button.vue.d.ts +2 -2
- package/es/components/basic-button/basic-button.vue.mjs +7 -7
- package/es/components/basic-button/basic-button.vue_vue_type_script_setup_true_name_BasicButton_lang.mjs +148 -0
- package/es/components/basic-button/{basic-button.css → basic-button.vue_vue_type_style_index_0_scoped_22131025_lang.css} +5 -5
- package/es/components/code-editor/code-editor.d.ts +1 -1
- package/es/components/code-editor/code-editor.mjs +59 -63
- 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.vue_vue_type_script_setup_true_name_copy-module-key_lang.mjs +92 -0
- package/es/components/copy-module-key/copy-module-key.vue_vue_type_style_index_0_scoped_531b3cd2_lang.css +24 -0
- package/es/components/double-input/double-input.vue.d.ts +49 -0
- package/es/components/double-input/double-input.vue.mjs +5 -0
- package/es/components/double-input/double-input.vue_vue_type_script_setup_true_lang.mjs +121 -0
- package/es/components/field-upload/index.d.ts +2 -0
- package/es/components/field-upload/index.mjs +7 -0
- package/es/components/field-upload/src/FieldUpload.vue.d.ts +37 -0
- package/es/components/field-upload/src/FieldUpload.vue.mjs +5 -0
- package/es/components/field-upload/src/FieldUpload.vue_vue_type_script_setup_true_name_FieldUpload_lang.mjs +111 -0
- package/es/components/field-upload/src/components/base-upload.vue.d.ts +21 -0
- package/es/components/field-upload/src/components/base-upload.vue.mjs +7 -0
- package/es/components/field-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +227 -0
- package/es/components/field-upload/src/components/base-upload.vue_vue_type_style_index_0_scoped_f53b6ac6_lang.css +76 -0
- package/es/components/field-upload/src/components/file-list.vue.d.ts +17 -0
- package/es/components/field-upload/src/components/file-list.vue.mjs +7 -0
- package/es/components/field-upload/src/components/file-list.vue_vue_type_script_setup_true_name_fileList_lang.mjs +129 -0
- package/es/components/field-upload/src/components/file-list.vue_vue_type_style_index_0_scoped_3918aad0_lang.css +129 -0
- package/es/components/field-upload/src/components/upload-design.vue.d.ts +5 -0
- package/es/components/field-upload/src/components/upload-design.vue.mjs +7 -0
- package/es/components/field-upload/src/components/upload-design.vue_vue_type_script_name_UploadDesign_setup_true_lang.mjs +43 -0
- package/es/components/field-upload/src/components/upload-design.vue_vue_type_style_index_0_scoped_1e5189c1_lang.css +43 -0
- package/es/components/field-upload/src/hooks/hooks.d.ts +4 -0
- package/es/components/field-upload/src/hooks/hooks.mjs +47 -0
- package/es/components/field-upload/src/types/index.d.ts +42 -0
- package/es/components/field-upload/src/types/index.mjs +24 -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 +36 -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 +43 -0
- package/es/components/icon-next/index.d.ts +3 -0
- package/es/components/icon-next/index.mjs +3 -0
- package/es/components/icon-next/src/IconNext.vue.d.ts +40 -0
- package/es/components/icon-next/src/IconNext.vue.mjs +7 -0
- package/es/components/icon-next/src/IconNext.vue_vue_type_script_setup_true_name_IconNext_lang.mjs +113 -0
- package/es/components/icon-next/src/IconNext.vue_vue_type_style_index_0_scoped_360a87c9_lang.css +18 -0
- package/es/components/icon-next/src/IconNextPicker.vue.d.ts +75 -0
- package/es/components/icon-next/src/IconNextPicker.vue.mjs +6 -0
- package/es/components/icon-next/src/IconNextPicker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs +379 -0
- package/es/components/icon-next/src/IconNextPicker.vue_vue_type_style_index_0_lang.css +198 -0
- package/es/components/icon-next/types/index.d.ts +17 -0
- package/es/components/icon-next/types/index.mjs +11 -0
- package/es/components/image-upload/index.d.ts +2 -0
- package/es/components/image-upload/index.mjs +7 -0
- package/es/components/image-upload/src/ImageUpload.vue.d.ts +32 -0
- package/es/components/image-upload/src/ImageUpload.vue.mjs +5 -0
- package/es/components/image-upload/src/ImageUpload.vue_vue_type_script_setup_true_name_ImageUpload_lang.mjs +74 -0
- package/es/components/image-upload/src/components/base-upload.vue.d.ts +24 -0
- package/es/components/image-upload/src/components/base-upload.vue.mjs +8 -0
- package/es/components/image-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +208 -0
- package/es/components/image-upload/src/components/base-upload.vue_vue_type_style_index_0_scoped_2a928323_lang.css +76 -0
- package/es/components/image-upload/src/components/base-upload.vue_vue_type_style_index_1_lang.css +3 -0
- package/es/components/image-upload/src/components/upload-design.vue.d.ts +6 -0
- package/es/components/image-upload/src/components/upload-design.vue.mjs +7 -0
- package/es/components/image-upload/src/components/upload-design.vue_vue_type_script_name_UploadDesign_setup_true_lang.mjs +33 -0
- package/es/components/image-upload/src/components/upload-design.vue_vue_type_style_index_0_scoped_575d3a1a_lang.css +33 -0
- package/es/components/image-upload/src/hooks/hooks.d.ts +2 -0
- package/es/components/image-upload/src/types/index.d.ts +34 -0
- package/es/components/image-upload/src/types/index.mjs +8 -0
- package/es/components/index.d.ts +12 -4
- package/es/components/index.mjs +38 -22
- package/es/components/layout/view-container/view-container.mjs +24 -35
- package/es/components/paas-bpmn-log/components/approval-node.vue.d.ts +12 -0
- package/es/components/paas-bpmn-log/components/approval-node.vue.mjs +7 -0
- package/es/components/paas-bpmn-log/components/approval-node.vue_vue_type_script_setup_true_lang.mjs +170 -0
- package/es/components/paas-bpmn-log/components/approval-node.vue_vue_type_style_index_0_scoped_a88d7ef9_lang.css +51 -0
- package/es/components/paas-bpmn-log/components/user-list.vue.d.ts +6 -0
- package/es/components/paas-bpmn-log/components/user-list.vue.mjs +7 -0
- package/es/components/paas-bpmn-log/components/user-list.vue_vue_type_script_setup_true_lang.mjs +55 -0
- package/es/components/paas-bpmn-log/components/user-list.vue_vue_type_style_index_0_scoped_27aa2bf0_lang.css +10 -0
- package/es/components/paas-bpmn-log/hooks/useObserver.d.ts +13 -0
- package/es/components/paas-bpmn-log/hooks/useObserver.mjs +46 -0
- package/es/components/paas-bpmn-log/hooks/uselog.d.ts +5 -0
- package/es/components/paas-bpmn-log/hooks/uselog.mjs +17 -0
- package/es/components/paas-bpmn-log/imgs/avatar-default.png.mjs +4 -0
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue.d.ts +23 -0
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue.mjs +7 -0
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue_vue_type_script_setup_true_lang.mjs +245 -0
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue_vue_type_style_index_0_scoped_c85122b0_lang.css +54 -0
- package/es/components/svg-icon/svg-icon.vue.d.ts +1 -1
- package/es/components/svg-icon/svg-icon.vue.mjs +6 -50
- package/es/components/svg-icon/svg-icon.vue_vue_type_script_setup_true_name_SvgIcon_lang.mjs +52 -0
- package/es/components/vue3-grid-dnd-item/vue3-grid-dnd-item.css +103 -0
- package/es/components/vue3-grid-dnd-item/vue3-grid-dnd-item.d.ts +44 -0
- package/es/components/vue3-grid-dnd-item/vue3-grid-dnd-item.mjs +122 -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 +61 -0
- package/es/create-app-vue.mjs +29 -14
- package/es/directives/drag-resize.mjs +38 -39
- package/es/directives/ellipsis-title.d.ts +7 -0
- package/es/directives/ellipsis-title.mjs +21 -0
- package/es/directives/index.mjs +14 -6
- package/es/directives/target-loading.mjs +28 -36
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +4 -0
- package/es/hooks/useDragLine.mjs +66 -76
- package/es/hooks/useFile.d.ts +4 -0
- package/es/hooks/useFile.mjs +22 -0
- package/es/hooks/useLocale.d.ts +365 -1
- package/es/hooks/useLocale.mjs +23 -28
- package/es/hooks/useTheme.mjs +13 -17
- package/es/index.d.ts +6 -0
- package/es/index.mjs +115 -35
- package/es/loader.d.ts +1 -0
- package/es/modules/code-editor/index.d.ts +14 -14
- package/es/modules/code-editor/index.mjs +6 -7
- package/es/modules/code-editor/monaco-editor.vue.d.ts +5 -5
- package/es/modules/code-editor/monaco-editor.vue.mjs +7 -7
- package/es/modules/code-editor/monaco-editor.vue_vue_type_script_setup_true_name_code-editor_lang.mjs +399 -0
- package/es/modules/code-editor/{monaco-editor.css → monaco-editor.vue_vue_type_style_index_0_scoped_ccf22884_lang.css} +9 -9
- package/es/modules/code-editor/useEditorConsole.mjs +146 -187
- package/es/modules/code-editor/useMonacoEditor.mjs +24 -23
- package/es/modules/color-picker/index.mjs +1 -0
- package/es/modules/color-picker/src/ColorPicker.vue.d.ts +1 -1
- package/es/modules/color-picker/src/ColorPicker.vue.mjs +8 -8
- package/es/modules/color-picker/src/ColorPicker.vue_vue_type_script_setup_true_name_ColorPicker_lang.mjs +482 -0
- package/es/modules/formula-editor/constants/index.d.ts +7 -0
- package/es/modules/formula-editor/constants/index.mjs +10 -0
- package/es/modules/formula-editor/formula-editor.d.ts +10 -0
- package/es/modules/formula-editor/formula-editor.mjs +43 -0
- package/es/modules/formula-editor/index.d.ts +4 -0
- package/es/modules/formula-editor/index.mjs +2 -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.d.ts +1 -1
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs +158 -193
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.mjs +81 -95
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.mjs +178 -237
- package/es/modules/gct-dnd/constants/index.mjs +10 -18
- package/es/modules/gct-dnd/index.mjs +4 -0
- package/es/{components/layout → modules/gct-form/components}/flex-container/flex-container.d.ts +1 -2
- package/es/modules/gct-form/components/flex-container/flex-container.mjs +61 -0
- package/es/{components/layout → modules/gct-form/components}/flex-item/flex-item.d.ts +1 -2
- package/es/modules/gct-form/components/flex-item/flex-item.mjs +37 -0
- package/es/{components/layout → modules/gct-form/components}/grid-container/grid-container.d.ts +2 -5
- package/es/modules/gct-form/components/grid-container/grid-container.mjs +36 -0
- package/es/modules/gct-form/components/index.d.ts +3 -0
- package/es/modules/gct-form/components/index.mjs +3 -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 +18 -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 +134 -0
- package/es/modules/gct-form/constants/index.d.ts +3 -0
- package/es/modules/gct-form/constants/index.mjs +6 -0
- package/es/modules/gct-form/controller/edit-form/edit-form.controller.d.ts +27 -0
- package/es/modules/gct-form/controller/edit-form/edit-form.controller.mjs +51 -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 +19 -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 +21 -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 +21 -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 +89 -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 +21 -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 +36 -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 +64 -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 +17 -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 +21 -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 +21 -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 +21 -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 +201 -0
- package/es/modules/gct-form/controller/index.d.ts +13 -0
- package/es/modules/gct-form/controller/index.mjs +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 +45 -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 +10 -0
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.css +86 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/gct-form-check-switch.d.ts +7 -2
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.mjs +58 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-check-switch/gct-form-check-switch.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +15 -0
- package/es/modules/gct-form/editor/gct-form-check-switch/index.mjs +8 -0
- package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.css +108 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-checkbox/gct-form-checkbox.d.ts +19 -5
- package/es/modules/gct-form/editor/gct-form-checkbox/gct-form-checkbox.mjs +102 -0
- package/es/{editor/gct-form-icon-select → modules/gct-form/editor/gct-form-checkbox}/index.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-checkbox/index.mjs +10 -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 +39 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-color/gct-form-color.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-color/gct-form-color.provider.mjs +15 -0
- package/es/modules/gct-form/editor/gct-form-color/index.mjs +8 -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 +74 -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 +13 -0
- package/es/modules/gct-form/editor/gct-form-date/index.mjs +8 -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 +108 -0
- package/es/{editor/gct-form-info → modules/gct-form/editor/gct-form-date-format-select}/index.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-date-format-select/index.mjs +10 -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 +14 -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 +10 -0
- package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.css +81 -0
- package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.d.ts +39 -0
- package/es/modules/gct-form/editor/gct-form-formula/gct-form-formula.mjs +69 -0
- package/es/{editor/gct-form-radio → modules/gct-form/editor/gct-form-formula}/index.d.ts +1 -4
- package/es/modules/gct-form/editor/gct-form-formula/index.mjs +10 -0
- package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.css +120 -0
- package/es/{editor/gct-form-modal-select/gct-form-modal-select.d.ts → modules/gct-form/editor/gct-form-group-select/gct-form-group-select.d.ts} +19 -12
- package/es/modules/gct-form/editor/gct-form-group-select/gct-form-group-select.mjs +163 -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 +10 -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 +88 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-i18n/gct-form-i18n.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-i18n/gct-form-i18n.provider.mjs +15 -0
- package/es/modules/gct-form/editor/gct-form-i18n/index.mjs +8 -0
- package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.css +76 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-icon-select/gct-form-icon-select.d.ts +3 -3
- package/es/modules/gct-form/editor/gct-form-icon-select/gct-form-icon-select.mjs +64 -0
- package/es/{editor/gct-form-checkbox → modules/gct-form/editor/gct-form-icon-select}/index.d.ts +1 -4
- package/es/modules/gct-form/editor/gct-form-icon-select/index.mjs +10 -0
- package/es/modules/gct-form/editor/gct-form-info/gct-form-info.css +85 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-info/gct-form-info.d.ts +16 -1
- package/es/modules/gct-form/editor/gct-form-info/gct-form-info.mjs +41 -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 +10 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-length-unit/gct-form-length-unit.d.ts +1 -4
- package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.mjs +38 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-length-unit/gct-form-length-unit.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +15 -0
- package/es/modules/gct-form/editor/gct-form-length-unit/index.mjs +8 -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 +146 -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 +10 -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 +62 -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 +10 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-number/gct-form-number.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-number/gct-form-number.mjs +43 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-number/gct-form-number.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-number/gct-form-number.provider.mjs +6 -0
- package/es/modules/gct-form/editor/gct-form-number/index.mjs +8 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-picker/gct-form-picker.d.ts +3 -3
- package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.mjs +91 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-picker/gct-form-picker.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-picker/gct-form-picker.provider.mjs +15 -0
- package/es/modules/gct-form/editor/gct-form-picker/index.mjs +8 -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 +63 -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 +10 -0
- package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.css +205 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-radio/gct-form-radio.d.ts +7 -1
- package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.mjs +80 -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 +10 -0
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.css +83 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-select/gct-form-select.d.ts +17 -3
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.mjs +111 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-select/gct-form-select.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-select/gct-form-select.provider.mjs +15 -0
- package/es/modules/gct-form/editor/gct-form-select/index.mjs +8 -0
- package/es/modules/gct-form/editor/gct-form-span/gct-form-span.css +73 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-span/gct-form-span.d.ts +10 -1
- package/es/modules/gct-form/editor/gct-form-span/gct-form-span.mjs +70 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-span/gct-form-span.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-span/gct-form-span.provider.mjs +15 -0
- package/es/modules/gct-form/editor/gct-form-span/index.mjs +8 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-switch/gct-form-switch.d.ts +7 -1
- package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.mjs +34 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-switch/gct-form-switch.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-switch/gct-form-switch.provider.mjs +15 -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 +8 -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 +31 -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 +10 -0
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.css +70 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-text/gct-form-text.d.ts +8 -2
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.mjs +55 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-text/gct-form-text.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.provider.mjs +15 -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 +8 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-textarea/gct-form-textarea.d.ts +2 -1
- package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.mjs +45 -0
- package/es/{editor → modules/gct-form/editor}/gct-form-textarea/gct-form-textarea.provider.d.ts +1 -1
- package/es/modules/gct-form/editor/gct-form-textarea/gct-form-textarea.provider.mjs +6 -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 +8 -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 +62 -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 +10 -0
- package/es/modules/gct-form/editor/index.mjs +32 -0
- package/es/modules/gct-form/hooks/index.d.ts +2 -0
- package/es/modules/gct-form/hooks/index.mjs +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 +15 -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 +85 -0
- package/es/modules/gct-form/index.d.ts +12 -0
- package/es/modules/gct-form/index.mjs +51 -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 +58 -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 +64 -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 +46 -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 +27 -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 +15 -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 +15 -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 +19 -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 +23 -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 +15 -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 +19 -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 +12 -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 +17 -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 +15 -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 +22 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-edit-form/gct-edit-form.d.ts +22 -7
- package/es/modules/gct-form/widgets/gct-edit-form/gct-edit-form.mjs +125 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.css +97 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse/gct-form-collapse.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +69 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.model.d.ts +19 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse/gct-form-collapse.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +12 -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 +10 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.css +79 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +55 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.model.d.ts +18 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +12 -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 +10 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.css +88 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.mjs +77 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.model.d.ts +19 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-group/gct-form-group.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +12 -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 +10 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.d.ts +16 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.d.ts +2 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +12 -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-hidden-item/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.css +174 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-item/gct-form-item.d.ts +23 -4
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.mjs +131 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.model.d.ts +17 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-item/gct-form-item.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +12 -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-item/index.mjs +3 -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 +41 -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 +12 -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 +10 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.css +108 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab/gct-form-tab.d.ts +12 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +65 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.model.d.ts +10 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab/gct-form-tab.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +12 -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 +10 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.css +74 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab-pane/gct-form-tab-pane.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +53 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.model.d.ts +17 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +12 -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 +10 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.css +82 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-title-group/gct-form-title-group.d.ts +2 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +55 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.model.d.ts +19 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form-title-group/gct-form-title-group.provider.d.ts +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +12 -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 +11 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form.css +73 -0
- package/es/{widgets → modules/gct-form/widgets}/gct-form/gct-form.d.ts +13 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form.mjs +129 -0
- package/es/modules/gct-form/widgets/gct-form/index.d.ts +14 -0
- package/es/modules/gct-form/widgets/gct-form/index.mjs +30 -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 +141 -0
- package/es/modules/gct-table/controller/index.d.ts +5 -0
- package/es/modules/gct-table/controller/index.mjs +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 +15 -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 +26 -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 +33 -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 +77 -0
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.css +80 -0
- package/es/{editor/gct-form-i18n/gct-form-i18n.d.ts → modules/gct-table/editor/gct-table-date/gct-table-date.d.ts} +19 -8
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +50 -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 +13 -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 +10 -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 +29 -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 +15 -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 +10 -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 +63 -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 +15 -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 +10 -0
- package/es/modules/gct-table/editor/index.mjs +9 -0
- package/es/modules/gct-table/hooks/index.d.ts +1 -0
- package/es/modules/gct-table/hooks/index.mjs +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 +69 -0
- package/es/modules/gct-table/index.d.ts +10 -0
- package/es/modules/gct-table/index.mjs +22 -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 +68 -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 +47 -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 +20 -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 +30 -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 +17 -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 +98 -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/index.mjs +2 -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 +21 -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 +314 -0
- package/es/modules/gct-table/widgets/gct-table/index.mjs +8 -0
- package/es/modules/gct-table/widgets/index.mjs +7 -0
- package/es/modules/global-modal/index.d.ts +1 -0
- package/es/modules/global-modal/index.mjs +10 -15
- package/es/modules/global-modal/src/BasicModal.vue.d.ts +18 -18
- package/es/modules/global-modal/src/BasicModal.vue.mjs +5 -221
- package/es/modules/global-modal/src/BasicModal.vue_vue_type_script_setup_true_name_BasicModal_lang.mjs +201 -0
- package/es/modules/global-modal/src/components/GlboalModal.d.ts +10 -10
- package/es/modules/global-modal/src/components/GlboalModal.mjs +30 -39
- package/es/modules/global-modal/src/components/ModalClose.vue.mjs +6 -79
- package/es/modules/global-modal/src/components/ModalClose.vue_vue_type_script_setup_true_name_ModalClose_lang.mjs +67 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +12 -12
- package/es/modules/global-modal/src/components/ModalFooter.vue.mjs +5 -44
- package/es/modules/global-modal/src/components/ModalFooter.vue_vue_type_script_setup_true_name_BasicModalFooter_lang.mjs +40 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue.mjs +9 -9
- package/es/modules/global-modal/src/components/ModalHeader.vue_vue_type_script_lang.mjs +11 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/es/modules/global-modal/src/components/ModalWrapper.vue.mjs +18 -24
- package/es/modules/global-modal/src/components/ModalWrapper.vue_vue_type_script_lang.mjs +126 -0
- package/es/modules/global-modal/src/hooks/useModal.mjs +102 -116
- package/es/modules/global-modal/src/hooks/useModalContext.mjs +6 -6
- package/es/modules/global-modal/src/hooks/useModalDrag.mjs +69 -79
- package/es/modules/global-modal/src/hooks/useModalFullScreen.mjs +17 -13
- package/es/modules/global-modal/src/props.mjs +86 -56
- package/es/modules/picture-cropper/index.d.ts +6 -0
- package/es/modules/picture-cropper/index.mjs +5 -0
- package/es/modules/picture-cropper/src/CopperFreeModal.vue.d.ts +99 -0
- package/es/modules/picture-cropper/src/CopperFreeModal.vue.mjs +7 -0
- package/es/modules/picture-cropper/src/CopperFreeModal.vue_vue_type_script_setup_true_name_CropperModal_lang.mjs +297 -0
- package/es/modules/picture-cropper/src/CopperFreeModal.vue_vue_type_style_index_0_scoped_488ed4c7_lang.css +48 -0
- package/es/modules/picture-cropper/src/CopperModal.vue.d.ts +39 -0
- package/es/modules/picture-cropper/src/CopperModal.vue.mjs +7 -0
- package/es/modules/picture-cropper/src/CopperModal.vue_vue_type_script_setup_true_name_CropperModal_lang.mjs +280 -0
- package/es/modules/picture-cropper/src/CopperModal.vue_vue_type_style_index_0_scoped_ee086999_lang.css +71 -0
- package/es/modules/picture-cropper/src/Cropper.vue.d.ts +96 -0
- package/es/modules/picture-cropper/src/Cropper.vue.mjs +25 -0
- package/es/modules/picture-cropper/src/Cropper.vue_vue_type_script_lang.mjs +171 -0
- package/es/modules/picture-cropper/src/Cropper.vue_vue_type_style_index_0_lang.css +4 -0
- package/es/modules/picture-cropper/src/CropperAvatar.vue.d.ts +61 -0
- package/es/modules/picture-cropper/src/CropperAvatar.vue.mjs +7 -0
- package/es/modules/picture-cropper/src/CropperAvatar.vue_vue_type_script_setup_true_name_CropperAvatar_lang.mjs +116 -0
- package/es/modules/picture-cropper/src/CropperAvatar.vue_vue_type_style_index_0_scoped_af219c4c_lang.css +39 -0
- package/es/modules/picture-cropper/src/CropperFree.vue.d.ts +117 -0
- package/es/modules/picture-cropper/src/CropperFree.vue.mjs +7 -0
- package/es/modules/picture-cropper/src/CropperFree.vue_vue_type_script_setup_true_name_CropperPhoto_lang.mjs +170 -0
- package/es/modules/picture-cropper/src/CropperFree.vue_vue_type_style_index_0_scoped_015ef4a4_lang.css +83 -0
- package/es/modules/picture-preview/index.d.ts +2 -0
- package/es/modules/picture-preview/index.mjs +2 -0
- package/es/modules/picture-preview/src/Functional.vue.d.ts +60 -0
- package/es/modules/picture-preview/src/Functional.vue.mjs +6 -0
- package/es/modules/picture-preview/src/Functional.vue_vue_type_script_lang.mjs +287 -0
- package/es/modules/picture-preview/src/Functional.vue_vue_type_style_index_0_lang.css +101 -0
- package/es/modules/picture-preview/src/functional.d.ts +2 -0
- package/es/modules/picture-preview/src/functional.mjs +19 -0
- package/es/modules/picture-preview/src/picture-preview.vue.d.ts +51 -0
- package/es/modules/picture-preview/src/picture-preview.vue.mjs +6 -0
- package/es/modules/picture-preview/src/picture-preview.vue_vue_type_script_setup_true_lang.mjs +49 -0
- package/es/modules/picture-preview/src/picture-preview.vue_vue_type_style_index_0_lang.css +70 -0
- package/es/modules/picture-preview/src/typing.d.ts +51 -0
- package/es/modules/target-loading/index.mjs +3 -0
- package/es/modules/target-loading/src/createLoading.mjs +42 -54
- package/es/modules/target-loading/src/target-loading.vue.d.ts +1 -1
- package/es/modules/target-loading/src/target-loading.vue.mjs +7 -52
- package/es/modules/target-loading/src/target-loading.vue_vue_type_script_setup_true_name_target-loading_lang.mjs +55 -0
- package/es/modules/target-loading/src/useLoading.mjs +2 -0
- package/es/setup-app.mjs +3 -3
- package/es/types/index.d.ts +11 -1
- package/es/utils/index.mjs +4 -0
- package/es/utils/message-util/message-util.mjs +25 -25
- package/es/utils/monaco-loader/monaco-loader.mjs +83 -87
- package/es/utils/overlay-controller/overlay-controller.mjs +29 -20
- package/es/utils/with-install.mjs +10 -11
- package/package.json +26 -18
- package/dist/index-BghCpvxN.js +0 -76
- package/dist/index-PLrMc0gl.cjs +0 -76
- package/dist/index-oVPMi6Ep.js +0 -29160
- package/dist/index.esm.min.mjs +0 -36
- package/dist/index.min.cjs +0 -1
- package/dist/index.system.min.js +0 -1
- package/dist/monaco-editor-B8X-ou0h.js +0 -20245
- package/dist/monaco-editor-Bdgpd_KL.cjs +0 -19
- package/dist/monaco-editor-NIWDtQNB.js +0 -19
- package/es/components/base-button/base-button.vue3.mjs +0 -179
- package/es/components/basic-button/basic-button.vue3.mjs +0 -130
- package/es/components/layout/flex-container/flex-container.mjs +0 -94
- package/es/components/layout/flex-item/flex-item.mjs +0 -55
- package/es/components/layout/grid-container/grid-container.mjs +0 -51
- package/es/components/svg-icon/svg-icon.vue3.mjs +0 -6
- package/es/editor/gct-form-color/gct-form-color.d.ts +0 -5
- package/es/editor/gct-form-color/index.d.ts +0 -7
- package/es/editor/gct-form-field-select/gct-form-field-select.d.ts +0 -47
- package/es/editor/gct-form-field-select/gct-form-field-select.provider.d.ts +0 -13
- package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.d.ts +0 -13
- package/es/editor/gct-form-number/index.d.ts +0 -7
- package/es/editor/gct-form-switch/index.d.ts +0 -7
- package/es/editor/gct-form-text/index.d.ts +0 -7
- package/es/modules/code-editor/monaco-editor.vue2.mjs +0 -440
- package/es/modules/color-picker/src/ColorPicker.vue2.mjs +0 -545
- package/es/modules/global-modal/src/BasicModal.vue2.mjs +0 -5
- package/es/modules/global-modal/src/components/ModalClose.vue3.mjs +0 -6
- package/es/modules/global-modal/src/components/ModalFooter.vue2.mjs +0 -5
- package/es/modules/global-modal/src/components/ModalHeader.vue2.mjs +0 -13
- package/es/modules/global-modal/src/components/ModalWrapper.vue2.mjs +0 -136
- package/es/modules/target-loading/src/target-loading.vue3.mjs +0 -7
- package/es/widgets/gct-form/gct-form-group/index.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-tab/index.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-tab-pane/index.d.ts +0 -5
- package/es/widgets/gct-form/gct-form-title-group/index.d.ts +0 -5
- package/es/widgets/gct-form/index.d.ts +0 -5
- /package/es/components/svg-icon/{svg-icon.css → svg-icon.vue_vue_type_style_index_0_lang.css} +0 -0
- /package/es/modules/color-picker/src/{ColorPicker.css → ColorPicker.vue_vue_type_style_index_0_scoped_7bfd9ca3_lang.css} +0 -0
- /package/es/modules/color-picker/src/{ColorPicker2.css → ColorPicker.vue_vue_type_style_index_1_lang.css} +0 -0
- /package/es/{components/layout → modules/gct-form/components}/flex-container/flex-container.css +0 -0
- /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/gct-edit-form → modules/gct-table/editor}/index.d.ts +0 -0
- /package/es/{widgets/gct-form/gct-form-collapse-pane → modules/gct-table/widgets/gct-table}/index.d.ts +0 -0
- /package/es/{widgets/gct-form/gct-form-collapse → modules/gct-table/widgets}/index.d.ts +0 -0
- /package/es/modules/global-modal/src/components/{ModalClose.css → ModalClose.vue_vue_type_style_index_0_lang.css} +0 -0
- /package/es/modules/target-loading/src/{target-loading.css → target-loading.vue_vue_type_style_index_0_scoped_d448466c_lang.css} +0 -0
|
@@ -122,8 +122,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
122
122
|
type: NumberConstructor;
|
|
123
123
|
};
|
|
124
124
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
125
|
-
ok: (...args: any[]) => void;
|
|
126
125
|
cancel: (...args: any[]) => void;
|
|
126
|
+
ok: (...args: any[]) => void;
|
|
127
127
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
128
128
|
visible: {
|
|
129
129
|
type: BooleanConstructor;
|
|
@@ -237,29 +237,29 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
237
237
|
type: NumberConstructor;
|
|
238
238
|
};
|
|
239
239
|
}>> & Readonly<{
|
|
240
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
241
240
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
241
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
242
242
|
}>, {
|
|
243
243
|
visible: boolean;
|
|
244
|
-
|
|
244
|
+
mask: boolean;
|
|
245
|
+
loading: boolean;
|
|
245
246
|
draggable: boolean;
|
|
247
|
+
scrollTop: boolean;
|
|
248
|
+
confirmLoading: boolean;
|
|
249
|
+
closable: boolean;
|
|
246
250
|
centered: boolean;
|
|
247
|
-
cancelText: string;
|
|
248
251
|
okText: string;
|
|
252
|
+
okType: import('ant-design-vue/es/button').ButtonType;
|
|
253
|
+
cancelText: string;
|
|
254
|
+
maskClosable: boolean;
|
|
255
|
+
destroyOnClose: boolean;
|
|
256
|
+
keyboard: boolean;
|
|
249
257
|
defaultFullscreen: boolean;
|
|
250
258
|
canFullscreen: boolean;
|
|
251
259
|
wrapperFooterOffset: number;
|
|
252
260
|
useWrapper: boolean;
|
|
253
|
-
loading: boolean;
|
|
254
261
|
showCancelBtn: boolean;
|
|
255
262
|
showOkBtn: boolean;
|
|
256
|
-
closable: boolean;
|
|
257
|
-
confirmLoading: boolean;
|
|
258
|
-
destroyOnClose: boolean;
|
|
259
|
-
mask: boolean;
|
|
260
|
-
maskClosable: boolean;
|
|
261
|
-
keyboard: boolean;
|
|
262
|
-
okType: import('ant-design-vue/es/button').ButtonType;
|
|
263
263
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
264
264
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
265
265
|
export default _default;
|
|
@@ -1,44 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "ModalFooter",
|
|
8
|
-
props: basicProps,
|
|
9
|
-
emits: ["ok", "cancel"],
|
|
10
|
-
setup(__props, { emit: __emit }) {
|
|
11
|
-
const emit = __emit;
|
|
12
|
-
function handleOk(e) {
|
|
13
|
-
emit("ok", e);
|
|
14
|
-
}
|
|
15
|
-
function handleCancel(e) {
|
|
16
|
-
emit("cancel", e);
|
|
17
|
-
}
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createElementBlock("div", null, [
|
|
20
|
-
renderSlot(_ctx.$slots, "insertFooter"),
|
|
21
|
-
_ctx.showCancelBtn ? (openBlock(), createBlock(unref(Button), mergeProps({ key: 0 }, _ctx.cancelButtonProps, { onClick: handleCancel }), {
|
|
22
|
-
default: withCtx(() => [
|
|
23
|
-
createTextVNode(toDisplayString(unref(t)(_ctx.cancelText)), 1)
|
|
24
|
-
]),
|
|
25
|
-
_: 1
|
|
26
|
-
}, 16)) : createCommentVNode("", true),
|
|
27
|
-
renderSlot(_ctx.$slots, "centerFooter"),
|
|
28
|
-
_ctx.showOkBtn ? (openBlock(), createBlock(unref(Button), mergeProps({
|
|
29
|
-
key: 1,
|
|
30
|
-
type: _ctx.okType,
|
|
31
|
-
loading: _ctx.confirmLoading
|
|
32
|
-
}, _ctx.okButtonProps, { onClick: handleOk }), {
|
|
33
|
-
default: withCtx(() => [
|
|
34
|
-
createTextVNode(toDisplayString(unref(t)(_ctx.okText)), 1)
|
|
35
|
-
]),
|
|
36
|
-
_: 1
|
|
37
|
-
}, 16, ["type", "loading"])) : createCommentVNode("", true),
|
|
38
|
-
renderSlot(_ctx.$slots, "appendFooter")
|
|
39
|
-
]);
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
export { _sfc_main as default };
|
|
1
|
+
import ModalFooter_vue_vue_type_script_setup_true_name_BasicModalFooter_lang_default from "./ModalFooter.vue_vue_type_script_setup_true_name_BasicModalFooter_lang.mjs";
|
|
2
|
+
//#region src/modules/global-modal/src/components/ModalFooter.vue
|
|
3
|
+
var ModalFooter_default = ModalFooter_vue_vue_type_script_setup_true_name_BasicModalFooter_lang_default;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { ModalFooter_default as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { basicProps } from "../props.mjs";
|
|
2
|
+
import { createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
3
|
+
import { t } from "@gct-paas/core";
|
|
4
|
+
import { Button } from "ant-design-vue";
|
|
5
|
+
//#region src/modules/global-modal/src/components/ModalFooter.vue?vue&type=script&setup=true&name=BasicModalFooter&lang.ts
|
|
6
|
+
var ModalFooter_vue_vue_type_script_setup_true_name_BasicModalFooter_lang_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "ModalFooter",
|
|
8
|
+
props: basicProps,
|
|
9
|
+
emits: ["ok", "cancel"],
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
|
+
const emit = __emit;
|
|
12
|
+
function handleOk(e) {
|
|
13
|
+
emit("ok", e);
|
|
14
|
+
}
|
|
15
|
+
function handleCancel(e) {
|
|
16
|
+
emit("cancel", e);
|
|
17
|
+
}
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return openBlock(), createElementBlock("div", null, [
|
|
20
|
+
renderSlot(_ctx.$slots, "insertFooter"),
|
|
21
|
+
_ctx.showCancelBtn ? (openBlock(), createBlock(unref(Button), mergeProps({ key: 0 }, _ctx.cancelButtonProps, { onClick: handleCancel }), {
|
|
22
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)(_ctx.cancelText)), 1)]),
|
|
23
|
+
_: 1
|
|
24
|
+
}, 16)) : createCommentVNode("", true),
|
|
25
|
+
renderSlot(_ctx.$slots, "centerFooter"),
|
|
26
|
+
_ctx.showOkBtn ? (openBlock(), createBlock(unref(Button), mergeProps({
|
|
27
|
+
key: 1,
|
|
28
|
+
type: _ctx.okType,
|
|
29
|
+
loading: _ctx.confirmLoading
|
|
30
|
+
}, _ctx.okButtonProps, { onClick: handleOk }), {
|
|
31
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)(_ctx.okText)), 1)]),
|
|
32
|
+
_: 1
|
|
33
|
+
}, 16, ["type", "loading"])) : createCommentVNode("", true),
|
|
34
|
+
renderSlot(_ctx.$slots, "appendFooter")
|
|
35
|
+
]);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { ModalFooter_vue_vue_type_script_setup_true_name_BasicModalFooter_lang_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
+
import ModalHeader_vue_vue_type_script_lang_default from "./ModalHeader.vue_vue_type_script_lang.mjs";
|
|
3
|
+
import { createElementBlock, openBlock, toDisplayString } from "vue";
|
|
4
|
+
//#region src/modules/global-modal/src/components/ModalHeader.vue
|
|
5
|
+
var _hoisted_1 = ["help-message"];
|
|
6
6
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7
|
-
|
|
7
|
+
return openBlock(), createElementBlock("div", { "help-message": _ctx.helpMessage }, toDisplayString(_ctx.title), 9, _hoisted_1);
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export {
|
|
9
|
+
var ModalHeader_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ModalHeader_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ModalHeader_default as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defineComponent } from "vue";
|
|
2
|
+
//#region src/modules/global-modal/src/components/ModalHeader.vue?vue&type=script&lang.ts
|
|
3
|
+
var ModalHeader_vue_vue_type_script_lang_default = defineComponent({
|
|
4
|
+
name: "BasicModalHeader",
|
|
5
|
+
props: {
|
|
6
|
+
helpMessage: { type: [String, Array] },
|
|
7
|
+
title: { type: String }
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ModalHeader_vue_vue_type_script_lang_default as default };
|
|
@@ -84,9 +84,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
84
84
|
"onExt-height"?: ((...args: any[]) => any) | undefined;
|
|
85
85
|
}>, {
|
|
86
86
|
visible: boolean;
|
|
87
|
+
loading: boolean;
|
|
87
88
|
minHeight: number;
|
|
88
89
|
useWrapper: boolean;
|
|
89
|
-
loading: boolean;
|
|
90
90
|
footerOffset: number;
|
|
91
91
|
modalHeaderHeight: number;
|
|
92
92
|
modalFooterHeight: number;
|
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
+
import ModalWrapper_vue_vue_type_script_lang_default from "./ModalWrapper.vue_vue_type_script_lang.mjs";
|
|
3
|
+
import { createBlock, createElementBlock, normalizeStyle, openBlock, renderSlot, resolveComponent, resolveDirective, withCtx, withDirectives } from "vue";
|
|
4
|
+
//#region src/modules/global-modal/src/components/ModalWrapper.vue
|
|
5
|
+
var _hoisted_1 = ["loading-tip"];
|
|
6
6
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
], 12, _hoisted_1)), [
|
|
18
|
-
[_directive_target_loading, _ctx.loading]
|
|
19
|
-
])
|
|
20
|
-
]),
|
|
21
|
-
_: 3
|
|
22
|
-
}, 512);
|
|
7
|
+
const _component_overlayScrollbars_component = resolveComponent("overlayScrollbars-component");
|
|
8
|
+
const _directive_target_loading = resolveDirective("target-loading");
|
|
9
|
+
return openBlock(), createBlock(_component_overlayScrollbars_component, { ref: "wrapperRef" }, {
|
|
10
|
+
default: withCtx(() => [withDirectives((openBlock(), createElementBlock("div", {
|
|
11
|
+
ref: "spinRef",
|
|
12
|
+
style: normalizeStyle(_ctx.spinStyle),
|
|
13
|
+
"loading-tip": _ctx.loadingTip
|
|
14
|
+
}, [renderSlot(_ctx.$slots, "default")], 12, _hoisted_1)), [[_directive_target_loading, _ctx.loading]])]),
|
|
15
|
+
_: 3
|
|
16
|
+
}, 512);
|
|
23
17
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export {
|
|
18
|
+
var ModalWrapper_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ModalWrapper_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
19
|
+
//#endregion
|
|
20
|
+
export { ModalWrapper_default as default };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { createModalContext } from "../hooks/useModalContext.mjs";
|
|
2
|
+
import { computed, defineComponent, nextTick, onMounted, onUnmounted, ref, unref, watch, watchEffect } from "vue";
|
|
3
|
+
import { useMutationObserver, useWindowSize } from "@vueuse/core";
|
|
4
|
+
var ModalWrapper_vue_vue_type_script_lang_default = defineComponent({
|
|
5
|
+
name: "ModalWrapper",
|
|
6
|
+
inheritAttrs: false,
|
|
7
|
+
props: {
|
|
8
|
+
loading: { type: Boolean },
|
|
9
|
+
useWrapper: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: true
|
|
12
|
+
},
|
|
13
|
+
modalHeaderHeight: {
|
|
14
|
+
type: Number,
|
|
15
|
+
default: 57
|
|
16
|
+
},
|
|
17
|
+
modalFooterHeight: {
|
|
18
|
+
type: Number,
|
|
19
|
+
default: 74
|
|
20
|
+
},
|
|
21
|
+
minHeight: {
|
|
22
|
+
type: Number,
|
|
23
|
+
default: 320
|
|
24
|
+
},
|
|
25
|
+
height: { type: Number },
|
|
26
|
+
footerOffset: {
|
|
27
|
+
type: Number,
|
|
28
|
+
default: 0
|
|
29
|
+
},
|
|
30
|
+
visible: { type: Boolean },
|
|
31
|
+
fullScreen: { type: Boolean },
|
|
32
|
+
loadingTip: { type: String }
|
|
33
|
+
},
|
|
34
|
+
emits: ["height-change", "ext-height"],
|
|
35
|
+
setup(props, { emit }) {
|
|
36
|
+
const wrapperRef = ref();
|
|
37
|
+
const spinRef = ref(null);
|
|
38
|
+
const realHeightRef = ref(0);
|
|
39
|
+
const minRealHeightRef = ref(0);
|
|
40
|
+
let realHeight = 0;
|
|
41
|
+
let stopElResizeFn = () => {};
|
|
42
|
+
const spinStyle = ref();
|
|
43
|
+
const { width, height } = useWindowSize();
|
|
44
|
+
watch([height, width], () => {
|
|
45
|
+
setModalHeight();
|
|
46
|
+
});
|
|
47
|
+
useMutationObserver(spinRef, () => {
|
|
48
|
+
setModalHeight();
|
|
49
|
+
}, {
|
|
50
|
+
attributes: true,
|
|
51
|
+
subtree: true
|
|
52
|
+
});
|
|
53
|
+
createModalContext({ redoModalHeight: setModalHeight });
|
|
54
|
+
const scrollHeight = computed(() => {
|
|
55
|
+
const modalheight = window.innerHeight * .88 - 120;
|
|
56
|
+
return { height: `${props.height ? modalheight > props.height - 120 ? props.height - 120 : modalheight : props.height}px` };
|
|
57
|
+
});
|
|
58
|
+
watchEffect(() => {
|
|
59
|
+
props.useWrapper && setModalHeight();
|
|
60
|
+
});
|
|
61
|
+
watch(() => props.fullScreen, (v) => {
|
|
62
|
+
setModalHeight();
|
|
63
|
+
if (!v) realHeightRef.value = minRealHeightRef.value;
|
|
64
|
+
else minRealHeightRef.value = realHeightRef.value;
|
|
65
|
+
});
|
|
66
|
+
new ResizeObserver((entries) => {
|
|
67
|
+
for (let entry of entries) {
|
|
68
|
+
const modalheight = entry.contentRect.height * .88 - 152;
|
|
69
|
+
spinStyle.value = {
|
|
70
|
+
height: `${props.height ? modalheight > props.height - 152 ? props.height - 152 : modalheight : props.height}px`,
|
|
71
|
+
minHeight: `${props.minHeight - 152}px`,
|
|
72
|
+
[props.fullScreen ? "height" : "maxHeight"]: `${unref(realHeightRef)}px`,
|
|
73
|
+
maxHeight: `calc(88vh - 152px)`
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}).observe(document.documentElement);
|
|
77
|
+
onMounted(() => {
|
|
78
|
+
const { modalHeaderHeight, modalFooterHeight } = props;
|
|
79
|
+
emit("ext-height", modalHeaderHeight + modalFooterHeight);
|
|
80
|
+
});
|
|
81
|
+
onUnmounted(() => {
|
|
82
|
+
stopElResizeFn && stopElResizeFn();
|
|
83
|
+
});
|
|
84
|
+
async function scrollTop() {
|
|
85
|
+
nextTick(() => {
|
|
86
|
+
if (wrapperRef.value) wrapperRef.value.getElement()?.scrollTo(0, 0);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
async function setModalHeight() {
|
|
90
|
+
if (!props.visible) return;
|
|
91
|
+
if (!wrapperRef.value) return;
|
|
92
|
+
const bodyDom = wrapperRef.value?.getElement()?.parentElement;
|
|
93
|
+
if (!bodyDom) return;
|
|
94
|
+
bodyDom.style.padding = "0";
|
|
95
|
+
await nextTick();
|
|
96
|
+
try {
|
|
97
|
+
const modalDom = bodyDom.parentElement && bodyDom.parentElement.parentElement;
|
|
98
|
+
if (!modalDom) return;
|
|
99
|
+
const modalRect = getComputedStyle(modalDom).top;
|
|
100
|
+
const modalTop = Number.parseInt(modalRect);
|
|
101
|
+
let maxHeight = window.innerHeight - modalTop * 2 + (props.footerOffset || 0) - props.modalFooterHeight - props.modalHeaderHeight;
|
|
102
|
+
if (modalTop < 40) maxHeight -= 26;
|
|
103
|
+
await nextTick();
|
|
104
|
+
const spinEl = unref(spinRef);
|
|
105
|
+
if (!spinEl) return;
|
|
106
|
+
await nextTick();
|
|
107
|
+
realHeight = spinEl.scrollHeight;
|
|
108
|
+
if (props.fullScreen) realHeightRef.value = window.innerHeight - props.modalFooterHeight - props.modalHeaderHeight - 28;
|
|
109
|
+
else realHeightRef.value = props.height ? props.height : realHeight > maxHeight ? maxHeight : realHeight;
|
|
110
|
+
emit("height-change", unref(realHeightRef));
|
|
111
|
+
} catch (error) {
|
|
112
|
+
console.error(error);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
return {
|
|
116
|
+
wrapperRef,
|
|
117
|
+
spinRef,
|
|
118
|
+
spinStyle,
|
|
119
|
+
scrollTop,
|
|
120
|
+
setModalHeight,
|
|
121
|
+
scrollHeight
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
//#endregion
|
|
126
|
+
export { ModalWrapper_vue_vue_type_script_lang_default as default };
|
|
@@ -1,120 +1,106 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { tryOnUnmounted } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { computed, getCurrentInstance, nextTick, onUnmounted, reactive, ref, toRaw, unref, watchEffect } from "vue";
|
|
2
|
+
import { isEqual, isFunction } from "lodash-es";
|
|
3
|
+
import { tryOnUnmounted } from "@vueuse/core";
|
|
4
|
+
//#region src/modules/global-modal/src/hooks/useModal.ts
|
|
5
|
+
var dataTransfer = reactive({});
|
|
6
|
+
var visibleData = reactive({});
|
|
7
|
+
/**
|
|
8
|
+
* @description: Applicable to independent modal and call outside
|
|
9
|
+
*/
|
|
7
10
|
function useModal() {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const equal = isEqual(toRaw(dataTransfer[id]), toRaw(data));
|
|
58
|
-
if (!equal) {
|
|
59
|
-
dataTransfer[id] = toRaw(data);
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
closeModal: () => {
|
|
63
|
-
getInstance()?.setModalProps({ visible: false });
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
return [register, methods];
|
|
11
|
+
const modal = ref(null);
|
|
12
|
+
const loaded = ref(false);
|
|
13
|
+
const uid = ref("");
|
|
14
|
+
function register(modalMethod, uuid) {
|
|
15
|
+
if (!getCurrentInstance()) throw new Error("useModal() can only be used inside setup() or functional components!");
|
|
16
|
+
uid.value = uuid || "";
|
|
17
|
+
onUnmounted(() => {
|
|
18
|
+
modal.value = null;
|
|
19
|
+
loaded.value = false;
|
|
20
|
+
dataTransfer[unref(uid)] = null;
|
|
21
|
+
});
|
|
22
|
+
if (unref(loaded) && modalMethod === unref(modal)) return;
|
|
23
|
+
modal.value = modalMethod;
|
|
24
|
+
loaded.value = true;
|
|
25
|
+
modalMethod.emitVisible = (visible, uid) => {
|
|
26
|
+
visibleData[uid] = visible;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
const getInstance = () => {
|
|
30
|
+
const instance = unref(modal);
|
|
31
|
+
if (!instance) throw new Error("useModal instance is undefined!");
|
|
32
|
+
return instance;
|
|
33
|
+
};
|
|
34
|
+
return [register, {
|
|
35
|
+
setModalProps: (props) => {
|
|
36
|
+
getInstance()?.setModalProps(props);
|
|
37
|
+
},
|
|
38
|
+
getVisible: computed(() => {
|
|
39
|
+
return visibleData[~~unref(uid)];
|
|
40
|
+
}),
|
|
41
|
+
redoModalHeight: () => {
|
|
42
|
+
getInstance()?.redoModalHeight?.();
|
|
43
|
+
},
|
|
44
|
+
openModal: (visible = true, data, openOnSet = true) => {
|
|
45
|
+
getInstance()?.setModalProps({ visible });
|
|
46
|
+
const id = unref(uid);
|
|
47
|
+
if (openOnSet) {
|
|
48
|
+
dataTransfer[id] = null;
|
|
49
|
+
dataTransfer[id] = toRaw(data);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (!isEqual(toRaw(dataTransfer[id]), toRaw(data))) dataTransfer[id] = toRaw(data);
|
|
53
|
+
},
|
|
54
|
+
closeModal: () => {
|
|
55
|
+
getInstance()?.setModalProps({ visible: false });
|
|
56
|
+
}
|
|
57
|
+
}];
|
|
67
58
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
const callRedo = getInstance()?.redoModalHeight;
|
|
114
|
-
callRedo?.();
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
];
|
|
59
|
+
var useModalInner = (callbackFn) => {
|
|
60
|
+
const modalInstanceRef = ref(null);
|
|
61
|
+
const currentInstance = getCurrentInstance();
|
|
62
|
+
const uidRef = ref("");
|
|
63
|
+
const getInstance = () => {
|
|
64
|
+
const instance = unref(modalInstanceRef);
|
|
65
|
+
if (!instance) throw new Error("useModalInner instance is undefined!");
|
|
66
|
+
return instance;
|
|
67
|
+
};
|
|
68
|
+
const register = (modalInstance, uuid) => {
|
|
69
|
+
tryOnUnmounted(() => {
|
|
70
|
+
modalInstanceRef.value = null;
|
|
71
|
+
});
|
|
72
|
+
uidRef.value = uuid || "";
|
|
73
|
+
modalInstanceRef.value = modalInstance;
|
|
74
|
+
currentInstance?.emit("register", modalInstance, uuid);
|
|
75
|
+
};
|
|
76
|
+
watchEffect(() => {
|
|
77
|
+
const data = dataTransfer[unref(uidRef)];
|
|
78
|
+
if (!callbackFn || !isFunction(callbackFn)) return;
|
|
79
|
+
nextTick(() => {
|
|
80
|
+
callbackFn(data);
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
return [register, {
|
|
84
|
+
changeLoading: (loading = true) => {
|
|
85
|
+
getInstance()?.setModalProps({ loading });
|
|
86
|
+
},
|
|
87
|
+
getVisible: computed(() => {
|
|
88
|
+
return visibleData[~~unref(uidRef)];
|
|
89
|
+
}),
|
|
90
|
+
changeOkLoading: (loading = true) => {
|
|
91
|
+
getInstance()?.setModalProps({ confirmLoading: loading });
|
|
92
|
+
},
|
|
93
|
+
closeModal: () => {
|
|
94
|
+
getInstance()?.setModalProps({ visible: false });
|
|
95
|
+
},
|
|
96
|
+
setModalProps: (props) => {
|
|
97
|
+
getInstance()?.setModalProps(props);
|
|
98
|
+
},
|
|
99
|
+
redoModalHeight: () => {
|
|
100
|
+
const callRedo = getInstance()?.redoModalHeight;
|
|
101
|
+
callRedo?.();
|
|
102
|
+
}
|
|
103
|
+
}];
|
|
118
104
|
};
|
|
119
|
-
|
|
105
|
+
//#endregion
|
|
120
106
|
export { useModal, useModalInner };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { inject, provide } from "vue";
|
|
2
|
+
//#region src/modules/global-modal/src/hooks/useModalContext.ts
|
|
3
|
+
var key = Symbol();
|
|
4
4
|
function createModalContext(context) {
|
|
5
|
-
|
|
5
|
+
return provide(key, context);
|
|
6
6
|
}
|
|
7
7
|
function useModalContext() {
|
|
8
|
-
|
|
8
|
+
return inject(key);
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
//#endregion
|
|
11
11
|
export { createModalContext, useModalContext };
|