@ptlm-azulejo/sidebar 0.0.1-alpha.161 → 0.0.1-alpha.172
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 +750 -737
- package/dist/index.umd.cjs +1 -1
- package/dist/src/index.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Fragment as te, computed as
|
|
1
|
+
import { Fragment as te, computed as T, createBlock as H, createCommentVNode as W, createElementBlock as S, createElementVNode as y, createVNode as Oe, defineComponent as re, mergeDefaults as ft, normalizeClass as d, normalizeStyle as Ie, openBlock as w, reactive as vt, ref as gt, renderList as $e, renderSlot as ce, toDisplayString as G, unref as v, useSlots as ht, watch as Fe, withCtx as ve } from "vue";
|
|
2
2
|
import "@ptlm-azulejo/icons/style.css";
|
|
3
3
|
import { AzTooltip as Xe } from "@ptlm-azulejo/tooltip";
|
|
4
4
|
import "@ptlm-azulejo/tooltip/style.css";
|
|
5
5
|
import { AzActionListBox as Qe } from "@ptlm-azulejo/action-list-box";
|
|
6
6
|
import "@ptlm-azulejo/action-list-box/style.css";
|
|
7
|
-
import { AzIconButton as
|
|
7
|
+
import { AzIconButton as xt } from "@ptlm-azulejo/icon-button";
|
|
8
8
|
import "@ptlm-azulejo/icon-button/style.css";
|
|
9
9
|
function et(e) {
|
|
10
10
|
var r, t, o = "";
|
|
@@ -15,7 +15,7 @@ function et(e) {
|
|
|
15
15
|
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
16
16
|
return o;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function yt() {
|
|
19
19
|
for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = et(e)) && (o && (o += " "), o += r);
|
|
20
20
|
return o;
|
|
21
21
|
}
|
|
@@ -27,7 +27,7 @@ function ae(e) {
|
|
|
27
27
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
28
28
|
}, ae(e);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function kt(e, r) {
|
|
31
31
|
if (ae(e) != "object" || !e) return e;
|
|
32
32
|
var t = e[Symbol.toPrimitive];
|
|
33
33
|
if (t !== void 0) {
|
|
@@ -37,12 +37,12 @@ function yt(e, r) {
|
|
|
37
37
|
}
|
|
38
38
|
return (r === "string" ? String : Number)(e);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
var r =
|
|
40
|
+
function wt(e) {
|
|
41
|
+
var r = kt(e, "string");
|
|
42
42
|
return ae(r) == "symbol" ? r : r + "";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
return (r =
|
|
44
|
+
function Ct(e, r, t) {
|
|
45
|
+
return (r = wt(r)) in e ? Object.defineProperty(e, r, {
|
|
46
46
|
value: t,
|
|
47
47
|
enumerable: !0,
|
|
48
48
|
configurable: !0,
|
|
@@ -59,11 +59,11 @@ function Ve(e, r) {
|
|
|
59
59
|
}
|
|
60
60
|
return t;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function St(e) {
|
|
63
63
|
for (var r = 1; r < arguments.length; r++) {
|
|
64
64
|
var t = arguments[r] != null ? arguments[r] : {};
|
|
65
65
|
r % 2 ? Ve(Object(t), !0).forEach(function(o) {
|
|
66
|
-
|
|
66
|
+
Ct(e, o, t[o]);
|
|
67
67
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Ve(Object(t)).forEach(function(o) {
|
|
68
68
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(t, o));
|
|
69
69
|
});
|
|
@@ -75,50 +75,50 @@ var zt = (e, r) => {
|
|
|
75
75
|
for (let o = 0; o < e.length; o++) t[o] = e[o];
|
|
76
76
|
for (let o = 0; o < r.length; o++) t[e.length + o] = r[o];
|
|
77
77
|
return t;
|
|
78
|
-
},
|
|
78
|
+
}, Ot = (e, r) => ({
|
|
79
79
|
classGroupId: e,
|
|
80
80
|
validator: r
|
|
81
81
|
}), tt = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
|
|
82
82
|
nextPart: e,
|
|
83
83
|
validators: r,
|
|
84
84
|
classGroupId: t
|
|
85
|
-
}), ge = "-",
|
|
86
|
-
const r =
|
|
85
|
+
}), ge = "-", De = [], $t = "arbitrary..", _t = (e) => {
|
|
86
|
+
const r = It(e), { conflictingClassGroups: t, conflictingClassGroupModifiers: o } = e;
|
|
87
87
|
return {
|
|
88
|
-
getClassGroupId: (
|
|
89
|
-
if (
|
|
90
|
-
const
|
|
91
|
-
return rt(
|
|
88
|
+
getClassGroupId: (c) => {
|
|
89
|
+
if (c.startsWith("[") && c.endsWith("]")) return At(c);
|
|
90
|
+
const x = c.split(ge), p = x[0] === "" && x.length > 1 ? 1 : 0;
|
|
91
|
+
return rt(x, p, r);
|
|
92
92
|
},
|
|
93
|
-
getConflictingClassGroupIds: (
|
|
94
|
-
if (
|
|
95
|
-
const
|
|
96
|
-
return
|
|
93
|
+
getConflictingClassGroupIds: (c, x) => {
|
|
94
|
+
if (x) {
|
|
95
|
+
const p = o[c], g = t[c];
|
|
96
|
+
return p ? g ? zt(g, p) : p : g || De;
|
|
97
97
|
}
|
|
98
|
-
return t[
|
|
98
|
+
return t[c] || De;
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
}, rt = (e, r, t) => {
|
|
102
102
|
if (e.length - r === 0) return t.classGroupId;
|
|
103
103
|
const o = e[r], a = t.nextPart.get(o);
|
|
104
104
|
if (a) {
|
|
105
|
-
const
|
|
106
|
-
if (
|
|
105
|
+
const p = rt(e, r + 1, a);
|
|
106
|
+
if (p) return p;
|
|
107
107
|
}
|
|
108
|
-
const
|
|
109
|
-
if (
|
|
110
|
-
const
|
|
111
|
-
for (let
|
|
112
|
-
const
|
|
113
|
-
if (
|
|
108
|
+
const l = t.validators;
|
|
109
|
+
if (l === null) return;
|
|
110
|
+
const c = r === 0 ? e.join(ge) : e.slice(r).join(ge), x = l.length;
|
|
111
|
+
for (let p = 0; p < x; p++) {
|
|
112
|
+
const g = l[p];
|
|
113
|
+
if (g.validator(c)) return g.classGroupId;
|
|
114
114
|
}
|
|
115
|
-
},
|
|
115
|
+
}, At = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
116
116
|
const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
|
|
117
|
-
return o ?
|
|
118
|
-
})(),
|
|
117
|
+
return o ? $t + o : void 0;
|
|
118
|
+
})(), It = (e) => {
|
|
119
119
|
const { theme: r, classGroups: t } = e;
|
|
120
|
-
return
|
|
121
|
-
},
|
|
120
|
+
return jt(t, r);
|
|
121
|
+
}, jt = (e, r) => {
|
|
122
122
|
const t = tt();
|
|
123
123
|
for (const o in e) {
|
|
124
124
|
const a = e[o];
|
|
@@ -127,45 +127,45 @@ var zt = (e, r) => {
|
|
|
127
127
|
return t;
|
|
128
128
|
}, je = (e, r, t, o) => {
|
|
129
129
|
const a = e.length;
|
|
130
|
-
for (let
|
|
131
|
-
const
|
|
132
|
-
|
|
130
|
+
for (let l = 0; l < a; l++) {
|
|
131
|
+
const c = e[l];
|
|
132
|
+
Pt(c, r, t, o);
|
|
133
133
|
}
|
|
134
|
-
},
|
|
134
|
+
}, Pt = (e, r, t, o) => {
|
|
135
135
|
if (typeof e == "string") {
|
|
136
|
-
|
|
136
|
+
Gt(e, r, t);
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
139
|
if (typeof e == "function") {
|
|
140
|
-
|
|
140
|
+
Tt(e, r, t, o);
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
},
|
|
143
|
+
Mt(e, r, t, o);
|
|
144
|
+
}, Gt = (e, r, t) => {
|
|
145
145
|
const o = e === "" ? r : ot(r, e);
|
|
146
146
|
o.classGroupId = t;
|
|
147
|
-
},
|
|
148
|
-
if (
|
|
147
|
+
}, Tt = (e, r, t, o) => {
|
|
148
|
+
if (Bt(e)) {
|
|
149
149
|
je(e(o), r, t, o);
|
|
150
150
|
return;
|
|
151
151
|
}
|
|
152
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
153
|
-
},
|
|
154
|
-
const a = Object.entries(e),
|
|
155
|
-
for (let
|
|
156
|
-
const [
|
|
157
|
-
je(
|
|
152
|
+
r.validators === null && (r.validators = []), r.validators.push(Ot(t, e));
|
|
153
|
+
}, Mt = (e, r, t, o) => {
|
|
154
|
+
const a = Object.entries(e), l = a.length;
|
|
155
|
+
for (let c = 0; c < l; c++) {
|
|
156
|
+
const [x, p] = a[c];
|
|
157
|
+
je(p, ot(r, x), t, o);
|
|
158
158
|
}
|
|
159
159
|
}, ot = (e, r) => {
|
|
160
160
|
let t = e;
|
|
161
161
|
const o = r.split(ge), a = o.length;
|
|
162
|
-
for (let
|
|
163
|
-
const
|
|
164
|
-
let
|
|
165
|
-
|
|
162
|
+
for (let l = 0; l < a; l++) {
|
|
163
|
+
const c = o[l];
|
|
164
|
+
let x = t.nextPart.get(c);
|
|
165
|
+
x || (x = tt(), t.nextPart.set(c, x)), t = x;
|
|
166
166
|
}
|
|
167
167
|
return t;
|
|
168
|
-
},
|
|
168
|
+
}, Bt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Et = (e) => {
|
|
169
169
|
if (e < 1) return {
|
|
170
170
|
get: () => {
|
|
171
171
|
},
|
|
@@ -173,123 +173,123 @@ var zt = (e, r) => {
|
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
let r = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
176
|
-
const a = (
|
|
177
|
-
t[
|
|
176
|
+
const a = (l, c) => {
|
|
177
|
+
t[l] = c, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
|
|
178
178
|
};
|
|
179
179
|
return {
|
|
180
|
-
get(
|
|
181
|
-
let
|
|
182
|
-
if (
|
|
183
|
-
if ((
|
|
184
|
-
return a(
|
|
180
|
+
get(l) {
|
|
181
|
+
let c = t[l];
|
|
182
|
+
if (c !== void 0) return c;
|
|
183
|
+
if ((c = o[l]) !== void 0)
|
|
184
|
+
return a(l, c), c;
|
|
185
185
|
},
|
|
186
|
-
set(
|
|
187
|
-
|
|
186
|
+
set(l, c) {
|
|
187
|
+
l in t ? t[l] = c : a(l, c);
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
|
-
}, _e = "!",
|
|
190
|
+
}, _e = "!", Ue = ":", Rt = [], We = (e, r, t, o, a) => ({
|
|
191
191
|
modifiers: e,
|
|
192
192
|
hasImportantModifier: r,
|
|
193
193
|
baseClassName: t,
|
|
194
194
|
maybePostfixModifierPosition: o,
|
|
195
195
|
isExternal: a
|
|
196
|
-
}),
|
|
196
|
+
}), Lt = (e) => {
|
|
197
197
|
const { prefix: r, experimentalParseClassName: t } = e;
|
|
198
198
|
let o = (a) => {
|
|
199
|
-
const
|
|
200
|
-
let
|
|
201
|
-
const
|
|
202
|
-
for (let A = 0; A <
|
|
203
|
-
const
|
|
204
|
-
if (
|
|
205
|
-
if (
|
|
206
|
-
|
|
199
|
+
const l = [];
|
|
200
|
+
let c = 0, x = 0, p = 0, g;
|
|
201
|
+
const b = a.length;
|
|
202
|
+
for (let A = 0; A < b; A++) {
|
|
203
|
+
const C = a[A];
|
|
204
|
+
if (c === 0 && x === 0) {
|
|
205
|
+
if (C === Ue) {
|
|
206
|
+
l.push(a.slice(p, A)), p = A + 1;
|
|
207
207
|
continue;
|
|
208
208
|
}
|
|
209
|
-
if (
|
|
210
|
-
|
|
209
|
+
if (C === "/") {
|
|
210
|
+
g = A;
|
|
211
211
|
continue;
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
C === "[" ? c++ : C === "]" ? c-- : C === "(" ? x++ : C === ")" && x--;
|
|
215
215
|
}
|
|
216
|
-
const
|
|
217
|
-
let u =
|
|
218
|
-
|
|
219
|
-
const j =
|
|
220
|
-
return
|
|
216
|
+
const h = l.length === 0 ? a : a.slice(p);
|
|
217
|
+
let u = h, $ = !1;
|
|
218
|
+
h.endsWith(_e) ? (u = h.slice(0, -1), $ = !0) : h.startsWith(_e) && (u = h.slice(1), $ = !0);
|
|
219
|
+
const j = g && g > p ? g - p : void 0;
|
|
220
|
+
return We(l, $, u, j);
|
|
221
221
|
};
|
|
222
222
|
if (r) {
|
|
223
|
-
const a = r +
|
|
224
|
-
o = (
|
|
223
|
+
const a = r + Ue, l = o;
|
|
224
|
+
o = (c) => c.startsWith(a) ? l(c.slice(a.length)) : We(Rt, !1, c, void 0, !0);
|
|
225
225
|
}
|
|
226
226
|
if (t) {
|
|
227
227
|
const a = o;
|
|
228
|
-
o = (
|
|
229
|
-
className:
|
|
228
|
+
o = (l) => t({
|
|
229
|
+
className: l,
|
|
230
230
|
parseClassName: a
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
return o;
|
|
234
|
-
},
|
|
234
|
+
}, Nt = (e) => {
|
|
235
235
|
const r = /* @__PURE__ */ new Map();
|
|
236
236
|
return e.orderSensitiveModifiers.forEach((t, o) => {
|
|
237
237
|
r.set(t, 1e6 + o);
|
|
238
238
|
}), (t) => {
|
|
239
239
|
const o = [];
|
|
240
240
|
let a = [];
|
|
241
|
-
for (let
|
|
242
|
-
const
|
|
243
|
-
|
|
241
|
+
for (let l = 0; l < t.length; l++) {
|
|
242
|
+
const c = t[l], x = c[0] === "[", p = r.has(c);
|
|
243
|
+
x || p ? (a.length > 0 && (a.sort(), o.push(...a), a = []), o.push(c)) : a.push(c);
|
|
244
244
|
}
|
|
245
245
|
return a.length > 0 && (a.sort(), o.push(...a)), o;
|
|
246
246
|
};
|
|
247
|
-
},
|
|
248
|
-
cache:
|
|
249
|
-
parseClassName:
|
|
250
|
-
sortModifiers:
|
|
251
|
-
postfixLookupClassGroupIds:
|
|
252
|
-
},
|
|
247
|
+
}, Ft = (e) => St({
|
|
248
|
+
cache: Et(e.cacheSize),
|
|
249
|
+
parseClassName: Lt(e),
|
|
250
|
+
sortModifiers: Nt(e),
|
|
251
|
+
postfixLookupClassGroupIds: Vt(e)
|
|
252
|
+
}, _t(e)), Vt = (e) => {
|
|
253
253
|
const r = /* @__PURE__ */ Object.create(null), t = e.postfixLookupClassGroups;
|
|
254
254
|
if (t) for (let o = 0; o < t.length; o++) r[t[o]] = !0;
|
|
255
255
|
return r;
|
|
256
|
-
},
|
|
257
|
-
const { parseClassName: t, getClassGroupId: o, getConflictingClassGroupIds: a, sortModifiers:
|
|
258
|
-
let
|
|
259
|
-
for (let
|
|
260
|
-
const
|
|
256
|
+
}, Dt = /\s+/, Ut = (e, r) => {
|
|
257
|
+
const { parseClassName: t, getClassGroupId: o, getConflictingClassGroupIds: a, sortModifiers: l, postfixLookupClassGroupIds: c } = r, x = [], p = e.trim().split(Dt);
|
|
258
|
+
let g = "";
|
|
259
|
+
for (let b = p.length - 1; b >= 0; b -= 1) {
|
|
260
|
+
const h = p[b], { isExternal: u, modifiers: $, hasImportantModifier: j, baseClassName: A, maybePostfixModifierPosition: C } = t(h);
|
|
261
261
|
if (u) {
|
|
262
|
-
|
|
262
|
+
g = h + (g.length > 0 ? " " + g : g);
|
|
263
263
|
continue;
|
|
264
264
|
}
|
|
265
|
-
let
|
|
266
|
-
if (
|
|
267
|
-
i = o(A.substring(0,
|
|
268
|
-
const N = i &&
|
|
269
|
-
N && N !== i && (i = N,
|
|
265
|
+
let z = !!C, i;
|
|
266
|
+
if (z) {
|
|
267
|
+
i = o(A.substring(0, C));
|
|
268
|
+
const N = i && c[i] ? o(A) : void 0;
|
|
269
|
+
N && N !== i && (i = N, z = !1);
|
|
270
270
|
} else i = o(A);
|
|
271
271
|
if (!i) {
|
|
272
|
-
if (!
|
|
273
|
-
|
|
272
|
+
if (!z) {
|
|
273
|
+
g = h + (g.length > 0 ? " " + g : g);
|
|
274
274
|
continue;
|
|
275
275
|
}
|
|
276
276
|
if (i = o(A), !i) {
|
|
277
|
-
|
|
277
|
+
g = h + (g.length > 0 ? " " + g : g);
|
|
278
278
|
continue;
|
|
279
279
|
}
|
|
280
|
-
|
|
280
|
+
z = !1;
|
|
281
281
|
}
|
|
282
|
-
const
|
|
283
|
-
if (
|
|
284
|
-
|
|
285
|
-
const K = a(i,
|
|
282
|
+
const M = $.length === 0 ? "" : $.length === 1 ? $[0] : l($).join(":"), R = j ? M + _e : M, _ = R + i;
|
|
283
|
+
if (x.indexOf(_) > -1) continue;
|
|
284
|
+
x.push(_);
|
|
285
|
+
const K = a(i, z);
|
|
286
286
|
for (let N = 0; N < K.length; ++N) {
|
|
287
|
-
const
|
|
288
|
-
|
|
287
|
+
const m = K[N];
|
|
288
|
+
x.push(R + m);
|
|
289
289
|
}
|
|
290
|
-
|
|
290
|
+
g = h + (g.length > 0 ? " " + g : g);
|
|
291
291
|
}
|
|
292
|
-
return
|
|
292
|
+
return g;
|
|
293
293
|
}, Wt = (...e) => {
|
|
294
294
|
let r = 0, t, o, a = "";
|
|
295
295
|
for (; r < e.length; ) (t = e[r++]) && (o = at(t)) && (a && (a += " "), a += o);
|
|
@@ -300,28 +300,28 @@ var zt = (e, r) => {
|
|
|
300
300
|
for (let o = 0; o < e.length; o++) e[o] && (r = at(e[o])) && (t && (t += " "), t += r);
|
|
301
301
|
return t;
|
|
302
302
|
}, He = (e, ...r) => {
|
|
303
|
-
let t, o, a,
|
|
304
|
-
const
|
|
305
|
-
const
|
|
306
|
-
return t =
|
|
307
|
-
},
|
|
308
|
-
const
|
|
309
|
-
if (
|
|
310
|
-
const
|
|
311
|
-
return a(
|
|
303
|
+
let t, o, a, l;
|
|
304
|
+
const c = (p) => {
|
|
305
|
+
const g = r.reduce((b, h) => h(b), e());
|
|
306
|
+
return t = Ft(g), o = t.cache.get, a = t.cache.set, l = x, x(p);
|
|
307
|
+
}, x = (p) => {
|
|
308
|
+
const g = o(p);
|
|
309
|
+
if (g) return g;
|
|
310
|
+
const b = Ut(p, t);
|
|
311
|
+
return a(p, b), b;
|
|
312
312
|
};
|
|
313
|
-
return
|
|
314
|
-
},
|
|
315
|
-
const r = (t) => t[e] ||
|
|
313
|
+
return l = c, (...p) => l(Wt(...p));
|
|
314
|
+
}, Ht = [], I = (e) => {
|
|
315
|
+
const r = (t) => t[e] || Ht;
|
|
316
316
|
return r.isThemeGetter = !0, r;
|
|
317
|
-
}, it = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, st = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
317
|
+
}, it = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, st = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Zt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qt = /\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$/, Jt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Kt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, U = (e) => Yt.test(e), k = (e) => !!e && !Number.isNaN(Number(e)), V = (e) => !!e && Number.isInteger(Number(e)), Ce = (e) => e.endsWith("%") && k(e.slice(0, -1)), D = (e) => Zt.test(e), nt = () => !0, Qt = (e) => qt.test(e) && !Jt.test(e), Pe = () => !1, er = (e) => Kt.test(e), tr = (e) => Xt.test(e), rr = (e) => !s(e) && !n(e), or = (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)), ar = (e) => Y(e, ct, Pe), s = (e) => it.test(e), q = (e) => Y(e, ut, Qt), Ye = (e) => Y(e, pr, k), ir = (e) => Y(e, bt, nt), sr = (e) => Y(e, pt, Pe), Ze = (e) => Y(e, lt, Pe), nr = (e) => Y(e, dt, tr), ue = (e) => Y(e, mt, er), n = (e) => st.test(e), oe = (e) => J(e, ut), lr = (e) => J(e, pt), qe = (e) => J(e, lt), dr = (e) => J(e, ct), cr = (e) => J(e, dt), pe = (e) => J(e, mt, !0), ur = (e) => J(e, bt, !0), Y = (e, r, t) => {
|
|
318
318
|
const o = it.exec(e);
|
|
319
319
|
return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
|
|
320
320
|
}, J = (e, r, t = !1) => {
|
|
321
321
|
const o = st.exec(e);
|
|
322
322
|
return o ? o[1] ? r(o[1]) : t : !1;
|
|
323
|
-
}, lt = (e) => e === "position" || e === "percentage",
|
|
324
|
-
const e = I("color"), r = I("font"), t = I("text"), o = I("font-weight"), a = I("tracking"),
|
|
323
|
+
}, lt = (e) => e === "position" || e === "percentage", dt = (e) => e === "image" || e === "url", ct = (e) => e === "length" || e === "size" || e === "bg-size", ut = (e) => e === "length", pr = (e) => e === "number", pt = (e) => e === "family-name", bt = (e) => e === "number" || e === "weight", mt = (e) => e === "shadow", Je = () => {
|
|
324
|
+
const e = I("color"), r = I("font"), t = I("text"), o = I("font-weight"), a = I("tracking"), l = I("leading"), c = I("breakpoint"), x = I("container"), p = I("spacing"), g = I("radius"), b = I("shadow"), h = I("inset-shadow"), u = I("text-shadow"), $ = I("drop-shadow"), j = I("blur"), A = I("perspective"), C = I("aspect"), z = I("ease"), i = I("animate"), M = () => [
|
|
325
325
|
"auto",
|
|
326
326
|
"avoid",
|
|
327
327
|
"all",
|
|
@@ -330,7 +330,7 @@ var zt = (e, r) => {
|
|
|
330
330
|
"left",
|
|
331
331
|
"right",
|
|
332
332
|
"column"
|
|
333
|
-
],
|
|
333
|
+
], R = () => [
|
|
334
334
|
"center",
|
|
335
335
|
"top",
|
|
336
336
|
"bottom",
|
|
@@ -345,9 +345,9 @@ var zt = (e, r) => {
|
|
|
345
345
|
"bottom-left",
|
|
346
346
|
"left-bottom"
|
|
347
347
|
], _ = () => [
|
|
348
|
-
...
|
|
349
|
-
|
|
350
|
-
|
|
348
|
+
...R(),
|
|
349
|
+
n,
|
|
350
|
+
s
|
|
351
351
|
], K = () => [
|
|
352
352
|
"auto",
|
|
353
353
|
"hidden",
|
|
@@ -358,44 +358,44 @@ var zt = (e, r) => {
|
|
|
358
358
|
"auto",
|
|
359
359
|
"contain",
|
|
360
360
|
"none"
|
|
361
|
-
],
|
|
362
|
-
l,
|
|
361
|
+
], m = () => [
|
|
363
362
|
n,
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
363
|
+
s,
|
|
364
|
+
p
|
|
365
|
+
], L = () => [
|
|
366
|
+
U,
|
|
367
367
|
"full",
|
|
368
368
|
"auto",
|
|
369
|
-
...
|
|
369
|
+
...m()
|
|
370
370
|
], Ge = () => [
|
|
371
371
|
V,
|
|
372
372
|
"none",
|
|
373
373
|
"subgrid",
|
|
374
|
-
|
|
375
|
-
|
|
374
|
+
n,
|
|
375
|
+
s
|
|
376
376
|
], Te = () => [
|
|
377
377
|
"auto",
|
|
378
378
|
{ span: [
|
|
379
379
|
"full",
|
|
380
380
|
V,
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
n,
|
|
382
|
+
s
|
|
383
383
|
] },
|
|
384
384
|
V,
|
|
385
|
-
|
|
386
|
-
|
|
385
|
+
n,
|
|
386
|
+
s
|
|
387
387
|
], ie = () => [
|
|
388
388
|
V,
|
|
389
389
|
"auto",
|
|
390
|
-
|
|
391
|
-
|
|
390
|
+
n,
|
|
391
|
+
s
|
|
392
392
|
], Me = () => [
|
|
393
393
|
"auto",
|
|
394
394
|
"min",
|
|
395
395
|
"max",
|
|
396
396
|
"fr",
|
|
397
|
-
|
|
398
|
-
|
|
397
|
+
n,
|
|
398
|
+
s
|
|
399
399
|
], he = () => [
|
|
400
400
|
"start",
|
|
401
401
|
"end",
|
|
@@ -414,8 +414,8 @@ var zt = (e, r) => {
|
|
|
414
414
|
"stretch",
|
|
415
415
|
"center-safe",
|
|
416
416
|
"end-safe"
|
|
417
|
-
], F = () => ["auto", ...
|
|
418
|
-
|
|
417
|
+
], F = () => ["auto", ...m()], Z = () => [
|
|
418
|
+
U,
|
|
419
419
|
"auto",
|
|
420
420
|
"full",
|
|
421
421
|
"dvw",
|
|
@@ -427,9 +427,9 @@ var zt = (e, r) => {
|
|
|
427
427
|
"min",
|
|
428
428
|
"max",
|
|
429
429
|
"fit",
|
|
430
|
-
...
|
|
430
|
+
...m()
|
|
431
431
|
], xe = () => [
|
|
432
|
-
|
|
432
|
+
U,
|
|
433
433
|
"screen",
|
|
434
434
|
"full",
|
|
435
435
|
"dvw",
|
|
@@ -438,9 +438,9 @@ var zt = (e, r) => {
|
|
|
438
438
|
"min",
|
|
439
439
|
"max",
|
|
440
440
|
"fit",
|
|
441
|
-
...
|
|
441
|
+
...m()
|
|
442
442
|
], ye = () => [
|
|
443
|
-
|
|
443
|
+
U,
|
|
444
444
|
"screen",
|
|
445
445
|
"full",
|
|
446
446
|
"lh",
|
|
@@ -450,16 +450,16 @@ var zt = (e, r) => {
|
|
|
450
450
|
"min",
|
|
451
451
|
"max",
|
|
452
452
|
"fit",
|
|
453
|
-
...
|
|
454
|
-
],
|
|
453
|
+
...m()
|
|
454
|
+
], f = () => [
|
|
455
455
|
e,
|
|
456
|
-
|
|
457
|
-
|
|
456
|
+
n,
|
|
457
|
+
s
|
|
458
458
|
], Be = () => [
|
|
459
|
-
...
|
|
459
|
+
...R(),
|
|
460
460
|
qe,
|
|
461
461
|
Ze,
|
|
462
|
-
{ position: [
|
|
462
|
+
{ position: [n, s] }
|
|
463
463
|
], Ee = () => ["no-repeat", { repeat: [
|
|
464
464
|
"",
|
|
465
465
|
"x",
|
|
@@ -470,25 +470,25 @@ var zt = (e, r) => {
|
|
|
470
470
|
"auto",
|
|
471
471
|
"cover",
|
|
472
472
|
"contain",
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
{ size: [
|
|
473
|
+
dr,
|
|
474
|
+
ar,
|
|
475
|
+
{ size: [n, s] }
|
|
476
476
|
], ke = () => [
|
|
477
477
|
Ce,
|
|
478
478
|
oe,
|
|
479
|
-
|
|
480
|
-
],
|
|
479
|
+
q
|
|
480
|
+
], B = () => [
|
|
481
481
|
"",
|
|
482
482
|
"none",
|
|
483
483
|
"full",
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
],
|
|
484
|
+
g,
|
|
485
|
+
n,
|
|
486
|
+
s
|
|
487
|
+
], E = () => [
|
|
488
488
|
"",
|
|
489
|
-
|
|
489
|
+
k,
|
|
490
490
|
oe,
|
|
491
|
-
|
|
491
|
+
q
|
|
492
492
|
], se = () => [
|
|
493
493
|
"solid",
|
|
494
494
|
"dashed",
|
|
@@ -512,7 +512,7 @@ var zt = (e, r) => {
|
|
|
512
512
|
"color",
|
|
513
513
|
"luminosity"
|
|
514
514
|
], P = () => [
|
|
515
|
-
|
|
515
|
+
k,
|
|
516
516
|
Ce,
|
|
517
517
|
qe,
|
|
518
518
|
Ze
|
|
@@ -520,26 +520,26 @@ var zt = (e, r) => {
|
|
|
520
520
|
"",
|
|
521
521
|
"none",
|
|
522
522
|
j,
|
|
523
|
-
|
|
524
|
-
|
|
523
|
+
n,
|
|
524
|
+
s
|
|
525
525
|
], ne = () => [
|
|
526
526
|
"none",
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
527
|
+
k,
|
|
528
|
+
n,
|
|
529
|
+
s
|
|
530
530
|
], le = () => [
|
|
531
531
|
"none",
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
532
|
+
k,
|
|
533
|
+
n,
|
|
534
|
+
s
|
|
535
535
|
], we = () => [
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
],
|
|
540
|
-
|
|
536
|
+
k,
|
|
537
|
+
n,
|
|
538
|
+
s
|
|
539
|
+
], de = () => [
|
|
540
|
+
U,
|
|
541
541
|
"full",
|
|
542
|
-
...
|
|
542
|
+
...m()
|
|
543
543
|
];
|
|
544
544
|
return {
|
|
545
545
|
cacheSize: 500,
|
|
@@ -551,17 +551,17 @@ var zt = (e, r) => {
|
|
|
551
551
|
"bounce"
|
|
552
552
|
],
|
|
553
553
|
aspect: ["video"],
|
|
554
|
-
blur: [
|
|
555
|
-
breakpoint: [
|
|
554
|
+
blur: [D],
|
|
555
|
+
breakpoint: [D],
|
|
556
556
|
color: [nt],
|
|
557
|
-
container: [
|
|
558
|
-
"drop-shadow": [
|
|
557
|
+
container: [D],
|
|
558
|
+
"drop-shadow": [D],
|
|
559
559
|
ease: [
|
|
560
560
|
"in",
|
|
561
561
|
"out",
|
|
562
562
|
"in-out"
|
|
563
563
|
],
|
|
564
|
-
font: [
|
|
564
|
+
font: [rr],
|
|
565
565
|
"font-weight": [
|
|
566
566
|
"thin",
|
|
567
567
|
"extralight",
|
|
@@ -573,7 +573,7 @@ var zt = (e, r) => {
|
|
|
573
573
|
"extrabold",
|
|
574
574
|
"black"
|
|
575
575
|
],
|
|
576
|
-
"inset-shadow": [
|
|
576
|
+
"inset-shadow": [D],
|
|
577
577
|
leading: [
|
|
578
578
|
"none",
|
|
579
579
|
"tight",
|
|
@@ -590,11 +590,11 @@ var zt = (e, r) => {
|
|
|
590
590
|
"distant",
|
|
591
591
|
"none"
|
|
592
592
|
],
|
|
593
|
-
radius: [
|
|
594
|
-
shadow: [
|
|
595
|
-
spacing: ["px",
|
|
596
|
-
text: [
|
|
597
|
-
"text-shadow": [
|
|
593
|
+
radius: [D],
|
|
594
|
+
shadow: [D],
|
|
595
|
+
spacing: ["px", k],
|
|
596
|
+
text: [D],
|
|
597
|
+
"text-shadow": [D],
|
|
598
598
|
tracking: [
|
|
599
599
|
"tighter",
|
|
600
600
|
"tight",
|
|
@@ -608,28 +608,28 @@ var zt = (e, r) => {
|
|
|
608
608
|
aspect: [{ aspect: [
|
|
609
609
|
"auto",
|
|
610
610
|
"square",
|
|
611
|
-
|
|
611
|
+
U,
|
|
612
|
+
s,
|
|
612
613
|
n,
|
|
613
|
-
|
|
614
|
-
k
|
|
614
|
+
C
|
|
615
615
|
] }],
|
|
616
616
|
container: ["container"],
|
|
617
617
|
"container-type": [{ "@container": [
|
|
618
618
|
"",
|
|
619
619
|
"normal",
|
|
620
620
|
"size",
|
|
621
|
-
|
|
622
|
-
|
|
621
|
+
n,
|
|
622
|
+
s
|
|
623
623
|
] }],
|
|
624
|
-
"container-named": [
|
|
624
|
+
"container-named": [or],
|
|
625
625
|
columns: [{ columns: [
|
|
626
|
-
|
|
626
|
+
k,
|
|
627
|
+
s,
|
|
627
628
|
n,
|
|
628
|
-
|
|
629
|
-
h
|
|
629
|
+
x
|
|
630
630
|
] }],
|
|
631
|
-
"break-after": [{ "break-after":
|
|
632
|
-
"break-before": [{ "break-before":
|
|
631
|
+
"break-after": [{ "break-after": M() }],
|
|
632
|
+
"break-before": [{ "break-before": M() }],
|
|
633
633
|
"break-inside": [{ "break-inside": [
|
|
634
634
|
"auto",
|
|
635
635
|
"avoid",
|
|
@@ -699,23 +699,23 @@ var zt = (e, r) => {
|
|
|
699
699
|
"relative",
|
|
700
700
|
"sticky"
|
|
701
701
|
],
|
|
702
|
-
inset: [{ inset:
|
|
703
|
-
"inset-x": [{ "inset-x":
|
|
704
|
-
"inset-y": [{ "inset-y":
|
|
702
|
+
inset: [{ inset: L() }],
|
|
703
|
+
"inset-x": [{ "inset-x": L() }],
|
|
704
|
+
"inset-y": [{ "inset-y": L() }],
|
|
705
705
|
start: [{
|
|
706
|
-
"inset-s":
|
|
707
|
-
start:
|
|
706
|
+
"inset-s": L(),
|
|
707
|
+
start: L()
|
|
708
708
|
}],
|
|
709
709
|
end: [{
|
|
710
|
-
"inset-e":
|
|
711
|
-
end:
|
|
710
|
+
"inset-e": L(),
|
|
711
|
+
end: L()
|
|
712
712
|
}],
|
|
713
|
-
"inset-bs": [{ "inset-bs":
|
|
714
|
-
"inset-be": [{ "inset-be":
|
|
715
|
-
top: [{ top:
|
|
716
|
-
right: [{ right:
|
|
717
|
-
bottom: [{ bottom:
|
|
718
|
-
left: [{ left:
|
|
713
|
+
"inset-bs": [{ "inset-bs": L() }],
|
|
714
|
+
"inset-be": [{ "inset-be": L() }],
|
|
715
|
+
top: [{ top: L() }],
|
|
716
|
+
right: [{ right: L() }],
|
|
717
|
+
bottom: [{ bottom: L() }],
|
|
718
|
+
left: [{ left: L() }],
|
|
719
719
|
visibility: [
|
|
720
720
|
"visible",
|
|
721
721
|
"invisible",
|
|
@@ -724,15 +724,15 @@ var zt = (e, r) => {
|
|
|
724
724
|
z: [{ z: [
|
|
725
725
|
V,
|
|
726
726
|
"auto",
|
|
727
|
-
|
|
728
|
-
|
|
727
|
+
n,
|
|
728
|
+
s
|
|
729
729
|
] }],
|
|
730
730
|
basis: [{ basis: [
|
|
731
|
-
|
|
731
|
+
U,
|
|
732
732
|
"full",
|
|
733
733
|
"auto",
|
|
734
|
-
|
|
735
|
-
...
|
|
734
|
+
x,
|
|
735
|
+
...m()
|
|
736
736
|
] }],
|
|
737
737
|
"flex-direction": [{ flex: [
|
|
738
738
|
"row",
|
|
@@ -746,32 +746,32 @@ var zt = (e, r) => {
|
|
|
746
746
|
"wrap-reverse"
|
|
747
747
|
] }],
|
|
748
748
|
flex: [{ flex: [
|
|
749
|
-
|
|
750
|
-
|
|
749
|
+
k,
|
|
750
|
+
U,
|
|
751
751
|
"auto",
|
|
752
752
|
"initial",
|
|
753
753
|
"none",
|
|
754
|
-
|
|
754
|
+
s
|
|
755
755
|
] }],
|
|
756
756
|
grow: [{ grow: [
|
|
757
757
|
"",
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
758
|
+
k,
|
|
759
|
+
n,
|
|
760
|
+
s
|
|
761
761
|
] }],
|
|
762
762
|
shrink: [{ shrink: [
|
|
763
763
|
"",
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
764
|
+
k,
|
|
765
|
+
n,
|
|
766
|
+
s
|
|
767
767
|
] }],
|
|
768
768
|
order: [{ order: [
|
|
769
769
|
V,
|
|
770
770
|
"first",
|
|
771
771
|
"last",
|
|
772
772
|
"none",
|
|
773
|
-
|
|
774
|
-
|
|
773
|
+
n,
|
|
774
|
+
s
|
|
775
775
|
] }],
|
|
776
776
|
"grid-cols": [{ "grid-cols": Ge() }],
|
|
777
777
|
"col-start-end": [{ col: Te() }],
|
|
@@ -790,9 +790,9 @@ var zt = (e, r) => {
|
|
|
790
790
|
] }],
|
|
791
791
|
"auto-cols": [{ "auto-cols": Me() }],
|
|
792
792
|
"auto-rows": [{ "auto-rows": Me() }],
|
|
793
|
-
gap: [{ gap:
|
|
794
|
-
"gap-x": [{ "gap-x":
|
|
795
|
-
"gap-y": [{ "gap-y":
|
|
793
|
+
gap: [{ gap: m() }],
|
|
794
|
+
"gap-x": [{ "gap-x": m() }],
|
|
795
|
+
"gap-y": [{ "gap-y": m() }],
|
|
796
796
|
"justify-content": [{ justify: [...he(), "normal"] }],
|
|
797
797
|
"justify-items": [{ "justify-items": [...X(), "normal"] }],
|
|
798
798
|
"justify-self": [{ "justify-self": ["auto", ...X()] }],
|
|
@@ -806,17 +806,17 @@ var zt = (e, r) => {
|
|
|
806
806
|
"place-content": [{ "place-content": he() }],
|
|
807
807
|
"place-items": [{ "place-items": [...X(), "baseline"] }],
|
|
808
808
|
"place-self": [{ "place-self": ["auto", ...X()] }],
|
|
809
|
-
p: [{ p:
|
|
810
|
-
px: [{ px:
|
|
811
|
-
py: [{ py:
|
|
812
|
-
ps: [{ ps:
|
|
813
|
-
pe: [{ pe:
|
|
814
|
-
pbs: [{ pbs:
|
|
815
|
-
pbe: [{ pbe:
|
|
816
|
-
pt: [{ pt:
|
|
817
|
-
pr: [{ pr:
|
|
818
|
-
pb: [{ pb:
|
|
819
|
-
pl: [{ pl:
|
|
809
|
+
p: [{ p: m() }],
|
|
810
|
+
px: [{ px: m() }],
|
|
811
|
+
py: [{ py: m() }],
|
|
812
|
+
ps: [{ ps: m() }],
|
|
813
|
+
pe: [{ pe: m() }],
|
|
814
|
+
pbs: [{ pbs: m() }],
|
|
815
|
+
pbe: [{ pbe: m() }],
|
|
816
|
+
pt: [{ pt: m() }],
|
|
817
|
+
pr: [{ pr: m() }],
|
|
818
|
+
pb: [{ pb: m() }],
|
|
819
|
+
pl: [{ pl: m() }],
|
|
820
820
|
m: [{ m: F() }],
|
|
821
821
|
mx: [{ mx: F() }],
|
|
822
822
|
my: [{ my: F() }],
|
|
@@ -828,11 +828,11 @@ var zt = (e, r) => {
|
|
|
828
828
|
mr: [{ mr: F() }],
|
|
829
829
|
mb: [{ mb: F() }],
|
|
830
830
|
ml: [{ ml: F() }],
|
|
831
|
-
"space-x": [{ "space-x":
|
|
831
|
+
"space-x": [{ "space-x": m() }],
|
|
832
832
|
"space-x-reverse": ["space-x-reverse"],
|
|
833
|
-
"space-y": [{ "space-y":
|
|
833
|
+
"space-y": [{ "space-y": m() }],
|
|
834
834
|
"space-y-reverse": ["space-y-reverse"],
|
|
835
|
-
size: [{ size:
|
|
835
|
+
size: [{ size: Z() }],
|
|
836
836
|
"inline-size": [{ inline: ["auto", ...xe()] }],
|
|
837
837
|
"min-inline-size": [{ "min-inline": ["auto", ...xe()] }],
|
|
838
838
|
"max-inline-size": [{ "max-inline": ["none", ...xe()] }],
|
|
@@ -840,52 +840,52 @@ var zt = (e, r) => {
|
|
|
840
840
|
"min-block-size": [{ "min-block": ["auto", ...ye()] }],
|
|
841
841
|
"max-block-size": [{ "max-block": ["none", ...ye()] }],
|
|
842
842
|
w: [{ w: [
|
|
843
|
-
|
|
843
|
+
x,
|
|
844
844
|
"screen",
|
|
845
|
-
...
|
|
845
|
+
...Z()
|
|
846
846
|
] }],
|
|
847
847
|
"min-w": [{ "min-w": [
|
|
848
|
-
|
|
848
|
+
x,
|
|
849
849
|
"screen",
|
|
850
850
|
"none",
|
|
851
|
-
...
|
|
851
|
+
...Z()
|
|
852
852
|
] }],
|
|
853
853
|
"max-w": [{ "max-w": [
|
|
854
|
-
|
|
854
|
+
x,
|
|
855
855
|
"screen",
|
|
856
856
|
"none",
|
|
857
857
|
"prose",
|
|
858
|
-
{ screen: [
|
|
859
|
-
...
|
|
858
|
+
{ screen: [c] },
|
|
859
|
+
...Z()
|
|
860
860
|
] }],
|
|
861
861
|
h: [{ h: [
|
|
862
862
|
"screen",
|
|
863
863
|
"lh",
|
|
864
|
-
...
|
|
864
|
+
...Z()
|
|
865
865
|
] }],
|
|
866
866
|
"min-h": [{ "min-h": [
|
|
867
867
|
"screen",
|
|
868
868
|
"lh",
|
|
869
869
|
"none",
|
|
870
|
-
...
|
|
870
|
+
...Z()
|
|
871
871
|
] }],
|
|
872
872
|
"max-h": [{ "max-h": [
|
|
873
873
|
"screen",
|
|
874
874
|
"lh",
|
|
875
|
-
...
|
|
875
|
+
...Z()
|
|
876
876
|
] }],
|
|
877
877
|
"font-size": [{ text: [
|
|
878
878
|
"base",
|
|
879
879
|
t,
|
|
880
880
|
oe,
|
|
881
|
-
|
|
881
|
+
q
|
|
882
882
|
] }],
|
|
883
883
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
884
884
|
"font-style": ["italic", "not-italic"],
|
|
885
885
|
"font-weight": [{ font: [
|
|
886
886
|
o,
|
|
887
|
-
|
|
888
|
-
|
|
887
|
+
ur,
|
|
888
|
+
ir
|
|
889
889
|
] }],
|
|
890
890
|
"font-stretch": [{ "font-stretch": [
|
|
891
891
|
"ultra-condensed",
|
|
@@ -898,14 +898,14 @@ var zt = (e, r) => {
|
|
|
898
898
|
"extra-expanded",
|
|
899
899
|
"ultra-expanded",
|
|
900
900
|
Ce,
|
|
901
|
-
|
|
901
|
+
s
|
|
902
902
|
] }],
|
|
903
903
|
"font-family": [{ font: [
|
|
904
|
-
|
|
905
|
-
|
|
904
|
+
lr,
|
|
905
|
+
sr,
|
|
906
906
|
r
|
|
907
907
|
] }],
|
|
908
|
-
"font-features": [{ "font-features": [
|
|
908
|
+
"font-features": [{ "font-features": [s] }],
|
|
909
909
|
"fvn-normal": ["normal-nums"],
|
|
910
910
|
"fvn-ordinal": ["ordinal"],
|
|
911
911
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -914,28 +914,28 @@ var zt = (e, r) => {
|
|
|
914
914
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
915
915
|
tracking: [{ tracking: [
|
|
916
916
|
a,
|
|
917
|
-
|
|
918
|
-
|
|
917
|
+
n,
|
|
918
|
+
s
|
|
919
919
|
] }],
|
|
920
920
|
"line-clamp": [{ "line-clamp": [
|
|
921
|
-
|
|
921
|
+
k,
|
|
922
922
|
"none",
|
|
923
|
-
|
|
923
|
+
n,
|
|
924
924
|
Ye
|
|
925
925
|
] }],
|
|
926
|
-
leading: [{ leading: [
|
|
926
|
+
leading: [{ leading: [l, ...m()] }],
|
|
927
927
|
"list-image": [{ "list-image": [
|
|
928
928
|
"none",
|
|
929
|
-
|
|
930
|
-
|
|
929
|
+
n,
|
|
930
|
+
s
|
|
931
931
|
] }],
|
|
932
932
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
933
933
|
"list-style-type": [{ list: [
|
|
934
934
|
"disc",
|
|
935
935
|
"decimal",
|
|
936
936
|
"none",
|
|
937
|
-
|
|
938
|
-
|
|
937
|
+
n,
|
|
938
|
+
s
|
|
939
939
|
] }],
|
|
940
940
|
"text-alignment": [{ text: [
|
|
941
941
|
"left",
|
|
@@ -945,8 +945,8 @@ var zt = (e, r) => {
|
|
|
945
945
|
"start",
|
|
946
946
|
"end"
|
|
947
947
|
] }],
|
|
948
|
-
"placeholder-color": [{ placeholder:
|
|
949
|
-
"text-color": [{ text:
|
|
948
|
+
"placeholder-color": [{ placeholder: f() }],
|
|
949
|
+
"text-color": [{ text: f() }],
|
|
950
950
|
"text-decoration": [
|
|
951
951
|
"underline",
|
|
952
952
|
"overline",
|
|
@@ -955,18 +955,18 @@ var zt = (e, r) => {
|
|
|
955
955
|
],
|
|
956
956
|
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
|
|
957
957
|
"text-decoration-thickness": [{ decoration: [
|
|
958
|
-
|
|
958
|
+
k,
|
|
959
959
|
"from-font",
|
|
960
960
|
"auto",
|
|
961
|
-
|
|
962
|
-
|
|
961
|
+
n,
|
|
962
|
+
q
|
|
963
963
|
] }],
|
|
964
|
-
"text-decoration-color": [{ decoration:
|
|
964
|
+
"text-decoration-color": [{ decoration: f() }],
|
|
965
965
|
"underline-offset": [{ "underline-offset": [
|
|
966
|
-
|
|
966
|
+
k,
|
|
967
967
|
"auto",
|
|
968
|
-
|
|
969
|
-
|
|
968
|
+
n,
|
|
969
|
+
s
|
|
970
970
|
] }],
|
|
971
971
|
"text-transform": [
|
|
972
972
|
"uppercase",
|
|
@@ -985,11 +985,11 @@ var zt = (e, r) => {
|
|
|
985
985
|
"balance",
|
|
986
986
|
"pretty"
|
|
987
987
|
] }],
|
|
988
|
-
indent: [{ indent:
|
|
988
|
+
indent: [{ indent: m() }],
|
|
989
989
|
"tab-size": [{ tab: [
|
|
990
990
|
V,
|
|
991
|
-
|
|
992
|
-
|
|
991
|
+
n,
|
|
992
|
+
s
|
|
993
993
|
] }],
|
|
994
994
|
"vertical-align": [{ align: [
|
|
995
995
|
"baseline",
|
|
@@ -1000,8 +1000,8 @@ var zt = (e, r) => {
|
|
|
1000
1000
|
"text-bottom",
|
|
1001
1001
|
"sub",
|
|
1002
1002
|
"super",
|
|
1003
|
-
|
|
1004
|
-
|
|
1003
|
+
n,
|
|
1004
|
+
s
|
|
1005
1005
|
] }],
|
|
1006
1006
|
whitespace: [{ whitespace: [
|
|
1007
1007
|
"normal",
|
|
@@ -1029,8 +1029,8 @@ var zt = (e, r) => {
|
|
|
1029
1029
|
] }],
|
|
1030
1030
|
content: [{ content: [
|
|
1031
1031
|
"none",
|
|
1032
|
-
|
|
1033
|
-
|
|
1032
|
+
n,
|
|
1033
|
+
s
|
|
1034
1034
|
] }],
|
|
1035
1035
|
"bg-attachment": [{ bg: [
|
|
1036
1036
|
"fixed",
|
|
@@ -1066,59 +1066,59 @@ var zt = (e, r) => {
|
|
|
1066
1066
|
"tl"
|
|
1067
1067
|
] },
|
|
1068
1068
|
V,
|
|
1069
|
-
|
|
1070
|
-
|
|
1069
|
+
n,
|
|
1070
|
+
s
|
|
1071
1071
|
],
|
|
1072
1072
|
radial: [
|
|
1073
1073
|
"",
|
|
1074
|
-
|
|
1075
|
-
|
|
1074
|
+
n,
|
|
1075
|
+
s
|
|
1076
1076
|
],
|
|
1077
1077
|
conic: [
|
|
1078
1078
|
V,
|
|
1079
|
-
|
|
1080
|
-
|
|
1079
|
+
n,
|
|
1080
|
+
s
|
|
1081
1081
|
]
|
|
1082
1082
|
},
|
|
1083
1083
|
cr,
|
|
1084
|
-
|
|
1084
|
+
nr
|
|
1085
1085
|
] }],
|
|
1086
|
-
"bg-color": [{ bg:
|
|
1086
|
+
"bg-color": [{ bg: f() }],
|
|
1087
1087
|
"gradient-from-pos": [{ from: ke() }],
|
|
1088
1088
|
"gradient-via-pos": [{ via: ke() }],
|
|
1089
1089
|
"gradient-to-pos": [{ to: ke() }],
|
|
1090
|
-
"gradient-from": [{ from:
|
|
1091
|
-
"gradient-via": [{ via:
|
|
1092
|
-
"gradient-to": [{ to:
|
|
1093
|
-
rounded: [{ rounded:
|
|
1094
|
-
"rounded-s": [{ "rounded-s":
|
|
1095
|
-
"rounded-e": [{ "rounded-e":
|
|
1096
|
-
"rounded-t": [{ "rounded-t":
|
|
1097
|
-
"rounded-r": [{ "rounded-r":
|
|
1098
|
-
"rounded-b": [{ "rounded-b":
|
|
1099
|
-
"rounded-l": [{ "rounded-l":
|
|
1100
|
-
"rounded-ss": [{ "rounded-ss":
|
|
1101
|
-
"rounded-se": [{ "rounded-se":
|
|
1102
|
-
"rounded-ee": [{ "rounded-ee":
|
|
1103
|
-
"rounded-es": [{ "rounded-es":
|
|
1104
|
-
"rounded-tl": [{ "rounded-tl":
|
|
1105
|
-
"rounded-tr": [{ "rounded-tr":
|
|
1106
|
-
"rounded-br": [{ "rounded-br":
|
|
1107
|
-
"rounded-bl": [{ "rounded-bl":
|
|
1108
|
-
"border-w": [{ border:
|
|
1109
|
-
"border-w-x": [{ "border-x":
|
|
1110
|
-
"border-w-y": [{ "border-y":
|
|
1111
|
-
"border-w-s": [{ "border-s":
|
|
1112
|
-
"border-w-e": [{ "border-e":
|
|
1113
|
-
"border-w-bs": [{ "border-bs":
|
|
1114
|
-
"border-w-be": [{ "border-be":
|
|
1115
|
-
"border-w-t": [{ "border-t":
|
|
1116
|
-
"border-w-r": [{ "border-r":
|
|
1117
|
-
"border-w-b": [{ "border-b":
|
|
1118
|
-
"border-w-l": [{ "border-l":
|
|
1119
|
-
"divide-x": [{ "divide-x":
|
|
1090
|
+
"gradient-from": [{ from: f() }],
|
|
1091
|
+
"gradient-via": [{ via: f() }],
|
|
1092
|
+
"gradient-to": [{ to: f() }],
|
|
1093
|
+
rounded: [{ rounded: B() }],
|
|
1094
|
+
"rounded-s": [{ "rounded-s": B() }],
|
|
1095
|
+
"rounded-e": [{ "rounded-e": B() }],
|
|
1096
|
+
"rounded-t": [{ "rounded-t": B() }],
|
|
1097
|
+
"rounded-r": [{ "rounded-r": B() }],
|
|
1098
|
+
"rounded-b": [{ "rounded-b": B() }],
|
|
1099
|
+
"rounded-l": [{ "rounded-l": B() }],
|
|
1100
|
+
"rounded-ss": [{ "rounded-ss": B() }],
|
|
1101
|
+
"rounded-se": [{ "rounded-se": B() }],
|
|
1102
|
+
"rounded-ee": [{ "rounded-ee": B() }],
|
|
1103
|
+
"rounded-es": [{ "rounded-es": B() }],
|
|
1104
|
+
"rounded-tl": [{ "rounded-tl": B() }],
|
|
1105
|
+
"rounded-tr": [{ "rounded-tr": B() }],
|
|
1106
|
+
"rounded-br": [{ "rounded-br": B() }],
|
|
1107
|
+
"rounded-bl": [{ "rounded-bl": B() }],
|
|
1108
|
+
"border-w": [{ border: E() }],
|
|
1109
|
+
"border-w-x": [{ "border-x": E() }],
|
|
1110
|
+
"border-w-y": [{ "border-y": E() }],
|
|
1111
|
+
"border-w-s": [{ "border-s": E() }],
|
|
1112
|
+
"border-w-e": [{ "border-e": E() }],
|
|
1113
|
+
"border-w-bs": [{ "border-bs": E() }],
|
|
1114
|
+
"border-w-be": [{ "border-be": E() }],
|
|
1115
|
+
"border-w-t": [{ "border-t": E() }],
|
|
1116
|
+
"border-w-r": [{ "border-r": E() }],
|
|
1117
|
+
"border-w-b": [{ "border-b": E() }],
|
|
1118
|
+
"border-w-l": [{ "border-l": E() }],
|
|
1119
|
+
"divide-x": [{ "divide-x": E() }],
|
|
1120
1120
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1121
|
-
"divide-y": [{ "divide-y":
|
|
1121
|
+
"divide-y": [{ "divide-y": E() }],
|
|
1122
1122
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1123
1123
|
"border-style": [{ border: [
|
|
1124
1124
|
...se(),
|
|
@@ -1130,68 +1130,68 @@ var zt = (e, r) => {
|
|
|
1130
1130
|
"hidden",
|
|
1131
1131
|
"none"
|
|
1132
1132
|
] }],
|
|
1133
|
-
"border-color": [{ border:
|
|
1134
|
-
"border-color-x": [{ "border-x":
|
|
1135
|
-
"border-color-y": [{ "border-y":
|
|
1136
|
-
"border-color-s": [{ "border-s":
|
|
1137
|
-
"border-color-e": [{ "border-e":
|
|
1138
|
-
"border-color-bs": [{ "border-bs":
|
|
1139
|
-
"border-color-be": [{ "border-be":
|
|
1140
|
-
"border-color-t": [{ "border-t":
|
|
1141
|
-
"border-color-r": [{ "border-r":
|
|
1142
|
-
"border-color-b": [{ "border-b":
|
|
1143
|
-
"border-color-l": [{ "border-l":
|
|
1144
|
-
"divide-color": [{ divide:
|
|
1133
|
+
"border-color": [{ border: f() }],
|
|
1134
|
+
"border-color-x": [{ "border-x": f() }],
|
|
1135
|
+
"border-color-y": [{ "border-y": f() }],
|
|
1136
|
+
"border-color-s": [{ "border-s": f() }],
|
|
1137
|
+
"border-color-e": [{ "border-e": f() }],
|
|
1138
|
+
"border-color-bs": [{ "border-bs": f() }],
|
|
1139
|
+
"border-color-be": [{ "border-be": f() }],
|
|
1140
|
+
"border-color-t": [{ "border-t": f() }],
|
|
1141
|
+
"border-color-r": [{ "border-r": f() }],
|
|
1142
|
+
"border-color-b": [{ "border-b": f() }],
|
|
1143
|
+
"border-color-l": [{ "border-l": f() }],
|
|
1144
|
+
"divide-color": [{ divide: f() }],
|
|
1145
1145
|
"outline-style": [{ outline: [
|
|
1146
1146
|
...se(),
|
|
1147
1147
|
"none",
|
|
1148
1148
|
"hidden"
|
|
1149
1149
|
] }],
|
|
1150
1150
|
"outline-offset": [{ "outline-offset": [
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1151
|
+
k,
|
|
1152
|
+
n,
|
|
1153
|
+
s
|
|
1154
1154
|
] }],
|
|
1155
1155
|
"outline-w": [{ outline: [
|
|
1156
1156
|
"",
|
|
1157
|
-
|
|
1157
|
+
k,
|
|
1158
1158
|
oe,
|
|
1159
|
-
|
|
1159
|
+
q
|
|
1160
1160
|
] }],
|
|
1161
|
-
"outline-color": [{ outline:
|
|
1161
|
+
"outline-color": [{ outline: f() }],
|
|
1162
1162
|
shadow: [{ shadow: [
|
|
1163
1163
|
"",
|
|
1164
1164
|
"none",
|
|
1165
|
-
|
|
1165
|
+
b,
|
|
1166
1166
|
pe,
|
|
1167
1167
|
ue
|
|
1168
1168
|
] }],
|
|
1169
|
-
"shadow-color": [{ shadow:
|
|
1169
|
+
"shadow-color": [{ shadow: f() }],
|
|
1170
1170
|
"inset-shadow": [{ "inset-shadow": [
|
|
1171
1171
|
"none",
|
|
1172
|
-
|
|
1172
|
+
h,
|
|
1173
1173
|
pe,
|
|
1174
1174
|
ue
|
|
1175
1175
|
] }],
|
|
1176
|
-
"inset-shadow-color": [{ "inset-shadow":
|
|
1177
|
-
"ring-w": [{ ring:
|
|
1176
|
+
"inset-shadow-color": [{ "inset-shadow": f() }],
|
|
1177
|
+
"ring-w": [{ ring: E() }],
|
|
1178
1178
|
"ring-w-inset": ["ring-inset"],
|
|
1179
|
-
"ring-color": [{ ring:
|
|
1180
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1181
|
-
"ring-offset-color": [{ "ring-offset":
|
|
1182
|
-
"inset-ring-w": [{ "inset-ring":
|
|
1183
|
-
"inset-ring-color": [{ "inset-ring":
|
|
1179
|
+
"ring-color": [{ ring: f() }],
|
|
1180
|
+
"ring-offset-w": [{ "ring-offset": [k, q] }],
|
|
1181
|
+
"ring-offset-color": [{ "ring-offset": f() }],
|
|
1182
|
+
"inset-ring-w": [{ "inset-ring": E() }],
|
|
1183
|
+
"inset-ring-color": [{ "inset-ring": f() }],
|
|
1184
1184
|
"text-shadow": [{ "text-shadow": [
|
|
1185
1185
|
"none",
|
|
1186
1186
|
u,
|
|
1187
1187
|
pe,
|
|
1188
1188
|
ue
|
|
1189
1189
|
] }],
|
|
1190
|
-
"text-shadow-color": [{ "text-shadow":
|
|
1190
|
+
"text-shadow-color": [{ "text-shadow": f() }],
|
|
1191
1191
|
opacity: [{ opacity: [
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1192
|
+
k,
|
|
1193
|
+
n,
|
|
1194
|
+
s
|
|
1195
1195
|
] }],
|
|
1196
1196
|
"mix-blend": [{ "mix-blend": [
|
|
1197
1197
|
...Le(),
|
|
@@ -1213,51 +1213,51 @@ var zt = (e, r) => {
|
|
|
1213
1213
|
"intersect",
|
|
1214
1214
|
"exclude"
|
|
1215
1215
|
] }],
|
|
1216
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
1216
|
+
"mask-image-linear-pos": [{ "mask-linear": [k] }],
|
|
1217
1217
|
"mask-image-linear-from-pos": [{ "mask-linear-from": P() }],
|
|
1218
1218
|
"mask-image-linear-to-pos": [{ "mask-linear-to": P() }],
|
|
1219
|
-
"mask-image-linear-from-color": [{ "mask-linear-from":
|
|
1220
|
-
"mask-image-linear-to-color": [{ "mask-linear-to":
|
|
1219
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": f() }],
|
|
1220
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": f() }],
|
|
1221
1221
|
"mask-image-t-from-pos": [{ "mask-t-from": P() }],
|
|
1222
1222
|
"mask-image-t-to-pos": [{ "mask-t-to": P() }],
|
|
1223
|
-
"mask-image-t-from-color": [{ "mask-t-from":
|
|
1224
|
-
"mask-image-t-to-color": [{ "mask-t-to":
|
|
1223
|
+
"mask-image-t-from-color": [{ "mask-t-from": f() }],
|
|
1224
|
+
"mask-image-t-to-color": [{ "mask-t-to": f() }],
|
|
1225
1225
|
"mask-image-r-from-pos": [{ "mask-r-from": P() }],
|
|
1226
1226
|
"mask-image-r-to-pos": [{ "mask-r-to": P() }],
|
|
1227
|
-
"mask-image-r-from-color": [{ "mask-r-from":
|
|
1228
|
-
"mask-image-r-to-color": [{ "mask-r-to":
|
|
1227
|
+
"mask-image-r-from-color": [{ "mask-r-from": f() }],
|
|
1228
|
+
"mask-image-r-to-color": [{ "mask-r-to": f() }],
|
|
1229
1229
|
"mask-image-b-from-pos": [{ "mask-b-from": P() }],
|
|
1230
1230
|
"mask-image-b-to-pos": [{ "mask-b-to": P() }],
|
|
1231
|
-
"mask-image-b-from-color": [{ "mask-b-from":
|
|
1232
|
-
"mask-image-b-to-color": [{ "mask-b-to":
|
|
1231
|
+
"mask-image-b-from-color": [{ "mask-b-from": f() }],
|
|
1232
|
+
"mask-image-b-to-color": [{ "mask-b-to": f() }],
|
|
1233
1233
|
"mask-image-l-from-pos": [{ "mask-l-from": P() }],
|
|
1234
1234
|
"mask-image-l-to-pos": [{ "mask-l-to": P() }],
|
|
1235
|
-
"mask-image-l-from-color": [{ "mask-l-from":
|
|
1236
|
-
"mask-image-l-to-color": [{ "mask-l-to":
|
|
1235
|
+
"mask-image-l-from-color": [{ "mask-l-from": f() }],
|
|
1236
|
+
"mask-image-l-to-color": [{ "mask-l-to": f() }],
|
|
1237
1237
|
"mask-image-x-from-pos": [{ "mask-x-from": P() }],
|
|
1238
1238
|
"mask-image-x-to-pos": [{ "mask-x-to": P() }],
|
|
1239
|
-
"mask-image-x-from-color": [{ "mask-x-from":
|
|
1240
|
-
"mask-image-x-to-color": [{ "mask-x-to":
|
|
1239
|
+
"mask-image-x-from-color": [{ "mask-x-from": f() }],
|
|
1240
|
+
"mask-image-x-to-color": [{ "mask-x-to": f() }],
|
|
1241
1241
|
"mask-image-y-from-pos": [{ "mask-y-from": P() }],
|
|
1242
1242
|
"mask-image-y-to-pos": [{ "mask-y-to": P() }],
|
|
1243
|
-
"mask-image-y-from-color": [{ "mask-y-from":
|
|
1244
|
-
"mask-image-y-to-color": [{ "mask-y-to":
|
|
1245
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
1243
|
+
"mask-image-y-from-color": [{ "mask-y-from": f() }],
|
|
1244
|
+
"mask-image-y-to-color": [{ "mask-y-to": f() }],
|
|
1245
|
+
"mask-image-radial": [{ "mask-radial": [n, s] }],
|
|
1246
1246
|
"mask-image-radial-from-pos": [{ "mask-radial-from": P() }],
|
|
1247
1247
|
"mask-image-radial-to-pos": [{ "mask-radial-to": P() }],
|
|
1248
|
-
"mask-image-radial-from-color": [{ "mask-radial-from":
|
|
1249
|
-
"mask-image-radial-to-color": [{ "mask-radial-to":
|
|
1248
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": f() }],
|
|
1249
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": f() }],
|
|
1250
1250
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1251
1251
|
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1252
1252
|
closest: ["side", "corner"],
|
|
1253
1253
|
farthest: ["side", "corner"]
|
|
1254
1254
|
}] }],
|
|
1255
|
-
"mask-image-radial-pos": [{ "mask-radial-at":
|
|
1256
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
1255
|
+
"mask-image-radial-pos": [{ "mask-radial-at": R() }],
|
|
1256
|
+
"mask-image-conic-pos": [{ "mask-conic": [k] }],
|
|
1257
1257
|
"mask-image-conic-from-pos": [{ "mask-conic-from": P() }],
|
|
1258
1258
|
"mask-image-conic-to-pos": [{ "mask-conic-to": P() }],
|
|
1259
|
-
"mask-image-conic-from-color": [{ "mask-conic-from":
|
|
1260
|
-
"mask-image-conic-to-color": [{ "mask-conic-to":
|
|
1259
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": f() }],
|
|
1260
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": f() }],
|
|
1261
1261
|
"mask-mode": [{ mask: [
|
|
1262
1262
|
"alpha",
|
|
1263
1263
|
"luminance",
|
|
@@ -1277,25 +1277,25 @@ var zt = (e, r) => {
|
|
|
1277
1277
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1278
1278
|
"mask-image": [{ mask: [
|
|
1279
1279
|
"none",
|
|
1280
|
-
|
|
1281
|
-
|
|
1280
|
+
n,
|
|
1281
|
+
s
|
|
1282
1282
|
] }],
|
|
1283
1283
|
filter: [{ filter: [
|
|
1284
1284
|
"",
|
|
1285
1285
|
"none",
|
|
1286
|
-
|
|
1287
|
-
|
|
1286
|
+
n,
|
|
1287
|
+
s
|
|
1288
1288
|
] }],
|
|
1289
1289
|
blur: [{ blur: Ne() }],
|
|
1290
1290
|
brightness: [{ brightness: [
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1291
|
+
k,
|
|
1292
|
+
n,
|
|
1293
|
+
s
|
|
1294
1294
|
] }],
|
|
1295
1295
|
contrast: [{ contrast: [
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1296
|
+
k,
|
|
1297
|
+
n,
|
|
1298
|
+
s
|
|
1299
1299
|
] }],
|
|
1300
1300
|
"drop-shadow": [{ "drop-shadow": [
|
|
1301
1301
|
"",
|
|
@@ -1304,89 +1304,89 @@ var zt = (e, r) => {
|
|
|
1304
1304
|
pe,
|
|
1305
1305
|
ue
|
|
1306
1306
|
] }],
|
|
1307
|
-
"drop-shadow-color": [{ "drop-shadow":
|
|
1307
|
+
"drop-shadow-color": [{ "drop-shadow": f() }],
|
|
1308
1308
|
grayscale: [{ grayscale: [
|
|
1309
1309
|
"",
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1310
|
+
k,
|
|
1311
|
+
n,
|
|
1312
|
+
s
|
|
1313
1313
|
] }],
|
|
1314
1314
|
"hue-rotate": [{ "hue-rotate": [
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1315
|
+
k,
|
|
1316
|
+
n,
|
|
1317
|
+
s
|
|
1318
1318
|
] }],
|
|
1319
1319
|
invert: [{ invert: [
|
|
1320
1320
|
"",
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1321
|
+
k,
|
|
1322
|
+
n,
|
|
1323
|
+
s
|
|
1324
1324
|
] }],
|
|
1325
1325
|
saturate: [{ saturate: [
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1326
|
+
k,
|
|
1327
|
+
n,
|
|
1328
|
+
s
|
|
1329
1329
|
] }],
|
|
1330
1330
|
sepia: [{ sepia: [
|
|
1331
1331
|
"",
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1332
|
+
k,
|
|
1333
|
+
n,
|
|
1334
|
+
s
|
|
1335
1335
|
] }],
|
|
1336
1336
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1337
1337
|
"",
|
|
1338
1338
|
"none",
|
|
1339
|
-
|
|
1340
|
-
|
|
1339
|
+
n,
|
|
1340
|
+
s
|
|
1341
1341
|
] }],
|
|
1342
1342
|
"backdrop-blur": [{ "backdrop-blur": Ne() }],
|
|
1343
1343
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1344
|
+
k,
|
|
1345
|
+
n,
|
|
1346
|
+
s
|
|
1347
1347
|
] }],
|
|
1348
1348
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1349
|
+
k,
|
|
1350
|
+
n,
|
|
1351
|
+
s
|
|
1352
1352
|
] }],
|
|
1353
1353
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1354
1354
|
"",
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1355
|
+
k,
|
|
1356
|
+
n,
|
|
1357
|
+
s
|
|
1358
1358
|
] }],
|
|
1359
1359
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1360
|
+
k,
|
|
1361
|
+
n,
|
|
1362
|
+
s
|
|
1363
1363
|
] }],
|
|
1364
1364
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1365
1365
|
"",
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1366
|
+
k,
|
|
1367
|
+
n,
|
|
1368
|
+
s
|
|
1369
1369
|
] }],
|
|
1370
1370
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1371
|
+
k,
|
|
1372
|
+
n,
|
|
1373
|
+
s
|
|
1374
1374
|
] }],
|
|
1375
1375
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1376
|
+
k,
|
|
1377
|
+
n,
|
|
1378
|
+
s
|
|
1379
1379
|
] }],
|
|
1380
1380
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1381
1381
|
"",
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1382
|
+
k,
|
|
1383
|
+
n,
|
|
1384
|
+
s
|
|
1385
1385
|
] }],
|
|
1386
1386
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1387
|
-
"border-spacing": [{ "border-spacing":
|
|
1388
|
-
"border-spacing-x": [{ "border-spacing-x":
|
|
1389
|
-
"border-spacing-y": [{ "border-spacing-y":
|
|
1387
|
+
"border-spacing": [{ "border-spacing": m() }],
|
|
1388
|
+
"border-spacing-x": [{ "border-spacing-x": m() }],
|
|
1389
|
+
"border-spacing-y": [{ "border-spacing-y": m() }],
|
|
1390
1390
|
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
1391
1391
|
caption: [{ caption: ["top", "bottom"] }],
|
|
1392
1392
|
transition: [{ transition: [
|
|
@@ -1397,39 +1397,39 @@ var zt = (e, r) => {
|
|
|
1397
1397
|
"shadow",
|
|
1398
1398
|
"transform",
|
|
1399
1399
|
"none",
|
|
1400
|
-
|
|
1401
|
-
|
|
1400
|
+
n,
|
|
1401
|
+
s
|
|
1402
1402
|
] }],
|
|
1403
1403
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1404
1404
|
duration: [{ duration: [
|
|
1405
|
-
|
|
1405
|
+
k,
|
|
1406
1406
|
"initial",
|
|
1407
|
-
|
|
1408
|
-
|
|
1407
|
+
n,
|
|
1408
|
+
s
|
|
1409
1409
|
] }],
|
|
1410
1410
|
ease: [{ ease: [
|
|
1411
1411
|
"linear",
|
|
1412
1412
|
"initial",
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1413
|
+
z,
|
|
1414
|
+
n,
|
|
1415
|
+
s
|
|
1416
1416
|
] }],
|
|
1417
1417
|
delay: [{ delay: [
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1418
|
+
k,
|
|
1419
|
+
n,
|
|
1420
|
+
s
|
|
1421
1421
|
] }],
|
|
1422
1422
|
animate: [{ animate: [
|
|
1423
1423
|
"none",
|
|
1424
1424
|
i,
|
|
1425
|
-
|
|
1426
|
-
|
|
1425
|
+
n,
|
|
1426
|
+
s
|
|
1427
1427
|
] }],
|
|
1428
1428
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1429
1429
|
perspective: [{ perspective: [
|
|
1430
1430
|
A,
|
|
1431
|
-
|
|
1432
|
-
|
|
1431
|
+
n,
|
|
1432
|
+
s
|
|
1433
1433
|
] }],
|
|
1434
1434
|
"perspective-origin": [{ "perspective-origin": _() }],
|
|
1435
1435
|
rotate: [{ rotate: ne() }],
|
|
@@ -1445,8 +1445,8 @@ var zt = (e, r) => {
|
|
|
1445
1445
|
"skew-x": [{ "skew-x": we() }],
|
|
1446
1446
|
"skew-y": [{ "skew-y": we() }],
|
|
1447
1447
|
transform: [{ transform: [
|
|
1448
|
-
l,
|
|
1449
1448
|
n,
|
|
1449
|
+
s,
|
|
1450
1450
|
"",
|
|
1451
1451
|
"none",
|
|
1452
1452
|
"gpu",
|
|
@@ -1454,19 +1454,19 @@ var zt = (e, r) => {
|
|
|
1454
1454
|
] }],
|
|
1455
1455
|
"transform-origin": [{ origin: _() }],
|
|
1456
1456
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1457
|
-
translate: [{ translate:
|
|
1458
|
-
"translate-x": [{ "translate-x":
|
|
1459
|
-
"translate-y": [{ "translate-y":
|
|
1460
|
-
"translate-z": [{ "translate-z":
|
|
1457
|
+
translate: [{ translate: de() }],
|
|
1458
|
+
"translate-x": [{ "translate-x": de() }],
|
|
1459
|
+
"translate-y": [{ "translate-y": de() }],
|
|
1460
|
+
"translate-z": [{ "translate-z": de() }],
|
|
1461
1461
|
"translate-none": ["translate-none"],
|
|
1462
1462
|
zoom: [{ zoom: [
|
|
1463
1463
|
V,
|
|
1464
|
-
|
|
1465
|
-
|
|
1464
|
+
n,
|
|
1465
|
+
s
|
|
1466
1466
|
] }],
|
|
1467
|
-
accent: [{ accent:
|
|
1467
|
+
accent: [{ accent: f() }],
|
|
1468
1468
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
1469
|
-
"caret-color": [{ caret:
|
|
1469
|
+
"caret-color": [{ caret: f() }],
|
|
1470
1470
|
"color-scheme": [{ scheme: [
|
|
1471
1471
|
"normal",
|
|
1472
1472
|
"dark",
|
|
@@ -1512,8 +1512,8 @@ var zt = (e, r) => {
|
|
|
1512
1512
|
"nwse-resize",
|
|
1513
1513
|
"zoom-in",
|
|
1514
1514
|
"zoom-out",
|
|
1515
|
-
|
|
1516
|
-
|
|
1515
|
+
n,
|
|
1516
|
+
s
|
|
1517
1517
|
] }],
|
|
1518
1518
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1519
1519
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -1524,8 +1524,8 @@ var zt = (e, r) => {
|
|
|
1524
1524
|
"x"
|
|
1525
1525
|
] }],
|
|
1526
1526
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1527
|
-
"scrollbar-thumb-color": [{ "scrollbar-thumb":
|
|
1528
|
-
"scrollbar-track-color": [{ "scrollbar-track":
|
|
1527
|
+
"scrollbar-thumb-color": [{ "scrollbar-thumb": f() }],
|
|
1528
|
+
"scrollbar-track-color": [{ "scrollbar-track": f() }],
|
|
1529
1529
|
"scrollbar-gutter": [{ "scrollbar-gutter": [
|
|
1530
1530
|
"auto",
|
|
1531
1531
|
"stable",
|
|
@@ -1536,28 +1536,28 @@ var zt = (e, r) => {
|
|
|
1536
1536
|
"thin",
|
|
1537
1537
|
"none"
|
|
1538
1538
|
] }],
|
|
1539
|
-
"scroll-m": [{ "scroll-m":
|
|
1540
|
-
"scroll-mx": [{ "scroll-mx":
|
|
1541
|
-
"scroll-my": [{ "scroll-my":
|
|
1542
|
-
"scroll-ms": [{ "scroll-ms":
|
|
1543
|
-
"scroll-me": [{ "scroll-me":
|
|
1544
|
-
"scroll-mbs": [{ "scroll-mbs":
|
|
1545
|
-
"scroll-mbe": [{ "scroll-mbe":
|
|
1546
|
-
"scroll-mt": [{ "scroll-mt":
|
|
1547
|
-
"scroll-mr": [{ "scroll-mr":
|
|
1548
|
-
"scroll-mb": [{ "scroll-mb":
|
|
1549
|
-
"scroll-ml": [{ "scroll-ml":
|
|
1550
|
-
"scroll-p": [{ "scroll-p":
|
|
1551
|
-
"scroll-px": [{ "scroll-px":
|
|
1552
|
-
"scroll-py": [{ "scroll-py":
|
|
1553
|
-
"scroll-ps": [{ "scroll-ps":
|
|
1554
|
-
"scroll-pe": [{ "scroll-pe":
|
|
1555
|
-
"scroll-pbs": [{ "scroll-pbs":
|
|
1556
|
-
"scroll-pbe": [{ "scroll-pbe":
|
|
1557
|
-
"scroll-pt": [{ "scroll-pt":
|
|
1558
|
-
"scroll-pr": [{ "scroll-pr":
|
|
1559
|
-
"scroll-pb": [{ "scroll-pb":
|
|
1560
|
-
"scroll-pl": [{ "scroll-pl":
|
|
1539
|
+
"scroll-m": [{ "scroll-m": m() }],
|
|
1540
|
+
"scroll-mx": [{ "scroll-mx": m() }],
|
|
1541
|
+
"scroll-my": [{ "scroll-my": m() }],
|
|
1542
|
+
"scroll-ms": [{ "scroll-ms": m() }],
|
|
1543
|
+
"scroll-me": [{ "scroll-me": m() }],
|
|
1544
|
+
"scroll-mbs": [{ "scroll-mbs": m() }],
|
|
1545
|
+
"scroll-mbe": [{ "scroll-mbe": m() }],
|
|
1546
|
+
"scroll-mt": [{ "scroll-mt": m() }],
|
|
1547
|
+
"scroll-mr": [{ "scroll-mr": m() }],
|
|
1548
|
+
"scroll-mb": [{ "scroll-mb": m() }],
|
|
1549
|
+
"scroll-ml": [{ "scroll-ml": m() }],
|
|
1550
|
+
"scroll-p": [{ "scroll-p": m() }],
|
|
1551
|
+
"scroll-px": [{ "scroll-px": m() }],
|
|
1552
|
+
"scroll-py": [{ "scroll-py": m() }],
|
|
1553
|
+
"scroll-ps": [{ "scroll-ps": m() }],
|
|
1554
|
+
"scroll-pe": [{ "scroll-pe": m() }],
|
|
1555
|
+
"scroll-pbs": [{ "scroll-pbs": m() }],
|
|
1556
|
+
"scroll-pbe": [{ "scroll-pbe": m() }],
|
|
1557
|
+
"scroll-pt": [{ "scroll-pt": m() }],
|
|
1558
|
+
"scroll-pr": [{ "scroll-pr": m() }],
|
|
1559
|
+
"scroll-pb": [{ "scroll-pb": m() }],
|
|
1560
|
+
"scroll-pl": [{ "scroll-pl": m() }],
|
|
1561
1561
|
"snap-align": [{ snap: [
|
|
1562
1562
|
"start",
|
|
1563
1563
|
"end",
|
|
@@ -1599,17 +1599,17 @@ var zt = (e, r) => {
|
|
|
1599
1599
|
"scroll",
|
|
1600
1600
|
"contents",
|
|
1601
1601
|
"transform",
|
|
1602
|
-
|
|
1603
|
-
|
|
1602
|
+
n,
|
|
1603
|
+
s
|
|
1604
1604
|
] }],
|
|
1605
|
-
fill: [{ fill: ["none", ...
|
|
1605
|
+
fill: [{ fill: ["none", ...f()] }],
|
|
1606
1606
|
"stroke-w": [{ stroke: [
|
|
1607
|
-
|
|
1607
|
+
k,
|
|
1608
1608
|
oe,
|
|
1609
|
-
|
|
1609
|
+
q,
|
|
1610
1610
|
Ye
|
|
1611
1611
|
] }],
|
|
1612
|
-
stroke: [{ stroke: ["none", ...
|
|
1612
|
+
stroke: [{ stroke: ["none", ...f()] }],
|
|
1613
1613
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1614
1614
|
},
|
|
1615
1615
|
conflictingClassGroups: {
|
|
@@ -1795,7 +1795,7 @@ var zt = (e, r) => {
|
|
|
1795
1795
|
"selection"
|
|
1796
1796
|
]
|
|
1797
1797
|
};
|
|
1798
|
-
},
|
|
1798
|
+
}, br = (e, { cacheSize: r, prefix: t, experimentalParseClassName: o, extend: a = {}, override: l = {} }) => (ee(e, "cacheSize", r), ee(e, "prefix", t), ee(e, "experimentalParseClassName", o), be(e.theme, l.theme), be(e.classGroups, l.classGroups), be(e.conflictingClassGroups, l.conflictingClassGroups), be(e.conflictingClassGroupModifiers, l.conflictingClassGroupModifiers), ee(e, "postfixLookupClassGroups", l.postfixLookupClassGroups), ee(e, "orderSensitiveModifiers", l.orderSensitiveModifiers), me(e.theme, a.theme), me(e.classGroups, a.classGroups), me(e.conflictingClassGroups, a.conflictingClassGroups), me(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Ae(e, a, "postfixLookupClassGroups"), Ae(e, a, "orderSensitiveModifiers"), e), ee = (e, r, t) => {
|
|
1799
1799
|
t !== void 0 && (e[r] = t);
|
|
1800
1800
|
}, be = (e, r) => {
|
|
1801
1801
|
if (r) for (const t in r) ee(e, t, r[t]);
|
|
@@ -1804,7 +1804,7 @@ var zt = (e, r) => {
|
|
|
1804
1804
|
}, Ae = (e, r, t) => {
|
|
1805
1805
|
const o = r[t];
|
|
1806
1806
|
o !== void 0 && (e[t] = e[t] ? e[t].concat(o) : o);
|
|
1807
|
-
},
|
|
1807
|
+
}, mr = (e, ...r) => typeof e == "function" ? He(Je, e, ...r) : He(() => br(Je(), e), ...r), fr = mr({ extend: { theme: {
|
|
1808
1808
|
color: [
|
|
1809
1809
|
"accent",
|
|
1810
1810
|
"on-accent",
|
|
@@ -1824,9 +1824,9 @@ var zt = (e, r) => {
|
|
|
1824
1824
|
radius: ["btn"]
|
|
1825
1825
|
} } });
|
|
1826
1826
|
function O(...e) {
|
|
1827
|
-
return
|
|
1827
|
+
return fr(yt(e));
|
|
1828
1828
|
}
|
|
1829
|
-
var
|
|
1829
|
+
var vr = ["src", "alt"], gr = /* @__PURE__ */ re({
|
|
1830
1830
|
__name: "SidebarHeader",
|
|
1831
1831
|
props: {
|
|
1832
1832
|
isCollapsed: { type: Boolean },
|
|
@@ -1839,31 +1839,31 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
1839
1839
|
sidebarHeaderLogo: "h-10 w-10 shrink-0 rounded object-cover object-center",
|
|
1840
1840
|
sidebarHeaderTitle: "overflow-hidden whitespace-nowrap transition-all duration-300 text-lg font-semibold"
|
|
1841
1841
|
};
|
|
1842
|
-
return (t, o) => (
|
|
1843
|
-
class:
|
|
1842
|
+
return (t, o) => (w(), S("div", { class: d([r.sidebarHeaderContainer, e.isCollapsed && r.sidebarHeaderContainerCollapsed]) }, [y("img", {
|
|
1843
|
+
class: d(r.sidebarHeaderLogo),
|
|
1844
1844
|
style: Ie(`background-color:${e.headerOptions.logoBgColor}`),
|
|
1845
1845
|
src: e.headerOptions.logoSrc,
|
|
1846
1846
|
alt: e.headerOptions.logoAlt
|
|
1847
|
-
}, null, 14,
|
|
1847
|
+
}, null, 14, vr), e.isCollapsed ? W("", !0) : (w(), S("h2", {
|
|
1848
1848
|
key: 0,
|
|
1849
|
-
class:
|
|
1849
|
+
class: d(r.sidebarHeaderTitle)
|
|
1850
1850
|
}, G(e.headerOptions.sidebarTitle), 3))], 2));
|
|
1851
1851
|
}
|
|
1852
|
-
}),
|
|
1852
|
+
}), hr = gr, xr = { "aria-label": "Favorites" }, yr = ["data-collapsed"], kr = [
|
|
1853
1853
|
"id",
|
|
1854
1854
|
"href",
|
|
1855
1855
|
"target",
|
|
1856
1856
|
"aria-label"
|
|
1857
|
-
],
|
|
1857
|
+
], wr = [
|
|
1858
1858
|
"id",
|
|
1859
1859
|
"aria-label",
|
|
1860
1860
|
"onClick"
|
|
1861
|
-
],
|
|
1861
|
+
], Cr = [
|
|
1862
1862
|
"id",
|
|
1863
1863
|
"href",
|
|
1864
1864
|
"target",
|
|
1865
1865
|
"aria-label"
|
|
1866
|
-
],
|
|
1866
|
+
], Sr = [
|
|
1867
1867
|
"id",
|
|
1868
1868
|
"aria-label",
|
|
1869
1869
|
"onClick"
|
|
@@ -1905,140 +1905,140 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
1905
1905
|
"focus-visible:outline focus-visible:outline-[length:var(--border-m)]",
|
|
1906
1906
|
"focus-visible:outline-[color:var(--color-text-accent)] focus-visible:outline-offset-[length:var(--border-m)]"
|
|
1907
1907
|
].join(" ")
|
|
1908
|
-
}, o = { root: "inline-flex [--tooltip-z-index:50]" }, a =
|
|
1909
|
-
var
|
|
1910
|
-
return ((
|
|
1911
|
-
}),
|
|
1912
|
-
var
|
|
1913
|
-
return (
|
|
1914
|
-
}),
|
|
1915
|
-
function
|
|
1916
|
-
var
|
|
1917
|
-
return (
|
|
1908
|
+
}, o = { root: "inline-flex [--tooltip-z-index:50]" }, a = T(() => {
|
|
1909
|
+
var b, h;
|
|
1910
|
+
return ((b = (h = r.shortcutOptions.items) === null || h === void 0 ? void 0 : h.length) !== null && b !== void 0 ? b : 0) > 0;
|
|
1911
|
+
}), l = T(() => {
|
|
1912
|
+
var b;
|
|
1913
|
+
return (b = r.shortcutOptions.tooltipPosition) !== null && b !== void 0 ? b : "right";
|
|
1914
|
+
}), c = T(() => O(t.list, r.isCollapsed ? t.listCollapsed : t.listExpanded)), x = T(() => O(t.item, r.isCollapsed ? t.itemCollapsed : t.itemExpanded)), p = T(() => O(t.label, r.isCollapsed ? t.labelClosed : t.labelOpen));
|
|
1915
|
+
function g(b) {
|
|
1916
|
+
var h;
|
|
1917
|
+
return (h = b.tooltip) !== null && h !== void 0 ? h : b.label;
|
|
1918
1918
|
}
|
|
1919
|
-
return (
|
|
1919
|
+
return (b, h) => a.value ? (w(), S("section", {
|
|
1920
1920
|
key: 0,
|
|
1921
1921
|
"data-testid": "sidebar-shortcuts",
|
|
1922
|
-
class:
|
|
1923
|
-
}, [
|
|
1922
|
+
class: d(t.root)
|
|
1923
|
+
}, [y("nav", xr, [y("ul", {
|
|
1924
1924
|
"data-testid": "sidebar-shortcuts-list",
|
|
1925
|
-
class: c
|
|
1925
|
+
class: d(c.value),
|
|
1926
1926
|
"data-collapsed": e.isCollapsed ? "true" : "false"
|
|
1927
|
-
}, [(
|
|
1927
|
+
}, [(w(!0), S(te, null, $e(e.shortcutOptions.items, (u) => (w(), S("li", {
|
|
1928
1928
|
key: u.id,
|
|
1929
1929
|
"data-testid": "sidebar-shortcut"
|
|
1930
|
-
}, [e.isCollapsed ? (
|
|
1930
|
+
}, [e.isCollapsed ? (w(), H(v(Xe), {
|
|
1931
1931
|
key: 0,
|
|
1932
1932
|
id: `sidebar-shortcut-tooltip-${u.id}`,
|
|
1933
|
-
text:
|
|
1934
|
-
position:
|
|
1933
|
+
text: g(u),
|
|
1934
|
+
position: l.value,
|
|
1935
1935
|
ui: o
|
|
1936
1936
|
}, {
|
|
1937
|
-
default: ve(() => [u.type === "link" ? (
|
|
1937
|
+
default: ve(() => [u.type === "link" ? (w(), S("a", {
|
|
1938
1938
|
key: 0,
|
|
1939
1939
|
id: `shortcut-${u.id}`,
|
|
1940
1940
|
"data-testid": "sidebar-shortcut-link",
|
|
1941
1941
|
href: u.link,
|
|
1942
1942
|
target: u.target,
|
|
1943
|
-
class:
|
|
1943
|
+
class: d(t.control),
|
|
1944
1944
|
"aria-label": u.label
|
|
1945
|
-
}, [
|
|
1945
|
+
}, [y("div", { class: d(x.value) }, [y("i", {
|
|
1946
1946
|
"data-testid": "sidebar-shortcut-icon",
|
|
1947
|
-
class:
|
|
1947
|
+
class: d(`${t.icon}${u.icon}`),
|
|
1948
1948
|
"aria-hidden": "true"
|
|
1949
|
-
}, null, 2),
|
|
1949
|
+
}, null, 2), y("span", {
|
|
1950
1950
|
"data-testid": "sidebar-shortcut-label",
|
|
1951
|
-
class:
|
|
1951
|
+
class: d(p.value),
|
|
1952
1952
|
"aria-hidden": "true"
|
|
1953
|
-
}, [
|
|
1953
|
+
}, [y("p", { class: d(t.labelText) }, G(u.label), 3)], 2)], 2)], 10, kr)) : (w(), S("button", {
|
|
1954
1954
|
key: 1,
|
|
1955
1955
|
id: `shortcut-${u.id}`,
|
|
1956
1956
|
type: "button",
|
|
1957
1957
|
"data-testid": "sidebar-shortcut-button",
|
|
1958
|
-
class:
|
|
1958
|
+
class: d(t.control),
|
|
1959
1959
|
"aria-label": u.label,
|
|
1960
1960
|
onClick: u.onClick
|
|
1961
|
-
}, [
|
|
1961
|
+
}, [y("div", { class: d(x.value) }, [y("i", {
|
|
1962
1962
|
"data-testid": "sidebar-shortcut-icon",
|
|
1963
|
-
class:
|
|
1963
|
+
class: d(`${t.icon}${u.icon}`),
|
|
1964
1964
|
"aria-hidden": "true"
|
|
1965
|
-
}, null, 2),
|
|
1965
|
+
}, null, 2), y("span", {
|
|
1966
1966
|
"data-testid": "sidebar-shortcut-label",
|
|
1967
|
-
class:
|
|
1967
|
+
class: d(p.value),
|
|
1968
1968
|
"aria-hidden": "true"
|
|
1969
|
-
}, [
|
|
1969
|
+
}, [y("p", { class: d(t.labelText) }, G(u.label), 3)], 2)], 2)], 10, wr))]),
|
|
1970
1970
|
_: 2
|
|
1971
1971
|
}, 1032, [
|
|
1972
1972
|
"id",
|
|
1973
1973
|
"text",
|
|
1974
1974
|
"position"
|
|
1975
|
-
])) : (
|
|
1975
|
+
])) : (w(), S(te, { key: 1 }, [u.type === "link" ? (w(), S("a", {
|
|
1976
1976
|
key: 0,
|
|
1977
1977
|
id: `shortcut-${u.id}`,
|
|
1978
1978
|
"data-testid": "sidebar-shortcut-link",
|
|
1979
1979
|
href: u.link,
|
|
1980
1980
|
target: u.target,
|
|
1981
|
-
class:
|
|
1981
|
+
class: d(t.control),
|
|
1982
1982
|
"aria-label": u.label
|
|
1983
|
-
}, [
|
|
1983
|
+
}, [y("div", { class: d(x.value) }, [y("i", {
|
|
1984
1984
|
"data-testid": "sidebar-shortcut-icon",
|
|
1985
|
-
class:
|
|
1985
|
+
class: d(`${t.icon}${u.icon}`),
|
|
1986
1986
|
"aria-hidden": "true"
|
|
1987
|
-
}, null, 2),
|
|
1987
|
+
}, null, 2), y("span", {
|
|
1988
1988
|
"data-testid": "sidebar-shortcut-label",
|
|
1989
|
-
class:
|
|
1990
|
-
}, [
|
|
1989
|
+
class: d(p.value)
|
|
1990
|
+
}, [y("p", { class: d(t.labelText) }, G(u.label), 3)], 2)], 2)], 10, Cr)) : (w(), S("button", {
|
|
1991
1991
|
key: 1,
|
|
1992
1992
|
id: `shortcut-${u.id}`,
|
|
1993
1993
|
type: "button",
|
|
1994
1994
|
"data-testid": "sidebar-shortcut-button",
|
|
1995
|
-
class:
|
|
1995
|
+
class: d(t.control),
|
|
1996
1996
|
"aria-label": u.label,
|
|
1997
1997
|
onClick: u.onClick
|
|
1998
|
-
}, [
|
|
1998
|
+
}, [y("div", { class: d(x.value) }, [y("i", {
|
|
1999
1999
|
"data-testid": "sidebar-shortcut-icon",
|
|
2000
|
-
class:
|
|
2000
|
+
class: d(`${t.icon}${u.icon}`),
|
|
2001
2001
|
"aria-hidden": "true"
|
|
2002
|
-
}, null, 2),
|
|
2002
|
+
}, null, 2), y("span", {
|
|
2003
2003
|
"data-testid": "sidebar-shortcut-label",
|
|
2004
|
-
class:
|
|
2005
|
-
}, [
|
|
2004
|
+
class: d(p.value)
|
|
2005
|
+
}, [y("p", { class: d(t.labelText) }, G(u.label), 3)], 2)], 2)], 10, Sr))], 64))]))), 128))], 10, yr)])], 2)) : W("", !0);
|
|
2006
2006
|
}
|
|
2007
|
-
}),
|
|
2007
|
+
}), Or = zr, $r = ["id", "aria-label"], _r = [
|
|
2008
2008
|
"id",
|
|
2009
2009
|
"href",
|
|
2010
2010
|
"target",
|
|
2011
2011
|
"aria-current",
|
|
2012
2012
|
"aria-label"
|
|
2013
|
-
],
|
|
2013
|
+
], Ar = [
|
|
2014
2014
|
"id",
|
|
2015
2015
|
"aria-current",
|
|
2016
2016
|
"aria-label",
|
|
2017
2017
|
"onClick"
|
|
2018
|
-
],
|
|
2018
|
+
], Ir = [
|
|
2019
2019
|
"id",
|
|
2020
2020
|
"aria-expanded",
|
|
2021
2021
|
"aria-controls",
|
|
2022
2022
|
"onClick"
|
|
2023
|
-
],
|
|
2023
|
+
], jr = ["id", "aria-hidden"], Pr = [
|
|
2024
2024
|
"id",
|
|
2025
2025
|
"href",
|
|
2026
2026
|
"target",
|
|
2027
2027
|
"aria-current"
|
|
2028
|
-
],
|
|
2028
|
+
], Gr = [
|
|
2029
2029
|
"id",
|
|
2030
2030
|
"aria-current",
|
|
2031
2031
|
"onClick"
|
|
2032
|
-
],
|
|
2032
|
+
], Tr = [
|
|
2033
2033
|
"id",
|
|
2034
2034
|
"href",
|
|
2035
2035
|
"target",
|
|
2036
2036
|
"aria-current"
|
|
2037
|
-
],
|
|
2037
|
+
], Mr = [
|
|
2038
2038
|
"id",
|
|
2039
2039
|
"aria-current",
|
|
2040
2040
|
"onClick"
|
|
2041
|
-
],
|
|
2041
|
+
], Se = "justify-center gap-0 px-2", fe = "max-w-[12rem] opacity-100 translate-x-0", ze = "max-w-0 opacity-0 -translate-x-1 pointer-events-none", Q = "flex-1 truncate leading-tight", Br = "max-h-96 opacity-100 py-1", Er = "max-h-0 opacity-0 py-0 pointer-events-none", Rr = /* @__PURE__ */ re({
|
|
2042
2042
|
__name: "SidebarNavigationItems",
|
|
2043
2043
|
props: {
|
|
2044
2044
|
isCollapsed: { type: Boolean },
|
|
@@ -2046,54 +2046,54 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2046
2046
|
},
|
|
2047
2047
|
setup(e) {
|
|
2048
2048
|
const r = e, t = vt(/* @__PURE__ */ new Set());
|
|
2049
|
-
function o(
|
|
2050
|
-
var
|
|
2051
|
-
return !!(!((
|
|
2049
|
+
function o(C) {
|
|
2050
|
+
var z;
|
|
2051
|
+
return !!(!((z = C.subItems) === null || z === void 0) && z.length);
|
|
2052
2052
|
}
|
|
2053
|
-
function a(
|
|
2054
|
-
return t.has(
|
|
2053
|
+
function a(C) {
|
|
2054
|
+
return t.has(C);
|
|
2055
2055
|
}
|
|
2056
|
-
function
|
|
2057
|
-
t.has(
|
|
2056
|
+
function l(C) {
|
|
2057
|
+
t.has(C) ? t.delete(C) : t.add(C);
|
|
2058
2058
|
}
|
|
2059
|
-
function
|
|
2060
|
-
for (const
|
|
2061
|
-
if (!o(
|
|
2062
|
-
const
|
|
2063
|
-
(
|
|
2059
|
+
function c() {
|
|
2060
|
+
for (const C of r.navigationOptions.items) {
|
|
2061
|
+
if (!o(C)) continue;
|
|
2062
|
+
const z = C.subItems.some((i) => i.current);
|
|
2063
|
+
(C.current || z) && t.add(C.id);
|
|
2064
2064
|
}
|
|
2065
2065
|
}
|
|
2066
|
-
Fe(() => r.navigationOptions.items, () =>
|
|
2066
|
+
Fe(() => r.navigationOptions.items, () => c(), {
|
|
2067
2067
|
immediate: !0,
|
|
2068
2068
|
deep: !0
|
|
2069
|
-
}), Fe(() => r.isCollapsed, (
|
|
2070
|
-
|
|
2069
|
+
}), Fe(() => r.isCollapsed, (C) => {
|
|
2070
|
+
C && t.clear();
|
|
2071
2071
|
});
|
|
2072
|
-
function
|
|
2073
|
-
var
|
|
2074
|
-
return ((
|
|
2072
|
+
function x(C) {
|
|
2073
|
+
var z;
|
|
2074
|
+
return ((z = C.subItems) !== null && z !== void 0 ? z : []).map((i) => ({
|
|
2075
2075
|
id: i.id,
|
|
2076
2076
|
label: i.label
|
|
2077
2077
|
}));
|
|
2078
2078
|
}
|
|
2079
|
-
function
|
|
2079
|
+
function p(C, z) {
|
|
2080
2080
|
var i;
|
|
2081
|
-
const
|
|
2082
|
-
if (
|
|
2083
|
-
if (
|
|
2084
|
-
|
|
2081
|
+
const M = (i = C.subItems) === null || i === void 0 ? void 0 : i.find((R, _) => R.id !== void 0 ? R.id === z : _ === z);
|
|
2082
|
+
if (M) {
|
|
2083
|
+
if (M.type === "button") {
|
|
2084
|
+
M.onClick();
|
|
2085
2085
|
return;
|
|
2086
2086
|
}
|
|
2087
|
-
if (
|
|
2088
|
-
if (
|
|
2089
|
-
window.open(
|
|
2087
|
+
if (M.link) {
|
|
2088
|
+
if (M.target === "_blank") {
|
|
2089
|
+
window.open(M.link, "_blank", "noopener,noreferrer");
|
|
2090
2090
|
return;
|
|
2091
2091
|
}
|
|
2092
|
-
window.location.assign(
|
|
2092
|
+
window.location.assign(M.link);
|
|
2093
2093
|
}
|
|
2094
2094
|
}
|
|
2095
2095
|
}
|
|
2096
|
-
const
|
|
2096
|
+
const g = [
|
|
2097
2097
|
"group flex w-full min-h-12 items-center gap-3 rounded-xl px-3 py-2.5",
|
|
2098
2098
|
"font-sans text-sm font-semibold no-underline border-0 bg-transparent",
|
|
2099
2099
|
"text-[color:var(--color-text-primary)] cursor-pointer text-left",
|
|
@@ -2104,11 +2104,11 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2104
2104
|
"aria-[expanded=true]:bg-[color-mix(in_srgb,var(--color-text-primary)_4%,transparent)]",
|
|
2105
2105
|
"transition-[padding,gap,background-color] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
2106
2106
|
"motion-reduce:transition-none"
|
|
2107
|
-
].join(" "),
|
|
2107
|
+
].join(" "), b = [
|
|
2108
2108
|
"inline-flex min-w-0 items-center overflow-hidden whitespace-nowrap",
|
|
2109
2109
|
"transition-[max-width,opacity,transform,margin] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
2110
2110
|
"motion-reduce:transition-none"
|
|
2111
|
-
].join(" "),
|
|
2111
|
+
].join(" "), h = [
|
|
2112
2112
|
"az text-[1.5rem] leading-none shrink-0 text-[color:var(--color-text-primary)]",
|
|
2113
2113
|
"transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
2114
2114
|
"motion-reduce:transition-none"
|
|
@@ -2128,7 +2128,7 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2128
2128
|
"focus-visible:outline focus-visible:outline-[length:var(--border-m)]",
|
|
2129
2129
|
"focus-visible:outline-[color:var(--color-text-accent)] focus-visible:outline-offset-[length:var(--border-m)]",
|
|
2130
2130
|
"aria-[current=page]:bg-[#F3EDE3] aria-[current=page]:text-[color:var(--color-text-primary)]"
|
|
2131
|
-
].join(" "), A =
|
|
2131
|
+
].join(" "), A = T(() => ({
|
|
2132
2132
|
tooltip: { root: "flex w-full [--tooltip-z-index:50]" },
|
|
2133
2133
|
listBox: {
|
|
2134
2134
|
root: "w-full",
|
|
@@ -2136,171 +2136,171 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2136
2136
|
panel: "z-50"
|
|
2137
2137
|
}
|
|
2138
2138
|
}));
|
|
2139
|
-
return (
|
|
2140
|
-
var
|
|
2141
|
-
return
|
|
2142
|
-
key: (
|
|
2139
|
+
return (C, z) => (w(!0), S(te, null, $e(e.navigationOptions.items, (i, M) => {
|
|
2140
|
+
var R;
|
|
2141
|
+
return w(), S("li", {
|
|
2142
|
+
key: (R = i.id) !== null && R !== void 0 ? R : M,
|
|
2143
2143
|
"data-testid": "sidebar-nav-item",
|
|
2144
2144
|
class: "list-none"
|
|
2145
|
-
}, [e.isCollapsed && o(i) ? (
|
|
2145
|
+
}, [e.isCollapsed && o(i) ? (w(), H(v(Qe), {
|
|
2146
2146
|
key: 0,
|
|
2147
|
-
items:
|
|
2147
|
+
items: x(i),
|
|
2148
2148
|
position: "right",
|
|
2149
2149
|
trigger: "hover",
|
|
2150
2150
|
"aria-label": i.label,
|
|
2151
2151
|
ui: A.value.listBox,
|
|
2152
|
-
onAction: (_) =>
|
|
2152
|
+
onAction: (_) => p(i, _)
|
|
2153
2153
|
}, {
|
|
2154
|
-
activator: ve(() => [
|
|
2154
|
+
activator: ve(() => [y("button", {
|
|
2155
2155
|
id: `navigation-${i.id}`,
|
|
2156
2156
|
type: "button",
|
|
2157
2157
|
"data-testid": "sidebar-nav-expand",
|
|
2158
|
-
class:
|
|
2158
|
+
class: d(v(O)(v(g), Se)),
|
|
2159
2159
|
"aria-label": i.label,
|
|
2160
|
-
"aria-haspopup":
|
|
2161
|
-
}, [
|
|
2160
|
+
"aria-haspopup": "menu"
|
|
2161
|
+
}, [y("i", {
|
|
2162
2162
|
"data-testid": "sidebar-nav-icon",
|
|
2163
|
-
class:
|
|
2163
|
+
class: d(v(O)(v(h), `az-${i.icon}`)),
|
|
2164
2164
|
"aria-hidden": "true"
|
|
2165
|
-
}, null, 2),
|
|
2165
|
+
}, null, 2), y("span", {
|
|
2166
2166
|
"data-testid": "sidebar-nav-label",
|
|
2167
|
-
class:
|
|
2167
|
+
class: d(v(O)(v(b), Q, ze)),
|
|
2168
2168
|
"aria-hidden": "true"
|
|
2169
|
-
}, G(i.label), 3)], 10,
|
|
2169
|
+
}, G(i.label), 3)], 10, $r)]),
|
|
2170
2170
|
_: 2
|
|
2171
2171
|
}, 1032, [
|
|
2172
2172
|
"items",
|
|
2173
2173
|
"aria-label",
|
|
2174
2174
|
"ui",
|
|
2175
2175
|
"onAction"
|
|
2176
|
-
])) : e.isCollapsed ? (
|
|
2176
|
+
])) : e.isCollapsed ? (w(), H(v(Xe), {
|
|
2177
2177
|
key: 1,
|
|
2178
2178
|
id: `sidebar-tooltip-${i.id}`,
|
|
2179
2179
|
text: i.label,
|
|
2180
2180
|
position: "right",
|
|
2181
2181
|
ui: A.value.tooltip
|
|
2182
2182
|
}, {
|
|
2183
|
-
default: ve(() => [i.type === "link" ? (
|
|
2183
|
+
default: ve(() => [i.type === "link" ? (w(), S("a", {
|
|
2184
2184
|
key: 0,
|
|
2185
2185
|
id: `navigation-${i.id}`,
|
|
2186
2186
|
"data-testid": "sidebar-nav-link",
|
|
2187
|
-
class:
|
|
2187
|
+
class: d(v(O)(v(g), Se)),
|
|
2188
2188
|
href: i.link,
|
|
2189
2189
|
target: i.target,
|
|
2190
2190
|
"aria-current": i.current ? "page" : void 0,
|
|
2191
2191
|
"aria-label": i.label
|
|
2192
|
-
}, [
|
|
2192
|
+
}, [y("i", {
|
|
2193
2193
|
"data-testid": "sidebar-nav-icon",
|
|
2194
|
-
class:
|
|
2194
|
+
class: d(v(O)(v(h), `az-${i.icon}`)),
|
|
2195
2195
|
"aria-hidden": "true"
|
|
2196
|
-
}, null, 2),
|
|
2196
|
+
}, null, 2), y("span", {
|
|
2197
2197
|
"data-testid": "sidebar-nav-label",
|
|
2198
|
-
class:
|
|
2198
|
+
class: d(v(O)(v(b), Q, ze)),
|
|
2199
2199
|
"aria-hidden": "true"
|
|
2200
|
-
}, G(i.label), 3)], 10,
|
|
2200
|
+
}, G(i.label), 3)], 10, _r)) : (w(), S("button", {
|
|
2201
2201
|
key: 1,
|
|
2202
2202
|
id: `navigation-${i.id}`,
|
|
2203
2203
|
type: "button",
|
|
2204
2204
|
"data-testid": "sidebar-nav-button",
|
|
2205
|
-
class:
|
|
2205
|
+
class: d(v(O)(v(g), Se)),
|
|
2206
2206
|
"aria-current": i.current ? "page" : void 0,
|
|
2207
2207
|
"aria-label": i.label,
|
|
2208
2208
|
onClick: i.onClick
|
|
2209
|
-
}, [
|
|
2209
|
+
}, [y("i", {
|
|
2210
2210
|
"data-testid": "sidebar-nav-icon",
|
|
2211
|
-
class:
|
|
2211
|
+
class: d(v(O)(v(h), `az-${i.icon}`)),
|
|
2212
2212
|
"aria-hidden": "true"
|
|
2213
|
-
}, null, 2),
|
|
2213
|
+
}, null, 2), y("span", {
|
|
2214
2214
|
"data-testid": "sidebar-nav-label",
|
|
2215
|
-
class:
|
|
2215
|
+
class: d(v(O)(v(b), Q, ze)),
|
|
2216
2216
|
"aria-hidden": "true"
|
|
2217
|
-
}, G(i.label), 3)], 10,
|
|
2217
|
+
}, G(i.label), 3)], 10, Ar))]),
|
|
2218
2218
|
_: 2
|
|
2219
2219
|
}, 1032, [
|
|
2220
2220
|
"id",
|
|
2221
2221
|
"text",
|
|
2222
2222
|
"ui"
|
|
2223
|
-
])) : o(i) ? (
|
|
2223
|
+
])) : o(i) ? (w(), S(te, { key: 2 }, [y("button", {
|
|
2224
2224
|
id: `navigation-${i.id}`,
|
|
2225
2225
|
type: "button",
|
|
2226
2226
|
"data-testid": "sidebar-nav-expand",
|
|
2227
|
-
class:
|
|
2227
|
+
class: d(v(g)),
|
|
2228
2228
|
"aria-expanded": a(i.id),
|
|
2229
2229
|
"aria-controls": `navigation-submenu-${i.id}`,
|
|
2230
|
-
onClick: (_) =>
|
|
2230
|
+
onClick: (_) => l(i.id)
|
|
2231
2231
|
}, [
|
|
2232
|
-
|
|
2232
|
+
y("i", {
|
|
2233
2233
|
"data-testid": "sidebar-nav-icon",
|
|
2234
|
-
class:
|
|
2234
|
+
class: d(v(O)(v(h), `az-${i.icon}`)),
|
|
2235
2235
|
"aria-hidden": "true"
|
|
2236
2236
|
}, null, 2),
|
|
2237
|
-
|
|
2237
|
+
y("span", {
|
|
2238
2238
|
"data-testid": "sidebar-nav-label",
|
|
2239
|
-
class:
|
|
2239
|
+
class: d(v(O)(v(b), Q, fe))
|
|
2240
2240
|
}, G(i.label), 3),
|
|
2241
|
-
|
|
2241
|
+
y("i", {
|
|
2242
2242
|
"data-testid": "sidebar-nav-chevron",
|
|
2243
|
-
class:
|
|
2243
|
+
class: d(v(O)(v(b), v(u), fe, a(i.id) && "rotate-180")),
|
|
2244
2244
|
"aria-hidden": "true"
|
|
2245
2245
|
}, null, 2)
|
|
2246
|
-
], 10,
|
|
2246
|
+
], 10, Ir), y("ul", {
|
|
2247
2247
|
id: `navigation-submenu-${i.id}`,
|
|
2248
2248
|
"data-testid": "sidebar-nav-submenu",
|
|
2249
|
-
class:
|
|
2249
|
+
class: d(v(O)(v($), a(i.id) ? Br : Er)),
|
|
2250
2250
|
"aria-hidden": !a(i.id) || void 0
|
|
2251
|
-
}, [(
|
|
2251
|
+
}, [(w(!0), S(te, null, $e(i.subItems, (_) => (w(), S("li", {
|
|
2252
2252
|
key: _.id,
|
|
2253
2253
|
class: "list-none"
|
|
2254
|
-
}, [_.type === "link" ? (
|
|
2254
|
+
}, [_.type === "link" ? (w(), S("a", {
|
|
2255
2255
|
key: 0,
|
|
2256
2256
|
id: `navigation-${_.id}`,
|
|
2257
2257
|
"data-testid": "sidebar-nav-sublink",
|
|
2258
|
-
class:
|
|
2258
|
+
class: d(v(j)),
|
|
2259
2259
|
href: _.link,
|
|
2260
2260
|
target: _.target,
|
|
2261
2261
|
"aria-current": _.current ? "page" : void 0
|
|
2262
|
-
}, G(_.label), 11,
|
|
2262
|
+
}, G(_.label), 11, Pr)) : (w(), S("button", {
|
|
2263
2263
|
key: 1,
|
|
2264
2264
|
id: `navigation-${_.id}`,
|
|
2265
2265
|
type: "button",
|
|
2266
2266
|
"data-testid": "sidebar-nav-subbutton",
|
|
2267
|
-
class:
|
|
2267
|
+
class: d(v(j)),
|
|
2268
2268
|
"aria-current": _.current ? "page" : void 0,
|
|
2269
2269
|
onClick: _.onClick
|
|
2270
|
-
}, G(_.label), 11,
|
|
2270
|
+
}, G(_.label), 11, Gr))]))), 128))], 10, jr)], 64)) : (w(), S(te, { key: 3 }, [i.type === "link" ? (w(), S("a", {
|
|
2271
2271
|
key: 0,
|
|
2272
2272
|
id: `navigation-${i.id}`,
|
|
2273
2273
|
"data-testid": "sidebar-nav-link",
|
|
2274
|
-
class:
|
|
2274
|
+
class: d(v(g)),
|
|
2275
2275
|
href: i.link,
|
|
2276
2276
|
target: i.target,
|
|
2277
2277
|
"aria-current": i.current ? "page" : void 0
|
|
2278
|
-
}, [
|
|
2278
|
+
}, [y("i", {
|
|
2279
2279
|
"data-testid": "sidebar-nav-icon",
|
|
2280
|
-
class:
|
|
2280
|
+
class: d(v(O)(v(h), `az-${i.icon}`)),
|
|
2281
2281
|
"aria-hidden": "true"
|
|
2282
|
-
}, null, 2),
|
|
2282
|
+
}, null, 2), y("span", {
|
|
2283
2283
|
"data-testid": "sidebar-nav-label",
|
|
2284
|
-
class:
|
|
2285
|
-
}, G(i.label), 3)], 10,
|
|
2284
|
+
class: d(v(O)(v(b), Q, fe))
|
|
2285
|
+
}, G(i.label), 3)], 10, Tr)) : (w(), S("button", {
|
|
2286
2286
|
key: 1,
|
|
2287
2287
|
id: `navigation-${i.id}`,
|
|
2288
2288
|
type: "button",
|
|
2289
2289
|
"data-testid": "sidebar-nav-button",
|
|
2290
|
-
class:
|
|
2290
|
+
class: d(v(g)),
|
|
2291
2291
|
"aria-current": i.current ? "page" : void 0,
|
|
2292
2292
|
onClick: i.onClick
|
|
2293
|
-
}, [
|
|
2293
|
+
}, [y("i", {
|
|
2294
2294
|
"data-testid": "sidebar-nav-icon",
|
|
2295
|
-
class:
|
|
2295
|
+
class: d(v(O)(v(h), `az-${i.icon}`)),
|
|
2296
2296
|
"aria-hidden": "true"
|
|
2297
|
-
}, null, 2),
|
|
2297
|
+
}, null, 2), y("span", {
|
|
2298
2298
|
"data-testid": "sidebar-nav-label",
|
|
2299
|
-
class:
|
|
2300
|
-
}, G(i.label), 3)], 10,
|
|
2299
|
+
class: d(v(O)(v(b), Q, fe))
|
|
2300
|
+
}, G(i.label), 3)], 10, Mr))], 64))]);
|
|
2301
2301
|
}), 128));
|
|
2302
2302
|
}
|
|
2303
|
-
}),
|
|
2303
|
+
}), Lr = Rr, Nr = ["src", "alt"], Fr = /* @__PURE__ */ re({
|
|
2304
2304
|
__name: "SidebarFooterAvatar",
|
|
2305
2305
|
props: {
|
|
2306
2306
|
avatarUrl: {},
|
|
@@ -2313,28 +2313,28 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2313
2313
|
root: "flex h-10 w-10 shrink-0 overflow-hidden rounded-full ring-1 ring-[color:var(--color-border-primary)]",
|
|
2314
2314
|
img: "block h-full w-full object-cover object-center",
|
|
2315
2315
|
initials: "flex h-full w-full items-center justify-center text-xs font-semibold text-[color:var(--color-text-primary-inverse)]"
|
|
2316
|
-
}, o =
|
|
2317
|
-
return (a,
|
|
2318
|
-
var
|
|
2319
|
-
return
|
|
2316
|
+
}, o = T(() => ({ backgroundColor: r.initialsBG || "var(--color-blue-grey-600, #525252)" }));
|
|
2317
|
+
return (a, l) => {
|
|
2318
|
+
var c;
|
|
2319
|
+
return w(), S("div", {
|
|
2320
2320
|
"data-testid": "sidebar-avatar",
|
|
2321
|
-
class:
|
|
2322
|
-
}, [e.avatarUrl ? (
|
|
2321
|
+
class: d(t.root)
|
|
2322
|
+
}, [e.avatarUrl ? (w(), S("img", {
|
|
2323
2323
|
key: 0,
|
|
2324
2324
|
"data-testid": "sidebar-avatar-img",
|
|
2325
|
-
class:
|
|
2325
|
+
class: d(t.img),
|
|
2326
2326
|
src: e.avatarUrl,
|
|
2327
|
-
alt: (
|
|
2328
|
-
}, null, 10,
|
|
2327
|
+
alt: (c = e.name) !== null && c !== void 0 ? c : ""
|
|
2328
|
+
}, null, 10, Nr)) : (w(), S("span", {
|
|
2329
2329
|
key: 1,
|
|
2330
2330
|
"data-testid": "sidebar-avatar-initials",
|
|
2331
|
-
class:
|
|
2331
|
+
class: d(t.initials),
|
|
2332
2332
|
style: Ie(o.value),
|
|
2333
2333
|
"aria-hidden": "true"
|
|
2334
2334
|
}, G(e.initials), 7))], 2);
|
|
2335
2335
|
};
|
|
2336
2336
|
}
|
|
2337
|
-
}), Ke =
|
|
2337
|
+
}), Ke = Fr, Vr = ["aria-label"], Dr = ["aria-hidden"], Ur = /* @__PURE__ */ re({
|
|
2338
2338
|
__name: "SidebarFooter",
|
|
2339
2339
|
props: {
|
|
2340
2340
|
isCollapsed: { type: Boolean },
|
|
@@ -2372,65 +2372,65 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2372
2372
|
"focus-visible:outline focus-visible:outline-[length:var(--border-m)]",
|
|
2373
2373
|
"focus-visible:outline-[color:var(--color-text-accent)] focus-visible:outline-offset-[length:var(--border-m)]"
|
|
2374
2374
|
].join(" ")
|
|
2375
|
-
},
|
|
2375
|
+
}, l = T(() => {
|
|
2376
2376
|
var u;
|
|
2377
2377
|
return (u = t.footerOptions.profileMenuItems) !== null && u !== void 0 ? u : [];
|
|
2378
|
-
}),
|
|
2378
|
+
}), c = T(() => l.value.length > 0), x = T(() => l.value.map((u) => ({
|
|
2379
2379
|
id: u.id,
|
|
2380
2380
|
label: u.label,
|
|
2381
2381
|
disabled: u.disabled,
|
|
2382
2382
|
appearance: u.appearance,
|
|
2383
2383
|
divider: u.divider
|
|
2384
|
-
}))),
|
|
2384
|
+
}))), p = T(() => ({
|
|
2385
2385
|
root: "shrink-0",
|
|
2386
2386
|
activator: "inline-flex",
|
|
2387
2387
|
panel: "z-50"
|
|
2388
|
-
})),
|
|
2388
|
+
})), g = T(() => {
|
|
2389
2389
|
var u;
|
|
2390
2390
|
return (u = t.footerOptions.profileMenuPosition) !== null && u !== void 0 ? u : "bottom-up";
|
|
2391
2391
|
});
|
|
2392
|
-
function
|
|
2393
|
-
return
|
|
2392
|
+
function b(u) {
|
|
2393
|
+
return l.value.find(($, j) => $.id !== void 0 ? $.id === u : j === u);
|
|
2394
2394
|
}
|
|
2395
|
-
function
|
|
2395
|
+
function h(u) {
|
|
2396
2396
|
var $, j;
|
|
2397
|
-
($ =
|
|
2397
|
+
($ = b(u)) === null || $ === void 0 || (j = $.onClick) === null || j === void 0 || j.call($);
|
|
2398
2398
|
}
|
|
2399
2399
|
return (u, $) => {
|
|
2400
|
-
var j, A,
|
|
2401
|
-
return
|
|
2400
|
+
var j, A, C;
|
|
2401
|
+
return w(), S("div", {
|
|
2402
2402
|
"data-testid": "sidebar-footer",
|
|
2403
|
-
class:
|
|
2404
|
-
}, [
|
|
2403
|
+
class: d(v(O)(a.root, e.isCollapsed ? a.rootCollapsed : a.rootExpanded))
|
|
2404
|
+
}, [y("div", {
|
|
2405
2405
|
"data-testid": "sidebar-footer-identity",
|
|
2406
|
-
class:
|
|
2407
|
-
}, [
|
|
2406
|
+
class: d(v(O)(a.identity, e.isCollapsed ? a.identityCollapsed : a.identityExpanded))
|
|
2407
|
+
}, [c.value ? (w(), H(v(Qe), {
|
|
2408
2408
|
key: 0,
|
|
2409
|
-
items:
|
|
2410
|
-
position:
|
|
2409
|
+
items: x.value,
|
|
2410
|
+
position: g.value,
|
|
2411
2411
|
trigger: "hover",
|
|
2412
2412
|
"aria-label": e.footerOptions.name ? `${e.footerOptions.name} menu` : "User menu",
|
|
2413
|
-
ui:
|
|
2414
|
-
onAction:
|
|
2413
|
+
ui: p.value,
|
|
2414
|
+
onAction: h
|
|
2415
2415
|
}, {
|
|
2416
2416
|
activator: ve(() => {
|
|
2417
|
-
var
|
|
2418
|
-
return [
|
|
2417
|
+
var z;
|
|
2418
|
+
return [y("button", {
|
|
2419
2419
|
type: "button",
|
|
2420
2420
|
"data-testid": "sidebar-profile-trigger",
|
|
2421
|
-
class:
|
|
2421
|
+
class: d(a.avatarTrigger),
|
|
2422
2422
|
"aria-label": e.footerOptions.name ? `${e.footerOptions.name} menu` : "User menu"
|
|
2423
2423
|
}, [Oe(Ke, {
|
|
2424
2424
|
"avatar-url": e.footerOptions.avatarUrl,
|
|
2425
2425
|
name: e.footerOptions.name,
|
|
2426
|
-
initials: (
|
|
2426
|
+
initials: (z = e.footerOptions.initials) !== null && z !== void 0 ? z : "AZ",
|
|
2427
2427
|
"initials-b-g": e.footerOptions.initialsBG
|
|
2428
2428
|
}, null, 8, [
|
|
2429
2429
|
"avatar-url",
|
|
2430
2430
|
"name",
|
|
2431
2431
|
"initials",
|
|
2432
2432
|
"initials-b-g"
|
|
2433
|
-
])], 10,
|
|
2433
|
+
])], 10, Vr)];
|
|
2434
2434
|
}),
|
|
2435
2435
|
_: 1
|
|
2436
2436
|
}, 8, [
|
|
@@ -2438,7 +2438,7 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2438
2438
|
"position",
|
|
2439
2439
|
"aria-label",
|
|
2440
2440
|
"ui"
|
|
2441
|
-
])) : (
|
|
2441
|
+
])) : (w(), H(Ke, {
|
|
2442
2442
|
key: 1,
|
|
2443
2443
|
"avatar-url": e.footerOptions.avatarUrl,
|
|
2444
2444
|
name: e.footerOptions.name,
|
|
@@ -2449,29 +2449,29 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2449
2449
|
"name",
|
|
2450
2450
|
"initials",
|
|
2451
2451
|
"initials-b-g"
|
|
2452
|
-
])),
|
|
2452
|
+
])), y("div", {
|
|
2453
2453
|
"data-testid": "sidebar-user-text",
|
|
2454
|
-
class:
|
|
2454
|
+
class: d(v(O)(a.text, e.isCollapsed ? a.textClosed : a.textOpen)),
|
|
2455
2455
|
"aria-hidden": e.isCollapsed || void 0
|
|
2456
|
-
}, [
|
|
2456
|
+
}, [y("p", {
|
|
2457
2457
|
"data-testid": "sidebar-user-name",
|
|
2458
|
-
class:
|
|
2459
|
-
}, G((A = e.footerOptions.name) !== null && A !== void 0 ? A : "First Last"), 3),
|
|
2458
|
+
class: d(a.name)
|
|
2459
|
+
}, G((A = e.footerOptions.name) !== null && A !== void 0 ? A : "First Last"), 3), y("p", {
|
|
2460
2460
|
"data-testid": "sidebar-user-title",
|
|
2461
|
-
class:
|
|
2462
|
-
}, G((
|
|
2461
|
+
class: d(a.jobTitle)
|
|
2462
|
+
}, G((C = e.footerOptions.jobTitle) !== null && C !== void 0 ? C : "Job Title"), 3)], 10, Dr)], 2), Oe(v(xt), {
|
|
2463
2463
|
"data-testid": "sidebar-collapse",
|
|
2464
2464
|
ghost: "",
|
|
2465
2465
|
appearance: "standard",
|
|
2466
2466
|
size: "s",
|
|
2467
|
-
class:
|
|
2467
|
+
class: d(v(O)(a.collapseBtn, e.isCollapsed && "rotate-180")),
|
|
2468
2468
|
"aria-label": e.isCollapsed ? "Expand sidebar" : "Collapse sidebar",
|
|
2469
2469
|
"icon-class": "az-ui-sidebar-collapse",
|
|
2470
|
-
onClick: $[0] || ($[0] = (
|
|
2470
|
+
onClick: $[0] || ($[0] = (z) => o("toggleSidebarCollapsed"))
|
|
2471
2471
|
}, null, 8, ["class", "aria-label"])], 2);
|
|
2472
2472
|
};
|
|
2473
2473
|
}
|
|
2474
|
-
}), Wr = Ur,
|
|
2474
|
+
}), Wr = Ur, Hr = {
|
|
2475
2475
|
showHeader: !0,
|
|
2476
2476
|
classes: "",
|
|
2477
2477
|
headerOptions: () => ({
|
|
@@ -2485,16 +2485,16 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2485
2485
|
shortcutOptions: () => ({ items: [] }),
|
|
2486
2486
|
navigationOptions: () => ({ items: [] }),
|
|
2487
2487
|
footerOptions: () => ({ initials: "AZ" })
|
|
2488
|
-
},
|
|
2488
|
+
}, Yr = ["aria-expanded"], Zr = {
|
|
2489
2489
|
key: 0,
|
|
2490
2490
|
"data-testid": "sidebar-header-slot"
|
|
2491
|
-
},
|
|
2491
|
+
}, qr = {
|
|
2492
2492
|
key: 1,
|
|
2493
2493
|
"data-testid": "sidebar-shortcuts-slot"
|
|
2494
|
-
},
|
|
2494
|
+
}, Jr = {
|
|
2495
2495
|
"data-testid": "sidebar-nav",
|
|
2496
2496
|
"aria-label": "Main"
|
|
2497
|
-
},
|
|
2497
|
+
}, Kr = /* @__PURE__ */ re({
|
|
2498
2498
|
__name: "index",
|
|
2499
2499
|
props: /* @__PURE__ */ ft({
|
|
2500
2500
|
showHeader: { type: Boolean },
|
|
@@ -2504,9 +2504,15 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2504
2504
|
shortcutOptions: {},
|
|
2505
2505
|
navigationOptions: {},
|
|
2506
2506
|
footerOptions: {}
|
|
2507
|
-
},
|
|
2507
|
+
}, Hr),
|
|
2508
2508
|
setup(e) {
|
|
2509
|
-
const r = gt(!1),
|
|
2509
|
+
const r = e, t = ht(), o = gt(!1), a = T(() => o.value ? "4.5rem" : "17.5rem"), l = T(() => {
|
|
2510
|
+
var b, h;
|
|
2511
|
+
return !!t.shortcuts || !!(r.showShortcuts && ((b = (h = r.shortcutOptions) === null || h === void 0 || (h = h.items) === null || h === void 0 ? void 0 : h.length) !== null && b !== void 0 ? b : 0) > 0);
|
|
2512
|
+
}), c = T(() => {
|
|
2513
|
+
var b, h;
|
|
2514
|
+
return !!t.nav || ((b = (h = r.navigationOptions) === null || h === void 0 || (h = h.items) === null || h === void 0 ? void 0 : h.length) !== null && b !== void 0 ? b : 0) > 0;
|
|
2515
|
+
}), x = T(() => l.value && c.value), p = {
|
|
2510
2516
|
sidebarContainer: [
|
|
2511
2517
|
"font-sans h-full min-h-full self-stretch flex flex-col gap-4 p-4",
|
|
2512
2518
|
"bg-surface text-fg border-r border-edge",
|
|
@@ -2515,50 +2521,57 @@ var fr = ["src", "alt"], vr = /* @__PURE__ */ re({
|
|
|
2515
2521
|
"will-change-[width]"
|
|
2516
2522
|
].join(" "),
|
|
2517
2523
|
sidebarOverflow: "overflow-visible",
|
|
2524
|
+
sectionDivider: "m-0 w-full shrink-0 border-0 border-t border-solid border-edge",
|
|
2518
2525
|
navSection: "flex-1 min-h-0",
|
|
2519
2526
|
navSectionExpanded: "overflow-y-auto overflow-x-hidden",
|
|
2520
2527
|
navSectionCollapsed: "overflow-visible",
|
|
2521
2528
|
navList: "flex flex-col gap-1 m-0 p-0 list-none",
|
|
2522
2529
|
footer: "mt-auto pt-4 flex items-center border-t border-edge shrink-0 overflow-visible"
|
|
2523
2530
|
};
|
|
2524
|
-
function
|
|
2525
|
-
|
|
2531
|
+
function g() {
|
|
2532
|
+
o.value = !o.value;
|
|
2526
2533
|
}
|
|
2527
|
-
return (
|
|
2534
|
+
return (b, h) => (w(), S("aside", {
|
|
2528
2535
|
"data-testid": "sidebar",
|
|
2529
|
-
class:
|
|
2530
|
-
style: Ie({ width:
|
|
2531
|
-
"aria-expanded": !
|
|
2536
|
+
class: d(v(O)(p.sidebarContainer, p.sidebarOverflow, e.classes)),
|
|
2537
|
+
style: Ie({ width: a.value }),
|
|
2538
|
+
"aria-expanded": !o.value
|
|
2532
2539
|
}, [
|
|
2533
|
-
e.showHeader ||
|
|
2540
|
+
e.showHeader || b.$slots.header ? (w(), S("div", Zr, [ce(b.$slots, "header"), e.showHeader && !b.$slots.header ? (w(), H(hr, {
|
|
2534
2541
|
key: 0,
|
|
2535
|
-
"is-collapsed":
|
|
2542
|
+
"is-collapsed": o.value,
|
|
2536
2543
|
"header-options": e.headerOptions
|
|
2537
|
-
}, null, 8, ["is-collapsed", "header-options"])) :
|
|
2538
|
-
e.showShortcuts ||
|
|
2544
|
+
}, null, 8, ["is-collapsed", "header-options"])) : W("", !0)])) : W("", !0),
|
|
2545
|
+
e.showShortcuts || b.$slots.shortcuts ? (w(), S("div", qr, [ce(b.$slots, "shortcuts"), e.showShortcuts && !b.$slots.shortcuts ? (w(), H(Or, {
|
|
2539
2546
|
key: 0,
|
|
2540
|
-
"is-collapsed":
|
|
2547
|
+
"is-collapsed": o.value,
|
|
2541
2548
|
"shortcut-options": e.shortcutOptions
|
|
2542
|
-
}, null, 8, ["is-collapsed", "shortcut-options"])) :
|
|
2543
|
-
|
|
2549
|
+
}, null, 8, ["is-collapsed", "shortcut-options"])) : W("", !0)])) : W("", !0),
|
|
2550
|
+
x.value ? (w(), S("div", {
|
|
2551
|
+
key: 2,
|
|
2552
|
+
"data-testid": "sidebar-section-divider",
|
|
2553
|
+
class: d(p.sectionDivider),
|
|
2554
|
+
"aria-hidden": "true"
|
|
2555
|
+
}, null, 2)) : W("", !0),
|
|
2556
|
+
y("section", { class: d(v(O)(p.navSection, o.value ? p.navSectionCollapsed : p.navSectionExpanded)) }, [y("nav", Jr, [y("ul", {
|
|
2544
2557
|
"data-testid": "sidebar-nav-list",
|
|
2545
|
-
class:
|
|
2546
|
-
}, [Oe(
|
|
2547
|
-
"is-collapsed":
|
|
2558
|
+
class: d(p.navList)
|
|
2559
|
+
}, [Oe(Lr, {
|
|
2560
|
+
"is-collapsed": o.value,
|
|
2548
2561
|
"navigation-options": e.navigationOptions
|
|
2549
|
-
}, null, 8, ["is-collapsed", "navigation-options"]),
|
|
2550
|
-
|
|
2562
|
+
}, null, 8, ["is-collapsed", "navigation-options"]), ce(b.$slots, "nav")], 2)])], 2),
|
|
2563
|
+
y("div", {
|
|
2551
2564
|
"data-testid": "sidebar-footer-slot",
|
|
2552
|
-
class:
|
|
2553
|
-
}, [
|
|
2565
|
+
class: d(p.footer)
|
|
2566
|
+
}, [ce(b.$slots, "footer"), b.$slots.footer ? W("", !0) : (w(), H(Wr, {
|
|
2554
2567
|
key: 0,
|
|
2555
|
-
"is-collapsed":
|
|
2568
|
+
"is-collapsed": o.value,
|
|
2556
2569
|
"footer-options": e.footerOptions,
|
|
2557
|
-
onToggleSidebarCollapsed:
|
|
2570
|
+
onToggleSidebarCollapsed: g
|
|
2558
2571
|
}, null, 8, ["is-collapsed", "footer-options"]))], 2)
|
|
2559
|
-
], 14,
|
|
2572
|
+
], 14, Yr));
|
|
2560
2573
|
}
|
|
2561
|
-
}),
|
|
2574
|
+
}), so = Kr;
|
|
2562
2575
|
export {
|
|
2563
|
-
|
|
2576
|
+
so as AzSidebar
|
|
2564
2577
|
};
|