@fluid-app/fluid-cli-theme-dev 0.1.433 → 0.1.435
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 +311 -314
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Breadcrumb-D_SqXp7d.js → Breadcrumb-BKdVGms9.js} +1 -1
- package/dist/dist-cli-preview/chunks/{Combobox-Km3Vrphp.js → Combobox-CyU4gagO.js} +27 -27
- package/dist/dist-cli-preview/chunks/{ContactsScreen-kuRxflCD.js → ContactsScreen-nqNyMwxa.js} +370 -370
- package/dist/dist-cli-preview/chunks/MediaScreen-BGWqRFE4.js +8 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-BS6VVAvZ.js → MemberManagementProviders-D8tSqPWo.js} +6 -6
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-DMuIxGxX.js → MemberShareablesScreen-nYcxHAnv.js} +1313 -1329
- package/dist/dist-cli-preview/chunks/MessagingScreen-DaCvmrAU.js +50551 -0
- package/dist/dist-cli-preview/chunks/MobileActionSheet-DaIBkwQD.js +3884 -0
- package/dist/dist-cli-preview/chunks/{MySiteScreen-Ch1cOkKp.js → MySiteScreen-BYY4CFhu.js} +15 -15
- package/dist/dist-cli-preview/chunks/OrdersScreen-DDdLpJ-7.js +9 -0
- package/dist/dist-cli-preview/chunks/{OrdersScreen-DFqHUrkC.js → OrdersScreen-DkZKc0Z_.js} +7 -7
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-F04j44L-.js +8 -0
- package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-DWOzWTBJ.js → PortalTenantClientProvider-D6a79po2.js} +1 -1
- package/dist/dist-cli-preview/chunks/{ProfileScreen-C_gqCV47.js → ProfileScreen-BPw0o_kl.js} +222 -237
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-DiXGHeoZ.js → SubscriptionsScreen-DuiI_9iF.js} +3 -3
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-BjzMc3GU.js → account-screen-runtime-BYj9PrHT.js} +2326 -2358
- package/dist/dist-cli-preview/chunks/ar-1KIG4DjU.js +1032 -0
- package/dist/dist-cli-preview/chunks/{arrow-left-D62DJteK.js → arrow-left-DnjGVTam.js} +1 -1
- package/dist/dist-cli-preview/chunks/bg-yBy5d6ww.js +1032 -0
- package/dist/dist-cli-preview/chunks/bn-BDIXtBiu.js +1032 -0
- package/dist/dist-cli-preview/chunks/{cli-preview-c45YGC1E.js → cli-preview-C-nTMZQi.js} +10 -10
- package/dist/dist-cli-preview/chunks/{client.gen-DfWiOTes.js → client.gen-DO8I8bB0.js} +9 -9
- package/dist/dist-cli-preview/chunks/{copy-zqKnEIeM.js → copy-COLmacny.js} +1 -1
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-DRty_8ei.js → countries-api-adapter-B2ub-v6x.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-4VLe3B5O.js → create-card-entry-container-C7h1cYNe.js} +7380 -7374
- package/dist/dist-cli-preview/chunks/cs-eyeSjS66.js +1032 -0
- package/dist/dist-cli-preview/chunks/da-BMwLUsWZ.js +1032 -0
- package/dist/dist-cli-preview/chunks/de-CWgvDnNQ.js +1032 -0
- package/dist/dist-cli-preview/chunks/el-BhX-RBtB.js +1032 -0
- package/dist/dist-cli-preview/chunks/ellipsis-wdxlMcjt.js +15 -0
- package/dist/dist-cli-preview/chunks/es-fIpwOat4.js +1032 -0
- package/dist/dist-cli-preview/chunks/{eye-Ce93vUsx.js → eye-Cs-LW2s_.js} +1 -1
- package/dist/dist-cli-preview/chunks/fi-BI9n529u.js +1032 -0
- package/dist/dist-cli-preview/chunks/fr-DMDmmtDd.js +1032 -0
- package/dist/dist-cli-preview/chunks/he-BQxAPia2.js +1032 -0
- package/dist/dist-cli-preview/chunks/{hey-api-client-GUem9W6L.js → hey-api-client-C0XYGcOp.js} +1 -1
- package/dist/dist-cli-preview/chunks/hi--CH25zD0.js +1032 -0
- package/dist/dist-cli-preview/chunks/hr-vHPscpGv.js +1032 -0
- package/dist/dist-cli-preview/chunks/hu-BQTLt458.js +1032 -0
- package/dist/dist-cli-preview/chunks/id-R9lUJSOz.js +1032 -0
- package/dist/dist-cli-preview/chunks/{index-B_xDY7q5.js → index-C3BTHcpz.js} +249 -232
- package/dist/dist-cli-preview/chunks/{index-DotYg_8P.js → index-DSTWchdg.js} +2294 -2088
- package/dist/dist-cli-preview/chunks/index-qwhiPvOP.js +135 -0
- package/dist/dist-cli-preview/chunks/isAfter-CcghMy5x.js +1324 -0
- package/dist/dist-cli-preview/chunks/it-iN8sGAC0.js +1032 -0
- package/dist/dist-cli-preview/chunks/ja-BGIZaAW0.js +1032 -0
- package/dist/dist-cli-preview/chunks/ko-Cr6Wl_2I.js +1032 -0
- package/dist/dist-cli-preview/chunks/log-out-BIykSy7b.js +30 -0
- package/dist/dist-cli-preview/chunks/{map-pin-C_2_P4BZ.js → map-pin-Be34_dU6.js} +1 -1
- package/dist/dist-cli-preview/chunks/messaging-D7ENrup9.js +4 -0
- package/dist/dist-cli-preview/chunks/{mount-account-screen-DLu4WsoN.js → mount-account-screen-BfLjUsgR.js} +8 -8
- package/dist/dist-cli-preview/chunks/ms-CVPERbjz.js +1032 -0
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-Zm16FA01.js → navigate-account-screen-CiKHtySl.js} +1 -1
- package/dist/dist-cli-preview/chunks/nl-38XjLPxf.js +1032 -0
- package/dist/dist-cli-preview/chunks/no-C9CyNben.js +1032 -0
- package/dist/dist-cli-preview/chunks/pause-BBpqu34U.js +41 -0
- package/dist/dist-cli-preview/chunks/pl-DmR9h5su.js +1032 -0
- package/dist/dist-cli-preview/chunks/pt-t-mbd11H.js +1032 -0
- package/dist/dist-cli-preview/chunks/ro-T2DyDJMM.js +1032 -0
- package/dist/dist-cli-preview/chunks/ru-DEgbQN8m.js +1032 -0
- package/dist/dist-cli-preview/chunks/{schemas-CcDaDYH8.js → schemas-EHBiwcQ2.js} +1748 -1618
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-CKharc6_.js → screen-route-slug-utils-Bq-L-ohr.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sheet-haptics-context-DTfySPrq.js → sheet-haptics-context-DT2_eUzd.js} +1 -1
- package/dist/dist-cli-preview/chunks/{sidebar-CkC-f9zG.js → sidebar-C09syHYk.js} +10 -10
- package/dist/dist-cli-preview/chunks/sk-CFYGY_a5.js +1032 -0
- package/dist/dist-cli-preview/chunks/{sortable.esm-e9hcrOle.js → sortable.esm-ClljxXn3.js} +2 -2
- package/dist/dist-cli-preview/chunks/{store-api-context-CDtl_X71.js → store-api-context-DzwRm7gt.js} +1 -1
- package/dist/dist-cli-preview/chunks/sv-i61vcDan.js +1032 -0
- package/dist/dist-cli-preview/chunks/th-DfFRan1t.js +1032 -0
- package/dist/dist-cli-preview/chunks/tl-olBNOPcn.js +1032 -0
- package/dist/dist-cli-preview/chunks/tr-LZKZ4tKb.js +1032 -0
- package/dist/dist-cli-preview/chunks/trash-2-CZhp1ODr.js +17 -0
- package/dist/dist-cli-preview/chunks/uk-BtXttbkl.js +1032 -0
- package/dist/dist-cli-preview/chunks/{use-mobile-DF76-293.js → use-mobile-B7ojcHh2.js} +3 -3
- package/dist/dist-cli-preview/chunks/{use-optional-store-DT9WAQPd.js → use-optional-store-DJYDCvhI.js} +2 -2
- package/dist/dist-cli-preview/chunks/use-store-DeK8QAFv.js +400 -0
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-CDXQnWw0.js → useInfiniteQuery-FHeNizQM.js} +1 -1
- package/dist/dist-cli-preview/chunks/{user-B-jZvwGL.js → user-ozIT6Hhj.js} +1 -1
- package/dist/dist-cli-preview/chunks/{users-TuK7MiQN.js → users-JoDv7hjw.js} +1 -1
- package/dist/dist-cli-preview/chunks/vi-BHWnhETf.js +1032 -0
- package/dist/dist-cli-preview/chunks/zh_CN-CTgClYOF.js +1032 -0
- package/dist/dist-cli-preview/chunks/zh_TW-aQ6cE6PF.js +1032 -0
- package/package.json +2 -2
- package/dist/dist-cli-preview/chunks/MediaScreen-BvJdBMeQ.js +0 -8
- package/dist/dist-cli-preview/chunks/MessagingScreen-BKHqT1Ej.js +0 -35760
- package/dist/dist-cli-preview/chunks/MobileActionSheet-CBoGiv4j.js +0 -2950
- package/dist/dist-cli-preview/chunks/OrdersScreen-BGgj4BZS.js +0 -9
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-Bx1XIkZA.js +0 -8
- package/dist/dist-cli-preview/chunks/Select-sVTiAmsy.js +0 -952
- package/dist/dist-cli-preview/chunks/Textarea-D-fkMEdH.js +0 -349
- package/dist/dist-cli-preview/chunks/ar-2rvzIrIR.js +0 -626
- package/dist/dist-cli-preview/chunks/bg-BYPRLePV.js +0 -626
- package/dist/dist-cli-preview/chunks/bn-C0wttE43.js +0 -626
- package/dist/dist-cli-preview/chunks/cs-C7Irs0-j.js +0 -626
- package/dist/dist-cli-preview/chunks/da-80sKijLl.js +0 -626
- package/dist/dist-cli-preview/chunks/de-tvILU4R6.js +0 -626
- package/dist/dist-cli-preview/chunks/el-B3kxyML7.js +0 -626
- package/dist/dist-cli-preview/chunks/es-BTQqBZ3c.js +0 -626
- package/dist/dist-cli-preview/chunks/fi-B3aiDLBd.js +0 -626
- package/dist/dist-cli-preview/chunks/fr-C6aLQLnC.js +0 -626
- package/dist/dist-cli-preview/chunks/he-yMMGeZ3u.js +0 -626
- package/dist/dist-cli-preview/chunks/hi-Cnovv3v0.js +0 -626
- package/dist/dist-cli-preview/chunks/hr-B9M6sJu9.js +0 -626
- package/dist/dist-cli-preview/chunks/hu-D__s9KvX.js +0 -626
- package/dist/dist-cli-preview/chunks/id-CrrK_-vk.js +0 -626
- package/dist/dist-cli-preview/chunks/index-BF-Yok75.js +0 -341
- package/dist/dist-cli-preview/chunks/it-C_g-lMfy.js +0 -626
- package/dist/dist-cli-preview/chunks/ja-Dmdbg-it.js +0 -626
- package/dist/dist-cli-preview/chunks/ko-C-jyYnAw.js +0 -626
- package/dist/dist-cli-preview/chunks/lock-B3ps7XBv.js +0 -14
- package/dist/dist-cli-preview/chunks/log-out-CDzQuZ5N.js +0 -15
- package/dist/dist-cli-preview/chunks/messaging-BETZIbiu.js +0 -4
- package/dist/dist-cli-preview/chunks/ms-Bk6rBm7W.js +0 -626
- package/dist/dist-cli-preview/chunks/nl-Bh5tyFlK.js +0 -626
- package/dist/dist-cli-preview/chunks/no-BqMQtHFU.js +0 -626
- package/dist/dist-cli-preview/chunks/pl-B4xTBpA_.js +0 -626
- package/dist/dist-cli-preview/chunks/pt-Biz6F-Fo.js +0 -626
- package/dist/dist-cli-preview/chunks/ro-BKd4fPGi.js +0 -626
- package/dist/dist-cli-preview/chunks/ru-CD8HG55y.js +0 -626
- package/dist/dist-cli-preview/chunks/sk-5vqOdyEq.js +0 -626
- package/dist/dist-cli-preview/chunks/sv-D-_y-QCE.js +0 -626
- package/dist/dist-cli-preview/chunks/th-BHVHNGsc.js +0 -626
- package/dist/dist-cli-preview/chunks/tl-DdaRIJXv.js +0 -626
- package/dist/dist-cli-preview/chunks/tr-CP55XLFp.js +0 -626
- package/dist/dist-cli-preview/chunks/trash-2-C5c1weGY.js +0 -137
- package/dist/dist-cli-preview/chunks/uk-C5cwrSwu.js +0 -626
- package/dist/dist-cli-preview/chunks/use-store-DUukxuYV.js +0 -92
- package/dist/dist-cli-preview/chunks/vi-7y-mSoow.js +0 -626
- package/dist/dist-cli-preview/chunks/zh_CN-cvRqvqNw.js +0 -626
- package/dist/dist-cli-preview/chunks/zh_TW-_Qzm5B74.js +0 -626
|
@@ -3,8 +3,8 @@ var v = (n) => {
|
|
|
3
3
|
};
|
|
4
4
|
var y = (n, t, s) => t.has(n) || v("Cannot " + s);
|
|
5
5
|
var i = (n, t, s) => (y(n, t, "read from private field"), s ? s.call(n) : t.get(n)), p = (n, t, s) => t.has(n) ? v("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, s), f = (n, t, s, e) => (y(n, t, "write to private field"), e ? e.call(n, s) : t.set(n, s), s), c = (n, t, s) => (y(n, t, "access private method"), s);
|
|
6
|
-
import {
|
|
7
|
-
var m, u, o, l, h, d, P,
|
|
6
|
+
import { bo as C, bp as R, n as E, l as g } from "./account-screen-runtime-BYj9PrHT.js";
|
|
7
|
+
var m, u, o, l, h, d, P, O = (P = class extends C {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
super();
|
|
10
10
|
p(this, h);
|
|
@@ -248,7 +248,7 @@ function j() {
|
|
|
248
248
|
}, []), n;
|
|
249
249
|
}
|
|
250
250
|
export {
|
|
251
|
-
|
|
251
|
+
O as M,
|
|
252
252
|
S as g,
|
|
253
253
|
j as u
|
|
254
254
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as t } from "./account-screen-runtime-
|
|
2
|
-
import { a as r } from "./store-api-context-
|
|
1
|
+
import { G as t } from "./account-screen-runtime-BYj9PrHT.js";
|
|
2
|
+
import { a as r } from "./store-api-context-DzwRm7gt.js";
|
|
3
3
|
const o = ["portalTenant", "store"], n = 300 * 1e3;
|
|
4
4
|
function s(e) {
|
|
5
5
|
return async () => (await e.fetchStore()).store;
|
|
@@ -0,0 +1,400 @@
|
|
|
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, b0 as Z, M as w, az as ee, ar as re, G as te } from "./account-screen-runtime-BYj9PrHT.js";
|
|
2
|
+
import { C as oe } from "./schemas-EHBiwcQ2.js";
|
|
3
|
+
import { u as ne } from "./store-api-context-DzwRm7gt.js";
|
|
4
|
+
import { S as ae, f as se, a as ie } from "./use-optional-store-DJYDCvhI.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
|
+
};
|