@fluid-app/fluid-cli-theme-dev 0.1.750 → 0.1.752
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 +255 -261
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Combobox-DluUOyIh.js → Combobox-DN6uDwMf.js} +47 -47
- package/dist/dist-cli-preview/chunks/{ContactsScreen-BfIuH4zD.js → ContactsScreen-DcqiPXmX.js} +90 -90
- package/dist/dist-cli-preview/chunks/MediaScreen-C3wF55uB.js +8 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-bM9sYpW9.js → MemberManagementProviders-Bln-Y7uX.js} +6 -6
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-BpBDqbDD.js → MemberShareablesScreen-CMS8mOM-.js} +21 -21
- package/dist/dist-cli-preview/chunks/{MessagingScreen-B7329DBG.js → MessagingScreen-BamvtDSy.js} +6770 -6805
- package/dist/dist-cli-preview/chunks/{MobileActionSheet-D2rBX4Lx.js → MobileActionSheet-rTSxp-qM.js} +4 -4
- package/dist/dist-cli-preview/chunks/{MySiteScreen-AwmY3Ez5.js → MySiteScreen-H6AtTSxj.js} +124 -121
- package/dist/dist-cli-preview/chunks/{OrdersScreen-Bvo_Mx3w.js → OrdersScreen-0mJVaeqy.js} +8 -8
- package/dist/dist-cli-preview/chunks/OrdersScreen-PJd4uSZW.js +9 -0
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-mRYnXb2q.js +8 -0
- package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-B3BFo8T5.js → PortalTenantClientProvider-CpIpKQVv.js} +1 -1
- package/dist/dist-cli-preview/chunks/{ProfileScreen-RH5vNLYu.js → ProfileScreen-B5_5apcV.js} +14 -14
- package/dist/dist-cli-preview/chunks/{ResponsiveDialog-Cuv5gFUx.js → ResponsiveDialog-CRjYPJDy.js} +73 -73
- package/dist/dist-cli-preview/chunks/{Select-CD9zC8ic.js → Select-V9j-VL4o.js} +2 -2
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-DUV4cuMi.js → SubscriptionsScreen-DEwFQ2JA.js} +3 -3
- package/dist/dist-cli-preview/chunks/{Textarea-BX1sqax1.js → Textarea-DpGnk7nw.js} +42 -42
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-gWamEEiQ.js → account-screen-runtime-B9i-9CLs.js} +2701 -2643
- package/dist/dist-cli-preview/chunks/{arrow-left-C-2EMJLp.js → arrow-left-Ds5JkG8w.js} +1 -1
- package/dist/dist-cli-preview/chunks/{cli-preview-DkdtTiW-.js → cli-preview-dpKrAzda.js} +10 -10
- package/dist/dist-cli-preview/chunks/{client.gen-Bn09emPC.js → client.gen-CG8-mDod.js} +20 -20
- package/dist/dist-cli-preview/chunks/{copy-DO_MJg1G.js → copy-CwTnpnmt.js} +1 -1
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-DRAx82BG.js → countries-api-adapter-c75511Cl.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-CkVBOwVA.js → create-card-entry-container-GX283QPD.js} +17967 -17974
- package/dist/dist-cli-preview/chunks/{hey-api-client-BtWnXt6Y.js → hey-api-client-EAWr0fT_.js} +1 -1
- package/dist/dist-cli-preview/chunks/{index-dtGU2026.js → index-BNk_peyi.js} +19 -19
- package/dist/dist-cli-preview/chunks/{index-DSMhrA7P.js → index-CHSpeqMH.js} +1 -1
- package/dist/dist-cli-preview/chunks/{index-B23yRHYj.js → index-Cwr1yiwQ.js} +3 -3
- package/dist/dist-cli-preview/chunks/{map-pin-_fZf7MT1.js → map-pin-Dyg5NsTr.js} +1 -1
- package/dist/dist-cli-preview/chunks/{mount-account-screen-wMW2XzB7.js → mount-account-screen-B7Ap9PT0.js} +8 -8
- package/dist/dist-cli-preview/chunks/mysite-BsaDPWEO.js +4 -0
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-x9j5GXO3.js → navigate-account-screen-CbjUeIuP.js} +1 -1
- package/dist/dist-cli-preview/chunks/{schemas-BGhVnzPl.js → schemas-CZvv_5iX.js} +2 -2
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-yYCdefUM.js → screen-route-slug-utils-yRpUie2O.js} +1 -1
- package/dist/dist-cli-preview/chunks/{search-DAHGESai.js → search-8wgRmDw1.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sheet-haptics-context-1PrsBukT.js → sheet-haptics-context-COwdGTra.js} +17 -17
- package/dist/dist-cli-preview/chunks/{sidebar-DqS7s6Fo.js → sidebar-SmEnwFoV.js} +19 -19
- package/dist/dist-cli-preview/chunks/{sortable.esm-aUBXTWUl.js → sortable.esm-CibJ9yWj.js} +2 -2
- package/dist/dist-cli-preview/chunks/{store-api-context-DfNTd_aW.js → store-api-context-TW7uud2C.js} +1 -1
- package/dist/dist-cli-preview/chunks/{translation-api-context-factory-DDptTXAu.js → translation-api-context-factory-BEO-iYLb.js} +1 -1
- package/dist/dist-cli-preview/chunks/{use-mobile-CzhxjMYC.js → use-mobile-BChC77Fq.js} +3 -3
- package/dist/dist-cli-preview/chunks/{use-optional-store-DdujEdZ6.js → use-optional-store-DopS-Jc8.js} +2 -2
- package/dist/dist-cli-preview/chunks/{use-store-B2hbh2xH.js → use-store-CXu_fhao.js} +6 -6
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-BoOiol5L.js → useInfiniteQuery-Dw0mdxuD.js} +1 -1
- package/dist/dist-cli-preview/chunks/{users-lOg_maXR.js → users-BwLXeQJs.js} +1 -1
- package/package.json +2 -2
- package/dist/dist-cli-preview/chunks/MediaScreen-DCTVGUEM.js +0 -8
- package/dist/dist-cli-preview/chunks/OrdersScreen-ei7lxIS6.js +0 -9
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-CU2BChK-.js +0 -8
- package/dist/dist-cli-preview/chunks/isAfter-BR4uNpua.js +0 -1313
- package/dist/dist-cli-preview/chunks/mysite-f4Rrey_c.js +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Y as ue, l as u, aj as me, j as t, X as I, a1 as W,
|
|
2
|
-
import { c as ge, a as he, b as _e, u as be } from "./translation-api-context-factory-
|
|
3
|
-
import { f as q, h as je, I as ye, R as Ne, m as ve, r as z, n as G, i as A, e as we, p as ke } from "./MemberManagementProviders-
|
|
4
|
-
import { u as Se } from "./useInfiniteQuery-
|
|
5
|
-
import { B as X, a as V, b as T, c as H, I as Oe, S as g, d as De, e as Ce } from "./sheet-haptics-context-
|
|
6
|
-
import "./store-api-context-
|
|
7
|
-
import { S as Q } from "./search-
|
|
8
|
-
import { u as Le } from "./use-optional-store-
|
|
1
|
+
import { Y as ue, l as u, aj as me, j as t, X as I, a1 as W, aQ as pe, B as $, ak as xe, E as fe } from "./account-screen-runtime-B9i-9CLs.js";
|
|
2
|
+
import { c as ge, a as he, b as _e, u as be } from "./translation-api-context-factory-BEO-iYLb.js";
|
|
3
|
+
import { f as q, h as je, I as ye, R as Ne, m as ve, r as z, n as G, i as A, e as we, p as ke } from "./MemberManagementProviders-Bln-Y7uX.js";
|
|
4
|
+
import { u as Se } from "./useInfiniteQuery-Dw0mdxuD.js";
|
|
5
|
+
import { B as X, a as V, b as T, c as H, I as Oe, S as g, d as De, e as Ce } from "./sheet-haptics-context-COwdGTra.js";
|
|
6
|
+
import "./store-api-context-TW7uud2C.js";
|
|
7
|
+
import { S as Q } from "./search-8wgRmDw1.js";
|
|
8
|
+
import { u as Le } from "./use-optional-store-DopS-Jc8.js";
|
|
9
9
|
const Te = {
|
|
10
10
|
all: ["orders"]
|
|
11
11
|
}, P = {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as r } from "./account-screen-runtime-B9i-9CLs.js";
|
|
2
|
+
import { O as e } from "./OrdersScreen-0mJVaeqy.js";
|
|
3
|
+
import { M as o } from "./MemberManagementProviders-Bln-Y7uX.js";
|
|
4
|
+
function t() {
|
|
5
|
+
return /* @__PURE__ */ r.jsx(o, { children: /* @__PURE__ */ r.jsx(e, {}) });
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
t as OrdersScreen
|
|
9
|
+
};
|
package/dist/dist-cli-preview/chunks/{ProfileScreen-RH5vNLYu.js → ProfileScreen-B5_5apcV.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as Y, i as ht, l as v, j as n, G as pt, J as ce, al as gt, am as ne, X as de, an as xt, $ as E, I as Ce, Z as A, B as ue, D as Me, E as fe, x as _t, Y as $, ao as bt, _ as H, aj as T, ap as vt, aq as yt, ai as jt, P as Ct, ar as J, z as me, a3 as Re, q as wt, a7 as Nt, a1 as St } from "./account-screen-runtime-
|
|
2
|
-
import { u as R, a as Et, b as B, c as Pt, M as At } from "./MemberManagementProviders-
|
|
3
|
-
import { O as Mt } from "./OrdersScreen-
|
|
4
|
-
import { F as ee, e as Rt, f as Ft, S as It, P as Lt, a as kt, b as Dt, d as Ot, A as zt, C as Fe, c as Tt, g as Bt, u as Ut, i as $t, h as qt, T as Qt, j as Vt, k as Ht, m as Kt, E as Gt, p as Yt, l as Ie } from "./create-card-entry-container-
|
|
1
|
+
import { c as Y, i as ht, l as v, j as n, G as pt, J as ce, al as gt, am as ne, X as de, an as xt, $ as E, I as Ce, Z as A, B as ue, D as Me, E as fe, x as _t, Y as $, ao as bt, _ as H, aj as T, ap as vt, aq as yt, ai as jt, P as Ct, ar as J, z as me, a3 as Re, q as wt, a7 as Nt, a1 as St } from "./account-screen-runtime-B9i-9CLs.js";
|
|
2
|
+
import { u as R, a as Et, b as B, c as Pt, M as At } from "./MemberManagementProviders-Bln-Y7uX.js";
|
|
3
|
+
import { O as Mt } from "./OrdersScreen-0mJVaeqy.js";
|
|
4
|
+
import { F as ee, e as Rt, f as Ft, S as It, P as Lt, a as kt, b as Dt, d as Ot, A as zt, C as Fe, c as Tt, g as Bt, u as Ut, i as $t, h as qt, T as Qt, j as Vt, k as Ht, m as Kt, E as Gt, p as Yt, l as Ie } from "./create-card-entry-container-GX283QPD.js";
|
|
5
5
|
import { c as Xt } from "./member-permissions-ndhNmlOk.js";
|
|
6
|
-
import { u as he } from "./use-store-
|
|
7
|
-
import { u as K, f as Wt, o as se, s as L } from "./schemas-
|
|
8
|
-
import { R as Le, e as Zt } from "./ResponsiveDialog-
|
|
9
|
-
import { I as Jt } from "./sheet-haptics-context-
|
|
10
|
-
import { u as X } from "./sidebar-
|
|
11
|
-
import { B as ke, a as De } from "./Textarea-
|
|
12
|
-
import { u as er } from "./countries-api-adapter-
|
|
13
|
-
import { u as tr } from "./PortalTenantClientProvider-
|
|
14
|
-
import { M as rr } from "./map-pin-
|
|
15
|
-
import { A as we } from "./arrow-left-
|
|
6
|
+
import { u as he } from "./use-store-CXu_fhao.js";
|
|
7
|
+
import { u as K, f as Wt, o as se, s as L } from "./schemas-CZvv_5iX.js";
|
|
8
|
+
import { R as Le, e as Zt } from "./ResponsiveDialog-CRjYPJDy.js";
|
|
9
|
+
import { I as Jt } from "./sheet-haptics-context-COwdGTra.js";
|
|
10
|
+
import { u as X } from "./sidebar-SmEnwFoV.js";
|
|
11
|
+
import { B as ke, a as De } from "./Textarea-DpGnk7nw.js";
|
|
12
|
+
import { u as er } from "./countries-api-adapter-c75511Cl.js";
|
|
13
|
+
import { u as tr } from "./PortalTenantClientProvider-CpIpKQVv.js";
|
|
14
|
+
import { M as rr } from "./map-pin-Dyg5NsTr.js";
|
|
15
|
+
import { A as we } from "./arrow-left-Ds5JkG8w.js";
|
|
16
16
|
/**
|
|
17
17
|
* @license lucide-react v0.575.0 - ISC
|
|
18
18
|
*
|
package/dist/dist-cli-preview/chunks/{ResponsiveDialog-Cuv5gFUx.js → ResponsiveDialog-CRjYPJDy.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as te, j as a, X as
|
|
2
|
-
import { u as
|
|
1
|
+
import { c as te, j as a, X as _, bq as Ae, W as De, br as je, af as Ie, bH as he, a0 as Oe, bI as Le, bJ as ke, bs as Fe, l, aR as $e, aS as Ve, P as ge, aT as Ge, bo as Xe } from "./account-screen-runtime-B9i-9CLs.js";
|
|
2
|
+
import { u as Ye } from "./sheet-haptics-context-COwdGTra.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license lucide-react v0.575.0 - ISC
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the ISC license.
|
|
7
7
|
* See the LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const ze = [
|
|
10
10
|
[
|
|
11
11
|
"path",
|
|
12
12
|
{
|
|
@@ -15,7 +15,7 @@ const Ge = [
|
|
|
15
15
|
}
|
|
16
16
|
],
|
|
17
17
|
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
18
|
-
], Ct = te("pencil",
|
|
18
|
+
], Ct = te("pencil", ze);
|
|
19
19
|
/**
|
|
20
20
|
* @license lucide-react v0.575.0 - ISC
|
|
21
21
|
*
|
|
@@ -44,7 +44,7 @@ function qe({
|
|
|
44
44
|
}) {
|
|
45
45
|
return /* @__PURE__ */ a.jsx(Ae, { "data-slot": "dialog", ...n });
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function be({
|
|
48
48
|
...n
|
|
49
49
|
}) {
|
|
50
50
|
const o = De();
|
|
@@ -70,7 +70,7 @@ function We({
|
|
|
70
70
|
Fe,
|
|
71
71
|
{
|
|
72
72
|
"data-slot": "dialog-overlay",
|
|
73
|
-
className:
|
|
73
|
+
className: _(
|
|
74
74
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-[#030712]/70 backdrop-blur-sm",
|
|
75
75
|
n
|
|
76
76
|
),
|
|
@@ -85,13 +85,13 @@ function Je({
|
|
|
85
85
|
overlayClassName: d,
|
|
86
86
|
...p
|
|
87
87
|
}) {
|
|
88
|
-
return /* @__PURE__ */ a.jsxs(
|
|
88
|
+
return /* @__PURE__ */ a.jsxs(be, { "data-slot": "dialog-portal", children: [
|
|
89
89
|
/* @__PURE__ */ a.jsx(We, { className: d }),
|
|
90
90
|
/* @__PURE__ */ a.jsxs(
|
|
91
91
|
Ie,
|
|
92
92
|
{
|
|
93
93
|
"data-slot": "dialog-content",
|
|
94
|
-
className:
|
|
94
|
+
className: _(
|
|
95
95
|
"bg-background data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-6 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
96
96
|
n
|
|
97
97
|
),
|
|
@@ -122,7 +122,7 @@ function Ke({
|
|
|
122
122
|
"div",
|
|
123
123
|
{
|
|
124
124
|
"data-slot": "dialog-header",
|
|
125
|
-
className:
|
|
125
|
+
className: _("flex flex-col gap-2 text-center sm:text-left", n),
|
|
126
126
|
...o
|
|
127
127
|
}
|
|
128
128
|
);
|
|
@@ -135,7 +135,7 @@ function jt({
|
|
|
135
135
|
"div",
|
|
136
136
|
{
|
|
137
137
|
"data-slot": "dialog-footer",
|
|
138
|
-
className:
|
|
138
|
+
className: _(
|
|
139
139
|
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
140
140
|
n
|
|
141
141
|
),
|
|
@@ -151,7 +151,7 @@ function Qe({
|
|
|
151
151
|
Le,
|
|
152
152
|
{
|
|
153
153
|
"data-slot": "dialog-title",
|
|
154
|
-
className:
|
|
154
|
+
className: _("text-lg leading-none font-semibold", n),
|
|
155
155
|
...o
|
|
156
156
|
}
|
|
157
157
|
);
|
|
@@ -164,12 +164,12 @@ function Ze({
|
|
|
164
164
|
ke,
|
|
165
165
|
{
|
|
166
166
|
"data-slot": "dialog-description",
|
|
167
|
-
className:
|
|
167
|
+
className: _("text-muted-foreground text-sm", n),
|
|
168
168
|
...o
|
|
169
169
|
}
|
|
170
170
|
);
|
|
171
171
|
}
|
|
172
|
-
const et = 0.25, tt = 0.35, nt = 0.4, ot = 0.35, st = 20, rt = 100, at = 180, it = 8, ct = 2, lt = 180, ut = 420, dt = 360,
|
|
172
|
+
const et = 0.25, tt = 0.35, nt = 0.4, ot = 0.35, st = 20, rt = 100, at = 180, it = 8, ct = 2, lt = 180, ut = 420, dt = 360, R = "cubic-bezier(0.32, 0.72, 0, 1)", ee = 0.08, mt = 0.95, ft = 0.56, pt = 0.72, ht = 320, gt = 12, bt = 8, fe = 28, xt = 18, vt = {
|
|
173
173
|
background: "bg-background",
|
|
174
174
|
sidebar: "bg-sidebar"
|
|
175
175
|
};
|
|
@@ -181,7 +181,7 @@ function yt(n, o) {
|
|
|
181
181
|
return f <= 0 ? n >= o.expandedHeight ? 1 : 0 : W((n - o.compactHeight) / f, 0, 1);
|
|
182
182
|
}
|
|
183
183
|
function q(n, o, f, d, p) {
|
|
184
|
-
const E = yt(o, d), H =
|
|
184
|
+
const E = yt(o, d), H = bt * (1 - E), I = fe - (fe - xt) * E, P = Math.max(
|
|
185
185
|
d.layoutViewportHeight - d.viewportBottom,
|
|
186
186
|
0
|
|
187
187
|
);
|
|
@@ -207,7 +207,7 @@ function wt(n) {
|
|
|
207
207
|
d.bottom > H ? n.scrollTop += d.bottom - H : d.top < E && (n.scrollTop -= E - d.top);
|
|
208
208
|
}
|
|
209
209
|
function Tt(n, o) {
|
|
210
|
-
if (
|
|
210
|
+
if (xe() || n <= 1) return 0;
|
|
211
211
|
const f = Math.max(Math.abs(o), 0.5);
|
|
212
212
|
return W(
|
|
213
213
|
n / f,
|
|
@@ -215,7 +215,7 @@ function Tt(n, o) {
|
|
|
215
215
|
ut
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function xe() {
|
|
219
219
|
return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
220
220
|
}
|
|
221
221
|
function pe(n) {
|
|
@@ -232,7 +232,7 @@ function Et({
|
|
|
232
232
|
surface: H = "background",
|
|
233
233
|
contentOverflow: I = "hidden"
|
|
234
234
|
}) {
|
|
235
|
-
const P =
|
|
235
|
+
const P = Ye(), v = l.useRef(null), y = l.useRef(null), ne = l.useRef(null), oe = l.useRef(null), J = l.useRef(null), se = l.useRef(null), O = l.useRef(null), L = l.useRef("compact"), X = l.useRef(null), k = l.useRef(null), F = l.useRef(null), Y = l.useRef(null), C = l.useRef(null), N = l.useRef(!1), [ve, B] = l.useState(!1), [ye, Me] = l.useState("compact"), [re, we] = l.useState(
|
|
236
236
|
null
|
|
237
237
|
), $ = l.useCallback(
|
|
238
238
|
(t) => {
|
|
@@ -243,17 +243,17 @@ function Et({
|
|
|
243
243
|
if (y.current = t, we(t), !t) return;
|
|
244
244
|
const e = t.previousElementSibling;
|
|
245
245
|
if (!(e instanceof HTMLElement)) return;
|
|
246
|
-
const s =
|
|
247
|
-
e.style.animationDuration = s, e.style.animationTimingFunction =
|
|
246
|
+
const s = xe() ? "1ms" : `${dt}ms`;
|
|
247
|
+
e.style.animationDuration = s, e.style.animationTimingFunction = R;
|
|
248
248
|
}, []), S = l.useCallback(() => {
|
|
249
|
-
|
|
249
|
+
X.current && (clearTimeout(X.current), X.current = null);
|
|
250
250
|
}, []), A = l.useCallback(() => {
|
|
251
|
-
k.current !== null && (window.cancelAnimationFrame(k.current), k.current = null),
|
|
251
|
+
k.current !== null && (window.cancelAnimationFrame(k.current), k.current = null), Y.current = null;
|
|
252
252
|
}, []), D = l.useCallback(() => {
|
|
253
253
|
F.current !== null && (window.cancelAnimationFrame(F.current), F.current = null);
|
|
254
254
|
}, []), Ee = l.useCallback(
|
|
255
255
|
(t, e, s) => {
|
|
256
|
-
if (C.current = { height: t, offset: e },
|
|
256
|
+
if (C.current = { height: t, offset: e }, Y.current = { height: t, offset: e, layout: s }, k.current === null) {
|
|
257
257
|
if (typeof window.requestAnimationFrame != "function") {
|
|
258
258
|
const r = y.current;
|
|
259
259
|
if (r) {
|
|
@@ -266,13 +266,13 @@ function Et({
|
|
|
266
266
|
c instanceof HTMLElement ? c : null
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
|
-
|
|
269
|
+
Y.current = null;
|
|
270
270
|
return;
|
|
271
271
|
}
|
|
272
272
|
k.current = window.requestAnimationFrame(() => {
|
|
273
273
|
k.current = null;
|
|
274
|
-
const r =
|
|
275
|
-
|
|
274
|
+
const r = Y.current;
|
|
275
|
+
Y.current = null;
|
|
276
276
|
const c = y.current;
|
|
277
277
|
if (c && r) {
|
|
278
278
|
const m = c.previousElementSibling;
|
|
@@ -307,10 +307,10 @@ function Et({
|
|
|
307
307
|
), w = Math.min(
|
|
308
308
|
(h?.offsetTop ?? 0) + M,
|
|
309
309
|
u
|
|
310
|
-
),
|
|
310
|
+
), G = window.getComputedStyle(t), z = Number.parseFloat(G.maxHeight), U = Math.max(
|
|
311
311
|
M - gt,
|
|
312
312
|
1
|
|
313
|
-
), T = Number.isFinite(
|
|
313
|
+
), T = Number.isFinite(z) && z > 0 ? Math.min(U, z) : U, Ne = window.getComputedStyle(e), ae = Number.parseFloat(
|
|
314
314
|
Ne.paddingBottom
|
|
315
315
|
), ie = window.getComputedStyle(r), ce = Number.parseFloat(
|
|
316
316
|
ie.paddingTop
|
|
@@ -337,7 +337,7 @@ function Et({
|
|
|
337
337
|
};
|
|
338
338
|
m();
|
|
339
339
|
let g = null;
|
|
340
|
-
const
|
|
340
|
+
const b = () => {
|
|
341
341
|
if (g === null) {
|
|
342
342
|
if (typeof window.requestAnimationFrame != "function") {
|
|
343
343
|
m();
|
|
@@ -347,16 +347,16 @@ function Et({
|
|
|
347
347
|
g = null, m();
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
|
-
},
|
|
351
|
-
S(), V(),
|
|
352
|
-
}, i = typeof ResizeObserver > "u" ? null : new ResizeObserver(
|
|
353
|
-
return i?.observe(s), i?.observe(c), window.addEventListener("resize",
|
|
354
|
-
g !== null && window.cancelAnimationFrame(g), i?.disconnect(), window.removeEventListener("resize",
|
|
350
|
+
}, x = () => {
|
|
351
|
+
S(), V(), b();
|
|
352
|
+
}, i = typeof ResizeObserver > "u" ? null : new ResizeObserver(b);
|
|
353
|
+
return i?.observe(s), i?.observe(c), window.addEventListener("resize", x), window.visualViewport?.addEventListener("resize", x), window.visualViewport?.addEventListener("scroll", x), () => {
|
|
354
|
+
g !== null && window.cancelAnimationFrame(g), i?.disconnect(), window.removeEventListener("resize", x), window.visualViewport?.removeEventListener(
|
|
355
355
|
"resize",
|
|
356
|
-
|
|
356
|
+
x
|
|
357
357
|
), window.visualViewport?.removeEventListener(
|
|
358
358
|
"scroll",
|
|
359
|
-
|
|
359
|
+
x
|
|
360
360
|
);
|
|
361
361
|
};
|
|
362
362
|
}, [
|
|
@@ -383,20 +383,20 @@ function Et({
|
|
|
383
383
|
);
|
|
384
384
|
const K = l.useCallback(
|
|
385
385
|
(t, e = 0, s = !0) => {
|
|
386
|
-
const r = y.current, c = j(), m = O.current, g = C.current,
|
|
387
|
-
`transform ${i}ms ${
|
|
388
|
-
`top ${i}ms ${
|
|
389
|
-
`height ${i}ms ${
|
|
390
|
-
`left ${i}ms ${
|
|
391
|
-
`right ${i}ms ${
|
|
392
|
-
`border-radius ${i}ms ${
|
|
393
|
-
].join(", "), u = i === 0 ? "none" : `opacity ${i}ms ${
|
|
386
|
+
const r = y.current, c = j(), m = O.current, g = C.current, b = t === "expanded" ? m?.expandedHeight : m?.compactHeight, x = g && b !== void 0 ? Math.abs(b - g.height) + g.offset : 0, i = Tt(x, e), h = i === 0 ? "none" : [
|
|
387
|
+
`transform ${i}ms ${R}`,
|
|
388
|
+
`top ${i}ms ${R}`,
|
|
389
|
+
`height ${i}ms ${R}`,
|
|
390
|
+
`left ${i}ms ${R}`,
|
|
391
|
+
`right ${i}ms ${R}`,
|
|
392
|
+
`border-radius ${i}ms ${R}`
|
|
393
|
+
].join(", "), u = i === 0 ? "none" : `opacity ${i}ms ${R}`;
|
|
394
394
|
if (A(), v.current = null, B(!1), s && t !== L.current && P?.(t), $(t), r && m) {
|
|
395
395
|
r.style.transition = h;
|
|
396
396
|
const M = t === "expanded" ? m.expandedHeight : m.compactHeight;
|
|
397
397
|
C.current = { height: M, offset: 0 }, q(r, M, 0, m);
|
|
398
398
|
}
|
|
399
|
-
c && (c.style.transition = u, c.style.opacity = "1"), S(),
|
|
399
|
+
c && (c.style.transition = u, c.style.opacity = "1"), S(), X.current = setTimeout(V, i);
|
|
400
400
|
},
|
|
401
401
|
[
|
|
402
402
|
A,
|
|
@@ -419,11 +419,11 @@ function Et({
|
|
|
419
419
|
const m = performance.now(), g = C.current ?? {
|
|
420
420
|
height: L.current === "expanded" ? r.expandedHeight : r.compactHeight,
|
|
421
421
|
offset: 0
|
|
422
|
-
},
|
|
422
|
+
}, b = e.getBoundingClientRect(), x = Math.max(
|
|
423
423
|
r.layoutViewportHeight - r.viewportBottom,
|
|
424
424
|
0
|
|
425
425
|
), i = Math.max(
|
|
426
|
-
|
|
426
|
+
b.height - x,
|
|
427
427
|
0
|
|
428
428
|
), h = i > 0 ? {
|
|
429
429
|
height: W(
|
|
@@ -432,7 +432,7 @@ function Et({
|
|
|
432
432
|
r.expandedHeight
|
|
433
433
|
),
|
|
434
434
|
offset: Math.max(
|
|
435
|
-
|
|
435
|
+
b.top - (r.viewportBottom - i),
|
|
436
436
|
0
|
|
437
437
|
)
|
|
438
438
|
} : g;
|
|
@@ -458,7 +458,7 @@ function Et({
|
|
|
458
458
|
)
|
|
459
459
|
};
|
|
460
460
|
v.current = u, c && t.preventDefault();
|
|
461
|
-
},
|
|
461
|
+
}, Re = (t) => {
|
|
462
462
|
const e = v.current, s = O.current;
|
|
463
463
|
if (!e || !s || e.pointerId !== t.pointerId)
|
|
464
464
|
return;
|
|
@@ -473,13 +473,13 @@ function Et({
|
|
|
473
473
|
Se(t, e);
|
|
474
474
|
}
|
|
475
475
|
if (!y.current) return;
|
|
476
|
-
const g = performance.now(),
|
|
477
|
-
if (
|
|
478
|
-
const u =
|
|
476
|
+
const g = performance.now(), b = g - e.lastTime, x = t.clientY - e.lastY;
|
|
477
|
+
if (b > 0) {
|
|
478
|
+
const u = x / b;
|
|
479
479
|
e.velocityY = e.velocityY * 0.25 + u * 0.75;
|
|
480
480
|
}
|
|
481
481
|
e.lastY = t.clientY, e.lastTime = g;
|
|
482
|
-
let i =
|
|
482
|
+
let i = x;
|
|
483
483
|
const h = e.scrollElements;
|
|
484
484
|
if (i > 0) {
|
|
485
485
|
for (const M of h) {
|
|
@@ -503,18 +503,18 @@ function Et({
|
|
|
503
503
|
u
|
|
504
504
|
);
|
|
505
505
|
if (w > 0 && (e.sheetHeight += w, u -= w, e.sheetMoved = !0), u > 0)
|
|
506
|
-
for (const
|
|
507
|
-
const
|
|
508
|
-
|
|
506
|
+
for (const G of h) {
|
|
507
|
+
const z = Math.max(
|
|
508
|
+
G.scrollHeight - G.clientHeight,
|
|
509
509
|
0
|
|
510
510
|
), U = Math.max(
|
|
511
|
-
|
|
511
|
+
z - G.scrollTop,
|
|
512
512
|
0
|
|
513
513
|
), T = Math.min(
|
|
514
514
|
U,
|
|
515
515
|
u
|
|
516
516
|
);
|
|
517
|
-
if (T > 0 && (
|
|
517
|
+
if (T > 0 && (G.scrollTop += T, u -= T, e.contentMoved = !0), u <= 0) break;
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
Ee(
|
|
@@ -522,7 +522,7 @@ function Et({
|
|
|
522
522
|
e.sheetOffset,
|
|
523
523
|
s
|
|
524
524
|
), t.preventDefault();
|
|
525
|
-
},
|
|
525
|
+
}, _e = (t, e) => {
|
|
526
526
|
if (typeof window.requestAnimationFrame != "function" || Math.abs(e) < ee)
|
|
527
527
|
return;
|
|
528
528
|
D();
|
|
@@ -530,15 +530,15 @@ function Et({
|
|
|
530
530
|
const c = (m) => {
|
|
531
531
|
const g = Math.min(Math.max(m - r, 0), 32);
|
|
532
532
|
r = m;
|
|
533
|
-
let
|
|
534
|
-
const
|
|
533
|
+
let b = Math.abs(s * g);
|
|
534
|
+
const x = s > 0;
|
|
535
535
|
let i = !1;
|
|
536
536
|
for (const h of t) {
|
|
537
537
|
const u = Math.max(
|
|
538
538
|
h.scrollHeight - h.clientHeight,
|
|
539
539
|
0
|
|
540
|
-
), M = Math.max(
|
|
541
|
-
if (w > 0 && (h.scrollTop +=
|
|
540
|
+
), M = Math.max(x ? u - h.scrollTop : h.scrollTop, 0), w = Math.min(M, b);
|
|
541
|
+
if (w > 0 && (h.scrollTop += x ? w : -w, b -= w, i = !0), b <= 0) break;
|
|
542
542
|
}
|
|
543
543
|
if (s *= Math.pow(
|
|
544
544
|
mt,
|
|
@@ -565,17 +565,17 @@ function Et({
|
|
|
565
565
|
m && typeof m.hasPointerCapture == "function" && m.hasPointerCapture(t.pointerId) && m.releasePointerCapture(t.pointerId);
|
|
566
566
|
const g = e.sheetOffset >= s.compactHeight * et || e.sheetOffset >= st && c >= nt;
|
|
567
567
|
if (e.sheetOffset > 0 && g) {
|
|
568
|
-
A(), v.current = null, B(!1), o(!1), S(),
|
|
568
|
+
A(), v.current = null, B(!1), o(!1), S(), X.current = setTimeout(() => {
|
|
569
569
|
y.current?.dataset.state === "open" && K("compact", 0, !1);
|
|
570
570
|
}, 50);
|
|
571
571
|
return;
|
|
572
572
|
}
|
|
573
|
-
const
|
|
573
|
+
const b = s.expandedHeight - s.compactHeight, x = W(
|
|
574
574
|
e.sheetHeight - (e.sheetMoved && Math.abs(c) >= ot ? c * at : 0),
|
|
575
575
|
s.compactHeight,
|
|
576
576
|
s.expandedHeight
|
|
577
|
-
), h = (
|
|
578
|
-
K(h, c), h === "expanded" && e.contentMoved && Math.abs(c) >= ee &&
|
|
577
|
+
), h = (b > 0 ? (x - s.compactHeight) / b : 0) >= tt ? "expanded" : "compact";
|
|
578
|
+
K(h, c), h === "expanded" && e.contentMoved && Math.abs(c) >= ee && _e(e.scrollElements, c);
|
|
579
579
|
}, Ce = (t) => {
|
|
580
580
|
const e = v.current;
|
|
581
581
|
!e || e.pointerId !== t.pointerId || (N.current = !1, e.started ? K(e.startSnapPoint) : v.current = null);
|
|
@@ -589,14 +589,14 @@ function Et({
|
|
|
589
589
|
...d ? {} : { "aria-describedby": void 0 },
|
|
590
590
|
"data-mobile-bottom-sheet": "",
|
|
591
591
|
"data-mobile-bottom-sheet-snap-point": ye,
|
|
592
|
-
className:
|
|
592
|
+
className: _(
|
|
593
593
|
vt[H],
|
|
594
594
|
"max-h-[calc(100dvh-env(safe-area-inset-top)-0.75rem)] touch-pan-x gap-0 overflow-hidden border-0 px-0 pt-0 pb-0 shadow-2xl duration-500 ease-[cubic-bezier(0.32,0.72,0,1)] outline-none [animation-duration:360ms] [animation-timing-function:cubic-bezier(0.32,0.72,0,1)] focus:outline-none focus-visible:ring-0 focus-visible:outline-none data-[state=closed]:[animation-duration:300ms] motion-reduce:transition-none motion-reduce:[animation-duration:1ms]",
|
|
595
595
|
ve ? "transition-none" : "transition-transform",
|
|
596
596
|
I === "visible" && "overflow-visible"
|
|
597
597
|
),
|
|
598
598
|
onPointerDown: He,
|
|
599
|
-
onPointerMove:
|
|
599
|
+
onPointerMove: Re,
|
|
600
600
|
onPointerUp: Pe,
|
|
601
601
|
onPointerCancel: Ce,
|
|
602
602
|
onClickCapture: (t) => {
|
|
@@ -627,8 +627,8 @@ function Et({
|
|
|
627
627
|
}
|
|
628
628
|
),
|
|
629
629
|
/* @__PURE__ */ a.jsxs("div", { className: "pt-0.5 pr-[max(3rem,calc(env(safe-area-inset-right)+3rem))] pb-3 pl-[max(1rem,env(safe-area-inset-left))]", children: [
|
|
630
|
-
/* @__PURE__ */ a.jsx(
|
|
631
|
-
d ? /* @__PURE__ */ a.jsx(
|
|
630
|
+
/* @__PURE__ */ a.jsx(Ge, { className: "text-foreground text-base leading-6 font-semibold", children: f }),
|
|
631
|
+
d ? /* @__PURE__ */ a.jsx(Xe, { className: "text-muted-foreground mt-1 text-sm", children: d }) : null
|
|
632
632
|
] })
|
|
633
633
|
]
|
|
634
634
|
}
|
|
@@ -686,7 +686,7 @@ function It({
|
|
|
686
686
|
contentOverflow: P,
|
|
687
687
|
children: /* @__PURE__ */ a.jsx("div", { className: "space-y-6 px-2", children: p })
|
|
688
688
|
}
|
|
689
|
-
) : /* @__PURE__ */ a.jsx(qe, { open: n, onOpenChange: o, children: /* @__PURE__ */ a.jsx(
|
|
689
|
+
) : /* @__PURE__ */ a.jsx(qe, { open: n, onOpenChange: o, children: /* @__PURE__ */ a.jsx(be, { children: /* @__PURE__ */ a.jsx(
|
|
690
690
|
"div",
|
|
691
691
|
{
|
|
692
692
|
ref: y,
|
|
@@ -696,7 +696,7 @@ function It({
|
|
|
696
696
|
{
|
|
697
697
|
role: E,
|
|
698
698
|
...d ? {} : { "aria-describedby": void 0 },
|
|
699
|
-
className:
|
|
699
|
+
className: _(
|
|
700
700
|
"max-h-[90vh] gap-0 p-0",
|
|
701
701
|
P === "visible" ? "overflow-visible" : "overflow-hidden",
|
|
702
702
|
St[I]
|
|
@@ -725,7 +725,7 @@ export {
|
|
|
725
725
|
Dt as d,
|
|
726
726
|
jt as e,
|
|
727
727
|
Ct as f,
|
|
728
|
-
|
|
728
|
+
be as g,
|
|
729
729
|
We as h,
|
|
730
730
|
Ke as i
|
|
731
731
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Et, l as p, j as w, J as z, ai as rt, G as Ot, H as q,
|
|
2
|
-
import { C as Fn } from "./schemas-
|
|
1
|
+
import { c as Et, l as p, j as w, J as z, ai as rt, G as Ot, H as q, b1 as On, al as It, am as ne, as as In, N as ht, M as st, bu as Nn, K as $, R as _n, b0 as Mn, bv as Dn, bw as Ln, bx as jn, by as kn, bz as Hn, U as Bn, at as gt, X as ye, W as Vn } from "./account-screen-runtime-B9i-9CLs.js";
|
|
2
|
+
import { C as Fn } from "./schemas-CZvv_5iX.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license lucide-react v0.575.0 - ISC
|
|
5
5
|
*
|
|
@@ -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-B9i-9CLs.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-GX283QPD.js";
|
|
3
|
+
import { M as b } from "./MemberManagementProviders-Bln-Y7uX.js";
|
|
4
4
|
function v({
|
|
5
5
|
children: n
|
|
6
6
|
}) {
|