veloce-vue 0.15.0 → 0.16.0
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/components/icon/Icon.vue.d.ts +13 -8
- package/components/icon/icons.d.ts +7 -6
- package/components/icon/index.d.ts +3 -3
- package/config.js +16 -0
- package/exports/config.d.ts +1 -1
- package/exports/icons.d.ts +1 -1
- package/exports/lib.d.ts +1 -1
- package/exports/ui.d.ts +2 -2
- package/icons.js +6 -0
- package/index-DETZgETo.js +147 -0
- package/lib/utils.d.ts +1 -1
- package/package.json +17 -29
- package/ui/accordion/Accordion.vue.d.ts +2 -2
- package/ui/accordion/AccordionContent.vue.d.ts +13 -9
- package/ui/accordion/AccordionItem.vue.d.ts +13 -9
- package/ui/accordion/AccordionRoot.vue.d.ts +15 -10
- package/ui/accordion/AccordionTrigger.vue.d.ts +14 -11
- package/ui/accordion/index.d.ts +5 -5
- package/ui/button/Button.vue.d.ts +17 -13
- package/ui/button/index.d.ts +6 -5
- package/{index.js → ui.js} +710 -866
- package/icons/Alert.vue.d.ts +0 -3
- package/icons/Check.vue.d.ts +0 -3
- package/icons/ChevronDown.vue.d.ts +0 -3
- package/icons/Close.vue.d.ts +0 -3
- package/icons/Hamburger.vue.d.ts +0 -3
- package/icons/Loading.vue.d.ts +0 -3
- package/index.cjs +0 -29
- package/index.cjs.map +0 -1
- package/index.d.ts +0 -4
- package/index.js.map +0 -1
- /package/{veloce-vue.css → veloce.css} +0 -0
package/{index.js → ui.js}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { defineComponent as E, createBlock as M, createElementBlock as
|
|
3
|
-
|
|
1
|
+
import * as We from "vue";
|
|
2
|
+
import { defineComponent as E, createBlock as M, createElementBlock as Ke, openBlock as I, unref as c, normalizeClass as Ee, withCtx as z, Fragment as lt, renderList as Ot, createVNode as ae, createTextVNode as Je, toDisplayString as Xe, inject as Mt, provide as Et, watch as H, getCurrentScope as Pt, onScopeDispose as Nt, getCurrentInstance as ie, ref as R, nextTick as Pe, computed as O, toValue as ne, toHandlerKey as Tt, camelize as ct, toRef as Bt, onUnmounted as jt, toRefs as se, h as W, Comment as Rt, mergeProps as Z, cloneVNode as Vt, renderSlot as T, onMounted as qt, createCommentVNode as Ie, withKeys as Ft, isRef as _e, reactive as Ze, createElementVNode as Gt } from "vue";
|
|
3
|
+
import { _ as Ye } from "./index-DETZgETo.js";
|
|
4
|
+
const Lt = {
|
|
4
5
|
key: 1,
|
|
5
6
|
class: "px-3 py-6 text-center text-gray-500"
|
|
6
|
-
},
|
|
7
|
+
}, Mr = /* @__PURE__ */ E({
|
|
7
8
|
__name: "Accordion",
|
|
8
9
|
props: {
|
|
9
10
|
defaultOpen: { type: Boolean },
|
|
@@ -12,29 +13,29 @@ const Ht = {
|
|
|
12
13
|
border: { type: Boolean }
|
|
13
14
|
},
|
|
14
15
|
setup(e) {
|
|
15
|
-
const
|
|
16
|
-
return (t,
|
|
16
|
+
const r = e;
|
|
17
|
+
return (t, o) => r.items.length ? (I(), M(c(To), {
|
|
17
18
|
key: 0,
|
|
18
|
-
type:
|
|
19
|
-
class:
|
|
19
|
+
type: r.allowMultiple ? "multiple" : "single",
|
|
20
|
+
class: Ee([{ border: r.border }, "w-full"]),
|
|
20
21
|
collapsible: "",
|
|
21
|
-
"default-value":
|
|
22
|
+
"default-value": r.defaultOpen ? r.items[0]?.value : void 0
|
|
22
23
|
}, {
|
|
23
24
|
default: z(() => [
|
|
24
|
-
(
|
|
25
|
+
(I(!0), Ke(lt, null, Ot(r.items, (n) => (I(), M(c(yr), {
|
|
25
26
|
key: n.value,
|
|
26
27
|
value: n.value
|
|
27
28
|
}, {
|
|
28
29
|
default: z(() => [
|
|
29
|
-
|
|
30
|
+
ae(c(Sr), { class: "px-2 py-3" }, {
|
|
30
31
|
default: z(() => [
|
|
31
|
-
Xe(
|
|
32
|
+
Je(Xe(n.title), 1)
|
|
32
33
|
]),
|
|
33
34
|
_: 2
|
|
34
35
|
}, 1024),
|
|
35
|
-
|
|
36
|
+
ae(c(vr), { class: "px-2 pb-3" }, {
|
|
36
37
|
default: z(() => [
|
|
37
|
-
Xe(
|
|
38
|
+
Je(Xe(n.content), 1)
|
|
38
39
|
]),
|
|
39
40
|
_: 2
|
|
40
41
|
}, 1024)
|
|
@@ -43,24 +44,24 @@ const Ht = {
|
|
|
43
44
|
}, 1032, ["value"]))), 128))
|
|
44
45
|
]),
|
|
45
46
|
_: 1
|
|
46
|
-
}, 8, ["type", "class", "default-value"])) : (
|
|
47
|
+
}, 8, ["type", "class", "default-value"])) : (I(), Ke("div", Lt, "No items to show"));
|
|
47
48
|
}
|
|
48
49
|
});
|
|
49
|
-
function
|
|
50
|
-
return typeof e == "string" ? `'${e}'` : new
|
|
50
|
+
function Qe(e) {
|
|
51
|
+
return typeof e == "string" ? `'${e}'` : new Dt().serialize(e);
|
|
51
52
|
}
|
|
52
|
-
const
|
|
53
|
+
const Dt = /* @__PURE__ */ (function() {
|
|
53
54
|
class e {
|
|
54
55
|
#e = /* @__PURE__ */ new Map();
|
|
55
|
-
compare(t,
|
|
56
|
-
const n = typeof t, s = typeof
|
|
57
|
-
return n === "string" && s === "string" ? t.localeCompare(
|
|
56
|
+
compare(t, o) {
|
|
57
|
+
const n = typeof t, s = typeof o;
|
|
58
|
+
return n === "string" && s === "string" ? t.localeCompare(o) : n === "number" && s === "number" ? t - o : String.prototype.localeCompare.call(this.serialize(t, !0), this.serialize(o, !0));
|
|
58
59
|
}
|
|
59
|
-
serialize(t,
|
|
60
|
+
serialize(t, o) {
|
|
60
61
|
if (t === null) return "null";
|
|
61
62
|
switch (typeof t) {
|
|
62
63
|
case "string":
|
|
63
|
-
return
|
|
64
|
+
return o ? t : `'${t}'`;
|
|
64
65
|
case "bigint":
|
|
65
66
|
return `${t}n`;
|
|
66
67
|
case "object":
|
|
@@ -71,8 +72,8 @@ const Wt = /* @__PURE__ */ (function() {
|
|
|
71
72
|
return String(t);
|
|
72
73
|
}
|
|
73
74
|
serializeObject(t) {
|
|
74
|
-
const
|
|
75
|
-
if (
|
|
75
|
+
const o = Object.prototype.toString.call(t);
|
|
76
|
+
if (o !== "[object Object]") return this.serializeBuiltInType(o.length < 10 ? `unknown:${o}` : o.slice(8, -1), t);
|
|
76
77
|
const n = t.constructor, s = n === Object || n === void 0 ? "" : n.name;
|
|
77
78
|
if (s !== "" && globalThis[s] === n) return this.serializeBuiltInType(s, t);
|
|
78
79
|
if (typeof t.toJSON == "function") {
|
|
@@ -81,14 +82,14 @@ const Wt = /* @__PURE__ */ (function() {
|
|
|
81
82
|
}
|
|
82
83
|
return this.serializeObjectEntries(s, Object.entries(t));
|
|
83
84
|
}
|
|
84
|
-
serializeBuiltInType(t,
|
|
85
|
+
serializeBuiltInType(t, o) {
|
|
85
86
|
const n = this["$" + t];
|
|
86
|
-
if (n) return n.call(this,
|
|
87
|
-
if (typeof
|
|
87
|
+
if (n) return n.call(this, o);
|
|
88
|
+
if (typeof o?.entries == "function") return this.serializeObjectEntries(t, o.entries());
|
|
88
89
|
throw new Error(`Cannot serialize ${t}`);
|
|
89
90
|
}
|
|
90
|
-
serializeObjectEntries(t,
|
|
91
|
-
const n = Array.from(
|
|
91
|
+
serializeObjectEntries(t, o) {
|
|
92
|
+
const n = Array.from(o).sort((a, i) => this.compare(a[0], i[0]));
|
|
92
93
|
let s = `${t}{`;
|
|
93
94
|
for (let a = 0; a < n.length; a++) {
|
|
94
95
|
const [i, l] = n[a];
|
|
@@ -97,17 +98,17 @@ const Wt = /* @__PURE__ */ (function() {
|
|
|
97
98
|
return s + "}";
|
|
98
99
|
}
|
|
99
100
|
$object(t) {
|
|
100
|
-
let
|
|
101
|
-
return
|
|
101
|
+
let o = this.#e.get(t);
|
|
102
|
+
return o === void 0 && (this.#e.set(t, `#${this.#e.size}`), o = this.serializeObject(t), this.#e.set(t, o)), o;
|
|
102
103
|
}
|
|
103
104
|
$function(t) {
|
|
104
|
-
const
|
|
105
|
-
return
|
|
105
|
+
const o = Function.prototype.toString.call(t);
|
|
106
|
+
return o.slice(-15) === "[native code] }" ? `${t.name || ""}()[native]` : `${t.name}(${t.length})${o.replace(/\s*\n\s*/g, "")}`;
|
|
106
107
|
}
|
|
107
108
|
$Array(t) {
|
|
108
|
-
let
|
|
109
|
-
for (let n = 0; n < t.length; n++)
|
|
110
|
-
return
|
|
109
|
+
let o = "[";
|
|
110
|
+
for (let n = 0; n < t.length; n++) o += this.serialize(t[n]), n < t.length - 1 && (o += ",");
|
|
111
|
+
return o + "]";
|
|
111
112
|
}
|
|
112
113
|
$Date(t) {
|
|
113
114
|
try {
|
|
@@ -120,122 +121,122 @@ const Wt = /* @__PURE__ */ (function() {
|
|
|
120
121
|
return `ArrayBuffer[${new Uint8Array(t).join(",")}]`;
|
|
121
122
|
}
|
|
122
123
|
$Set(t) {
|
|
123
|
-
return `Set${this.$Array(Array.from(t).sort((
|
|
124
|
+
return `Set${this.$Array(Array.from(t).sort((o, n) => this.compare(o, n)))}`;
|
|
124
125
|
}
|
|
125
126
|
$Map(t) {
|
|
126
127
|
return this.serializeObjectEntries("Map", t.entries());
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
|
-
for (const
|
|
130
|
-
return `${
|
|
130
|
+
for (const r of ["Error", "RegExp", "URL"]) e.prototype["$" + r] = function(t) {
|
|
131
|
+
return `${r}(${t})`;
|
|
131
132
|
};
|
|
132
|
-
for (const
|
|
133
|
-
return `${
|
|
133
|
+
for (const r of ["Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]) e.prototype["$" + r] = function(t) {
|
|
134
|
+
return `${r}[${t.join(",")}]`;
|
|
134
135
|
};
|
|
135
|
-
for (const
|
|
136
|
-
return `${
|
|
136
|
+
for (const r of ["BigInt64Array", "BigUint64Array"]) e.prototype["$" + r] = function(t) {
|
|
137
|
+
return `${r}[${t.join("n,")}${t.length > 0 ? "n" : ""}]`;
|
|
137
138
|
};
|
|
138
139
|
return e;
|
|
139
140
|
})();
|
|
140
|
-
function
|
|
141
|
-
return e ===
|
|
141
|
+
function be(e, r) {
|
|
142
|
+
return e === r || Qe(e) === Qe(r);
|
|
142
143
|
}
|
|
143
|
-
function
|
|
144
|
-
const t = typeof e == "string" && !
|
|
144
|
+
function he(e, r) {
|
|
145
|
+
const t = typeof e == "string" && !r ? `${e}Context` : r, o = Symbol(t);
|
|
145
146
|
return [(a) => {
|
|
146
|
-
const i =
|
|
147
|
+
const i = Mt(o, a);
|
|
147
148
|
if (i || i === null) return i;
|
|
148
|
-
throw new Error(`Injection \`${
|
|
149
|
-
}, (a) => (
|
|
149
|
+
throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e) ? `one of the following components: ${e.join(", ")}` : `\`${e}\``}`);
|
|
150
|
+
}, (a) => (Et(o, a), a)];
|
|
150
151
|
}
|
|
151
|
-
function
|
|
152
|
+
function Ut(e) {
|
|
152
153
|
return e == null;
|
|
153
154
|
}
|
|
154
|
-
function
|
|
155
|
-
return
|
|
155
|
+
function Ht(e, r) {
|
|
156
|
+
return Ut(e) ? !1 : Array.isArray(e) ? e.some((t) => be(t, r)) : be(e, r);
|
|
156
157
|
}
|
|
157
|
-
function
|
|
158
|
-
return e ? e.flatMap((
|
|
158
|
+
function Ne(e) {
|
|
159
|
+
return e ? e.flatMap((r) => r.type === lt ? Ne(r.children) : [r]) : [];
|
|
159
160
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
if (!
|
|
163
|
-
const { arrowKeyOptions: n = "both", attributeName: s = "[data-reka-collection-item]", itemsArray: a = [], loop: i = !0, dir: l = "ltr", preventScroll: d = !0, focus: f = !1 } =
|
|
161
|
+
const Wt = ["INPUT", "TEXTAREA"];
|
|
162
|
+
function Kt(e, r, t, o = {}) {
|
|
163
|
+
if (!r || o.enableIgnoredElement && Wt.includes(r.nodeName)) return null;
|
|
164
|
+
const { arrowKeyOptions: n = "both", attributeName: s = "[data-reka-collection-item]", itemsArray: a = [], loop: i = !0, dir: l = "ltr", preventScroll: d = !0, focus: f = !1 } = o, [y, x, w, b, k, v] = [
|
|
164
165
|
e.key === "ArrowRight",
|
|
165
166
|
e.key === "ArrowLeft",
|
|
166
167
|
e.key === "ArrowUp",
|
|
167
168
|
e.key === "ArrowDown",
|
|
168
169
|
e.key === "Home",
|
|
169
170
|
e.key === "End"
|
|
170
|
-
], _ =
|
|
171
|
-
if (!k && !v && (!_ && !
|
|
171
|
+
], _ = w || b, P = y || x;
|
|
172
|
+
if (!k && !v && (!_ && !P || n === "vertical" && P || n === "horizontal" && _)) return null;
|
|
172
173
|
const C = t ? Array.from(t.querySelectorAll(s)) : a;
|
|
173
174
|
if (!C.length) return null;
|
|
174
175
|
d && e.preventDefault();
|
|
175
|
-
let
|
|
176
|
-
return
|
|
177
|
-
goForward: _ ?
|
|
176
|
+
let A = null;
|
|
177
|
+
return P || _ ? A = dt(C, r, {
|
|
178
|
+
goForward: _ ? b : l === "ltr" ? y : x,
|
|
178
179
|
loop: i
|
|
179
|
-
}) : k ?
|
|
180
|
+
}) : k ? A = C.at(0) || null : v && (A = C.at(-1) || null), f && A?.focus(), A;
|
|
180
181
|
}
|
|
181
|
-
function
|
|
182
|
-
if (--
|
|
183
|
-
const n = e.indexOf(
|
|
182
|
+
function dt(e, r, t, o = e.length) {
|
|
183
|
+
if (--o === 0) return null;
|
|
184
|
+
const n = e.indexOf(r), s = t.goForward ? n + 1 : n - 1;
|
|
184
185
|
if (!t.loop && (s < 0 || s >= e.length)) return null;
|
|
185
186
|
const a = (s + e.length) % e.length, i = e[a];
|
|
186
|
-
return i ? i.hasAttribute("disabled") && i.getAttribute("disabled") !== "false" ?
|
|
187
|
+
return i ? i.hasAttribute("disabled") && i.getAttribute("disabled") !== "false" ? dt(e, i, t, o) : i : null;
|
|
187
188
|
}
|
|
188
|
-
const [
|
|
189
|
-
function
|
|
190
|
-
return
|
|
189
|
+
const [ut] = he("ConfigProvider");
|
|
190
|
+
function Jt(e) {
|
|
191
|
+
return Pt() ? (Nt(e), !0) : !1;
|
|
191
192
|
}
|
|
192
|
-
const
|
|
193
|
+
const pt = typeof window < "u" && typeof document < "u";
|
|
193
194
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
194
|
-
const
|
|
195
|
-
function
|
|
195
|
+
const Xt = (e) => typeof e < "u", Zt = Object.prototype.toString, Yt = (e) => Zt.call(e) === "[object Object]";
|
|
196
|
+
function Ce(e) {
|
|
196
197
|
return Array.isArray(e) ? e : [e];
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
-
return
|
|
199
|
+
function Qt(e, r, t) {
|
|
200
|
+
return H(
|
|
200
201
|
e,
|
|
201
|
-
|
|
202
|
+
r,
|
|
202
203
|
{
|
|
203
204
|
...t,
|
|
204
205
|
immediate: !0
|
|
205
206
|
}
|
|
206
207
|
);
|
|
207
208
|
}
|
|
208
|
-
const
|
|
209
|
-
function
|
|
210
|
-
var
|
|
211
|
-
const t =
|
|
212
|
-
return (
|
|
209
|
+
const ft = pt ? window : void 0;
|
|
210
|
+
function Te(e) {
|
|
211
|
+
var r;
|
|
212
|
+
const t = ne(e);
|
|
213
|
+
return (r = t?.$el) != null ? r : t;
|
|
213
214
|
}
|
|
214
|
-
function
|
|
215
|
-
const
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
const i =
|
|
215
|
+
function eo(...e) {
|
|
216
|
+
const r = [], t = () => {
|
|
217
|
+
r.forEach((i) => i()), r.length = 0;
|
|
218
|
+
}, o = (i, l, d, f) => (i.addEventListener(l, d, f), () => i.removeEventListener(l, d, f)), n = O(() => {
|
|
219
|
+
const i = Ce(ne(e[0])).filter((l) => l != null);
|
|
219
220
|
return i.every((l) => typeof l != "string") ? i : void 0;
|
|
220
|
-
}), s =
|
|
221
|
+
}), s = Qt(
|
|
221
222
|
() => {
|
|
222
223
|
var i, l;
|
|
223
224
|
return [
|
|
224
|
-
(l = (i = n.value) == null ? void 0 : i.map((d) =>
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
(l = (i = n.value) == null ? void 0 : i.map((d) => Te(d))) != null ? l : [ft].filter((d) => d != null),
|
|
226
|
+
Ce(ne(n.value ? e[1] : e[0])),
|
|
227
|
+
Ce(c(n.value ? e[2] : e[1])),
|
|
227
228
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
228
|
-
|
|
229
|
+
ne(n.value ? e[3] : e[2])
|
|
229
230
|
];
|
|
230
231
|
},
|
|
231
232
|
([i, l, d, f]) => {
|
|
232
233
|
if (t(), !i?.length || !l?.length || !d?.length)
|
|
233
234
|
return;
|
|
234
|
-
const y =
|
|
235
|
-
|
|
235
|
+
const y = Yt(f) ? { ...f } : f;
|
|
236
|
+
r.push(
|
|
236
237
|
...i.flatMap(
|
|
237
|
-
(
|
|
238
|
-
(
|
|
238
|
+
(x) => l.flatMap(
|
|
239
|
+
(w) => d.map((b) => o(x, w, b, y))
|
|
239
240
|
)
|
|
240
241
|
)
|
|
241
242
|
);
|
|
@@ -244,12 +245,12 @@ function ro(...e) {
|
|
|
244
245
|
), a = () => {
|
|
245
246
|
s(), t();
|
|
246
247
|
};
|
|
247
|
-
return
|
|
248
|
+
return Jt(t), a;
|
|
248
249
|
}
|
|
249
|
-
function
|
|
250
|
+
function to(e) {
|
|
250
251
|
return JSON.parse(JSON.stringify(e));
|
|
251
252
|
}
|
|
252
|
-
function
|
|
253
|
+
function mt(e, r, t, o = {}) {
|
|
253
254
|
var n, s, a;
|
|
254
255
|
const {
|
|
255
256
|
clone: i = !1,
|
|
@@ -257,59 +258,59 @@ function ht(e, o, t, r = {}) {
|
|
|
257
258
|
eventName: d,
|
|
258
259
|
deep: f = !1,
|
|
259
260
|
defaultValue: y,
|
|
260
|
-
shouldEmit:
|
|
261
|
-
} =
|
|
261
|
+
shouldEmit: x
|
|
262
|
+
} = o, w = ie(), b = t || w?.emit || ((n = w?.$emit) == null ? void 0 : n.bind(w)) || ((a = (s = w?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : a.bind(w?.proxy));
|
|
262
263
|
let k = d;
|
|
263
|
-
|
|
264
|
-
const v = (C) => i ? typeof i == "function" ? i(C) :
|
|
265
|
-
|
|
264
|
+
r || (r = "modelValue"), k = k || `update:${r.toString()}`;
|
|
265
|
+
const v = (C) => i ? typeof i == "function" ? i(C) : to(C) : C, _ = () => Xt(e[r]) ? v(e[r]) : y, P = (C) => {
|
|
266
|
+
x ? x(C) && b(k, C) : b(k, C);
|
|
266
267
|
};
|
|
267
268
|
if (l) {
|
|
268
|
-
const C = _(),
|
|
269
|
-
let
|
|
270
|
-
return
|
|
271
|
-
() => e[
|
|
269
|
+
const C = _(), A = R(C);
|
|
270
|
+
let B = !1;
|
|
271
|
+
return H(
|
|
272
|
+
() => e[r],
|
|
272
273
|
(V) => {
|
|
273
|
-
|
|
274
|
+
B || (B = !0, A.value = v(V), Pe(() => B = !1));
|
|
274
275
|
}
|
|
275
|
-
),
|
|
276
|
-
|
|
276
|
+
), H(
|
|
277
|
+
A,
|
|
277
278
|
(V) => {
|
|
278
|
-
!
|
|
279
|
+
!B && (V !== e[r] || f) && P(V);
|
|
279
280
|
},
|
|
280
281
|
{ deep: f }
|
|
281
|
-
),
|
|
282
|
+
), A;
|
|
282
283
|
} else
|
|
283
|
-
return
|
|
284
|
+
return O({
|
|
284
285
|
get() {
|
|
285
286
|
return _();
|
|
286
287
|
},
|
|
287
288
|
set(C) {
|
|
288
|
-
|
|
289
|
+
P(C);
|
|
289
290
|
}
|
|
290
291
|
});
|
|
291
292
|
}
|
|
292
|
-
function
|
|
293
|
-
const
|
|
294
|
-
return
|
|
293
|
+
function oo(e) {
|
|
294
|
+
const r = ut({ dir: R("ltr") });
|
|
295
|
+
return O(() => e?.value || r.dir?.value || "ltr");
|
|
295
296
|
}
|
|
296
|
-
function
|
|
297
|
-
const
|
|
298
|
-
return t?.length || console.warn(`No emitted event found. Please check component: ${
|
|
299
|
-
|
|
300
|
-
}),
|
|
297
|
+
function ro(e) {
|
|
298
|
+
const r = ie(), t = r?.type.emits, o = {};
|
|
299
|
+
return t?.length || console.warn(`No emitted event found. Please check component: ${r?.type.__name}`), t?.forEach((n) => {
|
|
300
|
+
o[Tt(ct(n))] = (...s) => e(n, ...s);
|
|
301
|
+
}), o;
|
|
301
302
|
}
|
|
302
|
-
function
|
|
303
|
-
const e =
|
|
303
|
+
function K() {
|
|
304
|
+
const e = ie(), r = R(), t = O(() => ["#text", "#comment"].includes(r.value?.$el.nodeName) ? r.value?.$el.nextElementSibling : Te(r)), o = Object.assign({}, e.exposed), n = {};
|
|
304
305
|
for (const a in e.props) Object.defineProperty(n, a, {
|
|
305
306
|
enumerable: !0,
|
|
306
307
|
configurable: !0,
|
|
307
308
|
get: () => e.props[a]
|
|
308
309
|
});
|
|
309
|
-
if (Object.keys(
|
|
310
|
+
if (Object.keys(o).length > 0) for (const a in o) Object.defineProperty(n, a, {
|
|
310
311
|
enumerable: !0,
|
|
311
312
|
configurable: !0,
|
|
312
|
-
get: () =>
|
|
313
|
+
get: () => o[a]
|
|
313
314
|
});
|
|
314
315
|
Object.defineProperty(n, "$el", {
|
|
315
316
|
enumerable: !0,
|
|
@@ -317,7 +318,7 @@ function Z() {
|
|
|
317
318
|
get: () => e.vnode.el
|
|
318
319
|
}), e.exposed = n;
|
|
319
320
|
function s(a) {
|
|
320
|
-
|
|
321
|
+
r.value = a, a && (Object.defineProperty(n, "$el", {
|
|
321
322
|
enumerable: !0,
|
|
322
323
|
configurable: !0,
|
|
323
324
|
get: () => a instanceof Element ? a : a.$el
|
|
@@ -325,54 +326,54 @@ function Z() {
|
|
|
325
326
|
}
|
|
326
327
|
return {
|
|
327
328
|
forwardRef: s,
|
|
328
|
-
currentRef:
|
|
329
|
+
currentRef: r,
|
|
329
330
|
currentElement: t
|
|
330
331
|
};
|
|
331
332
|
}
|
|
332
|
-
function
|
|
333
|
-
const
|
|
334
|
-
const a = (
|
|
333
|
+
function gt(e) {
|
|
334
|
+
const r = ie(), t = Object.keys(r?.type.props ?? {}).reduce((n, s) => {
|
|
335
|
+
const a = (r?.type.props[s]).default;
|
|
335
336
|
return a !== void 0 && (n[s] = a), n;
|
|
336
|
-
}, {}),
|
|
337
|
-
return
|
|
338
|
-
const n = {}, s =
|
|
337
|
+
}, {}), o = Bt(e);
|
|
338
|
+
return O(() => {
|
|
339
|
+
const n = {}, s = r?.vnode.props ?? {};
|
|
339
340
|
return Object.keys(s).forEach((a) => {
|
|
340
|
-
n[
|
|
341
|
+
n[ct(a)] = s[a];
|
|
341
342
|
}), Object.keys({
|
|
342
343
|
...t,
|
|
343
344
|
...n
|
|
344
|
-
}).reduce((a, i) => (
|
|
345
|
+
}).reduce((a, i) => (o.value[i] !== void 0 && (a[i] = o.value[i]), a), {});
|
|
345
346
|
});
|
|
346
347
|
}
|
|
347
|
-
function
|
|
348
|
-
const t =
|
|
349
|
-
return
|
|
348
|
+
function no(e, r) {
|
|
349
|
+
const t = gt(e), o = r ? ro(r) : {};
|
|
350
|
+
return O(() => ({
|
|
350
351
|
...t.value,
|
|
351
|
-
...
|
|
352
|
+
...o
|
|
352
353
|
}));
|
|
353
354
|
}
|
|
354
|
-
let
|
|
355
|
-
function
|
|
356
|
-
if ("useId" in
|
|
357
|
-
const t =
|
|
358
|
-
return t.useId ? `${
|
|
355
|
+
let ao = 0;
|
|
356
|
+
function bt(e, r = "reka") {
|
|
357
|
+
if ("useId" in We) return `${r}-${We.useId?.()}`;
|
|
358
|
+
const t = ut({ useId: void 0 });
|
|
359
|
+
return t.useId ? `${r}-${t.useId()}` : `${r}-${++ao}`;
|
|
359
360
|
}
|
|
360
|
-
function
|
|
361
|
+
function so(e, r) {
|
|
361
362
|
const t = R(e);
|
|
362
|
-
function
|
|
363
|
-
return
|
|
363
|
+
function o(s) {
|
|
364
|
+
return r[t.value][s] ?? t.value;
|
|
364
365
|
}
|
|
365
366
|
return {
|
|
366
367
|
state: t,
|
|
367
368
|
dispatch: (s) => {
|
|
368
|
-
t.value =
|
|
369
|
+
t.value = o(s);
|
|
369
370
|
}
|
|
370
371
|
};
|
|
371
372
|
}
|
|
372
|
-
function
|
|
373
|
-
const t = R({}),
|
|
373
|
+
function io(e, r) {
|
|
374
|
+
const t = R({}), o = R("none"), n = R(e), s = e.value ? "mounted" : "unmounted";
|
|
374
375
|
let a;
|
|
375
|
-
const i =
|
|
376
|
+
const i = r.value?.ownerDocument.defaultView ?? ft, { state: l, dispatch: d } = so(s, {
|
|
376
377
|
mounted: {
|
|
377
378
|
UNMOUNT: "unmounted",
|
|
378
379
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -383,46 +384,46 @@ function uo(e, o) {
|
|
|
383
384
|
},
|
|
384
385
|
unmounted: { MOUNT: "mounted" }
|
|
385
386
|
}), f = (v) => {
|
|
386
|
-
if (
|
|
387
|
+
if (pt) {
|
|
387
388
|
const _ = new CustomEvent(v, {
|
|
388
389
|
bubbles: !1,
|
|
389
390
|
cancelable: !1
|
|
390
391
|
});
|
|
391
|
-
|
|
392
|
+
r.value?.dispatchEvent(_);
|
|
392
393
|
}
|
|
393
394
|
};
|
|
394
|
-
|
|
395
|
-
const
|
|
396
|
-
if (await
|
|
397
|
-
const C =
|
|
398
|
-
v ? (d("MOUNT"), f("enter"),
|
|
395
|
+
H(e, async (v, _) => {
|
|
396
|
+
const P = _ !== v;
|
|
397
|
+
if (await Pe(), P) {
|
|
398
|
+
const C = o.value, A = fe(r.value);
|
|
399
|
+
v ? (d("MOUNT"), f("enter"), A === "none" && f("after-enter")) : A === "none" || A === "undefined" || t.value?.display === "none" ? (d("UNMOUNT"), f("leave"), f("after-leave")) : _ && C !== A ? (d("ANIMATION_OUT"), f("leave")) : (d("UNMOUNT"), f("after-leave"));
|
|
399
400
|
}
|
|
400
401
|
}, { immediate: !0 });
|
|
401
402
|
const y = (v) => {
|
|
402
|
-
const _ =
|
|
403
|
-
if (v.target ===
|
|
404
|
-
const
|
|
405
|
-
|
|
406
|
-
|
|
403
|
+
const _ = fe(r.value), P = _.includes(CSS.escape(v.animationName)), C = l.value === "mounted" ? "enter" : "leave";
|
|
404
|
+
if (v.target === r.value && P && (f(`after-${C}`), d("ANIMATION_END"), !n.value)) {
|
|
405
|
+
const A = r.value.style.animationFillMode;
|
|
406
|
+
r.value.style.animationFillMode = "forwards", a = i?.setTimeout(() => {
|
|
407
|
+
r.value?.style.animationFillMode === "forwards" && (r.value.style.animationFillMode = A);
|
|
407
408
|
});
|
|
408
409
|
}
|
|
409
|
-
v.target ===
|
|
410
|
-
},
|
|
411
|
-
v.target ===
|
|
412
|
-
},
|
|
413
|
-
v ? (t.value = getComputedStyle(v), v.addEventListener("animationstart",
|
|
414
|
-
}, { immediate: !0 }),
|
|
415
|
-
const v =
|
|
416
|
-
|
|
410
|
+
v.target === r.value && _ === "none" && d("ANIMATION_END");
|
|
411
|
+
}, x = (v) => {
|
|
412
|
+
v.target === r.value && (o.value = fe(r.value));
|
|
413
|
+
}, w = H(r, (v, _) => {
|
|
414
|
+
v ? (t.value = getComputedStyle(v), v.addEventListener("animationstart", x), v.addEventListener("animationcancel", y), v.addEventListener("animationend", y)) : (d("ANIMATION_END"), a !== void 0 && i?.clearTimeout(a), _?.removeEventListener("animationstart", x), _?.removeEventListener("animationcancel", y), _?.removeEventListener("animationend", y));
|
|
415
|
+
}, { immediate: !0 }), b = H(l, () => {
|
|
416
|
+
const v = fe(r.value);
|
|
417
|
+
o.value = l.value === "mounted" ? v : "none";
|
|
417
418
|
});
|
|
418
|
-
return
|
|
419
|
-
|
|
420
|
-
}), { isPresent:
|
|
419
|
+
return jt(() => {
|
|
420
|
+
w(), b();
|
|
421
|
+
}), { isPresent: O(() => ["mounted", "unmountSuspended"].includes(l.value)) };
|
|
421
422
|
}
|
|
422
|
-
function
|
|
423
|
+
function fe(e) {
|
|
423
424
|
return e && getComputedStyle(e).animationName || "none";
|
|
424
425
|
}
|
|
425
|
-
var
|
|
426
|
+
var lo = E({
|
|
426
427
|
name: "Presence",
|
|
427
428
|
props: {
|
|
428
429
|
present: {
|
|
@@ -432,12 +433,12 @@ var po = E({
|
|
|
432
433
|
forceMount: { type: Boolean }
|
|
433
434
|
},
|
|
434
435
|
slots: {},
|
|
435
|
-
setup(e, { slots:
|
|
436
|
-
const { present:
|
|
436
|
+
setup(e, { slots: r, expose: t }) {
|
|
437
|
+
const { present: o, forceMount: n } = se(e), s = R(), { isPresent: a } = io(o, s);
|
|
437
438
|
t({ present: a });
|
|
438
|
-
let i =
|
|
439
|
-
i =
|
|
440
|
-
const l =
|
|
439
|
+
let i = r.default({ present: a.value });
|
|
440
|
+
i = Ne(i || []);
|
|
441
|
+
const l = ie();
|
|
441
442
|
if (i && i?.length > 1) {
|
|
442
443
|
const d = l?.parent?.type.name ? `<${l.parent.type.name} />` : "component";
|
|
443
444
|
throw new Error([
|
|
@@ -450,34 +451,34 @@ var po = E({
|
|
|
450
451
|
].join(`
|
|
451
452
|
`));
|
|
452
453
|
}
|
|
453
|
-
return () => n.value ||
|
|
454
|
-
const f =
|
|
454
|
+
return () => n.value || o.value || a.value ? W(r.default({ present: a.value })[0], { ref: (d) => {
|
|
455
|
+
const f = Te(d);
|
|
455
456
|
return typeof f?.hasAttribute > "u" || (f?.hasAttribute("data-reka-popper-content-wrapper") ? s.value = f.firstElementChild : s.value = f), f;
|
|
456
457
|
} }) : null;
|
|
457
458
|
}
|
|
458
459
|
});
|
|
459
|
-
const
|
|
460
|
+
const co = E({
|
|
460
461
|
name: "PrimitiveSlot",
|
|
461
462
|
inheritAttrs: !1,
|
|
462
|
-
setup(e, { attrs:
|
|
463
|
+
setup(e, { attrs: r, slots: t }) {
|
|
463
464
|
return () => {
|
|
464
465
|
if (!t.default) return null;
|
|
465
|
-
const
|
|
466
|
-
if (n === -1) return
|
|
467
|
-
const s =
|
|
466
|
+
const o = Ne(t.default()), n = o.findIndex((l) => l.type !== Rt);
|
|
467
|
+
if (n === -1) return o;
|
|
468
|
+
const s = o[n];
|
|
468
469
|
delete s.props?.ref;
|
|
469
|
-
const a = s.props ?
|
|
470
|
+
const a = s.props ? Z(r, s.props) : r, i = Vt({
|
|
470
471
|
...s,
|
|
471
472
|
props: {}
|
|
472
473
|
}, a);
|
|
473
|
-
return
|
|
474
|
+
return o.length === 1 ? i : (o[n] = i, o);
|
|
474
475
|
};
|
|
475
476
|
}
|
|
476
|
-
}),
|
|
477
|
+
}), uo = [
|
|
477
478
|
"area",
|
|
478
479
|
"img",
|
|
479
480
|
"input"
|
|
480
|
-
],
|
|
481
|
+
], Y = E({
|
|
481
482
|
name: "Primitive",
|
|
482
483
|
inheritAttrs: !1,
|
|
483
484
|
props: {
|
|
@@ -490,12 +491,12 @@ const fo = E({
|
|
|
490
491
|
default: "div"
|
|
491
492
|
}
|
|
492
493
|
},
|
|
493
|
-
setup(e, { attrs:
|
|
494
|
-
const
|
|
495
|
-
return typeof
|
|
494
|
+
setup(e, { attrs: r, slots: t }) {
|
|
495
|
+
const o = e.asChild ? "template" : e.as;
|
|
496
|
+
return typeof o == "string" && uo.includes(o) ? () => W(o, r) : o !== "template" ? () => W(e.as, r, { default: t.default }) : () => W(co, r, { default: t.default });
|
|
496
497
|
}
|
|
497
|
-
}), [
|
|
498
|
-
var
|
|
498
|
+
}), [ht, po] = he("CollapsibleRoot");
|
|
499
|
+
var fo = /* @__PURE__ */ E({
|
|
499
500
|
__name: "CollapsibleRoot",
|
|
500
501
|
props: {
|
|
501
502
|
defaultOpen: {
|
|
@@ -527,12 +528,12 @@ var ho = /* @__PURE__ */ E({
|
|
|
527
528
|
}
|
|
528
529
|
},
|
|
529
530
|
emits: ["update:open"],
|
|
530
|
-
setup(e, { expose:
|
|
531
|
-
const
|
|
532
|
-
defaultValue:
|
|
533
|
-
passive:
|
|
534
|
-
}), { disabled: a, unmountOnHide: i } =
|
|
535
|
-
return
|
|
531
|
+
setup(e, { expose: r, emit: t }) {
|
|
532
|
+
const o = e, s = mt(o, "open", t, {
|
|
533
|
+
defaultValue: o.defaultOpen,
|
|
534
|
+
passive: o.open === void 0
|
|
535
|
+
}), { disabled: a, unmountOnHide: i } = se(o);
|
|
536
|
+
return po({
|
|
536
537
|
contentId: "",
|
|
537
538
|
disabled: a,
|
|
538
539
|
open: s,
|
|
@@ -540,13 +541,13 @@ var ho = /* @__PURE__ */ E({
|
|
|
540
541
|
onOpenToggle: () => {
|
|
541
542
|
a.value || (s.value = !s.value);
|
|
542
543
|
}
|
|
543
|
-
}),
|
|
544
|
+
}), r({ open: s }), K(), (l, d) => (I(), M(c(Y), {
|
|
544
545
|
as: l.as,
|
|
545
|
-
"as-child":
|
|
546
|
+
"as-child": o.asChild,
|
|
546
547
|
"data-state": c(s) ? "open" : "closed",
|
|
547
548
|
"data-disabled": c(a) ? "" : void 0
|
|
548
549
|
}, {
|
|
549
|
-
default: z(() => [
|
|
550
|
+
default: z(() => [T(l.$slots, "default", { open: c(s) })]),
|
|
550
551
|
_: 3
|
|
551
552
|
}, 8, [
|
|
552
553
|
"as",
|
|
@@ -555,7 +556,7 @@ var ho = /* @__PURE__ */ E({
|
|
|
555
556
|
"data-disabled"
|
|
556
557
|
]));
|
|
557
558
|
}
|
|
558
|
-
}),
|
|
559
|
+
}), mo = fo, go = /* @__PURE__ */ E({
|
|
559
560
|
inheritAttrs: !1,
|
|
560
561
|
__name: "CollapsibleContent",
|
|
561
562
|
props: {
|
|
@@ -573,50 +574,50 @@ var ho = /* @__PURE__ */ E({
|
|
|
573
574
|
}
|
|
574
575
|
},
|
|
575
576
|
emits: ["contentFound"],
|
|
576
|
-
setup(e, { emit:
|
|
577
|
-
const t = e,
|
|
578
|
-
n.contentId ||=
|
|
579
|
-
const s = R(), { forwardRef: a, currentElement: i } =
|
|
580
|
-
|
|
581
|
-
await
|
|
582
|
-
const
|
|
583
|
-
if (!
|
|
584
|
-
|
|
585
|
-
transitionDuration:
|
|
586
|
-
animationName:
|
|
587
|
-
},
|
|
588
|
-
const k =
|
|
589
|
-
d.value = k.height, l.value = k.width, y.value || (
|
|
577
|
+
setup(e, { emit: r }) {
|
|
578
|
+
const t = e, o = r, n = ht();
|
|
579
|
+
n.contentId ||= bt(void 0, "reka-collapsible-content");
|
|
580
|
+
const s = R(), { forwardRef: a, currentElement: i } = K(), l = R(0), d = R(0), f = O(() => n.open.value), y = R(f.value), x = R();
|
|
581
|
+
H(() => [f.value, s.value?.present], async () => {
|
|
582
|
+
await Pe();
|
|
583
|
+
const b = i.value;
|
|
584
|
+
if (!b) return;
|
|
585
|
+
x.value = x.value || {
|
|
586
|
+
transitionDuration: b.style.transitionDuration,
|
|
587
|
+
animationName: b.style.animationName
|
|
588
|
+
}, b.style.transitionDuration = "0s", b.style.animationName = "none";
|
|
589
|
+
const k = b.getBoundingClientRect();
|
|
590
|
+
d.value = k.height, l.value = k.width, y.value || (b.style.transitionDuration = x.value.transitionDuration, b.style.animationName = x.value.animationName);
|
|
590
591
|
}, { immediate: !0 });
|
|
591
|
-
const
|
|
592
|
-
return
|
|
592
|
+
const w = O(() => y.value && n.open.value);
|
|
593
|
+
return qt(() => {
|
|
593
594
|
requestAnimationFrame(() => {
|
|
594
595
|
y.value = !1;
|
|
595
596
|
});
|
|
596
|
-
}),
|
|
597
|
+
}), eo(i, "beforematch", (b) => {
|
|
597
598
|
requestAnimationFrame(() => {
|
|
598
|
-
n.onOpenToggle(),
|
|
599
|
+
n.onOpenToggle(), o("contentFound");
|
|
599
600
|
});
|
|
600
|
-
}), (
|
|
601
|
+
}), (b, k) => (I(), M(c(lo), {
|
|
601
602
|
ref_key: "presentRef",
|
|
602
603
|
ref: s,
|
|
603
|
-
present:
|
|
604
|
+
present: b.forceMount || c(n).open.value,
|
|
604
605
|
"force-mount": !0
|
|
605
606
|
}, {
|
|
606
|
-
default: z(({ present: v }) => [
|
|
607
|
+
default: z(({ present: v }) => [ae(c(Y), Z(b.$attrs, {
|
|
607
608
|
id: c(n).contentId,
|
|
608
609
|
ref: c(a),
|
|
609
610
|
"as-child": t.asChild,
|
|
610
|
-
as:
|
|
611
|
+
as: b.as,
|
|
611
612
|
hidden: v ? void 0 : c(n).unmountOnHide.value ? "" : "until-found",
|
|
612
|
-
"data-state":
|
|
613
|
+
"data-state": w.value ? void 0 : c(n).open.value ? "open" : "closed",
|
|
613
614
|
"data-disabled": c(n).disabled?.value ? "" : void 0,
|
|
614
615
|
style: {
|
|
615
616
|
"--reka-collapsible-content-height": `${d.value}px`,
|
|
616
617
|
"--reka-collapsible-content-width": `${l.value}px`
|
|
617
618
|
}
|
|
618
619
|
}), {
|
|
619
|
-
default: z(() => [!c(n).unmountOnHide.value || v ?
|
|
620
|
+
default: z(() => [!c(n).unmountOnHide.value || v ? T(b.$slots, "default", { key: 0 }) : Ie("v-if", !0)]),
|
|
620
621
|
_: 2
|
|
621
622
|
}, 1040, [
|
|
622
623
|
"id",
|
|
@@ -630,7 +631,7 @@ var ho = /* @__PURE__ */ E({
|
|
|
630
631
|
_: 3
|
|
631
632
|
}, 8, ["present"]));
|
|
632
633
|
}
|
|
633
|
-
}),
|
|
634
|
+
}), bo = go, ho = /* @__PURE__ */ E({
|
|
634
635
|
__name: "CollapsibleTrigger",
|
|
635
636
|
props: {
|
|
636
637
|
asChild: {
|
|
@@ -644,13 +645,13 @@ var ho = /* @__PURE__ */ E({
|
|
|
644
645
|
}
|
|
645
646
|
},
|
|
646
647
|
setup(e) {
|
|
647
|
-
const
|
|
648
|
-
|
|
649
|
-
const t =
|
|
650
|
-
return (
|
|
651
|
-
type:
|
|
652
|
-
as:
|
|
653
|
-
"as-child":
|
|
648
|
+
const r = e;
|
|
649
|
+
K();
|
|
650
|
+
const t = ht();
|
|
651
|
+
return (o, n) => (I(), M(c(Y), {
|
|
652
|
+
type: o.as === "button" ? "button" : void 0,
|
|
653
|
+
as: o.as,
|
|
654
|
+
"as-child": r.asChild,
|
|
654
655
|
"aria-controls": c(t).contentId,
|
|
655
656
|
"aria-expanded": c(t).open.value,
|
|
656
657
|
"data-state": c(t).open.value ? "open" : "closed",
|
|
@@ -658,7 +659,7 @@ var ho = /* @__PURE__ */ E({
|
|
|
658
659
|
disabled: c(t).disabled?.value,
|
|
659
660
|
onClick: c(t).onOpenToggle
|
|
660
661
|
}, {
|
|
661
|
-
default: z(() => [
|
|
662
|
+
default: z(() => [T(o.$slots, "default")]),
|
|
662
663
|
_: 3
|
|
663
664
|
}, 8, [
|
|
664
665
|
"type",
|
|
@@ -672,47 +673,47 @@ var ho = /* @__PURE__ */ E({
|
|
|
672
673
|
"onClick"
|
|
673
674
|
]));
|
|
674
675
|
}
|
|
675
|
-
}),
|
|
676
|
-
function
|
|
677
|
-
const
|
|
678
|
-
return t !== void 0 ||
|
|
676
|
+
}), vo = ho;
|
|
677
|
+
function yo({ type: e, defaultValue: r, modelValue: t }) {
|
|
678
|
+
const o = t || r;
|
|
679
|
+
return t !== void 0 || r !== void 0 ? Array.isArray(o) ? "multiple" : "single" : e ?? "single";
|
|
679
680
|
}
|
|
680
|
-
function
|
|
681
|
-
return e ||
|
|
681
|
+
function xo({ type: e, defaultValue: r, modelValue: t }) {
|
|
682
|
+
return e || yo({
|
|
682
683
|
type: e,
|
|
683
|
-
defaultValue:
|
|
684
|
+
defaultValue: r,
|
|
684
685
|
modelValue: t
|
|
685
686
|
});
|
|
686
687
|
}
|
|
687
|
-
function
|
|
688
|
-
return
|
|
688
|
+
function wo({ type: e, defaultValue: r }) {
|
|
689
|
+
return r !== void 0 ? r : e === "single" ? void 0 : [];
|
|
689
690
|
}
|
|
690
|
-
function
|
|
691
|
-
const t =
|
|
692
|
-
defaultValue:
|
|
691
|
+
function ko(e, r) {
|
|
692
|
+
const t = O(() => xo(e)), o = mt(e, "modelValue", r, {
|
|
693
|
+
defaultValue: wo(e),
|
|
693
694
|
passive: e.modelValue === void 0,
|
|
694
695
|
deep: !0
|
|
695
696
|
});
|
|
696
697
|
function n(a) {
|
|
697
|
-
if (t.value === "single")
|
|
698
|
+
if (t.value === "single") o.value = be(a, o.value) ? void 0 : a;
|
|
698
699
|
else {
|
|
699
|
-
const i = Array.isArray(
|
|
700
|
-
if (
|
|
701
|
-
const l = i.findIndex((d) =>
|
|
700
|
+
const i = Array.isArray(o.value) ? [...o.value || []] : [o.value].filter(Boolean);
|
|
701
|
+
if (Ht(i, a)) {
|
|
702
|
+
const l = i.findIndex((d) => be(d, a));
|
|
702
703
|
i.splice(l, 1);
|
|
703
704
|
} else i.push(a);
|
|
704
|
-
|
|
705
|
+
o.value = i;
|
|
705
706
|
}
|
|
706
707
|
}
|
|
707
|
-
const s =
|
|
708
|
+
const s = O(() => t.value === "single");
|
|
708
709
|
return {
|
|
709
|
-
modelValue:
|
|
710
|
+
modelValue: o,
|
|
710
711
|
changeModelValue: n,
|
|
711
712
|
isSingle: s
|
|
712
713
|
};
|
|
713
714
|
}
|
|
714
|
-
const [
|
|
715
|
-
var
|
|
715
|
+
const [ve, _o] = he("AccordionRoot");
|
|
716
|
+
var Co = /* @__PURE__ */ E({
|
|
716
717
|
__name: "AccordionRoot",
|
|
717
718
|
props: {
|
|
718
719
|
collapsible: {
|
|
@@ -761,32 +762,32 @@ var So = /* @__PURE__ */ E({
|
|
|
761
762
|
}
|
|
762
763
|
},
|
|
763
764
|
emits: ["update:modelValue"],
|
|
764
|
-
setup(e, { emit:
|
|
765
|
-
const t = e,
|
|
766
|
-
return
|
|
765
|
+
setup(e, { emit: r }) {
|
|
766
|
+
const t = e, o = r, { dir: n, disabled: s, unmountOnHide: a } = se(t), i = oo(n), { modelValue: l, changeModelValue: d, isSingle: f } = ko(t, o), { forwardRef: y, currentElement: x } = K();
|
|
767
|
+
return _o({
|
|
767
768
|
disabled: s,
|
|
768
769
|
direction: i,
|
|
769
770
|
orientation: t.orientation,
|
|
770
|
-
parentElement:
|
|
771
|
+
parentElement: x,
|
|
771
772
|
isSingle: f,
|
|
772
773
|
collapsible: t.collapsible,
|
|
773
774
|
modelValue: l,
|
|
774
775
|
changeModelValue: d,
|
|
775
776
|
unmountOnHide: a
|
|
776
|
-
}), (
|
|
777
|
+
}), (w, b) => (I(), M(c(Y), {
|
|
777
778
|
ref: c(y),
|
|
778
|
-
"as-child":
|
|
779
|
-
as:
|
|
779
|
+
"as-child": w.asChild,
|
|
780
|
+
as: w.as
|
|
780
781
|
}, {
|
|
781
|
-
default: z(() => [
|
|
782
|
+
default: z(() => [T(w.$slots, "default", { modelValue: c(l) })]),
|
|
782
783
|
_: 3
|
|
783
784
|
}, 8, ["as-child", "as"]));
|
|
784
785
|
}
|
|
785
|
-
}),
|
|
786
|
+
}), Ao = Co, ze = /* @__PURE__ */ (function(e) {
|
|
786
787
|
return e.Open = "open", e.Closed = "closed", e;
|
|
787
|
-
})(
|
|
788
|
-
const [
|
|
789
|
-
var
|
|
788
|
+
})(ze || {});
|
|
789
|
+
const [Be, So] = he("AccordionItem");
|
|
790
|
+
var Io = /* @__PURE__ */ E({
|
|
790
791
|
__name: "AccordionItem",
|
|
791
792
|
props: {
|
|
792
793
|
disabled: {
|
|
@@ -810,14 +811,14 @@ var Oo = /* @__PURE__ */ E({
|
|
|
810
811
|
required: !1
|
|
811
812
|
}
|
|
812
813
|
},
|
|
813
|
-
setup(e, { expose:
|
|
814
|
-
const t = e,
|
|
815
|
-
|
|
814
|
+
setup(e, { expose: r }) {
|
|
815
|
+
const t = e, o = ve(), n = O(() => o.isSingle.value ? t.value === o.modelValue.value : Array.isArray(o.modelValue.value) && o.modelValue.value.includes(t.value)), s = O(() => o.disabled.value || t.disabled), a = O(() => s.value ? "" : void 0), i = O(() => n.value ? ze.Open : ze.Closed);
|
|
816
|
+
r({
|
|
816
817
|
open: n,
|
|
817
818
|
dataDisabled: a
|
|
818
819
|
});
|
|
819
|
-
const { currentRef: l, currentElement: d } =
|
|
820
|
-
|
|
820
|
+
const { currentRef: l, currentElement: d } = K();
|
|
821
|
+
So({
|
|
821
822
|
open: n,
|
|
822
823
|
dataState: i,
|
|
823
824
|
disabled: s,
|
|
@@ -825,27 +826,27 @@ var Oo = /* @__PURE__ */ E({
|
|
|
825
826
|
triggerId: "",
|
|
826
827
|
currentRef: l,
|
|
827
828
|
currentElement: d,
|
|
828
|
-
value:
|
|
829
|
+
value: O(() => t.value)
|
|
829
830
|
});
|
|
830
831
|
function f(y) {
|
|
831
|
-
const
|
|
832
|
-
if (Array.from(
|
|
833
|
-
|
|
834
|
-
arrowKeyOptions:
|
|
835
|
-
dir:
|
|
832
|
+
const x = y.target;
|
|
833
|
+
if (Array.from(o.parentElement.value?.querySelectorAll("[data-reka-collection-item]") ?? []).findIndex((k) => k === x) === -1) return null;
|
|
834
|
+
Kt(y, x, o.parentElement.value, {
|
|
835
|
+
arrowKeyOptions: o.orientation,
|
|
836
|
+
dir: o.direction.value,
|
|
836
837
|
focus: !0
|
|
837
838
|
});
|
|
838
839
|
}
|
|
839
|
-
return (y,
|
|
840
|
-
"data-orientation": c(
|
|
840
|
+
return (y, x) => (I(), M(c(mo), {
|
|
841
|
+
"data-orientation": c(o).orientation,
|
|
841
842
|
"data-disabled": a.value,
|
|
842
843
|
"data-state": i.value,
|
|
843
844
|
disabled: s.value,
|
|
844
845
|
open: n.value,
|
|
845
846
|
as: t.as,
|
|
846
847
|
"as-child": t.asChild,
|
|
847
|
-
"unmount-on-hide": c(
|
|
848
|
-
onKeydown:
|
|
848
|
+
"unmount-on-hide": c(o).unmountOnHide.value,
|
|
849
|
+
onKeydown: Ft(f, [
|
|
849
850
|
"up",
|
|
850
851
|
"down",
|
|
851
852
|
"left",
|
|
@@ -854,7 +855,7 @@ var Oo = /* @__PURE__ */ E({
|
|
|
854
855
|
"end"
|
|
855
856
|
])
|
|
856
857
|
}, {
|
|
857
|
-
default: z(() => [
|
|
858
|
+
default: z(() => [T(y.$slots, "default", { open: n.value })]),
|
|
858
859
|
_: 3
|
|
859
860
|
}, 8, [
|
|
860
861
|
"data-orientation",
|
|
@@ -867,7 +868,7 @@ var Oo = /* @__PURE__ */ E({
|
|
|
867
868
|
"unmount-on-hide"
|
|
868
869
|
]));
|
|
869
870
|
}
|
|
870
|
-
}),
|
|
871
|
+
}), zo = Io, $o = /* @__PURE__ */ E({
|
|
871
872
|
__name: "AccordionContent",
|
|
872
873
|
props: {
|
|
873
874
|
forceMount: {
|
|
@@ -884,23 +885,23 @@ var Oo = /* @__PURE__ */ E({
|
|
|
884
885
|
}
|
|
885
886
|
},
|
|
886
887
|
setup(e) {
|
|
887
|
-
const
|
|
888
|
-
return
|
|
888
|
+
const r = e, t = ve(), o = Be();
|
|
889
|
+
return K(), (n, s) => (I(), M(c(bo), {
|
|
889
890
|
role: "region",
|
|
890
|
-
"as-child":
|
|
891
|
+
"as-child": r.asChild,
|
|
891
892
|
as: n.as,
|
|
892
|
-
"force-mount":
|
|
893
|
-
"aria-labelledby": c(
|
|
894
|
-
"data-state": c(
|
|
895
|
-
"data-disabled": c(
|
|
893
|
+
"force-mount": r.forceMount,
|
|
894
|
+
"aria-labelledby": c(o).triggerId,
|
|
895
|
+
"data-state": c(o).dataState.value,
|
|
896
|
+
"data-disabled": c(o).dataDisabled.value,
|
|
896
897
|
"data-orientation": c(t).orientation,
|
|
897
898
|
style: {
|
|
898
899
|
"--reka-accordion-content-width": "var(--reka-collapsible-content-width)",
|
|
899
900
|
"--reka-accordion-content-height": "var(--reka-collapsible-content-height)"
|
|
900
901
|
},
|
|
901
|
-
onContentFound: s[0] || (s[0] = (a) => c(t).changeModelValue(c(
|
|
902
|
+
onContentFound: s[0] || (s[0] = (a) => c(t).changeModelValue(c(o).value.value))
|
|
902
903
|
}, {
|
|
903
|
-
default: z(() => [
|
|
904
|
+
default: z(() => [T(n.$slots, "default")]),
|
|
904
905
|
_: 3
|
|
905
906
|
}, 8, [
|
|
906
907
|
"as-child",
|
|
@@ -912,7 +913,7 @@ var Oo = /* @__PURE__ */ E({
|
|
|
912
913
|
"data-orientation"
|
|
913
914
|
]));
|
|
914
915
|
}
|
|
915
|
-
}),
|
|
916
|
+
}), Oo = $o, Mo = /* @__PURE__ */ E({
|
|
916
917
|
__name: "AccordionHeader",
|
|
917
918
|
props: {
|
|
918
919
|
asChild: {
|
|
@@ -926,15 +927,15 @@ var Oo = /* @__PURE__ */ E({
|
|
|
926
927
|
}
|
|
927
928
|
},
|
|
928
929
|
setup(e) {
|
|
929
|
-
const
|
|
930
|
-
return
|
|
931
|
-
as:
|
|
932
|
-
"as-child":
|
|
930
|
+
const r = e, t = ve(), o = Be();
|
|
931
|
+
return K(), (n, s) => (I(), M(c(Y), {
|
|
932
|
+
as: r.as,
|
|
933
|
+
"as-child": r.asChild,
|
|
933
934
|
"data-orientation": c(t).orientation,
|
|
934
|
-
"data-state": c(
|
|
935
|
-
"data-disabled": c(
|
|
935
|
+
"data-state": c(o).dataState.value,
|
|
936
|
+
"data-disabled": c(o).dataDisabled.value
|
|
936
937
|
}, {
|
|
937
|
-
default: z(() => [
|
|
938
|
+
default: z(() => [T(n.$slots, "default")]),
|
|
938
939
|
_: 3
|
|
939
940
|
}, 8, [
|
|
940
941
|
"as",
|
|
@@ -944,7 +945,7 @@ var Oo = /* @__PURE__ */ E({
|
|
|
944
945
|
"data-disabled"
|
|
945
946
|
]));
|
|
946
947
|
}
|
|
947
|
-
}),
|
|
948
|
+
}), Eo = Mo, Po = /* @__PURE__ */ E({
|
|
948
949
|
__name: "AccordionTrigger",
|
|
949
950
|
props: {
|
|
950
951
|
asChild: {
|
|
@@ -957,27 +958,27 @@ var Oo = /* @__PURE__ */ E({
|
|
|
957
958
|
}
|
|
958
959
|
},
|
|
959
960
|
setup(e) {
|
|
960
|
-
const
|
|
961
|
-
|
|
961
|
+
const r = e, t = ve(), o = Be();
|
|
962
|
+
o.triggerId ||= bt(void 0, "reka-accordion-trigger");
|
|
962
963
|
function n() {
|
|
963
|
-
const s = t.isSingle.value &&
|
|
964
|
-
|
|
964
|
+
const s = t.isSingle.value && o.open.value && !t.collapsible;
|
|
965
|
+
o.disabled.value || s || t.changeModelValue(o.value.value);
|
|
965
966
|
}
|
|
966
|
-
return (s, a) => (
|
|
967
|
-
id: c(
|
|
968
|
-
ref: c(
|
|
967
|
+
return (s, a) => (I(), M(c(vo), {
|
|
968
|
+
id: c(o).triggerId,
|
|
969
|
+
ref: c(o).currentRef,
|
|
969
970
|
"data-reka-collection-item": "",
|
|
970
|
-
as:
|
|
971
|
-
"as-child":
|
|
972
|
-
"aria-disabled": c(
|
|
973
|
-
"aria-expanded": c(
|
|
974
|
-
"data-disabled": c(
|
|
971
|
+
as: r.as,
|
|
972
|
+
"as-child": r.asChild,
|
|
973
|
+
"aria-disabled": c(o).disabled.value || void 0,
|
|
974
|
+
"aria-expanded": c(o).open.value || !1,
|
|
975
|
+
"data-disabled": c(o).dataDisabled.value,
|
|
975
976
|
"data-orientation": c(t).orientation,
|
|
976
|
-
"data-state": c(
|
|
977
|
-
disabled: c(
|
|
977
|
+
"data-state": c(o).dataState.value,
|
|
978
|
+
disabled: c(o).disabled.value,
|
|
978
979
|
onClick: n
|
|
979
980
|
}, {
|
|
980
|
-
default: z(() => [
|
|
981
|
+
default: z(() => [T(s.$slots, "default")]),
|
|
981
982
|
_: 3
|
|
982
983
|
}, 8, [
|
|
983
984
|
"id",
|
|
@@ -991,8 +992,8 @@ var Oo = /* @__PURE__ */ E({
|
|
|
991
992
|
"disabled"
|
|
992
993
|
]));
|
|
993
994
|
}
|
|
994
|
-
}),
|
|
995
|
-
const
|
|
995
|
+
}), No = Po;
|
|
996
|
+
const To = /* @__PURE__ */ E({
|
|
996
997
|
__name: "AccordionRoot",
|
|
997
998
|
props: {
|
|
998
999
|
collapsible: { type: Boolean },
|
|
@@ -1007,31 +1008,31 @@ const Ro = /* @__PURE__ */ E({
|
|
|
1007
1008
|
defaultValue: {}
|
|
1008
1009
|
},
|
|
1009
1010
|
emits: ["update:modelValue"],
|
|
1010
|
-
setup(e, { emit:
|
|
1011
|
-
const n =
|
|
1012
|
-
return (s, a) => (
|
|
1011
|
+
setup(e, { emit: r }) {
|
|
1012
|
+
const n = no(e, r);
|
|
1013
|
+
return (s, a) => (I(), M(c(Ao), Z({ "data-slot": "accordion" }, c(n)), {
|
|
1013
1014
|
default: z(() => [
|
|
1014
|
-
|
|
1015
|
+
T(s.$slots, "default")
|
|
1015
1016
|
]),
|
|
1016
1017
|
_: 3
|
|
1017
1018
|
}, 16));
|
|
1018
1019
|
}
|
|
1019
1020
|
});
|
|
1020
|
-
function
|
|
1021
|
-
if (!
|
|
1022
|
-
return
|
|
1023
|
-
const
|
|
1024
|
-
get(t,
|
|
1025
|
-
return c(Reflect.get(e.value,
|
|
1021
|
+
function Bo(e) {
|
|
1022
|
+
if (!_e(e))
|
|
1023
|
+
return Ze(e);
|
|
1024
|
+
const r = new Proxy({}, {
|
|
1025
|
+
get(t, o, n) {
|
|
1026
|
+
return c(Reflect.get(e.value, o, n));
|
|
1026
1027
|
},
|
|
1027
|
-
set(t,
|
|
1028
|
-
return
|
|
1028
|
+
set(t, o, n) {
|
|
1029
|
+
return _e(e.value[o]) && !_e(n) ? e.value[o].value = n : e.value[o] = n, !0;
|
|
1029
1030
|
},
|
|
1030
|
-
deleteProperty(t,
|
|
1031
|
-
return Reflect.deleteProperty(e.value,
|
|
1031
|
+
deleteProperty(t, o) {
|
|
1032
|
+
return Reflect.deleteProperty(e.value, o);
|
|
1032
1033
|
},
|
|
1033
|
-
has(t,
|
|
1034
|
-
return Reflect.has(e.value,
|
|
1034
|
+
has(t, o) {
|
|
1035
|
+
return Reflect.has(e.value, o);
|
|
1035
1036
|
},
|
|
1036
1037
|
ownKeys() {
|
|
1037
1038
|
return Object.keys(e.value);
|
|
@@ -1043,104 +1044,104 @@ function Vo(e) {
|
|
|
1043
1044
|
};
|
|
1044
1045
|
}
|
|
1045
1046
|
});
|
|
1046
|
-
return
|
|
1047
|
+
return Ze(r);
|
|
1047
1048
|
}
|
|
1048
|
-
function
|
|
1049
|
-
return
|
|
1049
|
+
function jo(e) {
|
|
1050
|
+
return Bo(O(e));
|
|
1050
1051
|
}
|
|
1051
|
-
function
|
|
1052
|
-
const t =
|
|
1053
|
-
return
|
|
1052
|
+
function je(e, ...r) {
|
|
1053
|
+
const t = r.flat(), o = t[0];
|
|
1054
|
+
return jo(() => Object.fromEntries(typeof o == "function" ? Object.entries(se(e)).filter(([n, s]) => !o(ne(s), n)) : Object.entries(se(e)).filter((n) => !t.includes(n[0]))));
|
|
1054
1055
|
}
|
|
1055
1056
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
1056
|
-
function
|
|
1057
|
-
var
|
|
1058
|
-
if (typeof e == "string" || typeof e == "number")
|
|
1057
|
+
function vt(e) {
|
|
1058
|
+
var r, t, o = "";
|
|
1059
|
+
if (typeof e == "string" || typeof e == "number") o += e;
|
|
1059
1060
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
1060
1061
|
var n = e.length;
|
|
1061
|
-
for (
|
|
1062
|
-
} else for (t in e) e[t] && (
|
|
1063
|
-
return
|
|
1062
|
+
for (r = 0; r < n; r++) e[r] && (t = vt(e[r])) && (o && (o += " "), o += t);
|
|
1063
|
+
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
1064
|
+
return o;
|
|
1064
1065
|
}
|
|
1065
|
-
function
|
|
1066
|
-
for (var e,
|
|
1067
|
-
return
|
|
1066
|
+
function yt() {
|
|
1067
|
+
for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = vt(e)) && (o && (o += " "), o += r);
|
|
1068
|
+
return o;
|
|
1068
1069
|
}
|
|
1069
|
-
const
|
|
1070
|
-
const
|
|
1070
|
+
const Re = "-", Ro = (e) => {
|
|
1071
|
+
const r = qo(e), {
|
|
1071
1072
|
conflictingClassGroups: t,
|
|
1072
|
-
conflictingClassGroupModifiers:
|
|
1073
|
+
conflictingClassGroupModifiers: o
|
|
1073
1074
|
} = e;
|
|
1074
1075
|
return {
|
|
1075
1076
|
getClassGroupId: (a) => {
|
|
1076
|
-
const i = a.split(
|
|
1077
|
-
return i[0] === "" && i.length !== 1 && i.shift(),
|
|
1077
|
+
const i = a.split(Re);
|
|
1078
|
+
return i[0] === "" && i.length !== 1 && i.shift(), xt(i, r) || Vo(a);
|
|
1078
1079
|
},
|
|
1079
1080
|
getConflictingClassGroupIds: (a, i) => {
|
|
1080
1081
|
const l = t[a] || [];
|
|
1081
|
-
return i &&
|
|
1082
|
+
return i && o[a] ? [...l, ...o[a]] : l;
|
|
1082
1083
|
}
|
|
1083
1084
|
};
|
|
1084
|
-
},
|
|
1085
|
+
}, xt = (e, r) => {
|
|
1085
1086
|
if (e.length === 0)
|
|
1086
|
-
return
|
|
1087
|
-
const t = e[0],
|
|
1087
|
+
return r.classGroupId;
|
|
1088
|
+
const t = e[0], o = r.nextPart.get(t), n = o ? xt(e.slice(1), o) : void 0;
|
|
1088
1089
|
if (n)
|
|
1089
1090
|
return n;
|
|
1090
|
-
if (
|
|
1091
|
+
if (r.validators.length === 0)
|
|
1091
1092
|
return;
|
|
1092
|
-
const s = e.join(
|
|
1093
|
-
return
|
|
1093
|
+
const s = e.join(Re);
|
|
1094
|
+
return r.validators.find(({
|
|
1094
1095
|
validator: a
|
|
1095
1096
|
}) => a(s))?.classGroupId;
|
|
1096
|
-
},
|
|
1097
|
-
if (
|
|
1098
|
-
const
|
|
1097
|
+
}, et = /^\[(.+)\]$/, Vo = (e) => {
|
|
1098
|
+
if (et.test(e)) {
|
|
1099
|
+
const r = et.exec(e)[1], t = r?.substring(0, r.indexOf(":"));
|
|
1099
1100
|
if (t)
|
|
1100
1101
|
return "arbitrary.." + t;
|
|
1101
1102
|
}
|
|
1102
|
-
},
|
|
1103
|
+
}, qo = (e) => {
|
|
1103
1104
|
const {
|
|
1104
|
-
theme:
|
|
1105
|
+
theme: r,
|
|
1105
1106
|
classGroups: t
|
|
1106
|
-
} = e,
|
|
1107
|
+
} = e, o = {
|
|
1107
1108
|
nextPart: /* @__PURE__ */ new Map(),
|
|
1108
1109
|
validators: []
|
|
1109
1110
|
};
|
|
1110
1111
|
for (const n in t)
|
|
1111
|
-
|
|
1112
|
-
return
|
|
1113
|
-
},
|
|
1112
|
+
$e(t[n], o, n, r);
|
|
1113
|
+
return o;
|
|
1114
|
+
}, $e = (e, r, t, o) => {
|
|
1114
1115
|
e.forEach((n) => {
|
|
1115
1116
|
if (typeof n == "string") {
|
|
1116
|
-
const s = n === "" ?
|
|
1117
|
+
const s = n === "" ? r : tt(r, n);
|
|
1117
1118
|
s.classGroupId = t;
|
|
1118
1119
|
return;
|
|
1119
1120
|
}
|
|
1120
1121
|
if (typeof n == "function") {
|
|
1121
|
-
if (
|
|
1122
|
-
|
|
1122
|
+
if (Fo(n)) {
|
|
1123
|
+
$e(n(o), r, t, o);
|
|
1123
1124
|
return;
|
|
1124
1125
|
}
|
|
1125
|
-
|
|
1126
|
+
r.validators.push({
|
|
1126
1127
|
validator: n,
|
|
1127
1128
|
classGroupId: t
|
|
1128
1129
|
});
|
|
1129
1130
|
return;
|
|
1130
1131
|
}
|
|
1131
1132
|
Object.entries(n).forEach(([s, a]) => {
|
|
1132
|
-
|
|
1133
|
+
$e(a, tt(r, s), t, o);
|
|
1133
1134
|
});
|
|
1134
1135
|
});
|
|
1135
|
-
},
|
|
1136
|
+
}, tt = (e, r) => {
|
|
1136
1137
|
let t = e;
|
|
1137
|
-
return
|
|
1138
|
-
t.nextPart.has(
|
|
1138
|
+
return r.split(Re).forEach((o) => {
|
|
1139
|
+
t.nextPart.has(o) || t.nextPart.set(o, {
|
|
1139
1140
|
nextPart: /* @__PURE__ */ new Map(),
|
|
1140
1141
|
validators: []
|
|
1141
|
-
}), t = t.nextPart.get(
|
|
1142
|
+
}), t = t.nextPart.get(o);
|
|
1142
1143
|
}), t;
|
|
1143
|
-
},
|
|
1144
|
+
}, Fo = (e) => e.isThemeGetter, Go = (e) => {
|
|
1144
1145
|
if (e < 1)
|
|
1145
1146
|
return {
|
|
1146
1147
|
get: () => {
|
|
@@ -1148,55 +1149,55 @@ const Le = "-", Lo = (e) => {
|
|
|
1148
1149
|
set: () => {
|
|
1149
1150
|
}
|
|
1150
1151
|
};
|
|
1151
|
-
let
|
|
1152
|
+
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
1152
1153
|
const n = (s, a) => {
|
|
1153
|
-
t.set(s, a),
|
|
1154
|
+
t.set(s, a), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
1154
1155
|
};
|
|
1155
1156
|
return {
|
|
1156
1157
|
get(s) {
|
|
1157
1158
|
let a = t.get(s);
|
|
1158
1159
|
if (a !== void 0)
|
|
1159
1160
|
return a;
|
|
1160
|
-
if ((a =
|
|
1161
|
+
if ((a = o.get(s)) !== void 0)
|
|
1161
1162
|
return n(s, a), a;
|
|
1162
1163
|
},
|
|
1163
1164
|
set(s, a) {
|
|
1164
1165
|
t.has(s) ? t.set(s, a) : n(s, a);
|
|
1165
1166
|
}
|
|
1166
1167
|
};
|
|
1167
|
-
},
|
|
1168
|
+
}, Oe = "!", Me = ":", Lo = Me.length, Do = (e) => {
|
|
1168
1169
|
const {
|
|
1169
|
-
prefix:
|
|
1170
|
+
prefix: r,
|
|
1170
1171
|
experimentalParseClassName: t
|
|
1171
1172
|
} = e;
|
|
1172
|
-
let
|
|
1173
|
+
let o = (n) => {
|
|
1173
1174
|
const s = [];
|
|
1174
1175
|
let a = 0, i = 0, l = 0, d;
|
|
1175
|
-
for (let
|
|
1176
|
-
let k = n[
|
|
1176
|
+
for (let b = 0; b < n.length; b++) {
|
|
1177
|
+
let k = n[b];
|
|
1177
1178
|
if (a === 0 && i === 0) {
|
|
1178
|
-
if (k ===
|
|
1179
|
-
s.push(n.slice(l,
|
|
1179
|
+
if (k === Me) {
|
|
1180
|
+
s.push(n.slice(l, b)), l = b + Lo;
|
|
1180
1181
|
continue;
|
|
1181
1182
|
}
|
|
1182
1183
|
if (k === "/") {
|
|
1183
|
-
d =
|
|
1184
|
+
d = b;
|
|
1184
1185
|
continue;
|
|
1185
1186
|
}
|
|
1186
1187
|
}
|
|
1187
1188
|
k === "[" ? a++ : k === "]" ? a-- : k === "(" ? i++ : k === ")" && i--;
|
|
1188
1189
|
}
|
|
1189
|
-
const f = s.length === 0 ? n : n.substring(l), y =
|
|
1190
|
+
const f = s.length === 0 ? n : n.substring(l), y = Uo(f), x = y !== f, w = d && d > l ? d - l : void 0;
|
|
1190
1191
|
return {
|
|
1191
1192
|
modifiers: s,
|
|
1192
|
-
hasImportantModifier:
|
|
1193
|
+
hasImportantModifier: x,
|
|
1193
1194
|
baseClassName: y,
|
|
1194
|
-
maybePostfixModifierPosition:
|
|
1195
|
+
maybePostfixModifierPosition: w
|
|
1195
1196
|
};
|
|
1196
1197
|
};
|
|
1197
|
-
if (
|
|
1198
|
-
const n =
|
|
1199
|
-
|
|
1198
|
+
if (r) {
|
|
1199
|
+
const n = r + Me, s = o;
|
|
1200
|
+
o = (a) => a.startsWith(n) ? s(a.substring(n.length)) : {
|
|
1200
1201
|
isExternal: !0,
|
|
1201
1202
|
modifiers: [],
|
|
1202
1203
|
hasImportantModifier: !1,
|
|
@@ -1205,121 +1206,121 @@ const Le = "-", Lo = (e) => {
|
|
|
1205
1206
|
};
|
|
1206
1207
|
}
|
|
1207
1208
|
if (t) {
|
|
1208
|
-
const n =
|
|
1209
|
-
|
|
1209
|
+
const n = o;
|
|
1210
|
+
o = (s) => t({
|
|
1210
1211
|
className: s,
|
|
1211
1212
|
parseClassName: n
|
|
1212
1213
|
});
|
|
1213
1214
|
}
|
|
1214
|
-
return
|
|
1215
|
-
},
|
|
1216
|
-
const
|
|
1217
|
-
return (
|
|
1218
|
-
if (
|
|
1219
|
-
return
|
|
1215
|
+
return o;
|
|
1216
|
+
}, Uo = (e) => e.endsWith(Oe) ? e.substring(0, e.length - 1) : e.startsWith(Oe) ? e.substring(1) : e, Ho = (e) => {
|
|
1217
|
+
const r = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
|
|
1218
|
+
return (o) => {
|
|
1219
|
+
if (o.length <= 1)
|
|
1220
|
+
return o;
|
|
1220
1221
|
const n = [];
|
|
1221
1222
|
let s = [];
|
|
1222
|
-
return
|
|
1223
|
-
a[0] === "[" ||
|
|
1223
|
+
return o.forEach((a) => {
|
|
1224
|
+
a[0] === "[" || r[a] ? (n.push(...s.sort(), a), s = []) : s.push(a);
|
|
1224
1225
|
}), n.push(...s.sort()), n;
|
|
1225
1226
|
};
|
|
1226
|
-
},
|
|
1227
|
-
cache:
|
|
1228
|
-
parseClassName:
|
|
1229
|
-
sortModifiers:
|
|
1230
|
-
...
|
|
1231
|
-
}),
|
|
1227
|
+
}, Wo = (e) => ({
|
|
1228
|
+
cache: Go(e.cacheSize),
|
|
1229
|
+
parseClassName: Do(e),
|
|
1230
|
+
sortModifiers: Ho(e),
|
|
1231
|
+
...Ro(e)
|
|
1232
|
+
}), Ko = /\s+/, Jo = (e, r) => {
|
|
1232
1233
|
const {
|
|
1233
1234
|
parseClassName: t,
|
|
1234
|
-
getClassGroupId:
|
|
1235
|
+
getClassGroupId: o,
|
|
1235
1236
|
getConflictingClassGroupIds: n,
|
|
1236
1237
|
sortModifiers: s
|
|
1237
|
-
} =
|
|
1238
|
+
} = r, a = [], i = e.trim().split(Ko);
|
|
1238
1239
|
let l = "";
|
|
1239
1240
|
for (let d = i.length - 1; d >= 0; d -= 1) {
|
|
1240
1241
|
const f = i[d], {
|
|
1241
1242
|
isExternal: y,
|
|
1242
|
-
modifiers:
|
|
1243
|
-
hasImportantModifier:
|
|
1244
|
-
baseClassName:
|
|
1243
|
+
modifiers: x,
|
|
1244
|
+
hasImportantModifier: w,
|
|
1245
|
+
baseClassName: b,
|
|
1245
1246
|
maybePostfixModifierPosition: k
|
|
1246
1247
|
} = t(f);
|
|
1247
1248
|
if (y) {
|
|
1248
1249
|
l = f + (l.length > 0 ? " " + l : l);
|
|
1249
1250
|
continue;
|
|
1250
1251
|
}
|
|
1251
|
-
let v = !!k, _ =
|
|
1252
|
+
let v = !!k, _ = o(v ? b.substring(0, k) : b);
|
|
1252
1253
|
if (!_) {
|
|
1253
1254
|
if (!v) {
|
|
1254
1255
|
l = f + (l.length > 0 ? " " + l : l);
|
|
1255
1256
|
continue;
|
|
1256
1257
|
}
|
|
1257
|
-
if (_ =
|
|
1258
|
+
if (_ = o(b), !_) {
|
|
1258
1259
|
l = f + (l.length > 0 ? " " + l : l);
|
|
1259
1260
|
continue;
|
|
1260
1261
|
}
|
|
1261
1262
|
v = !1;
|
|
1262
1263
|
}
|
|
1263
|
-
const
|
|
1264
|
-
if (a.includes(
|
|
1264
|
+
const P = s(x).join(":"), C = w ? P + Oe : P, A = C + _;
|
|
1265
|
+
if (a.includes(A))
|
|
1265
1266
|
continue;
|
|
1266
|
-
a.push(
|
|
1267
|
-
const
|
|
1268
|
-
for (let V = 0; V <
|
|
1269
|
-
const
|
|
1270
|
-
a.push(C +
|
|
1267
|
+
a.push(A);
|
|
1268
|
+
const B = n(_, v);
|
|
1269
|
+
for (let V = 0; V < B.length; ++V) {
|
|
1270
|
+
const te = B[V];
|
|
1271
|
+
a.push(C + te);
|
|
1271
1272
|
}
|
|
1272
1273
|
l = f + (l.length > 0 ? " " + l : l);
|
|
1273
1274
|
}
|
|
1274
1275
|
return l;
|
|
1275
1276
|
};
|
|
1276
|
-
function
|
|
1277
|
-
let e = 0,
|
|
1277
|
+
function Xo() {
|
|
1278
|
+
let e = 0, r, t, o = "";
|
|
1278
1279
|
for (; e < arguments.length; )
|
|
1279
|
-
(
|
|
1280
|
-
return
|
|
1280
|
+
(r = arguments[e++]) && (t = wt(r)) && (o && (o += " "), o += t);
|
|
1281
|
+
return o;
|
|
1281
1282
|
}
|
|
1282
|
-
const
|
|
1283
|
+
const wt = (e) => {
|
|
1283
1284
|
if (typeof e == "string")
|
|
1284
1285
|
return e;
|
|
1285
|
-
let
|
|
1286
|
-
for (let
|
|
1287
|
-
e[
|
|
1286
|
+
let r, t = "";
|
|
1287
|
+
for (let o = 0; o < e.length; o++)
|
|
1288
|
+
e[o] && (r = wt(e[o])) && (t && (t += " "), t += r);
|
|
1288
1289
|
return t;
|
|
1289
1290
|
};
|
|
1290
|
-
function
|
|
1291
|
-
let t,
|
|
1291
|
+
function Zo(e, ...r) {
|
|
1292
|
+
let t, o, n, s = a;
|
|
1292
1293
|
function a(l) {
|
|
1293
|
-
const d =
|
|
1294
|
-
return t =
|
|
1294
|
+
const d = r.reduce((f, y) => y(f), e());
|
|
1295
|
+
return t = Wo(d), o = t.cache.get, n = t.cache.set, s = i, i(l);
|
|
1295
1296
|
}
|
|
1296
1297
|
function i(l) {
|
|
1297
|
-
const d =
|
|
1298
|
+
const d = o(l);
|
|
1298
1299
|
if (d)
|
|
1299
1300
|
return d;
|
|
1300
|
-
const f =
|
|
1301
|
+
const f = Jo(l, t);
|
|
1301
1302
|
return n(l, f), f;
|
|
1302
1303
|
}
|
|
1303
1304
|
return function() {
|
|
1304
|
-
return s(
|
|
1305
|
+
return s(Xo.apply(null, arguments));
|
|
1305
1306
|
};
|
|
1306
1307
|
}
|
|
1307
1308
|
const S = (e) => {
|
|
1308
|
-
const
|
|
1309
|
-
return
|
|
1310
|
-
},
|
|
1309
|
+
const r = (t) => t[e] || [];
|
|
1310
|
+
return r.isThemeGetter = !0, r;
|
|
1311
|
+
}, kt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, _t = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yo = /^\d+\/\d+$/, Qo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, er = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, tr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, or = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, rr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = (e) => Yo.test(e), h = (e) => !!e && !Number.isNaN(Number(e)), L = (e) => !!e && Number.isInteger(Number(e)), Ae = (e) => e.endsWith("%") && h(e.slice(0, -1)), G = (e) => Qo.test(e), nr = () => !0, ar = (e) => (
|
|
1311
1312
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1312
1313
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1313
1314
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1314
|
-
|
|
1315
|
-
),
|
|
1316
|
-
const
|
|
1317
|
-
return
|
|
1318
|
-
},
|
|
1319
|
-
const
|
|
1320
|
-
return
|
|
1321
|
-
},
|
|
1322
|
-
const e = S("color"),
|
|
1315
|
+
er.test(e) && !tr.test(e)
|
|
1316
|
+
), Ct = () => !1, sr = (e) => or.test(e), ir = (e) => rr.test(e), lr = (e) => !u(e) && !p(e), cr = (e) => Q(e, It, Ct), u = (e) => kt.test(e), U = (e) => Q(e, zt, ar), Se = (e) => Q(e, mr, h), ot = (e) => Q(e, At, Ct), dr = (e) => Q(e, St, ir), me = (e) => Q(e, $t, sr), p = (e) => _t.test(e), oe = (e) => ee(e, zt), ur = (e) => ee(e, gr), rt = (e) => ee(e, At), pr = (e) => ee(e, It), fr = (e) => ee(e, St), ge = (e) => ee(e, $t, !0), Q = (e, r, t) => {
|
|
1317
|
+
const o = kt.exec(e);
|
|
1318
|
+
return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
|
|
1319
|
+
}, ee = (e, r, t = !1) => {
|
|
1320
|
+
const o = _t.exec(e);
|
|
1321
|
+
return o ? o[1] ? r(o[1]) : t : !1;
|
|
1322
|
+
}, At = (e) => e === "position" || e === "percentage", St = (e) => e === "image" || e === "url", It = (e) => e === "length" || e === "size" || e === "bg-size", zt = (e) => e === "length", mr = (e) => e === "number", gr = (e) => e === "family-name", $t = (e) => e === "shadow", br = () => {
|
|
1323
|
+
const e = S("color"), r = S("font"), t = S("text"), o = S("font-weight"), n = S("tracking"), s = S("leading"), a = S("breakpoint"), i = S("container"), l = S("spacing"), d = S("radius"), f = S("shadow"), y = S("inset-shadow"), x = S("text-shadow"), w = S("drop-shadow"), b = S("blur"), k = S("perspective"), v = S("aspect"), _ = S("ease"), P = S("animate"), C = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [
|
|
1323
1324
|
"center",
|
|
1324
1325
|
"top",
|
|
1325
1326
|
"bottom",
|
|
@@ -1337,15 +1338,15 @@ const S = (e) => {
|
|
|
1337
1338
|
"bottom-left",
|
|
1338
1339
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1339
1340
|
"left-bottom"
|
|
1340
|
-
],
|
|
1341
|
-
span: ["full",
|
|
1342
|
-
},
|
|
1341
|
+
], B = () => [...A(), p, u], V = () => ["auto", "hidden", "clip", "visible", "scroll"], te = () => ["auto", "contain", "none"], g = () => [p, u, l], q = () => [X, "full", "auto", ...g()], Ve = () => [L, "none", "subgrid", p, u], qe = () => ["auto", {
|
|
1342
|
+
span: ["full", L, p, u]
|
|
1343
|
+
}, L, p, u], le = () => [L, "auto", p, u], Fe = () => ["auto", "min", "max", "fr", p, u], xe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], J = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...g()], D = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], m = () => [e, p, u], Ge = () => [...A(), rt, ot, {
|
|
1343
1344
|
position: [p, u]
|
|
1344
|
-
}],
|
|
1345
|
+
}], Le = () => ["no-repeat", {
|
|
1345
1346
|
repeat: ["", "x", "y", "space", "round"]
|
|
1346
|
-
}],
|
|
1347
|
+
}], De = () => ["auto", "cover", "contain", pr, cr, {
|
|
1347
1348
|
size: [p, u]
|
|
1348
|
-
}],
|
|
1349
|
+
}], we = () => [Ae, oe, U], N = () => [
|
|
1349
1350
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1350
1351
|
"",
|
|
1351
1352
|
"none",
|
|
@@ -1353,14 +1354,14 @@ const S = (e) => {
|
|
|
1353
1354
|
d,
|
|
1354
1355
|
p,
|
|
1355
1356
|
u
|
|
1356
|
-
], j = () => ["",
|
|
1357
|
+
], j = () => ["", h, oe, U], ce = () => ["solid", "dashed", "dotted", "double"], Ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => [h, Ae, rt, ot], He = () => [
|
|
1357
1358
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1358
1359
|
"",
|
|
1359
1360
|
"none",
|
|
1360
|
-
|
|
1361
|
+
b,
|
|
1361
1362
|
p,
|
|
1362
1363
|
u
|
|
1363
|
-
],
|
|
1364
|
+
], de = () => ["none", h, p, u], ue = () => ["none", h, p, u], ke = () => [h, p, u], pe = () => [X, "full", ...g()];
|
|
1364
1365
|
return {
|
|
1365
1366
|
cacheSize: 500,
|
|
1366
1367
|
theme: {
|
|
@@ -1368,18 +1369,18 @@ const S = (e) => {
|
|
|
1368
1369
|
aspect: ["video"],
|
|
1369
1370
|
blur: [G],
|
|
1370
1371
|
breakpoint: [G],
|
|
1371
|
-
color: [
|
|
1372
|
+
color: [nr],
|
|
1372
1373
|
container: [G],
|
|
1373
1374
|
"drop-shadow": [G],
|
|
1374
1375
|
ease: ["in", "out", "in-out"],
|
|
1375
|
-
font: [
|
|
1376
|
+
font: [lr],
|
|
1376
1377
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
1377
1378
|
"inset-shadow": [G],
|
|
1378
1379
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
1379
1380
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
1380
1381
|
radius: [G],
|
|
1381
1382
|
shadow: [G],
|
|
1382
|
-
spacing: ["px",
|
|
1383
|
+
spacing: ["px", h],
|
|
1383
1384
|
text: [G],
|
|
1384
1385
|
"text-shadow": [G],
|
|
1385
1386
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -1393,7 +1394,7 @@ const S = (e) => {
|
|
|
1393
1394
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1394
1395
|
*/
|
|
1395
1396
|
aspect: [{
|
|
1396
|
-
aspect: ["auto", "square",
|
|
1397
|
+
aspect: ["auto", "square", X, u, p, v]
|
|
1397
1398
|
}],
|
|
1398
1399
|
/**
|
|
1399
1400
|
* Container
|
|
@@ -1406,7 +1407,7 @@ const S = (e) => {
|
|
|
1406
1407
|
* @see https://tailwindcss.com/docs/columns
|
|
1407
1408
|
*/
|
|
1408
1409
|
columns: [{
|
|
1409
|
-
columns: [
|
|
1410
|
+
columns: [h, u, p, i]
|
|
1410
1411
|
}],
|
|
1411
1412
|
/**
|
|
1412
1413
|
* Break After
|
|
@@ -1484,7 +1485,7 @@ const S = (e) => {
|
|
|
1484
1485
|
* @see https://tailwindcss.com/docs/object-position
|
|
1485
1486
|
*/
|
|
1486
1487
|
"object-position": [{
|
|
1487
|
-
object:
|
|
1488
|
+
object: B()
|
|
1488
1489
|
}],
|
|
1489
1490
|
/**
|
|
1490
1491
|
* Overflow
|
|
@@ -1512,21 +1513,21 @@ const S = (e) => {
|
|
|
1512
1513
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1513
1514
|
*/
|
|
1514
1515
|
overscroll: [{
|
|
1515
|
-
overscroll:
|
|
1516
|
+
overscroll: te()
|
|
1516
1517
|
}],
|
|
1517
1518
|
/**
|
|
1518
1519
|
* Overscroll Behavior X
|
|
1519
1520
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1520
1521
|
*/
|
|
1521
1522
|
"overscroll-x": [{
|
|
1522
|
-
"overscroll-x":
|
|
1523
|
+
"overscroll-x": te()
|
|
1523
1524
|
}],
|
|
1524
1525
|
/**
|
|
1525
1526
|
* Overscroll Behavior Y
|
|
1526
1527
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1527
1528
|
*/
|
|
1528
1529
|
"overscroll-y": [{
|
|
1529
|
-
"overscroll-y":
|
|
1530
|
+
"overscroll-y": te()
|
|
1530
1531
|
}],
|
|
1531
1532
|
/**
|
|
1532
1533
|
* Position
|
|
@@ -1538,63 +1539,63 @@ const S = (e) => {
|
|
|
1538
1539
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1539
1540
|
*/
|
|
1540
1541
|
inset: [{
|
|
1541
|
-
inset:
|
|
1542
|
+
inset: q()
|
|
1542
1543
|
}],
|
|
1543
1544
|
/**
|
|
1544
1545
|
* Right / Left
|
|
1545
1546
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1546
1547
|
*/
|
|
1547
1548
|
"inset-x": [{
|
|
1548
|
-
"inset-x":
|
|
1549
|
+
"inset-x": q()
|
|
1549
1550
|
}],
|
|
1550
1551
|
/**
|
|
1551
1552
|
* Top / Bottom
|
|
1552
1553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1553
1554
|
*/
|
|
1554
1555
|
"inset-y": [{
|
|
1555
|
-
"inset-y":
|
|
1556
|
+
"inset-y": q()
|
|
1556
1557
|
}],
|
|
1557
1558
|
/**
|
|
1558
1559
|
* Start
|
|
1559
1560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1560
1561
|
*/
|
|
1561
1562
|
start: [{
|
|
1562
|
-
start:
|
|
1563
|
+
start: q()
|
|
1563
1564
|
}],
|
|
1564
1565
|
/**
|
|
1565
1566
|
* End
|
|
1566
1567
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1567
1568
|
*/
|
|
1568
1569
|
end: [{
|
|
1569
|
-
end:
|
|
1570
|
+
end: q()
|
|
1570
1571
|
}],
|
|
1571
1572
|
/**
|
|
1572
1573
|
* Top
|
|
1573
1574
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1574
1575
|
*/
|
|
1575
1576
|
top: [{
|
|
1576
|
-
top:
|
|
1577
|
+
top: q()
|
|
1577
1578
|
}],
|
|
1578
1579
|
/**
|
|
1579
1580
|
* Right
|
|
1580
1581
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1581
1582
|
*/
|
|
1582
1583
|
right: [{
|
|
1583
|
-
right:
|
|
1584
|
+
right: q()
|
|
1584
1585
|
}],
|
|
1585
1586
|
/**
|
|
1586
1587
|
* Bottom
|
|
1587
1588
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1588
1589
|
*/
|
|
1589
1590
|
bottom: [{
|
|
1590
|
-
bottom:
|
|
1591
|
+
bottom: q()
|
|
1591
1592
|
}],
|
|
1592
1593
|
/**
|
|
1593
1594
|
* Left
|
|
1594
1595
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1595
1596
|
*/
|
|
1596
1597
|
left: [{
|
|
1597
|
-
left:
|
|
1598
|
+
left: q()
|
|
1598
1599
|
}],
|
|
1599
1600
|
/**
|
|
1600
1601
|
* Visibility
|
|
@@ -1606,7 +1607,7 @@ const S = (e) => {
|
|
|
1606
1607
|
* @see https://tailwindcss.com/docs/z-index
|
|
1607
1608
|
*/
|
|
1608
1609
|
z: [{
|
|
1609
|
-
z: [
|
|
1610
|
+
z: [L, "auto", p, u]
|
|
1610
1611
|
}],
|
|
1611
1612
|
// ------------------------
|
|
1612
1613
|
// --- Flexbox and Grid ---
|
|
@@ -1616,7 +1617,7 @@ const S = (e) => {
|
|
|
1616
1617
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1617
1618
|
*/
|
|
1618
1619
|
basis: [{
|
|
1619
|
-
basis: [
|
|
1620
|
+
basis: [X, "full", "auto", i, ...g()]
|
|
1620
1621
|
}],
|
|
1621
1622
|
/**
|
|
1622
1623
|
* Flex Direction
|
|
@@ -1637,84 +1638,84 @@ const S = (e) => {
|
|
|
1637
1638
|
* @see https://tailwindcss.com/docs/flex
|
|
1638
1639
|
*/
|
|
1639
1640
|
flex: [{
|
|
1640
|
-
flex: [
|
|
1641
|
+
flex: [h, X, "auto", "initial", "none", u]
|
|
1641
1642
|
}],
|
|
1642
1643
|
/**
|
|
1643
1644
|
* Flex Grow
|
|
1644
1645
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1645
1646
|
*/
|
|
1646
1647
|
grow: [{
|
|
1647
|
-
grow: ["",
|
|
1648
|
+
grow: ["", h, p, u]
|
|
1648
1649
|
}],
|
|
1649
1650
|
/**
|
|
1650
1651
|
* Flex Shrink
|
|
1651
1652
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1652
1653
|
*/
|
|
1653
1654
|
shrink: [{
|
|
1654
|
-
shrink: ["",
|
|
1655
|
+
shrink: ["", h, p, u]
|
|
1655
1656
|
}],
|
|
1656
1657
|
/**
|
|
1657
1658
|
* Order
|
|
1658
1659
|
* @see https://tailwindcss.com/docs/order
|
|
1659
1660
|
*/
|
|
1660
1661
|
order: [{
|
|
1661
|
-
order: [
|
|
1662
|
+
order: [L, "first", "last", "none", p, u]
|
|
1662
1663
|
}],
|
|
1663
1664
|
/**
|
|
1664
1665
|
* Grid Template Columns
|
|
1665
1666
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1666
1667
|
*/
|
|
1667
1668
|
"grid-cols": [{
|
|
1668
|
-
"grid-cols":
|
|
1669
|
+
"grid-cols": Ve()
|
|
1669
1670
|
}],
|
|
1670
1671
|
/**
|
|
1671
1672
|
* Grid Column Start / End
|
|
1672
1673
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1673
1674
|
*/
|
|
1674
1675
|
"col-start-end": [{
|
|
1675
|
-
col:
|
|
1676
|
+
col: qe()
|
|
1676
1677
|
}],
|
|
1677
1678
|
/**
|
|
1678
1679
|
* Grid Column Start
|
|
1679
1680
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1680
1681
|
*/
|
|
1681
1682
|
"col-start": [{
|
|
1682
|
-
"col-start":
|
|
1683
|
+
"col-start": le()
|
|
1683
1684
|
}],
|
|
1684
1685
|
/**
|
|
1685
1686
|
* Grid Column End
|
|
1686
1687
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1687
1688
|
*/
|
|
1688
1689
|
"col-end": [{
|
|
1689
|
-
"col-end":
|
|
1690
|
+
"col-end": le()
|
|
1690
1691
|
}],
|
|
1691
1692
|
/**
|
|
1692
1693
|
* Grid Template Rows
|
|
1693
1694
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1694
1695
|
*/
|
|
1695
1696
|
"grid-rows": [{
|
|
1696
|
-
"grid-rows":
|
|
1697
|
+
"grid-rows": Ve()
|
|
1697
1698
|
}],
|
|
1698
1699
|
/**
|
|
1699
1700
|
* Grid Row Start / End
|
|
1700
1701
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1701
1702
|
*/
|
|
1702
1703
|
"row-start-end": [{
|
|
1703
|
-
row:
|
|
1704
|
+
row: qe()
|
|
1704
1705
|
}],
|
|
1705
1706
|
/**
|
|
1706
1707
|
* Grid Row Start
|
|
1707
1708
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1708
1709
|
*/
|
|
1709
1710
|
"row-start": [{
|
|
1710
|
-
"row-start":
|
|
1711
|
+
"row-start": le()
|
|
1711
1712
|
}],
|
|
1712
1713
|
/**
|
|
1713
1714
|
* Grid Row End
|
|
1714
1715
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1715
1716
|
*/
|
|
1716
1717
|
"row-end": [{
|
|
1717
|
-
"row-end":
|
|
1718
|
+
"row-end": le()
|
|
1718
1719
|
}],
|
|
1719
1720
|
/**
|
|
1720
1721
|
* Grid Auto Flow
|
|
@@ -1728,14 +1729,14 @@ const S = (e) => {
|
|
|
1728
1729
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1729
1730
|
*/
|
|
1730
1731
|
"auto-cols": [{
|
|
1731
|
-
"auto-cols":
|
|
1732
|
+
"auto-cols": Fe()
|
|
1732
1733
|
}],
|
|
1733
1734
|
/**
|
|
1734
1735
|
* Grid Auto Rows
|
|
1735
1736
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1736
1737
|
*/
|
|
1737
1738
|
"auto-rows": [{
|
|
1738
|
-
"auto-rows":
|
|
1739
|
+
"auto-rows": Fe()
|
|
1739
1740
|
}],
|
|
1740
1741
|
/**
|
|
1741
1742
|
* Gap
|
|
@@ -1763,35 +1764,35 @@ const S = (e) => {
|
|
|
1763
1764
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1764
1765
|
*/
|
|
1765
1766
|
"justify-content": [{
|
|
1766
|
-
justify: [...
|
|
1767
|
+
justify: [...xe(), "normal"]
|
|
1767
1768
|
}],
|
|
1768
1769
|
/**
|
|
1769
1770
|
* Justify Items
|
|
1770
1771
|
* @see https://tailwindcss.com/docs/justify-items
|
|
1771
1772
|
*/
|
|
1772
1773
|
"justify-items": [{
|
|
1773
|
-
"justify-items": [...
|
|
1774
|
+
"justify-items": [...J(), "normal"]
|
|
1774
1775
|
}],
|
|
1775
1776
|
/**
|
|
1776
1777
|
* Justify Self
|
|
1777
1778
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1778
1779
|
*/
|
|
1779
1780
|
"justify-self": [{
|
|
1780
|
-
"justify-self": ["auto", ...
|
|
1781
|
+
"justify-self": ["auto", ...J()]
|
|
1781
1782
|
}],
|
|
1782
1783
|
/**
|
|
1783
1784
|
* Align Content
|
|
1784
1785
|
* @see https://tailwindcss.com/docs/align-content
|
|
1785
1786
|
*/
|
|
1786
1787
|
"align-content": [{
|
|
1787
|
-
content: ["normal", ...
|
|
1788
|
+
content: ["normal", ...xe()]
|
|
1788
1789
|
}],
|
|
1789
1790
|
/**
|
|
1790
1791
|
* Align Items
|
|
1791
1792
|
* @see https://tailwindcss.com/docs/align-items
|
|
1792
1793
|
*/
|
|
1793
1794
|
"align-items": [{
|
|
1794
|
-
items: [...
|
|
1795
|
+
items: [...J(), {
|
|
1795
1796
|
baseline: ["", "last"]
|
|
1796
1797
|
}]
|
|
1797
1798
|
}],
|
|
@@ -1800,7 +1801,7 @@ const S = (e) => {
|
|
|
1800
1801
|
* @see https://tailwindcss.com/docs/align-self
|
|
1801
1802
|
*/
|
|
1802
1803
|
"align-self": [{
|
|
1803
|
-
self: ["auto", ...
|
|
1804
|
+
self: ["auto", ...J(), {
|
|
1804
1805
|
baseline: ["", "last"]
|
|
1805
1806
|
}]
|
|
1806
1807
|
}],
|
|
@@ -1809,21 +1810,21 @@ const S = (e) => {
|
|
|
1809
1810
|
* @see https://tailwindcss.com/docs/place-content
|
|
1810
1811
|
*/
|
|
1811
1812
|
"place-content": [{
|
|
1812
|
-
"place-content":
|
|
1813
|
+
"place-content": xe()
|
|
1813
1814
|
}],
|
|
1814
1815
|
/**
|
|
1815
1816
|
* Place Items
|
|
1816
1817
|
* @see https://tailwindcss.com/docs/place-items
|
|
1817
1818
|
*/
|
|
1818
1819
|
"place-items": [{
|
|
1819
|
-
"place-items": [...
|
|
1820
|
+
"place-items": [...J(), "baseline"]
|
|
1820
1821
|
}],
|
|
1821
1822
|
/**
|
|
1822
1823
|
* Place Self
|
|
1823
1824
|
* @see https://tailwindcss.com/docs/place-self
|
|
1824
1825
|
*/
|
|
1825
1826
|
"place-self": [{
|
|
1826
|
-
"place-self": ["auto", ...
|
|
1827
|
+
"place-self": ["auto", ...J()]
|
|
1827
1828
|
}],
|
|
1828
1829
|
// Spacing
|
|
1829
1830
|
/**
|
|
@@ -1984,14 +1985,14 @@ const S = (e) => {
|
|
|
1984
1985
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1985
1986
|
*/
|
|
1986
1987
|
size: [{
|
|
1987
|
-
size:
|
|
1988
|
+
size: D()
|
|
1988
1989
|
}],
|
|
1989
1990
|
/**
|
|
1990
1991
|
* Width
|
|
1991
1992
|
* @see https://tailwindcss.com/docs/width
|
|
1992
1993
|
*/
|
|
1993
1994
|
w: [{
|
|
1994
|
-
w: [i, "screen", ...
|
|
1995
|
+
w: [i, "screen", ...D()]
|
|
1995
1996
|
}],
|
|
1996
1997
|
/**
|
|
1997
1998
|
* Min-Width
|
|
@@ -2003,7 +2004,7 @@ const S = (e) => {
|
|
|
2003
2004
|
"screen",
|
|
2004
2005
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2005
2006
|
"none",
|
|
2006
|
-
...
|
|
2007
|
+
...D()
|
|
2007
2008
|
]
|
|
2008
2009
|
}],
|
|
2009
2010
|
/**
|
|
@@ -2021,7 +2022,7 @@ const S = (e) => {
|
|
|
2021
2022
|
{
|
|
2022
2023
|
screen: [a]
|
|
2023
2024
|
},
|
|
2024
|
-
...
|
|
2025
|
+
...D()
|
|
2025
2026
|
]
|
|
2026
2027
|
}],
|
|
2027
2028
|
/**
|
|
@@ -2029,21 +2030,21 @@ const S = (e) => {
|
|
|
2029
2030
|
* @see https://tailwindcss.com/docs/height
|
|
2030
2031
|
*/
|
|
2031
2032
|
h: [{
|
|
2032
|
-
h: ["screen", "lh", ...
|
|
2033
|
+
h: ["screen", "lh", ...D()]
|
|
2033
2034
|
}],
|
|
2034
2035
|
/**
|
|
2035
2036
|
* Min-Height
|
|
2036
2037
|
* @see https://tailwindcss.com/docs/min-height
|
|
2037
2038
|
*/
|
|
2038
2039
|
"min-h": [{
|
|
2039
|
-
"min-h": ["screen", "lh", "none", ...
|
|
2040
|
+
"min-h": ["screen", "lh", "none", ...D()]
|
|
2040
2041
|
}],
|
|
2041
2042
|
/**
|
|
2042
2043
|
* Max-Height
|
|
2043
2044
|
* @see https://tailwindcss.com/docs/max-height
|
|
2044
2045
|
*/
|
|
2045
2046
|
"max-h": [{
|
|
2046
|
-
"max-h": ["screen", "lh", ...
|
|
2047
|
+
"max-h": ["screen", "lh", ...D()]
|
|
2047
2048
|
}],
|
|
2048
2049
|
// ------------------
|
|
2049
2050
|
// --- Typography ---
|
|
@@ -2053,7 +2054,7 @@ const S = (e) => {
|
|
|
2053
2054
|
* @see https://tailwindcss.com/docs/font-size
|
|
2054
2055
|
*/
|
|
2055
2056
|
"font-size": [{
|
|
2056
|
-
text: ["base", t,
|
|
2057
|
+
text: ["base", t, oe, U]
|
|
2057
2058
|
}],
|
|
2058
2059
|
/**
|
|
2059
2060
|
* Font Smoothing
|
|
@@ -2070,21 +2071,21 @@ const S = (e) => {
|
|
|
2070
2071
|
* @see https://tailwindcss.com/docs/font-weight
|
|
2071
2072
|
*/
|
|
2072
2073
|
"font-weight": [{
|
|
2073
|
-
font: [
|
|
2074
|
+
font: [o, p, Se]
|
|
2074
2075
|
}],
|
|
2075
2076
|
/**
|
|
2076
2077
|
* Font Stretch
|
|
2077
2078
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
2078
2079
|
*/
|
|
2079
2080
|
"font-stretch": [{
|
|
2080
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
2081
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ae, u]
|
|
2081
2082
|
}],
|
|
2082
2083
|
/**
|
|
2083
2084
|
* Font Family
|
|
2084
2085
|
* @see https://tailwindcss.com/docs/font-family
|
|
2085
2086
|
*/
|
|
2086
2087
|
"font-family": [{
|
|
2087
|
-
font: [
|
|
2088
|
+
font: [ur, u, r]
|
|
2088
2089
|
}],
|
|
2089
2090
|
/**
|
|
2090
2091
|
* Font Variant Numeric
|
|
@@ -2128,7 +2129,7 @@ const S = (e) => {
|
|
|
2128
2129
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2129
2130
|
*/
|
|
2130
2131
|
"line-clamp": [{
|
|
2131
|
-
"line-clamp": [
|
|
2132
|
+
"line-clamp": [h, "none", p, Se]
|
|
2132
2133
|
}],
|
|
2133
2134
|
/**
|
|
2134
2135
|
* Line Height
|
|
@@ -2194,14 +2195,14 @@ const S = (e) => {
|
|
|
2194
2195
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2195
2196
|
*/
|
|
2196
2197
|
"text-decoration-style": [{
|
|
2197
|
-
decoration: [...
|
|
2198
|
+
decoration: [...ce(), "wavy"]
|
|
2198
2199
|
}],
|
|
2199
2200
|
/**
|
|
2200
2201
|
* Text Decoration Thickness
|
|
2201
2202
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2202
2203
|
*/
|
|
2203
2204
|
"text-decoration-thickness": [{
|
|
2204
|
-
decoration: [
|
|
2205
|
+
decoration: [h, "from-font", "auto", p, U]
|
|
2205
2206
|
}],
|
|
2206
2207
|
/**
|
|
2207
2208
|
* Text Decoration Color
|
|
@@ -2215,7 +2216,7 @@ const S = (e) => {
|
|
|
2215
2216
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2216
2217
|
*/
|
|
2217
2218
|
"underline-offset": [{
|
|
2218
|
-
"underline-offset": [
|
|
2219
|
+
"underline-offset": [h, "auto", p, u]
|
|
2219
2220
|
}],
|
|
2220
2221
|
/**
|
|
2221
2222
|
* Text Transform
|
|
@@ -2312,21 +2313,21 @@ const S = (e) => {
|
|
|
2312
2313
|
* @see https://tailwindcss.com/docs/background-position
|
|
2313
2314
|
*/
|
|
2314
2315
|
"bg-position": [{
|
|
2315
|
-
bg:
|
|
2316
|
+
bg: Ge()
|
|
2316
2317
|
}],
|
|
2317
2318
|
/**
|
|
2318
2319
|
* Background Repeat
|
|
2319
2320
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
2320
2321
|
*/
|
|
2321
2322
|
"bg-repeat": [{
|
|
2322
|
-
bg:
|
|
2323
|
+
bg: Le()
|
|
2323
2324
|
}],
|
|
2324
2325
|
/**
|
|
2325
2326
|
* Background Size
|
|
2326
2327
|
* @see https://tailwindcss.com/docs/background-size
|
|
2327
2328
|
*/
|
|
2328
2329
|
"bg-size": [{
|
|
2329
|
-
bg:
|
|
2330
|
+
bg: De()
|
|
2330
2331
|
}],
|
|
2331
2332
|
/**
|
|
2332
2333
|
* Background Image
|
|
@@ -2336,10 +2337,10 @@ const S = (e) => {
|
|
|
2336
2337
|
bg: ["none", {
|
|
2337
2338
|
linear: [{
|
|
2338
2339
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2339
|
-
},
|
|
2340
|
+
}, L, p, u],
|
|
2340
2341
|
radial: ["", p, u],
|
|
2341
|
-
conic: [
|
|
2342
|
-
},
|
|
2342
|
+
conic: [L, p, u]
|
|
2343
|
+
}, fr, dr]
|
|
2343
2344
|
}],
|
|
2344
2345
|
/**
|
|
2345
2346
|
* Background Color
|
|
@@ -2353,21 +2354,21 @@ const S = (e) => {
|
|
|
2353
2354
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2354
2355
|
*/
|
|
2355
2356
|
"gradient-from-pos": [{
|
|
2356
|
-
from:
|
|
2357
|
+
from: we()
|
|
2357
2358
|
}],
|
|
2358
2359
|
/**
|
|
2359
2360
|
* Gradient Color Stops Via Position
|
|
2360
2361
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2361
2362
|
*/
|
|
2362
2363
|
"gradient-via-pos": [{
|
|
2363
|
-
via:
|
|
2364
|
+
via: we()
|
|
2364
2365
|
}],
|
|
2365
2366
|
/**
|
|
2366
2367
|
* Gradient Color Stops To Position
|
|
2367
2368
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2368
2369
|
*/
|
|
2369
2370
|
"gradient-to-pos": [{
|
|
2370
|
-
to:
|
|
2371
|
+
to: we()
|
|
2371
2372
|
}],
|
|
2372
2373
|
/**
|
|
2373
2374
|
* Gradient Color Stops From
|
|
@@ -2398,105 +2399,105 @@ const S = (e) => {
|
|
|
2398
2399
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2399
2400
|
*/
|
|
2400
2401
|
rounded: [{
|
|
2401
|
-
rounded:
|
|
2402
|
+
rounded: N()
|
|
2402
2403
|
}],
|
|
2403
2404
|
/**
|
|
2404
2405
|
* Border Radius Start
|
|
2405
2406
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2406
2407
|
*/
|
|
2407
2408
|
"rounded-s": [{
|
|
2408
|
-
"rounded-s":
|
|
2409
|
+
"rounded-s": N()
|
|
2409
2410
|
}],
|
|
2410
2411
|
/**
|
|
2411
2412
|
* Border Radius End
|
|
2412
2413
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2413
2414
|
*/
|
|
2414
2415
|
"rounded-e": [{
|
|
2415
|
-
"rounded-e":
|
|
2416
|
+
"rounded-e": N()
|
|
2416
2417
|
}],
|
|
2417
2418
|
/**
|
|
2418
2419
|
* Border Radius Top
|
|
2419
2420
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2420
2421
|
*/
|
|
2421
2422
|
"rounded-t": [{
|
|
2422
|
-
"rounded-t":
|
|
2423
|
+
"rounded-t": N()
|
|
2423
2424
|
}],
|
|
2424
2425
|
/**
|
|
2425
2426
|
* Border Radius Right
|
|
2426
2427
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2427
2428
|
*/
|
|
2428
2429
|
"rounded-r": [{
|
|
2429
|
-
"rounded-r":
|
|
2430
|
+
"rounded-r": N()
|
|
2430
2431
|
}],
|
|
2431
2432
|
/**
|
|
2432
2433
|
* Border Radius Bottom
|
|
2433
2434
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2434
2435
|
*/
|
|
2435
2436
|
"rounded-b": [{
|
|
2436
|
-
"rounded-b":
|
|
2437
|
+
"rounded-b": N()
|
|
2437
2438
|
}],
|
|
2438
2439
|
/**
|
|
2439
2440
|
* Border Radius Left
|
|
2440
2441
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2441
2442
|
*/
|
|
2442
2443
|
"rounded-l": [{
|
|
2443
|
-
"rounded-l":
|
|
2444
|
+
"rounded-l": N()
|
|
2444
2445
|
}],
|
|
2445
2446
|
/**
|
|
2446
2447
|
* Border Radius Start Start
|
|
2447
2448
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2448
2449
|
*/
|
|
2449
2450
|
"rounded-ss": [{
|
|
2450
|
-
"rounded-ss":
|
|
2451
|
+
"rounded-ss": N()
|
|
2451
2452
|
}],
|
|
2452
2453
|
/**
|
|
2453
2454
|
* Border Radius Start End
|
|
2454
2455
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2455
2456
|
*/
|
|
2456
2457
|
"rounded-se": [{
|
|
2457
|
-
"rounded-se":
|
|
2458
|
+
"rounded-se": N()
|
|
2458
2459
|
}],
|
|
2459
2460
|
/**
|
|
2460
2461
|
* Border Radius End End
|
|
2461
2462
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2462
2463
|
*/
|
|
2463
2464
|
"rounded-ee": [{
|
|
2464
|
-
"rounded-ee":
|
|
2465
|
+
"rounded-ee": N()
|
|
2465
2466
|
}],
|
|
2466
2467
|
/**
|
|
2467
2468
|
* Border Radius End Start
|
|
2468
2469
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2469
2470
|
*/
|
|
2470
2471
|
"rounded-es": [{
|
|
2471
|
-
"rounded-es":
|
|
2472
|
+
"rounded-es": N()
|
|
2472
2473
|
}],
|
|
2473
2474
|
/**
|
|
2474
2475
|
* Border Radius Top Left
|
|
2475
2476
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2476
2477
|
*/
|
|
2477
2478
|
"rounded-tl": [{
|
|
2478
|
-
"rounded-tl":
|
|
2479
|
+
"rounded-tl": N()
|
|
2479
2480
|
}],
|
|
2480
2481
|
/**
|
|
2481
2482
|
* Border Radius Top Right
|
|
2482
2483
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2483
2484
|
*/
|
|
2484
2485
|
"rounded-tr": [{
|
|
2485
|
-
"rounded-tr":
|
|
2486
|
+
"rounded-tr": N()
|
|
2486
2487
|
}],
|
|
2487
2488
|
/**
|
|
2488
2489
|
* Border Radius Bottom Right
|
|
2489
2490
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2490
2491
|
*/
|
|
2491
2492
|
"rounded-br": [{
|
|
2492
|
-
"rounded-br":
|
|
2493
|
+
"rounded-br": N()
|
|
2493
2494
|
}],
|
|
2494
2495
|
/**
|
|
2495
2496
|
* Border Radius Bottom Left
|
|
2496
2497
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2497
2498
|
*/
|
|
2498
2499
|
"rounded-bl": [{
|
|
2499
|
-
"rounded-bl":
|
|
2500
|
+
"rounded-bl": N()
|
|
2500
2501
|
}],
|
|
2501
2502
|
/**
|
|
2502
2503
|
* Border Width
|
|
@@ -2590,14 +2591,14 @@ const S = (e) => {
|
|
|
2590
2591
|
* @see https://tailwindcss.com/docs/border-style
|
|
2591
2592
|
*/
|
|
2592
2593
|
"border-style": [{
|
|
2593
|
-
border: [...
|
|
2594
|
+
border: [...ce(), "hidden", "none"]
|
|
2594
2595
|
}],
|
|
2595
2596
|
/**
|
|
2596
2597
|
* Divide Style
|
|
2597
2598
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2598
2599
|
*/
|
|
2599
2600
|
"divide-style": [{
|
|
2600
|
-
divide: [...
|
|
2601
|
+
divide: [...ce(), "hidden", "none"]
|
|
2601
2602
|
}],
|
|
2602
2603
|
/**
|
|
2603
2604
|
* Border Color
|
|
@@ -2674,21 +2675,21 @@ const S = (e) => {
|
|
|
2674
2675
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2675
2676
|
*/
|
|
2676
2677
|
"outline-style": [{
|
|
2677
|
-
outline: [...
|
|
2678
|
+
outline: [...ce(), "none", "hidden"]
|
|
2678
2679
|
}],
|
|
2679
2680
|
/**
|
|
2680
2681
|
* Outline Offset
|
|
2681
2682
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2682
2683
|
*/
|
|
2683
2684
|
"outline-offset": [{
|
|
2684
|
-
"outline-offset": [
|
|
2685
|
+
"outline-offset": [h, p, u]
|
|
2685
2686
|
}],
|
|
2686
2687
|
/**
|
|
2687
2688
|
* Outline Width
|
|
2688
2689
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2689
2690
|
*/
|
|
2690
2691
|
"outline-w": [{
|
|
2691
|
-
outline: ["",
|
|
2692
|
+
outline: ["", h, oe, U]
|
|
2692
2693
|
}],
|
|
2693
2694
|
/**
|
|
2694
2695
|
* Outline Color
|
|
@@ -2710,8 +2711,8 @@ const S = (e) => {
|
|
|
2710
2711
|
"",
|
|
2711
2712
|
"none",
|
|
2712
2713
|
f,
|
|
2713
|
-
|
|
2714
|
-
|
|
2714
|
+
ge,
|
|
2715
|
+
me
|
|
2715
2716
|
]
|
|
2716
2717
|
}],
|
|
2717
2718
|
/**
|
|
@@ -2726,7 +2727,7 @@ const S = (e) => {
|
|
|
2726
2727
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2727
2728
|
*/
|
|
2728
2729
|
"inset-shadow": [{
|
|
2729
|
-
"inset-shadow": ["none", y,
|
|
2730
|
+
"inset-shadow": ["none", y, ge, me]
|
|
2730
2731
|
}],
|
|
2731
2732
|
/**
|
|
2732
2733
|
* Inset Box Shadow Color
|
|
@@ -2763,7 +2764,7 @@ const S = (e) => {
|
|
|
2763
2764
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2764
2765
|
*/
|
|
2765
2766
|
"ring-offset-w": [{
|
|
2766
|
-
"ring-offset": [
|
|
2767
|
+
"ring-offset": [h, U]
|
|
2767
2768
|
}],
|
|
2768
2769
|
/**
|
|
2769
2770
|
* Ring Offset Color
|
|
@@ -2793,7 +2794,7 @@ const S = (e) => {
|
|
|
2793
2794
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2794
2795
|
*/
|
|
2795
2796
|
"text-shadow": [{
|
|
2796
|
-
"text-shadow": ["none",
|
|
2797
|
+
"text-shadow": ["none", x, ge, me]
|
|
2797
2798
|
}],
|
|
2798
2799
|
/**
|
|
2799
2800
|
* Text Shadow Color
|
|
@@ -2807,21 +2808,21 @@ const S = (e) => {
|
|
|
2807
2808
|
* @see https://tailwindcss.com/docs/opacity
|
|
2808
2809
|
*/
|
|
2809
2810
|
opacity: [{
|
|
2810
|
-
opacity: [
|
|
2811
|
+
opacity: [h, p, u]
|
|
2811
2812
|
}],
|
|
2812
2813
|
/**
|
|
2813
2814
|
* Mix Blend Mode
|
|
2814
2815
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2815
2816
|
*/
|
|
2816
2817
|
"mix-blend": [{
|
|
2817
|
-
"mix-blend": [...
|
|
2818
|
+
"mix-blend": [...Ue(), "plus-darker", "plus-lighter"]
|
|
2818
2819
|
}],
|
|
2819
2820
|
/**
|
|
2820
2821
|
* Background Blend Mode
|
|
2821
2822
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2822
2823
|
*/
|
|
2823
2824
|
"bg-blend": [{
|
|
2824
|
-
"bg-blend":
|
|
2825
|
+
"bg-blend": Ue()
|
|
2825
2826
|
}],
|
|
2826
2827
|
/**
|
|
2827
2828
|
* Mask Clip
|
|
@@ -2842,13 +2843,13 @@ const S = (e) => {
|
|
|
2842
2843
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2843
2844
|
*/
|
|
2844
2845
|
"mask-image-linear-pos": [{
|
|
2845
|
-
"mask-linear": [
|
|
2846
|
+
"mask-linear": [h]
|
|
2846
2847
|
}],
|
|
2847
2848
|
"mask-image-linear-from-pos": [{
|
|
2848
|
-
"mask-linear-from":
|
|
2849
|
+
"mask-linear-from": $()
|
|
2849
2850
|
}],
|
|
2850
2851
|
"mask-image-linear-to-pos": [{
|
|
2851
|
-
"mask-linear-to":
|
|
2852
|
+
"mask-linear-to": $()
|
|
2852
2853
|
}],
|
|
2853
2854
|
"mask-image-linear-from-color": [{
|
|
2854
2855
|
"mask-linear-from": m()
|
|
@@ -2857,10 +2858,10 @@ const S = (e) => {
|
|
|
2857
2858
|
"mask-linear-to": m()
|
|
2858
2859
|
}],
|
|
2859
2860
|
"mask-image-t-from-pos": [{
|
|
2860
|
-
"mask-t-from":
|
|
2861
|
+
"mask-t-from": $()
|
|
2861
2862
|
}],
|
|
2862
2863
|
"mask-image-t-to-pos": [{
|
|
2863
|
-
"mask-t-to":
|
|
2864
|
+
"mask-t-to": $()
|
|
2864
2865
|
}],
|
|
2865
2866
|
"mask-image-t-from-color": [{
|
|
2866
2867
|
"mask-t-from": m()
|
|
@@ -2869,10 +2870,10 @@ const S = (e) => {
|
|
|
2869
2870
|
"mask-t-to": m()
|
|
2870
2871
|
}],
|
|
2871
2872
|
"mask-image-r-from-pos": [{
|
|
2872
|
-
"mask-r-from":
|
|
2873
|
+
"mask-r-from": $()
|
|
2873
2874
|
}],
|
|
2874
2875
|
"mask-image-r-to-pos": [{
|
|
2875
|
-
"mask-r-to":
|
|
2876
|
+
"mask-r-to": $()
|
|
2876
2877
|
}],
|
|
2877
2878
|
"mask-image-r-from-color": [{
|
|
2878
2879
|
"mask-r-from": m()
|
|
@@ -2881,10 +2882,10 @@ const S = (e) => {
|
|
|
2881
2882
|
"mask-r-to": m()
|
|
2882
2883
|
}],
|
|
2883
2884
|
"mask-image-b-from-pos": [{
|
|
2884
|
-
"mask-b-from":
|
|
2885
|
+
"mask-b-from": $()
|
|
2885
2886
|
}],
|
|
2886
2887
|
"mask-image-b-to-pos": [{
|
|
2887
|
-
"mask-b-to":
|
|
2888
|
+
"mask-b-to": $()
|
|
2888
2889
|
}],
|
|
2889
2890
|
"mask-image-b-from-color": [{
|
|
2890
2891
|
"mask-b-from": m()
|
|
@@ -2893,10 +2894,10 @@ const S = (e) => {
|
|
|
2893
2894
|
"mask-b-to": m()
|
|
2894
2895
|
}],
|
|
2895
2896
|
"mask-image-l-from-pos": [{
|
|
2896
|
-
"mask-l-from":
|
|
2897
|
+
"mask-l-from": $()
|
|
2897
2898
|
}],
|
|
2898
2899
|
"mask-image-l-to-pos": [{
|
|
2899
|
-
"mask-l-to":
|
|
2900
|
+
"mask-l-to": $()
|
|
2900
2901
|
}],
|
|
2901
2902
|
"mask-image-l-from-color": [{
|
|
2902
2903
|
"mask-l-from": m()
|
|
@@ -2905,10 +2906,10 @@ const S = (e) => {
|
|
|
2905
2906
|
"mask-l-to": m()
|
|
2906
2907
|
}],
|
|
2907
2908
|
"mask-image-x-from-pos": [{
|
|
2908
|
-
"mask-x-from":
|
|
2909
|
+
"mask-x-from": $()
|
|
2909
2910
|
}],
|
|
2910
2911
|
"mask-image-x-to-pos": [{
|
|
2911
|
-
"mask-x-to":
|
|
2912
|
+
"mask-x-to": $()
|
|
2912
2913
|
}],
|
|
2913
2914
|
"mask-image-x-from-color": [{
|
|
2914
2915
|
"mask-x-from": m()
|
|
@@ -2917,10 +2918,10 @@ const S = (e) => {
|
|
|
2917
2918
|
"mask-x-to": m()
|
|
2918
2919
|
}],
|
|
2919
2920
|
"mask-image-y-from-pos": [{
|
|
2920
|
-
"mask-y-from":
|
|
2921
|
+
"mask-y-from": $()
|
|
2921
2922
|
}],
|
|
2922
2923
|
"mask-image-y-to-pos": [{
|
|
2923
|
-
"mask-y-to":
|
|
2924
|
+
"mask-y-to": $()
|
|
2924
2925
|
}],
|
|
2925
2926
|
"mask-image-y-from-color": [{
|
|
2926
2927
|
"mask-y-from": m()
|
|
@@ -2932,10 +2933,10 @@ const S = (e) => {
|
|
|
2932
2933
|
"mask-radial": [p, u]
|
|
2933
2934
|
}],
|
|
2934
2935
|
"mask-image-radial-from-pos": [{
|
|
2935
|
-
"mask-radial-from":
|
|
2936
|
+
"mask-radial-from": $()
|
|
2936
2937
|
}],
|
|
2937
2938
|
"mask-image-radial-to-pos": [{
|
|
2938
|
-
"mask-radial-to":
|
|
2939
|
+
"mask-radial-to": $()
|
|
2939
2940
|
}],
|
|
2940
2941
|
"mask-image-radial-from-color": [{
|
|
2941
2942
|
"mask-radial-from": m()
|
|
@@ -2953,16 +2954,16 @@ const S = (e) => {
|
|
|
2953
2954
|
}]
|
|
2954
2955
|
}],
|
|
2955
2956
|
"mask-image-radial-pos": [{
|
|
2956
|
-
"mask-radial-at":
|
|
2957
|
+
"mask-radial-at": A()
|
|
2957
2958
|
}],
|
|
2958
2959
|
"mask-image-conic-pos": [{
|
|
2959
|
-
"mask-conic": [
|
|
2960
|
+
"mask-conic": [h]
|
|
2960
2961
|
}],
|
|
2961
2962
|
"mask-image-conic-from-pos": [{
|
|
2962
|
-
"mask-conic-from":
|
|
2963
|
+
"mask-conic-from": $()
|
|
2963
2964
|
}],
|
|
2964
2965
|
"mask-image-conic-to-pos": [{
|
|
2965
|
-
"mask-conic-to":
|
|
2966
|
+
"mask-conic-to": $()
|
|
2966
2967
|
}],
|
|
2967
2968
|
"mask-image-conic-from-color": [{
|
|
2968
2969
|
"mask-conic-from": m()
|
|
@@ -2989,21 +2990,21 @@ const S = (e) => {
|
|
|
2989
2990
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2990
2991
|
*/
|
|
2991
2992
|
"mask-position": [{
|
|
2992
|
-
mask:
|
|
2993
|
+
mask: Ge()
|
|
2993
2994
|
}],
|
|
2994
2995
|
/**
|
|
2995
2996
|
* Mask Repeat
|
|
2996
2997
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2997
2998
|
*/
|
|
2998
2999
|
"mask-repeat": [{
|
|
2999
|
-
mask:
|
|
3000
|
+
mask: Le()
|
|
3000
3001
|
}],
|
|
3001
3002
|
/**
|
|
3002
3003
|
* Mask Size
|
|
3003
3004
|
* @see https://tailwindcss.com/docs/mask-size
|
|
3004
3005
|
*/
|
|
3005
3006
|
"mask-size": [{
|
|
3006
|
-
mask:
|
|
3007
|
+
mask: De()
|
|
3007
3008
|
}],
|
|
3008
3009
|
/**
|
|
3009
3010
|
* Mask Type
|
|
@@ -3040,21 +3041,21 @@ const S = (e) => {
|
|
|
3040
3041
|
* @see https://tailwindcss.com/docs/blur
|
|
3041
3042
|
*/
|
|
3042
3043
|
blur: [{
|
|
3043
|
-
blur:
|
|
3044
|
+
blur: He()
|
|
3044
3045
|
}],
|
|
3045
3046
|
/**
|
|
3046
3047
|
* Brightness
|
|
3047
3048
|
* @see https://tailwindcss.com/docs/brightness
|
|
3048
3049
|
*/
|
|
3049
3050
|
brightness: [{
|
|
3050
|
-
brightness: [
|
|
3051
|
+
brightness: [h, p, u]
|
|
3051
3052
|
}],
|
|
3052
3053
|
/**
|
|
3053
3054
|
* Contrast
|
|
3054
3055
|
* @see https://tailwindcss.com/docs/contrast
|
|
3055
3056
|
*/
|
|
3056
3057
|
contrast: [{
|
|
3057
|
-
contrast: [
|
|
3058
|
+
contrast: [h, p, u]
|
|
3058
3059
|
}],
|
|
3059
3060
|
/**
|
|
3060
3061
|
* Drop Shadow
|
|
@@ -3065,9 +3066,9 @@ const S = (e) => {
|
|
|
3065
3066
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3066
3067
|
"",
|
|
3067
3068
|
"none",
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3069
|
+
w,
|
|
3070
|
+
ge,
|
|
3071
|
+
me
|
|
3071
3072
|
]
|
|
3072
3073
|
}],
|
|
3073
3074
|
/**
|
|
@@ -3082,35 +3083,35 @@ const S = (e) => {
|
|
|
3082
3083
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3083
3084
|
*/
|
|
3084
3085
|
grayscale: [{
|
|
3085
|
-
grayscale: ["",
|
|
3086
|
+
grayscale: ["", h, p, u]
|
|
3086
3087
|
}],
|
|
3087
3088
|
/**
|
|
3088
3089
|
* Hue Rotate
|
|
3089
3090
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3090
3091
|
*/
|
|
3091
3092
|
"hue-rotate": [{
|
|
3092
|
-
"hue-rotate": [
|
|
3093
|
+
"hue-rotate": [h, p, u]
|
|
3093
3094
|
}],
|
|
3094
3095
|
/**
|
|
3095
3096
|
* Invert
|
|
3096
3097
|
* @see https://tailwindcss.com/docs/invert
|
|
3097
3098
|
*/
|
|
3098
3099
|
invert: [{
|
|
3099
|
-
invert: ["",
|
|
3100
|
+
invert: ["", h, p, u]
|
|
3100
3101
|
}],
|
|
3101
3102
|
/**
|
|
3102
3103
|
* Saturate
|
|
3103
3104
|
* @see https://tailwindcss.com/docs/saturate
|
|
3104
3105
|
*/
|
|
3105
3106
|
saturate: [{
|
|
3106
|
-
saturate: [
|
|
3107
|
+
saturate: [h, p, u]
|
|
3107
3108
|
}],
|
|
3108
3109
|
/**
|
|
3109
3110
|
* Sepia
|
|
3110
3111
|
* @see https://tailwindcss.com/docs/sepia
|
|
3111
3112
|
*/
|
|
3112
3113
|
sepia: [{
|
|
3113
|
-
sepia: ["",
|
|
3114
|
+
sepia: ["", h, p, u]
|
|
3114
3115
|
}],
|
|
3115
3116
|
/**
|
|
3116
3117
|
* Backdrop Filter
|
|
@@ -3130,63 +3131,63 @@ const S = (e) => {
|
|
|
3130
3131
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
3131
3132
|
*/
|
|
3132
3133
|
"backdrop-blur": [{
|
|
3133
|
-
"backdrop-blur":
|
|
3134
|
+
"backdrop-blur": He()
|
|
3134
3135
|
}],
|
|
3135
3136
|
/**
|
|
3136
3137
|
* Backdrop Brightness
|
|
3137
3138
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3138
3139
|
*/
|
|
3139
3140
|
"backdrop-brightness": [{
|
|
3140
|
-
"backdrop-brightness": [
|
|
3141
|
+
"backdrop-brightness": [h, p, u]
|
|
3141
3142
|
}],
|
|
3142
3143
|
/**
|
|
3143
3144
|
* Backdrop Contrast
|
|
3144
3145
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3145
3146
|
*/
|
|
3146
3147
|
"backdrop-contrast": [{
|
|
3147
|
-
"backdrop-contrast": [
|
|
3148
|
+
"backdrop-contrast": [h, p, u]
|
|
3148
3149
|
}],
|
|
3149
3150
|
/**
|
|
3150
3151
|
* Backdrop Grayscale
|
|
3151
3152
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3152
3153
|
*/
|
|
3153
3154
|
"backdrop-grayscale": [{
|
|
3154
|
-
"backdrop-grayscale": ["",
|
|
3155
|
+
"backdrop-grayscale": ["", h, p, u]
|
|
3155
3156
|
}],
|
|
3156
3157
|
/**
|
|
3157
3158
|
* Backdrop Hue Rotate
|
|
3158
3159
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3159
3160
|
*/
|
|
3160
3161
|
"backdrop-hue-rotate": [{
|
|
3161
|
-
"backdrop-hue-rotate": [
|
|
3162
|
+
"backdrop-hue-rotate": [h, p, u]
|
|
3162
3163
|
}],
|
|
3163
3164
|
/**
|
|
3164
3165
|
* Backdrop Invert
|
|
3165
3166
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3166
3167
|
*/
|
|
3167
3168
|
"backdrop-invert": [{
|
|
3168
|
-
"backdrop-invert": ["",
|
|
3169
|
+
"backdrop-invert": ["", h, p, u]
|
|
3169
3170
|
}],
|
|
3170
3171
|
/**
|
|
3171
3172
|
* Backdrop Opacity
|
|
3172
3173
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3173
3174
|
*/
|
|
3174
3175
|
"backdrop-opacity": [{
|
|
3175
|
-
"backdrop-opacity": [
|
|
3176
|
+
"backdrop-opacity": [h, p, u]
|
|
3176
3177
|
}],
|
|
3177
3178
|
/**
|
|
3178
3179
|
* Backdrop Saturate
|
|
3179
3180
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3180
3181
|
*/
|
|
3181
3182
|
"backdrop-saturate": [{
|
|
3182
|
-
"backdrop-saturate": [
|
|
3183
|
+
"backdrop-saturate": [h, p, u]
|
|
3183
3184
|
}],
|
|
3184
3185
|
/**
|
|
3185
3186
|
* Backdrop Sepia
|
|
3186
3187
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3187
3188
|
*/
|
|
3188
3189
|
"backdrop-sepia": [{
|
|
3189
|
-
"backdrop-sepia": ["",
|
|
3190
|
+
"backdrop-sepia": ["", h, p, u]
|
|
3190
3191
|
}],
|
|
3191
3192
|
// --------------
|
|
3192
3193
|
// --- Tables ---
|
|
@@ -3255,7 +3256,7 @@ const S = (e) => {
|
|
|
3255
3256
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3256
3257
|
*/
|
|
3257
3258
|
duration: [{
|
|
3258
|
-
duration: [
|
|
3259
|
+
duration: [h, "initial", p, u]
|
|
3259
3260
|
}],
|
|
3260
3261
|
/**
|
|
3261
3262
|
* Transition Timing Function
|
|
@@ -3269,14 +3270,14 @@ const S = (e) => {
|
|
|
3269
3270
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3270
3271
|
*/
|
|
3271
3272
|
delay: [{
|
|
3272
|
-
delay: [
|
|
3273
|
+
delay: [h, p, u]
|
|
3273
3274
|
}],
|
|
3274
3275
|
/**
|
|
3275
3276
|
* Animation
|
|
3276
3277
|
* @see https://tailwindcss.com/docs/animation
|
|
3277
3278
|
*/
|
|
3278
3279
|
animate: [{
|
|
3279
|
-
animate: ["none",
|
|
3280
|
+
animate: ["none", P, p, u]
|
|
3280
3281
|
}],
|
|
3281
3282
|
// ------------------
|
|
3282
3283
|
// --- Transforms ---
|
|
@@ -3300,63 +3301,63 @@ const S = (e) => {
|
|
|
3300
3301
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
3301
3302
|
*/
|
|
3302
3303
|
"perspective-origin": [{
|
|
3303
|
-
"perspective-origin":
|
|
3304
|
+
"perspective-origin": B()
|
|
3304
3305
|
}],
|
|
3305
3306
|
/**
|
|
3306
3307
|
* Rotate
|
|
3307
3308
|
* @see https://tailwindcss.com/docs/rotate
|
|
3308
3309
|
*/
|
|
3309
3310
|
rotate: [{
|
|
3310
|
-
rotate:
|
|
3311
|
+
rotate: de()
|
|
3311
3312
|
}],
|
|
3312
3313
|
/**
|
|
3313
3314
|
* Rotate X
|
|
3314
3315
|
* @see https://tailwindcss.com/docs/rotate
|
|
3315
3316
|
*/
|
|
3316
3317
|
"rotate-x": [{
|
|
3317
|
-
"rotate-x":
|
|
3318
|
+
"rotate-x": de()
|
|
3318
3319
|
}],
|
|
3319
3320
|
/**
|
|
3320
3321
|
* Rotate Y
|
|
3321
3322
|
* @see https://tailwindcss.com/docs/rotate
|
|
3322
3323
|
*/
|
|
3323
3324
|
"rotate-y": [{
|
|
3324
|
-
"rotate-y":
|
|
3325
|
+
"rotate-y": de()
|
|
3325
3326
|
}],
|
|
3326
3327
|
/**
|
|
3327
3328
|
* Rotate Z
|
|
3328
3329
|
* @see https://tailwindcss.com/docs/rotate
|
|
3329
3330
|
*/
|
|
3330
3331
|
"rotate-z": [{
|
|
3331
|
-
"rotate-z":
|
|
3332
|
+
"rotate-z": de()
|
|
3332
3333
|
}],
|
|
3333
3334
|
/**
|
|
3334
3335
|
* Scale
|
|
3335
3336
|
* @see https://tailwindcss.com/docs/scale
|
|
3336
3337
|
*/
|
|
3337
3338
|
scale: [{
|
|
3338
|
-
scale:
|
|
3339
|
+
scale: ue()
|
|
3339
3340
|
}],
|
|
3340
3341
|
/**
|
|
3341
3342
|
* Scale X
|
|
3342
3343
|
* @see https://tailwindcss.com/docs/scale
|
|
3343
3344
|
*/
|
|
3344
3345
|
"scale-x": [{
|
|
3345
|
-
"scale-x":
|
|
3346
|
+
"scale-x": ue()
|
|
3346
3347
|
}],
|
|
3347
3348
|
/**
|
|
3348
3349
|
* Scale Y
|
|
3349
3350
|
* @see https://tailwindcss.com/docs/scale
|
|
3350
3351
|
*/
|
|
3351
3352
|
"scale-y": [{
|
|
3352
|
-
"scale-y":
|
|
3353
|
+
"scale-y": ue()
|
|
3353
3354
|
}],
|
|
3354
3355
|
/**
|
|
3355
3356
|
* Scale Z
|
|
3356
3357
|
* @see https://tailwindcss.com/docs/scale
|
|
3357
3358
|
*/
|
|
3358
3359
|
"scale-z": [{
|
|
3359
|
-
"scale-z":
|
|
3360
|
+
"scale-z": ue()
|
|
3360
3361
|
}],
|
|
3361
3362
|
/**
|
|
3362
3363
|
* Scale 3D
|
|
@@ -3368,21 +3369,21 @@ const S = (e) => {
|
|
|
3368
3369
|
* @see https://tailwindcss.com/docs/skew
|
|
3369
3370
|
*/
|
|
3370
3371
|
skew: [{
|
|
3371
|
-
skew:
|
|
3372
|
+
skew: ke()
|
|
3372
3373
|
}],
|
|
3373
3374
|
/**
|
|
3374
3375
|
* Skew X
|
|
3375
3376
|
* @see https://tailwindcss.com/docs/skew
|
|
3376
3377
|
*/
|
|
3377
3378
|
"skew-x": [{
|
|
3378
|
-
"skew-x":
|
|
3379
|
+
"skew-x": ke()
|
|
3379
3380
|
}],
|
|
3380
3381
|
/**
|
|
3381
3382
|
* Skew Y
|
|
3382
3383
|
* @see https://tailwindcss.com/docs/skew
|
|
3383
3384
|
*/
|
|
3384
3385
|
"skew-y": [{
|
|
3385
|
-
"skew-y":
|
|
3386
|
+
"skew-y": ke()
|
|
3386
3387
|
}],
|
|
3387
3388
|
/**
|
|
3388
3389
|
* Transform
|
|
@@ -3396,7 +3397,7 @@ const S = (e) => {
|
|
|
3396
3397
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
3397
3398
|
*/
|
|
3398
3399
|
"transform-origin": [{
|
|
3399
|
-
origin:
|
|
3400
|
+
origin: B()
|
|
3400
3401
|
}],
|
|
3401
3402
|
/**
|
|
3402
3403
|
* Transform Style
|
|
@@ -3410,28 +3411,28 @@ const S = (e) => {
|
|
|
3410
3411
|
* @see https://tailwindcss.com/docs/translate
|
|
3411
3412
|
*/
|
|
3412
3413
|
translate: [{
|
|
3413
|
-
translate:
|
|
3414
|
+
translate: pe()
|
|
3414
3415
|
}],
|
|
3415
3416
|
/**
|
|
3416
3417
|
* Translate X
|
|
3417
3418
|
* @see https://tailwindcss.com/docs/translate
|
|
3418
3419
|
*/
|
|
3419
3420
|
"translate-x": [{
|
|
3420
|
-
"translate-x":
|
|
3421
|
+
"translate-x": pe()
|
|
3421
3422
|
}],
|
|
3422
3423
|
/**
|
|
3423
3424
|
* Translate Y
|
|
3424
3425
|
* @see https://tailwindcss.com/docs/translate
|
|
3425
3426
|
*/
|
|
3426
3427
|
"translate-y": [{
|
|
3427
|
-
"translate-y":
|
|
3428
|
+
"translate-y": pe()
|
|
3428
3429
|
}],
|
|
3429
3430
|
/**
|
|
3430
3431
|
* Translate Z
|
|
3431
3432
|
* @see https://tailwindcss.com/docs/translate
|
|
3432
3433
|
*/
|
|
3433
3434
|
"translate-z": [{
|
|
3434
|
-
"translate-z":
|
|
3435
|
+
"translate-z": pe()
|
|
3435
3436
|
}],
|
|
3436
3437
|
/**
|
|
3437
3438
|
* Translate None
|
|
@@ -3713,7 +3714,7 @@ const S = (e) => {
|
|
|
3713
3714
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3714
3715
|
*/
|
|
3715
3716
|
"stroke-w": [{
|
|
3716
|
-
stroke: [
|
|
3717
|
+
stroke: [h, oe, U, Se]
|
|
3717
3718
|
}],
|
|
3718
3719
|
/**
|
|
3719
3720
|
* Stroke
|
|
@@ -3788,11 +3789,11 @@ const S = (e) => {
|
|
|
3788
3789
|
},
|
|
3789
3790
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3790
3791
|
};
|
|
3791
|
-
},
|
|
3792
|
-
function
|
|
3793
|
-
return
|
|
3792
|
+
}, hr = /* @__PURE__ */ Zo(br);
|
|
3793
|
+
function ye(...e) {
|
|
3794
|
+
return hr(yt(e));
|
|
3794
3795
|
}
|
|
3795
|
-
const
|
|
3796
|
+
const vr = /* @__PURE__ */ E({
|
|
3796
3797
|
__name: "AccordionContent",
|
|
3797
3798
|
props: {
|
|
3798
3799
|
forceMount: { type: Boolean },
|
|
@@ -3801,22 +3802,22 @@ const xr = /* @__PURE__ */ E({
|
|
|
3801
3802
|
class: {}
|
|
3802
3803
|
},
|
|
3803
3804
|
setup(e) {
|
|
3804
|
-
const
|
|
3805
|
-
return (
|
|
3805
|
+
const r = e, t = je(r, "class");
|
|
3806
|
+
return (o, n) => (I(), M(c(Oo), Z({
|
|
3806
3807
|
class: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
|
|
3807
3808
|
"data-slot": "accordion-content"
|
|
3808
3809
|
}, c(t)), {
|
|
3809
3810
|
default: z(() => [
|
|
3810
|
-
|
|
3811
|
-
class:
|
|
3811
|
+
Gt("div", {
|
|
3812
|
+
class: Ee(c(ye)("pb-4 pt-0", r.class))
|
|
3812
3813
|
}, [
|
|
3813
|
-
|
|
3814
|
+
T(o.$slots, "default")
|
|
3814
3815
|
], 2)
|
|
3815
3816
|
]),
|
|
3816
3817
|
_: 3
|
|
3817
3818
|
}, 16));
|
|
3818
3819
|
}
|
|
3819
|
-
}),
|
|
3820
|
+
}), yr = /* @__PURE__ */ E({
|
|
3820
3821
|
__name: "AccordionItem",
|
|
3821
3822
|
props: {
|
|
3822
3823
|
disabled: { type: Boolean },
|
|
@@ -3827,13 +3828,13 @@ const xr = /* @__PURE__ */ E({
|
|
|
3827
3828
|
class: {}
|
|
3828
3829
|
},
|
|
3829
3830
|
setup(e) {
|
|
3830
|
-
const
|
|
3831
|
-
return (n, s) => (
|
|
3832
|
-
class: c(
|
|
3831
|
+
const r = e, t = je(r, "class"), o = gt(t);
|
|
3832
|
+
return (n, s) => (I(), M(c(zo), Z({
|
|
3833
|
+
class: c(ye)("border-b last:border-b-0", r.class),
|
|
3833
3834
|
"data-slot": "accordion-item"
|
|
3834
|
-
}, c(
|
|
3835
|
+
}, c(o)), {
|
|
3835
3836
|
default: z(() => [
|
|
3836
|
-
|
|
3837
|
+
T(n.$slots, "default")
|
|
3837
3838
|
]),
|
|
3838
3839
|
_: 3
|
|
3839
3840
|
}, 16, ["class"]));
|
|
@@ -3845,20 +3846,20 @@ const xr = /* @__PURE__ */ E({
|
|
|
3845
3846
|
* This source code is licensed under the ISC license.
|
|
3846
3847
|
* See the LICENSE file in the root directory of this source tree.
|
|
3847
3848
|
*/
|
|
3848
|
-
const
|
|
3849
|
+
const nt = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), xr = (e) => e.replace(
|
|
3849
3850
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
3850
|
-
(
|
|
3851
|
-
),
|
|
3852
|
-
const
|
|
3853
|
-
return
|
|
3854
|
-
},
|
|
3851
|
+
(r, t, o) => o ? o.toUpperCase() : t.toLowerCase()
|
|
3852
|
+
), wr = (e) => {
|
|
3853
|
+
const r = xr(e);
|
|
3854
|
+
return r.charAt(0).toUpperCase() + r.slice(1);
|
|
3855
|
+
}, kr = (...e) => e.filter((r, t, o) => !!r && r.trim() !== "" && o.indexOf(r) === t).join(" ").trim(), at = (e) => e === "";
|
|
3855
3856
|
/**
|
|
3856
3857
|
* @license lucide-vue-next v0.548.0 - ISC
|
|
3857
3858
|
*
|
|
3858
3859
|
* This source code is licensed under the ISC license.
|
|
3859
3860
|
* See the LICENSE file in the root directory of this source tree.
|
|
3860
3861
|
*/
|
|
3861
|
-
var
|
|
3862
|
+
var re = {
|
|
3862
3863
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3863
3864
|
width: 24,
|
|
3864
3865
|
height: 24,
|
|
@@ -3875,32 +3876,32 @@ var se = {
|
|
|
3875
3876
|
* This source code is licensed under the ISC license.
|
|
3876
3877
|
* See the LICENSE file in the root directory of this source tree.
|
|
3877
3878
|
*/
|
|
3878
|
-
const
|
|
3879
|
+
const _r = ({
|
|
3879
3880
|
name: e,
|
|
3880
|
-
iconNode:
|
|
3881
|
+
iconNode: r,
|
|
3881
3882
|
absoluteStrokeWidth: t,
|
|
3882
|
-
"absolute-stroke-width":
|
|
3883
|
+
"absolute-stroke-width": o,
|
|
3883
3884
|
strokeWidth: n,
|
|
3884
3885
|
"stroke-width": s,
|
|
3885
|
-
size: a =
|
|
3886
|
-
color: i =
|
|
3886
|
+
size: a = re.width,
|
|
3887
|
+
color: i = re.stroke,
|
|
3887
3888
|
...l
|
|
3888
|
-
}, { slots: d }) =>
|
|
3889
|
+
}, { slots: d }) => W(
|
|
3889
3890
|
"svg",
|
|
3890
3891
|
{
|
|
3891
|
-
...
|
|
3892
|
+
...re,
|
|
3892
3893
|
...l,
|
|
3893
3894
|
width: a,
|
|
3894
3895
|
height: a,
|
|
3895
3896
|
stroke: i,
|
|
3896
|
-
"stroke-width":
|
|
3897
|
-
class:
|
|
3897
|
+
"stroke-width": at(t) || at(o) || t === !0 || o === !0 ? Number(n || s || re["stroke-width"]) * 24 / Number(a) : n || s || re["stroke-width"],
|
|
3898
|
+
class: kr(
|
|
3898
3899
|
"lucide",
|
|
3899
3900
|
l.class,
|
|
3900
|
-
...e ? [`lucide-${
|
|
3901
|
+
...e ? [`lucide-${nt(wr(e))}-icon`, `lucide-${nt(e)}`] : ["lucide-icon"]
|
|
3901
3902
|
)
|
|
3902
3903
|
},
|
|
3903
|
-
[...
|
|
3904
|
+
[...r.map((f) => W(...f)), ...d.default ? [d.default()] : []]
|
|
3904
3905
|
);
|
|
3905
3906
|
/**
|
|
3906
3907
|
* @license lucide-vue-next v0.548.0 - ISC
|
|
@@ -3908,15 +3909,15 @@ const $r = ({
|
|
|
3908
3909
|
* This source code is licensed under the ISC license.
|
|
3909
3910
|
* See the LICENSE file in the root directory of this source tree.
|
|
3910
3911
|
*/
|
|
3911
|
-
const
|
|
3912
|
-
|
|
3912
|
+
const Cr = (e, r) => (t, { slots: o, attrs: n }) => W(
|
|
3913
|
+
_r,
|
|
3913
3914
|
{
|
|
3914
3915
|
...n,
|
|
3915
3916
|
...t,
|
|
3916
|
-
iconNode:
|
|
3917
|
+
iconNode: r,
|
|
3917
3918
|
name: e
|
|
3918
3919
|
},
|
|
3919
|
-
|
|
3920
|
+
o
|
|
3920
3921
|
);
|
|
3921
3922
|
/**
|
|
3922
3923
|
* @license lucide-vue-next v0.548.0 - ISC
|
|
@@ -3924,9 +3925,9 @@ const Sr = (e, o) => (t, { slots: r, attrs: n }) => J(
|
|
|
3924
3925
|
* This source code is licensed under the ISC license.
|
|
3925
3926
|
* See the LICENSE file in the root directory of this source tree.
|
|
3926
3927
|
*/
|
|
3927
|
-
const
|
|
3928
|
+
const Ar = Cr("chevron-down", [
|
|
3928
3929
|
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
3929
|
-
]),
|
|
3930
|
+
]), Sr = /* @__PURE__ */ E({
|
|
3930
3931
|
__name: "AccordionTrigger",
|
|
3931
3932
|
props: {
|
|
3932
3933
|
asChild: { type: Boolean },
|
|
@@ -3934,17 +3935,17 @@ const Ir = Sr("chevron-down", [
|
|
|
3934
3935
|
class: {}
|
|
3935
3936
|
},
|
|
3936
3937
|
setup(e) {
|
|
3937
|
-
const
|
|
3938
|
-
return (
|
|
3938
|
+
const r = e, t = je(r, "class");
|
|
3939
|
+
return (o, n) => (I(), M(c(Eo), { class: "flex" }, {
|
|
3939
3940
|
default: z(() => [
|
|
3940
|
-
|
|
3941
|
-
class: c(
|
|
3941
|
+
ae(c(No), Z({
|
|
3942
|
+
class: c(ye)("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium outline-none transition-all hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", r.class),
|
|
3942
3943
|
"data-slot": "accordion-trigger"
|
|
3943
3944
|
}, c(t)), {
|
|
3944
3945
|
default: z(() => [
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3946
|
+
T(o.$slots, "default"),
|
|
3947
|
+
T(o.$slots, "icon", {}, () => [
|
|
3948
|
+
ae(c(Ar), { class: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
|
|
3948
3949
|
])
|
|
3949
3950
|
]),
|
|
3950
3951
|
_: 3
|
|
@@ -3953,21 +3954,21 @@ const Ir = Sr("chevron-down", [
|
|
|
3953
3954
|
_: 3
|
|
3954
3955
|
}));
|
|
3955
3956
|
}
|
|
3956
|
-
}),
|
|
3957
|
-
var
|
|
3958
|
-
if (
|
|
3959
|
-
const { variants: n, defaultVariants: s } =
|
|
3957
|
+
}), st = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, it = yt, Ir = (e, r) => (t) => {
|
|
3958
|
+
var o;
|
|
3959
|
+
if (r?.variants == null) return it(e, t?.class, t?.className);
|
|
3960
|
+
const { variants: n, defaultVariants: s } = r, a = Object.keys(n).map((d) => {
|
|
3960
3961
|
const f = t?.[d], y = s?.[d];
|
|
3961
3962
|
if (f === null) return null;
|
|
3962
|
-
const
|
|
3963
|
-
return n[d][
|
|
3963
|
+
const x = st(f) || st(y);
|
|
3964
|
+
return n[d][x];
|
|
3964
3965
|
}), i = t && Object.entries(t).reduce((d, f) => {
|
|
3965
|
-
let [y,
|
|
3966
|
-
return
|
|
3967
|
-
}, {}), l =
|
|
3968
|
-
let { class: y, className:
|
|
3969
|
-
return Object.entries(
|
|
3970
|
-
let [k, v] =
|
|
3966
|
+
let [y, x] = f;
|
|
3967
|
+
return x === void 0 || (d[y] = x), d;
|
|
3968
|
+
}, {}), l = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, f) => {
|
|
3969
|
+
let { class: y, className: x, ...w } = f;
|
|
3970
|
+
return Object.entries(w).every((b) => {
|
|
3971
|
+
let [k, v] = b;
|
|
3971
3972
|
return Array.isArray(v) ? v.includes({
|
|
3972
3973
|
...s,
|
|
3973
3974
|
...i
|
|
@@ -3978,151 +3979,11 @@ const Ir = Sr("chevron-down", [
|
|
|
3978
3979
|
}) ? [
|
|
3979
3980
|
...d,
|
|
3980
3981
|
y,
|
|
3981
|
-
|
|
3982
|
+
x
|
|
3982
3983
|
] : d;
|
|
3983
3984
|
}, []);
|
|
3984
|
-
return
|
|
3985
|
-
},
|
|
3986
|
-
const t = e.__vccOpts || e;
|
|
3987
|
-
for (const [r, n] of o)
|
|
3988
|
-
t[r] = n;
|
|
3989
|
-
return t;
|
|
3990
|
-
}, Mr = {}, Er = {
|
|
3991
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3992
|
-
width: "24",
|
|
3993
|
-
height: "24",
|
|
3994
|
-
viewBox: "0 0 24 24"
|
|
3995
|
-
};
|
|
3996
|
-
function Nr(e, o) {
|
|
3997
|
-
return A(), U("svg", Er, [...o[0] || (o[0] = [
|
|
3998
|
-
q("path", {
|
|
3999
|
-
fill: "currentColor",
|
|
4000
|
-
d: "m9.55 15.15l8.475-8.475q.3-.3.7-.3t.7.3t.3.713t-.3.712l-9.175 9.2q-.3.3-.7.3t-.7-.3L4.55 13q-.3-.3-.288-.712t.313-.713t.713-.3t.712.3z"
|
|
4001
|
-
}, null, -1)
|
|
4002
|
-
])]);
|
|
4003
|
-
}
|
|
4004
|
-
const Pr = /* @__PURE__ */ re(Mr, [["render", Nr]]), Br = {}, Tr = {
|
|
4005
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4006
|
-
width: "24",
|
|
4007
|
-
height: "24",
|
|
4008
|
-
viewBox: "0 0 24 24"
|
|
4009
|
-
};
|
|
4010
|
-
function jr(e, o) {
|
|
4011
|
-
return A(), U("svg", Tr, [...o[0] || (o[0] = [
|
|
4012
|
-
q("path", {
|
|
4013
|
-
fill: "currentColor",
|
|
4014
|
-
d: "m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275t.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275z"
|
|
4015
|
-
}, null, -1)
|
|
4016
|
-
])]);
|
|
4017
|
-
}
|
|
4018
|
-
const Rr = /* @__PURE__ */ re(Br, [["render", jr]]), Vr = {}, qr = {
|
|
4019
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4020
|
-
width: "24",
|
|
4021
|
-
height: "24",
|
|
4022
|
-
viewBox: "0 0 24 24"
|
|
4023
|
-
};
|
|
4024
|
-
function Lr(e, o) {
|
|
4025
|
-
return A(), U("svg", qr, [...o[0] || (o[0] = [
|
|
4026
|
-
q("path", {
|
|
4027
|
-
fill: "currentColor",
|
|
4028
|
-
d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",
|
|
4029
|
-
opacity: "0.25"
|
|
4030
|
-
}, null, -1),
|
|
4031
|
-
q("path", {
|
|
4032
|
-
fill: "currentColor",
|
|
4033
|
-
d: "M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"
|
|
4034
|
-
}, [
|
|
4035
|
-
q("animateTransform", {
|
|
4036
|
-
type: "rotate",
|
|
4037
|
-
attributeName: "transform",
|
|
4038
|
-
dur: "0.75s",
|
|
4039
|
-
repeatCount: "indefinite",
|
|
4040
|
-
values: "0 12 12;360 12 12"
|
|
4041
|
-
})
|
|
4042
|
-
], -1)
|
|
4043
|
-
])]);
|
|
4044
|
-
}
|
|
4045
|
-
const Fr = /* @__PURE__ */ re(Vr, [["render", Lr]]), Gr = {}, Dr = {
|
|
4046
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4047
|
-
width: "24",
|
|
4048
|
-
height: "24",
|
|
4049
|
-
viewBox: "-5 -8 24 24"
|
|
4050
|
-
};
|
|
4051
|
-
function Ur(e, o) {
|
|
4052
|
-
return A(), U("svg", Dr, [...o[0] || (o[0] = [
|
|
4053
|
-
q("path", {
|
|
4054
|
-
fill: "currentColor",
|
|
4055
|
-
d: "m7.071 5.314l4.95-4.95a1 1 0 1 1 1.414 1.414L7.778 7.435a1 1 0 0 1-1.414 0L.707 1.778A1 1 0 1 1 2.121.364z"
|
|
4056
|
-
}, null, -1)
|
|
4057
|
-
])]);
|
|
4058
|
-
}
|
|
4059
|
-
const Hr = /* @__PURE__ */ re(Gr, [["render", Ur]]), Wr = {}, Kr = {
|
|
4060
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4061
|
-
width: "24",
|
|
4062
|
-
height: "24",
|
|
4063
|
-
viewBox: "0 0 24 24"
|
|
4064
|
-
};
|
|
4065
|
-
function Jr(e, o) {
|
|
4066
|
-
return A(), U("svg", Kr, [...o[0] || (o[0] = [
|
|
4067
|
-
q("g", { fill: "none" }, [
|
|
4068
|
-
q("path", {
|
|
4069
|
-
fill: "currentColor",
|
|
4070
|
-
"fill-opacity": "0.16",
|
|
4071
|
-
d: "M10.575 5.217L3.517 17a1.667 1.667 0 0 0 1.425 2.5h14.116a1.666 1.666 0 0 0 1.425-2.5L13.426 5.217a1.666 1.666 0 0 0-2.85 0"
|
|
4072
|
-
}),
|
|
4073
|
-
q("path", {
|
|
4074
|
-
stroke: "currentColor",
|
|
4075
|
-
"stroke-linecap": "round",
|
|
4076
|
-
"stroke-linejoin": "round",
|
|
4077
|
-
"stroke-miterlimit": "10",
|
|
4078
|
-
"stroke-width": "1.5",
|
|
4079
|
-
d: "M12 16h.008M12 10v3m-1.425-7.783L3.517 17a1.667 1.667 0 0 0 1.425 2.5h14.116a1.666 1.666 0 0 0 1.425-2.5L13.426 5.217a1.666 1.666 0 0 0-2.85 0"
|
|
4080
|
-
})
|
|
4081
|
-
], -1)
|
|
4082
|
-
])]);
|
|
4083
|
-
}
|
|
4084
|
-
const Zr = /* @__PURE__ */ re(Wr, [["render", Jr]]), Xr = {}, Yr = {
|
|
4085
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4086
|
-
width: "16",
|
|
4087
|
-
height: "16",
|
|
4088
|
-
viewBox: "0 0 16 16"
|
|
4089
|
-
};
|
|
4090
|
-
function Qr(e, o) {
|
|
4091
|
-
return A(), U("svg", Yr, [...o[0] || (o[0] = [
|
|
4092
|
-
q("path", {
|
|
4093
|
-
fill: "none",
|
|
4094
|
-
stroke: "currentColor",
|
|
4095
|
-
"stroke-linecap": "round",
|
|
4096
|
-
"stroke-linejoin": "round",
|
|
4097
|
-
"stroke-width": "1.5",
|
|
4098
|
-
d: "m2.75 12.25h10.5m-10.5-4h10.5m-10.5-4h10.5"
|
|
4099
|
-
}, null, -1)
|
|
4100
|
-
])]);
|
|
4101
|
-
}
|
|
4102
|
-
const en = /* @__PURE__ */ re(Xr, [["render", Qr]]), Et = {
|
|
4103
|
-
check: Pr,
|
|
4104
|
-
close: Rr,
|
|
4105
|
-
loading: Fr,
|
|
4106
|
-
"chevron-down": Hr,
|
|
4107
|
-
alert: Zr,
|
|
4108
|
-
hamburger: en
|
|
4109
|
-
}, ct = /* @__PURE__ */ E({
|
|
4110
|
-
__name: "Icon",
|
|
4111
|
-
props: {
|
|
4112
|
-
icon: {},
|
|
4113
|
-
class: {},
|
|
4114
|
-
size: {}
|
|
4115
|
-
},
|
|
4116
|
-
setup(e) {
|
|
4117
|
-
const o = e, t = I(() => o.size ?? 24), r = I(() => o.icon ? tn[o.icon] : "");
|
|
4118
|
-
return (n, s) => r.value ? (A(), M(Ut(r.value), {
|
|
4119
|
-
key: 0,
|
|
4120
|
-
class: we(["shrink-0", o.class]),
|
|
4121
|
-
width: t.value,
|
|
4122
|
-
height: t.value
|
|
4123
|
-
}, null, 8, ["class", "width", "height"])) : B(n.$slots, "default", { key: 1 });
|
|
4124
|
-
}
|
|
4125
|
-
}), tn = Et, sn = Object.keys(Et), ln = /* @__PURE__ */ E({
|
|
3985
|
+
return it(e, a, l, t?.class, t?.className);
|
|
3986
|
+
}, Er = /* @__PURE__ */ E({
|
|
4126
3987
|
__name: "Button",
|
|
4127
3988
|
props: {
|
|
4128
3989
|
variant: {},
|
|
@@ -4135,31 +3996,31 @@ const en = /* @__PURE__ */ re(Xr, [["render", Qr]]), Et = {
|
|
|
4135
3996
|
as: { default: "button" }
|
|
4136
3997
|
},
|
|
4137
3998
|
setup(e) {
|
|
4138
|
-
const
|
|
4139
|
-
return (t,
|
|
4140
|
-
disabled:
|
|
4141
|
-
class:
|
|
3999
|
+
const r = e;
|
|
4000
|
+
return (t, o) => (I(), M(c(Y), {
|
|
4001
|
+
disabled: r.disabled || r.loading,
|
|
4002
|
+
class: Ee(c(ye)(c(zr)({ variant: e.variant, size: e.size }), r.class)),
|
|
4142
4003
|
"data-slot": "button",
|
|
4143
4004
|
as: e.as,
|
|
4144
4005
|
"as-child": e.asChild
|
|
4145
4006
|
}, {
|
|
4146
4007
|
default: z(() => [
|
|
4147
|
-
|
|
4148
|
-
|
|
4008
|
+
T(t.$slots, "default"),
|
|
4009
|
+
r.icon && !r.loading ? (I(), M(c(Ye), {
|
|
4149
4010
|
key: 0,
|
|
4150
|
-
icon:
|
|
4011
|
+
icon: r.icon,
|
|
4151
4012
|
class: "size-5 text-current duration-200"
|
|
4152
|
-
}, null, 8, ["icon"])) :
|
|
4153
|
-
|
|
4013
|
+
}, null, 8, ["icon"])) : Ie("", !0),
|
|
4014
|
+
r.loading ? (I(), M(c(Ye), {
|
|
4154
4015
|
key: 1,
|
|
4155
4016
|
icon: "loading",
|
|
4156
4017
|
class: "size-5 text-current duration-200"
|
|
4157
|
-
})) :
|
|
4018
|
+
})) : Ie("", !0)
|
|
4158
4019
|
]),
|
|
4159
4020
|
_: 3
|
|
4160
4021
|
}, 8, ["disabled", "class", "as", "as-child"]));
|
|
4161
4022
|
}
|
|
4162
|
-
}),
|
|
4023
|
+
}), zr = Ir("inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
|
|
4163
4024
|
variants: {
|
|
4164
4025
|
variant: {
|
|
4165
4026
|
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
@@ -4182,25 +4043,8 @@ const en = /* @__PURE__ */ re(Xr, [["render", Qr]]), Et = {
|
|
|
4182
4043
|
variant: "default",
|
|
4183
4044
|
size: "default"
|
|
4184
4045
|
}
|
|
4185
|
-
})
|
|
4186
|
-
install() {
|
|
4187
|
-
if (!e || !e.colors) {
|
|
4188
|
-
console.warn("No config provided for the theme settings");
|
|
4189
|
-
return;
|
|
4190
|
-
}
|
|
4191
|
-
rn(e.colors);
|
|
4192
|
-
}
|
|
4193
|
-
}), rn = (e) => {
|
|
4194
|
-
const o = document.documentElement;
|
|
4195
|
-
for (const t in e)
|
|
4196
|
-
e[t] && o.style.setProperty(`--ui-color-${t}`, e[t]);
|
|
4197
|
-
};
|
|
4046
|
+
});
|
|
4198
4047
|
export {
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
ct as Icon,
|
|
4202
|
-
tn as Icons,
|
|
4203
|
-
cn as config,
|
|
4204
|
-
sn as iconsList
|
|
4048
|
+
Mr as Accordion,
|
|
4049
|
+
Er as Button
|
|
4205
4050
|
};
|
|
4206
|
-
//# sourceMappingURL=index.js.map
|