@ibiz-template/core 0.7.38-alpha.57 → 0.7.40-alpha.7
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/LICENSE +1 -1
- package/README.md +106 -0
- package/dist/index.esm.js +591 -658
- package/dist/index.system.min.js +1 -1
- package/out/command/command-register.d.ts +23 -37
- package/out/command/command-register.d.ts.map +1 -1
- package/out/command/command-register.js +22 -36
- package/out/command/command.d.ts +28 -34
- package/out/command/command.d.ts.map +1 -1
- package/out/command/command.js +26 -32
- package/out/command/index.d.ts +1 -4
- package/out/command/index.d.ts.map +1 -1
- package/out/command/index.js +2 -4
- package/out/command/utils/util.d.ts +23 -15
- package/out/command/utils/util.d.ts.map +1 -1
- package/out/command/utils/util.js +22 -16
- package/out/constant/core/core.d.ts +18 -28
- package/out/constant/core/core.d.ts.map +1 -1
- package/out/constant/core/core.js +18 -28
- package/out/constant/emoji/emoji.d.ts.map +1 -1
- package/out/constant/emoji/emoji.js +2 -0
- package/out/constant/http-status-message/http-status-message.d.ts +0 -3
- package/out/constant/http-status-message/http-status-message.d.ts.map +1 -1
- package/out/constant/http-status-message/http-status-message.js +1 -3
- package/out/constant/index.d.ts +2 -4
- package/out/constant/index.d.ts.map +1 -1
- package/out/constant/index.js +2 -4
- package/out/constant/util/util.d.ts +0 -3
- package/out/constant/util/util.d.ts.map +1 -1
- package/out/constant/util/util.js +1 -3
- package/out/context/index.d.ts +34 -51
- package/out/context/index.d.ts.map +1 -1
- package/out/context/index.js +24 -33
- package/out/environment/environment.d.ts +0 -3
- package/out/environment/environment.d.ts.map +1 -1
- package/out/environment/environment.js +9 -4
- package/out/error/http-error/entity-error.d.ts +3 -17
- package/out/error/http-error/entity-error.d.ts.map +1 -1
- package/out/error/http-error/entity-error.js +2 -5
- package/out/error/http-error/http-error-factory.d.ts +5 -0
- package/out/error/http-error/http-error-factory.d.ts.map +1 -1
- package/out/error/http-error/http-error-factory.js +5 -0
- package/out/error/http-error/http-error.d.ts +3 -10
- package/out/error/http-error/http-error.d.ts.map +1 -1
- package/out/error/http-error/http-error.js +2 -5
- package/out/error/model-error/model-error.d.ts +5 -9
- package/out/error/model-error/model-error.d.ts.map +1 -1
- package/out/error/model-error/model-error.js +5 -9
- package/out/error/notice-error/notice-error.d.ts +2 -5
- package/out/error/notice-error/notice-error.d.ts.map +1 -1
- package/out/error/notice-error/notice-error.js +2 -5
- package/out/error/runtime-error/runtime-error.d.ts +2 -5
- package/out/error/runtime-error/runtime-error.d.ts.map +1 -1
- package/out/error/runtime-error/runtime-error.js +2 -5
- package/out/error/runtime-model-error/runtime-model-error.d.ts +5 -10
- package/out/error/runtime-model-error/runtime-model-error.d.ts.map +1 -1
- package/out/error/runtime-model-error/runtime-model-error.js +5 -10
- package/out/ibizsys.d.ts +24 -44
- package/out/ibizsys.d.ts.map +1 -1
- package/out/ibizsys.js +15 -29
- package/out/index.d.ts.map +1 -1
- package/out/install.d.ts +1 -4
- package/out/install.d.ts.map +1 -1
- package/out/install.js +1 -4
- package/out/interface/api/constant/index.d.ts +3 -0
- package/out/interface/api/constant/index.d.ts.map +1 -0
- package/out/interface/api/constant/index.js +2 -0
- package/out/{constant → interface/api/constant}/login-mode/login-mode.d.ts +1 -4
- package/out/interface/api/constant/login-mode/login-mode.d.ts.map +1 -0
- package/out/{constant → interface/api/constant}/login-mode/login-mode.js +1 -4
- package/out/{constant → interface/api/constant}/menu-permission-mode/menu-permission-mode.d.ts +1 -4
- package/out/interface/api/constant/menu-permission-mode/menu-permission-mode.d.ts.map +1 -0
- package/out/{constant → interface/api/constant}/menu-permission-mode/menu-permission-mode.js +1 -4
- package/out/interface/api/environment/i-devtool-config.d.ts +33 -0
- package/out/interface/api/environment/i-devtool-config.d.ts.map +1 -0
- package/out/interface/api/environment/i-environment.d.ts +282 -0
- package/out/interface/api/environment/i-environment.d.ts.map +1 -0
- package/out/interface/api/environment/index.d.ts +3 -0
- package/out/interface/api/environment/index.d.ts.map +1 -0
- package/out/interface/api/global-param/i-api-context.d.ts +33 -0
- package/out/interface/api/global-param/i-api-context.d.ts.map +1 -0
- package/out/interface/api/global-param/i-global-param.d.ts +25 -0
- package/out/interface/api/global-param/i-global-param.d.ts.map +1 -0
- package/out/interface/api/global-param/index.d.ts +3 -0
- package/out/interface/api/global-param/index.d.ts.map +1 -0
- package/out/interface/api/ibizsys/i-api-ibizsys.d.ts +48 -0
- package/out/interface/api/ibizsys/i-api-ibizsys.d.ts.map +1 -0
- package/out/interface/api/ibizsys/i-org-data.d.ts +32 -0
- package/out/interface/api/ibizsys/i-org-data.d.ts.map +1 -0
- package/out/interface/api/ibizsys/index.d.ts +3 -0
- package/out/interface/api/ibizsys/index.d.ts.map +1 -0
- package/out/interface/api/index.d.ts +6 -0
- package/out/interface/api/index.d.ts.map +1 -0
- package/out/interface/api/index.js +5 -0
- package/out/interface/api/utils/i-api-i18n.d.ts +51 -0
- package/out/interface/api/utils/i-api-i18n.d.ts.map +1 -0
- package/out/interface/api/utils/index.d.ts +5 -0
- package/out/interface/api/utils/index.d.ts.map +1 -0
- package/out/interface/api/utils/index.js +1 -0
- package/out/interface/api/utils/message-center/base/i-message-all.d.ts +10 -0
- package/out/interface/api/utils/message-center/base/i-message-all.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/base/i-message-base.d.ts +27 -0
- package/out/interface/api/utils/message-center/base/i-message-base.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/base/index.d.ts +3 -0
- package/out/interface/api/utils/message-center/base/index.d.ts.map +1 -0
- package/out/interface/{i-add-in-changed → api/utils/message-center/command/add-in-changed}/i-add-in-changed.d.ts +4 -8
- package/out/interface/api/utils/message-center/command/add-in-changed/i-add-in-changed.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.d.ts +17 -0
- package/out/interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/async-action/i-command-async-action.d.ts +17 -0
- package/out/interface/api/utils/message-center/command/async-action/i-command-async-action.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/change/i-command-change.d.ts +10 -0
- package/out/interface/api/utils/message-center/command/change/i-command-change.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/change/i-command-change.js +1 -0
- package/out/interface/api/utils/message-center/command/create/i-command-create.d.ts +18 -0
- package/out/interface/api/utils/message-center/command/create/i-command-create.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/create/i-command-create.js +1 -0
- package/out/interface/api/utils/message-center/command/i-command-base.d.ts +20 -0
- package/out/interface/api/utils/message-center/command/i-command-base.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/i-command-base.js +1 -0
- package/out/interface/api/utils/message-center/command/i-message-command.d.ts +82 -0
- package/out/interface/api/utils/message-center/command/i-message-command.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/i-message-command.js +1 -0
- package/out/interface/api/utils/message-center/command/index.d.ts +14 -0
- package/out/interface/api/utils/message-center/command/index.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/index.js +1 -0
- package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.d.ts +17 -0
- package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.js +1 -0
- package/out/interface/{i-internal-message → api/utils/message-center/command/internal-message}/i-internal-message.d.ts +35 -54
- package/out/interface/api/utils/message-center/command/internal-message/i-internal-message.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/internal-message/i-internal-message.js +1 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.d.ts +17 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.js +1 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.d.ts +46 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.js +1 -0
- package/out/interface/api/utils/message-center/command/remove/i-command-remove.d.ts +18 -0
- package/out/interface/api/utils/message-center/command/remove/i-command-remove.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/remove/i-command-remove.js +1 -0
- package/out/interface/api/utils/message-center/command/update/i-command-update.d.ts +18 -0
- package/out/interface/api/utils/message-center/command/update/i-command-update.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/update/i-command-update.js +1 -0
- package/out/interface/api/utils/message-center/common/i-app-data-entity.d.ts +16 -0
- package/out/interface/api/utils/message-center/common/i-app-data-entity.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-app-data-entity.js +1 -0
- package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts +10 -0
- package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-message-center-event.js +1 -0
- package/out/interface/api/utils/message-center/common/i-msg-meta-data.d.ts +14 -0
- package/out/interface/api/utils/message-center/common/i-msg-meta-data.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-msg-meta-data.js +1 -0
- package/out/interface/api/utils/message-center/common/i-portal-async-action.d.ts +134 -0
- package/out/interface/api/utils/message-center/common/i-portal-async-action.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-portal-async-action.js +1 -0
- package/out/interface/api/utils/message-center/common/i-portal-message.d.ts +70 -0
- package/out/interface/api/utils/message-center/common/i-portal-message.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-portal-message.js +1 -0
- package/out/interface/api/utils/message-center/common/index.d.ts +6 -0
- package/out/interface/api/utils/message-center/common/index.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/index.js +1 -0
- package/out/interface/api/utils/message-center/console/i-message-console.d.ts +17 -0
- package/out/interface/api/utils/message-center/console/i-message-console.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/console/i-message-console.js +1 -0
- package/out/interface/api/utils/message-center/error/i-message-error.d.ts +17 -0
- package/out/interface/api/utils/message-center/error/i-message-error.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/error/i-message-error.js +1 -0
- package/out/interface/api/utils/message-center/i-message-center.d.ts +48 -0
- package/out/interface/api/utils/message-center/i-message-center.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/i-message-center.js +1 -0
- package/out/interface/api/utils/message-center/index.d.ts +7 -0
- package/out/interface/api/utils/message-center/index.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/index.js +3 -0
- package/out/interface/api/utils/net/i-api-net.d.ts +65 -0
- package/out/interface/api/utils/net/i-api-net.d.ts.map +1 -0
- package/out/interface/api/utils/net/i-api-net.js +1 -0
- package/out/interface/api/utils/net/i-http-response.d.ts +60 -0
- package/out/interface/api/utils/net/i-http-response.d.ts.map +1 -0
- package/out/interface/api/utils/net/i-http-response.js +1 -0
- package/out/interface/click-outside/click-outside.d.ts +15 -36
- package/out/interface/click-outside/click-outside.d.ts.map +1 -1
- package/out/interface/command/command/i-command-option.d.ts +46 -0
- package/out/interface/command/command/i-command-option.d.ts.map +1 -0
- package/out/interface/command/command/i-command-option.js +1 -0
- package/out/interface/command/command/i-command.d.ts +61 -0
- package/out/interface/command/command/i-command.d.ts.map +1 -0
- package/out/interface/command/command/i-command.js +1 -0
- package/out/interface/command/disposable/i-disposable.d.ts +13 -0
- package/out/interface/command/disposable/i-disposable.d.ts.map +1 -0
- package/out/interface/command/disposable/i-disposable.js +1 -0
- package/out/interface/command/i-command-controller.d.ts +43 -0
- package/out/interface/command/i-command-controller.d.ts.map +1 -0
- package/out/interface/command/i-command-controller.js +1 -0
- package/out/interface/command/index.d.ts +5 -0
- package/out/interface/command/index.d.ts.map +1 -0
- package/out/interface/command/index.js +1 -0
- package/out/interface/context/index.d.ts +39 -0
- package/out/interface/context/index.d.ts.map +1 -0
- package/out/interface/context/index.js +1 -0
- package/out/interface/error/index.d.ts +12 -0
- package/out/interface/error/index.d.ts.map +1 -0
- package/out/interface/error/index.js +1 -0
- package/out/interface/i-chat-message/i-chat-message.d.ts +24 -37
- package/out/interface/i-chat-message/i-chat-message.d.ts.map +1 -1
- package/out/interface/ibizsys/i-ibizsys.d.ts +30 -0
- package/out/interface/ibizsys/i-ibizsys.d.ts.map +1 -0
- package/out/interface/ibizsys/i-ibizsys.js +1 -0
- package/out/interface/ibizsys/index.d.ts +2 -0
- package/out/interface/ibizsys/index.d.ts.map +1 -0
- package/out/interface/ibizsys/index.js +1 -0
- package/out/interface/index.d.ts +8 -9
- package/out/interface/index.d.ts.map +1 -1
- package/out/interface/index.js +6 -0
- package/out/interface/utils/i-18n.d.ts +21 -0
- package/out/interface/utils/i-18n.d.ts.map +1 -0
- package/out/interface/utils/i-18n.js +1 -0
- package/out/interface/utils/index.d.ts +2 -0
- package/out/interface/utils/index.d.ts.map +1 -0
- package/out/interface/utils/index.js +1 -0
- package/out/params/params.d.ts +20 -24
- package/out/params/params.d.ts.map +1 -1
- package/out/params/params.js +16 -18
- package/out/types.d.ts +5 -113
- package/out/types.d.ts.map +1 -1
- package/out/utils/bit-mask/bit-mask.d.ts +9 -32
- package/out/utils/bit-mask/bit-mask.d.ts.map +1 -1
- package/out/utils/bit-mask/bit-mask.js +10 -37
- package/out/utils/click-outside/click-outside.d.ts +1 -4
- package/out/utils/click-outside/click-outside.d.ts.map +1 -1
- package/out/utils/click-outside/click-outside.js +1 -4
- package/out/utils/clone/clone.d.ts +3 -7
- package/out/utils/clone/clone.d.ts.map +1 -1
- package/out/utils/clone/clone.js +7 -12
- package/out/utils/color/color.d.ts +4 -6
- package/out/utils/color/color.d.ts.map +1 -1
- package/out/utils/color/color.js +5 -8
- package/out/utils/cookie-util/cookie-util.d.ts +16 -27
- package/out/utils/cookie-util/cookie-util.d.ts.map +1 -1
- package/out/utils/cookie-util/cookie-util.js +126 -55
- package/out/utils/data-type/data-types.d.ts +13 -19
- package/out/utils/data-type/data-types.d.ts.map +1 -1
- package/out/utils/data-type/data-types.js +13 -19
- package/out/utils/download-file/download-file.d.ts +6 -15
- package/out/utils/download-file/download-file.d.ts.map +1 -1
- package/out/utils/download-file/download-file.js +6 -15
- package/out/utils/event/event.d.ts +6 -14
- package/out/utils/event/event.d.ts.map +1 -1
- package/out/utils/event/event.js +6 -14
- package/out/utils/history-list/history-item.d.ts +5 -10
- package/out/utils/history-list/history-item.d.ts.map +1 -1
- package/out/utils/history-list/history-item.js +5 -10
- package/out/utils/history-list/history-list.d.ts +31 -45
- package/out/utils/history-list/history-list.d.ts.map +1 -1
- package/out/utils/history-list/history-list.js +28 -40
- package/out/utils/index.d.ts +1 -2
- package/out/utils/index.d.ts.map +1 -1
- package/out/utils/interceptor/core-interceptor.d.ts +16 -4
- package/out/utils/interceptor/core-interceptor.d.ts.map +1 -1
- package/out/utils/interceptor/core-interceptor.js +62 -4
- package/out/utils/interceptor/interceptor.d.ts +29 -39
- package/out/utils/interceptor/interceptor.d.ts.map +1 -1
- package/out/utils/interceptor/interceptor.js +23 -31
- package/out/utils/message-center/base/message-all.d.ts +3 -5
- package/out/utils/message-center/base/message-all.d.ts.map +1 -1
- package/out/utils/message-center/base/message-all.js +1 -4
- package/out/utils/message-center/base/message-base.d.ts +23 -40
- package/out/utils/message-center/base/message-base.d.ts.map +1 -1
- package/out/utils/message-center/base/message-base.js +20 -26
- package/out/utils/message-center/command/add-in-changed/command-add-in-changed.d.ts +5 -6
- package/out/utils/message-center/command/add-in-changed/command-add-in-changed.d.ts.map +1 -1
- package/out/utils/message-center/command/add-in-changed/command-add-in-changed.js +3 -4
- package/out/utils/message-center/command/async-action/command-async-action.d.ts +6 -10
- package/out/utils/message-center/command/async-action/command-async-action.d.ts.map +1 -1
- package/out/utils/message-center/command/async-action/command-async-action.js +4 -8
- package/out/utils/message-center/command/change/command-change.d.ts +4 -5
- package/out/utils/message-center/command/change/command-change.d.ts.map +1 -1
- package/out/utils/message-center/command/change/command-change.js +2 -4
- package/out/utils/message-center/command/command-base/command-base.d.ts +10 -15
- package/out/utils/message-center/command/command-base/command-base.d.ts.map +1 -1
- package/out/utils/message-center/command/command-base/command-base.js +7 -12
- package/out/utils/message-center/command/create/command-create.d.ts +8 -12
- package/out/utils/message-center/command/create/command-create.d.ts.map +1 -1
- package/out/utils/message-center/command/create/command-create.js +6 -10
- package/out/utils/message-center/command/internal-message/command-internal-message.d.ts +7 -11
- package/out/utils/message-center/command/internal-message/command-internal-message.d.ts.map +1 -1
- package/out/utils/message-center/command/internal-message/command-internal-message.js +5 -9
- package/out/utils/message-center/command/mark-open-data/command-mark-open-data.d.ts +6 -10
- package/out/utils/message-center/command/mark-open-data/command-mark-open-data.d.ts.map +1 -1
- package/out/utils/message-center/command/mark-open-data/command-mark-open-data.js +4 -8
- package/out/utils/message-center/command/message-command.d.ts +31 -45
- package/out/utils/message-center/command/message-command.d.ts.map +1 -1
- package/out/utils/message-center/command/message-command.js +29 -43
- package/out/utils/message-center/command/remove/command-remove.d.ts +7 -11
- package/out/utils/message-center/command/remove/command-remove.d.ts.map +1 -1
- package/out/utils/message-center/command/remove/command-remove.js +5 -9
- package/out/utils/message-center/command/update/command-update.d.ts +7 -11
- package/out/utils/message-center/command/update/command-update.d.ts.map +1 -1
- package/out/utils/message-center/command/update/command-update.js +5 -9
- package/out/utils/message-center/console/message-console.d.ts +6 -9
- package/out/utils/message-center/console/message-console.d.ts.map +1 -1
- package/out/utils/message-center/console/message-console.js +4 -8
- package/out/utils/message-center/error/message-error.d.ts +6 -9
- package/out/utils/message-center/error/message-error.d.ts.map +1 -1
- package/out/utils/message-center/error/message-error.js +4 -8
- package/out/utils/message-center/index.d.ts +0 -1
- package/out/utils/message-center/index.d.ts.map +1 -1
- package/out/utils/message-center/message-center.d.ts +20 -35
- package/out/utils/message-center/message-center.d.ts.map +1 -1
- package/out/utils/message-center/message-center.js +18 -33
- package/out/utils/namespace/namespace.d.ts +45 -75
- package/out/utils/namespace/namespace.d.ts.map +1 -1
- package/out/utils/namespace/namespace.js +53 -81
- package/out/utils/net/http-response.d.ts +6 -66
- package/out/utils/net/http-response.d.ts.map +1 -1
- package/out/utils/net/http-response.js +4 -11
- package/out/utils/net/net.d.ts +57 -100
- package/out/utils/net/net.d.ts.map +1 -1
- package/out/utils/net/net.js +53 -94
- package/out/utils/recursive/find-recursive-child.d.ts +2 -10
- package/out/utils/recursive/find-recursive-child.d.ts.map +1 -1
- package/out/utils/recursive/find-recursive-child.js +4 -14
- package/out/utils/string-util/string-util.d.ts +19 -22
- package/out/utils/string-util/string-util.d.ts.map +1 -1
- package/out/utils/string-util/string-util.js +28 -22
- package/out/utils/style/remote-style.d.ts +1 -4
- package/out/utils/style/remote-style.d.ts.map +1 -1
- package/out/utils/style/remote-style.js +1 -4
- package/out/utils/sync/await-timeout.d.ts +1 -5
- package/out/utils/sync/await-timeout.d.ts.map +1 -1
- package/out/utils/sync/await-timeout.js +1 -5
- package/out/utils/sync/count-latch.d.ts +14 -30
- package/out/utils/sync/count-latch.d.ts.map +1 -1
- package/out/utils/sync/count-latch.js +14 -30
- package/out/utils/upload/select-file.d.ts +12 -29
- package/out/utils/upload/select-file.d.ts.map +1 -1
- package/out/utils/upload/select-file.js +3 -9
- package/out/utils/upload/upload-file.d.ts +6 -14
- package/out/utils/upload/upload-file.d.ts.map +1 -1
- package/out/utils/upload/upload-file.js +9 -23
- package/out/utils/url-helper/url-helper.d.ts +19 -30
- package/out/utils/url-helper/url-helper.d.ts.map +1 -1
- package/out/utils/url-helper/url-helper.js +19 -30
- package/out/utils/util/util.d.ts +6 -77
- package/out/utils/util/util.d.ts.map +1 -1
- package/out/utils/util/util.js +6 -77
- package/package.json +5 -8
- package/out/command/interface/command/command-option.d.ts +0 -23
- package/out/command/interface/command/command-option.d.ts.map +0 -1
- package/out/command/interface/command/command.d.ts +0 -74
- package/out/command/interface/command/command.d.ts.map +0 -1
- package/out/command/interface/disposable/disposable.d.ts +0 -4
- package/out/command/interface/disposable/disposable.d.ts.map +0 -1
- package/out/command/interface/index.d.ts +0 -4
- package/out/command/interface/index.d.ts.map +0 -1
- package/out/constant/login-mode/login-mode.d.ts.map +0 -1
- package/out/constant/menu-permission-mode/menu-permission-mode.d.ts.map +0 -1
- package/out/interface/i-18n/i-18n.d.ts +0 -81
- package/out/interface/i-18n/i-18n.d.ts.map +0 -1
- package/out/interface/i-add-in-changed/i-add-in-changed.d.ts.map +0 -1
- package/out/interface/i-devtool-config/i-devtool-config.d.ts +0 -40
- package/out/interface/i-devtool-config/i-devtool-config.d.ts.map +0 -1
- package/out/interface/i-environment/i-environment.d.ts +0 -339
- package/out/interface/i-environment/i-environment.d.ts.map +0 -1
- package/out/interface/i-internal-message/i-internal-message.d.ts.map +0 -1
- package/out/interface/i-mark-open-data/i-mark-open-data.d.ts +0 -43
- package/out/interface/i-mark-open-data/i-mark-open-data.d.ts.map +0 -1
- package/out/interface/i-portal-async-action/i-portal-async-action.d.ts +0 -163
- package/out/interface/i-portal-async-action/i-portal-async-action.d.ts.map +0 -1
- package/out/interface/i-portal-message/i-portal-message.d.ts +0 -89
- package/out/interface/i-portal-message/i-portal-message.d.ts.map +0 -1
- package/out/interface/org-data/org-data.d.ts +0 -43
- package/out/interface/org-data/org-data.d.ts.map +0 -1
- package/out/utils/message-center/interface/i-app-data-entity.d.ts +0 -20
- package/out/utils/message-center/interface/i-app-data-entity.d.ts.map +0 -1
- package/out/utils/message-center/interface/i-msg-meta-data.d.ts +0 -19
- package/out/utils/message-center/interface/i-msg-meta-data.d.ts.map +0 -1
- package/out/utils/message-center/interface/index.d.ts +0 -3
- package/out/utils/message-center/interface/index.d.ts.map +0 -1
- /package/out/interface/{i-devtool-config → api/environment}/i-devtool-config.js +0 -0
- /package/out/interface/{i-environment → api/environment}/i-environment.js +0 -0
- /package/out/{command/interface → interface/api/environment}/index.js +0 -0
- /package/out/{command/interface/command/command-option.js → interface/api/global-param/i-api-context.js} +0 -0
- /package/out/{command/interface/command/command.js → interface/api/global-param/i-global-param.js} +0 -0
- /package/out/{utils/message-center/interface → interface/api/global-param}/index.js +0 -0
- /package/out/{command/interface/disposable/disposable.js → interface/api/ibizsys/i-api-ibizsys.js} +0 -0
- /package/out/interface/{i-18n/i-18n.js → api/ibizsys/i-org-data.js} +0 -0
- /package/out/interface/{i-add-in-changed/i-add-in-changed.js → api/ibizsys/index.js} +0 -0
- /package/out/interface/{i-internal-message/i-internal-message.js → api/utils/i-api-i18n.js} +0 -0
- /package/out/interface/{i-mark-open-data/i-mark-open-data.js → api/utils/message-center/base/i-message-all.js} +0 -0
- /package/out/interface/{i-portal-async-action/i-portal-async-action.js → api/utils/message-center/base/i-message-base.js} +0 -0
- /package/out/interface/{i-portal-message/i-portal-message.js → api/utils/message-center/base/index.js} +0 -0
- /package/out/interface/{org-data/org-data.js → api/utils/message-center/command/add-in-changed/i-add-in-changed.js} +0 -0
- /package/out/{utils/message-center/interface/i-app-data-entity.js → interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.js} +0 -0
- /package/out/{utils/message-center/interface/i-msg-meta-data.js → interface/api/utils/message-center/command/async-action/i-command-async-action.js} +0 -0
|
@@ -1,58 +1,48 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 核心全局静态变量
|
|
3
|
-
*
|
|
4
|
-
* @author chitanda
|
|
5
|
-
* @date 2022-07-14 17:07:25
|
|
2
|
+
* @description 核心全局静态变量
|
|
6
3
|
* @export
|
|
7
|
-
* @
|
|
4
|
+
* @class CoreConst
|
|
8
5
|
*/
|
|
9
6
|
export class CoreConst {
|
|
10
7
|
}
|
|
11
8
|
/**
|
|
12
|
-
* 默认模型服务标识
|
|
13
|
-
*
|
|
14
|
-
* @author chitanda
|
|
15
|
-
* @date 2024-01-18 16:01:25
|
|
9
|
+
* @description 默认模型服务标识
|
|
16
10
|
* @static
|
|
11
|
+
* @memberof CoreConst
|
|
17
12
|
*/
|
|
18
13
|
CoreConst.DEFAULT_MODEL_SERVICE_TAG = 'default';
|
|
19
14
|
/**
|
|
20
|
-
* 访问令牌标识
|
|
21
|
-
*
|
|
22
|
-
* @author chitanda
|
|
23
|
-
* @date 2022-07-20 15:07:28
|
|
15
|
+
* @description 访问令牌标识
|
|
24
16
|
* @static
|
|
17
|
+
* @memberof CoreConst
|
|
25
18
|
*/
|
|
26
19
|
CoreConst.TOKEN = 'ibzuaa-token';
|
|
27
20
|
/**
|
|
28
|
-
* 刷新令牌标识
|
|
29
|
-
*
|
|
30
|
-
* @author chitanda
|
|
31
|
-
* @date 2024-01-18 16:01:54
|
|
21
|
+
* @description 刷新令牌标识
|
|
32
22
|
* @static
|
|
23
|
+
* @memberof CoreConst
|
|
33
24
|
*/
|
|
34
25
|
CoreConst.REFRESH_TOKEN = 'ibzuaa-refresh-token';
|
|
35
26
|
/**
|
|
36
|
-
* 访问令牌标识过期时间
|
|
37
|
-
*
|
|
38
|
-
* @author lxm
|
|
39
|
-
* @date 2023-02-13 07:11:33
|
|
27
|
+
* @description 访问令牌标识过期时间
|
|
40
28
|
* @static
|
|
41
29
|
* @memberof CoreConst
|
|
42
30
|
*/
|
|
43
31
|
CoreConst.TOKEN_EXPIRES = 'ibzuaa-token-expires';
|
|
44
32
|
/**
|
|
45
|
-
* 认证信息是走记住我模式的 cookie 标识
|
|
46
|
-
*
|
|
47
|
-
* @author chitanda
|
|
48
|
-
* @date 2023-12-13 15:12:28
|
|
33
|
+
* @description 认证信息是走记住我模式的 cookie 标识
|
|
49
34
|
* @static
|
|
35
|
+
* @memberof CoreConst
|
|
50
36
|
*/
|
|
51
37
|
CoreConst.TOKEN_REMEMBER = 'ibizuaa-token-remember';
|
|
52
38
|
/**
|
|
53
|
-
* 是否是匿名用户登录的 cookie 标识
|
|
54
|
-
* @author lxm
|
|
55
|
-
* @date 2024-01-03 05:35:40
|
|
39
|
+
* @description 是否是匿名用户登录的 cookie 标识
|
|
56
40
|
* @static
|
|
41
|
+
* @memberof CoreConst
|
|
57
42
|
*/
|
|
58
43
|
CoreConst.IS_ANONYMOUS = 'ibizuaa-is-anonymous';
|
|
44
|
+
/**
|
|
45
|
+
* @description 存储访问相关数据键的集合名称
|
|
46
|
+
* @static
|
|
47
|
+
*/
|
|
48
|
+
CoreConst.ACCESS_STORE_AREA_KEYS = 'ibizuaa-access-store-area-keys';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji.d.ts","sourceRoot":"","sources":["../../../src/constant/emoji/emoji.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emoji.d.ts","sourceRoot":"","sources":["../../../src/constant/emoji/emoji.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,SAAS,UAm5CrB,CAAC;AAEF,eAAO,MAAM,QAAQ,qBA09CnB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// 图标清单
|
|
1
2
|
export const EMOJILIST = [
|
|
2
3
|
'😀',
|
|
3
4
|
'😃',
|
|
@@ -1426,6 +1427,7 @@ export const EMOJILIST = [
|
|
|
1426
1427
|
'🇿🇲',
|
|
1427
1428
|
'🇿🇼',
|
|
1428
1429
|
];
|
|
1430
|
+
// 图标与图标base64的映射关系
|
|
1429
1431
|
export const EMOJIMAP = new Map([
|
|
1430
1432
|
['JUYwJTlGJTk4JTgw', '😀'],
|
|
1431
1433
|
['JUYwJTlGJTk4JTgz', '😃'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-status-message.d.ts","sourceRoot":"","sources":["../../../src/constant/http-status-message/http-status-message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"http-status-message.d.ts","sourceRoot":"","sources":["../../../src/constant/http-status-message/http-status-message.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgBzD,CAAC"}
|
package/out/constant/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export { CoreConst } from './core/core';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export { NOOP } from './util/util';
|
|
3
|
+
export { EMOJILIST, EMOJIMAP } from './emoji/emoji';
|
|
4
4
|
export { HttpStatusMessageConst } from './http-status-message/http-status-message';
|
|
5
|
-
export { LoginMode } from './login-mode/login-mode';
|
|
6
|
-
export { MenuPermissionMode } from './menu-permission-mode/menu-permission-mode';
|
|
7
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constant/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constant/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC"}
|
package/out/constant/index.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export { CoreConst } from './core/core';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export { NOOP } from './util/util';
|
|
3
|
+
export { EMOJILIST, EMOJIMAP } from './emoji/emoji';
|
|
4
4
|
export { HttpStatusMessageConst } from './http-status-message/http-status-message';
|
|
5
|
-
export { LoginMode } from './login-mode/login-mode';
|
|
6
|
-
export { MenuPermissionMode } from './menu-permission-mode/menu-permission-mode';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/constant/util/util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/constant/util/util.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,QAAO,IAAU,CAAC"}
|
package/out/context/index.d.ts
CHANGED
|
@@ -1,112 +1,95 @@
|
|
|
1
|
+
import { IIBizContext } from '../interface';
|
|
1
2
|
/**
|
|
2
|
-
* 上下文处理类
|
|
3
|
-
*
|
|
4
|
-
* @author chitanda
|
|
5
|
-
* @date 2022-07-14 10:07:24
|
|
3
|
+
* @description 上下文处理类
|
|
6
4
|
* @export
|
|
7
5
|
* @class IBizContext
|
|
6
|
+
* @implements {IIBizContext}
|
|
8
7
|
*/
|
|
9
8
|
export declare class IBizContext implements IIBizContext {
|
|
10
9
|
[key: string | symbol]: any;
|
|
11
10
|
/**
|
|
12
|
-
* 当前所归属的应用
|
|
13
|
-
*
|
|
14
|
-
* @author chitanda
|
|
15
|
-
* @date 2023-12-06 21:12:52
|
|
11
|
+
* @description 当前所归属的应用
|
|
16
12
|
* @type {string}
|
|
13
|
+
* @memberof IBizContext
|
|
17
14
|
*/
|
|
18
15
|
srfappid: string;
|
|
19
16
|
/**
|
|
20
|
-
* 界面域标识,每个独立路由导航的视图生成
|
|
21
|
-
*
|
|
22
|
-
* @author chitanda
|
|
23
|
-
* @date 2023-12-22 10:12:06
|
|
17
|
+
* @description 界面域标识,每个独立路由导航的视图生成
|
|
24
18
|
* @type {string}
|
|
19
|
+
* @memberof IBizContext
|
|
25
20
|
*/
|
|
26
21
|
srfsessionid: string;
|
|
27
22
|
/**
|
|
28
|
-
* clone 后引用的上下文实例,需要在实例销毁时,同时销毁
|
|
29
|
-
*
|
|
30
|
-
* @author chitanda
|
|
31
|
-
* @date 2023-03-13 16:03:31
|
|
23
|
+
* @description clone 后引用的上下文实例,需要在实例销毁时,同时销毁
|
|
32
24
|
* @protected
|
|
33
25
|
* @type {IBizContext[]}
|
|
26
|
+
* @memberof IBizContext
|
|
34
27
|
*/
|
|
35
28
|
protected _associationContext: IBizContext[];
|
|
36
29
|
/**
|
|
37
|
-
* 修改的父上下文
|
|
38
|
-
*
|
|
39
|
-
* @author lxm
|
|
40
|
-
* @date 2022-12-08 18:12:16
|
|
30
|
+
* @description 修改的父上下文
|
|
41
31
|
* @protected
|
|
42
32
|
* @type {IData}
|
|
33
|
+
* @memberof IBizContext
|
|
43
34
|
*/
|
|
44
35
|
protected _context: IData;
|
|
45
36
|
/**
|
|
46
|
-
* 父的上下文源对象
|
|
47
|
-
*
|
|
48
|
-
* @author lxm
|
|
49
|
-
* @date 2022-12-08 18:12:31
|
|
37
|
+
* @description 父的上下文源对象
|
|
50
38
|
* @type {IContext}
|
|
39
|
+
* @memberof IBizContext
|
|
51
40
|
*/
|
|
52
41
|
_parent?: IContext;
|
|
53
42
|
/**
|
|
54
43
|
* Creates an instance of IBizContext.
|
|
55
|
-
*
|
|
56
|
-
* @author chitanda
|
|
57
|
-
* @date 2022-07-14 10:07:15
|
|
58
44
|
* @param {IData} [context={}] 自身的上下文
|
|
59
|
-
* @param {IContext} [parent]
|
|
45
|
+
* @param {IContext} [parent] 父的上下文源对象
|
|
46
|
+
* @memberof IBizContext
|
|
60
47
|
*/
|
|
61
48
|
private constructor();
|
|
49
|
+
/**
|
|
50
|
+
* @description 初始化上下文,并关联父上下文
|
|
51
|
+
* @private
|
|
52
|
+
* @param {IContext} parent
|
|
53
|
+
* @memberof IBizContext
|
|
54
|
+
*/
|
|
62
55
|
private initWithParent;
|
|
63
56
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @author lxm
|
|
67
|
-
* @date 2022-12-08 17:12:26
|
|
57
|
+
* @description 返回自身独有的上下文,和父有差异的
|
|
68
58
|
* @returns {*} {IData}
|
|
59
|
+
* @memberof IBizContext
|
|
69
60
|
*/
|
|
70
61
|
getOwnContext(): IData;
|
|
71
62
|
/**
|
|
72
|
-
* 销毁当前上下文对象
|
|
73
|
-
*
|
|
74
|
-
* @author chitanda
|
|
75
|
-
* @date 2023-03-13 15:03:04
|
|
63
|
+
* @description 销毁当前上下文对象
|
|
64
|
+
* @memberof IBizContext
|
|
76
65
|
*/
|
|
77
66
|
destroy(): void;
|
|
78
67
|
/**
|
|
79
|
-
* 在非视图中,需要断开视图上下文联系时。只能使用 clone 创建新的局部上下文
|
|
80
|
-
*
|
|
81
|
-
* @
|
|
82
|
-
* @date 2023-03-13 16:03:13
|
|
83
|
-
* @return {*} {IBizContext}
|
|
68
|
+
* @description 在非视图中,需要断开视图上下文联系时。只能使用 clone 创建新的局部上下文
|
|
69
|
+
* @returns {*} {IBizContext}
|
|
70
|
+
* @memberof IBizContext
|
|
84
71
|
*/
|
|
85
72
|
clone(): IBizContext;
|
|
86
73
|
/**
|
|
87
74
|
* @description 深度克隆,只返回现有数据
|
|
88
|
-
* @
|
|
75
|
+
* @returns {*} {IData}
|
|
89
76
|
* @memberof IBizContext
|
|
90
77
|
*/
|
|
91
78
|
deepClone(): IData;
|
|
92
79
|
/**
|
|
93
|
-
*
|
|
94
|
-
* 等效于重新实例化,但是引用不变
|
|
95
|
-
* @author lxm
|
|
96
|
-
* @date 2023-05-24 10:30:40
|
|
80
|
+
* @description 在不改变对象引用的情况下,重置上下文,等效于重新实例化,但是引用不变
|
|
97
81
|
* @param {IData} [context={}]
|
|
98
82
|
* @param {IContext} [parent]
|
|
83
|
+
* @memberof IBizContext
|
|
99
84
|
*/
|
|
100
85
|
reset(context?: IData, parent?: IContext): void;
|
|
101
86
|
/**
|
|
102
|
-
* 上下文只有在视图初始化时,调用 create 方法
|
|
103
|
-
*
|
|
104
|
-
* @author chitanda
|
|
105
|
-
* @date 2023-03-13 16:03:32
|
|
87
|
+
* @description 上下文只有在视图初始化时,调用 create 方法
|
|
106
88
|
* @static
|
|
107
89
|
* @param {IData} [context]
|
|
108
90
|
* @param {IContext} [parent]
|
|
109
|
-
* @
|
|
91
|
+
* @returns {*} {IBizContext}
|
|
92
|
+
* @memberof IBizContext
|
|
110
93
|
*/
|
|
111
94
|
static create(context?: IData, parent?: IContext): IBizContext;
|
|
112
95
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C;;;;;GAKG;AACH,qBAAa,WAAY,YAAW,YAAY;IAE9C,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;IAE5B;;;;OAIG;IACK,QAAQ,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACK,YAAY,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,UAAkB,mBAAmB,EAAE,WAAW,EAAE,CAAC;IAErD;;;;;OAKG;IACH,UAAkB,QAAQ,EAAE,KAAK,CAAC;IAElC;;;;OAIG;IACK,OAAO,CAAC,EAAE,QAAQ,CAAC;IAE3B;;;;;OAKG;IACH,OAAO;IAeP;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAiDtB;;;;OAIG;IACH,aAAa,IAAI,KAAK;IAgBtB;;;OAGG;IACH,OAAO,IAAI,IAAI;IAQf;;;;OAIG;IACH,KAAK,IAAI,WAAW;IASpB;;;;OAIG;IACH,SAAS,IAAI,KAAK;IAQlB;;;;;OAKG;IACH,KAAK,CAAC,OAAO,GAAE,KAAU,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,IAAI;IA0BnD;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW;CAG/D"}
|
package/out/context/index.js
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
|
+
/* eslint-disable default-param-last */
|
|
1
2
|
import { clone } from 'ramda';
|
|
2
3
|
/**
|
|
3
|
-
* 上下文处理类
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2022-07-14 10:07:24
|
|
4
|
+
* @description 上下文处理类
|
|
7
5
|
* @export
|
|
8
6
|
* @class IBizContext
|
|
7
|
+
* @implements {IIBizContext}
|
|
9
8
|
*/
|
|
10
9
|
export class IBizContext {
|
|
11
10
|
/**
|
|
12
11
|
* Creates an instance of IBizContext.
|
|
13
|
-
*
|
|
14
|
-
* @author chitanda
|
|
15
|
-
* @date 2022-07-14 10:07:15
|
|
16
12
|
* @param {IData} [context={}] 自身的上下文
|
|
17
|
-
* @param {IContext} [parent]
|
|
13
|
+
* @param {IContext} [parent] 父的上下文源对象
|
|
14
|
+
* @memberof IBizContext
|
|
18
15
|
*/
|
|
19
|
-
// eslint-disable-next-line default-param-last
|
|
20
16
|
constructor(context = {}, parent) {
|
|
21
17
|
Object.defineProperty(this, '_associationContext', {
|
|
22
18
|
enumerable: false,
|
|
@@ -29,6 +25,12 @@ export class IBizContext {
|
|
|
29
25
|
// 合并给入上下文
|
|
30
26
|
Object.assign(this, context);
|
|
31
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* @description 初始化上下文,并关联父上下文
|
|
30
|
+
* @private
|
|
31
|
+
* @param {IContext} parent
|
|
32
|
+
* @memberof IBizContext
|
|
33
|
+
*/
|
|
32
34
|
initWithParent(parent) {
|
|
33
35
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
34
36
|
const self = this;
|
|
@@ -77,11 +79,9 @@ export class IBizContext {
|
|
|
77
79
|
Object.defineProperties(this, properties);
|
|
78
80
|
}
|
|
79
81
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* @author lxm
|
|
83
|
-
* @date 2022-12-08 17:12:26
|
|
82
|
+
* @description 返回自身独有的上下文,和父有差异的
|
|
84
83
|
* @returns {*} {IData}
|
|
84
|
+
* @memberof IBizContext
|
|
85
85
|
*/
|
|
86
86
|
getOwnContext() {
|
|
87
87
|
const result = {};
|
|
@@ -97,10 +97,8 @@ export class IBizContext {
|
|
|
97
97
|
return result;
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
* 销毁当前上下文对象
|
|
101
|
-
*
|
|
102
|
-
* @author chitanda
|
|
103
|
-
* @date 2023-03-13 15:03:04
|
|
100
|
+
* @description 销毁当前上下文对象
|
|
101
|
+
* @memberof IBizContext
|
|
104
102
|
*/
|
|
105
103
|
destroy() {
|
|
106
104
|
this._parent = undefined;
|
|
@@ -110,11 +108,9 @@ export class IBizContext {
|
|
|
110
108
|
});
|
|
111
109
|
}
|
|
112
110
|
/**
|
|
113
|
-
* 在非视图中,需要断开视图上下文联系时。只能使用 clone 创建新的局部上下文
|
|
114
|
-
*
|
|
115
|
-
* @
|
|
116
|
-
* @date 2023-03-13 16:03:13
|
|
117
|
-
* @return {*} {IBizContext}
|
|
111
|
+
* @description 在非视图中,需要断开视图上下文联系时。只能使用 clone 创建新的局部上下文
|
|
112
|
+
* @returns {*} {IBizContext}
|
|
113
|
+
* @memberof IBizContext
|
|
118
114
|
*/
|
|
119
115
|
clone() {
|
|
120
116
|
const newContext = new IBizContext(clone(this.getOwnContext()), this._parent);
|
|
@@ -123,7 +119,7 @@ export class IBizContext {
|
|
|
123
119
|
}
|
|
124
120
|
/**
|
|
125
121
|
* @description 深度克隆,只返回现有数据
|
|
126
|
-
* @
|
|
122
|
+
* @returns {*} {IData}
|
|
127
123
|
* @memberof IBizContext
|
|
128
124
|
*/
|
|
129
125
|
deepClone() {
|
|
@@ -134,14 +130,11 @@ export class IBizContext {
|
|
|
134
130
|
return result;
|
|
135
131
|
}
|
|
136
132
|
/**
|
|
137
|
-
*
|
|
138
|
-
* 等效于重新实例化,但是引用不变
|
|
139
|
-
* @author lxm
|
|
140
|
-
* @date 2023-05-24 10:30:40
|
|
133
|
+
* @description 在不改变对象引用的情况下,重置上下文,等效于重新实例化,但是引用不变
|
|
141
134
|
* @param {IData} [context={}]
|
|
142
135
|
* @param {IContext} [parent]
|
|
136
|
+
* @memberof IBizContext
|
|
143
137
|
*/
|
|
144
|
-
// eslint-disable-next-line default-param-last
|
|
145
138
|
reset(context = {}, parent) {
|
|
146
139
|
// 清空_associationContext
|
|
147
140
|
this._associationContext.forEach(item => {
|
|
@@ -169,14 +162,12 @@ export class IBizContext {
|
|
|
169
162
|
Object.assign(this, context);
|
|
170
163
|
}
|
|
171
164
|
/**
|
|
172
|
-
* 上下文只有在视图初始化时,调用 create 方法
|
|
173
|
-
*
|
|
174
|
-
* @author chitanda
|
|
175
|
-
* @date 2023-03-13 16:03:32
|
|
165
|
+
* @description 上下文只有在视图初始化时,调用 create 方法
|
|
176
166
|
* @static
|
|
177
167
|
* @param {IData} [context]
|
|
178
168
|
* @param {IContext} [parent]
|
|
179
|
-
* @
|
|
169
|
+
* @returns {*} {IBizContext}
|
|
170
|
+
* @memberof IBizContext
|
|
180
171
|
*/
|
|
181
172
|
static create(context, parent) {
|
|
182
173
|
return new IBizContext(context, parent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../src/environment/environment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../src/environment/environment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiC,MAAM,cAAc,CAAC;AAE3E,eAAO,MAAM,WAAW,EAAE,YAkDzB,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { LoginMode, MenuPermissionMode } from '../
|
|
2
|
-
|
|
3
|
-
* 环境变量
|
|
4
|
-
*/
|
|
1
|
+
import { LoginMode, MenuPermissionMode } from '../interface';
|
|
2
|
+
// 默认环境变量配置
|
|
5
3
|
export const Environment = {
|
|
6
4
|
dev: false,
|
|
7
5
|
hub: true,
|
|
@@ -11,6 +9,7 @@ export const Environment = {
|
|
|
11
9
|
anonymousUser: '',
|
|
12
10
|
anonymousPwd: '',
|
|
13
11
|
enableAnonymous: false,
|
|
12
|
+
accessStoreArea: 'COOKIE',
|
|
14
13
|
logLevel: 'ERROR',
|
|
15
14
|
baseUrl: '/api',
|
|
16
15
|
appId: '',
|
|
@@ -45,4 +44,10 @@ export const Environment = {
|
|
|
45
44
|
appLoadingTheme: 'DEFAULT',
|
|
46
45
|
environmentTag: 'development',
|
|
47
46
|
mobMenuShowMode: 'DEFAULT',
|
|
47
|
+
appVersion: '',
|
|
48
|
+
devtoolConfig: {
|
|
49
|
+
studioBaseUrl: 'https://open.ibizlab.cn/modeldesign/#/',
|
|
50
|
+
v9Mode: false,
|
|
51
|
+
},
|
|
52
|
+
enableAI: true,
|
|
48
53
|
};
|
|
@@ -1,28 +1,14 @@
|
|
|
1
|
-
import { AxiosResponse } from 'axios';
|
|
2
1
|
import { HttpError } from '../http-error/http-error';
|
|
3
|
-
|
|
4
|
-
message: string;
|
|
5
|
-
response?: AxiosResponse;
|
|
6
|
-
};
|
|
7
|
-
type detailMessage = {
|
|
8
|
-
name: string;
|
|
9
|
-
logicName: string;
|
|
10
|
-
errorType: number;
|
|
11
|
-
errorInfo: string;
|
|
12
|
-
};
|
|
2
|
+
import { detailMessage, InputError } from '../../interface';
|
|
13
3
|
/**
|
|
14
|
-
* 请求异常
|
|
15
|
-
*
|
|
16
|
-
* @author chitanda
|
|
17
|
-
* @date 2022-09-18 17:09:10
|
|
4
|
+
* @description 请求异常
|
|
18
5
|
* @export
|
|
19
6
|
* @class EntityError
|
|
20
|
-
* @
|
|
7
|
+
* @extends {HttpError}
|
|
21
8
|
*/
|
|
22
9
|
export declare class EntityError extends HttpError {
|
|
23
10
|
name: string;
|
|
24
11
|
details: detailMessage[];
|
|
25
12
|
constructor(err: InputError);
|
|
26
13
|
}
|
|
27
|
-
export {};
|
|
28
14
|
//# sourceMappingURL=entity-error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-error.d.ts","sourceRoot":"","sources":["../../../src/error/http-error/entity-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"entity-error.d.ts","sourceRoot":"","sources":["../../../src/error/http-error/entity-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE5D;;;;;GAKG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACxC,IAAI,EAAE,MAAM,CAAiB;IAE7B,OAAO,EAAE,aAAa,EAAE,CAAM;gBAElB,GAAG,EAAE,UAAU;CAc5B"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { HttpError } from '../http-error/http-error';
|
|
2
2
|
/**
|
|
3
|
-
* 请求异常
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2022-09-18 17:09:10
|
|
3
|
+
* @description 请求异常
|
|
7
4
|
* @export
|
|
8
5
|
* @class EntityError
|
|
9
|
-
* @
|
|
6
|
+
* @extends {HttpError}
|
|
10
7
|
*/
|
|
11
8
|
export class EntityError extends HttpError {
|
|
12
9
|
constructor(err) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-error-factory.d.ts","sourceRoot":"","sources":["../../../src/error/http-error/http-error-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,qBAAa,gBAAgB;WACb,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS;CAaxD"}
|
|
1
|
+
{"version":3,"file":"http-error-factory.d.ts","sourceRoot":"","sources":["../../../src/error/http-error/http-error-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC;;;;GAIG;AACH,qBAAa,gBAAgB;WACb,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS;CAaxD"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
|
-
|
|
3
|
-
message: string;
|
|
4
|
-
response?: AxiosResponse;
|
|
5
|
-
};
|
|
2
|
+
import { InputError } from '../../interface';
|
|
6
3
|
/**
|
|
7
|
-
* 请求异常
|
|
8
|
-
*
|
|
9
|
-
* @author chitanda
|
|
10
|
-
* @date 2022-09-18 17:09:10
|
|
4
|
+
* @description 请求异常
|
|
11
5
|
* @export
|
|
12
6
|
* @class HttpError
|
|
13
|
-
* @
|
|
7
|
+
* @extends {Error}
|
|
14
8
|
*/
|
|
15
9
|
export declare class HttpError extends Error {
|
|
16
10
|
name: string;
|
|
@@ -20,5 +14,4 @@ export declare class HttpError extends Error {
|
|
|
20
14
|
response?: AxiosResponse;
|
|
21
15
|
constructor(err: InputError);
|
|
22
16
|
}
|
|
23
|
-
export {};
|
|
24
17
|
//# sourceMappingURL=http-error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-error.d.ts","sourceRoot":"","sources":["../../../src/error/http-error/http-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"http-error.d.ts","sourceRoot":"","sources":["../../../src/error/http-error/http-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;;GAKG;AACH,qBAAa,SAAU,SAAQ,KAAK;IAClC,IAAI,EAAE,MAAM,CAAe;IAE3B,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,MAAM,CAAC;IAGf,GAAG,EAAE,MAAM,CAAC;IAEZ,QAAQ,CAAC,EAAE,aAAa,CAAC;gBAEb,GAAG,EAAE,UAAU;CA8B5B"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* @author chitanda
|
|
5
|
-
* @date 2022-08-30 16:08:03
|
|
2
|
+
* @description 未支持的模型错误
|
|
6
3
|
* @export
|
|
7
4
|
* @class ModelError
|
|
5
|
+
* @extends {Error}
|
|
8
6
|
*/
|
|
9
7
|
export declare class ModelError extends Error {
|
|
10
8
|
model: IData;
|
|
11
9
|
name: string;
|
|
12
10
|
/**
|
|
13
11
|
* Creates an instance of ModelError.
|
|
14
|
-
*
|
|
15
|
-
* @
|
|
16
|
-
* @
|
|
17
|
-
* @param {IModelObject} model 模板未支持的模型
|
|
18
|
-
* @param {string} [msg]
|
|
12
|
+
* @param {IData} model 模板未支持的模型
|
|
13
|
+
* @param {string} [msg] 错误信息
|
|
14
|
+
* @memberof ModelError
|
|
19
15
|
*/
|
|
20
16
|
constructor(model: IData, msg?: string);
|
|
21
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-error.d.ts","sourceRoot":"","sources":["../../../src/error/model-error/model-error.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"model-error.d.ts","sourceRoot":"","sources":["../../../src/error/model-error/model-error.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,KAAK;IAU1B,KAAK,EAAE,KAAK;IATrB,IAAI,EAAE,MAAM,CAA+C;IAE3D;;;;;OAKG;gBAEM,KAAK,EAAE,KAAK,EACnB,GAAG,CAAC,EAAE,MAAM;CASf"}
|