@kosdev-code/kos-ui-sdk 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (764) hide show
  1. package/common/constants/index.d.ts +26 -0
  2. package/common/constants/index.d.ts.map +1 -0
  3. package/common/events/eventBus.d.ts +18 -0
  4. package/common/events/eventBus.d.ts.map +1 -0
  5. package/common/events/index.d.ts +15 -0
  6. package/common/events/index.d.ts.map +1 -0
  7. package/common/file-utils.d.ts +9 -0
  8. package/common/file-utils.d.ts.map +1 -0
  9. package/common/index.d.ts +4 -0
  10. package/common/index.d.ts.map +1 -0
  11. package/common/types/global.d.ts +19 -0
  12. package/core/core/api/index.d.ts +2 -0
  13. package/core/core/api/index.d.ts.map +1 -0
  14. package/core/core/api/wrapPromise.d.ts +14 -0
  15. package/core/core/api/wrapPromise.d.ts.map +1 -0
  16. package/core/core/context/index.d.ts +2 -0
  17. package/core/core/context/index.d.ts.map +1 -0
  18. package/core/core/context/kos-context-manager.d.ts +30 -0
  19. package/core/core/context/kos-context-manager.d.ts.map +1 -0
  20. package/core/core/decorators/index.d.ts +13 -0
  21. package/core/core/decorators/index.d.ts.map +1 -0
  22. package/core/core/decorators/kos-child.d.ts +19 -0
  23. package/core/core/decorators/kos-child.d.ts.map +1 -0
  24. package/core/core/decorators/kos-companion.d.ts +11 -0
  25. package/core/core/decorators/kos-companion.d.ts.map +1 -0
  26. package/core/core/decorators/kos-context.d.ts +2 -0
  27. package/core/core/decorators/kos-context.d.ts.map +1 -0
  28. package/core/core/decorators/kos-log.d.ts +11 -0
  29. package/core/core/decorators/kos-log.d.ts.map +1 -0
  30. package/core/core/decorators/kos-model-effect.d.ts +25 -0
  31. package/core/core/decorators/kos-model-effect.d.ts.map +1 -0
  32. package/core/core/decorators/kos-parent.d.ts +11 -0
  33. package/core/core/decorators/kos-parent.d.ts.map +1 -0
  34. package/core/core/decorators/kos-reference.d.ts +6 -0
  35. package/core/core/decorators/kos-reference.d.ts.map +1 -0
  36. package/core/core/decorators/kosDependency.d.ts +16 -0
  37. package/core/core/decorators/kosDependency.d.ts.map +1 -0
  38. package/core/core/decorators/kosModel.d.ts +23 -0
  39. package/core/core/decorators/kosModel.d.ts.map +1 -0
  40. package/core/core/decorators/kosSubscribe.d.ts +9 -0
  41. package/core/core/decorators/kosSubscribe.d.ts.map +1 -0
  42. package/core/core/decorators/kosTopicHandler.d.ts +78 -0
  43. package/core/core/decorators/kosTopicHandler.d.ts.map +1 -0
  44. package/core/core/decorators/propKeys.d.ts +13 -0
  45. package/core/core/decorators/propKeys.d.ts.map +1 -0
  46. package/core/core/decorators/resolve-parameters.d.ts +8 -0
  47. package/core/core/decorators/resolve-parameters.d.ts.map +1 -0
  48. package/core/core/extension/extension-manager.d.ts +40 -0
  49. package/core/core/extension/extension-manager.d.ts.map +1 -0
  50. package/core/core/extension/index.d.ts +4 -0
  51. package/core/core/extension/index.d.ts.map +1 -0
  52. package/core/core/extension/initialize-extension.d.ts +45 -0
  53. package/core/core/extension/initialize-extension.d.ts.map +1 -0
  54. package/core/core/extension/plugin-extension-manager.d.ts +23 -0
  55. package/core/core/extension/plugin-extension-manager.d.ts.map +1 -0
  56. package/core/core/kos-container-index.d.ts +34 -0
  57. package/core/core/kos-container-index.d.ts.map +1 -0
  58. package/core/core/kos-container-model.d.ts +69 -0
  59. package/core/core/kos-container-model.d.ts.map +1 -0
  60. package/core/core/kos-data-container.d.ts +48 -0
  61. package/core/core/kos-data-container.d.ts.map +1 -0
  62. package/core/core/kos-deletion-manager.d.ts +5 -0
  63. package/core/core/kos-deletion-manager.d.ts.map +1 -0
  64. package/core/core/kos-model-factory.d.ts +19 -0
  65. package/core/core/kos-model-factory.d.ts.map +1 -0
  66. package/core/core/kos-registration.d.ts +26 -0
  67. package/core/core/kos-registration.d.ts.map +1 -0
  68. package/core/core/kos-singleton-registration.d.ts +25 -0
  69. package/core/core/kos-singleton-registration.d.ts.map +1 -0
  70. package/core/core/kosCore.d.ts +80 -0
  71. package/core/core/kosCore.d.ts.map +1 -0
  72. package/core/core/kosModel.d.ts +150 -0
  73. package/core/core/kosModel.d.ts.map +1 -0
  74. package/core/core/kosModelManager.d.ts +58 -0
  75. package/core/core/kosModelManager.d.ts.map +1 -0
  76. package/core/core/lifecycle/constants.d.ts +37 -0
  77. package/core/core/lifecycle/constants.d.ts.map +1 -0
  78. package/core/core/lifecycle/index.d.ts +2 -0
  79. package/core/core/lifecycle/index.d.ts.map +1 -0
  80. package/core/core/lifecycle/kosCoreLifecycle.d.ts +86 -0
  81. package/core/core/lifecycle/kosCoreLifecycle.d.ts.map +1 -0
  82. package/core/core/lifecycle/kosModelLifecycle.d.ts +57 -0
  83. package/core/core/lifecycle/kosModelLifecycle.d.ts.map +1 -0
  84. package/core/core/lifecycle/model-active-machine.d.ts +31 -0
  85. package/core/core/lifecycle/model-active-machine.d.ts.map +1 -0
  86. package/core/core/lifecycle/model-machine.d.ts +28 -0
  87. package/core/core/lifecycle/model-machine.d.ts.map +1 -0
  88. package/core/core/lifecycle/model-online-machine.d.ts +19 -0
  89. package/core/core/lifecycle/model-online-machine.d.ts.map +1 -0
  90. package/core/core/log/index.d.ts +2 -0
  91. package/core/core/log/index.d.ts.map +1 -0
  92. package/core/core/log/log.d.ts +36 -0
  93. package/core/core/log/log.d.ts.map +1 -0
  94. package/core/core/models/index.d.ts +2 -0
  95. package/core/core/models/index.d.ts.map +1 -0
  96. package/core/core/models/kos-core/index.d.ts +12 -0
  97. package/core/core/models/kos-core/index.d.ts.map +1 -0
  98. package/core/core/models/kos-token/index.d.ts +11 -0
  99. package/core/core/models/kos-token/index.d.ts.map +1 -0
  100. package/core/core/registration/base-kos-model-registration.d.ts +10 -0
  101. package/core/core/registration/base-kos-model-registration.d.ts.map +1 -0
  102. package/core/core/registration/index.d.ts +4 -0
  103. package/core/core/registration/index.d.ts.map +1 -0
  104. package/core/core/registration/model-registration.d.ts +44 -0
  105. package/core/core/registration/model-registration.d.ts.map +1 -0
  106. package/core/core/registration/registration-manager.d.ts +41 -0
  107. package/core/core/registration/registration-manager.d.ts.map +1 -0
  108. package/core/core/registration/singleton-kos-model-registration-factory.d.ts +10 -0
  109. package/core/core/registration/singleton-kos-model-registration-factory.d.ts.map +1 -0
  110. package/core/core/services/browser-router.d.ts +46 -0
  111. package/core/core/services/browser-router.d.ts.map +1 -0
  112. package/core/core/services/index.d.ts +3 -0
  113. package/core/core/services/index.d.ts.map +1 -0
  114. package/core/core/services/intent-service.d.ts +8 -0
  115. package/core/core/services/intent-service.d.ts.map +1 -0
  116. package/core/core/transport/base-message-transport.d.ts +53 -0
  117. package/core/core/transport/base-message-transport.d.ts.map +1 -0
  118. package/core/core/transport/bridge-message-transport.d.ts +7 -0
  119. package/core/core/transport/bridge-message-transport.d.ts.map +1 -0
  120. package/core/core/transport/bridge-transport.d.ts +29 -0
  121. package/core/core/transport/bridge-transport.d.ts.map +1 -0
  122. package/core/core/transport/detect-wakeup.d.ts +2 -0
  123. package/core/core/transport/detect-wakeup.d.ts.map +1 -0
  124. package/core/core/transport/fos-message-transport.d.ts +7 -0
  125. package/core/core/transport/fos-message-transport.d.ts.map +1 -0
  126. package/core/core/transport/index.d.ts +3 -0
  127. package/core/core/transport/index.d.ts.map +1 -0
  128. package/core/core/transport/kos-message-transport.d.ts +7 -0
  129. package/core/core/transport/kos-message-transport.d.ts.map +1 -0
  130. package/core/core/transport/transport-factory.d.ts +27 -0
  131. package/core/core/transport/transport-factory.d.ts.map +1 -0
  132. package/core/core/transport/transport.d.ts +12 -0
  133. package/core/core/transport/transport.d.ts.map +1 -0
  134. package/core/core/transport/web-socket-transport-adapter.d.ts +6 -0
  135. package/core/core/transport/web-socket-transport-adapter.d.ts.map +1 -0
  136. package/core/core/transport/webSocketTransport.d.ts +83 -0
  137. package/core/core/transport/webSocketTransport.d.ts.map +1 -0
  138. package/core/core/types/index.d.ts +4 -0
  139. package/core/core/types/index.d.ts.map +1 -0
  140. package/core/core/types/kos-model-manager-types.d.ts +33 -0
  141. package/core/core/types/kos-model-manager-types.d.ts.map +1 -0
  142. package/core/core/types/model.d.ts +26 -0
  143. package/core/core/types/model.d.ts.map +1 -0
  144. package/core/core/types/registration.d.ts +54 -0
  145. package/core/core/types/registration.d.ts.map +1 -0
  146. package/core/core/types/serviceTypes.d.ts +9 -0
  147. package/core/core/types/serviceTypes.d.ts.map +1 -0
  148. package/core/index.d.ts +61 -0
  149. package/core/index.d.ts.map +1 -0
  150. package/core/lib/kos-ui-core.d.ts +2 -0
  151. package/core/lib/kos-ui-core.d.ts.map +1 -0
  152. package/core/mocks/browser.d.ts +3 -0
  153. package/core/mocks/browser.d.ts.map +1 -0
  154. package/core/mocks/handlers.d.ts +3 -0
  155. package/core/mocks/handlers.d.ts.map +1 -0
  156. package/core/mocks/server.d.ts +3 -0
  157. package/core/mocks/server.d.ts.map +1 -0
  158. package/core/types/global.d.ts +68 -0
  159. package/core/types/index.d.ts +4 -0
  160. package/core/types/index.d.ts.map +1 -0
  161. package/core/types/kos-dependency.d.ts +21 -0
  162. package/core/types/kos-dependency.d.ts.map +1 -0
  163. package/core/types/model.d.ts +100 -0
  164. package/core/types/model.d.ts.map +1 -0
  165. package/core/types/utils/kos-fetch.d.ts +124 -0
  166. package/core/types/utils/kos-fetch.d.ts.map +1 -0
  167. package/core/util/api-request-id.d.ts +2 -0
  168. package/core/util/api-request-id.d.ts.map +1 -0
  169. package/core/util/apply-mixins.d.ts +2 -0
  170. package/core/util/apply-mixins.d.ts.map +1 -0
  171. package/core/util/container-utils.d.ts +26 -0
  172. package/core/util/container-utils.d.ts.map +1 -0
  173. package/core/util/cycle-detection.d.ts +12 -0
  174. package/core/util/cycle-detection.d.ts.map +1 -0
  175. package/core/util/date-utils.d.ts +2 -0
  176. package/core/util/date-utils.d.ts.map +1 -0
  177. package/core/util/debounce.d.ts +19 -0
  178. package/core/util/debounce.d.ts.map +1 -0
  179. package/core/util/feature-flags.d.ts +13 -0
  180. package/core/util/feature-flags.d.ts.map +1 -0
  181. package/core/util/get-query-params.d.ts +2 -0
  182. package/core/util/get-query-params.d.ts.map +1 -0
  183. package/core/util/hsl-to-hex.d.ts +5 -0
  184. package/core/util/hsl-to-hex.d.ts.map +1 -0
  185. package/core/util/index.d.ts +30 -0
  186. package/core/util/index.d.ts.map +1 -0
  187. package/core/util/kos-config-init.d.ts +15 -0
  188. package/core/util/kos-config-init.d.ts.map +1 -0
  189. package/core/util/kos-core-utils.d.ts +4 -0
  190. package/core/util/kos-core-utils.d.ts.map +1 -0
  191. package/core/util/kos-data-mapper-utils.d.ts +14 -0
  192. package/core/util/kos-data-mapper-utils.d.ts.map +1 -0
  193. package/core/util/kos-fetch.d.ts +18 -0
  194. package/core/util/kos-fetch.d.ts.map +1 -0
  195. package/core/util/kos-message-utils.d.ts +34 -0
  196. package/core/util/kos-message-utils.d.ts.map +1 -0
  197. package/core/util/kos-model-formatter.d.ts +21 -0
  198. package/core/util/kos-model-formatter.d.ts.map +1 -0
  199. package/core/util/kos-model-utils.d.ts +100 -0
  200. package/core/util/kos-model-utils.d.ts.map +1 -0
  201. package/core/util/kos-model-visitor.d.ts +41 -0
  202. package/core/util/kos-model-visitor.d.ts.map +1 -0
  203. package/core/util/kos-service-request.d.ts +65 -0
  204. package/core/util/kos-service-request.d.ts.map +1 -0
  205. package/core/util/log-utils.d.ts +6 -0
  206. package/core/util/log-utils.d.ts.map +1 -0
  207. package/core/util/logger-plugin.d.ts +2 -0
  208. package/core/util/logger-plugin.d.ts.map +1 -0
  209. package/core/util/middleware.d.ts +14 -0
  210. package/core/util/middleware.d.ts.map +1 -0
  211. package/core/util/model-attribute-utils.d.ts +37 -0
  212. package/core/util/model-attribute-utils.d.ts.map +1 -0
  213. package/core/util/model-factory.d.ts +5 -0
  214. package/core/util/model-factory.d.ts.map +1 -0
  215. package/core/util/model-registration-utils.d.ts +6 -0
  216. package/core/util/model-registration-utils.d.ts.map +1 -0
  217. package/core/util/model-utils.d.ts +42 -0
  218. package/core/util/model-utils.d.ts.map +1 -0
  219. package/core/util/observable-proxy-map.d.ts +10 -0
  220. package/core/util/observable-proxy-map.d.ts.map +1 -0
  221. package/core/util/paired-client-heartbeat.d.ts +18 -0
  222. package/core/util/paired-client-heartbeat.d.ts.map +1 -0
  223. package/core/util/pipe.d.ts +4 -0
  224. package/core/util/pipe.d.ts.map +1 -0
  225. package/core/util/reference-cache.d.ts +17 -0
  226. package/core/util/reference-cache.d.ts.map +1 -0
  227. package/core/util/retry-with-exponential-backoff.d.ts +18 -0
  228. package/core/util/retry-with-exponential-backoff.d.ts.map +1 -0
  229. package/core/util/service-factory.d.ts +177 -0
  230. package/core/util/service-factory.d.ts.map +1 -0
  231. package/core/util/session-utils.d.ts +3 -0
  232. package/core/util/session-utils.d.ts.map +1 -0
  233. package/core/util/setRandomInterval.d.ts +5 -0
  234. package/core/util/setRandomInterval.d.ts.map +1 -0
  235. package/core/util/wait-for-request.d.ts +15 -0
  236. package/core/util/wait-for-request.d.ts.map +1 -0
  237. package/core/util/when-ready.d.ts +21 -0
  238. package/core/util/when-ready.d.ts.map +1 -0
  239. package/index.cjs +146 -0
  240. package/index.cjs.map +1 -0
  241. package/index.d.cts +6 -0
  242. package/index.d.ts +6 -0
  243. package/index.d.ts.map +1 -0
  244. package/index.js +10456 -0
  245. package/index.js.map +1 -0
  246. package/models/constants/index.d.ts +18 -0
  247. package/models/constants/index.d.ts.map +1 -0
  248. package/models/decorators/future-service.d.ts +7 -0
  249. package/models/decorators/future-service.d.ts.map +1 -0
  250. package/models/decorators/index.d.ts +6 -0
  251. package/models/decorators/index.d.ts.map +1 -0
  252. package/models/decorators/kos-config-bean-prop.d.ts +42 -0
  253. package/models/decorators/kos-config-bean-prop.d.ts.map +1 -0
  254. package/models/decorators/kos-config-bean.d.ts +8 -0
  255. package/models/decorators/kos-config-bean.d.ts.map +1 -0
  256. package/models/decorators/kos-state-bean.d.ts +6 -0
  257. package/models/decorators/kos-state-bean.d.ts.map +1 -0
  258. package/models/decorators/kos-state-prop.d.ts +10 -0
  259. package/models/decorators/kos-state-prop.d.ts.map +1 -0
  260. package/models/index.d.ts +11 -0
  261. package/models/index.d.ts.map +1 -0
  262. package/models/model.d.ts +7 -0
  263. package/models/models/browser-router/browser-router-model.d.ts +17 -0
  264. package/models/models/browser-router/browser-router-model.d.ts.map +1 -0
  265. package/models/models/browser-router/browser-router-registration.d.ts +89 -0
  266. package/models/models/browser-router/browser-router-registration.d.ts.map +1 -0
  267. package/models/models/browser-router/index.d.ts +4 -0
  268. package/models/models/browser-router/index.d.ts.map +1 -0
  269. package/models/models/browser-router/types/index.d.ts +1 -0
  270. package/models/models/browser-router/utils/index.d.ts +2 -0
  271. package/models/models/browser-router/utils/index.d.ts.map +1 -0
  272. package/models/models/browser-router/utils/init-kos-browser-router.d.ts +2 -0
  273. package/models/models/browser-router/utils/init-kos-browser-router.d.ts.map +1 -0
  274. package/models/models/config-bean/config-bean-model-builder.d.ts +57 -0
  275. package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -0
  276. package/models/models/config-bean/config-bean-model.d.ts +75 -0
  277. package/models/models/config-bean/config-bean-model.d.ts.map +1 -0
  278. package/models/models/config-bean/config-bean-types.d.ts +66 -0
  279. package/models/models/config-bean/config-bean-types.d.ts.map +1 -0
  280. package/models/models/config-bean/index.d.ts +4 -0
  281. package/models/models/config-bean/index.d.ts.map +1 -0
  282. package/models/models/config-bean-prop/config-bean-prop-model.d.ts +86 -0
  283. package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -0
  284. package/models/models/config-bean-prop/config-options-factory.d.ts +6 -0
  285. package/models/models/config-bean-prop/config-options-factory.d.ts.map +1 -0
  286. package/models/models/config-bean-prop/index.d.ts +3 -0
  287. package/models/models/config-bean-prop/index.d.ts.map +1 -0
  288. package/models/models/config-bean-prop/types/index.d.ts +76 -0
  289. package/models/models/device/device-model.d.ts +48 -0
  290. package/models/models/device/device-model.d.ts.map +1 -0
  291. package/models/models/device/device-registration.d.ts +89 -0
  292. package/models/models/device/device-registration.d.ts.map +1 -0
  293. package/models/models/device/index.d.ts +5 -0
  294. package/models/models/device/index.d.ts.map +1 -0
  295. package/models/models/device/services/device-services.d.ts +21 -0
  296. package/models/models/device/services/device-services.d.ts.map +1 -0
  297. package/models/models/device/services/index.d.ts +2 -0
  298. package/models/models/device/services/index.d.ts.map +1 -0
  299. package/models/models/device/types/index.d.ts +5 -0
  300. package/models/models/future/future-aware.d.ts +32 -0
  301. package/models/models/future/future-aware.d.ts.map +1 -0
  302. package/models/models/future/future-factory.d.ts +5 -0
  303. package/models/models/future/future-factory.d.ts.map +1 -0
  304. package/models/models/future/future-model-builder.d.ts +76 -0
  305. package/models/models/future/future-model-builder.d.ts.map +1 -0
  306. package/models/models/future/future-model.d.ts +66 -0
  307. package/models/models/future/future-model.d.ts.map +1 -0
  308. package/models/models/future/future-types.d.ts +83 -0
  309. package/models/models/future/future-types.d.ts.map +1 -0
  310. package/models/models/future/index.d.ts +6 -0
  311. package/models/models/future/index.d.ts.map +1 -0
  312. package/models/models/future-container/future-container-factory.d.ts +5 -0
  313. package/models/models/future-container/future-container-factory.d.ts.map +1 -0
  314. package/models/models/future-container/future-container-model.d.ts +124 -0
  315. package/models/models/future-container/future-container-model.d.ts.map +1 -0
  316. package/models/models/future-container/future-container-types.d.ts +109 -0
  317. package/models/models/future-container/future-container-types.d.ts.map +1 -0
  318. package/models/models/future-container/index.d.ts +4 -0
  319. package/models/models/future-container/index.d.ts.map +1 -0
  320. package/models/models/index.d.ts +20 -0
  321. package/models/models/index.d.ts.map +1 -0
  322. package/models/models/key-value/index.d.ts +5 -0
  323. package/models/models/key-value/index.d.ts.map +1 -0
  324. package/models/models/key-value/key-value-model.d.ts +19 -0
  325. package/models/models/key-value/key-value-model.d.ts.map +1 -0
  326. package/models/models/key-value/key-value-registration.d.ts +89 -0
  327. package/models/models/key-value/key-value-registration.d.ts.map +1 -0
  328. package/models/models/key-value/services/index.d.ts +2 -0
  329. package/models/models/key-value/services/index.d.ts.map +1 -0
  330. package/models/models/key-value/services/key-value-services.d.ts +18 -0
  331. package/models/models/key-value/services/key-value-services.d.ts.map +1 -0
  332. package/models/models/key-value/types/index.d.ts +3 -0
  333. package/models/models/kos-core/index.d.ts +11 -0
  334. package/models/models/kos-core/index.d.ts.map +1 -0
  335. package/models/models/kos-time/index.d.ts +5 -0
  336. package/models/models/kos-time/index.d.ts.map +1 -0
  337. package/models/models/kos-time/kos-time-model.d.ts +36 -0
  338. package/models/models/kos-time/kos-time-model.d.ts.map +1 -0
  339. package/models/models/kos-time/kos-time-registration.d.ts +87 -0
  340. package/models/models/kos-time/kos-time-registration.d.ts.map +1 -0
  341. package/models/models/kos-time/services/index.d.ts +2 -0
  342. package/models/models/kos-time/services/index.d.ts.map +1 -0
  343. package/models/models/kos-time/services/kos-time-services.d.ts +16 -0
  344. package/models/models/kos-time/services/kos-time-services.d.ts.map +1 -0
  345. package/models/models/kos-time/types/index.d.ts +13 -0
  346. package/models/models/kos-token/index.d.ts +11 -0
  347. package/models/models/kos-token/index.d.ts.map +1 -0
  348. package/models/models/log-block/index.d.ts +6 -0
  349. package/models/models/log-block/index.d.ts.map +1 -0
  350. package/models/models/log-block/log-block-container-model.d.ts +23 -0
  351. package/models/models/log-block/log-block-container-model.d.ts.map +1 -0
  352. package/models/models/log-block/log-block-container-registration.d.ts +87 -0
  353. package/models/models/log-block/log-block-container-registration.d.ts.map +1 -0
  354. package/models/models/log-block/log-block-model.d.ts +28 -0
  355. package/models/models/log-block/log-block-model.d.ts.map +1 -0
  356. package/models/models/log-block/log-block-registration.d.ts +87 -0
  357. package/models/models/log-block/log-block-registration.d.ts.map +1 -0
  358. package/models/models/log-block/types/index.d.ts +38 -0
  359. package/models/models/log-stream/index.d.ts +7 -0
  360. package/models/models/log-stream/index.d.ts.map +1 -0
  361. package/models/models/log-stream/log-stream-container-model.d.ts +35 -0
  362. package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -0
  363. package/models/models/log-stream/log-stream-container-registration.d.ts +87 -0
  364. package/models/models/log-stream/log-stream-container-registration.d.ts.map +1 -0
  365. package/models/models/log-stream/log-stream-model.d.ts +38 -0
  366. package/models/models/log-stream/log-stream-model.d.ts.map +1 -0
  367. package/models/models/log-stream/log-stream-registration.d.ts +87 -0
  368. package/models/models/log-stream/log-stream-registration.d.ts.map +1 -0
  369. package/models/models/log-stream/services/index.d.ts +2 -0
  370. package/models/models/log-stream/services/index.d.ts.map +1 -0
  371. package/models/models/log-stream/services/log-stream-services.d.ts +22 -0
  372. package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -0
  373. package/models/models/log-stream/types/index.d.ts +9 -0
  374. package/models/models/network-interface/index.d.ts +7 -0
  375. package/models/models/network-interface/index.d.ts.map +1 -0
  376. package/models/models/network-interface/network-interface-container-model.d.ts +21 -0
  377. package/models/models/network-interface/network-interface-container-model.d.ts.map +1 -0
  378. package/models/models/network-interface/network-interface-container-registration.d.ts +86 -0
  379. package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -0
  380. package/models/models/network-interface/network-interface-model.d.ts +25 -0
  381. package/models/models/network-interface/network-interface-model.d.ts.map +1 -0
  382. package/models/models/network-interface/network-interface-registration.d.ts +86 -0
  383. package/models/models/network-interface/network-interface-registration.d.ts.map +1 -0
  384. package/models/models/network-interface/services/index.d.ts +2 -0
  385. package/models/models/network-interface/services/index.d.ts.map +1 -0
  386. package/models/models/network-interface/services/network-interface-services.d.ts +46 -0
  387. package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -0
  388. package/models/models/network-interface/types/index.d.ts +10 -0
  389. package/models/models/ota/index.d.ts +4 -0
  390. package/models/models/ota/index.d.ts.map +1 -0
  391. package/models/models/ota/ota-model.d.ts +26 -0
  392. package/models/models/ota/ota-model.d.ts.map +1 -0
  393. package/models/models/ota/ota-registration.d.ts +89 -0
  394. package/models/models/ota/ota-registration.d.ts.map +1 -0
  395. package/models/models/ota/services/index.d.ts +2 -0
  396. package/models/models/ota/services/index.d.ts.map +1 -0
  397. package/models/models/ota/services/ota-services.d.ts +8 -0
  398. package/models/models/ota/services/ota-services.d.ts.map +1 -0
  399. package/models/models/ota/types/index.d.ts +56 -0
  400. package/models/models/region-info/index.d.ts +5 -0
  401. package/models/models/region-info/index.d.ts.map +1 -0
  402. package/models/models/region-info/region-info-model.d.ts +95 -0
  403. package/models/models/region-info/region-info-model.d.ts.map +1 -0
  404. package/models/models/region-info/services/index.d.ts +2 -0
  405. package/models/models/region-info/services/index.d.ts.map +1 -0
  406. package/models/models/region-info/services/region-info-services.d.ts +48 -0
  407. package/models/models/region-info/services/region-info-services.d.ts.map +1 -0
  408. package/models/models/region-info/types/index.d.ts +168 -0
  409. package/models/models/region-info/types/index.d.ts.map +1 -0
  410. package/models/models/region-info/utils/unit-system-utils.d.ts +4 -0
  411. package/models/models/region-info/utils/unit-system-utils.d.ts.map +1 -0
  412. package/models/models/software-info/index.d.ts +4 -0
  413. package/models/models/software-info/index.d.ts.map +1 -0
  414. package/models/models/software-info/services/index.d.ts +2 -0
  415. package/models/models/software-info/services/index.d.ts.map +1 -0
  416. package/models/models/software-info/services/software-info-services.d.ts +22 -0
  417. package/models/models/software-info/services/software-info-services.d.ts.map +1 -0
  418. package/models/models/software-info/software-info-model.d.ts +14 -0
  419. package/models/models/software-info/software-info-model.d.ts.map +1 -0
  420. package/models/models/software-info/software-info-registration.d.ts +84 -0
  421. package/models/models/software-info/software-info-registration.d.ts.map +1 -0
  422. package/models/models/software-info/types/index.d.ts +35 -0
  423. package/models/models/state-bean/index.d.ts +4 -0
  424. package/models/models/state-bean/index.d.ts.map +1 -0
  425. package/models/models/state-bean/services/index.d.ts +2 -0
  426. package/models/models/state-bean/services/index.d.ts.map +1 -0
  427. package/models/models/state-bean/services/state-bean-services.d.ts +14 -0
  428. package/models/models/state-bean/services/state-bean-services.d.ts.map +1 -0
  429. package/models/models/state-bean/state-bean-model.d.ts +29 -0
  430. package/models/models/state-bean/state-bean-model.d.ts.map +1 -0
  431. package/models/models/state-bean/state-bean-registration.d.ts +84 -0
  432. package/models/models/state-bean/state-bean-registration.d.ts.map +1 -0
  433. package/models/models/state-bean/types/index.d.ts +24 -0
  434. package/models/models/state-prop/index.d.ts +4 -0
  435. package/models/models/state-prop/index.d.ts.map +1 -0
  436. package/models/models/state-prop/services/index.d.ts +2 -0
  437. package/models/models/state-prop/services/index.d.ts.map +1 -0
  438. package/models/models/state-prop/services/state-prop-services.d.ts +11 -0
  439. package/models/models/state-prop/services/state-prop-services.d.ts.map +1 -0
  440. package/models/models/state-prop/state-prop-model.d.ts +19 -0
  441. package/models/models/state-prop/state-prop-model.d.ts.map +1 -0
  442. package/models/models/state-prop/state-prop-registration.d.ts +84 -0
  443. package/models/models/state-prop/state-prop-registration.d.ts.map +1 -0
  444. package/models/models/state-prop/types/index.d.ts +20 -0
  445. package/models/models/storage-device/index.d.ts +7 -0
  446. package/models/models/storage-device/index.d.ts.map +1 -0
  447. package/models/models/storage-device/services/index.d.ts +2 -0
  448. package/models/models/storage-device/services/index.d.ts.map +1 -0
  449. package/models/models/storage-device/services/storage-device-services.d.ts +22 -0
  450. package/models/models/storage-device/services/storage-device-services.d.ts.map +1 -0
  451. package/models/models/storage-device/storage-device-container-model.d.ts +31 -0
  452. package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -0
  453. package/models/models/storage-device/storage-device-container-registration.d.ts +86 -0
  454. package/models/models/storage-device/storage-device-container-registration.d.ts.map +1 -0
  455. package/models/models/storage-device/storage-device-model.d.ts +27 -0
  456. package/models/models/storage-device/storage-device-model.d.ts.map +1 -0
  457. package/models/models/storage-device/storage-device-registration.d.ts +87 -0
  458. package/models/models/storage-device/storage-device-registration.d.ts.map +1 -0
  459. package/models/models/storage-device/types/index.d.ts +20 -0
  460. package/models/models/translation/constants.d.ts +2 -0
  461. package/models/models/translation/constants.d.ts.map +1 -0
  462. package/models/models/translation/index.d.ts +9 -0
  463. package/models/models/translation/index.d.ts.map +1 -0
  464. package/models/models/translation/services/index.d.ts +2 -0
  465. package/models/models/translation/services/index.d.ts.map +1 -0
  466. package/models/models/translation/services/translation-services.d.ts +25 -0
  467. package/models/models/translation/services/translation-services.d.ts.map +1 -0
  468. package/models/models/translation/translation-container-model.d.ts +36 -0
  469. package/models/models/translation/translation-container-model.d.ts.map +1 -0
  470. package/models/models/translation/translation-container-registration.d.ts +87 -0
  471. package/models/models/translation/translation-container-registration.d.ts.map +1 -0
  472. package/models/models/translation/translation-context.d.ts +27 -0
  473. package/models/models/translation/translation-context.d.ts.map +1 -0
  474. package/models/models/translation/translation-model.d.ts +42 -0
  475. package/models/models/translation/translation-model.d.ts.map +1 -0
  476. package/models/models/translation/translation-registration.d.ts +85 -0
  477. package/models/models/translation/translation-registration.d.ts.map +1 -0
  478. package/models/models/translation/types/index.d.ts +43 -0
  479. package/models/models/trouble/handlers/resolvable-trouble-handler.d.ts +16 -0
  480. package/models/models/trouble/handlers/resolvable-trouble-handler.d.ts.map +1 -0
  481. package/models/models/trouble/index.d.ts +8 -0
  482. package/models/models/trouble/index.d.ts.map +1 -0
  483. package/models/models/trouble/services/index.d.ts +2 -0
  484. package/models/models/trouble/services/index.d.ts.map +1 -0
  485. package/models/models/trouble/services/trouble-services.d.ts +23 -0
  486. package/models/models/trouble/services/trouble-services.d.ts.map +1 -0
  487. package/models/models/trouble/trouble-model.d.ts +42 -0
  488. package/models/models/trouble/trouble-model.d.ts.map +1 -0
  489. package/models/models/trouble/trouble-registration.d.ts +84 -0
  490. package/models/models/trouble/trouble-registration.d.ts.map +1 -0
  491. package/models/models/trouble/types/index.d.ts +100 -0
  492. package/models/models/trouble/utils/trouble-data-extension.d.ts +5 -0
  493. package/models/models/trouble/utils/trouble-data-extension.d.ts.map +1 -0
  494. package/models/models/trouble/utils/trouble-extension.d.ts +5 -0
  495. package/models/models/trouble/utils/trouble-extension.d.ts.map +1 -0
  496. package/models/models/trouble/utils/trouble-reducer.d.ts +4 -0
  497. package/models/models/trouble/utils/trouble-reducer.d.ts.map +1 -0
  498. package/models/models/trouble-container/index.d.ts +4 -0
  499. package/models/models/trouble-container/index.d.ts.map +1 -0
  500. package/models/models/trouble-container/trouble-container-model.d.ts +23 -0
  501. package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -0
  502. package/models/models/trouble-container/trouble-container-registration.d.ts +5 -0
  503. package/models/models/trouble-container/trouble-container-registration.d.ts.map +1 -0
  504. package/models/models/trouble-container/trouble-utils.d.ts +5 -0
  505. package/models/models/trouble-container/trouble-utils.d.ts.map +1 -0
  506. package/models/models/trouble-container/types/index.d.ts +17 -0
  507. package/models/models/types/index.d.ts +3 -0
  508. package/models/models/types/index.d.ts.map +1 -0
  509. package/models/models/usb-update/index.d.ts +7 -0
  510. package/models/models/usb-update/index.d.ts.map +1 -0
  511. package/models/models/usb-update/services/index.d.ts +2 -0
  512. package/models/models/usb-update/services/index.d.ts.map +1 -0
  513. package/models/models/usb-update/services/usb-update-services.d.ts +22 -0
  514. package/models/models/usb-update/services/usb-update-services.d.ts.map +1 -0
  515. package/models/models/usb-update/types/index.d.ts +14 -0
  516. package/models/models/usb-update/usb-update-container-model.d.ts +34 -0
  517. package/models/models/usb-update/usb-update-container-model.d.ts.map +1 -0
  518. package/models/models/usb-update/usb-update-container-registration.d.ts +87 -0
  519. package/models/models/usb-update/usb-update-container-registration.d.ts.map +1 -0
  520. package/models/models/usb-update/usb-update-model.d.ts +30 -0
  521. package/models/models/usb-update/usb-update-model.d.ts.map +1 -0
  522. package/models/models/usb-update/usb-update-registration.d.ts +87 -0
  523. package/models/models/usb-update/usb-update-registration.d.ts.map +1 -0
  524. package/models/models/ws-event/index.d.ts +4 -0
  525. package/models/models/ws-event/index.d.ts.map +1 -0
  526. package/models/models/ws-event/types/index.d.ts +25 -0
  527. package/models/models/ws-event/types/index.d.ts.map +1 -0
  528. package/models/models/ws-event/ws-event-factory.d.ts +5 -0
  529. package/models/models/ws-event/ws-event-factory.d.ts.map +1 -0
  530. package/models/models/ws-event/ws-event-model.d.ts +15 -0
  531. package/models/models/ws-event/ws-event-model.d.ts.map +1 -0
  532. package/models/registration.d.ts +7 -0
  533. package/models/registration.d.ts.map +1 -0
  534. package/models/services/config-bean/index.d.ts +144 -0
  535. package/models/services/config-bean/index.d.ts.map +1 -0
  536. package/models/services/future/index.d.ts +98 -0
  537. package/models/services/future/index.d.ts.map +1 -0
  538. package/models/services/index.d.ts +4 -0
  539. package/models/services/index.d.ts.map +1 -0
  540. package/models/services/login/index.d.ts +78 -0
  541. package/models/services/login/index.d.ts.map +1 -0
  542. package/models/services/trouble/index.d.ts +59 -0
  543. package/models/services/trouble/index.d.ts.map +1 -0
  544. package/models/types/global.d.ts +19 -0
  545. package/models/utils/client.d.ts +63 -0
  546. package/models/utils/client.d.ts.map +1 -0
  547. package/models/utils/conversion-utils.d.ts +41 -0
  548. package/models/utils/conversion-utils.d.ts.map +1 -0
  549. package/models/utils/core-registration-manager.d.ts +21 -0
  550. package/models/utils/core-registration-manager.d.ts.map +1 -0
  551. package/models/utils/extension-manager.d.ts +21 -0
  552. package/models/utils/extension-manager.d.ts.map +1 -0
  553. package/models/utils/future-manager/index.d.ts +9 -0
  554. package/models/utils/future-manager/index.d.ts.map +1 -0
  555. package/models/utils/index.d.ts +11 -0
  556. package/models/utils/index.d.ts.map +1 -0
  557. package/models/utils/openapi.d.ts +9493 -0
  558. package/models/utils/persistence-store.d.ts +58 -0
  559. package/models/utils/persistence-store.d.ts.map +1 -0
  560. package/models/utils/prop-utils.d.ts +3 -0
  561. package/models/utils/prop-utils.d.ts.map +1 -0
  562. package/models/utils/region-utils.d.ts +2 -0
  563. package/models/utils/region-utils.d.ts.map +1 -0
  564. package/models/utils/service.d.ts +70 -0
  565. package/models/utils/service.d.ts.map +1 -0
  566. package/models/utils/timer-manager.d.ts +153 -0
  567. package/models/utils/timer-manager.d.ts.map +1 -0
  568. package/models/utils/timezone-utils.d.ts +2 -0
  569. package/models/utils/timezone-utils.d.ts.map +1 -0
  570. package/models/utils/trouble-utils.d.ts +6 -0
  571. package/models/utils/trouble-utils.d.ts.map +1 -0
  572. package/models/utils/types.d.ts +9637 -0
  573. package/models/utils/types.d.ts.map +1 -0
  574. package/package.json +42 -0
  575. package/ui/components/error-boundary/error-boundary.d.ts +16 -0
  576. package/ui/components/error-boundary/error-boundary.d.ts.map +1 -0
  577. package/ui/components/error-boundary/index.d.ts +2 -0
  578. package/ui/components/error-boundary/index.d.ts.map +1 -0
  579. package/ui/components/index.d.ts +5 -0
  580. package/ui/components/index.d.ts.map +1 -0
  581. package/ui/components/kos-model-loader/contexts/kos-model-context.d.ts +12 -0
  582. package/ui/components/kos-model-loader/contexts/kos-model-context.d.ts.map +1 -0
  583. package/ui/components/kos-model-loader/contexts/kos-model-hierarchy-context.d.ts +16 -0
  584. package/ui/components/kos-model-loader/contexts/kos-model-hierarchy-context.d.ts.map +1 -0
  585. package/ui/components/kos-model-loader/index.d.ts +4 -0
  586. package/ui/components/kos-model-loader/index.d.ts.map +1 -0
  587. package/ui/components/kos-model-loader/kos-model-loader.d.ts +13 -0
  588. package/ui/components/kos-model-loader/kos-model-loader.d.ts.map +1 -0
  589. package/ui/components/loading-message/index.d.ts +11 -0
  590. package/ui/components/loading-message/index.d.ts.map +1 -0
  591. package/ui/components/loading-message/loading-message-styles.d.ts +3 -0
  592. package/ui/components/loading-message/loading-message-styles.d.ts.map +1 -0
  593. package/ui/components/progress-bar/index.d.ts +2 -0
  594. package/ui/components/progress-bar/index.d.ts.map +1 -0
  595. package/ui/components/progress-bar/progress-bar.d.ts +11 -0
  596. package/ui/components/progress-bar/progress-bar.d.ts.map +1 -0
  597. package/ui/constants/index.d.ts +2 -0
  598. package/ui/constants/index.d.ts.map +1 -0
  599. package/ui/contexts/create-model-context.d.ts +28 -0
  600. package/ui/contexts/create-model-context.d.ts.map +1 -0
  601. package/ui/contexts/fetch-kos-core.d.ts +6 -0
  602. package/ui/contexts/fetch-kos-core.d.ts.map +1 -0
  603. package/ui/contexts/index.d.ts +7 -0
  604. package/ui/contexts/index.d.ts.map +1 -0
  605. package/ui/contexts/kos-core-context.d.ts +16 -0
  606. package/ui/contexts/kos-core-context.d.ts.map +1 -0
  607. package/ui/contexts/kos-model-context.d.ts +10 -0
  608. package/ui/contexts/kos-model-context.d.ts.map +1 -0
  609. package/ui/contexts/kos-time/index.d.ts +2 -0
  610. package/ui/contexts/kos-time/index.d.ts.map +1 -0
  611. package/ui/contexts/kos-time/kos-time-provider.d.ts +13 -0
  612. package/ui/contexts/kos-time/kos-time-provider.d.ts.map +1 -0
  613. package/ui/contexts/modal-context.d.ts +13 -0
  614. package/ui/contexts/modal-context.d.ts.map +1 -0
  615. package/ui/contexts/software-info/index.d.ts +2 -0
  616. package/ui/contexts/software-info/index.d.ts.map +1 -0
  617. package/ui/contexts/software-info/software-info-provider.d.ts +14 -0
  618. package/ui/contexts/software-info/software-info-provider.d.ts.map +1 -0
  619. package/ui/contexts/state-bean/index.d.ts +2 -0
  620. package/ui/contexts/state-bean/index.d.ts.map +1 -0
  621. package/ui/contexts/state-bean/state-bean-provider.d.ts +14 -0
  622. package/ui/contexts/state-bean/state-bean-provider.d.ts.map +1 -0
  623. package/ui/contexts/token-context.d.ts +9 -0
  624. package/ui/contexts/token-context.d.ts.map +1 -0
  625. package/ui/contexts/translation-container/index.d.ts +2 -0
  626. package/ui/contexts/translation-container/index.d.ts.map +1 -0
  627. package/ui/contexts/translation-container/kos-translations-provider.d.ts +18 -0
  628. package/ui/contexts/translation-container/kos-translations-provider.d.ts.map +1 -0
  629. package/ui/hooks/device/index.d.ts +3 -0
  630. package/ui/hooks/device/index.d.ts.map +1 -0
  631. package/ui/hooks/device/use-device.d.ts +14 -0
  632. package/ui/hooks/device/use-device.d.ts.map +1 -0
  633. package/ui/hooks/device/with-device.d.ts +9 -0
  634. package/ui/hooks/device/with-device.d.ts.map +1 -0
  635. package/ui/hooks/fetch-model.d.ts +6 -0
  636. package/ui/hooks/fetch-model.d.ts.map +1 -0
  637. package/ui/hooks/index.d.ts +30 -0
  638. package/ui/hooks/index.d.ts.map +1 -0
  639. package/ui/hooks/kos-time/index.d.ts +3 -0
  640. package/ui/hooks/kos-time/index.d.ts.map +1 -0
  641. package/ui/hooks/kos-time/use-kos-time.d.ts +14 -0
  642. package/ui/hooks/kos-time/use-kos-time.d.ts.map +1 -0
  643. package/ui/hooks/kos-time/with-kos-time.d.ts +8 -0
  644. package/ui/hooks/kos-time/with-kos-time.d.ts.map +1 -0
  645. package/ui/hooks/network-interface-container/index.d.ts +3 -0
  646. package/ui/hooks/network-interface-container/index.d.ts.map +1 -0
  647. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts +14 -0
  648. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -0
  649. package/ui/hooks/network-interface-container/with-network-interface-container.d.ts +9 -0
  650. package/ui/hooks/network-interface-container/with-network-interface-container.d.ts.map +1 -0
  651. package/ui/hooks/ota/index.d.ts +3 -0
  652. package/ui/hooks/ota/index.d.ts.map +1 -0
  653. package/ui/hooks/ota/use-ota.d.ts +14 -0
  654. package/ui/hooks/ota/use-ota.d.ts.map +1 -0
  655. package/ui/hooks/ota/with-ota.d.ts +9 -0
  656. package/ui/hooks/ota/with-ota.d.ts.map +1 -0
  657. package/ui/hooks/outside-alerter.d.ts +11 -0
  658. package/ui/hooks/outside-alerter.d.ts.map +1 -0
  659. package/ui/hooks/software-info/index.d.ts +3 -0
  660. package/ui/hooks/software-info/index.d.ts.map +1 -0
  661. package/ui/hooks/software-info/use-software-info.d.ts +14 -0
  662. package/ui/hooks/software-info/use-software-info.d.ts.map +1 -0
  663. package/ui/hooks/software-info/with-software-info.d.ts +8 -0
  664. package/ui/hooks/software-info/with-software-info.d.ts.map +1 -0
  665. package/ui/hooks/state-bean/use-state-bean.d.ts +14 -0
  666. package/ui/hooks/state-bean/use-state-bean.d.ts.map +1 -0
  667. package/ui/hooks/state-bean/with-state-bean.d.ts +8 -0
  668. package/ui/hooks/state-bean/with-state-bean.d.ts.map +1 -0
  669. package/ui/hooks/state-prop/index.d.ts +2 -0
  670. package/ui/hooks/state-prop/index.d.ts.map +1 -0
  671. package/ui/hooks/state-prop/use-state-prop.d.ts +15 -0
  672. package/ui/hooks/state-prop/use-state-prop.d.ts.map +1 -0
  673. package/ui/hooks/storage-device-container/index.d.ts +3 -0
  674. package/ui/hooks/storage-device-container/index.d.ts.map +1 -0
  675. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +16 -0
  676. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -0
  677. package/ui/hooks/storage-device-container/with-storage-device-container.d.ts +9 -0
  678. package/ui/hooks/storage-device-container/with-storage-device-container.d.ts.map +1 -0
  679. package/ui/hooks/timer/index.d.ts +2 -0
  680. package/ui/hooks/timer/index.d.ts.map +1 -0
  681. package/ui/hooks/timer/use-timer.d.ts +19 -0
  682. package/ui/hooks/timer/use-timer.d.ts.map +1 -0
  683. package/ui/hooks/translation-container/index.d.ts +6 -0
  684. package/ui/hooks/translation-container/index.d.ts.map +1 -0
  685. package/ui/hooks/translation-container/trans.d.ts +21 -0
  686. package/ui/hooks/translation-container/trans.d.ts.map +1 -0
  687. package/ui/hooks/translation-container/use-translation-container.d.ts +43 -0
  688. package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -0
  689. package/ui/hooks/translation-container/use-translation.d.ts +14 -0
  690. package/ui/hooks/translation-container/use-translation.d.ts.map +1 -0
  691. package/ui/hooks/translation-container/with-translation-container.d.ts +9 -0
  692. package/ui/hooks/translation-container/with-translation-container.d.ts.map +1 -0
  693. package/ui/hooks/trouble/index.d.ts +5 -0
  694. package/ui/hooks/trouble/index.d.ts.map +1 -0
  695. package/ui/hooks/trouble/use-trouble-container.d.ts +14 -0
  696. package/ui/hooks/trouble/use-trouble-container.d.ts.map +1 -0
  697. package/ui/hooks/trouble/use-trouble-visibility.d.ts +16 -0
  698. package/ui/hooks/trouble/use-trouble-visibility.d.ts.map +1 -0
  699. package/ui/hooks/trouble/use-trouble.d.ts +14 -0
  700. package/ui/hooks/trouble/use-trouble.d.ts.map +1 -0
  701. package/ui/hooks/trouble/with-trouble-container.d.ts +8 -0
  702. package/ui/hooks/trouble/with-trouble-container.d.ts.map +1 -0
  703. package/ui/hooks/usb-update-container/index.d.ts +3 -0
  704. package/ui/hooks/usb-update-container/index.d.ts.map +1 -0
  705. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts +17 -0
  706. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -0
  707. package/ui/hooks/usb-update-container/with-usb-update-container.d.ts +9 -0
  708. package/ui/hooks/usb-update-container/with-usb-update-container.d.ts.map +1 -0
  709. package/ui/hooks/use-config-bean.d.ts +15 -0
  710. package/ui/hooks/use-config-bean.d.ts.map +1 -0
  711. package/ui/hooks/use-config-property.d.ts +29 -0
  712. package/ui/hooks/use-config-property.d.ts.map +1 -0
  713. package/ui/hooks/use-date-props.d.ts +169 -0
  714. package/ui/hooks/use-date-props.d.ts.map +1 -0
  715. package/ui/hooks/use-date-relative-prop.d.ts +49 -0
  716. package/ui/hooks/use-date-relative-prop.d.ts.map +1 -0
  717. package/ui/hooks/use-kos-date-formats.d.ts +57 -0
  718. package/ui/hooks/use-kos-date-formats.d.ts.map +1 -0
  719. package/ui/hooks/use-kos-model.d.ts +23 -0
  720. package/ui/hooks/use-kos-model.d.ts.map +1 -0
  721. package/ui/hooks/use-kos-region-timezones.d.ts +89 -0
  722. package/ui/hooks/use-kos-region-timezones.d.ts.map +1 -0
  723. package/ui/hooks/use-kos-regions.d.ts +59 -0
  724. package/ui/hooks/use-kos-regions.d.ts.map +1 -0
  725. package/ui/hooks/use-kos-time-formats.d.ts +58 -0
  726. package/ui/hooks/use-kos-time-formats.d.ts.map +1 -0
  727. package/ui/hooks/use-kos-token.d.ts +5 -0
  728. package/ui/hooks/use-kos-token.d.ts.map +1 -0
  729. package/ui/hooks/use-kos-unit-systems.d.ts +56 -0
  730. package/ui/hooks/use-kos-unit-systems.d.ts.map +1 -0
  731. package/ui/hooks/use-local-computed.d.ts +7 -0
  732. package/ui/hooks/use-local-computed.d.ts.map +1 -0
  733. package/ui/hooks/use-mutation-observer.d.ts +13 -0
  734. package/ui/hooks/use-mutation-observer.d.ts.map +1 -0
  735. package/ui/hooks/use-press-gesture/index.d.ts +4 -0
  736. package/ui/hooks/use-press-gesture/index.d.ts.map +1 -0
  737. package/ui/hooks/use-press-gesture/strategy/dom-intersection-strategy.d.ts +4 -0
  738. package/ui/hooks/use-press-gesture/strategy/dom-intersection-strategy.d.ts.map +1 -0
  739. package/ui/hooks/use-press-gesture/strategy/intersection-strategy.d.ts +9 -0
  740. package/ui/hooks/use-press-gesture/strategy/intersection-strategy.d.ts.map +1 -0
  741. package/ui/hooks/use-press-gesture/use-press-gesture.d.ts +17 -0
  742. package/ui/hooks/use-press-gesture/use-press-gesture.d.ts.map +1 -0
  743. package/ui/hooks/use-project-reloading.d.ts +2 -0
  744. package/ui/hooks/use-project-reloading.d.ts.map +1 -0
  745. package/ui/hooks/use-region-time-props.d.ts +27 -0
  746. package/ui/hooks/use-region-time-props.d.ts.map +1 -0
  747. package/ui/hooks/use-time-props.d.ts +68 -0
  748. package/ui/hooks/use-time-props.d.ts.map +1 -0
  749. package/ui/hooks/with-project-reload.d.ts +7 -0
  750. package/ui/hooks/with-project-reload.d.ts.map +1 -0
  751. package/ui/i18n/config.d.ts +11 -0
  752. package/ui/i18n/config.d.ts.map +1 -0
  753. package/ui/index.d.ts +6 -0
  754. package/ui/index.d.ts.map +1 -0
  755. package/ui/mocks/browser.d.ts +3 -0
  756. package/ui/mocks/browser.d.ts.map +1 -0
  757. package/ui/mocks/handlers.d.ts +3 -0
  758. package/ui/mocks/handlers.d.ts.map +1 -0
  759. package/ui/utils/date-utils.d.ts +34 -0
  760. package/ui/utils/date-utils.d.ts.map +1 -0
  761. package/ui/utils/date.d.ts +31 -0
  762. package/ui/utils/date.d.ts.map +1 -0
  763. package/ui/utils/index.d.ts +2 -0
  764. package/ui/utils/index.d.ts.map +1 -0
@@ -0,0 +1,19 @@
1
+ import { KosStateProp, StatePropOptions } from './types';
2
+ import { StatePropertyTypes } from '../types';
3
+ import { StateBeanModel } from '../state-bean/types';
4
+ import { IKosModelLogger, KosContextLogger, KosCreationContext } from '../../../core';
5
+
6
+ export declare const MODEL_TYPE = "state-prop-model";
7
+ export declare class StatePropModelImpl<T extends StatePropertyTypes = any> implements KosStateProp<T>, IKosModelLogger {
8
+ id: string;
9
+ path: string;
10
+ attribute: string;
11
+ logger: KosContextLogger;
12
+ stateBean: StateBeanModel;
13
+ constructor(modelId: string, options: StatePropOptions, context: KosCreationContext);
14
+ get value(): T | undefined;
15
+ init(): Promise<void>;
16
+ load(): Promise<void>;
17
+ toString(): string;
18
+ }
19
+ //# sourceMappingURL=state-prop-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state-prop-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/state-prop/state-prop-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE9D,eAAO,MAAM,UAAU,qBAAqB,CAAC;AAG7C,qBACa,kBAAkB,CAAC,CAAC,SAAS,kBAAkB,GAAG,GAAG,CAChE,YAAW,YAAY,CAAC,CAAC,CAAC,EAAE,eAAe;IAE3C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,gBAAgB,CAAC;IAOzB,SAAS,EAAG,cAAc,CAAC;gBAGzB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,gBAAgB,EACzB,OAAO,EAAE,kBAAkB;IAW7B,IAAI,KAAK,IAAI,CAAC,GAAG,SAAS,CAEzB;IAIK,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,QAAQ,IAAI,MAAM;CAGnB"}
@@ -0,0 +1,84 @@
1
+ import { KosStateProp, StatePropOptions } from './types';
2
+ import { KosModelRegistrationBean } from '../../../core';
3
+
4
+ /**
5
+ * # StateProp
6
+ *
7
+ * The registration bean includes convenience methods for creating and working with StatePropModel instances.
8
+ *
9
+ * ## type
10
+ * The type property is a string that identifies the model type.
11
+ * 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
12
+ * used when declaring dependencies on models.
13
+ *
14
+ * @example
15
+ * ```typescript
16
+ *
17
+ * @kosDependency({modelType: StateProp.type, id: "statePropId"})
18
+ * private statePropModel: StatePropModel;
19
+ * ```
20
+ *
21
+ *
22
+ * ## factory
23
+ *
24
+ * The factory method creates a factory function that can be used to create new StatePropModel instances.
25
+ *
26
+
27
+ * The factory function is a curried function that takes the model id as the first argument and the options as the second argument.
28
+ *
29
+ * If a model with the specified id already exists, the factory function will return the existing model. The options will be ignored
30
+ * in this case and the existing model will be returned in its current state.
31
+ *
32
+ * @example
33
+ * ```typescript
34
+ * const model = StateProp.factory("statePropId")({
35
+ * // Add option data
36
+ * });
37
+ * ```
38
+
39
+
40
+ *
41
+ * ## predicate
42
+ *
43
+ * [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 StatePropModel.
44
+ *
45
+ * @example
46
+ * ```typescript
47
+ *
48
+ * const model: IKosDataModel = ...; // some model
49
+ *
50
+ * if (StateProp.predicate(model)) {
51
+ * // if the function evaluates to true, the model is narrowed down to StatePropModel
52
+ * // and the compiler will know that the model has the StatePropModel interface
53
+ * model.updateAvailability(false);
54
+ * }
55
+ * ```
56
+ *
57
+ * ## registration
58
+ *
59
+ * The registration property is an object that can be used to simplify registration of the model with the model registry. The registration object
60
+ * can be spread into the model registration and provides all of the required information to register the model implementation class against the model type.
61
+ *
62
+ *
63
+ * @example
64
+ *
65
+ * In an application registration file you can declare the model registration as follows:
66
+ *
67
+ * **registration.ts**
68
+ * ```typescript
69
+ * import { StateProp } from "@kosdev-code/kos-dispense-sdk";
70
+ * ...
71
+ * import { ExtensionManager, IKosRegistry } from "@kosdev-code/kos-ui-sdk";
72
+ * export const kosModels: IKosRegistry["models"] = {
73
+ * ...StateProp.registration,
74
+ * };
75
+ * ```
76
+ *
77
+ * ## registration.singleton
78
+
79
+ * The stateProp model is NOT a singleton model. This means that each time the factory function is called with a unique ID, a new model instance will be created.
80
+ * If the factory function is called with an ID that already exists, the existing model will be returned.
81
+
82
+ * */
83
+ export declare const StateProp: Readonly<KosModelRegistrationBean<KosStateProp, StatePropOptions>>;
84
+ //# sourceMappingURL=state-prop-registration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state-prop-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/state-prop/state-prop-registration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAG9D,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8EK;AACL,eAAO,MAAM,SAAS,EAAE,QAAQ,CAC9B,wBAAwB,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAWzD,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { StatePropertyTypes } from '../../types';
2
+ import { IKosDataModel } from '../../../core';
3
+
4
+
5
+ export interface StatePropOptions {
6
+ path: string;
7
+ attribute: string;
8
+ }
9
+
10
+ /**
11
+ * State Property Model manages the state of a single state bean property
12
+ * @category Model
13
+ */
14
+
15
+ export interface KosStateProp<T extends StatePropertyTypes = any>
16
+ extends StatePropOptions,
17
+ IKosDataModel {
18
+ id: string;
19
+ value: T | undefined;
20
+ }
@@ -0,0 +1,7 @@
1
+ export { StorageDeviceContainer } from './storage-device-container-registration';
2
+ export { StorageDevice } from './storage-device-registration';
3
+ export type * from './types';
4
+ export type { StorageDeviceModel } from './storage-device-model';
5
+ export type { StorageDeviceContainerModel } from './storage-device-container-model';
6
+ export * as StorageDeviceServices from './services';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/storage-device/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,mBAAmB,SAAS,CAAC;AAC7B,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,qBAAqB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './storage-device-services';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/storage-device/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export interface StorageDeviceResponse {
5
+ mountDir: string;
6
+ removed: boolean;
7
+ id: string;
8
+ vendor: string;
9
+ runTimeMs: number;
10
+ model: string;
11
+ nodeId: string;
12
+ local: boolean;
13
+ label: string;
14
+ syspath: string;
15
+ }
16
+ /**
17
+ * @category Service
18
+ * @internal
19
+ * Retrieves the initial storage-device data.
20
+ */
21
+ export declare const getStorageDevices: () => Promise<StorageDeviceResponse[]>;
22
+ //# sourceMappingURL=storage-device-services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-device-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/storage-device/services/storage-device-services.ts"],"names":[],"mappings":"AAAA;;GAEG;AAcH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AACD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,wCAQ7B,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { StorageDeviceContainerOptions } from './types';
2
+ import { StorageDeviceModel } from './storage-device-model';
3
+ import { StorageDeviceResponse } from './services';
4
+ import { IKosDataModel, KosCreationContext } from '../../../core/core/kosModel';
5
+ import { IKosModelContainer } from '../../../core/core/kos-container-model';
6
+ import { IKosIdentifiable, IKosModelHolder, PublicModelInterface } from '../../../core';
7
+
8
+ export declare const MODEL_TYPE = "storage-device-container-model";
9
+ export declare const TOPIC_STORAGE_AVAILABILITY = "/kos/storage";
10
+ export type StorageDeviceContainerModel = PublicModelInterface<StorageDeviceContainerModelImpl>;
11
+ /**
12
+ * Storage Device Container Model
13
+ * @category Model
14
+ */
15
+ export declare class StorageDeviceContainerModelImpl implements IKosIdentifiable, IKosModelHolder<StorageDeviceModel>, IKosDataModel {
16
+ id: string;
17
+ private logger;
18
+ private _models;
19
+ constructor(modelId: string, options: StorageDeviceContainerOptions, context: KosCreationContext);
20
+ getModel(id: string): StorageDeviceModel | undefined;
21
+ get models(): IKosModelContainer<StorageDeviceModel>;
22
+ get data(): StorageDeviceModel[];
23
+ addModel(model: StorageDeviceModel): void;
24
+ removeModel(id: string): void;
25
+ init(): Promise<void>;
26
+ get isStorageInserted(): boolean;
27
+ get volumes(): StorageDeviceModel[];
28
+ handleStorageAvailability(devices: StorageDeviceResponse[]): void;
29
+ load(): Promise<void>;
30
+ }
31
+ //# sourceMappingURL=storage-device-container-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-device-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/storage-device/storage-device-container-model.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EAIpB,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,kBAAkB,EACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAqB,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,KAAK,EACV,6BAA6B,EAE9B,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,UAAU,mCAAmC,CAAC;AAE3D,eAAO,MAAM,0BAA0B,iBAAiB,CAAC;AAEzD,MAAM,MAAM,2BAA2B,GACrC,oBAAoB,CAAC,+BAA+B,CAAC,CAAC;AAExD;;;GAGG;AACH,qBACa,+BACX,YACE,gBAAgB,EAChB,eAAe,CAAC,kBAAkB,CAAC,EACnC,aAAa;IAEf,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IACvB,OAAO,CAAC,OAAO,CAAyC;gBAEhE,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,6BAA6B,EACtC,OAAO,EAAE,kBAAkB;IAY7B,QAAQ,CAAC,EAAE,EAAE,MAAM;IAGnB,IAAI,MAAM,2CAET;IACD,IAAI,IAAI,yBAEP;IAED,QAAQ,CAAC,KAAK,EAAE,kBAAkB;IAIlC,WAAW,CAAC,EAAE,EAAE,MAAM;IAKhB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAK3B,IAAI,iBAAiB,YAEpB;IAED,IAAI,OAAO,yBAEV;IAMD,yBAAyB,CAAC,OAAO,EAAE,qBAAqB,EAAE;IA6BpD,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAc5B"}
@@ -0,0 +1,86 @@
1
+ import { StorageDeviceContainerModel } from './storage-device-container-model';
2
+ import { SingletonKosModelRegistrationFactory } from '../../../core';
3
+
4
+ /**
5
+ * # StorageDeviceContainer
6
+ *
7
+ * The registration bean includes convenience methods for creating and working with StorageDeviceContainerModel instances.
8
+ *
9
+ * ## type
10
+ * The type property is a string that identifies the model type.
11
+ * 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
12
+ * used when declaring dependencies on models.
13
+ *
14
+ * @example
15
+ * ```typescript
16
+ *
17
+ * @kosDependency({modelType: StorageDeviceContainer.type, id: "storageDeviceContainerId"})
18
+ * private storageDeviceContainerModel: StorageDeviceContainerModel;
19
+ * ```
20
+ *
21
+ *
22
+ * ## factory
23
+ *
24
+ * The factory method creates a factory function that can be used to create new StorageDeviceContainerModel instances.
25
+ *
26
+
27
+ * As this is a singleton model, the factory function accepts the model options as its argument.
28
+ *
29
+ * If a model with the same model type already exists, the factory function will return the existing model. The options will be ignored
30
+ * in this case and the existing model will be returned in its current state.
31
+ *
32
+ * @example
33
+ * ```typescript
34
+ * const model = StorageDeviceContainer.factory({
35
+ * // Add option data
36
+ * });
37
+ * ```
38
+
39
+
40
+ *
41
+ * ## predicate
42
+ *
43
+ * [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 StorageDeviceContainerModel.
44
+ *
45
+ * @example
46
+ * ```typescript
47
+ *
48
+ * const model: IKosDataModel = ...; // some model
49
+ *
50
+ * if (StorageDeviceContainer.predicate(model)) {
51
+ * // if the function evaluates to true, the model is narrowed down to StorageDeviceContainerModel
52
+ * // and the compiler will know that the model has the StorageDeviceContainerModel interface
53
+ * model.updateAvailability(false);
54
+ * }
55
+ * ```
56
+ *
57
+ * ## registration
58
+ *
59
+ * The registration property is an object that can be used to simplify registration of the model with the model registry. The registration object
60
+ * can be spread into the model registration and provides all of the required information to register the model implementation class against the model type.
61
+ *
62
+ *
63
+ * @example
64
+ *
65
+ * In an application registration file you can declare the model registration as follows:
66
+ *
67
+ * **registration.ts**
68
+ * ```typescript
69
+ * import { StorageDeviceContainer } from "@kosdev-code/kos-dispense-sdk";
70
+ * ...
71
+ * import { ExtensionManager, IKosRegistry } from "@kosdev-code/kos-ui-sdk";
72
+ * export const kosModels: IKosRegistry["models"] = {
73
+ * ...StorageDeviceContainer.registration,
74
+ * };
75
+ * ```
76
+ *
77
+ * ## registration.singleton
78
+
79
+ * The storageDeviceContainer model is a singleton model. This means that each time the factory function is called , the same instance will be returned.
80
+ * If the model does not yet exist, it will be created passing in the provided options to initialize it.
81
+ *
82
+ * Singleton models don't require an ID as they will use the model type as their ID to guarantee uniqueness throughout the system.
83
+
84
+ * */
85
+ export declare const StorageDeviceContainer: SingletonKosModelRegistrationFactory<StorageDeviceContainerModel, object>;
86
+ //# sourceMappingURL=storage-device-container-registration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-device-container-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/storage-device/storage-device-container-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAQpF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgFK;AACL,eAAO,MAAM,sBAAsB,2EAMjC,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { StorageDeviceOptions } from './types';
2
+ import { IKosDataModel, IKosIdentifiable, KosCreationContext, PublicModelInterface } from '../../../core';
3
+
4
+ export declare const MODEL_TYPE = "storage-device-model";
5
+ export type StorageDeviceModel = PublicModelInterface<StorageDeviceModelImpl>;
6
+ /**
7
+ * Storage Device Model
8
+ * @category Model
9
+ */
10
+ export declare class StorageDeviceModelImpl implements IKosDataModel, IKosIdentifiable {
11
+ id: string;
12
+ mountDir: string;
13
+ removed: boolean;
14
+ vendor: string;
15
+ runTimeMs: number;
16
+ model: string;
17
+ nodeId: string;
18
+ local: boolean;
19
+ label: string;
20
+ syspath: string;
21
+ private logger;
22
+ constructor(modelId: string, options: StorageDeviceOptions, context: KosCreationContext);
23
+ updateModel(options: StorageDeviceOptions): void;
24
+ init(): Promise<void>;
25
+ load(): Promise<void>;
26
+ }
27
+ //# sourceMappingURL=storage-device-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-device-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/storage-device/storage-device-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,UAAU,yBAAyB,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC,CAAC;AAE9E;;;GAGG;AACH,qBAEa,sBAAuB,YAAW,aAAa,EAAE,gBAAgB;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IAEjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,MAAM,CAAmB;gBAE/B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,kBAAkB;IAe7B,WAAW,CAAC,OAAO,EAAE,oBAAoB,GAAG,IAAI;IAc1C,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
@@ -0,0 +1,87 @@
1
+ import { StorageDeviceOptions } from './types';
2
+ import { StorageDeviceModel } from './storage-device-model';
3
+ import { KosModelRegistrationFactory } from '../../../core';
4
+
5
+ /**
6
+ * # StorageDevice
7
+ *
8
+ * The registration bean includes convenience methods for creating and working with StorageDeviceModel instances.
9
+ *
10
+ * ## type
11
+ * The type property is a string that identifies the model type.
12
+ * The type is used to identify the model type in the model registry and to narrow down the model type in type predicates. It's most frequently
13
+ * used when declaring dependencies on models.
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ *
18
+ * @kosDependency({modelType: StorageDevice.type, id: "storageDeviceId"})
19
+ * private storageDeviceModel: StorageDeviceModel;
20
+ * ```
21
+ *
22
+ *
23
+ * ## factory
24
+ *
25
+ * The factory method creates a factory function that can be used to create new StorageDeviceModel instances.
26
+ *
27
+
28
+ * The factory function is a curried function that takes the model id as the first argument and the options as the second argument.
29
+ *
30
+ * If a model with the specified id 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.
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * const model = StorageDevice.factory("storageDeviceId")({
36
+ * // Add option data
37
+ * });
38
+ * ```
39
+
40
+
41
+ *
42
+ * ## predicate
43
+ *
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 StorageDeviceModel.
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ *
49
+ * const model: IKosDataModel = ...; // some model
50
+ *
51
+ * if (StorageDevice.predicate(model)) {
52
+ * // if the function evaluates to true, the model is narrowed down to StorageDeviceModel
53
+ * // and the compiler will know that the model has the StorageDeviceModel interface
54
+ * model.updateAvailability(false);
55
+ * }
56
+ * ```
57
+ *
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.
62
+ *
63
+ *
64
+ * @example
65
+ *
66
+ * In an application registration file you can declare the model registration as follows:
67
+ *
68
+ * **registration.ts**
69
+ * ```typescript
70
+ * import { StorageDevice } from "@kos-ui/project-models";
71
+ * import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
72
+ *
73
+ * import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
74
+ *
75
+ * KosModelRegistry.dispense
76
+ * .models()
77
+ * .model(StorageDevice);
78
+ * ```
79
+ *
80
+ * ## registration.singleton
81
+
82
+ * The storageDevice model is NOT a singleton model. This means that each time the factory function is called with a unique ID, a new model instance will be created.
83
+ * If the factory function is called with an ID that already exists, the existing model will be returned.
84
+
85
+ * */
86
+ export declare const StorageDevice: KosModelRegistrationFactory<StorageDeviceModel, StorageDeviceOptions>;
87
+ //# sourceMappingURL=storage-device-registration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-device-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/storage-device/storage-device-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgFK;AACL,eAAO,MAAM,aAAa,uEAMxB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { KosParentAware } from '../../../../core';
2
+
3
+
4
+ // --------------- StorageDevice ---------------
5
+
6
+ export interface StorageDeviceOptions extends KosParentAware {
7
+ mountDir: string;
8
+ removed: boolean;
9
+ vendor: string;
10
+ runTimeMs: number;
11
+ model: string;
12
+ nodeId: string;
13
+ local: boolean;
14
+ label: string;
15
+ syspath: string;
16
+ }
17
+
18
+ // --------------- StorageDeviceContainer ---------------
19
+
20
+ export type StorageDeviceContainerOptions = object;
@@ -0,0 +1,2 @@
1
+ export declare const CONTEXT_LANG_RESOLVER = "langResolver";
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/translation/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,iBAAiB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { getKosLocalizationDescriptor, getLocalizationDescriptor, getTranslations, } from './services';
2
+ export type { Localization } from './services';
3
+ export type { TranslationContainerModel } from './translation-container-model';
4
+ export { TranslationContainer } from './translation-container-registration';
5
+ export * from './translation-context';
6
+ export type { ResolveTranslationOptions, TranslationModel, } from './translation-model';
7
+ export { Translation } from './translation-registration';
8
+ export type * from './types';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/translation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,YAAY,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,cAAc,uBAAuB,CAAC;AACtC,YAAY,EACV,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './translation-services';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/translation/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,25 @@
1
+ export type TranslationResponse = Record<string, any>;
2
+ export interface LocaleDescriptor {
3
+ defaultLocale: string;
4
+ file: string;
5
+ fallbacks?: string[];
6
+ }
7
+ export interface Localization {
8
+ namespaces: {
9
+ [key: string]: {
10
+ locales: {
11
+ [key: string]: LocaleDescriptor;
12
+ };
13
+ basePath: string;
14
+ };
15
+ };
16
+ path: string;
17
+ }
18
+ /**
19
+ * @category Service
20
+ * Retrieves the initial translation data.
21
+ */
22
+ export declare const getTranslations: (url: string, root?: string) => Promise<any>;
23
+ export declare const getLocalizationDescriptor: () => Promise<Localization>;
24
+ export declare const getKosLocalizationDescriptor: (context: string) => () => Promise<Localization>;
25
+ //# sourceMappingURL=translation-services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/translation/services/translation-services.ts"],"names":[],"mappings":"AAeA,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAEtD,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AACD,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG;YACb,OAAO,EAAE;gBACP,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAC;aACjC,CAAC;YACF,QAAQ,EAAE,MAAM,CAAC;SAClB,CAAC;KACH,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;CACd;AASD;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAe,MAAM,SAAS,MAAM,iBAgB/D,CAAC;AAEF,eAAO,MAAM,yBAAyB,6BAYrC,CAAC;AAEF,eAAO,MAAM,4BAA4B,YAAa,MAAM,gCAY3D,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { TranslationContainerOptions } from './types';
2
+ import { TranslationModel } from './translation-model';
3
+ import { Localization } from './services';
4
+ import { IKosDataModel, IKosIdentifiable, IKosModelContainer, IKosModelHolder, KosCreationContext, ReloadAware } from '../../../core';
5
+
6
+ export declare const MODEL_TYPE = "translation-container-model";
7
+ type PublicInterface<T> = {
8
+ [P in keyof T]: T[P];
9
+ };
10
+ export type TranslationContainerModel = PublicInterface<Exclude<TranslationContainerModelImpl, keyof IKosDataModel>>;
11
+ export declare class TranslationContainerModelImpl implements IKosIdentifiable, IKosModelHolder<TranslationModel>, IKosDataModel, ReloadAware {
12
+ id: string;
13
+ lang: string;
14
+ private rootUrl?;
15
+ descriptor: Localization;
16
+ private _defaultNamespace?;
17
+ private resolver;
18
+ private logger;
19
+ private descriptorUrl?;
20
+ private namespaces;
21
+ private _models;
22
+ constructor(modelId: string, options: TranslationContainerOptions, context: KosCreationContext);
23
+ set currentLocale(locale: string);
24
+ get defaultNamespace(): import('./translation-model').TranslationModelImpl | undefined;
25
+ getModel(id: string): import('./translation-model').TranslationModelImpl | undefined;
26
+ get models(): IKosModelContainer<import('./translation-model').TranslationModelImpl>;
27
+ get data(): import('./translation-model').TranslationModelImpl[];
28
+ reload(): Promise<void>;
29
+ resolveNamespace(namespace: string): import('./translation-model').TranslationModelImpl;
30
+ addModel(model: TranslationModel): void;
31
+ removeModel(id: string): void;
32
+ init(): Promise<void>;
33
+ load(): Promise<void>;
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=translation-container-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/translation/translation-container-model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EAEf,kBAAkB,EAClB,WAAW,EACZ,MAAM,eAAe,CAAC;AAWvB,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAE3D,eAAO,MAAM,UAAU,gCAAgC,CAAC;AACxD,KAAK,eAAe,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,eAAe,CACrD,OAAO,CAAC,6BAA6B,EAAE,MAAM,aAAa,CAAC,CAC5D,CAAC;AAmBF,qBACa,6BACX,YACE,gBAAgB,EAChB,eAAe,CAAC,gBAAgB,CAAC,EACjC,aAAa,EACb,WAAW;IAEb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,UAAU,EAAE,YAAY,CAAC;IACzB,OAAO,CAAC,iBAAiB,CAAC,CAAS;IACnC,OAAO,CAAC,QAAQ,CAIJ;IACZ,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,UAAU,CAAgB;IACxB,OAAO,CAAC,OAAO,CAAuC;gBAE9D,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,2BAA2B,EACpC,OAAO,EAAE,kBAAkB;IAiB7B,IAAI,aAAa,CAAC,MAAM,EAAE,MAAM,EAK/B;IACD,IAAI,gBAAgB,mEAInB;IACD,QAAQ,CAAC,EAAE,EAAE,MAAM;IAInB,IAAI,MAAM,2EAET;IACD,IAAI,IAAI,yDAEP;IAEK,MAAM;IAQZ,gBAAgB,CAAC,SAAS,EAAE,MAAM;IA4ClC,QAAQ,CAAC,KAAK,EAAE,gBAAgB;IAIhC,WAAW,CAAC,EAAE,EAAE,MAAM;IAKhB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAMrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
@@ -0,0 +1,87 @@
1
+ import { TranslationContainerOptions } from './types';
2
+ import { TranslationContainerModel } from './translation-container-model';
3
+ import { SingletonKosModelRegistrationBean } from '../../../core';
4
+
5
+ /**
6
+ * # TranslationContainer
7
+ *
8
+ * The registration bean includes convenience methods for creating and working with TranslationContainerModel instances.
9
+ *
10
+ * ## type
11
+ * The type property is a string that identifies the model type.
12
+ * The type is used to identify the model type in the model registry and to narrow down the model type in type predicates. It's most frequently
13
+ * used when declaring dependencies on models.
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ *
18
+ * @kosDependency({modelType: TranslationContainer.type, id: "translationContainerId"})
19
+ * private translationContainerModel: TranslationContainerModel;
20
+ * ```
21
+ *
22
+ *
23
+ * ## factory
24
+ *
25
+ * The factory method creates a factory function that can be used to create new TranslationContainerModel instances.
26
+ *
27
+
28
+ * As this is a singleton model, the factory function accepts the model options as its argument.
29
+ *
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.
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * const model = TranslationContainer.factory({
36
+ * // Add option data
37
+ * });
38
+ * ```
39
+
40
+
41
+ *
42
+ * ## predicate
43
+ *
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 TranslationContainerModel.
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ *
49
+ * const model: IKosDataModel = ...; // some model
50
+ *
51
+ * if (TranslationContainer.predicate(model)) {
52
+ * // if the function evaluates to true, the model is narrowed down to TranslationContainerModel
53
+ * // and the compiler will know that the model has the TranslationContainerModel interface
54
+ * model.updateAvailability(false);
55
+ * }
56
+ * ```
57
+ *
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.
62
+ *
63
+ *
64
+ * @example
65
+ *
66
+ * In an application registration file you can declare the model registration as follows:
67
+ *
68
+ * **registration.ts**
69
+ * ```typescript
70
+ * import { TranslationContainer } from "@kosdev-code/kos-dispense-sdk";
71
+ * ...
72
+ * import { ExtensionManager, IKosRegistry } from "@kosdev-code/kos-ui-sdk";
73
+ * export const kosModels: IKosRegistry["models"] = {
74
+ * ...TranslationContainer.registration,
75
+ * };
76
+ * ```
77
+ *
78
+ * ## registration.singleton
79
+
80
+ * The translationContainer model is a singleton model. This means that each time the factory function is called , the same instance will be returned.
81
+ * If the model does not yet exist, it will be created passing in the provided options to initialize it.
82
+ *
83
+ * Singleton models don't require an ID as they will use the model type as their ID to guarantee uniqueness throughout the system.
84
+
85
+ * */
86
+ export declare const TranslationContainer: Readonly<SingletonKosModelRegistrationBean<TranslationContainerModel, TranslationContainerOptions>>;
87
+ //# sourceMappingURL=translation-container-registration.d.ts.map