@ibiz-template/core 0.7.39 → 0.7.40
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.js +543 -662
- 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 +8 -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 +42 -0
- package/out/interface/api/environment/i-devtool-config.d.ts.map +1 -0
- package/out/interface/api/environment/i-environment.d.ts +332 -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 +11 -9
- package/out/utils/interceptor/core-interceptor.d.ts.map +1 -1
- package/out/utils/interceptor/core-interceptor.js +31 -12
- package/out/utils/interceptor/interceptor.d.ts +24 -43
- package/out/utils/interceptor/interceptor.d.ts.map +1 -1
- package/out/utils/interceptor/interceptor.js +18 -31
- package/out/utils/logger/logger.js +3 -2
- 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 +6 -16
- package/out/utils/string-util/string-util.d.ts.map +1 -1
- package/out/utils/string-util/string-util.js +6 -16
- 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 +2 -2
- 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 -346
- 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,4 +1,4 @@
|
|
|
1
|
-
import { IPortalMessage } from '../../../interface';
|
|
1
|
+
import { IMessageCommand, IPortalMessage } from '../../../interface';
|
|
2
2
|
import { MessageBase } from '../base/message-base';
|
|
3
3
|
import { CommandCreate } from './create/command-create';
|
|
4
4
|
import { CommandUpdate } from './update/command-update';
|
|
@@ -9,94 +9,80 @@ import { CommandInternalMessage } from './internal-message/command-internal-mess
|
|
|
9
9
|
import { CommandMarkOpenData } from './mark-open-data/command-mark-open-data';
|
|
10
10
|
import { CommandAddInChanged } from './add-in-changed/command-add-in-changed';
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* @author chitanda
|
|
15
|
-
* @date 2023-09-05 16:09:41
|
|
12
|
+
* @description 指令消息控制器
|
|
16
13
|
* @export
|
|
17
14
|
* @class MessageCommand
|
|
18
15
|
* @extends {MessageBase}
|
|
16
|
+
* @implements {IMessageCommand}
|
|
19
17
|
*/
|
|
20
|
-
export declare class MessageCommand extends MessageBase {
|
|
18
|
+
export declare class MessageCommand extends MessageBase implements IMessageCommand {
|
|
21
19
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* @author chitanda
|
|
25
|
-
* @date 2023-09-05 17:09:15
|
|
20
|
+
* @description 数据变更指令消息控制器
|
|
26
21
|
* @type {CommandChange}
|
|
22
|
+
* @memberof MessageCommand
|
|
27
23
|
*/
|
|
28
24
|
readonly change: CommandChange;
|
|
29
25
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* @author chitanda
|
|
33
|
-
* @date 2023-09-05 17:09:55
|
|
26
|
+
* @description 新建数据指令消息控制器
|
|
34
27
|
* @type {CommandCreate}
|
|
28
|
+
* @memberof MessageCommand
|
|
35
29
|
*/
|
|
36
30
|
readonly create: CommandCreate;
|
|
37
31
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* @author chitanda
|
|
41
|
-
* @date 2023-09-05 17:09:01
|
|
32
|
+
* @description 更新数据指令消息控制器
|
|
42
33
|
* @type {CommandUpdate}
|
|
34
|
+
* @memberof MessageCommand
|
|
43
35
|
*/
|
|
44
36
|
readonly update: CommandUpdate;
|
|
45
37
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* @author chitanda
|
|
49
|
-
* @date 2023-09-05 17:09:05
|
|
38
|
+
* @description 删除数据指令消息控制器
|
|
50
39
|
* @type {CommandRemove}
|
|
40
|
+
* @memberof MessageCommand
|
|
51
41
|
*/
|
|
52
42
|
readonly remove: CommandRemove;
|
|
53
43
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* @author chitanda
|
|
57
|
-
* @date 2023-10-23 17:10:56
|
|
44
|
+
* @description 异步指令消息控制器
|
|
58
45
|
* @type {CommandAsyncAction}
|
|
46
|
+
* @memberof MessageCommand
|
|
59
47
|
*/
|
|
60
48
|
readonly asyncAction: CommandAsyncAction;
|
|
61
49
|
/**
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* @author chitanda
|
|
65
|
-
* @date 2023-10-23 17:10:56
|
|
50
|
+
* @description 站内信消息指令消息控制器
|
|
66
51
|
* @type {CommandInternalMessage}
|
|
52
|
+
* @memberof MessageCommand
|
|
67
53
|
*/
|
|
68
54
|
readonly internalMessage: CommandInternalMessage;
|
|
69
55
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
56
|
+
* @description 协同指令消息控制器
|
|
72
57
|
* @type {CommandMarkOpenData}
|
|
73
58
|
* @memberof MessageCommand
|
|
74
59
|
*/
|
|
75
60
|
readonly markOpenData: CommandMarkOpenData;
|
|
76
61
|
/**
|
|
77
|
-
*
|
|
78
|
-
*
|
|
62
|
+
* @description 添加变更指令消息控制器
|
|
79
63
|
* @type {CommandAddInChanged}
|
|
80
64
|
* @memberof MessageCommand
|
|
81
65
|
*/
|
|
82
66
|
readonly addInChanged: CommandAddInChanged;
|
|
83
67
|
/**
|
|
84
|
-
* 推送指令消息
|
|
85
|
-
*
|
|
86
|
-
* @author chitanda
|
|
87
|
-
* @date 2023-09-05 17:09:50
|
|
68
|
+
* @description 推送指令消息
|
|
88
69
|
* @param {IPortalMessage} msg
|
|
70
|
+
* @memberof MessageCommand
|
|
89
71
|
*/
|
|
90
72
|
next(msg: IPortalMessage): void;
|
|
73
|
+
/**
|
|
74
|
+
* @description 发送消息给父级
|
|
75
|
+
* @protected
|
|
76
|
+
* @param {IPortalMessage} msg
|
|
77
|
+
* @memberof MessageCommand
|
|
78
|
+
*/
|
|
91
79
|
protected nextParent(msg: IPortalMessage): void;
|
|
92
80
|
/**
|
|
93
|
-
* 发送指令消息
|
|
94
|
-
*
|
|
95
|
-
* @
|
|
96
|
-
* @
|
|
97
|
-
* @
|
|
98
|
-
* @param {IPortalMessage['subtype']} subtype 子类型
|
|
99
|
-
* @param {string} [triggerKey] 触发源
|
|
81
|
+
* @description 发送指令消息
|
|
82
|
+
* @param {IData} data
|
|
83
|
+
* @param {IPortalMessage['subtype']} subtype
|
|
84
|
+
* @param {string} [triggerKey]
|
|
85
|
+
* @memberof MessageCommand
|
|
100
86
|
*/
|
|
101
87
|
send(data: IData, subtype: IPortalMessage['subtype'], triggerKey?: string): void;
|
|
102
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-command.d.ts","sourceRoot":"","sources":["../../../../src/utils/message-center/command/message-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"message-command.d.ts","sourceRoot":"","sources":["../../../../src/utils/message-center/command/message-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAE9E;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,WAAY,YAAW,eAAe;IACxE;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAuB;IAErD;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,aAAa,CAA2B;IAEzD;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,aAAa,CAA2B;IAEzD;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,aAAa,CAA2B;IAEzD;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAgC;IAExE;;;;OAIG;IACH,QAAQ,CAAC,eAAe,EAAE,sBAAsB,CAE9C;IAEF;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAiC;IAE3E;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAiC;IAE3E;;;;OAIG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAkC/B;;;;;OAKG;IACH,SAAS,CAAC,UAAU,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAgB/C;;;;;;OAMG;IACH,IAAI,CACF,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,EAClC,UAAU,CAAC,EAAE,MAAM,GAClB,IAAI;CAWR"}
|
|
@@ -9,86 +9,68 @@ import { CommandInternalMessage } from './internal-message/command-internal-mess
|
|
|
9
9
|
import { CommandMarkOpenData } from './mark-open-data/command-mark-open-data';
|
|
10
10
|
import { CommandAddInChanged } from './add-in-changed/command-add-in-changed';
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* @author chitanda
|
|
15
|
-
* @date 2023-09-05 16:09:41
|
|
12
|
+
* @description 指令消息控制器
|
|
16
13
|
* @export
|
|
17
14
|
* @class MessageCommand
|
|
18
15
|
* @extends {MessageBase}
|
|
16
|
+
* @implements {IMessageCommand}
|
|
19
17
|
*/
|
|
20
18
|
export class MessageCommand extends MessageBase {
|
|
21
19
|
constructor() {
|
|
22
20
|
super(...arguments);
|
|
23
21
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @author chitanda
|
|
27
|
-
* @date 2023-09-05 17:09:15
|
|
22
|
+
* @description 数据变更指令消息控制器
|
|
28
23
|
* @type {CommandChange}
|
|
24
|
+
* @memberof MessageCommand
|
|
29
25
|
*/
|
|
30
26
|
this.change = new CommandChange();
|
|
31
27
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* @author chitanda
|
|
35
|
-
* @date 2023-09-05 17:09:55
|
|
28
|
+
* @description 新建数据指令消息控制器
|
|
36
29
|
* @type {CommandCreate}
|
|
30
|
+
* @memberof MessageCommand
|
|
37
31
|
*/
|
|
38
32
|
this.create = new CommandCreate(this);
|
|
39
33
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* @author chitanda
|
|
43
|
-
* @date 2023-09-05 17:09:01
|
|
34
|
+
* @description 更新数据指令消息控制器
|
|
44
35
|
* @type {CommandUpdate}
|
|
36
|
+
* @memberof MessageCommand
|
|
45
37
|
*/
|
|
46
38
|
this.update = new CommandUpdate(this);
|
|
47
39
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* @author chitanda
|
|
51
|
-
* @date 2023-09-05 17:09:05
|
|
40
|
+
* @description 删除数据指令消息控制器
|
|
52
41
|
* @type {CommandRemove}
|
|
42
|
+
* @memberof MessageCommand
|
|
53
43
|
*/
|
|
54
44
|
this.remove = new CommandRemove(this);
|
|
55
45
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* @author chitanda
|
|
59
|
-
* @date 2023-10-23 17:10:56
|
|
46
|
+
* @description 异步指令消息控制器
|
|
60
47
|
* @type {CommandAsyncAction}
|
|
48
|
+
* @memberof MessageCommand
|
|
61
49
|
*/
|
|
62
50
|
this.asyncAction = new CommandAsyncAction(this);
|
|
63
51
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @author chitanda
|
|
67
|
-
* @date 2023-10-23 17:10:56
|
|
52
|
+
* @description 站内信消息指令消息控制器
|
|
68
53
|
* @type {CommandInternalMessage}
|
|
54
|
+
* @memberof MessageCommand
|
|
69
55
|
*/
|
|
70
56
|
this.internalMessage = new CommandInternalMessage(this);
|
|
71
57
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
58
|
+
* @description 协同指令消息控制器
|
|
74
59
|
* @type {CommandMarkOpenData}
|
|
75
60
|
* @memberof MessageCommand
|
|
76
61
|
*/
|
|
77
62
|
this.markOpenData = new CommandMarkOpenData(this);
|
|
78
63
|
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
64
|
+
* @description 添加变更指令消息控制器
|
|
81
65
|
* @type {CommandAddInChanged}
|
|
82
66
|
* @memberof MessageCommand
|
|
83
67
|
*/
|
|
84
68
|
this.addInChanged = new CommandAddInChanged(this);
|
|
85
69
|
}
|
|
86
70
|
/**
|
|
87
|
-
* 推送指令消息
|
|
88
|
-
*
|
|
89
|
-
* @author chitanda
|
|
90
|
-
* @date 2023-09-05 17:09:50
|
|
71
|
+
* @description 推送指令消息
|
|
91
72
|
* @param {IPortalMessage} msg
|
|
73
|
+
* @memberof MessageCommand
|
|
92
74
|
*/
|
|
93
75
|
next(msg) {
|
|
94
76
|
// 消息分子类型,子类型发完消息后,会让父发消息
|
|
@@ -123,6 +105,12 @@ export class MessageCommand extends MessageBase {
|
|
|
123
105
|
super.next(msg);
|
|
124
106
|
}
|
|
125
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* @description 发送消息给父级
|
|
110
|
+
* @protected
|
|
111
|
+
* @param {IPortalMessage} msg
|
|
112
|
+
* @memberof MessageCommand
|
|
113
|
+
*/
|
|
126
114
|
nextParent(msg) {
|
|
127
115
|
switch (msg.subtype) {
|
|
128
116
|
case 'OBJECTCREATED':
|
|
@@ -139,13 +127,11 @@ export class MessageCommand extends MessageBase {
|
|
|
139
127
|
super.nextParent(msg);
|
|
140
128
|
}
|
|
141
129
|
/**
|
|
142
|
-
* 发送指令消息
|
|
143
|
-
*
|
|
144
|
-
* @
|
|
145
|
-
* @
|
|
146
|
-
* @
|
|
147
|
-
* @param {IPortalMessage['subtype']} subtype 子类型
|
|
148
|
-
* @param {string} [triggerKey] 触发源
|
|
130
|
+
* @description 发送指令消息
|
|
131
|
+
* @param {IData} data
|
|
132
|
+
* @param {IPortalMessage['subtype']} subtype
|
|
133
|
+
* @param {string} [triggerKey]
|
|
134
|
+
* @memberof MessageCommand
|
|
149
135
|
*/
|
|
150
136
|
send(data, subtype, triggerKey) {
|
|
151
137
|
const msg = {
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { IAppDataEntity, IMsgMetaData } from '
|
|
1
|
+
import { IAppDataEntity, ICommandRemove, IMsgMetaData } from '../../../../interface';
|
|
2
2
|
import { CommandBase } from '../command-base/command-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author chitanda
|
|
7
|
-
* @date 2023-09-05 17:09:03
|
|
4
|
+
* @description 删除指令消息控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class CommandRemove
|
|
10
7
|
* @extends {CommandBase}
|
|
8
|
+
* @implements {ICommandRemove}
|
|
11
9
|
*/
|
|
12
|
-
export declare class CommandRemove extends CommandBase {
|
|
10
|
+
export declare class CommandRemove extends CommandBase implements ICommandRemove {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @author tony001
|
|
17
|
-
* @date 2024-03-26 20:03:05
|
|
12
|
+
* @description 发送消息
|
|
18
13
|
* @param {IAppDataEntity} data 实体数据
|
|
19
|
-
* @param {IMsgMetaData} meta 元数据
|
|
14
|
+
* @param {IMsgMetaData} [meta] 元数据
|
|
15
|
+
* @memberof CommandRemove
|
|
20
16
|
*/
|
|
21
17
|
send(data: IAppDataEntity, meta?: IMsgMetaData): void;
|
|
22
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-remove.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/remove/command-remove.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"command-remove.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/remove/command-remove.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,EACd,YAAY,EACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;;GAMG;AACH,qBAAa,aAAc,SAAQ,WAAY,YAAW,cAAc;IACtE;;;;;OAKG;IACH,IAAI,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI;CAGtD"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { CommandBase } from '../command-base/command-base';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2023-09-05 17:09:03
|
|
3
|
+
* @description 删除指令消息控制器
|
|
7
4
|
* @export
|
|
8
5
|
* @class CommandRemove
|
|
9
6
|
* @extends {CommandBase}
|
|
7
|
+
* @implements {ICommandRemove}
|
|
10
8
|
*/
|
|
11
9
|
export class CommandRemove extends CommandBase {
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @author tony001
|
|
16
|
-
* @date 2024-03-26 20:03:05
|
|
11
|
+
* @description 发送消息
|
|
17
12
|
* @param {IAppDataEntity} data 实体数据
|
|
18
|
-
* @param {IMsgMetaData} meta 元数据
|
|
13
|
+
* @param {IMsgMetaData} [meta] 元数据
|
|
14
|
+
* @memberof CommandRemove
|
|
19
15
|
*/
|
|
20
16
|
send(data, meta) {
|
|
21
17
|
this.sendCommand(data, 'OBJECTREMOVED', meta === null || meta === void 0 ? void 0 : meta.triggerKey);
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { IAppDataEntity, IMsgMetaData } from '
|
|
1
|
+
import { IAppDataEntity, ICommandUpdate, IMsgMetaData } from '../../../../interface';
|
|
2
2
|
import { CommandBase } from '../command-base/command-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author chitanda
|
|
7
|
-
* @date 2023-09-05 17:09:54
|
|
4
|
+
* @description 更新指令消息控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class CommandUpdate
|
|
10
7
|
* @extends {CommandBase}
|
|
8
|
+
* @implements {ICommandUpdate}
|
|
11
9
|
*/
|
|
12
|
-
export declare class CommandUpdate extends CommandBase {
|
|
10
|
+
export declare class CommandUpdate extends CommandBase implements ICommandUpdate {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @author tony001
|
|
17
|
-
* @date 2024-03-26 20:03:28
|
|
12
|
+
* @description 发送消息
|
|
18
13
|
* @param {IAppDataEntity} data 实体数据
|
|
19
|
-
* @param {IMsgMetaData} meta 元数据
|
|
14
|
+
* @param {IMsgMetaData} [meta] 元数据
|
|
15
|
+
* @memberof CommandUpdate
|
|
20
16
|
*/
|
|
21
17
|
send(data: IAppDataEntity, meta?: IMsgMetaData): void;
|
|
22
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-update.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/update/command-update.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"command-update.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/update/command-update.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,EACd,YAAY,EACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;;GAMG;AACH,qBAAa,aAAc,SAAQ,WAAY,YAAW,cAAc;IACtE;;;;;OAKG;IACH,IAAI,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI;CAGtD"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { CommandBase } from '../command-base/command-base';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2023-09-05 17:09:54
|
|
3
|
+
* @description 更新指令消息控制器
|
|
7
4
|
* @export
|
|
8
5
|
* @class CommandUpdate
|
|
9
6
|
* @extends {CommandBase}
|
|
7
|
+
* @implements {ICommandUpdate}
|
|
10
8
|
*/
|
|
11
9
|
export class CommandUpdate extends CommandBase {
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @author tony001
|
|
16
|
-
* @date 2024-03-26 20:03:28
|
|
11
|
+
* @description 发送消息
|
|
17
12
|
* @param {IAppDataEntity} data 实体数据
|
|
18
|
-
* @param {IMsgMetaData} meta 元数据
|
|
13
|
+
* @param {IMsgMetaData} [meta] 元数据
|
|
14
|
+
* @memberof CommandUpdate
|
|
19
15
|
*/
|
|
20
16
|
send(data, meta) {
|
|
21
17
|
this.sendCommand(data, 'OBJECTUPDATED', meta === null || meta === void 0 ? void 0 : meta.triggerKey);
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
+
import { IMessageConsole } from '../../../interface';
|
|
1
2
|
import { MessageBase } from '../base/message-base';
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2023-09-05 16:09:33
|
|
4
|
+
* @description 日志消息控制器
|
|
7
5
|
* @export
|
|
8
6
|
* @class MessageConsole
|
|
9
7
|
* @extends {MessageBase}
|
|
8
|
+
* @implements {IMessageConsole}
|
|
10
9
|
*/
|
|
11
|
-
export declare class MessageConsole extends MessageBase {
|
|
10
|
+
export declare class MessageConsole extends MessageBase implements IMessageConsole {
|
|
12
11
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @author chitanda
|
|
16
|
-
* @date 2023-09-05 16:09:25
|
|
12
|
+
* @description 发送消息
|
|
17
13
|
* @param {(IData | string)} data
|
|
14
|
+
* @memberof MessageConsole
|
|
18
15
|
*/
|
|
19
16
|
send(data: IData | string): void;
|
|
20
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-console.d.ts","sourceRoot":"","sources":["../../../../src/utils/message-center/console/message-console.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message-console.d.ts","sourceRoot":"","sources":["../../../../src/utils/message-center/console/message-console.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAkB,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,WAAY,YAAW,eAAe;IACxE;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI;CASjC"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { createUUID } from 'qx-util';
|
|
2
2
|
import { MessageBase } from '../base/message-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author chitanda
|
|
7
|
-
* @date 2023-09-05 16:09:33
|
|
4
|
+
* @description 日志消息控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class MessageConsole
|
|
10
7
|
* @extends {MessageBase}
|
|
8
|
+
* @implements {IMessageConsole}
|
|
11
9
|
*/
|
|
12
10
|
export class MessageConsole extends MessageBase {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @author chitanda
|
|
17
|
-
* @date 2023-09-05 16:09:25
|
|
12
|
+
* @description 发送消息
|
|
18
13
|
* @param {(IData | string)} data
|
|
14
|
+
* @memberof MessageConsole
|
|
19
15
|
*/
|
|
20
16
|
send(data) {
|
|
21
17
|
const msg = {
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
+
import { IMessageError } from '../../../interface';
|
|
1
2
|
import { MessageBase } from '../base/message-base';
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author tony001
|
|
6
|
-
* @date 2024-04-28 10:04:58
|
|
4
|
+
* @description 错误消息控制器
|
|
7
5
|
* @export
|
|
8
6
|
* @class MessageError
|
|
9
7
|
* @extends {MessageBase}
|
|
8
|
+
* @implements {IMessageError}
|
|
10
9
|
*/
|
|
11
|
-
export declare class MessageError extends MessageBase {
|
|
10
|
+
export declare class MessageError extends MessageBase implements IMessageError {
|
|
12
11
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @author tony001
|
|
16
|
-
* @date 2024-04-28 10:04:16
|
|
12
|
+
* @description 发送消息
|
|
17
13
|
* @param {(IData | string)} data
|
|
14
|
+
* @memberof MessageError
|
|
18
15
|
*/
|
|
19
16
|
send(data: IData | string): void;
|
|
20
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-error.d.ts","sourceRoot":"","sources":["../../../../src/utils/message-center/error/message-error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message-error.d.ts","sourceRoot":"","sources":["../../../../src/utils/message-center/error/message-error.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAkB,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;;;GAMG;AACH,qBAAa,YAAa,SAAQ,WAAY,YAAW,aAAa;IACpE;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI;CASjC"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { createUUID } from 'qx-util';
|
|
2
2
|
import { MessageBase } from '../base/message-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author tony001
|
|
7
|
-
* @date 2024-04-28 10:04:58
|
|
4
|
+
* @description 错误消息控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class MessageError
|
|
10
7
|
* @extends {MessageBase}
|
|
8
|
+
* @implements {IMessageError}
|
|
11
9
|
*/
|
|
12
10
|
export class MessageError extends MessageBase {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @author tony001
|
|
17
|
-
* @date 2024-04-28 10:04:16
|
|
12
|
+
* @description 发送消息
|
|
18
13
|
* @param {(IData | string)} data
|
|
14
|
+
* @memberof MessageError
|
|
19
15
|
*/
|
|
20
16
|
send(data) {
|
|
21
17
|
const msg = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/message-center/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/message-center/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,71 +1,56 @@
|
|
|
1
|
-
import { IPortalMessage } from '../../interface';
|
|
1
|
+
import { IMessageCenter, IPortalMessage } from '../../interface';
|
|
2
2
|
import { MessageAll } from './base/message-all';
|
|
3
3
|
import { MessageCommand } from './command/message-command';
|
|
4
4
|
import { MessageConsole } from './console/message-console';
|
|
5
5
|
import { MessageError } from './error/message-error';
|
|
6
6
|
/**
|
|
7
|
-
* 界面消息中心
|
|
8
|
-
*
|
|
9
|
-
* @author chitanda
|
|
10
|
-
* @date 2023-09-05 15:09:14
|
|
7
|
+
* @description 界面消息中心
|
|
11
8
|
* @export
|
|
12
9
|
* @class MessageCenter
|
|
10
|
+
* @implements {IMessageCenter}
|
|
13
11
|
*/
|
|
14
|
-
export declare class MessageCenter {
|
|
12
|
+
export declare class MessageCenter implements IMessageCenter {
|
|
15
13
|
/**
|
|
16
|
-
* 所有消息
|
|
17
|
-
*
|
|
18
|
-
* @author chitanda
|
|
19
|
-
* @date 2023-09-05 16:09:12
|
|
14
|
+
* @description 所有消息
|
|
15
|
+
* @protected
|
|
20
16
|
* @type {MessageAll}
|
|
17
|
+
* @memberof MessageCenter
|
|
21
18
|
*/
|
|
22
19
|
protected all: MessageAll;
|
|
23
20
|
/**
|
|
24
|
-
* 指令消息
|
|
25
|
-
*
|
|
26
|
-
* @author chitanda
|
|
27
|
-
* @date 2023-09-05 16:09:28
|
|
21
|
+
* @description 指令消息
|
|
28
22
|
* @type {MessageCommand}
|
|
23
|
+
* @memberof MessageCenter
|
|
29
24
|
*/
|
|
30
25
|
readonly command: MessageCommand;
|
|
31
26
|
/**
|
|
32
|
-
* 日志消息
|
|
33
|
-
*
|
|
34
|
-
* @author chitanda
|
|
35
|
-
* @date 2023-09-05 16:09:48
|
|
27
|
+
* @description 日志消息
|
|
36
28
|
* @type {MessageConsole}
|
|
29
|
+
* @memberof MessageCenter
|
|
37
30
|
*/
|
|
38
31
|
readonly console: MessageConsole;
|
|
39
32
|
/**
|
|
40
|
-
* 错误消息
|
|
41
|
-
*
|
|
42
|
-
* @author tony001
|
|
43
|
-
* @date 2024-04-28 10:04:25
|
|
33
|
+
* @description 错误消息
|
|
44
34
|
* @type {MessageError}
|
|
35
|
+
* @memberof MessageCenter
|
|
45
36
|
*/
|
|
46
37
|
readonly error: MessageError;
|
|
47
38
|
/**
|
|
48
|
-
* 发送消息
|
|
49
|
-
*
|
|
50
|
-
* @
|
|
51
|
-
* @date 2023-09-05 15:09:49
|
|
52
|
-
* @param {IPortalMessage} msg
|
|
39
|
+
* @description 发送消息
|
|
40
|
+
* @param {IPortalMessage} msg 消息
|
|
41
|
+
* @memberof MessageCenter
|
|
53
42
|
*/
|
|
54
43
|
next(msg: IPortalMessage): void;
|
|
55
44
|
/**
|
|
56
|
-
* 订阅消息
|
|
57
|
-
*
|
|
58
|
-
* @author chitanda
|
|
59
|
-
* @date 2023-09-05 17:09:32
|
|
45
|
+
* @description 订阅消息
|
|
60
46
|
* @param {(msg: IPortalMessage) => void} callback
|
|
47
|
+
* @memberof MessageCenter
|
|
61
48
|
*/
|
|
62
49
|
on(callback: (msg: IPortalMessage) => void): void;
|
|
63
50
|
/**
|
|
64
|
-
* 取消订阅
|
|
65
|
-
*
|
|
66
|
-
* @author chitanda
|
|
67
|
-
* @date 2023-09-05 17:09:38
|
|
51
|
+
* @description 取消订阅
|
|
68
52
|
* @param {(msg: IPortalMessage) => void} callback
|
|
53
|
+
* @memberof MessageCenter
|
|
69
54
|
*/
|
|
70
55
|
off(callback: (msg: IPortalMessage) => void): void;
|
|
71
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-center.d.ts","sourceRoot":"","sources":["../../../src/utils/message-center/message-center.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"message-center.d.ts","sourceRoot":"","sources":["../../../src/utils/message-center/message-center.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD;;;;;GAKG;AACH,qBAAa,aAAc,YAAW,cAAc;IAClD;;;;;OAKG;IACH,SAAS,CAAC,GAAG,EAAE,UAAU,CAAoB;IAE7C;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAgC;IAEhE;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAgC;IAEhE;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,YAAY,CAA8B;IAE1D;;;;OAIG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAY/B;;;;OAIG;IACH,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,GAAG,IAAI;IAIjD;;;;OAIG;IACH,GAAG,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,GAAG,IAAI;CAGnD"}
|