@urnetwork/elements 0.0.1-beta.4 → 0.0.1-beta.6
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/components/icons/icon-spinner.d.ts +2 -0
- package/dist/components/index.d.ts +0 -1
- package/dist/components.js +4 -5
- package/dist/react/icons/icon-spinner/icon-spinner.d.ts +4 -0
- package/dist/react.js +2 -2
- package/dist/{selected-location-BFk7DXEb.js → selected-location-BOQuY5tO.js} +400 -436
- package/package.json +1 -1
- package/dist/components/spinner/index.d.ts +0 -1
- package/dist/components/spinner/spinner.d.ts +0 -14
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { css as c, LitElement as
|
|
2
|
-
import { unsafeStatic as
|
|
1
|
+
import { css as c, LitElement as d, html as h } from "lit";
|
|
2
|
+
import { unsafeStatic as at, html as ht } from "lit/static-html.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright 2017 Google LLC
|
|
6
6
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const u = (i) => (t, e) => {
|
|
9
9
|
e !== void 0 ? e.addInitializer(() => {
|
|
10
10
|
customElements.define(i, t);
|
|
11
11
|
}) : customElements.define(i, t);
|
|
@@ -15,10 +15,10 @@ const d = (i) => (t, e) => {
|
|
|
15
15
|
* Copyright 2019 Google LLC
|
|
16
16
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
17
|
*/
|
|
18
|
-
const D = globalThis, V = D.ShadowRoot && (D.ShadyCSS === void 0 || D.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
19
|
-
let
|
|
18
|
+
const D = globalThis, V = D.ShadowRoot && (D.ShadyCSS === void 0 || D.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, et = Symbol(), G = /* @__PURE__ */ new WeakMap();
|
|
19
|
+
let ct = class {
|
|
20
20
|
constructor(t, e, o) {
|
|
21
|
-
if (this._$cssResult$ = !0, o !==
|
|
21
|
+
if (this._$cssResult$ = !0, o !== et) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
22
22
|
this.cssText = t, this.t = e;
|
|
23
23
|
}
|
|
24
24
|
get styleSheet() {
|
|
@@ -26,7 +26,7 @@ let dt = class {
|
|
|
26
26
|
const e = this.t;
|
|
27
27
|
if (V && t === void 0) {
|
|
28
28
|
const o = e !== void 0 && e.length === 1;
|
|
29
|
-
o && (t =
|
|
29
|
+
o && (t = G.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), o && G.set(e, t));
|
|
30
30
|
}
|
|
31
31
|
return t;
|
|
32
32
|
}
|
|
@@ -34,26 +34,26 @@ let dt = class {
|
|
|
34
34
|
return this.cssText;
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
const
|
|
37
|
+
const pt = (i) => new ct(typeof i == "string" ? i : i + "", void 0, et), dt = (i, t) => {
|
|
38
38
|
if (V) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
39
39
|
else for (const e of t) {
|
|
40
40
|
const o = document.createElement("style"), r = D.litNonce;
|
|
41
41
|
r !== void 0 && o.setAttribute("nonce", r), o.textContent = e.cssText, i.appendChild(o);
|
|
42
42
|
}
|
|
43
|
-
},
|
|
43
|
+
}, J = V ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
|
|
44
44
|
let e = "";
|
|
45
45
|
for (const o of t.cssRules) e += o.cssText;
|
|
46
|
-
return
|
|
46
|
+
return pt(e);
|
|
47
47
|
})(i) : i;
|
|
48
48
|
/**
|
|
49
49
|
* @license
|
|
50
50
|
* Copyright 2017 Google LLC
|
|
51
51
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
52
52
|
*/
|
|
53
|
-
const { is:
|
|
53
|
+
const { is: ut, defineProperty: ft, getOwnPropertyDescriptor: vt, getOwnPropertyNames: mt, getOwnPropertySymbols: gt, getPrototypeOf: bt } = Object, y = globalThis, Y = y.trustedTypes, yt = Y ? Y.emptyScript : "", T = y.reactiveElementPolyfillSupport, P = (i, t) => i, H = { toAttribute(i, t) {
|
|
54
54
|
switch (t) {
|
|
55
55
|
case Boolean:
|
|
56
|
-
i = i ?
|
|
56
|
+
i = i ? yt : null;
|
|
57
57
|
break;
|
|
58
58
|
case Object:
|
|
59
59
|
case Array:
|
|
@@ -78,44 +78,44 @@ const { is: vt, defineProperty: mt, getOwnPropertyDescriptor: gt, getOwnProperty
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
return e;
|
|
81
|
-
} }, K = (i, t) => !
|
|
81
|
+
} }, K = (i, t) => !ut(i, t), X = { attribute: !0, type: String, converter: H, reflect: !1, useDefault: !1, hasChanged: K };
|
|
82
82
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), y.litPropertyMetadata ?? (y.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
83
|
-
class
|
|
83
|
+
class S extends HTMLElement {
|
|
84
84
|
static addInitializer(t) {
|
|
85
85
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
86
86
|
}
|
|
87
87
|
static get observedAttributes() {
|
|
88
88
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
89
89
|
}
|
|
90
|
-
static createProperty(t, e =
|
|
90
|
+
static createProperty(t, e = X) {
|
|
91
91
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
92
92
|
const o = Symbol(), r = this.getPropertyDescriptor(t, o, e);
|
|
93
|
-
r !== void 0 &&
|
|
93
|
+
r !== void 0 && ft(this.prototype, t, r);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
static getPropertyDescriptor(t, e, o) {
|
|
97
|
-
const { get: r, set:
|
|
97
|
+
const { get: r, set: l } = vt(this.prototype, t) ?? { get() {
|
|
98
98
|
return this[e];
|
|
99
|
-
}, set(
|
|
100
|
-
this[e] =
|
|
99
|
+
}, set(s) {
|
|
100
|
+
this[e] = s;
|
|
101
101
|
} };
|
|
102
|
-
return { get: r, set(
|
|
102
|
+
return { get: r, set(s) {
|
|
103
103
|
const a = r == null ? void 0 : r.call(this);
|
|
104
|
-
|
|
104
|
+
l == null || l.call(this, s), this.requestUpdate(t, a, o);
|
|
105
105
|
}, configurable: !0, enumerable: !0 };
|
|
106
106
|
}
|
|
107
107
|
static getPropertyOptions(t) {
|
|
108
|
-
return this.elementProperties.get(t) ??
|
|
108
|
+
return this.elementProperties.get(t) ?? X;
|
|
109
109
|
}
|
|
110
110
|
static _$Ei() {
|
|
111
|
-
if (this.hasOwnProperty(
|
|
112
|
-
const t =
|
|
111
|
+
if (this.hasOwnProperty(P("elementProperties"))) return;
|
|
112
|
+
const t = bt(this);
|
|
113
113
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
114
114
|
}
|
|
115
115
|
static finalize() {
|
|
116
|
-
if (this.hasOwnProperty(
|
|
117
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
118
|
-
const e = this.properties, o = [...
|
|
116
|
+
if (this.hasOwnProperty(P("finalized"))) return;
|
|
117
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(P("properties"))) {
|
|
118
|
+
const e = this.properties, o = [...mt(e), ...gt(e)];
|
|
119
119
|
for (const r of o) this.createProperty(r, e[r]);
|
|
120
120
|
}
|
|
121
121
|
const t = this[Symbol.metadata];
|
|
@@ -134,8 +134,8 @@ class M extends HTMLElement {
|
|
|
134
134
|
const e = [];
|
|
135
135
|
if (Array.isArray(t)) {
|
|
136
136
|
const o = new Set(t.flat(1 / 0).reverse());
|
|
137
|
-
for (const r of o) e.unshift(
|
|
138
|
-
} else t !== void 0 && e.push(
|
|
137
|
+
for (const r of o) e.unshift(J(r));
|
|
138
|
+
} else t !== void 0 && e.push(J(t));
|
|
139
139
|
return e;
|
|
140
140
|
}
|
|
141
141
|
static _$Eu(t, e) {
|
|
@@ -164,7 +164,7 @@ class M extends HTMLElement {
|
|
|
164
164
|
}
|
|
165
165
|
createRenderRoot() {
|
|
166
166
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
167
|
-
return
|
|
167
|
+
return dt(t, this.constructor.elementStyles), t;
|
|
168
168
|
}
|
|
169
169
|
connectedCallback() {
|
|
170
170
|
var t;
|
|
@@ -186,34 +186,34 @@ class M extends HTMLElement {
|
|
|
186
186
|
this._$AK(t, o);
|
|
187
187
|
}
|
|
188
188
|
_$ET(t, e) {
|
|
189
|
-
var
|
|
189
|
+
var l;
|
|
190
190
|
const o = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, o);
|
|
191
191
|
if (r !== void 0 && o.reflect === !0) {
|
|
192
|
-
const
|
|
193
|
-
this._$Em = t,
|
|
192
|
+
const s = (((l = o.converter) == null ? void 0 : l.toAttribute) !== void 0 ? o.converter : H).toAttribute(e, o.type);
|
|
193
|
+
this._$Em = t, s == null ? this.removeAttribute(r) : this.setAttribute(r, s), this._$Em = null;
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
_$AK(t, e) {
|
|
197
|
-
var
|
|
197
|
+
var l, s;
|
|
198
198
|
const o = this.constructor, r = o._$Eh.get(t);
|
|
199
199
|
if (r !== void 0 && this._$Em !== r) {
|
|
200
|
-
const a = o.getPropertyOptions(r), v = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((
|
|
200
|
+
const a = o.getPropertyOptions(r), v = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((l = a.converter) == null ? void 0 : l.fromAttribute) !== void 0 ? a.converter : H;
|
|
201
201
|
this._$Em = r;
|
|
202
202
|
const B = v.fromAttribute(e, a.type);
|
|
203
|
-
this[r] = B ?? ((
|
|
203
|
+
this[r] = B ?? ((s = this._$Ej) == null ? void 0 : s.get(r)) ?? B, this._$Em = null;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
requestUpdate(t, e, o, r = !1,
|
|
207
|
-
var
|
|
206
|
+
requestUpdate(t, e, o, r = !1, l) {
|
|
207
|
+
var s;
|
|
208
208
|
if (t !== void 0) {
|
|
209
209
|
const a = this.constructor;
|
|
210
|
-
if (r === !1 && (
|
|
210
|
+
if (r === !1 && (l = this[t]), o ?? (o = a.getPropertyOptions(t)), !((o.hasChanged ?? K)(l, e) || o.useDefault && o.reflect && l === ((s = this._$Ej) == null ? void 0 : s.get(t)) && !this.hasAttribute(a._$Eu(t, o)))) return;
|
|
211
211
|
this.C(t, e, o);
|
|
212
212
|
}
|
|
213
213
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
214
214
|
}
|
|
215
|
-
C(t, e, { useDefault: o, reflect: r, wrapped:
|
|
216
|
-
o && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t,
|
|
215
|
+
C(t, e, { useDefault: o, reflect: r, wrapped: l }, s) {
|
|
216
|
+
o && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, s ?? e ?? this[t]), l !== !0 || s !== void 0) || (this._$AL.has(t) || (this.hasUpdated || o || (e = void 0), this._$AL.set(t, e)), r === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
|
217
217
|
}
|
|
218
218
|
async _$EP() {
|
|
219
219
|
this.isUpdatePending = !0;
|
|
@@ -233,21 +233,21 @@ class M extends HTMLElement {
|
|
|
233
233
|
if (!this.isUpdatePending) return;
|
|
234
234
|
if (!this.hasUpdated) {
|
|
235
235
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
236
|
-
for (const [
|
|
236
|
+
for (const [l, s] of this._$Ep) this[l] = s;
|
|
237
237
|
this._$Ep = void 0;
|
|
238
238
|
}
|
|
239
239
|
const r = this.constructor.elementProperties;
|
|
240
|
-
if (r.size > 0) for (const [
|
|
241
|
-
const { wrapped: a } =
|
|
242
|
-
a !== !0 || this._$AL.has(
|
|
240
|
+
if (r.size > 0) for (const [l, s] of r) {
|
|
241
|
+
const { wrapped: a } = s, v = this[l];
|
|
242
|
+
a !== !0 || this._$AL.has(l) || v === void 0 || this.C(l, void 0, s, v);
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
let t = !1;
|
|
246
246
|
const e = this._$AL;
|
|
247
247
|
try {
|
|
248
248
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (o = this._$EO) == null || o.forEach((r) => {
|
|
249
|
-
var
|
|
250
|
-
return (
|
|
249
|
+
var l;
|
|
250
|
+
return (l = r.hostUpdate) == null ? void 0 : l.call(r);
|
|
251
251
|
}), this.update(e)) : this._$EM();
|
|
252
252
|
} catch (r) {
|
|
253
253
|
throw t = !1, this._$EM(), r;
|
|
@@ -283,37 +283,37 @@ class M extends HTMLElement {
|
|
|
283
283
|
firstUpdated(t) {
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
|
|
286
|
+
S.elementStyles = [], S.shadowRootOptions = { mode: "open" }, S[P("elementProperties")] = /* @__PURE__ */ new Map(), S[P("finalized")] = /* @__PURE__ */ new Map(), T == null || T({ ReactiveElement: S }), (y.reactiveElementVersions ?? (y.reactiveElementVersions = [])).push("2.1.2");
|
|
287
287
|
/**
|
|
288
288
|
* @license
|
|
289
289
|
* Copyright 2017 Google LLC
|
|
290
290
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
291
291
|
*/
|
|
292
|
-
const
|
|
292
|
+
const wt = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: K }, Ct = (i = wt, t, e) => {
|
|
293
293
|
const { kind: o, metadata: r } = e;
|
|
294
|
-
let
|
|
295
|
-
if (
|
|
296
|
-
const { name:
|
|
294
|
+
let l = globalThis.litPropertyMetadata.get(r);
|
|
295
|
+
if (l === void 0 && globalThis.litPropertyMetadata.set(r, l = /* @__PURE__ */ new Map()), o === "setter" && ((i = Object.create(i)).wrapped = !0), l.set(e.name, i), o === "accessor") {
|
|
296
|
+
const { name: s } = e;
|
|
297
297
|
return { set(a) {
|
|
298
298
|
const v = t.get.call(this);
|
|
299
|
-
t.set.call(this, a), this.requestUpdate(
|
|
299
|
+
t.set.call(this, a), this.requestUpdate(s, v, i, !0, a);
|
|
300
300
|
}, init(a) {
|
|
301
|
-
return a !== void 0 && this.C(
|
|
301
|
+
return a !== void 0 && this.C(s, void 0, i, a), a;
|
|
302
302
|
} };
|
|
303
303
|
}
|
|
304
304
|
if (o === "setter") {
|
|
305
|
-
const { name:
|
|
305
|
+
const { name: s } = e;
|
|
306
306
|
return function(a) {
|
|
307
|
-
const v = this[
|
|
308
|
-
t.call(this, a), this.requestUpdate(
|
|
307
|
+
const v = this[s];
|
|
308
|
+
t.call(this, a), this.requestUpdate(s, v, i, !0, a);
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
311
|
throw Error("Unsupported decorator location: " + o);
|
|
312
312
|
};
|
|
313
313
|
function n(i) {
|
|
314
|
-
return (t, e) => typeof e == "object" ?
|
|
315
|
-
const
|
|
316
|
-
return r.constructor.createProperty(
|
|
314
|
+
return (t, e) => typeof e == "object" ? Ct(i, t, e) : ((o, r, l) => {
|
|
315
|
+
const s = r.hasOwnProperty(l);
|
|
316
|
+
return r.constructor.createProperty(l, o), s ? Object.getOwnPropertyDescriptor(r, l) : void 0;
|
|
317
317
|
})(i, t, e);
|
|
318
318
|
}
|
|
319
319
|
/**
|
|
@@ -321,74 +321,161 @@ function n(i) {
|
|
|
321
321
|
* Copyright 2017 Google LLC
|
|
322
322
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
323
323
|
*/
|
|
324
|
-
const
|
|
324
|
+
const kt = (i, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(i, t, e), e);
|
|
325
325
|
/**
|
|
326
326
|
* @license
|
|
327
327
|
* Copyright 2017 Google LLC
|
|
328
328
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
329
329
|
*/
|
|
330
|
-
function
|
|
330
|
+
function rt(i, t) {
|
|
331
331
|
return (e, o, r) => {
|
|
332
|
-
const
|
|
332
|
+
const l = (s) => {
|
|
333
333
|
var a;
|
|
334
|
-
return ((a =
|
|
334
|
+
return ((a = s.renderRoot) == null ? void 0 : a.querySelector(i)) ?? null;
|
|
335
335
|
};
|
|
336
|
-
return
|
|
337
|
-
return
|
|
336
|
+
return kt(e, o, { get() {
|
|
337
|
+
return l(this);
|
|
338
338
|
} });
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
341
|
+
const O = c`
|
|
342
|
+
:host {
|
|
343
|
+
display: inline-block;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
svg {
|
|
347
|
+
width: 100%;
|
|
348
|
+
height: 100%;
|
|
349
|
+
display: block;
|
|
350
|
+
}
|
|
351
|
+
`, $t = c`
|
|
352
|
+
:host {
|
|
353
|
+
width: auto;
|
|
354
|
+
height: auto;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
svg {
|
|
358
|
+
transform-origin: center;
|
|
359
|
+
animation: loading-step 1s steps(8, end) infinite;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
@keyframes loading-step {
|
|
363
|
+
from {
|
|
364
|
+
transform: rotate(0deg);
|
|
365
|
+
}
|
|
366
|
+
to {
|
|
367
|
+
transform: rotate(360deg);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
`;
|
|
371
|
+
var _t = Object.defineProperty, xt = Object.getOwnPropertyDescriptor, F = (i, t, e, o) => {
|
|
372
|
+
for (var r = o > 1 ? void 0 : o ? xt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
373
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
374
|
+
return o && r && _t(t, e, r), r;
|
|
345
375
|
};
|
|
346
|
-
let
|
|
376
|
+
let _ = class extends d {
|
|
347
377
|
constructor() {
|
|
348
|
-
super(...arguments), this.size =
|
|
349
|
-
}
|
|
350
|
-
get borderColor() {
|
|
351
|
-
return this.color === "white" ? "var(--ur-color-white, #f8f8f8)" : "var(--ur-color-gray-dark, #909090)";
|
|
378
|
+
super(...arguments), this.size = 1.6, this.color = "var(--ur-color-gray-dark)";
|
|
352
379
|
}
|
|
353
380
|
render() {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
381
|
+
const i = `width: ${this.size}rem; height: ${this.size}rem; color: ${this.color};`;
|
|
382
|
+
return h`
|
|
383
|
+
<svg
|
|
384
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
385
|
+
viewBox="0 0 32 32"
|
|
386
|
+
id="Interface-Essential-Loading-Circle-2--Streamline-Pixel"
|
|
387
|
+
style="${i}"
|
|
388
|
+
>
|
|
389
|
+
<desc>
|
|
390
|
+
Interface Essential Loading Circle 2 Streamline Icon:
|
|
391
|
+
https://streamlinehq.com
|
|
392
|
+
</desc>
|
|
393
|
+
<title>interface-essential-loading-circle-2</title>
|
|
394
|
+
<g>
|
|
395
|
+
<path
|
|
396
|
+
d="m30.47 16.76 -3.05 0 0 -3.05 3.05 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.58 1.52 0 0 1.52 4.57 0 0 -1.52 1.53 0 0 -4.58 -1.53 0 0 3.05z"
|
|
397
|
+
fill="currentColor"
|
|
398
|
+
stroke-width="1"
|
|
399
|
+
></path>
|
|
400
|
+
<path
|
|
401
|
+
d="M27.42 22.86h1.53v4.57h-1.53Z"
|
|
402
|
+
fill="currentColor"
|
|
403
|
+
stroke-width="1"
|
|
404
|
+
></path>
|
|
405
|
+
<path
|
|
406
|
+
d="m22.85 21.33 0 1.53 -1.52 0 0 4.57 1.52 0 0 1.52 4.57 0 0 -1.52 -3.04 0 0 -4.57 3.04 0 0 -1.53 -4.57 0z"
|
|
407
|
+
fill="currentColor"
|
|
408
|
+
stroke-width="1"
|
|
409
|
+
></path>
|
|
410
|
+
<path
|
|
411
|
+
d="m27.42 10.67 0 -1.53 1.53 0 0 -4.57 -1.53 0 0 3.05 -1.52 0 0 -1.53 -1.52 0 0 -1.52 3.04 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.57 1.52 0 0 1.53 4.57 0z"
|
|
412
|
+
fill="currentColor"
|
|
413
|
+
stroke-width="1"
|
|
414
|
+
></path>
|
|
415
|
+
<path
|
|
416
|
+
d="M18.28 25.9h1.52v4.58h-1.52Z"
|
|
417
|
+
fill="currentColor"
|
|
418
|
+
stroke-width="1"
|
|
419
|
+
></path>
|
|
420
|
+
<path
|
|
421
|
+
d="m19.8 1.52 -1.52 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.57 1.52 0 0 1.53 4.57 0 0 -1.53 1.52 0 0 -4.57z"
|
|
422
|
+
fill="currentColor"
|
|
423
|
+
stroke-width="1"
|
|
424
|
+
></path>
|
|
425
|
+
<path
|
|
426
|
+
d="M13.71 30.48h4.57V32h-4.57Z"
|
|
427
|
+
fill="currentColor"
|
|
428
|
+
stroke-width="1"
|
|
429
|
+
></path>
|
|
430
|
+
<path
|
|
431
|
+
d="M13.71 24.38h4.57v1.52h-4.57Z"
|
|
432
|
+
fill="currentColor"
|
|
433
|
+
stroke-width="1"
|
|
434
|
+
></path>
|
|
435
|
+
<path
|
|
436
|
+
d="M12.19 25.9h1.52v4.58h-1.52Z"
|
|
437
|
+
fill="currentColor"
|
|
438
|
+
stroke-width="1"
|
|
439
|
+
></path>
|
|
440
|
+
<path
|
|
441
|
+
d="m9.14 28.95 0 -1.52 1.52 0 0 -4.57 -1.52 0 0 -1.53 -4.57 0 0 1.53 3.04 0 0 4.57 -3.04 0 0 1.52 4.57 0z"
|
|
442
|
+
fill="currentColor"
|
|
443
|
+
stroke-width="1"
|
|
444
|
+
></path>
|
|
445
|
+
<path
|
|
446
|
+
d="m10.66 4.57 -1.52 0 0 -1.52 -4.57 0 0 1.52 3.04 0 0 1.52 -1.52 0 0 1.53 -1.52 0 0 -3.05 -1.53 0 0 4.57 1.53 0 0 1.53 4.57 0 0 -1.53 1.52 0 0 -4.57z"
|
|
447
|
+
fill="currentColor"
|
|
448
|
+
stroke-width="1"
|
|
449
|
+
></path>
|
|
450
|
+
<path
|
|
451
|
+
d="M3.04 22.86h1.53v4.57H3.04Z"
|
|
452
|
+
fill="currentColor"
|
|
453
|
+
stroke-width="1"
|
|
454
|
+
></path>
|
|
455
|
+
<path
|
|
456
|
+
d="m1.52 19.81 4.57 0 0 -1.52 1.52 0 0 -4.58 -1.52 0 0 -1.52 -4.57 0 0 1.52 3.05 0 0 3.05 -3.05 0 0 -3.05 -1.52 0 0 4.58 1.52 0 0 1.52z"
|
|
457
|
+
fill="currentColor"
|
|
458
|
+
stroke-width="1"
|
|
459
|
+
></path>
|
|
460
|
+
</g>
|
|
461
|
+
</svg>
|
|
462
|
+
`;
|
|
363
463
|
}
|
|
364
464
|
};
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
animation: spin 1s linear infinite;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
@keyframes spin {
|
|
374
|
-
0% {
|
|
375
|
-
transform: rotate(0deg);
|
|
376
|
-
}
|
|
377
|
-
100% {
|
|
378
|
-
transform: rotate(360deg);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
`;
|
|
382
|
-
W([
|
|
465
|
+
_.styles = [O, $t];
|
|
466
|
+
F([
|
|
467
|
+
n({ type: String })
|
|
468
|
+
], _.prototype, "iconTitle", 2);
|
|
469
|
+
F([
|
|
383
470
|
n({ type: Number })
|
|
384
|
-
],
|
|
385
|
-
|
|
471
|
+
], _.prototype, "size", 2);
|
|
472
|
+
F([
|
|
386
473
|
n({ type: String })
|
|
387
|
-
],
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
],
|
|
391
|
-
const
|
|
474
|
+
], _.prototype, "color", 2);
|
|
475
|
+
_ = F([
|
|
476
|
+
u("ur-icon-spinner")
|
|
477
|
+
], _);
|
|
478
|
+
const Mt = c`
|
|
392
479
|
button {
|
|
393
480
|
font-family: "PpNeueBitBold", system-ui, sans-serif;
|
|
394
481
|
font-size: 1.4rem;
|
|
@@ -455,8 +542,10 @@ const St = c`
|
|
|
455
542
|
display: none;
|
|
456
543
|
position: absolute;
|
|
457
544
|
left: 50%;
|
|
458
|
-
|
|
545
|
+
top: 50%;
|
|
546
|
+
transform: translate(-50%, -50%);
|
|
459
547
|
}
|
|
548
|
+
|
|
460
549
|
:host([loading]) .button-content {
|
|
461
550
|
visibility: hidden;
|
|
462
551
|
}
|
|
@@ -464,13 +553,13 @@ const St = c`
|
|
|
464
553
|
display: block;
|
|
465
554
|
}
|
|
466
555
|
`;
|
|
467
|
-
var
|
|
468
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
469
|
-
(
|
|
470
|
-
return o && r &&
|
|
556
|
+
var St = Object.defineProperty, Et = Object.getOwnPropertyDescriptor, C = (i, t, e, o) => {
|
|
557
|
+
for (var r = o > 1 ? void 0 : o ? Et(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
558
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
559
|
+
return o && r && St(t, e, r), r;
|
|
471
560
|
};
|
|
472
|
-
const
|
|
473
|
-
let m = class extends
|
|
561
|
+
const $e = ["primary", "secondary"], _e = ["button", "submit", "reset"];
|
|
562
|
+
let m = class extends d {
|
|
474
563
|
constructor() {
|
|
475
564
|
super(...arguments), this.variant = "primary", this.disabled = !1, this.fullWidth = !1, this.loading = !1, this.buttonType = "button";
|
|
476
565
|
}
|
|
@@ -485,15 +574,18 @@ let m = class extends p {
|
|
|
485
574
|
?disabled=${this.disabled || this.loading}
|
|
486
575
|
>
|
|
487
576
|
<span class="button-content"><slot></slot></span>
|
|
488
|
-
<span class="button-spinner"
|
|
489
|
-
|
|
490
|
-
|
|
577
|
+
<span class="button-spinner">
|
|
578
|
+
<ur-icon-spinner
|
|
579
|
+
size=${1}
|
|
580
|
+
color="var(--ur-color-white)"
|
|
581
|
+
></ur-icon-spinner>
|
|
582
|
+
</span>
|
|
491
583
|
</button>
|
|
492
584
|
`;
|
|
493
585
|
}
|
|
494
586
|
};
|
|
495
587
|
m.formAssociated = !0;
|
|
496
|
-
m.styles =
|
|
588
|
+
m.styles = Mt;
|
|
497
589
|
C([
|
|
498
590
|
n({ type: Function })
|
|
499
591
|
], m.prototype, "onClick", 2);
|
|
@@ -513,9 +605,9 @@ C([
|
|
|
513
605
|
n({ type: String })
|
|
514
606
|
], m.prototype, "buttonType", 2);
|
|
515
607
|
m = C([
|
|
516
|
-
|
|
608
|
+
u("ur-button")
|
|
517
609
|
], m);
|
|
518
|
-
const
|
|
610
|
+
const Pt = c`
|
|
519
611
|
:host {
|
|
520
612
|
display: block;
|
|
521
613
|
font-family: var(--font-family-base, system-ui, sans-serif);
|
|
@@ -630,7 +722,7 @@ const Zt = c`
|
|
|
630
722
|
right: 0.75rem;
|
|
631
723
|
pointer-events: none;
|
|
632
724
|
}
|
|
633
|
-
`,
|
|
725
|
+
`, Zt = c`
|
|
634
726
|
:host {
|
|
635
727
|
display: block;
|
|
636
728
|
width: 16px;
|
|
@@ -643,12 +735,12 @@ const Zt = c`
|
|
|
643
735
|
display: block;
|
|
644
736
|
}
|
|
645
737
|
`;
|
|
646
|
-
var
|
|
647
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
648
|
-
(
|
|
738
|
+
var Ot = Object.getOwnPropertyDescriptor, Bt = (i, t, e, o) => {
|
|
739
|
+
for (var r = o > 1 ? void 0 : o ? Ot(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
740
|
+
(s = i[l]) && (r = s(r) || r);
|
|
649
741
|
return r;
|
|
650
742
|
};
|
|
651
|
-
let U = class extends
|
|
743
|
+
let U = class extends d {
|
|
652
744
|
render() {
|
|
653
745
|
return h`
|
|
654
746
|
<svg
|
|
@@ -787,16 +879,16 @@ let U = class extends p {
|
|
|
787
879
|
`;
|
|
788
880
|
}
|
|
789
881
|
};
|
|
790
|
-
U.styles =
|
|
791
|
-
U =
|
|
792
|
-
|
|
882
|
+
U.styles = Zt;
|
|
883
|
+
U = Bt([
|
|
884
|
+
u("ur-icon-warning")
|
|
793
885
|
], U);
|
|
794
|
-
var
|
|
795
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
796
|
-
(
|
|
797
|
-
return o && r &&
|
|
886
|
+
var Dt = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, f = (i, t, e, o) => {
|
|
887
|
+
for (var r = o > 1 ? void 0 : o ? Ht(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
888
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
889
|
+
return o && r && Dt(t, e, r), r;
|
|
798
890
|
};
|
|
799
|
-
const
|
|
891
|
+
const xe = [
|
|
800
892
|
"text",
|
|
801
893
|
"email",
|
|
802
894
|
"password",
|
|
@@ -805,7 +897,7 @@ const Pe = [
|
|
|
805
897
|
"url",
|
|
806
898
|
"number"
|
|
807
899
|
];
|
|
808
|
-
let
|
|
900
|
+
let p = class extends d {
|
|
809
901
|
constructor() {
|
|
810
902
|
super(...arguments), this.value = "", this.placeholder = "", this.type = "text", this.disabled = !1, this.readonly = !1, this.loading = !1, this.name = "", this.label = "", this.hint = "", this.invalid = !1, this.required = !1;
|
|
811
903
|
}
|
|
@@ -864,7 +956,7 @@ let u = class extends p {
|
|
|
864
956
|
@keydown=${this.handleKeyDown}
|
|
865
957
|
/>
|
|
866
958
|
|
|
867
|
-
${this.loading ? h`<ur-spinner class="input-spinner" size="8"></ur-spinner>` : ""}
|
|
959
|
+
${this.loading ? h`<ur-icon-spinner class="input-spinner" size="0.8"></ur-spinner>` : ""}
|
|
868
960
|
${this.invalid && !this.loading ? h`<ur-icon-warning
|
|
869
961
|
class="input-error-icon"
|
|
870
962
|
style="color: var(--ur-color-coral)"
|
|
@@ -878,50 +970,50 @@ let u = class extends p {
|
|
|
878
970
|
`;
|
|
879
971
|
}
|
|
880
972
|
};
|
|
881
|
-
|
|
973
|
+
p.styles = Pt;
|
|
882
974
|
f([
|
|
883
975
|
n({ type: String })
|
|
884
|
-
],
|
|
976
|
+
], p.prototype, "value", 2);
|
|
885
977
|
f([
|
|
886
978
|
n({ type: String })
|
|
887
|
-
],
|
|
979
|
+
], p.prototype, "placeholder", 2);
|
|
888
980
|
f([
|
|
889
981
|
n({ type: String })
|
|
890
|
-
],
|
|
982
|
+
], p.prototype, "type", 2);
|
|
891
983
|
f([
|
|
892
984
|
n({ type: Boolean, reflect: !0 })
|
|
893
|
-
],
|
|
985
|
+
], p.prototype, "disabled", 2);
|
|
894
986
|
f([
|
|
895
987
|
n({ type: Boolean, reflect: !0 })
|
|
896
|
-
],
|
|
988
|
+
], p.prototype, "readonly", 2);
|
|
897
989
|
f([
|
|
898
990
|
n({ type: Boolean, reflect: !0 })
|
|
899
|
-
],
|
|
991
|
+
], p.prototype, "loading", 2);
|
|
900
992
|
f([
|
|
901
993
|
n({ type: String })
|
|
902
|
-
],
|
|
994
|
+
], p.prototype, "name", 2);
|
|
903
995
|
f([
|
|
904
996
|
n({ type: String })
|
|
905
|
-
],
|
|
997
|
+
], p.prototype, "label", 2);
|
|
906
998
|
f([
|
|
907
999
|
n({ type: String })
|
|
908
|
-
],
|
|
1000
|
+
], p.prototype, "hint", 2);
|
|
909
1001
|
f([
|
|
910
1002
|
n({ type: Boolean, reflect: !0 })
|
|
911
|
-
],
|
|
1003
|
+
], p.prototype, "invalid", 2);
|
|
912
1004
|
f([
|
|
913
1005
|
n({ type: Boolean, reflect: !0 })
|
|
914
|
-
],
|
|
1006
|
+
], p.prototype, "required", 2);
|
|
915
1007
|
f([
|
|
916
1008
|
n({ type: Number })
|
|
917
|
-
],
|
|
1009
|
+
], p.prototype, "minLength", 2);
|
|
918
1010
|
f([
|
|
919
1011
|
n({ type: Number })
|
|
920
|
-
],
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
],
|
|
924
|
-
const
|
|
1012
|
+
], p.prototype, "maxLength", 2);
|
|
1013
|
+
p = f([
|
|
1014
|
+
u("ur-input")
|
|
1015
|
+
], p);
|
|
1016
|
+
const At = c`
|
|
925
1017
|
/* Base styles that apply to all variants */
|
|
926
1018
|
:host {
|
|
927
1019
|
display: inline-block;
|
|
@@ -997,13 +1089,13 @@ const zt = c`
|
|
|
997
1089
|
text-align: right;
|
|
998
1090
|
}
|
|
999
1091
|
`;
|
|
1000
|
-
var
|
|
1001
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
1002
|
-
(
|
|
1003
|
-
return o && r &&
|
|
1092
|
+
var zt = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, M = (i, t, e, o) => {
|
|
1093
|
+
for (var r = o > 1 ? void 0 : o ? jt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
1094
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
1095
|
+
return o && r && zt(t, e, r), r;
|
|
1004
1096
|
};
|
|
1005
|
-
const
|
|
1006
|
-
let w = class extends
|
|
1097
|
+
const Me = ["header", "subheader", "body", "small"];
|
|
1098
|
+
let w = class extends d {
|
|
1007
1099
|
constructor() {
|
|
1008
1100
|
super(...arguments), this.variant = "body", this.bold = !1, this.italic = !1;
|
|
1009
1101
|
}
|
|
@@ -1022,30 +1114,30 @@ let w = class extends p {
|
|
|
1022
1114
|
}
|
|
1023
1115
|
}
|
|
1024
1116
|
render() {
|
|
1025
|
-
const i =
|
|
1026
|
-
return
|
|
1117
|
+
const i = at(this.getElementTag()), t = this.color ? `color: ${this.color};` : "";
|
|
1118
|
+
return ht`<${i} class="text" style="${t}"><slot></slot></${i}>`;
|
|
1027
1119
|
}
|
|
1028
1120
|
};
|
|
1029
|
-
w.styles =
|
|
1030
|
-
|
|
1121
|
+
w.styles = At;
|
|
1122
|
+
M([
|
|
1031
1123
|
n({ type: String, reflect: !0 })
|
|
1032
1124
|
], w.prototype, "variant", 2);
|
|
1033
|
-
|
|
1125
|
+
M([
|
|
1034
1126
|
n({ type: String })
|
|
1035
1127
|
], w.prototype, "color", 2);
|
|
1036
|
-
|
|
1128
|
+
M([
|
|
1037
1129
|
n({ type: Boolean, reflect: !0 })
|
|
1038
1130
|
], w.prototype, "bold", 2);
|
|
1039
|
-
|
|
1131
|
+
M([
|
|
1040
1132
|
n({ type: Boolean, reflect: !0 })
|
|
1041
1133
|
], w.prototype, "italic", 2);
|
|
1042
|
-
|
|
1134
|
+
M([
|
|
1043
1135
|
n({ type: String, reflect: !0 })
|
|
1044
1136
|
], w.prototype, "align", 2);
|
|
1045
|
-
w =
|
|
1046
|
-
|
|
1137
|
+
w = M([
|
|
1138
|
+
u("ur-text")
|
|
1047
1139
|
], w);
|
|
1048
|
-
const
|
|
1140
|
+
const Ft = c`
|
|
1049
1141
|
:host {
|
|
1050
1142
|
font-family: "PpNeueBitBold", system-ui, sans-serif;
|
|
1051
1143
|
font-size: 1.4rem;
|
|
@@ -1066,7 +1158,7 @@ const It = c`
|
|
|
1066
1158
|
button:hover {
|
|
1067
1159
|
color: var(--ur-color-green);
|
|
1068
1160
|
}
|
|
1069
|
-
`,
|
|
1161
|
+
`, It = c`
|
|
1070
1162
|
:host {
|
|
1071
1163
|
display: inline-block;
|
|
1072
1164
|
width: 1em;
|
|
@@ -1079,12 +1171,12 @@ const It = c`
|
|
|
1079
1171
|
display: block;
|
|
1080
1172
|
}
|
|
1081
1173
|
`;
|
|
1082
|
-
var
|
|
1083
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
1084
|
-
(
|
|
1174
|
+
var Tt = Object.getOwnPropertyDescriptor, Ut = (i, t, e, o) => {
|
|
1175
|
+
for (var r = o > 1 ? void 0 : o ? Tt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
1176
|
+
(s = i[l]) && (r = s(r) || r);
|
|
1085
1177
|
return r;
|
|
1086
1178
|
};
|
|
1087
|
-
let L = class extends
|
|
1179
|
+
let L = class extends d {
|
|
1088
1180
|
render() {
|
|
1089
1181
|
return h`
|
|
1090
1182
|
<svg
|
|
@@ -1228,16 +1320,16 @@ let L = class extends p {
|
|
|
1228
1320
|
`;
|
|
1229
1321
|
}
|
|
1230
1322
|
};
|
|
1231
|
-
L.styles =
|
|
1232
|
-
L =
|
|
1233
|
-
|
|
1323
|
+
L.styles = It;
|
|
1324
|
+
L = Ut([
|
|
1325
|
+
u("ur-icon-back")
|
|
1234
1326
|
], L);
|
|
1235
|
-
var
|
|
1236
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
1237
|
-
(
|
|
1238
|
-
return o && r &&
|
|
1327
|
+
var Lt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, W = (i, t, e, o) => {
|
|
1328
|
+
for (var r = o > 1 ? void 0 : o ? Nt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
1329
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
1330
|
+
return o && r && Lt(t, e, r), r;
|
|
1239
1331
|
};
|
|
1240
|
-
let Z = class extends
|
|
1332
|
+
let Z = class extends d {
|
|
1241
1333
|
constructor() {
|
|
1242
1334
|
super(...arguments), this.label = "Back";
|
|
1243
1335
|
}
|
|
@@ -1253,17 +1345,17 @@ let Z = class extends p {
|
|
|
1253
1345
|
`;
|
|
1254
1346
|
}
|
|
1255
1347
|
};
|
|
1256
|
-
Z.styles =
|
|
1257
|
-
|
|
1348
|
+
Z.styles = Ft;
|
|
1349
|
+
W([
|
|
1258
1350
|
n({ type: Function })
|
|
1259
1351
|
], Z.prototype, "onClick", 2);
|
|
1260
|
-
|
|
1352
|
+
W([
|
|
1261
1353
|
n({ type: String })
|
|
1262
1354
|
], Z.prototype, "label", 2);
|
|
1263
|
-
Z =
|
|
1264
|
-
|
|
1355
|
+
Z = W([
|
|
1356
|
+
u("ur-back-button")
|
|
1265
1357
|
], Z);
|
|
1266
|
-
const
|
|
1358
|
+
const Rt = c`
|
|
1267
1359
|
:host {
|
|
1268
1360
|
display: list-item;
|
|
1269
1361
|
width: 100%;
|
|
@@ -1312,17 +1404,7 @@ const qt = c`
|
|
|
1312
1404
|
border-radius: 50%;
|
|
1313
1405
|
margin-right: var(--ur-space-sm);
|
|
1314
1406
|
}
|
|
1315
|
-
`,
|
|
1316
|
-
:host {
|
|
1317
|
-
display: inline-block;
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
svg {
|
|
1321
|
-
width: 100%;
|
|
1322
|
-
height: 100%;
|
|
1323
|
-
display: block;
|
|
1324
|
-
}
|
|
1325
|
-
`, Vt = c`
|
|
1407
|
+
`, qt = c`
|
|
1326
1408
|
:host {
|
|
1327
1409
|
width: 1.2em;
|
|
1328
1410
|
height: 1.2em;
|
|
@@ -1332,12 +1414,12 @@ const qt = c`
|
|
|
1332
1414
|
color: var(--ur-color-yellow-light);
|
|
1333
1415
|
}
|
|
1334
1416
|
`;
|
|
1335
|
-
var
|
|
1336
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
1337
|
-
(
|
|
1338
|
-
return o && r &&
|
|
1417
|
+
var Vt = Object.defineProperty, Kt = Object.getOwnPropertyDescriptor, ot = (i, t, e, o) => {
|
|
1418
|
+
for (var r = o > 1 ? void 0 : o ? Kt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
1419
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
1420
|
+
return o && r && Vt(t, e, r), r;
|
|
1339
1421
|
};
|
|
1340
|
-
let A = class extends
|
|
1422
|
+
let A = class extends d {
|
|
1341
1423
|
render() {
|
|
1342
1424
|
return h`
|
|
1343
1425
|
<svg
|
|
@@ -1503,14 +1585,14 @@ let A = class extends p {
|
|
|
1503
1585
|
`;
|
|
1504
1586
|
}
|
|
1505
1587
|
};
|
|
1506
|
-
A.styles = [O,
|
|
1507
|
-
|
|
1588
|
+
A.styles = [O, qt];
|
|
1589
|
+
ot([
|
|
1508
1590
|
n({ type: String })
|
|
1509
1591
|
], A.prototype, "iconTitle", 2);
|
|
1510
|
-
A =
|
|
1511
|
-
|
|
1592
|
+
A = ot([
|
|
1593
|
+
u("ur-icon-network-instability")
|
|
1512
1594
|
], A);
|
|
1513
|
-
const
|
|
1595
|
+
const Wt = c`
|
|
1514
1596
|
:host {
|
|
1515
1597
|
width: 1.2em;
|
|
1516
1598
|
height: 1.2em;
|
|
@@ -1520,12 +1602,12 @@ const Gt = c`
|
|
|
1520
1602
|
color: var(--ur-color-green);
|
|
1521
1603
|
}
|
|
1522
1604
|
`;
|
|
1523
|
-
var
|
|
1524
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
1525
|
-
(
|
|
1526
|
-
return o && r &&
|
|
1605
|
+
var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, it = (i, t, e, o) => {
|
|
1606
|
+
for (var r = o > 1 ? void 0 : o ? Jt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
1607
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
1608
|
+
return o && r && Gt(t, e, r), r;
|
|
1527
1609
|
};
|
|
1528
|
-
let z = class extends
|
|
1610
|
+
let z = class extends d {
|
|
1529
1611
|
render() {
|
|
1530
1612
|
return h`
|
|
1531
1613
|
<svg
|
|
@@ -1692,14 +1774,14 @@ let z = class extends p {
|
|
|
1692
1774
|
`;
|
|
1693
1775
|
}
|
|
1694
1776
|
};
|
|
1695
|
-
z.styles = [O,
|
|
1696
|
-
|
|
1777
|
+
z.styles = [O, Wt];
|
|
1778
|
+
it([
|
|
1697
1779
|
n({ type: String })
|
|
1698
1780
|
], z.prototype, "iconTitle", 2);
|
|
1699
|
-
z =
|
|
1700
|
-
|
|
1781
|
+
z = it([
|
|
1782
|
+
u("ur-icon-privacy")
|
|
1701
1783
|
], z);
|
|
1702
|
-
const
|
|
1784
|
+
const E = {
|
|
1703
1785
|
is: "639A88",
|
|
1704
1786
|
ee: "78C0E0",
|
|
1705
1787
|
ca: "449DD1",
|
|
@@ -1768,7 +1850,7 @@ const S = {
|
|
|
1768
1850
|
rs: "FF495C",
|
|
1769
1851
|
al: "E4B363"
|
|
1770
1852
|
};
|
|
1771
|
-
function
|
|
1853
|
+
function Q(i) {
|
|
1772
1854
|
const t = i.replace("#", ""), e = parseInt(t, 16);
|
|
1773
1855
|
return [e >> 16 & 255, e >> 8 & 255, e & 255];
|
|
1774
1856
|
}
|
|
@@ -1778,7 +1860,7 @@ function Yt(i, t, e) {
|
|
|
1778
1860
|
return r.length === 1 ? "0" + r : r;
|
|
1779
1861
|
}).join("");
|
|
1780
1862
|
}
|
|
1781
|
-
function
|
|
1863
|
+
function Xt(i) {
|
|
1782
1864
|
let t = 0;
|
|
1783
1865
|
for (let e = 0; e < i.length; e++) {
|
|
1784
1866
|
const o = i.charCodeAt(e);
|
|
@@ -1786,26 +1868,26 @@ function Qt(i) {
|
|
|
1786
1868
|
}
|
|
1787
1869
|
return Math.abs(t);
|
|
1788
1870
|
}
|
|
1789
|
-
function
|
|
1790
|
-
return t === 0 ? 0 : (
|
|
1871
|
+
function tt(i, t) {
|
|
1872
|
+
return t === 0 ? 0 : (Xt(i) & 255) % t;
|
|
1791
1873
|
}
|
|
1792
|
-
function
|
|
1793
|
-
const [e, o, r] =
|
|
1794
|
-
return Yt(v, B,
|
|
1874
|
+
function Qt(i, t) {
|
|
1875
|
+
const [e, o, r] = Q(i), [l, s, a] = Q(t), v = Math.round((e + l) / 2), B = Math.round((o + s) / 2), nt = Math.round((r + a) / 2);
|
|
1876
|
+
return Yt(v, B, nt);
|
|
1795
1877
|
}
|
|
1796
1878
|
function lt(i) {
|
|
1797
1879
|
const t = i.toLowerCase();
|
|
1798
|
-
if (
|
|
1799
|
-
return "#" +
|
|
1800
|
-
const e = Object.keys(
|
|
1801
|
-
return
|
|
1880
|
+
if (E[t])
|
|
1881
|
+
return "#" + E[t];
|
|
1882
|
+
const e = Object.keys(E).sort(), o = tt(t, e.length), r = tt(t + "salt", e.length), l = E[e[o]], s = E[e[r]];
|
|
1883
|
+
return Qt(l, s);
|
|
1802
1884
|
}
|
|
1803
|
-
var
|
|
1804
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
1805
|
-
(
|
|
1806
|
-
return o && r &&
|
|
1885
|
+
var te = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, k = (i, t, e, o) => {
|
|
1886
|
+
for (var r = o > 1 ? void 0 : o ? ee(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
1887
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
1888
|
+
return o && r && te(t, e, r), r;
|
|
1807
1889
|
};
|
|
1808
|
-
let g = class extends
|
|
1890
|
+
let g = class extends d {
|
|
1809
1891
|
constructor() {
|
|
1810
1892
|
super(...arguments), this.name = "", this.providerCount = 0, this.unstable = !1, this.strongPrivacy = !1;
|
|
1811
1893
|
}
|
|
@@ -1848,7 +1930,7 @@ let g = class extends p {
|
|
|
1848
1930
|
`;
|
|
1849
1931
|
}
|
|
1850
1932
|
};
|
|
1851
|
-
g.styles =
|
|
1933
|
+
g.styles = Rt;
|
|
1852
1934
|
k([
|
|
1853
1935
|
n({ type: String })
|
|
1854
1936
|
], g.prototype, "locationKey", 2);
|
|
@@ -1868,126 +1950,9 @@ k([
|
|
|
1868
1950
|
n({ type: Function })
|
|
1869
1951
|
], g.prototype, "onClick", 2);
|
|
1870
1952
|
g = k([
|
|
1871
|
-
|
|
1953
|
+
u("ur-location-list-item")
|
|
1872
1954
|
], g);
|
|
1873
|
-
const
|
|
1874
|
-
:host {
|
|
1875
|
-
width: 1.6em;
|
|
1876
|
-
height: 1.6em;
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
|
-
svg {
|
|
1880
|
-
color: var(--ur-color-gray-dark);
|
|
1881
|
-
transform-origin: center;
|
|
1882
|
-
animation: loading-step 1s steps(8, end) infinite;
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
@keyframes loading-step {
|
|
1886
|
-
from {
|
|
1887
|
-
transform: rotate(0deg);
|
|
1888
|
-
}
|
|
1889
|
-
to {
|
|
1890
|
-
transform: rotate(360deg);
|
|
1891
|
-
}
|
|
1892
|
-
}
|
|
1893
|
-
`;
|
|
1894
|
-
var ie = Object.defineProperty, se = Object.getOwnPropertyDescriptor, nt = (i, t, e, o) => {
|
|
1895
|
-
for (var r = o > 1 ? void 0 : o ? se(t, e) : t, s = i.length - 1, l; s >= 0; s--)
|
|
1896
|
-
(l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
|
|
1897
|
-
return o && r && ie(t, e, r), r;
|
|
1898
|
-
};
|
|
1899
|
-
let j = class extends p {
|
|
1900
|
-
render() {
|
|
1901
|
-
return h`
|
|
1902
|
-
<svg
|
|
1903
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
1904
|
-
viewBox="0 0 32 32"
|
|
1905
|
-
id="Interface-Essential-Loading-Circle-2--Streamline-Pixel"
|
|
1906
|
-
>
|
|
1907
|
-
<desc>
|
|
1908
|
-
Interface Essential Loading Circle 2 Streamline Icon:
|
|
1909
|
-
https://streamlinehq.com
|
|
1910
|
-
</desc>
|
|
1911
|
-
<title>interface-essential-loading-circle-2</title>
|
|
1912
|
-
<g>
|
|
1913
|
-
<path
|
|
1914
|
-
d="m30.47 16.76 -3.05 0 0 -3.05 3.05 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.58 1.52 0 0 1.52 4.57 0 0 -1.52 1.53 0 0 -4.58 -1.53 0 0 3.05z"
|
|
1915
|
-
fill="currentColor"
|
|
1916
|
-
stroke-width="1"
|
|
1917
|
-
></path>
|
|
1918
|
-
<path
|
|
1919
|
-
d="M27.42 22.86h1.53v4.57h-1.53Z"
|
|
1920
|
-
fill="currentColor"
|
|
1921
|
-
stroke-width="1"
|
|
1922
|
-
></path>
|
|
1923
|
-
<path
|
|
1924
|
-
d="m22.85 21.33 0 1.53 -1.52 0 0 4.57 1.52 0 0 1.52 4.57 0 0 -1.52 -3.04 0 0 -4.57 3.04 0 0 -1.53 -4.57 0z"
|
|
1925
|
-
fill="currentColor"
|
|
1926
|
-
stroke-width="1"
|
|
1927
|
-
></path>
|
|
1928
|
-
<path
|
|
1929
|
-
d="m27.42 10.67 0 -1.53 1.53 0 0 -4.57 -1.53 0 0 3.05 -1.52 0 0 -1.53 -1.52 0 0 -1.52 3.04 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.57 1.52 0 0 1.53 4.57 0z"
|
|
1930
|
-
fill="currentColor"
|
|
1931
|
-
stroke-width="1"
|
|
1932
|
-
></path>
|
|
1933
|
-
<path
|
|
1934
|
-
d="M18.28 25.9h1.52v4.58h-1.52Z"
|
|
1935
|
-
fill="currentColor"
|
|
1936
|
-
stroke-width="1"
|
|
1937
|
-
></path>
|
|
1938
|
-
<path
|
|
1939
|
-
d="m19.8 1.52 -1.52 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.57 1.52 0 0 1.53 4.57 0 0 -1.53 1.52 0 0 -4.57z"
|
|
1940
|
-
fill="currentColor"
|
|
1941
|
-
stroke-width="1"
|
|
1942
|
-
></path>
|
|
1943
|
-
<path
|
|
1944
|
-
d="M13.71 30.48h4.57V32h-4.57Z"
|
|
1945
|
-
fill="currentColor"
|
|
1946
|
-
stroke-width="1"
|
|
1947
|
-
></path>
|
|
1948
|
-
<path
|
|
1949
|
-
d="M13.71 24.38h4.57v1.52h-4.57Z"
|
|
1950
|
-
fill="currentColor"
|
|
1951
|
-
stroke-width="1"
|
|
1952
|
-
></path>
|
|
1953
|
-
<path
|
|
1954
|
-
d="M12.19 25.9h1.52v4.58h-1.52Z"
|
|
1955
|
-
fill="currentColor"
|
|
1956
|
-
stroke-width="1"
|
|
1957
|
-
></path>
|
|
1958
|
-
<path
|
|
1959
|
-
d="m9.14 28.95 0 -1.52 1.52 0 0 -4.57 -1.52 0 0 -1.53 -4.57 0 0 1.53 3.04 0 0 4.57 -3.04 0 0 1.52 4.57 0z"
|
|
1960
|
-
fill="currentColor"
|
|
1961
|
-
stroke-width="1"
|
|
1962
|
-
></path>
|
|
1963
|
-
<path
|
|
1964
|
-
d="m10.66 4.57 -1.52 0 0 -1.52 -4.57 0 0 1.52 3.04 0 0 1.52 -1.52 0 0 1.53 -1.52 0 0 -3.05 -1.53 0 0 4.57 1.53 0 0 1.53 4.57 0 0 -1.53 1.52 0 0 -4.57z"
|
|
1965
|
-
fill="currentColor"
|
|
1966
|
-
stroke-width="1"
|
|
1967
|
-
></path>
|
|
1968
|
-
<path
|
|
1969
|
-
d="M3.04 22.86h1.53v4.57H3.04Z"
|
|
1970
|
-
fill="currentColor"
|
|
1971
|
-
stroke-width="1"
|
|
1972
|
-
></path>
|
|
1973
|
-
<path
|
|
1974
|
-
d="m1.52 19.81 4.57 0 0 -1.52 1.52 0 0 -4.58 -1.52 0 0 -1.52 -4.57 0 0 1.52 3.05 0 0 3.05 -3.05 0 0 -3.05 -1.52 0 0 4.58 1.52 0 0 1.52z"
|
|
1975
|
-
fill="currentColor"
|
|
1976
|
-
stroke-width="1"
|
|
1977
|
-
></path>
|
|
1978
|
-
</g>
|
|
1979
|
-
</svg>
|
|
1980
|
-
`;
|
|
1981
|
-
}
|
|
1982
|
-
};
|
|
1983
|
-
j.styles = [O, oe];
|
|
1984
|
-
nt([
|
|
1985
|
-
n({ type: String })
|
|
1986
|
-
], j.prototype, "iconTitle", 2);
|
|
1987
|
-
j = nt([
|
|
1988
|
-
d("ur-icon-spinner")
|
|
1989
|
-
], j);
|
|
1990
|
-
const le = c`
|
|
1955
|
+
const re = c`
|
|
1991
1956
|
:host {
|
|
1992
1957
|
width: 1.2em;
|
|
1993
1958
|
height: 1.2em;
|
|
@@ -2001,12 +1966,12 @@ const le = c`
|
|
|
2001
1966
|
color: var(--ur-color-green);
|
|
2002
1967
|
}
|
|
2003
1968
|
`;
|
|
2004
|
-
var
|
|
2005
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2006
|
-
(
|
|
1969
|
+
var oe = Object.getOwnPropertyDescriptor, ie = (i, t, e, o) => {
|
|
1970
|
+
for (var r = o > 1 ? void 0 : o ? oe(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
1971
|
+
(s = i[l]) && (r = s(r) || r);
|
|
2007
1972
|
return r;
|
|
2008
1973
|
};
|
|
2009
|
-
let N = class extends
|
|
1974
|
+
let N = class extends d {
|
|
2010
1975
|
render() {
|
|
2011
1976
|
return h`
|
|
2012
1977
|
<svg
|
|
@@ -2095,11 +2060,11 @@ let N = class extends p {
|
|
|
2095
2060
|
`;
|
|
2096
2061
|
}
|
|
2097
2062
|
};
|
|
2098
|
-
N.styles = [O,
|
|
2099
|
-
N =
|
|
2100
|
-
|
|
2063
|
+
N.styles = [O, re];
|
|
2064
|
+
N = ie([
|
|
2065
|
+
u("ur-icon-hamburger")
|
|
2101
2066
|
], N);
|
|
2102
|
-
const
|
|
2067
|
+
const le = c`
|
|
2103
2068
|
:host {
|
|
2104
2069
|
width: 1.8em;
|
|
2105
2070
|
height: 1.8em;
|
|
@@ -2113,12 +2078,12 @@ const he = c`
|
|
|
2113
2078
|
color: var(--ur-color-green);
|
|
2114
2079
|
}*/
|
|
2115
2080
|
`;
|
|
2116
|
-
var
|
|
2117
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2118
|
-
(
|
|
2081
|
+
var se = Object.getOwnPropertyDescriptor, ne = (i, t, e, o) => {
|
|
2082
|
+
for (var r = o > 1 ? void 0 : o ? se(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
2083
|
+
(s = i[l]) && (r = s(r) || r);
|
|
2119
2084
|
return r;
|
|
2120
2085
|
};
|
|
2121
|
-
let R = class extends
|
|
2086
|
+
let R = class extends d {
|
|
2122
2087
|
render() {
|
|
2123
2088
|
return h`
|
|
2124
2089
|
<svg
|
|
@@ -2155,11 +2120,11 @@ let R = class extends p {
|
|
|
2155
2120
|
`;
|
|
2156
2121
|
}
|
|
2157
2122
|
};
|
|
2158
|
-
R.styles = [O,
|
|
2159
|
-
R =
|
|
2160
|
-
|
|
2123
|
+
R.styles = [O, le];
|
|
2124
|
+
R = ne([
|
|
2125
|
+
u("ur-icon-connect-globe")
|
|
2161
2126
|
], R);
|
|
2162
|
-
const
|
|
2127
|
+
const ae = c`
|
|
2163
2128
|
:host {
|
|
2164
2129
|
display: inline-block;
|
|
2165
2130
|
position: relative;
|
|
@@ -2192,12 +2157,12 @@ const de = c`
|
|
|
2192
2157
|
flex-flow: column;
|
|
2193
2158
|
}
|
|
2194
2159
|
`;
|
|
2195
|
-
var
|
|
2196
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2197
|
-
(
|
|
2198
|
-
return o && r &&
|
|
2160
|
+
var he = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, I = (i, t, e, o) => {
|
|
2161
|
+
for (var r = o > 1 ? void 0 : o ? ce(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
2162
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
2163
|
+
return o && r && he(t, e, r), r;
|
|
2199
2164
|
};
|
|
2200
|
-
let
|
|
2165
|
+
let x = class extends d {
|
|
2201
2166
|
constructor() {
|
|
2202
2167
|
super(...arguments), this.open = !1, this._handleButtonClick = (i) => {
|
|
2203
2168
|
i.stopPropagation(), this.open = !this.open, this.open && this._updatePosition();
|
|
@@ -2221,9 +2186,9 @@ let $ = class extends p {
|
|
|
2221
2186
|
const i = this._buttonSlot.assignedElements();
|
|
2222
2187
|
if (i.length === 0) return;
|
|
2223
2188
|
const e = i[0].getBoundingClientRect(), o = this._menuItems.getBoundingClientRect();
|
|
2224
|
-
let r = e.bottom + 8,
|
|
2225
|
-
const
|
|
2226
|
-
|
|
2189
|
+
let r = e.bottom + 8, l = e.left;
|
|
2190
|
+
const s = window.innerWidth, a = window.innerHeight;
|
|
2191
|
+
l + o.width > s - 8 && (l = e.right - o.width), l < 8 && (l = 8), r + o.height > a - 8 && (r = e.top - o.height - 8), this._menuItems.style.top = `${r}px`, this._menuItems.style.left = `${l}px`;
|
|
2227
2192
|
});
|
|
2228
2193
|
}
|
|
2229
2194
|
render() {
|
|
@@ -2243,20 +2208,20 @@ let $ = class extends p {
|
|
|
2243
2208
|
`;
|
|
2244
2209
|
}
|
|
2245
2210
|
};
|
|
2246
|
-
|
|
2211
|
+
x.styles = ae;
|
|
2247
2212
|
I([
|
|
2248
2213
|
n({ type: Boolean, reflect: !0 })
|
|
2249
|
-
],
|
|
2214
|
+
], x.prototype, "open", 2);
|
|
2250
2215
|
I([
|
|
2251
|
-
|
|
2252
|
-
],
|
|
2216
|
+
rt(".menu-button-slot")
|
|
2217
|
+
], x.prototype, "_buttonSlot", 2);
|
|
2253
2218
|
I([
|
|
2254
|
-
|
|
2255
|
-
],
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
],
|
|
2259
|
-
const
|
|
2219
|
+
rt(".menu-items")
|
|
2220
|
+
], x.prototype, "_menuItems", 2);
|
|
2221
|
+
x = I([
|
|
2222
|
+
u("ur-menu")
|
|
2223
|
+
], x);
|
|
2224
|
+
const pe = c`
|
|
2260
2225
|
:host {
|
|
2261
2226
|
display: inline-block;
|
|
2262
2227
|
}
|
|
@@ -2284,12 +2249,12 @@ const ve = c`
|
|
|
2284
2249
|
outline-offset: 2px;
|
|
2285
2250
|
}
|
|
2286
2251
|
`;
|
|
2287
|
-
var
|
|
2288
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2289
|
-
(
|
|
2252
|
+
var de = Object.getOwnPropertyDescriptor, ue = (i, t, e, o) => {
|
|
2253
|
+
for (var r = o > 1 ? void 0 : o ? de(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
2254
|
+
(s = i[l]) && (r = s(r) || r);
|
|
2290
2255
|
return r;
|
|
2291
2256
|
};
|
|
2292
|
-
let q = class extends
|
|
2257
|
+
let q = class extends d {
|
|
2293
2258
|
render() {
|
|
2294
2259
|
return h`
|
|
2295
2260
|
<button class="button" part="button">
|
|
@@ -2298,11 +2263,11 @@ let q = class extends p {
|
|
|
2298
2263
|
`;
|
|
2299
2264
|
}
|
|
2300
2265
|
};
|
|
2301
|
-
q.styles =
|
|
2302
|
-
q =
|
|
2303
|
-
|
|
2266
|
+
q.styles = pe;
|
|
2267
|
+
q = ue([
|
|
2268
|
+
u("ur-menu-button")
|
|
2304
2269
|
], q);
|
|
2305
|
-
const
|
|
2270
|
+
const fe = c`
|
|
2306
2271
|
:host {
|
|
2307
2272
|
width: 100%;
|
|
2308
2273
|
box-sizing: border-box;
|
|
@@ -2328,12 +2293,12 @@ const be = c`
|
|
|
2328
2293
|
border-bottom: 1px solid var(--ur-color-border, rgba(255, 255, 255, 0.1));
|
|
2329
2294
|
}
|
|
2330
2295
|
`;
|
|
2331
|
-
var
|
|
2332
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2333
|
-
(
|
|
2334
|
-
return o && r &&
|
|
2296
|
+
var ve = Object.defineProperty, me = Object.getOwnPropertyDescriptor, st = (i, t, e, o) => {
|
|
2297
|
+
for (var r = o > 1 ? void 0 : o ? me(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
2298
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
2299
|
+
return o && r && ve(t, e, r), r;
|
|
2335
2300
|
};
|
|
2336
|
-
let
|
|
2301
|
+
let j = class extends d {
|
|
2337
2302
|
constructor() {
|
|
2338
2303
|
super(...arguments), this.disabled = !1, this._handleClick = (i) => {
|
|
2339
2304
|
if (this.disabled) {
|
|
@@ -2357,14 +2322,14 @@ let F = class extends p {
|
|
|
2357
2322
|
`;
|
|
2358
2323
|
}
|
|
2359
2324
|
};
|
|
2360
|
-
|
|
2361
|
-
|
|
2325
|
+
j.styles = fe;
|
|
2326
|
+
st([
|
|
2362
2327
|
n({ type: Boolean })
|
|
2363
|
-
],
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
],
|
|
2367
|
-
const
|
|
2328
|
+
], j.prototype, "disabled", 2);
|
|
2329
|
+
j = st([
|
|
2330
|
+
u("ur-menu-item")
|
|
2331
|
+
], j);
|
|
2332
|
+
const ge = c`
|
|
2368
2333
|
:host {
|
|
2369
2334
|
width: 100%;
|
|
2370
2335
|
box-sizing: border-box;
|
|
@@ -2396,12 +2361,12 @@ const Ce = c`
|
|
|
2396
2361
|
margin-right: 0.3rem;
|
|
2397
2362
|
}
|
|
2398
2363
|
`;
|
|
2399
|
-
var
|
|
2400
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2401
|
-
(
|
|
2402
|
-
return o && r &&
|
|
2364
|
+
var be = Object.defineProperty, ye = Object.getOwnPropertyDescriptor, $ = (i, t, e, o) => {
|
|
2365
|
+
for (var r = o > 1 ? void 0 : o ? ye(t, e) : t, l = i.length - 1, s; l >= 0; l--)
|
|
2366
|
+
(s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
|
|
2367
|
+
return o && r && be(t, e, r), r;
|
|
2403
2368
|
};
|
|
2404
|
-
let b = class extends
|
|
2369
|
+
let b = class extends d {
|
|
2405
2370
|
constructor() {
|
|
2406
2371
|
super(...arguments), this.name = "Best available provider", this.providerCount = 0, this.unstable = !1, this.strongPrivacy = !1;
|
|
2407
2372
|
}
|
|
@@ -2446,47 +2411,46 @@ let b = class extends p {
|
|
|
2446
2411
|
`;
|
|
2447
2412
|
}
|
|
2448
2413
|
};
|
|
2449
|
-
b.styles =
|
|
2450
|
-
|
|
2414
|
+
b.styles = ge;
|
|
2415
|
+
$([
|
|
2451
2416
|
n({ type: String })
|
|
2452
2417
|
], b.prototype, "locationKey", 2);
|
|
2453
|
-
|
|
2418
|
+
$([
|
|
2454
2419
|
n({ type: String })
|
|
2455
2420
|
], b.prototype, "name", 2);
|
|
2456
|
-
|
|
2421
|
+
$([
|
|
2457
2422
|
n({ type: Number })
|
|
2458
2423
|
], b.prototype, "providerCount", 2);
|
|
2459
|
-
|
|
2424
|
+
$([
|
|
2460
2425
|
n({ type: Boolean })
|
|
2461
2426
|
], b.prototype, "unstable", 2);
|
|
2462
|
-
|
|
2427
|
+
$([
|
|
2463
2428
|
n({ type: Boolean })
|
|
2464
2429
|
], b.prototype, "strongPrivacy", 2);
|
|
2465
|
-
|
|
2430
|
+
$([
|
|
2466
2431
|
n({ type: Function })
|
|
2467
2432
|
], b.prototype, "onClick", 2);
|
|
2468
|
-
b =
|
|
2469
|
-
|
|
2433
|
+
b = $([
|
|
2434
|
+
u("ur-selected-location")
|
|
2470
2435
|
], b);
|
|
2471
2436
|
export {
|
|
2472
|
-
|
|
2473
|
-
|
|
2437
|
+
_e as B,
|
|
2438
|
+
xe as I,
|
|
2474
2439
|
g as L,
|
|
2475
|
-
|
|
2440
|
+
x as M,
|
|
2476
2441
|
b as S,
|
|
2477
|
-
|
|
2478
|
-
|
|
2442
|
+
Me as T,
|
|
2443
|
+
$e as a,
|
|
2479
2444
|
Z as b,
|
|
2480
2445
|
m as c,
|
|
2481
2446
|
R as d,
|
|
2482
2447
|
N as e,
|
|
2483
2448
|
A as f,
|
|
2484
2449
|
z as g,
|
|
2485
|
-
|
|
2450
|
+
_ as h,
|
|
2486
2451
|
U as i,
|
|
2487
|
-
|
|
2452
|
+
p as j,
|
|
2488
2453
|
q as k,
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
w as n
|
|
2454
|
+
j as l,
|
|
2455
|
+
w as m
|
|
2492
2456
|
};
|