@visma-swno/vsn-navigation 1.5.0 → 1.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/vsn-navigation.js +283 -282
- package/package.json +1 -1
|
@@ -99,40 +99,40 @@ function ye(e) {
|
|
|
99
99
|
function be(e) {
|
|
100
100
|
window.dispatchEvent(new CustomEvent(re, { detail: e }));
|
|
101
101
|
}
|
|
102
|
-
var b = "",
|
|
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() ? "⌘O / Ctrl+O" : "Ctrl+O", Ne = () => Oe() ? n`<kbd><kbd>⌘</kbd><kbd>O</kbd></kbd>/<kbd><kbd>Ctrl</kbd>+<kbd>O</kbd></kbd>` : n`<kbd><kbd>Ctrl</kbd>+<kbd>O</kbd></kbd>`, Pe = (e) => e.split(" ").filter((e) => e.length > 0), E = (e) => Pe(e).join("").length >= 3, Fe = (e) => _(g`Type at least ${e} characters to search`), Ie = () => _("Menu items"), Le = () => _("Load more"), Re = () => _("Services"), ze = () => _("Services"), D = "menu", Be = "survicate-sdk", Ve = "ui-components-feedback", He = (e) => `https://survey.survicate.com/workspaces/${e}/web_surveys.js`;
|
|
133
133
|
//#endregion
|
|
134
134
|
//#region src/shared/icons.ts
|
|
135
|
-
function
|
|
135
|
+
function O(e, t = 24, r) {
|
|
136
136
|
return n`
|
|
137
137
|
<svg
|
|
138
138
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -149,23 +149,23 @@ function k(e, t = 24, r) {
|
|
|
149
149
|
>${e}
|
|
150
150
|
</svg>`;
|
|
151
151
|
}
|
|
152
|
-
var
|
|
152
|
+
var Ue = i``, We = i`
|
|
153
153
|
<path d="M4 5h16"/>
|
|
154
154
|
<path d="M4 12h16"/>
|
|
155
155
|
<path d="M4 19h16"/>
|
|
156
|
-
`,
|
|
156
|
+
`, Ge = i`
|
|
157
157
|
<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"/>
|
|
158
158
|
<path d="M20 2v4"/>
|
|
159
159
|
<path d="M22 4h-4"/>
|
|
160
160
|
<circle cx="4" cy="20" r="2"/>
|
|
161
|
-
`,
|
|
161
|
+
`, Ke = i`
|
|
162
162
|
<path d="M10.268 21a2 2 0 0 0 3.464 0"/>
|
|
163
163
|
<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"/>
|
|
164
|
-
`,
|
|
164
|
+
`, qe = i`
|
|
165
165
|
<path d="M10.268 21a2 2 0 0 0 3.464 0"/>
|
|
166
166
|
<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"/>
|
|
167
167
|
<circle cx="18" cy="5" r="3"/>
|
|
168
|
-
`,
|
|
168
|
+
`, Je = i`
|
|
169
169
|
<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"/>
|
|
170
170
|
<path d="M7 10v12"/>
|
|
171
171
|
`;
|
|
@@ -176,14 +176,14 @@ i`
|
|
|
176
176
|
<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"/>
|
|
177
177
|
<path d="M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16"/>
|
|
178
178
|
`;
|
|
179
|
-
var
|
|
179
|
+
var Ye = i`
|
|
180
180
|
<path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/>
|
|
181
181
|
<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"/>
|
|
182
|
-
`,
|
|
182
|
+
`, Xe = i`
|
|
183
183
|
<circle cx="12" cy="12" r="10"/>
|
|
184
184
|
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>
|
|
185
185
|
<path d="M12 17h.01"/>
|
|
186
|
-
`,
|
|
186
|
+
`, Ze = i`
|
|
187
187
|
<circle cx="12" cy="8" r="5"/>
|
|
188
188
|
<path d="M20 21a8 8 0 0 0-16 0"/>
|
|
189
189
|
`;
|
|
@@ -194,11 +194,11 @@ i`
|
|
|
194
194
|
<path d="M12 17v5"/>
|
|
195
195
|
<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"/>
|
|
196
196
|
`;
|
|
197
|
-
var
|
|
197
|
+
var Qe = i`
|
|
198
198
|
<path d="m16 17 5-5-5-5"/>
|
|
199
199
|
<path d="M21 12H9"/>
|
|
200
200
|
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/>
|
|
201
|
-
`,
|
|
201
|
+
`, $e = i`
|
|
202
202
|
<path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/>
|
|
203
203
|
<path d="m21 3-9 9"/>
|
|
204
204
|
<path d="M15 3h6v6"/>
|
|
@@ -207,17 +207,17 @@ i`
|
|
|
207
207
|
<circle cx="12" cy="12" r="10"/>
|
|
208
208
|
<circle cx="12" cy="12" r="1"/>
|
|
209
209
|
`;
|
|
210
|
-
var
|
|
210
|
+
var et = i`
|
|
211
211
|
<path d="m7 15 5 5 5-5"/>
|
|
212
212
|
<path d="m7 9 5-5 5 5"/>
|
|
213
|
-
`,
|
|
213
|
+
`, tt = i`
|
|
214
214
|
<path d="m18 15-6-6-6 6"/>
|
|
215
|
-
`,
|
|
215
|
+
`, k = i`
|
|
216
216
|
<path d="m6 9 6 6 6-6"/>
|
|
217
|
-
`,
|
|
217
|
+
`, nt = i`
|
|
218
218
|
<circle cx="11" cy="11" r="8"/>
|
|
219
219
|
<path d="m21 21-4.3-4.3"/>
|
|
220
|
-
`,
|
|
220
|
+
`, rt = i`
|
|
221
221
|
<circle cx="12" cy="12" r="10"/>
|
|
222
222
|
<path d="m15 9-6 6"/>
|
|
223
223
|
<path d="m9 9 6 6"/>
|
|
@@ -227,7 +227,7 @@ i`
|
|
|
227
227
|
<line x1="12" x2="12" y1="8" y2="12"/>
|
|
228
228
|
<line x1="12" x2="12.01" y1="16" y2="16"/>
|
|
229
229
|
`;
|
|
230
|
-
var
|
|
230
|
+
var it = i`
|
|
231
231
|
<path d="M12 16h.01"/>
|
|
232
232
|
<path d="M12 8v4"/>
|
|
233
233
|
<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"/>
|
|
@@ -238,13 +238,13 @@ i`
|
|
|
238
238
|
`, i`
|
|
239
239
|
<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"/>
|
|
240
240
|
`;
|
|
241
|
-
var
|
|
241
|
+
var at = i`
|
|
242
242
|
<path d="m9 18 6-6-6-6"/>
|
|
243
243
|
`;
|
|
244
244
|
i`<path d="M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3"/>`, i`<path d="M9 19a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-6a1 1 0 0 1 1-1h3.293a.707.707 0 0 0 .5-1.207l-7.086-7.086a1 1 0 0 0-1.414 0l-7.086 7.086a.707.707 0 0 0 .5 1.207H8a1 1 0 0 1 1 1z"/>`;
|
|
245
245
|
//#endregion
|
|
246
246
|
//#region node_modules/@lit/context/lib/context-request-event.js
|
|
247
|
-
var
|
|
247
|
+
var ot = class extends Event {
|
|
248
248
|
constructor(e, t, n, r) {
|
|
249
249
|
super("context-request", {
|
|
250
250
|
bubbles: !0,
|
|
@@ -254,12 +254,12 @@ var at = class extends Event {
|
|
|
254
254
|
};
|
|
255
255
|
//#endregion
|
|
256
256
|
//#region node_modules/@lit/context/lib/create-context.js
|
|
257
|
-
function
|
|
257
|
+
function st(e) {
|
|
258
258
|
return e;
|
|
259
259
|
}
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region node_modules/@lit/context/lib/controllers/context-consumer.js
|
|
262
|
-
var
|
|
262
|
+
var ct = class {
|
|
263
263
|
constructor(e, t, n, r) {
|
|
264
264
|
if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (e, t) => {
|
|
265
265
|
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;
|
|
@@ -276,9 +276,9 @@ var st = class {
|
|
|
276
276
|
this.unsubscribe &&= (this.unsubscribe(), void 0);
|
|
277
277
|
}
|
|
278
278
|
dispatchRequest() {
|
|
279
|
-
this.host.dispatchEvent(new
|
|
279
|
+
this.host.dispatchEvent(new ot(this.context, this.host, this.t, this.subscribe));
|
|
280
280
|
}
|
|
281
|
-
},
|
|
281
|
+
}, lt = class {
|
|
282
282
|
get value() {
|
|
283
283
|
return this.o;
|
|
284
284
|
}
|
|
@@ -308,14 +308,14 @@ var st = class {
|
|
|
308
308
|
clearCallbacks() {
|
|
309
309
|
this.subscriptions.clear();
|
|
310
310
|
}
|
|
311
|
-
},
|
|
311
|
+
}, ut = class extends Event {
|
|
312
312
|
constructor(e, t) {
|
|
313
313
|
super("context-provider", {
|
|
314
314
|
bubbles: !0,
|
|
315
315
|
composed: !0
|
|
316
316
|
}), this.context = e, this.contextTarget = t;
|
|
317
317
|
}
|
|
318
|
-
},
|
|
318
|
+
}, dt = class extends lt {
|
|
319
319
|
constructor(e, t, n) {
|
|
320
320
|
super(t.context === void 0 ? n : t.initialValue), this.onContextRequest = (e) => {
|
|
321
321
|
if (e.context !== this.context) return;
|
|
@@ -324,7 +324,7 @@ var st = class {
|
|
|
324
324
|
}, this.onProviderRequest = (e) => {
|
|
325
325
|
if (e.context !== this.context || (e.contextTarget ?? e.composedPath()[0]) === this.host) return;
|
|
326
326
|
let t = /* @__PURE__ */ new Set();
|
|
327
|
-
for (let [e, { consumerHost: n }] of this.subscriptions) t.has(e) || (t.add(e), n.dispatchEvent(new
|
|
327
|
+
for (let [e, { consumerHost: n }] of this.subscriptions) t.has(e) || (t.add(e), n.dispatchEvent(new ot(this.context, n, e, !0)));
|
|
328
328
|
e.stopPropagation();
|
|
329
329
|
}, this.host = e, t.context === void 0 ? this.context = t : this.context = t.context, this.attachListeners(), this.host.addController?.(this);
|
|
330
330
|
}
|
|
@@ -332,12 +332,12 @@ var st = class {
|
|
|
332
332
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
333
333
|
}
|
|
334
334
|
hostConnected() {
|
|
335
|
-
this.host.dispatchEvent(new
|
|
335
|
+
this.host.dispatchEvent(new ut(this.context, this.host));
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
//#endregion
|
|
339
339
|
//#region node_modules/@lit/context/lib/decorators/provide.js
|
|
340
|
-
function
|
|
340
|
+
function ft({ context: e }) {
|
|
341
341
|
return (t, n) => {
|
|
342
342
|
let r = /* @__PURE__ */ new WeakMap();
|
|
343
343
|
if (typeof n == "object") return {
|
|
@@ -348,7 +348,7 @@ function dt({ context: e }) {
|
|
|
348
348
|
return r.get(this).setValue(e), t.set.call(this, e);
|
|
349
349
|
},
|
|
350
350
|
init(t) {
|
|
351
|
-
return r.set(this, new
|
|
351
|
+
return r.set(this, new dt(this, {
|
|
352
352
|
context: e,
|
|
353
353
|
initialValue: t
|
|
354
354
|
})), t;
|
|
@@ -356,7 +356,7 @@ function dt({ context: e }) {
|
|
|
356
356
|
};
|
|
357
357
|
{
|
|
358
358
|
t.constructor.addInitializer(((t) => {
|
|
359
|
-
r.set(t, new
|
|
359
|
+
r.set(t, new dt(t, { context: e }));
|
|
360
360
|
}));
|
|
361
361
|
let i = Object.getOwnPropertyDescriptor(t, n), a;
|
|
362
362
|
if (i === void 0) {
|
|
@@ -387,10 +387,10 @@ function dt({ context: e }) {
|
|
|
387
387
|
}
|
|
388
388
|
//#endregion
|
|
389
389
|
//#region node_modules/@lit/context/lib/decorators/consume.js
|
|
390
|
-
function
|
|
390
|
+
function pt({ context: e, subscribe: t }) {
|
|
391
391
|
return (n, r) => {
|
|
392
392
|
typeof r == "object" ? r.addInitializer((function() {
|
|
393
|
-
new
|
|
393
|
+
new ct(this, {
|
|
394
394
|
context: e,
|
|
395
395
|
callback: (e) => {
|
|
396
396
|
n.set.call(this, e);
|
|
@@ -398,7 +398,7 @@ function ft({ context: e, subscribe: t }) {
|
|
|
398
398
|
subscribe: t
|
|
399
399
|
});
|
|
400
400
|
})) : n.constructor.addInitializer(((n) => {
|
|
401
|
-
new
|
|
401
|
+
new ct(n, {
|
|
402
402
|
context: e,
|
|
403
403
|
callback: (e) => {
|
|
404
404
|
n[r] = e;
|
|
@@ -410,20 +410,20 @@ function ft({ context: e, subscribe: t }) {
|
|
|
410
410
|
}
|
|
411
411
|
//#endregion
|
|
412
412
|
//#region src/shared/types/index.ts
|
|
413
|
-
function
|
|
413
|
+
function A(e) {
|
|
414
414
|
return "url" in e;
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function j(e) {
|
|
417
417
|
return "items" in e;
|
|
418
418
|
}
|
|
419
|
-
var
|
|
419
|
+
var mt = class e extends Error {
|
|
420
420
|
constructor(t) {
|
|
421
421
|
super(t), this.name = "SearchError", Object.setPrototypeOf(this, e.prototype);
|
|
422
422
|
}
|
|
423
|
-
},
|
|
423
|
+
}, ht = st("activeId"), gt = st(Symbol("focus-manager"));
|
|
424
424
|
//#endregion
|
|
425
425
|
//#region \0@oxc-project+runtime@0.127.0/helpers/decorate.js
|
|
426
|
-
function
|
|
426
|
+
function M(e, t, n, r) {
|
|
427
427
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
428
428
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
429
429
|
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);
|
|
@@ -431,9 +431,9 @@ function N(e, t, n, r) {
|
|
|
431
431
|
}
|
|
432
432
|
//#endregion
|
|
433
433
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu-item.ts
|
|
434
|
-
var
|
|
434
|
+
var N, P = class extends e {
|
|
435
435
|
static {
|
|
436
|
-
|
|
436
|
+
N = this;
|
|
437
437
|
}
|
|
438
438
|
static {
|
|
439
439
|
this._idCounter = 0;
|
|
@@ -467,8 +467,8 @@ var P, F = class extends e {
|
|
|
467
467
|
this._showTooltip = !1;
|
|
468
468
|
}, this._onKeyDown = (e) => {
|
|
469
469
|
let t = this.tree;
|
|
470
|
-
if (t !== void 0 && !(e.defaultPrevented ||
|
|
471
|
-
if (
|
|
470
|
+
if (t !== void 0 && !(e.defaultPrevented || w(e))) {
|
|
471
|
+
if (N.menuShortcuts.includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "ArrowUp") {
|
|
472
472
|
this._focusManager?.focusPrev(this);
|
|
473
473
|
return;
|
|
474
474
|
}
|
|
@@ -476,10 +476,10 @@ var P, F = class extends e {
|
|
|
476
476
|
this._focusManager?.focusNext(this);
|
|
477
477
|
return;
|
|
478
478
|
}
|
|
479
|
-
|
|
479
|
+
j(t) ? this.handleKeyForParent(e.key) : this.handleKeyForLeaf(e.key);
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
|
-
let e =
|
|
482
|
+
let e = N._idCounter++;
|
|
483
483
|
this._tooltipId = `vsn-side-menu-item-tooltip-${e}`, this._childListId = `vsn-side-menu-item-list-${e}`;
|
|
484
484
|
}
|
|
485
485
|
focusSelf() {
|
|
@@ -487,10 +487,10 @@ var P, F = class extends e {
|
|
|
487
487
|
}
|
|
488
488
|
willUpdate(e) {
|
|
489
489
|
let t = this.tree;
|
|
490
|
-
t !== void 0 && e.has("_currentActiveId") && (this._isActive = this._currentActiveId === t.id,
|
|
490
|
+
t !== void 0 && e.has("_currentActiveId") && (this._isActive = this._currentActiveId === t.id, j(t) && (this._isExpanded = this.isActiveNode(t) !== null));
|
|
491
491
|
}
|
|
492
492
|
render() {
|
|
493
|
-
let e = this.tree !== void 0 &&
|
|
493
|
+
let e = this.tree !== void 0 && j(this.tree), t = this.tree && j(this.tree) ? this.tree.items : [];
|
|
494
494
|
return n`
|
|
495
495
|
${this.menuItemMarkup()}
|
|
496
496
|
${e ? n`
|
|
@@ -500,7 +500,7 @@ var P, F = class extends e {
|
|
|
500
500
|
`;
|
|
501
501
|
}
|
|
502
502
|
menuItemMarkup() {
|
|
503
|
-
let e = this.tree !== void 0 &&
|
|
503
|
+
let e = this.tree !== void 0 && j(this.tree), t = this.tree?.["data-qa-id"], r = {
|
|
504
504
|
"ga-side-navigation__item": !0,
|
|
505
505
|
[`ga-side-navigation__item--level-${this.level}`]: this.level > 1,
|
|
506
506
|
"ga-side-navigation__item--expanded": this._isExpanded,
|
|
@@ -511,7 +511,7 @@ var P, F = class extends e {
|
|
|
511
511
|
<div class="ga-tooltip ga-tooltip--right-center w-34 max-w-135">${this.tree?.label}</div>
|
|
512
512
|
</div>
|
|
513
513
|
<span class="ga-side-navigation__item-icon">
|
|
514
|
-
${e ? this._isExpanded ? k
|
|
514
|
+
${e ? this._isExpanded ? O(k, 16) : O(at, 16) : ""}
|
|
515
515
|
</span>
|
|
516
516
|
<div class="ga-side-navigation__item-content">
|
|
517
517
|
<div class="ga-side-navigation__item-label">${this.tree?.label}</div>
|
|
@@ -523,7 +523,7 @@ var P, F = class extends e {
|
|
|
523
523
|
@mouseleave=${this._onItemMouseLeave} @keydown=${this._onKeyDown}>${i}
|
|
524
524
|
</button>` : n`<a class="${d(r)}" aria-describedby="${this._tooltipId}"
|
|
525
525
|
aria-current=${ee(this._isActive ? "page" : void 0)}
|
|
526
|
-
href="${this.tree &&
|
|
526
|
+
href="${this.tree && A(this.tree) ? this.tree.url : ""}" data-qa-id="${ee(t)}"
|
|
527
527
|
@click=${this._handleItemClick} @mouseenter=${this._onItemMouseEnter}
|
|
528
528
|
@mouseleave=${this._onItemMouseLeave} @keydown=${this._onKeyDown}>${i}</a>`;
|
|
529
529
|
}
|
|
@@ -559,7 +559,7 @@ var P, F = class extends e {
|
|
|
559
559
|
}
|
|
560
560
|
isActiveNode(e) {
|
|
561
561
|
if (e.id === this._currentActiveId) return e;
|
|
562
|
-
if (
|
|
562
|
+
if (j(e)) for (let t of e.items) {
|
|
563
563
|
let e = this.isActiveNode(t);
|
|
564
564
|
if (e) return e;
|
|
565
565
|
}
|
|
@@ -568,11 +568,11 @@ var P, F = class extends e {
|
|
|
568
568
|
_handleItemClick(e) {
|
|
569
569
|
let t = this.tree;
|
|
570
570
|
if (t !== void 0) {
|
|
571
|
-
if (
|
|
571
|
+
if (j(t)) {
|
|
572
572
|
this._isExpanded = !this._isExpanded, e.preventDefault(), e.stopPropagation();
|
|
573
573
|
return;
|
|
574
574
|
}
|
|
575
|
-
e.button !== 0 ||
|
|
575
|
+
e.button !== 0 || w(e) || (e.preventDefault(), e.stopPropagation(), (!this._isActive || this.hasPageTitle) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
|
|
576
576
|
bubbles: !0,
|
|
577
577
|
composed: !0,
|
|
578
578
|
detail: t
|
|
@@ -580,13 +580,13 @@ var P, F = class extends e {
|
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
};
|
|
583
|
-
|
|
584
|
-
context:
|
|
583
|
+
M([s({ attribute: !1 })], P.prototype, "tree", void 0), M([s({ type: Number })], P.prototype, "level", void 0), M([pt({
|
|
584
|
+
context: ht,
|
|
585
585
|
subscribe: !0
|
|
586
|
-
}), l()],
|
|
586
|
+
}), 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([pt({ context: gt })], P.prototype, "_focusManager", void 0), M([s({ type: Boolean })], P.prototype, "hasPageTitle", void 0), P = N = M([o("vsn-menu-item")], P);
|
|
587
587
|
//#endregion
|
|
588
588
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu.ts
|
|
589
|
-
var
|
|
589
|
+
var F = class extends e {
|
|
590
590
|
constructor(...e) {
|
|
591
591
|
super(...e), this.items = [], this._currentActiveId = "", this.currentItem = "", this.hasPageTitle = !1, this._focusManager = {
|
|
592
592
|
focusPrev: (e) => {
|
|
@@ -624,15 +624,15 @@ var I = class extends e {
|
|
|
624
624
|
<vsn-menu-item .tree=${e} .hasPageTitle=${this.hasPageTitle}></vsn-menu-item>`;
|
|
625
625
|
}
|
|
626
626
|
};
|
|
627
|
-
|
|
627
|
+
M([s({ attribute: !1 })], F.prototype, "items", void 0), M([ft({ context: ht }), l()], F.prototype, "_currentActiveId", void 0), M([s()], F.prototype, "currentItem", void 0), M([s({ type: Boolean })], F.prototype, "hasPageTitle", void 0), M([ft({ context: gt })], F.prototype, "_focusManager", void 0), F = M([v(), o("vsn-menu")], F);
|
|
628
628
|
//#endregion
|
|
629
629
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu-button.ts
|
|
630
|
-
var
|
|
630
|
+
var I = class extends e {
|
|
631
631
|
constructor(...e) {
|
|
632
632
|
super(...e), this.label = "", this.closeOnClick = !1, this._onKeydown = (e) => {
|
|
633
|
-
e.defaultPrevented ||
|
|
633
|
+
e.defaultPrevented || T(e) && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), this.click());
|
|
634
634
|
}, this._onClick = (e) => {
|
|
635
|
-
e.defaultPrevented || e.button !== 0 ||
|
|
635
|
+
e.defaultPrevented || e.button !== 0 || w(e) || this.closeOnClick && this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
|
|
636
636
|
bubbles: !0,
|
|
637
637
|
composed: !0
|
|
638
638
|
}));
|
|
@@ -743,13 +743,13 @@ var L = class extends e {
|
|
|
743
743
|
`;
|
|
744
744
|
}
|
|
745
745
|
};
|
|
746
|
-
|
|
746
|
+
M([s()], I.prototype, "label", void 0), M([s({
|
|
747
747
|
type: Boolean,
|
|
748
748
|
attribute: "close-on-click"
|
|
749
|
-
})],
|
|
749
|
+
})], I.prototype, "closeOnClick", void 0), I = M([o("vsn-menu-button")], I);
|
|
750
750
|
//#endregion
|
|
751
751
|
//#region src/components/vsn-side-bar/vsn-menu/vsn-menu-separator.ts
|
|
752
|
-
var
|
|
752
|
+
var _t = class extends e {
|
|
753
753
|
static {
|
|
754
754
|
this.styles = [t`
|
|
755
755
|
/* flow-root establishes a BFC so the .line's margins stay contained.
|
|
@@ -773,15 +773,15 @@ var gt = class extends e {
|
|
|
773
773
|
return n`<div class="line"></div>`;
|
|
774
774
|
}
|
|
775
775
|
};
|
|
776
|
-
|
|
776
|
+
_t = M([o("vsn-menu-separator")], _t);
|
|
777
777
|
//#endregion
|
|
778
778
|
//#region src/components/vsn-side-bar/vsn-footer/vsn-footer.keyboard.ts
|
|
779
|
-
var
|
|
779
|
+
var vt = class {
|
|
780
780
|
constructor(e) {
|
|
781
781
|
this._prevExpanded = !1, this.onUserKeydown = (e) => {
|
|
782
|
-
e.defaultPrevented ||
|
|
782
|
+
e.defaultPrevented || w(e) || e.key === "Escape" && this.host.expanded && (e.preventDefault(), this.host.expanded = !1);
|
|
783
783
|
}, this.onDropdownKeydown = (e) => {
|
|
784
|
-
if (e.defaultPrevented ||
|
|
784
|
+
if (e.defaultPrevented || w(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
785
785
|
e.preventDefault();
|
|
786
786
|
let t = this.host.querySelector(".ga-side-navigation__footer-dropdown");
|
|
787
787
|
if (!t) return;
|
|
@@ -800,7 +800,7 @@ var _t = class {
|
|
|
800
800
|
} else !this.host.expanded && this._prevExpanded && this.host.querySelector(".ga-side-navigation__user")?.focus();
|
|
801
801
|
this._prevExpanded = this.host.expanded;
|
|
802
802
|
}
|
|
803
|
-
},
|
|
803
|
+
}, yt = class {
|
|
804
804
|
constructor(e, t, n) {
|
|
805
805
|
this._onPointerDown = (e) => {
|
|
806
806
|
let t = e.composedPath();
|
|
@@ -817,18 +817,18 @@ var _t = class {
|
|
|
817
817
|
hostDisconnected() {
|
|
818
818
|
document.removeEventListener("pointerdown", this._onPointerDown, !0);
|
|
819
819
|
}
|
|
820
|
-
},
|
|
821
|
-
function
|
|
820
|
+
}, bt = "initials";
|
|
821
|
+
function xt(e, t, n, r) {
|
|
822
822
|
if (!t) return;
|
|
823
823
|
let i = new URLSearchParams({
|
|
824
|
-
type:
|
|
824
|
+
type: bt,
|
|
825
825
|
size: r
|
|
826
826
|
});
|
|
827
827
|
return n && i.set("client_id", n), `${e}${t}?${i}`;
|
|
828
828
|
}
|
|
829
829
|
//#endregion
|
|
830
830
|
//#region src/components/controllers/focus-trapping-controller.ts
|
|
831
|
-
var
|
|
831
|
+
var L = class {
|
|
832
832
|
constructor(e, t, n = void 0) {
|
|
833
833
|
this._rootElement = null, this._onKeyDown = (e) => {
|
|
834
834
|
if (e.defaultPrevented || e.key !== "Tab" || e.ctrlKey || e.altKey || e.metaKey || !this._appliesCallback() || this._rootElement == null) return;
|
|
@@ -847,24 +847,24 @@ var R = class {
|
|
|
847
847
|
hostUpdated() {
|
|
848
848
|
this._rootElement == null && this._rootSelector && (this._rootElement = this._host.renderRoot.querySelector(this._rootSelector), this._rootElement != null && this._rootElement.addEventListener("keydown", this._onKeyDown));
|
|
849
849
|
}
|
|
850
|
-
},
|
|
851
|
-
profile:
|
|
852
|
-
logout:
|
|
853
|
-
},
|
|
850
|
+
}, St = {
|
|
851
|
+
profile: Ze,
|
|
852
|
+
logout: Qe
|
|
853
|
+
}, Ct = () => ({
|
|
854
854
|
profile: _("My profile"),
|
|
855
855
|
logout: _("Log out")
|
|
856
|
-
}),
|
|
856
|
+
}), R = class extends e {
|
|
857
857
|
createRenderRoot() {
|
|
858
858
|
return this;
|
|
859
859
|
}
|
|
860
860
|
get _items() {
|
|
861
861
|
return [{
|
|
862
862
|
id: "profile",
|
|
863
|
-
label:
|
|
863
|
+
label: Ct().profile,
|
|
864
864
|
url: this.myProfileUrl
|
|
865
865
|
}, {
|
|
866
866
|
id: "logout",
|
|
867
|
-
label:
|
|
867
|
+
label: Ct().logout,
|
|
868
868
|
url: "/logout"
|
|
869
869
|
}];
|
|
870
870
|
}
|
|
@@ -894,9 +894,9 @@ var R = class {
|
|
|
894
894
|
});
|
|
895
895
|
}, this._onLabelMouseLeave = () => {
|
|
896
896
|
this._showTooltip = !1;
|
|
897
|
-
}, this._keyboard = new
|
|
897
|
+
}, this._keyboard = new vt(this), new yt(this, [".ga-side-navigation__footer-dropdown", ".ga-side-navigation__user"], () => {
|
|
898
898
|
this.expanded = !1;
|
|
899
|
-
}), new
|
|
899
|
+
}), new L(this, () => this.expanded);
|
|
900
900
|
}
|
|
901
901
|
willUpdate(e) {
|
|
902
902
|
(e.has("user") || e.has("profilePictureBaseUrl")) && (this._avatarFailed = !1);
|
|
@@ -934,7 +934,7 @@ var R = class {
|
|
|
934
934
|
</div>
|
|
935
935
|
|
|
936
936
|
<span class="ga-side-navigation__user-action">
|
|
937
|
-
${this.expanded ?
|
|
937
|
+
${this.expanded ? O(tt, 16) : O(et, 16)}
|
|
938
938
|
</span>
|
|
939
939
|
|
|
940
940
|
</button>
|
|
@@ -956,14 +956,14 @@ var R = class {
|
|
|
956
956
|
${this._items.map((e) => {
|
|
957
957
|
let t = n`
|
|
958
958
|
<span class="ga-side-navigation__footer-dropdown-icon">
|
|
959
|
-
${
|
|
959
|
+
${O(St[e.id], 16)}
|
|
960
960
|
</span>
|
|
961
961
|
<span class="ga-side-navigation__footer-dropdown-title">
|
|
962
962
|
${e.label}
|
|
963
963
|
</span>
|
|
964
964
|
${e.external ? n`
|
|
965
965
|
<span class="ga-side-navigation__footer-dropdown-trail">
|
|
966
|
-
${
|
|
966
|
+
${O($e, 16)}
|
|
967
967
|
</span>
|
|
968
968
|
` : r}
|
|
969
969
|
`;
|
|
@@ -1003,7 +1003,7 @@ var R = class {
|
|
|
1003
1003
|
}));
|
|
1004
1004
|
}
|
|
1005
1005
|
renderAvatar() {
|
|
1006
|
-
let e =
|
|
1006
|
+
let e = xt(this.profilePictureBaseUrl, this.user.userId, this.user.clientId, "small");
|
|
1007
1007
|
return e && !this._avatarFailed ? n`<img
|
|
1008
1008
|
class="ga-side-navigation__user-avatar"
|
|
1009
1009
|
src=${e}
|
|
@@ -1011,26 +1011,26 @@ var R = class {
|
|
|
1011
1011
|
@error=${() => {
|
|
1012
1012
|
this._avatarFailed = !0;
|
|
1013
1013
|
}}/>` : n`<span class="ga-side-navigation__user-avatar vsn-side-navigation__user-avatar--icon">
|
|
1014
|
-
${
|
|
1014
|
+
${O(Ze, 24)}
|
|
1015
1015
|
</span>`;
|
|
1016
1016
|
}
|
|
1017
1017
|
};
|
|
1018
|
-
|
|
1018
|
+
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({
|
|
1019
1019
|
type: Boolean,
|
|
1020
1020
|
reflect: !0
|
|
1021
|
-
})],
|
|
1021
|
+
})], 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);
|
|
1022
1022
|
//#endregion
|
|
1023
1023
|
//#region src/components/vsn-side-bar/vsn-header/vsn-header.keyboard.ts
|
|
1024
|
-
var
|
|
1024
|
+
var wt = class {
|
|
1025
1025
|
constructor(e) {
|
|
1026
1026
|
this.onSwitcherKeydown = (e) => {
|
|
1027
|
-
e.defaultPrevented ||
|
|
1027
|
+
e.defaultPrevented || w(e) || this.host.expanded && e.key === "Escape" && this.host.requestClose() && e.preventDefault();
|
|
1028
1028
|
}, this.host = e, e.addController(this);
|
|
1029
1029
|
}
|
|
1030
1030
|
hostConnected() {}
|
|
1031
|
-
},
|
|
1031
|
+
}, Tt, z = class extends e {
|
|
1032
1032
|
static {
|
|
1033
|
-
|
|
1033
|
+
Tt = this;
|
|
1034
1034
|
}
|
|
1035
1035
|
createRenderRoot() {
|
|
1036
1036
|
return this;
|
|
@@ -1041,18 +1041,18 @@ var Ct = class {
|
|
|
1041
1041
|
constructor() {
|
|
1042
1042
|
super(), this.items = [], this.loading = !1, this.maxHeight = 0, this._handleKeydown = (e) => {
|
|
1043
1043
|
if (e.defaultPrevented) return;
|
|
1044
|
-
if (
|
|
1044
|
+
if (T(e) && (e.key === "Enter" || e.key === " ")) {
|
|
1045
1045
|
let t = e.target;
|
|
1046
1046
|
t instanceof HTMLElement && t.classList.contains("ga-side-navigation__switcher-dropdown-item") && (e.preventDefault(), t.click());
|
|
1047
1047
|
return;
|
|
1048
1048
|
}
|
|
1049
|
-
if (
|
|
1049
|
+
if (w(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
1050
1050
|
e.preventDefault();
|
|
1051
1051
|
let t = Array.from(this.querySelectorAll(".ga-side-navigation__switcher-dropdown-item"));
|
|
1052
1052
|
if (t.length === 0) return;
|
|
1053
1053
|
let n = this.getRootNode().activeElement, r = n instanceof HTMLElement ? t.indexOf(n) : -1, i = null;
|
|
1054
1054
|
e.key === "ArrowUp" && r > 0 ? i = t[r - 1] : e.key === "ArrowDown" && r < t.length - 1 && (i = t[r + 1]), i?.focus();
|
|
1055
|
-
}, this._headerId = `vsn-switcher-dropdown-header-${
|
|
1055
|
+
}, this._headerId = `vsn-switcher-dropdown-header-${Tt._idCounter++}`;
|
|
1056
1056
|
}
|
|
1057
1057
|
firstUpdated() {
|
|
1058
1058
|
this.focus();
|
|
@@ -1064,7 +1064,7 @@ var Ct = class {
|
|
|
1064
1064
|
}));
|
|
1065
1065
|
}
|
|
1066
1066
|
_handleItemClick(e, t) {
|
|
1067
|
-
|
|
1067
|
+
w(e) || (e.preventDefault(), this.dispatchEvent(new CustomEvent("item-select", {
|
|
1068
1068
|
detail: { id: t },
|
|
1069
1069
|
bubbles: !0,
|
|
1070
1070
|
composed: !0
|
|
@@ -1084,7 +1084,7 @@ var Ct = class {
|
|
|
1084
1084
|
aria-labelledby=${this._headerId}
|
|
1085
1085
|
@keydown=${this._handleKeydown}>
|
|
1086
1086
|
<span id=${this._headerId}
|
|
1087
|
-
class="ga-side-navigation__switcher-dropdown-header">${
|
|
1087
|
+
class="ga-side-navigation__switcher-dropdown-header">${Ae()}</span>
|
|
1088
1088
|
${this.items.map((e) => n`
|
|
1089
1089
|
<a class="ga-side-navigation__switcher-dropdown-item"
|
|
1090
1090
|
href=${e.url ?? ""}
|
|
@@ -1096,10 +1096,10 @@ var Ct = class {
|
|
|
1096
1096
|
`;
|
|
1097
1097
|
}
|
|
1098
1098
|
};
|
|
1099
|
-
|
|
1099
|
+
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 = Tt = M([v(), o("vsn-switcher-menu")], z);
|
|
1100
1100
|
//#endregion
|
|
1101
1101
|
//#region src/components/vsn-side-bar/vsn-search/vsn-search.ts
|
|
1102
|
-
var
|
|
1102
|
+
var B = class extends e {
|
|
1103
1103
|
constructor(...e) {
|
|
1104
1104
|
super(...e), this.shortcut = "", this.value = "", this.loading = !1, this._scheduleAutoSearch = () => {
|
|
1105
1105
|
this._cancelDebounce(), this._debounceTimer = window.setTimeout(this._emitSearch, 200);
|
|
@@ -1117,14 +1117,14 @@ var H = class extends e {
|
|
|
1117
1117
|
composed: !0
|
|
1118
1118
|
}));
|
|
1119
1119
|
}, this._handleEscape = (e) => {
|
|
1120
|
-
e.defaultPrevented ||
|
|
1120
|
+
e.defaultPrevented || T(e) && e.key === "Escape" && this.value.length > 0 && (e.preventDefault(), this._emitSearchCleared());
|
|
1121
1121
|
};
|
|
1122
1122
|
}
|
|
1123
1123
|
createRenderRoot() {
|
|
1124
1124
|
return this;
|
|
1125
1125
|
}
|
|
1126
1126
|
render() {
|
|
1127
|
-
let e = this.value.length > 0 && !
|
|
1127
|
+
let e = this.value.length > 0 && !E(this.value);
|
|
1128
1128
|
return n`
|
|
1129
1129
|
<div class="ga-input ga-side-navigation__search" @keydown=${this._handleEscape}>
|
|
1130
1130
|
<button
|
|
@@ -1133,17 +1133,17 @@ var H = class extends e {
|
|
|
1133
1133
|
aria-label=${_("Search")}
|
|
1134
1134
|
?disabled=${!this._canSearch}
|
|
1135
1135
|
@click=${this._emitSearch}>
|
|
1136
|
-
${
|
|
1136
|
+
${O(nt, 24)}
|
|
1137
1137
|
</button>
|
|
1138
1138
|
<input type="search"
|
|
1139
|
-
.placeholder=${
|
|
1139
|
+
.placeholder=${je()}
|
|
1140
1140
|
.value=${this.value}
|
|
1141
1141
|
@input=${this._handleInput}
|
|
1142
1142
|
@keydown=${this._handleEnter}/>
|
|
1143
1143
|
${this._trailingSlot()}
|
|
1144
1144
|
</div>
|
|
1145
1145
|
${f(e, () => n`
|
|
1146
|
-
<div class="vsn-search__helper">${
|
|
1146
|
+
<div class="vsn-search__helper">${Fe(3)}</div>`)}
|
|
1147
1147
|
`;
|
|
1148
1148
|
}
|
|
1149
1149
|
focus() {
|
|
@@ -1151,7 +1151,7 @@ var H = class extends e {
|
|
|
1151
1151
|
e?.focus(), e?.select();
|
|
1152
1152
|
}
|
|
1153
1153
|
get _canSearch() {
|
|
1154
|
-
return
|
|
1154
|
+
return E(this.value);
|
|
1155
1155
|
}
|
|
1156
1156
|
_handleInput(e) {
|
|
1157
1157
|
let t = e.target.value;
|
|
@@ -1165,7 +1165,7 @@ var H = class extends e {
|
|
|
1165
1165
|
this._cancelDebounce(), super.disconnectedCallback();
|
|
1166
1166
|
}
|
|
1167
1167
|
_handleEnter(e) {
|
|
1168
|
-
e.defaultPrevented ||
|
|
1168
|
+
e.defaultPrevented || T(e) && e.key === "Enter" && this._emitSearch();
|
|
1169
1169
|
}
|
|
1170
1170
|
_trailingSlot() {
|
|
1171
1171
|
let e = this.loading, t = this.value.length > 0, i = !this.loading && this.value.length === 0 && this.shortcut.length > 0;
|
|
@@ -1182,7 +1182,7 @@ var H = class extends e {
|
|
|
1182
1182
|
return n`
|
|
1183
1183
|
<button class="vsn-search__clear" aria-label=${_("Clear search")}
|
|
1184
1184
|
@click=${this._emitSearchCleared}>
|
|
1185
|
-
${
|
|
1185
|
+
${O(rt, 16)}
|
|
1186
1186
|
</button>
|
|
1187
1187
|
`;
|
|
1188
1188
|
}
|
|
@@ -1190,17 +1190,17 @@ var H = class extends e {
|
|
|
1190
1190
|
return n`<kbd class="ga-side-navigation__search-shortcut">${this.shortcut}</kbd>`;
|
|
1191
1191
|
}
|
|
1192
1192
|
};
|
|
1193
|
-
|
|
1193
|
+
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);
|
|
1194
1194
|
//#endregion
|
|
1195
1195
|
//#region src/components/vsn-side-bar/vsn-header/vsn-header.ts
|
|
1196
|
-
var
|
|
1196
|
+
var V = class extends e {
|
|
1197
1197
|
createRenderRoot() {
|
|
1198
1198
|
return this;
|
|
1199
1199
|
}
|
|
1200
1200
|
constructor() {
|
|
1201
|
-
super(), this.modules = [], this.modulesLoading = !1, this.moduleSwitcherAlwaysOpen = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new
|
|
1201
|
+
super(), this.modules = [], this.modulesLoading = !1, this.moduleSwitcherAlwaysOpen = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new wt(this), new yt(this, [".ga-side-navigation__switcher-dropdown", ".ga-side-navigation__switcher"], () => {
|
|
1202
1202
|
this.canClose && (this.expanded = !1);
|
|
1203
|
-
}), new
|
|
1203
|
+
}), new L(this, () => this.canClose && this.expanded, ".vsn-switcher-anchor");
|
|
1204
1204
|
}
|
|
1205
1205
|
focus() {
|
|
1206
1206
|
let e = this.querySelector("vsn-search") || this.querySelector("button.ga-side-navigation__switcher") || this.querySelector("vsn-switcher-menu");
|
|
@@ -1221,7 +1221,7 @@ var U = class extends e {
|
|
|
1221
1221
|
title="">
|
|
1222
1222
|
<span class="ga-side-navigation__switcher-title">${e.title}</span>
|
|
1223
1223
|
<span class="ga-side-navigation__switcher-action">
|
|
1224
|
-
${this.expanded ? k
|
|
1224
|
+
${this.expanded ? O(k, 16) : O(et, 16)}
|
|
1225
1225
|
</span>
|
|
1226
1226
|
</button>
|
|
1227
1227
|
` : n`
|
|
@@ -1231,7 +1231,7 @@ var U = class extends e {
|
|
|
1231
1231
|
title="">
|
|
1232
1232
|
<span class="ga-side-navigation__switcher-title">${e.title}</span>
|
|
1233
1233
|
<span class="ga-side-navigation__switcher-action">
|
|
1234
|
-
${
|
|
1234
|
+
${O(Ue, 16)}
|
|
1235
1235
|
</span>
|
|
1236
1236
|
</div>
|
|
1237
1237
|
`}
|
|
@@ -1247,7 +1247,7 @@ var U = class extends e {
|
|
|
1247
1247
|
|
|
1248
1248
|
${f(this.search?.enabled || !1, () => n`
|
|
1249
1249
|
<vsn-search
|
|
1250
|
-
.shortcut=${
|
|
1250
|
+
.shortcut=${Me()}
|
|
1251
1251
|
.value=${this.searchValue}
|
|
1252
1252
|
.loading=${this.searchLoading}>
|
|
1253
1253
|
</vsn-search>`)}
|
|
@@ -1257,7 +1257,7 @@ var U = class extends e {
|
|
|
1257
1257
|
get _state() {
|
|
1258
1258
|
if (this.modulesLoading) return {
|
|
1259
1259
|
kind: "module-loading",
|
|
1260
|
-
title: this.activeModuleLabel ||
|
|
1260
|
+
title: this.activeModuleLabel || Re()
|
|
1261
1261
|
};
|
|
1262
1262
|
let e = this.modules.find((e) => e.id === this.activeModuleId);
|
|
1263
1263
|
return e ? {
|
|
@@ -1266,7 +1266,7 @@ var U = class extends e {
|
|
|
1266
1266
|
available: this.modules.filter((t) => t.id !== e.id)
|
|
1267
1267
|
} : {
|
|
1268
1268
|
kind: "module-unmatched",
|
|
1269
|
-
title: this.activeModuleId && this.activeModuleLabel ? this.activeModuleLabel :
|
|
1269
|
+
title: this.activeModuleId && this.activeModuleLabel ? this.activeModuleLabel : Re(),
|
|
1270
1270
|
available: this.modules
|
|
1271
1271
|
};
|
|
1272
1272
|
}
|
|
@@ -1306,16 +1306,16 @@ var U = class extends e {
|
|
|
1306
1306
|
}), !0);
|
|
1307
1307
|
}
|
|
1308
1308
|
};
|
|
1309
|
-
|
|
1309
|
+
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({
|
|
1310
1310
|
type: Boolean,
|
|
1311
1311
|
reflect: !0
|
|
1312
|
-
})],
|
|
1312
|
+
})], V.prototype, "expanded", void 0), V = M([v(), o("vsn-header")], V);
|
|
1313
1313
|
//#endregion
|
|
1314
1314
|
//#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.keyboard.ts
|
|
1315
|
-
var
|
|
1315
|
+
var Et = class {
|
|
1316
1316
|
constructor(e) {
|
|
1317
1317
|
this.onResultsKeydown = (e) => {
|
|
1318
|
-
if (e.defaultPrevented ||
|
|
1318
|
+
if (e.defaultPrevented || w(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
1319
1319
|
e.preventDefault();
|
|
1320
1320
|
let t = Array.from(this.host.querySelectorAll(".ga-side-navigation__search-results-item"));
|
|
1321
1321
|
if (t.length === 0) return;
|
|
@@ -1326,9 +1326,9 @@ var wt = class {
|
|
|
1326
1326
|
}, this.host = e, e.addController(this);
|
|
1327
1327
|
}
|
|
1328
1328
|
hostConnected() {}
|
|
1329
|
-
},
|
|
1329
|
+
}, Dt, H = class extends e {
|
|
1330
1330
|
static {
|
|
1331
|
-
|
|
1331
|
+
Dt = this;
|
|
1332
1332
|
}
|
|
1333
1333
|
createRenderRoot() {
|
|
1334
1334
|
return this;
|
|
@@ -1350,7 +1350,7 @@ var wt = class {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}, this._onItemMouseLeave = () => {
|
|
1352
1352
|
this._showTooltip = !1;
|
|
1353
|
-
}, this._tooltipId = `vsn-search-result-item-tooltip-${
|
|
1353
|
+
}, this._tooltipId = `vsn-search-result-item-tooltip-${Dt._idCounter++}`;
|
|
1354
1354
|
}
|
|
1355
1355
|
render() {
|
|
1356
1356
|
let e = this.item;
|
|
@@ -1384,12 +1384,12 @@ var wt = class {
|
|
|
1384
1384
|
}));
|
|
1385
1385
|
}
|
|
1386
1386
|
};
|
|
1387
|
-
|
|
1387
|
+
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 = Dt = M([o("vsn-search-result-item")], H);
|
|
1388
1388
|
//#endregion
|
|
1389
1389
|
//#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.ts
|
|
1390
|
-
var
|
|
1390
|
+
var U = class extends e {
|
|
1391
1391
|
constructor(...e) {
|
|
1392
|
-
super(...e), this.loadingMore = !1, this._keyboard = new
|
|
1392
|
+
super(...e), this.loadingMore = !1, this._keyboard = new Et(this);
|
|
1393
1393
|
}
|
|
1394
1394
|
createRenderRoot() {
|
|
1395
1395
|
return this;
|
|
@@ -1431,7 +1431,7 @@ var G = class extends e {
|
|
|
1431
1431
|
class="vsn-search-results__load-more"
|
|
1432
1432
|
?disabled=${this.loadingMore}
|
|
1433
1433
|
@click=${this._onLoadMore}>
|
|
1434
|
-
${
|
|
1434
|
+
${Le()}
|
|
1435
1435
|
</button>
|
|
1436
1436
|
`)}
|
|
1437
1437
|
</div>
|
|
@@ -1444,16 +1444,16 @@ var G = class extends e {
|
|
|
1444
1444
|
}));
|
|
1445
1445
|
}
|
|
1446
1446
|
};
|
|
1447
|
-
|
|
1447
|
+
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);
|
|
1448
1448
|
//#endregion
|
|
1449
1449
|
//#region src/components/vsn-side-bar/vsn-template/vsn-template.ts
|
|
1450
|
-
var
|
|
1450
|
+
var Ot = [
|
|
1451
1451
|
160,
|
|
1452
1452
|
96,
|
|
1453
1453
|
144,
|
|
1454
1454
|
192,
|
|
1455
1455
|
160
|
|
1456
|
-
],
|
|
1456
|
+
], kt = class extends e {
|
|
1457
1457
|
createRenderRoot() {
|
|
1458
1458
|
return this;
|
|
1459
1459
|
}
|
|
@@ -1463,7 +1463,7 @@ var Et = [
|
|
|
1463
1463
|
role="status"
|
|
1464
1464
|
aria-busy="true"
|
|
1465
1465
|
aria-label=${_("Loading results")}>
|
|
1466
|
-
${
|
|
1466
|
+
${Ot.map((e) => n`
|
|
1467
1467
|
<div class="vsn-template__row">
|
|
1468
1468
|
<div class="vsn-template__bar" style="width: ${e}px"></div>
|
|
1469
1469
|
</div>
|
|
@@ -1472,17 +1472,17 @@ var Et = [
|
|
|
1472
1472
|
`;
|
|
1473
1473
|
}
|
|
1474
1474
|
};
|
|
1475
|
-
|
|
1475
|
+
kt = M([v(), o("vsn-template")], kt);
|
|
1476
1476
|
//#endregion
|
|
1477
1477
|
//#region src/components/vsn-side-bar/vsn-error-state/vsn-error-state.ts
|
|
1478
|
-
var
|
|
1478
|
+
var At = class extends e {
|
|
1479
1479
|
createRenderRoot() {
|
|
1480
1480
|
return this;
|
|
1481
1481
|
}
|
|
1482
1482
|
render() {
|
|
1483
1483
|
return n`
|
|
1484
1484
|
<div class="vsn-error-state" role="alert" aria-live="assertive">
|
|
1485
|
-
<div class="vsn-error-state__icon">${
|
|
1485
|
+
<div class="vsn-error-state__icon">${O(it, 24)}</div>
|
|
1486
1486
|
<div class="vsn-error-state__title">${_("Loading error")}</div>
|
|
1487
1487
|
<div class="vsn-error-state__message">${_("We're unable to load the menu.")}</div>
|
|
1488
1488
|
<div class="vsn-error-state__hint">${_("Please check your internet connection and try again.")}</div>
|
|
@@ -1491,15 +1491,15 @@ var Ot = class extends e {
|
|
|
1491
1491
|
`;
|
|
1492
1492
|
}
|
|
1493
1493
|
};
|
|
1494
|
-
|
|
1494
|
+
At = M([v(), o("vsn-error-state")], At);
|
|
1495
1495
|
//#endregion
|
|
1496
1496
|
//#region src/components/vsn-side-bar/vsn-search-scopes/vsn-search-scopes.ts
|
|
1497
|
-
var
|
|
1497
|
+
var jt, W = class extends e {
|
|
1498
1498
|
static {
|
|
1499
|
-
|
|
1499
|
+
jt = this;
|
|
1500
1500
|
}
|
|
1501
1501
|
constructor(...e) {
|
|
1502
|
-
super(...e), this.scopes = [], this.selectedScopeId = "", this._name = `vsn-search-scope-${++
|
|
1502
|
+
super(...e), this.scopes = [], this.selectedScopeId = "", this._name = `vsn-search-scope-${++jt._counter}`;
|
|
1503
1503
|
}
|
|
1504
1504
|
createRenderRoot() {
|
|
1505
1505
|
return this;
|
|
@@ -1537,16 +1537,16 @@ var kt, K = class extends e {
|
|
|
1537
1537
|
}));
|
|
1538
1538
|
}
|
|
1539
1539
|
};
|
|
1540
|
-
|
|
1540
|
+
M([s({ attribute: !1 })], W.prototype, "scopes", void 0), M([s()], W.prototype, "selectedScopeId", void 0), W = jt = M([v(), o("vsn-search-scopes")], W);
|
|
1541
1541
|
//#endregion
|
|
1542
1542
|
//#region src/shared/lang/locale-codes.ts
|
|
1543
|
-
var
|
|
1543
|
+
var Mt = "en", Nt = [
|
|
1544
1544
|
"da",
|
|
1545
1545
|
"fi",
|
|
1546
1546
|
"nl",
|
|
1547
1547
|
"no",
|
|
1548
1548
|
"sv"
|
|
1549
|
-
],
|
|
1549
|
+
], Pt = /* @__PURE__ */ p({ templates: () => Ft }), Ft = {
|
|
1550
1550
|
s09a45db408570a7a: "Min profil",
|
|
1551
1551
|
s119f9875b7d4cdfc: "Har du brug for hjælp? Kontakt support.",
|
|
1552
1552
|
s1228605ee65ddefa: g`${0} resultat`,
|
|
@@ -1585,7 +1585,7 @@ var At = "en", jt = [
|
|
|
1585
1585
|
sf55d634dcc743595: "Tjenester",
|
|
1586
1586
|
sfbf31f663cef6cc2: "Prøv andre søgeord eller tjek stavningen.",
|
|
1587
1587
|
s38385cd359b17f7a: "Loading modules"
|
|
1588
|
-
},
|
|
1588
|
+
}, It = /* @__PURE__ */ p({ templates: () => Lt }), Lt = {
|
|
1589
1589
|
s09a45db408570a7a: "Oma profiili",
|
|
1590
1590
|
s119f9875b7d4cdfc: "Tarvitsetko apua? Ota yhteyttä tukeen.",
|
|
1591
1591
|
s1228605ee65ddefa: g`${0} tulos`,
|
|
@@ -1624,7 +1624,7 @@ var At = "en", jt = [
|
|
|
1624
1624
|
sf55d634dcc743595: "Palvelut",
|
|
1625
1625
|
sfbf31f663cef6cc2: "Kokeile eri hakusanoja tai tarkista kirjoitusasu.",
|
|
1626
1626
|
s38385cd359b17f7a: "Loading modules"
|
|
1627
|
-
},
|
|
1627
|
+
}, Rt = /* @__PURE__ */ p({ templates: () => zt }), zt = {
|
|
1628
1628
|
s09a45db408570a7a: "Mijn profiel",
|
|
1629
1629
|
s119f9875b7d4cdfc: "Hulp nodig? Neem contact op met ondersteuning.",
|
|
1630
1630
|
s1228605ee65ddefa: g`${0} resultaat`,
|
|
@@ -1663,7 +1663,7 @@ var At = "en", jt = [
|
|
|
1663
1663
|
sf55d634dcc743595: "Services",
|
|
1664
1664
|
sfbf31f663cef6cc2: "Probeer andere zoekwoorden of controleer de spelling.",
|
|
1665
1665
|
s38385cd359b17f7a: "Loading modules"
|
|
1666
|
-
},
|
|
1666
|
+
}, Bt = /* @__PURE__ */ p({ templates: () => Vt }), Vt = {
|
|
1667
1667
|
s09a45db408570a7a: "Min profil",
|
|
1668
1668
|
s119f9875b7d4cdfc: "Trenger du hjelp? Kontakt støtte.",
|
|
1669
1669
|
s1228605ee65ddefa: g`${0} resultat`,
|
|
@@ -1702,7 +1702,7 @@ var At = "en", jt = [
|
|
|
1702
1702
|
sf55d634dcc743595: "Tjenester",
|
|
1703
1703
|
sfbf31f663cef6cc2: "Prøv andre søkeord eller sjekk stavemåten.",
|
|
1704
1704
|
s38385cd359b17f7a: "Loading modules"
|
|
1705
|
-
},
|
|
1705
|
+
}, Ht = /* @__PURE__ */ p({ templates: () => Ut }), Ut = {
|
|
1706
1706
|
s09a45db408570a7a: "Min profil",
|
|
1707
1707
|
s119f9875b7d4cdfc: "Behöver du hjälp? Kontakta support.",
|
|
1708
1708
|
s1228605ee65ddefa: g`${0} resultat`,
|
|
@@ -1741,17 +1741,17 @@ var At = "en", jt = [
|
|
|
1741
1741
|
sf55d634dcc743595: "Tjänster",
|
|
1742
1742
|
sfbf31f663cef6cc2: "Prova andra sökord eller kontrollera stavningen.",
|
|
1743
1743
|
s38385cd359b17f7a: "Loading modules"
|
|
1744
|
-
},
|
|
1745
|
-
da:
|
|
1746
|
-
fi:
|
|
1747
|
-
nl:
|
|
1748
|
-
no:
|
|
1749
|
-
sv:
|
|
1750
|
-
}, { getLocale:
|
|
1751
|
-
sourceLocale:
|
|
1752
|
-
targetLocales:
|
|
1753
|
-
loadLocale: (e) =>
|
|
1754
|
-
}),
|
|
1744
|
+
}, Wt = {
|
|
1745
|
+
da: Pt,
|
|
1746
|
+
fi: It,
|
|
1747
|
+
nl: Rt,
|
|
1748
|
+
no: Bt,
|
|
1749
|
+
sv: Ht
|
|
1750
|
+
}, { getLocale: Gt, setLocale: Kt } = Te({
|
|
1751
|
+
sourceLocale: Mt,
|
|
1752
|
+
targetLocales: Nt,
|
|
1753
|
+
loadLocale: (e) => Wt[e] ? Promise.resolve(Wt[e]) : Promise.reject(/* @__PURE__ */ Error(`Unknown locale: ${e}`))
|
|
1754
|
+
}), qt = t`
|
|
1755
1755
|
@layer components {
|
|
1756
1756
|
vsn-footer {
|
|
1757
1757
|
display: block;
|
|
@@ -1801,7 +1801,7 @@ var At = "en", jt = [
|
|
|
1801
1801
|
justify-content: center;
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
|
-
`,
|
|
1804
|
+
`, Jt = t`
|
|
1805
1805
|
@layer components {
|
|
1806
1806
|
.vsn-switcher-anchor {
|
|
1807
1807
|
position: relative;
|
|
@@ -1815,7 +1815,7 @@ var At = "en", jt = [
|
|
|
1815
1815
|
z-index: 10;
|
|
1816
1816
|
}
|
|
1817
1817
|
}
|
|
1818
|
-
`,
|
|
1818
|
+
`, Yt = t`
|
|
1819
1819
|
.vsn-search__trigger,
|
|
1820
1820
|
.vsn-search__clear {
|
|
1821
1821
|
display: inline-flex;
|
|
@@ -1864,7 +1864,7 @@ var At = "en", jt = [
|
|
|
1864
1864
|
.ga-side-navigation__search input::placeholder {
|
|
1865
1865
|
color: var(--ga-color-text-disable-selected);
|
|
1866
1866
|
}
|
|
1867
|
-
`,
|
|
1867
|
+
`, Xt = t`
|
|
1868
1868
|
.vsn-search-results__empty {
|
|
1869
1869
|
display: flex;
|
|
1870
1870
|
flex-direction: column;
|
|
@@ -1933,7 +1933,7 @@ var At = "en", jt = [
|
|
|
1933
1933
|
cursor: not-allowed;
|
|
1934
1934
|
opacity: 0.5;
|
|
1935
1935
|
}
|
|
1936
|
-
`,
|
|
1936
|
+
`, Zt = t`
|
|
1937
1937
|
@layer components {
|
|
1938
1938
|
vsn-search-scopes {
|
|
1939
1939
|
display: block;
|
|
@@ -1954,7 +1954,7 @@ var At = "en", jt = [
|
|
|
1954
1954
|
text-overflow: ellipsis;
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
|
-
`,
|
|
1957
|
+
`, Qt = t`
|
|
1958
1958
|
.vsn-template__row {
|
|
1959
1959
|
display: flex;
|
|
1960
1960
|
flex-direction: column;
|
|
@@ -1969,7 +1969,7 @@ var At = "en", jt = [
|
|
|
1969
1969
|
background: var(--ga-color-miscellaneous-skeleton-element, #F2F3F5);
|
|
1970
1970
|
flex-shrink: 0;
|
|
1971
1971
|
}
|
|
1972
|
-
`,
|
|
1972
|
+
`, $t = t`
|
|
1973
1973
|
.vsn-error-state {
|
|
1974
1974
|
display: flex;
|
|
1975
1975
|
flex-direction: column;
|
|
@@ -2008,7 +2008,7 @@ var At = "en", jt = [
|
|
|
2008
2008
|
font-weight: 400;
|
|
2009
2009
|
color: var(--ga-color-text-on-disabled);
|
|
2010
2010
|
}
|
|
2011
|
-
`,
|
|
2011
|
+
`, en = t`
|
|
2012
2012
|
.vsn-spinner {
|
|
2013
2013
|
display: inline-block;
|
|
2014
2014
|
flex-shrink: 0;
|
|
@@ -2028,14 +2028,14 @@ var At = "en", jt = [
|
|
|
2028
2028
|
@keyframes vsn-spin {
|
|
2029
2029
|
to { transform: rotate(360deg); }
|
|
2030
2030
|
}
|
|
2031
|
-
`,
|
|
2031
|
+
`, tn = "button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])", nn = class {
|
|
2032
2032
|
constructor(e) {
|
|
2033
2033
|
this.onKeydown = (e) => {
|
|
2034
|
-
if (e.defaultPrevented ||
|
|
2034
|
+
if (e.defaultPrevented || w(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
2035
2035
|
let t = this.host.renderRoot.querySelector("slot[name=\"nav-footer\"]");
|
|
2036
2036
|
if (!t) return;
|
|
2037
2037
|
let n = [];
|
|
2038
|
-
for (let e of t.assignedElements({ flatten: !0 })) e.matches(
|
|
2038
|
+
for (let e of t.assignedElements({ flatten: !0 })) e.matches(tn) && n.push(e), n.push(...Array.from(e.querySelectorAll(tn)));
|
|
2039
2039
|
if (n.length === 0) return;
|
|
2040
2040
|
let r = e.composedPath()[0];
|
|
2041
2041
|
if (!(r instanceof HTMLElement)) return;
|
|
@@ -2047,12 +2047,12 @@ var At = "en", jt = [
|
|
|
2047
2047
|
}, this.host = e, e.addController(this);
|
|
2048
2048
|
}
|
|
2049
2049
|
hostConnected() {}
|
|
2050
|
-
},
|
|
2050
|
+
}, rn = t`
|
|
2051
2051
|
.ga-scroll {
|
|
2052
2052
|
scrollbar-color: var(--ga-color-text-disabled) var(--ga-color-surface-page);
|
|
2053
2053
|
scrollbar-width: thin;
|
|
2054
2054
|
}
|
|
2055
|
-
`,
|
|
2055
|
+
`, an = t`
|
|
2056
2056
|
@layer components {
|
|
2057
2057
|
.vsn-menu__list {
|
|
2058
2058
|
list-style: none;
|
|
@@ -2076,7 +2076,7 @@ var At = "en", jt = [
|
|
|
2076
2076
|
content: var(--tw-content);
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
|
-
`,
|
|
2079
|
+
`, on = t`
|
|
2080
2080
|
@layer base {
|
|
2081
2081
|
button:where(.ga-side-navigation__item),
|
|
2082
2082
|
button:where(.ga-side-navigation__switcher),
|
|
@@ -2093,21 +2093,21 @@ var At = "en", jt = [
|
|
|
2093
2093
|
color: inherit;
|
|
2094
2094
|
}
|
|
2095
2095
|
}
|
|
2096
|
-
`,
|
|
2096
|
+
`, G = class extends e {
|
|
2097
2097
|
static {
|
|
2098
2098
|
this.styles = [
|
|
2099
2099
|
h,
|
|
2100
|
-
tn,
|
|
2101
|
-
Kt,
|
|
2102
|
-
nn,
|
|
2103
|
-
Gt,
|
|
2104
2100
|
rn,
|
|
2105
|
-
qt,
|
|
2106
2101
|
Jt,
|
|
2102
|
+
an,
|
|
2103
|
+
qt,
|
|
2104
|
+
on,
|
|
2107
2105
|
Yt,
|
|
2108
2106
|
Xt,
|
|
2109
2107
|
Zt,
|
|
2110
2108
|
Qt,
|
|
2109
|
+
$t,
|
|
2110
|
+
en,
|
|
2111
2111
|
t`
|
|
2112
2112
|
:host {
|
|
2113
2113
|
position: absolute;
|
|
@@ -2132,7 +2132,7 @@ var At = "en", jt = [
|
|
|
2132
2132
|
};
|
|
2133
2133
|
}
|
|
2134
2134
|
constructor() {
|
|
2135
|
-
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 =
|
|
2135
|
+
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 nn(this), this._customWidthPerLanguage = { fi: "30em" }, this._onNavigate = (e) => {
|
|
2136
2136
|
this._searchQuery = "", this._searchResults = void 0, this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
|
|
2137
2137
|
bubbles: !0,
|
|
2138
2138
|
composed: !0
|
|
@@ -2151,24 +2151,24 @@ var At = "en", jt = [
|
|
|
2151
2151
|
this._activeScopeId = e.detail.scopeId, this._runSearch(this._searchQuery, this._activeScopeId);
|
|
2152
2152
|
}, this._resizeObserver = new ResizeObserver((e) => {
|
|
2153
2153
|
this._observeMenuSize(e);
|
|
2154
|
-
}), this._resizeObserver.observe(this), new
|
|
2154
|
+
}), this._resizeObserver.observe(this), new L(this, () => this.open);
|
|
2155
2155
|
}
|
|
2156
2156
|
downLevelTree(e) {
|
|
2157
2157
|
if (!e) return;
|
|
2158
2158
|
let t = e[0];
|
|
2159
|
-
if (!(!t || !
|
|
2159
|
+
if (!(!t || !j(t))) return t;
|
|
2160
2160
|
}
|
|
2161
2161
|
_observeMenuSize(e) {
|
|
2162
2162
|
this._moduleSwitcherMaxHeight = Math.max(0, e[0].contentRect.height - 134);
|
|
2163
2163
|
}
|
|
2164
2164
|
willUpdate(e) {
|
|
2165
|
-
e.has("lang") &&
|
|
2165
|
+
e.has("lang") && Kt(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));
|
|
2166
2166
|
}
|
|
2167
2167
|
updated(e) {
|
|
2168
2168
|
e.has("open") && this.open && this._scrollActiveItemIntoView(), e.has("menu") && this.open && this.menu?.currentItem && (e.get("menu")?.currentItem || this._scrollActiveItemIntoView());
|
|
2169
2169
|
}
|
|
2170
2170
|
resetSidebarToInitialState() {
|
|
2171
|
-
this._searchQuery = "", this._activeScopeId =
|
|
2171
|
+
this._searchQuery = "", this._activeScopeId = D, this._clearSearchState(), this.renderRoot.querySelector("vsn-header")?.reset(), this.renderRoot.querySelector("vsn-footer")?.reset();
|
|
2172
2172
|
}
|
|
2173
2173
|
render() {
|
|
2174
2174
|
let e = this._viewMode();
|
|
@@ -2210,19 +2210,19 @@ var At = "en", jt = [
|
|
|
2210
2210
|
await this.updateComplete, this.renderRoot.querySelector("vsn-header")?.focus();
|
|
2211
2211
|
}
|
|
2212
2212
|
_onSearchInput(e) {
|
|
2213
|
-
this._searchQuery = e.detail.value,
|
|
2213
|
+
this._searchQuery = e.detail.value, E(e.detail.value) || this._clearSearchState();
|
|
2214
2214
|
}
|
|
2215
2215
|
_onSearchSubmit(e) {
|
|
2216
2216
|
this._runSearch(e.detail.query, this._activeScopeId);
|
|
2217
2217
|
}
|
|
2218
2218
|
_onSearchCleared() {
|
|
2219
|
-
this._searchQuery = "", this._activeScopeId =
|
|
2219
|
+
this._searchQuery = "", this._activeScopeId = D, this._clearSearchState(), this.focusSearch();
|
|
2220
2220
|
}
|
|
2221
2221
|
_clearSearchState() {
|
|
2222
2222
|
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;
|
|
2223
2223
|
}
|
|
2224
2224
|
async _runSearch(e, t) {
|
|
2225
|
-
if (this._searchAbort?.abort(), this._searchAbort = void 0, this._searchError = void 0, this._searchNextCursor = void 0, this._searchLoadingMore = !1, !
|
|
2225
|
+
if (this._searchAbort?.abort(), this._searchAbort = void 0, this._searchError = void 0, this._searchNextCursor = void 0, this._searchLoadingMore = !1, !E(e)) {
|
|
2226
2226
|
this._searchResults = void 0, this._searchLoading = !1;
|
|
2227
2227
|
return;
|
|
2228
2228
|
}
|
|
@@ -2246,7 +2246,7 @@ var At = "en", jt = [
|
|
|
2246
2246
|
this._searchResults = t.results, this._searchNextCursor = t.nextCursor, this._searchLoading = !1, this._searchAbort = void 0;
|
|
2247
2247
|
} catch (e) {
|
|
2248
2248
|
if (this._searchAbort !== r) return;
|
|
2249
|
-
e instanceof
|
|
2249
|
+
e instanceof mt ? (this._searchError = e.message, this._searchResults = void 0) : console.error("Search function rejected with non-SearchError:", e), this._searchLoading = !1, this._searchAbort = void 0;
|
|
2250
2250
|
}
|
|
2251
2251
|
}
|
|
2252
2252
|
async _loadMore() {
|
|
@@ -2266,14 +2266,14 @@ var At = "en", jt = [
|
|
|
2266
2266
|
this._searchResults = [...this._searchResults ?? [], ...n.results], this._searchNextCursor = n.nextCursor, this._searchLoadingMore = !1, this._searchAbort = void 0;
|
|
2267
2267
|
} catch (e) {
|
|
2268
2268
|
if (this._searchAbort !== t) return;
|
|
2269
|
-
e instanceof
|
|
2269
|
+
e instanceof mt ? (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;
|
|
2270
2270
|
}
|
|
2271
2271
|
}
|
|
2272
2272
|
_filterTree(e) {
|
|
2273
|
-
let t = this._menu?.items, n =
|
|
2273
|
+
let t = this._menu?.items, n = Pe(e.toLowerCase());
|
|
2274
2274
|
if (!t?.length || n.length === 0) return [];
|
|
2275
2275
|
let r = [], i = (e, t) => {
|
|
2276
|
-
for (let a of e) if (
|
|
2276
|
+
for (let a of e) if (j(a)) i(a.items, [...t, a]);
|
|
2277
2277
|
else {
|
|
2278
2278
|
let e = `${a.label} ${a.keywords ?? ""}`.toLowerCase();
|
|
2279
2279
|
if (n.every((t) => e.includes(t))) {
|
|
@@ -2335,8 +2335,8 @@ var At = "en", jt = [
|
|
|
2335
2335
|
return e.length === 0 ? n`` : n`
|
|
2336
2336
|
<vsn-search-scopes
|
|
2337
2337
|
.scopes=${[{
|
|
2338
|
-
id:
|
|
2339
|
-
label:
|
|
2338
|
+
id: D,
|
|
2339
|
+
label: Ie()
|
|
2340
2340
|
}, ...e.map((e) => ({
|
|
2341
2341
|
id: e.id,
|
|
2342
2342
|
label: e.label
|
|
@@ -2360,15 +2360,15 @@ var At = "en", jt = [
|
|
|
2360
2360
|
`;
|
|
2361
2361
|
}
|
|
2362
2362
|
};
|
|
2363
|
-
|
|
2363
|
+
M([s({ attribute: !1 })], G.prototype, "modules", void 0), M([s()], G.prototype, "activeModuleId", void 0), M([s()], G.prototype, "activeModuleLabel", void 0), M([s({ type: Boolean })], G.prototype, "modulesLoading", void 0), M([s({ type: Boolean })], G.prototype, "moduleSwitcherAlwaysOpen", void 0), M([s()], G.prototype, "lang", void 0), M([s({ attribute: !1 })], G.prototype, "auth", void 0), M([s({ type: Boolean })], G.prototype, "error", void 0), M([s({
|
|
2364
2364
|
type: Boolean,
|
|
2365
2365
|
reflect: !0
|
|
2366
|
-
})],
|
|
2366
|
+
})], G.prototype, "open", void 0), M([s({ attribute: !1 })], G.prototype, "menu", void 0), M([l()], G.prototype, "_searchQuery", void 0), M([l()], G.prototype, "_searchResults", void 0), M([l()], G.prototype, "_searchLoading", void 0), M([l()], G.prototype, "_activeScopeId", void 0), M([l()], G.prototype, "_searchError", void 0), M([l()], G.prototype, "_searchNextCursor", void 0), M([l()], G.prototype, "_searchLoadingMore", void 0), M([l()], G.prototype, "_moduleSwitcherMaxHeight", void 0), M([l()], G.prototype, "_hasPageTitle", void 0), G = M([o("vsn-side-bar")], G);
|
|
2367
2367
|
//#endregion
|
|
2368
2368
|
//#region src/components/vsn-top-bar/vsn-breadcrumb-menu-item.ts
|
|
2369
|
-
var
|
|
2369
|
+
var sn, cn = "height: 0; overflow: hidden; visibility: hidden; white-space: nowrap; pointer-events: none; font-weight: 600;", K = class extends e {
|
|
2370
2370
|
static {
|
|
2371
|
-
|
|
2371
|
+
sn = this;
|
|
2372
2372
|
}
|
|
2373
2373
|
static {
|
|
2374
2374
|
this._idCounter = 0;
|
|
@@ -2388,15 +2388,15 @@ var an, J = class extends e {
|
|
|
2388
2388
|
}, this._onItemMouseLeave = () => {
|
|
2389
2389
|
this._showTooltip = !1;
|
|
2390
2390
|
}, this._onKeyDown = (e) => {
|
|
2391
|
-
e.defaultPrevented ||
|
|
2391
|
+
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));
|
|
2392
2392
|
}, this._onClick = (e) => {
|
|
2393
2393
|
if (e.defaultPrevented) return;
|
|
2394
2394
|
if (this._isParent()) {
|
|
2395
|
-
if (
|
|
2395
|
+
if (w(e)) return;
|
|
2396
2396
|
e.preventDefault(), this._isExpanded = !this._isExpanded;
|
|
2397
2397
|
return;
|
|
2398
2398
|
}
|
|
2399
|
-
if (!this.tree || e.button !== 0 ||
|
|
2399
|
+
if (!this.tree || e.button !== 0 || w(e)) return;
|
|
2400
2400
|
e.preventDefault();
|
|
2401
2401
|
let t = [...this.ancestorPath, this.tree];
|
|
2402
2402
|
this.dispatchEvent(new CustomEvent("vsn-breadcrumb-menu-leaf-select", {
|
|
@@ -2404,7 +2404,7 @@ var an, J = class extends e {
|
|
|
2404
2404
|
bubbles: !0,
|
|
2405
2405
|
composed: !0
|
|
2406
2406
|
}));
|
|
2407
|
-
}, this._tooltipId = `vsn-menu-item-tooltip-${
|
|
2407
|
+
}, this._tooltipId = `vsn-menu-item-tooltip-${sn._idCounter++}`, new L(this, () => this._isExpanded);
|
|
2408
2408
|
}
|
|
2409
2409
|
createRenderRoot() {
|
|
2410
2410
|
return this;
|
|
@@ -2430,17 +2430,18 @@ var an, J = class extends e {
|
|
|
2430
2430
|
<div class="ga-tooltip ga-tooltip--right-start" style="white-space: nowrap">${e}</div>
|
|
2431
2431
|
</div>
|
|
2432
2432
|
<span class="ga-side-navigation__item-icon">
|
|
2433
|
-
${this._isParent() ? this._isExpanded ? k
|
|
2433
|
+
${this._isParent() ? this._isExpanded ? O(k, 16) : O(at, 16) : ""}
|
|
2434
2434
|
</span>
|
|
2435
2435
|
<div class="ga-side-navigation__item-content">
|
|
2436
2436
|
<div class="ga-side-navigation__item-label">${e}</div>
|
|
2437
|
+
<div class="ga-side-navigation__item-label-sizer" aria-hidden="true" style=${cn}>${e}</div>
|
|
2437
2438
|
</div>
|
|
2438
2439
|
`;
|
|
2439
2440
|
return this._isParent() ? n`
|
|
2440
2441
|
<div class="${d(t)}" role="button" tabindex="0" aria-expanded=${this._isExpanded} aria-describedby="${this._tooltipId}" @click=${this._onClick} @keydown=${this._onKeyDown}
|
|
2441
2442
|
@mouseenter=${this._onItemMouseEnter} @mouseleave=${this._onItemMouseLeave}>${r}
|
|
2442
2443
|
</div>` : n`<a class="${d(t)}" aria-describedby="${this._tooltipId}"
|
|
2443
|
-
href="${this.tree &&
|
|
2444
|
+
href="${this.tree && A(this.tree) ? this.tree.url : ""}" @click=${this._onClick}
|
|
2444
2445
|
@mouseenter=${this._onItemMouseEnter} @mouseleave=${this._onItemMouseLeave}>${r}</a>`;
|
|
2445
2446
|
}
|
|
2446
2447
|
_menuItem(e, t) {
|
|
@@ -2448,19 +2449,19 @@ var an, J = class extends e {
|
|
|
2448
2449
|
<vsn-breadcrumb-menu-item .tree=${e} .level=${t} .ancestorPath=${this.tree ? [...this.ancestorPath, this.tree] : this.ancestorPath}></vsn-breadcrumb-menu-item>`;
|
|
2449
2450
|
}
|
|
2450
2451
|
_getTreeItems(e) {
|
|
2451
|
-
if (e !== void 0 &&
|
|
2452
|
+
if (e !== void 0 && j(e)) return e.items;
|
|
2452
2453
|
}
|
|
2453
2454
|
_isParent() {
|
|
2454
|
-
if (this.tree &&
|
|
2455
|
+
if (this.tree && j(this.tree)) return this.tree.items.length > 0;
|
|
2455
2456
|
}
|
|
2456
2457
|
};
|
|
2457
|
-
|
|
2458
|
+
M([s({ attribute: !1 })], K.prototype, "tree", void 0), M([s({ type: Number })], K.prototype, "level", void 0), M([s({ type: Array })], K.prototype, "ancestorPath", void 0), M([l()], K.prototype, "_isExpanded", void 0), M([l()], K.prototype, "_showTooltip", void 0), M([l()], K.prototype, "_tooltipPos", void 0), M([c(".ga-side-navigation__item-label")], K.prototype, "_labelEl", void 0), K = sn = M([o("vsn-breadcrumb-menu-item")], K);
|
|
2458
2459
|
//#endregion
|
|
2459
2460
|
//#region src/components/vsn-top-bar/vsn-breadcrumb-menu.ts
|
|
2460
|
-
var
|
|
2461
|
+
var ln = class extends e {
|
|
2461
2462
|
constructor() {
|
|
2462
2463
|
super(), this._handleKeyDown = (e) => {
|
|
2463
|
-
if (e.defaultPrevented ||
|
|
2464
|
+
if (e.defaultPrevented || w(e)) return;
|
|
2464
2465
|
if (e.key === "Escape") {
|
|
2465
2466
|
e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-breadcrumb-menu-close", {
|
|
2466
2467
|
bubbles: !0,
|
|
@@ -2477,7 +2478,7 @@ var on = class extends e {
|
|
|
2477
2478
|
if (!t.length) return;
|
|
2478
2479
|
let n = t.indexOf(e.target);
|
|
2479
2480
|
n !== -1 && (e.preventDefault(), e.key === "ArrowDown" ? n < t.length - 1 && t[n + 1].focus() : n > 0 && t[n - 1].focus());
|
|
2480
|
-
}, new
|
|
2481
|
+
}, new L(this, () => !0);
|
|
2481
2482
|
}
|
|
2482
2483
|
createRenderRoot() {
|
|
2483
2484
|
return this;
|
|
@@ -2504,10 +2505,10 @@ var on = class extends e {
|
|
|
2504
2505
|
`;
|
|
2505
2506
|
}
|
|
2506
2507
|
};
|
|
2507
|
-
|
|
2508
|
+
M([s({ attribute: !1 })], ln.prototype, "treeList", void 0), ln = M([o("vsn-breadcrumb-menu")], ln);
|
|
2508
2509
|
//#endregion
|
|
2509
2510
|
//#region src/components/vsn-top-bar/vsn-breadcrumbs.ts
|
|
2510
|
-
var
|
|
2511
|
+
var q = class extends e {
|
|
2511
2512
|
constructor(...e) {
|
|
2512
2513
|
super(...e), this.modules = [], this.modulesLoading = !1, this._openPopoverId = null, this._displayMode = "full", this._overflowCount = 0, this._tooltip = null, this._mqDesktop = window.matchMedia("(min-width: 1440px)"), this._mqTablet = window.matchMedia("(min-width: 768px) and (max-width: 1439px)"), this._ro = null, this._lastContainerWidth = 0, this._mounted = !1, this._handleMediaChange = () => {
|
|
2513
2514
|
this._mqDesktop.matches ? (this._displayMode = "full", this._overflowCount = 0) : this._mqTablet.matches ? (this._displayMode = "overflow", this._overflowCount = 0, this._mounted && this.updateComplete.then(() => this._recalculateOverflow())) : (this._displayMode = "mobile", this._overflowCount = 0);
|
|
@@ -2528,8 +2529,8 @@ var Y = class extends e {
|
|
|
2528
2529
|
static {
|
|
2529
2530
|
this.styles = [
|
|
2530
2531
|
h,
|
|
2531
|
-
|
|
2532
|
-
|
|
2532
|
+
rn,
|
|
2533
|
+
en,
|
|
2533
2534
|
t`
|
|
2534
2535
|
.vsn-bc-modules-loading {
|
|
2535
2536
|
display: flex;
|
|
@@ -2652,7 +2653,7 @@ var Y = class extends e {
|
|
|
2652
2653
|
_findPath(e, t, n = []) {
|
|
2653
2654
|
let r = [...n, e];
|
|
2654
2655
|
if (e.id === t) return r;
|
|
2655
|
-
for (let n of
|
|
2656
|
+
for (let n of j(e) ? e.items : []) {
|
|
2656
2657
|
let e = this._findPath(n, t, r);
|
|
2657
2658
|
if (e) return e;
|
|
2658
2659
|
}
|
|
@@ -2665,7 +2666,7 @@ var Y = class extends e {
|
|
|
2665
2666
|
return `vsn-bc-item-${e}-trigger`;
|
|
2666
2667
|
}
|
|
2667
2668
|
_onLeafAsAncestorClick(e, t) {
|
|
2668
|
-
e.button !== 0 ||
|
|
2669
|
+
e.button !== 0 || w(e) || (e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
|
|
2669
2670
|
detail: t,
|
|
2670
2671
|
bubbles: !0,
|
|
2671
2672
|
composed: !0
|
|
@@ -2717,7 +2718,7 @@ var Y = class extends e {
|
|
|
2717
2718
|
aria-haspopup="menu"
|
|
2718
2719
|
popovertarget="vsn-bc-modules-popover"
|
|
2719
2720
|
>
|
|
2720
|
-
<span class="ga-breadcrumb-item__label">${
|
|
2721
|
+
<span class="ga-breadcrumb-item__label">${ze()}</span>
|
|
2721
2722
|
</button>
|
|
2722
2723
|
${t}
|
|
2723
2724
|
<div
|
|
@@ -2747,7 +2748,7 @@ var Y = class extends e {
|
|
|
2747
2748
|
aria-haspopup="menu"
|
|
2748
2749
|
popovertarget="vsn-bc-modules-popover"
|
|
2749
2750
|
>
|
|
2750
|
-
<span class="ga-breadcrumb-item__label">${
|
|
2751
|
+
<span class="ga-breadcrumb-item__label">${ze()}</span>
|
|
2751
2752
|
</button>
|
|
2752
2753
|
${t}
|
|
2753
2754
|
<div
|
|
@@ -2771,14 +2772,14 @@ var Y = class extends e {
|
|
|
2771
2772
|
_handleLeafSelect(e, t) {
|
|
2772
2773
|
(this.shadowRoot?.getElementById(t))?.hidePopover?.();
|
|
2773
2774
|
let n = e.detail.path, r = n[n.length - 1];
|
|
2774
|
-
r &&
|
|
2775
|
+
r && A(r) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
|
|
2775
2776
|
detail: r,
|
|
2776
2777
|
bubbles: !0,
|
|
2777
2778
|
composed: !0
|
|
2778
2779
|
}));
|
|
2779
2780
|
}
|
|
2780
2781
|
_renderLeafAsAncestor(e) {
|
|
2781
|
-
let t =
|
|
2782
|
+
let t = A(e) ? n`<a class="ga-breadcrumb-item__trigger" href=${e.url} @click=${(t) => this._onLeafAsAncestorClick(t, e)}>
|
|
2782
2783
|
<span class="ga-breadcrumb-item__label">${e.label ?? ""}</span>
|
|
2783
2784
|
</a>` : n`<span class="ga-breadcrumb-item__trigger">
|
|
2784
2785
|
<span class="ga-breadcrumb-item__label">${e.label ?? ""}</span>
|
|
@@ -2793,7 +2794,7 @@ var Y = class extends e {
|
|
|
2793
2794
|
</div>`;
|
|
2794
2795
|
}
|
|
2795
2796
|
_renderLastItem(e, t, r) {
|
|
2796
|
-
return r ? n`${
|
|
2797
|
+
return r ? n`${j(e) && e.items.length > 0 ? this._renderBreadcrumbItem(e, t) : this._renderLeafAsAncestor(e)}${this._renderPageTitle(r)}` : this._renderCurrentItem(e);
|
|
2797
2798
|
}
|
|
2798
2799
|
_renderPageTitle(e) {
|
|
2799
2800
|
return n`
|
|
@@ -2815,7 +2816,7 @@ var Y = class extends e {
|
|
|
2815
2816
|
</div>`;
|
|
2816
2817
|
}
|
|
2817
2818
|
_renderBreadcrumbItem(e, t) {
|
|
2818
|
-
if (!
|
|
2819
|
+
if (!j(e) || e.items.length === 0) return n``;
|
|
2819
2820
|
let i = this._popoverItemId(t), a = this._popoverItemTriggerId(t);
|
|
2820
2821
|
return n`
|
|
2821
2822
|
<div class="ga-breadcrumb-item ga-breadcrumb-item--link"
|
|
@@ -2917,10 +2918,10 @@ var Y = class extends e {
|
|
|
2917
2918
|
`;
|
|
2918
2919
|
}
|
|
2919
2920
|
};
|
|
2920
|
-
|
|
2921
|
+
M([s({ attribute: !1 })], q.prototype, "tree", void 0), M([s({ type: Array })], q.prototype, "modules", void 0), M([s()], q.prototype, "activeModuleId", void 0), M([s({ type: Boolean })], q.prototype, "modulesLoading", void 0), M([l()], q.prototype, "_openPopoverId", void 0), M([l()], q.prototype, "_displayMode", void 0), M([l()], q.prototype, "_overflowCount", void 0), M([l()], q.prototype, "_tooltip", void 0), q = M([v(), o("vsn-breadcrumbs")], q);
|
|
2921
2922
|
//#endregion
|
|
2922
2923
|
//#region src/components/vsn-top-bar/vsn-ai-assistant.ts
|
|
2923
|
-
var
|
|
2924
|
+
var un = class extends e {
|
|
2924
2925
|
createRenderRoot() {
|
|
2925
2926
|
return this;
|
|
2926
2927
|
}
|
|
@@ -2935,15 +2936,15 @@ var sn = class extends e {
|
|
|
2935
2936
|
return n`
|
|
2936
2937
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
2937
2938
|
aria-label=${_("Open AI assistant")} @click=${this._handleClick}>
|
|
2938
|
-
<span class="ga-icon">${
|
|
2939
|
+
<span class="ga-icon">${O(Ge)}</span>
|
|
2939
2940
|
</button>
|
|
2940
2941
|
`;
|
|
2941
2942
|
}
|
|
2942
2943
|
};
|
|
2943
|
-
|
|
2944
|
+
un = M([v(), o("vsn-ai-assistant")], un);
|
|
2944
2945
|
//#endregion
|
|
2945
2946
|
//#region src/components/vsn-top-bar/vsn-feedback.ts
|
|
2946
|
-
var
|
|
2947
|
+
var J = class extends e {
|
|
2947
2948
|
constructor(...e) {
|
|
2948
2949
|
super(...e), this._compact = !1, this.feedback = null, this.lang = "en", this._mqMobile = window.matchMedia("(max-width: 767px)"), this._handleMediaChange = () => {
|
|
2949
2950
|
this._compact = this._mqMobile.matches;
|
|
@@ -2983,7 +2984,7 @@ var X = class extends e {
|
|
|
2983
2984
|
if (super.updated(e), e.has("feedback") && this.feedback?.workspaceId && !document.getElementById("survicate-sdk") && !window._sva) {
|
|
2984
2985
|
window._sva = window._sva ?? {}, window._sva.forcedLanguage = this.lang;
|
|
2985
2986
|
let e = document.createElement("script");
|
|
2986
|
-
e.id =
|
|
2987
|
+
e.id = Be, e.src = He(this.feedback.workspaceId), e.async = !0, e.onload = () => this._applyVisitorTraits(), e.onerror = () => {
|
|
2987
2988
|
e.remove(), window._sva = void 0;
|
|
2988
2989
|
}, document.head.appendChild(e);
|
|
2989
2990
|
}
|
|
@@ -3038,14 +3039,14 @@ var X = class extends e {
|
|
|
3038
3039
|
}) : document.body && this._observer.observe(document.body, {
|
|
3039
3040
|
childList: !0,
|
|
3040
3041
|
subtree: !0
|
|
3041
|
-
}), this._surveyFocusCleanupTimer = setTimeout(() => this._clearFocusListener(), 15e3), window._sva?.invokeEvent?.(
|
|
3042
|
+
}), this._surveyFocusCleanupTimer = setTimeout(() => this._clearFocusListener(), 15e3), window._sva?.invokeEvent?.(Ve);
|
|
3042
3043
|
}
|
|
3043
3044
|
}
|
|
3044
3045
|
render() {
|
|
3045
3046
|
return this._compact ? n`
|
|
3046
3047
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
3047
3048
|
aria-label=${_("Send feedback")} @click=${this._handleClick}>
|
|
3048
|
-
<span class="ga-icon">${
|
|
3049
|
+
<span class="ga-icon">${O(Je)}</span>
|
|
3049
3050
|
</button>
|
|
3050
3051
|
` : n`
|
|
3051
3052
|
<button type="button" class="ga-button ga-button--secondary" aria-label=${_("Send feedback")}
|
|
@@ -3055,10 +3056,10 @@ var X = class extends e {
|
|
|
3055
3056
|
`;
|
|
3056
3057
|
}
|
|
3057
3058
|
};
|
|
3058
|
-
|
|
3059
|
+
M([l()], J.prototype, "_compact", void 0), M([s({ attribute: !1 })], J.prototype, "feedback", void 0), M([s({ attribute: !1 })], J.prototype, "auth", void 0), M([s()], J.prototype, "lang", void 0), J = M([v(), o("vsn-feedback")], J);
|
|
3059
3060
|
//#endregion
|
|
3060
3061
|
//#region src/components/vsn-top-bar/vsn-home.ts
|
|
3061
|
-
var
|
|
3062
|
+
var dn = class extends e {
|
|
3062
3063
|
createRenderRoot() {
|
|
3063
3064
|
return this;
|
|
3064
3065
|
}
|
|
@@ -3077,15 +3078,15 @@ var cn = class extends e {
|
|
|
3077
3078
|
return this.landingPageUrl ? n`
|
|
3078
3079
|
<a href=${this.landingPageUrl} class="ga-button ga-button--ghost ga-button--icon-only" aria-label=${_("Home")}
|
|
3079
3080
|
@click=${this._handleClick}>
|
|
3080
|
-
<span class="ga-icon">${
|
|
3081
|
+
<span class="ga-icon">${O(Ye)}</span>
|
|
3081
3082
|
</a>
|
|
3082
3083
|
` : r;
|
|
3083
3084
|
}
|
|
3084
3085
|
};
|
|
3085
|
-
|
|
3086
|
+
M([s({ attribute: "landing-page-url" })], dn.prototype, "landingPageUrl", void 0), dn = M([v(), o("vsn-home")], dn);
|
|
3086
3087
|
//#endregion
|
|
3087
3088
|
//#region src/components/vsn-top-bar/vsn-menu-toggle.ts
|
|
3088
|
-
var
|
|
3089
|
+
var Y = class extends e {
|
|
3089
3090
|
createRenderRoot() {
|
|
3090
3091
|
return this;
|
|
3091
3092
|
}
|
|
@@ -3112,21 +3113,21 @@ var ln = class extends e {
|
|
|
3112
3113
|
@click=${this._handleClick}
|
|
3113
3114
|
@mouseenter=${this._onActivate}
|
|
3114
3115
|
@mouseleave=${this._onDeactivate}>
|
|
3115
|
-
<span class="ga-icon">${
|
|
3116
|
+
<span class="ga-icon">${O(We)}</span>
|
|
3116
3117
|
</button>
|
|
3117
3118
|
<div id="vsn-menu-toggle-tooltip" role="tooltip"
|
|
3118
3119
|
style="position: fixed; inset: unset; margin: 0; padding: 0; border: none; background: transparent; overflow: visible; pointer-events: none; z-index: 9999;"
|
|
3119
3120
|
popover="manual">
|
|
3120
3121
|
<div class="ga-tooltip ga-tooltip--bottom-start kbd-only" style="white-space: nowrap;">
|
|
3121
|
-
<span class="content">${
|
|
3122
|
+
<span class="content">${Ne()}</span></div>
|
|
3122
3123
|
</div>
|
|
3123
3124
|
`;
|
|
3124
3125
|
}
|
|
3125
3126
|
};
|
|
3126
|
-
|
|
3127
|
+
M([c("div[role=\"tooltip\"]", !0)], Y.prototype, "_tooltipElement", void 0), Y = M([v(), o("vsn-menu-toggle")], Y);
|
|
3127
3128
|
//#endregion
|
|
3128
3129
|
//#region src/components/vsn-top-bar/vsn-notifications.ts
|
|
3129
|
-
var
|
|
3130
|
+
var fn = class extends e {
|
|
3130
3131
|
constructor(...e) {
|
|
3131
3132
|
super(...e), this.notificationActive = !1;
|
|
3132
3133
|
}
|
|
@@ -3141,23 +3142,23 @@ var un = class extends e {
|
|
|
3141
3142
|
}));
|
|
3142
3143
|
}
|
|
3143
3144
|
render() {
|
|
3144
|
-
let e = this.notificationActive ?
|
|
3145
|
+
let e = this.notificationActive ? qe : Ke;
|
|
3145
3146
|
return n`
|
|
3146
3147
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
3147
3148
|
aria-label=${_("Notifications")} @click=${this._handleClick}>
|
|
3148
|
-
<span class="ga-icon">${
|
|
3149
|
+
<span class="ga-icon">${O(e)}</span>
|
|
3149
3150
|
</button>
|
|
3150
3151
|
`;
|
|
3151
3152
|
}
|
|
3152
3153
|
};
|
|
3153
|
-
|
|
3154
|
+
M([s({
|
|
3154
3155
|
type: Boolean,
|
|
3155
3156
|
attribute: "notification-active",
|
|
3156
3157
|
reflect: !0
|
|
3157
|
-
})],
|
|
3158
|
+
})], fn.prototype, "notificationActive", void 0), fn = M([v(), o("vsn-notifications")], fn);
|
|
3158
3159
|
//#endregion
|
|
3159
3160
|
//#region src/components/vsn-top-bar/vsn-help.ts
|
|
3160
|
-
function
|
|
3161
|
+
function pn(e) {
|
|
3161
3162
|
try {
|
|
3162
3163
|
let t = new URL(e);
|
|
3163
3164
|
return t.protocol === "https:" || t.protocol === "http:";
|
|
@@ -3165,7 +3166,7 @@ function dn(e) {
|
|
|
3165
3166
|
return !1;
|
|
3166
3167
|
}
|
|
3167
3168
|
}
|
|
3168
|
-
var
|
|
3169
|
+
var X = class extends e {
|
|
3169
3170
|
createRenderRoot() {
|
|
3170
3171
|
return this;
|
|
3171
3172
|
}
|
|
@@ -3177,20 +3178,20 @@ var fn = class extends e {
|
|
|
3177
3178
|
}));
|
|
3178
3179
|
}
|
|
3179
3180
|
render() {
|
|
3180
|
-
return this.helpUrl &&
|
|
3181
|
+
return this.helpUrl && pn(this.helpUrl) ? n`
|
|
3181
3182
|
<a href=${this.helpUrl} target="_blank" rel="noopener noreferrer" class="ga-button ga-button--secondary ga-button--icon-only"
|
|
3182
3183
|
aria-label=${_("Help")}>
|
|
3183
|
-
<span class="ga-icon">${
|
|
3184
|
+
<span class="ga-icon">${O(Xe)}</span>
|
|
3184
3185
|
</a>
|
|
3185
3186
|
` : n`
|
|
3186
3187
|
<button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${_("Help")}
|
|
3187
3188
|
@click=${this._handleClick}>
|
|
3188
|
-
<span class="ga-icon">${
|
|
3189
|
+
<span class="ga-icon">${O(Xe)}</span>
|
|
3189
3190
|
</button>
|
|
3190
3191
|
`;
|
|
3191
3192
|
}
|
|
3192
3193
|
};
|
|
3193
|
-
|
|
3194
|
+
M([s({ attribute: "help-url" })], X.prototype, "helpUrl", void 0), X = M([v(), o("vsn-help")], X);
|
|
3194
3195
|
//#endregion
|
|
3195
3196
|
//#region src/components/vsn-top-bar/vsn-top-bar.ts
|
|
3196
3197
|
var Z = class extends e {
|
|
@@ -3198,7 +3199,7 @@ var Z = class extends e {
|
|
|
3198
3199
|
super(...e), this.modules = [], this.feedback = null, this.showHelp = !1, this.showNotification = !1, this.notificationActive = !1, this.modulesLoading = !1, this.lang = "en";
|
|
3199
3200
|
}
|
|
3200
3201
|
willUpdate(e) {
|
|
3201
|
-
e.has("lang") &&
|
|
3202
|
+
e.has("lang") && Kt(this.lang).catch(console.error);
|
|
3202
3203
|
}
|
|
3203
3204
|
focusMenuToggle() {
|
|
3204
3205
|
this.renderRoot.querySelector("vsn-menu-toggle")?.focus();
|
|
@@ -3350,19 +3351,19 @@ var Z = class extends e {
|
|
|
3350
3351
|
`;
|
|
3351
3352
|
}
|
|
3352
3353
|
};
|
|
3353
|
-
|
|
3354
|
+
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({
|
|
3354
3355
|
type: Boolean,
|
|
3355
3356
|
attribute: "show-help"
|
|
3356
|
-
})], Z.prototype, "showHelp", void 0),
|
|
3357
|
+
})], Z.prototype, "showHelp", void 0), M([s({ attribute: "help-url" })], Z.prototype, "helpUrl", void 0), M([s({
|
|
3357
3358
|
type: Boolean,
|
|
3358
3359
|
attribute: "show-notification"
|
|
3359
|
-
})], Z.prototype, "showNotification", void 0),
|
|
3360
|
+
})], Z.prototype, "showNotification", void 0), M([s({
|
|
3360
3361
|
type: Boolean,
|
|
3361
3362
|
attribute: "notification-active"
|
|
3362
|
-
})], Z.prototype, "notificationActive", void 0),
|
|
3363
|
+
})], 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);
|
|
3363
3364
|
//#endregion
|
|
3364
3365
|
//#region src/components/vsn-card.ts
|
|
3365
|
-
var
|
|
3366
|
+
var mn = class extends e {
|
|
3366
3367
|
static {
|
|
3367
3368
|
this.styles = [h, t`
|
|
3368
3369
|
:host {
|
|
@@ -3383,7 +3384,7 @@ var pn = class extends e {
|
|
|
3383
3384
|
return n`<slot></slot>`;
|
|
3384
3385
|
}
|
|
3385
3386
|
};
|
|
3386
|
-
|
|
3387
|
+
mn = M([o("vsn-card")], mn);
|
|
3387
3388
|
//#endregion
|
|
3388
3389
|
//#region src/components/vsn-skip-to-main.ts
|
|
3389
3390
|
var Q = class extends e {
|
|
@@ -3451,7 +3452,7 @@ var Q = class extends e {
|
|
|
3451
3452
|
t && (t.tabIndex < 0 && t.setAttribute("tabindex", "-1"), t.focus());
|
|
3452
3453
|
}
|
|
3453
3454
|
};
|
|
3454
|
-
|
|
3455
|
+
M([s()], Q.prototype, "href", void 0), Q = M([v(), o("vsn-skip-to-main")], Q);
|
|
3455
3456
|
//#endregion
|
|
3456
3457
|
//#region src/components/vsn-navigation.ts
|
|
3457
3458
|
var $ = class extends e {
|
|
@@ -3474,7 +3475,7 @@ var $ = class extends e {
|
|
|
3474
3475
|
detail: t
|
|
3475
3476
|
}));
|
|
3476
3477
|
}, this._onShortcut = (e) => {
|
|
3477
|
-
if (!e.defaultPrevented && !e.repeat && !(!
|
|
3478
|
+
if (!e.defaultPrevented && !e.repeat && !(!ke(e) || e.key.toLowerCase() !== "o")) if (e.preventDefault(), this.open) this._closeSideBar();
|
|
3478
3479
|
else {
|
|
3479
3480
|
if (!this.dispatchEvent(new CustomEvent("vsn-open", {
|
|
3480
3481
|
cancelable: !0,
|
|
@@ -3484,7 +3485,7 @@ var $ = class extends e {
|
|
|
3484
3485
|
this._openAndFocusSearch();
|
|
3485
3486
|
}
|
|
3486
3487
|
}, this._onEscape = (e) => {
|
|
3487
|
-
e.defaultPrevented || this.open &&
|
|
3488
|
+
e.defaultPrevented || this.open && T(e) && e.key === "Escape" && (e.preventDefault(), this.open = !1);
|
|
3488
3489
|
};
|
|
3489
3490
|
}
|
|
3490
3491
|
_resolveModules() {
|
|
@@ -3507,7 +3508,7 @@ var $ = class extends e {
|
|
|
3507
3508
|
static {
|
|
3508
3509
|
this.styles = [
|
|
3509
3510
|
h,
|
|
3510
|
-
|
|
3511
|
+
rn,
|
|
3511
3512
|
t`
|
|
3512
3513
|
:host {
|
|
3513
3514
|
display: flex;
|
|
@@ -3624,22 +3625,22 @@ var $ = class extends e {
|
|
|
3624
3625
|
`;
|
|
3625
3626
|
}
|
|
3626
3627
|
};
|
|
3627
|
-
|
|
3628
|
+
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({
|
|
3628
3629
|
type: Boolean,
|
|
3629
3630
|
attribute: "show-help"
|
|
3630
|
-
})], $.prototype, "showHelp", void 0),
|
|
3631
|
+
})], $.prototype, "showHelp", void 0), M([s({ attribute: "help-url" })], $.prototype, "helpUrl", void 0), M([s({ attribute: !1 })], $.prototype, "feedback", void 0), M([s({
|
|
3631
3632
|
type: Boolean,
|
|
3632
3633
|
attribute: "module-switcher-always-open"
|
|
3633
|
-
})], $.prototype, "moduleSwitcherAlwaysOpen", void 0),
|
|
3634
|
+
})], $.prototype, "moduleSwitcherAlwaysOpen", void 0), M([s({
|
|
3634
3635
|
type: Boolean,
|
|
3635
3636
|
attribute: "show-notification"
|
|
3636
|
-
})], $.prototype, "showNotification", void 0),
|
|
3637
|
+
})], $.prototype, "showNotification", void 0), M([s({
|
|
3637
3638
|
type: Boolean,
|
|
3638
3639
|
attribute: "notification-active"
|
|
3639
|
-
})], $.prototype, "notificationActive", void 0),
|
|
3640
|
+
})], $.prototype, "notificationActive", void 0), M([s({
|
|
3640
3641
|
type: Boolean,
|
|
3641
3642
|
attribute: "open",
|
|
3642
3643
|
reflect: !0
|
|
3643
|
-
})], $.prototype, "open", void 0),
|
|
3644
|
+
})], $.prototype, "open", void 0), M([l()], $.prototype, "_resolvedModules", void 0), M([l()], $.prototype, "_modulesLoading", void 0), $ = M([o("vsn-navigation")], $);
|
|
3644
3645
|
//#endregion
|
|
3645
|
-
export {
|
|
3646
|
+
export { mt as SearchError, $ as VSNNavigation, Q as VSNSkipToMain, A as isTreeLeaf, j as isTreeParent };
|