@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
package/dist/index.system.min.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
System.register(["pinia","lodash-es","qs","vue","axios","vue-i18n","vue-router","@gct-paas/api"],(function(o,il){"use strict";var J,qe,et,H,Te,tt,nt,Se,oe,it,Ae,V,w,y,ne,v,_e,ce,Ie,rt,at,st,ot,ct,lt,ut,Le;return{setters:[p=>{J=p.defineStore,qe=p.createPinia,et=p.setActivePinia},p=>{H=p.cloneDeep,Te=p.mergeWith,tt=p.unionWith,nt=p.isEqual,Se=p.omit,oe=p.has,it=p.isEmpty},p=>{Ae=p.default},p=>{V=p.isRef,w=p.computed,y=p.ref,ne=p.watch,v=p.reactive,_e=p.onUnmounted,ce=p.inject,Ie=p.getCurrentInstance,rt=p.shallowRef,at=p.onMounted},p=>{st=p.AxiosHeaders},p=>{ot=p.createI18n},p=>{ct=p.createRouter,lt=p.createWebHashHistory},p=>{ut=p.HttpUtil,Le=p.api}],execute:(function(){o({afterFieldSet:_a,afterValueSet:Aa,cacheFnReturn:Na,computedEx:va,copyTextToClipboard:Ln,createAppVue:zc,deepMerge:Ta,default:Cn,emitFieldSet:Ia,gctFormItemEditorProps:da,genUrl:fn,getDeviceFingerprint:Fe,getPageIdentification:dn,getTenant:Mt,getTimezone:Ct,getToken:le,install:Cn,interceptors:Ut,isDef:In,openWindow:Xo,parseMatrixParams:Dt,parseValueUnit:La,setTenant:pa,setToken:wt,setupErrorHandler:Nn,setupI18n:Rn,stringifyMatrixParams:Sa,useAppInst:hc,useCopyToClipboard:Sc,useEditFormController:tc,useForm:_n,useFormController:nc,useFormItemController:ic,useGctFormValue:gc,useGctFormValueByText:mc,useIFrameProps:Rc,useModal:bc,useNamespace:Ec,useWuJieBus:Tc,useWuJieProps:pc,widthEditorInstall:ya});const p=o("SIDE_BAR_MINI_WIDTH",48),rl=o("SIDE_BAR_SHOW_TIT_MINI_WIDTH",80);var Dn=o("ContentEnum",(e=>(e.FULL="full",e.FIXED="fixed",e))(Dn||{})),Un=o("ThemeEnum",(e=>(e.DARK="dark",e.LIGHT="light",e))(Un||{})),Pn=o("SettingButtonPositionEnum",(e=>(e.AUTO="auto",e.HEADER="header",e.FIXED="fixed",e))(Pn||{})),kn=o("SessionTimeoutProcessingEnum",(e=>(e[e.ROUTE_JUMP=0]="ROUTE_JUMP",e[e.PAGE_COVERAGE=1]="PAGE_COVERAGE",e))(kn||{})),Gn=o("PermissionModeEnum",(e=>(e.ROLE="ROLE",e.BACK="BACK",e.ROUTE_MAPPING="ROUTE_MAPPING",e.PLATFORM_ROLE="PLATFORM_ROLE",e))(Gn||{})),Bn=o("RouterTransitionEnum",(e=>(e.ZOOM_FADE="zoom-fade",e.ZOOM_OUT="zoom-out",e.FADE_SIDE="fade-slide",e.FADE="fade",e.FADE_BOTTOM="fade-bottom",e.FADE_SCALE="fade-scale",e))(Bn||{})),dt=o("ProjectName",(e=>(e.PORTAL="portal",e.BACKEND_MANAGEMENT="backend-management",e.DEVELOPER_CENTER="developer-center",e.TENANT_CENTER="tenant-center",e.APP_DESIGNER="app-designer",e.PAGE_DESIGNER="page-designer",e.WEB_RENDER="web-render",e.MOBILE_RENDER="mobile-render",e))(dt||{})),Fn=o("FIELD_TYPE_CATEGORY",(e=>(e.ALL="field_type_all",e.BASIC="field_type_basic",e.LOGIC="field_type_logic",e.TRACE="field_type_trace",e))(Fn||{})),h=o("FIELD_TYPE",(e=>(e.PRIMARY_KEY="primary_key",e.ASSOCIATED_PRIMARY_KEY="associated_primary_key",e.TEXT="text",e.LONG_TEXT="long_text",e.INTEGER="integer",e.LONG="long",e.DOUBLE="double",e.DECIMAL="decimal",e.BOOLEAN="boolean",e.DATE="date",e.TIME="time",e.DATE_TIME="date_time",e.IMAGE="image",e.ATTACHMENT="attachment",e.SERIAL="serial_number",e.MASTERSLAVE="master_slave",e.USER="user",e.USER_MULTI="user_multi",e.ORG="org",e.ORG_MULTI="org_multi",e.ENUM="enum",e.ENUM_MULTI="enum_multi",e.OPTION="option",e.OPTION_MULTI="option_multi",e.REF="ref",e.REF_MULTI="ref_multi",e.RDO_REF="rdo_ref",e.EXPRESSION="expression",e.EXPRESSION_CONDITION="expression_condition",e.AGG="agg",e.ESOP="esop",e.TRANSACTION="transaction",e.LABEL_TEMPLATE="label_template",e.LABEL_TEMPLATE_REF="label_template_ref",e.DOCUMENT_TEMPLATE="document_template",e.SERIALRULE="serial_number_rule",e.PRINTER="printer",e.MESSAGE_TMPL="message_tmpl",e.RANGE_USER="range_user",e.SIGNATURE="electronic_signature",e.ONLINE_FORM_TEMPLATE="online_form_tmpl",e.E_DHR_TEMPLATE="edhr_tmpl",e.ONLINE_FORM="online_form",e.DATA_TABLE_FORMULA="data_table_formula",e.READONLYCMP="readonlycmp",e.MATERIAL_NO="material_no",e.PRODUCT="product",e.DEVICE="device",e.Biz_Process="biz_process",e.TENANT="tenant",e))(h||{})),Wn=o("FIELD_TYPE_BASIC",(e=>(e.TEXT="text",e.LONG_TEXT="long_text",e.INTEGER="integer",e.LONG="long",e.DOUBLE="double",e.DECIMAL="decimal",e.BOOLEAN="boolean",e.DATE="date",e.TIME="time",e.DATE_TIME="date_time",e))(Wn||{})),Hn=o("FIELD_TYPE_LOGIC",(e=>(e.IMAGE="image",e.ATTACHMENT="attachment",e.SERIAL="serial_number",e.MASTERSLAVE="master_slave",e.USER="user",e.USER_MULTI="user_multi",e.ORG="org",e.ORG_MULTI="org_multi",e.ENUM="enum",e.ENUM_MULTI="enum_multi",e.OPTION="option",e.OPTION_MULTI="option_multi",e.REF="ref",e.REF_MULTI="ref_multi",e.RDO_REF="rdo_ref",e.EXPRESSION="expression",e.EXPRESSION_CONDITION="expression_condition",e.AGG="agg",e.ESOP="esop",e.TRANSACTION="transaction",e.LABEL_TEMPLATE="label_template",e.LABEL_TEMPLATE_REF="label_template_ref",e.DOCUMENT_TEMPLATE="document_template",e.SERIALRULE="serial_number_rule",e.PRINTER="printer",e.MESSAGE_TMPL="message_tmpl",e.RANGE_USER="range_user",e.SIGNATURE="electronic_signature",e.ONLINE_FORM_TEMPLATE="online_form_tmpl",e.E_DHR_TEMPLATE="edhr_tmpl",e.ONLINE_FORM="online_form",e.Biz_Process="biz_process",e))(Hn||{})),Vn=o("FIELD_TYPE_TRACE",(e=>(e.MATERIAL_NO="material_no",e.PRODUCT="product",e.DEVICE="device",e))(Vn||{}));const al=o("FieldTypeToJs",{attachment:"string",boolean:"boolean",date:"string",date_time:"string",decimal:"number",double:"number",enum:"string",enum_multi:"string",image:"string",integer:"number",long:"number",long_text:"string",master_slave:"string",org:"string",org_multi:"string",rdo_ref:"string",ref:"string",ref_multi:"string",serial_number:"string",text:"string",time:"string",user:"string",user_multi:"string",expression:"string",expression_condition:"string",agg:"number",esop:"string",serial_number_rule:"string",label_template:"string",label_template_ref:"string",document_template:"string",transaction:"string",printer:"string",message_tmpl:"string",range_user:"string",primary_key:"string",associated_primary_key:"string",readonlycmp:"string",material_no:"string",product:"string",device:"string",option:"string",option_multi:"string",electronic_signature:"string",online_form_tmpl:"string",edhr_tmpl:"string",online_form:"string",data_table_formula:"string",biz_process:"string",tenant:"string"});var Xn=o("CreateType",(e=>(e.SYSTEM="SYSTEM",e.USER_DEFINED="USER_DEFINED",e.BUILTIN="BUILTIN",e.CUSTOM="CUSTOM",e.PROCESS="PROCESS",e))(Xn||{})),xn=o("MenuType",(e=>(e.CATALOG="CATALOG",e.STANDARD="STANDARD",e.LINK="LINK",e))(xn||{})),jn=o("OpenMode",(e=>(e.PRESENT="PRESENT",e.IFRAME="IFRAME",e.NEW="NEW",e))(jn||{})),Kn=o("MaterialEnum",(e=>(e.MaterialFormField="formField",e.MaterialTableField="tableField",e.MaterialEmbedTableField="embedTableField",e.MaterialSubTableField="subTableField",e.MaterialSubTableModalField="subTableModalField",e.cardListFormField="cardList",e.MaterialTableSelectField="tableSelectField",e.DescriptionsFormField="descriptions",e))(Kn||{}));const sl=o("FieldIconMap",{primary_key:"icon-id",text:"icon-wenben1",long_text:"icon-changwenben",integer:"icon-zhengshu",long:"icon-changzhengshu",decimal:"icon-jingduxiaoshu1",double:"icon-xiaoshu",boolean:"icon-buer",date:"icon-riqi1",time:"icon-shijian1",date_time:"icon-riqishijian",user:"icon-renyuanguanlian",org:"icon-bumenguanlian",user_multi:"icon-renyuanduoxuan",org_multi:"icon-bumenduoxuan",image:"icon-tupian1",attachment:"icon-fujian1",serial_number:"icon-xuliehao",master_slave:"icon-zhuziguanlian",enum:"icon-meijuguanlian",ref:"icon-moxingguanlian",rdo_ref:"icon-RDOmoxingguanlian",enum_multi:"icon-meijuguanlianduoxuan",option:"icon-meijuguanlian",option_multi:"icon-meijuguanlianduoxuan",ref_multi:"icon-moxingduoxuan",expression:"icon-gongshiziduan",expression_condition:"icon-gongshiziduan",agg:"icon-huizong",esop:"icon-E-SOP",transaction:"icon-ziduan1",serial_number_rule:"icon-ziduan1",printer:"icon-dayinanniu",message_tmpl:"icon-xiaoximoban",range_user:"icon-fanweirenyuan",label_template:"icon-biaoqianmoban",label_template_ref:"icon-biaoqianmoban",document_template:"icon-danjumoban",electronic_signature:"icon-qianming1",online_form_tmpl:"icon-zaixianbiaodanmoban",edhr_tmpl:"icon-edhr",online_form:"icon-zaixianbiaodan",data_table_formula:"icon-gongshiziduan",readonlycmp:"icon-wenben1",tenant:"icon-id",associated_primary_key:"icon-id",material_no:"icon-field-material-no",product:"icon-field-product",device:"icon-field-device",biz_process:"icon-jichengzhongxin1"});var $n=o("AggTypes",(e=>(e.COUNT="COUNT",e.SUM="SUM",e.MAX="MAX",e.MIN="MIN",e.AVG="AVG",e))($n||{})),Zn=o("NodesConfigTypeEnum",(e=>(e.SPEC="spec",e.SUB_WORKFLOW="sub_workflow",e))(Zn||{})),Jn=o("selectionTypeEnums",(e=>(e.None="none",e.SingleChoice="gct_radio",e.MultipleChoice="checkbox",e))(Jn||{})),Yn=o("UniqueConstraintType",(e=>(e.NONE="NONE",e.GLOBAL="GLOBAL",e.LEVEL="LEVEL",e.LOGIC="LOGIC",e))(Yn||{}));const ol=o("MessageType",{ALL:"all",UNREAD:"unread"}),cl=o("WorkbenchType",{TEST:"myTestApp",QUICK:"quickAccess",MY:"myApp"});var zn=o("PersonalCenterType",(e=>(e.PROFILE="profile",e.GENDER="gender",e.ENTERPRISE="enterprise",e))(zn||{})),Qn=o("GENDER_TYPE",(e=>(e.FEMALE="female",e.MALE="male",e.PRIVARY="privary",e))(Qn||{})),qn=o("TODO_TYPE",(e=>(e.TODO="todo",e.APPLICATION="application",e.DONE="done",e.DELEGATE="delegate",e))(qn||{}));const ll=o("SHOW_FIELDTYPES",[h.TEXT,h.LONG_TEXT,h.LONG,h.INTEGER,h.DECIMAL,h.DOUBLE,h.SERIAL]);var ei=o("UserServiceType",(e=>(e.SCRIPT_SERVICE="SCRIPT_SERVICE",e.SQL_SERVICE="SQL_SERVICE",e.SO_SERVICE="SO_SERVICE",e.BUILTIN_SERVICE="SYS_BUILTIN",e))(ei||{})),ft=o("EntityModelCategoryEnum",(e=>(e.ENTITY="entity",e.DATA="data",e.VIEW="view",e.FORM="form",e.DATA_SET="dataSet",e))(ft||{})),ti=o("EntityModelTypeEnum",(e=>(e.BASE="BASE",e.NDO="NDO",e.RDO="RDO",e.TREE="TREE",e.DYNAMIC_FORM="DYNAMIC_FORM",e.WORKFLOW="WORKFLOW",e.TRANSACTION="TRANSACTION",e))(ti||{})),ni=o("FieldDefaultValueTypeEnum",(e=>(e.NONE="NONE",e.FIXED="FIXED",e.SYS_VAR="SYS_VAR",e))(ni||{})),ii=o("FieldSysVarDefaultValueEnum",(e=>(e.NULL="",e.SYS_DATE="SYS_DATE",e.SYS_TIME="SYS_TIME",e.SYS_DATE_TIME="SYS_DATE_TIME",e.CURRENT_USER="CURRENT_USER",e.CURRENT_ORG="CURRENT_ORG",e))(ii||{})),ri=o("scriptTypeEnum",(e=>(e.EVENT="event",e.BUSINESSSERVICE="businessService",e.TIMER="timer",e))(ri||{})),ai=o("pageLayoutModeEnum",(e=>(e.SHOW_BOX_SCROLL="showBoxScroll",e.SHOW_ALL_DATA="showAllData",e))(ai||{})),si=o("PanelEnum",(e=>(e.PAGE="page",e.HISTORY="history",e.GLOBAL="global",e.WIDGET="widget",e.CHANGE_DESIGN="changeDesign",e))(si||{})),oi=o("Postion",(e=>(e.STATIC="static",e.RELATIVE="relative",e.ABSOLUTE="absolute",e.FIXED="fixed",e.STICKY="sticky",e))(oi||{})),ci=o("BorderStyle",(e=>(e.NONE="none",e.SOLID="solid",e.DOTTED="dotted",e.DASHED="dashed",e.DOUBLE="double",e))(ci||{})),li=o("TextAlign",(e=>(e.LEFT="left",e.CENTER="center",e.RIGHT="right",e.JUSTIFY="justify",e))(li||{})),ui=o("TextDecoration",(e=>(e.LINETHROUGH="line-through",e.UNDERLINE="underline",e.NONE="none",e))(ui||{})),di=o("EventCategory",(e=>(e.INNER="inner",e.JS="js",e.LO="lo",e))(di||{})),fi=o("PropGroup",(e=>(e.BASIC="basic",e.ADVANCED="advance",e.DISPLAY="display",e.LABEL="label",e.VUE3="vue3",e.FIELD="field",e.DATA="data",e.OTHER="other",e.LIST="list",e.Table="table",e.SUBMIT_RULE="submitRule",e.LISTDATA="listdata",e.SHOW="show",e.FIELD_CONFIG="fieldConfig",e.FORM_CONFIG="formConfig",e.FIELD_LAYOUT="FieldLayout",e.TABLESELECT_CONFIG="tableSelect",e.GENRADIO="genRadio",e.GENCHECKBOX="genCheckbox",e.GENSWITCH="genSwitch",e.OPTIONS="options",e.COLLAPSE="collapse",e.IFRAME="iframe",e.FILECOLLECT="fileCollect",e.CARDLIST="cardList",e.BUTTON="button",e.Button="Button",e.ButtonShow="ButtonShow",e.ButtonStyle="ButtonStyle",e.LISTBUTTON="listButton",e.MODAL="modal",e.MODALWIDTH="modalWidth",e.MODALHEIGHT="modalHeight",e.MODALTITLECONFIG="modalTitleConfig",e.SEARCH="search",e.QUERY="query",e.INPUT_CONFIG="inputConfig",e.DATALINKAGE="dataLinkage",e.PERMISSION="permission",e.DATASOURCE="dataSource",e.VALIDATERULE="validaterule",e.TEXT="text",e.GRID_CONFIG="gridConfig",e.COL_CONFIG="colConfig",e.COMPONENTDEPENDENCY="componentDependency",e.GENIMAGE="genImage",e.DATARANGE="dataRange",e.OPERATOR_CONFIG="operatorConfig",e.BUSINESS_CONFIG="businessConfig",e))(fi||{})),hi=o("StyleGroup",(e=>(e.LAYOUT="layout",e.STYLE="style",e.BACKGROUND="background",e.MARGIN="margin",e.BORDER="border",e.HEADER="header",e))(hi||{})),gi=o("tagEnum",(e=>(e.TAG="tag",e.PROGRESS="progress",e))(gi||{})),mi=o("TagTypeEnum",(e=>(e.RADIUS="radius",e.LINEAR_RADIUS="linear_radius",e.BIG_RADIUS="big_radius",e.LINEAR_BIG_RADIUS="linear_big_radius",e.DASHED_RADIUS="dashed_radius",e.STATUS="status",e))(mi||{})),bi=o("ProgressTypeEnum",(e=>(e.CIRCLE="circle",e.LINE="line",e))(bi||{})),Ei=o("DisplayType",(e=>(e.RULE="rule",e.CONFIG="config",e))(Ei||{})),pi=o("GLOBAL_VAR_TYPE",(e=>(e.STRING="string",e.NUMBER="number",e.BOOLEAN="boolean",e.OBJECT="object",e.ARRAY="array",e.NULL="NULL",e.DATE="date",e.DATETIME="datetime",e.TIME="time",e))(pi||{})),Ri=o("GLOBAL_TYPE",(e=>(e.MODAL="modal",e.EVENT="event",e.VAR="var",e))(Ri||{})),Ti=o("COLUMNS_TYPE",(e=>(e.LEFT="left",e.CENTER="center",e.RIGHT="right",e.TOP="top",e.BOTTOM="bottom",e))(Ti||{})),Si=o("INNER_EVENT",(e=>(e.CLOSE_MODAL="__CLOSEMODAL__",e.OPEN_MODAL="__OPENMODAL__",e.REFRESH_TABLE="__REFRESHTABLE__",e))(Si||{})),Ai=o("SUB_TABLE_EDIT_MODE",(e=>(e.INLINE="inline",e.MODAL="modal",e))(Ai||{})),_i=o("SUB_TABLE_OPE_EVENT_TYPE_INLINE",(e=>(e.DELETE="delete",e.COPY="copy",e))(_i||{})),Ii=o("SUB_TABLE_OPE_EVENT_TYPE",(e=>(e.DELETE="delete",e.EDIT="edit",e.COPY="copy",e))(Ii||{})),Li=o("VERIFICATIONCONDITIONS_TYPE",(e=>(e.JS="js",e))(Li||{})),vi=o("ASSIGNMENTSTRATEGY_ENUM",(e=>(e.alwaysCover="alwaysCover",e.notCovered="notCovered",e))(vi||{})),Ni=o("Dependency_ENUM",(e=>(e.HIDDEN="hidden",e.READONLY="readonly",e.DISABLED="disabled",e.REQUIRED="required",e.ASSIGNMENT="assignment",e))(Ni||{})),yi=o("ToolkitEnum",(e=>(e.OUTLINE="OUTLINE",e.WIDGETS="WIDGETS",e.FIELD="FIELD",e.MODAL="MODAL",e.JS="JS",e.CSS="CSS",e.TEMPLATE="TEMPLATE",e.LO="LO",e))(yi||{})),Oi=o("CategoryTypeEnum",(e=>(e.FORM="form",e.LAYOUT="layout",e.ADVANCED="advanced",e.DATA="data",e.BUTTON="button",e.RDO="rdo",e.KIT="kit",e.PROCESS="process",e))(Oi||{})),ht=o("Platform",(e=>(e.WEB="web",e.MOBILE="mobile",e.PAD="pad",e))(ht||{})),wi=o("BuiltinType",(e=>(e.MODAL="modal",e.MODAL_BODY="modalBody",e.MODAL_FOOTER="modalFooter",e.BottomButtonContainer="bottom-button-container",e))(wi||{})),Mi=o("DateRangeEnums",(e=>(e.WEEK_NOW="sys.pageDesigner.dateRange.weekNow",e.MONTH_NOW="sys.pageDesigner.dateRange.monthNow",e.QUARTER_NOW="sys.pageDesigner.dateRange.quarterNow",e.YEAR_NOW="sys.pageDesigner.dateRange.yearNow",e.WEEk_BEFORE="sys.pageDesigner.dateRange.weekBefore",e.MONTH_BEFORE="sys.pageDesigner.dateRange.monthBefore",e.QUARTER_BEFORE="sys.pageDesigner.dateRange.quarterBefore",e.YEAR_BEFORE="sys.pageDesigner.dateRange.yearBefore",e.DATE_BEFORE="sys.pageDesigner.dateRange.dateBefore",e.DATE_AFTER="sys.pageDesigner.dateRange.dateAfter",e))(Mi||{})),Ci=o("SelectPickerEnums",(e=>(e.DROPDOWN_SELECTION="dropdownSelection",e.TREE_SELECTION="treeSelection",e.MODAL_BOX_SELECTION="modalBoxSelection",e))(Ci||{})),Di=o("CURRENCY_ENUM",(e=>(e["¥"]="¥",e.$="$",e.S$="S$",e))(Di||{})),Ui=o("TIMETYPE_ENUM",(e=>(e.d="d",e["d:h"]="d:h",e["d:h:m"]="d:h:m",e["d:h:m:s"]="d:h:m:s",e.h="h",e["h:m"]="h:m",e["h:m:s"]="h:m:s",e.m="m",e["m:s"]="m:s",e.s="s",e))(Ui||{})),Pi=o("TIMETYPE_LANG_ENUM",(e=>(e.d="days",e["d:h"]="dayhour",e["d:h:m"]="dayhourminute",e["d:h:m:s"]="dayhourminutesecond",e.h="hour",e["h:m"]="hourminute",e["h:m:s"]="hourminutesecond",e.m="minute",e["m:s"]="minutesecond",e.s="seconds",e))(Pi||{})),ki=o("CURRENCY_LANG_ENUM",(e=>(e["¥"]="chMoney",e.$="usMoney",e.S$="sgpMoney",e))(ki||{})),Gi=o("RowSelectionTypeEnums",(e=>(e.SingleChoice="radio",e.MultipleChoice="checkbox",e))(Gi||{})),Bi=o("StatisticalMethodEnums",(e=>(e.Current="current",e.Whole="whole",e))(Bi||{})),Fi=o("PrintModeEnums",(e=>(e.Local="local",e.Server="server",e.PREVIEW_PRINT="PreviewPrint",e.DIRECT_PRINTING="DirectPrinting",e))(Fi||{})),Wi=o("openWindowEnums",(e=>(e.OPEN="open",e.APPROVE="linkApprove",e))(Wi||{})),Hi=o("KeyMode",(e=>(e.SYSTEM="system",e.TRANSACTION="transaction",e))(Hi||{})),Vi=o("TransactionMode",(e=>(e.CURRENT="current",e.REFERENCE="reference",e))(Vi||{})),Xi=o("DisplayEnums",(e=>(e.BLOCK="block",e.INLINE_BLOCK="inline-block",e))(Xi||{})),xi=o("ButtonColorType",(e=>(e.DEFAULT="default",e.LINK="link",e))(xi||{})),ji=o("ButtonColorTheme",(e=>(e.DEFAULT="default",e.PRIMARY="primary",e.ERROR="error",e.WARNING="warning",e.SUCCESS="success",e))(ji||{})),Ki=o("ButtonStyle",(e=>(e.ORDINARY="ordinary",e.SQUARE="square",e))(Ki||{})),$i=o("ButtonSize",(e=>(e.SMALL="small",e.DEFAULT="middle",e.LARGE="large",e))($i||{})),Zi=o("ButtonTypeGroup",(e=>(e.TEXT="TEXT",e.ICON_TEXT="ICON_TEXT",e.ICON="ICON",e))(Zi||{})),Ji=o("ButtonType",(e=>(e.PRIMARY="primary",e.DEFAULT="default",e.DASHED="dashed",e.LINK="link",e))(Ji||{})),Yi=o("ButtonType_vant",(e=>(e.PRIMARY="primary",e.DANGER="danger",e.DEFAULT="default",e))(Yi||{}));const ul=o("ButtonGroupType",{TEXT:[{type:"primary",label:"sys.pageDesigner.button_primary",hasText:!0},{type:"default",label:"sys.pageDesigner.button_default",hasText:!0},{type:"primary",danger:!0,label:"sys.pageDesigner.button_primary_danger",hasText:!0},{type:"default",danger:!0,label:"sys.pageDesigner.button_danger",hasText:!0},{type:"dashed",label:"sys.pageDesigner.button_dashed",hasText:!0},{type:"link",label:"sys.pageDesigner.button_text",hasText:!0}],ICON_TEXT:[{type:"primary",label:"sys.pageDesigner.button_primary",hasText:!0,hasIcon:!0},{type:"default",label:"sys.pageDesigner.button_default",hasText:!0,hasIcon:!0},{type:"primary",danger:!0,label:"sys.pageDesigner.button_primary_danger",hasText:!0,hasIcon:!0},{type:"default",danger:!0,label:"sys.pageDesigner.button_danger",hasText:!0,hasIcon:!0},{type:"dashed",label:"sys.pageDesigner.button_dashed",hasText:!0,hasIcon:!0},{type:"link",label:"sys.pageDesigner.button_text",hasText:!0,hasIcon:!0}],ICON:[{type:"primary",hasIcon:!0},{type:"default",hasIcon:!0},{type:"primary",danger:!0,hasIcon:!0},{type:"default",danger:!0,hasIcon:!0},{type:"dashed",hasIcon:!0},{type:"link",hasIcon:!0}]});var zi=o("operateSysEnums",(e=>(e.COLUMNDELETE="columnDelete",e.COLUMNLINK="columnLink",e.COPY="copy",e.VERSION_COPY="version_copy",e.VERSION_CREATE="version_create",e.DETAILS="details",e.EDIT="edit",e.USAGEINFORMATION="usageInformation",e.MODELINGTRACEABILITY="modelingTraceability",e.IMPORT="import",e.EXPORT="export",e.BATCHDELETE="batchDelete",e.SUBMIT="submit",e.RESET="reset",e.EXCUTE="excute",e.LABEL_PRINT="label_print",e.DOCUMENT_PRINT="document_print",e.EXAMINE_AND_APPROVE="examineAndApprove",e))(zi||{})),Qi=o("TableSearchTypeEnum",(e=>(e.NONE="none",e.EMBEDDED="embedded",e.EXTERNAL="external",e))(Qi||{})),qi=o("TableTypeEnum",(e=>(e.DEFAULT="default",e.EMBED="embed",e.SUB="sub",e))(qi||{})),er=o("TableEditingMethodEnum",(e=>(e.DEFAULTEDITING="defaultEditing",e.CLICKTOENTEREDITING="clickToEnterEditing",e))(er||{})),tr=o("WidgetInScopeEnum",(e=>(e.GCT="gct",e.GCT_MODAL="gct-modal",e.GCT_SUB_TABLE_MODAL="gct-sub-table-modal",e))(tr||{})),nr=o("ListTreeSearchTypeEnum",(e=>(e.ALL="ALL",e.SEARCH="SEARCH",e.SEARCHALL="SEARCHALL",e.LEVEL="LEVEL",e.CHILDREN="CHILDREN",e))(nr||{})),ir=o("DatasourceTypeEnum",(e=>(e.REALTIMEDATASOURCE="realTimeDataSource",e.SERVICEDATASOURCE="serviceDataSource",e))(ir||{})),rr=o("SignatureTypeEnum",(e=>(e.SIGNATURE_ONLY="signature_only",e.SIGNATURE_DATE="signature_date",e.SIGNATURE_DATETIME="signature_datetime",e))(rr||{})),ar=o("ResetRuleType",(e=>(e.WIPE_DATA="wipe_data",e.REFRESHDATA="refresh_data",e))(ar||{})),sr=o("SCOPE",(e=>(e.PAGE="page",e.MODAL="modal",e))(sr||{})),or=o("FormComponents",(e=>(e.RdoInput="rdo-input",e.Input="input",e.ElectronicSignature="electronic-signature",e.UseinfoButton="useinfo-button",e.ModelingButton="modeling-button",e.ImportButton="gc-import-button",e.ExportButton="gc-export-button",e.DocumentPrintButton="document-print-button",e.SubmitButton="submit-button",e.BatchDeleteButton="batchdelete-button",e.CustomButton="custom-button",e.TableLinkButton="table-link-button",e.TableInfoButton="table-info-button",e.TableApproveButton="table-approve-button",e.OpeButton="ope-button",e.ResetButton="reset-button",e.RdoSaveButton="rdo-save-button",e.LabelPrintButton="labelprint-button",e.ProcessButton="process-button",e.ProcessApproveButton="process-approve-button",e.CreateButton="create-button",e.DeleteButton="delete-button",e.CopyButton="copy-button",e.RefreshButton="refresh-button",e.CreateVersionButton="create-version-button",e.CopyVersionButton="copy-version-button",e.Checkbox="checkbox",e.DataTable="data-table",e.DataVTable="data-v-table",e.TreeTable="tree-table",e.DataTableColumn="data-table-column",e.RefDataTable="ref-data-table",e.DataList="data-list",e.RdoDataList="rdo-data-list",e.DataTableOpe="data-table-ope",e.DataTableFormula="data-table-formula",e.Datepicker="datepicker",e.DateTimepicker="datetimepicker",e.Department="department",e.Form="form",e.RdoForm="rdo-form",e.RdoTable="rdo-table",e.MedProRdoForm="medprordo-form",e.MedProRdoTable="medprordo-table",e.FormProcess="form-process",e.Inputmoney="inputmoney",e.Inputnumber="inputnumber",e.InputDouble="inputdouble",e.Radio="radio",e.Select="select",e.RdoSelect="rdo-select",e.Switch="switch",e.Textarea="textarea",e.Timepicker="timepicker",e.Userpicker="userpicker",e.Search="search",e.SelectSearch="select-search",e.QuickSearch="quick-search",e.LayoutContainer="layout-container",e.ButtonContainer="button-container",e.ButtonProcessContainer="button-process-container",e.BottomButtonContainer="bottom-button-container",e.Grid="grid",e.GridCol="grid-col",e.Tabs="tabs",e.TabPane="tab-pane",e.LeftRightColumns="left-right-columns",e.TopBottomColumns="top-bottom-columns",e.LeftLayoutThree="left-layout-three",e.TopLayoutThree="top-layout-three",e.UploadFile="upload-file",e.UploadImage="upload-image",e.SubTable="sub-table",e.SubTableOpe="sub-table-ope",e.SubTableAddBtn="sub-table-add-button",e.SubTableCopyBtn="sub-table-copy-button",e.SubTableEditBtn="sub-table-edit-button",e.SubTableDeleteBtn="sub-table-delete-button",e.LinkPageBtn="link-page-button",e.Collapse="collapse",e.SpaceOccupation="space-occupation",e.Divider="divider",e.CardList="card-list",e.CardHeaderLeft="card-header-left",e.CardHeaderRight="card-header-right",e.CardContent="card-content",e.CardOpeBtn="card-ope-btn",e.BaseButton="base-button",e.ReadonlyCmp="readonlycmp",e.TableSelect="table-select",e.GenCheckbox="gen-checkbox",e.GenRadio="gen-radio",e.GenSwitch="gen-switch",e.WorkflowNodes="workflow-nodes",e.WorkflowNodeModal="workflow-node-modal",e.ESOP="e-sop",e.EXPRESSION="expression",e.ExpressionCondition="expression-condition",e.AGG="agg",e.DynamicFormType="dynamic-form-type",e.DynamicFormValue="dynamic-form-value",e.DynamicFormOpts="dynamic-form-options",e.DynamicFormShowType="dynamic-form-show-type",e.DynamicTable="dynamic-table",e.Transaction="transaction",e.SerialRule="serial-rule",e.LabelTemplate="label-template",e.LabelTemplateRef="label-template-ref",e.DocumentTemplate="document-template",e.Wacom="wacom",e.Text="text",e.CustomField="custom-field",e.Printer="printer",e.Descriptions="descriptions",e.RangeUser="range-user",e.GenImage="gen-image",e.TestButton="test-button",e.Iframe="iframe",e.ExcuteButton="medproexcute-button",e.SubDataTable="sub-data-table",e.Signature="signature",e.OnlineForm="online-form",e.TmplTreeSelect="tmpl-tree-select",e.Boolean="boolean",e.BizProcess="biz-process",e.ApprovalHistory="approval-history",e.FlowDiagram="flow-diagram",e.CustomCode="custom-code",e.ApprovalProcess="approval-process",e))(or||{})),cr=o("SearchComponents",(e=>(e.SearchInput="SearchInput",e.SearchNumberInput="SearchNumberInput",e.SearchStringNumberInput="SearchStringNumberInput",e.SearchSwitch="SearchSwitch",e.SearchDate="SearchDate",e.SearchDateTime="SearchDateTime",e.SearchTime="SearchTime",e.SearchSelect="SearchSelect",e.SearchUserSelect="SearchUserSelect",e.SearchRdoSelect="SearchRdoSelect",e.SearchTransaction="SearchTransaction",e.SearchTmplTreeSelect="SearchTmplTreeSelect",e.SearchPrinter="SearchPrinter",e.SearchBizProcess="SearchBizProcess",e.SearchSelectRangUser="SearchSelectRangUser",e.SearchSelectDepartment="SearchSelectDepartment",e))(cr||{})),lr=o("tableColumnWidthEnum",(e=>(e.AUTO_PARENT_BOX="AutoParentBox",e.ATUO="selfAdaption",e.ENUMERATION="fixed",e.PERCENTAGE="percentage",e))(lr||{})),ur=o("controlConfigEnum",(e=>(e.NULL="NULL",e.STRING="空字符串",e.ZERO="0",e))(ur||{})),dr=o("statisticalMethodEnum",(e=>(e.TOTAL="total",e.AVERAGE="average",e))(dr||{})),fr=o("fixedAlignENUM",(e=>(e.RIGHT="right",e.NONE="",e.LEFT="left",e))(fr||{})),hr=o("tableColumnTypeEnum",(e=>(e.COLUMN_TEXT="COLUMN_TEXT",e.COLUMN_NUMBER="COLUMN_NUMBER",e.COLUMNTEXT_DATA="COLUMNTEXT_DATA",e.COLUMNTEXT_REF="COLUMNTEXT_REF",e.COLUMNTEXT_ENUM="COLUMNTEXT_ENUM",e.COLUMNTEXT_ORG="COLUMNTEXT_ORG",e.COLUMNTEXT_USER="COLUMNTEXT_USER",e.COLUMNTEXT_BOOLEAN="COLUMNTEXT_BOOLEAN",e.COLUMNTEXT_IMAGE="COLUMNTEXT_IMAGE",e))(hr||{})),gr=o("tabsTypeENUM",(e=>(e.LINE="line",e.CARD="card",e.TEXt="text",e.CAPSULE="capsule",e.CUSTOM="custom",e))(gr||{})),mr=o("sortTypeEnum",(e=>(e.ASC="asc",e.DESC="desc",e))(mr||{})),br=o("BindCmpStyleEnum",(e=>(e.CMP_TEXT="TEXT",e.CMP_TEXTAREA="TEXTAREA",e.CMP_ELECTRONICSIGNATURE="ELECTRONICSIGNATURE",e.CMP_BOOLEAN="BOOLEAN",e.CMP_SELECT_LIST="SELECT_LIST",e.CMP_RADIO="RADIO",e.CMP_CHECKBOX="CHECKBOX",e.CMP_DROPDOWN_SELECT="dropdownSelection",e.CMP_MODAL="modalBoxSelection",e.CMP_TREE_SELECTION="treeSelection",e.CMP_NUMBER="NUMBER",e.CMP_CURRENCY="CURRENCY",e.CMP_TIME="TIME",e))(br||{}));const dl=o("Ch_BindCmpStyleEnum",{TEXT:"sys.pageDesigner.bindCmpStyle.bindText",TEXTAREA:"sys.pageDesigner.bindCmpStyle.bindTextarea",ELECTRONICSIGNATURE:"sys.pageDesigner.bindCmpStyle.electronicSignature",BOOLEAN:"sys.pageDesigner.bindCmpStyle.bindBoolean",SELECT_LIST:"sys.pageDesigner.bindCmpStyle.bindSelectList",RADIO:"sys.pageDesigner.bindCmpStyle.bindRadio",CHECKBOX:"sys.pageDesigner.bindCmpStyle.bindCheckbox",dropdownSelection:"sys.pageDesigner.bindCmpStyle.bindDropdownSelect",modalBoxSelection:"sys.pageDesigner.bindCmpStyle.bindModal",treeSelection:"sys.pageDesigner.bindCmpStyle.bindTreeSelection",NUMBER:"sys.pageDesigner.bindCmpStyle.bindNumber",CURRENCY:"sys.pageDesigner.bindCmpStyle.bindCurrency",TIME:"sys.pageDesigner.bindCmpStyle.bindTime"});var Er=o("BindCmpStyleTypeEnum",(e=>(e.BindText="bindText",e.BindLongText="BindLongText",e.BindBool="bindBool",e.BindPerson="bindPerson",e.BindDept="bindDept",e.BindLink="bindLink",e.BindMulti="bindMulti",e.BindNum="bindNum",e.BindDecimal="bindDecimal",e))(Er||{}));const fl=o("transformBindCmp2CmpType",{TEXT:"input",TEXTAREA:"textarea",ELECTRONICSIGNATURE:"electronic-signature",SELECT_LIST:"select",RADIO:"radio",CHECKBOX:"checkbox"}),hl=o("bindCmpStyleMap",{bindText:["TEXT","TEXTAREA"],BindLongText:["TEXT","TEXTAREA","ELECTRONICSIGNATURE"],bindBool:["BOOLEAN","SELECT_LIST","RADIO","CHECKBOX"],bindPerson:["dropdownSelection","modalBoxSelection"],bindDept:["treeSelection","modalBoxSelection"],bindLink:["SELECT_LIST","RADIO"],bindMulti:["SELECT_LIST","CHECKBOX"],bindNum:["NUMBER","CURRENCY","TIME"],bindDecimal:["NUMBER","CURRENCY"]});var pr=o("buttonShowType",(e=>(e.FOLD_ALL="foldAll",e.FOLD_PART="foldPart",e))(pr||{}));const gl=o("searchListByFieldType",[h.BOOLEAN,h.DATE,h.DATE_TIME,h.DECIMAL,h.DOUBLE,h.ENUM,h.ENUM_MULTI,h.INTEGER,h.LONG,h.LONG_TEXT,h.TEXT,h.USER_MULTI,h.USER,h.TIME,h.REF_MULTI,h.REF,h.RDO_REF,h.ORG_MULTI,h.ORG,h.SERIAL,h.ONLINE_FORM_TEMPLATE,h.E_DHR_TEMPLATE,h.PRINTER,h.LABEL_TEMPLATE_REF,h.Biz_Process,h.DOCUMENT_TEMPLATE,h.TRANSACTION,h.RANGE_USER,h.MESSAGE_TMPL]),ml=o("mobileSearchListByFieldType",[h.BOOLEAN,h.DATE,h.DATE_TIME,h.DECIMAL,h.DOUBLE,h.ENUM,h.ENUM_MULTI,h.INTEGER,h.LONG,h.LONG_TEXT,h.TEXT,h.USER_MULTI,h.USER,h.TIME,h.REF_MULTI,h.REF,h.RDO_REF,h.ORG_MULTI,h.ORG,h.SERIAL,h.ONLINE_FORM_TEMPLATE,h.E_DHR_TEMPLATE,h.PRINTER,h.LABEL_TEMPLATE_REF,h.Biz_Process,h.DOCUMENT_TEMPLATE,h.TRANSACTION,h.MESSAGE_TMPL]),bl=o("padSearchListByFieldType",[h.BOOLEAN,h.DATE,h.DATE_TIME,h.DECIMAL,h.DOUBLE,h.ENUM,h.ENUM_MULTI,h.INTEGER,h.LONG,h.LONG_TEXT,h.TEXT,h.USER_MULTI,h.USER,h.TIME,h.REF_MULTI,h.REF,h.RDO_REF,h.ORG_MULTI,h.ORG,h.SERIAL,h.PRINTER,h.LABEL_TEMPLATE_REF,h.TRANSACTION]);var Rr=o("AppPublishStateEnum",(e=>(e.SUCCESS="SUCCESS",e.FAILURE="FAILURE",e.PREPARING="PREPARING",e.EVENTING="EVENTING",e.PROCESSIING="PROCESSIING",e.DEPLOYING="DEPLOYING",e))(Rr||{})),Tr=o("BasicAction",(e=>(e.Insert="Insert",e.Update="Update",e.Delete="Delete",e.Import="Import",e.Export="Export",e.Setting="Setting",e.Download="Download",e.Test="Test",e.Design="Design",e.Add="Add",e))(Tr||{})),Sr=o("CustomAction",(e=>(e.ResetPassword="ResetPassword",e.PermissionSetting="PermissionSetting",e.RemoveAndHandover="RemoveAndHandover",e.CategoryManagement="CategoryManagement",e.BaiscSetting="BaiscSetting",e.WatermarkSetting="WatermarkSetting",e.SecuritySetting="SecuritySetting",e.LoginSetting="LoginSetting",e.ThemeSetting="ThemeSetting",e.OrganizationSetting="OrganizationSetting",e.ApkSetting="ApkSetting",e.DevelopIconManagement="DevelopIconManagement",e.DevelopImageManagement="DevelopImageManagement",e.Reprint="Reprint",e.ViewTask="ViewTask",e.ManualTrigger="ManualTrigger",e.Setting="Setting",e.Terminate="Terminate",e.Reassign="Reassign",e.Log="Log",e.Moving="Moving",e.EnableDisable="EnableDisable",e))(Sr||{}));const El=o("DefaultActions",["Insert","Update","Delete"]),pl=o("PlatformSettingActions",["BaiscSetting","WatermarkSetting","SecuritySetting","LoginSetting","ThemeSetting","OrganizationSetting","ApkSetting"]);var Ar=o("sizeEnum",(e=>(e.XS="XS",e.SM="SM",e.MD="MD",e.LG="LG",e.XL="XL",e.XXL="XXL",e))(Ar||{})),_r=o("screenEnum",(e=>(e[e.XS=480]="XS",e[e.SM=576]="SM",e[e.MD=768]="MD",e[e.LG=992]="LG",e[e.XL=1200]="XL",e[e.XXL=1600]="XXL",e))(_r||{}));const Y=o("screenMap",new Map);Y.set("XS",480),Y.set("SM",576),Y.set("MD",768),Y.set("LG",992),Y.set("XL",1200),Y.set("XXL",1600);const Ir=o("TIMEZONE_KEY","TIMEZONE__"),Rl=o("TENANT_KEY","TENANT__"),Tl=o("TOKEN_KEY","TOKEN__"),Sl=o("LOCALE_KEY","LOCALE__"),Al=o("LOCALE_LIST_KEY","LOCALE__LIST"),_l=o("LOCAL_I18N_TRANSLATE","LOCAL_I18N_TRANSLATE"),Il=o("USER_INFO_KEY","USER__INFO__"),Ll=o("ROLES_KEY","ROLES__KEY__"),vl=o("PROJ_CFG_KEY","PROJ__CFG__KEY__"),Nl=o("LOCK_INFO_KEY","LOCK__INFO__KEY__"),yl=o("MULTIPLE_TABS_KEY","MULTIPLE_TABS__KEY__"),Ol=o("APP_DARK_MODE_KEY_","__APP__DARK__MODE__"),wl=o("APP_LOCAL_CACHE_KEY","COMMON__LOCAL__KEY__"),Ml=o("APP_SESSION_CACHE_KEY","COMMON__SESSION__KEY__"),Cl=o("DESIGNER_SESSION_CACHE_KEY","DESIGNER_SESSION_CACHE_KEY");var Lr=o("CacheTypeEnum",(e=>(e[e.SESSION=0]="SESSION",e[e.LOCAL=1]="LOCAL",e))(Lr||{})),vr=o("SEARCH_SEVICE",(e=>(e.EQ="eq",e.IEQ="iEq",e.NE="ne",e.INE="ine",e.GT="gt",e.GE="ge",e.LT="lt",e.LE="le",e.ISNULL="isNull",e.ISNOTNULL="isNotNull",e.LIKE="like",e.ILIKE="iLike",e.NOTLIKE="notLike",e.NOTILIKE="iNotLike",e.LEFTLIKE="leftLike",e.ILEFTLIKE="iLeftLike",e.RIGHTLIKE="rightLike",e.IRIGHTLIKE="iRightLike",e.IN="in",e.NOTIN="notIn",e.CONTAINANY="containAny",e.CONTAINALL="containAll",e.RANGE="range",e.ORANGE="oRange",e.LORANGE="loRange",e.RORANGE="roRange",e.VERSIONIN="versionIn",e))(vr||{}));const Dl=o("notSingleArr",["in","notIn","containAny","containAll","versionIn"]);var Nr=o("AGLINE_ENUMS",(e=>(e.LEFT="left",e.CENTER="center",e.RIGHT="right",e.BETWEEN="between",e))(Nr||{}));const Ul=o("presetColor",["#DBDBDB","#FFE4E4","#D1D1D1","#838383","#838383","#FFEECB","#D8E3FF","#FF8888","#FF8888","#0DAA9C","#3370FF"]);var yr=o("ButtonOpeEnum",(e=>(e[e.SINGLELINE=0]="SINGLELINE",e[e.HEAD=1]="HEAD",e[e.BATCH=2]="BATCH",e[e.SINGLELINE_RDO=3]="SINGLELINE_RDO",e))(yr||{})),Or=o("RdoButtonOpeEnum",(e=>(e[e.parentVersion=0]="parentVersion",e[e.childVersion=1]="childVersion",e))(Or||{})),wr=o("ExceptionEnum",(e=>(e[e.PAGE_NOT_ACCESS=403]="PAGE_NOT_ACCESS",e[e.PAGE_NOT_FOUND=404]="PAGE_NOT_FOUND",e[e.ERROR=500]="ERROR",e[e.NET_WORK_ERROR=1e4]="NET_WORK_ERROR",e[e.PAGE_NOT_DATA=10100]="PAGE_NOT_DATA",e))(wr||{})),k=o("ErrorTypeEnum",(e=>(e.VUE="vue",e.SCRIPT="script",e.RESOURCE="resource",e.AJAX="ajax",e.PROMISE="promise",e))(k||{})),Mr=o("ResultEnum",(e=>(e[e.SUCCESS=200]="SUCCESS",e[e.ERROR=-1]="ERROR",e[e.TIMEOUT=401]="TIMEOUT",e.TYPE="success",e))(Mr||{})),Cr=o("RequestEnum",(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(Cr||{})),Dr=o("ContentTypeEnum",(e=>(e.JSON="application/json;charset=UTF-8",e.FORM_URLENCODED="application/x-www-form-urlencoded;charset=UTF-8",e.FORM_DATA="multipart/form-data;charset=UTF-8",e))(Dr||{})),Ur=o("BizServiceEnum",(e=>(e.submit="post",e.listByIds="get",e.getone="post",e.listAll="post",e.listByPage="post",e.listTree="post",e.save="post",e.saveOrUpdate="post",e.saveBatch="post",e.importData="post",e.exportData="post",e.remove="post",e.removeById="delete",e.removeByIds="delete",e.update="put",e.updateById="put",e.updateByIds="put",e.rdoSave="post",e.rdoListAll="post",e.rdoListByPage="post",e.rdoListVersionById="get",e.rdoSaveVersion="post",e.rdoSaveBatch="post",e.rdoUpdateVersionById="put",e.rdoRemoveVersionById="delete",e.rdoRemoveById="delete",e.rdoGetVersionById="get",e.getOne="post",e.rdoGetVersionByRefId="post",e.getById="get",e.rdoListAllVersion="post",e.rdoRefListByPage="post",e.export="post",e.import="post",e.rdoExport="post",e.rdoImport="post",e.biz_search="post",e))(Ur||{})),Pr=o("PlatformType",(e=>(e.WEB="web",e.PDA="pda",e.PAD="pad",e))(Pr||{})),kr=o("nullDisplayEnum",(e=>(e["--"]="--",e.empty="(空)",e.null="null",e["N/A"]="N/A",e.noDisplay="",e))(kr||{})),Gr=o("DeviceParamsTypeEnum",(e=>(e.STRING="String",e.INTEGER="Integer",e.LONG="Long",e.FLOAT="Float",e.BOOLEAN="Boolean",e.DATE="Date",e))(Gr||{})),Br=o("MenuTypeEnum",(e=>(e.SIDEBAR="sidebar",e.MIX_SIDEBAR="mix-sidebar",e.MIX="mix",e.TOP_MENU="top-menu",e))(Br||{})),Fr=o("TriggerEnum",(e=>(e.NONE="NONE",e.FOOTER="FOOTER",e.HEADER="HEADER",e))(Fr||{})),Wr=o("MenuModeEnum",(e=>(e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.VERTICAL_RIGHT="vertical-right",e.INLINE="inline",e))(Wr||{})),Hr=o("MenuSplitTyeEnum",(e=>(e[e.NONE=0]="NONE",e[e.TOP=1]="TOP",e[e.LEFT=2]="LEFT",e))(Hr||{})),Vr=o("TopMenuAlignEnum",(e=>(e.CENTER="center",e.START="start",e.END="end",e))(Vr||{})),Xr=o("MixSidebarTriggerEnum",(e=>(e.HOVER="hover",e.CLICK="click",e))(Xr||{})),xr=o("PageEnum",(e=>(e.BASE_LOGIN="/login",e.BASE_TENANT="/tenant",e.BASE_HOME="/home",e.USER_CENTER="/user-center",e.PROCESS_CENTER="/process",e.MESSAGE_CENTER="/message",e.ERROR_PAGE="/exception",e.ERROR_LOG_PAGE="/error-log/list",e.USER_CENTER_PWD="/user-center/password",e))(xr||{})),jr=o("RoleEnum",(e=>(e.SUPER="super",e.TEST="test",e))(jr||{})),Kr=o("SizeEnum",(e=>(e.DEFAULT="default",e.SMALL="small",e.LARGE="large",e))(Kr||{})),$r=o("ProcessStatusEnum",(e=>(e.APPROVING="APPROVING",e.COMPLETED="COMPLETED",e.REFUSED="REFUSED",e.REJECTED="REJECTED",e.TERMINATED="TERMINATED",e.WITHDRAWN="WITHDRAWN",e))($r||{}));const Pl=o("ch_ProcessStatusMap",{APPROVING:"sys.process.status.approving",COMPLETED:"sys.process.status.completed",REFUSED:"sys.process.status.refused",REJECTED:"sys.process.status.rejected",TERMINATED:"sys.process.status.terminated",WITHDRAWN:"sys.process.status.withdrawn"});var Zr=o("ExamineAndApproveStateEnum",(e=>(e.MY_APPLICATION="myApplication",e.MY_AGENT="myAgent",e.MY_DONE="myDone",e.MY_CUSTOM="myCustom",e.MY_CUSTOM_Modal="myCustomModal",e))(Zr||{})),Jr=o("PluginModeEnum",(e=>(e.DESIGN="design",e.WEB="web",e.MOBILE="mobile",e))(Jr||{})),Yr=o("ReturnTypeEnum",(e=>(e.String="string",e.Number="number",e.Boolean="boolean",e))(Yr||{})),zr=o("GctMqttTopsEnum",(e=>(e.EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK="FORM_INST_MULTI_PERSON_EDIT_BREAK",e.EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK="FORM_INST_MULTI_PERSON_EDIT_UNLOCK",e))(zr||{}));class gt{context={aid:"",bid:"",pid:"",platform:ht.WEB};appInfo={};projectName=dt.PORTAL;lang="zh-CN"}o("GlobalPiniaState",gt);class ve{loaded=!1;isNew=!0;loading=!1;destroyed=!1;data={}}o("FormState",ve);class B{disabled=!1;readonly=!1;visible=!0;keepalive=!1;destroyed=!1}o("FormItemBasicState",B);class mt extends B{}o("FormCollapsePaneState",mt);class bt extends B{}o("FormCollapseState",bt);class Et extends B{activePane=""}o("FormTabState",Et);class pt extends B{}o("FormTabPaneState",pt);class Ne extends B{label="";value=null;options=[]}o("FormEditItemState",Ne);class Rt extends B{expand=!0}o("FormGroupState",Rt);class Tt extends Ne{}o("FormItemState",Tt);class St{configs=new Map;cache=new Map;getConfig(t){return this.configs.get(t)}register(t){this.configs.set(t.tag,t),t.items&&this.cache.set(t.tag,t.items)}unregister(t){this.configs.delete(t),this.cache.delete(t)}get(t){return this.cache.get(t)||[]}async asyncGet(t,n){const i=this.configs.get(t);return i?i.mode==="static"?this.getByConfig(i):i.mode==="async"?this.cache.has(t)?this.cache.get(t)||[]:this.asyncGetByConfig(i,n):[]:[]}getByConfig(t){return t.items||[]}async asyncGetByConfig(t,n={}){if(t.fetch){const i=await t.fetch(n||{});if(i){const[s,r]=t.keys||["name","id"];return this.deepFormat(i,s,r)}}return[]}deepFormat(t,n,i){return t.map(s=>{const r={label:s[n],value:s[i]};return s.children&&s.children.length>0&&(r.options=this.deepFormat(s.children,n,i)),r})}}o("DictionaryUtil",St);const kl=o("t",(...e)=>_gct.i18n.global.t(...e));class ye{data;next;prev;constructor(t,n=null,i=null){this.data=t,this.next=n,this.prev=i}clear(){this.data=null,this.next=null,this.prev=null}}o("LinkedNode",ye);class Qr{active=null;add(t){if(!this.active)this.active=new ye(t);else{if(this.active.next){let i=this.active.next;for(;i;)i=i.next,i&&i.clear()}const n=new ye(t,null,this.active);this.active.next=n,this.active=n}}delete(t){const{prev:n,next:i}=t;n&&(n.next=i),i&&(i.prev=n),t.clear()}prev(){this.active&&this.active.prev&&(this.active=this.active.prev)}next(){this.active&&this.active.next&&(this.active=this.active.next)}clearAll(){if(this.active){let t=this.active.prev,n=this.active.next;for(;t;)t.clear(),t=t.prev;for(;n;)n.clear(),n=n.next;this.active.clear()}}canUndo(){return!!this.active&&!!this.active.prev}canRedo(){return!!this.active&&!!this.active.next}}o("LinkedList",Qr);function qr(e){return{all:e=e||new Map,on:function(t,n){var i=e.get(t);i?i.push(n):e.set(t,[n])},off:function(t,n){var i=e.get(t);i&&(n?i.splice(i.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var i=e.get(t);i&&i.slice().map(function(s){s(n)}),(i=e.get("*"))&&i.slice().map(function(s){s(t,n)})}}}const Gl=o("mitt",qr());class ea{CACHE_EXPIRATION_TIME=600*1e3;modelCache=new Map;modelLoadingCache=new Map;modelsLoadingCache=new Map;enumCache=new Map;enumLoadingCache=new Map;queryRefDataCache=new Map;queryRefDataLoadingCache=new Map;isExpired(t){return Date.now()>t.expiresAt}createCacheEntry(t){return{data:t,expiresAt:Date.now()+this.CACHE_EXPIRATION_TIME}}async loadModel(t){if(this.modelCache.has(t)){const i=this.modelCache.get(t);if(!this.isExpired(i))return i.data;this.modelCache.delete(t)}if(this.modelLoadingCache.has(t))return this.modelLoadingCache.get(t);const n=(async()=>{try{const i=await _api.apaas.modelMeta.getDetail({modelKey:t});return i?(this.modelCache.set(t,this.createCacheEntry(i)),i):{}}finally{this.modelLoadingCache.delete(t)}})();return this.modelLoadingCache.set(t,n),n}async loadModels(t){const n=t.join(",");if(t.every(r=>{const a=this.modelCache.get(r);return a&&!this.isExpired(a)}))return t.map(r=>this.modelCache.get(r).data);if(t.forEach(r=>{const a=this.modelCache.get(r);a&&this.isExpired(a)&&this.modelCache.delete(r)}),this.modelsLoadingCache.has(n))return this.modelsLoadingCache.get(n);const s=(async()=>{try{const r=t.filter(a=>!this.modelCache.has(a));if(r.length>0){const a=await _api.apaas.modelMeta.getByKeys({modelKeys:r.join(",")});a&&a.length>0&&a.forEach(c=>{this.modelCache.set(c.key,this.createCacheEntry(c)),c.fieldMetaList=c.fieldMetas||[]})}return t.map(a=>this.modelCache.get(a).data)}finally{this.modelsLoadingCache.delete(n)}})();return this.modelsLoadingCache.set(n,s),s}async loadField(t,n){const i=await this.loadModel(t);if(i?.fieldMetaList)return i.fieldMetaList.find(s=>s.key===n)}async loadFieldPaths(t,n,i){if(!i)return[];const s=[],r=!!i.bindFieldKey,a=r?i.modelLink||[i.belongModelKey,i.bindModelKey]:[i.modelKey],c=await this.loadModels(a);if(r)s.push(...c.map(f=>f.name));else{const f=await this.loadModel(i.modelKey);f&&s.push(f.name)}const d=await this.loadModel(t);if(d?.fieldMetaList){const f=d.fieldMetaList.find(l=>l.key===n);f&&s.push(f.name)}return s}async loadEnumList(t,n,i=ft.ENTITY){const s=`${i}:${t}:${n}`;if(this.enumCache.has(s)){const a=this.enumCache.get(s);if(!this.isExpired(a))return H(a.data);this.enumCache.delete(s),this.enumLoadingCache.delete(s)}if(this.enumLoadingCache.has(s))return this.enumLoadingCache.get(s);const r=(async()=>{try{return[]}finally{this.enumLoadingCache.delete(s)}})();return this.enumLoadingCache.set(s,r),r}async loadQueryRefData(t){if(!t||!t.modelKey)throw new Error("queryRefData 参数缺失");const n=JSON.stringify(t);if(this.queryRefDataCache.has(n)){const s=this.queryRefDataCache.get(n);if(!this.isExpired(s))return H(s.data);this.queryRefDataCache.delete(n),this.queryRefDataLoadingCache.delete(n)}if(this.queryRefDataLoadingCache.has(n))return this.queryRefDataLoadingCache.get(n);const i=(async()=>{try{const s=await _api.apaas.modelData.postQueryRefData(t);return s?(this.queryRefDataCache.set(n,this.createCacheEntry(s)),H(s)):{}}finally{this.queryRefDataLoadingCache.delete(n)}})();return this.queryRefDataLoadingCache.set(n,i),i}getCachedModel(t){const n=this.modelCache.get(t);if(n&&!this.isExpired(n))return n.data;n&&this.isExpired(n)&&this.modelCache.delete(t)}clear(t){this.modelCache.delete(t),this.modelLoadingCache.delete(t);const n=[];this.modelsLoadingCache.forEach((r,a)=>{a.includes(t)&&n.push(a)}),n.forEach(r=>{this.modelsLoadingCache.delete(r)});const i=[];this.enumCache.forEach((r,a)=>{a.includes(t)&&i.push(a)}),i.forEach(r=>{this.enumCache.delete(r),this.enumLoadingCache.delete(r)});const s=[];this.queryRefDataCache.forEach((r,a)=>{a.includes(`"modelKey":"${t}"`)&&s.push(a)}),s.forEach(r=>{this.queryRefDataCache.delete(r),this.queryRefDataLoadingCache.delete(r)})}clearAll(){this.modelCache.clear(),this.modelLoadingCache.clear(),this.modelsLoadingCache.clear(),this.enumCache.clear(),this.enumLoadingCache.clear(),this.queryRefDataCache.clear(),this.queryRefDataLoadingCache.clear()}keys(){return Array.from(this.modelCache.keys())}}const Bl=o("modelLoader",new ea);var At=o("EditorRegisterConst",(e=>(e.PREFIX="EDITOR___",e))(At||{})),ta=o("EditorType",(e=>(e.LENGTH_UNIT="length-unit",e.COLOR="color",e.SPAN="span",e.TEXT="text",e.NUMBER="number",e.INFO="info",e.MSG="msg",e.SELECT="select",e.SELECT_GROUP="select-group",e.RADIO="radio",e.PICKER="picker",e.MULTIPLE_CHOICE="multiple-choice",e.I18N="i18n",e.TEXTAREA="textarea",e.DATE_RANGE="date-range",e.SWITCH="switch",e.CHECK_SWITCH="check-switch",e.ICON_SELECT="icon-select",e.CHECKBOX="checkbox",e.DATE="date",e.MODEL_SELECT="model-select",e.ACTION="action",e.TABLE="table",e.SELECT_TABLE="select-table",e.EMPTY="empty",e.FORM_MODEL_FIELD_SELECT="form-model-field-select",e.PIXEL_CONFIG="pixel-config",e.FIELD_INFO="field-info",e.DATE_FORMAT_SELECT="date-format-select",e.FORMULA="formula",e))(ta||{})),na=o("EditorTypeOld",(e=>(e.LENGTH_UNIT="length-unit-editor",e.COLOR="color-editor",e.SPAN="span-editor",e.TEXT="text-editor",e.NUMBER="number-editor",e.INFO="info-editor",e.SELECT="select-editor",e.MODEL_SELECT="model-editor",e.Field_SELECT="field-editor",e.RADIO="radio-editor",e.PICKER="picker-editor",e.I18N="i18n-editor",e.TEXTAREA="textarea-editor",e.DATE_RANGE="date-range-editor",e.SWITCH="switch-editor",e.CHECK_SWITCH="check-switch-editor",e.ICON_SELECT="icon-select-editor",e.CHECKBOX="checkbox-editor",e.BORDER="border-editor",e.BORDER_RADIUS="border-radius-editor",e.ALIGN="align-editor",e.FONT_STYLE="font-style-editor",e.POSITION="position-editor",e.SPACING="spacing-editor",e.MARGIN="margin-editor",e))(na||{})),ia=o("FormContainerType",(e=>(e.FORM_TITLE_GROUP="form-title-group",e))(ia||{}));const z=o("CoreConst",{TOKEN:"gct-token",TENANT:"gct-tenant"}),ra=o("STYLE_NAMESPACE_TAG","gct"),Fl=o("PLUGIN_BASE_URL","/minio"),aa=o("APP_INST","app_inst"),sa="is-";function X(e,t,n,i,s){let r=`${e}-${t}`;return n&&(r+=`-${n}`),i&&(r+=`__${i}`),s&&(r+=`--${s}`),r}class _t{constructor(t,n){this.block=t,this.namespace=n||ra}namespace;b(t=""){return X(this.namespace,this.block,t,"","")}e(t){return t?X(this.namespace,this.block,"",t,""):""}m(t){return t?X(this.namespace,this.block,"","",t):""}be(t,n){return t&&n?X(this.namespace,this.block,t,n,""):""}em(t,n){return t&&n?X(this.namespace,this.block,"",t,n):""}bm(t,n){return t&&n?X(this.namespace,this.block,t,"",n):""}bem(t,n,i){return t&&n&&i?X(this.namespace,this.block,t,n,i):""}is(t,n){return t&&n?`${sa}${t}`:""}cssVar(t){const n={};for(const i in t)t[i]&&(n[this.cssVarName(i)]=t[i]);return n}cssVarBlock(t){const n={};for(const i in t)t[i]&&(n[this.cssVarBlockName(i)]=t[i]);return n}cssVarName(t){return`--${this.namespace}-${t}`}cssVarBlockName(t){return`--${this.namespace}-${this.block}-${t}`}}o("Namespace",_t);function oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oe,It;function ca(){if(It)return Oe;It=1;function e(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function t(s,r){for(var a="",c=0,d=-1,f=0,l,u=0;u<=s.length;++u){if(u<s.length)l=s.charCodeAt(u);else{if(l===47)break;l=47}if(l===47){if(!(d===u-1||f===1))if(d!==u-1&&f===2){if(a.length<2||c!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",c=0):(a=a.slice(0,g),c=a.length-1-a.lastIndexOf("/")),d=u,f=0;continue}}else if(a.length===2||a.length===1){a="",c=0,d=u,f=0;continue}}r&&(a.length>0?a+="/..":a="..",c=2)}else a.length>0?a+="/"+s.slice(d+1,u):a=s.slice(d+1,u),c=u-d-1;d=u,f=0}else l===46&&f!==-1?++f:f=-1}return a}function n(s,r){var a=r.dir||r.root,c=r.base||(r.name||"")+(r.ext||"");return a?a===r.root?a+c:a+s+c:c}var i={resolve:function(){for(var r="",a=!1,c,d=arguments.length-1;d>=-1&&!a;d--){var f;d>=0?f=arguments[d]:(c===void 0&&(c=process.cwd()),f=c),e(f),f.length!==0&&(r=f+"/"+r,a=f.charCodeAt(0)===47)}return r=t(r,!a),a?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(r){if(e(r),r.length===0)return".";var a=r.charCodeAt(0)===47,c=r.charCodeAt(r.length-1)===47;return r=t(r,!a),r.length===0&&!a&&(r="."),r.length>0&&c&&(r+="/"),a?"/"+r:r},isAbsolute:function(r){return e(r),r.length>0&&r.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var r,a=0;a<arguments.length;++a){var c=arguments[a];e(c),c.length>0&&(r===void 0?r=c:r+="/"+c)}return r===void 0?".":i.normalize(r)},relative:function(r,a){if(e(r),e(a),r===a||(r=i.resolve(r),a=i.resolve(a),r===a))return"";for(var c=1;c<r.length&&r.charCodeAt(c)===47;++c);for(var d=r.length,f=d-c,l=1;l<a.length&&a.charCodeAt(l)===47;++l);for(var u=a.length,g=u-l,m=f<g?f:g,b=-1,E=0;E<=m;++E){if(E===m){if(g>m){if(a.charCodeAt(l+E)===47)return a.slice(l+E+1);if(E===0)return a.slice(l+E)}else f>m&&(r.charCodeAt(c+E)===47?b=E:E===0&&(b=0));break}var W=r.charCodeAt(c+E),Qe=a.charCodeAt(l+E);if(W!==Qe)break;W===47&&(b=E)}var Z="";for(E=c+b+1;E<=d;++E)(E===d||r.charCodeAt(E)===47)&&(Z.length===0?Z+="..":Z+="/..");return Z.length>0?Z+a.slice(l+b):(l+=b,a.charCodeAt(l)===47&&++l,a.slice(l))},_makeLong:function(r){return r},dirname:function(r){if(e(r),r.length===0)return".";for(var a=r.charCodeAt(0),c=a===47,d=-1,f=!0,l=r.length-1;l>=1;--l)if(a=r.charCodeAt(l),a===47){if(!f){d=l;break}}else f=!1;return d===-1?c?"/":".":c&&d===1?"//":r.slice(0,d)},basename:function(r,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(r);var c=0,d=-1,f=!0,l;if(a!==void 0&&a.length>0&&a.length<=r.length){if(a.length===r.length&&a===r)return"";var u=a.length-1,g=-1;for(l=r.length-1;l>=0;--l){var m=r.charCodeAt(l);if(m===47){if(!f){c=l+1;break}}else g===-1&&(f=!1,g=l+1),u>=0&&(m===a.charCodeAt(u)?--u===-1&&(d=l):(u=-1,d=g))}return c===d?d=g:d===-1&&(d=r.length),r.slice(c,d)}else{for(l=r.length-1;l>=0;--l)if(r.charCodeAt(l)===47){if(!f){c=l+1;break}}else d===-1&&(f=!1,d=l+1);return d===-1?"":r.slice(c,d)}},extname:function(r){e(r);for(var a=-1,c=0,d=-1,f=!0,l=0,u=r.length-1;u>=0;--u){var g=r.charCodeAt(u);if(g===47){if(!f){c=u+1;break}continue}d===-1&&(f=!1,d=u+1),g===46?a===-1?a=u:l!==1&&(l=1):a!==-1&&(l=-1)}return a===-1||d===-1||l===0||l===1&&a===d-1&&a===c+1?"":r.slice(a,d)},format:function(r){if(r===null||typeof r!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof r);return n("/",r)},parse:function(r){e(r);var a={root:"",dir:"",base:"",ext:"",name:""};if(r.length===0)return a;var c=r.charCodeAt(0),d=c===47,f;d?(a.root="/",f=1):f=0;for(var l=-1,u=0,g=-1,m=!0,b=r.length-1,E=0;b>=f;--b){if(c=r.charCodeAt(b),c===47){if(!m){u=b+1;break}continue}g===-1&&(m=!1,g=b+1),c===46?l===-1?l=b:E!==1&&(E=1):l!==-1&&(E=-1)}return l===-1||g===-1||E===0||E===1&&l===g-1&&l===u+1?g!==-1&&(u===0&&d?a.base=a.name=r.slice(1,g):a.base=a.name=r.slice(u,g)):(u===0&&d?(a.name=r.slice(1,l),a.base=r.slice(1,g)):(a.name=r.slice(u,l),a.base=r.slice(u,g)),a.ext=r.slice(l,g)),u>0?a.dir=r.slice(0,u-1):d&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,Oe=i,Oe}var la=ca();const Lt=oa(la);class ua{constructor(t,n=!1){this.isDev=n,this.url=new URL(t),this.baseDir=Lt.dirname(this.url.pathname)}baseDir;url;dir(t){return this.isDev===!0?t:this.url.origin+Lt.resolve(this.baseDir,t)}}o("PluginStaticResource",ua);function da(){return{context:{type:Object,default:()=>({})},value:{type:Object},model:{type:Object,required:!0},c:{type:Object,required:!0},itemModel:{type:Object},data:{type:Object},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},keepalive:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},size:{type:String},count:{type:Number,default:0},isEmptyText:{type:Boolean,default:!1}}}function fa(e){if(e instanceof Array)e&&e.length>0&&e.splice(0,e.length);else if(e instanceof Object&&e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&delete e[t]}class ha{constructor(){this.map=new Map,this.maxListeners=100}setMaxListeners(t){this.maxListeners=t}getSize(t){return this.map.has(t)?this.map.get(t).length:0}addListener(t,n){if(n instanceof Function){this.map.has(t)||this.map.set(t,[]);const i=this.map.get(t);if(i.length<this.maxListeners)i.push(n);else throw new Error(`事件监听已达最大上限[${this.maxListeners}],无法新增监听!`)}}removeListener(t,n){if(this.map.has(t)){const i=this.map.get(t);if(i.length>0){for(let s=0;s<i.length;s++)if(i[s]===n){i.splice(s,1);break}}}}emit(t,...n){this.map.has(t)&&this.map.get(t).forEach(s=>{s(...n)})}async asyncEmit(t,...n){if(this.map.has(t)){const s=this.map.get(t).map(r=>r(...n));return Promise.all(s)}return[]}reset(){this.map.forEach(t=>{fa(t)}),this.map.clear()}}class vt{constructor(t){this.e=new ha,this.e.setMaxListeners(t||300)}getSize(t){return this.e.getSize(t)}on(t,n){this.e.addListener(t,n)}off(t,n){this.e.removeListener(t,n)}emit(t,...n){this.e.emit(t,...n)}asyncEmit(t,...n){return this.e.asyncEmit(t,...n)}reset(){this.e.reset()}}const{toString:ga}=Object.prototype;function ma(e){return Ea(e)==="function"}const ba={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object","[object Set]":"set","[object Map]":"map","[object WeakMap]":"weakmap"};function Ea(e){return ba[ga.call(e)]}function we(e,t,n=0,i=!1,s="/"){let r="";if(i&&!/^(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)$/.test(location.hostname)){const c=location.hostname;c.indexOf(".")!==c.lastIndexOf(".")&&(r=`;domain=${c.substring(c.indexOf("."),c.length)}`)}if(n!==0){const a=n*24*60*60*1e3,c=new Date(new Date().getTime()+a);document.cookie=`${e}=${escape(t)};path=${s};expires=${c.toUTCString()}${r}`}else document.cookie=`${e}=${escape(t)};path=${s}${r}`}function Nt(e,t){we(e,"",-1,t)}function yt(e){const t=new RegExp(`(^| )${e}=([^;]*)(;|$)`),n=document.cookie.match(t);return n&&n.length>1?unescape(n[2]):null}class Ot{constructor(){this.items=[]}get size(){return this.items.length}callSync(t,...n){const i=t||Object.create({});let s;for(let r=0;r<this.items.length;r++){const a=this.items[r];if(a.fn&&(s=a.fn(i,...n)),s===null){console.warn(`因${a.fn?a.fn.name:null}方法返回值为「null」,钩子中断执行。`,a);break}}return i}tap(t){if(t&&ma(t)){const n={mode:"sync"};n.fn=t,this.items.push(n)}}removeTap(t){if(t)for(let n=0;n<this.items.length;n++){const i=this.items[n];t===i.fn&&this.items.splice(n,1)}}clear(){this.items=[]}}function le(){return yt(z.TOKEN)}function wt(e){e?we(z.TOKEN,e,7,!0):Nt(z.TOKEN,!0)}function Mt(){return yt(z.TENANT)}function pa(e){e?we(z.TENANT,e,7,!0):Nt(z.TENANT,!0)}const Ra=o("isMobile",(()=>{const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/,n=window.innerWidth<=768,i="ontouchstart"in window||navigator.maxTouchPoints>0;return t.test(e)||n&&i})());function Ct(){return localStorage.getItem(Ir)||"UTC+08:00"}function Ta(e,t){return Te(H(e),t,(n,i)=>{if(typeof n=="object"&&typeof i=="object")return Te(H(n),i,(s,r)=>Array.isArray(s)?tt(s,r,nt):void 0)})}function Sa(e){const t=Ae.stringify(e,{encode:!0,delimiter:";"});return t?`;${t}`:""}function Dt(e){return e.indexOf(";")===-1?{}:Ae.parse(e,{delimiter:";"})}function Aa(e,t){return w({get:()=>e.value,set:i=>{e.value=i,t(i)}})}function _a(e,t){const n=Object.keys(V(e)?e.value:e),i={};return n.forEach(s=>{i[s]=w({get:()=>(V(e)?e.value:e)[s],set(r){(V(e)?e.value:e)[s]=r,t(s,r)}})}),i}function Ia(e,t){const n=Object.keys(V(e)?e.value:e),i={};let s={};return n.forEach(r=>{i[r]=w({get:()=>(s={},(V(e)?e.value:e)[r]),set(a){const c=V(e)?e.value:e;s[r]=a;const d={...c,...s};t(r,a,d)}})}),i}function La(e){if(e==="nullpx")return{value:0,unit:"px"};const t=/^(\d+\.?\d*)([a-zA-Z%]+)$/,n=e.match(t);if(n)return{value:parseFloat(n[1]),unit:n[2]};throw new Error("Invalid value")}function va(e){const t=y();let n;const i=()=>{e.deep&&(n=ne(()=>t.value,s=>{e.set(s)},{deep:!0}))};return ne(()=>e.get(),s=>{n&&n(),t.value=s,i()},{immediate:!0}),t}function Na(e){const t=new Map;return function(...n){const i=JSON.stringify(n);if(t.has(i))return t.get(i);const s=e(...n);return t.set(i,s),s}}function ya(e,t,n,i){return{install(s){e&&t&&_gct.register.editor.register(At.PREFIX+e,t),n&&s.component(i??n.name,n)}}}function Ut(e){e.interceptors.request.use(t=>(t.headers.Lang=_gct.store.lang,t.headers||(t.headers=new st),Object.assign(t.headers,{Token:le(),Source:Ra?502:501,Lang:_gct.store.lang,"Tenant-Id":Mt(),Timezone:Ct()}),t))}var Pt="5.0.1";function ue(e,t){return new Promise(n=>setTimeout(n,e,t))}function Oa(){return new Promise(e=>{const t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function wa(e,t=1/0){const{requestIdleCallback:n}=window;return n?new Promise(i=>n.call(window,()=>i(),{timeout:t})):ue(Math.min(e,t))}function kt(e){return!!e&&typeof e.then=="function"}function Gt(e,t){try{const n=e();kt(n)?n.then(i=>t(!0,i),i=>t(!1,i)):t(!0,n)}catch(n){t(!1,n)}}async function Bt(e,t,n=16){const i=Array(e.length);let s=Date.now();for(let r=0;r<e.length;++r){i[r]=t(e[r],r);const a=Date.now();a>=s+n&&(s=a,await Oa())}return i}function ie(e){return e.then(void 0,()=>{}),e}function Ma(e,t){for(let n=0,i=e.length;n<i;++n)if(e[n]===t)return!0;return!1}function Ca(e,t){return!Ma(e,t)}function Me(e){return parseInt(e)}function M(e){return parseFloat(e)}function G(e,t){return typeof e=="number"&&isNaN(e)?t:e}function I(e){return e.reduce((t,n)=>t+(n?1:0),0)}function Ft(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{const n=1/t;return Math.round(e*n)/n}}function Da(e){var t,n;const i=`Unexpected syntax '${e}'`,s=/^\s*([a-z-]*)(.*)$/i.exec(e),r=s[1]||void 0,a={},c=/([.:#][\w-]+|\[.+?\])/gi,d=(f,l)=>{a[f]=a[f]||[],a[f].push(l)};for(;;){const f=c.exec(s[2]);if(!f)break;const l=f[0];switch(l[0]){case".":d("class",l.slice(1));break;case"#":d("id",l.slice(1));break;case"[":{const u=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l);if(u)d(u[1],(n=(t=u[4])!==null&&t!==void 0?t:u[5])!==null&&n!==void 0?n:"");else throw new Error(i);break}default:throw new Error(i)}}return[r,a]}function Ua(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);if(i>127)return new TextEncoder().encode(e);t[n]=i}return t}function F(e,t){const n=e[0]>>>16,i=e[0]&65535,s=e[1]>>>16,r=e[1]&65535,a=t[0]>>>16,c=t[0]&65535,d=t[1]>>>16,f=t[1]&65535;let l=0,u=0,g=0,m=0;m+=r+f,g+=m>>>16,m&=65535,g+=s+d,u+=g>>>16,g&=65535,u+=i+c,l+=u>>>16,u&=65535,l+=n+a,l&=65535,e[0]=l<<16|u,e[1]=g<<16|m}function O(e,t){const n=e[0]>>>16,i=e[0]&65535,s=e[1]>>>16,r=e[1]&65535,a=t[0]>>>16,c=t[0]&65535,d=t[1]>>>16,f=t[1]&65535;let l=0,u=0,g=0,m=0;m+=r*f,g+=m>>>16,m&=65535,g+=s*f,u+=g>>>16,g&=65535,g+=r*d,u+=g>>>16,g&=65535,u+=i*f,l+=u>>>16,u&=65535,u+=s*d,l+=u>>>16,u&=65535,u+=r*c,l+=u>>>16,u&=65535,l+=n*f+i*d+s*c+r*a,l&=65535,e[0]=l<<16|u,e[1]=g<<16|m}function Q(e,t){const n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function N(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function A(e,t){e[0]^=t[0],e[1]^=t[1]}const Pa=[4283543511,3981806797],ka=[3301882366,444984403];function Wt(e){const t=[0,e[0]>>>1];A(e,t),O(e,Pa),t[1]=e[0]>>>1,A(e,t),O(e,ka),t[1]=e[0]>>>1,A(e,t)}const de=[2277735313,289559509],fe=[1291169091,658871167],Ht=[0,5],Ga=[0,1390208809],Ba=[0,944331445];function Fa(e,t){const n=Ua(e);t=t||0;const i=[0,n.length],s=i[1]%16,r=i[1]-s,a=[0,t],c=[0,t],d=[0,0],f=[0,0];let l;for(l=0;l<r;l=l+16)d[0]=n[l+4]|n[l+5]<<8|n[l+6]<<16|n[l+7]<<24,d[1]=n[l]|n[l+1]<<8|n[l+2]<<16|n[l+3]<<24,f[0]=n[l+12]|n[l+13]<<8|n[l+14]<<16|n[l+15]<<24,f[1]=n[l+8]|n[l+9]<<8|n[l+10]<<16|n[l+11]<<24,O(d,de),Q(d,31),O(d,fe),A(a,d),Q(a,27),F(a,c),O(a,Ht),F(a,Ga),O(f,fe),Q(f,33),O(f,de),A(c,f),Q(c,31),F(c,a),O(c,Ht),F(c,Ba);d[0]=0,d[1]=0,f[0]=0,f[1]=0;const u=[0,0];switch(s){case 15:u[1]=n[l+14],N(u,48),A(f,u);case 14:u[1]=n[l+13],N(u,40),A(f,u);case 13:u[1]=n[l+12],N(u,32),A(f,u);case 12:u[1]=n[l+11],N(u,24),A(f,u);case 11:u[1]=n[l+10],N(u,16),A(f,u);case 10:u[1]=n[l+9],N(u,8),A(f,u);case 9:u[1]=n[l+8],A(f,u),O(f,fe),Q(f,33),O(f,de),A(c,f);case 8:u[1]=n[l+7],N(u,56),A(d,u);case 7:u[1]=n[l+6],N(u,48),A(d,u);case 6:u[1]=n[l+5],N(u,40),A(d,u);case 5:u[1]=n[l+4],N(u,32),A(d,u);case 4:u[1]=n[l+3],N(u,24),A(d,u);case 3:u[1]=n[l+2],N(u,16),A(d,u);case 2:u[1]=n[l+1],N(u,8),A(d,u);case 1:u[1]=n[l],A(d,u),O(d,de),Q(d,31),O(d,fe),A(a,d)}return A(a,i),A(c,i),F(a,c),F(c,a),Wt(a),Wt(c),F(a,c),F(c,a),("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)+("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)}function Wa(e){var t;return{name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
|
|
2
|
-
`),...e}}function Ha(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function Va(e){return typeof e!="function"}function Xa(e,t){const n=ie(new Promise(i=>{const s=Date.now();Gt(e.bind(null,t),(...r)=>{const a=Date.now()-s;if(!r[0])return i(()=>({error:r[1],duration:a}));const c=r[1];if(Va(c))return i(()=>({value:c,duration:a}));i(()=>new Promise(d=>{const f=Date.now();Gt(c,(...l)=>{const u=a+Date.now()-f;if(!l[0])return d({error:l[1],duration:u});d({value:l[1],duration:u})})}))})}));return function(){return n.then(s=>s())}}function xa(e,t,n,i){const s=Object.keys(e).filter(a=>Ca(n,a)),r=ie(Bt(s,a=>Xa(e[a],t),i));return async function(){const c=await r,d=await Bt(c,u=>ie(u()),i),f=await Promise.all(d),l={};for(let u=0;u<s.length;++u)l[s[u]]=f[u];return l}}function Vt(){const e=window,t=navigator;return I(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function ja(){const e=window,t=navigator;return I(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!Vt()}function re(){const e=window,t=navigator;return I(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function C(){const e=window,t=navigator;return I(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Ce(){const e=window,{HTMLElement:t,Document:n}=e;return I(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function ae(){const e=window;return Ha(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function Xt(){var e,t;const n=window;return I(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function Ka(){const e=window;return I([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function $a(){const e=window,{URLPattern:t}=e;return I(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function Za(){const e=window;return I(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function se(){const e=window,t=navigator,{CSS:n,HTMLButtonElement:i}=e;return I([!("getStorageUpdates"in t),i&&"popover"in i.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function Ja(){if(navigator.platform==="iPad")return!0;const e=screen,t=e.width/e.height;return I(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function Ya(){const e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function za(){const e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function De(){const e=re(),t=Xt(),n=window,i=navigator,s="connection";return e?I([!("SharedWorker"in n),i[s]&&"ontypechange"in i[s],!("sinkId"in new Audio)])>=2:t?I(["onorientationchange"in n,"orientation"in n,/android/i.test(i.appVersion)])>=2:!1}function Qa(){const e=navigator,t=window,n=Audio.prototype,{visualViewport:i}=t;return I(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,i&&"segments"in i,"getTextInformation"in Image.prototype])>=3}function qa(){return ns()?-4:es()}function es(){const e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(ts())return-1;const n=4500,i=5e3,s=new t(1,i,44100),r=s.createOscillator();r.type="triangle",r.frequency.value=1e4;const a=s.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,r.connect(a),a.connect(s.destination),r.start(0);const[c,d]=is(s),f=ie(c.then(l=>rs(l.getChannelData(0).subarray(n)),l=>{if(l.name==="timeout"||l.name==="suspended")return-3;throw l}));return()=>(d(),f)}function ts(){return C()&&!Ce()&&!Za()}function ns(){return C()&&se()&&ae()||re()&&Qa()&&$a()}function is(e){let r=()=>{};return[new Promise((c,d)=>{let f=!1,l=0,u=0;e.oncomplete=b=>c(b.renderedBuffer);const g=()=>{setTimeout(()=>d(xt("timeout")),Math.min(500,u+5e3-Date.now()))},m=()=>{try{const b=e.startRendering();switch(kt(b)&&ie(b),e.state){case"running":u=Date.now(),f&&g();break;case"suspended":document.hidden||l++,f&&l>=3?d(xt("suspended")):setTimeout(m,500);break}}catch(b){d(b)}};m(),r=()=>{f||(f=!0,u>0&&g())}}),r]}function rs(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function xt(e){const t=new Error(e);return t.name=e,t}async function jt(e,t,n=50){var i,s,r;const a=document;for(;!a.body;)await ue(n);const c=a.createElement("iframe");try{for(await new Promise((d,f)=>{let l=!1;const u=()=>{l=!0,d()},g=E=>{l=!0,f(E)};c.onload=u,c.onerror=g;const{style:m}=c;m.setProperty("display","block","important"),m.position="absolute",m.top="0",m.left="0",m.visibility="hidden",t&&"srcdoc"in c?c.srcdoc=t:c.src="about:blank",a.body.appendChild(c);const b=()=>{var E,W;l||(((W=(E=c.contentWindow)===null||E===void 0?void 0:E.document)===null||W===void 0?void 0:W.readyState)==="complete"?u():setTimeout(b,10))};b()});!(!((s=(i=c.contentWindow)===null||i===void 0?void 0:i.document)===null||s===void 0)&&s.body);)await ue(n);return await e(c,c.contentWindow)}finally{(r=c.parentNode)===null||r===void 0||r.removeChild(c)}}function as(e){const[t,n]=Da(e),i=document.createElement(t??"div");for(const s of Object.keys(n)){const r=n[s].join(" ");s==="style"?ss(i.style,r):i.setAttribute(s,r)}return i}function ss(e,t){for(const n of t.split(";")){const i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(i){const[,s,r,,a]=i;e.setProperty(s,r,a||"")}}}function os(){let e=window;for(;;){const t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}const cs="mmMwWLliI0O&1",ls="48px",q=["monospace","sans-serif","serif"],Kt=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function us(){return jt(async(e,{document:t})=>{const n=t.body;n.style.fontSize=ls;const i=t.createElement("div");i.style.setProperty("visibility","hidden","important");const s={},r={},a=m=>{const b=t.createElement("span"),{style:E}=b;return E.position="absolute",E.top="0",E.left="0",E.fontFamily=m,b.textContent=cs,i.appendChild(b),b},c=(m,b)=>a(`'${m}',${b}`),d=()=>q.map(a),f=()=>{const m={};for(const b of Kt)m[b]=q.map(E=>c(b,E));return m},l=m=>q.some((b,E)=>m[E].offsetWidth!==s[b]||m[E].offsetHeight!==r[b]),u=d(),g=f();n.appendChild(i);for(let m=0;m<q.length;m++)s[q[m]]=u[m].offsetWidth,r[q[m]]=u[m].offsetHeight;return Kt.filter(m=>l(g[m]))})}function ds(){const e=navigator.plugins;if(!e)return;const t=[];for(let n=0;n<e.length;++n){const i=e[n];if(!i)continue;const s=[];for(let r=0;r<i.length;++r){const a=i[r];s.push({type:a.type,suffixes:a.suffixes})}t.push({name:i.name,description:i.description,mimeTypes:s})}return t}function fs(){return hs(Ts())}function hs(e){let t=!1,n,i;const[s,r]=gs();return ms(s,r)?(t=bs(r),e?n=i="skipped":[n,i]=Es(s,r)):n=i="unsupported",{winding:t,geometry:n,text:i}}function gs(){const e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function ms(e,t){return!!(t&&e.toDataURL)}function bs(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function Es(e,t){ps(e,t);const n=Ue(e),i=Ue(e);return n!==i?["unstable","unstable"]:(Rs(e,t),[Ue(e),n])}function ps(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';const n="Cwm fjordbank gly 😃";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function Rs(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(const[n,i,s]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(i,s,40,0,Math.PI*2,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function Ue(e){return e.toDataURL()}function Ts(){return C()&&se()&&ae()}function Ss(){const e=navigator;let t=0,n;e.maxTouchPoints!==void 0?t=Me(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}const i="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:i}}function As(){return navigator.oscpu}function _s(){const e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))re()&&Ka()||t.push(e.languages);else if(typeof e.languages=="string"){const i=e.languages;i&&t.push(i.split(","))}return t}function Is(){return window.screen.colorDepth}function Ls(){return G(M(navigator.deviceMemory),void 0)}function vs(){if(!(C()&&se()&&ae()))return Ns()}function Ns(){const e=screen,t=i=>G(Me(i),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}const ys=2500,Os=10;let he,Pe;function ws(){if(Pe!==void 0)return;const e=()=>{const t=ke();Ge(t)?Pe=setTimeout(e,ys):(he=t,Pe=void 0)};e()}function Ms(){return ws(),async()=>{let e=ke();if(Ge(e)){if(he)return[...he];Ya()&&(await za(),e=ke())}return Ge(e)||(he=e),e}}function Cs(){if(C()&&se()&&ae())return()=>Promise.resolve(void 0);const e=Ms();return async()=>{const t=await e(),n=i=>i===null?null:Ft(i,Os);return[n(t[0]),n(t[1]),n(t[2]),n(t[3])]}}function ke(){const e=screen;return[G(M(e.availTop),null),G(M(e.width)-M(e.availWidth)-G(M(e.availLeft),0),null),G(M(e.height)-M(e.availHeight)-G(M(e.availTop),0),null),G(M(e.availLeft),null)]}function Ge(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function Ds(){return G(Me(navigator.hardwareConcurrency),void 0)}function Us(){var e;const t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){const i=new t().resolvedOptions().timeZone;if(i)return i}const n=-Ps();return`UTC${n>=0?"+":""}${n}`}function Ps(){const e=new Date().getFullYear();return Math.max(M(new Date(e,0,1).getTimezoneOffset()),M(new Date(e,6,1).getTimezoneOffset()))}function ks(){try{return!!window.sessionStorage}catch{return!0}}function Gs(){try{return!!window.localStorage}catch{return!0}}function Bs(){if(!(Vt()||ja()))try{return!!window.indexedDB}catch{return!0}}function Fs(){return!!window.openDatabase}function Ws(){return navigator.cpuClass}function Hs(){const{platform:e}=navigator;return e==="MacIntel"&&C()&&!Ce()?Ja()?"iPad":"iPhone":e}function Vs(){return navigator.vendor||""}function Xs(){const e=[];for(const t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){const n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}function xs(){const e=document;try{e.cookie="cookietest=1; SameSite=Strict;";const t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function js(){const e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}async function Ks({debug:e}={}){if(!$s())return;const t=js(),n=Object.keys(t),i=[].concat(...n.map(a=>t[a])),s=await Zs(i);e&&Js(t,s);const r=n.filter(a=>{const c=t[a];return I(c.map(f=>s[f]))>c.length*.6});return r.sort(),r}function $s(){return C()||De()}async function Zs(e){var t;const n=document,i=n.createElement("div"),s=new Array(e.length),r={};$t(i);for(let a=0;a<e.length;++a){const c=as(e[a]);c.tagName==="DIALOG"&&c.show();const d=n.createElement("div");$t(d),d.appendChild(c),i.appendChild(d),s[a]=c}for(;!n.body;)await ue(50);n.body.appendChild(i);try{for(let a=0;a<e.length;++a)s[a].offsetParent||(r[e[a]]=!0)}finally{(t=i.parentNode)===null||t===void 0||t.removeChild(i)}return r}function $t(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function Js(e,t){let n="DOM blockers debug:\n```";for(const i of Object.keys(e)){n+=`
|
|
3
|
-
${i}:`;for(const s of e[i])n+=`
|
|
4
|
-
${t[s]?"🚫":"➡️"} ${s}`}console.log(`${n}
|
|
5
|
-
\`\`\``)}function Ys(){for(const e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function zs(){if(Zt("inverted"))return!0;if(Zt("none"))return!1}function Zt(e){return matchMedia(`(inverted-colors: ${e})`).matches}function Qs(){if(Jt("active"))return!0;if(Jt("none"))return!1}function Jt(e){return matchMedia(`(forced-colors: ${e})`).matches}const qs=100;function eo(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=qs;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function to(){if(ee("no-preference"))return 0;if(ee("high")||ee("more"))return 1;if(ee("low")||ee("less"))return-1;if(ee("forced"))return 10}function ee(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function no(){if(Yt("reduce"))return!0;if(Yt("no-preference"))return!1}function Yt(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function io(){if(zt("reduce"))return!0;if(zt("no-preference"))return!1}function zt(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}function ro(){if(Qt("high"))return!0;if(Qt("standard"))return!1}function Qt(e){return matchMedia(`(dynamic-range: ${e})`).matches}const R=Math,L=()=>0;function ao(){const e=R.acos||L,t=R.acosh||L,n=R.asin||L,i=R.asinh||L,s=R.atanh||L,r=R.atan||L,a=R.sin||L,c=R.sinh||L,d=R.cos||L,f=R.cosh||L,l=R.tan||L,u=R.tanh||L,g=R.exp||L,m=R.expm1||L,b=R.log1p||L,E=S=>R.pow(R.PI,S),W=S=>R.log(S+R.sqrt(S*S-1)),Qe=S=>R.log(S+R.sqrt(S*S+1)),Z=S=>R.log((1+S)/(1-S))/2,Qc=S=>R.exp(S)-1/R.exp(S)/2,qc=S=>(R.exp(S)+1/R.exp(S))/2,el=S=>R.exp(S)-1,tl=S=>(R.exp(2*S)-1)/(R.exp(2*S)+1),nl=S=>R.log(1+S);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:W(1e154),asin:n(.12312423423423424),asinh:i(1),asinhPf:Qe(1),atanh:s(.5),atanhPf:Z(.5),atan:r(.5),sin:a(-1e300),sinh:c(1),sinhPf:Qc(1),cos:d(10.000000000123),cosh:f(1),coshPf:qc(1),tan:l(-1e300),tanh:u(1),tanhPf:tl(1),exp:g(1),expm1:m(1),expm1Pf:el(1),log1p:b(10),log1pPf:nl(10),powPI:E(-100)}}const so="mmMwWLliI0fiflO&1",Be={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function oo(){return co((e,t)=>{const n={},i={};for(const s of Object.keys(Be)){const[r={},a=so]=Be[s],c=e.createElement("span");c.textContent=a,c.style.whiteSpace="nowrap";for(const d of Object.keys(r)){const f=r[d];f!==void 0&&(c.style[d]=f)}n[s]=c,t.append(e.createElement("br"),c)}for(const s of Object.keys(Be))i[s]=n[s].getBoundingClientRect().width;return i})}function co(e,t=4e3){return jt((n,i)=>{const s=i.document,r=s.body,a=r.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",re()?r.style.zoom=`${1/i.devicePixelRatio}`:C()&&(r.style.zoom="reset");const c=s.createElement("div");return c.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),r.appendChild(c),e(s,r)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}function lo(){return navigator.pdfViewerEnabled}function uo(){const e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function fo(){const{ApplePaySession:e}=window;if(typeof e?.canMakePayments!="function")return-1;if(ho())return-3;try{return e.canMakePayments()?1:0}catch(t){return go(t)}}const ho=os;function go(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function mo(){var e;const t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}const qt=-1,en=-2,bo=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),Eo=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),po=["FRAGMENT_SHADER","VERTEX_SHADER"],Ro=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],tn="WEBGL_debug_renderer_info",To="WEBGL_polygon_mode";function So({cache:e}){var t,n,i,s,r,a;const c=nn(e);if(!c)return qt;if(!sn(c))return en;const d=an()?null:c.getExtension(tn);return{version:((t=c.getParameter(c.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=c.getParameter(c.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:d?(i=c.getParameter(d.UNMASKED_VENDOR_WEBGL))===null||i===void 0?void 0:i.toString():"",renderer:((s=c.getParameter(c.RENDERER))===null||s===void 0?void 0:s.toString())||"",rendererUnmasked:d?(r=c.getParameter(d.UNMASKED_RENDERER_WEBGL))===null||r===void 0?void 0:r.toString():"",shadingLanguageVersion:((a=c.getParameter(c.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function Ao({cache:e}){const t=nn(e);if(!t)return qt;if(!sn(t))return en;const n=t.getSupportedExtensions(),i=t.getContextAttributes(),s=[],r=[],a=[],c=[],d=[];if(i)for(const l of Object.keys(i))r.push(`${l}=${i[l]}`);const f=rn(t);for(const l of f){const u=t[l];a.push(`${l}=${u}${bo.has(u)?`=${t.getParameter(u)}`:""}`)}if(n)for(const l of n){if(l===tn&&an()||l===To&&Lo())continue;const u=t.getExtension(l);if(!u){s.push(l);continue}for(const g of rn(u)){const m=u[g];c.push(`${g}=${m}${Eo.has(m)?`=${t.getParameter(m)}`:""}`)}}for(const l of po)for(const u of Ro){const g=_o(t,l,u);d.push(`${l}.${u}=${g.join(",")}`)}return c.sort(),a.sort(),{contextAttributes:r,parameters:a,shaderPrecisions:d,extensions:n,extensionParameters:c,unsupportedExtensions:s}}function nn(e){if(e.webgl)return e.webgl.context;const t=document.createElement("canvas");let n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(const i of["webgl","experimental-webgl"]){try{n=t.getContext(i)}catch{}if(n)break}return e.webgl={context:n},n}function _o(e,t,n){const i=e.getShaderPrecisionFormat(e[t],e[n]);return i?[i.rangeMin,i.rangeMax,i.precision]:[]}function rn(e){return Object.keys(e.__proto__).filter(Io)}function Io(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function an(){return Xt()}function Lo(){return re()||C()}function sn(e){return typeof e.getParameter=="function"}function vo(){if(!(De()||C()))return-2;if(!window.AudioContext)return-1;const t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function No(){if(!window.Intl)return-1;const e=window.Intl.DateTimeFormat;if(!e)return-2;const t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}const yo={fonts:us,domBlockers:Ks,fontPreferences:oo,audio:qa,screenFrame:Cs,canvas:fs,osCpu:As,languages:_s,colorDepth:Is,deviceMemory:Ls,screenResolution:vs,hardwareConcurrency:Ds,timezone:Us,sessionStorage:ks,localStorage:Gs,indexedDB:Bs,openDatabase:Fs,cpuClass:Ws,platform:Hs,plugins:ds,touchSupport:Ss,vendor:Vs,vendorFlavors:Xs,cookiesEnabled:xs,colorGamut:Ys,invertedColors:zs,forcedColors:Qs,monochrome:eo,contrast:to,reducedMotion:no,reducedTransparency:io,hdr:ro,math:ao,pdfViewerEnabled:lo,architecture:uo,applePay:fo,privateClickMeasurement:mo,audioBaseLatency:vo,dateTimeLocale:No,webGlBasics:So,webGlExtensions:Ao};function Oo(e){return xa(yo,e,[])}const wo="$ if upgrade to Pro: https://fpjs.dev/pro";function Mo(e){const t=Co(e),n=Do(t);return{score:t,comment:wo.replace(/\$/g,`${n}`)}}function Co(e){if(De())return .4;if(C())return Ce()&&!(se()&&ae())?.5:.3;const t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Do(e){return Ft(.99+.01*e,1e-4)}function Uo(e){let t="";for(const n of Object.keys(e).sort()){const i=e[n],s="error"in i?"error":JSON.stringify(i.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${s}`}return t}function on(e){return JSON.stringify(e,(t,n)=>n instanceof Error?Wa(n):n,2)}function cn(e){return Fa(Uo(e))}function Po(e){let t;const n=Mo(e);return{get visitorId(){return t===void 0&&(t=cn(this.components)),t},set visitorId(i){t=i},confidence:n,components:e,version:Pt}}function ko(e=50){return wa(e,e*2)}function Go(e,t){const n=Date.now();return{async get(i){const s=Date.now(),r=await e(),a=Po(r);return(t||i?.debug)&&console.log(`Copy the text below to get the debug data:
|
|
6
|
-
|
|
7
|
-
\`\`\`
|
|
8
|
-
version: ${a.version}
|
|
9
|
-
userAgent: ${navigator.userAgent}
|
|
10
|
-
timeBetweenLoadAndGet: ${s-n}
|
|
11
|
-
visitorId: ${a.visitorId}
|
|
12
|
-
components: ${on(r)}
|
|
13
|
-
\`\`\``),a}}}function Bo(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{const e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${Pt}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function Fo(e={}){var t;(!((t=e.monitoring)!==null&&t!==void 0)||t)&&Bo();const{delayFallback:n,debug:i}=e;await ko(n);const s=Oo({cache:{},debug:i});return Go(s,i)}var Wo={load:Fo,hashComponents:cn,componentsToDebugString:on};const ln="FINGERPRINT";function un(){return typeof window<"u"&&typeof navigator<"u"}function Ho(){if(!un())return{type:"unknown",name:"unknown"};const e=navigator.userAgent;return/iPad|iPhone|iPod/i.test(e)?{type:"mobile",name:"iOS"}:/Android/i.test(e)?{type:"mobile",name:"Android"}:/Windows Phone/i.test(e)?{type:"mobile",name:"Windows Phone"}:/BlackBerry/i.test(e)?{type:"mobile",name:"BlackBerry"}:/Edg/i.test(e)?{type:"web",name:"Edge"}:/OPR|Opera/i.test(e)?{type:"web",name:"Opera"}:/Firefox/i.test(e)?{type:"web",name:"Firefox"}:/Chrome/i.test(e)?{type:"web",name:"Chrome"}:/Safari/i.test(e)?{type:"web",name:"Safari"}:{type:"unknown",name:"unknown"}}async function Vo(){return(await Wo.load()).get()}async function Fe(){if(!un())return"unknown/unknown";const{type:e,name:t}=Ho(),n=e==="web";if(n){const r=localStorage.getItem(ln);if(r)return`${t}/${r}`}const s=(await Vo()).visitorId;return n&&localStorage.setItem(ln,s),`${t}/${s}`}function dn(){let e=sessionStorage.getItem("currentPageTag");return e||(e=Date.now().toString(),sessionStorage.setItem("currentPageTag",e)),e}class D{static _DEFAULT_CONFIG={id:"id",children:"children",pid:"pid",deep:!0};static _getConfig(t){return Object.assign({},D._DEFAULT_CONFIG,t)}static listToTree(t,n={},i){const s=D._getConfig(n),r=new Map,a=[],{id:c,children:d,pid:f,deep:l}=s;for(const u of t){const g=u;l?g[d]=g[d]??void 0:g[d]=g[f]==="ROOT"?g[d]??[]:[],r.set(g[c],i(u))}for(const u of t){const g=u,m=r.get(g[f]);if(m){const b=m;b[d]||(b[d]=[]),b[d].push(i(u))}else a.push(i(u))}return a}static treeToList(t,n={}){const{children:i}=D._getConfig(n),s=[...t];for(let r=0;r<s.length;r++){const c=s[r][i];Array.isArray(c)&&s.splice(r+1,0,...c)}return s}static findNode(t,n,i={}){const{children:s}=D._getConfig(i),r=t?[...t]:[];for(const a of r){if(n(a))return a;const d=a[s];Array.isArray(d)&&r.push(...d)}return null}static findNodeAll(t,n,i={}){const{children:s}=D._getConfig(i),r=t?[...t]:[],a=[];for(const c of r){n(c)&&a.push(c);const f=c[s];Array.isArray(f)&&r.push(...f)}return a}static findPath(t,n,i={}){const{children:s}=D._getConfig(i),r=[],a=t?[...t]:[],c=new Set;for(;a.length;){const d=a[0];if(c.has(d))r.pop(),a.shift();else{c.add(d);const l=d[s];if(Array.isArray(l)&&a.unshift(...l),r.push(d),n(d))return r}}return null}static findClosestParent(t,n,i,s={}){const{id:r}=D._getConfig(s);return D.findPath(t,c=>c[r]===n,s)?.reverse().find(c=>i(c))}static list_to_tree(t,n=i=>i){const i={},s=[];for(let r=0;r<t.length;r++){const a=t[r];i[a.id]=r,a.children=[]}for(const r of t)if(r.parentId==="ROOT"||!r.parentId)s.push(n(r));else{const a=r,c=i[r.parentId];c!==void 0&&t[c].children?.push(n(a))}return s}static getAllParentPath(t,n){return(D.findPath(t,s=>s.path===n)||[]).map(s=>s.path)}static traverseAndBuildTree(t,n,i={}){i=this._getConfig(i);const{children:s}=i;return t.map(r=>{const a=n(r)||r;return s&&r[s]&&r[s].length>0&&(a[s]=this.traverseAndBuildTree(r.children,n)),a})}}o("TreeHelper",D);const Wl=o("calcStyle",(e,t=[])=>{const n={},i=e.padding;i&&(i.top!=null&&i.top!=""&&!t.includes("paddingTop")&&(n["padding-top"]=i.top),i.right!=null&&i.right!=""&&!t.includes("paddingRight")&&(n["padding-right"]=i.right),i.bottom!=null&&i.bottom!=""&&!t.includes("paddingBottom")&&(n["padding-bottom"]=i.bottom),i.left!=null&&i.left!=""&&!t.includes("paddingLeft")&&(n["padding-left"]=i.left));const s=e.margin;s&&(s.top!=null&&s.top!=""&&!t.includes("marginTop")&&(n["margin-top"]=s.top),s.right!=null&&s.right!=""&&!t.includes("marginRight")&&(n["margin-right"]=s.right),s.bottom!=null&&s.bottom!=""&&!t.includes("marginBottom")&&(n["margin-bottom"]=s.bottom),s.left!=null&&s.left!=""&&!t.includes("marginLeft")&&(n["margin-left"]=s.left)),e.background!=null&&e.background!=""&&!t.includes("backgroundColor")&&(n["background-color"]=e.background),e.width!=null&&e.width!=""&&!t.includes("width")&&(n.width=e.width),e.height!=null&&e.height!=""&&!t.includes("height")&&(n.height=e.height,n.overflowX="hidden",n.overflowY="auto");const r=e.position;r&&(r.position!=null&&r.position!=""&&!t.includes("zIndex")&&(n.position=r.position,n["z-index"]=1),r.top!=null&&r.top!=""&&!t.includes("top")&&(n.top=`${r.top}px`),r.right!=null&&r.right!=""&&!t.includes("right")&&(n.right=`${r.right}px`),r.bottom!=null&&r.bottom!=""&&!t.includes("bottom")&&(n.bottom=`${r.bottom}px`),r.left!=null&&r.left!=""&&!t.includes("left")&&(n.left=`${r.left}px`));const a=e.border;return a&&(a.topLeftRadius!=null&&a.topLeftRadius!=""&&!t.includes("borderTopLeftRadius")&&(n["border-top-left-radius"]=a.topLeftRadius),a.topRightRadius!=null&&a.topRightRadius!=""&&!t.includes("borderTopRightRadius")&&(n["border-top-right-radius"]=a.topRightRadius),a.bottomLeftRadius!=null&&a.bottomLeftRadius!=""&&!t.includes("borderBottomLeftRadius")&&(n["border-bottom-left-radius"]=a.bottomLeftRadius),a.bottomRightRadius!=null&&a.bottomRightRadius!=""&&!t.includes("borderBottomRightRadius")&&(n["border-bottom-right-radius"]=a.bottomRightRadius),a.top&&(a.top.color!=null&&a.top.color!=""&&!t.includes("borderTopColor")&&(n["border-top-color"]=a.top.color),a.top.width!=null&&a.top.width!=""&&!t.includes("borderTopWidth")&&(n["border-top-width"]=a.top.width),a.top.style&&!t.includes("borderTopStyle")&&(n["border-top-style"]=a.top.style)),a.right&&(a.right.color!=null&&a.right.color!=""&&!t.includes("borderRightColor")&&(n["border-right-color"]=a.right.color),a.right.width!=null&&a.right.width!=""&&!t.includes("borderRightWidth")&&(n["border-right-width"]=a.right.width),a.right.style&&!t.includes("borderRightStyle")&&(n["border-right-style"]=a.right.style)),a.bottom&&(a.bottom.color!=null&&a.bottom.color!=""&&!t.includes("borderBottomColor")&&(n["border-bottom-color"]=a.bottom.color),a.bottom.width!=null&&a.bottom.width!=""&&!t.includes("borderBottomWidth")&&(n["border-bottom-width"]=a.bottom.width),a.bottom.style&&!t.includes("borderBottomStyle")&&(n["border-bottom-style"]=a.bottom.style)),a.left&&(a.left.color!=null&&a.left.color!=""&&!t.includes("borderLeftColor")&&(n["border-left-color"]=a.left.color),a.left.width!=null&&a.left.width!=""&&!t.includes("borderLeftWidth")&&(n["border-left-width"]=a.left.width),a.left.style&&!t.includes("borderLeftStyle")&&(n["border-left-style"]=a.left.style))),e.border_radius&&(n["border-radius"]=`${e.border_radius}px`),n}),Hl=o("calcFontStyle",(e,t=[])=>{const n={},i=e.labelFont;return i&&(i.color!=null&&i.color!=""&&!t.includes("color")&&(n.color=i.color),i.fontSize!=null&&i.fontSize!=""&&!t.includes("fontSize")&&(n["font-size"]=i.fontSize),i.align&&!t.includes("textAlign")&&(n["text-align"]=i.align,n["text-align-last"]=i.align),i.bold===!0&&!t.includes("fontWeight")&&(n["font-weight"]="bold"),i.italic===!0&&!t.includes("fontStyle")&&(n["font-style"]="italic"),i.textDecoration&&!t.includes("textDecoration")&&(n["text-decoration"]=i.textDecoration)),n});function fn(e,t){let n=e;return Object.keys(t).forEach(i=>{n=n.replace(`{${i}}`,t[i]??""),n=n.replace(`{${i}?}`,t[i]??"")}),n=n.replace(/\/\{[a-z]+\?\}/g,""),n}function Xo(e,t){const{target:n="_blank",noopener:i=!0,noreferrer:s=!0,genUrlData:r,routePath:a="",optionStr:c=""}=t||{},d=[];i&&d.push("noopener=yes"),s&&d.push("noreferrer=yes");let f=e;r&&(f=fn(f,r)),a&&(f+=a);let l=d.join(",");return c&&(l=l?`${l},${c}`:c),window.open(f,n,l)}const xo=J("global-store",{state(){return new gt},getters:{getProjectName(){return this.projectName},geLang(){return this.lang},getAppInfo(){return this.appInfo}},actions:{async init(){const e=location.pathname.split("/")[2];if(e){const t=Dt(e);t&&(this.context=t)}},async loadAppInfo(){const e=await _api.apaas.designerCommon.getGetApp();console.log(e),this.appInfo=e},setProjectName(e){this.projectName=e},setLang(e){this.lang=e}}});class hn{pinia=qe();store;constructor(){et(this.pinia),this.store=xo()}}o("GlobalStoreUtil",hn);class gn{editors=new Map;providers=new Map;register(t,n){this.editors.set(t,n)}unregister(t){this.editors.delete(t)}get(t){if(this.providers.has(t))return this.providers.get(t);const n=this.editors.get(t);if(n){const i=n();return this.providers.set(t,i),i}return null}}o("EditorRegister",gn);class mn{items=new Map;register(t,n){this.items.set(t,n)}unregister(t){this.items.delete(t)}create(t){const n=this.items.get(t);return n?n():null}}o("FormItemRegister",mn);class ge{map=new Map;hooks={register:new Ot,unregister:new Ot};register(t,n){this.map.set(t,n),this.hooks.register.callSync(null,t,n)}unregister(t){this.map.delete(t),this.hooks.unregister.callSync(null,t)}get(t){return this.map.get(t)}keys(){return Array.from(this.map.keys())}}o("RenderRegister",ge);var me=o("EnvironmentType",(e=>(e.DEV="dev",e.TEST="test",e.PROD="prod",e))(me||{}));const jo=o("IP_REG",/^http:\/\/\d{1,3}(\.\d{1,3}){3}:(\d{1,5})$/),bn=o("HOST_REG",/^https?:\/\/([a-z0-9]+)-test\./),Ko=o("APP_RUN_PATH_REG",/\/web-render|\/web\/|web-single\/|dev-single\/|test-single\//),$o=o("APP_PROD_PATH_REG",/\/web\/|\/web-single\//),Zo=o("APP_PREVIEW_PATH_REG",/\/web-render\//),Jo=o("DEV_SINGLE_PATH_REG",/\/dev-single\//),Yo=o("TEST_SINGLE_PATH_REG",/\/test-single\//);class En{_testEnv=!1;_testTenantData={};_platformOrigin;_isHostMode=!1;constructor(){this._platformOrigin=location.origin||"",this._isHostMode=bn.test(this._platformOrigin)}get isAppRun(){return Ko.test(location.pathname)}get isAppProd(){return $o.test(location.pathname)}get isAppPreview(){return Zo.test(location.pathname)}get isDevSingleEnv(){return Jo.test(location.pathname)}get isTestEnv(){return Yo.test(location.pathname)||this._testEnv}get platformOrigin(){return this._platformOrigin}get isHostMode(){return this._isHostMode}get testTenantData(){return this._testTenantData}async checkIsTestEnv(){let t=null;if(this._isHostMode){if(t=this._platformOrigin.match(bn),this._testEnv=!!(t&&t[1]),this._testEnv){const n=await _api.platform.tenant.getInfoByPortOrDomain({domain:t[1]});Object.assign(this._testTenantData,n)}}else{t=this._platformOrigin.match(jo);const n=t&&t[2];if(n){const i=await _api.platform.tenant.getInfoByPortOrDomain({port:n});i&&(Object.assign(this._testTenantData,i),this._testEnv=i.testEnvPort===n)}}}getEnv(){return this.isTestEnv?me.TEST:this.isAppProd?me.PROD:me.DEV}}o("EnvironmentManager",En);class pn{i18n=ot({locale:"zh-CN",fallbackLocale:"en",messages:{en:{message:{hello:"hello world"}},ja:{message:{hello:"こんにちは、世界"}}}});locale="zh-CN";constructor(){this.init()}async init(){await this.loadLocales();const t=this.getMessageUrl({locale:this.locale});await this.loadMessages(t)}async loadLocales(){const t=await(await fetch("/gct-platform/api/i18n-config/list")).json();if(t.code===200){const n=t.data.find(i=>i.defaultLanguage);this.locale=n.languageTag}}async loadMessages(t,n=this.locale){const r=(await(await fetch(t)).text()).split(`
|
|
14
|
-
`).reduce((a,c)=>{const[d,...f]=c.split(":");return a[d]=f.join(":"),a},{});this.i18n.global.mergeLocaleMessage(n,r)}getMessageUrl(t){if("app"in t){const n=t.env==="dev"?`dev_${t.branch}`:t.env;return`minio/${t.app}/locale-js/${n}/${t.locale}__.json`}return`/minio/locale-js/${t.locale}__platform__.json`}}o("LocaleUtil",pn);function Rn(e){e.use(_gct.i18n)}const zo=[];class Qo{router;constructor(){this.router=ct({history:lt(),routes:zo})}async add(t){Array.isArray(t)?t.forEach(n=>this.add(n)):this.router.addRoute(t),await this.router.replace(this.router.currentRoute.value.fullPath)}}function qo(e){e.use(_gct.router)}class Tn{i18nUtil=new pn;i18n=this.i18nUtil.i18n;t(t,n){return this.i18n.global.t(t,n)}storeUtil=new hn;store=this.storeUtil.store;routerUtil=new Qo;router=this.routerUtil.router;message;dictionary=new St;env=new En;register={render:{pad:new ge,mobile:new ge,web:new ge},editor:new gn,formItem:new mn};async init(){await this.env.checkIsTestEnv(),await this.store.init()}}o("GctGlobal",Tn);class Sn{constructor(t){this.model=t,this.init()}evt=new vt;state=new ve;item={};provider={};context={};params={};fields=[];modelMap={};init(){this.model.children&&this.initFormItems(this.model.children),this.initEvent(),this.calcState()}initEvent(){}calcState(){}initFormItems(t){t.forEach(n=>{let i=null;if((n.type==="item"||n.type==="hidden")&&(this.fields.push(n.name),this.modelMap[n.name]=n),n.type==="item"&&(i=_gct.register.formItem.create(`${n.type}___${n.editor.type}___${n.name}`),i||(i=_gct.register.formItem.create(`${n.type}___${n.editor.type}`))),i||(i=_gct.register.formItem.create(n.type)),!i){console.error(`未找到表单项提供者:${n.type}`,n);return}if(this.provider[n.name]=i,n.type==="item"){const s=n;this.item[s.name]=i.createController(this,s)}else if(n.type==="hidden"){const s=n;this.item[s.name]=i.createController(this,s)}else if(n.type==="container"||n.container){const s=n;this.item[n.name]=i.createController(this,s),s.children&&this.initFormItems(s.children)}})}calcHidden(){Object.keys(this.item).forEach(n=>{const i=this.item[n];if(i.model.hidden){const s=i.model.hidden(this,i,this.state.data);s!=null&&(i.state.visible=!s)}})}getData(){const t={};return this.fields.forEach(n=>{const i=this.item[n];i&&(i.state.visible===!0||i.model.type==="hidden")&&(t[i.key]=i.value)}),t}resetData(){this.fields.forEach(t=>{const n=this.item[t];n&&n.reset()})}async load(){try{if(!this.model.loadRequest)return{};this.state.loading=!0;const t=await this.model.loadRequest({id:this.context.id});return this.fields.forEach(n=>{const i=this.item[n];i&&(i.value=t[i.key]),i.defaultValue()}),this.state.loaded=!0,t}finally{this.state.loading=!1}}destroy(){this.state.destroyed=!0,this.evt.reset(),this.fields.forEach(t=>{const n=this.item[t];n&&n.destroy()})}validate(){return Promise.resolve(!0)}validateItem(t){return Promise.resolve(!0)}loaded(){this.calcHidden(),this.fields.forEach(t=>{this.item[t].defaultValue()}),this.calcState()}mounted(){}}o("GctFormController",Sn);class ec extends Sn{initEvent(){super.initEvent(),this.evt.on("change",(t,n,i)=>{if(this.model.watch){const r=this.model.watch[t];r&&r(this,n,i)}const s=this.item[t];s&&s.model.watch&&s.model.watch(this,s,n,i),n!=i&&this.calcHidden(),this.model.autosave===!0&&this.state.loading===!1&&this.autoSave()})}autoSave(){return this.save()}save(){const t=this.getData();return this.state.isNew===!0&&this.model.newRequest?this.model.newRequest(t):this.model.updateRequest?this.model.updateRequest({id:this.context.id},t):Promise.resolve(t)}}o("EditFormController",ec);function tc(e){const t=e();return t.state=v(t.state),_e(()=>t.destroy()),t}class We{model;constructor(t){this.model=t}}o("EditorController",We);class An{constructor(t){this.model=t,this.init()}evt=new vt;context={};params={};state=new ve;item={};provider={};load(){throw new Error("Method not implemented.")}loaded(){throw new Error("Method not implemented.")}destroy(){throw new Error("Method not implemented.")}validate(){throw new Error("Method not implemented.")}validateItem(t){throw new Error("Method not implemented.")}mounted(){throw new Error("Method not implemented.")}init(){this.model.children&&this.initFormItems(this.model.children),this.initEvent()}initEvent(){}initFormItems(t){t.forEach(n=>{let i=null;if(n.type==="item"&&(i=_gct.register.formItem.create(`${n.type}___${n.editor.type}___${n.name}`),i||(i=_gct.register.formItem.create(`${n.type}___${n.editor.type}`))),i||(i=_gct.register.formItem.create(n.type)),!i){console.error(`未找到表单项提供者:${n.type}`,n);return}if(this.provider[n.name]=i,n.type==="item"){const s=n;this.item[s.name]=i.createController(this,n)}else if(n.type==="container"){const s=n;this.item[n.name]=i.createController(this,n),s.children&&this.initFormItems(s.children)}})}getData(){return{}}resetData(){Object.keys(this.state.data).forEach(n=>{const i=this.state.data[n];i&&(typeof i=="object"?Array.isArray(i)?this.state.data[n]=[]:this.state.data[n]={}:this.state.data[n]=null)})}}o("FormController",An);function nc(e){const t=new An(e);return t.state=v(t.state),t}class x{constructor(t,n){this.form=t,this.model=n,this.init()}state=this.crateItemState();get data(){return this.form.state.data}init(){}destroy(){this.state.destroyed=!0}crateItemState(){return new B}}o("FormItemBasicController",x);function ic(e){const t=e();return t.state=v(t.state),t}class rc extends x{type="collapse-pane";crateItemState(){return new mt}}o("FormCollapsePaneController",rc);class ac extends x{type="collapse";crateItemState(){return new bt}}o("FormCollapseController",ac);class sc extends x{type="tab";crateItemState(){return new Et}}o("FormTabController",sc);class oc extends x{type="tab-pane";crateItemState(){return new pt}}o("FormTabPaneController",oc);class cc extends x{type="group";crateItemState(){return new Rt}}o("FormGroupController",cc);class He extends x{get key(){return this.model.field??this.model.name}get value(){return this.form.state.data[this.key]}set value(t){const n=H(this.form.state.data[this.key]);this.form.state.data[this.key]=t,this.form.evt.emit("change",this.key,t,n),this.state.value=t}get editorValue(){return this.model.fields?this.model.fields.map(t=>this.form.item[t].value):this.value}set editorValue(t){this.model.fields?this.model.fields.forEach((n,i)=>{this.form.item[n].value=t?.[i]}):this.value=t}init(){if(super.init(),this.model.type!=="hidden"){const{editor:t}=this.model;this.state.readonly=t.readonly,t.disabled!=null&&(this.state.disabled=t.disabled)}if(this.model.dictionary){const{mode:t}=this.model.dictionary;t==="static"&&(this.state.options=this.model.dictionary.items||[])}}defaultValue(){this.form.state.data[this.key]===void 0&&this.model.defaultValue!==void 0&&(this.form.state.data[this.key]=this.model.defaultValue)}reset(){this.model.defaultValue!==void 0?this.value=this.model.defaultValue:this.value=void 0}blur(){console.warn("FormEditItemController.blur not implemented")}crateItemState(){return new Ne}}o("FormEditItemController",He);class lc extends He{type="item";async loadDictionary(t){if(this.state.options.length>0)return this.state.options;this.state.options=[],this.state.loading=!0;try{return this.model.dictionary?this.state.options=await _gct.dictionary.asyncGetByConfig(this.model.dictionary,t):this.model.dictionaryTag&&(this.state.options=await _gct.dictionary.asyncGet(this.model.dictionaryTag,t)),this.state.options}finally{this.state.loading=!1}}clearDictionary(){this.state.options=[]}blur(){console.warn("FormEditItemController.blur not implemented")}crateItemState(){return new Tt}}o("FormItemController",lc);class uc extends He{type="hidden"}o("FormHiddenItemController",uc);class dc extends We{}o("LengthUnitEditorController",dc);class fc extends We{}o("ColorEditorController",fc);function hc(){return ce(aa)}function _n(){return ce("formController")}function gc(e){let t=null;if(e){const i=_n().item[e];i&&(t=w({get(){return i.value},set(s){typeof s=="string"&&(s=s.trim()),!(typeof s!="object"&&i.value==s)&&(i.value=s)}}))}else{let n=Ie().proxy;const i=n.$props,s=n.$emit;t=w({get:()=>i.value,set:r=>{typeof r=="string"&&(r=r.trim()),!(typeof r!="object"&&i.value==r)&&s("update:value",r)}}),n=null}return t}function mc(e,t){let n=Ie().proxy;const i=n.$props,s=n.$emit,r=e?e.length:0,a=t?t.length:0,c=w({get:()=>{if(!i.value)return"";let d=i.value;return r>0&&d.startsWith(e)&&(d=d.substring(r)),a>0&&d.endsWith(t)&&(d=d.substring(0,d.length-a)),d},set:d=>{if(i.value===d)return;if(d==""){s("update:value","");return}let f=d;r>0&&(f=e+f),a>0&&(f=f+t),s("update:value",f)}});return n=null,c}function bc(e){const t=ce("modal");return t&&e&&(t.ok=e),t}function Ec(e){return new _t(e)}function pc(){return w(()=>window.$wujie?.props)}function Rc(){const e=rt({});return at(()=>{const t=n=>{n.data?.type==="IFRAME_PROPS"&&(e.value=n.data.props)};window.addEventListener("message",t),window.parent.postMessage({type:"IFRAME_READY"},"*"),_e(()=>{window.removeEventListener("message",t)})}),w(()=>e.value)}function Tc(){return w(()=>window.$wujie.bus)}function In(e){return typeof e<"u"}function Sc(e){const t=y(e||""),n=y(!1),i=y(!1);return ne(t,s=>{In(s)&&(i.value=!0,n.value=Ln(s))},{immediate:!!e,flush:"sync"}),{clipboardRef:t,isSuccessRef:n,copiedRef:i}}function Ln(e,{target:t=document.body}={}){const n=document.createElement("textarea"),i=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";const s=document.getSelection();let r;s&&s.rangeCount>0&&(r=s.getRangeAt(0)),t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch(c){throw new Error(c)}return n.remove(),r&&s&&(s.removeAllRanges(),s.addRange(r)),i&&i.focus(),a}const j={UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,INTERNAL_SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504};class Ac{handle(t){console.error(t)}}class _c{handle(t){console.error(t)}}class Ic{handle(t){if(t.type===k.AJAX){new vn().handle(t);return}console.error(t)}}class vn{handle(t){const n=this._extractStatusCode(t.message);if(n)switch(n){case j.UNAUTHORIZED:this._handleUnauthorized();break;case j.FORBIDDEN:this._handleForbidden();break;case j.NOT_FOUND:this._handleNotFound();break;case j.INTERNAL_SERVER_ERROR:case j.BAD_GATEWAY:case j.SERVICE_UNAVAILABLE:case j.GATEWAY_TIMEOUT:this._handleServerError(n);break;default:this._handleGenericHttpError(t);break}else this._handleGenericHttpError(t)}_extractStatusCode(t){const n=t.match(/HTTP\s+(\d{3})|Business\s+Error\s+\[(\d+)\]/);return n?parseInt(n[1]||n[2],10):null}_handleGenericHttpError(t){t.message.includes("Business Error")?console.debug("Handling business error:",t.message):t.message.includes("Network")?console.debug("Handling network error:",t.message):console.debug("Handling HTTP error:",t.message)}_handleUnauthorized(){console.warn("Unauthorized access, redirecting to login...")}_handleForbidden(){console.warn("Access forbidden")}_handleNotFound(){console.warn("Resource not found")}_handleServerError(t){console.warn(`Server error: ${t}`)}}class Ve{static _strategies=new Map;static init(){this.registerStrategy(k.SCRIPT,new Ac),this.registerStrategy(k.VUE,new _c),this.registerStrategy(k.PROMISE,new Ic),this.registerStrategy(k.AJAX,new vn)}static getStrategy(t){return this._strategies.get(t)}static registerStrategy(t,n){this._strategies.set(t,n)}}o("ErrorStrategyFactory",Ve);class U{static _instance;constructor(){this._initializeStrategies()}static getInstance(){return U._instance||(U._instance=new U),U._instance}static init(){U.getInstance()}static handleVueError(t,n,i){const s={type:k.VUE,message:`Vue Error: ${t.message} | Info: ${i}`,stack:t.stack,timestamp:Date.now(),userAgent:navigator.userAgent};this._instance._processError(s)}static reportError(t,n=k.SCRIPT){const i={type:n,message:t.message,stack:t.stack,timestamp:Date.now(),userAgent:navigator.userAgent};this._instance._processError(i)}_initializeStrategies(){Ve.init()}_processError(t){Ve.getStrategy(t.type)?.handle(t)}}o("ErrorHandler",U);async function Nn(e){U.init(),e.config.errorHandler=(t,n,i)=>{U.handleVueError(t,n,i)},e.config.warnHandler=(t,n,i)=>{console.warn(`Vue Warning: ${t}`),i&&console.warn("Trace:",i)},window.addEventListener("error",t=>{U.reportError(new Error(t.message),k.SCRIPT)}),window.addEventListener("unhandledrejection",t=>{U.reportError(t.reason,k.PROMISE)})}var K=o("LoginSortTypeEnum",(e=>(e.SYSTEM="SYSTEM",e.THIRD_PARTY="THIRD_PARTY",e))(K||{})),T=o("LoginTypeEnum",(e=>(e.ACCOUNT="ACCOUNT",e.DOMAIN_ACCOUNT="DOMAIN_ACCOUNT",e.MOBILE="MOBILE",e.DINGDING="DINGDING",e.FEISHU="FEISHU",e.QIYEWEIXIN="QIYEWEIXIN",e))(T||{})),_=o("PlatformSettingEnum",(e=>(e.BASIC="BASE_CFG",e.WATERMARK="MARK_CFG",e.SECURITY="SECURITY_CFG",e.LOGIN="LOGIN_CFG",e.THEME="THEME_CFG",e.ORGANIZATION="ORG_CFG",e.APK="APK_CFG",e.DEPLOY="DEPLOY_CFG",e.GLOBAL="GLOBAL_CFG",e))(_||{})),Lc=o("PassRule",(e=>(e.NUMBER="NUMBER",e.LOWERCASE="LOWERCASE",e.UPPERCASE="UPPERCASE",e.SPECHARS="SPECHARS",e))(Lc||{})),vc=o("KickRuleEnum",(e=>(e.SAME_END="SAME_END",e.DIFFERENT_END="DIFFERENT_END",e))(vc||{})),Xe=o("DeployModeEnum",(e=>(e.STANDARD="STANDARD",e.INDEPENDENT_APP="INDEPENDENT_APP",e))(Xe||{}));const Nc={[T.ACCOUNT]:{icon:"icon-a-Accountnumber",color:"#0E81EC"},[T.DOMAIN_ACCOUNT]:{icon:"icon-a-Domainaccount",color:"#FFAB06"},[T.MOBILE]:{icon:"icon-a-Cellphone",color:"#6A70FE"},[T.DINGDING]:{icon:"DingdingIcon"},[T.FEISHU]:{icon:"FeishuIcon"},[T.QIYEWEIXIN]:{icon:"QiyeweixinIcon"}},yn=o("SYSTEM_LOGIN_KEYS",[T.ACCOUNT,T.DOMAIN_ACCOUNT,T.MOBILE]),On=o("OTHER_LOGIN_KEYS",[T.DINGDING,T.FEISHU,T.QIYEWEIXIN]),be=o("getLoginTypeOptions",e=>e?e.map(t=>({id:t,label:t,value:t,...Nc[t]})):[]),yc=o("RELATION_FIELDS",[{label:"extString0_",value:"ext0",type:1},{label:"extString1_",value:"ext1",type:1},{label:"extString2_",value:"ext2",type:1},{label:"extString3_",value:"ext3",type:1},{label:"extString4_",value:"ext4",type:1},{label:"extInt5_",value:"ext5",type:0},{label:"extInt6_",value:"ext6",type:0},{label:"extInt7_",value:"ext7",type:0},{label:"extInt8_",value:"ext8",type:0},{label:"extInt9_",value:"ext9",type:0}]),Oc=o("MENU_COLLAPSED_WIDTH",46),wc=o("MENU_WIDTH_RANGE",[100,1e3]),Mc=o("THEME_COLORS",["#026AC8","#0DAA9C"]),Cc=o("WATERMARK_INIT_DATA",{openWatermark:!1,watermarkContent:"custom",fontSize:16,color:"#000000",verticalAlign:"middle",textAlign:"center",text:"${username}",transparent:15,width:1600,height:1080}),Ee=v({copyright:'© 2016-<span class="ownInput">${当前年份}</span> 冠骋信息技术(苏州)有限公司 版权所有',description:"",icon:"",loadingImage:"",logo:"",name:"冠骋云PaaS平台",thumbnail:"",version:"暂未支持"});function Dc(e=!0){const t=()=>e?_api.platform.plat.postBase(Se({...Ee},"version")):_api.apaas.plat.postBase(Se({...Ee},"version"));function n(i,s=!0){const{value:r}=i;if(r)try{Object.assign(Ee,s?JSON.parse(r):r,{version:(void 0).version})}catch(a){console.warn(a)}}return{basicSetting:Ee,setBasicSetting:n,postBasicSetting:t}}const xe=v({deployMode:Xe.STANDARD}),Uc=w(()=>xe.deployMode===Xe.INDEPENDENT_APP);function Pc(e){const{value:t}=e;if(t)try{Object.assign(xe,JSON.parse(t))}catch(n){console.warn(n)}}function kc(){return{deploySetting:xe,setDeploySetting:Pc,isIndependentApp:Uc}}const je=y([T.ACCOUNT]),Ke=y([]),$e=y(be(yn)),Ze=y(be(On)),P=v({theme:"full",title:"欢迎登录冠骋云PaaS平台",subtitle:"让数字化赋能客户成功!",logo:"",banner:"",loginModeConfigs:[],openIDOAuthConfigs:[],sortJson:"",defaultAuthType:T.ACCOUNT}),te=v(new Map([[T.ACCOUNT,{address:"",authType:T.ACCOUNT,relationField:"",enabled:0}],[T.DOMAIN_ACCOUNT,{address:"",authType:T.DOMAIN_ACCOUNT,relationField:"",domainSuffix:"",relationFieldName:"",enabled:0}],[T.MOBILE,{smsServiceProvider:"",smsKey:"",smsKeySecret:"",smsTemplateCode:"",smsSignName:"",phoneNumb:"",smsSdkAppId:"",authType:T.MOBILE,enabled:0}],[T.DINGDING,{appId:"",authType:T.DINGDING,secret:"",redirectURL:"",enabled:0}],[T.FEISHU,{appId:"",authType:T.FEISHU,secret:"",redirectURL:"",enabled:0}],[T.QIYEWEIXIN,{appId:"",agentId:"",authType:T.QIYEWEIXIN,secret:"",redirectURL:"",enabled:0,certFileName:""}]]));function Gc(){return{loginSetting:P,postLoginSetting:async()=>{[...je.value,...Ke.value].forEach(i=>{const s=te.get(i);s&&(s.enabled=1)}),P.loginModeConfigs=yn.map(i=>te.get(i)).filter(i=>i!==void 0),P.openIDOAuthConfigs=On.map(i=>te.get(i)).filter(i=>i!==void 0),P.sortJson=JSON.stringify({[K.SYSTEM]:$e.value.map(i=>i.id),[K.THIRD_PARTY]:Ze.value.map(i=>i.id)}),await _api.platform.plat.postLogin(P)},setLoginSetting:n=>{if(n&&n.value){const i=JSON.parse(n.value);for(const r in i)r in P&&(P[r]=i[r]);if(oe(i,"sortJson")&&!it(i.sortJson)){const r=JSON.parse(i.sortJson);oe(r,K.SYSTEM)&&($e.value=be(r[K.SYSTEM])),oe(r,K.THIRD_PARTY)&&(Ze.value=be(r[K.THIRD_PARTY]))}P.loginModeConfigs?.forEach(r=>{te.set(r.authType,{...r,enabled:0})});const s=P.loginModeConfigs?.filter(r=>r.enabled).map(r=>r.authType)||[];s.push(T.ACCOUNT),je.value=[...new Set(s)],P.openIDOAuthConfigs?.forEach(r=>{te.set(r.authType,{...r,enabled:0})}),Ke.value=P.openIDOAuthConfigs?.filter(r=>r.enabled).map(r=>r.authType)||[]}},loginModeAuthTypes:je,openIDOAuthAuthTypes:Ke,sysLoginSort:$e,openIDOAuthAuthSort:Ze,loginModeConfig:te}}const $=v({initialPassword:"123456",initialSignPassword:"12345678",enableIdentifier:1,enableDeleteAccount:1,enableDeleteUser:0,requiredFields:[],supportLoginFields:["username_"],extFieldConfigs:[],orgExtFieldConfigs:[]}),Je=y([...yc]),wn=y([]);function Bc(e=!0){const t=async()=>{const i=JSON.parse(JSON.stringify($));e?await _api.platform.plat.postOrg(i):await _api.apaas.plat.postOrg(i)};function n(i){const{value:s}=i;if(s)try{const r=JSON.parse(s);for(const a in r)a=="supportLoginFields"&&(r.supportLoginFields=r.supportLoginFields.filter(c=>c!=="username_"));Object.assign($,r),$.extFieldConfigs&&$.extFieldConfigs.length&&$.extFieldConfigs.forEach(a=>{Je.value=Je.value.filter(c=>(c.value==a.relationField&&wn.value.push(c),c.value!==a.relationField))}),$.extFieldConfigs=JSON.parse(JSON.stringify(r.extFieldConfigs))}catch(r){console.warn(r)}}return{orgSetting:$,setOrgSetting:n,postOrgSetting:t,relationFields:Je,relationFiledsCopy:wn}}const pe=v({durationHour:2,durationMinute:0,enableChangePassword:1,enableChangeSignPassword:0,enableSignPassword:0,enableKickOut:1,enablePassphrase:1,signEnablePassphrase:1,enableLockAccount:1,expiryDate:30,signExpiryDate:30,firstTimeChangePassword:0,signFirstTimeChangePassword:0,lockTimeout:0,loginKickOutMode:"SAME_END",maxErrorTimes:2,passMinLength:6,signPassMinLength:6,passRule:["NUMBER"],signPassRule:["NUMBER"],signRepeatNum:1,repeatNum:1,timeUnit:"DAYS",signTimeUnit:"DAYS",noOpRetainHour:8,noOpRetainMinute:0,earlyAlarmMinute:5,earlyAlarmSecond:0,inapplicablePerson:[],lockHourTimeout:0,lockMinTimeout:5});function Fc(e=!0){const t=async()=>{e?await _api.platform.plat.postSecurity(pe):await _api.apaas.plat.postSecurity(pe)};function n(i){const{value:s}=i;if(s)try{Object.assign(pe,JSON.parse(s))}catch(r){console.warn(r)}}return{securitySetting:pe,postSecuritySetting:t,setSecuritySetting:n}}const Re=v({darkMode:"light",themeColor:"#026AC8",menuMode:"classic",menuWidth:232,menuCollapsible:!0,menuSearchable:!0,menuFilter:!1,showLogo:!0,showBreadcrumb:!1,showBreadcrumbIcon:!1,showTabs:!0,pageProgress:!0,pageLoading:!0,colorMode:"normal"}),Ye=y(!1),Wc=Oc,Hc=wc,Vc=Mc,Xc=()=>{Re.colorMode};ne(()=>Re.colorMode,e=>{e&&Xc()});function xc(){const e=async()=>{};function t(i){const{value:s}=i;if(s)try{Object.assign(Re,JSON.parse(s))}catch(r){console.warn(r)}}function n(){Ye.value=!Ye.value}return{themeSetting:Re,setThemeSetting:t,postThemeSetting:e,menuCollapsed:Ye,toggleMenuCollapsed:n,menuCollapsedWidth:Wc,menuWidthRange:Hc,themeColors:Vc}}const ze=v({...Cc});function jc(){const e=async()=>{const n=JSON.stringify(ze);await _api.platform.plat.postWatermark({value:n})};function t(n){const{value:i}=n;if(i)try{Object.assign(ze,JSON.parse(i))}catch(s){console.warn(s)}}return{watermarkSetting:ze,postWatermarkSetting:e,setWatermarkSetting:t}}const Mn=v({});function Kc(e){Object.assign(Mn,e)}function $c(){return{projectSetting:Mn,setProjectConfig:Kc}}const Zc=o("usePlatformConfigStore",J("platform-config",()=>{const e=Dc(),t=Gc(),n=Bc(),i=Fc(),s=xc(),r=jc(),a=kc(),c=$c();async function d(){const l=await _api.platform.plat.getList(),u={};l&&l.length>0&&l.forEach(g=>{if(g.value)try{u[g.configEnum]=JSON.parse(g.value)}catch(m){console.warn(`${g.configEnum}配置解析失败`,m,g)}}),u[_.BASIC]&&e.setBasicSetting(u[_.BASIC]),u[_.LOGIN]&&t.setLoginSetting(u[_.LOGIN]),u[_.ORGANIZATION]&&n.setOrgSetting(u[_.ORGANIZATION]),u[_.SECURITY]&&i.setSecuritySetting(u[_.SECURITY]),u[_.THEME]&&s.setThemeSetting(u[_.THEME]),u[_.WATERMARK]&&r.setWatermarkSetting(u[_.WATERMARK]),u[_.DEPLOY]&&a.setDeploySetting(u[_.DEPLOY]),console.debug("平台配置初始化完成",u)}async function f(){const l=await _api.apaas.basicConfig.getDetail({configEnum:_.THEME});l&&s.setThemeSetting(l)}return{init:d,renderInit:f,...e,...t,...n,...i,...s,...r,...a,...c}})),Vl=o("useUserStore",J("user",{state:()=>({userInfo:{},roleList:[],sessionTimeout:!1,lastUpdateTime:0}),getters:{getUserInfo(e){return e.userInfo}},actions:{async login(e,{hasError:t}={}){try{const n=await Jc(e,t),{token:i,signWay:s}=n;return sessionStorage.setItem("signWay",s),wt(i),this.afterLoginAction()}catch(n){return Promise.reject(n)}},async getUserInfoAction(e){if(!le&&!e)return null;const t=await _api.platform.user.getInfo({headers:{Token:e}});return this.setUserInfo(t),t},async afterLoginSingleApp(){},async afterLoginAction(){if(!le)return null},async logout(){await Yc()},async setUserInfo(e){this.userInfo={...e,minioDomain:"/minio"},this.lastUpdateTime=new Date().getTime()},async updateUserInfo(e){const t={...this.userInfo,...e};this.setUserInfo(t)}}}));async function Jc(e,{hasError:t=!0}={}){const n=await Fe();return await _api.platform.login.postSign(e,{headers:{browser:n,"Auth-Code":e.authCode,hasError:t}})}async function Yc(){const e=sessionStorage.getItem("currentPlatOrAppId"),t=_gct.env.getEnv(),n=await Fe(),i={appId:e&&JSON.parse(e).appId,platform:e&&JSON.parse(e).type,env:t},s=dn();await _api.platform.login.getSignOut(i,{headers:{browser:n,pagetag:s}})}const Xl=o("useTenantStore",J("tenant",{state:()=>({tenantId:"",tenantUserInfo:{},tenantUserPermissions:{}}),actions:{setTenant(e){this.tenantId=e},async getTenantUserInfoAction(){if(!this.tenantId)return;const e=await _api.platform.tenant.getUserInfo();return this.tenantUserInfo=e,e}}})),xl=o("usePermissionStore",J("permission",{state:()=>({userPermissions:{appSuperAdmin:0,permissions:{}}}),getters:{hasAllPermissions(e){return!!e.userPermissions.appSuperAdmin||!!e.userPermissions.permissions["POINT.*"]}},actions:{getPermissionByKey(e,t){if(this.hasAllPermissions)return!0;if(!t)return this.userPermissions.permissions[e];const n=`${e}.${t}`,i=`${e}.*`;return this.userPermissions.permissions[n]||this.userPermissions.permissions[i]},async initPermission(){const e=await _api.apaas.designerCommon.getUserInfo();Object.assign(this.userPermissions,{...e,permissions:Object.fromEntries((e?.permissions??[]).map(t=>[t,!0]))})}}}));async function zc(e){await Nn(e),ut.use(Ut),Rn(e),qo(e),await _gct.init(),await Zc().init()}function Cn(){if(window._gct){console.warn("核心包已安装,请勿重复安装!");return}console.info("核心包安装成功!"),window._gct=new Tn,Object.defineProperty(window._gct,"api",{get(){return Le}}),Object.defineProperty(window,"_api",{get(){return Le}})}})}}));
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 编辑器类型
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @enum {number}
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* 编辑器类型
|
|
9
|
-
*
|
|
10
|
-
* @author zhanghanrui
|
|
11
|
-
* @date 2024-03-27 10:03:19
|
|
12
|
-
* @export
|
|
13
|
-
* @enum {number}
|
|
14
|
-
*/
|
|
15
|
-
export declare enum EditorType {
|
|
16
|
-
/**
|
|
17
|
-
* 带单位长度字符串编辑器
|
|
18
|
-
*/
|
|
19
|
-
LENGTH_UNIT = "length-unit",
|
|
20
|
-
/**
|
|
21
|
-
* 颜色选择编辑器
|
|
22
|
-
*/
|
|
23
|
-
COLOR = "color",
|
|
24
|
-
/**
|
|
25
|
-
* 纯文本展示编辑器
|
|
26
|
-
*/
|
|
27
|
-
SPAN = "span",
|
|
28
|
-
/**
|
|
29
|
-
* 文本编辑器
|
|
30
|
-
*/
|
|
31
|
-
TEXT = "text",
|
|
32
|
-
/**
|
|
33
|
-
* 数值编辑器
|
|
34
|
-
*/
|
|
35
|
-
NUMBER = "number",
|
|
36
|
-
/**
|
|
37
|
-
* 纯信息呈现
|
|
38
|
-
*/
|
|
39
|
-
INFO = "info",
|
|
40
|
-
/**
|
|
41
|
-
* 根据模型或者字段进行的纯信息展示
|
|
42
|
-
*/
|
|
43
|
-
MSG = "msg",
|
|
44
|
-
/**
|
|
45
|
-
* 下拉选择编辑器
|
|
46
|
-
*/
|
|
47
|
-
SELECT = "select",
|
|
48
|
-
/**
|
|
49
|
-
* 分组下拉选择编辑器
|
|
50
|
-
*/
|
|
51
|
-
SELECT_GROUP = "select-group",
|
|
52
|
-
/**
|
|
53
|
-
* 单选框编辑器
|
|
54
|
-
*/
|
|
55
|
-
RADIO = "radio",
|
|
56
|
-
/**
|
|
57
|
-
* 数据选择器编辑器
|
|
58
|
-
*/
|
|
59
|
-
PICKER = "picker",
|
|
60
|
-
/**
|
|
61
|
-
* 数据选择多选编辑器
|
|
62
|
-
*/
|
|
63
|
-
MULTIPLE_CHOICE = "multiple-choice",
|
|
64
|
-
/**
|
|
65
|
-
* 多语言选择编辑器
|
|
66
|
-
*/
|
|
67
|
-
I18N = "i18n",
|
|
68
|
-
/**
|
|
69
|
-
* 多行文本编辑器
|
|
70
|
-
*/
|
|
71
|
-
TEXTAREA = "textarea",
|
|
72
|
-
/**
|
|
73
|
-
* 日期时间范围选择编辑器
|
|
74
|
-
*/
|
|
75
|
-
DATE_RANGE = "date-range",
|
|
76
|
-
/**
|
|
77
|
-
* 开关组件
|
|
78
|
-
*/
|
|
79
|
-
SWITCH = "switch",
|
|
80
|
-
/**
|
|
81
|
-
* 选框类型开关
|
|
82
|
-
*/
|
|
83
|
-
CHECK_SWITCH = "check-switch",
|
|
84
|
-
/**
|
|
85
|
-
* 图标选择
|
|
86
|
-
*/
|
|
87
|
-
ICON_SELECT = "icon-select",
|
|
88
|
-
/**
|
|
89
|
-
* 复选框
|
|
90
|
-
*/
|
|
91
|
-
CHECKBOX = "checkbox",
|
|
92
|
-
/**
|
|
93
|
-
* 日期
|
|
94
|
-
*/
|
|
95
|
-
DATE = "date",
|
|
96
|
-
/**
|
|
97
|
-
* 平台模型选择
|
|
98
|
-
*/
|
|
99
|
-
MODEL_SELECT = "model-select",
|
|
100
|
-
/**
|
|
101
|
-
* 按钮行为
|
|
102
|
-
*/
|
|
103
|
-
ACTION = "action",
|
|
104
|
-
/**
|
|
105
|
-
* 表格编辑器
|
|
106
|
-
*/
|
|
107
|
-
TABLE = "table",
|
|
108
|
-
/**
|
|
109
|
-
* 表格选择编辑器
|
|
110
|
-
*/
|
|
111
|
-
SELECT_TABLE = "select-table",
|
|
112
|
-
/**
|
|
113
|
-
* 空显示
|
|
114
|
-
*/
|
|
115
|
-
EMPTY = "empty",
|
|
116
|
-
/**
|
|
117
|
-
* 表单模型字段选择编辑器
|
|
118
|
-
*/
|
|
119
|
-
FORM_MODEL_FIELD_SELECT = "form-model-field-select",
|
|
120
|
-
/**
|
|
121
|
-
* 像素模式配置
|
|
122
|
-
*/
|
|
123
|
-
PIXEL_CONFIG = "pixel-config",
|
|
124
|
-
/**
|
|
125
|
-
* 界面配置中,属性配置的基本信息
|
|
126
|
-
*/
|
|
127
|
-
FIELD_INFO = "field-info",
|
|
128
|
-
/**
|
|
129
|
-
* 日期与日期时间类型的格式化选择编辑器
|
|
130
|
-
*/
|
|
131
|
-
DATE_FORMAT_SELECT = "date-format-select",
|
|
132
|
-
/**
|
|
133
|
-
* 公式编辑器
|
|
134
|
-
*/
|
|
135
|
-
FORMULA = "formula"
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* 旧编辑器类型标识
|
|
139
|
-
*
|
|
140
|
-
* @export
|
|
141
|
-
* @enum {number}
|
|
142
|
-
*/
|
|
143
|
-
export declare enum EditorTypeOld {
|
|
144
|
-
/**
|
|
145
|
-
* 带单位长度字符串编辑器
|
|
146
|
-
*/
|
|
147
|
-
LENGTH_UNIT = "length-unit-editor",
|
|
148
|
-
/**
|
|
149
|
-
* 颜色选择编辑器
|
|
150
|
-
*/
|
|
151
|
-
COLOR = "color-editor",
|
|
152
|
-
/**
|
|
153
|
-
* 纯文本展示编辑器
|
|
154
|
-
*/
|
|
155
|
-
SPAN = "span-editor",
|
|
156
|
-
/**
|
|
157
|
-
* 文本编辑器
|
|
158
|
-
*/
|
|
159
|
-
TEXT = "text-editor",
|
|
160
|
-
/**
|
|
161
|
-
* 数值编辑器
|
|
162
|
-
*/
|
|
163
|
-
NUMBER = "number-editor",
|
|
164
|
-
/**
|
|
165
|
-
* 纯信息呈现
|
|
166
|
-
*/
|
|
167
|
-
INFO = "info-editor",
|
|
168
|
-
/**
|
|
169
|
-
* 下拉选择编辑器
|
|
170
|
-
*/
|
|
171
|
-
SELECT = "select-editor",
|
|
172
|
-
/**
|
|
173
|
-
* 下拉选择编辑器
|
|
174
|
-
*/
|
|
175
|
-
MODEL_SELECT = "model-editor",
|
|
176
|
-
/**
|
|
177
|
-
* 下拉字段编辑器
|
|
178
|
-
*/
|
|
179
|
-
Field_SELECT = "field-editor",
|
|
180
|
-
/**
|
|
181
|
-
* 单选框编辑器
|
|
182
|
-
*/
|
|
183
|
-
RADIO = "radio-editor",
|
|
184
|
-
/**
|
|
185
|
-
* 数据选择器编辑器
|
|
186
|
-
*/
|
|
187
|
-
PICKER = "picker-editor",
|
|
188
|
-
/**
|
|
189
|
-
* 多语言选择编辑器
|
|
190
|
-
*/
|
|
191
|
-
I18N = "i18n-editor",
|
|
192
|
-
/**
|
|
193
|
-
* 多行文本编辑器
|
|
194
|
-
*/
|
|
195
|
-
TEXTAREA = "textarea-editor",
|
|
196
|
-
/**
|
|
197
|
-
* 日期时间范围选择编辑器
|
|
198
|
-
*/
|
|
199
|
-
DATE_RANGE = "date-range-editor",
|
|
200
|
-
/**
|
|
201
|
-
* 开关组件
|
|
202
|
-
*/
|
|
203
|
-
SWITCH = "switch-editor",
|
|
204
|
-
/**
|
|
205
|
-
* 选框类型开关
|
|
206
|
-
*/
|
|
207
|
-
CHECK_SWITCH = "check-switch-editor",
|
|
208
|
-
/**
|
|
209
|
-
* 图标选择
|
|
210
|
-
*/
|
|
211
|
-
ICON_SELECT = "icon-select-editor",
|
|
212
|
-
/**
|
|
213
|
-
* 复选框
|
|
214
|
-
*/
|
|
215
|
-
CHECKBOX = "checkbox-editor",
|
|
216
|
-
/**
|
|
217
|
-
* 边距
|
|
218
|
-
*/
|
|
219
|
-
BORDER = "border-editor",
|
|
220
|
-
/**
|
|
221
|
-
* 边框圆角
|
|
222
|
-
*/
|
|
223
|
-
BORDER_RADIUS = "border-radius-editor",
|
|
224
|
-
/**
|
|
225
|
-
* 文本对齐方式
|
|
226
|
-
*/
|
|
227
|
-
ALIGN = "align-editor",
|
|
228
|
-
/**
|
|
229
|
-
* 字体样式
|
|
230
|
-
*/
|
|
231
|
-
FONT_STYLE = "font-style-editor",
|
|
232
|
-
/**
|
|
233
|
-
* 位置
|
|
234
|
-
*/
|
|
235
|
-
POSITION = "position-editor",
|
|
236
|
-
/**
|
|
237
|
-
* 间距
|
|
238
|
-
*/
|
|
239
|
-
SPACING = "spacing-editor",
|
|
240
|
-
/**
|
|
241
|
-
* 间距
|
|
242
|
-
*/
|
|
243
|
-
MARGIN = "margin-editor"
|
|
244
|
-
}
|