@fluid-app/fluid-cli-theme-dev 0.1.433 → 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,341 +0,0 @@
|
|
|
1
|
-
import { c as v, l as g, ak as H, aW as L, j as i, aa as E, ba as R, ab as b, am as h, al as $, M as m } from "./account-screen-runtime-BjzMc3GU.js";
|
|
2
|
-
import { a as F, p as P, d as U, e as D } from "./index-DotYg_8P.js";
|
|
3
|
-
import { F as A, H as G, J as V } from "./MobileActionSheet-CBoGiv4j.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license lucide-react v0.575.0 - ISC
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the ISC license.
|
|
8
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
const K = [
|
|
11
|
-
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
12
|
-
["path", { d: "M17 12H7", key: "16if0g" }],
|
|
13
|
-
["path", { d: "M19 19H5", key: "vjpgq2" }]
|
|
14
|
-
], te = v("text-align-center", K);
|
|
15
|
-
/**
|
|
16
|
-
* @license lucide-react v0.575.0 - ISC
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the ISC license.
|
|
19
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
const z = [
|
|
22
|
-
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
23
|
-
["path", { d: "M21 12H9", key: "dn1m92" }],
|
|
24
|
-
["path", { d: "M21 19H7", key: "4cu937" }]
|
|
25
|
-
], ne = v("text-align-end", z);
|
|
26
|
-
/**
|
|
27
|
-
* @license lucide-react v0.575.0 - ISC
|
|
28
|
-
*
|
|
29
|
-
* This source code is licensed under the ISC license.
|
|
30
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/
|
|
32
|
-
const O = [
|
|
33
|
-
["path", { d: "M3 5h18", key: "1u36vt" }],
|
|
34
|
-
["path", { d: "M3 12h18", key: "1i2n21" }],
|
|
35
|
-
["path", { d: "M3 19h18", key: "awlh7x" }]
|
|
36
|
-
], ae = v("text-align-justify", O);
|
|
37
|
-
var x = "Tabs", [q] = E(x, [
|
|
38
|
-
A
|
|
39
|
-
]), y = A(), [B, T] = q(x), M = g.forwardRef(
|
|
40
|
-
(e, t) => {
|
|
41
|
-
const {
|
|
42
|
-
__scopeTabs: n,
|
|
43
|
-
value: a,
|
|
44
|
-
onValueChange: o,
|
|
45
|
-
defaultValue: d,
|
|
46
|
-
orientation: s = "horizontal",
|
|
47
|
-
dir: c,
|
|
48
|
-
activationMode: f = "automatic",
|
|
49
|
-
...p
|
|
50
|
-
} = e, l = H(c), [r, u] = L({
|
|
51
|
-
prop: a,
|
|
52
|
-
onChange: o,
|
|
53
|
-
defaultProp: d ?? "",
|
|
54
|
-
caller: x
|
|
55
|
-
});
|
|
56
|
-
return /* @__PURE__ */ i.jsx(
|
|
57
|
-
B,
|
|
58
|
-
{
|
|
59
|
-
scope: n,
|
|
60
|
-
baseId: R(),
|
|
61
|
-
value: r,
|
|
62
|
-
onValueChange: u,
|
|
63
|
-
orientation: s,
|
|
64
|
-
dir: l,
|
|
65
|
-
activationMode: f,
|
|
66
|
-
children: /* @__PURE__ */ i.jsx(
|
|
67
|
-
b.div,
|
|
68
|
-
{
|
|
69
|
-
dir: l,
|
|
70
|
-
"data-orientation": s,
|
|
71
|
-
...p,
|
|
72
|
-
ref: t
|
|
73
|
-
}
|
|
74
|
-
)
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
M.displayName = x;
|
|
80
|
-
var j = "TabsList", _ = g.forwardRef(
|
|
81
|
-
(e, t) => {
|
|
82
|
-
const { __scopeTabs: n, loop: a = !0, ...o } = e, d = T(j, n), s = y(n);
|
|
83
|
-
return /* @__PURE__ */ i.jsx(
|
|
84
|
-
G,
|
|
85
|
-
{
|
|
86
|
-
asChild: !0,
|
|
87
|
-
...s,
|
|
88
|
-
orientation: d.orientation,
|
|
89
|
-
dir: d.dir,
|
|
90
|
-
loop: a,
|
|
91
|
-
children: /* @__PURE__ */ i.jsx(
|
|
92
|
-
b.div,
|
|
93
|
-
{
|
|
94
|
-
role: "tablist",
|
|
95
|
-
"aria-orientation": d.orientation,
|
|
96
|
-
...o,
|
|
97
|
-
ref: t
|
|
98
|
-
}
|
|
99
|
-
)
|
|
100
|
-
}
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
);
|
|
104
|
-
_.displayName = j;
|
|
105
|
-
var C = "TabsTrigger", k = g.forwardRef(
|
|
106
|
-
(e, t) => {
|
|
107
|
-
const { __scopeTabs: n, value: a, disabled: o = !1, ...d } = e, s = T(C, n), c = y(n), f = I(s.baseId, a), p = w(s.baseId, a), l = a === s.value;
|
|
108
|
-
return /* @__PURE__ */ i.jsx(
|
|
109
|
-
V,
|
|
110
|
-
{
|
|
111
|
-
asChild: !0,
|
|
112
|
-
...c,
|
|
113
|
-
focusable: !o,
|
|
114
|
-
active: l,
|
|
115
|
-
children: /* @__PURE__ */ i.jsx(
|
|
116
|
-
b.button,
|
|
117
|
-
{
|
|
118
|
-
type: "button",
|
|
119
|
-
role: "tab",
|
|
120
|
-
"aria-selected": l,
|
|
121
|
-
"aria-controls": p,
|
|
122
|
-
"data-state": l ? "active" : "inactive",
|
|
123
|
-
"data-disabled": o ? "" : void 0,
|
|
124
|
-
disabled: o,
|
|
125
|
-
id: f,
|
|
126
|
-
...d,
|
|
127
|
-
ref: t,
|
|
128
|
-
onMouseDown: h(e.onMouseDown, (r) => {
|
|
129
|
-
!o && r.button === 0 && r.ctrlKey === !1 ? s.onValueChange(a) : r.preventDefault();
|
|
130
|
-
}),
|
|
131
|
-
onKeyDown: h(e.onKeyDown, (r) => {
|
|
132
|
-
[" ", "Enter"].includes(r.key) && s.onValueChange(a);
|
|
133
|
-
}),
|
|
134
|
-
onFocus: h(e.onFocus, () => {
|
|
135
|
-
const r = s.activationMode !== "manual";
|
|
136
|
-
!l && !o && r && s.onValueChange(a);
|
|
137
|
-
})
|
|
138
|
-
}
|
|
139
|
-
)
|
|
140
|
-
}
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
);
|
|
144
|
-
k.displayName = C;
|
|
145
|
-
var N = "TabsContent", S = g.forwardRef(
|
|
146
|
-
(e, t) => {
|
|
147
|
-
const { __scopeTabs: n, value: a, forceMount: o, children: d, ...s } = e, c = T(N, n), f = I(c.baseId, a), p = w(c.baseId, a), l = a === c.value, r = g.useRef(l);
|
|
148
|
-
return g.useEffect(() => {
|
|
149
|
-
const u = requestAnimationFrame(() => r.current = !1);
|
|
150
|
-
return () => cancelAnimationFrame(u);
|
|
151
|
-
}, []), /* @__PURE__ */ i.jsx($, { present: o || l, children: ({ present: u }) => /* @__PURE__ */ i.jsx(
|
|
152
|
-
b.div,
|
|
153
|
-
{
|
|
154
|
-
"data-state": l ? "active" : "inactive",
|
|
155
|
-
"data-orientation": c.orientation,
|
|
156
|
-
role: "tabpanel",
|
|
157
|
-
"aria-labelledby": f,
|
|
158
|
-
hidden: !u,
|
|
159
|
-
id: p,
|
|
160
|
-
tabIndex: 0,
|
|
161
|
-
...s,
|
|
162
|
-
ref: t,
|
|
163
|
-
style: {
|
|
164
|
-
...e.style,
|
|
165
|
-
animationDuration: r.current ? "0s" : void 0
|
|
166
|
-
},
|
|
167
|
-
children: u && d
|
|
168
|
-
}
|
|
169
|
-
) });
|
|
170
|
-
}
|
|
171
|
-
);
|
|
172
|
-
S.displayName = N;
|
|
173
|
-
function I(e, t) {
|
|
174
|
-
return `${e}-trigger-${t}`;
|
|
175
|
-
}
|
|
176
|
-
function w(e, t) {
|
|
177
|
-
return `${e}-content-${t}`;
|
|
178
|
-
}
|
|
179
|
-
var J = M, W = _, Q = k, X = S;
|
|
180
|
-
function se({
|
|
181
|
-
className: e,
|
|
182
|
-
...t
|
|
183
|
-
}) {
|
|
184
|
-
return /* @__PURE__ */ i.jsx(
|
|
185
|
-
F,
|
|
186
|
-
{
|
|
187
|
-
"data-slot": "spinner",
|
|
188
|
-
role: "status",
|
|
189
|
-
"aria-label": "Loading",
|
|
190
|
-
className: m("size-4 animate-spin", e),
|
|
191
|
-
...t
|
|
192
|
-
}
|
|
193
|
-
);
|
|
194
|
-
}
|
|
195
|
-
function ie({
|
|
196
|
-
className: e,
|
|
197
|
-
...t
|
|
198
|
-
}) {
|
|
199
|
-
return /* @__PURE__ */ i.jsx(
|
|
200
|
-
J,
|
|
201
|
-
{
|
|
202
|
-
"data-slot": "tabs",
|
|
203
|
-
className: m("flex flex-col gap-2", e),
|
|
204
|
-
...t
|
|
205
|
-
}
|
|
206
|
-
);
|
|
207
|
-
}
|
|
208
|
-
function re({
|
|
209
|
-
className: e,
|
|
210
|
-
...t
|
|
211
|
-
}) {
|
|
212
|
-
return /* @__PURE__ */ i.jsx(
|
|
213
|
-
W,
|
|
214
|
-
{
|
|
215
|
-
"data-slot": "tabs-list",
|
|
216
|
-
className: m(
|
|
217
|
-
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
|
|
218
|
-
e
|
|
219
|
-
),
|
|
220
|
-
...t
|
|
221
|
-
}
|
|
222
|
-
);
|
|
223
|
-
}
|
|
224
|
-
function oe({
|
|
225
|
-
className: e,
|
|
226
|
-
...t
|
|
227
|
-
}) {
|
|
228
|
-
return /* @__PURE__ */ i.jsx(
|
|
229
|
-
Q,
|
|
230
|
-
{
|
|
231
|
-
"data-slot": "tabs-trigger",
|
|
232
|
-
className: m(
|
|
233
|
-
"text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring data-[state=active]:bg-background inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
234
|
-
e
|
|
235
|
-
),
|
|
236
|
-
...t
|
|
237
|
-
}
|
|
238
|
-
);
|
|
239
|
-
}
|
|
240
|
-
function le({
|
|
241
|
-
className: e,
|
|
242
|
-
...t
|
|
243
|
-
}) {
|
|
244
|
-
return /* @__PURE__ */ i.jsx(
|
|
245
|
-
X,
|
|
246
|
-
{
|
|
247
|
-
"data-slot": "tabs-content",
|
|
248
|
-
className: m("flex-1 outline-none", e),
|
|
249
|
-
...t
|
|
250
|
-
}
|
|
251
|
-
);
|
|
252
|
-
}
|
|
253
|
-
const de = P.create({
|
|
254
|
-
name: "textAlign",
|
|
255
|
-
addOptions() {
|
|
256
|
-
return {
|
|
257
|
-
types: [],
|
|
258
|
-
alignments: ["left", "center", "right", "justify"],
|
|
259
|
-
defaultAlignment: null
|
|
260
|
-
};
|
|
261
|
-
},
|
|
262
|
-
addGlobalAttributes() {
|
|
263
|
-
return [
|
|
264
|
-
{
|
|
265
|
-
types: this.options.types,
|
|
266
|
-
attributes: {
|
|
267
|
-
textAlign: {
|
|
268
|
-
default: this.options.defaultAlignment,
|
|
269
|
-
parseHTML: (e) => {
|
|
270
|
-
const t = e.style.textAlign;
|
|
271
|
-
return this.options.alignments.includes(t) ? t : this.options.defaultAlignment;
|
|
272
|
-
},
|
|
273
|
-
renderHTML: (e) => e.textAlign ? { style: `text-align: ${e.textAlign}` } : {}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
];
|
|
278
|
-
},
|
|
279
|
-
addCommands() {
|
|
280
|
-
return {
|
|
281
|
-
setTextAlign: (e) => ({ commands: t }) => this.options.alignments.includes(e) ? this.options.types.map((n) => t.updateAttributes(n, { textAlign: e })).every((n) => n) : !1,
|
|
282
|
-
unsetTextAlign: () => ({ commands: e }) => this.options.types.map((t) => e.resetAttributes(t, "textAlign")).every((t) => t),
|
|
283
|
-
toggleTextAlign: (e) => ({ editor: t, commands: n }) => this.options.alignments.includes(e) ? t.isActive({ textAlign: e }) ? n.unsetTextAlign() : n.setTextAlign(e) : !1
|
|
284
|
-
};
|
|
285
|
-
},
|
|
286
|
-
addKeyboardShortcuts() {
|
|
287
|
-
return {
|
|
288
|
-
"Mod-Shift-l": () => this.editor.commands.setTextAlign("left"),
|
|
289
|
-
"Mod-Shift-e": () => this.editor.commands.setTextAlign("center"),
|
|
290
|
-
"Mod-Shift-r": () => this.editor.commands.setTextAlign("right"),
|
|
291
|
-
"Mod-Shift-j": () => this.editor.commands.setTextAlign("justify")
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
}), ce = U.create({
|
|
295
|
-
name: "underline",
|
|
296
|
-
addOptions() {
|
|
297
|
-
return {
|
|
298
|
-
HTMLAttributes: {}
|
|
299
|
-
};
|
|
300
|
-
},
|
|
301
|
-
parseHTML() {
|
|
302
|
-
return [
|
|
303
|
-
{
|
|
304
|
-
tag: "u"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
style: "text-decoration",
|
|
308
|
-
consuming: !1,
|
|
309
|
-
getAttrs: (e) => e.includes("underline") ? {} : !1
|
|
310
|
-
}
|
|
311
|
-
];
|
|
312
|
-
},
|
|
313
|
-
renderHTML({ HTMLAttributes: e }) {
|
|
314
|
-
return ["u", D(this.options.HTMLAttributes, e), 0];
|
|
315
|
-
},
|
|
316
|
-
addCommands() {
|
|
317
|
-
return {
|
|
318
|
-
setUnderline: () => ({ commands: e }) => e.setMark(this.name),
|
|
319
|
-
toggleUnderline: () => ({ commands: e }) => e.toggleMark(this.name),
|
|
320
|
-
unsetUnderline: () => ({ commands: e }) => e.unsetMark(this.name)
|
|
321
|
-
};
|
|
322
|
-
},
|
|
323
|
-
addKeyboardShortcuts() {
|
|
324
|
-
return {
|
|
325
|
-
"Mod-u": () => this.editor.commands.toggleUnderline(),
|
|
326
|
-
"Mod-U": () => this.editor.commands.toggleUnderline()
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
});
|
|
330
|
-
export {
|
|
331
|
-
se as S,
|
|
332
|
-
ie as T,
|
|
333
|
-
ce as U,
|
|
334
|
-
re as a,
|
|
335
|
-
oe as b,
|
|
336
|
-
de as c,
|
|
337
|
-
te as d,
|
|
338
|
-
ne as e,
|
|
339
|
-
ae as f,
|
|
340
|
-
le as g
|
|
341
|
-
};
|