portal-design-system 0.0.83 → 0.0.84
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/components/inputs/CountryCode.vue.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +692 -767
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/components/custom-elements/shadow-button.vue.d.ts +0 -18
- package/dist/components/custom-elements/shadow-label.vue.d.ts +0 -18
- package/dist/components/custom-elements/shadow-li.vue.d.ts +0 -18
- package/dist/components/custom-elements/shadow-ul.vue.d.ts +0 -18
- package/dist/register-elements.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as W, useAttrs as rn, computed as O, resolveComponent as He, createBlock as V, openBlock as x, resolveDynamicComponent as We, mergeProps as Rr, unref as Ae, withCtx as Ze, createElementBlock as D, Fragment as ne, renderSlot as J, createCommentVNode as G, normalizeClass as K, toDisplayString as $, normalizeStyle as Xe, createElementVNode as P, renderList as Ye, onMounted as ye, onBeforeUnmount as qe, useModel as oe, ref as L, onUnmounted as Je, withDirectives as Mr, vModelText as Er, createTextVNode as de, mergeModels as Qe, createVNode as ue, withModifiers as De, shallowRef as nn, watch as Re, h as dr, nextTick as xe, useSlots as on, Teleport as Ir, Transition as an } from "vue";
|
|
2
|
+
const cn = (e, r) => {
|
|
3
3
|
const n = new Array(e.length + r.length);
|
|
4
4
|
for (let o = 0; o < e.length; o++)
|
|
5
5
|
n[o] = e[o];
|
|
6
6
|
for (let o = 0; o < r.length; o++)
|
|
7
7
|
n[e.length + o] = r[o];
|
|
8
8
|
return n;
|
|
9
|
-
},
|
|
9
|
+
}, ln = (e, r) => ({
|
|
10
10
|
classGroupId: e,
|
|
11
11
|
validator: r
|
|
12
|
-
}),
|
|
12
|
+
}), Fr = (e = /* @__PURE__ */ new Map(), r = null, n) => ({
|
|
13
13
|
nextPart: e,
|
|
14
14
|
validators: r,
|
|
15
15
|
classGroupId: n
|
|
16
|
-
}),
|
|
17
|
-
const r =
|
|
16
|
+
}), Me = "-", ur = [], tn = "arbitrary..", sn = (e) => {
|
|
17
|
+
const r = un(e), {
|
|
18
18
|
conflictingClassGroups: n,
|
|
19
19
|
conflictingClassGroupModifiers: o
|
|
20
20
|
} = e;
|
|
21
21
|
return {
|
|
22
22
|
getClassGroupId: (l) => {
|
|
23
23
|
if (l.startsWith("[") && l.endsWith("]"))
|
|
24
|
-
return
|
|
25
|
-
const s = l.split(
|
|
26
|
-
return
|
|
24
|
+
return dn(l);
|
|
25
|
+
const s = l.split(Me), t = s[0] === "" && s.length > 1 ? 1 : 0;
|
|
26
|
+
return Pr(s, t, r);
|
|
27
27
|
},
|
|
28
28
|
getConflictingClassGroupIds: (l, s) => {
|
|
29
29
|
if (s) {
|
|
30
30
|
const t = o[l], i = n[l];
|
|
31
|
-
return t ? i ?
|
|
31
|
+
return t ? i ? cn(i, t) : t : i || ur;
|
|
32
32
|
}
|
|
33
|
-
return n[l] ||
|
|
33
|
+
return n[l] || ur;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
},
|
|
36
|
+
}, Pr = (e, r, n) => {
|
|
37
37
|
if (e.length - r === 0)
|
|
38
38
|
return n.classGroupId;
|
|
39
39
|
const a = e[r], c = n.nextPart.get(a);
|
|
40
40
|
if (c) {
|
|
41
|
-
const i =
|
|
41
|
+
const i = Pr(e, r + 1, c);
|
|
42
42
|
if (i) return i;
|
|
43
43
|
}
|
|
44
44
|
const l = n.validators;
|
|
45
45
|
if (l === null)
|
|
46
46
|
return;
|
|
47
|
-
const s = r === 0 ? e.join(
|
|
47
|
+
const s = r === 0 ? e.join(Me) : e.slice(r).join(Me), t = l.length;
|
|
48
48
|
for (let i = 0; i < t; i++) {
|
|
49
49
|
const d = l[i];
|
|
50
50
|
if (d.validator(s))
|
|
51
51
|
return d.classGroupId;
|
|
52
52
|
}
|
|
53
|
-
},
|
|
53
|
+
}, dn = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
54
54
|
const r = e.slice(1, -1), n = r.indexOf(":"), o = r.slice(0, n);
|
|
55
|
-
return o ?
|
|
56
|
-
})(),
|
|
55
|
+
return o ? tn + o : void 0;
|
|
56
|
+
})(), un = (e) => {
|
|
57
57
|
const {
|
|
58
58
|
theme: r,
|
|
59
59
|
classGroups: n
|
|
60
60
|
} = e;
|
|
61
|
-
return
|
|
62
|
-
},
|
|
63
|
-
const n =
|
|
61
|
+
return mn(n, r);
|
|
62
|
+
}, mn = (e, r) => {
|
|
63
|
+
const n = Fr();
|
|
64
64
|
for (const o in e) {
|
|
65
65
|
const a = e[o];
|
|
66
|
-
|
|
66
|
+
er(a, n, o, r);
|
|
67
67
|
}
|
|
68
68
|
return n;
|
|
69
|
-
},
|
|
69
|
+
}, er = (e, r, n, o) => {
|
|
70
70
|
const a = e.length;
|
|
71
71
|
for (let c = 0; c < a; c++) {
|
|
72
72
|
const l = e[c];
|
|
73
|
-
|
|
73
|
+
yn(l, r, n, o);
|
|
74
74
|
}
|
|
75
|
-
},
|
|
75
|
+
}, yn = (e, r, n, o) => {
|
|
76
76
|
if (typeof e == "string") {
|
|
77
|
-
|
|
77
|
+
fn(e, r, n);
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
80
|
if (typeof e == "function") {
|
|
81
|
-
|
|
81
|
+
_n(e, r, n, o);
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
|
-
|
|
85
|
-
},
|
|
86
|
-
const o = e === "" ? r :
|
|
84
|
+
gn(e, r, n, o);
|
|
85
|
+
}, fn = (e, r, n) => {
|
|
86
|
+
const o = e === "" ? r : Lr(r, e);
|
|
87
87
|
o.classGroupId = n;
|
|
88
|
-
},
|
|
89
|
-
if (
|
|
90
|
-
|
|
88
|
+
}, _n = (e, r, n, o) => {
|
|
89
|
+
if (bn(e)) {
|
|
90
|
+
er(e(o), r, n, o);
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
94
|
-
},
|
|
93
|
+
r.validators === null && (r.validators = []), r.validators.push(ln(n, e));
|
|
94
|
+
}, gn = (e, r, n, o) => {
|
|
95
95
|
const a = Object.entries(e), c = a.length;
|
|
96
96
|
for (let l = 0; l < c; l++) {
|
|
97
97
|
const [s, t] = a[l];
|
|
98
|
-
|
|
98
|
+
er(t, Lr(r, s), n, o);
|
|
99
99
|
}
|
|
100
|
-
},
|
|
100
|
+
}, Lr = (e, r) => {
|
|
101
101
|
let n = e;
|
|
102
|
-
const o = r.split(
|
|
102
|
+
const o = r.split(Me), a = o.length;
|
|
103
103
|
for (let c = 0; c < a; c++) {
|
|
104
104
|
const l = o[c];
|
|
105
105
|
let s = n.nextPart.get(l);
|
|
106
|
-
s || (s =
|
|
106
|
+
s || (s = Fr(), n.nextPart.set(l, s)), n = s;
|
|
107
107
|
}
|
|
108
108
|
return n;
|
|
109
|
-
},
|
|
109
|
+
}, bn = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, pn = (e) => {
|
|
110
110
|
if (e < 1)
|
|
111
111
|
return {
|
|
112
112
|
get: () => {
|
|
@@ -130,13 +130,13 @@ const sn = (e, r) => {
|
|
|
130
130
|
c in n ? n[c] = l : a(c, l);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
|
-
},
|
|
133
|
+
}, ze = "!", mr = ":", hn = [], yr = (e, r, n, o, a) => ({
|
|
134
134
|
modifiers: e,
|
|
135
135
|
hasImportantModifier: r,
|
|
136
136
|
baseClassName: n,
|
|
137
137
|
maybePostfixModifierPosition: o,
|
|
138
138
|
isExternal: a
|
|
139
|
-
}),
|
|
139
|
+
}), vn = (e) => {
|
|
140
140
|
const {
|
|
141
141
|
prefix: r,
|
|
142
142
|
experimentalParseClassName: n
|
|
@@ -145,35 +145,35 @@ const sn = (e, r) => {
|
|
|
145
145
|
const c = [];
|
|
146
146
|
let l = 0, s = 0, t = 0, i;
|
|
147
147
|
const d = a.length;
|
|
148
|
-
for (let
|
|
149
|
-
const
|
|
148
|
+
for (let w = 0; w < d; w++) {
|
|
149
|
+
const m = a[w];
|
|
150
150
|
if (l === 0 && s === 0) {
|
|
151
|
-
if (
|
|
152
|
-
c.push(a.slice(t,
|
|
151
|
+
if (m === mr) {
|
|
152
|
+
c.push(a.slice(t, w)), t = w + 1;
|
|
153
153
|
continue;
|
|
154
154
|
}
|
|
155
|
-
if (
|
|
156
|
-
i =
|
|
155
|
+
if (m === "/") {
|
|
156
|
+
i = w;
|
|
157
157
|
continue;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
m === "[" ? l++ : m === "]" ? l-- : m === "(" ? s++ : m === ")" && s--;
|
|
161
161
|
}
|
|
162
162
|
const _ = c.length === 0 ? a : a.slice(t);
|
|
163
163
|
let b = _, p = !1;
|
|
164
|
-
_.endsWith(
|
|
164
|
+
_.endsWith(ze) ? (b = _.slice(0, -1), p = !0) : (
|
|
165
165
|
/**
|
|
166
166
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
167
167
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
168
168
|
*/
|
|
169
|
-
_.startsWith(
|
|
169
|
+
_.startsWith(ze) && (b = _.slice(1), p = !0)
|
|
170
170
|
);
|
|
171
171
|
const k = i && i > t ? i - t : void 0;
|
|
172
|
-
return
|
|
172
|
+
return yr(c, p, b, k);
|
|
173
173
|
};
|
|
174
174
|
if (r) {
|
|
175
|
-
const a = r +
|
|
176
|
-
o = (l) => l.startsWith(a) ? c(l.slice(a.length)) :
|
|
175
|
+
const a = r + mr, c = o;
|
|
176
|
+
o = (l) => l.startsWith(a) ? c(l.slice(a.length)) : yr(hn, !1, l, void 0, !0);
|
|
177
177
|
}
|
|
178
178
|
if (n) {
|
|
179
179
|
const a = o;
|
|
@@ -183,7 +183,7 @@ const sn = (e, r) => {
|
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
185
|
return o;
|
|
186
|
-
},
|
|
186
|
+
}, wn = (e) => {
|
|
187
187
|
const r = /* @__PURE__ */ new Map();
|
|
188
188
|
return e.orderSensitiveModifiers.forEach((n, o) => {
|
|
189
189
|
r.set(n, 1e6 + o);
|
|
@@ -196,18 +196,18 @@ const sn = (e, r) => {
|
|
|
196
196
|
}
|
|
197
197
|
return a.length > 0 && (a.sort(), o.push(...a)), o;
|
|
198
198
|
};
|
|
199
|
-
},
|
|
200
|
-
cache:
|
|
201
|
-
parseClassName:
|
|
202
|
-
sortModifiers:
|
|
203
|
-
...
|
|
204
|
-
}),
|
|
199
|
+
}, xn = (e) => ({
|
|
200
|
+
cache: pn(e.cacheSize),
|
|
201
|
+
parseClassName: vn(e),
|
|
202
|
+
sortModifiers: wn(e),
|
|
203
|
+
...sn(e)
|
|
204
|
+
}), kn = /\s+/, Sn = (e, r) => {
|
|
205
205
|
const {
|
|
206
206
|
parseClassName: n,
|
|
207
207
|
getClassGroupId: o,
|
|
208
208
|
getConflictingClassGroupIds: a,
|
|
209
209
|
sortModifiers: c
|
|
210
|
-
} = r, l = [], s = e.trim().split(
|
|
210
|
+
} = r, l = [], s = e.trim().split(kn);
|
|
211
211
|
let t = "";
|
|
212
212
|
for (let i = s.length - 1; i >= 0; i -= 1) {
|
|
213
213
|
const d = s[i], {
|
|
@@ -215,29 +215,29 @@ const sn = (e, r) => {
|
|
|
215
215
|
modifiers: b,
|
|
216
216
|
hasImportantModifier: p,
|
|
217
217
|
baseClassName: k,
|
|
218
|
-
maybePostfixModifierPosition:
|
|
218
|
+
maybePostfixModifierPosition: w
|
|
219
219
|
} = n(d);
|
|
220
220
|
if (_) {
|
|
221
221
|
t = d + (t.length > 0 ? " " + t : t);
|
|
222
222
|
continue;
|
|
223
223
|
}
|
|
224
|
-
let
|
|
225
|
-
if (!
|
|
226
|
-
if (!
|
|
224
|
+
let m = !!w, M = o(m ? k.substring(0, w) : k);
|
|
225
|
+
if (!M) {
|
|
226
|
+
if (!m) {
|
|
227
227
|
t = d + (t.length > 0 ? " " + t : t);
|
|
228
228
|
continue;
|
|
229
229
|
}
|
|
230
|
-
if (
|
|
230
|
+
if (M = o(k), !M) {
|
|
231
231
|
t = d + (t.length > 0 ? " " + t : t);
|
|
232
232
|
continue;
|
|
233
233
|
}
|
|
234
|
-
|
|
234
|
+
m = !1;
|
|
235
235
|
}
|
|
236
|
-
const
|
|
237
|
-
if (l.indexOf(
|
|
236
|
+
const T = b.length === 0 ? "" : b.length === 1 ? b[0] : c(b).join(":"), R = p ? T + ze : T, u = R + M;
|
|
237
|
+
if (l.indexOf(u) > -1)
|
|
238
238
|
continue;
|
|
239
|
-
l.push(
|
|
240
|
-
const S = a(
|
|
239
|
+
l.push(u);
|
|
240
|
+
const S = a(M, m);
|
|
241
241
|
for (let h = 0; h < S.length; ++h) {
|
|
242
242
|
const A = S[h];
|
|
243
243
|
l.push(R + A);
|
|
@@ -245,47 +245,47 @@ const sn = (e, r) => {
|
|
|
245
245
|
t = d + (t.length > 0 ? " " + t : t);
|
|
246
246
|
}
|
|
247
247
|
return t;
|
|
248
|
-
},
|
|
248
|
+
}, Cn = (...e) => {
|
|
249
249
|
let r = 0, n, o, a = "";
|
|
250
250
|
for (; r < e.length; )
|
|
251
|
-
(n = e[r++]) && (o =
|
|
251
|
+
(n = e[r++]) && (o = Tr(n)) && (a && (a += " "), a += o);
|
|
252
252
|
return a;
|
|
253
|
-
},
|
|
253
|
+
}, Tr = (e) => {
|
|
254
254
|
if (typeof e == "string")
|
|
255
255
|
return e;
|
|
256
256
|
let r, n = "";
|
|
257
257
|
for (let o = 0; o < e.length; o++)
|
|
258
|
-
e[o] && (r =
|
|
258
|
+
e[o] && (r = Tr(e[o])) && (n && (n += " "), n += r);
|
|
259
259
|
return n;
|
|
260
|
-
},
|
|
260
|
+
}, An = (e, ...r) => {
|
|
261
261
|
let n, o, a, c;
|
|
262
262
|
const l = (t) => {
|
|
263
263
|
const i = r.reduce((d, _) => _(d), e());
|
|
264
|
-
return n =
|
|
264
|
+
return n = xn(i), o = n.cache.get, a = n.cache.set, c = s, s(t);
|
|
265
265
|
}, s = (t) => {
|
|
266
266
|
const i = o(t);
|
|
267
267
|
if (i)
|
|
268
268
|
return i;
|
|
269
|
-
const d =
|
|
269
|
+
const d = Sn(t, n);
|
|
270
270
|
return a(t, d), d;
|
|
271
271
|
};
|
|
272
|
-
return c = l, (...t) => c(
|
|
273
|
-
},
|
|
274
|
-
const r = (n) => n[e] ||
|
|
272
|
+
return c = l, (...t) => c(Cn(...t));
|
|
273
|
+
}, Dn = [], I = (e) => {
|
|
274
|
+
const r = (n) => n[e] || Dn;
|
|
275
275
|
return r.isThemeGetter = !0, r;
|
|
276
|
-
},
|
|
276
|
+
}, Br = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Nr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Rn = /^\d+\/\d+$/, Mn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, En = /\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$/, In = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Fn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Pn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, re = (e) => Rn.test(e), C = (e) => !!e && !Number.isNaN(Number(e)), Z = (e) => !!e && Number.isInteger(Number(e)), Te = (e) => e.endsWith("%") && C(e.slice(0, -1)), H = (e) => Mn.test(e), Ln = () => !0, Tn = (e) => (
|
|
277
277
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
278
278
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
279
279
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
280
|
-
|
|
281
|
-
),
|
|
282
|
-
const o =
|
|
280
|
+
En.test(e) && !In.test(e)
|
|
281
|
+
), Ur = () => !1, Bn = (e) => Fn.test(e), Nn = (e) => Pn.test(e), Un = (e) => !y(e) && !f(e), Gn = (e) => ce(e, $r, Ur), y = (e) => Br.test(e), q = (e) => ce(e, Or, Tn), Be = (e) => ce(e, Vn, C), fr = (e) => ce(e, Gr, Ur), zn = (e) => ce(e, zr, Nn), ve = (e) => ce(e, Kr, Bn), f = (e) => Nr.test(e), te = (e) => le(e, Or), $n = (e) => le(e, jn), _r = (e) => le(e, Gr), On = (e) => le(e, $r), Kn = (e) => le(e, zr), we = (e) => le(e, Kr, !0), ce = (e, r, n) => {
|
|
282
|
+
const o = Br.exec(e);
|
|
283
283
|
return o ? o[1] ? r(o[1]) : n(o[2]) : !1;
|
|
284
|
-
},
|
|
285
|
-
const o =
|
|
284
|
+
}, le = (e, r, n = !1) => {
|
|
285
|
+
const o = Nr.exec(e);
|
|
286
286
|
return o ? o[1] ? r(o[1]) : n : !1;
|
|
287
|
-
},
|
|
288
|
-
const e =
|
|
287
|
+
}, Gr = (e) => e === "position" || e === "percentage", zr = (e) => e === "image" || e === "url", $r = (e) => e === "length" || e === "size" || e === "bg-size", Or = (e) => e === "length", Vn = (e) => e === "number", jn = (e) => e === "family-name", Kr = (e) => e === "shadow", Hn = () => {
|
|
288
|
+
const e = I("color"), r = I("font"), n = I("text"), o = I("font-weight"), a = I("tracking"), c = I("leading"), l = I("breakpoint"), s = I("container"), t = I("spacing"), i = I("radius"), d = I("shadow"), _ = I("inset-shadow"), b = I("text-shadow"), p = I("drop-shadow"), k = I("blur"), w = I("perspective"), m = I("aspect"), M = I("ease"), T = I("animate"), R = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], u = () => [
|
|
289
289
|
"center",
|
|
290
290
|
"top",
|
|
291
291
|
"bottom",
|
|
@@ -303,15 +303,15 @@ const sn = (e, r) => {
|
|
|
303
303
|
"bottom-left",
|
|
304
304
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
305
305
|
"left-bottom"
|
|
306
|
-
], S = () => [...
|
|
307
|
-
span: ["full",
|
|
308
|
-
},
|
|
306
|
+
], S = () => [...u(), f, y], h = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], g = () => [f, y, t], E = () => [re, "full", "auto", ...g()], U = () => [Z, "none", "subgrid", f, y], X = () => ["auto", {
|
|
307
|
+
span: ["full", Z, f, y]
|
|
308
|
+
}, Z, f, y], B = () => [Z, "auto", f, y], fe = () => ["auto", "min", "max", "fr", f, y], _e = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ee = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...g()], Y = () => [re, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], v = () => [e, f, y], cr = () => [...u(), _r, fr, {
|
|
309
309
|
position: [f, y]
|
|
310
|
-
}],
|
|
310
|
+
}], lr = () => ["no-repeat", {
|
|
311
311
|
repeat: ["", "x", "y", "space", "round"]
|
|
312
|
-
}],
|
|
312
|
+
}], tr = () => ["auto", "cover", "contain", On, Gn, {
|
|
313
313
|
size: [f, y]
|
|
314
|
-
}],
|
|
314
|
+
}], Pe = () => [Te, te, q], N = () => [
|
|
315
315
|
// Deprecated since Tailwind CSS v4.0.0
|
|
316
316
|
"",
|
|
317
317
|
"none",
|
|
@@ -319,35 +319,35 @@ const sn = (e, r) => {
|
|
|
319
319
|
i,
|
|
320
320
|
f,
|
|
321
321
|
y
|
|
322
|
-
],
|
|
322
|
+
], z = () => ["", C, te, q], ge = () => ["solid", "dashed", "dotted", "double"], sr = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [C, Te, _r, fr], ir = () => [
|
|
323
323
|
// Deprecated since Tailwind CSS v4.0.0
|
|
324
324
|
"",
|
|
325
325
|
"none",
|
|
326
326
|
k,
|
|
327
327
|
f,
|
|
328
328
|
y
|
|
329
|
-
],
|
|
329
|
+
], be = () => ["none", C, f, y], pe = () => ["none", C, f, y], Le = () => [C, f, y], he = () => [re, "full", ...g()];
|
|
330
330
|
return {
|
|
331
331
|
cacheSize: 500,
|
|
332
332
|
theme: {
|
|
333
333
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
334
334
|
aspect: ["video"],
|
|
335
|
-
blur: [
|
|
336
|
-
breakpoint: [
|
|
337
|
-
color: [
|
|
338
|
-
container: [
|
|
339
|
-
"drop-shadow": [
|
|
335
|
+
blur: [H],
|
|
336
|
+
breakpoint: [H],
|
|
337
|
+
color: [Ln],
|
|
338
|
+
container: [H],
|
|
339
|
+
"drop-shadow": [H],
|
|
340
340
|
ease: ["in", "out", "in-out"],
|
|
341
|
-
font: [
|
|
341
|
+
font: [Un],
|
|
342
342
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
343
|
-
"inset-shadow": [
|
|
343
|
+
"inset-shadow": [H],
|
|
344
344
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
345
345
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
346
|
-
radius: [
|
|
347
|
-
shadow: [
|
|
346
|
+
radius: [H],
|
|
347
|
+
shadow: [H],
|
|
348
348
|
spacing: ["px", C],
|
|
349
|
-
text: [
|
|
350
|
-
"text-shadow": [
|
|
349
|
+
text: [H],
|
|
350
|
+
"text-shadow": [H],
|
|
351
351
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
352
352
|
},
|
|
353
353
|
classGroups: {
|
|
@@ -359,7 +359,7 @@ const sn = (e, r) => {
|
|
|
359
359
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
360
360
|
*/
|
|
361
361
|
aspect: [{
|
|
362
|
-
aspect: ["auto", "square",
|
|
362
|
+
aspect: ["auto", "square", re, y, f, m]
|
|
363
363
|
}],
|
|
364
364
|
/**
|
|
365
365
|
* Container
|
|
@@ -504,63 +504,63 @@ const sn = (e, r) => {
|
|
|
504
504
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
505
505
|
*/
|
|
506
506
|
inset: [{
|
|
507
|
-
inset:
|
|
507
|
+
inset: E()
|
|
508
508
|
}],
|
|
509
509
|
/**
|
|
510
510
|
* Right / Left
|
|
511
511
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
512
512
|
*/
|
|
513
513
|
"inset-x": [{
|
|
514
|
-
"inset-x":
|
|
514
|
+
"inset-x": E()
|
|
515
515
|
}],
|
|
516
516
|
/**
|
|
517
517
|
* Top / Bottom
|
|
518
518
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
519
519
|
*/
|
|
520
520
|
"inset-y": [{
|
|
521
|
-
"inset-y":
|
|
521
|
+
"inset-y": E()
|
|
522
522
|
}],
|
|
523
523
|
/**
|
|
524
524
|
* Start
|
|
525
525
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
526
526
|
*/
|
|
527
527
|
start: [{
|
|
528
|
-
start:
|
|
528
|
+
start: E()
|
|
529
529
|
}],
|
|
530
530
|
/**
|
|
531
531
|
* End
|
|
532
532
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
533
533
|
*/
|
|
534
534
|
end: [{
|
|
535
|
-
end:
|
|
535
|
+
end: E()
|
|
536
536
|
}],
|
|
537
537
|
/**
|
|
538
538
|
* Top
|
|
539
539
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
540
540
|
*/
|
|
541
541
|
top: [{
|
|
542
|
-
top:
|
|
542
|
+
top: E()
|
|
543
543
|
}],
|
|
544
544
|
/**
|
|
545
545
|
* Right
|
|
546
546
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
547
547
|
*/
|
|
548
548
|
right: [{
|
|
549
|
-
right:
|
|
549
|
+
right: E()
|
|
550
550
|
}],
|
|
551
551
|
/**
|
|
552
552
|
* Bottom
|
|
553
553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
554
554
|
*/
|
|
555
555
|
bottom: [{
|
|
556
|
-
bottom:
|
|
556
|
+
bottom: E()
|
|
557
557
|
}],
|
|
558
558
|
/**
|
|
559
559
|
* Left
|
|
560
560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
561
561
|
*/
|
|
562
562
|
left: [{
|
|
563
|
-
left:
|
|
563
|
+
left: E()
|
|
564
564
|
}],
|
|
565
565
|
/**
|
|
566
566
|
* Visibility
|
|
@@ -572,7 +572,7 @@ const sn = (e, r) => {
|
|
|
572
572
|
* @see https://tailwindcss.com/docs/z-index
|
|
573
573
|
*/
|
|
574
574
|
z: [{
|
|
575
|
-
z: [
|
|
575
|
+
z: [Z, "auto", f, y]
|
|
576
576
|
}],
|
|
577
577
|
// ------------------------
|
|
578
578
|
// --- Flexbox and Grid ---
|
|
@@ -582,7 +582,7 @@ const sn = (e, r) => {
|
|
|
582
582
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
583
583
|
*/
|
|
584
584
|
basis: [{
|
|
585
|
-
basis: [
|
|
585
|
+
basis: [re, "full", "auto", s, ...g()]
|
|
586
586
|
}],
|
|
587
587
|
/**
|
|
588
588
|
* Flex Direction
|
|
@@ -603,7 +603,7 @@ const sn = (e, r) => {
|
|
|
603
603
|
* @see https://tailwindcss.com/docs/flex
|
|
604
604
|
*/
|
|
605
605
|
flex: [{
|
|
606
|
-
flex: [C,
|
|
606
|
+
flex: [C, re, "auto", "initial", "none", y]
|
|
607
607
|
}],
|
|
608
608
|
/**
|
|
609
609
|
* Flex Grow
|
|
@@ -624,63 +624,63 @@ const sn = (e, r) => {
|
|
|
624
624
|
* @see https://tailwindcss.com/docs/order
|
|
625
625
|
*/
|
|
626
626
|
order: [{
|
|
627
|
-
order: [
|
|
627
|
+
order: [Z, "first", "last", "none", f, y]
|
|
628
628
|
}],
|
|
629
629
|
/**
|
|
630
630
|
* Grid Template Columns
|
|
631
631
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
632
632
|
*/
|
|
633
633
|
"grid-cols": [{
|
|
634
|
-
"grid-cols":
|
|
634
|
+
"grid-cols": U()
|
|
635
635
|
}],
|
|
636
636
|
/**
|
|
637
637
|
* Grid Column Start / End
|
|
638
638
|
* @see https://tailwindcss.com/docs/grid-column
|
|
639
639
|
*/
|
|
640
640
|
"col-start-end": [{
|
|
641
|
-
col:
|
|
641
|
+
col: X()
|
|
642
642
|
}],
|
|
643
643
|
/**
|
|
644
644
|
* Grid Column Start
|
|
645
645
|
* @see https://tailwindcss.com/docs/grid-column
|
|
646
646
|
*/
|
|
647
647
|
"col-start": [{
|
|
648
|
-
"col-start":
|
|
648
|
+
"col-start": B()
|
|
649
649
|
}],
|
|
650
650
|
/**
|
|
651
651
|
* Grid Column End
|
|
652
652
|
* @see https://tailwindcss.com/docs/grid-column
|
|
653
653
|
*/
|
|
654
654
|
"col-end": [{
|
|
655
|
-
"col-end":
|
|
655
|
+
"col-end": B()
|
|
656
656
|
}],
|
|
657
657
|
/**
|
|
658
658
|
* Grid Template Rows
|
|
659
659
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
660
660
|
*/
|
|
661
661
|
"grid-rows": [{
|
|
662
|
-
"grid-rows":
|
|
662
|
+
"grid-rows": U()
|
|
663
663
|
}],
|
|
664
664
|
/**
|
|
665
665
|
* Grid Row Start / End
|
|
666
666
|
* @see https://tailwindcss.com/docs/grid-row
|
|
667
667
|
*/
|
|
668
668
|
"row-start-end": [{
|
|
669
|
-
row:
|
|
669
|
+
row: X()
|
|
670
670
|
}],
|
|
671
671
|
/**
|
|
672
672
|
* Grid Row Start
|
|
673
673
|
* @see https://tailwindcss.com/docs/grid-row
|
|
674
674
|
*/
|
|
675
675
|
"row-start": [{
|
|
676
|
-
"row-start":
|
|
676
|
+
"row-start": B()
|
|
677
677
|
}],
|
|
678
678
|
/**
|
|
679
679
|
* Grid Row End
|
|
680
680
|
* @see https://tailwindcss.com/docs/grid-row
|
|
681
681
|
*/
|
|
682
682
|
"row-end": [{
|
|
683
|
-
"row-end":
|
|
683
|
+
"row-end": B()
|
|
684
684
|
}],
|
|
685
685
|
/**
|
|
686
686
|
* Grid Auto Flow
|
|
@@ -694,14 +694,14 @@ const sn = (e, r) => {
|
|
|
694
694
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
695
695
|
*/
|
|
696
696
|
"auto-cols": [{
|
|
697
|
-
"auto-cols":
|
|
697
|
+
"auto-cols": fe()
|
|
698
698
|
}],
|
|
699
699
|
/**
|
|
700
700
|
* Grid Auto Rows
|
|
701
701
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
702
702
|
*/
|
|
703
703
|
"auto-rows": [{
|
|
704
|
-
"auto-rows":
|
|
704
|
+
"auto-rows": fe()
|
|
705
705
|
}],
|
|
706
706
|
/**
|
|
707
707
|
* Gap
|
|
@@ -729,35 +729,35 @@ const sn = (e, r) => {
|
|
|
729
729
|
* @see https://tailwindcss.com/docs/justify-content
|
|
730
730
|
*/
|
|
731
731
|
"justify-content": [{
|
|
732
|
-
justify: [...
|
|
732
|
+
justify: [..._e(), "normal"]
|
|
733
733
|
}],
|
|
734
734
|
/**
|
|
735
735
|
* Justify Items
|
|
736
736
|
* @see https://tailwindcss.com/docs/justify-items
|
|
737
737
|
*/
|
|
738
738
|
"justify-items": [{
|
|
739
|
-
"justify-items": [...
|
|
739
|
+
"justify-items": [...ee(), "normal"]
|
|
740
740
|
}],
|
|
741
741
|
/**
|
|
742
742
|
* Justify Self
|
|
743
743
|
* @see https://tailwindcss.com/docs/justify-self
|
|
744
744
|
*/
|
|
745
745
|
"justify-self": [{
|
|
746
|
-
"justify-self": ["auto", ...
|
|
746
|
+
"justify-self": ["auto", ...ee()]
|
|
747
747
|
}],
|
|
748
748
|
/**
|
|
749
749
|
* Align Content
|
|
750
750
|
* @see https://tailwindcss.com/docs/align-content
|
|
751
751
|
*/
|
|
752
752
|
"align-content": [{
|
|
753
|
-
content: ["normal", ...
|
|
753
|
+
content: ["normal", ..._e()]
|
|
754
754
|
}],
|
|
755
755
|
/**
|
|
756
756
|
* Align Items
|
|
757
757
|
* @see https://tailwindcss.com/docs/align-items
|
|
758
758
|
*/
|
|
759
759
|
"align-items": [{
|
|
760
|
-
items: [...
|
|
760
|
+
items: [...ee(), {
|
|
761
761
|
baseline: ["", "last"]
|
|
762
762
|
}]
|
|
763
763
|
}],
|
|
@@ -766,7 +766,7 @@ const sn = (e, r) => {
|
|
|
766
766
|
* @see https://tailwindcss.com/docs/align-self
|
|
767
767
|
*/
|
|
768
768
|
"align-self": [{
|
|
769
|
-
self: ["auto", ...
|
|
769
|
+
self: ["auto", ...ee(), {
|
|
770
770
|
baseline: ["", "last"]
|
|
771
771
|
}]
|
|
772
772
|
}],
|
|
@@ -775,21 +775,21 @@ const sn = (e, r) => {
|
|
|
775
775
|
* @see https://tailwindcss.com/docs/place-content
|
|
776
776
|
*/
|
|
777
777
|
"place-content": [{
|
|
778
|
-
"place-content":
|
|
778
|
+
"place-content": _e()
|
|
779
779
|
}],
|
|
780
780
|
/**
|
|
781
781
|
* Place Items
|
|
782
782
|
* @see https://tailwindcss.com/docs/place-items
|
|
783
783
|
*/
|
|
784
784
|
"place-items": [{
|
|
785
|
-
"place-items": [...
|
|
785
|
+
"place-items": [...ee(), "baseline"]
|
|
786
786
|
}],
|
|
787
787
|
/**
|
|
788
788
|
* Place Self
|
|
789
789
|
* @see https://tailwindcss.com/docs/place-self
|
|
790
790
|
*/
|
|
791
791
|
"place-self": [{
|
|
792
|
-
"place-self": ["auto", ...
|
|
792
|
+
"place-self": ["auto", ...ee()]
|
|
793
793
|
}],
|
|
794
794
|
// Spacing
|
|
795
795
|
/**
|
|
@@ -860,63 +860,63 @@ const sn = (e, r) => {
|
|
|
860
860
|
* @see https://tailwindcss.com/docs/margin
|
|
861
861
|
*/
|
|
862
862
|
m: [{
|
|
863
|
-
m:
|
|
863
|
+
m: j()
|
|
864
864
|
}],
|
|
865
865
|
/**
|
|
866
866
|
* Margin X
|
|
867
867
|
* @see https://tailwindcss.com/docs/margin
|
|
868
868
|
*/
|
|
869
869
|
mx: [{
|
|
870
|
-
mx:
|
|
870
|
+
mx: j()
|
|
871
871
|
}],
|
|
872
872
|
/**
|
|
873
873
|
* Margin Y
|
|
874
874
|
* @see https://tailwindcss.com/docs/margin
|
|
875
875
|
*/
|
|
876
876
|
my: [{
|
|
877
|
-
my:
|
|
877
|
+
my: j()
|
|
878
878
|
}],
|
|
879
879
|
/**
|
|
880
880
|
* Margin Start
|
|
881
881
|
* @see https://tailwindcss.com/docs/margin
|
|
882
882
|
*/
|
|
883
883
|
ms: [{
|
|
884
|
-
ms:
|
|
884
|
+
ms: j()
|
|
885
885
|
}],
|
|
886
886
|
/**
|
|
887
887
|
* Margin End
|
|
888
888
|
* @see https://tailwindcss.com/docs/margin
|
|
889
889
|
*/
|
|
890
890
|
me: [{
|
|
891
|
-
me:
|
|
891
|
+
me: j()
|
|
892
892
|
}],
|
|
893
893
|
/**
|
|
894
894
|
* Margin Top
|
|
895
895
|
* @see https://tailwindcss.com/docs/margin
|
|
896
896
|
*/
|
|
897
897
|
mt: [{
|
|
898
|
-
mt:
|
|
898
|
+
mt: j()
|
|
899
899
|
}],
|
|
900
900
|
/**
|
|
901
901
|
* Margin Right
|
|
902
902
|
* @see https://tailwindcss.com/docs/margin
|
|
903
903
|
*/
|
|
904
904
|
mr: [{
|
|
905
|
-
mr:
|
|
905
|
+
mr: j()
|
|
906
906
|
}],
|
|
907
907
|
/**
|
|
908
908
|
* Margin Bottom
|
|
909
909
|
* @see https://tailwindcss.com/docs/margin
|
|
910
910
|
*/
|
|
911
911
|
mb: [{
|
|
912
|
-
mb:
|
|
912
|
+
mb: j()
|
|
913
913
|
}],
|
|
914
914
|
/**
|
|
915
915
|
* Margin Left
|
|
916
916
|
* @see https://tailwindcss.com/docs/margin
|
|
917
917
|
*/
|
|
918
918
|
ml: [{
|
|
919
|
-
ml:
|
|
919
|
+
ml: j()
|
|
920
920
|
}],
|
|
921
921
|
/**
|
|
922
922
|
* Space Between X
|
|
@@ -950,14 +950,14 @@ const sn = (e, r) => {
|
|
|
950
950
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
951
951
|
*/
|
|
952
952
|
size: [{
|
|
953
|
-
size:
|
|
953
|
+
size: Y()
|
|
954
954
|
}],
|
|
955
955
|
/**
|
|
956
956
|
* Width
|
|
957
957
|
* @see https://tailwindcss.com/docs/width
|
|
958
958
|
*/
|
|
959
959
|
w: [{
|
|
960
|
-
w: [s, "screen", ...
|
|
960
|
+
w: [s, "screen", ...Y()]
|
|
961
961
|
}],
|
|
962
962
|
/**
|
|
963
963
|
* Min-Width
|
|
@@ -969,7 +969,7 @@ const sn = (e, r) => {
|
|
|
969
969
|
"screen",
|
|
970
970
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
971
971
|
"none",
|
|
972
|
-
...
|
|
972
|
+
...Y()
|
|
973
973
|
]
|
|
974
974
|
}],
|
|
975
975
|
/**
|
|
@@ -987,7 +987,7 @@ const sn = (e, r) => {
|
|
|
987
987
|
{
|
|
988
988
|
screen: [l]
|
|
989
989
|
},
|
|
990
|
-
...
|
|
990
|
+
...Y()
|
|
991
991
|
]
|
|
992
992
|
}],
|
|
993
993
|
/**
|
|
@@ -995,21 +995,21 @@ const sn = (e, r) => {
|
|
|
995
995
|
* @see https://tailwindcss.com/docs/height
|
|
996
996
|
*/
|
|
997
997
|
h: [{
|
|
998
|
-
h: ["screen", "lh", ...
|
|
998
|
+
h: ["screen", "lh", ...Y()]
|
|
999
999
|
}],
|
|
1000
1000
|
/**
|
|
1001
1001
|
* Min-Height
|
|
1002
1002
|
* @see https://tailwindcss.com/docs/min-height
|
|
1003
1003
|
*/
|
|
1004
1004
|
"min-h": [{
|
|
1005
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1005
|
+
"min-h": ["screen", "lh", "none", ...Y()]
|
|
1006
1006
|
}],
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Max-Height
|
|
1009
1009
|
* @see https://tailwindcss.com/docs/max-height
|
|
1010
1010
|
*/
|
|
1011
1011
|
"max-h": [{
|
|
1012
|
-
"max-h": ["screen", "lh", ...
|
|
1012
|
+
"max-h": ["screen", "lh", ...Y()]
|
|
1013
1013
|
}],
|
|
1014
1014
|
// ------------------
|
|
1015
1015
|
// --- Typography ---
|
|
@@ -1019,7 +1019,7 @@ const sn = (e, r) => {
|
|
|
1019
1019
|
* @see https://tailwindcss.com/docs/font-size
|
|
1020
1020
|
*/
|
|
1021
1021
|
"font-size": [{
|
|
1022
|
-
text: ["base", n,
|
|
1022
|
+
text: ["base", n, te, q]
|
|
1023
1023
|
}],
|
|
1024
1024
|
/**
|
|
1025
1025
|
* Font Smoothing
|
|
@@ -1036,21 +1036,21 @@ const sn = (e, r) => {
|
|
|
1036
1036
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1037
1037
|
*/
|
|
1038
1038
|
"font-weight": [{
|
|
1039
|
-
font: [o, f,
|
|
1039
|
+
font: [o, f, Be]
|
|
1040
1040
|
}],
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Font Stretch
|
|
1043
1043
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1044
1044
|
*/
|
|
1045
1045
|
"font-stretch": [{
|
|
1046
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1046
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Te, y]
|
|
1047
1047
|
}],
|
|
1048
1048
|
/**
|
|
1049
1049
|
* Font Family
|
|
1050
1050
|
* @see https://tailwindcss.com/docs/font-family
|
|
1051
1051
|
*/
|
|
1052
1052
|
"font-family": [{
|
|
1053
|
-
font: [
|
|
1053
|
+
font: [$n, y, r]
|
|
1054
1054
|
}],
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Font Variant Numeric
|
|
@@ -1094,7 +1094,7 @@ const sn = (e, r) => {
|
|
|
1094
1094
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1095
1095
|
*/
|
|
1096
1096
|
"line-clamp": [{
|
|
1097
|
-
"line-clamp": [C, "none", f,
|
|
1097
|
+
"line-clamp": [C, "none", f, Be]
|
|
1098
1098
|
}],
|
|
1099
1099
|
/**
|
|
1100
1100
|
* Line Height
|
|
@@ -1160,14 +1160,14 @@ const sn = (e, r) => {
|
|
|
1160
1160
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1161
1161
|
*/
|
|
1162
1162
|
"text-decoration-style": [{
|
|
1163
|
-
decoration: [...
|
|
1163
|
+
decoration: [...ge(), "wavy"]
|
|
1164
1164
|
}],
|
|
1165
1165
|
/**
|
|
1166
1166
|
* Text Decoration Thickness
|
|
1167
1167
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1168
1168
|
*/
|
|
1169
1169
|
"text-decoration-thickness": [{
|
|
1170
|
-
decoration: [C, "from-font", "auto", f,
|
|
1170
|
+
decoration: [C, "from-font", "auto", f, q]
|
|
1171
1171
|
}],
|
|
1172
1172
|
/**
|
|
1173
1173
|
* Text Decoration Color
|
|
@@ -1278,21 +1278,21 @@ const sn = (e, r) => {
|
|
|
1278
1278
|
* @see https://tailwindcss.com/docs/background-position
|
|
1279
1279
|
*/
|
|
1280
1280
|
"bg-position": [{
|
|
1281
|
-
bg:
|
|
1281
|
+
bg: cr()
|
|
1282
1282
|
}],
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Background Repeat
|
|
1285
1285
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1286
1286
|
*/
|
|
1287
1287
|
"bg-repeat": [{
|
|
1288
|
-
bg:
|
|
1288
|
+
bg: lr()
|
|
1289
1289
|
}],
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Background Size
|
|
1292
1292
|
* @see https://tailwindcss.com/docs/background-size
|
|
1293
1293
|
*/
|
|
1294
1294
|
"bg-size": [{
|
|
1295
|
-
bg:
|
|
1295
|
+
bg: tr()
|
|
1296
1296
|
}],
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Background Image
|
|
@@ -1302,10 +1302,10 @@ const sn = (e, r) => {
|
|
|
1302
1302
|
bg: ["none", {
|
|
1303
1303
|
linear: [{
|
|
1304
1304
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1305
|
-
},
|
|
1305
|
+
}, Z, f, y],
|
|
1306
1306
|
radial: ["", f, y],
|
|
1307
|
-
conic: [
|
|
1308
|
-
},
|
|
1307
|
+
conic: [Z, f, y]
|
|
1308
|
+
}, Kn, zn]
|
|
1309
1309
|
}],
|
|
1310
1310
|
/**
|
|
1311
1311
|
* Background Color
|
|
@@ -1319,21 +1319,21 @@ const sn = (e, r) => {
|
|
|
1319
1319
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1320
1320
|
*/
|
|
1321
1321
|
"gradient-from-pos": [{
|
|
1322
|
-
from:
|
|
1322
|
+
from: Pe()
|
|
1323
1323
|
}],
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Gradient Color Stops Via Position
|
|
1326
1326
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1327
1327
|
*/
|
|
1328
1328
|
"gradient-via-pos": [{
|
|
1329
|
-
via:
|
|
1329
|
+
via: Pe()
|
|
1330
1330
|
}],
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Gradient Color Stops To Position
|
|
1333
1333
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1334
1334
|
*/
|
|
1335
1335
|
"gradient-to-pos": [{
|
|
1336
|
-
to:
|
|
1336
|
+
to: Pe()
|
|
1337
1337
|
}],
|
|
1338
1338
|
/**
|
|
1339
1339
|
* Gradient Color Stops From
|
|
@@ -1364,175 +1364,175 @@ const sn = (e, r) => {
|
|
|
1364
1364
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1365
1365
|
*/
|
|
1366
1366
|
rounded: [{
|
|
1367
|
-
rounded:
|
|
1367
|
+
rounded: N()
|
|
1368
1368
|
}],
|
|
1369
1369
|
/**
|
|
1370
1370
|
* Border Radius Start
|
|
1371
1371
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1372
1372
|
*/
|
|
1373
1373
|
"rounded-s": [{
|
|
1374
|
-
"rounded-s":
|
|
1374
|
+
"rounded-s": N()
|
|
1375
1375
|
}],
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Border Radius End
|
|
1378
1378
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1379
1379
|
*/
|
|
1380
1380
|
"rounded-e": [{
|
|
1381
|
-
"rounded-e":
|
|
1381
|
+
"rounded-e": N()
|
|
1382
1382
|
}],
|
|
1383
1383
|
/**
|
|
1384
1384
|
* Border Radius Top
|
|
1385
1385
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1386
1386
|
*/
|
|
1387
1387
|
"rounded-t": [{
|
|
1388
|
-
"rounded-t":
|
|
1388
|
+
"rounded-t": N()
|
|
1389
1389
|
}],
|
|
1390
1390
|
/**
|
|
1391
1391
|
* Border Radius Right
|
|
1392
1392
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1393
1393
|
*/
|
|
1394
1394
|
"rounded-r": [{
|
|
1395
|
-
"rounded-r":
|
|
1395
|
+
"rounded-r": N()
|
|
1396
1396
|
}],
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Border Radius Bottom
|
|
1399
1399
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1400
1400
|
*/
|
|
1401
1401
|
"rounded-b": [{
|
|
1402
|
-
"rounded-b":
|
|
1402
|
+
"rounded-b": N()
|
|
1403
1403
|
}],
|
|
1404
1404
|
/**
|
|
1405
1405
|
* Border Radius Left
|
|
1406
1406
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1407
1407
|
*/
|
|
1408
1408
|
"rounded-l": [{
|
|
1409
|
-
"rounded-l":
|
|
1409
|
+
"rounded-l": N()
|
|
1410
1410
|
}],
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Border Radius Start Start
|
|
1413
1413
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1414
1414
|
*/
|
|
1415
1415
|
"rounded-ss": [{
|
|
1416
|
-
"rounded-ss":
|
|
1416
|
+
"rounded-ss": N()
|
|
1417
1417
|
}],
|
|
1418
1418
|
/**
|
|
1419
1419
|
* Border Radius Start End
|
|
1420
1420
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1421
1421
|
*/
|
|
1422
1422
|
"rounded-se": [{
|
|
1423
|
-
"rounded-se":
|
|
1423
|
+
"rounded-se": N()
|
|
1424
1424
|
}],
|
|
1425
1425
|
/**
|
|
1426
1426
|
* Border Radius End End
|
|
1427
1427
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1428
1428
|
*/
|
|
1429
1429
|
"rounded-ee": [{
|
|
1430
|
-
"rounded-ee":
|
|
1430
|
+
"rounded-ee": N()
|
|
1431
1431
|
}],
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Border Radius End Start
|
|
1434
1434
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1435
1435
|
*/
|
|
1436
1436
|
"rounded-es": [{
|
|
1437
|
-
"rounded-es":
|
|
1437
|
+
"rounded-es": N()
|
|
1438
1438
|
}],
|
|
1439
1439
|
/**
|
|
1440
1440
|
* Border Radius Top Left
|
|
1441
1441
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1442
1442
|
*/
|
|
1443
1443
|
"rounded-tl": [{
|
|
1444
|
-
"rounded-tl":
|
|
1444
|
+
"rounded-tl": N()
|
|
1445
1445
|
}],
|
|
1446
1446
|
/**
|
|
1447
1447
|
* Border Radius Top Right
|
|
1448
1448
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1449
1449
|
*/
|
|
1450
1450
|
"rounded-tr": [{
|
|
1451
|
-
"rounded-tr":
|
|
1451
|
+
"rounded-tr": N()
|
|
1452
1452
|
}],
|
|
1453
1453
|
/**
|
|
1454
1454
|
* Border Radius Bottom Right
|
|
1455
1455
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1456
1456
|
*/
|
|
1457
1457
|
"rounded-br": [{
|
|
1458
|
-
"rounded-br":
|
|
1458
|
+
"rounded-br": N()
|
|
1459
1459
|
}],
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Border Radius Bottom Left
|
|
1462
1462
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1463
1463
|
*/
|
|
1464
1464
|
"rounded-bl": [{
|
|
1465
|
-
"rounded-bl":
|
|
1465
|
+
"rounded-bl": N()
|
|
1466
1466
|
}],
|
|
1467
1467
|
/**
|
|
1468
1468
|
* Border Width
|
|
1469
1469
|
* @see https://tailwindcss.com/docs/border-width
|
|
1470
1470
|
*/
|
|
1471
1471
|
"border-w": [{
|
|
1472
|
-
border:
|
|
1472
|
+
border: z()
|
|
1473
1473
|
}],
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Border Width X
|
|
1476
1476
|
* @see https://tailwindcss.com/docs/border-width
|
|
1477
1477
|
*/
|
|
1478
1478
|
"border-w-x": [{
|
|
1479
|
-
"border-x":
|
|
1479
|
+
"border-x": z()
|
|
1480
1480
|
}],
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Border Width Y
|
|
1483
1483
|
* @see https://tailwindcss.com/docs/border-width
|
|
1484
1484
|
*/
|
|
1485
1485
|
"border-w-y": [{
|
|
1486
|
-
"border-y":
|
|
1486
|
+
"border-y": z()
|
|
1487
1487
|
}],
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Border Width Start
|
|
1490
1490
|
* @see https://tailwindcss.com/docs/border-width
|
|
1491
1491
|
*/
|
|
1492
1492
|
"border-w-s": [{
|
|
1493
|
-
"border-s":
|
|
1493
|
+
"border-s": z()
|
|
1494
1494
|
}],
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Border Width End
|
|
1497
1497
|
* @see https://tailwindcss.com/docs/border-width
|
|
1498
1498
|
*/
|
|
1499
1499
|
"border-w-e": [{
|
|
1500
|
-
"border-e":
|
|
1500
|
+
"border-e": z()
|
|
1501
1501
|
}],
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Border Width Top
|
|
1504
1504
|
* @see https://tailwindcss.com/docs/border-width
|
|
1505
1505
|
*/
|
|
1506
1506
|
"border-w-t": [{
|
|
1507
|
-
"border-t":
|
|
1507
|
+
"border-t": z()
|
|
1508
1508
|
}],
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Border Width Right
|
|
1511
1511
|
* @see https://tailwindcss.com/docs/border-width
|
|
1512
1512
|
*/
|
|
1513
1513
|
"border-w-r": [{
|
|
1514
|
-
"border-r":
|
|
1514
|
+
"border-r": z()
|
|
1515
1515
|
}],
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Border Width Bottom
|
|
1518
1518
|
* @see https://tailwindcss.com/docs/border-width
|
|
1519
1519
|
*/
|
|
1520
1520
|
"border-w-b": [{
|
|
1521
|
-
"border-b":
|
|
1521
|
+
"border-b": z()
|
|
1522
1522
|
}],
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Border Width Left
|
|
1525
1525
|
* @see https://tailwindcss.com/docs/border-width
|
|
1526
1526
|
*/
|
|
1527
1527
|
"border-w-l": [{
|
|
1528
|
-
"border-l":
|
|
1528
|
+
"border-l": z()
|
|
1529
1529
|
}],
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Divide Width X
|
|
1532
1532
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1533
1533
|
*/
|
|
1534
1534
|
"divide-x": [{
|
|
1535
|
-
"divide-x":
|
|
1535
|
+
"divide-x": z()
|
|
1536
1536
|
}],
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Divide Width X Reverse
|
|
@@ -1544,7 +1544,7 @@ const sn = (e, r) => {
|
|
|
1544
1544
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1545
1545
|
*/
|
|
1546
1546
|
"divide-y": [{
|
|
1547
|
-
"divide-y":
|
|
1547
|
+
"divide-y": z()
|
|
1548
1548
|
}],
|
|
1549
1549
|
/**
|
|
1550
1550
|
* Divide Width Y Reverse
|
|
@@ -1556,14 +1556,14 @@ const sn = (e, r) => {
|
|
|
1556
1556
|
* @see https://tailwindcss.com/docs/border-style
|
|
1557
1557
|
*/
|
|
1558
1558
|
"border-style": [{
|
|
1559
|
-
border: [...
|
|
1559
|
+
border: [...ge(), "hidden", "none"]
|
|
1560
1560
|
}],
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Divide Style
|
|
1563
1563
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1564
1564
|
*/
|
|
1565
1565
|
"divide-style": [{
|
|
1566
|
-
divide: [...
|
|
1566
|
+
divide: [...ge(), "hidden", "none"]
|
|
1567
1567
|
}],
|
|
1568
1568
|
/**
|
|
1569
1569
|
* Border Color
|
|
@@ -1640,7 +1640,7 @@ const sn = (e, r) => {
|
|
|
1640
1640
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1641
1641
|
*/
|
|
1642
1642
|
"outline-style": [{
|
|
1643
|
-
outline: [...
|
|
1643
|
+
outline: [...ge(), "none", "hidden"]
|
|
1644
1644
|
}],
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Outline Offset
|
|
@@ -1654,7 +1654,7 @@ const sn = (e, r) => {
|
|
|
1654
1654
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1655
1655
|
*/
|
|
1656
1656
|
"outline-w": [{
|
|
1657
|
-
outline: ["", C,
|
|
1657
|
+
outline: ["", C, te, q]
|
|
1658
1658
|
}],
|
|
1659
1659
|
/**
|
|
1660
1660
|
* Outline Color
|
|
@@ -1676,8 +1676,8 @@ const sn = (e, r) => {
|
|
|
1676
1676
|
"",
|
|
1677
1677
|
"none",
|
|
1678
1678
|
d,
|
|
1679
|
-
|
|
1680
|
-
|
|
1679
|
+
we,
|
|
1680
|
+
ve
|
|
1681
1681
|
]
|
|
1682
1682
|
}],
|
|
1683
1683
|
/**
|
|
@@ -1692,7 +1692,7 @@ const sn = (e, r) => {
|
|
|
1692
1692
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1693
1693
|
*/
|
|
1694
1694
|
"inset-shadow": [{
|
|
1695
|
-
"inset-shadow": ["none", _,
|
|
1695
|
+
"inset-shadow": ["none", _, we, ve]
|
|
1696
1696
|
}],
|
|
1697
1697
|
/**
|
|
1698
1698
|
* Inset Box Shadow Color
|
|
@@ -1706,7 +1706,7 @@ const sn = (e, r) => {
|
|
|
1706
1706
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1707
1707
|
*/
|
|
1708
1708
|
"ring-w": [{
|
|
1709
|
-
ring:
|
|
1709
|
+
ring: z()
|
|
1710
1710
|
}],
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Ring Width Inset
|
|
@@ -1729,7 +1729,7 @@ const sn = (e, r) => {
|
|
|
1729
1729
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1730
1730
|
*/
|
|
1731
1731
|
"ring-offset-w": [{
|
|
1732
|
-
"ring-offset": [C,
|
|
1732
|
+
"ring-offset": [C, q]
|
|
1733
1733
|
}],
|
|
1734
1734
|
/**
|
|
1735
1735
|
* Ring Offset Color
|
|
@@ -1745,7 +1745,7 @@ const sn = (e, r) => {
|
|
|
1745
1745
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1746
1746
|
*/
|
|
1747
1747
|
"inset-ring-w": [{
|
|
1748
|
-
"inset-ring":
|
|
1748
|
+
"inset-ring": z()
|
|
1749
1749
|
}],
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Inset Ring Color
|
|
@@ -1759,7 +1759,7 @@ const sn = (e, r) => {
|
|
|
1759
1759
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1760
1760
|
*/
|
|
1761
1761
|
"text-shadow": [{
|
|
1762
|
-
"text-shadow": ["none", b,
|
|
1762
|
+
"text-shadow": ["none", b, we, ve]
|
|
1763
1763
|
}],
|
|
1764
1764
|
/**
|
|
1765
1765
|
* Text Shadow Color
|
|
@@ -1780,14 +1780,14 @@ const sn = (e, r) => {
|
|
|
1780
1780
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1781
1781
|
*/
|
|
1782
1782
|
"mix-blend": [{
|
|
1783
|
-
"mix-blend": [...
|
|
1783
|
+
"mix-blend": [...sr(), "plus-darker", "plus-lighter"]
|
|
1784
1784
|
}],
|
|
1785
1785
|
/**
|
|
1786
1786
|
* Background Blend Mode
|
|
1787
1787
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1788
1788
|
*/
|
|
1789
1789
|
"bg-blend": [{
|
|
1790
|
-
"bg-blend":
|
|
1790
|
+
"bg-blend": sr()
|
|
1791
1791
|
}],
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Mask Clip
|
|
@@ -1919,7 +1919,7 @@ const sn = (e, r) => {
|
|
|
1919
1919
|
}]
|
|
1920
1920
|
}],
|
|
1921
1921
|
"mask-image-radial-pos": [{
|
|
1922
|
-
"mask-radial-at":
|
|
1922
|
+
"mask-radial-at": u()
|
|
1923
1923
|
}],
|
|
1924
1924
|
"mask-image-conic-pos": [{
|
|
1925
1925
|
"mask-conic": [C]
|
|
@@ -1955,21 +1955,21 @@ const sn = (e, r) => {
|
|
|
1955
1955
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1956
1956
|
*/
|
|
1957
1957
|
"mask-position": [{
|
|
1958
|
-
mask:
|
|
1958
|
+
mask: cr()
|
|
1959
1959
|
}],
|
|
1960
1960
|
/**
|
|
1961
1961
|
* Mask Repeat
|
|
1962
1962
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1963
1963
|
*/
|
|
1964
1964
|
"mask-repeat": [{
|
|
1965
|
-
mask:
|
|
1965
|
+
mask: lr()
|
|
1966
1966
|
}],
|
|
1967
1967
|
/**
|
|
1968
1968
|
* Mask Size
|
|
1969
1969
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1970
1970
|
*/
|
|
1971
1971
|
"mask-size": [{
|
|
1972
|
-
mask:
|
|
1972
|
+
mask: tr()
|
|
1973
1973
|
}],
|
|
1974
1974
|
/**
|
|
1975
1975
|
* Mask Type
|
|
@@ -2006,7 +2006,7 @@ const sn = (e, r) => {
|
|
|
2006
2006
|
* @see https://tailwindcss.com/docs/blur
|
|
2007
2007
|
*/
|
|
2008
2008
|
blur: [{
|
|
2009
|
-
blur:
|
|
2009
|
+
blur: ir()
|
|
2010
2010
|
}],
|
|
2011
2011
|
/**
|
|
2012
2012
|
* Brightness
|
|
@@ -2032,8 +2032,8 @@ const sn = (e, r) => {
|
|
|
2032
2032
|
"",
|
|
2033
2033
|
"none",
|
|
2034
2034
|
p,
|
|
2035
|
-
|
|
2036
|
-
|
|
2035
|
+
we,
|
|
2036
|
+
ve
|
|
2037
2037
|
]
|
|
2038
2038
|
}],
|
|
2039
2039
|
/**
|
|
@@ -2096,7 +2096,7 @@ const sn = (e, r) => {
|
|
|
2096
2096
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2097
2097
|
*/
|
|
2098
2098
|
"backdrop-blur": [{
|
|
2099
|
-
"backdrop-blur":
|
|
2099
|
+
"backdrop-blur": ir()
|
|
2100
2100
|
}],
|
|
2101
2101
|
/**
|
|
2102
2102
|
* Backdrop Brightness
|
|
@@ -2228,7 +2228,7 @@ const sn = (e, r) => {
|
|
|
2228
2228
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2229
2229
|
*/
|
|
2230
2230
|
ease: [{
|
|
2231
|
-
ease: ["linear", "initial",
|
|
2231
|
+
ease: ["linear", "initial", M, f, y]
|
|
2232
2232
|
}],
|
|
2233
2233
|
/**
|
|
2234
2234
|
* Transition Delay
|
|
@@ -2242,7 +2242,7 @@ const sn = (e, r) => {
|
|
|
2242
2242
|
* @see https://tailwindcss.com/docs/animation
|
|
2243
2243
|
*/
|
|
2244
2244
|
animate: [{
|
|
2245
|
-
animate: ["none",
|
|
2245
|
+
animate: ["none", T, f, y]
|
|
2246
2246
|
}],
|
|
2247
2247
|
// ------------------
|
|
2248
2248
|
// --- Transforms ---
|
|
@@ -2259,7 +2259,7 @@ const sn = (e, r) => {
|
|
|
2259
2259
|
* @see https://tailwindcss.com/docs/perspective
|
|
2260
2260
|
*/
|
|
2261
2261
|
perspective: [{
|
|
2262
|
-
perspective: [
|
|
2262
|
+
perspective: [w, f, y]
|
|
2263
2263
|
}],
|
|
2264
2264
|
/**
|
|
2265
2265
|
* Perspective Origin
|
|
@@ -2273,56 +2273,56 @@ const sn = (e, r) => {
|
|
|
2273
2273
|
* @see https://tailwindcss.com/docs/rotate
|
|
2274
2274
|
*/
|
|
2275
2275
|
rotate: [{
|
|
2276
|
-
rotate:
|
|
2276
|
+
rotate: be()
|
|
2277
2277
|
}],
|
|
2278
2278
|
/**
|
|
2279
2279
|
* Rotate X
|
|
2280
2280
|
* @see https://tailwindcss.com/docs/rotate
|
|
2281
2281
|
*/
|
|
2282
2282
|
"rotate-x": [{
|
|
2283
|
-
"rotate-x":
|
|
2283
|
+
"rotate-x": be()
|
|
2284
2284
|
}],
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Rotate Y
|
|
2287
2287
|
* @see https://tailwindcss.com/docs/rotate
|
|
2288
2288
|
*/
|
|
2289
2289
|
"rotate-y": [{
|
|
2290
|
-
"rotate-y":
|
|
2290
|
+
"rotate-y": be()
|
|
2291
2291
|
}],
|
|
2292
2292
|
/**
|
|
2293
2293
|
* Rotate Z
|
|
2294
2294
|
* @see https://tailwindcss.com/docs/rotate
|
|
2295
2295
|
*/
|
|
2296
2296
|
"rotate-z": [{
|
|
2297
|
-
"rotate-z":
|
|
2297
|
+
"rotate-z": be()
|
|
2298
2298
|
}],
|
|
2299
2299
|
/**
|
|
2300
2300
|
* Scale
|
|
2301
2301
|
* @see https://tailwindcss.com/docs/scale
|
|
2302
2302
|
*/
|
|
2303
2303
|
scale: [{
|
|
2304
|
-
scale:
|
|
2304
|
+
scale: pe()
|
|
2305
2305
|
}],
|
|
2306
2306
|
/**
|
|
2307
2307
|
* Scale X
|
|
2308
2308
|
* @see https://tailwindcss.com/docs/scale
|
|
2309
2309
|
*/
|
|
2310
2310
|
"scale-x": [{
|
|
2311
|
-
"scale-x":
|
|
2311
|
+
"scale-x": pe()
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Scale Y
|
|
2315
2315
|
* @see https://tailwindcss.com/docs/scale
|
|
2316
2316
|
*/
|
|
2317
2317
|
"scale-y": [{
|
|
2318
|
-
"scale-y":
|
|
2318
|
+
"scale-y": pe()
|
|
2319
2319
|
}],
|
|
2320
2320
|
/**
|
|
2321
2321
|
* Scale Z
|
|
2322
2322
|
* @see https://tailwindcss.com/docs/scale
|
|
2323
2323
|
*/
|
|
2324
2324
|
"scale-z": [{
|
|
2325
|
-
"scale-z":
|
|
2325
|
+
"scale-z": pe()
|
|
2326
2326
|
}],
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Scale 3D
|
|
@@ -2334,21 +2334,21 @@ const sn = (e, r) => {
|
|
|
2334
2334
|
* @see https://tailwindcss.com/docs/skew
|
|
2335
2335
|
*/
|
|
2336
2336
|
skew: [{
|
|
2337
|
-
skew:
|
|
2337
|
+
skew: Le()
|
|
2338
2338
|
}],
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Skew X
|
|
2341
2341
|
* @see https://tailwindcss.com/docs/skew
|
|
2342
2342
|
*/
|
|
2343
2343
|
"skew-x": [{
|
|
2344
|
-
"skew-x":
|
|
2344
|
+
"skew-x": Le()
|
|
2345
2345
|
}],
|
|
2346
2346
|
/**
|
|
2347
2347
|
* Skew Y
|
|
2348
2348
|
* @see https://tailwindcss.com/docs/skew
|
|
2349
2349
|
*/
|
|
2350
2350
|
"skew-y": [{
|
|
2351
|
-
"skew-y":
|
|
2351
|
+
"skew-y": Le()
|
|
2352
2352
|
}],
|
|
2353
2353
|
/**
|
|
2354
2354
|
* Transform
|
|
@@ -2376,28 +2376,28 @@ const sn = (e, r) => {
|
|
|
2376
2376
|
* @see https://tailwindcss.com/docs/translate
|
|
2377
2377
|
*/
|
|
2378
2378
|
translate: [{
|
|
2379
|
-
translate:
|
|
2379
|
+
translate: he()
|
|
2380
2380
|
}],
|
|
2381
2381
|
/**
|
|
2382
2382
|
* Translate X
|
|
2383
2383
|
* @see https://tailwindcss.com/docs/translate
|
|
2384
2384
|
*/
|
|
2385
2385
|
"translate-x": [{
|
|
2386
|
-
"translate-x":
|
|
2386
|
+
"translate-x": he()
|
|
2387
2387
|
}],
|
|
2388
2388
|
/**
|
|
2389
2389
|
* Translate Y
|
|
2390
2390
|
* @see https://tailwindcss.com/docs/translate
|
|
2391
2391
|
*/
|
|
2392
2392
|
"translate-y": [{
|
|
2393
|
-
"translate-y":
|
|
2393
|
+
"translate-y": he()
|
|
2394
2394
|
}],
|
|
2395
2395
|
/**
|
|
2396
2396
|
* Translate Z
|
|
2397
2397
|
* @see https://tailwindcss.com/docs/translate
|
|
2398
2398
|
*/
|
|
2399
2399
|
"translate-z": [{
|
|
2400
|
-
"translate-z":
|
|
2400
|
+
"translate-z": he()
|
|
2401
2401
|
}],
|
|
2402
2402
|
/**
|
|
2403
2403
|
* Translate None
|
|
@@ -2679,7 +2679,7 @@ const sn = (e, r) => {
|
|
|
2679
2679
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2680
2680
|
*/
|
|
2681
2681
|
"stroke-w": [{
|
|
2682
|
-
stroke: [C,
|
|
2682
|
+
stroke: [C, te, q, Be]
|
|
2683
2683
|
}],
|
|
2684
2684
|
/**
|
|
2685
2685
|
* Stroke
|
|
@@ -2754,22 +2754,22 @@ const sn = (e, r) => {
|
|
|
2754
2754
|
},
|
|
2755
2755
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2756
2756
|
};
|
|
2757
|
-
},
|
|
2757
|
+
}, Q = /* @__PURE__ */ An(Hn), Wn = {
|
|
2758
2758
|
auto: "h-auto text-base",
|
|
2759
2759
|
40: "h-10 text-sm",
|
|
2760
2760
|
44: "h-11 text-base",
|
|
2761
2761
|
48: "h-12 text-xl"
|
|
2762
|
-
},
|
|
2762
|
+
}, Zn = {
|
|
2763
2763
|
none: "rounded-0",
|
|
2764
2764
|
8: "rounded-lg",
|
|
2765
2765
|
12: "rounded-xl",
|
|
2766
2766
|
16: "rounded-2xl",
|
|
2767
2767
|
full: "rounded-full"
|
|
2768
|
-
},
|
|
2769
|
-
primary: "bg-linear-to-tr border border-transparent from-primary-orange-500 active:bg-clip-padding active:outline active:outline-primary-orange-500 to-primary-red-700 hover:from-[#C44417] hover:to-[#921C20] font-medium justify-center px-4 text-white
|
|
2770
|
-
secondary: "border border-primary-orange-500 text-primary-orange-500 active:border-transparent active:bg-clip-padding active:outline active:outline-primary-orange-500 font-medium justify-center px-4 hover:text-white hover:bg-primary-orange-500
|
|
2768
|
+
}, Xn = {
|
|
2769
|
+
primary: "bg-linear-to-tr border border-transparent from-primary-orange-500 active:bg-clip-padding active:outline active:outline-primary-orange-500 to-primary-red-700 hover:from-[#C44417] hover:to-[#921C20] font-medium justify-center px-4 text-white filled-button",
|
|
2770
|
+
secondary: "border border-primary-orange-500 text-primary-orange-500 active:border-transparent active:bg-clip-padding active:outline active:outline-primary-orange-500 font-medium justify-center px-4 hover:text-white hover:bg-primary-orange-500 filled-button",
|
|
2771
2771
|
ghost: "bg-transparent font-medium justify-center"
|
|
2772
|
-
},
|
|
2772
|
+
}, Yn = {
|
|
2773
2773
|
12: "text-xs",
|
|
2774
2774
|
14: "text-sm",
|
|
2775
2775
|
16: "text-base",
|
|
@@ -2781,17 +2781,17 @@ const sn = (e, r) => {
|
|
|
2781
2781
|
36: "lg:text-4xl text-3.5xl",
|
|
2782
2782
|
40: "lg:text-4.5xl text-3.5xl",
|
|
2783
2783
|
48: "lg:text-5xl text-4.5xl"
|
|
2784
|
-
},
|
|
2784
|
+
}, qn = {
|
|
2785
2785
|
normal: "font-normal",
|
|
2786
2786
|
medium: "font-medium",
|
|
2787
2787
|
semibold: "font-semibold",
|
|
2788
2788
|
bold: "font-bold"
|
|
2789
|
-
},
|
|
2789
|
+
}, Jn = {
|
|
2790
2790
|
white: "text-white",
|
|
2791
2791
|
black: "text-base-neutral-800"
|
|
2792
|
-
},
|
|
2792
|
+
}, Qn = {
|
|
2793
2793
|
poppins: "font-poppins"
|
|
2794
|
-
},
|
|
2794
|
+
}, Ma = /* @__PURE__ */ W({
|
|
2795
2795
|
inheritAttrs: !1,
|
|
2796
2796
|
__name: "Button",
|
|
2797
2797
|
props: {
|
|
@@ -2808,43 +2808,43 @@ const sn = (e, r) => {
|
|
|
2808
2808
|
iconClassList: {}
|
|
2809
2809
|
},
|
|
2810
2810
|
setup(e) {
|
|
2811
|
-
const r =
|
|
2811
|
+
const r = rn(), n = e, o = O(
|
|
2812
2812
|
() => {
|
|
2813
|
-
const a =
|
|
2814
|
-
return n.iconPosition === "end" && n.icon && s.push("flex-row-reverse", "gap-2"),
|
|
2813
|
+
const a = Xn[n.variant], c = Wn[n.size], l = Zn[n.radius], s = ["mds-button", "flex", "items-center", "group", "whitespace-nowrap", "transition-all", "duration-500"];
|
|
2814
|
+
return n.iconPosition === "end" && n.icon && s.push("flex-row-reverse", "gap-2"), Q(a, c, l, s, n.classList);
|
|
2815
2815
|
}
|
|
2816
2816
|
);
|
|
2817
2817
|
return (a, c) => {
|
|
2818
|
-
const l =
|
|
2819
|
-
return
|
|
2818
|
+
const l = He("Iconsax");
|
|
2819
|
+
return x(), V(We(e.to ? "router-link" : "m-button"), Rr({
|
|
2820
2820
|
to: e.to,
|
|
2821
2821
|
class: o.value,
|
|
2822
2822
|
disabled: e.loading
|
|
2823
|
-
},
|
|
2824
|
-
default:
|
|
2825
|
-
e.loading ? (
|
|
2823
|
+
}, Ae(r)), {
|
|
2824
|
+
default: Ze(() => [
|
|
2825
|
+
e.loading ? (x(), V(l, {
|
|
2826
2826
|
key: 0,
|
|
2827
2827
|
name: "svg-spinners:180-ring-with-bg",
|
|
2828
2828
|
class: "text-2xl"
|
|
2829
|
-
})) : (
|
|
2830
|
-
|
|
2831
|
-
e.icon ? (
|
|
2829
|
+
})) : (x(), D(ne, { key: 1 }, [
|
|
2830
|
+
J(a.$slots, "before"),
|
|
2831
|
+
e.icon ? (x(), V(l, {
|
|
2832
2832
|
key: 0,
|
|
2833
2833
|
name: e.icon,
|
|
2834
|
-
class:
|
|
2834
|
+
class: K(e.iconClassList)
|
|
2835
2835
|
}, null, 8, ["name", "class"])) : G("", !0),
|
|
2836
|
-
e.text ? (
|
|
2836
|
+
e.text ? (x(), D("span", {
|
|
2837
2837
|
key: 1,
|
|
2838
|
-
class:
|
|
2839
|
-
},
|
|
2840
|
-
|
|
2838
|
+
class: K(e.textClassList)
|
|
2839
|
+
}, $(e.text), 3)) : G("", !0),
|
|
2840
|
+
J(a.$slots, "default")
|
|
2841
2841
|
], 64))
|
|
2842
2842
|
]),
|
|
2843
2843
|
_: 3
|
|
2844
2844
|
}, 16, ["to", "class", "disabled"]);
|
|
2845
2845
|
};
|
|
2846
2846
|
}
|
|
2847
|
-
}),
|
|
2847
|
+
}), eo = ["icon-name"], $e = /* @__PURE__ */ W({
|
|
2848
2848
|
__name: "Iconsax",
|
|
2849
2849
|
props: {
|
|
2850
2850
|
name: {},
|
|
@@ -2852,42 +2852,33 @@ const sn = (e, r) => {
|
|
|
2852
2852
|
size: { default: 24 }
|
|
2853
2853
|
},
|
|
2854
2854
|
setup(e) {
|
|
2855
|
-
return (r, n) => (
|
|
2855
|
+
return (r, n) => (x(), D("i", {
|
|
2856
2856
|
class: "iconsax",
|
|
2857
|
-
style:
|
|
2857
|
+
style: Xe({ color: e.color, fontSize: e.size + "px" }),
|
|
2858
2858
|
"icon-name": e.name
|
|
2859
|
-
}, null, 12,
|
|
2859
|
+
}, null, 12, eo));
|
|
2860
2860
|
}
|
|
2861
|
-
}),
|
|
2861
|
+
}), ro = { key: 0 }, no = { class: "list-disc list-inside grid gap-0.5 text-xs mt-2 text-red-400" }, oo = /* @__PURE__ */ W({
|
|
2862
2862
|
__name: "Error",
|
|
2863
2863
|
props: {
|
|
2864
2864
|
errors: {}
|
|
2865
2865
|
},
|
|
2866
2866
|
setup(e) {
|
|
2867
2867
|
return (r, n) => {
|
|
2868
|
-
var
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
(w(!0), D(te, null, Qe(e.errors, (l, s) => (w(), B(o, { key: s }, {
|
|
2874
|
-
default: K(() => [
|
|
2875
|
-
ae(z(l), 1)
|
|
2876
|
-
]),
|
|
2877
|
-
_: 2
|
|
2878
|
-
}, 1024))), 128))
|
|
2879
|
-
]),
|
|
2880
|
-
_: 1
|
|
2881
|
-
})
|
|
2868
|
+
var o;
|
|
2869
|
+
return (o = e.errors) != null && o.length ? (x(), D("div", ro, [
|
|
2870
|
+
P("ul", no, [
|
|
2871
|
+
(x(!0), D(ne, null, Ye(e.errors, (a, c) => (x(), D("li", { key: c }, $(a), 1))), 128))
|
|
2872
|
+
])
|
|
2882
2873
|
])) : G("", !0);
|
|
2883
2874
|
};
|
|
2884
2875
|
}
|
|
2885
|
-
}),
|
|
2876
|
+
}), rr = (e, r) => {
|
|
2886
2877
|
const n = e.__vccOpts || e;
|
|
2887
2878
|
for (const [o, a] of r)
|
|
2888
2879
|
n[o] = a;
|
|
2889
2880
|
return n;
|
|
2890
|
-
},
|
|
2881
|
+
}, Ea = /* @__PURE__ */ rr(oo, [["__scopeId", "data-v-bc42036c"]]), Ne = [
|
|
2891
2882
|
{
|
|
2892
2883
|
name: "Afghanistan",
|
|
2893
2884
|
dial_code: "+93",
|
|
@@ -5486,10 +5477,10 @@ const sn = (e, r) => {
|
|
|
5486
5477
|
currency_symbol: "€"
|
|
5487
5478
|
}
|
|
5488
5479
|
];
|
|
5489
|
-
function
|
|
5480
|
+
function ao(e, r, n = "click") {
|
|
5490
5481
|
const o = (a) => {
|
|
5491
5482
|
try {
|
|
5492
|
-
const c =
|
|
5483
|
+
const c = Ae(e);
|
|
5493
5484
|
if (!c) return;
|
|
5494
5485
|
const l = a == null ? void 0 : a.target;
|
|
5495
5486
|
if (!l) return;
|
|
@@ -5497,9 +5488,9 @@ function lo(e, r, n = "click") {
|
|
|
5497
5488
|
} catch {
|
|
5498
5489
|
}
|
|
5499
5490
|
};
|
|
5500
|
-
|
|
5491
|
+
ye(() => document.addEventListener(n, o)), qe(() => document.removeEventListener(n, o));
|
|
5501
5492
|
}
|
|
5502
|
-
const
|
|
5493
|
+
const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo = { class: "mx-2 opacity-60" }, to = ["onClick", "aria-label"], so = /* @__PURE__ */ W({
|
|
5503
5494
|
__name: "CountryCode",
|
|
5504
5495
|
props: {
|
|
5505
5496
|
modelValue: { default: "+964" },
|
|
@@ -5507,12 +5498,12 @@ const to = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, so =
|
|
|
5507
5498
|
},
|
|
5508
5499
|
emits: ["update:modelValue"],
|
|
5509
5500
|
setup(e) {
|
|
5510
|
-
const r =
|
|
5511
|
-
if (b(), !s.value) return
|
|
5501
|
+
const r = oe(e, "modelValue"), n = L(!1), o = L(null), a = L(null), c = L({}), l = L(null), s = L(), t = O(() => Ne.find((p) => p.dial_code == r.value)), i = O(() => {
|
|
5502
|
+
if (b(), !s.value) return Ne;
|
|
5512
5503
|
let p = s.value.toLocaleLowerCase();
|
|
5513
|
-
return
|
|
5514
|
-
var
|
|
5515
|
-
return k.name.toLocaleLowerCase().includes(p) || ((
|
|
5504
|
+
return Ne.filter((k) => {
|
|
5505
|
+
var w, m;
|
|
5506
|
+
return k.name.toLocaleLowerCase().includes(p) || ((w = k.local_name) == null ? void 0 : w.toLocaleLowerCase().includes(p)) || ((m = k.code) == null ? void 0 : m.toLocaleLowerCase().includes(p)) || k.dial_code.toLocaleLowerCase().includes(p);
|
|
5516
5507
|
});
|
|
5517
5508
|
}), d = (p) => {
|
|
5518
5509
|
r.value = p, s.value = void 0, n.value = !1;
|
|
@@ -5520,88 +5511,81 @@ const to = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, so =
|
|
|
5520
5511
|
n.value = !n.value, n.value && setTimeout(b, 0);
|
|
5521
5512
|
}, b = () => {
|
|
5522
5513
|
if (!l.value || !a.value || !o.value) return;
|
|
5523
|
-
const p = l.value.getBoundingClientRect(), k = o.value.getBoundingClientRect(),
|
|
5514
|
+
const p = l.value.getBoundingClientRect(), k = o.value.getBoundingClientRect(), w = a.value.offsetHeight, m = window.innerHeight - p.bottom, M = p.top, T = w > m && M > w, R = p.left - k.left, u = T ? p.top - k.top - w - 5 : p.bottom - k.top + 5;
|
|
5524
5515
|
c.value = {
|
|
5525
5516
|
position: "absolute",
|
|
5526
5517
|
left: `${R}px`,
|
|
5527
|
-
top: `${
|
|
5518
|
+
top: `${u}px`,
|
|
5528
5519
|
width: `${p.width}px`
|
|
5529
5520
|
};
|
|
5530
5521
|
};
|
|
5531
|
-
return
|
|
5522
|
+
return ye(() => {
|
|
5532
5523
|
window.addEventListener("scroll", b, !0), window.addEventListener("resize", b);
|
|
5533
|
-
}),
|
|
5524
|
+
}), Je(() => {
|
|
5534
5525
|
window.removeEventListener("scroll", b, !0), window.removeEventListener("resize", b);
|
|
5535
|
-
}),
|
|
5526
|
+
}), ao(o, () => {
|
|
5536
5527
|
n.value = !1;
|
|
5537
5528
|
}), (p, k) => {
|
|
5538
|
-
|
|
5539
|
-
return
|
|
5529
|
+
var w;
|
|
5530
|
+
return x(), D("div", {
|
|
5540
5531
|
ref_key: "wrapperRef",
|
|
5541
5532
|
ref: o,
|
|
5542
5533
|
class: "text-sm relative"
|
|
5543
5534
|
}, [
|
|
5544
|
-
|
|
5545
|
-
|
|
5535
|
+
P("div", co, [
|
|
5536
|
+
P("div", {
|
|
5537
|
+
role: "button",
|
|
5546
5538
|
ref_key: "buttonRef",
|
|
5547
5539
|
ref: l,
|
|
5548
5540
|
onClick: _,
|
|
5549
5541
|
type: "button",
|
|
5550
5542
|
class: "flex gap-1 items-center cursor-pointer",
|
|
5551
5543
|
"aria-label": "Select Country Code"
|
|
5552
|
-
},
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
j("span", so, z((u = t.value) == null ? void 0 : u.dial_code), 1)
|
|
5557
|
-
];
|
|
5558
|
-
}),
|
|
5559
|
-
_: 1
|
|
5560
|
-
}, 512),
|
|
5561
|
-
k[1] || (k[1] = j("span", null, null, -1))
|
|
5544
|
+
}, [
|
|
5545
|
+
P("span", lo, $((w = t.value) == null ? void 0 : w.dial_code), 1)
|
|
5546
|
+
], 512),
|
|
5547
|
+
k[1] || (k[1] = P("span", null, null, -1))
|
|
5562
5548
|
]),
|
|
5563
|
-
|
|
5564
|
-
class:
|
|
5549
|
+
P("div", {
|
|
5550
|
+
class: K(["absolute rounded-lg min-w-36 border border-base-neutral-100 text-sm bg-base-neutral-50 start-0 z-10", n.value ? "border overflow-hidden h-48" : "h-0 overflow-hidden border-0"]),
|
|
5565
5551
|
ref_key: "dropdownRef",
|
|
5566
5552
|
ref: a,
|
|
5567
|
-
style:
|
|
5553
|
+
style: Xe(c.value)
|
|
5568
5554
|
}, [
|
|
5569
|
-
|
|
5555
|
+
Mr(P("input", {
|
|
5570
5556
|
name: "search",
|
|
5571
|
-
"onUpdate:modelValue": k[0] || (k[0] = (
|
|
5557
|
+
"onUpdate:modelValue": k[0] || (k[0] = (m) => s.value = m),
|
|
5572
5558
|
placeholder: "search",
|
|
5573
5559
|
class: "w-full focus:ring-0 border-b h-12 border-base-neutral-100 focus:outline-none px-3 py-2"
|
|
5574
5560
|
}, null, 512), [
|
|
5575
|
-
[
|
|
5561
|
+
[Er, s.value]
|
|
5576
5562
|
]),
|
|
5577
|
-
|
|
5578
|
-
class:
|
|
5563
|
+
P("div", {
|
|
5564
|
+
class: K(["no-scrollbar", n.value ? "max-h-36 min-h-12 overflow-y-auto" : "h-0 overflow-hidden"])
|
|
5579
5565
|
}, [
|
|
5580
|
-
(
|
|
5566
|
+
(x(!0), D(ne, null, Ye(i.value, (m) => (x(), D("div", {
|
|
5567
|
+
role: "button",
|
|
5581
5568
|
type: "button",
|
|
5582
|
-
onClick: (
|
|
5569
|
+
onClick: (M) => d(m.dial_code),
|
|
5583
5570
|
class: "flex gap-2 w-full hover:bg-base-neutral-100/30 border-b last-of-type:border-0 border-base-neutral-100 px-3 h-12 items-center",
|
|
5584
|
-
"aria-label": `Select country code ${
|
|
5585
|
-
},
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
]),
|
|
5592
|
-
_: 2
|
|
5593
|
-
}, 1032, ["onClick", "aria-label"]))), 256))
|
|
5571
|
+
"aria-label": `Select country code ${m.name}`
|
|
5572
|
+
}, [
|
|
5573
|
+
P("span", null, [
|
|
5574
|
+
de($(m.code) + " ", 1),
|
|
5575
|
+
P("span", null, $(m.dial_code), 1)
|
|
5576
|
+
])
|
|
5577
|
+
], 8, to))), 256))
|
|
5594
5578
|
], 2)
|
|
5595
5579
|
], 6)
|
|
5596
5580
|
], 512);
|
|
5597
5581
|
};
|
|
5598
5582
|
}
|
|
5599
|
-
}),
|
|
5583
|
+
}), io = { class: "main-input" }, uo = ["for"], mo = {
|
|
5600
5584
|
key: 0,
|
|
5601
5585
|
class: "text-red-500"
|
|
5602
|
-
}, yo = { class: "relative w-full" }, fo = /* @__PURE__ */
|
|
5586
|
+
}, yo = { class: "relative w-full" }, fo = /* @__PURE__ */ W({
|
|
5603
5587
|
__name: "Input",
|
|
5604
|
-
props: /* @__PURE__ */
|
|
5588
|
+
props: /* @__PURE__ */ Qe({
|
|
5605
5589
|
id: {},
|
|
5606
5590
|
label: {},
|
|
5607
5591
|
type: { default: "text" },
|
|
@@ -5621,64 +5605,59 @@ const to = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, so =
|
|
|
5621
5605
|
}),
|
|
5622
5606
|
emits: ["update:code", "update:modelValue"],
|
|
5623
5607
|
setup(e) {
|
|
5624
|
-
const r = e, n =
|
|
5608
|
+
const r = e, n = L(!1), o = oe(e, "code"), a = oe(e, "modelValue"), c = O(() => {
|
|
5625
5609
|
let t = "text-sm w-full bg-off-white border border-off-white hover:border-base-neutral-300 focus:border-primary-red-700 focus:ring-0 outline-none transition-all duration-300 px-3 text-black placeholder:text-base-neutral-300 disabled:bg-input-disabled-bg disabled:text-base-neutral-200";
|
|
5626
|
-
return r.tag === "input" && (t += " h-12"), r.tag === "textarea" && (t += " resize-none min-h-12 pt-3"), r.type === "tel" && (t += " ps-12"), r.type === "password" && (t += " pe-12"), r.rounded === "full" ? t += " rounded-full" : r.rounded === "lg" ? t += " rounded-lg" : t += " rounded-xl",
|
|
5627
|
-
}), l = O(() =>
|
|
5610
|
+
return r.tag === "input" && (t += " h-12"), r.tag === "textarea" && (t += " resize-none min-h-12 pt-3"), r.type === "tel" && (t += " ps-12"), r.type === "password" && (t += " pe-12"), r.rounded === "full" ? t += " rounded-full" : r.rounded === "lg" ? t += " rounded-lg" : t += " rounded-xl", Q(t, r.classList);
|
|
5611
|
+
}), l = O(() => Q("font-medium text-base flex mb-1", r.labelClassList)), s = (t) => {
|
|
5628
5612
|
a.value = t.target.value, r.tag === "textarea" && (t.target.style.height = "auto", t.target.style.height = t.target.scrollHeight + "px");
|
|
5629
5613
|
};
|
|
5630
5614
|
return (t, i) => {
|
|
5631
|
-
var
|
|
5632
|
-
const d =
|
|
5633
|
-
return
|
|
5634
|
-
|
|
5615
|
+
var _;
|
|
5616
|
+
const d = He("AppFormError");
|
|
5617
|
+
return x(), D("div", io, [
|
|
5618
|
+
P("label", {
|
|
5635
5619
|
for: e.id,
|
|
5636
|
-
class:
|
|
5637
|
-
},
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
}, 8, ["for", "class"]),
|
|
5644
|
-
j("div", yo, [
|
|
5645
|
-
e.type === "tel" ? (w(), B(io, {
|
|
5620
|
+
class: K(l.value)
|
|
5621
|
+
}, [
|
|
5622
|
+
de($(e.label) + " ", 1),
|
|
5623
|
+
e.required ? (x(), D("span", mo, "*")) : G("", !0)
|
|
5624
|
+
], 10, uo),
|
|
5625
|
+
P("div", yo, [
|
|
5626
|
+
e.type === "tel" ? (x(), V(so, {
|
|
5646
5627
|
key: 0,
|
|
5647
5628
|
modelValue: o.value,
|
|
5648
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
5629
|
+
"onUpdate:modelValue": i[0] || (i[0] = (b) => o.value = b)
|
|
5649
5630
|
}, null, 8, ["modelValue"])) : G("", !0),
|
|
5650
|
-
(
|
|
5631
|
+
(x(), V(We(e.tag), Rr({
|
|
5651
5632
|
value: a.value,
|
|
5652
5633
|
onInput: s,
|
|
5653
5634
|
id: e.id,
|
|
5654
5635
|
type: n.value ? "text" : e.type,
|
|
5655
5636
|
placeholder: e.placeholder,
|
|
5656
5637
|
class: c.value,
|
|
5657
|
-
error: !!((
|
|
5638
|
+
error: !!((_ = e.errors) != null && _.length)
|
|
5658
5639
|
}, t.$attrs), null, 16, ["value", "id", "type", "placeholder", "class", "error"])),
|
|
5659
|
-
|
|
5660
|
-
e.type === "password" ? (
|
|
5640
|
+
J(t.$slots, "prefix", {}, void 0, !0),
|
|
5641
|
+
e.type === "password" ? (x(), D("div", {
|
|
5661
5642
|
key: 1,
|
|
5643
|
+
role: "button",
|
|
5662
5644
|
class: "absolute end-4 top-3",
|
|
5663
5645
|
type: "button",
|
|
5664
|
-
onClick: i[1] || (i[1] =
|
|
5646
|
+
onClick: i[1] || (i[1] = De((b) => n.value = !n.value, ["stop"])),
|
|
5665
5647
|
"aria-label": "Toggle Password Visibility"
|
|
5666
|
-
},
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
]),
|
|
5674
|
-
_: 1
|
|
5675
|
-
})) : G("", !0)
|
|
5648
|
+
}, [
|
|
5649
|
+
ue($e, {
|
|
5650
|
+
name: n.value ? "eye" : "eye-slash",
|
|
5651
|
+
class: "text-black",
|
|
5652
|
+
size: "20"
|
|
5653
|
+
}, null, 8, ["name"])
|
|
5654
|
+
])) : G("", !0)
|
|
5676
5655
|
]),
|
|
5677
|
-
|
|
5656
|
+
ue(d, { errors: e.errors }, null, 8, ["errors"])
|
|
5678
5657
|
]);
|
|
5679
5658
|
};
|
|
5680
5659
|
}
|
|
5681
|
-
}),
|
|
5660
|
+
}), Ia = /* @__PURE__ */ rr(fo, [["__scopeId", "data-v-a10b959a"]]), Vr = /^[a-z0-9]+(-[a-z0-9]+)*$/, Ie = (e, r, n, o = "") => {
|
|
5682
5661
|
const a = e.split(":");
|
|
5683
5662
|
if (e.slice(0, 1) === "@") {
|
|
5684
5663
|
if (a.length < 2 || a.length > 3)
|
|
@@ -5694,7 +5673,7 @@ const to = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, so =
|
|
|
5694
5673
|
prefix: t,
|
|
5695
5674
|
name: s
|
|
5696
5675
|
};
|
|
5697
|
-
return r && !
|
|
5676
|
+
return r && !ke(i) ? null : i;
|
|
5698
5677
|
}
|
|
5699
5678
|
const c = a[0], l = c.split("-");
|
|
5700
5679
|
if (l.length > 1) {
|
|
@@ -5703,7 +5682,7 @@ const to = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, so =
|
|
|
5703
5682
|
prefix: l.shift(),
|
|
5704
5683
|
name: l.join("-")
|
|
5705
5684
|
};
|
|
5706
|
-
return r && !
|
|
5685
|
+
return r && !ke(s) ? null : s;
|
|
5707
5686
|
}
|
|
5708
5687
|
if (n && o === "") {
|
|
5709
5688
|
const s = {
|
|
@@ -5711,27 +5690,27 @@ const to = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, so =
|
|
|
5711
5690
|
prefix: "",
|
|
5712
5691
|
name: c
|
|
5713
5692
|
};
|
|
5714
|
-
return r && !
|
|
5693
|
+
return r && !ke(s, n) ? null : s;
|
|
5715
5694
|
}
|
|
5716
5695
|
return null;
|
|
5717
|
-
},
|
|
5696
|
+
}, ke = (e, r) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
5718
5697
|
// Check name: cannot be empty
|
|
5719
|
-
((r && e.prefix === "" || e.prefix) && e.name) : !1,
|
|
5698
|
+
((r && e.prefix === "" || e.prefix) && e.name) : !1, jr = Object.freeze(
|
|
5720
5699
|
{
|
|
5721
5700
|
left: 0,
|
|
5722
5701
|
top: 0,
|
|
5723
5702
|
width: 16,
|
|
5724
5703
|
height: 16
|
|
5725
5704
|
}
|
|
5726
|
-
),
|
|
5705
|
+
), Ee = Object.freeze({
|
|
5727
5706
|
rotate: 0,
|
|
5728
5707
|
vFlip: !1,
|
|
5729
5708
|
hFlip: !1
|
|
5730
|
-
}),
|
|
5731
|
-
...
|
|
5732
|
-
...
|
|
5733
|
-
}),
|
|
5734
|
-
...
|
|
5709
|
+
}), Fe = Object.freeze({
|
|
5710
|
+
...jr,
|
|
5711
|
+
...Ee
|
|
5712
|
+
}), Oe = Object.freeze({
|
|
5713
|
+
...Fe,
|
|
5735
5714
|
body: "",
|
|
5736
5715
|
hidden: !1
|
|
5737
5716
|
});
|
|
@@ -5741,10 +5720,10 @@ function _o(e, r) {
|
|
|
5741
5720
|
const o = ((e.rotate || 0) + (r.rotate || 0)) % 4;
|
|
5742
5721
|
return o && (n.rotate = o), n;
|
|
5743
5722
|
}
|
|
5744
|
-
function
|
|
5723
|
+
function gr(e, r) {
|
|
5745
5724
|
const n = _o(e, r);
|
|
5746
|
-
for (const o in
|
|
5747
|
-
o in
|
|
5725
|
+
for (const o in Oe)
|
|
5726
|
+
o in Ee ? o in e && !(o in n) && (n[o] = Ee[o]) : o in r ? n[o] = r[o] : o in e && (n[o] = e[o]);
|
|
5748
5727
|
return n;
|
|
5749
5728
|
}
|
|
5750
5729
|
function go(e, r) {
|
|
@@ -5761,18 +5740,18 @@ function go(e, r) {
|
|
|
5761
5740
|
}
|
|
5762
5741
|
return Object.keys(n).concat(Object.keys(o)).forEach(c), a;
|
|
5763
5742
|
}
|
|
5764
|
-
function
|
|
5743
|
+
function bo(e, r, n) {
|
|
5765
5744
|
const o = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
5766
5745
|
let c = {};
|
|
5767
5746
|
function l(s) {
|
|
5768
|
-
c =
|
|
5747
|
+
c = gr(
|
|
5769
5748
|
o[s] || a[s],
|
|
5770
5749
|
c
|
|
5771
5750
|
);
|
|
5772
5751
|
}
|
|
5773
|
-
return l(r), n.forEach(l),
|
|
5752
|
+
return l(r), n.forEach(l), gr(e, c);
|
|
5774
5753
|
}
|
|
5775
|
-
function
|
|
5754
|
+
function Hr(e, r) {
|
|
5776
5755
|
const n = [];
|
|
5777
5756
|
if (typeof e != "object" || typeof e.icons != "object")
|
|
5778
5757
|
return n;
|
|
@@ -5782,27 +5761,27 @@ function Xr(e, r) {
|
|
|
5782
5761
|
const o = go(e);
|
|
5783
5762
|
for (const a in o) {
|
|
5784
5763
|
const c = o[a];
|
|
5785
|
-
c && (r(a,
|
|
5764
|
+
c && (r(a, bo(e, a, c)), n.push(a));
|
|
5786
5765
|
}
|
|
5787
5766
|
return n;
|
|
5788
5767
|
}
|
|
5789
|
-
const
|
|
5768
|
+
const po = {
|
|
5790
5769
|
provider: "",
|
|
5791
5770
|
aliases: {},
|
|
5792
5771
|
not_found: {},
|
|
5793
|
-
...
|
|
5772
|
+
...jr
|
|
5794
5773
|
};
|
|
5795
|
-
function
|
|
5774
|
+
function Ue(e, r) {
|
|
5796
5775
|
for (const n in r)
|
|
5797
5776
|
if (n in e && typeof e[n] != typeof r[n])
|
|
5798
5777
|
return !1;
|
|
5799
5778
|
return !0;
|
|
5800
5779
|
}
|
|
5801
|
-
function
|
|
5780
|
+
function Wr(e) {
|
|
5802
5781
|
if (typeof e != "object" || e === null)
|
|
5803
5782
|
return null;
|
|
5804
5783
|
const r = e;
|
|
5805
|
-
if (typeof r.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
5784
|
+
if (typeof r.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ue(e, po))
|
|
5806
5785
|
return null;
|
|
5807
5786
|
const n = r.icons;
|
|
5808
5787
|
for (const a in n) {
|
|
@@ -5811,9 +5790,9 @@ function Yr(e) {
|
|
|
5811
5790
|
// Name cannot be empty
|
|
5812
5791
|
!a || // Must have body
|
|
5813
5792
|
typeof c.body != "string" || // Check other props
|
|
5814
|
-
!
|
|
5793
|
+
!Ue(
|
|
5815
5794
|
c,
|
|
5816
|
-
|
|
5795
|
+
Oe
|
|
5817
5796
|
)
|
|
5818
5797
|
)
|
|
5819
5798
|
return null;
|
|
@@ -5825,16 +5804,16 @@ function Yr(e) {
|
|
|
5825
5804
|
// Name cannot be empty
|
|
5826
5805
|
!a || // Parent must be set and point to existing icon
|
|
5827
5806
|
typeof l != "string" || !n[l] && !o[l] || // Check other props
|
|
5828
|
-
!
|
|
5807
|
+
!Ue(
|
|
5829
5808
|
c,
|
|
5830
|
-
|
|
5809
|
+
Oe
|
|
5831
5810
|
)
|
|
5832
5811
|
)
|
|
5833
5812
|
return null;
|
|
5834
5813
|
}
|
|
5835
5814
|
return r;
|
|
5836
5815
|
}
|
|
5837
|
-
const
|
|
5816
|
+
const br = /* @__PURE__ */ Object.create(null);
|
|
5838
5817
|
function ho(e, r) {
|
|
5839
5818
|
return {
|
|
5840
5819
|
provider: e,
|
|
@@ -5843,12 +5822,12 @@ function ho(e, r) {
|
|
|
5843
5822
|
missing: /* @__PURE__ */ new Set()
|
|
5844
5823
|
};
|
|
5845
5824
|
}
|
|
5846
|
-
function
|
|
5847
|
-
const n =
|
|
5825
|
+
function ae(e, r) {
|
|
5826
|
+
const n = br[e] || (br[e] = /* @__PURE__ */ Object.create(null));
|
|
5848
5827
|
return n[r] || (n[r] = ho(e, r));
|
|
5849
5828
|
}
|
|
5850
|
-
function
|
|
5851
|
-
return
|
|
5829
|
+
function Zr(e, r) {
|
|
5830
|
+
return Wr(r) ? Hr(r, (n, o) => {
|
|
5852
5831
|
o ? e.icons[n] = o : e.missing.add(n);
|
|
5853
5832
|
}) : [];
|
|
5854
5833
|
}
|
|
@@ -5860,52 +5839,52 @@ function vo(e, r, n) {
|
|
|
5860
5839
|
}
|
|
5861
5840
|
return !1;
|
|
5862
5841
|
}
|
|
5863
|
-
let
|
|
5864
|
-
function
|
|
5865
|
-
return typeof e == "boolean" && (
|
|
5842
|
+
let me = !1;
|
|
5843
|
+
function Xr(e) {
|
|
5844
|
+
return typeof e == "boolean" && (me = e), me;
|
|
5866
5845
|
}
|
|
5867
5846
|
function wo(e) {
|
|
5868
|
-
const r = typeof e == "string" ?
|
|
5847
|
+
const r = typeof e == "string" ? Ie(e, !0, me) : e;
|
|
5869
5848
|
if (r) {
|
|
5870
|
-
const n =
|
|
5849
|
+
const n = ae(r.provider, r.prefix), o = r.name;
|
|
5871
5850
|
return n.icons[o] || (n.missing.has(o) ? null : void 0);
|
|
5872
5851
|
}
|
|
5873
5852
|
}
|
|
5874
5853
|
function xo(e, r) {
|
|
5875
|
-
const n =
|
|
5854
|
+
const n = Ie(e, !0, me);
|
|
5876
5855
|
if (!n)
|
|
5877
5856
|
return !1;
|
|
5878
|
-
const o =
|
|
5857
|
+
const o = ae(n.provider, n.prefix);
|
|
5879
5858
|
return r ? vo(o, n.name, r) : (o.missing.add(n.name), !0);
|
|
5880
5859
|
}
|
|
5881
5860
|
function ko(e, r) {
|
|
5882
5861
|
if (typeof e != "object")
|
|
5883
5862
|
return !1;
|
|
5884
|
-
if (typeof r != "string" && (r = e.provider || ""),
|
|
5863
|
+
if (typeof r != "string" && (r = e.provider || ""), me && !r && !e.prefix) {
|
|
5885
5864
|
let a = !1;
|
|
5886
|
-
return
|
|
5865
|
+
return Wr(e) && (e.prefix = "", Hr(e, (c, l) => {
|
|
5887
5866
|
xo(c, l) && (a = !0);
|
|
5888
5867
|
})), a;
|
|
5889
5868
|
}
|
|
5890
5869
|
const n = e.prefix;
|
|
5891
|
-
if (!
|
|
5870
|
+
if (!ke({
|
|
5892
5871
|
prefix: n,
|
|
5893
5872
|
name: "a"
|
|
5894
5873
|
}))
|
|
5895
5874
|
return !1;
|
|
5896
|
-
const o =
|
|
5897
|
-
return !!
|
|
5875
|
+
const o = ae(r, n);
|
|
5876
|
+
return !!Zr(o, e);
|
|
5898
5877
|
}
|
|
5899
|
-
const
|
|
5878
|
+
const Yr = Object.freeze({
|
|
5900
5879
|
width: null,
|
|
5901
5880
|
height: null
|
|
5902
|
-
}),
|
|
5881
|
+
}), qr = Object.freeze({
|
|
5903
5882
|
// Dimensions
|
|
5904
|
-
...
|
|
5883
|
+
...Yr,
|
|
5905
5884
|
// Transformations
|
|
5906
|
-
...
|
|
5885
|
+
...Ee
|
|
5907
5886
|
}), So = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Co = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
5908
|
-
function
|
|
5887
|
+
function pr(e, r, n) {
|
|
5909
5888
|
if (r === 1)
|
|
5910
5889
|
return e;
|
|
5911
5890
|
if (n = n || 100, typeof e == "number")
|
|
@@ -5952,13 +5931,13 @@ function Ro(e, r, n) {
|
|
|
5952
5931
|
const o = Ao(e);
|
|
5953
5932
|
return Do(o.defs, r + o.content + n);
|
|
5954
5933
|
}
|
|
5955
|
-
const
|
|
5956
|
-
function
|
|
5934
|
+
const Mo = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
5935
|
+
function Eo(e, r) {
|
|
5957
5936
|
const n = {
|
|
5958
|
-
...
|
|
5937
|
+
...Fe,
|
|
5959
5938
|
...e
|
|
5960
5939
|
}, o = {
|
|
5961
|
-
...
|
|
5940
|
+
...qr,
|
|
5962
5941
|
...r
|
|
5963
5942
|
}, a = {
|
|
5964
5943
|
left: n.left,
|
|
@@ -5967,43 +5946,43 @@ function Mo(e, r) {
|
|
|
5967
5946
|
height: n.height
|
|
5968
5947
|
};
|
|
5969
5948
|
let c = n.body;
|
|
5970
|
-
[n, o].forEach((
|
|
5971
|
-
const
|
|
5972
|
-
let R =
|
|
5973
|
-
|
|
5949
|
+
[n, o].forEach((w) => {
|
|
5950
|
+
const m = [], M = w.hFlip, T = w.vFlip;
|
|
5951
|
+
let R = w.rotate;
|
|
5952
|
+
M ? T ? R += 2 : (m.push(
|
|
5974
5953
|
"translate(" + (a.width + a.left).toString() + " " + (0 - a.top).toString() + ")"
|
|
5975
|
-
),
|
|
5954
|
+
), m.push("scale(-1 1)"), a.top = a.left = 0) : T && (m.push(
|
|
5976
5955
|
"translate(" + (0 - a.left).toString() + " " + (a.height + a.top).toString() + ")"
|
|
5977
|
-
),
|
|
5978
|
-
let
|
|
5956
|
+
), m.push("scale(1 -1)"), a.top = a.left = 0);
|
|
5957
|
+
let u;
|
|
5979
5958
|
switch (R < 0 && (R -= Math.floor(R / 4) * 4), R = R % 4, R) {
|
|
5980
5959
|
case 1:
|
|
5981
|
-
|
|
5982
|
-
"rotate(90 " +
|
|
5960
|
+
u = a.height / 2 + a.top, m.unshift(
|
|
5961
|
+
"rotate(90 " + u.toString() + " " + u.toString() + ")"
|
|
5983
5962
|
);
|
|
5984
5963
|
break;
|
|
5985
5964
|
case 2:
|
|
5986
|
-
|
|
5965
|
+
m.unshift(
|
|
5987
5966
|
"rotate(180 " + (a.width / 2 + a.left).toString() + " " + (a.height / 2 + a.top).toString() + ")"
|
|
5988
5967
|
);
|
|
5989
5968
|
break;
|
|
5990
5969
|
case 3:
|
|
5991
|
-
|
|
5992
|
-
"rotate(-90 " +
|
|
5970
|
+
u = a.width / 2 + a.left, m.unshift(
|
|
5971
|
+
"rotate(-90 " + u.toString() + " " + u.toString() + ")"
|
|
5993
5972
|
);
|
|
5994
5973
|
break;
|
|
5995
5974
|
}
|
|
5996
|
-
R % 2 === 1 && (a.left !== a.top && (
|
|
5975
|
+
R % 2 === 1 && (a.left !== a.top && (u = a.left, a.left = a.top, a.top = u), a.width !== a.height && (u = a.width, a.width = a.height, a.height = u)), m.length && (c = Ro(
|
|
5997
5976
|
c,
|
|
5998
|
-
'<g transform="' +
|
|
5977
|
+
'<g transform="' + m.join(" ") + '">',
|
|
5999
5978
|
"</g>"
|
|
6000
5979
|
));
|
|
6001
5980
|
});
|
|
6002
5981
|
const l = o.width, s = o.height, t = a.width, i = a.height;
|
|
6003
5982
|
let d, _;
|
|
6004
|
-
l === null ? (_ = s === null ? "1em" : s === "auto" ? i : s, d =
|
|
6005
|
-
const b = {}, p = (
|
|
6006
|
-
|
|
5983
|
+
l === null ? (_ = s === null ? "1em" : s === "auto" ? i : s, d = pr(_, t / i)) : (d = l === "auto" ? t : l, _ = s === null ? pr(d, i / t) : s === "auto" ? i : s);
|
|
5984
|
+
const b = {}, p = (w, m) => {
|
|
5985
|
+
Mo(m) || (b[w] = m.toString());
|
|
6007
5986
|
};
|
|
6008
5987
|
p("width", d), p("height", _);
|
|
6009
5988
|
const k = [a.left, a.top, t, i];
|
|
@@ -6033,14 +6012,14 @@ function Lo(e, r = Fo) {
|
|
|
6033
6012
|
);
|
|
6034
6013
|
}), e = e.replace(new RegExp(a, "g"), ""), e;
|
|
6035
6014
|
}
|
|
6036
|
-
const
|
|
6015
|
+
const Ke = /* @__PURE__ */ Object.create(null);
|
|
6037
6016
|
function To(e, r) {
|
|
6038
|
-
|
|
6017
|
+
Ke[e] = r;
|
|
6039
6018
|
}
|
|
6040
|
-
function
|
|
6041
|
-
return
|
|
6019
|
+
function Ve(e) {
|
|
6020
|
+
return Ke[e] || Ke[""];
|
|
6042
6021
|
}
|
|
6043
|
-
function
|
|
6022
|
+
function nr(e) {
|
|
6044
6023
|
let r;
|
|
6045
6024
|
if (typeof e.resources == "string")
|
|
6046
6025
|
r = [e.resources];
|
|
@@ -6065,21 +6044,21 @@ function cr(e) {
|
|
|
6065
6044
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
6066
6045
|
};
|
|
6067
6046
|
}
|
|
6068
|
-
const
|
|
6047
|
+
const or = /* @__PURE__ */ Object.create(null), se = [
|
|
6069
6048
|
"https://api.simplesvg.com",
|
|
6070
6049
|
"https://api.unisvg.com"
|
|
6071
|
-
],
|
|
6072
|
-
for (;
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
resources: ["https://api.iconify.design"].concat(
|
|
6050
|
+
], Se = [];
|
|
6051
|
+
for (; se.length > 0; )
|
|
6052
|
+
se.length === 1 || Math.random() > 0.5 ? Se.push(se.shift()) : Se.push(se.pop());
|
|
6053
|
+
or[""] = nr({
|
|
6054
|
+
resources: ["https://api.iconify.design"].concat(Se)
|
|
6076
6055
|
});
|
|
6077
6056
|
function Bo(e, r) {
|
|
6078
|
-
const n =
|
|
6079
|
-
return n === null ? !1 : (
|
|
6057
|
+
const n = nr(r);
|
|
6058
|
+
return n === null ? !1 : (or[e] = n, !0);
|
|
6080
6059
|
}
|
|
6081
|
-
function
|
|
6082
|
-
return
|
|
6060
|
+
function ar(e) {
|
|
6061
|
+
return or[e];
|
|
6083
6062
|
}
|
|
6084
6063
|
const No = () => {
|
|
6085
6064
|
let e;
|
|
@@ -6089,9 +6068,9 @@ const No = () => {
|
|
|
6089
6068
|
} catch {
|
|
6090
6069
|
}
|
|
6091
6070
|
};
|
|
6092
|
-
let
|
|
6071
|
+
let hr = No();
|
|
6093
6072
|
function Uo(e, r) {
|
|
6094
|
-
const n =
|
|
6073
|
+
const n = ar(e);
|
|
6095
6074
|
if (!n)
|
|
6096
6075
|
return 0;
|
|
6097
6076
|
let o;
|
|
@@ -6110,7 +6089,7 @@ function Uo(e, r) {
|
|
|
6110
6089
|
function Go(e) {
|
|
6111
6090
|
return e === 404;
|
|
6112
6091
|
}
|
|
6113
|
-
const
|
|
6092
|
+
const zo = (e, r, n) => {
|
|
6114
6093
|
const o = [], a = Uo(e, r), c = "icons";
|
|
6115
6094
|
let l = {
|
|
6116
6095
|
type: c,
|
|
@@ -6127,20 +6106,20 @@ const $o = (e, r, n) => {
|
|
|
6127
6106
|
}, s = t.length), l.icons.push(t);
|
|
6128
6107
|
}), o.push(l), o;
|
|
6129
6108
|
};
|
|
6130
|
-
function
|
|
6109
|
+
function $o(e) {
|
|
6131
6110
|
if (typeof e == "string") {
|
|
6132
|
-
const r =
|
|
6111
|
+
const r = ar(e);
|
|
6133
6112
|
if (r)
|
|
6134
6113
|
return r.path;
|
|
6135
6114
|
}
|
|
6136
6115
|
return "/";
|
|
6137
6116
|
}
|
|
6138
6117
|
const Oo = (e, r, n) => {
|
|
6139
|
-
if (!
|
|
6118
|
+
if (!hr) {
|
|
6140
6119
|
n("abort", 424);
|
|
6141
6120
|
return;
|
|
6142
6121
|
}
|
|
6143
|
-
let o =
|
|
6122
|
+
let o = $o(r.provider);
|
|
6144
6123
|
switch (r.type) {
|
|
6145
6124
|
case "icons": {
|
|
6146
6125
|
const c = r.prefix, s = r.icons.join(","), t = new URLSearchParams({
|
|
@@ -6159,7 +6138,7 @@ const Oo = (e, r, n) => {
|
|
|
6159
6138
|
return;
|
|
6160
6139
|
}
|
|
6161
6140
|
let a = 503;
|
|
6162
|
-
|
|
6141
|
+
hr(e + o).then((c) => {
|
|
6163
6142
|
const l = c.status;
|
|
6164
6143
|
if (l !== 200) {
|
|
6165
6144
|
setTimeout(() => {
|
|
@@ -6182,7 +6161,7 @@ const Oo = (e, r, n) => {
|
|
|
6182
6161
|
n("next", a);
|
|
6183
6162
|
});
|
|
6184
6163
|
}, Ko = {
|
|
6185
|
-
prepare:
|
|
6164
|
+
prepare: zo,
|
|
6186
6165
|
send: Oo
|
|
6187
6166
|
};
|
|
6188
6167
|
function Vo(e) {
|
|
@@ -6201,7 +6180,7 @@ function Vo(e) {
|
|
|
6201
6180
|
if (o.name === a.name && o.prefix === a.prefix && o.provider === a.provider)
|
|
6202
6181
|
return;
|
|
6203
6182
|
o = a;
|
|
6204
|
-
const c = a.provider, l = a.prefix, s = a.name, t = n[c] || (n[c] = /* @__PURE__ */ Object.create(null)), i = t[l] || (t[l] =
|
|
6183
|
+
const c = a.provider, l = a.prefix, s = a.name, t = n[c] || (n[c] = /* @__PURE__ */ Object.create(null)), i = t[l] || (t[l] = ae(c, l));
|
|
6205
6184
|
let d;
|
|
6206
6185
|
s in i.icons ? d = r.loaded : l === "" || i.missing.has(s) ? d = r.missing : d = r.pending;
|
|
6207
6186
|
const _ = {
|
|
@@ -6212,7 +6191,7 @@ function Vo(e) {
|
|
|
6212
6191
|
d.push(_);
|
|
6213
6192
|
}), r;
|
|
6214
6193
|
}
|
|
6215
|
-
function
|
|
6194
|
+
function Jr(e, r) {
|
|
6216
6195
|
e.forEach((n) => {
|
|
6217
6196
|
const o = n.loaderCallbacks;
|
|
6218
6197
|
o && (n.loaderCallbacks = o.filter((a) => a.id !== r));
|
|
@@ -6247,7 +6226,7 @@ function jo(e) {
|
|
|
6247
6226
|
else
|
|
6248
6227
|
return n = !0, !0;
|
|
6249
6228
|
return !1;
|
|
6250
|
-
}), l.pending.length !== s && (n ||
|
|
6229
|
+
}), l.pending.length !== s && (n || Jr([e], c.id), c.callback(
|
|
6251
6230
|
l.loaded.slice(0),
|
|
6252
6231
|
l.missing.slice(0),
|
|
6253
6232
|
l.pending.slice(0),
|
|
@@ -6258,7 +6237,7 @@ function jo(e) {
|
|
|
6258
6237
|
}
|
|
6259
6238
|
let Ho = 0;
|
|
6260
6239
|
function Wo(e, r, n) {
|
|
6261
|
-
const o = Ho++, a =
|
|
6240
|
+
const o = Ho++, a = Jr.bind(null, n, o);
|
|
6262
6241
|
if (!r.pending.length)
|
|
6263
6242
|
return a;
|
|
6264
6243
|
const c = {
|
|
@@ -6274,7 +6253,7 @@ function Wo(e, r, n) {
|
|
|
6274
6253
|
function Zo(e, r = !0, n = !1) {
|
|
6275
6254
|
const o = [];
|
|
6276
6255
|
return e.forEach((a) => {
|
|
6277
|
-
const c = typeof a == "string" ?
|
|
6256
|
+
const c = typeof a == "string" ? Ie(a, r, n) : a;
|
|
6278
6257
|
c && o.push(c);
|
|
6279
6258
|
}), o;
|
|
6280
6259
|
}
|
|
@@ -6304,26 +6283,26 @@ function Yo(e, r, n, o) {
|
|
|
6304
6283
|
function k() {
|
|
6305
6284
|
_ && (clearTimeout(_), _ = null);
|
|
6306
6285
|
}
|
|
6307
|
-
function
|
|
6286
|
+
function w() {
|
|
6308
6287
|
t === "pending" && (t = "aborted"), k(), b.forEach((h) => {
|
|
6309
6288
|
h.status === "pending" && (h.status = "aborted");
|
|
6310
6289
|
}), b = [];
|
|
6311
6290
|
}
|
|
6312
|
-
function
|
|
6291
|
+
function m(h, A) {
|
|
6313
6292
|
A && (p = []), typeof h == "function" && p.push(h);
|
|
6314
6293
|
}
|
|
6315
|
-
function
|
|
6294
|
+
function M() {
|
|
6316
6295
|
return {
|
|
6317
6296
|
startTime: s,
|
|
6318
6297
|
payload: r,
|
|
6319
6298
|
status: t,
|
|
6320
6299
|
queriesSent: i,
|
|
6321
6300
|
queriesPending: b.length,
|
|
6322
|
-
subscribe:
|
|
6323
|
-
abort:
|
|
6301
|
+
subscribe: m,
|
|
6302
|
+
abort: w
|
|
6324
6303
|
};
|
|
6325
6304
|
}
|
|
6326
|
-
function
|
|
6305
|
+
function T() {
|
|
6327
6306
|
t = "failed", p.forEach((h) => {
|
|
6328
6307
|
h(void 0, d);
|
|
6329
6308
|
});
|
|
@@ -6333,32 +6312,32 @@ function Yo(e, r, n, o) {
|
|
|
6333
6312
|
h.status === "pending" && (h.status = "aborted");
|
|
6334
6313
|
}), b = [];
|
|
6335
6314
|
}
|
|
6336
|
-
function
|
|
6337
|
-
const
|
|
6338
|
-
switch (b = b.filter((
|
|
6315
|
+
function u(h, A, g) {
|
|
6316
|
+
const E = A !== "success";
|
|
6317
|
+
switch (b = b.filter((U) => U !== h), t) {
|
|
6339
6318
|
case "pending":
|
|
6340
6319
|
break;
|
|
6341
6320
|
case "failed":
|
|
6342
|
-
if (
|
|
6321
|
+
if (E || !e.dataAfterTimeout)
|
|
6343
6322
|
return;
|
|
6344
6323
|
break;
|
|
6345
6324
|
default:
|
|
6346
6325
|
return;
|
|
6347
6326
|
}
|
|
6348
6327
|
if (A === "abort") {
|
|
6349
|
-
d = g,
|
|
6328
|
+
d = g, T();
|
|
6350
6329
|
return;
|
|
6351
6330
|
}
|
|
6352
|
-
if (
|
|
6353
|
-
d = g, b.length || (l.length ? S() :
|
|
6331
|
+
if (E) {
|
|
6332
|
+
d = g, b.length || (l.length ? S() : T());
|
|
6354
6333
|
return;
|
|
6355
6334
|
}
|
|
6356
6335
|
if (k(), R(), !e.random) {
|
|
6357
|
-
const
|
|
6358
|
-
|
|
6336
|
+
const U = e.resources.indexOf(h.resource);
|
|
6337
|
+
U !== -1 && U !== e.index && (e.index = U);
|
|
6359
6338
|
}
|
|
6360
|
-
t = "completed", p.forEach((
|
|
6361
|
-
|
|
6339
|
+
t = "completed", p.forEach((U) => {
|
|
6340
|
+
U(g);
|
|
6362
6341
|
});
|
|
6363
6342
|
}
|
|
6364
6343
|
function S() {
|
|
@@ -6369,25 +6348,25 @@ function Yo(e, r, n, o) {
|
|
|
6369
6348
|
if (h === void 0) {
|
|
6370
6349
|
if (b.length) {
|
|
6371
6350
|
_ = setTimeout(() => {
|
|
6372
|
-
k(), t === "pending" && (R(),
|
|
6351
|
+
k(), t === "pending" && (R(), T());
|
|
6373
6352
|
}, e.timeout);
|
|
6374
6353
|
return;
|
|
6375
6354
|
}
|
|
6376
|
-
|
|
6355
|
+
T();
|
|
6377
6356
|
return;
|
|
6378
6357
|
}
|
|
6379
6358
|
const A = {
|
|
6380
6359
|
status: "pending",
|
|
6381
6360
|
resource: h,
|
|
6382
|
-
callback: (g,
|
|
6383
|
-
|
|
6361
|
+
callback: (g, E) => {
|
|
6362
|
+
u(A, g, E);
|
|
6384
6363
|
}
|
|
6385
6364
|
};
|
|
6386
6365
|
b.push(A), i++, _ = setTimeout(S, e.rotate), n(h, r, A.callback);
|
|
6387
6366
|
}
|
|
6388
|
-
return setTimeout(S),
|
|
6367
|
+
return setTimeout(S), M;
|
|
6389
6368
|
}
|
|
6390
|
-
function
|
|
6369
|
+
function Qr(e) {
|
|
6391
6370
|
const r = {
|
|
6392
6371
|
...Xo,
|
|
6393
6372
|
...e
|
|
@@ -6420,42 +6399,42 @@ function nn(e) {
|
|
|
6420
6399
|
cleanup: o
|
|
6421
6400
|
};
|
|
6422
6401
|
}
|
|
6423
|
-
function
|
|
6402
|
+
function vr() {
|
|
6424
6403
|
}
|
|
6425
|
-
const
|
|
6404
|
+
const Ge = /* @__PURE__ */ Object.create(null);
|
|
6426
6405
|
function qo(e) {
|
|
6427
|
-
if (!
|
|
6428
|
-
const r =
|
|
6406
|
+
if (!Ge[e]) {
|
|
6407
|
+
const r = ar(e);
|
|
6429
6408
|
if (!r)
|
|
6430
6409
|
return;
|
|
6431
|
-
const n =
|
|
6410
|
+
const n = Qr(r), o = {
|
|
6432
6411
|
config: r,
|
|
6433
6412
|
redundancy: n
|
|
6434
6413
|
};
|
|
6435
|
-
|
|
6414
|
+
Ge[e] = o;
|
|
6436
6415
|
}
|
|
6437
|
-
return
|
|
6416
|
+
return Ge[e];
|
|
6438
6417
|
}
|
|
6439
6418
|
function Jo(e, r, n) {
|
|
6440
6419
|
let o, a;
|
|
6441
6420
|
if (typeof e == "string") {
|
|
6442
|
-
const c =
|
|
6421
|
+
const c = Ve(e);
|
|
6443
6422
|
if (!c)
|
|
6444
|
-
return n(void 0, 424),
|
|
6423
|
+
return n(void 0, 424), vr;
|
|
6445
6424
|
a = c.send;
|
|
6446
6425
|
const l = qo(e);
|
|
6447
6426
|
l && (o = l.redundancy);
|
|
6448
6427
|
} else {
|
|
6449
|
-
const c =
|
|
6428
|
+
const c = nr(e);
|
|
6450
6429
|
if (c) {
|
|
6451
|
-
o =
|
|
6452
|
-
const l = e.resources ? e.resources[0] : "", s =
|
|
6430
|
+
o = Qr(c);
|
|
6431
|
+
const l = e.resources ? e.resources[0] : "", s = Ve(l);
|
|
6453
6432
|
s && (a = s.send);
|
|
6454
6433
|
}
|
|
6455
6434
|
}
|
|
6456
|
-
return !o || !a ? (n(void 0, 424),
|
|
6435
|
+
return !o || !a ? (n(void 0, 424), vr) : o.query(r, a, n)().abort;
|
|
6457
6436
|
}
|
|
6458
|
-
function
|
|
6437
|
+
function wr() {
|
|
6459
6438
|
}
|
|
6460
6439
|
function Qo(e) {
|
|
6461
6440
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
@@ -6465,13 +6444,13 @@ function Qo(e) {
|
|
|
6465
6444
|
function ea(e) {
|
|
6466
6445
|
const r = [], n = [];
|
|
6467
6446
|
return e.forEach((o) => {
|
|
6468
|
-
(o.match(
|
|
6447
|
+
(o.match(Vr) ? r : n).push(o);
|
|
6469
6448
|
}), {
|
|
6470
6449
|
valid: r,
|
|
6471
6450
|
invalid: n
|
|
6472
6451
|
};
|
|
6473
6452
|
}
|
|
6474
|
-
function
|
|
6453
|
+
function ie(e, r, n) {
|
|
6475
6454
|
function o() {
|
|
6476
6455
|
const a = e.pendingIcons;
|
|
6477
6456
|
r.forEach((c) => {
|
|
@@ -6480,7 +6459,7 @@ function _e(e, r, n) {
|
|
|
6480
6459
|
}
|
|
6481
6460
|
if (n && typeof n == "object")
|
|
6482
6461
|
try {
|
|
6483
|
-
if (!
|
|
6462
|
+
if (!Zr(e, n).length) {
|
|
6484
6463
|
o();
|
|
6485
6464
|
return;
|
|
6486
6465
|
}
|
|
@@ -6489,7 +6468,7 @@ function _e(e, r, n) {
|
|
|
6489
6468
|
}
|
|
6490
6469
|
o(), Qo(e);
|
|
6491
6470
|
}
|
|
6492
|
-
function
|
|
6471
|
+
function xr(e, r) {
|
|
6493
6472
|
e instanceof Promise ? e.then((n) => {
|
|
6494
6473
|
r(n);
|
|
6495
6474
|
}).catch(() => {
|
|
@@ -6504,10 +6483,10 @@ function ra(e, r) {
|
|
|
6504
6483
|
return;
|
|
6505
6484
|
const c = e.loadIcon;
|
|
6506
6485
|
if (e.loadIcons && (a.length > 1 || !c)) {
|
|
6507
|
-
|
|
6486
|
+
xr(
|
|
6508
6487
|
e.loadIcons(a, o, n),
|
|
6509
6488
|
(d) => {
|
|
6510
|
-
|
|
6489
|
+
ie(e, a, d);
|
|
6511
6490
|
}
|
|
6512
6491
|
);
|
|
6513
6492
|
return;
|
|
@@ -6515,35 +6494,35 @@ function ra(e, r) {
|
|
|
6515
6494
|
if (c) {
|
|
6516
6495
|
a.forEach((d) => {
|
|
6517
6496
|
const _ = c(d, o, n);
|
|
6518
|
-
|
|
6497
|
+
xr(_, (b) => {
|
|
6519
6498
|
const p = b ? {
|
|
6520
6499
|
prefix: o,
|
|
6521
6500
|
icons: {
|
|
6522
6501
|
[d]: b
|
|
6523
6502
|
}
|
|
6524
6503
|
} : null;
|
|
6525
|
-
|
|
6504
|
+
ie(e, [d], p);
|
|
6526
6505
|
});
|
|
6527
6506
|
});
|
|
6528
6507
|
return;
|
|
6529
6508
|
}
|
|
6530
6509
|
const { valid: l, invalid: s } = ea(a);
|
|
6531
|
-
if (s.length &&
|
|
6510
|
+
if (s.length && ie(e, s, null), !l.length)
|
|
6532
6511
|
return;
|
|
6533
|
-
const t = o.match(
|
|
6512
|
+
const t = o.match(Vr) ? Ve(n) : null;
|
|
6534
6513
|
if (!t) {
|
|
6535
|
-
|
|
6514
|
+
ie(e, l, null);
|
|
6536
6515
|
return;
|
|
6537
6516
|
}
|
|
6538
6517
|
t.prepare(n, o, l).forEach((d) => {
|
|
6539
6518
|
Jo(n, d, (_) => {
|
|
6540
|
-
|
|
6519
|
+
ie(e, d.icons, _);
|
|
6541
6520
|
});
|
|
6542
6521
|
});
|
|
6543
6522
|
}));
|
|
6544
6523
|
}
|
|
6545
6524
|
const na = (e, r) => {
|
|
6546
|
-
const n = Zo(e, !0,
|
|
6525
|
+
const n = Zo(e, !0, Xr()), o = Vo(n);
|
|
6547
6526
|
if (!o.pending.length) {
|
|
6548
6527
|
let t = !0;
|
|
6549
6528
|
return r && setTimeout(() => {
|
|
@@ -6551,7 +6530,7 @@ const na = (e, r) => {
|
|
|
6551
6530
|
o.loaded,
|
|
6552
6531
|
o.missing,
|
|
6553
6532
|
o.pending,
|
|
6554
|
-
|
|
6533
|
+
wr
|
|
6555
6534
|
);
|
|
6556
6535
|
}), () => {
|
|
6557
6536
|
t = !1;
|
|
@@ -6563,16 +6542,16 @@ const na = (e, r) => {
|
|
|
6563
6542
|
const { provider: i, prefix: d } = t;
|
|
6564
6543
|
if (d === s && i === l)
|
|
6565
6544
|
return;
|
|
6566
|
-
l = i, s = d, c.push(
|
|
6545
|
+
l = i, s = d, c.push(ae(i, d));
|
|
6567
6546
|
const _ = a[i] || (a[i] = /* @__PURE__ */ Object.create(null));
|
|
6568
6547
|
_[d] || (_[d] = []);
|
|
6569
6548
|
}), o.pending.forEach((t) => {
|
|
6570
|
-
const { provider: i, prefix: d, name: _ } = t, b =
|
|
6549
|
+
const { provider: i, prefix: d, name: _ } = t, b = ae(i, d), p = b.pendingIcons || (b.pendingIcons = /* @__PURE__ */ new Set());
|
|
6571
6550
|
p.has(_) || (p.add(_), a[i][d].push(_));
|
|
6572
6551
|
}), c.forEach((t) => {
|
|
6573
6552
|
const i = a[t.provider][t.prefix];
|
|
6574
6553
|
i.length && ra(t, i);
|
|
6575
|
-
}), r ? Wo(r, o, c) :
|
|
6554
|
+
}), r ? Wo(r, o, c) : wr;
|
|
6576
6555
|
};
|
|
6577
6556
|
function oa(e, r) {
|
|
6578
6557
|
const n = {
|
|
@@ -6580,7 +6559,7 @@ function oa(e, r) {
|
|
|
6580
6559
|
};
|
|
6581
6560
|
for (const o in r) {
|
|
6582
6561
|
const a = r[o], c = typeof a;
|
|
6583
|
-
o in
|
|
6562
|
+
o in Yr ? (a === null || a && (c === "string" || c === "number")) && (n[o] = a) : c === typeof n[o] && (n[o] = o === "rotate" ? a % 4 : a);
|
|
6584
6563
|
}
|
|
6585
6564
|
return n;
|
|
6586
6565
|
}
|
|
@@ -6638,8 +6617,8 @@ function ia(e) {
|
|
|
6638
6617
|
function da(e) {
|
|
6639
6618
|
return 'url("' + ia(e) + '")';
|
|
6640
6619
|
}
|
|
6641
|
-
const
|
|
6642
|
-
...
|
|
6620
|
+
const kr = {
|
|
6621
|
+
...qr,
|
|
6643
6622
|
inline: !1
|
|
6644
6623
|
}, ua = {
|
|
6645
6624
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6648,38 +6627,38 @@ const Ar = {
|
|
|
6648
6627
|
role: "img"
|
|
6649
6628
|
}, ma = {
|
|
6650
6629
|
display: "inline-block"
|
|
6651
|
-
},
|
|
6630
|
+
}, je = {
|
|
6652
6631
|
backgroundColor: "currentColor"
|
|
6653
|
-
},
|
|
6632
|
+
}, en = {
|
|
6654
6633
|
backgroundColor: "transparent"
|
|
6655
|
-
},
|
|
6634
|
+
}, Sr = {
|
|
6656
6635
|
Image: "var(--svg)",
|
|
6657
6636
|
Repeat: "no-repeat",
|
|
6658
6637
|
Size: "100% 100%"
|
|
6659
|
-
},
|
|
6660
|
-
webkitMask:
|
|
6661
|
-
mask:
|
|
6662
|
-
background:
|
|
6638
|
+
}, Cr = {
|
|
6639
|
+
webkitMask: je,
|
|
6640
|
+
mask: je,
|
|
6641
|
+
background: en
|
|
6663
6642
|
};
|
|
6664
|
-
for (const e in
|
|
6665
|
-
const r =
|
|
6666
|
-
for (const n in
|
|
6667
|
-
r[e + n] =
|
|
6643
|
+
for (const e in Cr) {
|
|
6644
|
+
const r = Cr[e];
|
|
6645
|
+
for (const n in Sr)
|
|
6646
|
+
r[e + n] = Sr[n];
|
|
6668
6647
|
}
|
|
6669
|
-
const
|
|
6648
|
+
const Ce = {};
|
|
6670
6649
|
["horizontal", "vertical"].forEach((e) => {
|
|
6671
6650
|
const r = e.slice(0, 1) + "Flip";
|
|
6672
|
-
|
|
6651
|
+
Ce[e + "-flip"] = r, Ce[e.slice(0, 1) + "-flip"] = r, Ce[e + "Flip"] = r;
|
|
6673
6652
|
});
|
|
6674
|
-
function
|
|
6653
|
+
function Ar(e) {
|
|
6675
6654
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
6676
6655
|
}
|
|
6677
|
-
const
|
|
6678
|
-
const n = oa(
|
|
6679
|
-
for (let
|
|
6680
|
-
const
|
|
6681
|
-
if (
|
|
6682
|
-
switch (
|
|
6656
|
+
const Dr = (e, r) => {
|
|
6657
|
+
const n = oa(kr, r), o = { ...ua }, a = r.mode || "svg", c = {}, l = r.style, s = typeof l == "object" && !(l instanceof Array) ? l : {};
|
|
6658
|
+
for (let w in r) {
|
|
6659
|
+
const m = r[w];
|
|
6660
|
+
if (m !== void 0)
|
|
6661
|
+
switch (w) {
|
|
6683
6662
|
// Properties to ignore
|
|
6684
6663
|
case "icon":
|
|
6685
6664
|
case "style":
|
|
@@ -6691,39 +6670,39 @@ const Mr = (e, r) => {
|
|
|
6691
6670
|
case "inline":
|
|
6692
6671
|
case "hFlip":
|
|
6693
6672
|
case "vFlip":
|
|
6694
|
-
n[
|
|
6673
|
+
n[w] = m === !0 || m === "true" || m === 1;
|
|
6695
6674
|
break;
|
|
6696
6675
|
// Flip as string: 'horizontal,vertical'
|
|
6697
6676
|
case "flip":
|
|
6698
|
-
typeof
|
|
6677
|
+
typeof m == "string" && ca(n, m);
|
|
6699
6678
|
break;
|
|
6700
6679
|
// Color: override style
|
|
6701
6680
|
case "color":
|
|
6702
|
-
c.color =
|
|
6681
|
+
c.color = m;
|
|
6703
6682
|
break;
|
|
6704
6683
|
// Rotation as string
|
|
6705
6684
|
case "rotate":
|
|
6706
|
-
typeof
|
|
6685
|
+
typeof m == "string" ? n[w] = la(m) : typeof m == "number" && (n[w] = m);
|
|
6707
6686
|
break;
|
|
6708
6687
|
// Remove aria-hidden
|
|
6709
6688
|
case "ariaHidden":
|
|
6710
6689
|
case "aria-hidden":
|
|
6711
|
-
|
|
6690
|
+
m !== !0 && m !== "true" && delete o["aria-hidden"];
|
|
6712
6691
|
break;
|
|
6713
6692
|
default: {
|
|
6714
|
-
const
|
|
6715
|
-
|
|
6693
|
+
const M = Ce[w];
|
|
6694
|
+
M ? (m === !0 || m === "true" || m === 1) && (n[M] = !0) : kr[w] === void 0 && (o[w] = m);
|
|
6716
6695
|
}
|
|
6717
6696
|
}
|
|
6718
6697
|
}
|
|
6719
|
-
const t =
|
|
6698
|
+
const t = Eo(e, n), i = t.attributes;
|
|
6720
6699
|
if (n.inline && (c.verticalAlign = "-0.125em"), a === "svg") {
|
|
6721
6700
|
o.style = {
|
|
6722
6701
|
...c,
|
|
6723
6702
|
...s
|
|
6724
6703
|
}, Object.assign(o, i);
|
|
6725
|
-
let
|
|
6726
|
-
return typeof
|
|
6704
|
+
let w = 0, m = r.id;
|
|
6705
|
+
return typeof m == "string" && (m = m.replace(/-/g, "_")), o.innerHTML = Lo(t.body, m ? () => m + "ID" + w++ : "iconifyVue"), dr("svg", o);
|
|
6727
6706
|
}
|
|
6728
6707
|
const { body: d, width: _, height: b } = e, p = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), k = ta(d, {
|
|
6729
6708
|
...i,
|
|
@@ -6733,14 +6712,14 @@ const Mr = (e, r) => {
|
|
|
6733
6712
|
return o.style = {
|
|
6734
6713
|
...c,
|
|
6735
6714
|
"--svg": da(k),
|
|
6736
|
-
width:
|
|
6737
|
-
height:
|
|
6715
|
+
width: Ar(i.width),
|
|
6716
|
+
height: Ar(i.height),
|
|
6738
6717
|
...ma,
|
|
6739
|
-
...p ?
|
|
6718
|
+
...p ? je : en,
|
|
6740
6719
|
...s
|
|
6741
|
-
},
|
|
6720
|
+
}, dr("span", o);
|
|
6742
6721
|
};
|
|
6743
|
-
|
|
6722
|
+
Xr(!0);
|
|
6744
6723
|
To("", Ko);
|
|
6745
6724
|
if (typeof document < "u" && typeof window < "u") {
|
|
6746
6725
|
const e = window;
|
|
@@ -6774,15 +6753,15 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
6774
6753
|
}
|
|
6775
6754
|
}
|
|
6776
6755
|
const ya = {
|
|
6777
|
-
...
|
|
6756
|
+
...Fe,
|
|
6778
6757
|
body: ""
|
|
6779
|
-
}, fa =
|
|
6780
|
-
const n =
|
|
6758
|
+
}, fa = W((e, { emit: r }) => {
|
|
6759
|
+
const n = L(null);
|
|
6781
6760
|
function o() {
|
|
6782
6761
|
var i, d;
|
|
6783
6762
|
n.value && ((d = (i = n.value).abort) == null || d.call(i), n.value = null);
|
|
6784
6763
|
}
|
|
6785
|
-
const a =
|
|
6764
|
+
const a = L(!!e.ssr), c = L(""), l = nn(null);
|
|
6786
6765
|
function s() {
|
|
6787
6766
|
const i = e.icon;
|
|
6788
6767
|
if (typeof i == "object" && i !== null && typeof i.body == "string")
|
|
@@ -6790,7 +6769,7 @@ const ya = {
|
|
|
6790
6769
|
data: i
|
|
6791
6770
|
};
|
|
6792
6771
|
let d;
|
|
6793
|
-
if (typeof i != "string" || (d =
|
|
6772
|
+
if (typeof i != "string" || (d = Ie(i, !1, !0)) === null)
|
|
6794
6773
|
return null;
|
|
6795
6774
|
let _ = wo(d);
|
|
6796
6775
|
if (!_) {
|
|
@@ -6802,7 +6781,7 @@ const ya = {
|
|
|
6802
6781
|
abort: na([d], t)
|
|
6803
6782
|
}), null;
|
|
6804
6783
|
}
|
|
6805
|
-
o(), c.value !== i && (c.value = i,
|
|
6784
|
+
o(), c.value !== i && (c.value = i, xe(() => {
|
|
6806
6785
|
r("load", i);
|
|
6807
6786
|
}));
|
|
6808
6787
|
const b = e.customise;
|
|
@@ -6819,18 +6798,18 @@ const ya = {
|
|
|
6819
6798
|
const i = s();
|
|
6820
6799
|
i ? i.data !== ((d = l.value) == null ? void 0 : d.data) && (l.value = i) : l.value = null;
|
|
6821
6800
|
}
|
|
6822
|
-
return a.value ? t() :
|
|
6801
|
+
return a.value ? t() : ye(() => {
|
|
6823
6802
|
a.value = !0, t();
|
|
6824
|
-
}),
|
|
6803
|
+
}), Re(() => e.icon, t), Je(o), () => {
|
|
6825
6804
|
const i = l.value;
|
|
6826
6805
|
if (!i)
|
|
6827
|
-
return
|
|
6806
|
+
return Dr(ya, e);
|
|
6828
6807
|
let d = e;
|
|
6829
6808
|
return i.classes && (d = {
|
|
6830
6809
|
...e,
|
|
6831
6810
|
class: i.classes.join(" ")
|
|
6832
|
-
}),
|
|
6833
|
-
...
|
|
6811
|
+
}), Dr({
|
|
6812
|
+
...Fe,
|
|
6834
6813
|
...i.data
|
|
6835
6814
|
}, d);
|
|
6836
6815
|
};
|
|
@@ -6860,18 +6839,21 @@ const ya = {
|
|
|
6860
6839
|
"title"
|
|
6861
6840
|
],
|
|
6862
6841
|
emits: ["load"]
|
|
6863
|
-
}), _a = { class: "main-select" }, ga = {
|
|
6842
|
+
}), _a = { class: "main-select" }, ga = ["for"], ba = {
|
|
6864
6843
|
key: 0,
|
|
6865
6844
|
class: "text-red-500"
|
|
6866
|
-
}, pa = ["error"],
|
|
6845
|
+
}, pa = ["error"], ha = { class: "truncate" }, va = { key: 0 }, wa = { key: 0 }, xa = {
|
|
6867
6846
|
key: 1,
|
|
6868
6847
|
class: "text-base-neutral-300"
|
|
6869
|
-
},
|
|
6848
|
+
}, ka = {
|
|
6870
6849
|
key: 0,
|
|
6871
6850
|
class: "p-2 relative"
|
|
6872
|
-
},
|
|
6851
|
+
}, Sa = ["onClick"], Ca = {
|
|
6852
|
+
key: 1,
|
|
6853
|
+
class: "p-3 text-base text-neutral-500"
|
|
6854
|
+
}, Aa = /* @__PURE__ */ W({
|
|
6873
6855
|
__name: "Select",
|
|
6874
|
-
props: /* @__PURE__ */
|
|
6856
|
+
props: /* @__PURE__ */ Qe({
|
|
6875
6857
|
id: {},
|
|
6876
6858
|
label: {},
|
|
6877
6859
|
options: {},
|
|
@@ -6896,28 +6878,28 @@ const ya = {
|
|
|
6896
6878
|
}),
|
|
6897
6879
|
emits: ["update:modelValue", "update:query"],
|
|
6898
6880
|
setup(e) {
|
|
6899
|
-
const r = e, n =
|
|
6900
|
-
|
|
6881
|
+
const r = e, n = on(), o = oe(e, "modelValue"), a = L(!1), c = oe(e, "query"), l = L(null), s = L(null), t = L({}), i = L(-1);
|
|
6882
|
+
ye(() => {
|
|
6901
6883
|
window.addEventListener("scroll", _, !0), window.addEventListener("resize", _);
|
|
6902
|
-
}),
|
|
6884
|
+
}), Je(() => {
|
|
6903
6885
|
window.removeEventListener("scroll", _, !0), window.removeEventListener("resize", _);
|
|
6904
6886
|
});
|
|
6905
|
-
const d = (
|
|
6887
|
+
const d = (u) => {
|
|
6906
6888
|
var h;
|
|
6907
6889
|
if (!a.value) {
|
|
6908
|
-
(
|
|
6890
|
+
(u.key === "ArrowDown" || u.key === "Enter") && (u.preventDefault(), b());
|
|
6909
6891
|
return;
|
|
6910
6892
|
}
|
|
6911
|
-
const S = ((h =
|
|
6912
|
-
switch (
|
|
6893
|
+
const S = ((h = m.value) == null ? void 0 : h.filter((A) => !A.disabled)) ?? [];
|
|
6894
|
+
switch (u.key) {
|
|
6913
6895
|
case "ArrowDown":
|
|
6914
|
-
|
|
6896
|
+
u.preventDefault(), i.value = (i.value + 1) % S.length;
|
|
6915
6897
|
break;
|
|
6916
6898
|
case "ArrowUp":
|
|
6917
|
-
|
|
6899
|
+
u.preventDefault(), i.value = (i.value - 1 + S.length) % S.length;
|
|
6918
6900
|
break;
|
|
6919
6901
|
case "Enter":
|
|
6920
|
-
|
|
6902
|
+
u.preventDefault(), S[i.value] && w(S[i.value]);
|
|
6921
6903
|
break;
|
|
6922
6904
|
case "Escape":
|
|
6923
6905
|
case "Tab":
|
|
@@ -6926,69 +6908,66 @@ const ya = {
|
|
|
6926
6908
|
}
|
|
6927
6909
|
}, _ = () => {
|
|
6928
6910
|
if (!l.value || !s.value) return;
|
|
6929
|
-
const
|
|
6911
|
+
const u = l.value.getBoundingClientRect(), S = s.value.offsetHeight, h = window.scrollX || window.pageXOffset, A = window.scrollY || window.pageYOffset, g = window.innerHeight - u.bottom, E = u.top, X = S > g && E > S ? u.top + A - S - 5 : u.bottom + A + 5;
|
|
6930
6912
|
t.value = {
|
|
6931
6913
|
position: "absolute",
|
|
6932
|
-
left: `${
|
|
6933
|
-
top: `${
|
|
6934
|
-
width: `${
|
|
6914
|
+
left: `${u.left + h}px`,
|
|
6915
|
+
top: `${X}px`,
|
|
6916
|
+
width: `${u.width}px`
|
|
6935
6917
|
};
|
|
6936
6918
|
};
|
|
6937
|
-
|
|
6938
|
-
|
|
6919
|
+
Re(a, async (u) => {
|
|
6920
|
+
u && (await xe(), _());
|
|
6939
6921
|
});
|
|
6940
6922
|
const b = () => {
|
|
6941
6923
|
if (!r.disabled) {
|
|
6942
6924
|
if (a.value = !a.value, !a.value) return;
|
|
6943
|
-
|
|
6925
|
+
xe(() => _());
|
|
6944
6926
|
}
|
|
6945
6927
|
}, p = O(() => {
|
|
6946
6928
|
var S, h;
|
|
6947
|
-
const
|
|
6929
|
+
const u = r.multiple ? (S = r.options) == null ? void 0 : S.filter((A) => {
|
|
6948
6930
|
var g;
|
|
6949
6931
|
return (g = o.value) == null ? void 0 : g.includes(A.value);
|
|
6950
6932
|
}) : (h = r.options) == null ? void 0 : h.filter((A) => o.value === A.value);
|
|
6951
|
-
return
|
|
6952
|
-
}), k = (
|
|
6933
|
+
return u == null ? void 0 : u.map((A) => A.label);
|
|
6934
|
+
}), k = (u) => {
|
|
6953
6935
|
var S;
|
|
6954
|
-
return r.multiple ? (S = o.value) == null ? void 0 : S.includes(
|
|
6955
|
-
},
|
|
6956
|
-
if (!(r.disabled ||
|
|
6936
|
+
return r.multiple ? (S = o.value) == null ? void 0 : S.includes(u.value) : o.value == u.value;
|
|
6937
|
+
}, w = (u) => {
|
|
6938
|
+
if (!(r.disabled || u.disabled))
|
|
6957
6939
|
if (r.multiple) {
|
|
6958
6940
|
const S = o.value ?? [];
|
|
6959
|
-
S.includes(
|
|
6941
|
+
S.includes(u.value) ? o.value = S.filter((h) => h !== u.value) : o.value = [...S, u.value];
|
|
6960
6942
|
} else
|
|
6961
|
-
o.value ==
|
|
6962
|
-
},
|
|
6963
|
-
let
|
|
6943
|
+
o.value == u.value ? o.value = void 0 : o.value = u.value, a.value = !1;
|
|
6944
|
+
}, m = O(() => {
|
|
6945
|
+
let u = r.options ?? [];
|
|
6964
6946
|
if (r.searchable && c.value.trim()) {
|
|
6965
6947
|
const S = c.value.toLowerCase();
|
|
6966
|
-
|
|
6948
|
+
u = u.filter(
|
|
6967
6949
|
(h) => h.label.toLowerCase().includes(S.toLocaleLowerCase())
|
|
6968
6950
|
);
|
|
6969
6951
|
}
|
|
6970
|
-
return
|
|
6971
|
-
}),
|
|
6972
|
-
let
|
|
6973
|
-
return r.rounded === "full" ?
|
|
6974
|
-
}),
|
|
6975
|
-
return
|
|
6976
|
-
|
|
6977
|
-
}), (
|
|
6978
|
-
var
|
|
6979
|
-
const h =
|
|
6980
|
-
return
|
|
6981
|
-
|
|
6952
|
+
return u;
|
|
6953
|
+
}), M = O(() => {
|
|
6954
|
+
let u = "text-sm w-full h-12 focus-visible:outline-none bg-off-white border border-off-white hover:border-base-neutral-300 focus:border-primary-red-700 focus:ring-0 outline-none transition-all duration-300 px-3 text-black placeholder:text-base-neutral-300 disabled:bg-input-disabled-bg disabled:text-base-neutral-200";
|
|
6955
|
+
return r.rounded === "full" ? u += " rounded-full" : r.rounded === "lg" ? u += " rounded-lg" : u += " rounded-xl", Q(u, r.classList);
|
|
6956
|
+
}), T = O(() => Q("font-medium text-sm flex mb-1", r.labelClassList)), R = (u) => `${u.value}`;
|
|
6957
|
+
return Re(a, async (u) => {
|
|
6958
|
+
u && (i.value = -1, await xe(), _());
|
|
6959
|
+
}), (u, S) => {
|
|
6960
|
+
var A, g, E, U, X;
|
|
6961
|
+
const h = He("AppFormError");
|
|
6962
|
+
return x(), D("div", _a, [
|
|
6963
|
+
P("label", {
|
|
6982
6964
|
for: e.id,
|
|
6983
|
-
class:
|
|
6984
|
-
},
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
_: 1
|
|
6990
|
-
}, 8, ["for", "class"]),
|
|
6991
|
-
j("div", {
|
|
6965
|
+
class: K(T.value)
|
|
6966
|
+
}, [
|
|
6967
|
+
de($(e.label) + " ", 1),
|
|
6968
|
+
e.required ? (x(), D("span", ba, "*")) : G("", !0)
|
|
6969
|
+
], 10, ga),
|
|
6970
|
+
P("div", {
|
|
6992
6971
|
ref_key: "wrapperRef",
|
|
6993
6972
|
ref: l,
|
|
6994
6973
|
class: "relative w-full focus:ring-0 focus:outline-0",
|
|
@@ -6996,114 +6975,97 @@ const ya = {
|
|
|
6996
6975
|
onKeydown: d,
|
|
6997
6976
|
tabindex: "1"
|
|
6998
6977
|
}, [
|
|
6999
|
-
|
|
6978
|
+
Ae(n).toggleButton ? J(u.$slots, "toggleButton", { key: 0 }, void 0, !0) : (x(), D("div", {
|
|
7000
6979
|
key: 1,
|
|
7001
|
-
class:
|
|
7002
|
-
error: !!((
|
|
6980
|
+
class: K([M.value, "flex items-center justify-between h-12 select"]),
|
|
6981
|
+
error: !!((A = e.errors) != null && A.length)
|
|
7003
6982
|
}, [
|
|
7004
|
-
|
|
7005
|
-
e.multiple && Array.isArray(o.value) ? (
|
|
7006
|
-
e.showSelectedCount ? (
|
|
6983
|
+
P("div", ha, [
|
|
6984
|
+
e.multiple && Array.isArray(o.value) ? (x(), D(ne, { key: 0 }, [
|
|
6985
|
+
e.showSelectedCount ? (x(), D("span", {
|
|
7007
6986
|
key: 0,
|
|
7008
|
-
class:
|
|
7009
|
-
},
|
|
7010
|
-
p.value && p.value.length ? (
|
|
7011
|
-
|
|
7012
|
-
((
|
|
7013
|
-
])) : (
|
|
6987
|
+
class: K(!o.value || o.value.length === 0 ? "text-base-neutral-300" : "")
|
|
6988
|
+
}, $(o.value.length > 0 ? `${o.value.length} selected` : e.placeholder), 3)) : (x(), D(ne, { key: 1 }, [
|
|
6989
|
+
p.value && p.value.length ? (x(), D("span", va, [
|
|
6990
|
+
de($((g = p.value) == null ? void 0 : g.slice(0, 2).join(", ")) + " ", 1),
|
|
6991
|
+
((E = p.value) == null ? void 0 : E.length) > 2 ? (x(), D("span", wa, " , +" + $(p.value.length - 2) + " more ", 1)) : G("", !0)
|
|
6992
|
+
])) : (x(), D("span", xa, $(e.placeholder), 1))
|
|
7014
6993
|
], 64))
|
|
7015
|
-
], 64)) : (
|
|
6994
|
+
], 64)) : (x(), D("span", {
|
|
7016
6995
|
key: 1,
|
|
7017
|
-
class:
|
|
7018
|
-
},
|
|
6996
|
+
class: K({ "text-base-neutral-300": !o.value || o.value === "" || o.value === null })
|
|
6997
|
+
}, $(((U = p.value) == null ? void 0 : U[0]) || e.placeholder), 3))
|
|
7019
6998
|
]),
|
|
7020
|
-
|
|
6999
|
+
ue($e, {
|
|
7021
7000
|
name: "chevron-left",
|
|
7022
7001
|
size: 16,
|
|
7023
7002
|
class: "-rotate-90"
|
|
7024
7003
|
})
|
|
7025
7004
|
], 10, pa)),
|
|
7026
|
-
(
|
|
7027
|
-
a.value ? (
|
|
7005
|
+
(x(), V(Ir, { to: "body" }, [
|
|
7006
|
+
a.value ? (x(), D("div", {
|
|
7028
7007
|
key: 0,
|
|
7029
7008
|
class: "fixed inset-0 h-dvh w-screen z-101",
|
|
7030
|
-
onClick: S[0] || (S[0] = (
|
|
7009
|
+
onClick: S[0] || (S[0] = (B) => a.value = !1)
|
|
7031
7010
|
})) : G("", !0),
|
|
7032
|
-
a.value ? (
|
|
7011
|
+
a.value ? (x(), D("div", {
|
|
7033
7012
|
key: 1,
|
|
7034
7013
|
ref_key: "dropdownRef",
|
|
7035
7014
|
ref: s,
|
|
7036
|
-
style:
|
|
7015
|
+
style: Xe(t.value),
|
|
7037
7016
|
class: "absolute z-102 w-full bg-off-white border border-base-neutral-100 rounded-lg shadow-lg max-h-60 overflow-auto",
|
|
7038
7017
|
role: "listbox"
|
|
7039
7018
|
}, [
|
|
7040
|
-
e.searchable ? (
|
|
7041
|
-
|
|
7019
|
+
e.searchable ? (x(), D("div", ka, [
|
|
7020
|
+
Mr(P("input", {
|
|
7042
7021
|
name: "search",
|
|
7043
|
-
"onUpdate:modelValue": S[1] || (S[1] = (
|
|
7022
|
+
"onUpdate:modelValue": S[1] || (S[1] = (B) => c.value = B),
|
|
7044
7023
|
class: "w-full p-2 border border-base-neutral-100 bg-white rounded-lg text-sm focus:outline-none",
|
|
7045
7024
|
placeholder: "Search...",
|
|
7046
|
-
onClick: S[2] || (S[2] =
|
|
7025
|
+
onClick: S[2] || (S[2] = De(() => {
|
|
7047
7026
|
}, ["stop"]))
|
|
7048
7027
|
}, null, 512), [
|
|
7049
|
-
[
|
|
7028
|
+
[Er, c.value]
|
|
7050
7029
|
]),
|
|
7051
|
-
e.loading ? (
|
|
7030
|
+
e.loading ? (x(), V(Ae(fa), {
|
|
7052
7031
|
key: 0,
|
|
7053
7032
|
icon: "svg-spinners:180-ring-with-bg",
|
|
7054
7033
|
class: "absolute end-5 top-1/2 -translate-y-1/2"
|
|
7055
7034
|
})) : G("", !0)
|
|
7056
7035
|
])) : G("", !0),
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
color: "#e65b2a"
|
|
7081
|
-
})) : G("", !0)
|
|
7082
|
-
]),
|
|
7083
|
-
_: 2
|
|
7084
|
-
}, 1032, ["class", "onClick"]))), 128)) : (w(), B(A, {
|
|
7085
|
-
key: 1,
|
|
7086
|
-
class: "p-3 text-base text-neutral-500"
|
|
7087
|
-
}, {
|
|
7088
|
-
default: K(() => [...S[3] || (S[3] = [
|
|
7089
|
-
ae("No results found", -1)
|
|
7090
|
-
])]),
|
|
7091
|
-
_: 1
|
|
7092
|
-
}))
|
|
7093
|
-
];
|
|
7094
|
-
}),
|
|
7095
|
-
_: 3
|
|
7096
|
-
})
|
|
7036
|
+
P("ul", null, [
|
|
7037
|
+
(X = m.value) != null && X.length ? (x(!0), D(ne, { key: 0 }, Ye(m.value, (B, fe) => (x(), D("li", {
|
|
7038
|
+
key: R(B),
|
|
7039
|
+
class: K(["px-3 py-3 text-sm flex justify-between items-center border-b border-base-neutral-100 last-of-type:border-0", [
|
|
7040
|
+
B.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-base-neutral-100/30 cursor-pointer",
|
|
7041
|
+
fe === i.value ? "bg-neutral-800" : ""
|
|
7042
|
+
]]),
|
|
7043
|
+
onClick: De((_e) => w(B), ["stop"])
|
|
7044
|
+
}, [
|
|
7045
|
+
J(u.$slots, "option", {
|
|
7046
|
+
option: B,
|
|
7047
|
+
isActive: k(B)
|
|
7048
|
+
}, () => [
|
|
7049
|
+
de($(B.label), 1)
|
|
7050
|
+
], !0),
|
|
7051
|
+
e.multiple && o.value && o.value.includes(B.value) ? (x(), V($e, {
|
|
7052
|
+
key: 0,
|
|
7053
|
+
name: "tick-circle",
|
|
7054
|
+
size: "20",
|
|
7055
|
+
color: "#e65b2a"
|
|
7056
|
+
})) : G("", !0)
|
|
7057
|
+
], 10, Sa))), 128)) : (x(), D("li", Ca, "No results found"))
|
|
7058
|
+
])
|
|
7097
7059
|
], 4)) : G("", !0)
|
|
7098
7060
|
]))
|
|
7099
7061
|
], 544),
|
|
7100
|
-
|
|
7062
|
+
ue(h, { errors: e.errors }, null, 8, ["errors"])
|
|
7101
7063
|
]);
|
|
7102
7064
|
};
|
|
7103
7065
|
}
|
|
7104
|
-
}),
|
|
7066
|
+
}), Fa = /* @__PURE__ */ rr(Aa, [["__scopeId", "data-v-9cd15bbc"]]), Pa = /* @__PURE__ */ W({
|
|
7105
7067
|
__name: "Dialog",
|
|
7106
|
-
props: /* @__PURE__ */
|
|
7068
|
+
props: /* @__PURE__ */ Qe({
|
|
7107
7069
|
classList: {},
|
|
7108
7070
|
persistent: { type: Boolean },
|
|
7109
7071
|
fullscreen: { type: Boolean }
|
|
@@ -7113,32 +7075,32 @@ const ya = {
|
|
|
7113
7075
|
}),
|
|
7114
7076
|
emits: ["update:modelValue"],
|
|
7115
7077
|
setup(e) {
|
|
7116
|
-
const r =
|
|
7078
|
+
const r = oe(e, "modelValue"), n = e, o = O(() => {
|
|
7117
7079
|
const c = ["fixed p-5 h-dvh w-screen top-0 flex items-center inset-0 z-[101] overflow-auto bg-black/50 backdrop-blur-sm modal-container *:m-auto"];
|
|
7118
|
-
return n.fullscreen && c.push("p-0"),
|
|
7080
|
+
return n.fullscreen && c.push("p-0"), Q(...c, n.classList);
|
|
7119
7081
|
}), a = () => {
|
|
7120
7082
|
n.persistent || (r.value = !1);
|
|
7121
7083
|
};
|
|
7122
|
-
return
|
|
7084
|
+
return qe(() => {
|
|
7123
7085
|
document.body.classList.remove("overflow-hidden");
|
|
7124
|
-
}),
|
|
7086
|
+
}), Re(() => r.value, () => {
|
|
7125
7087
|
r.value ? document.body.classList.add("overflow-hidden") : document.body.classList.remove("overflow-hidden");
|
|
7126
|
-
}, { immediate: !0 }), (c, l) => (
|
|
7127
|
-
|
|
7128
|
-
default:
|
|
7129
|
-
r.value ? (
|
|
7088
|
+
}, { immediate: !0 }), (c, l) => (x(), V(Ir, { to: "body" }, [
|
|
7089
|
+
ue(an, { name: "fade" }, {
|
|
7090
|
+
default: Ze(() => [
|
|
7091
|
+
r.value ? (x(), D("div", {
|
|
7130
7092
|
key: 0,
|
|
7131
|
-
class:
|
|
7132
|
-
onClick:
|
|
7093
|
+
class: K(o.value),
|
|
7094
|
+
onClick: De(a, ["self"])
|
|
7133
7095
|
}, [
|
|
7134
|
-
|
|
7096
|
+
J(c.$slots, "default")
|
|
7135
7097
|
], 2)) : G("", !0)
|
|
7136
7098
|
]),
|
|
7137
7099
|
_: 3
|
|
7138
7100
|
})
|
|
7139
7101
|
]));
|
|
7140
7102
|
}
|
|
7141
|
-
}),
|
|
7103
|
+
}), Da = ["innerHTML"], La = /* @__PURE__ */ W({
|
|
7142
7104
|
__name: "Text",
|
|
7143
7105
|
props: {
|
|
7144
7106
|
tag: {},
|
|
@@ -7157,78 +7119,41 @@ const ya = {
|
|
|
7157
7119
|
const r = e, n = O(() => {
|
|
7158
7120
|
let c = "";
|
|
7159
7121
|
return r.capitalize && (c += " capitalize"), r.uppercase && (c += " uppercase"), r.underline && (c += " underline"), r.italic && (c += " italic"), c;
|
|
7160
|
-
}), o = O(() => r.tag ? r.tag : "div"), a = O(() =>
|
|
7161
|
-
return (c, l) => (
|
|
7162
|
-
class:
|
|
7122
|
+
}), o = O(() => r.tag ? r.tag : "div"), a = O(() => Q(Yn[r.size], qn[r.weight], Jn[r.color], n.value, Qn[r.fontFamily], r.classList));
|
|
7123
|
+
return (c, l) => (x(), V(We(o.value), {
|
|
7124
|
+
class: K(a.value)
|
|
7163
7125
|
}, {
|
|
7164
|
-
default:
|
|
7165
|
-
e.htmlContent ? (
|
|
7126
|
+
default: Ze(() => [
|
|
7127
|
+
e.htmlContent ? (x(), D("div", {
|
|
7166
7128
|
key: 1,
|
|
7167
7129
|
class: "html-content",
|
|
7168
7130
|
innerHTML: e.htmlContent
|
|
7169
|
-
}, null, 8,
|
|
7131
|
+
}, null, 8, Da)) : J(c.$slots, "default", { key: 0 })
|
|
7170
7132
|
]),
|
|
7171
7133
|
_: 3
|
|
7172
7134
|
}, 8, ["class"]));
|
|
7173
7135
|
}
|
|
7174
7136
|
});
|
|
7175
|
-
function
|
|
7176
|
-
const e =
|
|
7137
|
+
function Ta() {
|
|
7138
|
+
const e = L(0), r = L(0), n = () => {
|
|
7177
7139
|
e.value = window.scrollY || window.pageYOffset, r.value = window.scrollX || window.pageXOffset;
|
|
7178
7140
|
};
|
|
7179
|
-
return
|
|
7141
|
+
return ye(() => {
|
|
7180
7142
|
document.addEventListener("scroll", n), n();
|
|
7181
|
-
}),
|
|
7143
|
+
}), qe(() => document.removeEventListener("scroll", n)), {
|
|
7182
7144
|
scrollY: e,
|
|
7183
7145
|
scrollX: r
|
|
7184
7146
|
};
|
|
7185
7147
|
}
|
|
7186
|
-
const Ca = /* @__PURE__ */ V({
|
|
7187
|
-
inheritAttrs: !1,
|
|
7188
|
-
__name: "shadow-button",
|
|
7189
|
-
setup(e) {
|
|
7190
|
-
return (r, n) => (w(), D("button", Le(Te(r.$attrs)), [
|
|
7191
|
-
X(r.$slots, "default")
|
|
7192
|
-
], 16));
|
|
7193
|
-
}
|
|
7194
|
-
}), Aa = /* @__PURE__ */ V({
|
|
7195
|
-
inheritAttrs: !1,
|
|
7196
|
-
__name: "shadow-label",
|
|
7197
|
-
setup(e) {
|
|
7198
|
-
return (r, n) => (w(), D("label", Le(Te(r.$attrs)), [
|
|
7199
|
-
X(r.$slots, "default")
|
|
7200
|
-
], 16));
|
|
7201
|
-
}
|
|
7202
|
-
}), Da = /* @__PURE__ */ V({
|
|
7203
|
-
inheritAttrs: !1,
|
|
7204
|
-
__name: "shadow-li",
|
|
7205
|
-
setup(e) {
|
|
7206
|
-
return (r, n) => (w(), D("li", Le(Te(r.$attrs)), [
|
|
7207
|
-
X(r.$slots, "default")
|
|
7208
|
-
], 16));
|
|
7209
|
-
}
|
|
7210
|
-
}), Ra = /* @__PURE__ */ V({
|
|
7211
|
-
inheritAttrs: !1,
|
|
7212
|
-
__name: "shadow-ul",
|
|
7213
|
-
setup(e) {
|
|
7214
|
-
return (r, n) => (w(), D("ul", Le(Te(r.$attrs)), [
|
|
7215
|
-
X(r.$slots, "default")
|
|
7216
|
-
], 16));
|
|
7217
|
-
}
|
|
7218
|
-
}), Ea = () => {
|
|
7219
|
-
customElements.define("m-button", xe(Ca, { shadowRoot: !0 })), customElements.define("m-label", xe(Aa, { shadowRoot: !0 })), customElements.define("m-li", xe(Da, { shadowRoot: !0 })), customElements.define("m-ul", xe(Ra, { shadowRoot: !0 }));
|
|
7220
|
-
};
|
|
7221
|
-
Ea();
|
|
7222
7148
|
export {
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7149
|
+
Ma as Button,
|
|
7150
|
+
Pa as Dialog,
|
|
7151
|
+
Ea as Error,
|
|
7226
7152
|
fa as Icon,
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
Na as useWindowScroll
|
|
7153
|
+
$e as Iconsax,
|
|
7154
|
+
Ia as Input,
|
|
7155
|
+
Fa as Select,
|
|
7156
|
+
La as Text,
|
|
7157
|
+
ao as useOutsideClick,
|
|
7158
|
+
Ta as useWindowScroll
|
|
7234
7159
|
};
|