@kosdev-code/kos-ui-sdk 2.0.44 → 2.0.45

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.
Files changed (449) hide show
  1. package/common/events/eventBus.d.ts +30 -0
  2. package/common/events/eventBus.d.ts.map +1 -1
  3. package/common/events/eventBus.functional.d.ts +48 -0
  4. package/common/events/eventBus.functional.d.ts.map +1 -1
  5. package/common/events/eventBus.state.d.ts +33 -0
  6. package/common/events/eventBus.state.d.ts.map +1 -1
  7. package/core/constants/model-constants.d.ts +9 -0
  8. package/core/constants/model-constants.d.ts.map +1 -0
  9. package/core/core/companion-instantiator.d.ts +71 -0
  10. package/core/core/companion-instantiator.d.ts.map +1 -0
  11. package/core/core/decorators/fsm-injection-utils.d.ts +16 -0
  12. package/core/core/decorators/fsm-injection-utils.d.ts.map +1 -0
  13. package/core/core/decorators/index.d.ts +11 -0
  14. package/core/core/decorators/index.d.ts.map +1 -1
  15. package/core/core/decorators/kos-child.d.ts +2 -0
  16. package/core/core/decorators/kos-child.d.ts.map +1 -1
  17. package/core/core/decorators/kos-companion.d.ts +158 -8
  18. package/core/core/decorators/kos-companion.d.ts.map +1 -1
  19. package/core/core/decorators/kos-container-aware.d.ts +619 -0
  20. package/core/core/decorators/kos-container-aware.d.ts.map +1 -0
  21. package/core/core/decorators/kos-context.d.ts +6 -0
  22. package/core/core/decorators/kos-context.d.ts.map +1 -1
  23. package/core/core/decorators/kos-execution-context.d.ts +63 -0
  24. package/core/core/decorators/kos-execution-context.d.ts.map +1 -0
  25. package/core/core/decorators/kos-future-aware.d.ts +162 -0
  26. package/core/core/decorators/kos-future-aware.d.ts.map +1 -0
  27. package/core/core/decorators/kos-http-decorators.d.ts +15 -0
  28. package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
  29. package/core/core/decorators/kos-log.d.ts +4 -0
  30. package/core/core/decorators/kos-log.d.ts.map +1 -1
  31. package/core/core/decorators/kos-logger-aware.d.ts +105 -0
  32. package/core/core/decorators/kos-logger-aware.d.ts.map +1 -0
  33. package/core/core/decorators/kos-model-effect.d.ts +9 -0
  34. package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
  35. package/core/core/decorators/kos-multiple-future-aware.d.ts +217 -0
  36. package/core/core/decorators/kos-multiple-future-aware.d.ts.map +1 -0
  37. package/core/core/decorators/kos-parent.d.ts +4 -0
  38. package/core/core/decorators/kos-parent.d.ts.map +1 -1
  39. package/core/core/decorators/kos-reference.d.ts +9 -0
  40. package/core/core/decorators/kos-reference.d.ts.map +1 -1
  41. package/core/core/decorators/kos-service-request-helpers.d.ts +60 -0
  42. package/core/core/decorators/kos-service-request-helpers.d.ts.map +1 -0
  43. package/core/core/decorators/kos-service-request.d.ts +498 -0
  44. package/core/core/decorators/kos-service-request.d.ts.map +1 -0
  45. package/core/core/decorators/kos-state-machine.d.ts +534 -0
  46. package/core/core/decorators/kos-state-machine.d.ts.map +1 -0
  47. package/core/core/decorators/kos-topic-handler-flow-control.d.ts +17 -1
  48. package/core/core/decorators/kos-topic-handler-flow-control.d.ts.map +1 -1
  49. package/core/core/decorators/kos-trouble-aware.d.ts +77 -0
  50. package/core/core/decorators/kos-trouble-aware.d.ts.map +1 -0
  51. package/core/core/decorators/kos-view-model.d.ts +176 -0
  52. package/core/core/decorators/kos-view-model.d.ts.map +1 -0
  53. package/core/core/decorators/kosDependency.d.ts +4 -1
  54. package/core/core/decorators/kosDependency.d.ts.map +1 -1
  55. package/core/core/decorators/kosModel.d.ts +17 -2
  56. package/core/core/decorators/kosModel.d.ts.map +1 -1
  57. package/core/core/decorators/kosSubscribe.d.ts +9 -0
  58. package/core/core/decorators/kosSubscribe.d.ts.map +1 -1
  59. package/core/core/decorators/kosTopicHandler.d.ts +87 -5
  60. package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
  61. package/core/core/decorators/propKeys.d.ts +14 -0
  62. package/core/core/decorators/propKeys.d.ts.map +1 -1
  63. package/core/core/decorators/resolve-parameters.d.ts.map +1 -1
  64. package/core/core/extension/extension-manager.d.ts +64 -4
  65. package/core/core/extension/extension-manager.d.ts.map +1 -1
  66. package/core/core/extension/initialize-extension.d.ts +24 -0
  67. package/core/core/extension/initialize-extension.d.ts.map +1 -1
  68. package/core/core/extension/plugin-extension-manager.d.ts +11 -0
  69. package/core/core/extension/plugin-extension-manager.d.ts.map +1 -1
  70. package/core/core/kos-container-model.d.ts +188 -0
  71. package/core/core/kos-container-model.d.ts.map +1 -1
  72. package/core/core/kos-data-container.d.ts +93 -1
  73. package/core/core/kos-data-container.d.ts.map +1 -1
  74. package/core/core/kos-registration.d.ts.map +1 -1
  75. package/core/core/kos-singleton-registration.d.ts.map +1 -1
  76. package/core/core/kosCore.d.ts.map +1 -1
  77. package/core/core/kosModel.d.ts +55 -2
  78. package/core/core/kosModel.d.ts.map +1 -1
  79. package/core/core/kosModelManager.d.ts +11 -1
  80. package/core/core/kosModelManager.d.ts.map +1 -1
  81. package/core/core/log/log.d.ts.map +1 -1
  82. package/core/core/model/apply-kos-dev-tool-support.d.ts.map +1 -1
  83. package/core/core/model/kos-fsm-manager.d.ts +1 -4
  84. package/core/core/model/kos-fsm-manager.d.ts.map +1 -1
  85. package/core/core/model/kos-model-component-factory.d.ts +4 -0
  86. package/core/core/model/kos-model-component-factory.d.ts.map +1 -1
  87. package/core/core/model/kos-offline-queue.d.ts +78 -1
  88. package/core/core/model/kos-offline-queue.d.ts.map +1 -1
  89. package/core/core/model/kos-online-lifecycle-manager.d.ts.map +1 -1
  90. package/core/core/model/kos-service-request-manager.d.ts +102 -0
  91. package/core/core/model/kos-service-request-manager.d.ts.map +1 -0
  92. package/core/core/model/kos-subscription-manager.d.ts +20 -0
  93. package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
  94. package/core/core/model/model-introspection-utils.d.ts +1 -0
  95. package/core/core/model/model-introspection-utils.d.ts.map +1 -1
  96. package/core/core/model/service-response-store.d.ts +164 -0
  97. package/core/core/model/service-response-store.d.ts.map +1 -0
  98. package/core/core/model-instantiator.d.ts +19 -0
  99. package/core/core/model-instantiator.d.ts.map +1 -1
  100. package/core/core/registration/index.d.ts +1 -0
  101. package/core/core/registration/index.d.ts.map +1 -1
  102. package/core/core/services/browser-router.d.ts.map +1 -1
  103. package/core/core/transport/webSocketTransport.d.ts +2 -1
  104. package/core/core/transport/webSocketTransport.d.ts.map +1 -1
  105. package/core/core/types/registration.d.ts +7 -0
  106. package/core/core/types/registration.d.ts.map +1 -1
  107. package/core/index.d.ts +2 -1
  108. package/core/index.d.ts.map +1 -1
  109. package/core/types/index.d.ts +1 -0
  110. package/core/types/index.d.ts.map +1 -1
  111. package/core/types/kos-dependency.d.ts +48 -1
  112. package/core/types/kos-dependency.d.ts.map +1 -1
  113. package/core/types/service-response-store.d.ts +162 -0
  114. package/core/types/service-response-store.d.ts.map +1 -0
  115. package/core/types/utils/kos-fetch.d.ts +121 -0
  116. package/core/types/utils/kos-fetch.d.ts.map +1 -1
  117. package/core/util/ancestor-path-visitor.d.ts +60 -0
  118. package/core/util/ancestor-path-visitor.d.ts.map +1 -0
  119. package/core/util/api-request-id.d.ts +4 -0
  120. package/core/util/api-request-id.d.ts.map +1 -1
  121. package/core/util/apply-mixins.d.ts +4 -0
  122. package/core/util/apply-mixins.d.ts.map +1 -1
  123. package/core/util/array-utils.d.ts +4 -0
  124. package/core/util/array-utils.d.ts.map +1 -1
  125. package/core/util/container-utils.d.ts +264 -11
  126. package/core/util/container-utils.d.ts.map +1 -1
  127. package/core/util/date-utils.d.ts +29 -0
  128. package/core/util/date-utils.d.ts.map +1 -1
  129. package/core/util/debounce.d.ts +3 -0
  130. package/core/util/debounce.d.ts.map +1 -1
  131. package/core/util/error-logger.d.ts +16 -0
  132. package/core/util/error-logger.d.ts.map +1 -0
  133. package/core/util/feature-flags.d.ts +19 -0
  134. package/core/util/feature-flags.d.ts.map +1 -1
  135. package/core/util/get-query-params.d.ts +4 -0
  136. package/core/util/get-query-params.d.ts.map +1 -1
  137. package/core/util/hsl-to-hex.d.ts +16 -0
  138. package/core/util/hsl-to-hex.d.ts.map +1 -1
  139. package/core/util/index.d.ts +3 -0
  140. package/core/util/index.d.ts.map +1 -1
  141. package/core/util/kos-config-init.d.ts +37 -0
  142. package/core/util/kos-config-init.d.ts.map +1 -1
  143. package/core/util/kos-data-mapper-utils.d.ts +9 -0
  144. package/core/util/kos-data-mapper-utils.d.ts.map +1 -1
  145. package/core/util/kos-fetch.d.ts +12 -0
  146. package/core/util/kos-fetch.d.ts.map +1 -1
  147. package/core/util/kos-message-utils.d.ts +88 -0
  148. package/core/util/kos-message-utils.d.ts.map +1 -1
  149. package/core/util/kos-model-utils.d.ts +46 -0
  150. package/core/util/kos-model-utils.d.ts.map +1 -1
  151. package/core/util/kos-model-visitor.d.ts +2 -0
  152. package/core/util/kos-model-visitor.d.ts.map +1 -1
  153. package/core/util/kos-service-request.d.ts +43 -3
  154. package/core/util/kos-service-request.d.ts.map +1 -1
  155. package/core/util/log-utils.d.ts +12 -0
  156. package/core/util/log-utils.d.ts.map +1 -1
  157. package/core/util/middleware.d.ts +15 -0
  158. package/core/util/middleware.d.ts.map +1 -1
  159. package/core/util/model-attribute-utils.d.ts +7 -0
  160. package/core/util/model-attribute-utils.d.ts.map +1 -1
  161. package/core/util/model-error-utils.d.ts +61 -0
  162. package/core/util/model-error-utils.d.ts.map +1 -0
  163. package/core/util/model-factory.d.ts +4 -0
  164. package/core/util/model-factory.d.ts.map +1 -1
  165. package/core/util/model-registration-utils.d.ts +8 -0
  166. package/core/util/model-registration-utils.d.ts.map +1 -1
  167. package/core/util/model-transition-utils.d.ts +41 -0
  168. package/core/util/model-transition-utils.d.ts.map +1 -0
  169. package/core/util/model-type-guards.d.ts +26 -0
  170. package/core/util/model-type-guards.d.ts.map +1 -0
  171. package/core/util/model-utils.d.ts +40 -29
  172. package/core/util/model-utils.d.ts.map +1 -1
  173. package/core/util/observable-proxy-map.d.ts +11 -0
  174. package/core/util/observable-proxy-map.d.ts.map +1 -1
  175. package/core/util/paired-client-heartbeat.d.ts +2 -0
  176. package/core/util/paired-client-heartbeat.d.ts.map +1 -1
  177. package/core/util/pipe.d.ts +4 -0
  178. package/core/util/pipe.d.ts.map +1 -1
  179. package/core/util/promise-utils.d.ts +58 -0
  180. package/core/util/promise-utils.d.ts.map +1 -0
  181. package/core/util/retry-with-exponential-backoff.d.ts +3 -0
  182. package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
  183. package/core/util/service-factory.d.ts +10 -0
  184. package/core/util/service-factory.d.ts.map +1 -1
  185. package/core/util/service-request-error.d.ts +60 -0
  186. package/core/util/service-request-error.d.ts.map +1 -0
  187. package/core/util/service-response.d.ts +125 -0
  188. package/core/util/service-response.d.ts.map +1 -0
  189. package/core/util/session-utils.d.ts +8 -0
  190. package/core/util/session-utils.d.ts.map +1 -1
  191. package/core/util/wait-for-request.d.ts +16 -0
  192. package/core/util/wait-for-request.d.ts.map +1 -1
  193. package/core/util/when-ready.d.ts +3 -0
  194. package/core/util/when-ready.d.ts.map +1 -1
  195. package/index.cjs +26904 -118
  196. package/index.cjs.map +1 -1
  197. package/index.d.cts +6 -3
  198. package/index.d.ts +6 -3
  199. package/index.d.ts.map +1 -1
  200. package/index.js +25305 -13476
  201. package/index.js.map +1 -1
  202. package/kos-models.json +426 -0
  203. package/models/constants/index.d.ts +3 -1
  204. package/models/constants/index.d.ts.map +1 -1
  205. package/models/decorators/future-service.d.ts +27 -2
  206. package/models/decorators/future-service.d.ts.map +1 -1
  207. package/models/models/browser-router/browser-router-model.d.ts +80 -1
  208. package/models/models/browser-router/browser-router-model.d.ts.map +1 -1
  209. package/models/models/browser-router/types/index.d.ts +26 -1
  210. package/models/models/canvas-dispatcher/types/index.d.ts +5 -0
  211. package/models/models/canvas-renderer/types/index.d.ts +5 -0
  212. package/models/models/config-bean/config-bean-model-builder.d.ts +4 -2
  213. package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -1
  214. package/models/models/config-bean/config-bean-model.d.ts +117 -13
  215. package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
  216. package/models/models/config-bean/config-bean-types.d.ts +6 -3
  217. package/models/models/config-bean/config-bean-types.d.ts.map +1 -1
  218. package/models/models/config-bean/types/index.d.ts +34 -0
  219. package/models/models/config-bean-prop/config-bean-prop-model.d.ts +112 -1
  220. package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
  221. package/models/models/config-bean-prop/types/index.d.ts +301 -19
  222. package/models/models/device/device-model.d.ts +219 -9
  223. package/models/models/device/device-model.d.ts.map +1 -1
  224. package/models/models/device/device-registration.d.ts +61 -48
  225. package/models/models/device/device-registration.d.ts.map +1 -1
  226. package/models/models/device/types/index.d.ts +42 -0
  227. package/models/models/future/future-aware.d.ts +82 -0
  228. package/models/models/future/future-aware.d.ts.map +1 -1
  229. package/models/models/future/future-model.d.ts +34 -5
  230. package/models/models/future/future-model.d.ts.map +1 -1
  231. package/models/models/future/future-types.d.ts +202 -9
  232. package/models/models/future/future-types.d.ts.map +1 -1
  233. package/models/models/future-container/future-container-model.d.ts +2 -2
  234. package/models/models/gpio-chip/gpio-chip-container-model.d.ts +25 -0
  235. package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +1 -0
  236. package/models/models/gpio-chip/gpio-chip-model.d.ts +30 -0
  237. package/models/models/gpio-chip/gpio-chip-model.d.ts.map +1 -0
  238. package/models/models/gpio-chip/index.d.ts +7 -0
  239. package/models/models/gpio-chip/index.d.ts.map +1 -0
  240. package/models/models/gpio-chip/services/gpio-chip-services.d.ts +86 -0
  241. package/models/models/gpio-chip/services/gpio-chip-services.d.ts.map +1 -0
  242. package/models/models/gpio-chip/services/index.d.ts +2 -0
  243. package/models/models/gpio-chip/services/index.d.ts.map +1 -0
  244. package/models/models/gpio-chip/types/index.d.ts +24 -0
  245. package/models/models/gpio-pin/gpio-pin-container-model.d.ts +23 -0
  246. package/models/models/gpio-pin/gpio-pin-container-model.d.ts.map +1 -0
  247. package/models/models/gpio-pin/gpio-pin-model.d.ts +26 -0
  248. package/models/models/gpio-pin/gpio-pin-model.d.ts.map +1 -0
  249. package/models/models/gpio-pin/index.d.ts +6 -0
  250. package/models/models/gpio-pin/index.d.ts.map +1 -0
  251. package/models/models/gpio-pin/types/index.d.ts +23 -0
  252. package/models/models/index.d.ts +1 -0
  253. package/models/models/index.d.ts.map +1 -1
  254. package/models/models/key-value/index.d.ts +4 -0
  255. package/models/models/key-value/index.d.ts.map +1 -1
  256. package/models/models/key-value/key-value-model.d.ts +111 -0
  257. package/models/models/key-value/key-value-model.d.ts.map +1 -1
  258. package/models/models/key-value/services/key-value-services.d.ts +124 -2
  259. package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
  260. package/models/models/key-value/types/index.d.ts +57 -0
  261. package/models/models/kos-expression-evaluator/index.d.ts +4 -0
  262. package/models/models/kos-expression-evaluator/index.d.ts.map +1 -0
  263. package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts +209 -0
  264. package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts.map +1 -0
  265. package/models/models/kos-expression-evaluator/services/index.d.ts +6 -0
  266. package/models/models/kos-expression-evaluator/services/index.d.ts.map +1 -0
  267. package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts +15 -0
  268. package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts.map +1 -0
  269. package/models/models/kos-expression-evaluator/types/index.d.ts +6 -0
  270. package/models/models/kos-log-manager/kos-log-manager-model.d.ts +61 -14
  271. package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
  272. package/models/models/kos-log-manager/types/index.d.ts +191 -0
  273. package/models/models/kos-time/kos-time-model.d.ts +64 -0
  274. package/models/models/kos-time/kos-time-model.d.ts.map +1 -1
  275. package/models/models/kos-time/types/index.d.ts +83 -0
  276. package/models/models/log-block/log-block-container-model.d.ts +132 -0
  277. package/models/models/log-block/log-block-container-model.d.ts.map +1 -1
  278. package/models/models/log-block/log-block-model.d.ts +185 -0
  279. package/models/models/log-block/log-block-model.d.ts.map +1 -1
  280. package/models/models/log-block/types/index.d.ts +133 -0
  281. package/models/models/log-stream/index.d.ts +6 -2
  282. package/models/models/log-stream/index.d.ts.map +1 -1
  283. package/models/models/log-stream/log-stream-container-model.d.ts +62 -0
  284. package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -1
  285. package/models/models/log-stream/log-stream-model.d.ts +55 -0
  286. package/models/models/log-stream/log-stream-model.d.ts.map +1 -1
  287. package/models/models/log-stream/services/log-stream-services.d.ts +2 -1
  288. package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -1
  289. package/models/models/log-stream/types/index.d.ts +79 -0
  290. package/models/models/network-interface/index.d.ts +6 -2
  291. package/models/models/network-interface/index.d.ts.map +1 -1
  292. package/models/models/network-interface/network-interface-container-model.d.ts +62 -0
  293. package/models/models/network-interface/network-interface-container-model.d.ts.map +1 -1
  294. package/models/models/network-interface/network-interface-container-registration.d.ts +2 -1
  295. package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -1
  296. package/models/models/network-interface/network-interface-model.d.ts +77 -0
  297. package/models/models/network-interface/network-interface-model.d.ts.map +1 -1
  298. package/models/models/network-interface/network-interface-registration.d.ts +2 -1
  299. package/models/models/network-interface/network-interface-registration.d.ts.map +1 -1
  300. package/models/models/network-interface/services/network-interface-services.d.ts +54 -0
  301. package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
  302. package/models/models/network-interface/types/index.d.ts +22 -0
  303. package/models/models/ota/ota-model.d.ts +82 -3
  304. package/models/models/ota/ota-model.d.ts.map +1 -1
  305. package/models/models/ota/types/index.d.ts +177 -0
  306. package/models/models/region-info/region-info-model.d.ts +8 -3
  307. package/models/models/region-info/region-info-model.d.ts.map +1 -1
  308. package/models/models/region-info/services/region-info-services.d.ts +2 -2
  309. package/models/models/region-info/services/region-info-services.d.ts.map +1 -1
  310. package/models/models/region-info/types/index.d.ts +191 -13
  311. package/models/models/region-info/types/index.d.ts.map +1 -1
  312. package/models/models/region-info/utils/unit-system-utils.d.ts.map +1 -1
  313. package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
  314. package/models/models/software-info/software-info-model.d.ts +74 -2
  315. package/models/models/software-info/software-info-model.d.ts.map +1 -1
  316. package/models/models/software-info/types/index.d.ts +52 -17
  317. package/models/models/state-bean/state-bean-model.d.ts +86 -9
  318. package/models/models/state-bean/state-bean-model.d.ts.map +1 -1
  319. package/models/models/state-bean/types/index.d.ts +117 -6
  320. package/models/models/state-prop/state-prop-model.d.ts +78 -1
  321. package/models/models/state-prop/state-prop-model.d.ts.map +1 -1
  322. package/models/models/state-prop/types/index.d.ts +57 -7
  323. package/models/models/storage-device/services/storage-device-services.d.ts +1 -0
  324. package/models/models/storage-device/services/storage-device-services.d.ts.map +1 -1
  325. package/models/models/storage-device/storage-device-container-model.d.ts +289 -2
  326. package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -1
  327. package/models/models/storage-device/storage-device-model.d.ts +84 -2
  328. package/models/models/storage-device/storage-device-model.d.ts.map +1 -1
  329. package/models/models/storage-device/types/index.d.ts +114 -0
  330. package/models/models/studio-properties/studio-properties-model.d.ts +75 -0
  331. package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
  332. package/models/models/studio-properties/types/index.d.ts +29 -0
  333. package/models/models/translation/services/translation-services.d.ts +128 -2
  334. package/models/models/translation/services/translation-services.d.ts.map +1 -1
  335. package/models/models/translation/translation-container-model.d.ts +100 -10
  336. package/models/models/translation/translation-container-model.d.ts.map +1 -1
  337. package/models/models/translation/translation-container-registration.d.ts +2 -1
  338. package/models/models/translation/translation-container-registration.d.ts.map +1 -1
  339. package/models/models/translation/translation-context.d.ts +1 -16
  340. package/models/models/translation/translation-context.d.ts.map +1 -1
  341. package/models/models/translation/translation-model.d.ts +113 -1
  342. package/models/models/translation/translation-model.d.ts.map +1 -1
  343. package/models/models/translation/types/index.d.ts +343 -0
  344. package/models/models/trouble/index.d.ts +2 -1
  345. package/models/models/trouble/index.d.ts.map +1 -1
  346. package/models/models/trouble/services/trouble-services.d.ts +6 -4
  347. package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
  348. package/models/models/trouble/trouble-model.d.ts +4 -1
  349. package/models/models/trouble/trouble-model.d.ts.map +1 -1
  350. package/models/models/trouble/types/index.d.ts +34 -93
  351. package/models/models/trouble/utils/is-trouble-aware.d.ts +2 -2
  352. package/models/models/trouble/utils/is-trouble-aware.d.ts.map +1 -1
  353. package/models/models/trouble-container/index.d.ts +4 -3
  354. package/models/models/trouble-container/index.d.ts.map +1 -1
  355. package/models/models/trouble-container/trouble-container-model.d.ts +10 -5
  356. package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
  357. package/models/models/trouble-container/types/index.d.ts +6 -14
  358. package/models/models/usb-update/types/index.d.ts +10 -0
  359. package/models/services/config-bean/index.d.ts +2 -2
  360. package/models/services/config-bean/index.d.ts.map +1 -1
  361. package/models/utils/client.d.ts +16 -12
  362. package/models/utils/client.d.ts.map +1 -1
  363. package/models/utils/core-registration-manager.d.ts +1 -1
  364. package/models/utils/core-registration-manager.d.ts.map +1 -1
  365. package/models/utils/extension-manager.d.ts +54 -13
  366. package/models/utils/extension-manager.d.ts.map +1 -1
  367. package/models/utils/get-kos-connection-id.d.ts +2 -0
  368. package/models/utils/get-kos-connection-id.d.ts.map +1 -0
  369. package/models/utils/index.d.ts +3 -2
  370. package/models/utils/index.d.ts.map +1 -1
  371. package/models/utils/openapi-index.d.ts +3 -0
  372. package/models/utils/openapi-index.d.ts.map +1 -0
  373. package/models/utils/service-accessor.d.ts +86 -0
  374. package/models/utils/service-accessor.d.ts.map +1 -0
  375. package/models/utils/service.d.ts +91 -13
  376. package/models/utils/service.d.ts.map +1 -1
  377. package/models/utils/services/kos/1.6.5/openapi.d.ts +3809 -0
  378. package/models/utils/services/kos/1.6.5/service.d.ts +124 -0
  379. package/models/utils/services/kos/1.6.5/service.d.ts.map +1 -0
  380. package/models/utils/services/kos/1.8.1/openapi.d.ts +4344 -0
  381. package/models/utils/services/kos/1.8.1/service.d.ts +124 -0
  382. package/models/utils/services/kos/1.8.1/service.d.ts.map +1 -0
  383. package/models/utils/services/kos/1.9.x/openapi.d.ts +4597 -0
  384. package/models/utils/services/kos/1.9.x/service.d.ts +124 -0
  385. package/models/utils/services/kos/1.9.x/service.d.ts.map +1 -0
  386. package/models/utils/services/kos/daily/openapi.d.ts +4349 -0
  387. package/models/utils/services/kos/daily/service.d.ts +124 -0
  388. package/models/utils/services/kos/daily/service.d.ts.map +1 -0
  389. package/models/utils/services/vfs/1.6.5/openapi.d.ts +51 -0
  390. package/models/utils/services/vfs/1.6.5/service.d.ts +124 -0
  391. package/models/utils/services/vfs/1.6.5/service.d.ts.map +1 -0
  392. package/models/utils/services/vfs/1.8.1/openapi.d.ts +51 -0
  393. package/models/utils/services/vfs/1.8.1/service.d.ts +124 -0
  394. package/models/utils/services/vfs/1.8.1/service.d.ts.map +1 -0
  395. package/models/utils/services/vfs/1.9.x/openapi.d.ts +51 -0
  396. package/models/utils/services/vfs/1.9.x/service.d.ts +124 -0
  397. package/models/utils/services/vfs/1.9.x/service.d.ts.map +1 -0
  398. package/models/utils/services/vfs/daily/openapi.d.ts +51 -0
  399. package/models/utils/services/vfs/daily/service.d.ts +124 -0
  400. package/models/utils/services/vfs/daily/service.d.ts.map +1 -0
  401. package/models/utils/services-index.d.ts +9 -0
  402. package/models/utils/services-index.d.ts.map +1 -0
  403. package/package.json +16 -2
  404. package/ui/contexts/kos-core-context.d.ts.map +1 -1
  405. package/ui/contexts/state-bean/state-bean-provider.d.ts.map +1 -1
  406. package/ui/hooks/device/use-device.d.ts +6 -0
  407. package/ui/hooks/device/use-device.d.ts.map +1 -1
  408. package/ui/hooks/index.d.ts +1 -0
  409. package/ui/hooks/index.d.ts.map +1 -1
  410. package/ui/hooks/kos-time/use-kos-time.d.ts +6 -0
  411. package/ui/hooks/kos-time/use-kos-time.d.ts.map +1 -1
  412. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts +6 -0
  413. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -1
  414. package/ui/hooks/ota/use-ota.d.ts +6 -0
  415. package/ui/hooks/ota/use-ota.d.ts.map +1 -1
  416. package/ui/hooks/software-info/use-software-info.d.ts +6 -0
  417. package/ui/hooks/software-info/use-software-info.d.ts.map +1 -1
  418. package/ui/hooks/state-bean/use-state-bean.d.ts +2 -2
  419. package/ui/hooks/state-bean/use-state-bean.d.ts.map +1 -1
  420. package/ui/hooks/state-bean/with-state-bean.d.ts.map +1 -1
  421. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +6 -0
  422. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -1
  423. package/ui/hooks/translation-container/trans.d.ts +6 -0
  424. package/ui/hooks/translation-container/trans.d.ts.map +1 -1
  425. package/ui/hooks/translation-container/use-translation-container.d.ts +10 -33
  426. package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -1
  427. package/ui/hooks/translation-container/use-translation.d.ts +7 -0
  428. package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
  429. package/ui/hooks/translation-container/with-translation-container.d.ts +6 -0
  430. package/ui/hooks/translation-container/with-translation-container.d.ts.map +1 -1
  431. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts +6 -0
  432. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -1
  433. package/ui/hooks/use-config-bean.d.ts +6 -0
  434. package/ui/hooks/use-config-bean.d.ts.map +1 -1
  435. package/ui/hooks/use-config-property.d.ts +6 -0
  436. package/ui/hooks/use-config-property.d.ts.map +1 -1
  437. package/ui/hooks/use-kos-model.d.ts +7 -0
  438. package/ui/hooks/use-kos-model.d.ts.map +1 -1
  439. package/ui/hooks/use-kos-regions.d.ts.map +1 -1
  440. package/ui/hooks/view-model/index.d.ts +2 -0
  441. package/ui/hooks/view-model/index.d.ts.map +1 -0
  442. package/ui/hooks/view-model/use-view-model.d.ts +80 -0
  443. package/ui/hooks/view-model/use-view-model.d.ts.map +1 -0
  444. package/models/models/trouble-container/trouble-container-registration.d.ts +0 -5
  445. package/models/models/trouble-container/trouble-container-registration.d.ts.map +0 -1
  446. package/models/utils/kosmodel-compatible-future-mixin.d.ts +0 -142
  447. package/models/utils/kosmodel-compatible-future-mixin.d.ts.map +0 -1
  448. package/models/utils/kosmodel-interface-companion-mixin.d.ts +0 -83
  449. package/models/utils/kosmodel-interface-companion-mixin.d.ts.map +0 -1
@@ -3,87 +3,100 @@ import { DeviceModel } from './device-model';
3
3
  import { SingletonKosModelRegistrationFactory } from '../../../core';
4
4
 
5
5
  /**
6
- * # Device
6
+ * # Device Model Registration Factory
7
7
  *
8
- * The registration bean includes convenience methods for creating and working with DeviceModel instances.
8
+ * **KOS Device Identity and Node Configuration Management**
9
9
  *
10
- * ## type
11
- * The type property is a string that identifies the model type.
12
- * The type is used to identify the model type in the model registry and to narrow down the model type in type predicates. It's most frequently
13
- * used when declaring dependencies on models.
10
+ * The Device registration factory provides convenient methods for creating and working with DeviceModel instances.
11
+ * Device models handle device identity, hardware serial numbers, and node configuration within KOS deployments.
14
12
  *
15
- * @example
16
- * ```typescript
13
+ * ## Core Registration Properties
14
+ *
15
+ * ### type
16
+ *
17
+ * Model type identifier used for dependency injection and type narrowing.
18
+ * Essential for declaring model dependencies in other components.
17
19
  *
20
+ * @example Model Dependency Declaration
21
+ * ```typescript
18
22
  * @kosDependency({modelType: Device.type, id: "deviceId"})
19
23
  * private deviceModel: DeviceModel;
20
24
  * ```
21
25
  *
26
+ * ### factory
22
27
  *
23
- * ## factory
28
+ * Creates DeviceModel instances with singleton behavior. Multiple calls return the same instance,
29
+ * ensuring system-wide device identity consistency.
24
30
  *
25
- * The factory method creates a factory function that can be used to create new DeviceModel instances.
31
+ * **Singleton Behavior**: Subsequent factory calls return existing instance; options ignored after first creation.
26
32
  *
27
-
28
- * As this is a singleton model, the factory function accepts the model options as its argument.
33
+ * @example Device Creation and Identity Access
34
+ * ```typescript
35
+ * const device = Device.factory({
36
+ * serialNumber: 'KOS-DEVICE-001',
37
+ * name: 'Production Dispenser Alpha',
38
+ * nodeId: 'primary-controller'
39
+ * });
29
40
  *
30
- * If a model with the same model type already exists, the factory function will return the existing model. The options will be ignored
31
- * in this case and the existing model will be returned in its current state.
41
+ * // Access device identity
42
+ * console.log(`Device: ${device.name} (${device.serialNumber})`);
43
+ * console.log(`Node: ${device.nodeType}-${device.nodeName}`);
44
+ * ```
32
45
  *
33
- * @example
46
+ * @example Multi-node System Coordination
34
47
  * ```typescript
35
- * const model = Device.factory({
36
- * // Add option data
37
- * });
48
+ * const primaryDevice = Device.factory({ nodeId: 'primary-main' });
49
+ * const backupDevice = Device.factory({ nodeId: 'secondary-backup' });
50
+ *
51
+ * // Coordinate based on node roles
52
+ * if (primaryDevice.nodeType === 'primary') {
53
+ * // Handle primary node responsibilities
54
+ * }
38
55
  * ```
39
-
40
-
41
56
  *
42
- * ## predicate
57
+ * ### predicate
43
58
  *
44
- * [Typescript type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) function that will identify and narrow down a model to a DeviceModel.
59
+ * [TypeScript type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates)
60
+ * for identifying and narrowing models to DeviceModel instances.
45
61
  *
46
- * @example
62
+ * @example Type Narrowing for Device Operations
47
63
  * ```typescript
48
- *
49
- * const model: IKosDataModel = ...; // some model
64
+ * const model: IKosDataModel = getModel(); // some model
50
65
  *
51
66
  * if (Device.predicate(model)) {
52
- * // if the function evaluates to true, the model is narrowed down to DeviceModel
53
- * // and the compiler will know that the model has the DeviceModel interface
54
- * model.updateAvailability(false);
67
+ * // Compiler now knows model is DeviceModel
68
+ * console.log(`Device Serial: ${model.serialNumber}`);
69
+ * model.updateModel({ name: 'Updated Name' });
55
70
  * }
56
71
  * ```
57
72
  *
58
- * ## registration
59
- *
60
- * The registration property is an object that can be used to simplify registration of the model with the model registry. The registration object
61
- * can be spread into the model registration and provides all of the required information to register the model implementation class against the model type.
73
+ * ### registration
62
74
  *
75
+ * Registration object for model registry integration. Provides all required information
76
+ * for registering the DeviceModelImpl implementation with the model registry.
63
77
  *
64
- * @example
65
- *
66
- * In an application registration file you can declare the model registration as follows:
67
- *
68
- * **registration.ts**
78
+ * @example Model Registry Configuration
69
79
  * ```typescript
80
+ * // registration.ts
70
81
  * import { Device } from "@kos-ui/project-models";
71
82
  * import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
72
83
  *
73
- * import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
74
- *
75
84
  * KosModelRegistry.dispense
76
- * .models()
77
- * .model(Device);
85
+ * .models()
86
+ * .model(Device);
78
87
  * ```
79
88
  *
80
- * ## registration.singleton
81
-
82
- * The device model is a singleton model. This means that each time the factory function is called , the same instance will be returned.
83
- * If the model does not yet exist, it will be created passing in the provided options to initialize it.
89
+ * ## Singleton Architecture
90
+ *
91
+ * **Device models use singleton pattern** ensuring system-wide consistency:
92
+ * - Each device type has exactly one instance
93
+ * - Subsequent factory calls return existing instance
94
+ * - Options are ignored after initial creation
95
+ * - Uses model type as unique identifier
96
+ * - Guarantees device identity consistency across system
84
97
  *
85
- * Singleton models don't require an ID as they will use the model type as their ID to guarantee uniqueness throughout the system.
86
-
87
- * */
98
+ * @group KOS Model
99
+ * @category Device Data
100
+ */
88
101
  export declare const Device: SingletonKosModelRegistrationFactory<DeviceModel, DeviceOptions>;
89
102
  //# sourceMappingURL=device-registration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/device/device-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkFK;AACL,eAAO,MAAM,MAAM,kEAMjB,CAAC"}
1
+ {"version":3,"file":"device-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/device/device-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,eAAO,MAAM,MAAM,kEAMjB,CAAC"}
@@ -1,5 +1,47 @@
1
+ /**
2
+ * Configuration options for Device model instances.
3
+ *
4
+ * Defines device identity and node-specific parameters for KOS device modeling.
5
+ * Device models represent the physical device identity and node configuration
6
+ * within a KOS system deployment.
7
+ *
8
+ * @example Basic Device Configuration
9
+ * ```typescript
10
+ * const deviceOptions: DeviceOptions = {
11
+ * serialNumber: 'KOS-DEVICE-12345',
12
+ * name: 'Main Beverage Dispenser',
13
+ * nodeId: 'primary-node-01'
14
+ * };
15
+ *
16
+ * const device = Device.factory(deviceOptions);
17
+ * ```
18
+ *
19
+ * @kosService core.device
20
+ * @group KOS Model
21
+ * @category Service Integration
22
+ */
1
23
  export interface DeviceOptions {
24
+ /**
25
+ * Unique device serial number from hardware.
26
+ *
27
+ * Retrieved from the device's hardware identification system.
28
+ * Used for warranty tracking, support, and device-specific configuration.
29
+ */
2
30
  serialNumber?: string;
31
+
32
+ /**
33
+ * Human-readable device name for identification.
34
+ *
35
+ * Typically configured during device setup and used in administrative
36
+ * interfaces for device identification and management.
37
+ */
3
38
  name?: string;
39
+
40
+ /**
41
+ * Node identifier within the KOS deployment.
42
+ *
43
+ * Identifies the specific node role and instance within a multi-node
44
+ * KOS deployment. Format typically follows 'type-instance' pattern.
45
+ */
4
46
  nodeId?: string;
5
47
  }
@@ -1,5 +1,45 @@
1
1
  import { FutureAwareContainer, FutureContainer, IFutureModel, MultiFutureAware } from './future-types';
2
2
 
3
+ /**
4
+ * Future handler for managing multiple concurrent long-running operations.
5
+ *
6
+ * Provides comprehensive lifecycle management for models that coordinate multiple
7
+ * device operations simultaneously. Each Future is tracked with its own alias
8
+ * and receives automatic progress updates and cleanup when operations complete.
9
+ *
10
+ * @example Managing Multiple Operations
11
+ * ```typescript
12
+ * @kosModel("device-maintenance-model")
13
+ * export class DeviceMaintenanceModel implements FutureContainer {
14
+ * futureHandler: MultipleFutureHandler;
15
+ *
16
+ * constructor(modelId: string, options: any, context: KosCreationContext) {
17
+ * this.id = modelId;
18
+ * this.futureHandler = new MultipleFutureHandler(this);
19
+ * }
20
+ *
21
+ * async startCalibration(deviceId: string): Promise<CalibrationResult> {
22
+ * const future = await this.createFuture('/device/calibrate', { deviceId });
23
+ * this.futureHandler.addFuture(future, `calibration-${deviceId}`);
24
+ * return future;
25
+ * }
26
+ *
27
+ * async startCleaning(deviceId: string): Promise<CleaningResult> {
28
+ * const future = await this.createFuture('/device/clean', { deviceId });
29
+ * this.futureHandler.addFuture(future, `cleaning-${deviceId}`);
30
+ * return future;
31
+ * }
32
+ *
33
+ * onFutureUpdate(future: IFutureModel): void {
34
+ * // Handle progress updates from any managed Future
35
+ * console.log(`${future.id}: ${future.progress}% complete`);
36
+ * }
37
+ * }
38
+ * ```
39
+ *
40
+ * @group KOS Model
41
+ * @category Asynchronous Operations
42
+ */
3
43
  export declare class MultipleFutureHandler<T extends {} = Record<string, unknown>> implements FutureAwareContainer<T>, MultiFutureAware<T> {
4
44
  private futures;
5
45
  private defaultContext;
@@ -14,6 +54,48 @@ export declare class MultipleFutureHandler<T extends {} = Record<string, unknown
14
54
  getFuture(alias?: string): IFutureModel<T> | undefined;
15
55
  get futureMap(): Map<string, IFutureModel<T>>;
16
56
  }
57
+ /**
58
+ * Future handler for managing single long-running operations with simplified API.
59
+ *
60
+ * Provides streamlined lifecycle management for models that typically handle
61
+ * one operation at a time. Automatically tracks progress and provides reactive
62
+ * status information for UI integration.
63
+ *
64
+ * @example Single Operation Management
65
+ * ```typescript
66
+ * @kosModel("brewing-system-model")
67
+ * export class BrewingSystemModel implements FutureContainer {
68
+ * futureHandler: FutureHandler;
69
+ *
70
+ * constructor(modelId: string, options: any, context: KosCreationContext) {
71
+ * this.id = modelId;
72
+ * this.futureHandler = new FutureHandler(this);
73
+ * }
74
+ *
75
+ * async startBrewingCycle(recipe: Recipe): Promise<BrewingResult> {
76
+ * const future = await this.createFuture('/brewing/start', { recipe });
77
+ * this.futureHandler.addFuture(future);
78
+ * return future;
79
+ * }
80
+ *
81
+ * get isOperationActive(): boolean {
82
+ * return this.futureHandler.status !== 'NOT_RESOLVED';
83
+ * }
84
+ *
85
+ * get operationProgress(): number {
86
+ * return this.futureHandler.progress;
87
+ * }
88
+ *
89
+ * onFutureUpdate(future: IFutureModel): void {
90
+ * // Handle progress updates from the active Future
91
+ * console.log(`Brewing: ${future.progress}% complete`);
92
+ * }
93
+ * }
94
+ * ```
95
+ *
96
+ * @group KOS Model
97
+ * @category Asynchronous Operations
98
+ */
17
99
  export declare class FutureHandler<T extends object = Record<string, unknown>> implements FutureAwareContainer<T> {
18
100
  private disposer?;
19
101
  private _future?;
@@ -1 +1 @@
1
- {"version":3,"file":"future-aware.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-aware.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,YAAY,EACZ,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAExB,qBAAa,qBAAqB,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACvE,YAAW,oBAAoB,CAA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K1C,YAAY;IAMZ,IAAI,MAAM,gCAET;IACD,SAAS,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG,SAAS;IAIxC,SAAS,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;IAWjC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEjE,IAAI,UAAU,sBAEb;IACD,IAAI,aAAa,WAEhB;IAED,IAAI,MAAM,WAET;IAED,IAAI,QAAQ,WAEX;IAEK,MAAM;CAUb"}
@@ -27,7 +27,7 @@ declare class FutureModel implements IFutureModel {
27
27
  */
28
28
  constructor(modelId: string, options: IFutureModelOptions, context: KosCreationContext);
29
29
  /**
30
- * @category Lifecycle
30
+ * @internal
31
31
  *
32
32
  * @remarks
33
33
  * No action is taken as part of the load lifecycle method.
@@ -35,6 +35,9 @@ declare class FutureModel implements IFutureModel {
35
35
  * In future additional information about the workspace could be loaded
36
36
  */
37
37
  load(): Promise<void>;
38
+ /**
39
+ * @internal
40
+ */
38
41
  unload(): void;
39
42
  /**
40
43
  * @category Action
@@ -48,16 +51,42 @@ declare class FutureModel implements IFutureModel {
48
51
  * @see cancelFutureService
49
52
  */
50
53
  cancelFuture(): Promise<void>;
54
+ /**
55
+ * Gets the current status of the future operation.
56
+ *
57
+ * @returns Status string: "NOT_ACTIVE", "IN_PROGRESS", "Success", or "Fail"
58
+ *
59
+ * @example Monitor Status
60
+ * ```typescript
61
+ * if (future.status === "IN_PROGRESS") {
62
+ * console.log(`Operation running: ${future.progress}% complete`);
63
+ * } else if (future.status === "Success") {
64
+ * console.log("Operation completed successfully!");
65
+ * }
66
+ * ```
67
+ */
51
68
  get status(): FutureEndState | "IN_PROGRESS" | "NOT_ACTIVE";
69
+ /**
70
+ * Gets human-readable time remaining for the operation.
71
+ *
72
+ * @returns Formatted time string (e.g., "5 minutes", "30 seconds") or empty string if unknown
73
+ *
74
+ * @example Display Time Remaining
75
+ * ```typescript
76
+ * const timeLeft = future.timeRemaining;
77
+ * if (timeLeft) {
78
+ * console.log(`${timeLeft} remaining`);
79
+ * }
80
+ * ```
81
+ */
52
82
  get timeRemaining(): string;
53
83
  /**
84
+ * @internal
54
85
  * @category Subscription
55
- * Updates the Future model when a `kos.future/ID` event
86
+ * Updates the Future model when a `kos.future/{ID}` event
56
87
  * is received from the server.
57
88
  *
58
- *
59
- * @param data - the raw callback
60
- * @param data.body - the Future that was updated.
89
+ * @param future - the Future that was updated.
61
90
  * @see FutureResponse
62
91
  */
63
92
  handleFutureUpdated(future: FutureResponse): void;
@@ -1 +1 @@
1
- {"version":3,"file":"future-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-model.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,cAAc,EAGd,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAOxE,UAAU,WAAY,SAAQ,YAAY;CAAG;AAI7C;;;;;;;GAOG;AACH,cACM,WAAY,YAAW,YAAY;IACvC,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,aAAa,CAGuB;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;;;;OAQG;gBAED,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,kBAAkB;IAwB7B;;;;;;;OAOG;IACG,IAAI;IAIV,MAAM;IAMN;;;;;;;;;;OAUG;IACG,YAAY;IASlB,IAAI,MAAM,kDAMT;IAED,IAAI,aAAa,WAoChB;IAID;;;;;;;;;OASG;IAIH,mBAAmB,CAAC,MAAM,EAAE,cAAc;CAM3C;AAED,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"future-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-model.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,cAAc,EAGd,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAOxE,UAAU,WAAY,SAAQ,YAAY;CAAG;AAI7C;;;;;;;GAOG;AACH,cACM,WAAY,YAAW,YAAY;IACvC,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,aAAa,CAGuB;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;;;;OAQG;gBAED,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,kBAAkB;IAwB7B;;;;;;;OAOG;IACG,IAAI;IAIV;;OAEG;IACH,MAAM;IAMN;;;;;;;;;;OAUG;IACG,YAAY;IASlB;;;;;;;;;;;;;OAaG;IACH,IAAI,MAAM,kDAMT;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,aAAa,WAoChB;IAID;;;;;;;;OAQG;IAIH,mBAAmB,CAAC,MAAM,EAAE,cAAc;CAM3C;AAED,eAAe,WAAW,CAAC"}
@@ -1,23 +1,123 @@
1
1
  import { FutureEndState } from '../../services/future';
2
2
  import { IKosDataModel } from '../../../core';
3
3
 
4
+ /**
5
+ * Basic Future delegation interface for models that hold a single Future reference.
6
+ *
7
+ * @kosService core.future-aware
8
+ * @group KOS Model
9
+ * @category Asynchronous Operations
10
+ * @kosApiLevel 2
11
+ */
4
12
  export interface FutureDelegate<T extends {} = Record<string, unknown>> {
5
13
  future?: IFutureModel<T>;
6
14
  }
15
+ /**
16
+ * Container pattern for managing multiple Future operations in KOS models.
17
+ *
18
+ * Provides comprehensive Future management capabilities for models that handle
19
+ * multiple concurrent long-running operations with centralized lifecycle management.
20
+ *
21
+ * @example Basic Future Container
22
+ * ```typescript
23
+ * @kosModel("device-operations-model")
24
+ * export class DeviceOperationsModel implements FutureContainer {
25
+ * futureHandler: FutureAwareContainer;
26
+ *
27
+ * constructor(modelId: string, options: any, context: KosCreationContext) {
28
+ * this.id = modelId;
29
+ * this.futureHandler = new FutureHandler(this);
30
+ * }
31
+ *
32
+ * onFutureUpdate(future: IFutureModel, alias?: string): void {
33
+ * // Handle progress updates from any managed Future
34
+ * console.log(`Operation ${alias || future.id}: ${future.progress}%`);
35
+ * }
36
+ * }
37
+ * ```
38
+ *
39
+ * @kosService core.future-aware
40
+ * @group KOS Model
41
+ * @category Asynchronous Operations
42
+ * @kosApiLevel 2
43
+ */
7
44
  export interface FutureContainer<T extends {} = Record<string, unknown>> {
8
45
  futureHandler: FutureAwareContainer<T>;
9
- onFutureUpdate?: (future: IFutureModel<T>) => void;
46
+ onFutureUpdate?: (future: IFutureModel<T>, alias?: string) => void;
10
47
  }
48
+ /**
49
+ * Advanced pattern for models managing multiple named Future operations.
50
+ *
51
+ * @kosService core.future-aware
52
+ * @group KOS Model
53
+ * @category Asynchronous Operations
54
+ * @kosApiLevel 7
55
+ */
11
56
  export interface MultiFutureAware<T extends {} = Record<string, unknown>> {
12
57
  futureMap: Map<string, IFutureModel<T>>;
13
58
  }
59
+ /**
60
+ * Container interface providing comprehensive Future lifecycle management.
61
+ *
62
+ * Handles multiple concurrent Futures with operations for adding, removing,
63
+ * and querying Future instances. Essential for complex models that coordinate
64
+ * multiple device operations simultaneously.
65
+ *
66
+ * @example Future Container Operations
67
+ * ```typescript
68
+ * // Add new Future with optional alias
69
+ * container.addFuture(calibrationFuture, 'pump-calibration');
70
+ *
71
+ * // Query specific Future
72
+ * const future = container.getFuture('pump-calibration');
73
+ *
74
+ * // Remove completed Future
75
+ * container.removeFuture('pump-calibration');
76
+ *
77
+ * // Get all active Futures
78
+ * const activeFutures = container.allFutures;
79
+ * ```
80
+ *
81
+ * @kosService core.future-aware
82
+ * @group KOS Model
83
+ * @category Asynchronous Operations
84
+ * @kosApiLevel 2
85
+ */
14
86
  export interface FutureAwareContainer<T extends {} = Record<string, unknown>> extends FutureDelegate<T> {
15
87
  removeFuture(alias?: string): void;
16
88
  getFuture(alias?: string): IFutureModel<T> | undefined;
17
89
  addFuture(future: IFutureModel<T>, alias?: string): void;
18
90
  allFutures: IFutureModel<T>[];
19
- onFutureUpdate?: (future: IFutureModel<T>) => void;
91
+ onFutureUpdate?: (future: IFutureModel<T>, alias?: string) => void;
20
92
  }
93
+ /**
94
+ * Simplified interface for models that need basic Future awareness.
95
+ *
96
+ * Provides essential Future status information without full container complexity.
97
+ * Ideal for models that typically handle single operations or need simple
98
+ * Future integration.
99
+ *
100
+ * @example Basic Future Awareness
101
+ * ```typescript
102
+ * function OperationStatus({ model }: { model: FutureAware }) {
103
+ * return (
104
+ * <div>
105
+ * <p>Status: {model.status}</p>
106
+ * <progress value={model.progress} max={100} />
107
+ * <p>Time remaining: {model.timeRemaining}</p>
108
+ * {model.status === 'IN_PROGRESS' && (
109
+ * <button onClick={() => model.cancel()}>Cancel</button>
110
+ * )}
111
+ * </div>
112
+ * );
113
+ * }
114
+ * ```
115
+ *
116
+ * @kosService core.future-aware
117
+ * @group KOS Model
118
+ * @category Asynchronous Operations
119
+ * @kosApiLevel 2
120
+ */
21
121
  export interface FutureAware {
22
122
  readonly statusFuture?: IFutureModel;
23
123
  status: string;
@@ -26,16 +126,35 @@ export interface FutureAware {
26
126
  cancel: () => Promise<void>;
27
127
  }
28
128
  /**
29
- * Additional properties that can be passed into the constructor in order
30
- * to set initial values
129
+ * Configuration options for Future model instances.
130
+ *
131
+ * Defines the initial state and parameters for Future operations including
132
+ * progress tracking, client data attachment, and namespace configuration.
31
133
  *
32
134
  * @remarks
33
135
  * Used to identify additional data that can be set on the model during
34
- * instantiation. It is expected that implementers will set these properties
35
- * in the constructor. The value <strong>might</strong> be overriden by
136
+ * instantiation. It is expected that implementers will set these properties
137
+ * in the constructor. The value <strong>might</strong> be overridden by
36
138
  * subsequent lifecycle methods or updates.
37
139
  *
38
- * @category future
140
+ * @example Basic Future Options
141
+ * ```typescript
142
+ * const futureOptions: IFutureModelOptions = {
143
+ * id: 'calibration-123',
144
+ * namespace: 'kos',
145
+ * progress: 0,
146
+ * clientData: { deviceId: 'pump-S4', targetRate: 1.2 }
147
+ * };
148
+ *
149
+ * const future = FutureFactory.instance('my-future')
150
+ * .options(futureOptions)
151
+ * .build();
152
+ * ```
153
+ *
154
+ * @kosService core.future-aware
155
+ * @group KOS Model
156
+ * @category Asynchronous Operations
157
+ * @kosApiLevel 2
39
158
  */
40
159
  export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
41
160
  id: string;
@@ -59,9 +178,83 @@ export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
59
178
  note?: string;
60
179
  }
61
180
  /**
62
- * Represents the public interface of a `IFutureModel`
181
+ * Future - Reactive long-running operation management for KOS devices and applications.
182
+ *
183
+ * The Future model provides comprehensive tracking and management of asynchronous operations
184
+ * with real-time progress updates, cancellation support, and automatic lifecycle management.
185
+ * Essential for building responsive user interfaces that handle time-consuming operations.
186
+ *
187
+ * ## Key Features
188
+ * - **Real-Time Progress Tracking** - Live updates via WebSocket topics with percentage completion
189
+ * - **Cancellation Support** - Ability to cancel in-progress operations safely
190
+ * - **Automatic Cleanup** - Models self-destruct when operations complete or fail
191
+ * - **Status Management** - Clear status reporting (NOT_ACTIVE, IN_PROGRESS, Success, Fail)
192
+ * - **Time Estimation** - Remaining time calculations with localized formatting
193
+ * - **Client Data Attachment** - Associate custom data with future operations
194
+ * - **Namespace Support** - Separate futures for different services (kos, studio, etc.)
195
+ *
196
+ * ## Operation Lifecycle
197
+ * Futures progress through distinct states with automatic status management:
198
+ * - **NOT_ACTIVE** - Operation not yet started or queued
199
+ * - **IN_PROGRESS** - Operation actively executing with progress updates
200
+ * - **Success** - Operation completed successfully (triggers automatic cleanup)
201
+ * - **Fail** - Operation failed with error details (triggers automatic cleanup)
202
+ *
203
+ * ## Common Use Cases
204
+ * - **Device Operations** - Track pump calibration, system diagnostics, configuration updates
205
+ * - **File Transfers** - Monitor upload/download progress with cancellation support
206
+ * - **System Updates** - Track firmware updates, package installations, system maintenance
207
+ * - **Data Processing** - Monitor analysis operations, report generation, bulk operations
208
+ * - **VM Management** - Track VM creation, deployment, and lifecycle operations
209
+ *
210
+ * @example Basic Future Tracking
211
+ * ```typescript
212
+ * const calibrationFuture = FutureFactory.instance('calibration-op')
213
+ * .options({
214
+ * id: 'pump-cal-123',
215
+ * namespace: 'kos',
216
+ * clientData: { pumpId: 'S4', targetRate: 0.9 }
217
+ * })
218
+ * .build();
219
+ *
220
+ * // Monitor progress
221
+ * console.log(`Status: ${calibrationFuture.status}`);
222
+ * console.log(`Progress: ${calibrationFuture.progress}%`);
223
+ * console.log(`Time remaining: ${calibrationFuture.timeRemaining}`);
224
+ *
225
+ * // Cancel if needed
226
+ * await calibrationFuture.cancelFuture();
227
+ * ```
228
+ *
229
+ * @example React Integration
230
+ * ```typescript
231
+ * function CalibrationProgress({ futureId }: { futureId: string }) {
232
+ * const future = useFuture(futureId);
233
+ *
234
+ * return (
235
+ * <div>
236
+ * <progress value={future.progress} max={100} />
237
+ * <p>{future.timeRemaining} remaining</p>
238
+ * {future.status === 'IN_PROGRESS' && (
239
+ * <button onClick={() => future.cancelFuture()}>
240
+ * Cancel Operation
241
+ * </button>
242
+ * )}
243
+ * </div>
244
+ * );
245
+ * }
246
+ * ```
247
+ *
248
+ * @interface
249
+ * @kosService core.future-aware
250
+ * @group KOS Model
251
+ * @category Asynchronous Operations
252
+ * @useDeclaredType
63
253
  *
64
- * @category Model
254
+ * @see {@link IFutureModelOptions} - Configuration options for Future instances
255
+ * @see {@link FutureAware} - Interface for models that integrate with Futures
256
+ * @see {@link FutureContainer} - Container pattern for managing multiple Futures
257
+ * @kosApiLevel 2
65
258
  */
66
259
  export interface IFutureModel<T extends {} = Record<string, unknown>> extends IKosDataModel, Omit<IFutureModelOptions<T>, "modifyFuture"> {
67
260
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"future-types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACpE,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC1B;AACD,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACrE,aAAa,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IACvC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACpD;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACtE,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC;AACD,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAC1E,SAAQ,cAAc,CAAC,CAAC,CAAC;IACzB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACvD,SAAS,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzD,UAAU,EAAE,YAAY,CAAC,CAAC,C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Q,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EACP;QACE,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,GACD;QACE,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACR,UAAU,CAAC,EAAE,CAAC,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"future-types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACpE,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACrE,aAAa,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IACvC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACpE;AAED;;;;;;;GAOG;AACH,MAAM,WAA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C;IACf,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -70,7 +70,7 @@ declare class FutureContainerModel implements IFutureContainerModel {
70
70
  * actions on elements in a collection without requiring the models to have
71
71
  * explicit knowledge of the operation being performed.
72
72
  *
73
- * @category KOS Model
73
+ * @group KOS Model
74
74
  * @internal
75
75
  */
76
76
  /**
@@ -85,7 +85,7 @@ declare class FutureContainerModel implements IFutureContainerModel {
85
85
  * relationship.
86
86
  *
87
87
  * @returns - the collection of Future models maintained by this model.
88
- * @category KOS Model
88
+ * @group KOS Model
89
89
  * @internal
90
90
  */
91
91
  /**