@uva-glass/component-library 3.55.9 → 3.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataTable-C46IkAmF.js +154 -0
- package/dist/DataTable-C46IkAmF.js.map +1 -0
- package/dist/assets/DataTable.css +1 -0
- package/dist/components/Accordion/Accordion.test.js +1 -1
- package/dist/components/AccordionCard/AccordionCard.test.js +1 -1
- package/dist/components/ActionList/ActionList.test.js +1 -1
- package/dist/components/AppStatusBar/AppStatusBar.test.js +1 -1
- package/dist/components/Attention/Attention.test.js +1 -1
- package/dist/components/Backdrop/Backdrop.test.js +1 -1
- package/dist/components/Buttons/Button.test.js +1 -1
- package/dist/components/Buttons/LinkButton.test.js +1 -1
- package/dist/components/Buttons/MenuButton.test.js +1 -1
- package/dist/components/Card/Card.test.js +1 -1
- package/dist/components/Checkbox/Checkbox.test.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +1 -1
- package/dist/components/DataTable/DataTable.d.ts +39 -0
- package/dist/components/DataTable/DataTable.js +2 -0
- package/dist/components/DataTable/DataTable.stories.d.ts +26 -0
- package/dist/components/DataTable/DataTable.stories.js +40349 -0
- package/dist/components/DataTable/DataTable.stories.js.map +1 -0
- package/dist/components/DataTable/hooks/useVirtualScroll.d.ts +14 -0
- package/dist/components/DataTable/hooks/useVirtualScroll.js +35 -0
- package/dist/components/DataTable/hooks/useVirtualScroll.js.map +1 -0
- package/dist/components/DataTable/index.d.ts +1 -0
- package/dist/components/DataTable/index.js +2 -0
- package/dist/components/DataTable/mockDataTableData.d.ts +39 -0
- package/dist/components/FeedbackBar/FeedbackBar.test.js +1 -1
- package/dist/components/Label/Label.test.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +1 -1
- package/dist/components/Notification/Notification.test.js +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +1 -1
- package/dist/components/TextArea/TextArea.test.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +43 -42
- package/dist/{dist-Cxk2-lJw.js → dist-Dlg0QxSO.js} +413 -193
- package/dist/dist-Dlg0QxSO.js.map +1 -0
- package/dist/index.js +43 -42
- package/dist/setupTests.js +9 -5
- package/dist/setupTests.js.map +1 -1
- package/package.json +1 -1
- package/dist/dist-Cxk2-lJw.js.map +0 -1
|
@@ -48,7 +48,7 @@ var r = /* @__PURE__ */ t(((e, t) => {
|
|
|
48
48
|
}
|
|
49
49
|
}, l;
|
|
50
50
|
(function(e) {
|
|
51
|
-
e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.container = "container", e.charset = "charset", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.host = "host", e.import = "import", e.keyframes = "keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.startingStyle = "starting-style", e.supports = "supports";
|
|
51
|
+
e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.atRule = "at-rule", e.container = "container", e.charset = "charset", e.counterStyle = "counter-style", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.fontFeatureValues = "font-feature-values", e.host = "host", e.import = "import", e.keyframes = "keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.pageMarginBox = "page-margin-box", e.positionTry = "position-try", e.property = "property", e.scope = "scope", e.startingStyle = "starting-style", e.supports = "supports", e.viewTransition = "view-transition";
|
|
52
52
|
})(l ||= {});
|
|
53
53
|
var u = (e, t, n) => {
|
|
54
54
|
let r = n, i = 1e4;
|
|
@@ -130,7 +130,7 @@ var h = (e, t) => {
|
|
|
130
130
|
return (i) => (i.position = new c(e, {
|
|
131
131
|
line: n,
|
|
132
132
|
column: r
|
|
133
|
-
}, t?.source || ""),
|
|
133
|
+
}, t?.source || ""), _(), i);
|
|
134
134
|
}
|
|
135
135
|
let a = [];
|
|
136
136
|
function o(i) {
|
|
@@ -140,18 +140,13 @@ var h = (e, t) => {
|
|
|
140
140
|
}
|
|
141
141
|
function u() {
|
|
142
142
|
let t = /^{\s*/.exec(e);
|
|
143
|
-
return !!t && (
|
|
143
|
+
return !!t && (g(t), !0);
|
|
144
144
|
}
|
|
145
145
|
function h() {
|
|
146
146
|
let t = /^}/.exec(e);
|
|
147
|
-
return !!t && (
|
|
147
|
+
return !!t && (g(t), !0);
|
|
148
148
|
}
|
|
149
|
-
function g() {
|
|
150
|
-
let t, n = [];
|
|
151
|
-
for (v(), y(n); e.length && e.charAt(0) !== "}" && (t = ne() || D(), t);) n.push(t), y(n);
|
|
152
|
-
return n;
|
|
153
|
-
}
|
|
154
|
-
function _(t) {
|
|
149
|
+
function g(t) {
|
|
155
150
|
let i = t[0];
|
|
156
151
|
return function(e) {
|
|
157
152
|
let t = e.match(/\n/g);
|
|
@@ -160,28 +155,30 @@ var h = (e, t) => {
|
|
|
160
155
|
r = ~i ? e.length - i : r + e.length;
|
|
161
156
|
}(i), e = e.slice(i.length), t;
|
|
162
157
|
}
|
|
163
|
-
function
|
|
158
|
+
function _() {
|
|
164
159
|
let t = /^\s*/.exec(e);
|
|
165
|
-
t &&
|
|
160
|
+
t && g(t);
|
|
166
161
|
}
|
|
167
|
-
function
|
|
162
|
+
function v(e) {
|
|
168
163
|
e ||= [];
|
|
169
|
-
let t =
|
|
170
|
-
for (; t;) e.push(t), t =
|
|
164
|
+
let t = y();
|
|
165
|
+
for (; t;) e.push(t), t = y();
|
|
171
166
|
return e;
|
|
172
167
|
}
|
|
173
|
-
function
|
|
168
|
+
function y() {
|
|
174
169
|
let t = i();
|
|
175
170
|
if (e.charAt(0) !== "/" || e.charAt(1) !== "*") return;
|
|
176
171
|
let n = /^\/\*[^]*?\*\//.exec(e);
|
|
177
|
-
return n ? (
|
|
172
|
+
return n ? (g(n), t({
|
|
178
173
|
type: l.comment,
|
|
179
174
|
comment: n[0].slice(2, -2)
|
|
180
175
|
})) : o("End of comment missing");
|
|
181
176
|
}
|
|
182
|
-
function
|
|
183
|
-
let t =
|
|
184
|
-
if (t
|
|
177
|
+
function b() {
|
|
178
|
+
let t = d(e, ["{"]);
|
|
179
|
+
if (t === -1 || t === 0) return;
|
|
180
|
+
let n = e.substring(0, t);
|
|
181
|
+
return g([n]), ((e, t) => {
|
|
185
182
|
let n = [], r = 0;
|
|
186
183
|
for (; r < e.length;) {
|
|
187
184
|
let i = d(e, t, r);
|
|
@@ -189,66 +186,159 @@ var h = (e, t) => {
|
|
|
189
186
|
n.push(e.substring(r, i)), r = i + 1;
|
|
190
187
|
}
|
|
191
188
|
return n;
|
|
192
|
-
})(p(
|
|
189
|
+
})(p(n).replace(f, ""), [","]).map((e) => p(e));
|
|
193
190
|
}
|
|
194
|
-
function
|
|
191
|
+
function x() {
|
|
195
192
|
let t = i(), n = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(e);
|
|
196
193
|
if (!n) return;
|
|
197
|
-
|
|
194
|
+
g(n);
|
|
198
195
|
let r = p(n[0]), a = /^:\s*/.exec(e);
|
|
199
196
|
if (!a) return o("property missing ':'");
|
|
200
|
-
|
|
197
|
+
g(a);
|
|
201
198
|
let s = "", c = d(e, [";", "}"]);
|
|
202
|
-
c !== -1 && (s = e.substring(0, c),
|
|
199
|
+
c !== -1 && (s = e.substring(0, c), g([s]), s = p(s).replace(f, ""));
|
|
203
200
|
let u = t({
|
|
204
201
|
type: l.declaration,
|
|
205
202
|
property: r.replace(f, ""),
|
|
206
203
|
value: s
|
|
207
204
|
}), m = /^[;\s]*/.exec(e);
|
|
208
|
-
return m &&
|
|
205
|
+
return m && g(m), u;
|
|
209
206
|
}
|
|
210
|
-
function
|
|
211
|
-
let
|
|
207
|
+
function S() {
|
|
208
|
+
let n = [];
|
|
212
209
|
if (!u()) return o("missing '{'");
|
|
213
|
-
|
|
214
|
-
let
|
|
215
|
-
for (;
|
|
216
|
-
|
|
210
|
+
v(n);
|
|
211
|
+
let r = x();
|
|
212
|
+
for (; r;) n.push(r), v(n), r = x();
|
|
213
|
+
for (; t?.silent && e.length && e.charAt(0) !== "}";) {
|
|
214
|
+
let t = e.indexOf(";"), i = e.indexOf("}");
|
|
215
|
+
if (t === -1 || !(i === -1 || t < i)) break;
|
|
216
|
+
for (g([e.substring(0, t + 1)]), _(), v(n), r = x(); r;) n.push(r), v(n), r = x();
|
|
217
|
+
}
|
|
218
|
+
return h() ? n : o("missing '}'");
|
|
219
|
+
}
|
|
220
|
+
function C() {
|
|
221
|
+
let t = d(e, ["{"]);
|
|
222
|
+
if (t === -1) return !1;
|
|
223
|
+
let n = d(e, [";"]), r = d(e, ["}"]);
|
|
224
|
+
return !(n !== -1 && n < t) && !(r !== -1 && r < t);
|
|
217
225
|
}
|
|
218
226
|
function w() {
|
|
227
|
+
let n = [];
|
|
228
|
+
if (!u()) return o("missing '{'");
|
|
229
|
+
for (v(n); e.length && e.charAt(0) !== "}";) {
|
|
230
|
+
if (e.charAt(0) === "@") {
|
|
231
|
+
let e = A();
|
|
232
|
+
if (e) {
|
|
233
|
+
n.push(e), v(n);
|
|
234
|
+
continue;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
if (C()) {
|
|
238
|
+
let e = j();
|
|
239
|
+
if (e) {
|
|
240
|
+
n.push(e), v(n);
|
|
241
|
+
continue;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
let r = x();
|
|
245
|
+
if (!r) {
|
|
246
|
+
if (t?.silent) {
|
|
247
|
+
let t = e.indexOf(";"), r = e.indexOf("}");
|
|
248
|
+
if (t !== -1 && (r === -1 || t < r)) {
|
|
249
|
+
g([e.substring(0, t + 1)]), _(), v(n);
|
|
250
|
+
continue;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
n.push(r), v(n);
|
|
256
|
+
}
|
|
257
|
+
return h() ? n : o("missing '}'");
|
|
258
|
+
}
|
|
259
|
+
function T() {
|
|
260
|
+
let n = [];
|
|
261
|
+
for (_(), v(n); e.length && e.charAt(0) !== "}";) {
|
|
262
|
+
if (e.charAt(0) === "@") {
|
|
263
|
+
let e = A();
|
|
264
|
+
if (e) {
|
|
265
|
+
n.push(e), v(n);
|
|
266
|
+
continue;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
if (C()) {
|
|
270
|
+
let e = j();
|
|
271
|
+
if (e) {
|
|
272
|
+
n.push(e), v(n);
|
|
273
|
+
continue;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
let r = x();
|
|
277
|
+
if (!r) {
|
|
278
|
+
if (t?.silent) {
|
|
279
|
+
let t = e.indexOf(";"), r = e.indexOf("}");
|
|
280
|
+
if (t !== -1 && (r === -1 || t < r)) {
|
|
281
|
+
g([e.substring(0, t + 1)]), _(), v(n);
|
|
282
|
+
continue;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
break;
|
|
286
|
+
}
|
|
287
|
+
n.push(r), v(n);
|
|
288
|
+
}
|
|
289
|
+
return n;
|
|
290
|
+
}
|
|
291
|
+
function E() {
|
|
219
292
|
let t = [], n = i(), r = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e);
|
|
220
293
|
for (; r;) {
|
|
221
|
-
let n =
|
|
294
|
+
let n = g(r);
|
|
222
295
|
t.push(n[1]);
|
|
223
296
|
let i = /^,\s*/.exec(e);
|
|
224
|
-
i &&
|
|
297
|
+
i && g(i), r = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e);
|
|
225
298
|
}
|
|
226
299
|
if (t.length) return n({
|
|
227
300
|
type: l.keyframe,
|
|
228
301
|
values: t,
|
|
229
|
-
declarations:
|
|
302
|
+
declarations: S() || []
|
|
230
303
|
});
|
|
231
304
|
}
|
|
232
|
-
let
|
|
233
|
-
|
|
305
|
+
let D = RegExp(`^@(${[
|
|
306
|
+
"top-left-corner",
|
|
307
|
+
"top-left",
|
|
308
|
+
"top-center",
|
|
309
|
+
"top-right",
|
|
310
|
+
"top-right-corner",
|
|
311
|
+
"bottom-left-corner",
|
|
312
|
+
"bottom-left",
|
|
313
|
+
"bottom-center",
|
|
314
|
+
"bottom-right",
|
|
315
|
+
"bottom-right-corner",
|
|
316
|
+
"left-top",
|
|
317
|
+
"left-middle",
|
|
318
|
+
"left-bottom",
|
|
319
|
+
"right-top",
|
|
320
|
+
"right-middle",
|
|
321
|
+
"right-bottom"
|
|
322
|
+
].join("|")})(?![\\w-])\\s*`), ee = k("import"), te = k("charset"), O = k("namespace");
|
|
323
|
+
function k(t) {
|
|
234
324
|
let n = RegExp("^@" + t + "\\s*((?::?[^;'\"]|\"(?:\\\\\"|[^\"])*?\"|'(?:\\\\'|[^'])*?')+)(?:;|$)");
|
|
235
325
|
return () => {
|
|
236
326
|
let r = i(), a = n.exec(e);
|
|
237
327
|
if (!a) return;
|
|
238
|
-
let o =
|
|
328
|
+
let o = g(a), s = { type: t };
|
|
239
329
|
return s[t] = o[1].trim(), r(s);
|
|
240
330
|
};
|
|
241
331
|
}
|
|
242
|
-
function
|
|
332
|
+
function A() {
|
|
243
333
|
if (e[0] === "@") return function() {
|
|
244
334
|
let t = i(), n = /^@([-\w]+)?keyframes\s*/.exec(e);
|
|
245
335
|
if (!n) return;
|
|
246
|
-
let r =
|
|
336
|
+
let r = g(n)[1], a = /^([-\w]+)\s*/.exec(e);
|
|
247
337
|
if (!a) return o("@keyframes missing name");
|
|
248
|
-
let s =
|
|
338
|
+
let s = g(a)[1];
|
|
249
339
|
if (!u()) return o("@keyframes missing '{'");
|
|
250
|
-
let c =
|
|
251
|
-
for (; d;) c.push(d), c = c.concat(
|
|
340
|
+
let c = v(), d = E();
|
|
341
|
+
for (; d;) c.push(d), c = c.concat(v()), d = E();
|
|
252
342
|
return h() ? t({
|
|
253
343
|
type: l.keyframes,
|
|
254
344
|
name: s,
|
|
@@ -258,9 +348,9 @@ var h = (e, t) => {
|
|
|
258
348
|
}() || function() {
|
|
259
349
|
let t = i(), n = /^@media *([^{]+)/.exec(e);
|
|
260
350
|
if (!n) return;
|
|
261
|
-
let r = p(
|
|
351
|
+
let r = p(g(n)[1]);
|
|
262
352
|
if (!u()) return o("@media missing '{'");
|
|
263
|
-
let a =
|
|
353
|
+
let a = T();
|
|
264
354
|
return h() ? t({
|
|
265
355
|
type: l.media,
|
|
266
356
|
media: r,
|
|
@@ -269,7 +359,7 @@ var h = (e, t) => {
|
|
|
269
359
|
}() || function() {
|
|
270
360
|
let t = i(), n = /^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(e);
|
|
271
361
|
if (!n) return;
|
|
272
|
-
let r =
|
|
362
|
+
let r = g(n);
|
|
273
363
|
return t({
|
|
274
364
|
type: l.customMedia,
|
|
275
365
|
name: p(r[1]),
|
|
@@ -278,20 +368,20 @@ var h = (e, t) => {
|
|
|
278
368
|
}() || function() {
|
|
279
369
|
let t = i(), n = /^@supports *([^{]+)/.exec(e);
|
|
280
370
|
if (!n) return;
|
|
281
|
-
let r = p(
|
|
371
|
+
let r = p(g(n)[1]);
|
|
282
372
|
if (!u()) return o("@supports missing '{'");
|
|
283
|
-
let a =
|
|
373
|
+
let a = T();
|
|
284
374
|
return h() ? t({
|
|
285
375
|
type: l.supports,
|
|
286
376
|
supports: r,
|
|
287
377
|
rules: a
|
|
288
378
|
}) : o("@supports missing '}'");
|
|
289
|
-
}() || ee() || te() ||
|
|
379
|
+
}() || ee() || te() || O() || function() {
|
|
290
380
|
let t = i(), n = /^@([-\w]+)?document *([^{]+)/.exec(e);
|
|
291
381
|
if (!n) return;
|
|
292
|
-
let r =
|
|
382
|
+
let r = g(n), a = p(r[1]), s = p(r[2]);
|
|
293
383
|
if (!u()) return o("@document missing '{'");
|
|
294
|
-
let c =
|
|
384
|
+
let c = T();
|
|
295
385
|
return h() ? t({
|
|
296
386
|
type: l.document,
|
|
297
387
|
document: s,
|
|
@@ -301,11 +391,22 @@ var h = (e, t) => {
|
|
|
301
391
|
}() || function() {
|
|
302
392
|
let t = i(), n = /^@page */.exec(e);
|
|
303
393
|
if (!n) return;
|
|
304
|
-
|
|
305
|
-
let r =
|
|
394
|
+
g(n);
|
|
395
|
+
let r = b() || [];
|
|
306
396
|
if (!u()) return o("@page missing '{'");
|
|
307
|
-
let a =
|
|
308
|
-
for (;
|
|
397
|
+
let a = [];
|
|
398
|
+
for (v(a); e.length && e.charAt(0) !== "}";) {
|
|
399
|
+
if (e.charAt(0) === "@") {
|
|
400
|
+
let e = A();
|
|
401
|
+
if (e) {
|
|
402
|
+
a.push(e), v(a);
|
|
403
|
+
continue;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
let t = x();
|
|
407
|
+
if (!t) break;
|
|
408
|
+
a.push(t), v(a);
|
|
409
|
+
}
|
|
309
410
|
return h() ? t({
|
|
310
411
|
type: l.page,
|
|
311
412
|
selectors: r,
|
|
@@ -314,8 +415,8 @@ var h = (e, t) => {
|
|
|
314
415
|
}() || function() {
|
|
315
416
|
let t = i(), n = /^@host\s*/.exec(e);
|
|
316
417
|
if (!n) return;
|
|
317
|
-
if (
|
|
318
|
-
let r =
|
|
418
|
+
if (g(n), !u()) return o("@host missing '{'");
|
|
419
|
+
let r = T();
|
|
319
420
|
return h() ? t({
|
|
320
421
|
type: l.host,
|
|
321
422
|
rules: r
|
|
@@ -323,19 +424,30 @@ var h = (e, t) => {
|
|
|
323
424
|
}() || function() {
|
|
324
425
|
let t = i(), n = /^@font-face\s*/.exec(e);
|
|
325
426
|
if (!n) return;
|
|
326
|
-
if (
|
|
327
|
-
let r =
|
|
328
|
-
for (; a;) r.push(a), r = r.concat(
|
|
427
|
+
if (g(n), !u()) return o("@font-face missing '{'");
|
|
428
|
+
let r = v(), a = x();
|
|
429
|
+
for (; a;) r.push(a), r = r.concat(v()), a = x();
|
|
329
430
|
return h() ? t({
|
|
330
431
|
type: l.fontFace,
|
|
331
432
|
declarations: r
|
|
332
433
|
}) : o("@font-face missing '}'");
|
|
434
|
+
}() || function() {
|
|
435
|
+
let t = i(), n = /^@font-feature-values\s+([^{]+)/.exec(e);
|
|
436
|
+
if (!n) return;
|
|
437
|
+
let r = p(g(n)[1]);
|
|
438
|
+
if (!u()) return o("@font-feature-values missing '{'");
|
|
439
|
+
let a = T();
|
|
440
|
+
return h() ? t({
|
|
441
|
+
type: l.fontFeatureValues,
|
|
442
|
+
fontFamily: r,
|
|
443
|
+
rules: a
|
|
444
|
+
}) : o("@font-feature-values missing '}'");
|
|
333
445
|
}() || function() {
|
|
334
446
|
let t = i(), n = /^@container *([^{]+)/.exec(e);
|
|
335
447
|
if (!n) return;
|
|
336
|
-
let r = p(
|
|
448
|
+
let r = p(g(n)[1]);
|
|
337
449
|
if (!u()) return o("@container missing '{'");
|
|
338
|
-
let a =
|
|
450
|
+
let a = T();
|
|
339
451
|
return h() ? t({
|
|
340
452
|
type: l.container,
|
|
341
453
|
container: r,
|
|
@@ -344,8 +456,8 @@ var h = (e, t) => {
|
|
|
344
456
|
}() || function() {
|
|
345
457
|
let t = i(), n = /^@starting-style\s*/.exec(e);
|
|
346
458
|
if (!n) return;
|
|
347
|
-
if (
|
|
348
|
-
let r =
|
|
459
|
+
if (g(n), !u()) return o("@starting-style missing '{'");
|
|
460
|
+
let r = T();
|
|
349
461
|
return h() ? t({
|
|
350
462
|
type: l.startingStyle,
|
|
351
463
|
rules: r
|
|
@@ -353,37 +465,145 @@ var h = (e, t) => {
|
|
|
353
465
|
}() || function() {
|
|
354
466
|
let t = i(), n = /^@layer *([^{;@]+)/.exec(e);
|
|
355
467
|
if (!n) return;
|
|
356
|
-
let r = p(
|
|
468
|
+
let r = p(g(n)[1]);
|
|
357
469
|
if (!u()) {
|
|
358
470
|
let n = /^[;\s]*/.exec(e);
|
|
359
|
-
return n &&
|
|
471
|
+
return n && g(n), t({
|
|
360
472
|
type: l.layer,
|
|
361
473
|
layer: r
|
|
362
474
|
});
|
|
363
475
|
}
|
|
364
|
-
let a =
|
|
476
|
+
let a = T();
|
|
365
477
|
return h() ? t({
|
|
366
478
|
type: l.layer,
|
|
367
479
|
layer: r,
|
|
368
480
|
rules: a
|
|
369
481
|
}) : o("@layer missing '}'");
|
|
482
|
+
}() || function() {
|
|
483
|
+
let t = i(), n = /^@property\s+(--[-\w]+)\s*/.exec(e);
|
|
484
|
+
if (!n) return;
|
|
485
|
+
let r = g(n)[1];
|
|
486
|
+
if (!u()) return o("@property missing '{'");
|
|
487
|
+
let a = v(), s = x();
|
|
488
|
+
for (; s;) a.push(s), a = a.concat(v()), s = x();
|
|
489
|
+
return h() ? t({
|
|
490
|
+
type: l.property,
|
|
491
|
+
name: r,
|
|
492
|
+
declarations: a
|
|
493
|
+
}) : o("@property missing '}'");
|
|
494
|
+
}() || function() {
|
|
495
|
+
let t = i(), n = /^@counter-style\s+([-\w]+)\s*/.exec(e);
|
|
496
|
+
if (!n) return;
|
|
497
|
+
let r = g(n)[1];
|
|
498
|
+
if (!u()) return o("@counter-style missing '{'");
|
|
499
|
+
let a = v(), s = x();
|
|
500
|
+
for (; s;) a.push(s), a = a.concat(v()), s = x();
|
|
501
|
+
return h() ? t({
|
|
502
|
+
type: l.counterStyle,
|
|
503
|
+
name: r,
|
|
504
|
+
declarations: a
|
|
505
|
+
}) : o("@counter-style missing '}'");
|
|
506
|
+
}() || function() {
|
|
507
|
+
let t = i(), n = /^@scope\s*([^{]*)/.exec(e);
|
|
508
|
+
if (!n) return;
|
|
509
|
+
let r = p(g(n)[1]);
|
|
510
|
+
if (!u()) return o("@scope missing '{'");
|
|
511
|
+
let a = T();
|
|
512
|
+
return h() ? t({
|
|
513
|
+
type: l.scope,
|
|
514
|
+
scope: r,
|
|
515
|
+
rules: a
|
|
516
|
+
}) : o("@scope missing '}'");
|
|
517
|
+
}() || function() {
|
|
518
|
+
let t = i(), n = /^@view-transition\s*/.exec(e);
|
|
519
|
+
if (!n) return;
|
|
520
|
+
if (g(n), !u()) return o("@view-transition missing '{'");
|
|
521
|
+
let r = v(), a = x();
|
|
522
|
+
for (; a;) r.push(a), r = r.concat(v()), a = x();
|
|
523
|
+
return h() ? t({
|
|
524
|
+
type: l.viewTransition,
|
|
525
|
+
declarations: r
|
|
526
|
+
}) : o("@view-transition missing '}'");
|
|
527
|
+
}() || function() {
|
|
528
|
+
let t = i(), n = /^@position-try\s+(--[-\w]+)\s*/.exec(e);
|
|
529
|
+
if (!n) return;
|
|
530
|
+
let r = g(n)[1];
|
|
531
|
+
if (!u()) return o("@position-try missing '{'");
|
|
532
|
+
let a = v(), s = x();
|
|
533
|
+
for (; s;) a.push(s), a = a.concat(v()), s = x();
|
|
534
|
+
return h() ? t({
|
|
535
|
+
type: l.positionTry,
|
|
536
|
+
name: r,
|
|
537
|
+
declarations: a
|
|
538
|
+
}) : o("@position-try missing '}'");
|
|
539
|
+
}() || function() {
|
|
540
|
+
let t = i(), n = D.exec(e);
|
|
541
|
+
if (!n) return;
|
|
542
|
+
let r = g(n)[1];
|
|
543
|
+
if (!u()) return o(`@${r} missing '{'`);
|
|
544
|
+
let a = v(), s = x();
|
|
545
|
+
for (; s;) a.push(s), a = a.concat(v()), s = x();
|
|
546
|
+
return h() ? t({
|
|
547
|
+
type: l.pageMarginBox,
|
|
548
|
+
name: r,
|
|
549
|
+
declarations: a
|
|
550
|
+
}) : o(`@${r} missing '}'`);
|
|
551
|
+
}() || function() {
|
|
552
|
+
let t = i(), n = /^@([-\w]+)\s*/.exec(e);
|
|
553
|
+
if (!n) return;
|
|
554
|
+
let r = g(n)[1], a = "", s = d(e, ["{", ";"]);
|
|
555
|
+
if (s !== -1 && s > 0 && (a = p(e.substring(0, s)), g([e.substring(0, s)])), u()) {
|
|
556
|
+
let e = T();
|
|
557
|
+
return h() ? t({
|
|
558
|
+
type: l.atRule,
|
|
559
|
+
name: r,
|
|
560
|
+
prelude: a,
|
|
561
|
+
rules: e
|
|
562
|
+
}) : o(`@${r} missing '}'`);
|
|
563
|
+
}
|
|
564
|
+
let c = /^[;\s]*/.exec(e);
|
|
565
|
+
return c && g(c), t({
|
|
566
|
+
type: l.atRule,
|
|
567
|
+
name: r,
|
|
568
|
+
prelude: a
|
|
569
|
+
});
|
|
370
570
|
}();
|
|
371
571
|
}
|
|
372
|
-
function
|
|
373
|
-
let e = i(), t =
|
|
374
|
-
return t ? (
|
|
572
|
+
function j() {
|
|
573
|
+
let e = i(), t = b();
|
|
574
|
+
return t ? (v(), e({
|
|
375
575
|
type: l.rule,
|
|
376
576
|
selectors: t,
|
|
377
|
-
declarations:
|
|
577
|
+
declarations: w() || []
|
|
378
578
|
})) : o("selector missing");
|
|
379
579
|
}
|
|
380
580
|
return m(function() {
|
|
381
|
-
let
|
|
581
|
+
let n = function() {
|
|
582
|
+
let n, r = [];
|
|
583
|
+
for (_(), v(r); e.length;) {
|
|
584
|
+
if (e.charAt(0) === "}") {
|
|
585
|
+
if (t?.silent) {
|
|
586
|
+
o("extra '}'"), g(["}"]), _(), v(r);
|
|
587
|
+
continue;
|
|
588
|
+
}
|
|
589
|
+
break;
|
|
590
|
+
}
|
|
591
|
+
if (n = A() || j(), !n) {
|
|
592
|
+
if (t?.silent) {
|
|
593
|
+
g([e.charAt(0)]), _(), v(r);
|
|
594
|
+
continue;
|
|
595
|
+
}
|
|
596
|
+
break;
|
|
597
|
+
}
|
|
598
|
+
r.push(n), v(r);
|
|
599
|
+
}
|
|
600
|
+
return r;
|
|
601
|
+
}();
|
|
382
602
|
return {
|
|
383
603
|
type: l.stylesheet,
|
|
384
604
|
stylesheet: {
|
|
385
605
|
source: t?.source,
|
|
386
|
-
rules:
|
|
606
|
+
rules: n,
|
|
387
607
|
parsingErrors: a
|
|
388
608
|
}
|
|
389
609
|
};
|
|
@@ -424,25 +644,25 @@ function C(e, t) {
|
|
|
424
644
|
function w(e, t) {
|
|
425
645
|
for (var n = 0; n < t.length; n++) {
|
|
426
646
|
var r = t[n];
|
|
427
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
647
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, D(r.key), r);
|
|
428
648
|
}
|
|
429
649
|
}
|
|
430
|
-
function
|
|
650
|
+
function T(e, t, n) {
|
|
431
651
|
return t && w(e.prototype, t), n && w(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
432
652
|
}
|
|
433
|
-
function
|
|
434
|
-
return t =
|
|
653
|
+
function E(e, t, n) {
|
|
654
|
+
return t = D(t), t in e ? Object.defineProperty(e, t, {
|
|
435
655
|
value: n,
|
|
436
656
|
enumerable: !0,
|
|
437
657
|
configurable: !0,
|
|
438
658
|
writable: !0
|
|
439
659
|
}) : e[t] = n, e;
|
|
440
660
|
}
|
|
441
|
-
function
|
|
442
|
-
var t =
|
|
661
|
+
function D(e) {
|
|
662
|
+
var t = ee(e, "string");
|
|
443
663
|
return S(t) === "symbol" ? t : String(t);
|
|
444
664
|
}
|
|
445
|
-
function
|
|
665
|
+
function ee(e, t) {
|
|
446
666
|
if (S(e) !== "object" || e === null) return e;
|
|
447
667
|
var n = e[Symbol.toPrimitive];
|
|
448
668
|
if (n !== void 0) {
|
|
@@ -452,12 +672,12 @@ function E(e, t) {
|
|
|
452
672
|
}
|
|
453
673
|
return (t === "string" ? String : Number)(e);
|
|
454
674
|
}
|
|
455
|
-
var
|
|
675
|
+
var te = typeof Set > "u" ? Set : /* @__PURE__ */ function() {
|
|
456
676
|
function e() {
|
|
457
677
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
458
|
-
C(this, e),
|
|
678
|
+
C(this, e), E(this, "items", void 0), this.items = t;
|
|
459
679
|
}
|
|
460
|
-
return
|
|
680
|
+
return T(e, [
|
|
461
681
|
{
|
|
462
682
|
key: "add",
|
|
463
683
|
value: function(e) {
|
|
@@ -504,10 +724,10 @@ var ne = typeof Set > "u" ? Set : /* @__PURE__ */ function() {
|
|
|
504
724
|
}();
|
|
505
725
|
//#endregion
|
|
506
726
|
//#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/getRole.mjs
|
|
507
|
-
function
|
|
727
|
+
function O(e) {
|
|
508
728
|
return e.localName ?? e.tagName.toLowerCase();
|
|
509
729
|
}
|
|
510
|
-
var
|
|
730
|
+
var k = {
|
|
511
731
|
article: "article",
|
|
512
732
|
aside: "complementary",
|
|
513
733
|
button: "button",
|
|
@@ -551,7 +771,7 @@ var re = {
|
|
|
551
771
|
thead: "rowgroup",
|
|
552
772
|
tr: "row",
|
|
553
773
|
ul: "list"
|
|
554
|
-
},
|
|
774
|
+
}, A = {
|
|
555
775
|
caption: new Set(["aria-label", "aria-labelledby"]),
|
|
556
776
|
code: new Set(["aria-label", "aria-labelledby"]),
|
|
557
777
|
deletion: new Set(["aria-label", "aria-labelledby"]),
|
|
@@ -569,7 +789,7 @@ var re = {
|
|
|
569
789
|
subscript: new Set(["aria-label", "aria-labelledby"]),
|
|
570
790
|
superscript: new Set(["aria-label", "aria-labelledby"])
|
|
571
791
|
};
|
|
572
|
-
function
|
|
792
|
+
function j(e, t) {
|
|
573
793
|
return [
|
|
574
794
|
"aria-atomic",
|
|
575
795
|
"aria-busy",
|
|
@@ -591,30 +811,30 @@ function ae(e, t) {
|
|
|
591
811
|
"aria-roledescription"
|
|
592
812
|
].some(function(n) {
|
|
593
813
|
var r;
|
|
594
|
-
return e.hasAttribute(n) && !((r =
|
|
814
|
+
return e.hasAttribute(n) && !((r = A[t]) != null && r.has(n));
|
|
595
815
|
});
|
|
596
816
|
}
|
|
597
|
-
function
|
|
598
|
-
return
|
|
817
|
+
function ne(e, t) {
|
|
818
|
+
return j(e, t);
|
|
599
819
|
}
|
|
600
|
-
function
|
|
601
|
-
var t =
|
|
602
|
-
if (t === null ||
|
|
603
|
-
var n =
|
|
604
|
-
if (
|
|
820
|
+
function re(e) {
|
|
821
|
+
var t = ae(e);
|
|
822
|
+
if (t === null || M.indexOf(t) !== -1) {
|
|
823
|
+
var n = ie(e);
|
|
824
|
+
if (M.indexOf(t || "") === -1 || ne(e, n || "")) return n;
|
|
605
825
|
}
|
|
606
826
|
return t;
|
|
607
827
|
}
|
|
608
|
-
function
|
|
609
|
-
var t =
|
|
828
|
+
function ie(e) {
|
|
829
|
+
var t = k[O(e)];
|
|
610
830
|
if (t !== void 0) return t;
|
|
611
|
-
switch (
|
|
831
|
+
switch (O(e)) {
|
|
612
832
|
case "a":
|
|
613
833
|
case "area":
|
|
614
834
|
case "link":
|
|
615
835
|
if (e.hasAttribute("href")) return "link";
|
|
616
836
|
break;
|
|
617
|
-
case "img": return e.getAttribute("alt") === "" && !
|
|
837
|
+
case "img": return e.getAttribute("alt") === "" && !ne(e, "img") ? "presentation" : "img";
|
|
618
838
|
case "input":
|
|
619
839
|
var n = e.type;
|
|
620
840
|
switch (n) {
|
|
@@ -637,7 +857,7 @@ function ce(e) {
|
|
|
637
857
|
}
|
|
638
858
|
return null;
|
|
639
859
|
}
|
|
640
|
-
function
|
|
860
|
+
function ae(e) {
|
|
641
861
|
var t = e.getAttribute("role");
|
|
642
862
|
if (t !== null) {
|
|
643
863
|
var n = t.trim().split(" ")[0];
|
|
@@ -647,53 +867,53 @@ function le(e) {
|
|
|
647
867
|
}
|
|
648
868
|
//#endregion
|
|
649
869
|
//#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/util.mjs
|
|
650
|
-
var
|
|
651
|
-
function
|
|
870
|
+
var M = ["presentation", "none"];
|
|
871
|
+
function N(e) {
|
|
652
872
|
return e !== null && e.nodeType === e.ELEMENT_NODE;
|
|
653
873
|
}
|
|
654
|
-
function
|
|
655
|
-
return
|
|
874
|
+
function oe(e) {
|
|
875
|
+
return N(e) && O(e) === "caption";
|
|
656
876
|
}
|
|
657
|
-
function
|
|
658
|
-
return
|
|
877
|
+
function P(e) {
|
|
878
|
+
return N(e) && O(e) === "input";
|
|
659
879
|
}
|
|
660
|
-
function
|
|
661
|
-
return
|
|
880
|
+
function se(e) {
|
|
881
|
+
return N(e) && O(e) === "optgroup";
|
|
662
882
|
}
|
|
663
|
-
function
|
|
664
|
-
return
|
|
883
|
+
function ce(e) {
|
|
884
|
+
return N(e) && O(e) === "select";
|
|
665
885
|
}
|
|
666
|
-
function
|
|
667
|
-
return
|
|
886
|
+
function le(e) {
|
|
887
|
+
return N(e) && O(e) === "table";
|
|
668
888
|
}
|
|
669
|
-
function
|
|
670
|
-
return
|
|
889
|
+
function ue(e) {
|
|
890
|
+
return N(e) && O(e) === "textarea";
|
|
671
891
|
}
|
|
672
|
-
function
|
|
892
|
+
function de(e) {
|
|
673
893
|
var t = (e.ownerDocument === null ? e : e.ownerDocument).defaultView;
|
|
674
894
|
if (t === null) throw TypeError("no window available");
|
|
675
895
|
return t;
|
|
676
896
|
}
|
|
677
|
-
function
|
|
678
|
-
return
|
|
897
|
+
function fe(e) {
|
|
898
|
+
return N(e) && O(e) === "fieldset";
|
|
679
899
|
}
|
|
680
|
-
function
|
|
681
|
-
return
|
|
900
|
+
function pe(e) {
|
|
901
|
+
return N(e) && O(e) === "legend";
|
|
682
902
|
}
|
|
683
|
-
function
|
|
684
|
-
return
|
|
903
|
+
function me(e) {
|
|
904
|
+
return N(e) && O(e) === "slot";
|
|
685
905
|
}
|
|
686
|
-
function
|
|
687
|
-
return
|
|
906
|
+
function he(e) {
|
|
907
|
+
return N(e) && e.ownerSVGElement !== void 0;
|
|
688
908
|
}
|
|
689
|
-
function
|
|
690
|
-
return
|
|
909
|
+
function ge(e) {
|
|
910
|
+
return N(e) && O(e) === "svg";
|
|
691
911
|
}
|
|
692
|
-
function
|
|
693
|
-
return
|
|
912
|
+
function _e(e) {
|
|
913
|
+
return he(e) && O(e) === "title";
|
|
694
914
|
}
|
|
695
|
-
function
|
|
696
|
-
if (
|
|
915
|
+
function F(e, t) {
|
|
916
|
+
if (N(e) && e.hasAttribute(t)) {
|
|
697
917
|
var n = e.getAttribute(t).split(" "), r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
698
918
|
return n.map(function(e) {
|
|
699
919
|
return r.getElementById(e);
|
|
@@ -703,32 +923,32 @@ function j(e, t) {
|
|
|
703
923
|
}
|
|
704
924
|
return [];
|
|
705
925
|
}
|
|
706
|
-
function
|
|
707
|
-
return
|
|
926
|
+
function I(e, t) {
|
|
927
|
+
return N(e) ? t.indexOf(re(e)) !== -1 : !1;
|
|
708
928
|
}
|
|
709
929
|
//#endregion
|
|
710
930
|
//#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
|
|
711
|
-
function
|
|
931
|
+
function ve(e) {
|
|
712
932
|
return e.trim().replace(/\s\s+/g, " ");
|
|
713
933
|
}
|
|
714
|
-
function
|
|
715
|
-
if (!
|
|
934
|
+
function ye(e, t) {
|
|
935
|
+
if (!N(e)) return !1;
|
|
716
936
|
if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true") return !0;
|
|
717
937
|
var n = t(e);
|
|
718
938
|
return n.getPropertyValue("display") === "none" || n.getPropertyValue("visibility") === "hidden";
|
|
719
939
|
}
|
|
720
|
-
function
|
|
721
|
-
return
|
|
940
|
+
function be(e) {
|
|
941
|
+
return I(e, [
|
|
722
942
|
"button",
|
|
723
943
|
"combobox",
|
|
724
944
|
"listbox",
|
|
725
945
|
"textbox"
|
|
726
|
-
]) ||
|
|
946
|
+
]) || xe(e, "range");
|
|
727
947
|
}
|
|
728
|
-
function
|
|
729
|
-
if (!
|
|
948
|
+
function xe(e, t) {
|
|
949
|
+
if (!N(e)) return !1;
|
|
730
950
|
switch (t) {
|
|
731
|
-
case "range": return
|
|
951
|
+
case "range": return I(e, [
|
|
732
952
|
"meter",
|
|
733
953
|
"progressbar",
|
|
734
954
|
"scrollbar",
|
|
@@ -738,23 +958,23 @@ function N(e, t) {
|
|
|
738
958
|
default: throw TypeError(`No knowledge about abstract role '${t}'. This is likely a bug :(`);
|
|
739
959
|
}
|
|
740
960
|
}
|
|
741
|
-
function
|
|
961
|
+
function Se(e, t) {
|
|
742
962
|
var n = x(e.querySelectorAll(t));
|
|
743
|
-
return
|
|
963
|
+
return F(e, "aria-owns").forEach(function(e) {
|
|
744
964
|
n.push.apply(n, x(e.querySelectorAll(t)));
|
|
745
965
|
}), n;
|
|
746
966
|
}
|
|
747
|
-
function
|
|
748
|
-
return
|
|
967
|
+
function Ce(e) {
|
|
968
|
+
return ce(e) ? e.selectedOptions || Se(e, "[selected]") : Se(e, "[aria-selected=\"true\"]");
|
|
749
969
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
970
|
+
function we(e) {
|
|
971
|
+
return I(e, M);
|
|
752
972
|
}
|
|
753
|
-
function
|
|
754
|
-
return
|
|
973
|
+
function Te(e) {
|
|
974
|
+
return oe(e);
|
|
755
975
|
}
|
|
756
|
-
function
|
|
757
|
-
return
|
|
976
|
+
function Ee(e) {
|
|
977
|
+
return I(e, [
|
|
758
978
|
"button",
|
|
759
979
|
"cell",
|
|
760
980
|
"checkbox",
|
|
@@ -777,25 +997,25 @@ function Oe(e) {
|
|
|
777
997
|
"treeitem"
|
|
778
998
|
]);
|
|
779
999
|
}
|
|
780
|
-
function
|
|
1000
|
+
function De(e) {
|
|
781
1001
|
return !1;
|
|
782
1002
|
}
|
|
783
|
-
function
|
|
784
|
-
return
|
|
1003
|
+
function Oe(e) {
|
|
1004
|
+
return P(e) || ue(e) ? e.value : e.textContent || "";
|
|
785
1005
|
}
|
|
786
|
-
function
|
|
1006
|
+
function ke(e) {
|
|
787
1007
|
var t = e.getPropertyValue("content");
|
|
788
1008
|
return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
|
|
789
1009
|
}
|
|
790
|
-
function
|
|
791
|
-
var t =
|
|
1010
|
+
function Ae(e) {
|
|
1011
|
+
var t = O(e);
|
|
792
1012
|
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t === "select" || t === "textarea";
|
|
793
1013
|
}
|
|
794
1014
|
function je(e) {
|
|
795
|
-
if (
|
|
1015
|
+
if (Ae(e)) return e;
|
|
796
1016
|
var t = null;
|
|
797
1017
|
return e.childNodes.forEach(function(e) {
|
|
798
|
-
if (t === null &&
|
|
1018
|
+
if (t === null && N(e)) {
|
|
799
1019
|
var n = je(e);
|
|
800
1020
|
n !== null && (t = n);
|
|
801
1021
|
}
|
|
@@ -810,7 +1030,7 @@ function Ne(e) {
|
|
|
810
1030
|
var t = e.labels;
|
|
811
1031
|
if (t === null) return t;
|
|
812
1032
|
if (t !== void 0) return x(t);
|
|
813
|
-
if (!
|
|
1033
|
+
if (!Ae(e)) return null;
|
|
814
1034
|
var n = e.ownerDocument;
|
|
815
1035
|
return x(n.querySelectorAll("label")).filter(function(t) {
|
|
816
1036
|
return Me(t) === e;
|
|
@@ -821,18 +1041,18 @@ function Pe(e) {
|
|
|
821
1041
|
return t.length === 0 ? x(e.childNodes) : t;
|
|
822
1042
|
}
|
|
823
1043
|
function Fe(e) {
|
|
824
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new
|
|
1044
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new te(), r = de(e), i = t.compute, a = i === void 0 ? "name" : i, o = t.computedStyleSupportsPseudoElements, s = o === void 0 ? t.getComputedStyle !== void 0 : o, c = t.getComputedStyle, l = c === void 0 ? r.getComputedStyle.bind(r) : c, u = t.hidden, d = u === void 0 ? !1 : u;
|
|
825
1045
|
function f(e, t) {
|
|
826
1046
|
var n = "";
|
|
827
|
-
if (
|
|
1047
|
+
if (N(e) && s && (n = `${ke(l(e, "::before"))} ${n}`), (me(e) ? Pe(e) : x(e.childNodes).concat(F(e, "aria-owns"))).forEach(function(e) {
|
|
828
1048
|
var r = g(e, {
|
|
829
1049
|
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
830
1050
|
isReferenced: !1,
|
|
831
1051
|
recursion: !0
|
|
832
|
-
}), i = (
|
|
1052
|
+
}), i = (N(e) ? l(e).getPropertyValue("display") : "inline") === "inline" ? "" : " ";
|
|
833
1053
|
n += `${i}${r}${i}`;
|
|
834
|
-
}),
|
|
835
|
-
var r =
|
|
1054
|
+
}), N(e) && s) {
|
|
1055
|
+
var r = ke(l(e, "::after"));
|
|
836
1056
|
n = `${n} ${r}`;
|
|
837
1057
|
}
|
|
838
1058
|
return n.trim();
|
|
@@ -842,45 +1062,45 @@ function Fe(e) {
|
|
|
842
1062
|
return r !== null && !n.has(r) && r.value.trim() !== "" ? (n.add(r), r.value) : null;
|
|
843
1063
|
}
|
|
844
1064
|
function m(e) {
|
|
845
|
-
return
|
|
1065
|
+
return N(e) ? p(e, "title") : null;
|
|
846
1066
|
}
|
|
847
1067
|
function h(e) {
|
|
848
|
-
if (!
|
|
849
|
-
if (
|
|
1068
|
+
if (!N(e)) return null;
|
|
1069
|
+
if (fe(e)) {
|
|
850
1070
|
n.add(e);
|
|
851
1071
|
for (var t = x(e.childNodes), r = 0; r < t.length; r += 1) {
|
|
852
1072
|
var i = t[r];
|
|
853
|
-
if (
|
|
1073
|
+
if (pe(i)) return g(i, {
|
|
854
1074
|
isEmbeddedInLabel: !1,
|
|
855
1075
|
isReferenced: !1,
|
|
856
1076
|
recursion: !1
|
|
857
1077
|
});
|
|
858
1078
|
}
|
|
859
|
-
} else if (
|
|
1079
|
+
} else if (le(e)) {
|
|
860
1080
|
n.add(e);
|
|
861
1081
|
for (var a = x(e.childNodes), o = 0; o < a.length; o += 1) {
|
|
862
1082
|
var s = a[o];
|
|
863
|
-
if (
|
|
1083
|
+
if (oe(s)) return g(s, {
|
|
864
1084
|
isEmbeddedInLabel: !1,
|
|
865
1085
|
isReferenced: !1,
|
|
866
1086
|
recursion: !1
|
|
867
1087
|
});
|
|
868
1088
|
}
|
|
869
|
-
} else if (
|
|
1089
|
+
} else if (ge(e)) {
|
|
870
1090
|
n.add(e);
|
|
871
1091
|
for (var c = x(e.childNodes), l = 0; l < c.length; l += 1) {
|
|
872
1092
|
var u = c[l];
|
|
873
|
-
if (
|
|
1093
|
+
if (_e(u)) return u.textContent;
|
|
874
1094
|
}
|
|
875
1095
|
return null;
|
|
876
|
-
} else if (
|
|
1096
|
+
} else if (O(e) === "img" || O(e) === "area") {
|
|
877
1097
|
var d = p(e, "alt");
|
|
878
1098
|
if (d !== null) return d;
|
|
879
|
-
} else if (
|
|
1099
|
+
} else if (se(e)) {
|
|
880
1100
|
var m = p(e, "label");
|
|
881
1101
|
if (m !== null) return m;
|
|
882
1102
|
}
|
|
883
|
-
if (
|
|
1103
|
+
if (P(e) && (e.type === "button" || e.type === "submit" || e.type === "reset")) {
|
|
884
1104
|
var h = p(e, "value");
|
|
885
1105
|
if (h !== null) return h;
|
|
886
1106
|
if (e.type === "submit") return "Submit";
|
|
@@ -896,13 +1116,13 @@ function Fe(e) {
|
|
|
896
1116
|
}).filter(function(e) {
|
|
897
1117
|
return e.length > 0;
|
|
898
1118
|
}).join(" ");
|
|
899
|
-
if (
|
|
1119
|
+
if (P(e) && e.type === "image") {
|
|
900
1120
|
var v = p(e, "alt");
|
|
901
1121
|
if (v !== null) return v;
|
|
902
1122
|
var y = p(e, "title");
|
|
903
1123
|
return y === null ? "Submit Query" : y;
|
|
904
1124
|
}
|
|
905
|
-
if (
|
|
1125
|
+
if (I(e, ["button"])) {
|
|
906
1126
|
var b = f(e, {
|
|
907
1127
|
isEmbeddedInLabel: !1,
|
|
908
1128
|
isReferenced: !1
|
|
@@ -913,8 +1133,8 @@ function Fe(e) {
|
|
|
913
1133
|
}
|
|
914
1134
|
function g(e, t) {
|
|
915
1135
|
if (n.has(e)) return "";
|
|
916
|
-
if (!d &&
|
|
917
|
-
var r =
|
|
1136
|
+
if (!d && ye(e, l) && !t.isReferenced) return n.add(e), "";
|
|
1137
|
+
var r = N(e) ? e.getAttributeNode("aria-labelledby") : null, i = r !== null && !n.has(r) ? F(e, "aria-labelledby") : [];
|
|
918
1138
|
if (a === "name" && !t.isReferenced && i.length > 0) return n.add(r), i.map(function(e) {
|
|
919
1139
|
return g(e, {
|
|
920
1140
|
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
@@ -922,21 +1142,21 @@ function Fe(e) {
|
|
|
922
1142
|
recursion: !1
|
|
923
1143
|
});
|
|
924
1144
|
}).join(" ");
|
|
925
|
-
var o = t.recursion &&
|
|
1145
|
+
var o = t.recursion && be(e) && a === "name";
|
|
926
1146
|
if (!o) {
|
|
927
|
-
var s = (
|
|
1147
|
+
var s = (N(e) && e.getAttribute("aria-label") || "").trim();
|
|
928
1148
|
if (s !== "" && a === "name") return n.add(e), s;
|
|
929
|
-
if (!
|
|
1149
|
+
if (!we(e)) {
|
|
930
1150
|
var c = h(e);
|
|
931
1151
|
if (c !== null) return n.add(e), c;
|
|
932
1152
|
}
|
|
933
1153
|
}
|
|
934
|
-
if (
|
|
1154
|
+
if (I(e, ["menu"])) return n.add(e), "";
|
|
935
1155
|
if (o || t.isEmbeddedInLabel || t.isReferenced) {
|
|
936
|
-
if (
|
|
1156
|
+
if (I(e, ["combobox", "listbox"])) {
|
|
937
1157
|
n.add(e);
|
|
938
|
-
var u =
|
|
939
|
-
return u.length === 0 ?
|
|
1158
|
+
var u = Ce(e);
|
|
1159
|
+
return u.length === 0 ? P(e) ? e.value : "" : x(u).map(function(e) {
|
|
940
1160
|
return g(e, {
|
|
941
1161
|
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
942
1162
|
isReferenced: !1,
|
|
@@ -944,10 +1164,10 @@ function Fe(e) {
|
|
|
944
1164
|
});
|
|
945
1165
|
}).join(" ");
|
|
946
1166
|
}
|
|
947
|
-
if (
|
|
948
|
-
if (
|
|
1167
|
+
if (xe(e, "range")) return n.add(e), e.hasAttribute("aria-valuetext") ? e.getAttribute("aria-valuetext") : e.hasAttribute("aria-valuenow") ? e.getAttribute("aria-valuenow") : e.getAttribute("value") || "";
|
|
1168
|
+
if (I(e, ["textbox"])) return n.add(e), Oe(e);
|
|
949
1169
|
}
|
|
950
|
-
if (
|
|
1170
|
+
if (Ee(e) || N(e) && t.isReferenced || Te(e) || De(e)) {
|
|
951
1171
|
var p = f(e, {
|
|
952
1172
|
isEmbeddedInLabel: t.isEmbeddedInLabel,
|
|
953
1173
|
isReferenced: !1
|
|
@@ -962,7 +1182,7 @@ function Fe(e) {
|
|
|
962
1182
|
var _ = m(e);
|
|
963
1183
|
return _ === null ? (n.add(e), "") : (n.add(e), _);
|
|
964
1184
|
}
|
|
965
|
-
return
|
|
1185
|
+
return ve(g(e, {
|
|
966
1186
|
isEmbeddedInLabel: !1,
|
|
967
1187
|
isReferenced: a === "description",
|
|
968
1188
|
recursion: !1
|
|
@@ -1022,7 +1242,7 @@ function Be(e, t) {
|
|
|
1022
1242
|
return (t === "string" ? String : Number)(e);
|
|
1023
1243
|
}
|
|
1024
1244
|
function Ve(e) {
|
|
1025
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n =
|
|
1245
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = F(e, "aria-describedby").map(function(e) {
|
|
1026
1246
|
return Fe(e, Le(Le({}, t), {}, { compute: "description" }));
|
|
1027
1247
|
}).join(" ");
|
|
1028
1248
|
if (n === "") {
|
|
@@ -1038,7 +1258,7 @@ function Ve(e) {
|
|
|
1038
1258
|
//#endregion
|
|
1039
1259
|
//#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name.mjs
|
|
1040
1260
|
function He(e) {
|
|
1041
|
-
return
|
|
1261
|
+
return I(e, [
|
|
1042
1262
|
"caption",
|
|
1043
1263
|
"code",
|
|
1044
1264
|
"deletion",
|
|
@@ -2002,4 +2222,4 @@ var Rn = /*#__PURE__*/ Object.freeze({
|
|
|
2002
2222
|
expect.extend(Rn);
|
|
2003
2223
|
//#endregion
|
|
2004
2224
|
|
|
2005
|
-
//# sourceMappingURL=dist-
|
|
2225
|
+
//# sourceMappingURL=dist-Dlg0QxSO.js.map
|