@fluid-app/fluid-cli-theme-dev 0.1.63 → 0.1.64
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/README.md +1 -1
- package/dist/dist-cli-preview/.vite/manifest.json +225 -225
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Breadcrumb-CZ-skiUy.js → Breadcrumb-BQKo8hPc.js} +1 -1
- package/dist/dist-cli-preview/chunks/{Combobox-BGiCYa56.js → Combobox-cf11L_T-.js} +4 -4
- package/dist/dist-cli-preview/chunks/{ContactsScreen-vsNgy_gn.js → ContactsScreen-gIiy4u7c.js} +1160 -1155
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-DMwkh3JW.js → MemberManagementProviders-C1bwc3tB.js} +258 -224
- package/dist/dist-cli-preview/chunks/{MessagingScreen-DzJOwPGH.js → MessagingScreen-B8ZxAE0L.js} +3904 -3927
- package/dist/dist-cli-preview/chunks/{MobileActionSheet-DqVPgFKI.js → MobileActionSheet-DMeTsLlK.js} +100 -100
- package/dist/dist-cli-preview/chunks/{MySiteScreen-BSmWlCKA.js → MySiteScreen-Dtw1rsF9.js} +69 -69
- package/dist/dist-cli-preview/chunks/OrdersScreen-C-b6i5jB.js +9 -0
- package/dist/dist-cli-preview/chunks/{OrdersScreen-CVEl9FnN.js → OrdersScreen-D9HfcTaa.js} +247 -249
- package/dist/dist-cli-preview/chunks/{ProfileScreen-BC5gyJDY.js → ProfileScreen-DwXozaLs.js} +1051 -965
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-CFM4Pufg.js → SubscriptionsScreen-CIdYNpWT.js} +3 -3
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-DxhJm6Qd.js → account-screen-runtime-DYMunv0A.js} +2482 -2407
- package/dist/dist-cli-preview/chunks/ar-DaN3xEy4.js +351 -0
- package/dist/dist-cli-preview/chunks/{arrow-left-UFKI-PQf.js → arrow-left-Bd7dJtIV.js} +1 -1
- package/dist/dist-cli-preview/chunks/bg-D3Np0de3.js +351 -0
- package/dist/dist-cli-preview/chunks/bn-BDSehnZ3.js +351 -0
- package/dist/dist-cli-preview/chunks/{cli-preview-DunPfnjU.js → cli-preview-BT_ARKjk.js} +13 -13
- package/dist/dist-cli-preview/chunks/{client.gen-CSTBgfxj.js → client.gen-Ck6Pm2jV.js} +246 -236
- package/dist/dist-cli-preview/chunks/contacts-ChSWj70z.js +4 -0
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-B3usO25w.js → countries-api-adapter-lxSE748x.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-DHgsbSyr.js → create-card-entry-container-D6kSC2Aw.js} +20726 -20509
- package/dist/dist-cli-preview/chunks/cs-CrmATj4L.js +351 -0
- package/dist/dist-cli-preview/chunks/da-CmJdErjd.js +351 -0
- package/dist/dist-cli-preview/chunks/de-C0KTNBZq.js +351 -0
- package/dist/dist-cli-preview/chunks/el-BOQs49GU.js +351 -0
- package/dist/dist-cli-preview/chunks/es-Dt3VSQPu.js +351 -0
- package/dist/dist-cli-preview/chunks/fi-B8UZ7eJL.js +351 -0
- package/dist/dist-cli-preview/chunks/fr-BomEiNL0.js +351 -0
- package/dist/dist-cli-preview/chunks/he-CfmnXjsr.js +351 -0
- package/dist/dist-cli-preview/chunks/{hey-api-client-DSvKWGPq.js → hey-api-client-DGRBsZ7Y.js} +3 -3
- package/dist/dist-cli-preview/chunks/hi-CTk5zGoJ.js +351 -0
- package/dist/dist-cli-preview/chunks/hr-DaNToqEm.js +351 -0
- package/dist/dist-cli-preview/chunks/hu-lcAuIwez.js +351 -0
- package/dist/dist-cli-preview/chunks/id-CEThcKZG.js +351 -0
- package/dist/dist-cli-preview/chunks/it-BCRCoDOg.js +351 -0
- package/dist/dist-cli-preview/chunks/ja-BIkFdIfq.js +351 -0
- package/dist/dist-cli-preview/chunks/ko-CD3bk6gv.js +351 -0
- package/dist/dist-cli-preview/chunks/{log-out-CBUq5Hd-.js → log-out-CSPZjXTK.js} +1 -1
- package/dist/dist-cli-preview/chunks/{map-pin-DHfjSyoR.js → map-pin-B2ScoijR.js} +1 -1
- package/dist/dist-cli-preview/chunks/messaging-Bq5UPkvG.js +4 -0
- package/dist/dist-cli-preview/chunks/{mount-account-screen-pc1VISwF.js → mount-account-screen-C_CdoGir.js} +2453 -2392
- package/dist/dist-cli-preview/chunks/ms-DI4mGa5X.js +351 -0
- package/dist/dist-cli-preview/chunks/mysite-DcpuKsuW.js +4 -0
- package/dist/dist-cli-preview/chunks/nl-B-XAD3Ra.js +351 -0
- package/dist/dist-cli-preview/chunks/no-C_NmYGbe.js +351 -0
- package/dist/dist-cli-preview/chunks/orders-B_57xKkq.js +4 -0
- package/dist/dist-cli-preview/chunks/pl-mQRzJZEW.js +351 -0
- package/dist/dist-cli-preview/chunks/{plus-C-lo0pFM.js → plus-CocoE5gC.js} +1 -1
- package/dist/dist-cli-preview/chunks/profile-BfM2KxKe.js +4 -0
- package/dist/dist-cli-preview/chunks/pt-BYMWPjog.js +351 -0
- package/dist/dist-cli-preview/chunks/ro-B98EuFQI.js +351 -0
- package/dist/dist-cli-preview/chunks/ru-DBO9IasC.js +351 -0
- package/dist/dist-cli-preview/chunks/schemas-D94nZk5x.js +5374 -0
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-B254xI_J.js → screen-route-slug-utils-BDjSpDoe.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sheet-haptics-context-D2WUiXJm.js → sheet-haptics-context-iOjKcNDj.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sidebar-CMSWZCPS.js → sidebar-Ckzom4Xc.js} +12 -12
- package/dist/dist-cli-preview/chunks/sk-hRvNJfiN.js +351 -0
- package/dist/dist-cli-preview/chunks/{store-api-context-BIdILNWL.js → store-api-context-B96Ip2FB.js} +1 -1
- package/dist/dist-cli-preview/chunks/subscriptions-8VtIA4w9.js +4 -0
- package/dist/dist-cli-preview/chunks/sv-noYtTQbO.js +351 -0
- package/dist/dist-cli-preview/chunks/th-CJCAKsR-.js +351 -0
- package/dist/dist-cli-preview/chunks/tl-Bx8pJ7p7.js +351 -0
- package/dist/dist-cli-preview/chunks/tr-C4tCNiV7.js +351 -0
- package/dist/dist-cli-preview/chunks/{trash-2-Bq4IqH0j.js → trash-2-wVweQZMw.js} +4 -4
- package/dist/dist-cli-preview/chunks/uk-xFjXQDP3.js +351 -0
- package/dist/dist-cli-preview/chunks/{use-optional-store-Csor1Z3z.js → use-optional-store-lZUz976C.js} +2 -2
- package/dist/dist-cli-preview/chunks/use-store-DVmgsDXy.js +103 -0
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-BpFtQ7DH.js → useInfiniteQuery-Dtzov9uh.js} +1 -1
- package/dist/dist-cli-preview/chunks/{user-BGrQJ1GJ.js → user-B81IrSgp.js} +1 -1
- package/dist/dist-cli-preview/chunks/{users-DBL0isYy.js → users-BXTjoCUz.js} +1 -1
- package/dist/dist-cli-preview/chunks/vi-BAvhRTgb.js +351 -0
- package/dist/dist-cli-preview/chunks/zh_CN-Cyq9zeex.js +351 -0
- package/dist/dist-cli-preview/chunks/zh_TW-DFM5MhMA.js +351 -0
- package/dist/index.mjs +346 -32
- package/dist/index.mjs.map +1 -1
- package/dist/skills/themes-cart-feedback/SKILL.md +9 -14
- package/dist/skills/themes-review/SKILL.md +40 -34
- package/dist/skills/themes-review/references/blocks-vs-sections.md +2 -2
- package/dist/skills/themes-review/references/dead-code.md +1 -1
- package/dist/skills/themes-review/references/dynamism.md +9 -3
- package/dist/skills/themes-review/references/editor-attributes.md +25 -26
- package/dist/skills/themes-review/references/examples.md +3 -4
- package/dist/skills/themes-review/references/fairshare-attributes.md +5 -5
- package/dist/skills/themes-review/references/global-settings.md +56 -67
- package/dist/skills/themes-review/references/liquid-correctness.md +10 -15
- package/dist/skills/themes-review/references/media-tag.md +8 -7
- package/dist/skills/themes-review/references/navigation.md +18 -13
- package/dist/skills/themes-review/references/security-accessibility.md +11 -6
- package/dist/skills/themes-review/references/setting-types.md +136 -77
- package/dist/skills/themes-settings-schema/SKILL.md +15 -2
- package/package.json +2 -2
- package/dist/dist-cli-preview/chunks/OrdersScreen-d4fJE_dm.js +0 -9
- package/dist/dist-cli-preview/chunks/ar-B7NQmkZ1.js +0 -341
- package/dist/dist-cli-preview/chunks/bg-CxfL8rZN.js +0 -341
- package/dist/dist-cli-preview/chunks/bn-CdhHCK--.js +0 -341
- package/dist/dist-cli-preview/chunks/contacts-CpYlEgAq.js +0 -4
- package/dist/dist-cli-preview/chunks/cs-DTe-xGeI.js +0 -341
- package/dist/dist-cli-preview/chunks/da-B8Cl_vkl.js +0 -341
- package/dist/dist-cli-preview/chunks/de-D8cYy8G-.js +0 -341
- package/dist/dist-cli-preview/chunks/el-Chjin2JW.js +0 -341
- package/dist/dist-cli-preview/chunks/es-mp8RwFN4.js +0 -341
- package/dist/dist-cli-preview/chunks/fi-91gcpxoy.js +0 -341
- package/dist/dist-cli-preview/chunks/fr-ekvUCKTH.js +0 -341
- package/dist/dist-cli-preview/chunks/he-B7QiuquT.js +0 -341
- package/dist/dist-cli-preview/chunks/hi-DNNhi7ud.js +0 -341
- package/dist/dist-cli-preview/chunks/hr-CAwxMKX_.js +0 -341
- package/dist/dist-cli-preview/chunks/hu-D_oQwH4Q.js +0 -341
- package/dist/dist-cli-preview/chunks/id-oeAszBoo.js +0 -341
- package/dist/dist-cli-preview/chunks/isAfter-BUGgByEf.js +0 -1414
- package/dist/dist-cli-preview/chunks/it-Dme6GXSG.js +0 -341
- package/dist/dist-cli-preview/chunks/ja-CRnvQNCa.js +0 -341
- package/dist/dist-cli-preview/chunks/ko-8mk8A3_I.js +0 -341
- package/dist/dist-cli-preview/chunks/messaging-DkyH4CPP.js +0 -4
- package/dist/dist-cli-preview/chunks/ms-Bs0GvdOw.js +0 -341
- package/dist/dist-cli-preview/chunks/mysite-wvfITV7T.js +0 -4
- package/dist/dist-cli-preview/chunks/nl-tsI6lLxl.js +0 -341
- package/dist/dist-cli-preview/chunks/no-DMot6qX0.js +0 -341
- package/dist/dist-cli-preview/chunks/orders-c13r499A.js +0 -4
- package/dist/dist-cli-preview/chunks/pl-DmTxONNg.js +0 -341
- package/dist/dist-cli-preview/chunks/profile-CoWo9Sxe.js +0 -4
- package/dist/dist-cli-preview/chunks/pt-DgmwnAV-.js +0 -341
- package/dist/dist-cli-preview/chunks/ro-B4M17oRc.js +0 -341
- package/dist/dist-cli-preview/chunks/ru-BS2gZnbs.js +0 -341
- package/dist/dist-cli-preview/chunks/schemas-9_ZwC5nC.js +0 -3977
- package/dist/dist-cli-preview/chunks/sk-BdDjjHfn.js +0 -341
- package/dist/dist-cli-preview/chunks/subscriptions-BHALQrcU.js +0 -4
- package/dist/dist-cli-preview/chunks/sv-CW7FL5HA.js +0 -341
- package/dist/dist-cli-preview/chunks/th-BYBMKmSh.js +0 -341
- package/dist/dist-cli-preview/chunks/tl-CDigaLsK.js +0 -341
- package/dist/dist-cli-preview/chunks/tr-PxiurNCr.js +0 -341
- package/dist/dist-cli-preview/chunks/uk-B4aYnJ8t.js +0 -341
- package/dist/dist-cli-preview/chunks/vi-BoKSdzH3.js +0 -341
- package/dist/dist-cli-preview/chunks/zh_CN-DrCrXsZC.js +0 -341
- package/dist/dist-cli-preview/chunks/zh_TW-JmyC1W5K.js +0 -341
package/dist/dist-cli-preview/chunks/{MobileActionSheet-DqVPgFKI.js → MobileActionSheet-DMeTsLlK.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as $t, l as u, j as p, H as K,
|
|
2
|
-
import { M as _o, C as Eo } from "./schemas-
|
|
1
|
+
import { c as $t, l as u, j as p, H as K, _ as Mo, G as Ae, a5 as J, a8 as Po, J as Se, K as At, bh as Gt, aO as de, a6 as A, a9 as Bt, a4 as it, a3 as me, aP as Kt, bs as Ht, bi as Vt, bj as Wt, bk as Ut, bl as zt, bm as Yt, aQ as Xt, bu as Ao, aY as qt, M as ge, O as So } from "./account-screen-runtime-DYMunv0A.js";
|
|
2
|
+
import { M as _o, C as Eo } from "./schemas-D94nZk5x.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license lucide-react v0.575.0 - ISC
|
|
5
5
|
*
|
|
@@ -217,8 +217,8 @@ const Wo = async (e, t, n) => {
|
|
|
217
217
|
fn: x
|
|
218
218
|
} = a[w], {
|
|
219
219
|
x: R,
|
|
220
|
-
y:
|
|
221
|
-
data:
|
|
220
|
+
y: b,
|
|
221
|
+
data: C,
|
|
222
222
|
reset: M
|
|
223
223
|
} = await x({
|
|
224
224
|
x: l,
|
|
@@ -234,11 +234,11 @@ const Wo = async (e, t, n) => {
|
|
|
234
234
|
floating: t
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
|
-
l = R ?? l, c =
|
|
237
|
+
l = R ?? l, c = b ?? c, g = {
|
|
238
238
|
...g,
|
|
239
239
|
[v]: {
|
|
240
240
|
...g[v],
|
|
241
|
-
...
|
|
241
|
+
...C
|
|
242
242
|
}
|
|
243
243
|
}, M && h <= 50 && (h++, typeof M == "object" && (M.placement && (m = M.placement), M.rects && (d = M.rects === !0 ? await i.getElementRects({
|
|
244
244
|
reference: e,
|
|
@@ -257,7 +257,7 @@ const Wo = async (e, t, n) => {
|
|
|
257
257
|
middlewareData: g
|
|
258
258
|
};
|
|
259
259
|
};
|
|
260
|
-
async function
|
|
260
|
+
async function Ce(e, t) {
|
|
261
261
|
var n;
|
|
262
262
|
t === void 0 && (t = {});
|
|
263
263
|
const {
|
|
@@ -283,7 +283,7 @@ async function be(e, t) {
|
|
|
283
283
|
y: r,
|
|
284
284
|
width: i.floating.width,
|
|
285
285
|
height: i.floating.height
|
|
286
|
-
} : i.reference,
|
|
286
|
+
} : i.reference, b = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a.floating)), C = await (s.isElement == null ? void 0 : s.isElement(b)) ? await (s.getScale == null ? void 0 : s.getScale(b)) || {
|
|
287
287
|
x: 1,
|
|
288
288
|
y: 1
|
|
289
289
|
} : {
|
|
@@ -292,14 +292,14 @@ async function be(e, t) {
|
|
|
292
292
|
}, M = Ge(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
293
293
|
elements: a,
|
|
294
294
|
rect: R,
|
|
295
|
-
offsetParent:
|
|
295
|
+
offsetParent: b,
|
|
296
296
|
strategy: f
|
|
297
297
|
}) : R);
|
|
298
298
|
return {
|
|
299
|
-
top: (x.top - M.top + h.top) /
|
|
300
|
-
bottom: (M.bottom - x.bottom + h.bottom) /
|
|
301
|
-
left: (x.left - M.left + h.left) /
|
|
302
|
-
right: (M.right - x.right + h.right) /
|
|
299
|
+
top: (x.top - M.top + h.top) / C.y,
|
|
300
|
+
bottom: (M.bottom - x.bottom + h.bottom) / C.y,
|
|
301
|
+
left: (x.left - M.left + h.left) / C.x,
|
|
302
|
+
right: (M.right - x.right + h.right) / C.x
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
305
|
const Uo = (e) => ({
|
|
@@ -323,10 +323,10 @@ const Uo = (e) => ({
|
|
|
323
323
|
const c = Jt(l), m = {
|
|
324
324
|
x: n,
|
|
325
325
|
y: o
|
|
326
|
-
}, g = lt(r), h = ct(g), w = await i.getDimensions(d), v = g === "y", x = v ? "top" : "left", R = v ? "bottom" : "right",
|
|
327
|
-
let S = E ? E[
|
|
328
|
-
(!S || !await (i.isElement == null ? void 0 : i.isElement(E))) && (S = a.floating[
|
|
329
|
-
const _ =
|
|
326
|
+
}, g = lt(r), h = ct(g), w = await i.getDimensions(d), v = g === "y", x = v ? "top" : "left", R = v ? "bottom" : "right", b = v ? "clientHeight" : "clientWidth", C = s.reference[h] + s.reference[g] - m[g] - s.floating[h], M = m[g] - s.reference[g], E = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
|
|
327
|
+
let S = E ? E[b] : 0;
|
|
328
|
+
(!S || !await (i.isElement == null ? void 0 : i.isElement(E))) && (S = a.floating[b] || s.floating[h]);
|
|
329
|
+
const _ = C / 2 - M / 2, N = S / 2 - w[h] / 2 - 1, D = ne(c[x], N), j = ne(c[R], N), F = D, T = S - w[h] - j, I = S / 2 - w[h] / 2 + _, $ = tt(F, I, T), O = !f.arrow && he(r) != null && I !== $ && s.reference[h] / 2 - (I < F ? D : j) - w[h] / 2 < 0, k = O ? I < F ? I - F : I - T : 0;
|
|
330
330
|
return {
|
|
331
331
|
[g]: m[g] + k,
|
|
332
332
|
data: {
|
|
@@ -363,12 +363,12 @@ const Uo = (e) => ({
|
|
|
363
363
|
} = ee(e, t);
|
|
364
364
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
365
365
|
return {};
|
|
366
|
-
const x = te(r), R = X(a),
|
|
367
|
-
!m && E && M.push(...Ho(a, w, h,
|
|
368
|
-
const S = [a, ...M], _ = await
|
|
366
|
+
const x = te(r), R = X(a), b = te(a) === a, C = await (f.isRTL == null ? void 0 : f.isRTL(d.floating)), M = m || (b || !w ? [$e(a)] : $o(a)), E = h !== "none";
|
|
367
|
+
!m && E && M.push(...Ho(a, w, h, C));
|
|
368
|
+
const S = [a, ...M], _ = await Ce(t, v), N = [];
|
|
369
369
|
let D = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
370
370
|
if (l && N.push(_[x]), c) {
|
|
371
|
-
const I = Lo(r, i,
|
|
371
|
+
const I = Lo(r, i, C);
|
|
372
372
|
N.push(_[I[0]], _[I[1]]);
|
|
373
373
|
}
|
|
374
374
|
if (D = [...D, {
|
|
@@ -445,7 +445,7 @@ const Yo = function(e) {
|
|
|
445
445
|
} = ee(e, t);
|
|
446
446
|
switch (o) {
|
|
447
447
|
case "referenceHidden": {
|
|
448
|
-
const s = await
|
|
448
|
+
const s = await Ce(t, {
|
|
449
449
|
...r,
|
|
450
450
|
elementContext: "reference"
|
|
451
451
|
}), i = Ot(s, n.reference);
|
|
@@ -457,7 +457,7 @@ const Yo = function(e) {
|
|
|
457
457
|
};
|
|
458
458
|
}
|
|
459
459
|
case "escaped": {
|
|
460
|
-
const s = await
|
|
460
|
+
const s = await Ce(t, {
|
|
461
461
|
...r,
|
|
462
462
|
altBoundary: !0
|
|
463
463
|
}), i = Ot(s, n.floating);
|
|
@@ -551,15 +551,15 @@ const qo = function(e) {
|
|
|
551
551
|
} = ee(e, t), d = {
|
|
552
552
|
x: n,
|
|
553
553
|
y: o
|
|
554
|
-
}, l = await
|
|
554
|
+
}, l = await Ce(t, f), c = X(te(r)), m = at(c);
|
|
555
555
|
let g = d[m], h = d[c];
|
|
556
556
|
if (s) {
|
|
557
|
-
const v = m === "y" ? "top" : "left", x = m === "y" ? "bottom" : "right", R = g + l[v],
|
|
558
|
-
g = tt(R, g,
|
|
557
|
+
const v = m === "y" ? "top" : "left", x = m === "y" ? "bottom" : "right", R = g + l[v], b = g - l[x];
|
|
558
|
+
g = tt(R, g, b);
|
|
559
559
|
}
|
|
560
560
|
if (i) {
|
|
561
|
-
const v = c === "y" ? "top" : "left", x = c === "y" ? "bottom" : "right", R = h + l[v],
|
|
562
|
-
h = tt(R, h,
|
|
561
|
+
const v = c === "y" ? "top" : "left", x = c === "y" ? "bottom" : "right", R = h + l[v], b = h - l[x];
|
|
562
|
+
h = tt(R, h, b);
|
|
563
563
|
}
|
|
564
564
|
const w = a.fn({
|
|
565
565
|
...t,
|
|
@@ -607,12 +607,12 @@ const qo = function(e) {
|
|
|
607
607
|
...w
|
|
608
608
|
};
|
|
609
609
|
if (f) {
|
|
610
|
-
const
|
|
611
|
-
g <
|
|
610
|
+
const b = m === "y" ? "height" : "width", C = s.reference[m] - s.floating[b] + v.mainAxis, M = s.reference[m] + s.reference[b] - v.mainAxis;
|
|
611
|
+
g < C ? g = C : g > M && (g = M);
|
|
612
612
|
}
|
|
613
613
|
if (d) {
|
|
614
614
|
var x, R;
|
|
615
|
-
const
|
|
615
|
+
const b = m === "y" ? "width" : "height", C = Qt.has(te(r)), M = s.reference[c] - s.floating[b] + (C && ((x = i.offset) == null ? void 0 : x[c]) || 0) + (C ? 0 : v.crossAxis), E = s.reference[c] + s.reference[b] + (C ? 0 : ((R = i.offset) == null ? void 0 : R[c]) || 0) - (C ? v.crossAxis : 0);
|
|
616
616
|
h < M ? h = M : h > E && (h = E);
|
|
617
617
|
}
|
|
618
618
|
return {
|
|
@@ -636,15 +636,15 @@ const qo = function(e) {
|
|
|
636
636
|
apply: f = () => {
|
|
637
637
|
},
|
|
638
638
|
...d
|
|
639
|
-
} = ee(e, t), l = await
|
|
639
|
+
} = ee(e, t), l = await Ce(t, d), c = te(r), m = he(r), g = X(r) === "y", {
|
|
640
640
|
width: h,
|
|
641
641
|
height: w
|
|
642
642
|
} = s.floating;
|
|
643
643
|
let v, x;
|
|
644
644
|
c === "top" || c === "bottom" ? (v = c, x = m === (await (i.isRTL == null ? void 0 : i.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (x = c, v = m === "end" ? "top" : "bottom");
|
|
645
|
-
const R = w - l.top - l.bottom,
|
|
646
|
-
let S =
|
|
647
|
-
if ((n = t.middlewareData.shift) != null && n.enabled.x && (_ =
|
|
645
|
+
const R = w - l.top - l.bottom, b = h - l.left - l.right, C = ne(w - l[v], R), M = ne(h - l[x], b), E = !t.middlewareData.shift;
|
|
646
|
+
let S = C, _ = M;
|
|
647
|
+
if ((n = t.middlewareData.shift) != null && n.enabled.x && (_ = b), (o = t.middlewareData.shift) != null && o.enabled.y && (S = R), E && !m) {
|
|
648
648
|
const D = H(l.left, 0), j = H(l.right, 0), F = H(l.top, 0), T = H(l.bottom, 0);
|
|
649
649
|
g ? _ = h - 2 * (D !== 0 || j !== 0 ? D + j : H(l.left, l.right)) : S = w - 2 * (F !== 0 || T !== 0 ? F + T : H(l.top, l.bottom));
|
|
650
650
|
}
|
|
@@ -826,8 +826,8 @@ function ce(e, t, n, o) {
|
|
|
826
826
|
const m = V(s), g = o && U(o) ? V(o) : o;
|
|
827
827
|
let h = m, w = ot(h);
|
|
828
828
|
for (; w && o && g !== h; ) {
|
|
829
|
-
const v = ue(w), x = w.getBoundingClientRect(), R = z(w),
|
|
830
|
-
f *= v.x, d *= v.y, l *= v.x, c *= v.y, f +=
|
|
829
|
+
const v = ue(w), x = w.getBoundingClientRect(), R = z(w), b = x.left + (w.clientLeft + parseFloat(R.paddingLeft)) * v.x, C = x.top + (w.clientTop + parseFloat(R.paddingTop)) * v.y;
|
|
830
|
+
f *= v.x, d *= v.y, l *= v.x, c *= v.y, f += b, d += C, h = V(w), w = ot(h);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
833
|
return Ge({
|
|
@@ -1037,7 +1037,7 @@ function an(e, t) {
|
|
|
1037
1037
|
o = jt(o, t);
|
|
1038
1038
|
return o && fe(o) && Je(o) && !ut(o) ? n : o || ar(e) || n;
|
|
1039
1039
|
}
|
|
1040
|
-
const
|
|
1040
|
+
const br = async function(e) {
|
|
1041
1041
|
const t = this.getOffsetParent || an, n = this.getDimensions, o = await n(e.floating);
|
|
1042
1042
|
return {
|
|
1043
1043
|
reference: yr(e.reference, await t(e.floating), e.strategy),
|
|
@@ -1049,7 +1049,7 @@ const Cr = async function(e) {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
};
|
|
1051
1051
|
};
|
|
1052
|
-
function
|
|
1052
|
+
function Cr(e) {
|
|
1053
1053
|
return z(e).direction === "rtl";
|
|
1054
1054
|
}
|
|
1055
1055
|
const Rr = {
|
|
@@ -1057,12 +1057,12 @@ const Rr = {
|
|
|
1057
1057
|
getDocumentElement: Q,
|
|
1058
1058
|
getClippingRect: wr,
|
|
1059
1059
|
getOffsetParent: an,
|
|
1060
|
-
getElementRects:
|
|
1060
|
+
getElementRects: br,
|
|
1061
1061
|
getClientRects: fr,
|
|
1062
1062
|
getDimensions: xr,
|
|
1063
1063
|
getScale: ue,
|
|
1064
1064
|
isElement: U,
|
|
1065
|
-
isRTL:
|
|
1065
|
+
isRTL: Cr
|
|
1066
1066
|
};
|
|
1067
1067
|
function cn(e, t) {
|
|
1068
1068
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
@@ -1084,30 +1084,30 @@ function Mr(e, t) {
|
|
|
1084
1084
|
} = d;
|
|
1085
1085
|
if (a || t(), !m || !g)
|
|
1086
1086
|
return;
|
|
1087
|
-
const h = Fe(c), w = Fe(r.clientWidth - (l + m)), v = Fe(r.clientHeight - (c + g)), x = Fe(l),
|
|
1087
|
+
const h = Fe(c), w = Fe(r.clientWidth - (l + m)), v = Fe(r.clientHeight - (c + g)), x = Fe(l), b = {
|
|
1088
1088
|
rootMargin: -h + "px " + -w + "px " + -v + "px " + -x + "px",
|
|
1089
1089
|
threshold: H(0, ne(1, f)) || 1
|
|
1090
1090
|
};
|
|
1091
|
-
let
|
|
1091
|
+
let C = !0;
|
|
1092
1092
|
function M(E) {
|
|
1093
1093
|
const S = E[0].intersectionRatio;
|
|
1094
1094
|
if (S !== f) {
|
|
1095
|
-
if (!
|
|
1095
|
+
if (!C)
|
|
1096
1096
|
return i();
|
|
1097
1097
|
S ? i(!1, S) : o = setTimeout(() => {
|
|
1098
1098
|
i(!1, 1e-7);
|
|
1099
1099
|
}, 1e3);
|
|
1100
1100
|
}
|
|
1101
|
-
S === 1 && !cn(d, e.getBoundingClientRect()) && i(),
|
|
1101
|
+
S === 1 && !cn(d, e.getBoundingClientRect()) && i(), C = !1;
|
|
1102
1102
|
}
|
|
1103
1103
|
try {
|
|
1104
1104
|
n = new IntersectionObserver(M, {
|
|
1105
|
-
...
|
|
1105
|
+
...b,
|
|
1106
1106
|
// Handle <iframe>s
|
|
1107
1107
|
root: r.ownerDocument
|
|
1108
1108
|
});
|
|
1109
1109
|
} catch {
|
|
1110
|
-
n = new IntersectionObserver(M,
|
|
1110
|
+
n = new IntersectionObserver(M, b);
|
|
1111
1111
|
}
|
|
1112
1112
|
n.observe(e);
|
|
1113
1113
|
}
|
|
@@ -1132,8 +1132,8 @@ function Pr(e, t, n, o) {
|
|
|
1132
1132
|
i && (g = new ResizeObserver((x) => {
|
|
1133
1133
|
let [R] = x;
|
|
1134
1134
|
R && R.target === d && g && (g.unobserve(t), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1135
|
-
var
|
|
1136
|
-
(
|
|
1135
|
+
var b;
|
|
1136
|
+
(b = g) == null || b.observe(t);
|
|
1137
1137
|
})), n();
|
|
1138
1138
|
}), d && !f && g.observe(d), g.observe(t));
|
|
1139
1139
|
let h, w = f ? ce(e) : null;
|
|
@@ -1232,9 +1232,9 @@ function jr(e) {
|
|
|
1232
1232
|
Be(m, o) || g(o);
|
|
1233
1233
|
const [h, w] = u.useState(null), [v, x] = u.useState(null), R = u.useCallback((P) => {
|
|
1234
1234
|
P !== E.current && (E.current = P, w(P));
|
|
1235
|
-
}, []),
|
|
1235
|
+
}, []), b = u.useCallback((P) => {
|
|
1236
1236
|
P !== S.current && (S.current = P, x(P));
|
|
1237
|
-
}, []),
|
|
1237
|
+
}, []), C = s || h, M = i || v, E = u.useRef(null), S = u.useRef(null), _ = u.useRef(l), N = f != null, D = Qe(f), j = Qe(r), F = Qe(d), T = u.useCallback(() => {
|
|
1238
1238
|
if (!E.current || !S.current)
|
|
1239
1239
|
return;
|
|
1240
1240
|
const P = {
|
|
@@ -1266,21 +1266,21 @@ function jr(e) {
|
|
|
1266
1266
|
ke(() => (I.current = !0, () => {
|
|
1267
1267
|
I.current = !1;
|
|
1268
1268
|
}), []), ke(() => {
|
|
1269
|
-
if (
|
|
1269
|
+
if (C && (E.current = C), M && (S.current = M), C && M) {
|
|
1270
1270
|
if (D.current)
|
|
1271
|
-
return D.current(
|
|
1271
|
+
return D.current(C, M, T);
|
|
1272
1272
|
T();
|
|
1273
1273
|
}
|
|
1274
|
-
}, [
|
|
1274
|
+
}, [C, M, T, D, N]);
|
|
1275
1275
|
const $ = u.useMemo(() => ({
|
|
1276
1276
|
reference: E,
|
|
1277
1277
|
floating: S,
|
|
1278
1278
|
setReference: R,
|
|
1279
|
-
setFloating:
|
|
1280
|
-
}), [R,
|
|
1281
|
-
reference:
|
|
1279
|
+
setFloating: b
|
|
1280
|
+
}), [R, b]), O = u.useMemo(() => ({
|
|
1281
|
+
reference: C,
|
|
1282
1282
|
floating: M
|
|
1283
|
-
}), [
|
|
1283
|
+
}), [C, M]), k = u.useMemo(() => {
|
|
1284
1284
|
const P = {
|
|
1285
1285
|
position: n,
|
|
1286
1286
|
left: 0,
|
|
@@ -1400,7 +1400,7 @@ var mt = "PopperContent", [zr, Yr] = dn(mt), hn = u.forwardRef(
|
|
|
1400
1400
|
updatePositionStrategy: g = "optimized",
|
|
1401
1401
|
onPlaced: h,
|
|
1402
1402
|
...w
|
|
1403
|
-
} = e, v = fn(mt, n), [x, R] = u.useState(null),
|
|
1403
|
+
} = e, v = fn(mt, n), [x, R] = u.useState(null), b = J(t, (L) => R(L)), [C, M] = u.useState(null), E = Po(C), S = E?.width ?? 0, _ = E?.height ?? 0, N = o + (s !== "center" ? "-" + s : ""), D = typeof l == "number" ? l : { top: 0, right: 0, bottom: 0, left: 0, ...l }, j = Array.isArray(d) ? d : [d], F = j.length > 0, T = {
|
|
1404
1404
|
padding: D,
|
|
1405
1405
|
boundary: j.filter(qr),
|
|
1406
1406
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -1426,12 +1426,12 @@ var mt = "PopperContent", [zr, Yr] = dn(mt), hn = u.forwardRef(
|
|
|
1426
1426
|
f && Gr({ ...T }),
|
|
1427
1427
|
Br({
|
|
1428
1428
|
...T,
|
|
1429
|
-
apply: ({ elements: L, rects: ye, availableWidth: yo, availableHeight:
|
|
1430
|
-
const { width:
|
|
1431
|
-
je.setProperty("--radix-popper-available-width", `${yo}px`), je.setProperty("--radix-popper-available-height", `${
|
|
1429
|
+
apply: ({ elements: L, rects: ye, availableWidth: yo, availableHeight: bo }) => {
|
|
1430
|
+
const { width: Co, height: Ro } = ye.reference, je = L.floating.style;
|
|
1431
|
+
je.setProperty("--radix-popper-available-width", `${yo}px`), je.setProperty("--radix-popper-available-height", `${bo}px`), je.setProperty("--radix-popper-anchor-width", `${Co}px`), je.setProperty("--radix-popper-anchor-height", `${Ro}px`);
|
|
1432
1432
|
}
|
|
1433
1433
|
}),
|
|
1434
|
-
|
|
1434
|
+
C && Hr({ element: C, padding: a }),
|
|
1435
1435
|
Zr({ arrowWidth: S, arrowHeight: _ }),
|
|
1436
1436
|
m && Kr({ strategy: "referenceHidden", ...T })
|
|
1437
1437
|
]
|
|
@@ -1481,7 +1481,7 @@ var mt = "PopperContent", [zr, Yr] = dn(mt), hn = u.forwardRef(
|
|
|
1481
1481
|
"data-side": y,
|
|
1482
1482
|
"data-align": G,
|
|
1483
1483
|
...w,
|
|
1484
|
-
ref:
|
|
1484
|
+
ref: b,
|
|
1485
1485
|
style: {
|
|
1486
1486
|
...w.style,
|
|
1487
1487
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
@@ -1564,7 +1564,7 @@ function xn(e) {
|
|
|
1564
1564
|
const [t, n = "center"] = e.split("-");
|
|
1565
1565
|
return [t, n];
|
|
1566
1566
|
}
|
|
1567
|
-
var gt = pn, ht = gn, yn = hn,
|
|
1567
|
+
var gt = pn, ht = gn, yn = hn, bn = wn, et = "rovingFocusGroup.onEntryFocus", Jr = { bubbles: !1, cancelable: !0 }, Ee = "RovingFocusGroup", [rt, Cn, Qr] = Gt(Ee), [es, Rn] = Ae(
|
|
1568
1568
|
Ee,
|
|
1569
1569
|
[Qr]
|
|
1570
1570
|
), [ts, ns] = es(Ee), Mn = u.forwardRef(
|
|
@@ -1588,12 +1588,12 @@ var os = u.forwardRef((e, t) => {
|
|
|
1588
1588
|
defaultProp: a ?? null,
|
|
1589
1589
|
onChange: f,
|
|
1590
1590
|
caller: Ee
|
|
1591
|
-
}), [x, R] = u.useState(!1),
|
|
1591
|
+
}), [x, R] = u.useState(!1), b = Se(d), C = Cn(n), M = u.useRef(!1), [E, S] = u.useState(0);
|
|
1592
1592
|
return u.useEffect(() => {
|
|
1593
1593
|
const _ = m.current;
|
|
1594
1594
|
if (_)
|
|
1595
|
-
return _.addEventListener(et,
|
|
1596
|
-
}, [
|
|
1595
|
+
return _.addEventListener(et, b), () => _.removeEventListener(et, b);
|
|
1596
|
+
}, [b]), /* @__PURE__ */ p.jsx(
|
|
1597
1597
|
ts,
|
|
1598
1598
|
{
|
|
1599
1599
|
scope: n,
|
|
@@ -1630,7 +1630,7 @@ var os = u.forwardRef((e, t) => {
|
|
|
1630
1630
|
if (_.target === _.currentTarget && N && !x) {
|
|
1631
1631
|
const D = new CustomEvent(et, Jr);
|
|
1632
1632
|
if (_.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
|
|
1633
|
-
const j =
|
|
1633
|
+
const j = C().filter((O) => O.focusable), F = j.find((O) => O.active), T = j.find((O) => O.id === w), $ = [F, T, ...j].filter(
|
|
1634
1634
|
Boolean
|
|
1635
1635
|
).map((O) => O.ref.current);
|
|
1636
1636
|
Sn($, l);
|
|
@@ -1652,7 +1652,7 @@ var os = u.forwardRef((e, t) => {
|
|
|
1652
1652
|
tabStopId: s,
|
|
1653
1653
|
children: i,
|
|
1654
1654
|
...a
|
|
1655
|
-
} = e, f = de(), d = s || f, l = ns(Pn, n), c = l.currentTabStopId === d, m =
|
|
1655
|
+
} = e, f = de(), d = s || f, l = ns(Pn, n), c = l.currentTabStopId === d, m = Cn(n), { onFocusableItemAdd: g, onFocusableItemRemove: h, currentTabStopId: w } = l;
|
|
1656
1656
|
return u.useEffect(() => {
|
|
1657
1657
|
if (o)
|
|
1658
1658
|
return g(), () => h();
|
|
@@ -1684,14 +1684,14 @@ var os = u.forwardRef((e, t) => {
|
|
|
1684
1684
|
if (x !== void 0) {
|
|
1685
1685
|
if (v.metaKey || v.ctrlKey || v.altKey || v.shiftKey) return;
|
|
1686
1686
|
v.preventDefault();
|
|
1687
|
-
let
|
|
1688
|
-
if (x === "last")
|
|
1687
|
+
let b = m().filter((C) => C.focusable).map((C) => C.ref.current);
|
|
1688
|
+
if (x === "last") b.reverse();
|
|
1689
1689
|
else if (x === "prev" || x === "next") {
|
|
1690
|
-
x === "prev" &&
|
|
1691
|
-
const
|
|
1692
|
-
|
|
1690
|
+
x === "prev" && b.reverse();
|
|
1691
|
+
const C = b.indexOf(v.currentTarget);
|
|
1692
|
+
b = l.loop ? as(b, C + 1) : b.slice(C + 1);
|
|
1693
1693
|
}
|
|
1694
|
-
setTimeout(() => Sn(
|
|
1694
|
+
setTimeout(() => Sn(b));
|
|
1695
1695
|
}
|
|
1696
1696
|
}),
|
|
1697
1697
|
children: typeof i == "function" ? i({ isCurrentTabStop: c, hasTabStop: w != null }) : i
|
|
@@ -1787,7 +1787,7 @@ Nn.displayName = wt;
|
|
|
1787
1787
|
var W = "MenuContent", [xs, xt] = le(W), jn = u.forwardRef(
|
|
1788
1788
|
(e, t) => {
|
|
1789
1789
|
const n = Tn(W, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, s = re(W, e.__scopeMenu), i = Ie(W, e.__scopeMenu);
|
|
1790
|
-
return /* @__PURE__ */ p.jsx(Me.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ p.jsx(me, { present: o || s.open, children: /* @__PURE__ */ p.jsx(Me.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ p.jsx(ys, { ...r, ref: t }) : /* @__PURE__ */ p.jsx(
|
|
1790
|
+
return /* @__PURE__ */ p.jsx(Me.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ p.jsx(me, { present: o || s.open, children: /* @__PURE__ */ p.jsx(Me.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ p.jsx(ys, { ...r, ref: t }) : /* @__PURE__ */ p.jsx(bs, { ...r, ref: t }) }) }) });
|
|
1791
1791
|
}
|
|
1792
1792
|
), ys = u.forwardRef(
|
|
1793
1793
|
(e, t) => {
|
|
@@ -1812,7 +1812,7 @@ var W = "MenuContent", [xs, xt] = le(W), jn = u.forwardRef(
|
|
|
1812
1812
|
}
|
|
1813
1813
|
);
|
|
1814
1814
|
}
|
|
1815
|
-
),
|
|
1815
|
+
), bs = u.forwardRef((e, t) => {
|
|
1816
1816
|
const n = re(W, e.__scopeMenu);
|
|
1817
1817
|
return /* @__PURE__ */ p.jsx(
|
|
1818
1818
|
yt,
|
|
@@ -1825,7 +1825,7 @@ var W = "MenuContent", [xs, xt] = le(W), jn = u.forwardRef(
|
|
|
1825
1825
|
onDismiss: () => n.onOpenChange(!1)
|
|
1826
1826
|
}
|
|
1827
1827
|
);
|
|
1828
|
-
}),
|
|
1828
|
+
}), Cs = zt("MenuContent.ScrollLock"), yt = u.forwardRef(
|
|
1829
1829
|
(e, t) => {
|
|
1830
1830
|
const {
|
|
1831
1831
|
__scopeMenu: n,
|
|
@@ -1842,8 +1842,8 @@ var W = "MenuContent", [xs, xt] = le(W), jn = u.forwardRef(
|
|
|
1842
1842
|
onDismiss: g,
|
|
1843
1843
|
disableOutsideScroll: h,
|
|
1844
1844
|
...w
|
|
1845
|
-
} = e, v = re(W, n), x = Ie(W, n), R = De(n),
|
|
1846
|
-
const G = D.current + y, Y =
|
|
1845
|
+
} = e, v = re(W, n), x = Ie(W, n), R = De(n), b = On(n), C = ms(n), [M, E] = u.useState(null), S = u.useRef(null), _ = J(t, S, v.onContentChange), N = u.useRef(0), D = u.useRef(""), j = u.useRef(0), F = u.useRef(null), T = u.useRef("right"), I = u.useRef(0), $ = h ? Ut : u.Fragment, O = h ? { as: Cs, allowPinchZoom: !0 } : void 0, k = (y) => {
|
|
1846
|
+
const G = D.current + y, Y = C().filter((L) => !L.disabled), ie = document.activeElement, we = Y.find((L) => L.ref.current === ie)?.textValue, xe = Y.map((L) => L.textValue), Ne = Ns(xe, G, we), ae = Y.find((L) => L.textValue === Ne)?.ref.current;
|
|
1847
1847
|
(function L(ye) {
|
|
1848
1848
|
D.current = ye, window.clearTimeout(N.current), ye !== "" && (N.current = window.setTimeout(() => L(""), 1e3));
|
|
1849
1849
|
})(G), ae && setTimeout(() => ae.focus());
|
|
@@ -1900,7 +1900,7 @@ var W = "MenuContent", [xs, xt] = le(W), jn = u.forwardRef(
|
|
|
1900
1900
|
cs,
|
|
1901
1901
|
{
|
|
1902
1902
|
asChild: !0,
|
|
1903
|
-
...
|
|
1903
|
+
...b,
|
|
1904
1904
|
dir: x.dir,
|
|
1905
1905
|
orientation: "vertical",
|
|
1906
1906
|
loop: o,
|
|
@@ -1928,7 +1928,7 @@ var W = "MenuContent", [xs, xt] = le(W), jn = u.forwardRef(
|
|
|
1928
1928
|
const xe = S.current;
|
|
1929
1929
|
if (y.target !== xe || !ds.includes(y.key)) return;
|
|
1930
1930
|
y.preventDefault();
|
|
1931
|
-
const ae =
|
|
1931
|
+
const ae = C().filter((L) => !L.disabled).map((L) => L.ref.current);
|
|
1932
1932
|
_n.includes(y.key) && ae.reverse(), Is(ae);
|
|
1933
1933
|
}),
|
|
1934
1934
|
onBlur: A(e.onBlur, (y) => {
|
|
@@ -1957,13 +1957,13 @@ var W = "MenuContent", [xs, xt] = le(W), jn = u.forwardRef(
|
|
|
1957
1957
|
}
|
|
1958
1958
|
);
|
|
1959
1959
|
jn.displayName = W;
|
|
1960
|
-
var Rs = "MenuGroup",
|
|
1960
|
+
var Rs = "MenuGroup", bt = u.forwardRef(
|
|
1961
1961
|
(e, t) => {
|
|
1962
1962
|
const { __scopeMenu: n, ...o } = e;
|
|
1963
1963
|
return /* @__PURE__ */ p.jsx(K.div, { role: "group", ...o, ref: t });
|
|
1964
1964
|
}
|
|
1965
1965
|
);
|
|
1966
|
-
|
|
1966
|
+
bt.displayName = Rs;
|
|
1967
1967
|
var Ms = "MenuLabel", Fn = u.forwardRef(
|
|
1968
1968
|
(e, t) => {
|
|
1969
1969
|
const { __scopeMenu: n, ...o } = e;
|
|
@@ -2068,7 +2068,7 @@ var $n = "MenuRadioGroup", [As, Ss] = le(
|
|
|
2068
2068
|
), Gn = u.forwardRef(
|
|
2069
2069
|
(e, t) => {
|
|
2070
2070
|
const { value: n, onValueChange: o, ...r } = e, s = Se(o);
|
|
2071
|
-
return /* @__PURE__ */ p.jsx(As, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ p.jsx(
|
|
2071
|
+
return /* @__PURE__ */ p.jsx(As, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ p.jsx(bt, { ...r, ref: t }) });
|
|
2072
2072
|
}
|
|
2073
2073
|
);
|
|
2074
2074
|
Gn.displayName = $n;
|
|
@@ -2093,12 +2093,12 @@ var Bn = "MenuRadioItem", Kn = u.forwardRef(
|
|
|
2093
2093
|
}
|
|
2094
2094
|
);
|
|
2095
2095
|
Kn.displayName = Bn;
|
|
2096
|
-
var
|
|
2097
|
-
|
|
2096
|
+
var Ct = "MenuItemIndicator", [Hn, _s] = le(
|
|
2097
|
+
Ct,
|
|
2098
2098
|
{ checked: !1 }
|
|
2099
2099
|
), Vn = u.forwardRef(
|
|
2100
2100
|
(e, t) => {
|
|
2101
|
-
const { __scopeMenu: n, forceMount: o, ...r } = e, s = _s(
|
|
2101
|
+
const { __scopeMenu: n, forceMount: o, ...r } = e, s = _s(Ct, n);
|
|
2102
2102
|
return /* @__PURE__ */ p.jsx(
|
|
2103
2103
|
me,
|
|
2104
2104
|
{
|
|
@@ -2115,7 +2115,7 @@ var bt = "MenuItemIndicator", [Hn, _s] = le(
|
|
|
2115
2115
|
);
|
|
2116
2116
|
}
|
|
2117
2117
|
);
|
|
2118
|
-
Vn.displayName =
|
|
2118
|
+
Vn.displayName = Ct;
|
|
2119
2119
|
var Es = "MenuSeparator", Wn = u.forwardRef(
|
|
2120
2120
|
(e, t) => {
|
|
2121
2121
|
const { __scopeMenu: n, ...o } = e;
|
|
@@ -2134,7 +2134,7 @@ Wn.displayName = Es;
|
|
|
2134
2134
|
var Os = "MenuArrow", Un = u.forwardRef(
|
|
2135
2135
|
(e, t) => {
|
|
2136
2136
|
const { __scopeMenu: n, ...o } = e, r = De(n);
|
|
2137
|
-
return /* @__PURE__ */ p.jsx(
|
|
2137
|
+
return /* @__PURE__ */ p.jsx(bn, { ...r, ...o, ref: t });
|
|
2138
2138
|
}
|
|
2139
2139
|
);
|
|
2140
2140
|
Un.displayName = Os;
|
|
@@ -2163,9 +2163,9 @@ var Rt = "MenuSub", [Ds, zn] = le(Rt), Yn = (e) => {
|
|
|
2163
2163
|
) });
|
|
2164
2164
|
};
|
|
2165
2165
|
Yn.displayName = Rt;
|
|
2166
|
-
var
|
|
2166
|
+
var be = "MenuSubTrigger", Xn = u.forwardRef(
|
|
2167
2167
|
(e, t) => {
|
|
2168
|
-
const n = re(
|
|
2168
|
+
const n = re(be, e.__scopeMenu), o = Ie(be, e.__scopeMenu), r = zn(be, e.__scopeMenu), s = xt(be, e.__scopeMenu), i = u.useRef(null), { pointerGraceTimerRef: a, onPointerGraceIntentChange: f } = s, d = { __scopeMenu: e.__scopeMenu }, l = u.useCallback(() => {
|
|
2169
2169
|
i.current && window.clearTimeout(i.current), i.current = null;
|
|
2170
2170
|
}, []);
|
|
2171
2171
|
return u.useEffect(() => l, [l]), u.useEffect(() => {
|
|
@@ -2230,7 +2230,7 @@ var Ce = "MenuSubTrigger", Xn = u.forwardRef(
|
|
|
2230
2230
|
) });
|
|
2231
2231
|
}
|
|
2232
2232
|
);
|
|
2233
|
-
Xn.displayName =
|
|
2233
|
+
Xn.displayName = be;
|
|
2234
2234
|
var qn = "MenuSubContent", Zn = u.forwardRef(
|
|
2235
2235
|
(e, t) => {
|
|
2236
2236
|
const n = Tn(W, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, s = re(W, e.__scopeMenu), i = Ie(W, e.__scopeMenu), a = zn(qn, e.__scopeMenu), f = u.useRef(null), d = J(t, f);
|
|
@@ -2308,7 +2308,7 @@ function Fs(e, t) {
|
|
|
2308
2308
|
function Pe(e) {
|
|
2309
2309
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
2310
2310
|
}
|
|
2311
|
-
var ks = In, Ls = vt, $s = Nn, Gs = jn, Bs =
|
|
2311
|
+
var ks = In, Ls = vt, $s = Nn, Gs = jn, Bs = bt, Ks = Fn, Hs = Xe, Vs = Ln, Ws = Gn, Us = Kn, zs = Vn, Ys = Wn, Xs = Un, Ui = Yn, qs = Xn, Zs = Zn, qe = "DropdownMenu", [Js] = Ae(
|
|
2312
2312
|
qe,
|
|
2313
2313
|
[En]
|
|
2314
2314
|
), B = En(), [Qs, Qn] = Js(qe), eo = (e) => {
|
|
@@ -2483,7 +2483,7 @@ var wi = "DropdownMenuSubContent", xi = u.forwardRef((e, t) => {
|
|
|
2483
2483
|
);
|
|
2484
2484
|
});
|
|
2485
2485
|
xi.displayName = wi;
|
|
2486
|
-
var yi = eo,
|
|
2486
|
+
var yi = eo, bi = no, Ci = oo, Ri = so, Mi = io, Pi = ao, Ai = co, Ze = "Popover", [lo] = Ae(Ze, [
|
|
2487
2487
|
Ye
|
|
2488
2488
|
]), Te = Ye(), [Si, se] = lo(Ze), uo = (e) => {
|
|
2489
2489
|
const {
|
|
@@ -2684,7 +2684,7 @@ Ni.displayName = wo;
|
|
|
2684
2684
|
var ji = "PopoverArrow", Fi = u.forwardRef(
|
|
2685
2685
|
(e, t) => {
|
|
2686
2686
|
const { __scopePopover: n, ...o } = e, r = Te(n);
|
|
2687
|
-
return /* @__PURE__ */ p.jsx(
|
|
2687
|
+
return /* @__PURE__ */ p.jsx(bn, { ...r, ...o, ref: t });
|
|
2688
2688
|
}
|
|
2689
2689
|
);
|
|
2690
2690
|
Fi.displayName = ji;
|
|
@@ -2732,7 +2732,7 @@ function Zi({
|
|
|
2732
2732
|
...e
|
|
2733
2733
|
}) {
|
|
2734
2734
|
return /* @__PURE__ */ p.jsx(
|
|
2735
|
-
|
|
2735
|
+
bi,
|
|
2736
2736
|
{
|
|
2737
2737
|
"data-slot": "dropdown-menu-trigger",
|
|
2738
2738
|
...e
|
|
@@ -2745,7 +2745,7 @@ function Ji({
|
|
|
2745
2745
|
...n
|
|
2746
2746
|
}) {
|
|
2747
2747
|
const o = qt();
|
|
2748
|
-
return /* @__PURE__ */ p.jsx(
|
|
2748
|
+
return /* @__PURE__ */ p.jsx(Ci, { container: o, children: /* @__PURE__ */ p.jsx(
|
|
2749
2749
|
Ri,
|
|
2750
2750
|
{
|
|
2751
2751
|
"data-slot": "dropdown-menu-content",
|
|
@@ -2875,7 +2875,7 @@ export {
|
|
|
2875
2875
|
Ye as g,
|
|
2876
2876
|
yn as h,
|
|
2877
2877
|
Wi as i,
|
|
2878
|
-
|
|
2878
|
+
bn as j,
|
|
2879
2879
|
ea as k,
|
|
2880
2880
|
En as l,
|
|
2881
2881
|
ks as m,
|