@kosdev-code/kos-ui-sdk 2.0.2
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/common/constants/index.d.ts +26 -0
- package/common/constants/index.d.ts.map +1 -0
- package/common/events/eventBus.d.ts +18 -0
- package/common/events/eventBus.d.ts.map +1 -0
- package/common/events/index.d.ts +15 -0
- package/common/events/index.d.ts.map +1 -0
- package/common/file-utils.d.ts +9 -0
- package/common/file-utils.d.ts.map +1 -0
- package/common/index.d.ts +4 -0
- package/common/index.d.ts.map +1 -0
- package/common/types/global.d.ts +19 -0
- package/core/core/api/index.d.ts +2 -0
- package/core/core/api/index.d.ts.map +1 -0
- package/core/core/api/wrapPromise.d.ts +14 -0
- package/core/core/api/wrapPromise.d.ts.map +1 -0
- package/core/core/context/index.d.ts +2 -0
- package/core/core/context/index.d.ts.map +1 -0
- package/core/core/context/kos-context-manager.d.ts +30 -0
- package/core/core/context/kos-context-manager.d.ts.map +1 -0
- package/core/core/decorators/index.d.ts +13 -0
- package/core/core/decorators/index.d.ts.map +1 -0
- package/core/core/decorators/kos-child.d.ts +19 -0
- package/core/core/decorators/kos-child.d.ts.map +1 -0
- package/core/core/decorators/kos-companion.d.ts +11 -0
- package/core/core/decorators/kos-companion.d.ts.map +1 -0
- package/core/core/decorators/kos-context.d.ts +2 -0
- package/core/core/decorators/kos-context.d.ts.map +1 -0
- package/core/core/decorators/kos-log.d.ts +11 -0
- package/core/core/decorators/kos-log.d.ts.map +1 -0
- package/core/core/decorators/kos-model-effect.d.ts +25 -0
- package/core/core/decorators/kos-model-effect.d.ts.map +1 -0
- package/core/core/decorators/kos-parent.d.ts +11 -0
- package/core/core/decorators/kos-parent.d.ts.map +1 -0
- package/core/core/decorators/kos-reference.d.ts +6 -0
- package/core/core/decorators/kos-reference.d.ts.map +1 -0
- package/core/core/decorators/kosDependency.d.ts +16 -0
- package/core/core/decorators/kosDependency.d.ts.map +1 -0
- package/core/core/decorators/kosModel.d.ts +23 -0
- package/core/core/decorators/kosModel.d.ts.map +1 -0
- package/core/core/decorators/kosSubscribe.d.ts +9 -0
- package/core/core/decorators/kosSubscribe.d.ts.map +1 -0
- package/core/core/decorators/kosTopicHandler.d.ts +78 -0
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -0
- package/core/core/decorators/propKeys.d.ts +13 -0
- package/core/core/decorators/propKeys.d.ts.map +1 -0
- package/core/core/decorators/resolve-parameters.d.ts +8 -0
- package/core/core/decorators/resolve-parameters.d.ts.map +1 -0
- package/core/core/extension/extension-manager.d.ts +40 -0
- package/core/core/extension/extension-manager.d.ts.map +1 -0
- package/core/core/extension/index.d.ts +4 -0
- package/core/core/extension/index.d.ts.map +1 -0
- package/core/core/extension/initialize-extension.d.ts +45 -0
- package/core/core/extension/initialize-extension.d.ts.map +1 -0
- package/core/core/extension/plugin-extension-manager.d.ts +23 -0
- package/core/core/extension/plugin-extension-manager.d.ts.map +1 -0
- package/core/core/kos-container-index.d.ts +34 -0
- package/core/core/kos-container-index.d.ts.map +1 -0
- package/core/core/kos-container-model.d.ts +69 -0
- package/core/core/kos-container-model.d.ts.map +1 -0
- package/core/core/kos-data-container.d.ts +48 -0
- package/core/core/kos-data-container.d.ts.map +1 -0
- package/core/core/kos-deletion-manager.d.ts +5 -0
- package/core/core/kos-deletion-manager.d.ts.map +1 -0
- package/core/core/kos-model-factory.d.ts +19 -0
- package/core/core/kos-model-factory.d.ts.map +1 -0
- package/core/core/kos-registration.d.ts +26 -0
- package/core/core/kos-registration.d.ts.map +1 -0
- package/core/core/kos-singleton-registration.d.ts +25 -0
- package/core/core/kos-singleton-registration.d.ts.map +1 -0
- package/core/core/kosCore.d.ts +80 -0
- package/core/core/kosCore.d.ts.map +1 -0
- package/core/core/kosModel.d.ts +150 -0
- package/core/core/kosModel.d.ts.map +1 -0
- package/core/core/kosModelManager.d.ts +58 -0
- package/core/core/kosModelManager.d.ts.map +1 -0
- package/core/core/lifecycle/constants.d.ts +37 -0
- package/core/core/lifecycle/constants.d.ts.map +1 -0
- package/core/core/lifecycle/index.d.ts +2 -0
- package/core/core/lifecycle/index.d.ts.map +1 -0
- package/core/core/lifecycle/kosCoreLifecycle.d.ts +86 -0
- package/core/core/lifecycle/kosCoreLifecycle.d.ts.map +1 -0
- package/core/core/lifecycle/kosModelLifecycle.d.ts +57 -0
- package/core/core/lifecycle/kosModelLifecycle.d.ts.map +1 -0
- package/core/core/lifecycle/model-active-machine.d.ts +31 -0
- package/core/core/lifecycle/model-active-machine.d.ts.map +1 -0
- package/core/core/lifecycle/model-machine.d.ts +28 -0
- package/core/core/lifecycle/model-machine.d.ts.map +1 -0
- package/core/core/lifecycle/model-online-machine.d.ts +19 -0
- package/core/core/lifecycle/model-online-machine.d.ts.map +1 -0
- package/core/core/log/index.d.ts +2 -0
- package/core/core/log/index.d.ts.map +1 -0
- package/core/core/log/log.d.ts +36 -0
- package/core/core/log/log.d.ts.map +1 -0
- package/core/core/models/index.d.ts +2 -0
- package/core/core/models/index.d.ts.map +1 -0
- package/core/core/models/kos-core/index.d.ts +12 -0
- package/core/core/models/kos-core/index.d.ts.map +1 -0
- package/core/core/models/kos-token/index.d.ts +11 -0
- package/core/core/models/kos-token/index.d.ts.map +1 -0
- package/core/core/registration/base-kos-model-registration.d.ts +10 -0
- package/core/core/registration/base-kos-model-registration.d.ts.map +1 -0
- package/core/core/registration/index.d.ts +4 -0
- package/core/core/registration/index.d.ts.map +1 -0
- package/core/core/registration/model-registration.d.ts +44 -0
- package/core/core/registration/model-registration.d.ts.map +1 -0
- package/core/core/registration/registration-manager.d.ts +41 -0
- package/core/core/registration/registration-manager.d.ts.map +1 -0
- package/core/core/registration/singleton-kos-model-registration-factory.d.ts +10 -0
- package/core/core/registration/singleton-kos-model-registration-factory.d.ts.map +1 -0
- package/core/core/services/browser-router.d.ts +46 -0
- package/core/core/services/browser-router.d.ts.map +1 -0
- package/core/core/services/index.d.ts +3 -0
- package/core/core/services/index.d.ts.map +1 -0
- package/core/core/services/intent-service.d.ts +8 -0
- package/core/core/services/intent-service.d.ts.map +1 -0
- package/core/core/transport/base-message-transport.d.ts +53 -0
- package/core/core/transport/base-message-transport.d.ts.map +1 -0
- package/core/core/transport/bridge-message-transport.d.ts +7 -0
- package/core/core/transport/bridge-message-transport.d.ts.map +1 -0
- package/core/core/transport/bridge-transport.d.ts +29 -0
- package/core/core/transport/bridge-transport.d.ts.map +1 -0
- package/core/core/transport/detect-wakeup.d.ts +2 -0
- package/core/core/transport/detect-wakeup.d.ts.map +1 -0
- package/core/core/transport/fos-message-transport.d.ts +7 -0
- package/core/core/transport/fos-message-transport.d.ts.map +1 -0
- package/core/core/transport/index.d.ts +3 -0
- package/core/core/transport/index.d.ts.map +1 -0
- package/core/core/transport/kos-message-transport.d.ts +7 -0
- package/core/core/transport/kos-message-transport.d.ts.map +1 -0
- package/core/core/transport/transport-factory.d.ts +27 -0
- package/core/core/transport/transport-factory.d.ts.map +1 -0
- package/core/core/transport/transport.d.ts +12 -0
- package/core/core/transport/transport.d.ts.map +1 -0
- package/core/core/transport/web-socket-transport-adapter.d.ts +6 -0
- package/core/core/transport/web-socket-transport-adapter.d.ts.map +1 -0
- package/core/core/transport/webSocketTransport.d.ts +83 -0
- package/core/core/transport/webSocketTransport.d.ts.map +1 -0
- package/core/core/types/index.d.ts +4 -0
- package/core/core/types/index.d.ts.map +1 -0
- package/core/core/types/kos-model-manager-types.d.ts +33 -0
- package/core/core/types/kos-model-manager-types.d.ts.map +1 -0
- package/core/core/types/model.d.ts +26 -0
- package/core/core/types/model.d.ts.map +1 -0
- package/core/core/types/registration.d.ts +54 -0
- package/core/core/types/registration.d.ts.map +1 -0
- package/core/core/types/serviceTypes.d.ts +9 -0
- package/core/core/types/serviceTypes.d.ts.map +1 -0
- package/core/index.d.ts +61 -0
- package/core/index.d.ts.map +1 -0
- package/core/lib/kos-ui-core.d.ts +2 -0
- package/core/lib/kos-ui-core.d.ts.map +1 -0
- package/core/mocks/browser.d.ts +3 -0
- package/core/mocks/browser.d.ts.map +1 -0
- package/core/mocks/handlers.d.ts +3 -0
- package/core/mocks/handlers.d.ts.map +1 -0
- package/core/mocks/server.d.ts +3 -0
- package/core/mocks/server.d.ts.map +1 -0
- package/core/types/global.d.ts +68 -0
- package/core/types/index.d.ts +4 -0
- package/core/types/index.d.ts.map +1 -0
- package/core/types/kos-dependency.d.ts +21 -0
- package/core/types/kos-dependency.d.ts.map +1 -0
- package/core/types/model.d.ts +100 -0
- package/core/types/model.d.ts.map +1 -0
- package/core/types/utils/kos-fetch.d.ts +124 -0
- package/core/types/utils/kos-fetch.d.ts.map +1 -0
- package/core/util/api-request-id.d.ts +2 -0
- package/core/util/api-request-id.d.ts.map +1 -0
- package/core/util/apply-mixins.d.ts +2 -0
- package/core/util/apply-mixins.d.ts.map +1 -0
- package/core/util/container-utils.d.ts +26 -0
- package/core/util/container-utils.d.ts.map +1 -0
- package/core/util/cycle-detection.d.ts +12 -0
- package/core/util/cycle-detection.d.ts.map +1 -0
- package/core/util/date-utils.d.ts +2 -0
- package/core/util/date-utils.d.ts.map +1 -0
- package/core/util/debounce.d.ts +19 -0
- package/core/util/debounce.d.ts.map +1 -0
- package/core/util/feature-flags.d.ts +13 -0
- package/core/util/feature-flags.d.ts.map +1 -0
- package/core/util/get-query-params.d.ts +2 -0
- package/core/util/get-query-params.d.ts.map +1 -0
- package/core/util/hsl-to-hex.d.ts +5 -0
- package/core/util/hsl-to-hex.d.ts.map +1 -0
- package/core/util/index.d.ts +30 -0
- package/core/util/index.d.ts.map +1 -0
- package/core/util/kos-config-init.d.ts +15 -0
- package/core/util/kos-config-init.d.ts.map +1 -0
- package/core/util/kos-core-utils.d.ts +4 -0
- package/core/util/kos-core-utils.d.ts.map +1 -0
- package/core/util/kos-data-mapper-utils.d.ts +14 -0
- package/core/util/kos-data-mapper-utils.d.ts.map +1 -0
- package/core/util/kos-fetch.d.ts +18 -0
- package/core/util/kos-fetch.d.ts.map +1 -0
- package/core/util/kos-message-utils.d.ts +34 -0
- package/core/util/kos-message-utils.d.ts.map +1 -0
- package/core/util/kos-model-formatter.d.ts +21 -0
- package/core/util/kos-model-formatter.d.ts.map +1 -0
- package/core/util/kos-model-utils.d.ts +100 -0
- package/core/util/kos-model-utils.d.ts.map +1 -0
- package/core/util/kos-model-visitor.d.ts +41 -0
- package/core/util/kos-model-visitor.d.ts.map +1 -0
- package/core/util/kos-service-request.d.ts +65 -0
- package/core/util/kos-service-request.d.ts.map +1 -0
- package/core/util/log-utils.d.ts +6 -0
- package/core/util/log-utils.d.ts.map +1 -0
- package/core/util/logger-plugin.d.ts +2 -0
- package/core/util/logger-plugin.d.ts.map +1 -0
- package/core/util/middleware.d.ts +14 -0
- package/core/util/middleware.d.ts.map +1 -0
- package/core/util/model-attribute-utils.d.ts +37 -0
- package/core/util/model-attribute-utils.d.ts.map +1 -0
- package/core/util/model-factory.d.ts +5 -0
- package/core/util/model-factory.d.ts.map +1 -0
- package/core/util/model-registration-utils.d.ts +6 -0
- package/core/util/model-registration-utils.d.ts.map +1 -0
- package/core/util/model-utils.d.ts +42 -0
- package/core/util/model-utils.d.ts.map +1 -0
- package/core/util/observable-proxy-map.d.ts +10 -0
- package/core/util/observable-proxy-map.d.ts.map +1 -0
- package/core/util/paired-client-heartbeat.d.ts +18 -0
- package/core/util/paired-client-heartbeat.d.ts.map +1 -0
- package/core/util/pipe.d.ts +4 -0
- package/core/util/pipe.d.ts.map +1 -0
- package/core/util/reference-cache.d.ts +17 -0
- package/core/util/reference-cache.d.ts.map +1 -0
- package/core/util/retry-with-exponential-backoff.d.ts +18 -0
- package/core/util/retry-with-exponential-backoff.d.ts.map +1 -0
- package/core/util/service-factory.d.ts +177 -0
- package/core/util/service-factory.d.ts.map +1 -0
- package/core/util/session-utils.d.ts +3 -0
- package/core/util/session-utils.d.ts.map +1 -0
- package/core/util/setRandomInterval.d.ts +5 -0
- package/core/util/setRandomInterval.d.ts.map +1 -0
- package/core/util/wait-for-request.d.ts +15 -0
- package/core/util/wait-for-request.d.ts.map +1 -0
- package/core/util/when-ready.d.ts +21 -0
- package/core/util/when-ready.d.ts.map +1 -0
- package/index.cjs +146 -0
- package/index.cjs.map +1 -0
- package/index.d.cts +6 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +10456 -0
- package/index.js.map +1 -0
- package/models/constants/index.d.ts +18 -0
- package/models/constants/index.d.ts.map +1 -0
- package/models/decorators/future-service.d.ts +7 -0
- package/models/decorators/future-service.d.ts.map +1 -0
- package/models/decorators/index.d.ts +6 -0
- package/models/decorators/index.d.ts.map +1 -0
- package/models/decorators/kos-config-bean-prop.d.ts +42 -0
- package/models/decorators/kos-config-bean-prop.d.ts.map +1 -0
- package/models/decorators/kos-config-bean.d.ts +8 -0
- package/models/decorators/kos-config-bean.d.ts.map +1 -0
- package/models/decorators/kos-state-bean.d.ts +6 -0
- package/models/decorators/kos-state-bean.d.ts.map +1 -0
- package/models/decorators/kos-state-prop.d.ts +10 -0
- package/models/decorators/kos-state-prop.d.ts.map +1 -0
- package/models/index.d.ts +11 -0
- package/models/index.d.ts.map +1 -0
- package/models/model.d.ts +7 -0
- package/models/models/browser-router/browser-router-model.d.ts +17 -0
- package/models/models/browser-router/browser-router-model.d.ts.map +1 -0
- package/models/models/browser-router/browser-router-registration.d.ts +89 -0
- package/models/models/browser-router/browser-router-registration.d.ts.map +1 -0
- package/models/models/browser-router/index.d.ts +4 -0
- package/models/models/browser-router/index.d.ts.map +1 -0
- package/models/models/browser-router/types/index.d.ts +1 -0
- package/models/models/browser-router/utils/index.d.ts +2 -0
- package/models/models/browser-router/utils/index.d.ts.map +1 -0
- package/models/models/browser-router/utils/init-kos-browser-router.d.ts +2 -0
- package/models/models/browser-router/utils/init-kos-browser-router.d.ts.map +1 -0
- package/models/models/config-bean/config-bean-model-builder.d.ts +57 -0
- package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -0
- package/models/models/config-bean/config-bean-model.d.ts +75 -0
- package/models/models/config-bean/config-bean-model.d.ts.map +1 -0
- package/models/models/config-bean/config-bean-types.d.ts +66 -0
- package/models/models/config-bean/config-bean-types.d.ts.map +1 -0
- package/models/models/config-bean/index.d.ts +4 -0
- package/models/models/config-bean/index.d.ts.map +1 -0
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts +86 -0
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -0
- package/models/models/config-bean-prop/config-options-factory.d.ts +6 -0
- package/models/models/config-bean-prop/config-options-factory.d.ts.map +1 -0
- package/models/models/config-bean-prop/index.d.ts +3 -0
- package/models/models/config-bean-prop/index.d.ts.map +1 -0
- package/models/models/config-bean-prop/types/index.d.ts +76 -0
- package/models/models/device/device-model.d.ts +48 -0
- package/models/models/device/device-model.d.ts.map +1 -0
- package/models/models/device/device-registration.d.ts +89 -0
- package/models/models/device/device-registration.d.ts.map +1 -0
- package/models/models/device/index.d.ts +5 -0
- package/models/models/device/index.d.ts.map +1 -0
- package/models/models/device/services/device-services.d.ts +21 -0
- package/models/models/device/services/device-services.d.ts.map +1 -0
- package/models/models/device/services/index.d.ts +2 -0
- package/models/models/device/services/index.d.ts.map +1 -0
- package/models/models/device/types/index.d.ts +5 -0
- package/models/models/future/future-aware.d.ts +32 -0
- package/models/models/future/future-aware.d.ts.map +1 -0
- package/models/models/future/future-factory.d.ts +5 -0
- package/models/models/future/future-factory.d.ts.map +1 -0
- package/models/models/future/future-model-builder.d.ts +76 -0
- package/models/models/future/future-model-builder.d.ts.map +1 -0
- package/models/models/future/future-model.d.ts +66 -0
- package/models/models/future/future-model.d.ts.map +1 -0
- package/models/models/future/future-types.d.ts +83 -0
- package/models/models/future/future-types.d.ts.map +1 -0
- package/models/models/future/index.d.ts +6 -0
- package/models/models/future/index.d.ts.map +1 -0
- package/models/models/future-container/future-container-factory.d.ts +5 -0
- package/models/models/future-container/future-container-factory.d.ts.map +1 -0
- package/models/models/future-container/future-container-model.d.ts +124 -0
- package/models/models/future-container/future-container-model.d.ts.map +1 -0
- package/models/models/future-container/future-container-types.d.ts +109 -0
- package/models/models/future-container/future-container-types.d.ts.map +1 -0
- package/models/models/future-container/index.d.ts +4 -0
- package/models/models/future-container/index.d.ts.map +1 -0
- package/models/models/index.d.ts +20 -0
- package/models/models/index.d.ts.map +1 -0
- package/models/models/key-value/index.d.ts +5 -0
- package/models/models/key-value/index.d.ts.map +1 -0
- package/models/models/key-value/key-value-model.d.ts +19 -0
- package/models/models/key-value/key-value-model.d.ts.map +1 -0
- package/models/models/key-value/key-value-registration.d.ts +89 -0
- package/models/models/key-value/key-value-registration.d.ts.map +1 -0
- package/models/models/key-value/services/index.d.ts +2 -0
- package/models/models/key-value/services/index.d.ts.map +1 -0
- package/models/models/key-value/services/key-value-services.d.ts +18 -0
- package/models/models/key-value/services/key-value-services.d.ts.map +1 -0
- package/models/models/key-value/types/index.d.ts +3 -0
- package/models/models/kos-core/index.d.ts +11 -0
- package/models/models/kos-core/index.d.ts.map +1 -0
- package/models/models/kos-time/index.d.ts +5 -0
- package/models/models/kos-time/index.d.ts.map +1 -0
- package/models/models/kos-time/kos-time-model.d.ts +36 -0
- package/models/models/kos-time/kos-time-model.d.ts.map +1 -0
- package/models/models/kos-time/kos-time-registration.d.ts +87 -0
- package/models/models/kos-time/kos-time-registration.d.ts.map +1 -0
- package/models/models/kos-time/services/index.d.ts +2 -0
- package/models/models/kos-time/services/index.d.ts.map +1 -0
- package/models/models/kos-time/services/kos-time-services.d.ts +16 -0
- package/models/models/kos-time/services/kos-time-services.d.ts.map +1 -0
- package/models/models/kos-time/types/index.d.ts +13 -0
- package/models/models/kos-token/index.d.ts +11 -0
- package/models/models/kos-token/index.d.ts.map +1 -0
- package/models/models/log-block/index.d.ts +6 -0
- package/models/models/log-block/index.d.ts.map +1 -0
- package/models/models/log-block/log-block-container-model.d.ts +23 -0
- package/models/models/log-block/log-block-container-model.d.ts.map +1 -0
- package/models/models/log-block/log-block-container-registration.d.ts +87 -0
- package/models/models/log-block/log-block-container-registration.d.ts.map +1 -0
- package/models/models/log-block/log-block-model.d.ts +28 -0
- package/models/models/log-block/log-block-model.d.ts.map +1 -0
- package/models/models/log-block/log-block-registration.d.ts +87 -0
- package/models/models/log-block/log-block-registration.d.ts.map +1 -0
- package/models/models/log-block/types/index.d.ts +38 -0
- package/models/models/log-stream/index.d.ts +7 -0
- package/models/models/log-stream/index.d.ts.map +1 -0
- package/models/models/log-stream/log-stream-container-model.d.ts +35 -0
- package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -0
- package/models/models/log-stream/log-stream-container-registration.d.ts +87 -0
- package/models/models/log-stream/log-stream-container-registration.d.ts.map +1 -0
- package/models/models/log-stream/log-stream-model.d.ts +38 -0
- package/models/models/log-stream/log-stream-model.d.ts.map +1 -0
- package/models/models/log-stream/log-stream-registration.d.ts +87 -0
- package/models/models/log-stream/log-stream-registration.d.ts.map +1 -0
- package/models/models/log-stream/services/index.d.ts +2 -0
- package/models/models/log-stream/services/index.d.ts.map +1 -0
- package/models/models/log-stream/services/log-stream-services.d.ts +22 -0
- package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -0
- package/models/models/log-stream/types/index.d.ts +9 -0
- package/models/models/network-interface/index.d.ts +7 -0
- package/models/models/network-interface/index.d.ts.map +1 -0
- package/models/models/network-interface/network-interface-container-model.d.ts +21 -0
- package/models/models/network-interface/network-interface-container-model.d.ts.map +1 -0
- package/models/models/network-interface/network-interface-container-registration.d.ts +86 -0
- package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -0
- package/models/models/network-interface/network-interface-model.d.ts +25 -0
- package/models/models/network-interface/network-interface-model.d.ts.map +1 -0
- package/models/models/network-interface/network-interface-registration.d.ts +86 -0
- package/models/models/network-interface/network-interface-registration.d.ts.map +1 -0
- package/models/models/network-interface/services/index.d.ts +2 -0
- package/models/models/network-interface/services/index.d.ts.map +1 -0
- package/models/models/network-interface/services/network-interface-services.d.ts +46 -0
- package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -0
- package/models/models/network-interface/types/index.d.ts +10 -0
- package/models/models/ota/index.d.ts +4 -0
- package/models/models/ota/index.d.ts.map +1 -0
- package/models/models/ota/ota-model.d.ts +26 -0
- package/models/models/ota/ota-model.d.ts.map +1 -0
- package/models/models/ota/ota-registration.d.ts +89 -0
- package/models/models/ota/ota-registration.d.ts.map +1 -0
- package/models/models/ota/services/index.d.ts +2 -0
- package/models/models/ota/services/index.d.ts.map +1 -0
- package/models/models/ota/services/ota-services.d.ts +8 -0
- package/models/models/ota/services/ota-services.d.ts.map +1 -0
- package/models/models/ota/types/index.d.ts +56 -0
- package/models/models/region-info/index.d.ts +5 -0
- package/models/models/region-info/index.d.ts.map +1 -0
- package/models/models/region-info/region-info-model.d.ts +95 -0
- package/models/models/region-info/region-info-model.d.ts.map +1 -0
- package/models/models/region-info/services/index.d.ts +2 -0
- package/models/models/region-info/services/index.d.ts.map +1 -0
- package/models/models/region-info/services/region-info-services.d.ts +48 -0
- package/models/models/region-info/services/region-info-services.d.ts.map +1 -0
- package/models/models/region-info/types/index.d.ts +168 -0
- package/models/models/region-info/types/index.d.ts.map +1 -0
- package/models/models/region-info/utils/unit-system-utils.d.ts +4 -0
- package/models/models/region-info/utils/unit-system-utils.d.ts.map +1 -0
- package/models/models/software-info/index.d.ts +4 -0
- package/models/models/software-info/index.d.ts.map +1 -0
- package/models/models/software-info/services/index.d.ts +2 -0
- package/models/models/software-info/services/index.d.ts.map +1 -0
- package/models/models/software-info/services/software-info-services.d.ts +22 -0
- package/models/models/software-info/services/software-info-services.d.ts.map +1 -0
- package/models/models/software-info/software-info-model.d.ts +14 -0
- package/models/models/software-info/software-info-model.d.ts.map +1 -0
- package/models/models/software-info/software-info-registration.d.ts +84 -0
- package/models/models/software-info/software-info-registration.d.ts.map +1 -0
- package/models/models/software-info/types/index.d.ts +35 -0
- package/models/models/state-bean/index.d.ts +4 -0
- package/models/models/state-bean/index.d.ts.map +1 -0
- package/models/models/state-bean/services/index.d.ts +2 -0
- package/models/models/state-bean/services/index.d.ts.map +1 -0
- package/models/models/state-bean/services/state-bean-services.d.ts +14 -0
- package/models/models/state-bean/services/state-bean-services.d.ts.map +1 -0
- package/models/models/state-bean/state-bean-model.d.ts +29 -0
- package/models/models/state-bean/state-bean-model.d.ts.map +1 -0
- package/models/models/state-bean/state-bean-registration.d.ts +84 -0
- package/models/models/state-bean/state-bean-registration.d.ts.map +1 -0
- package/models/models/state-bean/types/index.d.ts +24 -0
- package/models/models/state-prop/index.d.ts +4 -0
- package/models/models/state-prop/index.d.ts.map +1 -0
- package/models/models/state-prop/services/index.d.ts +2 -0
- package/models/models/state-prop/services/index.d.ts.map +1 -0
- package/models/models/state-prop/services/state-prop-services.d.ts +11 -0
- package/models/models/state-prop/services/state-prop-services.d.ts.map +1 -0
- package/models/models/state-prop/state-prop-model.d.ts +19 -0
- package/models/models/state-prop/state-prop-model.d.ts.map +1 -0
- package/models/models/state-prop/state-prop-registration.d.ts +84 -0
- package/models/models/state-prop/state-prop-registration.d.ts.map +1 -0
- package/models/models/state-prop/types/index.d.ts +20 -0
- package/models/models/storage-device/index.d.ts +7 -0
- package/models/models/storage-device/index.d.ts.map +1 -0
- package/models/models/storage-device/services/index.d.ts +2 -0
- package/models/models/storage-device/services/index.d.ts.map +1 -0
- package/models/models/storage-device/services/storage-device-services.d.ts +22 -0
- package/models/models/storage-device/services/storage-device-services.d.ts.map +1 -0
- package/models/models/storage-device/storage-device-container-model.d.ts +31 -0
- package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -0
- package/models/models/storage-device/storage-device-container-registration.d.ts +86 -0
- package/models/models/storage-device/storage-device-container-registration.d.ts.map +1 -0
- package/models/models/storage-device/storage-device-model.d.ts +27 -0
- package/models/models/storage-device/storage-device-model.d.ts.map +1 -0
- package/models/models/storage-device/storage-device-registration.d.ts +87 -0
- package/models/models/storage-device/storage-device-registration.d.ts.map +1 -0
- package/models/models/storage-device/types/index.d.ts +20 -0
- package/models/models/translation/constants.d.ts +2 -0
- package/models/models/translation/constants.d.ts.map +1 -0
- package/models/models/translation/index.d.ts +9 -0
- package/models/models/translation/index.d.ts.map +1 -0
- package/models/models/translation/services/index.d.ts +2 -0
- package/models/models/translation/services/index.d.ts.map +1 -0
- package/models/models/translation/services/translation-services.d.ts +25 -0
- package/models/models/translation/services/translation-services.d.ts.map +1 -0
- package/models/models/translation/translation-container-model.d.ts +36 -0
- package/models/models/translation/translation-container-model.d.ts.map +1 -0
- package/models/models/translation/translation-container-registration.d.ts +87 -0
- package/models/models/translation/translation-container-registration.d.ts.map +1 -0
- package/models/models/translation/translation-context.d.ts +27 -0
- package/models/models/translation/translation-context.d.ts.map +1 -0
- package/models/models/translation/translation-model.d.ts +42 -0
- package/models/models/translation/translation-model.d.ts.map +1 -0
- package/models/models/translation/translation-registration.d.ts +85 -0
- package/models/models/translation/translation-registration.d.ts.map +1 -0
- package/models/models/translation/types/index.d.ts +43 -0
- package/models/models/trouble/handlers/resolvable-trouble-handler.d.ts +16 -0
- package/models/models/trouble/handlers/resolvable-trouble-handler.d.ts.map +1 -0
- package/models/models/trouble/index.d.ts +8 -0
- package/models/models/trouble/index.d.ts.map +1 -0
- package/models/models/trouble/services/index.d.ts +2 -0
- package/models/models/trouble/services/index.d.ts.map +1 -0
- package/models/models/trouble/services/trouble-services.d.ts +23 -0
- package/models/models/trouble/services/trouble-services.d.ts.map +1 -0
- package/models/models/trouble/trouble-model.d.ts +42 -0
- package/models/models/trouble/trouble-model.d.ts.map +1 -0
- package/models/models/trouble/trouble-registration.d.ts +84 -0
- package/models/models/trouble/trouble-registration.d.ts.map +1 -0
- package/models/models/trouble/types/index.d.ts +100 -0
- package/models/models/trouble/utils/trouble-data-extension.d.ts +5 -0
- package/models/models/trouble/utils/trouble-data-extension.d.ts.map +1 -0
- package/models/models/trouble/utils/trouble-extension.d.ts +5 -0
- package/models/models/trouble/utils/trouble-extension.d.ts.map +1 -0
- package/models/models/trouble/utils/trouble-reducer.d.ts +4 -0
- package/models/models/trouble/utils/trouble-reducer.d.ts.map +1 -0
- package/models/models/trouble-container/index.d.ts +4 -0
- package/models/models/trouble-container/index.d.ts.map +1 -0
- package/models/models/trouble-container/trouble-container-model.d.ts +23 -0
- package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -0
- package/models/models/trouble-container/trouble-container-registration.d.ts +5 -0
- package/models/models/trouble-container/trouble-container-registration.d.ts.map +1 -0
- package/models/models/trouble-container/trouble-utils.d.ts +5 -0
- package/models/models/trouble-container/trouble-utils.d.ts.map +1 -0
- package/models/models/trouble-container/types/index.d.ts +17 -0
- package/models/models/types/index.d.ts +3 -0
- package/models/models/types/index.d.ts.map +1 -0
- package/models/models/usb-update/index.d.ts +7 -0
- package/models/models/usb-update/index.d.ts.map +1 -0
- package/models/models/usb-update/services/index.d.ts +2 -0
- package/models/models/usb-update/services/index.d.ts.map +1 -0
- package/models/models/usb-update/services/usb-update-services.d.ts +22 -0
- package/models/models/usb-update/services/usb-update-services.d.ts.map +1 -0
- package/models/models/usb-update/types/index.d.ts +14 -0
- package/models/models/usb-update/usb-update-container-model.d.ts +34 -0
- package/models/models/usb-update/usb-update-container-model.d.ts.map +1 -0
- package/models/models/usb-update/usb-update-container-registration.d.ts +87 -0
- package/models/models/usb-update/usb-update-container-registration.d.ts.map +1 -0
- package/models/models/usb-update/usb-update-model.d.ts +30 -0
- package/models/models/usb-update/usb-update-model.d.ts.map +1 -0
- package/models/models/usb-update/usb-update-registration.d.ts +87 -0
- package/models/models/usb-update/usb-update-registration.d.ts.map +1 -0
- package/models/models/ws-event/index.d.ts +4 -0
- package/models/models/ws-event/index.d.ts.map +1 -0
- package/models/models/ws-event/types/index.d.ts +25 -0
- package/models/models/ws-event/types/index.d.ts.map +1 -0
- package/models/models/ws-event/ws-event-factory.d.ts +5 -0
- package/models/models/ws-event/ws-event-factory.d.ts.map +1 -0
- package/models/models/ws-event/ws-event-model.d.ts +15 -0
- package/models/models/ws-event/ws-event-model.d.ts.map +1 -0
- package/models/registration.d.ts +7 -0
- package/models/registration.d.ts.map +1 -0
- package/models/services/config-bean/index.d.ts +144 -0
- package/models/services/config-bean/index.d.ts.map +1 -0
- package/models/services/future/index.d.ts +98 -0
- package/models/services/future/index.d.ts.map +1 -0
- package/models/services/index.d.ts +4 -0
- package/models/services/index.d.ts.map +1 -0
- package/models/services/login/index.d.ts +78 -0
- package/models/services/login/index.d.ts.map +1 -0
- package/models/services/trouble/index.d.ts +59 -0
- package/models/services/trouble/index.d.ts.map +1 -0
- package/models/types/global.d.ts +19 -0
- package/models/utils/client.d.ts +63 -0
- package/models/utils/client.d.ts.map +1 -0
- package/models/utils/conversion-utils.d.ts +41 -0
- package/models/utils/conversion-utils.d.ts.map +1 -0
- package/models/utils/core-registration-manager.d.ts +21 -0
- package/models/utils/core-registration-manager.d.ts.map +1 -0
- package/models/utils/extension-manager.d.ts +21 -0
- package/models/utils/extension-manager.d.ts.map +1 -0
- package/models/utils/future-manager/index.d.ts +9 -0
- package/models/utils/future-manager/index.d.ts.map +1 -0
- package/models/utils/index.d.ts +11 -0
- package/models/utils/index.d.ts.map +1 -0
- package/models/utils/openapi.d.ts +9493 -0
- package/models/utils/persistence-store.d.ts +58 -0
- package/models/utils/persistence-store.d.ts.map +1 -0
- package/models/utils/prop-utils.d.ts +3 -0
- package/models/utils/prop-utils.d.ts.map +1 -0
- package/models/utils/region-utils.d.ts +2 -0
- package/models/utils/region-utils.d.ts.map +1 -0
- package/models/utils/service.d.ts +70 -0
- package/models/utils/service.d.ts.map +1 -0
- package/models/utils/timer-manager.d.ts +153 -0
- package/models/utils/timer-manager.d.ts.map +1 -0
- package/models/utils/timezone-utils.d.ts +2 -0
- package/models/utils/timezone-utils.d.ts.map +1 -0
- package/models/utils/trouble-utils.d.ts +6 -0
- package/models/utils/trouble-utils.d.ts.map +1 -0
- package/models/utils/types.d.ts +9637 -0
- package/models/utils/types.d.ts.map +1 -0
- package/package.json +42 -0
- package/ui/components/error-boundary/error-boundary.d.ts +16 -0
- package/ui/components/error-boundary/error-boundary.d.ts.map +1 -0
- package/ui/components/error-boundary/index.d.ts +2 -0
- package/ui/components/error-boundary/index.d.ts.map +1 -0
- package/ui/components/index.d.ts +5 -0
- package/ui/components/index.d.ts.map +1 -0
- package/ui/components/kos-model-loader/contexts/kos-model-context.d.ts +12 -0
- package/ui/components/kos-model-loader/contexts/kos-model-context.d.ts.map +1 -0
- package/ui/components/kos-model-loader/contexts/kos-model-hierarchy-context.d.ts +16 -0
- package/ui/components/kos-model-loader/contexts/kos-model-hierarchy-context.d.ts.map +1 -0
- package/ui/components/kos-model-loader/index.d.ts +4 -0
- package/ui/components/kos-model-loader/index.d.ts.map +1 -0
- package/ui/components/kos-model-loader/kos-model-loader.d.ts +13 -0
- package/ui/components/kos-model-loader/kos-model-loader.d.ts.map +1 -0
- package/ui/components/loading-message/index.d.ts +11 -0
- package/ui/components/loading-message/index.d.ts.map +1 -0
- package/ui/components/loading-message/loading-message-styles.d.ts +3 -0
- package/ui/components/loading-message/loading-message-styles.d.ts.map +1 -0
- package/ui/components/progress-bar/index.d.ts +2 -0
- package/ui/components/progress-bar/index.d.ts.map +1 -0
- package/ui/components/progress-bar/progress-bar.d.ts +11 -0
- package/ui/components/progress-bar/progress-bar.d.ts.map +1 -0
- package/ui/constants/index.d.ts +2 -0
- package/ui/constants/index.d.ts.map +1 -0
- package/ui/contexts/create-model-context.d.ts +28 -0
- package/ui/contexts/create-model-context.d.ts.map +1 -0
- package/ui/contexts/fetch-kos-core.d.ts +6 -0
- package/ui/contexts/fetch-kos-core.d.ts.map +1 -0
- package/ui/contexts/index.d.ts +7 -0
- package/ui/contexts/index.d.ts.map +1 -0
- package/ui/contexts/kos-core-context.d.ts +16 -0
- package/ui/contexts/kos-core-context.d.ts.map +1 -0
- package/ui/contexts/kos-model-context.d.ts +10 -0
- package/ui/contexts/kos-model-context.d.ts.map +1 -0
- package/ui/contexts/kos-time/index.d.ts +2 -0
- package/ui/contexts/kos-time/index.d.ts.map +1 -0
- package/ui/contexts/kos-time/kos-time-provider.d.ts +13 -0
- package/ui/contexts/kos-time/kos-time-provider.d.ts.map +1 -0
- package/ui/contexts/modal-context.d.ts +13 -0
- package/ui/contexts/modal-context.d.ts.map +1 -0
- package/ui/contexts/software-info/index.d.ts +2 -0
- package/ui/contexts/software-info/index.d.ts.map +1 -0
- package/ui/contexts/software-info/software-info-provider.d.ts +14 -0
- package/ui/contexts/software-info/software-info-provider.d.ts.map +1 -0
- package/ui/contexts/state-bean/index.d.ts +2 -0
- package/ui/contexts/state-bean/index.d.ts.map +1 -0
- package/ui/contexts/state-bean/state-bean-provider.d.ts +14 -0
- package/ui/contexts/state-bean/state-bean-provider.d.ts.map +1 -0
- package/ui/contexts/token-context.d.ts +9 -0
- package/ui/contexts/token-context.d.ts.map +1 -0
- package/ui/contexts/translation-container/index.d.ts +2 -0
- package/ui/contexts/translation-container/index.d.ts.map +1 -0
- package/ui/contexts/translation-container/kos-translations-provider.d.ts +18 -0
- package/ui/contexts/translation-container/kos-translations-provider.d.ts.map +1 -0
- package/ui/hooks/device/index.d.ts +3 -0
- package/ui/hooks/device/index.d.ts.map +1 -0
- package/ui/hooks/device/use-device.d.ts +14 -0
- package/ui/hooks/device/use-device.d.ts.map +1 -0
- package/ui/hooks/device/with-device.d.ts +9 -0
- package/ui/hooks/device/with-device.d.ts.map +1 -0
- package/ui/hooks/fetch-model.d.ts +6 -0
- package/ui/hooks/fetch-model.d.ts.map +1 -0
- package/ui/hooks/index.d.ts +30 -0
- package/ui/hooks/index.d.ts.map +1 -0
- package/ui/hooks/kos-time/index.d.ts +3 -0
- package/ui/hooks/kos-time/index.d.ts.map +1 -0
- package/ui/hooks/kos-time/use-kos-time.d.ts +14 -0
- package/ui/hooks/kos-time/use-kos-time.d.ts.map +1 -0
- package/ui/hooks/kos-time/with-kos-time.d.ts +8 -0
- package/ui/hooks/kos-time/with-kos-time.d.ts.map +1 -0
- package/ui/hooks/network-interface-container/index.d.ts +3 -0
- package/ui/hooks/network-interface-container/index.d.ts.map +1 -0
- package/ui/hooks/network-interface-container/use-network-interface-container.d.ts +14 -0
- package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -0
- package/ui/hooks/network-interface-container/with-network-interface-container.d.ts +9 -0
- package/ui/hooks/network-interface-container/with-network-interface-container.d.ts.map +1 -0
- package/ui/hooks/ota/index.d.ts +3 -0
- package/ui/hooks/ota/index.d.ts.map +1 -0
- package/ui/hooks/ota/use-ota.d.ts +14 -0
- package/ui/hooks/ota/use-ota.d.ts.map +1 -0
- package/ui/hooks/ota/with-ota.d.ts +9 -0
- package/ui/hooks/ota/with-ota.d.ts.map +1 -0
- package/ui/hooks/outside-alerter.d.ts +11 -0
- package/ui/hooks/outside-alerter.d.ts.map +1 -0
- package/ui/hooks/software-info/index.d.ts +3 -0
- package/ui/hooks/software-info/index.d.ts.map +1 -0
- package/ui/hooks/software-info/use-software-info.d.ts +14 -0
- package/ui/hooks/software-info/use-software-info.d.ts.map +1 -0
- package/ui/hooks/software-info/with-software-info.d.ts +8 -0
- package/ui/hooks/software-info/with-software-info.d.ts.map +1 -0
- package/ui/hooks/state-bean/use-state-bean.d.ts +14 -0
- package/ui/hooks/state-bean/use-state-bean.d.ts.map +1 -0
- package/ui/hooks/state-bean/with-state-bean.d.ts +8 -0
- package/ui/hooks/state-bean/with-state-bean.d.ts.map +1 -0
- package/ui/hooks/state-prop/index.d.ts +2 -0
- package/ui/hooks/state-prop/index.d.ts.map +1 -0
- package/ui/hooks/state-prop/use-state-prop.d.ts +15 -0
- package/ui/hooks/state-prop/use-state-prop.d.ts.map +1 -0
- package/ui/hooks/storage-device-container/index.d.ts +3 -0
- package/ui/hooks/storage-device-container/index.d.ts.map +1 -0
- package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +16 -0
- package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -0
- package/ui/hooks/storage-device-container/with-storage-device-container.d.ts +9 -0
- package/ui/hooks/storage-device-container/with-storage-device-container.d.ts.map +1 -0
- package/ui/hooks/timer/index.d.ts +2 -0
- package/ui/hooks/timer/index.d.ts.map +1 -0
- package/ui/hooks/timer/use-timer.d.ts +19 -0
- package/ui/hooks/timer/use-timer.d.ts.map +1 -0
- package/ui/hooks/translation-container/index.d.ts +6 -0
- package/ui/hooks/translation-container/index.d.ts.map +1 -0
- package/ui/hooks/translation-container/trans.d.ts +21 -0
- package/ui/hooks/translation-container/trans.d.ts.map +1 -0
- package/ui/hooks/translation-container/use-translation-container.d.ts +43 -0
- package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -0
- package/ui/hooks/translation-container/use-translation.d.ts +14 -0
- package/ui/hooks/translation-container/use-translation.d.ts.map +1 -0
- package/ui/hooks/translation-container/with-translation-container.d.ts +9 -0
- package/ui/hooks/translation-container/with-translation-container.d.ts.map +1 -0
- package/ui/hooks/trouble/index.d.ts +5 -0
- package/ui/hooks/trouble/index.d.ts.map +1 -0
- package/ui/hooks/trouble/use-trouble-container.d.ts +14 -0
- package/ui/hooks/trouble/use-trouble-container.d.ts.map +1 -0
- package/ui/hooks/trouble/use-trouble-visibility.d.ts +16 -0
- package/ui/hooks/trouble/use-trouble-visibility.d.ts.map +1 -0
- package/ui/hooks/trouble/use-trouble.d.ts +14 -0
- package/ui/hooks/trouble/use-trouble.d.ts.map +1 -0
- package/ui/hooks/trouble/with-trouble-container.d.ts +8 -0
- package/ui/hooks/trouble/with-trouble-container.d.ts.map +1 -0
- package/ui/hooks/usb-update-container/index.d.ts +3 -0
- package/ui/hooks/usb-update-container/index.d.ts.map +1 -0
- package/ui/hooks/usb-update-container/use-usb-update-container.d.ts +17 -0
- package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -0
- package/ui/hooks/usb-update-container/with-usb-update-container.d.ts +9 -0
- package/ui/hooks/usb-update-container/with-usb-update-container.d.ts.map +1 -0
- package/ui/hooks/use-config-bean.d.ts +15 -0
- package/ui/hooks/use-config-bean.d.ts.map +1 -0
- package/ui/hooks/use-config-property.d.ts +29 -0
- package/ui/hooks/use-config-property.d.ts.map +1 -0
- package/ui/hooks/use-date-props.d.ts +169 -0
- package/ui/hooks/use-date-props.d.ts.map +1 -0
- package/ui/hooks/use-date-relative-prop.d.ts +49 -0
- package/ui/hooks/use-date-relative-prop.d.ts.map +1 -0
- package/ui/hooks/use-kos-date-formats.d.ts +57 -0
- package/ui/hooks/use-kos-date-formats.d.ts.map +1 -0
- package/ui/hooks/use-kos-model.d.ts +23 -0
- package/ui/hooks/use-kos-model.d.ts.map +1 -0
- package/ui/hooks/use-kos-region-timezones.d.ts +89 -0
- package/ui/hooks/use-kos-region-timezones.d.ts.map +1 -0
- package/ui/hooks/use-kos-regions.d.ts +59 -0
- package/ui/hooks/use-kos-regions.d.ts.map +1 -0
- package/ui/hooks/use-kos-time-formats.d.ts +58 -0
- package/ui/hooks/use-kos-time-formats.d.ts.map +1 -0
- package/ui/hooks/use-kos-token.d.ts +5 -0
- package/ui/hooks/use-kos-token.d.ts.map +1 -0
- package/ui/hooks/use-kos-unit-systems.d.ts +56 -0
- package/ui/hooks/use-kos-unit-systems.d.ts.map +1 -0
- package/ui/hooks/use-local-computed.d.ts +7 -0
- package/ui/hooks/use-local-computed.d.ts.map +1 -0
- package/ui/hooks/use-mutation-observer.d.ts +13 -0
- package/ui/hooks/use-mutation-observer.d.ts.map +1 -0
- package/ui/hooks/use-press-gesture/index.d.ts +4 -0
- package/ui/hooks/use-press-gesture/index.d.ts.map +1 -0
- package/ui/hooks/use-press-gesture/strategy/dom-intersection-strategy.d.ts +4 -0
- package/ui/hooks/use-press-gesture/strategy/dom-intersection-strategy.d.ts.map +1 -0
- package/ui/hooks/use-press-gesture/strategy/intersection-strategy.d.ts +9 -0
- package/ui/hooks/use-press-gesture/strategy/intersection-strategy.d.ts.map +1 -0
- package/ui/hooks/use-press-gesture/use-press-gesture.d.ts +17 -0
- package/ui/hooks/use-press-gesture/use-press-gesture.d.ts.map +1 -0
- package/ui/hooks/use-project-reloading.d.ts +2 -0
- package/ui/hooks/use-project-reloading.d.ts.map +1 -0
- package/ui/hooks/use-region-time-props.d.ts +27 -0
- package/ui/hooks/use-region-time-props.d.ts.map +1 -0
- package/ui/hooks/use-time-props.d.ts +68 -0
- package/ui/hooks/use-time-props.d.ts.map +1 -0
- package/ui/hooks/with-project-reload.d.ts +7 -0
- package/ui/hooks/with-project-reload.d.ts.map +1 -0
- package/ui/i18n/config.d.ts +11 -0
- package/ui/i18n/config.d.ts.map +1 -0
- package/ui/index.d.ts +6 -0
- package/ui/index.d.ts.map +1 -0
- package/ui/mocks/browser.d.ts +3 -0
- package/ui/mocks/browser.d.ts.map +1 -0
- package/ui/mocks/handlers.d.ts +3 -0
- package/ui/mocks/handlers.d.ts.map +1 -0
- package/ui/utils/date-utils.d.ts +34 -0
- package/ui/utils/date-utils.d.ts.map +1 -0
- package/ui/utils/date.d.ts +31 -0
- package/ui/utils/date.d.ts.map +1 -0
- package/ui/utils/index.d.ts +2 -0
- package/ui/utils/index.d.ts.map +1 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A persistence store that can be used to store data for a given session id and key
|
|
3
|
+
* The store is namespaced by the stateKey and the sessionId allows for multiple instances
|
|
4
|
+
* of data to be created with the same store using the session id as the discriminator.
|
|
5
|
+
* The store is backed by a {@link KeyValue} model.
|
|
6
|
+
* @public
|
|
7
|
+
* @interface
|
|
8
|
+
*/
|
|
9
|
+
export interface PersistenceStoreAware {
|
|
10
|
+
/** The key value data store */
|
|
11
|
+
store: KosPersistenceStore;
|
|
12
|
+
/** The sessionId to be used when multiple instances of a persistence store are required for a given namespace */
|
|
13
|
+
sessionId: string;
|
|
14
|
+
/** The stateKey used to namespace the store */
|
|
15
|
+
stateKey: string;
|
|
16
|
+
}
|
|
17
|
+
export interface KosPersistenceStore {
|
|
18
|
+
/**
|
|
19
|
+
* Update the state of the store for a given key. The session id of the store instance
|
|
20
|
+
* will be used to segregate the data. For example, if the session id is "my-session" and the
|
|
21
|
+
* key is "my-key", the data will be stored as "my-session-my-key". However the session id is not
|
|
22
|
+
* externally visible and is managed by the store.
|
|
23
|
+
*
|
|
24
|
+
* @param key - the key to update
|
|
25
|
+
* @param value - the value to update
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
updateState(key: string, value: string | number | boolean | undefined): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Clean all the data from the store for the given session id
|
|
31
|
+
*/
|
|
32
|
+
clean(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve the state of the store for a given key. The session id of the store instance
|
|
35
|
+
* will be used to retrieve the data.
|
|
36
|
+
* @param key - the key to retrieve
|
|
37
|
+
* @returns the value of the key or undefined if the key does not exist
|
|
38
|
+
*/
|
|
39
|
+
getState(key: string): string | number | boolean | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Unsubscribe from the store. This will remove the store from the persistence layer
|
|
42
|
+
*/
|
|
43
|
+
unsubscribe(): void;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Subscribe to a kOS Persistence Store or create a new one
|
|
47
|
+
* The store will be namespaced by the stateKey and the sessionId allows
|
|
48
|
+
* for multiple instances of data to be created with the same store using eh session id
|
|
49
|
+
* as the discriminator.
|
|
50
|
+
*
|
|
51
|
+
* If the sessionId is not provided, the store will be global
|
|
52
|
+
*
|
|
53
|
+
* @param stateKey - the namespace of the given persistence store
|
|
54
|
+
* @param sessionId - the data partition with the namespace that the store will operate within
|
|
55
|
+
* @returns a {@link KosPersistenceStore} instance
|
|
56
|
+
*/
|
|
57
|
+
export declare const subscribeStore: (stateKey: string, sessionId?: string) => Promise<KosPersistenceStore>;
|
|
58
|
+
//# sourceMappingURL=persistence-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistence-store.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/persistence-store.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC,+BAA+B;IAC/B,KAAK,EAAE,mBAAmB,CAAC;IAE3B,iHAAiH;IACjH,SAAS,EAAE,MAAM,CAAC;IAElB,+CAA+C;IAC/C,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;;OASG;IACH,WAAW,CACT,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAC3C,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;IAEd;;;;;OAKG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IAE7D;;OAEG;IACH,WAAW,IAAI,IAAI,CAAC;CACrB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,aACf,MAAM,cACJ,MAAM,KACjB,QAAQ,mBAAmB,CAqB7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/prop-utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,QAAS,MAAM,YAC0B,CAAC;AAEhE,eAAO,MAAM,QAAQ,QAAS,MAAM,YAOnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"region-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/region-utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,WAAkB,MAAM,kBAQhD,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { paths } from './openapi';
|
|
2
|
+
import { PathsByMethod } from '../../core';
|
|
3
|
+
|
|
4
|
+
declare const api: {
|
|
5
|
+
get: <K extends "/api/vfs" | "/api/ext/dispense/soldOuts/troubles" | "/api/ext/dispense/soldOuts/db" | "/api/kos/time/timezone" | "/api/kos/storage/devices" | "/api/ext/freestyle/can/read/float/{boardPath}/{index}/{subIndex}" | "/api/ext/freestyle/can/read/int/{boardPath}/{index}/{subIndex}" | "/api/ext/freestyle/can/stats" | "/api/ext/freestyle/can/stats/raw" | "/api/app/kosdev.ddk/cui" | "/api/app/kosdev.ddk/cui/open" | "/api/kos/criticalData/sources" | "/api/kos/criticalData/data" | "/api/kos/criticalData/data/{name}" | "/api/app/kosdev.ddk/ncui/plugins" | "/api/app/kosdev.ddk/ncui/open" | "/api/kos/browser" | "/api/kos/browser/redirect" | "/api/kos/future/traces" | "/api/kos/future/traces/{traceId}/events" | "/api/app/tccc.fits/medusa/profiles" | "/api/app/tccc.fits/medusa/profiles/{profileId}/recipes" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/blocks" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/bevs" | "/api/app/tccc.fits/medusa/profiles/{profileId}/map" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results/{resultsId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results/{resultsId}/entries/{startIdx}/{endIdx}" | "/api/kos/descriptor/{path}" | "/api/kos/descriptor/{path}/{dotted}" | "/api/kos/logs/groups" | "/api/kos/logs/overrides" | "/api/kos/logs/overrides/{nodeType}" | "/api/kos/logs/overrides/{nodeType}/{typePrefix}" | "/api/kos/device" | "/api/kos/device/assemblies" | "/api/kos/device/serialNumber" | "/api/app/kosdev.ddk/auth/role" | "/api/ext/freestyle/microCalibration/report/{board}" | "/api/ext/freestyle/microCalibration/cal/{pump}" | "/api/ext/freestyle/fcm/calibration/{pump}/baseline" | "/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/intent/{path}/{intent}" | "/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/intent/{path}/{intent}/volume" | "/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/intent/{path}/{intent}/time" | "/api/ext/freestyle/fuelGauges/{holder}" | "/api/kos/localization/context/{*path}" | "/api/kos/localization/contexts" | "/api/kos/ota/paused" | "/api/kos/ota/artifacts" | "/api/app/kosdev.ddk/setup/steps" | "/api/app/kosdev.ddk/setup/steps/reset" | "/api/kos/troubles" | "/api/kos/troubles/{troubleId}" | "/api/kos/update/available" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests" | "/api/kos/nodeMgr/blockedManifests" | "/api/kos/manifest/node" | "/api/kos/manifest/device" | "/api/kos/manifest/info" | "/api/kos/config/schema" | "/api/kos/config/schema/{path}" | "/api/kos/config/{path}" | "/api/kos/config/details/{options}" | "/api/kos/config/details/{path}/{options}" | "/api/kos/config/value/merged/{scopedPath}/{attr}" | "/api/kos/config/value/{scopedPath}/{attr}" | "/api/kos/config/bean/defaults/{scopedPath}" | "/api/kos/config/bean/merged/{path}" | "/api/kos/config/bean/overrides/{scopedPath}" | "/api/kos/logs/node/{nodeId}/streams" | "/api/kos/logs/node/{nodeId}/{stream}/blocks" | "/api/kos/logs/node/{nodeId}/{stream}/blocks/{blockId}" | "/api/ext/dispense/insertion/filters" | "/api/app/kosdev.ddk/network/reports" | "/api/app/kosdev.ddk/network/tests" | "/api/app/kosdev.ddk/network/tests/run/{id}" | "/api/app/kosdev.ddk/network/tests/run/group/{group}" | "/api/kos/network/interfaces" | "/api/app/tccc.fits/scales" | "/api/app/tccc.fits/scales/ifaces" | "/api/ext/freestyle/ice/types" | "/api/app/tccc.fits/persistence/sources" | "/api/kos/state/paths" | "/api/kos/state/{path}" | "/api/ext/dispense/ingredients" | "/api/ext/dispense/ingredients/sources" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/select" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/availability" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/availability/groups/{group}" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/graph/node/{id}" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/graph/beverages" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/graph/nodes" | "/api/kos/handles" | "/api/kos/handles/{path}" | "/api/kos/handles/{path}/{view}" | "/api/kos/handles/views" | "/api/ext/dispense/metrics" | "/api/ext/dispense/metrics/names" | "/api/ext/dispense/metrics/{name}" | "/api/ext/dispense/metrics/{nozzle}/names" | "/api/ext/dispense/metrics/{nozzle}/{name}" | "/api/kos/regions" | "/api/kos/regions/info" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/engine/nutrition/{bevId}" | "/api/ext/freestyle/cartridges" | "/api/ext/freestyle/cartridges/{id}" | "/api/ext/dispense/assignments" | "/api/ext/freestyle/brandset/nutrition/{bevId}" | "/api/ext/freestyle/brandset/grantProperties" | "/api/kos/openapi/{*baseUrl}" | "/api/app/kosdev.ddk/copyLogs/volumes/size" | "/api/app/kosdev.ddk/copyLogs/files/size" | "/api/app/tccc.fits/session" | "/api/app/tccc.fits/session/data/{key}">(endpoint: K, params?: (paths[K]["get"] extends {
|
|
6
|
+
parameters: infer P;
|
|
7
|
+
} ? P : never) | undefined, options?: {
|
|
8
|
+
ordered?: boolean | undefined;
|
|
9
|
+
tracker?: string | undefined;
|
|
10
|
+
destinationAddress?: string | undefined;
|
|
11
|
+
bridge?: boolean | undefined;
|
|
12
|
+
timeout?: number | undefined;
|
|
13
|
+
fos?: boolean | undefined;
|
|
14
|
+
studio?: boolean | undefined;
|
|
15
|
+
signal?: AbortSignal | undefined;
|
|
16
|
+
} | undefined) => Promise<import('../../core').ServiceResponse<import('../../core').ClientResponse<paths, K, "get">>>;
|
|
17
|
+
post: <K_1 extends "/api/ext/dispense/soldOuts/container/{pump}/{reason}" | "/api/ext/dispense/soldOuts/slice/{pump}/{reason}" | "/api/kos/time/date" | "/api/kos/time/timezone" | "/api/kos/time/time" | "/api/ext/freestyle/can/stats" | "/api/ext/freestyle/can/write/byte/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/short/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/float/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/int/{boardPath}/{index}/{subIndex}/{val}" | "/api/kos/criticalData/data" | "/api/kos/criticalData/data/{name}" | "/api/app/kosdev.ddk/ncui/reboot" | "/api/kos/browser/{nodeId}" | "/api/kos/browser/{nodeId}/{name}" | "/api/kos/browser/intent" | "/api/kos/browser/url" | "/api/kos/future/{futureId}/cancel" | "/api/app/tccc.fits/medusa/profile" | "/api/app/tccc.fits/medusa/profiles/{profileId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/resume" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/exit" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/stop" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}/json" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}/run" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/pause" | "/api/app/tccc.fits/medusa/profiles/{profileId}/test" | "/api/app/tccc.fits/medusa/profiles/{profileId}/activate" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/blocks" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/bevs/{bevId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/recipe" | "/api/app/tccc.fits/medusa/profiles/{profileId}/mapper/discovery" | "/api/app/tccc.fits/medusa/profiles/{profileId}/mapper/builder" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results/{resultsId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/validate" | "/api/app/tccc.fits/medusa/profiles/{profileId}/validate/all" | "/api/kos/logs/overrides" | "/api/kos/device/serialNumber/{serialNum}" | "/api/app/kosdev.ddk/auth/pincode/{pin}" | "/api/ext/freestyle/microCalibration/cal/{pump}/running/{val}" | "/api/ext/freestyle/microCalibration/cal/{pump}/code/{code}" | "/api/ext/freestyle/microCalibration/cal/{pump}/baseline/{val}" | "/api/ext/freestyle/microCalibration/cal/{pump}/both/{val}" | "/api/ext/freestyle/fcm/calibration/{pump}/calibrate" | "/api/ext/freestyle/fcm/calibration/{pump}/preCalibrate" | "/api/ext/freestyle/fcm/calibration/{pump}/verify/{calVolume}" | "/api/ext/freestyle/fcm/calibration/{pump}/baseline/{value}" | "/api/ext/freestyle/fcm/calibration/{pump}/complete/{calVolume}/{verifyVolume}" | "/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/pour/{path}/{intent}" | "/api/ext/freestyle/fuelGauges/{holder}/{val}" | "/api/kos/ota/resume/{name}" | "/api/kos/ota/cancel" | "/api/kos/ota/cancel/{name}" | "/api/kos/ota/pause/{name}" | "/api/app/kosdev.ddk/setup/complete/{stepName}" | "/api/app/kosdev.ddk/lockout/unlock/{pin}" | "/api/kos/troubles/resolve" | "/api/kos/troubles/resolve/{troubleId}" | "/api/kos/update/install" | "/api/kos/nodeMgr/reboot" | "/api/kos/nodeMgr/node/{nodeId}/reboot" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests/{manifestId}" | "/api/kos/nodeMgr/blockedManifests/{manifestId}" | "/api/kos/config/{path}" | "/api/kos/config/bulk" | "/api/ext/dispense/pumpEvents/replaceLine/{holder}" | "/api/ext/dispense/pumpEvents/replacePump/{pump}" | "/api/kos/logs/node/{nodeId}/{stream}/subscribe" | "/api/kos/logs/node/{nodeId}/{stream}/unsubscribe" | "/api/app/tccc.fits/scales/{serialNum}" | "/api/ext/freestyle/ice/type/{path}/{type}" | "/api/app/tccc.fits/persistence/sources/{storageId}/{name}" | "/api/handle/assembly:core:board:macro:agitator:agit/test" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/select" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/pour" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/fixed/{name}" | "/api/ext/dispense/metrics/{name}" | "/api/ext/dispense/metrics/{nozzle}/{name}" | "/api/ext/dispense/assignments" | "/api/ext/freestyle/fcm/diagnostics/{pump}/pressureTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/opennessTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/flowTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/electricalTest" | "/api/ext/freestyle/brandset/grantProperties" | "/api/app/kosdev.ddk/copyLogs/eraseAndCopy/{id}" | "/api/app/kosdev.ddk/copyLogs/{id}" | "/api/app/tccc.fits/session/pop/all" | "/api/app/tccc.fits/session/pop/include/{type}" | "/api/app/tccc.fits/session/pop/to/{type}" | "/api/app/tccc.fits/session/data/{key}">(endpoint: K_1, params?: (paths[K_1]["post"] extends {
|
|
18
|
+
parameters: infer P_1;
|
|
19
|
+
} ? P_1 : never) | undefined, body?: (paths[K_1]["post"] extends {
|
|
20
|
+
requestBody: {
|
|
21
|
+
content: infer B;
|
|
22
|
+
};
|
|
23
|
+
} ? B[keyof B] : never) | undefined, options?: {
|
|
24
|
+
ordered?: boolean | undefined;
|
|
25
|
+
tracker?: string | undefined;
|
|
26
|
+
destinationAddress?: string | undefined;
|
|
27
|
+
bridge?: boolean | undefined;
|
|
28
|
+
timeout?: number | undefined;
|
|
29
|
+
fos?: boolean | undefined;
|
|
30
|
+
studio?: boolean | undefined;
|
|
31
|
+
signal?: AbortSignal | undefined;
|
|
32
|
+
} | undefined) => Promise<import('../../core').ServiceResponse<import('../../core').ClientResponse<paths, K_1, "post">>>;
|
|
33
|
+
put: <K_2 extends never>(endpoint: K_2, params?: (paths[K_2]["put"] extends {
|
|
34
|
+
parameters: infer P_2;
|
|
35
|
+
} ? P_2 : never) | undefined, body?: (paths[K_2]["put"] extends {
|
|
36
|
+
requestBody: {
|
|
37
|
+
content: infer B_1;
|
|
38
|
+
};
|
|
39
|
+
} ? B_1[keyof B_1] : never) | undefined, options?: {
|
|
40
|
+
ordered?: boolean | undefined;
|
|
41
|
+
tracker?: string | undefined;
|
|
42
|
+
destinationAddress?: string | undefined;
|
|
43
|
+
bridge?: boolean | undefined;
|
|
44
|
+
timeout?: number | undefined;
|
|
45
|
+
fos?: boolean | undefined;
|
|
46
|
+
studio?: boolean | undefined;
|
|
47
|
+
signal?: AbortSignal | undefined;
|
|
48
|
+
} | undefined) => Promise<import('../../core').ServiceResponse<import('../../core').ClientResponse<paths, K_2, "put">>>;
|
|
49
|
+
delete: <K_3 extends "/api/kos/criticalData/data/{name}" | "/api/app/tccc.fits/medusa/profiles/{profileId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/recipes/{name}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/blocks" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/bevs/{bevId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results/{resultsId}" | "/api/kos/logs/overrides" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests/{manifestId}" | "/api/kos/nodeMgr/blockedManifests/{manifestId}" | "/api/app/tccc.fits/scales/{serialNum}" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/select" | "/api/ext/dispense/metrics/{name}" | "/api/ext/dispense/metrics/{nozzle}/{name}" | "/api/ext/dispense/assignments/{holderPath}" | "/api/app/kosdev.ddk/copyLogs/{id}" | "/api/app/tccc.fits/session/data/{key}">(endpoint: K_3, params?: (paths[K_3]["delete"] extends {
|
|
50
|
+
parameters: infer P_3;
|
|
51
|
+
} ? P_3 : never) | undefined, options?: {
|
|
52
|
+
ordered?: boolean | undefined;
|
|
53
|
+
tracker?: string | undefined;
|
|
54
|
+
destinationAddress?: string | undefined;
|
|
55
|
+
bridge?: boolean | undefined;
|
|
56
|
+
timeout?: number | undefined;
|
|
57
|
+
fos?: boolean | undefined;
|
|
58
|
+
studio?: boolean | undefined;
|
|
59
|
+
signal?: AbortSignal | undefined;
|
|
60
|
+
} | undefined) => Promise<import('../../core').ServiceResponse<import('../../core').ClientResponse<paths, K_3, "delete">>>;
|
|
61
|
+
};
|
|
62
|
+
export type KosApi = paths;
|
|
63
|
+
export type ApiPath = keyof paths;
|
|
64
|
+
export type ValidPaths = PathsByMethod<paths>;
|
|
65
|
+
export type GetPaths = ValidPaths["get"];
|
|
66
|
+
export type PostPaths = ValidPaths["post"];
|
|
67
|
+
export type PutPaths = ValidPaths["put"];
|
|
68
|
+
export type DeletePaths = ValidPaths["delete"];
|
|
69
|
+
export default api;
|
|
70
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwB,CAAC;AAElC,MAAM,MAAM,MAAM,GAAG,KAAK,CAAC;AAC3B,MAAM,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC;AAClC,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;AACzC,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3C,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;AACzC,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;AAE/C,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { KosConfigProperty } from '../models';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Event name for timer-related events.
|
|
5
|
+
*/
|
|
6
|
+
export declare const TIMER_EVENT = "/kos-timer-event";
|
|
7
|
+
/**
|
|
8
|
+
* Default action name for timer end event.
|
|
9
|
+
*/
|
|
10
|
+
export declare const TIMER_END = "defaultTimerEnd";
|
|
11
|
+
/**
|
|
12
|
+
* Represents a timer event.
|
|
13
|
+
*/
|
|
14
|
+
export interface TimerEvent {
|
|
15
|
+
name: string;
|
|
16
|
+
action: string;
|
|
17
|
+
remainingTime: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Represents a function that can be executed as a timer action.
|
|
21
|
+
*/
|
|
22
|
+
type TimerActionFn = (name: string, timeRemaining: number) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Represents a timer action configuration.
|
|
25
|
+
*/
|
|
26
|
+
export interface TimerAction {
|
|
27
|
+
name: string;
|
|
28
|
+
action?: TimerActionFn;
|
|
29
|
+
remainingTime?: number;
|
|
30
|
+
singleUse?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Manages the behavior of a timer.
|
|
34
|
+
*/
|
|
35
|
+
export declare class KosTimer {
|
|
36
|
+
private name;
|
|
37
|
+
private timeout;
|
|
38
|
+
private timer?;
|
|
39
|
+
private state;
|
|
40
|
+
private decrementValue;
|
|
41
|
+
private remainingTime;
|
|
42
|
+
private timeoutActions;
|
|
43
|
+
/**
|
|
44
|
+
* Creates a new timer.
|
|
45
|
+
* @param name - The name of the timer.
|
|
46
|
+
* @param timeout - The duration (in seconds) of the timer.
|
|
47
|
+
* @param defaultActions - Optional default timer actions.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, timeout: number | KosConfigProperty<number>, defaultActions?: TimerAction[]);
|
|
50
|
+
/**
|
|
51
|
+
* Starts the timer.
|
|
52
|
+
*/
|
|
53
|
+
start(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Pauses the timer.
|
|
56
|
+
*/
|
|
57
|
+
pause(): void;
|
|
58
|
+
/**
|
|
59
|
+
* Restarts the timer. The timer will continue to run from its initial state.
|
|
60
|
+
*/
|
|
61
|
+
restart(): void;
|
|
62
|
+
/**
|
|
63
|
+
* Resets the timer to its initial state. The timer will be stopped and reset to its initial state.
|
|
64
|
+
* The timer will need to be started again to continue running.
|
|
65
|
+
*/
|
|
66
|
+
reset(): void;
|
|
67
|
+
updateTimeout(timeout: number): void;
|
|
68
|
+
/**
|
|
69
|
+
* Adds a timeout action to the timer.
|
|
70
|
+
* @param timerAction - The timer action configuration to add.
|
|
71
|
+
*/
|
|
72
|
+
addTimeoutAction(timerAction: TimerAction): void;
|
|
73
|
+
/**
|
|
74
|
+
* Removes a timeout action from the timer by action name.
|
|
75
|
+
* @param actionName - The name of the action to remove.
|
|
76
|
+
*/
|
|
77
|
+
removeTimeoutAction(actionName: string): void;
|
|
78
|
+
/**
|
|
79
|
+
* Updates the timer's remaining time and executes timeout actions.
|
|
80
|
+
*/
|
|
81
|
+
private updateTimer;
|
|
82
|
+
/**
|
|
83
|
+
* Executes timeout actions at the specified time.
|
|
84
|
+
* @param time - The remaining time at which to execute actions.
|
|
85
|
+
*/
|
|
86
|
+
private executeActions;
|
|
87
|
+
/**
|
|
88
|
+
* Notifies a timeout action through the EventBus.
|
|
89
|
+
* @param action - The timeout action to notify.
|
|
90
|
+
*/
|
|
91
|
+
private notifyTimeoutAction;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The TimerManager provides utility functions to manage timers.
|
|
95
|
+
*/
|
|
96
|
+
export declare const TimerManager: {
|
|
97
|
+
/**
|
|
98
|
+
* Creates a new timer with a timeout relative to the current date.
|
|
99
|
+
* @param name - The name of the timer
|
|
100
|
+
* @param date - The date to set the timer to
|
|
101
|
+
* @param defaultActions - Optional default timer actions.
|
|
102
|
+
* @returns the time instance
|
|
103
|
+
*/
|
|
104
|
+
createRelativeTimer(name: string, date: Date, defaultActions?: TimerAction[]): KosTimer | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Creates a new timer or retrieves an existing one by name.
|
|
107
|
+
* @param name - The name of the timer.
|
|
108
|
+
* @param timeout - The duration (in seconds) of the timer (default: 60 seconds).
|
|
109
|
+
* @param defaultActions - Optional default timer actions.
|
|
110
|
+
* @returns The timer instance.
|
|
111
|
+
*/
|
|
112
|
+
createTimer(name: string, timeout?: number, defaultActions?: TimerAction[]): KosTimer | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* Gets an existing timer by name.
|
|
115
|
+
* @param name - The name of the timer.
|
|
116
|
+
* @returns The timer instance or `undefined` if not found.
|
|
117
|
+
*/
|
|
118
|
+
getTimer(name: string): KosTimer | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Clears (pauses) an existing timer by name.
|
|
121
|
+
* @param name - The name of the timer.
|
|
122
|
+
*/
|
|
123
|
+
clearTimer(name: string): void;
|
|
124
|
+
/**
|
|
125
|
+
* Restarts an existing timer to its initial state by name. The timer will continue to run from its initial state.
|
|
126
|
+
* @param name - The name of the timer.
|
|
127
|
+
*/
|
|
128
|
+
restartTimer(name: string): void;
|
|
129
|
+
/**
|
|
130
|
+
* Resets an existing timer to its initial state by name.
|
|
131
|
+
* @param name - The name of the timer.
|
|
132
|
+
*/
|
|
133
|
+
resetTimer(name: string): void;
|
|
134
|
+
/**
|
|
135
|
+
* Adds a timeout action to an existing timer by name.
|
|
136
|
+
* @param name - The name of the timer.
|
|
137
|
+
* @param action - The timer action configuration to add.
|
|
138
|
+
*/
|
|
139
|
+
addTimeoutAction(name: string, action: TimerAction): void;
|
|
140
|
+
/**
|
|
141
|
+
* Removes a timeout action from an existing timer by name and action name.
|
|
142
|
+
* @param name - The name of the timer.
|
|
143
|
+
* @param actionName - The name of the action to remove.
|
|
144
|
+
*/
|
|
145
|
+
removeTimeoutAction(name: string, actionName: string): void;
|
|
146
|
+
/**
|
|
147
|
+
* Starts an existing timer by name.
|
|
148
|
+
* @param name - The name of the timer.
|
|
149
|
+
*/
|
|
150
|
+
startTimer(name: string): void;
|
|
151
|
+
};
|
|
152
|
+
export {};
|
|
153
|
+
//# sourceMappingURL=timer-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timer-manager.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/timer-manager.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,SAAS,oBAAoB,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAQD;;GAEG;AACH,qBAAa,QAAQ;IACnB,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,KAAK,CAAC,CAAiB;IAC/B,OAAO,CAAC,KAAK,CAA6D;IAC1E,OAAO,CAAC,cAAc,CAAK;IAC3B,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,cAAc,CAAyC;IAE/D;;;;;OAKG;gBAED,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC,EAC3C,cAAc,CAAC,EAAE,WAAW,EAAE;IAiChC;;OAEG;IACI,KAAK;IAYZ;;OAEG;IACI,KAAK;IAQZ;;OAEG;IACI,OAAO;IAKd;;;OAGG;IACI,KAAK;IAML,aAAa,CAAC,OAAO,EAAE,MAAM;IAKpC;;;OAGG;IACI,gBAAgB,CAAC,WAAW,EAAE,WAAW;IAiBhD;;;OAGG;IACI,mBAAmB,CAAC,UAAU,EAAE,MAAM;IAc7C;;OAEG;IACH,OAAO,CAAC,WAAW;IAkBnB;;;OAGG;IACH,OAAO,CAAC,cAAc;IAgBtB;;;OAGG;IACH,OAAO,CAAC,mBAAmB;CAO5B;AAmBD;;GAEG;AACH,eAAO,MAAM,YAAY;IACvB;;;;;;OAMG;8BAEK,MAAM,QACN,IAAI,mBACO,WAAW,EAAE;IAMhC;;;;;;OAMG;sBACe,MAAM,qCAAiC,WAAW,EAAE;IAStE;;;;OAIG;mBACY,MAAM;IAIrB;;;OAGG;qBACc,MAAM;IAIvB;;;OAGG;uBACgB,MAAM;IAIzB;;;OAGG;qBACc,MAAM;IAIvB;;;;OAIG;2BACoB,MAAM,UAAU,WAAW;IAIlD;;;;OAIG;8BACuB,MAAM,cAAc,MAAM;IAIpD;;;OAGG;qBACc,MAAM;CAGxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timezone-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/timezone-utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc,aAAoB,MAAM,kBAQpD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TroubleResponse } from '../models/trouble/services';
|
|
2
|
+
|
|
3
|
+
export declare const defaultTroubleRankMapper: (trouble: TroubleResponse) => number;
|
|
4
|
+
export declare const defaultTroubleColorMapper: (trouble: TroubleResponse) => string;
|
|
5
|
+
export declare const defaultTroubleRoleMapper: (trouble: TroubleResponse) => string;
|
|
6
|
+
//# sourceMappingURL=trouble-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trouble-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/trouble-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAsBlE,eAAO,MAAM,wBAAwB,YAAa,eAAe,WAMhE,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAAa,eAAe,WAMjE,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAAa,eAAe,WAMhE,CAAC"}
|