@gct-paas/core 0.1.4-dev.9 → 0.1.5-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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.mjs +152 -144
- package/es/constants/expression-type/FunctionKeys.mjs +75 -79
- package/es/constants/expression-type/editor.mjs +10 -3
- package/es/constants/expression-type/function.mjs +602 -613
- package/es/constants/expression-type/index.mjs +111 -113
- package/es/constants/expression-type/modeCfg.mjs +256 -263
- package/es/constants/expression-type/variable.mjs +43 -39
- package/es/constants/form-container-type/form-container-type.mjs +17 -5
- package/es/constants/index.d.ts +7 -1
- package/es/constants/index.mjs +32 -10
- 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 -9
- package/es/enums/app-designer/index.d.ts +19 -0
- package/es/enums/app-designer/index.mjs +131 -63
- package/es/enums/appEnum.mjs +681 -360
- 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 +7 -1
- package/es/enums/designEnum.mjs +110 -68
- package/es/enums/developer-center/integration.mjs +7 -6
- package/es/enums/exceptionEnum.mjs +21 -17
- package/es/enums/expressionEnum.d.ts +2 -2
- package/es/enums/expressionEnum.mjs +81 -74
- 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.mjs +44 -14
- package/es/enums/menuEnum.mjs +42 -38
- package/es/enums/page-designer/designer.d.ts +1 -8
- package/es/enums/page-designer/designer.mjs +403 -407
- 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.mjs +341 -213
- 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.mjs +95 -60
- 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 +240 -4
- package/es/global/gct/gct.mjs +98 -90
- package/es/global/index.mjs +1 -0
- package/es/hooks/index.d.ts +0 -2
- 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 +1 -3
- package/es/index.mjs +128 -132
- 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 +4 -6
- package/es/interface/model-designer/entity.d.ts +110 -0
- package/es/interface/provider/index.d.ts +0 -2
- package/es/locale/index.d.ts +11 -3
- package/es/locale/index.mjs +75 -57
- 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 -101
- package/es/modules/user-stores/types/user.d.ts +1 -0
- package/es/router/index.mjs +25 -28
- package/es/setup-app.d.ts +1 -1
- package/es/setup-app.mjs +22 -28
- 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 -57
- 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 +18 -0
- package/es/utils/axios/interceptors.mjs +22 -17
- package/es/utils/cache-adapter/cache-adapter.mjs +61 -56
- 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 +14 -4
- 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.mjs +13 -18
- package/es/utils/lowcode/validate.mjs +20 -26
- package/es/utils/mitt/mitt.mjs +4 -4
- package/es/utils/model-loader/model-loader.mjs +288 -325
- package/es/utils/namespace/namespace.mjs +178 -164
- package/es/utils/openUtil/index.mjs +2 -0
- package/es/utils/openUtil/modal/modal.mjs +72 -79
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +144 -138
- 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 -57
- package/es/utils/treeHelper/treeHelper.d.ts +3 -9
- package/es/utils/treeHelper/treeHelper.mjs +205 -233
- 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 +2 -0
- package/es/utils/uuid/uuid.mjs +33 -43
- package/es/utils/validate.d.ts +5 -0
- package/es/utils/validate.mjs +21 -0
- package/es/utils/value-helper/value-helper.mjs +113 -98
- package/package.json +18 -27
- package/dist/index.esm.min.mjs +0 -7973
- package/dist/index.min.cjs +0 -386
- package/dist/index.system.min.js +0 -386
- 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-overlay-scrollbars/use-overlay-scrollbars.d.ts +0 -11
- 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/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 -14
- 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 -23
|
@@ -1,175 +1,199 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
1
|
+
import { ErrorTypeEnum } from "../../enums/exceptionEnum.mjs";
|
|
2
|
+
import { HTTP_STATUS_CODE } from "./error-handler.const.mjs";
|
|
3
|
+
//#region src/modules/error-handler/error-strategy.ts
|
|
4
|
+
/**
|
|
5
|
+
* JavaScript 错误处理策略
|
|
6
|
+
* 负责处理 JavaScript 运行时错误
|
|
7
|
+
*
|
|
8
|
+
* @export
|
|
9
|
+
* @class JavaScriptErrorStrategy
|
|
10
|
+
* @implements {IErrorHandlerStrategy}
|
|
11
|
+
*/
|
|
12
|
+
var JavaScriptErrorStrategy = class {
|
|
13
|
+
/**
|
|
14
|
+
* 处理 JavaScript 错误
|
|
15
|
+
*
|
|
16
|
+
* @param {IErrorInfo} errorInfo 错误信息
|
|
17
|
+
*/
|
|
18
|
+
handle(errorInfo) {
|
|
19
|
+
console.error(errorInfo);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Vue 组件错误处理策略
|
|
24
|
+
* 负责处理 Vue 组件相关错误
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @class VueErrorStrategy
|
|
28
|
+
* @implements {IErrorHandlerStrategy}
|
|
29
|
+
*/
|
|
30
|
+
var VueErrorStrategy = class {
|
|
31
|
+
/**
|
|
32
|
+
* 处理 Vue 组件错误
|
|
33
|
+
*
|
|
34
|
+
* @param {IErrorInfo} errorInfo 错误信息
|
|
35
|
+
*/
|
|
36
|
+
handle(errorInfo) {
|
|
37
|
+
console.error(errorInfo);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Promise 错误处理策略
|
|
42
|
+
* 负责处理未捕获的 Promise 异常,包括 HTTP 请求错误
|
|
43
|
+
*
|
|
44
|
+
* @export
|
|
45
|
+
* @class PromiseErrorStrategy
|
|
46
|
+
* @implements {IErrorHandlerStrategy}
|
|
47
|
+
*/
|
|
48
|
+
var PromiseErrorStrategy = class {
|
|
49
|
+
/**
|
|
50
|
+
* 处理 Promise 错误
|
|
51
|
+
*
|
|
52
|
+
* @param {IErrorInfo} errorInfo 错误信息
|
|
53
|
+
*/
|
|
54
|
+
handle(errorInfo) {
|
|
55
|
+
if (errorInfo.type === ErrorTypeEnum.AJAX) {
|
|
56
|
+
new HttpErrorStrategy().handle(errorInfo);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
console.error(errorInfo);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* HTTP 错误处理策略
|
|
64
|
+
* 负责处理 HTTP 请求相关错误,包括网络错误和业务错误
|
|
65
|
+
*
|
|
66
|
+
* @export
|
|
67
|
+
* @class HttpErrorStrategy
|
|
68
|
+
* @implements {IErrorHandlerStrategy}
|
|
69
|
+
*/
|
|
70
|
+
var HttpErrorStrategy = class {
|
|
71
|
+
/**
|
|
72
|
+
* 处理 HTTP 错误
|
|
73
|
+
*
|
|
74
|
+
* @param {IErrorInfo} errorInfo 错误信息
|
|
75
|
+
*/
|
|
76
|
+
handle(errorInfo) {
|
|
77
|
+
const status = this._extractStatusCode(errorInfo.message);
|
|
78
|
+
if (status) switch (status) {
|
|
79
|
+
case HTTP_STATUS_CODE.UNAUTHORIZED:
|
|
80
|
+
this._handleUnauthorized();
|
|
81
|
+
break;
|
|
82
|
+
case HTTP_STATUS_CODE.FORBIDDEN:
|
|
83
|
+
this._handleForbidden();
|
|
84
|
+
break;
|
|
85
|
+
case HTTP_STATUS_CODE.NOT_FOUND:
|
|
86
|
+
this._handleNotFound();
|
|
87
|
+
break;
|
|
88
|
+
case HTTP_STATUS_CODE.INTERNAL_SERVER_ERROR:
|
|
89
|
+
case HTTP_STATUS_CODE.BAD_GATEWAY:
|
|
90
|
+
case HTTP_STATUS_CODE.SERVICE_UNAVAILABLE:
|
|
91
|
+
case HTTP_STATUS_CODE.GATEWAY_TIMEOUT:
|
|
92
|
+
this._handleServerError(status);
|
|
93
|
+
break;
|
|
94
|
+
default:
|
|
95
|
+
this._handleGenericHttpError(errorInfo);
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
else this._handleGenericHttpError(errorInfo);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* 从错误消息中提取 HTTP 状态码
|
|
102
|
+
*
|
|
103
|
+
* @private
|
|
104
|
+
* @param {string} message 错误消息
|
|
105
|
+
* @return {number | null} HTTP 状态码,如果没有找到则返回 null
|
|
106
|
+
*/
|
|
107
|
+
_extractStatusCode(message) {
|
|
108
|
+
const statusMatch = message.match(/HTTP\s+(\d{3})|Business\s+Error\s+\[(\d+)\]/);
|
|
109
|
+
if (statusMatch) return parseInt(statusMatch[1] || statusMatch[2], 10);
|
|
110
|
+
return null;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* 处理通用 HTTP 错误
|
|
114
|
+
*
|
|
115
|
+
* @private
|
|
116
|
+
* @param {IErrorInfo} errorInfo 错误信息
|
|
117
|
+
*/
|
|
118
|
+
_handleGenericHttpError(errorInfo) {
|
|
119
|
+
if (errorInfo.message.includes("Business Error")) console.debug("Handling business error:", errorInfo.message);
|
|
120
|
+
else if (errorInfo.message.includes("Network")) console.debug("Handling network error:", errorInfo.message);
|
|
121
|
+
else console.debug("Handling HTTP error:", errorInfo.message);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* 处理未授权错误
|
|
125
|
+
*
|
|
126
|
+
* @private
|
|
127
|
+
*/
|
|
128
|
+
_handleUnauthorized() {
|
|
129
|
+
console.warn("Unauthorized access, redirecting to login...");
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* 处理禁止访问错误
|
|
133
|
+
*
|
|
134
|
+
* @private
|
|
135
|
+
*/
|
|
136
|
+
_handleForbidden() {
|
|
137
|
+
console.warn("Access forbidden");
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* 处理资源未找到错误
|
|
141
|
+
*
|
|
142
|
+
* @private
|
|
143
|
+
*/
|
|
144
|
+
_handleNotFound() {
|
|
145
|
+
console.warn("Resource not found");
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* 处理服务器错误
|
|
149
|
+
*
|
|
150
|
+
* @private
|
|
151
|
+
* @param {number} [status] HTTP 状态码
|
|
152
|
+
*/
|
|
153
|
+
_handleServerError(status) {
|
|
154
|
+
console.warn(`Server error: ${status}`);
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* 错误处理策略工厂
|
|
159
|
+
* 负责根据错误类型创建对应的处理策略
|
|
160
|
+
*
|
|
161
|
+
* @export
|
|
162
|
+
* @class ErrorStrategyFactory
|
|
163
|
+
*/
|
|
164
|
+
var ErrorStrategyFactory = class {
|
|
165
|
+
static _strategies = /* @__PURE__ */ new Map();
|
|
166
|
+
/**
|
|
167
|
+
* 初始化策略工厂
|
|
168
|
+
*
|
|
169
|
+
* @static
|
|
170
|
+
*/
|
|
171
|
+
static init() {
|
|
172
|
+
this.registerStrategy(ErrorTypeEnum.SCRIPT, new JavaScriptErrorStrategy());
|
|
173
|
+
this.registerStrategy(ErrorTypeEnum.VUE, new VueErrorStrategy());
|
|
174
|
+
this.registerStrategy(ErrorTypeEnum.PROMISE, new PromiseErrorStrategy());
|
|
175
|
+
this.registerStrategy(ErrorTypeEnum.AJAX, new HttpErrorStrategy());
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* 获取错误处理策略
|
|
179
|
+
*
|
|
180
|
+
* @static
|
|
181
|
+
* @param {ErrorTypeEnum} type 错误类型
|
|
182
|
+
* @return {IErrorHandlerStrategy | undefined} 错误处理策略
|
|
183
|
+
*/
|
|
184
|
+
static getStrategy(type) {
|
|
185
|
+
return this._strategies.get(type);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* 注册自定义错误处理策略
|
|
189
|
+
*
|
|
190
|
+
* @static
|
|
191
|
+
* @param {ErrorTypeEnum} type 错误类型
|
|
192
|
+
* @param {IErrorHandlerStrategy} strategy 错误处理策略
|
|
193
|
+
*/
|
|
194
|
+
static registerStrategy(type, strategy) {
|
|
195
|
+
this._strategies.set(type, strategy);
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
//#endregion
|
|
199
|
+
export { ErrorStrategyFactory };
|
|
@@ -1,108 +1,122 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
1
|
+
import { ErrorTypeEnum } from "../../enums/exceptionEnum.mjs";
|
|
2
|
+
import { ErrorStrategyFactory } from "./error-strategy.mjs";
|
|
3
|
+
//#region src/modules/error-handler/index.ts
|
|
4
|
+
/**
|
|
5
|
+
* 全局异常处理器
|
|
6
|
+
* 负责捕获和处理各种类型的异常,包括 Vue 组件异常、JavaScript 异常、
|
|
7
|
+
* 资源加载异常、Ajax 请求异常、Promise 异常等
|
|
8
|
+
*
|
|
9
|
+
* 采用策略模式和单例模式设计,支持扩展和配置
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
* @class ErrorHandler
|
|
13
|
+
*/
|
|
14
|
+
var ErrorHandler = class ErrorHandler {
|
|
15
|
+
static _instance;
|
|
16
|
+
/**
|
|
17
|
+
* 私有构造函数,实现单例模式
|
|
18
|
+
*
|
|
19
|
+
* @private
|
|
20
|
+
*/
|
|
21
|
+
constructor() {
|
|
22
|
+
this._initializeStrategies();
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 获取单例实例
|
|
26
|
+
*
|
|
27
|
+
* @static
|
|
28
|
+
* @return {ErrorHandler} 错误处理器实例
|
|
29
|
+
*/
|
|
30
|
+
static getInstance() {
|
|
31
|
+
if (!ErrorHandler._instance) ErrorHandler._instance = new ErrorHandler();
|
|
32
|
+
return ErrorHandler._instance;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 初始化全局异常处理
|
|
36
|
+
* 设置全局异常监听器和处理策略
|
|
37
|
+
*
|
|
38
|
+
* @static
|
|
39
|
+
*/
|
|
40
|
+
static init() {
|
|
41
|
+
ErrorHandler.getInstance();
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 处理 Vue 组件异常
|
|
45
|
+
*
|
|
46
|
+
* @static
|
|
47
|
+
* @param {Error} error 错误对象
|
|
48
|
+
* @param {unknown} _vm Vue 组件实例
|
|
49
|
+
* @param {string} info 错误信息
|
|
50
|
+
*/
|
|
51
|
+
static handleVueError(error, _vm, info) {
|
|
52
|
+
const errorInfo = {
|
|
53
|
+
type: ErrorTypeEnum.VUE,
|
|
54
|
+
message: `Vue Error: ${error.message} | Info: ${info}`,
|
|
55
|
+
stack: error.stack,
|
|
56
|
+
timestamp: Date.now(),
|
|
57
|
+
userAgent: navigator.userAgent
|
|
58
|
+
};
|
|
59
|
+
this._instance._processError(errorInfo);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* 手动报告错误
|
|
63
|
+
*
|
|
64
|
+
* @static
|
|
65
|
+
* @param {Error} error 错误对象
|
|
66
|
+
* @param {ErrorTypeEnum} [type=ErrorTypeEnum.SCRIPT] 错误类型
|
|
67
|
+
*/
|
|
68
|
+
static reportError(error, type = ErrorTypeEnum.SCRIPT) {
|
|
69
|
+
const errorInfo = {
|
|
70
|
+
type,
|
|
71
|
+
message: error.message,
|
|
72
|
+
stack: error.stack,
|
|
73
|
+
timestamp: Date.now(),
|
|
74
|
+
userAgent: navigator.userAgent
|
|
75
|
+
};
|
|
76
|
+
this._instance._processError(errorInfo);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* 初始化错误处理策略
|
|
80
|
+
*
|
|
81
|
+
* @private
|
|
82
|
+
*/
|
|
83
|
+
_initializeStrategies() {
|
|
84
|
+
ErrorStrategyFactory.init();
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* 处理错误信息
|
|
88
|
+
*
|
|
89
|
+
* @private
|
|
90
|
+
* @param {IErrorInfo} errorInfo 错误信息
|
|
91
|
+
*/
|
|
92
|
+
_processError(errorInfo) {
|
|
93
|
+
ErrorStrategyFactory.getStrategy(errorInfo.type)?.handle(errorInfo);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* 设置全局错误处理器
|
|
98
|
+
*
|
|
99
|
+
* @author chitanda
|
|
100
|
+
* @date 2025-08-20 13:08:23
|
|
101
|
+
* @export
|
|
102
|
+
* @param {App} app
|
|
103
|
+
* @returns {*} {Promise<void>}
|
|
104
|
+
*/
|
|
89
105
|
async function setupErrorHandler(app) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
ErrorHandler.reportError(event.reason, ErrorTypeEnum.PROMISE);
|
|
105
|
-
});
|
|
106
|
+
ErrorHandler.init();
|
|
107
|
+
app.config.errorHandler = (error, vm, info) => {
|
|
108
|
+
ErrorHandler.handleVueError(error, vm, info);
|
|
109
|
+
};
|
|
110
|
+
app.config.warnHandler = (msg, _vm, trace) => {
|
|
111
|
+
console.warn(`Vue Warning: ${msg}`);
|
|
112
|
+
if (trace) console.warn("Trace:", trace);
|
|
113
|
+
};
|
|
114
|
+
window.addEventListener("error", (event) => {
|
|
115
|
+
ErrorHandler.reportError(new Error(event.message), ErrorTypeEnum.SCRIPT);
|
|
116
|
+
});
|
|
117
|
+
window.addEventListener("unhandledrejection", (event) => {
|
|
118
|
+
ErrorHandler.reportError(event.reason, ErrorTypeEnum.PROMISE);
|
|
119
|
+
});
|
|
106
120
|
}
|
|
107
|
-
|
|
108
|
-
export { ErrorHandler,
|
|
121
|
+
//#endregion
|
|
122
|
+
export { ErrorHandler, setupErrorHandler };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MQTT 默认连接选项
|
|
3
|
+
*
|
|
4
|
+
* @description 连接时未显式指定的选项将使用以下默认值
|
|
5
|
+
*/
|
|
6
|
+
export declare const MQTT_DEFAULT_CONNECT_OPTIONS: {
|
|
7
|
+
/** 心跳保活间隔(秒),0 表示禁用 */
|
|
8
|
+
readonly keepalive: 60;
|
|
9
|
+
/** 连接超时时间(毫秒) */
|
|
10
|
+
readonly connectTimeout: 30000;
|
|
11
|
+
/**
|
|
12
|
+
* 重连间隔(毫秒),由 mqtt.js 内置重连机制使用
|
|
13
|
+
* 设为 0 可禁用自动重连
|
|
14
|
+
*/
|
|
15
|
+
readonly reconnectPeriod: 5000;
|
|
16
|
+
/** 是否清除会话,true 表示每次重连后订阅信息不保留 */
|
|
17
|
+
readonly clean: false;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* MQTT 连接级事件名称常量
|
|
21
|
+
*/
|
|
22
|
+
export declare const MQTT_CLIENT_EVENT: {
|
|
23
|
+
/** 成功建立连接 */
|
|
24
|
+
readonly CONNECT: "connect";
|
|
25
|
+
/** 重连中 */
|
|
26
|
+
readonly RECONNECT: "reconnect";
|
|
27
|
+
/** 连接已断开 */
|
|
28
|
+
readonly DISCONNECT: "disconnect";
|
|
29
|
+
/** 发生错误 */
|
|
30
|
+
readonly ERROR: "error";
|
|
31
|
+
/** 收到消息 */
|
|
32
|
+
readonly MESSAGE: "message";
|
|
33
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region src/modules/mqtt/constants/mqtt.const.ts
|
|
2
|
+
/**
|
|
3
|
+
* MQTT 默认连接选项
|
|
4
|
+
*
|
|
5
|
+
* @description 连接时未显式指定的选项将使用以下默认值
|
|
6
|
+
*/
|
|
7
|
+
var MQTT_DEFAULT_CONNECT_OPTIONS = {
|
|
8
|
+
keepalive: 60,
|
|
9
|
+
connectTimeout: 3e4,
|
|
10
|
+
reconnectPeriod: 5e3,
|
|
11
|
+
clean: false
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* MQTT 连接级事件名称常量
|
|
15
|
+
*/
|
|
16
|
+
var MQTT_CLIENT_EVENT = {
|
|
17
|
+
CONNECT: "connect",
|
|
18
|
+
RECONNECT: "reconnect",
|
|
19
|
+
DISCONNECT: "disconnect",
|
|
20
|
+
ERROR: "error",
|
|
21
|
+
MESSAGE: "message"
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { MQTT_CLIENT_EVENT, MQTT_DEFAULT_CONNECT_OPTIONS };
|