@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,68 +1,51 @@
|
|
|
1
1
|
import { QXEvent } from 'qx-util';
|
|
2
|
-
import { IPortalMessage } from '../../../interface';
|
|
2
|
+
import { IMessageBase, IMessageCenterEvent, IPortalMessage } from '../../../interface';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author chitanda
|
|
7
|
-
* @date 2023-09-05 16:09:17
|
|
8
|
-
* @interface MessageCenterEvent
|
|
9
|
-
*/
|
|
10
|
-
interface MessageCenterEvent {
|
|
11
|
-
all: (msg: IPortalMessage) => void;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* 消息基类,各个类型消息继承此类
|
|
15
|
-
*
|
|
16
|
-
* @author chitanda
|
|
17
|
-
* @date 2023-09-05 16:09:41
|
|
4
|
+
* @description 消息基类控制器,各个类型消息继承此类
|
|
18
5
|
* @export
|
|
6
|
+
* @abstract
|
|
19
7
|
* @class MessageBase
|
|
8
|
+
* @implements {IMessageBase}
|
|
20
9
|
*/
|
|
21
|
-
export declare abstract class MessageBase {
|
|
10
|
+
export declare abstract class MessageBase implements IMessageBase {
|
|
22
11
|
protected parent?: MessageBase | undefined;
|
|
23
12
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @author chitanda
|
|
27
|
-
* @date 2023-09-05 16:09:58
|
|
13
|
+
* @description 事件对象
|
|
28
14
|
* @protected
|
|
29
|
-
* @type {QXEvent<
|
|
15
|
+
* @type {QXEvent<IMessageCenterEvent>}
|
|
16
|
+
* @memberof MessageBase
|
|
17
|
+
*/
|
|
18
|
+
protected evt: QXEvent<IMessageCenterEvent>;
|
|
19
|
+
/**
|
|
20
|
+
* Creates an instance of MessageBase.
|
|
21
|
+
* @param {MessageBase} [parent]
|
|
22
|
+
* @memberof MessageBase
|
|
30
23
|
*/
|
|
31
|
-
protected evt: QXEvent<MessageCenterEvent>;
|
|
32
24
|
constructor(parent?: MessageBase | undefined);
|
|
33
25
|
/**
|
|
34
|
-
* 推送标准结构消息
|
|
35
|
-
*
|
|
36
|
-
* @author chitanda
|
|
37
|
-
* @date 2023-09-05 16:09:40
|
|
26
|
+
* @description 推送标准结构消息
|
|
38
27
|
* @param {IPortalMessage} msg
|
|
28
|
+
* @memberof MessageBase
|
|
39
29
|
*/
|
|
40
30
|
next(msg: IPortalMessage): void;
|
|
41
31
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* @author chitanda
|
|
45
|
-
* @date 2023-09-05 17:09:08
|
|
32
|
+
* @description 向父级推送消息(私有方法)
|
|
46
33
|
* @protected
|
|
47
34
|
* @param {IPortalMessage} msg
|
|
35
|
+
* @memberof MessageBase
|
|
48
36
|
*/
|
|
49
37
|
protected nextParent(msg: IPortalMessage): void;
|
|
50
38
|
/**
|
|
51
|
-
* 订阅消息
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
54
|
-
* @date 2023-09-05 15:09:21
|
|
55
|
-
* @param {(msg: IPortalMessage) => void} evt
|
|
39
|
+
* @description 订阅消息
|
|
40
|
+
* @param {(msg: IPortalMessage) => void} cb
|
|
41
|
+
* @memberof MessageBase
|
|
56
42
|
*/
|
|
57
43
|
on(cb: (msg: IPortalMessage) => void): void;
|
|
58
44
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* @author chitanda
|
|
62
|
-
* @date 2023-09-05 15:09:50
|
|
45
|
+
* @description 取消订阅消息
|
|
63
46
|
* @param {(msg: IPortalMessage) => void} cb
|
|
47
|
+
* @memberof MessageBase
|
|
64
48
|
*/
|
|
65
49
|
off(cb: (msg: IPortalMessage) => void): void;
|
|
66
50
|
}
|
|
67
|
-
export {};
|
|
68
51
|
//# sourceMappingURL=message-base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-base.d.ts","sourceRoot":"","sources":["../../../../src/utils/message-center/base/message-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,
|
|
1
|
+
{"version":3,"file":"message-base.d.ts","sourceRoot":"","sources":["../../../../src/utils/message-center/base/message-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACf,MAAM,oBAAoB,CAAC;AAE5B;;;;;;GAMG;AACH,8BAAsB,WAAY,YAAW,YAAY;IAc3C,SAAS,CAAC,MAAM,CAAC;IAb7B;;;;;OAKG;IACH,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAqB;IAEhE;;;;OAIG;gBACmB,MAAM,CAAC,yBAAa;IAE1C;;;;OAIG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAO/B;;;;;OAKG;IACH,SAAS,CAAC,UAAU,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAO/C;;;;OAIG;IACH,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,GAAG,IAAI;IAI3C;;;;OAIG;IACH,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,GAAG,IAAI;CAG7C"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { QXEvent } from 'qx-util';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2023-09-05 16:09:41
|
|
3
|
+
* @description 消息基类控制器,各个类型消息继承此类
|
|
7
4
|
* @export
|
|
5
|
+
* @abstract
|
|
8
6
|
* @class MessageBase
|
|
7
|
+
* @implements {IMessageBase}
|
|
9
8
|
*/
|
|
10
9
|
export class MessageBase {
|
|
10
|
+
/**
|
|
11
|
+
* Creates an instance of MessageBase.
|
|
12
|
+
* @param {MessageBase} [parent]
|
|
13
|
+
* @memberof MessageBase
|
|
14
|
+
*/
|
|
11
15
|
constructor(parent) {
|
|
12
16
|
this.parent = parent;
|
|
13
17
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @author chitanda
|
|
17
|
-
* @date 2023-09-05 16:09:58
|
|
18
|
+
* @description 事件对象
|
|
18
19
|
* @protected
|
|
19
|
-
* @type {QXEvent<
|
|
20
|
+
* @type {QXEvent<IMessageCenterEvent>}
|
|
21
|
+
* @memberof MessageBase
|
|
20
22
|
*/
|
|
21
23
|
this.evt = new QXEvent(1000);
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
|
-
* 推送标准结构消息
|
|
25
|
-
*
|
|
26
|
-
* @author chitanda
|
|
27
|
-
* @date 2023-09-05 16:09:40
|
|
26
|
+
* @description 推送标准结构消息
|
|
28
27
|
* @param {IPortalMessage} msg
|
|
28
|
+
* @memberof MessageBase
|
|
29
29
|
*/
|
|
30
30
|
next(msg) {
|
|
31
31
|
this.evt.emit('all', msg);
|
|
@@ -34,12 +34,10 @@ export class MessageBase {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* @author chitanda
|
|
40
|
-
* @date 2023-09-05 17:09:08
|
|
37
|
+
* @description 向父级推送消息(私有方法)
|
|
41
38
|
* @protected
|
|
42
39
|
* @param {IPortalMessage} msg
|
|
40
|
+
* @memberof MessageBase
|
|
43
41
|
*/
|
|
44
42
|
nextParent(msg) {
|
|
45
43
|
if (this.parent) {
|
|
@@ -48,21 +46,17 @@ export class MessageBase {
|
|
|
48
46
|
}
|
|
49
47
|
}
|
|
50
48
|
/**
|
|
51
|
-
* 订阅消息
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
54
|
-
* @date 2023-09-05 15:09:21
|
|
55
|
-
* @param {(msg: IPortalMessage) => void} evt
|
|
49
|
+
* @description 订阅消息
|
|
50
|
+
* @param {(msg: IPortalMessage) => void} cb
|
|
51
|
+
* @memberof MessageBase
|
|
56
52
|
*/
|
|
57
53
|
on(cb) {
|
|
58
54
|
this.evt.on('all', cb);
|
|
59
55
|
}
|
|
60
56
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* @author chitanda
|
|
64
|
-
* @date 2023-09-05 15:09:50
|
|
57
|
+
* @description 取消订阅消息
|
|
65
58
|
* @param {(msg: IPortalMessage) => void} cb
|
|
59
|
+
* @memberof MessageBase
|
|
66
60
|
*/
|
|
67
61
|
off(cb) {
|
|
68
62
|
this.evt.off('all', cb);
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { IAddInChanged } from '../../../../interface';
|
|
1
|
+
import { IAddInChanged, ICommandAddInChanged } from '../../../../interface';
|
|
2
2
|
import { CommandBase } from '../command-base/command-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* @description 添加变更指令消息控制器
|
|
6
5
|
* @export
|
|
7
6
|
* @class CommandAddInChanged
|
|
8
7
|
* @extends {CommandBase}
|
|
8
|
+
* @implements {ICommandAddInChanged}
|
|
9
9
|
*/
|
|
10
|
-
export declare class CommandAddInChanged extends CommandBase {
|
|
10
|
+
export declare class CommandAddInChanged extends CommandBase implements ICommandAddInChanged {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* @description 发送消息
|
|
14
13
|
* @param {IAddInChanged} data
|
|
15
14
|
* @memberof CommandAddInChanged
|
|
16
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-add-in-changed.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/add-in-changed/command-add-in-changed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"command-add-in-changed.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/add-in-changed/command-add-in-changed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;;GAMG;AACH,qBAAa,mBACX,SAAQ,WACR,YAAW,oBAAoB;IAE/B;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI;CAGhC"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { CommandBase } from '../command-base/command-base';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* @description 添加变更指令消息控制器
|
|
5
4
|
* @export
|
|
6
5
|
* @class CommandAddInChanged
|
|
7
6
|
* @extends {CommandBase}
|
|
7
|
+
* @implements {ICommandAddInChanged}
|
|
8
8
|
*/
|
|
9
9
|
export class CommandAddInChanged extends CommandBase {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* @description 发送消息
|
|
13
12
|
* @param {IAddInChanged} data
|
|
14
13
|
* @memberof CommandAddInChanged
|
|
15
14
|
*/
|
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
import { IPortalAsyncAction } from '../../../../interface';
|
|
1
|
+
import { ICommandAsyncAction, IPortalAsyncAction } from '../../../../interface';
|
|
2
2
|
import { CommandBase } from '../command-base/command-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author chitanda
|
|
7
|
-
* @date 2023-10-23 17:10:28
|
|
4
|
+
* @description 异步作业指令消息控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class CommandAsyncAction
|
|
10
7
|
* @extends {CommandBase}
|
|
8
|
+
* @implements {ICommandAsyncAction}
|
|
11
9
|
*/
|
|
12
|
-
export declare class CommandAsyncAction extends CommandBase {
|
|
10
|
+
export declare class CommandAsyncAction extends CommandBase implements ICommandAsyncAction {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @author chitanda
|
|
17
|
-
* @date 2023-10-23 17:10:46
|
|
12
|
+
* @description 发送消息
|
|
18
13
|
* @param {IPortalAsyncAction} data
|
|
14
|
+
* @memberof CommandAsyncAction
|
|
19
15
|
*/
|
|
20
16
|
send(data: IPortalAsyncAction): void;
|
|
21
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-async-action.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/async-action/command-async-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"command-async-action.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/async-action/command-async-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;;GAMG;AACH,qBAAa,kBACX,SAAQ,WACR,YAAW,mBAAmB;IAE9B;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;CAGrC"}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { CommandBase } from '../command-base/command-base';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2023-10-23 17:10:28
|
|
3
|
+
* @description 异步作业指令消息控制器
|
|
7
4
|
* @export
|
|
8
5
|
* @class CommandAsyncAction
|
|
9
6
|
* @extends {CommandBase}
|
|
7
|
+
* @implements {ICommandAsyncAction}
|
|
10
8
|
*/
|
|
11
9
|
export class CommandAsyncAction extends CommandBase {
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @author chitanda
|
|
16
|
-
* @date 2023-10-23 17:10:46
|
|
11
|
+
* @description 发送消息
|
|
17
12
|
* @param {IPortalAsyncAction} data
|
|
13
|
+
* @memberof CommandAsyncAction
|
|
18
14
|
*/
|
|
19
15
|
send(data) {
|
|
20
16
|
this.sendCommand(data, 'ASYNCACTION');
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
+
import { ICommandChange } from '../../../../interface';
|
|
1
2
|
import { CommandBase } from '../command-base/command-base';
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2023-09-05 17:09:49
|
|
4
|
+
* @description 数据变更指令消息控制器
|
|
7
5
|
* @export
|
|
8
6
|
* @class CommandChange
|
|
9
7
|
* @extends {CommandBase}
|
|
8
|
+
* @implements {ICommandChange}
|
|
10
9
|
*/
|
|
11
|
-
export declare class CommandChange extends CommandBase {
|
|
10
|
+
export declare class CommandChange extends CommandBase implements ICommandChange {
|
|
12
11
|
}
|
|
13
12
|
//# sourceMappingURL=command-change.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-change.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/change/command-change.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D
|
|
1
|
+
{"version":3,"file":"command-change.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/change/command-change.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;;GAMG;AACH,qBAAa,aAAc,SAAQ,WAAY,YAAW,cAAc;CAAG"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { CommandBase } from '../command-base/command-base';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2023-09-05 17:09:49
|
|
3
|
+
* @description 数据变更指令消息控制器
|
|
7
4
|
* @export
|
|
8
5
|
* @class CommandChange
|
|
9
6
|
* @extends {CommandBase}
|
|
7
|
+
* @implements {ICommandChange}
|
|
10
8
|
*/
|
|
11
9
|
export class CommandChange extends CommandBase {
|
|
12
10
|
}
|
|
@@ -1,25 +1,20 @@
|
|
|
1
|
-
import { IPortalMessage } from '../../../../interface';
|
|
1
|
+
import { ICommandBase, IPortalMessage } from '../../../../interface';
|
|
2
2
|
import { MessageBase } from '../../base/message-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author chitanda
|
|
7
|
-
* @date 2023-09-05 16:09:11
|
|
4
|
+
* @description 指令消息基类控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class CommandBase
|
|
10
7
|
* @extends {MessageBase}
|
|
8
|
+
* @implements {ICommandBase}
|
|
11
9
|
*/
|
|
12
|
-
export declare class CommandBase extends MessageBase {
|
|
10
|
+
export declare class CommandBase extends MessageBase implements ICommandBase {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @
|
|
17
|
-
* @
|
|
18
|
-
* @
|
|
19
|
-
* @param {IData} data 数据
|
|
20
|
-
* @param {IPortalMessage['subtype']} subtype 子类型 数据更新 | 数据删除 | 数据创建
|
|
21
|
-
* @param {string} [triggerKey] 触发源
|
|
12
|
+
* @description 发送指令消息
|
|
13
|
+
* @param {IData} data
|
|
14
|
+
* @param {IPortalMessage['subtype']} subtype
|
|
15
|
+
* @param {string} [triggerKey]
|
|
16
|
+
* @memberof CommandBase
|
|
22
17
|
*/
|
|
23
|
-
|
|
18
|
+
sendCommand(data: IData, subtype: IPortalMessage['subtype'], triggerKey?: string): void;
|
|
24
19
|
}
|
|
25
20
|
//# sourceMappingURL=command-base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-base.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/command-base/command-base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"command-base.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/command-base/command-base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD;;;;;;GAMG;AACH,qBAAa,WAAY,SAAQ,WAAY,YAAW,YAAY;IAClE;;;;;;OAMG;IACH,WAAW,CACT,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,EAClC,UAAU,CAAC,EAAE,MAAM,GAClB,IAAI;CAWR"}
|
|
@@ -1,24 +1,19 @@
|
|
|
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:11
|
|
4
|
+
* @description 指令消息基类控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class CommandBase
|
|
10
7
|
* @extends {MessageBase}
|
|
8
|
+
* @implements {ICommandBase}
|
|
11
9
|
*/
|
|
12
10
|
export class CommandBase extends MessageBase {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @
|
|
17
|
-
* @
|
|
18
|
-
* @
|
|
19
|
-
* @param {IData} data 数据
|
|
20
|
-
* @param {IPortalMessage['subtype']} subtype 子类型 数据更新 | 数据删除 | 数据创建
|
|
21
|
-
* @param {string} [triggerKey] 触发源
|
|
12
|
+
* @description 发送指令消息
|
|
13
|
+
* @param {IData} data
|
|
14
|
+
* @param {IPortalMessage['subtype']} subtype
|
|
15
|
+
* @param {string} [triggerKey]
|
|
16
|
+
* @memberof CommandBase
|
|
22
17
|
*/
|
|
23
18
|
sendCommand(data, subtype, triggerKey) {
|
|
24
19
|
const msg = {
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { IAppDataEntity, IMsgMetaData } from '
|
|
1
|
+
import { IAppDataEntity, ICommandCreate, 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:57
|
|
4
|
+
* @description 创建指令消息控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class CommandCreate
|
|
10
7
|
* @extends {CommandBase}
|
|
8
|
+
* @implements {ICommandCreate}
|
|
11
9
|
*/
|
|
12
|
-
export declare class CommandCreate extends CommandBase {
|
|
10
|
+
export declare class CommandCreate extends CommandBase implements ICommandCreate {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @
|
|
17
|
-
* @
|
|
18
|
-
* @param {IAppDataEntity} data 实体数据
|
|
19
|
-
* @param {IMsgMetaData} meta 元数据
|
|
12
|
+
* @description 发送消息
|
|
13
|
+
* @param {IAppDataEntity} data
|
|
14
|
+
* @param {IMsgMetaData} [meta]
|
|
15
|
+
* @memberof CommandCreate
|
|
20
16
|
*/
|
|
21
17
|
send(data: IAppDataEntity, meta?: IMsgMetaData): void;
|
|
22
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-create.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/create/command-create.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"command-create.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/create/command-create.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:57
|
|
3
|
+
* @description 创建指令消息控制器
|
|
7
4
|
* @export
|
|
8
5
|
* @class CommandCreate
|
|
9
6
|
* @extends {CommandBase}
|
|
7
|
+
* @implements {ICommandCreate}
|
|
10
8
|
*/
|
|
11
9
|
export class CommandCreate extends CommandBase {
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @
|
|
16
|
-
* @
|
|
17
|
-
* @param {IAppDataEntity} data 实体数据
|
|
18
|
-
* @param {IMsgMetaData} meta 元数据
|
|
11
|
+
* @description 发送消息
|
|
12
|
+
* @param {IAppDataEntity} data
|
|
13
|
+
* @param {IMsgMetaData} [meta]
|
|
14
|
+
* @memberof CommandCreate
|
|
19
15
|
*/
|
|
20
16
|
send(data, meta) {
|
|
21
17
|
this.sendCommand(data, 'OBJECTCREATED', meta === null || meta === void 0 ? void 0 : meta.triggerKey);
|
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
import { IInternalMessage } from '../../../../interface';
|
|
1
|
+
import { ICommandInternalMessage, IInternalMessage } from '../../../../interface';
|
|
2
2
|
import { CommandBase } from '../command-base/command-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2024-01-30 11:38:38
|
|
4
|
+
* @description 站内信指令消息控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class CommandInternalMessage
|
|
10
7
|
* @extends {CommandBase}
|
|
8
|
+
* @implements {ICommandInternalMessage}
|
|
11
9
|
*/
|
|
12
|
-
export declare class CommandInternalMessage extends CommandBase {
|
|
10
|
+
export declare class CommandInternalMessage extends CommandBase implements ICommandInternalMessage {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @
|
|
17
|
-
* @date 2023-10-23 17:10:46
|
|
18
|
-
* @param {IPortalInternalMessage} data
|
|
12
|
+
* @description 发送消息
|
|
13
|
+
* @param {IInternalMessage} data
|
|
14
|
+
* @memberof CommandInternalMessage
|
|
19
15
|
*/
|
|
20
16
|
send(data: IInternalMessage): void;
|
|
21
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-internal-message.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/internal-message/command-internal-message.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"command-internal-message.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/internal-message/command-internal-message.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;;GAMG;AACH,qBAAa,sBACX,SAAQ,WACR,YAAW,uBAAuB;IAElC;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI;CAGnC"}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { CommandBase } from '../command-base/command-base';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author lxm
|
|
6
|
-
* @date 2024-01-30 11:38:38
|
|
3
|
+
* @description 站内信指令消息控制器
|
|
7
4
|
* @export
|
|
8
5
|
* @class CommandInternalMessage
|
|
9
6
|
* @extends {CommandBase}
|
|
7
|
+
* @implements {ICommandInternalMessage}
|
|
10
8
|
*/
|
|
11
9
|
export class CommandInternalMessage extends CommandBase {
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @
|
|
16
|
-
* @date 2023-10-23 17:10:46
|
|
17
|
-
* @param {IPortalInternalMessage} data
|
|
11
|
+
* @description 发送消息
|
|
12
|
+
* @param {IInternalMessage} data
|
|
13
|
+
* @memberof CommandInternalMessage
|
|
18
14
|
*/
|
|
19
15
|
send(data) {
|
|
20
16
|
this.sendCommand(data, 'INTERNALMESSAGE');
|
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
import { IMarkOpenData } from '../../../../interface';
|
|
1
|
+
import { ICommandMarkOpenData, IMarkOpenData } from '../../../../interface';
|
|
2
2
|
import { CommandBase } from '../command-base/command-base';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2024-01-30 11:38:38
|
|
4
|
+
* @description 协同指令消息控制器
|
|
8
5
|
* @export
|
|
9
6
|
* @class CommandMarkOpenData
|
|
10
7
|
* @extends {CommandBase}
|
|
8
|
+
* @implements {ICommandMarkOpenData}
|
|
11
9
|
*/
|
|
12
|
-
export declare class CommandMarkOpenData extends CommandBase {
|
|
10
|
+
export declare class CommandMarkOpenData extends CommandBase implements ICommandMarkOpenData {
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @author lxm
|
|
17
|
-
* @date 2024-02-01 03:42:40
|
|
12
|
+
* @description 发送消息
|
|
18
13
|
* @param {IMarkOpenData} data
|
|
14
|
+
* @memberof CommandMarkOpenData
|
|
19
15
|
*/
|
|
20
16
|
send(data: IMarkOpenData): void;
|
|
21
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-mark-open-data.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/mark-open-data/command-mark-open-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"command-mark-open-data.d.ts","sourceRoot":"","sources":["../../../../../src/utils/message-center/command/mark-open-data/command-mark-open-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;;GAMG;AACH,qBAAa,mBACX,SAAQ,WACR,YAAW,oBAAoB;IAE/B;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI;CAGhC"}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { CommandBase } from '../command-base/command-base';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @author lxm
|
|
6
|
-
* @date 2024-01-30 11:38:38
|
|
3
|
+
* @description 协同指令消息控制器
|
|
7
4
|
* @export
|
|
8
5
|
* @class CommandMarkOpenData
|
|
9
6
|
* @extends {CommandBase}
|
|
7
|
+
* @implements {ICommandMarkOpenData}
|
|
10
8
|
*/
|
|
11
9
|
export class CommandMarkOpenData extends CommandBase {
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @author lxm
|
|
16
|
-
* @date 2024-02-01 03:42:40
|
|
11
|
+
* @description 发送消息
|
|
17
12
|
* @param {IMarkOpenData} data
|
|
13
|
+
* @memberof CommandMarkOpenData
|
|
18
14
|
*/
|
|
19
15
|
send(data) {
|
|
20
16
|
this.sendCommand(data, 'MARKOPENDATA');
|