@kosdev-code/kos-ui-sdk 3.0.28 → 3.0.30

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 (182) hide show
  1. package/common/events/async-event-bus.d.ts.map +1 -1
  2. package/common/events/eventBus.d.ts.map +1 -1
  3. package/core/core/companion-instantiator.d.ts.map +1 -1
  4. package/core/core/decorators/fsm-injection-utils.d.ts.map +1 -1
  5. package/core/core/decorators/index.d.ts +0 -1
  6. package/core/core/decorators/index.d.ts.map +1 -1
  7. package/core/core/decorators/kos-container-aware.d.ts +104 -3
  8. package/core/core/decorators/kos-container-aware.d.ts.map +1 -1
  9. package/core/core/decorators/kos-logger-aware.d.ts.map +1 -1
  10. package/core/core/decorators/kos-reload-aware.d.ts +4 -0
  11. package/core/core/decorators/kos-reload-aware.d.ts.map +1 -1
  12. package/core/core/decorators/kos-service-request-helpers.d.ts.map +1 -1
  13. package/core/core/decorators/kos-state-machine.d.ts.map +1 -1
  14. package/core/core/decorators/kosModel.d.ts.map +1 -1
  15. package/core/core/decorators/propKeys.d.ts +1 -1
  16. package/core/core/decorators/propKeys.d.ts.map +1 -1
  17. package/core/core/decorators/resolve-parameters.d.ts.map +1 -1
  18. package/core/core/dependency-manager.d.ts.map +1 -1
  19. package/core/core/extension/extension-manager.d.ts.map +1 -1
  20. package/core/core/indexing/kos-container-index-aware.d.ts +4 -0
  21. package/core/core/indexing/kos-container-index-aware.d.ts.map +1 -1
  22. package/core/core/indexing/kos-index-aware.d.ts +6 -0
  23. package/core/core/indexing/kos-index-aware.d.ts.map +1 -1
  24. package/core/core/indexing/types.d.ts +30 -3
  25. package/core/core/indexing/types.d.ts.map +1 -1
  26. package/core/core/kos-container-index.d.ts.map +1 -1
  27. package/core/core/kos-container-model.d.ts.map +1 -1
  28. package/core/core/kos-data-container.d.ts.map +1 -1
  29. package/core/core/kos-model-factory.d.ts.map +1 -1
  30. package/core/core/kos-registration.d.ts.map +1 -1
  31. package/core/core/kosModel.d.ts.map +1 -1
  32. package/core/core/kosModelManager.d.ts.map +1 -1
  33. package/core/core/lifecycle/kosCoreLifecycle.d.ts.map +1 -1
  34. package/core/core/lifecycle/kosModelLifecycle.d.ts.map +1 -1
  35. package/core/core/lifecycle/model-active-machine.d.ts.map +1 -1
  36. package/core/core/lifecycle/model-machine.d.ts.map +1 -1
  37. package/core/core/lifecycle/model-online-machine.d.ts.map +1 -1
  38. package/core/core/log/index.d.ts +1 -0
  39. package/core/core/log/index.d.ts.map +1 -1
  40. package/core/core/log/log-groups.d.ts +27 -0
  41. package/core/core/log/log-groups.d.ts.map +1 -0
  42. package/core/core/log/log-override-match.d.ts +24 -0
  43. package/core/core/log/log-override-match.d.ts.map +1 -0
  44. package/core/core/log/log.d.ts +15 -9
  45. package/core/core/log/log.d.ts.map +1 -1
  46. package/core/core/model/kos-logger-factory.d.ts +6 -4
  47. package/core/core/model/kos-logger-factory.d.ts.map +1 -1
  48. package/core/core/model/kos-model-component-factory.d.ts.map +1 -1
  49. package/core/core/model/model-hook-cache.d.ts +6 -1
  50. package/core/core/model/model-hook-cache.d.ts.map +1 -1
  51. package/core/core/model-cache.d.ts.map +1 -1
  52. package/core/core/model-instantiator.d.ts.map +1 -1
  53. package/core/core/registration/model-registration.d.ts +2 -0
  54. package/core/core/registration/model-registration.d.ts.map +1 -1
  55. package/core/core/registration/registration-manager.d.ts.map +1 -1
  56. package/core/core/services/app-startup-service.d.ts.map +1 -1
  57. package/core/core/services/intent-service.d.ts.map +1 -1
  58. package/core/core/transport/base-message-transport.d.ts.map +1 -1
  59. package/core/core/transport/bridge-transport.d.ts.map +1 -1
  60. package/core/core/transport/mock/future-simulator.d.ts.map +1 -1
  61. package/core/core/transport/mock/index.d.ts +2 -0
  62. package/core/core/transport/mock/index.d.ts.map +1 -1
  63. package/core/core/transport/mock/mock-boot.d.ts +39 -0
  64. package/core/core/transport/mock/mock-boot.d.ts.map +1 -0
  65. package/core/core/transport/mock/mock-config.d.ts.map +1 -1
  66. package/core/core/transport/mock/mock-fixtures.d.ts.map +1 -1
  67. package/core/core/transport/mock/mock-playback.d.ts.map +1 -1
  68. package/core/core/transport/mock/mock-recorder.d.ts.map +1 -1
  69. package/core/core/transport/mock/mock-registry.d.ts.map +1 -1
  70. package/core/core/transport/mock/mock-setups.d.ts.map +1 -1
  71. package/core/core/transport/mock/standalone-mock-socket.d.ts.map +1 -1
  72. package/core/core/transport/transport-factory.d.ts.map +1 -1
  73. package/core/core/transport/webSocketTransport.d.ts.map +1 -1
  74. package/core/types/global.d.ts +0 -6
  75. package/core/util/feature-flags.d.ts.map +1 -1
  76. package/core/util/kos-core-utils.d.ts.map +1 -1
  77. package/core/util/kos-fetch.d.ts.map +1 -1
  78. package/core/util/kos-message-utils.d.ts.map +1 -1
  79. package/core/util/kos-model-utils.d.ts +2 -0
  80. package/core/util/kos-model-utils.d.ts.map +1 -1
  81. package/core/util/kos-service-request.d.ts +11 -2
  82. package/core/util/kos-service-request.d.ts.map +1 -1
  83. package/core/util/log-utils.d.ts +0 -10
  84. package/core/util/log-utils.d.ts.map +1 -1
  85. package/core/util/model-error-utils.d.ts.map +1 -1
  86. package/core/util/model-utils.d.ts.map +1 -1
  87. package/core/util/promise-utils.d.ts.map +1 -1
  88. package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
  89. package/core/util/service-factory.d.ts.map +1 -1
  90. package/core/util/wait-for-request.d.ts.map +1 -1
  91. package/index.cjs +109 -323
  92. package/index.cjs.map +1 -1
  93. package/index.js +363 -577
  94. package/index.js.map +1 -1
  95. package/models/decorators/future-service.d.ts.map +1 -1
  96. package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
  97. package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
  98. package/models/models/device/services/device-services.d.ts.map +1 -1
  99. package/models/models/future/future-aware.d.ts.map +1 -1
  100. package/models/models/future/future-model-builder.d.ts.map +1 -1
  101. package/models/models/future/future-model.d.ts.map +1 -1
  102. package/models/models/future-container/future-container-model.d.ts.map +1 -1
  103. package/models/models/gpio-chip/gpio-chip-builders.d.ts +0 -3
  104. package/models/models/gpio-chip/gpio-chip-builders.d.ts.map +1 -1
  105. package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +1 -1
  106. package/models/models/gpio-chip/services/gpio-chip-services.d.ts +1 -1
  107. package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
  108. package/models/models/kos-expression-evaluator/expression-parse-cache.d.ts +2 -0
  109. package/models/models/kos-expression-evaluator/expression-parse-cache.d.ts.map +1 -1
  110. package/models/models/kos-log-manager/kos-log-manager-model.d.ts +43 -24
  111. package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
  112. package/models/models/kos-log-manager/services/kos-log-manager-services.d.ts +20 -1
  113. package/models/models/kos-log-manager/services/kos-log-manager-services.d.ts.map +1 -1
  114. package/models/models/kos-log-manager/types/index.d.ts +75 -6
  115. package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -1
  116. package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
  117. package/models/models/ota/services/ota-services.d.ts.map +1 -1
  118. package/models/models/region-info/region-info-model.d.ts.map +1 -1
  119. package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
  120. package/models/models/state-bean/services/state-bean-services.d.ts.map +1 -1
  121. package/models/models/state-prop/services/state-prop-services.d.ts.map +1 -1
  122. package/models/models/storage-device/services/storage-device-services.d.ts.map +1 -1
  123. package/models/models/studio-properties/services/studio-properties-services.d.ts.map +1 -1
  124. package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
  125. package/models/models/translation/descriptor-merge.d.ts +9 -1
  126. package/models/models/translation/descriptor-merge.d.ts.map +1 -1
  127. package/models/models/translation/services/translation-services.d.ts.map +1 -1
  128. package/models/models/translation/translation-model.d.ts +4 -2
  129. package/models/models/translation/translation-model.d.ts.map +1 -1
  130. package/models/models/translation/types/index.d.ts +24 -6
  131. package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
  132. package/models/models/trouble/utils/trouble-data-extension.d.ts.map +1 -1
  133. package/models/models/trouble/utils/trouble-extension.d.ts.map +1 -1
  134. package/models/models/usb-update/services/usb-update-services.d.ts.map +1 -1
  135. package/models/models/ws-event/ws-event-model.d.ts.map +1 -1
  136. package/models/services/future/index.d.ts.map +1 -1
  137. package/models/services/login/index.d.ts.map +1 -1
  138. package/models/services/trouble/index.d.ts.map +1 -1
  139. package/models/types/cancellable-promise.d.ts +2 -0
  140. package/models/types/cancellable-promise.d.ts.map +1 -1
  141. package/models/utils/await-future-call.d.ts +8 -0
  142. package/models/utils/await-future-call.d.ts.map +1 -1
  143. package/models/utils/cancellable-future-call.d.ts.map +1 -1
  144. package/models/utils/client.d.ts +1 -1
  145. package/models/utils/core-registration-manager.d.ts +15 -2
  146. package/models/utils/core-registration-manager.d.ts.map +1 -1
  147. package/models/utils/get-kos-connection-id.d.ts.map +1 -1
  148. package/models/utils/service-accessor.d.ts +1 -1
  149. package/models/utils/service.d.ts +1 -1
  150. package/models/utils/services/kos/1.6.5/service.d.ts +1 -1
  151. package/models/utils/services/kos/1.8.1/service.d.ts +1 -1
  152. package/models/utils/services/kos/1.9.x/service.d.ts +1 -1
  153. package/models/utils/services/kos/daily/service.d.ts +1 -1
  154. package/models/utils/services/vfs/1.6.5/service.d.ts +1 -1
  155. package/models/utils/services/vfs/1.8.1/service.d.ts +1 -1
  156. package/models/utils/services/vfs/1.9.x/service.d.ts +1 -1
  157. package/models/utils/services/vfs/daily/service.d.ts +1 -1
  158. package/models/utils/timer-manager.d.ts.map +1 -1
  159. package/package.json +2 -2
  160. package/{software-info-registration-Le3V0a6v.cjs → software-info-registration-BPN4QLfN.cjs} +1299 -711
  161. package/software-info-registration-BPN4QLfN.cjs.map +1 -0
  162. package/{software-info-registration-kSGacOka.js → software-info-registration-BTHhITrs.js} +1610 -1022
  163. package/software-info-registration-BTHhITrs.js.map +1 -0
  164. package/testing.cjs +1 -2
  165. package/testing.cjs.map +1 -1
  166. package/testing.js +1 -2
  167. package/testing.js.map +1 -1
  168. package/ui/components/kos-model-loader/contexts/kos-model-hierarchy-context.d.ts.map +1 -1
  169. package/ui/components/kos-model-loader/kos-model-loader.d.ts.map +1 -1
  170. package/ui/contexts/kos-model-context.d.ts.map +1 -1
  171. package/ui/contexts/translation-container/kos-translations-provider.d.ts +8 -1
  172. package/ui/contexts/translation-container/kos-translations-provider.d.ts.map +1 -1
  173. package/ui/features/canvas/components/canvas-streamer/canvas-streamer.d.ts.map +1 -1
  174. package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
  175. package/ui/hooks/use-kos-model.d.ts +1 -0
  176. package/ui/hooks/use-kos-model.d.ts.map +1 -1
  177. package/ui/hooks/use-mutation-observer.d.ts.map +1 -1
  178. package/ui/policies/reload-on-disconnect-policy.d.ts.map +1 -1
  179. package/core/core/decorators/kos-log.d.ts +0 -14
  180. package/core/core/decorators/kos-log.d.ts.map +0 -1
  181. package/software-info-registration-Le3V0a6v.cjs.map +0 -1
  182. package/software-info-registration-kSGacOka.js.map +0 -1
package/index.js CHANGED
@@ -1,8 +1,7 @@
1
- import { s as subscribe, p as publish, k as kosParentAware, C as CompanionParentModel, K as KosContextManager, M as MultipleFutureContainerSetup, L as LogConfig, a as MixinModels, R as ReferenceConfig, T as TroubleAwareSetup, D as DependencyModels, E as ExtensionManager, S as SubscriptionHandlers, b as KosViewModelSymbol, V as ViewModelConfig, c as StateMachineSetup, d as DependencyLifecycle, i as injectStateMachineSupport, e as initializeStateMachine, f as ModelEffects, g as KosModelVisitor, h as KosCore, j as sendKosMessageResponse, l as KosLog, u as uuid, I as INDEX_RECORD_SYMBOL, m as INDEX_COLLECTION_KEY, n as KosContainerIndexEvents, o as isIndexableItem, q as Kos, r as isKosModel, t as ConfigBean, v as configBeanModelId, w as getRegionInfo, x as getRegions, y as Registration, z as getStateBeanData, A as StateBean, B as getStateProps, F as StateProp, G as deleteKeyValue, H as deleteKeyValueNamespace, J as getKeyValue, N as updateKeyValue, O as getLogOverrides, P as getTimezone, Q as setDate, U as setTime, W as setTimezone, X as createOverride, Y as getLogStreamBlock, Z as getLogStreamBlocks, _ as getLogStreams, $ as subscribeToLogStream, a0 as unsubscribeFromLogStream, a1 as bulkResolveTroubles, a2 as getTroubles, a3 as resolveTrouble, a4 as sendCanvasData, a5 as getDeviceDetails, a6 as getSerialNumber, a7 as getNetworkInterfaces, a8 as getStorageDevices, a9 as getAvailableUpdates, aa as installUpdate, ab as TranslationContainer, ac as whenReady, ad as KosCoreModelPropertyMapper, ae as CanvasDispatcher, af as KeyValue, ag as destroyKosModel, ah as createClient, ai as kosServiceRequest$8, aj as getSoftwareInfos, ak as getSoftwareInfosWithCancel, al as BASE_URL, am as kosFetch, an as kosModel, ao as kosLoggerAware, ap as kosContainerAware, aq as kosChild, ar as api$8, as as ObservableData, at as WebSocketTransport, au as kosComputed, av as KosModelRegistrationFactory, aw as getKosModelSync, ax as kosAutoEffect, ay as WebSocketEvents, az as modelHookCache, aA as isUpdateable, aB as KosModelState, aC as KosModelEvents, aD as clearModelHookCacheEntry, aE as KosTime, aF as SoftwareInfo, aG as getQueryParams, aH as getKosLocalizationDescriptor, aI as Device, aJ as NetworkInterfaceContainer, aK as Ota, aL as StorageDeviceContainer, aM as TimerManager, aN as TIMER_END, aO as TIMER_EVENT, aP as TOPIC_TIMER_TICK_EVENT, aQ as getKosModel, aR as Trouble, aS as TroubleContainer, aT as UsbUpdateContainer, aU as Registration$1 } from "./software-info-registration-kSGacOka.js";
2
- import { aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, cY, cZ, c_, c$, d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, da, db, dc, dd, de, df, dg, dh, di, dj, dk, dl, dm, dn, dp, dq, dr, ds, dt, du, dv, dw, dx, dy, dz, dA, dB, dC, dD, dE, dF, dG, dH, dI, dJ, dK, dL, dM, dN, dO, dP, dQ, dR, dS, dT, dU, dV, dW, dX, dY, dZ, d_, d$, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, ea, eb, ec, ed, ee, ef, eg, eh, ei, ej, ek, el, em, en, eo, ep, eq, er, es, et, eu, ev, ew, ex, ey, ez, eA, eB, eC, eD, eE, eF, eG, eH, eI, eJ, eK, eL, eM, eN, eO, eP, eQ, eR, eS, eT } from "./software-info-registration-kSGacOka.js";
1
+ import { s as subscribe, p as publish, k as kosParentAware, C as CompanionParentModel, K as KosContextManager, M as MultipleFutureContainerSetup, a as MixinModels, R as ReferenceConfig, T as TroubleAwareSetup, D as DependencyModels, E as ExtensionManager, S as SubscriptionHandlers, b as KosViewModelSymbol, V as ViewModelConfig, c as StateMachineSetup, d as DependencyLifecycle, i as injectStateMachineSupport, e as initializeStateMachine, f as ModelEffects, g as KosModelVisitor, h as KosCore, j as sendKosMessageResponse, I as INDEX_RECORD_SYMBOL, l as INDEX_COLLECTION_KEY, m as KosContainerIndexEvents, n as isIndexableItem, o as Kos, q as isKosModel, r as ConfigBean, t as configBeanModelId, u as getRegionInfo, v as getRegions, w as Registration, x as getStateBeanData, y as StateBean, z as getStateProps, A as StateProp, B as deleteKeyValue, F as deleteKeyValueNamespace, G as getKeyValue, H as updateKeyValue, J as addLogOverride, L as getLogGroups, N as getLogOverrides, O as removeLogOverride, P as getTimezone, Q as setDate, U as setTime, W as setTimezone, X as createOverride, Y as getLogStreamBlock, Z as getLogStreamBlocks, _ as getLogStreams, $ as subscribeToLogStream, a0 as unsubscribeFromLogStream, a1 as bulkResolveTroubles, a2 as getTroubles, a3 as resolveTrouble, a4 as sendCanvasData, a5 as getDeviceDetails, a6 as getSerialNumber, a7 as getNetworkInterfaces, a8 as getStorageDevices, a9 as getAvailableUpdates, aa as installUpdate, ab as TranslationContainer, ac as whenReady, ad as KosCoreModelPropertyMapper, ae as CanvasDispatcher, af as KeyValue, ag as destroyKosModel, ah as createClient, ai as kosServiceRequest$8, aj as getSoftwareInfos, ak as getSoftwareInfosWithCancel, al as KosLog, am as LogGroup, an as BASE_URL, ao as kosFetch, ap as kosModel, aq as kosLoggerAware, ar as kosContainerAware, as as kosChild, at as api$8, au as ObservableData, av as WebSocketTransport, aw as kosComputed, ax as KosModelRegistrationFactory, ay as getKosModelSync, az as kosAutoEffect, aA as WebSocketEvents, aB as modelHookCache, aC as isUpdateable, aD as KosModelState, aE as KosModelEvents, aF as clearModelHookCacheEntry, aG as KosTime, aH as SoftwareInfo, aI as getQueryParams, aJ as getKosLocalizationDescriptor, aK as Device, aL as NetworkInterfaceContainer, aM as Ota, aN as StorageDeviceContainer, aO as TimerManager, aP as TIMER_END, aQ as TIMER_EVENT, aR as TOPIC_TIMER_TICK_EVENT, aS as getKosModel, aT as Trouble, aU as TroubleContainer, aV as UsbUpdateContainer, aW as Registration$1 } from "./software-info-registration-BTHhITrs.js";
2
+ import { aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, cY, cZ, c_, c$, d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, da, db, dc, dd, de, df, dg, dh, di, dj, dk, dl, dm, dn, dp, dq, dr, ds, dt, du, dv, dw, dx, dy, dz, dA, dB, dC, dD, dE, dF, dG, dH, dI, dJ, dK, dL, dM, dN, dO, dP, dQ, dR, dS, dT, dU, dV, dW, dX, dY, dZ, d_, d$, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, ea, eb, ec, ed, ee, ef, eg, eh, ei, ej, ek, el, em, en, eo, ep, eq, er, es, et, eu, ev, ew, ex, ey, ez, eA, eB, eC, eD, eE, eF, eG, eH, eI, eJ, eK, eL, eM, eN, eO, eP, eQ, eR, eS, eT, eU, eV, eW, eX, eY, eZ, e_, e$, f0, f1, f2 } from "./software-info-registration-BTHhITrs.js";
3
3
  import { action, reaction, autorun, makeAutoObservable, runInAction } from "mobx";
4
4
  import { makeAutoObservable as makeAutoObservable2, makeObservable } from "mobx";
5
- import log$6 from "loglevel";
6
5
  import { jsx, jsxs, Fragment } from "@emotion/react/jsx-runtime";
7
6
  import styled from "@emotion/styled";
8
7
  import { createPortal } from "react-dom";
@@ -398,10 +397,6 @@ function kosMultipleFutureAware(options) {
398
397
  return target;
399
398
  };
400
399
  }
401
- const kosLogger = ({ group } = { group: "" }) => (constructor) => {
402
- constructor[LogConfig] = constructor[LogConfig] || {};
403
- constructor[LogConfig] = { group };
404
- };
405
400
  function kosMixin(mixin, options) {
406
401
  return (target, propertyKey) => {
407
402
  const companion = mixin.class.prototype[CompanionParentModel];
@@ -667,6 +662,33 @@ function kosViewModel(options) {
667
662
  return ProxiedClass;
668
663
  };
669
664
  }
665
+ const BOOT_PARAMS = ["kosMock", "kosFixtureServer", "kosFixture", "kosSetup"];
666
+ const bootKey = (params) => BOOT_PARAMS.map((name) => {
667
+ const value = params.get(name);
668
+ if (value === null) return "";
669
+ return name === "kosSetup" ? value.split(",").filter(Boolean).sort().join(",") : value;
670
+ }).join("|");
671
+ function kosMockBootUrl(href, boot) {
672
+ const url = new URL(href);
673
+ const before = bootKey(url.searchParams);
674
+ for (const name of BOOT_PARAMS) url.searchParams.delete(name);
675
+ const setups = boot?.setups?.filter(Boolean) ?? [];
676
+ if (boot && (boot.mode || boot.fixture || setups.length > 0)) {
677
+ url.searchParams.set("kosMock", boot.mode ?? "on");
678
+ if (boot.fixture || setups.length > 0) {
679
+ url.searchParams.set("kosFixtureServer", boot.fixtureServer ?? "");
680
+ }
681
+ if (boot.fixture) url.searchParams.set("kosFixture", boot.fixture);
682
+ if (setups.length > 0) url.searchParams.set("kosSetup", setups.join(","));
683
+ }
684
+ return bootKey(url.searchParams) === before ? void 0 : url.toString();
685
+ }
686
+ function ensureKosMockBoot(boot, location = window.location) {
687
+ const target = kosMockBootUrl(location.href, boot);
688
+ if (target === void 0) return false;
689
+ location.replace(target);
690
+ return true;
691
+ }
670
692
  class AncestorPathVisitor extends KosModelVisitor {
671
693
  targetId;
672
694
  currentPath = [];
@@ -962,33 +984,6 @@ const pairedClientHeartbeat = ({
962
984
  controller.signal.addEventListener("abort", handleAbort);
963
985
  return { cleanUpHeartbeat };
964
986
  };
965
- const BASE_OPTIONS = {
966
- maxAttempts: 5,
967
- baseDelayMs: 100,
968
- backoffFactor: 1.5
969
- };
970
- async function retryWithExponentialBackoff(operation, options) {
971
- let attempt = 1;
972
- const _options = { ...BASE_OPTIONS, ...options };
973
- const { maxAttempts, baseDelayMs, backoffFactor } = _options;
974
- let delayMs = baseDelayMs;
975
- while (attempt <= maxAttempts) {
976
- try {
977
- const result = await operation();
978
- return result;
979
- } catch (error) {
980
- KosLog.error(`Attempt ${attempt} failed: ${error}`);
981
- if (attempt < maxAttempts) {
982
- delayMs = baseDelayMs * Math.pow(backoffFactor, attempt);
983
- await new Promise((resolve) => setTimeout(resolve, delayMs));
984
- attempt++;
985
- } else {
986
- throw error;
987
- }
988
- }
989
- }
990
- throw new Error("All attempts failed");
991
- }
992
987
  function getServiceResponse(model, path, method = "get") {
993
988
  const store = model.serviceResponses;
994
989
  if (!store) {
@@ -1024,58 +1019,6 @@ function clearAllServiceResponses(model) {
1024
1019
  }
1025
1020
  store.clear();
1026
1021
  }
1027
- const waitForRequest = async (requestId, timeout = 6e4) => new Promise((resolve, reject) => {
1028
- const { unsubscribe } = subscribe(requestId, (op) => {
1029
- log$6.debug(`recieved response for refId ${requestId}: ${op}`);
1030
- unsubscribe();
1031
- clearTimeout(cancel);
1032
- try {
1033
- const body = op?.body ? JSON.parse(op.body) : {};
1034
- resolve(body);
1035
- } catch {
1036
- const body = op?.body || {};
1037
- resolve(body);
1038
- }
1039
- });
1040
- const cancel = setTimeout(() => {
1041
- unsubscribe();
1042
- reject(Error(`Request with ID ${requestId} timed out. Cancelling.`));
1043
- }, timeout);
1044
- });
1045
- const sendRequest = async (requestPromise, params, refId) => {
1046
- const op = waitForRequest(refId);
1047
- const result = await Promise.allSettled([requestPromise(params), op]);
1048
- if (result[0].status === "fulfilled") {
1049
- if (result[1].status === "rejected") {
1050
- throw Error(result[1].reason);
1051
- } else {
1052
- if (result[0].value) {
1053
- if (result[1].value.error) {
1054
- throw Error(result[1].value.error);
1055
- }
1056
- result[0].value.data = result[1].value;
1057
- return result[0].value;
1058
- }
1059
- }
1060
- } else {
1061
- throw Error(result[0].reason);
1062
- }
1063
- return void 0;
1064
- };
1065
- const syncPublish = async ({
1066
- topic,
1067
- msg,
1068
- requestId
1069
- }) => {
1070
- const _requestId = requestId ?? uuid();
1071
- const responsePromise = waitForRequest(_requestId);
1072
- publish(topic, msg, { sync: _requestId });
1073
- const response = await responsePromise;
1074
- if (response.error) {
1075
- throw Error(response.error);
1076
- }
1077
- return response;
1078
- };
1079
1022
  function kosIndexAware(options) {
1080
1023
  return (target) => {
1081
1024
  const collection = options?.collection;
@@ -1373,7 +1316,10 @@ const index$c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
1373
1316
  }, Symbol.toStringTag, { value: "Module" }));
1374
1317
  const index$b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1375
1318
  __proto__: null,
1376
- getLogOverrides
1319
+ addLogOverride,
1320
+ getLogGroups,
1321
+ getLogOverrides,
1322
+ removeLogOverride
1377
1323
  }, Symbol.toStringTag, { value: "Module" }));
1378
1324
  const index$a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1379
1325
  __proto__: null,
@@ -1397,185 +1343,6 @@ const index$8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
1397
1343
  getTroubles,
1398
1344
  resolveTrouble
1399
1345
  }, Symbol.toStringTag, { value: "Module" }));
1400
- function createCancellablePromise(promiseOrOptions, abortController, cancelFuture, future) {
1401
- const options = promiseOrOptions instanceof Promise ? { promise: promiseOrOptions, abortController, cancelFuture, future } : promiseOrOptions;
1402
- const {
1403
- promise,
1404
- abortController: controller,
1405
- cancelFuture: cancelFn,
1406
- future: futureRef
1407
- } = options;
1408
- const cancellablePromise = promise;
1409
- let currentProgress = 0;
1410
- let currentStatus = "PENDING";
1411
- let isRunning = true;
1412
- const progressCallbacks = /* @__PURE__ */ new Set();
1413
- let effectDisposer;
1414
- if (futureRef && typeof futureRef === "object") {
1415
- effectDisposer = autorun(() => {
1416
- const newProgress = futureRef.progress || 0;
1417
- const newStatus = futureRef.status || "PENDING";
1418
- const newIsRunning = !futureRef.endState;
1419
- if (newProgress !== currentProgress || newStatus !== currentStatus || newIsRunning !== isRunning) {
1420
- currentProgress = newProgress;
1421
- currentStatus = newStatus;
1422
- isRunning = newIsRunning;
1423
- progressCallbacks.forEach((callback) => {
1424
- try {
1425
- callback(currentProgress, currentStatus);
1426
- } catch (error) {
1427
- console.warn("Progress callback error:", error);
1428
- }
1429
- });
1430
- }
1431
- });
1432
- }
1433
- promise.finally(() => {
1434
- isRunning = false;
1435
- if (!controller?.signal.aborted) {
1436
- currentStatus = "COMPLETED";
1437
- progressCallbacks.forEach((callback) => {
1438
- try {
1439
- callback(currentProgress, currentStatus);
1440
- } catch (error) {
1441
- console.warn("Progress callback error:", error);
1442
- }
1443
- });
1444
- }
1445
- if (effectDisposer) {
1446
- effectDisposer();
1447
- }
1448
- progressCallbacks.clear();
1449
- });
1450
- cancellablePromise.cancel = async () => {
1451
- if (controller && !controller.signal.aborted) {
1452
- controller.abort();
1453
- }
1454
- if (cancelFn) {
1455
- await cancelFn();
1456
- }
1457
- isRunning = false;
1458
- currentStatus = "CANCELLED";
1459
- progressCallbacks.forEach((callback) => {
1460
- try {
1461
- callback(currentProgress, currentStatus);
1462
- } catch (error) {
1463
- console.warn("Progress callback error:", error);
1464
- }
1465
- });
1466
- if (effectDisposer) {
1467
- effectDisposer();
1468
- }
1469
- };
1470
- cancellablePromise.getController = () => controller;
1471
- cancellablePromise.isCancelled = () => controller?.signal.aborted ?? false;
1472
- Object.defineProperty(cancellablePromise, "progress", {
1473
- get: () => currentProgress,
1474
- enumerable: true
1475
- });
1476
- Object.defineProperty(cancellablePromise, "status", {
1477
- get: () => currentStatus,
1478
- enumerable: true
1479
- });
1480
- Object.defineProperty(cancellablePromise, "isRunning", {
1481
- get: () => isRunning,
1482
- enumerable: true
1483
- });
1484
- cancellablePromise.onProgressUpdate = (callback) => {
1485
- progressCallbacks.add(callback);
1486
- callback(currentProgress, currentStatus);
1487
- return () => progressCallbacks.delete(callback);
1488
- };
1489
- return cancellablePromise;
1490
- }
1491
- function makeCancellable(model, methodCall) {
1492
- const initialFuture = model.futureHandler.future;
1493
- const promise = methodCall(model);
1494
- let newFuture = null;
1495
- setTimeout(() => {
1496
- newFuture = model.futureHandler.future;
1497
- if (newFuture === initialFuture) {
1498
- newFuture = null;
1499
- }
1500
- }, 0);
1501
- return createCancellablePromise({
1502
- promise,
1503
- abortController: void 0,
1504
- // No direct AbortController access
1505
- cancelFuture: async () => {
1506
- if (newFuture) {
1507
- await newFuture.cancelFuture();
1508
- } else {
1509
- const currentFuture = model.futureHandler.future;
1510
- if (currentFuture) {
1511
- await currentFuture.cancelFuture();
1512
- }
1513
- }
1514
- },
1515
- future: newFuture
1516
- // Pass the future for progress tracking
1517
- });
1518
- }
1519
- function withCancellation(model, methodName, ...args) {
1520
- const method = model[methodName];
1521
- if (typeof method !== "function") {
1522
- throw new Error(`${String(methodName)} is not a method`);
1523
- }
1524
- const initialFuture = model.futureHandler.future;
1525
- const promise = method.apply(model, args);
1526
- let targetFuture = null;
1527
- setTimeout(() => {
1528
- const currentFuture = model.futureHandler.future;
1529
- if (currentFuture && currentFuture !== initialFuture) {
1530
- targetFuture = currentFuture;
1531
- }
1532
- }, 0);
1533
- return createCancellablePromise({
1534
- promise,
1535
- abortController: void 0,
1536
- cancelFuture: async () => {
1537
- if (targetFuture) {
1538
- await targetFuture.cancelFuture();
1539
- } else {
1540
- const fallbackFuture = model.futureHandler.future;
1541
- if (fallbackFuture) {
1542
- await fallbackFuture.cancelFuture();
1543
- }
1544
- }
1545
- },
1546
- future: targetFuture
1547
- // Pass the future for progress tracking
1548
- });
1549
- }
1550
- class CancellationBatch {
1551
- operations = [];
1552
- add(model, methodCall) {
1553
- const cancellable = makeCancellable(model, methodCall);
1554
- this.operations.push(cancellable);
1555
- return cancellable;
1556
- }
1557
- async cancelAll() {
1558
- await Promise.all(
1559
- this.operations.map(
1560
- (op) => op.cancel().catch(() => {
1561
- KosLog.warn("Cancellation failed for operation:", op);
1562
- })
1563
- )
1564
- );
1565
- }
1566
- getAllControllers() {
1567
- return this.operations.map((op) => op.getController());
1568
- }
1569
- getActiveCount() {
1570
- return this.operations.filter((op) => !op.isCancelled()).length;
1571
- }
1572
- clear() {
1573
- this.operations = [];
1574
- }
1575
- }
1576
- function createCancellationBatch() {
1577
- return new CancellationBatch();
1578
- }
1579
1346
  const index$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1580
1347
  __proto__: null,
1581
1348
  sendCanvasData
@@ -1775,7 +1542,7 @@ const updateRegion = async (region) => {
1775
1542
  regionInfo.updateProperty(region);
1776
1543
  };
1777
1544
  async function getKosServiceApi() {
1778
- const { default: API } = await import("./software-info-registration-kSGacOka.js").then((n) => n.eU);
1545
+ const { default: API } = await import("./software-info-registration-BTHhITrs.js").then((n) => n.f3);
1779
1546
  return API;
1780
1547
  }
1781
1548
  function kosServiceRequest$7(params) {
@@ -1903,7 +1670,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
1903
1670
  function isTroubleAware(obj) {
1904
1671
  return obj?.troubles !== void 0 && obj?.troubles instanceof Array && obj?.troublesByType !== void 0 && typeof obj?.troublesByType === "object";
1905
1672
  }
1906
- const log$5 = KosLog.createLogger({ name: "services", group: "Services" });
1673
+ const log$9 = KosLog.createLogger({ group: LogGroup.service, name: "services" });
1907
1674
  const studioLogin = async (username, password) => login(username, password, `${BASE_URL}/api/server/login`);
1908
1675
  const login = async (username, password, url = `${BASE_URL}/api/login`) => {
1909
1676
  const response = await kosFetch(`${url}`, {
@@ -1937,7 +1704,7 @@ const startPasswordReset = async (userId, url = `${BASE_URL}/api/startPasswordRe
1937
1704
  };
1938
1705
  const studioResetPassword = async (token2, password) => resetPassword(token2, password, `${BASE_URL}/api/server/resetPassword`);
1939
1706
  const resetPassword = async (token2, password, url = `${BASE_URL}/api/resetPassword`) => {
1940
- log$5.debug(
1707
+ log$9.debug(
1941
1708
  `resetting password with token ${token2} and password ${password.replace(
1942
1709
  /./g,
1943
1710
  "*"
@@ -1951,9 +1718,9 @@ const resetPassword = async (token2, password, url = `${BASE_URL}/api/resetPassw
1951
1718
  password
1952
1719
  })
1953
1720
  });
1954
- log$5.debug(`password reset returned status ${response.status}`);
1721
+ log$9.debug(`password reset returned status ${response.status}`);
1955
1722
  if (!response.ok) {
1956
- log$5.error(`password reset failed with message ${response.statusText}`);
1723
+ log$9.error(`password reset failed with message ${response.statusText}`);
1957
1724
  const configResponse2 = await response.json();
1958
1725
  throw Error(
1959
1726
  `${configResponse2?.error}:There was a problem resetting the password.`
@@ -1969,7 +1736,7 @@ const studioAcceptOrgInvitation = async (token2, password, name) => acceptOrgInv
1969
1736
  `${BASE_URL}/api/server/acceptInvite`
1970
1737
  );
1971
1738
  const acceptOrgInvitation = async (token2, password, name, url = `${BASE_URL}/api/server/acceptInvite`) => {
1972
- log$5.debug(
1739
+ log$9.debug(
1973
1740
  `accepting invite with token ${token2} and password ${password.replace(
1974
1741
  /./g,
1975
1742
  "*"
@@ -1984,9 +1751,9 @@ const acceptOrgInvitation = async (token2, password, name, url = `${BASE_URL}/ap
1984
1751
  name
1985
1752
  })
1986
1753
  });
1987
- log$5.debug(`invitation accept returned status ${response.status}`);
1754
+ log$9.debug(`invitation accept returned status ${response.status}`);
1988
1755
  if (!response.ok) {
1989
- log$5.error(`invite failed with message ${response.statusText}`);
1756
+ log$9.error(`invite failed with message ${response.statusText}`);
1990
1757
  const configResponse2 = await response.json();
1991
1758
  throw Error(
1992
1759
  `${configResponse2?.error}:There was a problem accepting the invite.`
@@ -2162,15 +1929,6 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
2162
1929
  gpioApi,
2163
1930
  gpioServiceRequest
2164
1931
  }, Symbol.toStringTag, { value: "Module" }));
2165
- function mapGpioChipToOptions(dto) {
2166
- return dto;
2167
- }
2168
- function createGpioChipModel(dto) {
2169
- return GpioChip.instance(dto.id).options(mapGpioChipToOptions(dto)).build();
2170
- }
2171
- function updateGpioChipModel(dto, model) {
2172
- model.updateModel(mapGpioChipToOptions(dto));
2173
- }
2174
1932
  function filterGpioChipDto(chip) {
2175
1933
  return !!chip.num || chip.num === 0;
2176
1934
  }
@@ -2297,8 +2055,7 @@ GpioChipContainerModelImpl = __decorateClass$1([
2297
2055
  sortKey: "num"
2298
2056
  },
2299
2057
  reconcile: {
2300
- create: createGpioChipModel,
2301
- update: updateGpioChipModel,
2058
+ model: GpioChip,
2302
2059
  filter: filterGpioChipDto,
2303
2060
  idMapper: mapGpioChipId,
2304
2061
  afterCreate: afterGpioChipCreated
@@ -2308,15 +2065,15 @@ GpioChipContainerModelImpl = __decorateClass$1([
2308
2065
  ], GpioChipContainerModelImpl);
2309
2066
  const GpioChipContainer = GpioChipContainerModelImpl.Registration;
2310
2067
  GpioChipContainer.addRelatedModel(GpioChip);
2311
- const log$4 = KosLog.createLogger({
2312
- name: "studio-properties-service",
2313
- group: "Services"
2068
+ const log$8 = KosLog.createLogger({
2069
+ group: LogGroup.service,
2070
+ name: "studio-properties-service"
2314
2071
  });
2315
2072
  const SERVICE_PATH = "/api/kos/studio/properties";
2316
2073
  const getStudioProperties = async (connectionId) => {
2317
- log$4.debug("sending GET for studio-properties");
2074
+ log$8.debug("sending GET for studio-properties");
2318
2075
  if (!connectionId) {
2319
- log$4.error("connectionId is undefined");
2076
+ log$8.error("connectionId is undefined");
2320
2077
  throw new Error("connectionId is undefined");
2321
2078
  }
2322
2079
  return await api$8.get(
@@ -2405,7 +2162,10 @@ let StudioPropertiesModelImpl = class {
2405
2162
  }, {});
2406
2163
  this.data.setValues(update ?? DEFAULT_STUDIO_PROPERTIES);
2407
2164
  KosLog.ifDebug(
2408
- () => this.logger.debug(`studio-properties loaded: ${JSON.stringify(update)}`)
2165
+ () => this.logger.debug(
2166
+ `studio-properties loaded: ${JSON.stringify(update)}`
2167
+ ),
2168
+ this.logger
2409
2169
  );
2410
2170
  }
2411
2171
  }
@@ -2478,7 +2238,7 @@ const MessageContainer = styled.div`
2478
2238
  color: ${({ theme }) => theme === "light" ? "black" : "white"};
2479
2239
  z-index: 10000;
2480
2240
  `;
2481
- const log$3 = KosLog.createLogger({ name: "error-boundary" });
2241
+ const log$7 = KosLog.createLogger({ group: LogGroup.ui, name: "error-boundary" });
2482
2242
  class ErrorBoundary extends React.Component {
2483
2243
  constructor(props) {
2484
2244
  super(props);
@@ -2495,7 +2255,7 @@ class ErrorBoundary extends React.Component {
2495
2255
  }
2496
2256
  componentDidCatch(error, errorInfo) {
2497
2257
  const seam = this.props.name ? ` in ${this.props.name}` : "";
2498
- log$3.error(
2258
+ log$7.error(
2499
2259
  `Error boundary caught${seam}: ${error?.message ?? error}`,
2500
2260
  error,
2501
2261
  errorInfo.componentStack
@@ -2605,11 +2365,14 @@ const KosModelProvider = ({
2605
2365
  );
2606
2366
  return /* @__PURE__ */ jsx(KosModelContext.Provider, { value: { model, setModel: setKosModel }, children });
2607
2367
  };
2608
- const log$2 = KosLog.createLogger({ name: "kos-model-hierarchy-context" });
2368
+ const log$6 = KosLog.createLogger({
2369
+ group: LogGroup.ui,
2370
+ name: "kos-model-hierarchy-context"
2371
+ });
2609
2372
  const defaultNestedProps = {
2610
2373
  models: [],
2611
2374
  addModel: () => {
2612
- log$2.debug("Default implementation being used. Do Nothing.");
2375
+ log$6.debug("Default implementation being used. Do Nothing.");
2613
2376
  }
2614
2377
  };
2615
2378
  const NestedModelContext = createContext(defaultNestedProps);
@@ -2618,7 +2381,7 @@ const KosModelCollectionProvider = ({ children }) => {
2618
2381
  const addModel = useCallback(
2619
2382
  (model) => {
2620
2383
  if (!models.includes(model)) {
2621
- log$2.debug("adding to hierarchy context", model.id);
2384
+ log$6.debug("adding to hierarchy context", model.id);
2622
2385
  setModels((prevModels) => [...prevModels, model]);
2623
2386
  }
2624
2387
  },
@@ -2650,7 +2413,10 @@ const useModelFromHierarchy = (type) => {
2650
2413
  });
2651
2414
  return context[0];
2652
2415
  };
2653
- const log$1 = KosLog.createLogger({ name: "kos-model-loader" });
2416
+ const log$5 = KosLog.createLogger({
2417
+ group: LogGroup.ui,
2418
+ name: "kos-model-loader"
2419
+ });
2654
2420
  const DefaultLoader = () => /* @__PURE__ */ jsx("div", {});
2655
2421
  const KosModelLoader = ({ fallback, children, ...modelProps }) => /* @__PURE__ */ jsx(KosModelProvider, { children: /* @__PURE__ */ jsx(ErrorBoundary, { fallback, children: /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(KosModelLoaderDisplay, { ...modelProps, children }) }) }) });
2656
2422
  const KosModelLoaderDisplay = (props) => {
@@ -2669,7 +2435,7 @@ const KosModelLoaderDisplay = (props) => {
2669
2435
  }
2670
2436
  }, [hierarchyContext, props.model, setModel]);
2671
2437
  if (props.error) {
2672
- log$1.error(props.error);
2438
+ log$5.error(props.error);
2673
2439
  throw new Error(props.error);
2674
2440
  }
2675
2441
  const loader = props.loading || /* @__PURE__ */ jsx(DefaultLoader, {});
@@ -2709,6 +2475,10 @@ const useKosCore = () => {
2709
2475
  return context;
2710
2476
  };
2711
2477
  const KOS_RECOVERING_SESSION_KEY = "kos:recovering";
2478
+ const log$4 = KosLog.createLogger({
2479
+ group: LogGroup.ui,
2480
+ name: "reload-on-disconnect-policy"
2481
+ });
2712
2482
  const DEFAULT_GRACE_MS = 3e3;
2713
2483
  const defaultReloadFn = () => {
2714
2484
  window.location.reload();
@@ -2742,12 +2512,12 @@ const ReloadOnDisconnectPolicy = ({
2742
2512
  JSON.stringify(info)
2743
2513
  );
2744
2514
  } catch (err) {
2745
- KosLog.warn(
2515
+ log$4.warn(
2746
2516
  "ReloadOnDisconnectPolicy: failed to write sessionStorage",
2747
2517
  err
2748
2518
  );
2749
2519
  }
2750
- KosLog.warn(
2520
+ log$4.warn(
2751
2521
  `ReloadOnDisconnectPolicy: scheduling reload in ${graceMs}ms (code=${info.code}, wasClean=${info.wasClean})`
2752
2522
  );
2753
2523
  pendingReloadRef.current = setTimeout(() => {
@@ -2755,7 +2525,7 @@ const ReloadOnDisconnectPolicy = ({
2755
2525
  try {
2756
2526
  onBeforeReload?.(info);
2757
2527
  } catch (err) {
2758
- KosLog.error("ReloadOnDisconnectPolicy: onBeforeReload threw", err);
2528
+ log$4.error("ReloadOnDisconnectPolicy: onBeforeReload threw", err);
2759
2529
  }
2760
2530
  reloadFn();
2761
2531
  }, graceMs);
@@ -3210,6 +2980,10 @@ const TokenContext = React.createContext(token);
3210
2980
  function TokenProvider({ children }) {
3211
2981
  return /* @__PURE__ */ jsx(TokenContext.Provider, { value: token, children });
3212
2982
  }
2983
+ const log$3 = KosLog.createLogger({
2984
+ group: LogGroup.ui,
2985
+ name: "kos-translations-provider"
2986
+ });
3213
2987
  const TranslationContainerContext = createContext(void 0);
3214
2988
  const getDefaultHost = () => {
3215
2989
  const defaultHost = window.location.origin;
@@ -3223,6 +2997,7 @@ const KosTranslationProvider = ({
3223
2997
  appContext,
3224
2998
  locale = "en",
3225
2999
  resolver,
3000
+ bundleResolver,
3226
3001
  rootUrl,
3227
3002
  descriptorResolver,
3228
3003
  excludeNamespaces = []
@@ -3243,7 +3018,7 @@ const KosTranslationProvider = ({
3243
3018
  const descriptorsResults = await Promise.allSettled(descriptorPromises);
3244
3019
  const descriptors = descriptorsResults.map((d) => {
3245
3020
  if (d.status === "rejected") {
3246
- KosLog.warn("Failed to load localization descriptor", d.reason);
3021
+ log$3.warn("Failed to load localization descriptor", d.reason);
3247
3022
  return void 0;
3248
3023
  }
3249
3024
  return d.value;
@@ -3262,6 +3037,7 @@ const KosTranslationProvider = ({
3262
3037
  descriptor: localization,
3263
3038
  defaultNamespace: "common",
3264
3039
  resolver,
3040
+ bundleResolver,
3265
3041
  rootUrl: _rootUrl
3266
3042
  });
3267
3043
  setTranslations(translations2);
@@ -3269,7 +3045,7 @@ const KosTranslationProvider = ({
3269
3045
  }
3270
3046
  }
3271
3047
  initLocalization();
3272
- }, [locale, localization, resolver, resolvedRootUrl]);
3048
+ }, [locale, localization, resolver, bundleResolver, resolvedRootUrl]);
3273
3049
  const value = useMemo(() => {
3274
3050
  if (ready) {
3275
3051
  return {
@@ -3349,8 +3125,11 @@ function renderDecodedPreview({
3349
3125
  ctx.clearRect(0, 0, width * pixelSize, height * pixelSize);
3350
3126
  ctx.drawImage(tempCanvas, 0, 0, width * pixelSize, height * pixelSize);
3351
3127
  }
3352
- const log = KosLog.createLogger({ name: "canvas-streamer" });
3353
- log.debug("main-view component loaded");
3128
+ const log$2 = KosLog.createLogger({
3129
+ group: LogGroup.ui,
3130
+ name: "canvas-streamer"
3131
+ });
3132
+ log$2.debug("main-view component loaded");
3354
3133
  const PIXEL_SIZE = 10;
3355
3134
  const CanvasStreamerBase = observer(
3356
3135
  ({
@@ -3577,7 +3356,7 @@ function withStorageDeviceContainer(WrappedComponent) {
3577
3356
  return /* @__PURE__ */ jsx(KosModelLoader2, { ...status, children: /* @__PURE__ */ jsx(WrappedComponent, { ...props, storageDeviceContainer: model }) });
3578
3357
  };
3579
3358
  }
3580
- const LOG = KosLog.createLogger({ name: "use-timer" });
3359
+ const LOG = KosLog.createLogger({ group: LogGroup.ui, name: "use-timer" });
3581
3360
  const useTimer = ({
3582
3361
  timerName,
3583
3362
  onTimerExpired,
@@ -3699,6 +3478,10 @@ const Trans = (props) => {
3699
3478
  const element = substituteBlocks(translated, components || {});
3700
3479
  return /* @__PURE__ */ jsx("span", { className: props.className, children: element });
3701
3480
  };
3481
+ const log$1 = KosLog.createLogger({
3482
+ group: LogGroup.ui,
3483
+ name: "use-translation"
3484
+ });
3702
3485
  const cache = /* @__PURE__ */ new Map();
3703
3486
  function fetchData(key, fetcher) {
3704
3487
  if (cache.has(key)) {
@@ -3773,7 +3556,7 @@ const useKosTranslation = (namespace, baseOptions) => {
3773
3556
  if (translationModel) {
3774
3557
  return translationModel.resolveKey(expandedKey, options);
3775
3558
  }
3776
- KosLog.debug(
3559
+ log$1.debug(
3777
3560
  `Translation model ${namespace} not ready for key: ${expandedKey}`
3778
3561
  );
3779
3562
  return expandedKey;
@@ -4817,6 +4600,10 @@ const useKosTimeFormats = (timeFormatMap = DEFAULT_FORMAT_MAP) => {
4817
4600
  };
4818
4601
  };
4819
4602
  const useLocalComputed = (callback, dependencies) => useMemo(() => kosComputed(callback), dependencies);
4603
+ const log = KosLog.createLogger({
4604
+ group: LogGroup.ui,
4605
+ name: "use-mutation-observer"
4606
+ });
4820
4607
  const DEFAULT_OPTIONS = {
4821
4608
  config: { attributes: true, childList: true, subtree: true }
4822
4609
  };
@@ -4839,7 +4626,7 @@ function useMutationObserver(targetEl, cb2, options = DEFAULT_OPTIONS) {
4839
4626
  try {
4840
4627
  observer3.observe(targetEl, config);
4841
4628
  } catch (e) {
4842
- KosLog.error(e);
4629
+ log.error(e);
4843
4630
  }
4844
4631
  return () => {
4845
4632
  if (observer3) {
@@ -4860,8 +4647,8 @@ const DomIntersectionStrategy = {
4860
4647
  }
4861
4648
  };
4862
4649
  const logger = KosLog.createLogger({
4863
- name: "usePressGesture",
4864
- group: "kos-hooks"
4650
+ group: LogGroup.ui,
4651
+ name: "usePressGesture"
4865
4652
  });
4866
4653
  function usePressGesture({
4867
4654
  onPressed,
@@ -5112,91 +4899,91 @@ function withProjectReloading(WrappedComponent) {
5112
4899
  return reloading ? /* @__PURE__ */ jsx(LoadingMessage, { message: "Wait a moment while your project reloads..." }) : /* @__PURE__ */ jsx(WrappedComponent, { ...props });
5113
4900
  };
5114
4901
  }
5115
- registerApiLevels({ "kos-ui-sdk": 24 });
4902
+ registerApiLevels({ "kos-ui-sdk": 26 });
5116
4903
  export {
5117
4904
  AncestorPathVisitor,
5118
- aV as AuthState,
4905
+ aX as AuthState,
5119
4906
  BASE_URL,
5120
- aW as BrowserKosRouter,
5121
- aX as BrowserRouter,
5122
- aY as CancellableServiceManager,
5123
- CancellationBatch,
4907
+ aY as BrowserKosRouter,
4908
+ aZ as BrowserRouter,
4909
+ a_ as CancellableServiceManager,
4910
+ a$ as CancellationBatch,
5124
4911
  CanvasDispatcher,
5125
4912
  index$7 as CanvasDispatcherServices,
5126
- aZ as CanvasRenderer,
4913
+ b0 as CanvasRenderer,
5127
4914
  CanvasStreamer,
5128
4915
  CanvasStreamerBase,
5129
- a_ as ChildModels,
4916
+ b1 as ChildModels,
5130
4917
  CompanionParentModel,
5131
4918
  ConfigBean,
5132
4919
  ConnectionDevButton,
5133
- a$ as ContainerAwareSetup,
4920
+ b2 as ContainerAwareSetup,
5134
4921
  CoreExtensionManager,
5135
- b0 as CoreModels,
4922
+ b3 as CoreModels,
5136
4923
  CreateModelTranslationsContext,
5137
4924
  CreateModelTranslationsProvider,
5138
4925
  DateDisplayFormat,
5139
4926
  dateUtils as DateHelpers,
5140
4927
  DependencyLifecycle,
5141
4928
  DependencyModels,
5142
- b1 as DependencyResolutionPolicy,
4929
+ b4 as DependencyResolutionPolicy,
5143
4930
  Device,
5144
4931
  index$6 as DeviceServices,
5145
4932
  DomIntersectionStrategy,
5146
- b2 as ERROR_TRANSPORT_NOT_READY,
5147
- b3 as EVENT_KOS_MODEL_READY,
5148
- b4 as EVENT_TROUBLE_ADDED,
5149
- b5 as EVENT_TROUBLE_REMOVED,
5150
- b6 as EXTENSION_CANVAS_RENDERER,
5151
- b7 as EXTENSION_FEATURE_FLAG_RESOLVER,
5152
- b8 as EXTENSION_FUTURE_LIFECYCLE_WRAPPER,
5153
- b9 as EXTENSION_TROUBLE_DATA_MAPPER,
5154
- ba as EXTENSION_TROUBLE_MAPPER,
4933
+ b5 as ERROR_TRANSPORT_NOT_READY,
4934
+ b6 as EVENT_KOS_MODEL_READY,
4935
+ b7 as EVENT_TROUBLE_ADDED,
4936
+ b8 as EVENT_TROUBLE_REMOVED,
4937
+ b9 as EXTENSION_CANVAS_RENDERER,
4938
+ ba as EXTENSION_FEATURE_FLAG_RESOLVER,
4939
+ bb as EXTENSION_FUTURE_LIFECYCLE_WRAPPER,
4940
+ bc as EXTENSION_TROUBLE_DATA_MAPPER,
4941
+ bd as EXTENSION_TROUBLE_MAPPER,
5155
4942
  ErrorBoundary as ErrorBoundaryWithFallback,
5156
- bb as EventBus,
4943
+ be as EventBus,
5157
4944
  eventBus_functional as EventBusFunctional,
5158
- bc as EventBusState,
5159
- bd as ExtensionException,
4945
+ bf as EventBusState,
4946
+ bg as ExtensionException,
5160
4947
  ExtensionManager,
5161
- be as FUTURE_CONTAINER_MODEL_TYPE,
5162
- bf as FUTURE_MODEL_TYPE,
5163
- bg as FUTURE_NOT_ASSIGNED,
5164
- bh as FeatureFlagService,
5165
- bi as FetchError,
5166
- bj as FutureAliases,
5167
- bk as FutureCallError,
5168
- bl as FutureContainerFactory,
5169
- bm as FutureContainerModel,
5170
- bn as FutureContainerSetup,
5171
- bo as FutureEndState,
5172
- bp as FutureFactory,
5173
- bq as FutureHandler,
5174
- br as FutureManager,
5175
- bs as FutureModel,
5176
- bt as FutureService,
4948
+ bh as FUTURE_CONTAINER_MODEL_TYPE,
4949
+ bi as FUTURE_MODEL_TYPE,
4950
+ bj as FUTURE_NOT_ASSIGNED,
4951
+ bk as FeatureFlagService,
4952
+ bl as FetchError,
4953
+ bm as FutureAliases,
4954
+ bn as FutureCallError,
4955
+ bo as FutureContainerFactory,
4956
+ bp as FutureContainerModel,
4957
+ bq as FutureContainerSetup,
4958
+ br as FutureEndState,
4959
+ bs as FutureFactory,
4960
+ bt as FutureHandler,
4961
+ bu as FutureManager,
4962
+ bv as FutureModel,
4963
+ bw as FutureService,
5177
4964
  GpioChip,
5178
4965
  GpioChipContainer,
5179
4966
  index$1 as GpioChipServices,
5180
4967
  GpioPin,
5181
4968
  GpioPinContainer,
5182
- bu as HEADER_CACHE_CONTROL,
5183
- bv as HEADER_CONTENT_TYPE,
5184
- bw as HEADER_DESTINATION_ADDR,
5185
- bx as HEADER_FOS_REQUEST_ID,
5186
- by as HEADER_METHOD,
5187
- bz as HEADER_ORDERED,
5188
- bA as HEADER_REQUEST_ID,
5189
- bB as HEADER_REQUEST_TYPE,
5190
- bC as HEADER_RESPONSE_ID,
5191
- bD as HEADER_SOURCE_ADDR,
5192
- bE as HEADER_TOPIC,
5193
- bF as HEADER_URL,
5194
- bG as HEADER_WORK_TRACKER,
5195
- bH as HttpRouteHandlers,
4969
+ bx as HEADER_CACHE_CONTROL,
4970
+ by as HEADER_CONTENT_TYPE,
4971
+ bz as HEADER_DESTINATION_ADDR,
4972
+ bA as HEADER_FOS_REQUEST_ID,
4973
+ bB as HEADER_METHOD,
4974
+ bC as HEADER_ORDERED,
4975
+ bD as HEADER_REQUEST_ID,
4976
+ bE as HEADER_REQUEST_TYPE,
4977
+ bF as HEADER_RESPONSE_ID,
4978
+ bG as HEADER_SOURCE_ADDR,
4979
+ bH as HEADER_TOPIC,
4980
+ bI as HEADER_URL,
4981
+ bJ as HEADER_WORK_TRACKER,
4982
+ bK as HttpRouteHandlers,
5196
4983
  INDEX_COLLECTION_KEY,
5197
4984
  INDEX_RECORD_SYMBOL,
5198
- bI as KOS_EXECUTION_CONTEXT,
5199
- bJ as KOS_MODEL_ID,
4985
+ bL as KOS_EXECUTION_CONTEXT,
4986
+ bM as KOS_MODEL_ID,
5200
4987
  KOS_RECOVERING_SESSION_KEY,
5201
4988
  service$7 as KOS_SERVICE,
5202
4989
  service$6 as KOS_SERVICE_1_6_5,
@@ -5206,119 +4993,120 @@ export {
5206
4993
  index$c as KeyValueServices,
5207
4994
  Kos,
5208
4995
  Registration as KosConfigPropertySpec,
5209
- bK as KosContainerIndex,
4996
+ bN as KosContainerIndex,
5210
4997
  KosContainerIndexEvents,
5211
- bL as KosContextBean,
4998
+ bO as KosContextBean,
5212
4999
  KosContextManager,
5213
5000
  KosCore,
5214
5001
  KosCoreModelPropertyMapper,
5215
- bM as KosDataContainer,
5216
- bN as KosDependencyTypes,
5217
- bO as KosExpressionEvaluator,
5002
+ bP as KosDataContainer,
5003
+ bQ as KosDependencyTypes,
5004
+ bR as KosExpressionEvaluator,
5218
5005
  initializeExtension as KosExtensionUtils,
5219
- bP as KosFeatureFlags,
5006
+ bS as KosFeatureFlags,
5220
5007
  KosFetchMethods,
5221
- bQ as KosGlobalConfig,
5222
- bR as KosHttpRouteManager,
5008
+ bT as KosGlobalConfig,
5009
+ bU as KosHttpRouteManager,
5223
5010
  KosLog,
5224
- bS as KosLogManager,
5011
+ bV as KosLogManager,
5225
5012
  index$b as KosLogManagerServices,
5226
- bT as KosLoggerFactory,
5227
- bU as KosMock,
5228
- bV as KosModel,
5013
+ bW as KosLoggerFactory,
5014
+ bX as KosMock,
5015
+ bY as KosModel,
5229
5016
  KosModelCollectionProvider,
5230
- bW as KosModelContainer,
5017
+ bZ as KosModelContainer,
5231
5018
  KosModelContext,
5232
5019
  KosModelEvents,
5233
- bX as KosModelFactory,
5020
+ b_ as KosModelFactory,
5234
5021
  KosModelLoader,
5235
5022
  KosModelLoaderDisplay,
5236
- bY as KosModelManager,
5023
+ b$ as KosModelManager,
5237
5024
  KosModelProvider,
5238
5025
  KosModelRegistrationFactory,
5239
- bZ as KosModelRegistry,
5026
+ c0 as KosModelRegistry,
5240
5027
  KosModelState,
5241
- b_ as KosModelSymbol,
5028
+ c1 as KosModelSymbol,
5242
5029
  KosModelVisitor,
5243
- b$ as KosObservableData,
5030
+ c2 as KosObservableData,
5244
5031
  KosRegistration,
5245
5032
  KosSingletonRegistration,
5246
5033
  KosTime,
5247
5034
  KosTimeContext,
5248
5035
  KosTimeProvider,
5249
5036
  index$a as KosTimeServices,
5250
- c0 as KosTimer,
5037
+ c3 as KosTimer,
5251
5038
  KosToken,
5252
5039
  KosTranslationProvider,
5253
5040
  KosTranslations,
5254
5041
  KosViewModelSymbol,
5255
- c1 as KosWSTransportStatus,
5256
- c2 as KosWsEvents,
5257
- c3 as LOADER_FEATURE_FLAG,
5258
- c4 as LOGIN_HOST,
5259
- c5 as LOGIN_URL,
5042
+ c4 as KosWSTransportStatus,
5043
+ c5 as KosWsEvents,
5044
+ c6 as LOADER_FEATURE_FLAG,
5045
+ c7 as LOGIN_HOST,
5046
+ c8 as LOGIN_URL,
5260
5047
  LoadingMessage,
5261
- c6 as LogBlock,
5262
- c7 as LogBlockContainer,
5263
- LogConfig,
5264
- c8 as LogStream,
5265
- c9 as LogStreamContainer,
5048
+ c9 as LogBlock,
5049
+ ca as LogBlockContainer,
5050
+ LogGroup,
5051
+ cb as LogStream,
5052
+ cc as LogStreamContainer,
5266
5053
  index$9 as LogStreamServices,
5267
- ca as LoggerSetup,
5268
- cb as MODEL_DELETION_DELAY,
5054
+ cd as LoggerSetup,
5055
+ ce as MESSAGE_LOGGER_NAME,
5056
+ cf as MODEL_DELETION_DELAY,
5269
5057
  MiddlewareChain,
5270
5058
  MixinModels,
5271
5059
  ModelEffects,
5272
- cc as ModelError,
5060
+ cg as ModelError,
5273
5061
  MultipleFutureContainerSetup,
5274
- cd as MultipleFutureHandler,
5062
+ ch as MultipleFutureHandler,
5275
5063
  NestedModelContext,
5276
- ce as NetworkInterface,
5064
+ ci as NetworkInterface,
5277
5065
  NetworkInterfaceContainer,
5278
5066
  index$5 as NetworkInterfaceServices,
5279
5067
  ObservableData,
5280
- cf as OptionsRequired,
5068
+ cj as OptionsRequired,
5281
5069
  Ota,
5282
5070
  OutsideAlerter,
5283
5071
  PLUGIN_EXTENSION_NAME,
5284
- cg as PORT,
5285
- ch as PROFILE_ENABLE_RELEASES,
5286
- ci as PROFILE_LOG_DEBUG,
5287
- cj as PROFILE_LOG_INFO,
5288
- ck as PROFILE_RELAX_STORE_VALIDATION,
5289
- cl as PROFILE_TOOLS_PREVIEW,
5290
- cm as ParentModel,
5072
+ ck as PORT,
5073
+ cl as PROFILE_ENABLE_RELEASES,
5074
+ cm as PROFILE_LOG_DEBUG,
5075
+ cn as PROFILE_LOG_INFO,
5076
+ co as PROFILE_RELAX_STORE_VALIDATION,
5077
+ cp as PROFILE_TOOLS_PREVIEW,
5078
+ cq as ParentModel,
5291
5079
  PluginExtensionManager,
5292
5080
  ProgressBar,
5293
5081
  ReconnectingOverlay,
5294
5082
  ReferenceConfig,
5295
5083
  Registration$1 as RegionInfo,
5296
5084
  index$f as RegionServices,
5297
- cn as RegistrationManager,
5298
- co as Registry,
5299
- cp as ReloadAwareSetup,
5085
+ cr as RegistrationManager,
5086
+ cs as Registry,
5087
+ ct as ReloadAwareSetup,
5300
5088
  ReloadOnDisconnectPolicy,
5301
- cq as ReplayStrategy,
5302
- cr as ResponseRetention,
5303
- cs as STATUS,
5304
- ct as SelfManagedReload,
5305
- cu as ServiceFactory,
5306
- cv as ServiceRequestError,
5307
- cw as ServiceRequestHandlers,
5308
- cx as SingletonKosModelRegistrationFactory,
5089
+ cu as ReplayStrategy,
5090
+ cv as ResponseRetention,
5091
+ cw as STATUS,
5092
+ cx as SelfManagedReload,
5093
+ cy as ServiceFactory,
5094
+ cz as ServiceRequestError,
5095
+ cA as ServiceRequestHandlers,
5096
+ cB as SingletonKosModelRegistrationFactory,
5309
5097
  SoftwareInfo,
5310
5098
  SoftwareInfoContext,
5311
5099
  SoftwareInfoProvider,
5312
5100
  index$2 as SoftwareInfoServices,
5313
- cy as StateActionHandlers,
5101
+ cC as StateActionHandlers,
5314
5102
  StateBean,
5315
5103
  index$e as StateBeanServices,
5316
- cz as StateEntryHandlers,
5317
- cA as StateExitHandlers,
5104
+ cD as StateEntryHandlers,
5105
+ cE as StateExitHandlers,
5318
5106
  StateMachineSetup,
5319
5107
  StateProp,
5320
5108
  index$d as StatePropServices,
5321
- cB as StorageDevice,
5109
+ cF as StorageDevice,
5322
5110
  StorageDeviceContainer,
5323
5111
  index$4 as StorageDeviceServices,
5324
5112
  StudioProperties,
@@ -5327,26 +5115,26 @@ export {
5327
5115
  TIMER_END,
5328
5116
  TIMER_EVENT,
5329
5117
  TOPIC_TIMER_TICK_EVENT,
5330
- cC as TRANSPORT_NOT_READY,
5118
+ cG as TRANSPORT_NOT_READY,
5331
5119
  TimerManager,
5332
5120
  TokenContext,
5333
5121
  TokenProvider,
5334
- cD as Topics,
5122
+ cH as Topics,
5335
5123
  Trans,
5336
- cE as TransitionMap,
5337
- cF as Transitions,
5338
- cG as Translation,
5124
+ cI as TransitionMap,
5125
+ cJ as Transitions,
5126
+ cK as Translation,
5339
5127
  TranslationContainer,
5340
5128
  TranslationContainerContext,
5341
5129
  TranslationContext,
5342
- cH as TransportFactory,
5343
- cI as TransportNotReadyError,
5130
+ cL as TransportFactory,
5131
+ cM as TransportNotReadyError,
5344
5132
  Trouble,
5345
5133
  TroubleAwareSetup,
5346
5134
  TroubleContainer,
5347
5135
  index$8 as TroubleServices,
5348
- cJ as Troubles,
5349
- cK as UsbUpdate,
5136
+ cN as Troubles,
5137
+ cO as UsbUpdate,
5350
5138
  UsbUpdateContainer,
5351
5139
  index$3 as UsbUpdateServices,
5352
5140
  service$3 as VFS_SERVICE,
@@ -5354,138 +5142,137 @@ export {
5354
5142
  service$1 as VFS_SERVICE_1_8_1,
5355
5143
  service as VFS_SERVICE_1_9_X,
5356
5144
  ViewModelConfig,
5357
- cL as WS_EVENT_TYPE,
5145
+ cP as WS_EVENT_TYPE,
5358
5146
  WebSocketEvents,
5359
5147
  WebSocketTransport,
5360
- cM as WsEventFactory,
5361
- cN as WsEventModel,
5148
+ cQ as WsEventFactory,
5149
+ cR as WsEventModel,
5362
5150
  acceptOrgInvitation,
5363
5151
  addDaysToDate,
5364
- cO as addFuture,
5152
+ cS as addFuture,
5365
5153
  addMonthsToDate,
5366
- cP as api,
5367
- cQ as applyFunctionalEnhancements,
5154
+ cT as api,
5155
+ cU as applyFunctionalEnhancements,
5368
5156
  applyMixins,
5369
5157
  arraysEqual,
5370
- cR as awaitFutureCall,
5371
- cS as buildConfigBeanModel,
5372
- cT as buildFuture,
5373
- cU as buildFutureModel,
5374
- cV as cancelFuture,
5375
- cW as checkAppsStarted,
5376
- cX as checkWildcardPattern,
5158
+ cV as awaitFutureCall,
5159
+ cW as buildConfigBeanModel,
5160
+ cX as buildFuture,
5161
+ cY as buildFutureModel,
5162
+ cZ as cancelFuture,
5163
+ c_ as checkAppsStarted,
5164
+ c$ as checkWildcardPattern,
5377
5165
  clearAllServiceResponses,
5378
5166
  clearModelHookCacheEntry,
5379
5167
  clearPath,
5380
5168
  clearServiceResponse,
5381
5169
  collectLocaleOptions,
5382
- cY as convert,
5170
+ d0 as convert,
5383
5171
  convertFileSizeRaw,
5384
- cZ as convertWithUnits,
5385
- c_ as createBaseMessage,
5386
- c$ as createBroadcastMessageResponse,
5387
- createCancellablePromise,
5388
- d0 as createCancellableService,
5389
- createCancellationBatch,
5172
+ d1 as convertWithUnits,
5173
+ d2 as createBaseMessage,
5174
+ d3 as createBroadcastMessageResponse,
5175
+ d4 as createCancellablePromise,
5176
+ d5 as createCancellableService,
5177
+ d6 as createCancellationBatch,
5390
5178
  createClient,
5391
- d1 as createFosBaseMessage,
5392
- d2 as createHeaders,
5393
- d3 as createKosHtpMessageResponse,
5394
- d4 as createKosMessage,
5395
- d5 as createKosMessageResponse,
5396
- d6 as createMessageBody,
5397
- d7 as createModelDependency,
5398
- d8 as createOptionKey,
5399
- d9 as createPropKey,
5400
- da as createReadableStream,
5401
- db as createStudioMessage,
5402
- dc as createStudioMessageRequest,
5403
- dd as createStudioMessageResponse,
5179
+ d7 as createFosBaseMessage,
5180
+ d8 as createHeaders,
5181
+ d9 as createKosHtpMessageResponse,
5182
+ da as createKosMessage,
5183
+ db as createKosMessageResponse,
5184
+ dc as createMessageBody,
5185
+ dd as createModelDependency,
5186
+ de as createOptionKey,
5187
+ df as createPropKey,
5188
+ dg as createReadableStream,
5189
+ dh as createStudioMessage,
5190
+ di as createStudioMessageRequest,
5191
+ dj as createStudioMessageResponse,
5404
5192
  debounce,
5405
- de as del,
5406
- df as deleteFuture,
5193
+ dk as del,
5194
+ dl as deleteFuture,
5407
5195
  destroyKosModel,
5408
- dg as evaluateScopes,
5409
- dh as executeApiMethod,
5410
- di as executeChildrenModelLifecycle,
5411
- dj as executeDependentModelLifecycle,
5412
- dk as executeListLifecycle,
5196
+ ensureKosMockBoot,
5197
+ dm as evaluateScopes,
5198
+ dn as executeApiMethod,
5199
+ dp as executeChildrenModelLifecycle,
5200
+ dq as executeDependentModelLifecycle,
5201
+ dr as executeListLifecycle,
5413
5202
  executeServiceRequest,
5414
5203
  fetchModel,
5415
- dl as findModel,
5416
- dm as findModels,
5204
+ ds as findModel,
5205
+ dt as findModels,
5417
5206
  formatDate,
5418
5207
  formatDateSince,
5419
5208
  formatDateTime,
5420
5209
  formatTime,
5421
- dn as get,
5422
- dp as getAllKosCompanionModels,
5210
+ du as get,
5211
+ dv as getAllKosCompanionModels,
5423
5212
  getCalendarMonthArray,
5424
- dq as getConfigBean,
5213
+ dw as getConfigBean,
5425
5214
  getDayStrings,
5426
5215
  getDays,
5427
5216
  getDaysArray,
5428
5217
  getDaysInMonth$1 as getDaysInMonth,
5429
- dr as getDependenciesByLifecycle,
5218
+ dx as getDependenciesByLifecycle,
5430
5219
  getFormattedDate,
5431
5220
  getFormattedMonth,
5432
5221
  getFormattedMonthsArray,
5433
5222
  getFormattedYear,
5434
5223
  getFormattedYearsArray,
5435
- ds as getFutures,
5436
- dt as getHttpRouteHandlers,
5437
- du as getKosCompanionModel,
5438
- dv as getKosConnectionId,
5224
+ dy as getFutures,
5225
+ dz as getHttpRouteHandlers,
5226
+ dA as getKosCompanionModel,
5227
+ dB as getKosConnectionId,
5439
5228
  getKosLocalizationDescriptor,
5440
- dw as getKosMessageLogging,
5441
5229
  getKosModel,
5442
- dx as getKosModelActivationState,
5230
+ dC as getKosModelActivationState,
5443
5231
  getKosModelSync,
5444
- dy as getKosModelType,
5232
+ dD as getKosModelType,
5445
5233
  getKosServiceApi,
5446
- dz as getKosSessionKey,
5234
+ dE as getKosSessionKey,
5447
5235
  getLastDayOfMonth,
5448
- dA as getLocalizationDescriptor,
5449
- dB as getLogLevel,
5450
- dC as getLogMessageToStudio,
5451
- dD as getMessageBody,
5236
+ dF as getLocalizationDescriptor,
5237
+ dG as getLogLevel,
5238
+ dH as getMessageBody,
5452
5239
  getMonthsArray,
5453
- dE as getObservableCompanions,
5240
+ dI as getObservableCompanions,
5454
5241
  getQueryParams,
5455
5242
  getServiceResponse,
5456
- dF as getStartedApps,
5457
- dG as getTranslations,
5243
+ dJ as getStartedApps,
5244
+ dK as getTranslations,
5458
5245
  getYearsArray,
5459
- dH as handleServiceRequestError,
5246
+ dL as handleServiceRequestError,
5460
5247
  hasCachedResponse,
5461
- dI as hasDecimals,
5462
- dJ as hasHttpRouteHandlers,
5463
- dK as hasKosProfile,
5248
+ dM as hasDecimals,
5249
+ dN as hasHttpRouteHandlers,
5250
+ dO as hasKosProfile,
5464
5251
  hasReadyHook,
5465
5252
  hslStringToHex,
5466
5253
  hslToHex,
5467
- dL as httpDelete,
5254
+ dP as httpDelete,
5468
5255
  initKosProvider,
5469
5256
  initializeStateMachine,
5470
5257
  injectStateMachineSupport,
5471
- dM as isBoolean,
5258
+ dQ as isBoolean,
5472
5259
  isDisposable,
5473
5260
  isIndexableItem,
5474
- dN as isKosCompanionTypeFactory,
5475
- dO as isKosDataModel,
5476
- dP as isKosExecutionContext,
5477
- dQ as isKosLoggingEnabled,
5261
+ dR as isKosCompanionTypeFactory,
5262
+ dS as isKosDataModel,
5263
+ dT as isKosExecutionContext,
5264
+ dU as isKosLoggingEnabled,
5478
5265
  isKosModel,
5479
- dR as isKosModelContainer,
5480
- dS as isKosModelReady,
5266
+ dV as isKosModelContainer,
5267
+ dW as isKosModelReady,
5481
5268
  isLeapYear,
5482
- dT as isLocalRefId,
5483
- dU as isNumber,
5484
- dV as isPrintable,
5485
- dW as isTransportNotReadyError,
5269
+ dX as isLocalRefId,
5270
+ dY as isNumber,
5271
+ dZ as isPrintable,
5272
+ d_ as isTransportNotReadyError,
5486
5273
  isTroubleAware,
5487
5274
  isValidDate,
5488
- dX as kosAction,
5275
+ d$ as kosAction,
5489
5276
  kosAutoEffect,
5490
5277
  kosChild,
5491
5278
  kosCompanion,
@@ -5496,89 +5283,88 @@ export {
5496
5283
  kosContainerAware,
5497
5284
  kosContainerIndexAware,
5498
5285
  kosContext,
5499
- dY as kosDependency,
5500
- dZ as kosEffect,
5286
+ e0 as kosDependency,
5287
+ e1 as kosEffect,
5501
5288
  kosFetch,
5502
- d_ as kosFuture,
5503
- d$ as kosFutureAware,
5289
+ e2 as kosFuture,
5290
+ e3 as kosFutureAware,
5504
5291
  kosIndexAware,
5505
- kosLogger,
5506
5292
  kosLoggerAware,
5507
5293
  kosMixin,
5508
5294
  kosModel,
5509
- e0 as kosModelEffect,
5295
+ e4 as kosModelEffect,
5510
5296
  kosMultipleFutureAware,
5511
- e1 as kosObservable,
5297
+ e5 as kosObservable,
5512
5298
  kosParentAware,
5513
5299
  kosReference,
5514
- e2 as kosReloadAware,
5300
+ e6 as kosReloadAware,
5515
5301
  kosServiceRequest$8 as kosServiceRequest,
5516
5302
  kosStateBean,
5517
- e3 as kosStateEntry,
5518
- e4 as kosStateExit,
5519
- e5 as kosStateGuard,
5520
- e6 as kosStateMachine,
5303
+ e7 as kosStateEntry,
5304
+ e8 as kosStateExit,
5305
+ e9 as kosStateGuard,
5306
+ ea as kosStateMachine,
5521
5307
  kosStateProp,
5522
5308
  kosSubscribe,
5523
- e7 as kosTopicHandler,
5309
+ eb as kosTopicHandler,
5524
5310
  kosTroubleAware,
5525
5311
  kosViewModel,
5526
- e8 as kosWhen,
5312
+ ec as kosWhen,
5527
5313
  login,
5528
5314
  makeAutoObservable2 as makeAutoObservable,
5529
- makeCancellable,
5315
+ ed as makeCancellable,
5530
5316
  makeObservable,
5531
- e9 as mapConfigBeanModelToDto,
5532
- ea as mapDataToModel,
5533
- eb as mapDtoToConfigBeanModel,
5534
- ec as mapDtoToFutureModel,
5535
- ed as mapDtoToFutureOptions,
5536
- ee as mapUpdateDtoToConfigBeanModel,
5317
+ ee as mapConfigBeanModelToDto,
5318
+ ef as mapDataToModel,
5319
+ eg as mapDtoToConfigBeanModel,
5320
+ eh as mapDtoToFutureModel,
5321
+ ei as mapDtoToFutureOptions,
5322
+ ej as mapUpdateDtoToConfigBeanModel,
5537
5323
  mergeLocalizationDescriptors,
5538
- ef as modelEventTopicFactory,
5539
- eg as modelFactory,
5324
+ ek as modelEventTopicFactory,
5325
+ el as modelFactory,
5540
5326
  modelHookCache,
5541
- eh as modelTypeEventTopicFactory,
5542
- ei as modifyConfigBean,
5543
- ej as modifyFuture,
5327
+ em as modelTypeEventTopicFactory,
5328
+ en as modifyConfigBean,
5329
+ eo as modifyFuture,
5544
5330
  pairedClientHeartbeat,
5545
- ek as parseWildcardSegment,
5546
- el as pipe,
5547
- em as post,
5548
- en as preloadKosModel,
5549
- eo as processId,
5331
+ ep as parseWildcardSegment,
5332
+ eq as pipe,
5333
+ er as post,
5334
+ es as preloadKosModel,
5335
+ et as processId,
5550
5336
  processMiddleware,
5551
- ep as put,
5337
+ eu as put,
5552
5338
  readModelHookEntry,
5553
- eq as registerCompanionModel,
5554
- er as registerCoreModels,
5555
- es as registerExtensionPoint,
5556
- et as registerHttpRoutes,
5557
- eu as registerKosModel,
5558
- ev as registerLegacyModel,
5559
- ew as resetKosModel,
5339
+ ev as registerCompanionModel,
5340
+ ew as registerCoreModels,
5341
+ ex as registerExtensionPoint,
5342
+ ey as registerHttpRoutes,
5343
+ ez as registerKosModel,
5344
+ eA as registerLegacyModel,
5345
+ eB as resetKosModel,
5560
5346
  resetPassword,
5561
- ex as resolveBaseUrl,
5562
- ey as resolveChild,
5563
- ez as resolveContainerDeltas,
5564
- eA as resolveItemListDeltas,
5565
- eB as resolveKosCompanion,
5566
- eC as resolveKosContext,
5567
- eD as resolveKosProfiles,
5568
- eE as resolveListDeltas,
5569
- eF as resolveServiceRequestParameters,
5570
- eG as resolveServiceUrl,
5347
+ eC as resolveBaseUrl,
5348
+ eD as resolveChild,
5349
+ eE as resolveContainerDeltas,
5350
+ eF as resolveItemListDeltas,
5351
+ eG as resolveKosCompanion,
5352
+ eH as resolveKosContext,
5353
+ eI as resolveKosProfiles,
5354
+ eJ as resolveListDeltas,
5355
+ eK as resolveServiceRequestParameters,
5356
+ eL as resolveServiceUrl,
5571
5357
  resolveVariable,
5572
- retryWithExponentialBackoff,
5573
- eH as sendAsyncIntent,
5574
- eI as sendBroadcastMessage,
5575
- eJ as sendIntent,
5576
- eK as sendKosHttpMessageResponse,
5577
- eL as sendKosMessage,
5358
+ eM as retryWithExponentialBackoff,
5359
+ eN as sendAsyncIntent,
5360
+ eO as sendBroadcastMessage,
5361
+ eP as sendIntent,
5362
+ eQ as sendKosHttpMessageResponse,
5363
+ eR as sendKosMessage,
5578
5364
  sendKosMessageResponse,
5579
- sendRequest,
5580
- eM as sendStudioMessage,
5581
- eN as sendStudioMessageRequest,
5365
+ eS as sendRequest,
5366
+ eT as sendStudioMessage,
5367
+ eU as sendStudioMessageRequest,
5582
5368
  startPasswordReset,
5583
5369
  stringComponentInsert,
5584
5370
  studioAcceptOrgInvitation,
@@ -5586,10 +5372,10 @@ export {
5586
5372
  studioResetPassword,
5587
5373
  studioStartPasswordReset,
5588
5374
  subscribeStore,
5589
- syncPublish,
5590
- eO as troubleByTypeReducer,
5591
- eP as troubleDataFactory,
5592
- eQ as unloadKosModel,
5375
+ eV as syncPublish,
5376
+ eW as troubleByTypeReducer,
5377
+ eX as troubleDataFactory,
5378
+ eY as unloadKosModel,
5593
5379
  updateCompanionModelRegistration,
5594
5380
  updateModelRegistration,
5595
5381
  updateRegion,
@@ -5653,13 +5439,13 @@ export {
5653
5439
  useViewModel,
5654
5440
  useYears,
5655
5441
  useYearsOptions,
5656
- uuid,
5442
+ eZ as uuid,
5657
5443
  variableToHex,
5658
- eR as waitForAppToStart,
5659
- eS as waitForAppsToStart,
5660
- waitForRequest,
5444
+ e_ as waitForAppToStart,
5445
+ e$ as waitForAppsToStart,
5446
+ f0 as waitForRequest,
5661
5447
  whenReady,
5662
- withCancellation,
5448
+ f1 as withCancellation,
5663
5449
  withDevice,
5664
5450
  withKosTime,
5665
5451
  withNetworkInterfaceContainer,
@@ -5671,6 +5457,6 @@ export {
5671
5457
  withTroubleContainer,
5672
5458
  withUsbUpdateContainer,
5673
5459
  wrapPromise,
5674
- eT as wrapWithFutureLifecycle
5460
+ f2 as wrapWithFutureLifecycle
5675
5461
  };
5676
5462
  //# sourceMappingURL=index.js.map