@duyluonganduin/acl-web-components 0.0.8 → 0.0.9
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 +200 -105
- package/dist/acl-web-components.d.ts +33 -0
- package/dist/acl-web-components.js +863 -663
- package/dist/react.d.ts +20 -0
- package/package.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
const
|
|
1
|
+
const $5 = ':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2019 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
const
|
|
8
|
-
let
|
|
7
|
+
const V1 = globalThis, W1 = V1.ShadowRoot && (V1.ShadyCSS === void 0 || V1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, K1 = Symbol(), O2 = /* @__PURE__ */ new WeakMap();
|
|
8
|
+
let i5 = class {
|
|
9
9
|
constructor(e, t, o) {
|
|
10
|
-
if (this._$cssResult$ = !0, o !==
|
|
10
|
+
if (this._$cssResult$ = !0, o !== K1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
11
11
|
this.cssText = e, this.t = t;
|
|
12
12
|
}
|
|
13
13
|
get styleSheet() {
|
|
14
14
|
let e = this.o;
|
|
15
15
|
const t = this.t;
|
|
16
|
-
if (
|
|
16
|
+
if (W1 && e === void 0) {
|
|
17
17
|
const o = t !== void 0 && t.length === 1;
|
|
18
|
-
o && (e =
|
|
18
|
+
o && (e = O2.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && O2.set(t, e));
|
|
19
19
|
}
|
|
20
20
|
return e;
|
|
21
21
|
}
|
|
@@ -23,33 +23,33 @@ let X2 = class {
|
|
|
23
23
|
return this.cssText;
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
const
|
|
26
|
+
const E5 = (l) => new i5(typeof l == "string" ? l : l + "", void 0, K1), H = (l, ...e) => {
|
|
27
27
|
const t = l.length === 1 ? l[0] : e.reduce((o, C, i) => o + ((n) => {
|
|
28
28
|
if (n._$cssResult$ === !0) return n.cssText;
|
|
29
29
|
if (typeof n == "number") return n;
|
|
30
30
|
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.");
|
|
31
31
|
})(C) + l[i + 1], l[0]);
|
|
32
|
-
return new
|
|
33
|
-
},
|
|
34
|
-
if (
|
|
32
|
+
return new i5(t, l, K1);
|
|
33
|
+
}, A5 = (l, e) => {
|
|
34
|
+
if (W1) l.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
35
35
|
else for (const t of e) {
|
|
36
|
-
const o = document.createElement("style"), C =
|
|
36
|
+
const o = document.createElement("style"), C = V1.litNonce;
|
|
37
37
|
C !== void 0 && o.setAttribute("nonce", C), o.textContent = t.cssText, l.appendChild(o);
|
|
38
38
|
}
|
|
39
|
-
},
|
|
39
|
+
}, I2 = W1 ? (l) => l : (l) => l instanceof CSSStyleSheet ? ((e) => {
|
|
40
40
|
let t = "";
|
|
41
41
|
for (const o of e.cssRules) t += o.cssText;
|
|
42
|
-
return
|
|
42
|
+
return E5(t);
|
|
43
43
|
})(l) : l;
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2017 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
48
|
*/
|
|
49
|
-
const { is:
|
|
49
|
+
const { is: B5, defineProperty: F5, getOwnPropertyDescriptor: z5, getOwnPropertyNames: P5, getOwnPropertySymbols: S5, getPrototypeOf: D5 } = Object, k = globalThis, T2 = k.trustedTypes, O5 = T2 ? T2.emptyScript : "", k1 = k.reactiveElementPolyfillSupport, e1 = (l, e) => l, L1 = { toAttribute(l, e) {
|
|
50
50
|
switch (e) {
|
|
51
51
|
case Boolean:
|
|
52
|
-
l = l ?
|
|
52
|
+
l = l ? O5 : null;
|
|
53
53
|
break;
|
|
54
54
|
case Object:
|
|
55
55
|
case Array:
|
|
@@ -74,23 +74,23 @@ const { is: R5, defineProperty: x5, getOwnPropertyDescriptor: _5, getOwnProperty
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
return t;
|
|
77
|
-
} },
|
|
78
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
79
|
-
let
|
|
77
|
+
} }, X1 = (l, e) => !B5(l, e), N2 = { attribute: !0, type: String, converter: L1, reflect: !1, useDefault: !1, hasChanged: X1 };
|
|
78
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), k.litPropertyMetadata ?? (k.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
79
|
+
let G = class extends HTMLElement {
|
|
80
80
|
static addInitializer(e) {
|
|
81
81
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
82
82
|
}
|
|
83
83
|
static get observedAttributes() {
|
|
84
84
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
85
85
|
}
|
|
86
|
-
static createProperty(e, t =
|
|
86
|
+
static createProperty(e, t = N2) {
|
|
87
87
|
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) {
|
|
88
88
|
const o = Symbol(), C = this.getPropertyDescriptor(e, o, t);
|
|
89
|
-
C !== void 0 &&
|
|
89
|
+
C !== void 0 && F5(this.prototype, e, C);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
static getPropertyDescriptor(e, t, o) {
|
|
93
|
-
const { get: C, set: i } =
|
|
93
|
+
const { get: C, set: i } = z5(this.prototype, e) ?? { get() {
|
|
94
94
|
return this[t];
|
|
95
95
|
}, set(n) {
|
|
96
96
|
this[t] = n;
|
|
@@ -101,17 +101,17 @@ let T = class extends HTMLElement {
|
|
|
101
101
|
}, configurable: !0, enumerable: !0 };
|
|
102
102
|
}
|
|
103
103
|
static getPropertyOptions(e) {
|
|
104
|
-
return this.elementProperties.get(e) ??
|
|
104
|
+
return this.elementProperties.get(e) ?? N2;
|
|
105
105
|
}
|
|
106
106
|
static _$Ei() {
|
|
107
|
-
if (this.hasOwnProperty(
|
|
108
|
-
const e =
|
|
107
|
+
if (this.hasOwnProperty(e1("elementProperties"))) return;
|
|
108
|
+
const e = D5(this);
|
|
109
109
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
110
110
|
}
|
|
111
111
|
static finalize() {
|
|
112
|
-
if (this.hasOwnProperty(
|
|
113
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
114
|
-
const t = this.properties, o = [...
|
|
112
|
+
if (this.hasOwnProperty(e1("finalized"))) return;
|
|
113
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(e1("properties"))) {
|
|
114
|
+
const t = this.properties, o = [...P5(t), ...S5(t)];
|
|
115
115
|
for (const C of o) this.createProperty(C, t[C]);
|
|
116
116
|
}
|
|
117
117
|
const e = this[Symbol.metadata];
|
|
@@ -130,8 +130,8 @@ let T = class extends HTMLElement {
|
|
|
130
130
|
const t = [];
|
|
131
131
|
if (Array.isArray(e)) {
|
|
132
132
|
const o = new Set(e.flat(1 / 0).reverse());
|
|
133
|
-
for (const C of o) t.unshift(
|
|
134
|
-
} else e !== void 0 && t.push(
|
|
133
|
+
for (const C of o) t.unshift(I2(C));
|
|
134
|
+
} else e !== void 0 && t.push(I2(e));
|
|
135
135
|
return t;
|
|
136
136
|
}
|
|
137
137
|
static _$Eu(e, t) {
|
|
@@ -160,7 +160,7 @@ let T = class extends HTMLElement {
|
|
|
160
160
|
}
|
|
161
161
|
createRenderRoot() {
|
|
162
162
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
163
|
-
return
|
|
163
|
+
return A5(e, this.constructor.elementStyles), e;
|
|
164
164
|
}
|
|
165
165
|
connectedCallback() {
|
|
166
166
|
var e;
|
|
@@ -185,7 +185,7 @@ let T = class extends HTMLElement {
|
|
|
185
185
|
var i;
|
|
186
186
|
const o = this.constructor.elementProperties.get(e), C = this.constructor._$Eu(e, o);
|
|
187
187
|
if (C !== void 0 && o.reflect === !0) {
|
|
188
|
-
const n = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter :
|
|
188
|
+
const n = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter : L1).toAttribute(t, o.type);
|
|
189
189
|
this._$Em = e, n == null ? this.removeAttribute(C) : this.setAttribute(C, n), this._$Em = null;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
@@ -193,7 +193,7 @@ let T = class extends HTMLElement {
|
|
|
193
193
|
var i, n;
|
|
194
194
|
const o = this.constructor, C = o._$Eh.get(e);
|
|
195
195
|
if (C !== void 0 && this._$Em !== C) {
|
|
196
|
-
const a = o.getPropertyOptions(C), s = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter :
|
|
196
|
+
const a = o.getPropertyOptions(C), s = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : L1;
|
|
197
197
|
this._$Em = C;
|
|
198
198
|
const c = s.fromAttribute(t, a.type);
|
|
199
199
|
this[C] = c ?? ((n = this._$Ej) == null ? void 0 : n.get(C)) ?? c, this._$Em = null;
|
|
@@ -203,7 +203,7 @@ let T = class extends HTMLElement {
|
|
|
203
203
|
var n;
|
|
204
204
|
if (e !== void 0) {
|
|
205
205
|
const a = this.constructor;
|
|
206
|
-
if (C === !1 && (i = this[e]), o ?? (o = a.getPropertyOptions(e)), !((o.hasChanged ??
|
|
206
|
+
if (C === !1 && (i = this[e]), o ?? (o = a.getPropertyOptions(e)), !((o.hasChanged ?? X1)(i, t) || o.useDefault && o.reflect && i === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(a._$Eu(e, o)))) return;
|
|
207
207
|
this.C(e, t, o);
|
|
208
208
|
}
|
|
209
209
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -279,76 +279,76 @@ let T = class extends HTMLElement {
|
|
|
279
279
|
firstUpdated(e) {
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
|
-
|
|
282
|
+
G.elementStyles = [], G.shadowRootOptions = { mode: "open" }, G[e1("elementProperties")] = /* @__PURE__ */ new Map(), G[e1("finalized")] = /* @__PURE__ */ new Map(), k1 == null || k1({ ReactiveElement: G }), (k.reactiveElementVersions ?? (k.reactiveElementVersions = [])).push("2.1.2");
|
|
283
283
|
/**
|
|
284
284
|
* @license
|
|
285
285
|
* Copyright 2017 Google LLC
|
|
286
286
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
287
287
|
*/
|
|
288
|
-
const
|
|
289
|
-
\f\r]`,
|
|
290
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
291
|
-
function
|
|
292
|
-
if (!
|
|
293
|
-
return
|
|
288
|
+
const t1 = globalThis, U2 = (l) => l, g1 = t1.trustedTypes, j2 = g1 ? g1.createPolicy("lit-html", { createHTML: (l) => l }) : void 0, n5 = "$lit$", w = `lit$${Math.random().toFixed(9).slice(2)}$`, r5 = "?" + w, I5 = `<${r5}>`, D = document, C1 = () => D.createComment(""), o1 = (l) => l === null || typeof l != "object" && typeof l != "function", J1 = Array.isArray, T5 = (l) => J1(l) || typeof (l == null ? void 0 : l[Symbol.iterator]) == "function", $1 = `[
|
|
289
|
+
\f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, q2 = /-->/g, G2 = />/g, z = RegExp(`>|${$1}(?:([^\\s"'>=/]+)(${$1}*=${$1}*(?:[^
|
|
290
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Y2 = /'/g, W2 = /"/g, a5 = /^(?:script|style|textarea|title)$/i, s5 = (l) => (e, ...t) => ({ _$litType$: l, strings: e, values: t }), d = s5(1), F1 = s5(2), O = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), K2 = /* @__PURE__ */ new WeakMap(), P = D.createTreeWalker(D, 129);
|
|
291
|
+
function d5(l, e) {
|
|
292
|
+
if (!J1(l) || !l.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
293
|
+
return j2 !== void 0 ? j2.createHTML(e) : e;
|
|
294
294
|
}
|
|
295
|
-
const
|
|
295
|
+
const N5 = (l, e) => {
|
|
296
296
|
const t = l.length - 1, o = [];
|
|
297
|
-
let C, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n =
|
|
297
|
+
let C, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = Q;
|
|
298
298
|
for (let a = 0; a < t; a++) {
|
|
299
299
|
const s = l[a];
|
|
300
|
-
let c,
|
|
301
|
-
for (;
|
|
302
|
-
const
|
|
303
|
-
i += n ===
|
|
300
|
+
let c, u, v = -1, m = 0;
|
|
301
|
+
for (; m < s.length && (n.lastIndex = m, u = n.exec(s), u !== null); ) m = n.lastIndex, n === Q ? u[1] === "!--" ? n = q2 : u[1] !== void 0 ? n = G2 : u[2] !== void 0 ? (a5.test(u[2]) && (C = RegExp("</" + u[2], "g")), n = z) : u[3] !== void 0 && (n = z) : n === z ? u[0] === ">" ? (n = C ?? Q, v = -1) : u[1] === void 0 ? v = -2 : (v = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? z : u[3] === '"' ? W2 : Y2) : n === W2 || n === Y2 ? n = z : n === q2 || n === G2 ? n = Q : (n = z, C = void 0);
|
|
302
|
+
const f = n === z && l[a + 1].startsWith("/>") ? " " : "";
|
|
303
|
+
i += n === Q ? s + I5 : v >= 0 ? (o.push(c), s.slice(0, v) + n5 + s.slice(v) + w + f) : s + w + (v === -2 ? a : f);
|
|
304
304
|
}
|
|
305
|
-
return [
|
|
305
|
+
return [d5(l, i + (l[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
|
|
306
306
|
};
|
|
307
|
-
class
|
|
307
|
+
class l1 {
|
|
308
308
|
constructor({ strings: e, _$litType$: t }, o) {
|
|
309
309
|
let C;
|
|
310
310
|
this.parts = [];
|
|
311
311
|
let i = 0, n = 0;
|
|
312
|
-
const a = e.length - 1, s = this.parts, [c,
|
|
313
|
-
if (this.el =
|
|
312
|
+
const a = e.length - 1, s = this.parts, [c, u] = N5(e, t);
|
|
313
|
+
if (this.el = l1.createElement(c, o), P.currentNode = this.el.content, t === 2 || t === 3) {
|
|
314
314
|
const v = this.el.content.firstChild;
|
|
315
315
|
v.replaceWith(...v.childNodes);
|
|
316
316
|
}
|
|
317
|
-
for (; (C =
|
|
317
|
+
for (; (C = P.nextNode()) !== null && s.length < a; ) {
|
|
318
318
|
if (C.nodeType === 1) {
|
|
319
|
-
if (C.hasAttributes()) for (const v of C.getAttributeNames()) if (v.endsWith(
|
|
320
|
-
const
|
|
321
|
-
s.push({ type: 1, index: i, name: b[2], strings:
|
|
322
|
-
} else v.startsWith(
|
|
323
|
-
if (
|
|
324
|
-
const v = C.textContent.split(
|
|
325
|
-
if (
|
|
326
|
-
C.textContent =
|
|
327
|
-
for (let
|
|
328
|
-
C.append(v[
|
|
319
|
+
if (C.hasAttributes()) for (const v of C.getAttributeNames()) if (v.endsWith(n5)) {
|
|
320
|
+
const m = u[n++], f = C.getAttribute(v).split(w), b = /([.?@])?(.*)/.exec(m);
|
|
321
|
+
s.push({ type: 1, index: i, name: b[2], strings: f, ctor: b[1] === "." ? j5 : b[1] === "?" ? q5 : b[1] === "@" ? G5 : R1 }), C.removeAttribute(v);
|
|
322
|
+
} else v.startsWith(w) && (s.push({ type: 6, index: i }), C.removeAttribute(v));
|
|
323
|
+
if (a5.test(C.tagName)) {
|
|
324
|
+
const v = C.textContent.split(w), m = v.length - 1;
|
|
325
|
+
if (m > 0) {
|
|
326
|
+
C.textContent = g1 ? g1.emptyScript : "";
|
|
327
|
+
for (let f = 0; f < m; f++) C.append(v[f], C1()), P.nextNode(), s.push({ type: 2, index: ++i });
|
|
328
|
+
C.append(v[m], C1());
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
} else if (C.nodeType === 8) if (C.data ===
|
|
331
|
+
} else if (C.nodeType === 8) if (C.data === r5) s.push({ type: 2, index: i });
|
|
332
332
|
else {
|
|
333
333
|
let v = -1;
|
|
334
|
-
for (; (v = C.data.indexOf(
|
|
334
|
+
for (; (v = C.data.indexOf(w, v + 1)) !== -1; ) s.push({ type: 7, index: i }), v += w.length - 1;
|
|
335
335
|
}
|
|
336
336
|
i++;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
static createElement(e, t) {
|
|
340
|
-
const o =
|
|
340
|
+
const o = D.createElement("template");
|
|
341
341
|
return o.innerHTML = e, o;
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function Y(l, e, t = l, o) {
|
|
345
345
|
var n, a;
|
|
346
|
-
if (e ===
|
|
346
|
+
if (e === O) return e;
|
|
347
347
|
let C = o !== void 0 ? (n = t._$Co) == null ? void 0 : n[o] : t._$Cl;
|
|
348
|
-
const i =
|
|
349
|
-
return (C == null ? void 0 : C.constructor) !== i && ((a = C == null ? void 0 : C._$AO) == null || a.call(C, !1), i === void 0 ? C = void 0 : (C = new i(l), C._$AT(l, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = C : t._$Cl = C), C !== void 0 && (e =
|
|
348
|
+
const i = o1(e) ? void 0 : e._$litDirective$;
|
|
349
|
+
return (C == null ? void 0 : C.constructor) !== i && ((a = C == null ? void 0 : C._$AO) == null || a.call(C, !1), i === void 0 ? C = void 0 : (C = new i(l), C._$AT(l, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = C : t._$Cl = C), C !== void 0 && (e = Y(l, C._$AS(l, e.values), C, o)), e;
|
|
350
350
|
}
|
|
351
|
-
class
|
|
351
|
+
class U5 {
|
|
352
352
|
constructor(e, t) {
|
|
353
353
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
354
354
|
}
|
|
@@ -359,30 +359,30 @@ class z5 {
|
|
|
359
359
|
return this._$AM._$AU;
|
|
360
360
|
}
|
|
361
361
|
u(e) {
|
|
362
|
-
const { el: { content: t }, parts: o } = this._$AD, C = ((e == null ? void 0 : e.creationScope) ??
|
|
363
|
-
|
|
364
|
-
let i =
|
|
362
|
+
const { el: { content: t }, parts: o } = this._$AD, C = ((e == null ? void 0 : e.creationScope) ?? D).importNode(t, !0);
|
|
363
|
+
P.currentNode = C;
|
|
364
|
+
let i = P.nextNode(), n = 0, a = 0, s = o[0];
|
|
365
365
|
for (; s !== void 0; ) {
|
|
366
366
|
if (n === s.index) {
|
|
367
367
|
let c;
|
|
368
|
-
s.type === 2 ? c = new
|
|
368
|
+
s.type === 2 ? c = new H1(i, i.nextSibling, this, e) : s.type === 1 ? c = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (c = new Y5(i, this, e)), this._$AV.push(c), s = o[++a];
|
|
369
369
|
}
|
|
370
|
-
n !== (s == null ? void 0 : s.index) && (i =
|
|
370
|
+
n !== (s == null ? void 0 : s.index) && (i = P.nextNode(), n++);
|
|
371
371
|
}
|
|
372
|
-
return
|
|
372
|
+
return P.currentNode = D, C;
|
|
373
373
|
}
|
|
374
374
|
p(e) {
|
|
375
375
|
let t = 0;
|
|
376
376
|
for (const o of this._$AV) o !== void 0 && (o.strings !== void 0 ? (o._$AI(e, o, t), t += o.strings.length - 2) : o._$AI(e[t])), t++;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
class
|
|
379
|
+
class H1 {
|
|
380
380
|
get _$AU() {
|
|
381
381
|
var e;
|
|
382
382
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
|
383
383
|
}
|
|
384
384
|
constructor(e, t, o, C) {
|
|
385
|
-
this.type = 2, this._$AH =
|
|
385
|
+
this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = o, this.options = C, this._$Cv = (C == null ? void 0 : C.isConnected) ?? !0;
|
|
386
386
|
}
|
|
387
387
|
get parentNode() {
|
|
388
388
|
let e = this._$AA.parentNode;
|
|
@@ -396,7 +396,7 @@ class c1 {
|
|
|
396
396
|
return this._$AB;
|
|
397
397
|
}
|
|
398
398
|
_$AI(e, t = this) {
|
|
399
|
-
e =
|
|
399
|
+
e = Y(this, e, t), o1(e) ? e === p || e == null || e === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : e !== this._$AH && e !== O && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : T5(e) ? this.k(e) : this._(e);
|
|
400
400
|
}
|
|
401
401
|
O(e) {
|
|
402
402
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -405,33 +405,33 @@ class c1 {
|
|
|
405
405
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
406
406
|
}
|
|
407
407
|
_(e) {
|
|
408
|
-
this._$AH !==
|
|
408
|
+
this._$AH !== p && o1(this._$AH) ? this._$AA.nextSibling.data = e : this.T(D.createTextNode(e)), this._$AH = e;
|
|
409
409
|
}
|
|
410
410
|
$(e) {
|
|
411
411
|
var i;
|
|
412
|
-
const { values: t, _$litType$: o } = e, C = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el =
|
|
412
|
+
const { values: t, _$litType$: o } = e, C = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = l1.createElement(d5(o.h, o.h[0]), this.options)), o);
|
|
413
413
|
if (((i = this._$AH) == null ? void 0 : i._$AD) === C) this._$AH.p(t);
|
|
414
414
|
else {
|
|
415
|
-
const n = new
|
|
415
|
+
const n = new U5(C, this), a = n.u(this.options);
|
|
416
416
|
n.p(t), this.T(a), this._$AH = n;
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
_$AC(e) {
|
|
420
|
-
let t =
|
|
421
|
-
return t === void 0 &&
|
|
420
|
+
let t = K2.get(e.strings);
|
|
421
|
+
return t === void 0 && K2.set(e.strings, t = new l1(e)), t;
|
|
422
422
|
}
|
|
423
423
|
k(e) {
|
|
424
|
-
|
|
424
|
+
J1(this._$AH) || (this._$AH = [], this._$AR());
|
|
425
425
|
const t = this._$AH;
|
|
426
426
|
let o, C = 0;
|
|
427
|
-
for (const i of e) C === t.length ? t.push(o = new
|
|
427
|
+
for (const i of e) C === t.length ? t.push(o = new H1(this.O(C1()), this.O(C1()), this, this.options)) : o = t[C], o._$AI(i), C++;
|
|
428
428
|
C < t.length && (this._$AR(o && o._$AB.nextSibling, C), t.length = C);
|
|
429
429
|
}
|
|
430
430
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
431
431
|
var o;
|
|
432
432
|
for ((o = this._$AP) == null ? void 0 : o.call(this, !1, !0, t); e !== this._$AB; ) {
|
|
433
|
-
const C =
|
|
434
|
-
|
|
433
|
+
const C = U2(e).nextSibling;
|
|
434
|
+
U2(e).remove(), e = C;
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
setConnected(e) {
|
|
@@ -439,7 +439,7 @@ class c1 {
|
|
|
439
439
|
this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
class
|
|
442
|
+
class R1 {
|
|
443
443
|
get tagName() {
|
|
444
444
|
return this.element.tagName;
|
|
445
445
|
}
|
|
@@ -447,46 +447,46 @@ class m1 {
|
|
|
447
447
|
return this._$AM._$AU;
|
|
448
448
|
}
|
|
449
449
|
constructor(e, t, o, C, i) {
|
|
450
|
-
this.type = 1, this._$AH =
|
|
450
|
+
this.type = 1, this._$AH = p, this._$AN = void 0, this.element = e, this.name = t, this._$AM = C, this.options = i, o.length > 2 || o[0] !== "" || o[1] !== "" ? (this._$AH = Array(o.length - 1).fill(new String()), this.strings = o) : this._$AH = p;
|
|
451
451
|
}
|
|
452
452
|
_$AI(e, t = this, o, C) {
|
|
453
453
|
const i = this.strings;
|
|
454
454
|
let n = !1;
|
|
455
|
-
if (i === void 0) e =
|
|
455
|
+
if (i === void 0) e = Y(this, e, t, 0), n = !o1(e) || e !== this._$AH && e !== O, n && (this._$AH = e);
|
|
456
456
|
else {
|
|
457
457
|
const a = e;
|
|
458
458
|
let s, c;
|
|
459
|
-
for (e = i[0], s = 0; s < i.length - 1; s++) c =
|
|
459
|
+
for (e = i[0], s = 0; s < i.length - 1; s++) c = Y(this, a[o + s], t, s), c === O && (c = this._$AH[s]), n || (n = !o1(c) || c !== this._$AH[s]), c === p ? e = p : e !== p && (e += (c ?? "") + i[s + 1]), this._$AH[s] = c;
|
|
460
460
|
}
|
|
461
461
|
n && !C && this.j(e);
|
|
462
462
|
}
|
|
463
463
|
j(e) {
|
|
464
|
-
e ===
|
|
464
|
+
e === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
|
-
class
|
|
467
|
+
class j5 extends R1 {
|
|
468
468
|
constructor() {
|
|
469
469
|
super(...arguments), this.type = 3;
|
|
470
470
|
}
|
|
471
471
|
j(e) {
|
|
472
|
-
this.element[this.name] = e ===
|
|
472
|
+
this.element[this.name] = e === p ? void 0 : e;
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
class
|
|
475
|
+
class q5 extends R1 {
|
|
476
476
|
constructor() {
|
|
477
477
|
super(...arguments), this.type = 4;
|
|
478
478
|
}
|
|
479
479
|
j(e) {
|
|
480
|
-
this.element.toggleAttribute(this.name, !!e && e !==
|
|
480
|
+
this.element.toggleAttribute(this.name, !!e && e !== p);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
class
|
|
483
|
+
class G5 extends R1 {
|
|
484
484
|
constructor(e, t, o, C, i) {
|
|
485
485
|
super(e, t, o, C, i), this.type = 5;
|
|
486
486
|
}
|
|
487
487
|
_$AI(e, t = this) {
|
|
488
|
-
if ((e =
|
|
489
|
-
const o = this._$AH, C = e ===
|
|
488
|
+
if ((e = Y(this, e, t, 0) ?? p) === O) return;
|
|
489
|
+
const o = this._$AH, C = e === p && o !== p || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, i = e !== p && (o === p || C);
|
|
490
490
|
C && this.element.removeEventListener(this.name, this, o), i && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
491
491
|
}
|
|
492
492
|
handleEvent(e) {
|
|
@@ -494,7 +494,7 @@ class D5 extends m1 {
|
|
|
494
494
|
typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
class
|
|
497
|
+
class Y5 {
|
|
498
498
|
constructor(e, t, o) {
|
|
499
499
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = o;
|
|
500
500
|
}
|
|
@@ -502,17 +502,17 @@ class O5 {
|
|
|
502
502
|
return this._$AM._$AU;
|
|
503
503
|
}
|
|
504
504
|
_$AI(e) {
|
|
505
|
-
|
|
505
|
+
Y(this, e);
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
const
|
|
509
|
-
|
|
510
|
-
const
|
|
508
|
+
const E1 = t1.litHtmlPolyfillSupport;
|
|
509
|
+
E1 == null || E1(l1, H1), (t1.litHtmlVersions ?? (t1.litHtmlVersions = [])).push("3.3.2");
|
|
510
|
+
const W5 = (l, e, t) => {
|
|
511
511
|
const o = (t == null ? void 0 : t.renderBefore) ?? e;
|
|
512
512
|
let C = o._$litPart$;
|
|
513
513
|
if (C === void 0) {
|
|
514
514
|
const i = (t == null ? void 0 : t.renderBefore) ?? null;
|
|
515
|
-
o._$litPart$ = C = new
|
|
515
|
+
o._$litPart$ = C = new H1(e.insertBefore(C1(), i), i, void 0, t ?? {});
|
|
516
516
|
}
|
|
517
517
|
return C._$AI(l), C;
|
|
518
518
|
};
|
|
@@ -521,8 +521,8 @@ const I5 = (l, e, t) => {
|
|
|
521
521
|
* Copyright 2017 Google LLC
|
|
522
522
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
523
523
|
*/
|
|
524
|
-
const
|
|
525
|
-
let h = class extends
|
|
524
|
+
const S = globalThis;
|
|
525
|
+
let h = class extends G {
|
|
526
526
|
constructor() {
|
|
527
527
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
528
528
|
}
|
|
@@ -533,7 +533,7 @@ let h = class extends T {
|
|
|
533
533
|
}
|
|
534
534
|
update(e) {
|
|
535
535
|
const t = this.render();
|
|
536
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
536
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = W5(t, this.renderRoot, this.renderOptions);
|
|
537
537
|
}
|
|
538
538
|
connectedCallback() {
|
|
539
539
|
var e;
|
|
@@ -544,20 +544,20 @@ let h = class extends T {
|
|
|
544
544
|
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
|
545
545
|
}
|
|
546
546
|
render() {
|
|
547
|
-
return
|
|
547
|
+
return O;
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
|
-
var
|
|
551
|
-
h._$litElement$ = !0, h.finalized = !0, (
|
|
552
|
-
const
|
|
553
|
-
|
|
554
|
-
(
|
|
550
|
+
var l5;
|
|
551
|
+
h._$litElement$ = !0, h.finalized = !0, (l5 = S.litElementHydrateSupport) == null || l5.call(S, { LitElement: h });
|
|
552
|
+
const A1 = S.litElementPolyfillSupport;
|
|
553
|
+
A1 == null || A1({ LitElement: h });
|
|
554
|
+
(S.litElementVersions ?? (S.litElementVersions = [])).push("4.2.2");
|
|
555
555
|
/**
|
|
556
556
|
* @license
|
|
557
557
|
* Copyright 2017 Google LLC
|
|
558
558
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
559
559
|
*/
|
|
560
|
-
const
|
|
560
|
+
const K5 = { attribute: !0, type: String, converter: L1, reflect: !1, hasChanged: X1 }, X5 = (l = K5, e, t) => {
|
|
561
561
|
const { kind: o, metadata: C } = t;
|
|
562
562
|
let i = globalThis.litPropertyMetadata.get(C);
|
|
563
563
|
if (i === void 0 && globalThis.litPropertyMetadata.set(C, i = /* @__PURE__ */ new Map()), o === "setter" && ((l = Object.create(l)).wrapped = !0), i.set(t.name, l), o === "accessor") {
|
|
@@ -579,7 +579,7 @@ const T5 = { attribute: !0, type: String, converter: v1, reflect: !1, hasChanged
|
|
|
579
579
|
throw Error("Unsupported decorator location: " + o);
|
|
580
580
|
};
|
|
581
581
|
function r(l) {
|
|
582
|
-
return (e, t) => typeof t == "object" ?
|
|
582
|
+
return (e, t) => typeof t == "object" ? X5(l, e, t) : ((o, C, i) => {
|
|
583
583
|
const n = C.hasOwnProperty(i);
|
|
584
584
|
return C.constructor.createProperty(i, o), n ? Object.getOwnPropertyDescriptor(C, i) : void 0;
|
|
585
585
|
})(l, e, t);
|
|
@@ -589,7 +589,7 @@ function r(l) {
|
|
|
589
589
|
* Copyright 2017 Google LLC
|
|
590
590
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
591
591
|
*/
|
|
592
|
-
function
|
|
592
|
+
function T(l) {
|
|
593
593
|
return r({ ...l, state: !0, attribute: !1 });
|
|
594
594
|
}
|
|
595
595
|
/**
|
|
@@ -597,29 +597,29 @@ function u1(l) {
|
|
|
597
597
|
* Copyright 2017 Google LLC
|
|
598
598
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
599
599
|
*/
|
|
600
|
-
const
|
|
600
|
+
const J5 = (l, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(l, e, t), t);
|
|
601
601
|
/**
|
|
602
602
|
* @license
|
|
603
603
|
* Copyright 2017 Google LLC
|
|
604
604
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
605
605
|
*/
|
|
606
|
-
function
|
|
606
|
+
function N(l, e) {
|
|
607
607
|
return (t, o, C) => {
|
|
608
608
|
const i = (n) => {
|
|
609
609
|
var a;
|
|
610
610
|
return ((a = n.renderRoot) == null ? void 0 : a.querySelector(l)) ?? null;
|
|
611
611
|
};
|
|
612
|
-
return
|
|
612
|
+
return J5(t, o, { get() {
|
|
613
613
|
return i(this);
|
|
614
614
|
} });
|
|
615
615
|
};
|
|
616
616
|
}
|
|
617
|
-
var
|
|
617
|
+
var Q5 = Object.defineProperty, c5 = (l, e, t, o) => {
|
|
618
618
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
619
619
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
620
|
-
return C &&
|
|
620
|
+
return C && Q5(e, t, C), C;
|
|
621
621
|
};
|
|
622
|
-
const
|
|
622
|
+
const C2 = class C2 extends h {
|
|
623
623
|
constructor() {
|
|
624
624
|
super(...arguments), this.size = "medium", this.percent = "";
|
|
625
625
|
}
|
|
@@ -642,7 +642,7 @@ const X1 = class X1 extends h {
|
|
|
642
642
|
let C;
|
|
643
643
|
o ? C = 0.75 * Math.PI * e : C = (1 - Math.max(0, Math.min(1, parseFloat(this.percent) || 0))) * Math.PI * e;
|
|
644
644
|
const i = t / 2, n = t + e, a = e / 2, s = Math.PI * e;
|
|
645
|
-
return
|
|
645
|
+
return F1`
|
|
646
646
|
<svg
|
|
647
647
|
class=${o ? "spinner" : ""}
|
|
648
648
|
width="${e}px"
|
|
@@ -676,20 +676,20 @@ const X1 = class X1 extends h {
|
|
|
676
676
|
`;
|
|
677
677
|
}
|
|
678
678
|
};
|
|
679
|
-
|
|
679
|
+
C2.styles = H`
|
|
680
680
|
:host { display: inline-block; line-height: 0; font-family: var(--font-sans); }
|
|
681
681
|
.spinner { animation: circle 0.6s linear infinite; }
|
|
682
682
|
@keyframes circle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
|
683
683
|
`;
|
|
684
|
-
let
|
|
685
|
-
|
|
684
|
+
let i1 = C2;
|
|
685
|
+
c5([
|
|
686
686
|
r()
|
|
687
|
-
],
|
|
688
|
-
|
|
687
|
+
], i1.prototype, "size");
|
|
688
|
+
c5([
|
|
689
689
|
r()
|
|
690
|
-
],
|
|
691
|
-
customElements.get("anduin-spinner") || customElements.define("anduin-spinner",
|
|
692
|
-
const
|
|
690
|
+
], i1.prototype, "percent");
|
|
691
|
+
customElements.get("anduin-spinner") || customElements.define("anduin-spinner", i1);
|
|
692
|
+
const X2 = {
|
|
693
693
|
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" }],
|
|
694
694
|
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" }],
|
|
695
695
|
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" }],
|
|
@@ -1026,18 +1026,18 @@ const U2 = {
|
|
|
1026
1026
|
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" }],
|
|
1027
1027
|
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" }]
|
|
1028
1028
|
};
|
|
1029
|
-
var
|
|
1029
|
+
var e4 = Object.defineProperty, p5 = (l, e, t, o) => {
|
|
1030
1030
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1031
1031
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1032
|
-
return C &&
|
|
1032
|
+
return C && e4(e, t, C), C;
|
|
1033
1033
|
};
|
|
1034
|
-
const
|
|
1034
|
+
const o2 = class o2 extends h {
|
|
1035
1035
|
constructor() {
|
|
1036
1036
|
super(...arguments), this.name = "", this.size = 16;
|
|
1037
1037
|
}
|
|
1038
1038
|
render() {
|
|
1039
|
-
const e = this.name &&
|
|
1040
|
-
return
|
|
1039
|
+
const e = this.name && X2[this.name] ? X2[this.name] : [], t = !this.name;
|
|
1040
|
+
return F1`
|
|
1041
1041
|
<svg
|
|
1042
1042
|
class=${t ? "icon--hidden" : ""}
|
|
1043
1043
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -1047,36 +1047,36 @@ const J1 = class J1 extends h {
|
|
|
1047
1047
|
viewBox="0 0 16 16"
|
|
1048
1048
|
>
|
|
1049
1049
|
${e.map(
|
|
1050
|
-
(o) =>
|
|
1050
|
+
(o) => F1`
|
|
1051
1051
|
<path
|
|
1052
1052
|
fill="currentColor"
|
|
1053
1053
|
d="${o.d}"
|
|
1054
|
-
fill-rule="${o.fillRule ??
|
|
1055
|
-
clip-rule="${o.clipRule ??
|
|
1054
|
+
fill-rule="${o.fillRule ?? p}"
|
|
1055
|
+
clip-rule="${o.clipRule ?? p}"
|
|
1056
1056
|
/>`
|
|
1057
1057
|
)}
|
|
1058
1058
|
</svg>
|
|
1059
1059
|
`;
|
|
1060
1060
|
}
|
|
1061
1061
|
};
|
|
1062
|
-
|
|
1062
|
+
o2.styles = H`
|
|
1063
1063
|
:host { display: block; line-height: 0; font-family: var(--font-sans); }
|
|
1064
1064
|
.icon--hidden { display: none; }
|
|
1065
1065
|
`;
|
|
1066
|
-
let
|
|
1067
|
-
|
|
1066
|
+
let n1 = o2;
|
|
1067
|
+
p5([
|
|
1068
1068
|
r()
|
|
1069
|
-
],
|
|
1070
|
-
|
|
1069
|
+
], n1.prototype, "name");
|
|
1070
|
+
p5([
|
|
1071
1071
|
r({ type: Number })
|
|
1072
|
-
],
|
|
1073
|
-
customElements.get("anduin-icon") || customElements.define("anduin-icon",
|
|
1074
|
-
var
|
|
1072
|
+
], n1.prototype, "size");
|
|
1073
|
+
customElements.get("anduin-icon") || customElements.define("anduin-icon", n1);
|
|
1074
|
+
var t4 = Object.defineProperty, C4 = (l, e, t, o) => {
|
|
1075
1075
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1076
1076
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1077
|
-
return C &&
|
|
1077
|
+
return C && t4(e, t, C), C;
|
|
1078
1078
|
};
|
|
1079
|
-
const
|
|
1079
|
+
const u5 = H`
|
|
1080
1080
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1081
1081
|
.badge {
|
|
1082
1082
|
border-radius: 9999px;
|
|
@@ -1103,7 +1103,7 @@ const i5 = H`
|
|
|
1103
1103
|
.badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
|
|
1104
1104
|
.badge--hidden { display: none; }
|
|
1105
1105
|
`;
|
|
1106
|
-
function
|
|
1106
|
+
function h5(l) {
|
|
1107
1107
|
return {
|
|
1108
1108
|
gray: "badge--light-gray",
|
|
1109
1109
|
primary: "badge--light-primary",
|
|
@@ -1117,27 +1117,27 @@ function n5(l) {
|
|
|
1117
1117
|
boldDanger: "badge--bold-danger"
|
|
1118
1118
|
}[l || "gray"] || "badge--light-gray";
|
|
1119
1119
|
}
|
|
1120
|
-
const
|
|
1120
|
+
const l2 = class l2 extends h {
|
|
1121
1121
|
constructor() {
|
|
1122
1122
|
super(...arguments), this.variant = "gray";
|
|
1123
1123
|
}
|
|
1124
1124
|
render() {
|
|
1125
|
-
const e =
|
|
1125
|
+
const e = h5(this.variant);
|
|
1126
1126
|
return d`<div class="badge ${e}" part="badge"><slot></slot></div>`;
|
|
1127
1127
|
}
|
|
1128
1128
|
};
|
|
1129
|
-
|
|
1130
|
-
let
|
|
1131
|
-
|
|
1129
|
+
l2.styles = [u5];
|
|
1130
|
+
let M1 = l2;
|
|
1131
|
+
C4([
|
|
1132
1132
|
r()
|
|
1133
|
-
],
|
|
1134
|
-
customElements.get("anduin-badge") || customElements.define("anduin-badge",
|
|
1135
|
-
var
|
|
1133
|
+
], M1.prototype, "variant");
|
|
1134
|
+
customElements.get("anduin-badge") || customElements.define("anduin-badge", M1);
|
|
1135
|
+
var o4 = Object.defineProperty, H5 = (l, e, t, o) => {
|
|
1136
1136
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1137
1137
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1138
|
-
return C &&
|
|
1138
|
+
return C && o4(e, t, C), C;
|
|
1139
1139
|
};
|
|
1140
|
-
const
|
|
1140
|
+
const i2 = class i2 extends h {
|
|
1141
1141
|
constructor() {
|
|
1142
1142
|
super(...arguments), this.variant = "gray", this.count = 0;
|
|
1143
1143
|
}
|
|
@@ -1145,7 +1145,7 @@ const e2 = class e2 extends h {
|
|
|
1145
1145
|
return e > 99 ? "99+" : e.toString();
|
|
1146
1146
|
}
|
|
1147
1147
|
render() {
|
|
1148
|
-
const e =
|
|
1148
|
+
const e = h5(this.variant), t = this.count === 0, o = this.count > 0 && this.count < 10, C = [
|
|
1149
1149
|
"badge",
|
|
1150
1150
|
e,
|
|
1151
1151
|
t ? "badge--hidden" : "",
|
|
@@ -1154,24 +1154,24 @@ const e2 = class e2 extends h {
|
|
|
1154
1154
|
return d`<div class="${C}" part="badge">${this.formatCount(this.count)}</div>`;
|
|
1155
1155
|
}
|
|
1156
1156
|
};
|
|
1157
|
-
|
|
1158
|
-
let
|
|
1159
|
-
|
|
1157
|
+
i2.styles = [u5];
|
|
1158
|
+
let r1 = i2;
|
|
1159
|
+
H5([
|
|
1160
1160
|
r()
|
|
1161
|
-
],
|
|
1162
|
-
|
|
1161
|
+
], r1.prototype, "variant");
|
|
1162
|
+
H5([
|
|
1163
1163
|
r({ type: Number })
|
|
1164
|
-
],
|
|
1165
|
-
customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count",
|
|
1166
|
-
var
|
|
1164
|
+
], r1.prototype, "count");
|
|
1165
|
+
customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", r1);
|
|
1166
|
+
var l4 = Object.defineProperty, L = (l, e, t, o) => {
|
|
1167
1167
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1168
1168
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1169
|
-
return C &&
|
|
1169
|
+
return C && l4(e, t, C), C;
|
|
1170
1170
|
};
|
|
1171
|
-
function
|
|
1171
|
+
function i4(l) {
|
|
1172
1172
|
return l.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
|
|
1173
1173
|
}
|
|
1174
|
-
const
|
|
1174
|
+
const n2 = class n2 extends h {
|
|
1175
1175
|
constructor() {
|
|
1176
1176
|
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 = "";
|
|
1177
1177
|
}
|
|
@@ -1188,7 +1188,7 @@ const t2 = class t2 extends h {
|
|
|
1188
1188
|
return this.variant ? this.variant : this.appearance === "filled" ? "gray0" : this.appearance === "text" ? "primary" : "gray9";
|
|
1189
1189
|
}
|
|
1190
1190
|
getSizeKebab() {
|
|
1191
|
-
return
|
|
1191
|
+
return i4(this.size);
|
|
1192
1192
|
}
|
|
1193
1193
|
iconSize() {
|
|
1194
1194
|
return this.size === "tiny" || this.size === "extraSmall" || this.size === "small" ? "12" : "16";
|
|
@@ -1207,32 +1207,32 @@ const t2 = class t2 extends h {
|
|
|
1207
1207
|
this.iconOnly && this.appearance !== "text" && !this.fullWidth ? "button--icon-only" : ""
|
|
1208
1208
|
].filter(Boolean).join(" "), C = d`
|
|
1209
1209
|
<div class="button__content button__content--${t}">
|
|
1210
|
-
${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="${this.iconSize()}"></anduin-icon>` :
|
|
1210
|
+
${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="${this.iconSize()}"></anduin-icon>` : p}
|
|
1211
1211
|
<slot @slotchange=${this.onSlotChange}></slot>
|
|
1212
|
-
${this.endIcon ? d`<anduin-icon name="${this.endIcon}" size="${this.iconSize()}"></anduin-icon>` :
|
|
1212
|
+
${this.endIcon ? d`<anduin-icon name="${this.endIcon}" size="${this.iconSize()}"></anduin-icon>` : p}
|
|
1213
1213
|
</div>
|
|
1214
|
-
${this.loading && this.appearance !== "text" ? d`<div class="button__loading"><anduin-spinner size="small"></anduin-spinner></div>` :
|
|
1214
|
+
${this.loading && this.appearance !== "text" ? d`<div class="button__loading"><anduin-spinner size="small"></anduin-spinner></div>` : p}
|
|
1215
1215
|
`;
|
|
1216
1216
|
return this.href ? d`
|
|
1217
1217
|
<a
|
|
1218
1218
|
class="${o}"
|
|
1219
1219
|
href="${this.disabled ? "" : this.href}"
|
|
1220
|
-
target="${this.openNewTab ? "_blank" :
|
|
1221
|
-
rel="${this.openNewTab ? "noreferrer noopener" :
|
|
1222
|
-
download="${this.download ||
|
|
1223
|
-
aria-label="${this.label ||
|
|
1220
|
+
target="${this.openNewTab ? "_blank" : p}"
|
|
1221
|
+
rel="${this.openNewTab ? "noreferrer noopener" : p}"
|
|
1222
|
+
download="${this.download || p}"
|
|
1223
|
+
aria-label="${this.label || p}"
|
|
1224
1224
|
>${C}</a>
|
|
1225
1225
|
` : d`
|
|
1226
1226
|
<button
|
|
1227
1227
|
type="button"
|
|
1228
1228
|
class="${o}"
|
|
1229
1229
|
?disabled="${this.disabled}"
|
|
1230
|
-
aria-label="${this.label ||
|
|
1230
|
+
aria-label="${this.label || p}"
|
|
1231
1231
|
>${C}</button>
|
|
1232
1232
|
`;
|
|
1233
1233
|
}
|
|
1234
1234
|
};
|
|
1235
|
-
|
|
1235
|
+
n2.styles = H`
|
|
1236
1236
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1237
1237
|
:host([full-width]) { display: block; width: 100%; }
|
|
1238
1238
|
.button {
|
|
@@ -1334,59 +1334,59 @@ t2.styles = H`
|
|
|
1334
1334
|
.button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
|
|
1335
1335
|
.button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
|
|
1336
1336
|
`;
|
|
1337
|
-
let
|
|
1337
|
+
let V = n2;
|
|
1338
1338
|
L([
|
|
1339
|
-
|
|
1340
|
-
],
|
|
1339
|
+
T()
|
|
1340
|
+
], V.prototype, "iconOnly");
|
|
1341
1341
|
L([
|
|
1342
1342
|
r({ converter: (l) => l || "filled" })
|
|
1343
|
-
],
|
|
1343
|
+
], V.prototype, "appearance");
|
|
1344
1344
|
L([
|
|
1345
1345
|
r()
|
|
1346
|
-
],
|
|
1346
|
+
], V.prototype, "variant");
|
|
1347
1347
|
L([
|
|
1348
1348
|
r()
|
|
1349
|
-
],
|
|
1349
|
+
], V.prototype, "size");
|
|
1350
1350
|
L([
|
|
1351
1351
|
r({ type: Boolean })
|
|
1352
|
-
],
|
|
1352
|
+
], V.prototype, "disabled");
|
|
1353
1353
|
L([
|
|
1354
1354
|
r({ type: Boolean })
|
|
1355
|
-
],
|
|
1355
|
+
], V.prototype, "loading");
|
|
1356
1356
|
L([
|
|
1357
1357
|
r({ type: Boolean, attribute: "full-width" })
|
|
1358
|
-
],
|
|
1358
|
+
], V.prototype, "fullWidth");
|
|
1359
1359
|
L([
|
|
1360
1360
|
r({ type: Boolean })
|
|
1361
|
-
],
|
|
1361
|
+
], V.prototype, "pill");
|
|
1362
1362
|
L([
|
|
1363
1363
|
r({ type: Boolean })
|
|
1364
|
-
],
|
|
1364
|
+
], V.prototype, "selected");
|
|
1365
1365
|
L([
|
|
1366
1366
|
r()
|
|
1367
|
-
],
|
|
1367
|
+
], V.prototype, "href");
|
|
1368
1368
|
L([
|
|
1369
1369
|
r({ type: Boolean, attribute: "open-new-tab" })
|
|
1370
|
-
],
|
|
1370
|
+
], V.prototype, "openNewTab");
|
|
1371
1371
|
L([
|
|
1372
1372
|
r()
|
|
1373
|
-
],
|
|
1373
|
+
], V.prototype, "download");
|
|
1374
1374
|
L([
|
|
1375
1375
|
r({ attribute: "start-icon" })
|
|
1376
|
-
],
|
|
1376
|
+
], V.prototype, "startIcon");
|
|
1377
1377
|
L([
|
|
1378
1378
|
r({ attribute: "end-icon" })
|
|
1379
|
-
],
|
|
1379
|
+
], V.prototype, "endIcon");
|
|
1380
1380
|
L([
|
|
1381
1381
|
r()
|
|
1382
|
-
],
|
|
1383
|
-
customElements.get("anduin-button") || customElements.define("anduin-button",
|
|
1384
|
-
var
|
|
1382
|
+
], V.prototype, "label");
|
|
1383
|
+
customElements.get("anduin-button") || customElements.define("anduin-button", V);
|
|
1384
|
+
var n4 = Object.defineProperty, r4 = (l, e, t, o) => {
|
|
1385
1385
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1386
1386
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1387
|
-
return C &&
|
|
1387
|
+
return C && n4(e, t, C), C;
|
|
1388
1388
|
};
|
|
1389
|
-
const
|
|
1389
|
+
const r2 = class r2 extends h {
|
|
1390
1390
|
constructor() {
|
|
1391
1391
|
super(...arguments), this.variant = "gray";
|
|
1392
1392
|
}
|
|
@@ -1399,7 +1399,7 @@ const C2 = class C2 extends h {
|
|
|
1399
1399
|
`;
|
|
1400
1400
|
}
|
|
1401
1401
|
};
|
|
1402
|
-
|
|
1402
|
+
r2.styles = H`
|
|
1403
1403
|
:host { display: block; font-family: var(--font-sans); }
|
|
1404
1404
|
.callout {
|
|
1405
1405
|
display: flex; align-items: center; justify-content: center;
|
|
@@ -1411,17 +1411,17 @@ C2.styles = H`
|
|
|
1411
1411
|
.callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
|
|
1412
1412
|
.callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
|
|
1413
1413
|
`;
|
|
1414
|
-
let
|
|
1415
|
-
|
|
1414
|
+
let m1 = r2;
|
|
1415
|
+
r4([
|
|
1416
1416
|
r()
|
|
1417
|
-
],
|
|
1418
|
-
customElements.get("anduin-callout") || customElements.define("anduin-callout",
|
|
1419
|
-
var
|
|
1417
|
+
], m1.prototype, "variant");
|
|
1418
|
+
customElements.get("anduin-callout") || customElements.define("anduin-callout", m1);
|
|
1419
|
+
var a4 = Object.defineProperty, v5 = (l, e, t, o) => {
|
|
1420
1420
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1421
1421
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1422
|
-
return C &&
|
|
1422
|
+
return C && a4(e, t, C), C;
|
|
1423
1423
|
};
|
|
1424
|
-
const
|
|
1424
|
+
const a2 = class a2 extends h {
|
|
1425
1425
|
constructor() {
|
|
1426
1426
|
super(...arguments), this.direction = "horizontal", this.hasContent = !1;
|
|
1427
1427
|
}
|
|
@@ -1452,7 +1452,7 @@ const o2 = class o2 extends h {
|
|
|
1452
1452
|
</div>` : d`<div class="divider--horizontal divider--horizontal-empty"><slot @slotchange=${this.onSlotChange}></slot></div>`;
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
|
-
|
|
1455
|
+
a2.styles = H`
|
|
1456
1456
|
:host { width: 100%; font-family: var(--font-sans); }
|
|
1457
1457
|
:host([direction="vertical"]) { width: auto; height: 100%; }
|
|
1458
1458
|
.divider--horizontal { margin-top: 8px; margin-bottom: 8px; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 8px; text-align: center; }
|
|
@@ -1462,20 +1462,20 @@ o2.styles = H`
|
|
|
1462
1462
|
.divider--vertical-empty { background-color: var(--color-gray-3); width: 1px; }
|
|
1463
1463
|
.divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
|
|
1464
1464
|
`;
|
|
1465
|
-
let
|
|
1466
|
-
|
|
1465
|
+
let a1 = a2;
|
|
1466
|
+
v5([
|
|
1467
1467
|
r()
|
|
1468
|
-
],
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
],
|
|
1472
|
-
customElements.get("anduin-divider") || customElements.define("anduin-divider",
|
|
1473
|
-
var
|
|
1468
|
+
], a1.prototype, "direction");
|
|
1469
|
+
v5([
|
|
1470
|
+
T()
|
|
1471
|
+
], a1.prototype, "hasContent");
|
|
1472
|
+
customElements.get("anduin-divider") || customElements.define("anduin-divider", a1);
|
|
1473
|
+
var s4 = Object.defineProperty, d4 = (l, e, t, o) => {
|
|
1474
1474
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1475
1475
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1476
|
-
return C &&
|
|
1476
|
+
return C && s4(e, t, C), C;
|
|
1477
1477
|
};
|
|
1478
|
-
const
|
|
1478
|
+
const s2 = class s2 extends h {
|
|
1479
1479
|
constructor() {
|
|
1480
1480
|
super(...arguments), this.variant = "gray";
|
|
1481
1481
|
}
|
|
@@ -1483,7 +1483,7 @@ const l2 = class l2 extends h {
|
|
|
1483
1483
|
return d`<div class="dot dot--${this.variant}" part="dot"></div>`;
|
|
1484
1484
|
}
|
|
1485
1485
|
};
|
|
1486
|
-
|
|
1486
|
+
s2.styles = H`
|
|
1487
1487
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1488
1488
|
.dot { width: 10px; height: 10px; border-radius: 9999px; }
|
|
1489
1489
|
.dot--gray { background-color: var(--color-semantic-gray-6); color: var(--color-semantic-gray-0); }
|
|
@@ -1492,17 +1492,17 @@ l2.styles = H`
|
|
|
1492
1492
|
.dot--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
|
|
1493
1493
|
.dot--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
|
|
1494
1494
|
`;
|
|
1495
|
-
let
|
|
1496
|
-
|
|
1495
|
+
let b1 = s2;
|
|
1496
|
+
d4([
|
|
1497
1497
|
r()
|
|
1498
|
-
],
|
|
1499
|
-
customElements.get("anduin-dot") || customElements.define("anduin-dot",
|
|
1500
|
-
var
|
|
1498
|
+
], b1.prototype, "variant");
|
|
1499
|
+
customElements.get("anduin-dot") || customElements.define("anduin-dot", b1);
|
|
1500
|
+
var c4 = Object.defineProperty, f5 = (l, e, t, o) => {
|
|
1501
1501
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1502
1502
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1503
|
-
return C &&
|
|
1503
|
+
return C && c4(e, t, C), C;
|
|
1504
1504
|
};
|
|
1505
|
-
const
|
|
1505
|
+
const d2 = class d2 extends h {
|
|
1506
1506
|
constructor() {
|
|
1507
1507
|
super(...arguments), this.percent = "", this.height = "medium";
|
|
1508
1508
|
}
|
|
@@ -1518,7 +1518,7 @@ const i2 = class i2 extends h {
|
|
|
1518
1518
|
`;
|
|
1519
1519
|
}
|
|
1520
1520
|
};
|
|
1521
|
-
|
|
1521
|
+
d2.styles = H`
|
|
1522
1522
|
:host { display: block; font-family: var(--font-sans); }
|
|
1523
1523
|
.progress { overflow-x: hidden; position: relative; border-radius: 9999px; }
|
|
1524
1524
|
.progress__fill {
|
|
@@ -1534,20 +1534,20 @@ i2.styles = H`
|
|
|
1534
1534
|
to { transform: translateX(330%); }
|
|
1535
1535
|
}
|
|
1536
1536
|
`;
|
|
1537
|
-
let
|
|
1538
|
-
|
|
1537
|
+
let s1 = d2;
|
|
1538
|
+
f5([
|
|
1539
1539
|
r()
|
|
1540
|
-
],
|
|
1541
|
-
|
|
1540
|
+
], s1.prototype, "percent");
|
|
1541
|
+
f5([
|
|
1542
1542
|
r()
|
|
1543
|
-
],
|
|
1544
|
-
customElements.get("anduin-progress") || customElements.define("anduin-progress",
|
|
1545
|
-
var
|
|
1543
|
+
], s1.prototype, "height");
|
|
1544
|
+
customElements.get("anduin-progress") || customElements.define("anduin-progress", s1);
|
|
1545
|
+
var p4 = Object.defineProperty, J = (l, e, t, o) => {
|
|
1546
1546
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1547
1547
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1548
|
-
return C &&
|
|
1548
|
+
return C && p4(e, t, C), C;
|
|
1549
1549
|
};
|
|
1550
|
-
const
|
|
1550
|
+
const c2 = class c2 extends h {
|
|
1551
1551
|
constructor() {
|
|
1552
1552
|
super(...arguments), this.effect = "pulse", this.shape = "rectangle", this.height = "", this.width = "100%", this.duration = 1500, this.fontSize = "";
|
|
1553
1553
|
}
|
|
@@ -1566,7 +1566,7 @@ const n2 = class n2 extends h {
|
|
|
1566
1566
|
`;
|
|
1567
1567
|
}
|
|
1568
1568
|
};
|
|
1569
|
-
|
|
1569
|
+
c2.styles = H`
|
|
1570
1570
|
:host { display: block; height: 100%; font-family: var(--font-sans); }
|
|
1571
1571
|
.skeleton { background-color: var(--color-gray-3); position: relative; overflow: hidden; }
|
|
1572
1572
|
.skeleton--circle { border-radius: 9999px; }
|
|
@@ -1585,32 +1585,32 @@ n2.styles = H`
|
|
|
1585
1585
|
0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
|
|
1586
1586
|
}
|
|
1587
1587
|
`;
|
|
1588
|
-
let R =
|
|
1589
|
-
|
|
1588
|
+
let R = c2;
|
|
1589
|
+
J([
|
|
1590
1590
|
r()
|
|
1591
1591
|
], R.prototype, "effect");
|
|
1592
|
-
|
|
1592
|
+
J([
|
|
1593
1593
|
r()
|
|
1594
1594
|
], R.prototype, "shape");
|
|
1595
|
-
|
|
1595
|
+
J([
|
|
1596
1596
|
r()
|
|
1597
1597
|
], R.prototype, "height");
|
|
1598
|
-
|
|
1598
|
+
J([
|
|
1599
1599
|
r()
|
|
1600
1600
|
], R.prototype, "width");
|
|
1601
|
-
|
|
1601
|
+
J([
|
|
1602
1602
|
r({ type: Number })
|
|
1603
1603
|
], R.prototype, "duration");
|
|
1604
|
-
|
|
1604
|
+
J([
|
|
1605
1605
|
r({ attribute: "font-size" })
|
|
1606
1606
|
], R.prototype, "fontSize");
|
|
1607
1607
|
customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", R);
|
|
1608
|
-
var
|
|
1608
|
+
var u4 = Object.defineProperty, h4 = (l, e, t, o) => {
|
|
1609
1609
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1610
1610
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1611
|
-
return C &&
|
|
1611
|
+
return C && u4(e, t, C), C;
|
|
1612
1612
|
};
|
|
1613
|
-
const
|
|
1613
|
+
const p2 = class p2 extends h {
|
|
1614
1614
|
constructor() {
|
|
1615
1615
|
super(...arguments), this.height = "256px";
|
|
1616
1616
|
}
|
|
@@ -1625,30 +1625,30 @@ const r2 = class r2 extends h {
|
|
|
1625
1625
|
`;
|
|
1626
1626
|
}
|
|
1627
1627
|
};
|
|
1628
|
-
|
|
1628
|
+
p2.styles = H`
|
|
1629
1629
|
:host { display: block; height: 100%; font-family: var(--font-sans); }
|
|
1630
1630
|
.loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
|
|
1631
1631
|
.loading-state__indicator { color: var(--color-primary-4); }
|
|
1632
1632
|
.loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-gray-6); }
|
|
1633
1633
|
`;
|
|
1634
|
-
let
|
|
1635
|
-
|
|
1634
|
+
let Z1 = p2;
|
|
1635
|
+
h4([
|
|
1636
1636
|
r()
|
|
1637
|
-
],
|
|
1638
|
-
customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state",
|
|
1639
|
-
var
|
|
1637
|
+
], Z1.prototype, "height");
|
|
1638
|
+
customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", Z1);
|
|
1639
|
+
var H4 = Object.defineProperty, Q1 = (l, e, t, o) => {
|
|
1640
1640
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1641
1641
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1642
|
-
return C &&
|
|
1642
|
+
return C && H4(e, t, C), C;
|
|
1643
1643
|
};
|
|
1644
|
-
const
|
|
1644
|
+
const V5 = "anduin-field:label-click", _1 = "anduin-field:label-click-coordinated", u2 = class u2 extends h {
|
|
1645
1645
|
constructor() {
|
|
1646
1646
|
super(...arguments), this.orientation = "vertical";
|
|
1647
1647
|
}
|
|
1648
1648
|
connectedCallback() {
|
|
1649
|
-
super.connectedCallback(), this.addEventListener(
|
|
1649
|
+
super.connectedCallback(), this.addEventListener(V5, (e) => {
|
|
1650
1650
|
const t = e;
|
|
1651
|
-
this.dispatchEvent(new CustomEvent(
|
|
1651
|
+
this.dispatchEvent(new CustomEvent(_1, {
|
|
1652
1652
|
detail: t.detail,
|
|
1653
1653
|
bubbles: !1,
|
|
1654
1654
|
composed: !1
|
|
@@ -1664,17 +1664,17 @@ const d5 = "anduin-field:label-click", y1 = "anduin-field:label-click-coordinate
|
|
|
1664
1664
|
`;
|
|
1665
1665
|
}
|
|
1666
1666
|
};
|
|
1667
|
-
|
|
1667
|
+
u2.styles = H`
|
|
1668
1668
|
:host { display: block; font-family: var(--font-sans); }
|
|
1669
1669
|
.field { display: flex; flex-wrap: wrap; }
|
|
1670
1670
|
.field--vertical { flex-direction: column; row-gap: 4px; }
|
|
1671
1671
|
.field--horizontal { column-gap: 4px; }
|
|
1672
1672
|
`;
|
|
1673
|
-
let
|
|
1674
|
-
|
|
1673
|
+
let y1 = u2;
|
|
1674
|
+
Q1([
|
|
1675
1675
|
r()
|
|
1676
|
-
],
|
|
1677
|
-
const
|
|
1676
|
+
], y1.prototype, "orientation");
|
|
1677
|
+
const h2 = class h2 extends h {
|
|
1678
1678
|
constructor() {
|
|
1679
1679
|
super(...arguments), this.htmlfor = "", this.required = !1;
|
|
1680
1680
|
}
|
|
@@ -1682,7 +1682,7 @@ const s2 = class s2 extends h {
|
|
|
1682
1682
|
super.connectedCallback();
|
|
1683
1683
|
}
|
|
1684
1684
|
onLabelClick(e) {
|
|
1685
|
-
this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(
|
|
1685
|
+
this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(V5, {
|
|
1686
1686
|
detail: this.htmlfor,
|
|
1687
1687
|
bubbles: !0,
|
|
1688
1688
|
composed: !0
|
|
@@ -1701,72 +1701,72 @@ const s2 = class s2 extends h {
|
|
|
1701
1701
|
`;
|
|
1702
1702
|
}
|
|
1703
1703
|
};
|
|
1704
|
-
|
|
1704
|
+
h2.styles = H`
|
|
1705
1705
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1706
1706
|
.field-label { font-size: 13px; line-height: 20px; font-weight: 600; cursor: default; }
|
|
1707
1707
|
.field-label__required { color: var(--color-danger-5); }
|
|
1708
1708
|
`;
|
|
1709
|
-
let
|
|
1710
|
-
|
|
1709
|
+
let d1 = h2;
|
|
1710
|
+
Q1([
|
|
1711
1711
|
r()
|
|
1712
|
-
],
|
|
1713
|
-
|
|
1712
|
+
], d1.prototype, "htmlfor");
|
|
1713
|
+
Q1([
|
|
1714
1714
|
r({ type: Boolean })
|
|
1715
|
-
],
|
|
1716
|
-
const
|
|
1715
|
+
], d1.prototype, "required");
|
|
1716
|
+
const H2 = class H2 extends h {
|
|
1717
1717
|
render() {
|
|
1718
1718
|
return d`<div class="field-description" part="description"><slot></slot></div>`;
|
|
1719
1719
|
}
|
|
1720
1720
|
};
|
|
1721
|
-
|
|
1721
|
+
H2.styles = H`
|
|
1722
1722
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1723
1723
|
.field-description { display: block; line-height: 16px; font-size: 11px; color: var(--color-gray-7); }
|
|
1724
1724
|
`;
|
|
1725
|
-
let
|
|
1726
|
-
const
|
|
1725
|
+
let z1 = H2;
|
|
1726
|
+
const v2 = class v2 extends h {
|
|
1727
1727
|
render() {
|
|
1728
1728
|
return d`<div class="field-error" part="error"><slot></slot></div>`;
|
|
1729
1729
|
}
|
|
1730
1730
|
};
|
|
1731
|
-
|
|
1731
|
+
v2.styles = H`
|
|
1732
1732
|
:host { display: block; font-family: var(--font-sans); }
|
|
1733
1733
|
.field-error { color: var(--color-danger-4); }
|
|
1734
1734
|
`;
|
|
1735
|
-
let
|
|
1736
|
-
const
|
|
1735
|
+
let P1 = v2;
|
|
1736
|
+
const f2 = class f2 extends h {
|
|
1737
1737
|
render() {
|
|
1738
1738
|
return d`<div class="field-group" part="group"><slot></slot></div>`;
|
|
1739
1739
|
}
|
|
1740
1740
|
};
|
|
1741
|
-
|
|
1741
|
+
f2.styles = H`
|
|
1742
1742
|
:host { display: block; font-family: var(--font-sans); }
|
|
1743
1743
|
.field-group { display: flex; flex-direction: column; row-gap: 24px; }
|
|
1744
1744
|
`;
|
|
1745
|
-
let
|
|
1746
|
-
customElements.get("anduin-field") || customElements.define("anduin-field",
|
|
1747
|
-
customElements.get("anduin-field-label") || customElements.define("anduin-field-label",
|
|
1748
|
-
customElements.get("anduin-field-description") || customElements.define("anduin-field-description",
|
|
1749
|
-
customElements.get("anduin-field-error") || customElements.define("anduin-field-error",
|
|
1750
|
-
customElements.get("anduin-field-group") || customElements.define("anduin-field-group",
|
|
1751
|
-
var
|
|
1745
|
+
let S1 = f2;
|
|
1746
|
+
customElements.get("anduin-field") || customElements.define("anduin-field", y1);
|
|
1747
|
+
customElements.get("anduin-field-label") || customElements.define("anduin-field-label", d1);
|
|
1748
|
+
customElements.get("anduin-field-description") || customElements.define("anduin-field-description", z1);
|
|
1749
|
+
customElements.get("anduin-field-error") || customElements.define("anduin-field-error", P1);
|
|
1750
|
+
customElements.get("anduin-field-group") || customElements.define("anduin-field-group", S1);
|
|
1751
|
+
var v4 = Object.defineProperty, v1 = (l, e, t, o) => {
|
|
1752
1752
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1753
1753
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1754
|
-
return C &&
|
|
1754
|
+
return C && v4(e, t, C), C;
|
|
1755
1755
|
};
|
|
1756
|
-
const
|
|
1756
|
+
const f4 = "anduin-checkbox:change", V2 = class V2 extends h {
|
|
1757
1757
|
constructor() {
|
|
1758
1758
|
super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
|
|
1759
1759
|
}
|
|
1760
1760
|
connectedCallback() {
|
|
1761
1761
|
super.connectedCallback();
|
|
1762
1762
|
const e = this.closest("anduin-field");
|
|
1763
|
-
e && e.addEventListener(
|
|
1763
|
+
e && e.addEventListener(_1, (t) => {
|
|
1764
1764
|
const o = t;
|
|
1765
1765
|
this.inputid && this.inputid === o.detail && !this.disabled && !this.readonly && this.toggle();
|
|
1766
1766
|
});
|
|
1767
1767
|
}
|
|
1768
1768
|
toggle() {
|
|
1769
|
-
this.checked = !this.checked, this.dispatchEvent(new CustomEvent(
|
|
1769
|
+
this.checked = !this.checked, this.dispatchEvent(new CustomEvent(f4, {
|
|
1770
1770
|
detail: this.checked,
|
|
1771
1771
|
bubbles: !0,
|
|
1772
1772
|
composed: !0
|
|
@@ -1794,17 +1794,17 @@ const s4 = "anduin-checkbox:change", p2 = class p2 extends h {
|
|
|
1794
1794
|
.checked=${this.checked}
|
|
1795
1795
|
?disabled=${this.disabled || this.readonly}
|
|
1796
1796
|
tabindex="${C}"
|
|
1797
|
-
@change=${o ? this.onInputChange :
|
|
1797
|
+
@change=${o ? this.onInputChange : p}
|
|
1798
1798
|
/>
|
|
1799
1799
|
<div class="${e}" tabindex="${C}"></div>
|
|
1800
1800
|
<div class="checkbox__icon ${this.indeterminate || this.checked ? "checkbox__icon--visible" : ""}">
|
|
1801
|
-
${t ? d`<anduin-icon name="${t}" size="16"></anduin-icon>` :
|
|
1801
|
+
${t ? d`<anduin-icon name="${t}" size="16"></anduin-icon>` : p}
|
|
1802
1802
|
</div>
|
|
1803
1803
|
</div>
|
|
1804
1804
|
`;
|
|
1805
1805
|
}
|
|
1806
1806
|
};
|
|
1807
|
-
|
|
1807
|
+
V2.styles = H`
|
|
1808
1808
|
:host { display: inline-flex; font-family: var(--font-sans); }
|
|
1809
1809
|
.checkbox { width: 16px; height: 16px; position: relative; }
|
|
1810
1810
|
.checkbox--interactive { cursor: pointer; }
|
|
@@ -1827,36 +1827,36 @@ p2.styles = H`
|
|
|
1827
1827
|
.checkbox__icon { position: absolute; inset: 0; pointer-events: none; color: var(--color-gray-4); display: flex; align-items: center; justify-content: center; }
|
|
1828
1828
|
.checkbox__icon--visible { color: var(--color-gray-0); }
|
|
1829
1829
|
`;
|
|
1830
|
-
let
|
|
1831
|
-
|
|
1830
|
+
let E = V2;
|
|
1831
|
+
v1([
|
|
1832
1832
|
r({ type: Boolean })
|
|
1833
|
-
],
|
|
1834
|
-
|
|
1833
|
+
], E.prototype, "checked");
|
|
1834
|
+
v1([
|
|
1835
1835
|
r({ type: Boolean })
|
|
1836
|
-
],
|
|
1837
|
-
|
|
1836
|
+
], E.prototype, "disabled");
|
|
1837
|
+
v1([
|
|
1838
1838
|
r({ type: Boolean })
|
|
1839
|
-
],
|
|
1840
|
-
|
|
1839
|
+
], E.prototype, "indeterminate");
|
|
1840
|
+
v1([
|
|
1841
1841
|
r({ type: Boolean })
|
|
1842
|
-
],
|
|
1843
|
-
|
|
1842
|
+
], E.prototype, "readonly");
|
|
1843
|
+
v1([
|
|
1844
1844
|
r()
|
|
1845
|
-
],
|
|
1846
|
-
customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox",
|
|
1847
|
-
var
|
|
1845
|
+
], E.prototype, "inputid");
|
|
1846
|
+
customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", E);
|
|
1847
|
+
var V4 = Object.defineProperty, y = (l, e, t, o) => {
|
|
1848
1848
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
1849
1849
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
1850
|
-
return C &&
|
|
1850
|
+
return C && V4(e, t, C), C;
|
|
1851
1851
|
};
|
|
1852
|
-
const
|
|
1852
|
+
const J2 = "anduin-input:change", L4 = "anduin-input:clear", L2 = class L2 extends h {
|
|
1853
1853
|
constructor() {
|
|
1854
1854
|
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;
|
|
1855
1855
|
}
|
|
1856
1856
|
connectedCallback() {
|
|
1857
1857
|
super.connectedCallback();
|
|
1858
1858
|
const e = this.closest("anduin-field");
|
|
1859
|
-
e && e.addEventListener(
|
|
1859
|
+
e && e.addEventListener(_1, (t) => {
|
|
1860
1860
|
var C;
|
|
1861
1861
|
const o = t;
|
|
1862
1862
|
this.inputid && this.inputid === o.detail && ((C = this.inputEl) == null || C.focus());
|
|
@@ -1866,7 +1866,7 @@ const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 exten
|
|
|
1866
1866
|
this.inputEl && this.inputEl.value !== this.value && (this.inputEl.value = this.value);
|
|
1867
1867
|
}
|
|
1868
1868
|
onInput() {
|
|
1869
|
-
this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(
|
|
1869
|
+
this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(J2, {
|
|
1870
1870
|
detail: this.value,
|
|
1871
1871
|
bubbles: !0,
|
|
1872
1872
|
composed: !0
|
|
@@ -1874,7 +1874,7 @@ const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 exten
|
|
|
1874
1874
|
}
|
|
1875
1875
|
onClear() {
|
|
1876
1876
|
var e;
|
|
1877
|
-
this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(
|
|
1877
|
+
this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(J2, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(L4, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
|
|
1878
1878
|
}
|
|
1879
1879
|
render() {
|
|
1880
1880
|
const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", o = !!this.startIcon, C = !!this.endIcon || this.clearable && !!this.value, i = 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";
|
|
@@ -1884,7 +1884,7 @@ const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 exten
|
|
|
1884
1884
|
<span class="input__start">
|
|
1885
1885
|
<anduin-icon name=${this.startIcon} size=${n}></anduin-icon>
|
|
1886
1886
|
</span>
|
|
1887
|
-
` :
|
|
1887
|
+
` : p}
|
|
1888
1888
|
|
|
1889
1889
|
<input
|
|
1890
1890
|
class="input ${e}
|
|
@@ -1908,17 +1908,17 @@ const j2 = "anduin-input:change", c4 = "anduin-input:clear", h2 = class h2 exten
|
|
|
1908
1908
|
<button class="input__clear" type="button" @click=${this.onClear} aria-label="Clear">
|
|
1909
1909
|
<anduin-icon name="cross" size=${a}></anduin-icon>
|
|
1910
1910
|
</button>
|
|
1911
|
-
` :
|
|
1911
|
+
` : p}
|
|
1912
1912
|
${this.endIcon ? d`
|
|
1913
1913
|
<anduin-icon name=${this.endIcon} size=${n}></anduin-icon>
|
|
1914
|
-
` :
|
|
1914
|
+
` : p}
|
|
1915
1915
|
</span>
|
|
1916
|
-
` :
|
|
1916
|
+
` : p}
|
|
1917
1917
|
</div>
|
|
1918
1918
|
`;
|
|
1919
1919
|
}
|
|
1920
1920
|
};
|
|
1921
|
-
|
|
1921
|
+
L2.styles = H`
|
|
1922
1922
|
:host { display: block; font-family: var(--font-sans); }
|
|
1923
1923
|
|
|
1924
1924
|
.input-wrapper { position: relative; display: flex; align-items: center; }
|
|
@@ -1972,7 +1972,7 @@ h2.styles = H`
|
|
|
1972
1972
|
}
|
|
1973
1973
|
.input__clear:hover { color: var(--color-gray-7); }
|
|
1974
1974
|
`;
|
|
1975
|
-
let g =
|
|
1975
|
+
let g = L2;
|
|
1976
1976
|
y([
|
|
1977
1977
|
r()
|
|
1978
1978
|
], g.prototype, "value");
|
|
@@ -2004,22 +2004,22 @@ y([
|
|
|
2004
2004
|
r({ type: Boolean })
|
|
2005
2005
|
], g.prototype, "clearable");
|
|
2006
2006
|
y([
|
|
2007
|
-
|
|
2007
|
+
N("input")
|
|
2008
2008
|
], g.prototype, "inputEl");
|
|
2009
2009
|
customElements.get("anduin-input") || customElements.define("anduin-input", g);
|
|
2010
|
-
var
|
|
2010
|
+
var g4 = Object.defineProperty, B = (l, e, t, o) => {
|
|
2011
2011
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
2012
2012
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
2013
|
-
return C &&
|
|
2013
|
+
return C && g4(e, t, C), C;
|
|
2014
2014
|
};
|
|
2015
|
-
const
|
|
2015
|
+
const M4 = "anduin-textarea:change", g2 = class g2 extends h {
|
|
2016
2016
|
constructor() {
|
|
2017
2017
|
super(...arguments), this.value = "", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.rows = 3, this.status = "";
|
|
2018
2018
|
}
|
|
2019
2019
|
connectedCallback() {
|
|
2020
2020
|
super.connectedCallback();
|
|
2021
2021
|
const e = this.closest("anduin-field");
|
|
2022
|
-
e && e.addEventListener(
|
|
2022
|
+
e && e.addEventListener(_1, (t) => {
|
|
2023
2023
|
var C;
|
|
2024
2024
|
const o = t;
|
|
2025
2025
|
this.inputid && this.inputid === o.detail && ((C = this.textareaEl) == null || C.focus());
|
|
@@ -2029,7 +2029,7 @@ const p4 = "anduin-textarea:change", H2 = class H2 extends h {
|
|
|
2029
2029
|
this.textareaEl && this.textareaEl.value !== this.value && (this.textareaEl.value = this.value);
|
|
2030
2030
|
}
|
|
2031
2031
|
onInput() {
|
|
2032
|
-
this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(
|
|
2032
|
+
this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(M4, {
|
|
2033
2033
|
detail: this.value,
|
|
2034
2034
|
bubbles: !0,
|
|
2035
2035
|
composed: !0
|
|
@@ -2054,7 +2054,7 @@ const p4 = "anduin-textarea:change", H2 = class H2 extends h {
|
|
|
2054
2054
|
`;
|
|
2055
2055
|
}
|
|
2056
2056
|
};
|
|
2057
|
-
|
|
2057
|
+
g2.styles = H`
|
|
2058
2058
|
:host { display: block; font-family: var(--font-sans); }
|
|
2059
2059
|
|
|
2060
2060
|
.textarea {
|
|
@@ -2071,46 +2071,46 @@ H2.styles = H`
|
|
|
2071
2071
|
.textarea--warning { border-color: var(--color-warning-4); }
|
|
2072
2072
|
.textarea--loading { border-color: var(--color-gray-4); }
|
|
2073
2073
|
`;
|
|
2074
|
-
let
|
|
2075
|
-
|
|
2074
|
+
let Z = g2;
|
|
2075
|
+
B([
|
|
2076
2076
|
r()
|
|
2077
|
-
],
|
|
2078
|
-
|
|
2077
|
+
], Z.prototype, "value");
|
|
2078
|
+
B([
|
|
2079
2079
|
r({ type: Boolean })
|
|
2080
|
-
],
|
|
2081
|
-
|
|
2080
|
+
], Z.prototype, "disabled");
|
|
2081
|
+
B([
|
|
2082
2082
|
r({ type: Boolean })
|
|
2083
|
-
],
|
|
2084
|
-
|
|
2083
|
+
], Z.prototype, "readonly");
|
|
2084
|
+
B([
|
|
2085
2085
|
r()
|
|
2086
|
-
],
|
|
2087
|
-
|
|
2086
|
+
], Z.prototype, "placeholder");
|
|
2087
|
+
B([
|
|
2088
2088
|
r()
|
|
2089
|
-
],
|
|
2090
|
-
|
|
2089
|
+
], Z.prototype, "inputid");
|
|
2090
|
+
B([
|
|
2091
2091
|
r({ type: Number })
|
|
2092
|
-
],
|
|
2093
|
-
|
|
2092
|
+
], Z.prototype, "rows");
|
|
2093
|
+
B([
|
|
2094
2094
|
r()
|
|
2095
|
-
],
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
],
|
|
2099
|
-
customElements.get("anduin-textarea") || customElements.define("anduin-textarea",
|
|
2100
|
-
var
|
|
2095
|
+
], Z.prototype, "status");
|
|
2096
|
+
B([
|
|
2097
|
+
N("textarea")
|
|
2098
|
+
], Z.prototype, "textareaEl");
|
|
2099
|
+
customElements.get("anduin-textarea") || customElements.define("anduin-textarea", Z);
|
|
2100
|
+
var m4 = Object.defineProperty, M = (l, e, t, o) => {
|
|
2101
2101
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
2102
2102
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
2103
|
-
return C &&
|
|
2103
|
+
return C && m4(e, t, C), C;
|
|
2104
2104
|
};
|
|
2105
|
-
const
|
|
2105
|
+
const L5 = "anduin-tab:trigger-click", w1 = "anduin-tab:value-changed", b4 = "anduin-tab:change", M2 = class M2 extends h {
|
|
2106
2106
|
constructor() {
|
|
2107
2107
|
super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
|
|
2108
2108
|
}
|
|
2109
2109
|
connectedCallback() {
|
|
2110
|
-
super.connectedCallback(), this.addEventListener(
|
|
2110
|
+
super.connectedCallback(), this.addEventListener(L5, (e) => {
|
|
2111
2111
|
e.stopPropagation();
|
|
2112
2112
|
const t = e;
|
|
2113
|
-
this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(
|
|
2113
|
+
this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(b4, { detail: t.detail, bubbles: !0, composed: !0 }));
|
|
2114
2114
|
}), requestAnimationFrame(() => {
|
|
2115
2115
|
const e = this.value || this.defaultValue;
|
|
2116
2116
|
e && (this.value || (this.value = e), this.broadcastValueChanged(e));
|
|
@@ -2120,36 +2120,36 @@ const c5 = "anduin-tab:trigger-click", R1 = "anduin-tab:value-changed", H4 = "an
|
|
|
2120
2120
|
e.has("value") && this.value && this.broadcastValueChanged(this.value);
|
|
2121
2121
|
}
|
|
2122
2122
|
broadcastValueChanged(e) {
|
|
2123
|
-
this.dispatchEvent(new CustomEvent(
|
|
2123
|
+
this.dispatchEvent(new CustomEvent(w1, { detail: e, bubbles: !1, composed: !1 }));
|
|
2124
2124
|
}
|
|
2125
2125
|
render() {
|
|
2126
2126
|
return d`<div class="tabs" part="tabs"><slot></slot></div>`;
|
|
2127
2127
|
}
|
|
2128
2128
|
};
|
|
2129
|
-
|
|
2129
|
+
M2.styles = H`
|
|
2130
2130
|
:host { display: flex; flex-direction: column; font-family: var(--font-sans); }
|
|
2131
2131
|
:host([fill]) { flex: 1; min-height: 0; --_tab-fill-flex: 1; --_tab-fill-height: 100%; }
|
|
2132
2132
|
.tabs { display: flex; flex-direction: column; width: 100%; }
|
|
2133
2133
|
:host([fill]) .tabs { flex: 1; min-height: 0; }
|
|
2134
2134
|
`;
|
|
2135
|
-
let
|
|
2135
|
+
let W = M2;
|
|
2136
2136
|
M([
|
|
2137
2137
|
r({ attribute: "default-value" })
|
|
2138
|
-
],
|
|
2138
|
+
], W.prototype, "defaultValue");
|
|
2139
2139
|
M([
|
|
2140
2140
|
r()
|
|
2141
|
-
],
|
|
2141
|
+
], W.prototype, "value");
|
|
2142
2142
|
M([
|
|
2143
2143
|
r({ type: Boolean, reflect: !0 })
|
|
2144
|
-
],
|
|
2145
|
-
const
|
|
2144
|
+
], W.prototype, "fill");
|
|
2145
|
+
const m2 = class m2 extends h {
|
|
2146
2146
|
constructor() {
|
|
2147
2147
|
super(...arguments), this.alignment = "left", this.lastActiveValue = "", this.resizeObserver = null;
|
|
2148
2148
|
}
|
|
2149
2149
|
connectedCallback() {
|
|
2150
2150
|
super.connectedCallback();
|
|
2151
2151
|
const e = this.closest("anduin-tabs");
|
|
2152
|
-
e && e.addEventListener(
|
|
2152
|
+
e && e.addEventListener(w1, (t) => {
|
|
2153
2153
|
const o = t;
|
|
2154
2154
|
this.lastActiveValue = o.detail, requestAnimationFrame(() => {
|
|
2155
2155
|
this.animateIndicator(o.detail);
|
|
@@ -2185,7 +2185,7 @@ const V2 = class V2 extends h {
|
|
|
2185
2185
|
`;
|
|
2186
2186
|
}
|
|
2187
2187
|
};
|
|
2188
|
-
|
|
2188
|
+
m2.styles = H`
|
|
2189
2189
|
:host { display: block; font-family: var(--font-sans); }
|
|
2190
2190
|
.tabs-list {
|
|
2191
2191
|
display: flex; background-color: var(--color-gray-0);
|
|
@@ -2200,27 +2200,27 @@ V2.styles = H`
|
|
|
2200
2200
|
left: 0; height: 2px; transition-duration: 200ms; transition-property: transform, width;
|
|
2201
2201
|
}
|
|
2202
2202
|
`;
|
|
2203
|
-
let
|
|
2203
|
+
let c1 = m2;
|
|
2204
2204
|
M([
|
|
2205
2205
|
r()
|
|
2206
|
-
],
|
|
2206
|
+
], c1.prototype, "alignment");
|
|
2207
2207
|
M([
|
|
2208
|
-
|
|
2209
|
-
],
|
|
2210
|
-
const
|
|
2208
|
+
N(".tabs-list__indicator")
|
|
2209
|
+
], c1.prototype, "indicator");
|
|
2210
|
+
const b2 = class b2 extends h {
|
|
2211
2211
|
constructor() {
|
|
2212
2212
|
super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.showBadge = !1, this.badgeCount = "", this.isActive = !1;
|
|
2213
2213
|
}
|
|
2214
2214
|
connectedCallback() {
|
|
2215
2215
|
super.connectedCallback();
|
|
2216
2216
|
const e = this.closest("anduin-tabs");
|
|
2217
|
-
e && e.addEventListener(
|
|
2217
|
+
e && e.addEventListener(w1, (t) => {
|
|
2218
2218
|
const o = t;
|
|
2219
2219
|
this.isActive = o.detail === this.value;
|
|
2220
2220
|
});
|
|
2221
2221
|
}
|
|
2222
2222
|
onClick() {
|
|
2223
|
-
this.dispatchEvent(new CustomEvent(
|
|
2223
|
+
this.dispatchEvent(new CustomEvent(L5, { detail: this.value, bubbles: !0, composed: !0 }));
|
|
2224
2224
|
}
|
|
2225
2225
|
render() {
|
|
2226
2226
|
return d`
|
|
@@ -2233,15 +2233,15 @@ const f2 = class f2 extends h {
|
|
|
2233
2233
|
@click=${this.onClick}
|
|
2234
2234
|
>
|
|
2235
2235
|
<div class="tab-trigger__content">
|
|
2236
|
-
${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="16"></anduin-icon>` :
|
|
2236
|
+
${this.startIcon ? d`<anduin-icon name="${this.startIcon}" size="16"></anduin-icon>` : p}
|
|
2237
2237
|
<slot></slot>
|
|
2238
|
-
${this.showBadge ? d`<span class="tab-trigger__badge">${this.badgeCount}</span>` :
|
|
2238
|
+
${this.showBadge ? d`<span class="tab-trigger__badge">${this.badgeCount}</span>` : p}
|
|
2239
2239
|
</div>
|
|
2240
2240
|
</button>
|
|
2241
2241
|
`;
|
|
2242
2242
|
}
|
|
2243
2243
|
};
|
|
2244
|
-
|
|
2244
|
+
b2.styles = H`
|
|
2245
2245
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
2246
2246
|
.tab-trigger {
|
|
2247
2247
|
cursor: pointer; background: none; border: none; display: block;
|
|
@@ -2264,33 +2264,33 @@ f2.styles = H`
|
|
|
2264
2264
|
color: var(--color-gray-7); white-space: nowrap;
|
|
2265
2265
|
}
|
|
2266
2266
|
`;
|
|
2267
|
-
let
|
|
2267
|
+
let _ = b2;
|
|
2268
2268
|
M([
|
|
2269
2269
|
r()
|
|
2270
|
-
],
|
|
2270
|
+
], _.prototype, "value");
|
|
2271
2271
|
M([
|
|
2272
2272
|
r({ attribute: "start-icon" })
|
|
2273
|
-
],
|
|
2273
|
+
], _.prototype, "startIcon");
|
|
2274
2274
|
M([
|
|
2275
2275
|
r({ type: Boolean })
|
|
2276
|
-
],
|
|
2276
|
+
], _.prototype, "disabled");
|
|
2277
2277
|
M([
|
|
2278
2278
|
r({ type: Boolean, attribute: "show-badge" })
|
|
2279
|
-
],
|
|
2279
|
+
], _.prototype, "showBadge");
|
|
2280
2280
|
M([
|
|
2281
2281
|
r({ attribute: "badge-count" })
|
|
2282
|
-
],
|
|
2282
|
+
], _.prototype, "badgeCount");
|
|
2283
2283
|
M([
|
|
2284
|
-
|
|
2285
|
-
],
|
|
2286
|
-
const
|
|
2284
|
+
T()
|
|
2285
|
+
], _.prototype, "isActive");
|
|
2286
|
+
const Z2 = class Z2 extends h {
|
|
2287
2287
|
constructor() {
|
|
2288
2288
|
super(...arguments), this.value = "", this.isActive = !1;
|
|
2289
2289
|
}
|
|
2290
2290
|
connectedCallback() {
|
|
2291
2291
|
super.connectedCallback();
|
|
2292
2292
|
const e = this.closest("anduin-tabs");
|
|
2293
|
-
e && e.addEventListener(
|
|
2293
|
+
e && e.addEventListener(w1, (t) => {
|
|
2294
2294
|
const o = t;
|
|
2295
2295
|
this.isActive = o.detail === this.value;
|
|
2296
2296
|
});
|
|
@@ -2306,28 +2306,28 @@ const L2 = class L2 extends h {
|
|
|
2306
2306
|
`;
|
|
2307
2307
|
}
|
|
2308
2308
|
};
|
|
2309
|
-
|
|
2309
|
+
Z2.styles = H`
|
|
2310
2310
|
:host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
|
|
2311
2311
|
:host(:not([active])) { display: none; }
|
|
2312
2312
|
.tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
|
|
2313
2313
|
`;
|
|
2314
|
-
let
|
|
2314
|
+
let p1 = Z2;
|
|
2315
2315
|
M([
|
|
2316
2316
|
r()
|
|
2317
|
-
],
|
|
2317
|
+
], p1.prototype, "value");
|
|
2318
2318
|
M([
|
|
2319
|
-
|
|
2320
|
-
],
|
|
2321
|
-
customElements.get("anduin-tabs") || customElements.define("anduin-tabs",
|
|
2322
|
-
customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list",
|
|
2323
|
-
customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger",
|
|
2324
|
-
customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content",
|
|
2325
|
-
var
|
|
2319
|
+
T()
|
|
2320
|
+
], p1.prototype, "isActive");
|
|
2321
|
+
customElements.get("anduin-tabs") || customElements.define("anduin-tabs", W);
|
|
2322
|
+
customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", c1);
|
|
2323
|
+
customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", _);
|
|
2324
|
+
customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", p1);
|
|
2325
|
+
var Z4 = Object.defineProperty, e2 = (l, e, t, o) => {
|
|
2326
2326
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
2327
2327
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
2328
|
-
return C &&
|
|
2328
|
+
return C && Z4(e, t, C), C;
|
|
2329
2329
|
};
|
|
2330
|
-
const
|
|
2330
|
+
const y4 = "anduin-tag-close:click", x4 = {
|
|
2331
2331
|
gray: "tag--light-gray",
|
|
2332
2332
|
primary: "tag--light-primary",
|
|
2333
2333
|
success: "tag--light-success",
|
|
@@ -2352,7 +2352,7 @@ const V4 = "anduin-tag-close:click", f4 = {
|
|
|
2352
2352
|
customYellow: "tag--custom-yellow",
|
|
2353
2353
|
customYellowGreen: "tag--custom-yellow-green",
|
|
2354
2354
|
customYellowOrange: "tag--custom-yellow-orange"
|
|
2355
|
-
},
|
|
2355
|
+
}, R4 = {
|
|
2356
2356
|
gray: "tag__icon--light-gray",
|
|
2357
2357
|
primary: "tag__icon--light-primary",
|
|
2358
2358
|
success: "tag__icon--light-success",
|
|
@@ -2377,22 +2377,22 @@ const V4 = "anduin-tag-close:click", f4 = {
|
|
|
2377
2377
|
customMagenta: "tag__icon--custom-magenta",
|
|
2378
2378
|
customBlueGreen: "tag__icon--custom-blue-green",
|
|
2379
2379
|
customPink: "tag__icon--custom-pink"
|
|
2380
|
-
},
|
|
2380
|
+
}, y2 = class y2 extends h {
|
|
2381
2381
|
constructor() {
|
|
2382
2382
|
super(...arguments), this.variant = "gray", this.icon = "", this.disabled = !1;
|
|
2383
2383
|
}
|
|
2384
2384
|
render() {
|
|
2385
|
-
const e =
|
|
2385
|
+
const e = x4[this.variant] || "tag--light-gray", t = R4[this.variant] || "tag__icon--light-gray";
|
|
2386
2386
|
return d`
|
|
2387
2387
|
<div class="tag ${e} ${this.disabled ? "tag--disabled" : ""}" part="tag">
|
|
2388
|
-
${this.icon ? d`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` :
|
|
2388
|
+
${this.icon ? d`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : p}
|
|
2389
2389
|
<div class="tag__label"><slot></slot></div>
|
|
2390
2390
|
<slot name="closeButton" class="tag__close"></slot>
|
|
2391
2391
|
</div>
|
|
2392
2392
|
`;
|
|
2393
2393
|
}
|
|
2394
2394
|
};
|
|
2395
|
-
|
|
2395
|
+
y2.styles = H`
|
|
2396
2396
|
:host { display: inline-flex; max-width: 100%; font-family: var(--font-sans); }
|
|
2397
2397
|
.tag {
|
|
2398
2398
|
font-weight: 500; font-size: 11px; height: 20px; padding-left: 6px; padding-right: 6px;
|
|
@@ -2440,19 +2440,19 @@ g2.styles = H`
|
|
|
2440
2440
|
.tag--custom-yellow-green { color: var(--color-gray-9); background-color: rgb(174,207,85); }
|
|
2441
2441
|
.tag--custom-yellow-orange { color: var(--color-gray-9); background-color: rgb(255,193,107); }
|
|
2442
2442
|
`;
|
|
2443
|
-
let
|
|
2444
|
-
|
|
2443
|
+
let K = y2;
|
|
2444
|
+
e2([
|
|
2445
2445
|
r()
|
|
2446
|
-
],
|
|
2447
|
-
|
|
2446
|
+
], K.prototype, "variant");
|
|
2447
|
+
e2([
|
|
2448
2448
|
r()
|
|
2449
|
-
],
|
|
2450
|
-
|
|
2449
|
+
], K.prototype, "icon");
|
|
2450
|
+
e2([
|
|
2451
2451
|
r({ type: Boolean })
|
|
2452
|
-
],
|
|
2453
|
-
const
|
|
2452
|
+
], K.prototype, "disabled");
|
|
2453
|
+
const x2 = class x2 extends h {
|
|
2454
2454
|
onClick() {
|
|
2455
|
-
this.dispatchEvent(new CustomEvent(
|
|
2455
|
+
this.dispatchEvent(new CustomEvent(y4, { bubbles: !0, composed: !0 }));
|
|
2456
2456
|
}
|
|
2457
2457
|
render() {
|
|
2458
2458
|
return d`
|
|
@@ -2462,7 +2462,7 @@ const M2 = class M2 extends h {
|
|
|
2462
2462
|
`;
|
|
2463
2463
|
}
|
|
2464
2464
|
};
|
|
2465
|
-
|
|
2465
|
+
x2.styles = H`
|
|
2466
2466
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
2467
2467
|
.tag-close__button {
|
|
2468
2468
|
flex: none; width: 16px; height: 16px; display: flex; align-items: center;
|
|
@@ -2472,15 +2472,15 @@ M2.styles = H`
|
|
|
2472
2472
|
.tag-close__button:hover { opacity: 0.7; }
|
|
2473
2473
|
.tag-close__button:active { opacity: 0.5; }
|
|
2474
2474
|
`;
|
|
2475
|
-
let
|
|
2476
|
-
customElements.get("anduin-tag") || customElements.define("anduin-tag",
|
|
2477
|
-
customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close",
|
|
2478
|
-
var
|
|
2475
|
+
let D1 = x2;
|
|
2476
|
+
customElements.get("anduin-tag") || customElements.define("anduin-tag", K);
|
|
2477
|
+
customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", D1);
|
|
2478
|
+
var _4 = Object.defineProperty, g5 = (l, e, t, o) => {
|
|
2479
2479
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
2480
2480
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
2481
|
-
return C &&
|
|
2481
|
+
return C && _4(e, t, C), C;
|
|
2482
2482
|
};
|
|
2483
|
-
const
|
|
2483
|
+
const M5 = "anduin-tooltip:show", t2 = "anduin-tooltip:hide", m5 = "anduin-tooltip:trigger-mounted", b5 = "anduin-tooltip:content-popup-mounted", Z5 = "anduin-tooltip:content-popup-unmounted", y5 = "anduin-tooltip:visibility-changed", w4 = [
|
|
2484
2484
|
"top-start",
|
|
2485
2485
|
"top-center",
|
|
2486
2486
|
"top-end",
|
|
@@ -2494,7 +2494,7 @@ const p5 = "anduin-tooltip:show", K1 = "anduin-tooltip:hide", h5 = "anduin-toolt
|
|
|
2494
2494
|
"left-center",
|
|
2495
2495
|
"left-end"
|
|
2496
2496
|
];
|
|
2497
|
-
function
|
|
2497
|
+
function Q2(l, e, t, o, C) {
|
|
2498
2498
|
switch (o) {
|
|
2499
2499
|
case "top-start":
|
|
2500
2500
|
return { left: l.left, top: l.top - t - C };
|
|
@@ -2524,43 +2524,43 @@ function q2(l, e, t, o, C) {
|
|
|
2524
2524
|
return { left: 0, top: 0 };
|
|
2525
2525
|
}
|
|
2526
2526
|
}
|
|
2527
|
-
function
|
|
2527
|
+
function e5(l, e) {
|
|
2528
2528
|
return e.right >= l.left && e.left <= l.right && e.top <= l.bottom && e.bottom >= l.top;
|
|
2529
2529
|
}
|
|
2530
|
-
function
|
|
2530
|
+
function t5(l, e) {
|
|
2531
2531
|
const t = Math.max(l.left, e.left), o = Math.max(l.top, e.top), C = Math.min(l.right, e.right), i = Math.min(l.bottom, e.bottom);
|
|
2532
2532
|
return C < t || i < o ? 0 : (C - t) * (i - o);
|
|
2533
2533
|
}
|
|
2534
|
-
function
|
|
2534
|
+
function k4(l, e, t, o = 8) {
|
|
2535
2535
|
const C = window.innerWidth, i = window.innerHeight, n = { left: 0, top: 0, right: C, bottom: i }, a = e.width, s = e.height;
|
|
2536
|
-
if (!
|
|
2536
|
+
if (!e5(
|
|
2537
2537
|
{ left: l.left, top: l.top, right: l.right, bottom: l.bottom },
|
|
2538
2538
|
n
|
|
2539
2539
|
)) return null;
|
|
2540
|
-
const c =
|
|
2541
|
-
if (
|
|
2540
|
+
const c = Q2(l, a, s, t, o), u = w4.map((f) => ({ p: f, off: Q2(l, a, s, f, o) })).filter(({ off: f }) => e5({ left: f.left, top: f.top, right: f.left + a, bottom: f.top + s }, n));
|
|
2541
|
+
if (u.length === 0)
|
|
2542
2542
|
return {
|
|
2543
2543
|
placement: t,
|
|
2544
2544
|
left: Math.round(Math.min(Math.max(c.left, 0), C - a)),
|
|
2545
2545
|
top: Math.round(Math.min(Math.max(c.top, 0), i - s))
|
|
2546
2546
|
};
|
|
2547
|
-
|
|
2548
|
-
const
|
|
2549
|
-
if (
|
|
2550
|
-
const
|
|
2551
|
-
return
|
|
2547
|
+
u.sort((f, b) => {
|
|
2548
|
+
const R5 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + s }, _5 = { left: b.off.left, top: b.off.top, right: b.off.left + a, bottom: b.off.top + s }, S2 = t5(R5, n), D2 = t5(_5, n);
|
|
2549
|
+
if (D2 !== S2) return D2 - S2;
|
|
2550
|
+
const w5 = Math.abs(f.off.left - c.left) + Math.abs(f.off.top - c.top), k5 = Math.abs(b.off.left - c.left) + Math.abs(b.off.top - c.top);
|
|
2551
|
+
return w5 - k5;
|
|
2552
2552
|
});
|
|
2553
|
-
const { p: v, off:
|
|
2553
|
+
const { p: v, off: m } = u[0];
|
|
2554
2554
|
return {
|
|
2555
2555
|
placement: v,
|
|
2556
|
-
left: Math.round(Math.min(Math.max(
|
|
2557
|
-
top: Math.round(Math.min(Math.max(
|
|
2556
|
+
left: Math.round(Math.min(Math.max(m.left, 0), C - a)),
|
|
2557
|
+
top: Math.round(Math.min(Math.max(m.top, 0), i - s))
|
|
2558
2558
|
};
|
|
2559
2559
|
}
|
|
2560
|
-
function
|
|
2560
|
+
function O1(l) {
|
|
2561
2561
|
return l.split("-")[0] || "top";
|
|
2562
2562
|
}
|
|
2563
|
-
function
|
|
2563
|
+
function $4(l, e, t) {
|
|
2564
2564
|
let o = !1, C = t.length - 1;
|
|
2565
2565
|
for (let i = 0; i < t.length; i++) {
|
|
2566
2566
|
const n = t[i][0], a = t[i][1], s = t[C][0], c = t[C][1];
|
|
@@ -2568,20 +2568,20 @@ function b4(l, e, t) {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
return o;
|
|
2570
2570
|
}
|
|
2571
|
-
const
|
|
2571
|
+
const R2 = class R2 extends h {
|
|
2572
2572
|
constructor() {
|
|
2573
2573
|
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;
|
|
2574
2574
|
}
|
|
2575
2575
|
connectedCallback() {
|
|
2576
|
-
super.connectedCallback(), this.addEventListener(
|
|
2576
|
+
super.connectedCallback(), this.addEventListener(m5, (e) => {
|
|
2577
2577
|
e.stopPropagation(), this.triggerElement = e.detail, this.maybeStartPositionLoop();
|
|
2578
|
-
}), this.addEventListener(
|
|
2578
|
+
}), this.addEventListener(b5, (e) => {
|
|
2579
2579
|
e.stopPropagation(), this.contentPopupElement = e.detail, this.computeContainingBlockOffset(this.contentPopupElement), this.maybeStartPositionLoop();
|
|
2580
|
-
}), this.addEventListener(
|
|
2580
|
+
}), this.addEventListener(Z5, (e) => {
|
|
2581
2581
|
e.stopPropagation(), this.stopPositionLoop(), this.contentPopupElement = null;
|
|
2582
|
-
}), this.addEventListener(
|
|
2582
|
+
}), this.addEventListener(M5, (e) => {
|
|
2583
2583
|
e.stopPropagation(), !this.disabled && (this.isVisible = !0, this.broadcastVisibilityChanged(`show:${this.placement}`));
|
|
2584
|
-
}), this.addEventListener(
|
|
2584
|
+
}), this.addEventListener(t2, (e) => {
|
|
2585
2585
|
e.stopPropagation(), this.isVisible = !1, this.stopPositionLoop(), this.broadcastVisibilityChanged("hide");
|
|
2586
2586
|
});
|
|
2587
2587
|
}
|
|
@@ -2612,61 +2612,61 @@ const Z2 = class Z2 extends h {
|
|
|
2612
2612
|
this.containingBlockLeft = C.left, this.containingBlockTop = C.top, t.style.transform = o;
|
|
2613
2613
|
}
|
|
2614
2614
|
positionPopup(e, t, o) {
|
|
2615
|
-
const C = t.getBoundingClientRect(), i = e.getBoundingClientRect(), n =
|
|
2615
|
+
const C = t.getBoundingClientRect(), i = e.getBoundingClientRect(), n = k4(C, i, o, 8);
|
|
2616
2616
|
if (n) {
|
|
2617
2617
|
const a = e;
|
|
2618
2618
|
a.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
|
|
2619
|
-
const s =
|
|
2619
|
+
const s = O1(n.placement), c = O1(o);
|
|
2620
2620
|
if (s !== c) {
|
|
2621
|
-
const
|
|
2622
|
-
|
|
2621
|
+
const u = e.querySelector(".tooltip-arrow");
|
|
2622
|
+
u && (u.classList.remove(`tooltip-arrow--${c}`), u.classList.add(`tooltip-arrow--${s}`));
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
2625
|
}
|
|
2626
2626
|
broadcastVisibilityChanged(e) {
|
|
2627
|
-
this.dispatchEvent(new CustomEvent(
|
|
2627
|
+
this.dispatchEvent(new CustomEvent(y5, { detail: e, bubbles: !1, composed: !1 }));
|
|
2628
2628
|
}
|
|
2629
2629
|
render() {
|
|
2630
2630
|
return d`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
|
|
2631
2631
|
}
|
|
2632
2632
|
};
|
|
2633
|
-
|
|
2633
|
+
R2.styles = H`
|
|
2634
2634
|
:host { display: inline-block; position: relative; max-width: 100%; font-family: var(--font-sans); }
|
|
2635
2635
|
.tooltip-root { display: inline-block; position: relative; max-width: 100%; }
|
|
2636
2636
|
`;
|
|
2637
|
-
let
|
|
2638
|
-
|
|
2637
|
+
let u1 = R2;
|
|
2638
|
+
g5([
|
|
2639
2639
|
r({ type: Boolean })
|
|
2640
|
-
],
|
|
2641
|
-
|
|
2640
|
+
], u1.prototype, "disabled");
|
|
2641
|
+
g5([
|
|
2642
2642
|
r()
|
|
2643
|
-
],
|
|
2644
|
-
const
|
|
2643
|
+
], u1.prototype, "placement");
|
|
2644
|
+
const _2 = class _2 extends h {
|
|
2645
2645
|
firstUpdated() {
|
|
2646
2646
|
requestAnimationFrame(() => {
|
|
2647
|
-
this.dispatchEvent(new CustomEvent(
|
|
2647
|
+
this.dispatchEvent(new CustomEvent(m5, { detail: this, bubbles: !0, composed: !0 }));
|
|
2648
2648
|
}), this.addEventListener("pointerenter", () => {
|
|
2649
|
-
this.dispatchEvent(new CustomEvent(
|
|
2649
|
+
this.dispatchEvent(new CustomEvent(M5, { bubbles: !0, composed: !0 }));
|
|
2650
2650
|
}), this.addEventListener("click", () => {
|
|
2651
|
-
this.dispatchEvent(new CustomEvent(
|
|
2651
|
+
this.dispatchEvent(new CustomEvent(t2, { bubbles: !0, composed: !0 }));
|
|
2652
2652
|
});
|
|
2653
2653
|
}
|
|
2654
2654
|
render() {
|
|
2655
2655
|
return d`<span class="tooltip-trigger" part="tooltip-trigger"><slot></slot></span>`;
|
|
2656
2656
|
}
|
|
2657
2657
|
};
|
|
2658
|
-
|
|
2658
|
+
_2.styles = H`
|
|
2659
2659
|
:host { display: inline-block; max-width: 100%; font-family: var(--font-sans); }
|
|
2660
2660
|
.tooltip-trigger { display: flex; align-items: center; max-width: 100%; }
|
|
2661
2661
|
`;
|
|
2662
|
-
let
|
|
2663
|
-
const
|
|
2662
|
+
let I1 = _2;
|
|
2663
|
+
const w2 = class w2 extends h {
|
|
2664
2664
|
constructor() {
|
|
2665
2665
|
super(...arguments), this.graceArea = null, this.triggerEl = null, this.popupEl = null, this.handlePointerMove = (e) => {
|
|
2666
2666
|
var i, n;
|
|
2667
2667
|
if (!this.graceArea) return;
|
|
2668
2668
|
const t = e.target, o = ((i = this.triggerEl) == null ? void 0 : i.contains(t)) ?? !1, C = ((n = this.popupEl) == null ? void 0 : n.contains(t)) ?? !1;
|
|
2669
|
-
o || C ? this.graceArea = null :
|
|
2669
|
+
o || C ? this.graceArea = null : $4(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(t2, { bubbles: !0, composed: !0 })));
|
|
2670
2670
|
}, this.handleTriggerLeave = (e) => {
|
|
2671
2671
|
this.triggerEl && this.popupEl && this.createGraceArea(this.triggerEl, this.popupEl, e);
|
|
2672
2672
|
}, this.handleContentLeave = (e) => {
|
|
@@ -2676,7 +2676,7 @@ const m2 = class m2 extends h {
|
|
|
2676
2676
|
connectedCallback() {
|
|
2677
2677
|
super.connectedCallback();
|
|
2678
2678
|
const e = this.closest("anduin-tooltip");
|
|
2679
|
-
e && e.addEventListener(
|
|
2679
|
+
e && e.addEventListener(y5, (t) => {
|
|
2680
2680
|
const o = t.detail;
|
|
2681
2681
|
o.startsWith("show:") ? this.showPopup(o.slice(5)) : this.hidePopup();
|
|
2682
2682
|
});
|
|
@@ -2702,7 +2702,7 @@ const m2 = class m2 extends h {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
showPopup(e) {
|
|
2704
2704
|
this.hidePopup();
|
|
2705
|
-
const t =
|
|
2705
|
+
const t = O1(e), o = document.createElement("div");
|
|
2706
2706
|
o.className = "tooltip-popup", o.setAttribute("role", "tooltip");
|
|
2707
2707
|
const C = document.createElement("div");
|
|
2708
2708
|
C.className = `tooltip-arrow tooltip-arrow--${t}`;
|
|
@@ -2715,16 +2715,16 @@ const m2 = class m2 extends h {
|
|
|
2715
2715
|
const s = a.querySelector("anduin-tooltip-trigger");
|
|
2716
2716
|
s && this.setupGraceAreaListeners(s, o);
|
|
2717
2717
|
}
|
|
2718
|
-
this.dispatchEvent(new CustomEvent(
|
|
2718
|
+
this.dispatchEvent(new CustomEvent(b5, { detail: o, bubbles: !0, composed: !0 }));
|
|
2719
2719
|
}
|
|
2720
2720
|
hidePopup() {
|
|
2721
|
-
this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(
|
|
2721
|
+
this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(Z5, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
|
|
2722
2722
|
}
|
|
2723
2723
|
render() {
|
|
2724
2724
|
return d`<div class="tooltip-content-wrapper"></div>`;
|
|
2725
2725
|
}
|
|
2726
2726
|
};
|
|
2727
|
-
|
|
2727
|
+
w2.styles = H`
|
|
2728
2728
|
:host {
|
|
2729
2729
|
display: contents;
|
|
2730
2730
|
--tooltip-bg: var(--anduin-tooltip-content-background, var(--color-gray-9));
|
|
@@ -2748,16 +2748,16 @@ m2.styles = H`
|
|
|
2748
2748
|
.tooltip-arrow--left { right: -4px; top: 50%; transform: translateY(-50%); border-left-color: var(--tooltip-bg); border-right: none; }
|
|
2749
2749
|
.tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
|
|
2750
2750
|
`;
|
|
2751
|
-
let
|
|
2752
|
-
customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip",
|
|
2753
|
-
customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger",
|
|
2754
|
-
customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content",
|
|
2755
|
-
var
|
|
2751
|
+
let T1 = w2;
|
|
2752
|
+
customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", u1);
|
|
2753
|
+
customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", I1);
|
|
2754
|
+
customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", T1);
|
|
2755
|
+
var E4 = Object.defineProperty, A4 = (l, e, t, o) => {
|
|
2756
2756
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
2757
2757
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
2758
|
-
return C &&
|
|
2758
|
+
return C && E4(e, t, C), C;
|
|
2759
2759
|
};
|
|
2760
|
-
const
|
|
2760
|
+
const B4 = "anduin-well-close:click", k2 = class k2 extends h {
|
|
2761
2761
|
constructor() {
|
|
2762
2762
|
super(...arguments), this.variant = "gray";
|
|
2763
2763
|
}
|
|
@@ -2776,7 +2776,7 @@ const R4 = "anduin-well-close:click", y2 = class y2 extends h {
|
|
|
2776
2776
|
`;
|
|
2777
2777
|
}
|
|
2778
2778
|
};
|
|
2779
|
-
|
|
2779
|
+
k2.styles = H`
|
|
2780
2780
|
:host {
|
|
2781
2781
|
display: block;
|
|
2782
2782
|
font-family: var(--font-sans);
|
|
@@ -2841,14 +2841,14 @@ y2.styles = H`
|
|
|
2841
2841
|
color: var(--color-warning-4);
|
|
2842
2842
|
}
|
|
2843
2843
|
`;
|
|
2844
|
-
let
|
|
2845
|
-
|
|
2844
|
+
let x1 = k2;
|
|
2845
|
+
A4([
|
|
2846
2846
|
r()
|
|
2847
|
-
],
|
|
2848
|
-
const
|
|
2847
|
+
], x1.prototype, "variant");
|
|
2848
|
+
const $2 = class $2 extends h {
|
|
2849
2849
|
onClick() {
|
|
2850
2850
|
this.dispatchEvent(
|
|
2851
|
-
new CustomEvent(
|
|
2851
|
+
new CustomEvent(B4, { bubbles: !0, composed: !0 })
|
|
2852
2852
|
);
|
|
2853
2853
|
}
|
|
2854
2854
|
render() {
|
|
@@ -2863,7 +2863,7 @@ const R2 = class R2 extends h {
|
|
|
2863
2863
|
`;
|
|
2864
2864
|
}
|
|
2865
2865
|
};
|
|
2866
|
-
|
|
2866
|
+
$2.styles = H`
|
|
2867
2867
|
:host {
|
|
2868
2868
|
display: inline-block;
|
|
2869
2869
|
font-family: var(--font-sans);
|
|
@@ -2888,34 +2888,52 @@ R2.styles = H`
|
|
|
2888
2888
|
background-color: var(--color-gray-3);
|
|
2889
2889
|
}
|
|
2890
2890
|
`;
|
|
2891
|
-
let
|
|
2892
|
-
customElements.get("anduin-well") || customElements.define("anduin-well",
|
|
2893
|
-
customElements.get("anduin-well-close") || customElements.define("anduin-well-close",
|
|
2894
|
-
var
|
|
2891
|
+
let N1 = $2;
|
|
2892
|
+
customElements.get("anduin-well") || customElements.define("anduin-well", x1);
|
|
2893
|
+
customElements.get("anduin-well-close") || customElements.define("anduin-well-close", N1);
|
|
2894
|
+
var F4 = Object.defineProperty, f1 = (l, e, t, o) => {
|
|
2895
2895
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
2896
2896
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
2897
|
-
return C &&
|
|
2897
|
+
return C && F4(e, t, C), C;
|
|
2898
2898
|
};
|
|
2899
|
-
const
|
|
2899
|
+
const U1 = "anduin-popover:close", E2 = class E2 extends h {
|
|
2900
2900
|
constructor() {
|
|
2901
|
-
super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
|
|
2901
|
+
super(...arguments), this.open = !1, this.placement = "bottom-start", this._visible = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
|
|
2902
2902
|
var t;
|
|
2903
2903
|
!this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && (this.open = !1);
|
|
2904
2904
|
}, this._onScrollOrResize = () => {
|
|
2905
2905
|
this.open && this._updatePosition();
|
|
2906
|
+
}, this._onPopoverClose = () => {
|
|
2907
|
+
this.open = !1;
|
|
2906
2908
|
};
|
|
2907
2909
|
}
|
|
2908
2910
|
_onTriggerClick() {
|
|
2909
2911
|
this.open = !this.open;
|
|
2910
2912
|
}
|
|
2911
2913
|
connectedCallback() {
|
|
2912
|
-
super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
|
|
2914
|
+
super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(U1, this._onPopoverClose);
|
|
2913
2915
|
}
|
|
2914
2916
|
disconnectedCallback() {
|
|
2915
|
-
super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
|
|
2917
|
+
super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(U1, this._onPopoverClose);
|
|
2916
2918
|
}
|
|
2917
2919
|
updated(e) {
|
|
2918
|
-
e.has("open") && this.open
|
|
2920
|
+
e.has("open") && (this.open ? (this._cancelCloseAnimation(), this._visible = !0, requestAnimationFrame(() => this._updatePosition())) : this._startCloseAnimation());
|
|
2921
|
+
}
|
|
2922
|
+
_cancelCloseAnimation() {
|
|
2923
|
+
const e = this._panelEl;
|
|
2924
|
+
e && (this._closeTransitionEndHandler && (e.removeEventListener("transitionend", this._closeTransitionEndHandler), this._closeTransitionEndHandler = null), e.classList.remove("popover__panel--closing"));
|
|
2925
|
+
}
|
|
2926
|
+
_startCloseAnimation() {
|
|
2927
|
+
const e = this._panelEl;
|
|
2928
|
+
if (!e) {
|
|
2929
|
+
this._visible = !1;
|
|
2930
|
+
return;
|
|
2931
|
+
}
|
|
2932
|
+
this._cancelCloseAnimation(), e.classList.add("popover__panel--closing");
|
|
2933
|
+
const t = (o) => {
|
|
2934
|
+
o.propertyName === "opacity" && (e.classList.remove("popover__panel--closing"), e.removeEventListener("transitionend", t), this._closeTransitionEndHandler = null, this._visible = !1);
|
|
2935
|
+
};
|
|
2936
|
+
this._closeTransitionEndHandler = t, e.addEventListener("transitionend", t);
|
|
2919
2937
|
}
|
|
2920
2938
|
_updatePosition() {
|
|
2921
2939
|
const e = this._triggerEl, t = this._panelEl;
|
|
@@ -2925,35 +2943,35 @@ const x2 = class x2 extends h {
|
|
|
2925
2943
|
const i = t.getBoundingClientRect();
|
|
2926
2944
|
t.style.transform = C;
|
|
2927
2945
|
const n = t.getBoundingClientRect(), a = 4;
|
|
2928
|
-
let s = 0, c = 0,
|
|
2946
|
+
let s = 0, c = 0, u = "bottom";
|
|
2929
2947
|
switch (this.placement) {
|
|
2930
2948
|
case "bottom-start":
|
|
2931
|
-
s = o.left, c = o.bottom + a,
|
|
2949
|
+
s = o.left, c = o.bottom + a, u = "bottom";
|
|
2932
2950
|
break;
|
|
2933
2951
|
case "bottom-end":
|
|
2934
|
-
s = o.right - n.width, c = o.bottom + a,
|
|
2952
|
+
s = o.right - n.width, c = o.bottom + a, u = "bottom";
|
|
2935
2953
|
break;
|
|
2936
2954
|
case "bottom":
|
|
2937
|
-
s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a,
|
|
2955
|
+
s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, u = "bottom";
|
|
2938
2956
|
break;
|
|
2939
2957
|
case "top-start":
|
|
2940
|
-
s = o.left, c = o.top - n.height - a,
|
|
2958
|
+
s = o.left, c = o.top - n.height - a, u = "top";
|
|
2941
2959
|
break;
|
|
2942
2960
|
case "top-end":
|
|
2943
|
-
s = o.right - n.width, c = o.top - n.height - a,
|
|
2961
|
+
s = o.right - n.width, c = o.top - n.height - a, u = "top";
|
|
2944
2962
|
break;
|
|
2945
2963
|
case "top":
|
|
2946
|
-
s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a,
|
|
2964
|
+
s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, u = "top";
|
|
2947
2965
|
break;
|
|
2948
2966
|
}
|
|
2949
|
-
t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side =
|
|
2967
|
+
t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = u;
|
|
2950
2968
|
}
|
|
2951
2969
|
render() {
|
|
2952
2970
|
return d`
|
|
2953
2971
|
<div class="popover__trigger" @click=${this._onTriggerClick} part="trigger">
|
|
2954
2972
|
<slot name="trigger"></slot>
|
|
2955
2973
|
</div>
|
|
2956
|
-
<div class="popover__panel ${this.
|
|
2974
|
+
<div class="popover__panel ${this._visible ? "popover__panel--open" : ""}" part="popover">
|
|
2957
2975
|
<div class="popover__inner">
|
|
2958
2976
|
<slot></slot>
|
|
2959
2977
|
</div>
|
|
@@ -2961,7 +2979,7 @@ const x2 = class x2 extends h {
|
|
|
2961
2979
|
`;
|
|
2962
2980
|
}
|
|
2963
2981
|
};
|
|
2964
|
-
|
|
2982
|
+
E2.styles = H`
|
|
2965
2983
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
2966
2984
|
|
|
2967
2985
|
.popover__trigger { display: inline-block; }
|
|
@@ -2974,7 +2992,8 @@ x2.styles = H`
|
|
|
2974
2992
|
visibility: hidden;
|
|
2975
2993
|
pointer-events: none;
|
|
2976
2994
|
}
|
|
2977
|
-
.popover__panel--open
|
|
2995
|
+
.popover__panel--open { visibility: visible; pointer-events: auto; }
|
|
2996
|
+
.popover__panel--closing { visibility: visible; pointer-events: none; }
|
|
2978
2997
|
|
|
2979
2998
|
.popover__inner {
|
|
2980
2999
|
background-color: var(--color-white, white);
|
|
@@ -3007,26 +3026,40 @@ x2.styles = H`
|
|
|
3007
3026
|
transform: scale(1) translateY(0);
|
|
3008
3027
|
}
|
|
3009
3028
|
`;
|
|
3010
|
-
let
|
|
3011
|
-
|
|
3029
|
+
let A = E2;
|
|
3030
|
+
f1([
|
|
3012
3031
|
r({ type: Boolean, reflect: !0 })
|
|
3013
|
-
],
|
|
3014
|
-
|
|
3032
|
+
], A.prototype, "open");
|
|
3033
|
+
f1([
|
|
3015
3034
|
r()
|
|
3016
|
-
],
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
],
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
],
|
|
3023
|
-
|
|
3024
|
-
|
|
3035
|
+
], A.prototype, "placement");
|
|
3036
|
+
f1([
|
|
3037
|
+
T()
|
|
3038
|
+
], A.prototype, "_visible");
|
|
3039
|
+
f1([
|
|
3040
|
+
N(".popover__trigger")
|
|
3041
|
+
], A.prototype, "_triggerEl");
|
|
3042
|
+
f1([
|
|
3043
|
+
N(".popover__panel")
|
|
3044
|
+
], A.prototype, "_panelEl");
|
|
3045
|
+
customElements.get("anduin-popover") || customElements.define("anduin-popover", A);
|
|
3046
|
+
const A2 = class A2 extends h {
|
|
3047
|
+
_onClick() {
|
|
3048
|
+
this.dispatchEvent(new CustomEvent(U1, { bubbles: !0, composed: !0 }));
|
|
3049
|
+
}
|
|
3050
|
+
render() {
|
|
3051
|
+
return d`<span @click=${this._onClick}><slot></slot></span>`;
|
|
3052
|
+
}
|
|
3053
|
+
};
|
|
3054
|
+
A2.styles = H`:host { display: contents; }`;
|
|
3055
|
+
let j1 = A2;
|
|
3056
|
+
customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", j1);
|
|
3057
|
+
var z4 = Object.defineProperty, U = (l, e, t, o) => {
|
|
3025
3058
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
3026
3059
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
3027
|
-
return C &&
|
|
3060
|
+
return C && z4(e, t, C), C;
|
|
3028
3061
|
};
|
|
3029
|
-
const
|
|
3062
|
+
const q1 = "anduin-menu-item:click", B2 = class B2 extends h {
|
|
3030
3063
|
constructor() {
|
|
3031
3064
|
super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
|
|
3032
3065
|
var t;
|
|
@@ -3041,10 +3074,10 @@ const I1 = "anduin-menu-item:click", _2 = class _2 extends h {
|
|
|
3041
3074
|
this.open = !this.open;
|
|
3042
3075
|
}
|
|
3043
3076
|
connectedCallback() {
|
|
3044
|
-
super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(
|
|
3077
|
+
super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(q1, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
|
|
3045
3078
|
}
|
|
3046
3079
|
disconnectedCallback() {
|
|
3047
|
-
super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(
|
|
3080
|
+
super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(q1, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
|
|
3048
3081
|
}
|
|
3049
3082
|
updated(e) {
|
|
3050
3083
|
e.has("open") && this.open && requestAnimationFrame(() => this._updatePosition());
|
|
@@ -3057,28 +3090,28 @@ const I1 = "anduin-menu-item:click", _2 = class _2 extends h {
|
|
|
3057
3090
|
const i = t.getBoundingClientRect();
|
|
3058
3091
|
t.style.transform = C;
|
|
3059
3092
|
const n = t.getBoundingClientRect(), a = 4;
|
|
3060
|
-
let s = 0, c = 0,
|
|
3093
|
+
let s = 0, c = 0, u = "bottom";
|
|
3061
3094
|
switch (this.placement) {
|
|
3062
3095
|
case "bottom-start":
|
|
3063
|
-
s = o.left, c = o.bottom + a,
|
|
3096
|
+
s = o.left, c = o.bottom + a, u = "bottom";
|
|
3064
3097
|
break;
|
|
3065
3098
|
case "bottom-end":
|
|
3066
|
-
s = o.right - n.width, c = o.bottom + a,
|
|
3099
|
+
s = o.right - n.width, c = o.bottom + a, u = "bottom";
|
|
3067
3100
|
break;
|
|
3068
3101
|
case "bottom":
|
|
3069
|
-
s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a,
|
|
3102
|
+
s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, u = "bottom";
|
|
3070
3103
|
break;
|
|
3071
3104
|
case "top-start":
|
|
3072
|
-
s = o.left, c = o.top - n.height - a,
|
|
3105
|
+
s = o.left, c = o.top - n.height - a, u = "top";
|
|
3073
3106
|
break;
|
|
3074
3107
|
case "top-end":
|
|
3075
|
-
s = o.right - n.width, c = o.top - n.height - a,
|
|
3108
|
+
s = o.right - n.width, c = o.top - n.height - a, u = "top";
|
|
3076
3109
|
break;
|
|
3077
3110
|
case "top":
|
|
3078
|
-
s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a,
|
|
3111
|
+
s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, u = "top";
|
|
3079
3112
|
break;
|
|
3080
3113
|
}
|
|
3081
|
-
t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side =
|
|
3114
|
+
t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = u;
|
|
3082
3115
|
}
|
|
3083
3116
|
render() {
|
|
3084
3117
|
return d`
|
|
@@ -3093,7 +3126,7 @@ const I1 = "anduin-menu-item:click", _2 = class _2 extends h {
|
|
|
3093
3126
|
`;
|
|
3094
3127
|
}
|
|
3095
3128
|
};
|
|
3096
|
-
|
|
3129
|
+
B2.styles = H`
|
|
3097
3130
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
3098
3131
|
|
|
3099
3132
|
.menu__trigger { display: inline-block; }
|
|
@@ -3136,25 +3169,25 @@ _2.styles = H`
|
|
|
3136
3169
|
transform: scale(1) translateY(0);
|
|
3137
3170
|
}
|
|
3138
3171
|
`;
|
|
3139
|
-
let
|
|
3140
|
-
|
|
3172
|
+
let I = B2;
|
|
3173
|
+
U([
|
|
3141
3174
|
r({ type: Boolean, reflect: !0 })
|
|
3142
|
-
],
|
|
3143
|
-
|
|
3175
|
+
], I.prototype, "open");
|
|
3176
|
+
U([
|
|
3144
3177
|
r()
|
|
3145
|
-
],
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
],
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
],
|
|
3152
|
-
const
|
|
3178
|
+
], I.prototype, "placement");
|
|
3179
|
+
U([
|
|
3180
|
+
N(".menu__trigger")
|
|
3181
|
+
], I.prototype, "_triggerEl");
|
|
3182
|
+
U([
|
|
3183
|
+
N(".menu__panel")
|
|
3184
|
+
], I.prototype, "_panelEl");
|
|
3185
|
+
const F2 = class F2 extends h {
|
|
3153
3186
|
constructor() {
|
|
3154
3187
|
super(...arguments), this.icon = "", this.variant = "default", this.disabled = !1;
|
|
3155
3188
|
}
|
|
3156
3189
|
_onClick() {
|
|
3157
|
-
this.dispatchEvent(new CustomEvent(
|
|
3190
|
+
this.dispatchEvent(new CustomEvent(q1, { bubbles: !0, composed: !0 }));
|
|
3158
3191
|
}
|
|
3159
3192
|
render() {
|
|
3160
3193
|
return d`
|
|
@@ -3165,13 +3198,13 @@ const w2 = class w2 extends h {
|
|
|
3165
3198
|
part="menu-item"
|
|
3166
3199
|
@click=${this._onClick}
|
|
3167
3200
|
>
|
|
3168
|
-
${this.icon ? d`<anduin-icon name="${this.icon}" size="16"></anduin-icon>` :
|
|
3201
|
+
${this.icon ? d`<anduin-icon name="${this.icon}" size="16"></anduin-icon>` : p}
|
|
3169
3202
|
<span class="menu-item__label"><slot></slot></span>
|
|
3170
3203
|
</button>
|
|
3171
3204
|
`;
|
|
3172
3205
|
}
|
|
3173
3206
|
};
|
|
3174
|
-
|
|
3207
|
+
F2.styles = H`
|
|
3175
3208
|
:host { display: block; width: 100%; font-family: var(--font-sans); }
|
|
3176
3209
|
.menu-item {
|
|
3177
3210
|
display: flex;
|
|
@@ -3201,33 +3234,33 @@ w2.styles = H`
|
|
|
3201
3234
|
anduin-icon { color: var(--color-gray-7); }
|
|
3202
3235
|
.menu-item--danger anduin-icon { color: var(--color-danger-4); }
|
|
3203
3236
|
`;
|
|
3204
|
-
let
|
|
3205
|
-
|
|
3237
|
+
let X = F2;
|
|
3238
|
+
U([
|
|
3206
3239
|
r()
|
|
3207
|
-
],
|
|
3208
|
-
|
|
3240
|
+
], X.prototype, "icon");
|
|
3241
|
+
U([
|
|
3209
3242
|
r()
|
|
3210
|
-
],
|
|
3211
|
-
|
|
3243
|
+
], X.prototype, "variant");
|
|
3244
|
+
U([
|
|
3212
3245
|
r({ type: Boolean })
|
|
3213
|
-
],
|
|
3214
|
-
customElements.get("anduin-menu") || customElements.define("anduin-menu",
|
|
3215
|
-
customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item",
|
|
3216
|
-
var
|
|
3246
|
+
], X.prototype, "disabled");
|
|
3247
|
+
customElements.get("anduin-menu") || customElements.define("anduin-menu", I);
|
|
3248
|
+
customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", X);
|
|
3249
|
+
var P4 = Object.defineProperty, j = (l, e, t, o) => {
|
|
3217
3250
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
3218
3251
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
3219
|
-
return C &&
|
|
3252
|
+
return C && P4(e, t, C), C;
|
|
3220
3253
|
};
|
|
3221
|
-
const
|
|
3222
|
-
var
|
|
3223
|
-
const
|
|
3254
|
+
const B1 = 300, C5 = 200, S4 = 250;
|
|
3255
|
+
var $;
|
|
3256
|
+
const F = ($ = class extends h {
|
|
3224
3257
|
constructor() {
|
|
3225
|
-
super(...arguments), this.open = !1, this.heading = "", this.hideFooter = !1, this.maxWidth = "480", this._leaving = !1;
|
|
3258
|
+
super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.maxWidth = "480", this.fullscreen = !1, this._leaving = !1;
|
|
3226
3259
|
}
|
|
3227
3260
|
updated(e) {
|
|
3228
3261
|
var t;
|
|
3229
3262
|
if (e.has("maxWidth")) {
|
|
3230
|
-
const o = this.maxWidth, C =
|
|
3263
|
+
const o = this.maxWidth, C = $._PRESETS.has(o) ? `${o}px` : o;
|
|
3231
3264
|
this.style.setProperty("--_modal-width", C);
|
|
3232
3265
|
}
|
|
3233
3266
|
if (e.has("open")) {
|
|
@@ -3252,13 +3285,19 @@ const Y = (k = class extends h {
|
|
|
3252
3285
|
this.dispatch("close");
|
|
3253
3286
|
}
|
|
3254
3287
|
render() {
|
|
3255
|
-
const e = this._leaving;
|
|
3288
|
+
const e = this._leaving, t = this.fullscreen;
|
|
3256
3289
|
return d`
|
|
3257
3290
|
<div class=${`overlay${e ? " is-leaving" : ""}`} @click=${this.onOverlayClick}></div>
|
|
3258
|
-
<div class
|
|
3259
|
-
<div class=${`modal${e ? " is-leaving" : ""}`} role="dialog" aria-modal="true" aria-labelledby="modal-title">
|
|
3291
|
+
<div class=${`modal-wrapper${t ? " modal-wrapper--fullscreen" : ""}`}>
|
|
3292
|
+
<div class=${`modal${t ? " modal--fullscreen" : ""}${e ? " is-leaving" : ""}`} role="dialog" aria-modal="true" aria-labelledby="modal-title">
|
|
3293
|
+
${this.hideHeader ? p : d`
|
|
3260
3294
|
<div class="header">
|
|
3261
|
-
|
|
3295
|
+
<div class="header-slot">
|
|
3296
|
+
<slot name="header">
|
|
3297
|
+
${this.heading ? d`<p id="modal-title" class="title">${this.heading}</p>` : p}
|
|
3298
|
+
</slot>
|
|
3299
|
+
</div>
|
|
3300
|
+
<span class="header-sep"></span>
|
|
3262
3301
|
<anduin-button
|
|
3263
3302
|
appearance="plain"
|
|
3264
3303
|
variant="gray9"
|
|
@@ -3267,16 +3306,16 @@ const Y = (k = class extends h {
|
|
|
3267
3306
|
start-icon="cross"
|
|
3268
3307
|
@click=${this.onClose}
|
|
3269
3308
|
></anduin-button>
|
|
3270
|
-
</div
|
|
3309
|
+
</div>`}
|
|
3271
3310
|
<div class="body">
|
|
3272
3311
|
<slot></slot>
|
|
3273
3312
|
</div>
|
|
3274
|
-
${this.hideFooter ?
|
|
3313
|
+
${this.hideFooter ? p : d`<div class="footer"><slot name="footer"></slot></div>`}
|
|
3275
3314
|
</div>
|
|
3276
3315
|
</div>
|
|
3277
3316
|
`;
|
|
3278
3317
|
}
|
|
3279
|
-
},
|
|
3318
|
+
}, $.styles = H`
|
|
3280
3319
|
:host {
|
|
3281
3320
|
display: none;
|
|
3282
3321
|
font-family: var(--font-sans);
|
|
@@ -3303,15 +3342,23 @@ const Y = (k = class extends h {
|
|
|
3303
3342
|
from { opacity: 1; transform: translateY(0); }
|
|
3304
3343
|
to { opacity: 0; transform: translateY(12px); }
|
|
3305
3344
|
}
|
|
3345
|
+
@keyframes modalFullscreenIn {
|
|
3346
|
+
from { opacity: 0; transform: translateY(24px); }
|
|
3347
|
+
to { opacity: 1; transform: translateY(0); }
|
|
3348
|
+
}
|
|
3349
|
+
@keyframes modalFullscreenOut {
|
|
3350
|
+
from { opacity: 1; transform: translateY(0); }
|
|
3351
|
+
to { opacity: 0; transform: translateY(24px); }
|
|
3352
|
+
}
|
|
3306
3353
|
.overlay {
|
|
3307
3354
|
position: absolute;
|
|
3308
3355
|
inset: 0;
|
|
3309
3356
|
background: rgba(50, 60, 77, 0.6);
|
|
3310
3357
|
cursor: default;
|
|
3311
|
-
animation: overlayIn ${
|
|
3358
|
+
animation: overlayIn ${B1}ms cubic-bezier(0.2, 0, 0, 1) forwards;
|
|
3312
3359
|
}
|
|
3313
3360
|
.overlay.is-leaving {
|
|
3314
|
-
animation: overlayOut ${
|
|
3361
|
+
animation: overlayOut ${S4}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
|
|
3315
3362
|
}
|
|
3316
3363
|
.modal-wrapper {
|
|
3317
3364
|
position: absolute;
|
|
@@ -3334,10 +3381,42 @@ const Y = (k = class extends h {
|
|
|
3334
3381
|
max-height: calc(100vh - 64px);
|
|
3335
3382
|
box-shadow: 0 8px 24px 0 rgba(29, 41, 57, 0.12), 0 2px 8px 0 rgba(29, 41, 57, 0.08);
|
|
3336
3383
|
flex-shrink: 0;
|
|
3337
|
-
animation: modalIn ${
|
|
3384
|
+
animation: modalIn ${B1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
|
|
3338
3385
|
}
|
|
3339
3386
|
.modal.is-leaving {
|
|
3340
|
-
animation: modalOut ${
|
|
3387
|
+
animation: modalOut ${C5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
|
|
3388
|
+
}
|
|
3389
|
+
.modal-wrapper--fullscreen {
|
|
3390
|
+
padding: 0;
|
|
3391
|
+
align-items: stretch;
|
|
3392
|
+
height: 100%;
|
|
3393
|
+
overflow: hidden;
|
|
3394
|
+
}
|
|
3395
|
+
.modal--fullscreen .header {
|
|
3396
|
+
flex-direction: row-reverse;
|
|
3397
|
+
align-items: center;
|
|
3398
|
+
padding: 8px;
|
|
3399
|
+
border-bottom: 1px solid var(--color-gray-3, #e4e7ec);
|
|
3400
|
+
}
|
|
3401
|
+
.modal--fullscreen .header-sep {
|
|
3402
|
+
display: block;
|
|
3403
|
+
width: 1px;
|
|
3404
|
+
height: 20px;
|
|
3405
|
+
margin-left: 8px;
|
|
3406
|
+
margin-right: 16px;
|
|
3407
|
+
background: var(--color-gray-3, #e4e7ec);
|
|
3408
|
+
flex-shrink: 0;
|
|
3409
|
+
}
|
|
3410
|
+
.modal--fullscreen {
|
|
3411
|
+
border-radius: 0;
|
|
3412
|
+
max-width: 100%;
|
|
3413
|
+
max-height: 100%;
|
|
3414
|
+
height: 100%;
|
|
3415
|
+
box-shadow: none;
|
|
3416
|
+
animation: modalFullscreenIn ${B1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
|
|
3417
|
+
}
|
|
3418
|
+
.modal--fullscreen.is-leaving {
|
|
3419
|
+
animation: modalFullscreenOut ${C5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
|
|
3341
3420
|
}
|
|
3342
3421
|
.header {
|
|
3343
3422
|
flex-shrink: 0;
|
|
@@ -3345,6 +3424,8 @@ const Y = (k = class extends h {
|
|
|
3345
3424
|
align-items: flex-start;
|
|
3346
3425
|
padding: 20px 28px;
|
|
3347
3426
|
}
|
|
3427
|
+
.header-slot { flex: 1; min-width: 0; }
|
|
3428
|
+
.header-sep { display: none; }
|
|
3348
3429
|
.title {
|
|
3349
3430
|
flex: 1;
|
|
3350
3431
|
font-size: 20px;
|
|
@@ -3369,25 +3450,35 @@ const Y = (k = class extends h {
|
|
|
3369
3450
|
gap: 8px;
|
|
3370
3451
|
padding: 24px 28px;
|
|
3371
3452
|
}
|
|
3372
|
-
|
|
3373
|
-
|
|
3453
|
+
.modal--fullscreen .footer {
|
|
3454
|
+
padding: 16px 24px;
|
|
3455
|
+
border-top: 1px solid var(--color-gray-3, #e4e7ec);
|
|
3456
|
+
}
|
|
3457
|
+
`, $._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), $);
|
|
3458
|
+
j([
|
|
3374
3459
|
r({ type: Boolean, reflect: !0 })
|
|
3375
|
-
],
|
|
3376
|
-
|
|
3460
|
+
], F.prototype, "open");
|
|
3461
|
+
j([
|
|
3377
3462
|
r()
|
|
3378
|
-
],
|
|
3379
|
-
|
|
3463
|
+
], F.prototype, "heading");
|
|
3464
|
+
j([
|
|
3465
|
+
r({ type: Boolean, attribute: "hide-header" })
|
|
3466
|
+
], F.prototype, "hideHeader");
|
|
3467
|
+
j([
|
|
3380
3468
|
r({ type: Boolean, attribute: "hide-footer" })
|
|
3381
|
-
],
|
|
3382
|
-
|
|
3469
|
+
], F.prototype, "hideFooter");
|
|
3470
|
+
j([
|
|
3383
3471
|
r({ attribute: "max-width" })
|
|
3384
|
-
],
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
],
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3472
|
+
], F.prototype, "maxWidth");
|
|
3473
|
+
j([
|
|
3474
|
+
r({ type: Boolean })
|
|
3475
|
+
], F.prototype, "fullscreen");
|
|
3476
|
+
j([
|
|
3477
|
+
T()
|
|
3478
|
+
], F.prototype, "_leaving");
|
|
3479
|
+
let D4 = F;
|
|
3480
|
+
customElements.get("anduin-modal") || customElements.define("anduin-modal", D4);
|
|
3481
|
+
class O4 extends HTMLElement {
|
|
3391
3482
|
constructor() {
|
|
3392
3483
|
super(...arguments), this._onClick = () => {
|
|
3393
3484
|
this.dispatchEvent(new CustomEvent("close", { bubbles: !0, composed: !0 }));
|
|
@@ -3400,14 +3491,120 @@ class A4 extends HTMLElement {
|
|
|
3400
3491
|
this.removeEventListener("click", this._onClick);
|
|
3401
3492
|
}
|
|
3402
3493
|
}
|
|
3403
|
-
customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close",
|
|
3494
|
+
customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", O4);
|
|
3495
|
+
var I4 = Object.defineProperty, q = (l, e, t, o) => {
|
|
3496
|
+
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
3497
|
+
(n = l[i]) && (C = n(e, t, C) || C);
|
|
3498
|
+
return C && I4(e, t, C), C;
|
|
3499
|
+
};
|
|
3500
|
+
const o5 = [
|
|
3501
|
+
{ bg: "#6172F3", text: "#ffffff" },
|
|
3502
|
+
{ bg: "#B692F6", text: "#ffffff" },
|
|
3503
|
+
{ bg: "#F670C7", text: "#ffffff" },
|
|
3504
|
+
{ bg: "#F79009", text: "#ffffff" },
|
|
3505
|
+
{ bg: "#32D583", text: "#ffffff" },
|
|
3506
|
+
{ bg: "#36BFFA", text: "#ffffff" },
|
|
3507
|
+
{ bg: "#F97066", text: "#ffffff" },
|
|
3508
|
+
{ bg: "#7A5AF8", text: "#ffffff" }
|
|
3509
|
+
];
|
|
3510
|
+
function T4(l) {
|
|
3511
|
+
let e = 0;
|
|
3512
|
+
for (let t = 0; t < l.length; t++) e = e * 31 + l.charCodeAt(t) >>> 0;
|
|
3513
|
+
return o5[e % o5.length];
|
|
3514
|
+
}
|
|
3515
|
+
function N4(l) {
|
|
3516
|
+
var t;
|
|
3517
|
+
const e = l.trim().split(/\s+/);
|
|
3518
|
+
return e.length === 1 ? ((t = e[0][0]) == null ? void 0 : t.toUpperCase()) ?? "" : ((e[0][0] ?? "") + (e[e.length - 1][0] ?? "")).toUpperCase();
|
|
3519
|
+
}
|
|
3520
|
+
const z2 = class z2 extends h {
|
|
3521
|
+
constructor() {
|
|
3522
|
+
super(...arguments), this.src = "", this.name = "", this.alt = "", this.icon = "", this.size = 32, this.shape = "circle", this._imgError = !1;
|
|
3523
|
+
}
|
|
3524
|
+
_onImgError() {
|
|
3525
|
+
this._imgError = !0;
|
|
3526
|
+
}
|
|
3527
|
+
_iconSize() {
|
|
3528
|
+
return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
|
|
3529
|
+
}
|
|
3530
|
+
render() {
|
|
3531
|
+
const e = !!this.src && !this._imgError, t = this.name || this.icon ? T4(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, o = this.name ? N4(this.name) : "";
|
|
3532
|
+
return d`
|
|
3533
|
+
<div
|
|
3534
|
+
class="avatar avatar--${this.shape} avatar--${this.size}"
|
|
3535
|
+
style=${e ? "" : `background:${t.bg}`}
|
|
3536
|
+
aria-label=${this.alt || this.name || this.icon || "avatar"}
|
|
3537
|
+
role="img"
|
|
3538
|
+
part="avatar"
|
|
3539
|
+
>
|
|
3540
|
+
${e ? d`<img src=${this.src} alt=${this.alt || this.name} @error=${this._onImgError} />` : this.icon ? d`<span style="color:${t.text};width:100%;height:100%;display:flex;align-items:center;justify-content:center"><anduin-icon name=${this.icon} size=${this._iconSize()}></anduin-icon></span>` : o ? d`<span style="color:${t.text};background:${t.bg};width:100%;height:100%;display:flex;align-items:center;justify-content:center">${o}</span>` : d`<span style="color:#98A2B3;background:#F2F4F7;width:100%;height:100%;display:flex;align-items:center;justify-content:center">
|
|
3541
|
+
<svg width="60%" height="60%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3542
|
+
<path d="M8 8C9.93 8 11.5 6.43 11.5 4.5S9.93 1 8 1 4.5 2.57 4.5 4.5 6.07 8 8 8zm0 1.5C5.66 9.5 1 10.67 1 13v1h14v-1c0-2.33-4.66-3.5-7-3.5z" fill="currentColor"/>
|
|
3543
|
+
</svg>
|
|
3544
|
+
</span>`}
|
|
3545
|
+
</div>
|
|
3546
|
+
`;
|
|
3547
|
+
}
|
|
3548
|
+
};
|
|
3549
|
+
z2.styles = H`
|
|
3550
|
+
:host { display: inline-flex; }
|
|
3551
|
+
|
|
3552
|
+
.avatar {
|
|
3553
|
+
display: inline-flex;
|
|
3554
|
+
align-items: center;
|
|
3555
|
+
justify-content: center;
|
|
3556
|
+
overflow: hidden;
|
|
3557
|
+
flex-shrink: 0;
|
|
3558
|
+
user-select: none;
|
|
3559
|
+
font-family: var(--font-sans);
|
|
3560
|
+
font-weight: 600;
|
|
3561
|
+
line-height: 1;
|
|
3562
|
+
}
|
|
3563
|
+
.avatar--circle { border-radius: 50%; }
|
|
3564
|
+
.avatar--rounded { border-radius: 4px; }
|
|
3565
|
+
|
|
3566
|
+
.avatar--16 { width: 16px; height: 16px; font-size: 8px; }
|
|
3567
|
+
.avatar--20 { width: 20px; height: 20px; font-size: 9px; }
|
|
3568
|
+
.avatar--24 { width: 24px; height: 24px; font-size: 10px; }
|
|
3569
|
+
.avatar--32 { width: 32px; height: 32px; font-size: 13px; }
|
|
3570
|
+
|
|
3571
|
+
img {
|
|
3572
|
+
width: 100%;
|
|
3573
|
+
height: 100%;
|
|
3574
|
+
object-fit: cover;
|
|
3575
|
+
display: block;
|
|
3576
|
+
}
|
|
3577
|
+
`;
|
|
3578
|
+
let x = z2;
|
|
3579
|
+
q([
|
|
3580
|
+
r()
|
|
3581
|
+
], x.prototype, "src");
|
|
3582
|
+
q([
|
|
3583
|
+
r()
|
|
3584
|
+
], x.prototype, "name");
|
|
3585
|
+
q([
|
|
3586
|
+
r()
|
|
3587
|
+
], x.prototype, "alt");
|
|
3588
|
+
q([
|
|
3589
|
+
r()
|
|
3590
|
+
], x.prototype, "icon");
|
|
3591
|
+
q([
|
|
3592
|
+
r({ type: Number })
|
|
3593
|
+
], x.prototype, "size");
|
|
3594
|
+
q([
|
|
3595
|
+
r()
|
|
3596
|
+
], x.prototype, "shape");
|
|
3597
|
+
q([
|
|
3598
|
+
T()
|
|
3599
|
+
], x.prototype, "_imgError");
|
|
3600
|
+
customElements.get("anduin-avatar") || customElements.define("anduin-avatar", x);
|
|
3404
3601
|
/**
|
|
3405
3602
|
* @license
|
|
3406
3603
|
* Copyright 2017 Google LLC
|
|
3407
3604
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3408
3605
|
*/
|
|
3409
|
-
const
|
|
3410
|
-
class
|
|
3606
|
+
const U4 = { CHILD: 2 }, j4 = (l) => (...e) => ({ _$litDirective$: l, values: e });
|
|
3607
|
+
class q4 {
|
|
3411
3608
|
constructor(e) {
|
|
3412
3609
|
}
|
|
3413
3610
|
get _$AU() {
|
|
@@ -3428,13 +3625,13 @@ class z4 {
|
|
|
3428
3625
|
* Copyright 2017 Google LLC
|
|
3429
3626
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3430
3627
|
*/
|
|
3431
|
-
class
|
|
3628
|
+
class G1 extends q4 {
|
|
3432
3629
|
constructor(e) {
|
|
3433
|
-
if (super(e), this.it =
|
|
3630
|
+
if (super(e), this.it = p, e.type !== U4.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
3434
3631
|
}
|
|
3435
3632
|
render(e) {
|
|
3436
|
-
if (e ===
|
|
3437
|
-
if (e ===
|
|
3633
|
+
if (e === p || e == null) return this._t = void 0, this.it = e;
|
|
3634
|
+
if (e === O) return e;
|
|
3438
3635
|
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
3439
3636
|
if (e === this.it) return this._t;
|
|
3440
3637
|
this.it = e;
|
|
@@ -3442,16 +3639,16 @@ class T1 extends z4 {
|
|
|
3442
3639
|
return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
|
|
3443
3640
|
}
|
|
3444
3641
|
}
|
|
3445
|
-
|
|
3642
|
+
G1.directiveName = "unsafeHTML", G1.resultType = 1;
|
|
3446
3643
|
/**
|
|
3447
3644
|
* @license
|
|
3448
3645
|
* Copyright 2017 Google LLC
|
|
3449
3646
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3450
3647
|
*/
|
|
3451
|
-
class
|
|
3648
|
+
class Y1 extends G1 {
|
|
3452
3649
|
}
|
|
3453
|
-
|
|
3454
|
-
const
|
|
3650
|
+
Y1.directiveName = "unsafeSVG", Y1.resultType = 2;
|
|
3651
|
+
const G4 = j4(Y1), Y4 = {
|
|
3455
3652
|
archive: {
|
|
3456
3653
|
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"/>
|
|
3457
3654
|
<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"/>
|
|
@@ -3695,26 +3892,26 @@ const P4 = F4(N1), S4 = {
|
|
|
3695
3892
|
<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"/>
|
|
3696
3893
|
<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"/>` }
|
|
3697
3894
|
}
|
|
3698
|
-
},
|
|
3699
|
-
function
|
|
3700
|
-
const t =
|
|
3895
|
+
}, W4 = [32, 24, 16];
|
|
3896
|
+
function K4(l, e) {
|
|
3897
|
+
const t = Y4[l];
|
|
3701
3898
|
if (!t) return null;
|
|
3702
3899
|
if (t[e]) return t[e];
|
|
3703
|
-
for (const o of
|
|
3900
|
+
for (const o of W4)
|
|
3704
3901
|
if (t[o]) return t[o];
|
|
3705
3902
|
return null;
|
|
3706
3903
|
}
|
|
3707
|
-
var
|
|
3904
|
+
var X4 = Object.defineProperty, x5 = (l, e, t, o) => {
|
|
3708
3905
|
for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
|
|
3709
3906
|
(n = l[i]) && (C = n(e, t, C) || C);
|
|
3710
|
-
return C &&
|
|
3907
|
+
return C && X4(e, t, C), C;
|
|
3711
3908
|
};
|
|
3712
|
-
const
|
|
3909
|
+
const P2 = class P2 extends h {
|
|
3713
3910
|
constructor() {
|
|
3714
3911
|
super(...arguments), this.type = "pdf", this.size = 32;
|
|
3715
3912
|
}
|
|
3716
3913
|
render() {
|
|
3717
|
-
const e =
|
|
3914
|
+
const e = K4(this.type, this.size);
|
|
3718
3915
|
return e ? d`
|
|
3719
3916
|
<svg
|
|
3720
3917
|
width=${this.size}
|
|
@@ -3725,84 +3922,87 @@ const k2 = class k2 extends h {
|
|
|
3725
3922
|
aria-label="${this.type} file"
|
|
3726
3923
|
role="img"
|
|
3727
3924
|
>
|
|
3728
|
-
${
|
|
3925
|
+
${G4(e.paths)}
|
|
3729
3926
|
</svg>
|
|
3730
|
-
` :
|
|
3927
|
+
` : p;
|
|
3731
3928
|
}
|
|
3732
3929
|
};
|
|
3733
|
-
|
|
3930
|
+
P2.styles = H`
|
|
3734
3931
|
:host { display: inline-flex; align-items: center; justify-content: center; }
|
|
3735
3932
|
svg { display: block; }
|
|
3736
3933
|
`;
|
|
3737
|
-
let
|
|
3738
|
-
|
|
3934
|
+
let h1 = P2;
|
|
3935
|
+
x5([
|
|
3739
3936
|
r()
|
|
3740
|
-
],
|
|
3741
|
-
|
|
3937
|
+
], h1.prototype, "type");
|
|
3938
|
+
x5([
|
|
3742
3939
|
r({ type: Number })
|
|
3743
|
-
],
|
|
3744
|
-
customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon",
|
|
3940
|
+
], h1.prototype, "size");
|
|
3941
|
+
customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", h1);
|
|
3745
3942
|
if (typeof document < "u" && !document.getElementById("acl-tokens")) {
|
|
3746
3943
|
const l = document.createElement("style");
|
|
3747
|
-
l.id = "acl-tokens", l.textContent =
|
|
3944
|
+
l.id = "acl-tokens", l.textContent = $5, document.head.appendChild(l);
|
|
3748
3945
|
}
|
|
3749
3946
|
export {
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
d1 as
|
|
3763
|
-
|
|
3947
|
+
x as AnduinAvatar,
|
|
3948
|
+
M1 as AnduinBadge,
|
|
3949
|
+
r1 as AnduinBadgeCount,
|
|
3950
|
+
V as AnduinButton,
|
|
3951
|
+
m1 as AnduinCallout,
|
|
3952
|
+
E as AnduinCheckbox,
|
|
3953
|
+
a1 as AnduinDivider,
|
|
3954
|
+
b1 as AnduinDot,
|
|
3955
|
+
y1 as AnduinField,
|
|
3956
|
+
z1 as AnduinFieldDescription,
|
|
3957
|
+
P1 as AnduinFieldError,
|
|
3958
|
+
S1 as AnduinFieldGroup,
|
|
3959
|
+
d1 as AnduinFieldLabel,
|
|
3960
|
+
h1 as AnduinFileIcon,
|
|
3961
|
+
n1 as AnduinIcon,
|
|
3764
3962
|
g as AnduinInput,
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3963
|
+
Z1 as AnduinLoadingState,
|
|
3964
|
+
I as AnduinMenu,
|
|
3965
|
+
X as AnduinMenuItem,
|
|
3966
|
+
D4 as AnduinModal,
|
|
3967
|
+
O4 as AnduinModalClose,
|
|
3968
|
+
A as AnduinPopover,
|
|
3969
|
+
j1 as AnduinPopoverClose,
|
|
3970
|
+
s1 as AnduinProgress,
|
|
3772
3971
|
R as AnduinSkeleton,
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3972
|
+
i1 as AnduinSpinner,
|
|
3973
|
+
p1 as AnduinTabContent,
|
|
3974
|
+
_ as AnduinTabTrigger,
|
|
3975
|
+
W as AnduinTabs,
|
|
3976
|
+
c1 as AnduinTabsList,
|
|
3977
|
+
K as AnduinTag,
|
|
3978
|
+
D1 as AnduinTagClose,
|
|
3979
|
+
Z as AnduinTextarea,
|
|
3980
|
+
u1 as AnduinTooltip,
|
|
3981
|
+
T1 as AnduinTooltipContent,
|
|
3982
|
+
I1 as AnduinTooltipTrigger,
|
|
3983
|
+
x1 as AnduinWell,
|
|
3984
|
+
N1 as AnduinWellClose,
|
|
3985
|
+
u5 as BADGE_STYLES,
|
|
3986
|
+
f4 as CHECKBOX_CHANGE,
|
|
3987
|
+
V5 as FIELD_LABEL_CLICK,
|
|
3988
|
+
_1 as FIELD_LABEL_CLICK_COORDINATED,
|
|
3989
|
+
Y4 as FILE_ICONS,
|
|
3990
|
+
J2 as INPUT_CHANGE,
|
|
3991
|
+
L4 as INPUT_CLEAR,
|
|
3992
|
+
q1 as MENU_ITEM_CLICK,
|
|
3993
|
+
U1 as POPOVER_CLOSE,
|
|
3994
|
+
b4 as TAB_CHANGE,
|
|
3995
|
+
L5 as TAB_TRIGGER_CLICK,
|
|
3996
|
+
w1 as TAB_VALUE_CHANGED,
|
|
3997
|
+
y4 as TAG_CLOSE_CLICK,
|
|
3998
|
+
M4 as TEXTAREA_CHANGE,
|
|
3999
|
+
b5 as TOOLTIP_CONTENT_POPUP_MOUNTED,
|
|
4000
|
+
Z5 as TOOLTIP_CONTENT_POPUP_UNMOUNTED,
|
|
4001
|
+
t2 as TOOLTIP_HIDE,
|
|
4002
|
+
M5 as TOOLTIP_SHOW,
|
|
4003
|
+
m5 as TOOLTIP_TRIGGER_MOUNTED,
|
|
4004
|
+
y5 as TOOLTIP_VISIBILITY_CHANGED,
|
|
4005
|
+
B4 as WELL_CLOSE_CLICK,
|
|
4006
|
+
h5 as getBadgeVariantClass,
|
|
4007
|
+
K4 as resolveFileIcon
|
|
3808
4008
|
};
|