@aminnausin/cedar-ui 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cedar-ui.mjs +447 -441
- package/dist/cedar-ui.umd.js +1 -1
- package/dist/index.d.ts +18 -7
- package/package.json +1 -1
package/dist/cedar-ui.mjs
CHANGED
|
@@ -4,7 +4,7 @@ var E = (e, t, o) => Ze(e, typeof t != "symbol" ? t + "" : t, o);
|
|
|
4
4
|
import { ref as y, computed as ue, onMounted as Qe, watch as J, nextTick as et, reactive as se, onBeforeUnmount as tt, shallowRef as ge, readonly as Pe } from "vue";
|
|
5
5
|
function Xt(e, t, o) {
|
|
6
6
|
var ee;
|
|
7
|
-
const
|
|
7
|
+
const r = y(!1), s = y(((ee = e.model) == null ? void 0 : ee.value) ?? e.defaultDate ?? ""), n = y("F d, Y"), a = y(0), i = y(0), l = y(0), f = y([]), p = y([]), g = y("bottom"), M = [
|
|
8
8
|
"January",
|
|
9
9
|
"February",
|
|
10
10
|
"March",
|
|
@@ -17,54 +17,54 @@ function Xt(e, t, o) {
|
|
|
17
17
|
"October",
|
|
18
18
|
"November",
|
|
19
19
|
"December"
|
|
20
|
-
],
|
|
21
|
-
let
|
|
22
|
-
return
|
|
23
|
-
}),
|
|
24
|
-
const
|
|
25
|
-
return Array.from({ length: 10 }, (I, x) =>
|
|
20
|
+
], F = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], k = y("D"), A = ue(() => {
|
|
21
|
+
let h = Math.max(a.value, 0);
|
|
22
|
+
return h >= M.length && (h = 0), M[h];
|
|
23
|
+
}), N = ue(() => {
|
|
24
|
+
const h = Math.floor(i.value / 10) * 10;
|
|
25
|
+
return Array.from({ length: 10 }, (I, x) => h + x);
|
|
26
26
|
});
|
|
27
|
-
function
|
|
28
|
-
|
|
27
|
+
function z(h) {
|
|
28
|
+
r.value = h ?? !r.value, k.value = "D";
|
|
29
29
|
}
|
|
30
|
-
function G(
|
|
31
|
-
k.value =
|
|
30
|
+
function G(h = "D") {
|
|
31
|
+
k.value = h;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
const I =
|
|
33
|
+
function L(h) {
|
|
34
|
+
const I = F[h.getDay()], x = ("0" + h.getDate()).slice(-2), P = M[h.getMonth()], m = P.substring(0, 3), U = ("0" + (h.getMonth() + 1)).slice(-2), R = h.getFullYear();
|
|
35
35
|
switch (n.value) {
|
|
36
36
|
case "F d, Y":
|
|
37
|
-
return `${P} ${x}, ${
|
|
37
|
+
return `${P} ${x}, ${R}`;
|
|
38
38
|
case "d M, Y":
|
|
39
|
-
return `${x} ${m}, ${
|
|
39
|
+
return `${x} ${m}, ${R}`;
|
|
40
40
|
case "Y M d":
|
|
41
|
-
return `${
|
|
41
|
+
return `${R} ${m} ${x}`;
|
|
42
42
|
case "MM-DD-YYYY":
|
|
43
|
-
return `${U}-${x}-${
|
|
43
|
+
return `${U}-${x}-${R}`;
|
|
44
44
|
case "DD-MM-YYYY":
|
|
45
|
-
return `${x}-${U}-${
|
|
45
|
+
return `${x}-${U}-${R}`;
|
|
46
46
|
case "YYYY-MM-DD":
|
|
47
|
-
return `${
|
|
47
|
+
return `${R}-${U}-${x}`;
|
|
48
48
|
case "D d M, Y":
|
|
49
|
-
return `${I} ${x} ${m} ${
|
|
49
|
+
return `${I} ${x} ${m} ${R}`;
|
|
50
50
|
default:
|
|
51
|
-
return `${P} ${x}, ${
|
|
51
|
+
return `${P} ${x}, ${R}`;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function _(h) {
|
|
55
55
|
switch (k.value) {
|
|
56
56
|
case "Y":
|
|
57
|
-
i.value =
|
|
57
|
+
i.value = h, k.value = "M";
|
|
58
58
|
break;
|
|
59
59
|
case "M":
|
|
60
|
-
a.value =
|
|
60
|
+
a.value = h, k.value = "D", v();
|
|
61
61
|
break;
|
|
62
62
|
default:
|
|
63
|
-
|
|
63
|
+
l.value = h, s.value = L(new Date(i.value, a.value, h)), r.value = !1, e.model && (e.model.value = s.value);
|
|
64
64
|
break;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function V() {
|
|
68
68
|
switch (k.value) {
|
|
69
69
|
case "Y":
|
|
70
70
|
i.value -= 10;
|
|
@@ -77,7 +77,7 @@ function Xt(e, t, o) {
|
|
|
77
77
|
break;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function B() {
|
|
81
81
|
switch (k.value) {
|
|
82
82
|
case "Y":
|
|
83
83
|
i.value += 10;
|
|
@@ -90,67 +90,67 @@ function Xt(e, t, o) {
|
|
|
90
90
|
break;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function w(
|
|
94
|
-
const I = new Date(i.value, a.value,
|
|
95
|
-
return
|
|
93
|
+
function w(h) {
|
|
94
|
+
const I = new Date(i.value, a.value, h);
|
|
95
|
+
return s.value === L(I);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
98
|
-
const I = /* @__PURE__ */ new Date(), x = new Date(i.value, a.value,
|
|
97
|
+
function c(h) {
|
|
98
|
+
const I = /* @__PURE__ */ new Date(), x = new Date(i.value, a.value, h);
|
|
99
99
|
return I.toDateString() === x.toDateString();
|
|
100
100
|
}
|
|
101
101
|
function v() {
|
|
102
|
-
const
|
|
103
|
-
|
|
102
|
+
const h = new Date(i.value, a.value + 1, 0).getDate(), I = new Date(i.value, a.value).getDay();
|
|
103
|
+
p.value = Array.from({ length: I }, (x, P) => P + 1), f.value = Array.from({ length: h }, (x, P) => P + 1);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
if (!t.value || !o.value || !
|
|
107
|
-
const
|
|
105
|
+
function O() {
|
|
106
|
+
if (!t.value || !o.value || !r.value) return;
|
|
107
|
+
const h = t.value.getBoundingClientRect(), I = o.value.offsetHeight, x = h.top + h.height + I;
|
|
108
108
|
g.value = x > window.innerHeight ? "top" : "bottom";
|
|
109
109
|
}
|
|
110
|
-
function Q(
|
|
111
|
-
a.value =
|
|
110
|
+
function Q(h, I = !0) {
|
|
111
|
+
a.value = h.getMonth(), i.value = h.getFullYear(), l.value = h.getDate(), I && (s.value = L(h)), v();
|
|
112
112
|
}
|
|
113
113
|
function j() {
|
|
114
|
-
if (
|
|
115
|
-
return Q(new Date(Date.parse(
|
|
114
|
+
if (s.value)
|
|
115
|
+
return Q(new Date(Date.parse(s.value)));
|
|
116
116
|
Q(/* @__PURE__ */ new Date(), e.useDefaultDate);
|
|
117
117
|
}
|
|
118
118
|
return Qe(() => {
|
|
119
119
|
j();
|
|
120
|
-
}), J(
|
|
121
|
-
if (!
|
|
122
|
-
window.removeEventListener("resize",
|
|
120
|
+
}), J(r, async (h) => {
|
|
121
|
+
if (!h) {
|
|
122
|
+
window.removeEventListener("resize", O);
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
|
-
await et(), j(),
|
|
125
|
+
await et(), j(), O(), window.addEventListener("resize", O);
|
|
126
126
|
}), {
|
|
127
127
|
datePickerInput: t,
|
|
128
128
|
datePickerCalendar: o,
|
|
129
|
-
datePickerOpen:
|
|
130
|
-
datePickerValue:
|
|
129
|
+
datePickerOpen: r,
|
|
130
|
+
datePickerValue: s,
|
|
131
131
|
datePickerPanel: k,
|
|
132
132
|
datePickerFormat: n,
|
|
133
133
|
datePickerMonth: a,
|
|
134
134
|
datePickerMonthVerbose: A,
|
|
135
135
|
datePickerYear: i,
|
|
136
|
-
datePickerDecade:
|
|
137
|
-
datePickerDay:
|
|
138
|
-
datePickerDaysInMonth:
|
|
139
|
-
datePickerBlankDaysInMonth:
|
|
136
|
+
datePickerDecade: N,
|
|
137
|
+
datePickerDay: l,
|
|
138
|
+
datePickerDaysInMonth: f,
|
|
139
|
+
datePickerBlankDaysInMonth: p,
|
|
140
140
|
datePickerMonthNames: M,
|
|
141
|
-
datePickerDays:
|
|
141
|
+
datePickerDays: F,
|
|
142
142
|
datePickerPosition: g,
|
|
143
|
-
toggleDatePicker:
|
|
144
|
-
datePickerValueClicked:
|
|
145
|
-
datePickerPrevious:
|
|
146
|
-
datePickerNext:
|
|
143
|
+
toggleDatePicker: z,
|
|
144
|
+
datePickerValueClicked: _,
|
|
145
|
+
datePickerPrevious: V,
|
|
146
|
+
datePickerNext: B,
|
|
147
147
|
datePickerIsSelectedDate: w,
|
|
148
|
-
datePickerIsToday:
|
|
148
|
+
datePickerIsToday: c,
|
|
149
149
|
showDatePickerPanel: G
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
function Zt({ options: e, defaultItems: t }, o) {
|
|
153
|
-
const
|
|
153
|
+
const r = se({
|
|
154
154
|
selectOpen: !1,
|
|
155
155
|
selectedItems: t,
|
|
156
156
|
selectableItems: e,
|
|
@@ -186,9 +186,9 @@ function Zt({ options: e, defaultItems: t }, o) {
|
|
|
186
186
|
},
|
|
187
187
|
selectItemsFindBestMatch() {
|
|
188
188
|
let n = this.selectKeydownValue.toLowerCase(), a = null, i = -1;
|
|
189
|
-
for (const
|
|
190
|
-
let
|
|
191
|
-
|
|
189
|
+
for (const l of this.selectableItems) {
|
|
190
|
+
let p = l.name.toLowerCase().indexOf(n);
|
|
191
|
+
p > -1 && (i == -1 || p < i) && !l.disabled && (a = l, i = p);
|
|
192
192
|
}
|
|
193
193
|
return a;
|
|
194
194
|
},
|
|
@@ -201,20 +201,20 @@ function Zt({ options: e, defaultItems: t }, o) {
|
|
|
201
201
|
setOptions(n) {
|
|
202
202
|
Array.isArray(n) && (this.selectableItems = n);
|
|
203
203
|
}
|
|
204
|
-
}),
|
|
205
|
-
|
|
204
|
+
}), s = () => {
|
|
205
|
+
r.selectOpen && r.selectPositionUpdate();
|
|
206
206
|
};
|
|
207
207
|
return J(
|
|
208
|
-
() =>
|
|
208
|
+
() => r.selectOpen,
|
|
209
209
|
function(n) {
|
|
210
|
-
if (
|
|
211
|
-
window.removeEventListener("resize",
|
|
210
|
+
if (r.selectedItems ? r.selectableItemActive = r.selectedItem : r.selectableItemActive = r.selectableItems[0], !n) {
|
|
211
|
+
window.removeEventListener("resize", s);
|
|
212
212
|
return;
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
s(), window.addEventListener("resize", s);
|
|
215
215
|
},
|
|
216
216
|
{ immediate: !1 }
|
|
217
|
-
),
|
|
217
|
+
), r;
|
|
218
218
|
}
|
|
219
219
|
function Qt(e, t) {
|
|
220
220
|
const o = se({
|
|
@@ -229,31 +229,31 @@ function Qt(e, t) {
|
|
|
229
229
|
selectDropdownPosition: "bottom",
|
|
230
230
|
selectableItemsList: t.selectableItemsList,
|
|
231
231
|
selectButton: t.selectButton,
|
|
232
|
-
toggleSelect(
|
|
233
|
-
|
|
232
|
+
toggleSelect(s) {
|
|
233
|
+
s !== void 0 ? this.selectOpen = s === !0 : this.selectOpen = !this.selectOpen;
|
|
234
234
|
},
|
|
235
|
-
updateRefs(
|
|
236
|
-
this.selectButton =
|
|
235
|
+
updateRefs(s) {
|
|
236
|
+
this.selectButton = s.selectButton, this.selectableItemsList = s.selectableItemsList;
|
|
237
237
|
},
|
|
238
|
-
selectableItemIsActive(
|
|
239
|
-
return this.selectableItemActive && this.selectableItemActive.value ==
|
|
238
|
+
selectableItemIsActive(s) {
|
|
239
|
+
return this.selectableItemActive && this.selectableItemActive.value == s.value;
|
|
240
240
|
},
|
|
241
241
|
selectableItemActiveNext() {
|
|
242
|
-
let
|
|
243
|
-
|
|
242
|
+
let s = this.selectableItems.indexOf(this.selectableItemActive);
|
|
243
|
+
s < this.selectableItems.length - 1 && (this.selectableItemActive = this.selectableItems[s + 1], this.selectScrollToActiveItem());
|
|
244
244
|
},
|
|
245
245
|
selectableItemActivePrevious() {
|
|
246
|
-
let
|
|
247
|
-
|
|
246
|
+
let s = this.selectableItems.indexOf(this.selectableItemActive);
|
|
247
|
+
s > 0 && (this.selectableItemActive = this.selectableItems[s - 1], this.selectScrollToActiveItem());
|
|
248
248
|
},
|
|
249
249
|
selectScrollToActiveItem() {
|
|
250
250
|
if (!this.selectableItemActive) return;
|
|
251
|
-
let
|
|
252
|
-
|
|
251
|
+
let s = document.getElementById(this.selectableItemActive.value + "-" + this.selectId);
|
|
252
|
+
s && s.focus();
|
|
253
253
|
},
|
|
254
|
-
selectKeydown(
|
|
255
|
-
if (
|
|
256
|
-
this.selectKeydownValue +=
|
|
254
|
+
selectKeydown(s) {
|
|
255
|
+
if (s.keyCode >= 65 && s.keyCode <= 90) {
|
|
256
|
+
this.selectKeydownValue += s.key;
|
|
257
257
|
let n = this.selectItemsFindBestMatch();
|
|
258
258
|
n && (this.selectOpen ? (this.selectableItemActive = n, this.selectScrollToActiveItem()) : this.selectedItem = this.selectableItemActive === n), this.selectKeydownValue != "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
|
|
259
259
|
this.selectKeydownValue = "";
|
|
@@ -261,46 +261,46 @@ function Qt(e, t) {
|
|
|
261
261
|
}
|
|
262
262
|
},
|
|
263
263
|
selectItemsFindBestMatch() {
|
|
264
|
-
let
|
|
264
|
+
let s = this.selectKeydownValue.toLowerCase(), n = null, a = -1;
|
|
265
265
|
for (const i of this.selectableItems) {
|
|
266
|
-
let
|
|
267
|
-
|
|
266
|
+
let f = i.title.toLowerCase().indexOf(s);
|
|
267
|
+
f > -1 && (a == -1 || f < a) && !i.disabled && (n = i, a = f);
|
|
268
268
|
}
|
|
269
269
|
return n;
|
|
270
270
|
},
|
|
271
271
|
selectPositionUpdate() {
|
|
272
272
|
var n;
|
|
273
273
|
if (!this.selectableItemsList || !this.selectButton) return;
|
|
274
|
-
let
|
|
275
|
-
window.innerHeight <
|
|
274
|
+
let s = ((n = this.selectButton) == null ? void 0 : n.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
|
|
275
|
+
window.innerHeight < s ? this.selectDropdownPosition = "top" : this.selectDropdownPosition = "bottom";
|
|
276
276
|
}
|
|
277
|
-
}),
|
|
277
|
+
}), r = () => {
|
|
278
278
|
o.selectOpen && o.selectPositionUpdate();
|
|
279
279
|
};
|
|
280
280
|
return J(
|
|
281
281
|
() => o.selectOpen,
|
|
282
|
-
function(
|
|
283
|
-
if (o.selectedItem ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !
|
|
284
|
-
window.removeEventListener("resize",
|
|
282
|
+
function(s) {
|
|
283
|
+
if (o.selectedItem ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !s) {
|
|
284
|
+
window.removeEventListener("resize", r);
|
|
285
285
|
return;
|
|
286
286
|
}
|
|
287
287
|
window.setTimeout(function() {
|
|
288
288
|
o.selectScrollToActiveItem();
|
|
289
|
-
}, 10),
|
|
289
|
+
}, 10), r(), window.addEventListener("resize", r);
|
|
290
290
|
},
|
|
291
291
|
{ immediate: !1 }
|
|
292
292
|
), o;
|
|
293
293
|
}
|
|
294
294
|
function eo(e) {
|
|
295
|
-
const t = y(1), o = y(e.itemsPerPage ?? 10),
|
|
295
|
+
const t = y(1), o = y(e.itemsPerPage ?? 10), r = se({
|
|
296
296
|
filteredPage: ue(() => {
|
|
297
|
-
const
|
|
298
|
-
return e.data.slice(
|
|
297
|
+
const s = o.value * (t.value - 1), n = Math.min(o.value * t.value, e.data.length);
|
|
298
|
+
return e.data.slice(s, n);
|
|
299
299
|
}),
|
|
300
300
|
props: e,
|
|
301
301
|
fields: { currentPage: t, itemsPerPage: o },
|
|
302
|
-
handlePageChange(
|
|
303
|
-
t.value =
|
|
302
|
+
handlePageChange(s) {
|
|
303
|
+
t.value = s;
|
|
304
304
|
},
|
|
305
305
|
handlePageReset() {
|
|
306
306
|
t.value = 1;
|
|
@@ -308,12 +308,12 @@ function eo(e) {
|
|
|
308
308
|
});
|
|
309
309
|
return J(
|
|
310
310
|
() => e.data,
|
|
311
|
-
(
|
|
311
|
+
(s, n) => {
|
|
312
312
|
var a, i;
|
|
313
|
-
((
|
|
313
|
+
((s == null ? void 0 : s.length) !== (n == null ? void 0 : n.length) || s[0] && n[0] && ((a = s[0]) == null ? void 0 : a.id) !== ((i = n[0]) == null ? void 0 : i.id)) && r.handlePageReset();
|
|
314
314
|
},
|
|
315
315
|
{ immediate: !0 }
|
|
316
|
-
),
|
|
316
|
+
), r;
|
|
317
317
|
}
|
|
318
318
|
function Fe(e = "pv_id_") {
|
|
319
319
|
return e + Math.random().toString(16).slice(2);
|
|
@@ -334,20 +334,20 @@ class ot {
|
|
|
334
334
|
this.publish(t), this.toasts = [...this.toasts, t];
|
|
335
335
|
});
|
|
336
336
|
E(this, "create", (t, o) => {
|
|
337
|
-
const
|
|
338
|
-
return this.toasts.find((n) => n.id ===
|
|
337
|
+
const r = o.id ?? Fe("toast_");
|
|
338
|
+
return this.toasts.find((n) => n.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({ ...n, ...o, id: r, title: t }), {
|
|
339
339
|
...n,
|
|
340
340
|
...o,
|
|
341
|
-
id:
|
|
341
|
+
id: r,
|
|
342
342
|
title: t
|
|
343
343
|
}) : n) : this.addToast({
|
|
344
344
|
title: t,
|
|
345
|
-
id:
|
|
345
|
+
id: r,
|
|
346
346
|
scale: 1,
|
|
347
347
|
zIndex: 200,
|
|
348
348
|
offsetY: 0,
|
|
349
349
|
...o
|
|
350
|
-
}),
|
|
350
|
+
}), r;
|
|
351
351
|
});
|
|
352
352
|
E(this, "dismiss", (t) => {
|
|
353
353
|
t ? (this.publish({ id: t, dismiss: !0 }), this.toasts = this.toasts.filter((o) => o.id !== t)) : (this.toasts.forEach((o) => {
|
|
@@ -384,8 +384,8 @@ function to(e) {
|
|
|
384
384
|
await navigator.clipboard.writeText(e.value), t.value = !0, setTimeout(() => {
|
|
385
385
|
t.value = !1;
|
|
386
386
|
}, 3e3);
|
|
387
|
-
} catch (
|
|
388
|
-
console.error(
|
|
387
|
+
} catch (r) {
|
|
388
|
+
console.error(r), rt.error("Error", {
|
|
389
389
|
description: "Unable to copy. Network is not secure."
|
|
390
390
|
});
|
|
391
391
|
}
|
|
@@ -395,27 +395,27 @@ function to(e) {
|
|
|
395
395
|
function nt(e) {
|
|
396
396
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
397
397
|
}
|
|
398
|
-
var fe,
|
|
398
|
+
var fe, Ce;
|
|
399
399
|
function at() {
|
|
400
|
-
return
|
|
400
|
+
return Ce || (Ce = 1, fe = function e(t, o) {
|
|
401
401
|
if (t === o) return !0;
|
|
402
402
|
if (t && o && typeof t == "object" && typeof o == "object") {
|
|
403
403
|
if (t.constructor !== o.constructor) return !1;
|
|
404
|
-
var
|
|
404
|
+
var r, s, n;
|
|
405
405
|
if (Array.isArray(t)) {
|
|
406
|
-
if (
|
|
407
|
-
for (
|
|
408
|
-
if (!e(t[
|
|
406
|
+
if (r = t.length, r != o.length) return !1;
|
|
407
|
+
for (s = r; s-- !== 0; )
|
|
408
|
+
if (!e(t[s], o[s])) return !1;
|
|
409
409
|
return !0;
|
|
410
410
|
}
|
|
411
411
|
if (t.constructor === RegExp) return t.source === o.source && t.flags === o.flags;
|
|
412
412
|
if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === o.valueOf();
|
|
413
413
|
if (t.toString !== Object.prototype.toString) return t.toString() === o.toString();
|
|
414
|
-
if (n = Object.keys(t),
|
|
415
|
-
for (
|
|
416
|
-
if (!Object.prototype.hasOwnProperty.call(o, n[
|
|
417
|
-
for (
|
|
418
|
-
var a = n[
|
|
414
|
+
if (n = Object.keys(t), r = n.length, r !== Object.keys(o).length) return !1;
|
|
415
|
+
for (s = r; s-- !== 0; )
|
|
416
|
+
if (!Object.prototype.hasOwnProperty.call(o, n[s])) return !1;
|
|
417
|
+
for (s = r; s-- !== 0; ) {
|
|
418
|
+
var a = n[s];
|
|
419
419
|
if (!e(t[a], o[a])) return !1;
|
|
420
420
|
}
|
|
421
421
|
return !0;
|
|
@@ -427,7 +427,7 @@ var it = at();
|
|
|
427
427
|
const lt = /* @__PURE__ */ nt(it);
|
|
428
428
|
function oo(e) {
|
|
429
429
|
let t = e, o;
|
|
430
|
-
const
|
|
430
|
+
const r = se({
|
|
431
431
|
fields: structuredClone(e),
|
|
432
432
|
errors: {},
|
|
433
433
|
dirty: !1,
|
|
@@ -435,7 +435,7 @@ function oo(e) {
|
|
|
435
435
|
processing: !1,
|
|
436
436
|
wasSuccessful: !1,
|
|
437
437
|
recentlySuccessful: !1,
|
|
438
|
-
async submit(
|
|
438
|
+
async submit(s, n = {}) {
|
|
439
439
|
if (this.processing) return;
|
|
440
440
|
const a = {
|
|
441
441
|
onBefore: async () => {
|
|
@@ -447,9 +447,9 @@ function oo(e) {
|
|
|
447
447
|
}, 2e3), n.onSuccess && await n.onSuccess(i), t = structuredClone(this.fields);
|
|
448
448
|
},
|
|
449
449
|
onError: async (i) => {
|
|
450
|
-
var
|
|
451
|
-
this.hasErrors = !0, (((
|
|
452
|
-
message: (
|
|
450
|
+
var l, f, p, g, M;
|
|
451
|
+
this.hasErrors = !0, (((l = i == null ? void 0 : i.response) == null ? void 0 : l.status) === 422 || ((f = i == null ? void 0 : i.response) == null ? void 0 : f.status) === 401) && (this.clearErrors(), this.setErrors({
|
|
452
|
+
message: (p = i == null ? void 0 : i.response) == null ? void 0 : p.data.message,
|
|
453
453
|
...(M = (g = i == null ? void 0 : i.response) == null ? void 0 : g.data) == null ? void 0 : M.errors
|
|
454
454
|
})), n.onError && await n.onError(i);
|
|
455
455
|
},
|
|
@@ -459,7 +459,7 @@ function oo(e) {
|
|
|
459
459
|
};
|
|
460
460
|
await a.onBefore();
|
|
461
461
|
try {
|
|
462
|
-
const i = await
|
|
462
|
+
const i = await s(this.fields);
|
|
463
463
|
await a.onSuccess(i);
|
|
464
464
|
} catch (i) {
|
|
465
465
|
await a.onError(i);
|
|
@@ -467,118 +467,118 @@ function oo(e) {
|
|
|
467
467
|
await a.onFinish();
|
|
468
468
|
}
|
|
469
469
|
},
|
|
470
|
-
reset(...
|
|
470
|
+
reset(...s) {
|
|
471
471
|
const n = structuredClone(t);
|
|
472
|
-
|
|
472
|
+
s.length === 0 ? this.fields = n : s.forEach((a) => {
|
|
473
473
|
n[a] !== void 0 && (this.fields[a] = n[a]);
|
|
474
474
|
});
|
|
475
475
|
},
|
|
476
|
-
clearErrors(...
|
|
477
|
-
|
|
476
|
+
clearErrors(...s) {
|
|
477
|
+
s.length === 0 ? this.errors = {} : s.forEach((n) => delete this.errors[n]), this.hasErrors = Object.keys(this.errors).length > 0;
|
|
478
478
|
},
|
|
479
|
-
setErrors(
|
|
480
|
-
this.errors = { ...this.errors, ...
|
|
479
|
+
setErrors(s) {
|
|
480
|
+
this.errors = { ...this.errors, ...s }, this.hasErrors = Object.keys(this.errors).length > 0;
|
|
481
481
|
}
|
|
482
482
|
});
|
|
483
483
|
return J(
|
|
484
|
-
() =>
|
|
484
|
+
() => r.fields,
|
|
485
485
|
() => {
|
|
486
|
-
|
|
486
|
+
r.dirty = !lt(r.fields, t);
|
|
487
487
|
},
|
|
488
488
|
{ immediate: !0, deep: !0 }
|
|
489
|
-
),
|
|
489
|
+
), r;
|
|
490
490
|
}
|
|
491
|
-
function so({ duration: e, isPaused: t, onTimeout: o, immediate:
|
|
492
|
-
const
|
|
491
|
+
function so({ duration: e, isPaused: t, onTimeout: o, immediate: r = !0 }) {
|
|
492
|
+
const s = y(), n = y(0), a = y(e);
|
|
493
493
|
function i() {
|
|
494
|
-
a.value === 1 / 0 || t() || (n.value = Date.now(),
|
|
494
|
+
a.value === 1 / 0 || t() || (n.value = Date.now(), s.value = window.setTimeout(() => {
|
|
495
495
|
o();
|
|
496
496
|
}, a.value));
|
|
497
497
|
}
|
|
498
|
-
function
|
|
499
|
-
|
|
500
|
-
const
|
|
501
|
-
a.value -=
|
|
498
|
+
function l() {
|
|
499
|
+
f();
|
|
500
|
+
const p = Date.now() - n.value;
|
|
501
|
+
a.value -= p;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
504
|
-
|
|
503
|
+
function f() {
|
|
504
|
+
s.value && (clearTimeout(s.value), s.value = null);
|
|
505
505
|
}
|
|
506
506
|
return J(
|
|
507
507
|
t,
|
|
508
|
-
(
|
|
509
|
-
if (
|
|
510
|
-
|
|
508
|
+
(p) => {
|
|
509
|
+
if (p) {
|
|
510
|
+
l();
|
|
511
511
|
return;
|
|
512
512
|
}
|
|
513
513
|
i();
|
|
514
514
|
},
|
|
515
|
-
{ immediate:
|
|
515
|
+
{ immediate: r }
|
|
516
516
|
), tt(() => {
|
|
517
|
-
|
|
518
|
-
}), { cancel:
|
|
517
|
+
f();
|
|
518
|
+
}), { cancel: f };
|
|
519
519
|
}
|
|
520
|
-
const ro = 3, no = "24px", ao = "16px", io = 0, lo = 3e3, co = 16, uo = 45, mo = 10, fo = 0.06, po = 16,
|
|
521
|
-
function ho({ directions: e, swipeThreshold: t, velocityThreshold: o, getElementSize:
|
|
522
|
-
const n = y(!1), a = y({ x: 0, y: 0 }), i = y({ x: 0, y: 0 }),
|
|
520
|
+
const ro = 3, no = "24px", ao = "16px", io = 0, lo = 3e3, co = 16, uo = 45, mo = 10, fo = 0.06, po = 16, De = 4, Ee = 6;
|
|
521
|
+
function ho({ directions: e, swipeThreshold: t, velocityThreshold: o, getElementSize: r, onSwipeOut: s }) {
|
|
522
|
+
const n = y(!1), a = y({ x: 0, y: 0 }), i = y({ x: 0, y: 0 }), l = y({ x: 0, y: 0 }), f = y(), p = ue(() => A(e.value)), g = y(null);
|
|
523
523
|
function M(w) {
|
|
524
524
|
return 1 / (1.5 + Math.abs(w) / 20);
|
|
525
525
|
}
|
|
526
|
-
function
|
|
527
|
-
return Math.min(
|
|
526
|
+
function F(w, c) {
|
|
527
|
+
return Math.min(c.maxDelta, Math.max(c.minDelta, w));
|
|
528
528
|
}
|
|
529
529
|
function k(w) {
|
|
530
|
-
const
|
|
531
|
-
return
|
|
530
|
+
const c = p.value[w];
|
|
531
|
+
return c.minDelta !== 0 || c.maxDelta !== 0;
|
|
532
532
|
}
|
|
533
533
|
function A(w) {
|
|
534
|
-
const
|
|
534
|
+
const c = {
|
|
535
535
|
x: { minDelta: 0, maxDelta: 0 },
|
|
536
536
|
y: { minDelta: 0, maxDelta: 0 }
|
|
537
537
|
};
|
|
538
538
|
for (const v of w)
|
|
539
|
-
v === "left" && (
|
|
540
|
-
return
|
|
539
|
+
v === "left" && (c.x.minDelta = -1 / 0), v === "right" && (c.x.maxDelta = 1 / 0), v === "top" && (c.y.minDelta = -1 / 0), v === "bottom" && (c.y.maxDelta = 1 / 0);
|
|
540
|
+
return c;
|
|
541
541
|
}
|
|
542
|
-
function
|
|
543
|
-
const
|
|
544
|
-
return k(
|
|
542
|
+
function N(w) {
|
|
543
|
+
const c = Math.abs(w.x) > Math.abs(w.y) ? "x" : "y";
|
|
544
|
+
return k(c) ? c : null;
|
|
545
545
|
}
|
|
546
|
-
function
|
|
547
|
-
return t.px ? t.px : w && t.percent &&
|
|
546
|
+
function z(w) {
|
|
547
|
+
return t.px ? t.px : w && t.percent && r ? r(w) * t.percent : 1 / 0;
|
|
548
548
|
}
|
|
549
549
|
function G(w) {
|
|
550
|
-
w.target.closest("button, a, input, textarea, select") || (
|
|
550
|
+
w.target.closest("button, a, input, textarea, select") || (f.value = Date.now(), w.target.setPointerCapture(w.pointerId), i.value = { x: w.clientX, y: w.clientY }, n.value = !0);
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function L(w) {
|
|
553
553
|
if (!n.value) return;
|
|
554
|
-
const
|
|
555
|
-
if (
|
|
556
|
-
if (
|
|
557
|
-
const
|
|
558
|
-
|
|
554
|
+
const c = { x: 0, y: 0 }, v = { x: w.clientX - i.value.x, y: w.clientY - i.value.y };
|
|
555
|
+
if (l.value.x = Math.max(l.value.x, Math.abs(v.x)), l.value.y = Math.max(l.value.y, Math.abs(v.y)), !g.value && (Math.abs(v.x) > De || Math.abs(v.y) > De) && (g.value = N(v)), !!g.value) {
|
|
556
|
+
if (c[g.value] = F(v[g.value], p.value[g.value]), c[g.value] === 0 && v[g.value] !== 0) {
|
|
557
|
+
const O = v[g.value] * M(v[g.value]);
|
|
558
|
+
c[g.value] = Math.abs(O) < Math.abs(v[g.value]) ? O : v[g.value];
|
|
559
559
|
}
|
|
560
|
-
a.value =
|
|
560
|
+
a.value = c;
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function N() {
|
|
564
|
-
if (!n.value) return;
|
|
565
|
-
const w = Date.now() - (h.value ?? 0), l = g.value ? a.value[g.value] : 0, v = Math.abs(l) / w;
|
|
566
|
-
(Math.abs(l) >= O(g.value) || v > (o ?? 0.11)) && r(), n.value = !1, g.value = null, a.value = { x: 0, y: 0 };
|
|
567
|
-
}
|
|
568
563
|
function _() {
|
|
564
|
+
if (!n.value) return !1;
|
|
565
|
+
const w = Date.now() - (f.value ?? 0), c = g.value ? a.value[g.value] : 0, v = Math.abs(c) / w, O = Math.abs(c) >= z(g.value) || v > (o ?? 0.11);
|
|
566
|
+
return O && s(), n.value = !1, g.value = null, a.value = { x: 0, y: 0 }, O;
|
|
567
|
+
}
|
|
568
|
+
function V() {
|
|
569
569
|
n.value = !1, g.value = null, a.value = { x: 0, y: 0 };
|
|
570
570
|
}
|
|
571
|
-
function
|
|
572
|
-
return
|
|
571
|
+
function B() {
|
|
572
|
+
return l.value.x <= Ee && l.value.y <= Ee;
|
|
573
573
|
}
|
|
574
574
|
return {
|
|
575
575
|
offset: a,
|
|
576
576
|
isSwiping: n,
|
|
577
577
|
onPointerDown: G,
|
|
578
|
-
onPointerMove:
|
|
579
|
-
onPointerUp:
|
|
580
|
-
onPointerCancel:
|
|
581
|
-
isTapGesture:
|
|
578
|
+
onPointerMove: L,
|
|
579
|
+
onPointerUp: _,
|
|
580
|
+
onPointerCancel: V,
|
|
581
|
+
isTapGesture: B
|
|
582
582
|
};
|
|
583
583
|
}
|
|
584
584
|
const bo = 45, go = 0.11, oe = y(!1), ke = y(!1), Ie = y(300), q = y(null), Ne = se({}), _e = ge(null);
|
|
@@ -597,18 +597,24 @@ function vo() {
|
|
|
597
597
|
}
|
|
598
598
|
let pe = null;
|
|
599
599
|
function dt() {
|
|
600
|
-
const e = y(!1), t = y(!1), o = y(200),
|
|
601
|
-
function a(
|
|
602
|
-
|
|
600
|
+
const e = y(!1), t = y(!1), o = y(200), r = y(null), s = ge({}), n = ge(null);
|
|
601
|
+
function a(l, f = {}) {
|
|
602
|
+
var p, g;
|
|
603
|
+
if (t.value) {
|
|
604
|
+
i("programmatic");
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
607
|
+
r.value && clearTimeout(r.value), s.value = f, n.value = l, t.value = !0, e.value = !0, (g = (p = s.value) == null ? void 0 : p.onOpen) == null || g.call(p), r.value = window.setTimeout(() => {
|
|
603
608
|
e.value = !1;
|
|
604
609
|
}, o.value);
|
|
605
610
|
}
|
|
606
|
-
function i() {
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
611
|
+
function i(l) {
|
|
612
|
+
var f, p;
|
|
613
|
+
t.value && (r.value && clearTimeout(r.value), !(l !== "programmatic" && s.value.preventClose) && (l === "escape" && !(s.value.closeOnEsc ?? !0) || l === "backdrop" && !(s.value.closeOnBackdrop ?? !0) || l === "swipe" && !(s.value.closeOnSwipe ?? !0) || (t.value = !1, e.value = !0, (p = (f = s.value) == null ? void 0 : f.onClose) == null || p.call(f, l), r.value = window.setTimeout(() => {
|
|
614
|
+
e.value = !1, n.value = null, s.value = {};
|
|
615
|
+
}, o.value))));
|
|
610
616
|
}
|
|
611
|
-
return { isOpen: Pe(t), isAnimating: Pe(e), animationTime: o, props:
|
|
617
|
+
return { isOpen: Pe(t), isAnimating: Pe(e), animationTime: o, props: s, component: n, open: a, close: i };
|
|
612
618
|
}
|
|
613
619
|
function ve() {
|
|
614
620
|
return pe || (pe = dt()), pe;
|
|
@@ -618,7 +624,7 @@ function wo() {
|
|
|
618
624
|
}
|
|
619
625
|
const yo = {
|
|
620
626
|
open: (e, t) => ve().open(e, t),
|
|
621
|
-
close: () => ve().close()
|
|
627
|
+
close: (e) => ve().close(e)
|
|
622
628
|
}, mt = {
|
|
623
629
|
stringInsensitive: (e, t) => Oe(e).localeCompare(Oe(t)),
|
|
624
630
|
date: (e, t) => new Date(e).getTime() - new Date(t).getTime(),
|
|
@@ -628,37 +634,37 @@ function Oe(e) {
|
|
|
628
634
|
return String(e ?? "").toLowerCase().replace(/\s+/g, " ").trim();
|
|
629
635
|
}
|
|
630
636
|
function xo(e, t = 1, o = ["date", "date_released"]) {
|
|
631
|
-
return (
|
|
632
|
-
const n =
|
|
637
|
+
return (r, s) => {
|
|
638
|
+
const n = r[e], a = s[e];
|
|
633
639
|
if (n instanceof Date && a instanceof Date || o.includes(String(e))) {
|
|
634
|
-
const
|
|
635
|
-
return (new Date(String(a)).getTime() -
|
|
640
|
+
const f = new Date(String(n));
|
|
641
|
+
return (new Date(String(a)).getTime() - f.getTime()) * t;
|
|
636
642
|
}
|
|
637
|
-
const i = parseFloat(n),
|
|
638
|
-
return !isNaN(i) && !isNaN(
|
|
643
|
+
const i = parseFloat(n), l = parseFloat(a);
|
|
644
|
+
return !isNaN(i) && !isNaN(l) ? (i - l) * t : String(n).toLowerCase().replace(/\s+/g, " ").localeCompare(String(a).toLowerCase().replace(/\s+/g, " ")) * t;
|
|
639
645
|
};
|
|
640
646
|
}
|
|
641
647
|
function ko(e, t = 1) {
|
|
642
|
-
return (o,
|
|
643
|
-
for (const { key:
|
|
644
|
-
const a =
|
|
645
|
-
let
|
|
646
|
-
if (n ?
|
|
648
|
+
return (o, r) => {
|
|
649
|
+
for (const { key: s, compareFn: n } of e) {
|
|
650
|
+
const a = s ? o[s] ?? "" : void 0, i = s ? r[s] ?? "" : void 0;
|
|
651
|
+
let l;
|
|
652
|
+
if (n ? l = s ? n(a, i) : n(o, r) : l = ft(a, i), l !== 0) return l * t;
|
|
647
653
|
}
|
|
648
654
|
return 0;
|
|
649
655
|
};
|
|
650
656
|
}
|
|
651
657
|
function ft(e, t) {
|
|
652
|
-
const o = parseFloat(e),
|
|
653
|
-
if (!isNaN(o) && !isNaN(
|
|
654
|
-
return o -
|
|
655
|
-
const
|
|
656
|
-
return !isNaN(
|
|
658
|
+
const o = parseFloat(e), r = parseFloat(t);
|
|
659
|
+
if (!isNaN(o) && !isNaN(r))
|
|
660
|
+
return o - r;
|
|
661
|
+
const s = new Date(e), n = new Date(t);
|
|
662
|
+
return !isNaN(s.getTime()) && !isNaN(n.getTime()) ? s.getTime() - n.getTime() : mt.stringInsensitive(e, t);
|
|
657
663
|
}
|
|
658
664
|
const Te = "-", pt = (e) => {
|
|
659
665
|
const t = bt(e), {
|
|
660
666
|
conflictingClassGroups: o,
|
|
661
|
-
conflictingClassGroupModifiers:
|
|
667
|
+
conflictingClassGroupModifiers: r
|
|
662
668
|
} = e;
|
|
663
669
|
return {
|
|
664
670
|
getClassGroupId: (a) => {
|
|
@@ -666,17 +672,17 @@ const Te = "-", pt = (e) => {
|
|
|
666
672
|
return i[0] === "" && i.length !== 1 && i.shift(), Ve(i, t) || ht(a);
|
|
667
673
|
},
|
|
668
674
|
getConflictingClassGroupIds: (a, i) => {
|
|
669
|
-
const
|
|
670
|
-
return i &&
|
|
675
|
+
const l = o[a] || [];
|
|
676
|
+
return i && r[a] ? [...l, ...r[a]] : l;
|
|
671
677
|
}
|
|
672
678
|
};
|
|
673
679
|
}, Ve = (e, t) => {
|
|
674
680
|
var a;
|
|
675
681
|
if (e.length === 0)
|
|
676
682
|
return t.classGroupId;
|
|
677
|
-
const o = e[0],
|
|
678
|
-
if (
|
|
679
|
-
return
|
|
683
|
+
const o = e[0], r = t.nextPart.get(o), s = r ? Ve(e.slice(1), r) : void 0;
|
|
684
|
+
if (s)
|
|
685
|
+
return s;
|
|
680
686
|
if (t.validators.length === 0)
|
|
681
687
|
return;
|
|
682
688
|
const n = e.join(Te);
|
|
@@ -693,42 +699,42 @@ const Te = "-", pt = (e) => {
|
|
|
693
699
|
const {
|
|
694
700
|
theme: t,
|
|
695
701
|
classGroups: o
|
|
696
|
-
} = e,
|
|
702
|
+
} = e, r = {
|
|
697
703
|
nextPart: /* @__PURE__ */ new Map(),
|
|
698
704
|
validators: []
|
|
699
705
|
};
|
|
700
|
-
for (const
|
|
701
|
-
we(o[
|
|
702
|
-
return
|
|
703
|
-
}, we = (e, t, o,
|
|
704
|
-
e.forEach((
|
|
705
|
-
if (typeof
|
|
706
|
-
const n =
|
|
706
|
+
for (const s in o)
|
|
707
|
+
we(o[s], r, s, t);
|
|
708
|
+
return r;
|
|
709
|
+
}, we = (e, t, o, r) => {
|
|
710
|
+
e.forEach((s) => {
|
|
711
|
+
if (typeof s == "string") {
|
|
712
|
+
const n = s === "" ? t : Le(t, s);
|
|
707
713
|
n.classGroupId = o;
|
|
708
714
|
return;
|
|
709
715
|
}
|
|
710
|
-
if (typeof
|
|
711
|
-
if (gt(
|
|
712
|
-
we(r
|
|
716
|
+
if (typeof s == "function") {
|
|
717
|
+
if (gt(s)) {
|
|
718
|
+
we(s(r), t, o, r);
|
|
713
719
|
return;
|
|
714
720
|
}
|
|
715
721
|
t.validators.push({
|
|
716
|
-
validator:
|
|
722
|
+
validator: s,
|
|
717
723
|
classGroupId: o
|
|
718
724
|
});
|
|
719
725
|
return;
|
|
720
726
|
}
|
|
721
|
-
Object.entries(
|
|
722
|
-
we(a, Le(t, n), o,
|
|
727
|
+
Object.entries(s).forEach(([n, a]) => {
|
|
728
|
+
we(a, Le(t, n), o, r);
|
|
723
729
|
});
|
|
724
730
|
});
|
|
725
731
|
}, Le = (e, t) => {
|
|
726
732
|
let o = e;
|
|
727
|
-
return t.split(Te).forEach((
|
|
728
|
-
o.nextPart.has(
|
|
733
|
+
return t.split(Te).forEach((r) => {
|
|
734
|
+
o.nextPart.has(r) || o.nextPart.set(r, {
|
|
729
735
|
nextPart: /* @__PURE__ */ new Map(),
|
|
730
736
|
validators: []
|
|
731
|
-
}), o = o.nextPart.get(
|
|
737
|
+
}), o = o.nextPart.get(r);
|
|
732
738
|
}), o;
|
|
733
739
|
}, gt = (e) => e.isThemeGetter, vt = (e) => {
|
|
734
740
|
if (e < 1)
|
|
@@ -738,20 +744,20 @@ const Te = "-", pt = (e) => {
|
|
|
738
744
|
set: () => {
|
|
739
745
|
}
|
|
740
746
|
};
|
|
741
|
-
let t = 0, o = /* @__PURE__ */ new Map(),
|
|
742
|
-
const
|
|
743
|
-
o.set(n, a), t++, t > e && (t = 0,
|
|
747
|
+
let t = 0, o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
748
|
+
const s = (n, a) => {
|
|
749
|
+
o.set(n, a), t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ new Map());
|
|
744
750
|
};
|
|
745
751
|
return {
|
|
746
752
|
get(n) {
|
|
747
753
|
let a = o.get(n);
|
|
748
754
|
if (a !== void 0)
|
|
749
755
|
return a;
|
|
750
|
-
if ((a =
|
|
751
|
-
return
|
|
756
|
+
if ((a = r.get(n)) !== void 0)
|
|
757
|
+
return s(n, a), a;
|
|
752
758
|
},
|
|
753
759
|
set(n, a) {
|
|
754
|
-
o.has(n) ? o.set(n, a) :
|
|
760
|
+
o.has(n) ? o.set(n, a) : s(n, a);
|
|
755
761
|
}
|
|
756
762
|
};
|
|
757
763
|
}, ye = "!", xe = ":", wt = xe.length, yt = (e) => {
|
|
@@ -759,34 +765,34 @@ const Te = "-", pt = (e) => {
|
|
|
759
765
|
prefix: t,
|
|
760
766
|
experimentalParseClassName: o
|
|
761
767
|
} = e;
|
|
762
|
-
let
|
|
768
|
+
let r = (s) => {
|
|
763
769
|
const n = [];
|
|
764
|
-
let a = 0, i = 0,
|
|
765
|
-
for (let k = 0; k <
|
|
766
|
-
let A =
|
|
770
|
+
let a = 0, i = 0, l = 0, f;
|
|
771
|
+
for (let k = 0; k < s.length; k++) {
|
|
772
|
+
let A = s[k];
|
|
767
773
|
if (a === 0 && i === 0) {
|
|
768
774
|
if (A === xe) {
|
|
769
|
-
n.push(
|
|
775
|
+
n.push(s.slice(l, k)), l = k + wt;
|
|
770
776
|
continue;
|
|
771
777
|
}
|
|
772
778
|
if (A === "/") {
|
|
773
|
-
|
|
779
|
+
f = k;
|
|
774
780
|
continue;
|
|
775
781
|
}
|
|
776
782
|
}
|
|
777
783
|
A === "[" ? a++ : A === "]" ? a-- : A === "(" ? i++ : A === ")" && i--;
|
|
778
784
|
}
|
|
779
|
-
const
|
|
785
|
+
const p = n.length === 0 ? s : s.substring(l), g = xt(p), M = g !== p, F = f && f > l ? f - l : void 0;
|
|
780
786
|
return {
|
|
781
787
|
modifiers: n,
|
|
782
788
|
hasImportantModifier: M,
|
|
783
789
|
baseClassName: g,
|
|
784
|
-
maybePostfixModifierPosition:
|
|
790
|
+
maybePostfixModifierPosition: F
|
|
785
791
|
};
|
|
786
792
|
};
|
|
787
793
|
if (t) {
|
|
788
|
-
const
|
|
789
|
-
|
|
794
|
+
const s = t + xe, n = r;
|
|
795
|
+
r = (a) => a.startsWith(s) ? n(a.substring(s.length)) : {
|
|
790
796
|
isExternal: !0,
|
|
791
797
|
modifiers: [],
|
|
792
798
|
hasImportantModifier: !1,
|
|
@@ -795,23 +801,23 @@ const Te = "-", pt = (e) => {
|
|
|
795
801
|
};
|
|
796
802
|
}
|
|
797
803
|
if (o) {
|
|
798
|
-
const
|
|
799
|
-
|
|
804
|
+
const s = r;
|
|
805
|
+
r = (n) => o({
|
|
800
806
|
className: n,
|
|
801
|
-
parseClassName:
|
|
807
|
+
parseClassName: s
|
|
802
808
|
});
|
|
803
809
|
}
|
|
804
|
-
return
|
|
810
|
+
return r;
|
|
805
811
|
}, xt = (e) => e.endsWith(ye) ? e.substring(0, e.length - 1) : e.startsWith(ye) ? e.substring(1) : e, kt = (e) => {
|
|
806
|
-
const t = Object.fromEntries(e.orderSensitiveModifiers.map((
|
|
807
|
-
return (
|
|
808
|
-
if (
|
|
809
|
-
return
|
|
810
|
-
const
|
|
812
|
+
const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
|
|
813
|
+
return (r) => {
|
|
814
|
+
if (r.length <= 1)
|
|
815
|
+
return r;
|
|
816
|
+
const s = [];
|
|
811
817
|
let n = [];
|
|
812
|
-
return
|
|
813
|
-
a[0] === "[" || t[a] ? (
|
|
814
|
-
}),
|
|
818
|
+
return r.forEach((a) => {
|
|
819
|
+
a[0] === "[" || t[a] ? (s.push(...n.sort(), a), n = []) : n.push(a);
|
|
820
|
+
}), s.push(...n.sort()), s;
|
|
815
821
|
};
|
|
816
822
|
}, It = (e) => ({
|
|
817
823
|
cache: vt(e.cacheSize),
|
|
@@ -821,74 +827,74 @@ const Te = "-", pt = (e) => {
|
|
|
821
827
|
}), Tt = /\s+/, St = (e, t) => {
|
|
822
828
|
const {
|
|
823
829
|
parseClassName: o,
|
|
824
|
-
getClassGroupId:
|
|
825
|
-
getConflictingClassGroupIds:
|
|
830
|
+
getClassGroupId: r,
|
|
831
|
+
getConflictingClassGroupIds: s,
|
|
826
832
|
sortModifiers: n
|
|
827
833
|
} = t, a = [], i = e.trim().split(Tt);
|
|
828
|
-
let
|
|
829
|
-
for (let
|
|
830
|
-
const
|
|
834
|
+
let l = "";
|
|
835
|
+
for (let f = i.length - 1; f >= 0; f -= 1) {
|
|
836
|
+
const p = i[f], {
|
|
831
837
|
isExternal: g,
|
|
832
838
|
modifiers: M,
|
|
833
|
-
hasImportantModifier:
|
|
839
|
+
hasImportantModifier: F,
|
|
834
840
|
baseClassName: k,
|
|
835
841
|
maybePostfixModifierPosition: A
|
|
836
|
-
} = o(
|
|
842
|
+
} = o(p);
|
|
837
843
|
if (g) {
|
|
838
|
-
|
|
844
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
839
845
|
continue;
|
|
840
846
|
}
|
|
841
|
-
let
|
|
842
|
-
if (!
|
|
843
|
-
if (!
|
|
844
|
-
|
|
847
|
+
let N = !!A, z = r(N ? k.substring(0, A) : k);
|
|
848
|
+
if (!z) {
|
|
849
|
+
if (!N) {
|
|
850
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
845
851
|
continue;
|
|
846
852
|
}
|
|
847
|
-
if (
|
|
848
|
-
|
|
853
|
+
if (z = r(k), !z) {
|
|
854
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
849
855
|
continue;
|
|
850
856
|
}
|
|
851
|
-
|
|
857
|
+
N = !1;
|
|
852
858
|
}
|
|
853
|
-
const G = n(M).join(":"),
|
|
854
|
-
if (a.includes(
|
|
859
|
+
const G = n(M).join(":"), L = F ? G + ye : G, _ = L + z;
|
|
860
|
+
if (a.includes(_))
|
|
855
861
|
continue;
|
|
856
|
-
a.push(
|
|
857
|
-
const
|
|
858
|
-
for (let
|
|
859
|
-
const w =
|
|
860
|
-
a.push(
|
|
862
|
+
a.push(_);
|
|
863
|
+
const V = s(z, N);
|
|
864
|
+
for (let B = 0; B < V.length; ++B) {
|
|
865
|
+
const w = V[B];
|
|
866
|
+
a.push(L + w);
|
|
861
867
|
}
|
|
862
|
-
|
|
868
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
863
869
|
}
|
|
864
|
-
return
|
|
870
|
+
return l;
|
|
865
871
|
};
|
|
866
872
|
function Mt() {
|
|
867
|
-
let e = 0, t, o,
|
|
873
|
+
let e = 0, t, o, r = "";
|
|
868
874
|
for (; e < arguments.length; )
|
|
869
|
-
(t = arguments[e++]) && (o = $e(t)) && (
|
|
870
|
-
return
|
|
875
|
+
(t = arguments[e++]) && (o = $e(t)) && (r && (r += " "), r += o);
|
|
876
|
+
return r;
|
|
871
877
|
}
|
|
872
878
|
const $e = (e) => {
|
|
873
879
|
if (typeof e == "string")
|
|
874
880
|
return e;
|
|
875
881
|
let t, o = "";
|
|
876
|
-
for (let
|
|
877
|
-
e[
|
|
882
|
+
for (let r = 0; r < e.length; r++)
|
|
883
|
+
e[r] && (t = $e(e[r])) && (o && (o += " "), o += t);
|
|
878
884
|
return o;
|
|
879
885
|
};
|
|
880
886
|
function At(e, ...t) {
|
|
881
|
-
let o,
|
|
882
|
-
function a(
|
|
883
|
-
const
|
|
884
|
-
return o = It(
|
|
887
|
+
let o, r, s, n = a;
|
|
888
|
+
function a(l) {
|
|
889
|
+
const f = t.reduce((p, g) => g(p), e());
|
|
890
|
+
return o = It(f), r = o.cache.get, s = o.cache.set, n = i, i(l);
|
|
885
891
|
}
|
|
886
|
-
function i(
|
|
887
|
-
const
|
|
888
|
-
if (
|
|
889
|
-
return
|
|
890
|
-
const
|
|
891
|
-
return
|
|
892
|
+
function i(l) {
|
|
893
|
+
const f = r(l);
|
|
894
|
+
if (f)
|
|
895
|
+
return f;
|
|
896
|
+
const p = St(l, o);
|
|
897
|
+
return s(l, p), p;
|
|
892
898
|
}
|
|
893
899
|
return function() {
|
|
894
900
|
return n(Mt.apply(null, arguments));
|
|
@@ -897,19 +903,19 @@ function At(e, ...t) {
|
|
|
897
903
|
const T = (e) => {
|
|
898
904
|
const t = (o) => o[e] || [];
|
|
899
905
|
return t.isThemeGetter = !0, t;
|
|
900
|
-
}, Ge = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pt = /^\d+\/\d+$/,
|
|
906
|
+
}, Ge = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pt = /^\d+\/\d+$/, Ct = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Dt = /\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$/, Et = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ot = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => Pt.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && b(e.slice(0, -1)), $ = (e) => Ct.test(e), Lt = () => !0, Bt = (e) => (
|
|
901
907
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
902
908
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
903
909
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
904
|
-
|
|
905
|
-
), je = () => !1, Rt = (e) => Ot.test(e), Ft = (e) => zt.test(e), Nt = (e) => !u(e) && !d(e), _t = (e) => X(e, Ue, je), u = (e) => Ge.test(e), K = (e) => X(e, We, Bt), be = (e) => X(e, jt,
|
|
906
|
-
const
|
|
907
|
-
return
|
|
910
|
+
Dt.test(e) && !Et.test(e)
|
|
911
|
+
), je = () => !1, Rt = (e) => Ot.test(e), Ft = (e) => zt.test(e), Nt = (e) => !u(e) && !d(e), _t = (e) => X(e, Ue, je), u = (e) => Ge.test(e), K = (e) => X(e, We, Bt), be = (e) => X(e, jt, b), Be = (e) => X(e, Ke, je), Vt = (e) => X(e, He, Ft), le = (e) => X(e, qe, Rt), d = (e) => Ye.test(e), te = (e) => Z(e, We), $t = (e) => Z(e, Kt), Re = (e) => Z(e, Ke), Gt = (e) => Z(e, Ue), Yt = (e) => Z(e, He), ce = (e) => Z(e, qe, !0), X = (e, t, o) => {
|
|
912
|
+
const r = Ge.exec(e);
|
|
913
|
+
return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
|
|
908
914
|
}, Z = (e, t, o = !1) => {
|
|
909
|
-
const
|
|
910
|
-
return
|
|
915
|
+
const r = Ye.exec(e);
|
|
916
|
+
return r ? r[1] ? t(r[1]) : o : !1;
|
|
911
917
|
}, Ke = (e) => e === "position" || e === "percentage", He = (e) => e === "image" || e === "url", Ue = (e) => e === "length" || e === "size" || e === "bg-size", We = (e) => e === "length", jt = (e) => e === "number", Kt = (e) => e === "family-name", qe = (e) => e === "shadow", Ht = () => {
|
|
912
|
-
const e = T("color"), t = T("font"), o = T("text"),
|
|
918
|
+
const e = T("color"), t = T("font"), o = T("text"), r = T("font-weight"), s = T("tracking"), n = T("leading"), a = T("breakpoint"), i = T("container"), l = T("spacing"), f = T("radius"), p = T("shadow"), g = T("inset-shadow"), M = T("text-shadow"), F = T("drop-shadow"), k = T("blur"), A = T("perspective"), N = T("aspect"), z = T("ease"), G = T("animate"), L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
|
|
913
919
|
"center",
|
|
914
920
|
"top",
|
|
915
921
|
"bottom",
|
|
@@ -927,30 +933,30 @@ const T = (e) => {
|
|
|
927
933
|
"bottom-left",
|
|
928
934
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
929
935
|
"left-bottom"
|
|
930
|
-
],
|
|
936
|
+
], V = () => [..._(), d, u], B = () => ["auto", "hidden", "clip", "visible", "scroll"], w = () => ["auto", "contain", "none"], c = () => [d, u, l], v = () => [W, "full", "auto", ...c()], O = () => [Y, "none", "subgrid", d, u], Q = () => ["auto", {
|
|
931
937
|
span: ["full", Y, d, u]
|
|
932
|
-
}, Y, d, u], j = () => [Y, "auto", d, u], ee = () => ["auto", "min", "max", "fr", d, u],
|
|
938
|
+
}, Y, d, u], j = () => [Y, "auto", d, u], ee = () => ["auto", "min", "max", "fr", d, u], h = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], I = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], x = () => ["auto", ...c()], P = () => [W, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...c()], m = () => [e, d, u], U = () => [..._(), Re, Be, {
|
|
933
939
|
position: [d, u]
|
|
934
|
-
}],
|
|
940
|
+
}], R = () => ["no-repeat", {
|
|
935
941
|
repeat: ["", "x", "y", "space", "round"]
|
|
936
942
|
}], Se = () => ["auto", "cover", "contain", Gt, _t, {
|
|
937
943
|
size: [d, u]
|
|
938
|
-
}], de = () => [he, te, K],
|
|
944
|
+
}], de = () => [he, te, K], C = () => [
|
|
939
945
|
// Deprecated since Tailwind CSS v4.0.0
|
|
940
946
|
"",
|
|
941
947
|
"none",
|
|
942
948
|
"full",
|
|
943
|
-
|
|
949
|
+
f,
|
|
944
950
|
d,
|
|
945
951
|
u
|
|
946
|
-
],
|
|
952
|
+
], D = () => ["", b, te, K], re = () => ["solid", "dashed", "dotted", "double"], Me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], S = () => [b, he, Re, Be], Ae = () => [
|
|
947
953
|
// Deprecated since Tailwind CSS v4.0.0
|
|
948
954
|
"",
|
|
949
955
|
"none",
|
|
950
956
|
k,
|
|
951
957
|
d,
|
|
952
958
|
u
|
|
953
|
-
], ne = () => ["none",
|
|
959
|
+
], ne = () => ["none", b, d, u], ae = () => ["none", b, d, u], me = () => [b, d, u], ie = () => [W, "full", ...c()];
|
|
954
960
|
return {
|
|
955
961
|
cacheSize: 500,
|
|
956
962
|
theme: {
|
|
@@ -969,7 +975,7 @@ const T = (e) => {
|
|
|
969
975
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
970
976
|
radius: [$],
|
|
971
977
|
shadow: [$],
|
|
972
|
-
spacing: ["px",
|
|
978
|
+
spacing: ["px", b],
|
|
973
979
|
text: [$],
|
|
974
980
|
"text-shadow": [$],
|
|
975
981
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -983,7 +989,7 @@ const T = (e) => {
|
|
|
983
989
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
984
990
|
*/
|
|
985
991
|
aspect: [{
|
|
986
|
-
aspect: ["auto", "square", W, u, d,
|
|
992
|
+
aspect: ["auto", "square", W, u, d, N]
|
|
987
993
|
}],
|
|
988
994
|
/**
|
|
989
995
|
* Container
|
|
@@ -996,21 +1002,21 @@ const T = (e) => {
|
|
|
996
1002
|
* @see https://tailwindcss.com/docs/columns
|
|
997
1003
|
*/
|
|
998
1004
|
columns: [{
|
|
999
|
-
columns: [
|
|
1005
|
+
columns: [b, u, d, i]
|
|
1000
1006
|
}],
|
|
1001
1007
|
/**
|
|
1002
1008
|
* Break After
|
|
1003
1009
|
* @see https://tailwindcss.com/docs/break-after
|
|
1004
1010
|
*/
|
|
1005
1011
|
"break-after": [{
|
|
1006
|
-
"break-after":
|
|
1012
|
+
"break-after": L()
|
|
1007
1013
|
}],
|
|
1008
1014
|
/**
|
|
1009
1015
|
* Break Before
|
|
1010
1016
|
* @see https://tailwindcss.com/docs/break-before
|
|
1011
1017
|
*/
|
|
1012
1018
|
"break-before": [{
|
|
1013
|
-
"break-before":
|
|
1019
|
+
"break-before": L()
|
|
1014
1020
|
}],
|
|
1015
1021
|
/**
|
|
1016
1022
|
* Break Inside
|
|
@@ -1074,28 +1080,28 @@ const T = (e) => {
|
|
|
1074
1080
|
* @see https://tailwindcss.com/docs/object-position
|
|
1075
1081
|
*/
|
|
1076
1082
|
"object-position": [{
|
|
1077
|
-
object:
|
|
1083
|
+
object: V()
|
|
1078
1084
|
}],
|
|
1079
1085
|
/**
|
|
1080
1086
|
* Overflow
|
|
1081
1087
|
* @see https://tailwindcss.com/docs/overflow
|
|
1082
1088
|
*/
|
|
1083
1089
|
overflow: [{
|
|
1084
|
-
overflow:
|
|
1090
|
+
overflow: B()
|
|
1085
1091
|
}],
|
|
1086
1092
|
/**
|
|
1087
1093
|
* Overflow X
|
|
1088
1094
|
* @see https://tailwindcss.com/docs/overflow
|
|
1089
1095
|
*/
|
|
1090
1096
|
"overflow-x": [{
|
|
1091
|
-
"overflow-x":
|
|
1097
|
+
"overflow-x": B()
|
|
1092
1098
|
}],
|
|
1093
1099
|
/**
|
|
1094
1100
|
* Overflow Y
|
|
1095
1101
|
* @see https://tailwindcss.com/docs/overflow
|
|
1096
1102
|
*/
|
|
1097
1103
|
"overflow-y": [{
|
|
1098
|
-
"overflow-y":
|
|
1104
|
+
"overflow-y": B()
|
|
1099
1105
|
}],
|
|
1100
1106
|
/**
|
|
1101
1107
|
* Overscroll Behavior
|
|
@@ -1206,7 +1212,7 @@ const T = (e) => {
|
|
|
1206
1212
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1207
1213
|
*/
|
|
1208
1214
|
basis: [{
|
|
1209
|
-
basis: [W, "full", "auto", i, ...
|
|
1215
|
+
basis: [W, "full", "auto", i, ...c()]
|
|
1210
1216
|
}],
|
|
1211
1217
|
/**
|
|
1212
1218
|
* Flex Direction
|
|
@@ -1227,21 +1233,21 @@ const T = (e) => {
|
|
|
1227
1233
|
* @see https://tailwindcss.com/docs/flex
|
|
1228
1234
|
*/
|
|
1229
1235
|
flex: [{
|
|
1230
|
-
flex: [
|
|
1236
|
+
flex: [b, W, "auto", "initial", "none", u]
|
|
1231
1237
|
}],
|
|
1232
1238
|
/**
|
|
1233
1239
|
* Flex Grow
|
|
1234
1240
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1235
1241
|
*/
|
|
1236
1242
|
grow: [{
|
|
1237
|
-
grow: ["",
|
|
1243
|
+
grow: ["", b, d, u]
|
|
1238
1244
|
}],
|
|
1239
1245
|
/**
|
|
1240
1246
|
* Flex Shrink
|
|
1241
1247
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1242
1248
|
*/
|
|
1243
1249
|
shrink: [{
|
|
1244
|
-
shrink: ["",
|
|
1250
|
+
shrink: ["", b, d, u]
|
|
1245
1251
|
}],
|
|
1246
1252
|
/**
|
|
1247
1253
|
* Order
|
|
@@ -1255,7 +1261,7 @@ const T = (e) => {
|
|
|
1255
1261
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1256
1262
|
*/
|
|
1257
1263
|
"grid-cols": [{
|
|
1258
|
-
"grid-cols":
|
|
1264
|
+
"grid-cols": O()
|
|
1259
1265
|
}],
|
|
1260
1266
|
/**
|
|
1261
1267
|
* Grid Column Start / End
|
|
@@ -1283,7 +1289,7 @@ const T = (e) => {
|
|
|
1283
1289
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1284
1290
|
*/
|
|
1285
1291
|
"grid-rows": [{
|
|
1286
|
-
"grid-rows":
|
|
1292
|
+
"grid-rows": O()
|
|
1287
1293
|
}],
|
|
1288
1294
|
/**
|
|
1289
1295
|
* Grid Row Start / End
|
|
@@ -1332,28 +1338,28 @@ const T = (e) => {
|
|
|
1332
1338
|
* @see https://tailwindcss.com/docs/gap
|
|
1333
1339
|
*/
|
|
1334
1340
|
gap: [{
|
|
1335
|
-
gap:
|
|
1341
|
+
gap: c()
|
|
1336
1342
|
}],
|
|
1337
1343
|
/**
|
|
1338
1344
|
* Gap X
|
|
1339
1345
|
* @see https://tailwindcss.com/docs/gap
|
|
1340
1346
|
*/
|
|
1341
1347
|
"gap-x": [{
|
|
1342
|
-
"gap-x":
|
|
1348
|
+
"gap-x": c()
|
|
1343
1349
|
}],
|
|
1344
1350
|
/**
|
|
1345
1351
|
* Gap Y
|
|
1346
1352
|
* @see https://tailwindcss.com/docs/gap
|
|
1347
1353
|
*/
|
|
1348
1354
|
"gap-y": [{
|
|
1349
|
-
"gap-y":
|
|
1355
|
+
"gap-y": c()
|
|
1350
1356
|
}],
|
|
1351
1357
|
/**
|
|
1352
1358
|
* Justify Content
|
|
1353
1359
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1354
1360
|
*/
|
|
1355
1361
|
"justify-content": [{
|
|
1356
|
-
justify: [...
|
|
1362
|
+
justify: [...h(), "normal"]
|
|
1357
1363
|
}],
|
|
1358
1364
|
/**
|
|
1359
1365
|
* Justify Items
|
|
@@ -1374,7 +1380,7 @@ const T = (e) => {
|
|
|
1374
1380
|
* @see https://tailwindcss.com/docs/align-content
|
|
1375
1381
|
*/
|
|
1376
1382
|
"align-content": [{
|
|
1377
|
-
content: ["normal", ...
|
|
1383
|
+
content: ["normal", ...h()]
|
|
1378
1384
|
}],
|
|
1379
1385
|
/**
|
|
1380
1386
|
* Align Items
|
|
@@ -1399,7 +1405,7 @@ const T = (e) => {
|
|
|
1399
1405
|
* @see https://tailwindcss.com/docs/place-content
|
|
1400
1406
|
*/
|
|
1401
1407
|
"place-content": [{
|
|
1402
|
-
"place-content":
|
|
1408
|
+
"place-content": h()
|
|
1403
1409
|
}],
|
|
1404
1410
|
/**
|
|
1405
1411
|
* Place Items
|
|
@@ -1421,63 +1427,63 @@ const T = (e) => {
|
|
|
1421
1427
|
* @see https://tailwindcss.com/docs/padding
|
|
1422
1428
|
*/
|
|
1423
1429
|
p: [{
|
|
1424
|
-
p:
|
|
1430
|
+
p: c()
|
|
1425
1431
|
}],
|
|
1426
1432
|
/**
|
|
1427
1433
|
* Padding X
|
|
1428
1434
|
* @see https://tailwindcss.com/docs/padding
|
|
1429
1435
|
*/
|
|
1430
1436
|
px: [{
|
|
1431
|
-
px:
|
|
1437
|
+
px: c()
|
|
1432
1438
|
}],
|
|
1433
1439
|
/**
|
|
1434
1440
|
* Padding Y
|
|
1435
1441
|
* @see https://tailwindcss.com/docs/padding
|
|
1436
1442
|
*/
|
|
1437
1443
|
py: [{
|
|
1438
|
-
py:
|
|
1444
|
+
py: c()
|
|
1439
1445
|
}],
|
|
1440
1446
|
/**
|
|
1441
1447
|
* Padding Start
|
|
1442
1448
|
* @see https://tailwindcss.com/docs/padding
|
|
1443
1449
|
*/
|
|
1444
1450
|
ps: [{
|
|
1445
|
-
ps:
|
|
1451
|
+
ps: c()
|
|
1446
1452
|
}],
|
|
1447
1453
|
/**
|
|
1448
1454
|
* Padding End
|
|
1449
1455
|
* @see https://tailwindcss.com/docs/padding
|
|
1450
1456
|
*/
|
|
1451
1457
|
pe: [{
|
|
1452
|
-
pe:
|
|
1458
|
+
pe: c()
|
|
1453
1459
|
}],
|
|
1454
1460
|
/**
|
|
1455
1461
|
* Padding Top
|
|
1456
1462
|
* @see https://tailwindcss.com/docs/padding
|
|
1457
1463
|
*/
|
|
1458
1464
|
pt: [{
|
|
1459
|
-
pt:
|
|
1465
|
+
pt: c()
|
|
1460
1466
|
}],
|
|
1461
1467
|
/**
|
|
1462
1468
|
* Padding Right
|
|
1463
1469
|
* @see https://tailwindcss.com/docs/padding
|
|
1464
1470
|
*/
|
|
1465
1471
|
pr: [{
|
|
1466
|
-
pr:
|
|
1472
|
+
pr: c()
|
|
1467
1473
|
}],
|
|
1468
1474
|
/**
|
|
1469
1475
|
* Padding Bottom
|
|
1470
1476
|
* @see https://tailwindcss.com/docs/padding
|
|
1471
1477
|
*/
|
|
1472
1478
|
pb: [{
|
|
1473
|
-
pb:
|
|
1479
|
+
pb: c()
|
|
1474
1480
|
}],
|
|
1475
1481
|
/**
|
|
1476
1482
|
* Padding Left
|
|
1477
1483
|
* @see https://tailwindcss.com/docs/padding
|
|
1478
1484
|
*/
|
|
1479
1485
|
pl: [{
|
|
1480
|
-
pl:
|
|
1486
|
+
pl: c()
|
|
1481
1487
|
}],
|
|
1482
1488
|
/**
|
|
1483
1489
|
* Margin
|
|
@@ -1547,7 +1553,7 @@ const T = (e) => {
|
|
|
1547
1553
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1548
1554
|
*/
|
|
1549
1555
|
"space-x": [{
|
|
1550
|
-
"space-x":
|
|
1556
|
+
"space-x": c()
|
|
1551
1557
|
}],
|
|
1552
1558
|
/**
|
|
1553
1559
|
* Space Between X Reverse
|
|
@@ -1559,7 +1565,7 @@ const T = (e) => {
|
|
|
1559
1565
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1560
1566
|
*/
|
|
1561
1567
|
"space-y": [{
|
|
1562
|
-
"space-y":
|
|
1568
|
+
"space-y": c()
|
|
1563
1569
|
}],
|
|
1564
1570
|
/**
|
|
1565
1571
|
* Space Between Y Reverse
|
|
@@ -1660,7 +1666,7 @@ const T = (e) => {
|
|
|
1660
1666
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1661
1667
|
*/
|
|
1662
1668
|
"font-weight": [{
|
|
1663
|
-
font: [
|
|
1669
|
+
font: [r, d, be]
|
|
1664
1670
|
}],
|
|
1665
1671
|
/**
|
|
1666
1672
|
* Font Stretch
|
|
@@ -1711,14 +1717,14 @@ const T = (e) => {
|
|
|
1711
1717
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1712
1718
|
*/
|
|
1713
1719
|
tracking: [{
|
|
1714
|
-
tracking: [
|
|
1720
|
+
tracking: [s, d, u]
|
|
1715
1721
|
}],
|
|
1716
1722
|
/**
|
|
1717
1723
|
* Line Clamp
|
|
1718
1724
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1719
1725
|
*/
|
|
1720
1726
|
"line-clamp": [{
|
|
1721
|
-
"line-clamp": [
|
|
1727
|
+
"line-clamp": [b, "none", d, be]
|
|
1722
1728
|
}],
|
|
1723
1729
|
/**
|
|
1724
1730
|
* Line Height
|
|
@@ -1728,7 +1734,7 @@ const T = (e) => {
|
|
|
1728
1734
|
leading: [
|
|
1729
1735
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1730
1736
|
n,
|
|
1731
|
-
...
|
|
1737
|
+
...c()
|
|
1732
1738
|
]
|
|
1733
1739
|
}],
|
|
1734
1740
|
/**
|
|
@@ -1791,7 +1797,7 @@ const T = (e) => {
|
|
|
1791
1797
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1792
1798
|
*/
|
|
1793
1799
|
"text-decoration-thickness": [{
|
|
1794
|
-
decoration: [
|
|
1800
|
+
decoration: [b, "from-font", "auto", d, K]
|
|
1795
1801
|
}],
|
|
1796
1802
|
/**
|
|
1797
1803
|
* Text Decoration Color
|
|
@@ -1805,7 +1811,7 @@ const T = (e) => {
|
|
|
1805
1811
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1806
1812
|
*/
|
|
1807
1813
|
"underline-offset": [{
|
|
1808
|
-
"underline-offset": [
|
|
1814
|
+
"underline-offset": [b, "auto", d, u]
|
|
1809
1815
|
}],
|
|
1810
1816
|
/**
|
|
1811
1817
|
* Text Transform
|
|
@@ -1829,7 +1835,7 @@ const T = (e) => {
|
|
|
1829
1835
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1830
1836
|
*/
|
|
1831
1837
|
indent: [{
|
|
1832
|
-
indent:
|
|
1838
|
+
indent: c()
|
|
1833
1839
|
}],
|
|
1834
1840
|
/**
|
|
1835
1841
|
* Vertical Alignment
|
|
@@ -1909,7 +1915,7 @@ const T = (e) => {
|
|
|
1909
1915
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1910
1916
|
*/
|
|
1911
1917
|
"bg-repeat": [{
|
|
1912
|
-
bg:
|
|
1918
|
+
bg: R()
|
|
1913
1919
|
}],
|
|
1914
1920
|
/**
|
|
1915
1921
|
* Background Size
|
|
@@ -1988,175 +1994,175 @@ const T = (e) => {
|
|
|
1988
1994
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1989
1995
|
*/
|
|
1990
1996
|
rounded: [{
|
|
1991
|
-
rounded:
|
|
1997
|
+
rounded: C()
|
|
1992
1998
|
}],
|
|
1993
1999
|
/**
|
|
1994
2000
|
* Border Radius Start
|
|
1995
2001
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1996
2002
|
*/
|
|
1997
2003
|
"rounded-s": [{
|
|
1998
|
-
"rounded-s":
|
|
2004
|
+
"rounded-s": C()
|
|
1999
2005
|
}],
|
|
2000
2006
|
/**
|
|
2001
2007
|
* Border Radius End
|
|
2002
2008
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2003
2009
|
*/
|
|
2004
2010
|
"rounded-e": [{
|
|
2005
|
-
"rounded-e":
|
|
2011
|
+
"rounded-e": C()
|
|
2006
2012
|
}],
|
|
2007
2013
|
/**
|
|
2008
2014
|
* Border Radius Top
|
|
2009
2015
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2010
2016
|
*/
|
|
2011
2017
|
"rounded-t": [{
|
|
2012
|
-
"rounded-t":
|
|
2018
|
+
"rounded-t": C()
|
|
2013
2019
|
}],
|
|
2014
2020
|
/**
|
|
2015
2021
|
* Border Radius Right
|
|
2016
2022
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2017
2023
|
*/
|
|
2018
2024
|
"rounded-r": [{
|
|
2019
|
-
"rounded-r":
|
|
2025
|
+
"rounded-r": C()
|
|
2020
2026
|
}],
|
|
2021
2027
|
/**
|
|
2022
2028
|
* Border Radius Bottom
|
|
2023
2029
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2024
2030
|
*/
|
|
2025
2031
|
"rounded-b": [{
|
|
2026
|
-
"rounded-b":
|
|
2032
|
+
"rounded-b": C()
|
|
2027
2033
|
}],
|
|
2028
2034
|
/**
|
|
2029
2035
|
* Border Radius Left
|
|
2030
2036
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2031
2037
|
*/
|
|
2032
2038
|
"rounded-l": [{
|
|
2033
|
-
"rounded-l":
|
|
2039
|
+
"rounded-l": C()
|
|
2034
2040
|
}],
|
|
2035
2041
|
/**
|
|
2036
2042
|
* Border Radius Start Start
|
|
2037
2043
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2038
2044
|
*/
|
|
2039
2045
|
"rounded-ss": [{
|
|
2040
|
-
"rounded-ss":
|
|
2046
|
+
"rounded-ss": C()
|
|
2041
2047
|
}],
|
|
2042
2048
|
/**
|
|
2043
2049
|
* Border Radius Start End
|
|
2044
2050
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2045
2051
|
*/
|
|
2046
2052
|
"rounded-se": [{
|
|
2047
|
-
"rounded-se":
|
|
2053
|
+
"rounded-se": C()
|
|
2048
2054
|
}],
|
|
2049
2055
|
/**
|
|
2050
2056
|
* Border Radius End End
|
|
2051
2057
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2052
2058
|
*/
|
|
2053
2059
|
"rounded-ee": [{
|
|
2054
|
-
"rounded-ee":
|
|
2060
|
+
"rounded-ee": C()
|
|
2055
2061
|
}],
|
|
2056
2062
|
/**
|
|
2057
2063
|
* Border Radius End Start
|
|
2058
2064
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2059
2065
|
*/
|
|
2060
2066
|
"rounded-es": [{
|
|
2061
|
-
"rounded-es":
|
|
2067
|
+
"rounded-es": C()
|
|
2062
2068
|
}],
|
|
2063
2069
|
/**
|
|
2064
2070
|
* Border Radius Top Left
|
|
2065
2071
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2066
2072
|
*/
|
|
2067
2073
|
"rounded-tl": [{
|
|
2068
|
-
"rounded-tl":
|
|
2074
|
+
"rounded-tl": C()
|
|
2069
2075
|
}],
|
|
2070
2076
|
/**
|
|
2071
2077
|
* Border Radius Top Right
|
|
2072
2078
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2073
2079
|
*/
|
|
2074
2080
|
"rounded-tr": [{
|
|
2075
|
-
"rounded-tr":
|
|
2081
|
+
"rounded-tr": C()
|
|
2076
2082
|
}],
|
|
2077
2083
|
/**
|
|
2078
2084
|
* Border Radius Bottom Right
|
|
2079
2085
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2080
2086
|
*/
|
|
2081
2087
|
"rounded-br": [{
|
|
2082
|
-
"rounded-br":
|
|
2088
|
+
"rounded-br": C()
|
|
2083
2089
|
}],
|
|
2084
2090
|
/**
|
|
2085
2091
|
* Border Radius Bottom Left
|
|
2086
2092
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2087
2093
|
*/
|
|
2088
2094
|
"rounded-bl": [{
|
|
2089
|
-
"rounded-bl":
|
|
2095
|
+
"rounded-bl": C()
|
|
2090
2096
|
}],
|
|
2091
2097
|
/**
|
|
2092
2098
|
* Border Width
|
|
2093
2099
|
* @see https://tailwindcss.com/docs/border-width
|
|
2094
2100
|
*/
|
|
2095
2101
|
"border-w": [{
|
|
2096
|
-
border:
|
|
2102
|
+
border: D()
|
|
2097
2103
|
}],
|
|
2098
2104
|
/**
|
|
2099
2105
|
* Border Width X
|
|
2100
2106
|
* @see https://tailwindcss.com/docs/border-width
|
|
2101
2107
|
*/
|
|
2102
2108
|
"border-w-x": [{
|
|
2103
|
-
"border-x":
|
|
2109
|
+
"border-x": D()
|
|
2104
2110
|
}],
|
|
2105
2111
|
/**
|
|
2106
2112
|
* Border Width Y
|
|
2107
2113
|
* @see https://tailwindcss.com/docs/border-width
|
|
2108
2114
|
*/
|
|
2109
2115
|
"border-w-y": [{
|
|
2110
|
-
"border-y":
|
|
2116
|
+
"border-y": D()
|
|
2111
2117
|
}],
|
|
2112
2118
|
/**
|
|
2113
2119
|
* Border Width Start
|
|
2114
2120
|
* @see https://tailwindcss.com/docs/border-width
|
|
2115
2121
|
*/
|
|
2116
2122
|
"border-w-s": [{
|
|
2117
|
-
"border-s":
|
|
2123
|
+
"border-s": D()
|
|
2118
2124
|
}],
|
|
2119
2125
|
/**
|
|
2120
2126
|
* Border Width End
|
|
2121
2127
|
* @see https://tailwindcss.com/docs/border-width
|
|
2122
2128
|
*/
|
|
2123
2129
|
"border-w-e": [{
|
|
2124
|
-
"border-e":
|
|
2130
|
+
"border-e": D()
|
|
2125
2131
|
}],
|
|
2126
2132
|
/**
|
|
2127
2133
|
* Border Width Top
|
|
2128
2134
|
* @see https://tailwindcss.com/docs/border-width
|
|
2129
2135
|
*/
|
|
2130
2136
|
"border-w-t": [{
|
|
2131
|
-
"border-t":
|
|
2137
|
+
"border-t": D()
|
|
2132
2138
|
}],
|
|
2133
2139
|
/**
|
|
2134
2140
|
* Border Width Right
|
|
2135
2141
|
* @see https://tailwindcss.com/docs/border-width
|
|
2136
2142
|
*/
|
|
2137
2143
|
"border-w-r": [{
|
|
2138
|
-
"border-r":
|
|
2144
|
+
"border-r": D()
|
|
2139
2145
|
}],
|
|
2140
2146
|
/**
|
|
2141
2147
|
* Border Width Bottom
|
|
2142
2148
|
* @see https://tailwindcss.com/docs/border-width
|
|
2143
2149
|
*/
|
|
2144
2150
|
"border-w-b": [{
|
|
2145
|
-
"border-b":
|
|
2151
|
+
"border-b": D()
|
|
2146
2152
|
}],
|
|
2147
2153
|
/**
|
|
2148
2154
|
* Border Width Left
|
|
2149
2155
|
* @see https://tailwindcss.com/docs/border-width
|
|
2150
2156
|
*/
|
|
2151
2157
|
"border-w-l": [{
|
|
2152
|
-
"border-l":
|
|
2158
|
+
"border-l": D()
|
|
2153
2159
|
}],
|
|
2154
2160
|
/**
|
|
2155
2161
|
* Divide Width X
|
|
2156
2162
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2157
2163
|
*/
|
|
2158
2164
|
"divide-x": [{
|
|
2159
|
-
"divide-x":
|
|
2165
|
+
"divide-x": D()
|
|
2160
2166
|
}],
|
|
2161
2167
|
/**
|
|
2162
2168
|
* Divide Width X Reverse
|
|
@@ -2168,7 +2174,7 @@ const T = (e) => {
|
|
|
2168
2174
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2169
2175
|
*/
|
|
2170
2176
|
"divide-y": [{
|
|
2171
|
-
"divide-y":
|
|
2177
|
+
"divide-y": D()
|
|
2172
2178
|
}],
|
|
2173
2179
|
/**
|
|
2174
2180
|
* Divide Width Y Reverse
|
|
@@ -2271,14 +2277,14 @@ const T = (e) => {
|
|
|
2271
2277
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2272
2278
|
*/
|
|
2273
2279
|
"outline-offset": [{
|
|
2274
|
-
"outline-offset": [
|
|
2280
|
+
"outline-offset": [b, d, u]
|
|
2275
2281
|
}],
|
|
2276
2282
|
/**
|
|
2277
2283
|
* Outline Width
|
|
2278
2284
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2279
2285
|
*/
|
|
2280
2286
|
"outline-w": [{
|
|
2281
|
-
outline: ["",
|
|
2287
|
+
outline: ["", b, te, K]
|
|
2282
2288
|
}],
|
|
2283
2289
|
/**
|
|
2284
2290
|
* Outline Color
|
|
@@ -2299,7 +2305,7 @@ const T = (e) => {
|
|
|
2299
2305
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2300
2306
|
"",
|
|
2301
2307
|
"none",
|
|
2302
|
-
|
|
2308
|
+
p,
|
|
2303
2309
|
ce,
|
|
2304
2310
|
le
|
|
2305
2311
|
]
|
|
@@ -2330,7 +2336,7 @@ const T = (e) => {
|
|
|
2330
2336
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2331
2337
|
*/
|
|
2332
2338
|
"ring-w": [{
|
|
2333
|
-
ring:
|
|
2339
|
+
ring: D()
|
|
2334
2340
|
}],
|
|
2335
2341
|
/**
|
|
2336
2342
|
* Ring Width Inset
|
|
@@ -2353,7 +2359,7 @@ const T = (e) => {
|
|
|
2353
2359
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2354
2360
|
*/
|
|
2355
2361
|
"ring-offset-w": [{
|
|
2356
|
-
"ring-offset": [
|
|
2362
|
+
"ring-offset": [b, K]
|
|
2357
2363
|
}],
|
|
2358
2364
|
/**
|
|
2359
2365
|
* Ring Offset Color
|
|
@@ -2369,7 +2375,7 @@ const T = (e) => {
|
|
|
2369
2375
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2370
2376
|
*/
|
|
2371
2377
|
"inset-ring-w": [{
|
|
2372
|
-
"inset-ring":
|
|
2378
|
+
"inset-ring": D()
|
|
2373
2379
|
}],
|
|
2374
2380
|
/**
|
|
2375
2381
|
* Inset Ring Color
|
|
@@ -2397,7 +2403,7 @@ const T = (e) => {
|
|
|
2397
2403
|
* @see https://tailwindcss.com/docs/opacity
|
|
2398
2404
|
*/
|
|
2399
2405
|
opacity: [{
|
|
2400
|
-
opacity: [
|
|
2406
|
+
opacity: [b, d, u]
|
|
2401
2407
|
}],
|
|
2402
2408
|
/**
|
|
2403
2409
|
* Mix Blend Mode
|
|
@@ -2432,7 +2438,7 @@ const T = (e) => {
|
|
|
2432
2438
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2433
2439
|
*/
|
|
2434
2440
|
"mask-image-linear-pos": [{
|
|
2435
|
-
"mask-linear": [
|
|
2441
|
+
"mask-linear": [b]
|
|
2436
2442
|
}],
|
|
2437
2443
|
"mask-image-linear-from-pos": [{
|
|
2438
2444
|
"mask-linear-from": S()
|
|
@@ -2543,10 +2549,10 @@ const T = (e) => {
|
|
|
2543
2549
|
}]
|
|
2544
2550
|
}],
|
|
2545
2551
|
"mask-image-radial-pos": [{
|
|
2546
|
-
"mask-radial-at":
|
|
2552
|
+
"mask-radial-at": _()
|
|
2547
2553
|
}],
|
|
2548
2554
|
"mask-image-conic-pos": [{
|
|
2549
|
-
"mask-conic": [
|
|
2555
|
+
"mask-conic": [b]
|
|
2550
2556
|
}],
|
|
2551
2557
|
"mask-image-conic-from-pos": [{
|
|
2552
2558
|
"mask-conic-from": S()
|
|
@@ -2586,7 +2592,7 @@ const T = (e) => {
|
|
|
2586
2592
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2587
2593
|
*/
|
|
2588
2594
|
"mask-repeat": [{
|
|
2589
|
-
mask:
|
|
2595
|
+
mask: R()
|
|
2590
2596
|
}],
|
|
2591
2597
|
/**
|
|
2592
2598
|
* Mask Size
|
|
@@ -2637,14 +2643,14 @@ const T = (e) => {
|
|
|
2637
2643
|
* @see https://tailwindcss.com/docs/brightness
|
|
2638
2644
|
*/
|
|
2639
2645
|
brightness: [{
|
|
2640
|
-
brightness: [
|
|
2646
|
+
brightness: [b, d, u]
|
|
2641
2647
|
}],
|
|
2642
2648
|
/**
|
|
2643
2649
|
* Contrast
|
|
2644
2650
|
* @see https://tailwindcss.com/docs/contrast
|
|
2645
2651
|
*/
|
|
2646
2652
|
contrast: [{
|
|
2647
|
-
contrast: [
|
|
2653
|
+
contrast: [b, d, u]
|
|
2648
2654
|
}],
|
|
2649
2655
|
/**
|
|
2650
2656
|
* Drop Shadow
|
|
@@ -2655,7 +2661,7 @@ const T = (e) => {
|
|
|
2655
2661
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2656
2662
|
"",
|
|
2657
2663
|
"none",
|
|
2658
|
-
|
|
2664
|
+
F,
|
|
2659
2665
|
ce,
|
|
2660
2666
|
le
|
|
2661
2667
|
]
|
|
@@ -2672,35 +2678,35 @@ const T = (e) => {
|
|
|
2672
2678
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2673
2679
|
*/
|
|
2674
2680
|
grayscale: [{
|
|
2675
|
-
grayscale: ["",
|
|
2681
|
+
grayscale: ["", b, d, u]
|
|
2676
2682
|
}],
|
|
2677
2683
|
/**
|
|
2678
2684
|
* Hue Rotate
|
|
2679
2685
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2680
2686
|
*/
|
|
2681
2687
|
"hue-rotate": [{
|
|
2682
|
-
"hue-rotate": [
|
|
2688
|
+
"hue-rotate": [b, d, u]
|
|
2683
2689
|
}],
|
|
2684
2690
|
/**
|
|
2685
2691
|
* Invert
|
|
2686
2692
|
* @see https://tailwindcss.com/docs/invert
|
|
2687
2693
|
*/
|
|
2688
2694
|
invert: [{
|
|
2689
|
-
invert: ["",
|
|
2695
|
+
invert: ["", b, d, u]
|
|
2690
2696
|
}],
|
|
2691
2697
|
/**
|
|
2692
2698
|
* Saturate
|
|
2693
2699
|
* @see https://tailwindcss.com/docs/saturate
|
|
2694
2700
|
*/
|
|
2695
2701
|
saturate: [{
|
|
2696
|
-
saturate: [
|
|
2702
|
+
saturate: [b, d, u]
|
|
2697
2703
|
}],
|
|
2698
2704
|
/**
|
|
2699
2705
|
* Sepia
|
|
2700
2706
|
* @see https://tailwindcss.com/docs/sepia
|
|
2701
2707
|
*/
|
|
2702
2708
|
sepia: [{
|
|
2703
|
-
sepia: ["",
|
|
2709
|
+
sepia: ["", b, d, u]
|
|
2704
2710
|
}],
|
|
2705
2711
|
/**
|
|
2706
2712
|
* Backdrop Filter
|
|
@@ -2727,56 +2733,56 @@ const T = (e) => {
|
|
|
2727
2733
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2728
2734
|
*/
|
|
2729
2735
|
"backdrop-brightness": [{
|
|
2730
|
-
"backdrop-brightness": [
|
|
2736
|
+
"backdrop-brightness": [b, d, u]
|
|
2731
2737
|
}],
|
|
2732
2738
|
/**
|
|
2733
2739
|
* Backdrop Contrast
|
|
2734
2740
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2735
2741
|
*/
|
|
2736
2742
|
"backdrop-contrast": [{
|
|
2737
|
-
"backdrop-contrast": [
|
|
2743
|
+
"backdrop-contrast": [b, d, u]
|
|
2738
2744
|
}],
|
|
2739
2745
|
/**
|
|
2740
2746
|
* Backdrop Grayscale
|
|
2741
2747
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2742
2748
|
*/
|
|
2743
2749
|
"backdrop-grayscale": [{
|
|
2744
|
-
"backdrop-grayscale": ["",
|
|
2750
|
+
"backdrop-grayscale": ["", b, d, u]
|
|
2745
2751
|
}],
|
|
2746
2752
|
/**
|
|
2747
2753
|
* Backdrop Hue Rotate
|
|
2748
2754
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2749
2755
|
*/
|
|
2750
2756
|
"backdrop-hue-rotate": [{
|
|
2751
|
-
"backdrop-hue-rotate": [
|
|
2757
|
+
"backdrop-hue-rotate": [b, d, u]
|
|
2752
2758
|
}],
|
|
2753
2759
|
/**
|
|
2754
2760
|
* Backdrop Invert
|
|
2755
2761
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2756
2762
|
*/
|
|
2757
2763
|
"backdrop-invert": [{
|
|
2758
|
-
"backdrop-invert": ["",
|
|
2764
|
+
"backdrop-invert": ["", b, d, u]
|
|
2759
2765
|
}],
|
|
2760
2766
|
/**
|
|
2761
2767
|
* Backdrop Opacity
|
|
2762
2768
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2763
2769
|
*/
|
|
2764
2770
|
"backdrop-opacity": [{
|
|
2765
|
-
"backdrop-opacity": [
|
|
2771
|
+
"backdrop-opacity": [b, d, u]
|
|
2766
2772
|
}],
|
|
2767
2773
|
/**
|
|
2768
2774
|
* Backdrop Saturate
|
|
2769
2775
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2770
2776
|
*/
|
|
2771
2777
|
"backdrop-saturate": [{
|
|
2772
|
-
"backdrop-saturate": [
|
|
2778
|
+
"backdrop-saturate": [b, d, u]
|
|
2773
2779
|
}],
|
|
2774
2780
|
/**
|
|
2775
2781
|
* Backdrop Sepia
|
|
2776
2782
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2777
2783
|
*/
|
|
2778
2784
|
"backdrop-sepia": [{
|
|
2779
|
-
"backdrop-sepia": ["",
|
|
2785
|
+
"backdrop-sepia": ["", b, d, u]
|
|
2780
2786
|
}],
|
|
2781
2787
|
// --------------
|
|
2782
2788
|
// --- Tables ---
|
|
@@ -2793,21 +2799,21 @@ const T = (e) => {
|
|
|
2793
2799
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2794
2800
|
*/
|
|
2795
2801
|
"border-spacing": [{
|
|
2796
|
-
"border-spacing":
|
|
2802
|
+
"border-spacing": c()
|
|
2797
2803
|
}],
|
|
2798
2804
|
/**
|
|
2799
2805
|
* Border Spacing X
|
|
2800
2806
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2801
2807
|
*/
|
|
2802
2808
|
"border-spacing-x": [{
|
|
2803
|
-
"border-spacing-x":
|
|
2809
|
+
"border-spacing-x": c()
|
|
2804
2810
|
}],
|
|
2805
2811
|
/**
|
|
2806
2812
|
* Border Spacing Y
|
|
2807
2813
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2808
2814
|
*/
|
|
2809
2815
|
"border-spacing-y": [{
|
|
2810
|
-
"border-spacing-y":
|
|
2816
|
+
"border-spacing-y": c()
|
|
2811
2817
|
}],
|
|
2812
2818
|
/**
|
|
2813
2819
|
* Table Layout
|
|
@@ -2845,21 +2851,21 @@ const T = (e) => {
|
|
|
2845
2851
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2846
2852
|
*/
|
|
2847
2853
|
duration: [{
|
|
2848
|
-
duration: [
|
|
2854
|
+
duration: [b, "initial", d, u]
|
|
2849
2855
|
}],
|
|
2850
2856
|
/**
|
|
2851
2857
|
* Transition Timing Function
|
|
2852
2858
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2853
2859
|
*/
|
|
2854
2860
|
ease: [{
|
|
2855
|
-
ease: ["linear", "initial",
|
|
2861
|
+
ease: ["linear", "initial", z, d, u]
|
|
2856
2862
|
}],
|
|
2857
2863
|
/**
|
|
2858
2864
|
* Transition Delay
|
|
2859
2865
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2860
2866
|
*/
|
|
2861
2867
|
delay: [{
|
|
2862
|
-
delay: [
|
|
2868
|
+
delay: [b, d, u]
|
|
2863
2869
|
}],
|
|
2864
2870
|
/**
|
|
2865
2871
|
* Animation
|
|
@@ -2890,7 +2896,7 @@ const T = (e) => {
|
|
|
2890
2896
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2891
2897
|
*/
|
|
2892
2898
|
"perspective-origin": [{
|
|
2893
|
-
"perspective-origin":
|
|
2899
|
+
"perspective-origin": V()
|
|
2894
2900
|
}],
|
|
2895
2901
|
/**
|
|
2896
2902
|
* Rotate
|
|
@@ -2986,7 +2992,7 @@ const T = (e) => {
|
|
|
2986
2992
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2987
2993
|
*/
|
|
2988
2994
|
"transform-origin": [{
|
|
2989
|
-
origin:
|
|
2995
|
+
origin: V()
|
|
2990
2996
|
}],
|
|
2991
2997
|
/**
|
|
2992
2998
|
* Transform Style
|
|
@@ -3099,126 +3105,126 @@ const T = (e) => {
|
|
|
3099
3105
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3100
3106
|
*/
|
|
3101
3107
|
"scroll-m": [{
|
|
3102
|
-
"scroll-m":
|
|
3108
|
+
"scroll-m": c()
|
|
3103
3109
|
}],
|
|
3104
3110
|
/**
|
|
3105
3111
|
* Scroll Margin X
|
|
3106
3112
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3107
3113
|
*/
|
|
3108
3114
|
"scroll-mx": [{
|
|
3109
|
-
"scroll-mx":
|
|
3115
|
+
"scroll-mx": c()
|
|
3110
3116
|
}],
|
|
3111
3117
|
/**
|
|
3112
3118
|
* Scroll Margin Y
|
|
3113
3119
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3114
3120
|
*/
|
|
3115
3121
|
"scroll-my": [{
|
|
3116
|
-
"scroll-my":
|
|
3122
|
+
"scroll-my": c()
|
|
3117
3123
|
}],
|
|
3118
3124
|
/**
|
|
3119
3125
|
* Scroll Margin Start
|
|
3120
3126
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3121
3127
|
*/
|
|
3122
3128
|
"scroll-ms": [{
|
|
3123
|
-
"scroll-ms":
|
|
3129
|
+
"scroll-ms": c()
|
|
3124
3130
|
}],
|
|
3125
3131
|
/**
|
|
3126
3132
|
* Scroll Margin End
|
|
3127
3133
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3128
3134
|
*/
|
|
3129
3135
|
"scroll-me": [{
|
|
3130
|
-
"scroll-me":
|
|
3136
|
+
"scroll-me": c()
|
|
3131
3137
|
}],
|
|
3132
3138
|
/**
|
|
3133
3139
|
* Scroll Margin Top
|
|
3134
3140
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3135
3141
|
*/
|
|
3136
3142
|
"scroll-mt": [{
|
|
3137
|
-
"scroll-mt":
|
|
3143
|
+
"scroll-mt": c()
|
|
3138
3144
|
}],
|
|
3139
3145
|
/**
|
|
3140
3146
|
* Scroll Margin Right
|
|
3141
3147
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3142
3148
|
*/
|
|
3143
3149
|
"scroll-mr": [{
|
|
3144
|
-
"scroll-mr":
|
|
3150
|
+
"scroll-mr": c()
|
|
3145
3151
|
}],
|
|
3146
3152
|
/**
|
|
3147
3153
|
* Scroll Margin Bottom
|
|
3148
3154
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3149
3155
|
*/
|
|
3150
3156
|
"scroll-mb": [{
|
|
3151
|
-
"scroll-mb":
|
|
3157
|
+
"scroll-mb": c()
|
|
3152
3158
|
}],
|
|
3153
3159
|
/**
|
|
3154
3160
|
* Scroll Margin Left
|
|
3155
3161
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3156
3162
|
*/
|
|
3157
3163
|
"scroll-ml": [{
|
|
3158
|
-
"scroll-ml":
|
|
3164
|
+
"scroll-ml": c()
|
|
3159
3165
|
}],
|
|
3160
3166
|
/**
|
|
3161
3167
|
* Scroll Padding
|
|
3162
3168
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3163
3169
|
*/
|
|
3164
3170
|
"scroll-p": [{
|
|
3165
|
-
"scroll-p":
|
|
3171
|
+
"scroll-p": c()
|
|
3166
3172
|
}],
|
|
3167
3173
|
/**
|
|
3168
3174
|
* Scroll Padding X
|
|
3169
3175
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3170
3176
|
*/
|
|
3171
3177
|
"scroll-px": [{
|
|
3172
|
-
"scroll-px":
|
|
3178
|
+
"scroll-px": c()
|
|
3173
3179
|
}],
|
|
3174
3180
|
/**
|
|
3175
3181
|
* Scroll Padding Y
|
|
3176
3182
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3177
3183
|
*/
|
|
3178
3184
|
"scroll-py": [{
|
|
3179
|
-
"scroll-py":
|
|
3185
|
+
"scroll-py": c()
|
|
3180
3186
|
}],
|
|
3181
3187
|
/**
|
|
3182
3188
|
* Scroll Padding Start
|
|
3183
3189
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3184
3190
|
*/
|
|
3185
3191
|
"scroll-ps": [{
|
|
3186
|
-
"scroll-ps":
|
|
3192
|
+
"scroll-ps": c()
|
|
3187
3193
|
}],
|
|
3188
3194
|
/**
|
|
3189
3195
|
* Scroll Padding End
|
|
3190
3196
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3191
3197
|
*/
|
|
3192
3198
|
"scroll-pe": [{
|
|
3193
|
-
"scroll-pe":
|
|
3199
|
+
"scroll-pe": c()
|
|
3194
3200
|
}],
|
|
3195
3201
|
/**
|
|
3196
3202
|
* Scroll Padding Top
|
|
3197
3203
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3198
3204
|
*/
|
|
3199
3205
|
"scroll-pt": [{
|
|
3200
|
-
"scroll-pt":
|
|
3206
|
+
"scroll-pt": c()
|
|
3201
3207
|
}],
|
|
3202
3208
|
/**
|
|
3203
3209
|
* Scroll Padding Right
|
|
3204
3210
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3205
3211
|
*/
|
|
3206
3212
|
"scroll-pr": [{
|
|
3207
|
-
"scroll-pr":
|
|
3213
|
+
"scroll-pr": c()
|
|
3208
3214
|
}],
|
|
3209
3215
|
/**
|
|
3210
3216
|
* Scroll Padding Bottom
|
|
3211
3217
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3212
3218
|
*/
|
|
3213
3219
|
"scroll-pb": [{
|
|
3214
|
-
"scroll-pb":
|
|
3220
|
+
"scroll-pb": c()
|
|
3215
3221
|
}],
|
|
3216
3222
|
/**
|
|
3217
3223
|
* Scroll Padding Left
|
|
3218
3224
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3219
3225
|
*/
|
|
3220
3226
|
"scroll-pl": [{
|
|
3221
|
-
"scroll-pl":
|
|
3227
|
+
"scroll-pl": c()
|
|
3222
3228
|
}],
|
|
3223
3229
|
/**
|
|
3224
3230
|
* Scroll Snap Align
|
|
@@ -3303,7 +3309,7 @@ const T = (e) => {
|
|
|
3303
3309
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3304
3310
|
*/
|
|
3305
3311
|
"stroke-w": [{
|
|
3306
|
-
stroke: [
|
|
3312
|
+
stroke: [b, te, K, be]
|
|
3307
3313
|
}],
|
|
3308
3314
|
/**
|
|
3309
3315
|
* Stroke
|
|
@@ -3380,17 +3386,17 @@ const T = (e) => {
|
|
|
3380
3386
|
};
|
|
3381
3387
|
}, Ut = /* @__PURE__ */ At(Ht);
|
|
3382
3388
|
function Je(e) {
|
|
3383
|
-
var t, o,
|
|
3384
|
-
if (typeof e == "string" || typeof e == "number")
|
|
3389
|
+
var t, o, r = "";
|
|
3390
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
3385
3391
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
3386
|
-
var
|
|
3387
|
-
for (t = 0; t <
|
|
3388
|
-
} else for (o in e) e[o] && (
|
|
3389
|
-
return
|
|
3392
|
+
var s = e.length;
|
|
3393
|
+
for (t = 0; t < s; t++) e[t] && (o = Je(e[t])) && (r && (r += " "), r += o);
|
|
3394
|
+
} else for (o in e) e[o] && (r && (r += " "), r += o);
|
|
3395
|
+
return r;
|
|
3390
3396
|
}
|
|
3391
3397
|
function Wt() {
|
|
3392
|
-
for (var e, t, o = 0,
|
|
3393
|
-
return
|
|
3398
|
+
for (var e, t, o = 0, r = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (t = Je(e)) && (r && (r += " "), r += t);
|
|
3399
|
+
return r;
|
|
3394
3400
|
}
|
|
3395
3401
|
function Io(...e) {
|
|
3396
3402
|
return Ut(Wt(e));
|