@fluid-app/fluid-cli-theme-dev 0.1.413 → 0.1.414
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/dist-cli-preview/.vite/manifest.json +271 -271
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Breadcrumb-DLYQ2Vr1.js → Breadcrumb-D_SqXp7d.js} +1 -1
- package/dist/dist-cli-preview/chunks/{Combobox-I60LziKt.js → Combobox-Km3Vrphp.js} +41 -41
- package/dist/dist-cli-preview/chunks/{ContactsScreen-WtiSee_0.js → ContactsScreen-kuRxflCD.js} +85 -85
- package/dist/dist-cli-preview/chunks/MediaScreen-BvJdBMeQ.js +8 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-CVQJ5r99.js → MemberManagementProviders-BS6VVAvZ.js} +6 -6
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-Dx1NDGIe.js → MemberShareablesScreen-DMuIxGxX.js} +21 -21
- package/dist/dist-cli-preview/chunks/{MessagingScreen-m2r-29Lc.js → MessagingScreen-BKHqT1Ej.js} +2460 -2494
- package/dist/dist-cli-preview/chunks/{MobileActionSheet-k67c8wJk.js → MobileActionSheet-CBoGiv4j.js} +2 -2
- package/dist/dist-cli-preview/chunks/{MySiteScreen-DnQNCsOZ.js → MySiteScreen-Ch1cOkKp.js} +13 -13
- package/dist/dist-cli-preview/chunks/OrdersScreen-BGgj4BZS.js +9 -0
- package/dist/dist-cli-preview/chunks/{OrdersScreen-DwrvoBJM.js → OrdersScreen-DFqHUrkC.js} +7 -7
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-Bx1XIkZA.js +8 -0
- package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-JAGrume8.js → PortalTenantClientProvider-DWOzWTBJ.js} +1 -1
- package/dist/dist-cli-preview/chunks/{ProfileScreen-mUxxDKgU.js → ProfileScreen-C_gqCV47.js} +15 -15
- package/dist/dist-cli-preview/chunks/{Select-97UR3puI.js → Select-sVTiAmsy.js} +87 -87
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-Cukgjsh8.js → SubscriptionsScreen-DiXGHeoZ.js} +3 -3
- package/dist/dist-cli-preview/chunks/{Textarea-DlTzkeqw.js → Textarea-D-fkMEdH.js} +26 -26
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-CVtcJ0Fb.js → account-screen-runtime-BjzMc3GU.js} +2326 -2268
- package/dist/dist-cli-preview/chunks/{arrow-left-CVKbyXG0.js → arrow-left-D62DJteK.js} +1 -1
- package/dist/dist-cli-preview/chunks/{cli-preview-CeoIev-9.js → cli-preview-c45YGC1E.js} +9 -9
- package/dist/dist-cli-preview/chunks/{client.gen-CTq48a_5.js → client.gen-DfWiOTes.js} +1 -1
- package/dist/dist-cli-preview/chunks/{copy-Cb0EF4FY.js → copy-zqKnEIeM.js} +1 -1
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-39yd7wyu.js → countries-api-adapter-DRty_8ei.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-Bsk4bByi.js → create-card-entry-container-4VLe3B5O.js} +19472 -19478
- package/dist/dist-cli-preview/chunks/{eye-Br576SOE.js → eye-Ce93vUsx.js} +1 -1
- package/dist/dist-cli-preview/chunks/{hey-api-client-s8usE_Di.js → hey-api-client-GUem9W6L.js} +1 -1
- package/dist/dist-cli-preview/chunks/{index-twP43mON.js → index-BF-Yok75.js} +13 -13
- package/dist/dist-cli-preview/chunks/{index-CpV8WNR4.js → index-B_xDY7q5.js} +3 -3
- package/dist/dist-cli-preview/chunks/{index-oaLlxtXm.js → index-DotYg_8P.js} +1 -1
- package/dist/dist-cli-preview/chunks/lock-B3ps7XBv.js +14 -0
- package/dist/dist-cli-preview/chunks/{log-out-uqUyU7ZP.js → log-out-CDzQuZ5N.js} +1 -1
- package/dist/dist-cli-preview/chunks/{map-pin-FwB95jm4.js → map-pin-C_2_P4BZ.js} +1 -1
- package/dist/dist-cli-preview/chunks/{mount-account-screen-CjAYZk9H.js → mount-account-screen-DLu4WsoN.js} +8 -8
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-BXmIYqHb.js → navigate-account-screen-Zm16FA01.js} +1 -1
- package/dist/dist-cli-preview/chunks/{schemas-CK5ZjT20.js → schemas-CcDaDYH8.js} +3 -3
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-MtfouJSS.js → screen-route-slug-utils-CKharc6_.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sheet-haptics-context-N2vLfwOc.js → sheet-haptics-context-DTfySPrq.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sidebar-D8LwwiTr.js → sidebar-CkC-f9zG.js} +10 -10
- package/dist/dist-cli-preview/chunks/{sortable.esm-jbVNBxCA.js → sortable.esm-e9hcrOle.js} +2 -2
- package/dist/dist-cli-preview/chunks/{store-api-context-DhtPESgY.js → store-api-context-CDtl_X71.js} +1 -1
- package/dist/dist-cli-preview/chunks/{trash-2-f4dJpepX.js → trash-2-C5c1weGY.js} +6 -6
- package/dist/dist-cli-preview/chunks/{use-mobile-C4O5e0kh.js → use-mobile-DF76-293.js} +3 -3
- package/dist/dist-cli-preview/chunks/{use-optional-store-qUug8CSx.js → use-optional-store-DT9WAQPd.js} +2 -2
- package/dist/dist-cli-preview/chunks/{use-store-B00K7G5q.js → use-store-DUukxuYV.js} +3 -3
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-pbRaLvNe.js → useInfiniteQuery-CDXQnWw0.js} +1 -1
- package/dist/dist-cli-preview/chunks/{user-CRiDn40l.js → user-B-jZvwGL.js} +1 -1
- package/dist/dist-cli-preview/chunks/{users-BMdwEKKP.js → users-TuK7MiQN.js} +1 -1
- package/package.json +2 -2
- package/dist/dist-cli-preview/chunks/MediaScreen-D_u5SsOy.js +0 -8
- package/dist/dist-cli-preview/chunks/OrdersScreen-DTTgCZ0g.js +0 -9
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-DBcGwbRP.js +0 -8
- package/dist/dist-cli-preview/chunks/isAfter-DAVNjOeD.js +0 -1324
package/dist/dist-cli-preview/chunks/{MobileActionSheet-k67c8wJk.js → MobileActionSheet-CBoGiv4j.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as $t, l as u, j as p, ab as K, a7 as Ao, aa as Ae, aj as J,
|
|
2
|
-
import { M as Do, C as Io } from "./schemas-
|
|
1
|
+
import { c as $t, l as u, j as p, ab as K, a7 as Ao, aa as Ae, aj as J, aY as So, ac as Se, ad as At, bq as Gt, ba as fe, am as A, ak as Bt, aW as Ve, al as ge, bb as Kt, bp as Ht, br as Vt, bs as Wt, bt as zt, bu as Ut, bv as Yt, bc as Xt, bx as _o, be as qt, M as re, R as Eo, K as Oo } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
+
import { M as Do, C as Io } from "./schemas-CcDaDYH8.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license lucide-react v0.575.0 - ISC
|
|
5
5
|
*
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as xe, a8 as Ie, l as i, j as t, U as Be, K as g, L as Re, M as le, Y as oe, B as Oe, J as Ue, R as de,
|
|
2
|
-
import { C as B, h as ae, i as ge, a as W, j as Ge, k as Ye, l as We, m as Je, n as Qe, o as Ze, c as be, d as Y, f as ye, D as _e, e as ve, S as je, v as Ne, s as ke, K as Ce, P as Se, u as we, b as Le, G as Ee, p as Xe, q as et, r as tt, t as De, w as st, x as at, L as nt, M as rt } from "./sortable.esm-
|
|
3
|
-
import { c as it, a as lt } from "./client.gen-
|
|
4
|
-
import { B as ot, a as dt, b as ce, d as ct, c as ue, e as ut } from "./Breadcrumb-
|
|
5
|
-
import { a as mt, c as pt, b as ft, u as ht, S as E, I as me } from "./sheet-haptics-context-
|
|
6
|
-
import { E as xt } from "./eye-
|
|
7
|
-
import { U as gt } from "./users-
|
|
8
|
-
import { C as bt } from "./copy-
|
|
9
|
-
import { A as ne } from "./arrow-left-
|
|
10
|
-
import { C as yt, o as w, n as _, s as c, d as ee, P as pe, R as te, j as se, k as _t } from "./schemas-
|
|
11
|
-
import { u as vt, T as re } from "./trash-2-
|
|
12
|
-
import { u as Pe } from "./sidebar-
|
|
13
|
-
import { U as jt } from "./user-
|
|
1
|
+
import { c as xe, a8 as Ie, l as i, j as t, U as Be, K as g, L as Re, M as le, Y as oe, B as Oe, J as Ue, R as de, bC as Ke, E as $e, N as He, a9 as qe, z as Ve } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
+
import { C as B, h as ae, i as ge, a as W, j as Ge, k as Ye, l as We, m as Je, n as Qe, o as Ze, c as be, d as Y, f as ye, D as _e, e as ve, S as je, v as Ne, s as ke, K as Ce, P as Se, u as we, b as Le, G as Ee, p as Xe, q as et, r as tt, t as De, w as st, x as at, L as nt, M as rt } from "./sortable.esm-e9hcrOle.js";
|
|
3
|
+
import { c as it, a as lt } from "./client.gen-DfWiOTes.js";
|
|
4
|
+
import { B as ot, a as dt, b as ce, d as ct, c as ue, e as ut } from "./Breadcrumb-D_SqXp7d.js";
|
|
5
|
+
import { a as mt, c as pt, b as ft, u as ht, S as E, I as me } from "./sheet-haptics-context-DTfySPrq.js";
|
|
6
|
+
import { E as xt } from "./eye-Ce93vUsx.js";
|
|
7
|
+
import { U as gt } from "./users-TuK7MiQN.js";
|
|
8
|
+
import { C as bt } from "./copy-zqKnEIeM.js";
|
|
9
|
+
import { A as ne } from "./arrow-left-D62DJteK.js";
|
|
10
|
+
import { C as yt, o as w, n as _, s as c, d as ee, P as pe, R as te, j as se, k as _t } from "./schemas-CcDaDYH8.js";
|
|
11
|
+
import { u as vt, T as re } from "./trash-2-C5c1weGY.js";
|
|
12
|
+
import { u as Pe } from "./sidebar-CkC-f9zG.js";
|
|
13
|
+
import { U as jt } from "./user-B-jZvwGL.js";
|
|
14
14
|
/**
|
|
15
15
|
* @license lucide-react v0.575.0 - ISC
|
|
16
16
|
*
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as r } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
+
import { O as e } from "./OrdersScreen-DFqHUrkC.js";
|
|
3
|
+
import { M as o } from "./MemberManagementProviders-BS6VVAvZ.js";
|
|
4
|
+
function t() {
|
|
5
|
+
return /* @__PURE__ */ r.jsx(o, { children: /* @__PURE__ */ r.jsx(e, {}) });
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
t as OrdersScreen
|
|
9
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { G as de, l as u, a8 as ce, j as t, M as F, N as K,
|
|
2
|
-
import { c as xe, a as fe, b as ge, u as he, I as _e, S as g } from "./sheet-haptics-context-
|
|
3
|
-
import { f as Y, h as be, I as je, R as ye, m as Ne, r as E, n as W, i as z, e as ve, p as we } from "./MemberManagementProviders-
|
|
4
|
-
import { u as ke, S as q } from "./useInfiniteQuery-
|
|
5
|
-
import { B as G, a as V, b as C, c as X, d as Se, e as Oe } from "./Breadcrumb-
|
|
6
|
-
import "./store-api-context-
|
|
7
|
-
import { u as De } from "./use-optional-store-
|
|
1
|
+
import { G as de, l as u, a8 as ce, j as t, M as F, N as K, aK as ue, B as T, a9 as me, E as pe } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
+
import { c as xe, a as fe, b as ge, u as he, I as _e, S as g } from "./sheet-haptics-context-DTfySPrq.js";
|
|
3
|
+
import { f as Y, h as be, I as je, R as ye, m as Ne, r as E, n as W, i as z, e as ve, p as we } from "./MemberManagementProviders-BS6VVAvZ.js";
|
|
4
|
+
import { u as ke, S as q } from "./useInfiniteQuery-CDXQnWw0.js";
|
|
5
|
+
import { B as G, a as V, b as C, c as X, d as Se, e as Oe } from "./Breadcrumb-D_SqXp7d.js";
|
|
6
|
+
import "./store-api-context-CDtl_X71.js";
|
|
7
|
+
import { u as De } from "./use-optional-store-DT9WAQPd.js";
|
|
8
8
|
const Ce = {
|
|
9
9
|
all: ["orders"]
|
|
10
10
|
}, L = {
|
package/dist/dist-cli-preview/chunks/{ProfileScreen-mUxxDKgU.js → ProfileScreen-C_gqCV47.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as Z, i as mt, l as v, j as n, aa as ht, ab as le, ac as pt, ad as ne, M as ce, ae as gt, K as E, I as je, H as A, B as de, D as Ae, E as ue, x as xt, G as Q, af as _t, J as H, a8 as T, ag as bt, ah as vt, a7 as yt, P as jt, ai as J, z as fe, R as Me, q as Ct, Y as wt, N as Nt } from "./account-screen-runtime-
|
|
2
|
-
import { u as R, a as St, b as B, c as Et, M as Pt } from "./MemberManagementProviders-
|
|
3
|
-
import { O as At } from "./OrdersScreen-
|
|
4
|
-
import { F as ee, e as Mt, f as Rt, S as Ft, P as It, a as Lt, b as kt, d as Dt, A as Ot, C as Re, c as zt, g as Tt, u as Bt, i as Ut, h as Qt, T as $t, j as qt, k as Vt, m as Ht, E as Kt, l as Fe } from "./create-card-entry-container-
|
|
1
|
+
import { c as Z, i as mt, l as v, j as n, aa as ht, ab as le, ac as pt, ad as ne, M as ce, ae as gt, K as E, I as je, H as A, B as de, D as Ae, E as ue, x as xt, G as Q, af as _t, J as H, a8 as T, ag as bt, ah as vt, a7 as yt, P as jt, ai as J, z as fe, R as Me, q as Ct, Y as wt, N as Nt } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
+
import { u as R, a as St, b as B, c as Et, M as Pt } from "./MemberManagementProviders-BS6VVAvZ.js";
|
|
3
|
+
import { O as At } from "./OrdersScreen-DFqHUrkC.js";
|
|
4
|
+
import { F as ee, e as Mt, f as Rt, S as Ft, P as It, a as Lt, b as kt, d as Dt, A as Ot, C as Re, c as zt, g as Tt, u as Bt, i as Ut, h as Qt, T as $t, j as qt, k as Vt, m as Ht, E as Kt, l as Fe } from "./create-card-entry-container-4VLe3B5O.js";
|
|
5
5
|
import { c as Gt } from "./member-permissions-ndhNmlOk.js";
|
|
6
|
-
import { u as me } from "./use-store-
|
|
7
|
-
import { u as Yt } from "./trash-2-
|
|
8
|
-
import { R as Ie, j as Wt, u as K, o as se, s as L } from "./schemas-
|
|
9
|
-
import { I as Xt } from "./sheet-haptics-context-
|
|
10
|
-
import { u as Y } from "./sidebar-
|
|
11
|
-
import { B as Le, P as ke } from "./Textarea-
|
|
12
|
-
import { u as Zt } from "./countries-api-adapter-
|
|
13
|
-
import { u as Jt } from "./PortalTenantClientProvider-
|
|
14
|
-
import { M as er } from "./map-pin-
|
|
15
|
-
import { A as Ce } from "./arrow-left-
|
|
16
|
-
import { L as tr } from "./log-out-
|
|
6
|
+
import { u as me } from "./use-store-DUukxuYV.js";
|
|
7
|
+
import { u as Yt } from "./trash-2-C5c1weGY.js";
|
|
8
|
+
import { R as Ie, j as Wt, u as K, o as se, s as L } from "./schemas-CcDaDYH8.js";
|
|
9
|
+
import { I as Xt } from "./sheet-haptics-context-DTfySPrq.js";
|
|
10
|
+
import { u as Y } from "./sidebar-CkC-f9zG.js";
|
|
11
|
+
import { B as Le, P as ke } from "./Textarea-D-fkMEdH.js";
|
|
12
|
+
import { u as Zt } from "./countries-api-adapter-DRty_8ei.js";
|
|
13
|
+
import { u as Jt } from "./PortalTenantClientProvider-DWOzWTBJ.js";
|
|
14
|
+
import { M as er } from "./map-pin-C_2_P4BZ.js";
|
|
15
|
+
import { A as Ce } from "./arrow-left-D62DJteK.js";
|
|
16
|
+
import { L as tr } from "./log-out-CDzQuZ5N.js";
|
|
17
17
|
/**
|
|
18
18
|
* @license lucide-react v0.575.0 - ISC
|
|
19
19
|
*
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { c as _e, l as o, ak as nt,
|
|
2
|
-
import { k as Ee, R as vt, A as gt, V as xt, l as St, n as wt, C as Re } from "./MobileActionSheet-
|
|
3
|
-
import { C as Ct } from "./schemas-
|
|
1
|
+
import { c as _e, l as o, ak as nt, aW as Te, j as n, aa as rt, ba as be, bq as st, aj as k, ab as j, am as P, ad as $, bb as at, a7 as Ne, aX as lt, ac as ct, br as it, bs as dt, bt as ut, bu as pt, bv as ft, bc as mt, an as Pe, M as te, be as ht } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
+
import { k as Ee, R as vt, A as gt, V as xt, l as St, n as wt, C as Re } from "./MobileActionSheet-CBoGiv4j.js";
|
|
3
|
+
import { C as Ct } from "./schemas-CcDaDYH8.js";
|
|
4
4
|
/**
|
|
5
5
|
* @license lucide-react v0.575.0 - ISC
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the ISC license.
|
|
8
8
|
* See the LICENSE file in the root directory of this source tree.
|
|
9
9
|
*/
|
|
10
|
-
const yt = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]],
|
|
10
|
+
const yt = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], bt = _e("chevron-up", yt);
|
|
11
11
|
/**
|
|
12
12
|
* @license lucide-react v0.575.0 - ISC
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
15
15
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
|
-
const
|
|
17
|
+
const It = [
|
|
18
18
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
19
19
|
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
20
20
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
21
|
-
], po = _e("ellipsis",
|
|
22
|
-
var
|
|
21
|
+
], po = _e("ellipsis", It);
|
|
22
|
+
var Tt = [" ", "Enter", "ArrowUp", "ArrowDown"], Pt = [" ", "Enter"], J = "Select", [ie, de, _t] = st(J), [oe] = rt(J, [
|
|
23
23
|
_t,
|
|
24
24
|
Ee
|
|
25
25
|
]), ue = Ee(), [Nt, G] = oe(J), [Et, Rt] = oe(J), je = (t) => {
|
|
@@ -36,32 +36,32 @@ var bt = [" ", "Enter", "ArrowUp", "ArrowDown"], Pt = [" ", "Enter"], J = "Selec
|
|
|
36
36
|
name: g,
|
|
37
37
|
autoComplete: w,
|
|
38
38
|
disabled: _,
|
|
39
|
-
required:
|
|
39
|
+
required: I,
|
|
40
40
|
form: y
|
|
41
|
-
} = t, d = ue(r), [h, x] = o.useState(null), [m, v] = o.useState(null), [
|
|
41
|
+
} = t, d = ue(r), [h, x] = o.useState(null), [m, v] = o.useState(null), [F, M] = o.useState(!1), ne = nt(f), [N, O] = Te({
|
|
42
42
|
prop: c,
|
|
43
43
|
defaultProp: a ?? !1,
|
|
44
44
|
onChange: u,
|
|
45
45
|
caller: J
|
|
46
|
-
}), [
|
|
46
|
+
}), [W, q] = Te({
|
|
47
47
|
prop: s,
|
|
48
48
|
defaultProp: l,
|
|
49
49
|
onChange: i,
|
|
50
50
|
caller: J
|
|
51
|
-
}), L = o.useRef(null), B = h ? y || !!h.closest("form") : !0, [
|
|
51
|
+
}), L = o.useRef(null), B = h ? y || !!h.closest("form") : !0, [z, V] = o.useState(/* @__PURE__ */ new Set()), H = Array.from(z).map((E) => E.props.value).join(";");
|
|
52
52
|
return /* @__PURE__ */ n.jsx(vt, { ...d, children: /* @__PURE__ */ n.jsxs(
|
|
53
53
|
Nt,
|
|
54
54
|
{
|
|
55
|
-
required:
|
|
55
|
+
required: I,
|
|
56
56
|
scope: r,
|
|
57
57
|
trigger: h,
|
|
58
58
|
onTriggerChange: x,
|
|
59
59
|
valueNode: m,
|
|
60
60
|
onValueNodeChange: v,
|
|
61
|
-
valueNodeHasChildren:
|
|
61
|
+
valueNodeHasChildren: F,
|
|
62
62
|
onValueNodeHasChildrenChange: M,
|
|
63
|
-
contentId:
|
|
64
|
-
value:
|
|
63
|
+
contentId: be(),
|
|
64
|
+
value: W,
|
|
65
65
|
onValueChange: q,
|
|
66
66
|
open: N,
|
|
67
67
|
onOpenChange: O,
|
|
@@ -89,17 +89,17 @@ var bt = [" ", "Enter", "ArrowUp", "ArrowDown"], Pt = [" ", "Enter"], J = "Selec
|
|
|
89
89
|
Qe,
|
|
90
90
|
{
|
|
91
91
|
"aria-hidden": !0,
|
|
92
|
-
required:
|
|
92
|
+
required: I,
|
|
93
93
|
tabIndex: -1,
|
|
94
94
|
name: g,
|
|
95
95
|
autoComplete: w,
|
|
96
|
-
value:
|
|
96
|
+
value: W,
|
|
97
97
|
onChange: (E) => q(E.target.value),
|
|
98
98
|
disabled: _,
|
|
99
99
|
form: y,
|
|
100
100
|
children: [
|
|
101
|
-
|
|
102
|
-
Array.from(
|
|
101
|
+
W === void 0 ? /* @__PURE__ */ n.jsx("option", { value: "" }) : null,
|
|
102
|
+
Array.from(z)
|
|
103
103
|
]
|
|
104
104
|
},
|
|
105
105
|
H
|
|
@@ -111,11 +111,11 @@ var bt = [" ", "Enter", "ArrowUp", "ArrowDown"], Pt = [" ", "Enter"], J = "Selec
|
|
|
111
111
|
je.displayName = J;
|
|
112
112
|
var Me = "SelectTrigger", Ae = o.forwardRef(
|
|
113
113
|
(t, r) => {
|
|
114
|
-
const { __scopeSelect: e, disabled: c = !1, ...a } = t, u = ue(e), s = G(Me, e), l = s.disabled || c, i = k(r, s.onTriggerChange), f = de(e), g = o.useRef("touch"), [w, _,
|
|
114
|
+
const { __scopeSelect: e, disabled: c = !1, ...a } = t, u = ue(e), s = G(Me, e), l = s.disabled || c, i = k(r, s.onTriggerChange), f = de(e), g = o.useRef("touch"), [w, _, I] = tt((d) => {
|
|
115
115
|
const h = f().filter((v) => !v.disabled), x = h.find((v) => v.value === s.value), m = ot(h, d, x);
|
|
116
116
|
m !== void 0 && s.onValueChange(m.value);
|
|
117
117
|
}), y = (d) => {
|
|
118
|
-
l || (s.onOpenChange(!0),
|
|
118
|
+
l || (s.onOpenChange(!0), I()), d && (s.triggerPointerDownPosRef.current = {
|
|
119
119
|
x: Math.round(d.pageX),
|
|
120
120
|
y: Math.round(d.pageY)
|
|
121
121
|
});
|
|
@@ -146,7 +146,7 @@ var Me = "SelectTrigger", Ae = o.forwardRef(
|
|
|
146
146
|
}),
|
|
147
147
|
onKeyDown: P(a.onKeyDown, (d) => {
|
|
148
148
|
const h = w.current !== "";
|
|
149
|
-
!(d.ctrlKey || d.altKey || d.metaKey) && d.key.length === 1 && _(d.key), !(h && d.key === " ") &&
|
|
149
|
+
!(d.ctrlKey || d.altKey || d.metaKey) && d.key.length === 1 && _(d.key), !(h && d.key === " ") && Tt.includes(d.key) && (y(), d.preventDefault());
|
|
150
150
|
})
|
|
151
151
|
}
|
|
152
152
|
) });
|
|
@@ -211,23 +211,23 @@ var A = 10, [Ve, Y] = oe(Q), At = "SelectContentImpl", Ot = pt("SelectContent.Re
|
|
|
211
211
|
alignOffset: g,
|
|
212
212
|
arrowPadding: w,
|
|
213
213
|
collisionBoundary: _,
|
|
214
|
-
collisionPadding:
|
|
214
|
+
collisionPadding: I,
|
|
215
215
|
sticky: y,
|
|
216
216
|
hideWhenDetached: d,
|
|
217
217
|
avoidCollisions: h,
|
|
218
218
|
//
|
|
219
219
|
...x
|
|
220
|
-
} = t, m = G(Q, e), [v,
|
|
220
|
+
} = t, m = G(Q, e), [v, F] = o.useState(null), [M, ne] = o.useState(null), N = k(r, (p) => F(p)), [O, W] = o.useState(null), [q, L] = o.useState(
|
|
221
221
|
null
|
|
222
|
-
), B = de(e), [
|
|
222
|
+
), B = de(e), [z, V] = o.useState(!1), H = o.useRef(!1);
|
|
223
223
|
o.useEffect(() => {
|
|
224
224
|
if (v) return it(v);
|
|
225
225
|
}, [v]), dt();
|
|
226
226
|
const E = o.useCallback(
|
|
227
227
|
(p) => {
|
|
228
|
-
const [
|
|
229
|
-
for (const
|
|
230
|
-
if (
|
|
228
|
+
const [b, ...R] = B().map((T) => T.ref.current), [S] = R.slice(-1), C = document.activeElement;
|
|
229
|
+
for (const T of p)
|
|
230
|
+
if (T === C || (T?.scrollIntoView({ block: "nearest" }), T === b && M && (M.scrollTop = 0), T === S && M && (M.scrollTop = M.scrollHeight), T?.focus(), document.activeElement !== C)) return;
|
|
231
231
|
},
|
|
232
232
|
[B, M]
|
|
233
233
|
), D = o.useCallback(
|
|
@@ -235,22 +235,22 @@ var A = 10, [Ve, Y] = oe(Q), At = "SelectContentImpl", Ot = pt("SelectContent.Re
|
|
|
235
235
|
[E, O, v]
|
|
236
236
|
);
|
|
237
237
|
o.useEffect(() => {
|
|
238
|
-
|
|
239
|
-
}, [
|
|
238
|
+
z && D();
|
|
239
|
+
}, [z, D]);
|
|
240
240
|
const { onOpenChange: U, triggerPointerDownPosRef: K } = m;
|
|
241
241
|
o.useEffect(() => {
|
|
242
242
|
if (v) {
|
|
243
243
|
let p = { x: 0, y: 0 };
|
|
244
|
-
const
|
|
244
|
+
const b = (S) => {
|
|
245
245
|
p = {
|
|
246
246
|
x: Math.abs(Math.round(S.pageX) - (K.current?.x ?? 0)),
|
|
247
247
|
y: Math.abs(Math.round(S.pageY) - (K.current?.y ?? 0))
|
|
248
248
|
};
|
|
249
249
|
}, R = (S) => {
|
|
250
|
-
p.x <= 10 && p.y <= 10 ? S.preventDefault() : v.contains(S.target) || U(!1), document.removeEventListener("pointermove",
|
|
250
|
+
p.x <= 10 && p.y <= 10 ? S.preventDefault() : v.contains(S.target) || U(!1), document.removeEventListener("pointermove", b), K.current = null;
|
|
251
251
|
};
|
|
252
|
-
return K.current !== null && (document.addEventListener("pointermove",
|
|
253
|
-
document.removeEventListener("pointermove",
|
|
252
|
+
return K.current !== null && (document.addEventListener("pointermove", b), document.addEventListener("pointerup", R, { capture: !0, once: !0 })), () => {
|
|
253
|
+
document.removeEventListener("pointermove", b), document.removeEventListener("pointerup", R, { capture: !0 });
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
}, [v, U, K]), o.useEffect(() => {
|
|
@@ -260,18 +260,18 @@ var A = 10, [Ve, Y] = oe(Q), At = "SelectContentImpl", Ot = pt("SelectContent.Re
|
|
|
260
260
|
};
|
|
261
261
|
}, [U]);
|
|
262
262
|
const [pe, ae] = tt((p) => {
|
|
263
|
-
const
|
|
263
|
+
const b = B().filter((C) => !C.disabled), R = b.find((C) => C.ref.current === document.activeElement), S = ot(b, p, R);
|
|
264
264
|
S && setTimeout(() => S.ref.current.focus());
|
|
265
265
|
}), fe = o.useCallback(
|
|
266
|
-
(p,
|
|
266
|
+
(p, b, R) => {
|
|
267
267
|
const S = !H.current && !R;
|
|
268
|
-
(m.value !== void 0 && m.value ===
|
|
268
|
+
(m.value !== void 0 && m.value === b || S) && (W(p), S && (H.current = !0));
|
|
269
269
|
},
|
|
270
270
|
[m.value]
|
|
271
271
|
), me = o.useCallback(() => v?.focus(), [v]), ee = o.useCallback(
|
|
272
|
-
(p,
|
|
272
|
+
(p, b, R) => {
|
|
273
273
|
const S = !H.current && !R;
|
|
274
|
-
(m.value !== void 0 && m.value ===
|
|
274
|
+
(m.value !== void 0 && m.value === b || S) && L(p);
|
|
275
275
|
},
|
|
276
276
|
[m.value]
|
|
277
277
|
), le = c === "popper" ? xe : Ue, re = le === xe ? {
|
|
@@ -281,7 +281,7 @@ var A = 10, [Ve, Y] = oe(Q), At = "SelectContentImpl", Ot = pt("SelectContent.Re
|
|
|
281
281
|
alignOffset: g,
|
|
282
282
|
arrowPadding: w,
|
|
283
283
|
collisionBoundary: _,
|
|
284
|
-
collisionPadding:
|
|
284
|
+
collisionPadding: I,
|
|
285
285
|
sticky: y,
|
|
286
286
|
hideWhenDetached: d,
|
|
287
287
|
avoidCollisions: h
|
|
@@ -300,7 +300,7 @@ var A = 10, [Ve, Y] = oe(Q), At = "SelectContentImpl", Ot = pt("SelectContent.Re
|
|
|
300
300
|
focusSelectedItem: D,
|
|
301
301
|
selectedItemText: q,
|
|
302
302
|
position: c,
|
|
303
|
-
isPositioned:
|
|
303
|
+
isPositioned: z,
|
|
304
304
|
searchRef: pe,
|
|
305
305
|
children: /* @__PURE__ */ n.jsx(ut, { as: Ot, allowPinchZoom: !0, children: /* @__PURE__ */ n.jsx(
|
|
306
306
|
ft,
|
|
@@ -343,12 +343,12 @@ var A = 10, [Ve, Y] = oe(Q), At = "SelectContentImpl", Ot = pt("SelectContent.Re
|
|
|
343
343
|
...x.style
|
|
344
344
|
},
|
|
345
345
|
onKeyDown: P(x.onKeyDown, (p) => {
|
|
346
|
-
const
|
|
347
|
-
if (p.key === "Tab" && p.preventDefault(), !
|
|
346
|
+
const b = p.ctrlKey || p.altKey || p.metaKey;
|
|
347
|
+
if (p.key === "Tab" && p.preventDefault(), !b && p.key.length === 1 && ae(p.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(p.key)) {
|
|
348
348
|
let S = B().filter((C) => !C.disabled).map((C) => C.ref.current);
|
|
349
349
|
if (["ArrowUp", "End"].includes(p.key) && (S = S.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(p.key)) {
|
|
350
|
-
const C = p.target,
|
|
351
|
-
S = S.slice(
|
|
350
|
+
const C = p.target, T = S.indexOf(C);
|
|
351
|
+
S = S.slice(T + 1);
|
|
352
352
|
}
|
|
353
353
|
setTimeout(() => E(S)), p.preventDefault();
|
|
354
354
|
}
|
|
@@ -365,11 +365,11 @@ var A = 10, [Ve, Y] = oe(Q), At = "SelectContentImpl", Ot = pt("SelectContent.Re
|
|
|
365
365
|
);
|
|
366
366
|
He.displayName = At;
|
|
367
367
|
var Dt = "SelectItemAlignedPosition", Ue = o.forwardRef((t, r) => {
|
|
368
|
-
const { __scopeSelect: e, onPlaced: c, ...a } = t, u = G(Q, e), s = Y(Q, e), [l, i] = o.useState(null), [f, g] = o.useState(null), w = k(r, (N) => g(N)), _ = de(e),
|
|
368
|
+
const { __scopeSelect: e, onPlaced: c, ...a } = t, u = G(Q, e), s = Y(Q, e), [l, i] = o.useState(null), [f, g] = o.useState(null), w = k(r, (N) => g(N)), _ = de(e), I = o.useRef(!1), y = o.useRef(!0), { viewport: d, selectedItem: h, selectedItemText: x, focusSelectedItem: m } = s, v = o.useCallback(() => {
|
|
369
369
|
if (u.trigger && u.valueNode && l && f && d && h && x) {
|
|
370
|
-
const N = u.trigger.getBoundingClientRect(), O = f.getBoundingClientRect(),
|
|
370
|
+
const N = u.trigger.getBoundingClientRect(), O = f.getBoundingClientRect(), W = u.valueNode.getBoundingClientRect(), q = x.getBoundingClientRect();
|
|
371
371
|
if (u.dir !== "rtl") {
|
|
372
|
-
const C = q.left - O.left,
|
|
372
|
+
const C = q.left - O.left, T = W.left - C, X = N.left - T, Z = N.width + X, he = Math.max(Z, O.width), ve = window.innerWidth - A, ge = Pe(T, [
|
|
373
373
|
A,
|
|
374
374
|
// Prevents the content from going off the starting edge of the
|
|
375
375
|
// viewport. It may still go off the ending edge, but this can be
|
|
@@ -380,21 +380,21 @@ var Dt = "SelectItemAlignedPosition", Ue = o.forwardRef((t, r) => {
|
|
|
380
380
|
]);
|
|
381
381
|
l.style.minWidth = Z + "px", l.style.left = ge + "px";
|
|
382
382
|
} else {
|
|
383
|
-
const C = O.right - q.right,
|
|
383
|
+
const C = O.right - q.right, T = window.innerWidth - W.right - C, X = window.innerWidth - N.right - T, Z = N.width + X, he = Math.max(Z, O.width), ve = window.innerWidth - A, ge = Pe(T, [
|
|
384
384
|
A,
|
|
385
385
|
Math.max(A, ve - he)
|
|
386
386
|
]);
|
|
387
387
|
l.style.minWidth = Z + "px", l.style.right = ge + "px";
|
|
388
388
|
}
|
|
389
|
-
const L = _(), B = window.innerHeight - A * 2,
|
|
390
|
-
if (
|
|
389
|
+
const L = _(), B = window.innerHeight - A * 2, z = d.scrollHeight, V = window.getComputedStyle(f), H = parseInt(V.borderTopWidth, 10), E = parseInt(V.paddingTop, 10), D = parseInt(V.borderBottomWidth, 10), U = parseInt(V.paddingBottom, 10), K = H + E + z + U + D, pe = Math.min(h.offsetHeight * 5, K), ae = window.getComputedStyle(d), fe = parseInt(ae.paddingTop, 10), me = parseInt(ae.paddingBottom, 10), ee = N.top + N.height / 2 - A, le = B - ee, re = h.offsetHeight / 2, p = h.offsetTop + re, b = H + E + p, R = K - b;
|
|
390
|
+
if (b <= ee) {
|
|
391
391
|
const C = L.length > 0 && h === L[L.length - 1].ref.current;
|
|
392
392
|
l.style.bottom = "0px";
|
|
393
|
-
const
|
|
393
|
+
const T = f.clientHeight - d.offsetTop - d.offsetHeight, X = Math.max(
|
|
394
394
|
le,
|
|
395
395
|
re + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
|
396
|
-
(C ? me : 0) +
|
|
397
|
-
), Z =
|
|
396
|
+
(C ? me : 0) + T + D
|
|
397
|
+
), Z = b + X;
|
|
398
398
|
l.style.height = Z + "px";
|
|
399
399
|
} else {
|
|
400
400
|
const C = L.length > 0 && h === L[0].ref.current;
|
|
@@ -404,9 +404,9 @@ var Dt = "SelectItemAlignedPosition", Ue = o.forwardRef((t, r) => {
|
|
|
404
404
|
H + d.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
|
|
405
405
|
(C ? fe : 0) + re
|
|
406
406
|
) + R;
|
|
407
|
-
l.style.height = X + "px", d.scrollTop =
|
|
407
|
+
l.style.height = X + "px", d.scrollTop = b - ee + d.offsetTop;
|
|
408
408
|
}
|
|
409
|
-
l.style.margin = `${A}px 0`, l.style.minHeight = pe + "px", l.style.maxHeight = B + "px", c?.(), requestAnimationFrame(() =>
|
|
409
|
+
l.style.margin = `${A}px 0`, l.style.minHeight = pe + "px", l.style.maxHeight = B + "px", c?.(), requestAnimationFrame(() => I.current = !0);
|
|
410
410
|
}
|
|
411
411
|
}, [
|
|
412
412
|
_,
|
|
@@ -421,7 +421,7 @@ var Dt = "SelectItemAlignedPosition", Ue = o.forwardRef((t, r) => {
|
|
|
421
421
|
c
|
|
422
422
|
]);
|
|
423
423
|
$(() => v(), [v]);
|
|
424
|
-
const [
|
|
424
|
+
const [F, M] = o.useState();
|
|
425
425
|
$(() => {
|
|
426
426
|
f && M(window.getComputedStyle(f).zIndex);
|
|
427
427
|
}, [f]);
|
|
@@ -436,7 +436,7 @@ var Dt = "SelectItemAlignedPosition", Ue = o.forwardRef((t, r) => {
|
|
|
436
436
|
{
|
|
437
437
|
scope: e,
|
|
438
438
|
contentWrapper: l,
|
|
439
|
-
shouldExpandOnScrollRef:
|
|
439
|
+
shouldExpandOnScrollRef: I,
|
|
440
440
|
onScrollButtonChange: ne,
|
|
441
441
|
children: /* @__PURE__ */ n.jsx(
|
|
442
442
|
"div",
|
|
@@ -446,7 +446,7 @@ var Dt = "SelectItemAlignedPosition", Ue = o.forwardRef((t, r) => {
|
|
|
446
446
|
display: "flex",
|
|
447
447
|
flexDirection: "column",
|
|
448
448
|
position: "fixed",
|
|
449
|
-
zIndex:
|
|
449
|
+
zIndex: F
|
|
450
450
|
},
|
|
451
451
|
children: /* @__PURE__ */ n.jsx(
|
|
452
452
|
j.div,
|
|
@@ -498,9 +498,9 @@ var kt = "SelectPopperPosition", xe = o.forwardRef((t, r) => {
|
|
|
498
498
|
);
|
|
499
499
|
});
|
|
500
500
|
xe.displayName = kt;
|
|
501
|
-
var [Lt,
|
|
501
|
+
var [Lt, Ie] = oe(Q, {}), Se = "SelectViewport", Fe = o.forwardRef(
|
|
502
502
|
(t, r) => {
|
|
503
|
-
const { __scopeSelect: e, nonce: c, ...a } = t, u = Y(Se, e), s =
|
|
503
|
+
const { __scopeSelect: e, nonce: c, ...a } = t, u = Y(Se, e), s = Ie(Se, e), l = k(r, u.onViewportChange), i = o.useRef(0);
|
|
504
504
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
505
505
|
/* @__PURE__ */ n.jsx(
|
|
506
506
|
"style",
|
|
@@ -534,12 +534,12 @@ var [Lt, Te] = oe(Q, {}), Se = "SelectViewport", ze = o.forwardRef(
|
|
|
534
534
|
onScroll: P(a.onScroll, (f) => {
|
|
535
535
|
const g = f.currentTarget, { contentWrapper: w, shouldExpandOnScrollRef: _ } = s;
|
|
536
536
|
if (_?.current && w) {
|
|
537
|
-
const
|
|
538
|
-
if (
|
|
537
|
+
const I = Math.abs(i.current - g.scrollTop);
|
|
538
|
+
if (I > 0) {
|
|
539
539
|
const y = window.innerHeight - A * 2, d = parseFloat(w.style.minHeight), h = parseFloat(w.style.height), x = Math.max(d, h);
|
|
540
540
|
if (x < y) {
|
|
541
|
-
const m = x +
|
|
542
|
-
w.style.height = v + "px", w.style.bottom === "0px" && (g.scrollTop =
|
|
541
|
+
const m = x + I, v = Math.min(y, m), F = m - v;
|
|
542
|
+
w.style.height = v + "px", w.style.bottom === "0px" && (g.scrollTop = F > 0 ? F : 0, w.style.justifyContent = "flex-end");
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
}
|
|
@@ -550,22 +550,22 @@ var [Lt, Te] = oe(Q, {}), Se = "SelectViewport", ze = o.forwardRef(
|
|
|
550
550
|
] });
|
|
551
551
|
}
|
|
552
552
|
);
|
|
553
|
-
|
|
554
|
-
var
|
|
553
|
+
Fe.displayName = Se;
|
|
554
|
+
var We = "SelectGroup", [Bt, Vt] = oe(We), Ht = o.forwardRef(
|
|
555
555
|
(t, r) => {
|
|
556
|
-
const { __scopeSelect: e, ...c } = t, a =
|
|
556
|
+
const { __scopeSelect: e, ...c } = t, a = be();
|
|
557
557
|
return /* @__PURE__ */ n.jsx(Bt, { scope: e, id: a, children: /* @__PURE__ */ n.jsx(j.div, { role: "group", "aria-labelledby": a, ...c, ref: r }) });
|
|
558
558
|
}
|
|
559
559
|
);
|
|
560
|
-
Ht.displayName =
|
|
561
|
-
var
|
|
560
|
+
Ht.displayName = We;
|
|
561
|
+
var ze = "SelectLabel", Ut = o.forwardRef(
|
|
562
562
|
(t, r) => {
|
|
563
|
-
const { __scopeSelect: e, ...c } = t, a = Vt(
|
|
563
|
+
const { __scopeSelect: e, ...c } = t, a = Vt(ze, e);
|
|
564
564
|
return /* @__PURE__ */ n.jsx(j.div, { id: a.id, ...c, ref: r });
|
|
565
565
|
}
|
|
566
566
|
);
|
|
567
|
-
Ut.displayName =
|
|
568
|
-
var ce = "SelectItem", [
|
|
567
|
+
Ut.displayName = ze;
|
|
568
|
+
var ce = "SelectItem", [Ft, Ke] = oe(ce), $e = o.forwardRef(
|
|
569
569
|
(t, r) => {
|
|
570
570
|
const {
|
|
571
571
|
__scopeSelect: e,
|
|
@@ -573,10 +573,10 @@ var ce = "SelectItem", [zt, Ke] = oe(ce), $e = o.forwardRef(
|
|
|
573
573
|
disabled: a = !1,
|
|
574
574
|
textValue: u,
|
|
575
575
|
...s
|
|
576
|
-
} = t, l = G(ce, e), i = Y(ce, e), f = l.value === c, [g, w] = o.useState(u ?? ""), [_,
|
|
576
|
+
} = t, l = G(ce, e), i = Y(ce, e), f = l.value === c, [g, w] = o.useState(u ?? ""), [_, I] = o.useState(!1), y = k(
|
|
577
577
|
r,
|
|
578
578
|
(m) => i.itemRefCallback?.(m, c, a)
|
|
579
|
-
), d =
|
|
579
|
+
), d = be(), h = o.useRef("touch"), x = () => {
|
|
580
580
|
a || (l.onValueChange(c), l.onOpenChange(!1));
|
|
581
581
|
};
|
|
582
582
|
if (c === "")
|
|
@@ -584,7 +584,7 @@ var ce = "SelectItem", [zt, Ke] = oe(ce), $e = o.forwardRef(
|
|
|
584
584
|
"A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
|
|
585
585
|
);
|
|
586
586
|
return /* @__PURE__ */ n.jsx(
|
|
587
|
-
|
|
587
|
+
Ft,
|
|
588
588
|
{
|
|
589
589
|
scope: e,
|
|
590
590
|
value: c,
|
|
@@ -614,8 +614,8 @@ var ce = "SelectItem", [zt, Ke] = oe(ce), $e = o.forwardRef(
|
|
|
614
614
|
tabIndex: a ? void 0 : -1,
|
|
615
615
|
...s,
|
|
616
616
|
ref: y,
|
|
617
|
-
onFocus: P(s.onFocus, () =>
|
|
618
|
-
onBlur: P(s.onBlur, () =>
|
|
617
|
+
onFocus: P(s.onFocus, () => I(!0)),
|
|
618
|
+
onBlur: P(s.onBlur, () => I(!1)),
|
|
619
619
|
onClick: P(s.onClick, () => {
|
|
620
620
|
h.current !== "mouse" && x();
|
|
621
621
|
}),
|
|
@@ -650,9 +650,9 @@ var se = "SelectItemText", Ge = o.forwardRef(
|
|
|
650
650
|
(x) => w(x),
|
|
651
651
|
i.onItemTextChange,
|
|
652
652
|
(x) => l.itemTextRefCallback?.(x, i.value, i.disabled)
|
|
653
|
-
),
|
|
654
|
-
() => /* @__PURE__ */ n.jsx("option", { value: i.value, disabled: i.disabled, children:
|
|
655
|
-
[i.disabled, i.value,
|
|
653
|
+
), I = g?.textContent, y = o.useMemo(
|
|
654
|
+
() => /* @__PURE__ */ n.jsx("option", { value: i.value, disabled: i.disabled, children: I }, i.value),
|
|
655
|
+
[i.disabled, i.value, I]
|
|
656
656
|
), { onNativeOptionAdd: d, onNativeOptionRemove: h } = f;
|
|
657
657
|
return $(() => (d(y), () => h(y)), [d, h, y]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
658
658
|
/* @__PURE__ */ n.jsx(j.span, { id: i.textId, ...u, ref: _ }),
|
|
@@ -669,7 +669,7 @@ var Ye = "SelectItemIndicator", qe = o.forwardRef(
|
|
|
669
669
|
);
|
|
670
670
|
qe.displayName = Ye;
|
|
671
671
|
var we = "SelectScrollUpButton", Xe = o.forwardRef((t, r) => {
|
|
672
|
-
const e = Y(we, t.__scopeSelect), c =
|
|
672
|
+
const e = Y(we, t.__scopeSelect), c = Ie(we, t.__scopeSelect), [a, u] = o.useState(!1), s = k(r, c.onScrollButtonChange);
|
|
673
673
|
return $(() => {
|
|
674
674
|
if (e.viewport && e.isPositioned) {
|
|
675
675
|
let l = function() {
|
|
@@ -693,7 +693,7 @@ var we = "SelectScrollUpButton", Xe = o.forwardRef((t, r) => {
|
|
|
693
693
|
});
|
|
694
694
|
Xe.displayName = we;
|
|
695
695
|
var Ce = "SelectScrollDownButton", Ze = o.forwardRef((t, r) => {
|
|
696
|
-
const e = Y(Ce, t.__scopeSelect), c =
|
|
696
|
+
const e = Y(Ce, t.__scopeSelect), c = Ie(Ce, t.__scopeSelect), [a, u] = o.useState(!1), s = k(r, c.onScrollButtonChange);
|
|
697
697
|
return $(() => {
|
|
698
698
|
if (e.viewport && e.isPositioned) {
|
|
699
699
|
let l = function() {
|
|
@@ -740,13 +740,13 @@ var Je = o.forwardRef((t, r) => {
|
|
|
740
740
|
})
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
}),
|
|
743
|
+
}), Wt = "SelectSeparator", zt = o.forwardRef(
|
|
744
744
|
(t, r) => {
|
|
745
745
|
const { __scopeSelect: e, ...c } = t;
|
|
746
746
|
return /* @__PURE__ */ n.jsx(j.div, { "aria-hidden": !0, ...c, ref: r });
|
|
747
747
|
}
|
|
748
748
|
);
|
|
749
|
-
|
|
749
|
+
zt.displayName = Wt;
|
|
750
750
|
var ye = "SelectArrow", Kt = o.forwardRef(
|
|
751
751
|
(t, r) => {
|
|
752
752
|
const { __scopeSelect: e, ...c } = t, a = ue(e), u = G(ye, e), s = Y(ye, e);
|
|
@@ -809,7 +809,7 @@ function ot(t, r, e) {
|
|
|
809
809
|
function Gt(t, r) {
|
|
810
810
|
return t.map((e, c) => t[(r + c) % t.length]);
|
|
811
811
|
}
|
|
812
|
-
var Yt = je, qt = Ae, Xt = De, Zt = ke, Jt = Le, Qt = Be, eo =
|
|
812
|
+
var Yt = je, qt = Ae, Xt = De, Zt = ke, Jt = Le, Qt = Be, eo = Fe, to = $e, oo = Ge, no = qe, ro = Xe, so = Ze;
|
|
813
813
|
function fo({
|
|
814
814
|
...t
|
|
815
815
|
}) {
|
|
@@ -921,7 +921,7 @@ function ao({
|
|
|
921
921
|
t
|
|
922
922
|
),
|
|
923
923
|
...r,
|
|
924
|
-
children: /* @__PURE__ */ n.jsx(
|
|
924
|
+
children: /* @__PURE__ */ n.jsx(bt, { className: "size-4" })
|
|
925
925
|
}
|
|
926
926
|
);
|
|
927
927
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as o, z as u, j as r, P as d, B as l, D as p, E as m } from "./account-screen-runtime-
|
|
2
|
-
import { c as x, S as f, P as j, a as S, b as P, d as h } from "./create-card-entry-container-
|
|
3
|
-
import { M as b } from "./MemberManagementProviders-
|
|
1
|
+
import { l as o, z as u, j as r, P as d, B as l, D as p, E as m } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
+
import { c as x, S as f, P as j, a as S, b as P, d as h } from "./create-card-entry-container-4VLe3B5O.js";
|
|
3
|
+
import { M as b } from "./MemberManagementProviders-BS6VVAvZ.js";
|
|
4
4
|
function v({
|
|
5
5
|
children: n
|
|
6
6
|
}) {
|