@kosdev-code/kos-ui-sdk 3.0.25 → 3.0.27

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 (355) hide show
  1. package/.kos.json +3 -2
  2. package/common/events/async-event-bus.d.ts +8 -11
  3. package/common/events/async-event-bus.d.ts.map +1 -1
  4. package/common/events/eventBus.d.ts +1 -18
  5. package/common/events/eventBus.d.ts.map +1 -1
  6. package/core/core/companion-instantiator.d.ts +5 -0
  7. package/core/core/companion-instantiator.d.ts.map +1 -1
  8. package/core/core/decorators/index.d.ts +1 -0
  9. package/core/core/decorators/index.d.ts.map +1 -1
  10. package/core/core/decorators/kos-child.d.ts +2 -3
  11. package/core/core/decorators/kos-child.d.ts.map +1 -1
  12. package/core/core/decorators/kos-companion.d.ts +25 -87
  13. package/core/core/decorators/kos-companion.d.ts.map +1 -1
  14. package/core/core/decorators/kos-container-aware-reconcile.test-d.d.ts +2 -0
  15. package/core/core/decorators/kos-container-aware-reconcile.test-d.d.ts.map +1 -0
  16. package/core/core/decorators/kos-container-aware.d.ts +191 -420
  17. package/core/core/decorators/kos-container-aware.d.ts.map +1 -1
  18. package/core/core/decorators/kos-execute-service-request.d.ts +7 -11
  19. package/core/core/decorators/kos-execute-service-request.d.ts.map +1 -1
  20. package/core/core/decorators/kos-execution-context.d.ts +14 -31
  21. package/core/core/decorators/kos-execution-context.d.ts.map +1 -1
  22. package/core/core/decorators/kos-future-aware.d.ts +21 -74
  23. package/core/core/decorators/kos-future-aware.d.ts.map +1 -1
  24. package/core/core/decorators/kos-http-decorators.d.ts +18 -62
  25. package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
  26. package/core/core/decorators/kos-logger-aware.d.ts +10 -60
  27. package/core/core/decorators/kos-logger-aware.d.ts.map +1 -1
  28. package/core/core/decorators/kos-mixin.d.ts +67 -0
  29. package/core/core/decorators/kos-mixin.d.ts.map +1 -0
  30. package/core/core/decorators/kos-model-effect.d.ts +10 -9
  31. package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
  32. package/core/core/decorators/kos-multiple-future-aware.d.ts +22 -131
  33. package/core/core/decorators/kos-multiple-future-aware.d.ts.map +1 -1
  34. package/core/core/decorators/kos-reload-aware.d.ts +14 -14
  35. package/core/core/decorators/kos-reload-aware.d.ts.map +1 -1
  36. package/core/core/decorators/kos-service-request-helpers.d.ts +3 -1
  37. package/core/core/decorators/kos-service-request-helpers.d.ts.map +1 -1
  38. package/core/core/decorators/kos-service-request.d.ts +85 -265
  39. package/core/core/decorators/kos-service-request.d.ts.map +1 -1
  40. package/core/core/decorators/kos-state-machine.d.ts +44 -273
  41. package/core/core/decorators/kos-state-machine.d.ts.map +1 -1
  42. package/core/core/decorators/kos-topic-handler-flow-control.d.ts +37 -29
  43. package/core/core/decorators/kos-topic-handler-flow-control.d.ts.map +1 -1
  44. package/core/core/decorators/kos-trouble-aware.d.ts +9 -43
  45. package/core/core/decorators/kos-trouble-aware.d.ts.map +1 -1
  46. package/core/core/decorators/kos-view-model.d.ts +20 -100
  47. package/core/core/decorators/kos-view-model.d.ts.map +1 -1
  48. package/core/core/decorators/kosDependency.d.ts +4 -2
  49. package/core/core/decorators/kosDependency.d.ts.map +1 -1
  50. package/core/core/decorators/kosModel.d.ts.map +1 -1
  51. package/core/core/decorators/kosTopicHandler.d.ts +28 -98
  52. package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
  53. package/core/core/decorators/propKeys.d.ts +1 -0
  54. package/core/core/decorators/propKeys.d.ts.map +1 -1
  55. package/core/core/extension/extension-manager.d.ts.map +1 -1
  56. package/core/core/indexing/index.d.ts +2 -4
  57. package/core/core/indexing/index.d.ts.map +1 -1
  58. package/core/core/indexing/kos-container-index-aware.d.ts +17 -48
  59. package/core/core/indexing/kos-container-index-aware.d.ts.map +1 -1
  60. package/core/core/indexing/kos-index-aware.d.ts +11 -37
  61. package/core/core/indexing/kos-index-aware.d.ts.map +1 -1
  62. package/core/core/kos-container-index.d.ts +11 -0
  63. package/core/core/kos-container-index.d.ts.map +1 -1
  64. package/core/core/kos-container-model.d.ts +11 -32
  65. package/core/core/kos-container-model.d.ts.map +1 -1
  66. package/core/core/kos-data-container.d.ts +6 -6
  67. package/core/core/kos-data-container.d.ts.map +1 -1
  68. package/core/core/kosCore.d.ts +22 -4
  69. package/core/core/kosCore.d.ts.map +1 -1
  70. package/core/core/kosModel.d.ts +21 -8
  71. package/core/core/kosModel.d.ts.map +1 -1
  72. package/core/core/kosModelManager.d.ts +2 -3
  73. package/core/core/kosModelManager.d.ts.map +1 -1
  74. package/core/core/lifecycle/constants.d.ts +6 -2
  75. package/core/core/lifecycle/constants.d.ts.map +1 -1
  76. package/core/core/lifecycle/kosCoreLifecycle.d.ts +11 -1
  77. package/core/core/lifecycle/kosCoreLifecycle.d.ts.map +1 -1
  78. package/core/core/lifecycle/kosModelLifecycle.d.ts +6 -0
  79. package/core/core/lifecycle/kosModelLifecycle.d.ts.map +1 -1
  80. package/core/core/lifecycle/model-machine.d.ts +6 -0
  81. package/core/core/lifecycle/model-machine.d.ts.map +1 -1
  82. package/core/core/model/kos-fsm-manager.d.ts +6 -0
  83. package/core/core/model/kos-fsm-manager.d.ts.map +1 -1
  84. package/core/core/model/kos-model-component-factory.d.ts +1 -1
  85. package/core/core/model/kos-model-component-factory.d.ts.map +1 -1
  86. package/core/core/model/kos-offline-queue.d.ts +1 -1
  87. package/core/core/model/kos-service-request-manager.d.ts +7 -2
  88. package/core/core/model/kos-service-request-manager.d.ts.map +1 -1
  89. package/core/core/model/kos-subscription-manager.d.ts +2 -2
  90. package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
  91. package/core/core/model/service-response-store.d.ts +4 -16
  92. package/core/core/model/service-response-store.d.ts.map +1 -1
  93. package/core/core/reconnect/reconnect-fixture.d.ts +17 -0
  94. package/core/core/reconnect/reconnect-fixture.d.ts.map +1 -0
  95. package/core/core/registration/model-registration.d.ts.map +1 -1
  96. package/core/core/services/app-startup-service.d.ts +5 -13
  97. package/core/core/services/app-startup-service.d.ts.map +1 -1
  98. package/core/core/services/intent-service.d.ts +3 -12
  99. package/core/core/services/intent-service.d.ts.map +1 -1
  100. package/core/core/transport/mock/mock-frames.d.ts +3 -3
  101. package/core/core/transport/transport.d.ts +1 -1
  102. package/core/core/transport/transport.d.ts.map +1 -1
  103. package/core/core/transport/webSocketTransport.d.ts +10 -0
  104. package/core/core/transport/webSocketTransport.d.ts.map +1 -1
  105. package/core/types/kos-dependency.d.ts +13 -4
  106. package/core/types/kos-dependency.d.ts.map +1 -1
  107. package/core/types/model.d.ts +4 -8
  108. package/core/types/model.d.ts.map +1 -1
  109. package/core/types/service-response-store.d.ts +3 -15
  110. package/core/types/service-response-store.d.ts.map +1 -1
  111. package/core/types/utils/kos-fetch.d.ts +25 -37
  112. package/core/types/utils/kos-fetch.d.ts.map +1 -1
  113. package/core/util/abortable-when.d.ts +5 -6
  114. package/core/util/abortable-when.d.ts.map +1 -1
  115. package/core/util/ancestor-path-visitor.d.ts +14 -20
  116. package/core/util/ancestor-path-visitor.d.ts.map +1 -1
  117. package/core/util/container-utils.d.ts +26 -159
  118. package/core/util/container-utils.d.ts.map +1 -1
  119. package/core/util/date-utils.d.ts +9 -58
  120. package/core/util/date-utils.d.ts.map +1 -1
  121. package/core/util/debounce.d.ts +1 -8
  122. package/core/util/debounce.d.ts.map +1 -1
  123. package/core/util/kos-fetch.d.ts +1 -1
  124. package/core/util/kos-fetch.d.ts.map +1 -1
  125. package/core/util/kos-model-utils.d.ts +10 -11
  126. package/core/util/kos-model-utils.d.ts.map +1 -1
  127. package/core/util/model-attribute-utils.d.ts +5 -22
  128. package/core/util/model-attribute-utils.d.ts.map +1 -1
  129. package/core/util/model-type-guards.d.ts.map +1 -1
  130. package/core/util/model-utils.d.ts.map +1 -1
  131. package/core/util/promise-utils.d.ts +1 -26
  132. package/core/util/promise-utils.d.ts.map +1 -1
  133. package/core/util/service-factory.d.ts +5 -23
  134. package/core/util/service-factory.d.ts.map +1 -1
  135. package/core/util/service-request-error.d.ts +3 -5
  136. package/core/util/service-request-error.d.ts.map +1 -1
  137. package/core/util/service-response.d.ts +12 -67
  138. package/core/util/service-response.d.ts.map +1 -1
  139. package/core/util/transport-not-ready-error.d.ts +11 -13
  140. package/core/util/transport-not-ready-error.d.ts.map +1 -1
  141. package/core/util/when-ready.d.ts +1 -8
  142. package/core/util/when-ready.d.ts.map +1 -1
  143. package/index.cjs +983 -11777
  144. package/index.cjs.map +1 -1
  145. package/index.js +1056 -11854
  146. package/index.js.map +1 -1
  147. package/models/decorators/future-service.d.ts +7 -7
  148. package/models/models/browser-router/browser-router-model.d.ts +10 -39
  149. package/models/models/browser-router/browser-router-model.d.ts.map +1 -1
  150. package/models/models/browser-router/browser-router-registration.d.ts +5 -77
  151. package/models/models/browser-router/browser-router-registration.d.ts.map +1 -1
  152. package/models/models/browser-router/types/index.d.ts +2 -16
  153. package/models/models/canvas-dispatcher/canvas-dispatcher-registration.d.ts +5 -77
  154. package/models/models/canvas-dispatcher/canvas-dispatcher-registration.d.ts.map +1 -1
  155. package/models/models/canvas-renderer/canvas-renderer-registration.d.ts +5 -75
  156. package/models/models/canvas-renderer/canvas-renderer-registration.d.ts.map +1 -1
  157. package/models/models/config-bean/config-bean-model-builder.d.ts +4 -11
  158. package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -1
  159. package/models/models/config-bean/config-bean-model.d.ts +23 -66
  160. package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
  161. package/models/models/config-bean-prop/config-bean-prop-model.d.ts +15 -62
  162. package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
  163. package/models/models/config-bean-prop/types/index.d.ts +34 -215
  164. package/models/models/device/device-model.d.ts +20 -199
  165. package/models/models/device/device-model.d.ts.map +1 -1
  166. package/models/models/device/device-registration.d.ts +7 -87
  167. package/models/models/device/device-registration.d.ts.map +1 -1
  168. package/models/models/device/types/index.d.ts +5 -34
  169. package/models/models/future/future-aware.d.ts +7 -71
  170. package/models/models/future/future-aware.d.ts.map +1 -1
  171. package/models/models/future/future-model-builder.d.ts +2 -2
  172. package/models/models/future/future-model.d.ts +3 -23
  173. package/models/models/future/future-model.d.ts.map +1 -1
  174. package/models/models/future/future-types.d.ts +28 -145
  175. package/models/models/future/future-types.d.ts.map +1 -1
  176. package/models/models/gpio-chip/gpio-chip-builders.d.ts +14 -0
  177. package/models/models/gpio-chip/gpio-chip-builders.d.ts.map +1 -0
  178. package/models/models/gpio-chip/gpio-chip-container-model.d.ts +2 -1
  179. package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +1 -1
  180. package/models/models/key-value/key-value-model.d.ts +12 -72
  181. package/models/models/key-value/key-value-model.d.ts.map +1 -1
  182. package/models/models/key-value/key-value-registration.d.ts +5 -77
  183. package/models/models/key-value/key-value-registration.d.ts.map +1 -1
  184. package/models/models/key-value/services/key-value-services.d.ts +13 -72
  185. package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
  186. package/models/models/key-value/types/index.d.ts +3 -46
  187. package/models/models/kos-expression-evaluator/expression-parse-cache.d.ts +29 -0
  188. package/models/models/kos-expression-evaluator/expression-parse-cache.d.ts.map +1 -0
  189. package/models/models/kos-expression-evaluator/index.d.ts +1 -0
  190. package/models/models/kos-expression-evaluator/index.d.ts.map +1 -1
  191. package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts +73 -105
  192. package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts.map +1 -1
  193. package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts +2 -12
  194. package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts.map +1 -1
  195. package/models/models/kos-log-manager/kos-log-manager-model.d.ts +7 -46
  196. package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
  197. package/models/models/kos-log-manager/kos-log-manager-registration.d.ts +5 -80
  198. package/models/models/kos-log-manager/kos-log-manager-registration.d.ts.map +1 -1
  199. package/models/models/kos-log-manager/types/index.d.ts +13 -156
  200. package/models/models/kos-time/kos-time-model.d.ts +8 -39
  201. package/models/models/kos-time/kos-time-model.d.ts.map +1 -1
  202. package/models/models/kos-time/kos-time-registration.d.ts +6 -73
  203. package/models/models/kos-time/kos-time-registration.d.ts.map +1 -1
  204. package/models/models/kos-time/types/index.d.ts +3 -58
  205. package/models/models/log-block/log-block-container-model.d.ts +2 -118
  206. package/models/models/log-block/log-block-container-model.d.ts.map +1 -1
  207. package/models/models/log-block/log-block-container-registration.d.ts +5 -75
  208. package/models/models/log-block/log-block-container-registration.d.ts.map +1 -1
  209. package/models/models/log-block/log-block-model.d.ts +5 -168
  210. package/models/models/log-block/log-block-model.d.ts.map +1 -1
  211. package/models/models/log-block/log-block-registration.d.ts +5 -75
  212. package/models/models/log-block/log-block-registration.d.ts.map +1 -1
  213. package/models/models/log-block/types/index.d.ts +14 -81
  214. package/models/models/log-stream/log-stream-container-model.d.ts +8 -35
  215. package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -1
  216. package/models/models/log-stream/log-stream-container-registration.d.ts +5 -75
  217. package/models/models/log-stream/log-stream-container-registration.d.ts.map +1 -1
  218. package/models/models/log-stream/log-stream-model.d.ts +8 -29
  219. package/models/models/log-stream/log-stream-model.d.ts.map +1 -1
  220. package/models/models/log-stream/log-stream-registration.d.ts +5 -75
  221. package/models/models/log-stream/log-stream-registration.d.ts.map +1 -1
  222. package/models/models/log-stream/types/index.d.ts +5 -60
  223. package/models/models/network-interface/network-interface-container-model.d.ts +6 -35
  224. package/models/models/network-interface/network-interface-container-model.d.ts.map +1 -1
  225. package/models/models/network-interface/network-interface-container-registration.d.ts +5 -73
  226. package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -1
  227. package/models/models/network-interface/network-interface-model.d.ts +5 -43
  228. package/models/models/network-interface/network-interface-model.d.ts.map +1 -1
  229. package/models/models/network-interface/network-interface-registration.d.ts +5 -73
  230. package/models/models/network-interface/network-interface-registration.d.ts.map +1 -1
  231. package/models/models/network-interface/types/index.d.ts +2 -16
  232. package/models/models/ota/ota-model.d.ts +11 -39
  233. package/models/models/ota/ota-model.d.ts.map +1 -1
  234. package/models/models/ota/ota-registration.d.ts +5 -77
  235. package/models/models/ota/ota-registration.d.ts.map +1 -1
  236. package/models/models/ota/types/index.d.ts +2 -141
  237. package/models/models/region-info/types/index.d.ts +19 -99
  238. package/models/models/region-info/types/index.d.ts.map +1 -1
  239. package/models/models/software-info/services/software-info-services.d.ts +2 -14
  240. package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
  241. package/models/models/software-info/software-info-model.d.ts +3 -39
  242. package/models/models/software-info/software-info-model.d.ts.map +1 -1
  243. package/models/models/software-info/software-info-registration.d.ts +6 -73
  244. package/models/models/software-info/software-info-registration.d.ts.map +1 -1
  245. package/models/models/software-info/types/index.d.ts +6 -20
  246. package/models/models/state-bean/state-bean-model.d.ts +10 -41
  247. package/models/models/state-bean/state-bean-model.d.ts.map +1 -1
  248. package/models/models/state-bean/state-bean-registration.d.ts +6 -73
  249. package/models/models/state-bean/state-bean-registration.d.ts.map +1 -1
  250. package/models/models/state-bean/types/index.d.ts +4 -84
  251. package/models/models/state-prop/state-prop-model.d.ts +6 -40
  252. package/models/models/state-prop/state-prop-model.d.ts.map +1 -1
  253. package/models/models/state-prop/state-prop-registration.d.ts +6 -73
  254. package/models/models/state-prop/state-prop-registration.d.ts.map +1 -1
  255. package/models/models/state-prop/types/index.d.ts +5 -37
  256. package/models/models/storage-device/storage-device-container-model.d.ts +7 -273
  257. package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -1
  258. package/models/models/storage-device/storage-device-container-registration.d.ts +5 -75
  259. package/models/models/storage-device/storage-device-container-registration.d.ts.map +1 -1
  260. package/models/models/storage-device/storage-device-model.d.ts +3 -49
  261. package/models/models/storage-device/storage-device-model.d.ts.map +1 -1
  262. package/models/models/storage-device/storage-device-registration.d.ts +5 -75
  263. package/models/models/storage-device/storage-device-registration.d.ts.map +1 -1
  264. package/models/models/storage-device/types/index.d.ts +13 -82
  265. package/models/models/studio-properties/studio-properties-model.d.ts +13 -36
  266. package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
  267. package/models/models/studio-properties/studio-properties-registration.d.ts +5 -75
  268. package/models/models/studio-properties/studio-properties-registration.d.ts.map +1 -1
  269. package/models/models/studio-properties/types/index.d.ts +2 -24
  270. package/models/models/translation/descriptor-merge.d.ts +13 -17
  271. package/models/models/translation/descriptor-merge.d.ts.map +1 -1
  272. package/models/models/translation/services/translation-services.d.ts +19 -77
  273. package/models/models/translation/services/translation-services.d.ts.map +1 -1
  274. package/models/models/translation/test-harness.d.ts +6 -8
  275. package/models/models/translation/test-harness.d.ts.map +1 -1
  276. package/models/models/translation/translation-container-model.d.ts +7 -59
  277. package/models/models/translation/translation-container-model.d.ts.map +1 -1
  278. package/models/models/translation/translation-container-registration.d.ts +6 -73
  279. package/models/models/translation/translation-container-registration.d.ts.map +1 -1
  280. package/models/models/translation/translation-model.d.ts +17 -50
  281. package/models/models/translation/translation-model.d.ts.map +1 -1
  282. package/models/models/translation/translation-registration.d.ts +6 -73
  283. package/models/models/translation/translation-registration.d.ts.map +1 -1
  284. package/models/models/translation/types/index.d.ts +51 -276
  285. package/models/models/trouble/trouble-registration.d.ts +6 -73
  286. package/models/models/trouble/trouble-registration.d.ts.map +1 -1
  287. package/models/models/trouble/types/index.d.ts +17 -188
  288. package/models/models/trouble/utils/is-trouble-aware.d.ts +4 -85
  289. package/models/models/trouble/utils/is-trouble-aware.d.ts.map +1 -1
  290. package/models/models/trouble-container/trouble-builders.d.ts +11 -0
  291. package/models/models/trouble-container/trouble-builders.d.ts.map +1 -0
  292. package/models/models/trouble-container/trouble-container-model.d.ts +2 -1
  293. package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
  294. package/models/models/usb-update/usb-update-container-registration.d.ts +5 -75
  295. package/models/models/usb-update/usb-update-container-registration.d.ts.map +1 -1
  296. package/models/models/usb-update/usb-update-registration.d.ts +5 -75
  297. package/models/models/usb-update/usb-update-registration.d.ts.map +1 -1
  298. package/models/types/cancellable-promise.d.ts +6 -9
  299. package/models/types/cancellable-promise.d.ts.map +1 -1
  300. package/models/utils/await-future-call.d.ts +9 -21
  301. package/models/utils/await-future-call.d.ts.map +1 -1
  302. package/models/utils/cancellable-future-call.d.ts +8 -19
  303. package/models/utils/cancellable-future-call.d.ts.map +1 -1
  304. package/models/utils/cancellable-service.d.ts +14 -23
  305. package/models/utils/cancellable-service.d.ts.map +1 -1
  306. package/models/utils/conversion-utils.d.ts +8 -48
  307. package/models/utils/conversion-utils.d.ts.map +1 -1
  308. package/models/utils/persistence-store.d.ts +1 -1
  309. package/models/utils/service.d.ts +14 -48
  310. package/models/utils/service.d.ts.map +1 -1
  311. package/models/utils/services/kos/daily/service.d.ts +5 -5
  312. package/models/utils/services/kos/daily/service.d.ts.map +1 -1
  313. package/models/utils/services/vfs/daily/service.d.ts +5 -5
  314. package/models/utils/services/vfs/daily/service.d.ts.map +1 -1
  315. package/models/utils/timer-manager.d.ts.map +1 -1
  316. package/package.json +2 -2
  317. package/{index-CRb8ucfF.cjs → software-info-registration-Le3V0a6v.cjs} +12187 -986
  318. package/software-info-registration-Le3V0a6v.cjs.map +1 -0
  319. package/software-info-registration-kSGacOka.js +24809 -0
  320. package/software-info-registration-kSGacOka.js.map +1 -0
  321. package/testing/index.d.ts +32 -34
  322. package/testing/index.d.ts.map +1 -1
  323. package/testing.cjs +2 -1
  324. package/testing.cjs.map +1 -1
  325. package/testing.js +2 -1
  326. package/testing.js.map +1 -1
  327. package/ui/components/connection-dev-button/connection-dev-button-styles.d.ts +9 -0
  328. package/ui/components/connection-dev-button/connection-dev-button-styles.d.ts.map +1 -0
  329. package/ui/components/connection-dev-button/index.d.ts +36 -0
  330. package/ui/components/connection-dev-button/index.d.ts.map +1 -0
  331. package/ui/components/connection-dev-button/use-connection-dev-state.d.ts +29 -0
  332. package/ui/components/connection-dev-button/use-connection-dev-state.d.ts.map +1 -0
  333. package/ui/components/index.d.ts +1 -0
  334. package/ui/components/index.d.ts.map +1 -1
  335. package/ui/features/canvas/hooks/use-image-renderer.d.ts +5 -4
  336. package/ui/features/canvas/hooks/use-image-renderer.d.ts.map +1 -1
  337. package/ui/hooks/use-function-warmup.d.ts +4 -14
  338. package/ui/hooks/use-function-warmup.d.ts.map +1 -1
  339. package/ui/hooks/use-kos-date-formats.d.ts +15 -29
  340. package/ui/hooks/use-kos-date-formats.d.ts.map +1 -1
  341. package/ui/hooks/use-kos-region-timezones.d.ts +4 -55
  342. package/ui/hooks/use-kos-region-timezones.d.ts.map +1 -1
  343. package/ui/hooks/use-kos-regions.d.ts +11 -23
  344. package/ui/hooks/use-kos-regions.d.ts.map +1 -1
  345. package/ui/hooks/use-kos-time-formats.d.ts +16 -31
  346. package/ui/hooks/use-kos-time-formats.d.ts.map +1 -1
  347. package/ui/hooks/use-kos-unit-systems.d.ts +13 -27
  348. package/ui/hooks/use-kos-unit-systems.d.ts.map +1 -1
  349. package/ui/hooks/view-model/use-view-model.d.ts +6 -31
  350. package/ui/hooks/view-model/use-view-model.d.ts.map +1 -1
  351. package/ui/policies/reload-on-disconnect-policy.d.ts +5 -6
  352. package/ui/policies/reload-on-disconnect-policy.d.ts.map +1 -1
  353. package/index-CRb8ucfF.cjs.map +0 -1
  354. package/index-YzHb2lnB.js +0 -13607
  355. package/index-YzHb2lnB.js.map +0 -1
@@ -21,7 +21,7 @@ export declare const ServiceRequestHandlers: unique symbol;
21
21
  *
22
22
  * @kosService core.service-request
23
23
  */
24
- export type HttpMethod = "get" | "GET" | "post" | "POST" | "put" | "PUT" | "delete" | "DELETE" | "patch" | "PATCH";
24
+ export type HttpMethod = "get" | "GET" | "post" | "POST" | "put" | "PUT" | "delete" | "DELETE";
25
25
  /**
26
26
  * API path type - string representing an API endpoint
27
27
  *
@@ -58,58 +58,27 @@ export interface FieldMapping {
58
58
  */
59
59
  default?: any;
60
60
  }
61
- /**
62
- * Configuration for extension points during transformation
63
- *
64
- * @kosService core.service-request
65
- * @kosApiLevel 15
66
- */
67
- export interface ExtensionConfig {
68
- /**
69
- * Type of extension point
70
- */
71
- type: "loader" | "data-mapper" | "validator";
72
- /**
73
- * Extension identifier (e.g., ExtensionType.IngredientMapper)
74
- */
75
- extension: any;
76
- /**
77
- * When to execute the extension
78
- */
79
- phase?: "before" | "after" | "transform";
80
- }
81
61
  /**
82
62
  * Configuration for error handling in service requests.
83
63
  *
84
- * Provides multiple strategies for handling request failures, enabling soft failures
85
- * with cached default values and error-first parameter patterns.
86
- *
87
- * @remarks
88
- * All strategies except 'throw' cache defaultValue in the response store, ensuring
89
- * consistency across model lifecycle. Lifecycle-triggered handlers receive error-first
90
- * parameters: (error, data), while method-driven requests use $request executor
91
- * returning tuple: [error, data].
64
+ * Every strategy except 'throw' allows a soft failure: the request's `defaultValue`
65
+ * stands in for the response. A lifecycle-driven handler is then called with
66
+ * `(error, defaultValue)`; a method-driven `$request` resolves to `[null, defaultValue]`.
92
67
  *
93
68
  * @example
94
69
  * ```typescript
95
- * // Soft failure with logging
96
70
  * @kosServiceRequest({
97
- * path: '/api/data',
98
- * errorHandler: {
99
- * strategy: 'log',
100
- * defaultValue: []
101
- * }
71
+ * path: PATH_DATA,
72
+ * lifecycle: DependencyLifecycle.LOAD,
73
+ * errorHandler: { strategy: 'log', defaultValue: [] }
102
74
  * })
103
- * async loadData(error: string | null, data: DataType[]): Promise<void> {
104
- * if (error) {
105
- * this.logger.error(`Load failed: ${error}`);
106
- * }
107
- * this.processData(data); // Either real data or defaultValue
75
+ * onDataLoaded(error: string | null, data: DataType[]): void {
76
+ * this.items = data;
108
77
  * }
109
78
  * ```
110
79
  *
111
80
  * @category Service Request
112
- * @see {@link KosServiceRequestConfig} for complete decorator configuration
81
+ * @see {@link IKosServiceRequestParams} for complete decorator configuration
113
82
  * @kosService core.service-request
114
83
  * @kosApiLevel 15
115
84
  */
@@ -117,48 +86,28 @@ export interface ErrorHandlerConfig {
117
86
  /**
118
87
  * How to handle errors:
119
88
  *
120
- * - 'throw': Re-throw error (default) - handler not called, no caching
121
- *
122
- * - 'log': Log error, cache defaultValue, and call handler with (error, defaultValue)
123
- * Enables soft failure - log the error but continue processing with default data
124
- *
125
- * - 'ignore': Cache defaultValue and call handler with (error, defaultValue)
126
- * Soft failure without logging - silent recovery
127
- *
128
- * - 'default': Same as 'ignore' - cache defaultValue and call handler
129
- * (Kept for backward compatibility, behaves identically to 'ignore')
89
+ * - 'throw' (default): the failure propagates. A lifecycle handler is not called and
90
+ * nothing is cached; a method-driven `$request` resolves to `[error, null]`.
91
+ * - 'log': logs the error, then behaves like 'ignore'.
92
+ * - 'ignore': caches `defaultValue` and hands it to the handler (lifecycle) or
93
+ * returns it (method-driven).
94
+ * - 'default': same as 'ignore'.
130
95
  *
131
- * All strategies except 'throw' cache defaultValue in response store for consistency.
132
- *
133
- * Note: For lifecycle requests, handler receives error-first parameters: (error, data)
134
- * For method-driven requests, $request executor returns tuple: [error, data]
96
+ * A lifecycle handler is only called on failure when `defaultValue` is set.
135
97
  */
136
98
  strategy: "throw" | "log" | "ignore" | "default";
137
99
  /**
138
- * Default value to use when an error occurs.
139
- * Used with 'log', 'ignore', or 'default' strategies.
140
- * - Stored in response cache for subsequent access
141
- * - Passed to handler as second parameter: handler(errorMessage, defaultValue)
100
+ * Value used in place of the response when a request fails under the 'log',
101
+ * 'ignore' or 'default' strategy. It is stored in the response cache and passed to
102
+ * the handler as its second parameter.
142
103
  */
143
104
  defaultValue?: any;
144
105
  /**
145
- * Custom error handler function called when a request fails.
146
- *
147
- * When the failure is an HTTP error response, `error` will be a
148
- * {@link ServiceRequestError} instance with `status`, `statusText`,
149
- * `responseBody`, and `responseHeaders` properties.
150
- *
151
- * For non-HTTP failures (network errors, timeouts), `error` is a
152
- * plain `Error`.
106
+ * Called when a request fails.
153
107
  *
154
- * @example
155
- * ```typescript
156
- * onError: (error, model) => {
157
- * if (error instanceof ServiceRequestError) {
158
- * console.error(`HTTP ${error.status}`, error.responseBody, error.responseHeaders);
159
- * }
160
- * }
161
- * ```
108
+ * For an HTTP error response, `error` is a {@link ServiceRequestError} carrying
109
+ * `status`, `statusText`, `responseBody` and `responseHeaders`. For network errors
110
+ * and timeouts it is a plain `Error`.
162
111
  */
163
112
  onError?: (error: Error | ServiceRequestError, model: IKosDataModel) => void;
164
113
  }
@@ -177,11 +126,8 @@ export interface ErrorHandlerConfig {
177
126
  */
178
127
  export interface IKosServiceRequestParams<Paths extends Record<string, any> = Record<string, any>, Path extends keyof Paths = string, Method extends HttpMethod = "get", Response = any, TransformedResponse = Response> {
179
128
  /**
180
- * API path to request
181
- *
182
- * @example
183
- * path: '/api/kos/ingredients'
184
- * path: `/api/devices/${PROP_DEVICE_ID}/status` // with PropKey
129
+ * API path to request. May contain property keys from `createPropKey`, which are
130
+ * resolved against the model.
185
131
  */
186
132
  path: Path;
187
133
  /**
@@ -191,36 +137,25 @@ export interface IKosServiceRequestParams<Paths extends Record<string, any> = Re
191
137
  */
192
138
  method?: Method;
193
139
  /**
194
- * When to execute this request during model lifecycle
195
- *
196
- * If omitted, the request executes when the decorated method is called (method-driven).
197
- * If specified, the request executes automatically during the given lifecycle phase (lifecycle-driven).
198
- *
199
- * @example
200
- * // Lifecycle-driven (auto-execute during LOAD phase)
201
- * lifecycle: DependencyLifecycle.LOAD
140
+ * When to execute this request during model lifecycle.
202
141
  *
203
- * @example
204
- * // Method-driven (execute when method is called)
205
- * lifecycle: undefined // or omit entirely
142
+ * When set, the request runs automatically in that phase and the decorated method is
143
+ * called with `(error, data)` (lifecycle-driven). When omitted, the request runs when
144
+ * the method calls `ctx.$request()` on the execution context passed as its last
145
+ * parameter (method-driven).
206
146
  */
207
147
  lifecycle?: DependencyLifecycle;
208
148
  /**
209
- * Path parameters to expand in the URL
210
- * Strongly typed from OpenAPI schema
211
- * Can be static values or PropKey references
212
- *
213
- * @example
214
- * // Static value
215
- * pathParams: { deviceId: 'device-123' }
216
- *
217
- * @example
218
- * // PropKey reference (use PROP_ prefix)
219
- * pathParams: { deviceId: PROP_DEVICE_ID }
149
+ * Path parameters to expand in the URL, typed from the OpenAPI schema.
150
+ * Values may be static, property keys from `createPropKey`, or a function. A function
151
+ * is called with the model followed by the decorated method's call arguments; a
152
+ * lifecycle-driven request has no call arguments, so it receives only the model.
220
153
  *
221
154
  * @example
222
- * // Dynamic from method arguments
223
- * pathParams: (model, deviceId, status) => ({ deviceId })
155
+ * ```typescript
156
+ * // setStatus(deviceId, status)
157
+ * pathParams: (model, deviceId) => ({ deviceId })
158
+ * ```
224
159
  */
225
160
  pathParams?: (ClientParams<Paths, Path, Method> extends {
226
161
  path?: infer P;
@@ -228,16 +163,9 @@ export interface IKosServiceRequestParams<Paths extends Record<string, any> = Re
228
163
  path?: infer P;
229
164
  } ? P : never);
230
165
  /**
231
- * Query parameters
232
- * Strongly typed from OpenAPI schema
233
- *
234
- * @example
235
- * // Static
236
- * queryParams: { includeMetadata: true, format: 'json' }
237
- *
238
- * @example
239
- * // Dynamic from method arguments
240
- * queryParams: (model, deviceId, debug) => ({ debug })
166
+ * Query parameters, typed from the OpenAPI schema.
167
+ * A function is called with the model followed by the decorated method's
168
+ * call arguments; a lifecycle-driven request receives only the model.
241
169
  */
242
170
  queryParams?: (ClientParams<Paths, Path, Method> extends {
243
171
  query?: infer Q;
@@ -245,130 +173,64 @@ export interface IKosServiceRequestParams<Paths extends Record<string, any> = Re
245
173
  query?: infer Q;
246
174
  } ? Q : never);
247
175
  /**
248
- * Request body (for POST/PUT/PATCH)
249
- * Strongly typed from OpenAPI schema
250
- *
251
- * @example
252
- * // Static body
253
- * body: { action: 'start' }
254
- *
255
- * @example
256
- * // Dynamic from method arguments
257
- * body: (model, vehicleType, speed) => ({ vehicleType, speed })
176
+ * Request body (for POST/PUT/DELETE), typed from the OpenAPI schema.
177
+ * A function is called with the model followed by the decorated method's
178
+ * call arguments; a lifecycle-driven request receives only the model.
258
179
  */
259
180
  body?: ClientBody<Paths, Path, Method> | ((model: IKosDataModel, ...args: any[]) => ClientBody<Paths, Path, Method>);
260
181
  /**
261
- * JSON path to iterate over in response
262
- * Creates models for each item in the array
263
- *
264
- * @example
265
- * iterateOver: 'data.ingredients' // Iterates response.data.ingredients array
182
+ * Dot path to an array in the response (for example `'data.ingredients'`). Each item
183
+ * is mapped and, with `modelFactory`, turned into a model.
266
184
  */
267
185
  iterateOver?: string;
268
186
  /**
269
- * Model registration object for creating instances from array items
270
- * Used with iterateOver to create child models using the builder pattern
271
- *
272
- * @example
273
- * modelFactory: IngredientModel // The registration object itself
274
- *
275
- * deprecated The old curried function signature is deprecated:
276
- * modelFactory?: (id: string) => (options: any) => IKosDataModel
187
+ * Model registration used with `iterateOver` to build a model for each array item
188
+ * (`registration.instance(id).options(item).build()`). The curried
189
+ * `(id) => (options) => model` form is deprecated.
277
190
  */
278
191
  modelFactory?: KosModelRegistrationType<IKosDataModel, any> | ((id: string) => (options: any) => IKosDataModel);
279
192
  /**
280
- * Function to extract the model ID from response data items
281
- * Required when using modelFactory if items don't have an 'id' field
282
- *
283
- * @example
284
- * idExtractor: (item) => item.ingredientId
285
- * idExtractor: (item) => `${item.type}-${item.index}`
193
+ * Returns the model ID for a (mapped) response item. Required with `modelFactory`
194
+ * when items have no `id` field.
286
195
  */
287
196
  idExtractor?: (item: any) => string;
288
197
  /**
289
- * Field mappings for data transformation
290
- * Same format as @kosTopicHandler mappings
198
+ * Field mappings applied to the response after `transform`. With `iterateOver` they
199
+ * apply to each item.
291
200
  *
292
201
  * @example
202
+ * ```typescript
293
203
  * mappings: [
294
204
  * { from: 'id', to: 'id' },
295
- * { from: 'ingredientId', to: 'ingredientId' },
296
205
  * { from: 'metadata.calories', to: 'calories', transform: 'number' }
297
206
  * ]
207
+ * ```
298
208
  */
299
209
  mappings?: FieldMapping[];
300
210
  /**
301
- * Extension points to execute during transformation
302
- *
303
- * @example
304
- * extensions: [
305
- * { type: 'data-mapper', extension: ExtensionType.IngredientMapper }
306
- * ]
307
- */
308
- extensions?: ExtensionConfig[];
309
- /**
310
- * Transformation function for response data
311
- * Applied before mappings
312
- *
313
- * @example
314
- * transform: (response) => response.data
211
+ * Transformation function for response data, applied before mappings.
315
212
  */
316
213
  transform?: (response: Response) => TransformedResponse;
317
214
  /**
318
- * Condition to determine if request should execute
319
- *
320
- * @example
321
- * condition: (model) => model.isInitialized
215
+ * Condition to determine if the request should execute.
322
216
  */
323
217
  condition?: (model: IKosDataModel) => boolean;
324
218
  /**
325
- * Error handling strategy
326
- *
327
- * @example
328
- * errorHandler: {
329
- * strategy: 'default',
330
- * defaultValue: [],
331
- * onError: (error, model) => model.logger.error('Failed to load', error)
332
- * }
219
+ * Error handling strategy. See {@link ErrorHandlerConfig}.
333
220
  */
334
221
  errorHandler?: ErrorHandlerConfig;
335
222
  /**
336
- * Response caching configuration
337
- * Controls how long responses are stored and when they're cleaned up
223
+ * How long the response stays in the model's response store (read with
224
+ * `getServiceResponse`).
338
225
  *
339
226
  * @default { retention: ResponseRetention.SINGLE }
340
- *
341
- * @example
342
- * // No caching - clear immediately after handler
343
- * cache: { retention: ResponseRetention.IMMEDIATE }
344
- *
345
- * @example
346
- * // Cache for 5 minutes
347
- * cache: { retention: ResponseRetention.TTL, ttl: 5 * 60 * 1000 }
348
- *
349
- * @example
350
- * // Keep for model lifetime
351
- * cache: { retention: ResponseRetention.PERMANENT }
352
227
  */
353
228
  cache?: ResponseCacheConfig;
354
229
  /**
355
- * Request options for controlling fetch behavior
356
- * These are merged with runtime options passed to ctx.$request()
357
- * Runtime options take precedence over decorator options
230
+ * Fetch options for the request (timeout, headers, destinationAddress, ...). A
231
+ * function is called with the model followed by the method's call arguments. Options
232
+ * passed to `ctx.$request()` at runtime take precedence.
358
233
  *
359
- * @example
360
- * // Set default timeout and destination for all requests
361
- * requestOptions: {
362
- * destinationAddress: 'device-123',
363
- * timeout: 10000
364
- * }
365
- *
366
- * @example
367
- * // Dynamic from method arguments
368
- * requestOptions: (model, ...args) => ({
369
- * destinationAddress: model.deviceId,
370
- * headers: { 'X-Session': model.sessionId }
371
- * })
372
234
  * @kosApiLevel 18
373
235
  */
374
236
  requestOptions?: RequestOptions | ((model: IKosDataModel, ...args: any[]) => RequestOptions);
@@ -388,8 +250,9 @@ export interface ServiceRequestMetadata<Paths extends Record<string, any> = Reco
388
250
  originalHandler: Function;
389
251
  }
390
252
  /**
391
- * Runtime service request executor injected into method context
392
- * Allows imperative execution of the service request defined by the decorator
253
+ * Executor injected as `$request` on the execution context of a method-driven
254
+ * @kosServiceRequest. Runtime params are merged over the decorator's, and it resolves
255
+ * to an error-first `[error, data]` tuple.
393
256
  *
394
257
  * @kosService core.service-request
395
258
  */
@@ -406,86 +269,43 @@ export interface ServiceRequestExecutor<Paths extends Record<string, any> = Reco
406
269
  }): Promise<[string | null, any]>;
407
270
  }
408
271
  /**
409
- * Type alias for the service request executor function signature.
410
- * This executor is automatically passed as the last parameter to methods
411
- * decorated with @kosServiceRequest (without lifecycle).
412
- *
413
- * @example
414
- * ```typescript
415
- * type CreateReleaseExecutor = ServiceRequestExecutor<paths, typeof PATH_VM_INSTALL, 'post'>;
416
- * ```
272
+ * Alias of {@link ServiceRequestExecutor}.
417
273
  *
418
274
  * @kosService core.service-request
419
275
  */
420
276
  export type ServiceRequestExecutorFn<Paths extends Record<string, any> = Record<string, any>, Path extends keyof Paths = string, Method extends HttpMethod = "get"> = ServiceRequestExecutor<Paths, Path, Method>;
421
277
  /**
422
- * Decorator for lifecycle-driven service requests within KOS models
278
+ * Method decorator that binds an HTTP request to a KOS model method.
423
279
  *
424
- * Eliminates service boilerplate by integrating HTTP requests directly into
425
- * the model lifecycle. Responses are cached in ServiceResponseStore for access
426
- * via utility functions, avoiding "magic last parameter" patterns.
280
+ * - **Lifecycle-driven** (`lifecycle` set): the request runs in that lifecycle phase.
281
+ * The response (after `transform`, `mappings` and `iterateOver`) is stored in the
282
+ * model's response store and the method is called with `(error, data)`.
283
+ * - **Method-driven** (no `lifecycle`): calling the method passes a
284
+ * {@link KosExecutionContext} as its last parameter; `ctx.$request()` runs the
285
+ * request and resolves to `[error, data]`. `executeServiceRequest` wraps the common
286
+ * error handling.
427
287
  *
428
288
  * @param params - Configuration for the service request
429
289
  * @returns Method decorator
430
290
  *
431
- * @example Basic GET request during LOAD
291
+ * @example
432
292
  * ```typescript
433
293
  * @kosServiceRequest({
434
294
  * path: PATH_DEVICE_STATUS,
435
- * method: 'get',
436
295
  * lifecycle: DependencyLifecycle.LOAD,
437
- * cache: { retention: ResponseRetention.SINGLE }
438
296
  * })
439
- * private onStatusLoaded(): void {
440
- * const response = getServiceResponse(this, PATH_DEVICE_STATUS, 'get');
441
- * this.status = response?.status;
297
+ * onStatusLoaded(error: string | null, data?: DeviceStatus): void {
298
+ * if (data) this.status = data.status;
442
299
  * }
443
- * ```
444
300
  *
445
- * @example Method-driven request with execution context
446
- * ```typescript
447
- * @kosServiceRequest({
448
- * path: PATH_VM_INSTALL,
449
- * method: 'post',
450
- * requestOptions: {
451
- * timeout: 10000 // Decorator-level default timeout
452
- * }
453
- * })
454
- * async createRelease(
301
+ * @kosServiceRequest({ path: PATH_VM_INSTALL, method: 'post' })
302
+ * async install(
455
303
  * path: string,
456
- * keysetId?: string,
457
- * ctx: KosExecutionContext<paths, typeof PATH_VM_INSTALL, 'post'>
304
+ * ctx?: KosExecutionContext<paths, typeof PATH_VM_INSTALL, 'post'>
458
305
  * ): Promise<void> {
459
- * const [error, response] = await ctx.$request({
460
- * queryParams: { keySetId: keysetId },
461
- * body: { path },
462
- * requestOptions: {
463
- * destinationAddress: 'device-123', // Runtime options merged with decorator options
464
- * headers: { 'X-Custom-Header': 'value' }
465
- * }
466
- * });
467
- * if (error) throw new Error(error);
468
- * return response?.data;
469
- * }
470
- * ```
471
- *
472
- * @example Container model with iteration
473
- * ```typescript
474
- * @kosServiceRequest({
475
- * path: PATH_INGREDIENTS,
476
- * method: 'get',
477
- * lifecycle: DependencyLifecycle.LOAD,
478
- * iterateOver: 'data.ingredients',
479
- * modelFactory: Ingredient.factory,
480
- * mappings: [
481
- * { from: 'id', to: 'id' },
482
- * { from: 'name', to: 'name' }
483
- * ]
484
- * })
485
- * private onIngredientsLoaded(): void {
486
- * const response = getServiceResponse(this, PATH_INGREDIENTS, 'get');
487
- * // Mappings already applied to response data
488
- * response?.forEach(i => this.ingredients.addModel(i));
306
+ * const data = await executeServiceRequest(this, ctx, { body: { path } });
307
+ * if (!data) return;
308
+ * this.lastInstall = data;
489
309
  * }
490
310
  * ```
491
311
  *
@@ -1 +1 @@
1
- {"version":3,"file":"kos-service-request.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-ui-sdk/src/core/core/decorators/kos-service-request.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,yBAAyB,CAAC;AAOjC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;AAGtE,YAAY,EAAE,mBAAmB,EAAE,CAAC;AAEpC;;;GAGG;AACH,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AAcvE;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAClB,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,OAAO,CAAC;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACvD,IAAI,SAAS,MAAM,KAAK,GAAG,MAAM,EACjC,MAAM,SAAS,UAAU,GAAG,KAAK,EACjC,QAAQ,GAAG,GAAG,EACd,mBAAmB,GAAG,QAAQ,EAE9B,MAAM,EAAE,wBAAwB,CAC9B,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,mBAAmB,CACpB,IAEO,QAAQ,GAAG,EAAE,aAAa,MAAM,EAAE,YAAY,kBAAkB,wBAiHzE"}
1
+ {"version":3,"file":"kos-service-request.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-ui-sdk/src/core/core/decorators/kos-service-request.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,yBAAyB,CAAC;AAOjC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;AAGtE,YAAY,EAAE,mBAAmB,EAAE,CAAC;AAEpC;;;GAGG;AACH,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AAcvE;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