@kosdev-code/kos-ui-sdk 3.0.33 → 3.0.35
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.
- package/core/core/registration/registration-manager.d.ts.map +1 -1
- package/index.cjs +2 -2
- package/index.js +3 -3
- package/package.json +2 -2
- package/{software-info-registration-CZq-jfVp.cjs → software-info-registration-C-fplY8u.cjs} +6 -5
- package/software-info-registration-C-fplY8u.cjs.map +1 -0
- package/{software-info-registration-dW2ssLDY.js → software-info-registration-Co9Wq_-n.js} +6 -5
- package/software-info-registration-Co9Wq_-n.js.map +1 -0
- package/testing.cjs +1 -1
- package/testing.js +1 -1
- package/software-info-registration-CZq-jfVp.cjs.map +0 -1
- package/software-info-registration-dW2ssLDY.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registration-manager.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-ui-sdk/src/core/core/registration/registration-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAGtE,OAAO,KAAK,EACV,qBAAqB,EAErB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,sBAAsB,CAAC;AAM9B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,WAAW,EAAE;YACX,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;YAC/C,aAAa,EAAE,MAAM,EAAE,CAAC;YACxB,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAC3D,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,4BAA4B,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;SAC7D,CAAC;KACH;CACF;AAcD,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,kBAAkB,CAAC,CAAC,CAAC,CAAC;IACjD,KAAK,EAAE,CACL,YAAY,EACR,4BAA4B,CAAC,GAAG,EAAE,GAAG,CAAC,GACtC,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,EACtC,OAAO,CAAC,EAAE,OAAO,KACd,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAC3B,SAAS,EAAE,CACT,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,qBAAqB,CAAC,GAAG,CAAC,KAClC,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAC3B,MAAM,EAAE,CAAC,CAAC,SAAS,qBAAqB,EACtC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,CAAC,KACZ,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC;CACT;AACD,eAAO,MAAM,mBAAmB;;8BAGzB,CAAC,QAAQ,CAAC,MACV,CAAC,SAAS,qBAAqB,EAC9B,MAAM,MAAM,EACZ,cAAc,CAAC,KACd,kBAAkB,CAAC,CAAC,CAAC;uBAWvB,CAAC,QAAQ,CAAC,MACV,MAAM,MAAM,KAAG,kBAAkB,CAAC,CAAC,CAAC;mBAapC,CAAC,QAAQ,CAAC,MAET,CAAC,SACG,4BAA4B,CAAC,GAAG,EAAE,GAAG,CAAC,GACtC,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,EAEtC,cAAc,CAAC,EACf,UAAU,OAAO,KAChB,kBAAkB,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"registration-manager.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-ui-sdk/src/core/core/registration/registration-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAGtE,OAAO,KAAK,EACV,qBAAqB,EAErB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KA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apC,CAAC,QAAQ,CAAC,MAET,CAAC,SACG,4BAA4B,CAAC,GAAG,EAAE,GAAG,CAAC,GACtC,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,EAEtC,cAAc,CAAC,EACf,UAAU,OAAO,KAChB,kBAAkB,CAAC,CAAC,CAAC;oBAyCd,MAAM;;;;;;mBAWf,CAAC,QAAQ,CAAC,MAET,YAAY,MAAM,EAClB,WAAW,qBAAqB,CAAC,GAAG,CAAC,KACpC,kBAAkB,CAAC,CAAC,CAAC;;;CAc7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,GA7GzB,CAAC,QAAQ,CAAC,MACV,CAAC,SAAS,qBAAqB,EAC9B,MAAM,MAAM,EACZ,cAAc,CAAC,KACd,kBAAkB,CAAC,CAAC,CA0GkB,CAAC;AAChD,eAAO,MAAM,gBAAgB,GAlFtB,CAAC,QAAQ,CAAC,MAET,CAAC,SACG,4BAA4B,CAAC,GAAG,EAAE,GAAG,CAAC,GACtC,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,EAEtC,cAAc,CAAC,EACf,UAAU,OAAO,KAChB,kBAAkB,CAAC,CAAC,CA0EqC,CAAC;AACnE,eAAO,MAAM,sBAAsB,GAvB5B,CAAC,QAAQ,CAAC,MAET,YAAY,MAAM,EAClB,WAAW,qBAAqB,CAAC,GAAG,CAAC,KACpC,kBAAkB,CAAC,CAAC,CAmB+C,CAAC;AAC7E,eAAO,MAAM,eAAe,GAlGrB,CAAC,QAAQ,CAAC,MACV,MAAM,MAAM,KAAG,kBAAkB,CAAC,CAAC,CAiG2B,CAAC"}
|
package/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const service$8 = require("./software-info-registration-
|
|
3
|
+
const service$8 = require("./software-info-registration-C-fplY8u.cjs");
|
|
4
4
|
const mobx = require("mobx");
|
|
5
5
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
6
6
|
const styled = require("@emotion/styled");
|
|
@@ -1541,7 +1541,7 @@ const updateRegion = async (region) => {
|
|
|
1541
1541
|
regionInfo.updateProperty(region);
|
|
1542
1542
|
};
|
|
1543
1543
|
async function getKosServiceApi() {
|
|
1544
|
-
const { default: API } = await Promise.resolve().then(() => require("./software-info-registration-
|
|
1544
|
+
const { default: API } = await Promise.resolve().then(() => require("./software-info-registration-C-fplY8u.cjs")).then((n) => n.service);
|
|
1545
1545
|
return API;
|
|
1546
1546
|
}
|
|
1547
1547
|
function kosServiceRequest$7(params) {
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-
|
|
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-Co9Wq_-n.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-Co9Wq_-n.js";
|
|
3
3
|
import { action, reaction, autorun, makeAutoObservable, runInAction } from "mobx";
|
|
4
4
|
import { makeAutoObservable as makeAutoObservable2, makeObservable } from "mobx";
|
|
5
5
|
import { jsx, jsxs, Fragment } from "@emotion/react/jsx-runtime";
|
|
@@ -1542,7 +1542,7 @@ const updateRegion = async (region) => {
|
|
|
1542
1542
|
regionInfo.updateProperty(region);
|
|
1543
1543
|
};
|
|
1544
1544
|
async function getKosServiceApi() {
|
|
1545
|
-
const { default: API } = await import("./software-info-registration-
|
|
1545
|
+
const { default: API } = await import("./software-info-registration-Co9Wq_-n.js").then((n) => n.f3);
|
|
1546
1546
|
return API;
|
|
1547
1547
|
}
|
|
1548
1548
|
function kosServiceRequest$7(params) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosdev-code/kos-ui-sdk",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"kos": {
|
|
61
61
|
"build": {
|
|
62
|
-
"gitHash": "
|
|
62
|
+
"gitHash": "5bf82c054f108449e0e34681bb6fd399f3b5406b"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -2684,15 +2684,16 @@ const RegistrationManager = {
|
|
|
2684
2684
|
(model) => models.set(model.type, model.registration())
|
|
2685
2685
|
);
|
|
2686
2686
|
}
|
|
2687
|
-
|
|
2688
|
-
|
|
2687
|
+
const liveModels = KosCore.getInstance().modelManager?.registry?.models;
|
|
2688
|
+
if (liveModels) {
|
|
2689
|
+
if (!liveModels[register.type]) {
|
|
2689
2690
|
log$15.info(
|
|
2690
2691
|
`Model with type ${register.type} doesn't exist. Adding new registration`
|
|
2691
2692
|
);
|
|
2692
|
-
|
|
2693
|
+
liveModels[register.type] = register.registration[register.type];
|
|
2693
2694
|
if (isKosModelRegistration(registration)) {
|
|
2694
2695
|
registration.relatedModels.forEach(
|
|
2695
|
-
(model) =>
|
|
2696
|
+
(model) => liveModels[model.type] = model.registration().registration[model.type]
|
|
2696
2697
|
);
|
|
2697
2698
|
}
|
|
2698
2699
|
}
|
|
@@ -25408,4 +25409,4 @@ exports.waitForRequest = waitForRequest;
|
|
|
25408
25409
|
exports.whenReady = whenReady;
|
|
25409
25410
|
exports.withCancellation = withCancellation;
|
|
25410
25411
|
exports.wrapWithFutureLifecycle = wrapWithFutureLifecycle;
|
|
25411
|
-
//# sourceMappingURL=software-info-registration-
|
|
25412
|
+
//# sourceMappingURL=software-info-registration-C-fplY8u.cjs.map
|