@duyluonganduin/acl-web-components 0.0.21 → 0.0.23
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/acl-web-components.cjs +1 -1
- package/dist/acl-web-components.d.ts +9 -2
- package/dist/acl-web-components.iife.js +283 -165
- package/dist/acl-web-components.js +54 -53
- package/dist/{anduin-suggestion-D6WMsEcg.js → anduin-suggestion-BcQlCfVG.js} +806 -632
- package/dist/anduin-suggestion-Dm0pHzzk.cjs +2409 -0
- package/dist/jsx.d.ts +8 -0
- package/dist/react.cjs +1 -1
- package/dist/react.d.ts +11 -2
- package/dist/react.js +104 -103
- package/package.json +1 -1
- package/dist/anduin-suggestion-DwPitfLM.cjs +0 -2291
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
7
|
-
let
|
|
6
|
+
const D1 = globalThis, b2 = D1.ShadowRoot && (D1.ShadyCSS === void 0 || D1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, m2 = Symbol(), V5 = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let T5 = class {
|
|
8
8
|
constructor(e, t, i) {
|
|
9
|
-
if (this._$cssResult$ = !0, i !==
|
|
9
|
+
if (this._$cssResult$ = !0, i !== m2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
10
10
|
this.cssText = e, this.t = t;
|
|
11
11
|
}
|
|
12
12
|
get styleSheet() {
|
|
13
13
|
let e = this.o;
|
|
14
14
|
const t = this.t;
|
|
15
|
-
if (
|
|
15
|
+
if (b2 && e === void 0) {
|
|
16
16
|
const i = t !== void 0 && t.length === 1;
|
|
17
|
-
i && (e =
|
|
17
|
+
i && (e = V5.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && V5.set(t, e));
|
|
18
18
|
}
|
|
19
19
|
return e;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let O5 = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const p4 = (l) => new T5(typeof l == "string" ? l : l + "", void 0, m2), g = (l, ...e) => {
|
|
26
26
|
const t = l.length === 1 ? l[0] : e.reduce((i, o, r) => i + ((n) => {
|
|
27
27
|
if (n._$cssResult$ === !0) return n.cssText;
|
|
28
28
|
if (typeof n == "number") return n;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(o) + l[r + 1], l[0]);
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
31
|
+
return new T5(t, l, m2);
|
|
32
|
+
}, u4 = (l, e) => {
|
|
33
|
+
if (b2) l.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
34
34
|
else for (const t of e) {
|
|
35
|
-
const i = document.createElement("style"), o =
|
|
35
|
+
const i = document.createElement("style"), o = D1.litNonce;
|
|
36
36
|
o !== void 0 && i.setAttribute("nonce", o), i.textContent = t.cssText, l.appendChild(i);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, L5 = b2 ? (l) => l : (l) => l instanceof CSSStyleSheet ? ((e) => {
|
|
39
39
|
let t = "";
|
|
40
40
|
for (const i of e.cssRules) t += i.cssText;
|
|
41
|
-
return
|
|
41
|
+
return p4(t);
|
|
42
42
|
})(l) : l;
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is:
|
|
48
|
+
const { is: h4, defineProperty: v4, getOwnPropertyDescriptor: g4, getOwnPropertyNames: f4, getOwnPropertySymbols: H4, getPrototypeOf: V4 } = Object, N = globalThis, b5 = N.trustedTypes, L4 = b5 ? b5.emptyScript : "", J1 = N.reactiveElementPolyfillSupport, H1 = (l, e) => l, I1 = { toAttribute(l, e) {
|
|
49
49
|
switch (e) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
l = l ?
|
|
51
|
+
l = l ? L4 : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,7 +73,7 @@ const { is: d4, defineProperty: c4, getOwnPropertyDescriptor: p4, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return t;
|
|
76
|
-
} },
|
|
76
|
+
} }, M2 = (l, e) => !h4(l, e), m5 = { attribute: !0, type: String, converter: I1, reflect: !1, useDefault: !1, hasChanged: M2 };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), N.litPropertyMetadata ?? (N.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let a1 = class extends HTMLElement {
|
|
79
79
|
static addInitializer(e) {
|
|
@@ -82,14 +82,14 @@ let a1 = class extends HTMLElement {
|
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(e, t =
|
|
85
|
+
static createProperty(e, t = m5) {
|
|
86
86
|
if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
87
87
|
const i = Symbol(), o = this.getPropertyDescriptor(e, i, t);
|
|
88
|
-
o !== void 0 &&
|
|
88
|
+
o !== void 0 && v4(this.prototype, e, o);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(e, t, i) {
|
|
92
|
-
const { get: o, set: r } =
|
|
92
|
+
const { get: o, set: r } = g4(this.prototype, e) ?? { get() {
|
|
93
93
|
return this[t];
|
|
94
94
|
}, set(n) {
|
|
95
95
|
this[t] = n;
|
|
@@ -100,17 +100,17 @@ let a1 = class extends HTMLElement {
|
|
|
100
100
|
}, configurable: !0, enumerable: !0 };
|
|
101
101
|
}
|
|
102
102
|
static getPropertyOptions(e) {
|
|
103
|
-
return this.elementProperties.get(e) ??
|
|
103
|
+
return this.elementProperties.get(e) ?? m5;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(H1("elementProperties"))) return;
|
|
107
|
-
const e =
|
|
107
|
+
const e = V4(this);
|
|
108
108
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
111
|
if (this.hasOwnProperty(H1("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(H1("properties"))) {
|
|
113
|
-
const t = this.properties, i = [...
|
|
113
|
+
const t = this.properties, i = [...f4(t), ...H4(t)];
|
|
114
114
|
for (const o of i) this.createProperty(o, t[o]);
|
|
115
115
|
}
|
|
116
116
|
const e = this[Symbol.metadata];
|
|
@@ -129,8 +129,8 @@ let a1 = class extends HTMLElement {
|
|
|
129
129
|
const t = [];
|
|
130
130
|
if (Array.isArray(e)) {
|
|
131
131
|
const i = new Set(e.flat(1 / 0).reverse());
|
|
132
|
-
for (const o of i) t.unshift(
|
|
133
|
-
} else e !== void 0 && t.push(
|
|
132
|
+
for (const o of i) t.unshift(L5(o));
|
|
133
|
+
} else e !== void 0 && t.push(L5(e));
|
|
134
134
|
return t;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(e, t) {
|
|
@@ -159,7 +159,7 @@ let a1 = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return u4(e, this.constructor.elementStyles), e;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var e;
|
|
@@ -184,7 +184,7 @@ let a1 = class extends HTMLElement {
|
|
|
184
184
|
var r;
|
|
185
185
|
const i = this.constructor.elementProperties.get(e), o = this.constructor._$Eu(e, i);
|
|
186
186
|
if (o !== void 0 && i.reflect === !0) {
|
|
187
|
-
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
187
|
+
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : I1).toAttribute(t, i.type);
|
|
188
188
|
this._$Em = e, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ let a1 = class extends HTMLElement {
|
|
|
192
192
|
var r, n;
|
|
193
193
|
const i = this.constructor, o = i._$Eh.get(e);
|
|
194
194
|
if (o !== void 0 && this._$Em !== o) {
|
|
195
|
-
const a = i.getPropertyOptions(o), d = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter :
|
|
195
|
+
const a = i.getPropertyOptions(o), d = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter : I1;
|
|
196
196
|
this._$Em = o;
|
|
197
197
|
const p = d.fromAttribute(t, a.type);
|
|
198
198
|
this[o] = p ?? ((n = this._$Ej) == null ? void 0 : n.get(o)) ?? p, this._$Em = null;
|
|
@@ -202,7 +202,7 @@ let a1 = class extends HTMLElement {
|
|
|
202
202
|
var n;
|
|
203
203
|
if (e !== void 0) {
|
|
204
204
|
const a = this.constructor;
|
|
205
|
-
if (o === !1 && (r = this[e]), i ?? (i = a.getPropertyOptions(e)), !((i.hasChanged ??
|
|
205
|
+
if (o === !1 && (r = this[e]), i ?? (i = a.getPropertyOptions(e)), !((i.hasChanged ?? M2)(r, t) || i.useDefault && i.reflect && r === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(a._$Eu(e, i)))) return;
|
|
206
206
|
this.C(e, t, i);
|
|
207
207
|
}
|
|
208
208
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -278,56 +278,56 @@ let a1 = class extends HTMLElement {
|
|
|
278
278
|
firstUpdated(e) {
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
a1.elementStyles = [], a1.shadowRootOptions = { mode: "open" }, a1[H1("elementProperties")] = /* @__PURE__ */ new Map(), a1[H1("finalized")] = /* @__PURE__ */ new Map(),
|
|
281
|
+
a1.elementStyles = [], a1.shadowRootOptions = { mode: "open" }, a1[H1("elementProperties")] = /* @__PURE__ */ new Map(), a1[H1("finalized")] = /* @__PURE__ */ new Map(), J1 == null || J1({ ReactiveElement: a1 }), (N.reactiveElementVersions ?? (N.reactiveElementVersions = [])).push("2.1.2");
|
|
282
282
|
/**
|
|
283
283
|
* @license
|
|
284
284
|
* Copyright 2017 Google LLC
|
|
285
285
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
286
286
|
*/
|
|
287
|
-
const V1 = globalThis,
|
|
288
|
-
\f\r]`, g1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
289
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
290
|
-
function
|
|
291
|
-
if (!
|
|
292
|
-
return
|
|
287
|
+
const V1 = globalThis, M5 = (l) => l, T1 = V1.trustedTypes, y5 = T1 ? T1.createPolicy("lit-html", { createHTML: (l) => l }) : void 0, N5 = "$lit$", T = `lit$${Math.random().toFixed(9).slice(2)}$`, j5 = "?" + T, b4 = `<${j5}>`, e1 = document, L1 = () => e1.createComment(""), b1 = (l) => l === null || typeof l != "object" && typeof l != "function", y2 = Array.isArray, m4 = (l) => y2(l) || typeof (l == null ? void 0 : l[Symbol.iterator]) == "function", Q1 = `[
|
|
288
|
+
\f\r]`, g1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Z5 = /-->/g, _5 = />/g, K = RegExp(`>|${Q1}(?:([^\\s"'>=/]+)(${Q1}*=${Q1}*(?:[^
|
|
289
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), x5 = /'/g, w5 = /"/g, U5 = /^(?:script|style|textarea|title)$/i, q5 = (l) => (e, ...t) => ({ _$litType$: l, strings: e, values: t }), s = q5(1), N1 = q5(2), t1 = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), R5 = /* @__PURE__ */ new WeakMap(), J = e1.createTreeWalker(e1, 129);
|
|
290
|
+
function W5(l, e) {
|
|
291
|
+
if (!y2(l) || !l.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
292
|
+
return y5 !== void 0 ? y5.createHTML(e) : e;
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const M4 = (l, e) => {
|
|
295
295
|
const t = l.length - 1, i = [];
|
|
296
296
|
let o, r = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = g1;
|
|
297
297
|
for (let a = 0; a < t; a++) {
|
|
298
298
|
const d = l[a];
|
|
299
299
|
let p, u, v = -1, H = 0;
|
|
300
|
-
for (; H < d.length && (n.lastIndex = H, u = n.exec(d), u !== null); ) H = n.lastIndex, n === g1 ? u[1] === "!--" ? n =
|
|
300
|
+
for (; H < d.length && (n.lastIndex = H, u = n.exec(d), u !== null); ) H = n.lastIndex, n === g1 ? u[1] === "!--" ? n = Z5 : u[1] !== void 0 ? n = _5 : u[2] !== void 0 ? (U5.test(u[2]) && (o = RegExp("</" + u[2], "g")), n = K) : u[3] !== void 0 && (n = K) : n === K ? u[0] === ">" ? (n = o ?? g1, v = -1) : u[1] === void 0 ? v = -2 : (v = n.lastIndex - u[2].length, p = u[1], n = u[3] === void 0 ? K : u[3] === '"' ? w5 : x5) : n === w5 || n === x5 ? n = K : n === Z5 || n === _5 ? n = g1 : (n = K, o = void 0);
|
|
301
301
|
const f = n === K && l[a + 1].startsWith("/>") ? " " : "";
|
|
302
|
-
r += n === g1 ? d +
|
|
302
|
+
r += n === g1 ? d + b4 : v >= 0 ? (i.push(p), d.slice(0, v) + N5 + d.slice(v) + T + f) : d + T + (v === -2 ? a : f);
|
|
303
303
|
}
|
|
304
|
-
return [
|
|
304
|
+
return [W5(l, r + (l[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
|
|
305
305
|
};
|
|
306
306
|
class m1 {
|
|
307
307
|
constructor({ strings: e, _$litType$: t }, i) {
|
|
308
308
|
let o;
|
|
309
309
|
this.parts = [];
|
|
310
310
|
let r = 0, n = 0;
|
|
311
|
-
const a = e.length - 1, d = this.parts, [p, u] =
|
|
311
|
+
const a = e.length - 1, d = this.parts, [p, u] = M4(e, t);
|
|
312
312
|
if (this.el = m1.createElement(p, i), J.currentNode = this.el.content, t === 2 || t === 3) {
|
|
313
313
|
const v = this.el.content.firstChild;
|
|
314
314
|
v.replaceWith(...v.childNodes);
|
|
315
315
|
}
|
|
316
316
|
for (; (o = J.nextNode()) !== null && d.length < a; ) {
|
|
317
317
|
if (o.nodeType === 1) {
|
|
318
|
-
if (o.hasAttributes()) for (const v of o.getAttributeNames()) if (v.endsWith(
|
|
318
|
+
if (o.hasAttributes()) for (const v of o.getAttributeNames()) if (v.endsWith(N5)) {
|
|
319
319
|
const H = u[n++], f = o.getAttribute(v).split(T), Z = /([.?@])?(.*)/.exec(H);
|
|
320
|
-
d.push({ type: 1, index: r, name: Z[2], strings: f, ctor: Z[1] === "." ?
|
|
320
|
+
d.push({ type: 1, index: r, name: Z[2], strings: f, ctor: Z[1] === "." ? Z4 : Z[1] === "?" ? _4 : Z[1] === "@" ? x4 : X1 }), o.removeAttribute(v);
|
|
321
321
|
} else v.startsWith(T) && (d.push({ type: 6, index: r }), o.removeAttribute(v));
|
|
322
|
-
if (
|
|
322
|
+
if (U5.test(o.tagName)) {
|
|
323
323
|
const v = o.textContent.split(T), H = v.length - 1;
|
|
324
324
|
if (H > 0) {
|
|
325
|
-
o.textContent =
|
|
325
|
+
o.textContent = T1 ? T1.emptyScript : "";
|
|
326
326
|
for (let f = 0; f < H; f++) o.append(v[f], L1()), J.nextNode(), d.push({ type: 2, index: ++r });
|
|
327
327
|
o.append(v[H], L1());
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
} else if (o.nodeType === 8) if (o.data ===
|
|
330
|
+
} else if (o.nodeType === 8) if (o.data === j5) d.push({ type: 2, index: r });
|
|
331
331
|
else {
|
|
332
332
|
let v = -1;
|
|
333
333
|
for (; (v = o.data.indexOf(T, v + 1)) !== -1; ) d.push({ type: 7, index: r }), v += T.length - 1;
|
|
@@ -347,7 +347,7 @@ function s1(l, e, t = l, i) {
|
|
|
347
347
|
const r = b1(e) ? void 0 : e._$litDirective$;
|
|
348
348
|
return (o == null ? void 0 : o.constructor) !== r && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), r === void 0 ? o = void 0 : (o = new r(l), o._$AT(l, t, i)), i !== void 0 ? (t._$Co ?? (t._$Co = []))[i] = o : t._$Cl = o), o !== void 0 && (e = s1(l, o._$AS(l, e.values), o, i)), e;
|
|
349
349
|
}
|
|
350
|
-
class
|
|
350
|
+
class y4 {
|
|
351
351
|
constructor(e, t) {
|
|
352
352
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
353
353
|
}
|
|
@@ -364,7 +364,7 @@ class L4 {
|
|
|
364
364
|
for (; d !== void 0; ) {
|
|
365
365
|
if (n === d.index) {
|
|
366
366
|
let p;
|
|
367
|
-
d.type === 2 ? p = new
|
|
367
|
+
d.type === 2 ? p = new S1(r, r.nextSibling, this, e) : d.type === 1 ? p = new d.ctor(r, d.name, d.strings, this, e) : d.type === 6 && (p = new w4(r, this, e)), this._$AV.push(p), d = i[++a];
|
|
368
368
|
}
|
|
369
369
|
n !== (d == null ? void 0 : d.index) && (r = J.nextNode(), n++);
|
|
370
370
|
}
|
|
@@ -375,7 +375,7 @@ class L4 {
|
|
|
375
375
|
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, t), t += i.strings.length - 2) : i._$AI(e[t])), t++;
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
class
|
|
378
|
+
class S1 {
|
|
379
379
|
get _$AU() {
|
|
380
380
|
var e;
|
|
381
381
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
|
@@ -395,7 +395,7 @@ class z1 {
|
|
|
395
395
|
return this._$AB;
|
|
396
396
|
}
|
|
397
397
|
_$AI(e, t = this) {
|
|
398
|
-
e = s1(this, e, t), b1(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== t1 && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) :
|
|
398
|
+
e = s1(this, e, t), b1(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== t1 && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : m4(e) ? this.k(e) : this._(e);
|
|
399
399
|
}
|
|
400
400
|
O(e) {
|
|
401
401
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -408,29 +408,29 @@ class z1 {
|
|
|
408
408
|
}
|
|
409
409
|
$(e) {
|
|
410
410
|
var r;
|
|
411
|
-
const { values: t, _$litType$: i } = e, o = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = m1.createElement(
|
|
411
|
+
const { values: t, _$litType$: i } = e, o = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = m1.createElement(W5(i.h, i.h[0]), this.options)), i);
|
|
412
412
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(t);
|
|
413
413
|
else {
|
|
414
|
-
const n = new
|
|
414
|
+
const n = new y4(o, this), a = n.u(this.options);
|
|
415
415
|
n.p(t), this.T(a), this._$AH = n;
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
_$AC(e) {
|
|
419
|
-
let t =
|
|
420
|
-
return t === void 0 &&
|
|
419
|
+
let t = R5.get(e.strings);
|
|
420
|
+
return t === void 0 && R5.set(e.strings, t = new m1(e)), t;
|
|
421
421
|
}
|
|
422
422
|
k(e) {
|
|
423
|
-
|
|
423
|
+
y2(this._$AH) || (this._$AH = [], this._$AR());
|
|
424
424
|
const t = this._$AH;
|
|
425
425
|
let i, o = 0;
|
|
426
|
-
for (const r of e) o === t.length ? t.push(i = new
|
|
426
|
+
for (const r of e) o === t.length ? t.push(i = new S1(this.O(L1()), this.O(L1()), this, this.options)) : i = t[o], i._$AI(r), o++;
|
|
427
427
|
o < t.length && (this._$AR(i && i._$AB.nextSibling, o), t.length = o);
|
|
428
428
|
}
|
|
429
429
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
430
430
|
var i;
|
|
431
431
|
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, t); e !== this._$AB; ) {
|
|
432
|
-
const o =
|
|
433
|
-
|
|
432
|
+
const o = M5(e).nextSibling;
|
|
433
|
+
M5(e).remove(), e = o;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
setConnected(e) {
|
|
@@ -438,7 +438,7 @@ class z1 {
|
|
|
438
438
|
this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
class
|
|
441
|
+
class X1 {
|
|
442
442
|
get tagName() {
|
|
443
443
|
return this.element.tagName;
|
|
444
444
|
}
|
|
@@ -463,7 +463,7 @@ class G1 {
|
|
|
463
463
|
e === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
class
|
|
466
|
+
class Z4 extends X1 {
|
|
467
467
|
constructor() {
|
|
468
468
|
super(...arguments), this.type = 3;
|
|
469
469
|
}
|
|
@@ -471,7 +471,7 @@ class b4 extends G1 {
|
|
|
471
471
|
this.element[this.name] = e === c ? void 0 : e;
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
class
|
|
474
|
+
class _4 extends X1 {
|
|
475
475
|
constructor() {
|
|
476
476
|
super(...arguments), this.type = 4;
|
|
477
477
|
}
|
|
@@ -479,7 +479,7 @@ class m4 extends G1 {
|
|
|
479
479
|
this.element.toggleAttribute(this.name, !!e && e !== c);
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
class
|
|
482
|
+
class x4 extends X1 {
|
|
483
483
|
constructor(e, t, i, o, r) {
|
|
484
484
|
super(e, t, i, o, r), this.type = 5;
|
|
485
485
|
}
|
|
@@ -493,7 +493,7 @@ class M4 extends G1 {
|
|
|
493
493
|
typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
class
|
|
496
|
+
class w4 {
|
|
497
497
|
constructor(e, t, i) {
|
|
498
498
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = i;
|
|
499
499
|
}
|
|
@@ -504,14 +504,14 @@ class y4 {
|
|
|
504
504
|
s1(this, e);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
const
|
|
508
|
-
|
|
509
|
-
const
|
|
507
|
+
const e2 = V1.litHtmlPolyfillSupport;
|
|
508
|
+
e2 == null || e2(m1, S1), (V1.litHtmlVersions ?? (V1.litHtmlVersions = [])).push("3.3.2");
|
|
509
|
+
const R4 = (l, e, t) => {
|
|
510
510
|
const i = (t == null ? void 0 : t.renderBefore) ?? e;
|
|
511
511
|
let o = i._$litPart$;
|
|
512
512
|
if (o === void 0) {
|
|
513
513
|
const r = (t == null ? void 0 : t.renderBefore) ?? null;
|
|
514
|
-
i._$litPart$ = o = new
|
|
514
|
+
i._$litPart$ = o = new S1(e.insertBefore(L1(), r), r, void 0, t ?? {});
|
|
515
515
|
}
|
|
516
516
|
return o._$AI(l), o;
|
|
517
517
|
};
|
|
@@ -532,7 +532,7 @@ let h = class extends a1 {
|
|
|
532
532
|
}
|
|
533
533
|
update(e) {
|
|
534
534
|
const t = this.render();
|
|
535
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
535
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = R4(t, this.renderRoot, this.renderOptions);
|
|
536
536
|
}
|
|
537
537
|
connectedCallback() {
|
|
538
538
|
var e;
|
|
@@ -546,17 +546,17 @@ let h = class extends a1 {
|
|
|
546
546
|
return t1;
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
|
-
var
|
|
550
|
-
h._$litElement$ = !0, h.finalized = !0, (
|
|
551
|
-
const
|
|
552
|
-
|
|
549
|
+
var I5;
|
|
550
|
+
h._$litElement$ = !0, h.finalized = !0, (I5 = Q.litElementHydrateSupport) == null || I5.call(Q, { LitElement: h });
|
|
551
|
+
const t2 = Q.litElementPolyfillSupport;
|
|
552
|
+
t2 == null || t2({ LitElement: h });
|
|
553
553
|
(Q.litElementVersions ?? (Q.litElementVersions = [])).push("4.2.2");
|
|
554
554
|
/**
|
|
555
555
|
* @license
|
|
556
556
|
* Copyright 2017 Google LLC
|
|
557
557
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
558
558
|
*/
|
|
559
|
-
const
|
|
559
|
+
const k4 = { attribute: !0, type: String, converter: I1, reflect: !1, hasChanged: M2 }, $4 = (l = k4, e, t) => {
|
|
560
560
|
const { kind: i, metadata: o } = t;
|
|
561
561
|
let r = globalThis.litPropertyMetadata.get(o);
|
|
562
562
|
if (r === void 0 && globalThis.litPropertyMetadata.set(o, r = /* @__PURE__ */ new Map()), i === "setter" && ((l = Object.create(l)).wrapped = !0), r.set(t.name, l), i === "accessor") {
|
|
@@ -578,7 +578,7 @@ const _4 = { attribute: !0, type: String, converter: D1, reflect: !1, hasChanged
|
|
|
578
578
|
throw Error("Unsupported decorator location: " + i);
|
|
579
579
|
};
|
|
580
580
|
function C(l) {
|
|
581
|
-
return (e, t) => typeof t == "object" ?
|
|
581
|
+
return (e, t) => typeof t == "object" ? $4(l, e, t) : ((i, o, r) => {
|
|
582
582
|
const n = o.hasOwnProperty(r);
|
|
583
583
|
return o.constructor.createProperty(r, i), n ? Object.getOwnPropertyDescriptor(o, r) : void 0;
|
|
584
584
|
})(l, e, t);
|
|
@@ -596,7 +596,7 @@ function M(l) {
|
|
|
596
596
|
* Copyright 2017 Google LLC
|
|
597
597
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
598
598
|
*/
|
|
599
|
-
const
|
|
599
|
+
const E4 = (l, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(l, e, t), t);
|
|
600
600
|
/**
|
|
601
601
|
* @license
|
|
602
602
|
* Copyright 2017 Google LLC
|
|
@@ -608,17 +608,17 @@ function R(l, e) {
|
|
|
608
608
|
var a;
|
|
609
609
|
return ((a = n.renderRoot) == null ? void 0 : a.querySelector(l)) ?? null;
|
|
610
610
|
};
|
|
611
|
-
return
|
|
611
|
+
return E4(t, i, { get() {
|
|
612
612
|
return r(this);
|
|
613
613
|
} });
|
|
614
614
|
};
|
|
615
615
|
}
|
|
616
|
-
var
|
|
616
|
+
var A4 = Object.defineProperty, G5 = (l, e, t, i) => {
|
|
617
617
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
618
618
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
619
|
-
return o &&
|
|
619
|
+
return o && A4(e, t, o), o;
|
|
620
620
|
};
|
|
621
|
-
const
|
|
621
|
+
const w2 = class w2 extends h {
|
|
622
622
|
constructor() {
|
|
623
623
|
super(...arguments), this.size = "medium", this.percent = "";
|
|
624
624
|
}
|
|
@@ -641,7 +641,7 @@ const x2 = class x2 extends h {
|
|
|
641
641
|
let o;
|
|
642
642
|
i ? o = 0.75 * Math.PI * e : o = (1 - Math.max(0, Math.min(1, parseFloat(this.percent) || 0))) * Math.PI * e;
|
|
643
643
|
const r = t / 2, n = t + e, a = e / 2, d = Math.PI * e;
|
|
644
|
-
return
|
|
644
|
+
return N1`
|
|
645
645
|
<svg
|
|
646
646
|
class=${i ? "spinner" : ""}
|
|
647
647
|
width="${e}px"
|
|
@@ -675,20 +675,93 @@ const x2 = class x2 extends h {
|
|
|
675
675
|
`;
|
|
676
676
|
}
|
|
677
677
|
};
|
|
678
|
-
|
|
678
|
+
w2.styles = g`
|
|
679
679
|
:host { display: inline-block; line-height: 0; font-family: var(--font-sans); }
|
|
680
680
|
.spinner { animation: circle 0.6s linear infinite; }
|
|
681
681
|
@keyframes circle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
|
682
682
|
`;
|
|
683
|
-
let M1 =
|
|
684
|
-
|
|
683
|
+
let M1 = w2;
|
|
684
|
+
G5([
|
|
685
685
|
C()
|
|
686
686
|
], M1.prototype, "size");
|
|
687
|
-
|
|
687
|
+
G5([
|
|
688
688
|
C()
|
|
689
689
|
], M1.prototype, "percent");
|
|
690
690
|
customElements.get("anduin-spinner") || customElements.define("anduin-spinner", M1);
|
|
691
|
-
|
|
691
|
+
var B4 = Object.defineProperty, Y5 = (l, e, t, i) => {
|
|
692
|
+
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
693
|
+
(n = l[r]) && (o = n(e, t, o) || o);
|
|
694
|
+
return o && B4(e, t, o), o;
|
|
695
|
+
};
|
|
696
|
+
const k5 = "M7.23359 3.5336C7.49685 2.82213 8.50314 2.82213 8.76641 3.5336L9.63534 5.88184C9.71811 6.10553 9.89447 6.28189 10.1182 6.36466L12.4664 7.23359C13.1779 7.49685 13.1779 8.50314 12.4664 8.76641L10.1182 9.63534C9.89447 9.71811 9.71811 9.89447 9.63534 10.1182L8.76641 12.4664C8.50314 13.1779 7.49685 13.1779 7.23359 12.4664L6.36466 10.1182C6.28189 9.89447 6.10553 9.71811 5.88185 9.63534L3.5336 8.76641C2.82213 8.50314 2.82213 7.49685 3.5336 7.23359L5.88184 6.36466C6.10553 6.28189 6.28189 6.10553 6.36466 5.88185L7.23359 3.5336Z", z4 = { small: 16, medium: 24, large: 32 }, R2 = class R2 extends h {
|
|
697
|
+
constructor() {
|
|
698
|
+
super(...arguments), this.size = "small", this.color = "default";
|
|
699
|
+
}
|
|
700
|
+
render() {
|
|
701
|
+
const e = z4[this.size] ?? 16;
|
|
702
|
+
return N1`
|
|
703
|
+
<svg
|
|
704
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
705
|
+
width="${e}"
|
|
706
|
+
height="${e}"
|
|
707
|
+
viewBox="0 0 16 16"
|
|
708
|
+
fill="currentColor"
|
|
709
|
+
overflow="visible"
|
|
710
|
+
>
|
|
711
|
+
<path class="star" d="${k5}"/>
|
|
712
|
+
<path class="star star-2" d="${k5}"/>
|
|
713
|
+
</svg>
|
|
714
|
+
`;
|
|
715
|
+
}
|
|
716
|
+
};
|
|
717
|
+
R2.styles = g`
|
|
718
|
+
:host { display: inline-block; line-height: 0; }
|
|
719
|
+
|
|
720
|
+
/* ── Colors ─────────────────────────────────────────────────── */
|
|
721
|
+
:host([color="primary"]) { color: var(--color-primary-4); }
|
|
722
|
+
:host([color="success"]) { color: var(--color-success-4); }
|
|
723
|
+
:host([color="warning"]) { color: var(--color-warning-4); }
|
|
724
|
+
:host([color="danger"]) { color: var(--color-danger-4); }
|
|
725
|
+
|
|
726
|
+
/* ── Star base ──────────────────────────────────────────────── */
|
|
727
|
+
.star {
|
|
728
|
+
transform-box: fill-box;
|
|
729
|
+
transform-origin: center;
|
|
730
|
+
animation: sparkle-sm 2s linear infinite;
|
|
731
|
+
opacity: 0;
|
|
732
|
+
}
|
|
733
|
+
.star-2 { animation-delay: 1s; }
|
|
734
|
+
|
|
735
|
+
/* ── Size-specific animation names ──────────────────────────── */
|
|
736
|
+
:host([size="medium"]) .star { animation-name: sparkle-md; }
|
|
737
|
+
:host([size="large"]) .star { animation-name: sparkle-lg; }
|
|
738
|
+
|
|
739
|
+
/* ── Keyframes ──────────────────────────────────────────────── */
|
|
740
|
+
@keyframes sparkle-sm {
|
|
741
|
+
0% { transform: translate(-6px, -6px) scale(0.5); opacity: 0; }
|
|
742
|
+
50% { transform: translate(0, 0) scale(1); opacity: 1; }
|
|
743
|
+
100% { transform: translate(6px, 6px) scale(0.5); opacity: 0; }
|
|
744
|
+
}
|
|
745
|
+
@keyframes sparkle-md {
|
|
746
|
+
0% { transform: translate(-9px, -9px) scale(0.5); opacity: 0; }
|
|
747
|
+
50% { transform: translate(0, 0) scale(1); opacity: 1; }
|
|
748
|
+
100% { transform: translate(9px, 9px) scale(0.5); opacity: 0; }
|
|
749
|
+
}
|
|
750
|
+
@keyframes sparkle-lg {
|
|
751
|
+
0% { transform: translate(-12px, -12px) scale(0.5); opacity: 0; }
|
|
752
|
+
50% { transform: translate(0, 0) scale(1); opacity: 1; }
|
|
753
|
+
100% { transform: translate(12px, 12px) scale(0.5); opacity: 0; }
|
|
754
|
+
}
|
|
755
|
+
`;
|
|
756
|
+
let y1 = R2;
|
|
757
|
+
Y5([
|
|
758
|
+
C({ reflect: !0 })
|
|
759
|
+
], y1.prototype, "size");
|
|
760
|
+
Y5([
|
|
761
|
+
C({ reflect: !0 })
|
|
762
|
+
], y1.prototype, "color");
|
|
763
|
+
customElements.get("anduin-sparkle-spinner") || customElements.define("anduin-sparkle-spinner", y1);
|
|
764
|
+
const $5 = {
|
|
692
765
|
access: [{ d: "M13 2.5H3C2.72386 2.5 2.5 2.72386 2.5 3V5.75H1V3C1 1.89543 1.89543 1 3 1H13C14.1046 1 15 1.89543 15 3V13C15 14.1046 14.1046 15 13 15H3C1.89543 15 1 14.1046 1 13V10.25H2.5V13C2.5 13.2761 2.72386 13.5 3 13.5H13C13.2761 13.5 13.5 13.2761 13.5 13V3C13.5 2.72386 13.2761 2.5 13 2.5ZM7.53033 4.21979C7.23744 3.9269 6.76256 3.9269 6.46967 4.21979C6.17678 4.51269 6.17678 4.98756 6.46967 5.28045L8.43922 7.25L0.75 7.25C0.335786 7.25 0 7.58579 0 8C0 8.41421 0.335786 8.75 0.75 8.75L8.43946 8.75L6.46967 10.7198C6.17678 11.0127 6.17678 11.4876 6.46967 11.7805C6.76256 12.0733 7.23744 12.0733 7.53033 11.7805L10.7803 8.53044C11.0732 8.23755 11.0732 7.76268 10.7803 7.46978L7.53033 4.21979Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
693
766
|
alignCenter: [{ d: "M2 1C1.44772 1 1 1.44772 1 2C1 2.55228 1.44772 3 2 3H14C14.5523 3 15 2.55228 15 2C15 1.44772 14.5523 1 14 1H2ZM2 9C1.44772 9 1 9.44771 1 10C1 10.5523 1.44772 11 2 11H14C14.5523 11 15 10.5523 15 10C15 9.44771 14.5523 9 14 9H2ZM4 6C4 5.44772 4.44772 5 5 5H11C11.5523 5 12 5.44772 12 6C12 6.55228 11.5523 7 11 7H5C4.44772 7 4 6.55228 4 6ZM5 13C4.44772 13 4 13.4477 4 14C4 14.5523 4.44772 15 5 15H11C11.5523 15 12 14.5523 12 14C12 13.4477 11.5523 13 11 13H5Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
694
767
|
alignJustify: [{ d: "M2 1C1.44772 1 1 1.44772 1 2C1 2.55228 1.44772 3 2 3H14C14.5523 3 15 2.55228 15 2C15 1.44772 14.5523 1 14 1H2ZM2 9C1.44772 9 1 9.44771 1 10C1 10.5523 1.44772 11 2 11H14C14.5523 11 15 10.5523 15 10C15 9.44771 14.5523 9 14 9H2ZM1 6C1 5.44772 1.44772 5 2 5H14C14.5523 5 15 5.44772 15 6C15 6.55228 14.5523 7 14 7H2C1.44772 7 1 6.55228 1 6ZM2 13C1.44772 13 1 13.4477 1 14C1 14.5523 1.44772 15 2 15H14C14.5523 15 15 14.5523 15 14C15 13.4477 14.5523 13 14 13H2Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
@@ -836,6 +909,7 @@ const w5 = {
|
|
|
836
909
|
fastBackward: [{ d: "M2.5 4.75C2.5 4.33579 2.16421 4 1.75 4C1.33579 4 1 4.33579 1 4.75V11.25C1 11.6642 1.33579 12 1.75 12C2.16421 12 2.5 11.6642 2.5 11.25V4.75ZM4.34907 7.24109L8.17507 4.12109C8.49907 3.84409 9.00007 4.07409 9.00007 4.50109V11.4991C9.00007 11.9261 8.49907 12.1561 8.17507 11.8791L4.34907 8.76009C3.88307 8.36009 3.88307 7.64009 4.34907 7.24109ZM10.3491 7.24109L14.1751 4.12109C14.4991 3.84409 15.0001 4.07409 15.0001 4.50109V11.4991C15.0001 11.9261 14.4991 12.1561 14.1751 11.8791L10.3491 8.76009C9.88307 8.36009 9.88307 7.64009 10.3491 7.24109Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
837
910
|
fastForward: [{ d: "M14.25 4C14.6642 4 15 4.33579 15 4.75V11.25C15 11.6642 14.6642 12 14.25 12C13.8358 12 13.5 11.6642 13.5 11.25V4.75C13.5 4.33579 13.8358 4 14.25 4ZM1.825 4.12111C1.501 3.84411 1 4.07411 1 4.50111V11.4991C1 11.9261 1.501 12.1561 1.825 11.8791L5.651 8.75911C6.116 8.36011 6.116 7.64011 5.651 7.24011L1.825 4.12111ZM7.825 4.12111C7.501 3.84411 7 4.07411 7 4.50111V11.4991C7 11.9261 7.501 12.1561 7.825 11.8791L11.651 8.75911C12.117 8.36011 12.117 7.64011 11.651 7.24011L7.825 4.12111Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
838
911
|
fileAdd: [{ d: "M3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H8.33276C8.55486 15.0601 8.88043 15.568 9.28588 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08579C9.54992 0 9.99504 0.184375 10.3232 0.512563L13.4874 3.67678C13.8156 4.00497 14 4.45008 14 4.91421V8.16619C13.6017 8.05783 13.1826 8 12.75 8C12.6661 8 12.5828 8.00217 12.5 8.00647V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 1.81066L12.1893 4.5H9.75C9.61193 4.5 9.5 4.38807 9.5 4.25V1.81066ZM12.75 9.49994C13.1642 9.49994 13.5 9.83573 13.5 10.2499V11.9999H15.25C15.6642 11.9999 16 12.3357 16 12.7499C16 13.1642 15.6642 13.4999 15.25 13.4999H13.5V15.2499C13.5 15.6642 13.1642 15.9999 12.75 15.9999C12.3358 15.9999 12 15.6642 12 15.2499V13.4999H10.25C9.83579 13.4999 9.5 13.1642 9.5 12.7499C9.5 12.3357 9.83579 11.9999 10.25 11.9999H12V10.2499C12 9.83573 12.3358 9.49994 12.75 9.49994Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
912
|
+
fileArchive: [{ d: "M9.08594 0C9.55001 4.00268e-05 9.99509 0.184542 10.3232 0.512695L13.4873 3.67676C13.8155 4.00491 14 4.44999 14 4.91406V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08594ZM7 1.5C7 1.77614 6.77614 2 6.5 2H6V3H6.5C6.77614 3 7 3.22386 7 3.5C7 3.77614 6.77614 4 6.5 4H6V5H6.5C6.77614 5 7 5.22386 7 5.5C7 5.77614 6.77614 6 6.5 6H6V7H6.5C6.77614 7 7 7.22386 7 7.5V11C7 11.5523 6.55228 12 6 12H5C4.44772 12 4 11.5523 4 11V8.5C4 8.22386 4.22386 8 4.5 8H5V7H4.5C4.22386 7 4 6.77614 4 6.5C4 6.22386 4.22386 6 4.5 6H5V5H4.5C4.22386 5 4 4.77614 4 4.5C4 4.22386 4.22386 4 4.5 4H5V3H4.5C4.22386 3 4 2.77614 4 2.5C4 2.22386 4.22386 2 4.5 2H5V1.5H3.75C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H7ZM5 11H6V10H5V11ZM9.5 4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1895L9.5 1.81055V4.25Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
839
913
|
fileAudio: [{ d: "M11.5 4C11.7761 4 12 4.22386 12 4.5V6C12 6.27614 11.7761 6.5 11.5 6.5H9V10C9 11.1046 8.10457 12 7 12C5.89543 12 5 11.1046 5 10C5 8.89543 5.89543 8 7 8C7.36429 8 7.70583 8.09741 8 8.26758V4.5C8 4.22386 8.22386 4 8.5 4H11.5Z", fillRule: "", clipRule: "" }, { d: "M13 1C14.1046 1 15 1.89543 15 3V13C15 14.0357 14.2128 14.887 13.2041 14.9893L13 15H3L2.7959 14.9893C1.85435 14.8938 1.1062 14.1457 1.01074 13.2041L1 13V3C1 1.89543 1.89543 1 3 1H13ZM3 2.5C2.72386 2.5 2.5 2.72386 2.5 3V13C2.5 13.2761 2.72386 13.5 3 13.5H13C13.2761 13.5 13.5 13.2761 13.5 13V3C13.5 2.72386 13.2761 2.5 13 2.5H3Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
840
914
|
fileBlueprint: [{ d: "M6.5 13.5H5C4.72386 13.5 4.5 13.2761 4.5 13V10H6.5V13.5Z", fillRule: "", clipRule: "" }, { d: "M11.5 13C11.5 13.2761 11.2761 13.5 11 13.5H7.5V10H11.5V13Z", fillRule: "", clipRule: "" }, { d: "M11 7C11.2761 7 11.5 7.22386 11.5 7.5V9H4.5V7.5C4.5 7.22386 4.72386 7 5 7H11Z", fillRule: "", clipRule: "" }, { d: "M9.08594 0C9.55001 4.00268e-05 9.99509 0.184542 10.3232 0.512695L13.4873 3.67676C13.8155 4.00491 14 4.44999 14 4.91406V14.25C14 15.2165 13.2165 16 12.25 16H3.75C2.7835 16 2 15.2165 2 14.25V1.75C2 0.783502 2.7835 0 3.75 0H9.08594ZM3.75 1.5C3.61193 1.5 3.5 1.61193 3.5 1.75V14.25C3.5 14.3881 3.61193 14.5 3.75 14.5H12.25C12.3881 14.5 12.5 14.3881 12.5 14.25V6H9.75C8.7835 6 8 5.2165 8 4.25V1.5H3.75ZM9.5 4.25C9.5 4.38807 9.61193 4.5 9.75 4.5H12.1895L9.5 1.81055V4.25Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
841
915
|
fileBrush: [{ d: "M9.0859 0C9.54998 4.00266e-05 9.99505 0.184542 10.3232 0.512693L13.4873 3.67674C13.8154 4.0049 13.9999 4.44997 13.9999 4.91404V5.99998H9.74996C8.78347 5.99998 7.99997 5.21648 7.99997 4.24998V1.49999H3.74999C3.61192 1.49999 3.49999 1.61192 3.49999 1.74999V14.2499C3.49999 14.388 3.61191 14.4999 3.74999 14.4999H5.99998V15.9999H3.74999C2.78349 15.9999 1.99999 15.2164 1.99999 14.2499V1.74999C1.99999 0.783499 2.78349 0 3.74999 0H9.0859ZM9.49996 4.24998C9.49996 4.38805 9.61189 4.49998 9.74996 4.49998H12.1894L9.49996 1.81054V4.24998Z", fillRule: "evenodd", clipRule: "evenodd" }, { d: "M14.5595 13.7187C14.6934 13.8369 14.8013 13.9813 14.8769 14.1425C14.9526 14.3039 14.9941 14.4793 14.999 14.6572C15.0052 14.835 14.9745 15.012 14.9091 15.1777C14.8436 15.3435 14.7446 15.4947 14.6181 15.621C14.49 15.7474 14.3372 15.8461 14.1689 15.9111C14.0005 15.9761 13.8201 16.0062 13.6396 15.999C13.4615 15.9933 13.2863 15.9519 13.1249 15.8769C12.9636 15.8018 12.8196 15.6946 12.7011 15.5624L9.22262 11.7246C9.2401 11.718 9.258 11.7109 9.27536 11.7041C9.6122 11.5703 9.91814 11.3691 10.1748 11.1132C10.4096 10.879 10.5989 10.6028 10.7324 10.2998L14.5595 13.7187Z", fillRule: "", clipRule: "" }, { d: "M6.39353 7.10739C6.49717 6.96797 6.6969 6.97114 6.83298 7.07907C7.42814 7.55092 7.88161 7.50655 8.30173 7.46579C8.7112 7.42607 9.08906 7.38994 9.5361 7.83688C9.72471 8.0062 9.87706 8.21226 9.98336 8.44235C10.0896 8.67233 10.1475 8.92153 10.1543 9.17477C10.1609 9.42812 10.1165 9.68063 10.0224 9.91598C9.92837 10.1513 9.78683 10.3649 9.60739 10.5439C9.42795 10.7229 9.21406 10.8635 8.97848 10.957C8.74289 11.0505 8.49062 11.0951 8.23727 11.0878C7.98397 11.0805 7.73464 11.0218 7.50485 10.915C7.33243 10.8348 7.17404 10.7283 7.03415 10.6005L6.91208 10.4775C6.00899 9.56828 5.66717 8.08514 6.39353 7.10739Z", fillRule: "", clipRule: "" }],
|
|
@@ -970,7 +1044,8 @@ const w5 = {
|
|
|
970
1044
|
sortNumberAsc: [{ d: "M13 0.750183C13 0.48015 12.8548 0.230963 12.6199 0.0977683C12.385 -0.0354263 12.0967 -0.0320632 11.8649 0.106573L9.36495 1.60225C9.00949 1.8149 8.89373 2.27545 9.10639 2.63091C9.31905 2.98636 9.7796 3.10212 10.1351 2.88946L11.5 2.07286V6.24524C11.5 6.65945 11.8358 6.99524 12.25 6.99524C12.6642 6.99524 13 6.65945 13 6.24524V0.750183ZM11.5 8C12.8807 8 14 9.11929 14 10.5V13.5C14 14.8807 12.8807 16 11.5 16C10.3672 16 9.34517 15.2472 9.03729 14.2162C8.91876 13.8193 9.14443 13.4014 9.54132 13.2829C9.93822 13.1644 10.356 13.39 10.4746 13.7869C10.5979 14.2001 11.0484 14.5 11.5 14.5C12.0523 14.5 12.5 14.0523 12.5 13.5V12.792C12.1938 12.9258 11.8556 13 11.5 13C10.1193 13 9 11.8807 9 10.5C9 9.11929 10.1193 8 11.5 8ZM11.5 9.5C10.9477 9.5 10.5 9.94772 10.5 10.5C10.5 11.0523 10.9477 11.5 11.5 11.5C12.0523 11.5 12.5 11.0523 12.5 10.5C12.5 9.94772 12.0523 9.5 11.5 9.5ZM2.75 8C3.16421 8 3.5 8.33579 3.5 8.75L3.5 13.4393L4.21967 12.7197C4.51256 12.4268 4.98743 12.4268 5.28033 12.7197C5.57322 13.0126 5.57322 13.4874 5.28033 13.7803L3.28034 15.7803C3.27008 15.7906 3.25955 15.8005 3.24877 15.8101C3.11623 15.9282 2.94149 16 2.75 16C2.54172 16 2.35327 15.9151 2.21737 15.778L0.219671 13.7803C-0.0732227 13.4874 -0.0732239 13.0126 0.219669 12.7197C0.512561 12.4268 0.987435 12.4268 1.28033 12.7197L2 13.4393L2 8.75C2 8.33579 2.33579 8 2.75 8Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
971
1045
|
sortNumberDes: [{ d: "M9 2.5C9 1.11929 10.1193 0 11.5 0C12.8807 0 14 1.11929 14 2.5L14 5.50002C14 6.88073 12.8807 8.00002 11.5 8.00002C10.3672 8.00002 9.34109 7.23217 9.0332 6.20117C8.91468 5.80428 9.14034 5.38645 9.53724 5.26792C9.93413 5.1494 10.352 5.37506 10.4705 5.77196C10.5939 6.18511 11.0484 6.50002 11.5 6.50002C12.0523 6.50002 12.5 6.0523 12.5 5.50002V4.79198C12.1938 4.92578 11.8556 5 11.5 5C10.1193 5 9 3.88071 9 2.5ZM11.5 1.5C10.9477 1.5 10.5 1.94772 10.5 2.5C10.5 3.05228 10.9477 3.5 11.5 3.5C12.0523 3.5 12.5 3.05228 12.5 2.5C12.5 1.94772 12.0523 1.5 11.5 1.5ZM13 9.75018C13 9.48015 12.8548 9.23096 12.6199 9.09777C12.385 8.96457 12.0967 8.96794 11.8649 9.10657L9.36495 10.6022C9.00949 10.8149 8.89373 11.2755 9.10639 11.6309C9.31905 11.9864 9.7796 12.1021 10.1351 11.8895L11.5 11.0729V15.2452C11.5 15.6594 11.8358 15.9952 12.25 15.9952C12.6642 15.9952 13 15.6594 13 15.2452V9.75018ZM2.75 8C3.16421 8 3.5 8.33579 3.5 8.75L3.5 13.4393L4.21967 12.7197C4.51256 12.4268 4.98743 12.4268 5.28033 12.7197C5.57322 13.0126 5.57322 13.4874 5.28033 13.7803L3.28034 15.7803C3.27008 15.7906 3.25955 15.8005 3.24877 15.8101C3.11623 15.9282 2.94149 16 2.75 16C2.54172 16 2.35327 15.9151 2.21737 15.778L0.219671 13.7803C-0.0732227 13.4874 -0.0732239 13.0126 0.219669 12.7197C0.512561 12.4268 0.987435 12.4268 1.28033 12.7197L2 13.4393L2 8.75C2 8.33579 2.33579 8 2.75 8Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
972
1046
|
spacer: [{ d: "M0 0.75C0 0.335786 0.335786 0 0.75 0H15.25C15.6642 0 16 0.335786 16 0.75C16 1.16421 15.6642 1.5 15.25 1.5H0.75C0.335786 1.5 0 1.16421 0 0.75Z M7.46967 3.21967C7.76256 2.92678 8.23744 2.92678 8.53033 3.21967L10.7809 5.47022C11.0738 5.76311 11.0738 6.23799 10.7809 6.53088C10.488 6.82377 10.0131 6.82377 9.72022 6.53088L8.75 5.56066V10.4393L9.71943 9.46991C10.0123 9.17702 10.4872 9.17702 10.7801 9.46991C11.073 9.76281 11.073 10.2377 10.7801 10.5306L8.53033 12.7803C8.23744 13.0732 7.76256 13.0732 7.46967 12.7803L5.21991 10.5306C4.92702 10.2377 4.92702 9.76281 5.21991 9.46991C5.51281 9.17702 5.98768 9.17702 6.28057 9.46991L7.25 10.4393L7.25 5.56066L6.27978 6.53088C5.98689 6.82377 5.51201 6.82377 5.21912 6.53088C4.92623 6.23799 4.92623 5.76311 5.21912 5.47022L7.46967 3.21967Z M0.75 14.5C0.335786 14.5 0 14.8358 0 15.25C0 15.6642 0.335786 16 0.75 16H15.25C15.6642 16 16 15.6642 16 15.25C16 14.8358 15.6642 14.5 15.25 14.5H0.75Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
973
|
-
|
|
1047
|
+
sparkle: [{ d: "M6.92295 1.75171C7.29122 0.749431 8.70878 0.749428 9.07705 1.75171L10.2835 5.03519C10.3996 5.35127 10.6487 5.60037 10.9648 5.7165L14.2483 6.92295C15.2506 7.29122 15.2506 8.70878 14.2483 9.07705L10.9648 10.2835C10.6487 10.3996 10.3996 10.6487 10.2835 10.9648L9.07705 14.2483C8.70878 15.2506 7.29122 15.2506 6.92295 14.2483L5.7165 10.9648C5.60037 10.6487 5.35127 10.3996 5.0352 10.2835L1.75171 9.07705C0.749431 8.70878 0.749428 7.29122 1.75171 6.92295L5.03519 5.7165C5.35127 5.60037 5.60037 5.35127 5.7165 5.0352L6.92295 1.75171Z", fillRule: "", clipRule: "" }],
|
|
1048
|
+
sparkles: [{ d: "M4.76056 5.23522C5.08842 4.35033 6.33989 4.35037 6.66779 5.23522L7.61213 7.78698C7.71514 8.06537 7.93529 8.28454 8.21369 8.38756L10.7645 9.3319C11.65 9.65956 11.65 10.9124 10.7645 11.2401L8.21369 12.1844C7.93529 12.2875 7.71514 12.5066 7.61213 12.785L6.66779 15.3368C6.33994 16.2218 5.08838 16.2218 4.76056 15.3368L3.81623 12.785C3.71326 12.5067 3.49386 12.2875 3.21564 12.1844L0.663885 11.2401C-0.22162 10.9124 -0.22162 9.65956 0.663885 9.3319L3.21564 8.38756C3.49384 8.28448 3.71326 8.06523 3.81623 7.78698L4.76056 5.23522ZM11.9666 0.410999C12.1832 -0.137345 12.96 -0.137305 13.1766 0.410999L13.7547 1.87877C13.8207 2.04615 13.9536 2.17884 14.1209 2.24498L15.5887 2.82408C16.1374 3.04051 16.1374 3.81664 15.5887 4.03307L14.1209 4.61217C13.9536 4.67831 13.8207 4.81099 13.7547 4.97838L13.1766 6.44615C12.96 6.99456 12.1831 6.9946 11.9666 6.44615L11.3885 4.97838C11.3225 4.81094 11.1897 4.67829 11.0223 4.61217L9.55451 4.03307C9.00591 3.81659 9.00589 3.04054 9.55451 2.82408L11.0223 2.24498C11.1897 2.17886 11.3225 2.0462 11.3885 1.87877L11.9666 0.410999Z", fillRule: "", clipRule: "" }],
|
|
974
1049
|
square: [{ d: "M3 5C3 3.89543 3.89543 3 5 3H11C12.1046 3 13 3.89543 13 5V11C13 12.1046 12.1046 13 11 13H5C3.89543 13 3 12.1046 3 11V5Z", fillRule: "", clipRule: "" }],
|
|
975
1050
|
stack: [{ d: "M1 2.75C1 2.33579 1.33579 2 1.75 2H14.25C14.6642 2 15 2.33579 15 2.75C15 3.16421 14.6642 3.5 14.25 3.5H1.75C1.33579 3.5 1 3.16421 1 2.75Z M1 13.25C1 12.8358 1.33579 12.5 1.75 12.5H14.25C14.6642 12.5 15 12.8358 15 13.25C15 13.6642 14.6642 14 14.25 14H1.75C1.33579 14 1 13.6642 1 13.25Z M5 6C4.44772 6 4 6.44772 4 7V9C4 9.55228 4.44772 10 5 10H11C11.5523 10 12 9.55228 12 9V7C12 6.44772 11.5523 6 11 6H5Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
976
1051
|
star: [{ d: "M7.54282 0.311683C7.71382 -0.09893 8.29552 -0.0989301 8.46651 0.311683L10.3776 4.90063C10.4479 5.0695 10.6048 5.18652 10.7867 5.2058L15.5565 5.71138C15.9818 5.75646 16.1581 6.27988 15.8467 6.5731L12.232 9.97719C12.1056 10.0962 12.05 10.2723 12.085 10.4423L13.1079 15.409C13.1963 15.8384 12.7287 16.1658 12.3554 15.9358L8.26709 13.417C8.10619 13.3178 7.90315 13.3178 7.74224 13.417L3.65391 15.9358C3.28059 16.1658 2.81303 15.8384 2.90147 15.409L3.92434 10.4423C3.95936 10.2723 3.90372 10.0962 3.77732 9.97719L0.162618 6.5731C-0.148747 6.27988 0.0275558 5.75646 0.452875 5.71138L5.22267 5.2058C5.40457 5.18652 5.56145 5.0695 5.63178 4.90063L7.54282 0.311683Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
@@ -1031,18 +1106,18 @@ const w5 = {
|
|
|
1031
1106
|
zoomOut: [{ d: "M4.5 6.25C4.08579 6.25 3.75 6.58579 3.75 7C3.75 7.41421 4.08579 7.75 4.5 7.75H9.5C9.91421 7.75 10.25 7.41421 10.25 7C10.25 6.58579 9.91421 6.25 9.5 6.25H4.5ZM7 14C8.57591 14 10.0302 13.4792 11.2001 12.6004C11.2281 12.6376 11.259 12.6733 11.2929 12.7071L14.2929 15.7071C14.6834 16.0976 15.3166 16.0976 15.7071 15.7071C16.0976 15.3166 16.0976 14.6834 15.7071 14.2929L12.7071 11.2929C12.6733 11.259 12.6376 11.2281 12.6004 11.2001C13.4792 10.0302 14 8.57591 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM7 12.5C10.0376 12.5 12.5 10.0376 12.5 7C12.5 3.96243 10.0376 1.5 7 1.5C3.96243 1.5 1.5 3.96243 1.5 7C1.5 10.0376 3.96243 12.5 7 12.5Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
1032
1107
|
zz: [{ d: "M9.75 1.02686C9.33579 1.02686 9 1.36264 9 1.77686C9 2.19107 9.33579 2.52686 9.75 2.52686H12.8186L9.13336 7.84995C8.97457 8.07931 8.9562 8.37784 9.08567 8.62494C9.21513 8.87203 9.47104 9.02686 9.75 9.02686H14.25C14.6642 9.02686 15 8.69107 15 8.27686C15 7.86264 14.6642 7.52686 14.25 7.52686H11.1814L14.8666 2.20376C15.0254 1.97441 15.0438 1.67587 14.9143 1.42878C14.7849 1.18168 14.529 1.02686 14.25 1.02686H9.75ZM1.75 7.02686C1.33579 7.02686 1 7.36264 1 7.77686C1 8.19107 1.33579 8.52686 1.75 8.52686H4.81858L1.13336 13.8499C0.974572 14.0793 0.956201 14.3778 1.08567 14.6249C1.21513 14.872 1.47104 15.0269 1.75 15.0269H6.25C6.66422 15.0269 7 14.6911 7 14.2769C7 13.8626 6.66422 13.5269 6.25 13.5269H3.18143L6.86665 8.20376C7.02543 7.97441 7.0438 7.67587 6.91434 7.42878C6.78487 7.18168 6.52896 7.02686 6.25 7.02686H1.75Z", fillRule: "evenodd", clipRule: "evenodd" }]
|
|
1033
1108
|
};
|
|
1034
|
-
var
|
|
1109
|
+
var S4 = Object.defineProperty, X5 = (l, e, t, i) => {
|
|
1035
1110
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1036
1111
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1037
|
-
return o &&
|
|
1112
|
+
return o && S4(e, t, o), o;
|
|
1038
1113
|
};
|
|
1039
|
-
const
|
|
1114
|
+
const k2 = class k2 extends h {
|
|
1040
1115
|
constructor() {
|
|
1041
1116
|
super(...arguments), this.name = "", this.size = 16;
|
|
1042
1117
|
}
|
|
1043
1118
|
render() {
|
|
1044
|
-
const e = this.name &&
|
|
1045
|
-
return
|
|
1119
|
+
const e = this.name && $5[this.name] ? $5[this.name] : [], t = !this.name;
|
|
1120
|
+
return N1`
|
|
1046
1121
|
<svg
|
|
1047
1122
|
class=${t ? "icon--hidden" : ""}
|
|
1048
1123
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -1052,7 +1127,7 @@ const w2 = class w2 extends h {
|
|
|
1052
1127
|
viewBox="0 0 16 16"
|
|
1053
1128
|
>
|
|
1054
1129
|
${e.map(
|
|
1055
|
-
(i) =>
|
|
1130
|
+
(i) => N1`
|
|
1056
1131
|
<path
|
|
1057
1132
|
fill="currentColor"
|
|
1058
1133
|
d="${i.d}"
|
|
@@ -1064,24 +1139,24 @@ const w2 = class w2 extends h {
|
|
|
1064
1139
|
`;
|
|
1065
1140
|
}
|
|
1066
1141
|
};
|
|
1067
|
-
|
|
1142
|
+
k2.styles = g`
|
|
1068
1143
|
:host { display: block; line-height: 0; font-family: var(--font-sans); }
|
|
1069
1144
|
.icon--hidden { display: none; }
|
|
1070
1145
|
`;
|
|
1071
|
-
let
|
|
1072
|
-
|
|
1146
|
+
let Z1 = k2;
|
|
1147
|
+
X5([
|
|
1073
1148
|
C()
|
|
1074
|
-
],
|
|
1075
|
-
|
|
1149
|
+
], Z1.prototype, "name");
|
|
1150
|
+
X5([
|
|
1076
1151
|
C({ type: Number })
|
|
1077
|
-
],
|
|
1078
|
-
customElements.get("anduin-icon") || customElements.define("anduin-icon",
|
|
1079
|
-
var
|
|
1152
|
+
], Z1.prototype, "size");
|
|
1153
|
+
customElements.get("anduin-icon") || customElements.define("anduin-icon", Z1);
|
|
1154
|
+
var P4 = Object.defineProperty, F4 = (l, e, t, i) => {
|
|
1080
1155
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1081
1156
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1082
|
-
return o &&
|
|
1157
|
+
return o && P4(e, t, o), o;
|
|
1083
1158
|
};
|
|
1084
|
-
const
|
|
1159
|
+
const K5 = g`
|
|
1085
1160
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1086
1161
|
.badge {
|
|
1087
1162
|
border-radius: 9999px;
|
|
@@ -1108,7 +1183,7 @@ const W5 = g`
|
|
|
1108
1183
|
.badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
|
|
1109
1184
|
.badge--hidden { display: none; }
|
|
1110
1185
|
`;
|
|
1111
|
-
function
|
|
1186
|
+
function J5(l) {
|
|
1112
1187
|
return {
|
|
1113
1188
|
gray: "badge--light-gray",
|
|
1114
1189
|
primary: "badge--light-primary",
|
|
@@ -1122,27 +1197,27 @@ function G5(l) {
|
|
|
1122
1197
|
boldDanger: "badge--bold-danger"
|
|
1123
1198
|
}[l || "gray"] || "badge--light-gray";
|
|
1124
1199
|
}
|
|
1125
|
-
const
|
|
1200
|
+
const $2 = class $2 extends h {
|
|
1126
1201
|
constructor() {
|
|
1127
1202
|
super(...arguments), this.variant = "gray";
|
|
1128
1203
|
}
|
|
1129
1204
|
render() {
|
|
1130
|
-
const e =
|
|
1205
|
+
const e = J5(this.variant);
|
|
1131
1206
|
return s`<div class="badge ${e}" part="badge"><slot></slot></div>`;
|
|
1132
1207
|
}
|
|
1133
1208
|
};
|
|
1134
|
-
|
|
1135
|
-
let
|
|
1136
|
-
|
|
1209
|
+
$2.styles = [K5];
|
|
1210
|
+
let j1 = $2;
|
|
1211
|
+
F4([
|
|
1137
1212
|
C()
|
|
1138
|
-
],
|
|
1139
|
-
customElements.get("anduin-badge") || customElements.define("anduin-badge",
|
|
1140
|
-
var
|
|
1213
|
+
], j1.prototype, "variant");
|
|
1214
|
+
customElements.get("anduin-badge") || customElements.define("anduin-badge", j1);
|
|
1215
|
+
var O4 = Object.defineProperty, Q5 = (l, e, t, i) => {
|
|
1141
1216
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1142
1217
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1143
|
-
return o &&
|
|
1218
|
+
return o && O4(e, t, o), o;
|
|
1144
1219
|
};
|
|
1145
|
-
const
|
|
1220
|
+
const E2 = class E2 extends h {
|
|
1146
1221
|
constructor() {
|
|
1147
1222
|
super(...arguments), this.variant = "gray", this.count = 0;
|
|
1148
1223
|
}
|
|
@@ -1150,7 +1225,7 @@ const k2 = class k2 extends h {
|
|
|
1150
1225
|
return e > 99 ? "99+" : e.toString();
|
|
1151
1226
|
}
|
|
1152
1227
|
render() {
|
|
1153
|
-
const e =
|
|
1228
|
+
const e = J5(this.variant), t = this.count === 0, i = this.count > 0 && this.count < 10, o = [
|
|
1154
1229
|
"badge",
|
|
1155
1230
|
e,
|
|
1156
1231
|
t ? "badge--hidden" : "",
|
|
@@ -1159,24 +1234,24 @@ const k2 = class k2 extends h {
|
|
|
1159
1234
|
return s`<div class="${o}" part="badge">${this.formatCount(this.count)}</div>`;
|
|
1160
1235
|
}
|
|
1161
1236
|
};
|
|
1162
|
-
|
|
1163
|
-
let
|
|
1164
|
-
|
|
1237
|
+
E2.styles = [K5];
|
|
1238
|
+
let _1 = E2;
|
|
1239
|
+
Q5([
|
|
1165
1240
|
C()
|
|
1166
|
-
],
|
|
1167
|
-
|
|
1241
|
+
], _1.prototype, "variant");
|
|
1242
|
+
Q5([
|
|
1168
1243
|
C({ type: Number })
|
|
1169
|
-
],
|
|
1170
|
-
customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count",
|
|
1171
|
-
var
|
|
1244
|
+
], _1.prototype, "count");
|
|
1245
|
+
customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", _1);
|
|
1246
|
+
var D4 = Object.defineProperty, _ = (l, e, t, i) => {
|
|
1172
1247
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1173
1248
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1174
|
-
return o &&
|
|
1249
|
+
return o && D4(e, t, o), o;
|
|
1175
1250
|
};
|
|
1176
|
-
function
|
|
1251
|
+
function I4(l) {
|
|
1177
1252
|
return l.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
|
|
1178
1253
|
}
|
|
1179
|
-
const
|
|
1254
|
+
const A2 = class A2 extends h {
|
|
1180
1255
|
constructor() {
|
|
1181
1256
|
super(...arguments), this.iconOnly = !1, this.appearance = "filled", this.variant = "", this.size = "medium", this.disabled = !1, this.loading = !1, this.fullWidth = !1, this.pill = !1, this.selected = !1, this.href = "", this.openNewTab = !1, this.download = "", this.startIcon = "", this.endIcon = "", this.label = "";
|
|
1182
1257
|
}
|
|
@@ -1193,7 +1268,7 @@ const $2 = class $2 extends h {
|
|
|
1193
1268
|
return this.variant ? this.variant : this.appearance === "filled" ? "gray0" : this.appearance === "text" ? "primary" : "gray9";
|
|
1194
1269
|
}
|
|
1195
1270
|
getSizeKebab() {
|
|
1196
|
-
return
|
|
1271
|
+
return I4(this.size);
|
|
1197
1272
|
}
|
|
1198
1273
|
iconSize() {
|
|
1199
1274
|
return this.size === "tiny" || this.size === "extraSmall" || this.size === "small" ? "12" : "16";
|
|
@@ -1237,7 +1312,7 @@ const $2 = class $2 extends h {
|
|
|
1237
1312
|
`;
|
|
1238
1313
|
}
|
|
1239
1314
|
};
|
|
1240
|
-
|
|
1315
|
+
A2.styles = g`
|
|
1241
1316
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1242
1317
|
:host([full-width]) { display: block; width: 100%; }
|
|
1243
1318
|
.button {
|
|
@@ -1339,7 +1414,7 @@ $2.styles = g`
|
|
|
1339
1414
|
.button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
|
|
1340
1415
|
.button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
|
|
1341
1416
|
`;
|
|
1342
|
-
let b =
|
|
1417
|
+
let b = A2;
|
|
1343
1418
|
_([
|
|
1344
1419
|
M()
|
|
1345
1420
|
], b.prototype, "iconOnly");
|
|
@@ -1386,12 +1461,12 @@ _([
|
|
|
1386
1461
|
C()
|
|
1387
1462
|
], b.prototype, "label");
|
|
1388
1463
|
customElements.get("anduin-button") || customElements.define("anduin-button", b);
|
|
1389
|
-
var
|
|
1464
|
+
var T4 = Object.defineProperty, N4 = (l, e, t, i) => {
|
|
1390
1465
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1391
1466
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1392
|
-
return o &&
|
|
1467
|
+
return o && T4(e, t, o), o;
|
|
1393
1468
|
};
|
|
1394
|
-
const
|
|
1469
|
+
const B2 = class B2 extends h {
|
|
1395
1470
|
constructor() {
|
|
1396
1471
|
super(...arguments), this.variant = "gray";
|
|
1397
1472
|
}
|
|
@@ -1404,7 +1479,7 @@ const E2 = class E2 extends h {
|
|
|
1404
1479
|
`;
|
|
1405
1480
|
}
|
|
1406
1481
|
};
|
|
1407
|
-
|
|
1482
|
+
B2.styles = g`
|
|
1408
1483
|
:host { display: block; font-family: var(--font-sans); }
|
|
1409
1484
|
.callout {
|
|
1410
1485
|
display: flex; align-items: center; justify-content: center;
|
|
@@ -1416,17 +1491,17 @@ E2.styles = g`
|
|
|
1416
1491
|
.callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
|
|
1417
1492
|
.callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
|
|
1418
1493
|
`;
|
|
1419
|
-
let
|
|
1420
|
-
|
|
1494
|
+
let U1 = B2;
|
|
1495
|
+
N4([
|
|
1421
1496
|
C()
|
|
1422
|
-
],
|
|
1423
|
-
customElements.get("anduin-callout") || customElements.define("anduin-callout",
|
|
1424
|
-
var
|
|
1497
|
+
], U1.prototype, "variant");
|
|
1498
|
+
customElements.get("anduin-callout") || customElements.define("anduin-callout", U1);
|
|
1499
|
+
var j4 = Object.defineProperty, e4 = (l, e, t, i) => {
|
|
1425
1500
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1426
1501
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1427
|
-
return o &&
|
|
1502
|
+
return o && j4(e, t, o), o;
|
|
1428
1503
|
};
|
|
1429
|
-
const
|
|
1504
|
+
const z2 = class z2 extends h {
|
|
1430
1505
|
constructor() {
|
|
1431
1506
|
super(...arguments), this.direction = "horizontal", this.hasContent = !1;
|
|
1432
1507
|
}
|
|
@@ -1457,7 +1532,7 @@ const A2 = class A2 extends h {
|
|
|
1457
1532
|
</div>` : s`<div class="divider--horizontal divider--horizontal-empty"><slot @slotchange=${this.onSlotChange}></slot></div>`;
|
|
1458
1533
|
}
|
|
1459
1534
|
};
|
|
1460
|
-
|
|
1535
|
+
z2.styles = g`
|
|
1461
1536
|
:host { display: block; width: 100%; font-family: var(--font-sans); }
|
|
1462
1537
|
:host([direction="vertical"]) { width: auto; height: 100%; }
|
|
1463
1538
|
.divider--horizontal { margin-top: 8px; margin-bottom: 8px; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 8px; text-align: center; }
|
|
@@ -1467,20 +1542,20 @@ A2.styles = g`
|
|
|
1467
1542
|
.divider--vertical-empty { background-color: var(--color-gray-3); width: 1px; }
|
|
1468
1543
|
.divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
|
|
1469
1544
|
`;
|
|
1470
|
-
let
|
|
1471
|
-
|
|
1545
|
+
let x1 = z2;
|
|
1546
|
+
e4([
|
|
1472
1547
|
C({ reflect: !0 })
|
|
1473
|
-
],
|
|
1474
|
-
|
|
1548
|
+
], x1.prototype, "direction");
|
|
1549
|
+
e4([
|
|
1475
1550
|
M()
|
|
1476
|
-
],
|
|
1477
|
-
customElements.get("anduin-divider") || customElements.define("anduin-divider",
|
|
1478
|
-
var
|
|
1551
|
+
], x1.prototype, "hasContent");
|
|
1552
|
+
customElements.get("anduin-divider") || customElements.define("anduin-divider", x1);
|
|
1553
|
+
var U4 = Object.defineProperty, q4 = (l, e, t, i) => {
|
|
1479
1554
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1480
1555
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1481
|
-
return o &&
|
|
1556
|
+
return o && U4(e, t, o), o;
|
|
1482
1557
|
};
|
|
1483
|
-
const
|
|
1558
|
+
const S2 = class S2 extends h {
|
|
1484
1559
|
constructor() {
|
|
1485
1560
|
super(...arguments), this.variant = "gray";
|
|
1486
1561
|
}
|
|
@@ -1488,7 +1563,7 @@ const B2 = class B2 extends h {
|
|
|
1488
1563
|
return s`<div class="dot dot--${this.variant}" part="dot"></div>`;
|
|
1489
1564
|
}
|
|
1490
1565
|
};
|
|
1491
|
-
|
|
1566
|
+
S2.styles = g`
|
|
1492
1567
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1493
1568
|
.dot { width: 10px; height: 10px; border-radius: 9999px; }
|
|
1494
1569
|
.dot--gray { background-color: var(--color-semantic-gray-6); color: var(--color-semantic-gray-0); }
|
|
@@ -1497,17 +1572,17 @@ B2.styles = g`
|
|
|
1497
1572
|
.dot--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
|
|
1498
1573
|
.dot--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
|
|
1499
1574
|
`;
|
|
1500
|
-
let
|
|
1501
|
-
|
|
1575
|
+
let q1 = S2;
|
|
1576
|
+
q4([
|
|
1502
1577
|
C()
|
|
1503
|
-
],
|
|
1504
|
-
customElements.get("anduin-dot") || customElements.define("anduin-dot",
|
|
1505
|
-
var
|
|
1578
|
+
], q1.prototype, "variant");
|
|
1579
|
+
customElements.get("anduin-dot") || customElements.define("anduin-dot", q1);
|
|
1580
|
+
var W4 = Object.defineProperty, t4 = (l, e, t, i) => {
|
|
1506
1581
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1507
1582
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1508
|
-
return o &&
|
|
1583
|
+
return o && W4(e, t, o), o;
|
|
1509
1584
|
};
|
|
1510
|
-
const
|
|
1585
|
+
const P2 = class P2 extends h {
|
|
1511
1586
|
constructor() {
|
|
1512
1587
|
super(...arguments), this.percent = "", this.height = "medium";
|
|
1513
1588
|
}
|
|
@@ -1523,7 +1598,7 @@ const z2 = class z2 extends h {
|
|
|
1523
1598
|
`;
|
|
1524
1599
|
}
|
|
1525
1600
|
};
|
|
1526
|
-
|
|
1601
|
+
P2.styles = g`
|
|
1527
1602
|
:host { display: block; font-family: var(--font-sans); }
|
|
1528
1603
|
.progress { overflow-x: hidden; position: relative; border-radius: 9999px; }
|
|
1529
1604
|
.progress__fill {
|
|
@@ -1539,20 +1614,20 @@ z2.styles = g`
|
|
|
1539
1614
|
to { transform: translateX(330%); }
|
|
1540
1615
|
}
|
|
1541
1616
|
`;
|
|
1542
|
-
let
|
|
1543
|
-
|
|
1617
|
+
let w1 = P2;
|
|
1618
|
+
t4([
|
|
1544
1619
|
C()
|
|
1545
|
-
],
|
|
1546
|
-
|
|
1620
|
+
], w1.prototype, "percent");
|
|
1621
|
+
t4([
|
|
1547
1622
|
C()
|
|
1548
|
-
],
|
|
1549
|
-
customElements.get("anduin-progress") || customElements.define("anduin-progress",
|
|
1550
|
-
var
|
|
1623
|
+
], w1.prototype, "height");
|
|
1624
|
+
customElements.get("anduin-progress") || customElements.define("anduin-progress", w1);
|
|
1625
|
+
var G4 = Object.defineProperty, h1 = (l, e, t, i) => {
|
|
1551
1626
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1552
1627
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1553
|
-
return o &&
|
|
1628
|
+
return o && G4(e, t, o), o;
|
|
1554
1629
|
};
|
|
1555
|
-
const
|
|
1630
|
+
const F2 = class F2 extends h {
|
|
1556
1631
|
constructor() {
|
|
1557
1632
|
super(...arguments), this.effect = "pulse", this.shape = "rectangle", this.height = "", this.width = "100%", this.duration = 1500, this.fontSize = "";
|
|
1558
1633
|
}
|
|
@@ -1571,7 +1646,7 @@ const S2 = class S2 extends h {
|
|
|
1571
1646
|
`;
|
|
1572
1647
|
}
|
|
1573
1648
|
};
|
|
1574
|
-
|
|
1649
|
+
F2.styles = g`
|
|
1575
1650
|
:host { display: block; height: 100%; font-family: var(--font-sans); }
|
|
1576
1651
|
.skeleton { background-color: var(--color-gray-3); position: relative; overflow: hidden; }
|
|
1577
1652
|
.skeleton--circle { border-radius: 9999px; }
|
|
@@ -1590,32 +1665,32 @@ S2.styles = g`
|
|
|
1590
1665
|
0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
|
|
1591
1666
|
}
|
|
1592
1667
|
`;
|
|
1593
|
-
let
|
|
1668
|
+
let P = F2;
|
|
1594
1669
|
h1([
|
|
1595
1670
|
C()
|
|
1596
|
-
],
|
|
1671
|
+
], P.prototype, "effect");
|
|
1597
1672
|
h1([
|
|
1598
1673
|
C()
|
|
1599
|
-
],
|
|
1674
|
+
], P.prototype, "shape");
|
|
1600
1675
|
h1([
|
|
1601
1676
|
C()
|
|
1602
|
-
],
|
|
1677
|
+
], P.prototype, "height");
|
|
1603
1678
|
h1([
|
|
1604
1679
|
C()
|
|
1605
|
-
],
|
|
1680
|
+
], P.prototype, "width");
|
|
1606
1681
|
h1([
|
|
1607
1682
|
C({ type: Number })
|
|
1608
|
-
],
|
|
1683
|
+
], P.prototype, "duration");
|
|
1609
1684
|
h1([
|
|
1610
1685
|
C({ attribute: "font-size" })
|
|
1611
|
-
],
|
|
1612
|
-
customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton",
|
|
1613
|
-
var
|
|
1686
|
+
], P.prototype, "fontSize");
|
|
1687
|
+
customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", P);
|
|
1688
|
+
var Y4 = Object.defineProperty, X4 = (l, e, t, i) => {
|
|
1614
1689
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1615
1690
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1616
|
-
return o &&
|
|
1691
|
+
return o && Y4(e, t, o), o;
|
|
1617
1692
|
};
|
|
1618
|
-
const
|
|
1693
|
+
const O2 = class O2 extends h {
|
|
1619
1694
|
constructor() {
|
|
1620
1695
|
super(...arguments), this.height = "256px";
|
|
1621
1696
|
}
|
|
@@ -1630,28 +1705,28 @@ const F2 = class F2 extends h {
|
|
|
1630
1705
|
`;
|
|
1631
1706
|
}
|
|
1632
1707
|
};
|
|
1633
|
-
|
|
1708
|
+
O2.styles = g`
|
|
1634
1709
|
:host { display: block; height: 100%; font-family: var(--font-sans); }
|
|
1635
1710
|
.loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
|
|
1636
1711
|
.loading-state__indicator { color: var(--color-primary-4); }
|
|
1637
1712
|
.loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-gray-6); }
|
|
1638
1713
|
`;
|
|
1639
|
-
let
|
|
1640
|
-
|
|
1714
|
+
let W1 = O2;
|
|
1715
|
+
X4([
|
|
1641
1716
|
C()
|
|
1642
|
-
],
|
|
1643
|
-
customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state",
|
|
1644
|
-
var
|
|
1717
|
+
], W1.prototype, "height");
|
|
1718
|
+
customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", W1);
|
|
1719
|
+
var K4 = Object.defineProperty, Z2 = (l, e, t, i) => {
|
|
1645
1720
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1646
1721
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1647
|
-
return o &&
|
|
1722
|
+
return o && K4(e, t, o), o;
|
|
1648
1723
|
};
|
|
1649
|
-
const
|
|
1724
|
+
const o4 = "anduin-field:label-click", v1 = "anduin-field:label-click-coordinated", D2 = class D2 extends h {
|
|
1650
1725
|
constructor() {
|
|
1651
1726
|
super(...arguments), this.orientation = "vertical";
|
|
1652
1727
|
}
|
|
1653
1728
|
connectedCallback() {
|
|
1654
|
-
super.connectedCallback(), this.addEventListener(
|
|
1729
|
+
super.connectedCallback(), this.addEventListener(o4, (e) => {
|
|
1655
1730
|
const t = e;
|
|
1656
1731
|
this.dispatchEvent(new CustomEvent(v1, {
|
|
1657
1732
|
detail: t.detail,
|
|
@@ -1669,17 +1744,17 @@ const J5 = "anduin-field:label-click", v1 = "anduin-field:label-click-coordinate
|
|
|
1669
1744
|
`;
|
|
1670
1745
|
}
|
|
1671
1746
|
};
|
|
1672
|
-
|
|
1747
|
+
D2.styles = g`
|
|
1673
1748
|
:host { display: block; font-family: var(--font-sans); }
|
|
1674
1749
|
.field { display: flex; flex-wrap: wrap; }
|
|
1675
1750
|
.field--vertical { flex-direction: column; row-gap: 4px; }
|
|
1676
1751
|
.field--horizontal { column-gap: 4px; }
|
|
1677
1752
|
`;
|
|
1678
|
-
let
|
|
1679
|
-
|
|
1753
|
+
let G1 = D2;
|
|
1754
|
+
Z2([
|
|
1680
1755
|
C()
|
|
1681
|
-
],
|
|
1682
|
-
const
|
|
1756
|
+
], G1.prototype, "orientation");
|
|
1757
|
+
const I2 = class I2 extends h {
|
|
1683
1758
|
constructor() {
|
|
1684
1759
|
super(...arguments), this.htmlfor = "", this.required = !1;
|
|
1685
1760
|
}
|
|
@@ -1687,7 +1762,7 @@ const O2 = class O2 extends h {
|
|
|
1687
1762
|
super.connectedCallback();
|
|
1688
1763
|
}
|
|
1689
1764
|
onLabelClick(e) {
|
|
1690
|
-
this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(
|
|
1765
|
+
this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(o4, {
|
|
1691
1766
|
detail: this.htmlfor,
|
|
1692
1767
|
bubbles: !0,
|
|
1693
1768
|
composed: !0
|
|
@@ -1706,59 +1781,59 @@ const O2 = class O2 extends h {
|
|
|
1706
1781
|
`;
|
|
1707
1782
|
}
|
|
1708
1783
|
};
|
|
1709
|
-
|
|
1784
|
+
I2.styles = g`
|
|
1710
1785
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1711
1786
|
.field-label { font-size: 13px; line-height: 20px; font-weight: 600; cursor: default; color: var(--color-gray-8, #101828); }
|
|
1712
1787
|
.field-label__required { color: var(--color-danger-5); }
|
|
1713
1788
|
`;
|
|
1714
|
-
let
|
|
1715
|
-
|
|
1789
|
+
let R1 = I2;
|
|
1790
|
+
Z2([
|
|
1716
1791
|
C()
|
|
1717
|
-
],
|
|
1718
|
-
|
|
1792
|
+
], R1.prototype, "htmlfor");
|
|
1793
|
+
Z2([
|
|
1719
1794
|
C({ type: Boolean })
|
|
1720
|
-
],
|
|
1721
|
-
const
|
|
1795
|
+
], R1.prototype, "required");
|
|
1796
|
+
const T2 = class T2 extends h {
|
|
1722
1797
|
render() {
|
|
1723
1798
|
return s`<div class="field-description" part="description"><slot></slot></div>`;
|
|
1724
1799
|
}
|
|
1725
1800
|
};
|
|
1726
|
-
|
|
1801
|
+
T2.styles = g`
|
|
1727
1802
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1728
1803
|
.field-description { display: block; line-height: 16px; font-size: 11px; color: var(--color-gray-7); }
|
|
1729
1804
|
`;
|
|
1730
|
-
let
|
|
1731
|
-
const
|
|
1805
|
+
let n2 = T2;
|
|
1806
|
+
const N2 = class N2 extends h {
|
|
1732
1807
|
render() {
|
|
1733
1808
|
return s`<div class="field-error" part="error"><slot></slot></div>`;
|
|
1734
1809
|
}
|
|
1735
1810
|
};
|
|
1736
|
-
|
|
1811
|
+
N2.styles = g`
|
|
1737
1812
|
:host { display: block; font-family: var(--font-sans); }
|
|
1738
1813
|
.field-error { color: var(--color-danger-4); }
|
|
1739
1814
|
`;
|
|
1740
|
-
let
|
|
1741
|
-
const
|
|
1815
|
+
let C2 = N2;
|
|
1816
|
+
const j2 = class j2 extends h {
|
|
1742
1817
|
render() {
|
|
1743
1818
|
return s`<div class="field-group" part="group"><slot></slot></div>`;
|
|
1744
1819
|
}
|
|
1745
1820
|
};
|
|
1746
|
-
|
|
1821
|
+
j2.styles = g`
|
|
1747
1822
|
:host { display: block; font-family: var(--font-sans); }
|
|
1748
1823
|
.field-group { display: flex; flex-direction: column; row-gap: 24px; }
|
|
1749
1824
|
`;
|
|
1750
|
-
let
|
|
1751
|
-
customElements.get("anduin-field") || customElements.define("anduin-field",
|
|
1752
|
-
customElements.get("anduin-field-label") || customElements.define("anduin-field-label",
|
|
1753
|
-
customElements.get("anduin-field-description") || customElements.define("anduin-field-description",
|
|
1754
|
-
customElements.get("anduin-field-error") || customElements.define("anduin-field-error",
|
|
1755
|
-
customElements.get("anduin-field-group") || customElements.define("anduin-field-group",
|
|
1756
|
-
var
|
|
1825
|
+
let a2 = j2;
|
|
1826
|
+
customElements.get("anduin-field") || customElements.define("anduin-field", G1);
|
|
1827
|
+
customElements.get("anduin-field-label") || customElements.define("anduin-field-label", R1);
|
|
1828
|
+
customElements.get("anduin-field-description") || customElements.define("anduin-field-description", n2);
|
|
1829
|
+
customElements.get("anduin-field-error") || customElements.define("anduin-field-error", C2);
|
|
1830
|
+
customElements.get("anduin-field-group") || customElements.define("anduin-field-group", a2);
|
|
1831
|
+
var J4 = Object.defineProperty, P1 = (l, e, t, i) => {
|
|
1757
1832
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1758
1833
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1759
|
-
return o &&
|
|
1834
|
+
return o && J4(e, t, o), o;
|
|
1760
1835
|
};
|
|
1761
|
-
const
|
|
1836
|
+
const Q4 = "anduin-checkbox:change", U2 = class U2 extends h {
|
|
1762
1837
|
constructor() {
|
|
1763
1838
|
super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
|
|
1764
1839
|
}
|
|
@@ -1771,7 +1846,7 @@ const W4 = "anduin-checkbox:change", N2 = class N2 extends h {
|
|
|
1771
1846
|
});
|
|
1772
1847
|
}
|
|
1773
1848
|
toggle() {
|
|
1774
|
-
this.checked = !this.checked, this.dispatchEvent(new CustomEvent(
|
|
1849
|
+
this.checked = !this.checked, this.dispatchEvent(new CustomEvent(Q4, {
|
|
1775
1850
|
detail: this.checked,
|
|
1776
1851
|
bubbles: !0,
|
|
1777
1852
|
composed: !0
|
|
@@ -1812,7 +1887,7 @@ const W4 = "anduin-checkbox:change", N2 = class N2 extends h {
|
|
|
1812
1887
|
`;
|
|
1813
1888
|
}
|
|
1814
1889
|
};
|
|
1815
|
-
|
|
1890
|
+
U2.styles = g`
|
|
1816
1891
|
:host { display: inline-flex; font-family: var(--font-sans); }
|
|
1817
1892
|
|
|
1818
1893
|
label {
|
|
@@ -1850,29 +1925,29 @@ N2.styles = g`
|
|
|
1850
1925
|
.checkbox__icon { position: absolute; inset: 0; pointer-events: none; color: var(--color-gray-4); display: flex; align-items: center; justify-content: center; }
|
|
1851
1926
|
.checkbox__icon--visible { color: var(--color-gray-0); }
|
|
1852
1927
|
`;
|
|
1853
|
-
let U =
|
|
1854
|
-
|
|
1928
|
+
let U = U2;
|
|
1929
|
+
P1([
|
|
1855
1930
|
C({ type: Boolean })
|
|
1856
1931
|
], U.prototype, "checked");
|
|
1857
|
-
|
|
1932
|
+
P1([
|
|
1858
1933
|
C({ type: Boolean })
|
|
1859
1934
|
], U.prototype, "disabled");
|
|
1860
|
-
|
|
1935
|
+
P1([
|
|
1861
1936
|
C({ type: Boolean })
|
|
1862
1937
|
], U.prototype, "indeterminate");
|
|
1863
|
-
|
|
1938
|
+
P1([
|
|
1864
1939
|
C({ type: Boolean })
|
|
1865
1940
|
], U.prototype, "readonly");
|
|
1866
|
-
|
|
1941
|
+
P1([
|
|
1867
1942
|
C()
|
|
1868
1943
|
], U.prototype, "inputid");
|
|
1869
1944
|
customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", U);
|
|
1870
|
-
var
|
|
1945
|
+
var e3 = Object.defineProperty, A = (l, e, t, i) => {
|
|
1871
1946
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
1872
1947
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
1873
|
-
return o &&
|
|
1948
|
+
return o && e3(e, t, o), o;
|
|
1874
1949
|
};
|
|
1875
|
-
const
|
|
1950
|
+
const E5 = "anduin-input:change", t3 = "anduin-input:clear", q2 = class q2 extends h {
|
|
1876
1951
|
constructor() {
|
|
1877
1952
|
super(...arguments), this.value = "", this.size = "default", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.status = "", this.startIcon = "", this.endIcon = "", this.clearable = !1;
|
|
1878
1953
|
}
|
|
@@ -1889,7 +1964,7 @@ const R5 = "anduin-input:change", Y4 = "anduin-input:clear", j2 = class j2 exten
|
|
|
1889
1964
|
this.inputEl && this.inputEl.value !== this.value && (this.inputEl.value = this.value);
|
|
1890
1965
|
}
|
|
1891
1966
|
onInput() {
|
|
1892
|
-
this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(
|
|
1967
|
+
this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(E5, {
|
|
1893
1968
|
detail: this.value,
|
|
1894
1969
|
bubbles: !0,
|
|
1895
1970
|
composed: !0
|
|
@@ -1897,7 +1972,7 @@ const R5 = "anduin-input:change", Y4 = "anduin-input:clear", j2 = class j2 exten
|
|
|
1897
1972
|
}
|
|
1898
1973
|
onClear() {
|
|
1899
1974
|
var e;
|
|
1900
|
-
this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(
|
|
1975
|
+
this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(E5, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(t3, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
|
|
1901
1976
|
}
|
|
1902
1977
|
render() {
|
|
1903
1978
|
const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", i = !!this.startIcon, o = !!this.endIcon || this.clearable && !!this.value, r = this.clearable && !!this.value && !this.disabled && !this.readonly, n = this.size === "small" ? "12" : this.size === "large" ? "20" : "16", a = this.size === "small" ? "10" : this.size === "large" ? "16" : "14";
|
|
@@ -1941,7 +2016,7 @@ const R5 = "anduin-input:change", Y4 = "anduin-input:clear", j2 = class j2 exten
|
|
|
1941
2016
|
`;
|
|
1942
2017
|
}
|
|
1943
2018
|
};
|
|
1944
|
-
|
|
2019
|
+
q2.styles = g`
|
|
1945
2020
|
:host { display: block; font-family: var(--font-sans); }
|
|
1946
2021
|
|
|
1947
2022
|
.input-wrapper { position: relative; display: flex; align-items: center; }
|
|
@@ -1995,7 +2070,7 @@ j2.styles = g`
|
|
|
1995
2070
|
}
|
|
1996
2071
|
.input__clear:hover { color: var(--color-gray-7); }
|
|
1997
2072
|
`;
|
|
1998
|
-
let w =
|
|
2073
|
+
let w = q2;
|
|
1999
2074
|
A([
|
|
2000
2075
|
C()
|
|
2001
2076
|
], w.prototype, "value");
|
|
@@ -2030,12 +2105,12 @@ A([
|
|
|
2030
2105
|
R("input")
|
|
2031
2106
|
], w.prototype, "inputEl");
|
|
2032
2107
|
customElements.get("anduin-input") || customElements.define("anduin-input", w);
|
|
2033
|
-
var
|
|
2108
|
+
var o3 = Object.defineProperty, W = (l, e, t, i) => {
|
|
2034
2109
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
2035
2110
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
2036
|
-
return o &&
|
|
2111
|
+
return o && o3(e, t, o), o;
|
|
2037
2112
|
};
|
|
2038
|
-
const
|
|
2113
|
+
const i3 = "anduin-textarea:change", W2 = class W2 extends h {
|
|
2039
2114
|
constructor() {
|
|
2040
2115
|
super(...arguments), this.value = "", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.rows = 3, this.status = "";
|
|
2041
2116
|
}
|
|
@@ -2052,7 +2127,7 @@ const K4 = "anduin-textarea:change", U2 = class U2 extends h {
|
|
|
2052
2127
|
this.textareaEl && this.textareaEl.value !== this.value && (this.textareaEl.value = this.value);
|
|
2053
2128
|
}
|
|
2054
2129
|
onInput() {
|
|
2055
|
-
this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(
|
|
2130
|
+
this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(i3, {
|
|
2056
2131
|
detail: this.value,
|
|
2057
2132
|
bubbles: !0,
|
|
2058
2133
|
composed: !0
|
|
@@ -2077,7 +2152,7 @@ const K4 = "anduin-textarea:change", U2 = class U2 extends h {
|
|
|
2077
2152
|
`;
|
|
2078
2153
|
}
|
|
2079
2154
|
};
|
|
2080
|
-
|
|
2155
|
+
W2.styles = g`
|
|
2081
2156
|
:host { display: block; font-family: var(--font-sans); }
|
|
2082
2157
|
|
|
2083
2158
|
.textarea {
|
|
@@ -2094,7 +2169,7 @@ U2.styles = g`
|
|
|
2094
2169
|
.textarea--warning { border-color: var(--color-warning-4); }
|
|
2095
2170
|
.textarea--loading { border-color: var(--color-gray-4); }
|
|
2096
2171
|
`;
|
|
2097
|
-
let $ =
|
|
2172
|
+
let $ = W2;
|
|
2098
2173
|
W([
|
|
2099
2174
|
C()
|
|
2100
2175
|
], $.prototype, "value");
|
|
@@ -2120,20 +2195,20 @@ W([
|
|
|
2120
2195
|
R("textarea")
|
|
2121
2196
|
], $.prototype, "textareaEl");
|
|
2122
2197
|
customElements.get("anduin-textarea") || customElements.define("anduin-textarea", $);
|
|
2123
|
-
var
|
|
2198
|
+
var l3 = Object.defineProperty, k = (l, e, t, i) => {
|
|
2124
2199
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
2125
2200
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
2126
|
-
return o &&
|
|
2201
|
+
return o && l3(e, t, o), o;
|
|
2127
2202
|
};
|
|
2128
|
-
const
|
|
2203
|
+
const i4 = "anduin-tab:trigger-click", K1 = "anduin-tab:value-changed", r3 = "anduin-tab:change", G2 = class G2 extends h {
|
|
2129
2204
|
constructor() {
|
|
2130
2205
|
super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
|
|
2131
2206
|
}
|
|
2132
2207
|
connectedCallback() {
|
|
2133
|
-
super.connectedCallback(), this.addEventListener(
|
|
2208
|
+
super.connectedCallback(), this.addEventListener(i4, (e) => {
|
|
2134
2209
|
e.stopPropagation();
|
|
2135
2210
|
const t = e;
|
|
2136
|
-
this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(
|
|
2211
|
+
this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(r3, { detail: t.detail, bubbles: !0, composed: !0 }));
|
|
2137
2212
|
}), requestAnimationFrame(() => {
|
|
2138
2213
|
const e = this.value || this.defaultValue;
|
|
2139
2214
|
e && (this.value || (this.value = e), this.broadcastValueChanged(e));
|
|
@@ -2143,19 +2218,19 @@ const Q5 = "anduin-tab:trigger-click", Y1 = "anduin-tab:value-changed", Q4 = "an
|
|
|
2143
2218
|
e.has("value") && this.value && this.broadcastValueChanged(this.value);
|
|
2144
2219
|
}
|
|
2145
2220
|
broadcastValueChanged(e) {
|
|
2146
|
-
this.dispatchEvent(new CustomEvent(
|
|
2221
|
+
this.dispatchEvent(new CustomEvent(K1, { detail: e, bubbles: !1, composed: !1 }));
|
|
2147
2222
|
}
|
|
2148
2223
|
render() {
|
|
2149
2224
|
return s`<div class="tabs" part="tabs"><slot></slot></div>`;
|
|
2150
2225
|
}
|
|
2151
2226
|
};
|
|
2152
|
-
|
|
2227
|
+
G2.styles = g`
|
|
2153
2228
|
:host { display: flex; flex-direction: column; font-family: var(--font-sans); }
|
|
2154
2229
|
:host([fill]) { flex: 1; min-height: 0; --_tab-fill-flex: 1; --_tab-fill-height: 100%; }
|
|
2155
2230
|
.tabs { display: flex; flex-direction: column; width: 100%; }
|
|
2156
2231
|
:host([fill]) .tabs { flex: 1; min-height: 0; }
|
|
2157
2232
|
`;
|
|
2158
|
-
let d1 =
|
|
2233
|
+
let d1 = G2;
|
|
2159
2234
|
k([
|
|
2160
2235
|
C({ attribute: "default-value" })
|
|
2161
2236
|
], d1.prototype, "defaultValue");
|
|
@@ -2165,14 +2240,14 @@ k([
|
|
|
2165
2240
|
k([
|
|
2166
2241
|
C({ type: Boolean, reflect: !0 })
|
|
2167
2242
|
], d1.prototype, "fill");
|
|
2168
|
-
const
|
|
2243
|
+
const Y2 = class Y2 extends h {
|
|
2169
2244
|
constructor() {
|
|
2170
2245
|
super(...arguments), this.alignment = "left", this.lastActiveValue = "", this.resizeObserver = null;
|
|
2171
2246
|
}
|
|
2172
2247
|
connectedCallback() {
|
|
2173
2248
|
super.connectedCallback();
|
|
2174
2249
|
const e = this.closest("anduin-tabs");
|
|
2175
|
-
e && e.addEventListener(
|
|
2250
|
+
e && e.addEventListener(K1, (t) => {
|
|
2176
2251
|
const i = t;
|
|
2177
2252
|
this.lastActiveValue = i.detail, requestAnimationFrame(() => {
|
|
2178
2253
|
this.animateIndicator(i.detail);
|
|
@@ -2208,7 +2283,7 @@ const W2 = class W2 extends h {
|
|
|
2208
2283
|
`;
|
|
2209
2284
|
}
|
|
2210
2285
|
};
|
|
2211
|
-
|
|
2286
|
+
Y2.styles = g`
|
|
2212
2287
|
:host { display: block; font-family: var(--font-sans); }
|
|
2213
2288
|
.tabs-list {
|
|
2214
2289
|
display: flex; background-color: var(--color-gray-0);
|
|
@@ -2223,27 +2298,27 @@ W2.styles = g`
|
|
|
2223
2298
|
left: 0; height: 2px; transition-duration: 200ms; transition-property: transform, width;
|
|
2224
2299
|
}
|
|
2225
2300
|
`;
|
|
2226
|
-
let
|
|
2301
|
+
let k1 = Y2;
|
|
2227
2302
|
k([
|
|
2228
2303
|
C()
|
|
2229
|
-
],
|
|
2304
|
+
], k1.prototype, "alignment");
|
|
2230
2305
|
k([
|
|
2231
2306
|
R(".tabs-list__indicator")
|
|
2232
|
-
],
|
|
2233
|
-
const
|
|
2307
|
+
], k1.prototype, "indicator");
|
|
2308
|
+
const X2 = class X2 extends h {
|
|
2234
2309
|
constructor() {
|
|
2235
2310
|
super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.showBadge = !1, this.badgeCount = "", this.isActive = !1;
|
|
2236
2311
|
}
|
|
2237
2312
|
connectedCallback() {
|
|
2238
2313
|
super.connectedCallback();
|
|
2239
2314
|
const e = this.closest("anduin-tabs");
|
|
2240
|
-
e && e.addEventListener(
|
|
2315
|
+
e && e.addEventListener(K1, (t) => {
|
|
2241
2316
|
const i = t;
|
|
2242
2317
|
this.isActive = i.detail === this.value;
|
|
2243
2318
|
});
|
|
2244
2319
|
}
|
|
2245
2320
|
onClick() {
|
|
2246
|
-
this.dispatchEvent(new CustomEvent(
|
|
2321
|
+
this.dispatchEvent(new CustomEvent(i4, { detail: this.value, bubbles: !0, composed: !0 }));
|
|
2247
2322
|
}
|
|
2248
2323
|
render() {
|
|
2249
2324
|
return s`
|
|
@@ -2264,7 +2339,7 @@ const G2 = class G2 extends h {
|
|
|
2264
2339
|
`;
|
|
2265
2340
|
}
|
|
2266
2341
|
};
|
|
2267
|
-
|
|
2342
|
+
X2.styles = g`
|
|
2268
2343
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
2269
2344
|
.tab-trigger {
|
|
2270
2345
|
cursor: pointer; background: none; border: none; display: block;
|
|
@@ -2287,33 +2362,33 @@ G2.styles = g`
|
|
|
2287
2362
|
color: var(--color-gray-7); white-space: nowrap;
|
|
2288
2363
|
}
|
|
2289
2364
|
`;
|
|
2290
|
-
let
|
|
2365
|
+
let F = X2;
|
|
2291
2366
|
k([
|
|
2292
2367
|
C()
|
|
2293
|
-
],
|
|
2368
|
+
], F.prototype, "value");
|
|
2294
2369
|
k([
|
|
2295
2370
|
C({ attribute: "start-icon" })
|
|
2296
|
-
],
|
|
2371
|
+
], F.prototype, "startIcon");
|
|
2297
2372
|
k([
|
|
2298
2373
|
C({ type: Boolean })
|
|
2299
|
-
],
|
|
2374
|
+
], F.prototype, "disabled");
|
|
2300
2375
|
k([
|
|
2301
2376
|
C({ type: Boolean, attribute: "show-badge" })
|
|
2302
|
-
],
|
|
2377
|
+
], F.prototype, "showBadge");
|
|
2303
2378
|
k([
|
|
2304
2379
|
C({ attribute: "badge-count" })
|
|
2305
|
-
],
|
|
2380
|
+
], F.prototype, "badgeCount");
|
|
2306
2381
|
k([
|
|
2307
2382
|
M()
|
|
2308
|
-
],
|
|
2309
|
-
const
|
|
2383
|
+
], F.prototype, "isActive");
|
|
2384
|
+
const K2 = class K2 extends h {
|
|
2310
2385
|
constructor() {
|
|
2311
2386
|
super(...arguments), this.value = "", this.isActive = !1;
|
|
2312
2387
|
}
|
|
2313
2388
|
connectedCallback() {
|
|
2314
2389
|
super.connectedCallback();
|
|
2315
2390
|
const e = this.closest("anduin-tabs");
|
|
2316
|
-
e && e.addEventListener(
|
|
2391
|
+
e && e.addEventListener(K1, (t) => {
|
|
2317
2392
|
const i = t;
|
|
2318
2393
|
this.isActive = i.detail === this.value;
|
|
2319
2394
|
});
|
|
@@ -2329,28 +2404,28 @@ const Y2 = class Y2 extends h {
|
|
|
2329
2404
|
`;
|
|
2330
2405
|
}
|
|
2331
2406
|
};
|
|
2332
|
-
|
|
2407
|
+
K2.styles = g`
|
|
2333
2408
|
:host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
|
|
2334
2409
|
:host(:not([active])) { display: none; }
|
|
2335
2410
|
.tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
|
|
2336
2411
|
`;
|
|
2337
|
-
let
|
|
2412
|
+
let $1 = K2;
|
|
2338
2413
|
k([
|
|
2339
2414
|
C()
|
|
2340
|
-
],
|
|
2415
|
+
], $1.prototype, "value");
|
|
2341
2416
|
k([
|
|
2342
2417
|
M()
|
|
2343
|
-
],
|
|
2418
|
+
], $1.prototype, "isActive");
|
|
2344
2419
|
customElements.get("anduin-tabs") || customElements.define("anduin-tabs", d1);
|
|
2345
|
-
customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list",
|
|
2346
|
-
customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger",
|
|
2347
|
-
customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content",
|
|
2348
|
-
var
|
|
2420
|
+
customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", k1);
|
|
2421
|
+
customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", F);
|
|
2422
|
+
customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", $1);
|
|
2423
|
+
var n3 = Object.defineProperty, _2 = (l, e, t, i) => {
|
|
2349
2424
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
2350
2425
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
2351
|
-
return o &&
|
|
2426
|
+
return o && n3(e, t, o), o;
|
|
2352
2427
|
};
|
|
2353
|
-
const
|
|
2428
|
+
const C3 = "anduin-tag-close:click", a3 = {
|
|
2354
2429
|
gray: "tag--light-gray",
|
|
2355
2430
|
primary: "tag--light-primary",
|
|
2356
2431
|
success: "tag--light-success",
|
|
@@ -2375,7 +2450,7 @@ const t3 = "anduin-tag-close:click", o3 = {
|
|
|
2375
2450
|
customYellow: "tag--custom-yellow",
|
|
2376
2451
|
customYellowGreen: "tag--custom-yellow-green",
|
|
2377
2452
|
customYellowOrange: "tag--custom-yellow-orange"
|
|
2378
|
-
},
|
|
2453
|
+
}, s3 = {
|
|
2379
2454
|
gray: "tag__icon--light-gray",
|
|
2380
2455
|
primary: "tag__icon--light-primary",
|
|
2381
2456
|
success: "tag__icon--light-success",
|
|
@@ -2400,12 +2475,12 @@ const t3 = "anduin-tag-close:click", o3 = {
|
|
|
2400
2475
|
customMagenta: "tag__icon--custom-magenta",
|
|
2401
2476
|
customBlueGreen: "tag__icon--custom-blue-green",
|
|
2402
2477
|
customPink: "tag__icon--custom-pink"
|
|
2403
|
-
},
|
|
2478
|
+
}, J2 = class J2 extends h {
|
|
2404
2479
|
constructor() {
|
|
2405
2480
|
super(...arguments), this.variant = "gray", this.icon = "", this.disabled = !1;
|
|
2406
2481
|
}
|
|
2407
2482
|
render() {
|
|
2408
|
-
const e =
|
|
2483
|
+
const e = a3[this.variant] || "tag--light-gray", t = s3[this.variant] || "tag__icon--light-gray";
|
|
2409
2484
|
return s`
|
|
2410
2485
|
<div class="tag ${e} ${this.disabled ? "tag--disabled" : ""}" part="tag">
|
|
2411
2486
|
${this.icon ? s`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : c}
|
|
@@ -2415,7 +2490,7 @@ const t3 = "anduin-tag-close:click", o3 = {
|
|
|
2415
2490
|
`;
|
|
2416
2491
|
}
|
|
2417
2492
|
};
|
|
2418
|
-
|
|
2493
|
+
J2.styles = g`
|
|
2419
2494
|
:host { display: inline-flex; max-width: 100%; font-family: var(--font-sans); }
|
|
2420
2495
|
.tag {
|
|
2421
2496
|
font-weight: 500; font-size: 11px; height: 20px; padding-left: 6px; padding-right: 6px;
|
|
@@ -2463,19 +2538,19 @@ X2.styles = g`
|
|
|
2463
2538
|
.tag--custom-yellow-green { color: var(--color-gray-9); background-color: rgb(174,207,85); }
|
|
2464
2539
|
.tag--custom-yellow-orange { color: var(--color-gray-9); background-color: rgb(255,193,107); }
|
|
2465
2540
|
`;
|
|
2466
|
-
let c1 =
|
|
2467
|
-
|
|
2541
|
+
let c1 = J2;
|
|
2542
|
+
_2([
|
|
2468
2543
|
C()
|
|
2469
2544
|
], c1.prototype, "variant");
|
|
2470
|
-
|
|
2545
|
+
_2([
|
|
2471
2546
|
C()
|
|
2472
2547
|
], c1.prototype, "icon");
|
|
2473
|
-
|
|
2548
|
+
_2([
|
|
2474
2549
|
C({ type: Boolean })
|
|
2475
2550
|
], c1.prototype, "disabled");
|
|
2476
|
-
const
|
|
2551
|
+
const Q2 = class Q2 extends h {
|
|
2477
2552
|
onClick() {
|
|
2478
|
-
this.dispatchEvent(new CustomEvent(
|
|
2553
|
+
this.dispatchEvent(new CustomEvent(C3, { bubbles: !0, composed: !0 }));
|
|
2479
2554
|
}
|
|
2480
2555
|
render() {
|
|
2481
2556
|
return s`
|
|
@@ -2485,7 +2560,7 @@ const K2 = class K2 extends h {
|
|
|
2485
2560
|
`;
|
|
2486
2561
|
}
|
|
2487
2562
|
};
|
|
2488
|
-
|
|
2563
|
+
Q2.styles = g`
|
|
2489
2564
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
2490
2565
|
.tag-close__button {
|
|
2491
2566
|
flex: none; width: 16px; height: 16px; display: flex; align-items: center;
|
|
@@ -2495,15 +2570,15 @@ K2.styles = g`
|
|
|
2495
2570
|
.tag-close__button:hover { opacity: 0.7; }
|
|
2496
2571
|
.tag-close__button:active { opacity: 0.5; }
|
|
2497
2572
|
`;
|
|
2498
|
-
let
|
|
2573
|
+
let s2 = Q2;
|
|
2499
2574
|
customElements.get("anduin-tag") || customElements.define("anduin-tag", c1);
|
|
2500
|
-
customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close",
|
|
2501
|
-
var
|
|
2575
|
+
customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", s2);
|
|
2576
|
+
var d3 = Object.defineProperty, l4 = (l, e, t, i) => {
|
|
2502
2577
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
2503
2578
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
2504
|
-
return o &&
|
|
2579
|
+
return o && d3(e, t, o), o;
|
|
2505
2580
|
};
|
|
2506
|
-
const
|
|
2581
|
+
const r4 = "anduin-tooltip:show", x2 = "anduin-tooltip:hide", n4 = "anduin-tooltip:trigger-mounted", C4 = "anduin-tooltip:content-popup-mounted", a4 = "anduin-tooltip:content-popup-unmounted", s4 = "anduin-tooltip:visibility-changed", c3 = [
|
|
2507
2582
|
"top-start",
|
|
2508
2583
|
"top-center",
|
|
2509
2584
|
"top-end",
|
|
@@ -2517,7 +2592,7 @@ const t4 = "anduin-tooltip:show", _2 = "anduin-tooltip:hide", o4 = "anduin-toolt
|
|
|
2517
2592
|
"left-center",
|
|
2518
2593
|
"left-end"
|
|
2519
2594
|
];
|
|
2520
|
-
function
|
|
2595
|
+
function A5(l, e, t, i, o) {
|
|
2521
2596
|
switch (i) {
|
|
2522
2597
|
case "top-start":
|
|
2523
2598
|
return { left: l.left, top: l.top - t - o };
|
|
@@ -2547,20 +2622,20 @@ function k5(l, e, t, i, o) {
|
|
|
2547
2622
|
return { left: 0, top: 0 };
|
|
2548
2623
|
}
|
|
2549
2624
|
}
|
|
2550
|
-
function
|
|
2625
|
+
function B5(l, e) {
|
|
2551
2626
|
return e.right >= l.left && e.left <= l.right && e.top <= l.bottom && e.bottom >= l.top;
|
|
2552
2627
|
}
|
|
2553
|
-
function
|
|
2628
|
+
function z5(l, e) {
|
|
2554
2629
|
const t = Math.max(l.left, e.left), i = Math.max(l.top, e.top), o = Math.min(l.right, e.right), r = Math.min(l.bottom, e.bottom);
|
|
2555
2630
|
return o < t || r < i ? 0 : (o - t) * (r - i);
|
|
2556
2631
|
}
|
|
2557
|
-
function
|
|
2632
|
+
function p3(l, e, t, i = 8) {
|
|
2558
2633
|
const o = window.innerWidth, r = window.innerHeight, n = { left: 0, top: 0, right: o, bottom: r }, a = e.width, d = e.height;
|
|
2559
|
-
if (
|
|
2634
|
+
if (!B5(
|
|
2560
2635
|
{ left: l.left, top: l.top, right: l.right, bottom: l.bottom },
|
|
2561
2636
|
n
|
|
2562
2637
|
)) return null;
|
|
2563
|
-
const p =
|
|
2638
|
+
const p = A5(l, a, d, t, i), u = c3.map((f) => ({ p: f, off: A5(l, a, d, f, i) })).filter(({ off: f }) => B5({ left: f.left, top: f.top, right: f.left + a, bottom: f.top + d }, n));
|
|
2564
2639
|
if (u.length === 0)
|
|
2565
2640
|
return {
|
|
2566
2641
|
placement: t,
|
|
@@ -2568,10 +2643,10 @@ function n3(l, e, t, i = 8) {
|
|
|
2568
2643
|
top: Math.round(Math.min(Math.max(p.top, 0), r - d))
|
|
2569
2644
|
};
|
|
2570
2645
|
u.sort((f, Z) => {
|
|
2571
|
-
const I = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + d }, x = { left: Z.off.left, top: Z.off.top, right: Z.off.left + a, bottom: Z.off.top + d }, S =
|
|
2646
|
+
const I = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + d }, x = { left: Z.off.left, top: Z.off.top, right: Z.off.left + a, bottom: Z.off.top + d }, S = z5(I, n), X = z5(x, n);
|
|
2572
2647
|
if (X !== S) return X - S;
|
|
2573
|
-
const F1 = Math.abs(f.off.left - p.left) + Math.abs(f.off.top - p.top),
|
|
2574
|
-
return F1 -
|
|
2648
|
+
const F1 = Math.abs(f.off.left - p.left) + Math.abs(f.off.top - p.top), O1 = Math.abs(Z.off.left - p.left) + Math.abs(Z.off.top - p.top);
|
|
2649
|
+
return F1 - O1;
|
|
2575
2650
|
});
|
|
2576
2651
|
const { p: v, off: H } = u[0];
|
|
2577
2652
|
return {
|
|
@@ -2580,10 +2655,10 @@ function n3(l, e, t, i = 8) {
|
|
|
2580
2655
|
top: Math.round(Math.min(Math.max(H.top, 0), r - d))
|
|
2581
2656
|
};
|
|
2582
2657
|
}
|
|
2583
|
-
function
|
|
2658
|
+
function d2(l) {
|
|
2584
2659
|
return l.split("-")[0] || "top";
|
|
2585
2660
|
}
|
|
2586
|
-
function
|
|
2661
|
+
function u3(l, e, t) {
|
|
2587
2662
|
let i = !1, o = t.length - 1;
|
|
2588
2663
|
for (let r = 0; r < t.length; r++) {
|
|
2589
2664
|
const n = t[r][0], a = t[r][1], d = t[o][0], p = t[o][1];
|
|
@@ -2591,20 +2666,20 @@ function C3(l, e, t) {
|
|
|
2591
2666
|
}
|
|
2592
2667
|
return i;
|
|
2593
2668
|
}
|
|
2594
|
-
const
|
|
2669
|
+
const e5 = class e5 extends h {
|
|
2595
2670
|
constructor() {
|
|
2596
2671
|
super(...arguments), this.disabled = !1, this.placement = "top-center", this.triggerElement = null, this.contentPopupElement = null, this.containingBlockLeft = 0, this.containingBlockTop = 0, this.rafId = 0, this.prevTriggerTop = NaN, this.prevTriggerLeft = NaN, this.isVisible = !1;
|
|
2597
2672
|
}
|
|
2598
2673
|
connectedCallback() {
|
|
2599
|
-
super.connectedCallback(), this.addEventListener(
|
|
2674
|
+
super.connectedCallback(), this.addEventListener(n4, (e) => {
|
|
2600
2675
|
e.stopPropagation(), this.triggerElement = e.detail, this.maybeStartPositionLoop();
|
|
2601
|
-
}), this.addEventListener(
|
|
2676
|
+
}), this.addEventListener(C4, (e) => {
|
|
2602
2677
|
e.stopPropagation(), this.contentPopupElement = e.detail, this.computeContainingBlockOffset(this.contentPopupElement), this.maybeStartPositionLoop();
|
|
2603
|
-
}), this.addEventListener(
|
|
2678
|
+
}), this.addEventListener(a4, (e) => {
|
|
2604
2679
|
e.stopPropagation(), this.stopPositionLoop(), this.contentPopupElement = null;
|
|
2605
|
-
}), this.addEventListener(
|
|
2680
|
+
}), this.addEventListener(r4, (e) => {
|
|
2606
2681
|
e.stopPropagation(), !this.disabled && (this.isVisible = !0, this.broadcastVisibilityChanged(`show:${this.placement}`));
|
|
2607
|
-
}), this.addEventListener(
|
|
2682
|
+
}), this.addEventListener(x2, (e) => {
|
|
2608
2683
|
e.stopPropagation(), this.isVisible = !1, this.stopPositionLoop(), this.broadcastVisibilityChanged("hide");
|
|
2609
2684
|
});
|
|
2610
2685
|
}
|
|
@@ -2635,11 +2710,11 @@ const J2 = class J2 extends h {
|
|
|
2635
2710
|
this.containingBlockLeft = o.left, this.containingBlockTop = o.top, t.style.transform = i;
|
|
2636
2711
|
}
|
|
2637
2712
|
positionPopup(e, t, i) {
|
|
2638
|
-
const o = t.getBoundingClientRect(), r = e.getBoundingClientRect(), n =
|
|
2713
|
+
const o = t.getBoundingClientRect(), r = e.getBoundingClientRect(), n = p3(o, r, i, 8);
|
|
2639
2714
|
if (n) {
|
|
2640
2715
|
const a = e;
|
|
2641
2716
|
a.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
|
|
2642
|
-
const d =
|
|
2717
|
+
const d = d2(n.placement), p = d2(i);
|
|
2643
2718
|
if (d !== p) {
|
|
2644
2719
|
const u = e.querySelector(".tooltip-arrow");
|
|
2645
2720
|
u && (u.classList.remove(`tooltip-arrow--${p}`), u.classList.add(`tooltip-arrow--${d}`));
|
|
@@ -2647,49 +2722,49 @@ const J2 = class J2 extends h {
|
|
|
2647
2722
|
}
|
|
2648
2723
|
}
|
|
2649
2724
|
broadcastVisibilityChanged(e) {
|
|
2650
|
-
this.dispatchEvent(new CustomEvent(
|
|
2725
|
+
this.dispatchEvent(new CustomEvent(s4, { detail: e, bubbles: !1, composed: !1 }));
|
|
2651
2726
|
}
|
|
2652
2727
|
render() {
|
|
2653
2728
|
return s`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
|
|
2654
2729
|
}
|
|
2655
2730
|
};
|
|
2656
|
-
|
|
2731
|
+
e5.styles = g`
|
|
2657
2732
|
:host { display: inline-block; position: relative; max-width: 100%; font-family: var(--font-sans); }
|
|
2658
2733
|
.tooltip-root { display: inline-block; position: relative; max-width: 100%; }
|
|
2659
2734
|
`;
|
|
2660
|
-
let
|
|
2661
|
-
|
|
2735
|
+
let E1 = e5;
|
|
2736
|
+
l4([
|
|
2662
2737
|
C({ type: Boolean })
|
|
2663
|
-
],
|
|
2664
|
-
|
|
2738
|
+
], E1.prototype, "disabled");
|
|
2739
|
+
l4([
|
|
2665
2740
|
C()
|
|
2666
|
-
],
|
|
2667
|
-
const
|
|
2741
|
+
], E1.prototype, "placement");
|
|
2742
|
+
const t5 = class t5 extends h {
|
|
2668
2743
|
firstUpdated() {
|
|
2669
2744
|
requestAnimationFrame(() => {
|
|
2670
|
-
this.dispatchEvent(new CustomEvent(
|
|
2745
|
+
this.dispatchEvent(new CustomEvent(n4, { detail: this, bubbles: !0, composed: !0 }));
|
|
2671
2746
|
}), this.addEventListener("pointerenter", () => {
|
|
2672
|
-
this.dispatchEvent(new CustomEvent(
|
|
2747
|
+
this.dispatchEvent(new CustomEvent(r4, { bubbles: !0, composed: !0 }));
|
|
2673
2748
|
}), this.addEventListener("click", () => {
|
|
2674
|
-
this.dispatchEvent(new CustomEvent(
|
|
2749
|
+
this.dispatchEvent(new CustomEvent(x2, { bubbles: !0, composed: !0 }));
|
|
2675
2750
|
});
|
|
2676
2751
|
}
|
|
2677
2752
|
render() {
|
|
2678
2753
|
return s`<span class="tooltip-trigger" part="tooltip-trigger"><slot></slot></span>`;
|
|
2679
2754
|
}
|
|
2680
2755
|
};
|
|
2681
|
-
|
|
2756
|
+
t5.styles = g`
|
|
2682
2757
|
:host { display: inline-block; max-width: 100%; font-family: var(--font-sans); }
|
|
2683
2758
|
.tooltip-trigger { display: flex; align-items: center; max-width: 100%; }
|
|
2684
2759
|
`;
|
|
2685
|
-
let
|
|
2686
|
-
const
|
|
2760
|
+
let c2 = t5;
|
|
2761
|
+
const o5 = class o5 extends h {
|
|
2687
2762
|
constructor() {
|
|
2688
2763
|
super(...arguments), this.graceArea = null, this.triggerEl = null, this.popupEl = null, this.handlePointerMove = (e) => {
|
|
2689
2764
|
var r, n;
|
|
2690
2765
|
if (!this.graceArea) return;
|
|
2691
2766
|
const t = e.target, i = ((r = this.triggerEl) == null ? void 0 : r.contains(t)) ?? !1, o = ((n = this.popupEl) == null ? void 0 : n.contains(t)) ?? !1;
|
|
2692
|
-
i || o ? this.graceArea = null :
|
|
2767
|
+
i || o ? this.graceArea = null : u3(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(x2, { bubbles: !0, composed: !0 })));
|
|
2693
2768
|
}, this.handleTriggerLeave = (e) => {
|
|
2694
2769
|
this.triggerEl && this.popupEl && this.createGraceArea(this.triggerEl, this.popupEl, e);
|
|
2695
2770
|
}, this.handleContentLeave = (e) => {
|
|
@@ -2699,7 +2774,7 @@ const e5 = class e5 extends h {
|
|
|
2699
2774
|
connectedCallback() {
|
|
2700
2775
|
super.connectedCallback();
|
|
2701
2776
|
const e = this.closest("anduin-tooltip");
|
|
2702
|
-
e && e.addEventListener(
|
|
2777
|
+
e && e.addEventListener(s4, (t) => {
|
|
2703
2778
|
const i = t.detail;
|
|
2704
2779
|
i.startsWith("show:") ? this.showPopup(i.slice(5)) : this.hidePopup();
|
|
2705
2780
|
});
|
|
@@ -2725,7 +2800,7 @@ const e5 = class e5 extends h {
|
|
|
2725
2800
|
}
|
|
2726
2801
|
showPopup(e) {
|
|
2727
2802
|
this.hidePopup();
|
|
2728
|
-
const t =
|
|
2803
|
+
const t = d2(e), i = document.createElement("div");
|
|
2729
2804
|
i.className = "tooltip-popup", i.setAttribute("role", "tooltip");
|
|
2730
2805
|
const o = document.createElement("div");
|
|
2731
2806
|
o.className = `tooltip-arrow tooltip-arrow--${t}`;
|
|
@@ -2738,16 +2813,16 @@ const e5 = class e5 extends h {
|
|
|
2738
2813
|
const d = a.querySelector("anduin-tooltip-trigger");
|
|
2739
2814
|
d && this.setupGraceAreaListeners(d, i);
|
|
2740
2815
|
}
|
|
2741
|
-
this.dispatchEvent(new CustomEvent(
|
|
2816
|
+
this.dispatchEvent(new CustomEvent(C4, { detail: i, bubbles: !0, composed: !0 }));
|
|
2742
2817
|
}
|
|
2743
2818
|
hidePopup() {
|
|
2744
|
-
this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(
|
|
2819
|
+
this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(a4, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
|
|
2745
2820
|
}
|
|
2746
2821
|
render() {
|
|
2747
2822
|
return s`<div class="tooltip-content-wrapper"></div>`;
|
|
2748
2823
|
}
|
|
2749
2824
|
};
|
|
2750
|
-
|
|
2825
|
+
o5.styles = g`
|
|
2751
2826
|
:host {
|
|
2752
2827
|
display: contents;
|
|
2753
2828
|
--tooltip-bg: var(--anduin-tooltip-content-background, var(--color-gray-9));
|
|
@@ -2771,16 +2846,16 @@ e5.styles = g`
|
|
|
2771
2846
|
.tooltip-arrow--left { right: -4px; top: 50%; transform: translateY(-50%); border-left-color: var(--tooltip-bg); border-right: none; }
|
|
2772
2847
|
.tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
|
|
2773
2848
|
`;
|
|
2774
|
-
let
|
|
2775
|
-
customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip",
|
|
2776
|
-
customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger",
|
|
2777
|
-
customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content",
|
|
2778
|
-
var
|
|
2849
|
+
let p2 = o5;
|
|
2850
|
+
customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", E1);
|
|
2851
|
+
customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", c2);
|
|
2852
|
+
customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", p2);
|
|
2853
|
+
var h3 = Object.defineProperty, v3 = (l, e, t, i) => {
|
|
2779
2854
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
2780
2855
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
2781
|
-
return o &&
|
|
2856
|
+
return o && h3(e, t, o), o;
|
|
2782
2857
|
};
|
|
2783
|
-
const
|
|
2858
|
+
const g3 = "anduin-well-close:click", i5 = class i5 extends h {
|
|
2784
2859
|
constructor() {
|
|
2785
2860
|
super(...arguments), this.variant = "gray";
|
|
2786
2861
|
}
|
|
@@ -2799,7 +2874,7 @@ const d3 = "anduin-well-close:click", t5 = class t5 extends h {
|
|
|
2799
2874
|
`;
|
|
2800
2875
|
}
|
|
2801
2876
|
};
|
|
2802
|
-
|
|
2877
|
+
i5.styles = g`
|
|
2803
2878
|
:host {
|
|
2804
2879
|
display: block;
|
|
2805
2880
|
font-family: var(--font-sans);
|
|
@@ -2864,14 +2939,14 @@ t5.styles = g`
|
|
|
2864
2939
|
color: var(--color-warning-4);
|
|
2865
2940
|
}
|
|
2866
2941
|
`;
|
|
2867
|
-
let
|
|
2868
|
-
|
|
2942
|
+
let Y1 = i5;
|
|
2943
|
+
v3([
|
|
2869
2944
|
C()
|
|
2870
|
-
],
|
|
2871
|
-
const
|
|
2945
|
+
], Y1.prototype, "variant");
|
|
2946
|
+
const l5 = class l5 extends h {
|
|
2872
2947
|
onClick() {
|
|
2873
2948
|
this.dispatchEvent(
|
|
2874
|
-
new CustomEvent(
|
|
2949
|
+
new CustomEvent(g3, { bubbles: !0, composed: !0 })
|
|
2875
2950
|
);
|
|
2876
2951
|
}
|
|
2877
2952
|
render() {
|
|
@@ -2886,7 +2961,7 @@ const o5 = class o5 extends h {
|
|
|
2886
2961
|
`;
|
|
2887
2962
|
}
|
|
2888
2963
|
};
|
|
2889
|
-
|
|
2964
|
+
l5.styles = g`
|
|
2890
2965
|
:host {
|
|
2891
2966
|
display: inline-block;
|
|
2892
2967
|
font-family: var(--font-sans);
|
|
@@ -2911,15 +2986,15 @@ o5.styles = g`
|
|
|
2911
2986
|
background-color: var(--color-gray-3);
|
|
2912
2987
|
}
|
|
2913
2988
|
`;
|
|
2914
|
-
let
|
|
2915
|
-
customElements.get("anduin-well") || customElements.define("anduin-well",
|
|
2916
|
-
customElements.get("anduin-well-close") || customElements.define("anduin-well-close",
|
|
2917
|
-
var
|
|
2989
|
+
let u2 = l5;
|
|
2990
|
+
customElements.get("anduin-well") || customElements.define("anduin-well", Y1);
|
|
2991
|
+
customElements.get("anduin-well-close") || customElements.define("anduin-well-close", u2);
|
|
2992
|
+
var f3 = Object.defineProperty, i1 = (l, e, t, i) => {
|
|
2918
2993
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
2919
2994
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
2920
|
-
return o &&
|
|
2995
|
+
return o && f3(e, t, o), o;
|
|
2921
2996
|
};
|
|
2922
|
-
const
|
|
2997
|
+
const h2 = "anduin-popover:close", r5 = class r5 extends h {
|
|
2923
2998
|
constructor() {
|
|
2924
2999
|
super(...arguments), this.open = !1, this.placement = "bottom-start", this.fullWidth = !1, this._visible = !1, this._closing = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
|
|
2925
3000
|
var t;
|
|
@@ -2934,10 +3009,10 @@ const u2 = "anduin-popover:close", i5 = class i5 extends h {
|
|
|
2934
3009
|
this.open = !this.open;
|
|
2935
3010
|
}
|
|
2936
3011
|
connectedCallback() {
|
|
2937
|
-
super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(
|
|
3012
|
+
super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(h2, this._onPopoverClose);
|
|
2938
3013
|
}
|
|
2939
3014
|
disconnectedCallback() {
|
|
2940
|
-
super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(
|
|
3015
|
+
super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(h2, this._onPopoverClose);
|
|
2941
3016
|
}
|
|
2942
3017
|
updated(e) {
|
|
2943
3018
|
e.has("open") && (this.open ? (this._cancelCloseAnimation(), this._closing = !1, this._visible = !0, requestAnimationFrame(() => this._updatePosition())) : this._startCloseAnimation());
|
|
@@ -2968,8 +3043,8 @@ const u2 = "anduin-popover:close", i5 = class i5 extends h {
|
|
|
2968
3043
|
let v = 0, H = 0, f = "bottom";
|
|
2969
3044
|
const Z = !this.placement.startsWith("top"), I = p - i.bottom - a, x = i.top - a, S = I >= n.height, X = x >= n.height, F1 = Z ? S || I >= x : !X && S;
|
|
2970
3045
|
f = F1 ? "bottom" : "top", H = F1 ? i.bottom + a : i.top - n.height - a;
|
|
2971
|
-
const
|
|
2972
|
-
|
|
3046
|
+
const O1 = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
|
|
3047
|
+
O1 === "start" ? v = i.left : O1 === "end" ? v = i.right - n.width : v = i.left + i.width / 2 - n.width / 2, v = Math.max(u, Math.min(v, d - n.width - u)), H = Math.max(u, Math.min(H, p - n.height - u)), t.style.transform = `translate(${Math.round(v - r.left)}px, ${Math.round(H - r.top)}px)`, t.dataset.side = f;
|
|
2973
3048
|
}
|
|
2974
3049
|
render() {
|
|
2975
3050
|
return s`
|
|
@@ -2984,7 +3059,7 @@ const u2 = "anduin-popover:close", i5 = class i5 extends h {
|
|
|
2984
3059
|
`;
|
|
2985
3060
|
}
|
|
2986
3061
|
};
|
|
2987
|
-
|
|
3062
|
+
r5.styles = g`
|
|
2988
3063
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
2989
3064
|
:host([full-width]) { display: block; width: 100%; }
|
|
2990
3065
|
|
|
@@ -3037,7 +3112,7 @@ i5.styles = g`
|
|
|
3037
3112
|
transform: none;
|
|
3038
3113
|
}
|
|
3039
3114
|
`;
|
|
3040
|
-
let B =
|
|
3115
|
+
let B = r5;
|
|
3041
3116
|
i1([
|
|
3042
3117
|
C({ type: Boolean, reflect: !0 })
|
|
3043
3118
|
], B.prototype, "open");
|
|
@@ -3060,23 +3135,23 @@ i1([
|
|
|
3060
3135
|
R(".popover__panel")
|
|
3061
3136
|
], B.prototype, "_panelEl");
|
|
3062
3137
|
customElements.get("anduin-popover") || customElements.define("anduin-popover", B);
|
|
3063
|
-
const
|
|
3138
|
+
const n5 = class n5 extends h {
|
|
3064
3139
|
_onClick() {
|
|
3065
|
-
this.dispatchEvent(new CustomEvent(
|
|
3140
|
+
this.dispatchEvent(new CustomEvent(h2, { bubbles: !0, composed: !0 }));
|
|
3066
3141
|
}
|
|
3067
3142
|
render() {
|
|
3068
3143
|
return s`<span @click=${this._onClick}><slot></slot></span>`;
|
|
3069
3144
|
}
|
|
3070
3145
|
};
|
|
3071
|
-
|
|
3072
|
-
let
|
|
3073
|
-
customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close",
|
|
3074
|
-
var
|
|
3146
|
+
n5.styles = g`:host { display: contents; }`;
|
|
3147
|
+
let v2 = n5;
|
|
3148
|
+
customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", v2);
|
|
3149
|
+
var H3 = Object.defineProperty, l1 = (l, e, t, i) => {
|
|
3075
3150
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
3076
3151
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
3077
|
-
return o &&
|
|
3152
|
+
return o && H3(e, t, o), o;
|
|
3078
3153
|
};
|
|
3079
|
-
const
|
|
3154
|
+
const g2 = "anduin-menu-item:click", C5 = class C5 extends h {
|
|
3080
3155
|
constructor() {
|
|
3081
3156
|
super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
|
|
3082
3157
|
var t;
|
|
@@ -3091,10 +3166,10 @@ const v2 = "anduin-menu-item:click", r5 = class r5 extends h {
|
|
|
3091
3166
|
this.open = !this.open;
|
|
3092
3167
|
}
|
|
3093
3168
|
connectedCallback() {
|
|
3094
|
-
super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(
|
|
3169
|
+
super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(g2, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
|
|
3095
3170
|
}
|
|
3096
3171
|
disconnectedCallback() {
|
|
3097
|
-
super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(
|
|
3172
|
+
super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(g2, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
|
|
3098
3173
|
}
|
|
3099
3174
|
updated(e) {
|
|
3100
3175
|
e.has("open") && this.open && requestAnimationFrame(() => this._updatePosition());
|
|
@@ -3143,7 +3218,7 @@ const v2 = "anduin-menu-item:click", r5 = class r5 extends h {
|
|
|
3143
3218
|
`;
|
|
3144
3219
|
}
|
|
3145
3220
|
};
|
|
3146
|
-
|
|
3221
|
+
C5.styles = g`
|
|
3147
3222
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
3148
3223
|
|
|
3149
3224
|
.menu__trigger { display: inline-block; }
|
|
@@ -3186,7 +3261,7 @@ r5.styles = g`
|
|
|
3186
3261
|
transform: scale(1) translateY(0);
|
|
3187
3262
|
}
|
|
3188
3263
|
`;
|
|
3189
|
-
let o1 =
|
|
3264
|
+
let o1 = C5;
|
|
3190
3265
|
l1([
|
|
3191
3266
|
C({ type: Boolean, reflect: !0 })
|
|
3192
3267
|
], o1.prototype, "open");
|
|
@@ -3199,12 +3274,12 @@ l1([
|
|
|
3199
3274
|
l1([
|
|
3200
3275
|
R(".menu__panel")
|
|
3201
3276
|
], o1.prototype, "_panelEl");
|
|
3202
|
-
const
|
|
3277
|
+
const a5 = class a5 extends h {
|
|
3203
3278
|
constructor() {
|
|
3204
3279
|
super(...arguments), this.icon = "", this.variant = "default", this.disabled = !1;
|
|
3205
3280
|
}
|
|
3206
3281
|
_onClick() {
|
|
3207
|
-
this.dispatchEvent(new CustomEvent(
|
|
3282
|
+
this.dispatchEvent(new CustomEvent(g2, { bubbles: !0, composed: !0 }));
|
|
3208
3283
|
}
|
|
3209
3284
|
render() {
|
|
3210
3285
|
return s`
|
|
@@ -3221,7 +3296,7 @@ const n5 = class n5 extends h {
|
|
|
3221
3296
|
`;
|
|
3222
3297
|
}
|
|
3223
3298
|
};
|
|
3224
|
-
|
|
3299
|
+
a5.styles = g`
|
|
3225
3300
|
:host { display: block; width: 100%; font-family: var(--font-sans); }
|
|
3226
3301
|
.menu-item {
|
|
3227
3302
|
display: flex;
|
|
@@ -3251,7 +3326,7 @@ n5.styles = g`
|
|
|
3251
3326
|
anduin-icon { color: var(--color-gray-7); }
|
|
3252
3327
|
.menu-item--danger anduin-icon { color: var(--color-danger-4); }
|
|
3253
3328
|
`;
|
|
3254
|
-
let p1 =
|
|
3329
|
+
let p1 = a5;
|
|
3255
3330
|
l1([
|
|
3256
3331
|
C()
|
|
3257
3332
|
], p1.prototype, "icon");
|
|
@@ -3263,12 +3338,12 @@ l1([
|
|
|
3263
3338
|
], p1.prototype, "disabled");
|
|
3264
3339
|
customElements.get("anduin-menu") || customElements.define("anduin-menu", o1);
|
|
3265
3340
|
customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", p1);
|
|
3266
|
-
var
|
|
3341
|
+
var V3 = Object.defineProperty, r1 = (l, e, t, i) => {
|
|
3267
3342
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
3268
3343
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
3269
|
-
return o &&
|
|
3344
|
+
return o && V3(e, t, o), o;
|
|
3270
3345
|
};
|
|
3271
|
-
const f1 = "anduin-close",
|
|
3346
|
+
const f1 = "anduin-close", L3 = "anduin-after-close", o2 = 300, i2 = 200, S5 = 250;
|
|
3272
3347
|
var j;
|
|
3273
3348
|
const G = (j = class extends h {
|
|
3274
3349
|
constructor() {
|
|
@@ -3281,12 +3356,22 @@ const G = (j = class extends h {
|
|
|
3281
3356
|
const t = this.maxWidth, i = j._PRESETS.has(t) ? `${t}px` : t;
|
|
3282
3357
|
this.style.setProperty("--_modal-width", i);
|
|
3283
3358
|
}
|
|
3284
|
-
e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(
|
|
3285
|
-
|
|
3286
|
-
|
|
3359
|
+
e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(
|
|
3360
|
+
() => {
|
|
3361
|
+
this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
|
|
3362
|
+
new CustomEvent(L3, {
|
|
3363
|
+
bubbles: !0,
|
|
3364
|
+
composed: !0
|
|
3365
|
+
})
|
|
3366
|
+
);
|
|
3367
|
+
},
|
|
3368
|
+
Math.max(i2, S5)
|
|
3369
|
+
)));
|
|
3287
3370
|
}
|
|
3288
3371
|
dispatch(e) {
|
|
3289
|
-
this.dispatchEvent(
|
|
3372
|
+
this.dispatchEvent(
|
|
3373
|
+
new CustomEvent(e, { bubbles: !0, composed: !0 })
|
|
3374
|
+
);
|
|
3290
3375
|
}
|
|
3291
3376
|
onOverlayClick() {
|
|
3292
3377
|
this.dispatch(f1);
|
|
@@ -3303,26 +3388,35 @@ const G = (j = class extends h {
|
|
|
3303
3388
|
render() {
|
|
3304
3389
|
const e = this._leaving, t = this.fullscreen;
|
|
3305
3390
|
return s`
|
|
3306
|
-
<div
|
|
3391
|
+
<div
|
|
3392
|
+
class=${`overlay${e ? " is-leaving" : ""}`}
|
|
3393
|
+
@click=${this.onOverlayClick}
|
|
3394
|
+
></div>
|
|
3307
3395
|
<div class=${`modal-wrapper${t ? " modal-wrapper--fullscreen" : ""}`}>
|
|
3308
|
-
<div
|
|
3309
|
-
${
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3396
|
+
<div
|
|
3397
|
+
class=${`modal${t ? " modal--fullscreen" : ""}${e ? " is-leaving" : ""}`}
|
|
3398
|
+
role="dialog"
|
|
3399
|
+
aria-modal="true"
|
|
3400
|
+
aria-labelledby="modal-title"
|
|
3401
|
+
>
|
|
3402
|
+
${this.hideHeader ? c : s` <div class="header">
|
|
3403
|
+
<div class="header-slot">
|
|
3404
|
+
<slot name="header">
|
|
3405
|
+
${this.heading ? s`<span id="modal-title" class="title"
|
|
3406
|
+
>${this.heading}</span
|
|
3407
|
+
>` : c}
|
|
3408
|
+
</slot>
|
|
3409
|
+
</div>
|
|
3410
|
+
<span class="header-sep"></span>
|
|
3411
|
+
<anduin-button
|
|
3412
|
+
appearance="plain"
|
|
3413
|
+
variant="gray9"
|
|
3414
|
+
size="medium"
|
|
3415
|
+
label="Close"
|
|
3416
|
+
start-icon="cross"
|
|
3417
|
+
@click=${this.onClose}
|
|
3418
|
+
></anduin-button>
|
|
3419
|
+
</div>`}
|
|
3326
3420
|
<div class="body">
|
|
3327
3421
|
<slot></slot>
|
|
3328
3422
|
</div>
|
|
@@ -3343,38 +3437,72 @@ const G = (j = class extends h {
|
|
|
3343
3437
|
z-index: var(--z-modal, 1000);
|
|
3344
3438
|
}
|
|
3345
3439
|
@keyframes overlayIn {
|
|
3346
|
-
from {
|
|
3347
|
-
|
|
3440
|
+
from {
|
|
3441
|
+
opacity: 0;
|
|
3442
|
+
}
|
|
3443
|
+
to {
|
|
3444
|
+
opacity: 1;
|
|
3445
|
+
}
|
|
3348
3446
|
}
|
|
3349
3447
|
@keyframes overlayOut {
|
|
3350
|
-
from {
|
|
3351
|
-
|
|
3448
|
+
from {
|
|
3449
|
+
opacity: 1;
|
|
3450
|
+
}
|
|
3451
|
+
to {
|
|
3452
|
+
opacity: 0;
|
|
3453
|
+
}
|
|
3352
3454
|
}
|
|
3353
3455
|
@keyframes modalIn {
|
|
3354
|
-
from {
|
|
3355
|
-
|
|
3456
|
+
from {
|
|
3457
|
+
opacity: 0;
|
|
3458
|
+
transform: translateY(12px);
|
|
3459
|
+
}
|
|
3460
|
+
to {
|
|
3461
|
+
opacity: 1;
|
|
3462
|
+
transform: translateY(0);
|
|
3463
|
+
}
|
|
3356
3464
|
}
|
|
3357
3465
|
@keyframes modalOut {
|
|
3358
|
-
from {
|
|
3359
|
-
|
|
3466
|
+
from {
|
|
3467
|
+
opacity: 1;
|
|
3468
|
+
transform: translateY(0);
|
|
3469
|
+
}
|
|
3470
|
+
to {
|
|
3471
|
+
opacity: 0;
|
|
3472
|
+
transform: translateY(12px);
|
|
3473
|
+
}
|
|
3360
3474
|
}
|
|
3361
3475
|
@keyframes modalFullscreenIn {
|
|
3362
|
-
from {
|
|
3363
|
-
|
|
3476
|
+
from {
|
|
3477
|
+
opacity: 0;
|
|
3478
|
+
transform: translateY(24px);
|
|
3479
|
+
}
|
|
3480
|
+
to {
|
|
3481
|
+
opacity: 1;
|
|
3482
|
+
transform: translateY(0);
|
|
3483
|
+
}
|
|
3364
3484
|
}
|
|
3365
3485
|
@keyframes modalFullscreenOut {
|
|
3366
|
-
from {
|
|
3367
|
-
|
|
3486
|
+
from {
|
|
3487
|
+
opacity: 1;
|
|
3488
|
+
transform: translateY(0);
|
|
3489
|
+
}
|
|
3490
|
+
to {
|
|
3491
|
+
opacity: 0;
|
|
3492
|
+
transform: translateY(24px);
|
|
3493
|
+
}
|
|
3368
3494
|
}
|
|
3369
3495
|
.overlay {
|
|
3370
3496
|
position: absolute;
|
|
3371
3497
|
inset: 0;
|
|
3372
3498
|
background: rgba(50, 60, 77, 0.6);
|
|
3373
3499
|
cursor: default;
|
|
3374
|
-
animation: overlayIn ${
|
|
3500
|
+
animation: overlayIn ${o2}ms cubic-bezier(0.2, 0, 0, 1)
|
|
3501
|
+
forwards;
|
|
3375
3502
|
}
|
|
3376
3503
|
.overlay.is-leaving {
|
|
3377
|
-
animation: overlayOut ${
|
|
3504
|
+
animation: overlayOut ${S5}ms
|
|
3505
|
+
cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
|
|
3378
3506
|
}
|
|
3379
3507
|
.modal-wrapper {
|
|
3380
3508
|
position: absolute;
|
|
@@ -3395,12 +3523,16 @@ const G = (j = class extends h {
|
|
|
3395
3523
|
display: flex;
|
|
3396
3524
|
flex-direction: column;
|
|
3397
3525
|
max-height: calc(100vh - 64px);
|
|
3398
|
-
box-shadow:
|
|
3526
|
+
box-shadow:
|
|
3527
|
+
0 8px 24px 0 rgba(29, 41, 57, 0.12),
|
|
3528
|
+
0 2px 8px 0 rgba(29, 41, 57, 0.08);
|
|
3399
3529
|
flex-shrink: 0;
|
|
3400
|
-
animation: modalIn ${
|
|
3530
|
+
animation: modalIn ${o2}ms cubic-bezier(0.05, 0.7, 0.1, 1)
|
|
3531
|
+
forwards;
|
|
3401
3532
|
}
|
|
3402
3533
|
.modal.is-leaving {
|
|
3403
|
-
animation: modalOut ${
|
|
3534
|
+
animation: modalOut ${i2}ms
|
|
3535
|
+
cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
|
|
3404
3536
|
}
|
|
3405
3537
|
.modal-wrapper--fullscreen {
|
|
3406
3538
|
padding: 0;
|
|
@@ -3429,10 +3561,12 @@ const G = (j = class extends h {
|
|
|
3429
3561
|
max-height: 100%;
|
|
3430
3562
|
height: 100%;
|
|
3431
3563
|
box-shadow: none;
|
|
3432
|
-
animation: modalFullscreenIn ${
|
|
3564
|
+
animation: modalFullscreenIn ${o2}ms
|
|
3565
|
+
cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
|
|
3433
3566
|
}
|
|
3434
3567
|
.modal--fullscreen.is-leaving {
|
|
3435
|
-
animation: modalFullscreenOut ${
|
|
3568
|
+
animation: modalFullscreenOut ${i2}ms
|
|
3569
|
+
cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
|
|
3436
3570
|
}
|
|
3437
3571
|
.header {
|
|
3438
3572
|
flex-shrink: 0;
|
|
@@ -3440,15 +3574,19 @@ const G = (j = class extends h {
|
|
|
3440
3574
|
align-items: flex-start;
|
|
3441
3575
|
padding: 20px 28px;
|
|
3442
3576
|
}
|
|
3443
|
-
.header-slot {
|
|
3444
|
-
|
|
3577
|
+
.header-slot {
|
|
3578
|
+
flex: 1;
|
|
3579
|
+
min-width: 0;
|
|
3580
|
+
}
|
|
3581
|
+
.header-sep {
|
|
3582
|
+
display: none;
|
|
3583
|
+
}
|
|
3445
3584
|
.title {
|
|
3446
3585
|
flex: 1;
|
|
3447
3586
|
font-size: 20px;
|
|
3448
|
-
font-weight:
|
|
3587
|
+
font-weight: 600;
|
|
3449
3588
|
line-height: 32px;
|
|
3450
|
-
color: #323c4d;
|
|
3451
|
-
letter-spacing: -0.46px;
|
|
3589
|
+
color: var(--color-gray-8, #323c4d);
|
|
3452
3590
|
font-family: var(--font-sans);
|
|
3453
3591
|
margin: 0;
|
|
3454
3592
|
}
|
|
@@ -3473,7 +3611,13 @@ const G = (j = class extends h {
|
|
|
3473
3611
|
padding: 16px 24px;
|
|
3474
3612
|
border-top: 1px solid var(--color-gray-3, #e4e7ec);
|
|
3475
3613
|
}
|
|
3476
|
-
`, j._PRESETS = /* @__PURE__ */ new Set([
|
|
3614
|
+
`, j._PRESETS = /* @__PURE__ */ new Set([
|
|
3615
|
+
"480",
|
|
3616
|
+
"600",
|
|
3617
|
+
"720",
|
|
3618
|
+
"960",
|
|
3619
|
+
"1160"
|
|
3620
|
+
]), j);
|
|
3477
3621
|
r1([
|
|
3478
3622
|
C({ type: Boolean, reflect: !0 })
|
|
3479
3623
|
], G.prototype, "open");
|
|
@@ -3495,12 +3639,14 @@ r1([
|
|
|
3495
3639
|
r1([
|
|
3496
3640
|
M()
|
|
3497
3641
|
], G.prototype, "_leaving");
|
|
3498
|
-
let
|
|
3499
|
-
customElements.get("anduin-modal") || customElements.define("anduin-modal",
|
|
3500
|
-
class
|
|
3642
|
+
let b3 = G;
|
|
3643
|
+
customElements.get("anduin-modal") || customElements.define("anduin-modal", b3);
|
|
3644
|
+
class m3 extends HTMLElement {
|
|
3501
3645
|
constructor() {
|
|
3502
3646
|
super(...arguments), this._onClick = () => {
|
|
3503
|
-
this.dispatchEvent(
|
|
3647
|
+
this.dispatchEvent(
|
|
3648
|
+
new CustomEvent(f1, { bubbles: !0, composed: !0 })
|
|
3649
|
+
);
|
|
3504
3650
|
};
|
|
3505
3651
|
}
|
|
3506
3652
|
connectedCallback() {
|
|
@@ -3510,13 +3656,13 @@ class g3 extends HTMLElement {
|
|
|
3510
3656
|
this.removeEventListener("click", this._onClick);
|
|
3511
3657
|
}
|
|
3512
3658
|
}
|
|
3513
|
-
customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close",
|
|
3514
|
-
var
|
|
3659
|
+
customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", m3);
|
|
3660
|
+
var M3 = Object.defineProperty, D = (l, e, t, i) => {
|
|
3515
3661
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
3516
3662
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
3517
|
-
return o &&
|
|
3663
|
+
return o && M3(e, t, o), o;
|
|
3518
3664
|
};
|
|
3519
|
-
const
|
|
3665
|
+
const f2 = "anduin-radio:change", y3 = "anduin-radio-group:change", s5 = class s5 extends h {
|
|
3520
3666
|
constructor() {
|
|
3521
3667
|
super(...arguments), this.checked = !1, this.disabled = !1, this.readonly = !1, this.value = "", this.name = "", this.inputid = "";
|
|
3522
3668
|
}
|
|
@@ -3529,7 +3675,7 @@ const g2 = "anduin-radio:change", H3 = "anduin-radio-group:change", C5 = class C
|
|
|
3529
3675
|
});
|
|
3530
3676
|
}
|
|
3531
3677
|
_select() {
|
|
3532
|
-
this.checked || (this.checked = !0, this.dispatchEvent(new CustomEvent(
|
|
3678
|
+
this.checked || (this.checked = !0, this.dispatchEvent(new CustomEvent(f2, {
|
|
3533
3679
|
detail: this.value,
|
|
3534
3680
|
bubbles: !0,
|
|
3535
3681
|
composed: !0
|
|
@@ -3570,7 +3716,7 @@ const g2 = "anduin-radio:change", H3 = "anduin-radio-group:change", C5 = class C
|
|
|
3570
3716
|
`;
|
|
3571
3717
|
}
|
|
3572
3718
|
};
|
|
3573
|
-
|
|
3719
|
+
s5.styles = g`
|
|
3574
3720
|
:host { display: inline-flex; font-family: var(--font-sans); }
|
|
3575
3721
|
|
|
3576
3722
|
label {
|
|
@@ -3641,7 +3787,7 @@ C5.styles = g`
|
|
|
3641
3787
|
transform: scale(1);
|
|
3642
3788
|
}
|
|
3643
3789
|
`;
|
|
3644
|
-
let O =
|
|
3790
|
+
let O = s5;
|
|
3645
3791
|
D([
|
|
3646
3792
|
C({ type: Boolean })
|
|
3647
3793
|
], O.prototype, "checked");
|
|
@@ -3661,14 +3807,14 @@ D([
|
|
|
3661
3807
|
C()
|
|
3662
3808
|
], O.prototype, "inputid");
|
|
3663
3809
|
customElements.get("anduin-radio") || customElements.define("anduin-radio", O);
|
|
3664
|
-
const
|
|
3810
|
+
const d5 = class d5 extends h {
|
|
3665
3811
|
constructor() {
|
|
3666
3812
|
super(...arguments), this.value = "", this.name = "", this.orientation = "vertical", this._onRadioChange = (e) => {
|
|
3667
3813
|
const i = e.detail;
|
|
3668
3814
|
i !== this.value && (this.value = i, this.querySelectorAll("anduin-radio").forEach((o) => {
|
|
3669
3815
|
const r = o;
|
|
3670
3816
|
r.checked = r.value === i;
|
|
3671
|
-
}), this.dispatchEvent(new CustomEvent(
|
|
3817
|
+
}), this.dispatchEvent(new CustomEvent(y3, {
|
|
3672
3818
|
detail: i,
|
|
3673
3819
|
bubbles: !0,
|
|
3674
3820
|
composed: !0
|
|
@@ -3676,10 +3822,10 @@ const a5 = class a5 extends h {
|
|
|
3676
3822
|
};
|
|
3677
3823
|
}
|
|
3678
3824
|
connectedCallback() {
|
|
3679
|
-
super.connectedCallback(), this.addEventListener(
|
|
3825
|
+
super.connectedCallback(), this.addEventListener(f2, this._onRadioChange);
|
|
3680
3826
|
}
|
|
3681
3827
|
disconnectedCallback() {
|
|
3682
|
-
super.disconnectedCallback(), this.removeEventListener(
|
|
3828
|
+
super.disconnectedCallback(), this.removeEventListener(f2, this._onRadioChange);
|
|
3683
3829
|
}
|
|
3684
3830
|
render() {
|
|
3685
3831
|
return s`
|
|
@@ -3689,7 +3835,7 @@ const a5 = class a5 extends h {
|
|
|
3689
3835
|
`;
|
|
3690
3836
|
}
|
|
3691
3837
|
};
|
|
3692
|
-
|
|
3838
|
+
d5.styles = g`
|
|
3693
3839
|
:host { display: block; font-family: var(--font-sans); }
|
|
3694
3840
|
|
|
3695
3841
|
.group {
|
|
@@ -3699,7 +3845,7 @@ a5.styles = g`
|
|
|
3699
3845
|
.group--vertical { flex-direction: column; }
|
|
3700
3846
|
.group--horizontal { flex-direction: row; flex-wrap: wrap; align-items: center; }
|
|
3701
3847
|
`;
|
|
3702
|
-
let u1 =
|
|
3848
|
+
let u1 = d5;
|
|
3703
3849
|
D([
|
|
3704
3850
|
C()
|
|
3705
3851
|
], u1.prototype, "value");
|
|
@@ -3710,12 +3856,12 @@ D([
|
|
|
3710
3856
|
C()
|
|
3711
3857
|
], u1.prototype, "orientation");
|
|
3712
3858
|
customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group", u1);
|
|
3713
|
-
var
|
|
3859
|
+
var Z3 = Object.defineProperty, n1 = (l, e, t, i) => {
|
|
3714
3860
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
3715
3861
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
3716
|
-
return o &&
|
|
3862
|
+
return o && Z3(e, t, o), o;
|
|
3717
3863
|
};
|
|
3718
|
-
const
|
|
3864
|
+
const P5 = [
|
|
3719
3865
|
{ bg: "#6172F3", text: "#ffffff" },
|
|
3720
3866
|
{ bg: "#B692F6", text: "#ffffff" },
|
|
3721
3867
|
{ bg: "#F670C7", text: "#ffffff" },
|
|
@@ -3725,17 +3871,17 @@ const B5 = [
|
|
|
3725
3871
|
{ bg: "#F97066", text: "#ffffff" },
|
|
3726
3872
|
{ bg: "#7A5AF8", text: "#ffffff" }
|
|
3727
3873
|
];
|
|
3728
|
-
function
|
|
3874
|
+
function _3(l) {
|
|
3729
3875
|
let e = 0;
|
|
3730
3876
|
for (let t = 0; t < l.length; t++) e = e * 31 + l.charCodeAt(t) >>> 0;
|
|
3731
|
-
return
|
|
3877
|
+
return P5[e % P5.length];
|
|
3732
3878
|
}
|
|
3733
|
-
function
|
|
3879
|
+
function x3(l) {
|
|
3734
3880
|
var t;
|
|
3735
3881
|
const e = l.trim().split(/\s+/);
|
|
3736
3882
|
return e.length === 1 ? ((t = e[0][0]) == null ? void 0 : t.toUpperCase()) ?? "" : ((e[0][0] ?? "") + (e[e.length - 1][0] ?? "")).toUpperCase();
|
|
3737
3883
|
}
|
|
3738
|
-
const
|
|
3884
|
+
const c5 = class c5 extends h {
|
|
3739
3885
|
constructor() {
|
|
3740
3886
|
super(...arguments), this.src = "", this.name = "", this.alt = "", this.icon = "", this.size = 32, this.shape = "circle", this._imgError = !1;
|
|
3741
3887
|
}
|
|
@@ -3746,7 +3892,7 @@ const s5 = class s5 extends h {
|
|
|
3746
3892
|
return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
|
|
3747
3893
|
}
|
|
3748
3894
|
render() {
|
|
3749
|
-
const e = !!this.src && !this._imgError, t = this.name || this.icon ?
|
|
3895
|
+
const e = !!this.src && !this._imgError, t = this.name || this.icon ? _3(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, i = this.name ? x3(this.name) : "";
|
|
3750
3896
|
return s`
|
|
3751
3897
|
<div
|
|
3752
3898
|
class="avatar avatar--${this.shape} avatar--${this.size}"
|
|
@@ -3764,7 +3910,7 @@ const s5 = class s5 extends h {
|
|
|
3764
3910
|
`;
|
|
3765
3911
|
}
|
|
3766
3912
|
};
|
|
3767
|
-
|
|
3913
|
+
c5.styles = g`
|
|
3768
3914
|
:host { display: inline-flex; }
|
|
3769
3915
|
|
|
3770
3916
|
.avatar {
|
|
@@ -3793,7 +3939,7 @@ s5.styles = g`
|
|
|
3793
3939
|
display: block;
|
|
3794
3940
|
}
|
|
3795
3941
|
`;
|
|
3796
|
-
let z =
|
|
3942
|
+
let z = c5;
|
|
3797
3943
|
n1([
|
|
3798
3944
|
C()
|
|
3799
3945
|
], z.prototype, "src");
|
|
@@ -3821,8 +3967,8 @@ customElements.get("anduin-avatar") || customElements.define("anduin-avatar", z)
|
|
|
3821
3967
|
* Copyright 2017 Google LLC
|
|
3822
3968
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3823
3969
|
*/
|
|
3824
|
-
const
|
|
3825
|
-
class
|
|
3970
|
+
const w3 = { CHILD: 2 }, R3 = (l) => (...e) => ({ _$litDirective$: l, values: e });
|
|
3971
|
+
class k3 {
|
|
3826
3972
|
constructor(e) {
|
|
3827
3973
|
}
|
|
3828
3974
|
get _$AU() {
|
|
@@ -3843,9 +3989,9 @@ class y3 {
|
|
|
3843
3989
|
* Copyright 2017 Google LLC
|
|
3844
3990
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3845
3991
|
*/
|
|
3846
|
-
class
|
|
3992
|
+
class H2 extends k3 {
|
|
3847
3993
|
constructor(e) {
|
|
3848
|
-
if (super(e), this.it = c, e.type !==
|
|
3994
|
+
if (super(e), this.it = c, e.type !== w3.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
3849
3995
|
}
|
|
3850
3996
|
render(e) {
|
|
3851
3997
|
if (e === c || e == null) return this._t = void 0, this.it = e;
|
|
@@ -3857,16 +4003,16 @@ class f2 extends y3 {
|
|
|
3857
4003
|
return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
|
|
3858
4004
|
}
|
|
3859
4005
|
}
|
|
3860
|
-
|
|
4006
|
+
H2.directiveName = "unsafeHTML", H2.resultType = 1;
|
|
3861
4007
|
/**
|
|
3862
4008
|
* @license
|
|
3863
4009
|
* Copyright 2017 Google LLC
|
|
3864
4010
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3865
4011
|
*/
|
|
3866
|
-
class
|
|
4012
|
+
class V2 extends H2 {
|
|
3867
4013
|
}
|
|
3868
|
-
|
|
3869
|
-
const
|
|
4014
|
+
V2.directiveName = "unsafeSVG", V2.resultType = 2;
|
|
4015
|
+
const $3 = R3(V2), E3 = {
|
|
3870
4016
|
archive: {
|
|
3871
4017
|
16: { viewBox: "0 0 16 16", paths: `<path d="M2 1.5C2 0.671573 2.67157 0 3.5 0H9.17157C9.70201 0 10.2107 0.210714 10.5858 0.585786L13.4142 3.41421C13.7893 3.78929 14 4.29799 14 4.82843V14.5C14 15.3284 13.3284 16 12.5 16H3.5C2.67157 16 2 15.3284 2 14.5V1.5Z" fill="white"/>
|
|
3872
4018
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M13 5.5C13 5.22386 12.7761 5 12.5 5H9.5C9.22386 5 9 4.77614 9 4.5V1.5C9 1.22386 8.77614 1 8.5 1H6H3.5C3.22386 1 3 1.22386 3 1.5V14.5C3 14.7761 3.22386 15 3.5 15H12.5C12.7761 15 13 14.7761 13 14.5V8V5.5ZM14 8V14.5C14 15.3284 13.3284 16 12.5 16H3.5C2.67157 16 2 15.3284 2 14.5V1.5C2 0.671573 2.67157 0 3.5 0H6H9.17157C9.70201 0 10.2107 0.210714 10.5858 0.585786L13.4142 3.41421C13.7893 3.78929 14 4.29799 14 4.82843V8Z" fill="#CCD2DB"/>
|
|
@@ -4110,26 +4256,26 @@ const Z3 = M3(H2), _3 = {
|
|
|
4110
4256
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 2H18.5H18.5147C18.8078 2 19.0982 2.02573 19.3829 2.07593C19.7452 2.22622 20 2.58335 20 3V8C20 8.55228 20.4477 9 21 9H26C26.4166 9 26.7738 9.25482 26.9241 9.6171C26.9743 9.90183 27 10.1922 27 10.4853V29C27 29.5523 26.5523 30 26 30H6C5.44772 30 5 29.5523 5 29V3C5 2.44772 5.44772 2 6 2ZM27.9804 10C27.9934 10.1608 28 10.3227 28 10.4853V29C28 30.1046 27.1046 31 26 31H6C4.89543 31 4 30.1046 4 29V3C4 1.89543 4.89543 1 6 1H18.5H18.5147C20.0951 1 21.6113 1.62353 22.7342 2.73435C22.742 2.742 22.7497 2.74967 22.7574 2.75736L26.2426 6.24264L26.5858 6.58579C27.4913 7.49129 28 8.71942 28 10H27.9804Z" fill="#AADAF9"/>
|
|
4111
4257
|
<path d="M18.875 21.5385L20.3324 13.4117C20.3751 13.1734 20.5825 13 20.8246 13H22.1261C22.4436 13 22.6808 13.2921 22.6154 13.6029L20.3023 24.6029C20.2536 24.8343 20.0494 25 19.813 25H18.2572C18.0243 25 17.8223 24.8393 17.77 24.6124L16.0078 16.9725L14.2457 24.6124C14.1933 24.8393 13.9913 25 13.7584 25H12.2027C11.9662 25 11.762 24.8343 11.7134 24.6029L9.40022 13.6029C9.33487 13.2921 9.57198 13 9.88952 13H11.1916C11.4335 13 11.6406 13.1731 11.6836 13.4111L13.1484 21.522L14.9371 13.3926C14.9875 13.1633 15.1906 13 15.4254 13H16.6053C16.8403 13 17.0436 13.1636 17.0938 13.3932L18.875 21.5385Z" fill="#1075DC"/>` }
|
|
4112
4258
|
}
|
|
4113
|
-
},
|
|
4114
|
-
function
|
|
4115
|
-
const t =
|
|
4259
|
+
}, A3 = [32, 24, 16];
|
|
4260
|
+
function B3(l, e) {
|
|
4261
|
+
const t = E3[l];
|
|
4116
4262
|
if (!t) return null;
|
|
4117
4263
|
if (t[e]) return t[e];
|
|
4118
|
-
for (const i of
|
|
4264
|
+
for (const i of A3)
|
|
4119
4265
|
if (t[i]) return t[i];
|
|
4120
4266
|
return null;
|
|
4121
4267
|
}
|
|
4122
|
-
var
|
|
4268
|
+
var z3 = Object.defineProperty, d4 = (l, e, t, i) => {
|
|
4123
4269
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
4124
4270
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
4125
|
-
return o &&
|
|
4271
|
+
return o && z3(e, t, o), o;
|
|
4126
4272
|
};
|
|
4127
|
-
const
|
|
4273
|
+
const p5 = class p5 extends h {
|
|
4128
4274
|
constructor() {
|
|
4129
4275
|
super(...arguments), this.type = "pdf", this.size = 32;
|
|
4130
4276
|
}
|
|
4131
4277
|
render() {
|
|
4132
|
-
const e =
|
|
4278
|
+
const e = B3(this.type, this.size);
|
|
4133
4279
|
return e ? s`
|
|
4134
4280
|
<svg
|
|
4135
4281
|
width=${this.size}
|
|
@@ -4140,35 +4286,35 @@ const d5 = class d5 extends h {
|
|
|
4140
4286
|
aria-label="${this.type} file"
|
|
4141
4287
|
role="img"
|
|
4142
4288
|
>
|
|
4143
|
-
${
|
|
4289
|
+
${$3(e.paths)}
|
|
4144
4290
|
</svg>
|
|
4145
4291
|
` : c;
|
|
4146
4292
|
}
|
|
4147
4293
|
};
|
|
4148
|
-
|
|
4294
|
+
p5.styles = g`
|
|
4149
4295
|
:host { display: inline-flex; align-items: center; justify-content: center; }
|
|
4150
4296
|
svg { display: block; }
|
|
4151
4297
|
`;
|
|
4152
|
-
let
|
|
4153
|
-
|
|
4298
|
+
let A1 = p5;
|
|
4299
|
+
d4([
|
|
4154
4300
|
C()
|
|
4155
|
-
],
|
|
4156
|
-
|
|
4301
|
+
], A1.prototype, "type");
|
|
4302
|
+
d4([
|
|
4157
4303
|
C({ type: Number })
|
|
4158
|
-
],
|
|
4159
|
-
customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon",
|
|
4160
|
-
var
|
|
4304
|
+
], A1.prototype, "size");
|
|
4305
|
+
customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", A1);
|
|
4306
|
+
var S3 = Object.defineProperty, C1 = (l, e, t, i) => {
|
|
4161
4307
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
4162
4308
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
4163
|
-
return o &&
|
|
4309
|
+
return o && S3(e, t, o), o;
|
|
4164
4310
|
};
|
|
4165
|
-
const
|
|
4311
|
+
const F5 = {
|
|
4166
4312
|
gray: "info",
|
|
4167
4313
|
primary: "infoCircleLine",
|
|
4168
4314
|
success: "checkCircle",
|
|
4169
4315
|
warning: "warning",
|
|
4170
4316
|
danger: "error"
|
|
4171
|
-
},
|
|
4317
|
+
}, P3 = "anduin-toast:dismiss", u5 = class u5 extends h {
|
|
4172
4318
|
constructor() {
|
|
4173
4319
|
super(...arguments), this.variant = "gray", this.heading = "", this.description = "", this._dismissing = !1;
|
|
4174
4320
|
}
|
|
@@ -4179,7 +4325,7 @@ const z5 = {
|
|
|
4179
4325
|
const e = (i) => {
|
|
4180
4326
|
var o;
|
|
4181
4327
|
i.propertyName === "opacity" && ((o = this._toastEl) == null || o.removeEventListener("transitionend", e), this.dispatchEvent(
|
|
4182
|
-
new CustomEvent(
|
|
4328
|
+
new CustomEvent(P3, { bubbles: !0, composed: !0 })
|
|
4183
4329
|
));
|
|
4184
4330
|
};
|
|
4185
4331
|
(t = this._toastEl) == null || t.addEventListener("transitionend", e);
|
|
@@ -4188,7 +4334,7 @@ const z5 = {
|
|
|
4188
4334
|
this.dismiss();
|
|
4189
4335
|
}
|
|
4190
4336
|
render() {
|
|
4191
|
-
const e =
|
|
4337
|
+
const e = F5[this.variant] ?? F5.gray;
|
|
4192
4338
|
return s`
|
|
4193
4339
|
<div
|
|
4194
4340
|
class="toast toast--${this.variant} ${this._dismissing ? "toast--dismissing" : ""}"
|
|
@@ -4214,7 +4360,7 @@ const z5 = {
|
|
|
4214
4360
|
`;
|
|
4215
4361
|
}
|
|
4216
4362
|
};
|
|
4217
|
-
|
|
4363
|
+
u5.styles = g`
|
|
4218
4364
|
:host {
|
|
4219
4365
|
display: block;
|
|
4220
4366
|
font-family: var(--font-sans);
|
|
@@ -4342,7 +4488,7 @@ c5.styles = g`
|
|
|
4342
4488
|
background: var(--color-gray-3, #d0d5dd);
|
|
4343
4489
|
}
|
|
4344
4490
|
`;
|
|
4345
|
-
let q =
|
|
4491
|
+
let q = u5;
|
|
4346
4492
|
C1([
|
|
4347
4493
|
C()
|
|
4348
4494
|
], q.prototype, "variant");
|
|
@@ -4359,7 +4505,7 @@ C1([
|
|
|
4359
4505
|
R(".toast")
|
|
4360
4506
|
], q.prototype, "_toastEl");
|
|
4361
4507
|
customElements.get("anduin-toast") || customElements.define("anduin-toast", q);
|
|
4362
|
-
const
|
|
4508
|
+
const h5 = class h5 extends h {
|
|
4363
4509
|
constructor() {
|
|
4364
4510
|
super(...arguments), this.position = "bottom-left", this._toasts = [], this._nextId = 0;
|
|
4365
4511
|
}
|
|
@@ -4403,7 +4549,7 @@ const p5 = class p5 extends h {
|
|
|
4403
4549
|
`;
|
|
4404
4550
|
}
|
|
4405
4551
|
};
|
|
4406
|
-
|
|
4552
|
+
h5.styles = g`
|
|
4407
4553
|
:host {
|
|
4408
4554
|
display: contents;
|
|
4409
4555
|
pointer-events: none;
|
|
@@ -4450,17 +4596,17 @@ p5.styles = g`
|
|
|
4450
4596
|
align-items: flex-end;
|
|
4451
4597
|
}
|
|
4452
4598
|
`;
|
|
4453
|
-
let
|
|
4599
|
+
let B1 = h5;
|
|
4454
4600
|
C1([
|
|
4455
4601
|
C()
|
|
4456
|
-
],
|
|
4602
|
+
], B1.prototype, "position");
|
|
4457
4603
|
C1([
|
|
4458
4604
|
M()
|
|
4459
|
-
],
|
|
4460
|
-
customElements.get("anduin-toaster") || customElements.define("anduin-toaster",
|
|
4461
|
-
const
|
|
4605
|
+
], B1.prototype, "_toasts");
|
|
4606
|
+
customElements.get("anduin-toaster") || customElements.define("anduin-toaster", B1);
|
|
4607
|
+
const Q3 = {
|
|
4462
4608
|
show(l) {
|
|
4463
|
-
return
|
|
4609
|
+
return F3(l.position).show(l);
|
|
4464
4610
|
},
|
|
4465
4611
|
success(l, e, t) {
|
|
4466
4612
|
return this.show({ ...t, variant: "success", heading: l, description: e });
|
|
@@ -4477,23 +4623,23 @@ const W3 = {
|
|
|
4477
4623
|
gray(l, e, t) {
|
|
4478
4624
|
return this.show({ ...t, variant: "gray", heading: l, description: e });
|
|
4479
4625
|
}
|
|
4480
|
-
},
|
|
4481
|
-
function
|
|
4482
|
-
if (
|
|
4626
|
+
}, l2 = /* @__PURE__ */ new Map();
|
|
4627
|
+
function F3(l = "bottom-left") {
|
|
4628
|
+
if (l2.has(l)) return l2.get(l);
|
|
4483
4629
|
const e = document.createElement("anduin-toaster");
|
|
4484
|
-
return e.position = l, document.body.appendChild(e),
|
|
4630
|
+
return e.position = l, document.body.appendChild(e), l2.set(l, e), e;
|
|
4485
4631
|
}
|
|
4486
|
-
var
|
|
4632
|
+
var O3 = Object.defineProperty, c4 = (l, e, t, i) => {
|
|
4487
4633
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
4488
4634
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
4489
|
-
return o &&
|
|
4635
|
+
return o && O3(e, t, o), o;
|
|
4490
4636
|
};
|
|
4491
|
-
const
|
|
4637
|
+
const D3 = "anduin-switcher:change", v5 = class v5 extends h {
|
|
4492
4638
|
constructor() {
|
|
4493
4639
|
super(...arguments), this.checked = !1, this.disabled = !1;
|
|
4494
4640
|
}
|
|
4495
4641
|
onChange() {
|
|
4496
|
-
this.checked = !this.checked, this.dispatchEvent(new CustomEvent(
|
|
4642
|
+
this.checked = !this.checked, this.dispatchEvent(new CustomEvent(D3, {
|
|
4497
4643
|
detail: this.checked,
|
|
4498
4644
|
bubbles: !0,
|
|
4499
4645
|
composed: !0
|
|
@@ -4517,7 +4663,7 @@ const B3 = "anduin-switcher:change", u5 = class u5 extends h {
|
|
|
4517
4663
|
`;
|
|
4518
4664
|
}
|
|
4519
4665
|
};
|
|
4520
|
-
|
|
4666
|
+
v5.styles = g`
|
|
4521
4667
|
:host { display: inline-flex; font-family: var(--font-sans); }
|
|
4522
4668
|
|
|
4523
4669
|
label {
|
|
@@ -4581,20 +4727,20 @@ u5.styles = g`
|
|
|
4581
4727
|
line-height: 20px;
|
|
4582
4728
|
}
|
|
4583
4729
|
`;
|
|
4584
|
-
let
|
|
4585
|
-
|
|
4730
|
+
let z1 = v5;
|
|
4731
|
+
c4([
|
|
4586
4732
|
C({ type: Boolean })
|
|
4587
|
-
],
|
|
4588
|
-
|
|
4733
|
+
], z1.prototype, "checked");
|
|
4734
|
+
c4([
|
|
4589
4735
|
C({ type: Boolean })
|
|
4590
|
-
],
|
|
4591
|
-
customElements.get("anduin-switcher") || customElements.define("anduin-switcher",
|
|
4592
|
-
var
|
|
4736
|
+
], z1.prototype, "disabled");
|
|
4737
|
+
customElements.get("anduin-switcher") || customElements.define("anduin-switcher", z1);
|
|
4738
|
+
var I3 = Object.defineProperty, y = (l, e, t, i) => {
|
|
4593
4739
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
4594
4740
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
4595
|
-
return o &&
|
|
4741
|
+
return o && I3(e, t, o), o;
|
|
4596
4742
|
};
|
|
4597
|
-
const
|
|
4743
|
+
const O5 = "anduin-dropdown:change", g5 = class g5 extends h {
|
|
4598
4744
|
constructor() {
|
|
4599
4745
|
super(...arguments), this.value = "", this.placeholder = "Select...", this.options = [], this.icon = "", this.searchable = !0, this.disabled = !1, this.placement = "bottom-start", this.appearance = "filled", this.variant = "gray0", this.size = "default", this.fullWidth = !1, this._open = !1, this._query = "", this._onOutsideClick = (e) => {
|
|
4600
4746
|
var t;
|
|
@@ -4626,14 +4772,14 @@ const S5 = "anduin-dropdown:change", h5 = class h5 extends h {
|
|
|
4626
4772
|
e.key === "Escape" && (this._open = !1, this._query = "", (t = this._triggerEl) == null || t.focus());
|
|
4627
4773
|
}
|
|
4628
4774
|
_onClear(e) {
|
|
4629
|
-
e.stopPropagation(), this.value = "", this.dispatchEvent(new CustomEvent(
|
|
4775
|
+
e.stopPropagation(), this.value = "", this.dispatchEvent(new CustomEvent(O5, {
|
|
4630
4776
|
detail: "",
|
|
4631
4777
|
bubbles: !0,
|
|
4632
4778
|
composed: !0
|
|
4633
4779
|
}));
|
|
4634
4780
|
}
|
|
4635
4781
|
_selectOption(e) {
|
|
4636
|
-
this.value = e.value, this._open = !1, this._query = "", this.dispatchEvent(new CustomEvent(
|
|
4782
|
+
this.value = e.value, this._open = !1, this._query = "", this.dispatchEvent(new CustomEvent(O5, {
|
|
4637
4783
|
detail: e.value,
|
|
4638
4784
|
bubbles: !0,
|
|
4639
4785
|
composed: !0
|
|
@@ -4719,7 +4865,7 @@ const S5 = "anduin-dropdown:change", h5 = class h5 extends h {
|
|
|
4719
4865
|
`;
|
|
4720
4866
|
}
|
|
4721
4867
|
};
|
|
4722
|
-
|
|
4868
|
+
g5.styles = g`
|
|
4723
4869
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
4724
4870
|
:host([full-width]) { display: block; width: 100%; }
|
|
4725
4871
|
:host([full-width]) .trigger { width: 100%; }
|
|
@@ -4899,7 +5045,7 @@ h5.styles = g`
|
|
|
4899
5045
|
text-align: center;
|
|
4900
5046
|
}
|
|
4901
5047
|
`;
|
|
4902
|
-
let L =
|
|
5048
|
+
let L = g5;
|
|
4903
5049
|
y([
|
|
4904
5050
|
C()
|
|
4905
5051
|
], L.prototype, "value");
|
|
@@ -4949,24 +5095,27 @@ y([
|
|
|
4949
5095
|
R("anduin-input")
|
|
4950
5096
|
], L.prototype, "_searchEl");
|
|
4951
5097
|
customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", L);
|
|
4952
|
-
var
|
|
5098
|
+
var T3 = Object.defineProperty, Y = (l, e, t, i) => {
|
|
4953
5099
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
4954
5100
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
4955
|
-
return o &&
|
|
5101
|
+
return o && T3(e, t, o), o;
|
|
4956
5102
|
};
|
|
4957
|
-
const
|
|
5103
|
+
const L2 = "anduin-close", N3 = "anduin-after-close", j3 = 300, D5 = 250, U3 = /* @__PURE__ */ new Map([
|
|
4958
5104
|
["320", 320],
|
|
4959
5105
|
["360", 360],
|
|
4960
5106
|
["400", 400],
|
|
4961
5107
|
["640", 640]
|
|
4962
|
-
]),
|
|
5108
|
+
]), f5 = class f5 extends h {
|
|
4963
5109
|
constructor() {
|
|
4964
5110
|
super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.defaultWidth = "320", this.allowInteractOutside = !1, this._leaving = !1, this._width = 320, this._resizing = !1, this._startX = 0, this._startWidth = 0, this._onResizeStart = (e) => {
|
|
4965
5111
|
this._resizing = !0, this._startX = e.clientX, this._startWidth = this._width, e.currentTarget.setPointerCapture(e.pointerId), e.preventDefault();
|
|
4966
5112
|
}, this._onResizeMove = (e) => {
|
|
4967
5113
|
var r;
|
|
4968
5114
|
if (!this._resizing) return;
|
|
4969
|
-
const t = this._startX - e.clientX, i = Math.max(
|
|
5115
|
+
const t = this._startX - e.clientX, i = Math.max(
|
|
5116
|
+
200,
|
|
5117
|
+
Math.min(window.innerWidth * 0.9, this._startWidth + t)
|
|
5118
|
+
);
|
|
4970
5119
|
this._width = Math.round(i);
|
|
4971
5120
|
const o = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".drawer");
|
|
4972
5121
|
o && (o.style.width = `${this._width}px`);
|
|
@@ -4975,21 +5124,28 @@ const V2 = "anduin-close", F3 = "anduin-after-close", P3 = 300, F5 = 250, O3 = /
|
|
|
4975
5124
|
};
|
|
4976
5125
|
}
|
|
4977
5126
|
willUpdate(e) {
|
|
4978
|
-
e.has("defaultWidth") && (this._width =
|
|
5127
|
+
e.has("defaultWidth") && (this._width = U3.get(this.defaultWidth) ?? (parseInt(this.defaultWidth) || 320));
|
|
4979
5128
|
}
|
|
4980
5129
|
updated(e) {
|
|
4981
5130
|
e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(() => {
|
|
4982
|
-
this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
|
|
4983
|
-
|
|
5131
|
+
this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
|
|
5132
|
+
new CustomEvent(N3, {
|
|
5133
|
+
bubbles: !0,
|
|
5134
|
+
composed: !0
|
|
5135
|
+
})
|
|
5136
|
+
);
|
|
5137
|
+
}, D5)));
|
|
4984
5138
|
}
|
|
4985
5139
|
_dispatch(e) {
|
|
4986
|
-
this.dispatchEvent(
|
|
5140
|
+
this.dispatchEvent(
|
|
5141
|
+
new CustomEvent(e, { bubbles: !0, composed: !0 })
|
|
5142
|
+
);
|
|
4987
5143
|
}
|
|
4988
5144
|
_onClose() {
|
|
4989
|
-
this._dispatch(
|
|
5145
|
+
this._dispatch(L2);
|
|
4990
5146
|
}
|
|
4991
5147
|
_onBackdropClick() {
|
|
4992
|
-
this._dispatch(
|
|
5148
|
+
this._dispatch(L2);
|
|
4993
5149
|
}
|
|
4994
5150
|
render() {
|
|
4995
5151
|
const e = this._leaving;
|
|
@@ -5009,20 +5165,21 @@ const V2 = "anduin-close", F3 = "anduin-after-close", P3 = 300, F5 = 250, O3 = /
|
|
|
5009
5165
|
@pointerup=${this._onResizeEnd}
|
|
5010
5166
|
@pointercancel=${this._onResizeEnd}
|
|
5011
5167
|
></div>
|
|
5012
|
-
${this.hideHeader ? c : s`
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5168
|
+
${this.hideHeader ? c : s` <div class="header">
|
|
5169
|
+
<slot name="header">
|
|
5170
|
+
${this.heading ? s`<span id="drawer-title" class="title"
|
|
5171
|
+
>${this.heading}</span
|
|
5172
|
+
>` : c}
|
|
5173
|
+
</slot>
|
|
5174
|
+
<anduin-button
|
|
5175
|
+
appearance="plain"
|
|
5176
|
+
variant="gray9"
|
|
5177
|
+
size="medium"
|
|
5178
|
+
label="Close"
|
|
5179
|
+
start-icon="cross"
|
|
5180
|
+
@click=${this._onClose}
|
|
5181
|
+
></anduin-button>
|
|
5182
|
+
</div>`}
|
|
5026
5183
|
<div class="body">
|
|
5027
5184
|
<slot></slot>
|
|
5028
5185
|
</div>
|
|
@@ -5031,7 +5188,7 @@ const V2 = "anduin-close", F3 = "anduin-after-close", P3 = 300, F5 = 250, O3 = /
|
|
|
5031
5188
|
`;
|
|
5032
5189
|
}
|
|
5033
5190
|
};
|
|
5034
|
-
|
|
5191
|
+
f5.styles = g`
|
|
5035
5192
|
:host {
|
|
5036
5193
|
display: none;
|
|
5037
5194
|
font-family: var(--font-sans);
|
|
@@ -5045,12 +5202,20 @@ v5.styles = g`
|
|
|
5045
5202
|
pointer-events: none;
|
|
5046
5203
|
}
|
|
5047
5204
|
@keyframes drawerIn {
|
|
5048
|
-
from {
|
|
5049
|
-
|
|
5205
|
+
from {
|
|
5206
|
+
transform: translateX(100%);
|
|
5207
|
+
}
|
|
5208
|
+
to {
|
|
5209
|
+
transform: translateX(0);
|
|
5210
|
+
}
|
|
5050
5211
|
}
|
|
5051
5212
|
@keyframes drawerOut {
|
|
5052
|
-
from {
|
|
5053
|
-
|
|
5213
|
+
from {
|
|
5214
|
+
transform: translateX(0);
|
|
5215
|
+
}
|
|
5216
|
+
to {
|
|
5217
|
+
transform: translateX(100%);
|
|
5218
|
+
}
|
|
5054
5219
|
}
|
|
5055
5220
|
/* Transparent backdrop — only rendered when dismiss-on-outside-click is set */
|
|
5056
5221
|
.backdrop {
|
|
@@ -5067,14 +5232,18 @@ v5.styles = g`
|
|
|
5067
5232
|
display: flex;
|
|
5068
5233
|
flex-direction: column;
|
|
5069
5234
|
background: #fff;
|
|
5070
|
-
box-shadow:
|
|
5071
|
-
|
|
5235
|
+
box-shadow:
|
|
5236
|
+
-8px 0 24px 0 rgba(29, 41, 57, 0.12),
|
|
5237
|
+
-2px 0 8px 0 rgba(29, 41, 57, 0.08);
|
|
5238
|
+
animation: drawerIn ${j3}ms cubic-bezier(0.05, 0.7, 0.1, 1)
|
|
5239
|
+
forwards;
|
|
5072
5240
|
min-width: 200px;
|
|
5073
5241
|
max-width: 90vw;
|
|
5074
5242
|
pointer-events: auto;
|
|
5075
5243
|
}
|
|
5076
5244
|
.drawer.is-leaving {
|
|
5077
|
-
animation: drawerOut ${
|
|
5245
|
+
animation: drawerOut ${D5}ms
|
|
5246
|
+
cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
|
|
5078
5247
|
}
|
|
5079
5248
|
@media (max-width: 640px) {
|
|
5080
5249
|
.drawer {
|
|
@@ -5086,7 +5255,9 @@ v5.styles = g`
|
|
|
5086
5255
|
max-width: 100%;
|
|
5087
5256
|
min-width: unset;
|
|
5088
5257
|
}
|
|
5089
|
-
.resize-handle {
|
|
5258
|
+
.resize-handle {
|
|
5259
|
+
display: none;
|
|
5260
|
+
}
|
|
5090
5261
|
}
|
|
5091
5262
|
.resize-handle {
|
|
5092
5263
|
position: absolute;
|
|
@@ -5112,10 +5283,9 @@ v5.styles = g`
|
|
|
5112
5283
|
.title {
|
|
5113
5284
|
flex: 1;
|
|
5114
5285
|
font-size: 16px;
|
|
5115
|
-
font-weight:
|
|
5286
|
+
font-weight: 600;
|
|
5116
5287
|
line-height: 24px;
|
|
5117
|
-
color: #323c4d;
|
|
5118
|
-
letter-spacing: -0.2px;
|
|
5288
|
+
color: var(--color-gray-8, #323c4d);
|
|
5119
5289
|
font-family: var(--font-sans);
|
|
5120
5290
|
margin: 0;
|
|
5121
5291
|
}
|
|
@@ -5123,7 +5293,8 @@ v5.styles = g`
|
|
|
5123
5293
|
flex: 1;
|
|
5124
5294
|
overflow-y: auto;
|
|
5125
5295
|
min-height: 0;
|
|
5126
|
-
|
|
5296
|
+
|
|
5297
|
+
color: var(--color-gray-8, #323c4d);
|
|
5127
5298
|
}
|
|
5128
5299
|
.footer {
|
|
5129
5300
|
flex-shrink: 0;
|
|
@@ -5135,7 +5306,7 @@ v5.styles = g`
|
|
|
5135
5306
|
border-top: 1px solid var(--color-gray-3, #e4e7ec);
|
|
5136
5307
|
}
|
|
5137
5308
|
`;
|
|
5138
|
-
let E =
|
|
5309
|
+
let E = f5;
|
|
5139
5310
|
Y([
|
|
5140
5311
|
C({ type: Boolean, reflect: !0 })
|
|
5141
5312
|
], E.prototype, "open");
|
|
@@ -5161,10 +5332,12 @@ Y([
|
|
|
5161
5332
|
M()
|
|
5162
5333
|
], E.prototype, "_width");
|
|
5163
5334
|
customElements.get("anduin-drawer") || customElements.define("anduin-drawer", E);
|
|
5164
|
-
class
|
|
5335
|
+
class q3 extends HTMLElement {
|
|
5165
5336
|
constructor() {
|
|
5166
5337
|
super(...arguments), this._onClick = () => {
|
|
5167
|
-
this.dispatchEvent(
|
|
5338
|
+
this.dispatchEvent(
|
|
5339
|
+
new CustomEvent(L2, { bubbles: !0, composed: !0 })
|
|
5340
|
+
);
|
|
5168
5341
|
};
|
|
5169
5342
|
}
|
|
5170
5343
|
connectedCallback() {
|
|
@@ -5174,13 +5347,13 @@ class D3 extends HTMLElement {
|
|
|
5174
5347
|
this.removeEventListener("click", this._onClick);
|
|
5175
5348
|
}
|
|
5176
5349
|
}
|
|
5177
|
-
customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close",
|
|
5178
|
-
var
|
|
5350
|
+
customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", q3);
|
|
5351
|
+
var W3 = Object.defineProperty, m = (l, e, t, i) => {
|
|
5179
5352
|
for (var o = void 0, r = l.length - 1, n; r >= 0; r--)
|
|
5180
5353
|
(n = l[r]) && (o = n(e, t, o) || o);
|
|
5181
|
-
return o &&
|
|
5354
|
+
return o && W3(e, t, o), o;
|
|
5182
5355
|
};
|
|
5183
|
-
const
|
|
5356
|
+
const r2 = "anduin-suggestion:change", G3 = "anduin-suggestion:select", Y3 = "anduin-suggestion:clear", H5 = class H5 extends h {
|
|
5184
5357
|
constructor() {
|
|
5185
5358
|
super(...arguments), this.value = "", this.size = "default", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.status = "", this.startIcon = "", this.endIcon = "", this.clearable = !1, this.suggestions = [], this.filter = !1, this.hideWhenEmpty = !1, this.emptyText = "No suggestions", this._open = !1, this._activeIndex = -1, this._onDocumentMouseDown = (e) => {
|
|
5186
5359
|
var t;
|
|
@@ -5220,7 +5393,7 @@ const i2 = "anduin-suggestion:change", T3 = "anduin-suggestion:select", N3 = "an
|
|
|
5220
5393
|
this._openPanel();
|
|
5221
5394
|
}
|
|
5222
5395
|
_onInput() {
|
|
5223
|
-
this.value = this._inputEl.value, this._open || this._openPanel(), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(
|
|
5396
|
+
this.value = this._inputEl.value, this._open || this._openPanel(), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(r2, {
|
|
5224
5397
|
detail: this.value,
|
|
5225
5398
|
bubbles: !0,
|
|
5226
5399
|
composed: !0
|
|
@@ -5253,11 +5426,11 @@ const i2 = "anduin-suggestion:change", T3 = "anduin-suggestion:select", N3 = "an
|
|
|
5253
5426
|
}
|
|
5254
5427
|
_selectSuggestion(e) {
|
|
5255
5428
|
var t;
|
|
5256
|
-
this.value = e.value, this._inputEl && (this._inputEl.value = e.value), this._open = !1, this.dispatchEvent(new CustomEvent(
|
|
5429
|
+
this.value = e.value, this._inputEl && (this._inputEl.value = e.value), this._open = !1, this.dispatchEvent(new CustomEvent(r2, {
|
|
5257
5430
|
detail: this.value,
|
|
5258
5431
|
bubbles: !0,
|
|
5259
5432
|
composed: !0
|
|
5260
|
-
})), this.dispatchEvent(new CustomEvent(
|
|
5433
|
+
})), this.dispatchEvent(new CustomEvent(G3, {
|
|
5261
5434
|
detail: e,
|
|
5262
5435
|
bubbles: !0,
|
|
5263
5436
|
composed: !0
|
|
@@ -5265,7 +5438,7 @@ const i2 = "anduin-suggestion:change", T3 = "anduin-suggestion:select", N3 = "an
|
|
|
5265
5438
|
}
|
|
5266
5439
|
_onClear() {
|
|
5267
5440
|
var e;
|
|
5268
|
-
this.value = "", this._inputEl && (this._inputEl.value = ""), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(
|
|
5441
|
+
this.value = "", this._inputEl && (this._inputEl.value = ""), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(r2, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(Y3, { bubbles: !0, composed: !0 })), (e = this._inputEl) == null || e.focus();
|
|
5269
5442
|
}
|
|
5270
5443
|
_updatePosition() {
|
|
5271
5444
|
var X;
|
|
@@ -5353,7 +5526,7 @@ const i2 = "anduin-suggestion:change", T3 = "anduin-suggestion:select", N3 = "an
|
|
|
5353
5526
|
`;
|
|
5354
5527
|
}
|
|
5355
5528
|
};
|
|
5356
|
-
|
|
5529
|
+
H5.styles = g`
|
|
5357
5530
|
:host { display: block; font-family: var(--font-sans); position: relative; }
|
|
5358
5531
|
|
|
5359
5532
|
.input-wrapper { position: relative; display: flex; align-items: center; }
|
|
@@ -5466,7 +5639,7 @@ g5.styles = g`
|
|
|
5466
5639
|
text-align: center;
|
|
5467
5640
|
}
|
|
5468
5641
|
`;
|
|
5469
|
-
let V =
|
|
5642
|
+
let V = H5;
|
|
5470
5643
|
m([
|
|
5471
5644
|
C()
|
|
5472
5645
|
], V.prototype, "value");
|
|
@@ -5523,86 +5696,87 @@ m([
|
|
|
5523
5696
|
], V.prototype, "_panelEl");
|
|
5524
5697
|
customElements.get("anduin-suggestion") || customElements.define("anduin-suggestion", V);
|
|
5525
5698
|
export {
|
|
5526
|
-
|
|
5699
|
+
o4 as $,
|
|
5527
5700
|
z as A,
|
|
5528
5701
|
O as B,
|
|
5529
5702
|
u1 as C,
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5703
|
+
P as D,
|
|
5704
|
+
y1 as E,
|
|
5705
|
+
M1 as F,
|
|
5706
|
+
V as G,
|
|
5707
|
+
z1 as H,
|
|
5708
|
+
$1 as I,
|
|
5709
|
+
F as J,
|
|
5710
|
+
d1 as K,
|
|
5711
|
+
k1 as L,
|
|
5712
|
+
c1 as M,
|
|
5713
|
+
s2 as N,
|
|
5714
|
+
$ as O,
|
|
5715
|
+
q as P,
|
|
5716
|
+
B1 as Q,
|
|
5717
|
+
E1 as R,
|
|
5718
|
+
p2 as S,
|
|
5719
|
+
c2 as T,
|
|
5720
|
+
Y1 as U,
|
|
5721
|
+
u2 as V,
|
|
5722
|
+
K5 as W,
|
|
5723
|
+
Q4 as X,
|
|
5724
|
+
N3 as Y,
|
|
5725
|
+
L2 as Z,
|
|
5726
|
+
O5 as _,
|
|
5727
|
+
j1 as a,
|
|
5728
|
+
v1 as a0,
|
|
5729
|
+
E3 as a1,
|
|
5730
|
+
E5 as a2,
|
|
5731
|
+
t3 as a3,
|
|
5732
|
+
g2 as a4,
|
|
5733
|
+
L3 as a5,
|
|
5734
|
+
f1 as a6,
|
|
5735
|
+
h2 as a7,
|
|
5736
|
+
f2 as a8,
|
|
5737
|
+
y3 as a9,
|
|
5738
|
+
r2 as aa,
|
|
5739
|
+
Y3 as ab,
|
|
5740
|
+
G3 as ac,
|
|
5741
|
+
D3 as ad,
|
|
5742
|
+
r3 as ae,
|
|
5743
|
+
i4 as af,
|
|
5744
|
+
K1 as ag,
|
|
5745
|
+
C3 as ah,
|
|
5746
|
+
i3 as ai,
|
|
5747
|
+
C4 as aj,
|
|
5748
|
+
a4 as ak,
|
|
5749
|
+
x2 as al,
|
|
5750
|
+
r4 as am,
|
|
5751
|
+
n4 as an,
|
|
5752
|
+
s4 as ao,
|
|
5753
|
+
g3 as ap,
|
|
5754
|
+
J5 as aq,
|
|
5755
|
+
B3 as ar,
|
|
5756
|
+
Q3 as as,
|
|
5757
|
+
_1 as b,
|
|
5584
5758
|
b as c,
|
|
5585
|
-
|
|
5759
|
+
U1 as d,
|
|
5586
5760
|
U as e,
|
|
5587
|
-
|
|
5588
|
-
|
|
5761
|
+
x1 as f,
|
|
5762
|
+
q1 as g,
|
|
5589
5763
|
E as h,
|
|
5590
|
-
|
|
5764
|
+
q3 as i,
|
|
5591
5765
|
L as j,
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5766
|
+
G1 as k,
|
|
5767
|
+
n2 as l,
|
|
5768
|
+
C2 as m,
|
|
5769
|
+
a2 as n,
|
|
5770
|
+
R1 as o,
|
|
5771
|
+
A1 as p,
|
|
5772
|
+
Z1 as q,
|
|
5599
5773
|
w as r,
|
|
5600
|
-
|
|
5774
|
+
W1 as s,
|
|
5601
5775
|
o1 as t,
|
|
5602
5776
|
p1 as u,
|
|
5603
|
-
|
|
5604
|
-
|
|
5777
|
+
b3 as v,
|
|
5778
|
+
m3 as w,
|
|
5605
5779
|
B as x,
|
|
5606
|
-
|
|
5607
|
-
|
|
5780
|
+
v2 as y,
|
|
5781
|
+
w1 as z
|
|
5608
5782
|
};
|