@duyluonganduin/acl-web-components 0.0.39 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acl-web-components.cjs +1 -1
- package/dist/acl-web-components.iife.js +26 -26
- package/dist/acl-web-components.js +1 -1
- package/dist/{anduin-resizable-B0NdBVJ8.js → anduin-resizable-2JzM-nGd.js} +87 -79
- package/dist/{anduin-resizable-Df1balNa.cjs → anduin-resizable-B6jlFgZC.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as c, a as l, b as r, c as i, d as e, e as p, f as t, g as d, h as u, i as g, j as A, k as x, l as E, m as h, n as k, o as T, p as _, q as C, r as m, s as O, t as I, u as G, v as L, w as y, x as N, y as S, z as R, B as P, C as D, D as w, E as b, F as U, G as H, H as f, I as M, J as z, K as B, L as F, M as v, N as V, O as K, P as W, Q as X, R as Y, S as j, T as q, U as Z, V as J, W as Q, X as $, Y as aa, Z as oa, _ as na, $ as sa, a0 as ca, a1 as la, a2 as ra, a3 as ia, a4 as ea, a5 as pa, a6 as ta, a7 as da, a8 as ua, a9 as ga, aa as Aa, ab as xa, ac as Ea, ad as ha, ae as ka, af as Ta, ag as _a, ah as Ca, ai as ma, aj as Oa, ak as Ia, al as Ga, am as La, an as ya, ao as Na, ap as Sa, aq as Ra, ar as Pa, as as Da, at as wa, au as ba, av as Ua, aw as Ha, ax as fa, ay as Ma, az as za, aA as Ba, aB as Fa, aC as va, aD as Va, aE as Ka, aF as Wa, aG as Xa, aH as Ya } from "./anduin-resizable-
|
|
1
|
+
import { A as c, a as l, b as r, c as i, d as e, e as p, f as t, g as d, h as u, i as g, j as A, k as x, l as E, m as h, n as k, o as T, p as _, q as C, r as m, s as O, t as I, u as G, v as L, w as y, x as N, y as S, z as R, B as P, C as D, D as w, E as b, F as U, G as H, H as f, I as M, J as z, K as B, L as F, M as v, N as V, O as K, P as W, Q as X, R as Y, S as j, T as q, U as Z, V as J, W as Q, X as $, Y as aa, Z as oa, _ as na, $ as sa, a0 as ca, a1 as la, a2 as ra, a3 as ia, a4 as ea, a5 as pa, a6 as ta, a7 as da, a8 as ua, a9 as ga, aa as Aa, ab as xa, ac as Ea, ad as ha, ae as ka, af as Ta, ag as _a, ah as Ca, ai as ma, aj as Oa, ak as Ia, al as Ga, am as La, an as ya, ao as Na, ap as Sa, aq as Ra, ar as Pa, as as Da, at as wa, au as ba, av as Ua, aw as Ha, ax as fa, ay as Ma, az as za, aA as Ba, aB as Fa, aC as va, aD as Va, aE as Ka, aF as Wa, aG as Xa, aH as Ya } from "./anduin-resizable-2JzM-nGd.js";
|
|
2
2
|
const o = ':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-purple-50: oklch(.9676 .016 286.1);--color-purple-100: oklch(.9434 .0255 288.32);--color-purple-200: oklch(.8927 .0519 287.71);--color-purple-300: oklch(.81 .0925 287.61);--color-purple-400: oklch(.7048 .1478 287.77);--color-purple-500: oklch(.5961 .2043 286.53);--color-purple-600: oklch(.5316 .2303 286.64);--color-purple-700: oklch(.471 .2307 285.3);--color-purple-800: oklch(.4148 .2014 285.43);--color-purple-900: oklch(.3654 .17 286.37);--color-purple-950: oklch(.2734 .1288 284.42);--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-12: 12px;--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)}';
|
|
3
3
|
if (typeof document < "u" && !document.getElementById("acl-tokens")) {
|
|
4
4
|
const a = document.createElement("style");
|
|
@@ -774,6 +774,14 @@ const K5 = {
|
|
|
774
774
|
alignmentRight: [{ d: "M13.5 1.75C13.5 1.33579 13.8358 1 14.25 1C14.6642 1 15 1.33579 15 1.75V14.25C15 14.6642 14.6642 15 14.25 15C13.8358 15 13.5 14.6642 13.5 14.25V1.75ZM1 5C1 4.44772 1.44772 4 2 4H11C11.5523 4 12 4.44772 12 5V6C12 6.55228 11.5523 7 11 7H2C1.44771 7 1 6.55228 1 6V5ZM6 9C5.44772 9 5 9.44771 5 10V11C5 11.5523 5.44772 12 6 12H11C11.5523 12 12 11.5523 12 11V10C12 9.44772 11.5523 9 11 9H6Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
775
775
|
alignmentTop: [{ d: "M1 1.75C1 1.33579 1.33579 1 1.75 1H14.25C14.6642 1 15 1.33579 15 1.75C15 2.16421 14.6642 2.5 14.25 2.5H1.75C1.33579 2.5 1 2.16421 1 1.75ZM9 5C9 4.44772 9.44772 4 10 4H11C11.5523 4 12 4.44772 12 5V14C12 14.5523 11.5523 15 11 15H10C9.44771 15 9 14.5523 9 14V5ZM5 4C4.44772 4 4 4.44772 4 5V9C4 9.55228 4.44772 10 5 10H6C6.55228 10 7 9.55228 7 9V5C7 4.44772 6.55228 4 6 4H5Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
776
776
|
anduin: [{ d: "M1 13.2L8 2L15 13.2H12.2L10.8 10.96L9.4 13.2H6.6L5.2 10.96L3.8 13.2H1ZM8 6.41L6.67 8.65L8 10.82L9.33 8.65L8 6.41Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
777
|
+
anduinIntelligence: [
|
|
778
|
+
{ d: "M8.84961 15.4883L7.96973 16L7.0918 15.4932L7.08887 12.7217L4.55664 14.0293L2.74902 12.9854L8.84277 9.83789L8.84961 15.4883Z", fillRule: "", clipRule: "" },
|
|
779
|
+
{ d: "M14.9102 11.0088L14.9131 12.0264L14.0352 12.5332L11.6328 11.1494L11.5 13.9971L9.69238 15.041L10.0127 8.18945L14.9102 11.0088Z", fillRule: "", clipRule: "" },
|
|
780
|
+
{ d: "M6.83008 9.64844L1.93945 12.4805L1.05664 11.9736V10.96L3.45605 9.57129L1.05664 8.0332V5.94531L6.83008 9.64844Z", fillRule: "", clipRule: "" },
|
|
781
|
+
{ d: "M14.9434 4.02637V5.04004L12.5439 6.42871L14.9434 7.9668V10.0547L9.16992 6.35156L14.0605 3.51953L14.9434 4.02637Z", fillRule: "", clipRule: "" },
|
|
782
|
+
{ d: "M5.9873 7.81055L1.08984 4.99121L1.08691 3.97363L1.96484 3.4668L4.36719 4.85059L4.5 2.00293L6.30762 0.958984L5.9873 7.81055Z", fillRule: "", clipRule: "" },
|
|
783
|
+
{ d: "M8.9082 0.506836L8.91113 3.27832L11.4434 1.9707L13.251 3.01465L7.15723 6.16211L7.15039 0.511719L8.03027 0L8.9082 0.506836Z", fillRule: "", clipRule: "" }
|
|
784
|
+
],
|
|
777
785
|
archive: [{ d: "M1 3C1 2.44772 1.44772 2 2 2H14C14.5523 2 15 2.44772 15 3V4C15 4.55228 14.5523 5 14 5H2C1.44772 5 1 4.55228 1 4V3ZM2 6H14V12C14 13.1046 13.1046 14 12 14H4C2.89543 14 2 13.1046 2 12V6ZM6.75 8C6.33579 8 6 8.33579 6 8.75C6 9.16421 6.33579 9.5 6.75 9.5H9.25C9.66421 9.5 10 9.16421 10 8.75C10 8.33579 9.66421 8 9.25 8H6.75Z", fillRule: "evenodd", clipRule: "evenodd" }],
|
|
778
786
|
arrowDown: [{ d: "M8.54795 14.765C8.40626 14.915 8.20903 15 8.00269 15C7.79634 15 7.59911 14.915 7.45743 14.765L3.20743 10.265C2.92302 9.96383 2.93658 9.48915 3.23772 9.20474C3.53886 8.92033 4.01354 8.93389 4.29795 9.23503L7.25 12.3607V1.75C7.25 1.33579 7.58579 1 8 1C8.41422 1 8.75 1.33579 8.75 1.75V12.3664L11.7074 9.23503C11.9918 8.93389 12.4665 8.92033 12.7677 9.20474C13.0688 9.48915 13.0824 9.96383 12.7979 10.265L8.54795 14.765Z", fillRule: "", clipRule: "" }],
|
|
779
787
|
arrowDownLeft: [{ d: "M9.24792 14.0021C9.66214 14.0021 9.99792 13.6663 9.99792 13.2521C9.99792 12.8379 9.66214 12.5021 9.24792 12.5021H4.55859L13.7803 3.28033C14.0732 2.98744 14.0732 2.51256 13.7803 2.21967C13.4874 1.92678 13.0126 1.92678 12.7197 2.21967L3.49792 11.4414V6.75206C3.49792 6.33785 3.16214 6.00206 2.74792 6.00206C2.33371 6.00206 1.99792 6.33785 1.99792 6.75206V13.2521C1.99792 13.6663 2.33371 14.0021 2.74792 14.0021H9.24792Z", fillRule: "", clipRule: "" }],
|
|
@@ -1216,7 +1224,7 @@ a3([
|
|
|
1216
1224
|
a()
|
|
1217
1225
|
], Q1.prototype, "variant");
|
|
1218
1226
|
customElements.get("anduin-badge") || customElements.define("anduin-badge", Q1);
|
|
1219
|
-
var s3 = Object.defineProperty,
|
|
1227
|
+
var s3 = Object.defineProperty, L4 = (r, e, t, i) => {
|
|
1220
1228
|
for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
|
|
1221
1229
|
(n = r[l]) && (o = n(e, t, o) || o);
|
|
1222
1230
|
return o && s3(e, t, o), o;
|
|
@@ -1240,10 +1248,10 @@ const U2 = class U2 extends u {
|
|
|
1240
1248
|
};
|
|
1241
1249
|
U2.styles = [V4];
|
|
1242
1250
|
let B1 = U2;
|
|
1243
|
-
|
|
1251
|
+
L4([
|
|
1244
1252
|
a()
|
|
1245
1253
|
], B1.prototype, "variant");
|
|
1246
|
-
|
|
1254
|
+
L4([
|
|
1247
1255
|
a({ type: Number })
|
|
1248
1256
|
], B1.prototype, "count");
|
|
1249
1257
|
customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", B1);
|
|
@@ -1429,53 +1437,53 @@ G2.styles = g`
|
|
|
1429
1437
|
.button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
|
|
1430
1438
|
.button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
|
|
1431
1439
|
`;
|
|
1432
|
-
let
|
|
1440
|
+
let b = G2;
|
|
1433
1441
|
_([
|
|
1434
1442
|
m()
|
|
1435
|
-
],
|
|
1443
|
+
], b.prototype, "iconOnly");
|
|
1436
1444
|
_([
|
|
1437
1445
|
a({ converter: (r) => r || "filled" })
|
|
1438
|
-
],
|
|
1446
|
+
], b.prototype, "appearance");
|
|
1439
1447
|
_([
|
|
1440
1448
|
a()
|
|
1441
|
-
],
|
|
1449
|
+
], b.prototype, "variant");
|
|
1442
1450
|
_([
|
|
1443
1451
|
a()
|
|
1444
|
-
],
|
|
1452
|
+
], b.prototype, "size");
|
|
1445
1453
|
_([
|
|
1446
1454
|
a({ type: Boolean })
|
|
1447
|
-
],
|
|
1455
|
+
], b.prototype, "disabled");
|
|
1448
1456
|
_([
|
|
1449
1457
|
a({ type: Boolean })
|
|
1450
|
-
],
|
|
1458
|
+
], b.prototype, "loading");
|
|
1451
1459
|
_([
|
|
1452
1460
|
a({ type: Boolean, attribute: "full-width", reflect: !0 })
|
|
1453
|
-
],
|
|
1461
|
+
], b.prototype, "fullWidth");
|
|
1454
1462
|
_([
|
|
1455
1463
|
a({ type: Boolean })
|
|
1456
|
-
],
|
|
1464
|
+
], b.prototype, "pill");
|
|
1457
1465
|
_([
|
|
1458
1466
|
a({ type: Boolean })
|
|
1459
|
-
],
|
|
1467
|
+
], b.prototype, "selected");
|
|
1460
1468
|
_([
|
|
1461
1469
|
a()
|
|
1462
|
-
],
|
|
1470
|
+
], b.prototype, "href");
|
|
1463
1471
|
_([
|
|
1464
1472
|
a({ type: Boolean, attribute: "open-new-tab" })
|
|
1465
|
-
],
|
|
1473
|
+
], b.prototype, "openNewTab");
|
|
1466
1474
|
_([
|
|
1467
1475
|
a()
|
|
1468
|
-
],
|
|
1476
|
+
], b.prototype, "download");
|
|
1469
1477
|
_([
|
|
1470
1478
|
a({ attribute: "start-icon" })
|
|
1471
|
-
],
|
|
1479
|
+
], b.prototype, "startIcon");
|
|
1472
1480
|
_([
|
|
1473
1481
|
a({ attribute: "end-icon" })
|
|
1474
|
-
],
|
|
1482
|
+
], b.prototype, "endIcon");
|
|
1475
1483
|
_([
|
|
1476
1484
|
a()
|
|
1477
|
-
],
|
|
1478
|
-
customElements.get("anduin-button") || customElements.define("anduin-button",
|
|
1485
|
+
], b.prototype, "label");
|
|
1486
|
+
customElements.get("anduin-button") || customElements.define("anduin-button", b);
|
|
1479
1487
|
var c3 = Object.defineProperty, p3 = (r, e, t, i) => {
|
|
1480
1488
|
for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
|
|
1481
1489
|
(n = r[l]) && (o = n(e, t, o) || o);
|
|
@@ -1511,7 +1519,7 @@ p3([
|
|
|
1511
1519
|
a()
|
|
1512
1520
|
], e2.prototype, "variant");
|
|
1513
1521
|
customElements.get("anduin-callout") || customElements.define("anduin-callout", e2);
|
|
1514
|
-
var u3 = Object.defineProperty,
|
|
1522
|
+
var u3 = Object.defineProperty, b4 = (r, e, t, i) => {
|
|
1515
1523
|
for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
|
|
1516
1524
|
(n = r[l]) && (o = n(e, t, o) || o);
|
|
1517
1525
|
return o && u3(e, t, o), o;
|
|
@@ -1558,10 +1566,10 @@ W2.styles = g`
|
|
|
1558
1566
|
.divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
|
|
1559
1567
|
`;
|
|
1560
1568
|
let P1 = W2;
|
|
1561
|
-
|
|
1569
|
+
b4([
|
|
1562
1570
|
a({ reflect: !0 })
|
|
1563
1571
|
], P1.prototype, "direction");
|
|
1564
|
-
|
|
1572
|
+
b4([
|
|
1565
1573
|
m()
|
|
1566
1574
|
], P1.prototype, "hasContent");
|
|
1567
1575
|
customElements.get("anduin-divider") || customElements.define("anduin-divider", P1);
|
|
@@ -1843,12 +1851,12 @@ customElements.get("anduin-field-label") || customElements.define("anduin-field-
|
|
|
1843
1851
|
customElements.get("anduin-field-description") || customElements.define("anduin-field-description", f2);
|
|
1844
1852
|
customElements.get("anduin-field-error") || customElements.define("anduin-field-error", H2);
|
|
1845
1853
|
customElements.get("anduin-field-group") || customElements.define("anduin-field-group", V2);
|
|
1846
|
-
var
|
|
1854
|
+
var L3 = Object.defineProperty, G1 = (r, e, t, i) => {
|
|
1847
1855
|
for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
|
|
1848
1856
|
(n = r[l]) && (o = n(e, t, o) || o);
|
|
1849
|
-
return o &&
|
|
1857
|
+
return o && L3(e, t, o), o;
|
|
1850
1858
|
};
|
|
1851
|
-
const
|
|
1859
|
+
const b3 = "anduin-checkbox:change", l5 = class l5 extends u {
|
|
1852
1860
|
constructor() {
|
|
1853
1861
|
super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
|
|
1854
1862
|
}
|
|
@@ -1861,7 +1869,7 @@ const L3 = "anduin-checkbox:change", l5 = class l5 extends u {
|
|
|
1861
1869
|
});
|
|
1862
1870
|
}
|
|
1863
1871
|
toggle() {
|
|
1864
|
-
this.checked = !this.checked, this.dispatchEvent(new CustomEvent(
|
|
1872
|
+
this.checked = !this.checked, this.dispatchEvent(new CustomEvent(b3, {
|
|
1865
1873
|
detail: this.checked,
|
|
1866
1874
|
bubbles: !0,
|
|
1867
1875
|
composed: !0
|
|
@@ -2597,7 +2605,7 @@ var z3 = Object.defineProperty, R = (r, e, t, i) => {
|
|
|
2597
2605
|
(n = r[l]) && (o = n(e, t, o) || o);
|
|
2598
2606
|
return o && z3(e, t, o), o;
|
|
2599
2607
|
};
|
|
2600
|
-
const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change", P3 = "anduin-toggle-group-item:select", S3 = "anduin-toggle-group-item:deselect",
|
|
2608
|
+
const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change", P3 = "anduin-toggle-group-item:select", S3 = "anduin-toggle-group-item:deselect", L2 = "anduin-toggle-group-item:item-click", u5 = class u5 extends u {
|
|
2601
2609
|
constructor() {
|
|
2602
2610
|
super(...arguments), this.mode = "single", this.defaultValue = "", this.value = null, this.size = "medium", this.variant = "gray", this.gap = !1, this.internalValue = [], this.userInteracted = !1, this.onItemClick = (e) => {
|
|
2603
2611
|
var d;
|
|
@@ -2623,13 +2631,13 @@ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change",
|
|
|
2623
2631
|
return this.isControlled ? p2(this.value) : this.internalValue;
|
|
2624
2632
|
}
|
|
2625
2633
|
connectedCallback() {
|
|
2626
|
-
super.connectedCallback(), this.hasUpdated || (this.internalValue = p2(this.defaultValue)), this.addEventListener(
|
|
2634
|
+
super.connectedCallback(), this.hasUpdated || (this.internalValue = p2(this.defaultValue)), this.addEventListener(L2, this.onItemClick);
|
|
2627
2635
|
}
|
|
2628
2636
|
willUpdate(e) {
|
|
2629
2637
|
e.has("defaultValue") && !this.isControlled && !this.userInteracted && (this.internalValue = p2(this.defaultValue));
|
|
2630
2638
|
}
|
|
2631
2639
|
disconnectedCallback() {
|
|
2632
|
-
super.disconnectedCallback(), this.removeEventListener(
|
|
2640
|
+
super.disconnectedCallback(), this.removeEventListener(L2, this.onItemClick);
|
|
2633
2641
|
}
|
|
2634
2642
|
updated() {
|
|
2635
2643
|
this.syncItems();
|
|
@@ -2726,7 +2734,7 @@ const h5 = class h5 extends u {
|
|
|
2726
2734
|
(e.has("selected") || e.has("groupMode")) && (this.groupMode === "single" ? (this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.selected))) : (this.removeAttribute("role"), this.removeAttribute("aria-checked")));
|
|
2727
2735
|
}
|
|
2728
2736
|
onClick() {
|
|
2729
|
-
this.dispatchEvent(new CustomEvent(
|
|
2737
|
+
this.dispatchEvent(new CustomEvent(L2, {
|
|
2730
2738
|
detail: this.value,
|
|
2731
2739
|
bubbles: !0,
|
|
2732
2740
|
composed: !0
|
|
@@ -2901,7 +2909,7 @@ function D3(r, e, t, i = 8) {
|
|
|
2901
2909
|
top: Math.round(Math.min(Math.max(H.top, 0), l - d))
|
|
2902
2910
|
};
|
|
2903
2911
|
}
|
|
2904
|
-
function
|
|
2912
|
+
function b2(r) {
|
|
2905
2913
|
return r.split("-")[0] || "top";
|
|
2906
2914
|
}
|
|
2907
2915
|
function I3(r, e, t) {
|
|
@@ -2960,7 +2968,7 @@ const g5 = class g5 extends u {
|
|
|
2960
2968
|
if (n) {
|
|
2961
2969
|
const s = e;
|
|
2962
2970
|
s.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
|
|
2963
|
-
const d =
|
|
2971
|
+
const d = b2(n.placement), p = b2(i);
|
|
2964
2972
|
if (d !== p) {
|
|
2965
2973
|
const h = e.querySelector(".tooltip-arrow");
|
|
2966
2974
|
h && (h.classList.remove(`tooltip-arrow--${p}`), h.classList.add(`tooltip-arrow--${d}`));
|
|
@@ -3046,7 +3054,7 @@ const f5 = class f5 extends u {
|
|
|
3046
3054
|
}
|
|
3047
3055
|
showPopup(e) {
|
|
3048
3056
|
this.hidePopup();
|
|
3049
|
-
const t =
|
|
3057
|
+
const t = b2(e), i = document.createElement("div");
|
|
3050
3058
|
i.className = "tooltip-popup", i.setAttribute("role", "tooltip");
|
|
3051
3059
|
const o = document.createElement("div");
|
|
3052
3060
|
o.className = `tooltip-arrow tooltip-arrow--${t}`;
|
|
@@ -3381,7 +3389,7 @@ C1([
|
|
|
3381
3389
|
k(".popover__panel")
|
|
3382
3390
|
], F.prototype, "_panelEl");
|
|
3383
3391
|
customElements.get("anduin-popover") || customElements.define("anduin-popover", F);
|
|
3384
|
-
const
|
|
3392
|
+
const L5 = class L5 extends u {
|
|
3385
3393
|
_onClick() {
|
|
3386
3394
|
this.dispatchEvent(new CustomEvent(_2, { bubbles: !0, composed: !0 }));
|
|
3387
3395
|
}
|
|
@@ -3389,15 +3397,15 @@ const b5 = class b5 extends u {
|
|
|
3389
3397
|
return C`<span @click=${this._onClick}><slot></slot></span>`;
|
|
3390
3398
|
}
|
|
3391
3399
|
};
|
|
3392
|
-
|
|
3393
|
-
let x2 =
|
|
3400
|
+
L5.styles = g`:host { display: contents; }`;
|
|
3401
|
+
let x2 = L5;
|
|
3394
3402
|
customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", x2);
|
|
3395
3403
|
var G3 = Object.defineProperty, d1 = (r, e, t, i) => {
|
|
3396
3404
|
for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
|
|
3397
3405
|
(n = r[l]) && (o = n(e, t, o) || o);
|
|
3398
3406
|
return o && G3(e, t, o), o;
|
|
3399
3407
|
};
|
|
3400
|
-
const w2 = "anduin-menu-item:click",
|
|
3408
|
+
const w2 = "anduin-menu-item:click", b5 = class b5 extends u {
|
|
3401
3409
|
constructor() {
|
|
3402
3410
|
super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
|
|
3403
3411
|
var t;
|
|
@@ -3464,7 +3472,7 @@ const w2 = "anduin-menu-item:click", L5 = class L5 extends u {
|
|
|
3464
3472
|
`;
|
|
3465
3473
|
}
|
|
3466
3474
|
};
|
|
3467
|
-
|
|
3475
|
+
b5.styles = g`
|
|
3468
3476
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
3469
3477
|
|
|
3470
3478
|
.menu__trigger { display: inline-block; }
|
|
@@ -3507,7 +3515,7 @@ L5.styles = g`
|
|
|
3507
3515
|
transform: scale(1) translateY(0);
|
|
3508
3516
|
}
|
|
3509
3517
|
`;
|
|
3510
|
-
let s1 =
|
|
3518
|
+
let s1 = b5;
|
|
3511
3519
|
d1([
|
|
3512
3520
|
a({ type: Boolean, reflect: !0 })
|
|
3513
3521
|
], s1.prototype, "open");
|
|
@@ -5291,56 +5299,56 @@ $5.styles = g`
|
|
|
5291
5299
|
text-align: center;
|
|
5292
5300
|
}
|
|
5293
5301
|
`;
|
|
5294
|
-
let
|
|
5302
|
+
let L = $5;
|
|
5295
5303
|
M([
|
|
5296
5304
|
a()
|
|
5297
|
-
],
|
|
5305
|
+
], L.prototype, "value");
|
|
5298
5306
|
M([
|
|
5299
5307
|
a()
|
|
5300
|
-
],
|
|
5308
|
+
], L.prototype, "placeholder");
|
|
5301
5309
|
M([
|
|
5302
5310
|
a({ attribute: !1 })
|
|
5303
|
-
],
|
|
5311
|
+
], L.prototype, "options");
|
|
5304
5312
|
M([
|
|
5305
5313
|
a()
|
|
5306
|
-
],
|
|
5314
|
+
], L.prototype, "icon");
|
|
5307
5315
|
M([
|
|
5308
5316
|
a({ type: Boolean })
|
|
5309
|
-
],
|
|
5317
|
+
], L.prototype, "searchable");
|
|
5310
5318
|
M([
|
|
5311
5319
|
a({ type: Boolean })
|
|
5312
|
-
],
|
|
5320
|
+
], L.prototype, "disabled");
|
|
5313
5321
|
M([
|
|
5314
5322
|
a()
|
|
5315
|
-
],
|
|
5323
|
+
], L.prototype, "placement");
|
|
5316
5324
|
M([
|
|
5317
5325
|
a()
|
|
5318
|
-
],
|
|
5326
|
+
], L.prototype, "appearance");
|
|
5319
5327
|
M([
|
|
5320
5328
|
a()
|
|
5321
|
-
],
|
|
5329
|
+
], L.prototype, "variant");
|
|
5322
5330
|
M([
|
|
5323
5331
|
a()
|
|
5324
|
-
],
|
|
5332
|
+
], L.prototype, "size");
|
|
5325
5333
|
M([
|
|
5326
5334
|
a({ type: Boolean, attribute: "full-width", reflect: !0 })
|
|
5327
|
-
],
|
|
5335
|
+
], L.prototype, "fullWidth");
|
|
5328
5336
|
M([
|
|
5329
5337
|
m()
|
|
5330
|
-
],
|
|
5338
|
+
], L.prototype, "_open");
|
|
5331
5339
|
M([
|
|
5332
5340
|
m()
|
|
5333
|
-
],
|
|
5341
|
+
], L.prototype, "_query");
|
|
5334
5342
|
M([
|
|
5335
5343
|
k(".trigger")
|
|
5336
|
-
],
|
|
5344
|
+
], L.prototype, "_triggerEl");
|
|
5337
5345
|
M([
|
|
5338
5346
|
k(".panel")
|
|
5339
|
-
],
|
|
5347
|
+
], L.prototype, "_panelEl");
|
|
5340
5348
|
M([
|
|
5341
5349
|
k("anduin-input")
|
|
5342
|
-
],
|
|
5343
|
-
customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown",
|
|
5350
|
+
], L.prototype, "_searchEl");
|
|
5351
|
+
customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", L);
|
|
5344
5352
|
var v7 = Object.defineProperty, t1 = (r, e, t, i) => {
|
|
5345
5353
|
for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
|
|
5346
5354
|
(n = r[l]) && (o = n(e, t, o) || o);
|
|
@@ -5594,12 +5602,12 @@ class m7 extends HTMLElement {
|
|
|
5594
5602
|
}
|
|
5595
5603
|
}
|
|
5596
5604
|
customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", m7);
|
|
5597
|
-
var
|
|
5605
|
+
var L7 = Object.defineProperty, y = (r, e, t, i) => {
|
|
5598
5606
|
for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
|
|
5599
5607
|
(n = r[l]) && (o = n(e, t, o) || o);
|
|
5600
|
-
return o &&
|
|
5608
|
+
return o && L7(e, t, o), o;
|
|
5601
5609
|
};
|
|
5602
|
-
const v2 = "anduin-suggestion:change",
|
|
5610
|
+
const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "anduin-suggestion:clear", z5 = class z5 extends u {
|
|
5603
5611
|
constructor() {
|
|
5604
5612
|
super(...arguments), this.value = "", this.size = "default", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.status = "", this.startIcon = "", this.endIcon = "", this.clearable = !1, this.suggestions = [], this.filter = !1, this.hideWhenEmpty = !1, this.emptyText = "No suggestions", this._open = !1, this._activeIndex = -1, this._onDocumentMouseDown = (e) => {
|
|
5605
5613
|
var t;
|
|
@@ -5676,7 +5684,7 @@ const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "an
|
|
|
5676
5684
|
detail: this.value,
|
|
5677
5685
|
bubbles: !0,
|
|
5678
5686
|
composed: !0
|
|
5679
|
-
})), this.dispatchEvent(new CustomEvent(
|
|
5687
|
+
})), this.dispatchEvent(new CustomEvent(b7, {
|
|
5680
5688
|
detail: e,
|
|
5681
5689
|
bubbles: !0,
|
|
5682
5690
|
composed: !0
|
|
@@ -6262,16 +6270,16 @@ S5.styles = g`
|
|
|
6262
6270
|
:host { display: block; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; font-family: var(--font-sans); }
|
|
6263
6271
|
.panel { width: 100%; height: 100%; overflow: hidden; }
|
|
6264
6272
|
`;
|
|
6265
|
-
let
|
|
6273
|
+
let L1 = S5;
|
|
6266
6274
|
h1([
|
|
6267
6275
|
a({ attribute: "default-size" })
|
|
6268
|
-
],
|
|
6276
|
+
], L1.prototype, "defaultSize");
|
|
6269
6277
|
h1([
|
|
6270
6278
|
a({ attribute: "min-size" })
|
|
6271
|
-
],
|
|
6279
|
+
], L1.prototype, "minSize");
|
|
6272
6280
|
h1([
|
|
6273
6281
|
a({ attribute: "max-size" })
|
|
6274
|
-
],
|
|
6282
|
+
], L1.prototype, "maxSize");
|
|
6275
6283
|
const F5 = class F5 extends u {
|
|
6276
6284
|
constructor() {
|
|
6277
6285
|
super(...arguments), this.withHandle = !1, this.groupVertical = !1, this.dragging = !1, this.group = null, this.startPos = 0, this.startPrevPx = 0, this.combinedPx = 0, this.combinedGrow = 0, this.activePointerId = null, this.onPointerDown = (e) => {
|
|
@@ -6389,19 +6397,19 @@ F5.styles = g`
|
|
|
6389
6397
|
.handle:hover .handle__grip, .handle--dragging .handle__grip, :host(:focus-visible) .handle__grip { opacity: 1; }
|
|
6390
6398
|
.handle--vertical .handle__grip { transform: rotate(90deg); }
|
|
6391
6399
|
`;
|
|
6392
|
-
let
|
|
6400
|
+
let b1 = F5;
|
|
6393
6401
|
h1([
|
|
6394
6402
|
a({ type: Boolean, attribute: "with-handle" })
|
|
6395
|
-
],
|
|
6403
|
+
], b1.prototype, "withHandle");
|
|
6396
6404
|
h1([
|
|
6397
6405
|
m()
|
|
6398
|
-
],
|
|
6406
|
+
], b1.prototype, "groupVertical");
|
|
6399
6407
|
h1([
|
|
6400
6408
|
m()
|
|
6401
|
-
],
|
|
6409
|
+
], b1.prototype, "dragging");
|
|
6402
6410
|
customElements.get("anduin-resizable-panel-group") || customElements.define("anduin-resizable-panel-group", r2);
|
|
6403
|
-
customElements.get("anduin-resizable-panel") || customElements.define("anduin-resizable-panel",
|
|
6404
|
-
customElements.get("anduin-resizable-handle") || customElements.define("anduin-resizable-handle",
|
|
6411
|
+
customElements.get("anduin-resizable-panel") || customElements.define("anduin-resizable-panel", L1);
|
|
6412
|
+
customElements.get("anduin-resizable-handle") || customElements.define("anduin-resizable-handle", b1);
|
|
6405
6413
|
export {
|
|
6406
6414
|
l2 as $,
|
|
6407
6415
|
O as A,
|
|
@@ -6409,8 +6417,8 @@ export {
|
|
|
6409
6417
|
S1 as C,
|
|
6410
6418
|
N as D,
|
|
6411
6419
|
m1 as E,
|
|
6412
|
-
|
|
6413
|
-
|
|
6420
|
+
b1 as F,
|
|
6421
|
+
L1 as G,
|
|
6414
6422
|
r2 as H,
|
|
6415
6423
|
I,
|
|
6416
6424
|
z1 as J,
|
|
@@ -6434,7 +6442,7 @@ export {
|
|
|
6434
6442
|
Q1 as a,
|
|
6435
6443
|
Z2 as a0,
|
|
6436
6444
|
V4 as a1,
|
|
6437
|
-
|
|
6445
|
+
b3 as a2,
|
|
6438
6446
|
f7 as a3,
|
|
6439
6447
|
E2 as a4,
|
|
6440
6448
|
r4 as a5,
|
|
@@ -6462,7 +6470,7 @@ export {
|
|
|
6462
6470
|
x7 as aj,
|
|
6463
6471
|
v2 as ak,
|
|
6464
6472
|
y7 as al,
|
|
6465
|
-
|
|
6473
|
+
b7 as am,
|
|
6466
6474
|
h7 as an,
|
|
6467
6475
|
w3 as ao,
|
|
6468
6476
|
Z4 as ap,
|
|
@@ -6471,20 +6479,20 @@ export {
|
|
|
6471
6479
|
_3 as as,
|
|
6472
6480
|
A3 as at,
|
|
6473
6481
|
B3 as au,
|
|
6474
|
-
|
|
6482
|
+
L2 as av,
|
|
6475
6483
|
S3 as aw,
|
|
6476
6484
|
P3 as ax,
|
|
6477
6485
|
R4 as ay,
|
|
6478
6486
|
k4 as az,
|
|
6479
6487
|
B1 as b,
|
|
6480
|
-
|
|
6488
|
+
b as c,
|
|
6481
6489
|
e2 as d,
|
|
6482
6490
|
X as e,
|
|
6483
6491
|
P1 as f,
|
|
6484
6492
|
t2 as g,
|
|
6485
6493
|
z as h,
|
|
6486
6494
|
m7 as i,
|
|
6487
|
-
|
|
6495
|
+
L as j,
|
|
6488
6496
|
i2 as k,
|
|
6489
6497
|
f2 as l,
|
|
6490
6498
|
H2 as m,
|