@visma-swno/vsn-navigation 1.5.0-beta.2 → 1.5.0-beta.3
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 +376 -376
- package/dist/custom-elements.json +1 -1
- package/package.json +1 -1
|
@@ -20,34 +20,34 @@ if (m.styleSheet != null && !document[ne]) {
|
|
|
20
20
|
n instanceof CSSPropertyRule && (e.insertRule(n.cssText), m.styleSheet.deleteRule(t - 1 - r));
|
|
21
21
|
}), document.adoptedStyleSheets.push(e);
|
|
22
22
|
}
|
|
23
|
-
var h = m,
|
|
23
|
+
var h = m, re = "lit-localize-status", g = (e, ...t) => ({
|
|
24
24
|
strTag: !0,
|
|
25
25
|
strings: e,
|
|
26
26
|
values: t
|
|
27
|
-
}),
|
|
27
|
+
}), ie = (e) => typeof e != "string" && "strTag" in e, ae = (e, t, n) => {
|
|
28
28
|
let r = e[0];
|
|
29
29
|
for (let i = 1; i < e.length; i++) r += t[n ? n[i - 1] : i - 1], r += e[i];
|
|
30
30
|
return r;
|
|
31
|
-
},
|
|
32
|
-
function
|
|
33
|
-
if (
|
|
34
|
-
|
|
31
|
+
}, oe = ((e) => ie(e) ? ae(e.strings, e.values) : e), _ = oe, se = !1;
|
|
32
|
+
function ce(e) {
|
|
33
|
+
if (se) throw Error("lit-localize can only be configured once");
|
|
34
|
+
_ = e, se = !0;
|
|
35
35
|
}
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region node_modules/@lit/localize/internal/localized-controller.js
|
|
38
|
-
var
|
|
38
|
+
var le = class {
|
|
39
39
|
constructor(e) {
|
|
40
40
|
this.__litLocalizeEventHandler = (e) => {
|
|
41
41
|
e.detail.status === "ready" && this.host.requestUpdate();
|
|
42
42
|
}, this.host = e;
|
|
43
43
|
}
|
|
44
44
|
hostConnected() {
|
|
45
|
-
window.addEventListener(
|
|
45
|
+
window.addEventListener(re, this.__litLocalizeEventHandler);
|
|
46
46
|
}
|
|
47
47
|
hostDisconnected() {
|
|
48
|
-
window.removeEventListener(
|
|
48
|
+
window.removeEventListener(re, this.__litLocalizeEventHandler);
|
|
49
49
|
}
|
|
50
|
-
},
|
|
50
|
+
}, ue = (e) => e.addController(new le(e)), v = () => (e, t) => (e.addInitializer(ue), e), de = class {
|
|
51
51
|
constructor() {
|
|
52
52
|
this.settled = !1, this.promise = new Promise((e, t) => {
|
|
53
53
|
this._resolve = e, this._reject = t;
|
|
@@ -59,77 +59,77 @@ var ce = class {
|
|
|
59
59
|
reject(e) {
|
|
60
60
|
this.settled = !0, this._reject(e);
|
|
61
61
|
}
|
|
62
|
-
},
|
|
63
|
-
for (let e = 0; e < 256; e++)
|
|
64
|
-
function
|
|
62
|
+
}, y = [];
|
|
63
|
+
for (let e = 0; e < 256; e++) y[e] = (e >> 4 & 15).toString(16) + (e & 15).toString(16);
|
|
64
|
+
function fe(e) {
|
|
65
65
|
let t = 0, n = 8997, r = 0, i = 33826, a = 0, o = 40164, s = 0, c = 52210;
|
|
66
66
|
for (let l = 0; l < e.length; l++) n ^= e.charCodeAt(l), t = n * 435, r = i * 435, a = o * 435, s = c * 435, a += n << 8, s += i << 8, r += t >>> 16, n = t & 65535, a += r >>> 16, i = r & 65535, c = s + (a >>> 16) & 65535, o = a & 65535;
|
|
67
|
-
return
|
|
67
|
+
return y[c >> 8] + y[c & 255] + y[o >> 8] + y[o & 255] + y[i >> 8] + y[i & 255] + y[n >> 8] + y[n & 255];
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
function
|
|
71
|
-
return (t ?
|
|
69
|
+
var pe = "h", me = "s";
|
|
70
|
+
function he(e, t) {
|
|
71
|
+
return (t ? pe : me) + fe(typeof e == "string" ? e : e.join(""));
|
|
72
72
|
}
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region node_modules/@lit/localize/internal/runtime-msg.js
|
|
75
|
-
var
|
|
76
|
-
function
|
|
75
|
+
var ge = /* @__PURE__ */ new WeakMap(), _e = /* @__PURE__ */ new Map();
|
|
76
|
+
function ve(e, t, n) {
|
|
77
77
|
if (e) {
|
|
78
|
-
let r = e[n?.id ??
|
|
78
|
+
let r = e[n?.id ?? ye(t)];
|
|
79
79
|
if (r) {
|
|
80
80
|
if (typeof r == "string") return r;
|
|
81
|
-
if ("strTag" in r) return
|
|
81
|
+
if ("strTag" in r) return ae(r.strings, t.values, r.values);
|
|
82
82
|
{
|
|
83
|
-
let e =
|
|
84
|
-
return e === void 0 && (e = r.values,
|
|
83
|
+
let e = ge.get(r);
|
|
84
|
+
return e === void 0 && (e = r.values, ge.set(r, e)), {
|
|
85
85
|
...r,
|
|
86
86
|
values: e.map((e) => t.values[e])
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
return
|
|
91
|
+
return oe(t);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
let t = typeof e == "string" ? e : e.strings, n =
|
|
95
|
-
return n === void 0 && (n =
|
|
93
|
+
function ye(e) {
|
|
94
|
+
let t = typeof e == "string" ? e : e.strings, n = _e.get(t);
|
|
95
|
+
return n === void 0 && (n = he(t, typeof e != "string" && !("strTag" in e)), _e.set(t, n)), n;
|
|
96
96
|
}
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region node_modules/@lit/localize/init/runtime.js
|
|
99
|
-
function
|
|
100
|
-
window.dispatchEvent(new CustomEvent(
|
|
99
|
+
function be(e) {
|
|
100
|
+
window.dispatchEvent(new CustomEvent(re, { detail: e }));
|
|
101
101
|
}
|
|
102
|
-
var
|
|
103
|
-
|
|
104
|
-
var
|
|
105
|
-
getLocale:
|
|
106
|
-
setLocale:
|
|
107
|
-
}),
|
|
108
|
-
if (e === (
|
|
109
|
-
if (!
|
|
110
|
-
if (!
|
|
111
|
-
|
|
112
|
-
let t =
|
|
113
|
-
return
|
|
102
|
+
var b = "", xe, Se, x, Ce, we, S = new de();
|
|
103
|
+
S.resolve();
|
|
104
|
+
var C = 0, Te = (e) => (ce(((e, t) => ve(we, e, t))), b = Se = e.sourceLocale, x = new Set(e.targetLocales), x.add(e.sourceLocale), Ce = e.loadLocale, {
|
|
105
|
+
getLocale: Ee,
|
|
106
|
+
setLocale: De
|
|
107
|
+
}), Ee = () => b, De = (e) => {
|
|
108
|
+
if (e === (xe ?? b)) return S.promise;
|
|
109
|
+
if (!x || !Ce) throw Error("Internal error");
|
|
110
|
+
if (!x.has(e)) throw Error("Invalid locale code");
|
|
111
|
+
C++;
|
|
112
|
+
let t = C;
|
|
113
|
+
return xe = e, S.settled && (S = new de()), be({
|
|
114
114
|
status: "loading",
|
|
115
115
|
loadingLocale: e
|
|
116
|
-
}), (e ===
|
|
117
|
-
|
|
116
|
+
}), (e === Se ? Promise.resolve({ templates: void 0 }) : Ce(e)).then((n) => {
|
|
117
|
+
C === t && (b = e, xe = void 0, we = n.templates, be({
|
|
118
118
|
status: "ready",
|
|
119
119
|
readyLocale: e
|
|
120
|
-
}),
|
|
120
|
+
}), S.resolve());
|
|
121
121
|
}, (n) => {
|
|
122
|
-
|
|
122
|
+
C === t && (be({
|
|
123
123
|
status: "error",
|
|
124
124
|
errorLocale: e,
|
|
125
125
|
errorMessage: n.toString()
|
|
126
|
-
}),
|
|
127
|
-
}),
|
|
128
|
-
},
|
|
126
|
+
}), S.reject(n));
|
|
127
|
+
}), S.promise;
|
|
128
|
+
}, Oe = () => {
|
|
129
129
|
if (typeof navigator > "u") return !1;
|
|
130
130
|
let e = navigator.userAgentData?.platform ?? navigator.platform ?? "";
|
|
131
131
|
return /mac/i.test(e);
|
|
132
|
-
},
|
|
132
|
+
}, ke = (e) => !e.shiftKey && !e.altKey && (Oe() ? e.ctrlKey !== e.metaKey : e.ctrlKey && !e.metaKey), w = (e) => e.shiftKey || e.altKey || e.ctrlKey || e.metaKey, T = (e) => !w(e), Ae = () => _("Choose a service"), je = () => _("Search"), Me = () => Oe() ? "Cmd+O / Ctrl+O" : "Ctrl+O", Ne = (e) => e.split(" ").filter((e) => e.length > 0), E = (e) => Ne(e).join("").length >= 3, Pe = (e) => _(g`Type at least ${e} characters to search`), Fe = () => _("Menu items"), Ie = () => _("Load more"), Le = () => _("Services"), Re = () => _("Services"), D = "menu", ze = "survicate-sdk", Be = "ui-components-feedback", Ve = (e) => `https://survey.survicate.com/workspaces/${e}/web_surveys.js`;
|
|
133
133
|
//#endregion
|
|
134
134
|
//#region src/shared/icons.ts
|
|
135
135
|
function O(e, t = 24, r) {
|
|
@@ -147,23 +147,23 @@ function O(e, t = 24, r) {
|
|
|
147
147
|
class=${r ?? ""}
|
|
148
148
|
>${e}</svg>`;
|
|
149
149
|
}
|
|
150
|
-
var
|
|
150
|
+
var He = i``, Ue = i`
|
|
151
151
|
<path d="M4 5h16"/>
|
|
152
152
|
<path d="M4 12h16"/>
|
|
153
153
|
<path d="M4 19h16"/>
|
|
154
|
-
`,
|
|
154
|
+
`, We = i`
|
|
155
155
|
<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"/>
|
|
156
156
|
<path d="M20 2v4"/>
|
|
157
157
|
<path d="M22 4h-4"/>
|
|
158
158
|
<circle cx="4" cy="20" r="2"/>
|
|
159
|
-
`,
|
|
159
|
+
`, Ge = i`
|
|
160
160
|
<path d="M10.268 21a2 2 0 0 0 3.464 0"/>
|
|
161
161
|
<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"/>
|
|
162
|
-
`,
|
|
162
|
+
`, Ke = i`
|
|
163
163
|
<path d="M10.268 21a2 2 0 0 0 3.464 0"/>
|
|
164
164
|
<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"/>
|
|
165
165
|
<circle cx="18" cy="5" r="3"/>
|
|
166
|
-
`,
|
|
166
|
+
`, qe = i`
|
|
167
167
|
<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"/>
|
|
168
168
|
<path d="M7 10v12"/>
|
|
169
169
|
`;
|
|
@@ -174,14 +174,14 @@ i`
|
|
|
174
174
|
<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"/>
|
|
175
175
|
<path d="M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16"/>
|
|
176
176
|
`;
|
|
177
|
-
var
|
|
177
|
+
var Je = i`
|
|
178
178
|
<path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/>
|
|
179
179
|
<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"/>
|
|
180
|
-
`,
|
|
180
|
+
`, Ye = i`
|
|
181
181
|
<circle cx="12" cy="12" r="10"/>
|
|
182
182
|
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>
|
|
183
183
|
<path d="M12 17h.01"/>
|
|
184
|
-
`,
|
|
184
|
+
`, Xe = i`
|
|
185
185
|
<circle cx="12" cy="8" r="5"/>
|
|
186
186
|
<path d="M20 21a8 8 0 0 0-16 0"/>
|
|
187
187
|
`;
|
|
@@ -192,11 +192,11 @@ i`
|
|
|
192
192
|
<path d="M12 17v5"/>
|
|
193
193
|
<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"/>
|
|
194
194
|
`;
|
|
195
|
-
var
|
|
195
|
+
var Ze = i`
|
|
196
196
|
<path d="m16 17 5-5-5-5"/>
|
|
197
197
|
<path d="M21 12H9"/>
|
|
198
198
|
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/>
|
|
199
|
-
`,
|
|
199
|
+
`, Qe = i`
|
|
200
200
|
<path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/>
|
|
201
201
|
<path d="m21 3-9 9"/>
|
|
202
202
|
<path d="M15 3h6v6"/>
|
|
@@ -205,17 +205,17 @@ i`
|
|
|
205
205
|
<circle cx="12" cy="12" r="10"/>
|
|
206
206
|
<circle cx="12" cy="12" r="1"/>
|
|
207
207
|
`;
|
|
208
|
-
var
|
|
208
|
+
var $e = i`
|
|
209
209
|
<path d="m7 15 5 5 5-5"/>
|
|
210
210
|
<path d="m7 9 5-5 5 5"/>
|
|
211
|
-
`,
|
|
211
|
+
`, et = i`
|
|
212
212
|
<path d="m18 15-6-6-6 6"/>
|
|
213
|
-
`,
|
|
213
|
+
`, k = i`
|
|
214
214
|
<path d="m6 9 6 6 6-6"/>
|
|
215
|
-
`,
|
|
215
|
+
`, tt = i`
|
|
216
216
|
<circle cx="11" cy="11" r="8"/>
|
|
217
217
|
<path d="m21 21-4.3-4.3"/>
|
|
218
|
-
`,
|
|
218
|
+
`, nt = i`
|
|
219
219
|
<circle cx="12" cy="12" r="10"/>
|
|
220
220
|
<path d="m15 9-6 6"/>
|
|
221
221
|
<path d="m9 9 6 6"/>
|
|
@@ -225,7 +225,7 @@ i`
|
|
|
225
225
|
<line x1="12" x2="12" y1="8" y2="12"/>
|
|
226
226
|
<line x1="12" x2="12.01" y1="16" y2="16"/>
|
|
227
227
|
`;
|
|
228
|
-
var
|
|
228
|
+
var rt = i`
|
|
229
229
|
<path d="M12 16h.01"/>
|
|
230
230
|
<path d="M12 8v4"/>
|
|
231
231
|
<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"/>
|
|
@@ -236,9 +236,9 @@ i`
|
|
|
236
236
|
`, i`
|
|
237
237
|
<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"/>
|
|
238
238
|
`;
|
|
239
|
-
var
|
|
239
|
+
var it = i`
|
|
240
240
|
<path d="m9 18 6-6-6-6"/>
|
|
241
|
-
`,
|
|
241
|
+
`, at = class extends Event {
|
|
242
242
|
constructor(e, t, n, r) {
|
|
243
243
|
super("context-request", {
|
|
244
244
|
bubbles: !0,
|
|
@@ -248,12 +248,12 @@ var rt = i`
|
|
|
248
248
|
};
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region node_modules/@lit/context/lib/create-context.js
|
|
251
|
-
function
|
|
251
|
+
function ot(e) {
|
|
252
252
|
return e;
|
|
253
253
|
}
|
|
254
254
|
//#endregion
|
|
255
255
|
//#region node_modules/@lit/context/lib/controllers/context-consumer.js
|
|
256
|
-
var
|
|
256
|
+
var st = class {
|
|
257
257
|
constructor(e, t, n, r) {
|
|
258
258
|
if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (e, t) => {
|
|
259
259
|
this.unsubscribe && (this.unsubscribe !== t && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = e, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(e, t)), this.unsubscribe = t;
|
|
@@ -270,9 +270,9 @@ var ot = class {
|
|
|
270
270
|
this.unsubscribe &&= (this.unsubscribe(), void 0);
|
|
271
271
|
}
|
|
272
272
|
dispatchRequest() {
|
|
273
|
-
this.host.dispatchEvent(new
|
|
273
|
+
this.host.dispatchEvent(new at(this.context, this.host, this.t, this.subscribe));
|
|
274
274
|
}
|
|
275
|
-
},
|
|
275
|
+
}, ct = class {
|
|
276
276
|
get value() {
|
|
277
277
|
return this.o;
|
|
278
278
|
}
|
|
@@ -302,14 +302,14 @@ var ot = class {
|
|
|
302
302
|
clearCallbacks() {
|
|
303
303
|
this.subscriptions.clear();
|
|
304
304
|
}
|
|
305
|
-
},
|
|
305
|
+
}, lt = class extends Event {
|
|
306
306
|
constructor(e, t) {
|
|
307
307
|
super("context-provider", {
|
|
308
308
|
bubbles: !0,
|
|
309
309
|
composed: !0
|
|
310
310
|
}), this.context = e, this.contextTarget = t;
|
|
311
311
|
}
|
|
312
|
-
},
|
|
312
|
+
}, ut = class extends ct {
|
|
313
313
|
constructor(e, t, n) {
|
|
314
314
|
super(t.context === void 0 ? n : t.initialValue), this.onContextRequest = (e) => {
|
|
315
315
|
if (e.context !== this.context) return;
|
|
@@ -318,7 +318,7 @@ var ot = class {
|
|
|
318
318
|
}, this.onProviderRequest = (e) => {
|
|
319
319
|
if (e.context !== this.context || (e.contextTarget ?? e.composedPath()[0]) === this.host) return;
|
|
320
320
|
let t = /* @__PURE__ */ new Set();
|
|
321
|
-
for (let [e, { consumerHost: n }] of this.subscriptions) t.has(e) || (t.add(e), n.dispatchEvent(new
|
|
321
|
+
for (let [e, { consumerHost: n }] of this.subscriptions) t.has(e) || (t.add(e), n.dispatchEvent(new at(this.context, n, e, !0)));
|
|
322
322
|
e.stopPropagation();
|
|
323
323
|
}, this.host = e, t.context === void 0 ? this.context = t : this.context = t.context, this.attachListeners(), this.host.addController?.(this);
|
|
324
324
|
}
|
|
@@ -326,12 +326,12 @@ var ot = class {
|
|
|
326
326
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
327
327
|
}
|
|
328
328
|
hostConnected() {
|
|
329
|
-
this.host.dispatchEvent(new
|
|
329
|
+
this.host.dispatchEvent(new lt(this.context, this.host));
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
332
|
//#endregion
|
|
333
333
|
//#region node_modules/@lit/context/lib/decorators/provide.js
|
|
334
|
-
function
|
|
334
|
+
function dt({ context: e }) {
|
|
335
335
|
return (t, n) => {
|
|
336
336
|
let r = /* @__PURE__ */ new WeakMap();
|
|
337
337
|
if (typeof n == "object") return {
|
|
@@ -342,7 +342,7 @@ function ut({ context: e }) {
|
|
|
342
342
|
return r.get(this).setValue(e), t.set.call(this, e);
|
|
343
343
|
},
|
|
344
344
|
init(t) {
|
|
345
|
-
return r.set(this, new
|
|
345
|
+
return r.set(this, new ut(this, {
|
|
346
346
|
context: e,
|
|
347
347
|
initialValue: t
|
|
348
348
|
})), t;
|
|
@@ -350,7 +350,7 @@ function ut({ context: e }) {
|
|
|
350
350
|
};
|
|
351
351
|
{
|
|
352
352
|
t.constructor.addInitializer(((t) => {
|
|
353
|
-
r.set(t, new
|
|
353
|
+
r.set(t, new ut(t, { context: e }));
|
|
354
354
|
}));
|
|
355
355
|
let i = Object.getOwnPropertyDescriptor(t, n), a;
|
|
356
356
|
if (i === void 0) {
|
|
@@ -381,10 +381,10 @@ function ut({ context: e }) {
|
|
|
381
381
|
}
|
|
382
382
|
//#endregion
|
|
383
383
|
//#region node_modules/@lit/context/lib/decorators/consume.js
|
|
384
|
-
function
|
|
384
|
+
function ft({ context: e, subscribe: t }) {
|
|
385
385
|
return (n, r) => {
|
|
386
386
|
typeof r == "object" ? r.addInitializer((function() {
|
|
387
|
-
new
|
|
387
|
+
new st(this, {
|
|
388
388
|
context: e,
|
|
389
389
|
callback: (e) => {
|
|
390
390
|
n.set.call(this, e);
|
|
@@ -392,7 +392,7 @@ function dt({ context: e, subscribe: t }) {
|
|
|
392
392
|
subscribe: t
|
|
393
393
|
});
|
|
394
394
|
})) : n.constructor.addInitializer(((n) => {
|
|
395
|
-
new
|
|
395
|
+
new st(n, {
|
|
396
396
|
context: e,
|
|
397
397
|
callback: (e) => {
|
|
398
398
|
n[r] = e;
|
|
@@ -404,20 +404,20 @@ function dt({ context: e, subscribe: t }) {
|
|
|
404
404
|
}
|
|
405
405
|
//#endregion
|
|
406
406
|
//#region src/shared/types/index.ts
|
|
407
|
-
function
|
|
407
|
+
function A(e) {
|
|
408
408
|
return "url" in e;
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function j(e) {
|
|
411
411
|
return "items" in e;
|
|
412
412
|
}
|
|
413
|
-
var
|
|
413
|
+
var pt = class e extends Error {
|
|
414
414
|
constructor(t) {
|
|
415
415
|
super(t), this.name = "SearchError", Object.setPrototypeOf(this, e.prototype);
|
|
416
416
|
}
|
|
417
|
-
},
|
|
417
|
+
}, mt = ot("activeId"), ht = ot(Symbol("focus-manager"));
|
|
418
418
|
//#endregion
|
|
419
419
|
//#region \0@oxc-project+runtime@0.127.0/helpers/decorate.js
|
|
420
|
-
function
|
|
420
|
+
function M(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 j(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 N, P = class extends e {
|
|
429
429
|
static {
|
|
430
|
-
|
|
430
|
+
N = this;
|
|
431
431
|
}
|
|
432
432
|
static {
|
|
433
433
|
this._idCounter = 0;
|
|
@@ -461,8 +461,8 @@ var M, N = 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 || w(e))) {
|
|
465
|
+
if (N.menuShortcuts.includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "ArrowUp") {
|
|
466
466
|
this._focusManager?.focusPrev(this);
|
|
467
467
|
return;
|
|
468
468
|
}
|
|
@@ -470,10 +470,10 @@ var M, N = class extends e {
|
|
|
470
470
|
this._focusManager?.focusNext(this);
|
|
471
471
|
return;
|
|
472
472
|
}
|
|
473
|
-
|
|
473
|
+
j(t) ? this.handleKeyForParent(e.key) : this.handleKeyForLeaf(e.key);
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
|
-
let e =
|
|
476
|
+
let e = N._idCounter++;
|
|
477
477
|
this._tooltipId = `vsn-side-menu-item-tooltip-${e}`, this._childListId = `vsn-side-menu-item-list-${e}`;
|
|
478
478
|
}
|
|
479
479
|
focusSelf() {
|
|
@@ -481,10 +481,10 @@ var M, N = class extends e {
|
|
|
481
481
|
}
|
|
482
482
|
willUpdate(e) {
|
|
483
483
|
let t = this.tree;
|
|
484
|
-
t !== void 0 && e.has("_currentActiveId") && (this._isActive = this._currentActiveId === t.id,
|
|
484
|
+
t !== void 0 && e.has("_currentActiveId") && (this._isActive = this._currentActiveId === t.id, j(t) && (this._isExpanded = this.isActiveNode(t) !== null));
|
|
485
485
|
}
|
|
486
486
|
render() {
|
|
487
|
-
let e = this.tree !== void 0 &&
|
|
487
|
+
let e = this.tree !== void 0 && j(this.tree), t = this.tree && j(this.tree) ? this.tree.items : [];
|
|
488
488
|
return n`
|
|
489
489
|
${this.menuItemMarkup()}
|
|
490
490
|
${e ? n`
|
|
@@ -494,7 +494,7 @@ var M, N = class extends e {
|
|
|
494
494
|
`;
|
|
495
495
|
}
|
|
496
496
|
menuItemMarkup() {
|
|
497
|
-
let e = this.tree !== void 0 &&
|
|
497
|
+
let e = this.tree !== void 0 && j(this.tree), t = this.tree?.["data-qa-id"], r = {
|
|
498
498
|
"ga-side-navigation__item": !0,
|
|
499
499
|
[`ga-side-navigation__item--level-${this.level}`]: this.level > 1,
|
|
500
500
|
"ga-side-navigation__item--expanded": this._isExpanded,
|
|
@@ -505,7 +505,7 @@ var M, N = class extends e {
|
|
|
505
505
|
<div class="ga-tooltip ga-tooltip--right-center w-34 max-w-135">${this.tree?.label}</div>
|
|
506
506
|
</div>
|
|
507
507
|
<span class="ga-side-navigation__item-icon">
|
|
508
|
-
${e ? this._isExpanded ? O(
|
|
508
|
+
${e ? this._isExpanded ? O(k, 16) : O(it, 16) : ""}
|
|
509
509
|
</span>
|
|
510
510
|
<div class="ga-side-navigation__item-content">
|
|
511
511
|
<div class="ga-side-navigation__item-label">${this.tree?.label}</div>
|
|
@@ -517,7 +517,7 @@ var M, N = class extends e {
|
|
|
517
517
|
@mouseleave=${this._onItemMouseLeave} @keydown=${this._onKeyDown}>${i}
|
|
518
518
|
</button>` : n`<a class="${d(r)}" aria-describedby="${this._tooltipId}"
|
|
519
519
|
aria-current=${ee(this._isActive ? "page" : void 0)}
|
|
520
|
-
href="${this.tree &&
|
|
520
|
+
href="${this.tree && A(this.tree) ? this.tree.url : ""}" data-qa-id="${ee(t)}"
|
|
521
521
|
@click=${this._handleItemClick} @mouseenter=${this._onItemMouseEnter}
|
|
522
522
|
@mouseleave=${this._onItemMouseLeave} @keydown=${this._onKeyDown}>${i}</a>`;
|
|
523
523
|
}
|
|
@@ -553,7 +553,7 @@ var M, N = class extends e {
|
|
|
553
553
|
}
|
|
554
554
|
isActiveNode(e) {
|
|
555
555
|
if (e.id === this._currentActiveId) return e;
|
|
556
|
-
if (
|
|
556
|
+
if (j(e)) for (let t of e.items) {
|
|
557
557
|
let e = this.isActiveNode(t);
|
|
558
558
|
if (e) return e;
|
|
559
559
|
}
|
|
@@ -562,11 +562,11 @@ var M, N = class extends e {
|
|
|
562
562
|
_handleItemClick(e) {
|
|
563
563
|
let t = this.tree;
|
|
564
564
|
if (t !== void 0) {
|
|
565
|
-
if (
|
|
565
|
+
if (j(t)) {
|
|
566
566
|
this._isExpanded = !this._isExpanded, e.preventDefault(), e.stopPropagation();
|
|
567
567
|
return;
|
|
568
568
|
}
|
|
569
|
-
e.button !== 0 ||
|
|
569
|
+
e.button !== 0 || w(e) || (e.preventDefault(), e.stopPropagation(), (!this._isActive || this.hasPageTitle) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
|
|
570
570
|
bubbles: !0,
|
|
571
571
|
composed: !0,
|
|
572
572
|
detail: t
|
|
@@ -574,13 +574,13 @@ var M, N = class extends e {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
};
|
|
577
|
-
|
|
578
|
-
context:
|
|
577
|
+
M([s({ attribute: !1 })], P.prototype, "tree", void 0), M([s({ type: Number })], P.prototype, "level", void 0), M([ft({
|
|
578
|
+
context: mt,
|
|
579
579
|
subscribe: !0
|
|
580
|
-
}), l()],
|
|
580
|
+
}), l()], P.prototype, "_currentActiveId", void 0), M([l()], P.prototype, "_isActive", void 0), M([l()], P.prototype, "_isExpanded", void 0), M([l()], P.prototype, "_showTooltip", void 0), M([l()], P.prototype, "_tooltipPos", void 0), M([c(".ga-side-navigation__item-label")], P.prototype, "_labelEl", void 0), M([ft({ context: ht })], P.prototype, "_focusManager", void 0), M([s({ type: Boolean })], P.prototype, "hasPageTitle", void 0), P = N = M([o("vsn-menu-item")], P);
|
|
581
581
|
//#endregion
|
|
582
582
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu.ts
|
|
583
|
-
var
|
|
583
|
+
var F = class extends e {
|
|
584
584
|
constructor(...e) {
|
|
585
585
|
super(...e), this.items = [], this._currentActiveId = "", this.currentItem = "", this.hasPageTitle = !1, this._focusManager = {
|
|
586
586
|
focusPrev: (e) => {
|
|
@@ -602,7 +602,7 @@ var P = class extends e {
|
|
|
602
602
|
render() {
|
|
603
603
|
return n`
|
|
604
604
|
<div class="flex flex-col ga-side-navigation__body h-full overflow-y-hidden">
|
|
605
|
-
<nav class="flex-1 overflow-y-auto ga-scroll" aria-label=${
|
|
605
|
+
<nav class="flex-1 overflow-y-auto ga-scroll" aria-label=${_("Side navigation")}>
|
|
606
606
|
<ul class="vsn-menu__list">
|
|
607
607
|
${u(this.items, (e) => n`<li class="vsn-menu__item">${this.menuItem(e)}</li>`)}
|
|
608
608
|
</ul>
|
|
@@ -618,15 +618,15 @@ var P = class extends e {
|
|
|
618
618
|
<vsn-menu-item .tree=${e} .hasPageTitle=${this.hasPageTitle}></vsn-menu-item>`;
|
|
619
619
|
}
|
|
620
620
|
};
|
|
621
|
-
|
|
621
|
+
M([s({ attribute: !1 })], F.prototype, "items", void 0), M([dt({ context: mt }), l()], F.prototype, "_currentActiveId", void 0), M([s()], F.prototype, "currentItem", void 0), M([s({ type: Boolean })], F.prototype, "hasPageTitle", void 0), M([dt({ context: ht })], F.prototype, "_focusManager", void 0), F = M([v(), o("vsn-menu")], F);
|
|
622
622
|
//#endregion
|
|
623
623
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu-button.ts
|
|
624
|
-
var
|
|
624
|
+
var I = class extends e {
|
|
625
625
|
constructor(...e) {
|
|
626
626
|
super(...e), this.label = "", this.closeOnClick = !1, this._onKeydown = (e) => {
|
|
627
|
-
e.defaultPrevented ||
|
|
627
|
+
e.defaultPrevented || T(e) && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), this.click());
|
|
628
628
|
}, this._onClick = (e) => {
|
|
629
|
-
e.defaultPrevented || e.button !== 0 ||
|
|
629
|
+
e.defaultPrevented || e.button !== 0 || w(e) || this.closeOnClick && this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
|
|
630
630
|
bubbles: !0,
|
|
631
631
|
composed: !0
|
|
632
632
|
}));
|
|
@@ -737,13 +737,13 @@ var F = class extends e {
|
|
|
737
737
|
`;
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
|
-
|
|
740
|
+
M([s()], I.prototype, "label", void 0), M([s({
|
|
741
741
|
type: Boolean,
|
|
742
742
|
attribute: "close-on-click"
|
|
743
|
-
})],
|
|
743
|
+
})], I.prototype, "closeOnClick", void 0), I = M([o("vsn-menu-button")], I);
|
|
744
744
|
//#endregion
|
|
745
745
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu-separator.ts
|
|
746
|
-
var
|
|
746
|
+
var gt = class extends e {
|
|
747
747
|
static {
|
|
748
748
|
this.styles = [t`
|
|
749
749
|
/* flow-root establishes a BFC so the .line's margins stay contained.
|
|
@@ -767,15 +767,15 @@ var ht = class extends e {
|
|
|
767
767
|
return n`<div class="line"></div>`;
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
|
-
|
|
770
|
+
gt = M([o("vsn-menu-separator")], gt);
|
|
771
771
|
//#endregion
|
|
772
772
|
//#region src/components/vsn-side-bar/vsn-footer/vsn-footer.keyboard.ts
|
|
773
|
-
var
|
|
773
|
+
var _t = class {
|
|
774
774
|
constructor(e) {
|
|
775
775
|
this._prevExpanded = !1, this.onUserKeydown = (e) => {
|
|
776
|
-
e.defaultPrevented ||
|
|
776
|
+
e.defaultPrevented || w(e) || e.key === "Escape" && this.host.expanded && (e.preventDefault(), this.host.expanded = !1);
|
|
777
777
|
}, this.onDropdownKeydown = (e) => {
|
|
778
|
-
if (e.defaultPrevented ||
|
|
778
|
+
if (e.defaultPrevented || w(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
779
779
|
e.preventDefault();
|
|
780
780
|
let t = this.host.querySelector(".ga-side-navigation__footer-dropdown");
|
|
781
781
|
if (!t) return;
|
|
@@ -794,7 +794,7 @@ var gt = class {
|
|
|
794
794
|
} else !this.host.expanded && this._prevExpanded && this.host.querySelector(".ga-side-navigation__user")?.focus();
|
|
795
795
|
this._prevExpanded = this.host.expanded;
|
|
796
796
|
}
|
|
797
|
-
},
|
|
797
|
+
}, vt = class {
|
|
798
798
|
constructor(e, t, n) {
|
|
799
799
|
this._onPointerDown = (e) => {
|
|
800
800
|
let t = e.composedPath();
|
|
@@ -811,18 +811,18 @@ var gt = class {
|
|
|
811
811
|
hostDisconnected() {
|
|
812
812
|
document.removeEventListener("pointerdown", this._onPointerDown, !0);
|
|
813
813
|
}
|
|
814
|
-
},
|
|
815
|
-
function
|
|
814
|
+
}, yt = "initials";
|
|
815
|
+
function bt(e, t, n, r) {
|
|
816
816
|
if (!t) return;
|
|
817
817
|
let i = new URLSearchParams({
|
|
818
|
-
type:
|
|
818
|
+
type: yt,
|
|
819
819
|
size: r
|
|
820
820
|
});
|
|
821
821
|
return n && i.set("client_id", n), `${e}${t}?${i}`;
|
|
822
822
|
}
|
|
823
823
|
//#endregion
|
|
824
824
|
//#region src/components/controllers/focus-trapping-controller.ts
|
|
825
|
-
var
|
|
825
|
+
var L = class {
|
|
826
826
|
constructor(e, t, n = void 0) {
|
|
827
827
|
this._rootElement = null, this._onKeyDown = (e) => {
|
|
828
828
|
if (e.defaultPrevented || e.key !== "Tab" || e.ctrlKey || e.altKey || e.metaKey || !this._appliesCallback() || this._rootElement == null) return;
|
|
@@ -841,24 +841,24 @@ var I = class {
|
|
|
841
841
|
hostUpdated() {
|
|
842
842
|
this._rootElement == null && this._rootSelector && (this._rootElement = this._host.renderRoot.querySelector(this._rootSelector), this._rootElement != null && this._rootElement.addEventListener("keydown", this._onKeyDown));
|
|
843
843
|
}
|
|
844
|
-
},
|
|
845
|
-
profile:
|
|
846
|
-
logout:
|
|
847
|
-
},
|
|
848
|
-
profile:
|
|
849
|
-
logout:
|
|
850
|
-
}),
|
|
844
|
+
}, xt = {
|
|
845
|
+
profile: Xe,
|
|
846
|
+
logout: Ze
|
|
847
|
+
}, St = () => ({
|
|
848
|
+
profile: _("My profile"),
|
|
849
|
+
logout: _("Log out")
|
|
850
|
+
}), R = class extends e {
|
|
851
851
|
createRenderRoot() {
|
|
852
852
|
return this;
|
|
853
853
|
}
|
|
854
854
|
get _items() {
|
|
855
855
|
return [{
|
|
856
856
|
id: "profile",
|
|
857
|
-
label:
|
|
857
|
+
label: St().profile,
|
|
858
858
|
url: this.myProfileUrl
|
|
859
859
|
}, {
|
|
860
860
|
id: "logout",
|
|
861
|
-
label:
|
|
861
|
+
label: St().logout,
|
|
862
862
|
url: "/logout"
|
|
863
863
|
}];
|
|
864
864
|
}
|
|
@@ -888,9 +888,9 @@ var I = class {
|
|
|
888
888
|
});
|
|
889
889
|
}, this._onLabelMouseLeave = () => {
|
|
890
890
|
this._showTooltip = !1;
|
|
891
|
-
}, this._keyboard = new
|
|
891
|
+
}, this._keyboard = new _t(this), new vt(this, [".ga-side-navigation__footer-dropdown", ".ga-side-navigation__user"], () => {
|
|
892
892
|
this.expanded = !1;
|
|
893
|
-
}), new
|
|
893
|
+
}), new L(this, () => this.expanded);
|
|
894
894
|
}
|
|
895
895
|
willUpdate(e) {
|
|
896
896
|
(e.has("user") || e.has("profilePictureBaseUrl")) && (this._avatarFailed = !1);
|
|
@@ -906,7 +906,7 @@ var I = class {
|
|
|
906
906
|
|
|
907
907
|
<button
|
|
908
908
|
type="button"
|
|
909
|
-
aria-label=${this.user.userEmail ?
|
|
909
|
+
aria-label=${this.user.userEmail ? _(g`User menu, ${this.user.userName}, ${this.user.userEmail}`) : _(g`User menu, ${this.user.userName}`)}
|
|
910
910
|
aria-expanded="${this.expanded}"
|
|
911
911
|
class="ga-side-navigation__user
|
|
912
912
|
${this.expanded ? "ga-side-navigation__user--active" : ""}"
|
|
@@ -928,7 +928,7 @@ var I = class {
|
|
|
928
928
|
</div>
|
|
929
929
|
|
|
930
930
|
<span class="ga-side-navigation__user-action">
|
|
931
|
-
${this.expanded ? O(
|
|
931
|
+
${this.expanded ? O(et, 16) : O($e, 16)}
|
|
932
932
|
</span>
|
|
933
933
|
|
|
934
934
|
</button>
|
|
@@ -944,20 +944,20 @@ var I = class {
|
|
|
944
944
|
return n`
|
|
945
945
|
<div class="ga-side-navigation__footer-dropdown"
|
|
946
946
|
role="group"
|
|
947
|
-
aria-label=${
|
|
947
|
+
aria-label=${_("User menu")}
|
|
948
948
|
@keydown=${this._keyboard.onDropdownKeydown}>
|
|
949
949
|
|
|
950
950
|
${this._items.map((e) => {
|
|
951
951
|
let t = n`
|
|
952
952
|
<span class="ga-side-navigation__footer-dropdown-icon">
|
|
953
|
-
${O(
|
|
953
|
+
${O(xt[e.id], 16)}
|
|
954
954
|
</span>
|
|
955
955
|
<span class="ga-side-navigation__footer-dropdown-title">
|
|
956
956
|
${e.label}
|
|
957
957
|
</span>
|
|
958
958
|
${e.external ? n`
|
|
959
959
|
<span class="ga-side-navigation__footer-dropdown-trail">
|
|
960
|
-
${O(
|
|
960
|
+
${O(Qe, 16)}
|
|
961
961
|
</span>
|
|
962
962
|
` : r}
|
|
963
963
|
`;
|
|
@@ -997,7 +997,7 @@ var I = class {
|
|
|
997
997
|
}));
|
|
998
998
|
}
|
|
999
999
|
renderAvatar() {
|
|
1000
|
-
let e =
|
|
1000
|
+
let e = bt(this.profilePictureBaseUrl, this.user.userId, this.user.clientId, "small");
|
|
1001
1001
|
return e && !this._avatarFailed ? n`<img
|
|
1002
1002
|
class="ga-side-navigation__user-avatar"
|
|
1003
1003
|
src=${e}
|
|
@@ -1005,26 +1005,26 @@ var I = class {
|
|
|
1005
1005
|
@error=${() => {
|
|
1006
1006
|
this._avatarFailed = !0;
|
|
1007
1007
|
}}/>` : n`<span class="ga-side-navigation__user-avatar vsn-side-navigation__user-avatar--icon">
|
|
1008
|
-
${O(
|
|
1008
|
+
${O(Xe, 24)}
|
|
1009
1009
|
</span>`;
|
|
1010
1010
|
}
|
|
1011
1011
|
};
|
|
1012
|
-
|
|
1012
|
+
M([s({ attribute: !1 })], R.prototype, "user", void 0), M([s()], R.prototype, "profilePictureBaseUrl", void 0), M([s()], R.prototype, "myProfileUrl", void 0), M([s({
|
|
1013
1013
|
type: Boolean,
|
|
1014
1014
|
reflect: !0
|
|
1015
|
-
})],
|
|
1015
|
+
})], R.prototype, "expanded", void 0), M([l()], R.prototype, "_avatarFailed", void 0), M([l()], R.prototype, "_showTooltip", void 0), M([l()], R.prototype, "_tooltipLabel", void 0), M([l()], R.prototype, "_tooltipPos", void 0), R = M([v(), o("vsn-footer")], R);
|
|
1016
1016
|
//#endregion
|
|
1017
1017
|
//#region src/components/vsn-side-bar/vsn-header/vsn-header.keyboard.ts
|
|
1018
|
-
var
|
|
1018
|
+
var Ct = class {
|
|
1019
1019
|
constructor(e) {
|
|
1020
1020
|
this.onSwitcherKeydown = (e) => {
|
|
1021
|
-
e.defaultPrevented ||
|
|
1021
|
+
e.defaultPrevented || w(e) || this.host.expanded && e.key === "Escape" && this.host.requestClose() && e.preventDefault();
|
|
1022
1022
|
}, this.host = e, e.addController(this);
|
|
1023
1023
|
}
|
|
1024
1024
|
hostConnected() {}
|
|
1025
|
-
},
|
|
1025
|
+
}, wt, z = class extends e {
|
|
1026
1026
|
static {
|
|
1027
|
-
|
|
1027
|
+
wt = this;
|
|
1028
1028
|
}
|
|
1029
1029
|
createRenderRoot() {
|
|
1030
1030
|
return this;
|
|
@@ -1035,18 +1035,18 @@ var St = class {
|
|
|
1035
1035
|
constructor() {
|
|
1036
1036
|
super(), this.items = [], this.loading = !1, this.maxHeight = 0, this._handleKeydown = (e) => {
|
|
1037
1037
|
if (e.defaultPrevented) return;
|
|
1038
|
-
if (
|
|
1038
|
+
if (T(e) && (e.key === "Enter" || e.key === " ")) {
|
|
1039
1039
|
let t = e.target;
|
|
1040
1040
|
t instanceof HTMLElement && t.classList.contains("ga-side-navigation__switcher-dropdown-item") && (e.preventDefault(), t.click());
|
|
1041
1041
|
return;
|
|
1042
1042
|
}
|
|
1043
|
-
if (
|
|
1043
|
+
if (w(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
1044
1044
|
e.preventDefault();
|
|
1045
1045
|
let t = Array.from(this.querySelectorAll(".ga-side-navigation__switcher-dropdown-item"));
|
|
1046
1046
|
if (t.length === 0) return;
|
|
1047
1047
|
let n = this.getRootNode().activeElement, r = n instanceof HTMLElement ? t.indexOf(n) : -1, i = null;
|
|
1048
1048
|
e.key === "ArrowUp" && r > 0 ? i = t[r - 1] : e.key === "ArrowDown" && r < t.length - 1 && (i = t[r + 1]), i?.focus();
|
|
1049
|
-
}, this._headerId = `vsn-switcher-dropdown-header-${
|
|
1049
|
+
}, this._headerId = `vsn-switcher-dropdown-header-${wt._idCounter++}`;
|
|
1050
1050
|
}
|
|
1051
1051
|
firstUpdated() {
|
|
1052
1052
|
this.focus();
|
|
@@ -1058,7 +1058,7 @@ var St = class {
|
|
|
1058
1058
|
}));
|
|
1059
1059
|
}
|
|
1060
1060
|
_handleItemClick(e, t) {
|
|
1061
|
-
|
|
1061
|
+
w(e) || (e.preventDefault(), this.dispatchEvent(new CustomEvent("item-select", {
|
|
1062
1062
|
detail: { id: t },
|
|
1063
1063
|
bubbles: !0,
|
|
1064
1064
|
composed: !0
|
|
@@ -1069,7 +1069,7 @@ var St = class {
|
|
|
1069
1069
|
<div class="ga-side-navigation__switcher-dropdown vsn-switcher-dropdown--loading"
|
|
1070
1070
|
role="status"
|
|
1071
1071
|
aria-busy="true"
|
|
1072
|
-
aria-label=${
|
|
1072
|
+
aria-label=${_("Loading modules")}>
|
|
1073
1073
|
<span class="vsn-spinner"></span>
|
|
1074
1074
|
</div>
|
|
1075
1075
|
` : n`
|
|
@@ -1078,7 +1078,7 @@ var St = class {
|
|
|
1078
1078
|
aria-labelledby=${this._headerId}
|
|
1079
1079
|
@keydown=${this._handleKeydown}>
|
|
1080
1080
|
<span id=${this._headerId}
|
|
1081
|
-
class="ga-side-navigation__switcher-dropdown-header">${
|
|
1081
|
+
class="ga-side-navigation__switcher-dropdown-header">${Ae()}</span>
|
|
1082
1082
|
${this.items.map((e) => n`
|
|
1083
1083
|
<a class="ga-side-navigation__switcher-dropdown-item"
|
|
1084
1084
|
href=${e.url ?? ""}
|
|
@@ -1090,10 +1090,10 @@ var St = class {
|
|
|
1090
1090
|
`;
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
|
-
|
|
1093
|
+
M([s({ attribute: !1 })], z.prototype, "items", void 0), M([s({ type: Boolean })], z.prototype, "loading", void 0), M([s({ attribute: !1 })], z.prototype, "maxHeight", void 0), z = wt = M([v(), o("vsn-switcher-menu")], z);
|
|
1094
1094
|
//#endregion
|
|
1095
1095
|
//#region src/components/vsn-side-bar/vsn-search/vsn-search.ts
|
|
1096
|
-
var
|
|
1096
|
+
var B = class extends e {
|
|
1097
1097
|
constructor(...e) {
|
|
1098
1098
|
super(...e), this.shortcut = "", this.value = "", this.loading = !1, this._scheduleAutoSearch = () => {
|
|
1099
1099
|
this._cancelDebounce(), this._debounceTimer = window.setTimeout(this._emitSearch, 200);
|
|
@@ -1111,33 +1111,33 @@ var z = class extends e {
|
|
|
1111
1111
|
composed: !0
|
|
1112
1112
|
}));
|
|
1113
1113
|
}, this._handleEscape = (e) => {
|
|
1114
|
-
e.defaultPrevented ||
|
|
1114
|
+
e.defaultPrevented || T(e) && e.key === "Escape" && this.value.length > 0 && (e.preventDefault(), this._emitSearchCleared());
|
|
1115
1115
|
};
|
|
1116
1116
|
}
|
|
1117
1117
|
createRenderRoot() {
|
|
1118
1118
|
return this;
|
|
1119
1119
|
}
|
|
1120
1120
|
render() {
|
|
1121
|
-
let e = this.value.length > 0 && this.value
|
|
1121
|
+
let e = this.value.length > 0 && !E(this.value);
|
|
1122
1122
|
return n`
|
|
1123
1123
|
<div class="ga-input ga-side-navigation__search" @keydown=${this._handleEscape}>
|
|
1124
1124
|
<button
|
|
1125
1125
|
type="button"
|
|
1126
1126
|
class="vsn-search__trigger"
|
|
1127
|
-
aria-label=${
|
|
1127
|
+
aria-label=${_("Search")}
|
|
1128
1128
|
?disabled=${!this._canSearch}
|
|
1129
1129
|
@click=${this._emitSearch}>
|
|
1130
|
-
${O(
|
|
1130
|
+
${O(tt, 24)}
|
|
1131
1131
|
</button>
|
|
1132
1132
|
<input type="search"
|
|
1133
|
-
.placeholder=${
|
|
1133
|
+
.placeholder=${je()}
|
|
1134
1134
|
.value=${this.value}
|
|
1135
1135
|
@input=${this._handleInput}
|
|
1136
1136
|
@keydown=${this._handleEnter}/>
|
|
1137
1137
|
${this._trailingSlot()}
|
|
1138
1138
|
</div>
|
|
1139
1139
|
${f(e, () => n`
|
|
1140
|
-
<div class="vsn-search__helper">${
|
|
1140
|
+
<div class="vsn-search__helper">${Pe(3)}</div>`)}
|
|
1141
1141
|
`;
|
|
1142
1142
|
}
|
|
1143
1143
|
focus() {
|
|
@@ -1145,7 +1145,7 @@ var z = class extends e {
|
|
|
1145
1145
|
e?.focus(), e?.select();
|
|
1146
1146
|
}
|
|
1147
1147
|
get _canSearch() {
|
|
1148
|
-
return this.value
|
|
1148
|
+
return E(this.value);
|
|
1149
1149
|
}
|
|
1150
1150
|
_handleInput(e) {
|
|
1151
1151
|
let t = e.target.value;
|
|
@@ -1159,7 +1159,7 @@ var z = class extends e {
|
|
|
1159
1159
|
this._cancelDebounce(), super.disconnectedCallback();
|
|
1160
1160
|
}
|
|
1161
1161
|
_handleEnter(e) {
|
|
1162
|
-
e.defaultPrevented ||
|
|
1162
|
+
e.defaultPrevented || T(e) && e.key === "Enter" && this._emitSearch();
|
|
1163
1163
|
}
|
|
1164
1164
|
_trailingSlot() {
|
|
1165
1165
|
let e = this.loading, t = this.value.length > 0, i = !this.loading && this.value.length === 0 && this.shortcut.length > 0;
|
|
@@ -1170,13 +1170,13 @@ var z = class extends e {
|
|
|
1170
1170
|
`;
|
|
1171
1171
|
}
|
|
1172
1172
|
_spinner() {
|
|
1173
|
-
return n`<span class="vsn-spinner" role="status" aria-label=${
|
|
1173
|
+
return n`<span class="vsn-spinner" role="status" aria-label=${_("Searching")}></span>`;
|
|
1174
1174
|
}
|
|
1175
1175
|
_clearButton() {
|
|
1176
1176
|
return n`
|
|
1177
|
-
<button class="vsn-search__clear" aria-label=${
|
|
1177
|
+
<button class="vsn-search__clear" aria-label=${_("Clear search")}
|
|
1178
1178
|
@click=${this._emitSearchCleared}>
|
|
1179
|
-
${O(
|
|
1179
|
+
${O(nt, 16)}
|
|
1180
1180
|
</button>
|
|
1181
1181
|
`;
|
|
1182
1182
|
}
|
|
@@ -1184,17 +1184,17 @@ var z = class extends e {
|
|
|
1184
1184
|
return n`<kbd class="ga-side-navigation__search-shortcut">${this.shortcut}</kbd>`;
|
|
1185
1185
|
}
|
|
1186
1186
|
};
|
|
1187
|
-
|
|
1187
|
+
M([s()], B.prototype, "shortcut", void 0), M([s()], B.prototype, "value", void 0), M([s({ type: Boolean })], B.prototype, "loading", void 0), B = M([v(), o("vsn-search")], B);
|
|
1188
1188
|
//#endregion
|
|
1189
1189
|
//#region src/components/vsn-side-bar/vsn-header/vsn-header.ts
|
|
1190
|
-
var
|
|
1190
|
+
var V = class extends e {
|
|
1191
1191
|
createRenderRoot() {
|
|
1192
1192
|
return this;
|
|
1193
1193
|
}
|
|
1194
1194
|
constructor() {
|
|
1195
|
-
super(), this.modules = [], this.modulesLoading = !1, this.moduleSwitcherAlwaysOpen = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new
|
|
1195
|
+
super(), this.modules = [], this.modulesLoading = !1, this.moduleSwitcherAlwaysOpen = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new Ct(this), new vt(this, [".ga-side-navigation__switcher-dropdown", ".ga-side-navigation__switcher"], () => {
|
|
1196
1196
|
this.canClose && (this.expanded = !1);
|
|
1197
|
-
}), new
|
|
1197
|
+
}), new L(this, () => this.canClose && this.expanded, ".vsn-switcher-anchor");
|
|
1198
1198
|
}
|
|
1199
1199
|
focus() {
|
|
1200
1200
|
let e = this.querySelector("vsn-search") || this.querySelector("button.ga-side-navigation__switcher") || this.querySelector("vsn-switcher-menu");
|
|
@@ -1209,13 +1209,13 @@ var B = class extends e {
|
|
|
1209
1209
|
${this.canToggle ? n`
|
|
1210
1210
|
<button type="button"
|
|
1211
1211
|
class="ga-side-navigation__switcher ${this.expanded ? "ga-side-navigation__switcher--active" : ""}"
|
|
1212
|
-
aria-label=${
|
|
1212
|
+
aria-label=${_(g`Service menu, ${e.title}`)}
|
|
1213
1213
|
aria-expanded="${this.expanded}"
|
|
1214
1214
|
@click=${this._toggle}
|
|
1215
1215
|
title="">
|
|
1216
1216
|
<span class="ga-side-navigation__switcher-title">${e.title}</span>
|
|
1217
1217
|
<span class="ga-side-navigation__switcher-action">
|
|
1218
|
-
${this.expanded ? O(
|
|
1218
|
+
${this.expanded ? O(k, 16) : O($e, 16)}
|
|
1219
1219
|
</span>
|
|
1220
1220
|
</button>
|
|
1221
1221
|
` : n`
|
|
@@ -1225,7 +1225,7 @@ var B = class extends e {
|
|
|
1225
1225
|
title="">
|
|
1226
1226
|
<span class="ga-side-navigation__switcher-title">${e.title}</span>
|
|
1227
1227
|
<span class="ga-side-navigation__switcher-action">
|
|
1228
|
-
${O(
|
|
1228
|
+
${O(He, 16)}
|
|
1229
1229
|
</span>
|
|
1230
1230
|
</div>
|
|
1231
1231
|
`}
|
|
@@ -1241,7 +1241,7 @@ var B = class extends e {
|
|
|
1241
1241
|
|
|
1242
1242
|
${f(this.search?.enabled || !1, () => n`
|
|
1243
1243
|
<vsn-search
|
|
1244
|
-
.shortcut=${
|
|
1244
|
+
.shortcut=${Me()}
|
|
1245
1245
|
.value=${this.searchValue}
|
|
1246
1246
|
.loading=${this.searchLoading}>
|
|
1247
1247
|
</vsn-search>`)}
|
|
@@ -1251,7 +1251,7 @@ var B = class extends e {
|
|
|
1251
1251
|
get _state() {
|
|
1252
1252
|
if (this.modulesLoading) return {
|
|
1253
1253
|
kind: "module-loading",
|
|
1254
|
-
title: this.activeModuleLabel ||
|
|
1254
|
+
title: this.activeModuleLabel || Le()
|
|
1255
1255
|
};
|
|
1256
1256
|
let e = this.modules.find((e) => e.id === this.activeModuleId);
|
|
1257
1257
|
return e ? {
|
|
@@ -1260,7 +1260,7 @@ var B = class extends e {
|
|
|
1260
1260
|
available: this.modules.filter((t) => t.id !== e.id)
|
|
1261
1261
|
} : {
|
|
1262
1262
|
kind: "module-unmatched",
|
|
1263
|
-
title: this.activeModuleId && this.activeModuleLabel ? this.activeModuleLabel :
|
|
1263
|
+
title: this.activeModuleId && this.activeModuleLabel ? this.activeModuleLabel : Le(),
|
|
1264
1264
|
available: this.modules
|
|
1265
1265
|
};
|
|
1266
1266
|
}
|
|
@@ -1300,16 +1300,16 @@ var B = class extends e {
|
|
|
1300
1300
|
}), !0);
|
|
1301
1301
|
}
|
|
1302
1302
|
};
|
|
1303
|
-
|
|
1303
|
+
M([s({ attribute: !1 })], V.prototype, "modules", void 0), M([s()], V.prototype, "activeModuleId", void 0), M([s()], V.prototype, "activeModuleLabel", void 0), M([s({ type: Boolean })], V.prototype, "modulesLoading", void 0), M([s({ type: Boolean })], V.prototype, "moduleSwitcherAlwaysOpen", void 0), M([s({ attribute: !1 })], V.prototype, "moduleSwitcherMaxHeight", void 0), M([s({ attribute: !1 })], V.prototype, "search", void 0), M([s()], V.prototype, "searchValue", void 0), M([s({ type: Boolean })], V.prototype, "searchLoading", void 0), M([s({
|
|
1304
1304
|
type: Boolean,
|
|
1305
1305
|
reflect: !0
|
|
1306
|
-
})],
|
|
1306
|
+
})], V.prototype, "expanded", void 0), V = M([v(), o("vsn-header")], V);
|
|
1307
1307
|
//#endregion
|
|
1308
1308
|
//#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.keyboard.ts
|
|
1309
|
-
var
|
|
1309
|
+
var Tt = class {
|
|
1310
1310
|
constructor(e) {
|
|
1311
1311
|
this.onResultsKeydown = (e) => {
|
|
1312
|
-
if (e.defaultPrevented ||
|
|
1312
|
+
if (e.defaultPrevented || w(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
1313
1313
|
e.preventDefault();
|
|
1314
1314
|
let t = Array.from(this.host.querySelectorAll(".ga-side-navigation__search-results-item"));
|
|
1315
1315
|
if (t.length === 0) return;
|
|
@@ -1320,9 +1320,9 @@ var wt = class {
|
|
|
1320
1320
|
}, this.host = e, e.addController(this);
|
|
1321
1321
|
}
|
|
1322
1322
|
hostConnected() {}
|
|
1323
|
-
},
|
|
1323
|
+
}, Et, H = class extends e {
|
|
1324
1324
|
static {
|
|
1325
|
-
|
|
1325
|
+
Et = this;
|
|
1326
1326
|
}
|
|
1327
1327
|
createRenderRoot() {
|
|
1328
1328
|
return this;
|
|
@@ -1344,7 +1344,7 @@ var wt = class {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
}, this._onItemMouseLeave = () => {
|
|
1346
1346
|
this._showTooltip = !1;
|
|
1347
|
-
}, this._tooltipId = `vsn-search-result-item-tooltip-${
|
|
1347
|
+
}, this._tooltipId = `vsn-search-result-item-tooltip-${Et._idCounter++}`;
|
|
1348
1348
|
}
|
|
1349
1349
|
render() {
|
|
1350
1350
|
let e = this.item;
|
|
@@ -1378,12 +1378,12 @@ var wt = class {
|
|
|
1378
1378
|
}));
|
|
1379
1379
|
}
|
|
1380
1380
|
};
|
|
1381
|
-
|
|
1381
|
+
M([s({ attribute: !1 })], H.prototype, "item", void 0), M([l()], H.prototype, "_showTooltip", void 0), M([l()], H.prototype, "_tooltipPos", void 0), M([c(".ga-side-navigation__search-results-item-label")], H.prototype, "_labelEl", void 0), H = Et = M([o("vsn-search-result-item")], H);
|
|
1382
1382
|
//#endregion
|
|
1383
1383
|
//#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.ts
|
|
1384
|
-
var
|
|
1384
|
+
var U = class extends e {
|
|
1385
1385
|
constructor(...e) {
|
|
1386
|
-
super(...e), this.loadingMore = !1, this._keyboard = new
|
|
1386
|
+
super(...e), this.loadingMore = !1, this._keyboard = new Tt(this);
|
|
1387
1387
|
}
|
|
1388
1388
|
createRenderRoot() {
|
|
1389
1389
|
return this;
|
|
@@ -1394,10 +1394,10 @@ var H = class extends e {
|
|
|
1394
1394
|
_emptyState() {
|
|
1395
1395
|
return n`
|
|
1396
1396
|
<div class="vsn-search-results__empty" role="status" aria-live="polite">
|
|
1397
|
-
<div class="vsn-search-results__empty-title">${
|
|
1398
|
-
<div class="vsn-search-results__empty-message">${
|
|
1399
|
-
<div class="vsn-search-results__empty-hint">${
|
|
1400
|
-
<div class="vsn-search-results__empty-support">${
|
|
1397
|
+
<div class="vsn-search-results__empty-title">${_("No results found")}</div>
|
|
1398
|
+
<div class="vsn-search-results__empty-message">${_("We couldn't find any matches.")}</div>
|
|
1399
|
+
<div class="vsn-search-results__empty-hint">${_("Try different keywords or check spelling.")}</div>
|
|
1400
|
+
<div class="vsn-search-results__empty-support">${_("Need help? Contact support.")}</div>
|
|
1401
1401
|
</div>
|
|
1402
1402
|
`;
|
|
1403
1403
|
}
|
|
@@ -1414,7 +1414,7 @@ var H = class extends e {
|
|
|
1414
1414
|
<div class="ga-side-navigation__body h-full ga-scroll"
|
|
1415
1415
|
@keydown=${this._keyboard.onResultsKeydown}>
|
|
1416
1416
|
<div class="ga-side-navigation__search-results-title" role="status" aria-live="polite" aria-atomic="true">
|
|
1417
|
-
${
|
|
1417
|
+
${_(t === 1 ? g`${t} result` : g`${t} results`)}
|
|
1418
1418
|
</div>
|
|
1419
1419
|
${e.map((e) => n`
|
|
1420
1420
|
<vsn-search-result-item .item=${e}></vsn-search-result-item>
|
|
@@ -1425,7 +1425,7 @@ var H = class extends e {
|
|
|
1425
1425
|
class="vsn-search-results__load-more"
|
|
1426
1426
|
?disabled=${this.loadingMore}
|
|
1427
1427
|
@click=${this._onLoadMore}>
|
|
1428
|
-
${
|
|
1428
|
+
${Ie()}
|
|
1429
1429
|
</button>
|
|
1430
1430
|
`)}
|
|
1431
1431
|
</div>
|
|
@@ -1438,16 +1438,16 @@ var H = class extends e {
|
|
|
1438
1438
|
}));
|
|
1439
1439
|
}
|
|
1440
1440
|
};
|
|
1441
|
-
|
|
1441
|
+
M([s({ attribute: !1 })], U.prototype, "results", void 0), M([s()], U.prototype, "errorMessage", void 0), M([s()], U.prototype, "nextCursor", void 0), M([s({ type: Boolean })], U.prototype, "loadingMore", void 0), U = M([v(), o("vsn-search-results")], U);
|
|
1442
1442
|
//#endregion
|
|
1443
1443
|
//#region src/components/vsn-side-bar/vsn-template/vsn-template.ts
|
|
1444
|
-
var
|
|
1444
|
+
var Dt = [
|
|
1445
1445
|
160,
|
|
1446
1446
|
96,
|
|
1447
1447
|
144,
|
|
1448
1448
|
192,
|
|
1449
1449
|
160
|
|
1450
|
-
],
|
|
1450
|
+
], Ot = class extends e {
|
|
1451
1451
|
createRenderRoot() {
|
|
1452
1452
|
return this;
|
|
1453
1453
|
}
|
|
@@ -1456,8 +1456,8 @@ var Et = [
|
|
|
1456
1456
|
<div class="ga-side-navigation__body h-full"
|
|
1457
1457
|
role="status"
|
|
1458
1458
|
aria-busy="true"
|
|
1459
|
-
aria-label=${
|
|
1460
|
-
${
|
|
1459
|
+
aria-label=${_("Loading results")}>
|
|
1460
|
+
${Dt.map((e) => n`
|
|
1461
1461
|
<div class="vsn-template__row">
|
|
1462
1462
|
<div class="vsn-template__bar" style="width: ${e}px"></div>
|
|
1463
1463
|
</div>
|
|
@@ -1466,34 +1466,34 @@ var Et = [
|
|
|
1466
1466
|
`;
|
|
1467
1467
|
}
|
|
1468
1468
|
};
|
|
1469
|
-
|
|
1469
|
+
Ot = M([v(), o("vsn-template")], Ot);
|
|
1470
1470
|
//#endregion
|
|
1471
1471
|
//#region src/components/vsn-side-bar/vsn-error-state/vsn-error-state.ts
|
|
1472
|
-
var
|
|
1472
|
+
var kt = class extends e {
|
|
1473
1473
|
createRenderRoot() {
|
|
1474
1474
|
return this;
|
|
1475
1475
|
}
|
|
1476
1476
|
render() {
|
|
1477
1477
|
return n`
|
|
1478
1478
|
<div class="vsn-error-state" role="alert" aria-live="assertive">
|
|
1479
|
-
<div class="vsn-error-state__icon">${O(
|
|
1480
|
-
<div class="vsn-error-state__title">${
|
|
1481
|
-
<div class="vsn-error-state__message">${
|
|
1482
|
-
<div class="vsn-error-state__hint">${
|
|
1483
|
-
<div class="vsn-error-state__support">${
|
|
1479
|
+
<div class="vsn-error-state__icon">${O(rt, 24)}</div>
|
|
1480
|
+
<div class="vsn-error-state__title">${_("Loading error")}</div>
|
|
1481
|
+
<div class="vsn-error-state__message">${_("We're unable to load the menu.")}</div>
|
|
1482
|
+
<div class="vsn-error-state__hint">${_("Please check your internet connection and try again.")}</div>
|
|
1483
|
+
<div class="vsn-error-state__support">${_("If the issue persists, reload the page or contact support.")}</div>
|
|
1484
1484
|
</div>
|
|
1485
1485
|
`;
|
|
1486
1486
|
}
|
|
1487
1487
|
};
|
|
1488
|
-
|
|
1488
|
+
kt = M([v(), o("vsn-error-state")], kt);
|
|
1489
1489
|
//#endregion
|
|
1490
1490
|
//#region src/components/vsn-side-bar/vsn-search-scopes/vsn-search-scopes.ts
|
|
1491
|
-
var
|
|
1491
|
+
var At, W = class extends e {
|
|
1492
1492
|
static {
|
|
1493
|
-
|
|
1493
|
+
At = this;
|
|
1494
1494
|
}
|
|
1495
1495
|
constructor(...e) {
|
|
1496
|
-
super(...e), this.scopes = [], this.selectedScopeId = "", this._name = `vsn-search-scope-${++
|
|
1496
|
+
super(...e), this.scopes = [], this.selectedScopeId = "", this._name = `vsn-search-scope-${++At._counter}`;
|
|
1497
1497
|
}
|
|
1498
1498
|
createRenderRoot() {
|
|
1499
1499
|
return this;
|
|
@@ -1503,7 +1503,7 @@ var U, W = class extends e {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
render() {
|
|
1505
1505
|
return this.scopes.length <= 1 ? n`` : n`
|
|
1506
|
-
<div class="ga-radio-group" role="radiogroup" aria-label=${
|
|
1506
|
+
<div class="ga-radio-group" role="radiogroup" aria-label=${_("Search scope")} @change=${this._onChange}>
|
|
1507
1507
|
${this.scopes.map((e) => this._renderScope(e))}
|
|
1508
1508
|
</div>
|
|
1509
1509
|
`;
|
|
@@ -1531,30 +1531,30 @@ var U, W = class extends e {
|
|
|
1531
1531
|
}));
|
|
1532
1532
|
}
|
|
1533
1533
|
};
|
|
1534
|
-
|
|
1534
|
+
M([s({ attribute: !1 })], W.prototype, "scopes", void 0), M([s()], W.prototype, "selectedScopeId", void 0), W = At = M([v(), o("vsn-search-scopes")], W);
|
|
1535
1535
|
//#endregion
|
|
1536
1536
|
//#region src/shared/lang/locale-codes.ts
|
|
1537
|
-
var
|
|
1537
|
+
var jt = "en", Mt = [
|
|
1538
1538
|
"da",
|
|
1539
1539
|
"fi",
|
|
1540
1540
|
"nl",
|
|
1541
1541
|
"no",
|
|
1542
1542
|
"sv"
|
|
1543
|
-
],
|
|
1543
|
+
], Nt = /* @__PURE__ */ p({ templates: () => Pt }), Pt = {
|
|
1544
1544
|
s09a45db408570a7a: "Min profil",
|
|
1545
1545
|
s119f9875b7d4cdfc: "Har du brug for hjælp? Kontakt support.",
|
|
1546
|
-
s1228605ee65ddefa:
|
|
1547
|
-
s2bb33291ef8ae3d4:
|
|
1546
|
+
s1228605ee65ddefa: g`${0} resultat`,
|
|
1547
|
+
s2bb33291ef8ae3d4: g`Indtast mindst ${0} tegn for at søge`,
|
|
1548
1548
|
s2be8f715fbd00dcb: "Vi fandt ingen matchende resultater.",
|
|
1549
1549
|
s3112f1ca236c8a61: "Indlæsningsfejl",
|
|
1550
1550
|
s352719d86112de9a: "Hjælp",
|
|
1551
|
-
s387a4a41718122cb:
|
|
1551
|
+
s387a4a41718122cb: g`${0} resultater`,
|
|
1552
1552
|
s3fb7db4771812f0c: "Hvis problemet fortsætter, genindlæs siden eller kontakt support.",
|
|
1553
1553
|
s442010a1a0adb81d: "Vis skjulte brødkrummer",
|
|
1554
1554
|
s457d59d649765619: "Gå til hovedindhold",
|
|
1555
|
-
s4863fb8024781ae9:
|
|
1555
|
+
s4863fb8024781ae9: g`Brugermenu, ${0}, ${1}`,
|
|
1556
1556
|
s4b0c6b66b4efd7d8: "Vælg en tjeneste",
|
|
1557
|
-
s58a1dace5a9acc5b:
|
|
1557
|
+
s58a1dace5a9acc5b: g`Tjenestemenu, ${0}`,
|
|
1558
1558
|
s5be3c6d61cd9182f: "Notifikationer",
|
|
1559
1559
|
s5d369be551a4dd7a: "Menupunkter",
|
|
1560
1560
|
s5d929ff1619ac0c9: "Søg",
|
|
@@ -1568,7 +1568,7 @@ var kt = "en", At = [
|
|
|
1568
1568
|
s8d91340b5caa2d5c: "Åbn menu",
|
|
1569
1569
|
s9094c0cde8fb5058: "Ingen resultater fundet",
|
|
1570
1570
|
s970de9ba0cf07677: "Søger",
|
|
1571
|
-
s97b95ad19ebb75a9:
|
|
1571
|
+
s97b95ad19ebb75a9: g`Brugermenu, ${0}`,
|
|
1572
1572
|
sacde528ad7d2d031: "Vi kan ikke indlæse menuen.",
|
|
1573
1573
|
sb560e5cd092ef2e5: "Indlæser resultater",
|
|
1574
1574
|
sb64127e4e4f0b575: "Log ud",
|
|
@@ -1579,21 +1579,21 @@ var kt = "en", At = [
|
|
|
1579
1579
|
sf55d634dcc743595: "Tjenester",
|
|
1580
1580
|
sfbf31f663cef6cc2: "Prøv andre søgeord eller tjek stavningen.",
|
|
1581
1581
|
s38385cd359b17f7a: "Loading modules"
|
|
1582
|
-
},
|
|
1582
|
+
}, Ft = /* @__PURE__ */ p({ templates: () => It }), It = {
|
|
1583
1583
|
s09a45db408570a7a: "Oma profiili",
|
|
1584
1584
|
s119f9875b7d4cdfc: "Tarvitsetko apua? Ota yhteyttä tukeen.",
|
|
1585
|
-
s1228605ee65ddefa:
|
|
1586
|
-
s2bb33291ef8ae3d4:
|
|
1585
|
+
s1228605ee65ddefa: g`${0} tulos`,
|
|
1586
|
+
s2bb33291ef8ae3d4: g`Kirjoita vähintään ${0} merkkiä hakua varten`,
|
|
1587
1587
|
s2be8f715fbd00dcb: "Emme löytäneet osumia.",
|
|
1588
1588
|
s3112f1ca236c8a61: "Latausvirhe",
|
|
1589
1589
|
s352719d86112de9a: "Ohje",
|
|
1590
|
-
s387a4a41718122cb:
|
|
1590
|
+
s387a4a41718122cb: g`${0} tulosta`,
|
|
1591
1591
|
s3fb7db4771812f0c: "Jos ongelma jatkuu, lataa sivu uudelleen tai ota yhteyttä tukeen.",
|
|
1592
1592
|
s442010a1a0adb81d: "Näytä piilotetut murupolun kohteet",
|
|
1593
1593
|
s457d59d649765619: "Siirry pääsisältöön",
|
|
1594
|
-
s4863fb8024781ae9:
|
|
1594
|
+
s4863fb8024781ae9: g`Käyttäjävalikko, ${0}, ${1}`,
|
|
1595
1595
|
s4b0c6b66b4efd7d8: "Valitse palvelu",
|
|
1596
|
-
s58a1dace5a9acc5b:
|
|
1596
|
+
s58a1dace5a9acc5b: g`Palveluvalikko, ${0}`,
|
|
1597
1597
|
s5be3c6d61cd9182f: "Ilmoitukset",
|
|
1598
1598
|
s5d369be551a4dd7a: "Valikkokohteet",
|
|
1599
1599
|
s5d929ff1619ac0c9: "Hae",
|
|
@@ -1607,7 +1607,7 @@ var kt = "en", At = [
|
|
|
1607
1607
|
s8d91340b5caa2d5c: "Avaa valikko",
|
|
1608
1608
|
s9094c0cde8fb5058: "Tuloksia ei löytynyt",
|
|
1609
1609
|
s970de9ba0cf07677: "Haetaan",
|
|
1610
|
-
s97b95ad19ebb75a9:
|
|
1610
|
+
s97b95ad19ebb75a9: g`Käyttäjävalikko, ${0}`,
|
|
1611
1611
|
sacde528ad7d2d031: "Valikko ei lataudu.",
|
|
1612
1612
|
sb560e5cd092ef2e5: "Ladataan tuloksia",
|
|
1613
1613
|
sb64127e4e4f0b575: "Kirjaudu ulos",
|
|
@@ -1618,21 +1618,21 @@ var kt = "en", At = [
|
|
|
1618
1618
|
sf55d634dcc743595: "Palvelut",
|
|
1619
1619
|
sfbf31f663cef6cc2: "Kokeile eri hakusanoja tai tarkista kirjoitusasu.",
|
|
1620
1620
|
s38385cd359b17f7a: "Loading modules"
|
|
1621
|
-
},
|
|
1621
|
+
}, Lt = /* @__PURE__ */ p({ templates: () => Rt }), Rt = {
|
|
1622
1622
|
s09a45db408570a7a: "Mijn profiel",
|
|
1623
1623
|
s119f9875b7d4cdfc: "Hulp nodig? Neem contact op met ondersteuning.",
|
|
1624
|
-
s1228605ee65ddefa:
|
|
1625
|
-
s2bb33291ef8ae3d4:
|
|
1624
|
+
s1228605ee65ddefa: g`${0} resultaat`,
|
|
1625
|
+
s2bb33291ef8ae3d4: g`Typ minimaal ${0} tekens om te zoeken`,
|
|
1626
1626
|
s2be8f715fbd00dcb: "We konden geen overeenkomsten vinden.",
|
|
1627
1627
|
s3112f1ca236c8a61: "Laadingsfout",
|
|
1628
1628
|
s352719d86112de9a: "Hulp",
|
|
1629
|
-
s387a4a41718122cb:
|
|
1629
|
+
s387a4a41718122cb: g`${0} resultaten`,
|
|
1630
1630
|
s3fb7db4771812f0c: "Als het probleem aanhoudt, laad de pagina opnieuw of neem contact op met ondersteuning.",
|
|
1631
1631
|
s442010a1a0adb81d: "Toon verborgen broodkruimels",
|
|
1632
1632
|
s457d59d649765619: "Ga naar hoofdinhoud",
|
|
1633
|
-
s4863fb8024781ae9:
|
|
1633
|
+
s4863fb8024781ae9: g`Gebruikersmenu, ${0}, ${1}`,
|
|
1634
1634
|
s4b0c6b66b4efd7d8: "Kies een service",
|
|
1635
|
-
s58a1dace5a9acc5b:
|
|
1635
|
+
s58a1dace5a9acc5b: g`Servicemenu, ${0}`,
|
|
1636
1636
|
s5be3c6d61cd9182f: "Meldingen",
|
|
1637
1637
|
s5d369be551a4dd7a: "Menu-items",
|
|
1638
1638
|
s5d929ff1619ac0c9: "Zoeken",
|
|
@@ -1646,7 +1646,7 @@ var kt = "en", At = [
|
|
|
1646
1646
|
s8d91340b5caa2d5c: "Menu openen",
|
|
1647
1647
|
s9094c0cde8fb5058: "Geen resultaten gevonden",
|
|
1648
1648
|
s970de9ba0cf07677: "Zoeken",
|
|
1649
|
-
s97b95ad19ebb75a9:
|
|
1649
|
+
s97b95ad19ebb75a9: g`Gebruikersmenu, ${0}`,
|
|
1650
1650
|
sacde528ad7d2d031: "We kunnen het menu niet laden.",
|
|
1651
1651
|
sb560e5cd092ef2e5: "Resultaten laden",
|
|
1652
1652
|
sb64127e4e4f0b575: "Uitloggen",
|
|
@@ -1657,21 +1657,21 @@ var kt = "en", At = [
|
|
|
1657
1657
|
sf55d634dcc743595: "Services",
|
|
1658
1658
|
sfbf31f663cef6cc2: "Probeer andere zoekwoorden of controleer de spelling.",
|
|
1659
1659
|
s38385cd359b17f7a: "Loading modules"
|
|
1660
|
-
},
|
|
1660
|
+
}, zt = /* @__PURE__ */ p({ templates: () => Bt }), Bt = {
|
|
1661
1661
|
s09a45db408570a7a: "Min profil",
|
|
1662
1662
|
s119f9875b7d4cdfc: "Trenger du hjelp? Kontakt støtte.",
|
|
1663
|
-
s1228605ee65ddefa:
|
|
1664
|
-
s2bb33291ef8ae3d4:
|
|
1663
|
+
s1228605ee65ddefa: g`${0} resultat`,
|
|
1664
|
+
s2bb33291ef8ae3d4: g`Skriv inn minst ${0} tegn for å søke`,
|
|
1665
1665
|
s2be8f715fbd00dcb: "Vi fant ingen treff.",
|
|
1666
1666
|
s3112f1ca236c8a61: "Lastingsfeil",
|
|
1667
1667
|
s352719d86112de9a: "Hjelp",
|
|
1668
|
-
s387a4a41718122cb:
|
|
1668
|
+
s387a4a41718122cb: g`${0} resultater`,
|
|
1669
1669
|
s3fb7db4771812f0c: "Hvis problemet vedvarer, last inn siden på nytt eller kontakt støtte.",
|
|
1670
1670
|
s442010a1a0adb81d: "Vis skjulte brødsmuleelementer",
|
|
1671
1671
|
s457d59d649765619: "Hopp til hovedinnhold",
|
|
1672
|
-
s4863fb8024781ae9:
|
|
1672
|
+
s4863fb8024781ae9: g`Brukermeny, ${0}, ${1}`,
|
|
1673
1673
|
s4b0c6b66b4efd7d8: "Velg en tjeneste",
|
|
1674
|
-
s58a1dace5a9acc5b:
|
|
1674
|
+
s58a1dace5a9acc5b: g`Tjenestemeny, ${0}`,
|
|
1675
1675
|
s5be3c6d61cd9182f: "Varsler",
|
|
1676
1676
|
s5d369be551a4dd7a: "Menyelementer",
|
|
1677
1677
|
s5d929ff1619ac0c9: "Søk",
|
|
@@ -1685,7 +1685,7 @@ var kt = "en", At = [
|
|
|
1685
1685
|
s8d91340b5caa2d5c: "Åpne meny",
|
|
1686
1686
|
s9094c0cde8fb5058: "Ingen resultater funnet",
|
|
1687
1687
|
s970de9ba0cf07677: "Søker",
|
|
1688
|
-
s97b95ad19ebb75a9:
|
|
1688
|
+
s97b95ad19ebb75a9: g`Brukermeny, ${0}`,
|
|
1689
1689
|
sacde528ad7d2d031: "Vi kan ikke laste menyen.",
|
|
1690
1690
|
sb560e5cd092ef2e5: "Laster resultater",
|
|
1691
1691
|
sb64127e4e4f0b575: "Logg ut",
|
|
@@ -1696,21 +1696,21 @@ var kt = "en", At = [
|
|
|
1696
1696
|
sf55d634dcc743595: "Tjenester",
|
|
1697
1697
|
sfbf31f663cef6cc2: "Prøv andre søkeord eller sjekk stavemåten.",
|
|
1698
1698
|
s38385cd359b17f7a: "Loading modules"
|
|
1699
|
-
},
|
|
1699
|
+
}, Vt = /* @__PURE__ */ p({ templates: () => Ht }), Ht = {
|
|
1700
1700
|
s09a45db408570a7a: "Min profil",
|
|
1701
1701
|
s119f9875b7d4cdfc: "Behöver du hjälp? Kontakta support.",
|
|
1702
|
-
s1228605ee65ddefa:
|
|
1703
|
-
s2bb33291ef8ae3d4:
|
|
1702
|
+
s1228605ee65ddefa: g`${0} resultat`,
|
|
1703
|
+
s2bb33291ef8ae3d4: g`Skriv minst ${0} tecken för att söka`,
|
|
1704
1704
|
s2be8f715fbd00dcb: "Vi hittade inga matchningar.",
|
|
1705
1705
|
s3112f1ca236c8a61: "Laddningsfel",
|
|
1706
1706
|
s352719d86112de9a: "Hjälp",
|
|
1707
|
-
s387a4a41718122cb:
|
|
1707
|
+
s387a4a41718122cb: g`${0} resultat`,
|
|
1708
1708
|
s3fb7db4771812f0c: "Om problemet kvarstår, ladda om sidan eller kontakta support.",
|
|
1709
1709
|
s442010a1a0adb81d: "Visa dolda brödsmulor",
|
|
1710
1710
|
s457d59d649765619: "Hoppa till huvudinnehåll",
|
|
1711
|
-
s4863fb8024781ae9:
|
|
1711
|
+
s4863fb8024781ae9: g`Användarmeny, ${0}, ${1}`,
|
|
1712
1712
|
s4b0c6b66b4efd7d8: "Välj en tjänst",
|
|
1713
|
-
s58a1dace5a9acc5b:
|
|
1713
|
+
s58a1dace5a9acc5b: g`Tjänstemeny, ${0}`,
|
|
1714
1714
|
s5be3c6d61cd9182f: "Aviseringar",
|
|
1715
1715
|
s5d369be551a4dd7a: "Menyalternativ",
|
|
1716
1716
|
s5d929ff1619ac0c9: "Sök",
|
|
@@ -1724,7 +1724,7 @@ var kt = "en", At = [
|
|
|
1724
1724
|
s8d91340b5caa2d5c: "Öppna meny",
|
|
1725
1725
|
s9094c0cde8fb5058: "Inga resultat hittades",
|
|
1726
1726
|
s970de9ba0cf07677: "Söker",
|
|
1727
|
-
s97b95ad19ebb75a9:
|
|
1727
|
+
s97b95ad19ebb75a9: g`Användarmeny, ${0}`,
|
|
1728
1728
|
sacde528ad7d2d031: "Vi kan inte ladda menyn.",
|
|
1729
1729
|
sb560e5cd092ef2e5: "Laddar resultat",
|
|
1730
1730
|
sb64127e4e4f0b575: "Logga ut",
|
|
@@ -1735,17 +1735,17 @@ var kt = "en", At = [
|
|
|
1735
1735
|
sf55d634dcc743595: "Tjänster",
|
|
1736
1736
|
sfbf31f663cef6cc2: "Prova andra sökord eller kontrollera stavningen.",
|
|
1737
1737
|
s38385cd359b17f7a: "Loading modules"
|
|
1738
|
-
},
|
|
1739
|
-
da:
|
|
1740
|
-
fi:
|
|
1741
|
-
nl:
|
|
1742
|
-
no:
|
|
1743
|
-
sv:
|
|
1744
|
-
}, { getLocale:
|
|
1745
|
-
sourceLocale:
|
|
1746
|
-
targetLocales:
|
|
1747
|
-
loadLocale: (e) =>
|
|
1748
|
-
}),
|
|
1738
|
+
}, Ut = {
|
|
1739
|
+
da: Nt,
|
|
1740
|
+
fi: Ft,
|
|
1741
|
+
nl: Lt,
|
|
1742
|
+
no: zt,
|
|
1743
|
+
sv: Vt
|
|
1744
|
+
}, { getLocale: Wt, setLocale: Gt } = Te({
|
|
1745
|
+
sourceLocale: jt,
|
|
1746
|
+
targetLocales: Mt,
|
|
1747
|
+
loadLocale: (e) => Ut[e] ? Promise.resolve(Ut[e]) : Promise.reject(/* @__PURE__ */ Error(`Unknown locale: ${e}`))
|
|
1748
|
+
}), Kt = t`
|
|
1749
1749
|
@layer components {
|
|
1750
1750
|
vsn-footer {
|
|
1751
1751
|
display: block;
|
|
@@ -1795,7 +1795,7 @@ var kt = "en", At = [
|
|
|
1795
1795
|
justify-content: center;
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
|
-
`,
|
|
1798
|
+
`, qt = t`
|
|
1799
1799
|
@layer components {
|
|
1800
1800
|
.vsn-switcher-anchor {
|
|
1801
1801
|
position: relative;
|
|
@@ -1809,7 +1809,7 @@ var kt = "en", At = [
|
|
|
1809
1809
|
z-index: 10;
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
1812
|
-
`,
|
|
1812
|
+
`, Jt = t`
|
|
1813
1813
|
.vsn-search__trigger,
|
|
1814
1814
|
.vsn-search__clear {
|
|
1815
1815
|
display: inline-flex;
|
|
@@ -1858,7 +1858,7 @@ var kt = "en", At = [
|
|
|
1858
1858
|
.ga-side-navigation__search input::placeholder {
|
|
1859
1859
|
color: var(--ga-color-text-disable-selected);
|
|
1860
1860
|
}
|
|
1861
|
-
`,
|
|
1861
|
+
`, Yt = t`
|
|
1862
1862
|
.vsn-search-results__empty {
|
|
1863
1863
|
display: flex;
|
|
1864
1864
|
flex-direction: column;
|
|
@@ -1927,7 +1927,7 @@ var kt = "en", At = [
|
|
|
1927
1927
|
cursor: not-allowed;
|
|
1928
1928
|
opacity: 0.5;
|
|
1929
1929
|
}
|
|
1930
|
-
`,
|
|
1930
|
+
`, Xt = t`
|
|
1931
1931
|
@layer components {
|
|
1932
1932
|
vsn-search-scopes {
|
|
1933
1933
|
display: block;
|
|
@@ -1948,7 +1948,7 @@ var kt = "en", At = [
|
|
|
1948
1948
|
text-overflow: ellipsis;
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
|
-
`,
|
|
1951
|
+
`, Zt = t`
|
|
1952
1952
|
.vsn-template__row {
|
|
1953
1953
|
display: flex;
|
|
1954
1954
|
flex-direction: column;
|
|
@@ -1963,7 +1963,7 @@ var kt = "en", At = [
|
|
|
1963
1963
|
background: var(--ga-color-miscellaneous-skeleton-element, #F2F3F5);
|
|
1964
1964
|
flex-shrink: 0;
|
|
1965
1965
|
}
|
|
1966
|
-
`,
|
|
1966
|
+
`, Qt = t`
|
|
1967
1967
|
.vsn-error-state {
|
|
1968
1968
|
display: flex;
|
|
1969
1969
|
flex-direction: column;
|
|
@@ -2002,7 +2002,7 @@ var kt = "en", At = [
|
|
|
2002
2002
|
font-weight: 400;
|
|
2003
2003
|
color: var(--ga-color-text-on-disabled);
|
|
2004
2004
|
}
|
|
2005
|
-
`,
|
|
2005
|
+
`, $t = t`
|
|
2006
2006
|
.vsn-spinner {
|
|
2007
2007
|
display: inline-block;
|
|
2008
2008
|
flex-shrink: 0;
|
|
@@ -2022,14 +2022,14 @@ var kt = "en", At = [
|
|
|
2022
2022
|
@keyframes vsn-spin {
|
|
2023
2023
|
to { transform: rotate(360deg); }
|
|
2024
2024
|
}
|
|
2025
|
-
`,
|
|
2025
|
+
`, en = "button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])", tn = class {
|
|
2026
2026
|
constructor(e) {
|
|
2027
2027
|
this.onKeydown = (e) => {
|
|
2028
|
-
if (e.defaultPrevented ||
|
|
2028
|
+
if (e.defaultPrevented || w(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
2029
2029
|
let t = this.host.renderRoot.querySelector("slot[name=\"nav-footer\"]");
|
|
2030
2030
|
if (!t) return;
|
|
2031
2031
|
let n = [];
|
|
2032
|
-
for (let e of t.assignedElements({ flatten: !0 })) e.matches(
|
|
2032
|
+
for (let e of t.assignedElements({ flatten: !0 })) e.matches(en) && n.push(e), n.push(...Array.from(e.querySelectorAll(en)));
|
|
2033
2033
|
if (n.length === 0) return;
|
|
2034
2034
|
let r = e.composedPath()[0];
|
|
2035
2035
|
if (!(r instanceof HTMLElement)) return;
|
|
@@ -2046,7 +2046,7 @@ var kt = "en", At = [
|
|
|
2046
2046
|
scrollbar-color: var(--ga-color-text-disabled) var(--ga-color-surface-page);
|
|
2047
2047
|
scrollbar-width: thin;
|
|
2048
2048
|
}
|
|
2049
|
-
`,
|
|
2049
|
+
`, nn = t`
|
|
2050
2050
|
@layer components {
|
|
2051
2051
|
.vsn-menu__list {
|
|
2052
2052
|
list-style: none;
|
|
@@ -2070,7 +2070,7 @@ var kt = "en", At = [
|
|
|
2070
2070
|
content: var(--tw-content);
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
|
-
`,
|
|
2073
|
+
`, rn = t`
|
|
2074
2074
|
@layer base {
|
|
2075
2075
|
button:where(.ga-side-navigation__item),
|
|
2076
2076
|
button:where(.ga-side-navigation__switcher),
|
|
@@ -2092,16 +2092,16 @@ var kt = "en", At = [
|
|
|
2092
2092
|
this.styles = [
|
|
2093
2093
|
h,
|
|
2094
2094
|
G,
|
|
2095
|
-
Gt,
|
|
2096
|
-
en,
|
|
2097
|
-
Wt,
|
|
2098
|
-
tn,
|
|
2099
|
-
Kt,
|
|
2100
2095
|
qt,
|
|
2096
|
+
nn,
|
|
2097
|
+
Kt,
|
|
2098
|
+
rn,
|
|
2101
2099
|
Jt,
|
|
2102
2100
|
Yt,
|
|
2103
2101
|
Xt,
|
|
2104
2102
|
Zt,
|
|
2103
|
+
Qt,
|
|
2104
|
+
$t,
|
|
2105
2105
|
t`
|
|
2106
2106
|
:host {
|
|
2107
2107
|
position: absolute;
|
|
@@ -2126,7 +2126,7 @@ var kt = "en", At = [
|
|
|
2126
2126
|
};
|
|
2127
2127
|
}
|
|
2128
2128
|
constructor() {
|
|
2129
|
-
super(), this.modules = [], this.modulesLoading = !1, this.moduleSwitcherAlwaysOpen = !1, this.lang = "en", this.error = !1, this.open = !1, this._searchQuery = "", this._searchLoading = !1, this._activeScopeId = D, this._searchLoadingMore = !1, this._moduleSwitcherMaxHeight = 0, this._hasPageTitle = !1, this._navFooterKeyboard = new
|
|
2129
|
+
super(), this.modules = [], this.modulesLoading = !1, this.moduleSwitcherAlwaysOpen = !1, this.lang = "en", this.error = !1, this.open = !1, this._searchQuery = "", this._searchLoading = !1, this._activeScopeId = D, this._searchLoadingMore = !1, this._moduleSwitcherMaxHeight = 0, this._hasPageTitle = !1, this._navFooterKeyboard = new tn(this), this._customWidthPerLanguage = { fi: "30em" }, this._onNavigate = (e) => {
|
|
2130
2130
|
this._searchQuery = "", this._searchResults = void 0, this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
|
|
2131
2131
|
bubbles: !0,
|
|
2132
2132
|
composed: !0
|
|
@@ -2145,18 +2145,18 @@ var kt = "en", At = [
|
|
|
2145
2145
|
this._activeScopeId = e.detail.scopeId, this._runSearch(this._searchQuery, this._activeScopeId);
|
|
2146
2146
|
}, this._resizeObserver = new ResizeObserver((e) => {
|
|
2147
2147
|
this._observeMenuSize(e);
|
|
2148
|
-
}), this._resizeObserver.observe(this), new
|
|
2148
|
+
}), this._resizeObserver.observe(this), new L(this, () => this.open);
|
|
2149
2149
|
}
|
|
2150
2150
|
downLevelTree(e) {
|
|
2151
2151
|
if (!e) return;
|
|
2152
2152
|
let t = e[0];
|
|
2153
|
-
if (!(!t || !
|
|
2153
|
+
if (!(!t || !j(t))) return t;
|
|
2154
2154
|
}
|
|
2155
2155
|
_observeMenuSize(e) {
|
|
2156
2156
|
this._moduleSwitcherMaxHeight = Math.max(0, e[0].contentRect.height - 134);
|
|
2157
2157
|
}
|
|
2158
2158
|
willUpdate(e) {
|
|
2159
|
-
e.has("lang") &&
|
|
2159
|
+
e.has("lang") && Gt(this.lang).catch(console.error), e.has("open") && e.get("open") && !this.open && this.resetSidebarToInitialState(), e.has("menu") && (this._hasPageTitle = this.menu?.pageTitle !== void 0, e.get("menu")?.items !== this.menu?.items && this._runSearch(this._searchQuery, this._activeScopeId));
|
|
2160
2160
|
}
|
|
2161
2161
|
updated(e) {
|
|
2162
2162
|
e.has("open") && this.open && this._scrollActiveItemIntoView(), e.has("menu") && this.open && this.menu?.currentItem && (e.get("menu")?.currentItem || this._scrollActiveItemIntoView());
|
|
@@ -2204,7 +2204,7 @@ var kt = "en", At = [
|
|
|
2204
2204
|
await this.updateComplete, this.renderRoot.querySelector("vsn-header")?.focus();
|
|
2205
2205
|
}
|
|
2206
2206
|
_onSearchInput(e) {
|
|
2207
|
-
this._searchQuery = e.detail.value, e.detail.value
|
|
2207
|
+
this._searchQuery = e.detail.value, E(e.detail.value) || this._clearSearchState();
|
|
2208
2208
|
}
|
|
2209
2209
|
_onSearchSubmit(e) {
|
|
2210
2210
|
this._runSearch(e.detail.query, this._activeScopeId);
|
|
@@ -2216,7 +2216,7 @@ var kt = "en", At = [
|
|
|
2216
2216
|
this._searchAbort?.abort(), this._searchAbort = void 0, this._searchResults = void 0, this._searchLoading = !1, this._searchLoadingMore = !1, this._searchError = void 0, this._searchNextCursor = void 0;
|
|
2217
2217
|
}
|
|
2218
2218
|
async _runSearch(e, t) {
|
|
2219
|
-
if (this._searchAbort?.abort(), this._searchAbort = void 0, this._searchError = void 0, this._searchNextCursor = void 0, this._searchLoadingMore = !1, e
|
|
2219
|
+
if (this._searchAbort?.abort(), this._searchAbort = void 0, this._searchError = void 0, this._searchNextCursor = void 0, this._searchLoadingMore = !1, !E(e)) {
|
|
2220
2220
|
this._searchResults = void 0, this._searchLoading = !1;
|
|
2221
2221
|
return;
|
|
2222
2222
|
}
|
|
@@ -2240,7 +2240,7 @@ var kt = "en", At = [
|
|
|
2240
2240
|
this._searchResults = t.results, this._searchNextCursor = t.nextCursor, this._searchLoading = !1, this._searchAbort = void 0;
|
|
2241
2241
|
} catch (e) {
|
|
2242
2242
|
if (this._searchAbort !== r) return;
|
|
2243
|
-
e instanceof
|
|
2243
|
+
e instanceof pt ? (this._searchError = e.message, this._searchResults = void 0) : console.error("Search function rejected with non-SearchError:", e), this._searchLoading = !1, this._searchAbort = void 0;
|
|
2244
2244
|
}
|
|
2245
2245
|
}
|
|
2246
2246
|
async _loadMore() {
|
|
@@ -2260,29 +2260,29 @@ var kt = "en", At = [
|
|
|
2260
2260
|
this._searchResults = [...this._searchResults ?? [], ...n.results], this._searchNextCursor = n.nextCursor, this._searchLoadingMore = !1, this._searchAbort = void 0;
|
|
2261
2261
|
} catch (e) {
|
|
2262
2262
|
if (this._searchAbort !== t) return;
|
|
2263
|
-
e instanceof
|
|
2263
|
+
e instanceof pt ? (this._searchError = e.message, this._searchResults = void 0, this._searchNextCursor = void 0) : console.error("Load-more function rejected with non-SearchError:", e), this._searchLoadingMore = !1, this._searchAbort = void 0;
|
|
2264
2264
|
}
|
|
2265
2265
|
}
|
|
2266
2266
|
_filterTree(e) {
|
|
2267
|
-
let t = this._menu?.items;
|
|
2268
|
-
if (!t?.length ||
|
|
2269
|
-
let
|
|
2270
|
-
for (let a of e) if (
|
|
2271
|
-
else
|
|
2272
|
-
let e =
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2267
|
+
let t = this._menu?.items, n = Ne(e.toLowerCase());
|
|
2268
|
+
if (!t?.length || n.length === 0) return [];
|
|
2269
|
+
let r = [], i = (e, t) => {
|
|
2270
|
+
for (let a of e) if (j(a)) i(a.items, [...t, a]);
|
|
2271
|
+
else {
|
|
2272
|
+
let e = `${a.label} ${a.keywords ?? ""}`.toLowerCase();
|
|
2273
|
+
if (n.every((t) => e.includes(t))) {
|
|
2274
|
+
let e = t.length > 0 ? [t.map((e) => e.label).join(" › ")] : void 0;
|
|
2275
|
+
r.push({
|
|
2276
|
+
id: a.id,
|
|
2277
|
+
label: a.label,
|
|
2278
|
+
url: a.url,
|
|
2279
|
+
lines: e
|
|
2280
|
+
});
|
|
2281
|
+
}
|
|
2279
2282
|
}
|
|
2280
2283
|
};
|
|
2281
2284
|
return i(t, []), r;
|
|
2282
2285
|
}
|
|
2283
|
-
matchInKeywords(e, t) {
|
|
2284
|
-
return e ? e.trim().split(/\s+/).some((e) => e.toLowerCase().includes(t)) : !1;
|
|
2285
|
-
}
|
|
2286
2286
|
_viewMode() {
|
|
2287
2287
|
return this.error ? "error" : this._searchLoading ? "loading" : this._searchError !== void 0 || this._searchResults !== void 0 ? "results" : "menu";
|
|
2288
2288
|
}
|
|
@@ -2330,7 +2330,7 @@ var kt = "en", At = [
|
|
|
2330
2330
|
<vsn-search-scopes
|
|
2331
2331
|
.scopes=${[{
|
|
2332
2332
|
id: D,
|
|
2333
|
-
label:
|
|
2333
|
+
label: Fe()
|
|
2334
2334
|
}, ...e.map((e) => ({
|
|
2335
2335
|
id: e.id,
|
|
2336
2336
|
label: e.label
|
|
@@ -2354,15 +2354,15 @@ var kt = "en", At = [
|
|
|
2354
2354
|
`;
|
|
2355
2355
|
}
|
|
2356
2356
|
};
|
|
2357
|
-
|
|
2357
|
+
M([s({ attribute: !1 })], K.prototype, "modules", void 0), M([s()], K.prototype, "activeModuleId", void 0), M([s()], K.prototype, "activeModuleLabel", void 0), M([s({ type: Boolean })], K.prototype, "modulesLoading", void 0), M([s({ type: Boolean })], K.prototype, "moduleSwitcherAlwaysOpen", void 0), M([s()], K.prototype, "lang", void 0), M([s({ attribute: !1 })], K.prototype, "auth", void 0), M([s({ type: Boolean })], K.prototype, "error", void 0), M([s({
|
|
2358
2358
|
type: Boolean,
|
|
2359
2359
|
reflect: !0
|
|
2360
|
-
})], K.prototype, "open", void 0),
|
|
2360
|
+
})], K.prototype, "open", void 0), M([s({ attribute: !1 })], K.prototype, "menu", void 0), M([l()], K.prototype, "_searchQuery", void 0), M([l()], K.prototype, "_searchResults", void 0), M([l()], K.prototype, "_searchLoading", void 0), M([l()], K.prototype, "_activeScopeId", void 0), M([l()], K.prototype, "_searchError", void 0), M([l()], K.prototype, "_searchNextCursor", void 0), M([l()], K.prototype, "_searchLoadingMore", void 0), M([l()], K.prototype, "_moduleSwitcherMaxHeight", void 0), M([l()], K.prototype, "_hasPageTitle", void 0), K = M([o("vsn-side-bar")], K);
|
|
2361
2361
|
//#endregion
|
|
2362
2362
|
//#region src/components/vsn-top-bar/vsn-breadcrumb-menu-item.ts
|
|
2363
|
-
var
|
|
2363
|
+
var an, q = class extends e {
|
|
2364
2364
|
static {
|
|
2365
|
-
|
|
2365
|
+
an = this;
|
|
2366
2366
|
}
|
|
2367
2367
|
static {
|
|
2368
2368
|
this._idCounter = 0;
|
|
@@ -2382,15 +2382,15 @@ var nn, q = class extends e {
|
|
|
2382
2382
|
}, this._onItemMouseLeave = () => {
|
|
2383
2383
|
this._showTooltip = !1;
|
|
2384
2384
|
}, this._onKeyDown = (e) => {
|
|
2385
|
-
e.defaultPrevented ||
|
|
2385
|
+
e.defaultPrevented || w(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));
|
|
2386
2386
|
}, this._onClick = (e) => {
|
|
2387
2387
|
if (e.defaultPrevented) return;
|
|
2388
2388
|
if (this._isParent()) {
|
|
2389
|
-
if (
|
|
2389
|
+
if (w(e)) return;
|
|
2390
2390
|
e.preventDefault(), this._isExpanded = !this._isExpanded;
|
|
2391
2391
|
return;
|
|
2392
2392
|
}
|
|
2393
|
-
if (!this.tree || e.button !== 0 ||
|
|
2393
|
+
if (!this.tree || e.button !== 0 || w(e)) return;
|
|
2394
2394
|
e.preventDefault();
|
|
2395
2395
|
let t = [...this.ancestorPath, this.tree];
|
|
2396
2396
|
this.dispatchEvent(new CustomEvent("vsn-breadcrumb-menu-leaf-select", {
|
|
@@ -2398,7 +2398,7 @@ var nn, q = class extends e {
|
|
|
2398
2398
|
bubbles: !0,
|
|
2399
2399
|
composed: !0
|
|
2400
2400
|
}));
|
|
2401
|
-
}, this._tooltipId = `vsn-menu-item-tooltip-${
|
|
2401
|
+
}, this._tooltipId = `vsn-menu-item-tooltip-${an._idCounter++}`, new L(this, () => this._isExpanded);
|
|
2402
2402
|
}
|
|
2403
2403
|
createRenderRoot() {
|
|
2404
2404
|
return this;
|
|
@@ -2424,7 +2424,7 @@ var nn, q = class extends e {
|
|
|
2424
2424
|
<div class="ga-tooltip ga-tooltip--right-start" style="white-space: nowrap">${e}</div>
|
|
2425
2425
|
</div>
|
|
2426
2426
|
<span class="ga-side-navigation__item-icon">
|
|
2427
|
-
${this._isParent() ? this._isExpanded ? O(
|
|
2427
|
+
${this._isParent() ? this._isExpanded ? O(k, 16) : O(it, 16) : ""}
|
|
2428
2428
|
</span>
|
|
2429
2429
|
<div class="ga-side-navigation__item-content">
|
|
2430
2430
|
<div class="ga-side-navigation__item-label">${e}</div>
|
|
@@ -2434,7 +2434,7 @@ var nn, q = class extends e {
|
|
|
2434
2434
|
<div class="${d(t)}" role="button" tabindex="0" aria-expanded=${this._isExpanded} aria-describedby="${this._tooltipId}" @click=${this._onClick} @keydown=${this._onKeyDown}
|
|
2435
2435
|
@mouseenter=${this._onItemMouseEnter} @mouseleave=${this._onItemMouseLeave}>${r}
|
|
2436
2436
|
</div>` : n`<a class="${d(t)}" aria-describedby="${this._tooltipId}"
|
|
2437
|
-
href="${this.tree &&
|
|
2437
|
+
href="${this.tree && A(this.tree) ? this.tree.url : ""}" @click=${this._onClick}
|
|
2438
2438
|
@mouseenter=${this._onItemMouseEnter} @mouseleave=${this._onItemMouseLeave}>${r}</a>`;
|
|
2439
2439
|
}
|
|
2440
2440
|
_menuItem(e, t) {
|
|
@@ -2442,19 +2442,19 @@ var nn, q = class extends e {
|
|
|
2442
2442
|
<vsn-breadcrumb-menu-item .tree=${e} .level=${t} .ancestorPath=${this.tree ? [...this.ancestorPath, this.tree] : this.ancestorPath}></vsn-breadcrumb-menu-item>`;
|
|
2443
2443
|
}
|
|
2444
2444
|
_getTreeItems(e) {
|
|
2445
|
-
if (e !== void 0 &&
|
|
2445
|
+
if (e !== void 0 && j(e)) return e.items;
|
|
2446
2446
|
}
|
|
2447
2447
|
_isParent() {
|
|
2448
|
-
if (this.tree &&
|
|
2448
|
+
if (this.tree && j(this.tree)) return this.tree.items.length > 0;
|
|
2449
2449
|
}
|
|
2450
2450
|
};
|
|
2451
|
-
|
|
2451
|
+
M([s({ attribute: !1 })], q.prototype, "tree", void 0), M([s({ type: Number })], q.prototype, "level", void 0), M([s({ type: Array })], q.prototype, "ancestorPath", void 0), M([l()], q.prototype, "_isExpanded", void 0), M([l()], q.prototype, "_showTooltip", void 0), M([l()], q.prototype, "_tooltipPos", void 0), M([c(".ga-side-navigation__item-label")], q.prototype, "_labelEl", void 0), q = an = M([o("vsn-breadcrumb-menu-item")], q);
|
|
2452
2452
|
//#endregion
|
|
2453
2453
|
//#region src/components/vsn-top-bar/vsn-breadcrumb-menu.ts
|
|
2454
|
-
var
|
|
2454
|
+
var on = class extends e {
|
|
2455
2455
|
constructor() {
|
|
2456
2456
|
super(), this._handleKeyDown = (e) => {
|
|
2457
|
-
if (e.defaultPrevented ||
|
|
2457
|
+
if (e.defaultPrevented || w(e)) return;
|
|
2458
2458
|
if (e.key === "Escape") {
|
|
2459
2459
|
e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-breadcrumb-menu-close", {
|
|
2460
2460
|
bubbles: !0,
|
|
@@ -2471,7 +2471,7 @@ var rn = class extends e {
|
|
|
2471
2471
|
if (!t.length) return;
|
|
2472
2472
|
let n = t.indexOf(e.target);
|
|
2473
2473
|
n !== -1 && (e.preventDefault(), e.key === "ArrowDown" ? n < t.length - 1 && t[n + 1].focus() : n > 0 && t[n - 1].focus());
|
|
2474
|
-
}, new
|
|
2474
|
+
}, new L(this, () => !0);
|
|
2475
2475
|
}
|
|
2476
2476
|
createRenderRoot() {
|
|
2477
2477
|
return this;
|
|
@@ -2498,7 +2498,7 @@ var rn = class extends e {
|
|
|
2498
2498
|
`;
|
|
2499
2499
|
}
|
|
2500
2500
|
};
|
|
2501
|
-
|
|
2501
|
+
M([s({ attribute: !1 })], on.prototype, "treeList", void 0), on = M([o("vsn-breadcrumb-menu")], on);
|
|
2502
2502
|
//#endregion
|
|
2503
2503
|
//#region src/components/vsn-top-bar/vsn-breadcrumbs.ts
|
|
2504
2504
|
var J = class extends e {
|
|
@@ -2523,7 +2523,7 @@ var J = class extends e {
|
|
|
2523
2523
|
this.styles = [
|
|
2524
2524
|
h,
|
|
2525
2525
|
G,
|
|
2526
|
-
|
|
2526
|
+
$t,
|
|
2527
2527
|
t`
|
|
2528
2528
|
.vsn-bc-modules-loading {
|
|
2529
2529
|
display: flex;
|
|
@@ -2646,7 +2646,7 @@ var J = class extends e {
|
|
|
2646
2646
|
_findPath(e, t, n = []) {
|
|
2647
2647
|
let r = [...n, e];
|
|
2648
2648
|
if (e.id === t) return r;
|
|
2649
|
-
for (let n of
|
|
2649
|
+
for (let n of j(e) ? e.items : []) {
|
|
2650
2650
|
let e = this._findPath(n, t, r);
|
|
2651
2651
|
if (e) return e;
|
|
2652
2652
|
}
|
|
@@ -2659,7 +2659,7 @@ var J = class extends e {
|
|
|
2659
2659
|
return `vsn-bc-item-${e}-trigger`;
|
|
2660
2660
|
}
|
|
2661
2661
|
_onLeafAsAncestorClick(e, t) {
|
|
2662
|
-
e.button !== 0 ||
|
|
2662
|
+
e.button !== 0 || w(e) || (e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
|
|
2663
2663
|
detail: t,
|
|
2664
2664
|
bubbles: !0,
|
|
2665
2665
|
composed: !0
|
|
@@ -2711,7 +2711,7 @@ var J = class extends e {
|
|
|
2711
2711
|
aria-haspopup="menu"
|
|
2712
2712
|
popovertarget="vsn-bc-modules-popover"
|
|
2713
2713
|
>
|
|
2714
|
-
<span class="ga-breadcrumb-item__label">${
|
|
2714
|
+
<span class="ga-breadcrumb-item__label">${Re()}</span>
|
|
2715
2715
|
</button>
|
|
2716
2716
|
${t}
|
|
2717
2717
|
<div
|
|
@@ -2741,7 +2741,7 @@ var J = class extends e {
|
|
|
2741
2741
|
aria-haspopup="menu"
|
|
2742
2742
|
popovertarget="vsn-bc-modules-popover"
|
|
2743
2743
|
>
|
|
2744
|
-
<span class="ga-breadcrumb-item__label">${
|
|
2744
|
+
<span class="ga-breadcrumb-item__label">${Re()}</span>
|
|
2745
2745
|
</button>
|
|
2746
2746
|
${t}
|
|
2747
2747
|
<div
|
|
@@ -2765,14 +2765,14 @@ var J = class extends e {
|
|
|
2765
2765
|
_handleLeafSelect(e, t) {
|
|
2766
2766
|
(this.shadowRoot?.getElementById(t))?.hidePopover?.();
|
|
2767
2767
|
let n = e.detail.path, r = n[n.length - 1];
|
|
2768
|
-
r &&
|
|
2768
|
+
r && A(r) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
|
|
2769
2769
|
detail: r,
|
|
2770
2770
|
bubbles: !0,
|
|
2771
2771
|
composed: !0
|
|
2772
2772
|
}));
|
|
2773
2773
|
}
|
|
2774
2774
|
_renderLeafAsAncestor(e) {
|
|
2775
|
-
let t =
|
|
2775
|
+
let t = A(e) ? n`<a class="ga-breadcrumb-item__trigger" href=${e.url} @click=${(t) => this._onLeafAsAncestorClick(t, e)}>
|
|
2776
2776
|
<span class="ga-breadcrumb-item__label">${e.label ?? ""}</span>
|
|
2777
2777
|
</a>` : n`<span class="ga-breadcrumb-item__trigger">
|
|
2778
2778
|
<span class="ga-breadcrumb-item__label">${e.label ?? ""}</span>
|
|
@@ -2787,7 +2787,7 @@ var J = class extends e {
|
|
|
2787
2787
|
</div>`;
|
|
2788
2788
|
}
|
|
2789
2789
|
_renderLastItem(e, t, r) {
|
|
2790
|
-
return r ? n`${
|
|
2790
|
+
return r ? n`${j(e) && e.items.length > 0 ? this._renderBreadcrumbItem(e, t) : this._renderLeafAsAncestor(e)}${this._renderPageTitle(r)}` : this._renderCurrentItem(e);
|
|
2791
2791
|
}
|
|
2792
2792
|
_renderPageTitle(e) {
|
|
2793
2793
|
return n`
|
|
@@ -2809,7 +2809,7 @@ var J = class extends e {
|
|
|
2809
2809
|
</div>`;
|
|
2810
2810
|
}
|
|
2811
2811
|
_renderBreadcrumbItem(e, t) {
|
|
2812
|
-
if (!
|
|
2812
|
+
if (!j(e) || e.items.length === 0) return n``;
|
|
2813
2813
|
let i = this._popoverItemId(t), a = this._popoverItemTriggerId(t);
|
|
2814
2814
|
return n`
|
|
2815
2815
|
<div class="ga-breadcrumb-item ga-breadcrumb-item--link"
|
|
@@ -2853,7 +2853,7 @@ var J = class extends e {
|
|
|
2853
2853
|
id="vsn-bc-overflow-trigger"
|
|
2854
2854
|
class="ga-breadcrumb-item__trigger"
|
|
2855
2855
|
type="button"
|
|
2856
|
-
aria-label=${
|
|
2856
|
+
aria-label=${_("Show hidden breadcrumb items")}
|
|
2857
2857
|
aria-expanded=${this._openPopoverId === "vsn-bc-overflow-popover"}
|
|
2858
2858
|
aria-haspopup="menu"
|
|
2859
2859
|
popovertarget="vsn-bc-overflow-popover"
|
|
@@ -2897,7 +2897,7 @@ var J = class extends e {
|
|
|
2897
2897
|
}
|
|
2898
2898
|
render() {
|
|
2899
2899
|
return n`
|
|
2900
|
-
<nav aria-label=${
|
|
2900
|
+
<nav aria-label=${_("Breadcrumb")}>
|
|
2901
2901
|
<div class="ga-breadcrumb">
|
|
2902
2902
|
${this._displayMode === "full" ? this._renderFullBreadcrumbs() : this._displayMode === "overflow" ? this._renderOverflowBreadcrumbs() : this._renderMobileBreadcrumbs()}
|
|
2903
2903
|
</div>
|
|
@@ -2911,10 +2911,10 @@ var J = class extends e {
|
|
|
2911
2911
|
`;
|
|
2912
2912
|
}
|
|
2913
2913
|
};
|
|
2914
|
-
|
|
2914
|
+
M([s({ attribute: !1 })], J.prototype, "tree", void 0), M([s({ type: Array })], J.prototype, "modules", void 0), M([s()], J.prototype, "activeModuleId", void 0), M([s({ type: Boolean })], J.prototype, "modulesLoading", void 0), M([l()], J.prototype, "_openPopoverId", void 0), M([l()], J.prototype, "_displayMode", void 0), M([l()], J.prototype, "_overflowCount", void 0), M([l()], J.prototype, "_tooltip", void 0), J = M([v(), o("vsn-breadcrumbs")], J);
|
|
2915
2915
|
//#endregion
|
|
2916
2916
|
//#region src/components/vsn-top-bar/vsn-ai-assistant.ts
|
|
2917
|
-
var
|
|
2917
|
+
var sn = class extends e {
|
|
2918
2918
|
createRenderRoot() {
|
|
2919
2919
|
return this;
|
|
2920
2920
|
}
|
|
@@ -2928,13 +2928,13 @@ var an = class extends e {
|
|
|
2928
2928
|
render() {
|
|
2929
2929
|
return n`
|
|
2930
2930
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
2931
|
-
aria-label=${
|
|
2932
|
-
<span class="ga-icon">${O(
|
|
2931
|
+
aria-label=${_("Open AI assistant")} @click=${this._handleClick}>
|
|
2932
|
+
<span class="ga-icon">${O(We)}</span>
|
|
2933
2933
|
</button>
|
|
2934
2934
|
`;
|
|
2935
2935
|
}
|
|
2936
2936
|
};
|
|
2937
|
-
|
|
2937
|
+
sn = M([v(), o("vsn-ai-assistant")], sn);
|
|
2938
2938
|
//#endregion
|
|
2939
2939
|
//#region src/components/vsn-top-bar/vsn-feedback.ts
|
|
2940
2940
|
var Y = class extends e {
|
|
@@ -2977,7 +2977,7 @@ var Y = class extends e {
|
|
|
2977
2977
|
if (super.updated(e), e.has("feedback") && this.feedback?.workspaceId && !document.getElementById("survicate-sdk") && !window._sva) {
|
|
2978
2978
|
window._sva = window._sva ?? {}, window._sva.forcedLanguage = this.lang;
|
|
2979
2979
|
let e = document.createElement("script");
|
|
2980
|
-
e.id =
|
|
2980
|
+
e.id = ze, e.src = Ve(this.feedback.workspaceId), e.async = !0, e.onload = () => this._applyVisitorTraits(), e.onerror = () => {
|
|
2981
2981
|
e.remove(), window._sva = void 0;
|
|
2982
2982
|
}, document.head.appendChild(e);
|
|
2983
2983
|
}
|
|
@@ -3032,27 +3032,27 @@ var Y = class extends e {
|
|
|
3032
3032
|
}) : document.body && this._observer.observe(document.body, {
|
|
3033
3033
|
childList: !0,
|
|
3034
3034
|
subtree: !0
|
|
3035
|
-
}), this._surveyFocusCleanupTimer = setTimeout(() => this._clearFocusListener(), 15e3), window._sva?.invokeEvent?.(
|
|
3035
|
+
}), this._surveyFocusCleanupTimer = setTimeout(() => this._clearFocusListener(), 15e3), window._sva?.invokeEvent?.(Be);
|
|
3036
3036
|
}
|
|
3037
3037
|
}
|
|
3038
3038
|
render() {
|
|
3039
3039
|
return this._compact ? n`
|
|
3040
3040
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
3041
|
-
aria-label=${
|
|
3042
|
-
<span class="ga-icon">${O(
|
|
3041
|
+
aria-label=${_("Send feedback")} @click=${this._handleClick}>
|
|
3042
|
+
<span class="ga-icon">${O(qe)}</span>
|
|
3043
3043
|
</button>
|
|
3044
3044
|
` : n`
|
|
3045
|
-
<button type="button" class="ga-button ga-button--secondary" aria-label=${
|
|
3045
|
+
<button type="button" class="ga-button ga-button--secondary" aria-label=${_("Send feedback")}
|
|
3046
3046
|
@click=${this._handleClick}>
|
|
3047
|
-
${
|
|
3047
|
+
${_("Feedback")}
|
|
3048
3048
|
</button>
|
|
3049
3049
|
`;
|
|
3050
3050
|
}
|
|
3051
3051
|
};
|
|
3052
|
-
|
|
3052
|
+
M([l()], Y.prototype, "_compact", void 0), M([s({ attribute: !1 })], Y.prototype, "feedback", void 0), M([s({ attribute: !1 })], Y.prototype, "auth", void 0), M([s()], Y.prototype, "lang", void 0), Y = M([v(), o("vsn-feedback")], Y);
|
|
3053
3053
|
//#endregion
|
|
3054
3054
|
//#region src/components/vsn-top-bar/vsn-home.ts
|
|
3055
|
-
var
|
|
3055
|
+
var cn = class extends e {
|
|
3056
3056
|
createRenderRoot() {
|
|
3057
3057
|
return this;
|
|
3058
3058
|
}
|
|
@@ -3060,7 +3060,7 @@ var on = class extends e {
|
|
|
3060
3060
|
e.metaKey || e.ctrlKey || e.shiftKey || (e.preventDefault(), this.landingPageUrl && this.dispatchEvent(new CustomEvent("vsn-navigate", {
|
|
3061
3061
|
detail: {
|
|
3062
3062
|
id: "home",
|
|
3063
|
-
label:
|
|
3063
|
+
label: _("Home"),
|
|
3064
3064
|
url: this.landingPageUrl
|
|
3065
3065
|
},
|
|
3066
3066
|
bubbles: !0,
|
|
@@ -3069,17 +3069,17 @@ var on = class extends e {
|
|
|
3069
3069
|
}
|
|
3070
3070
|
render() {
|
|
3071
3071
|
return this.landingPageUrl ? n`
|
|
3072
|
-
<a href=${this.landingPageUrl} class="ga-button ga-button--ghost ga-button--icon-only" aria-label=${
|
|
3072
|
+
<a href=${this.landingPageUrl} class="ga-button ga-button--ghost ga-button--icon-only" aria-label=${_("Home")}
|
|
3073
3073
|
@click=${this._handleClick}>
|
|
3074
|
-
<span class="ga-icon">${O(
|
|
3074
|
+
<span class="ga-icon">${O(Je)}</span>
|
|
3075
3075
|
</a>
|
|
3076
3076
|
` : r;
|
|
3077
3077
|
}
|
|
3078
3078
|
};
|
|
3079
|
-
|
|
3079
|
+
M([s({ attribute: "landing-page-url" })], cn.prototype, "landingPageUrl", void 0), cn = M([v(), o("vsn-home")], cn);
|
|
3080
3080
|
//#endregion
|
|
3081
3081
|
//#region src/components/vsn-top-bar/vsn-menu-toggle.ts
|
|
3082
|
-
var
|
|
3082
|
+
var ln = class extends e {
|
|
3083
3083
|
createRenderRoot() {
|
|
3084
3084
|
return this;
|
|
3085
3085
|
}
|
|
@@ -3101,25 +3101,25 @@ var sn = class extends e {
|
|
|
3101
3101
|
}
|
|
3102
3102
|
render() {
|
|
3103
3103
|
return n`
|
|
3104
|
-
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${
|
|
3104
|
+
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${_("Open menu")}
|
|
3105
3105
|
aria-describedby="vsn-menu-toggle-tooltip"
|
|
3106
3106
|
@click=${this._handleClick}
|
|
3107
3107
|
@mouseenter=${this._onActivate}
|
|
3108
3108
|
@mouseleave=${this._onDeactivate}>
|
|
3109
|
-
<span class="ga-icon">${O(
|
|
3109
|
+
<span class="ga-icon">${O(Ue)}</span>
|
|
3110
3110
|
</button>
|
|
3111
3111
|
<div id="vsn-menu-toggle-tooltip" role="tooltip"
|
|
3112
3112
|
style="position: fixed; inset: unset; margin: 0; padding: 0; border: none; background: transparent; overflow: visible; pointer-events: none; z-index: 9999;"
|
|
3113
3113
|
popover="manual">
|
|
3114
|
-
<div class="ga-tooltip ga-tooltip--bottom-start" style="white-space: nowrap">${
|
|
3114
|
+
<div class="ga-tooltip ga-tooltip--bottom-start" style="white-space: nowrap">${Me()}</div>
|
|
3115
3115
|
</div>
|
|
3116
3116
|
`;
|
|
3117
3117
|
}
|
|
3118
3118
|
};
|
|
3119
|
-
|
|
3119
|
+
M([c("div[role=\"tooltip\"]", !0)], ln.prototype, "_tooltipElement", void 0), ln = M([v(), o("vsn-menu-toggle")], ln);
|
|
3120
3120
|
//#endregion
|
|
3121
3121
|
//#region src/components/vsn-top-bar/vsn-notifications.ts
|
|
3122
|
-
var
|
|
3122
|
+
var un = class extends e {
|
|
3123
3123
|
constructor(...e) {
|
|
3124
3124
|
super(...e), this.notificationActive = !1;
|
|
3125
3125
|
}
|
|
@@ -3134,23 +3134,23 @@ var cn = class extends e {
|
|
|
3134
3134
|
}));
|
|
3135
3135
|
}
|
|
3136
3136
|
render() {
|
|
3137
|
-
let e = this.notificationActive ?
|
|
3137
|
+
let e = this.notificationActive ? Ke : Ge;
|
|
3138
3138
|
return n`
|
|
3139
3139
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
3140
|
-
aria-label=${
|
|
3140
|
+
aria-label=${_("Notifications")} @click=${this._handleClick}>
|
|
3141
3141
|
<span class="ga-icon">${O(e)}</span>
|
|
3142
3142
|
</button>
|
|
3143
3143
|
`;
|
|
3144
3144
|
}
|
|
3145
3145
|
};
|
|
3146
|
-
|
|
3146
|
+
M([s({
|
|
3147
3147
|
type: Boolean,
|
|
3148
3148
|
attribute: "notification-active",
|
|
3149
3149
|
reflect: !0
|
|
3150
|
-
})],
|
|
3150
|
+
})], un.prototype, "notificationActive", void 0), un = M([v(), o("vsn-notifications")], un);
|
|
3151
3151
|
//#endregion
|
|
3152
3152
|
//#region src/components/vsn-top-bar/vsn-help.ts
|
|
3153
|
-
function
|
|
3153
|
+
function dn(e) {
|
|
3154
3154
|
try {
|
|
3155
3155
|
let t = new URL(e);
|
|
3156
3156
|
return t.protocol === "https:" || t.protocol === "http:";
|
|
@@ -3170,20 +3170,20 @@ var X = class extends e {
|
|
|
3170
3170
|
}));
|
|
3171
3171
|
}
|
|
3172
3172
|
render() {
|
|
3173
|
-
return this.helpUrl &&
|
|
3173
|
+
return this.helpUrl && dn(this.helpUrl) ? n`
|
|
3174
3174
|
<a href=${this.helpUrl} target="_blank" rel="noopener noreferrer" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
3175
|
-
aria-label=${
|
|
3176
|
-
<span class="ga-icon">${O(
|
|
3175
|
+
aria-label=${_("Help")}>
|
|
3176
|
+
<span class="ga-icon">${O(Ye)}</span>
|
|
3177
3177
|
</a>
|
|
3178
3178
|
` : n`
|
|
3179
|
-
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${
|
|
3179
|
+
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${_("Help")}
|
|
3180
3180
|
@click=${this._handleClick}>
|
|
3181
|
-
<span class="ga-icon">${O(
|
|
3181
|
+
<span class="ga-icon">${O(Ye)}</span>
|
|
3182
3182
|
</button>
|
|
3183
3183
|
`;
|
|
3184
3184
|
}
|
|
3185
3185
|
};
|
|
3186
|
-
|
|
3186
|
+
M([s({ attribute: "help-url" })], X.prototype, "helpUrl", void 0), X = M([v(), o("vsn-help")], X);
|
|
3187
3187
|
//#endregion
|
|
3188
3188
|
//#region src/components/vsn-top-bar/vsn-top-bar.ts
|
|
3189
3189
|
var Z = class extends e {
|
|
@@ -3191,7 +3191,7 @@ var Z = class extends e {
|
|
|
3191
3191
|
super(...e), this.modules = [], this.feedback = null, this.showHelp = !1, this.showNotification = !1, this.notificationActive = !1, this.modulesLoading = !1, this.lang = "en";
|
|
3192
3192
|
}
|
|
3193
3193
|
willUpdate(e) {
|
|
3194
|
-
e.has("lang") &&
|
|
3194
|
+
e.has("lang") && Gt(this.lang).catch(console.error);
|
|
3195
3195
|
}
|
|
3196
3196
|
focusMenuToggle() {
|
|
3197
3197
|
this.renderRoot.querySelector("vsn-menu-toggle")?.focus();
|
|
@@ -3296,19 +3296,19 @@ var Z = class extends e {
|
|
|
3296
3296
|
`;
|
|
3297
3297
|
}
|
|
3298
3298
|
};
|
|
3299
|
-
|
|
3299
|
+
M([s({ attribute: !1 })], Z.prototype, "tree", void 0), M([s({ type: Array })], Z.prototype, "modules", void 0), M([s()], Z.prototype, "activeModuleId", void 0), M([s({ attribute: "landing-page-url" })], Z.prototype, "landingPageUrl", void 0), M([s({ attribute: !1 })], Z.prototype, "feedback", void 0), M([s({ attribute: !1 })], Z.prototype, "auth", void 0), M([s({
|
|
3300
3300
|
type: Boolean,
|
|
3301
3301
|
attribute: "show-help"
|
|
3302
|
-
})], Z.prototype, "showHelp", void 0),
|
|
3302
|
+
})], Z.prototype, "showHelp", void 0), M([s({ attribute: "help-url" })], Z.prototype, "helpUrl", void 0), M([s({
|
|
3303
3303
|
type: Boolean,
|
|
3304
3304
|
attribute: "show-notification"
|
|
3305
|
-
})], Z.prototype, "showNotification", void 0),
|
|
3305
|
+
})], Z.prototype, "showNotification", void 0), M([s({
|
|
3306
3306
|
type: Boolean,
|
|
3307
3307
|
attribute: "notification-active"
|
|
3308
|
-
})], Z.prototype, "notificationActive", void 0),
|
|
3308
|
+
})], Z.prototype, "notificationActive", void 0), M([s({ type: Boolean })], Z.prototype, "modulesLoading", void 0), M([s()], Z.prototype, "lang", void 0), Z = M([o("vsn-top-bar")], Z);
|
|
3309
3309
|
//#endregion
|
|
3310
3310
|
//#region src/components/vsn-card.ts
|
|
3311
|
-
var
|
|
3311
|
+
var fn = class extends e {
|
|
3312
3312
|
static {
|
|
3313
3313
|
this.styles = [h, t`
|
|
3314
3314
|
:host {
|
|
@@ -3329,7 +3329,7 @@ var un = class extends e {
|
|
|
3329
3329
|
return n`<slot></slot>`;
|
|
3330
3330
|
}
|
|
3331
3331
|
};
|
|
3332
|
-
|
|
3332
|
+
fn = M([o("vsn-card")], fn);
|
|
3333
3333
|
//#endregion
|
|
3334
3334
|
//#region src/components/vsn-skip-to-main.ts
|
|
3335
3335
|
var Q = class extends e {
|
|
@@ -3387,7 +3387,7 @@ var Q = class extends e {
|
|
|
3387
3387
|
render() {
|
|
3388
3388
|
return n`
|
|
3389
3389
|
<a href=${`#${this.href}`} @click=${this._handleClick}>
|
|
3390
|
-
<vsn-card>${
|
|
3390
|
+
<vsn-card>${_("Skip to main content")}</vsn-card>
|
|
3391
3391
|
</a>
|
|
3392
3392
|
`;
|
|
3393
3393
|
}
|
|
@@ -3397,7 +3397,7 @@ var Q = class extends e {
|
|
|
3397
3397
|
t && (t.tabIndex < 0 && t.setAttribute("tabindex", "-1"), t.focus());
|
|
3398
3398
|
}
|
|
3399
3399
|
};
|
|
3400
|
-
|
|
3400
|
+
M([s()], Q.prototype, "href", void 0), Q = M([v(), o("vsn-skip-to-main")], Q);
|
|
3401
3401
|
//#endregion
|
|
3402
3402
|
//#region src/components/vsn-navigation.ts
|
|
3403
3403
|
var $ = class extends e {
|
|
@@ -3420,7 +3420,7 @@ var $ = class extends e {
|
|
|
3420
3420
|
detail: t
|
|
3421
3421
|
}));
|
|
3422
3422
|
}, this._onShortcut = (e) => {
|
|
3423
|
-
if (!e.defaultPrevented && !e.repeat && !(!
|
|
3423
|
+
if (!e.defaultPrevented && !e.repeat && !(!ke(e) || e.key.toLowerCase() !== "o")) if (e.preventDefault(), this.open) this._closeSideBar();
|
|
3424
3424
|
else {
|
|
3425
3425
|
if (!this.dispatchEvent(new CustomEvent("vsn-open", {
|
|
3426
3426
|
cancelable: !0,
|
|
@@ -3430,7 +3430,7 @@ var $ = class extends e {
|
|
|
3430
3430
|
this._openAndFocusSearch();
|
|
3431
3431
|
}
|
|
3432
3432
|
}, this._onEscape = (e) => {
|
|
3433
|
-
e.defaultPrevented || this.open &&
|
|
3433
|
+
e.defaultPrevented || this.open && T(e) && e.key === "Escape" && (e.preventDefault(), this.open = !1);
|
|
3434
3434
|
};
|
|
3435
3435
|
}
|
|
3436
3436
|
_resolveModules() {
|
|
@@ -3570,22 +3570,22 @@ var $ = class extends e {
|
|
|
3570
3570
|
`;
|
|
3571
3571
|
}
|
|
3572
3572
|
};
|
|
3573
|
-
|
|
3573
|
+
M([s()], $.prototype, "lang", void 0), M([s({ attribute: !1 })], $.prototype, "tree", void 0), M([s({ attribute: !1 })], $.prototype, "modules", void 0), M([s({ attribute: !1 })], $.prototype, "auth", void 0), M([s({ attribute: "landing-page-url" })], $.prototype, "landingPageUrl", void 0), M([s({
|
|
3574
3574
|
type: Boolean,
|
|
3575
3575
|
attribute: "show-help"
|
|
3576
|
-
})], $.prototype, "showHelp", void 0),
|
|
3576
|
+
})], $.prototype, "showHelp", void 0), M([s({ attribute: "help-url" })], $.prototype, "helpUrl", void 0), M([s({ attribute: !1 })], $.prototype, "feedback", void 0), M([s({
|
|
3577
3577
|
type: Boolean,
|
|
3578
3578
|
attribute: "module-switcher-always-open"
|
|
3579
|
-
})], $.prototype, "moduleSwitcherAlwaysOpen", void 0),
|
|
3579
|
+
})], $.prototype, "moduleSwitcherAlwaysOpen", void 0), M([s({
|
|
3580
3580
|
type: Boolean,
|
|
3581
3581
|
attribute: "show-notification"
|
|
3582
|
-
})], $.prototype, "showNotification", void 0),
|
|
3582
|
+
})], $.prototype, "showNotification", void 0), M([s({
|
|
3583
3583
|
type: Boolean,
|
|
3584
3584
|
attribute: "notification-active"
|
|
3585
|
-
})], $.prototype, "notificationActive", void 0),
|
|
3585
|
+
})], $.prototype, "notificationActive", void 0), M([s({
|
|
3586
3586
|
type: Boolean,
|
|
3587
3587
|
attribute: "open",
|
|
3588
3588
|
reflect: !0
|
|
3589
|
-
})], $.prototype, "open", void 0),
|
|
3589
|
+
})], $.prototype, "open", void 0), M([l()], $.prototype, "_resolvedModules", void 0), M([l()], $.prototype, "_modulesLoading", void 0), $ = M([o("vsn-navigation")], $);
|
|
3590
3590
|
//#endregion
|
|
3591
|
-
export {
|
|
3591
|
+
export { pt as SearchError, $ as VSNNavigation, Q as VSNSkipToMain, A as isTreeLeaf, j as isTreeParent };
|