@gct-paas/core 0.1.4-dev.0 → 0.1.4-dev.10
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.esm.min.mjs +8101 -0
- package/dist/index.min.cjs +386 -1
- package/dist/index.system.min.js +386 -1
- package/es/constants/core.mjs +0 -1
- package/es/constants/editor-register/editor-register.mjs +0 -1
- package/es/constants/editor-type/editor-type.d.ts +65 -1
- package/es/constants/editor-type/editor-type.mjs +14 -1
- package/es/constants/expression-type/BuiltOperators.d.ts +20 -0
- package/es/constants/expression-type/BuiltOperators.mjs +149 -0
- package/es/constants/expression-type/FunctionKeys.d.ts +1 -0
- package/es/constants/expression-type/FunctionKeys.mjs +81 -0
- package/es/constants/expression-type/editor.d.ts +8 -0
- package/es/constants/expression-type/editor.mjs +4 -0
- package/es/constants/expression-type/function.d.ts +7 -0
- package/es/constants/expression-type/function.mjs +875 -0
- package/es/constants/expression-type/index.d.ts +42 -0
- package/es/constants/expression-type/index.mjs +120 -0
- package/es/constants/expression-type/modeCfg.d.ts +30 -0
- package/es/constants/expression-type/modeCfg.mjs +268 -0
- package/es/constants/expression-type/variable.d.ts +12 -0
- package/es/constants/expression-type/variable.mjs +42 -0
- package/es/constants/form-container-type/form-container-type.mjs +0 -1
- package/es/constants/index.d.ts +9 -0
- package/es/constants/index.mjs +7 -6
- package/es/controller/edit-form/edit-form.controller.mjs +0 -1
- package/es/controller/editor/color-editor.controller.mjs +0 -1
- package/es/controller/editor/length-unit-editor.controller.mjs +0 -1
- package/es/controller/editor-item/editor-item.controller.mjs +0 -1
- package/es/controller/form/form.controller.mjs +5 -5
- package/es/controller/form-collapse/form-collapse.controller.mjs +4 -3
- package/es/controller/form-collapse-pane/form-collapse-pane.controller.mjs +4 -3
- package/es/controller/form-edit-item/form-edit-item.controller.d.ts +1 -0
- package/es/controller/form-edit-item/form-edit-item.controller.mjs +6 -2
- package/es/controller/form-group/form-group.controller.mjs +4 -3
- package/es/controller/form-item/form-item.controller.d.ts +1 -0
- package/es/controller/form-item/form-item.controller.mjs +7 -3
- package/es/controller/form-item-basic/form-item-basic.controller.mjs +3 -2
- package/es/controller/form-item-hidden/form-item-hidden.controller.mjs +0 -1
- package/es/controller/form-tab/form-tab.controller.mjs +4 -3
- package/es/controller/form-tab-pane/form-tab-pane.controller.mjs +4 -3
- package/es/controller/gct-form/gct-form.controller.mjs +5 -5
- package/es/create-app-vue.d.ts +8 -0
- package/es/create-app-vue.mjs +12 -0
- package/es/enums/app-designer/index.d.ts +13 -1
- package/es/enums/app-designer/index.mjs +8 -2
- package/es/enums/appEnum.d.ts +22 -66
- package/es/enums/appEnum.mjs +24 -15
- package/es/enums/appStateEnum.mjs +0 -1
- package/es/enums/authActionEnum.mjs +0 -1
- package/es/enums/breakpointEnum.mjs +0 -1
- package/es/enums/cacheEnum.mjs +0 -1
- package/es/enums/designEnum.d.ts +9 -3
- package/es/enums/designEnum.mjs +34 -32
- package/es/enums/developer-center/index.d.ts +1 -0
- package/es/enums/developer-center/integration.d.ts +4 -0
- package/es/enums/developer-center/integration.mjs +7 -0
- package/es/enums/exceptionEnum.mjs +0 -1
- package/es/enums/expressionEnum.d.ts +130 -0
- package/es/enums/expressionEnum.mjs +75 -0
- package/es/enums/globalEnum.d.ts +38 -0
- package/es/enums/globalEnum.mjs +25 -0
- package/es/enums/httpEnum.mjs +0 -1
- package/es/enums/index.d.ts +19 -0
- package/es/enums/index.mjs +13 -20
- package/es/enums/menuEnum.mjs +0 -1
- package/es/enums/page-designer/designer.d.ts +23 -3
- package/es/enums/page-designer/designer.mjs +90 -6
- package/es/enums/page-designer/panel.d.ts +78 -7
- package/es/enums/page-designer/panel.mjs +22 -4
- package/es/enums/page-designer/toolkit.mjs +0 -1
- package/es/enums/page-designer/widget.d.ts +2 -1
- package/es/enums/page-designer/widget.mjs +3 -3
- package/es/enums/pageEnum.mjs +0 -1
- package/es/enums/plugin-enum.mjs +0 -1
- package/es/enums/processEnum.d.ts +54 -0
- package/es/enums/processEnum.mjs +36 -2
- package/es/enums/roleEnum.mjs +0 -1
- package/es/enums/sizeEnum.mjs +0 -1
- package/es/global/gct/gct.d.ts +39 -25
- package/es/global/gct/gct.mjs +49 -27
- package/es/hooks/index.d.ts +2 -1
- package/es/hooks/use-app-inst/use-app-inst.d.ts +8 -0
- package/es/hooks/use-app-inst/use-app-inst.mjs +8 -0
- package/es/hooks/use-form/use-form.mjs +0 -1
- package/es/hooks/use-gct-form-value/use-gct-form-value.d.ts +1 -1
- package/es/hooks/use-gct-form-value/use-gct-form-value.mjs +0 -4
- package/es/hooks/use-modal/use-modal.mjs +0 -1
- package/es/hooks/use-overlay-scrollbars/use-overlay-scrollbars.d.ts +11 -0
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.d.ts +27 -0
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +30 -0
- package/es/hooks/useCopyToClipboard.mjs +0 -1
- package/es/index.d.ts +7 -9
- package/es/index.mjs +94 -48
- package/es/interface/controller/form-edit-item/form-edit-item.controller.d.ts +5 -0
- package/es/interface/controller/index.d.ts +0 -1
- package/es/interface/form/i-editor/i-editor-basic.d.ts +2 -2
- package/es/interface/form/i-editor/i-model-field-select-editor.d.ts +18 -0
- package/es/interface/form/i-form/i-form-collapse-pane.d.ts +4 -0
- package/es/interface/form/i-form/i-form-item-basic.d.ts +1 -1
- package/es/interface/form/i-form/i-form-tab-pane.d.ts +4 -0
- package/es/interface/form/index.d.ts +1 -0
- package/es/interface/i-app-context/i-app-context.d.ts +34 -0
- package/es/interface/i-field-code-chain/i-field-code-chain.d.ts +17 -0
- package/es/interface/i-global-var/i-global-var.d.ts +15 -0
- package/es/interface/i-mobile-home-menu-item/i-mobile-home-menu-item.d.ts +94 -0
- package/es/interface/i-pinia-action/i-global-actions.d.ts +7 -4
- package/es/interface/i-pinia-getter/i-global-getters.d.ts +1 -5
- package/es/interface/i-pinia-state/i-global-state.d.ts +7 -2
- package/es/interface/index.d.ts +5 -6
- package/es/interface/open-util/i-message-util/i-message-util.d.ts +54 -0
- package/es/interface/{i-modal → open-util/i-modal}/i-modal.d.ts +9 -10
- package/es/interface/{i-modal-data → open-util/i-modal-data}/i-modal-data.d.ts +6 -0
- package/es/interface/open-util/i-modal-options/i-modal-options.d.ts +12 -0
- package/es/interface/open-util/i-open-window-options/i-open-window-options.d.ts +59 -0
- package/es/interface/open-util/i-overlay-container/i-overlay-container.d.ts +36 -0
- package/es/interface/open-util/i-overlay-controller/i-overlay-controller.d.ts +36 -0
- package/es/interface/open-util/index.d.ts +7 -0
- package/es/interface/state/index.d.ts +0 -1
- package/es/locale/index.d.ts +19 -0
- package/es/locale/index.mjs +60 -0
- package/es/modules/env-manager/env-manager.const.d.ts +14 -0
- package/es/modules/env-manager/env-manager.const.mjs +9 -0
- package/es/modules/env-manager/env-manager.d.ts +59 -0
- package/es/modules/env-manager/env-manager.interface.d.ts +43 -0
- package/es/modules/env-manager/env-manager.interface.mjs +8 -0
- package/es/modules/env-manager/env-manager.mjs +108 -0
- package/es/modules/env-manager/index.d.ts +3 -0
- package/es/modules/error-handler/error-handler.const.d.ts +48 -0
- package/es/modules/error-handler/error-handler.const.mjs +18 -0
- package/es/modules/error-handler/error-handler.interface.d.ts +51 -0
- package/es/modules/error-handler/error-strategy.d.ts +138 -0
- package/es/modules/error-handler/error-strategy.mjs +175 -0
- package/es/modules/error-handler/index.d.ts +78 -0
- package/es/modules/error-handler/index.mjs +108 -0
- package/es/modules/platform-config/constants/index.d.ts +7 -0
- package/es/modules/platform-config/constants/login.const.d.ts +15 -0
- package/es/modules/platform-config/constants/login.const.mjs +50 -0
- package/es/modules/platform-config/constants/org.const.d.ts +9 -0
- package/es/modules/platform-config/constants/org.const.mjs +54 -0
- package/es/modules/platform-config/constants/theme.const.d.ts +9 -0
- package/es/modules/platform-config/constants/theme.const.mjs +5 -0
- package/es/modules/platform-config/constants/watermark.const.d.ts +16 -0
- package/es/modules/platform-config/constants/watermark.const.mjs +14 -0
- package/es/modules/platform-config/enums/deploy.enum.d.ts +10 -0
- package/es/modules/platform-config/enums/deploy.enum.mjs +7 -0
- package/es/modules/platform-config/enums/index.d.ts +6 -0
- package/es/modules/platform-config/enums/login.enum.d.ts +25 -0
- package/es/modules/platform-config/enums/login.enum.mjs +16 -0
- package/es/modules/platform-config/enums/platform.enum.d.ts +27 -0
- package/es/modules/platform-config/enums/platform.enum.mjs +26 -0
- package/es/modules/platform-config/index.d.ts +8 -0
- package/es/modules/platform-config/interfaces/global-setting.interface.d.ts +7 -0
- package/es/modules/platform-config/interfaces/index.d.ts +7 -0
- package/es/modules/platform-config/interfaces/login-config.interface.d.ts +17 -0
- package/es/modules/platform-config/interfaces/platform-map.interface.d.ts +8 -0
- package/es/modules/platform-config/interfaces/theme-setting.interface.d.ts +30 -0
- package/es/modules/platform-config/store.d.ts +221 -0
- package/es/modules/platform-config/store.mjs +78 -0
- package/es/modules/platform-config/useBasicSetting.d.ts +11 -0
- package/es/modules/platform-config/useBasicSetting.mjs +39 -0
- package/es/modules/platform-config/useDeploySetting.d.ts +19 -0
- package/es/modules/platform-config/useDeploySetting.mjs +27 -0
- package/es/modules/platform-config/useLoginSetting.d.ts +15 -0
- package/es/modules/platform-config/useLoginSetting.mjs +177 -0
- package/es/modules/platform-config/useOrgSetting.d.ts +34 -0
- package/es/modules/platform-config/useOrgSetting.mjs +66 -0
- package/es/modules/platform-config/useProjectSetting.d.ts +12 -0
- package/es/modules/platform-config/useProjectSetting.mjs +11 -0
- package/es/modules/platform-config/useSecuritySetting.d.ts +11 -0
- package/es/modules/platform-config/useSecuritySetting.mjs +60 -0
- package/es/modules/platform-config/useThemeSetting.d.ts +16 -0
- package/es/modules/platform-config/useThemeSetting.mjs +64 -0
- package/es/modules/platform-config/useWatermarkSetting.d.ts +21 -0
- package/es/modules/platform-config/useWatermarkSetting.mjs +26 -0
- package/es/modules/user-stores/index.d.ts +3 -0
- package/es/modules/user-stores/store/permission.store.d.ts +21 -0
- package/es/modules/user-stores/store/permission.store.mjs +38 -0
- package/es/modules/user-stores/store/tenant.store.d.ts +9 -0
- package/es/modules/user-stores/store/tenant.store.mjs +24 -0
- package/es/modules/user-stores/store/user.store.d.ts +154 -0
- package/es/modules/user-stores/store/user.store.mjs +108 -0
- package/es/modules/user-stores/types/permission.d.ts +1 -0
- package/es/modules/user-stores/types/tenant.d.ts +1 -0
- package/es/modules/user-stores/types/user.d.ts +14 -0
- package/es/register/editor-register/editor-register.d.ts +5 -13
- package/es/register/editor-register/editor-register.mjs +8 -17
- package/es/register/form-item-register/form-item-register.d.ts +4 -15
- package/es/register/form-item-register/form-item-register.mjs +7 -17
- package/es/register/index.d.ts +12 -2
- package/es/router/index.d.ts +13 -0
- package/es/router/index.mjs +31 -0
- package/es/setup-app.d.ts +8 -0
- package/es/setup-app.mjs +31 -0
- package/es/state/form/form.state.mjs +0 -1
- package/es/state/form-collapse/form-collapse.state.mjs +0 -1
- package/es/state/form-collapse-pane/form-collapse-pane.state.mjs +0 -1
- package/es/state/form-edit-item/form-edit-item.state.mjs +0 -1
- package/es/state/form-group/form-group.state.mjs +0 -1
- package/es/state/form-item/form-item.state.mjs +0 -1
- package/es/state/form-item-basic/form-item-basic.state.mjs +0 -1
- package/es/state/form-tab/form-tab.state.mjs +0 -1
- package/es/state/form-tab-pane/form-tab-pane.state.mjs +0 -1
- package/es/state/global-pinia-state/global-pinia-state.d.ts +8 -13
- package/es/state/global-pinia-state/global-pinia-state.mjs +35 -9
- package/es/store/global-store.d.ts +1 -0
- package/es/store/global-store.mjs +38 -9
- package/es/store/index.d.ts +2 -3
- package/es/store/index.mjs +0 -1
- package/es/types/index.d.ts +51 -1
- package/es/utils/axios/interceptors.mjs +2 -23
- package/es/utils/cache-adapter/cache-adapter.d.ts +2 -0
- package/es/utils/cache-adapter/cache-adapter.mjs +59 -0
- package/es/utils/deviceFingerprint.d.ts +17 -0
- package/es/utils/deviceFingerprint.mjs +73 -0
- package/es/utils/dictionary/dictionary.mjs +0 -1
- package/es/utils/i18n/index.d.ts +2 -1
- package/es/utils/i18n/index.mjs +3 -4
- package/es/utils/index.d.ts +20 -4
- package/es/utils/is-sort-filed/is-sort-filed.d.ts +10 -0
- package/es/utils/is-sort-filed/is-sort-filed.mjs +40 -0
- package/es/utils/linked-list/linked-list.d.ts +72 -0
- package/es/utils/linked-list/linked-list.mjs +119 -0
- package/es/utils/linked-node/linked-node.d.ts +31 -0
- package/es/utils/linked-node/linked-node.mjs +32 -0
- package/es/utils/lowcode/utils.d.ts +1 -0
- package/es/utils/lowcode/utils.mjs +20 -0
- package/es/utils/lowcode/validate.d.ts +13 -0
- package/es/utils/lowcode/validate.mjs +29 -0
- package/es/utils/mitt/mitt.d.ts +1 -0
- package/es/utils/mitt/mitt.mjs +5 -0
- package/es/utils/model-loader/model-loader.d.ts +118 -0
- package/es/utils/model-loader/model-loader.mjs +326 -0
- package/es/utils/namespace/namespace.d.ts +8 -0
- package/es/utils/namespace/namespace.mjs +4 -2
- package/es/utils/openUtil/index.d.ts +2 -0
- package/es/utils/openUtil/modal/modal.d.ts +61 -0
- package/es/utils/openUtil/modal/modal.mjs +80 -0
- package/es/utils/openUtil/overlay-container/overlay-container.d.ts +100 -0
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +139 -0
- package/es/utils/plugin-static-resource/plugin-static-resource.mjs +1 -2
- package/es/utils/props/gct-form-item/gct-form-item.props.d.ts +63 -0
- package/es/utils/props/gct-form-item/gct-form-item.props.mjs +66 -0
- package/es/utils/props/index.d.ts +1 -0
- package/es/utils/style/index.d.ts +16 -0
- package/es/utils/style/index.mjs +141 -0
- package/es/utils/tools/tools.d.ts +23 -21
- package/es/utils/tools/tools.mjs +37 -27
- package/es/utils/treeHelper/treeHelper.d.ts +118 -0
- package/es/utils/treeHelper/treeHelper.mjs +234 -0
- package/es/utils/useUUid.d.ts +41 -0
- package/es/utils/useUUid.mjs +93 -0
- package/es/utils/util.d.ts +39 -0
- package/es/utils/util.mjs +40 -0
- package/es/utils/uuid/uuid.d.ts +3 -0
- package/es/utils/uuid/uuid.mjs +48 -0
- package/es/utils/value-helper/value-helper.d.ts +49 -0
- package/es/utils/value-helper/value-helper.mjs +111 -0
- package/es/utils/width-install/width-install.mjs +4 -2
- package/package.json +41 -22
- package/es/_virtual/_commonjsHelpers.mjs +0 -44
- package/es/_virtual/index.mjs +0 -7
- package/es/controller/index.mjs +0 -17
- package/es/enums/page-designer/index.mjs +0 -6
- package/es/global/index.mjs +0 -3
- package/es/hooks/index.mjs +0 -7
- package/es/hooks/use-namespace/use-namespace.d.ts +0 -9
- package/es/hooks/use-namespace/use-namespace.mjs +0 -9
- package/es/interface/controller/edit-form/edit-form.controller.mjs +0 -1
- package/es/interface/controller/editor/i-color-editor.controller.mjs +0 -1
- package/es/interface/controller/editor/i-length-unit-editor.controller.mjs +0 -1
- package/es/interface/controller/editor-item/editor-item.controller.mjs +0 -1
- package/es/interface/controller/form/form.controller.mjs +0 -3
- package/es/interface/controller/form-collapse/form-collapse.controller.mjs +0 -1
- package/es/interface/controller/form-collapse-pane/form-collapse-pane.controller.mjs +0 -1
- package/es/interface/controller/form-edit-item/form-edit-item.controller.mjs +0 -1
- package/es/interface/controller/form-group/form-group.controller.mjs +0 -1
- package/es/interface/controller/form-hidden-item/form-hidden-item.controller.mjs +0 -1
- package/es/interface/controller/form-item/form-item.controller.mjs +0 -1
- package/es/interface/controller/form-item-basic/form-item-basic.controller.mjs +0 -1
- package/es/interface/controller/form-tab/form-tab.controller.mjs +0 -1
- package/es/interface/controller/form-tab-pane/form-tab-pane.controller.mjs +0 -1
- package/es/interface/controller/i-designer-controller.d.ts +0 -116
- package/es/interface/controller/i-designer-controller.mjs +0 -1
- package/es/interface/controller/index.mjs +0 -1
- package/es/interface/events/form/i-form.event.mjs +0 -1
- package/es/interface/events/index.mjs +0 -1
- package/es/interface/form/i-editor/i-check-switch.mjs +0 -3
- package/es/interface/form/i-editor/i-checkbox-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-color-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-editor-basic.mjs +0 -1
- package/es/interface/form/i-editor/i-icon-select-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-info-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-length-unit-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-number-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-picker-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-radio-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-select-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-span-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-switch-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-text-editor.mjs +0 -3
- package/es/interface/form/i-editor/i-textarea-editor.mjs +0 -3
- package/es/interface/form/i-form/i-edit-form.mjs +0 -1
- package/es/interface/form/i-form/i-form-collapse-pane.mjs +0 -1
- package/es/interface/form/i-form/i-form-collapse.mjs +0 -1
- package/es/interface/form/i-form/i-form-container.mjs +0 -1
- package/es/interface/form/i-form/i-form-edit-item.mjs +0 -1
- package/es/interface/form/i-form/i-form-group-container.mjs +0 -1
- package/es/interface/form/i-form/i-form-group.mjs +0 -1
- package/es/interface/form/i-form/i-form-hidden-item.mjs +0 -1
- package/es/interface/form/i-form/i-form-item-basic.mjs +0 -1
- package/es/interface/form/i-form/i-form-item.mjs +0 -1
- package/es/interface/form/i-form/i-form-tab-pane.mjs +0 -1
- package/es/interface/form/i-form/i-form-tab.mjs +0 -1
- package/es/interface/form/i-form/i-form.mjs +0 -1
- package/es/interface/form/index.mjs +0 -1
- package/es/interface/hooks/i-designer-hooks.d.ts +0 -26
- package/es/interface/hooks/i-designer-hooks.mjs +0 -3
- package/es/interface/hooks/index.d.ts +0 -1
- package/es/interface/hooks/index.mjs +0 -1
- package/es/interface/i-dictionary/i-dictionary-item.mjs +0 -1
- package/es/interface/i-dictionary/i-dictionary.mjs +0 -1
- package/es/interface/i-http-response/i-http-response.d.ts +0 -29
- package/es/interface/i-http-response/i-http-response.mjs +0 -1
- package/es/interface/i-import-style-map/i-import-style-map.mjs +0 -1
- package/es/interface/i-message-util/i-message-util.d.ts +0 -78
- package/es/interface/i-message-util/i-message-util.mjs +0 -1
- package/es/interface/i-modal/i-modal.mjs +0 -3
- package/es/interface/i-modal-data/i-modal-data.mjs +0 -1
- package/es/interface/i-pinia-action/i-global-actions.mjs +0 -1
- package/es/interface/i-pinia-getter/i-global-getters.mjs +0 -1
- package/es/interface/i-pinia-state/i-global-state.mjs +0 -1
- package/es/interface/index.mjs +0 -1
- package/es/interface/layout/i-flex-layout/i-flex-container.mjs +0 -1
- package/es/interface/layout/i-flex-layout/i-flex-item.mjs +0 -1
- package/es/interface/layout/i-grid-layout/i-grid-container.mjs +0 -1
- package/es/interface/layout/i-grid-layout/i-grid-item-span.mjs +0 -1
- package/es/interface/layout/i-grid-layout/i-grid-item.mjs +0 -1
- package/es/interface/layout/i-layout-basis/i-layout-container-basis.mjs +0 -1
- package/es/interface/layout/index.mjs +0 -1
- package/es/interface/low-code-types/index.d.ts +0 -4
- package/es/interface/low-code-types/index.mjs +0 -5
- package/es/interface/low-code-types/modal-types.d.ts +0 -67
- package/es/interface/low-code-types/modal-types.mjs +0 -3
- package/es/interface/low-code-types/model/index.d.ts +0 -5338
- package/es/interface/low-code-types/model/index.mjs +0 -1
- package/es/interface/low-code-types/schema/index.d.ts +0 -12
- package/es/interface/low-code-types/schema/index.mjs +0 -1
- package/es/interface/low-code-types/widget-basic-types.d.ts +0 -667
- package/es/interface/low-code-types/widget-basic-types.mjs +0 -3
- package/es/interface/provider/i-editor-provider/i-editor-provider.mjs +0 -1
- package/es/interface/provider/i-form-item-provider/i-form-item-provider.mjs +0 -1
- package/es/interface/provider/i-provider-basic/i-provider-basic.mjs +0 -1
- package/es/interface/provider/index.mjs +0 -1
- package/es/interface/state/form/form.state.mjs +0 -1
- package/es/interface/state/form-collapse/form-collapse.state.mjs +0 -1
- package/es/interface/state/form-collapse-pane/form-collapse-pane.state.mjs +0 -1
- package/es/interface/state/form-edit-item/form-edit-item.state.mjs +0 -1
- package/es/interface/state/form-group/form-group.state.mjs +0 -1
- package/es/interface/state/form-hidden-item/form-hidden-item.state.mjs +0 -1
- package/es/interface/state/form-item/form-item.state.mjs +0 -1
- package/es/interface/state/form-item-basic/form-item-basic.state.mjs +0 -1
- package/es/interface/state/form-tab/form-tab.state.mjs +0 -1
- package/es/interface/state/form-tab-pane/form-tab-pane.state.mjs +0 -1
- package/es/interface/state/i-designer-state.d.ts +0 -27
- package/es/interface/state/i-designer-state.mjs +0 -1
- package/es/interface/state/index.mjs +0 -1
- package/es/interface/style/i-border.mjs +0 -1
- package/es/interface/style/i-font.mjs +0 -1
- package/es/interface/style/i-margin.mjs +0 -1
- package/es/interface/style/i-padding.mjs +0 -1
- package/es/interface/style/i-position.mjs +0 -1
- package/es/interface/style/i-spacing.mjs +0 -1
- package/es/interface/style/index.mjs +0 -1
- package/es/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.mjs +0 -541
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/async-series-hook/async-series-hook.mjs +0 -73
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/index.mjs +0 -2
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/sync-series-hook/sync-series-hook.mjs +0 -100
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/index.mjs +0 -2
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/array/array.mjs +0 -47
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/index.mjs +0 -5
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/object/object.mjs +0 -24
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/qx-event/qx-event.mjs +0 -94
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/qx-event-emitter/qx-event-emitter.mjs +0 -146
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/type-util/type-util.mjs +0 -149
- package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/util/util.mjs +0 -227
- package/es/provider/i-designer-provider/i-designer-provider.d.ts +0 -102
- package/es/provider/i-designer-provider/i-designer-provider.mjs +0 -1
- package/es/provider/index.d.ts +0 -1
- package/es/provider/index.mjs +0 -1
- package/es/register/designer-register/designer-register.d.ts +0 -53
- package/es/register/designer-register/designer-register.mjs +0 -69
- package/es/register/index.mjs +0 -6
- package/es/register/render-register/render-register.d.ts +0 -59
- package/es/register/render-register/render-register.mjs +0 -65
- package/es/service/base.service.d.ts +0 -19
- package/es/service/base.service.mjs +0 -41
- package/es/service/index.d.ts +0 -1
- package/es/service/index.mjs +0 -3
- package/es/state/index.mjs +0 -12
- package/es/utils/axios/axios.d.ts +0 -27
- package/es/utils/axios/axios.mjs +0 -84
- package/es/utils/index.mjs +0 -10
- package/es/utils/plugin-pkg-util/plugin-pkg-util.d.ts +0 -96
- package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +0 -262
|
@@ -32,8 +32,7 @@ export declare enum TextDecoration {
|
|
|
32
32
|
}
|
|
33
33
|
export declare enum EventCategory {
|
|
34
34
|
INNER = "inner",
|
|
35
|
-
JS = "js"
|
|
36
|
-
LO = "lo"
|
|
35
|
+
JS = "js"
|
|
37
36
|
}
|
|
38
37
|
export declare enum PropGroup {
|
|
39
38
|
/**基础属性 */
|
|
@@ -44,8 +43,6 @@ export declare enum PropGroup {
|
|
|
44
43
|
DISPLAY = "display",
|
|
45
44
|
/**标签 */
|
|
46
45
|
LABEL = "label",
|
|
47
|
-
/**vue3 */
|
|
48
|
-
VUE3 = "vue3",
|
|
49
46
|
/**字段列表 */
|
|
50
47
|
FIELD = "field",
|
|
51
48
|
/**数据相关 */
|
|
@@ -68,6 +65,7 @@ export declare enum PropGroup {
|
|
|
68
65
|
FORM_CONFIG = "formConfig",
|
|
69
66
|
/** 字段布局 */
|
|
70
67
|
FIELD_LAYOUT = "FieldLayout",
|
|
68
|
+
LEFT_RIGHT_COLUMNS = "leftRightColumns",
|
|
71
69
|
/**选择器配置 */
|
|
72
70
|
TABLESELECT_CONFIG = "tableSelect",
|
|
73
71
|
/**单选框配置 */
|
|
@@ -80,6 +78,8 @@ export declare enum PropGroup {
|
|
|
80
78
|
OPTIONS = "options",
|
|
81
79
|
/**面板配置 */
|
|
82
80
|
COLLAPSE = "collapse",
|
|
81
|
+
SPACE_OCCUPATION = "spaceOccupation",
|
|
82
|
+
DIVIDER = "divider",
|
|
83
83
|
/**iframe配置 */
|
|
84
84
|
IFRAME = "iframe",
|
|
85
85
|
/**文档集配置 */
|
|
@@ -132,7 +132,13 @@ export declare enum PropGroup {
|
|
|
132
132
|
/**算子配置 */
|
|
133
133
|
OPERATOR_CONFIG = "operatorConfig",
|
|
134
134
|
/**业务配置 */
|
|
135
|
-
BUSINESS_CONFIG = "businessConfig"
|
|
135
|
+
BUSINESS_CONFIG = "businessConfig",
|
|
136
|
+
/**Vue3配置 */
|
|
137
|
+
Vue3 = "Vue3",
|
|
138
|
+
/**树配置 */
|
|
139
|
+
TREE_CONFIG = "treeConfig",
|
|
140
|
+
/**卡片显示 */
|
|
141
|
+
CARDDISPLAY = "cardDisplay"
|
|
136
142
|
}
|
|
137
143
|
export declare enum StyleGroup {
|
|
138
144
|
/**布局 */
|
|
@@ -148,7 +154,9 @@ export declare enum StyleGroup {
|
|
|
148
154
|
/**
|
|
149
155
|
* 标题栏配置
|
|
150
156
|
*/
|
|
151
|
-
HEADER = "header"
|
|
157
|
+
HEADER = "header",
|
|
158
|
+
/**显示 */
|
|
159
|
+
SHOW_PROP = "showProp"
|
|
152
160
|
}
|
|
153
161
|
export declare enum tagEnum {
|
|
154
162
|
TAG = "tag",
|
|
@@ -162,6 +170,68 @@ export declare enum TagTypeEnum {
|
|
|
162
170
|
DASHED_RADIUS = "dashed_radius",
|
|
163
171
|
STATUS = "status"
|
|
164
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* 标签展示类型(DisplayTagTypeEnum)
|
|
175
|
+
*
|
|
176
|
+
* 说明:
|
|
177
|
+
* - 用于表格设计器“样式设置”的多字段显示配置中,定义标签的视觉形态;
|
|
178
|
+
* - 将标签形态分为三大类:
|
|
179
|
+
* 1)线面结合:同时具备边框与浅色背景,适合通用信息标识;
|
|
180
|
+
* 2)面性:纯色背景,无边框,适合强调型/高对比度标签;
|
|
181
|
+
* 3)线性:仅边框,无背景,适合轻量/弱强调标签;
|
|
182
|
+
*/
|
|
183
|
+
export declare enum DisplayTagTypeEnum {
|
|
184
|
+
/**
|
|
185
|
+
* 线面结合-圆角
|
|
186
|
+
* 视觉:1px 实线边框 + 浅色背景,3px 圆角;
|
|
187
|
+
*/
|
|
188
|
+
RADIUS = "radius",
|
|
189
|
+
/**
|
|
190
|
+
* 线面结合-大圆角(胶囊)
|
|
191
|
+
* 视觉:1px 实线边框 + 浅色背景,50px 大圆角;
|
|
192
|
+
*/
|
|
193
|
+
BIG_RADIUS = "big_radius",
|
|
194
|
+
/**
|
|
195
|
+
* 线面结合-状态
|
|
196
|
+
* 视觉:1px 实线边框 + 浅色背景,混合圆角(11px/3px/3px);
|
|
197
|
+
*/
|
|
198
|
+
STATUS = "status",
|
|
199
|
+
/**
|
|
200
|
+
* 面性-圆角
|
|
201
|
+
* 视觉:纯色背景,3px 圆角,无边框;
|
|
202
|
+
*/
|
|
203
|
+
SURFACE_RADIUS = "surface_radius",
|
|
204
|
+
/**
|
|
205
|
+
* 面性-大圆角(胶囊)
|
|
206
|
+
* 视觉:纯色背景,50px 大圆角,无边框;
|
|
207
|
+
*/
|
|
208
|
+
SURFACE_BIG_RADIUS = "surface_big_radius",
|
|
209
|
+
/**
|
|
210
|
+
* 面性-状态
|
|
211
|
+
* 视觉:纯色背景,混合圆角(11px/3px/3px),无边框;
|
|
212
|
+
*/
|
|
213
|
+
SURFACE_STATUS = "surface_status",
|
|
214
|
+
/**
|
|
215
|
+
* 线性-圆角
|
|
216
|
+
* 视觉:1px 实线边框,3px 圆角,无背景;
|
|
217
|
+
*/
|
|
218
|
+
LINE_RADIUS = "line_radius",
|
|
219
|
+
/**
|
|
220
|
+
* 线性-大圆角(胶囊)
|
|
221
|
+
* 视觉:1px 实线边框,50px 大圆角,无背景;
|
|
222
|
+
*/
|
|
223
|
+
LINE_BIG_RADIUS = "line_big_radius",
|
|
224
|
+
/**
|
|
225
|
+
* 线性-虚线圆角
|
|
226
|
+
* 视觉:1px 虚线边框,3px 圆角,无背景;
|
|
227
|
+
*/
|
|
228
|
+
LINE_DASHED_RADIUS = "line_dashed_radius",
|
|
229
|
+
/**
|
|
230
|
+
* 线性-状态
|
|
231
|
+
* 视觉:1px 实线边框,混合圆角(11px/3px/3px),无背景;
|
|
232
|
+
*/
|
|
233
|
+
LINE_STATUS = "line_status"
|
|
234
|
+
}
|
|
165
235
|
export declare enum ProgressTypeEnum {
|
|
166
236
|
/**圆形 */
|
|
167
237
|
CIRCLE = "circle",
|
|
@@ -183,7 +253,8 @@ export declare enum GLOBAL_VAR_TYPE {
|
|
|
183
253
|
NULL = "NULL",
|
|
184
254
|
DATE = "date",
|
|
185
255
|
DATETIME = "datetime",
|
|
186
|
-
TIME = "time"
|
|
256
|
+
TIME = "time",
|
|
257
|
+
VAR = "var"
|
|
187
258
|
}
|
|
188
259
|
export declare enum GLOBAL_TYPE {
|
|
189
260
|
MODAL = "modal",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var PanelEnum = /* @__PURE__ */ ((PanelEnum2) => {
|
|
3
2
|
PanelEnum2["PAGE"] = "page";
|
|
4
3
|
PanelEnum2["HISTORY"] = "history";
|
|
@@ -39,7 +38,6 @@ var TextDecoration = /* @__PURE__ */ ((TextDecoration2) => {
|
|
|
39
38
|
var EventCategory = /* @__PURE__ */ ((EventCategory2) => {
|
|
40
39
|
EventCategory2["INNER"] = "inner";
|
|
41
40
|
EventCategory2["JS"] = "js";
|
|
42
|
-
EventCategory2["LO"] = "lo";
|
|
43
41
|
return EventCategory2;
|
|
44
42
|
})(EventCategory || {});
|
|
45
43
|
var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
|
|
@@ -47,7 +45,6 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
|
|
|
47
45
|
PropGroup2["ADVANCED"] = "advance";
|
|
48
46
|
PropGroup2["DISPLAY"] = "display";
|
|
49
47
|
PropGroup2["LABEL"] = "label";
|
|
50
|
-
PropGroup2["VUE3"] = "vue3";
|
|
51
48
|
PropGroup2["FIELD"] = "field";
|
|
52
49
|
PropGroup2["DATA"] = "data";
|
|
53
50
|
PropGroup2["OTHER"] = "other";
|
|
@@ -59,12 +56,15 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
|
|
|
59
56
|
PropGroup2["FIELD_CONFIG"] = "fieldConfig";
|
|
60
57
|
PropGroup2["FORM_CONFIG"] = "formConfig";
|
|
61
58
|
PropGroup2["FIELD_LAYOUT"] = "FieldLayout";
|
|
59
|
+
PropGroup2["LEFT_RIGHT_COLUMNS"] = "leftRightColumns";
|
|
62
60
|
PropGroup2["TABLESELECT_CONFIG"] = "tableSelect";
|
|
63
61
|
PropGroup2["GENRADIO"] = "genRadio";
|
|
64
62
|
PropGroup2["GENCHECKBOX"] = "genCheckbox";
|
|
65
63
|
PropGroup2["GENSWITCH"] = "genSwitch";
|
|
66
64
|
PropGroup2["OPTIONS"] = "options";
|
|
67
65
|
PropGroup2["COLLAPSE"] = "collapse";
|
|
66
|
+
PropGroup2["SPACE_OCCUPATION"] = "spaceOccupation";
|
|
67
|
+
PropGroup2["DIVIDER"] = "divider";
|
|
68
68
|
PropGroup2["IFRAME"] = "iframe";
|
|
69
69
|
PropGroup2["FILECOLLECT"] = "fileCollect";
|
|
70
70
|
PropGroup2["CARDLIST"] = "cardList";
|
|
@@ -92,6 +92,9 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
|
|
|
92
92
|
PropGroup2["DATARANGE"] = "dataRange";
|
|
93
93
|
PropGroup2["OPERATOR_CONFIG"] = "operatorConfig";
|
|
94
94
|
PropGroup2["BUSINESS_CONFIG"] = "businessConfig";
|
|
95
|
+
PropGroup2["Vue3"] = "Vue3";
|
|
96
|
+
PropGroup2["TREE_CONFIG"] = "treeConfig";
|
|
97
|
+
PropGroup2["CARDDISPLAY"] = "cardDisplay";
|
|
95
98
|
return PropGroup2;
|
|
96
99
|
})(PropGroup || {});
|
|
97
100
|
var StyleGroup = /* @__PURE__ */ ((StyleGroup2) => {
|
|
@@ -101,6 +104,7 @@ var StyleGroup = /* @__PURE__ */ ((StyleGroup2) => {
|
|
|
101
104
|
StyleGroup2["MARGIN"] = "margin";
|
|
102
105
|
StyleGroup2["BORDER"] = "border";
|
|
103
106
|
StyleGroup2["HEADER"] = "header";
|
|
107
|
+
StyleGroup2["SHOW_PROP"] = "showProp";
|
|
104
108
|
return StyleGroup2;
|
|
105
109
|
})(StyleGroup || {});
|
|
106
110
|
var tagEnum = /* @__PURE__ */ ((tagEnum2) => {
|
|
@@ -117,6 +121,19 @@ var TagTypeEnum = /* @__PURE__ */ ((TagTypeEnum2) => {
|
|
|
117
121
|
TagTypeEnum2["STATUS"] = "status";
|
|
118
122
|
return TagTypeEnum2;
|
|
119
123
|
})(TagTypeEnum || {});
|
|
124
|
+
var DisplayTagTypeEnum = /* @__PURE__ */ ((DisplayTagTypeEnum2) => {
|
|
125
|
+
DisplayTagTypeEnum2["RADIUS"] = "radius";
|
|
126
|
+
DisplayTagTypeEnum2["BIG_RADIUS"] = "big_radius";
|
|
127
|
+
DisplayTagTypeEnum2["STATUS"] = "status";
|
|
128
|
+
DisplayTagTypeEnum2["SURFACE_RADIUS"] = "surface_radius";
|
|
129
|
+
DisplayTagTypeEnum2["SURFACE_BIG_RADIUS"] = "surface_big_radius";
|
|
130
|
+
DisplayTagTypeEnum2["SURFACE_STATUS"] = "surface_status";
|
|
131
|
+
DisplayTagTypeEnum2["LINE_RADIUS"] = "line_radius";
|
|
132
|
+
DisplayTagTypeEnum2["LINE_BIG_RADIUS"] = "line_big_radius";
|
|
133
|
+
DisplayTagTypeEnum2["LINE_DASHED_RADIUS"] = "line_dashed_radius";
|
|
134
|
+
DisplayTagTypeEnum2["LINE_STATUS"] = "line_status";
|
|
135
|
+
return DisplayTagTypeEnum2;
|
|
136
|
+
})(DisplayTagTypeEnum || {});
|
|
120
137
|
var ProgressTypeEnum = /* @__PURE__ */ ((ProgressTypeEnum2) => {
|
|
121
138
|
ProgressTypeEnum2["CIRCLE"] = "circle";
|
|
122
139
|
ProgressTypeEnum2["LINE"] = "line";
|
|
@@ -137,6 +154,7 @@ var GLOBAL_VAR_TYPE = /* @__PURE__ */ ((GLOBAL_VAR_TYPE2) => {
|
|
|
137
154
|
GLOBAL_VAR_TYPE2["DATE"] = "date";
|
|
138
155
|
GLOBAL_VAR_TYPE2["DATETIME"] = "datetime";
|
|
139
156
|
GLOBAL_VAR_TYPE2["TIME"] = "time";
|
|
157
|
+
GLOBAL_VAR_TYPE2["VAR"] = "var";
|
|
140
158
|
return GLOBAL_VAR_TYPE2;
|
|
141
159
|
})(GLOBAL_VAR_TYPE || {});
|
|
142
160
|
var GLOBAL_TYPE = /* @__PURE__ */ ((GLOBAL_TYPE2) => {
|
|
@@ -193,4 +211,4 @@ var Dependency_ENUM = /* @__PURE__ */ ((Dependency_ENUM2) => {
|
|
|
193
211
|
return Dependency_ENUM2;
|
|
194
212
|
})(Dependency_ENUM || {});
|
|
195
213
|
|
|
196
|
-
export { ASSIGNMENTSTRATEGY_ENUM, BorderStyle, COLUMNS_TYPE, Dependency_ENUM, DisplayType, EventCategory, GLOBAL_TYPE, GLOBAL_VAR_TYPE, INNER_EVENT, PanelEnum, Postion, ProgressTypeEnum, PropGroup, SUB_TABLE_EDIT_MODE, SUB_TABLE_OPE_EVENT_TYPE, SUB_TABLE_OPE_EVENT_TYPE_INLINE, StyleGroup, TagTypeEnum, TextAlign, TextDecoration, VERIFICATIONCONDITIONS_TYPE, tagEnum };
|
|
214
|
+
export { ASSIGNMENTSTRATEGY_ENUM, BorderStyle, COLUMNS_TYPE, Dependency_ENUM, DisplayTagTypeEnum, DisplayType, EventCategory, GLOBAL_TYPE, GLOBAL_VAR_TYPE, INNER_EVENT, PanelEnum, Postion, ProgressTypeEnum, PropGroup, SUB_TABLE_EDIT_MODE, SUB_TABLE_OPE_EVENT_TYPE, SUB_TABLE_OPE_EVENT_TYPE_INLINE, StyleGroup, TagTypeEnum, TextAlign, TextDecoration, VERIFICATIONCONDITIONS_TYPE, tagEnum };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var CategoryTypeEnum = /* @__PURE__ */ ((CategoryTypeEnum2) => {
|
|
3
2
|
CategoryTypeEnum2["FORM"] = "form";
|
|
4
3
|
CategoryTypeEnum2["LAYOUT"] = "layout";
|
|
@@ -13,6 +12,7 @@ var CategoryTypeEnum = /* @__PURE__ */ ((CategoryTypeEnum2) => {
|
|
|
13
12
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
14
13
|
Platform2["WEB"] = "web";
|
|
15
14
|
Platform2["MOBILE"] = "mobile";
|
|
15
|
+
Platform2["PAD"] = "pad";
|
|
16
16
|
return Platform2;
|
|
17
17
|
})(Platform || {});
|
|
18
18
|
var BuiltinType = /* @__PURE__ */ ((BuiltinType2) => {
|
|
@@ -42,7 +42,7 @@ var SelectPickerEnums = /* @__PURE__ */ ((SelectPickerEnums2) => {
|
|
|
42
42
|
return SelectPickerEnums2;
|
|
43
43
|
})(SelectPickerEnums || {});
|
|
44
44
|
var CURRENCY_ENUM = /* @__PURE__ */ ((CURRENCY_ENUM2) => {
|
|
45
|
-
CURRENCY_ENUM2["
|
|
45
|
+
CURRENCY_ENUM2["¥"] = "¥";
|
|
46
46
|
CURRENCY_ENUM2["$"] = "$";
|
|
47
47
|
CURRENCY_ENUM2["S$"] = "S$";
|
|
48
48
|
return CURRENCY_ENUM2;
|
|
@@ -74,7 +74,7 @@ var TIMETYPE_LANG_ENUM = /* @__PURE__ */ ((TIMETYPE_LANG_ENUM2) => {
|
|
|
74
74
|
return TIMETYPE_LANG_ENUM2;
|
|
75
75
|
})(TIMETYPE_LANG_ENUM || {});
|
|
76
76
|
var CURRENCY_LANG_ENUM = /* @__PURE__ */ ((CURRENCY_LANG_ENUM2) => {
|
|
77
|
-
CURRENCY_LANG_ENUM2["
|
|
77
|
+
CURRENCY_LANG_ENUM2["¥"] = "chMoney";
|
|
78
78
|
CURRENCY_LANG_ENUM2["$"] = "usMoney";
|
|
79
79
|
CURRENCY_LANG_ENUM2["S$"] = "sgpMoney";
|
|
80
80
|
return CURRENCY_LANG_ENUM2;
|
package/es/enums/pageEnum.mjs
CHANGED
package/es/enums/plugin-enum.mjs
CHANGED
|
@@ -33,3 +33,57 @@ export declare enum ExamineAndApproveStateEnum {
|
|
|
33
33
|
/**我的自定义审批模态框 */
|
|
34
34
|
MY_CUSTOM_Modal = "myCustomModal"
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* tips: 增加枚举时同步后端增加,该值会作为变量运行在 bpmn 中
|
|
38
|
+
*/
|
|
39
|
+
export declare enum ButtonTypeEnum {
|
|
40
|
+
/** 重新提交 */
|
|
41
|
+
Resubmit = "Resubmit",
|
|
42
|
+
/** 终止 */
|
|
43
|
+
End = "Terminate",
|
|
44
|
+
/** 撤回 */
|
|
45
|
+
Withdraw = "Withdraw",
|
|
46
|
+
/** 同意 */
|
|
47
|
+
Approve = "Approve",
|
|
48
|
+
/** 拒绝 */
|
|
49
|
+
Refuse = "Refuse",
|
|
50
|
+
/** 转交 */
|
|
51
|
+
Reassign = "Reassign",
|
|
52
|
+
/** 加签 */
|
|
53
|
+
Countersign = "Countersign",
|
|
54
|
+
/** 驳回 */
|
|
55
|
+
Reject = "Reject"
|
|
56
|
+
}
|
|
57
|
+
/** 审批意见枚举 */
|
|
58
|
+
export declare enum OpinionTypeEnum {
|
|
59
|
+
/** 全部必填 */
|
|
60
|
+
Required = "Required",
|
|
61
|
+
/** 全部非必填 */
|
|
62
|
+
Optional = "Optional",
|
|
63
|
+
/** 同意时必填 */
|
|
64
|
+
ApproveRequired = "ApproveRequired",
|
|
65
|
+
/** 拒绝时必填 */
|
|
66
|
+
RefuseRequired = "RefuseRequired",
|
|
67
|
+
/** 转交时必填 */
|
|
68
|
+
ReassignRequired = "ReassignRequired",
|
|
69
|
+
/** 驳回时必填 */
|
|
70
|
+
RejectRequired = "RejectRequired",
|
|
71
|
+
/** 加签时必填 */
|
|
72
|
+
CountersignRequired = "CountersignRequired"
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* bpmn节点类型
|
|
76
|
+
*/
|
|
77
|
+
export declare enum BpmnNodeTypeEnum {
|
|
78
|
+
BpmnStart = "bpmnStart",
|
|
79
|
+
BpmnSubmit = "bpmnSubmit",
|
|
80
|
+
BpmnApproval = "bpmnApproval",// 审批节点
|
|
81
|
+
BpmnEnd = "bpmnEnd",
|
|
82
|
+
BpmnExclusive = "bpmnExclusive",// 条件分支
|
|
83
|
+
BpmnJs = "bpmnJs",// 脚本节点
|
|
84
|
+
BpmnMessage = "bpmnMessage",// 消息节点
|
|
85
|
+
BpmnParallel = "bpmnParallel",// 并行节点
|
|
86
|
+
BpmnJoin = "bpmnJoin",// 聚合节点
|
|
87
|
+
BpmnForm = "bpmnForm",// 表单节点
|
|
88
|
+
BpmnBusiness = "bpmnBusiness"
|
|
89
|
+
}
|
package/es/enums/processEnum.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var ProcessStatusEnum = /* @__PURE__ */ ((ProcessStatusEnum2) => {
|
|
3
2
|
ProcessStatusEnum2["APPROVING"] = "APPROVING";
|
|
4
3
|
ProcessStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
@@ -24,5 +23,40 @@ var ExamineAndApproveStateEnum = /* @__PURE__ */ ((ExamineAndApproveStateEnum2)
|
|
|
24
23
|
ExamineAndApproveStateEnum2["MY_CUSTOM_Modal"] = "myCustomModal";
|
|
25
24
|
return ExamineAndApproveStateEnum2;
|
|
26
25
|
})(ExamineAndApproveStateEnum || {});
|
|
26
|
+
var ButtonTypeEnum = /* @__PURE__ */ ((ButtonTypeEnum2) => {
|
|
27
|
+
ButtonTypeEnum2["Resubmit"] = "Resubmit";
|
|
28
|
+
ButtonTypeEnum2["End"] = "Terminate";
|
|
29
|
+
ButtonTypeEnum2["Withdraw"] = "Withdraw";
|
|
30
|
+
ButtonTypeEnum2["Approve"] = "Approve";
|
|
31
|
+
ButtonTypeEnum2["Refuse"] = "Refuse";
|
|
32
|
+
ButtonTypeEnum2["Reassign"] = "Reassign";
|
|
33
|
+
ButtonTypeEnum2["Countersign"] = "Countersign";
|
|
34
|
+
ButtonTypeEnum2["Reject"] = "Reject";
|
|
35
|
+
return ButtonTypeEnum2;
|
|
36
|
+
})(ButtonTypeEnum || {});
|
|
37
|
+
var OpinionTypeEnum = /* @__PURE__ */ ((OpinionTypeEnum2) => {
|
|
38
|
+
OpinionTypeEnum2["Required"] = "Required";
|
|
39
|
+
OpinionTypeEnum2["Optional"] = "Optional";
|
|
40
|
+
OpinionTypeEnum2["ApproveRequired"] = "ApproveRequired";
|
|
41
|
+
OpinionTypeEnum2["RefuseRequired"] = "RefuseRequired";
|
|
42
|
+
OpinionTypeEnum2["ReassignRequired"] = "ReassignRequired";
|
|
43
|
+
OpinionTypeEnum2["RejectRequired"] = "RejectRequired";
|
|
44
|
+
OpinionTypeEnum2["CountersignRequired"] = "CountersignRequired";
|
|
45
|
+
return OpinionTypeEnum2;
|
|
46
|
+
})(OpinionTypeEnum || {});
|
|
47
|
+
var BpmnNodeTypeEnum = /* @__PURE__ */ ((BpmnNodeTypeEnum2) => {
|
|
48
|
+
BpmnNodeTypeEnum2["BpmnStart"] = "bpmnStart";
|
|
49
|
+
BpmnNodeTypeEnum2["BpmnSubmit"] = "bpmnSubmit";
|
|
50
|
+
BpmnNodeTypeEnum2["BpmnApproval"] = "bpmnApproval";
|
|
51
|
+
BpmnNodeTypeEnum2["BpmnEnd"] = "bpmnEnd";
|
|
52
|
+
BpmnNodeTypeEnum2["BpmnExclusive"] = "bpmnExclusive";
|
|
53
|
+
BpmnNodeTypeEnum2["BpmnJs"] = "bpmnJs";
|
|
54
|
+
BpmnNodeTypeEnum2["BpmnMessage"] = "bpmnMessage";
|
|
55
|
+
BpmnNodeTypeEnum2["BpmnParallel"] = "bpmnParallel";
|
|
56
|
+
BpmnNodeTypeEnum2["BpmnJoin"] = "bpmnJoin";
|
|
57
|
+
BpmnNodeTypeEnum2["BpmnForm"] = "bpmnForm";
|
|
58
|
+
BpmnNodeTypeEnum2["BpmnBusiness"] = "bpmnBusiness";
|
|
59
|
+
return BpmnNodeTypeEnum2;
|
|
60
|
+
})(BpmnNodeTypeEnum || {});
|
|
27
61
|
|
|
28
|
-
export { ExamineAndApproveStateEnum, ProcessStatusEnum, ch_ProcessStatusMap };
|
|
62
|
+
export { BpmnNodeTypeEnum, ButtonTypeEnum, ExamineAndApproveStateEnum, OpinionTypeEnum, ProcessStatusEnum, ch_ProcessStatusMap };
|
package/es/enums/roleEnum.mjs
CHANGED
package/es/enums/sizeEnum.mjs
CHANGED
package/es/global/gct/gct.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { I18n } from 'vue-i18n';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { IMessageUtil } from '../../interface';
|
|
2
|
+
import { IGlobalRegister } from '../../register';
|
|
3
|
+
import { IMessageUtil, IOverlayController } from '../../interface';
|
|
5
4
|
import { DictionaryUtil } from '../../utils';
|
|
5
|
+
import { EnvironmentManager } from '../../modules/env-manager';
|
|
6
|
+
import { ApiMap } from '@gct-paas/api';
|
|
7
|
+
import { RouterUtil } from '../../router';
|
|
6
8
|
/**
|
|
7
9
|
* gct paas 平台全局对象
|
|
8
10
|
*
|
|
@@ -10,6 +12,10 @@ import { DictionaryUtil } from '../../utils';
|
|
|
10
12
|
* @class GctGlobal
|
|
11
13
|
*/
|
|
12
14
|
export declare class GctGlobal {
|
|
15
|
+
/**
|
|
16
|
+
* i18n 工具类
|
|
17
|
+
*/
|
|
18
|
+
private readonly i18nUtil;
|
|
13
19
|
/**
|
|
14
20
|
* i18n 实例
|
|
15
21
|
*
|
|
@@ -20,11 +26,16 @@ export declare class GctGlobal {
|
|
|
20
26
|
/**
|
|
21
27
|
* 全局 store 工具类
|
|
22
28
|
*/
|
|
23
|
-
readonly storeUtil
|
|
29
|
+
private readonly storeUtil;
|
|
24
30
|
/**
|
|
25
31
|
* 全局 store 实例
|
|
26
32
|
*/
|
|
27
|
-
readonly store: import('pinia').Store<"global-store", import('
|
|
33
|
+
readonly store: import('pinia').Store<"global-store", import('../..').IGlobalState, import('../..').IGlobalGetters, import('../..').IGlobalActions>;
|
|
34
|
+
/**
|
|
35
|
+
* 全局 router 工具类
|
|
36
|
+
*/
|
|
37
|
+
readonly routerUtil: RouterUtil;
|
|
38
|
+
readonly router: import('vue-router').Router;
|
|
28
39
|
/**
|
|
29
40
|
* 消息提示工具类(预览、移动、网页,需要分别实现)
|
|
30
41
|
*
|
|
@@ -35,32 +46,35 @@ export declare class GctGlobal {
|
|
|
35
46
|
* 全局数据字典工具类
|
|
36
47
|
*
|
|
37
48
|
*/
|
|
38
|
-
dictionary: DictionaryUtil;
|
|
49
|
+
readonly dictionary: DictionaryUtil;
|
|
50
|
+
/**
|
|
51
|
+
* 环境管理器
|
|
52
|
+
*/
|
|
53
|
+
readonly env: EnvironmentManager;
|
|
39
54
|
/**
|
|
40
55
|
* 综合性注册中心
|
|
41
56
|
*/
|
|
42
|
-
readonly register:
|
|
43
|
-
designer: {
|
|
44
|
-
mobile: DesignerRegister;
|
|
45
|
-
web: DesignerRegister;
|
|
46
|
-
};
|
|
47
|
-
render: {
|
|
48
|
-
mobile: RenderRegister;
|
|
49
|
-
web: RenderRegister;
|
|
50
|
-
};
|
|
51
|
-
editor: typeof EditorRegister;
|
|
52
|
-
formItem: typeof FormItemRegister;
|
|
53
|
-
};
|
|
57
|
+
readonly register: IGlobalRegister;
|
|
54
58
|
/**
|
|
55
|
-
*
|
|
59
|
+
* 全局呈现容器控制器,这里只是声明了类型,具体实例需要由主项目根据实际情况进行实现和挂载
|
|
60
|
+
*
|
|
61
|
+
* @type {IOverlayController}
|
|
62
|
+
*/
|
|
63
|
+
openUtil: IOverlayController;
|
|
64
|
+
/**
|
|
65
|
+
* API 管理
|
|
66
|
+
*
|
|
67
|
+
* @author chitanda
|
|
68
|
+
* @date 2025-08-21 18:08:30
|
|
69
|
+
* @type {ApiMap}
|
|
56
70
|
*/
|
|
57
|
-
api:
|
|
71
|
+
api: ApiMap;
|
|
58
72
|
/**
|
|
59
|
-
*
|
|
73
|
+
* 异步初始化一些内容,在 createApp 之前调用
|
|
60
74
|
*
|
|
61
|
-
* @
|
|
62
|
-
* @
|
|
63
|
-
* @returns {*} {
|
|
75
|
+
* @author chitanda
|
|
76
|
+
* @date 2025-08-20 16:08:12
|
|
77
|
+
* @returns {*} {Promise<void>}
|
|
64
78
|
*/
|
|
65
|
-
|
|
79
|
+
init(): Promise<void>;
|
|
66
80
|
}
|
package/es/global/gct/gct.mjs
CHANGED
|
@@ -1,22 +1,40 @@
|
|
|
1
|
-
import { createI18n } from 'vue-i18n';
|
|
2
1
|
import { GlobalStoreUtil } from '../../store/index.mjs';
|
|
3
|
-
import '../../register/index.mjs';
|
|
4
|
-
import '../../utils/index.mjs';
|
|
5
|
-
import { DictionaryUtil } from '../../utils/dictionary/dictionary.mjs';
|
|
6
|
-
import { FormItemRegister } from '../../register/form-item-register/form-item-register.mjs';
|
|
7
2
|
import { EditorRegister } from '../../register/editor-register/editor-register.mjs';
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
3
|
+
import { FormItemRegister } from '../../register/form-item-register/form-item-register.mjs';
|
|
4
|
+
import 'qs';
|
|
5
|
+
import { DictionaryUtil } from '../../utils/dictionary/dictionary.mjs';
|
|
6
|
+
import 'lodash-es';
|
|
7
|
+
import '../../utils/mitt/mitt.mjs';
|
|
8
|
+
import '../../enums/app-designer/index.mjs';
|
|
9
|
+
import '../../enums/page-designer/designer.mjs';
|
|
10
|
+
import '../../enums/breakpointEnum.mjs';
|
|
11
|
+
import '../../constants/expression-type/modeCfg.mjs';
|
|
12
|
+
import '../../constants/expression-type/BuiltOperators.mjs';
|
|
13
|
+
import '../../constants/expression-type/function.mjs';
|
|
14
|
+
import '../../constants/expression-type/variable.mjs';
|
|
15
|
+
import 'vue';
|
|
16
|
+
import 'qx-util';
|
|
17
|
+
import 'path-browserify';
|
|
18
|
+
import '../../utils/uuid/uuid.mjs';
|
|
19
|
+
import 'axios';
|
|
20
|
+
import '@fingerprintjs/fingerprintjs';
|
|
21
|
+
import '../../utils/useUUid.mjs';
|
|
22
|
+
import { EnvironmentManager } from '../../modules/env-manager/env-manager.mjs';
|
|
23
|
+
import { LocaleUtil } from '../../locale/index.mjs';
|
|
24
|
+
import { RouterUtil } from '../../router/index.mjs';
|
|
10
25
|
|
|
11
|
-
"use strict";
|
|
12
26
|
class GctGlobal {
|
|
27
|
+
/**
|
|
28
|
+
* i18n 工具类
|
|
29
|
+
*/
|
|
30
|
+
i18nUtil = new LocaleUtil();
|
|
13
31
|
/**
|
|
14
32
|
* i18n 实例
|
|
15
33
|
*
|
|
16
34
|
* @description 目前底包的实例化只是为了避免报错,需要由主项目实例化后挂载
|
|
17
35
|
* @type {I18n}
|
|
18
36
|
*/
|
|
19
|
-
i18n =
|
|
37
|
+
i18n = this.i18nUtil.i18n;
|
|
20
38
|
/**
|
|
21
39
|
* 全局 store 工具类
|
|
22
40
|
*/
|
|
@@ -25,6 +43,11 @@ class GctGlobal {
|
|
|
25
43
|
* 全局 store 实例
|
|
26
44
|
*/
|
|
27
45
|
store = this.storeUtil.store;
|
|
46
|
+
/**
|
|
47
|
+
* 全局 router 工具类
|
|
48
|
+
*/
|
|
49
|
+
routerUtil = new RouterUtil();
|
|
50
|
+
router = this.routerUtil.router;
|
|
28
51
|
/**
|
|
29
52
|
* 消息提示工具类(预览、移动、网页,需要分别实现)
|
|
30
53
|
*
|
|
@@ -36,34 +59,33 @@ class GctGlobal {
|
|
|
36
59
|
*
|
|
37
60
|
*/
|
|
38
61
|
dictionary = new DictionaryUtil();
|
|
62
|
+
/**
|
|
63
|
+
* 环境管理器
|
|
64
|
+
*/
|
|
65
|
+
env = new EnvironmentManager();
|
|
39
66
|
/**
|
|
40
67
|
* 综合性注册中心
|
|
41
68
|
*/
|
|
42
69
|
register = {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
web: new DesignerRegister()
|
|
46
|
-
},
|
|
47
|
-
render: {
|
|
48
|
-
mobile: new RenderRegister(),
|
|
49
|
-
web: new RenderRegister()
|
|
50
|
-
},
|
|
51
|
-
editor: EditorRegister,
|
|
52
|
-
formItem: FormItemRegister
|
|
70
|
+
editor: new EditorRegister(),
|
|
71
|
+
formItem: new FormItemRegister()
|
|
53
72
|
};
|
|
54
73
|
/**
|
|
55
|
-
*
|
|
74
|
+
* 全局呈现容器控制器,这里只是声明了类型,具体实例需要由主项目根据实际情况进行实现和挂载
|
|
75
|
+
*
|
|
76
|
+
* @type {IOverlayController}
|
|
56
77
|
*/
|
|
57
|
-
|
|
78
|
+
openUtil;
|
|
58
79
|
/**
|
|
59
|
-
*
|
|
80
|
+
* 异步初始化一些内容,在 createApp 之前调用
|
|
60
81
|
*
|
|
61
|
-
* @
|
|
62
|
-
* @
|
|
63
|
-
* @returns {*} {
|
|
82
|
+
* @author chitanda
|
|
83
|
+
* @date 2025-08-20 16:08:12
|
|
84
|
+
* @returns {*} {Promise<void>}
|
|
64
85
|
*/
|
|
65
|
-
|
|
66
|
-
|
|
86
|
+
async init() {
|
|
87
|
+
await this.env.checkIsTestEnv();
|
|
88
|
+
await this.store.init();
|
|
67
89
|
}
|
|
68
90
|
}
|
|
69
91
|
|
package/es/hooks/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export { useAppInst } from './use-app-inst/use-app-inst';
|
|
1
2
|
export { useForm } from './use-form/use-form';
|
|
2
3
|
export { useGctFormValue, useGctFormValueByText, } from './use-gct-form-value/use-gct-form-value';
|
|
3
4
|
export { useModal } from './use-modal/use-modal';
|
|
4
|
-
export {
|
|
5
|
+
export { useIFrameProps, useWuJieBus, useWuJieProps, } from './use-sub-app-utils/use-sub-app-utils';
|
|
5
6
|
export { copyTextToClipboard, isDef, useCopyToClipboard, } from './useCopyToClipboard';
|
|
@@ -7,7 +7,7 @@ import { WritableComputedRef } from 'vue';
|
|
|
7
7
|
* @param {string} [key] 可以指定字段字段名(指定后直接改 form),默认取 props 中的 value
|
|
8
8
|
* @returns {*} {WritableComputedRef<T>}
|
|
9
9
|
*/
|
|
10
|
-
export declare function useGctFormValue<T = any>(key?: string): WritableComputedRef<T
|
|
10
|
+
export declare function useGctFormValue<T = any>(key?: string): WritableComputedRef<T>;
|
|
11
11
|
/**
|
|
12
12
|
* 获取编辑器双向数据绑定值对象,自动发送更新事件(纯字符串)
|
|
13
13
|
*
|