@dxos/shell 0.4.8-main.c67d72c → 0.4.8-main.cd60bd2
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/dist/bundle/shell.mjs +129 -115
- package/dist/bundle/shell.mjs.map +1 -1
- package/dist/bundle/shell.umd.js +8 -8
- package/dist/bundle/shell.umd.js.map +1 -1
- package/dist/bundle/style.css +1 -1
- package/package.json +19 -19
package/dist/bundle/shell.mjs
CHANGED
|
@@ -482,15 +482,15 @@ function Gd() {
|
|
|
482
482
|
return e;
|
|
483
483
|
}, Gd.apply(this, arguments);
|
|
484
484
|
}
|
|
485
|
-
function
|
|
486
|
-
return
|
|
485
|
+
function fn() {
|
|
486
|
+
return fn = Object.assign ? Object.assign.bind() : function(e) {
|
|
487
487
|
for (var n = 1; n < arguments.length; n++) {
|
|
488
488
|
var t = arguments[n];
|
|
489
489
|
for (var i in t)
|
|
490
490
|
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
491
491
|
}
|
|
492
492
|
return e;
|
|
493
|
-
},
|
|
493
|
+
}, fn.apply(this, arguments);
|
|
494
494
|
}
|
|
495
495
|
function B2(e, n) {
|
|
496
496
|
typeof e == "function" ? e(n) : e != null && (e.current = n);
|
|
@@ -507,11 +507,11 @@ const Fn = /* @__PURE__ */ ie((e, n) => {
|
|
|
507
507
|
const { children: t, ...i } = e, r = kt.toArray(t), a = r.find(U2);
|
|
508
508
|
if (a) {
|
|
509
509
|
const o = a.props.children, s = r.map((f) => f === a ? kt.count(o) > 1 ? kt.only(null) : /* @__PURE__ */ Yi(o) ? o.props.children : null : f);
|
|
510
|
-
return /* @__PURE__ */ X(Kd,
|
|
510
|
+
return /* @__PURE__ */ X(Kd, fn({}, i, {
|
|
511
511
|
ref: n
|
|
512
512
|
}), /* @__PURE__ */ Yi(o) ? /* @__PURE__ */ Ut(o, void 0, s) : null);
|
|
513
513
|
}
|
|
514
|
-
return /* @__PURE__ */ X(Kd,
|
|
514
|
+
return /* @__PURE__ */ X(Kd, fn({}, i, {
|
|
515
515
|
ref: n
|
|
516
516
|
}), t);
|
|
517
517
|
});
|
|
@@ -3141,15 +3141,15 @@ function ut(e) {
|
|
|
3141
3141
|
}
|
|
3142
3142
|
const ni = globalThis != null && globalThis.document ? kr : () => {
|
|
3143
3143
|
};
|
|
3144
|
-
function
|
|
3145
|
-
return
|
|
3144
|
+
function en() {
|
|
3145
|
+
return en = Object.assign ? Object.assign.bind() : function(e) {
|
|
3146
3146
|
for (var n = 1; n < arguments.length; n++) {
|
|
3147
3147
|
var t = arguments[n];
|
|
3148
3148
|
for (var i in t)
|
|
3149
3149
|
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
3150
3150
|
}
|
|
3151
3151
|
return e;
|
|
3152
|
-
},
|
|
3152
|
+
}, en.apply(this, arguments);
|
|
3153
3153
|
}
|
|
3154
3154
|
function f3(e, n) {
|
|
3155
3155
|
typeof e == "function" ? e(n) : e != null && (e.current = n);
|
|
@@ -3166,11 +3166,11 @@ const Zc = /* @__PURE__ */ ie((e, n) => {
|
|
|
3166
3166
|
const { children: t, ...i } = e, r = kt.toArray(t), a = r.find(l3);
|
|
3167
3167
|
if (a) {
|
|
3168
3168
|
const o = a.props.children, s = r.map((f) => f === a ? kt.count(o) > 1 ? kt.only(null) : /* @__PURE__ */ Yi(o) ? o.props.children : null : f);
|
|
3169
|
-
return /* @__PURE__ */ X(Jd,
|
|
3169
|
+
return /* @__PURE__ */ X(Jd, en({}, i, {
|
|
3170
3170
|
ref: n
|
|
3171
3171
|
}), /* @__PURE__ */ Yi(o) ? /* @__PURE__ */ Ut(o, void 0, s) : null);
|
|
3172
3172
|
}
|
|
3173
|
-
return /* @__PURE__ */ X(Jd,
|
|
3173
|
+
return /* @__PURE__ */ X(Jd, en({}, i, {
|
|
3174
3174
|
ref: n
|
|
3175
3175
|
}), t);
|
|
3176
3176
|
});
|
|
@@ -3230,7 +3230,7 @@ const c3 = [
|
|
|
3230
3230
|
const { asChild: a, ...o } = i, s = a ? Zc : n;
|
|
3231
3231
|
return xe(() => {
|
|
3232
3232
|
window[Symbol.for("radix-ui")] = !0;
|
|
3233
|
-
}, []), /* @__PURE__ */ X(s,
|
|
3233
|
+
}, []), /* @__PURE__ */ X(s, en({}, o, {
|
|
3234
3234
|
ref: r
|
|
3235
3235
|
}));
|
|
3236
3236
|
});
|
|
@@ -3493,7 +3493,7 @@ const T3 = /* @__PURE__ */ Zn({
|
|
|
3493
3493
|
]), xe(() => {
|
|
3494
3494
|
const T = () => m({});
|
|
3495
3495
|
return document.addEventListener(Xd, T), () => document.removeEventListener(Xd, T);
|
|
3496
|
-
}, []), /* @__PURE__ */ X(En.div,
|
|
3496
|
+
}, []), /* @__PURE__ */ X(En.div, en({}, l, {
|
|
3497
3497
|
ref: g,
|
|
3498
3498
|
style: {
|
|
3499
3499
|
pointerEvents: S ? P ? "auto" : "none" : void 0,
|
|
@@ -3650,7 +3650,7 @@ const Jl = "focusScope.autoFocusOnMount", Xl = "focusScope.autoFocusOnUnmount",
|
|
|
3650
3650
|
i,
|
|
3651
3651
|
p.paused
|
|
3652
3652
|
]);
|
|
3653
|
-
return /* @__PURE__ */ X(En.div,
|
|
3653
|
+
return /* @__PURE__ */ X(En.div, en({
|
|
3654
3654
|
tabIndex: -1
|
|
3655
3655
|
}, o, {
|
|
3656
3656
|
ref: h,
|
|
@@ -3741,7 +3741,7 @@ function L3(e) {
|
|
|
3741
3741
|
const Dm = /* @__PURE__ */ ie((e, n) => {
|
|
3742
3742
|
var t;
|
|
3743
3743
|
const { container: i = globalThis == null || (t = globalThis.document) === null || t === void 0 ? void 0 : t.body, ...r } = e;
|
|
3744
|
-
return i ? /* @__PURE__ */ Kc.createPortal(/* @__PURE__ */ X(En.div,
|
|
3744
|
+
return i ? /* @__PURE__ */ Kc.createPortal(/* @__PURE__ */ X(En.div, en({}, r, {
|
|
3745
3745
|
ref: n
|
|
3746
3746
|
})), i) : null;
|
|
3747
3747
|
});
|
|
@@ -5333,7 +5333,7 @@ function E6(e) {
|
|
|
5333
5333
|
}
|
|
5334
5334
|
const S6 = /* @__PURE__ */ ie((e, n) => {
|
|
5335
5335
|
const { children: t, width: i = 10, height: r = 5, ...a } = e;
|
|
5336
|
-
return /* @__PURE__ */ X(rn.svg,
|
|
5336
|
+
return /* @__PURE__ */ X(rn.svg, en({}, a, {
|
|
5337
5337
|
ref: n,
|
|
5338
5338
|
width: i,
|
|
5339
5339
|
height: r,
|
|
@@ -5490,7 +5490,7 @@ const rd = "rovingFocusGroup.onEntryFocus", O6 = {
|
|
|
5490
5490
|
scope: e.__scopeRovingFocusGroup
|
|
5491
5491
|
}, /* @__PURE__ */ X(ic.Slot, {
|
|
5492
5492
|
scope: e.__scopeRovingFocusGroup
|
|
5493
|
-
}, /* @__PURE__ */ X(N6,
|
|
5493
|
+
}, /* @__PURE__ */ X(N6, en({}, e, {
|
|
5494
5494
|
ref: n
|
|
5495
5495
|
}))))), N6 = /* @__PURE__ */ ie((e, n) => {
|
|
5496
5496
|
const { __scopeRovingFocusGroup: t, orientation: i, loop: r = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: f, onEntryFocus: l, ...d } = e, u = ye(null), h = pt(n, u), p = lg(a), [m = null, g] = Tt({
|
|
@@ -5532,7 +5532,7 @@ const rd = "rovingFocusGroup.onEntryFocus", O6 = {
|
|
|
5532
5532
|
),
|
|
5533
5533
|
[]
|
|
5534
5534
|
)
|
|
5535
|
-
}, /* @__PURE__ */ X(rn.div,
|
|
5535
|
+
}, /* @__PURE__ */ X(rn.div, en({
|
|
5536
5536
|
tabIndex: y || P === 0 ? -1 : 0,
|
|
5537
5537
|
"data-orientation": i
|
|
5538
5538
|
}, d, {
|
|
@@ -5586,7 +5586,7 @@ const rd = "rovingFocusGroup.onEntryFocus", O6 = {
|
|
|
5586
5586
|
id: f,
|
|
5587
5587
|
focusable: i,
|
|
5588
5588
|
active: r
|
|
5589
|
-
}, /* @__PURE__ */ X(rn.span,
|
|
5589
|
+
}, /* @__PURE__ */ X(rn.span, en({
|
|
5590
5590
|
tabIndex: d ? 0 : -1,
|
|
5591
5591
|
"data-orientation": l.orientation
|
|
5592
5592
|
}, o, {
|
|
@@ -5709,7 +5709,7 @@ const G6 = /* @__PURE__ */ Zn({
|
|
|
5709
5709
|
]), xe(() => {
|
|
5710
5710
|
const T = () => m({});
|
|
5711
5711
|
return document.addEventListener(rc, T), () => document.removeEventListener(rc, T);
|
|
5712
|
-
}, []), /* @__PURE__ */ X(rn.div,
|
|
5712
|
+
}, []), /* @__PURE__ */ X(rn.div, en({}, l, {
|
|
5713
5713
|
ref: g,
|
|
5714
5714
|
style: {
|
|
5715
5715
|
pointerEvents: S ? P ? "auto" : "none" : void 0,
|
|
@@ -5878,7 +5878,7 @@ const ad = "focusScope.autoFocusOnMount", od = "focusScope.autoFocusOnUnmount",
|
|
|
5878
5878
|
i,
|
|
5879
5879
|
p.paused
|
|
5880
5880
|
]);
|
|
5881
|
-
return /* @__PURE__ */ X(rn.div,
|
|
5881
|
+
return /* @__PURE__ */ X(rn.div, en({
|
|
5882
5882
|
tabIndex: -1
|
|
5883
5883
|
}, o, {
|
|
5884
5884
|
ref: h,
|
|
@@ -6161,7 +6161,7 @@ function Mg(e) {
|
|
|
6161
6161
|
const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
6162
6162
|
var t;
|
|
6163
6163
|
const { container: i = globalThis == null || (t = globalThis.document) === null || t === void 0 ? void 0 : t.body, ...r } = e;
|
|
6164
|
-
return i ? /* @__PURE__ */ Kc.createPortal(/* @__PURE__ */ X(rn.div,
|
|
6164
|
+
return i ? /* @__PURE__ */ Kc.createPortal(/* @__PURE__ */ X(rn.div, en({}, r, {
|
|
6165
6165
|
ref: n
|
|
6166
6166
|
})), i) : null;
|
|
6167
6167
|
}), vx = [
|
|
@@ -6225,7 +6225,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6225
6225
|
}, i)));
|
|
6226
6226
|
}, kx = /* @__PURE__ */ ie((e, n) => {
|
|
6227
6227
|
const { __scopeMenu: t, ...i } = e, r = Vf(t);
|
|
6228
|
-
return /* @__PURE__ */ X(fu,
|
|
6228
|
+
return /* @__PURE__ */ X(fu, en({}, r, i, {
|
|
6229
6229
|
ref: n
|
|
6230
6230
|
}));
|
|
6231
6231
|
}), Wg = "MenuPortal", [xx, Ex] = Sr(Wg, {
|
|
@@ -6249,9 +6249,9 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6249
6249
|
present: i || a.open
|
|
6250
6250
|
}, /* @__PURE__ */ X(ac.Slot, {
|
|
6251
6251
|
scope: e.__scopeMenu
|
|
6252
|
-
}, o.modal ? /* @__PURE__ */ X(Ax,
|
|
6252
|
+
}, o.modal ? /* @__PURE__ */ X(Ax, en({}, r, {
|
|
6253
6253
|
ref: n
|
|
6254
|
-
})) : /* @__PURE__ */ X(Tx,
|
|
6254
|
+
})) : /* @__PURE__ */ X(Tx, en({}, r, {
|
|
6255
6255
|
ref: n
|
|
6256
6256
|
})))));
|
|
6257
6257
|
}), Ax = /* @__PURE__ */ ie((e, n) => {
|
|
@@ -6260,7 +6260,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6260
6260
|
const a = i.current;
|
|
6261
6261
|
if (a)
|
|
6262
6262
|
return nu(a);
|
|
6263
|
-
}, []), /* @__PURE__ */ X(Vg,
|
|
6263
|
+
}, []), /* @__PURE__ */ X(Vg, en({}, e, {
|
|
6264
6264
|
ref: r,
|
|
6265
6265
|
trapFocus: t.open,
|
|
6266
6266
|
disableOutsidePointerEvents: t.open,
|
|
@@ -6276,7 +6276,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6276
6276
|
}));
|
|
6277
6277
|
}), Tx = /* @__PURE__ */ ie((e, n) => {
|
|
6278
6278
|
const t = zo(Hi, e.__scopeMenu);
|
|
6279
|
-
return /* @__PURE__ */ X(Vg,
|
|
6279
|
+
return /* @__PURE__ */ X(Vg, en({}, e, {
|
|
6280
6280
|
ref: n,
|
|
6281
6281
|
trapFocus: !1,
|
|
6282
6282
|
disableOutsidePointerEvents: !1,
|
|
@@ -6351,7 +6351,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6351
6351
|
onFocusOutside: u,
|
|
6352
6352
|
onInteractOutside: h,
|
|
6353
6353
|
onDismiss: p
|
|
6354
|
-
}, /* @__PURE__ */ X(W6,
|
|
6354
|
+
}, /* @__PURE__ */ X(W6, en({
|
|
6355
6355
|
asChild: !0
|
|
6356
6356
|
}, E, {
|
|
6357
6357
|
dir: w.dir,
|
|
@@ -6362,7 +6362,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6362
6362
|
onEntryFocus: cn(f, (fe) => {
|
|
6363
6363
|
w.isUsingKeyboardRef.current || fe.preventDefault();
|
|
6364
6364
|
})
|
|
6365
|
-
}), /* @__PURE__ */ X(Dg,
|
|
6365
|
+
}), /* @__PURE__ */ X(Dg, en({
|
|
6366
6366
|
role: "menu",
|
|
6367
6367
|
"aria-orientation": "vertical",
|
|
6368
6368
|
"data-state": Ux(y.open),
|
|
@@ -6401,14 +6401,14 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6401
6401
|
})))))));
|
|
6402
6402
|
}), Ox = /* @__PURE__ */ ie((e, n) => {
|
|
6403
6403
|
const { __scopeMenu: t, ...i } = e;
|
|
6404
|
-
return /* @__PURE__ */ X(rn.div,
|
|
6404
|
+
return /* @__PURE__ */ X(rn.div, en({
|
|
6405
6405
|
role: "group"
|
|
6406
6406
|
}, i, {
|
|
6407
6407
|
ref: n
|
|
6408
6408
|
}));
|
|
6409
6409
|
}), Px = /* @__PURE__ */ ie((e, n) => {
|
|
6410
6410
|
const { __scopeMenu: t, ...i } = e;
|
|
6411
|
-
return /* @__PURE__ */ X(rn.div,
|
|
6411
|
+
return /* @__PURE__ */ X(rn.div, en({}, i, {
|
|
6412
6412
|
ref: n
|
|
6413
6413
|
}));
|
|
6414
6414
|
}), oc = "MenuItem", Ev = "menu.itemSelect", qg = /* @__PURE__ */ ie((e, n) => {
|
|
@@ -6428,7 +6428,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6428
6428
|
), Sm(u, h), h.defaultPrevented ? l.current = !1 : o.onClose();
|
|
6429
6429
|
}
|
|
6430
6430
|
};
|
|
6431
|
-
return /* @__PURE__ */ X(Ix,
|
|
6431
|
+
return /* @__PURE__ */ X(Ix, en({}, r, {
|
|
6432
6432
|
ref: f,
|
|
6433
6433
|
disabled: t,
|
|
6434
6434
|
onClick: cn(e.onClick, d),
|
|
@@ -6459,11 +6459,11 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6459
6459
|
scope: t,
|
|
6460
6460
|
disabled: i,
|
|
6461
6461
|
textValue: r ?? h
|
|
6462
|
-
}, /* @__PURE__ */ X(H6,
|
|
6462
|
+
}, /* @__PURE__ */ X(H6, en({
|
|
6463
6463
|
asChild: !0
|
|
6464
6464
|
}, s, {
|
|
6465
6465
|
focusable: !i
|
|
6466
|
-
}), /* @__PURE__ */ X(rn.div,
|
|
6466
|
+
}), /* @__PURE__ */ X(rn.div, en({
|
|
6467
6467
|
role: "menuitem",
|
|
6468
6468
|
"data-highlighted": d ? "" : void 0,
|
|
6469
6469
|
"aria-disabled": i || void 0,
|
|
@@ -6490,7 +6490,7 @@ const Ng = ix, fu = ax, Dg = fx, Lg = cx, Bg = /* @__PURE__ */ ie((e, n) => {
|
|
|
6490
6490
|
return /* @__PURE__ */ X(Mx, {
|
|
6491
6491
|
scope: e.__scopeMenu,
|
|
6492
6492
|
checked: t
|
|
6493
|
-
}, /* @__PURE__ */ X(qg,
|
|
6493
|
+
}, /* @__PURE__ */ X(qg, en({
|
|
6494
6494
|
role: "menuitemcheckbox",
|
|
6495
6495
|
"aria-checked": ff(t) ? "mixed" : t
|
|
6496
6496
|
}, r, {
|
|
@@ -6516,13 +6516,13 @@ const Gg = "MenuItemIndicator", [Mx, Nx] = Sr(Gg, {
|
|
|
6516
6516
|
const { __scopeMenu: t, forceMount: i, ...r } = e, a = Nx(Gg, t);
|
|
6517
6517
|
return /* @__PURE__ */ X(Pa, {
|
|
6518
6518
|
present: i || ff(a.checked) || a.checked === !0
|
|
6519
|
-
}, /* @__PURE__ */ X(rn.span,
|
|
6519
|
+
}, /* @__PURE__ */ X(rn.span, en({}, r, {
|
|
6520
6520
|
ref: n,
|
|
6521
6521
|
"data-state": Kg(a.checked)
|
|
6522
6522
|
})));
|
|
6523
6523
|
}), Lx = /* @__PURE__ */ ie((e, n) => {
|
|
6524
6524
|
const { __scopeMenu: t, ...i } = e;
|
|
6525
|
-
return /* @__PURE__ */ X(rn.div,
|
|
6525
|
+
return /* @__PURE__ */ X(rn.div, en({
|
|
6526
6526
|
role: "separator",
|
|
6527
6527
|
"aria-orientation": "horizontal"
|
|
6528
6528
|
}, i, {
|
|
@@ -6530,7 +6530,7 @@ const Gg = "MenuItemIndicator", [Mx, Nx] = Sr(Gg, {
|
|
|
6530
6530
|
}));
|
|
6531
6531
|
}), Bx = /* @__PURE__ */ ie((e, n) => {
|
|
6532
6532
|
const { __scopeMenu: t, ...i } = e, r = Vf(t);
|
|
6533
|
-
return /* @__PURE__ */ X(Lg,
|
|
6533
|
+
return /* @__PURE__ */ X(Lg, en({}, r, i, {
|
|
6534
6534
|
ref: n
|
|
6535
6535
|
}));
|
|
6536
6536
|
}), jx = "MenuSub";
|
|
@@ -6774,7 +6774,7 @@ const Zg = "Checkbox", [O5, mU] = er(Zg), [P5, I5] = O5(Zg), R5 = /* @__PURE__ *
|
|
|
6774
6774
|
scope: t,
|
|
6775
6775
|
state: y,
|
|
6776
6776
|
disabled: s
|
|
6777
|
-
}, /* @__PURE__ */ X(En.button,
|
|
6777
|
+
}, /* @__PURE__ */ X(En.button, fn({
|
|
6778
6778
|
type: "button",
|
|
6779
6779
|
role: "checkbox",
|
|
6780
6780
|
"aria-checked": pr(y) ? "mixed" : y,
|
|
@@ -6809,7 +6809,7 @@ const Zg = "Checkbox", [O5, mU] = er(Zg), [P5, I5] = O5(Zg), R5 = /* @__PURE__ *
|
|
|
6809
6809
|
const { __scopeCheckbox: t, forceMount: i, ...r } = e, a = I5(F5, t);
|
|
6810
6810
|
return /* @__PURE__ */ X(Pt, {
|
|
6811
6811
|
present: i || pr(a.state) || a.state === !0
|
|
6812
|
-
}, /* @__PURE__ */ X(En.span,
|
|
6812
|
+
}, /* @__PURE__ */ X(En.span, fn({
|
|
6813
6813
|
"data-state": Qg(a.state),
|
|
6814
6814
|
"data-disabled": a.disabled ? "" : void 0
|
|
6815
6815
|
}, r, {
|
|
@@ -6833,7 +6833,7 @@ const Zg = "Checkbox", [O5, mU] = er(Zg), [P5, I5] = O5(Zg), R5 = /* @__PURE__ *
|
|
|
6833
6833
|
o,
|
|
6834
6834
|
t,
|
|
6835
6835
|
i
|
|
6836
|
-
]), /* @__PURE__ */ X("input",
|
|
6836
|
+
]), /* @__PURE__ */ X("input", fn({
|
|
6837
6837
|
type: "checkbox",
|
|
6838
6838
|
"aria-hidden": !0,
|
|
6839
6839
|
defaultChecked: pr(t) ? !1 : t
|
|
@@ -12860,11 +12860,14 @@ var a7 = Symbol("logInfoProperties"), o7 = (e) => {
|
|
|
12860
12860
|
value: a + "$log"
|
|
12861
12861
|
});
|
|
12862
12862
|
}, d7 = (e) => e && typeof e.then == "function", c7 = (e) => {
|
|
12863
|
-
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
|
|
12863
|
+
let n;
|
|
12864
|
+
if (typeof localStorage > "u" ? globalThis.localStorage_dxlog && (n = globalThis.localStorage_dxlog) : n = localStorage.getItem("dxlog") ?? void 0, !!n)
|
|
12865
|
+
try {
|
|
12866
|
+
return JSON.parse(n);
|
|
12867
|
+
} catch (t) {
|
|
12868
|
+
console.info("can't parse dxlog config", t);
|
|
12869
|
+
return;
|
|
12870
|
+
}
|
|
12868
12871
|
}, V0 = () => {
|
|
12869
12872
|
}, u7 = (e, n) => {
|
|
12870
12873
|
console.log(jt(n, !1, null, !0));
|
|
@@ -13000,7 +13003,7 @@ var g7 = {
|
|
|
13000
13003
|
file: process.env.LOG_CONFIG,
|
|
13001
13004
|
filter: process.env.LOG_FILTER,
|
|
13002
13005
|
processor: process.env.LOG_PROCESSOR
|
|
13003
|
-
} : void 0, t = AS({},
|
|
13006
|
+
} : void 0, t = AS({}, c7(n == null ? void 0 : n.file), n, e);
|
|
13004
13007
|
return {
|
|
13005
13008
|
options: t,
|
|
13006
13009
|
filters: zv(t.filter ?? Rn.INFO),
|
|
@@ -13091,11 +13094,11 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
|
|
|
13091
13094
|
return xe(() => (o(), () => s()), [
|
|
13092
13095
|
o,
|
|
13093
13096
|
s
|
|
13094
|
-
]), /* @__PURE__ */ X(fu,
|
|
13097
|
+
]), /* @__PURE__ */ X(fu, fn({}, a, i, {
|
|
13095
13098
|
ref: n
|
|
13096
13099
|
}));
|
|
13097
13100
|
}), C7 = "PopoverTrigger", $7 = /* @__PURE__ */ ie((e, n) => {
|
|
13098
|
-
const { __scopePopover: t, ...i } = e, r = nr(C7, t), a = qo(t), o = pt(n, r.triggerRef), s = /* @__PURE__ */ X(rn.button,
|
|
13101
|
+
const { __scopePopover: t, ...i } = e, r = nr(C7, t), a = qo(t), o = pt(n, r.triggerRef), s = /* @__PURE__ */ X(rn.button, fn({
|
|
13099
13102
|
type: "button",
|
|
13100
13103
|
"aria-haspopup": "dialog",
|
|
13101
13104
|
"aria-expanded": r.open,
|
|
@@ -13105,7 +13108,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
|
|
|
13105
13108
|
ref: o,
|
|
13106
13109
|
onClick: cn(e.onClick, r.onOpenToggle)
|
|
13107
13110
|
}));
|
|
13108
|
-
return r.hasCustomAnchor ? s : /* @__PURE__ */ X(fu,
|
|
13111
|
+
return r.hasCustomAnchor ? s : /* @__PURE__ */ X(fu, fn({
|
|
13109
13112
|
asChild: !0
|
|
13110
13113
|
}, a), s);
|
|
13111
13114
|
}), J0 = "PopoverPortal", [A7, T7] = Y0(J0, {
|
|
@@ -13125,9 +13128,9 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
|
|
|
13125
13128
|
const t = T7(Po, e.__scopePopover), { forceMount: i = t.forceMount, ...r } = e, a = nr(Po, e.__scopePopover);
|
|
13126
13129
|
return /* @__PURE__ */ X(Pa, {
|
|
13127
13130
|
present: i || a.open
|
|
13128
|
-
}, a.modal ? /* @__PURE__ */ X(I7,
|
|
13131
|
+
}, a.modal ? /* @__PURE__ */ X(I7, fn({}, r, {
|
|
13129
13132
|
ref: n
|
|
13130
|
-
})) : /* @__PURE__ */ X(R7,
|
|
13133
|
+
})) : /* @__PURE__ */ X(R7, fn({}, r, {
|
|
13131
13134
|
ref: n
|
|
13132
13135
|
})));
|
|
13133
13136
|
}), I7 = /* @__PURE__ */ ie((e, n) => {
|
|
@@ -13139,7 +13142,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
|
|
|
13139
13142
|
}, []), /* @__PURE__ */ X(eu, {
|
|
13140
13143
|
as: Fn,
|
|
13141
13144
|
allowPinchZoom: !0
|
|
13142
|
-
}, /* @__PURE__ */ X(X0,
|
|
13145
|
+
}, /* @__PURE__ */ X(X0, fn({}, e, {
|
|
13143
13146
|
ref: r,
|
|
13144
13147
|
trapFocus: t.open,
|
|
13145
13148
|
disableOutsidePointerEvents: !0,
|
|
@@ -13163,7 +13166,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
|
|
|
13163
13166
|
})));
|
|
13164
13167
|
}), R7 = /* @__PURE__ */ ie((e, n) => {
|
|
13165
13168
|
const t = nr(Po, e.__scopePopover), i = ye(!1), r = ye(!1);
|
|
13166
|
-
return /* @__PURE__ */ X(X0,
|
|
13169
|
+
return /* @__PURE__ */ X(X0, fn({}, e, {
|
|
13167
13170
|
ref: n,
|
|
13168
13171
|
trapFocus: !1,
|
|
13169
13172
|
disableOutsidePointerEvents: !1,
|
|
@@ -13198,7 +13201,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
|
|
|
13198
13201
|
onPointerDownOutside: f,
|
|
13199
13202
|
onFocusOutside: l,
|
|
13200
13203
|
onDismiss: () => h.onOpenChange(!1)
|
|
13201
|
-
}, /* @__PURE__ */ X(Dg,
|
|
13204
|
+
}, /* @__PURE__ */ X(Dg, fn({
|
|
13202
13205
|
"data-state": Z0(h.open),
|
|
13203
13206
|
role: "dialog",
|
|
13204
13207
|
id: h.contentId
|
|
@@ -13215,7 +13218,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
|
|
|
13215
13218
|
}))));
|
|
13216
13219
|
}), F7 = "PopoverClose", M7 = /* @__PURE__ */ ie((e, n) => {
|
|
13217
13220
|
const { __scopePopover: t, ...i } = e, r = nr(F7, t);
|
|
13218
|
-
return /* @__PURE__ */ X(rn.button,
|
|
13221
|
+
return /* @__PURE__ */ X(rn.button, fn({
|
|
13219
13222
|
type: "button"
|
|
13220
13223
|
}, i, {
|
|
13221
13224
|
ref: n,
|
|
@@ -13226,7 +13229,7 @@ const K0 = "Popover", [Y0, xU] = Wt(K0, [
|
|
|
13226
13229
|
}));
|
|
13227
13230
|
}), N7 = /* @__PURE__ */ ie((e, n) => {
|
|
13228
13231
|
const { __scopePopover: t, ...i } = e, r = qo(t);
|
|
13229
|
-
return /* @__PURE__ */ X(Lg,
|
|
13232
|
+
return /* @__PURE__ */ X(Lg, fn({}, r, i, {
|
|
13230
13233
|
ref: n
|
|
13231
13234
|
}));
|
|
13232
13235
|
});
|
|
@@ -13268,7 +13271,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13268
13271
|
onScrollbarYEnabledChange: T,
|
|
13269
13272
|
onCornerWidthChange: k,
|
|
13270
13273
|
onCornerHeightChange: S
|
|
13271
|
-
}, /* @__PURE__ */ X(En.div,
|
|
13274
|
+
}, /* @__PURE__ */ X(En.div, fn({
|
|
13272
13275
|
dir: B
|
|
13273
13276
|
}, o, {
|
|
13274
13277
|
ref: F,
|
|
@@ -13286,7 +13289,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13286
13289
|
dangerouslySetInnerHTML: {
|
|
13287
13290
|
__html: "[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"
|
|
13288
13291
|
}
|
|
13289
|
-
}), /* @__PURE__ */ X(En.div,
|
|
13292
|
+
}), /* @__PURE__ */ X(En.div, fn({
|
|
13290
13293
|
"data-radix-scroll-area-viewport": ""
|
|
13291
13294
|
}, r, {
|
|
13292
13295
|
ref: s,
|
|
@@ -13321,16 +13324,16 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13321
13324
|
s,
|
|
13322
13325
|
a,
|
|
13323
13326
|
o
|
|
13324
|
-
]), r.type === "hover" ? /* @__PURE__ */ X(V7,
|
|
13327
|
+
]), r.type === "hover" ? /* @__PURE__ */ X(V7, fn({}, i, {
|
|
13325
13328
|
ref: n,
|
|
13326
13329
|
forceMount: t
|
|
13327
|
-
})) : r.type === "scroll" ? /* @__PURE__ */ X(q7,
|
|
13330
|
+
})) : r.type === "scroll" ? /* @__PURE__ */ X(q7, fn({}, i, {
|
|
13328
13331
|
ref: n,
|
|
13329
13332
|
forceMount: t
|
|
13330
|
-
})) : r.type === "auto" ? /* @__PURE__ */ X(nb,
|
|
13333
|
+
})) : r.type === "auto" ? /* @__PURE__ */ X(nb, fn({}, i, {
|
|
13331
13334
|
ref: n,
|
|
13332
13335
|
forceMount: t
|
|
13333
|
-
})) : r.type === "always" ? /* @__PURE__ */ X($u,
|
|
13336
|
+
})) : r.type === "always" ? /* @__PURE__ */ X($u, fn({}, i, {
|
|
13334
13337
|
ref: n
|
|
13335
13338
|
})) : null;
|
|
13336
13339
|
}), V7 = /* @__PURE__ */ ie((e, n) => {
|
|
@@ -13356,7 +13359,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13356
13359
|
r.scrollHideDelay
|
|
13357
13360
|
]), /* @__PURE__ */ X(Pt, {
|
|
13358
13361
|
present: t || a
|
|
13359
|
-
}, /* @__PURE__ */ X(nb,
|
|
13362
|
+
}, /* @__PURE__ */ X(nb, fn({
|
|
13360
13363
|
"data-state": a ? "visible" : "hidden"
|
|
13361
13364
|
}, i, {
|
|
13362
13365
|
ref: n
|
|
@@ -13412,7 +13415,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13412
13415
|
o
|
|
13413
13416
|
]), /* @__PURE__ */ X(Pt, {
|
|
13414
13417
|
present: t || s !== "hidden"
|
|
13415
|
-
}, /* @__PURE__ */ X($u,
|
|
13418
|
+
}, /* @__PURE__ */ X($u, fn({
|
|
13416
13419
|
"data-state": s === "hidden" ? "hidden" : "visible"
|
|
13417
13420
|
}, i, {
|
|
13418
13421
|
ref: n,
|
|
@@ -13434,7 +13437,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13434
13437
|
}, 10);
|
|
13435
13438
|
return wa(t.viewport, f), wa(t.content, f), /* @__PURE__ */ X(Pt, {
|
|
13436
13439
|
present: i || a
|
|
13437
|
-
}, /* @__PURE__ */ X($u,
|
|
13440
|
+
}, /* @__PURE__ */ X($u, fn({
|
|
13438
13441
|
"data-state": a ? "visible" : "hidden"
|
|
13439
13442
|
}, r, {
|
|
13440
13443
|
ref: n
|
|
@@ -13460,7 +13463,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13460
13463
|
function u(h, p) {
|
|
13461
13464
|
return eC(h, o.current, s, p);
|
|
13462
13465
|
}
|
|
13463
|
-
return t === "horizontal" ? /* @__PURE__ */ X(G7,
|
|
13466
|
+
return t === "horizontal" ? /* @__PURE__ */ X(G7, fn({}, d, {
|
|
13464
13467
|
ref: n,
|
|
13465
13468
|
onThumbPositionChange: () => {
|
|
13466
13469
|
if (r.viewport && a.current) {
|
|
@@ -13474,7 +13477,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13474
13477
|
onDragScroll: (h) => {
|
|
13475
13478
|
r.viewport && (r.viewport.scrollLeft = u(h, r.dir));
|
|
13476
13479
|
}
|
|
13477
|
-
})) : t === "vertical" ? /* @__PURE__ */ X(K7,
|
|
13480
|
+
})) : t === "vertical" ? /* @__PURE__ */ X(K7, fn({}, d, {
|
|
13478
13481
|
ref: n,
|
|
13479
13482
|
onThumbPositionChange: () => {
|
|
13480
13483
|
if (r.viewport && a.current) {
|
|
@@ -13495,7 +13498,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13495
13498
|
f.current && s(getComputedStyle(f.current));
|
|
13496
13499
|
}, [
|
|
13497
13500
|
f
|
|
13498
|
-
]), /* @__PURE__ */ X(ib,
|
|
13501
|
+
]), /* @__PURE__ */ X(ib, fn({
|
|
13499
13502
|
"data-orientation": "horizontal"
|
|
13500
13503
|
}, r, {
|
|
13501
13504
|
ref: l,
|
|
@@ -13533,7 +13536,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13533
13536
|
f.current && s(getComputedStyle(f.current));
|
|
13534
13537
|
}, [
|
|
13535
13538
|
f
|
|
13536
|
-
]), /* @__PURE__ */ X(ib,
|
|
13539
|
+
]), /* @__PURE__ */ X(ib, fn({
|
|
13537
13540
|
"data-orientation": "vertical"
|
|
13538
13541
|
}, r, {
|
|
13539
13542
|
ref: l,
|
|
@@ -13606,7 +13609,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13606
13609
|
onThumbPointerUp: ut(o),
|
|
13607
13610
|
onThumbPositionChange: I,
|
|
13608
13611
|
onThumbPointerDown: ut(s)
|
|
13609
|
-
}, /* @__PURE__ */ X(En.div,
|
|
13612
|
+
}, /* @__PURE__ */ X(En.div, fn({}, h, {
|
|
13610
13613
|
ref: y,
|
|
13611
13614
|
style: {
|
|
13612
13615
|
position: "absolute",
|
|
@@ -13625,7 +13628,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13625
13628
|
const { forceMount: t, ...i } = e, r = tb(hc, e.__scopeScrollArea);
|
|
13626
13629
|
return /* @__PURE__ */ X(Pt, {
|
|
13627
13630
|
present: t || r.hasThumb
|
|
13628
|
-
}, /* @__PURE__ */ X(X7,
|
|
13631
|
+
}, /* @__PURE__ */ X(X7, fn({
|
|
13629
13632
|
ref: n
|
|
13630
13633
|
}, i)));
|
|
13631
13634
|
}), X7 = /* @__PURE__ */ ie((e, n) => {
|
|
@@ -13650,7 +13653,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13650
13653
|
a.viewport,
|
|
13651
13654
|
d,
|
|
13652
13655
|
s
|
|
13653
|
-
]), /* @__PURE__ */ X(En.div,
|
|
13656
|
+
]), /* @__PURE__ */ X(En.div, fn({
|
|
13654
13657
|
"data-state": o.hasThumb ? "visible" : "hidden"
|
|
13655
13658
|
}, r, {
|
|
13656
13659
|
ref: f,
|
|
@@ -13670,7 +13673,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13670
13673
|
}));
|
|
13671
13674
|
}), rb = "ScrollAreaCorner", Z7 = /* @__PURE__ */ ie((e, n) => {
|
|
13672
13675
|
const t = It(rb, e.__scopeScrollArea), i = !!(t.scrollbarX && t.scrollbarY);
|
|
13673
|
-
return t.type !== "scroll" && i ? /* @__PURE__ */ X(Q7,
|
|
13676
|
+
return t.type !== "scroll" && i ? /* @__PURE__ */ X(Q7, fn({}, e, {
|
|
13674
13677
|
ref: n
|
|
13675
13678
|
})) : null;
|
|
13676
13679
|
}), Q7 = /* @__PURE__ */ ie((e, n) => {
|
|
@@ -13683,7 +13686,7 @@ const Q0 = "ScrollArea", [eb, EU] = er(Q0), [j7, It] = eb(Q0), U7 = /* @__PURE__
|
|
|
13683
13686
|
var d;
|
|
13684
13687
|
const u = ((d = r.scrollbarY) === null || d === void 0 ? void 0 : d.offsetWidth) || 0;
|
|
13685
13688
|
r.onCornerWidthChange(u), o(u);
|
|
13686
|
-
}), l ? /* @__PURE__ */ X(En.div,
|
|
13689
|
+
}), l ? /* @__PURE__ */ X(En.div, fn({}, i, {
|
|
13687
13690
|
ref: n,
|
|
13688
13691
|
style: {
|
|
13689
13692
|
width: a,
|
|
@@ -14331,7 +14334,7 @@ const CC = (e) => {
|
|
|
14331
14334
|
};
|
|
14332
14335
|
}, $C = /* @__PURE__ */ ie((e, n) => {
|
|
14333
14336
|
const { children: t, width: i = 10, height: r = 5, ...a } = e;
|
|
14334
|
-
return /* @__PURE__ */ X(En.svg,
|
|
14337
|
+
return /* @__PURE__ */ X(En.svg, en({}, a, {
|
|
14335
14338
|
ref: n,
|
|
14336
14339
|
width: i,
|
|
14337
14340
|
height: r,
|
|
@@ -14351,7 +14354,7 @@ const CC = (e) => {
|
|
|
14351
14354
|
const { __scopePopper: t, virtualRef: i, ...r } = e, a = yb(PC, t), o = ye(null), s = jn(n, o);
|
|
14352
14355
|
return xe(() => {
|
|
14353
14356
|
a.onAnchorChange((i == null ? void 0 : i.current) || o.current);
|
|
14354
|
-
}), i ? null : /* @__PURE__ */ X(En.div,
|
|
14357
|
+
}), i ? null : /* @__PURE__ */ X(En.div, en({}, r, {
|
|
14355
14358
|
ref: s
|
|
14356
14359
|
}));
|
|
14357
14360
|
}), gf = "PopperContent", [RC, FC] = Ou(gf), [MC, NC] = Ou(gf, {
|
|
@@ -14527,7 +14530,7 @@ const CC = (e) => {
|
|
|
14527
14530
|
}[a.placedSide],
|
|
14528
14531
|
visibility: a.shouldHideArrow ? "hidden" : void 0
|
|
14529
14532
|
}
|
|
14530
|
-
}, /* @__PURE__ */ X(AC,
|
|
14533
|
+
}, /* @__PURE__ */ X(AC, en({}, r, {
|
|
14531
14534
|
ref: t,
|
|
14532
14535
|
style: {
|
|
14533
14536
|
...r.style,
|
|
@@ -14575,7 +14578,7 @@ function wb(e) {
|
|
|
14575
14578
|
t
|
|
14576
14579
|
];
|
|
14577
14580
|
}
|
|
14578
|
-
const VC = OC, qC = IC, GC = DC, KC = jC, YC = /* @__PURE__ */ ie((e, n) => /* @__PURE__ */ X(En.span,
|
|
14581
|
+
const VC = OC, qC = IC, GC = DC, KC = jC, YC = /* @__PURE__ */ ie((e, n) => /* @__PURE__ */ X(En.span, en({}, e, {
|
|
14579
14582
|
ref: n,
|
|
14580
14583
|
style: {
|
|
14581
14584
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -22543,7 +22546,7 @@ var bI = (
|
|
|
22543
22546
|
};
|
|
22544
22547
|
FT(({ addUtilities: e, theme: n, e: t }) => {
|
|
22545
22548
|
const i = n("semanticColors"), r = Object.entries(i).map(([a, o]) => {
|
|
22546
|
-
var s, f, l, d, u, h;
|
|
22549
|
+
var s, f, l, d, u, h, p, m;
|
|
22547
22550
|
return {
|
|
22548
22551
|
// TODO(thure): Refactor all of these tokens to simply prefix the properties they apply with `s-` as with `s-accent`.
|
|
22549
22552
|
[`.fg-${t(`${a}`)}`]: {
|
|
@@ -22569,6 +22572,12 @@ FT(({ addUtilities: e, theme: n, e: t }) => {
|
|
|
22569
22572
|
},
|
|
22570
22573
|
[`.dark .separator-${t(`${a}`)}`]: {
|
|
22571
22574
|
borderColor: `${((h = o.fg) == null ? void 0 : h.dark) ?? o.dark}`
|
|
22575
|
+
},
|
|
22576
|
+
[`.s-outline-${t(`${a}`)}`]: {
|
|
22577
|
+
outlineColor: `${((p = o.fg) == null ? void 0 : p.light) ?? o.light}`
|
|
22578
|
+
},
|
|
22579
|
+
[`.dark .s-outline-${t(`${a}`)}`]: {
|
|
22580
|
+
outlineColor: `${((m = o.fg) == null ? void 0 : m.dark) ?? o.dark}`
|
|
22572
22581
|
}
|
|
22573
22582
|
};
|
|
22574
22583
|
});
|
|
@@ -67674,56 +67683,46 @@ function mN(e, n) {
|
|
|
67674
67683
|
}
|
|
67675
67684
|
var ep;
|
|
67676
67685
|
(function(e) {
|
|
67677
|
-
e[e.
|
|
67686
|
+
e[e.ACTIVE = 0] = "ACTIVE", e[e.INACTIVE = 1] = "INACTIVE";
|
|
67678
67687
|
})(ep || (ep = {}));
|
|
67679
67688
|
var np;
|
|
67680
|
-
(function(e) {
|
|
67681
|
-
(function(n) {
|
|
67682
|
-
n[n.INCLUSIVE = 1] = "INCLUSIVE", n[n.EXPLICIT = 2] = "EXPLICIT";
|
|
67683
|
-
})(e.MatchingOptions || (e.MatchingOptions = {}));
|
|
67684
|
-
})(np || (np = {}));
|
|
67685
|
-
var tp;
|
|
67686
|
-
(function(e) {
|
|
67687
|
-
e[e.ACTIVE = 0] = "ACTIVE", e[e.INACTIVE = 1] = "INACTIVE";
|
|
67688
|
-
})(tp || (tp = {}));
|
|
67689
|
-
var ip;
|
|
67690
67689
|
(function(e) {
|
|
67691
67690
|
(function(n) {
|
|
67692
67691
|
n[n.NONE = 0] = "NONE", n[n.TRUNCATE = 1] = "TRUNCATE", n[n.HUMANIZE = 2] = "HUMANIZE";
|
|
67693
67692
|
})(e.KEY_OPTION || (e.KEY_OPTION = {}));
|
|
67694
|
-
})(
|
|
67695
|
-
var
|
|
67693
|
+
})(np || (np = {}));
|
|
67694
|
+
var tp;
|
|
67696
67695
|
(function(e) {
|
|
67697
67696
|
(function(n) {
|
|
67698
67697
|
n[n.BROWSER = 0] = "BROWSER", n[n.SHARED_WORKER = 1] = "SHARED_WORKER", n[n.NODE = 2] = "NODE";
|
|
67699
67698
|
})(e.PLATFORM_TYPE || (e.PLATFORM_TYPE = {}));
|
|
67700
|
-
})(
|
|
67701
|
-
var
|
|
67699
|
+
})(tp || (tp = {}));
|
|
67700
|
+
var ip;
|
|
67702
67701
|
(function(e) {
|
|
67703
67702
|
e[e.CURRENT = 0] = "CURRENT", e[e.TRUSTED = 1] = "TRUSTED";
|
|
67704
|
-
})(
|
|
67705
|
-
var
|
|
67703
|
+
})(ip || (ip = {}));
|
|
67704
|
+
var rp;
|
|
67706
67705
|
(function(e) {
|
|
67707
67706
|
(function(n) {
|
|
67708
67707
|
n[n.OFFLINE = 0] = "OFFLINE", n[n.ONLINE = 1] = "ONLINE", n[n.REMOVED = 2] = "REMOVED";
|
|
67709
67708
|
})(e.PresenceState || (e.PresenceState = {}));
|
|
67710
|
-
})(
|
|
67711
|
-
var
|
|
67709
|
+
})(rp || (rp = {}));
|
|
67710
|
+
var ap;
|
|
67712
67711
|
(function(e) {
|
|
67713
67712
|
(function(n) {
|
|
67714
67713
|
n[n.OFFLINE = 0] = "OFFLINE", n[n.ONLINE = 1] = "ONLINE", n[n.REMOVED = 2] = "REMOVED";
|
|
67715
67714
|
})(e.PresenceState || (e.PresenceState = {}));
|
|
67716
|
-
})(
|
|
67717
|
-
var
|
|
67715
|
+
})(ap || (ap = {}));
|
|
67716
|
+
var op;
|
|
67718
67717
|
(function(e) {
|
|
67719
67718
|
e[e.INACTIVE = 2] = "INACTIVE", e[e.ACTIVE = 6] = "ACTIVE", e[e.CLOSED = 1] = "CLOSED", e[e.CONTROL_ONLY = 7] = "CONTROL_ONLY", e[e.INITIALIZING = 4] = "INITIALIZING", e[e.READY = 3] = "READY", e[e.ERROR = 5] = "ERROR";
|
|
67720
|
-
})(
|
|
67721
|
-
var
|
|
67719
|
+
})(op || (op = {}));
|
|
67720
|
+
var sp;
|
|
67722
67721
|
(function(e) {
|
|
67723
67722
|
(function(n) {
|
|
67724
67723
|
n[n.NONE = 0] = "NONE", n[n.INIT_AUTOMERGE = 1] = "INIT_AUTOMERGE", n[n.PRUNE_AUTOMERGE_ROOT_HISTORY = 2] = "PRUNE_AUTOMERGE_ROOT_HISTORY";
|
|
67725
67724
|
})(e.Migration || (e.Migration = {}));
|
|
67726
|
-
})(
|
|
67725
|
+
})(sp || (sp = {}));
|
|
67727
67726
|
var $e;
|
|
67728
67727
|
(function(e) {
|
|
67729
67728
|
(function(n) {
|
|
@@ -67736,17 +67735,27 @@ var $e;
|
|
|
67736
67735
|
n[n.INIT = 0] = "INIT", n[n.CONNECTING = 1] = "CONNECTING", n[n.CONNECTED = 2] = "CONNECTED", n[n.READY_FOR_AUTHENTICATION = 3] = "READY_FOR_AUTHENTICATION", n[n.AUTHENTICATING = 4] = "AUTHENTICATING", n[n.SUCCESS = 5] = "SUCCESS", n[n.CANCELLED = 6] = "CANCELLED", n[n.TIMEOUT = 7] = "TIMEOUT", n[n.ERROR = 8] = "ERROR", n[n.EXPIRED = 9] = "EXPIRED";
|
|
67737
67736
|
}(e.State || (e.State = {}));
|
|
67738
67737
|
})($e || ($e = {}));
|
|
67739
|
-
var
|
|
67738
|
+
var fp;
|
|
67740
67739
|
(function(e) {
|
|
67741
67740
|
(function(n) {
|
|
67742
67741
|
n[n.ADDED = 0] = "ADDED", n[n.REMOVED = 1] = "REMOVED", n[n.SAVED = 2] = "SAVED", n[n.LOAD_COMPLETE = 3] = "LOAD_COMPLETE";
|
|
67743
67742
|
})(e.Action || (e.Action = {})), function(n) {
|
|
67744
67743
|
n[n.CREATED = 0] = "CREATED", n[n.ACCEPTED = 1] = "ACCEPTED";
|
|
67745
67744
|
}(e.Type || (e.Type = {}));
|
|
67745
|
+
})(fp || (fp = {}));
|
|
67746
|
+
var lp;
|
|
67747
|
+
(function(e) {
|
|
67748
|
+
e[e.OFFLINE = 0] = "OFFLINE", e[e.ONLINE = 1] = "ONLINE";
|
|
67749
|
+
})(lp || (lp = {}));
|
|
67750
|
+
var dp;
|
|
67751
|
+
(function(e) {
|
|
67752
|
+
e[e.TRACE = 5] = "TRACE", e[e.DEBUG = 10] = "DEBUG", e[e.INFO = 11] = "INFO", e[e.WARN = 12] = "WARN", e[e.ERROR = 13] = "ERROR";
|
|
67746
67753
|
})(dp || (dp = {}));
|
|
67747
67754
|
var cp;
|
|
67748
67755
|
(function(e) {
|
|
67749
|
-
|
|
67756
|
+
(function(n) {
|
|
67757
|
+
n[n.INCLUSIVE = 1] = "INCLUSIVE", n[n.EXPLICIT = 2] = "EXPLICIT";
|
|
67758
|
+
})(e.MatchingOptions || (e.MatchingOptions = {}));
|
|
67750
67759
|
})(cp || (cp = {}));
|
|
67751
67760
|
var gN = class extends Error {
|
|
67752
67761
|
constructor() {
|
|
@@ -67821,22 +67830,27 @@ var Cd = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y
|
|
|
67821
67830
|
if (this._disposePromise)
|
|
67822
67831
|
return this._disposePromise;
|
|
67823
67832
|
this._isDisposed = !0;
|
|
67824
|
-
|
|
67825
|
-
|
|
67826
|
-
n
|
|
67833
|
+
let n;
|
|
67834
|
+
this._disposePromise = new Promise((r) => {
|
|
67835
|
+
n = r;
|
|
67836
|
+
});
|
|
67837
|
+
const t = [], i = Array.from(this._disposeCallbacks).reverse();
|
|
67838
|
+
for (const r of i)
|
|
67839
|
+
t.push((async () => {
|
|
67827
67840
|
try {
|
|
67828
|
-
await
|
|
67829
|
-
} catch (
|
|
67830
|
-
Ye.catch(
|
|
67841
|
+
await r();
|
|
67842
|
+
} catch (a) {
|
|
67843
|
+
Ye.catch(a, void 0, {
|
|
67831
67844
|
F: Cd,
|
|
67832
|
-
L:
|
|
67845
|
+
L: 132,
|
|
67833
67846
|
S: this,
|
|
67834
|
-
C: (
|
|
67847
|
+
C: (o, s) => o(...s)
|
|
67835
67848
|
});
|
|
67836
67849
|
}
|
|
67837
67850
|
})());
|
|
67838
|
-
return this._disposeCallbacks.length = 0,
|
|
67839
|
-
|
|
67851
|
+
return this._disposeCallbacks.length = 0, Promise.all(t).then(() => {
|
|
67852
|
+
n();
|
|
67853
|
+
}), this._disposePromise;
|
|
67840
67854
|
}
|
|
67841
67855
|
/**
|
|
67842
67856
|
* Raise the error inside the context.
|