@stackable-labs/embeddables 1.8.0 → 1.9.1
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/react.js +111 -109
- package/dist/stackable-widget.external.js +2 -2
- package/dist/stackable-widget.js +2 -2
- package/package.json +1 -1
package/dist/react.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as T, jsx as c, Fragment as he } from "react/jsx-runtime";
|
|
2
2
|
import * as p from "react";
|
|
3
|
-
import G, { createContext as Qo, useState as U, useRef as ae, useEffect as B, useContext as er, useMemo as Mt, useCallback as _e, createElement as
|
|
3
|
+
import G, { createContext as Qo, useState as U, useRef as ae, useEffect as B, useContext as er, useMemo as Mt, useCallback as _e, createElement as Ie, forwardRef as Lt } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
const tr = () => {
|
|
6
6
|
try {
|
|
7
|
-
return "
|
|
7
|
+
return "3e956652-ca94-4368-837d-3c836f1b68d1";
|
|
8
8
|
} catch {
|
|
9
9
|
return "dev";
|
|
10
10
|
}
|
|
@@ -196,7 +196,7 @@ const tr = () => {
|
|
|
196
196
|
[a.map((h) => h.id).join(","), e]
|
|
197
197
|
), g = _e(
|
|
198
198
|
(h, y, _ = 0) => {
|
|
199
|
-
var E,
|
|
199
|
+
var E, I, b;
|
|
200
200
|
if (h.type === "text")
|
|
201
201
|
return h.text || null;
|
|
202
202
|
if (!h.tag) return null;
|
|
@@ -206,7 +206,7 @@ const tr = () => {
|
|
|
206
206
|
return console.warn(`[ExtensionHost] Unknown UI tag rejected: <${h.tag}>`), null;
|
|
207
207
|
const C = i[h.tag];
|
|
208
208
|
if (!C)
|
|
209
|
-
return h.tag.startsWith("ui-") ? (console.warn(`[ExtensionSlot] Unregistered UI tag: <${h.tag}>`), null) : /* @__PURE__ */ c(G.Fragment, { children: (
|
|
209
|
+
return h.tag.startsWith("ui-") ? (console.warn(`[ExtensionSlot] Unregistered UI tag: <${h.tag}>`), null) : /* @__PURE__ */ c(G.Fragment, { children: (I = h.children) == null ? void 0 : I.map((S, M) => g(S, y, M)) }, _);
|
|
210
210
|
const A = { ...h.attrs };
|
|
211
211
|
if (h.actionId) {
|
|
212
212
|
const S = h.actionId;
|
|
@@ -229,7 +229,7 @@ const tr = () => {
|
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
231
|
const P = (b = h.children) == null ? void 0 : b.map((S, M) => g(S, y, M));
|
|
232
|
-
return /* @__PURE__ */
|
|
232
|
+
return /* @__PURE__ */ Ie(C, { ...A, key: _ }, P && P.length > 0 ? P : void 0);
|
|
233
233
|
},
|
|
234
234
|
[e, i]
|
|
235
235
|
);
|
|
@@ -243,21 +243,21 @@ const tr = () => {
|
|
|
243
243
|
return E && _.source === E.iframe.contentWindow;
|
|
244
244
|
}))) {
|
|
245
245
|
if (C.type === "surface-update" && C.surfaceId === e) {
|
|
246
|
-
const P = m.find((
|
|
247
|
-
const b = le(
|
|
246
|
+
const P = m.find((I) => {
|
|
247
|
+
const b = le(I.id);
|
|
248
248
|
return b && _.source === b.iframe.contentWindow;
|
|
249
249
|
});
|
|
250
250
|
if (!P) return;
|
|
251
251
|
const E = g(C.tree, _.source ?? null);
|
|
252
|
-
d((
|
|
253
|
-
...
|
|
252
|
+
d((I) => ({
|
|
253
|
+
...I,
|
|
254
254
|
[P.id]: E
|
|
255
255
|
}));
|
|
256
256
|
}
|
|
257
257
|
C.type === "surface-ready" && C.surfaceId === e && t && m.forEach((P) => {
|
|
258
|
-
var
|
|
258
|
+
var I;
|
|
259
259
|
const E = le(P.id);
|
|
260
|
-
(
|
|
260
|
+
(I = E == null ? void 0 : E.iframe.contentWindow) == null || I.postMessage(
|
|
261
261
|
{ type: "context-update", surfaceId: e, context: t },
|
|
262
262
|
"*"
|
|
263
263
|
);
|
|
@@ -412,7 +412,7 @@ const gr = Lt(
|
|
|
412
412
|
children: s,
|
|
413
413
|
iconNode: a,
|
|
414
414
|
...i
|
|
415
|
-
}, l) =>
|
|
415
|
+
}, l) => Ie(
|
|
416
416
|
"svg",
|
|
417
417
|
{
|
|
418
418
|
ref: l,
|
|
@@ -426,7 +426,7 @@ const gr = Lt(
|
|
|
426
426
|
...i
|
|
427
427
|
},
|
|
428
428
|
[
|
|
429
|
-
...a.map(([u, d]) =>
|
|
429
|
+
...a.map(([u, d]) => Ie(u, d)),
|
|
430
430
|
...Array.isArray(s) ? s : [s]
|
|
431
431
|
]
|
|
432
432
|
)
|
|
@@ -439,7 +439,7 @@ const gr = Lt(
|
|
|
439
439
|
*/
|
|
440
440
|
const L = (e, t) => {
|
|
441
441
|
const o = Lt(
|
|
442
|
-
({ className: r, ...n }, s) =>
|
|
442
|
+
({ className: r, ...n }, s) => Ie(gr, {
|
|
443
443
|
ref: s,
|
|
444
444
|
iconNode: t,
|
|
445
445
|
className: Ft(
|
|
@@ -530,17 +530,17 @@ const _r = [
|
|
|
530
530
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
531
531
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
532
532
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
533
|
-
],
|
|
533
|
+
], Ir = L("circle-alert", _r);
|
|
534
534
|
/**
|
|
535
535
|
* @license lucide-react v0.575.0 - ISC
|
|
536
536
|
*
|
|
537
537
|
* This source code is licensed under the ISC license.
|
|
538
538
|
* See the LICENSE file in the root directory of this source tree.
|
|
539
539
|
*/
|
|
540
|
-
const
|
|
540
|
+
const Rr = [
|
|
541
541
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
542
542
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
543
|
-
], Pr = L("circle-check",
|
|
543
|
+
], Pr = L("circle-check", Rr);
|
|
544
544
|
/**
|
|
545
545
|
* @license lucide-react v0.575.0 - ISC
|
|
546
546
|
*
|
|
@@ -802,7 +802,7 @@ const un = (e, t) => {
|
|
|
802
802
|
nextPart: e,
|
|
803
803
|
validators: t,
|
|
804
804
|
classGroupId: o
|
|
805
|
-
}),
|
|
805
|
+
}), Re = "-", ht = [], mn = "arbitrary..", pn = (e) => {
|
|
806
806
|
const t = gn(e), {
|
|
807
807
|
conflictingClassGroups: o,
|
|
808
808
|
conflictingClassGroupModifiers: r
|
|
@@ -811,7 +811,7 @@ const un = (e, t) => {
|
|
|
811
811
|
getClassGroupId: (a) => {
|
|
812
812
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
813
813
|
return hn(a);
|
|
814
|
-
const i = a.split(
|
|
814
|
+
const i = a.split(Re), l = i[0] === "" && i.length > 1 ? 1 : 0;
|
|
815
815
|
return Gt(i, l, t);
|
|
816
816
|
},
|
|
817
817
|
getConflictingClassGroupIds: (a, i) => {
|
|
@@ -833,7 +833,7 @@ const un = (e, t) => {
|
|
|
833
833
|
const a = o.validators;
|
|
834
834
|
if (a === null)
|
|
835
835
|
return;
|
|
836
|
-
const i = t === 0 ? e.join(
|
|
836
|
+
const i = t === 0 ? e.join(Re) : e.slice(t).join(Re), l = a.length;
|
|
837
837
|
for (let u = 0; u < l; u++) {
|
|
838
838
|
const d = a[u];
|
|
839
839
|
if (d.validator(i))
|
|
@@ -888,7 +888,7 @@ const un = (e, t) => {
|
|
|
888
888
|
}
|
|
889
889
|
}, qt = (e, t) => {
|
|
890
890
|
let o = e;
|
|
891
|
-
const r = t.split(
|
|
891
|
+
const r = t.split(Re), n = r.length;
|
|
892
892
|
for (let s = 0; s < n; s++) {
|
|
893
893
|
const a = r[s];
|
|
894
894
|
let i = o.nextPart.get(a);
|
|
@@ -990,7 +990,7 @@ const un = (e, t) => {
|
|
|
990
990
|
parseClassName: En(e),
|
|
991
991
|
sortModifiers: Nn(e),
|
|
992
992
|
...pn(e)
|
|
993
|
-
}), _n = /\s+/,
|
|
993
|
+
}), _n = /\s+/, In = (e, t) => {
|
|
994
994
|
const {
|
|
995
995
|
parseClassName: o,
|
|
996
996
|
getClassGroupId: r,
|
|
@@ -1028,13 +1028,13 @@ const un = (e, t) => {
|
|
|
1028
1028
|
a.push(A);
|
|
1029
1029
|
const P = n(y, h);
|
|
1030
1030
|
for (let E = 0; E < P.length; ++E) {
|
|
1031
|
-
const
|
|
1032
|
-
a.push(C +
|
|
1031
|
+
const I = P[E];
|
|
1032
|
+
a.push(C + I);
|
|
1033
1033
|
}
|
|
1034
1034
|
l = d + (l.length > 0 ? " " + l : l);
|
|
1035
1035
|
}
|
|
1036
1036
|
return l;
|
|
1037
|
-
},
|
|
1037
|
+
}, Rn = (...e) => {
|
|
1038
1038
|
let t = 0, o, r, n = "";
|
|
1039
1039
|
for (; t < e.length; )
|
|
1040
1040
|
(o = e[t++]) && (r = Yt(o)) && (n && (n += " "), n += r);
|
|
@@ -1055,19 +1055,19 @@ const un = (e, t) => {
|
|
|
1055
1055
|
const u = r(l);
|
|
1056
1056
|
if (u)
|
|
1057
1057
|
return u;
|
|
1058
|
-
const d =
|
|
1058
|
+
const d = In(l, o);
|
|
1059
1059
|
return n(l, d), d;
|
|
1060
1060
|
};
|
|
1061
|
-
return s = a, (...l) => s(
|
|
1061
|
+
return s = a, (...l) => s(Rn(...l));
|
|
1062
1062
|
}, Tn = [], F = (e) => {
|
|
1063
1063
|
const t = (o) => o[e] || Tn;
|
|
1064
1064
|
return t.isThemeGetter = !0, t;
|
|
1065
|
-
}, Xt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Kt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, zn = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Mn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ln = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, On = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, $n = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => zn.test(e),
|
|
1065
|
+
}, Xt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Kt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, zn = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Mn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ln = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, On = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, $n = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => zn.test(e), R = (e) => !!e && !Number.isNaN(Number(e)), te = (e) => !!e && Number.isInteger(Number(e)), He = (e) => e.endsWith("%") && R(e.slice(0, -1)), Z = (e) => Mn.test(e), Zt = () => !0, Dn = (e) => (
|
|
1066
1066
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1067
1067
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1068
1068
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1069
1069
|
Ln.test(e) && !On.test(e)
|
|
1070
|
-
), tt = () => !1, Un = (e) => $n.test(e), Wn = (e) => Fn.test(e), Hn = (e) => !v(e) && !w(e), jn = (e) => re(e, eo, tt), v = (e) => Xt.test(e), se = (e) => re(e, to, Dn), vt = (e) => re(e, Zn,
|
|
1070
|
+
), tt = () => !1, Un = (e) => $n.test(e), Wn = (e) => Fn.test(e), Hn = (e) => !v(e) && !w(e), jn = (e) => re(e, eo, tt), v = (e) => Xt.test(e), se = (e) => re(e, to, Dn), vt = (e) => re(e, Zn, R), Vn = (e) => re(e, ro, Zt), Bn = (e) => re(e, oo, tt), xt = (e) => re(e, Jt, tt), Gn = (e) => re(e, Qt, Wn), Ee = (e) => re(e, no, Un), w = (e) => Kt.test(e), fe = (e) => ie(e, to), qn = (e) => ie(e, oo), wt = (e) => ie(e, Jt), Yn = (e) => ie(e, eo), Xn = (e) => ie(e, Qt), Ne = (e) => ie(e, no, !0), Kn = (e) => ie(e, ro, !0), re = (e, t, o) => {
|
|
1071
1071
|
const r = Xt.exec(e);
|
|
1072
1072
|
return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
|
|
1073
1073
|
}, ie = (e, t, o = !1) => {
|
|
@@ -1092,7 +1092,7 @@ const un = (e, t) => {
|
|
|
1092
1092
|
"bottom-left",
|
|
1093
1093
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1094
1094
|
"left-bottom"
|
|
1095
|
-
], P = () => [...A(), w, v], E = () => ["auto", "hidden", "clip", "visible", "scroll"],
|
|
1095
|
+
], P = () => [...A(), w, v], E = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", "contain", "none"], b = () => [w, v, l], S = () => [ee, "full", "auto", ...b()], M = () => [te, "none", "subgrid", w, v], O = () => ["auto", {
|
|
1096
1096
|
span: ["full", te, w, v]
|
|
1097
1097
|
}, te, w, v], K = () => [te, "auto", w, v], ve = () => ["auto", "min", "max", "fr", w, v], xe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...b()], ne = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], $e = () => [ee, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...b()], Fe = () => [ee, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...b()], N = () => [e, w, v], ct = () => [...A(), wt, xt, {
|
|
1098
1098
|
position: [w, v]
|
|
@@ -1108,14 +1108,14 @@ const un = (e, t) => {
|
|
|
1108
1108
|
u,
|
|
1109
1109
|
w,
|
|
1110
1110
|
v
|
|
1111
|
-
], j = () => ["",
|
|
1111
|
+
], j = () => ["", R, fe, se], we = () => ["solid", "dashed", "dotted", "double"], ft = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => [R, He, wt, xt], mt = () => [
|
|
1112
1112
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1113
1113
|
"",
|
|
1114
1114
|
"none",
|
|
1115
1115
|
k,
|
|
1116
1116
|
w,
|
|
1117
1117
|
v
|
|
1118
|
-
], ye = () => ["none",
|
|
1118
|
+
], ye = () => ["none", R, w, v], ke = () => ["none", R, w, v], Ue = () => [R, w, v], Se = () => [ee, "full", ...b()];
|
|
1119
1119
|
return {
|
|
1120
1120
|
cacheSize: 500,
|
|
1121
1121
|
theme: {
|
|
@@ -1134,7 +1134,7 @@ const un = (e, t) => {
|
|
|
1134
1134
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
1135
1135
|
radius: [Z],
|
|
1136
1136
|
shadow: [Z],
|
|
1137
|
-
spacing: ["px",
|
|
1137
|
+
spacing: ["px", R],
|
|
1138
1138
|
text: [Z],
|
|
1139
1139
|
"text-shadow": [Z],
|
|
1140
1140
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -1161,7 +1161,7 @@ const un = (e, t) => {
|
|
|
1161
1161
|
* @see https://tailwindcss.com/docs/columns
|
|
1162
1162
|
*/
|
|
1163
1163
|
columns: [{
|
|
1164
|
-
columns: [
|
|
1164
|
+
columns: [R, v, w, i]
|
|
1165
1165
|
}],
|
|
1166
1166
|
/**
|
|
1167
1167
|
* Break After
|
|
@@ -1267,21 +1267,21 @@ const un = (e, t) => {
|
|
|
1267
1267
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1268
1268
|
*/
|
|
1269
1269
|
overscroll: [{
|
|
1270
|
-
overscroll:
|
|
1270
|
+
overscroll: I()
|
|
1271
1271
|
}],
|
|
1272
1272
|
/**
|
|
1273
1273
|
* Overscroll Behavior X
|
|
1274
1274
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1275
1275
|
*/
|
|
1276
1276
|
"overscroll-x": [{
|
|
1277
|
-
"overscroll-x":
|
|
1277
|
+
"overscroll-x": I()
|
|
1278
1278
|
}],
|
|
1279
1279
|
/**
|
|
1280
1280
|
* Overscroll Behavior Y
|
|
1281
1281
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1282
1282
|
*/
|
|
1283
1283
|
"overscroll-y": [{
|
|
1284
|
-
"overscroll-y":
|
|
1284
|
+
"overscroll-y": I()
|
|
1285
1285
|
}],
|
|
1286
1286
|
/**
|
|
1287
1287
|
* Position
|
|
@@ -1418,21 +1418,21 @@ const un = (e, t) => {
|
|
|
1418
1418
|
* @see https://tailwindcss.com/docs/flex
|
|
1419
1419
|
*/
|
|
1420
1420
|
flex: [{
|
|
1421
|
-
flex: [
|
|
1421
|
+
flex: [R, ee, "auto", "initial", "none", v]
|
|
1422
1422
|
}],
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Flex Grow
|
|
1425
1425
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1426
1426
|
*/
|
|
1427
1427
|
grow: [{
|
|
1428
|
-
grow: ["",
|
|
1428
|
+
grow: ["", R, w, v]
|
|
1429
1429
|
}],
|
|
1430
1430
|
/**
|
|
1431
1431
|
* Flex Shrink
|
|
1432
1432
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1433
1433
|
*/
|
|
1434
1434
|
shrink: [{
|
|
1435
|
-
shrink: ["",
|
|
1435
|
+
shrink: ["", R, w, v]
|
|
1436
1436
|
}],
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Order
|
|
@@ -1986,7 +1986,7 @@ const un = (e, t) => {
|
|
|
1986
1986
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1987
1987
|
*/
|
|
1988
1988
|
"line-clamp": [{
|
|
1989
|
-
"line-clamp": [
|
|
1989
|
+
"line-clamp": [R, "none", w, vt]
|
|
1990
1990
|
}],
|
|
1991
1991
|
/**
|
|
1992
1992
|
* Line Height
|
|
@@ -2059,7 +2059,7 @@ const un = (e, t) => {
|
|
|
2059
2059
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2060
2060
|
*/
|
|
2061
2061
|
"text-decoration-thickness": [{
|
|
2062
|
-
decoration: [
|
|
2062
|
+
decoration: [R, "from-font", "auto", w, se]
|
|
2063
2063
|
}],
|
|
2064
2064
|
/**
|
|
2065
2065
|
* Text Decoration Color
|
|
@@ -2073,7 +2073,7 @@ const un = (e, t) => {
|
|
|
2073
2073
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2074
2074
|
*/
|
|
2075
2075
|
"underline-offset": [{
|
|
2076
|
-
"underline-offset": [
|
|
2076
|
+
"underline-offset": [R, "auto", w, v]
|
|
2077
2077
|
}],
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Text Transform
|
|
@@ -2567,14 +2567,14 @@ const un = (e, t) => {
|
|
|
2567
2567
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2568
2568
|
*/
|
|
2569
2569
|
"outline-offset": [{
|
|
2570
|
-
"outline-offset": [
|
|
2570
|
+
"outline-offset": [R, w, v]
|
|
2571
2571
|
}],
|
|
2572
2572
|
/**
|
|
2573
2573
|
* Outline Width
|
|
2574
2574
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2575
2575
|
*/
|
|
2576
2576
|
"outline-w": [{
|
|
2577
|
-
outline: ["",
|
|
2577
|
+
outline: ["", R, fe, se]
|
|
2578
2578
|
}],
|
|
2579
2579
|
/**
|
|
2580
2580
|
* Outline Color
|
|
@@ -2649,7 +2649,7 @@ const un = (e, t) => {
|
|
|
2649
2649
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2650
2650
|
*/
|
|
2651
2651
|
"ring-offset-w": [{
|
|
2652
|
-
"ring-offset": [
|
|
2652
|
+
"ring-offset": [R, se]
|
|
2653
2653
|
}],
|
|
2654
2654
|
/**
|
|
2655
2655
|
* Ring Offset Color
|
|
@@ -2693,7 +2693,7 @@ const un = (e, t) => {
|
|
|
2693
2693
|
* @see https://tailwindcss.com/docs/opacity
|
|
2694
2694
|
*/
|
|
2695
2695
|
opacity: [{
|
|
2696
|
-
opacity: [
|
|
2696
|
+
opacity: [R, w, v]
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Mix Blend Mode
|
|
@@ -2728,7 +2728,7 @@ const un = (e, t) => {
|
|
|
2728
2728
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2729
2729
|
*/
|
|
2730
2730
|
"mask-image-linear-pos": [{
|
|
2731
|
-
"mask-linear": [
|
|
2731
|
+
"mask-linear": [R]
|
|
2732
2732
|
}],
|
|
2733
2733
|
"mask-image-linear-from-pos": [{
|
|
2734
2734
|
"mask-linear-from": D()
|
|
@@ -2842,7 +2842,7 @@ const un = (e, t) => {
|
|
|
2842
2842
|
"mask-radial-at": A()
|
|
2843
2843
|
}],
|
|
2844
2844
|
"mask-image-conic-pos": [{
|
|
2845
|
-
"mask-conic": [
|
|
2845
|
+
"mask-conic": [R]
|
|
2846
2846
|
}],
|
|
2847
2847
|
"mask-image-conic-from-pos": [{
|
|
2848
2848
|
"mask-conic-from": D()
|
|
@@ -2933,14 +2933,14 @@ const un = (e, t) => {
|
|
|
2933
2933
|
* @see https://tailwindcss.com/docs/brightness
|
|
2934
2934
|
*/
|
|
2935
2935
|
brightness: [{
|
|
2936
|
-
brightness: [
|
|
2936
|
+
brightness: [R, w, v]
|
|
2937
2937
|
}],
|
|
2938
2938
|
/**
|
|
2939
2939
|
* Contrast
|
|
2940
2940
|
* @see https://tailwindcss.com/docs/contrast
|
|
2941
2941
|
*/
|
|
2942
2942
|
contrast: [{
|
|
2943
|
-
contrast: [
|
|
2943
|
+
contrast: [R, w, v]
|
|
2944
2944
|
}],
|
|
2945
2945
|
/**
|
|
2946
2946
|
* Drop Shadow
|
|
@@ -2968,35 +2968,35 @@ const un = (e, t) => {
|
|
|
2968
2968
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2969
2969
|
*/
|
|
2970
2970
|
grayscale: [{
|
|
2971
|
-
grayscale: ["",
|
|
2971
|
+
grayscale: ["", R, w, v]
|
|
2972
2972
|
}],
|
|
2973
2973
|
/**
|
|
2974
2974
|
* Hue Rotate
|
|
2975
2975
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2976
2976
|
*/
|
|
2977
2977
|
"hue-rotate": [{
|
|
2978
|
-
"hue-rotate": [
|
|
2978
|
+
"hue-rotate": [R, w, v]
|
|
2979
2979
|
}],
|
|
2980
2980
|
/**
|
|
2981
2981
|
* Invert
|
|
2982
2982
|
* @see https://tailwindcss.com/docs/invert
|
|
2983
2983
|
*/
|
|
2984
2984
|
invert: [{
|
|
2985
|
-
invert: ["",
|
|
2985
|
+
invert: ["", R, w, v]
|
|
2986
2986
|
}],
|
|
2987
2987
|
/**
|
|
2988
2988
|
* Saturate
|
|
2989
2989
|
* @see https://tailwindcss.com/docs/saturate
|
|
2990
2990
|
*/
|
|
2991
2991
|
saturate: [{
|
|
2992
|
-
saturate: [
|
|
2992
|
+
saturate: [R, w, v]
|
|
2993
2993
|
}],
|
|
2994
2994
|
/**
|
|
2995
2995
|
* Sepia
|
|
2996
2996
|
* @see https://tailwindcss.com/docs/sepia
|
|
2997
2997
|
*/
|
|
2998
2998
|
sepia: [{
|
|
2999
|
-
sepia: ["",
|
|
2999
|
+
sepia: ["", R, w, v]
|
|
3000
3000
|
}],
|
|
3001
3001
|
/**
|
|
3002
3002
|
* Backdrop Filter
|
|
@@ -3023,56 +3023,56 @@ const un = (e, t) => {
|
|
|
3023
3023
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3024
3024
|
*/
|
|
3025
3025
|
"backdrop-brightness": [{
|
|
3026
|
-
"backdrop-brightness": [
|
|
3026
|
+
"backdrop-brightness": [R, w, v]
|
|
3027
3027
|
}],
|
|
3028
3028
|
/**
|
|
3029
3029
|
* Backdrop Contrast
|
|
3030
3030
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3031
3031
|
*/
|
|
3032
3032
|
"backdrop-contrast": [{
|
|
3033
|
-
"backdrop-contrast": [
|
|
3033
|
+
"backdrop-contrast": [R, w, v]
|
|
3034
3034
|
}],
|
|
3035
3035
|
/**
|
|
3036
3036
|
* Backdrop Grayscale
|
|
3037
3037
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3038
3038
|
*/
|
|
3039
3039
|
"backdrop-grayscale": [{
|
|
3040
|
-
"backdrop-grayscale": ["",
|
|
3040
|
+
"backdrop-grayscale": ["", R, w, v]
|
|
3041
3041
|
}],
|
|
3042
3042
|
/**
|
|
3043
3043
|
* Backdrop Hue Rotate
|
|
3044
3044
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3045
3045
|
*/
|
|
3046
3046
|
"backdrop-hue-rotate": [{
|
|
3047
|
-
"backdrop-hue-rotate": [
|
|
3047
|
+
"backdrop-hue-rotate": [R, w, v]
|
|
3048
3048
|
}],
|
|
3049
3049
|
/**
|
|
3050
3050
|
* Backdrop Invert
|
|
3051
3051
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3052
3052
|
*/
|
|
3053
3053
|
"backdrop-invert": [{
|
|
3054
|
-
"backdrop-invert": ["",
|
|
3054
|
+
"backdrop-invert": ["", R, w, v]
|
|
3055
3055
|
}],
|
|
3056
3056
|
/**
|
|
3057
3057
|
* Backdrop Opacity
|
|
3058
3058
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3059
3059
|
*/
|
|
3060
3060
|
"backdrop-opacity": [{
|
|
3061
|
-
"backdrop-opacity": [
|
|
3061
|
+
"backdrop-opacity": [R, w, v]
|
|
3062
3062
|
}],
|
|
3063
3063
|
/**
|
|
3064
3064
|
* Backdrop Saturate
|
|
3065
3065
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3066
3066
|
*/
|
|
3067
3067
|
"backdrop-saturate": [{
|
|
3068
|
-
"backdrop-saturate": [
|
|
3068
|
+
"backdrop-saturate": [R, w, v]
|
|
3069
3069
|
}],
|
|
3070
3070
|
/**
|
|
3071
3071
|
* Backdrop Sepia
|
|
3072
3072
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3073
3073
|
*/
|
|
3074
3074
|
"backdrop-sepia": [{
|
|
3075
|
-
"backdrop-sepia": ["",
|
|
3075
|
+
"backdrop-sepia": ["", R, w, v]
|
|
3076
3076
|
}],
|
|
3077
3077
|
// --------------
|
|
3078
3078
|
// --- Tables ---
|
|
@@ -3141,7 +3141,7 @@ const un = (e, t) => {
|
|
|
3141
3141
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3142
3142
|
*/
|
|
3143
3143
|
duration: [{
|
|
3144
|
-
duration: [
|
|
3144
|
+
duration: [R, "initial", w, v]
|
|
3145
3145
|
}],
|
|
3146
3146
|
/**
|
|
3147
3147
|
* Transition Timing Function
|
|
@@ -3155,7 +3155,7 @@ const un = (e, t) => {
|
|
|
3155
3155
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3156
3156
|
*/
|
|
3157
3157
|
delay: [{
|
|
3158
|
-
delay: [
|
|
3158
|
+
delay: [R, w, v]
|
|
3159
3159
|
}],
|
|
3160
3160
|
/**
|
|
3161
3161
|
* Animation
|
|
@@ -3627,7 +3627,7 @@ const un = (e, t) => {
|
|
|
3627
3627
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3628
3628
|
*/
|
|
3629
3629
|
"stroke-w": [{
|
|
3630
|
-
stroke: [
|
|
3630
|
+
stroke: [R, fe, se, vt]
|
|
3631
3631
|
}],
|
|
3632
3632
|
/**
|
|
3633
3633
|
* Stroke
|
|
@@ -3943,7 +3943,7 @@ function ls(e) {
|
|
|
3943
3943
|
if (!_) return [];
|
|
3944
3944
|
const C = Array.from(_.querySelectorAll(`[${f}]`));
|
|
3945
3945
|
return Array.from(h.itemMap.values()).sort(
|
|
3946
|
-
(E,
|
|
3946
|
+
(E, I) => C.indexOf(E.ref.current) - C.indexOf(I.ref.current)
|
|
3947
3947
|
);
|
|
3948
3948
|
}, [h.collectionRef, h.itemMap]);
|
|
3949
3949
|
}
|
|
@@ -4222,9 +4222,9 @@ function Es(e, { referrerPolicy: t, crossOrigin: o }) {
|
|
|
4222
4222
|
};
|
|
4223
4223
|
}, [s, o, t]), a;
|
|
4224
4224
|
}
|
|
4225
|
-
var Ns = uo, As = mo, _s = ho, Be = "rovingFocusGroup.onEntryFocus",
|
|
4225
|
+
var Ns = uo, As = mo, _s = ho, Be = "rovingFocusGroup.onEntryFocus", Is = { bubbles: !1, cancelable: !0 }, be = "RovingFocusGroup", [Ke, go, Rs] = ls(be), [Ps, bo] = ge(
|
|
4226
4226
|
be,
|
|
4227
|
-
[
|
|
4227
|
+
[Rs]
|
|
4228
4228
|
), [Ts, zs] = Ps(be), vo = p.forwardRef(
|
|
4229
4229
|
(e, t) => /* @__PURE__ */ c(Ke.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ c(Ke.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ c(Ms, { ...e, ref: t }) }) })
|
|
4230
4230
|
);
|
|
@@ -4246,7 +4246,7 @@ var Ms = p.forwardRef((e, t) => {
|
|
|
4246
4246
|
defaultProp: i ?? null,
|
|
4247
4247
|
onChange: l,
|
|
4248
4248
|
caller: be
|
|
4249
|
-
}), [y, _] = p.useState(!1), C = J(u), A = go(o), P = p.useRef(!1), [E,
|
|
4249
|
+
}), [y, _] = p.useState(!1), C = J(u), A = go(o), P = p.useRef(!1), [E, I] = p.useState(0);
|
|
4250
4250
|
return p.useEffect(() => {
|
|
4251
4251
|
const b = m.current;
|
|
4252
4252
|
if (b)
|
|
@@ -4265,11 +4265,11 @@ var Ms = p.forwardRef((e, t) => {
|
|
|
4265
4265
|
),
|
|
4266
4266
|
onItemShiftTab: p.useCallback(() => _(!0), []),
|
|
4267
4267
|
onFocusableItemAdd: p.useCallback(
|
|
4268
|
-
() =>
|
|
4268
|
+
() => I((b) => b + 1),
|
|
4269
4269
|
[]
|
|
4270
4270
|
),
|
|
4271
4271
|
onFocusableItemRemove: p.useCallback(
|
|
4272
|
-
() =>
|
|
4272
|
+
() => I((b) => b - 1),
|
|
4273
4273
|
[]
|
|
4274
4274
|
),
|
|
4275
4275
|
children: /* @__PURE__ */ c(
|
|
@@ -4286,7 +4286,7 @@ var Ms = p.forwardRef((e, t) => {
|
|
|
4286
4286
|
onFocus: W(e.onFocus, (b) => {
|
|
4287
4287
|
const S = !P.current;
|
|
4288
4288
|
if (b.target === b.currentTarget && S && !y) {
|
|
4289
|
-
const M = new CustomEvent(Be,
|
|
4289
|
+
const M = new CustomEvent(Be, Is);
|
|
4290
4290
|
if (b.currentTarget.dispatchEvent(M), !M.defaultPrevented) {
|
|
4291
4291
|
const O = A().filter(($) => $.focusable), K = O.find(($) => $.active), ve = O.find(($) => $.id === x), Q = [K, ve, ...O].filter(
|
|
4292
4292
|
Boolean
|
|
@@ -4401,7 +4401,7 @@ var st = "ScrollArea", [ko] = ge(st), [js, q] = ko(st), So = p.forwardRef(
|
|
|
4401
4401
|
dir: n,
|
|
4402
4402
|
scrollHideDelay: s = 600,
|
|
4403
4403
|
...a
|
|
4404
|
-
} = e, [i, l] = p.useState(null), [u, d] = p.useState(null), [f, m] = p.useState(null), [g, k] = p.useState(null), [x, h] = p.useState(null), [y, _] = p.useState(0), [C, A] = p.useState(0), [P, E] = p.useState(!1), [
|
|
4404
|
+
} = e, [i, l] = p.useState(null), [u, d] = p.useState(null), [f, m] = p.useState(null), [g, k] = p.useState(null), [x, h] = p.useState(null), [y, _] = p.useState(0), [C, A] = p.useState(0), [P, E] = p.useState(!1), [I, b] = p.useState(!1), S = Y(t, (O) => l(O)), M = rt(n);
|
|
4405
4405
|
return /* @__PURE__ */ c(
|
|
4406
4406
|
js,
|
|
4407
4407
|
{
|
|
@@ -4420,7 +4420,7 @@ var st = "ScrollArea", [ko] = ge(st), [js, q] = ko(st), So = p.forwardRef(
|
|
|
4420
4420
|
onScrollbarXEnabledChange: E,
|
|
4421
4421
|
scrollbarY: x,
|
|
4422
4422
|
onScrollbarYChange: h,
|
|
4423
|
-
scrollbarYEnabled:
|
|
4423
|
+
scrollbarYEnabled: I,
|
|
4424
4424
|
onScrollbarYEnabledChange: b,
|
|
4425
4425
|
onCornerWidthChange: _,
|
|
4426
4426
|
onCornerHeightChange: A,
|
|
@@ -4636,7 +4636,7 @@ var Vs = p.forwardRef((e, t) => {
|
|
|
4636
4636
|
return p.useEffect(() => {
|
|
4637
4637
|
l.current && i(getComputedStyle(l.current));
|
|
4638
4638
|
}, [l]), /* @__PURE__ */ c(
|
|
4639
|
-
|
|
4639
|
+
Io,
|
|
4640
4640
|
{
|
|
4641
4641
|
"data-orientation": "horizontal",
|
|
4642
4642
|
...n,
|
|
@@ -4675,7 +4675,7 @@ var Vs = p.forwardRef((e, t) => {
|
|
|
4675
4675
|
return p.useEffect(() => {
|
|
4676
4676
|
l.current && i(getComputedStyle(l.current));
|
|
4677
4677
|
}, [l]), /* @__PURE__ */ c(
|
|
4678
|
-
|
|
4678
|
+
Io,
|
|
4679
4679
|
{
|
|
4680
4680
|
"data-orientation": "vertical",
|
|
4681
4681
|
...n,
|
|
@@ -4710,7 +4710,7 @@ var Vs = p.forwardRef((e, t) => {
|
|
|
4710
4710
|
}
|
|
4711
4711
|
}
|
|
4712
4712
|
);
|
|
4713
|
-
}), [Ys, _o] = ko(X),
|
|
4713
|
+
}), [Ys, _o] = ko(X), Io = p.forwardRef((e, t) => {
|
|
4714
4714
|
const {
|
|
4715
4715
|
__scopeScrollArea: o,
|
|
4716
4716
|
sizes: r,
|
|
@@ -4723,7 +4723,7 @@ var Vs = p.forwardRef((e, t) => {
|
|
|
4723
4723
|
onWheelScroll: d,
|
|
4724
4724
|
onResize: f,
|
|
4725
4725
|
...m
|
|
4726
|
-
} = e, g = q(X, o), [k, x] = p.useState(null), h = Y(t, (S) => x(S)), y = p.useRef(null), _ = p.useRef(""), C = g.viewport, A = r.content - r.viewport, P = J(d), E = J(l),
|
|
4726
|
+
} = e, g = q(X, o), [k, x] = p.useState(null), h = Y(t, (S) => x(S)), y = p.useRef(null), _ = p.useRef(""), C = g.viewport, A = r.content - r.viewport, P = J(d), E = J(l), I = Le(f, 10);
|
|
4727
4727
|
function b(S) {
|
|
4728
4728
|
if (y.current) {
|
|
4729
4729
|
const M = S.clientX - y.current.left, O = S.clientY - y.current.top;
|
|
@@ -4736,7 +4736,7 @@ var Vs = p.forwardRef((e, t) => {
|
|
|
4736
4736
|
(k == null ? void 0 : k.contains(O)) && P(M, A);
|
|
4737
4737
|
};
|
|
4738
4738
|
return document.addEventListener("wheel", S, { passive: !1 }), () => document.removeEventListener("wheel", S, { passive: !1 });
|
|
4739
|
-
}, [C, k, A, P]), p.useEffect(E, [r, E]), de(k,
|
|
4739
|
+
}, [C, k, A, P]), p.useEffect(E, [r, E]), de(k, I), de(g.content, I), /* @__PURE__ */ c(
|
|
4740
4740
|
Ys,
|
|
4741
4741
|
{
|
|
4742
4742
|
scope: o,
|
|
@@ -4764,7 +4764,7 @@ var Vs = p.forwardRef((e, t) => {
|
|
|
4764
4764
|
)
|
|
4765
4765
|
}
|
|
4766
4766
|
);
|
|
4767
|
-
}), Te = "ScrollAreaThumb",
|
|
4767
|
+
}), Te = "ScrollAreaThumb", Ro = p.forwardRef(
|
|
4768
4768
|
(e, t) => {
|
|
4769
4769
|
const { forceMount: o, ...r } = e, n = _o(Te, e.__scopeScrollArea);
|
|
4770
4770
|
return /* @__PURE__ */ c(ue, { present: o || n.hasThumb, children: /* @__PURE__ */ c(Xs, { ref: t, ...r }) });
|
|
@@ -4808,7 +4808,7 @@ var Vs = p.forwardRef((e, t) => {
|
|
|
4808
4808
|
);
|
|
4809
4809
|
}
|
|
4810
4810
|
);
|
|
4811
|
-
|
|
4811
|
+
Ro.displayName = Te;
|
|
4812
4812
|
var it = "ScrollAreaCorner", Po = p.forwardRef(
|
|
4813
4813
|
(e, t) => {
|
|
4814
4814
|
const o = q(it, e.__scopeScrollArea), r = !!(o.scrollbarX && o.scrollbarY);
|
|
@@ -5274,7 +5274,7 @@ function ka({
|
|
|
5274
5274
|
),
|
|
5275
5275
|
...o,
|
|
5276
5276
|
children: /* @__PURE__ */ c(
|
|
5277
|
-
|
|
5277
|
+
Ro,
|
|
5278
5278
|
{
|
|
5279
5279
|
"data-slot": "scroll-area-thumb",
|
|
5280
5280
|
className: "bg-border relative flex-1 rounded-full"
|
|
@@ -5380,9 +5380,9 @@ const qo = {
|
|
|
5380
5380
|
truck: cn,
|
|
5381
5381
|
user: Ht,
|
|
5382
5382
|
"x-circle": Lr,
|
|
5383
|
-
"alert-circle":
|
|
5383
|
+
"alert-circle": Ir,
|
|
5384
5384
|
"book-open": kr
|
|
5385
|
-
},
|
|
5385
|
+
}, It = {
|
|
5386
5386
|
0: "gap-0",
|
|
5387
5387
|
1: "gap-1",
|
|
5388
5388
|
2: "gap-2",
|
|
@@ -5393,7 +5393,7 @@ const qo = {
|
|
|
5393
5393
|
8: "gap-8",
|
|
5394
5394
|
10: "gap-10",
|
|
5395
5395
|
12: "gap-12"
|
|
5396
|
-
}, Yo = (e) => typeof e == "number" ?
|
|
5396
|
+
}, Yo = (e) => typeof e == "number" ? It[String(e)] ?? "gap-2" : typeof e == "string" ? It[e.trim()] ?? "gap-2" : "gap-2", Ca = ({ children: e, className: t, onClick: o }) => /* @__PURE__ */ c(
|
|
5397
5397
|
me,
|
|
5398
5398
|
{
|
|
5399
5399
|
className: t,
|
|
@@ -5418,14 +5418,14 @@ const qo = {
|
|
|
5418
5418
|
variant: o,
|
|
5419
5419
|
children: e
|
|
5420
5420
|
}
|
|
5421
|
-
),
|
|
5421
|
+
), Ia = ({ className: e, onChange: t, ...o }) => /* @__PURE__ */ c(
|
|
5422
5422
|
ha,
|
|
5423
5423
|
{
|
|
5424
5424
|
className: e,
|
|
5425
5425
|
onChange: t,
|
|
5426
5426
|
...o
|
|
5427
5427
|
}
|
|
5428
|
-
),
|
|
5428
|
+
), Ra = ({ className: e }) => /* @__PURE__ */ c(ga, { className: e }), Pa = ({ children: e, className: t }) => /* @__PURE__ */ c(ba, { className: t, children: e }), Ta = ({ children: e, className: t }) => /* @__PURE__ */ c(xa, { className: t, children: e }), za = ({ children: e, className: t }) => /* @__PURE__ */ c(wa, { className: t, value: "", children: e }), Ma = ({ children: e, className: t }) => /* @__PURE__ */ c(ya, { className: t, value: "", children: e }), La = ({ children: e, className: t }) => /* @__PURE__ */ c(Sa, { className: t, children: e }), Oa = ({ children: e, className: t }) => /* @__PURE__ */ c(Ze, { className: t, children: e }), $a = ({ src: e, alt: t, className: o }) => /* @__PURE__ */ c(Je, { src: e, alt: t, className: o }), Fa = ({ children: e, className: t }) => /* @__PURE__ */ c(Qe, { className: t, children: e }), Da = ({ children: e, className: t }) => /* @__PURE__ */ c("p", { className: z("text-sm", t), children: e }), Ua = ({ children: e, className: t, level: o }) => {
|
|
5429
5429
|
const r = `h${o || "2"}`;
|
|
5430
5430
|
return /* @__PURE__ */ c(r, { className: z("font-semibold tracking-tight", t), children: e });
|
|
5431
5431
|
}, Wa = ({ children: e, className: t, direction: o, gap: r }) => {
|
|
@@ -5475,10 +5475,10 @@ const qo = {
|
|
|
5475
5475
|
"ui-text": Da,
|
|
5476
5476
|
"ui-heading": Ua,
|
|
5477
5477
|
"ui-badge": _a,
|
|
5478
|
-
"ui-input":
|
|
5478
|
+
"ui-input": Ia,
|
|
5479
5479
|
"ui-stack": Wa,
|
|
5480
5480
|
"ui-inline": Ha,
|
|
5481
|
-
"ui-separator":
|
|
5481
|
+
"ui-separator": Ra,
|
|
5482
5482
|
"ui-tabs": Pa,
|
|
5483
5483
|
"ui-tabs-list": Ta,
|
|
5484
5484
|
"ui-tabs-trigger": za,
|
|
@@ -5491,8 +5491,8 @@ const qo = {
|
|
|
5491
5491
|
"ui-link": ja,
|
|
5492
5492
|
"ui-menu-item": Ba,
|
|
5493
5493
|
"ui-menu": Va
|
|
5494
|
-
}),
|
|
5495
|
-
const o = t ? `${t.replace(/\/$/, "")}${
|
|
5494
|
+
}), Rt = "/api/ecommerce", Xo = async (e, t) => {
|
|
5495
|
+
const o = t ? `${t.replace(/\/$/, "")}${Rt}` : Rt, r = await fetch(o, {
|
|
5496
5496
|
method: "POST",
|
|
5497
5497
|
headers: { "Content-Type": "application/json" },
|
|
5498
5498
|
body: JSON.stringify(e)
|
|
@@ -5738,10 +5738,12 @@ const qo = {
|
|
|
5738
5738
|
throw new Error("apiBase and appId are required for data.fetch");
|
|
5739
5739
|
const k = Tt(t, "/proxy"), x = await fetch(k, {
|
|
5740
5740
|
method: "POST",
|
|
5741
|
-
headers: {
|
|
5741
|
+
headers: {
|
|
5742
|
+
"Content-Type": "application/json",
|
|
5743
|
+
"X-Extension-Id": m,
|
|
5744
|
+
"X-Application-Id": r
|
|
5745
|
+
},
|
|
5742
5746
|
body: JSON.stringify({
|
|
5743
|
-
appId: r,
|
|
5744
|
-
extensionId: m,
|
|
5745
5747
|
url: g.url,
|
|
5746
5748
|
method: g.method ?? "GET",
|
|
5747
5749
|
headers: g.headers ?? {},
|
|
@@ -5953,17 +5955,17 @@ const qo = {
|
|
|
5953
5955
|
}
|
|
5954
5956
|
const E = setInterval(() => {
|
|
5955
5957
|
_() && (k(!0), clearInterval(E));
|
|
5956
|
-
}, 100),
|
|
5958
|
+
}, 100), I = setTimeout(() => {
|
|
5957
5959
|
clearInterval(E), console.warn("Zendesk widget failed to load after 10 seconds");
|
|
5958
5960
|
}, 1e4);
|
|
5959
5961
|
return () => {
|
|
5960
|
-
clearInterval(E), clearTimeout(
|
|
5962
|
+
clearInterval(E), clearTimeout(I);
|
|
5961
5963
|
};
|
|
5962
5964
|
}, [_]);
|
|
5963
5965
|
const C = _e((E) => {
|
|
5964
|
-
const { detail:
|
|
5965
|
-
if (!window.zE || !
|
|
5966
|
-
window.zE("messenger:ui", "newConversation",
|
|
5966
|
+
const { detail: I } = E;
|
|
5967
|
+
if (!window.zE || !I.payload || (I == null ? void 0 : I.action) !== "newConversation") return !1;
|
|
5968
|
+
window.zE("messenger:ui", "newConversation", I.payload);
|
|
5967
5969
|
}, []);
|
|
5968
5970
|
B(() => (window.addEventListener("ext-new-conversation", C), () => {
|
|
5969
5971
|
window.removeEventListener("ext-new-conversation", C);
|
|
@@ -5978,20 +5980,20 @@ const qo = {
|
|
|
5978
5980
|
Math.min(qe, O)
|
|
5979
5981
|
);
|
|
5980
5982
|
d(K);
|
|
5981
|
-
},
|
|
5983
|
+
}, I = () => {
|
|
5982
5984
|
h(!1), document.body.style.cursor = "", document.body.style.userSelect = "";
|
|
5983
5985
|
};
|
|
5984
|
-
return document.body.style.cursor = f ? "col-resize" : "row-resize", document.body.style.userSelect = "none", window.addEventListener("mousemove", E), window.addEventListener("mouseup",
|
|
5985
|
-
window.removeEventListener("mousemove", E), window.removeEventListener("mouseup",
|
|
5986
|
+
return document.body.style.cursor = f ? "col-resize" : "row-resize", document.body.style.userSelect = "none", window.addEventListener("mousemove", E), window.addEventListener("mouseup", I), window.addEventListener("blur", I), () => {
|
|
5987
|
+
window.removeEventListener("mousemove", E), window.removeEventListener("mouseup", I), window.removeEventListener("blur", I), document.body.style.cursor = "", document.body.style.userSelect = "";
|
|
5986
5988
|
};
|
|
5987
5989
|
}, [x, f]), B(() => {
|
|
5988
5990
|
if (!y.current) return;
|
|
5989
|
-
const E = y.current,
|
|
5991
|
+
const E = y.current, I = () => {
|
|
5990
5992
|
const S = getComputedStyle(E).flexDirection === "row";
|
|
5991
5993
|
m(S);
|
|
5992
5994
|
};
|
|
5993
|
-
|
|
5994
|
-
const b = new ResizeObserver(
|
|
5995
|
+
I();
|
|
5996
|
+
const b = new ResizeObserver(I);
|
|
5995
5997
|
return b.observe(E), () => {
|
|
5996
5998
|
b.disconnect();
|
|
5997
5999
|
};
|
|
@@ -6106,8 +6108,8 @@ const qo = {
|
|
|
6106
6108
|
context: P,
|
|
6107
6109
|
className: "flex items-center gap-1",
|
|
6108
6110
|
separator: /* @__PURE__ */ c("span", { className: "text-zinc-300", children: "/" }),
|
|
6109
|
-
render: ({ children: E, index:
|
|
6110
|
-
|
|
6111
|
+
render: ({ children: E, index: I }) => /* @__PURE__ */ T(he, { children: [
|
|
6112
|
+
I === 0 && /* @__PURE__ */ c("span", { className: "text-zinc-300", children: "+" }),
|
|
6111
6113
|
E
|
|
6112
6114
|
] })
|
|
6113
6115
|
}
|