@triptease/tt-navbar 0.0.95 → 0.0.96
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/CHANGELOG.md +7 -0
- package/dist/web/Config.js +1 -1
- package/dist/web/Routes.js +1 -1
- package/dist/web/TtNavbar.js +31 -127
- package/dist/web/TtNavbar.js.map +2 -2
- package/dist/web/getInitialNavbarState.js +1 -1
- package/dist/web/global.d.js +1 -1
- package/dist/web/index.js +31 -127
- package/dist/web/index.js.map +2 -2
- package/dist/web/styles.js +15 -27
- package/dist/web/styles.js.map +1 -1
- package/dist/web/triptease-logo.js +1 -1
- package/dist/web/tt-navbar.js +31 -127
- package/dist/web/tt-navbar.js.map +2 -2
- package/dist/web/urlMappings.js +1 -1
- package/package.json +2 -2
package/dist/web/styles.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @triptease/tt-navbar v0.0.
|
|
2
|
+
* @triptease/tt-navbar v0.0.96
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
// ../../node_modules/@lit/reactive-element/css-tag.js
|
|
6
6
|
var t = globalThis;
|
|
7
7
|
var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
|
|
8
|
-
var s = Symbol();
|
|
8
|
+
var s = /* @__PURE__ */ Symbol();
|
|
9
9
|
var o = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
var n = class {
|
|
11
11
|
constructor(t3, e4, o5) {
|
|
@@ -27,15 +27,15 @@ var n = class {
|
|
|
27
27
|
};
|
|
28
28
|
var r = (t3) => new n("string" == typeof t3 ? t3 : t3 + "", void 0, s);
|
|
29
29
|
var i = (t3, ...e4) => {
|
|
30
|
-
const o5 = 1 === t3.length ? t3[0] : e4.reduce((e5, s4, o6) => e5 + ((t4) => {
|
|
30
|
+
const o5 = 1 === t3.length ? t3[0] : e4.reduce(((e5, s4, o6) => e5 + ((t4) => {
|
|
31
31
|
if (true === t4._$cssResult$) return t4.cssText;
|
|
32
32
|
if ("number" == typeof t4) return t4;
|
|
33
33
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + t4 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
34
|
-
})(s4) + t3[o6 + 1], t3[0]);
|
|
34
|
+
})(s4) + t3[o6 + 1]), t3[0]);
|
|
35
35
|
return new n(o5, t3, s);
|
|
36
36
|
};
|
|
37
37
|
var S = (s4, o5) => {
|
|
38
|
-
if (e) s4.adoptedStyleSheets = o5.map((t3) => t3 instanceof CSSStyleSheet ? t3 : t3.styleSheet);
|
|
38
|
+
if (e) s4.adoptedStyleSheets = o5.map(((t3) => t3 instanceof CSSStyleSheet ? t3 : t3.styleSheet));
|
|
39
39
|
else for (const e4 of o5) {
|
|
40
40
|
const o6 = document.createElement("style"), n4 = t.litNonce;
|
|
41
41
|
void 0 !== n4 && o6.setAttribute("nonce", n4), o6.textContent = e4.cssText, s4.appendChild(o6);
|
|
@@ -85,7 +85,7 @@ var u = { toAttribute(t3, s4) {
|
|
|
85
85
|
} };
|
|
86
86
|
var f = (t3, s4) => !i2(t3, s4);
|
|
87
87
|
var b = { attribute: true, type: String, converter: u, reflect: false, useDefault: false, hasChanged: f };
|
|
88
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), a.litPropertyMetadata ?? (a.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
88
|
+
Symbol.metadata ?? (Symbol.metadata = /* @__PURE__ */ Symbol("metadata")), a.litPropertyMetadata ?? (a.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
89
89
|
var y = class extends HTMLElement {
|
|
90
90
|
static addInitializer(t3) {
|
|
91
91
|
this._$Ei(), (this.l ?? (this.l = [])).push(t3);
|
|
@@ -95,7 +95,7 @@ var y = class extends HTMLElement {
|
|
|
95
95
|
}
|
|
96
96
|
static createProperty(t3, s4 = b) {
|
|
97
97
|
if (s4.state && (s4.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t3) && ((s4 = Object.create(s4)).wrapped = true), this.elementProperties.set(t3, s4), !s4.noAccessor) {
|
|
98
|
-
const i5 = Symbol(), h3 = this.getPropertyDescriptor(t3, i5, s4);
|
|
98
|
+
const i5 = /* @__PURE__ */ Symbol(), h3 = this.getPropertyDescriptor(t3, i5, s4);
|
|
99
99
|
void 0 !== h3 && e2(this.prototype, t3, h3);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -152,7 +152,7 @@ var y = class extends HTMLElement {
|
|
|
152
152
|
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
153
153
|
}
|
|
154
154
|
_$Ev() {
|
|
155
|
-
this._$ES = new Promise((t3) => this.enableUpdating = t3), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t3) => t3(this));
|
|
155
|
+
this._$ES = new Promise(((t3) => this.enableUpdating = t3)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(((t3) => t3(this)));
|
|
156
156
|
}
|
|
157
157
|
addController(t3) {
|
|
158
158
|
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t3), void 0 !== this.renderRoot && this.isConnected && t3.hostConnected?.();
|
|
@@ -170,12 +170,12 @@ var y = class extends HTMLElement {
|
|
|
170
170
|
return S(t3, this.constructor.elementStyles), t3;
|
|
171
171
|
}
|
|
172
172
|
connectedCallback() {
|
|
173
|
-
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), this._$EO?.forEach((t3) => t3.hostConnected?.());
|
|
173
|
+
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), this._$EO?.forEach(((t3) => t3.hostConnected?.()));
|
|
174
174
|
}
|
|
175
175
|
enableUpdating(t3) {
|
|
176
176
|
}
|
|
177
177
|
disconnectedCallback() {
|
|
178
|
-
this._$EO?.forEach((t3) => t3.hostDisconnected?.());
|
|
178
|
+
this._$EO?.forEach(((t3) => t3.hostDisconnected?.()));
|
|
179
179
|
}
|
|
180
180
|
attributeChangedCallback(t3, s4, i5) {
|
|
181
181
|
this._$AK(t3, i5);
|
|
@@ -234,7 +234,7 @@ var y = class extends HTMLElement {
|
|
|
234
234
|
let t3 = false;
|
|
235
235
|
const s4 = this._$AL;
|
|
236
236
|
try {
|
|
237
|
-
t3 = this.shouldUpdate(s4), t3 ? (this.willUpdate(s4), this._$EO?.forEach((t4) => t4.hostUpdate?.()), this.update(s4)) : this._$EM();
|
|
237
|
+
t3 = this.shouldUpdate(s4), t3 ? (this.willUpdate(s4), this._$EO?.forEach(((t4) => t4.hostUpdate?.())), this.update(s4)) : this._$EM();
|
|
238
238
|
} catch (s5) {
|
|
239
239
|
throw t3 = false, this._$EM(), s5;
|
|
240
240
|
}
|
|
@@ -243,7 +243,7 @@ var y = class extends HTMLElement {
|
|
|
243
243
|
willUpdate(t3) {
|
|
244
244
|
}
|
|
245
245
|
_$AE(t3) {
|
|
246
|
-
this._$EO?.forEach((t4) => t4.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t3)), this.updated(t3);
|
|
246
|
+
this._$EO?.forEach(((t4) => t4.hostUpdated?.())), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t3)), this.updated(t3);
|
|
247
247
|
}
|
|
248
248
|
_$EM() {
|
|
249
249
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
|
|
@@ -258,7 +258,7 @@ var y = class extends HTMLElement {
|
|
|
258
258
|
return true;
|
|
259
259
|
}
|
|
260
260
|
update(t3) {
|
|
261
|
-
this._$Eq && (this._$Eq = this._$Eq.forEach((t4) => this._$ET(t4, this[t4]))), this._$EM();
|
|
261
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(((t4) => this._$ET(t4, this[t4])))), this._$EM();
|
|
262
262
|
}
|
|
263
263
|
updated(t3) {
|
|
264
264
|
}
|
|
@@ -293,8 +293,8 @@ var y2 = (t3) => (i5, ...s4) => ({ _$litType$: t3, strings: i5, values: s4 });
|
|
|
293
293
|
var x = y2(1);
|
|
294
294
|
var b2 = y2(2);
|
|
295
295
|
var w = y2(3);
|
|
296
|
-
var T = Symbol.for("lit-noChange");
|
|
297
|
-
var E = Symbol.for("lit-nothing");
|
|
296
|
+
var T = /* @__PURE__ */ Symbol.for("lit-noChange");
|
|
297
|
+
var E = /* @__PURE__ */ Symbol.for("lit-nothing");
|
|
298
298
|
var A = /* @__PURE__ */ new WeakMap();
|
|
299
299
|
var C = r3.createTreeWalker(r3, 129);
|
|
300
300
|
function P(t3, i5) {
|
|
@@ -890,19 +890,7 @@ export {
|
|
|
890
890
|
*)
|
|
891
891
|
|
|
892
892
|
@lit/reactive-element/reactive-element.js:
|
|
893
|
-
(**
|
|
894
|
-
* @license
|
|
895
|
-
* Copyright 2017 Google LLC
|
|
896
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
897
|
-
*)
|
|
898
|
-
|
|
899
893
|
lit-html/lit-html.js:
|
|
900
|
-
(**
|
|
901
|
-
* @license
|
|
902
|
-
* Copyright 2017 Google LLC
|
|
903
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
904
|
-
*)
|
|
905
|
-
|
|
906
894
|
lit-element/lit-element.js:
|
|
907
895
|
(**
|
|
908
896
|
* @license
|