@fluid-app/fluid-cli-theme-dev 0.1.432 → 0.1.434
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
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
import { c as E, l as d, j as o, aa as V, al as H, ab as P, aW as X, aj as S, am as N, aX as $, aY as G, aZ as K, M as j, a_ as U } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
-
import { C as W } from "./schemas-CcDaDYH8.js";
|
|
3
|
-
/**
|
|
4
|
-
* @license lucide-react v0.575.0 - ISC
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the ISC license.
|
|
7
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
const Y = [["path", { d: "M5 12h14", key: "1ays0h" }]], se = E("minus", Y);
|
|
10
|
-
/**
|
|
11
|
-
* @license lucide-react v0.575.0 - ISC
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the ISC license.
|
|
14
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/
|
|
16
|
-
const Z = [
|
|
17
|
-
[
|
|
18
|
-
"path",
|
|
19
|
-
{
|
|
20
|
-
d: "M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",
|
|
21
|
-
key: "1a0edw"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
["path", { d: "M12 22V12", key: "d0xqtd" }],
|
|
25
|
-
["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
|
|
26
|
-
["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
|
|
27
|
-
], ie = E("package", Z);
|
|
28
|
-
/**
|
|
29
|
-
* @license lucide-react v0.575.0 - ISC
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the ISC license.
|
|
32
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/
|
|
34
|
-
const J = [
|
|
35
|
-
["rect", { x: "14", y: "3", width: "5", height: "18", rx: "1", key: "kaeet6" }],
|
|
36
|
-
["rect", { x: "5", y: "3", width: "5", height: "18", rx: "1", key: "1wsw3u" }]
|
|
37
|
-
], ce = E("pause", J);
|
|
38
|
-
var y = "Checkbox", [Q] = V(y), [ee, R] = Q(y);
|
|
39
|
-
function te(e) {
|
|
40
|
-
const {
|
|
41
|
-
__scopeCheckbox: r,
|
|
42
|
-
checked: n,
|
|
43
|
-
children: c,
|
|
44
|
-
defaultChecked: a,
|
|
45
|
-
disabled: t,
|
|
46
|
-
form: b,
|
|
47
|
-
name: f,
|
|
48
|
-
onCheckedChange: u,
|
|
49
|
-
required: x,
|
|
50
|
-
value: v = "on",
|
|
51
|
-
// @ts-expect-error
|
|
52
|
-
internal_do_not_use_render: l
|
|
53
|
-
} = e, [p, g] = X({
|
|
54
|
-
prop: n,
|
|
55
|
-
defaultProp: a ?? !1,
|
|
56
|
-
onChange: u,
|
|
57
|
-
caller: y
|
|
58
|
-
}), [k, m] = d.useState(null), [C, s] = d.useState(null), i = d.useRef(!1), w = k ? !!b || !!k.closest("form") : (
|
|
59
|
-
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
60
|
-
!0
|
|
61
|
-
), _ = {
|
|
62
|
-
checked: p,
|
|
63
|
-
disabled: t,
|
|
64
|
-
setChecked: g,
|
|
65
|
-
control: k,
|
|
66
|
-
setControl: m,
|
|
67
|
-
name: f,
|
|
68
|
-
form: b,
|
|
69
|
-
value: v,
|
|
70
|
-
hasConsumerStoppedPropagationRef: i,
|
|
71
|
-
required: x,
|
|
72
|
-
defaultChecked: h(a) ? !1 : a,
|
|
73
|
-
isFormControl: w,
|
|
74
|
-
bubbleInput: C,
|
|
75
|
-
setBubbleInput: s
|
|
76
|
-
};
|
|
77
|
-
return /* @__PURE__ */ o.jsx(
|
|
78
|
-
ee,
|
|
79
|
-
{
|
|
80
|
-
scope: r,
|
|
81
|
-
..._,
|
|
82
|
-
children: re(l) ? l(_) : c
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
var M = "CheckboxTrigger", B = d.forwardRef(
|
|
87
|
-
({ __scopeCheckbox: e, onKeyDown: r, onClick: n, ...c }, a) => {
|
|
88
|
-
const {
|
|
89
|
-
control: t,
|
|
90
|
-
value: b,
|
|
91
|
-
disabled: f,
|
|
92
|
-
checked: u,
|
|
93
|
-
required: x,
|
|
94
|
-
setControl: v,
|
|
95
|
-
setChecked: l,
|
|
96
|
-
hasConsumerStoppedPropagationRef: p,
|
|
97
|
-
isFormControl: g,
|
|
98
|
-
bubbleInput: k
|
|
99
|
-
} = R(M, e), m = S(a, v), C = d.useRef(u);
|
|
100
|
-
return d.useEffect(() => {
|
|
101
|
-
const s = t?.form;
|
|
102
|
-
if (s) {
|
|
103
|
-
const i = () => l(C.current);
|
|
104
|
-
return s.addEventListener("reset", i), () => s.removeEventListener("reset", i);
|
|
105
|
-
}
|
|
106
|
-
}, [t, l]), /* @__PURE__ */ o.jsx(
|
|
107
|
-
P.button,
|
|
108
|
-
{
|
|
109
|
-
type: "button",
|
|
110
|
-
role: "checkbox",
|
|
111
|
-
"aria-checked": h(u) ? "mixed" : u,
|
|
112
|
-
"aria-required": x,
|
|
113
|
-
"data-state": D(u),
|
|
114
|
-
"data-disabled": f ? "" : void 0,
|
|
115
|
-
disabled: f,
|
|
116
|
-
value: b,
|
|
117
|
-
...c,
|
|
118
|
-
ref: m,
|
|
119
|
-
onKeyDown: N(r, (s) => {
|
|
120
|
-
s.key === "Enter" && s.preventDefault();
|
|
121
|
-
}),
|
|
122
|
-
onClick: N(n, (s) => {
|
|
123
|
-
l((i) => h(i) ? !0 : !i), k && g && (p.current = s.isPropagationStopped(), p.current || s.stopPropagation());
|
|
124
|
-
})
|
|
125
|
-
}
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
);
|
|
129
|
-
B.displayName = M;
|
|
130
|
-
var T = d.forwardRef(
|
|
131
|
-
(e, r) => {
|
|
132
|
-
const {
|
|
133
|
-
__scopeCheckbox: n,
|
|
134
|
-
name: c,
|
|
135
|
-
checked: a,
|
|
136
|
-
defaultChecked: t,
|
|
137
|
-
required: b,
|
|
138
|
-
disabled: f,
|
|
139
|
-
value: u,
|
|
140
|
-
onCheckedChange: x,
|
|
141
|
-
form: v,
|
|
142
|
-
...l
|
|
143
|
-
} = e;
|
|
144
|
-
return /* @__PURE__ */ o.jsx(
|
|
145
|
-
te,
|
|
146
|
-
{
|
|
147
|
-
__scopeCheckbox: n,
|
|
148
|
-
checked: a,
|
|
149
|
-
defaultChecked: t,
|
|
150
|
-
disabled: f,
|
|
151
|
-
required: b,
|
|
152
|
-
onCheckedChange: x,
|
|
153
|
-
name: c,
|
|
154
|
-
form: v,
|
|
155
|
-
value: u,
|
|
156
|
-
internal_do_not_use_render: ({ isFormControl: p }) => /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
157
|
-
/* @__PURE__ */ o.jsx(
|
|
158
|
-
B,
|
|
159
|
-
{
|
|
160
|
-
...l,
|
|
161
|
-
ref: r,
|
|
162
|
-
__scopeCheckbox: n
|
|
163
|
-
}
|
|
164
|
-
),
|
|
165
|
-
p && /* @__PURE__ */ o.jsx(
|
|
166
|
-
L,
|
|
167
|
-
{
|
|
168
|
-
__scopeCheckbox: n
|
|
169
|
-
}
|
|
170
|
-
)
|
|
171
|
-
] })
|
|
172
|
-
}
|
|
173
|
-
);
|
|
174
|
-
}
|
|
175
|
-
);
|
|
176
|
-
T.displayName = y;
|
|
177
|
-
var z = "CheckboxIndicator", A = d.forwardRef(
|
|
178
|
-
(e, r) => {
|
|
179
|
-
const { __scopeCheckbox: n, forceMount: c, ...a } = e, t = R(z, n);
|
|
180
|
-
return /* @__PURE__ */ o.jsx(
|
|
181
|
-
H,
|
|
182
|
-
{
|
|
183
|
-
present: c || h(t.checked) || t.checked === !0,
|
|
184
|
-
children: /* @__PURE__ */ o.jsx(
|
|
185
|
-
P.span,
|
|
186
|
-
{
|
|
187
|
-
"data-state": D(t.checked),
|
|
188
|
-
"data-disabled": t.disabled ? "" : void 0,
|
|
189
|
-
...a,
|
|
190
|
-
ref: r,
|
|
191
|
-
style: { pointerEvents: "none", ...e.style }
|
|
192
|
-
}
|
|
193
|
-
)
|
|
194
|
-
}
|
|
195
|
-
);
|
|
196
|
-
}
|
|
197
|
-
);
|
|
198
|
-
A.displayName = z;
|
|
199
|
-
var q = "CheckboxBubbleInput", L = d.forwardRef(
|
|
200
|
-
({ __scopeCheckbox: e, ...r }, n) => {
|
|
201
|
-
const {
|
|
202
|
-
control: c,
|
|
203
|
-
hasConsumerStoppedPropagationRef: a,
|
|
204
|
-
checked: t,
|
|
205
|
-
defaultChecked: b,
|
|
206
|
-
required: f,
|
|
207
|
-
disabled: u,
|
|
208
|
-
name: x,
|
|
209
|
-
value: v,
|
|
210
|
-
form: l,
|
|
211
|
-
bubbleInput: p,
|
|
212
|
-
setBubbleInput: g
|
|
213
|
-
} = R(q, e), k = S(n, g), m = $(t), C = G(c);
|
|
214
|
-
d.useEffect(() => {
|
|
215
|
-
const i = p;
|
|
216
|
-
if (!i) return;
|
|
217
|
-
const w = window.HTMLInputElement.prototype, I = Object.getOwnPropertyDescriptor(
|
|
218
|
-
w,
|
|
219
|
-
"checked"
|
|
220
|
-
).set, F = !a.current;
|
|
221
|
-
if (m !== t && I) {
|
|
222
|
-
const O = new Event("click", { bubbles: F });
|
|
223
|
-
i.indeterminate = h(t), I.call(i, h(t) ? !1 : t), i.dispatchEvent(O);
|
|
224
|
-
}
|
|
225
|
-
}, [p, m, t, a]);
|
|
226
|
-
const s = d.useRef(h(t) ? !1 : t);
|
|
227
|
-
return /* @__PURE__ */ o.jsx(
|
|
228
|
-
P.input,
|
|
229
|
-
{
|
|
230
|
-
type: "checkbox",
|
|
231
|
-
"aria-hidden": !0,
|
|
232
|
-
defaultChecked: b ?? s.current,
|
|
233
|
-
required: f,
|
|
234
|
-
disabled: u,
|
|
235
|
-
name: x,
|
|
236
|
-
value: v,
|
|
237
|
-
form: l,
|
|
238
|
-
...r,
|
|
239
|
-
tabIndex: -1,
|
|
240
|
-
ref: k,
|
|
241
|
-
style: {
|
|
242
|
-
...r.style,
|
|
243
|
-
...C,
|
|
244
|
-
position: "absolute",
|
|
245
|
-
pointerEvents: "none",
|
|
246
|
-
opacity: 0,
|
|
247
|
-
margin: 0,
|
|
248
|
-
// We transform because the input is absolutely positioned but we have
|
|
249
|
-
// rendered it **after** the button. This pulls it back to sit on top
|
|
250
|
-
// of the button.
|
|
251
|
-
transform: "translateX(-100%)"
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
);
|
|
255
|
-
}
|
|
256
|
-
);
|
|
257
|
-
L.displayName = q;
|
|
258
|
-
function re(e) {
|
|
259
|
-
return typeof e == "function";
|
|
260
|
-
}
|
|
261
|
-
function h(e) {
|
|
262
|
-
return e === "indeterminate";
|
|
263
|
-
}
|
|
264
|
-
function D(e) {
|
|
265
|
-
return h(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
266
|
-
}
|
|
267
|
-
const oe = U(
|
|
268
|
-
"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",
|
|
269
|
-
{
|
|
270
|
-
variants: {
|
|
271
|
-
variant: {
|
|
272
|
-
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
273
|
-
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
274
|
-
destructive: "bg-destructive focus-visible:ring-destructive/20 [a&]:hover:bg-destructive/90 text-white",
|
|
275
|
-
outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
276
|
-
ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
277
|
-
link: "text-primary underline-offset-4 [a&]:hover:underline"
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
defaultVariants: {
|
|
281
|
-
variant: "default"
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
);
|
|
285
|
-
function de({
|
|
286
|
-
className: e,
|
|
287
|
-
variant: r = "default",
|
|
288
|
-
asChild: n = !1,
|
|
289
|
-
...c
|
|
290
|
-
}) {
|
|
291
|
-
const a = n ? K : "span";
|
|
292
|
-
return /* @__PURE__ */ o.jsx(
|
|
293
|
-
a,
|
|
294
|
-
{
|
|
295
|
-
"data-slot": "badge",
|
|
296
|
-
"data-variant": r,
|
|
297
|
-
className: j(oe({ variant: r }), e),
|
|
298
|
-
...c
|
|
299
|
-
}
|
|
300
|
-
);
|
|
301
|
-
}
|
|
302
|
-
function ue({
|
|
303
|
-
className: e,
|
|
304
|
-
...r
|
|
305
|
-
}) {
|
|
306
|
-
return /* @__PURE__ */ o.jsx(
|
|
307
|
-
T,
|
|
308
|
-
{
|
|
309
|
-
"data-slot": "checkbox",
|
|
310
|
-
className: j(
|
|
311
|
-
"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",
|
|
312
|
-
e
|
|
313
|
-
),
|
|
314
|
-
...r,
|
|
315
|
-
children: /* @__PURE__ */ o.jsx(
|
|
316
|
-
A,
|
|
317
|
-
{
|
|
318
|
-
"data-slot": "checkbox-indicator",
|
|
319
|
-
className: "grid place-content-center text-current transition-none",
|
|
320
|
-
children: /* @__PURE__ */ o.jsx(W, { className: "size-3.5" })
|
|
321
|
-
}
|
|
322
|
-
)
|
|
323
|
-
}
|
|
324
|
-
);
|
|
325
|
-
}
|
|
326
|
-
function le({
|
|
327
|
-
className: e,
|
|
328
|
-
...r
|
|
329
|
-
}) {
|
|
330
|
-
return /* @__PURE__ */ o.jsx(
|
|
331
|
-
"textarea",
|
|
332
|
-
{
|
|
333
|
-
"data-slot": "textarea",
|
|
334
|
-
className: j(
|
|
335
|
-
"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",
|
|
336
|
-
e
|
|
337
|
-
),
|
|
338
|
-
...r
|
|
339
|
-
}
|
|
340
|
-
);
|
|
341
|
-
}
|
|
342
|
-
export {
|
|
343
|
-
de as B,
|
|
344
|
-
ue as C,
|
|
345
|
-
se as M,
|
|
346
|
-
ie as P,
|
|
347
|
-
le as T,
|
|
348
|
-
ce as a
|
|
349
|
-
};
|