@duyluonganduin/acl-web-components 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acl-web-components.cjs +1 -1
- package/dist/acl-web-components.d.ts +1 -0
- package/dist/acl-web-components.js +1 -1
- package/dist/{anduin-drawer-DSyr65l3.js → anduin-drawer-Bpsl7Cgo.js} +130 -125
- package/dist/{anduin-drawer-BwC5mziU.cjs → anduin-drawer-Cn01TrhD.cjs} +40 -38
- package/dist/jsx.d.ts +2 -0
- package/dist/react.cjs +1 -1
- package/dist/react.d.ts +2 -3
- package/dist/react.js +82 -82
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./anduin-drawer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./anduin-drawer-Cn01TrhD.cjs"),i=':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)}';if(typeof document<"u"&&!document.getElementById("acl-tokens")){const o=document.createElement("style");o.id="acl-tokens",o.textContent=i,document.head.appendChild(o)}exports.AnduinAvatar=n.AnduinAvatar;exports.AnduinBadge=n.AnduinBadge;exports.AnduinBadgeCount=n.AnduinBadgeCount;exports.AnduinButton=n.AnduinButton;exports.AnduinCallout=n.AnduinCallout;exports.AnduinCheckbox=n.AnduinCheckbox;exports.AnduinDivider=n.AnduinDivider;exports.AnduinDot=n.AnduinDot;exports.AnduinDrawer=n.AnduinDrawer;exports.AnduinDrawerClose=n.AnduinDrawerClose;exports.AnduinDropdown=n.AnduinDropdown;exports.AnduinField=n.AnduinField;exports.AnduinFieldDescription=n.AnduinFieldDescription;exports.AnduinFieldError=n.AnduinFieldError;exports.AnduinFieldGroup=n.AnduinFieldGroup;exports.AnduinFieldLabel=n.AnduinFieldLabel;exports.AnduinFileIcon=n.AnduinFileIcon;exports.AnduinIcon=n.AnduinIcon;exports.AnduinInput=n.AnduinInput;exports.AnduinLoadingState=n.AnduinLoadingState;exports.AnduinMenu=n.AnduinMenu;exports.AnduinMenuItem=n.AnduinMenuItem;exports.AnduinModal=n.AnduinModal;exports.AnduinModalClose=n.AnduinModalClose;exports.AnduinPopover=n.AnduinPopover;exports.AnduinPopoverClose=n.AnduinPopoverClose;exports.AnduinProgress=n.AnduinProgress;exports.AnduinRadio=n.AnduinRadio;exports.AnduinRadioGroup=n.AnduinRadioGroup;exports.AnduinSkeleton=n.AnduinSkeleton;exports.AnduinSpinner=n.AnduinSpinner;exports.AnduinSwitcher=n.AnduinSwitcher;exports.AnduinTabContent=n.AnduinTabContent;exports.AnduinTabTrigger=n.AnduinTabTrigger;exports.AnduinTabs=n.AnduinTabs;exports.AnduinTabsList=n.AnduinTabsList;exports.AnduinTag=n.AnduinTag;exports.AnduinTagClose=n.AnduinTagClose;exports.AnduinTextarea=n.AnduinTextarea;exports.AnduinToast=n.AnduinToast;exports.AnduinToaster=n.AnduinToaster;exports.AnduinTooltip=n.AnduinTooltip;exports.AnduinTooltipContent=n.AnduinTooltipContent;exports.AnduinTooltipTrigger=n.AnduinTooltipTrigger;exports.AnduinWell=n.AnduinWell;exports.AnduinWellClose=n.AnduinWellClose;exports.BADGE_STYLES=n.BADGE_STYLES;exports.CHECKBOX_CHANGE=n.CHECKBOX_CHANGE;exports.DRAWER_AFTER_CLOSE_EVENT=n.DRAWER_AFTER_CLOSE_EVENT;exports.DRAWER_CLOSE_EVENT=n.DRAWER_CLOSE_EVENT;exports.DROPDOWN_CHANGE=n.DROPDOWN_CHANGE;exports.FIELD_LABEL_CLICK=n.FIELD_LABEL_CLICK;exports.FIELD_LABEL_CLICK_COORDINATED=n.FIELD_LABEL_CLICK_COORDINATED;exports.FILE_ICONS=n.FILE_ICONS;exports.INPUT_CHANGE=n.INPUT_CHANGE;exports.INPUT_CLEAR=n.INPUT_CLEAR;exports.MENU_ITEM_CLICK=n.MENU_ITEM_CLICK;exports.MODAL_AFTER_CLOSE_EVENT=n.MODAL_AFTER_CLOSE_EVENT;exports.MODAL_CLOSE_EVENT=n.MODAL_CLOSE_EVENT;exports.POPOVER_CLOSE=n.POPOVER_CLOSE;exports.RADIO_CHANGE=n.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=n.RADIO_GROUP_CHANGE;exports.SWITCHER_CHANGE=n.SWITCHER_CHANGE;exports.TAB_CHANGE=n.TAB_CHANGE;exports.TAB_TRIGGER_CLICK=n.TAB_TRIGGER_CLICK;exports.TAB_VALUE_CHANGED=n.TAB_VALUE_CHANGED;exports.TAG_CLOSE_CLICK=n.TAG_CLOSE_CLICK;exports.TEXTAREA_CHANGE=n.TEXTAREA_CHANGE;exports.TOOLTIP_CONTENT_POPUP_MOUNTED=n.TOOLTIP_CONTENT_POPUP_MOUNTED;exports.TOOLTIP_CONTENT_POPUP_UNMOUNTED=n.TOOLTIP_CONTENT_POPUP_UNMOUNTED;exports.TOOLTIP_HIDE=n.TOOLTIP_HIDE;exports.TOOLTIP_SHOW=n.TOOLTIP_SHOW;exports.TOOLTIP_TRIGGER_MOUNTED=n.TOOLTIP_TRIGGER_MOUNTED;exports.TOOLTIP_VISIBILITY_CHANGED=n.TOOLTIP_VISIBILITY_CHANGED;exports.WELL_CLOSE_CLICK=n.WELL_CLOSE_CLICK;exports.getBadgeVariantClass=n.getBadgeVariantClass;exports.resolveFileIcon=n.resolveFileIcon;exports.toast=n.toast;
|
|
@@ -281,6 +281,7 @@ export declare class AnduinPopover extends LitElement {
|
|
|
281
281
|
static styles: CSSResult;
|
|
282
282
|
open: boolean;
|
|
283
283
|
placement: 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top';
|
|
284
|
+
fullWidth: boolean;
|
|
284
285
|
private _visible;
|
|
285
286
|
private _closing;
|
|
286
287
|
private _triggerEl;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as c, a as r, b as i, c as l, d as e, e as t, f as p, g as d, h as g, i as u, j as x, k as A, l as h, m as k, n as m, o as E, p as T, q as C, r as _, s as y, t as O, u as I, v as L, w as N, x as D, y as w, z as R, B as P, C as b, D as S, E as f, F as G, G as H, H as B, I as U, J as F, K as M, L as z, M as v, N as V, O as W, P as K, Q as X, R as Y, S as j, T as q, U as J, V as Q, W as Z, X as $, Y as aa, Z as oa, _ as na, $ as sa, a0 as ca, a1 as ra, a2 as ia, a3 as la, a4 as ea, a5 as ta, a6 as pa, a7 as da, a8 as ga, a9 as ua, aa as xa, ab as Aa, ac as ha, ad as ka, ae as ma, af as Ea, ag as Ta, ah as Ca, ai as _a, aj as ya, ak as Oa, al as Ia, am as La, an as Na } from "./anduin-drawer-
|
|
1
|
+
import { A as c, a as r, b as i, c as l, d as e, e as t, f as p, g as d, h as g, i as u, j as x, k as A, l as h, m as k, n as m, o as E, p as T, q as C, r as _, s as y, t as O, u as I, v as L, w as N, x as D, y as w, z as R, B as P, C as b, D as S, E as f, F as G, G as H, H as B, I as U, J as F, K as M, L as z, M as v, N as V, O as W, P as K, Q as X, R as Y, S as j, T as q, U as J, V as Q, W as Z, X as $, Y as aa, Z as oa, _ as na, $ as sa, a0 as ca, a1 as ra, a2 as ia, a3 as la, a4 as ea, a5 as ta, a6 as pa, a7 as da, a8 as ga, a9 as ua, aa as xa, ab as Aa, ac as ha, ad as ka, ae as ma, af as Ea, ag as Ta, ah as Ca, ai as _a, aj as ya, ak as Oa, al as Ia, am as La, an as Na } from "./anduin-drawer-Bpsl7Cgo.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-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)}';
|
|
3
3
|
if (typeof document < "u" && !document.getElementById("acl-tokens")) {
|
|
4
4
|
const a = document.createElement("style");
|
|
@@ -75,7 +75,7 @@ const { is: C4, defineProperty: n4, getOwnPropertyDescriptor: a4, getOwnProperty
|
|
|
75
75
|
return t;
|
|
76
76
|
} }, V2 = (l, e) => !C4(l, e), v5 = { attribute: !0, type: String, converter: S1, reflect: !1, useDefault: !1, hasChanged: V2 };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
|
-
let
|
|
78
|
+
let r1 = class extends HTMLElement {
|
|
79
79
|
static addInitializer(e) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
81
81
|
}
|
|
@@ -278,7 +278,7 @@ let l1 = class extends HTMLElement {
|
|
|
278
278
|
firstUpdated(e) {
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
|
|
281
|
+
r1.elementStyles = [], r1.shadowRootOptions = { mode: "open" }, r1[h1("elementProperties")] = /* @__PURE__ */ new Map(), r1[h1("finalized")] = /* @__PURE__ */ new Map(), G1 == null || G1({ ReactiveElement: r1 }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.1.2");
|
|
282
282
|
/**
|
|
283
283
|
* @license
|
|
284
284
|
* Copyright 2017 Google LLC
|
|
@@ -340,12 +340,12 @@ class H1 {
|
|
|
340
340
|
return i.innerHTML = e, i;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function C1(l, e, t = l, i) {
|
|
344
344
|
var C, a;
|
|
345
345
|
if (e === K) return e;
|
|
346
346
|
let o = i !== void 0 ? (C = t._$Co) == null ? void 0 : C[i] : t._$Cl;
|
|
347
347
|
const r = f1(e) ? void 0 : e._$litDirective$;
|
|
348
|
-
return (o == null ? void 0 : o.constructor) !== r && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), r === void 0 ? o = void 0 : (o = new r(l), o._$AT(l, t, i)), i !== void 0 ? (t._$Co ?? (t._$Co = []))[i] = o : t._$Cl = o), o !== void 0 && (e =
|
|
348
|
+
return (o == null ? void 0 : o.constructor) !== r && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), r === void 0 ? o = void 0 : (o = new r(l), o._$AT(l, t, i)), i !== void 0 ? (t._$Co ?? (t._$Co = []))[i] = o : t._$Cl = o), o !== void 0 && (e = C1(l, o._$AS(l, e.values), o, i)), e;
|
|
349
349
|
}
|
|
350
350
|
class v4 {
|
|
351
351
|
constructor(e, t) {
|
|
@@ -395,7 +395,7 @@ class $1 {
|
|
|
395
395
|
return this._$AB;
|
|
396
396
|
}
|
|
397
397
|
_$AI(e, t = this) {
|
|
398
|
-
e =
|
|
398
|
+
e = C1(this, e, t), f1(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== K && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : h4(e) ? this.k(e) : this._(e);
|
|
399
399
|
}
|
|
400
400
|
O(e) {
|
|
401
401
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -451,11 +451,11 @@ class q1 {
|
|
|
451
451
|
_$AI(e, t = this, i, o) {
|
|
452
452
|
const r = this.strings;
|
|
453
453
|
let C = !1;
|
|
454
|
-
if (r === void 0) e =
|
|
454
|
+
if (r === void 0) e = C1(this, e, t, 0), C = !f1(e) || e !== this._$AH && e !== K, C && (this._$AH = e);
|
|
455
455
|
else {
|
|
456
456
|
const a = e;
|
|
457
457
|
let d, p;
|
|
458
|
-
for (e = r[0], d = 0; d < r.length - 1; d++) p =
|
|
458
|
+
for (e = r[0], d = 0; d < r.length - 1; d++) p = C1(this, a[i + d], t, d), p === K && (p = this._$AH[d]), C || (C = !f1(p) || p !== this._$AH[d]), p === c ? e = c : e !== c && (e += (p ?? "") + r[d + 1]), this._$AH[d] = p;
|
|
459
459
|
}
|
|
460
460
|
C && !o && this.j(e);
|
|
461
461
|
}
|
|
@@ -484,7 +484,7 @@ class V4 extends q1 {
|
|
|
484
484
|
super(e, t, i, o, r), this.type = 5;
|
|
485
485
|
}
|
|
486
486
|
_$AI(e, t = this) {
|
|
487
|
-
if ((e =
|
|
487
|
+
if ((e = C1(this, e, t, 0) ?? c) === K) return;
|
|
488
488
|
const i = this._$AH, o = e === c && i !== c || e.capture !== i.capture || e.once !== i.once || e.passive !== i.passive, r = e !== c && (i === c || o);
|
|
489
489
|
o && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
490
490
|
}
|
|
@@ -501,7 +501,7 @@ class L4 {
|
|
|
501
501
|
return this._$AM._$AU;
|
|
502
502
|
}
|
|
503
503
|
_$AI(e) {
|
|
504
|
-
|
|
504
|
+
C1(this, e);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
const X1 = g1.litHtmlPolyfillSupport;
|
|
@@ -521,7 +521,7 @@ const b4 = (l, e, t) => {
|
|
|
521
521
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
522
522
|
*/
|
|
523
523
|
const Y = globalThis;
|
|
524
|
-
let u = class extends
|
|
524
|
+
let u = class extends r1 {
|
|
525
525
|
constructor() {
|
|
526
526
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
527
527
|
}
|
|
@@ -1547,7 +1547,7 @@ W5([
|
|
|
1547
1547
|
n()
|
|
1548
1548
|
], M1.prototype, "height");
|
|
1549
1549
|
customElements.get("anduin-progress") || customElements.define("anduin-progress", M1);
|
|
1550
|
-
var S4 = Object.defineProperty,
|
|
1550
|
+
var S4 = Object.defineProperty, c1 = (l, e, t, i) => {
|
|
1551
1551
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
1552
1552
|
(C = l[r]) && (o = C(e, t, o) || o);
|
|
1553
1553
|
return o && S4(e, t, o), o;
|
|
@@ -1590,26 +1590,26 @@ A2.styles = h`
|
|
|
1590
1590
|
0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
|
|
1591
1591
|
}
|
|
1592
1592
|
`;
|
|
1593
|
-
let
|
|
1594
|
-
|
|
1593
|
+
let B = A2;
|
|
1594
|
+
c1([
|
|
1595
1595
|
n()
|
|
1596
|
-
],
|
|
1597
|
-
|
|
1596
|
+
], B.prototype, "effect");
|
|
1597
|
+
c1([
|
|
1598
1598
|
n()
|
|
1599
|
-
],
|
|
1600
|
-
|
|
1599
|
+
], B.prototype, "shape");
|
|
1600
|
+
c1([
|
|
1601
1601
|
n()
|
|
1602
|
-
],
|
|
1603
|
-
|
|
1602
|
+
], B.prototype, "height");
|
|
1603
|
+
c1([
|
|
1604
1604
|
n()
|
|
1605
|
-
],
|
|
1606
|
-
|
|
1605
|
+
], B.prototype, "width");
|
|
1606
|
+
c1([
|
|
1607
1607
|
n({ type: Number })
|
|
1608
|
-
],
|
|
1609
|
-
|
|
1608
|
+
], B.prototype, "duration");
|
|
1609
|
+
c1([
|
|
1610
1610
|
n({ attribute: "font-size" })
|
|
1611
|
-
],
|
|
1612
|
-
customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton",
|
|
1611
|
+
], B.prototype, "fontSize");
|
|
1612
|
+
customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", B);
|
|
1613
1613
|
var O4 = Object.defineProperty, D4 = (l, e, t, i) => {
|
|
1614
1614
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
1615
1615
|
(C = l[r]) && (o = C(e, t, o) || o);
|
|
@@ -2155,16 +2155,16 @@ N2.styles = h`
|
|
|
2155
2155
|
.tabs { display: flex; flex-direction: column; width: 100%; }
|
|
2156
2156
|
:host([fill]) .tabs { flex: 1; min-height: 0; }
|
|
2157
2157
|
`;
|
|
2158
|
-
let
|
|
2158
|
+
let n1 = N2;
|
|
2159
2159
|
_([
|
|
2160
2160
|
n({ attribute: "default-value" })
|
|
2161
|
-
],
|
|
2161
|
+
], n1.prototype, "defaultValue");
|
|
2162
2162
|
_([
|
|
2163
2163
|
n()
|
|
2164
|
-
],
|
|
2164
|
+
], n1.prototype, "value");
|
|
2165
2165
|
_([
|
|
2166
2166
|
n({ type: Boolean, reflect: !0 })
|
|
2167
|
-
],
|
|
2167
|
+
], n1.prototype, "fill");
|
|
2168
2168
|
const j2 = class j2 extends u {
|
|
2169
2169
|
constructor() {
|
|
2170
2170
|
super(...arguments), this.alignment = "left", this.lastActiveValue = "", this.resizeObserver = null;
|
|
@@ -2287,25 +2287,25 @@ U2.styles = h`
|
|
|
2287
2287
|
color: var(--color-gray-7); white-space: nowrap;
|
|
2288
2288
|
}
|
|
2289
2289
|
`;
|
|
2290
|
-
let
|
|
2290
|
+
let z = U2;
|
|
2291
2291
|
_([
|
|
2292
2292
|
n()
|
|
2293
|
-
],
|
|
2293
|
+
], z.prototype, "value");
|
|
2294
2294
|
_([
|
|
2295
2295
|
n({ attribute: "start-icon" })
|
|
2296
|
-
],
|
|
2296
|
+
], z.prototype, "startIcon");
|
|
2297
2297
|
_([
|
|
2298
2298
|
n({ type: Boolean })
|
|
2299
|
-
],
|
|
2299
|
+
], z.prototype, "disabled");
|
|
2300
2300
|
_([
|
|
2301
2301
|
n({ type: Boolean, attribute: "show-badge" })
|
|
2302
|
-
],
|
|
2302
|
+
], z.prototype, "showBadge");
|
|
2303
2303
|
_([
|
|
2304
2304
|
n({ attribute: "badge-count" })
|
|
2305
|
-
],
|
|
2305
|
+
], z.prototype, "badgeCount");
|
|
2306
2306
|
_([
|
|
2307
2307
|
y()
|
|
2308
|
-
],
|
|
2308
|
+
], z.prototype, "isActive");
|
|
2309
2309
|
const q2 = class q2 extends u {
|
|
2310
2310
|
constructor() {
|
|
2311
2311
|
super(...arguments), this.value = "", this.isActive = !1;
|
|
@@ -2341,9 +2341,9 @@ _([
|
|
|
2341
2341
|
_([
|
|
2342
2342
|
y()
|
|
2343
2343
|
], _1.prototype, "isActive");
|
|
2344
|
-
customElements.get("anduin-tabs") || customElements.define("anduin-tabs",
|
|
2344
|
+
customElements.get("anduin-tabs") || customElements.define("anduin-tabs", n1);
|
|
2345
2345
|
customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", y1);
|
|
2346
|
-
customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger",
|
|
2346
|
+
customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", z);
|
|
2347
2347
|
customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", _1);
|
|
2348
2348
|
var X4 = Object.defineProperty, m2 = (l, e, t, i) => {
|
|
2349
2349
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
@@ -2463,16 +2463,16 @@ W2.styles = h`
|
|
|
2463
2463
|
.tag--custom-yellow-green { color: var(--color-gray-9); background-color: rgb(174,207,85); }
|
|
2464
2464
|
.tag--custom-yellow-orange { color: var(--color-gray-9); background-color: rgb(255,193,107); }
|
|
2465
2465
|
`;
|
|
2466
|
-
let
|
|
2466
|
+
let a1 = W2;
|
|
2467
2467
|
m2([
|
|
2468
2468
|
n()
|
|
2469
|
-
],
|
|
2469
|
+
], a1.prototype, "variant");
|
|
2470
2470
|
m2([
|
|
2471
2471
|
n()
|
|
2472
|
-
],
|
|
2472
|
+
], a1.prototype, "icon");
|
|
2473
2473
|
m2([
|
|
2474
2474
|
n({ type: Boolean })
|
|
2475
|
-
],
|
|
2475
|
+
], a1.prototype, "disabled");
|
|
2476
2476
|
const G2 = class G2 extends u {
|
|
2477
2477
|
onClick() {
|
|
2478
2478
|
this.dispatchEvent(new CustomEvent(K4, { bubbles: !0, composed: !0 }));
|
|
@@ -2496,7 +2496,7 @@ G2.styles = h`
|
|
|
2496
2496
|
.tag-close__button:active { opacity: 0.5; }
|
|
2497
2497
|
`;
|
|
2498
2498
|
let r2 = G2;
|
|
2499
|
-
customElements.get("anduin-tag") || customElements.define("anduin-tag",
|
|
2499
|
+
customElements.get("anduin-tag") || customElements.define("anduin-tag", a1);
|
|
2500
2500
|
customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", r2);
|
|
2501
2501
|
var e3 = Object.defineProperty, X5 = (l, e, t, i) => {
|
|
2502
2502
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
@@ -2568,7 +2568,7 @@ function o3(l, e, t, i = 8) {
|
|
|
2568
2568
|
top: Math.round(Math.min(Math.max(p.top, 0), r - d))
|
|
2569
2569
|
};
|
|
2570
2570
|
g.sort((f, M) => {
|
|
2571
|
-
const
|
|
2571
|
+
const l1 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + d }, $ = { left: M.off.left, top: M.off.top, right: M.off.left + a, bottom: M.off.top + d }, q = R5(l1, C), B1 = R5($, C);
|
|
2572
2572
|
if (B1 !== q) return B1 - q;
|
|
2573
2573
|
const z1 = Math.abs(f.off.left - p.left) + Math.abs(f.off.top - p.top), F1 = Math.abs(M.off.left - p.left) + Math.abs(M.off.top - p.top);
|
|
2574
2574
|
return z1 - F1;
|
|
@@ -2914,14 +2914,14 @@ Q2.styles = h`
|
|
|
2914
2914
|
let s2 = Q2;
|
|
2915
2915
|
customElements.get("anduin-well") || customElements.define("anduin-well", U1);
|
|
2916
2916
|
customElements.get("anduin-well-close") || customElements.define("anduin-well-close", s2);
|
|
2917
|
-
var n3 = Object.defineProperty,
|
|
2917
|
+
var n3 = Object.defineProperty, Q = (l, e, t, i) => {
|
|
2918
2918
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
2919
2919
|
(C = l[r]) && (o = C(e, t, o) || o);
|
|
2920
2920
|
return o && n3(e, t, o), o;
|
|
2921
2921
|
};
|
|
2922
2922
|
const d2 = "anduin-popover:close", e5 = class e5 extends u {
|
|
2923
2923
|
constructor() {
|
|
2924
|
-
super(...arguments), this.open = !1, this.placement = "bottom-start", this._visible = !1, this._closing = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
|
|
2924
|
+
super(...arguments), this.open = !1, this.placement = "bottom-start", this.fullWidth = !1, this._visible = !1, this._closing = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
|
|
2925
2925
|
var t;
|
|
2926
2926
|
!this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && (this.open = !1);
|
|
2927
2927
|
}, this._onScrollOrResize = () => {
|
|
@@ -2966,7 +2966,7 @@ const d2 = "anduin-popover:close", e5 = class e5 extends u {
|
|
|
2966
2966
|
t.style.transform = o;
|
|
2967
2967
|
const C = t.getBoundingClientRect(), a = 4, d = window.innerWidth, p = window.innerHeight, g = 8;
|
|
2968
2968
|
let v = 0, H = 0, f = "bottom";
|
|
2969
|
-
const M = !this.placement.startsWith("top"),
|
|
2969
|
+
const M = !this.placement.startsWith("top"), l1 = p - i.bottom - a, $ = i.top - a, q = l1 >= C.height, B1 = $ >= C.height, z1 = M ? q || l1 >= $ : !B1 && q;
|
|
2970
2970
|
f = z1 ? "bottom" : "top", H = z1 ? i.bottom + a : i.top - C.height - a;
|
|
2971
2971
|
const F1 = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
|
|
2972
2972
|
F1 === "start" ? v = i.left : F1 === "end" ? v = i.right - C.width : v = i.left + i.width / 2 - C.width / 2, v = Math.max(g, Math.min(v, d - C.width - g)), H = Math.max(g, Math.min(H, p - C.height - g)), t.style.transform = `translate(${Math.round(v - r.left)}px, ${Math.round(H - r.top)}px)`, t.dataset.side = f;
|
|
@@ -2986,8 +2986,10 @@ const d2 = "anduin-popover:close", e5 = class e5 extends u {
|
|
|
2986
2986
|
};
|
|
2987
2987
|
e5.styles = h`
|
|
2988
2988
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
2989
|
+
:host([full-width]) { display: block; width: 100%; }
|
|
2989
2990
|
|
|
2990
2991
|
.popover__trigger { display: inline-block; }
|
|
2992
|
+
:host([full-width]) .popover__trigger { display: block; width: 100%; }
|
|
2991
2993
|
|
|
2992
2994
|
.popover__panel {
|
|
2993
2995
|
position: fixed;
|
|
@@ -3008,9 +3010,9 @@ e5.styles = h`
|
|
|
3008
3010
|
display: flex;
|
|
3009
3011
|
flex-direction: column;
|
|
3010
3012
|
align-items: flex-start;
|
|
3011
|
-
min-width: 192px;
|
|
3012
|
-
max-width: 640px;
|
|
3013
|
-
max-height: 480px;
|
|
3013
|
+
min-width: var(--popover-min-width, 192px);
|
|
3014
|
+
max-width: var(--popover-max-width, 640px);
|
|
3015
|
+
max-height: var(--popover-max-height, 480px);
|
|
3014
3016
|
padding: 8px;
|
|
3015
3017
|
overflow: auto;
|
|
3016
3018
|
opacity: 0;
|
|
@@ -3031,26 +3033,29 @@ e5.styles = h`
|
|
|
3031
3033
|
transform: scale(1) translateY(0);
|
|
3032
3034
|
}
|
|
3033
3035
|
`;
|
|
3034
|
-
let
|
|
3035
|
-
|
|
3036
|
+
let E = e5;
|
|
3037
|
+
Q([
|
|
3036
3038
|
n({ type: Boolean, reflect: !0 })
|
|
3037
|
-
],
|
|
3038
|
-
|
|
3039
|
+
], E.prototype, "open");
|
|
3040
|
+
Q([
|
|
3039
3041
|
n()
|
|
3040
|
-
],
|
|
3041
|
-
|
|
3042
|
+
], E.prototype, "placement");
|
|
3043
|
+
Q([
|
|
3044
|
+
n({ type: Boolean, attribute: "full-width" })
|
|
3045
|
+
], E.prototype, "fullWidth");
|
|
3046
|
+
Q([
|
|
3042
3047
|
y()
|
|
3043
|
-
],
|
|
3044
|
-
|
|
3048
|
+
], E.prototype, "_visible");
|
|
3049
|
+
Q([
|
|
3045
3050
|
y()
|
|
3046
|
-
],
|
|
3047
|
-
|
|
3051
|
+
], E.prototype, "_closing");
|
|
3052
|
+
Q([
|
|
3048
3053
|
w(".popover__trigger")
|
|
3049
|
-
],
|
|
3050
|
-
|
|
3054
|
+
], E.prototype, "_triggerEl");
|
|
3055
|
+
Q([
|
|
3051
3056
|
w(".popover__panel")
|
|
3052
|
-
],
|
|
3053
|
-
customElements.get("anduin-popover") || customElements.define("anduin-popover",
|
|
3057
|
+
], E.prototype, "_panelEl");
|
|
3058
|
+
customElements.get("anduin-popover") || customElements.define("anduin-popover", E);
|
|
3054
3059
|
const t5 = class t5 extends u {
|
|
3055
3060
|
_onClick() {
|
|
3056
3061
|
this.dispatchEvent(new CustomEvent(d2, { bubbles: !0, composed: !0 }));
|
|
@@ -3062,7 +3067,7 @@ const t5 = class t5 extends u {
|
|
|
3062
3067
|
t5.styles = h`:host { display: contents; }`;
|
|
3063
3068
|
let c2 = t5;
|
|
3064
3069
|
customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", c2);
|
|
3065
|
-
var a3 = Object.defineProperty,
|
|
3070
|
+
var a3 = Object.defineProperty, e1 = (l, e, t, i) => {
|
|
3066
3071
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
3067
3072
|
(C = l[r]) && (o = C(e, t, o) || o);
|
|
3068
3073
|
return o && a3(e, t, o), o;
|
|
@@ -3178,16 +3183,16 @@ o5.styles = h`
|
|
|
3178
3183
|
}
|
|
3179
3184
|
`;
|
|
3180
3185
|
let J = o5;
|
|
3181
|
-
|
|
3186
|
+
e1([
|
|
3182
3187
|
n({ type: Boolean, reflect: !0 })
|
|
3183
3188
|
], J.prototype, "open");
|
|
3184
|
-
|
|
3189
|
+
e1([
|
|
3185
3190
|
n()
|
|
3186
3191
|
], J.prototype, "placement");
|
|
3187
|
-
|
|
3192
|
+
e1([
|
|
3188
3193
|
w(".menu__trigger")
|
|
3189
3194
|
], J.prototype, "_triggerEl");
|
|
3190
|
-
|
|
3195
|
+
e1([
|
|
3191
3196
|
w(".menu__panel")
|
|
3192
3197
|
], J.prototype, "_panelEl");
|
|
3193
3198
|
const i5 = class i5 extends u {
|
|
@@ -3242,19 +3247,19 @@ i5.styles = h`
|
|
|
3242
3247
|
anduin-icon { color: var(--color-gray-7); }
|
|
3243
3248
|
.menu-item--danger anduin-icon { color: var(--color-danger-4); }
|
|
3244
3249
|
`;
|
|
3245
|
-
let
|
|
3246
|
-
|
|
3250
|
+
let s1 = i5;
|
|
3251
|
+
e1([
|
|
3247
3252
|
n()
|
|
3248
|
-
],
|
|
3249
|
-
|
|
3253
|
+
], s1.prototype, "icon");
|
|
3254
|
+
e1([
|
|
3250
3255
|
n()
|
|
3251
|
-
],
|
|
3252
|
-
|
|
3256
|
+
], s1.prototype, "variant");
|
|
3257
|
+
e1([
|
|
3253
3258
|
n({ type: Boolean })
|
|
3254
|
-
],
|
|
3259
|
+
], s1.prototype, "disabled");
|
|
3255
3260
|
customElements.get("anduin-menu") || customElements.define("anduin-menu", J);
|
|
3256
|
-
customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item",
|
|
3257
|
-
var s3 = Object.defineProperty,
|
|
3261
|
+
customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", s1);
|
|
3262
|
+
var s3 = Object.defineProperty, t1 = (l, e, t, i) => {
|
|
3258
3263
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
3259
3264
|
(C = l[r]) && (o = C(e, t, o) || o);
|
|
3260
3265
|
return o && s3(e, t, o), o;
|
|
@@ -3465,25 +3470,25 @@ const j = (D = class extends u {
|
|
|
3465
3470
|
border-top: 1px solid var(--color-gray-3, #e4e7ec);
|
|
3466
3471
|
}
|
|
3467
3472
|
`, D._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), D);
|
|
3468
|
-
|
|
3473
|
+
t1([
|
|
3469
3474
|
n({ type: Boolean, reflect: !0 })
|
|
3470
3475
|
], j.prototype, "open");
|
|
3471
|
-
|
|
3476
|
+
t1([
|
|
3472
3477
|
n()
|
|
3473
3478
|
], j.prototype, "heading");
|
|
3474
|
-
|
|
3479
|
+
t1([
|
|
3475
3480
|
n({ type: Boolean, attribute: "hide-header" })
|
|
3476
3481
|
], j.prototype, "hideHeader");
|
|
3477
|
-
|
|
3482
|
+
t1([
|
|
3478
3483
|
n({ type: Boolean, attribute: "hide-footer" })
|
|
3479
3484
|
], j.prototype, "hideFooter");
|
|
3480
|
-
|
|
3485
|
+
t1([
|
|
3481
3486
|
n({ attribute: "max-width" })
|
|
3482
3487
|
], j.prototype, "maxWidth");
|
|
3483
|
-
|
|
3488
|
+
t1([
|
|
3484
3489
|
n({ type: Boolean })
|
|
3485
3490
|
], j.prototype, "fullscreen");
|
|
3486
|
-
|
|
3491
|
+
t1([
|
|
3487
3492
|
y()
|
|
3488
3493
|
], j.prototype, "_leaving");
|
|
3489
3494
|
let c3 = j;
|
|
@@ -3690,18 +3695,18 @@ r5.styles = h`
|
|
|
3690
3695
|
.group--vertical { flex-direction: column; }
|
|
3691
3696
|
.group--horizontal { flex-direction: row; flex-wrap: wrap; align-items: center; }
|
|
3692
3697
|
`;
|
|
3693
|
-
let
|
|
3698
|
+
let d1 = r5;
|
|
3694
3699
|
P([
|
|
3695
3700
|
n()
|
|
3696
|
-
],
|
|
3701
|
+
], d1.prototype, "value");
|
|
3697
3702
|
P([
|
|
3698
3703
|
n()
|
|
3699
|
-
],
|
|
3704
|
+
], d1.prototype, "name");
|
|
3700
3705
|
P([
|
|
3701
3706
|
n()
|
|
3702
|
-
],
|
|
3703
|
-
customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group",
|
|
3704
|
-
var g3 = Object.defineProperty,
|
|
3707
|
+
], d1.prototype, "orientation");
|
|
3708
|
+
customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group", d1);
|
|
3709
|
+
var g3 = Object.defineProperty, o1 = (l, e, t, i) => {
|
|
3705
3710
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
3706
3711
|
(C = l[r]) && (o = C(e, t, o) || o);
|
|
3707
3712
|
return o && g3(e, t, o), o;
|
|
@@ -3784,29 +3789,29 @@ C5.styles = h`
|
|
|
3784
3789
|
display: block;
|
|
3785
3790
|
}
|
|
3786
3791
|
`;
|
|
3787
|
-
let
|
|
3788
|
-
|
|
3792
|
+
let A = C5;
|
|
3793
|
+
o1([
|
|
3789
3794
|
n()
|
|
3790
|
-
],
|
|
3791
|
-
|
|
3795
|
+
], A.prototype, "src");
|
|
3796
|
+
o1([
|
|
3792
3797
|
n()
|
|
3793
|
-
],
|
|
3794
|
-
|
|
3798
|
+
], A.prototype, "name");
|
|
3799
|
+
o1([
|
|
3795
3800
|
n()
|
|
3796
|
-
],
|
|
3797
|
-
|
|
3801
|
+
], A.prototype, "alt");
|
|
3802
|
+
o1([
|
|
3798
3803
|
n()
|
|
3799
|
-
],
|
|
3800
|
-
|
|
3804
|
+
], A.prototype, "icon");
|
|
3805
|
+
o1([
|
|
3801
3806
|
n({ type: Number })
|
|
3802
|
-
],
|
|
3803
|
-
|
|
3807
|
+
], A.prototype, "size");
|
|
3808
|
+
o1([
|
|
3804
3809
|
n()
|
|
3805
|
-
],
|
|
3806
|
-
|
|
3810
|
+
], A.prototype, "shape");
|
|
3811
|
+
o1([
|
|
3807
3812
|
y()
|
|
3808
|
-
],
|
|
3809
|
-
customElements.get("anduin-avatar") || customElements.define("anduin-avatar",
|
|
3813
|
+
], A.prototype, "_imgError");
|
|
3814
|
+
customElements.get("anduin-avatar") || customElements.define("anduin-avatar", A);
|
|
3810
3815
|
/**
|
|
3811
3816
|
* @license
|
|
3812
3817
|
* Copyright 2017 Google LLC
|
|
@@ -4148,7 +4153,7 @@ o4([
|
|
|
4148
4153
|
n({ type: Number })
|
|
4149
4154
|
], R1.prototype, "size");
|
|
4150
4155
|
customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", R1);
|
|
4151
|
-
var _3 = Object.defineProperty,
|
|
4156
|
+
var _3 = Object.defineProperty, i1 = (l, e, t, i) => {
|
|
4152
4157
|
for (var o = void 0, r = l.length - 1, C; r >= 0; r--)
|
|
4153
4158
|
(C = l[r]) && (o = C(e, t, o) || o);
|
|
4154
4159
|
return o && _3(e, t, o), o;
|
|
@@ -4325,19 +4330,19 @@ a5.styles = h`
|
|
|
4325
4330
|
}
|
|
4326
4331
|
`;
|
|
4327
4332
|
let T = a5;
|
|
4328
|
-
|
|
4333
|
+
i1([
|
|
4329
4334
|
n()
|
|
4330
4335
|
], T.prototype, "variant");
|
|
4331
|
-
|
|
4336
|
+
i1([
|
|
4332
4337
|
n()
|
|
4333
4338
|
], T.prototype, "heading");
|
|
4334
|
-
|
|
4339
|
+
i1([
|
|
4335
4340
|
n()
|
|
4336
4341
|
], T.prototype, "description");
|
|
4337
|
-
|
|
4342
|
+
i1([
|
|
4338
4343
|
y()
|
|
4339
4344
|
], T.prototype, "_dismissing");
|
|
4340
|
-
|
|
4345
|
+
i1([
|
|
4341
4346
|
w(".toast")
|
|
4342
4347
|
], T.prototype, "_toastEl");
|
|
4343
4348
|
customElements.get("anduin-toast") || customElements.define("anduin-toast", T);
|
|
@@ -4433,10 +4438,10 @@ s5.styles = h`
|
|
|
4433
4438
|
}
|
|
4434
4439
|
`;
|
|
4435
4440
|
let w1 = s5;
|
|
4436
|
-
|
|
4441
|
+
i1([
|
|
4437
4442
|
n()
|
|
4438
4443
|
], w1.prototype, "position");
|
|
4439
|
-
|
|
4444
|
+
i1([
|
|
4440
4445
|
y()
|
|
4441
4446
|
], w1.prototype, "_toasts");
|
|
4442
4447
|
customElements.get("anduin-toaster") || customElements.define("anduin-toaster", w1);
|
|
@@ -4630,10 +4635,10 @@ const E5 = "anduin-dropdown:change", c5 = class c5 extends u {
|
|
|
4630
4635
|
t.style.transform = o;
|
|
4631
4636
|
const C = t.querySelector(".panel__inner");
|
|
4632
4637
|
C && (C.style.minWidth = `${i.width}px`);
|
|
4633
|
-
const a = t.getBoundingClientRect(), d = 4, p = window.innerWidth, g = window.innerHeight, v = 8, H = g - i.bottom - d, f = i.top - d,
|
|
4638
|
+
const a = t.getBoundingClientRect(), d = 4, p = window.innerWidth, g = window.innerHeight, v = 8, H = g - i.bottom - d, f = i.top - d, l1 = a.height <= H || H >= f ? i.bottom + d : i.top - a.height - d;
|
|
4634
4639
|
let $ = i.left;
|
|
4635
4640
|
this.placement === "bottom-end" ? $ = i.right - a.width : this.placement === "bottom" && ($ = i.left + i.width / 2 - a.width / 2), $ = Math.max(v, Math.min($, p - a.width - v));
|
|
4636
|
-
const q = Math.max(v, Math.min(
|
|
4641
|
+
const q = Math.max(v, Math.min(l1, g - a.height - v));
|
|
4637
4642
|
t.style.transform = `translate(${Math.round($ - r.left)}px, ${Math.round(q - r.top)}px)`;
|
|
4638
4643
|
}
|
|
4639
4644
|
get _filteredOptions() {
|
|
@@ -5159,17 +5164,17 @@ class F3 extends HTMLElement {
|
|
|
5159
5164
|
customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", F3);
|
|
5160
5165
|
export {
|
|
5161
5166
|
m3 as $,
|
|
5162
|
-
|
|
5167
|
+
A,
|
|
5163
5168
|
F as B,
|
|
5164
|
-
|
|
5165
|
-
|
|
5169
|
+
d1 as C,
|
|
5170
|
+
B as D,
|
|
5166
5171
|
V1 as E,
|
|
5167
5172
|
k1 as F,
|
|
5168
5173
|
_1 as G,
|
|
5169
|
-
|
|
5170
|
-
|
|
5174
|
+
z as H,
|
|
5175
|
+
n1 as I,
|
|
5171
5176
|
y1 as J,
|
|
5172
|
-
|
|
5177
|
+
a1 as K,
|
|
5173
5178
|
r2 as L,
|
|
5174
5179
|
x as M,
|
|
5175
5180
|
T as N,
|
|
@@ -5230,10 +5235,10 @@ export {
|
|
|
5230
5235
|
Z as r,
|
|
5231
5236
|
N1 as s,
|
|
5232
5237
|
J as t,
|
|
5233
|
-
|
|
5238
|
+
s1 as u,
|
|
5234
5239
|
c3 as v,
|
|
5235
5240
|
p3 as w,
|
|
5236
|
-
|
|
5241
|
+
E as x,
|
|
5237
5242
|
c2 as y,
|
|
5238
5243
|
M1 as z
|
|
5239
5244
|
};
|