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

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 +0 -30
  2. package/common/events/eventBus.d.ts.map +1 -1
  3. package/common/events/eventBus.functional.d.ts +0 -48
  4. package/common/events/eventBus.functional.d.ts.map +1 -1
  5. package/common/events/eventBus.state.d.ts +0 -33
  6. package/common/events/eventBus.state.d.ts.map +1 -1
  7. package/core/core/decorators/index.d.ts +0 -11
  8. package/core/core/decorators/index.d.ts.map +1 -1
  9. package/core/core/decorators/kos-child.d.ts +0 -2
  10. package/core/core/decorators/kos-child.d.ts.map +1 -1
  11. package/core/core/decorators/kos-companion.d.ts +8 -158
  12. package/core/core/decorators/kos-companion.d.ts.map +1 -1
  13. package/core/core/decorators/kos-context.d.ts +0 -6
  14. package/core/core/decorators/kos-context.d.ts.map +1 -1
  15. package/core/core/decorators/kos-http-decorators.d.ts +0 -15
  16. package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
  17. package/core/core/decorators/kos-log.d.ts +0 -4
  18. package/core/core/decorators/kos-log.d.ts.map +1 -1
  19. package/core/core/decorators/kos-model-effect.d.ts +0 -9
  20. package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
  21. package/core/core/decorators/kos-parent.d.ts +0 -4
  22. package/core/core/decorators/kos-parent.d.ts.map +1 -1
  23. package/core/core/decorators/kos-reference.d.ts +0 -9
  24. package/core/core/decorators/kos-reference.d.ts.map +1 -1
  25. package/core/core/decorators/kos-topic-handler-flow-control.d.ts +1 -17
  26. package/core/core/decorators/kos-topic-handler-flow-control.d.ts.map +1 -1
  27. package/core/core/decorators/kosDependency.d.ts +1 -4
  28. package/core/core/decorators/kosDependency.d.ts.map +1 -1
  29. package/core/core/decorators/kosModel.d.ts +2 -17
  30. package/core/core/decorators/kosModel.d.ts.map +1 -1
  31. package/core/core/decorators/kosSubscribe.d.ts +0 -9
  32. package/core/core/decorators/kosSubscribe.d.ts.map +1 -1
  33. package/core/core/decorators/kosTopicHandler.d.ts +5 -87
  34. package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
  35. package/core/core/decorators/propKeys.d.ts +0 -14
  36. package/core/core/decorators/propKeys.d.ts.map +1 -1
  37. package/core/core/decorators/resolve-parameters.d.ts.map +1 -1
  38. package/core/core/extension/extension-manager.d.ts +4 -64
  39. package/core/core/extension/extension-manager.d.ts.map +1 -1
  40. package/core/core/extension/initialize-extension.d.ts +0 -24
  41. package/core/core/extension/initialize-extension.d.ts.map +1 -1
  42. package/core/core/extension/plugin-extension-manager.d.ts +0 -11
  43. package/core/core/extension/plugin-extension-manager.d.ts.map +1 -1
  44. package/core/core/kos-container-model.d.ts +0 -188
  45. package/core/core/kos-container-model.d.ts.map +1 -1
  46. package/core/core/kos-data-container.d.ts +1 -93
  47. package/core/core/kos-data-container.d.ts.map +1 -1
  48. package/core/core/kos-registration.d.ts.map +1 -1
  49. package/core/core/kos-singleton-registration.d.ts.map +1 -1
  50. package/core/core/kosCore.d.ts.map +1 -1
  51. package/core/core/kosModel.d.ts +2 -55
  52. package/core/core/kosModel.d.ts.map +1 -1
  53. package/core/core/kosModelManager.d.ts +1 -11
  54. package/core/core/kosModelManager.d.ts.map +1 -1
  55. package/core/core/log/log.d.ts.map +1 -1
  56. package/core/core/model/apply-kos-dev-tool-support.d.ts.map +1 -1
  57. package/core/core/model/kos-fsm-manager.d.ts +4 -1
  58. package/core/core/model/kos-fsm-manager.d.ts.map +1 -1
  59. package/core/core/model/kos-model-component-factory.d.ts +0 -4
  60. package/core/core/model/kos-model-component-factory.d.ts.map +1 -1
  61. package/core/core/model/kos-offline-queue.d.ts +1 -78
  62. package/core/core/model/kos-offline-queue.d.ts.map +1 -1
  63. package/core/core/model/kos-online-lifecycle-manager.d.ts.map +1 -1
  64. package/core/core/model/kos-subscription-manager.d.ts +0 -20
  65. package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
  66. package/core/core/model/model-introspection-utils.d.ts +0 -1
  67. package/core/core/model/model-introspection-utils.d.ts.map +1 -1
  68. package/core/core/model-instantiator.d.ts +0 -19
  69. package/core/core/model-instantiator.d.ts.map +1 -1
  70. package/core/core/registration/index.d.ts +0 -1
  71. package/core/core/registration/index.d.ts.map +1 -1
  72. package/core/core/services/browser-router.d.ts.map +1 -1
  73. package/core/core/transport/webSocketTransport.d.ts +1 -2
  74. package/core/core/transport/webSocketTransport.d.ts.map +1 -1
  75. package/core/core/types/registration.d.ts +0 -7
  76. package/core/core/types/registration.d.ts.map +1 -1
  77. package/core/index.d.ts +1 -2
  78. package/core/index.d.ts.map +1 -1
  79. package/core/types/index.d.ts +0 -1
  80. package/core/types/index.d.ts.map +1 -1
  81. package/core/types/kos-dependency.d.ts +1 -48
  82. package/core/types/kos-dependency.d.ts.map +1 -1
  83. package/core/types/utils/kos-fetch.d.ts +0 -121
  84. package/core/types/utils/kos-fetch.d.ts.map +1 -1
  85. package/core/util/api-request-id.d.ts +0 -4
  86. package/core/util/api-request-id.d.ts.map +1 -1
  87. package/core/util/apply-mixins.d.ts +0 -4
  88. package/core/util/apply-mixins.d.ts.map +1 -1
  89. package/core/util/array-utils.d.ts +0 -4
  90. package/core/util/array-utils.d.ts.map +1 -1
  91. package/core/util/container-utils.d.ts +11 -264
  92. package/core/util/container-utils.d.ts.map +1 -1
  93. package/core/util/date-utils.d.ts +0 -29
  94. package/core/util/date-utils.d.ts.map +1 -1
  95. package/core/util/debounce.d.ts +0 -3
  96. package/core/util/debounce.d.ts.map +1 -1
  97. package/core/util/feature-flags.d.ts +0 -19
  98. package/core/util/feature-flags.d.ts.map +1 -1
  99. package/core/util/get-query-params.d.ts +0 -4
  100. package/core/util/get-query-params.d.ts.map +1 -1
  101. package/core/util/hsl-to-hex.d.ts +0 -16
  102. package/core/util/hsl-to-hex.d.ts.map +1 -1
  103. package/core/util/index.d.ts +0 -3
  104. package/core/util/index.d.ts.map +1 -1
  105. package/core/util/kos-config-init.d.ts +0 -37
  106. package/core/util/kos-config-init.d.ts.map +1 -1
  107. package/core/util/kos-data-mapper-utils.d.ts +0 -9
  108. package/core/util/kos-data-mapper-utils.d.ts.map +1 -1
  109. package/core/util/kos-fetch.d.ts +0 -12
  110. package/core/util/kos-fetch.d.ts.map +1 -1
  111. package/core/util/kos-message-utils.d.ts +0 -88
  112. package/core/util/kos-message-utils.d.ts.map +1 -1
  113. package/core/util/kos-model-utils.d.ts +0 -46
  114. package/core/util/kos-model-utils.d.ts.map +1 -1
  115. package/core/util/kos-model-visitor.d.ts +0 -2
  116. package/core/util/kos-model-visitor.d.ts.map +1 -1
  117. package/core/util/kos-service-request.d.ts +3 -43
  118. package/core/util/kos-service-request.d.ts.map +1 -1
  119. package/core/util/log-utils.d.ts +0 -12
  120. package/core/util/log-utils.d.ts.map +1 -1
  121. package/core/util/middleware.d.ts +0 -15
  122. package/core/util/middleware.d.ts.map +1 -1
  123. package/core/util/model-attribute-utils.d.ts +0 -7
  124. package/core/util/model-attribute-utils.d.ts.map +1 -1
  125. package/core/util/model-factory.d.ts +0 -4
  126. package/core/util/model-factory.d.ts.map +1 -1
  127. package/core/util/model-registration-utils.d.ts +0 -8
  128. package/core/util/model-registration-utils.d.ts.map +1 -1
  129. package/core/util/model-utils.d.ts +29 -40
  130. package/core/util/model-utils.d.ts.map +1 -1
  131. package/core/util/observable-proxy-map.d.ts +0 -11
  132. package/core/util/observable-proxy-map.d.ts.map +1 -1
  133. package/core/util/paired-client-heartbeat.d.ts +0 -2
  134. package/core/util/paired-client-heartbeat.d.ts.map +1 -1
  135. package/core/util/pipe.d.ts +0 -4
  136. package/core/util/pipe.d.ts.map +1 -1
  137. package/core/util/retry-with-exponential-backoff.d.ts +0 -3
  138. package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
  139. package/core/util/service-factory.d.ts +0 -10
  140. package/core/util/service-factory.d.ts.map +1 -1
  141. package/core/util/session-utils.d.ts +0 -8
  142. package/core/util/session-utils.d.ts.map +1 -1
  143. package/core/util/wait-for-request.d.ts +0 -16
  144. package/core/util/wait-for-request.d.ts.map +1 -1
  145. package/core/util/when-ready.d.ts +0 -3
  146. package/core/util/when-ready.d.ts.map +1 -1
  147. package/index.cjs +123 -26909
  148. package/index.cjs.map +1 -1
  149. package/index.d.cts +3 -6
  150. package/index.d.ts +3 -6
  151. package/index.d.ts.map +1 -1
  152. package/index.js +13460 -25275
  153. package/index.js.map +1 -1
  154. package/models/constants/index.d.ts +1 -3
  155. package/models/constants/index.d.ts.map +1 -1
  156. package/models/decorators/future-service.d.ts +2 -27
  157. package/models/decorators/future-service.d.ts.map +1 -1
  158. package/models/models/browser-router/browser-router-model.d.ts +1 -80
  159. package/models/models/browser-router/browser-router-model.d.ts.map +1 -1
  160. package/models/models/browser-router/types/index.d.ts +1 -26
  161. package/models/models/canvas-dispatcher/types/index.d.ts +0 -5
  162. package/models/models/canvas-renderer/types/index.d.ts +0 -5
  163. package/models/models/config-bean/config-bean-model-builder.d.ts +2 -4
  164. package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -1
  165. package/models/models/config-bean/config-bean-model.d.ts +13 -117
  166. package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
  167. package/models/models/config-bean/config-bean-types.d.ts +3 -6
  168. package/models/models/config-bean/config-bean-types.d.ts.map +1 -1
  169. package/models/models/config-bean-prop/config-bean-prop-model.d.ts +1 -112
  170. package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
  171. package/models/models/config-bean-prop/types/index.d.ts +19 -301
  172. package/models/models/device/device-model.d.ts +9 -219
  173. package/models/models/device/device-model.d.ts.map +1 -1
  174. package/models/models/device/device-registration.d.ts +48 -61
  175. package/models/models/device/device-registration.d.ts.map +1 -1
  176. package/models/models/device/types/index.d.ts +0 -42
  177. package/models/models/future/future-aware.d.ts +0 -82
  178. package/models/models/future/future-aware.d.ts.map +1 -1
  179. package/models/models/future/future-model.d.ts +5 -34
  180. package/models/models/future/future-model.d.ts.map +1 -1
  181. package/models/models/future/future-types.d.ts +9 -202
  182. package/models/models/future/future-types.d.ts.map +1 -1
  183. package/models/models/future-container/future-container-model.d.ts +2 -2
  184. package/models/models/index.d.ts +0 -1
  185. package/models/models/index.d.ts.map +1 -1
  186. package/models/models/key-value/index.d.ts +0 -4
  187. package/models/models/key-value/index.d.ts.map +1 -1
  188. package/models/models/key-value/key-value-model.d.ts +0 -111
  189. package/models/models/key-value/key-value-model.d.ts.map +1 -1
  190. package/models/models/key-value/services/key-value-services.d.ts +2 -124
  191. package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
  192. package/models/models/key-value/types/index.d.ts +0 -57
  193. package/models/models/kos-log-manager/kos-log-manager-model.d.ts +14 -61
  194. package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
  195. package/models/models/kos-log-manager/types/index.d.ts +0 -191
  196. package/models/models/kos-time/kos-time-model.d.ts +0 -64
  197. package/models/models/kos-time/kos-time-model.d.ts.map +1 -1
  198. package/models/models/kos-time/types/index.d.ts +0 -83
  199. package/models/models/log-block/log-block-container-model.d.ts +0 -132
  200. package/models/models/log-block/log-block-container-model.d.ts.map +1 -1
  201. package/models/models/log-block/log-block-model.d.ts +0 -185
  202. package/models/models/log-block/log-block-model.d.ts.map +1 -1
  203. package/models/models/log-block/types/index.d.ts +0 -133
  204. package/models/models/log-stream/index.d.ts +2 -6
  205. package/models/models/log-stream/index.d.ts.map +1 -1
  206. package/models/models/log-stream/log-stream-container-model.d.ts +0 -62
  207. package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -1
  208. package/models/models/log-stream/log-stream-model.d.ts +0 -55
  209. package/models/models/log-stream/log-stream-model.d.ts.map +1 -1
  210. package/models/models/log-stream/services/log-stream-services.d.ts +1 -2
  211. package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -1
  212. package/models/models/log-stream/types/index.d.ts +0 -79
  213. package/models/models/network-interface/index.d.ts +2 -6
  214. package/models/models/network-interface/index.d.ts.map +1 -1
  215. package/models/models/network-interface/network-interface-container-model.d.ts +0 -62
  216. package/models/models/network-interface/network-interface-container-model.d.ts.map +1 -1
  217. package/models/models/network-interface/network-interface-container-registration.d.ts +1 -2
  218. package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -1
  219. package/models/models/network-interface/network-interface-model.d.ts +0 -77
  220. package/models/models/network-interface/network-interface-model.d.ts.map +1 -1
  221. package/models/models/network-interface/network-interface-registration.d.ts +1 -2
  222. package/models/models/network-interface/network-interface-registration.d.ts.map +1 -1
  223. package/models/models/network-interface/services/network-interface-services.d.ts +0 -54
  224. package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
  225. package/models/models/network-interface/types/index.d.ts +0 -22
  226. package/models/models/ota/ota-model.d.ts +0 -79
  227. package/models/models/ota/ota-model.d.ts.map +1 -1
  228. package/models/models/ota/types/index.d.ts +0 -177
  229. package/models/models/region-info/region-info-model.d.ts +3 -8
  230. package/models/models/region-info/region-info-model.d.ts.map +1 -1
  231. package/models/models/region-info/services/region-info-services.d.ts +2 -2
  232. package/models/models/region-info/services/region-info-services.d.ts.map +1 -1
  233. package/models/models/region-info/types/index.d.ts +13 -191
  234. package/models/models/region-info/types/index.d.ts.map +1 -1
  235. package/models/models/region-info/utils/unit-system-utils.d.ts.map +1 -1
  236. package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
  237. package/models/models/software-info/software-info-model.d.ts +2 -74
  238. package/models/models/software-info/software-info-model.d.ts.map +1 -1
  239. package/models/models/software-info/types/index.d.ts +17 -52
  240. package/models/models/state-bean/state-bean-model.d.ts +9 -86
  241. package/models/models/state-bean/state-bean-model.d.ts.map +1 -1
  242. package/models/models/state-bean/types/index.d.ts +6 -117
  243. package/models/models/state-prop/state-prop-model.d.ts +1 -78
  244. package/models/models/state-prop/state-prop-model.d.ts.map +1 -1
  245. package/models/models/state-prop/types/index.d.ts +7 -57
  246. package/models/models/storage-device/services/storage-device-services.d.ts +0 -1
  247. package/models/models/storage-device/services/storage-device-services.d.ts.map +1 -1
  248. package/models/models/storage-device/storage-device-container-model.d.ts +2 -289
  249. package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -1
  250. package/models/models/storage-device/storage-device-model.d.ts +2 -84
  251. package/models/models/storage-device/storage-device-model.d.ts.map +1 -1
  252. package/models/models/storage-device/types/index.d.ts +0 -114
  253. package/models/models/studio-properties/studio-properties-model.d.ts +0 -75
  254. package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
  255. package/models/models/studio-properties/types/index.d.ts +0 -29
  256. package/models/models/translation/services/translation-services.d.ts +2 -128
  257. package/models/models/translation/services/translation-services.d.ts.map +1 -1
  258. package/models/models/translation/translation-container-model.d.ts +10 -100
  259. package/models/models/translation/translation-container-model.d.ts.map +1 -1
  260. package/models/models/translation/translation-container-registration.d.ts +1 -2
  261. package/models/models/translation/translation-container-registration.d.ts.map +1 -1
  262. package/models/models/translation/translation-context.d.ts +16 -1
  263. package/models/models/translation/translation-context.d.ts.map +1 -1
  264. package/models/models/translation/translation-model.d.ts +1 -113
  265. package/models/models/translation/translation-model.d.ts.map +1 -1
  266. package/models/models/translation/types/index.d.ts +0 -343
  267. package/models/models/trouble/index.d.ts +1 -2
  268. package/models/models/trouble/index.d.ts.map +1 -1
  269. package/models/models/trouble/services/trouble-services.d.ts +4 -6
  270. package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
  271. package/models/models/trouble/trouble-model.d.ts +1 -4
  272. package/models/models/trouble/trouble-model.d.ts.map +1 -1
  273. package/models/models/trouble/types/index.d.ts +93 -34
  274. package/models/models/trouble/utils/is-trouble-aware.d.ts +2 -2
  275. package/models/models/trouble/utils/is-trouble-aware.d.ts.map +1 -1
  276. package/models/models/trouble-container/index.d.ts +3 -4
  277. package/models/models/trouble-container/index.d.ts.map +1 -1
  278. package/models/models/trouble-container/trouble-container-model.d.ts +6 -10
  279. package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
  280. package/models/models/trouble-container/trouble-container-registration.d.ts +5 -0
  281. package/models/models/trouble-container/trouble-container-registration.d.ts.map +1 -0
  282. package/models/models/trouble-container/types/index.d.ts +15 -6
  283. package/models/models/usb-update/types/index.d.ts +0 -10
  284. package/models/services/config-bean/index.d.ts +2 -2
  285. package/models/services/config-bean/index.d.ts.map +1 -1
  286. package/models/utils/client.d.ts +12 -16
  287. package/models/utils/client.d.ts.map +1 -1
  288. package/models/utils/core-registration-manager.d.ts +1 -1
  289. package/models/utils/core-registration-manager.d.ts.map +1 -1
  290. package/models/utils/extension-manager.d.ts +13 -54
  291. package/models/utils/extension-manager.d.ts.map +1 -1
  292. package/models/utils/index.d.ts +2 -3
  293. package/models/utils/index.d.ts.map +1 -1
  294. package/models/utils/kosmodel-compatible-future-mixin.d.ts +142 -0
  295. package/models/utils/kosmodel-compatible-future-mixin.d.ts.map +1 -0
  296. package/models/utils/kosmodel-interface-companion-mixin.d.ts +83 -0
  297. package/models/utils/kosmodel-interface-companion-mixin.d.ts.map +1 -0
  298. package/models/utils/service.d.ts +13 -91
  299. package/models/utils/service.d.ts.map +1 -1
  300. package/package.json +2 -16
  301. package/ui/contexts/kos-core-context.d.ts.map +1 -1
  302. package/ui/contexts/state-bean/state-bean-provider.d.ts.map +1 -1
  303. package/ui/hooks/device/use-device.d.ts +0 -6
  304. package/ui/hooks/device/use-device.d.ts.map +1 -1
  305. package/ui/hooks/index.d.ts +0 -1
  306. package/ui/hooks/index.d.ts.map +1 -1
  307. package/ui/hooks/kos-time/use-kos-time.d.ts +0 -6
  308. package/ui/hooks/kos-time/use-kos-time.d.ts.map +1 -1
  309. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts +0 -6
  310. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -1
  311. package/ui/hooks/ota/use-ota.d.ts +0 -6
  312. package/ui/hooks/ota/use-ota.d.ts.map +1 -1
  313. package/ui/hooks/software-info/use-software-info.d.ts +0 -6
  314. package/ui/hooks/software-info/use-software-info.d.ts.map +1 -1
  315. package/ui/hooks/state-bean/use-state-bean.d.ts +2 -2
  316. package/ui/hooks/state-bean/use-state-bean.d.ts.map +1 -1
  317. package/ui/hooks/state-bean/with-state-bean.d.ts.map +1 -1
  318. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +0 -6
  319. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -1
  320. package/ui/hooks/translation-container/trans.d.ts +0 -6
  321. package/ui/hooks/translation-container/trans.d.ts.map +1 -1
  322. package/ui/hooks/translation-container/use-translation-container.d.ts +33 -10
  323. package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -1
  324. package/ui/hooks/translation-container/use-translation.d.ts +0 -7
  325. package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
  326. package/ui/hooks/translation-container/with-translation-container.d.ts +0 -6
  327. package/ui/hooks/translation-container/with-translation-container.d.ts.map +1 -1
  328. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts +0 -6
  329. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -1
  330. package/ui/hooks/use-config-bean.d.ts +0 -6
  331. package/ui/hooks/use-config-bean.d.ts.map +1 -1
  332. package/ui/hooks/use-config-property.d.ts +0 -6
  333. package/ui/hooks/use-config-property.d.ts.map +1 -1
  334. package/ui/hooks/use-kos-model.d.ts +0 -7
  335. package/ui/hooks/use-kos-model.d.ts.map +1 -1
  336. package/ui/hooks/use-kos-regions.d.ts.map +1 -1
  337. package/core/constants/model-constants.d.ts +0 -9
  338. package/core/constants/model-constants.d.ts.map +0 -1
  339. package/core/core/companion-instantiator.d.ts +0 -71
  340. package/core/core/companion-instantiator.d.ts.map +0 -1
  341. package/core/core/decorators/fsm-injection-utils.d.ts +0 -16
  342. package/core/core/decorators/fsm-injection-utils.d.ts.map +0 -1
  343. package/core/core/decorators/kos-container-aware.d.ts +0 -619
  344. package/core/core/decorators/kos-container-aware.d.ts.map +0 -1
  345. package/core/core/decorators/kos-execution-context.d.ts +0 -63
  346. package/core/core/decorators/kos-execution-context.d.ts.map +0 -1
  347. package/core/core/decorators/kos-future-aware.d.ts +0 -162
  348. package/core/core/decorators/kos-future-aware.d.ts.map +0 -1
  349. package/core/core/decorators/kos-logger-aware.d.ts +0 -105
  350. package/core/core/decorators/kos-logger-aware.d.ts.map +0 -1
  351. package/core/core/decorators/kos-multiple-future-aware.d.ts +0 -217
  352. package/core/core/decorators/kos-multiple-future-aware.d.ts.map +0 -1
  353. package/core/core/decorators/kos-service-request-helpers.d.ts +0 -60
  354. package/core/core/decorators/kos-service-request-helpers.d.ts.map +0 -1
  355. package/core/core/decorators/kos-service-request.d.ts +0 -498
  356. package/core/core/decorators/kos-service-request.d.ts.map +0 -1
  357. package/core/core/decorators/kos-state-machine.d.ts +0 -534
  358. package/core/core/decorators/kos-state-machine.d.ts.map +0 -1
  359. package/core/core/decorators/kos-trouble-aware.d.ts +0 -77
  360. package/core/core/decorators/kos-trouble-aware.d.ts.map +0 -1
  361. package/core/core/decorators/kos-view-model.d.ts +0 -176
  362. package/core/core/decorators/kos-view-model.d.ts.map +0 -1
  363. package/core/core/model/kos-service-request-manager.d.ts +0 -102
  364. package/core/core/model/kos-service-request-manager.d.ts.map +0 -1
  365. package/core/core/model/service-response-store.d.ts +0 -164
  366. package/core/core/model/service-response-store.d.ts.map +0 -1
  367. package/core/types/service-response-store.d.ts +0 -162
  368. package/core/types/service-response-store.d.ts.map +0 -1
  369. package/core/util/ancestor-path-visitor.d.ts +0 -60
  370. package/core/util/ancestor-path-visitor.d.ts.map +0 -1
  371. package/core/util/error-logger.d.ts +0 -16
  372. package/core/util/error-logger.d.ts.map +0 -1
  373. package/core/util/model-error-utils.d.ts +0 -61
  374. package/core/util/model-error-utils.d.ts.map +0 -1
  375. package/core/util/model-transition-utils.d.ts +0 -41
  376. package/core/util/model-transition-utils.d.ts.map +0 -1
  377. package/core/util/model-type-guards.d.ts +0 -26
  378. package/core/util/model-type-guards.d.ts.map +0 -1
  379. package/core/util/promise-utils.d.ts +0 -58
  380. package/core/util/promise-utils.d.ts.map +0 -1
  381. package/core/util/service-request-error.d.ts +0 -60
  382. package/core/util/service-request-error.d.ts.map +0 -1
  383. package/core/util/service-response.d.ts +0 -125
  384. package/core/util/service-response.d.ts.map +0 -1
  385. package/kos-models.json +0 -426
  386. package/models/models/config-bean/types/index.d.ts +0 -34
  387. package/models/models/gpio-chip/gpio-chip-container-model.d.ts +0 -25
  388. package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +0 -1
  389. package/models/models/gpio-chip/gpio-chip-model.d.ts +0 -30
  390. package/models/models/gpio-chip/gpio-chip-model.d.ts.map +0 -1
  391. package/models/models/gpio-chip/index.d.ts +0 -7
  392. package/models/models/gpio-chip/index.d.ts.map +0 -1
  393. package/models/models/gpio-chip/services/gpio-chip-services.d.ts +0 -86
  394. package/models/models/gpio-chip/services/gpio-chip-services.d.ts.map +0 -1
  395. package/models/models/gpio-chip/services/index.d.ts +0 -2
  396. package/models/models/gpio-chip/services/index.d.ts.map +0 -1
  397. package/models/models/gpio-chip/types/index.d.ts +0 -24
  398. package/models/models/gpio-pin/gpio-pin-container-model.d.ts +0 -23
  399. package/models/models/gpio-pin/gpio-pin-container-model.d.ts.map +0 -1
  400. package/models/models/gpio-pin/gpio-pin-model.d.ts +0 -26
  401. package/models/models/gpio-pin/gpio-pin-model.d.ts.map +0 -1
  402. package/models/models/gpio-pin/index.d.ts +0 -6
  403. package/models/models/gpio-pin/index.d.ts.map +0 -1
  404. package/models/models/gpio-pin/types/index.d.ts +0 -23
  405. package/models/models/kos-expression-evaluator/index.d.ts +0 -4
  406. package/models/models/kos-expression-evaluator/index.d.ts.map +0 -1
  407. package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts +0 -209
  408. package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts.map +0 -1
  409. package/models/models/kos-expression-evaluator/services/index.d.ts +0 -6
  410. package/models/models/kos-expression-evaluator/services/index.d.ts.map +0 -1
  411. package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts +0 -15
  412. package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts.map +0 -1
  413. package/models/models/kos-expression-evaluator/types/index.d.ts +0 -6
  414. package/models/utils/get-kos-connection-id.d.ts +0 -2
  415. package/models/utils/get-kos-connection-id.d.ts.map +0 -1
  416. package/models/utils/openapi-index.d.ts +0 -3
  417. package/models/utils/openapi-index.d.ts.map +0 -1
  418. package/models/utils/service-accessor.d.ts +0 -86
  419. package/models/utils/service-accessor.d.ts.map +0 -1
  420. package/models/utils/services/kos/1.6.5/openapi.d.ts +0 -3809
  421. package/models/utils/services/kos/1.6.5/service.d.ts +0 -124
  422. package/models/utils/services/kos/1.6.5/service.d.ts.map +0 -1
  423. package/models/utils/services/kos/1.8.1/openapi.d.ts +0 -4344
  424. package/models/utils/services/kos/1.8.1/service.d.ts +0 -124
  425. package/models/utils/services/kos/1.8.1/service.d.ts.map +0 -1
  426. package/models/utils/services/kos/1.9.x/openapi.d.ts +0 -4597
  427. package/models/utils/services/kos/1.9.x/service.d.ts +0 -124
  428. package/models/utils/services/kos/1.9.x/service.d.ts.map +0 -1
  429. package/models/utils/services/kos/daily/openapi.d.ts +0 -4349
  430. package/models/utils/services/kos/daily/service.d.ts +0 -124
  431. package/models/utils/services/kos/daily/service.d.ts.map +0 -1
  432. package/models/utils/services/vfs/1.6.5/openapi.d.ts +0 -51
  433. package/models/utils/services/vfs/1.6.5/service.d.ts +0 -124
  434. package/models/utils/services/vfs/1.6.5/service.d.ts.map +0 -1
  435. package/models/utils/services/vfs/1.8.1/openapi.d.ts +0 -51
  436. package/models/utils/services/vfs/1.8.1/service.d.ts +0 -124
  437. package/models/utils/services/vfs/1.8.1/service.d.ts.map +0 -1
  438. package/models/utils/services/vfs/1.9.x/openapi.d.ts +0 -51
  439. package/models/utils/services/vfs/1.9.x/service.d.ts +0 -124
  440. package/models/utils/services/vfs/1.9.x/service.d.ts.map +0 -1
  441. package/models/utils/services/vfs/daily/openapi.d.ts +0 -51
  442. package/models/utils/services/vfs/daily/service.d.ts +0 -124
  443. package/models/utils/services/vfs/daily/service.d.ts.map +0 -1
  444. package/models/utils/services-index.d.ts +0 -9
  445. package/models/utils/services-index.d.ts.map +0 -1
  446. package/ui/hooks/view-model/index.d.ts +0 -2
  447. package/ui/hooks/view-model/index.d.ts.map +0 -1
  448. package/ui/hooks/view-model/use-view-model.d.ts +0 -80
  449. package/ui/hooks/view-model/use-view-model.d.ts.map +0 -1
@@ -3,100 +3,87 @@ import { DeviceModel } from './device-model';
3
3
  import { SingletonKosModelRegistrationFactory } from '../../../core';
4
4
 
5
5
  /**
6
- * # Device Model Registration Factory
6
+ * # Device
7
7
  *
8
- * **KOS Device Identity and Node Configuration Management**
8
+ * The registration bean includes convenience methods for creating and working with DeviceModel instances.
9
9
  *
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.
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.
12
14
  *
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.
19
- *
20
- * @example Model Dependency Declaration
15
+ * @example
21
16
  * ```typescript
17
+ *
22
18
  * @kosDependency({modelType: Device.type, id: "deviceId"})
23
19
  * private deviceModel: DeviceModel;
24
20
  * ```
25
21
  *
26
- * ### factory
27
22
  *
28
- * Creates DeviceModel instances with singleton behavior. Multiple calls return the same instance,
29
- * ensuring system-wide device identity consistency.
23
+ * ## factory
30
24
  *
31
- * **Singleton Behavior**: Subsequent factory calls return existing instance; options ignored after first creation.
25
+ * The factory method creates a factory function that can be used to create new DeviceModel instances.
32
26
  *
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
- * });
27
+
28
+ * As this is a singleton model, the factory function accepts the model options as its argument.
40
29
  *
41
- * // Access device identity
42
- * console.log(`Device: ${device.name} (${device.serialNumber})`);
43
- * console.log(`Node: ${device.nodeType}-${device.nodeName}`);
44
- * ```
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.
45
32
  *
46
- * @example Multi-node System Coordination
33
+ * @example
47
34
  * ```typescript
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
- * }
35
+ * const model = Device.factory({
36
+ * // Add option data
37
+ * });
55
38
  * ```
39
+
40
+
56
41
  *
57
- * ### predicate
42
+ * ## predicate
58
43
  *
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.
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.
61
45
  *
62
- * @example Type Narrowing for Device Operations
46
+ * @example
63
47
  * ```typescript
64
- * const model: IKosDataModel = getModel(); // some model
48
+ *
49
+ * const model: IKosDataModel = ...; // some model
65
50
  *
66
51
  * if (Device.predicate(model)) {
67
- * // Compiler now knows model is DeviceModel
68
- * console.log(`Device Serial: ${model.serialNumber}`);
69
- * model.updateModel({ name: 'Updated Name' });
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);
70
55
  * }
71
56
  * ```
72
57
  *
73
- * ### registration
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.
74
62
  *
75
- * Registration object for model registry integration. Provides all required information
76
- * for registering the DeviceModelImpl implementation with the model registry.
77
63
  *
78
- * @example Model Registry Configuration
64
+ * @example
65
+ *
66
+ * In an application registration file you can declare the model registration as follows:
67
+ *
68
+ * **registration.ts**
79
69
  * ```typescript
80
- * // registration.ts
81
70
  * import { Device } from "@kos-ui/project-models";
82
71
  * import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
83
72
  *
73
+ * import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
74
+ *
84
75
  * KosModelRegistry.dispense
85
- * .models()
86
- * .model(Device);
76
+ * .models()
77
+ * .model(Device);
87
78
  * ```
88
79
  *
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
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.
97
84
  *
98
- * @group KOS Model
99
- * @category Device Data
100
- */
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
+ * */
101
88
  export declare const Device: SingletonKosModelRegistrationFactory<DeviceModel, DeviceOptions>;
102
89
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkFK;AACL,eAAO,MAAM,MAAM,kEAMjB,CAAC"}
@@ -1,47 +1,5 @@
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
- */
23
1
  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
- */
30
2
  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
- */
38
3
  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
- */
46
4
  nodeId?: string;
47
5
  }
@@ -1,45 +1,5 @@
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
- */
43
3
  export declare class MultipleFutureHandler<T extends {} = Record<string, unknown>> implements FutureAwareContainer<T>, MultiFutureAware<T> {
44
4
  private futures;
45
5
  private defaultContext;
@@ -54,48 +14,6 @@ export declare class MultipleFutureHandler<T extends {} = Record<string, unknown
54
14
  getFuture(alias?: string): IFutureModel<T> | undefined;
55
15
  get futureMap(): Map<string, IFutureModel<T>>;
56
16
  }
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
- */
99
17
  export declare class FutureHandler<T extends object = Record<string, unknown>> implements FutureAwareContainer<T> {
100
18
  private disposer?;
101
19
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,qBAAqB,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACvE,YAAW,oBAAoB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAEvD,OAAO,CAAC,OAAO,CAA+B;IAC9C,OAAO,CAAC,cAAc,CAAS;IAC/B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,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
- * @internal
30
+ * @category Lifecycle
31
31
  *
32
32
  * @remarks
33
33
  * No action is taken as part of the load lifecycle method.
@@ -35,9 +35,6 @@ 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
- */
41
38
  unload(): void;
42
39
  /**
43
40
  * @category Action
@@ -51,42 +48,16 @@ declare class FutureModel implements IFutureModel {
51
48
  * @see cancelFutureService
52
49
  */
53
50
  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
- */
68
51
  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
- */
82
52
  get timeRemaining(): string;
83
53
  /**
84
- * @internal
85
54
  * @category Subscription
86
- * Updates the Future model when a `kos.future/{ID}` event
55
+ * Updates the Future model when a `kos.future/ID` event
87
56
  * is received from the server.
88
57
  *
89
- * @param future - the Future that was updated.
58
+ *
59
+ * @param data - the raw callback
60
+ * @param data.body - the Future that was updated.
90
61
  * @see FutureResponse
91
62
  */
92
63
  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;;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
+ {"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,123 +1,23 @@
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
- */
12
4
  export interface FutureDelegate<T extends {} = Record<string, unknown>> {
13
5
  future?: IFutureModel<T>;
14
6
  }
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
- */
44
7
  export interface FutureContainer<T extends {} = Record<string, unknown>> {
45
8
  futureHandler: FutureAwareContainer<T>;
46
- onFutureUpdate?: (future: IFutureModel<T>, alias?: string) => void;
9
+ onFutureUpdate?: (future: IFutureModel<T>) => void;
47
10
  }
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
- */
56
11
  export interface MultiFutureAware<T extends {} = Record<string, unknown>> {
57
12
  futureMap: Map<string, IFutureModel<T>>;
58
13
  }
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
- */
86
14
  export interface FutureAwareContainer<T extends {} = Record<string, unknown>> extends FutureDelegate<T> {
87
15
  removeFuture(alias?: string): void;
88
16
  getFuture(alias?: string): IFutureModel<T> | undefined;
89
17
  addFuture(future: IFutureModel<T>, alias?: string): void;
90
18
  allFutures: IFutureModel<T>[];
91
- onFutureUpdate?: (future: IFutureModel<T>, alias?: string) => void;
19
+ onFutureUpdate?: (future: IFutureModel<T>) => void;
92
20
  }
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
- */
121
21
  export interface FutureAware {
122
22
  readonly statusFuture?: IFutureModel;
123
23
  status: string;
@@ -126,35 +26,16 @@ export interface FutureAware {
126
26
  cancel: () => Promise<void>;
127
27
  }
128
28
  /**
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.
29
+ * Additional properties that can be passed into the constructor in order
30
+ * to set initial values
133
31
  *
134
32
  * @remarks
135
33
  * Used to identify additional data that can be set on the model during
136
- * instantiation. It is expected that implementers will set these properties
137
- * in the constructor. The value <strong>might</strong> be overridden by
34
+ * instantiation. It is expected that implementers will set these properties
35
+ * in the constructor. The value <strong>might</strong> be overriden by
138
36
  * subsequent lifecycle methods or updates.
139
37
  *
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
38
+ * @category future
158
39
  */
159
40
  export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
160
41
  id: string;
@@ -178,83 +59,9 @@ export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
178
59
  note?: string;
179
60
  }
180
61
  /**
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
62
+ * Represents the public interface of a `IFutureModel`
253
63
  *
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
64
+ * @category Model
258
65
  */
259
66
  export interface IFutureModel<T extends {} = Record<string, unknown>> extends IKosDataModel, Omit<IFutureModelOptions<T>, "modifyFuture"> {
260
67
  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;;;;;;;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;;;;;;;;;;;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,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,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,G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AAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACR,UAAU,CAAC,EAAE,CAAC,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAClE,SAAQ,aAAa,EACnB,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,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"}
@@ -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
- * @group KOS Model
73
+ * @category 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
- * @group KOS Model
88
+ * @category KOS Model
89
89
  * @internal
90
90
  */
91
91
  /**