@ikonai/sdk-react-ui 0.0.8 → 0.0.9
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/index.js +71 -71
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createLogger as
|
|
1
|
+
import { createLogger as B } from "@ikonai/sdk";
|
|
2
2
|
import { IkonUICore as Te, UiStreamStore as Re } from "@ikonai/sdk-ui";
|
|
3
3
|
import { UiStreamStore as Mt } from "@ikonai/sdk-ui";
|
|
4
|
-
import
|
|
5
|
-
var
|
|
4
|
+
import we, { useSyncExternalStore as Ce, Fragment as Ne, useMemo as Oe, memo as ke, useCallback as re, useEffect as ne } from "react";
|
|
5
|
+
var x = { exports: {} }, j = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.js
|
|
@@ -61,7 +61,7 @@ function _e() {
|
|
|
61
61
|
return "StrictMode";
|
|
62
62
|
case k:
|
|
63
63
|
return "Suspense";
|
|
64
|
-
case
|
|
64
|
+
case L:
|
|
65
65
|
return "SuspenseList";
|
|
66
66
|
case ge:
|
|
67
67
|
return "Activity";
|
|
@@ -72,7 +72,7 @@ function _e() {
|
|
|
72
72
|
), o.$$typeof) {
|
|
73
73
|
case _:
|
|
74
74
|
return "Portal";
|
|
75
|
-
case
|
|
75
|
+
case w:
|
|
76
76
|
return (o.displayName || "Context") + ".Provider";
|
|
77
77
|
case y:
|
|
78
78
|
return (o._context.displayName || "Context") + ".Consumer";
|
|
@@ -153,12 +153,12 @@ function _e() {
|
|
|
153
153
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
154
154
|
)), o = this.props.ref, o !== void 0 ? o : null;
|
|
155
155
|
}
|
|
156
|
-
function d(o, c, m, S, N,
|
|
157
|
-
return m =
|
|
156
|
+
function d(o, c, m, S, N, C, D, q) {
|
|
157
|
+
return m = C.ref, o = {
|
|
158
158
|
$$typeof: O,
|
|
159
159
|
type: o,
|
|
160
160
|
key: c,
|
|
161
|
-
props:
|
|
161
|
+
props: C,
|
|
162
162
|
_owner: N
|
|
163
163
|
}, (m !== void 0 ? m : null) !== null ? Object.defineProperty(o, "ref", {
|
|
164
164
|
enumerable: !1,
|
|
@@ -185,7 +185,7 @@ function _e() {
|
|
|
185
185
|
value: q
|
|
186
186
|
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
187
187
|
}
|
|
188
|
-
function p(o, c, m, S, N,
|
|
188
|
+
function p(o, c, m, S, N, C, D, q) {
|
|
189
189
|
var g = c.children;
|
|
190
190
|
if (g !== void 0)
|
|
191
191
|
if (S)
|
|
@@ -227,7 +227,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
227
227
|
), d(
|
|
228
228
|
o,
|
|
229
229
|
g,
|
|
230
|
-
|
|
230
|
+
C,
|
|
231
231
|
N,
|
|
232
232
|
s(),
|
|
233
233
|
m,
|
|
@@ -238,7 +238,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
238
238
|
function E(o) {
|
|
239
239
|
typeof o == "object" && o !== null && o.$$typeof === O && o._store && (o._store.validated = 1);
|
|
240
240
|
}
|
|
241
|
-
var T =
|
|
241
|
+
var T = we, O = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), y = Symbol.for("react.consumer"), w = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), Se = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), ge = Symbol.for("react.activity"), be = Symbol.for("react.client.reference"), F = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, ve = Array.isArray, $ = console.createTask ? console.createTask : function() {
|
|
242
242
|
return null;
|
|
243
243
|
};
|
|
244
244
|
T = {
|
|
@@ -251,7 +251,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
251
251
|
i
|
|
252
252
|
)(), ee = $(r(i)), te = {};
|
|
253
253
|
I.Fragment = b, I.jsx = function(o, c, m, S, N) {
|
|
254
|
-
var
|
|
254
|
+
var C = 1e4 > F.recentlyCreatedOwnerStacks++;
|
|
255
255
|
return p(
|
|
256
256
|
o,
|
|
257
257
|
c,
|
|
@@ -259,11 +259,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
259
259
|
!1,
|
|
260
260
|
S,
|
|
261
261
|
N,
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
C ? Error("react-stack-top-frame") : Q,
|
|
263
|
+
C ? $(r(o)) : ee
|
|
264
264
|
);
|
|
265
265
|
}, I.jsxs = function(o, c, m, S, N) {
|
|
266
|
-
var
|
|
266
|
+
var C = 1e4 > F.recentlyCreatedOwnerStacks++;
|
|
267
267
|
return p(
|
|
268
268
|
o,
|
|
269
269
|
c,
|
|
@@ -271,25 +271,25 @@ React keys must be passed directly to JSX without using spread:
|
|
|
271
271
|
!0,
|
|
272
272
|
S,
|
|
273
273
|
N,
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
C ? Error("react-stack-top-frame") : Q,
|
|
275
|
+
C ? $(r(o)) : ee
|
|
276
276
|
);
|
|
277
277
|
};
|
|
278
278
|
}()), I;
|
|
279
279
|
}
|
|
280
280
|
var ie;
|
|
281
281
|
function Me() {
|
|
282
|
-
return ie || (ie = 1, process.env.NODE_ENV === "production" ?
|
|
282
|
+
return ie || (ie = 1, process.env.NODE_ENV === "production" ? x.exports = Ae() : x.exports = _e()), x.exports;
|
|
283
283
|
}
|
|
284
284
|
var A = Me();
|
|
285
285
|
function je(n) {
|
|
286
|
-
return
|
|
286
|
+
return Ce(
|
|
287
287
|
(e) => n.subscribe(e),
|
|
288
288
|
() => n.getSnapshot(),
|
|
289
289
|
() => n.getSnapshot()
|
|
290
290
|
);
|
|
291
291
|
}
|
|
292
|
-
const Ie =
|
|
292
|
+
const Ie = B("UIRenderer");
|
|
293
293
|
function Pe(n) {
|
|
294
294
|
if (n === void 0)
|
|
295
295
|
return "{}";
|
|
@@ -318,7 +318,7 @@ function Le(n) {
|
|
|
318
318
|
return Array.isArray(e) ? e : [];
|
|
319
319
|
}
|
|
320
320
|
function xe({ node: n, renderer: e, library: t, context: r, className: s }) {
|
|
321
|
-
const i = me(n), a = i.children.map((u) =>
|
|
321
|
+
const i = me(n), a = i.children.map((u) => U(u, t, r)), l = e;
|
|
322
322
|
return /* @__PURE__ */ A.jsx(
|
|
323
323
|
l,
|
|
324
324
|
{
|
|
@@ -330,10 +330,10 @@ function xe({ node: n, renderer: e, library: t, context: r, className: s }) {
|
|
|
330
330
|
}
|
|
331
331
|
);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function U(n, e, t) {
|
|
334
334
|
const r = me(n), s = r.children;
|
|
335
335
|
if (r.type === "root")
|
|
336
|
-
return /* @__PURE__ */ A.jsx(Ne, { children: s.map((u) =>
|
|
336
|
+
return /* @__PURE__ */ A.jsx(Ne, { children: s.map((u) => U(u, e, t)) }, r.id);
|
|
337
337
|
const i = e.resolve(r);
|
|
338
338
|
if (!i)
|
|
339
339
|
return Ie.warn(`No renderer for node type ${r.type}`), null;
|
|
@@ -357,10 +357,10 @@ function ze({ store: n, library: e, containerId: t, emptyFallback: r = null, onA
|
|
|
357
357
|
if (!l) return r;
|
|
358
358
|
const u = {
|
|
359
359
|
getPayload: (d) => i.payloads.get(d),
|
|
360
|
-
renderChildren: (d) => Array.isArray(d) ? d.map((p) =>
|
|
360
|
+
renderChildren: (d) => Array.isArray(d) ? d.map((p) => U(p, e, u)) : [],
|
|
361
361
|
renderContainer: (d) => {
|
|
362
362
|
const p = i.containers.get(d);
|
|
363
|
-
return p ?
|
|
363
|
+
return p ? U(p, e, u) : null;
|
|
364
364
|
},
|
|
365
365
|
dispatchAction: (d, p) => {
|
|
366
366
|
if (!d)
|
|
@@ -369,7 +369,7 @@ function ze({ store: n, library: e, containerId: t, emptyFallback: r = null, onA
|
|
|
369
369
|
s?.(d, E);
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
|
-
return
|
|
372
|
+
return U(l, e, u);
|
|
373
373
|
}
|
|
374
374
|
class Be {
|
|
375
375
|
constructor(e, t) {
|
|
@@ -392,11 +392,11 @@ function Et(n, e) {
|
|
|
392
392
|
const t = Object.entries(n);
|
|
393
393
|
return new Be(t, e);
|
|
394
394
|
}
|
|
395
|
-
const
|
|
395
|
+
const J = "ikon-ui";
|
|
396
396
|
function Fe(n, e) {
|
|
397
397
|
return n === e;
|
|
398
398
|
}
|
|
399
|
-
function Tt({ stores: n, library: e, category: t =
|
|
399
|
+
function Tt({ stores: n, library: e, category: t = J, version: r, onAction: s }) {
|
|
400
400
|
const i = Oe(() => {
|
|
401
401
|
const a = [];
|
|
402
402
|
for (const [l, u] of n) {
|
|
@@ -409,7 +409,7 @@ function Tt({ stores: n, library: e, category: t = V, version: r, onAction: s })
|
|
|
409
409
|
}, [n, t, r]);
|
|
410
410
|
return i.length === 0 ? null : /* @__PURE__ */ A.jsx(A.Fragment, { children: i.map(({ key: a, store: l }) => /* @__PURE__ */ A.jsx(ze, { store: l, library: e, onAction: s }, a)) });
|
|
411
411
|
}
|
|
412
|
-
|
|
412
|
+
B("IkonUI");
|
|
413
413
|
class Rt {
|
|
414
414
|
core;
|
|
415
415
|
ownsCore;
|
|
@@ -419,10 +419,10 @@ class Rt {
|
|
|
419
419
|
unsubscribeClears;
|
|
420
420
|
unsubscribeStoreChanges;
|
|
421
421
|
constructor(e) {
|
|
422
|
-
|
|
422
|
+
this.core = e?.core ?? new Te({ client: e?.client }), this.ownsCore = !e?.core, this.unsubscribeUpdates = this.core.subscribeToUiUpdates(this.handleUiUpdate), this.unsubscribeClears = this.core.subscribeToUiStreamCleared(this.handleUiStreamCleared), this.unsubscribeStoreChanges = this.core.uiStore.subscribe(this.syncStreamSnapshot), this.syncAllStreams();
|
|
423
423
|
}
|
|
424
424
|
dispose() {
|
|
425
|
-
this.unsubscribeUpdates(), this.unsubscribeClears(), this.unsubscribeStoreChanges(), this.ownsCore && this.core.dispose(), this.listeners.clear(), this.stores.clear()
|
|
425
|
+
this.unsubscribeUpdates(), this.unsubscribeClears(), this.unsubscribeStoreChanges(), this.ownsCore && this.core.dispose(), this.listeners.clear(), this.stores.clear();
|
|
426
426
|
}
|
|
427
427
|
getStores() {
|
|
428
428
|
return this.stores;
|
|
@@ -479,7 +479,7 @@ class Rt {
|
|
|
479
479
|
if (t)
|
|
480
480
|
return t;
|
|
481
481
|
const r = {
|
|
482
|
-
category:
|
|
482
|
+
category: J,
|
|
483
483
|
store: new Re()
|
|
484
484
|
};
|
|
485
485
|
return this.stores.set(e, r), r;
|
|
@@ -488,7 +488,7 @@ class Rt {
|
|
|
488
488
|
const r = this.stores.get(e);
|
|
489
489
|
if (!r)
|
|
490
490
|
return !1;
|
|
491
|
-
const s = t ?? this.core.uiStore.getSnapshot(e)?.category ??
|
|
491
|
+
const s = t ?? this.core.uiStore.getSnapshot(e)?.category ?? J;
|
|
492
492
|
return r.category === s ? !1 : (this.stores.set(e, { ...r, category: s }), !0);
|
|
493
493
|
}
|
|
494
494
|
notify(e) {
|
|
@@ -514,7 +514,7 @@ const Ye = async () => qe();
|
|
|
514
514
|
function We(n) {
|
|
515
515
|
n.registerModule(De, Ye);
|
|
516
516
|
}
|
|
517
|
-
const
|
|
517
|
+
const ae = B("UIRegistry");
|
|
518
518
|
class Ve {
|
|
519
519
|
baseResolvers = [];
|
|
520
520
|
moduleLoaders = /* @__PURE__ */ new Map();
|
|
@@ -527,10 +527,10 @@ class Ve {
|
|
|
527
527
|
registerModule(e, t) {
|
|
528
528
|
const r = this.moduleLoaders.get(e);
|
|
529
529
|
if (!r) {
|
|
530
|
-
|
|
530
|
+
this.moduleLoaders.set(e, t);
|
|
531
531
|
return;
|
|
532
532
|
}
|
|
533
|
-
r !== t && (
|
|
533
|
+
r !== t && (this.moduleLoaders.set(e, t), this.moduleResolvers.delete(e));
|
|
534
534
|
}
|
|
535
535
|
async loadRegisteredModules() {
|
|
536
536
|
let e = !1;
|
|
@@ -538,9 +538,9 @@ class Ve {
|
|
|
538
538
|
if (!this.moduleResolvers.has(r))
|
|
539
539
|
try {
|
|
540
540
|
const i = await s(), a = Ge(i);
|
|
541
|
-
this.moduleResolvers.set(r, a),
|
|
541
|
+
this.moduleResolvers.set(r, a), e = !0;
|
|
542
542
|
} catch (i) {
|
|
543
|
-
|
|
543
|
+
ae.error(`[IkonUiRegistry] Failed to load module '${r}'.`, i);
|
|
544
544
|
}
|
|
545
545
|
const t = [];
|
|
546
546
|
for (const r of this.moduleLoaders.keys())
|
|
@@ -555,7 +555,7 @@ class Ve {
|
|
|
555
555
|
for (const t of this.activeModuleOrder) {
|
|
556
556
|
const r = this.moduleResolvers.get(t);
|
|
557
557
|
if (!r) {
|
|
558
|
-
|
|
558
|
+
ae.warn(`Missing resolvers for module ${t}`);
|
|
559
559
|
continue;
|
|
560
560
|
}
|
|
561
561
|
for (const s of r) {
|
|
@@ -565,7 +565,7 @@ class Ve {
|
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function wt() {
|
|
569
569
|
const n = new Ve();
|
|
570
570
|
return We(n), n.loadRegisteredModules(), n;
|
|
571
571
|
}
|
|
@@ -583,7 +583,7 @@ function Xe(n, e) {
|
|
|
583
583
|
return !1;
|
|
584
584
|
return !0;
|
|
585
585
|
}
|
|
586
|
-
const ce = {
|
|
586
|
+
const W = B("MotionController"), ce = {
|
|
587
587
|
ease: [0.25, 0.1, 0.25, 1],
|
|
588
588
|
"ease-in": [0.42, 0, 1, 1],
|
|
589
589
|
"ease-out": [0, 0, 0.58, 1],
|
|
@@ -637,29 +637,29 @@ function de(n, e, t, r) {
|
|
|
637
637
|
}
|
|
638
638
|
function O(f, h) {
|
|
639
639
|
for (let y = 0; y < 4; y += 1) {
|
|
640
|
-
const
|
|
641
|
-
if (
|
|
640
|
+
const w = T(h, n, t);
|
|
641
|
+
if (w === 0)
|
|
642
642
|
return h;
|
|
643
643
|
const R = E(h, n, t) - f;
|
|
644
|
-
h -= R /
|
|
644
|
+
h -= R / w;
|
|
645
645
|
}
|
|
646
646
|
return h;
|
|
647
647
|
}
|
|
648
648
|
function _(f, h, y) {
|
|
649
|
-
let
|
|
649
|
+
let w = 0, R = 0, k = 0;
|
|
650
650
|
do
|
|
651
|
-
R = h + (y - h) / 2,
|
|
652
|
-
while (Math.abs(
|
|
651
|
+
R = h + (y - h) / 2, w = E(R, n, t) - f, w > 0 ? y = R : h = R;
|
|
652
|
+
while (Math.abs(w) > 1e-7 && ++k < 10);
|
|
653
653
|
return R;
|
|
654
654
|
}
|
|
655
655
|
function b(f) {
|
|
656
656
|
let h = 0, y = 1;
|
|
657
|
-
const
|
|
658
|
-
for (; y !==
|
|
657
|
+
const w = 10;
|
|
658
|
+
for (; y !== w && p[y] <= f; y += 1)
|
|
659
659
|
h += 0.1;
|
|
660
660
|
y -= 1;
|
|
661
|
-
const R = (f - p[y]) / (p[y + 1] - p[y]), k = h + R * 0.1,
|
|
662
|
-
return
|
|
661
|
+
const R = (f - p[y]) / (p[y + 1] - p[y]), k = h + R * 0.1, L = T(k, n, t);
|
|
662
|
+
return L >= 1e-3 ? O(f, k) : L === 0 ? k : _(f, h, h + 0.1);
|
|
663
663
|
}
|
|
664
664
|
for (let f = 0; f < 11; f += 1)
|
|
665
665
|
p[f] = E(f * 0.1, n, t);
|
|
@@ -729,7 +729,7 @@ class Qe {
|
|
|
729
729
|
try {
|
|
730
730
|
e();
|
|
731
731
|
} catch (t) {
|
|
732
|
-
|
|
732
|
+
W.warn("Failed to cleanup binding listener", t);
|
|
733
733
|
}
|
|
734
734
|
this.globalCleanups.clear(), this.elementStates.clear(), this.styleToElements.clear(), this.bindingsByStyle.clear(), this.pendingScanStyles.clear(), this.scanScheduled = !1, this.observer && (this.observer.disconnect(), this.observer = void 0);
|
|
735
735
|
}
|
|
@@ -739,7 +739,7 @@ class Qe {
|
|
|
739
739
|
const r = (JSON.parse(e).motionBindings ?? []).map((s) => this.parseBinding(s)).filter((s) => s !== void 0);
|
|
740
740
|
return r.length === 0 ? void 0 : { bindings: r };
|
|
741
741
|
} catch (t) {
|
|
742
|
-
|
|
742
|
+
W.warn("Failed to parse motion metadata", t);
|
|
743
743
|
return;
|
|
744
744
|
}
|
|
745
745
|
}
|
|
@@ -912,7 +912,7 @@ class Qe {
|
|
|
912
912
|
try {
|
|
913
913
|
a();
|
|
914
914
|
} catch (l) {
|
|
915
|
-
|
|
915
|
+
W.warn("Failed to cleanup listener", l);
|
|
916
916
|
}
|
|
917
917
|
this.globalCleanups.delete(a);
|
|
918
918
|
}
|
|
@@ -956,14 +956,14 @@ class Qe {
|
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
const fe = new Qe(),
|
|
960
|
-
function
|
|
959
|
+
const fe = new Qe(), V = "ikon-ds";
|
|
960
|
+
function Ct(n) {
|
|
961
961
|
const e = re(({ styleId: r, css: s, common: i }) => {
|
|
962
962
|
if (!r || typeof document > "u") return;
|
|
963
|
-
let a = document.getElementById(
|
|
964
|
-
a || (a = document.createElement("style"), a.id =
|
|
963
|
+
let a = document.getElementById(V);
|
|
964
|
+
a || (a = document.createElement("style"), a.id = V, document.head.appendChild(a)), s && (a.innerHTML += s), fe.registerStyle(r, i);
|
|
965
965
|
}, []), t = re(() => {
|
|
966
|
-
typeof document < "u" && document.getElementById(
|
|
966
|
+
typeof document < "u" && document.getElementById(V)?.remove(), fe.reset();
|
|
967
967
|
}, []);
|
|
968
968
|
return ne(() => {
|
|
969
969
|
if (!n) return;
|
|
@@ -975,22 +975,22 @@ function wt(n) {
|
|
|
975
975
|
};
|
|
976
976
|
}, [n, t, e]), ne(() => () => t(), [t]), { setStyle: e, reset: t };
|
|
977
977
|
}
|
|
978
|
-
var et = typeof global == "object" && global && global.Object === Object && global, tt = typeof self == "object" && self && self.Object === Object && self, rt = et || tt || Function("return this")(),
|
|
978
|
+
var et = typeof global == "object" && global && global.Object === Object && global, tt = typeof self == "object" && self && self.Object === Object && self, rt = et || tt || Function("return this")(), z = rt.Symbol, ye = Object.prototype, nt = ye.hasOwnProperty, st = ye.toString, P = z ? z.toStringTag : void 0;
|
|
979
979
|
function ot(n) {
|
|
980
|
-
var e = nt.call(n,
|
|
980
|
+
var e = nt.call(n, P), t = n[P];
|
|
981
981
|
try {
|
|
982
|
-
n[
|
|
982
|
+
n[P] = void 0;
|
|
983
983
|
var r = !0;
|
|
984
984
|
} catch {
|
|
985
985
|
}
|
|
986
986
|
var s = st.call(n);
|
|
987
|
-
return r && (e ? n[
|
|
987
|
+
return r && (e ? n[P] = t : delete n[P]), s;
|
|
988
988
|
}
|
|
989
989
|
var it = Object.prototype, at = it.toString;
|
|
990
990
|
function ct(n) {
|
|
991
991
|
return at.call(n);
|
|
992
992
|
}
|
|
993
|
-
var lt = "[object Null]", ut = "[object Undefined]", he =
|
|
993
|
+
var lt = "[object Null]", ut = "[object Undefined]", he = z ? z.toStringTag : void 0;
|
|
994
994
|
function dt(n) {
|
|
995
995
|
return n == null ? n === void 0 ? ut : lt : he && he in Object(n) ? ot(n) : ct(n);
|
|
996
996
|
}
|
|
@@ -1002,7 +1002,7 @@ function mt(n) {
|
|
|
1002
1002
|
return typeof n == "string" || !ht(n) && ft(n) && dt(n) == pt;
|
|
1003
1003
|
}
|
|
1004
1004
|
const pe = "ikonUiModules";
|
|
1005
|
-
function
|
|
1005
|
+
function G(n) {
|
|
1006
1006
|
return typeof n == "object" && n !== null && !Array.isArray(n);
|
|
1007
1007
|
}
|
|
1008
1008
|
function yt(n) {
|
|
@@ -1029,7 +1029,7 @@ function Nt(n, e) {
|
|
|
1029
1029
|
return !0;
|
|
1030
1030
|
}
|
|
1031
1031
|
function St(n) {
|
|
1032
|
-
if (!(!
|
|
1032
|
+
if (!(!G(n) || !Object.prototype.hasOwnProperty.call(n, pe)))
|
|
1033
1033
|
return yt(n[pe]);
|
|
1034
1034
|
}
|
|
1035
1035
|
function Ot(...n) {
|
|
@@ -1040,7 +1040,7 @@ function Ot(...n) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
1042
|
function kt(n) {
|
|
1043
|
-
if (!
|
|
1043
|
+
if (!G(n))
|
|
1044
1044
|
return;
|
|
1045
1045
|
const e = n, t = Object.keys(e).find((u) => u.toLowerCase() === "modules");
|
|
1046
1046
|
if (!t)
|
|
@@ -1059,7 +1059,7 @@ function kt(n) {
|
|
|
1059
1059
|
s.push(b), a.add(b);
|
|
1060
1060
|
continue;
|
|
1061
1061
|
}
|
|
1062
|
-
if (!
|
|
1062
|
+
if (!G(u))
|
|
1063
1063
|
continue;
|
|
1064
1064
|
const d = u, p = Object.keys(d).find((b) => b.toLowerCase() === "name");
|
|
1065
1065
|
if (!p)
|
|
@@ -1083,7 +1083,7 @@ function kt(n) {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
export {
|
|
1085
1085
|
De as IKON_UI_BASE_MODULE,
|
|
1086
|
-
|
|
1086
|
+
J as IKON_UI_STREAM_CATEGORY,
|
|
1087
1087
|
Rt as IkonUi,
|
|
1088
1088
|
Ve as IkonUiRegistry,
|
|
1089
1089
|
Tt as IkonUiSurface,
|
|
@@ -1093,7 +1093,7 @@ export {
|
|
|
1093
1093
|
Nt as areIkonUiModuleListsEqual,
|
|
1094
1094
|
qe as createBaseResolvers,
|
|
1095
1095
|
Et as createComponentLibrary,
|
|
1096
|
-
|
|
1096
|
+
wt as createIkonUiRegistry,
|
|
1097
1097
|
Fe as isIkonUiCategoryMatch,
|
|
1098
1098
|
Ye as loadBaseModule,
|
|
1099
1099
|
yt as normalizeIkonUiModuleList,
|
|
@@ -1101,6 +1101,6 @@ export {
|
|
|
1101
1101
|
St as readIkonUiModules,
|
|
1102
1102
|
Ot as readIkonUiModulesFromSources,
|
|
1103
1103
|
We as registerBaseModule,
|
|
1104
|
-
|
|
1104
|
+
Ct as useIkonStyles,
|
|
1105
1105
|
je as useUiStore
|
|
1106
1106
|
};
|