@fluid-app/fluid-cli-theme-dev 0.1.534 → 0.1.535
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 +276 -295
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Combobox-CJDvxjNn.js → Combobox-D4l7DbBy.js} +54 -53
- package/dist/dist-cli-preview/chunks/{ContactsScreen-DD3XWK3Q.js → ContactsScreen-CEtA3-1c.js} +903 -850
- package/dist/dist-cli-preview/chunks/MediaScreen-C2rOxuuv.js +8 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-iVdfo0DH.js → MemberManagementProviders-B_YXVcDi.js} +13 -13
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-BulCAnNO.js → MemberShareablesScreen-UNjYr5R6.js} +4207 -3757
- package/dist/dist-cli-preview/chunks/{MessagingScreen-DlDsOy19.js → MessagingScreen-Btga_V0H.js} +24118 -21933
- package/dist/dist-cli-preview/chunks/MobileActionSheet-CrEH2vO7.js +1384 -0
- package/dist/dist-cli-preview/chunks/{MySiteScreen-BfPfyV4m.js → MySiteScreen-B1fGtPDj.js} +177 -163
- package/dist/dist-cli-preview/chunks/OrdersScreen-Bf9DtOCA.js +9 -0
- package/dist/dist-cli-preview/chunks/{OrdersScreen-C4yi3z2p.js → OrdersScreen-DyyL-P7j.js} +35 -34
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-tws56I3H.js +8 -0
- package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-Clys_Bme.js → PortalTenantClientProvider-DUOOCXfW.js} +1 -1
- package/dist/dist-cli-preview/chunks/{ProfileScreen-e4QhExeS.js → ProfileScreen-wZO6QMrU.js} +259 -234
- package/dist/dist-cli-preview/chunks/ResponsiveDialog-DSDcOjhm.js +731 -0
- package/dist/dist-cli-preview/chunks/Select-DmRoXIkQ.js +2499 -0
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-DysTJ6w_.js → SubscriptionsScreen-BR2C0m7M.js} +3 -3
- package/dist/dist-cli-preview/chunks/Textarea-C59p5Cek.js +365 -0
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-B3e0JV6I.js → account-screen-runtime-BqMndJcu.js} +1389 -1409
- package/dist/dist-cli-preview/chunks/{arrow-left-BOYuYcvT.js → arrow-left-CFy5J6Id.js} +1 -1
- package/dist/dist-cli-preview/chunks/{cli-preview-cY0EPyxC.js → cli-preview-DZOhxtLy.js} +10 -10
- package/dist/dist-cli-preview/chunks/{client.gen-jwIybX1j.js → client.gen-DTVKCFco.js} +12 -12
- package/dist/dist-cli-preview/chunks/{copy-Cm_EKxcg.js → copy-Da4VLOCZ.js} +1 -1
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-BCS0247N.js → countries-api-adapter-Bh5QfCO1.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-CZi7shLR.js → create-card-entry-container-ohrRYgww.js} +1939 -1929
- package/dist/dist-cli-preview/chunks/{hey-api-client-B6n5a7q-.js → hey-api-client-BIjWueui.js} +1 -1
- package/dist/dist-cli-preview/chunks/{index-CfLLmITa.js → index-BMWjXC9i.js} +405 -869
- package/dist/dist-cli-preview/chunks/{index-DFIsiT9r.js → index-BVehJyDQ.js} +2080 -2372
- package/dist/dist-cli-preview/chunks/index-_r1wSvno.js +427 -0
- package/dist/dist-cli-preview/chunks/{isAfter-D0zQuNEJ.js → isAfter-BR4uNpua.js} +145 -156
- package/dist/dist-cli-preview/chunks/{map-pin-Vt1smsNu.js → map-pin-C_cK_i_W.js} +1 -1
- package/dist/dist-cli-preview/chunks/messaging-B1UjYRdl.js +4 -0
- package/dist/dist-cli-preview/chunks/{mount-account-screen-BOVvR3Og.js → mount-account-screen-JJGALFRE.js} +8 -8
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-D756rD78.js → navigate-account-screen-C0VoUNOi.js} +1 -1
- package/dist/dist-cli-preview/chunks/schemas-D0s3rDQw.js +4851 -0
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-HNXiCpo6.js → screen-route-slug-utils-n2BiDZmp.js} +205 -260
- package/dist/dist-cli-preview/chunks/search-zEnxG69C.js +14 -0
- package/dist/dist-cli-preview/chunks/sheet-haptics-context-p5ZPxslK.js +133 -0
- package/dist/dist-cli-preview/chunks/{sidebar-BDgHluGp.js → sidebar-CjPHl33n.js} +8 -8
- package/dist/dist-cli-preview/chunks/{sortable.esm-Cw91KlVU.js → sortable.esm-CrxUZkb-.js} +373 -362
- package/dist/dist-cli-preview/chunks/{store-api-context-BCaEZBlj.js → store-api-context-0k_ECvSE.js} +1 -1
- package/dist/dist-cli-preview/chunks/translation-api-context-factory-CP0LBb-M.js +74 -0
- package/dist/dist-cli-preview/chunks/{use-mobile-BztyG-mE.js → use-mobile-DIhDH3dI.js} +1 -1
- package/dist/dist-cli-preview/chunks/{use-optional-store-Dl6PSQur.js → use-optional-store-t4xzc2Rl.js} +2 -2
- package/dist/dist-cli-preview/chunks/use-store-YC0Ovzht.js +76 -0
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-fL_VYHHr.js → useInfiniteQuery-Bnzu0kZa.js} +9 -20
- package/dist/dist-cli-preview/chunks/{users-B3YJ3D1U.js → users-CabXl4EL.js} +1 -1
- package/package.json +1 -1
- package/dist/dist-cli-preview/chunks/Breadcrumb-ixf0cTR_.js +0 -91
- package/dist/dist-cli-preview/chunks/MediaScreen-D8WSOaze.js +0 -8
- package/dist/dist-cli-preview/chunks/MobileActionSheet-aGr-nGxu.js +0 -3884
- package/dist/dist-cli-preview/chunks/OrdersScreen-hidM-JR_.js +0 -9
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-BIqSXZ5B.js +0 -8
- package/dist/dist-cli-preview/chunks/ellipsis-C1sJRT_T.js +0 -15
- package/dist/dist-cli-preview/chunks/eye-BHBOtWLw.js +0 -20
- package/dist/dist-cli-preview/chunks/index-COIiY5Im.js +0 -135
- package/dist/dist-cli-preview/chunks/log-out-segl_UhK.js +0 -30
- package/dist/dist-cli-preview/chunks/messaging-C_IkzF0O.js +0 -4
- package/dist/dist-cli-preview/chunks/pause-YWP8mWBs.js +0 -41
- package/dist/dist-cli-preview/chunks/schemas-BiM-ImW1.js +0 -5565
- package/dist/dist-cli-preview/chunks/sheet-haptics-context-d9udqor0.js +0 -116
- package/dist/dist-cli-preview/chunks/trash-2-CZEbdFT_.js +0 -17
- package/dist/dist-cli-preview/chunks/use-store-aahN8SDp.js +0 -400
- package/dist/dist-cli-preview/chunks/user-B4pULYRZ.js +0 -14
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { j as o, M as u, l as i } from "./account-screen-runtime-B3e0JV6I.js";
|
|
2
|
-
function b({
|
|
3
|
-
className: t,
|
|
4
|
-
type: e,
|
|
5
|
-
...n
|
|
6
|
-
}) {
|
|
7
|
-
return /* @__PURE__ */ o.jsx(
|
|
8
|
-
"input",
|
|
9
|
-
{
|
|
10
|
-
type: e,
|
|
11
|
-
"data-slot": "input",
|
|
12
|
-
className: u(
|
|
13
|
-
"border-input selection:bg-primary selection:text-primary-foreground file:text-foreground placeholder:text-muted-foreground h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
14
|
-
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
15
|
-
"aria-invalid:border-destructive aria-invalid:ring-destructive/20",
|
|
16
|
-
t
|
|
17
|
-
),
|
|
18
|
-
...n
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
function p({
|
|
23
|
-
className: t,
|
|
24
|
-
...e
|
|
25
|
-
}) {
|
|
26
|
-
return /* @__PURE__ */ o.jsx(
|
|
27
|
-
"div",
|
|
28
|
-
{
|
|
29
|
-
className: u("bg-muted animate-pulse rounded-md", t),
|
|
30
|
-
...e
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
function x(t, e) {
|
|
35
|
-
const [n, r] = i.useState(
|
|
36
|
-
() => t.getCached(e) ?? t.fallback
|
|
37
|
-
);
|
|
38
|
-
return i.useEffect(() => {
|
|
39
|
-
let a = !1;
|
|
40
|
-
if (e === t.fallbackLocale) {
|
|
41
|
-
r(t.fallback);
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
const s = t.getCached(e);
|
|
45
|
-
if (s) {
|
|
46
|
-
r(s);
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
return t.load(e).then((c) => {
|
|
50
|
-
a || r(c);
|
|
51
|
-
}).catch(() => {
|
|
52
|
-
a || r(t.fallback);
|
|
53
|
-
}), () => {
|
|
54
|
-
a = !0;
|
|
55
|
-
};
|
|
56
|
-
}, [t, e]), n;
|
|
57
|
-
}
|
|
58
|
-
function h(t) {
|
|
59
|
-
const e = t.fallbackLocale ?? "en", n = /* @__PURE__ */ new Map();
|
|
60
|
-
return {
|
|
61
|
-
fallback: t.fallback,
|
|
62
|
-
fallbackLocale: e,
|
|
63
|
-
getCached(r) {
|
|
64
|
-
return r === e ? t.fallback : n.get(r) ?? null;
|
|
65
|
-
},
|
|
66
|
-
async load(r) {
|
|
67
|
-
if (r === e) return t.fallback;
|
|
68
|
-
const a = n.get(r);
|
|
69
|
-
if (a) return a;
|
|
70
|
-
const s = t.loaders?.[r];
|
|
71
|
-
if (!s) return t.fallback;
|
|
72
|
-
const c = await s(), l = { ...t.fallback, ...c };
|
|
73
|
-
return n.set(r, l), l;
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function g(t, e) {
|
|
78
|
-
return {
|
|
79
|
-
locale: t,
|
|
80
|
-
t(n, ...r) {
|
|
81
|
-
const a = e[n] ?? n, s = r[0];
|
|
82
|
-
return s ? a.replace(
|
|
83
|
-
/\{\{(\w+)\}\}/g,
|
|
84
|
-
(c, l) => l in s ? String(s[l]) : c
|
|
85
|
-
) : a;
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
function m(t) {
|
|
90
|
-
const e = i.createContext(null);
|
|
91
|
-
function n() {
|
|
92
|
-
const r = i.use(e);
|
|
93
|
-
if (!r)
|
|
94
|
-
throw new Error(
|
|
95
|
-
`use${t}Translation must be used within a ${t}TranslationProvider`
|
|
96
|
-
);
|
|
97
|
-
return r;
|
|
98
|
-
}
|
|
99
|
-
return { Context: e, Provider: e.Provider, useTranslation: n };
|
|
100
|
-
}
|
|
101
|
-
const d = i.createContext(
|
|
102
|
-
null
|
|
103
|
-
);
|
|
104
|
-
d.Provider;
|
|
105
|
-
function v() {
|
|
106
|
-
return i.use(d);
|
|
107
|
-
}
|
|
108
|
-
export {
|
|
109
|
-
b as I,
|
|
110
|
-
p as S,
|
|
111
|
-
g as a,
|
|
112
|
-
m as b,
|
|
113
|
-
h as c,
|
|
114
|
-
v as d,
|
|
115
|
-
x as u
|
|
116
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { c as a } from "./account-screen-runtime-B3e0JV6I.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.575.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const t = [
|
|
9
|
-
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
10
|
-
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
11
|
-
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
12
|
-
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
13
|
-
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
14
|
-
], o = a("trash-2", t);
|
|
15
|
-
export {
|
|
16
|
-
o as T
|
|
17
|
-
};
|
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
import { c as Q, l, j as s, aa as V, al as Y, ab as S, aK as X, aj as B, am as N, aL as $, aM as J, b2 as Z, M as w, az as ee, ar as re, G as te } from "./account-screen-runtime-B3e0JV6I.js";
|
|
2
|
-
import { C as oe } from "./schemas-BiM-ImW1.js";
|
|
3
|
-
import { u as ne } from "./store-api-context-BCaEZBlj.js";
|
|
4
|
-
import { S as ae, f as se, a as ie } from "./use-optional-store-Dl6PSQur.js";
|
|
5
|
-
/**
|
|
6
|
-
* @license lucide-react v0.575.0 - ISC
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the ISC license.
|
|
9
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
const ce = [
|
|
12
|
-
[
|
|
13
|
-
"path",
|
|
14
|
-
{
|
|
15
|
-
d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
|
|
16
|
-
key: "10ikf1"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
], Ce = Q("play", ce);
|
|
20
|
-
var C = "Checkbox", [de] = V(C), [ue, I] = de(C);
|
|
21
|
-
function pe(e) {
|
|
22
|
-
const {
|
|
23
|
-
__scopeCheckbox: n,
|
|
24
|
-
checked: a,
|
|
25
|
-
children: r,
|
|
26
|
-
defaultChecked: o,
|
|
27
|
-
disabled: t,
|
|
28
|
-
form: f,
|
|
29
|
-
name: h,
|
|
30
|
-
onCheckedChange: p,
|
|
31
|
-
required: b,
|
|
32
|
-
value: m = "on",
|
|
33
|
-
// @ts-expect-error
|
|
34
|
-
internal_do_not_use_render: c
|
|
35
|
-
} = e, [d, g] = X({
|
|
36
|
-
prop: a,
|
|
37
|
-
defaultProp: o ?? !1,
|
|
38
|
-
onChange: p,
|
|
39
|
-
caller: C
|
|
40
|
-
}), [x, y] = l.useState(null), [k, i] = l.useState(null), u = l.useRef(!1), R = x ? !!f || !!x.closest("form") : (
|
|
41
|
-
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
42
|
-
!0
|
|
43
|
-
), T = {
|
|
44
|
-
checked: d,
|
|
45
|
-
disabled: t,
|
|
46
|
-
setChecked: g,
|
|
47
|
-
control: x,
|
|
48
|
-
setControl: y,
|
|
49
|
-
name: h,
|
|
50
|
-
form: f,
|
|
51
|
-
value: m,
|
|
52
|
-
hasConsumerStoppedPropagationRef: u,
|
|
53
|
-
required: b,
|
|
54
|
-
defaultChecked: v(o) ? !1 : o,
|
|
55
|
-
isFormControl: R,
|
|
56
|
-
bubbleInput: k,
|
|
57
|
-
setBubbleInput: i
|
|
58
|
-
};
|
|
59
|
-
return /* @__PURE__ */ s.jsx(
|
|
60
|
-
ue,
|
|
61
|
-
{
|
|
62
|
-
scope: n,
|
|
63
|
-
...T,
|
|
64
|
-
children: le(c) ? c(T) : r
|
|
65
|
-
}
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
var M = "CheckboxTrigger", A = l.forwardRef(
|
|
69
|
-
({ __scopeCheckbox: e, onKeyDown: n, onClick: a, ...r }, o) => {
|
|
70
|
-
const {
|
|
71
|
-
control: t,
|
|
72
|
-
value: f,
|
|
73
|
-
disabled: h,
|
|
74
|
-
checked: p,
|
|
75
|
-
required: b,
|
|
76
|
-
setControl: m,
|
|
77
|
-
setChecked: c,
|
|
78
|
-
hasConsumerStoppedPropagationRef: d,
|
|
79
|
-
isFormControl: g,
|
|
80
|
-
bubbleInput: x
|
|
81
|
-
} = I(M, e), y = B(o, m), k = l.useRef(p);
|
|
82
|
-
return l.useEffect(() => {
|
|
83
|
-
const i = t?.form;
|
|
84
|
-
if (i) {
|
|
85
|
-
const u = () => c(k.current);
|
|
86
|
-
return i.addEventListener("reset", u), () => i.removeEventListener("reset", u);
|
|
87
|
-
}
|
|
88
|
-
}, [t, c]), /* @__PURE__ */ s.jsx(
|
|
89
|
-
S.button,
|
|
90
|
-
{
|
|
91
|
-
type: "button",
|
|
92
|
-
role: "checkbox",
|
|
93
|
-
"aria-checked": v(p) ? "mixed" : p,
|
|
94
|
-
"aria-required": b,
|
|
95
|
-
"data-state": U(p),
|
|
96
|
-
"data-disabled": h ? "" : void 0,
|
|
97
|
-
disabled: h,
|
|
98
|
-
value: f,
|
|
99
|
-
...r,
|
|
100
|
-
ref: y,
|
|
101
|
-
onKeyDown: N(n, (i) => {
|
|
102
|
-
i.key === "Enter" && i.preventDefault();
|
|
103
|
-
}),
|
|
104
|
-
onClick: N(a, (i) => {
|
|
105
|
-
c((u) => v(u) ? !0 : !u), x && g && (d.current = i.isPropagationStopped(), d.current || i.stopPropagation());
|
|
106
|
-
})
|
|
107
|
-
}
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
);
|
|
111
|
-
A.displayName = M;
|
|
112
|
-
var L = l.forwardRef(
|
|
113
|
-
(e, n) => {
|
|
114
|
-
const {
|
|
115
|
-
__scopeCheckbox: a,
|
|
116
|
-
name: r,
|
|
117
|
-
checked: o,
|
|
118
|
-
defaultChecked: t,
|
|
119
|
-
required: f,
|
|
120
|
-
disabled: h,
|
|
121
|
-
value: p,
|
|
122
|
-
onCheckedChange: b,
|
|
123
|
-
form: m,
|
|
124
|
-
...c
|
|
125
|
-
} = e;
|
|
126
|
-
return /* @__PURE__ */ s.jsx(
|
|
127
|
-
pe,
|
|
128
|
-
{
|
|
129
|
-
__scopeCheckbox: a,
|
|
130
|
-
checked: o,
|
|
131
|
-
defaultChecked: t,
|
|
132
|
-
disabled: h,
|
|
133
|
-
required: f,
|
|
134
|
-
onCheckedChange: b,
|
|
135
|
-
name: r,
|
|
136
|
-
form: m,
|
|
137
|
-
value: p,
|
|
138
|
-
internal_do_not_use_render: ({ isFormControl: d }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
139
|
-
/* @__PURE__ */ s.jsx(
|
|
140
|
-
A,
|
|
141
|
-
{
|
|
142
|
-
...c,
|
|
143
|
-
ref: n,
|
|
144
|
-
__scopeCheckbox: a
|
|
145
|
-
}
|
|
146
|
-
),
|
|
147
|
-
d && /* @__PURE__ */ s.jsx(
|
|
148
|
-
K,
|
|
149
|
-
{
|
|
150
|
-
__scopeCheckbox: a
|
|
151
|
-
}
|
|
152
|
-
)
|
|
153
|
-
] })
|
|
154
|
-
}
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
);
|
|
158
|
-
L.displayName = C;
|
|
159
|
-
var z = "CheckboxIndicator", D = l.forwardRef(
|
|
160
|
-
(e, n) => {
|
|
161
|
-
const { __scopeCheckbox: a, forceMount: r, ...o } = e, t = I(z, a);
|
|
162
|
-
return /* @__PURE__ */ s.jsx(
|
|
163
|
-
Y,
|
|
164
|
-
{
|
|
165
|
-
present: r || v(t.checked) || t.checked === !0,
|
|
166
|
-
children: /* @__PURE__ */ s.jsx(
|
|
167
|
-
S.span,
|
|
168
|
-
{
|
|
169
|
-
"data-state": U(t.checked),
|
|
170
|
-
"data-disabled": t.disabled ? "" : void 0,
|
|
171
|
-
...o,
|
|
172
|
-
ref: n,
|
|
173
|
-
style: { pointerEvents: "none", ...e.style }
|
|
174
|
-
}
|
|
175
|
-
)
|
|
176
|
-
}
|
|
177
|
-
);
|
|
178
|
-
}
|
|
179
|
-
);
|
|
180
|
-
D.displayName = z;
|
|
181
|
-
var W = "CheckboxBubbleInput", K = l.forwardRef(
|
|
182
|
-
({ __scopeCheckbox: e, ...n }, a) => {
|
|
183
|
-
const {
|
|
184
|
-
control: r,
|
|
185
|
-
hasConsumerStoppedPropagationRef: o,
|
|
186
|
-
checked: t,
|
|
187
|
-
defaultChecked: f,
|
|
188
|
-
required: h,
|
|
189
|
-
disabled: p,
|
|
190
|
-
name: b,
|
|
191
|
-
value: m,
|
|
192
|
-
form: c,
|
|
193
|
-
bubbleInput: d,
|
|
194
|
-
setBubbleInput: g
|
|
195
|
-
} = I(W, e), x = B(a, g), y = $(t), k = J(r);
|
|
196
|
-
l.useEffect(() => {
|
|
197
|
-
const u = d;
|
|
198
|
-
if (!u) return;
|
|
199
|
-
const R = window.HTMLInputElement.prototype, j = Object.getOwnPropertyDescriptor(
|
|
200
|
-
R,
|
|
201
|
-
"checked"
|
|
202
|
-
).set, H = !o.current;
|
|
203
|
-
if (y !== t && j) {
|
|
204
|
-
const G = new Event("click", { bubbles: H });
|
|
205
|
-
u.indeterminate = v(t), j.call(u, v(t) ? !1 : t), u.dispatchEvent(G);
|
|
206
|
-
}
|
|
207
|
-
}, [d, y, t, o]);
|
|
208
|
-
const i = l.useRef(v(t) ? !1 : t);
|
|
209
|
-
return /* @__PURE__ */ s.jsx(
|
|
210
|
-
S.input,
|
|
211
|
-
{
|
|
212
|
-
type: "checkbox",
|
|
213
|
-
"aria-hidden": !0,
|
|
214
|
-
defaultChecked: f ?? i.current,
|
|
215
|
-
required: h,
|
|
216
|
-
disabled: p,
|
|
217
|
-
name: b,
|
|
218
|
-
value: m,
|
|
219
|
-
form: c,
|
|
220
|
-
...n,
|
|
221
|
-
tabIndex: -1,
|
|
222
|
-
ref: x,
|
|
223
|
-
style: {
|
|
224
|
-
...n.style,
|
|
225
|
-
...k,
|
|
226
|
-
position: "absolute",
|
|
227
|
-
pointerEvents: "none",
|
|
228
|
-
opacity: 0,
|
|
229
|
-
margin: 0,
|
|
230
|
-
// We transform because the input is absolutely positioned but we have
|
|
231
|
-
// rendered it **after** the button. This pulls it back to sit on top
|
|
232
|
-
// of the button.
|
|
233
|
-
transform: "translateX(-100%)"
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
);
|
|
237
|
-
}
|
|
238
|
-
);
|
|
239
|
-
K.displayName = W;
|
|
240
|
-
function le(e) {
|
|
241
|
-
return typeof e == "function";
|
|
242
|
-
}
|
|
243
|
-
function v(e) {
|
|
244
|
-
return e === "indeterminate";
|
|
245
|
-
}
|
|
246
|
-
function U(e) {
|
|
247
|
-
return v(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
248
|
-
}
|
|
249
|
-
const fe = ee(
|
|
250
|
-
"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
251
|
-
{
|
|
252
|
-
variants: {
|
|
253
|
-
variant: {
|
|
254
|
-
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
255
|
-
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
256
|
-
destructive: "bg-destructive focus-visible:ring-destructive/20 [a&]:hover:bg-destructive/90 text-white",
|
|
257
|
-
outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
258
|
-
ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
259
|
-
link: "text-primary underline-offset-4 [a&]:hover:underline"
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
defaultVariants: {
|
|
263
|
-
variant: "default"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
);
|
|
267
|
-
function Re({
|
|
268
|
-
className: e,
|
|
269
|
-
variant: n = "default",
|
|
270
|
-
asChild: a = !1,
|
|
271
|
-
...r
|
|
272
|
-
}) {
|
|
273
|
-
const o = a ? Z : "span";
|
|
274
|
-
return /* @__PURE__ */ s.jsx(
|
|
275
|
-
o,
|
|
276
|
-
{
|
|
277
|
-
"data-slot": "badge",
|
|
278
|
-
"data-variant": n,
|
|
279
|
-
className: w(fe({ variant: n }), e),
|
|
280
|
-
...r
|
|
281
|
-
}
|
|
282
|
-
);
|
|
283
|
-
}
|
|
284
|
-
function Te({
|
|
285
|
-
className: e,
|
|
286
|
-
...n
|
|
287
|
-
}) {
|
|
288
|
-
return /* @__PURE__ */ s.jsx(
|
|
289
|
-
L,
|
|
290
|
-
{
|
|
291
|
-
"data-slot": "checkbox",
|
|
292
|
-
className: w(
|
|
293
|
-
"peer border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
294
|
-
e
|
|
295
|
-
),
|
|
296
|
-
...n,
|
|
297
|
-
children: /* @__PURE__ */ s.jsx(
|
|
298
|
-
D,
|
|
299
|
-
{
|
|
300
|
-
"data-slot": "checkbox-indicator",
|
|
301
|
-
className: "grid place-content-center text-current transition-none",
|
|
302
|
-
children: /* @__PURE__ */ s.jsx(oe, { className: "size-3.5" })
|
|
303
|
-
}
|
|
304
|
-
)
|
|
305
|
-
}
|
|
306
|
-
);
|
|
307
|
-
}
|
|
308
|
-
var _ = { exports: {} }, P, O;
|
|
309
|
-
function he() {
|
|
310
|
-
if (O) return P;
|
|
311
|
-
O = 1;
|
|
312
|
-
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
313
|
-
return P = e, P;
|
|
314
|
-
}
|
|
315
|
-
var E, q;
|
|
316
|
-
function be() {
|
|
317
|
-
if (q) return E;
|
|
318
|
-
q = 1;
|
|
319
|
-
var e = /* @__PURE__ */ he();
|
|
320
|
-
function n() {
|
|
321
|
-
}
|
|
322
|
-
function a() {
|
|
323
|
-
}
|
|
324
|
-
return a.resetWarningCache = n, E = function() {
|
|
325
|
-
function r(f, h, p, b, m, c) {
|
|
326
|
-
if (c !== e) {
|
|
327
|
-
var d = new Error(
|
|
328
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
329
|
-
);
|
|
330
|
-
throw d.name = "Invariant Violation", d;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
r.isRequired = r;
|
|
334
|
-
function o() {
|
|
335
|
-
return r;
|
|
336
|
-
}
|
|
337
|
-
var t = {
|
|
338
|
-
array: r,
|
|
339
|
-
bigint: r,
|
|
340
|
-
bool: r,
|
|
341
|
-
func: r,
|
|
342
|
-
number: r,
|
|
343
|
-
object: r,
|
|
344
|
-
string: r,
|
|
345
|
-
symbol: r,
|
|
346
|
-
any: r,
|
|
347
|
-
arrayOf: o,
|
|
348
|
-
element: r,
|
|
349
|
-
elementType: r,
|
|
350
|
-
instanceOf: o,
|
|
351
|
-
node: r,
|
|
352
|
-
objectOf: o,
|
|
353
|
-
oneOf: o,
|
|
354
|
-
oneOfType: o,
|
|
355
|
-
shape: o,
|
|
356
|
-
exact: o,
|
|
357
|
-
checkPropTypes: a,
|
|
358
|
-
resetWarningCache: n
|
|
359
|
-
};
|
|
360
|
-
return t.PropTypes = t, t;
|
|
361
|
-
}, E;
|
|
362
|
-
}
|
|
363
|
-
var F;
|
|
364
|
-
function me() {
|
|
365
|
-
return F || (F = 1, _.exports = /* @__PURE__ */ be()()), _.exports;
|
|
366
|
-
}
|
|
367
|
-
var ve = /* @__PURE__ */ me();
|
|
368
|
-
const _e = /* @__PURE__ */ re(ve);
|
|
369
|
-
function Pe({
|
|
370
|
-
className: e,
|
|
371
|
-
...n
|
|
372
|
-
}) {
|
|
373
|
-
return /* @__PURE__ */ s.jsx(
|
|
374
|
-
"textarea",
|
|
375
|
-
{
|
|
376
|
-
"data-slot": "textarea",
|
|
377
|
-
className: w(
|
|
378
|
-
"border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
379
|
-
e
|
|
380
|
-
),
|
|
381
|
-
...n
|
|
382
|
-
}
|
|
383
|
-
);
|
|
384
|
-
}
|
|
385
|
-
function Ee() {
|
|
386
|
-
const e = ne();
|
|
387
|
-
return te({
|
|
388
|
-
queryKey: ie,
|
|
389
|
-
queryFn: se(e),
|
|
390
|
-
staleTime: ae
|
|
391
|
-
});
|
|
392
|
-
}
|
|
393
|
-
export {
|
|
394
|
-
Re as B,
|
|
395
|
-
Te as C,
|
|
396
|
-
Ce as P,
|
|
397
|
-
Pe as T,
|
|
398
|
-
_e as a,
|
|
399
|
-
Ee as u
|
|
400
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { c } from "./account-screen-runtime-B3e0JV6I.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.575.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const e = [
|
|
9
|
-
["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
|
|
10
|
-
["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
|
|
11
|
-
], r = c("user", e);
|
|
12
|
-
export {
|
|
13
|
-
r as U
|
|
14
|
-
};
|