@visma-swno/vsn-navigation 1.2.0 → 1.3.0-beta.1
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/assets/vsn-navigation.js +222 -248
- package/package.json +1 -1
|
@@ -272,43 +272,43 @@ function Oe(e) {
|
|
|
272
272
|
}
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region node_modules/@lit/localize/init/runtime.js
|
|
275
|
-
function
|
|
275
|
+
function w(e) {
|
|
276
276
|
window.dispatchEvent(new CustomEvent(y, { detail: e }));
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
|
|
280
|
-
var
|
|
281
|
-
getLocale:
|
|
282
|
-
setLocale:
|
|
283
|
-
}),
|
|
284
|
-
if (e === (
|
|
285
|
-
if (!
|
|
286
|
-
if (!
|
|
287
|
-
|
|
288
|
-
let t =
|
|
289
|
-
return
|
|
278
|
+
var T = "", E, ke, D, Ae, je, O = new be();
|
|
279
|
+
O.resolve();
|
|
280
|
+
var k = 0, Me = (e) => (_e(((e, t) => De(je, e, t))), T = ke = e.sourceLocale, D = new Set(e.targetLocales), D.add(e.sourceLocale), Ae = e.loadLocale, {
|
|
281
|
+
getLocale: Ne,
|
|
282
|
+
setLocale: Pe
|
|
283
|
+
}), Ne = () => T, Pe = (e) => {
|
|
284
|
+
if (e === (E ?? T)) return O.promise;
|
|
285
|
+
if (!D || !Ae) throw Error("Internal error");
|
|
286
|
+
if (!D.has(e)) throw Error("Invalid locale code");
|
|
287
|
+
k++;
|
|
288
|
+
let t = k;
|
|
289
|
+
return E = e, O.settled && (O = new be()), w({
|
|
290
290
|
status: "loading",
|
|
291
291
|
loadingLocale: e
|
|
292
|
-
}), (e ===
|
|
293
|
-
|
|
292
|
+
}), (e === ke ? Promise.resolve({ templates: void 0 }) : Ae(e)).then((n) => {
|
|
293
|
+
k === t && (T = e, E = void 0, je = n.templates, w({
|
|
294
294
|
status: "ready",
|
|
295
295
|
readyLocale: e
|
|
296
|
-
}),
|
|
296
|
+
}), O.resolve());
|
|
297
297
|
}, (n) => {
|
|
298
|
-
|
|
298
|
+
k === t && (w({
|
|
299
299
|
status: "error",
|
|
300
300
|
errorLocale: e,
|
|
301
301
|
errorMessage: n.toString()
|
|
302
|
-
}),
|
|
303
|
-
}),
|
|
304
|
-
},
|
|
302
|
+
}), O.reject(n));
|
|
303
|
+
}), O.promise;
|
|
304
|
+
}, Fe = () => {
|
|
305
305
|
if (typeof navigator > "u") return !1;
|
|
306
306
|
let e = navigator.userAgentData?.platform ?? navigator.platform ?? "";
|
|
307
307
|
return /mac/i.test(e);
|
|
308
|
-
},
|
|
308
|
+
}, Ie = (e) => !e.shiftKey && !e.altKey && (Fe() ? e.metaKey && !e.ctrlKey : e.ctrlKey && !e.metaKey), A = (e) => e.shiftKey || e.altKey || e.ctrlKey || e.metaKey, j = (e) => !A(e), Le = () => x("Choose a service"), Re = () => x("Search"), ze = () => Fe() ? "Cmd+K" : "CTRL+K", Be = (e) => x(b`Type at least ${e} characters to search`), Ve = () => x("Menu items"), He = () => x("Load more"), Ue = () => x("VSN"), We = "survicate-sdk", Ge = "ui-components-feedback", Ke = (e) => `https://survey.survicate.com/workspaces/${e}/web_surveys.js`;
|
|
309
309
|
//#endregion
|
|
310
310
|
//#region src/shared/icons.ts
|
|
311
|
-
function
|
|
311
|
+
function M(e, t = 24, r) {
|
|
312
312
|
return n`<svg
|
|
313
313
|
xmlns="http://www.w3.org/2000/svg"
|
|
314
314
|
width="${t}"
|
|
@@ -323,23 +323,23 @@ function A(e, t = 24, r) {
|
|
|
323
323
|
class=${r ?? ""}
|
|
324
324
|
>${e}</svg>`;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
326
|
+
var qe = i``, Je = i`
|
|
327
327
|
<path d="M4 5h16"/>
|
|
328
328
|
<path d="M4 12h16"/>
|
|
329
329
|
<path d="M4 19h16"/>
|
|
330
|
-
`,
|
|
330
|
+
`, Ye = i`
|
|
331
331
|
<path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"/>
|
|
332
332
|
<path d="M20 2v4"/>
|
|
333
333
|
<path d="M22 4h-4"/>
|
|
334
334
|
<circle cx="4" cy="20" r="2"/>
|
|
335
|
-
`,
|
|
335
|
+
`, Xe = i`
|
|
336
336
|
<path d="M10.268 21a2 2 0 0 0 3.464 0"/>
|
|
337
337
|
<path d="M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"/>
|
|
338
|
-
`,
|
|
338
|
+
`, Ze = i`
|
|
339
339
|
<path d="M10.268 21a2 2 0 0 0 3.464 0"/>
|
|
340
340
|
<path d="M11.68 2.009A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673c-.824-.85-1.678-1.731-2.21-3.348"/>
|
|
341
341
|
<circle cx="18" cy="5" r="3"/>
|
|
342
|
-
`,
|
|
342
|
+
`, Qe = i`
|
|
343
343
|
<path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"/>
|
|
344
344
|
<path d="M7 10v12"/>
|
|
345
345
|
`;
|
|
@@ -350,14 +350,14 @@ i`
|
|
|
350
350
|
<path d="M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2"/>
|
|
351
351
|
<path d="M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16"/>
|
|
352
352
|
`;
|
|
353
|
-
var
|
|
353
|
+
var $e = i`
|
|
354
354
|
<path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/>
|
|
355
355
|
<path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
|
|
356
|
-
`,
|
|
356
|
+
`, et = i`
|
|
357
357
|
<circle cx="12" cy="12" r="10"/>
|
|
358
358
|
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>
|
|
359
359
|
<path d="M12 17h.01"/>
|
|
360
|
-
`,
|
|
360
|
+
`, tt = i`
|
|
361
361
|
<circle cx="12" cy="8" r="5"/>
|
|
362
362
|
<path d="M20 21a8 8 0 0 0-16 0"/>
|
|
363
363
|
`;
|
|
@@ -368,11 +368,11 @@ i`
|
|
|
368
368
|
<path d="M12 17v5"/>
|
|
369
369
|
<path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/>
|
|
370
370
|
`;
|
|
371
|
-
var
|
|
371
|
+
var nt = i`
|
|
372
372
|
<path d="m16 17 5-5-5-5"/>
|
|
373
373
|
<path d="M21 12H9"/>
|
|
374
374
|
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/>
|
|
375
|
-
`,
|
|
375
|
+
`, rt = i`
|
|
376
376
|
<path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/>
|
|
377
377
|
<path d="m21 3-9 9"/>
|
|
378
378
|
<path d="M15 3h6v6"/>
|
|
@@ -381,17 +381,17 @@ i`
|
|
|
381
381
|
<circle cx="12" cy="12" r="10"/>
|
|
382
382
|
<circle cx="12" cy="12" r="1"/>
|
|
383
383
|
`;
|
|
384
|
-
var
|
|
384
|
+
var it = i`
|
|
385
385
|
<path d="m7 15 5 5 5-5"/>
|
|
386
386
|
<path d="m7 9 5-5 5 5"/>
|
|
387
|
-
`,
|
|
387
|
+
`, at = i`
|
|
388
388
|
<path d="m18 15-6-6-6 6"/>
|
|
389
|
-
`,
|
|
389
|
+
`, N = i`
|
|
390
390
|
<path d="m6 9 6 6 6-6"/>
|
|
391
|
-
`,
|
|
391
|
+
`, ot = i`
|
|
392
392
|
<circle cx="11" cy="11" r="8"/>
|
|
393
393
|
<path d="m21 21-4.3-4.3"/>
|
|
394
|
-
`,
|
|
394
|
+
`, st = i`
|
|
395
395
|
<circle cx="12" cy="12" r="10"/>
|
|
396
396
|
<path d="m15 9-6 6"/>
|
|
397
397
|
<path d="m9 9 6 6"/>
|
|
@@ -401,7 +401,7 @@ i`
|
|
|
401
401
|
<line x1="12" x2="12" y1="8" y2="12"/>
|
|
402
402
|
<line x1="12" x2="12.01" y1="16" y2="16"/>
|
|
403
403
|
`;
|
|
404
|
-
var
|
|
404
|
+
var ct = i`
|
|
405
405
|
<path d="M12 16h.01"/>
|
|
406
406
|
<path d="M12 8v4"/>
|
|
407
407
|
<path d="M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z"/>
|
|
@@ -412,12 +412,12 @@ i`
|
|
|
412
412
|
`, i`
|
|
413
413
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.60982 1.03843C2.99778 0.96126 3.39992 1.00087 3.76537 1.15224C4.13082 1.30362 4.44318 1.55996 4.66294 1.88886C4.8827 2.21776 5 2.60444 5 3V4H7V3C7 2.60444 7.1173 2.21776 7.33706 1.88886C7.55682 1.55996 7.86918 1.30362 8.23463 1.15224C8.60009 1.00087 9.00222 0.96126 9.39018 1.03843C9.77814 1.1156 10.1345 1.30608 10.4142 1.58579C10.6939 1.86549 10.8844 2.22186 10.9616 2.60982C11.0387 2.99778 10.9991 3.39992 10.8478 3.76537C10.6964 4.13082 10.44 4.44318 10.1111 4.66294C9.78224 4.8827 9.39556 5 9 5H8V7H9C9.39556 7 9.78224 7.1173 10.1111 7.33706C10.44 7.55682 10.6964 7.86918 10.8478 8.23463C10.9991 8.60009 11.0387 9.00222 10.9616 9.39018C10.8844 9.77814 10.6939 10.1345 10.4142 10.4142C10.1345 10.6939 9.77814 10.8844 9.39018 10.9616C9.00222 11.0387 8.60009 10.9991 8.23463 10.8478C7.86918 10.6964 7.55682 10.44 7.33706 10.1111C7.1173 9.78224 7 9.39556 7 9V8H5V9C5 9.39556 4.8827 9.78224 4.66294 10.1111C4.44318 10.44 4.13082 10.6964 3.76537 10.8478C3.39992 10.9991 2.99778 11.0387 2.60982 10.9616C2.22186 10.8844 1.86549 10.6939 1.58579 10.4142C1.30608 10.1345 1.1156 9.77814 1.03843 9.39018C0.96126 9.00222 1.00087 8.60009 1.15224 8.23463C1.30362 7.86918 1.55996 7.55682 1.88886 7.33706C2.21776 7.1173 2.60444 7 3 7H4V5H3C2.60444 5 2.21776 4.8827 1.88886 4.66294C1.55996 4.44318 1.30362 4.13082 1.15224 3.76537C1.00087 3.39992 0.96126 2.99778 1.03843 2.60982C1.1156 2.22186 1.30608 1.86549 1.58579 1.58579C1.86549 1.30608 2.22186 1.1156 2.60982 1.03843ZM4 4V3C4 2.80222 3.94135 2.60888 3.83147 2.44443C3.72159 2.27998 3.56541 2.15181 3.38268 2.07612C3.19996 2.00043 2.99889 1.98063 2.80491 2.01922C2.61093 2.0578 2.43275 2.15304 2.29289 2.29289C2.15304 2.43275 2.0578 2.61093 2.01922 2.80491C1.98063 2.99889 2.00043 3.19996 2.07612 3.38268C2.15181 3.56541 2.27998 3.72159 2.44443 3.83147C2.60888 3.94135 2.80222 4 3 4H4ZM5 5V7H7V5H5ZM4 8H3C2.80222 8 2.60888 8.05865 2.44443 8.16853C2.27998 8.27841 2.15181 8.43459 2.07612 8.61732C2.00043 8.80004 1.98063 9.00111 2.01922 9.19509C2.0578 9.38907 2.15304 9.56726 2.29289 9.70711C2.43275 9.84696 2.61093 9.9422 2.80491 9.98079C2.99889 10.0194 3.19996 9.99957 3.38268 9.92388C3.56541 9.84819 3.72159 9.72002 3.83147 9.55557C3.94135 9.39112 4 9.19778 4 9V8ZM8 8V9C8 9.19778 8.05865 9.39112 8.16853 9.55557C8.27841 9.72002 8.43459 9.84819 8.61732 9.92388C8.80004 9.99957 9.00111 10.0194 9.19509 9.98079C9.38907 9.9422 9.56726 9.84696 9.70711 9.70711C9.84696 9.56726 9.9422 9.38907 9.98079 9.19509C10.0194 9.00111 9.99957 8.80004 9.92388 8.61732C9.84819 8.43459 9.72002 8.27841 9.55557 8.16853C9.39112 8.05865 9.19778 8 9 8H8ZM8 4H9C9.19778 4 9.39112 3.94135 9.55557 3.83147C9.72002 3.72159 9.84819 3.56541 9.92388 3.38268C9.99957 3.19996 10.0194 2.99889 9.98079 2.80491C9.9422 2.61093 9.84696 2.43275 9.70711 2.29289C9.56726 2.15304 9.38907 2.0578 9.19509 2.01922C9.00111 1.98063 8.80004 2.00043 8.61732 2.07612C8.43459 2.15181 8.27841 2.27998 8.16853 2.44443C8.05865 2.60888 8 2.80222 8 3V4Z"/>
|
|
414
414
|
`;
|
|
415
|
-
var
|
|
415
|
+
var lt = i`
|
|
416
416
|
<path d="m9 18 6-6-6-6"/>
|
|
417
417
|
`;
|
|
418
418
|
//#endregion
|
|
419
419
|
//#region \0@oxc-project+runtime@0.127.0/helpers/decorate.js
|
|
420
|
-
function
|
|
420
|
+
function P(e, t, n, r) {
|
|
421
421
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
422
422
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
423
423
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
@@ -425,9 +425,9 @@ function M(e, t, n, r) {
|
|
|
425
425
|
}
|
|
426
426
|
//#endregion
|
|
427
427
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu-item.ts
|
|
428
|
-
var
|
|
428
|
+
var F, I = class extends e {
|
|
429
429
|
static {
|
|
430
|
-
|
|
430
|
+
F = this;
|
|
431
431
|
}
|
|
432
432
|
static {
|
|
433
433
|
this._idCounter = 0;
|
|
@@ -461,8 +461,8 @@ var N, P = class extends e {
|
|
|
461
461
|
this._showTooltip = !1;
|
|
462
462
|
}, this._onKeyDown = (e) => {
|
|
463
463
|
let t = this.tree;
|
|
464
|
-
if (t !== void 0 && !(e.defaultPrevented ||
|
|
465
|
-
if (
|
|
464
|
+
if (t !== void 0 && !(e.defaultPrevented || A(e))) {
|
|
465
|
+
if (F.menuShortcuts.includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "ArrowUp") {
|
|
466
466
|
this._focusManager?.focusPrev(this);
|
|
467
467
|
return;
|
|
468
468
|
}
|
|
@@ -472,7 +472,7 @@ var N, P = class extends e {
|
|
|
472
472
|
}
|
|
473
473
|
_(t) ? this.handleKeyForParent(e.key) : this.handleKeyForLeaf(e.key);
|
|
474
474
|
}
|
|
475
|
-
}, this._tooltipId = `vsn-side-menu-item-tooltip-${
|
|
475
|
+
}, this._tooltipId = `vsn-side-menu-item-tooltip-${F._idCounter++}`;
|
|
476
476
|
}
|
|
477
477
|
focusSelf() {
|
|
478
478
|
this.querySelector("a.ga-side-navigation__item, div.ga-side-navigation__item[tabindex=\"0\"]")?.focus();
|
|
@@ -500,7 +500,7 @@ var N, P = class extends e {
|
|
|
500
500
|
<div class="ga-tooltip ga-tooltip--right-center w-34 max-w-135">${this.tree?.label}</div>
|
|
501
501
|
</div>
|
|
502
502
|
<span class="ga-side-navigation__item-icon">
|
|
503
|
-
${e ? this._isExpanded ?
|
|
503
|
+
${e ? this._isExpanded ? M(N, 16) : M(lt, 16) : ""}
|
|
504
504
|
</span>
|
|
505
505
|
<div class="ga-side-navigation__item-content">
|
|
506
506
|
<div class="ga-side-navigation__item-label">${this.tree?.label}</div>
|
|
@@ -560,7 +560,7 @@ var N, P = class extends e {
|
|
|
560
560
|
this._isExpanded = !this._isExpanded, e.preventDefault(), e.stopPropagation();
|
|
561
561
|
return;
|
|
562
562
|
}
|
|
563
|
-
e.button !== 0 ||
|
|
563
|
+
e.button !== 0 || A(e) || (e.preventDefault(), e.stopPropagation(), (!this._isActive || this.hasPageTitle) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
|
|
564
564
|
bubbles: !0,
|
|
565
565
|
composed: !0,
|
|
566
566
|
detail: t
|
|
@@ -568,13 +568,13 @@ var N, P = class extends e {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
|
-
|
|
571
|
+
P([s({ attribute: !1 })], I.prototype, "tree", void 0), P([s({ type: Number })], I.prototype, "level", void 0), P([ue({
|
|
572
572
|
context: de,
|
|
573
573
|
subscribe: !0
|
|
574
|
-
}), l()],
|
|
574
|
+
}), l()], I.prototype, "_currentActiveId", void 0), P([l()], I.prototype, "_isActive", void 0), P([l()], I.prototype, "_isExpanded", void 0), P([l()], I.prototype, "_showTooltip", void 0), P([l()], I.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__item-label")], I.prototype, "_labelEl", void 0), P([ue({ context: fe })], I.prototype, "_focusManager", void 0), P([s({ type: Boolean })], I.prototype, "hasPageTitle", void 0), I = F = P([o("vsn-menu-item")], I);
|
|
575
575
|
//#endregion
|
|
576
576
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu.ts
|
|
577
|
-
var
|
|
577
|
+
var L = class extends e {
|
|
578
578
|
constructor(...e) {
|
|
579
579
|
super(...e), this.items = [], this._currentActiveId = "", this.currentItem = "", this.hasPageTitle = !1, this._focusManager = {
|
|
580
580
|
focusPrev: (e) => {
|
|
@@ -610,15 +610,15 @@ var F = class extends e {
|
|
|
610
610
|
<vsn-menu-item .tree=${e} .hasPageTitle=${this.hasPageTitle}></vsn-menu-item>`;
|
|
611
611
|
}
|
|
612
612
|
};
|
|
613
|
-
|
|
613
|
+
P([s({ attribute: !1 })], L.prototype, "items", void 0), P([le({ context: de }), l()], L.prototype, "_currentActiveId", void 0), P([s()], L.prototype, "currentItem", void 0), P([s({ type: Boolean })], L.prototype, "hasPageTitle", void 0), P([le({ context: fe })], L.prototype, "_focusManager", void 0), L = P([o("vsn-menu")], L);
|
|
614
614
|
//#endregion
|
|
615
615
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu-button.ts
|
|
616
|
-
var
|
|
616
|
+
var R = class extends e {
|
|
617
617
|
constructor(...e) {
|
|
618
618
|
super(...e), this.label = "", this.closeOnClick = !1, this._onKeydown = (e) => {
|
|
619
|
-
e.defaultPrevented ||
|
|
619
|
+
e.defaultPrevented || j(e) && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), this.click());
|
|
620
620
|
}, this._onClick = (e) => {
|
|
621
|
-
e.defaultPrevented || e.button !== 0 ||
|
|
621
|
+
e.defaultPrevented || e.button !== 0 || A(e) || this.closeOnClick && this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
|
|
622
622
|
bubbles: !0,
|
|
623
623
|
composed: !0
|
|
624
624
|
}));
|
|
@@ -726,13 +726,13 @@ var I = class extends e {
|
|
|
726
726
|
`;
|
|
727
727
|
}
|
|
728
728
|
};
|
|
729
|
-
|
|
729
|
+
P([s()], R.prototype, "label", void 0), P([s({
|
|
730
730
|
type: Boolean,
|
|
731
731
|
attribute: "close-on-click"
|
|
732
|
-
})],
|
|
732
|
+
})], R.prototype, "closeOnClick", void 0), R = P([o("vsn-menu-button")], R);
|
|
733
733
|
//#endregion
|
|
734
734
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu-separator.ts
|
|
735
|
-
var
|
|
735
|
+
var ut = class extends e {
|
|
736
736
|
static {
|
|
737
737
|
this.styles = [t`
|
|
738
738
|
/* flow-root establishes a BFC so the .line's margins stay contained.
|
|
@@ -756,15 +756,15 @@ var ft = class extends e {
|
|
|
756
756
|
return n`<div class="line"></div>`;
|
|
757
757
|
}
|
|
758
758
|
};
|
|
759
|
-
|
|
759
|
+
ut = P([o("vsn-menu-separator")], ut);
|
|
760
760
|
//#endregion
|
|
761
761
|
//#region src/components/vsn-side-bar/vsn-footer/vsn-footer.keyboard.ts
|
|
762
|
-
var
|
|
762
|
+
var dt = class {
|
|
763
763
|
constructor(e) {
|
|
764
764
|
this._prevExpanded = !1, this.onUserKeydown = (e) => {
|
|
765
|
-
e.defaultPrevented ||
|
|
765
|
+
e.defaultPrevented || A(e) || (e.key === "Enter" || e.key === " " || e.key === "Escape" && this.host.expanded) && (e.preventDefault(), this.host.expanded = !this.host.expanded);
|
|
766
766
|
}, this.onDropdownKeydown = (e) => {
|
|
767
|
-
if (e.defaultPrevented ||
|
|
767
|
+
if (e.defaultPrevented || A(e)) return;
|
|
768
768
|
if (e.key === "Enter" || e.key === " ") {
|
|
769
769
|
let t = e.target;
|
|
770
770
|
t instanceof HTMLElement && t.classList.contains("ga-side-navigation__footer-dropdown-item") && (e.preventDefault(), t.click());
|
|
@@ -789,7 +789,7 @@ var pt = class {
|
|
|
789
789
|
} else !this.host.expanded && this._prevExpanded && this.host.querySelector(".ga-side-navigation__user")?.focus();
|
|
790
790
|
this._prevExpanded = this.host.expanded;
|
|
791
791
|
}
|
|
792
|
-
},
|
|
792
|
+
}, ft = class {
|
|
793
793
|
constructor(e, t, n) {
|
|
794
794
|
this._onPointerDown = (e) => {
|
|
795
795
|
let t = e.composedPath();
|
|
@@ -806,18 +806,18 @@ var pt = class {
|
|
|
806
806
|
hostDisconnected() {
|
|
807
807
|
document.removeEventListener("pointerdown", this._onPointerDown, !0);
|
|
808
808
|
}
|
|
809
|
-
},
|
|
810
|
-
function
|
|
809
|
+
}, pt = "initials";
|
|
810
|
+
function mt(e, t, n, r) {
|
|
811
811
|
if (!t) return;
|
|
812
812
|
let i = new URLSearchParams({
|
|
813
|
-
type:
|
|
813
|
+
type: pt,
|
|
814
814
|
size: r
|
|
815
815
|
});
|
|
816
816
|
return n && i.set("client_id", n), `${e}${t}?${i}`;
|
|
817
817
|
}
|
|
818
818
|
//#endregion
|
|
819
819
|
//#region src/components/controllers/focus-trapping-controller.ts
|
|
820
|
-
var
|
|
820
|
+
var z = class {
|
|
821
821
|
constructor(e, t, n = void 0) {
|
|
822
822
|
this._rootElement = null, this._onKeyDown = (e) => {
|
|
823
823
|
if (e.defaultPrevented || e.key !== "Tab" || e.ctrlKey || e.altKey || e.metaKey || !this._appliesCallback() || this._rootElement == null) return;
|
|
@@ -836,31 +836,31 @@ var L = class {
|
|
|
836
836
|
hostUpdated() {
|
|
837
837
|
this._rootElement == null && this._rootSelector && (this._rootElement = this._host.renderRoot.querySelector(this._rootSelector), this._rootElement != null && this._rootElement.addEventListener("keydown", this._onKeyDown));
|
|
838
838
|
}
|
|
839
|
-
},
|
|
840
|
-
profile:
|
|
841
|
-
logout:
|
|
842
|
-
},
|
|
839
|
+
}, ht = {
|
|
840
|
+
profile: tt,
|
|
841
|
+
logout: nt
|
|
842
|
+
}, gt = () => ({
|
|
843
843
|
profile: x("My profile"),
|
|
844
844
|
logout: x("Log out")
|
|
845
|
-
}),
|
|
845
|
+
}), B = class extends e {
|
|
846
846
|
createRenderRoot() {
|
|
847
847
|
return this;
|
|
848
848
|
}
|
|
849
849
|
get _items() {
|
|
850
850
|
return [{
|
|
851
851
|
id: "profile",
|
|
852
|
-
label:
|
|
852
|
+
label: gt().profile,
|
|
853
853
|
url: this.myProfileUrl
|
|
854
854
|
}, {
|
|
855
855
|
id: "logout",
|
|
856
|
-
label:
|
|
856
|
+
label: gt().logout,
|
|
857
857
|
url: "/logout"
|
|
858
858
|
}];
|
|
859
859
|
}
|
|
860
860
|
constructor() {
|
|
861
|
-
super(), this.expanded = !1, this._avatarFailed = !1, this._keyboard = new
|
|
861
|
+
super(), this.expanded = !1, this._avatarFailed = !1, this._keyboard = new dt(this), new ft(this, [".ga-side-navigation__footer-dropdown", ".ga-side-navigation__user"], () => {
|
|
862
862
|
this.expanded = !1;
|
|
863
|
-
}), new
|
|
863
|
+
}), new z(this, () => this.expanded);
|
|
864
864
|
}
|
|
865
865
|
willUpdate(e) {
|
|
866
866
|
(e.has("user") || e.has("profilePictureBaseUrl")) && (this._avatarFailed = !1);
|
|
@@ -895,7 +895,7 @@ var L = class {
|
|
|
895
895
|
</div>
|
|
896
896
|
|
|
897
897
|
<span class="ga-side-navigation__user-action">
|
|
898
|
-
${this.expanded ?
|
|
898
|
+
${this.expanded ? M(at, 16) : M(it, 16)}
|
|
899
899
|
</span>
|
|
900
900
|
|
|
901
901
|
</div>
|
|
@@ -909,14 +909,14 @@ var L = class {
|
|
|
909
909
|
${this._items.map((e) => {
|
|
910
910
|
let t = n`
|
|
911
911
|
<span class="ga-side-navigation__footer-dropdown-icon">
|
|
912
|
-
${
|
|
912
|
+
${M(ht[e.id], 16)}
|
|
913
913
|
</span>
|
|
914
914
|
<span class="ga-side-navigation__footer-dropdown-title">
|
|
915
915
|
${e.label}
|
|
916
916
|
</span>
|
|
917
917
|
${e.external ? n`
|
|
918
918
|
<span class="ga-side-navigation__footer-dropdown-trail">
|
|
919
|
-
${
|
|
919
|
+
${M(rt, 16)}
|
|
920
920
|
</span>
|
|
921
921
|
` : r}
|
|
922
922
|
`;
|
|
@@ -957,7 +957,7 @@ var L = class {
|
|
|
957
957
|
}));
|
|
958
958
|
}
|
|
959
959
|
renderAvatar() {
|
|
960
|
-
let e =
|
|
960
|
+
let e = mt(this.profilePictureBaseUrl, this.user.userId, this.user.clientId, "small");
|
|
961
961
|
return e && !this._avatarFailed ? n`<img
|
|
962
962
|
class="ga-side-navigation__user-avatar"
|
|
963
963
|
src=${e}
|
|
@@ -965,33 +965,33 @@ var L = class {
|
|
|
965
965
|
@error=${() => {
|
|
966
966
|
this._avatarFailed = !0;
|
|
967
967
|
}}/>` : n`<span class="ga-side-navigation__user-avatar vsn-side-navigation__user-avatar--icon">
|
|
968
|
-
${
|
|
968
|
+
${M(tt, 24)}
|
|
969
969
|
</span>`;
|
|
970
970
|
}
|
|
971
971
|
};
|
|
972
|
-
|
|
972
|
+
P([s({ attribute: !1 })], B.prototype, "user", void 0), P([s()], B.prototype, "profilePictureBaseUrl", void 0), P([s()], B.prototype, "myProfileUrl", void 0), P([s({
|
|
973
973
|
type: Boolean,
|
|
974
974
|
reflect: !0
|
|
975
|
-
})],
|
|
975
|
+
})], B.prototype, "expanded", void 0), P([l()], B.prototype, "_avatarFailed", void 0), B = P([S(), o("vsn-footer")], B);
|
|
976
976
|
//#endregion
|
|
977
977
|
//#region src/components/vsn-side-bar/vsn-header/vsn-header.keyboard.ts
|
|
978
|
-
var
|
|
978
|
+
var _t = class {
|
|
979
979
|
constructor(e) {
|
|
980
980
|
this.onSwitcherKeydown = (e) => {
|
|
981
|
-
e.defaultPrevented ||
|
|
981
|
+
e.defaultPrevented || A(e) || (this.host.expanded && (e.key === "Enter" || e.key === " " || e.key === "Escape") ? this.host.requestClose() && e.preventDefault() : !this.host.expanded && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), (this.host.hasAvailableItems || this.host.modulesLoading) && (this.host.expanded = !this.host.expanded)));
|
|
982
982
|
}, this.host = e, e.addController(this);
|
|
983
983
|
}
|
|
984
984
|
hostConnected() {}
|
|
985
|
-
},
|
|
985
|
+
}, V = class extends e {
|
|
986
986
|
constructor(...e) {
|
|
987
987
|
super(...e), this.items = [], this.loading = !1, this.maxHeight = 0, this._handleKeydown = (e) => {
|
|
988
988
|
if (e.defaultPrevented) return;
|
|
989
|
-
if (
|
|
989
|
+
if (j(e) && (e.key === "Enter" || e.key === " ")) {
|
|
990
990
|
let t = e.target;
|
|
991
991
|
t instanceof HTMLElement && t.classList.contains("ga-side-navigation__switcher-dropdown-item") && (e.preventDefault(), t.click());
|
|
992
992
|
return;
|
|
993
993
|
}
|
|
994
|
-
if (
|
|
994
|
+
if (A(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
995
995
|
e.preventDefault();
|
|
996
996
|
let t = Array.from(this.querySelectorAll(".ga-side-navigation__switcher-dropdown-item"));
|
|
997
997
|
if (t.length === 0) return;
|
|
@@ -1006,7 +1006,7 @@ var yt = class {
|
|
|
1006
1006
|
this.loading || this.querySelector(".ga-side-navigation__switcher-dropdown-item")?.focus();
|
|
1007
1007
|
}
|
|
1008
1008
|
_handleItemClick(e, t) {
|
|
1009
|
-
|
|
1009
|
+
A(e) || (e.preventDefault(), this.dispatchEvent(new CustomEvent("item-select", {
|
|
1010
1010
|
detail: { id: t },
|
|
1011
1011
|
bubbles: !0,
|
|
1012
1012
|
composed: !0
|
|
@@ -1024,9 +1024,9 @@ var yt = class {
|
|
|
1024
1024
|
<div class="ga-side-navigation__switcher-dropdown ga-scroll"
|
|
1025
1025
|
role="menu"
|
|
1026
1026
|
style=${`max-height: ${Math.max(0, this.maxHeight)}px`}
|
|
1027
|
-
aria-label=${
|
|
1027
|
+
aria-label=${Le()}
|
|
1028
1028
|
@keydown=${this._handleKeydown}>
|
|
1029
|
-
<span class="ga-side-navigation__switcher-dropdown-header">${
|
|
1029
|
+
<span class="ga-side-navigation__switcher-dropdown-header">${Le()}</span>
|
|
1030
1030
|
${this.items.map((e) => n`
|
|
1031
1031
|
<a class="ga-side-navigation__switcher-dropdown-item"
|
|
1032
1032
|
href=${e.url ?? ""}
|
|
@@ -1039,10 +1039,10 @@ var yt = class {
|
|
|
1039
1039
|
`;
|
|
1040
1040
|
}
|
|
1041
1041
|
};
|
|
1042
|
-
|
|
1042
|
+
P([s({ attribute: !1 })], V.prototype, "items", void 0), P([s({ type: Boolean })], V.prototype, "loading", void 0), P([s({ attribute: !1 })], V.prototype, "maxHeight", void 0), V = P([S(), o("vsn-switcher-menu")], V);
|
|
1043
1043
|
//#endregion
|
|
1044
1044
|
//#region src/components/vsn-side-bar/vsn-search/vsn-search.ts
|
|
1045
|
-
var
|
|
1045
|
+
var H = class extends e {
|
|
1046
1046
|
constructor(...e) {
|
|
1047
1047
|
super(...e), this.shortcut = "", this.value = "", this.loading = !1, this._scheduleAutoSearch = () => {
|
|
1048
1048
|
this._cancelDebounce(), this._debounceTimer = window.setTimeout(this._emitSearch, 200);
|
|
@@ -1060,7 +1060,7 @@ var B = class extends e {
|
|
|
1060
1060
|
composed: !0
|
|
1061
1061
|
}));
|
|
1062
1062
|
}, this._handleEscape = (e) => {
|
|
1063
|
-
e.defaultPrevented ||
|
|
1063
|
+
e.defaultPrevented || j(e) && e.key === "Escape" && this.value.length > 0 && (e.preventDefault(), this._emitSearchCleared());
|
|
1064
1064
|
};
|
|
1065
1065
|
}
|
|
1066
1066
|
createRenderRoot() {
|
|
@@ -1085,7 +1085,7 @@ var B = class extends e {
|
|
|
1085
1085
|
this._cancelDebounce(), super.disconnectedCallback();
|
|
1086
1086
|
}
|
|
1087
1087
|
_handleEnter(e) {
|
|
1088
|
-
e.defaultPrevented ||
|
|
1088
|
+
e.defaultPrevented || j(e) && e.key === "Enter" && this._emitSearch();
|
|
1089
1089
|
}
|
|
1090
1090
|
render() {
|
|
1091
1091
|
let e = this.value.length > 0 && this.value.length < 3;
|
|
@@ -1097,17 +1097,17 @@ var B = class extends e {
|
|
|
1097
1097
|
aria-label=${x("Search")}
|
|
1098
1098
|
?disabled=${!this._canSearch}
|
|
1099
1099
|
@click=${this._emitSearch}>
|
|
1100
|
-
${
|
|
1100
|
+
${M(ot, 24)}
|
|
1101
1101
|
</button>
|
|
1102
1102
|
<input type="search"
|
|
1103
|
-
.placeholder=${
|
|
1103
|
+
.placeholder=${Re()}
|
|
1104
1104
|
.value=${this.value}
|
|
1105
1105
|
@input=${this._handleInput}
|
|
1106
1106
|
@keydown=${this._handleEnter}/>
|
|
1107
1107
|
${this._trailingSlot()}
|
|
1108
1108
|
</div>
|
|
1109
1109
|
${u(e, () => n`
|
|
1110
|
-
<div class="vsn-search__helper">${
|
|
1110
|
+
<div class="vsn-search__helper">${Be(3)}</div>`)}
|
|
1111
1111
|
`;
|
|
1112
1112
|
}
|
|
1113
1113
|
_trailingSlot() {
|
|
@@ -1125,7 +1125,7 @@ var B = class extends e {
|
|
|
1125
1125
|
return n`
|
|
1126
1126
|
<button class="vsn-search__clear" aria-label=${x("Clear search")}
|
|
1127
1127
|
@click=${this._emitSearchCleared}>
|
|
1128
|
-
${
|
|
1128
|
+
${M(st, 16)}
|
|
1129
1129
|
</button>
|
|
1130
1130
|
`;
|
|
1131
1131
|
}
|
|
@@ -1133,17 +1133,17 @@ var B = class extends e {
|
|
|
1133
1133
|
return n`<kbd class="ga-side-navigation__search-shortcut">${this.shortcut}</kbd>`;
|
|
1134
1134
|
}
|
|
1135
1135
|
};
|
|
1136
|
-
|
|
1136
|
+
P([s()], H.prototype, "shortcut", void 0), P([s()], H.prototype, "value", void 0), P([s({ type: Boolean })], H.prototype, "loading", void 0), H = P([S(), o("vsn-search")], H);
|
|
1137
1137
|
//#endregion
|
|
1138
1138
|
//#region src/components/vsn-side-bar/vsn-header/vsn-header.ts
|
|
1139
|
-
var
|
|
1139
|
+
var U = class extends e {
|
|
1140
1140
|
createRenderRoot() {
|
|
1141
1141
|
return this;
|
|
1142
1142
|
}
|
|
1143
1143
|
constructor() {
|
|
1144
|
-
super(), this.modules = [], this.modulesLoading = !1, this.hasMenu = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new
|
|
1144
|
+
super(), this.modules = [], this.modulesLoading = !1, this.hasMenu = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new _t(this), new ft(this, [".ga-side-navigation__switcher-dropdown", ".ga-side-navigation__switcher"], () => {
|
|
1145
1145
|
this.canClose && (this.expanded = !1);
|
|
1146
|
-
}), new
|
|
1146
|
+
}), new z(this, () => this.expanded, ".vsn-switcher-anchor");
|
|
1147
1147
|
}
|
|
1148
1148
|
focus() {
|
|
1149
1149
|
let e = this.querySelector("vsn-search");
|
|
@@ -1168,7 +1168,7 @@ var V = class extends e {
|
|
|
1168
1168
|
title="">
|
|
1169
1169
|
<span class="ga-side-navigation__switcher-title">${e.title}</span>
|
|
1170
1170
|
<span class="ga-side-navigation__switcher-action">
|
|
1171
|
-
${this.canClose ? this.expanded ?
|
|
1171
|
+
${this.canClose ? this.expanded ? M(N, 16) : M(it, 16) : M(qe, 16)}
|
|
1172
1172
|
</span>
|
|
1173
1173
|
</div>
|
|
1174
1174
|
|
|
@@ -1183,7 +1183,7 @@ var V = class extends e {
|
|
|
1183
1183
|
|
|
1184
1184
|
${u(this.search?.enabled, () => n`
|
|
1185
1185
|
<vsn-search
|
|
1186
|
-
.shortcut=${
|
|
1186
|
+
.shortcut=${ze()}
|
|
1187
1187
|
.value=${this.searchValue}
|
|
1188
1188
|
.loading=${this.searchLoading}>
|
|
1189
1189
|
</vsn-search>`)}
|
|
@@ -1193,7 +1193,7 @@ var V = class extends e {
|
|
|
1193
1193
|
get _state() {
|
|
1194
1194
|
if (this.modulesLoading) return {
|
|
1195
1195
|
kind: "loading",
|
|
1196
|
-
title: this.activeModuleLabel ||
|
|
1196
|
+
title: this.activeModuleLabel || Ue()
|
|
1197
1197
|
};
|
|
1198
1198
|
let e = this.modules.find((e) => e.id === this.activeModuleId);
|
|
1199
1199
|
return e ? {
|
|
@@ -1202,7 +1202,7 @@ var V = class extends e {
|
|
|
1202
1202
|
available: this.modules.filter((t) => t.id !== e.id)
|
|
1203
1203
|
} : {
|
|
1204
1204
|
kind: "no-active",
|
|
1205
|
-
title:
|
|
1205
|
+
title: Ue(),
|
|
1206
1206
|
available: this.modules
|
|
1207
1207
|
};
|
|
1208
1208
|
}
|
|
@@ -1240,16 +1240,16 @@ var V = class extends e {
|
|
|
1240
1240
|
}), !0);
|
|
1241
1241
|
}
|
|
1242
1242
|
};
|
|
1243
|
-
|
|
1243
|
+
P([s({ attribute: !1 })], U.prototype, "modules", void 0), P([s()], U.prototype, "activeModuleId", void 0), P([s()], U.prototype, "activeModuleLabel", void 0), P([s({ type: Boolean })], U.prototype, "modulesLoading", void 0), P([s({ type: Boolean })], U.prototype, "hasMenu", void 0), P([s({ attribute: !1 })], U.prototype, "moduleSwitcherMaxHeight", void 0), P([s({ attribute: !1 })], U.prototype, "search", void 0), P([s()], U.prototype, "searchValue", void 0), P([s({ type: Boolean })], U.prototype, "searchLoading", void 0), P([s({
|
|
1244
1244
|
type: Boolean,
|
|
1245
1245
|
reflect: !0
|
|
1246
|
-
})],
|
|
1246
|
+
})], U.prototype, "expanded", void 0), U = P([S(), o("vsn-header")], U);
|
|
1247
1247
|
//#endregion
|
|
1248
1248
|
//#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.keyboard.ts
|
|
1249
|
-
var
|
|
1249
|
+
var vt = class {
|
|
1250
1250
|
constructor(e) {
|
|
1251
1251
|
this.onResultsKeydown = (e) => {
|
|
1252
|
-
if (e.defaultPrevented ||
|
|
1252
|
+
if (e.defaultPrevented || A(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
1253
1253
|
e.preventDefault();
|
|
1254
1254
|
let t = Array.from(this.host.querySelectorAll(".ga-side-navigation__search-results-item"));
|
|
1255
1255
|
if (t.length === 0) return;
|
|
@@ -1260,9 +1260,9 @@ var bt = class {
|
|
|
1260
1260
|
}, this.host = e, e.addController(this);
|
|
1261
1261
|
}
|
|
1262
1262
|
hostConnected() {}
|
|
1263
|
-
},
|
|
1263
|
+
}, yt, W = class extends e {
|
|
1264
1264
|
static {
|
|
1265
|
-
|
|
1265
|
+
yt = this;
|
|
1266
1266
|
}
|
|
1267
1267
|
createRenderRoot() {
|
|
1268
1268
|
return this;
|
|
@@ -1284,7 +1284,7 @@ var bt = class {
|
|
|
1284
1284
|
}
|
|
1285
1285
|
}, this._onItemMouseLeave = () => {
|
|
1286
1286
|
this._showTooltip = !1;
|
|
1287
|
-
}, this._tooltipId = `vsn-search-result-item-tooltip-${
|
|
1287
|
+
}, this._tooltipId = `vsn-search-result-item-tooltip-${yt._idCounter++}`;
|
|
1288
1288
|
}
|
|
1289
1289
|
render() {
|
|
1290
1290
|
let e = this.item;
|
|
@@ -1318,12 +1318,12 @@ var bt = class {
|
|
|
1318
1318
|
}));
|
|
1319
1319
|
}
|
|
1320
1320
|
};
|
|
1321
|
-
|
|
1321
|
+
P([s({ attribute: !1 })], W.prototype, "item", void 0), P([l()], W.prototype, "_showTooltip", void 0), P([l()], W.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__search-results-item-label")], W.prototype, "_labelEl", void 0), W = yt = P([o("vsn-search-result-item")], W);
|
|
1322
1322
|
//#endregion
|
|
1323
1323
|
//#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.ts
|
|
1324
|
-
var
|
|
1324
|
+
var G = class extends e {
|
|
1325
1325
|
constructor(...e) {
|
|
1326
|
-
super(...e), this.loadingMore = !1, this._keyboard = new
|
|
1326
|
+
super(...e), this.loadingMore = !1, this._keyboard = new vt(this);
|
|
1327
1327
|
}
|
|
1328
1328
|
createRenderRoot() {
|
|
1329
1329
|
return this;
|
|
@@ -1365,7 +1365,7 @@ var W = class extends e {
|
|
|
1365
1365
|
class="vsn-search-results__load-more"
|
|
1366
1366
|
?disabled=${this.loadingMore}
|
|
1367
1367
|
@click=${this._onLoadMore}>
|
|
1368
|
-
${
|
|
1368
|
+
${He()}
|
|
1369
1369
|
</button>
|
|
1370
1370
|
`)}
|
|
1371
1371
|
</div>
|
|
@@ -1378,16 +1378,16 @@ var W = class extends e {
|
|
|
1378
1378
|
}));
|
|
1379
1379
|
}
|
|
1380
1380
|
};
|
|
1381
|
-
|
|
1381
|
+
P([s({ attribute: !1 })], G.prototype, "results", void 0), P([s()], G.prototype, "errorMessage", void 0), P([s()], G.prototype, "nextCursor", void 0), P([s({ type: Boolean })], G.prototype, "loadingMore", void 0), G = P([S(), o("vsn-search-results")], G);
|
|
1382
1382
|
//#endregion
|
|
1383
1383
|
//#region src/components/vsn-side-bar/vsn-template/vsn-template.ts
|
|
1384
|
-
var
|
|
1384
|
+
var bt = [
|
|
1385
1385
|
160,
|
|
1386
1386
|
96,
|
|
1387
1387
|
144,
|
|
1388
1388
|
192,
|
|
1389
1389
|
160
|
|
1390
|
-
],
|
|
1390
|
+
], xt = class extends e {
|
|
1391
1391
|
createRenderRoot() {
|
|
1392
1392
|
return this;
|
|
1393
1393
|
}
|
|
@@ -1397,7 +1397,7 @@ var xt = [
|
|
|
1397
1397
|
role="status"
|
|
1398
1398
|
aria-busy="true"
|
|
1399
1399
|
aria-label=${x("Loading results")}>
|
|
1400
|
-
${
|
|
1400
|
+
${bt.map((e) => n`
|
|
1401
1401
|
<div class="vsn-template__row">
|
|
1402
1402
|
<div class="vsn-template__bar" style="width: ${e}px"></div>
|
|
1403
1403
|
</div>
|
|
@@ -1406,17 +1406,17 @@ var xt = [
|
|
|
1406
1406
|
`;
|
|
1407
1407
|
}
|
|
1408
1408
|
};
|
|
1409
|
-
|
|
1409
|
+
xt = P([S(), o("vsn-template")], xt);
|
|
1410
1410
|
//#endregion
|
|
1411
1411
|
//#region src/components/vsn-side-bar/vsn-error-state/vsn-error-state.ts
|
|
1412
|
-
var
|
|
1412
|
+
var St = class extends e {
|
|
1413
1413
|
createRenderRoot() {
|
|
1414
1414
|
return this;
|
|
1415
1415
|
}
|
|
1416
1416
|
render() {
|
|
1417
1417
|
return n`
|
|
1418
1418
|
<div class="vsn-error-state" role="alert" aria-live="assertive">
|
|
1419
|
-
<div class="vsn-error-state__icon">${
|
|
1419
|
+
<div class="vsn-error-state__icon">${M(ct, 24)}</div>
|
|
1420
1420
|
<div class="vsn-error-state__title">${x("Loading error")}</div>
|
|
1421
1421
|
<div class="vsn-error-state__message">${x("We're unable to load the menu.")}</div>
|
|
1422
1422
|
<div class="vsn-error-state__hint">${x("Please check your internet connection and try again.")}</div>
|
|
@@ -1425,15 +1425,15 @@ var Ct = class extends e {
|
|
|
1425
1425
|
`;
|
|
1426
1426
|
}
|
|
1427
1427
|
};
|
|
1428
|
-
|
|
1428
|
+
St = P([S(), o("vsn-error-state")], St);
|
|
1429
1429
|
//#endregion
|
|
1430
1430
|
//#region src/components/vsn-side-bar/vsn-search-scopes/vsn-search-scopes.ts
|
|
1431
|
-
var
|
|
1431
|
+
var Ct, K = class extends e {
|
|
1432
1432
|
static {
|
|
1433
|
-
|
|
1433
|
+
Ct = this;
|
|
1434
1434
|
}
|
|
1435
1435
|
constructor(...e) {
|
|
1436
|
-
super(...e), this.scopes = [], this.selectedScopeId = "", this._name = `vsn-search-scope-${++
|
|
1436
|
+
super(...e), this.scopes = [], this.selectedScopeId = "", this._name = `vsn-search-scope-${++Ct._counter}`;
|
|
1437
1437
|
}
|
|
1438
1438
|
createRenderRoot() {
|
|
1439
1439
|
return this;
|
|
@@ -1472,16 +1472,16 @@ var wt, G = class extends e {
|
|
|
1472
1472
|
}));
|
|
1473
1473
|
}
|
|
1474
1474
|
};
|
|
1475
|
-
|
|
1475
|
+
P([s({ attribute: !1 })], K.prototype, "scopes", void 0), P([s()], K.prototype, "selectedScopeId", void 0), K = Ct = P([S(), o("vsn-search-scopes")], K);
|
|
1476
1476
|
//#endregion
|
|
1477
1477
|
//#region src/shared/lang/locale-codes.ts
|
|
1478
|
-
var
|
|
1478
|
+
var wt = "en", Tt = [
|
|
1479
1479
|
"da",
|
|
1480
1480
|
"fi",
|
|
1481
1481
|
"nl",
|
|
1482
1482
|
"no",
|
|
1483
1483
|
"sv"
|
|
1484
|
-
],
|
|
1484
|
+
], Et = /* @__PURE__ */ p({ templates: () => Dt }), Dt = {
|
|
1485
1485
|
s09a45db408570a7a: "Min profil",
|
|
1486
1486
|
s119f9875b7d4cdfc: "Har du brug for hjælp? Kontakt support.",
|
|
1487
1487
|
s1228605ee65ddefa: b`${0} resultat`,
|
|
@@ -1511,7 +1511,7 @@ var Tt = "en", Et = [
|
|
|
1511
1511
|
sfbf31f663cef6cc2: "Prøv andre søgeord eller tjek stavningen.",
|
|
1512
1512
|
s7c510419ea376840: "VSN",
|
|
1513
1513
|
s38385cd359b17f7a: "Loading modules"
|
|
1514
|
-
},
|
|
1514
|
+
}, Ot = /* @__PURE__ */ p({ templates: () => kt }), kt = {
|
|
1515
1515
|
s09a45db408570a7a: "Oma profiili",
|
|
1516
1516
|
s119f9875b7d4cdfc: "Tarvitsetko apua? Ota yhteyttä tukeen.",
|
|
1517
1517
|
s1228605ee65ddefa: b`${0} tulos`,
|
|
@@ -1541,7 +1541,7 @@ var Tt = "en", Et = [
|
|
|
1541
1541
|
sfbf31f663cef6cc2: "Kokeile eri hakusanoja tai tarkista kirjoitusasu.",
|
|
1542
1542
|
s7c510419ea376840: "VSN",
|
|
1543
1543
|
s38385cd359b17f7a: "Loading modules"
|
|
1544
|
-
},
|
|
1544
|
+
}, At = /* @__PURE__ */ p({ templates: () => jt }), jt = {
|
|
1545
1545
|
s09a45db408570a7a: "Mijn profiel",
|
|
1546
1546
|
s119f9875b7d4cdfc: "Hulp nodig? Neem contact op met ondersteuning.",
|
|
1547
1547
|
s1228605ee65ddefa: b`${0} resultaat`,
|
|
@@ -1571,7 +1571,7 @@ var Tt = "en", Et = [
|
|
|
1571
1571
|
sfbf31f663cef6cc2: "Probeer andere zoekwoorden of controleer de spelling.",
|
|
1572
1572
|
s7c510419ea376840: "VSN",
|
|
1573
1573
|
s38385cd359b17f7a: "Loading modules"
|
|
1574
|
-
},
|
|
1574
|
+
}, Mt = /* @__PURE__ */ p({ templates: () => Nt }), Nt = {
|
|
1575
1575
|
s09a45db408570a7a: "Min profil",
|
|
1576
1576
|
s119f9875b7d4cdfc: "Trenger du hjelp? Kontakt støtte.",
|
|
1577
1577
|
s1228605ee65ddefa: b`${0} resultat`,
|
|
@@ -1601,7 +1601,7 @@ var Tt = "en", Et = [
|
|
|
1601
1601
|
sfbf31f663cef6cc2: "Prøv andre søkeord eller sjekk stavemåten.",
|
|
1602
1602
|
s7c510419ea376840: "VSN",
|
|
1603
1603
|
s38385cd359b17f7a: "Loading modules"
|
|
1604
|
-
},
|
|
1604
|
+
}, Pt = /* @__PURE__ */ p({ templates: () => Ft }), Ft = {
|
|
1605
1605
|
s09a45db408570a7a: "Min profil",
|
|
1606
1606
|
s119f9875b7d4cdfc: "Behöver du hjälp? Kontakta support.",
|
|
1607
1607
|
s1228605ee65ddefa: b`${0} resultat`,
|
|
@@ -1631,17 +1631,17 @@ var Tt = "en", Et = [
|
|
|
1631
1631
|
sfbf31f663cef6cc2: "Prova andra sökord eller kontrollera stavningen.",
|
|
1632
1632
|
s7c510419ea376840: "VSN",
|
|
1633
1633
|
s38385cd359b17f7a: "Loading modules"
|
|
1634
|
-
},
|
|
1635
|
-
da:
|
|
1636
|
-
fi:
|
|
1637
|
-
nl:
|
|
1638
|
-
no:
|
|
1639
|
-
sv:
|
|
1640
|
-
}, { getLocale:
|
|
1641
|
-
sourceLocale:
|
|
1642
|
-
targetLocales:
|
|
1643
|
-
loadLocale: (e) =>
|
|
1644
|
-
}),
|
|
1634
|
+
}, It = {
|
|
1635
|
+
da: Et,
|
|
1636
|
+
fi: Ot,
|
|
1637
|
+
nl: At,
|
|
1638
|
+
no: Mt,
|
|
1639
|
+
sv: Pt
|
|
1640
|
+
}, { getLocale: Lt, setLocale: Rt } = Me({
|
|
1641
|
+
sourceLocale: wt,
|
|
1642
|
+
targetLocales: Tt,
|
|
1643
|
+
loadLocale: (e) => It[e] ? Promise.resolve(It[e]) : Promise.reject(/* @__PURE__ */ Error(`Unknown locale: ${e}`))
|
|
1644
|
+
}), zt = t`
|
|
1645
1645
|
@layer components {
|
|
1646
1646
|
vsn-footer {
|
|
1647
1647
|
display: block;
|
|
@@ -1682,7 +1682,7 @@ var Tt = "en", Et = [
|
|
|
1682
1682
|
justify-content: center;
|
|
1683
1683
|
}
|
|
1684
1684
|
}
|
|
1685
|
-
`,
|
|
1685
|
+
`, Bt = t`
|
|
1686
1686
|
@layer components {
|
|
1687
1687
|
.vsn-switcher-anchor {
|
|
1688
1688
|
position: relative;
|
|
@@ -1696,7 +1696,7 @@ var Tt = "en", Et = [
|
|
|
1696
1696
|
z-index: 10;
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
|
-
`,
|
|
1699
|
+
`, Vt = t`
|
|
1700
1700
|
.vsn-search__trigger,
|
|
1701
1701
|
.vsn-search__clear {
|
|
1702
1702
|
display: inline-flex;
|
|
@@ -1745,7 +1745,7 @@ var Tt = "en", Et = [
|
|
|
1745
1745
|
.ga-side-navigation__search input::placeholder {
|
|
1746
1746
|
color: var(--ga-color-text-disable-selected);
|
|
1747
1747
|
}
|
|
1748
|
-
`,
|
|
1748
|
+
`, Ht = t`
|
|
1749
1749
|
.vsn-search-results__empty {
|
|
1750
1750
|
display: flex;
|
|
1751
1751
|
flex-direction: column;
|
|
@@ -1814,7 +1814,7 @@ var Tt = "en", Et = [
|
|
|
1814
1814
|
cursor: not-allowed;
|
|
1815
1815
|
opacity: 0.5;
|
|
1816
1816
|
}
|
|
1817
|
-
`,
|
|
1817
|
+
`, Ut = t`
|
|
1818
1818
|
@layer components {
|
|
1819
1819
|
vsn-search-scopes {
|
|
1820
1820
|
display: block;
|
|
@@ -1835,7 +1835,7 @@ var Tt = "en", Et = [
|
|
|
1835
1835
|
text-overflow: ellipsis;
|
|
1836
1836
|
}
|
|
1837
1837
|
}
|
|
1838
|
-
`,
|
|
1838
|
+
`, Wt = t`
|
|
1839
1839
|
.vsn-template__row {
|
|
1840
1840
|
display: flex;
|
|
1841
1841
|
flex-direction: column;
|
|
@@ -1850,7 +1850,7 @@ var Tt = "en", Et = [
|
|
|
1850
1850
|
background: var(--ga-color-miscellaneous-skeleton-element, #F2F3F5);
|
|
1851
1851
|
flex-shrink: 0;
|
|
1852
1852
|
}
|
|
1853
|
-
`,
|
|
1853
|
+
`, Gt = t`
|
|
1854
1854
|
.vsn-error-state {
|
|
1855
1855
|
display: flex;
|
|
1856
1856
|
flex-direction: column;
|
|
@@ -1889,7 +1889,7 @@ var Tt = "en", Et = [
|
|
|
1889
1889
|
font-weight: 400;
|
|
1890
1890
|
color: var(--ga-color-text-on-disabled);
|
|
1891
1891
|
}
|
|
1892
|
-
`,
|
|
1892
|
+
`, Kt = t`
|
|
1893
1893
|
.vsn-spinner {
|
|
1894
1894
|
display: inline-block;
|
|
1895
1895
|
flex-shrink: 0;
|
|
@@ -1909,7 +1909,7 @@ var Tt = "en", Et = [
|
|
|
1909
1909
|
@keyframes vsn-spin {
|
|
1910
1910
|
to { transform: rotate(360deg); }
|
|
1911
1911
|
}
|
|
1912
|
-
`,
|
|
1912
|
+
`, qt = class {
|
|
1913
1913
|
constructor(e, t, n) {
|
|
1914
1914
|
this._onHostClick = (e) => {
|
|
1915
1915
|
let t = this._host.renderRoot.querySelector(this._clickedSelector);
|
|
@@ -1922,14 +1922,14 @@ var Tt = "en", Et = [
|
|
|
1922
1922
|
hostDisconnected() {
|
|
1923
1923
|
this._host.removeEventListener("click", this._onHostClick);
|
|
1924
1924
|
}
|
|
1925
|
-
},
|
|
1925
|
+
}, Jt = "button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])", Yt = class {
|
|
1926
1926
|
constructor(e) {
|
|
1927
1927
|
this.onKeydown = (e) => {
|
|
1928
|
-
if (e.defaultPrevented ||
|
|
1928
|
+
if (e.defaultPrevented || A(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
1929
1929
|
let t = this.host.renderRoot.querySelector("slot[name=\"nav-footer\"]");
|
|
1930
1930
|
if (!t) return;
|
|
1931
1931
|
let n = [];
|
|
1932
|
-
for (let e of t.assignedElements({ flatten: !0 })) e.matches(
|
|
1932
|
+
for (let e of t.assignedElements({ flatten: !0 })) e.matches(Jt) && n.push(e), n.push(...Array.from(e.querySelectorAll(Jt)));
|
|
1933
1933
|
if (n.length === 0) return;
|
|
1934
1934
|
let r = e.composedPath()[0];
|
|
1935
1935
|
if (!(r instanceof HTMLElement)) return;
|
|
@@ -1941,12 +1941,12 @@ var Tt = "en", Et = [
|
|
|
1941
1941
|
}, this.host = e, e.addController(this);
|
|
1942
1942
|
}
|
|
1943
1943
|
hostConnected() {}
|
|
1944
|
-
},
|
|
1944
|
+
}, Xt = t`
|
|
1945
1945
|
.ga-scroll {
|
|
1946
1946
|
scrollbar-color: var(--ga-color-text-disabled) var(--ga-color-surface-page);
|
|
1947
1947
|
scrollbar-width: thin;
|
|
1948
1948
|
}
|
|
1949
|
-
`,
|
|
1949
|
+
`, Zt = t`
|
|
1950
1950
|
@layer components {
|
|
1951
1951
|
.ga-side-navigation__item:focus-visible::after {
|
|
1952
1952
|
position: absolute;
|
|
@@ -1959,20 +1959,20 @@ var Tt = "en", Et = [
|
|
|
1959
1959
|
content: var(--tw-content);
|
|
1960
1960
|
}
|
|
1961
1961
|
}
|
|
1962
|
-
`,
|
|
1962
|
+
`, q = class extends e {
|
|
1963
1963
|
static {
|
|
1964
1964
|
this.styles = [
|
|
1965
1965
|
h,
|
|
1966
|
+
Xt,
|
|
1967
|
+
Bt,
|
|
1966
1968
|
Zt,
|
|
1969
|
+
zt,
|
|
1967
1970
|
Vt,
|
|
1968
|
-
Qt,
|
|
1969
|
-
Bt,
|
|
1970
1971
|
Ht,
|
|
1971
1972
|
Ut,
|
|
1972
1973
|
Wt,
|
|
1973
1974
|
Gt,
|
|
1974
1975
|
Kt,
|
|
1975
|
-
qt,
|
|
1976
1976
|
t`
|
|
1977
1977
|
:host {
|
|
1978
1978
|
position: absolute;
|
|
@@ -1987,7 +1987,7 @@ var Tt = "en", Et = [
|
|
|
1987
1987
|
];
|
|
1988
1988
|
}
|
|
1989
1989
|
constructor() {
|
|
1990
|
-
super(), this.modules = [], this.modulesLoading = !1, this.lang = "en", this.error = !1, this.open = !1, this._searchQuery = "", this._searchLoading = !1, this._activeScopeId = "menu", this._searchLoadingMore = !1, this._moduleSwitcherMaxHeight = 0, this._hasPageTitle = !1, this._navFooterKeyboard = new
|
|
1990
|
+
super(), this.modules = [], this.modulesLoading = !1, this.lang = "en", this.error = !1, this.open = !1, this._searchQuery = "", this._searchLoading = !1, this._activeScopeId = "menu", this._searchLoadingMore = !1, this._moduleSwitcherMaxHeight = 0, this._hasPageTitle = !1, this._navFooterKeyboard = new Yt(this), this._customWidthPerLanguage = { fi: "30em" }, this._onNavigate = (e) => {
|
|
1991
1991
|
this._searchQuery = "", this._searchResults = void 0, this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
|
|
1992
1992
|
bubbles: !0,
|
|
1993
1993
|
composed: !0
|
|
@@ -2004,18 +2004,18 @@ var Tt = "en", Et = [
|
|
|
2004
2004
|
}));
|
|
2005
2005
|
}, this._onScopeChanged = (e) => {
|
|
2006
2006
|
this._activeScopeId = e.detail.scopeId, this._runSearch(this._searchQuery, this._activeScopeId), this.focusSearch();
|
|
2007
|
-
}, new
|
|
2007
|
+
}, new qt(this, ".ga-side-navigation", () => this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
|
|
2008
2008
|
bubbles: !0,
|
|
2009
2009
|
composed: !0
|
|
2010
2010
|
}))), this._resizeObserver = new ResizeObserver((e) => {
|
|
2011
2011
|
this._observeMenuSize(e);
|
|
2012
|
-
}), this._resizeObserver.observe(this), new
|
|
2012
|
+
}), this._resizeObserver.observe(this), new z(this, () => this.open);
|
|
2013
2013
|
}
|
|
2014
2014
|
_observeMenuSize(e) {
|
|
2015
2015
|
this._moduleSwitcherMaxHeight = Math.max(0, e[0].contentRect.height - 134);
|
|
2016
2016
|
}
|
|
2017
2017
|
willUpdate(e) {
|
|
2018
|
-
e.has("lang") &&
|
|
2018
|
+
e.has("lang") && Rt(this.lang).catch(console.error), e.has("open") && e.get("open") && !this.open && (this._searchQuery = "", this._activeScopeId = "menu", this._clearSearchState(), this.renderRoot.querySelector("vsn-header")?.reset(), this.renderRoot.querySelector("vsn-footer")?.reset()), e.has("menu") && (this._hasPageTitle = this.menu?.pageTitle !== void 0);
|
|
2019
2019
|
}
|
|
2020
2020
|
updated(e) {
|
|
2021
2021
|
e.has("open") && this.open && this._scrollActiveItemIntoView(), e.has("menu") && this.open && this.menu?.currentItem && (e.get("menu")?.currentItem || this._scrollActiveItemIntoView());
|
|
@@ -2182,7 +2182,7 @@ var Tt = "en", Et = [
|
|
|
2182
2182
|
<vsn-search-scopes
|
|
2183
2183
|
.scopes=${[{
|
|
2184
2184
|
id: "menu",
|
|
2185
|
-
label:
|
|
2185
|
+
label: Ve()
|
|
2186
2186
|
}, ...e.map((e) => ({
|
|
2187
2187
|
id: e.id,
|
|
2188
2188
|
label: e.label
|
|
@@ -2206,15 +2206,15 @@ var Tt = "en", Et = [
|
|
|
2206
2206
|
`;
|
|
2207
2207
|
}
|
|
2208
2208
|
};
|
|
2209
|
-
|
|
2209
|
+
P([s({ attribute: !1 })], q.prototype, "modules", void 0), P([s()], q.prototype, "activeModuleId", void 0), P([s()], q.prototype, "activeModuleLabel", void 0), P([s({ type: Boolean })], q.prototype, "modulesLoading", void 0), P([s()], q.prototype, "lang", void 0), P([s({ attribute: !1 })], q.prototype, "auth", void 0), P([s({ type: Boolean })], q.prototype, "error", void 0), P([s({
|
|
2210
2210
|
type: Boolean,
|
|
2211
2211
|
reflect: !0
|
|
2212
|
-
})],
|
|
2212
|
+
})], q.prototype, "open", void 0), P([s({ attribute: !1 })], q.prototype, "menu", void 0), P([l()], q.prototype, "_searchQuery", void 0), P([l()], q.prototype, "_searchResults", void 0), P([l()], q.prototype, "_searchLoading", void 0), P([l()], q.prototype, "_activeScopeId", void 0), P([l()], q.prototype, "_searchError", void 0), P([l()], q.prototype, "_searchNextCursor", void 0), P([l()], q.prototype, "_searchLoadingMore", void 0), P([l()], q.prototype, "_moduleSwitcherMaxHeight", void 0), P([l()], q.prototype, "_hasPageTitle", void 0), q = P([o("vsn-side-bar")], q);
|
|
2213
2213
|
//#endregion
|
|
2214
2214
|
//#region src/components/vsn-top-bar/vsn-breadcrumb-menu-item.ts
|
|
2215
|
-
var
|
|
2215
|
+
var Qt, J = class extends e {
|
|
2216
2216
|
static {
|
|
2217
|
-
|
|
2217
|
+
Qt = this;
|
|
2218
2218
|
}
|
|
2219
2219
|
static {
|
|
2220
2220
|
this._idCounter = 0;
|
|
@@ -2234,15 +2234,15 @@ var $t, q = class extends e {
|
|
|
2234
2234
|
}, this._onItemMouseLeave = () => {
|
|
2235
2235
|
this._showTooltip = !1;
|
|
2236
2236
|
}, this._onKeyDown = (e) => {
|
|
2237
|
-
e.defaultPrevented ||
|
|
2237
|
+
e.defaultPrevented || A(e) || (e.key === "Enter" || e.key === " " ? (e.preventDefault(), this._isExpanded = !this._isExpanded) : e.key === "ArrowRight" ? (e.preventDefault(), this._isExpanded = !0) : e.key === "ArrowLeft" && (e.preventDefault(), this._isExpanded = !1));
|
|
2238
2238
|
}, this._onClick = (e) => {
|
|
2239
2239
|
if (e.defaultPrevented) return;
|
|
2240
2240
|
if (this._isParent()) {
|
|
2241
|
-
if (
|
|
2241
|
+
if (A(e)) return;
|
|
2242
2242
|
e.preventDefault(), this._isExpanded = !this._isExpanded;
|
|
2243
2243
|
return;
|
|
2244
2244
|
}
|
|
2245
|
-
if (!this.tree || e.button !== 0 ||
|
|
2245
|
+
if (!this.tree || e.button !== 0 || A(e)) return;
|
|
2246
2246
|
e.preventDefault();
|
|
2247
2247
|
let t = [...this.ancestorPath, this.tree];
|
|
2248
2248
|
this.dispatchEvent(new CustomEvent("vsn-breadcrumb-menu-leaf-select", {
|
|
@@ -2250,7 +2250,7 @@ var $t, q = class extends e {
|
|
|
2250
2250
|
bubbles: !0,
|
|
2251
2251
|
composed: !0
|
|
2252
2252
|
}));
|
|
2253
|
-
}, this._tooltipId = `vsn-menu-item-tooltip-${
|
|
2253
|
+
}, this._tooltipId = `vsn-menu-item-tooltip-${Qt._idCounter++}`, new z(this, () => this._isExpanded);
|
|
2254
2254
|
}
|
|
2255
2255
|
createRenderRoot() {
|
|
2256
2256
|
return this;
|
|
@@ -2276,7 +2276,7 @@ var $t, q = class extends e {
|
|
|
2276
2276
|
<div class="ga-tooltip ga-tooltip--right-start" style="white-space: nowrap">${e}</div>
|
|
2277
2277
|
</div>
|
|
2278
2278
|
<span class="ga-side-navigation__item-icon">
|
|
2279
|
-
${this._isParent() ? this._isExpanded ?
|
|
2279
|
+
${this._isParent() ? this._isExpanded ? M(N, 16) : M(lt, 16) : ""}
|
|
2280
2280
|
</span>
|
|
2281
2281
|
<div class="ga-side-navigation__item-content">
|
|
2282
2282
|
<div class="ga-side-navigation__item-label">${e}</div>
|
|
@@ -2300,13 +2300,13 @@ var $t, q = class extends e {
|
|
|
2300
2300
|
if (this.tree && _(this.tree)) return this.tree.items.length > 0;
|
|
2301
2301
|
}
|
|
2302
2302
|
};
|
|
2303
|
-
|
|
2303
|
+
P([s({ attribute: !1 })], J.prototype, "tree", void 0), P([s({ type: Number })], J.prototype, "level", void 0), P([s({ type: Array })], J.prototype, "ancestorPath", void 0), P([l()], J.prototype, "_isExpanded", void 0), P([l()], J.prototype, "_showTooltip", void 0), P([l()], J.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__item-label")], J.prototype, "_labelEl", void 0), J = Qt = P([o("vsn-breadcrumb-menu-item")], J);
|
|
2304
2304
|
//#endregion
|
|
2305
2305
|
//#region src/components/vsn-top-bar/vsn-breadcrumb-menu.ts
|
|
2306
|
-
var
|
|
2306
|
+
var $t = class extends e {
|
|
2307
2307
|
constructor() {
|
|
2308
2308
|
super(), this._handleKeyDown = (e) => {
|
|
2309
|
-
if (e.defaultPrevented ||
|
|
2309
|
+
if (e.defaultPrevented || A(e)) return;
|
|
2310
2310
|
if (e.key === "Escape") {
|
|
2311
2311
|
e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-breadcrumb-menu-close", {
|
|
2312
2312
|
bubbles: !0,
|
|
@@ -2323,7 +2323,7 @@ var J = class extends e {
|
|
|
2323
2323
|
if (!t.length) return;
|
|
2324
2324
|
let n = t.indexOf(e.target);
|
|
2325
2325
|
n !== -1 && (e.preventDefault(), e.key === "ArrowDown" ? n < t.length - 1 && t[n + 1].focus() : n > 0 && t[n - 1].focus());
|
|
2326
|
-
}, new
|
|
2326
|
+
}, new z(this, () => !0);
|
|
2327
2327
|
}
|
|
2328
2328
|
createRenderRoot() {
|
|
2329
2329
|
return this;
|
|
@@ -2350,7 +2350,7 @@ var J = class extends e {
|
|
|
2350
2350
|
`;
|
|
2351
2351
|
}
|
|
2352
2352
|
};
|
|
2353
|
-
|
|
2353
|
+
P([s({ attribute: !1 })], $t.prototype, "treeList", void 0), $t = P([o("vsn-breadcrumb-menu")], $t);
|
|
2354
2354
|
//#endregion
|
|
2355
2355
|
//#region src/components/vsn-top-bar/vsn-breadcrumbs.ts
|
|
2356
2356
|
var Y = class extends e {
|
|
@@ -2374,8 +2374,8 @@ var Y = class extends e {
|
|
|
2374
2374
|
static {
|
|
2375
2375
|
this.styles = [
|
|
2376
2376
|
h,
|
|
2377
|
-
|
|
2378
|
-
|
|
2377
|
+
Xt,
|
|
2378
|
+
Kt,
|
|
2379
2379
|
t`
|
|
2380
2380
|
.vsn-bc-modules-loading {
|
|
2381
2381
|
display: flex;
|
|
@@ -2427,25 +2427,6 @@ var Y = class extends e {
|
|
|
2427
2427
|
text-decoration: none;
|
|
2428
2428
|
}
|
|
2429
2429
|
|
|
2430
|
-
.ga-breadcrumb-item.ga-breadcrumb-item--ancestor .ga-breadcrumb-item__trigger {
|
|
2431
|
-
color: var(--ga-color-text-body);
|
|
2432
|
-
cursor: default;
|
|
2433
|
-
}
|
|
2434
|
-
|
|
2435
|
-
.ga-breadcrumb-item.ga-breadcrumb-item--ancestor .ga-breadcrumb-item__trigger .ga-breadcrumb-item__label {
|
|
2436
|
-
color: var(--ga-color-text-body);
|
|
2437
|
-
}
|
|
2438
|
-
|
|
2439
|
-
.ga-breadcrumb-item.ga-breadcrumb-item--ancestor .ga-breadcrumb-item__trigger:hover {
|
|
2440
|
-
background-color: transparent;
|
|
2441
|
-
color: var(--ga-color-text-body);
|
|
2442
|
-
}
|
|
2443
|
-
|
|
2444
|
-
.ga-breadcrumb-item.ga-breadcrumb-item--ancestor .ga-breadcrumb-item__trigger:hover .ga-breadcrumb-item__label {
|
|
2445
|
-
text-decoration: none;
|
|
2446
|
-
color: var(--ga-color-text-body);
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
2430
|
/* Focus indicator for keyboard navigation inside breadcrumb dropdowns */
|
|
2450
2431
|
.ga-breadcrumb-item__menu .ga-side-navigation__item:focus-visible {
|
|
2451
2432
|
outline: var(--_focus-ring-offset) solid var(--ga-color-border-focus);
|
|
@@ -2633,7 +2614,7 @@ var Y = class extends e {
|
|
|
2633
2614
|
}
|
|
2634
2615
|
_renderLeafAsAncestor(e) {
|
|
2635
2616
|
return n`
|
|
2636
|
-
<div class="ga-breadcrumb-item ga-breadcrumb-item--link
|
|
2617
|
+
<div class="ga-breadcrumb-item ga-breadcrumb-item--link"
|
|
2637
2618
|
aria-describedby=${this._tooltip ? "vsn-breadcrumb-tooltip" : r}
|
|
2638
2619
|
data-tooltip-label="${e.label ?? ""}" @mouseenter=${this._onBreadcrumbMouseEnter}
|
|
2639
2620
|
@mouseleave=${this._onBreadcrumbMouseLeave} @click="${() => this._onLeafAsAncestorClick(e)}">
|
|
@@ -2766,7 +2747,7 @@ var Y = class extends e {
|
|
|
2766
2747
|
`;
|
|
2767
2748
|
}
|
|
2768
2749
|
};
|
|
2769
|
-
|
|
2750
|
+
P([s({ attribute: !1 })], Y.prototype, "tree", void 0), P([s({ type: Array })], Y.prototype, "modules", void 0), P([s()], Y.prototype, "activeModuleId", void 0), P([s({ type: Boolean })], Y.prototype, "modulesLoading", void 0), P([l()], Y.prototype, "_openPopoverId", void 0), P([l()], Y.prototype, "_displayMode", void 0), P([l()], Y.prototype, "_overflowCount", void 0), P([l()], Y.prototype, "_tooltip", void 0), Y = P([S(), o("vsn-breadcrumbs")], Y);
|
|
2770
2751
|
//#endregion
|
|
2771
2752
|
//#region src/components/vsn-top-bar/vsn-ai-assistant.ts
|
|
2772
2753
|
var en = class extends e {
|
|
@@ -2784,12 +2765,12 @@ var en = class extends e {
|
|
|
2784
2765
|
return n`
|
|
2785
2766
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
2786
2767
|
aria-label=${x("Open AI assistant")} @click=${this._handleClick}>
|
|
2787
|
-
<span class="ga-icon">${
|
|
2768
|
+
<span class="ga-icon">${M(Ye)}</span>
|
|
2788
2769
|
</button>
|
|
2789
2770
|
`;
|
|
2790
2771
|
}
|
|
2791
2772
|
};
|
|
2792
|
-
en =
|
|
2773
|
+
en = P([S(), o("vsn-ai-assistant")], en);
|
|
2793
2774
|
//#endregion
|
|
2794
2775
|
//#region src/components/vsn-top-bar/vsn-feedback.ts
|
|
2795
2776
|
var X = class extends e {
|
|
@@ -2808,8 +2789,8 @@ var X = class extends e {
|
|
|
2808
2789
|
if (super.updated(e), e.has("feedback") && this.feedback?.workspaceId && !document.getElementById("survicate-sdk") && !window._sva) {
|
|
2809
2790
|
window._sva = window._sva ?? {}, window._sva.forcedLanguage = this.lang;
|
|
2810
2791
|
let e = document.createElement("script");
|
|
2811
|
-
e.id =
|
|
2812
|
-
|
|
2792
|
+
e.id = We, e.src = Ke(this.feedback.workspaceId), e.async = !0, e.onload = () => this._applyVisitorTraits(), e.onerror = () => {
|
|
2793
|
+
e.remove(), window._sva = void 0;
|
|
2813
2794
|
}, document.head.appendChild(e);
|
|
2814
2795
|
}
|
|
2815
2796
|
if (e.has("auth")) {
|
|
@@ -2820,16 +2801,9 @@ var X = class extends e {
|
|
|
2820
2801
|
}
|
|
2821
2802
|
_applyVisitorTraits() {
|
|
2822
2803
|
let e = this.auth?.user.userEmail;
|
|
2823
|
-
if (!e)
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
}
|
|
2827
|
-
if (!window._sva?.setVisitorTraits) {
|
|
2828
|
-
let e = !!document.getElementById(Ke);
|
|
2829
|
-
this.feedback?.workspaceId && console.warn(e ? "[vsn-feedback] setVisitorTraits skipped: Survicate SDK not initialized yet" : "[vsn-feedback] setVisitorTraits skipped: Survicate SDK script not present");
|
|
2830
|
-
return;
|
|
2831
|
-
}
|
|
2832
|
-
window._sva.setVisitorTraits({ email: e }), this._traitSet = !0;
|
|
2804
|
+
if (!e) return;
|
|
2805
|
+
let t = window._sva?.setVisitorTraits;
|
|
2806
|
+
t && (t({ email: e }), this._traitSet = !0);
|
|
2833
2807
|
}
|
|
2834
2808
|
disconnectedCallback() {
|
|
2835
2809
|
super.disconnectedCallback(), this._mqMobile.removeEventListener("change", this._handleMediaChange), this._traitSet && window._sva?.reset?.();
|
|
@@ -2838,13 +2812,13 @@ var X = class extends e {
|
|
|
2838
2812
|
this.dispatchEvent(new CustomEvent("vsn-feedback", {
|
|
2839
2813
|
bubbles: !0,
|
|
2840
2814
|
composed: !0
|
|
2841
|
-
})), this.feedback?.surveyId && (this._applyVisitorTraits(), window._sva?.invokeEvent?.(
|
|
2815
|
+
})), this.feedback?.surveyId && (this._applyVisitorTraits(), window._sva?.invokeEvent?.(Ge));
|
|
2842
2816
|
}
|
|
2843
2817
|
render() {
|
|
2844
2818
|
return this._compact ? n`
|
|
2845
2819
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
2846
2820
|
aria-label=${x("Send feedback")} @click=${this._handleClick}>
|
|
2847
|
-
<span class="ga-icon">${
|
|
2821
|
+
<span class="ga-icon">${M(Qe)}</span>
|
|
2848
2822
|
</button>
|
|
2849
2823
|
` : n`
|
|
2850
2824
|
<button type="button" class="ga-button ga-button--secondary" aria-label=${x("Send feedback")}
|
|
@@ -2854,7 +2828,7 @@ var X = class extends e {
|
|
|
2854
2828
|
`;
|
|
2855
2829
|
}
|
|
2856
2830
|
};
|
|
2857
|
-
|
|
2831
|
+
P([l()], X.prototype, "_compact", void 0), P([s({ attribute: !1 })], X.prototype, "feedback", void 0), P([s({ attribute: !1 })], X.prototype, "auth", void 0), P([s()], X.prototype, "lang", void 0), X = P([S(), o("vsn-feedback")], X);
|
|
2858
2832
|
//#endregion
|
|
2859
2833
|
//#region src/components/vsn-top-bar/vsn-home.ts
|
|
2860
2834
|
var tn = class extends e {
|
|
@@ -2876,12 +2850,12 @@ var tn = class extends e {
|
|
|
2876
2850
|
return this.landingPageUrl ? n`
|
|
2877
2851
|
<a href=${this.landingPageUrl} class="ga-button ga-button--ghost ga-button--icon-only" aria-label=${x("Home")}
|
|
2878
2852
|
@click=${this._handleClick}>
|
|
2879
|
-
<span class="ga-icon">${
|
|
2853
|
+
<span class="ga-icon">${M($e)}</span>
|
|
2880
2854
|
</a>
|
|
2881
2855
|
` : r;
|
|
2882
2856
|
}
|
|
2883
2857
|
};
|
|
2884
|
-
|
|
2858
|
+
P([s({ attribute: "landing-page-url" })], tn.prototype, "landingPageUrl", void 0), tn = P([S(), o("vsn-home")], tn);
|
|
2885
2859
|
//#endregion
|
|
2886
2860
|
//#region src/components/vsn-top-bar/vsn-menu-toggle.ts
|
|
2887
2861
|
var nn = class extends e {
|
|
@@ -2911,17 +2885,17 @@ var nn = class extends e {
|
|
|
2911
2885
|
@click=${this._handleClick}
|
|
2912
2886
|
@mouseenter=${this._onActivate}
|
|
2913
2887
|
@mouseleave=${this._onDeactivate}>
|
|
2914
|
-
<span class="ga-icon">${
|
|
2888
|
+
<span class="ga-icon">${M(Je)}</span>
|
|
2915
2889
|
</button>
|
|
2916
2890
|
<div id="vsn-menu-toggle-tooltip" role="tooltip"
|
|
2917
2891
|
style="position: fixed; inset: unset; margin: 0; padding: 0; border: none; background: transparent; overflow: visible; pointer-events: none; z-index: 9999;"
|
|
2918
2892
|
popover="manual">
|
|
2919
|
-
<div class="ga-tooltip ga-tooltip--bottom-start" style="white-space: nowrap">${
|
|
2893
|
+
<div class="ga-tooltip ga-tooltip--bottom-start" style="white-space: nowrap">${ze()}</div>
|
|
2920
2894
|
</div>
|
|
2921
2895
|
`;
|
|
2922
2896
|
}
|
|
2923
2897
|
};
|
|
2924
|
-
|
|
2898
|
+
P([c("div[role=\"tooltip\"]", !0)], nn.prototype, "_tooltipElement", void 0), nn = P([S(), o("vsn-menu-toggle")], nn);
|
|
2925
2899
|
//#endregion
|
|
2926
2900
|
//#region src/components/vsn-top-bar/vsn-notifications.ts
|
|
2927
2901
|
var rn = class extends e {
|
|
@@ -2939,20 +2913,20 @@ var rn = class extends e {
|
|
|
2939
2913
|
}));
|
|
2940
2914
|
}
|
|
2941
2915
|
render() {
|
|
2942
|
-
let e = this.notificationActive ?
|
|
2916
|
+
let e = this.notificationActive ? Ze : Xe;
|
|
2943
2917
|
return n`
|
|
2944
2918
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
2945
2919
|
aria-label=${x("Notifications")} @click=${this._handleClick}>
|
|
2946
|
-
<span class="ga-icon">${
|
|
2920
|
+
<span class="ga-icon">${M(e)}</span>
|
|
2947
2921
|
</button>
|
|
2948
2922
|
`;
|
|
2949
2923
|
}
|
|
2950
2924
|
};
|
|
2951
|
-
|
|
2925
|
+
P([s({
|
|
2952
2926
|
type: Boolean,
|
|
2953
2927
|
attribute: "notification-active",
|
|
2954
2928
|
reflect: !0
|
|
2955
|
-
})], rn.prototype, "notificationActive", void 0), rn =
|
|
2929
|
+
})], rn.prototype, "notificationActive", void 0), rn = P([S(), o("vsn-notifications")], rn);
|
|
2956
2930
|
//#endregion
|
|
2957
2931
|
//#region src/components/vsn-top-bar/vsn-help.ts
|
|
2958
2932
|
function an(e) {
|
|
@@ -2978,25 +2952,25 @@ var Z = class extends e {
|
|
|
2978
2952
|
return this.helpUrl && an(this.helpUrl) ? n`
|
|
2979
2953
|
<a href=${this.helpUrl} target="_blank" rel="noopener noreferrer" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
2980
2954
|
aria-label=${x("Help")}>
|
|
2981
|
-
<span class="ga-icon">${
|
|
2955
|
+
<span class="ga-icon">${M(et)}</span>
|
|
2982
2956
|
</a>
|
|
2983
2957
|
` : n`
|
|
2984
2958
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${x("Help")}
|
|
2985
2959
|
@click=${this._handleClick}>
|
|
2986
|
-
<span class="ga-icon">${
|
|
2960
|
+
<span class="ga-icon">${M(et)}</span>
|
|
2987
2961
|
</button>
|
|
2988
2962
|
`;
|
|
2989
2963
|
}
|
|
2990
2964
|
};
|
|
2991
|
-
|
|
2965
|
+
P([s({ attribute: "help-url" })], Z.prototype, "helpUrl", void 0), Z = P([S(), o("vsn-help")], Z);
|
|
2992
2966
|
//#endregion
|
|
2993
2967
|
//#region src/components/vsn-top-bar/vsn-top-bar.ts
|
|
2994
2968
|
var Q = class extends e {
|
|
2995
2969
|
constructor() {
|
|
2996
|
-
super(), this.modules = [], this.feedback = null, this.showHelp = !1, this.showNotification = !1, this.notificationActive = !1, this.modulesLoading = !1, this.lang = "en", new
|
|
2970
|
+
super(), this.modules = [], this.feedback = null, this.showHelp = !1, this.showNotification = !1, this.notificationActive = !1, this.modulesLoading = !1, this.lang = "en", new z(this, () => !0);
|
|
2997
2971
|
}
|
|
2998
2972
|
willUpdate(e) {
|
|
2999
|
-
e.has("lang") &&
|
|
2973
|
+
e.has("lang") && Rt(this.lang).catch(console.error);
|
|
3000
2974
|
}
|
|
3001
2975
|
focusMenuToggle() {
|
|
3002
2976
|
this.renderRoot.querySelector("vsn-menu-toggle")?.focus();
|
|
@@ -3098,28 +3072,28 @@ var Q = class extends e {
|
|
|
3098
3072
|
`;
|
|
3099
3073
|
}
|
|
3100
3074
|
};
|
|
3101
|
-
|
|
3075
|
+
P([s({ attribute: !1 })], Q.prototype, "tree", void 0), P([s({ type: Array })], Q.prototype, "modules", void 0), P([s()], Q.prototype, "activeModuleId", void 0), P([s({ attribute: "landing-page-url" })], Q.prototype, "landingPageUrl", void 0), P([s({ attribute: !1 })], Q.prototype, "feedback", void 0), P([s({ attribute: !1 })], Q.prototype, "auth", void 0), P([s({
|
|
3102
3076
|
type: Boolean,
|
|
3103
3077
|
attribute: "show-help"
|
|
3104
|
-
})], Q.prototype, "showHelp", void 0),
|
|
3078
|
+
})], Q.prototype, "showHelp", void 0), P([s({ attribute: "help-url" })], Q.prototype, "helpUrl", void 0), P([s({
|
|
3105
3079
|
type: Boolean,
|
|
3106
3080
|
attribute: "show-notification"
|
|
3107
|
-
})], Q.prototype, "showNotification", void 0),
|
|
3081
|
+
})], Q.prototype, "showNotification", void 0), P([s({
|
|
3108
3082
|
type: Boolean,
|
|
3109
3083
|
attribute: "notification-active"
|
|
3110
|
-
})], Q.prototype, "notificationActive", void 0),
|
|
3084
|
+
})], Q.prototype, "notificationActive", void 0), P([s({ type: Boolean })], Q.prototype, "modulesLoading", void 0), P([s()], Q.prototype, "lang", void 0), Q = P([o("vsn-top-bar")], Q);
|
|
3111
3085
|
//#endregion
|
|
3112
3086
|
//#region src/components/vsn-navigation.ts
|
|
3113
3087
|
var $ = class extends e {
|
|
3114
3088
|
constructor(...e) {
|
|
3115
3089
|
super(...e), this.lang = "en", this.showHelp = !1, this.feedback = null, this.showNotification = !1, this.notificationActive = !1, this.open = !1, this._currentItem = "", this._resolvedModules = [], this._modulesLoading = !1, this._modulesLoadToken = 0, this._restoreFocusToToggle = !1, this._onShortcut = (e) => {
|
|
3116
|
-
e.defaultPrevented || !
|
|
3090
|
+
e.defaultPrevented || !Ie(e) || e.key.toLowerCase() !== "k" || (e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-open", {
|
|
3117
3091
|
cancelable: !0,
|
|
3118
3092
|
bubbles: !0,
|
|
3119
3093
|
composed: !0
|
|
3120
3094
|
})) && this._openAndFocusSearch());
|
|
3121
3095
|
}, this._onEscape = (e) => {
|
|
3122
|
-
e.defaultPrevented || this.open &&
|
|
3096
|
+
e.defaultPrevented || this.open && j(e) && e.key === "Escape" && (e.preventDefault(), this.open = !1);
|
|
3123
3097
|
};
|
|
3124
3098
|
}
|
|
3125
3099
|
_resolveModules() {
|
|
@@ -3142,7 +3116,7 @@ var $ = class extends e {
|
|
|
3142
3116
|
static {
|
|
3143
3117
|
this.styles = [
|
|
3144
3118
|
h,
|
|
3145
|
-
|
|
3119
|
+
Xt,
|
|
3146
3120
|
t`
|
|
3147
3121
|
:host {
|
|
3148
3122
|
display: flex;
|
|
@@ -3255,19 +3229,19 @@ var $ = class extends e {
|
|
|
3255
3229
|
`;
|
|
3256
3230
|
}
|
|
3257
3231
|
};
|
|
3258
|
-
|
|
3232
|
+
P([s()], $.prototype, "lang", void 0), P([s({ attribute: !1 })], $.prototype, "tree", void 0), P([s({ attribute: !1 })], $.prototype, "modules", void 0), P([s({ attribute: !1 })], $.prototype, "auth", void 0), P([s({ attribute: "landing-page-url" })], $.prototype, "landingPageUrl", void 0), P([s({
|
|
3259
3233
|
type: Boolean,
|
|
3260
3234
|
attribute: "show-help"
|
|
3261
|
-
})], $.prototype, "showHelp", void 0),
|
|
3235
|
+
})], $.prototype, "showHelp", void 0), P([s({ attribute: "help-url" })], $.prototype, "helpUrl", void 0), P([s({ attribute: !1 })], $.prototype, "feedback", void 0), P([s({
|
|
3262
3236
|
type: Boolean,
|
|
3263
3237
|
attribute: "show-notification"
|
|
3264
|
-
})], $.prototype, "showNotification", void 0),
|
|
3238
|
+
})], $.prototype, "showNotification", void 0), P([s({
|
|
3265
3239
|
type: Boolean,
|
|
3266
3240
|
attribute: "notification-active"
|
|
3267
|
-
})], $.prototype, "notificationActive", void 0),
|
|
3241
|
+
})], $.prototype, "notificationActive", void 0), P([s({
|
|
3268
3242
|
type: Boolean,
|
|
3269
3243
|
attribute: "open",
|
|
3270
3244
|
reflect: !0
|
|
3271
|
-
})], $.prototype, "open", void 0),
|
|
3245
|
+
})], $.prototype, "open", void 0), P([l()], $.prototype, "_currentItem", void 0), P([l()], $.prototype, "_resolvedModules", void 0), P([l()], $.prototype, "_modulesLoading", void 0), $ = P([o("vsn-navigation")], $);
|
|
3272
3246
|
//#endregion
|
|
3273
3247
|
export { v as SearchError, $ as VSNNavigation, g as isTreeLeaf, _ as isTreeParent };
|