@duyluonganduin/acl-web-components 0.0.13 → 0.0.14

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.
@@ -316,8 +316,8 @@ class p1 {
316
316
  for (; (o = T.nextNode()) !== null && s.length < a; ) {
317
317
  if (o.nodeType === 1) {
318
318
  if (o.hasAttributes()) for (const v of o.getAttributeNames()) if (v.endsWith(y5)) {
319
- const g = H[n++], f = o.getAttribute(v).split(A), M = /([.?@])?(.*)/.exec(g);
320
- s.push({ type: 1, index: l, name: M[2], strings: f, ctor: M[1] === "." ? l4 : M[1] === "?" ? n4 : M[1] === "@" ? r4 : I1 }), o.removeAttribute(v);
319
+ const g = H[n++], f = o.getAttribute(v).split(A), m = /([.?@])?(.*)/.exec(g);
320
+ s.push({ type: 1, index: l, name: m[2], strings: f, ctor: m[1] === "." ? l4 : m[1] === "?" ? n4 : m[1] === "@" ? r4 : I1 }), o.removeAttribute(v);
321
321
  } else v.startsWith(A) && (s.push({ type: 6, index: l }), o.removeAttribute(v));
322
322
  if (x5.test(o.tagName)) {
323
323
  const v = o.textContent.split(A), g = v.length - 1;
@@ -546,8 +546,8 @@ let u = class extends K {
546
546
  return U;
547
547
  }
548
548
  };
549
- var m5;
550
- u._$litElement$ = !0, u.finalized = !0, (m5 = N.litElementHydrateSupport) == null || m5.call(N, { LitElement: u });
549
+ var M5;
550
+ u._$litElement$ = !0, u.finalized = !0, (M5 = N.litElementHydrateSupport) == null || M5.call(N, { LitElement: u });
551
551
  const q1 = N.litElementPolyfillSupport;
552
552
  q1 == null || q1({ LitElement: u });
553
553
  (N.litElementVersions ?? (N.litElementVersions = [])).push("4.2.2");
@@ -1170,7 +1170,7 @@ var V4 = Object.defineProperty, L = (i, e, t, C) => {
1170
1170
  function g4(i) {
1171
1171
  return i.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1172
1172
  }
1173
- const M2 = class M2 extends u {
1173
+ const m2 = class m2 extends u {
1174
1174
  constructor() {
1175
1175
  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 = "";
1176
1176
  }
@@ -1231,7 +1231,7 @@ const M2 = class M2 extends u {
1231
1231
  `;
1232
1232
  }
1233
1233
  };
1234
- M2.styles = h`
1234
+ m2.styles = h`
1235
1235
  :host { display: inline-block; font-family: var(--font-sans); }
1236
1236
  :host([full-width]) { display: block; width: 100%; }
1237
1237
  .button {
@@ -1333,7 +1333,7 @@ M2.styles = h`
1333
1333
  .button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
1334
1334
  .button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
1335
1335
  `;
1336
- let V = M2;
1336
+ let V = m2;
1337
1337
  L([
1338
1338
  x()
1339
1339
  ], V.prototype, "iconOnly");
@@ -1385,7 +1385,7 @@ var L4 = Object.defineProperty, b4 = (i, e, t, C) => {
1385
1385
  (n = i[l]) && (o = n(e, t, o) || o);
1386
1386
  return o && L4(e, t, o), o;
1387
1387
  };
1388
- const m2 = class m2 extends u {
1388
+ const M2 = class M2 extends u {
1389
1389
  constructor() {
1390
1390
  super(...arguments), this.variant = "gray";
1391
1391
  }
@@ -1398,7 +1398,7 @@ const m2 = class m2 extends u {
1398
1398
  `;
1399
1399
  }
1400
1400
  };
1401
- m2.styles = h`
1401
+ M2.styles = h`
1402
1402
  :host { display: block; font-family: var(--font-sans); }
1403
1403
  .callout {
1404
1404
  display: flex; align-items: center; justify-content: center;
@@ -1410,15 +1410,15 @@ m2.styles = h`
1410
1410
  .callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1411
1411
  .callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1412
1412
  `;
1413
- let z1 = m2;
1413
+ let z1 = M2;
1414
1414
  b4([
1415
1415
  r()
1416
1416
  ], z1.prototype, "variant");
1417
1417
  customElements.get("anduin-callout") || customElements.define("anduin-callout", z1);
1418
- var M4 = Object.defineProperty, F5 = (i, e, t, C) => {
1418
+ var m4 = Object.defineProperty, F5 = (i, e, t, C) => {
1419
1419
  for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1420
1420
  (n = i[l]) && (o = n(e, t, o) || o);
1421
- return o && M4(e, t, o), o;
1421
+ return o && m4(e, t, o), o;
1422
1422
  };
1423
1423
  const Z2 = class Z2 extends u {
1424
1424
  constructor() {
@@ -1469,10 +1469,10 @@ F5([
1469
1469
  x()
1470
1470
  ], v1.prototype, "hasContent");
1471
1471
  customElements.get("anduin-divider") || customElements.define("anduin-divider", v1);
1472
- var m4 = Object.defineProperty, Z4 = (i, e, t, C) => {
1472
+ var M4 = Object.defineProperty, Z4 = (i, e, t, C) => {
1473
1473
  for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
1474
1474
  (n = i[l]) && (o = n(e, t, o) || o);
1475
- return o && m4(e, t, o), o;
1475
+ return o && M4(e, t, o), o;
1476
1476
  };
1477
1477
  const y2 = class y2 extends u {
1478
1478
  constructor() {
@@ -2114,7 +2114,7 @@ S([
2114
2114
  D("textarea")
2115
2115
  ], Z.prototype, "textareaEl");
2116
2116
  customElements.get("anduin-textarea") || customElements.define("anduin-textarea", Z);
2117
- var z4 = Object.defineProperty, m = (i, e, t, C) => {
2117
+ var z4 = Object.defineProperty, M = (i, e, t, C) => {
2118
2118
  for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
2119
2119
  (n = i[l]) && (o = n(e, t, o) || o);
2120
2120
  return o && z4(e, t, o), o;
@@ -2150,13 +2150,13 @@ P2.styles = h`
2150
2150
  :host([fill]) .tabs { flex: 1; min-height: 0; }
2151
2151
  `;
2152
2152
  let Q = P2;
2153
- m([
2153
+ M([
2154
2154
  r({ attribute: "default-value" })
2155
2155
  ], Q.prototype, "defaultValue");
2156
- m([
2156
+ M([
2157
2157
  r()
2158
2158
  ], Q.prototype, "value");
2159
- m([
2159
+ M([
2160
2160
  r({ type: Boolean, reflect: !0 })
2161
2161
  ], Q.prototype, "fill");
2162
2162
  const D2 = class D2 extends u {
@@ -2218,10 +2218,10 @@ D2.styles = h`
2218
2218
  }
2219
2219
  `;
2220
2220
  let g1 = D2;
2221
- m([
2221
+ M([
2222
2222
  r()
2223
2223
  ], g1.prototype, "alignment");
2224
- m([
2224
+ M([
2225
2225
  D(".tabs-list__indicator")
2226
2226
  ], g1.prototype, "indicator");
2227
2227
  const S2 = class S2 extends u {
@@ -2282,22 +2282,22 @@ S2.styles = h`
2282
2282
  }
2283
2283
  `;
2284
2284
  let w = S2;
2285
- m([
2285
+ M([
2286
2286
  r()
2287
2287
  ], w.prototype, "value");
2288
- m([
2288
+ M([
2289
2289
  r({ attribute: "start-icon" })
2290
2290
  ], w.prototype, "startIcon");
2291
- m([
2291
+ M([
2292
2292
  r({ type: Boolean })
2293
2293
  ], w.prototype, "disabled");
2294
- m([
2294
+ M([
2295
2295
  r({ type: Boolean, attribute: "show-badge" })
2296
2296
  ], w.prototype, "showBadge");
2297
- m([
2297
+ M([
2298
2298
  r({ attribute: "badge-count" })
2299
2299
  ], w.prototype, "badgeCount");
2300
- m([
2300
+ M([
2301
2301
  x()
2302
2302
  ], w.prototype, "isActive");
2303
2303
  const O2 = class O2 extends u {
@@ -2329,10 +2329,10 @@ O2.styles = h`
2329
2329
  .tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
2330
2330
  `;
2331
2331
  let L1 = O2;
2332
- m([
2332
+ M([
2333
2333
  r()
2334
2334
  ], L1.prototype, "value");
2335
- m([
2335
+ M([
2336
2336
  x()
2337
2337
  ], L1.prototype, "isActive");
2338
2338
  customElements.get("anduin-tabs") || customElements.define("anduin-tabs", Q);
@@ -2561,10 +2561,10 @@ function j4(i, e, t, C = 8) {
2561
2561
  left: Math.round(Math.min(Math.max(c.left, 0), o - a)),
2562
2562
  top: Math.round(Math.min(Math.max(c.top, 0), l - s))
2563
2563
  };
2564
- H.sort((f, M) => {
2565
- const x1 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + s }, R1 = { left: M.off.left, top: M.off.top, right: M.off.left + a, bottom: M.off.top + s }, l1 = g5(x1, n), w1 = g5(R1, n);
2564
+ H.sort((f, m) => {
2565
+ const x1 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + s }, R1 = { left: m.off.left, top: m.off.top, right: m.off.left + a, bottom: m.off.top + s }, l1 = g5(x1, n), w1 = g5(R1, n);
2566
2566
  if (w1 !== l1) return w1 - l1;
2567
- const k1 = Math.abs(f.off.left - c.left) + Math.abs(f.off.top - c.top), $1 = Math.abs(M.off.left - c.left) + Math.abs(M.off.top - c.top);
2567
+ const k1 = Math.abs(f.off.left - c.left) + Math.abs(f.off.top - c.top), $1 = Math.abs(m.off.left - c.left) + Math.abs(m.off.top - c.top);
2568
2568
  return k1 - $1;
2569
2569
  });
2570
2570
  const { p: v, off: g } = H[0];
@@ -2960,7 +2960,7 @@ const l2 = "anduin-popover:close", Y2 = class Y2 extends u {
2960
2960
  t.style.transform = o;
2961
2961
  const n = t.getBoundingClientRect(), a = 4, s = window.innerWidth, c = window.innerHeight, H = 8;
2962
2962
  let v = 0, g = 0, f = "bottom";
2963
- const M = !this.placement.startsWith("top"), x1 = c - C.bottom - a, R1 = C.top - a, l1 = x1 >= n.height, w1 = R1 >= n.height, k1 = M ? l1 || x1 >= R1 : !w1 && l1;
2963
+ const m = !this.placement.startsWith("top"), x1 = c - C.bottom - a, R1 = C.top - a, l1 = x1 >= n.height, w1 = R1 >= n.height, k1 = m ? l1 || x1 >= R1 : !w1 && l1;
2964
2964
  f = k1 ? "bottom" : "top", g = k1 ? C.bottom + a : C.top - n.height - a;
2965
2965
  const $1 = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
2966
2966
  $1 === "start" ? v = C.left : $1 === "end" ? v = C.right - n.width : v = C.left + C.width / 2 - n.width / 2, v = Math.max(H, Math.min(v, s - n.width - H)), g = Math.max(H, Math.min(g, c - n.height - H)), t.style.transform = `translate(${Math.round(v - l.left)}px, ${Math.round(g - l.top)}px)`, t.dataset.side = f;
@@ -3253,7 +3253,7 @@ var K4 = Object.defineProperty, Y = (i, e, t, C) => {
3253
3253
  (n = i[l]) && (o = n(e, t, o) || o);
3254
3254
  return o && K4(e, t, o), o;
3255
3255
  };
3256
- const r1 = "anduin-close", G1 = 300, Y1 = 200, L5 = 250;
3256
+ const r1 = "anduin-close", J4 = "anduin-after-close", G1 = 300, Y1 = 200, L5 = 250;
3257
3257
  var F;
3258
3258
  const O = (F = class extends u {
3259
3259
  constructor() {
@@ -3267,7 +3267,7 @@ const O = (F = class extends u {
3267
3267
  this.style.setProperty("--_modal-width", C);
3268
3268
  }
3269
3269
  e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(() => {
3270
- this._leaving = !1, this.classList.remove("is-shown");
3270
+ this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(new CustomEvent(J4, { bubbles: !0, composed: !0 }));
3271
3271
  }, Math.max(Y1, L5))));
3272
3272
  }
3273
3273
  dispatch(e) {
@@ -3477,9 +3477,9 @@ Y([
3477
3477
  Y([
3478
3478
  x()
3479
3479
  ], O.prototype, "_leaving");
3480
- let J4 = O;
3481
- customElements.get("anduin-modal") || customElements.define("anduin-modal", J4);
3482
- class Q4 extends HTMLElement {
3480
+ let Q4 = O;
3481
+ customElements.get("anduin-modal") || customElements.define("anduin-modal", Q4);
3482
+ class e3 extends HTMLElement {
3483
3483
  constructor() {
3484
3484
  super(...arguments), this._onClick = () => {
3485
3485
  this.dispatchEvent(new CustomEvent(r1, { bubbles: !0, composed: !0 }));
@@ -3492,13 +3492,13 @@ class Q4 extends HTMLElement {
3492
3492
  this.removeEventListener("click", this._onClick);
3493
3493
  }
3494
3494
  }
3495
- customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", Q4);
3496
- var e3 = Object.defineProperty, E = (i, e, t, C) => {
3495
+ customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", e3);
3496
+ var t3 = Object.defineProperty, E = (i, e, t, C) => {
3497
3497
  for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
3498
3498
  (n = i[l]) && (o = n(e, t, o) || o);
3499
- return o && e3(e, t, o), o;
3499
+ return o && t3(e, t, o), o;
3500
3500
  };
3501
- const a2 = "anduin-radio:change", t3 = "anduin-radio-group:change", J2 = class J2 extends u {
3501
+ const a2 = "anduin-radio:change", o3 = "anduin-radio-group:change", J2 = class J2 extends u {
3502
3502
  constructor() {
3503
3503
  super(...arguments), this.checked = !1, this.disabled = !1, this.readonly = !1, this.value = "", this.name = "", this.inputid = "";
3504
3504
  }
@@ -3650,7 +3650,7 @@ const Q2 = class Q2 extends u {
3650
3650
  C !== this.value && (this.value = C, this.querySelectorAll("anduin-radio").forEach((o) => {
3651
3651
  const l = o;
3652
3652
  l.checked = l.value === C;
3653
- }), this.dispatchEvent(new CustomEvent(t3, {
3653
+ }), this.dispatchEvent(new CustomEvent(o3, {
3654
3654
  detail: C,
3655
3655
  bubbles: !0,
3656
3656
  composed: !0
@@ -3692,10 +3692,10 @@ E([
3692
3692
  r()
3693
3693
  ], o1.prototype, "orientation");
3694
3694
  customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group", o1);
3695
- var o3 = Object.defineProperty, W = (i, e, t, C) => {
3695
+ var C3 = Object.defineProperty, W = (i, e, t, C) => {
3696
3696
  for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
3697
3697
  (n = i[l]) && (o = n(e, t, o) || o);
3698
- return o && o3(e, t, o), o;
3698
+ return o && C3(e, t, o), o;
3699
3699
  };
3700
3700
  const b5 = [
3701
3701
  { bg: "#6172F3", text: "#ffffff" },
@@ -3707,12 +3707,12 @@ const b5 = [
3707
3707
  { bg: "#F97066", text: "#ffffff" },
3708
3708
  { bg: "#7A5AF8", text: "#ffffff" }
3709
3709
  ];
3710
- function C3(i) {
3710
+ function i3(i) {
3711
3711
  let e = 0;
3712
3712
  for (let t = 0; t < i.length; t++) e = e * 31 + i.charCodeAt(t) >>> 0;
3713
3713
  return b5[e % b5.length];
3714
3714
  }
3715
- function i3(i) {
3715
+ function l3(i) {
3716
3716
  var t;
3717
3717
  const e = i.trim().split(/\s+/);
3718
3718
  return e.length === 1 ? ((t = e[0][0]) == null ? void 0 : t.toUpperCase()) ?? "" : ((e[0][0] ?? "") + (e[e.length - 1][0] ?? "")).toUpperCase();
@@ -3728,7 +3728,7 @@ const e5 = class e5 extends u {
3728
3728
  return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
3729
3729
  }
3730
3730
  render() {
3731
- const e = !!this.src && !this._imgError, t = this.name || this.icon ? C3(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, C = this.name ? i3(this.name) : "";
3731
+ const e = !!this.src && !this._imgError, t = this.name || this.icon ? i3(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, C = this.name ? l3(this.name) : "";
3732
3732
  return d`
3733
3733
  <div
3734
3734
  class="avatar avatar--${this.shape} avatar--${this.size}"
@@ -3803,8 +3803,8 @@ customElements.get("anduin-avatar") || customElements.define("anduin-avatar", _)
3803
3803
  * Copyright 2017 Google LLC
3804
3804
  * SPDX-License-Identifier: BSD-3-Clause
3805
3805
  */
3806
- const l3 = { CHILD: 2 }, n3 = (i) => (...e) => ({ _$litDirective$: i, values: e });
3807
- class r3 {
3806
+ const n3 = { CHILD: 2 }, r3 = (i) => (...e) => ({ _$litDirective$: i, values: e });
3807
+ class a3 {
3808
3808
  constructor(e) {
3809
3809
  }
3810
3810
  get _$AU() {
@@ -3825,9 +3825,9 @@ class r3 {
3825
3825
  * Copyright 2017 Google LLC
3826
3826
  * SPDX-License-Identifier: BSD-3-Clause
3827
3827
  */
3828
- class s2 extends r3 {
3828
+ class s2 extends a3 {
3829
3829
  constructor(e) {
3830
- if (super(e), this.it = p, e.type !== l3.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3830
+ if (super(e), this.it = p, e.type !== n3.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3831
3831
  }
3832
3832
  render(e) {
3833
3833
  if (e === p || e == null) return this._t = void 0, this.it = e;
@@ -3848,7 +3848,7 @@ s2.directiveName = "unsafeHTML", s2.resultType = 1;
3848
3848
  class d2 extends s2 {
3849
3849
  }
3850
3850
  d2.directiveName = "unsafeSVG", d2.resultType = 2;
3851
- const a3 = n3(d2), s3 = {
3851
+ const s3 = r3(d2), d3 = {
3852
3852
  archive: {
3853
3853
  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"/>
3854
3854
  <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"/>
@@ -4092,26 +4092,26 @@ const a3 = n3(d2), s3 = {
4092
4092
  <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"/>
4093
4093
  <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"/>` }
4094
4094
  }
4095
- }, d3 = [32, 24, 16];
4096
- function c3(i, e) {
4097
- const t = s3[i];
4095
+ }, c3 = [32, 24, 16];
4096
+ function p3(i, e) {
4097
+ const t = d3[i];
4098
4098
  if (!t) return null;
4099
4099
  if (t[e]) return t[e];
4100
- for (const C of d3)
4100
+ for (const C of c3)
4101
4101
  if (t[C]) return t[C];
4102
4102
  return null;
4103
4103
  }
4104
- var p3 = Object.defineProperty, U5 = (i, e, t, C) => {
4104
+ var u3 = Object.defineProperty, U5 = (i, e, t, C) => {
4105
4105
  for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
4106
4106
  (n = i[l]) && (o = n(e, t, o) || o);
4107
- return o && p3(e, t, o), o;
4107
+ return o && u3(e, t, o), o;
4108
4108
  };
4109
4109
  const t5 = class t5 extends u {
4110
4110
  constructor() {
4111
4111
  super(...arguments), this.type = "pdf", this.size = 32;
4112
4112
  }
4113
4113
  render() {
4114
- const e = c3(this.type, this.size);
4114
+ const e = p3(this.type, this.size);
4115
4115
  return e ? d`
4116
4116
  <svg
4117
4117
  width=${this.size}
@@ -4122,7 +4122,7 @@ const t5 = class t5 extends u {
4122
4122
  aria-label="${this.type} file"
4123
4123
  role="img"
4124
4124
  >
4125
- ${a3(e.paths)}
4125
+ ${s3(e.paths)}
4126
4126
  </svg>
4127
4127
  ` : p;
4128
4128
  }
@@ -4131,26 +4131,26 @@ t5.styles = h`
4131
4131
  :host { display: inline-flex; align-items: center; justify-content: center; }
4132
4132
  svg { display: block; }
4133
4133
  `;
4134
- let M1 = t5;
4134
+ let m1 = t5;
4135
4135
  U5([
4136
4136
  r()
4137
- ], M1.prototype, "type");
4137
+ ], m1.prototype, "type");
4138
4138
  U5([
4139
4139
  r({ type: Number })
4140
- ], M1.prototype, "size");
4141
- customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", M1);
4142
- var u3 = Object.defineProperty, X = (i, e, t, C) => {
4140
+ ], m1.prototype, "size");
4141
+ customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", m1);
4142
+ var h3 = Object.defineProperty, X = (i, e, t, C) => {
4143
4143
  for (var o = void 0, l = i.length - 1, n; l >= 0; l--)
4144
4144
  (n = i[l]) && (o = n(e, t, o) || o);
4145
- return o && u3(e, t, o), o;
4145
+ return o && h3(e, t, o), o;
4146
4146
  };
4147
- const M5 = {
4147
+ const m5 = {
4148
4148
  gray: "info",
4149
4149
  primary: "infoCircleLine",
4150
4150
  success: "checkCircle",
4151
4151
  warning: "warning",
4152
4152
  danger: "error"
4153
- }, h3 = "anduin-toast:dismiss", o5 = class o5 extends u {
4153
+ }, H3 = "anduin-toast:dismiss", o5 = class o5 extends u {
4154
4154
  constructor() {
4155
4155
  super(...arguments), this.variant = "gray", this.heading = "", this.description = "", this._dismissing = !1;
4156
4156
  }
@@ -4161,7 +4161,7 @@ const M5 = {
4161
4161
  const e = (C) => {
4162
4162
  var o;
4163
4163
  C.propertyName === "opacity" && ((o = this._toastEl) == null || o.removeEventListener("transitionend", e), this.dispatchEvent(
4164
- new CustomEvent(h3, { bubbles: !0, composed: !0 })
4164
+ new CustomEvent(H3, { bubbles: !0, composed: !0 })
4165
4165
  ));
4166
4166
  };
4167
4167
  (t = this._toastEl) == null || t.addEventListener("transitionend", e);
@@ -4170,7 +4170,7 @@ const M5 = {
4170
4170
  this.dismiss();
4171
4171
  }
4172
4172
  render() {
4173
- const e = M5[this.variant] ?? M5.gray;
4173
+ const e = m5[this.variant] ?? m5.gray;
4174
4174
  return d`
4175
4175
  <div
4176
4176
  class="toast toast--${this.variant} ${this._dismissing ? "toast--dismissing" : ""}"
@@ -4423,17 +4423,17 @@ C5.styles = h`
4423
4423
  align-items: flex-end;
4424
4424
  }
4425
4425
  `;
4426
- let m1 = C5;
4426
+ let M1 = C5;
4427
4427
  X([
4428
4428
  r()
4429
- ], m1.prototype, "position");
4429
+ ], M1.prototype, "position");
4430
4430
  X([
4431
4431
  x()
4432
- ], m1.prototype, "_toasts");
4433
- customElements.get("anduin-toaster") || customElements.define("anduin-toaster", m1);
4434
- const g3 = {
4432
+ ], M1.prototype, "_toasts");
4433
+ customElements.get("anduin-toaster") || customElements.define("anduin-toaster", M1);
4434
+ const L3 = {
4435
4435
  show(i) {
4436
- return H3(i.position).show(i);
4436
+ return v3(i.position).show(i);
4437
4437
  },
4438
4438
  success(i, e, t) {
4439
4439
  return this.show({ ...t, variant: "success", heading: i, description: e });
@@ -4451,13 +4451,13 @@ const g3 = {
4451
4451
  return this.show({ ...t, variant: "gray", heading: i, description: e });
4452
4452
  }
4453
4453
  }, W1 = /* @__PURE__ */ new Map();
4454
- function H3(i = "bottom-left") {
4454
+ function v3(i = "bottom-left") {
4455
4455
  if (W1.has(i)) return W1.get(i);
4456
4456
  const e = document.createElement("anduin-toaster");
4457
4457
  return e.position = i, document.body.appendChild(e), W1.set(i, e), e;
4458
4458
  }
4459
4459
  export {
4460
- P4 as $,
4460
+ a2 as $,
4461
4461
  _ as A,
4462
4462
  u1 as B,
4463
4463
  L1 as C,
@@ -4468,7 +4468,7 @@ export {
4468
4468
  e2 as H,
4469
4469
  Z as I,
4470
4470
  P as J,
4471
- m1 as K,
4471
+ M1 as K,
4472
4472
  b1 as L,
4473
4473
  C2 as M,
4474
4474
  o2 as N,
@@ -4478,29 +4478,30 @@ export {
4478
4478
  $4 as R,
4479
4479
  P5 as S,
4480
4480
  y1 as T,
4481
- s3 as U,
4481
+ d3 as U,
4482
4482
  v5 as V,
4483
4483
  A4 as W,
4484
4484
  r2 as X,
4485
- l2 as Y,
4486
- a2 as Z,
4487
- t3 as _,
4485
+ J4 as Y,
4486
+ r1 as Z,
4487
+ l2 as _,
4488
4488
  F1 as a,
4489
- D5 as a0,
4490
- T1 as a1,
4491
- S4 as a2,
4492
- F4 as a3,
4493
- T5 as a4,
4494
- N5 as a5,
4495
- f2 as a6,
4496
- O5 as a7,
4497
- I5 as a8,
4498
- j5 as a9,
4499
- Y4 as aa,
4500
- A5 as ab,
4501
- c3 as ac,
4502
- g3 as ad,
4503
- r1 as ae,
4489
+ o3 as a0,
4490
+ P4 as a1,
4491
+ D5 as a2,
4492
+ T1 as a3,
4493
+ S4 as a4,
4494
+ F4 as a5,
4495
+ T5 as a6,
4496
+ N5 as a7,
4497
+ f2 as a8,
4498
+ O5 as a9,
4499
+ I5 as aa,
4500
+ j5 as ab,
4501
+ Y4 as ac,
4502
+ A5 as ad,
4503
+ p3 as ae,
4504
+ L3 as af,
4504
4505
  H1 as b,
4505
4506
  V as c,
4506
4507
  z1 as d,
@@ -4512,14 +4513,14 @@ export {
4512
4513
  J1 as j,
4513
4514
  Q1 as k,
4514
4515
  V1 as l,
4515
- M1 as m,
4516
+ m1 as m,
4516
4517
  h1 as n,
4517
4518
  b as o,
4518
4519
  D1 as p,
4519
4520
  q,
4520
4521
  t1 as r,
4521
- J4 as s,
4522
- Q4 as t,
4522
+ Q4 as s,
4523
+ e3 as t,
4523
4524
  k as u,
4524
4525
  n2 as v,
4525
4526
  f1 as w,