@gct-paas/core 0.1.4-dev.8 → 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/index.esm.min.js +1 -0
- package/es/constants/core.mjs +5 -4
- package/es/constants/default-date-type/default-date-type.d.ts +70 -0
- package/es/constants/default-date-type/default-date-type.mjs +74 -0
- package/es/constants/editor-register/editor-register.mjs +17 -5
- package/es/constants/expression-type/BuiltOperators.d.ts +20 -0
- package/es/constants/expression-type/BuiltOperators.mjs +156 -0
- package/es/constants/expression-type/FunctionKeys.d.ts +1 -0
- package/es/constants/expression-type/FunctionKeys.mjs +77 -0
- package/es/constants/expression-type/editor.d.ts +8 -0
- package/es/constants/expression-type/editor.mjs +11 -0
- package/es/constants/expression-type/function.d.ts +7 -0
- package/es/constants/expression-type/function.mjs +864 -0
- package/es/constants/expression-type/index.d.ts +42 -0
- package/es/constants/expression-type/index.mjs +118 -0
- package/es/constants/expression-type/modeCfg.d.ts +30 -0
- package/es/constants/expression-type/modeCfg.mjs +261 -0
- package/es/constants/expression-type/variable.d.ts +12 -0
- package/es/constants/expression-type/variable.mjs +46 -0
- package/es/constants/form-container-type/form-container-type.mjs +17 -5
- package/es/constants/index.d.ts +8 -1
- package/es/constants/index.mjs +32 -5
- package/es/constants/page-designer/model.d.ts +4 -0
- package/es/constants/page-designer/model.mjs +17 -0
- package/es/constants/page-designer/regex.d.ts +2 -0
- package/es/constants/page-designer/regex.mjs +5 -0
- package/es/create-app-vue.mjs +15 -16
- package/es/enums/app-designer/index.d.ts +19 -0
- package/es/enums/app-designer/index.mjs +131 -63
- package/es/enums/appEnum.d.ts +5 -0
- package/es/enums/appEnum.mjs +682 -356
- package/es/enums/appStateEnum.mjs +17 -10
- package/es/enums/authActionEnum.mjs +63 -51
- package/es/enums/breakpointEnum.mjs +27 -26
- package/es/enums/cacheEnum.d.ts +0 -1
- package/es/enums/cacheEnum.mjs +22 -22
- package/es/enums/designEnum.d.ts +9 -3
- package/es/enums/designEnum.mjs +111 -69
- 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 +8 -0
- package/es/enums/exceptionEnum.mjs +21 -17
- package/es/enums/expressionEnum.d.ts +130 -0
- package/es/enums/expressionEnum.mjs +82 -0
- package/es/enums/globalEnum.d.ts +15 -0
- package/es/enums/globalEnum.mjs +60 -25
- package/es/enums/httpEnum.mjs +71 -61
- package/es/enums/index.d.ts +11 -5
- package/es/enums/index.mjs +45 -17
- package/es/enums/menuEnum.mjs +42 -38
- package/es/enums/page-designer/designer.d.ts +7 -8
- package/es/enums/page-designer/designer.mjs +404 -403
- package/es/enums/page-designer/index.d.ts +1 -0
- package/es/enums/page-designer/index.mjs +5 -0
- package/es/enums/page-designer/layout.d.ts +12 -0
- package/es/enums/page-designer/layout.mjs +17 -0
- package/es/enums/page-designer/panel.d.ts +78 -7
- package/es/enums/page-designer/panel.mjs +342 -195
- package/es/enums/page-designer/toolkit.mjs +13 -12
- package/es/enums/page-designer/widget.d.ts +5 -0
- package/es/enums/page-designer/widget.mjs +426 -334
- package/es/enums/pageEnum.mjs +14 -13
- package/es/enums/plugin-enum.d.ts +8 -4
- package/es/enums/plugin-enum.mjs +27 -7
- package/es/enums/processEnum.d.ts +54 -0
- package/es/enums/processEnum.mjs +96 -26
- package/es/enums/roleEnum.mjs +7 -6
- package/es/enums/sizeEnum.d.ts +18 -0
- package/es/enums/sizeEnum.mjs +28 -8
- package/es/global/gct/gct.d.ts +245 -13
- package/es/global/gct/gct.mjs +98 -95
- package/es/global/index.mjs +1 -0
- package/es/hooks/index.d.ts +0 -3
- package/es/hooks/index.mjs +4 -0
- package/es/hooks/use-app-inst/use-app-inst.mjs +11 -5
- package/es/hooks/use-modal/use-modal.mjs +16 -10
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.d.ts +8 -12
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +45 -25
- package/es/hooks/useCopyToClipboard.mjs +50 -50
- package/es/index.d.ts +2 -10
- package/es/index.mjs +130 -119
- package/es/interface/i-dictionary/i-dictionary-item.d.ts +6 -0
- package/es/interface/i-global-register/i-global-register.d.ts +8 -0
- package/es/interface/i-kit-info/i-kit-info.d.ts +20 -0
- package/es/interface/i-pinia-action/i-global-actions.d.ts +4 -6
- package/es/interface/i-pinia-getter/i-global-getters.d.ts +2 -0
- package/es/interface/i-pinia-state/i-global-state.d.ts +12 -12
- package/es/interface/index.d.ts +5 -10
- package/es/interface/model-designer/entity.d.ts +110 -0
- 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-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/provider/index.d.ts +0 -2
- package/es/locale/index.d.ts +11 -3
- package/es/locale/index.mjs +75 -56
- package/es/modules/env-manager/env-manager.const.mjs +16 -8
- package/es/modules/env-manager/env-manager.d.ts +2 -0
- package/es/modules/env-manager/env-manager.interface.d.ts +2 -0
- package/es/modules/env-manager/env-manager.interface.mjs +14 -7
- package/es/modules/env-manager/env-manager.mjs +108 -107
- package/es/modules/error-handler/error-handler.const.mjs +11 -16
- package/es/modules/error-handler/error-strategy.mjs +199 -175
- package/es/modules/error-handler/index.mjs +120 -106
- package/es/modules/mqtt/constants/mqtt.const.d.ts +33 -0
- package/es/modules/mqtt/constants/mqtt.const.mjs +24 -0
- package/es/modules/mqtt/enums/mqtt-status.enum.d.ts +20 -0
- package/es/modules/mqtt/enums/mqtt-status.enum.mjs +24 -0
- package/es/modules/mqtt/index.d.ts +5 -0
- package/es/modules/mqtt/index.mjs +4 -0
- package/es/modules/mqtt/interfaces/i-mqtt.d.ts +139 -0
- package/es/modules/mqtt/mqtt-client.d.ts +117 -0
- package/es/modules/mqtt/mqtt-client.mjs +229 -0
- package/es/modules/mqtt/mqtt-manager.d.ts +87 -0
- package/es/modules/mqtt/mqtt-manager.mjs +118 -0
- package/es/modules/platform-config/constants/index.mjs +4 -0
- package/es/modules/platform-config/constants/login.const.mjs +48 -45
- package/es/modules/platform-config/constants/org.const.mjs +57 -52
- package/es/modules/platform-config/constants/theme.const.mjs +11 -4
- package/es/modules/platform-config/constants/watermark.const.mjs +17 -12
- package/es/modules/platform-config/enums/deploy.enum.mjs +13 -6
- package/es/modules/platform-config/enums/login.enum.mjs +29 -15
- package/es/modules/platform-config/enums/platform.enum.d.ts +0 -15
- package/es/modules/platform-config/enums/platform.enum.mjs +17 -26
- package/es/modules/platform-config/index.d.ts +1 -1
- package/es/modules/platform-config/index.mjs +9 -0
- package/es/modules/platform-config/interfaces/index.d.ts +0 -1
- package/es/modules/platform-config/store.d.ts +5 -1
- package/es/modules/platform-config/store.mjs +68 -76
- package/es/modules/platform-config/useBasicSetting.mjs +47 -35
- package/es/modules/platform-config/useDeploySetting.mjs +29 -21
- package/es/modules/platform-config/useLoginSetting.mjs +151 -173
- package/es/modules/platform-config/useOrgSetting.mjs +63 -62
- package/es/modules/platform-config/useProjectSetting.mjs +14 -6
- package/es/modules/platform-config/useSecuritySetting.d.ts +1 -0
- package/es/modules/platform-config/useSecuritySetting.mjs +81 -56
- package/es/modules/platform-config/useThemeSetting.mjs +78 -59
- package/es/modules/platform-config/useWatermarkSetting.mjs +37 -23
- package/es/modules/user-stores/index.mjs +3 -0
- package/es/modules/user-stores/store/permission.store.mjs +27 -36
- package/es/modules/user-stores/store/tenant.store.mjs +20 -22
- package/es/modules/user-stores/store/user.store.d.ts +149 -1
- package/es/modules/user-stores/store/user.store.mjs +97 -94
- package/es/modules/user-stores/types/user.d.ts +1 -0
- package/es/router/index.mjs +25 -28
- package/es/setup-app.d.ts +8 -0
- package/es/setup-app.mjs +24 -0
- package/es/state/global-pinia-state/global-pinia-state.d.ts +15 -7
- package/es/state/global-pinia-state/global-pinia-state.mjs +43 -57
- package/es/state/index.d.ts +0 -9
- package/es/state/index.mjs +1 -0
- package/es/store/global-store.mjs +44 -51
- package/es/store/index.d.ts +8 -0
- package/es/store/index.mjs +35 -19
- package/es/store/storage-store.d.ts +9 -0
- package/es/store/storage-store.mjs +10 -0
- package/es/types/index.d.ts +22 -0
- package/es/utils/axios/interceptors.mjs +22 -18
- package/es/utils/cache-adapter/cache-adapter.d.ts +2 -0
- package/es/utils/cache-adapter/cache-adapter.mjs +64 -0
- package/es/utils/css-loader/css-loader.d.ts +36 -0
- package/es/utils/css-loader/css-loader.mjs +82 -0
- package/es/utils/design/design.d.ts +11 -0
- package/es/utils/design/design.mjs +21 -0
- package/es/utils/deviceFingerprint.mjs +77 -63
- package/es/utils/dictionary/dictionary.mjs +142 -145
- package/es/utils/file/base64Conver.d.ts +9 -0
- package/es/utils/file/base64Conver.mjs +40 -0
- package/es/utils/file/download.d.ts +44 -0
- package/es/utils/file/download.mjs +101 -0
- package/es/utils/file/parser.d.ts +3 -0
- package/es/utils/file/parser.mjs +29 -0
- package/es/utils/i18n/index.mjs +14 -3
- package/es/utils/index.d.ts +20 -5
- package/es/utils/index.mjs +34 -0
- package/es/utils/is-sort-filed/is-sort-filed.d.ts +10 -0
- package/es/utils/is-sort-filed/is-sort-filed.mjs +45 -0
- package/es/utils/kit-pkg-util/kit-pkg-util.d.ts +32 -0
- package/es/utils/kit-pkg-util/kit-pkg-util.mjs +73 -0
- package/es/utils/linked-list/linked-list.mjs +115 -118
- package/es/utils/linked-node/linked-node.mjs +41 -31
- package/es/utils/lowcode/utils.d.ts +1 -0
- package/es/utils/lowcode/utils.mjs +15 -0
- package/es/utils/lowcode/validate.d.ts +13 -0
- package/es/utils/lowcode/validate.mjs +23 -0
- package/es/utils/mitt/mitt.mjs +4 -4
- package/es/utils/model-loader/model-loader.mjs +288 -325
- package/es/utils/namespace/namespace.d.ts +8 -0
- package/es/utils/namespace/namespace.mjs +180 -163
- package/es/utils/openUtil/index.d.ts +2 -0
- package/es/utils/openUtil/index.mjs +2 -0
- package/es/utils/openUtil/modal/modal.d.ts +61 -0
- package/es/utils/openUtil/modal/modal.mjs +73 -0
- package/es/utils/openUtil/overlay-container/overlay-container.d.ts +100 -0
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +145 -0
- package/es/utils/permission.d.ts +19 -0
- package/es/utils/permission.mjs +34 -0
- package/es/utils/plugin-pkg-util/plugin-pkg-util.d.ts +63 -0
- package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +119 -0
- package/es/utils/plugin-static-resource/plugin-static-resource.d.ts +2 -27
- package/es/utils/plugin-static-resource/plugin-static-resource.mjs +19 -42
- package/es/utils/style/index.mjs +94 -138
- package/es/utils/tools/tools.d.ts +12 -10
- package/es/utils/tools/tools.mjs +128 -53
- package/es/utils/treeHelper/treeHelper.d.ts +10 -9
- package/es/utils/treeHelper/treeHelper.mjs +205 -219
- package/es/utils/uploader/uploader.d.ts +20 -0
- package/es/utils/uploader/uploader.mjs +86 -0
- package/es/utils/useUUid.d.ts +41 -0
- package/es/utils/useUUid.mjs +85 -0
- package/es/utils/util.mjs +55 -35
- package/es/utils/uuid/uuid.d.ts +5 -0
- package/es/utils/uuid/uuid.mjs +38 -0
- package/es/utils/validate.d.ts +5 -0
- package/es/utils/validate.mjs +21 -0
- package/es/utils/value-helper/value-helper.mjs +113 -96
- package/package.json +19 -27
- package/dist/index.esm.min.mjs +0 -6103
- package/dist/index.min.cjs +0 -14
- package/dist/index.system.min.js +0 -14
- package/es/constants/editor-type/editor-type.d.ts +0 -244
- package/es/constants/editor-type/editor-type.mjs +0 -63
- package/es/controller/edit-form/edit-form.controller.d.ts +0 -28
- package/es/controller/edit-form/edit-form.controller.mjs +0 -47
- package/es/controller/editor/color-editor.controller.d.ts +0 -13
- package/es/controller/editor/color-editor.controller.mjs +0 -6
- package/es/controller/editor/length-unit-editor.controller.d.ts +0 -13
- package/es/controller/editor/length-unit-editor.controller.mjs +0 -6
- package/es/controller/editor-item/editor-item.controller.d.ts +0 -14
- package/es/controller/editor-item/editor-item.controller.mjs +0 -8
- package/es/controller/form/form.controller.d.ts +0 -76
- package/es/controller/form/form.controller.mjs +0 -147
- package/es/controller/form-collapse/form-collapse.controller.d.ts +0 -18
- package/es/controller/form-collapse/form-collapse.controller.mjs +0 -14
- package/es/controller/form-collapse-pane/form-collapse-pane.controller.d.ts +0 -18
- package/es/controller/form-collapse-pane/form-collapse-pane.controller.mjs +0 -14
- package/es/controller/form-edit-item/form-edit-item.controller.d.ts +0 -27
- package/es/controller/form-edit-item/form-edit-item.controller.mjs +0 -74
- package/es/controller/form-group/form-group.controller.d.ts +0 -18
- package/es/controller/form-group/form-group.controller.mjs +0 -14
- package/es/controller/form-item/form-item.controller.d.ts +0 -21
- package/es/controller/form-item/form-item.controller.mjs +0 -43
- package/es/controller/form-item-basic/form-item-basic.controller.d.ts +0 -57
- package/es/controller/form-item-basic/form-item-basic.controller.mjs +0 -49
- package/es/controller/form-item-hidden/form-item-hidden.controller.d.ts +0 -17
- package/es/controller/form-item-hidden/form-item-hidden.controller.mjs +0 -7
- package/es/controller/form-tab/form-tab.controller.d.ts +0 -18
- package/es/controller/form-tab/form-tab.controller.mjs +0 -14
- package/es/controller/form-tab-pane/form-tab-pane.controller.d.ts +0 -18
- package/es/controller/form-tab-pane/form-tab-pane.controller.mjs +0 -14
- package/es/controller/gct-form/gct-form.controller.d.ts +0 -101
- package/es/controller/gct-form/gct-form.controller.mjs +0 -214
- package/es/controller/index.d.ts +0 -15
- package/es/hooks/use-form/use-form.d.ts +0 -10
- package/es/hooks/use-form/use-form.mjs +0 -8
- package/es/hooks/use-gct-form-value/use-gct-form-value.d.ts +0 -22
- package/es/hooks/use-gct-form-value/use-gct-form-value.mjs +0 -89
- package/es/hooks/use-namespace/use-namespace.d.ts +0 -9
- package/es/hooks/use-namespace/use-namespace.mjs +0 -18
- package/es/interface/controller/edit-form/edit-form.controller.d.ts +0 -26
- package/es/interface/controller/editor/i-color-editor.controller.d.ts +0 -11
- package/es/interface/controller/editor/i-length-unit-editor.controller.d.ts +0 -11
- package/es/interface/controller/editor-item/editor-item.controller.d.ts +0 -19
- package/es/interface/controller/form/form.controller.d.ts +0 -121
- package/es/interface/controller/form-collapse/form-collapse.controller.d.ts +0 -23
- package/es/interface/controller/form-collapse-pane/form-collapse-pane.controller.d.ts +0 -23
- package/es/interface/controller/form-edit-item/form-edit-item.controller.d.ts +0 -59
- package/es/interface/controller/form-group/form-group.controller.d.ts +0 -24
- package/es/interface/controller/form-hidden-item/form-hidden-item.controller.d.ts +0 -24
- package/es/interface/controller/form-item/form-item.controller.d.ts +0 -40
- package/es/interface/controller/form-item-basic/form-item-basic.controller.d.ts +0 -51
- package/es/interface/controller/form-tab/form-tab.controller.d.ts +0 -23
- package/es/interface/controller/form-tab-pane/form-tab-pane.controller.d.ts +0 -23
- package/es/interface/controller/index.d.ts +0 -14
- package/es/interface/events/form/i-form.event.d.ts +0 -11
- package/es/interface/events/index.d.ts +0 -1
- package/es/interface/form/i-editor/i-check-switch.d.ts +0 -29
- package/es/interface/form/i-editor/i-checkbox-editor.d.ts +0 -9
- package/es/interface/form/i-editor/i-color-editor.d.ts +0 -13
- package/es/interface/form/i-editor/i-editor-basic.d.ts +0 -87
- package/es/interface/form/i-editor/i-icon-select-editor.d.ts +0 -21
- package/es/interface/form/i-editor/i-info-editor.d.ts +0 -21
- package/es/interface/form/i-editor/i-length-unit-editor.d.ts +0 -13
- package/es/interface/form/i-editor/i-model-field-select-editor.d.ts +0 -18
- package/es/interface/form/i-editor/i-number-editor.d.ts +0 -21
- package/es/interface/form/i-editor/i-picker-editor.d.ts +0 -30
- package/es/interface/form/i-editor/i-radio-editor.d.ts +0 -21
- package/es/interface/form/i-editor/i-select-editor.d.ts +0 -14
- package/es/interface/form/i-editor/i-span-editor.d.ts +0 -30
- package/es/interface/form/i-editor/i-switch-editor.d.ts +0 -14
- package/es/interface/form/i-editor/i-text-editor.d.ts +0 -46
- package/es/interface/form/i-editor/i-textarea-editor.d.ts +0 -25
- package/es/interface/form/i-form/i-edit-form.d.ts +0 -48
- package/es/interface/form/i-form/i-form-collapse-pane.d.ts +0 -30
- package/es/interface/form/i-form/i-form-collapse.d.ts +0 -35
- package/es/interface/form/i-form/i-form-container.d.ts +0 -53
- package/es/interface/form/i-form/i-form-edit-item.d.ts +0 -140
- package/es/interface/form/i-form/i-form-group-container.d.ts +0 -24
- package/es/interface/form/i-form/i-form-group.d.ts +0 -35
- package/es/interface/form/i-form/i-form-hidden-item.d.ts +0 -11
- package/es/interface/form/i-form/i-form-item-basic.d.ts +0 -126
- package/es/interface/form/i-form/i-form-item.d.ts +0 -11
- package/es/interface/form/i-form/i-form-tab-pane.d.ts +0 -23
- package/es/interface/form/i-form/i-form-tab.d.ts +0 -21
- package/es/interface/form/i-form/i-form.d.ts +0 -79
- package/es/interface/form/index.d.ts +0 -29
- package/es/interface/i-message-util/i-message-util.d.ts +0 -78
- package/es/interface/layout/i-flex-layout/i-flex-container.d.ts +0 -75
- package/es/interface/layout/i-flex-layout/i-flex-item.d.ts +0 -51
- package/es/interface/layout/i-grid-layout/i-grid-container.d.ts +0 -29
- package/es/interface/layout/i-grid-layout/i-grid-item-span.d.ts +0 -54
- package/es/interface/layout/i-grid-layout/i-grid-item.d.ts +0 -37
- package/es/interface/layout/i-layout-basis/i-layout-container-basis.d.ts +0 -11
- package/es/interface/layout/index.d.ts +0 -6
- package/es/interface/provider/i-editor-provider/i-editor-provider.d.ts +0 -24
- package/es/interface/provider/i-form-item-provider/i-form-item-provider.d.ts +0 -44
- package/es/interface/state/form/form.state.d.ts +0 -53
- package/es/interface/state/form-collapse/form-collapse.state.d.ts +0 -11
- package/es/interface/state/form-collapse-pane/form-collapse-pane.state.d.ts +0 -11
- package/es/interface/state/form-edit-item/form-edit-item.state.d.ts +0 -38
- package/es/interface/state/form-group/form-group.state.d.ts +0 -21
- package/es/interface/state/form-hidden-item/form-hidden-item.state.d.ts +0 -5
- package/es/interface/state/form-item/form-item.state.d.ts +0 -20
- package/es/interface/state/form-item-basic/form-item-basic.state.d.ts +0 -63
- package/es/interface/state/form-tab/form-tab.state.d.ts +0 -19
- package/es/interface/state/form-tab-pane/form-tab-pane.state.d.ts +0 -11
- package/es/interface/state/index.d.ts +0 -10
- package/es/modules/platform-config/interfaces/global-setting.interface.d.ts +0 -7
- package/es/register/editor-register/editor-register.d.ts +0 -49
- package/es/register/editor-register/editor-register.mjs +0 -57
- package/es/register/form-item-register/form-item-register.d.ts +0 -36
- package/es/register/form-item-register/form-item-register.mjs +0 -42
- package/es/register/index.d.ts +0 -21
- package/es/register/render-register/render-register.d.ts +0 -59
- package/es/register/render-register/render-register.mjs +0 -63
- package/es/state/form/form.state.d.ts +0 -24
- package/es/state/form/form.state.mjs +0 -16
- package/es/state/form-collapse/form-collapse.state.d.ts +0 -14
- package/es/state/form-collapse/form-collapse.state.mjs +0 -6
- package/es/state/form-collapse-pane/form-collapse-pane.state.d.ts +0 -14
- package/es/state/form-collapse-pane/form-collapse-pane.state.mjs +0 -6
- package/es/state/form-edit-item/form-edit-item.state.d.ts +0 -17
- package/es/state/form-edit-item/form-edit-item.state.mjs +0 -10
- package/es/state/form-group/form-group.state.d.ts +0 -21
- package/es/state/form-group/form-group.state.mjs +0 -14
- package/es/state/form-item/form-item.state.d.ts +0 -14
- package/es/state/form-item/form-item.state.mjs +0 -6
- package/es/state/form-item-basic/form-item-basic.state.d.ts +0 -17
- package/es/state/form-item-basic/form-item-basic.state.mjs +0 -9
- package/es/state/form-tab/form-tab.state.d.ts +0 -15
- package/es/state/form-tab/form-tab.state.mjs +0 -7
- package/es/state/form-tab-pane/form-tab-pane.state.d.ts +0 -14
- package/es/state/form-tab-pane/form-tab-pane.state.mjs +0 -6
- package/es/utils/props/gct-form-item/gct-form-item.props.d.ts +0 -63
- package/es/utils/props/gct-form-item/gct-form-item.props.mjs +0 -66
- package/es/utils/props/index.d.ts +0 -1
- package/es/utils/width-install/width-install.d.ts +0 -17
- package/es/utils/width-install/width-install.mjs +0 -19
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { FIELD_TYPE } from './appEnum';
|
|
2
|
+
/**
|
|
3
|
+
* 使用场景
|
|
4
|
+
*/
|
|
5
|
+
export declare enum ExpressionModeEnum {
|
|
6
|
+
SEARCH = 0,// 搜索条件
|
|
7
|
+
FIELD_DISPLAY = 1,// 字段显示规则
|
|
8
|
+
EXPORT_TEMPLATE = 2,// 导出模版
|
|
9
|
+
DISPLAY_RULE = 3,// 显隐规则
|
|
10
|
+
PROCESS_TITLE = 4,// 流程标题
|
|
11
|
+
GATEWAY_RULE = 5,// 网关
|
|
12
|
+
CREATE_FIELD = 6,// 创建字段
|
|
13
|
+
PAAS_CREATE_FIELD = 7,// paas平台创建字段
|
|
14
|
+
ENTITY_FORMULA = 8,// 实体-公式字段
|
|
15
|
+
IPAAS_BACK = 9,// 用于 ipaas 后端计算用
|
|
16
|
+
LABEL_PRINT = 10,// 标签打印文本字段配置
|
|
17
|
+
NOCODE_BPMN_RULE = 11,// 无代码流程条件规则
|
|
18
|
+
PAAS_BPMN_RULE = 12,// 低代码审批流
|
|
19
|
+
ONLINE_FORM_FIELD_FORMULA = 13,// 电子表单字段公式
|
|
20
|
+
MEDPRO_BUSINESSFLOW = 14,//medpro 业务流
|
|
21
|
+
RUN_FORMULA = 15,//组件-公式计算字段字段
|
|
22
|
+
BI_FORMULA = 16,// BI公式字段函数
|
|
23
|
+
DATA_SET_FORMULA = 17
|
|
24
|
+
}
|
|
25
|
+
export type ModeTabMapInterface = Record<ExpressionModeEnum, ExpressionTabEnum[]>;
|
|
26
|
+
export declare enum ExpressionTabEnum {
|
|
27
|
+
FUNCTION = "function",// 函数
|
|
28
|
+
FORM = "form",// 表单
|
|
29
|
+
FIELD = "field",// 字段
|
|
30
|
+
VARIABLE = "variable",// 变量
|
|
31
|
+
NODE = "node",// 节点
|
|
32
|
+
OPERATOR = "operator"
|
|
33
|
+
}
|
|
34
|
+
export declare enum OperatorTypeEnum {
|
|
35
|
+
/**算术 */
|
|
36
|
+
ARITHMETIC = "arithmetic",
|
|
37
|
+
/**关系 */
|
|
38
|
+
RELATIONSHIP = "relationship",
|
|
39
|
+
/**逻辑 */
|
|
40
|
+
LOGIC = "logic",
|
|
41
|
+
/**其他 */
|
|
42
|
+
OTHER = "other"
|
|
43
|
+
}
|
|
44
|
+
export declare enum VarTypeEnum {
|
|
45
|
+
INNER_VAR = "INNER_VAR",
|
|
46
|
+
SYSTEM_VAR = "SYSTEM_VAR",
|
|
47
|
+
GLOBAL_VAR = "GLOBAL_VAR",
|
|
48
|
+
PAGE_VAR = "PAGE_VAR"
|
|
49
|
+
}
|
|
50
|
+
export interface IdentifierItemInterface {
|
|
51
|
+
id?: string;
|
|
52
|
+
name?: string;
|
|
53
|
+
desc?: string;
|
|
54
|
+
valueType?: FIELD_TYPE | string;
|
|
55
|
+
type?: FIELD_TYPE | string;
|
|
56
|
+
_id_?: string;
|
|
57
|
+
_name_?: string;
|
|
58
|
+
_type_?: ExpressionTabEnum;
|
|
59
|
+
_args_?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface IdentifierGroupInterface {
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
_id_?: string;
|
|
65
|
+
_name_?: string;
|
|
66
|
+
idToChildren?: boolean;
|
|
67
|
+
children: IdentifierItemInterface[];
|
|
68
|
+
}
|
|
69
|
+
export type IdentifiersInterface = Partial<Record<ExpressionTabEnum, (IdentifierGroupInterface | IdentifierItemInterface)[]>>;
|
|
70
|
+
export declare enum ReturnTypeEnum {
|
|
71
|
+
String = "string",
|
|
72
|
+
Number = "number",
|
|
73
|
+
Boolean = "boolean"
|
|
74
|
+
}
|
|
75
|
+
export declare enum DataSetReturnTypeEnum {
|
|
76
|
+
String = "string",
|
|
77
|
+
Double = "number"
|
|
78
|
+
}
|
|
79
|
+
export declare enum EntityFormulaReturnTypeEnum {
|
|
80
|
+
Text = "text",
|
|
81
|
+
LongText = "long_text",
|
|
82
|
+
Int = "integer",
|
|
83
|
+
Long = "long",
|
|
84
|
+
Double = "decimal",
|
|
85
|
+
Boolean = "boolean"
|
|
86
|
+
}
|
|
87
|
+
interface CallbackOptions {
|
|
88
|
+
expr: string;
|
|
89
|
+
exprEcho: string;
|
|
90
|
+
exprName?: string;
|
|
91
|
+
returnType?: ReturnTypeEnum | EntityFormulaReturnTypeEnum;
|
|
92
|
+
modelKey?: string;
|
|
93
|
+
fieldProps?: {
|
|
94
|
+
/**小数位数 */
|
|
95
|
+
digits?: number;
|
|
96
|
+
/**布尔值真 */
|
|
97
|
+
trueText?: string;
|
|
98
|
+
/**布尔值假 */
|
|
99
|
+
falseText?: string;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export interface ExpressionInterface {
|
|
103
|
+
expr?: string;
|
|
104
|
+
exprEcho?: string;
|
|
105
|
+
exprName?: string;
|
|
106
|
+
returnType?: ReturnTypeEnum | EntityFormulaReturnTypeEnum | DataSetReturnTypeEnum;
|
|
107
|
+
disabledReturnType?: boolean;
|
|
108
|
+
modalTitle?: string;
|
|
109
|
+
mode: ExpressionModeEnum;
|
|
110
|
+
identifiers: IdentifiersInterface;
|
|
111
|
+
modelKey?: string;
|
|
112
|
+
fieldProps?: {
|
|
113
|
+
/**小数位数 */
|
|
114
|
+
digits?: number;
|
|
115
|
+
/**布尔值真 */
|
|
116
|
+
trueText?: string;
|
|
117
|
+
/**布尔值假 */
|
|
118
|
+
falseText?: string;
|
|
119
|
+
};
|
|
120
|
+
callback?: (expr: string, exprEcho?: string, options?: CallbackOptions) => void;
|
|
121
|
+
beforeClose?: (expr: string, exprEcho: string, returnType: string, formState: object) => Promise<boolean>;
|
|
122
|
+
}
|
|
123
|
+
export declare enum IdentifierAddon {
|
|
124
|
+
Prefix = "\u200B"
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* 零宽字符
|
|
128
|
+
*/
|
|
129
|
+
export declare const zeroWidthSpace = "\u200B";
|
|
130
|
+
export {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
//#region src/enums/expressionEnum.ts
|
|
2
|
+
/**
|
|
3
|
+
* 使用场景
|
|
4
|
+
*/
|
|
5
|
+
var ExpressionModeEnum = /* @__PURE__ */ function(ExpressionModeEnum) {
|
|
6
|
+
ExpressionModeEnum[ExpressionModeEnum["SEARCH"] = 0] = "SEARCH";
|
|
7
|
+
ExpressionModeEnum[ExpressionModeEnum["FIELD_DISPLAY"] = 1] = "FIELD_DISPLAY";
|
|
8
|
+
ExpressionModeEnum[ExpressionModeEnum["EXPORT_TEMPLATE"] = 2] = "EXPORT_TEMPLATE";
|
|
9
|
+
ExpressionModeEnum[ExpressionModeEnum["DISPLAY_RULE"] = 3] = "DISPLAY_RULE";
|
|
10
|
+
ExpressionModeEnum[ExpressionModeEnum["PROCESS_TITLE"] = 4] = "PROCESS_TITLE";
|
|
11
|
+
ExpressionModeEnum[ExpressionModeEnum["GATEWAY_RULE"] = 5] = "GATEWAY_RULE";
|
|
12
|
+
ExpressionModeEnum[ExpressionModeEnum["CREATE_FIELD"] = 6] = "CREATE_FIELD";
|
|
13
|
+
ExpressionModeEnum[ExpressionModeEnum["PAAS_CREATE_FIELD"] = 7] = "PAAS_CREATE_FIELD";
|
|
14
|
+
ExpressionModeEnum[ExpressionModeEnum["ENTITY_FORMULA"] = 8] = "ENTITY_FORMULA";
|
|
15
|
+
ExpressionModeEnum[ExpressionModeEnum["IPAAS_BACK"] = 9] = "IPAAS_BACK";
|
|
16
|
+
ExpressionModeEnum[ExpressionModeEnum["LABEL_PRINT"] = 10] = "LABEL_PRINT";
|
|
17
|
+
ExpressionModeEnum[ExpressionModeEnum["NOCODE_BPMN_RULE"] = 11] = "NOCODE_BPMN_RULE";
|
|
18
|
+
ExpressionModeEnum[ExpressionModeEnum["PAAS_BPMN_RULE"] = 12] = "PAAS_BPMN_RULE";
|
|
19
|
+
ExpressionModeEnum[ExpressionModeEnum["ONLINE_FORM_FIELD_FORMULA"] = 13] = "ONLINE_FORM_FIELD_FORMULA";
|
|
20
|
+
ExpressionModeEnum[ExpressionModeEnum["MEDPRO_BUSINESSFLOW"] = 14] = "MEDPRO_BUSINESSFLOW";
|
|
21
|
+
ExpressionModeEnum[ExpressionModeEnum["RUN_FORMULA"] = 15] = "RUN_FORMULA";
|
|
22
|
+
ExpressionModeEnum[ExpressionModeEnum["BI_FORMULA"] = 16] = "BI_FORMULA";
|
|
23
|
+
ExpressionModeEnum[ExpressionModeEnum["DATA_SET_FORMULA"] = 17] = "DATA_SET_FORMULA";
|
|
24
|
+
return ExpressionModeEnum;
|
|
25
|
+
}({});
|
|
26
|
+
var ExpressionTabEnum = /* @__PURE__ */ function(ExpressionTabEnum) {
|
|
27
|
+
ExpressionTabEnum["FUNCTION"] = "function";
|
|
28
|
+
ExpressionTabEnum["FORM"] = "form";
|
|
29
|
+
ExpressionTabEnum["FIELD"] = "field";
|
|
30
|
+
ExpressionTabEnum["VARIABLE"] = "variable";
|
|
31
|
+
ExpressionTabEnum["NODE"] = "node";
|
|
32
|
+
ExpressionTabEnum["OPERATOR"] = "operator";
|
|
33
|
+
return ExpressionTabEnum;
|
|
34
|
+
}({});
|
|
35
|
+
var OperatorTypeEnum = /* @__PURE__ */ function(OperatorTypeEnum) {
|
|
36
|
+
/**算术 */
|
|
37
|
+
OperatorTypeEnum["ARITHMETIC"] = "arithmetic";
|
|
38
|
+
/**关系 */
|
|
39
|
+
OperatorTypeEnum["RELATIONSHIP"] = "relationship";
|
|
40
|
+
/**逻辑 */
|
|
41
|
+
OperatorTypeEnum["LOGIC"] = "logic";
|
|
42
|
+
/**其他 */
|
|
43
|
+
OperatorTypeEnum["OTHER"] = "other";
|
|
44
|
+
return OperatorTypeEnum;
|
|
45
|
+
}({});
|
|
46
|
+
var VarTypeEnum = /* @__PURE__ */ function(VarTypeEnum) {
|
|
47
|
+
VarTypeEnum["INNER_VAR"] = "INNER_VAR";
|
|
48
|
+
VarTypeEnum["SYSTEM_VAR"] = "SYSTEM_VAR";
|
|
49
|
+
VarTypeEnum["GLOBAL_VAR"] = "GLOBAL_VAR";
|
|
50
|
+
VarTypeEnum["PAGE_VAR"] = "PAGE_VAR";
|
|
51
|
+
return VarTypeEnum;
|
|
52
|
+
}({});
|
|
53
|
+
var ReturnTypeEnum = /* @__PURE__ */ function(ReturnTypeEnum) {
|
|
54
|
+
ReturnTypeEnum["String"] = "string";
|
|
55
|
+
ReturnTypeEnum["Number"] = "number";
|
|
56
|
+
ReturnTypeEnum["Boolean"] = "boolean";
|
|
57
|
+
return ReturnTypeEnum;
|
|
58
|
+
}({});
|
|
59
|
+
var DataSetReturnTypeEnum = /* @__PURE__ */ function(DataSetReturnTypeEnum) {
|
|
60
|
+
DataSetReturnTypeEnum["String"] = "string";
|
|
61
|
+
DataSetReturnTypeEnum["Double"] = "number";
|
|
62
|
+
return DataSetReturnTypeEnum;
|
|
63
|
+
}({});
|
|
64
|
+
var EntityFormulaReturnTypeEnum = /* @__PURE__ */ function(EntityFormulaReturnTypeEnum) {
|
|
65
|
+
EntityFormulaReturnTypeEnum["Text"] = "text";
|
|
66
|
+
EntityFormulaReturnTypeEnum["LongText"] = "long_text";
|
|
67
|
+
EntityFormulaReturnTypeEnum["Int"] = "integer";
|
|
68
|
+
EntityFormulaReturnTypeEnum["Long"] = "long";
|
|
69
|
+
EntityFormulaReturnTypeEnum["Double"] = "decimal";
|
|
70
|
+
EntityFormulaReturnTypeEnum["Boolean"] = "boolean";
|
|
71
|
+
return EntityFormulaReturnTypeEnum;
|
|
72
|
+
}({});
|
|
73
|
+
var IdentifierAddon = /* @__PURE__ */ function(IdentifierAddon) {
|
|
74
|
+
IdentifierAddon["Prefix"] = "";
|
|
75
|
+
return IdentifierAddon;
|
|
76
|
+
}({});
|
|
77
|
+
/**
|
|
78
|
+
* 零宽字符
|
|
79
|
+
*/
|
|
80
|
+
var zeroWidthSpace = "";
|
|
81
|
+
//#endregion
|
|
82
|
+
export { DataSetReturnTypeEnum, EntityFormulaReturnTypeEnum, ExpressionModeEnum, ExpressionTabEnum, IdentifierAddon, OperatorTypeEnum, ReturnTypeEnum, VarTypeEnum, zeroWidthSpace };
|
package/es/enums/globalEnum.d.ts
CHANGED
|
@@ -36,3 +36,18 @@ export declare enum DeviceParamsTypeEnum {
|
|
|
36
36
|
BOOLEAN = "Boolean",
|
|
37
37
|
DATE = "Date"
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* 平台设置相关枚举定义
|
|
41
|
+
*/
|
|
42
|
+
/** 平台设置配置类型枚举 */
|
|
43
|
+
export declare enum PlatformSettingEnum {
|
|
44
|
+
BASIC = "BASE_CFG",
|
|
45
|
+
WATERMARK = "MARK_CFG",
|
|
46
|
+
SECURITY = "SECURITY_CFG",
|
|
47
|
+
LOGIN = "LOGIN_CFG",
|
|
48
|
+
THEME = "THEME_CFG",
|
|
49
|
+
ORGANIZATION = "ORG_CFG",
|
|
50
|
+
APK = "APK_CFG",
|
|
51
|
+
DEPLOY = "DEPLOY_CFG",
|
|
52
|
+
GLOBAL = "GLOBAL_CFG"
|
|
53
|
+
}
|
package/es/enums/globalEnum.mjs
CHANGED
|
@@ -1,25 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
//#region src/enums/globalEnum.ts
|
|
2
|
+
/**
|
|
3
|
+
* 平台类型枚举
|
|
4
|
+
*
|
|
5
|
+
* @author copilot
|
|
6
|
+
* @date 2025-06-13
|
|
7
|
+
* @export
|
|
8
|
+
* @enum {string}
|
|
9
|
+
*/
|
|
10
|
+
var PlatformType = /* @__PURE__ */ function(PlatformType) {
|
|
11
|
+
/**
|
|
12
|
+
* 网页端
|
|
13
|
+
*/
|
|
14
|
+
PlatformType["WEB"] = "web";
|
|
15
|
+
/**
|
|
16
|
+
* PDA端
|
|
17
|
+
*/
|
|
18
|
+
PlatformType["PDA"] = "pda";
|
|
19
|
+
/**
|
|
20
|
+
* PAD端
|
|
21
|
+
*/
|
|
22
|
+
PlatformType["PAD"] = "pad";
|
|
23
|
+
return PlatformType;
|
|
24
|
+
}({});
|
|
25
|
+
/**空值显示枚举 */
|
|
26
|
+
var nullDisplayEnum = /* @__PURE__ */ function(nullDisplayEnum) {
|
|
27
|
+
nullDisplayEnum["--"] = "--";
|
|
28
|
+
nullDisplayEnum["empty"] = "(空)";
|
|
29
|
+
nullDisplayEnum["null"] = "null";
|
|
30
|
+
nullDisplayEnum["N/A"] = "N/A";
|
|
31
|
+
nullDisplayEnum["noDisplay"] = "";
|
|
32
|
+
return nullDisplayEnum;
|
|
33
|
+
}({});
|
|
34
|
+
var DeviceParamsTypeEnum = /* @__PURE__ */ function(DeviceParamsTypeEnum) {
|
|
35
|
+
DeviceParamsTypeEnum["STRING"] = "String";
|
|
36
|
+
DeviceParamsTypeEnum["INTEGER"] = "Integer";
|
|
37
|
+
DeviceParamsTypeEnum["LONG"] = "Long";
|
|
38
|
+
DeviceParamsTypeEnum["FLOAT"] = "Float";
|
|
39
|
+
DeviceParamsTypeEnum["BOOLEAN"] = "Boolean";
|
|
40
|
+
DeviceParamsTypeEnum["DATE"] = "Date";
|
|
41
|
+
return DeviceParamsTypeEnum;
|
|
42
|
+
}({});
|
|
43
|
+
/**
|
|
44
|
+
* 平台设置相关枚举定义
|
|
45
|
+
*/
|
|
46
|
+
/** 平台设置配置类型枚举 */
|
|
47
|
+
var PlatformSettingEnum = /* @__PURE__ */ function(PlatformSettingEnum) {
|
|
48
|
+
PlatformSettingEnum["BASIC"] = "BASE_CFG";
|
|
49
|
+
PlatformSettingEnum["WATERMARK"] = "MARK_CFG";
|
|
50
|
+
PlatformSettingEnum["SECURITY"] = "SECURITY_CFG";
|
|
51
|
+
PlatformSettingEnum["LOGIN"] = "LOGIN_CFG";
|
|
52
|
+
PlatformSettingEnum["THEME"] = "THEME_CFG";
|
|
53
|
+
PlatformSettingEnum["ORGANIZATION"] = "ORG_CFG";
|
|
54
|
+
PlatformSettingEnum["APK"] = "APK_CFG";
|
|
55
|
+
PlatformSettingEnum["DEPLOY"] = "DEPLOY_CFG";
|
|
56
|
+
PlatformSettingEnum["GLOBAL"] = "GLOBAL_CFG";
|
|
57
|
+
return PlatformSettingEnum;
|
|
58
|
+
}({});
|
|
59
|
+
//#endregion
|
|
60
|
+
export { DeviceParamsTypeEnum, PlatformSettingEnum, PlatformType, nullDisplayEnum };
|
package/es/enums/httpEnum.mjs
CHANGED
|
@@ -1,62 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var
|
|
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
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
1
|
+
//#region src/enums/httpEnum.ts
|
|
2
|
+
/**
|
|
3
|
+
* @description: Request result set
|
|
4
|
+
*/
|
|
5
|
+
var ResultEnum = /* @__PURE__ */ function(ResultEnum) {
|
|
6
|
+
ResultEnum[ResultEnum["SUCCESS"] = 200] = "SUCCESS";
|
|
7
|
+
ResultEnum[ResultEnum["ERROR"] = -1] = "ERROR";
|
|
8
|
+
ResultEnum[ResultEnum["TIMEOUT"] = 401] = "TIMEOUT";
|
|
9
|
+
ResultEnum["TYPE"] = "success";
|
|
10
|
+
return ResultEnum;
|
|
11
|
+
}({});
|
|
12
|
+
/**
|
|
13
|
+
* @description: request method
|
|
14
|
+
*/
|
|
15
|
+
var RequestEnum = /* @__PURE__ */ function(RequestEnum) {
|
|
16
|
+
RequestEnum["GET"] = "GET";
|
|
17
|
+
RequestEnum["POST"] = "POST";
|
|
18
|
+
RequestEnum["PUT"] = "PUT";
|
|
19
|
+
RequestEnum["DELETE"] = "DELETE";
|
|
20
|
+
return RequestEnum;
|
|
21
|
+
}({});
|
|
22
|
+
/**
|
|
23
|
+
* @description: contentType
|
|
24
|
+
*/
|
|
25
|
+
var ContentTypeEnum = /* @__PURE__ */ function(ContentTypeEnum) {
|
|
26
|
+
ContentTypeEnum["JSON"] = "application/json;charset=UTF-8";
|
|
27
|
+
ContentTypeEnum["FORM_URLENCODED"] = "application/x-www-form-urlencoded;charset=UTF-8";
|
|
28
|
+
ContentTypeEnum["FORM_DATA"] = "multipart/form-data;charset=UTF-8";
|
|
29
|
+
return ContentTypeEnum;
|
|
30
|
+
}({});
|
|
31
|
+
var BizServiceEnum = /* @__PURE__ */ function(BizServiceEnum) {
|
|
32
|
+
BizServiceEnum["submit"] = "post";
|
|
33
|
+
BizServiceEnum["listByIds"] = "get";
|
|
34
|
+
BizServiceEnum["getone"] = "post";
|
|
35
|
+
BizServiceEnum["listAll"] = "post";
|
|
36
|
+
BizServiceEnum["listByPage"] = "post";
|
|
37
|
+
BizServiceEnum["listTree"] = "post";
|
|
38
|
+
BizServiceEnum["save"] = "post";
|
|
39
|
+
BizServiceEnum["saveOrUpdate"] = "post";
|
|
40
|
+
BizServiceEnum["saveBatch"] = "post";
|
|
41
|
+
BizServiceEnum["importData"] = "post";
|
|
42
|
+
BizServiceEnum["exportData"] = "post";
|
|
43
|
+
BizServiceEnum["remove"] = "post";
|
|
44
|
+
BizServiceEnum["removeById"] = "delete";
|
|
45
|
+
BizServiceEnum["removeByIds"] = "delete";
|
|
46
|
+
BizServiceEnum["update"] = "put";
|
|
47
|
+
BizServiceEnum["updateById"] = "put";
|
|
48
|
+
BizServiceEnum["updateByIds"] = "put";
|
|
49
|
+
BizServiceEnum["rdoSave"] = "post";
|
|
50
|
+
BizServiceEnum["rdoListAll"] = "post";
|
|
51
|
+
BizServiceEnum["rdoListByPage"] = "post";
|
|
52
|
+
BizServiceEnum["rdoListVersionById"] = "get";
|
|
53
|
+
BizServiceEnum["rdoSaveVersion"] = "post";
|
|
54
|
+
BizServiceEnum["rdoSaveBatch"] = "post";
|
|
55
|
+
BizServiceEnum["rdoUpdateVersionById"] = "put";
|
|
56
|
+
BizServiceEnum["rdoRemoveVersionById"] = "delete";
|
|
57
|
+
BizServiceEnum["rdoRemoveById"] = "delete";
|
|
58
|
+
BizServiceEnum["rdoGetVersionById"] = "get";
|
|
59
|
+
BizServiceEnum["getOne"] = "post";
|
|
60
|
+
BizServiceEnum["rdoGetVersionByRefId"] = "post";
|
|
61
|
+
BizServiceEnum["getById"] = "get";
|
|
62
|
+
BizServiceEnum["rdoListAllVersion"] = "post";
|
|
63
|
+
BizServiceEnum["rdoRefListByPage"] = "post";
|
|
64
|
+
BizServiceEnum["export"] = "post";
|
|
65
|
+
BizServiceEnum["import"] = "post";
|
|
66
|
+
BizServiceEnum["rdoExport"] = "post";
|
|
67
|
+
BizServiceEnum["rdoImport"] = "post";
|
|
68
|
+
BizServiceEnum["biz_search"] = "post";
|
|
69
|
+
return BizServiceEnum;
|
|
70
|
+
}({});
|
|
71
|
+
//#endregion
|
|
62
72
|
export { BizServiceEnum, ContentTypeEnum, RequestEnum, ResultEnum };
|
package/es/enums/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './app-designer';
|
|
2
2
|
export * from './page-designer';
|
|
3
|
+
export * from './developer-center';
|
|
3
4
|
export * from './appEnum';
|
|
4
5
|
export * from './appStateEnum';
|
|
5
6
|
export * from './authActionEnum';
|
|
@@ -15,11 +16,7 @@ export * from './roleEnum';
|
|
|
15
16
|
export * from './sizeEnum';
|
|
16
17
|
export * from './processEnum';
|
|
17
18
|
export * from './plugin-enum';
|
|
18
|
-
export
|
|
19
|
-
String = "string",
|
|
20
|
-
Number = "number",
|
|
21
|
-
Boolean = "boolean"
|
|
22
|
-
}
|
|
19
|
+
export * from './expressionEnum';
|
|
23
20
|
/**mqtt主题枚举*/
|
|
24
21
|
export declare enum GctMqttTopsEnum {
|
|
25
22
|
/**mqtt电子表单 编辑 遗嘱消息解锁使用 */
|
|
@@ -27,3 +24,12 @@ export declare enum GctMqttTopsEnum {
|
|
|
27
24
|
/**mqtt用于接受其他用户解锁的主题 */
|
|
28
25
|
EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK"
|
|
29
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* 全局参数
|
|
29
|
+
*/
|
|
30
|
+
export declare enum GlobalParamEnum {
|
|
31
|
+
/**
|
|
32
|
+
* 选择组件标识
|
|
33
|
+
*/
|
|
34
|
+
SELECT_ID = "$VAR_GCT_SELECT_ID"
|
|
35
|
+
}
|
package/es/enums/index.mjs
CHANGED
|
@@ -1,17 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import "./appEnum.mjs";
|
|
2
|
+
import "./app-designer/index.mjs";
|
|
3
|
+
import "./page-designer/panel.mjs";
|
|
4
|
+
import "./page-designer/toolkit.mjs";
|
|
5
|
+
import "./page-designer/widget.mjs";
|
|
6
|
+
import "./page-designer/designer.mjs";
|
|
7
|
+
import "./page-designer/layout.mjs";
|
|
8
|
+
import "./page-designer/index.mjs";
|
|
9
|
+
import "./developer-center/integration.mjs";
|
|
10
|
+
import "./appStateEnum.mjs";
|
|
11
|
+
import "./authActionEnum.mjs";
|
|
12
|
+
import "./breakpointEnum.mjs";
|
|
13
|
+
import "./cacheEnum.mjs";
|
|
14
|
+
import "./designEnum.mjs";
|
|
15
|
+
import "./exceptionEnum.mjs";
|
|
16
|
+
import "./httpEnum.mjs";
|
|
17
|
+
import "./globalEnum.mjs";
|
|
18
|
+
import "./menuEnum.mjs";
|
|
19
|
+
import "./pageEnum.mjs";
|
|
20
|
+
import "./roleEnum.mjs";
|
|
21
|
+
import "./sizeEnum.mjs";
|
|
22
|
+
import "./processEnum.mjs";
|
|
23
|
+
import "./plugin-enum.mjs";
|
|
24
|
+
import "./expressionEnum.mjs";
|
|
25
|
+
//#region src/enums/index.ts
|
|
26
|
+
/**mqtt主题枚举*/
|
|
27
|
+
var GctMqttTopsEnum = /* @__PURE__ */ function(GctMqttTopsEnum) {
|
|
28
|
+
/**mqtt电子表单 编辑 遗嘱消息解锁使用 */
|
|
29
|
+
GctMqttTopsEnum["EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK"] = "FORM_INST_MULTI_PERSON_EDIT_BREAK";
|
|
30
|
+
/**mqtt用于接受其他用户解锁的主题 */
|
|
31
|
+
GctMqttTopsEnum["EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK"] = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK";
|
|
32
|
+
return GctMqttTopsEnum;
|
|
33
|
+
}({});
|
|
34
|
+
/**
|
|
35
|
+
* 全局参数
|
|
36
|
+
*/
|
|
37
|
+
var GlobalParamEnum = /* @__PURE__ */ function(GlobalParamEnum) {
|
|
38
|
+
/**
|
|
39
|
+
* 选择组件标识
|
|
40
|
+
*/
|
|
41
|
+
GlobalParamEnum["SELECT_ID"] = "$VAR_GCT_SELECT_ID";
|
|
42
|
+
return GlobalParamEnum;
|
|
43
|
+
}({});
|
|
44
|
+
//#endregion
|
|
45
|
+
export { GctMqttTopsEnum, GlobalParamEnum };
|
package/es/enums/menuEnum.mjs
CHANGED
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
1
|
+
//#region src/enums/menuEnum.ts
|
|
2
|
+
/**
|
|
3
|
+
* @description: menu type
|
|
4
|
+
*/
|
|
5
|
+
var MenuTypeEnum = /* @__PURE__ */ function(MenuTypeEnum) {
|
|
6
|
+
MenuTypeEnum["SIDEBAR"] = "sidebar";
|
|
7
|
+
MenuTypeEnum["MIX_SIDEBAR"] = "mix-sidebar";
|
|
8
|
+
MenuTypeEnum["MIX"] = "mix";
|
|
9
|
+
MenuTypeEnum["TOP_MENU"] = "top-menu";
|
|
10
|
+
return MenuTypeEnum;
|
|
11
|
+
}({});
|
|
12
|
+
var TriggerEnum = /* @__PURE__ */ function(TriggerEnum) {
|
|
13
|
+
TriggerEnum["NONE"] = "NONE";
|
|
14
|
+
TriggerEnum["FOOTER"] = "FOOTER";
|
|
15
|
+
TriggerEnum["HEADER"] = "HEADER";
|
|
16
|
+
return TriggerEnum;
|
|
17
|
+
}({});
|
|
18
|
+
var MenuModeEnum = /* @__PURE__ */ function(MenuModeEnum) {
|
|
19
|
+
MenuModeEnum["VERTICAL"] = "vertical";
|
|
20
|
+
MenuModeEnum["HORIZONTAL"] = "horizontal";
|
|
21
|
+
MenuModeEnum["VERTICAL_RIGHT"] = "vertical-right";
|
|
22
|
+
MenuModeEnum["INLINE"] = "inline";
|
|
23
|
+
return MenuModeEnum;
|
|
24
|
+
}({});
|
|
25
|
+
var MenuSplitTyeEnum = /* @__PURE__ */ function(MenuSplitTyeEnum) {
|
|
26
|
+
MenuSplitTyeEnum[MenuSplitTyeEnum["NONE"] = 0] = "NONE";
|
|
27
|
+
MenuSplitTyeEnum[MenuSplitTyeEnum["TOP"] = 1] = "TOP";
|
|
28
|
+
MenuSplitTyeEnum[MenuSplitTyeEnum["LEFT"] = 2] = "LEFT";
|
|
29
|
+
return MenuSplitTyeEnum;
|
|
30
|
+
}({});
|
|
31
|
+
var TopMenuAlignEnum = /* @__PURE__ */ function(TopMenuAlignEnum) {
|
|
32
|
+
TopMenuAlignEnum["CENTER"] = "center";
|
|
33
|
+
TopMenuAlignEnum["START"] = "start";
|
|
34
|
+
TopMenuAlignEnum["END"] = "end";
|
|
35
|
+
return TopMenuAlignEnum;
|
|
36
|
+
}({});
|
|
37
|
+
var MixSidebarTriggerEnum = /* @__PURE__ */ function(MixSidebarTriggerEnum) {
|
|
38
|
+
MixSidebarTriggerEnum["HOVER"] = "hover";
|
|
39
|
+
MixSidebarTriggerEnum["CLICK"] = "click";
|
|
40
|
+
return MixSidebarTriggerEnum;
|
|
41
|
+
}({});
|
|
42
|
+
//#endregion
|
|
39
43
|
export { MenuModeEnum, MenuSplitTyeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TopMenuAlignEnum, TriggerEnum };
|