@ptlm-azulejo/linear-progress-bar 0.0.1-alpha.215 → 0.0.1-alpha.220
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/index.js
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import { computed as Q, createElementBlock as
|
|
2
|
-
function Oe(e) {
|
|
3
|
-
var r, o, t = "";
|
|
4
|
-
if (typeof e == "string" || typeof e == "number") t += e;
|
|
5
|
-
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
6
|
-
var a = e.length;
|
|
7
|
-
for (r = 0; r < a; r++) e[r] && (o = Oe(e[r])) && (t && (t += " "), t += o);
|
|
8
|
-
} else for (o in e) e[o] && (t && (t += " "), t += o);
|
|
9
|
-
return t;
|
|
10
|
-
}
|
|
11
|
-
function He() {
|
|
12
|
-
for (var e, r, o = 0, t = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (r = Oe(e)) && (t && (t += " "), t += r);
|
|
13
|
-
return t;
|
|
14
|
-
}
|
|
1
|
+
import { computed as Q, createElementBlock as Ke, createElementVNode as Xe, defineComponent as Je, normalizeClass as xe, normalizeStyle as Qe, openBlock as He } from "vue";
|
|
15
2
|
function U(e) {
|
|
16
3
|
"@babel/helpers - typeof";
|
|
17
4
|
return U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
|
|
@@ -42,85 +29,98 @@ function rr(e, r, o) {
|
|
|
42
29
|
writable: !0
|
|
43
30
|
}) : e[r] = o, e;
|
|
44
31
|
}
|
|
45
|
-
function
|
|
32
|
+
function ke(e, r) {
|
|
46
33
|
var o = Object.keys(e);
|
|
47
34
|
if (Object.getOwnPropertySymbols) {
|
|
48
35
|
var t = Object.getOwnPropertySymbols(e);
|
|
49
|
-
r && (t = t.filter(function(
|
|
50
|
-
return Object.getOwnPropertyDescriptor(e,
|
|
36
|
+
r && (t = t.filter(function(s) {
|
|
37
|
+
return Object.getOwnPropertyDescriptor(e, s).enumerable;
|
|
51
38
|
})), o.push.apply(o, t);
|
|
52
39
|
}
|
|
53
40
|
return o;
|
|
54
41
|
}
|
|
55
|
-
function
|
|
42
|
+
function Oe(e) {
|
|
56
43
|
for (var r = 1; r < arguments.length; r++) {
|
|
57
44
|
var o = arguments[r] != null ? arguments[r] : {};
|
|
58
|
-
r % 2 ?
|
|
45
|
+
r % 2 ? ke(Object(o), !0).forEach(function(t) {
|
|
59
46
|
rr(e, t, o[t]);
|
|
60
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
47
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : ke(Object(o)).forEach(function(t) {
|
|
61
48
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(o, t));
|
|
62
49
|
});
|
|
63
50
|
}
|
|
64
51
|
return e;
|
|
65
52
|
}
|
|
53
|
+
function je(e) {
|
|
54
|
+
var r, o, t = "";
|
|
55
|
+
if (typeof e == "string" || typeof e == "number") t += e;
|
|
56
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
57
|
+
var s = e.length;
|
|
58
|
+
for (r = 0; r < s; r++) e[r] && (o = je(e[r])) && (t && (t += " "), t += o);
|
|
59
|
+
} else for (o in e) e[o] && (t && (t += " "), t += o);
|
|
60
|
+
return t;
|
|
61
|
+
}
|
|
62
|
+
function or() {
|
|
63
|
+
for (var e, r, o = 0, t = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r = je(e)) && (t && (t += " "), t += r);
|
|
64
|
+
return t;
|
|
65
|
+
}
|
|
66
66
|
var tr = (e, r) => {
|
|
67
67
|
const o = new Array(e.length + r.length);
|
|
68
68
|
for (let t = 0; t < e.length; t++) o[t] = e[t];
|
|
69
69
|
for (let t = 0; t < r.length; t++) o[e.length + t] = r[t];
|
|
70
70
|
return o;
|
|
71
|
-
},
|
|
71
|
+
}, ar = (e, r) => ({
|
|
72
72
|
classGroupId: e,
|
|
73
73
|
validator: r
|
|
74
|
-
}),
|
|
74
|
+
}), Te = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
|
|
75
75
|
nextPart: e,
|
|
76
76
|
validators: r,
|
|
77
77
|
classGroupId: o
|
|
78
|
-
}), oe = "-", ze = [],
|
|
78
|
+
}), oe = "-", ze = [], sr = "arbitrary..", nr = (e) => {
|
|
79
79
|
const r = lr(e), { conflictingClassGroups: o, conflictingClassGroupModifiers: t } = e;
|
|
80
80
|
return {
|
|
81
81
|
getClassGroupId: (c) => {
|
|
82
82
|
if (c.startsWith("[") && c.endsWith("]")) return ir(c);
|
|
83
|
-
const b = c.split(oe),
|
|
84
|
-
return Le(b,
|
|
83
|
+
const b = c.split(oe), p = b[0] === "" && b.length > 1 ? 1 : 0;
|
|
84
|
+
return Le(b, p, r);
|
|
85
85
|
},
|
|
86
86
|
getConflictingClassGroupIds: (c, b) => {
|
|
87
87
|
if (b) {
|
|
88
|
-
const
|
|
89
|
-
return
|
|
88
|
+
const p = t[c], u = o[c];
|
|
89
|
+
return p ? u ? tr(u, p) : p : u || ze;
|
|
90
90
|
}
|
|
91
91
|
return o[c] || ze;
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
}, Le = (e, r, o) => {
|
|
95
95
|
if (e.length - r === 0) return o.classGroupId;
|
|
96
|
-
const t = e[r],
|
|
97
|
-
if (
|
|
98
|
-
const
|
|
99
|
-
if (
|
|
96
|
+
const t = e[r], s = o.nextPart.get(t);
|
|
97
|
+
if (s) {
|
|
98
|
+
const p = Le(e, r + 1, s);
|
|
99
|
+
if (p) return p;
|
|
100
100
|
}
|
|
101
101
|
const i = o.validators;
|
|
102
102
|
if (i === null) return;
|
|
103
103
|
const c = r === 0 ? e.join(oe) : e.slice(r).join(oe), b = i.length;
|
|
104
|
-
for (let
|
|
105
|
-
const
|
|
106
|
-
if (
|
|
104
|
+
for (let p = 0; p < b; p++) {
|
|
105
|
+
const u = i[p];
|
|
106
|
+
if (u.validator(c)) return u.classGroupId;
|
|
107
107
|
}
|
|
108
108
|
}, ir = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
109
109
|
const r = e.slice(1, -1), o = r.indexOf(":"), t = r.slice(0, o);
|
|
110
|
-
return t ?
|
|
110
|
+
return t ? sr + t : void 0;
|
|
111
111
|
})(), lr = (e) => {
|
|
112
112
|
const { theme: r, classGroups: o } = e;
|
|
113
113
|
return cr(o, r);
|
|
114
114
|
}, cr = (e, r) => {
|
|
115
|
-
const o =
|
|
115
|
+
const o = Te();
|
|
116
116
|
for (const t in e) {
|
|
117
|
-
const
|
|
118
|
-
me(
|
|
117
|
+
const s = e[t];
|
|
118
|
+
me(s, o, t, r);
|
|
119
119
|
}
|
|
120
120
|
return o;
|
|
121
121
|
}, me = (e, r, o, t) => {
|
|
122
|
-
const
|
|
123
|
-
for (let i = 0; i <
|
|
122
|
+
const s = e.length;
|
|
123
|
+
for (let i = 0; i < s; i++) {
|
|
124
124
|
const c = e[i];
|
|
125
125
|
dr(c, r, o, t);
|
|
126
126
|
}
|
|
@@ -130,32 +130,32 @@ var tr = (e, r) => {
|
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
132
|
if (typeof e == "function") {
|
|
133
|
-
|
|
133
|
+
ur(e, r, o, t);
|
|
134
134
|
return;
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
pr(e, r, o, t);
|
|
137
137
|
}, mr = (e, r, o) => {
|
|
138
|
-
const t = e === "" ? r :
|
|
138
|
+
const t = e === "" ? r : Ne(r, e);
|
|
139
139
|
t.classGroupId = o;
|
|
140
|
-
},
|
|
140
|
+
}, ur = (e, r, o, t) => {
|
|
141
141
|
if (br(e)) {
|
|
142
142
|
me(e(t), r, o, t);
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
145
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
146
|
-
},
|
|
147
|
-
const
|
|
145
|
+
r.validators === null && (r.validators = []), r.validators.push(ar(o, e));
|
|
146
|
+
}, pr = (e, r, o, t) => {
|
|
147
|
+
const s = Object.entries(e), i = s.length;
|
|
148
148
|
for (let c = 0; c < i; c++) {
|
|
149
|
-
const [b,
|
|
150
|
-
me(
|
|
149
|
+
const [b, p] = s[c];
|
|
150
|
+
me(p, Ne(r, b), o, t);
|
|
151
151
|
}
|
|
152
|
-
},
|
|
152
|
+
}, Ne = (e, r) => {
|
|
153
153
|
let o = e;
|
|
154
|
-
const t = r.split(oe),
|
|
155
|
-
for (let i = 0; i <
|
|
154
|
+
const t = r.split(oe), s = t.length;
|
|
155
|
+
for (let i = 0; i < s; i++) {
|
|
156
156
|
const c = t[i];
|
|
157
157
|
let b = o.nextPart.get(c);
|
|
158
|
-
b || (b =
|
|
158
|
+
b || (b = Te(), o.nextPart.set(c, b)), o = b;
|
|
159
159
|
}
|
|
160
160
|
return o;
|
|
161
161
|
}, br = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, fr = (e) => {
|
|
@@ -166,7 +166,7 @@ var tr = (e, r) => {
|
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
let r = 0, o = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
|
|
169
|
-
const
|
|
169
|
+
const s = (i, c) => {
|
|
170
170
|
o[i] = c, r++, r > e && (r = 0, t = o, o = /* @__PURE__ */ Object.create(null));
|
|
171
171
|
};
|
|
172
172
|
return {
|
|
@@ -174,53 +174,53 @@ var tr = (e, r) => {
|
|
|
174
174
|
let c = o[i];
|
|
175
175
|
if (c !== void 0) return c;
|
|
176
176
|
if ((c = t[i]) !== void 0)
|
|
177
|
-
return
|
|
177
|
+
return s(i, c), c;
|
|
178
178
|
},
|
|
179
179
|
set(i, c) {
|
|
180
|
-
i in o ? o[i] = c :
|
|
180
|
+
i in o ? o[i] = c : s(i, c);
|
|
181
181
|
}
|
|
182
182
|
};
|
|
183
|
-
}, ce = "!", Ce = ":", gr = [], Se = (e, r, o, t,
|
|
183
|
+
}, ce = "!", Ce = ":", gr = [], Se = (e, r, o, t, s) => ({
|
|
184
184
|
modifiers: e,
|
|
185
185
|
hasImportantModifier: r,
|
|
186
186
|
baseClassName: o,
|
|
187
187
|
maybePostfixModifierPosition: t,
|
|
188
|
-
isExternal:
|
|
188
|
+
isExternal: s
|
|
189
189
|
}), hr = (e) => {
|
|
190
190
|
const { prefix: r, experimentalParseClassName: o } = e;
|
|
191
|
-
let t = (
|
|
191
|
+
let t = (s) => {
|
|
192
192
|
const i = [];
|
|
193
|
-
let c = 0, b = 0,
|
|
194
|
-
const z =
|
|
193
|
+
let c = 0, b = 0, p = 0, u;
|
|
194
|
+
const z = s.length;
|
|
195
195
|
for (let w = 0; w < z; w++) {
|
|
196
|
-
const C =
|
|
196
|
+
const C = s[w];
|
|
197
197
|
if (c === 0 && b === 0) {
|
|
198
198
|
if (C === Ce) {
|
|
199
|
-
i.push(
|
|
199
|
+
i.push(s.slice(p, w)), p = w + 1;
|
|
200
200
|
continue;
|
|
201
201
|
}
|
|
202
202
|
if (C === "/") {
|
|
203
|
-
|
|
203
|
+
u = w;
|
|
204
204
|
continue;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
C === "[" ? c++ : C === "]" ? c-- : C === "(" ? b++ : C === ")" && b--;
|
|
208
208
|
}
|
|
209
|
-
const h = i.length === 0 ?
|
|
209
|
+
const h = i.length === 0 ? s : s.slice(p);
|
|
210
210
|
let O = h, A = !1;
|
|
211
211
|
h.endsWith(ce) ? (O = h.slice(0, -1), A = !0) : h.startsWith(ce) && (O = h.slice(1), A = !0);
|
|
212
|
-
const
|
|
213
|
-
return Se(i, A, O,
|
|
212
|
+
const D = u && u > p ? u - p : void 0;
|
|
213
|
+
return Se(i, A, O, D);
|
|
214
214
|
};
|
|
215
215
|
if (r) {
|
|
216
|
-
const
|
|
217
|
-
t = (c) => c.startsWith(
|
|
216
|
+
const s = r + Ce, i = t;
|
|
217
|
+
t = (c) => c.startsWith(s) ? i(c.slice(s.length)) : Se(gr, !1, c, void 0, !0);
|
|
218
218
|
}
|
|
219
219
|
if (o) {
|
|
220
|
-
const
|
|
220
|
+
const s = t;
|
|
221
221
|
t = (i) => o({
|
|
222
222
|
className: i,
|
|
223
|
-
parseClassName:
|
|
223
|
+
parseClassName: s
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
return t;
|
|
@@ -230,14 +230,14 @@ var tr = (e, r) => {
|
|
|
230
230
|
r.set(o, 1e6 + t);
|
|
231
231
|
}), (o) => {
|
|
232
232
|
const t = [];
|
|
233
|
-
let
|
|
233
|
+
let s = [];
|
|
234
234
|
for (let i = 0; i < o.length; i++) {
|
|
235
|
-
const c = o[i], b = c[0] === "[",
|
|
236
|
-
b ||
|
|
235
|
+
const c = o[i], b = c[0] === "[", p = r.has(c);
|
|
236
|
+
b || p ? (s.length > 0 && (s.sort(), t.push(...s), s = []), t.push(c)) : s.push(c);
|
|
237
237
|
}
|
|
238
|
-
return
|
|
238
|
+
return s.length > 0 && (s.sort(), t.push(...s)), t;
|
|
239
239
|
};
|
|
240
|
-
}, yr = (e) =>
|
|
240
|
+
}, yr = (e) => Oe({
|
|
241
241
|
cache: fr(e.cacheSize),
|
|
242
242
|
parseClassName: hr(e),
|
|
243
243
|
sortModifiers: vr(e),
|
|
@@ -246,75 +246,75 @@ var tr = (e, r) => {
|
|
|
246
246
|
const r = /* @__PURE__ */ Object.create(null), o = e.postfixLookupClassGroups;
|
|
247
247
|
if (o) for (let t = 0; t < o.length; t++) r[o[t]] = !0;
|
|
248
248
|
return r;
|
|
249
|
-
},
|
|
250
|
-
const { parseClassName: o, getClassGroupId: t, getConflictingClassGroupIds:
|
|
251
|
-
let
|
|
252
|
-
for (let z =
|
|
253
|
-
const h =
|
|
249
|
+
}, xr = /\s+/, kr = (e, r) => {
|
|
250
|
+
const { parseClassName: o, getClassGroupId: t, getConflictingClassGroupIds: s, sortModifiers: i, postfixLookupClassGroupIds: c } = r, b = [], p = e.trim().split(xr);
|
|
251
|
+
let u = "";
|
|
252
|
+
for (let z = p.length - 1; z >= 0; z -= 1) {
|
|
253
|
+
const h = p[z], { isExternal: O, modifiers: A, hasImportantModifier: D, baseClassName: w, maybePostfixModifierPosition: C } = o(h);
|
|
254
254
|
if (O) {
|
|
255
|
-
|
|
255
|
+
u = h + (u.length > 0 ? " " + u : u);
|
|
256
256
|
continue;
|
|
257
257
|
}
|
|
258
|
-
let j = !!C,
|
|
258
|
+
let j = !!C, x;
|
|
259
259
|
if (j) {
|
|
260
|
-
|
|
261
|
-
const S =
|
|
262
|
-
S && S !==
|
|
263
|
-
} else
|
|
264
|
-
if (!
|
|
260
|
+
x = t(w.substring(0, C));
|
|
261
|
+
const S = x && c[x] ? t(w) : void 0;
|
|
262
|
+
S && S !== x && (x = S, j = !1);
|
|
263
|
+
} else x = t(w);
|
|
264
|
+
if (!x) {
|
|
265
265
|
if (!j) {
|
|
266
|
-
|
|
266
|
+
u = h + (u.length > 0 ? " " + u : u);
|
|
267
267
|
continue;
|
|
268
268
|
}
|
|
269
|
-
if (
|
|
270
|
-
|
|
269
|
+
if (x = t(w), !x) {
|
|
270
|
+
u = h + (u.length > 0 ? " " + u : u);
|
|
271
271
|
continue;
|
|
272
272
|
}
|
|
273
273
|
j = !1;
|
|
274
274
|
}
|
|
275
|
-
const
|
|
276
|
-
if (b.indexOf(
|
|
277
|
-
b.push(
|
|
278
|
-
const
|
|
279
|
-
for (let S = 0; S <
|
|
280
|
-
const l =
|
|
281
|
-
b.push(
|
|
275
|
+
const _ = A.length === 0 ? "" : A.length === 1 ? A[0] : i(A).join(":"), E = D ? _ + ce : _, V = E + x;
|
|
276
|
+
if (b.indexOf(V) > -1) continue;
|
|
277
|
+
b.push(V);
|
|
278
|
+
const W = s(x, j);
|
|
279
|
+
for (let S = 0; S < W.length; ++S) {
|
|
280
|
+
const l = W[S];
|
|
281
|
+
b.push(E + l);
|
|
282
282
|
}
|
|
283
|
-
|
|
283
|
+
u = h + (u.length > 0 ? " " + u : u);
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return u;
|
|
286
286
|
}, zr = (...e) => {
|
|
287
|
-
let r = 0, o, t,
|
|
288
|
-
for (; r < e.length; ) (o = e[r++]) && (t =
|
|
289
|
-
return
|
|
290
|
-
},
|
|
287
|
+
let r = 0, o, t, s = "";
|
|
288
|
+
for (; r < e.length; ) (o = e[r++]) && (t = Ee(o)) && (s && (s += " "), s += t);
|
|
289
|
+
return s;
|
|
290
|
+
}, Ee = (e) => {
|
|
291
291
|
if (typeof e == "string") return e;
|
|
292
292
|
let r, o = "";
|
|
293
|
-
for (let t = 0; t < e.length; t++) e[t] && (r =
|
|
293
|
+
for (let t = 0; t < e.length; t++) e[t] && (r = Ee(e[t])) && (o && (o += " "), o += r);
|
|
294
294
|
return o;
|
|
295
295
|
}, Pe = (e, ...r) => {
|
|
296
|
-
let o, t,
|
|
297
|
-
const c = (
|
|
298
|
-
const
|
|
299
|
-
return o = yr(
|
|
300
|
-
}, b = (
|
|
301
|
-
const
|
|
302
|
-
if (
|
|
303
|
-
const z =
|
|
304
|
-
return
|
|
296
|
+
let o, t, s, i;
|
|
297
|
+
const c = (p) => {
|
|
298
|
+
const u = r.reduce((z, h) => h(z), e());
|
|
299
|
+
return o = yr(u), t = o.cache.get, s = o.cache.set, i = b, b(p);
|
|
300
|
+
}, b = (p) => {
|
|
301
|
+
const u = t(p);
|
|
302
|
+
if (u) return u;
|
|
303
|
+
const z = kr(p, o);
|
|
304
|
+
return s(p, z), z;
|
|
305
305
|
};
|
|
306
|
-
return i = c, (...
|
|
306
|
+
return i = c, (...p) => i(zr(...p));
|
|
307
307
|
}, Cr = [], f = (e) => {
|
|
308
308
|
const r = (o) => o[e] || Cr;
|
|
309
309
|
return r.isThemeGetter = !0, r;
|
|
310
|
-
},
|
|
311
|
-
const t =
|
|
310
|
+
}, Ve = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, We = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Sr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Pr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ar = /\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$/, Gr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Mr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ir = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, I = (e) => Sr.test(e), m = (e) => !!e && !Number.isNaN(Number(e)), G = (e) => !!e && Number.isInteger(Number(e)), le = (e) => e.endsWith("%") && m(e.slice(0, -1)), M = (e) => Pr.test(e), Be = () => !0, Rr = (e) => Ar.test(e) && !Gr.test(e), ue = () => !1, Or = (e) => Mr.test(e), jr = (e) => Ir.test(e), Tr = (e) => !a(e) && !n(e), Lr = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Nr = (e) => R(e, _e, ue), a = (e) => Ve.test(e), L = (e) => R(e, $e, Rr), Ae = (e) => R(e, $r, m), Er = (e) => R(e, Ye, Be), Vr = (e) => R(e, Ue, ue), Ge = (e) => R(e, Fe, ue), Wr = (e) => R(e, De, jr), H = (e) => R(e, qe, Or), n = (e) => We.test(e), $ = (e) => N(e, $e), Br = (e) => N(e, Ue), Me = (e) => N(e, Fe), Fr = (e) => N(e, _e), Dr = (e) => N(e, De), Z = (e) => N(e, qe, !0), _r = (e) => N(e, Ye, !0), R = (e, r, o) => {
|
|
311
|
+
const t = Ve.exec(e);
|
|
312
312
|
return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
|
|
313
|
-
},
|
|
314
|
-
const t =
|
|
313
|
+
}, N = (e, r, o = !1) => {
|
|
314
|
+
const t = We.exec(e);
|
|
315
315
|
return t ? t[1] ? r(t[1]) : o : !1;
|
|
316
|
-
},
|
|
317
|
-
const e = f("color"), r = f("font"), o = f("text"), t = f("font-weight"),
|
|
316
|
+
}, Fe = (e) => e === "position" || e === "percentage", De = (e) => e === "image" || e === "url", _e = (e) => e === "length" || e === "size" || e === "bg-size", $e = (e) => e === "length", $r = (e) => e === "number", Ue = (e) => e === "family-name", Ye = (e) => e === "number" || e === "weight", qe = (e) => e === "shadow", Ie = () => {
|
|
317
|
+
const e = f("color"), r = f("font"), o = f("text"), t = f("font-weight"), s = f("tracking"), i = f("leading"), c = f("breakpoint"), b = f("container"), p = f("spacing"), u = f("radius"), z = f("shadow"), h = f("inset-shadow"), O = f("text-shadow"), A = f("drop-shadow"), D = f("blur"), w = f("perspective"), C = f("aspect"), j = f("ease"), x = f("animate"), _ = () => [
|
|
318
318
|
"auto",
|
|
319
319
|
"avoid",
|
|
320
320
|
"all",
|
|
@@ -323,7 +323,7 @@ var tr = (e, r) => {
|
|
|
323
323
|
"left",
|
|
324
324
|
"right",
|
|
325
325
|
"column"
|
|
326
|
-
],
|
|
326
|
+
], E = () => [
|
|
327
327
|
"center",
|
|
328
328
|
"top",
|
|
329
329
|
"bottom",
|
|
@@ -337,11 +337,11 @@ var tr = (e, r) => {
|
|
|
337
337
|
"right-bottom",
|
|
338
338
|
"bottom-left",
|
|
339
339
|
"left-bottom"
|
|
340
|
-
], E = () => [
|
|
341
|
-
...N(),
|
|
342
|
-
n,
|
|
343
|
-
s
|
|
344
340
|
], V = () => [
|
|
341
|
+
...E(),
|
|
342
|
+
n,
|
|
343
|
+
a
|
|
344
|
+
], W = () => [
|
|
345
345
|
"auto",
|
|
346
346
|
"hidden",
|
|
347
347
|
"clip",
|
|
@@ -353,42 +353,42 @@ var tr = (e, r) => {
|
|
|
353
353
|
"none"
|
|
354
354
|
], l = () => [
|
|
355
355
|
n,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
],
|
|
356
|
+
a,
|
|
357
|
+
p
|
|
358
|
+
], k = () => [
|
|
359
359
|
I,
|
|
360
360
|
"full",
|
|
361
361
|
"auto",
|
|
362
362
|
...l()
|
|
363
|
-
],
|
|
363
|
+
], pe = () => [
|
|
364
364
|
G,
|
|
365
365
|
"none",
|
|
366
366
|
"subgrid",
|
|
367
367
|
n,
|
|
368
|
-
|
|
368
|
+
a
|
|
369
369
|
], be = () => [
|
|
370
370
|
"auto",
|
|
371
371
|
{ span: [
|
|
372
372
|
"full",
|
|
373
373
|
G,
|
|
374
374
|
n,
|
|
375
|
-
|
|
375
|
+
a
|
|
376
376
|
] },
|
|
377
377
|
G,
|
|
378
378
|
n,
|
|
379
|
-
|
|
379
|
+
a
|
|
380
380
|
], Y = () => [
|
|
381
381
|
G,
|
|
382
382
|
"auto",
|
|
383
383
|
n,
|
|
384
|
-
|
|
384
|
+
a
|
|
385
385
|
], fe = () => [
|
|
386
386
|
"auto",
|
|
387
387
|
"min",
|
|
388
388
|
"max",
|
|
389
389
|
"fr",
|
|
390
390
|
n,
|
|
391
|
-
|
|
391
|
+
a
|
|
392
392
|
], te = () => [
|
|
393
393
|
"start",
|
|
394
394
|
"end",
|
|
@@ -400,14 +400,14 @@ var tr = (e, r) => {
|
|
|
400
400
|
"baseline",
|
|
401
401
|
"center-safe",
|
|
402
402
|
"end-safe"
|
|
403
|
-
],
|
|
403
|
+
], B = () => [
|
|
404
404
|
"start",
|
|
405
405
|
"end",
|
|
406
406
|
"center",
|
|
407
407
|
"stretch",
|
|
408
408
|
"center-safe",
|
|
409
409
|
"end-safe"
|
|
410
|
-
], P = () => ["auto", ...l()],
|
|
410
|
+
], P = () => ["auto", ...l()], T = () => [
|
|
411
411
|
I,
|
|
412
412
|
"auto",
|
|
413
413
|
"full",
|
|
@@ -421,7 +421,7 @@ var tr = (e, r) => {
|
|
|
421
421
|
"max",
|
|
422
422
|
"fit",
|
|
423
423
|
...l()
|
|
424
|
-
],
|
|
424
|
+
], ae = () => [
|
|
425
425
|
I,
|
|
426
426
|
"screen",
|
|
427
427
|
"full",
|
|
@@ -432,7 +432,7 @@ var tr = (e, r) => {
|
|
|
432
432
|
"max",
|
|
433
433
|
"fit",
|
|
434
434
|
...l()
|
|
435
|
-
],
|
|
435
|
+
], se = () => [
|
|
436
436
|
I,
|
|
437
437
|
"screen",
|
|
438
438
|
"full",
|
|
@@ -447,12 +447,12 @@ var tr = (e, r) => {
|
|
|
447
447
|
], d = () => [
|
|
448
448
|
e,
|
|
449
449
|
n,
|
|
450
|
-
|
|
450
|
+
a
|
|
451
451
|
], ge = () => [
|
|
452
|
-
...
|
|
452
|
+
...E(),
|
|
453
453
|
Me,
|
|
454
454
|
Ge,
|
|
455
|
-
{ position: [n,
|
|
455
|
+
{ position: [n, a] }
|
|
456
456
|
], he = () => ["no-repeat", { repeat: [
|
|
457
457
|
"",
|
|
458
458
|
"x",
|
|
@@ -463,25 +463,25 @@ var tr = (e, r) => {
|
|
|
463
463
|
"auto",
|
|
464
464
|
"cover",
|
|
465
465
|
"contain",
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
{ size: [n,
|
|
466
|
+
Fr,
|
|
467
|
+
Nr,
|
|
468
|
+
{ size: [n, a] }
|
|
469
469
|
], ne = () => [
|
|
470
470
|
le,
|
|
471
471
|
$,
|
|
472
|
-
|
|
472
|
+
L
|
|
473
473
|
], v = () => [
|
|
474
474
|
"",
|
|
475
475
|
"none",
|
|
476
476
|
"full",
|
|
477
|
-
|
|
477
|
+
u,
|
|
478
478
|
n,
|
|
479
|
-
|
|
479
|
+
a
|
|
480
480
|
], y = () => [
|
|
481
481
|
"",
|
|
482
482
|
m,
|
|
483
483
|
$,
|
|
484
|
-
|
|
484
|
+
L
|
|
485
485
|
], q = () => [
|
|
486
486
|
"solid",
|
|
487
487
|
"dashed",
|
|
@@ -512,23 +512,23 @@ var tr = (e, r) => {
|
|
|
512
512
|
], we = () => [
|
|
513
513
|
"",
|
|
514
514
|
"none",
|
|
515
|
-
|
|
515
|
+
D,
|
|
516
516
|
n,
|
|
517
|
-
|
|
517
|
+
a
|
|
518
518
|
], K = () => [
|
|
519
519
|
"none",
|
|
520
520
|
m,
|
|
521
521
|
n,
|
|
522
|
-
|
|
522
|
+
a
|
|
523
523
|
], X = () => [
|
|
524
524
|
"none",
|
|
525
525
|
m,
|
|
526
526
|
n,
|
|
527
|
-
|
|
527
|
+
a
|
|
528
528
|
], ie = () => [
|
|
529
529
|
m,
|
|
530
530
|
n,
|
|
531
|
-
|
|
531
|
+
a
|
|
532
532
|
], J = () => [
|
|
533
533
|
I,
|
|
534
534
|
"full",
|
|
@@ -546,7 +546,7 @@ var tr = (e, r) => {
|
|
|
546
546
|
aspect: ["video"],
|
|
547
547
|
blur: [M],
|
|
548
548
|
breakpoint: [M],
|
|
549
|
-
color: [
|
|
549
|
+
color: [Be],
|
|
550
550
|
container: [M],
|
|
551
551
|
"drop-shadow": [M],
|
|
552
552
|
ease: [
|
|
@@ -554,7 +554,7 @@ var tr = (e, r) => {
|
|
|
554
554
|
"out",
|
|
555
555
|
"in-out"
|
|
556
556
|
],
|
|
557
|
-
font: [
|
|
557
|
+
font: [Tr],
|
|
558
558
|
"font-weight": [
|
|
559
559
|
"thin",
|
|
560
560
|
"extralight",
|
|
@@ -602,7 +602,7 @@ var tr = (e, r) => {
|
|
|
602
602
|
"auto",
|
|
603
603
|
"square",
|
|
604
604
|
I,
|
|
605
|
-
|
|
605
|
+
a,
|
|
606
606
|
n,
|
|
607
607
|
C
|
|
608
608
|
] }],
|
|
@@ -612,17 +612,17 @@ var tr = (e, r) => {
|
|
|
612
612
|
"normal",
|
|
613
613
|
"size",
|
|
614
614
|
n,
|
|
615
|
-
|
|
615
|
+
a
|
|
616
616
|
] }],
|
|
617
|
-
"container-named": [
|
|
617
|
+
"container-named": [Lr],
|
|
618
618
|
columns: [{ columns: [
|
|
619
619
|
m,
|
|
620
|
-
|
|
620
|
+
a,
|
|
621
621
|
n,
|
|
622
622
|
b
|
|
623
623
|
] }],
|
|
624
|
-
"break-after": [{ "break-after":
|
|
625
|
-
"break-before": [{ "break-before":
|
|
624
|
+
"break-after": [{ "break-after": _() }],
|
|
625
|
+
"break-before": [{ "break-before": _() }],
|
|
626
626
|
"break-inside": [{ "break-inside": [
|
|
627
627
|
"auto",
|
|
628
628
|
"avoid",
|
|
@@ -678,10 +678,10 @@ var tr = (e, r) => {
|
|
|
678
678
|
"none",
|
|
679
679
|
"scale-down"
|
|
680
680
|
] }],
|
|
681
|
-
"object-position": [{ object:
|
|
682
|
-
overflow: [{ overflow:
|
|
683
|
-
"overflow-x": [{ "overflow-x":
|
|
684
|
-
"overflow-y": [{ "overflow-y":
|
|
681
|
+
"object-position": [{ object: V() }],
|
|
682
|
+
overflow: [{ overflow: W() }],
|
|
683
|
+
"overflow-x": [{ "overflow-x": W() }],
|
|
684
|
+
"overflow-y": [{ "overflow-y": W() }],
|
|
685
685
|
overscroll: [{ overscroll: S() }],
|
|
686
686
|
"overscroll-x": [{ "overscroll-x": S() }],
|
|
687
687
|
"overscroll-y": [{ "overscroll-y": S() }],
|
|
@@ -692,23 +692,23 @@ var tr = (e, r) => {
|
|
|
692
692
|
"relative",
|
|
693
693
|
"sticky"
|
|
694
694
|
],
|
|
695
|
-
inset: [{ inset:
|
|
696
|
-
"inset-x": [{ "inset-x":
|
|
697
|
-
"inset-y": [{ "inset-y":
|
|
695
|
+
inset: [{ inset: k() }],
|
|
696
|
+
"inset-x": [{ "inset-x": k() }],
|
|
697
|
+
"inset-y": [{ "inset-y": k() }],
|
|
698
698
|
start: [{
|
|
699
|
-
"inset-s":
|
|
700
|
-
start:
|
|
699
|
+
"inset-s": k(),
|
|
700
|
+
start: k()
|
|
701
701
|
}],
|
|
702
702
|
end: [{
|
|
703
|
-
"inset-e":
|
|
704
|
-
end:
|
|
703
|
+
"inset-e": k(),
|
|
704
|
+
end: k()
|
|
705
705
|
}],
|
|
706
|
-
"inset-bs": [{ "inset-bs":
|
|
707
|
-
"inset-be": [{ "inset-be":
|
|
708
|
-
top: [{ top:
|
|
709
|
-
right: [{ right:
|
|
710
|
-
bottom: [{ bottom:
|
|
711
|
-
left: [{ left:
|
|
706
|
+
"inset-bs": [{ "inset-bs": k() }],
|
|
707
|
+
"inset-be": [{ "inset-be": k() }],
|
|
708
|
+
top: [{ top: k() }],
|
|
709
|
+
right: [{ right: k() }],
|
|
710
|
+
bottom: [{ bottom: k() }],
|
|
711
|
+
left: [{ left: k() }],
|
|
712
712
|
visibility: [
|
|
713
713
|
"visible",
|
|
714
714
|
"invisible",
|
|
@@ -718,7 +718,7 @@ var tr = (e, r) => {
|
|
|
718
718
|
G,
|
|
719
719
|
"auto",
|
|
720
720
|
n,
|
|
721
|
-
|
|
721
|
+
a
|
|
722
722
|
] }],
|
|
723
723
|
basis: [{ basis: [
|
|
724
724
|
I,
|
|
@@ -744,19 +744,19 @@ var tr = (e, r) => {
|
|
|
744
744
|
"auto",
|
|
745
745
|
"initial",
|
|
746
746
|
"none",
|
|
747
|
-
|
|
747
|
+
a
|
|
748
748
|
] }],
|
|
749
749
|
grow: [{ grow: [
|
|
750
750
|
"",
|
|
751
751
|
m,
|
|
752
752
|
n,
|
|
753
|
-
|
|
753
|
+
a
|
|
754
754
|
] }],
|
|
755
755
|
shrink: [{ shrink: [
|
|
756
756
|
"",
|
|
757
757
|
m,
|
|
758
758
|
n,
|
|
759
|
-
|
|
759
|
+
a
|
|
760
760
|
] }],
|
|
761
761
|
order: [{ order: [
|
|
762
762
|
G,
|
|
@@ -764,13 +764,13 @@ var tr = (e, r) => {
|
|
|
764
764
|
"last",
|
|
765
765
|
"none",
|
|
766
766
|
n,
|
|
767
|
-
|
|
767
|
+
a
|
|
768
768
|
] }],
|
|
769
|
-
"grid-cols": [{ "grid-cols":
|
|
769
|
+
"grid-cols": [{ "grid-cols": pe() }],
|
|
770
770
|
"col-start-end": [{ col: be() }],
|
|
771
771
|
"col-start": [{ "col-start": Y() }],
|
|
772
772
|
"col-end": [{ "col-end": Y() }],
|
|
773
|
-
"grid-rows": [{ "grid-rows":
|
|
773
|
+
"grid-rows": [{ "grid-rows": pe() }],
|
|
774
774
|
"row-start-end": [{ row: be() }],
|
|
775
775
|
"row-start": [{ "row-start": Y() }],
|
|
776
776
|
"row-end": [{ "row-end": Y() }],
|
|
@@ -787,18 +787,18 @@ var tr = (e, r) => {
|
|
|
787
787
|
"gap-x": [{ "gap-x": l() }],
|
|
788
788
|
"gap-y": [{ "gap-y": l() }],
|
|
789
789
|
"justify-content": [{ justify: [...te(), "normal"] }],
|
|
790
|
-
"justify-items": [{ "justify-items": [...
|
|
791
|
-
"justify-self": [{ "justify-self": ["auto", ...
|
|
790
|
+
"justify-items": [{ "justify-items": [...B(), "normal"] }],
|
|
791
|
+
"justify-self": [{ "justify-self": ["auto", ...B()] }],
|
|
792
792
|
"align-content": [{ content: ["normal", ...te()] }],
|
|
793
|
-
"align-items": [{ items: [...
|
|
793
|
+
"align-items": [{ items: [...B(), { baseline: ["", "last"] }] }],
|
|
794
794
|
"align-self": [{ self: [
|
|
795
795
|
"auto",
|
|
796
|
-
...
|
|
796
|
+
...B(),
|
|
797
797
|
{ baseline: ["", "last"] }
|
|
798
798
|
] }],
|
|
799
799
|
"place-content": [{ "place-content": te() }],
|
|
800
|
-
"place-items": [{ "place-items": [...
|
|
801
|
-
"place-self": [{ "place-self": ["auto", ...
|
|
800
|
+
"place-items": [{ "place-items": [...B(), "baseline"] }],
|
|
801
|
+
"place-self": [{ "place-self": ["auto", ...B()] }],
|
|
802
802
|
p: [{ p: l() }],
|
|
803
803
|
px: [{ px: l() }],
|
|
804
804
|
py: [{ py: l() }],
|
|
@@ -825,23 +825,23 @@ var tr = (e, r) => {
|
|
|
825
825
|
"space-x-reverse": ["space-x-reverse"],
|
|
826
826
|
"space-y": [{ "space-y": l() }],
|
|
827
827
|
"space-y-reverse": ["space-y-reverse"],
|
|
828
|
-
size: [{ size:
|
|
829
|
-
"inline-size": [{ inline: ["auto", ...
|
|
830
|
-
"min-inline-size": [{ "min-inline": ["auto", ...
|
|
831
|
-
"max-inline-size": [{ "max-inline": ["none", ...
|
|
832
|
-
"block-size": [{ block: ["auto", ...
|
|
833
|
-
"min-block-size": [{ "min-block": ["auto", ...
|
|
834
|
-
"max-block-size": [{ "max-block": ["none", ...
|
|
828
|
+
size: [{ size: T() }],
|
|
829
|
+
"inline-size": [{ inline: ["auto", ...ae()] }],
|
|
830
|
+
"min-inline-size": [{ "min-inline": ["auto", ...ae()] }],
|
|
831
|
+
"max-inline-size": [{ "max-inline": ["none", ...ae()] }],
|
|
832
|
+
"block-size": [{ block: ["auto", ...se()] }],
|
|
833
|
+
"min-block-size": [{ "min-block": ["auto", ...se()] }],
|
|
834
|
+
"max-block-size": [{ "max-block": ["none", ...se()] }],
|
|
835
835
|
w: [{ w: [
|
|
836
836
|
b,
|
|
837
837
|
"screen",
|
|
838
|
-
...
|
|
838
|
+
...T()
|
|
839
839
|
] }],
|
|
840
840
|
"min-w": [{ "min-w": [
|
|
841
841
|
b,
|
|
842
842
|
"screen",
|
|
843
843
|
"none",
|
|
844
|
-
...
|
|
844
|
+
...T()
|
|
845
845
|
] }],
|
|
846
846
|
"max-w": [{ "max-w": [
|
|
847
847
|
b,
|
|
@@ -849,36 +849,36 @@ var tr = (e, r) => {
|
|
|
849
849
|
"none",
|
|
850
850
|
"prose",
|
|
851
851
|
{ screen: [c] },
|
|
852
|
-
...
|
|
852
|
+
...T()
|
|
853
853
|
] }],
|
|
854
854
|
h: [{ h: [
|
|
855
855
|
"screen",
|
|
856
856
|
"lh",
|
|
857
|
-
...
|
|
857
|
+
...T()
|
|
858
858
|
] }],
|
|
859
859
|
"min-h": [{ "min-h": [
|
|
860
860
|
"screen",
|
|
861
861
|
"lh",
|
|
862
862
|
"none",
|
|
863
|
-
...
|
|
863
|
+
...T()
|
|
864
864
|
] }],
|
|
865
865
|
"max-h": [{ "max-h": [
|
|
866
866
|
"screen",
|
|
867
867
|
"lh",
|
|
868
|
-
...
|
|
868
|
+
...T()
|
|
869
869
|
] }],
|
|
870
870
|
"font-size": [{ text: [
|
|
871
871
|
"base",
|
|
872
872
|
o,
|
|
873
873
|
$,
|
|
874
|
-
|
|
874
|
+
L
|
|
875
875
|
] }],
|
|
876
876
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
877
877
|
"font-style": ["italic", "not-italic"],
|
|
878
878
|
"font-weight": [{ font: [
|
|
879
879
|
t,
|
|
880
|
-
|
|
881
|
-
|
|
880
|
+
_r,
|
|
881
|
+
Er
|
|
882
882
|
] }],
|
|
883
883
|
"font-stretch": [{ "font-stretch": [
|
|
884
884
|
"ultra-condensed",
|
|
@@ -891,14 +891,14 @@ var tr = (e, r) => {
|
|
|
891
891
|
"extra-expanded",
|
|
892
892
|
"ultra-expanded",
|
|
893
893
|
le,
|
|
894
|
-
|
|
894
|
+
a
|
|
895
895
|
] }],
|
|
896
896
|
"font-family": [{ font: [
|
|
897
|
-
|
|
898
|
-
|
|
897
|
+
Br,
|
|
898
|
+
Vr,
|
|
899
899
|
r
|
|
900
900
|
] }],
|
|
901
|
-
"font-features": [{ "font-features": [
|
|
901
|
+
"font-features": [{ "font-features": [a] }],
|
|
902
902
|
"fvn-normal": ["normal-nums"],
|
|
903
903
|
"fvn-ordinal": ["ordinal"],
|
|
904
904
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -906,9 +906,9 @@ var tr = (e, r) => {
|
|
|
906
906
|
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
907
907
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
908
908
|
tracking: [{ tracking: [
|
|
909
|
-
|
|
909
|
+
s,
|
|
910
910
|
n,
|
|
911
|
-
|
|
911
|
+
a
|
|
912
912
|
] }],
|
|
913
913
|
"line-clamp": [{ "line-clamp": [
|
|
914
914
|
m,
|
|
@@ -920,7 +920,7 @@ var tr = (e, r) => {
|
|
|
920
920
|
"list-image": [{ "list-image": [
|
|
921
921
|
"none",
|
|
922
922
|
n,
|
|
923
|
-
|
|
923
|
+
a
|
|
924
924
|
] }],
|
|
925
925
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
926
926
|
"list-style-type": [{ list: [
|
|
@@ -928,7 +928,7 @@ var tr = (e, r) => {
|
|
|
928
928
|
"decimal",
|
|
929
929
|
"none",
|
|
930
930
|
n,
|
|
931
|
-
|
|
931
|
+
a
|
|
932
932
|
] }],
|
|
933
933
|
"text-alignment": [{ text: [
|
|
934
934
|
"left",
|
|
@@ -952,14 +952,14 @@ var tr = (e, r) => {
|
|
|
952
952
|
"from-font",
|
|
953
953
|
"auto",
|
|
954
954
|
n,
|
|
955
|
-
|
|
955
|
+
L
|
|
956
956
|
] }],
|
|
957
957
|
"text-decoration-color": [{ decoration: d() }],
|
|
958
958
|
"underline-offset": [{ "underline-offset": [
|
|
959
959
|
m,
|
|
960
960
|
"auto",
|
|
961
961
|
n,
|
|
962
|
-
|
|
962
|
+
a
|
|
963
963
|
] }],
|
|
964
964
|
"text-transform": [
|
|
965
965
|
"uppercase",
|
|
@@ -982,7 +982,7 @@ var tr = (e, r) => {
|
|
|
982
982
|
"tab-size": [{ tab: [
|
|
983
983
|
G,
|
|
984
984
|
n,
|
|
985
|
-
|
|
985
|
+
a
|
|
986
986
|
] }],
|
|
987
987
|
"vertical-align": [{ align: [
|
|
988
988
|
"baseline",
|
|
@@ -994,7 +994,7 @@ var tr = (e, r) => {
|
|
|
994
994
|
"sub",
|
|
995
995
|
"super",
|
|
996
996
|
n,
|
|
997
|
-
|
|
997
|
+
a
|
|
998
998
|
] }],
|
|
999
999
|
whitespace: [{ whitespace: [
|
|
1000
1000
|
"normal",
|
|
@@ -1023,7 +1023,7 @@ var tr = (e, r) => {
|
|
|
1023
1023
|
content: [{ content: [
|
|
1024
1024
|
"none",
|
|
1025
1025
|
n,
|
|
1026
|
-
|
|
1026
|
+
a
|
|
1027
1027
|
] }],
|
|
1028
1028
|
"bg-attachment": [{ bg: [
|
|
1029
1029
|
"fixed",
|
|
@@ -1060,21 +1060,21 @@ var tr = (e, r) => {
|
|
|
1060
1060
|
] },
|
|
1061
1061
|
G,
|
|
1062
1062
|
n,
|
|
1063
|
-
|
|
1063
|
+
a
|
|
1064
1064
|
],
|
|
1065
1065
|
radial: [
|
|
1066
1066
|
"",
|
|
1067
1067
|
n,
|
|
1068
|
-
|
|
1068
|
+
a
|
|
1069
1069
|
],
|
|
1070
1070
|
conic: [
|
|
1071
1071
|
G,
|
|
1072
1072
|
n,
|
|
1073
|
-
|
|
1073
|
+
a
|
|
1074
1074
|
]
|
|
1075
1075
|
},
|
|
1076
|
-
|
|
1077
|
-
|
|
1076
|
+
Dr,
|
|
1077
|
+
Wr
|
|
1078
1078
|
] }],
|
|
1079
1079
|
"bg-color": [{ bg: d() }],
|
|
1080
1080
|
"gradient-from-pos": [{ from: ne() }],
|
|
@@ -1143,13 +1143,13 @@ var tr = (e, r) => {
|
|
|
1143
1143
|
"outline-offset": [{ "outline-offset": [
|
|
1144
1144
|
m,
|
|
1145
1145
|
n,
|
|
1146
|
-
|
|
1146
|
+
a
|
|
1147
1147
|
] }],
|
|
1148
1148
|
"outline-w": [{ outline: [
|
|
1149
1149
|
"",
|
|
1150
1150
|
m,
|
|
1151
1151
|
$,
|
|
1152
|
-
|
|
1152
|
+
L
|
|
1153
1153
|
] }],
|
|
1154
1154
|
"outline-color": [{ outline: d() }],
|
|
1155
1155
|
shadow: [{ shadow: [
|
|
@@ -1170,7 +1170,7 @@ var tr = (e, r) => {
|
|
|
1170
1170
|
"ring-w": [{ ring: y() }],
|
|
1171
1171
|
"ring-w-inset": ["ring-inset"],
|
|
1172
1172
|
"ring-color": [{ ring: d() }],
|
|
1173
|
-
"ring-offset-w": [{ "ring-offset": [m,
|
|
1173
|
+
"ring-offset-w": [{ "ring-offset": [m, L] }],
|
|
1174
1174
|
"ring-offset-color": [{ "ring-offset": d() }],
|
|
1175
1175
|
"inset-ring-w": [{ "inset-ring": y() }],
|
|
1176
1176
|
"inset-ring-color": [{ "inset-ring": d() }],
|
|
@@ -1184,7 +1184,7 @@ var tr = (e, r) => {
|
|
|
1184
1184
|
opacity: [{ opacity: [
|
|
1185
1185
|
m,
|
|
1186
1186
|
n,
|
|
1187
|
-
|
|
1187
|
+
a
|
|
1188
1188
|
] }],
|
|
1189
1189
|
"mix-blend": [{ "mix-blend": [
|
|
1190
1190
|
...ye(),
|
|
@@ -1235,7 +1235,7 @@ var tr = (e, r) => {
|
|
|
1235
1235
|
"mask-image-y-to-pos": [{ "mask-y-to": g() }],
|
|
1236
1236
|
"mask-image-y-from-color": [{ "mask-y-from": d() }],
|
|
1237
1237
|
"mask-image-y-to-color": [{ "mask-y-to": d() }],
|
|
1238
|
-
"mask-image-radial": [{ "mask-radial": [n,
|
|
1238
|
+
"mask-image-radial": [{ "mask-radial": [n, a] }],
|
|
1239
1239
|
"mask-image-radial-from-pos": [{ "mask-radial-from": g() }],
|
|
1240
1240
|
"mask-image-radial-to-pos": [{ "mask-radial-to": g() }],
|
|
1241
1241
|
"mask-image-radial-from-color": [{ "mask-radial-from": d() }],
|
|
@@ -1245,7 +1245,7 @@ var tr = (e, r) => {
|
|
|
1245
1245
|
closest: ["side", "corner"],
|
|
1246
1246
|
farthest: ["side", "corner"]
|
|
1247
1247
|
}] }],
|
|
1248
|
-
"mask-image-radial-pos": [{ "mask-radial-at":
|
|
1248
|
+
"mask-image-radial-pos": [{ "mask-radial-at": E() }],
|
|
1249
1249
|
"mask-image-conic-pos": [{ "mask-conic": [m] }],
|
|
1250
1250
|
"mask-image-conic-from-pos": [{ "mask-conic-from": g() }],
|
|
1251
1251
|
"mask-image-conic-to-pos": [{ "mask-conic-to": g() }],
|
|
@@ -1271,24 +1271,24 @@ var tr = (e, r) => {
|
|
|
1271
1271
|
"mask-image": [{ mask: [
|
|
1272
1272
|
"none",
|
|
1273
1273
|
n,
|
|
1274
|
-
|
|
1274
|
+
a
|
|
1275
1275
|
] }],
|
|
1276
1276
|
filter: [{ filter: [
|
|
1277
1277
|
"",
|
|
1278
1278
|
"none",
|
|
1279
1279
|
n,
|
|
1280
|
-
|
|
1280
|
+
a
|
|
1281
1281
|
] }],
|
|
1282
1282
|
blur: [{ blur: we() }],
|
|
1283
1283
|
brightness: [{ brightness: [
|
|
1284
1284
|
m,
|
|
1285
1285
|
n,
|
|
1286
|
-
|
|
1286
|
+
a
|
|
1287
1287
|
] }],
|
|
1288
1288
|
contrast: [{ contrast: [
|
|
1289
1289
|
m,
|
|
1290
1290
|
n,
|
|
1291
|
-
|
|
1291
|
+
a
|
|
1292
1292
|
] }],
|
|
1293
1293
|
"drop-shadow": [{ "drop-shadow": [
|
|
1294
1294
|
"",
|
|
@@ -1302,79 +1302,79 @@ var tr = (e, r) => {
|
|
|
1302
1302
|
"",
|
|
1303
1303
|
m,
|
|
1304
1304
|
n,
|
|
1305
|
-
|
|
1305
|
+
a
|
|
1306
1306
|
] }],
|
|
1307
1307
|
"hue-rotate": [{ "hue-rotate": [
|
|
1308
1308
|
m,
|
|
1309
1309
|
n,
|
|
1310
|
-
|
|
1310
|
+
a
|
|
1311
1311
|
] }],
|
|
1312
1312
|
invert: [{ invert: [
|
|
1313
1313
|
"",
|
|
1314
1314
|
m,
|
|
1315
1315
|
n,
|
|
1316
|
-
|
|
1316
|
+
a
|
|
1317
1317
|
] }],
|
|
1318
1318
|
saturate: [{ saturate: [
|
|
1319
1319
|
m,
|
|
1320
1320
|
n,
|
|
1321
|
-
|
|
1321
|
+
a
|
|
1322
1322
|
] }],
|
|
1323
1323
|
sepia: [{ sepia: [
|
|
1324
1324
|
"",
|
|
1325
1325
|
m,
|
|
1326
1326
|
n,
|
|
1327
|
-
|
|
1327
|
+
a
|
|
1328
1328
|
] }],
|
|
1329
1329
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1330
1330
|
"",
|
|
1331
1331
|
"none",
|
|
1332
1332
|
n,
|
|
1333
|
-
|
|
1333
|
+
a
|
|
1334
1334
|
] }],
|
|
1335
1335
|
"backdrop-blur": [{ "backdrop-blur": we() }],
|
|
1336
1336
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1337
1337
|
m,
|
|
1338
1338
|
n,
|
|
1339
|
-
|
|
1339
|
+
a
|
|
1340
1340
|
] }],
|
|
1341
1341
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1342
1342
|
m,
|
|
1343
1343
|
n,
|
|
1344
|
-
|
|
1344
|
+
a
|
|
1345
1345
|
] }],
|
|
1346
1346
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1347
1347
|
"",
|
|
1348
1348
|
m,
|
|
1349
1349
|
n,
|
|
1350
|
-
|
|
1350
|
+
a
|
|
1351
1351
|
] }],
|
|
1352
1352
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1353
1353
|
m,
|
|
1354
1354
|
n,
|
|
1355
|
-
|
|
1355
|
+
a
|
|
1356
1356
|
] }],
|
|
1357
1357
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1358
1358
|
"",
|
|
1359
1359
|
m,
|
|
1360
1360
|
n,
|
|
1361
|
-
|
|
1361
|
+
a
|
|
1362
1362
|
] }],
|
|
1363
1363
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1364
1364
|
m,
|
|
1365
1365
|
n,
|
|
1366
|
-
|
|
1366
|
+
a
|
|
1367
1367
|
] }],
|
|
1368
1368
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1369
1369
|
m,
|
|
1370
1370
|
n,
|
|
1371
|
-
|
|
1371
|
+
a
|
|
1372
1372
|
] }],
|
|
1373
1373
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1374
1374
|
"",
|
|
1375
1375
|
m,
|
|
1376
1376
|
n,
|
|
1377
|
-
|
|
1377
|
+
a
|
|
1378
1378
|
] }],
|
|
1379
1379
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1380
1380
|
"border-spacing": [{ "border-spacing": l() }],
|
|
@@ -1391,40 +1391,40 @@ var tr = (e, r) => {
|
|
|
1391
1391
|
"transform",
|
|
1392
1392
|
"none",
|
|
1393
1393
|
n,
|
|
1394
|
-
|
|
1394
|
+
a
|
|
1395
1395
|
] }],
|
|
1396
1396
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1397
1397
|
duration: [{ duration: [
|
|
1398
1398
|
m,
|
|
1399
1399
|
"initial",
|
|
1400
1400
|
n,
|
|
1401
|
-
|
|
1401
|
+
a
|
|
1402
1402
|
] }],
|
|
1403
1403
|
ease: [{ ease: [
|
|
1404
1404
|
"linear",
|
|
1405
1405
|
"initial",
|
|
1406
1406
|
j,
|
|
1407
1407
|
n,
|
|
1408
|
-
|
|
1408
|
+
a
|
|
1409
1409
|
] }],
|
|
1410
1410
|
delay: [{ delay: [
|
|
1411
1411
|
m,
|
|
1412
1412
|
n,
|
|
1413
|
-
|
|
1413
|
+
a
|
|
1414
1414
|
] }],
|
|
1415
1415
|
animate: [{ animate: [
|
|
1416
1416
|
"none",
|
|
1417
|
-
|
|
1417
|
+
x,
|
|
1418
1418
|
n,
|
|
1419
|
-
|
|
1419
|
+
a
|
|
1420
1420
|
] }],
|
|
1421
1421
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1422
1422
|
perspective: [{ perspective: [
|
|
1423
1423
|
w,
|
|
1424
1424
|
n,
|
|
1425
|
-
|
|
1425
|
+
a
|
|
1426
1426
|
] }],
|
|
1427
|
-
"perspective-origin": [{ "perspective-origin":
|
|
1427
|
+
"perspective-origin": [{ "perspective-origin": V() }],
|
|
1428
1428
|
rotate: [{ rotate: K() }],
|
|
1429
1429
|
"rotate-x": [{ "rotate-x": K() }],
|
|
1430
1430
|
"rotate-y": [{ "rotate-y": K() }],
|
|
@@ -1439,13 +1439,13 @@ var tr = (e, r) => {
|
|
|
1439
1439
|
"skew-y": [{ "skew-y": ie() }],
|
|
1440
1440
|
transform: [{ transform: [
|
|
1441
1441
|
n,
|
|
1442
|
-
|
|
1442
|
+
a,
|
|
1443
1443
|
"",
|
|
1444
1444
|
"none",
|
|
1445
1445
|
"gpu",
|
|
1446
1446
|
"cpu"
|
|
1447
1447
|
] }],
|
|
1448
|
-
"transform-origin": [{ origin:
|
|
1448
|
+
"transform-origin": [{ origin: V() }],
|
|
1449
1449
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1450
1450
|
translate: [{ translate: J() }],
|
|
1451
1451
|
"translate-x": [{ "translate-x": J() }],
|
|
@@ -1455,7 +1455,7 @@ var tr = (e, r) => {
|
|
|
1455
1455
|
zoom: [{ zoom: [
|
|
1456
1456
|
G,
|
|
1457
1457
|
n,
|
|
1458
|
-
|
|
1458
|
+
a
|
|
1459
1459
|
] }],
|
|
1460
1460
|
accent: [{ accent: d() }],
|
|
1461
1461
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1506,7 +1506,7 @@ var tr = (e, r) => {
|
|
|
1506
1506
|
"zoom-in",
|
|
1507
1507
|
"zoom-out",
|
|
1508
1508
|
n,
|
|
1509
|
-
|
|
1509
|
+
a
|
|
1510
1510
|
] }],
|
|
1511
1511
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1512
1512
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -1593,13 +1593,13 @@ var tr = (e, r) => {
|
|
|
1593
1593
|
"contents",
|
|
1594
1594
|
"transform",
|
|
1595
1595
|
n,
|
|
1596
|
-
|
|
1596
|
+
a
|
|
1597
1597
|
] }],
|
|
1598
1598
|
fill: [{ fill: ["none", ...d()] }],
|
|
1599
1599
|
"stroke-w": [{ stroke: [
|
|
1600
1600
|
m,
|
|
1601
1601
|
$,
|
|
1602
|
-
|
|
1602
|
+
L,
|
|
1603
1603
|
Ae
|
|
1604
1604
|
] }],
|
|
1605
1605
|
stroke: [{ stroke: ["none", ...d()] }],
|
|
@@ -1788,10 +1788,10 @@ var tr = (e, r) => {
|
|
|
1788
1788
|
"selection"
|
|
1789
1789
|
]
|
|
1790
1790
|
};
|
|
1791
|
-
}, Ur = (e, { cacheSize: r, prefix: o, experimentalParseClassName: t, extend:
|
|
1791
|
+
}, Ur = (e, { cacheSize: r, prefix: o, experimentalParseClassName: t, extend: s = {}, override: i = {} }) => (F(e, "cacheSize", r), F(e, "prefix", o), F(e, "experimentalParseClassName", t), ee(e.theme, i.theme), ee(e.classGroups, i.classGroups), ee(e.conflictingClassGroups, i.conflictingClassGroups), ee(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), F(e, "postfixLookupClassGroups", i.postfixLookupClassGroups), F(e, "orderSensitiveModifiers", i.orderSensitiveModifiers), re(e.theme, s.theme), re(e.classGroups, s.classGroups), re(e.conflictingClassGroups, s.conflictingClassGroups), re(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), de(e, s, "postfixLookupClassGroups"), de(e, s, "orderSensitiveModifiers"), e), F = (e, r, o) => {
|
|
1792
1792
|
o !== void 0 && (e[r] = o);
|
|
1793
1793
|
}, ee = (e, r) => {
|
|
1794
|
-
if (r) for (const o in r)
|
|
1794
|
+
if (r) for (const o in r) F(e, o, r[o]);
|
|
1795
1795
|
}, re = (e, r) => {
|
|
1796
1796
|
if (r) for (const o in r) de(e, r, o);
|
|
1797
1797
|
}, de = (e, r, o) => {
|
|
@@ -1817,52 +1817,61 @@ var tr = (e, r) => {
|
|
|
1817
1817
|
radius: ["btn"]
|
|
1818
1818
|
} } });
|
|
1819
1819
|
function Re(...e) {
|
|
1820
|
-
return qr(
|
|
1820
|
+
return qr(or(e));
|
|
1821
1821
|
}
|
|
1822
1822
|
var Kr = [
|
|
1823
|
+
"role",
|
|
1823
1824
|
"aria-label",
|
|
1825
|
+
"aria-valuemin",
|
|
1826
|
+
"aria-valuemax",
|
|
1824
1827
|
"aria-valuenow",
|
|
1828
|
+
"aria-hidden",
|
|
1825
1829
|
"data-size",
|
|
1826
1830
|
"data-value"
|
|
1827
|
-
], Xr = /* @__PURE__ */
|
|
1831
|
+
], Xr = "transition-[width] duration-[400ms] ease-[ease] motion-reduce:transition-none", Jr = /* @__PURE__ */ Je({
|
|
1828
1832
|
__name: "index",
|
|
1829
1833
|
props: {
|
|
1830
1834
|
value: { default: 0 },
|
|
1831
1835
|
size: { default: "m" },
|
|
1832
1836
|
ariaLabel: { default: "Progress bar" },
|
|
1837
|
+
transitionDuration: {},
|
|
1838
|
+
decorative: {
|
|
1839
|
+
type: Boolean,
|
|
1840
|
+
default: !1
|
|
1841
|
+
},
|
|
1833
1842
|
ui: { default: () => ({}) }
|
|
1834
1843
|
},
|
|
1835
1844
|
setup(e) {
|
|
1836
1845
|
const r = {
|
|
1837
1846
|
root: ["relative min-w-24 overflow-hidden rounded-full font-sans", "bg-[color:var(--color-blue-grey-200)]"].join(" "),
|
|
1838
|
-
indicator: [
|
|
1839
|
-
"h-full overflow-hidden rounded-full box-border",
|
|
1840
|
-
"bg-[color:var(--color-blue-grey-600)]",
|
|
1841
|
-
"transition-[width] duration-[400ms] ease-[ease]",
|
|
1842
|
-
"motion-reduce:transition-none"
|
|
1843
|
-
].join(" ")
|
|
1847
|
+
indicator: ["h-full overflow-hidden rounded-full box-border", "bg-[color:var(--color-blue-grey-600)]"].join(" ")
|
|
1844
1848
|
}, o = { size: {
|
|
1845
1849
|
s: { root: "h-0.5" },
|
|
1846
1850
|
m: { root: "h-1" },
|
|
1847
1851
|
l: { root: "h-2" }
|
|
1848
|
-
} }, t = e,
|
|
1849
|
-
|
|
1852
|
+
} }, t = e, s = Q(() => Math.min(100, Math.max(0, t.value))), i = Q(() => Re(r.root, o.size[t.size].root, t.ui.root)), c = Q(() => Re(r.indicator, t.transitionDuration == null && Xr, t.ui.indicator)), b = Q(() => Oe({ width: `${s.value}%` }, t.transitionDuration != null ? {
|
|
1853
|
+
transitionProperty: "width",
|
|
1854
|
+
transitionDuration: `${t.transitionDuration}ms`,
|
|
1855
|
+
transitionTimingFunction: "linear"
|
|
1856
|
+
} : {}));
|
|
1857
|
+
return (p, u) => (He(), Ke("div", {
|
|
1850
1858
|
"data-testid": "linear-progress-bar",
|
|
1851
|
-
role: "progressbar",
|
|
1852
|
-
class:
|
|
1853
|
-
"aria-label": e.ariaLabel,
|
|
1854
|
-
"aria-valuemin": 0,
|
|
1855
|
-
"aria-valuemax": 100,
|
|
1856
|
-
"aria-valuenow":
|
|
1859
|
+
role: e.decorative ? void 0 : "progressbar",
|
|
1860
|
+
class: xe(i.value),
|
|
1861
|
+
"aria-label": e.decorative ? void 0 : e.ariaLabel,
|
|
1862
|
+
"aria-valuemin": e.decorative ? void 0 : 0,
|
|
1863
|
+
"aria-valuemax": e.decorative ? void 0 : 100,
|
|
1864
|
+
"aria-valuenow": e.decorative ? void 0 : s.value,
|
|
1865
|
+
"aria-hidden": e.decorative ? "true" : void 0,
|
|
1857
1866
|
"data-size": e.size,
|
|
1858
|
-
"data-value":
|
|
1859
|
-
}, [
|
|
1867
|
+
"data-value": s.value
|
|
1868
|
+
}, [Xe("div", {
|
|
1860
1869
|
"data-testid": "linear-progress-bar-indicator",
|
|
1861
|
-
class:
|
|
1862
|
-
style:
|
|
1870
|
+
class: xe(c.value),
|
|
1871
|
+
style: Qe(b.value)
|
|
1863
1872
|
}, null, 6)], 10, Kr));
|
|
1864
1873
|
}
|
|
1865
|
-
}),
|
|
1874
|
+
}), Hr = Jr;
|
|
1866
1875
|
export {
|
|
1867
|
-
|
|
1876
|
+
Hr as AzLinearProgressBar
|
|
1868
1877
|
};
|