@ibiz-template/core 0.7.38-alpha.57 → 0.7.40-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +106 -0
- package/dist/index.esm.js +591 -658
- package/dist/index.system.min.js +1 -1
- package/out/command/command-register.d.ts +23 -37
- package/out/command/command-register.d.ts.map +1 -1
- package/out/command/command-register.js +22 -36
- package/out/command/command.d.ts +28 -34
- package/out/command/command.d.ts.map +1 -1
- package/out/command/command.js +26 -32
- package/out/command/index.d.ts +1 -4
- package/out/command/index.d.ts.map +1 -1
- package/out/command/index.js +2 -4
- package/out/command/utils/util.d.ts +23 -15
- package/out/command/utils/util.d.ts.map +1 -1
- package/out/command/utils/util.js +22 -16
- package/out/constant/core/core.d.ts +18 -28
- package/out/constant/core/core.d.ts.map +1 -1
- package/out/constant/core/core.js +18 -28
- package/out/constant/emoji/emoji.d.ts.map +1 -1
- package/out/constant/emoji/emoji.js +2 -0
- package/out/constant/http-status-message/http-status-message.d.ts +0 -3
- package/out/constant/http-status-message/http-status-message.d.ts.map +1 -1
- package/out/constant/http-status-message/http-status-message.js +1 -3
- package/out/constant/index.d.ts +2 -4
- package/out/constant/index.d.ts.map +1 -1
- package/out/constant/index.js +2 -4
- package/out/constant/util/util.d.ts +0 -3
- package/out/constant/util/util.d.ts.map +1 -1
- package/out/constant/util/util.js +1 -3
- package/out/context/index.d.ts +34 -51
- package/out/context/index.d.ts.map +1 -1
- package/out/context/index.js +24 -33
- package/out/environment/environment.d.ts +0 -3
- package/out/environment/environment.d.ts.map +1 -1
- package/out/environment/environment.js +9 -4
- package/out/error/http-error/entity-error.d.ts +3 -17
- package/out/error/http-error/entity-error.d.ts.map +1 -1
- package/out/error/http-error/entity-error.js +2 -5
- package/out/error/http-error/http-error-factory.d.ts +5 -0
- package/out/error/http-error/http-error-factory.d.ts.map +1 -1
- package/out/error/http-error/http-error-factory.js +5 -0
- package/out/error/http-error/http-error.d.ts +3 -10
- package/out/error/http-error/http-error.d.ts.map +1 -1
- package/out/error/http-error/http-error.js +2 -5
- package/out/error/model-error/model-error.d.ts +5 -9
- package/out/error/model-error/model-error.d.ts.map +1 -1
- package/out/error/model-error/model-error.js +5 -9
- package/out/error/notice-error/notice-error.d.ts +2 -5
- package/out/error/notice-error/notice-error.d.ts.map +1 -1
- package/out/error/notice-error/notice-error.js +2 -5
- package/out/error/runtime-error/runtime-error.d.ts +2 -5
- package/out/error/runtime-error/runtime-error.d.ts.map +1 -1
- package/out/error/runtime-error/runtime-error.js +2 -5
- package/out/error/runtime-model-error/runtime-model-error.d.ts +5 -10
- package/out/error/runtime-model-error/runtime-model-error.d.ts.map +1 -1
- package/out/error/runtime-model-error/runtime-model-error.js +5 -10
- package/out/ibizsys.d.ts +24 -44
- package/out/ibizsys.d.ts.map +1 -1
- package/out/ibizsys.js +15 -29
- package/out/index.d.ts.map +1 -1
- package/out/install.d.ts +1 -4
- package/out/install.d.ts.map +1 -1
- package/out/install.js +1 -4
- package/out/interface/api/constant/index.d.ts +3 -0
- package/out/interface/api/constant/index.d.ts.map +1 -0
- package/out/interface/api/constant/index.js +2 -0
- package/out/{constant → interface/api/constant}/login-mode/login-mode.d.ts +1 -4
- package/out/interface/api/constant/login-mode/login-mode.d.ts.map +1 -0
- package/out/{constant → interface/api/constant}/login-mode/login-mode.js +1 -4
- package/out/{constant → interface/api/constant}/menu-permission-mode/menu-permission-mode.d.ts +1 -4
- package/out/interface/api/constant/menu-permission-mode/menu-permission-mode.d.ts.map +1 -0
- package/out/{constant → interface/api/constant}/menu-permission-mode/menu-permission-mode.js +1 -4
- package/out/interface/api/environment/i-devtool-config.d.ts +33 -0
- package/out/interface/api/environment/i-devtool-config.d.ts.map +1 -0
- package/out/interface/api/environment/i-environment.d.ts +282 -0
- package/out/interface/api/environment/i-environment.d.ts.map +1 -0
- package/out/interface/api/environment/index.d.ts +3 -0
- package/out/interface/api/environment/index.d.ts.map +1 -0
- package/out/interface/api/global-param/i-api-context.d.ts +33 -0
- package/out/interface/api/global-param/i-api-context.d.ts.map +1 -0
- package/out/interface/api/global-param/i-global-param.d.ts +25 -0
- package/out/interface/api/global-param/i-global-param.d.ts.map +1 -0
- package/out/interface/api/global-param/index.d.ts +3 -0
- package/out/interface/api/global-param/index.d.ts.map +1 -0
- package/out/interface/api/ibizsys/i-api-ibizsys.d.ts +48 -0
- package/out/interface/api/ibizsys/i-api-ibizsys.d.ts.map +1 -0
- package/out/interface/api/ibizsys/i-org-data.d.ts +32 -0
- package/out/interface/api/ibizsys/i-org-data.d.ts.map +1 -0
- package/out/interface/api/ibizsys/index.d.ts +3 -0
- package/out/interface/api/ibizsys/index.d.ts.map +1 -0
- package/out/interface/api/index.d.ts +6 -0
- package/out/interface/api/index.d.ts.map +1 -0
- package/out/interface/api/index.js +5 -0
- package/out/interface/api/utils/i-api-i18n.d.ts +51 -0
- package/out/interface/api/utils/i-api-i18n.d.ts.map +1 -0
- package/out/interface/api/utils/index.d.ts +5 -0
- package/out/interface/api/utils/index.d.ts.map +1 -0
- package/out/interface/api/utils/index.js +1 -0
- package/out/interface/api/utils/message-center/base/i-message-all.d.ts +10 -0
- package/out/interface/api/utils/message-center/base/i-message-all.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/base/i-message-base.d.ts +27 -0
- package/out/interface/api/utils/message-center/base/i-message-base.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/base/index.d.ts +3 -0
- package/out/interface/api/utils/message-center/base/index.d.ts.map +1 -0
- package/out/interface/{i-add-in-changed → api/utils/message-center/command/add-in-changed}/i-add-in-changed.d.ts +4 -8
- package/out/interface/api/utils/message-center/command/add-in-changed/i-add-in-changed.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.d.ts +17 -0
- package/out/interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/async-action/i-command-async-action.d.ts +17 -0
- package/out/interface/api/utils/message-center/command/async-action/i-command-async-action.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/change/i-command-change.d.ts +10 -0
- package/out/interface/api/utils/message-center/command/change/i-command-change.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/change/i-command-change.js +1 -0
- package/out/interface/api/utils/message-center/command/create/i-command-create.d.ts +18 -0
- package/out/interface/api/utils/message-center/command/create/i-command-create.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/create/i-command-create.js +1 -0
- package/out/interface/api/utils/message-center/command/i-command-base.d.ts +20 -0
- package/out/interface/api/utils/message-center/command/i-command-base.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/i-command-base.js +1 -0
- package/out/interface/api/utils/message-center/command/i-message-command.d.ts +82 -0
- package/out/interface/api/utils/message-center/command/i-message-command.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/i-message-command.js +1 -0
- package/out/interface/api/utils/message-center/command/index.d.ts +14 -0
- package/out/interface/api/utils/message-center/command/index.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/index.js +1 -0
- package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.d.ts +17 -0
- package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.js +1 -0
- package/out/interface/{i-internal-message → api/utils/message-center/command/internal-message}/i-internal-message.d.ts +35 -54
- package/out/interface/api/utils/message-center/command/internal-message/i-internal-message.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/internal-message/i-internal-message.js +1 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.d.ts +17 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.js +1 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.d.ts +46 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.js +1 -0
- package/out/interface/api/utils/message-center/command/remove/i-command-remove.d.ts +18 -0
- package/out/interface/api/utils/message-center/command/remove/i-command-remove.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/remove/i-command-remove.js +1 -0
- package/out/interface/api/utils/message-center/command/update/i-command-update.d.ts +18 -0
- package/out/interface/api/utils/message-center/command/update/i-command-update.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/command/update/i-command-update.js +1 -0
- package/out/interface/api/utils/message-center/common/i-app-data-entity.d.ts +16 -0
- package/out/interface/api/utils/message-center/common/i-app-data-entity.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-app-data-entity.js +1 -0
- package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts +10 -0
- package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-message-center-event.js +1 -0
- package/out/interface/api/utils/message-center/common/i-msg-meta-data.d.ts +14 -0
- package/out/interface/api/utils/message-center/common/i-msg-meta-data.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-msg-meta-data.js +1 -0
- package/out/interface/api/utils/message-center/common/i-portal-async-action.d.ts +134 -0
- package/out/interface/api/utils/message-center/common/i-portal-async-action.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-portal-async-action.js +1 -0
- package/out/interface/api/utils/message-center/common/i-portal-message.d.ts +70 -0
- package/out/interface/api/utils/message-center/common/i-portal-message.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/i-portal-message.js +1 -0
- package/out/interface/api/utils/message-center/common/index.d.ts +6 -0
- package/out/interface/api/utils/message-center/common/index.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/common/index.js +1 -0
- package/out/interface/api/utils/message-center/console/i-message-console.d.ts +17 -0
- package/out/interface/api/utils/message-center/console/i-message-console.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/console/i-message-console.js +1 -0
- package/out/interface/api/utils/message-center/error/i-message-error.d.ts +17 -0
- package/out/interface/api/utils/message-center/error/i-message-error.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/error/i-message-error.js +1 -0
- package/out/interface/api/utils/message-center/i-message-center.d.ts +48 -0
- package/out/interface/api/utils/message-center/i-message-center.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/i-message-center.js +1 -0
- package/out/interface/api/utils/message-center/index.d.ts +7 -0
- package/out/interface/api/utils/message-center/index.d.ts.map +1 -0
- package/out/interface/api/utils/message-center/index.js +3 -0
- package/out/interface/api/utils/net/i-api-net.d.ts +65 -0
- package/out/interface/api/utils/net/i-api-net.d.ts.map +1 -0
- package/out/interface/api/utils/net/i-api-net.js +1 -0
- package/out/interface/api/utils/net/i-http-response.d.ts +60 -0
- package/out/interface/api/utils/net/i-http-response.d.ts.map +1 -0
- package/out/interface/api/utils/net/i-http-response.js +1 -0
- package/out/interface/click-outside/click-outside.d.ts +15 -36
- package/out/interface/click-outside/click-outside.d.ts.map +1 -1
- package/out/interface/command/command/i-command-option.d.ts +46 -0
- package/out/interface/command/command/i-command-option.d.ts.map +1 -0
- package/out/interface/command/command/i-command-option.js +1 -0
- package/out/interface/command/command/i-command.d.ts +61 -0
- package/out/interface/command/command/i-command.d.ts.map +1 -0
- package/out/interface/command/command/i-command.js +1 -0
- package/out/interface/command/disposable/i-disposable.d.ts +13 -0
- package/out/interface/command/disposable/i-disposable.d.ts.map +1 -0
- package/out/interface/command/disposable/i-disposable.js +1 -0
- package/out/interface/command/i-command-controller.d.ts +43 -0
- package/out/interface/command/i-command-controller.d.ts.map +1 -0
- package/out/interface/command/i-command-controller.js +1 -0
- package/out/interface/command/index.d.ts +5 -0
- package/out/interface/command/index.d.ts.map +1 -0
- package/out/interface/command/index.js +1 -0
- package/out/interface/context/index.d.ts +39 -0
- package/out/interface/context/index.d.ts.map +1 -0
- package/out/interface/context/index.js +1 -0
- package/out/interface/error/index.d.ts +12 -0
- package/out/interface/error/index.d.ts.map +1 -0
- package/out/interface/error/index.js +1 -0
- package/out/interface/i-chat-message/i-chat-message.d.ts +24 -37
- package/out/interface/i-chat-message/i-chat-message.d.ts.map +1 -1
- package/out/interface/ibizsys/i-ibizsys.d.ts +30 -0
- package/out/interface/ibizsys/i-ibizsys.d.ts.map +1 -0
- package/out/interface/ibizsys/i-ibizsys.js +1 -0
- package/out/interface/ibizsys/index.d.ts +2 -0
- package/out/interface/ibizsys/index.d.ts.map +1 -0
- package/out/interface/ibizsys/index.js +1 -0
- package/out/interface/index.d.ts +8 -9
- package/out/interface/index.d.ts.map +1 -1
- package/out/interface/index.js +6 -0
- package/out/interface/utils/i-18n.d.ts +21 -0
- package/out/interface/utils/i-18n.d.ts.map +1 -0
- package/out/interface/utils/i-18n.js +1 -0
- package/out/interface/utils/index.d.ts +2 -0
- package/out/interface/utils/index.d.ts.map +1 -0
- package/out/interface/utils/index.js +1 -0
- package/out/params/params.d.ts +20 -24
- package/out/params/params.d.ts.map +1 -1
- package/out/params/params.js +16 -18
- package/out/types.d.ts +5 -113
- package/out/types.d.ts.map +1 -1
- package/out/utils/bit-mask/bit-mask.d.ts +9 -32
- package/out/utils/bit-mask/bit-mask.d.ts.map +1 -1
- package/out/utils/bit-mask/bit-mask.js +10 -37
- package/out/utils/click-outside/click-outside.d.ts +1 -4
- package/out/utils/click-outside/click-outside.d.ts.map +1 -1
- package/out/utils/click-outside/click-outside.js +1 -4
- package/out/utils/clone/clone.d.ts +3 -7
- package/out/utils/clone/clone.d.ts.map +1 -1
- package/out/utils/clone/clone.js +7 -12
- package/out/utils/color/color.d.ts +4 -6
- package/out/utils/color/color.d.ts.map +1 -1
- package/out/utils/color/color.js +5 -8
- package/out/utils/cookie-util/cookie-util.d.ts +16 -27
- package/out/utils/cookie-util/cookie-util.d.ts.map +1 -1
- package/out/utils/cookie-util/cookie-util.js +126 -55
- package/out/utils/data-type/data-types.d.ts +13 -19
- package/out/utils/data-type/data-types.d.ts.map +1 -1
- package/out/utils/data-type/data-types.js +13 -19
- package/out/utils/download-file/download-file.d.ts +6 -15
- package/out/utils/download-file/download-file.d.ts.map +1 -1
- package/out/utils/download-file/download-file.js +6 -15
- package/out/utils/event/event.d.ts +6 -14
- package/out/utils/event/event.d.ts.map +1 -1
- package/out/utils/event/event.js +6 -14
- package/out/utils/history-list/history-item.d.ts +5 -10
- package/out/utils/history-list/history-item.d.ts.map +1 -1
- package/out/utils/history-list/history-item.js +5 -10
- package/out/utils/history-list/history-list.d.ts +31 -45
- package/out/utils/history-list/history-list.d.ts.map +1 -1
- package/out/utils/history-list/history-list.js +28 -40
- package/out/utils/index.d.ts +1 -2
- package/out/utils/index.d.ts.map +1 -1
- package/out/utils/interceptor/core-interceptor.d.ts +16 -4
- package/out/utils/interceptor/core-interceptor.d.ts.map +1 -1
- package/out/utils/interceptor/core-interceptor.js +62 -4
- package/out/utils/interceptor/interceptor.d.ts +29 -39
- package/out/utils/interceptor/interceptor.d.ts.map +1 -1
- package/out/utils/interceptor/interceptor.js +23 -31
- package/out/utils/message-center/base/message-all.d.ts +3 -5
- package/out/utils/message-center/base/message-all.d.ts.map +1 -1
- package/out/utils/message-center/base/message-all.js +1 -4
- package/out/utils/message-center/base/message-base.d.ts +23 -40
- package/out/utils/message-center/base/message-base.d.ts.map +1 -1
- package/out/utils/message-center/base/message-base.js +20 -26
- package/out/utils/message-center/command/add-in-changed/command-add-in-changed.d.ts +5 -6
- package/out/utils/message-center/command/add-in-changed/command-add-in-changed.d.ts.map +1 -1
- package/out/utils/message-center/command/add-in-changed/command-add-in-changed.js +3 -4
- package/out/utils/message-center/command/async-action/command-async-action.d.ts +6 -10
- package/out/utils/message-center/command/async-action/command-async-action.d.ts.map +1 -1
- package/out/utils/message-center/command/async-action/command-async-action.js +4 -8
- package/out/utils/message-center/command/change/command-change.d.ts +4 -5
- package/out/utils/message-center/command/change/command-change.d.ts.map +1 -1
- package/out/utils/message-center/command/change/command-change.js +2 -4
- package/out/utils/message-center/command/command-base/command-base.d.ts +10 -15
- package/out/utils/message-center/command/command-base/command-base.d.ts.map +1 -1
- package/out/utils/message-center/command/command-base/command-base.js +7 -12
- package/out/utils/message-center/command/create/command-create.d.ts +8 -12
- package/out/utils/message-center/command/create/command-create.d.ts.map +1 -1
- package/out/utils/message-center/command/create/command-create.js +6 -10
- package/out/utils/message-center/command/internal-message/command-internal-message.d.ts +7 -11
- package/out/utils/message-center/command/internal-message/command-internal-message.d.ts.map +1 -1
- package/out/utils/message-center/command/internal-message/command-internal-message.js +5 -9
- package/out/utils/message-center/command/mark-open-data/command-mark-open-data.d.ts +6 -10
- package/out/utils/message-center/command/mark-open-data/command-mark-open-data.d.ts.map +1 -1
- package/out/utils/message-center/command/mark-open-data/command-mark-open-data.js +4 -8
- package/out/utils/message-center/command/message-command.d.ts +31 -45
- package/out/utils/message-center/command/message-command.d.ts.map +1 -1
- package/out/utils/message-center/command/message-command.js +29 -43
- package/out/utils/message-center/command/remove/command-remove.d.ts +7 -11
- package/out/utils/message-center/command/remove/command-remove.d.ts.map +1 -1
- package/out/utils/message-center/command/remove/command-remove.js +5 -9
- package/out/utils/message-center/command/update/command-update.d.ts +7 -11
- package/out/utils/message-center/command/update/command-update.d.ts.map +1 -1
- package/out/utils/message-center/command/update/command-update.js +5 -9
- package/out/utils/message-center/console/message-console.d.ts +6 -9
- package/out/utils/message-center/console/message-console.d.ts.map +1 -1
- package/out/utils/message-center/console/message-console.js +4 -8
- package/out/utils/message-center/error/message-error.d.ts +6 -9
- package/out/utils/message-center/error/message-error.d.ts.map +1 -1
- package/out/utils/message-center/error/message-error.js +4 -8
- package/out/utils/message-center/index.d.ts +0 -1
- package/out/utils/message-center/index.d.ts.map +1 -1
- package/out/utils/message-center/message-center.d.ts +20 -35
- package/out/utils/message-center/message-center.d.ts.map +1 -1
- package/out/utils/message-center/message-center.js +18 -33
- package/out/utils/namespace/namespace.d.ts +45 -75
- package/out/utils/namespace/namespace.d.ts.map +1 -1
- package/out/utils/namespace/namespace.js +53 -81
- package/out/utils/net/http-response.d.ts +6 -66
- package/out/utils/net/http-response.d.ts.map +1 -1
- package/out/utils/net/http-response.js +4 -11
- package/out/utils/net/net.d.ts +57 -100
- package/out/utils/net/net.d.ts.map +1 -1
- package/out/utils/net/net.js +53 -94
- package/out/utils/recursive/find-recursive-child.d.ts +2 -10
- package/out/utils/recursive/find-recursive-child.d.ts.map +1 -1
- package/out/utils/recursive/find-recursive-child.js +4 -14
- package/out/utils/string-util/string-util.d.ts +19 -22
- package/out/utils/string-util/string-util.d.ts.map +1 -1
- package/out/utils/string-util/string-util.js +28 -22
- package/out/utils/style/remote-style.d.ts +1 -4
- package/out/utils/style/remote-style.d.ts.map +1 -1
- package/out/utils/style/remote-style.js +1 -4
- package/out/utils/sync/await-timeout.d.ts +1 -5
- package/out/utils/sync/await-timeout.d.ts.map +1 -1
- package/out/utils/sync/await-timeout.js +1 -5
- package/out/utils/sync/count-latch.d.ts +14 -30
- package/out/utils/sync/count-latch.d.ts.map +1 -1
- package/out/utils/sync/count-latch.js +14 -30
- package/out/utils/upload/select-file.d.ts +12 -29
- package/out/utils/upload/select-file.d.ts.map +1 -1
- package/out/utils/upload/select-file.js +3 -9
- package/out/utils/upload/upload-file.d.ts +6 -14
- package/out/utils/upload/upload-file.d.ts.map +1 -1
- package/out/utils/upload/upload-file.js +9 -23
- package/out/utils/url-helper/url-helper.d.ts +19 -30
- package/out/utils/url-helper/url-helper.d.ts.map +1 -1
- package/out/utils/url-helper/url-helper.js +19 -30
- package/out/utils/util/util.d.ts +6 -77
- package/out/utils/util/util.d.ts.map +1 -1
- package/out/utils/util/util.js +6 -77
- package/package.json +5 -8
- package/out/command/interface/command/command-option.d.ts +0 -23
- package/out/command/interface/command/command-option.d.ts.map +0 -1
- package/out/command/interface/command/command.d.ts +0 -74
- package/out/command/interface/command/command.d.ts.map +0 -1
- package/out/command/interface/disposable/disposable.d.ts +0 -4
- package/out/command/interface/disposable/disposable.d.ts.map +0 -1
- package/out/command/interface/index.d.ts +0 -4
- package/out/command/interface/index.d.ts.map +0 -1
- package/out/constant/login-mode/login-mode.d.ts.map +0 -1
- package/out/constant/menu-permission-mode/menu-permission-mode.d.ts.map +0 -1
- package/out/interface/i-18n/i-18n.d.ts +0 -81
- package/out/interface/i-18n/i-18n.d.ts.map +0 -1
- package/out/interface/i-add-in-changed/i-add-in-changed.d.ts.map +0 -1
- package/out/interface/i-devtool-config/i-devtool-config.d.ts +0 -40
- package/out/interface/i-devtool-config/i-devtool-config.d.ts.map +0 -1
- package/out/interface/i-environment/i-environment.d.ts +0 -339
- package/out/interface/i-environment/i-environment.d.ts.map +0 -1
- package/out/interface/i-internal-message/i-internal-message.d.ts.map +0 -1
- package/out/interface/i-mark-open-data/i-mark-open-data.d.ts +0 -43
- package/out/interface/i-mark-open-data/i-mark-open-data.d.ts.map +0 -1
- package/out/interface/i-portal-async-action/i-portal-async-action.d.ts +0 -163
- package/out/interface/i-portal-async-action/i-portal-async-action.d.ts.map +0 -1
- package/out/interface/i-portal-message/i-portal-message.d.ts +0 -89
- package/out/interface/i-portal-message/i-portal-message.d.ts.map +0 -1
- package/out/interface/org-data/org-data.d.ts +0 -43
- package/out/interface/org-data/org-data.d.ts.map +0 -1
- package/out/utils/message-center/interface/i-app-data-entity.d.ts +0 -20
- package/out/utils/message-center/interface/i-app-data-entity.d.ts.map +0 -1
- package/out/utils/message-center/interface/i-msg-meta-data.d.ts +0 -19
- package/out/utils/message-center/interface/i-msg-meta-data.d.ts.map +0 -1
- package/out/utils/message-center/interface/index.d.ts +0 -3
- package/out/utils/message-center/interface/index.d.ts.map +0 -1
- /package/out/interface/{i-devtool-config → api/environment}/i-devtool-config.js +0 -0
- /package/out/interface/{i-environment → api/environment}/i-environment.js +0 -0
- /package/out/{command/interface → interface/api/environment}/index.js +0 -0
- /package/out/{command/interface/command/command-option.js → interface/api/global-param/i-api-context.js} +0 -0
- /package/out/{command/interface/command/command.js → interface/api/global-param/i-global-param.js} +0 -0
- /package/out/{utils/message-center/interface → interface/api/global-param}/index.js +0 -0
- /package/out/{command/interface/disposable/disposable.js → interface/api/ibizsys/i-api-ibizsys.js} +0 -0
- /package/out/interface/{i-18n/i-18n.js → api/ibizsys/i-org-data.js} +0 -0
- /package/out/interface/{i-add-in-changed/i-add-in-changed.js → api/ibizsys/index.js} +0 -0
- /package/out/interface/{i-internal-message/i-internal-message.js → api/utils/i-api-i18n.js} +0 -0
- /package/out/interface/{i-mark-open-data/i-mark-open-data.js → api/utils/message-center/base/i-message-all.js} +0 -0
- /package/out/interface/{i-portal-async-action/i-portal-async-action.js → api/utils/message-center/base/i-message-base.js} +0 -0
- /package/out/interface/{i-portal-message/i-portal-message.js → api/utils/message-center/base/index.js} +0 -0
- /package/out/interface/{org-data/org-data.js → api/utils/message-center/command/add-in-changed/i-add-in-changed.js} +0 -0
- /package/out/{utils/message-center/interface/i-app-data-entity.js → interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.js} +0 -0
- /package/out/{utils/message-center/interface/i-msg-meta-data.js → interface/api/utils/message-center/command/async-action/i-command-async-action.js} +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { IDisposable } from '../disposable/i-disposable';
|
|
2
|
+
import { ICommandHandler, ICommandOption } from './i-command-option';
|
|
3
|
+
/**
|
|
4
|
+
* @description 指令声明
|
|
5
|
+
* @export
|
|
6
|
+
* @interface ICommand
|
|
7
|
+
*/
|
|
8
|
+
export interface ICommand {
|
|
9
|
+
id: string;
|
|
10
|
+
handler: ICommandHandler;
|
|
11
|
+
opts?: ICommandOption;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 指令控制器集
|
|
15
|
+
*/
|
|
16
|
+
export type ICommandsMap = Map<string, ICommand>;
|
|
17
|
+
/**
|
|
18
|
+
* @description 指令注册器
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ICommandRegistry
|
|
21
|
+
*/
|
|
22
|
+
export interface ICommandRegistry {
|
|
23
|
+
/**
|
|
24
|
+
* @description 注册指令
|
|
25
|
+
* @param {string} id 指令id
|
|
26
|
+
* @param {ICommandHandler} command 指令处理回调
|
|
27
|
+
* @param {ICommandOption} opts 指令参数
|
|
28
|
+
* @returns {*} {IDisposable} 指令释放对象
|
|
29
|
+
* @memberof ICommandRegistry
|
|
30
|
+
*/
|
|
31
|
+
registerCommand(id: string, command: ICommandHandler, opts: ICommandOption): IDisposable;
|
|
32
|
+
/**
|
|
33
|
+
* @description 注册指令
|
|
34
|
+
* @param {string} id 指令id
|
|
35
|
+
* @param {ICommandHandler} command 指令处理回调
|
|
36
|
+
* @returns {*} {IDisposable} 指令释放对象
|
|
37
|
+
* @memberof ICommandRegistry
|
|
38
|
+
*/
|
|
39
|
+
registerCommand(id: string, command: ICommandHandler): IDisposable;
|
|
40
|
+
/**
|
|
41
|
+
* @description 注册指令
|
|
42
|
+
* @param {ICommand} command 指令
|
|
43
|
+
* @returns {*} {IDisposable} 指令释放对象
|
|
44
|
+
* @memberof ICommandRegistry
|
|
45
|
+
*/
|
|
46
|
+
registerCommand(command: ICommand): IDisposable;
|
|
47
|
+
/**
|
|
48
|
+
* @description 获取指令
|
|
49
|
+
* @param {string} id 指令id
|
|
50
|
+
* @returns {*} {(ICommand | undefined)}
|
|
51
|
+
* @memberof ICommandRegistry
|
|
52
|
+
*/
|
|
53
|
+
getCommand(id: string): ICommand | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* @description 获取所有指令
|
|
56
|
+
* @returns {*} {ICommandsMap}
|
|
57
|
+
* @memberof ICommandRegistry
|
|
58
|
+
*/
|
|
59
|
+
getCommands(): ICommandsMap;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=i-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-command.d.ts","sourceRoot":"","sources":["../../../../src/interface/command/command/i-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAErE;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;OAOG;IACH,eAAe,CACb,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,eAAe,EACxB,IAAI,EAAE,cAAc,GACnB,WAAW,CAAC;IACf;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,WAAW,CAAC;IACnE;;;;;OAKG;IACH,eAAe,CAAC,OAAO,EAAE,QAAQ,GAAG,WAAW,CAAC;IAChD;;;;;OAKG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC7C;;;;OAIG;IACH,WAAW,IAAI,YAAY,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-disposable.d.ts","sourceRoot":"","sources":["../../../../src/interface/command/disposable/i-disposable.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ICommandHandler, ICommandOption } from '../../command';
|
|
2
|
+
import { IDisposable } from './disposable/i-disposable';
|
|
3
|
+
/**
|
|
4
|
+
* @description 指令控制器接口
|
|
5
|
+
* @export
|
|
6
|
+
* @interface ICommandController
|
|
7
|
+
*/
|
|
8
|
+
export interface ICommandController {
|
|
9
|
+
/**
|
|
10
|
+
* @description 注册指令
|
|
11
|
+
* @param {string} id 指令id
|
|
12
|
+
* @param {ICommandHandler} handler 指令处理回调
|
|
13
|
+
* @param {ICommandOption} [opts] 指令参数
|
|
14
|
+
* @returns {*} {IDisposable} 指令释放对象
|
|
15
|
+
* @memberof ICommandController
|
|
16
|
+
*/
|
|
17
|
+
register(id: string, handler: ICommandHandler, opts?: ICommandOption): IDisposable;
|
|
18
|
+
/**
|
|
19
|
+
* @description 执行指令
|
|
20
|
+
* @template T
|
|
21
|
+
* @param {string} id 指令id
|
|
22
|
+
* @param {...unknown[]} args 指令参数
|
|
23
|
+
* @returns {*} {Promise<T>} 指令返回值
|
|
24
|
+
* @memberof ICommandController
|
|
25
|
+
*/
|
|
26
|
+
execute<T = undefined>(id: string, ...args: unknown[]): Promise<T>;
|
|
27
|
+
/**
|
|
28
|
+
* @description 判断指令是否存在,没有则直接抛出异常
|
|
29
|
+
* @param {string} id 指令id
|
|
30
|
+
* @param {boolean} [err] 是否抛出异常
|
|
31
|
+
* @returns {*} {boolean} 是否存在
|
|
32
|
+
* @memberof ICommandController
|
|
33
|
+
*/
|
|
34
|
+
hasCommand(id: string, err?: boolean): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @description 获取指令参数
|
|
37
|
+
* @param {string} id 指令id
|
|
38
|
+
* @returns {*} {(ICommandOption | undefined)} 指令参数
|
|
39
|
+
* @memberof ICommandController
|
|
40
|
+
*/
|
|
41
|
+
getCommandOpts(id: string): ICommandOption | undefined;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=i-command-controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-command-controller.d.ts","sourceRoot":"","sources":["../../../src/interface/command/i-command-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;OAOG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,eAAe,EACxB,IAAI,CAAC,EAAE,cAAc,GACpB,WAAW,CAAC;IAEf;;;;;;;OAOG;IACH,OAAO,CAAC,CAAC,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAEnE;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAE/C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;CACxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { ICommand, ICommandsMap, ICommandRegistry, } from './command/i-command';
|
|
2
|
+
export type { ICommandOption, ICommandHandler, } from './command/i-command-option';
|
|
3
|
+
export type { IDisposable } from './disposable/i-disposable';
|
|
4
|
+
export type { ICommandController } from './i-command-controller';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/command/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,cAAc,EACd,eAAe,GAChB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description 应用上下文处理接口
|
|
3
|
+
* @export
|
|
4
|
+
* @interface IIBizContext
|
|
5
|
+
* @extends {IContext}
|
|
6
|
+
*/
|
|
7
|
+
export interface IIBizContext extends IContext {
|
|
8
|
+
/**
|
|
9
|
+
* @description 返回自身的上下文,独有的和与父有差异的
|
|
10
|
+
* @returns {*} {IData}
|
|
11
|
+
* @memberof IIBizContext
|
|
12
|
+
*/
|
|
13
|
+
getOwnContext(): IData;
|
|
14
|
+
/**
|
|
15
|
+
* @description 销毁当前上下文
|
|
16
|
+
* @memberof IIBizContext
|
|
17
|
+
*/
|
|
18
|
+
destroy(): void;
|
|
19
|
+
/**
|
|
20
|
+
* @description 克隆当前上下文
|
|
21
|
+
* @returns {*} {IContext}
|
|
22
|
+
* @memberof IIBizContext
|
|
23
|
+
*/
|
|
24
|
+
clone(): IContext;
|
|
25
|
+
/**
|
|
26
|
+
* @description 深度克隆
|
|
27
|
+
* @return {*} {IData}
|
|
28
|
+
* @memberof IIBizContext
|
|
29
|
+
*/
|
|
30
|
+
deepClone(): IData;
|
|
31
|
+
/**
|
|
32
|
+
* @description 在不改变对象引用的情况下,重置上下文,等效于重新实例化,但是引用不变
|
|
33
|
+
* @param {IData} [context] 默认值
|
|
34
|
+
* @param {IContext} [parent] 父上下文
|
|
35
|
+
* @memberof IIBizContext
|
|
36
|
+
*/
|
|
37
|
+
reset(context?: IData, parent?: IContext): void;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/context/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C;;;;OAIG;IACH,aAAa,IAAI,KAAK,CAAC;IAEvB;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAC;IAEhB;;;;OAIG;IACH,KAAK,IAAI,QAAQ,CAAC;IAElB;;;;OAIG;IACH,SAAS,IAAI,KAAK,CAAC;IAEnB;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AxiosResponse } from 'axios';
|
|
2
|
+
export type InputError = {
|
|
3
|
+
message: string;
|
|
4
|
+
response?: AxiosResponse;
|
|
5
|
+
};
|
|
6
|
+
export type detailMessage = {
|
|
7
|
+
name: string;
|
|
8
|
+
logicName: string;
|
|
9
|
+
errorType: number;
|
|
10
|
+
errorInfo: string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/error/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,76 +1,63 @@
|
|
|
1
|
-
import { IPortalAsyncAction } from '../
|
|
1
|
+
import { IPortalAsyncAction } from '../api';
|
|
2
2
|
/**
|
|
3
|
-
* AI聊天消息
|
|
4
|
-
*
|
|
5
|
-
* @author chitanda
|
|
6
|
-
* @date 2023-10-10 16:10:29
|
|
3
|
+
* @description AI聊天消息
|
|
7
4
|
* @export
|
|
8
5
|
* @interface IChatMessage
|
|
9
6
|
*/
|
|
10
7
|
export interface IChatMessage {
|
|
11
8
|
/**
|
|
12
|
-
* 消息标识
|
|
13
|
-
*
|
|
14
|
-
* @author chitanda
|
|
15
|
-
* @date 2023-09-05 15:09:43
|
|
9
|
+
* @description 消息标识
|
|
16
10
|
* @type {string}
|
|
11
|
+
* @memberof IChatMessage
|
|
17
12
|
*/
|
|
18
13
|
messageid?: string;
|
|
19
14
|
/**
|
|
20
|
-
* 消息名称
|
|
21
|
-
*
|
|
22
|
-
* @author chitanda
|
|
23
|
-
* @date 2023-09-05 15:09:49
|
|
15
|
+
* @description 消息名称
|
|
24
16
|
* @type {string}
|
|
17
|
+
* @memberof IChatMessage
|
|
25
18
|
*/
|
|
26
19
|
messagename?: string;
|
|
27
20
|
/**
|
|
28
|
-
* 消息类型
|
|
29
|
-
*
|
|
30
|
-
* @author chitanda
|
|
31
|
-
* @date 2023-10-10 16:10:21
|
|
21
|
+
* @description 消息类型
|
|
32
22
|
* @type {string}
|
|
23
|
+
* @memberof IChatMessage
|
|
33
24
|
*/
|
|
34
25
|
type?: string;
|
|
35
26
|
/**
|
|
36
|
-
* 消息子类型
|
|
37
|
-
*
|
|
38
|
-
* @author chitanda
|
|
39
|
-
* @date 2023-10-10 16:10:00
|
|
27
|
+
* @description 消息子类型
|
|
40
28
|
* @type {string}
|
|
29
|
+
* @memberof IChatMessage
|
|
41
30
|
*/
|
|
42
31
|
subtype?: string;
|
|
43
32
|
/**
|
|
44
|
-
* 消息角色
|
|
45
|
-
*
|
|
46
|
-
* @author chitanda
|
|
47
|
-
* @date 2023-10-10 16:10:32
|
|
33
|
+
* @description 消息角色
|
|
48
34
|
* @type {('ASSISTANT' | 'USER' | 'SYSTEM')} 助手 | 用户 | 系统
|
|
35
|
+
* @memberof IChatMessage
|
|
49
36
|
*/
|
|
50
37
|
role: 'ASSISTANT' | 'USER' | 'SYSTEM';
|
|
51
38
|
/**
|
|
52
|
-
* 内容摘要
|
|
53
|
-
*
|
|
54
|
-
* @author chitanda
|
|
55
|
-
* @date 2023-09-05 15:09:23
|
|
39
|
+
* @description 内容摘要
|
|
56
40
|
* @type {string}
|
|
41
|
+
* @memberof IChatMessage
|
|
57
42
|
*/
|
|
58
43
|
content: string;
|
|
59
44
|
/**
|
|
60
|
-
* 消息数据
|
|
61
|
-
*
|
|
62
|
-
* @author chitanda
|
|
63
|
-
* @date 2023-09-05 15:09:55
|
|
45
|
+
* @description 消息数据
|
|
64
46
|
* @type {(IPortalAsyncAction | IData | string | unknown)}
|
|
47
|
+
* @memberof IChatMessage
|
|
65
48
|
*/
|
|
66
49
|
data?: IPortalAsyncAction | IData | string | unknown;
|
|
67
50
|
/**
|
|
68
|
-
* 消息路径
|
|
69
|
-
*
|
|
70
|
-
* @author chitanda
|
|
71
|
-
* @date 2023-09-05 15:09:25
|
|
51
|
+
* @description 消息路径
|
|
72
52
|
* @type {string}
|
|
53
|
+
* @memberof IChatMessage
|
|
73
54
|
*/
|
|
74
55
|
url?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @description 内容(排除排除think、resources、suggesions内容)
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof IChatMessage
|
|
60
|
+
*/
|
|
61
|
+
realcontent?: string;
|
|
75
62
|
}
|
|
76
63
|
//# sourceMappingURL=i-chat-message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-chat-message.d.ts","sourceRoot":"","sources":["../../../src/interface/i-chat-message/i-chat-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"i-chat-message.d.ts","sourceRoot":"","sources":["../../../src/interface/i-chat-message/i-chat-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;IAEtC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;IAErD;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Logger } from 'loglevel';
|
|
2
|
+
import { IApiIBizsys } from '../api';
|
|
3
|
+
import { ICommandController } from '../command';
|
|
4
|
+
/**
|
|
5
|
+
* @description 全局对象
|
|
6
|
+
* @export
|
|
7
|
+
* @interface IIBizsys
|
|
8
|
+
*/
|
|
9
|
+
export interface IIBizsys extends IApiIBizsys {
|
|
10
|
+
/**
|
|
11
|
+
* @description 日志输出工具
|
|
12
|
+
* @type {Logger}
|
|
13
|
+
* @memberof IIBizsys
|
|
14
|
+
*/
|
|
15
|
+
log: Logger;
|
|
16
|
+
/**
|
|
17
|
+
* @description 指令控制器
|
|
18
|
+
* @type {ICommandController}
|
|
19
|
+
* @memberof IIBizsys
|
|
20
|
+
*/
|
|
21
|
+
commands: ICommandController;
|
|
22
|
+
/**
|
|
23
|
+
* @description 注册全局扩展,用于替换预置能力
|
|
24
|
+
* @param {keyof IBizSys} key
|
|
25
|
+
* @param {*} value
|
|
26
|
+
* @memberof IIBizsys
|
|
27
|
+
*/
|
|
28
|
+
registerExtension(key: keyof IApiIBizsys, value: any): void;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=i-ibizsys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-ibizsys.d.ts","sourceRoot":"","sources":["../../../src/interface/ibizsys/i-ibizsys.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,QAAS,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,QAAQ,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,iBAAiB,CAAC,GAAG,EAAE,MAAM,WAAW,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;CAC7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/ibizsys/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/out/interface/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { IOrgData } from './api/ibizsys/i-org-data';
|
|
2
|
+
export * from './api';
|
|
1
3
|
export * from './click-outside/click-outside';
|
|
2
|
-
export
|
|
4
|
+
export * from './command';
|
|
5
|
+
export * from './context';
|
|
6
|
+
export * from './error';
|
|
3
7
|
export type { IChatMessage } from './i-chat-message/i-chat-message';
|
|
4
|
-
export type
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export type { OrgData } from './org-data/org-data';
|
|
8
|
-
export type { IInternalMessage, InternalMessageContentType, InternalMessageStatus, } from './i-internal-message/i-internal-message';
|
|
9
|
-
export type { IDevToolConfig } from './i-devtool-config/i-devtool-config';
|
|
10
|
-
export type { IMarkOpenData } from './i-mark-open-data/i-mark-open-data';
|
|
11
|
-
export type { IAddInChanged } from './i-add-in-changed/i-add-in-changed';
|
|
8
|
+
export type OrgData = IOrgData;
|
|
9
|
+
export * from './ibizsys';
|
|
10
|
+
export * from './utils';
|
|
12
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interface/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interface/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,cAAc,OAAO,CAAC;AACtB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
package/out/interface/index.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IApiI18n } from '../api';
|
|
2
|
+
/**
|
|
3
|
+
* @description 多语言工具接口
|
|
4
|
+
* @export
|
|
5
|
+
* @interface I18n
|
|
6
|
+
*/
|
|
7
|
+
export interface I18n extends IApiI18n {
|
|
8
|
+
/**
|
|
9
|
+
* @description 异步初始化,加载多语言文件
|
|
10
|
+
* @returns {*} {Promise<void>}
|
|
11
|
+
* @memberof I18n
|
|
12
|
+
*/
|
|
13
|
+
init(): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* @description 设置异步加载的多语言模块
|
|
16
|
+
* @param {Record<string, () => Promise<IData>>} languages
|
|
17
|
+
* @memberof I18n
|
|
18
|
+
*/
|
|
19
|
+
setLangConfigs(languages: Record<string, () => Promise<IData>>): void;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=i-18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-18n.d.ts","sourceRoot":"","sources":["../../../src/interface/utils/i-18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC;;;;GAIG;AACH,MAAM,WAAW,IAAK,SAAQ,QAAQ;IACpC;;;;OAIG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtB;;;;OAIG;IACH,cAAc,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;CACvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/utils/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/out/params/params.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* @author lxm
|
|
4
|
-
* @date 2023-10-27 03:39:12
|
|
2
|
+
* @description 视图参数处理类
|
|
5
3
|
* @export
|
|
6
4
|
* @class IBizParams
|
|
7
5
|
* @implements {IParams}
|
|
@@ -9,45 +7,43 @@
|
|
|
9
7
|
export declare class IBizParams implements IParams {
|
|
10
8
|
[key: string | symbol]: any;
|
|
11
9
|
/**
|
|
12
|
-
* 自身的属性
|
|
13
|
-
* @author lxm
|
|
14
|
-
* @date 2023-10-27 04:09:25
|
|
10
|
+
* @description 自身的属性
|
|
15
11
|
* @protected
|
|
16
12
|
* @type {IParams}
|
|
13
|
+
* @memberof IBizParams
|
|
17
14
|
*/
|
|
18
15
|
protected _params: IParams;
|
|
19
16
|
/**
|
|
20
|
-
* 父视图参数
|
|
21
|
-
* @author lxm
|
|
22
|
-
* @date 2023-10-27 04:08:59
|
|
17
|
+
* @description 父视图参数
|
|
23
18
|
* @protected
|
|
24
19
|
* @type {IParams}
|
|
20
|
+
* @memberof IBizParams
|
|
25
21
|
*/
|
|
26
22
|
protected _parent?: IParams;
|
|
23
|
+
/**
|
|
24
|
+
* Creates an instance of IBizParams.
|
|
25
|
+
* @param {IParams} [params] 自身的参数
|
|
26
|
+
* @param {IParams} [parent] 父视图参数
|
|
27
|
+
* @memberof IBizParams
|
|
28
|
+
*/
|
|
27
29
|
constructor(params?: IParams, parent?: IParams);
|
|
28
30
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @author lxm
|
|
32
|
-
* @date 2023-10-27 03:53:14
|
|
31
|
+
* @description 创建代理对象
|
|
33
32
|
* @protected
|
|
34
|
-
* @
|
|
33
|
+
* @returns {*} {IBizParams}
|
|
34
|
+
* @memberof IBizParams
|
|
35
35
|
*/
|
|
36
36
|
protected createProxy(): IBizParams;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* @
|
|
41
|
-
* @
|
|
42
|
-
* @param {IParams} [params]
|
|
43
|
-
* @param {IParams} [parent]
|
|
38
|
+
* @description 在不改变对象引用的情况下,重置视图参数,等效于重新实例化,但是引用不变
|
|
39
|
+
* @param {IParams} [params] 视图参数
|
|
40
|
+
* @param {IParams} [parent] 父视图参数
|
|
41
|
+
* @memberof IBizParams
|
|
44
42
|
*/
|
|
45
43
|
reset(params?: IParams, parent?: IParams): void;
|
|
46
44
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* @author lxm
|
|
50
|
-
* @date 2023-10-27 03:57:44
|
|
45
|
+
* @description 销毁视图参数,避免内存泄漏
|
|
46
|
+
* @memberof IBizParams
|
|
51
47
|
*/
|
|
52
48
|
destroy(): void;
|
|
53
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../src/params/params.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../src/params/params.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,qBAAa,UAAW,YAAW,OAAO;IAExC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;IAE5B;;;;;OAKG;IACH,UAAkB,OAAO,EAAE,OAAO,CAAC;IAEnC;;;;;OAKG;IACH,UAAkB,OAAO,CAAC,EAAE,OAAO,CAAC;IAEpC;;;;;OAKG;gBACS,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO;IAoB9C;;;;;OAKG;IACH,SAAS,CAAC,WAAW,IAAI,UAAU;IAmDnC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;IAK/C;;;OAGG;IACH,OAAO,IAAI,IAAI;CAIhB"}
|
package/out/params/params.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
/* eslint-disable no-constructor-return */
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* @author lxm
|
|
5
|
-
* @date 2023-10-27 03:39:12
|
|
3
|
+
* @description 视图参数处理类
|
|
6
4
|
* @export
|
|
7
5
|
* @class IBizParams
|
|
8
6
|
* @implements {IParams}
|
|
9
7
|
*/
|
|
10
8
|
export class IBizParams {
|
|
9
|
+
/**
|
|
10
|
+
* Creates an instance of IBizParams.
|
|
11
|
+
* @param {IParams} [params] 自身的参数
|
|
12
|
+
* @param {IParams} [parent] 父视图参数
|
|
13
|
+
* @memberof IBizParams
|
|
14
|
+
*/
|
|
11
15
|
constructor(params, parent) {
|
|
12
16
|
// 定义私有变量,存放父视图参数源对象
|
|
13
17
|
Object.defineProperty(this, '_parent', {
|
|
@@ -26,12 +30,10 @@ export class IBizParams {
|
|
|
26
30
|
return this.createProxy();
|
|
27
31
|
}
|
|
28
32
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @author lxm
|
|
32
|
-
* @date 2023-10-27 03:53:14
|
|
33
|
+
* @description 创建代理对象
|
|
33
34
|
* @protected
|
|
34
|
-
* @
|
|
35
|
+
* @returns {*} {IBizParams}
|
|
36
|
+
* @memberof IBizParams
|
|
35
37
|
*/
|
|
36
38
|
createProxy() {
|
|
37
39
|
// 更新属性,缺的补充定义
|
|
@@ -82,22 +84,18 @@ export class IBizParams {
|
|
|
82
84
|
});
|
|
83
85
|
}
|
|
84
86
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* @
|
|
88
|
-
* @
|
|
89
|
-
* @param {IParams} [params]
|
|
90
|
-
* @param {IParams} [parent]
|
|
87
|
+
* @description 在不改变对象引用的情况下,重置视图参数,等效于重新实例化,但是引用不变
|
|
88
|
+
* @param {IParams} [params] 视图参数
|
|
89
|
+
* @param {IParams} [parent] 父视图参数
|
|
90
|
+
* @memberof IBizParams
|
|
91
91
|
*/
|
|
92
92
|
reset(params, parent) {
|
|
93
93
|
this._params = params || {};
|
|
94
94
|
this._parent = parent;
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* @author lxm
|
|
100
|
-
* @date 2023-10-27 03:57:44
|
|
97
|
+
* @description 销毁视图参数,避免内存泄漏
|
|
98
|
+
* @memberof IBizParams
|
|
101
99
|
*/
|
|
102
100
|
destroy() {
|
|
103
101
|
this._params = {};
|