@duyluonganduin/acl-web-components 0.0.52 → 0.0.53
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 +34 -34
- package/dist/acl-web-components.js +1 -1
- package/dist/{anduin-table-DWZEudP7.js → anduin-table-CAiteM1b.js} +5 -5
- package/dist/{anduin-table-B7fNgatM.cjs → anduin-table-DWWe0zq8.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./anduin-table-B7fNgatM.cjs"),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)}';if(typeof document<"u"&&!document.getElementById("acl-tokens")){const i=document.createElement("style");i.id="acl-tokens",i.textContent=o,document.head.appendChild(i)}exports.AnduinAvatar=n.AnduinAvatar;exports.AnduinBadge=n.AnduinBadge;exports.AnduinBadgeCount=n.AnduinBadgeCount;exports.AnduinButton=n.AnduinButton;exports.AnduinCalendar=n.AnduinCalendar;exports.AnduinCallout=n.AnduinCallout;exports.AnduinCheckbox=n.AnduinCheckbox;exports.AnduinDateInput=n.AnduinDateInput;exports.AnduinDatePicker=n.AnduinDatePicker;exports.AnduinDateRange=n.AnduinDateRange;exports.AnduinDateRangeDefault=n.AnduinDateRangeDefault;exports.AnduinDateRangeEnd=n.AnduinDateRangeEnd;exports.AnduinDateRangePanel=n.AnduinDateRangePanel;exports.AnduinDateRangeStart=n.AnduinDateRangeStart;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.AnduinNavigation=n.AnduinNavigation;exports.AnduinNavigationItem=n.AnduinNavigationItem;exports.AnduinPagination=n.AnduinPagination;exports.AnduinPaginationFirstPage=n.AnduinPaginationFirstPage;exports.AnduinPaginationLastPage=n.AnduinPaginationLastPage;exports.AnduinPopover=n.AnduinPopover;exports.AnduinPopoverClose=n.AnduinPopoverClose;exports.AnduinProgress=n.AnduinProgress;exports.AnduinRadio=n.AnduinRadio;exports.AnduinRadioGroup=n.AnduinRadioGroup;exports.AnduinResizableHandle=n.AnduinResizableHandle;exports.AnduinResizablePanel=n.AnduinResizablePanel;exports.AnduinResizablePanelGroup=n.AnduinResizablePanelGroup;exports.AnduinSidebar=n.AnduinSidebar;exports.AnduinSidebarAction=n.AnduinSidebarAction;exports.AnduinSidebarBadge=n.AnduinSidebarBadge;exports.AnduinSidebarContent=n.AnduinSidebarContent;exports.AnduinSidebarFooter=n.AnduinSidebarFooter;exports.AnduinSidebarGroup=n.AnduinSidebarGroup;exports.AnduinSidebarGroupLabel=n.AnduinSidebarGroupLabel;exports.AnduinSidebarHeader=n.AnduinSidebarHeader;exports.AnduinSidebarMenu=n.AnduinSidebarMenu;exports.AnduinSidebarMenuItem=n.AnduinSidebarMenuItem;exports.AnduinSidebarSeparator=n.AnduinSidebarSeparator;exports.AnduinSkeleton=n.AnduinSkeleton;exports.AnduinSparkleSpinner=n.AnduinSparkleSpinner;exports.AnduinSpinner=n.AnduinSpinner;exports.AnduinSuggestion=n.AnduinSuggestion;exports.AnduinSwitcher=n.AnduinSwitcher;exports.AnduinTabContent=n.AnduinTabContent;exports.AnduinTabTrigger=n.AnduinTabTrigger;exports.AnduinTable=n.AnduinTable;exports.AnduinTabs=n.AnduinTabs;exports.AnduinTabsList=n.AnduinTabsList;exports.AnduinTag=n.AnduinTag;exports.AnduinTagClose=n.AnduinTagClose;exports.AnduinTextarea=n.AnduinTextarea;exports.AnduinTimeline=n.AnduinTimeline;exports.AnduinTimelineDate=n.AnduinTimelineDate;exports.AnduinTimelineGroup=n.AnduinTimelineGroup;exports.AnduinTimelineItem=n.AnduinTimelineItem;exports.AnduinTimelineLabel=n.AnduinTimelineLabel;exports.AnduinTimelineTitle=n.AnduinTimelineTitle;exports.AnduinToast=n.AnduinToast;exports.AnduinToaster=n.AnduinToaster;exports.AnduinToggleGroup=n.AnduinToggleGroup;exports.AnduinToggleGroupItem=n.AnduinToggleGroupItem;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.CALENDAR_CHANGE=n.CALENDAR_CHANGE;exports.CALENDAR_DAY_HOVER=n.CALENDAR_DAY_HOVER;exports.CHECKBOX_CHANGE=n.CHECKBOX_CHANGE;exports.DATE_INPUT_CHANGE=n.DATE_INPUT_CHANGE;exports.DATE_PICKER_CHANGE=n.DATE_PICKER_CHANGE;exports.DATE_RANGE_CHANGE=n.DATE_RANGE_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.NAVIGATION_CHANGE=n.NAVIGATION_CHANGE;exports.NAVIGATION_ITEM_CLICK=n.NAVIGATION_ITEM_CLICK;exports.PAGINATION_CHANGE=n.PAGINATION_CHANGE;exports.PAGINATION_JUMP=n.PAGINATION_JUMP;exports.POPOVER_CLOSE=n.POPOVER_CLOSE;exports.POPOVER_OPEN_CHANGE=n.POPOVER_OPEN_CHANGE;exports.RADIO_CHANGE=n.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=n.RADIO_GROUP_CHANGE;exports.RESIZE_EVENT=n.RESIZE_EVENT;exports.SIDEBAR_SELECT=n.SIDEBAR_SELECT;exports.SUGGESTION_CHANGE=n.SUGGESTION_CHANGE;exports.SUGGESTION_CLEAR=n.SUGGESTION_CLEAR;exports.SUGGESTION_SELECT=n.SUGGESTION_SELECT;exports.SWITCHER_CHANGE=n.SWITCHER_CHANGE;exports.TABLE_CELL_CONTEXT_MENU=n.TABLE_CELL_CONTEXT_MENU;exports.TABLE_COLUMN_CLICK=n.TABLE_COLUMN_CLICK;exports.TABLE_COLUMN_RESIZE=n.TABLE_COLUMN_RESIZE;exports.TABLE_GROUP_TOGGLE=n.TABLE_GROUP_TOGGLE;exports.TABLE_ROW_CLICK=n.TABLE_ROW_CLICK;exports.TABLE_ROW_COLLAPSE=n.TABLE_ROW_COLLAPSE;exports.TABLE_ROW_EXPAND=n.TABLE_ROW_EXPAND;exports.TABLE_SELECTION_CHANGE=n.TABLE_SELECTION_CHANGE;exports.TABLE_SORT=n.TABLE_SORT;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.TOGGLE_GROUP_CHANGE=n.TOGGLE_GROUP_CHANGE;exports.TOGGLE_GROUP_ITEM_CHANGE=n.TOGGLE_GROUP_ITEM_CHANGE;exports.TOGGLE_GROUP_ITEM_CLICK=n.TOGGLE_GROUP_ITEM_CLICK;exports.TOGGLE_GROUP_ITEM_DESELECT=n.TOGGLE_GROUP_ITEM_DESELECT;exports.TOGGLE_GROUP_ITEM_SELECT=n.TOGGLE_GROUP_ITEM_SELECT;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.addMonths=n.addMonths;exports.formatISODate=n.formatISODate;exports.getBadgeVariantClass=n.getBadgeVariantClass;exports.parseISODate=n.parseISODate;exports.resolveFileIcon=n.resolveFileIcon;exports.startOfToday=n.startOfToday;exports.toast=n.toast;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./anduin-table-DWWe0zq8.cjs"),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)}';if(typeof document<"u"&&!document.getElementById("acl-tokens")){const i=document.createElement("style");i.id="acl-tokens",i.textContent=o,document.head.appendChild(i)}exports.AnduinAvatar=n.AnduinAvatar;exports.AnduinBadge=n.AnduinBadge;exports.AnduinBadgeCount=n.AnduinBadgeCount;exports.AnduinButton=n.AnduinButton;exports.AnduinCalendar=n.AnduinCalendar;exports.AnduinCallout=n.AnduinCallout;exports.AnduinCheckbox=n.AnduinCheckbox;exports.AnduinDateInput=n.AnduinDateInput;exports.AnduinDatePicker=n.AnduinDatePicker;exports.AnduinDateRange=n.AnduinDateRange;exports.AnduinDateRangeDefault=n.AnduinDateRangeDefault;exports.AnduinDateRangeEnd=n.AnduinDateRangeEnd;exports.AnduinDateRangePanel=n.AnduinDateRangePanel;exports.AnduinDateRangeStart=n.AnduinDateRangeStart;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.AnduinNavigation=n.AnduinNavigation;exports.AnduinNavigationItem=n.AnduinNavigationItem;exports.AnduinPagination=n.AnduinPagination;exports.AnduinPaginationFirstPage=n.AnduinPaginationFirstPage;exports.AnduinPaginationLastPage=n.AnduinPaginationLastPage;exports.AnduinPopover=n.AnduinPopover;exports.AnduinPopoverClose=n.AnduinPopoverClose;exports.AnduinProgress=n.AnduinProgress;exports.AnduinRadio=n.AnduinRadio;exports.AnduinRadioGroup=n.AnduinRadioGroup;exports.AnduinResizableHandle=n.AnduinResizableHandle;exports.AnduinResizablePanel=n.AnduinResizablePanel;exports.AnduinResizablePanelGroup=n.AnduinResizablePanelGroup;exports.AnduinSidebar=n.AnduinSidebar;exports.AnduinSidebarAction=n.AnduinSidebarAction;exports.AnduinSidebarBadge=n.AnduinSidebarBadge;exports.AnduinSidebarContent=n.AnduinSidebarContent;exports.AnduinSidebarFooter=n.AnduinSidebarFooter;exports.AnduinSidebarGroup=n.AnduinSidebarGroup;exports.AnduinSidebarGroupLabel=n.AnduinSidebarGroupLabel;exports.AnduinSidebarHeader=n.AnduinSidebarHeader;exports.AnduinSidebarMenu=n.AnduinSidebarMenu;exports.AnduinSidebarMenuItem=n.AnduinSidebarMenuItem;exports.AnduinSidebarSeparator=n.AnduinSidebarSeparator;exports.AnduinSkeleton=n.AnduinSkeleton;exports.AnduinSparkleSpinner=n.AnduinSparkleSpinner;exports.AnduinSpinner=n.AnduinSpinner;exports.AnduinSuggestion=n.AnduinSuggestion;exports.AnduinSwitcher=n.AnduinSwitcher;exports.AnduinTabContent=n.AnduinTabContent;exports.AnduinTabTrigger=n.AnduinTabTrigger;exports.AnduinTable=n.AnduinTable;exports.AnduinTabs=n.AnduinTabs;exports.AnduinTabsList=n.AnduinTabsList;exports.AnduinTag=n.AnduinTag;exports.AnduinTagClose=n.AnduinTagClose;exports.AnduinTextarea=n.AnduinTextarea;exports.AnduinTimeline=n.AnduinTimeline;exports.AnduinTimelineDate=n.AnduinTimelineDate;exports.AnduinTimelineGroup=n.AnduinTimelineGroup;exports.AnduinTimelineItem=n.AnduinTimelineItem;exports.AnduinTimelineLabel=n.AnduinTimelineLabel;exports.AnduinTimelineTitle=n.AnduinTimelineTitle;exports.AnduinToast=n.AnduinToast;exports.AnduinToaster=n.AnduinToaster;exports.AnduinToggleGroup=n.AnduinToggleGroup;exports.AnduinToggleGroupItem=n.AnduinToggleGroupItem;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.CALENDAR_CHANGE=n.CALENDAR_CHANGE;exports.CALENDAR_DAY_HOVER=n.CALENDAR_DAY_HOVER;exports.CHECKBOX_CHANGE=n.CHECKBOX_CHANGE;exports.DATE_INPUT_CHANGE=n.DATE_INPUT_CHANGE;exports.DATE_PICKER_CHANGE=n.DATE_PICKER_CHANGE;exports.DATE_RANGE_CHANGE=n.DATE_RANGE_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.NAVIGATION_CHANGE=n.NAVIGATION_CHANGE;exports.NAVIGATION_ITEM_CLICK=n.NAVIGATION_ITEM_CLICK;exports.PAGINATION_CHANGE=n.PAGINATION_CHANGE;exports.PAGINATION_JUMP=n.PAGINATION_JUMP;exports.POPOVER_CLOSE=n.POPOVER_CLOSE;exports.POPOVER_OPEN_CHANGE=n.POPOVER_OPEN_CHANGE;exports.RADIO_CHANGE=n.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=n.RADIO_GROUP_CHANGE;exports.RESIZE_EVENT=n.RESIZE_EVENT;exports.SIDEBAR_SELECT=n.SIDEBAR_SELECT;exports.SUGGESTION_CHANGE=n.SUGGESTION_CHANGE;exports.SUGGESTION_CLEAR=n.SUGGESTION_CLEAR;exports.SUGGESTION_SELECT=n.SUGGESTION_SELECT;exports.SWITCHER_CHANGE=n.SWITCHER_CHANGE;exports.TABLE_CELL_CONTEXT_MENU=n.TABLE_CELL_CONTEXT_MENU;exports.TABLE_COLUMN_CLICK=n.TABLE_COLUMN_CLICK;exports.TABLE_COLUMN_RESIZE=n.TABLE_COLUMN_RESIZE;exports.TABLE_GROUP_TOGGLE=n.TABLE_GROUP_TOGGLE;exports.TABLE_ROW_CLICK=n.TABLE_ROW_CLICK;exports.TABLE_ROW_COLLAPSE=n.TABLE_ROW_COLLAPSE;exports.TABLE_ROW_EXPAND=n.TABLE_ROW_EXPAND;exports.TABLE_SELECTION_CHANGE=n.TABLE_SELECTION_CHANGE;exports.TABLE_SORT=n.TABLE_SORT;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.TOGGLE_GROUP_CHANGE=n.TOGGLE_GROUP_CHANGE;exports.TOGGLE_GROUP_ITEM_CHANGE=n.TOGGLE_GROUP_ITEM_CHANGE;exports.TOGGLE_GROUP_ITEM_CLICK=n.TOGGLE_GROUP_ITEM_CLICK;exports.TOGGLE_GROUP_ITEM_DESELECT=n.TOGGLE_GROUP_ITEM_DESELECT;exports.TOGGLE_GROUP_ITEM_SELECT=n.TOGGLE_GROUP_ITEM_SELECT;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.addMonths=n.addMonths;exports.formatISODate=n.formatISODate;exports.getBadgeVariantClass=n.getBadgeVariantClass;exports.parseISODate=n.parseISODate;exports.resolveFileIcon=n.resolveFileIcon;exports.startOfToday=n.startOfToday;exports.toast=n.toast;
|
|
@@ -12,7 +12,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
13
|
*/const u2=globalThis,M3=l=>l,B2=u2.trustedTypes,w3=B2?B2.createPolicy("lit-html",{createHTML:l=>l}):void 0,Z3="$lit$",v1=`lit$${Math.random().toFixed(9).slice(2)}$`,k3="?"+v1,C7=`<${k3}>`,x1=document,p2=()=>x1.createComment(""),h2=l=>l===null||typeof l!="object"&&typeof l!="function",M5=Array.isArray,u7=l=>M5(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",w5=`[
|
|
14
14
|
\f\r]`,g2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R3=/-->/g,E3=/>/g,M1=RegExp(`>|${w5}(?:([^\\s"'>=/]+)(${w5}*=${w5}*(?:[^
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),$3=/'/g,
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),$3=/'/g,z3=/"/g,A3=/^(?:script|style|textarea|title)$/i,S3=l=>(e,...t)=>({_$litType$:l,strings:e,values:t}),s=S3(1),P2=S3(2),w1=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),D3=new WeakMap,Z1=x1.createTreeWalker(x1,129);function B3(l,e){if(!M5(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return w3!==void 0?w3.createHTML(e):e}const p7=(l,e)=>{const t=l.length-1,o=[];let i,n=e===2?"<svg>":e===3?"<math>":"",r=g2;for(let d=0;d<t;d++){const C=l[d];let u,p,v=-1,H=0;for(;H<C.length&&(r.lastIndex=H,p=r.exec(C),p!==null);)H=r.lastIndex,r===g2?p[1]==="!--"?r=R3:p[1]!==void 0?r=E3:p[2]!==void 0?(A3.test(p[2])&&(i=RegExp("</"+p[2],"g")),r=M1):p[3]!==void 0&&(r=M1):r===M1?p[0]===">"?(r=i??g2,v=-1):p[1]===void 0?v=-2:(v=r.lastIndex-p[2].length,u=p[1],r=p[3]===void 0?M1:p[3]==='"'?z3:$3):r===z3||r===$3?r=M1:r===R3||r===E3?r=g2:(r=M1,i=void 0);const b=r===M1&&l[d+1].startsWith("/>")?" ":"";n+=r===g2?C+C7:v>=0?(o.push(u),C.slice(0,v)+Z3+C.slice(v)+v1+b):C+v1+(v===-2?d:b)}return[B3(l,n+(l[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]};class f2{constructor({strings:e,_$litType$:t},o){let i;this.parts=[];let n=0,r=0;const d=e.length-1,C=this.parts,[u,p]=p7(e,t);if(this.el=f2.createElement(u,o),Z1.currentNode=this.el.content,t===2||t===3){const v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(i=Z1.nextNode())!==null&&C.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(const v of i.getAttributeNames())if(v.endsWith(Z3)){const H=p[r++],b=i.getAttribute(v).split(v1),x=/([.?@])?(.*)/.exec(H);C.push({type:1,index:n,name:x[2],strings:b,ctor:x[1]==="."?g7:x[1]==="?"?f7:x[1]==="@"?v7:O2}),i.removeAttribute(v)}else v.startsWith(v1)&&(C.push({type:6,index:n}),i.removeAttribute(v));if(A3.test(i.tagName)){const v=i.textContent.split(v1),H=v.length-1;if(H>0){i.textContent=B2?B2.emptyScript:"";for(let b=0;b<H;b++)i.append(v[b],p2()),Z1.nextNode(),C.push({type:2,index:++n});i.append(v[H],p2())}}}else if(i.nodeType===8)if(i.data===k3)C.push({type:2,index:n});else{let v=-1;for(;(v=i.data.indexOf(v1,v+1))!==-1;)C.push({type:7,index:n}),v+=v1.length-1}n++}}static createElement(e,t){const o=x1.createElement("template");return o.innerHTML=e,o}}function U1(l,e,t=l,o){var r,d;if(e===w1)return e;let i=o!==void 0?(r=t._$Co)==null?void 0:r[o]:t._$Cl;const n=h2(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((d=i==null?void 0:i._$AO)==null||d.call(i,!1),n===void 0?i=void 0:(i=new n(l),i._$AT(l,t,o)),o!==void 0?(t._$Co??(t._$Co=[]))[o]=i:t._$Cl=i),i!==void 0&&(e=U1(l,i._$AS(l,e.values),i,o)),e}class h7{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:o}=this._$AD,i=((e==null?void 0:e.creationScope)??x1).importNode(t,!0);Z1.currentNode=i;let n=Z1.nextNode(),r=0,d=0,C=o[0];for(;C!==void 0;){if(r===C.index){let u;C.type===2?u=new v2(n,n.nextSibling,this,e):C.type===1?u=new C.ctor(n,C.name,C.strings,this,e):C.type===6&&(u=new m7(n,this,e)),this._$AV.push(u),C=o[++d]}r!==(C==null?void 0:C.index)&&(n=Z1.nextNode(),r++)}return Z1.currentNode=x1,i}p(e){let t=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,t),t+=o.strings.length-2):o._$AI(e[t])),t++}}class v2{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,t,o,i){this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=o,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=U1(this,e,t),h2(e)?e===h||e==null||e===""?(this._$AH!==h&&this._$AR(),this._$AH=h):e!==this._$AH&&e!==w1&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):u7(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==h&&h2(this._$AH)?this._$AA.nextSibling.data=e:this.T(x1.createTextNode(e)),this._$AH=e}$(e){var n;const{values:t,_$litType$:o}=e,i=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=f2.createElement(B3(o.h,o.h[0]),this.options)),o);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(t);else{const r=new h7(i,this),d=r.u(this.options);r.p(t),this.T(d),this._$AH=r}}_$AC(e){let t=D3.get(e.strings);return t===void 0&&D3.set(e.strings,t=new f2(e)),t}k(e){M5(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let o,i=0;for(const n of e)i===t.length?t.push(o=new v2(this.O(p2()),this.O(p2()),this,this.options)):o=t[i],o._$AI(n),i++;i<t.length&&(this._$AR(o&&o._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var o;for((o=this._$AP)==null?void 0:o.call(this,!1,!0,t);e!==this._$AB;){const i=M3(e).nextSibling;M3(e).remove(),e=i}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class O2{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,o,i,n){this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=h}_$AI(e,t=this,o,i){const n=this.strings;let r=!1;if(n===void 0)e=U1(this,e,t,0),r=!h2(e)||e!==this._$AH&&e!==w1,r&&(this._$AH=e);else{const d=e;let C,u;for(e=n[0],C=0;C<n.length-1;C++)u=U1(this,d[o+C],t,C),u===w1&&(u=this._$AH[C]),r||(r=!h2(u)||u!==this._$AH[C]),u===h?e=h:e!==h&&(e+=(u??"")+n[C+1]),this._$AH[C]=u}r&&!i&&this.j(e)}j(e){e===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class g7 extends O2{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===h?void 0:e}}class f7 extends O2{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==h)}}class v7 extends O2{constructor(e,t,o,i,n){super(e,t,o,i,n),this.type=5}_$AI(e,t=this){if((e=U1(this,e,t,0)??h)===w1)return;const o=this._$AH,i=e===h&&o!==h||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,n=e!==h&&(o===h||i);i&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t;typeof this._$AH=="function"?this._$AH.call(((t=this.options)==null?void 0:t.host)??this.element,e):this._$AH.handleEvent(e)}}class m7{constructor(e,t,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){U1(this,e)}}const Z5=u2.litHtmlPolyfillSupport;Z5==null||Z5(f2,v2),(u2.litHtmlVersions??(u2.litHtmlVersions=[])).push("3.3.2");const b7=(l,e,t)=>{const o=(t==null?void 0:t.renderBefore)??e;let i=o._$litPart$;if(i===void 0){const n=(t==null?void 0:t.renderBefore)??null;o._$litPart$=i=new v2(e.insertBefore(p2(),n),n,void 0,t??{})}return i._$AI(l),i};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -32,7 +32,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright 2017 Google LLC
|
|
34
34
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
-
*/function
|
|
35
|
+
*/function A(l,e){return(t,o,i)=>{const n=r=>{var d;return((d=r.renderRoot)==null?void 0:d.querySelector(l))??null};return _7(t,o,{get(){return n(this)}})}}var L7=Object.defineProperty,P3=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&L7(e,t,i),i};const J5=class J5 extends g{constructor(){super(...arguments),this.size="medium",this.percent=""}getSizeParams(e){switch(e){case"small":return[16,2];case"medium":return[24,2];case"large":return[32,3];case"extraLarge":return[48,4];default:return[24,2]}}render(){const[e,t]=this.getSizeParams(this.size),o=this.percent===""||this.percent===null;let i;o?i=.75*Math.PI*e:i=(1-Math.max(0,Math.min(1,parseFloat(this.percent)||0)))*Math.PI*e;const n=t/2,r=t+e,d=e/2,C=Math.PI*e;return P2`
|
|
36
36
|
<svg
|
|
37
37
|
class=${o?"spinner":""}
|
|
38
38
|
width="${e}px"
|
|
@@ -298,7 +298,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
298
298
|
.button--icon-only.button--small { width: 24px; min-width: 24px; padding-left: 0; padding-right: 0; }
|
|
299
299
|
.button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
|
|
300
300
|
.button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
|
|
301
|
-
`;let R=o4;P([y()],R.prototype,"iconOnly"),P([a({converter:l=>l||"filled"})],R.prototype,"appearance"),P([a()],R.prototype,"variant"),P([a()],R.prototype,"size"),P([a({type:Boolean})],R.prototype,"disabled"),P([a({type:Boolean})],R.prototype,"loading"),P([a({type:Boolean,attribute:"full-width",reflect:!0})],R.prototype,"fullWidth"),P([a({type:Boolean})],R.prototype,"pill"),P([a({type:Boolean})],R.prototype,"selected"),P([a()],R.prototype,"href"),P([a({type:Boolean,attribute:"open-new-tab"})],R.prototype,"openNewTab"),P([a()],R.prototype,"download"),P([a({attribute:"start-icon"})],R.prototype,"startIcon"),P([a({attribute:"end-icon"})],R.prototype,"endIcon"),P([a()],R.prototype,"label"),customElements.get("anduin-button")||customElements.define("anduin-button",R);var $7=Object.defineProperty,
|
|
301
|
+
`;let R=o4;P([y()],R.prototype,"iconOnly"),P([a({converter:l=>l||"filled"})],R.prototype,"appearance"),P([a()],R.prototype,"variant"),P([a()],R.prototype,"size"),P([a({type:Boolean})],R.prototype,"disabled"),P([a({type:Boolean})],R.prototype,"loading"),P([a({type:Boolean,attribute:"full-width",reflect:!0})],R.prototype,"fullWidth"),P([a({type:Boolean})],R.prototype,"pill"),P([a({type:Boolean})],R.prototype,"selected"),P([a()],R.prototype,"href"),P([a({type:Boolean,attribute:"open-new-tab"})],R.prototype,"openNewTab"),P([a()],R.prototype,"download"),P([a({attribute:"start-icon"})],R.prototype,"startIcon"),P([a({attribute:"end-icon"})],R.prototype,"endIcon"),P([a()],R.prototype,"label"),customElements.get("anduin-button")||customElements.define("anduin-button",R);var $7=Object.defineProperty,z7=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&$7(e,t,i),i};const n4=class n4 extends g{constructor(){super(...arguments),this.variant="gray"}render(){return s`
|
|
302
302
|
<div class="callout callout--${this.variant}" part="callout">
|
|
303
303
|
<slot name="icon"></slot>
|
|
304
304
|
<div><slot></slot></div>
|
|
@@ -314,7 +314,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
314
314
|
.callout--success { background-color: var(--color-semantic-success-4); color: var(--color-semantic-gray-0); }
|
|
315
315
|
.callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
|
|
316
316
|
.callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
|
|
317
|
-
`;let b2=n4;
|
|
317
|
+
`;let b2=n4;z7([a()],b2.prototype,"variant"),customElements.get("anduin-callout")||customElements.define("anduin-callout",b2);var A7=Object.defineProperty,G3=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&A7(e,t,i),i};const l4=class l4 extends g{constructor(){super(...arguments),this.direction="horizontal",this.hasContent=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator"),this.setAttribute("aria-orientation",this.direction==="vertical"?"vertical":"horizontal")}updated(e){e.has("direction")&&this.setAttribute("aria-orientation",this.direction==="vertical"?"vertical":"horizontal")}onSlotChange(e){const o=e.target.assignedNodes({flatten:!0});this.hasContent=o.some(i=>{var n;return((n=i.textContent)==null?void 0:n.trim())!==""})}render(){return this.direction==="vertical"?this.hasContent?s`
|
|
318
318
|
<div class="divider--vertical">
|
|
319
319
|
<div class="divider__line--vertical"></div>
|
|
320
320
|
<div><slot @slotchange=${this.onSlotChange}></slot></div>
|
|
@@ -395,7 +395,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
395
395
|
.loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
|
|
396
396
|
.loading-state__indicator { color: var(--color-primary-4); }
|
|
397
397
|
.loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-gray-6); }
|
|
398
|
-
`;let y2=d4;T7([a()],y2.prototype,"height"),customElements.get("anduin-loading-state")||customElements.define("anduin-loading-state",y2);var I7=Object.defineProperty,$5=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&I7(e,t,i),i};const
|
|
398
|
+
`;let y2=d4;T7([a()],y2.prototype,"height"),customElements.get("anduin-loading-state")||customElements.define("anduin-loading-state",y2);var I7=Object.defineProperty,$5=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&I7(e,t,i),i};const z5="anduin-field:label-click",r1="anduin-field:label-click-coordinated",c4=class c4 extends g{constructor(){super(...arguments),this.orientation="vertical"}connectedCallback(){super.connectedCallback(),this.addEventListener(z5,e=>{const t=e;this.dispatchEvent(new CustomEvent(r1,{detail:t.detail,bubbles:!1,composed:!1}))})}render(){const e=this.orientation==="horizontal";return s`
|
|
399
399
|
<div class="field ${e?"field--horizontal":"field--vertical"}" part="field">
|
|
400
400
|
<slot></slot>
|
|
401
401
|
</div>
|
|
@@ -404,7 +404,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
404
404
|
.field { display: flex; flex-wrap: wrap; }
|
|
405
405
|
.field--vertical { flex-direction: column; row-gap: 4px; }
|
|
406
406
|
.field--horizontal { column-gap: 4px; }
|
|
407
|
-
`;let _2=c4;$5([a()],_2.prototype,"orientation");const C4=class C4 extends g{constructor(){super(...arguments),this.htmlfor="",this.required=!1}connectedCallback(){super.connectedCallback()}onLabelClick(e){this.htmlfor&&(e.preventDefault(),this.dispatchEvent(new CustomEvent(
|
|
407
|
+
`;let _2=c4;$5([a()],_2.prototype,"orientation");const C4=class C4 extends g{constructor(){super(...arguments),this.htmlfor="",this.required=!1}connectedCallback(){super.connectedCallback()}onLabelClick(e){this.htmlfor&&(e.preventDefault(),this.dispatchEvent(new CustomEvent(z5,{detail:this.htmlfor,bubbles:!0,composed:!0})))}render(){return s`
|
|
408
408
|
<label
|
|
409
409
|
class="field-label"
|
|
410
410
|
part="label"
|
|
@@ -484,7 +484,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
484
484
|
.checkbox__box--unchecked:active { background-color: var(--color-gray-2); }
|
|
485
485
|
.checkbox__icon { position: absolute; inset: 0; pointer-events: none; color: var(--color-gray-4); display: flex; align-items: center; justify-content: center; }
|
|
486
486
|
.checkbox__icon--visible { color: var(--color-gray-0); }
|
|
487
|
-
`;let a1=g4;L2([a({type:Boolean})],a1.prototype,"checked"),L2([a({type:Boolean})],a1.prototype,"disabled"),L2([a({type:Boolean})],a1.prototype,"indeterminate"),L2([a({type:Boolean})],a1.prototype,"readonly"),L2([a()],a1.prototype,"inputid"),customElements.get("anduin-checkbox")||customElements.define("anduin-checkbox",a1);var N7=Object.defineProperty,K=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&N7(e,t,i),i};const
|
|
487
|
+
`;let a1=g4;L2([a({type:Boolean})],a1.prototype,"checked"),L2([a({type:Boolean})],a1.prototype,"disabled"),L2([a({type:Boolean})],a1.prototype,"indeterminate"),L2([a({type:Boolean})],a1.prototype,"readonly"),L2([a()],a1.prototype,"inputid"),customElements.get("anduin-checkbox")||customElements.define("anduin-checkbox",a1);var N7=Object.defineProperty,K=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&N7(e,t,i),i};const A5="anduin-input:change",K3="anduin-input:clear",f4=class f4 extends g{constructor(){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}connectedCallback(){super.connectedCallback();const e=this.closest("anduin-field");e&&e.addEventListener(r1,t=>{var i;const o=t;this.inputid&&this.inputid===o.detail&&((i=this.inputEl)==null||i.focus())})}updated(){this.inputEl&&this.inputEl.value!==this.value&&(this.inputEl.value=this.value)}onInput(){this.value=this.inputEl.value,this.dispatchEvent(new CustomEvent(A5,{detail:this.value,bubbles:!0,composed:!0}))}onClear(){var e;this.value="",this.inputEl&&(this.inputEl.value=""),this.dispatchEvent(new CustomEvent(A5,{detail:"",bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(K3,{bubbles:!0,composed:!0})),(e=this.inputEl)==null||e.focus()}render(){const e=this.size==="small"?"input--small":this.size==="large"?"input--large":"input--default",t=this.status?`input--${this.status}`:"",o=!!this.startIcon,i=!!this.endIcon||this.clearable&&!!this.value,n=this.clearable&&!!this.value&&!this.disabled&&!this.readonly,r=this.size==="small"?"12":this.size==="large"?"20":"16",d=this.size==="small"?"10":this.size==="large"?"16":"14";return s`
|
|
488
488
|
<div class="input-wrapper">
|
|
489
489
|
${o?s`
|
|
490
490
|
<span class="input__start">
|
|
@@ -574,7 +574,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
574
574
|
line-height: 0;
|
|
575
575
|
}
|
|
576
576
|
.input__clear:hover { color: var(--color-gray-7); }
|
|
577
|
-
`;let O=f4;K([a()],O.prototype,"value"),K([a()],O.prototype,"size"),K([a({type:Boolean})],O.prototype,"disabled"),K([a({type:Boolean})],O.prototype,"readonly"),K([a()],O.prototype,"placeholder"),K([a()],O.prototype,"inputid"),K([a()],O.prototype,"status"),K([a({attribute:"start-icon"})],O.prototype,"startIcon"),K([a({attribute:"end-icon"})],O.prototype,"endIcon"),K([a({type:Boolean})],O.prototype,"clearable"),K([
|
|
577
|
+
`;let O=f4;K([a()],O.prototype,"value"),K([a()],O.prototype,"size"),K([a({type:Boolean})],O.prototype,"disabled"),K([a({type:Boolean})],O.prototype,"readonly"),K([a()],O.prototype,"placeholder"),K([a()],O.prototype,"inputid"),K([a()],O.prototype,"status"),K([a({attribute:"start-icon"})],O.prototype,"startIcon"),K([a({attribute:"end-icon"})],O.prototype,"endIcon"),K([a({type:Boolean})],O.prototype,"clearable"),K([A("input")],O.prototype,"inputEl"),customElements.get("anduin-input")||customElements.define("anduin-input",O);var G7=Object.defineProperty,m1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&G7(e,t,i),i};const W3="anduin-textarea:change",v4=class v4 extends g{constructor(){super(...arguments),this.value="",this.disabled=!1,this.readonly=!1,this.placeholder="",this.inputid="",this.rows=3,this.status=""}connectedCallback(){super.connectedCallback();const e=this.closest("anduin-field");e&&e.addEventListener(r1,t=>{var i;const o=t;this.inputid&&this.inputid===o.detail&&((i=this.textareaEl)==null||i.focus())})}updated(){this.textareaEl&&this.textareaEl.value!==this.value&&(this.textareaEl.value=this.value)}onInput(){this.value=this.textareaEl.value,this.dispatchEvent(new CustomEvent(W3,{detail:this.value,bubbles:!0,composed:!0}))}render(){const e=this.status?`textarea--${this.status}`:"";return s`
|
|
578
578
|
<textarea
|
|
579
579
|
class="textarea
|
|
580
580
|
${this.disabled?"textarea--disabled":""}
|
|
@@ -604,7 +604,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
604
604
|
.textarea--invalid { border-color: var(--color-danger-4); }
|
|
605
605
|
.textarea--warning { border-color: var(--color-warning-4); }
|
|
606
606
|
.textarea--loading { border-color: var(--color-gray-4); }
|
|
607
|
-
`;let U=v4;m1([a()],U.prototype,"value"),m1([a({type:Boolean})],U.prototype,"disabled"),m1([a({type:Boolean})],U.prototype,"readonly"),m1([a()],U.prototype,"placeholder"),m1([a()],U.prototype,"inputid"),m1([a({type:Number})],U.prototype,"rows"),m1([a()],U.prototype,"status"),m1([
|
|
607
|
+
`;let U=v4;m1([a()],U.prototype,"value"),m1([a({type:Boolean})],U.prototype,"disabled"),m1([a({type:Boolean})],U.prototype,"readonly"),m1([a()],U.prototype,"placeholder"),m1([a()],U.prototype,"inputid"),m1([a({type:Number})],U.prototype,"rows"),m1([a()],U.prototype,"status"),m1([A("textarea")],U.prototype,"textareaEl"),customElements.get("anduin-textarea")||customElements.define("anduin-textarea",U);var U7=Object.defineProperty,G=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&U7(e,t,i),i};const S5="anduin-tab:trigger-click",V2="anduin-tab:value-changed",Y3="anduin-tab:change",m4=class m4 extends g{constructor(){super(...arguments),this.defaultValue="",this.value="",this.fill=!1}connectedCallback(){super.connectedCallback(),this.addEventListener(S5,e=>{e.stopPropagation();const t=e;this.value=t.detail,this.broadcastValueChanged(t.detail),this.dispatchEvent(new CustomEvent(Y3,{detail:t.detail,bubbles:!0,composed:!0}))}),requestAnimationFrame(()=>{const e=this.value||this.defaultValue;e&&(this.value||(this.value=e),this.broadcastValueChanged(e))})}updated(e){if(e.has("value")||e.has("defaultValue")){const t=this.value||this.defaultValue;t&&this.broadcastValueChanged(t)}}broadcastValueChanged(e){this.dispatchEvent(new CustomEvent(V2,{detail:e,bubbles:!1,composed:!1}))}render(){return s`<div class="tabs" part="tabs"><slot></slot></div>`}};m4.styles=f`
|
|
608
608
|
:host { display: flex; flex-direction: column; font-family: var(--font-sans); }
|
|
609
609
|
:host([fill]) { flex: 1; min-height: 0; --_tab-fill-flex: 1; --_tab-fill-height: 100%; }
|
|
610
610
|
.tabs { display: flex; flex-direction: column; width: 100%; }
|
|
@@ -630,7 +630,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
630
630
|
position: absolute; bottom: 0; background-color: var(--color-primary-4);
|
|
631
631
|
left: 0; height: 2px; transition-duration: 200ms; transition-property: transform, width;
|
|
632
632
|
}
|
|
633
|
-
`;let e2=b4;G([a()],e2.prototype,"alignment"),G([
|
|
633
|
+
`;let e2=b4;G([a()],e2.prototype,"alignment"),G([A(".tabs-list__indicator")],e2.prototype,"indicator");const H4=class H4 extends g{constructor(){super(...arguments),this.value="",this.startIcon="",this.disabled=!1,this.showBadge=!1,this.badgeCount="",this.isActive=!1}connectedCallback(){super.connectedCallback();const e=this.closest("anduin-tabs");e&&e.addEventListener(V2,t=>{const o=t;this.isActive=o.detail===this.value})}onClick(){this.dispatchEvent(new CustomEvent(S5,{detail:this.value,bubbles:!0,composed:!0}))}render(){return s`
|
|
634
634
|
<button
|
|
635
635
|
class="tab-trigger ${this.isActive?"tab-trigger--active":"tab-trigger--normal"}"
|
|
636
636
|
role="tab"
|
|
@@ -1042,7 +1042,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
1042
1042
|
.popover__panel--open[data-side="top"] .popover__inner {
|
|
1043
1043
|
transform: none;
|
|
1044
1044
|
}
|
|
1045
|
-
`;let q=E4;$1([a({type:Boolean,reflect:!0})],q.prototype,"open"),$1([a()],q.prototype,"placement"),$1([a({type:Boolean,attribute:"full-width",reflect:!0})],q.prototype,"fullWidth"),$1([y()],q.prototype,"_visible"),$1([y()],q.prototype,"_closing"),$1([
|
|
1045
|
+
`;let q=E4;$1([a({type:Boolean,reflect:!0})],q.prototype,"open"),$1([a()],q.prototype,"placement"),$1([a({type:Boolean,attribute:"full-width",reflect:!0})],q.prototype,"fullWidth"),$1([y()],q.prototype,"_visible"),$1([y()],q.prototype,"_closing"),$1([A(".popover__trigger")],q.prototype,"_triggerEl"),$1([A(".popover__panel")],q.prototype,"_panelEl"),customElements.get("anduin-popover")||customElements.define("anduin-popover",q);const $4=class $4 extends g{_onClick(){this.dispatchEvent(new CustomEvent(Y2,{bubbles:!0,composed:!0}))}render(){return s`<span @click=${this._onClick}><slot></slot></span>`}};$4.styles=f`:host { display: contents; }`;let X2=$4;customElements.get("anduin-popover-close")||customElements.define("anduin-popover-close",X2);var o0=Object.defineProperty,z1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&o0(e,t,i),i};const J2="anduin-menu-item:click",z4=class z4 extends g{constructor(){super(...arguments),this.open=!1,this.placement="bottom-start",this._onOutsideClick=e=>{e.composedPath().includes(this)||(this.open=!1)},this._onItemClick=()=>{this.open=!1},this._onScrollOrResize=()=>{this.open&&this._updatePosition()}}_onTriggerClick(){this.open=!this.open}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._onOutsideClick),this.addEventListener(J2,this._onItemClick),window.addEventListener("scroll",this._onScrollOrResize,{passive:!0,capture:!0}),window.addEventListener("resize",this._onScrollOrResize)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._onOutsideClick),this.removeEventListener(J2,this._onItemClick),window.removeEventListener("scroll",this._onScrollOrResize,{capture:!0}),window.removeEventListener("resize",this._onScrollOrResize)}updated(e){e.has("open")&&this.open&&requestAnimationFrame(()=>this._updatePosition())}_updatePosition(){const e=this._triggerEl,t=this._panelEl;if(!e||!t)return;const o=e.getBoundingClientRect(),i=t.style.transform;t.style.transform="none";const n=t.getBoundingClientRect();t.style.transform=i;const r=t.getBoundingClientRect(),d=4;let C=0,u=0,p="bottom";switch(this.placement){case"bottom-start":C=o.left,u=o.bottom+d,p="bottom";break;case"bottom-end":C=o.right-r.width,u=o.bottom+d,p="bottom";break;case"bottom":C=o.left+o.width/2-r.width/2,u=o.bottom+d,p="bottom";break;case"top-start":C=o.left,u=o.top-r.height-d,p="top";break;case"top-end":C=o.right-r.width,u=o.top-r.height-d,p="top";break;case"top":C=o.left+o.width/2-r.width/2,u=o.top-r.height-d,p="top";break}t.style.transform=`translate(${Math.round(C-n.left)}px, ${Math.round(u-n.top)}px)`,t.dataset.side=p}render(){return s`
|
|
1046
1046
|
<div class="menu__trigger" @click=${this._onTriggerClick} part="trigger">
|
|
1047
1047
|
<slot name="trigger"></slot>
|
|
1048
1048
|
</div>
|
|
@@ -1051,7 +1051,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
1051
1051
|
<slot></slot>
|
|
1052
1052
|
</div>
|
|
1053
1053
|
</div>
|
|
1054
|
-
`}};
|
|
1054
|
+
`}};z4.styles=f`
|
|
1055
1055
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
1056
1056
|
|
|
1057
1057
|
.menu__trigger { display: inline-block; }
|
|
@@ -1093,7 +1093,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
1093
1093
|
.menu__panel--open[data-side="top"] .menu__inner {
|
|
1094
1094
|
transform: scale(1) translateY(0);
|
|
1095
1095
|
}
|
|
1096
|
-
`;let b1=
|
|
1096
|
+
`;let b1=z4;z1([a({type:Boolean,reflect:!0})],b1.prototype,"open"),z1([a()],b1.prototype,"placement"),z1([A(".menu__trigger")],b1.prototype,"_triggerEl"),z1([A(".menu__panel")],b1.prototype,"_panelEl");const A4=class A4 extends g{constructor(){super(...arguments),this.icon="",this.variant="default",this.disabled=!1}_onClick(){this.dispatchEvent(new CustomEvent(J2,{bubbles:!0,composed:!0}))}render(){return s`
|
|
1097
1097
|
<button
|
|
1098
1098
|
class="menu-item ${this.variant==="danger"?"menu-item--danger":""}"
|
|
1099
1099
|
role="menuitem"
|
|
@@ -1104,7 +1104,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
1104
1104
|
${this.icon?s`<anduin-icon name="${this.icon}" size="16"></anduin-icon>`:h}
|
|
1105
1105
|
<span class="menu-item__label"><slot></slot></span>
|
|
1106
1106
|
</button>
|
|
1107
|
-
`}};
|
|
1107
|
+
`}};A4.styles=f`
|
|
1108
1108
|
:host { display: block; width: 100%; font-family: var(--font-sans); }
|
|
1109
1109
|
.menu-item {
|
|
1110
1110
|
display: flex;
|
|
@@ -1133,7 +1133,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
1133
1133
|
.menu-item__label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1134
1134
|
anduin-icon { color: var(--color-gray-7); }
|
|
1135
1135
|
.menu-item--danger anduin-icon { color: var(--color-danger-4); }
|
|
1136
|
-
`;let
|
|
1136
|
+
`;let A1=A4;z1([a()],A1.prototype,"icon"),z1([a()],A1.prototype,"variant"),z1([a({type:Boolean})],A1.prototype,"disabled"),customElements.get("anduin-menu")||customElements.define("anduin-menu",b1),customElements.get("anduin-menu-item")||customElements.define("anduin-menu-item",A1);var n0=Object.defineProperty,S1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&n0(e,t,i),i};const o2="anduin-close",re="anduin-after-close",G5=300,U5=200,ae=250;let M2=0,se="";function l0(){typeof document>"u"||(M2===0&&(se=document.body.style.overflow,document.body.style.overflow="hidden"),M2++)}function de(){typeof document>"u"||M2!==0&&(M2--,M2===0&&(document.body.style.overflow=se))}const H1=(V1=class extends g{constructor(){super(...arguments),this.open=!1,this.heading="",this.hideHeader=!1,this.hideFooter=!1,this.maxWidth="480",this.fullscreen=!1,this._leaving=!1,this._holdsScrollLock=!1,this.onAnduinClose=e=>{e.target!==this&&e.stopPropagation()}}updated(e){if(e.has("maxWidth")){const t=this.maxWidth,o=V1._PRESETS.has(t)?`${t}px`:t;this.style.setProperty("--_modal-width",o)}e.has("open")&&(this.open?(this._leaving=!1,this.classList.add("is-shown"),this._holdsScrollLock||(this._holdsScrollLock=!0,l0())):this.classList.contains("is-shown")&&(this._leaving=!0,setTimeout(()=>{this._leaving=!1,this.classList.remove("is-shown"),this._holdsScrollLock&&(this._holdsScrollLock=!1,de()),this.dispatchEvent(new CustomEvent(re,{bubbles:!0,composed:!0}))},Math.max(U5,ae))))}dispatch(e){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0}))}onOverlayClick(){this.dispatch(o2)}onClose(){this.dispatch(o2)}connectedCallback(){super.connectedCallback(),this.addEventListener(o2,this.onAnduinClose)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(o2,this.onAnduinClose),this._holdsScrollLock&&(this._holdsScrollLock=!1,de())}render(){const e=this._leaving,t=this.fullscreen;return s`
|
|
1137
1137
|
<div
|
|
1138
1138
|
class=${`overlay${e?" is-leaving":""}`}
|
|
1139
1139
|
@click=${this.onOverlayClick}
|
|
@@ -1459,7 +1459,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
1459
1459
|
}
|
|
1460
1460
|
.group--vertical { flex-direction: column; }
|
|
1461
1461
|
.group--horizontal { flex-direction: row; flex-wrap: wrap; align-items: center; }
|
|
1462
|
-
`;let D1=D4;s1([a()],D1.prototype,"value"),s1([a()],D1.prototype,"name"),s1([a()],D1.prototype,"orientation"),customElements.get("anduin-radio-group")||customElements.define("anduin-radio-group",D1);var a0=Object.defineProperty,B1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&a0(e,t,i),i};const pe=[{bg:"#6172F3",text:"#ffffff"},{bg:"#B692F6",text:"#ffffff"},{bg:"#F670C7",text:"#ffffff"},{bg:"#F79009",text:"#ffffff"},{bg:"#32D583",text:"#ffffff"},{bg:"#36BFFA",text:"#ffffff"},{bg:"#F97066",text:"#ffffff"},{bg:"#7A5AF8",text:"#ffffff"}];function s0(l){let e=0;for(let t=0;t<l.length;t++)e=e*31+l.charCodeAt(t)>>>0;return pe[e%pe.length]}function d0(l){var
|
|
1462
|
+
`;let D1=D4;s1([a()],D1.prototype,"value"),s1([a()],D1.prototype,"name"),s1([a()],D1.prototype,"orientation"),customElements.get("anduin-radio-group")||customElements.define("anduin-radio-group",D1);var a0=Object.defineProperty,B1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&a0(e,t,i),i};const pe=[{bg:"#6172F3",text:"#ffffff"},{bg:"#B692F6",text:"#ffffff"},{bg:"#F670C7",text:"#ffffff"},{bg:"#F79009",text:"#ffffff"},{bg:"#32D583",text:"#ffffff"},{bg:"#36BFFA",text:"#ffffff"},{bg:"#F97066",text:"#ffffff"},{bg:"#7A5AF8",text:"#ffffff"}];function s0(l){let e=0;for(let t=0;t<l.length;t++)e=e*31+l.charCodeAt(t)>>>0;return pe[e%pe.length]}function d0(l,e=2){var i;const t=l.trim().split(/\s+/),o=((i=t[0])==null?void 0:i[0])??"";return e<2||t.length===1?o.toUpperCase():(o+(t[t.length-1][0]??"")).toUpperCase()}const B4=class B4 extends g{constructor(){super(...arguments),this.src="",this.name="",this.alt="",this.icon="",this.size=32,this.shape="circle",this._imgError=!1}_onImgError(){this._imgError=!0}_iconSize(){return this.size<=16?10:this.size<=20?12:this.size<=24?14:18}render(){const e=!!this.src&&!this._imgError,t=this.name||this.icon?s0(this.name||this.icon):{bg:"#F2F4F7",text:"#667085"},o=this.name?d0(this.name,this.size<=20?1:2):"";return s`
|
|
1463
1463
|
<div
|
|
1464
1464
|
class="avatar avatar--${this.shape} avatar--${this.size}"
|
|
1465
1465
|
style=${e?"":`background:${t.bg}`}
|
|
@@ -1830,7 +1830,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
1830
1830
|
.toast__close:active {
|
|
1831
1831
|
background: var(--color-gray-3, #d0d5dd);
|
|
1832
1832
|
}
|
|
1833
|
-
`;let d1=O4;P1([a()],d1.prototype,"variant"),P1([a()],d1.prototype,"heading"),P1([a()],d1.prototype,"description"),P1([y()],d1.prototype,"_dismissing"),P1([
|
|
1833
|
+
`;let d1=O4;P1([a()],d1.prototype,"variant"),P1([a()],d1.prototype,"heading"),P1([a()],d1.prototype,"description"),P1([y()],d1.prototype,"_dismissing"),P1([A(".toast")],d1.prototype,"_toastEl"),customElements.get("anduin-toast")||customElements.define("anduin-toast",d1);const T4=class T4 extends g{constructor(){super(...arguments),this.position="bottom-left",this._toasts=[],this._nextId=0}show(e){const t=this._nextId++,o=e.position??this.position;this._toasts=[...this._toasts,{id:t,opts:{...e,position:o}}];const i=e.duration??4e3;return i>0&&setTimeout(()=>this._dismissById(t),i),t}dismiss(e){this._dismissById(e)}_dismissById(e){var o;const t=(o=this.shadowRoot)==null?void 0:o.querySelector(`anduin-toast[data-id="${e}"]`);t?t.dismiss():this._removeById(e)}_removeById(e){this._toasts=this._toasts.filter(t=>t.id!==e)}_onDismiss(e,t){e.stopPropagation(),this._removeById(t)}render(){return s`
|
|
1834
1834
|
<div class="toaster toaster--${this.position}" part="toaster">
|
|
1835
1835
|
${this._toasts.map(({id:e,opts:t})=>s`
|
|
1836
1836
|
<anduin-toast
|
|
@@ -2197,7 +2197,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
2197
2197
|
color: var(--color-gray-5, #98a1b2);
|
|
2198
2198
|
text-align: center;
|
|
2199
2199
|
}
|
|
2200
|
-
`;let k=F4;D([a()],k.prototype,"value"),D([a()],k.prototype,"placeholder"),D([a({attribute:!1})],k.prototype,"options"),D([a()],k.prototype,"icon"),D([a({type:Boolean})],k.prototype,"searchable"),D([a({type:Boolean})],k.prototype,"disabled"),D([a()],k.prototype,"placement"),D([a()],k.prototype,"appearance"),D([a()],k.prototype,"variant"),D([a()],k.prototype,"size"),D([a({type:Boolean,attribute:"full-width",reflect:!0})],k.prototype,"fullWidth"),D([y()],k.prototype,"_open"),D([y()],k.prototype,"_query"),D([
|
|
2200
|
+
`;let k=F4;D([a()],k.prototype,"value"),D([a()],k.prototype,"placeholder"),D([a({attribute:!1})],k.prototype,"options"),D([a()],k.prototype,"icon"),D([a({type:Boolean})],k.prototype,"searchable"),D([a({type:Boolean})],k.prototype,"disabled"),D([a()],k.prototype,"placement"),D([a()],k.prototype,"appearance"),D([a()],k.prototype,"variant"),D([a()],k.prototype,"size"),D([a({type:Boolean,attribute:"full-width",reflect:!0})],k.prototype,"fullWidth"),D([y()],k.prototype,"_open"),D([y()],k.prototype,"_query"),D([A(".trigger")],k.prototype,"_triggerEl"),D([A(".panel")],k.prototype,"_panelEl"),D([A("anduin-input")],k.prototype,"_searchEl"),customElements.get("anduin-dropdown")||customElements.define("anduin-dropdown",k);var _0=Object.defineProperty,y1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&_0(e,t,i),i};const e5="anduin-close",He="anduin-after-close",L0=300,ye=250,V0=new Map([["320",320],["360",360],["400",400],["640",640]]),N4=class N4 extends g{constructor(){super(...arguments),this.open=!1,this.heading="",this.hideHeader=!1,this.hideFooter=!1,this.defaultWidth="320",this.allowInteractOutside=!1,this._leaving=!1,this._width=320,this._resizing=!1,this._startX=0,this._startWidth=0,this._onResizeStart=e=>{this._resizing=!0,this._startX=e.clientX,this._startWidth=this._width,e.currentTarget.setPointerCapture(e.pointerId),e.preventDefault()},this._onResizeMove=e=>{var n;if(!this._resizing)return;const t=this._startX-e.clientX,o=Math.max(200,Math.min(window.innerWidth*.9,this._startWidth+t));this._width=Math.round(o);const i=(n=this.shadowRoot)==null?void 0:n.querySelector(".drawer");i&&(i.style.width=`${this._width}px`)},this._onResizeEnd=()=>{this._resizing=!1}}willUpdate(e){e.has("defaultWidth")&&(this._width=V0.get(this.defaultWidth)??(parseInt(this.defaultWidth)||320))}updated(e){e.has("open")&&(this.open?(this._leaving=!1,this.classList.add("is-shown")):this.classList.contains("is-shown")&&(this._leaving=!0,setTimeout(()=>{this._leaving=!1,this.classList.remove("is-shown"),this.dispatchEvent(new CustomEvent(He,{bubbles:!0,composed:!0}))},ye)))}_dispatch(e){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0}))}_onClose(){this._dispatch(e5)}_onBackdropClick(){this._dispatch(e5)}render(){const e=this._leaving;return s`
|
|
2201
2201
|
${this.allowInteractOutside?h:s`<div class="backdrop" @click=${this._onBackdropClick}></div>`}
|
|
2202
2202
|
<div
|
|
2203
2203
|
class=${`drawer${e?" is-leaving":""}`}
|
|
@@ -2523,7 +2523,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
2523
2523
|
color: var(--color-gray-5, #98a1b2);
|
|
2524
2524
|
text-align: center;
|
|
2525
2525
|
}
|
|
2526
|
-
`;let M=G4;E([a()],M.prototype,"value"),E([a()],M.prototype,"size"),E([a({type:Boolean})],M.prototype,"disabled"),E([a({type:Boolean})],M.prototype,"readonly"),E([a()],M.prototype,"placeholder"),E([a()],M.prototype,"inputid"),E([a()],M.prototype,"status"),E([a({attribute:"start-icon"})],M.prototype,"startIcon"),E([a({attribute:"end-icon"})],M.prototype,"endIcon"),E([a({type:Boolean})],M.prototype,"clearable"),E([a({attribute:!1})],M.prototype,"suggestions"),E([a({type:Boolean})],M.prototype,"filter"),E([a({type:Boolean,attribute:"hide-when-empty"})],M.prototype,"hideWhenEmpty"),E([a({attribute:"empty-text"})],M.prototype,"emptyText"),E([y()],M.prototype,"_open"),E([y()],M.prototype,"_activeIndex"),E([
|
|
2526
|
+
`;let M=G4;E([a()],M.prototype,"value"),E([a()],M.prototype,"size"),E([a({type:Boolean})],M.prototype,"disabled"),E([a({type:Boolean})],M.prototype,"readonly"),E([a()],M.prototype,"placeholder"),E([a()],M.prototype,"inputid"),E([a()],M.prototype,"status"),E([a({attribute:"start-icon"})],M.prototype,"startIcon"),E([a({attribute:"end-icon"})],M.prototype,"endIcon"),E([a({type:Boolean})],M.prototype,"clearable"),E([a({attribute:!1})],M.prototype,"suggestions"),E([a({type:Boolean})],M.prototype,"filter"),E([a({type:Boolean,attribute:"hide-when-empty"})],M.prototype,"hideWhenEmpty"),E([a({attribute:"empty-text"})],M.prototype,"emptyText"),E([y()],M.prototype,"_open"),E([y()],M.prototype,"_activeIndex"),E([A("input")],M.prototype,"_inputEl"),E([A(".panel")],M.prototype,"_panelEl"),customElements.get("anduin-suggestion")||customElements.define("anduin-suggestion",M);var M0=Object.defineProperty,J=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&M0(e,t,i),i};const xe="anduin-navigation:change",i5="anduin-navigation-item:item-click",U4=class U4 extends g{constructor(){super(...arguments),this.defaultValue="",this.value=null,this.theme="light",this.alignment="left",this.internalValue="",this.onItemClick=e=>{e.stopPropagation();const o=e.detail;o!==this.selection&&(this.dispatchEvent(new CustomEvent(xe,{detail:o,bubbles:!0,composed:!0})),this.isControlled||(this.internalValue=o))}}get isControlled(){return this.value!=null}get selection(){return this.isControlled?this.value:this.internalValue}connectedCallback(){super.connectedCallback(),this.hasUpdated||(this.internalValue=this.defaultValue),this.addEventListener(i5,this.onItemClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(i5,this.onItemClick)}updated(){this.syncItems()}get items(){return Array.from(this.querySelectorAll("anduin-navigation-item"))}syncItems(){const e=this.selection;for(const t of this.items)t.selected=t.value===e,t.theme=this.theme}render(){return s`
|
|
2527
2527
|
<div class="navigation navigation--${this.alignment}" role="navigation" part="navigation">
|
|
2528
2528
|
<slot @slotchange=${this.syncItems}></slot>
|
|
2529
2529
|
</div>
|
|
@@ -2778,7 +2778,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
2778
2778
|
flex-direction: column;
|
|
2779
2779
|
align-items: stretch;
|
|
2780
2780
|
}
|
|
2781
|
-
`;let C1=q4;a2([a({type:Number,attribute:"number-of-pages",reflect:!0})],C1.prototype,"numberOfPages"),a2([a({type:Number,attribute:"default-value"})],C1.prototype,"defaultValue"),a2([a({type:Number})],C1.prototype,"value"),a2([y()],C1.prototype,"internalValue"),a2([
|
|
2781
|
+
`;let C1=q4;a2([a({type:Number,attribute:"number-of-pages",reflect:!0})],C1.prototype,"numberOfPages"),a2([a({type:Number,attribute:"default-value"})],C1.prototype,"defaultValue"),a2([a({type:Number})],C1.prototype,"value"),a2([y()],C1.prototype,"internalValue"),a2([A(".pagination__indicator")],C1.prototype,"indicatorEl");const X4=class X4 extends g{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.label="",this.target="first",this.onClick=()=>{this.disabled||this.dispatchEvent(new CustomEvent(o5,{detail:this.target,bubbles:!0,composed:!0}))}}connectedCallback(){super.connectedCallback(),this.getAttribute("slot")||this.setAttribute("slot",this.target==="first"?"start":"end")}render(){return s`
|
|
2782
2782
|
<anduin-button
|
|
2783
2783
|
appearance="plain"
|
|
2784
2784
|
size="medium"
|
|
@@ -2987,7 +2987,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
2987
2987
|
line-height: 16px;
|
|
2988
2988
|
font-weight: 600;
|
|
2989
2989
|
}
|
|
2990
|
-
`;let d5=o3;customElements.get("anduin-timeline")||customElements.define("anduin-timeline",n5),customElements.get("anduin-timeline-item")||customElements.define("anduin-timeline-item",l5),customElements.get("anduin-timeline-date")||customElements.define("anduin-timeline-date",r5),customElements.get("anduin-timeline-title")||customElements.define("anduin-timeline-title",a5),customElements.get("anduin-timeline-group")||customElements.define("anduin-timeline-group",s5),customElements.get("anduin-timeline-label")||customElements.define("anduin-timeline-label",d5);var k0=Object.defineProperty,F1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&k0(e,t,i),i};const
|
|
2990
|
+
`;let d5=o3;customElements.get("anduin-timeline")||customElements.define("anduin-timeline",n5),customElements.get("anduin-timeline-item")||customElements.define("anduin-timeline-item",l5),customElements.get("anduin-timeline-date")||customElements.define("anduin-timeline-date",r5),customElements.get("anduin-timeline-title")||customElements.define("anduin-timeline-title",a5),customElements.get("anduin-timeline-group")||customElements.define("anduin-timeline-group",s5),customElements.get("anduin-timeline-label")||customElements.define("anduin-timeline-label",d5);var k0=Object.defineProperty,F1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&k0(e,t,i),i};const ze="anduin-sidebar:select",n3=class n3 extends g{connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","navigation")}render(){return s`<div class="sidebar" part="sidebar"><slot></slot></div>`}};n3.styles=f`
|
|
2991
2991
|
:host {
|
|
2992
2992
|
display: flex;
|
|
2993
2993
|
flex-direction: column;
|
|
@@ -3090,7 +3090,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3090
3090
|
flex-direction: column;
|
|
3091
3091
|
gap: 2px;
|
|
3092
3092
|
}
|
|
3093
|
-
`;let h5=c3;const C3=class C3 extends g{constructor(){super(...arguments),this.startIcon="",this.selected=!1,this.disabled=!1,this.href="",this.openNewTab=!1,this.onClick=e=>{if(this.disabled){e.preventDefault(),e.stopPropagation();return}this.dispatchEvent(new CustomEvent(
|
|
3093
|
+
`;let h5=c3;const C3=class C3 extends g{constructor(){super(...arguments),this.startIcon="",this.selected=!1,this.disabled=!1,this.href="",this.openNewTab=!1,this.onClick=e=>{if(this.disabled){e.preventDefault(),e.stopPropagation();return}this.dispatchEvent(new CustomEvent(ze,{detail:this,bubbles:!0,composed:!0}))}}render(){const e=["sidebar-menu-item-wrapper",this.disabled?"sidebar-menu-item-wrapper--disabled":"sidebar-menu-item-wrapper--interactive",this.selected?"sidebar-menu-item-wrapper--selected":""].filter(Boolean).join(" "),t=["sidebar-menu-item",this.disabled?"sidebar-menu-item--disabled":""].filter(Boolean).join(" "),o=s`
|
|
3094
3094
|
${this.startIcon?s`<anduin-icon class="sidebar-menu-item__icon" name="${this.startIcon}" size="16"></anduin-icon>`:h}
|
|
3095
3095
|
<span class="sidebar-menu-item__label"><slot></slot></span>
|
|
3096
3096
|
<slot name="badge" class="sidebar-menu-item__badge"></slot>
|
|
@@ -3228,7 +3228,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3228
3228
|
height: 1px;
|
|
3229
3229
|
background-color: var(--color-gray-3);
|
|
3230
3230
|
}
|
|
3231
|
-
`;let v5=h3;customElements.get("anduin-sidebar")||customElements.define("anduin-sidebar",c5),customElements.get("anduin-sidebar-content")||customElements.define("anduin-sidebar-content",C5),customElements.get("anduin-sidebar-header")||customElements.define("anduin-sidebar-header",R2),customElements.get("anduin-sidebar-footer")||customElements.define("anduin-sidebar-footer",E2),customElements.get("anduin-sidebar-group")||customElements.define("anduin-sidebar-group",u5),customElements.get("anduin-sidebar-group-label")||customElements.define("anduin-sidebar-group-label",p5),customElements.get("anduin-sidebar-menu")||customElements.define("anduin-sidebar-menu",h5),customElements.get("anduin-sidebar-menu-item")||customElements.define("anduin-sidebar-menu-item",u1),customElements.get("anduin-sidebar-action")||customElements.define("anduin-sidebar-action",g5),customElements.get("anduin-sidebar-badge")||customElements.define("anduin-sidebar-badge",f5),customElements.get("anduin-sidebar-separator")||customElements.define("anduin-sidebar-separator",v5);function S(l){if(!l)return null;const e=/^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(l.trim());if(!e)return null;const[t,o,i]=[Number(e[1]),Number(e[2]),Number(e[3])],n=new Date(t,o-1,i);return n.getFullYear()!==t||n.getMonth()!==o-1||n.getDate()!==i?null:n}function _1(l){const e=t=>String(t).padStart(2,"0");return`${l.getFullYear()}-${e(l.getMonth()+1)}-${e(l.getDate())}`}function N1(){const l=new Date;return new Date(l.getFullYear(),l.getMonth(),l.getDate())}function p1(l,e){const t=l.getFullYear(),o=l.getMonth()+e,i=new Date(t,o+1,0).getDate();return new Date(t,o,Math.min(l.getDate(),i))}function R0(l,e){return new Date(l,e+1,0).getDate()}var E0=Object.defineProperty,l1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&E0(e,t,i),i};const s2="anduin-calendar:change",m5="anduin-calendar:day-hover",
|
|
3231
|
+
`;let v5=h3;customElements.get("anduin-sidebar")||customElements.define("anduin-sidebar",c5),customElements.get("anduin-sidebar-content")||customElements.define("anduin-sidebar-content",C5),customElements.get("anduin-sidebar-header")||customElements.define("anduin-sidebar-header",R2),customElements.get("anduin-sidebar-footer")||customElements.define("anduin-sidebar-footer",E2),customElements.get("anduin-sidebar-group")||customElements.define("anduin-sidebar-group",u5),customElements.get("anduin-sidebar-group-label")||customElements.define("anduin-sidebar-group-label",p5),customElements.get("anduin-sidebar-menu")||customElements.define("anduin-sidebar-menu",h5),customElements.get("anduin-sidebar-menu-item")||customElements.define("anduin-sidebar-menu-item",u1),customElements.get("anduin-sidebar-action")||customElements.define("anduin-sidebar-action",g5),customElements.get("anduin-sidebar-badge")||customElements.define("anduin-sidebar-badge",f5),customElements.get("anduin-sidebar-separator")||customElements.define("anduin-sidebar-separator",v5);function S(l){if(!l)return null;const e=/^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(l.trim());if(!e)return null;const[t,o,i]=[Number(e[1]),Number(e[2]),Number(e[3])],n=new Date(t,o-1,i);return n.getFullYear()!==t||n.getMonth()!==o-1||n.getDate()!==i?null:n}function _1(l){const e=t=>String(t).padStart(2,"0");return`${l.getFullYear()}-${e(l.getMonth()+1)}-${e(l.getDate())}`}function N1(){const l=new Date;return new Date(l.getFullYear(),l.getMonth(),l.getDate())}function p1(l,e){const t=l.getFullYear(),o=l.getMonth()+e,i=new Date(t,o+1,0).getDate();return new Date(t,o,Math.min(l.getDate(),i))}function R0(l,e){return new Date(l,e+1,0).getDate()}var E0=Object.defineProperty,l1=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&E0(e,t,i),i};const s2="anduin-calendar:change",m5="anduin-calendar:day-hover",Ae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Se=["January","February","March","April","May","June","July","August","September","October","November","December"],$0=["Su","Mo","Tu","We","Th","Fr","Sa"],De=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function d2(l,e){return new Date(l.getFullYear(),l.getMonth(),l.getDate()+e)}function z0(l){const e=["th","st","nd","rd"],t=l%100;return`${l}${e[(t-20)%10]??e[t]??e[0]}`}const g3=class g3 extends g{constructor(){super(...arguments),this.value="",this.minDate="",this.maxDate="",this.rangeStart="",this.rangeEnd="",this.rangeMode=!1,this._viewMonth=N1().getMonth(),this._viewYear=N1().getFullYear(),this._focus="",this._openSelect=null,this._viewSeeded=!1,this._pendingFocus=!1,this._onOutsideClick=e=>{this._openSelect&&!e.composedPath().includes(this)&&(this._openSelect=null)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._onOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._onOutsideClick)}willUpdate(e){if(e.has("value")){const t=S(this.value);if(t)this._viewYear=t.getFullYear(),this._viewMonth=t.getMonth(),this._viewSeeded=!0;else if(!this._viewSeeded){const o=N1();this._viewYear=o.getFullYear(),this._viewMonth=o.getMonth()}}}updated(){var t;if(!this._pendingFocus)return;this._pendingFocus=!1;const e=(t=this.shadowRoot)==null?void 0:t.querySelector('.calendar__day-button[tabindex="0"]');e==null||e.focus()}get _min(){return S(this.minDate)}get _max(){return S(this.maxDate)}_isDisabled(e){const t=this._min,o=this._max;return!!(t&&e.getTime()<t.getTime()||o&&e.getTime()>o.getTime())}_clamp(e){const t=this._min,o=this._max;return t&&e.getTime()<t.getTime()?t:o&&e.getTime()>o.getTime()?o:e}_shiftMonth(e){const t=p1(new Date(this._viewYear,this._viewMonth,1),e);this._viewYear=t.getFullYear(),this._viewMonth=t.getMonth(),this._viewSeeded=!0}_moveFocus(e,t){const o=this._clamp(t);this._isDisabled(o)||(this._focus=_1(o),(o.getMonth()!==e.getMonth()||o.getFullYear()!==e.getFullYear())&&(this._viewYear=o.getFullYear(),this._viewMonth=o.getMonth(),this._viewSeeded=!0),this._pendingFocus=!0)}_onGridKeyDown(e){const t=S(this._focus)??this._defaultFocusDate();switch(e.key){case"ArrowLeft":this._moveFocus(t,e.shiftKey?p1(t,-1):d2(t,-1));break;case"ArrowRight":this._moveFocus(t,e.shiftKey?p1(t,1):d2(t,1));break;case"ArrowUp":this._moveFocus(t,e.shiftKey?p1(t,-12):d2(t,-7));break;case"ArrowDown":this._moveFocus(t,e.shiftKey?p1(t,12):d2(t,7));break;case"Home":this._moveFocus(t,d2(t,-t.getDay()));break;case"End":this._moveFocus(t,d2(t,6-t.getDay()));break;case"PageUp":this._moveFocus(t,p1(t,e.shiftKey?-12:-1));break;case"PageDown":this._moveFocus(t,p1(t,e.shiftKey?12:1));break;case"Enter":case" ":this._isDisabled(t)||this._pick(t);break;default:return}e.preventDefault()}_pick(e){const t=_1(e);this.value=t,this._focus=t,this.dispatchEvent(new CustomEvent(s2,{detail:t,bubbles:!0,composed:!0}))}_emitHover(e){this.dispatchEvent(new CustomEvent(m5,{detail:e,bubbles:!0,composed:!0}))}_defaultFocusDate(){const e=S(this._focus);if(e&&e.getMonth()===this._viewMonth&&e.getFullYear()===this._viewYear)return e;const t=S(this.value);if(t&&t.getMonth()===this._viewMonth&&t.getFullYear()===this._viewYear)return t;const o=N1();return o.getMonth()===this._viewMonth&&o.getFullYear()===this._viewYear?o:this._clamp(new Date(this._viewYear,this._viewMonth,1))}get _yearOptions(){const e=this._min,t=this._max,o=e?e.getFullYear():this._viewYear-10,i=t?t.getFullYear():this._viewYear+10,n=Math.min(o,this._viewYear),r=Math.max(i,this._viewYear);return Array.from({length:r-n+1},(d,C)=>n+C)}_selectMonth(e){this._viewMonth=e,this._viewSeeded=!0,this._openSelect=null}_selectYear(e){this._viewYear=e,this._viewSeeded=!0,this._openSelect=null}_renderSelect(e,t,o,i,n){const r=this._openSelect===e;return s`
|
|
3232
3232
|
<div class="calendar__select">
|
|
3233
3233
|
<anduin-button
|
|
3234
3234
|
appearance="text"
|
|
@@ -3265,7 +3265,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3265
3265
|
@click=${()=>this._shiftMonth(-1)}
|
|
3266
3266
|
></anduin-button>
|
|
3267
3267
|
<div class="calendar__header-spacer"></div>
|
|
3268
|
-
${this._renderSelect("month",
|
|
3268
|
+
${this._renderSelect("month",Ae[this._viewMonth],"Choose the month",Ae.map((L,m)=>({value:m,label:L,selected:m===this._viewMonth})),L=>this._selectMonth(L))}
|
|
3269
3269
|
${this._renderSelect("year",String(this._viewYear),"Choose the year",this._yearOptions.map(L=>({value:L,label:String(L),selected:L===this._viewYear})),L=>this._selectYear(L))}
|
|
3270
3270
|
<div class="calendar__header-spacer"></div>
|
|
3271
3271
|
<anduin-button
|
|
@@ -3297,18 +3297,18 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3297
3297
|
<tbody>
|
|
3298
3298
|
${v.map(L=>s`
|
|
3299
3299
|
<tr>
|
|
3300
|
-
${L.map(m=>{if(m===null)return s`<td class="calendar__day-cell"></td>`;const w=new Date(this._viewYear,this._viewMonth,m),Z=_1(w),B=w.getTime(),e1=this._isDisabled(w),
|
|
3300
|
+
${L.map(m=>{if(m===null)return s`<td class="calendar__day-cell"></td>`;const w=new Date(this._viewYear,this._viewMonth,m),Z=_1(w),B=w.getTime(),e1=this._isDisabled(w),A2=!!o&&B===o.getTime(),g1=!!i&&B===i.getTime(),Qe=!!o&&!!i&&B>o.getTime()&&B<i.getTime(),e7=!n&&!!t&&B===t.getTime(),F0=["calendar__day-cell",Qe?"calendar__day-cell--in-range":"",A2&&i?"calendar__day-cell--range-start":"",g1&&o?"calendar__day-cell--range-end":""].filter(Boolean).join(" "),N0=["calendar__day-button",Z===e?"calendar__day-button--today":"",e7?"calendar__day-button--selected":"",A2?"calendar__day-button--range-start":"",g1?"calendar__day-button--range-end":"",Qe?"calendar__day-button--in-range":"",e1?"calendar__day-button--disabled":""].filter(Boolean).join(" ");return s`
|
|
3301
3301
|
<td
|
|
3302
3302
|
class="${F0}"
|
|
3303
3303
|
role="gridcell"
|
|
3304
|
-
aria-selected="${e7||
|
|
3304
|
+
aria-selected="${e7||A2||g1}"
|
|
3305
3305
|
>
|
|
3306
3306
|
<button
|
|
3307
3307
|
type="button"
|
|
3308
3308
|
class="${N0}"
|
|
3309
3309
|
part="day"
|
|
3310
3310
|
aria-disabled="${e1}"
|
|
3311
|
-
aria-label="${De[w.getDay()]}, ${Se[w.getMonth()]} ${
|
|
3311
|
+
aria-label="${De[w.getDay()]}, ${Se[w.getMonth()]} ${z0(m)}, ${w.getFullYear()}"
|
|
3312
3312
|
tabindex="${Z===r?0:-1}"
|
|
3313
3313
|
@click=${()=>{e1||this._pick(w)}}
|
|
3314
3314
|
@mouseenter=${()=>{e1||this._emitHover(Z)}}
|
|
@@ -3414,7 +3414,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3414
3414
|
.calendar__day-button--range-end:hover { background-color: var(--color-primary-5); }
|
|
3415
3415
|
.calendar__day-button--in-range { color: var(--color-primary-7, var(--color-primary-5)); }
|
|
3416
3416
|
.calendar__day-button--in-range:hover { background-color: var(--color-primary-2); }
|
|
3417
|
-
`;let I=g3;l1([a({reflect:!0})],I.prototype,"value"),l1([a({attribute:"min-date"})],I.prototype,"minDate"),l1([a({attribute:"max-date"})],I.prototype,"maxDate"),l1([a({attribute:"range-start"})],I.prototype,"rangeStart"),l1([a({attribute:"range-end"})],I.prototype,"rangeEnd"),l1([a({type:Boolean,attribute:"range-mode"})],I.prototype,"rangeMode"),l1([y()],I.prototype,"_viewMonth"),l1([y()],I.prototype,"_viewYear"),l1([y()],I.prototype,"_focus"),l1([y()],I.prototype,"_openSelect"),customElements.get("anduin-calendar")||customElements.define("anduin-calendar",I);var
|
|
3417
|
+
`;let I=g3;l1([a({reflect:!0})],I.prototype,"value"),l1([a({attribute:"min-date"})],I.prototype,"minDate"),l1([a({attribute:"max-date"})],I.prototype,"maxDate"),l1([a({attribute:"range-start"})],I.prototype,"rangeStart"),l1([a({attribute:"range-end"})],I.prototype,"rangeEnd"),l1([a({type:Boolean,attribute:"range-mode"})],I.prototype,"rangeMode"),l1([y()],I.prototype,"_viewMonth"),l1([y()],I.prototype,"_viewYear"),l1([y()],I.prototype,"_focus"),l1([y()],I.prototype,"_openSelect"),customElements.get("anduin-calendar")||customElements.define("anduin-calendar",I);var A0=Object.defineProperty,c2=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&A0(e,t,i),i};const Be="anduin-date-range:change",f3=class f3 extends g{constructor(){super(...arguments),this.startDate="",this.endDate="",this.minDate="",this.maxDate="",this._anchor=null,this._hover=null,this._panels=new Map,this._pushedValue=new Map,this._onCalendarChange=e=>{e.stopPropagation();const t=e.detail;if(!S(t))return;if(this._anchor===null){this._anchor=t,this._hover=null;return}const[o,i]=this._sorted(this._anchor,t);this._anchor=null,this._hover=null,this.startDate=o,this.endDate=i,this.dispatchEvent(new CustomEvent(Be,{detail:{startDate:o,endDate:i},bubbles:!0,composed:!0}))},this._onCalendarHover=e=>{e.stopPropagation(),this._anchor!==null&&(this._hover=e.detail)}}connectedCallback(){super.connectedCallback(),this.addEventListener(s2,this._onCalendarChange),this.addEventListener(m5,this._onCalendarHover)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(s2,this._onCalendarChange),this.removeEventListener(m5,this._onCalendarHover)}updated(){this._sync()}registerPanel(e,t){this._panels.set(e,t),this._pushedValue.delete(e),this._sync()}unregisterPanel(e){for(const[t,o]of this._panels)o===e&&(this._panels.delete(t),this._pushedValue.delete(t))}_sync(){const[e,t]=this._displayedRange();for(const[o,i]of this._panels){const n=i.calendar;if(!n)continue;n.minDate=this.minDate,n.maxDate=this.maxDate,n.rangeStart=e,n.rangeEnd=t;const r=this._panelValue(o);this._pushedValue.get(o)!==r&&(this._pushedValue.set(o,r),n.value=r)}}_panelValue(e){const t=S(this.startDate)??N1();return _1(e==="start"?t:p1(t,1))}_displayedRange(){if(this._anchor===null)return[this.startDate,this.endDate];if(this._hover===null)return[this._anchor,""];const[e,t]=this._sorted(this._anchor,this._hover);return[e,t]}_sorted(e,t){const o=S(e),i=S(t);return!o||!i?[e,t]:o.getTime()<=i.getTime()?[e,t]:[t,e]}render(){return s`<div class="date-range" part="date-range"><slot></slot></div>`}};f3.styles=f`
|
|
3418
3418
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
3419
3419
|
`;let Q=f3;c2([a({attribute:"start-date",reflect:!0})],Q.prototype,"startDate"),c2([a({attribute:"end-date",reflect:!0})],Q.prototype,"endDate"),c2([a({attribute:"min-date"})],Q.prototype,"minDate"),c2([a({attribute:"max-date"})],Q.prototype,"maxDate"),c2([y()],Q.prototype,"_anchor"),c2([y()],Q.prototype,"_hover");const v3=class v3 extends g{constructor(){super(...arguments),this._host=null}get calendar(){var e;return((e=this.shadowRoot)==null?void 0:e.querySelector("anduin-calendar"))??null}firstUpdated(){var e;this._host=this._findRangeHost(),(e=this._host)==null||e.registerPanel(this.panelRole,this)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._host)==null||e.unregisterPanel(this),this._host=null}_findRangeHost(){let e=this;for(;e;){if(e instanceof Q)return e;e=e instanceof ShadowRoot?e.host:e.parentNode}return null}render(){return s`<anduin-calendar part="calendar" range-mode></anduin-calendar>`}};v3.styles=f`
|
|
3420
3420
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
@@ -3427,7 +3427,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3427
3427
|
:host { display: inline-block; font-family: var(--font-sans); }
|
|
3428
3428
|
|
|
3429
3429
|
.date-range-default { display: flex; flex-direction: row; gap: 16px; }
|
|
3430
|
-
`;let b5=m3;customElements.get("anduin-date-range")||customElements.define("anduin-date-range",Q),customElements.get("anduin-date-range-default")||customElements.define("anduin-date-range-default",b5),customElements.get("anduin-date-range-start")||customElements.define("anduin-date-range-start",Pe),customElements.get("anduin-date-range-end")||customElements.define("anduin-date-range-end",Oe);var S0=Object.defineProperty,F=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&S0(e,t,i),i};const H5="anduin-date-input:change",Te={M:"month",d:"day",y:"year"};function D0(l){const e=[];let t=0,o=0;for(;o<l.length;){const i=l[o],n=Te[i];if(!n){let d="";for(;o<l.length&&!Te[l[o]];)d+=l[o++];e.push({literal:d}),t+=d.length;continue}let r="";for(;o<l.length&&l[o]===i;)r+=l[o++];e.push({segment:{type:n,placeholder:r,length:r.length,start:t}}),t+=r.length}return e}function q5(l){return l.type==="year"?10**l.length-1:l.length===1?9:l.type==="month"?12:31}const
|
|
3430
|
+
`;let b5=m3;customElements.get("anduin-date-range")||customElements.define("anduin-date-range",Q),customElements.get("anduin-date-range-default")||customElements.define("anduin-date-range-default",b5),customElements.get("anduin-date-range-start")||customElements.define("anduin-date-range-start",Pe),customElements.get("anduin-date-range-end")||customElements.define("anduin-date-range-end",Oe);var S0=Object.defineProperty,F=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&S0(e,t,i),i};const H5="anduin-date-input:change",Te={M:"month",d:"day",y:"year"};function D0(l){const e=[];let t=0,o=0;for(;o<l.length;){const i=l[o],n=Te[i];if(!n){let d="";for(;o<l.length&&!Te[l[o]];)d+=l[o++];e.push({literal:d}),t+=d.length;continue}let r="";for(;o<l.length&&l[o]===i;)r+=l[o++];e.push({segment:{type:n,placeholder:r,length:r.length,start:t}}),t+=r.length}return e}function q5(l){return l.type==="year"?10**l.length-1:l.length===1?9:l.type==="month"?12:31}const z2=1,y5=class y5 extends g{constructor(){super(...arguments),this.format="MM/dd/yyyy",this.value="",this.size="default",this.disabled=!1,this.readonly=!1,this.status="",this.startIcon="",this.minDate="",this.maxDate="",this.inputid="",this._digits=[],this._active=0,this._buffer="",this._pendingSelection=null,this._tokens=[],this._segments=[],this._onFieldLabelClick=e=>{const t=e.detail;this.inputid&&this.inputid===t&&this._focusSegment(0)}}connectedCallback(){super.connectedCallback();const e=this.closest("anduin-field");e==null||e.addEventListener(r1,this._onFieldLabelClick)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.closest("anduin-field"))==null||e.removeEventListener(r1,this._onFieldLabelClick)}willUpdate(e){e.has("format")?(this._tokens=D0(this.format),this._segments=this._tokens.flatMap(t=>"segment"in t?[t.segment]:[]),this._digits=this._segments.map(()=>null),this._active=0,this._buffer="",this.value&&this._adoptValue(this.value)):e.has("value")&&this.value!==this._composeValue()&&this._adoptValue(this.value)}updated(){const e=this._display();if(this._inputEl&&this._inputEl.value!==e&&(this._inputEl.value=e),this._pendingSelection&&this._inputEl){const[t,o]=this._pendingSelection;this._pendingSelection=null,this._inputEl.setSelectionRange(t,o)}}_adoptValue(e){const t=this._segments.map(o=>{const i=e.slice(o.start,o.start+o.length);return/^\d+$/.test(i)?i:null});this._digits=t,this._buffer=""}_display(){return this._tokens.map(e=>{if("literal"in e)return e.literal;const t=e.segment,o=this._segments.indexOf(t);return o===this._active&&this._buffer?this._buffer.padStart(t.length,"0"):this._digits[o]??t.placeholder}).join("")}_composeValue(){return!this._segments.length||this._digits.some(e=>e===null)?"":this._tokens.map(e=>"literal"in e?e.literal:this._digits[this._segments.indexOf(e.segment)]).join("")}_setDigits(e){if(this._digits=e,!this._composeValue()){this.value="";return}const o=this._clampToBounds(e);this._digits=o,this.value=this._composeValue(),this.dispatchEvent(new CustomEvent(H5,{detail:this.value,bubbles:!0,composed:!0}))}_indexOfType(e){return this._segments.findIndex(t=>t.type===e)}_clampToBounds(e){const t=S(this.minDate),o=S(this.maxDate);if(!t&&!o)return e;const i=this._indexOfType("month"),n=this._indexOfType("day"),r=this._indexOfType("year");if(i<0||n<0||r<0)return e;const d=Number(e[r]),C=Number(e[i]),u=Number(e[n]),p=Math.min(u,R0(d,C-1)),v=new Date(d,C-1,p),H=t&&v.getTime()<t.getTime()?t:o&&v.getTime()>o.getTime()?o:null;if(!H){if(p===u)return e;const x=[...e];return x[n]=String(p).padStart(this._segments[n].length,"0"),x}const b=[...e];return b[r]=String(H.getFullYear()).padStart(this._segments[r].length,"0").slice(-this._segments[r].length),b[i]=String(H.getMonth()+1).padStart(this._segments[i].length,"0"),b[n]=String(H.getDate()).padStart(this._segments[n].length,"0"),b}_focusSegment(e){var o,i;const t=this._segments[e];t&&(this._flushBuffer(),this._active=e,this._buffer="",this._pendingSelection=[t.start,t.start+t.length],(o=this._inputEl)==null||o.focus(),(i=this._inputEl)==null||i.setSelectionRange(t.start,t.start+t.length))}_segmentAt(e){for(let t=0;t<this._segments.length;t++){const o=this._segments[t];if(e>=o.start&&e<=o.start+o.length)return t}return this._segments.length-1}_onSelectionIntent(){if(this.disabled||this.readonly||!this._inputEl)return;const e=this._inputEl.selectionStart??0;this._focusSegment(this._segmentAt(e))}_writeSegment(e,t){const o=this._segments[e];if(!o)return;const i=Math.min(Math.max(Number(t),z2),q5(o)),n=[...this._digits];n[e]=String(i).padStart(o.length,"0"),this._buffer="",this._setDigits(n)}_flushBuffer(){this._buffer&&this._writeSegment(this._active,this._buffer)}_commitBuffer(e,t,o){this._writeSegment(e,t),o&&e<this._segments.length-1?this._focusSegment(e+1):this._focusSegment(e)}_typeDigit(e){const t=this._active,o=this._segments[t];if(!o)return;const i=this._buffer+e;if(o.length-i.length<=0){this._commitBuffer(t,i,!0);return}const r=Number(i.padEnd(o.length,"0")),d=Number(i.padEnd(o.length,"9"));if(r>q5(o)||d<z2){this._commitBuffer(t,i,!0);return}this._buffer=i,this._pendingSelection=[o.start,o.start+o.length]}_step(e){const t=this._active,o=this._segments[t];if(!o)return;const i=q5(o),n=this._digits[t];let r;n===null?r=e>0?z2:i:(r=Number(n)+e,r>i&&(r=z2),r<z2&&(r=i));const d=[...this._digits];d[t]=String(r).padStart(o.length,"0"),this._buffer="",this._setDigits(d),this._pendingSelection=[o.start,o.start+o.length]}_clearSegment(){const e=this._active,t=this._segments[e];if(!t)return;const o=[...this._digits];o[e]=null,this._buffer="",this._setDigits(o),this._pendingSelection=[t.start,t.start+t.length]}_onKeyDown(e){if(this.disabled||this.readonly)return;const t=this._segments.length-1;if(/^\d$/.test(e.key)&&!e.metaKey&&!e.ctrlKey&&!e.altKey){e.preventDefault(),this._typeDigit(e.key);return}switch(e.key){case"ArrowRight":this._active<t&&(e.preventDefault(),this._focusSegment(this._active+1));return;case"ArrowLeft":this._active>0&&(e.preventDefault(),this._focusSegment(this._active-1));return;case"ArrowUp":e.preventDefault(),this._step(1);return;case"ArrowDown":e.preventDefault(),this._step(-1);return;case"Backspace":case"Delete":e.preventDefault(),this._clearSegment();return;case"Tab":e.shiftKey&&this._active>0?(e.preventDefault(),this._focusSegment(this._active-1)):!e.shiftKey&&this._active<t&&(e.preventDefault(),this._focusSegment(this._active+1));return}}render(){const e=!!this.startIcon,t=["date-input-container",e?"date-input-container--has-icon":""].filter(Boolean).join(" "),o=["date-input",`date-input--${this.size}`,this.disabled?"date-input--disabled":"",this.readonly?"date-input--readonly":"",this.status?`date-input--${this.status}`:""].filter(Boolean).join(" "),i=this.size==="small"?"12":"16";return s`
|
|
3431
3431
|
<div class="${t}" part="container">
|
|
3432
3432
|
${e?s`<span class="date-input__icon" part="icon">
|
|
3433
3433
|
<anduin-icon name="${this.startIcon}" size="${i}"></anduin-icon>
|
|
@@ -3503,7 +3503,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3503
3503
|
.date-input--invalid { border-color: var(--color-danger-4); }
|
|
3504
3504
|
.date-input--warning { border-color: var(--color-warning-4); }
|
|
3505
3505
|
.date-input--loading { border-color: var(--color-gray-4); }
|
|
3506
|
-
`;let $=y5;F([a()],$.prototype,"format"),F([a()],$.prototype,"value"),F([a()],$.prototype,"size"),F([a({type:Boolean})],$.prototype,"disabled"),F([a({type:Boolean})],$.prototype,"readonly"),F([a()],$.prototype,"status"),F([a({attribute:"start-icon"})],$.prototype,"startIcon"),F([a({attribute:"min-date"})],$.prototype,"minDate"),F([a({attribute:"max-date"})],$.prototype,"maxDate"),F([a()],$.prototype,"inputid"),F([y()],$.prototype,"_digits"),F([y()],$.prototype,"_active"),F([y()],$.prototype,"_buffer"),F([
|
|
3506
|
+
`;let $=y5;F([a()],$.prototype,"format"),F([a()],$.prototype,"value"),F([a()],$.prototype,"size"),F([a({type:Boolean})],$.prototype,"disabled"),F([a({type:Boolean})],$.prototype,"readonly"),F([a()],$.prototype,"status"),F([a({attribute:"start-icon"})],$.prototype,"startIcon"),F([a({attribute:"min-date"})],$.prototype,"minDate"),F([a({attribute:"max-date"})],$.prototype,"maxDate"),F([a()],$.prototype,"inputid"),F([y()],$.prototype,"_digits"),F([y()],$.prototype,"_active"),F([y()],$.prototype,"_buffer"),F([A("input")],$.prototype,"_inputEl"),customElements.get("anduin-date-input")||customElements.define("anduin-date-input",$);var B0=Object.defineProperty,N=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&B0(e,t,i),i};const Ie="anduin-date-picker:change",Fe={M:"month",d:"day",y:"year"};function P0(l,e){if(!l)return null;const t={};let o=0,i=0;for(;i<e.length;){const d=e[i],C=Fe[d];if(!C){i++,o++;continue}let u=0;for(;i<e.length&&e[i]===d;)i++,u++;const p=l.slice(o,o+u);if(!/^\d+$/.test(p))return null;t[C]=p,o+=u}if(!t.month||!t.day||!t.year)return null;const n=Number(t.year),r=new Date(n,Number(t.month)-1,Number(t.day));return r.getMonth()!==Number(t.month)-1||r.getDate()!==Number(t.day)?null:r}function O0(l,e){const t={month:l.getMonth()+1,day:l.getDate(),year:l.getFullYear()};let o="",i=0;for(;i<e.length;){const n=e[i],r=Fe[n];if(!r){o+=n,i++;continue}let d=0;for(;i<e.length&&e[i]===n;)i++,d++;o+=String(t[r]).padStart(d,"0").slice(-d)}return o}const b3=class b3 extends g{constructor(){super(...arguments),this.format="MM/dd/yyyy",this.value="",this.size="default",this.disabled=!1,this.readonly=!1,this.status="",this.startIcon="",this.minDate="",this.maxDate="",this.placement="bottom-start",this.inputid="",this._open=!1,this._onPopoverOpenChange=e=>{e.stopPropagation(),this._open=e.detail},this._onInputChange=e=>{e.stopPropagation(),this._emit(e.detail)},this._onCalendarChange=e=>{e.stopPropagation();const t=S(e.detail);t&&(this._emit(O0(t,this.format)),this._closePopover())},this._onKeyDown=e=>{var t;e.key==="Escape"&&this._open&&(e.stopPropagation(),this._closePopover(),(t=this._inputEl)==null||t.focus())},this._onTriggerClick=e=>{(this.disabled||this.readonly)&&e.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener(H5,this._onInputChange),this.addEventListener(s2,this._onCalendarChange),this.addEventListener(q2,this._onPopoverOpenChange),this.addEventListener("keydown",this._onKeyDown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(H5,this._onInputChange),this.removeEventListener(s2,this._onCalendarChange),this.removeEventListener(q2,this._onPopoverOpenChange),this.removeEventListener("keydown",this._onKeyDown)}_closePopover(){this._popoverEl&&(this._popoverEl.open=!1),this._open=!1}get _date(){return P0(this.value,this.format)}get _isoValue(){const e=this._date;return e?_1(e):""}_emit(e){this.value=e,this.dispatchEvent(new CustomEvent(Ie,{detail:e,bubbles:!0,composed:!0}))}render(){return s`
|
|
3507
3507
|
<div class="datepicker" part="datepicker">
|
|
3508
3508
|
<anduin-popover full-width placement=${this.placement}>
|
|
3509
3509
|
<anduin-date-input
|
|
@@ -3542,7 +3542,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3542
3542
|
|
|
3543
3543
|
/* The popover contributes 8px; the calendar reads better with 16px total. */
|
|
3544
3544
|
.datepicker__panel { padding: 8px; display: flex; flex-direction: column; }
|
|
3545
|
-
`;let A=b3;N([a()],A.prototype,"format"),N([a()],A.prototype,"value"),N([a()],A.prototype,"size"),N([a({type:Boolean})],A.prototype,"disabled"),N([a({type:Boolean})],A.prototype,"readonly"),N([a()],A.prototype,"status"),N([a({attribute:"start-icon"})],A.prototype,"startIcon"),N([a({attribute:"min-date"})],A.prototype,"minDate"),N([a({attribute:"max-date"})],A.prototype,"maxDate"),N([a()],A.prototype,"placement"),N([a()],A.prototype,"inputid"),N([y()],A.prototype,"_open"),N([z("anduin-date-input")],A.prototype,"_inputEl"),N([z("anduin-popover")],A.prototype,"_popoverEl"),customElements.get("anduin-date-picker")||customElements.define("anduin-date-picker",A);var T0=Object.defineProperty,V=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&T0(e,t,i),i};const Ne="anduin-table:sort",Ge="anduin-table:column-click",Ue="anduin-table:row-click",je="anduin-table:selection-change",Ke="anduin-table:cell-context-menu",We="anduin-table:row-expand",Ye="anduin-table:row-collapse",qe="anduin-table:group-toggle",X5="anduin-table:column-resize",Xe=40,h1=l=>l.type==="selection",L1=(l,e)=>{if(!e)return;let t=l;for(const o of e.split(".")){if(t===null||typeof t!="object")return;t=t[o]}return t},I0=(l,e)=>l===e?0:l==null?1:e==null?-1:typeof l=="number"&&typeof e=="number"?l-e:typeof l=="boolean"&&typeof e=="boolean"?Number(l)-Number(e):l instanceof Date&&e instanceof Date?l.getTime()-e.getTime():String(l).localeCompare(String(e),void 0,{numeric:!0,sensitivity:"base"}),H3=class H3 extends g{constructor(){super(...arguments),this.columns=[],this.data=[],this.layout="fit-data",this.renderMode="basic",this.rowHeight=40,this.height="",this.maxHeight="",this.minHeight="",this.resizableColumns=!0,this.hideHeader=!1,this.loading=!1,this.selectable="clickable",this.indexColumn="id",this.columnAlign="left",this.columnVerticalAlign="middle",this.sortField="",this.sortDirection="asc",this.dataTree=!1,this.treeChildrenField="children",this.treeChildIndent=20,this.groupBy="",this.selectedRows=[],this.expandedKeys=new Set,this.collapsedGroups=new Set,this.virtualScrollTop=0,this.viewportHeight=0,this.scrolledX=!1,this.scrollableXEnd=!1,this.resizedWidths={},this.resizingKey="",this.rangeAnchorKey=null,this.isDraggingRange=!1,this.dragBaseKeys=[],this.dragSelects=!0,this.autoExpandedKeys=new Set,this.resizeDrag=null,this.resizeFrame=0,this.renderSelectedKeys=new Set,this.renderSelectableRows=[],this.cachedRenderRows=[],this.rowsDirty=!0,this.onWindowMouseUp=()=>{this.isDraggingRange=!1},this.onScroll=e=>{const t=e.currentTarget;this.renderMode==="virtual"&&(this.virtualScrollTop=t.scrollTop),this.syncHorizontalScrollState()},this.onResizeMove=e=>{const t=this.resizeDrag;if(!t)return;const o=48;t.width=Math.max(o,t.startWidth+(e.clientX-t.startX)),!this.resizeFrame&&(this.resizeFrame=requestAnimationFrame(()=>{this.resizeFrame=0,this.resizeDrag&&(this.resizedWidths={...this.resizedWidths,[t.key]:t.width})}))},this.onResizeEnd=e=>{const t=this.resizeDrag;t&&(this.resizeFrame&&(cancelAnimationFrame(this.resizeFrame),this.resizeFrame=0),this.resizedWidths={...this.resizedWidths,[t.key]:t.width},this.resizeDrag=null,this.resizingKey="",this.dispatchEvent(new CustomEvent(X5,{detail:{column:e,field:t.key,width:t.width},bubbles:!0,composed:!0})))}}connectedCallback(){super.connectedCallback(),window.addEventListener("mouseup",this.onWindowMouseUp)}disconnectedCallback(){var e;super.disconnectedCallback(),window.removeEventListener("mouseup",this.onWindowMouseUp),(e=this.resizeObserver)==null||e.disconnect(),this.resizeObserver=void 0}firstUpdated(){const e=this.scrollEl;e&&(this.resizeObserver=new ResizeObserver(()=>{this.viewportHeight=e.clientHeight,this.syncHorizontalScrollState()}),this.resizeObserver.observe(e),this.viewportHeight=e.clientHeight)}willUpdate(e){["data","columns","sortField","sortDirection","groupBy","dataTree","treeChildrenField","indexColumn","onStartExpanded","isRowDisabled","selectedRows","expandedKeys","collapsedGroups"].some(o=>e.has(o))&&(this.rowsDirty=!0),this.rowsDirty&&(this.cachedRenderRows=this.buildRenderRows(),this.renderSelectedKeys=this.selectedKeySet,this.renderSelectableRows=this.cachedRenderRows.filter(o=>o.kind==="row"&&!this.rowIsDisabled(o.data)),this.rowsDirty=!1)}updated(e){this.applyFrozenOffsets(),(e.has("data")||e.has("columns"))&&this.syncHorizontalScrollState()}get scrollEl(){return this.renderRoot.querySelector(".table__scroll")}keyFor(e,t){const o=L1(e,this.indexColumn);return o==null?`__index:${t}`:String(o)}get selectedKeySet(){const e=new Set;return this.selectedRows.forEach((t,o)=>e.add(this.keyFor(t,o))),e}rowIsDisabled(e){return this.isRowDisabled?this.isRowDisabled(e):!1}get frozenSides(){const e=this.columns,t=e.map(()=>null);for(let o=0;o<e.length;o++){const i=e[o].isFrozen;if(!i)break;t[o]=i==="right"?"right":"left"}for(let o=e.length-1;o>=0;o--){const i=e[o].isFrozen;if(!i)break;t[o]===null&&(t[o]=i==="left"?"left":"right")}for(let o=0;o<e.length;o++){const i=e[o].isFrozen;(i==="left"||i==="right")&&(t[o]=i)}return t}applyFrozenOffsets(){const e=this.frozenSides;if(!e.some(Boolean))return;const t=Array.from(this.renderRoot.querySelectorAll("thead th[data-col]"));if(t.length===0)return;const o=t.map(C=>C.getBoundingClientRect().width),i=e.map(()=>null);let n=0;for(let C=0;C<e.length;C++)e[C]==="left"&&(i[C]=n,n+=o[C]??0);let r=0;for(let C=e.length-1;C>=0;C--)e[C]==="right"&&(i[C]=r,r+=o[C]??0);this.renderRoot.querySelectorAll("[data-col]").forEach(C=>{const u=Number(C.dataset.col),p=e[u],v=i[u];!p||v===null||(C.style[p]=`${v}px`)})}get sortedColumn(){if(this.sortField)return this.columns.find(e=>!h1(e)&&e.field===this.sortField)}sortRows(e){const t=this.sortedColumn;if(!t)return e;const o=this.sortDirection==="desc"?-1:1,i=t.sortWith?(n,r)=>t.sortWith({a:n,b:r}):(n,r)=>I0(L1(n,t.field),L1(r,t.field));return[...e].sort((n,r)=>i(n,r)*o)}onHeaderClick(e){if(this.dispatchEvent(new CustomEvent(Ge,{detail:{column:e},bubbles:!0,composed:!0})),!e.isSortable)return;let t=e.field,o="asc";this.sortField===e.field&&(this.sortDirection==="asc"?o="desc":(t="",o=null)),this.sortField=t,o&&(this.sortDirection=o),this.dispatchEvent(new CustomEvent(Ne,{detail:{field:t,direction:o,column:e},bubbles:!0,composed:!0}))}buildRenderRows(){return this.groupBy?this.buildGroupedRows():this.buildFlatRows(this.sortRows(this.data),0)}buildFlatRows(e,t){const o=[];return e.forEach((i,n)=>{const r=this.keyFor(i,n),d=this.dataTree?L1(i,this.treeChildrenField):void 0,C=Array.isArray(d)&&d.length>0,u=C&&this.isExpanded(r,i);o.push({kind:"row",data:i,key:r,depth:t,hasChildren:C,expanded:u}),u&&o.push(...this.buildFlatRows(this.sortRows(d),t+1))}),o}buildGroupedRows(){const e=new Map;this.data.forEach(o=>{const i=L1(o,this.groupBy),n=String(i),r=e.get(n);r?r.rows.push(o):e.set(n,{value:i,rows:[o]})});const t=[];return e.forEach(({value:o,rows:i},n)=>{const r=!this.collapsedGroups.has(n);t.push({kind:"group",key:n,value:o,rows:i,expanded:r}),r&&t.push(...this.buildFlatRows(this.sortRows(i),0))}),t}isExpanded(e,t){return this.expandedKeys.has(e)?!0:this.onStartExpanded&&!this.autoExpandedKeys.has(e)&&(this.autoExpandedKeys.add(e),this.onStartExpanded(t))?(this.expandedKeys.add(e),!0):!1}toggleTreeRow(e){const t=!e.expanded,o=new Set(this.expandedKeys);t?o.add(e.key):o.delete(e.key),this.expandedKeys=o,this.dispatchEvent(new CustomEvent(t?We:Ye,{detail:{data:e.data,key:e.key,expanded:t},bubbles:!0,composed:!0}))}toggleGroup(e){const t=!e.expanded,o=new Set(this.collapsedGroups);t?o.delete(e.key):o.add(e.key),this.collapsedGroups=o,this.dispatchEvent(new CustomEvent(qe,{detail:{value:e.value,rows:e.rows,expanded:t},bubbles:!0,composed:!0}))}expandAll(){const e=new Set,t=o=>{o.forEach((i,n)=>{const r=L1(i,this.treeChildrenField);Array.isArray(r)&&r.length>0&&(e.add(this.keyFor(i,n)),t(r))})};t(this.data),this.expandedKeys=e}collapseAll(){this.expandedKeys=new Set}get selectableRows(){return this.buildRenderRows().filter(e=>e.kind==="row"&&!this.rowIsDisabled(e.data))}commitSelection(e){const t=new Map,o=n=>{n.forEach((r,d)=>{t.set(this.keyFor(r,d),r);const C=this.dataTree?L1(r,this.treeChildrenField):void 0;Array.isArray(C)&&o(C)})};o(this.data);const i=[...e].filter(n=>t.has(n));this.selectedRows=i.map(n=>t.get(n)),this.dispatchEvent(new CustomEvent(je,{detail:{selectedRows:this.selectedRows,selectedKeys:i},bubbles:!0,composed:!0}))}setRowSelected(e,t){if(this.rowIsDisabled(e.data))return;const o=this.selectedKeySet;t?o.add(e.key):o.delete(e.key),this.rangeAnchorKey=e.key,this.commitSelection(o)}toggleAllRows(e){const t=this.selectedKeySet;this.selectableRows.forEach(o=>{e?t.add(o.key):t.delete(o.key)}),this.commitSelection(t)}selectRange(e,t,o){const i=this.selectableRows,n=i.findIndex(v=>v.key===e.key);if(n<0)return;const r=this.rangeAnchorKey?i.findIndex(v=>v.key===this.rangeAnchorKey):-1,d=r<0?n:r,[C,u]=d<=n?[d,n]:[n,d],p=new Set(o);for(let v=C;v<=u;v++)t?p.add(i[v].key):p.delete(i[v].key);this.commitSelection(p)}onRowMouseDown(e,t){this.selectable!=="selectable-by-dragging"||!e.shiftKey||this.rowIsDisabled(t.data)||(e.preventDefault(),this.isDraggingRange=!0,this.dragBaseKeys=[...this.selectedKeySet],this.dragSelects=!this.selectedKeySet.has(t.key),this.rangeAnchorKey=t.key,this.selectRange(t,this.dragSelects,this.dragBaseKeys))}onRowMouseEnter(e){this.isDraggingRange&&this.selectRange(e,this.dragSelects,this.dragBaseKeys)}onRowClick(e,t,o){this.dispatchEvent(new CustomEvent(Ue,{detail:{data:t.data,key:t.key,index:o,originalEvent:e},bubbles:!0,composed:!0}));const i=this.selectable;if(i==="unselectable"||i==="clickable"||this.rowIsDisabled(t.data))return;const n=this.selectedKeySet.has(t.key);if(i==="selectable-by-clicking"&&e.shiftKey){this.selectRange(t,!0,e.metaKey||e.ctrlKey?[...this.selectedKeySet]:[]);return}if(i==="selectable-by-clicking"&&!(e.metaKey||e.ctrlKey)){this.rangeAnchorKey=t.key,this.commitSelection(new Set(n&&this.selectedRows.length===1?[]:[t.key]));return}this.setRowSelected(t,!n)}onCellContextMenu(e,t,o,i){this.dispatchEvent(new CustomEvent(Ke,{detail:{data:t.data,key:t.key,index:o,column:i,x:e.clientX,y:e.clientY,originalEvent:e},bubbles:!0,composed:!0,cancelable:!0}))}syncHorizontalScrollState(){const e=this.scrollEl;e&&(this.scrolledX=e.scrollLeft>0,this.scrollableXEnd=Math.ceil(e.scrollLeft+e.clientWidth)<e.scrollWidth)}columnKey(e,t){return h1(e)?`__selection:${t}`:e.field||`__col:${t}`}widthFor(e,t){return this.resizedWidths[this.columnKey(e,t)]??e.width}isStretchColumn(e,t){return this.layout!=="fit-data-stretch"||t!==this.columns.length-1?!1:this.resizedWidths[this.columnKey(e,t)]===void 0}sizingClass(e,t){return this.isStretchColumn(e,t)?"table__cell--stretch":this.widthFor(e,t)?"table__cell--sized":""}cellStyle(e,t){if(this.isStretchColumn(e,t))return"width:100%";const o=this.widthFor(e,t),i=[];return o&&(i.push(`width:${o}px`),this.layout!=="fit-columns"&&i.push(`max-width:${o}px`)),e.minWidth?i.push(`min-width:${e.minWidth}px`):o&&i.push(`min-width:${o}px`),i.join(";")}fitColumnsMinWidth(){return this.layout!=="fit-columns"||!this.columns.some(e=>e.minWidth)?0:this.columns.reduce((e,t,o)=>{const i=h1(t)&&!t.width&&!t.minWidth?Xe:Math.max(this.widthFor(t,o)??0,t.minWidth??0);return e+i},0)}isColumnResizable(e){return e.isResizable??this.resizableColumns}onResizeStart(e,t,o){e.preventDefault(),e.stopPropagation();const i=e.currentTarget,n=i.closest("th");if(!n)return;const r=n.getBoundingClientRect().width;this.resizeDrag={key:this.columnKey(t,o),startX:e.clientX,startWidth:r,width:r},this.resizingKey=this.resizeDrag.key,i.setPointerCapture(e.pointerId)}onResizeReset(e,t,o){e.preventDefault(),e.stopPropagation();const i=this.columnKey(t,o);if(this.resizedWidths[i]===void 0)return;const n={...this.resizedWidths};delete n[i],this.resizedWidths=n,this.dispatchEvent(new CustomEvent(X5,{detail:{column:t,field:i,width:null},bubbles:!0,composed:!0}))}resetColumnWidths(){this.resizedWidths={}}alignClass(e){const t=e.align??this.columnAlign,o=e.verticalAlign??this.columnVerticalAlign;return[t!=="left"?`table__cell--${t}`:"",o!=="middle"?`table__cell--${o}`:""].filter(Boolean).join(" ")}renderHeaderCell(e,t){const o=this.frozenSides,i=o[t],n=i==="left"?o[t+1]!=="left":i==="right"?o[t-1]!=="right":!1,r=["table__header-cell",i?"table__header-cell--frozen":"",i&&n?`table__header-cell--frozen-${i}-edge`:"",!h1(e)&&e.isSortable?"table__header-cell--sortable":"",h1(e)?"table__cell--selection":"",this.sizingClass(e,t)].filter(Boolean).join(" "),d=this.cellStyle(e,t),C=e.headerAlign??e.align??this.columnAlign,u=["table__header-inner",C!=="left"?`table__header-inner--${C}`:""].filter(Boolean).join(" "),p=this.columnKey(e,t),v=this.isColumnResizable(e)?s`
|
|
3545
|
+
`;let z=b3;N([a()],z.prototype,"format"),N([a()],z.prototype,"value"),N([a()],z.prototype,"size"),N([a({type:Boolean})],z.prototype,"disabled"),N([a({type:Boolean})],z.prototype,"readonly"),N([a()],z.prototype,"status"),N([a({attribute:"start-icon"})],z.prototype,"startIcon"),N([a({attribute:"min-date"})],z.prototype,"minDate"),N([a({attribute:"max-date"})],z.prototype,"maxDate"),N([a()],z.prototype,"placement"),N([a()],z.prototype,"inputid"),N([y()],z.prototype,"_open"),N([A("anduin-date-input")],z.prototype,"_inputEl"),N([A("anduin-popover")],z.prototype,"_popoverEl"),customElements.get("anduin-date-picker")||customElements.define("anduin-date-picker",z);var T0=Object.defineProperty,V=(l,e,t,o)=>{for(var i=void 0,n=l.length-1,r;n>=0;n--)(r=l[n])&&(i=r(e,t,i)||i);return i&&T0(e,t,i),i};const Ne="anduin-table:sort",Ge="anduin-table:column-click",Ue="anduin-table:row-click",je="anduin-table:selection-change",Ke="anduin-table:cell-context-menu",We="anduin-table:row-expand",Ye="anduin-table:row-collapse",qe="anduin-table:group-toggle",X5="anduin-table:column-resize",Xe=40,h1=l=>l.type==="selection",L1=(l,e)=>{if(!e)return;let t=l;for(const o of e.split(".")){if(t===null||typeof t!="object")return;t=t[o]}return t},I0=(l,e)=>l===e?0:l==null?1:e==null?-1:typeof l=="number"&&typeof e=="number"?l-e:typeof l=="boolean"&&typeof e=="boolean"?Number(l)-Number(e):l instanceof Date&&e instanceof Date?l.getTime()-e.getTime():String(l).localeCompare(String(e),void 0,{numeric:!0,sensitivity:"base"}),H3=class H3 extends g{constructor(){super(...arguments),this.columns=[],this.data=[],this.layout="fit-data",this.renderMode="basic",this.rowHeight=40,this.height="",this.maxHeight="",this.minHeight="",this.resizableColumns=!0,this.hideHeader=!1,this.loading=!1,this.selectable="clickable",this.indexColumn="id",this.columnAlign="left",this.columnVerticalAlign="middle",this.sortField="",this.sortDirection="asc",this.dataTree=!1,this.treeChildrenField="children",this.treeChildIndent=20,this.groupBy="",this.selectedRows=[],this.expandedKeys=new Set,this.collapsedGroups=new Set,this.virtualScrollTop=0,this.viewportHeight=0,this.scrolledX=!1,this.scrollableXEnd=!1,this.resizedWidths={},this.resizingKey="",this.rangeAnchorKey=null,this.isDraggingRange=!1,this.dragBaseKeys=[],this.dragSelects=!0,this.autoExpandedKeys=new Set,this.resizeDrag=null,this.resizeFrame=0,this.renderSelectedKeys=new Set,this.renderSelectableRows=[],this.cachedRenderRows=[],this.rowsDirty=!0,this.onWindowMouseUp=()=>{this.isDraggingRange=!1},this.onScroll=e=>{const t=e.currentTarget;this.renderMode==="virtual"&&(this.virtualScrollTop=t.scrollTop),this.syncHorizontalScrollState()},this.onResizeMove=e=>{const t=this.resizeDrag;if(!t)return;const o=48;t.width=Math.max(o,t.startWidth+(e.clientX-t.startX)),!this.resizeFrame&&(this.resizeFrame=requestAnimationFrame(()=>{this.resizeFrame=0,this.resizeDrag&&(this.resizedWidths={...this.resizedWidths,[t.key]:t.width})}))},this.onResizeEnd=e=>{const t=this.resizeDrag;t&&(this.resizeFrame&&(cancelAnimationFrame(this.resizeFrame),this.resizeFrame=0),this.resizedWidths={...this.resizedWidths,[t.key]:t.width},this.resizeDrag=null,this.resizingKey="",this.dispatchEvent(new CustomEvent(X5,{detail:{column:e,field:t.key,width:t.width},bubbles:!0,composed:!0})))}}connectedCallback(){super.connectedCallback(),window.addEventListener("mouseup",this.onWindowMouseUp)}disconnectedCallback(){var e;super.disconnectedCallback(),window.removeEventListener("mouseup",this.onWindowMouseUp),(e=this.resizeObserver)==null||e.disconnect(),this.resizeObserver=void 0}firstUpdated(){const e=this.scrollEl;e&&(this.resizeObserver=new ResizeObserver(()=>{this.viewportHeight=e.clientHeight,this.syncHorizontalScrollState()}),this.resizeObserver.observe(e),this.viewportHeight=e.clientHeight)}willUpdate(e){["data","columns","sortField","sortDirection","groupBy","dataTree","treeChildrenField","indexColumn","onStartExpanded","isRowDisabled","selectedRows","expandedKeys","collapsedGroups"].some(o=>e.has(o))&&(this.rowsDirty=!0),this.rowsDirty&&(this.cachedRenderRows=this.buildRenderRows(),this.renderSelectedKeys=this.selectedKeySet,this.renderSelectableRows=this.cachedRenderRows.filter(o=>o.kind==="row"&&!this.rowIsDisabled(o.data)),this.rowsDirty=!1)}updated(e){this.applyFrozenOffsets(),(e.has("data")||e.has("columns"))&&this.syncHorizontalScrollState()}get scrollEl(){return this.renderRoot.querySelector(".table__scroll")}keyFor(e,t){const o=L1(e,this.indexColumn);return o==null?`__index:${t}`:String(o)}get selectedKeySet(){const e=new Set;return this.selectedRows.forEach((t,o)=>e.add(this.keyFor(t,o))),e}rowIsDisabled(e){return this.isRowDisabled?this.isRowDisabled(e):!1}get frozenSides(){const e=this.columns,t=e.map(()=>null);for(let o=0;o<e.length;o++){const i=e[o].isFrozen;if(!i)break;t[o]=i==="right"?"right":"left"}for(let o=e.length-1;o>=0;o--){const i=e[o].isFrozen;if(!i)break;t[o]===null&&(t[o]=i==="left"?"left":"right")}for(let o=0;o<e.length;o++){const i=e[o].isFrozen;(i==="left"||i==="right")&&(t[o]=i)}return t}applyFrozenOffsets(){const e=this.frozenSides;if(!e.some(Boolean))return;const t=Array.from(this.renderRoot.querySelectorAll("thead th[data-col]"));if(t.length===0)return;const o=t.map(C=>C.getBoundingClientRect().width),i=e.map(()=>null);let n=0;for(let C=0;C<e.length;C++)e[C]==="left"&&(i[C]=n,n+=o[C]??0);let r=0;for(let C=e.length-1;C>=0;C--)e[C]==="right"&&(i[C]=r,r+=o[C]??0);this.renderRoot.querySelectorAll("[data-col]").forEach(C=>{const u=Number(C.dataset.col),p=e[u],v=i[u];!p||v===null||(C.style[p]=`${v}px`)})}get sortedColumn(){if(this.sortField)return this.columns.find(e=>!h1(e)&&e.field===this.sortField)}sortRows(e){const t=this.sortedColumn;if(!t)return e;const o=this.sortDirection==="desc"?-1:1,i=t.sortWith?(n,r)=>t.sortWith({a:n,b:r}):(n,r)=>I0(L1(n,t.field),L1(r,t.field));return[...e].sort((n,r)=>i(n,r)*o)}onHeaderClick(e){if(this.dispatchEvent(new CustomEvent(Ge,{detail:{column:e},bubbles:!0,composed:!0})),!e.isSortable)return;let t=e.field,o="asc";this.sortField===e.field&&(this.sortDirection==="asc"?o="desc":(t="",o=null)),this.sortField=t,o&&(this.sortDirection=o),this.dispatchEvent(new CustomEvent(Ne,{detail:{field:t,direction:o,column:e},bubbles:!0,composed:!0}))}buildRenderRows(){return this.groupBy?this.buildGroupedRows():this.buildFlatRows(this.sortRows(this.data),0)}buildFlatRows(e,t){const o=[];return e.forEach((i,n)=>{const r=this.keyFor(i,n),d=this.dataTree?L1(i,this.treeChildrenField):void 0,C=Array.isArray(d)&&d.length>0,u=C&&this.isExpanded(r,i);o.push({kind:"row",data:i,key:r,depth:t,hasChildren:C,expanded:u}),u&&o.push(...this.buildFlatRows(this.sortRows(d),t+1))}),o}buildGroupedRows(){const e=new Map;this.data.forEach(o=>{const i=L1(o,this.groupBy),n=String(i),r=e.get(n);r?r.rows.push(o):e.set(n,{value:i,rows:[o]})});const t=[];return e.forEach(({value:o,rows:i},n)=>{const r=!this.collapsedGroups.has(n);t.push({kind:"group",key:n,value:o,rows:i,expanded:r}),r&&t.push(...this.buildFlatRows(this.sortRows(i),0))}),t}isExpanded(e,t){return this.expandedKeys.has(e)?!0:this.onStartExpanded&&!this.autoExpandedKeys.has(e)&&(this.autoExpandedKeys.add(e),this.onStartExpanded(t))?(this.expandedKeys.add(e),!0):!1}toggleTreeRow(e){const t=!e.expanded,o=new Set(this.expandedKeys);t?o.add(e.key):o.delete(e.key),this.expandedKeys=o,this.dispatchEvent(new CustomEvent(t?We:Ye,{detail:{data:e.data,key:e.key,expanded:t},bubbles:!0,composed:!0}))}toggleGroup(e){const t=!e.expanded,o=new Set(this.collapsedGroups);t?o.delete(e.key):o.add(e.key),this.collapsedGroups=o,this.dispatchEvent(new CustomEvent(qe,{detail:{value:e.value,rows:e.rows,expanded:t},bubbles:!0,composed:!0}))}expandAll(){const e=new Set,t=o=>{o.forEach((i,n)=>{const r=L1(i,this.treeChildrenField);Array.isArray(r)&&r.length>0&&(e.add(this.keyFor(i,n)),t(r))})};t(this.data),this.expandedKeys=e}collapseAll(){this.expandedKeys=new Set}get selectableRows(){return this.buildRenderRows().filter(e=>e.kind==="row"&&!this.rowIsDisabled(e.data))}commitSelection(e){const t=new Map,o=n=>{n.forEach((r,d)=>{t.set(this.keyFor(r,d),r);const C=this.dataTree?L1(r,this.treeChildrenField):void 0;Array.isArray(C)&&o(C)})};o(this.data);const i=[...e].filter(n=>t.has(n));this.selectedRows=i.map(n=>t.get(n)),this.dispatchEvent(new CustomEvent(je,{detail:{selectedRows:this.selectedRows,selectedKeys:i},bubbles:!0,composed:!0}))}setRowSelected(e,t){if(this.rowIsDisabled(e.data))return;const o=this.selectedKeySet;t?o.add(e.key):o.delete(e.key),this.rangeAnchorKey=e.key,this.commitSelection(o)}toggleAllRows(e){const t=this.selectedKeySet;this.selectableRows.forEach(o=>{e?t.add(o.key):t.delete(o.key)}),this.commitSelection(t)}selectRange(e,t,o){const i=this.selectableRows,n=i.findIndex(v=>v.key===e.key);if(n<0)return;const r=this.rangeAnchorKey?i.findIndex(v=>v.key===this.rangeAnchorKey):-1,d=r<0?n:r,[C,u]=d<=n?[d,n]:[n,d],p=new Set(o);for(let v=C;v<=u;v++)t?p.add(i[v].key):p.delete(i[v].key);this.commitSelection(p)}onRowMouseDown(e,t){this.selectable!=="selectable-by-dragging"||!e.shiftKey||this.rowIsDisabled(t.data)||(e.preventDefault(),this.isDraggingRange=!0,this.dragBaseKeys=[...this.selectedKeySet],this.dragSelects=!this.selectedKeySet.has(t.key),this.rangeAnchorKey=t.key,this.selectRange(t,this.dragSelects,this.dragBaseKeys))}onRowMouseEnter(e){this.isDraggingRange&&this.selectRange(e,this.dragSelects,this.dragBaseKeys)}onRowClick(e,t,o){this.dispatchEvent(new CustomEvent(Ue,{detail:{data:t.data,key:t.key,index:o,originalEvent:e},bubbles:!0,composed:!0}));const i=this.selectable;if(i==="unselectable"||i==="clickable"||this.rowIsDisabled(t.data))return;const n=this.selectedKeySet.has(t.key);if(i==="selectable-by-clicking"&&e.shiftKey){this.selectRange(t,!0,e.metaKey||e.ctrlKey?[...this.selectedKeySet]:[]);return}if(i==="selectable-by-clicking"&&!(e.metaKey||e.ctrlKey)){this.rangeAnchorKey=t.key,this.commitSelection(new Set(n&&this.selectedRows.length===1?[]:[t.key]));return}this.setRowSelected(t,!n)}onCellContextMenu(e,t,o,i){this.dispatchEvent(new CustomEvent(Ke,{detail:{data:t.data,key:t.key,index:o,column:i,x:e.clientX,y:e.clientY,originalEvent:e},bubbles:!0,composed:!0,cancelable:!0}))}syncHorizontalScrollState(){const e=this.scrollEl;e&&(this.scrolledX=e.scrollLeft>0,this.scrollableXEnd=Math.ceil(e.scrollLeft+e.clientWidth)<e.scrollWidth)}columnKey(e,t){return h1(e)?`__selection:${t}`:e.field||`__col:${t}`}widthFor(e,t){return this.resizedWidths[this.columnKey(e,t)]??e.width}isStretchColumn(e,t){return this.layout!=="fit-data-stretch"||t!==this.columns.length-1?!1:this.resizedWidths[this.columnKey(e,t)]===void 0}sizingClass(e,t){return this.isStretchColumn(e,t)?"table__cell--stretch":this.widthFor(e,t)?"table__cell--sized":""}cellStyle(e,t){if(this.isStretchColumn(e,t))return"width:100%";const o=this.widthFor(e,t),i=[];return o&&(i.push(`width:${o}px`),this.layout!=="fit-columns"&&i.push(`max-width:${o}px`)),e.minWidth?i.push(`min-width:${e.minWidth}px`):o&&i.push(`min-width:${o}px`),i.join(";")}fitColumnsMinWidth(){return this.layout!=="fit-columns"||!this.columns.some(e=>e.minWidth)?0:this.columns.reduce((e,t,o)=>{const i=h1(t)&&!t.width&&!t.minWidth?Xe:Math.max(this.widthFor(t,o)??0,t.minWidth??0);return e+i},0)}isColumnResizable(e){return e.isResizable??this.resizableColumns}onResizeStart(e,t,o){e.preventDefault(),e.stopPropagation();const i=e.currentTarget,n=i.closest("th");if(!n)return;const r=n.getBoundingClientRect().width;this.resizeDrag={key:this.columnKey(t,o),startX:e.clientX,startWidth:r,width:r},this.resizingKey=this.resizeDrag.key,i.setPointerCapture(e.pointerId)}onResizeReset(e,t,o){e.preventDefault(),e.stopPropagation();const i=this.columnKey(t,o);if(this.resizedWidths[i]===void 0)return;const n={...this.resizedWidths};delete n[i],this.resizedWidths=n,this.dispatchEvent(new CustomEvent(X5,{detail:{column:t,field:i,width:null},bubbles:!0,composed:!0}))}resetColumnWidths(){this.resizedWidths={}}alignClass(e){const t=e.align??this.columnAlign,o=e.verticalAlign??this.columnVerticalAlign;return[t!=="left"?`table__cell--${t}`:"",o!=="middle"?`table__cell--${o}`:""].filter(Boolean).join(" ")}renderHeaderCell(e,t){const o=this.frozenSides,i=o[t],n=i==="left"?o[t+1]!=="left":i==="right"?o[t-1]!=="right":!1,r=["table__header-cell",i?"table__header-cell--frozen":"",i&&n?`table__header-cell--frozen-${i}-edge`:"",!h1(e)&&e.isSortable?"table__header-cell--sortable":"",h1(e)?"table__cell--selection":"",this.sizingClass(e,t)].filter(Boolean).join(" "),d=this.cellStyle(e,t),C=e.headerAlign??e.align??this.columnAlign,u=["table__header-inner",C!=="left"?`table__header-inner--${C}`:""].filter(Boolean).join(" "),p=this.columnKey(e,t),v=this.isColumnResizable(e)?s`
|
|
3546
3546
|
<span
|
|
3547
3547
|
class="table__resize-handle ${this.resizingKey===p?"table__resize-handle--active":""}"
|
|
3548
3548
|
part="resize-handle"
|
|
@@ -3556,7 +3556,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3556
3556
|
@dblclick=${m=>this.onResizeReset(m,e,t)}
|
|
3557
3557
|
@click=${m=>m.stopPropagation()}
|
|
3558
3558
|
></span>
|
|
3559
|
-
`:h;if(h1(e)){const m=this.renderSelectableRows,w=this.renderSelectedKeys,Z=m.filter(g1=>w.has(g1.key)).length,B=m.length>0&&Z===m.length,e1=Z>0&&!B,
|
|
3559
|
+
`:h;if(h1(e)){const m=this.renderSelectableRows,w=this.renderSelectedKeys,Z=m.filter(g1=>w.has(g1.key)).length,B=m.length>0&&Z===m.length,e1=Z>0&&!B,A2=e.renderHeader?e.renderHeader({areAllRowsSelected:B,hasSelectedRow:Z>0,onChange:g1=>this.toggleAllRows(g1)}):s`
|
|
3560
3560
|
<anduin-checkbox
|
|
3561
3561
|
.checked=${B}
|
|
3562
3562
|
.indeterminate=${e1}
|
|
@@ -3570,7 +3570,7 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
3570
3570
|
scope="col"
|
|
3571
3571
|
data-col="${t}"
|
|
3572
3572
|
style="${d}"
|
|
3573
|
-
><div class="${u}">${
|
|
3573
|
+
><div class="${u}">${A2}</div>${v}</th>
|
|
3574
3574
|
`}const H=this.sortField===e.field,b=H?this.sortDirection:null,x=e.renderHeader?e.renderHeader({column:e,sortDirection:b}):s`<span class="table__header-text">${e.title??""}</span>`,L=e.isSortable?s`
|
|
3575
3575
|
<anduin-icon
|
|
3576
3576
|
class="table__sort-icon ${H?"table__sort-icon--active":""}"
|
|
@@ -4063,4 +4063,4 @@ var AclWebComponents=(function(c){"use strict";var Je,V1;const t7=':root{--color
|
|
|
4063
4063
|
background-color: oklch(from var(--color-gray-0) l c h / 0.6);
|
|
4064
4064
|
cursor: progress;
|
|
4065
4065
|
}
|
|
4066
|
-
`;let _=H3;if(V([a({attribute:!1})],_.prototype,"columns"),V([a({attribute:!1})],_.prototype,"data"),V([a({reflect:!0})],_.prototype,"layout"),V([a({attribute:"render-mode",reflect:!0})],_.prototype,"renderMode"),V([a({type:Number,attribute:"row-height"})],_.prototype,"rowHeight"),V([a()],_.prototype,"height"),V([a({attribute:"max-height"})],_.prototype,"maxHeight"),V([a({attribute:"min-height"})],_.prototype,"minHeight"),V([a({attribute:"resizable-columns",converter:l=>l!=="false"})],_.prototype,"resizableColumns"),V([a({type:Boolean,attribute:"hide-header",reflect:!0})],_.prototype,"hideHeader"),V([a({type:Boolean,reflect:!0})],_.prototype,"loading"),V([a({reflect:!0})],_.prototype,"selectable"),V([a({attribute:"index-column"})],_.prototype,"indexColumn"),V([a({attribute:"column-align"})],_.prototype,"columnAlign"),V([a({attribute:"column-vertical-align"})],_.prototype,"columnVerticalAlign"),V([a({attribute:"sort-field"})],_.prototype,"sortField"),V([a({attribute:"sort-direction"})],_.prototype,"sortDirection"),V([a({type:Boolean,attribute:"data-tree",reflect:!0})],_.prototype,"dataTree"),V([a({attribute:"tree-children-field"})],_.prototype,"treeChildrenField"),V([a({type:Number,attribute:"tree-child-indent"})],_.prototype,"treeChildIndent"),V([a({attribute:"group-by"})],_.prototype,"groupBy"),V([a({attribute:!1})],_.prototype,"selectedRows"),V([a({attribute:!1})],_.prototype,"isRowDisabled"),V([a({attribute:!1})],_.prototype,"onStartExpanded"),V([a({attribute:!1})],_.prototype,"rowClass"),V([a({attribute:!1})],_.prototype,"renderGroupHeader"),V([y()],_.prototype,"expandedKeys"),V([y()],_.prototype,"collapsedGroups"),V([y()],_.prototype,"virtualScrollTop"),V([y()],_.prototype,"viewportHeight"),V([y()],_.prototype,"scrolledX"),V([y()],_.prototype,"scrollableXEnd"),V([y()],_.prototype,"resizedWidths"),V([y()],_.prototype,"resizingKey"),customElements.get("anduin-table")||customElements.define("anduin-table",_),typeof document<"u"&&!document.getElementById("acl-tokens")){const l=document.createElement("style");l.id="acl-tokens",l.textContent=t7,document.head.appendChild(l)}return c.AnduinAvatar=X,c.AnduinBadge=m2,c.AnduinBadgeCount=Y1,c.AnduinButton=R,c.AnduinCalendar=I,c.AnduinCallout=b2,c.AnduinCheckbox=a1,c.AnduinDateInput=$,c.AnduinDatePicker=
|
|
4066
|
+
`;let _=H3;if(V([a({attribute:!1})],_.prototype,"columns"),V([a({attribute:!1})],_.prototype,"data"),V([a({reflect:!0})],_.prototype,"layout"),V([a({attribute:"render-mode",reflect:!0})],_.prototype,"renderMode"),V([a({type:Number,attribute:"row-height"})],_.prototype,"rowHeight"),V([a()],_.prototype,"height"),V([a({attribute:"max-height"})],_.prototype,"maxHeight"),V([a({attribute:"min-height"})],_.prototype,"minHeight"),V([a({attribute:"resizable-columns",converter:l=>l!=="false"})],_.prototype,"resizableColumns"),V([a({type:Boolean,attribute:"hide-header",reflect:!0})],_.prototype,"hideHeader"),V([a({type:Boolean,reflect:!0})],_.prototype,"loading"),V([a({reflect:!0})],_.prototype,"selectable"),V([a({attribute:"index-column"})],_.prototype,"indexColumn"),V([a({attribute:"column-align"})],_.prototype,"columnAlign"),V([a({attribute:"column-vertical-align"})],_.prototype,"columnVerticalAlign"),V([a({attribute:"sort-field"})],_.prototype,"sortField"),V([a({attribute:"sort-direction"})],_.prototype,"sortDirection"),V([a({type:Boolean,attribute:"data-tree",reflect:!0})],_.prototype,"dataTree"),V([a({attribute:"tree-children-field"})],_.prototype,"treeChildrenField"),V([a({type:Number,attribute:"tree-child-indent"})],_.prototype,"treeChildIndent"),V([a({attribute:"group-by"})],_.prototype,"groupBy"),V([a({attribute:!1})],_.prototype,"selectedRows"),V([a({attribute:!1})],_.prototype,"isRowDisabled"),V([a({attribute:!1})],_.prototype,"onStartExpanded"),V([a({attribute:!1})],_.prototype,"rowClass"),V([a({attribute:!1})],_.prototype,"renderGroupHeader"),V([y()],_.prototype,"expandedKeys"),V([y()],_.prototype,"collapsedGroups"),V([y()],_.prototype,"virtualScrollTop"),V([y()],_.prototype,"viewportHeight"),V([y()],_.prototype,"scrolledX"),V([y()],_.prototype,"scrollableXEnd"),V([y()],_.prototype,"resizedWidths"),V([y()],_.prototype,"resizingKey"),customElements.get("anduin-table")||customElements.define("anduin-table",_),typeof document<"u"&&!document.getElementById("acl-tokens")){const l=document.createElement("style");l.id="acl-tokens",l.textContent=t7,document.head.appendChild(l)}return c.AnduinAvatar=X,c.AnduinBadge=m2,c.AnduinBadgeCount=Y1,c.AnduinButton=R,c.AnduinCalendar=I,c.AnduinCallout=b2,c.AnduinCheckbox=a1,c.AnduinDateInput=$,c.AnduinDatePicker=z,c.AnduinDateRange=Q,c.AnduinDateRangeDefault=b5,c.AnduinDateRangeEnd=Oe,c.AnduinDateRangePanel=$2,c.AnduinDateRangeStart=Pe,c.AnduinDivider=q1,c.AnduinDot=H2,c.AnduinDrawer=j,c.AnduinDrawerClose=_e,c.AnduinDropdown=k,c.AnduinField=_2,c.AnduinFieldDescription=T2,c.AnduinFieldError=I2,c.AnduinFieldGroup=F2,c.AnduinFieldLabel=Q1,c.AnduinFileIcon=n2,c.AnduinIcon=W1,c.AnduinInput=O,c.AnduinLoadingState=y2,c.AnduinMenu=b1,c.AnduinMenuItem=A1,c.AnduinModal=ce,c.AnduinModalClose=Ce,c.AnduinNavigation=c1,c.AnduinNavigationItem=n1,c.AnduinPagination=C1,c.AnduinPaginationFirstPage=Ee,c.AnduinPaginationLastPage=$e,c.AnduinPopover=q,c.AnduinPopoverClose=X2,c.AnduinProgress=X1,c.AnduinRadio=o1,c.AnduinRadioGroup=D1,c.AnduinResizableHandle=I1,c.AnduinResizablePanel=T1,c.AnduinResizablePanelGroup=w2,c.AnduinSidebar=c5,c.AnduinSidebarAction=g5,c.AnduinSidebarBadge=f5,c.AnduinSidebarContent=C5,c.AnduinSidebarFooter=E2,c.AnduinSidebarGroup=u5,c.AnduinSidebarGroupLabel=p5,c.AnduinSidebarHeader=R2,c.AnduinSidebarMenu=h5,c.AnduinSidebarMenuItem=u1,c.AnduinSidebarSeparator=v5,c.AnduinSkeleton=t1,c.AnduinSparkleSpinner=K1,c.AnduinSpinner=j1,c.AnduinSuggestion=M,c.AnduinSwitcher=r2,c.AnduinTabContent=t2,c.AnduinTabTrigger=i1,c.AnduinTable=_,c.AnduinTabs=R1,c.AnduinTabsList=e2,c.AnduinTag=E1,c.AnduinTagClose=N2,c.AnduinTextarea=U,c.AnduinTimeline=n5,c.AnduinTimelineDate=r5,c.AnduinTimelineGroup=s5,c.AnduinTimelineItem=l5,c.AnduinTimelineLabel=d5,c.AnduinTimelineTitle=a5,c.AnduinToast=d1,c.AnduinToaster=l2,c.AnduinToggleGroup=W,c.AnduinToggleGroupItem=Y,c.AnduinTooltip=i2,c.AnduinTooltipContent=K2,c.AnduinTooltipTrigger=j2,c.AnduinWell=x2,c.AnduinWellClose=W2,c.BADGE_STYLES=R5,c.CALENDAR_CHANGE=s2,c.CALENDAR_DAY_HOVER=m5,c.CHECKBOX_CHANGE=j3,c.DATE_INPUT_CHANGE=H5,c.DATE_PICKER_CHANGE=Ie,c.DATE_RANGE_CHANGE=Be,c.DRAWER_AFTER_CLOSE_EVENT=He,c.DRAWER_CLOSE_EVENT=e5,c.DROPDOWN_CHANGE=Y5,c.FIELD_LABEL_CLICK=z5,c.FIELD_LABEL_CLICK_COORDINATED=r1,c.FILE_ICONS=he,c.INPUT_CHANGE=A5,c.INPUT_CLEAR=K3,c.MENU_ITEM_CLICK=J2,c.MODAL_AFTER_CLOSE_EVENT=re,c.MODAL_CLOSE_EVENT=o2,c.NAVIGATION_CHANGE=xe,c.NAVIGATION_ITEM_CLICK=i5,c.PAGINATION_CHANGE=Re,c.PAGINATION_JUMP=o5,c.POPOVER_CLOSE=Y2,c.POPOVER_OPEN_CHANGE=q2,c.RADIO_CHANGE=Q2,c.RADIO_GROUP_CHANGE=ue,c.RESIZE_EVENT=Me,c.SIDEBAR_SELECT=ze,c.SUGGESTION_CHANGE=t5,c.SUGGESTION_CLEAR=Ve,c.SUGGESTION_SELECT=Le,c.SWITCHER_CHANGE=be,c.TABLE_CELL_CONTEXT_MENU=Ke,c.TABLE_COLUMN_CLICK=Ge,c.TABLE_COLUMN_RESIZE=X5,c.TABLE_GROUP_TOGGLE=qe,c.TABLE_ROW_CLICK=Ue,c.TABLE_ROW_COLLAPSE=Ye,c.TABLE_ROW_EXPAND=We,c.TABLE_SELECTION_CHANGE=je,c.TABLE_SORT=Ne,c.TAB_CHANGE=Y3,c.TAB_TRIGGER_CLICK=S5,c.TAB_VALUE_CHANGED=V2,c.TAG_CLOSE_CLICK=q3,c.TEXTAREA_CHANGE=W3,c.TOGGLE_GROUP_CHANGE=X3,c.TOGGLE_GROUP_ITEM_CHANGE=J3,c.TOGGLE_GROUP_ITEM_CLICK=G2,c.TOGGLE_GROUP_ITEM_DESELECT=ee,c.TOGGLE_GROUP_ITEM_SELECT=Q3,c.TOOLTIP_CONTENT_POPUP_MOUNTED=T5,c.TOOLTIP_CONTENT_POPUP_UNMOUNTED=I5,c.TOOLTIP_HIDE=U2,c.TOOLTIP_SHOW=P5,c.TOOLTIP_TRIGGER_MOUNTED=O5,c.TOOLTIP_VISIBILITY_CHANGED=F5,c.WELL_CLOSE_CLICK=le,c.addMonths=p1,c.formatISODate=_1,c.getBadgeVariantClass=E5,c.parseISODate=S,c.resolveFileIcon=ge,c.startOfToday=N1,c.toast=m0,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),c})({});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as i, a as e, b as r, c, d as l, e as d, f as t, g as A, h as p, i as u, j as E, k as g, l as T, m as _, n as h, o as x, p as C, q as k, r as O, s as L, t as m, u as I, v as b, w as G, x as N, y as S, z as R, B as P, C as D, D as y, E as H, F as U, G as w, H as B, I as M, J as f, K as F, L as z, M as V, N as K, O as W, P as v, Q as X, R as Y, S as Z, T as j, U as q, V as J, W as Q, X as $, Y as aa, Z as na, _ as oa, $ as sa, a0 as ia, a1 as ea, a2 as ra, a3 as ca, a4 as la, a5 as da, a6 as ta, a7 as Aa, a8 as pa, a9 as ua, aa as Ea, ab as ga, ac as Ta, ad as _a, ae as ha, af as xa, ag as Ca, ah as ka, ai as Oa, aj as La, ak as ma, al as Ia, am as ba, an as Ga, ao as Na, ap as Sa, aq as Ra, ar as Pa, as as Da, at as ya, au as Ha, av as Ua, aw as wa, ax as Ba, ay as Ma, az as fa, aA as Fa, aB as za, aC as Va, aD as Ka, aE as Wa, aF as va, aG as Xa, aH as Ya, aI as Za, aJ as ja, aK as qa, aL as Ja, aM as Qa, aN as $a, aO as an, aP as nn, aQ as on, aR as sn, aS as en, aT as rn, aU as cn, aV as ln, aW as dn, aX as tn, aY as An, aZ as pn, a_ as un, a$ as En, b0 as gn, b1 as Tn, b2 as _n, b3 as hn, b4 as xn, b5 as Cn, b6 as kn, b7 as On, b8 as Ln, b9 as mn, ba as In, bb as bn, bc as Gn, bd as Nn, be as Sn, bf as Rn, bg as Pn, bh as Dn, bi as yn, bj as Hn, bk as Un, bl as wn, bm as Bn, bn as Mn, bo as fn, bp as Fn, bq as zn, br as Vn, bs as Kn, bt as Wn, bu as vn } from "./anduin-table-
|
|
1
|
+
import { A as i, a as e, b as r, c, d as l, e as d, f as t, g as A, h as p, i as u, j as E, k as g, l as T, m as _, n as h, o as x, p as C, q as k, r as O, s as L, t as m, u as I, v as b, w as G, x as N, y as S, z as R, B as P, C as D, D as y, E as H, F as U, G as w, H as B, I as M, J as f, K as F, L as z, M as V, N as K, O as W, P as v, Q as X, R as Y, S as Z, T as j, U as q, V as J, W as Q, X as $, Y as aa, Z as na, _ as oa, $ as sa, a0 as ia, a1 as ea, a2 as ra, a3 as ca, a4 as la, a5 as da, a6 as ta, a7 as Aa, a8 as pa, a9 as ua, aa as Ea, ab as ga, ac as Ta, ad as _a, ae as ha, af as xa, ag as Ca, ah as ka, ai as Oa, aj as La, ak as ma, al as Ia, am as ba, an as Ga, ao as Na, ap as Sa, aq as Ra, ar as Pa, as as Da, at as ya, au as Ha, av as Ua, aw as wa, ax as Ba, ay as Ma, az as fa, aA as Fa, aB as za, aC as Va, aD as Ka, aE as Wa, aF as va, aG as Xa, aH as Ya, aI as Za, aJ as ja, aK as qa, aL as Ja, aM as Qa, aN as $a, aO as an, aP as nn, aQ as on, aR as sn, aS as en, aT as rn, aU as cn, aV as ln, aW as dn, aX as tn, aY as An, aZ as pn, a_ as un, a$ as En, b0 as gn, b1 as Tn, b2 as _n, b3 as hn, b4 as xn, b5 as Cn, b6 as kn, b7 as On, b8 as Ln, b9 as mn, ba as In, bb as bn, bc as Gn, bd as Nn, be as Sn, bf as Rn, bg as Pn, bh as Dn, bi as yn, bj as Hn, bk as Un, bl as wn, bm as Bn, bn as Mn, bo as fn, bp as Fn, bq as zn, br as Vn, bs as Kn, bt as Wn, bu as vn } from "./anduin-table-CAiteM1b.js";
|
|
2
2
|
const n = ':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");
|
|
@@ -4159,10 +4159,10 @@ function B7(r) {
|
|
|
4159
4159
|
for (let t = 0; t < r.length; t++) e = e * 31 + r.charCodeAt(t) >>> 0;
|
|
4160
4160
|
return k3[e % k3.length];
|
|
4161
4161
|
}
|
|
4162
|
-
function P7(r) {
|
|
4163
|
-
var
|
|
4164
|
-
const
|
|
4165
|
-
return e
|
|
4162
|
+
function P7(r, e = 2) {
|
|
4163
|
+
var i;
|
|
4164
|
+
const t = r.trim().split(/\s+/), o = ((i = t[0]) == null ? void 0 : i[0]) ?? "";
|
|
4165
|
+
return e < 2 || t.length === 1 ? o.toUpperCase() : (o + (t[t.length - 1][0] ?? "")).toUpperCase();
|
|
4166
4166
|
}
|
|
4167
4167
|
const L4 = class L4 extends h {
|
|
4168
4168
|
constructor() {
|
|
@@ -4175,7 +4175,7 @@ const L4 = class L4 extends h {
|
|
|
4175
4175
|
return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
|
|
4176
4176
|
}
|
|
4177
4177
|
render() {
|
|
4178
|
-
const e = !!this.src && !this._imgError, t = this.name || this.icon ? B7(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, o = this.name ? P7(this.name) : "";
|
|
4178
|
+
const e = !!this.src && !this._imgError, t = this.name || this.icon ? B7(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, o = this.name ? P7(this.name, this.size <= 20 ? 1 : 2) : "";
|
|
4179
4179
|
return s`
|
|
4180
4180
|
<div
|
|
4181
4181
|
class="avatar avatar--${this.shape} avatar--${this.size}"
|
|
@@ -1459,7 +1459,7 @@
|
|
|
1459
1459
|
}
|
|
1460
1460
|
.group--vertical { flex-direction: column; }
|
|
1461
1461
|
.group--horizontal { flex-direction: row; flex-wrap: wrap; align-items: center; }
|
|
1462
|
-
`;let A1=S4;h1([a()],A1.prototype,"value");h1([a()],A1.prototype,"name");h1([a()],A1.prototype,"orientation");customElements.get("anduin-radio-group")||customElements.define("anduin-radio-group",A1);var a0=Object.defineProperty,O1=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&a0(e,t,i),i};const T3=[{bg:"#6172F3",text:"#ffffff"},{bg:"#B692F6",text:"#ffffff"},{bg:"#F670C7",text:"#ffffff"},{bg:"#F79009",text:"#ffffff"},{bg:"#32D583",text:"#ffffff"},{bg:"#36BFFA",text:"#ffffff"},{bg:"#F97066",text:"#ffffff"},{bg:"#7A5AF8",text:"#ffffff"}];function s0(r){let e=0;for(let t=0;t<r.length;t++)e=e*31+r.charCodeAt(t)>>>0;return T3[e%T3.length]}function d0(r){var
|
|
1462
|
+
`;let A1=S4;h1([a()],A1.prototype,"value");h1([a()],A1.prototype,"name");h1([a()],A1.prototype,"orientation");customElements.get("anduin-radio-group")||customElements.define("anduin-radio-group",A1);var a0=Object.defineProperty,O1=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&a0(e,t,i),i};const T3=[{bg:"#6172F3",text:"#ffffff"},{bg:"#B692F6",text:"#ffffff"},{bg:"#F670C7",text:"#ffffff"},{bg:"#F79009",text:"#ffffff"},{bg:"#32D583",text:"#ffffff"},{bg:"#36BFFA",text:"#ffffff"},{bg:"#F97066",text:"#ffffff"},{bg:"#7A5AF8",text:"#ffffff"}];function s0(r){let e=0;for(let t=0;t<r.length;t++)e=e*31+r.charCodeAt(t)>>>0;return T3[e%T3.length]}function d0(r,e=2){var i;const t=r.trim().split(/\s+/),o=((i=t[0])==null?void 0:i[0])??"";return e<2||t.length===1?o.toUpperCase():(o+(t[t.length-1][0]??"")).toUpperCase()}const D4=class D4 extends h{constructor(){super(...arguments),this.src="",this.name="",this.alt="",this.icon="",this.size=32,this.shape="circle",this._imgError=!1}_onImgError(){this._imgError=!0}_iconSize(){return this.size<=16?10:this.size<=20?12:this.size<=24?14:18}render(){const e=!!this.src&&!this._imgError,t=this.name||this.icon?s0(this.name||this.icon):{bg:"#F2F4F7",text:"#667085"},o=this.name?d0(this.name,this.size<=20?1:2):"";return s`
|
|
1463
1463
|
<div
|
|
1464
1464
|
class="avatar avatar--${this.shape} avatar--${this.size}"
|
|
1465
1465
|
style=${e?"":`background:${t.bg}`}
|
package/dist/react.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@lit/react"),e=require("./anduin-table-B7fNgatM.cjs"),t=a.createComponent({react:n,tagName:"anduin-spinner",elementClass:e.AnduinSpinner}),o=a.createComponent({react:n,tagName:"anduin-sparkle-spinner",elementClass:e.AnduinSparkleSpinner}),i=a.createComponent({react:n,tagName:"anduin-icon",elementClass:e.AnduinIcon}),r=a.createComponent({react:n,tagName:"anduin-badge",elementClass:e.AnduinBadge}),C=a.createComponent({react:n,tagName:"anduin-badge-count",elementClass:e.AnduinBadgeCount}),s=a.createComponent({react:n,tagName:"anduin-button",elementClass:e.AnduinButton}),l=a.createComponent({react:n,tagName:"anduin-callout",elementClass:e.AnduinCallout}),c=a.createComponent({react:n,tagName:"anduin-divider",elementClass:e.AnduinDivider}),d=a.createComponent({react:n,tagName:"anduin-dot",elementClass:e.AnduinDot}),m=a.createComponent({react:n,tagName:"anduin-progress",elementClass:e.AnduinProgress}),E=a.createComponent({react:n,tagName:"anduin-skeleton",elementClass:e.AnduinSkeleton}),u=a.createComponent({react:n,tagName:"anduin-loading-state",elementClass:e.AnduinLoadingState}),A=a.createComponent({react:n,tagName:"anduin-field",elementClass:e.AnduinField}),g=a.createComponent({react:n,tagName:"anduin-field-label",elementClass:e.AnduinFieldLabel}),N=a.createComponent({react:n,tagName:"anduin-field-description",elementClass:e.AnduinFieldDescription}),T=a.createComponent({react:n,tagName:"anduin-field-error",elementClass:e.AnduinFieldError}),_=a.createComponent({react:n,tagName:"anduin-field-group",elementClass:e.AnduinFieldGroup}),p=a.createComponent({react:n,tagName:"anduin-radio",elementClass:e.AnduinRadio,events:{onChange:e.RADIO_CHANGE}}),G=a.createComponent({react:n,tagName:"anduin-radio-group",elementClass:e.AnduinRadioGroup,events:{onChange:e.RADIO_GROUP_CHANGE}}),L=a.createComponent({react:n,tagName:"anduin-checkbox",elementClass:e.AnduinCheckbox,events:{onChange:e.CHECKBOX_CHANGE}}),S=a.createComponent({react:n,tagName:"anduin-input",elementClass:e.AnduinInput,events:{onChange:e.INPUT_CHANGE,onClear:e.INPUT_CLEAR}}),O=a.createComponent({react:n,tagName:"anduin-textarea",elementClass:e.AnduinTextarea,events:{onChange:e.TEXTAREA_CHANGE}}),R=a.createComponent({react:n,tagName:"anduin-popover",elementClass:e.AnduinPopover,events:{onOpenChange:e.POPOVER_OPEN_CHANGE}}),I=a.createComponent({react:n,tagName:"anduin-popover-close",elementClass:e.AnduinPopoverClose}),b=a.createComponent({react:n,tagName:"anduin-menu",elementClass:e.AnduinMenu}),D=a.createComponent({react:n,tagName:"anduin-menu-item",elementClass:e.AnduinMenuItem}),P=a.createComponent({react:n,tagName:"anduin-modal",elementClass:e.AnduinModal,events:{onClose:e.MODAL_CLOSE_EVENT,onAfterClose:e.MODAL_AFTER_CLOSE_EVENT}}),H=a.createComponent({react:n,tagName:"anduin-modal-close",elementClass:e.AnduinModalClose}),v=a.createComponent({react:n,tagName:"anduin-tabs",elementClass:e.AnduinTabs,events:{onChange:e.TAB_CHANGE}}),B=a.createComponent({react:n,tagName:"anduin-tabs-list",elementClass:e.AnduinTabsList}),M=a.createComponent({react:n,tagName:"anduin-tab-trigger",elementClass:e.AnduinTabTrigger}),U=a.createComponent({react:n,tagName:"anduin-tab-content",elementClass:e.AnduinTabContent}),F=a.createComponent({react:n,tagName:"anduin-tag",elementClass:e.AnduinTag}),W=a.createComponent({react:n,tagName:"anduin-tag-close",elementClass:e.AnduinTagClose,events:{onClick:e.TAG_CLOSE_CLICK}}),h=a.createComponent({react:n,tagName:"anduin-toggle-group",elementClass:e.AnduinToggleGroup,events:{onChange:e.TOGGLE_GROUP_CHANGE}}),V=a.createComponent({react:n,tagName:"anduin-toggle-group-item",elementClass:e.AnduinToggleGroupItem,events:{onChange:e.TOGGLE_GROUP_ITEM_CHANGE,onSelect:e.TOGGLE_GROUP_ITEM_SELECT,onDeselect:e.TOGGLE_GROUP_ITEM_DESELECT}}),w=a.createComponent({react:n,tagName:"anduin-tooltip",elementClass:e.AnduinTooltip}),k=a.createComponent({react:n,tagName:"anduin-tooltip-trigger",elementClass:e.AnduinTooltipTrigger}),K=a.createComponent({react:n,tagName:"anduin-tooltip-content",elementClass:e.AnduinTooltipContent}),f=a.createComponent({react:n,tagName:"anduin-well",elementClass:e.AnduinWell}),z=a.createComponent({react:n,tagName:"anduin-well-close",elementClass:e.AnduinWellClose,events:{onClick:e.WELL_CLOSE_CLICK}}),X=a.createComponent({react:n,tagName:"anduin-avatar",elementClass:e.AnduinAvatar}),x=a.createComponent({react:n,tagName:"anduin-file-icon",elementClass:e.AnduinFileIcon}),Z=a.createComponent({react:n,tagName:"anduin-toast",elementClass:e.AnduinToast}),q=a.createComponent({react:n,tagName:"anduin-toaster",elementClass:e.AnduinToaster}),y=a.createComponent({react:n,tagName:"anduin-dropdown",elementClass:e.AnduinDropdown,events:{onChange:e.DROPDOWN_CHANGE}}),j=a.createComponent({react:n,tagName:"anduin-drawer",elementClass:e.AnduinDrawer,events:{onClose:e.DRAWER_CLOSE_EVENT,onAfterClose:e.DRAWER_AFTER_CLOSE_EVENT}}),J=a.createComponent({react:n,tagName:"anduin-drawer-close",elementClass:e.AnduinDrawerClose}),Q=a.createComponent({react:n,tagName:"anduin-switcher",elementClass:e.AnduinSwitcher,events:{onChange:e.SWITCHER_CHANGE}}),Y=a.createComponent({react:n,tagName:"anduin-suggestion",elementClass:e.AnduinSuggestion,events:{onChange:e.SUGGESTION_CHANGE,onSelect:e.SUGGESTION_SELECT,onClear:e.SUGGESTION_CLEAR}}),$=a.createComponent({react:n,tagName:"anduin-navigation",elementClass:e.AnduinNavigation,events:{onChange:e.NAVIGATION_CHANGE}}),ee=a.createComponent({react:n,tagName:"anduin-navigation-item",elementClass:e.AnduinNavigationItem}),ne=a.createComponent({react:n,tagName:"anduin-resizable-panel-group",elementClass:e.AnduinResizablePanelGroup}),ae=a.createComponent({react:n,tagName:"anduin-resizable-panel",elementClass:e.AnduinResizablePanel}),te=a.createComponent({react:n,tagName:"anduin-resizable-handle",elementClass:e.AnduinResizableHandle,events:{onResize:e.RESIZE_EVENT}}),oe=a.createComponent({react:n,tagName:"anduin-pagination",elementClass:e.AnduinPagination,events:{onValueChange:e.PAGINATION_CHANGE}}),ie=a.createComponent({react:n,tagName:"anduin-pagination-first-page",elementClass:e.AnduinPaginationFirstPage}),re=a.createComponent({react:n,tagName:"anduin-pagination-last-page",elementClass:e.AnduinPaginationLastPage}),Ce=a.createComponent({react:n,tagName:"anduin-sidebar",elementClass:e.AnduinSidebar}),se=a.createComponent({react:n,tagName:"anduin-sidebar-content",elementClass:e.AnduinSidebarContent}),le=a.createComponent({react:n,tagName:"anduin-sidebar-header",elementClass:e.AnduinSidebarHeader}),ce=a.createComponent({react:n,tagName:"anduin-sidebar-footer",elementClass:e.AnduinSidebarFooter}),de=a.createComponent({react:n,tagName:"anduin-sidebar-group",elementClass:e.AnduinSidebarGroup}),me=a.createComponent({react:n,tagName:"anduin-sidebar-group-label",elementClass:e.AnduinSidebarGroupLabel}),Ee=a.createComponent({react:n,tagName:"anduin-sidebar-menu",elementClass:e.AnduinSidebarMenu}),ue=a.createComponent({react:n,tagName:"anduin-sidebar-menu-item",elementClass:e.AnduinSidebarMenuItem,events:{onSelect:e.SIDEBAR_SELECT}}),Ae=a.createComponent({react:n,tagName:"anduin-sidebar-action",elementClass:e.AnduinSidebarAction}),ge=a.createComponent({react:n,tagName:"anduin-sidebar-badge",elementClass:e.AnduinSidebarBadge}),Ne=a.createComponent({react:n,tagName:"anduin-sidebar-separator",elementClass:e.AnduinSidebarSeparator}),Te=a.createComponent({react:n,tagName:"anduin-timeline",elementClass:e.AnduinTimeline}),_e=a.createComponent({react:n,tagName:"anduin-timeline-item",elementClass:e.AnduinTimelineItem}),pe=a.createComponent({react:n,tagName:"anduin-timeline-date",elementClass:e.AnduinTimelineDate}),Ge=a.createComponent({react:n,tagName:"anduin-timeline-title",elementClass:e.AnduinTimelineTitle}),Le=a.createComponent({react:n,tagName:"anduin-timeline-group",elementClass:e.AnduinTimelineGroup}),Se=a.createComponent({react:n,tagName:"anduin-timeline-label",elementClass:e.AnduinTimelineLabel}),Oe=a.createComponent({react:n,tagName:"anduin-calendar",elementClass:e.AnduinCalendar,events:{onValueChange:e.CALENDAR_CHANGE}}),Re=a.createComponent({react:n,tagName:"anduin-date-range",elementClass:e.AnduinDateRange,events:{onChange:e.DATE_RANGE_CHANGE}}),Ie=a.createComponent({react:n,tagName:"anduin-date-range-default",elementClass:e.AnduinDateRangeDefault}),be=a.createComponent({react:n,tagName:"anduin-date-range-start",elementClass:e.AnduinDateRangeStart}),De=a.createComponent({react:n,tagName:"anduin-date-range-end",elementClass:e.AnduinDateRangeEnd}),Pe=a.createComponent({react:n,tagName:"anduin-date-input",elementClass:e.AnduinDateInput,events:{onValueChange:e.DATE_INPUT_CHANGE}}),He=a.createComponent({react:n,tagName:"anduin-date-picker",elementClass:e.AnduinDatePicker,events:{onValueChange:e.DATE_PICKER_CHANGE}}),ve=a.createComponent({react:n,tagName:"anduin-table",elementClass:e.AnduinTable,events:{onSort:e.TABLE_SORT,onColumnClick:e.TABLE_COLUMN_CLICK,onRowClick:e.TABLE_ROW_CLICK,onSelectionChange:e.TABLE_SELECTION_CHANGE,onCellContextMenu:e.TABLE_CELL_CONTEXT_MENU,onRowExpand:e.TABLE_ROW_EXPAND,onRowCollapse:e.TABLE_ROW_COLLAPSE,onGroupToggle:e.TABLE_GROUP_TOGGLE,onColumnResize:e.TABLE_COLUMN_RESIZE}});exports.CALENDAR_CHANGE=e.CALENDAR_CHANGE;exports.CHECKBOX_CHANGE=e.CHECKBOX_CHANGE;exports.DATE_INPUT_CHANGE=e.DATE_INPUT_CHANGE;exports.DATE_PICKER_CHANGE=e.DATE_PICKER_CHANGE;exports.DATE_RANGE_CHANGE=e.DATE_RANGE_CHANGE;exports.DRAWER_AFTER_CLOSE_EVENT=e.DRAWER_AFTER_CLOSE_EVENT;exports.DRAWER_CLOSE_EVENT=e.DRAWER_CLOSE_EVENT;exports.DROPDOWN_CHANGE=e.DROPDOWN_CHANGE;exports.INPUT_CHANGE=e.INPUT_CHANGE;exports.INPUT_CLEAR=e.INPUT_CLEAR;exports.MENU_ITEM_CLICK=e.MENU_ITEM_CLICK;exports.MODAL_AFTER_CLOSE_EVENT=e.MODAL_AFTER_CLOSE_EVENT;exports.MODAL_CLOSE_EVENT=e.MODAL_CLOSE_EVENT;exports.NAVIGATION_CHANGE=e.NAVIGATION_CHANGE;exports.PAGINATION_CHANGE=e.PAGINATION_CHANGE;exports.POPOVER_OPEN_CHANGE=e.POPOVER_OPEN_CHANGE;exports.RADIO_CHANGE=e.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=e.RADIO_GROUP_CHANGE;exports.RESIZE_EVENT=e.RESIZE_EVENT;exports.SIDEBAR_SELECT=e.SIDEBAR_SELECT;exports.SUGGESTION_CHANGE=e.SUGGESTION_CHANGE;exports.SUGGESTION_CLEAR=e.SUGGESTION_CLEAR;exports.SUGGESTION_SELECT=e.SUGGESTION_SELECT;exports.SWITCHER_CHANGE=e.SWITCHER_CHANGE;exports.TABLE_CELL_CONTEXT_MENU=e.TABLE_CELL_CONTEXT_MENU;exports.TABLE_COLUMN_CLICK=e.TABLE_COLUMN_CLICK;exports.TABLE_COLUMN_RESIZE=e.TABLE_COLUMN_RESIZE;exports.TABLE_GROUP_TOGGLE=e.TABLE_GROUP_TOGGLE;exports.TABLE_ROW_CLICK=e.TABLE_ROW_CLICK;exports.TABLE_ROW_COLLAPSE=e.TABLE_ROW_COLLAPSE;exports.TABLE_ROW_EXPAND=e.TABLE_ROW_EXPAND;exports.TABLE_SELECTION_CHANGE=e.TABLE_SELECTION_CHANGE;exports.TABLE_SORT=e.TABLE_SORT;exports.TAB_CHANGE=e.TAB_CHANGE;exports.TAG_CLOSE_CLICK=e.TAG_CLOSE_CLICK;exports.TEXTAREA_CHANGE=e.TEXTAREA_CHANGE;exports.TOGGLE_GROUP_CHANGE=e.TOGGLE_GROUP_CHANGE;exports.TOGGLE_GROUP_ITEM_CHANGE=e.TOGGLE_GROUP_ITEM_CHANGE;exports.TOGGLE_GROUP_ITEM_DESELECT=e.TOGGLE_GROUP_ITEM_DESELECT;exports.TOGGLE_GROUP_ITEM_SELECT=e.TOGGLE_GROUP_ITEM_SELECT;exports.WELL_CLOSE_CLICK=e.WELL_CLOSE_CLICK;exports.Avatar=X;exports.Badge=r;exports.BadgeCount=C;exports.Button=s;exports.Calendar=Oe;exports.Callout=l;exports.Checkbox=L;exports.DateInput=Pe;exports.DatePicker=He;exports.DateRange=Re;exports.DateRangeDefault=Ie;exports.DateRangeEnd=De;exports.DateRangeStart=be;exports.Divider=c;exports.Dot=d;exports.Drawer=j;exports.DrawerClose=J;exports.Dropdown=y;exports.Field=A;exports.FieldDescription=N;exports.FieldError=T;exports.FieldGroup=_;exports.FieldLabel=g;exports.FileIcon=x;exports.Icon=i;exports.Input=S;exports.LoadingState=u;exports.Menu=b;exports.MenuItem=D;exports.Modal=P;exports.ModalClose=H;exports.Navigation=$;exports.NavigationItem=ee;exports.Pagination=oe;exports.PaginationFirstPage=ie;exports.PaginationLastPage=re;exports.Popover=R;exports.PopoverClose=I;exports.Progress=m;exports.Radio=p;exports.RadioGroup=G;exports.ResizableHandle=te;exports.ResizablePanel=ae;exports.ResizablePanelGroup=ne;exports.Sidebar=Ce;exports.SidebarAction=Ae;exports.SidebarBadge=ge;exports.SidebarContent=se;exports.SidebarFooter=ce;exports.SidebarGroup=de;exports.SidebarGroupLabel=me;exports.SidebarHeader=le;exports.SidebarMenu=Ee;exports.SidebarMenuItem=ue;exports.SidebarSeparator=Ne;exports.Skeleton=E;exports.SparkleSpinner=o;exports.Spinner=t;exports.Suggestion=Y;exports.Switcher=Q;exports.TabContent=U;exports.TabTrigger=M;exports.Table=ve;exports.Tabs=v;exports.TabsList=B;exports.Tag=F;exports.TagClose=W;exports.Textarea=O;exports.Timeline=Te;exports.TimelineDate=pe;exports.TimelineGroup=Le;exports.TimelineItem=_e;exports.TimelineLabel=Se;exports.TimelineTitle=Ge;exports.Toast=Z;exports.Toaster=q;exports.ToggleGroup=h;exports.ToggleGroupItem=V;exports.Tooltip=w;exports.TooltipContent=K;exports.TooltipTrigger=k;exports.Well=f;exports.WellClose=z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@lit/react"),e=require("./anduin-table-DWWe0zq8.cjs"),t=a.createComponent({react:n,tagName:"anduin-spinner",elementClass:e.AnduinSpinner}),o=a.createComponent({react:n,tagName:"anduin-sparkle-spinner",elementClass:e.AnduinSparkleSpinner}),i=a.createComponent({react:n,tagName:"anduin-icon",elementClass:e.AnduinIcon}),r=a.createComponent({react:n,tagName:"anduin-badge",elementClass:e.AnduinBadge}),C=a.createComponent({react:n,tagName:"anduin-badge-count",elementClass:e.AnduinBadgeCount}),s=a.createComponent({react:n,tagName:"anduin-button",elementClass:e.AnduinButton}),l=a.createComponent({react:n,tagName:"anduin-callout",elementClass:e.AnduinCallout}),c=a.createComponent({react:n,tagName:"anduin-divider",elementClass:e.AnduinDivider}),d=a.createComponent({react:n,tagName:"anduin-dot",elementClass:e.AnduinDot}),m=a.createComponent({react:n,tagName:"anduin-progress",elementClass:e.AnduinProgress}),E=a.createComponent({react:n,tagName:"anduin-skeleton",elementClass:e.AnduinSkeleton}),u=a.createComponent({react:n,tagName:"anduin-loading-state",elementClass:e.AnduinLoadingState}),A=a.createComponent({react:n,tagName:"anduin-field",elementClass:e.AnduinField}),g=a.createComponent({react:n,tagName:"anduin-field-label",elementClass:e.AnduinFieldLabel}),N=a.createComponent({react:n,tagName:"anduin-field-description",elementClass:e.AnduinFieldDescription}),T=a.createComponent({react:n,tagName:"anduin-field-error",elementClass:e.AnduinFieldError}),_=a.createComponent({react:n,tagName:"anduin-field-group",elementClass:e.AnduinFieldGroup}),p=a.createComponent({react:n,tagName:"anduin-radio",elementClass:e.AnduinRadio,events:{onChange:e.RADIO_CHANGE}}),G=a.createComponent({react:n,tagName:"anduin-radio-group",elementClass:e.AnduinRadioGroup,events:{onChange:e.RADIO_GROUP_CHANGE}}),L=a.createComponent({react:n,tagName:"anduin-checkbox",elementClass:e.AnduinCheckbox,events:{onChange:e.CHECKBOX_CHANGE}}),S=a.createComponent({react:n,tagName:"anduin-input",elementClass:e.AnduinInput,events:{onChange:e.INPUT_CHANGE,onClear:e.INPUT_CLEAR}}),O=a.createComponent({react:n,tagName:"anduin-textarea",elementClass:e.AnduinTextarea,events:{onChange:e.TEXTAREA_CHANGE}}),R=a.createComponent({react:n,tagName:"anduin-popover",elementClass:e.AnduinPopover,events:{onOpenChange:e.POPOVER_OPEN_CHANGE}}),I=a.createComponent({react:n,tagName:"anduin-popover-close",elementClass:e.AnduinPopoverClose}),b=a.createComponent({react:n,tagName:"anduin-menu",elementClass:e.AnduinMenu}),D=a.createComponent({react:n,tagName:"anduin-menu-item",elementClass:e.AnduinMenuItem}),P=a.createComponent({react:n,tagName:"anduin-modal",elementClass:e.AnduinModal,events:{onClose:e.MODAL_CLOSE_EVENT,onAfterClose:e.MODAL_AFTER_CLOSE_EVENT}}),H=a.createComponent({react:n,tagName:"anduin-modal-close",elementClass:e.AnduinModalClose}),v=a.createComponent({react:n,tagName:"anduin-tabs",elementClass:e.AnduinTabs,events:{onChange:e.TAB_CHANGE}}),B=a.createComponent({react:n,tagName:"anduin-tabs-list",elementClass:e.AnduinTabsList}),M=a.createComponent({react:n,tagName:"anduin-tab-trigger",elementClass:e.AnduinTabTrigger}),U=a.createComponent({react:n,tagName:"anduin-tab-content",elementClass:e.AnduinTabContent}),F=a.createComponent({react:n,tagName:"anduin-tag",elementClass:e.AnduinTag}),W=a.createComponent({react:n,tagName:"anduin-tag-close",elementClass:e.AnduinTagClose,events:{onClick:e.TAG_CLOSE_CLICK}}),h=a.createComponent({react:n,tagName:"anduin-toggle-group",elementClass:e.AnduinToggleGroup,events:{onChange:e.TOGGLE_GROUP_CHANGE}}),V=a.createComponent({react:n,tagName:"anduin-toggle-group-item",elementClass:e.AnduinToggleGroupItem,events:{onChange:e.TOGGLE_GROUP_ITEM_CHANGE,onSelect:e.TOGGLE_GROUP_ITEM_SELECT,onDeselect:e.TOGGLE_GROUP_ITEM_DESELECT}}),w=a.createComponent({react:n,tagName:"anduin-tooltip",elementClass:e.AnduinTooltip}),k=a.createComponent({react:n,tagName:"anduin-tooltip-trigger",elementClass:e.AnduinTooltipTrigger}),K=a.createComponent({react:n,tagName:"anduin-tooltip-content",elementClass:e.AnduinTooltipContent}),f=a.createComponent({react:n,tagName:"anduin-well",elementClass:e.AnduinWell}),z=a.createComponent({react:n,tagName:"anduin-well-close",elementClass:e.AnduinWellClose,events:{onClick:e.WELL_CLOSE_CLICK}}),X=a.createComponent({react:n,tagName:"anduin-avatar",elementClass:e.AnduinAvatar}),x=a.createComponent({react:n,tagName:"anduin-file-icon",elementClass:e.AnduinFileIcon}),Z=a.createComponent({react:n,tagName:"anduin-toast",elementClass:e.AnduinToast}),q=a.createComponent({react:n,tagName:"anduin-toaster",elementClass:e.AnduinToaster}),y=a.createComponent({react:n,tagName:"anduin-dropdown",elementClass:e.AnduinDropdown,events:{onChange:e.DROPDOWN_CHANGE}}),j=a.createComponent({react:n,tagName:"anduin-drawer",elementClass:e.AnduinDrawer,events:{onClose:e.DRAWER_CLOSE_EVENT,onAfterClose:e.DRAWER_AFTER_CLOSE_EVENT}}),J=a.createComponent({react:n,tagName:"anduin-drawer-close",elementClass:e.AnduinDrawerClose}),Q=a.createComponent({react:n,tagName:"anduin-switcher",elementClass:e.AnduinSwitcher,events:{onChange:e.SWITCHER_CHANGE}}),Y=a.createComponent({react:n,tagName:"anduin-suggestion",elementClass:e.AnduinSuggestion,events:{onChange:e.SUGGESTION_CHANGE,onSelect:e.SUGGESTION_SELECT,onClear:e.SUGGESTION_CLEAR}}),$=a.createComponent({react:n,tagName:"anduin-navigation",elementClass:e.AnduinNavigation,events:{onChange:e.NAVIGATION_CHANGE}}),ee=a.createComponent({react:n,tagName:"anduin-navigation-item",elementClass:e.AnduinNavigationItem}),ne=a.createComponent({react:n,tagName:"anduin-resizable-panel-group",elementClass:e.AnduinResizablePanelGroup}),ae=a.createComponent({react:n,tagName:"anduin-resizable-panel",elementClass:e.AnduinResizablePanel}),te=a.createComponent({react:n,tagName:"anduin-resizable-handle",elementClass:e.AnduinResizableHandle,events:{onResize:e.RESIZE_EVENT}}),oe=a.createComponent({react:n,tagName:"anduin-pagination",elementClass:e.AnduinPagination,events:{onValueChange:e.PAGINATION_CHANGE}}),ie=a.createComponent({react:n,tagName:"anduin-pagination-first-page",elementClass:e.AnduinPaginationFirstPage}),re=a.createComponent({react:n,tagName:"anduin-pagination-last-page",elementClass:e.AnduinPaginationLastPage}),Ce=a.createComponent({react:n,tagName:"anduin-sidebar",elementClass:e.AnduinSidebar}),se=a.createComponent({react:n,tagName:"anduin-sidebar-content",elementClass:e.AnduinSidebarContent}),le=a.createComponent({react:n,tagName:"anduin-sidebar-header",elementClass:e.AnduinSidebarHeader}),ce=a.createComponent({react:n,tagName:"anduin-sidebar-footer",elementClass:e.AnduinSidebarFooter}),de=a.createComponent({react:n,tagName:"anduin-sidebar-group",elementClass:e.AnduinSidebarGroup}),me=a.createComponent({react:n,tagName:"anduin-sidebar-group-label",elementClass:e.AnduinSidebarGroupLabel}),Ee=a.createComponent({react:n,tagName:"anduin-sidebar-menu",elementClass:e.AnduinSidebarMenu}),ue=a.createComponent({react:n,tagName:"anduin-sidebar-menu-item",elementClass:e.AnduinSidebarMenuItem,events:{onSelect:e.SIDEBAR_SELECT}}),Ae=a.createComponent({react:n,tagName:"anduin-sidebar-action",elementClass:e.AnduinSidebarAction}),ge=a.createComponent({react:n,tagName:"anduin-sidebar-badge",elementClass:e.AnduinSidebarBadge}),Ne=a.createComponent({react:n,tagName:"anduin-sidebar-separator",elementClass:e.AnduinSidebarSeparator}),Te=a.createComponent({react:n,tagName:"anduin-timeline",elementClass:e.AnduinTimeline}),_e=a.createComponent({react:n,tagName:"anduin-timeline-item",elementClass:e.AnduinTimelineItem}),pe=a.createComponent({react:n,tagName:"anduin-timeline-date",elementClass:e.AnduinTimelineDate}),Ge=a.createComponent({react:n,tagName:"anduin-timeline-title",elementClass:e.AnduinTimelineTitle}),Le=a.createComponent({react:n,tagName:"anduin-timeline-group",elementClass:e.AnduinTimelineGroup}),Se=a.createComponent({react:n,tagName:"anduin-timeline-label",elementClass:e.AnduinTimelineLabel}),Oe=a.createComponent({react:n,tagName:"anduin-calendar",elementClass:e.AnduinCalendar,events:{onValueChange:e.CALENDAR_CHANGE}}),Re=a.createComponent({react:n,tagName:"anduin-date-range",elementClass:e.AnduinDateRange,events:{onChange:e.DATE_RANGE_CHANGE}}),Ie=a.createComponent({react:n,tagName:"anduin-date-range-default",elementClass:e.AnduinDateRangeDefault}),be=a.createComponent({react:n,tagName:"anduin-date-range-start",elementClass:e.AnduinDateRangeStart}),De=a.createComponent({react:n,tagName:"anduin-date-range-end",elementClass:e.AnduinDateRangeEnd}),Pe=a.createComponent({react:n,tagName:"anduin-date-input",elementClass:e.AnduinDateInput,events:{onValueChange:e.DATE_INPUT_CHANGE}}),He=a.createComponent({react:n,tagName:"anduin-date-picker",elementClass:e.AnduinDatePicker,events:{onValueChange:e.DATE_PICKER_CHANGE}}),ve=a.createComponent({react:n,tagName:"anduin-table",elementClass:e.AnduinTable,events:{onSort:e.TABLE_SORT,onColumnClick:e.TABLE_COLUMN_CLICK,onRowClick:e.TABLE_ROW_CLICK,onSelectionChange:e.TABLE_SELECTION_CHANGE,onCellContextMenu:e.TABLE_CELL_CONTEXT_MENU,onRowExpand:e.TABLE_ROW_EXPAND,onRowCollapse:e.TABLE_ROW_COLLAPSE,onGroupToggle:e.TABLE_GROUP_TOGGLE,onColumnResize:e.TABLE_COLUMN_RESIZE}});exports.CALENDAR_CHANGE=e.CALENDAR_CHANGE;exports.CHECKBOX_CHANGE=e.CHECKBOX_CHANGE;exports.DATE_INPUT_CHANGE=e.DATE_INPUT_CHANGE;exports.DATE_PICKER_CHANGE=e.DATE_PICKER_CHANGE;exports.DATE_RANGE_CHANGE=e.DATE_RANGE_CHANGE;exports.DRAWER_AFTER_CLOSE_EVENT=e.DRAWER_AFTER_CLOSE_EVENT;exports.DRAWER_CLOSE_EVENT=e.DRAWER_CLOSE_EVENT;exports.DROPDOWN_CHANGE=e.DROPDOWN_CHANGE;exports.INPUT_CHANGE=e.INPUT_CHANGE;exports.INPUT_CLEAR=e.INPUT_CLEAR;exports.MENU_ITEM_CLICK=e.MENU_ITEM_CLICK;exports.MODAL_AFTER_CLOSE_EVENT=e.MODAL_AFTER_CLOSE_EVENT;exports.MODAL_CLOSE_EVENT=e.MODAL_CLOSE_EVENT;exports.NAVIGATION_CHANGE=e.NAVIGATION_CHANGE;exports.PAGINATION_CHANGE=e.PAGINATION_CHANGE;exports.POPOVER_OPEN_CHANGE=e.POPOVER_OPEN_CHANGE;exports.RADIO_CHANGE=e.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=e.RADIO_GROUP_CHANGE;exports.RESIZE_EVENT=e.RESIZE_EVENT;exports.SIDEBAR_SELECT=e.SIDEBAR_SELECT;exports.SUGGESTION_CHANGE=e.SUGGESTION_CHANGE;exports.SUGGESTION_CLEAR=e.SUGGESTION_CLEAR;exports.SUGGESTION_SELECT=e.SUGGESTION_SELECT;exports.SWITCHER_CHANGE=e.SWITCHER_CHANGE;exports.TABLE_CELL_CONTEXT_MENU=e.TABLE_CELL_CONTEXT_MENU;exports.TABLE_COLUMN_CLICK=e.TABLE_COLUMN_CLICK;exports.TABLE_COLUMN_RESIZE=e.TABLE_COLUMN_RESIZE;exports.TABLE_GROUP_TOGGLE=e.TABLE_GROUP_TOGGLE;exports.TABLE_ROW_CLICK=e.TABLE_ROW_CLICK;exports.TABLE_ROW_COLLAPSE=e.TABLE_ROW_COLLAPSE;exports.TABLE_ROW_EXPAND=e.TABLE_ROW_EXPAND;exports.TABLE_SELECTION_CHANGE=e.TABLE_SELECTION_CHANGE;exports.TABLE_SORT=e.TABLE_SORT;exports.TAB_CHANGE=e.TAB_CHANGE;exports.TAG_CLOSE_CLICK=e.TAG_CLOSE_CLICK;exports.TEXTAREA_CHANGE=e.TEXTAREA_CHANGE;exports.TOGGLE_GROUP_CHANGE=e.TOGGLE_GROUP_CHANGE;exports.TOGGLE_GROUP_ITEM_CHANGE=e.TOGGLE_GROUP_ITEM_CHANGE;exports.TOGGLE_GROUP_ITEM_DESELECT=e.TOGGLE_GROUP_ITEM_DESELECT;exports.TOGGLE_GROUP_ITEM_SELECT=e.TOGGLE_GROUP_ITEM_SELECT;exports.WELL_CLOSE_CLICK=e.WELL_CLOSE_CLICK;exports.Avatar=X;exports.Badge=r;exports.BadgeCount=C;exports.Button=s;exports.Calendar=Oe;exports.Callout=l;exports.Checkbox=L;exports.DateInput=Pe;exports.DatePicker=He;exports.DateRange=Re;exports.DateRangeDefault=Ie;exports.DateRangeEnd=De;exports.DateRangeStart=be;exports.Divider=c;exports.Dot=d;exports.Drawer=j;exports.DrawerClose=J;exports.Dropdown=y;exports.Field=A;exports.FieldDescription=N;exports.FieldError=T;exports.FieldGroup=_;exports.FieldLabel=g;exports.FileIcon=x;exports.Icon=i;exports.Input=S;exports.LoadingState=u;exports.Menu=b;exports.MenuItem=D;exports.Modal=P;exports.ModalClose=H;exports.Navigation=$;exports.NavigationItem=ee;exports.Pagination=oe;exports.PaginationFirstPage=ie;exports.PaginationLastPage=re;exports.Popover=R;exports.PopoverClose=I;exports.Progress=m;exports.Radio=p;exports.RadioGroup=G;exports.ResizableHandle=te;exports.ResizablePanel=ae;exports.ResizablePanelGroup=ne;exports.Sidebar=Ce;exports.SidebarAction=Ae;exports.SidebarBadge=ge;exports.SidebarContent=se;exports.SidebarFooter=ce;exports.SidebarGroup=de;exports.SidebarGroupLabel=me;exports.SidebarHeader=le;exports.SidebarMenu=Ee;exports.SidebarMenuItem=ue;exports.SidebarSeparator=Ne;exports.Skeleton=E;exports.SparkleSpinner=o;exports.Spinner=t;exports.Suggestion=Y;exports.Switcher=Q;exports.TabContent=U;exports.TabTrigger=M;exports.Table=ve;exports.Tabs=v;exports.TabsList=B;exports.Tag=F;exports.TagClose=W;exports.Textarea=O;exports.Timeline=Te;exports.TimelineDate=pe;exports.TimelineGroup=Le;exports.TimelineItem=_e;exports.TimelineLabel=Se;exports.TimelineTitle=Ge;exports.Toast=Z;exports.Toaster=q;exports.ToggleGroup=h;exports.ToggleGroupItem=V;exports.Tooltip=w;exports.TooltipContent=K;exports.TooltipTrigger=k;exports.Well=f;exports.WellClose=z;
|
package/dist/react.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import a from "react";
|
|
2
2
|
import { createComponent as e } from "@lit/react";
|
|
3
|
-
import { a4 as n, a3 as t, y as s, a as i, b as l, c as o, e as d, n as r, o as u, N as m, a2 as c, B as g, s as C, w as A, t as N, u as E, v as T, aS as b, O as p, aT as _, P as S, ax as G, f as L, aI as R, aH as I, z as D, bb as v, ae as O, aR as P, L as h, M as H, C as M, D as B, aK as f, aL as F, E as k, F as w, b7 as U, aa as W, ab as z, a8 as V, a7 as x, ac as K, ba as X, ad as Z, bc as j, an as q, bf as y, bg as J, bd as Y, ao as $, ap as Q, ar as aa, aq as ea, as as na, bn as ta, at as sa, A as ia, x as la, al as oa, am as da, aD as ra, r as ua, aB as ma, aC as ca, p as ga, q as Ca, aZ as Aa, a6 as Na, aX as Ea, aY as Ta, aW as ba, a5 as pa, aM as _a, G as Sa, H as Ga, S as La, R as Ra, aU as Ia, Q as Da, aO as va, I as Oa, J as Pa, K as ha, T as Ha, W as Ma, _ as Ba, X as fa, Y as Fa, Z as ka, $ as wa, aV as Ua, a0 as Wa, U as za, V as Va, a1 as xa, af as Ka, ai as Xa, ag as Za, ak as ja, ah as qa, aj as ya, av as Ja, d as Ya, aA as $a, i as Qa, j as ae, m as ee, k as ne, ay as te, g as se, az as ie, h as le, b0 as oe, b1 as de, b3 as re, b4 as ue, a_ as me, b5 as ce, b2 as ge, a$ as Ce, b6 as Ae, a9 as Ne } from "./anduin-table-
|
|
4
|
-
import { aJ as $n } from "./anduin-table-
|
|
3
|
+
import { a4 as n, a3 as t, y as s, a as i, b as l, c as o, e as d, n as r, o as u, N as m, a2 as c, B as g, s as C, w as A, t as N, u as E, v as T, aS as b, O as p, aT as _, P as S, ax as G, f as L, aI as R, aH as I, z as D, bb as v, ae as O, aR as P, L as h, M as H, C as M, D as B, aK as f, aL as F, E as k, F as w, b7 as U, aa as W, ab as z, a8 as V, a7 as x, ac as K, ba as X, ad as Z, bc as j, an as q, bf as y, bg as J, bd as Y, ao as $, ap as Q, ar as aa, aq as ea, as as na, bn as ta, at as sa, A as ia, x as la, al as oa, am as da, aD as ra, r as ua, aB as ma, aC as ca, p as ga, q as Ca, aZ as Aa, a6 as Na, aX as Ea, aY as Ta, aW as ba, a5 as pa, aM as _a, G as Sa, H as Ga, S as La, R as Ra, aU as Ia, Q as Da, aO as va, I as Oa, J as Pa, K as ha, T as Ha, W as Ma, _ as Ba, X as fa, Y as Fa, Z as ka, $ as wa, aV as Ua, a0 as Wa, U as za, V as Va, a1 as xa, af as Ka, ai as Xa, ag as Za, ak as ja, ah as qa, aj as ya, av as Ja, d as Ya, aA as $a, i as Qa, j as ae, m as ee, k as ne, ay as te, g as se, az as ie, h as le, b0 as oe, b1 as de, b3 as re, b4 as ue, a_ as me, b5 as ce, b2 as ge, a$ as Ce, b6 as Ae, a9 as Ne } from "./anduin-table-CAiteM1b.js";
|
|
4
|
+
import { aJ as $n } from "./anduin-table-CAiteM1b.js";
|
|
5
5
|
const pe = e({ react: a, tagName: "anduin-spinner", elementClass: n }), _e = e({ react: a, tagName: "anduin-sparkle-spinner", elementClass: t }), Se = e({ react: a, tagName: "anduin-icon", elementClass: s }), Ge = e({ react: a, tagName: "anduin-badge", elementClass: i }), Le = e({ react: a, tagName: "anduin-badge-count", elementClass: l }), Re = e({ react: a, tagName: "anduin-button", elementClass: o }), Ie = e({ react: a, tagName: "anduin-callout", elementClass: d }), De = e({ react: a, tagName: "anduin-divider", elementClass: r }), ve = e({ react: a, tagName: "anduin-dot", elementClass: u }), Oe = e({ react: a, tagName: "anduin-progress", elementClass: m }), Pe = e({ react: a, tagName: "anduin-skeleton", elementClass: c }), he = e({ react: a, tagName: "anduin-loading-state", elementClass: g }), He = e({ react: a, tagName: "anduin-field", elementClass: C }), Me = e({ react: a, tagName: "anduin-field-label", elementClass: A }), Be = e({ react: a, tagName: "anduin-field-description", elementClass: N }), fe = e({ react: a, tagName: "anduin-field-error", elementClass: E }), Fe = e({ react: a, tagName: "anduin-field-group", elementClass: T }), ke = e({
|
|
6
6
|
react: a,
|
|
7
7
|
tagName: "anduin-radio",
|