@kosdev-code/kos-ui-sdk 2.1.37 → 2.1.39
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/events/eventBus.d.ts +30 -0
- package/common/events/eventBus.d.ts.map +1 -1
- package/common/events/eventBus.functional.d.ts +48 -0
- package/common/events/eventBus.functional.d.ts.map +1 -1
- package/common/events/eventBus.state.d.ts +33 -0
- package/common/events/eventBus.state.d.ts.map +1 -1
- package/core/core/decorators/fsm-injection-utils.d.ts.map +1 -1
- package/core/core/decorators/kos-child.d.ts +2 -0
- package/core/core/decorators/kos-child.d.ts.map +1 -1
- package/core/core/decorators/kos-companion.d.ts +14 -0
- package/core/core/decorators/kos-companion.d.ts.map +1 -1
- package/core/core/decorators/kos-container-aware.d.ts +21 -0
- package/core/core/decorators/kos-container-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-context.d.ts +6 -0
- package/core/core/decorators/kos-context.d.ts.map +1 -1
- package/core/core/decorators/kos-execution-context.d.ts +4 -1
- package/core/core/decorators/kos-execution-context.d.ts.map +1 -1
- package/core/core/decorators/kos-future-aware.d.ts +12 -0
- package/core/core/decorators/kos-future-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-http-decorators.d.ts +15 -0
- package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
- package/core/core/decorators/kos-log.d.ts +4 -0
- package/core/core/decorators/kos-log.d.ts.map +1 -1
- package/core/core/decorators/kos-logger-aware.d.ts +9 -0
- package/core/core/decorators/kos-logger-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-model-effect.d.ts +9 -0
- package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
- package/core/core/decorators/kos-multiple-future-aware.d.ts +14 -0
- package/core/core/decorators/kos-multiple-future-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-parent.d.ts +4 -0
- package/core/core/decorators/kos-parent.d.ts.map +1 -1
- package/core/core/decorators/kos-reference.d.ts +9 -0
- package/core/core/decorators/kos-reference.d.ts.map +1 -1
- package/core/core/decorators/kos-service-request-helpers.d.ts +4 -2
- package/core/core/decorators/kos-service-request-helpers.d.ts.map +1 -1
- package/core/core/decorators/kos-service-request.d.ts +44 -3
- package/core/core/decorators/kos-service-request.d.ts.map +1 -1
- package/core/core/decorators/kos-state-machine.d.ts +24 -0
- package/core/core/decorators/kos-state-machine.d.ts.map +1 -1
- package/core/core/decorators/kos-topic-handler-flow-control.d.ts +17 -1
- package/core/core/decorators/kos-topic-handler-flow-control.d.ts.map +1 -1
- package/core/core/decorators/kos-trouble-aware.d.ts +6 -0
- package/core/core/decorators/kos-trouble-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-view-model.d.ts +14 -0
- package/core/core/decorators/kos-view-model.d.ts.map +1 -1
- package/core/core/decorators/kosDependency.d.ts +2 -0
- package/core/core/decorators/kosDependency.d.ts.map +1 -1
- package/core/core/decorators/kosModel.d.ts +2 -0
- package/core/core/decorators/kosModel.d.ts.map +1 -1
- package/core/core/decorators/kosSubscribe.d.ts +9 -0
- package/core/core/decorators/kosSubscribe.d.ts.map +1 -1
- package/core/core/decorators/kosTopicHandler.d.ts +34 -0
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
- package/core/core/extension/extension-manager.d.ts +49 -0
- package/core/core/extension/extension-manager.d.ts.map +1 -1
- package/core/core/extension/initialize-extension.d.ts +24 -0
- package/core/core/extension/initialize-extension.d.ts.map +1 -1
- package/core/core/extension/plugin-extension-manager.d.ts +11 -0
- package/core/core/extension/plugin-extension-manager.d.ts.map +1 -1
- package/core/core/kosCore.d.ts.map +1 -1
- package/core/core/kosModel.d.ts +39 -0
- package/core/core/kosModel.d.ts.map +1 -1
- package/core/core/model/kos-fsm-manager.d.ts +4 -1
- package/core/core/model/kos-fsm-manager.d.ts.map +1 -1
- package/core/core/model/kos-online-lifecycle-manager.d.ts.map +1 -1
- package/core/core/model/kos-service-request-manager.d.ts.map +1 -1
- package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
- package/core/core/services/browser-router.d.ts.map +1 -1
- package/core/core/transport/webSocketTransport.d.ts +2 -1
- package/core/core/transport/webSocketTransport.d.ts.map +1 -1
- package/core/types/kos-dependency.d.ts +10 -1
- package/core/types/kos-dependency.d.ts.map +1 -1
- package/core/types/service-response-store.d.ts +10 -0
- package/core/types/service-response-store.d.ts.map +1 -1
- package/core/types/utils/kos-fetch.d.ts +121 -0
- package/core/types/utils/kos-fetch.d.ts.map +1 -1
- package/core/util/ancestor-path-visitor.d.ts +2 -0
- package/core/util/ancestor-path-visitor.d.ts.map +1 -1
- package/core/util/api-request-id.d.ts +4 -0
- package/core/util/api-request-id.d.ts.map +1 -1
- package/core/util/apply-mixins.d.ts +4 -0
- package/core/util/apply-mixins.d.ts.map +1 -1
- package/core/util/array-utils.d.ts +4 -0
- package/core/util/array-utils.d.ts.map +1 -1
- package/core/util/container-utils.d.ts +14 -0
- package/core/util/container-utils.d.ts.map +1 -1
- package/core/util/date-utils.d.ts +29 -0
- package/core/util/date-utils.d.ts.map +1 -1
- package/core/util/debounce.d.ts +3 -0
- package/core/util/debounce.d.ts.map +1 -1
- package/core/util/feature-flags.d.ts +19 -0
- package/core/util/feature-flags.d.ts.map +1 -1
- package/core/util/get-query-params.d.ts +4 -0
- package/core/util/get-query-params.d.ts.map +1 -1
- package/core/util/hsl-to-hex.d.ts +16 -0
- package/core/util/hsl-to-hex.d.ts.map +1 -1
- package/core/util/index.d.ts +1 -0
- package/core/util/index.d.ts.map +1 -1
- package/core/util/kos-config-init.d.ts +36 -0
- package/core/util/kos-config-init.d.ts.map +1 -1
- package/core/util/kos-data-mapper-utils.d.ts +9 -0
- package/core/util/kos-data-mapper-utils.d.ts.map +1 -1
- package/core/util/kos-fetch.d.ts +12 -0
- package/core/util/kos-fetch.d.ts.map +1 -1
- package/core/util/kos-message-utils.d.ts +88 -0
- package/core/util/kos-message-utils.d.ts.map +1 -1
- package/core/util/kos-model-utils.d.ts +46 -0
- package/core/util/kos-model-utils.d.ts.map +1 -1
- package/core/util/kos-model-visitor.d.ts +2 -0
- package/core/util/kos-model-visitor.d.ts.map +1 -1
- package/core/util/kos-service-request.d.ts +34 -2
- package/core/util/kos-service-request.d.ts.map +1 -1
- package/core/util/log-utils.d.ts +12 -0
- package/core/util/log-utils.d.ts.map +1 -1
- package/core/util/middleware.d.ts +15 -0
- package/core/util/middleware.d.ts.map +1 -1
- package/core/util/model-attribute-utils.d.ts +7 -0
- package/core/util/model-attribute-utils.d.ts.map +1 -1
- package/core/util/model-factory.d.ts +4 -0
- package/core/util/model-factory.d.ts.map +1 -1
- package/core/util/model-registration-utils.d.ts +8 -0
- package/core/util/model-registration-utils.d.ts.map +1 -1
- package/core/util/model-utils.d.ts +30 -6
- package/core/util/model-utils.d.ts.map +1 -1
- package/core/util/observable-proxy-map.d.ts +11 -0
- package/core/util/observable-proxy-map.d.ts.map +1 -1
- package/core/util/paired-client-heartbeat.d.ts +2 -0
- package/core/util/paired-client-heartbeat.d.ts.map +1 -1
- package/core/util/pipe.d.ts +4 -0
- package/core/util/pipe.d.ts.map +1 -1
- package/core/util/retry-with-exponential-backoff.d.ts +3 -0
- package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
- package/core/util/service-factory.d.ts +10 -0
- package/core/util/service-factory.d.ts.map +1 -1
- package/core/util/service-request-error.d.ts +60 -0
- package/core/util/service-request-error.d.ts.map +1 -0
- package/core/util/service-response.d.ts +15 -0
- package/core/util/service-response.d.ts.map +1 -1
- package/core/util/session-utils.d.ts +8 -0
- package/core/util/session-utils.d.ts.map +1 -1
- package/core/util/wait-for-request.d.ts +16 -0
- package/core/util/wait-for-request.d.ts.map +1 -1
- package/core/util/when-ready.d.ts +3 -0
- package/core/util/when-ready.d.ts.map +1 -1
- package/index.cjs +26985 -151
- package/index.cjs.map +1 -1
- package/index.d.cts +6 -4
- package/index.d.ts +6 -4
- package/index.d.ts.map +1 -1
- package/index.js +20324 -13026
- package/index.js.map +1 -1
- package/kos-models.json +52 -1
- package/models/models/browser-router/types/index.d.ts +1 -0
- package/models/models/canvas-dispatcher/types/index.d.ts +5 -0
- package/models/models/canvas-renderer/types/index.d.ts +5 -0
- package/models/models/config-bean/types/index.d.ts +1 -0
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
- package/models/models/config-bean-prop/types/index.d.ts +7 -1
- package/models/models/device/types/index.d.ts +1 -0
- package/models/models/future/future-types.d.ts +14 -0
- package/models/models/future/future-types.d.ts.map +1 -1
- package/models/models/gpio-chip/gpio-chip-container-model.d.ts +25 -0
- package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +1 -0
- package/models/models/gpio-chip/gpio-chip-model.d.ts +30 -0
- package/models/models/gpio-chip/gpio-chip-model.d.ts.map +1 -0
- package/models/models/gpio-chip/index.d.ts +7 -0
- package/models/models/gpio-chip/index.d.ts.map +1 -0
- package/models/models/gpio-chip/services/gpio-chip-services.d.ts +86 -0
- package/models/models/gpio-chip/services/gpio-chip-services.d.ts.map +1 -0
- package/models/models/gpio-chip/services/index.d.ts +2 -0
- package/models/models/gpio-chip/services/index.d.ts.map +1 -0
- package/models/models/gpio-chip/types/index.d.ts +24 -0
- package/models/models/gpio-pin/gpio-pin-container-model.d.ts +23 -0
- package/models/models/gpio-pin/gpio-pin-container-model.d.ts.map +1 -0
- package/models/models/gpio-pin/gpio-pin-model.d.ts +26 -0
- package/models/models/gpio-pin/gpio-pin-model.d.ts.map +1 -0
- package/models/models/gpio-pin/index.d.ts +6 -0
- package/models/models/gpio-pin/index.d.ts.map +1 -0
- package/models/models/gpio-pin/types/index.d.ts +23 -0
- package/models/models/key-value/types/index.d.ts +1 -0
- package/models/models/kos-expression-evaluator/types/index.d.ts +5 -0
- package/models/models/kos-log-manager/types/index.d.ts +4 -0
- package/models/models/kos-time/types/index.d.ts +3 -0
- package/models/models/log-block/types/index.d.ts +4 -0
- package/models/models/log-stream/types/index.d.ts +3 -1
- package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
- package/models/models/network-interface/types/index.d.ts +1 -0
- package/models/models/ota/types/index.d.ts +31 -0
- package/models/models/region-info/types/index.d.ts +49 -0
- package/models/models/region-info/types/index.d.ts.map +1 -1
- package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
- package/models/models/software-info/types/index.d.ts +4 -1
- package/models/models/state-bean/types/index.d.ts +3 -0
- package/models/models/state-prop/types/index.d.ts +2 -0
- package/models/models/storage-device/types/index.d.ts +2 -0
- package/models/models/translation/translation-model.d.ts +1 -0
- package/models/models/translation/translation-model.d.ts.map +1 -1
- package/models/models/translation/types/index.d.ts +3 -0
- package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
- package/models/models/trouble/types/index.d.ts +8 -0
- package/models/models/trouble-container/trouble-container-model.d.ts +1 -0
- package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
- package/models/models/trouble-container/types/index.d.ts +5 -0
- package/models/models/usb-update/types/index.d.ts +10 -0
- package/models/utils/client.d.ts +4 -0
- package/models/utils/client.d.ts.map +1 -1
- package/models/utils/get-kos-connection-id.d.ts +2 -0
- package/models/utils/get-kos-connection-id.d.ts.map +1 -0
- package/models/utils/index.d.ts +1 -0
- package/models/utils/index.d.ts.map +1 -1
- package/models/utils/openapi-index.d.ts +2 -2
- package/models/utils/service-accessor.d.ts +4 -0
- package/models/utils/service-accessor.d.ts.map +1 -1
- package/models/utils/service.d.ts +4 -0
- package/models/utils/service.d.ts.map +1 -1
- package/models/utils/services/kos/1.6.5/service.d.ts +4 -0
- package/models/utils/services/kos/1.6.5/service.d.ts.map +1 -1
- package/models/utils/services/kos/1.8.1/service.d.ts +4 -0
- package/models/utils/services/kos/1.8.1/service.d.ts.map +1 -1
- package/models/utils/services/kos/1.9.x/openapi.d.ts +4597 -0
- package/models/utils/services/kos/1.9.x/service.d.ts +124 -0
- package/models/utils/services/kos/1.9.x/service.d.ts.map +1 -0
- package/models/utils/services/kos/daily/service.d.ts +4 -0
- package/models/utils/services/kos/daily/service.d.ts.map +1 -1
- package/models/utils/services/vfs/1.6.5/service.d.ts +4 -0
- package/models/utils/services/vfs/1.6.5/service.d.ts.map +1 -1
- package/models/utils/services/vfs/1.8.1/service.d.ts +4 -0
- package/models/utils/services/vfs/1.8.1/service.d.ts.map +1 -1
- package/models/utils/services/vfs/1.9.x/openapi.d.ts +51 -0
- package/models/utils/services/vfs/1.9.x/service.d.ts +124 -0
- package/models/utils/services/vfs/1.9.x/service.d.ts.map +1 -0
- package/models/utils/services/vfs/daily/service.d.ts +4 -0
- package/models/utils/services/vfs/daily/service.d.ts.map +1 -1
- package/models/utils/services-index.d.ts +2 -0
- package/models/utils/services-index.d.ts.map +1 -1
- package/package.json +15 -2
- package/ui/contexts/kos-core-context.d.ts.map +1 -1
- package/ui/contexts/translation-container/kos-translations-provider.d.ts +5 -0
- package/ui/contexts/translation-container/kos-translations-provider.d.ts.map +1 -1
- package/ui/hooks/device/use-device.d.ts +6 -0
- package/ui/hooks/device/use-device.d.ts.map +1 -1
- package/ui/hooks/kos-time/use-kos-time.d.ts +6 -0
- package/ui/hooks/kos-time/use-kos-time.d.ts.map +1 -1
- package/ui/hooks/network-interface-container/use-network-interface-container.d.ts +6 -0
- package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -1
- package/ui/hooks/ota/use-ota.d.ts +6 -0
- package/ui/hooks/ota/use-ota.d.ts.map +1 -1
- package/ui/hooks/software-info/use-software-info.d.ts +6 -0
- package/ui/hooks/software-info/use-software-info.d.ts.map +1 -1
- package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +6 -0
- package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -1
- package/ui/hooks/translation-container/trans.d.ts +6 -0
- package/ui/hooks/translation-container/trans.d.ts.map +1 -1
- package/ui/hooks/translation-container/use-translation-container.d.ts +6 -0
- package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -1
- package/ui/hooks/translation-container/use-translation.d.ts +7 -0
- package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
- package/ui/hooks/translation-container/with-translation-container.d.ts +6 -0
- package/ui/hooks/translation-container/with-translation-container.d.ts.map +1 -1
- package/ui/hooks/usb-update-container/use-usb-update-container.d.ts +6 -0
- package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -1
- package/ui/hooks/use-config-bean.d.ts +6 -0
- package/ui/hooks/use-config-bean.d.ts.map +1 -1
- package/ui/hooks/use-config-property.d.ts +6 -0
- package/ui/hooks/use-config-property.d.ts.map +1 -1
- package/ui/hooks/use-kos-model.d.ts +6 -0
- package/ui/hooks/use-kos-model.d.ts.map +1 -1
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* .build();
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
|
+
* @kosService core.logging
|
|
19
20
|
* @group KOS Model
|
|
20
21
|
* @category Device Logging
|
|
21
22
|
*/
|
|
@@ -42,6 +43,7 @@ export interface KosLogManagerOptions {}
|
|
|
42
43
|
* const troubleshootingLevel: LogLevelNames = 'trace';
|
|
43
44
|
* ```
|
|
44
45
|
*
|
|
46
|
+
* @kosService core.logging
|
|
45
47
|
* @group KOS Model
|
|
46
48
|
* @category Device Logging
|
|
47
49
|
*/
|
|
@@ -99,6 +101,7 @@ export type LogLevelNames = "trace" | "debug" | "info" | "warn" | "error";
|
|
|
99
101
|
* // ... and all other loggers starting with 'kos-ui-sdk'
|
|
100
102
|
* ```
|
|
101
103
|
*
|
|
104
|
+
* @kosService core.logging
|
|
102
105
|
* @group KOS Model
|
|
103
106
|
* @category Device Logging
|
|
104
107
|
*/
|
|
@@ -179,6 +182,7 @@ export interface LogOverride {
|
|
|
179
182
|
* );
|
|
180
183
|
* ```
|
|
181
184
|
*
|
|
185
|
+
* @kosService core.logging
|
|
182
186
|
* @group KOS Model
|
|
183
187
|
* @category Device Logging
|
|
184
188
|
*/
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* await timeModel.updateSystemTime(morningTime);
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
|
+
* @kosService core.kos-time
|
|
24
25
|
* @category System Integration
|
|
25
26
|
* @category Time Management
|
|
26
27
|
*/
|
|
@@ -56,6 +57,7 @@ export interface TimeBean {
|
|
|
56
57
|
* await timeModel.updateSystemDate(newYear);
|
|
57
58
|
* ```
|
|
58
59
|
*
|
|
60
|
+
* @kosService core.kos-time
|
|
59
61
|
* @category System Integration
|
|
60
62
|
* @category Time Management
|
|
61
63
|
*/
|
|
@@ -86,6 +88,7 @@ export interface DateBean {
|
|
|
86
88
|
* .build();
|
|
87
89
|
* ```
|
|
88
90
|
*
|
|
91
|
+
* @kosService core.kos-time
|
|
89
92
|
* @category Model Configuration
|
|
90
93
|
* @category System Integration
|
|
91
94
|
*/
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
* .build();
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
+
* @kosService core.logging
|
|
28
29
|
* @group KOS Model
|
|
29
30
|
* @category Device Logging
|
|
30
31
|
*/
|
|
@@ -101,6 +102,7 @@ export interface LogBlockOptions {
|
|
|
101
102
|
* configuration options such as block sorting preferences, memory limits,
|
|
102
103
|
* or automatic cleanup policies.
|
|
103
104
|
*
|
|
105
|
+
* @kosService core.logging
|
|
104
106
|
* @group KOS Model
|
|
105
107
|
* @category Device Logging
|
|
106
108
|
*/
|
|
@@ -114,6 +116,7 @@ export interface LogBlockContainerOptions {}
|
|
|
114
116
|
* as received from the KOS system. Similar to LogBlockOptions but uses
|
|
115
117
|
* timestamp numbers instead of Date objects for serialization efficiency.
|
|
116
118
|
*
|
|
119
|
+
* @kosService core.logging
|
|
117
120
|
* @group KOS Model
|
|
118
121
|
* @category Device Logging
|
|
119
122
|
*/
|
|
@@ -142,6 +145,7 @@ export interface LogBlockType {
|
|
|
142
145
|
* Used in topic handlers for log line events, containing both the actual
|
|
143
146
|
* log lines and the block metadata. Extends LogBlockType with the lines array.
|
|
144
147
|
*
|
|
148
|
+
* @kosService core.logging
|
|
145
149
|
* @group KOS Model
|
|
146
150
|
* @category Device Logging
|
|
147
151
|
*/
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
* .build();
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
|
+
* @kosService core.logging
|
|
39
40
|
* @group KOS Model
|
|
40
41
|
* @category Device Logging
|
|
41
42
|
*/
|
|
@@ -79,8 +80,9 @@ export interface LogStreamOptions {
|
|
|
79
80
|
* .build();
|
|
80
81
|
* ```
|
|
81
82
|
*
|
|
83
|
+
* @kosService core.logging
|
|
82
84
|
* @category Model Configuration
|
|
83
|
-
* @category Data Persistence
|
|
85
|
+
* @category Data Persistence
|
|
84
86
|
*/
|
|
85
87
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
86
88
|
export interface LogStreamContainerOptions {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-interface-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/network-interface/services/network-interface-services.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"network-interface-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/network-interface/services/network-interface-services.ts"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAChC,UAAU,GACV,aAAa,GACb,UAAU,GACV,MAAM,CAAC;AAEX;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,oEAAoE;IACpE,OAAO,EAAE,OAAO,CAAC;IACjB,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,OAAO,EAAE,MAAM,C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SAAS,CAAC,CAAC;AACjE;;;;GAIG;AAEH,eAAO,MAAM,oBAAoB,QACrB,QAAQ,wBAAwB,CAiBzC,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Status values for OTA artifact installation state.
|
|
3
|
+
*
|
|
4
|
+
* @kosService core.ota
|
|
5
|
+
*/
|
|
1
6
|
export type OTAStatus =
|
|
2
7
|
| "INSTALLED" // Green Check
|
|
3
8
|
| "INVALID"
|
|
4
9
|
| "MISSING"
|
|
5
10
|
| "STAGED"; // Green Half Check
|
|
6
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Information about an OTA artifact.
|
|
14
|
+
*
|
|
15
|
+
* @kosService core.ota
|
|
16
|
+
*/
|
|
7
17
|
export interface OTAArtifactInfo {
|
|
8
18
|
hash: string;
|
|
9
19
|
identifier: string;
|
|
@@ -13,6 +23,11 @@ export interface OTAArtifactInfo {
|
|
|
13
23
|
version?: string;
|
|
14
24
|
}
|
|
15
25
|
|
|
26
|
+
/**
|
|
27
|
+
* OTA download request information.
|
|
28
|
+
*
|
|
29
|
+
* @kosService core.ota
|
|
30
|
+
*/
|
|
16
31
|
export interface OTARequest {
|
|
17
32
|
currentSize: number;
|
|
18
33
|
downloaderActive: boolean;
|
|
@@ -24,6 +39,11 @@ export interface OTARequest {
|
|
|
24
39
|
lastUpdateTime: number;
|
|
25
40
|
}
|
|
26
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Response from the OTA artifact service.
|
|
44
|
+
*
|
|
45
|
+
* @kosService core.ota
|
|
46
|
+
*/
|
|
27
47
|
export interface OTAArtifactResponse {
|
|
28
48
|
artifactInfo?: OTAArtifactInfo;
|
|
29
49
|
done: boolean;
|
|
@@ -32,6 +52,11 @@ export interface OTAArtifactResponse {
|
|
|
32
52
|
status: OTAStatus;
|
|
33
53
|
}
|
|
34
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Status values for an individual updater operation.
|
|
57
|
+
*
|
|
58
|
+
* @kosService core.ota
|
|
59
|
+
*/
|
|
35
60
|
export type UpdaterStatus =
|
|
36
61
|
| "downloading"
|
|
37
62
|
| "error"
|
|
@@ -39,6 +64,11 @@ export type UpdaterStatus =
|
|
|
39
64
|
| "pending"
|
|
40
65
|
| "ready";
|
|
41
66
|
|
|
67
|
+
/**
|
|
68
|
+
* Individual update item tracking information.
|
|
69
|
+
*
|
|
70
|
+
* @kosService core.ota
|
|
71
|
+
*/
|
|
42
72
|
export interface UpdaterItem {
|
|
43
73
|
manifest?: boolean;
|
|
44
74
|
error?: string;
|
|
@@ -194,6 +224,7 @@ export interface UpdaterItem {
|
|
|
194
224
|
* };
|
|
195
225
|
* ```
|
|
196
226
|
*
|
|
227
|
+
* @kosService core.ota
|
|
197
228
|
* @category Model Configuration
|
|
198
229
|
* @category System Integration
|
|
199
230
|
*/
|
|
@@ -27,8 +27,10 @@ import { IKosDataModel } from '../../../../core';
|
|
|
27
27
|
* console.log(result); // '8.047'
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
|
+
* @kosService core.region-info
|
|
30
31
|
* @group KOS Model
|
|
31
32
|
* @category Region Info
|
|
33
|
+
* @kosApiLevel 2
|
|
32
34
|
*/
|
|
33
35
|
export interface UnitSource {
|
|
34
36
|
/** Measurement system identifier (e.g., 'metric', 'imperial', 'us') */
|
|
@@ -38,10 +40,35 @@ export interface UnitSource {
|
|
|
38
40
|
/** Specific unit name (e.g., 'meter', 'kilogram', 'fahrenheit') */
|
|
39
41
|
unit?: string;
|
|
40
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* Key type for measure maps — a string or the literal 'default'.
|
|
45
|
+
*
|
|
46
|
+
* @kosService core.region-info
|
|
47
|
+
*/
|
|
41
48
|
export type MeasureMapKeys = string | "default";
|
|
49
|
+
/**
|
|
50
|
+
* Record mapping MeasureMapKeys to Unit, defining units for each measurement system.
|
|
51
|
+
*
|
|
52
|
+
* @kosService core.region-info
|
|
53
|
+
*/
|
|
42
54
|
export type SystemMeasureMap = Record<MeasureMapKeys, Unit>;
|
|
55
|
+
/**
|
|
56
|
+
* Record mapping measurement types to their respective SystemMeasureMap.
|
|
57
|
+
*
|
|
58
|
+
* @kosService core.region-info
|
|
59
|
+
*/
|
|
43
60
|
export type MeasureMap = Record<string, SystemMeasureMap>;
|
|
61
|
+
/**
|
|
62
|
+
* Record mapping strings, typically used for default settings.
|
|
63
|
+
*
|
|
64
|
+
* @kosService core.region-info
|
|
65
|
+
*/
|
|
44
66
|
export type SystemDefaultMap = Record<string, string>;
|
|
67
|
+
/**
|
|
68
|
+
* Record mapping unit systems to their default settings.
|
|
69
|
+
*
|
|
70
|
+
* @kosService core.region-info
|
|
71
|
+
*/
|
|
45
72
|
export type DefaultMeasureMap = Record<string, SystemDefaultMap>;
|
|
46
73
|
/**
|
|
47
74
|
* Configuration options for creating RegionInfoModel instances.
|
|
@@ -58,6 +85,7 @@ export type DefaultMeasureMap = Record<string, SystemDefaultMap>;
|
|
|
58
85
|
* const regionModel = RegionInfo.instance().options(options).build();
|
|
59
86
|
* ```
|
|
60
87
|
*
|
|
88
|
+
* @kosService core.region-info
|
|
61
89
|
* @group KOS Model
|
|
62
90
|
* @category Region Info
|
|
63
91
|
*/
|
|
@@ -83,8 +111,10 @@ interface FormatOptions extends BaseOptions {
|
|
|
83
111
|
* ];
|
|
84
112
|
* ```
|
|
85
113
|
*
|
|
114
|
+
* @kosService core.region-info
|
|
86
115
|
* @group KOS Model
|
|
87
116
|
* @category Region Info
|
|
117
|
+
* @kosApiLevel 2
|
|
88
118
|
*/
|
|
89
119
|
export interface TimeFormatOptions extends FormatOptions {
|
|
90
120
|
/** True if using 12-hour format with AM/PM, false for 24-hour format */
|
|
@@ -105,8 +135,10 @@ export interface TimeFormatOptions extends FormatOptions {
|
|
|
105
135
|
* ];
|
|
106
136
|
* ```
|
|
107
137
|
*
|
|
138
|
+
* @kosService core.region-info
|
|
108
139
|
* @group KOS Model
|
|
109
140
|
* @category Region Info
|
|
141
|
+
* @kosApiLevel 2
|
|
110
142
|
*/
|
|
111
143
|
export interface DateFormatOptions extends FormatOptions {
|
|
112
144
|
/** Order of date components: 'MDY', 'DMY', 'YMD', etc. */
|
|
@@ -127,8 +159,10 @@ export interface DateFormatOptions extends FormatOptions {
|
|
|
127
159
|
* ];
|
|
128
160
|
* ```
|
|
129
161
|
*
|
|
162
|
+
* @kosService core.region-info
|
|
130
163
|
* @group KOS Model
|
|
131
164
|
* @category Region Info
|
|
165
|
+
* @kosApiLevel 2
|
|
132
166
|
*/
|
|
133
167
|
export interface UnitSystemOptions extends BaseOptions {
|
|
134
168
|
/** Display name of the unit system (e.g., 'Metric System', 'Imperial System') */
|
|
@@ -168,12 +202,14 @@ export interface UnitSystemOptions extends BaseOptions {
|
|
|
168
202
|
* console.log(regionModel.selectedCountry); // 'us'
|
|
169
203
|
* ```
|
|
170
204
|
*
|
|
205
|
+
* @kosService core.region-info
|
|
171
206
|
* @group KOS Model
|
|
172
207
|
* @category Region Info
|
|
173
208
|
* @useDeclaredType
|
|
174
209
|
*
|
|
175
210
|
* @see {@link UnitSource} - Unit conversion source specification
|
|
176
211
|
* @see {@link RegionInfoOptions} - Configuration options for RegionInfoModel instances
|
|
212
|
+
* @kosApiLevel 2
|
|
177
213
|
*/
|
|
178
214
|
export interface RegionInfoModel<AdditionalData extends BaseRegionResponse = BaseRegionResponse> extends RegionInfoOptions, IKosDataModel {
|
|
179
215
|
/** Unique identifier for the region model instance. */
|
|
@@ -192,6 +228,9 @@ export interface RegionInfoModel<AdditionalData extends BaseRegionResponse = Bas
|
|
|
192
228
|
readonly selectedCountry: string;
|
|
193
229
|
/** The currently selected time zone. */
|
|
194
230
|
readonly selectedTimeZone: string;
|
|
231
|
+
/**
|
|
232
|
+
* @kosApiLevel 22
|
|
233
|
+
*/
|
|
195
234
|
readonly serviceBasePath: string;
|
|
196
235
|
/**
|
|
197
236
|
* The detailed information of the selected region, extended with additional data.
|
|
@@ -277,6 +316,11 @@ export interface RegionInfoModel<AdditionalData extends BaseRegionResponse = Bas
|
|
|
277
316
|
*/
|
|
278
317
|
getDefaultUnitDecimalPlaces(measure: string, unitSystem: string, unit?: string): number;
|
|
279
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* Enum for keys used in UnitTuple.
|
|
321
|
+
*
|
|
322
|
+
* @kosService core.region-info
|
|
323
|
+
*/
|
|
280
324
|
export declare enum UnitTupleKeys {
|
|
281
325
|
family = 0,
|
|
282
326
|
scale = 1,
|
|
@@ -285,6 +329,11 @@ export declare enum UnitTupleKeys {
|
|
|
285
329
|
alias = 4,
|
|
286
330
|
system = 5
|
|
287
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* Tuple type for unit properties: family, scale, offset, decimals, alias.
|
|
334
|
+
*
|
|
335
|
+
* @kosService core.region-info
|
|
336
|
+
*/
|
|
288
337
|
export type UnitTuple = [
|
|
289
338
|
family: string,
|
|
290
339
|
scale: number,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/region-info/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/region-info/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,UAAU;IACzB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,M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AM,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,GAAG,MAAM,CAAC;IAEjE;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC;;;;;;OAMG;IACH,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAEtE;;;;;;;OAOG;IACH,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAEzC;;;OAGG;IACH,aAAa,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAEzC;;;;;;;OAOG;IACH,2BAA2B,CACzB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,IAAI,CAAC,EAAE,MAAM,GACZ,MAAM,CAAC;CACX;AAED;;;;GAIG;AACH,oBAAY,aAAa;IACvB,MAAM,IAAA;IACN,KAAK,IAAA;IACL,MAAM,IAAA;IACN,QAAQ,IAAA;IACR,KAAK,IAAA;IACL,MAAM,IAAA;CACP;AAED;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;CACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"software-info-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/software-info/services/software-info-services.ts"],"names":[],"mappings":"AAKA,OAAO,EAAO,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"software-info-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/software-info/services/software-info-services.ts"],"names":[],"mappings":"AAKA,OAAO,EAAO,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAU5D,MAAM,WAAW,KAAK;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,8BAA8B,EAAE,CAAC;CAC7C;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CACvD,wBAAwB,EACxB,KAAK,CACN,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,YAClB,WAAW,KACnB,QAAQ,0BAA0B,CAkBpC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,0BAA0B;;;;GACK,CAAC"}
|
|
@@ -14,6 +14,7 @@ import { PublicModelInterface } from '../../../../core';
|
|
|
14
14
|
* const softwareInfo = SoftwareInfo.instance('system-info').build();
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
|
+
* @kosService core.software-info
|
|
17
18
|
* @category Model Configuration
|
|
18
19
|
* @category System Integration
|
|
19
20
|
*/
|
|
@@ -24,6 +25,7 @@ export interface SoftwareInfoOptions {
|
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* @interface
|
|
28
|
+
* @kosService core.software-info
|
|
27
29
|
* @useDeclaredType
|
|
28
30
|
*/
|
|
29
31
|
export type SoftwareInfoModel = PublicModelInterface<SoftwareInfoModelImpl>;
|
|
@@ -34,6 +36,7 @@ export type SoftwareInfoModel = PublicModelInterface<SoftwareInfoModelImpl>;
|
|
|
34
36
|
* This interface describes a software artifact (component, package, or module)
|
|
35
37
|
* installed on a KOS device node, including its identification, grouping, and version.
|
|
36
38
|
*
|
|
39
|
+
* @kosService core.software-info
|
|
37
40
|
* @group KOS Model
|
|
38
41
|
* @category Types
|
|
39
42
|
*/
|
|
@@ -53,6 +56,7 @@ export interface ArtifactsType {
|
|
|
53
56
|
* including the node identification, KOS framework version, and all installed artifacts
|
|
54
57
|
* organized by functional groups.
|
|
55
58
|
*
|
|
59
|
+
* @kosService core.software-info
|
|
56
60
|
* @group KOS Model
|
|
57
61
|
* @category Types
|
|
58
62
|
*/
|
|
@@ -64,4 +68,3 @@ export interface NodeInfoType {
|
|
|
64
68
|
/** Artifacts organized by functional groups */
|
|
65
69
|
group: Record<string, ArtifactsType[]>;
|
|
66
70
|
}
|
|
67
|
-
|
|
@@ -48,6 +48,7 @@ import { StatePropertyTypes } from '../../types';
|
|
|
48
48
|
* .build();
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
|
+
* @kosService core.state-bean
|
|
51
52
|
* @category Model Configuration
|
|
52
53
|
* @category State Management
|
|
53
54
|
*/
|
|
@@ -100,6 +101,7 @@ type StateKeys<T extends Record<string, StatePropertyTypes>> = keyof T;
|
|
|
100
101
|
*
|
|
101
102
|
* @template T - The state property type mapping
|
|
102
103
|
*
|
|
104
|
+
* @kosService core.state-bean
|
|
103
105
|
* @group KOS Model
|
|
104
106
|
* @category Types
|
|
105
107
|
*/
|
|
@@ -112,6 +114,7 @@ export type StatePropsMap<T> = Map<StateKeys<T>, T[keyof T]>;
|
|
|
112
114
|
* access to device state properties through an observable Map structure. The interface
|
|
113
115
|
* supports real-time synchronization with device state via WebSocket topics.
|
|
114
116
|
*
|
|
117
|
+
* @kosService core.state-bean
|
|
115
118
|
* @group KOS Model
|
|
116
119
|
* @category Model Interface
|
|
117
120
|
*/
|
|
@@ -18,6 +18,7 @@ import { StatePropertyTypes } from '../../types';
|
|
|
18
18
|
* .build();
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
|
+
* @kosService core.state-prop
|
|
21
22
|
* @category Model Configuration
|
|
22
23
|
* @category State Management
|
|
23
24
|
*/
|
|
@@ -51,6 +52,7 @@ export interface StatePropOptions {
|
|
|
51
52
|
* access to individual properties within a StateBean through automatic dependency
|
|
52
53
|
* management and reactive value updates.
|
|
53
54
|
*
|
|
55
|
+
* @kosService core.state-prop
|
|
54
56
|
* @group KOS Model
|
|
55
57
|
* @category Model Interface
|
|
56
58
|
*/
|
|
@@ -27,6 +27,7 @@ import { KosParentAware } from '../../../../core';
|
|
|
27
27
|
* .build();
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
|
+
* @kosService core.storage
|
|
30
31
|
* @category Model Configuration
|
|
31
32
|
* @category Device Management
|
|
32
33
|
*/
|
|
@@ -126,6 +127,7 @@ export interface StorageDeviceOptions extends KosParentAware {
|
|
|
126
127
|
* updates via WebSocket topics. Currently uses an empty configuration object as
|
|
127
128
|
* the container's behavior is primarily driven by discovered storage devices.
|
|
128
129
|
*
|
|
130
|
+
* @kosService core.storage
|
|
129
131
|
* @category Model Configuration
|
|
130
132
|
* @category Device Management
|
|
131
133
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/translation/translation-model.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,UAAU,EAEV,kBAAkB,EACnB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"translation-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/translation/translation-model.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,UAAU,EAEV,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAQvB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EACL,gBA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Aware } from '../../../../core';
|
|
|
79
79
|
* };
|
|
80
80
|
* ```
|
|
81
81
|
*
|
|
82
|
+
* @kosService core.translation
|
|
82
83
|
* @group KOS Model
|
|
83
84
|
* @category i18n
|
|
84
85
|
*/
|
|
@@ -249,6 +250,7 @@ export interface TranslationOptions extends KosParentAware {
|
|
|
249
250
|
* };
|
|
250
251
|
* ```
|
|
251
252
|
*
|
|
253
|
+
* @kosService core.translation
|
|
252
254
|
* @group KOS Model
|
|
253
255
|
* @category i18n
|
|
254
256
|
*/
|
|
@@ -319,6 +321,7 @@ export interface TranslationContainerOptions {
|
|
|
319
321
|
* Translation models support sophisticated variable substitution patterns
|
|
320
322
|
* for dynamic content in internationalized applications.
|
|
321
323
|
*
|
|
324
|
+
* @kosService core.translation
|
|
322
325
|
* @group KOS Model
|
|
323
326
|
* @category Internationalization
|
|
324
327
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trouble-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble/services/trouble-services.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,kBAAkB,EAInB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO1E,MAAM,WAAW,eAAe,CAAC,gBAAgB,GAAG,GAAG;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,EAAE,gBAAgB,CAAC;CACzB;
|
|
1
|
+
{"version":3,"file":"trouble-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble/services/trouble-services.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,kBAAkB,EAInB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO1E,MAAM,WAAW,eAAe,CAAC,gBAAgB,GAAG,GAAG;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAGD,eAAO,MAAM,kBAAkB,QAAO,MAAM,GAAG,SAY9C,CAAC;AAIF;;;;GAIG;AACH,eAAO,MAAM,WAAW,gBAAuB,MAAM,oEAapD,CAAC;AAEF,eAAO,MAAM,cAAc,cACd,MAAM,kCAEP,MAAM,4BAwBjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAClB,MAAM,EAAE,kCAEV,MAAM,4BAwBjB,CAAC"}
|
|
@@ -28,6 +28,7 @@ import { IKosDataModel } from '../../../core';
|
|
|
28
28
|
* };
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
31
|
+
* @kosService core.trouble-aware
|
|
31
32
|
* @group KOS Model
|
|
32
33
|
* @category Types
|
|
33
34
|
*/
|
|
@@ -99,6 +100,7 @@ export interface TroubleOptions<AdditionalData extends object = any> {
|
|
|
99
100
|
* ```
|
|
100
101
|
*
|
|
101
102
|
* @useDeclaredType
|
|
103
|
+
* @kosService core.trouble-aware
|
|
102
104
|
* @group KOS Model
|
|
103
105
|
* @category Trouble Management
|
|
104
106
|
*
|
|
@@ -153,6 +155,7 @@ export interface TroubleModel<AdditionalData extends object = any>
|
|
|
153
155
|
/**
|
|
154
156
|
* Domain-specific trouble data for handle-related issues.
|
|
155
157
|
*
|
|
158
|
+
* @kosService core.trouble-aware
|
|
156
159
|
* @group KOS Model
|
|
157
160
|
* @category Domain Data
|
|
158
161
|
*/
|
|
@@ -164,6 +167,7 @@ export interface HandleTroubleData {
|
|
|
164
167
|
/**
|
|
165
168
|
* Domain-specific trouble data for nozzle-related issues.
|
|
166
169
|
*
|
|
170
|
+
* @kosService core.trouble-aware
|
|
167
171
|
* @group KOS Model
|
|
168
172
|
* @category Domain Data
|
|
169
173
|
*/
|
|
@@ -175,6 +179,7 @@ export interface NozzleTroubleData {
|
|
|
175
179
|
/**
|
|
176
180
|
* Domain-specific trouble data for container-related issues.
|
|
177
181
|
*
|
|
182
|
+
* @kosService core.trouble-aware
|
|
178
183
|
* @group KOS Model
|
|
179
184
|
* @category Domain Data
|
|
180
185
|
*/
|
|
@@ -203,6 +208,7 @@ export interface ContainerTroubleData {
|
|
|
203
208
|
* }
|
|
204
209
|
* ```
|
|
205
210
|
*
|
|
211
|
+
* @kosService core.trouble-aware
|
|
206
212
|
* @group KOS Model
|
|
207
213
|
* @category Capabilities
|
|
208
214
|
*/
|
|
@@ -247,6 +253,7 @@ export interface ResolveAware {
|
|
|
247
253
|
* }
|
|
248
254
|
* ```
|
|
249
255
|
*
|
|
256
|
+
* @kosService core.trouble-aware
|
|
250
257
|
* @group KOS Model
|
|
251
258
|
* @category Capabilities
|
|
252
259
|
*/
|
|
@@ -343,6 +350,7 @@ export interface DeferAware {
|
|
|
343
350
|
* }
|
|
344
351
|
* ```
|
|
345
352
|
*
|
|
353
|
+
* @kosService core.trouble-aware
|
|
346
354
|
* @group KOS Model
|
|
347
355
|
* @category Interfaces
|
|
348
356
|
*
|
|
@@ -20,6 +20,7 @@ export declare class TroubleContainerModelImpl implements IKosIdentifiable, IKos
|
|
|
20
20
|
id: string;
|
|
21
21
|
servicePath: string;
|
|
22
22
|
constructor(modelId: string, options: TroubleContainerOptions);
|
|
23
|
+
reload(): Promise<void>;
|
|
23
24
|
load(): Promise<void>;
|
|
24
25
|
resolveAll(tracker?: string): Promise<import('../..').FutureResponse>;
|
|
25
26
|
handleTroubleRemoved(id: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trouble-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble-container/trouble-container-model.ts"],"names":[],"mappings":"AACA,OAAO,EASL,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AASvB,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"trouble-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble-container/trouble-container-model.ts"],"names":[],"mappings":"AACA,OAAO,EASL,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AASvB,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAiDvD,eAAO,MAAM,UAAU,4BAA4B,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAC/B,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAClD,MAAM,WAAW,yBACf,SAAQ,yBAAyB,CAAC,YAAY,EAAE,UAAU,CAAC,EACzD,kBAAkB,EAClB,cAAc;CAAG;AACrB,qBAAa,QAAQ;IACnB,MAAM,CAAC,QAAQ,CAAC,uBAAuB,aAAa;IACpD,MAAM,CAAC,QAAQ,CAAC,sBAAsB,YAAY;IAClD,MAAM,CAAC,QAAQ,CAAC,uBAAuB,aAAa;IACpD,MAAM,CAAC,QAAQ,CAAC,0BAA0B,gBAAgB;IAC1D,MAAM,CAAC,QAAQ,CAAC,aAAa,UAAU;IACvC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,UAAU;CAC5C;AACD,qBAea,yBACX,YAAW,gBAAgB,EAAE,aAAa;IAE1C,MAAM,CAAC,YAAY,EAAE,wBAAwB,CAC3C,yBAAyB,EACzB,uBAAuB,CACxB,CAAC;IACF,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,SAAuB;gBACtB,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB;IAMvD,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAkBvB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAyBrB,UAAU,CAAC,OAAO,CAAC,EAAE,MAAM;IAYjC,oBAAoB,CAAC,EAAE,EAAE,MAAM;IAW/B,kBAAkB,CAAC,OAAO,EAAE,eAAe;CAiB5C"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { UpdateNote } from '../services';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Configuration options for UsbUpdate model instances.
|
|
6
|
+
*
|
|
7
|
+
* @kosService core.usb-update
|
|
8
|
+
*/
|
|
4
9
|
export interface UsbUpdateOptions {
|
|
5
10
|
active: boolean;
|
|
6
11
|
blocked: boolean;
|
|
@@ -11,4 +16,9 @@ export interface UsbUpdateOptions {
|
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
// --------------- UsbUpdateContainer ---------------
|
|
19
|
+
/**
|
|
20
|
+
* Configuration options for UsbUpdateContainer model instances.
|
|
21
|
+
*
|
|
22
|
+
* @kosService core.usb-update
|
|
23
|
+
*/
|
|
14
24
|
export interface UsbUpdateContainerOptions {}
|