@xplortech/apollo-core 3.1.0 → 3.2.1
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/.typings/apollo-components.html-data.json +120 -14
- package/build/components/avatar.css +1 -1
- package/build/components/data-card.css +1 -1
- package/build/components/dropdown.css +1 -1
- package/build/components/input-time.css +1 -1
- package/build/components/large-card.css +1 -1
- package/build/components/list-item.css +1 -1
- package/build/components/modal.css +1 -1
- package/build/components/popover.css +1 -1
- package/build/components/side-nav.css +1 -1
- package/build/components/spotlight.css +1 -1
- package/build/components/table-cell-base.css +1 -0
- package/build/components/table-cell.css +1 -0
- package/build/components/table-footer-cell.css +1 -1
- package/build/components/table-header-cell.css +1 -1
- package/build/components/table.css +1 -1
- package/build/components/tag.css +1 -1
- package/build/components/toast.css +1 -1
- package/build/components/toggle.css +1 -1
- package/build/components/toolbar.css +1 -1
- package/build/components/tooltip.css +1 -1
- package/build/components/top-nav.css +1 -1
- package/build/components-manifest.json +19 -3
- package/build/core.css +1 -1
- package/build/style.css +1 -1
- package/build/variables/apollo.css +4 -0
- package/build/variables/field-edge.css +4 -0
- package/build/vendor/flatpickr.css +1 -1
- package/dist/apollo-core/apollo-core.css +1 -1
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-045a4538.entry.js +1 -0
- package/dist/apollo-core/{p-d443291f.entry.js → p-050a8bf2.entry.js} +1 -1
- package/dist/apollo-core/p-08767607.entry.js +1 -0
- package/dist/apollo-core/{p-149ddd12.entry.js → p-11914cd4.entry.js} +1 -1
- package/dist/apollo-core/{p-581b702c.entry.js → p-14e86de8.entry.js} +1 -1
- package/dist/apollo-core/p-194c0ccd.entry.js +1 -0
- package/dist/apollo-core/p-1c031055.entry.js +1 -0
- package/dist/apollo-core/p-24f7280a.entry.js +1 -0
- package/dist/apollo-core/{p-47bda204.entry.js → p-24fa8a03.entry.js} +1 -1
- package/dist/apollo-core/{p-91895c40.entry.js → p-2971e2ec.entry.js} +1 -1
- package/dist/apollo-core/{p-0958c719.entry.js → p-3417c1ce.entry.js} +1 -1
- package/dist/apollo-core/p-3713cd77.entry.js +1 -0
- package/dist/apollo-core/p-386851a2.entry.js +1 -0
- package/dist/apollo-core/p-3cd1238b.entry.js +1 -0
- package/dist/apollo-core/p-45c872d2.entry.js +1 -0
- package/dist/apollo-core/{p-b45179fb.entry.js → p-49531864.entry.js} +1 -1
- package/dist/apollo-core/p-4e3c6616.entry.js +1 -0
- package/dist/apollo-core/p-5b9fd96e.entry.js +1 -0
- package/dist/apollo-core/p-5c3be343.entry.js +1 -0
- package/dist/apollo-core/p-5cbf5d42.entry.js +1 -0
- package/dist/apollo-core/p-5ec2b180.entry.js +1 -0
- package/dist/apollo-core/{p-790709c0.entry.js → p-64f5c129.entry.js} +1 -1
- package/dist/apollo-core/{p-28bce81a.entry.js → p-65f6b66c.entry.js} +1 -1
- package/dist/apollo-core/{p-d9070ae5.entry.js → p-715baae0.entry.js} +1 -1
- package/dist/apollo-core/p-72e0455f.entry.js +1 -0
- package/dist/apollo-core/p-7ac7fbc0.entry.js +1 -0
- package/dist/apollo-core/p-7d70e089.entry.js +1 -0
- package/dist/apollo-core/{p-d41b8f46.entry.js → p-7eb02cf3.entry.js} +1 -1
- package/dist/apollo-core/p-7f4463ff.entry.js +1 -0
- package/dist/apollo-core/p-808f3d9c.entry.js +1 -0
- package/dist/apollo-core/p-87582346.entry.js +1 -0
- package/dist/apollo-core/{p-2c995d80.entry.js → p-8f8f4759.entry.js} +1 -1
- package/dist/apollo-core/{p-5d9a593e.entry.js → p-907bc21e.entry.js} +1 -1
- package/dist/apollo-core/p-9905c77c.entry.js +1 -0
- package/dist/apollo-core/{p-54903322.entry.js → p-9d731673.entry.js} +1 -1
- package/dist/apollo-core/{p-2938ab4f.entry.js → p-9feaa8be.entry.js} +1 -1
- package/dist/apollo-core/p-O7gQjVdS.js +1 -0
- package/dist/apollo-core/p-a6ecca68.entry.js +1 -0
- package/dist/apollo-core/p-a789c272.entry.js +1 -0
- package/dist/apollo-core/{p-06a9a27b.entry.js → p-aeb2bcb8.entry.js} +1 -1
- package/dist/apollo-core/p-b3b4678b.entry.js +1 -0
- package/dist/apollo-core/{p-82812126.entry.js → p-b64ed46d.entry.js} +1 -1
- package/dist/apollo-core/{p-0368a1df.entry.js → p-bc821e69.entry.js} +1 -1
- package/dist/apollo-core/p-bd493c4a.entry.js +1 -0
- package/dist/apollo-core/p-bdcece21.entry.js +1 -0
- package/dist/apollo-core/{p-cdb5b5c4.entry.js → p-bfb7a83a.entry.js} +1 -1
- package/dist/apollo-core/{p-cdacfcd4.entry.js → p-c22f70f4.entry.js} +1 -1
- package/dist/apollo-core/{p-5730d96c.entry.js → p-c5bc3b2c.entry.js} +1 -1
- package/dist/apollo-core/{p-4ad79534.entry.js → p-ca83003e.entry.js} +1 -1
- package/dist/apollo-core/p-d3230277.entry.js +1 -0
- package/dist/apollo-core/p-d3ada7d0.entry.js +1 -0
- package/dist/apollo-core/{p-d0bc7c45.entry.js → p-d469bf5d.entry.js} +1 -1
- package/dist/apollo-core/p-d7f8ee34.entry.js +1 -0
- package/dist/apollo-core/p-d879c349.entry.js +1 -0
- package/dist/apollo-core/{p-2139f9f6.entry.js → p-df257cbf.entry.js} +1 -1
- package/dist/apollo-core/p-e09d8beb.entry.js +1 -0
- package/dist/apollo-core/p-e4d50301.entry.js +1 -0
- package/dist/apollo-core/{p-f3a2c79b.entry.js → p-ea9cdd65.entry.js} +1 -1
- package/dist/apollo-core/{p-ca4652b3.entry.js → p-eba654a3.entry.js} +1 -1
- package/dist/apollo-core/{p-4a2323b3.entry.js → p-ee68bed6.entry.js} +1 -1
- package/dist/apollo-core/{p-abdf199b.entry.js → p-f384a990.entry.js} +1 -1
- package/dist/apollo-core/{p-4d4acd1f.entry.js → p-f579e4b0.entry.js} +1 -1
- package/dist/apollo-core/{p-d724c419.entry.js → p-fcb17ff9.entry.js} +1 -1
- package/dist/apollo-core/{p-e2890eb1.entry.js → p-ff16f574.entry.js} +1 -1
- package/dist/cjs/apollo-core.cjs.js +1 -1
- package/dist/cjs/index-3cBvw409.js +8 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/table-internal-DssCrBs_.js +67 -0
- package/dist/cjs/xpl-accordion.cjs.entry.js +2 -2
- package/dist/cjs/xpl-application-shell.cjs.entry.js +1 -1
- package/dist/cjs/xpl-avatar_3.cjs.entry.js +4 -4
- package/dist/cjs/xpl-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/xpl-badge.cjs.entry.js +1 -1
- package/dist/cjs/xpl-banner.cjs.entry.js +2 -2
- package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/xpl-button-row.cjs.entry.js +1 -1
- package/dist/cjs/xpl-button.cjs.entry.js +1 -1
- package/dist/cjs/xpl-calendar.cjs.entry.js +1 -1
- package/dist/cjs/xpl-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/xpl-choicelist.cjs.entry.js +1 -1
- package/dist/cjs/xpl-content-area.cjs.entry.js +1 -1
- package/dist/cjs/xpl-dashboard.cjs.entry.js +1 -1
- package/dist/cjs/xpl-data-card.cjs.entry.js +2 -2
- package/dist/cjs/xpl-dropdown_4.cjs.entry.js +8 -8
- package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +2 -2
- package/dist/cjs/xpl-dynamic-table.cjs.entry.js +2 -2
- package/dist/cjs/xpl-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
- package/dist/cjs/xpl-header-accordion.cjs.entry.js +1 -1
- package/dist/cjs/xpl-icon.cjs.entry.js +2 -2
- package/dist/cjs/xpl-input-color.cjs.entry.js +8 -8
- package/dist/cjs/xpl-input-phone.cjs.entry.js +5 -5
- package/dist/cjs/xpl-input-time.cjs.entry.js +2 -2
- package/dist/cjs/xpl-input_4.cjs.entry.js +10 -10
- package/dist/cjs/xpl-large-card.cjs.entry.js +1 -1
- package/dist/cjs/xpl-list.cjs.entry.js +2 -2
- package/dist/cjs/xpl-main-nav.cjs.entry.js +1 -1
- package/dist/cjs/xpl-modal.cjs.entry.js +1 -1
- package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +2 -2
- package/dist/cjs/xpl-nav-item.cjs.entry.js +2 -2
- package/dist/cjs/xpl-pagination.cjs.entry.js +4 -4
- package/dist/cjs/xpl-panel.cjs.entry.js +2 -2
- package/dist/cjs/xpl-popover.cjs.entry.js +4 -4
- package/dist/cjs/xpl-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/xpl-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/xpl-secondary-nav.cjs.entry.js +1 -1
- package/dist/cjs/xpl-select_2.cjs.entry.js +9 -9
- package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +2 -2
- package/dist/cjs/xpl-side-nav-item.cjs.entry.js +2 -2
- package/dist/cjs/xpl-side-nav-section.cjs.entry.js +5 -5
- package/dist/cjs/xpl-side-nav.cjs.entry.js +2 -2
- package/dist/cjs/xpl-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/xpl-slideout.cjs.entry.js +1 -1
- package/dist/cjs/xpl-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/xpl-table-body.cjs.entry.js +1 -1
- package/dist/cjs/xpl-table-cell_3.cjs.entry.js +228 -0
- package/dist/cjs/xpl-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/xpl-table-header.cjs.entry.js +1 -1
- package/dist/cjs/xpl-table-row.cjs.entry.js +43 -2
- package/dist/cjs/xpl-table.cjs.entry.js +1204 -80
- package/dist/cjs/xpl-tabs.cjs.entry.js +5 -5
- package/dist/cjs/xpl-toast.cjs.entry.js +2 -2
- package/dist/cjs/xpl-toggle.cjs.entry.js +3 -3
- package/dist/cjs/xpl-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/xpl-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/xpl-top-nav-item.cjs.entry.js +2 -2
- package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +2 -2
- package/dist/cjs/xpl-top-nav.cjs.entry.js +5 -5
- package/dist/cjs/xpl-utility-bar.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
- package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
- package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
- package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
- package/dist/collection/components/xpl-button/xpl-button.js +1 -1
- package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
- package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +3 -3
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
- package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
- package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
- package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
- package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
- package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +4 -4
- package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
- package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
- package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
- package/dist/collection/components/xpl-grid/xpl-grid.js +1 -1
- package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
- package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
- package/dist/collection/components/xpl-icon/xpl-icon.js +2 -2
- package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
- package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
- package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +4 -4
- package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +5 -5
- package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +1 -1
- package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +2 -2
- package/dist/collection/components/xpl-input/xpl-input.js +2 -2
- package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
- package/dist/collection/components/xpl-list/xpl-list.js +2 -2
- package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
- package/dist/collection/components/xpl-modal/xpl-modal.js +1 -1
- package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
- package/dist/collection/components/xpl-pagination/xpl-pagination.js +4 -4
- package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
- package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
- package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
- package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
- package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
- package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
- package/dist/collection/components/xpl-select/xpl-select.js +7 -7
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-header-item/xpl-side-nav-header-item.js +2 -2
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +5 -5
- package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +2 -2
- package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +1 -1
- package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +2 -2
- package/dist/collection/components/xpl-table/utils/move-row-dom.js +50 -0
- package/dist/collection/components/xpl-table/utils/table-internal.js +57 -0
- package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +1 -1
- package/dist/collection/components/xpl-table/xpl-table-cell/xpl-table-cell.js +167 -0
- package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +1 -1
- package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +2 -2
- package/dist/collection/components/xpl-table/xpl-table-header-cell/xpl-table-header-cell.js +402 -0
- package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +44 -2
- package/dist/collection/components/xpl-table/xpl-table.js +1427 -116
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
- package/dist/collection/components/xpl-tabs/xpl-tabs.js +5 -5
- package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
- package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
- package/dist/collection/components/xpl-toggle/xpl-toggle.js +3 -3
- package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
- package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
- package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +2 -2
- package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +5 -5
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-oIn1krdu.js → p-1D7CWIJ-.js} +1 -1
- package/dist/components/{p-xtOHikY0.js → p-2cJsJK3-.js} +1 -1
- package/dist/components/{p-DYmvElhR.js → p-8zrW9vEC.js} +1 -1
- package/dist/components/p-B56GeUtW.js +1 -0
- package/dist/components/p-B6YLKDUX.js +1 -0
- package/dist/components/{p-D--kzomA.js → p-B7aaJikj.js} +1 -1
- package/dist/components/{p-U0JYwf4c.js → p-BOm_p_mz.js} +1 -1
- package/dist/components/p-BZIZSovL.js +1 -0
- package/dist/components/{p-xFsB212F.js → p-Btb2UkLz.js} +1 -1
- package/dist/components/{p-DAb-txW3.js → p-C0AbGd4t.js} +1 -1
- package/dist/components/p-CFXvQqUO.js +1 -0
- package/dist/components/{p-l3EZ-agL.js → p-CQjJIHK6.js} +1 -1
- package/dist/components/{p-Chpgh5SL.js → p-CV5nn1zR.js} +1 -1
- package/dist/components/p-CdRmVtIN.js +1 -0
- package/dist/components/p-CgemLtmL.js +1 -0
- package/dist/components/p-CmbpWpb0.js +1 -0
- package/dist/components/p-CuVYRPvz.js +1 -0
- package/dist/components/{p-JyNpXfDe.js → p-D09sGbzs.js} +1 -1
- package/dist/components/{p-BdpZR4KO.js → p-DTh_zemx.js} +1 -1
- package/dist/components/{p-CiHTfk3E.js → p-DoVubWyd.js} +1 -1
- package/dist/components/p-Dp62sBqX.js +1 -0
- package/dist/components/p-DqgnC_vS.js +1 -0
- package/dist/components/p-DtV4i45B.js +1 -0
- package/dist/components/{p-wIU7KUhA.js → p-ohy3NrgH.js} +1 -1
- package/dist/components/p-rLxtqgsy.js +1 -0
- package/dist/components/xpl-accordion.js +1 -1
- package/dist/components/xpl-application-shell.js +1 -1
- package/dist/components/xpl-avatar.js +1 -1
- package/dist/components/xpl-backdrop.js +1 -1
- package/dist/components/xpl-badge.js +1 -1
- package/dist/components/xpl-banner.js +1 -1
- package/dist/components/xpl-breadcrumb-item.js +1 -1
- package/dist/components/xpl-breadcrumbs.js +1 -1
- package/dist/components/xpl-button-row.js +1 -1
- package/dist/components/xpl-button.js +1 -1
- package/dist/components/xpl-calendar.js +1 -1
- package/dist/components/xpl-checkbox.js +1 -1
- package/dist/components/xpl-choicelist.js +1 -1
- package/dist/components/xpl-content-area.js +1 -1
- package/dist/components/xpl-dashboard.js +1 -1
- package/dist/components/xpl-data-card.js +1 -1
- package/dist/components/xpl-divider.js +1 -1
- package/dist/components/xpl-dropdown-group.js +1 -1
- package/dist/components/xpl-dropdown-heading.js +1 -1
- package/dist/components/xpl-dropdown-option.js +1 -1
- package/dist/components/xpl-dropdown.js +1 -1
- package/dist/components/xpl-dynamic-table-cell.js +1 -1
- package/dist/components/xpl-dynamic-table-row.js +1 -1
- package/dist/components/xpl-dynamic-table.js +1 -1
- package/dist/components/xpl-grid-item.js +1 -1
- package/dist/components/xpl-grid.js +1 -1
- package/dist/components/xpl-header-accordion.js +1 -1
- package/dist/components/xpl-icon.js +1 -1
- package/dist/components/xpl-input-color.js +1 -1
- package/dist/components/xpl-input-date.js +1 -1
- package/dist/components/xpl-input-file.js +1 -1
- package/dist/components/xpl-input-phone.js +1 -1
- package/dist/components/xpl-input-search.js +1 -1
- package/dist/components/xpl-input-time.js +1 -1
- package/dist/components/xpl-input.js +1 -1
- package/dist/components/xpl-large-card.js +1 -1
- package/dist/components/xpl-list-item.js +1 -1
- package/dist/components/xpl-list.js +1 -1
- package/dist/components/xpl-main-nav.js +1 -1
- package/dist/components/xpl-modal.js +1 -1
- package/dist/components/xpl-nav-header-menu.js +1 -1
- package/dist/components/xpl-nav-item.js +1 -1
- package/dist/components/xpl-pagination.js +1 -1
- package/dist/components/xpl-panel.js +1 -1
- package/dist/components/xpl-popover.js +1 -1
- package/dist/components/xpl-progress-bar.js +1 -1
- package/dist/components/xpl-progress-indicator.js +1 -1
- package/dist/components/xpl-radio.js +1 -1
- package/dist/components/xpl-secondary-nav.js +1 -1
- package/dist/components/xpl-select.js +1 -1
- package/dist/components/xpl-side-nav-header-item.js +1 -1
- package/dist/components/xpl-side-nav-item.js +1 -1
- package/dist/components/xpl-side-nav-section.js +1 -1
- package/dist/components/xpl-side-nav.js +1 -1
- package/dist/components/xpl-skeleton.js +1 -1
- package/dist/components/xpl-slideout.js +1 -1
- package/dist/components/xpl-spotlight.js +1 -1
- package/dist/components/xpl-tab-panel.js +1 -1
- package/dist/components/xpl-tab.js +1 -1
- package/dist/components/xpl-table-body.js +1 -1
- package/dist/components/xpl-table-cell.d.ts +11 -0
- package/dist/components/xpl-table-cell.js +1 -0
- package/dist/components/xpl-table-footer-cell.js +1 -1
- package/dist/components/xpl-table-footer.js +1 -1
- package/dist/components/xpl-table-header-cell.js +1 -1
- package/dist/components/xpl-table-header.js +1 -1
- package/dist/components/xpl-table-row.js +1 -1
- package/dist/components/xpl-table.js +1 -1
- package/dist/components/xpl-tabs.js +1 -1
- package/dist/components/xpl-tag.js +1 -1
- package/dist/components/xpl-toast.js +1 -1
- package/dist/components/xpl-toggle.js +1 -1
- package/dist/components/xpl-toolbar.js +1 -1
- package/dist/components/xpl-tooltip.js +1 -1
- package/dist/components/xpl-top-nav-item.js +1 -1
- package/dist/components/xpl-top-nav-menu.js +1 -1
- package/dist/components/xpl-top-nav.js +1 -1
- package/dist/components/xpl-utility-bar.js +1 -1
- package/dist/docs/xpl-avatar/readme.md +1 -1
- package/dist/docs/xpl-checkbox/readme.md +1 -3
- package/dist/docs/xpl-data-card/readme.md +1 -1
- package/dist/docs/xpl-dynamic-table/readme.md +4 -1
- package/dist/docs/xpl-dynamic-table-cell/readme.md +2 -0
- package/dist/docs/xpl-dynamic-table-row/readme.md +2 -0
- package/dist/docs/xpl-icon/readme.md +1 -1
- package/dist/docs/xpl-input/xpl-input-time/readme.md +1 -1
- package/dist/docs/xpl-large-card/readme.md +1 -1
- package/dist/docs/xpl-modal/readme.md +2 -2
- package/dist/docs/xpl-popover/readme.md +1 -2
- package/dist/docs/xpl-slideout/readme.md +1 -1
- package/dist/docs/xpl-spotlight/readme.md +1 -0
- package/dist/docs/xpl-table/readme.md +178 -20
- package/dist/docs/xpl-table/xpl-table-body/readme.md +4 -4
- package/dist/docs/xpl-table/xpl-table-cell/readme.md +53 -0
- package/dist/docs/xpl-table/xpl-table-footer/readme.md +4 -4
- package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +24 -15
- package/dist/docs/xpl-table/xpl-table-header-cell/readme.md +84 -0
- package/dist/docs/xpl-table/xpl-table-row/readme.md +18 -14
- package/dist/docs/xpl-toast/readme.md +2 -2
- package/dist/docs/xpl-toggle/readme.md +1 -1
- package/dist/docs/xpl-toolbar/readme.md +5 -3
- package/dist/docs/xpl-tooltip/readme.md +1 -2
- package/dist/docs.json +776 -113
- package/dist/esm/apollo-core.js +1 -1
- package/dist/esm/index-ukZKsqqq.js +8 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/table-internal-O7gQjVdS.js +59 -0
- package/dist/esm/xpl-accordion.entry.js +2 -2
- package/dist/esm/xpl-application-shell.entry.js +1 -1
- package/dist/esm/xpl-avatar_3.entry.js +4 -4
- package/dist/esm/xpl-backdrop.entry.js +1 -1
- package/dist/esm/xpl-badge.entry.js +1 -1
- package/dist/esm/xpl-banner.entry.js +2 -2
- package/dist/esm/xpl-breadcrumb-item.entry.js +1 -1
- package/dist/esm/xpl-breadcrumbs.entry.js +1 -1
- package/dist/esm/xpl-button-row.entry.js +1 -1
- package/dist/esm/xpl-button.entry.js +1 -1
- package/dist/esm/xpl-calendar.entry.js +1 -1
- package/dist/esm/xpl-checkbox.entry.js +3 -3
- package/dist/esm/xpl-choicelist.entry.js +1 -1
- package/dist/esm/xpl-content-area.entry.js +1 -1
- package/dist/esm/xpl-dashboard.entry.js +1 -1
- package/dist/esm/xpl-data-card.entry.js +2 -2
- package/dist/esm/xpl-dropdown_4.entry.js +8 -8
- package/dist/esm/xpl-dynamic-table-cell.entry.js +2 -2
- package/dist/esm/xpl-dynamic-table-row.entry.js +2 -2
- package/dist/esm/xpl-dynamic-table.entry.js +2 -2
- package/dist/esm/xpl-grid-item.entry.js +1 -1
- package/dist/esm/xpl-grid.entry.js +1 -1
- package/dist/esm/xpl-header-accordion.entry.js +1 -1
- package/dist/esm/xpl-icon.entry.js +2 -2
- package/dist/esm/xpl-input-color.entry.js +8 -8
- package/dist/esm/xpl-input-phone.entry.js +5 -5
- package/dist/esm/xpl-input-time.entry.js +2 -2
- package/dist/esm/xpl-input_4.entry.js +10 -10
- package/dist/esm/xpl-large-card.entry.js +1 -1
- package/dist/esm/xpl-list.entry.js +2 -2
- package/dist/esm/xpl-main-nav.entry.js +1 -1
- package/dist/esm/xpl-modal.entry.js +1 -1
- package/dist/esm/xpl-nav-header-menu.entry.js +2 -2
- package/dist/esm/xpl-nav-item.entry.js +2 -2
- package/dist/esm/xpl-pagination.entry.js +4 -4
- package/dist/esm/xpl-panel.entry.js +2 -2
- package/dist/esm/xpl-popover.entry.js +4 -4
- package/dist/esm/xpl-progress-bar.entry.js +2 -2
- package/dist/esm/xpl-progress-indicator.entry.js +1 -1
- package/dist/esm/xpl-secondary-nav.entry.js +1 -1
- package/dist/esm/xpl-select_2.entry.js +9 -9
- package/dist/esm/xpl-side-nav-header-item.entry.js +2 -2
- package/dist/esm/xpl-side-nav-item.entry.js +2 -2
- package/dist/esm/xpl-side-nav-section.entry.js +5 -5
- package/dist/esm/xpl-side-nav.entry.js +2 -2
- package/dist/esm/xpl-skeleton.entry.js +1 -1
- package/dist/esm/xpl-slideout.entry.js +1 -1
- package/dist/esm/xpl-tab-panel.entry.js +2 -2
- package/dist/esm/xpl-table-body.entry.js +1 -1
- package/dist/esm/xpl-table-cell_3.entry.js +224 -0
- package/dist/esm/xpl-table-footer.entry.js +1 -1
- package/dist/esm/xpl-table-header.entry.js +1 -1
- package/dist/esm/xpl-table-row.entry.js +44 -3
- package/dist/esm/xpl-table.entry.js +1204 -80
- package/dist/esm/xpl-tabs.entry.js +5 -5
- package/dist/esm/xpl-toast.entry.js +2 -2
- package/dist/esm/xpl-toggle.entry.js +3 -3
- package/dist/esm/xpl-toolbar.entry.js +2 -2
- package/dist/esm/xpl-tooltip.entry.js +1 -1
- package/dist/esm/xpl-top-nav-item.entry.js +2 -2
- package/dist/esm/xpl-top-nav-menu.entry.js +2 -2
- package/dist/esm/xpl-top-nav.entry.js +5 -5
- package/dist/esm/xpl-utility-bar.entry.js +1 -1
- package/dist/types/components/xpl-table/utils/move-row-dom.d.ts +3 -0
- package/dist/types/components/xpl-table/utils/table-internal.d.ts +8 -0
- package/dist/types/components/xpl-table/xpl-table-cell/xpl-table-cell.d.ts +11 -0
- package/dist/types/components/xpl-table/xpl-table-header-cell/xpl-table-header-cell.d.ts +33 -0
- package/dist/types/components/xpl-table/xpl-table-row/xpl-table-row.d.ts +7 -0
- package/dist/types/components/xpl-table/xpl-table.d.ts +126 -22
- package/dist/types/components.d.ts +238 -60
- package/hydrate/index.js +1670 -266
- package/hydrate/index.mjs +1670 -266
- package/package.json +7 -7
- package/dist/apollo-core/p-056a99e4.entry.js +0 -1
- package/dist/apollo-core/p-068e3532.entry.js +0 -1
- package/dist/apollo-core/p-0a0a6e43.entry.js +0 -1
- package/dist/apollo-core/p-1a94c2d9.entry.js +0 -1
- package/dist/apollo-core/p-2faa7b9c.entry.js +0 -1
- package/dist/apollo-core/p-30b1b700.entry.js +0 -1
- package/dist/apollo-core/p-32084caf.entry.js +0 -1
- package/dist/apollo-core/p-38586952.entry.js +0 -1
- package/dist/apollo-core/p-50fae269.entry.js +0 -1
- package/dist/apollo-core/p-60cb3cfb.entry.js +0 -1
- package/dist/apollo-core/p-722b145a.entry.js +0 -1
- package/dist/apollo-core/p-75e5bfe0.entry.js +0 -1
- package/dist/apollo-core/p-77fe3cc1.entry.js +0 -1
- package/dist/apollo-core/p-83bb7607.entry.js +0 -1
- package/dist/apollo-core/p-8664d88b.entry.js +0 -1
- package/dist/apollo-core/p-8a925e9d.entry.js +0 -1
- package/dist/apollo-core/p-9064badb.entry.js +0 -1
- package/dist/apollo-core/p-969d5cca.entry.js +0 -1
- package/dist/apollo-core/p-99a79cf4.entry.js +0 -1
- package/dist/apollo-core/p-ae8a5f66.entry.js +0 -1
- package/dist/apollo-core/p-af8ebf49.entry.js +0 -1
- package/dist/apollo-core/p-b29025b2.entry.js +0 -1
- package/dist/apollo-core/p-b5a61076.entry.js +0 -1
- package/dist/apollo-core/p-bf7d8e18.entry.js +0 -1
- package/dist/apollo-core/p-c48e4884.entry.js +0 -1
- package/dist/apollo-core/p-cb5b15c2.entry.js +0 -1
- package/dist/apollo-core/p-cc57f20d.entry.js +0 -1
- package/dist/apollo-core/p-dca48977.entry.js +0 -1
- package/dist/apollo-core/p-e1833287.entry.js +0 -1
- package/dist/apollo-core/p-e2b73b60.entry.js +0 -1
- package/dist/apollo-core/p-e7e445b0.entry.js +0 -1
- package/dist/apollo-core/p-f1c103ff.entry.js +0 -1
- package/dist/apollo-core/p-ffc2f0cf.entry.js +0 -1
- package/dist/cjs/xpl-table-footer-cell.cjs.entry.js +0 -18
- package/dist/cjs/xpl-table-header-cell.cjs.entry.js +0 -59
- package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +0 -190
- package/dist/components/p-9VnxPQLs.js +0 -1
- package/dist/components/p-B2oLZUDD.js +0 -1
- package/dist/components/p-BYYFsuD3.js +0 -1
- package/dist/components/p-BZtxVB1R.js +0 -1
- package/dist/components/p-CnVGKN63.js +0 -1
- package/dist/components/p-Cz7zDaI4.js +0 -1
- package/dist/components/p-D4rv6CNJ.js +0 -1
- package/dist/components/p-EfW0v54z.js +0 -1
- package/dist/components/p-YG9Jza0y.js +0 -1
- package/dist/docs/xpl-table-header-cell/readme.md +0 -47
- package/dist/esm/xpl-table-footer-cell.entry.js +0 -16
- package/dist/esm/xpl-table-header-cell.entry.js +0 -57
- package/dist/types/components/xpl-table-header-cell/xpl-table-header-cell.d.ts +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xplortech/apollo-core",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -88,21 +88,21 @@
|
|
|
88
88
|
"scripts": {
|
|
89
89
|
"build": "npm run clean && npm-run-all build.css build.stencil",
|
|
90
90
|
"build.css": "cross-env NODE_ENV=production node scripts/build-css.mjs",
|
|
91
|
-
"build.stencil": "node ../../scripts/generate-icon-docs.mjs && stencil build --docs --prod && node ../../scripts/patch-angular-value-accessors.mjs && node ../../scripts/patch-stencil-sourcemaps.mjs",
|
|
92
|
-
"postbuild": "node ../../scripts/copy-readmes-to-dist.mjs && node ../../scripts/finalize-apollo-core-cjs.mjs",
|
|
91
|
+
"build.stencil": "node ../../scripts/docs/generate-icon-docs.mjs && stencil build --docs --prod && node ../../scripts/core-build/patch-angular-value-accessors.mjs && node ../../scripts/core-build/patch-stencil-sourcemaps.mjs",
|
|
92
|
+
"postbuild": "node ../../scripts/core-build/copy-readmes-to-dist.mjs && node ../../scripts/core-build/finalize-apollo-core-cjs.mjs",
|
|
93
93
|
"clean": "rm -rf dist/ hydrate/ loader/ storybook-static/ build/ src/components/components.d.ts",
|
|
94
|
-
"dev.angular-patch": "node ../../scripts/patch-angular-value-accessors.mjs --watch",
|
|
94
|
+
"dev.angular-patch": "node ../../scripts/core-build/patch-angular-value-accessors.mjs --watch",
|
|
95
95
|
"dev.css": "node scripts/build-css.mjs --watch",
|
|
96
96
|
"dev.stencil": "stencil build --dev --watch --esm --docs",
|
|
97
97
|
"lint": "npm-run-all lint.ts lint.css.ci lint.tokens lint.js lint.prettier-css test.stylelint",
|
|
98
98
|
"lint.css": "stylelint 'src/**/*.css' --cache --cache-location node_modules/.cache/.stylelintcache",
|
|
99
99
|
"lint.css.ci": "stylelint 'src/**/*.css' -q --cache --cache-location node_modules/.cache/.stylelintcache",
|
|
100
|
-
"lint.tokens": "node ../../scripts/verify-tokens.mjs",
|
|
100
|
+
"lint.tokens": "node ../../scripts/foundation/verify-tokens.mjs",
|
|
101
101
|
"lint.ts": "eslint \"src/components/**/*{.ts,.tsx}\" --no-warn-ignored --cache --cache-location node_modules/.cache/.eslintcache",
|
|
102
102
|
"lint.js": "prettier --check \"*{.js,.json}\" --cache",
|
|
103
103
|
"lint.prettier-css": "prettier --check \"src/**/*.css\" --cache",
|
|
104
104
|
"format": "npm run lint.css.ci -- --fix && npm run lint.ts -- --fix && prettier --write \"*{.js,.json}\" --cache && prettier --write \"src/**/*.css\" --cache",
|
|
105
|
-
"generate:icons": "node ../../scripts/generate-icon-docs.mjs",
|
|
105
|
+
"generate:icons": "node ../../scripts/docs/generate-icon-docs.mjs",
|
|
106
106
|
"test": "vitest run --project spec --project spec-dom",
|
|
107
107
|
"test.watch": "vitest --project spec --project spec-dom",
|
|
108
108
|
"test:e2e": "vitest run --project browser",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"test:storybook:update": "npm run build.css && vitest run --project storybook --update",
|
|
112
112
|
"storybook": "storybook dev -p 9009",
|
|
113
113
|
"storybook:dev": "run-p dev.stencil dev.css dev.angular-patch storybook",
|
|
114
|
-
"build:storybook": "storybook build --config-dir .storybook --output-dir storybook-static && node ../../scripts/copy-storybook-data-assets.mjs",
|
|
114
|
+
"build:storybook": "storybook build --config-dir .storybook --output-dir storybook-static && node ../../scripts/storybook/copy-storybook-data-assets.mjs",
|
|
115
115
|
"stencil-generate": "stencil generate",
|
|
116
116
|
"typecheck": "tsc --noEmit -p tsconfig.build.json --strict --strictPropertyInitialization false",
|
|
117
117
|
"test:unit": "node --test stylelint/patterns.test.mjs scripts/build-css.test.mjs scripts/verify-css-gates.test.mjs",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as r,H as a}from"./p-ukZKsqqq.js";const s=class{constructor(r){e(this,r)}render(){return r(a,{key:"94e6c6f38fa4672ef3c728bf196946801da855d4",role:"row",class:"xpl-table-header"},r("slot",{key:"fa41686f082c65d27555273945f734a36c670869"}))}};export{s as xpl_table_header}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,H as s,g as t}from"./p-ukZKsqqq.js";import{g as l,a as r,t as b}from"./p-BQtbf88X.js";const c=class{constructor(e){a(this,e),this.selected=!1}render(){const a=l(this.el),t=this.target??"",c=r(a,t),p=b(a,t);return e(s,{key:"b92d723fe68be63d6438fab8ae8f93a06122c29a","aria-labelledby":p,class:{"xpl-tab-panel":!0,"xpl-tab-panel--selected":this.selected},id:c,role:"tabpanel"},e("slot",{key:"e18aeb92b7082c0c2e809396570b43ac41c34f87"}))}get el(){return t(this)}};export{c as xpl_tab_panel}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as a,h as e,H as s}from"./p-ukZKsqqq.js";const i=class{constructor(e){t(this,e),this.clickPrimary=a(this,"clickPrimary",7),this.clickSecondary=a(this,"clickSecondary",7),this.clickTertiary=a(this,"clickTertiary",7),this.onPrimary=()=>this.clickPrimary.emit(),this.onSecondary=()=>this.clickSecondary.emit(),this.onTertiary=()=>this.clickTertiary.emit()}render(){return e(s,{key:"de570ef3de32367d44cfaa7004e749a51bc6fde9",class:"xpl-button-row"},e("div",{key:"6bafe5cbb76355b987023cab4d1530e71065ea55",class:"xpl-button-row-inner"},e("div",{key:"09ab6b0f3b7ed5790b675520d445ed3279224c3c",class:"xpl-button-row__left"},this.secondary&&e("xpl-button",{key:"8f08a18126a27e6f1a72d8609e5533f466c3a88b",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),e("div",{key:"0df1b38697afee3eb45af00989baac17ae2a2d00",class:"xpl-button-row__right"},this.tertiary&&e("xpl-button",{key:"289a41a34091201ecba3af76ed2ab86c84341ba4",variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&e("xpl-button",{key:"742dd05eea13de9ccc2747b0146c3779bd7b4e66",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&e("xpl-button",{key:"0eafc10b3d2b8f70d0f18a3ef0798ca6250ee0d5",class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}};export{i as xpl_button_row}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as a,h as d,H as c,g as s}from"./p-ukZKsqqq.js";const t=class{constructor(d){e(this,d),this.isOpenChange=a(this,"isOpenChange",7),this.isOpen=!1,this.backdrop=!1,this.variant="default",this.showFooter=!0,this.handleClose=()=>{this.isOpen=!1}}watchPropHandler(e){this.isOpen=e,this.isOpenChange.emit(e)}handleScroll(){const e=this.el.querySelector(".content");e&&(e.scrollHeight>e.clientHeight?e.classList.add("has-shadow"):e.classList.remove("has-shadow"))}componentDidLoad(){this.handleScroll()}render(){return d(c,{key:"0031856dad46059b22c544b17d9c3c486fad49ef",class:"xpl-slideout"},this.backdrop&&this.isOpen&&d("xpl-backdrop",{key:"476ebe60d3761a12edce8a70b79c5458a3a49b88",onClick:this.handleClose}),d("aside",{key:"e093e4f88719d109e1b76e5843fa799adf77023a",class:`slideout slideout--${!this.isOpen&&"closed"}`},d("header",{key:"861ce3bafb6f104cd088788e86d5dec891d34559",class:"header"},d("div",{key:"f4a9a82d62a118acf4847ae32f6699755103cdeb",class:"title"},d("slot",{key:"142fabb21a5894d0e505b3555b1de49a3457f01a",name:"title"}),d("xpl-button",{key:"b5424c903db35139aca7070a223c3e8ccad0286d",class:"close-button","icon-only":!0,size:"sm",variant:"tertiary",onClick:this.handleClose},d("xpl-icon",{key:"a7597b061ba78ec8877f4ca119ddfe4fb6f07057",icon:"xmark"}))),d("div",{key:"fbd6496bcd1854cbbe584a62a27621cc6c730472",class:"subtitle"},d("slot",{key:"a9a059571945b74f064d1b4c6a672a7964ff20d7",name:"subtitle"})),d("div",{key:"575d405c99e6a0ded114d274832d7c9a119f8acd",class:"search"},d("slot",{key:"6db25fde2a6decdfe2f280aae9f784b1e992d070",name:"search"}))),d("xpl-divider",{key:"dd382afb3181fbad00b1efacd438842c23249978",tier:0,class:"divider top"}),d("article",{key:"a8832b326372ede5872d2004308f8dff30955e1a",class:"content",tabIndex:0},d("slot",{key:"e46c7df8ebc6caecbc82117dd7b5097377dcf163",name:"content"})),this.showFooter&&d("footer",{key:"41e237ffa63f9dfc50ca1792848f4087375edecc"},d("xpl-divider",{key:"888ece8b783152856696cf792c1db7abedd393fa",tier:0,class:"divider bottom"}),d("div",{key:"4ee6dcf7cb794ca32c3e0095b9d3ffdda2578870",class:"footer"},d("slot",{key:"286ecc097c88e7b6655fb27f707cb6163e49374b",name:"tertiary"}),d("slot",{key:"9154a9de3de154cb8f228a00875d81b4c8d1899a",name:"secondary"}),d("slot",{key:"c510b271b930b8419b8ed26e4a9ce444453f9330",name:"primary"})))))}get el(){return s(this)}static get watchers(){return{isOpen:[{watchPropHandler:0}]}}};export{t as xpl_slideout}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t,H as i}from"./p-ukZKsqqq.js";const d=class{constructor(t){s(this,t),this.xs=6,this.sm=6,this.md=6,this.lg=6}render(){let s="xpl-grid-item";return s+=` xpl-grid-item-xs-${this.xs}`,s+=` xpl-grid-item-sm-${this.sm}`,s+=` xpl-grid-item-md-${this.md}`,s+=` xpl-grid-item-lg-${this.lg}`,t(i,{key:"0fc1d60f8f0d0df7208302a3668930afdb1dc5ba",class:s},t("slot",{key:"0385c17beb3982d060b4e2a4bdd0fd16f924a0d3"}))}};export{d as xpl_grid_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as t,h as e,H as l}from"./p-ukZKsqqq.js";import{v as i}from"./p-CK3_k8jD.js";const a=class{constructor(e){s(this,e),this.toggleChange=t(this,"toggleChange",7),this.variant="default",this.id=i(),this.onChange=s=>{this.toggleChange.emit(s.target.checked)}}render(){let s="xpl-toggle-container";this.disabled&&(s+=" xpl-toggle-container--disabled");let t="xpl-toggle";return"small"===this.variant&&(t+=" xpl-toggle--small"),e(l,{key:"20b5e00613ac0f2567224d3ff2bcd7b7f761a8fc",class:s},(this.heading||this.description)&&e("label",{key:"a41dfe6403c629ef05792ba8dc7f0632fca9ca37",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},this.heading,this.description&&e("small",{key:"b0e1d30a0f5b358a7f588d3f8f0bc32f440b69df",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)),e("input",{key:"a59406c7cccf8a43349841bb060496ce0832823f",class:t,type:"checkbox",checked:this.checked,disabled:this.disabled,id:this.id,name:this.name,onChange:this.onChange}),this.label&&e("label",{key:"276ce3ec937627fd9d21f2b3771d9c779c5f91f1",htmlFor:this.id},this.label))}};export{a as xpl_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,H as c}from"./p-ukZKsqqq.js";const s=class{constructor(e){a(this,e),this.accent="none",this.padding="default"}render(){const a="none"!==this.accent;return e(c,{key:"7e2a96b285cc06379f8f7f98ae44affcfac0c8dc",class:{"xpl-panel":!0,[`xpl-panel--accent-${this.accent}`]:a,[`xpl-panel--padding-${this.padding}`]:!0}},a&&e("div",{key:"3a6740a44c18c9973c86a314d26bd565971c19f2","aria-hidden":"true",class:"xpl-panel__accent"}),e("div",{key:"d4951bd49e7600a58fa0ecb31fddf4df1dfe7956",class:"xpl-panel__content"},e("slot",{key:"2374d130b274a64e875b0c4b1ce03b34d96554b4"})))}};export{s as xpl_panel}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as a,g as s}from"./p-ukZKsqqq.js";const c=class{constructor(t){e(this,t),this.selectedItemCount=0}componentDidLoad(){const e=this.el.querySelector('[slot="actions-right"]');null!==e&&(e.style.marginLeft="auto")}listenToSelectedItemCountChange(e){this.selectedItemCount=e.detail.length}render(){return t(a,{key:"d834b3f68a399f33c02e2a7d85623d9fbe2a21e2",class:{"xpl-toolbar":!0,dark:!0,hidden:0===this.selectedItemCount}},t("div",{key:"54c4638e003685ade49f243f688e3ff5997f8759",class:"toolbar"},t("p",{key:"92815a7d1b10582742906aefa0ee9ef81311c459",class:"selected-item-count"},this.selectedItemCount," Selected"),t("div",{key:"dc1b9ee686a57bd7bca45785f90586751770f556",class:"actions"},t("slot",{key:"2cc26af5467e9ad44962bd1ac65f0b1087f86f7f",name:"actions-left"}),t("slot",{key:"f5f46662191f52c79f81ffd1ce47a492041c10ad",name:"actions-right"}))))}get el(){return s(this)}};export{c as xpl_toolbar}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as s,H as t}from"./p-ukZKsqqq.js";const r=class{constructor(s){e(this,s),this.disabled=!1,this.selected=!1}render(){return s(t,{key:"506e56b764d82707482e58a0715fd342219ef7d9",class:{"xpl-table-row":!0,"xpl-table-row--disabled":this.disabled,"xpl-table-row--selected":this.selected},role:"row"},s("slot",{key:"db534bcb1e92bb92441476542c0eaa920f6914e8"}))}};export{r as xpl_table_row}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t,H as i,g as e}from"./p-ukZKsqqq.js";let a=!1;const c=class{constructor(i){s(this,i),this.caption="",this.dismissible=!0,this.showIcon=!0,this.timeout=8e3,this.variant="neutral",this.handleAnimationEnd=()=>{this.el?.classList.contains("xpl-toast--dismissed")&&this.el?.remove()},this.getIcon=()=>{switch(this.variant){case"warning":return t("xpl-icon",{size:24,icon:"octagon-warning"});case"success":return t("xpl-icon",{size:24,icon:"circle-check"});default:return t("xpl-icon",{size:24,icon:"message-writing"})}},this.dismiss=()=>{this.el?.classList.add("xpl-toast--dismissed")}}handleDismissableChange(){void 0!==this.dismissable&&(a||(a=!0,console.warn('[xpl-toast] The "dismissable" prop is deprecated (misspelled). Use "dismissible" instead.')))}handleTimeoutChange(){this.scheduleAutoDismiss()}disconnectedCallback(){this.clearAutoDismissTimer()}componentWillLoad(){this.handleDismissableChange()}componentDidLoad(){this.scheduleAutoDismiss()}get isDismissible(){return this.dismissable??this.dismissible}clearAutoDismissTimer(){void 0!==this.dismissTimerId&&(clearTimeout(this.dismissTimerId),this.dismissTimerId=void 0)}scheduleAutoDismiss(){this.clearAutoDismissTimer(),(this.actionSlot?.children?.length??0)<1&&this.timeout>0&&(this.dismissTimerId=setTimeout((()=>{this.dismiss()}),this.timeout))}render(){return t(i,{key:"8628e33a84d0ca36d5b99c791cf7860cadae6fb8",class:`xpl-toast xpl-toast--${this.variant}`,onAnimationEnd:this.handleAnimationEnd},t("div",{key:"d1ea50362731f7cef97152eac2962f4d4084c514",class:"xpl-toast__left"},this.showIcon&&t("div",{key:"7eab4f78d0f8a2f5af12eeb1d74b14c300914841",class:`xpl-toast__icon xpl-toast__icon--${this.variant}`},this.getIcon()),t("div",{key:"335be6f702b7300498d2960cb7184fe1fec059b4",class:"xpl-toast__notification"},t("p",{key:"1178d039190352d0482ae7486711ab2adfd2cc8f",class:"xpl-toast__title"},t("slot",{key:"75a98536db36c7a140b3d908cbd8f3d2e201ca81",name:"title"})),""!==this.caption&&t("p",{key:"009bba836fe9abbf34edf4618dd172961e9440fa",class:"xpl-toast__caption"},this.caption?.substring(0,85)))),t("div",{key:"4f47e498ea0c7627d9041a7a2e898fcecff9f59c",class:"xpl-toast__action",ref:s=>{s&&(this.actionSlot=s)}},t("slot",{key:"6ad3199d265b1298ea8200ba53690dcc92bdbf92",name:"action"})),this.isDismissible&&t("div",{key:"b1a1a790a592f5e4c7573c819b0c997a210bd68a",class:"xpl-toast__close"},t("xpl-button",{key:"2d9ad71fc8f8233f2fc12453ca8268fd5f1d8f74",variant:"tertiary",size:"sm",iconOnly:!0,icon:"xmark",type:"button","aria-label":"Dismiss notification",onClick:this.dismiss})))}get el(){return e(this)}static get watchers(){return{dismissable:[{handleDismissableChange:0}],timeout:[{handleTimeoutChange:0}]}}};export{c as xpl_toast}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as e,H as s}from"./p-ukZKsqqq.js";const a=class{constructor(e){r(this,e),this.relative=!1}render(){return e(s,{key:"cf17e9f02e1ee67631159e1d159f539827344c30",class:{"xpl-backdrop":!0,"xpl-backdrop--fixed":!this.relative,"xpl-backdrop--relative":this.relative},"aria-hidden":"true"})}};export{a as xpl_backdrop}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as c,H as e}from"./p-ukZKsqqq.js";const r=class{constructor(c){a(this,c)}render(){return c(e,{key:"63e77e937ec359fdac15cf8a48673176696395bc"},c("nav",{key:"6bf6c1b401d010676b7317d9356aac5e4893fd1b",class:"xpl-breadcrumbs","aria-label":"Breadcrumb"},c("ol",{key:"177206147c779f29a20369e49852d11ba0d990d5",role:"list"},c("slot",{key:"9cdadc4378fa2da5a3c0213c46c58f8701472b80"}))))}};export{r as xpl_breadcrumbs}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,H as s}from"./p-ukZKsqqq.js";const f=class{constructor(e){a(this,e)}render(){return e(s,{key:"65628c79753f54949bfe0a6dfede9bf4e09cf585"},e("dl",{key:"aa6444eea3322331350fbc1b0db6b23e316d393e",class:"xpl-dashboard"},e("slot",{key:"3b54ed1755a0cc72ef5527afafdf156660afcfdf"})))}};export{f as xpl_dashboard}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as a,g as s}from"./p-ukZKsqqq.js";import{h as i}from"./p-_r9-FML8.js";const d="graph-content",r=class{constructor(t){e(this,t),this.graphContentPresent=!1}connectedCallback(){this.syncGraphContentSlot(),this.connectGraphContentSlotObserver()}disconnectedCallback(){void 0!==this.graphContentSlotSyncTimeoutId&&(clearTimeout(this.graphContentSlotSyncTimeoutId),this.graphContentSlotSyncTimeoutId=void 0),this.disconnectGraphContentSlotObserver()}componentWillLoad(){this.syncGraphContentSlot()}componentDidLoad(){if(this.link){const e=this.el.getElementsByTagName("a")[0]||this.el.getElementsByTagName("button")[0],t=document.createTextNode(this.name),a=document.createElement("span");a.appendChild(t),e.setAttribute("class","xpl-large-card__anchor"),e.appendChild(a)}}componentWillRender(){this.disconnectGraphContentSlotObserver()}componentDidRender(){this.scheduleGraphContentSlotSync()}connectGraphContentSlotObserver(){this.disconnectGraphContentSlotObserver(),"undefined"!=typeof MutationObserver&&(this.graphContentSlotObserver=new MutationObserver((()=>{this.scheduleGraphContentSlotSync()})),this.graphContentSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectGraphContentSlotObserver(){this.graphContentSlotObserver?.disconnect(),this.graphContentSlotObserver=void 0}scheduleGraphContentSlotSync(){void 0!==this.graphContentSlotSyncTimeoutId&&clearTimeout(this.graphContentSlotSyncTimeoutId),this.graphContentSlotSyncTimeoutId=setTimeout((()=>{this.graphContentSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncGraphContentSlot(),this.connectGraphContentSlotObserver())}),0)}syncGraphContentSlot(){const e=i(this.el,d);e!==this.graphContentPresent&&(this.graphContentPresent=e)}render(){return t(a,{key:"9fdddb5c8d02400545f57499c92af0ee0aa4be67",role:"group",class:"xpl-large-card "+(this.link?"xpl-large-card__link":""),tabindex:"0"},t("dt",{key:"3854e5f89efa2c968f7abeb8284c0ab8e3e31fda",class:"xpl-large-card__header"},t("header",{key:"0057d377780108f886dae2d9a6a1f3d81748b5fc"},t("slot",{key:"243d38d7635a2e288a1ec7f7894b772d5005acee",name:"title"},this.name),this.link&&t("span",{key:"f2ce2ff09a50471ee255bac8bda406908c272388",class:"xpl-large-card__header-arrow"},t("xpl-icon",{key:"86233617aaf74a137d84639e1477c311671fad7b",icon:"chevron-right",size:16}))),this.description&&t("div",{key:"ab0c0134a2468d22d122dfe810306d570beee8e8",class:"xpl-large-card__description"},this.description)),t("dd",{key:"6fb1262327dc91fd0a982bd31ee7deaa94625e12",class:"xpl-large-card__body"},this.graphContentPresent&&t("slot",{key:"b1e170a19004aad87015786307b926e58d031751",name:d})))}get el(){return s(this)}};export{r as xpl_large_card}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a,H as r}from"./p-ukZKsqqq.js";const s=class{constructor(a){e(this,a)}render(){return a(r,{key:"5a82de617cad4d37dace81ad6a636db1e3a944df",class:"xpl-table-body",role:"rowgroup"},a("slot",{key:"d141e2e041789142eb69c6b3453b25523e4ecf59"}))}};export{s as xpl_table_body}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as t,h as e,H as r,g as i}from"./p-ukZKsqqq.js";const o=class{constructor(e){s(this,e),this.sortChanged=t(this,"sortChanged",7),this.sortable=!1,this.label="",this.type="label",this.sortDirection="none"}toggleSort(){this.sortDirection="asc"===this.sortDirection?"desc":"desc"===this.sortDirection?"none":"asc",this.sortChanged.emit(this.sortDirection)}render(){const s=this.el.parentElement?Array.from(this.el.parentElement.children).indexOf(this.el)+1:0,t=()=>{switch(this.type){case"label":return e("span",null,this.label);case"checkbox":return e("xpl-checkbox",null);case"icon":return this.icon?e("xpl-icon",{icon:this.icon,size:20}):null;default:return""}};return e(r,{role:"columnheader","aria-colindex":s,class:"xpl-table-header-cell "+(this.sortable?"sortable":"non-sortable"),style:{width:`${this.width}px`}},this.sortable?e("button",{onClick:()=>this.toggleSort()},t(),(()=>{switch(this.sortDirection){case"none":return e("xpl-icon",{class:"sort-icon",icon:"arrow-down",size:16});case"asc":return e("xpl-icon",{class:"sort-icon sort-icon--sorted",icon:"arrow-up",size:16});case"desc":return e("xpl-icon",{class:"sort-icon sort-icon--sorted",icon:"arrow-down",size:16});default:return""}})()):t())}get el(){return i(this)}};export{o as xpl_table_header_cell}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,H as e}from"./p-ukZKsqqq.js";const a=class{constructor(s){t(this,s),this.disabled=!1,this.selected=!1,this.isDisabled=!1}componentWillLoad(){this.isDisabled=this.disabled}componentDidLoad(){this.updateRowCellsDisabledState()}componentDidUpdate(){this.updateRowCellsDisabledState()}updateRowCellsDisabledState(){(this.hostElement?.querySelectorAll("xpl-dynamic-table-cell")??[]).forEach((t=>{t.disabled=this.isDisabled}))}render(){return s(e,{key:"4b0e558771154ca42ab57235d9b38861831d7eeb",role:"row",class:`xpl-dynamic-table-row\n ${this.isDisabled?"disabled":""}\n ${this.selected?"selected":""}`,ref:t=>{this.hostElement=t??void 0}},s("slot",{key:"8b2b1a78d797c9a5fcaa8b31db2a41f57335b683"}))}};export{a as xpl_dynamic_table_row}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as a,h as e,H as r}from"./p-ukZKsqqq.js";import{i as s}from"./p-Dqb1pIRo.js";const i=(t,a,e)=>{const r=(e/=100)*(a/=100),s=r*(1-Math.abs(t/60%2-1)),i=e-r;let o=0,n=0,h=0;return t<60?(o=r,n=s,h=0):t<120?(o=s,n=r,h=0):t<180?(o=0,n=r,h=s):t<240?(o=0,n=s,h=r):t<300?(o=s,n=0,h=r):(o=r,n=0,h=s),{r:Math.round(255*(o+i)),g:Math.round(255*(n+i)),b:Math.round(255*(h+i))}},o=(t,a,e)=>[t,a,e].map((t=>t.toString(16).padStart(2,"0"))).join(""),n=t=>{if(t.startsWith("#")){if(!/^#([a-fA-F\d]{6})$/.test(t))throw new Error("xpl-input-color: Only 6-digit hex format supported (e.g. #aabbcc)");const a=t.toLowerCase().slice(1),e=parseInt(a.slice(0,2),16),r=parseInt(a.slice(2,4),16),s=parseInt(a.slice(4,6),16);return{hex:a,r:e,g:r,b:s,a:1}}if(t.startsWith("rgba")||t.startsWith("rgb")){const a=t.match(/[\d.]+/g)?.map(Number);if(!a||a.length<3)throw new Error("xpl-input-color: Invalid rgba/rgb format");const[e,r,s,i=1]=a,o=t=>t.toString(16).padStart(2,"0");return{hex:`${o(e)}${o(r)}${o(s)}`.toLowerCase(),r:e,g:r,b:s,a:i}}if(t.startsWith("hsla")||t.startsWith("hsl")){const a=t.match(/[\d.]+/g)?.map(Number);if(!a||a.length<3)throw new Error("xpl-input-color: Invalid hsla/hsl format");const[e,r,s,i=1]=a,n=((t,a,e,r)=>{e/=100;const s=a=>(a+t/30)%12,i=(a/=100)*Math.min(e,1-e),o=t=>e-i*Math.max(-1,Math.min(s(t)-3,Math.min(9-s(t),1)));return`rgba(${Math.round(255*o(0))}, ${Math.round(255*o(8))}, ${Math.round(255*o(4))}, ${r})`})(e,r,s,i),h=n.match(/[\d.]+/g)?.map(Number);if(!h||h.length<3)throw new Error("xpl-input-color: Invalid hsla/hsl format");const[l,c,d]=h;return{hex:o(l,c,d).toLowerCase(),r:l,g:c,b:d,a:i}}throw new Error("xpl-input-color: Unsupported color format")},h=t=>t.a&&1!==t.a?`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`:`#${t.hex}`,l={hex:"",r:0,g:0,b:0,a:1},c=class{constructor(e){t(this,e),this.inputChange=a(this,"inputChange",7),this.hasErrorStateChanged=a(this,"hasErrorStateChanged",7),this.placeholder="Select color",this.eyeDropperSupported=!1,this.colorInputElements={},this.handleMove=t=>{const{slGrid:a}=this.colorInputElements;if(!a)return;const e=a.getBoundingClientRect(),r="touches"in t?t.touches[0].clientY:t.clientY,s=Math.max(0,Math.min(("touches"in t?t.touches[0].clientX:t.clientX)-e.left,e.width)),n=Math.max(0,Math.min(r-e.top,e.height)),h=s/e.width,l=n/e.height,c=i(this.hue,100,100),d=(255*(1-h)+h*c.r)*(1-l),p=(255*(1-h)+h*c.g)*(1-l),u=(255*(1-h)+h*c.b)*(1-l),b={r:Math.round(d),g:Math.round(p),b:Math.round(u),hex:o(Math.round(d),Math.round(p),Math.round(u)),a:this.colorValues.a};this.colorValues=b},this.startDrag=t=>{t.preventDefault(),this.handleMove(t),window.addEventListener("mousemove",this.handleMove),window.addEventListener("mouseup",this.stopDrag),window.addEventListener("touchmove",this.handleMove),window.addEventListener("touchend",this.stopDrag)},this.stopDrag=()=>{window.removeEventListener("mousemove",this.handleMove),window.removeEventListener("mouseup",this.stopDrag),window.removeEventListener("touchmove",this.handleMove),window.removeEventListener("touchend",this.stopDrag)},this.onHexInputChange=t=>{const a=t.detail?t.detail.trim().replace(/#/g,""):"";if(a){const[t,e,r]=(t=>{const a=t?.match(/\w\w/g);return a?a.map((t=>parseInt(t,16))):[0,0,0]})(a);this.colorValues={hex:a,r:t,g:e,b:r,a:this.colorValues.a??1}}else this.colorValues={...l}},this.onRgbaInputChange=(t,a)=>{const e=parseFloat(a.detail);if(Number.isNaN(e))return void(this.hasErrorState=`invalid value from ${t.name}: ${e}`);const r={...this.colorValues};switch(t.name){case"color-r-input":r.r=e;break;case"color-g-input":r.g=e;break;case"color-b-input":r.b=e;break;case"color-a-input":r.a=e;break;default:this.hasErrorState=`unhandled input: ${t.name}`}r.hex=o(r.r,r.g,r.b),this.colorValues=r},this.onSliderInputChange=t=>{const a=parseFloat(t.value);if(Number.isNaN(a))this.hasErrorState=`invalid value from ${t.name}: ${a}`;else switch(t.name){case"color-hue-slider":this.colorValues=n(`hsla(${a}, 100%, 50%, 1)`),this.hue=a;break;case"color-alpha-slider":this.colorValues={...this.colorValues,a};break;default:this.hasErrorState=`unhandled input: ${t.name}`}}}valueChanged(t){this.hasErrorState=this.required&&!t.hex?"required":null,this.inputChange.emit(t.hex?h(t):"")}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}onValuePropChange(t){this.syncColorFromValue(t)}syncColorFromValue(t){if(t)try{this.colorValues=n(t),this.hue=(()=>{const t=this.colorValues.r/255,a=this.colorValues.g/255,e=this.colorValues.b/255,r=Math.max(t,a,e),s=Math.min(t,a,e),i=r-s;let o=0,n=0;const h=(r+s)/2;if(0!==i){switch(n=i/(1-Math.abs(2*h-1)),r){case t:o=(a-e)/i%6;break;case a:o=(e-t)/i+2;break;case e:o=(t-a)/i+4}o*=60,o<0&&(o+=360)}return{hue:Math.round(o),saturation:Math.round(100*n),lightness:Math.round(100*h)}})().hue}catch{this.hasErrorState="invalid color format",this.hue=0}else this.colorValues={...l},this.hasErrorState=null,this.hue=0}componentWillLoad(){this.syncColorFromValue(this.value)}componentDidLoad(){s()&&(this.eyeDropperSupported="EyeDropper"in window);const{r:t,g:a,b:e,a:r,hue:i,alpha:o,hex:n}=this.colorInputElements;n?.addEventListener("valueChange",(t=>{this.onHexInputChange(t),t.stopPropagation()})),[t,a,e,r].forEach((t=>{t?.addEventListener("valueChange",(a=>{this.onRgbaInputChange(t,a),a.stopPropagation()}))})),[i,o].forEach((t=>{t?.addEventListener("input",(()=>{this.onSliderInputChange(t)}))}))}async openEyeDropper(){try{const t=window.EyeDropper;if(!t)throw new Error("EyeDropper API is not available");const a=new t,e=await a.open();this.colorValues=n(e.sRGBHex)}catch(t){this.hasErrorState=`eyedropper cancelled or failed: ${t}`}}render(){const{r:t,g:a,b:s,a:o}=this.colorValues,n=i(this.hue,100,100),{x:l,y:c}=((t,a,e,r)=>{const{s,v:i}=((t,a,e,r)=>{t/=255,a/=255,e/=255;const s=Math.max(t,a,e),i=s-Math.min(t,a,e);let o=0;return o=0===i?0:s===t?(a-e)/i%6:s===a?(e-t)/i+2:(t-a)/i+4,o=Math.round(60*o),o<0&&(o+=360),{h:r??o,s:0===s?0:i/s,v:s}})(a.r,a.g,a.b,t);return{x:Math.round(s*e),y:Math.round((1-i)*r)}})(this.hue,{r:t,g:a,b:s},288,160),d={left:`${l}px`,top:`${c}px`,background:`rgb(${t}, ${a}, ${s})`};return e(r,{key:"2c4bff1c1b56afdc1b4192a2d7c1e0a1f5ebc073",class:"xpl-input-color"},e("xpl-popover",{key:"ba545a5022a532ef2fde8c795bee19f2680514c1",disabled:this.disabled,display:"menu"},e("div",{key:"180e066079da1a97ba31bcaf66d443df8a0c48ca",slot:"trigger"},e("div",{key:"c3cc0cb1484c4111b60b736b750571552437d0cf",class:{"xpl-input-color__display":!0,"xpl-input-color__display--disabled":!!this.disabled,"xpl-input-color__display--error":!!this.hasErrorState}},e("span",{key:"72aaff4e9a54da1f766d1de85bd58216c866a4b7",class:"xpl-input-color__color",style:{background:h(this.colorValues)}}),this.colorValues.hex?e("span",{class:"xpl-input-color__value"},h(this.colorValues)):e("span",{class:"xpl-input-color__placeholder"},this.placeholder),this.eyeDropperSupported&&!this.hideEyeDropper&&e("xpl-icon",{key:"f55cfde9a119e9f0de379bc1bfb5b5d4b53aa992",size:20,icon:"eye-dropper",class:"xpl-input-color__icon",onClick:t=>{t.stopPropagation(),this.openEyeDropper()}}))),e("div",{key:"f80f215000d3a906d65f7f6673c6d8eaabe3fc6d",class:"xpl-input-color__menu"},e("div",{key:"4701c99f8a528900c34005b7c26d9fa544b664d8",class:"xpl-input-color__sl-grid",ref:t=>{this.colorInputElements.slGrid=t??void 0},style:{background:["linear-gradient(to top, #000, #0000)","linear-gradient(to right, #fff, #fff0)",`rgb(${n.r} ${n.g} ${n.b})`].join(", ")},onMouseDown:this.startDrag,onTouchStart:this.startDrag},e("div",{key:"3e0ec5c0821dfed35190053f5e4f147cb7b55eb0",class:"xpl-input-color__sl-thumb",style:d})),e("div",{key:"1b278a13c88aa663a2b8217fbc3524ee213e0f3b",class:"xpl-input-color__grid"},e("input",{key:"5e35bdd6e7776848a2d2eb32a00deb3ec349c21d",type:"range",min:"0",max:"360",value:this.hue,class:"xpl-input-color__slider xpl-input-color__hue",name:"color-hue-slider",ref:t=>{this.colorInputElements.hue=t??void 0}}),e("input",{key:"1119341201878e5c8511fa3e241afba15eab6d9b",type:"range",min:"0",max:"1",step:"0.01",value:o,class:"xpl-input-color__slider xpl-input-color__alpha",name:"color-alpha-slider",ref:t=>{this.colorInputElements.alpha=t??void 0},style:{backgroundImage:[`linear-gradient(to right, rgb(${t} ${a} ${s} / 0) 0%, rgb(${t} ${a} ${s} / 1) 100%)`,"linear-gradient(45deg, #ccc 25%, transparent 25%)","linear-gradient(-45deg, #ccc 25%, transparent 25%)","linear-gradient(45deg, transparent 75%, #ccc 75%)","linear-gradient(-45deg, transparent 75%, #ccc 75%)"].join(", ")}}),e("div",{key:"3804928b107e92bddbc3afa3fa883caafddbd06b",class:"xpl-input-color__preview",style:{background:`rgba(${t}, ${a}, ${s}, ${o})`}})),e("div",{key:"86961ee31d82724a76f6598bd547c8e650e27f24",class:"xpl-input-color__inputs"},["hex","r","g","b","a"].map((t=>e("xpl-input",{key:t,label:t.toLocaleUpperCase(),name:`color-${t}-input`,placeholder:"hex"===t?"793EF7":"0",value:String(this.colorValues[t]),ref:a=>{this.colorInputElements[t]=a??void 0}})))))))}static get watchers(){return{colorValues:[{valueChanged:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValuePropChange:0}]}}};export{c as xpl_input_color}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t,r as a,H as o}from"./p-ukZKsqqq.js";const s=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"13"},t("path",{d:"M0.5 5h15l-7.5 7.5L0.5 5Z",fill:"white",stroke:"none",class:"xpl-tooltip-arrow__fill"}),t("path",{d:"M0.5 5 L8 12.5 L15.5 5",fill:"none",stroke:"black","stroke-width":"1",class:"xpl-tooltip-arrow__stroke"})),e=class{constructor(t){a(this,t),this.position="top-middle",this.hideArrow=!1}render(){return t(o,{key:"834ba80f410bd7ed079b674b6f1d110235aaf826"},t("div",{key:"e45a7048339ce835ecabf5ef832a5ef2df6ded70",class:"xpl-tooltip-container"},t("slot",{key:"f56272df982aa6dc72ba2bf9776017235223de95"}),t("div",{key:"c5b1054301d08e1b83da61b565f0116f83f395c7",class:`xpl-tooltip xpl-tooltip--${this.position}`},this.text,!this.hideArrow&&t("div",{key:"e6a833629cf409644969d9c4da461a2016f2986b",class:"xpl-tooltip-arrow"},t(s,{key:"7a5893a25978635864ada200aea48660ca90d33c"})))))}};export{e as xpl_tooltip}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as a}from"./p-ukZKsqqq.js";const l=class{constructor(s){t(this,s),this.navOpen=i(this,"navOpen",7),this.open=!0}onNavToggle(){this.open=!this.open,this.navOpen.emit(this.open)}componentWillLoad(){this.open=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.open}render(){return s(a,{key:"3ed4e8e9214075b9062b221a05f1b27aa0b0bfbf"},s("nav",{key:"c809f6f649965d0b60d35c2bda31f721d67ccca1","aria-label":"utility navigation bar",class:"xpl-utility-bar"},this.navControl?s("div",null,s("button",{class:"xpl-utility-bar__nav-control",onClick:()=>this.onNavToggle()},s("xpl-icon",{class:"xpl-utility-nav__bars",icon:"three-bars"})),s("slot",{name:"aside"})):s("slot",{name:"aside"}),s("slot",{key:"99e22823c94e66c5dce24815485c7513b11e9267",name:"main"})))}};export{l as xpl_utility_bar}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as e,H as i,g as h}from"./p-ukZKsqqq.js";const a=class{constructor(e){t(this,e),this.tableSelect=s(this,"tableSelect",7),this.sortChanged=s(this,"sortChanged",3),this.selectedValues=[],this.isSortable=!1,this.sortableColumns=[],this.areAllSelected=!1,this.hasScrolled=!1,this.sortTypeArray=[],this.selectAll=t=>{const s=t.detail;this.areAllSelected=s,this.selected=this.selectedValues.length>0?Array.from(this.el.querySelectorAll("tbody td:first-child xpl-checkbox")).map((t=>s?t.value??s:s)):this.selected.map((()=>s)),this.onChange()},this.selectOne=(t,s)=>{const e=t.detail,{value:i}=t.target;this.selected=this.selected.map(((t,h)=>h!==s?t:this.selectedValues.length>0&&e?i??e:e)),this.areAllSelected=this.selected.every((t=>!!t)),this.onChange()},this.onChange=()=>{this.tableSelect.emit({selected:this.selected,areAllSelected:this.areAllSelected})},this.onScroll=()=>{this.hasScrolled=this.container.scrollLeft>0},this.sortBy=(t,s)=>{const e=(s,e)=>s[t].toLocaleLowerCase()<e[t].toLocaleLowerCase()?-1:s[t].toLocaleLowerCase()>e[t].toLocaleLowerCase()?1:0;switch(s[t]){case"asc":this.rowData.sort(((t,s)=>e(t,s)));break;case"desc":this.rowData.sort(((t,s)=>e(s,t)));break;default:this.rowData=this.data?Array.from(this.data):[],this.sortTypeArray[t]=null}this.rowData=Array.from(this.rowData)},this.setData=()=>{this.rowData=void 0!==this.data?Array.from(this.data):[]}}handleSort(t,s,e,i){t.preventDefault(),t.stopPropagation(),s&&(this.sortTypeArray=this.sortTypeArray.map(((t,s)=>{if(s!==e)return null;switch(t){case"asc":return"desc";case"desc":return null;default:return"asc"}})),this.sortChanged.emit({colNum:e,colName:i,sortTypeArr:this.sortTypeArray}).defaultPrevented||this.sortBy(e,this.sortTypeArray))}watchData(){this.setData()}watchColumns(){this.sortTypeArray=this.columns?this.columns.map((()=>null)):[]}componentWillLoad(){this.ensureSelectAllValue(),this.areAllSelected=!1,this.setData(),this.selected=new Array(this.rowData.length).fill(!1),this.ensureSortTypeArray()}ensureSelectAllValue(){if(void 0!==this.selectAllValue)return;const t=this.el.id?.trim();if(t)return void(this.selectAllValue=`${t}-select-all`);const s=this.el.getAttribute("data-select-all-value");s?this.selectAllValue=s:(a.selectAllSeq+=1,this.selectAllValue=`select-all-${a.selectAllSeq}`,this.el.setAttribute("data-select-all-value",this.selectAllValue))}ensureSortTypeArray(){!this.columns||this.sortTypeArray&&this.sortTypeArray.length===this.columns.length?this.columns||(this.sortTypeArray=[]):this.sortTypeArray=this.columns.map((()=>null))}render(){const t=void 0!==this.footer?Array.from(this.footer):[];return e(i,{key:"1e6bf436320a44e1e22e8590a881bc90c4a091d5"},e("div",{key:"3d2e5361fbe615a6ae8ebe916ce07e00f82c444c",class:"xpl-table-container",onScroll:this.onScroll,ref:t=>{t&&(this.container=t)}},e("table",{key:"036672b3ba45a90a42f906c155ce3d59e33c8a7a",class:{"xpl-table":!0,"xpl-table--striped":!!this.striped,"xpl-table--freeze":!!this.freeze,"xpl-table--has-scrolled":this.hasScrolled}},this.columns&&e("thead",{key:"bf0d5a808624234ba985c1c32064f1dab11bfefa"},this.columns.map(((t,s)=>{const i=(t=>{switch(t){case"asc":return"arrow-up";case"desc":return"arrow-down";default:return"dash"}})(this.sortTypeArray?.[s]),h=!(!this.isSortable||!this.sortableColumns[s]);return e("th",null,e("label",{onClick:e=>this.handleSort(e,h,s,t.replace(/ /g,"-").toLowerCase()),class:h?"cursor-pointer":""},this.multiselect&&0===s&&e("xpl-checkbox",{checked:this.areAllSelected,indeterminate:!this.areAllSelected&&this.selected.some((t=>t)),onClick:t=>t.stopPropagation(),onCheckboxChange:t=>this.selectAll(t),value:this.selectAllValue,"aria-label":"Select all rows"}),t,h&&!!this.sortTypeArray[s]&&e("xpl-icon",{icon:i,size:16})))}))),e("tbody",{key:"7915dbfbf1a9b68719c4168e09c5f0e3ab7fa35a"},this.rowData.map(((t,s)=>e("tr",{class:this.selected&&this.selected[s]?"xpl-table-row-selected":""},t.map(((t,i)=>e("td",null,this.multiselect&&0===i?e("label",null,e("xpl-checkbox",{checked:!!this.selected[s],onCheckboxChange:t=>this.selectOne(t,s),value:this.selectedValues.length>0?this.selectedValues[s]:`xpl-table-checkbox-${s}`,"aria-label":`Select row ${s+1}`}),e("div",{innerHTML:t})):e("div",{innerHTML:t})))))))),t.length>0&&e("tfoot",{key:"78ee72f80c77e61c6234be9500770780952ca669"},t.map((t=>e("tr",null,t.map((t=>e("td",null,e("div",{innerHTML:t})))))))))))}get el(){return h(this)}static get watchers(){return{data:[{watchData:0}],columns:[{watchColumns:0}]}}};a.selectAllSeq=0;export{a as xpl_table}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as e,h as d,H as c}from"./p-ukZKsqqq.js";const n=class{constructor(d){a(this,d),this.navWidth=e(this,"navWidth",7),this.width="default"}navWidthHandler(){this.navWidth.emit(this.width)}connectedCallback(){this.navWidthHandler()}componentDidUpdate(){this.navWidthHandler()}render(){return d(c,{key:"936e7393a8037c6c78c7a6d5d284d9c37be2f866",class:`xpl-main-nav xpl-main-nav--${this.width}`,"aria-label":"Sidebar"},d("nav",{key:"45fd74c979b53bbd8080ca92ea15e3135d0d49ae"},d("header",{key:"cb692d0e90aa70bce5e09af43e54d864849f4800","aria-label":"Sidebar Header"},d("slot",{key:"778c33ef024895ca44616ef9655843330e3c563b",name:"logo"}),d("slot",{key:"7728db09b46999e708c46d10d5de56c65ab9a9fa",name:"brand-name"})),d("div",{key:"0376fefe7921b061f3f2fdc972aa381ed7d124a2",class:"xpl-main-nav__main_section"},d("slot",{key:"12a61a53d6c93695d38c70d9a953fe4e37438178",name:"navigation"})),d("footer",{key:"8cd0e32231e155324c78878dcaad955ab7b3e4fb",class:"xpl-main-nav__footer","aria-label":"Sidebar Footer"},d("slot",{key:"cdaf0bec22d3d8229441e7e036c3fcbcb244c32f",name:"footer"}))))}};export{n as xpl_main_nav}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as e,H as i,g as o}from"./p-ukZKsqqq.js";import{a as n,c as a,o as l,f as h,b as r,h as c}from"./p-1M1pu0C2.js";import{i as d}from"./p-Dqb1pIRo.js";const p=4;function u(t){const{offsetPx:s=p,flipFallbackPlacements:e,sizeApply:i}=t;return[l(s),h(e&&e.length>0?{fallbackPlacements:e}:{}),r({apply:i}),c()]}const f={rowHeight:45,overscan:20,virtualizeFrom:200};function b(t,s){const{groupName:i,options:o,subtitle:n,...a}=t;if(i)return e("xpl-dropdown-group",{groupName:i,options:o,...a});const l=void 0!==s;return e("xpl-dropdown-option",{class:l?"xpl-dropdown-option--virtual":void 0,style:l?{transform:`translateY(${s*f.rowHeight}px)`}:void 0,subtitle:n,...a})}const m=class{constructor(e){t(this,e),this.isOpenChange=s(this,"isOpenChange",7),this.virtualEnd=0,this.virtualStart=0,this.isOpen=!1,this.closeOnSelect=!0,this.mode="single",this.anchorToTrigger=!1,this.placement="bottom-start",this.selectOnFocus=!1,this.floating=null,this.virtualScrollRaf=null,this.openAlignmentRaf=null,this.previousOptionCount=0,this.handleClickOutside=({target:t})=>{const{triggerId:s}=this,e=t,i=s?document.getElementById(s):null,o=i?.contains(e),n=this.hostElement.contains(e),a=e?.closest("label"),l=!!a&&!!s&&a.getAttribute("for")===s;n||o||l||!this.isOpen||(this.isOpen=!1)},this.handleKeyDown=t=>{"Escape"===t.key&&this.isOpen&&(this.isOpen=!1)},this.handleVirtualScroll=()=>{null===this.virtualScrollRaf&&(this.virtualScrollRaf=requestAnimationFrame((()=>{this.virtualScrollRaf=null,this.updateVirtualRange()})))},this.setListEl=t=>{t!==this.listEl&&(this.listEl=t,this.listResizeObserver?.disconnect(),t&&"undefined"!=typeof ResizeObserver&&(this.listResizeObserver??(this.listResizeObserver=new ResizeObserver((()=>{this.isVirtualized&&this.handleVirtualScroll()}))),this.listResizeObserver.observe(t)))},this.scheduleOpenAlignment=()=>{null===this.openAlignmentRaf&&(this.openAlignmentRaf=requestAnimationFrame((()=>{this.openAlignmentRaf=null,this.scrollSelectedIntoView(),this.updateVirtualRange()})))}}onOptionsChanged(){const t=this.options?.length??0,s=t!==this.previousOptionCount;if(this.previousOptionCount=t,!this.isVirtualized)return this.virtualStart=0,void(this.virtualEnd=0);const e=this.listEl;if(e){const i=Math.max(0,t*f.rowHeight-e.clientHeight);if(e.scrollTop>i&&(e.scrollTop=i),this.isOpen&&s){const t=this.options?.findIndex((t=>t.isSelected))??-1;t>=0&&(t<this.virtualStart||t>=this.virtualEnd)&&this.scrollSelectedIntoView()}}this.updateVirtualRange()}onAnchorToTriggerChanged(){this.isOpen&&this.startPositioning()}onFlipFallbackPlacementsChanged(){this.isOpen&&this.anchorToTrigger&&this.startPositioning()}onPlacementChanged(){this.isOpen&&this.anchorToTrigger&&this.startPositioning()}onTriggerIdChanged(){this.isOpen&&this.startPositioning()}onSelectedValuesChanged(t,s=!1){if(this.options&&this.options.length>0){this.options.flatMap((t=>t.groupName&&t.options?t.options:[t])).forEach((s=>{const e=s.value||s.label||"";if("single"===this.mode)s.isSelected=e===t;else{const i=Array.isArray(t)?t:[];s.isSelected=i.includes(e)}}));const e=t=>(t.options=t.groupName?t.options?.map(e):void 0,t);this.options=this.options.map(e),this.update&&!s&&this.update(null,{component:this})}}onIsOpenStateChange(t){this.isOpenChange.emit(t),t?(this.startPositioning(),this.alignOnOpen()):(this.stopPositioning(),this.cancelVirtualScroll(),this.virtualStart=0,this.virtualEnd=0)}connectedCallback(){d()&&(document.addEventListener("mousedown",this.handleClickOutside),document.addEventListener("keydown",this.handleKeyDown))}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside),document.removeEventListener("keydown",this.handleKeyDown),this.stopPositioning(),this.cancelVirtualScroll(),this.listResizeObserver?.disconnect()}componentWillLoad(){this.handleSelect=this.handleSelect.bind(this),this.selectedValues&&this.onSelectedValuesChanged(this.selectedValues,!0),this.previousOptionCount=this.options?.length??0}componentDidLoad(){this.isOpen&&(this.startPositioning(),this.alignOnOpen())}async handleSelect(t,{component:s}){const{hostElement:e,mode:i,options:o,update:n}=this,a="single"===i,l="multi"===i;if(o){const t=s.hostElement.value||s.hostElement.label;if(o.some((t=>t.groupName))){o.flatMap((t=>t.groupName&&t.options?t.options:[t])).forEach((e=>{const i=(e.value||e.label)===t;a?(e.isSelected=i,s.hostElement.isSelected=!0):l&&i&&(e.isSelected=!e.isSelected,s.hostElement.isSelected=e.isSelected)}));const e=t=>(t.options=t.groupName?t.options?.map(e):void 0,t);this.options=o.map(e)}else o.forEach((e=>{const i=(e.value||e.label)===t;a?(e.isSelected=i,i&&(s.hostElement.isSelected=!0)):l&&i&&(e.isSelected=!e.isSelected,s.hostElement.isSelected=e.isSelected)})),this.options=[...o]}else a?Array.from(e.querySelectorAll("xpl-dropdown-option")).forEach((t=>{t.isSelected=t===s.hostElement})):l&&(s.isSelected=!s.isSelected);n&&n(t,{component:this})}startPositioning(){if(!this.anchorToTrigger||!this.triggerId)return;const t=document.getElementById(this.triggerId);t&&(this.stopPositioning(),this.floating=function(t,s,e){if(!d())return{update:async()=>{},stop:()=>{}};const{placement:i,strategy:o,middleware:l,onPosition:h,onReferenceHidden:r,onError:c}=e;let p=0,u=null,f=!0;const b=async()=>{if(!f)return;const e=p;try{const n=await a(t,s,{placement:i,strategy:o,middleware:l});if(!f||e!==p)return;if(n.middlewareData.hide?.referenceHidden&&!0===r?.())return;h(n)}catch(t){if(!f||e!==p)return;c?.(t)}};return u=n(t,s,b),{update:b,stop:()=>{f=!1,p+=1,u&&(u(),u=null)}}}(t,this.hostElement,{placement:this.placement,strategy:"fixed",middleware:u({flipFallbackPlacements:this.flipFallbackPlacements,sizeApply:({availableHeight:t,rects:s})=>{const e=this.hostElement.querySelector(".xpl-dropdown-list");let i=0;if(e){const t=Array.from(this.hostElement.children),s=t.indexOf(e);t.slice(0,s).forEach((t=>{t instanceof HTMLElement&&(i+=t.offsetHeight)}))}const o=getComputedStyle(this.hostElement),n=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),a=e?parseFloat(getComputedStyle(e).getPropertyValue("--xpl-dropdown-list-max-height")):1/0,l=Math.min(a,Math.max(0,t-i-n));Object.assign(this.hostElement.style,{width:`${s.reference.width}px`}),e&&(e.style.maxHeight=`${l}px`)}}),onPosition:({x:t,y:s,placement:e})=>{if(!this.floating)return;const i="top"===e.split("-")[0];Object.assign(this.hostElement.style,{left:`${t}px`,top:`${s}px`}),this.hostElement.classList.toggle("xpl-dropdown--above",i),this.hostElement.classList.toggle("xpl-dropdown--below",!i)},onReferenceHidden:()=>(this.isOpen=!1,!0)}))}stopPositioning(){this.floating?.stop(),this.floating=null,this.hostElement.style.left="",this.hostElement.style.top="",this.hostElement.style.width="",this.hostElement.querySelector(".xpl-dropdown-list")?.style.removeProperty("max-height"),this.hostElement.classList.remove("xpl-dropdown--above","xpl-dropdown--below")}cancelVirtualScroll(){null!==this.virtualScrollRaf&&(cancelAnimationFrame(this.virtualScrollRaf),this.virtualScrollRaf=null),null!==this.openAlignmentRaf&&(cancelAnimationFrame(this.openAlignmentRaf),this.openAlignmentRaf=null)}alignOnOpen(){this.scrollSelectedIntoView(),this.updateVirtualRange(),this.scheduleOpenAlignment()}scrollSelectedIntoView(){const{listEl:t,options:s}=this;if(!t||!s?.length||!this.isVirtualized)return;const e=s.findIndex((t=>t.isSelected));if(e<0)return;const{rowHeight:i}=f,o=e*i-(t.clientHeight-i)/2,n=Math.max(0,s.length*i-t.clientHeight);t.scrollTop=Math.max(0,Math.min(o,n))}updateVirtualRange(){const t=this.listEl,s=this.options?.length??0;if(!t||!s)return;const{rowHeight:e,overscan:i}=f,o=Math.floor(t.scrollTop/e),n=Math.ceil(t.clientHeight/e)||1,a=Math.max(0,o-i),l=Math.min(s,o+n+i);a===this.virtualStart&&l===this.virtualEnd||(this.virtualStart=a,this.virtualEnd=l)}get isVirtualized(){const{options:t}=this;return!!t&&t.length>f.virtualizeFrom&&t.every((t=>!t.groupName&&!t.subtitle))}render(){const{isOpen:t,mode:s,options:o}=this,n=this.isVirtualized;let a;if(o&&o.length)if(n){const{rowHeight:t,overscan:s}=f,i=o.length,n=Math.min(this.virtualStart,i),l=Math.min(i,Math.ceil(300/t)+2*s);a=e("li",{key:"94094d9464c2f4ded9714f7ed16ca2b426c19794",class:"xpl-dropdown__virtual-sizer",style:{height:i*t+"px"}},o.slice(n,this.virtualEnd>n?this.virtualEnd:l).map(((t,s)=>b(t,n+s))))}else a=o.map((t=>b(t)));else a=e("slot",{key:"1673c7d33d7dc1d16bf56081df85976ed389a38f",name:"options"});return e(i,{key:"6e2fe2b904530c7966a23b3715485ea9ed415880","aria-expanded":t?"true":"false",class:{"xpl-dropdown":!0,"xpl-dropdown--multi":"multi"===s,"xpl-dropdown--open":t,"xpl-dropdown--anchor-to-trigger":this.anchorToTrigger,"xpl-dropdown--virtualized":n},role:"listbox"},e("slot",{key:"b9c87382e07b23b326fab22b8423021f8c4a83f8",name:"header"}),e("ul",{key:"3824b650e2bbcb09fdea7f25ab19afa9a7dd8abe",class:"xpl-dropdown-list",ref:t=>{this.setListEl(t)},onScroll:n?this.handleVirtualScroll:void 0},a))}get hostElement(){return o(this)}static get watchers(){return{options:[{onOptionsChanged:0}],anchorToTrigger:[{onAnchorToTriggerChanged:0}],flipFallbackPlacements:[{onFlipFallbackPlacementsChanged:0}],placement:[{onPlacementChanged:0}],triggerId:[{onTriggerIdChanged:0}],selectedValues:[{onSelectedValuesChanged:0}],isOpen:[{onIsOpenStateChange:0}]}}},g=class{constructor(s){t(this,s)}render(){const{groupName:t,options:s}=this,o=s&&s.length&&s.map((({groupName:t,...s})=>t?e("xpl-dropdown-group",{label:t,...s}):e("xpl-dropdown-option",{...s})));return e(i,{key:"232eccef872d6563c056b3b709d3a741473de2b0",role:"group","aria-label":t},e("li",{key:"2185c7b55139ab7b144290c94ab53675a6224b46",class:"xpl-dropdown-list-item"},e("xpl-dropdown-heading",{key:"26c0d13d0742fd34eb629c668bd929e5541fffb8",label:t}),e("ul",{key:"0f13b81deda008bf0588393ff1a4102a5c7a171d",class:"xpl-dropdown-list"},o||e("slot",{key:"70cf6f662d1471c815f5e7c747080d7558efe407",name:"options"}))))}},w=class{constructor(s){t(this,s)}render(){return e(i,{key:"04265224adcc5b65f53d2e35d0cfef470931ce41",class:{"xpl-dropdown-heading":!0},role:"presentation"},e("span",{key:"27293255cdfe35d207f3f0155beae3dc4b737e0d"},this.label||e("slot",{key:"b5bbee144360b2e5da681864e3dae6c2cafd2552",name:"heading"})))}},x=class{constructor(s){t(this,s),this.dropdown=null}componentWillLoad(){this.dropdown=this.hostElement.closest("xpl-dropdown")}handleClick(t){if(!this.dropdown)return;const{closeOnSelect:s,mode:e}=this.dropdown;t.x&&t.y&&(this.dropdown.handleSelect(t,{component:this}),"single"===e&&s&&(this.dropdown.isOpen=!1))}handleKeyup(t){if(!this.dropdown)return;const{dropdown:s}=this,{closeOnSelect:e,mode:i,selectOnFocus:o}=this.dropdown;if(o&&["ArrowDown","ArrowLeft","ArrowRight","ArrowUp","Tab"].includes(t.key)){const{activeElement:o}=document,n=o?.closest("xpl-dropdown-option")??null;return s.handleSelect(t,{component:{hostElement:n}}),void("single"===i&&e&&(this.dropdown.isOpen=!1))}["Escape","Enter"].includes(t.key)&&(s.handleSelect(t,{component:this}),("Escape"===t.key||this.dropdown.closeOnSelect&&"Enter"===t.key)&&(this.dropdown.isOpen=!1))}connectedCallback(){this.hostElement.addEventListener("click",this.handleClick.bind(this)),this.hostElement.addEventListener("keyup",this.handleKeyup.bind(this))}disconnectedCallback(){this.hostElement.removeEventListener("click",this.handleClick),this.hostElement.removeEventListener("keyup",this.handleKeyup)}render(){const{label:t,isSelected:s,isDisabled:o,value:n,subtitle:a,icon:l}=this;return e(i,{key:"f4fa4b0a3150fafd4b1c259aa140925219487898",class:{"xpl-dropdown-option":!0,"xpl-dropdown-option--disabled":!!o,"xpl-dropdown-option--selected":!!s},role:"option","aria-checked":s,"aria-disabled":o,"aria-selected":s,value:n},e("li",{key:"417af38233cd4765cc54a0cc4541bb5caeaf10ab",class:"xpl-dropdown-list-item"},l&&e("xpl-icon",{key:"48cbe69b056142ce5ef5cd6c608a99f1defd2e9f",class:"xpl-dropdown-list-item__icon",icon:l,size:20}),t||e("slot",{key:"14b86d61bab431487cdef906a0a9b138d6ab4bbb",name:"option"}),a&&e("span",{key:"c7ff5ee61b08f7a94d107183127c0b9cff0b49b5",class:"xpl-dropdown-list-item__subtitle"},a)))}get hostElement(){return o(this)}};export{m as xpl_dropdown,g as xpl_dropdown_group,w as xpl_dropdown_heading,x as xpl_dropdown_option}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a,H as c}from"./p-ukZKsqqq.js";const s=class{constructor(a){e(this,a)}render(){return a(c,{key:"6fd3db4309ecb98fb1739fd69d964297a77a46eb",class:"xpl-secondary-nav"},a("nav",{key:"c08a1df306cee05760b6761409ebfb4ba87c2e4f","aria-label":"Secondary Nav"},a("slot",{key:"9d5d0657bdd581bce000f1ace49be8c1d018fe47"})))}};export{s as xpl_secondary_nav}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as e,h as i,H as c}from"./p-ukZKsqqq.js";import{v as t}from"./p-CK3_k8jD.js";const a=class{constructor(i){s(this,i),this.checkboxChange=e(this,"checkboxChange",7),this.id=t(),this.ariaLabel="",this.onChange=s=>{this.checkboxChange.emit(s.target.checked)}}render(){return i(c,{key:"d16058b571f7af6d2a83cbdce15b12bccadf0036",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},i("input",{key:"1001a243623e338fc4fefc9f58f251439c2fb74f",class:"xpl-checkbox",type:"checkbox","aria-label":(this.ariaLabel??"").trim()||void 0,checked:this.checked,"data-id":this.dataId,disabled:this.disabled,id:this.id,indeterminate:this.indeterminate,onChange:this.onChange,name:this.name,required:this.required,value:this.value}),i("label",{key:"37e85b721cef98c8ccc448e08dbf9d9c968bd0a6",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},i("slot",{key:"ef36d317d97e26098396b1131a1acce6bce5ae8f"}),this.description&&i("small",{key:"9d710e4fa3f366965307908ca2e216ac46310f30",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}};export{a as xpl_checkbox}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,F as e,H as h,g as n}from"./p-ukZKsqqq.js";import{t as a}from"./p-CzwViN3U.js";import{i as l}from"./p-Dqb1pIRo.js";import{v as o}from"./p-CK3_k8jD.js";import"./p-BFTU3MAI.js";let c;function r(t){return t.label||t.value||""}function d(t){return t.value||t.label||""}function p(t){return t.flatMap((t=>t.groupName&&t.options?t.options:[t]))}const g=class{constructor(i){t(this,i),this.selectChange=s(this,"selectChange",7),this.changeEvent=s(this,"changeEvent",7),this.dropdownStateChange=s(this,"dropdownStateChange",7),this.triggerDropdown=s(this,"triggerDropdown",7),this.choices=[],this.selectIcon="chevron-down",this.dropdownPlacement="bottom-start",this.mode="single",this.truncate=!0,this.active=!1,this.id=o(),this.keepFocus=!1,this.visibleChoices=1/0,this.choicesState=[],this.value=this.calculateValue(),this.dropdownOpenState=!1,this.container=null,this.dropdown=null,this.handleResizeThrottled=a((()=>{this.maybeTruncateChoices()}),250),this.handleTabKeyDown=t=>{"Tab"===t.key&&(this.keepFocus=!0)},this.handleTagRemove=t=>{const s=s=>t?.value&&s.value===t.value||t?.label&&s.label===t.label;this.choicesState=this.choicesState.map((t=>({...t,isSelected:!s(t)&&t.isSelected,options:t.options?.map((t=>({...t,isSelected:!s(t)&&t.isSelected})))})))},this.handleDropdownScroll=t=>{const s=this.dropdown?.querySelector(".xpl-dropdown-list");if(!s)return;const{scrollTop:i,scrollHeight:e,clientHeight:h}=s;(0===i&&t.deltaY<0||i+h>=e&&t.deltaY>0)&&t.preventDefault()}}onChoicesPropChanged(t){this.choicesState=this.initializeChoicesState()}onSelectedValuesPropChanged(){this.choicesState=this.initializeChoicesState()}onChoicesStateChanged(){this.update()}handleValueStateChange(t){this.selectChange.emit(t),this.changeEvent.emit("single"===this.mode?t:t?.length?t.split("|"):[]),this.customDisplayValue&&null!==this.container&&(this.container.querySelectorAll(".custom-display-value").forEach((s=>{s.classList.toggle("display-active",t.length>0),s.classList.toggle("display-inactive",0===t.length)})),this.container.querySelectorAll(".placeholder").forEach((s=>{s.classList.toggle("placeholder-hidden",t.length>0)})))}onDropdownOpenStateChanged(t){this.dropdownStateChange.emit(t)}initializeChoicesState(){return(this.choices??[]).map((t=>{const s="string"==typeof this.selectedValues?[this.selectedValues]:this.selectedValues;return{...t,isSelected:t.isSelected||!0===s?.includes(d(t)),options:t.options?.map((t=>({...t,isSelected:t.isSelected||!0===s?.includes(d(t))})))}}))}maybeTruncateChoices(){if(!l())return;if("single"===this.mode||!this.truncate)return;const t=this.container?.getBoundingClientRect().width;let s=0,i=0;const e=p(this.choicesState)?.filter((t=>t.isSelected));if(!e.length)return;const h=e.length;e.forEach(((h,n)=>(i+=function(t){const s=l()?(void 0===c&&(c=document.createElement("canvas").getContext("2d"),c&&(c.font="14px apple-system, system-ui, 'Segoe UI', Arial, Helvetica, Roboto, sans-serif")),c):null;return s?s.measureText(t).width+44:0}(r(e[n])),i>(t??0)-140||(s+=1),null))),s>=h&&(s=1/0),s<1&&(s=1),this.visibleChoices=s}closeDropdown(){this.dropdown?.isOpen&&(this.dropdown.isOpen=!1,this.active=!1)}calculateValue(){const t=p(this.choicesState).filter((t=>t.isSelected));return t.length?"single"===this.mode?d(t[0]):t.map((t=>d(t))).join("|"):""}update(){this.value=this.calculateValue(),this.maybeTruncateChoices()}renderLabel(){return this.label||this.description?i("label",{class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},this.label,this.description&&i("small",{class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)):null}renderSelectedTags(){let t=0;const s=p(this.choicesState).filter((t=>t.isSelected));return s.length?s.map(((e,h)=>t>=this.visibleChoices?null:(t+=1,i("xpl-tag",{onClose:()=>this.handleTagRemove(s[h])},r(s[h]))))):null}renderError(){return this.error?i("label",{class:"xpl-input-error",htmlFor:this.id},i("xpl-icon",{icon:"circle-warning"}),this.error):null}componentWillLoad(){this.choicesState=this.initializeChoicesState()}handleClickEvent(t){const s=t.target.closest(".xpl-select");null!==s&&s===this.container||this.closeDropdown()}handleKeyDown(t){"Escape"===t.key&&(this.active||this.container?.contains(document.activeElement))&&this.closeDropdown()}handleResize(){this.handleResizeThrottled()}componentDidLoad(){void 0!==this.truncateRafId&&cancelAnimationFrame(this.truncateRafId),this.truncateRafId=requestAnimationFrame((()=>{this.truncateRafId=void 0,this.maybeTruncateChoices()}))}disconnectedCallback(){this.handleResizeThrottled?.cancel(),void 0!==this.truncateRafId&&(cancelAnimationFrame(this.truncateRafId),this.truncateRafId=void 0)}handleDropdownTrigger(){if(this.disabled)return;const t=this.dropdown?.isOpen??!1,s=!t;this.triggerDropdown.emit({prevState:t,nextState:s}).defaultPrevented||(this.dropdownOpenState=s,this.dropdown&&(this.dropdown.isOpen=s))}async reset(){this.closeDropdown(),this.choicesState=this.choicesState.map((t=>({...t,isSelected:!1,options:t.options?.map((t=>({...t,isSelected:!1})))})))}render(){const t=p(this.choicesState).filter((t=>t.isSelected)),s=t[0]?.label||t[0]?.value,n=t.length>1&&this.visibleChoices<1/0&&this.truncate&&!this.customDisplayValue,a=`+ ${Math.abs(this.choicesState.filter((t=>t.isSelected)).length-this.visibleChoices)} more`;return i(h,{key:"b080c68630c2c0c6bfeffb6ce27c9b9363898ecc",class:{"xpl-select":!0,"xpl-select--disabled":!!this.disabled,"xpl-select--no-truncate":!this.truncate,[this.classNames??""]:!!this.classNames},onKeyDown:this.handleTabKeyDown,ref:t=>{this.container=t}},this.renderLabel(),i("div",{key:"c2913a9da7988d4e24fd788718637bcebd93fcb6",class:{"xpl-input":!0,"xpl-input--disabled":!!this.disabled,"xpl-input--error":void 0!==this.error}},i("div",{key:"58ea7fdb31c591b2726258d786ca5550219bcd89",class:"xpl-input-wrapper"},i("button",{key:"c4c2b2f0a90cd4ef407b8797fd65b86062387678",class:"xpl-select__trigger",disabled:this.disabled,id:this.id,onKeyDown:this.handleTabKeyDown,onClick:t=>{t.preventDefault(),this.handleDropdownTrigger()},type:"button"},i("div",{key:"7ddc58167d4363991c92d90ee6e0881f04bc725f",class:{"xpl-select-value":!0,"xpl-select-value--active":"multi"===this.mode&&this.value.length>0,"has-value":this.value.length>0}},(()=>this.customDisplayValue?i(e,null,i("div",{class:{"custom-display-value":!0,"custom-display-value--inactive":0===this.value.length}},i("slot",{name:"custom-display-value"})),i("span",{class:{"xpl-placeholder--hidden":this.value.length>0}},this.placeholder)):"single"===this.mode?s||this.placeholder:this.value.length>0?this.renderSelectedTags():this.placeholder)(),n&&a),i("xpl-icon",{key:"8640f1e46263c802edf0e9b18f53d2eb6b2a78a3",class:"xpl-select__chevron-down",icon:this.selectIcon??"chevron-down"}))),!this.disabled&&i("xpl-dropdown",{key:"6fb8d97e175894715a6dbc6ed17bc5b15829ed13",ref:t=>{this.dropdown=t??null},isOpen:this.dropdownOpenState,options:this.choicesState,selectedValues:this.selectedValues,mode:this.mode,triggerId:this.id,update:(t,{component:s})=>{const{options:i}=s;i&&i.length>0&&(this.choicesState=i)},onIsOpenChange:t=>{this.dropdownOpenState=t.detail},onWheel:this.handleDropdownScroll,anchorToTrigger:!0,flipFallbackPlacements:this.dropdownFlipFallbackPlacements,placement:this.dropdownPlacement}),this.renderError()),i("input",{key:"734ef739b61de3320ce777994853cb90ab8271d2",type:"hidden",name:this.name,value:this.value}))}static get watchers(){return{choices:[{onChoicesPropChanged:0}],selectedValues:[{onSelectedValuesPropChanged:0}],choicesState:[{onChoicesStateChanged:0}],value:[{handleValueStateChange:0}],dropdownOpenState:[{onDropdownOpenStateChanged:0}]}}},u=class{constructor(i){t(this,i),this.close=s(this,"close",7),this.tagDragEnd=s(this,"tagDragEnd",7),this.tagDragStart=s(this,"tagDragStart",7),this.tagRemove=s(this,"tagRemove",7),this.dismissAriaLabelSuffix="tag",this.isDragging=!1,this.disabled=!1,this.dismissible=!0,this.isDraggable=!1,this.size="default",this.handleTagClick=()=>{this.disabled||this.isDraggable||this.close.emit()},this.setDragPreviewToHost=t=>{if(t.dataTransfer)try{const s=this.el.getBoundingClientRect(),i=Math.max(0,t.clientX-s.left),e=Math.max(0,t.clientY-s.top);t.dataTransfer.setDragImage(this.el,i,e)}catch{}},this.handleContentKeyDown=t=>{this.disabled||"Enter"!==t.key&&" "!==t.key||t.preventDefault()},this.handleDismissClick=t=>{t.stopPropagation(),this.disabled||(this.close.emit(),this.tagRemove.emit())},this.handleDragStart=t=>{this.isDragging=!0,t.dataTransfer&&(t.dataTransfer.effectAllowed="move",this.setDragPreviewToHost(t),this.tagId&&t.dataTransfer.setData("application/x-tag-id",this.tagId),t.dataTransfer.setData("text/plain",this.getContentLabelText())),this.tagDragStart.emit({tagId:this.tagId,content:this.getContentLabelText(),originalEvent:t})},this.handleDragEnd=t=>{this.isDragging=!1,this.tagDragEnd.emit({tagId:this.tagId,dropped:"move"===t.dataTransfer?.dropEffect,originalEvent:t})},this.handleDragOver=t=>{!this.disabled&&this.isDraggable&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"))},this.handleDragEnter=t=>{!this.disabled&&this.isDraggable&&t.preventDefault()},this.handleHostDragStart=t=>{t.target===this.el&&this.isDraggable&&t.preventDefault()}}onDisabledChange(t){t&&this.isDragging&&(this.isDragging=!1)}onIsDraggableChange(t){!t&&this.isDragging&&(this.isDragging=!1)}componentDidRender(){queueMicrotask((()=>this.syncDismissAriaLabelSuffix()))}getContentLabelText(){return(this.el.querySelector(".xpl-tag__content")?.textContent??"").trim()}syncDismissAriaLabelSuffix(){if(!this.el.isConnected)return;const t=this.getContentLabelText(),s=""===t?"tag":t;s!==this.dismissAriaLabelSuffix&&(this.dismissAriaLabelSuffix=s)}render(){const t=this.isDraggable&&!this.disabled;return i(h,{key:"4129a867a9581efc82985d11549810860a2c6f87",class:{"xpl-tag":!0,"xpl-tag-container":!0,"xpl-tag--disabled":this.disabled,"xpl-tag--dismissible":this.dismissible,"xpl-tag--dragging":this.isDragging,"xpl-tag--draggable":t,"xpl-tag--sm":"sm"===this.size},onDragOver:t?this.handleDragOver:void 0,onDragEnter:t?this.handleDragEnter:void 0,onDragStart:this.isDraggable?this.handleHostDragStart:void 0},t?i("div",{class:"xpl-tag__content xpl-tag",role:"button",tabIndex:0,draggable:!0,"aria-grabbed":String(this.isDragging),onClick:this.handleTagClick,onKeyDown:this.handleContentKeyDown,onDragStart:this.handleDragStart,onDragEnd:this.handleDragEnd},i("slot",null)):i("button",{class:"xpl-tag__content xpl-tag",type:"button",disabled:this.disabled,onClick:this.handleTagClick},i("slot",null)),this.dismissible&&i("button",{key:"fb10e5fe87053ff4c00f584d887e1f5c29b2dc74",class:"xpl-tag__dismiss xpl-tag__close",type:"button",draggable:!1,disabled:this.disabled,"aria-label":`Dismiss ${this.dismissAriaLabelSuffix}`,onClick:this.handleDismissClick},i("xpl-icon",{key:"e8afb0b6fbf1a942cce78cf6a26b420445094f30",icon:"xmark",size:10})))}get el(){return n(this)}static get watchers(){return{disabled:[{onDisabledChange:0}],isDraggable:[{onIsDraggableChange:0}]}}};export{g as xpl_select,u as xpl_tag}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as l,H as e}from"./p-ukZKsqqq.js";const c=class{constructor(l){a(this,l),this.withSubnav=!1,this.withUtility=!0,this.navWidth="default",this.navOpen=!0}closeNavOnMobile(){window.innerWidth<=640&&(this.navOpen=!1)}navToggleHandler(){this.navOpen=!this.navOpen}navWithHandler(a){this.navWidth=a.detail}onWindowResize(){this.closeNavOnMobile()}connectedCallback(){this.closeNavOnMobile()}componentWillLoad(){this.navOpen=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.navOpen}render(){let a="xpl-application-shell";this.withUtility&&(a+=" xpl-application-shell--with_utility");let c="xpl-application-shell__nav";return c+=this.navOpen?` xpl-application-shell__nav--${this.navWidth}--open`:` xpl-application-shell__nav--${this.navWidth}`,l(e,{key:"be149a4700553c66898f5d7fa27f68896631c717",class:a},l("div",{key:"5fe0df88f9b5a19104b189ba68a8bfeea3b6afe7",class:c},l("slot",{key:"040596fdc502c23694d6f7bd036c85840d264d2d",name:"nav"})),l("div",{key:"6208807949de1949c8d2c1ff6fc6c9a775212d92",class:"xpl-application-shell__subnav"},l("slot",{key:"e194c31283abc0bcbac3db876d0acb1503d9cc12",name:"subnav"})),l("div",{key:"1cb4caa932297cd858f82d78077c10868a5af323",class:"xpl-application-shell__utility"},l("slot",{key:"cea302c27a7e067c8244ed6f33d17392c06451e5",name:"utility"})),l("div",{key:"4546be74ec501036b7113519c4a65973fb896866",class:"xpl-application-shell__content"},l("slot",{key:"8078f31fe1add42efcd65cabd5137d50dec207d6",name:"content"})),l("xpl-backdrop",{key:"cd07a3093eb1c48fce03f49241905bb2881e472a",onClick:()=>this.navToggleHandler(),class:{"xpl-application-shell__backdrop--open":this.navOpen},relative:!0}))}};export{c as xpl_application_shell}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as r,H as o}from"./p-ukZKsqqq.js";const c=class{constructor(r){e(this,r)}render(){return r(o,{key:"7c0c20a91c48433b21a8a83094d614de532b317b",class:"xpl-table-footer",role:"rowgroup"},r("slot",{key:"aebc40fc1edc9ced7b2420303d3a38897c24939f"}))}};export{c as xpl_table_footer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as a,h as t,H as s,g as i}from"./p-ukZKsqqq.js";let d=0;const l=class{constructor(t){e(this,t),this.modalClosed=a(this,"modalClosed",7),this.dialogElement=null,this.titleId=`xpl-modal-title-${d+=1}`,this.isOpen=!1,this.size="medium",this.variant="default",this.handleDialogClose=()=>{this.isOpen=!1,this.modalClosed.emit()},this.handleNativeBackdropClick=e=>{const{dialogElement:a}=this;if(!a||e.target!==a)return;const t=a.getBoundingClientRect();(e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom)&&this.handleDialogClose()}}connectedCallback(){this.bindDialog()}disconnectedCallback(){this.clearCloseTimer(),this.unbindDialog()}componentDidLoad(){this.bindDialog()}updateModalState(){this.clearCloseTimer(),this.isOpen?this.openDialog():this.scheduleClose()}bindDialog(){const e=this.element.querySelector("dialog");e&&(this.dialogElement=e,e.removeEventListener("cancel",this.handleDialogClose),e.removeEventListener("click",this.handleNativeBackdropClick),e.addEventListener("cancel",this.handleDialogClose),e.addEventListener("click",this.handleNativeBackdropClick),this.updateModalState())}unbindDialog(){const e=this.dialogElement;e&&(e.open&&"function"==typeof e.close&&e.close(),e.removeEventListener("cancel",this.handleDialogClose),e.removeEventListener("click",this.handleNativeBackdropClick))}clearCloseTimer(){void 0!==this.closeTimerId&&(clearTimeout(this.closeTimerId),this.closeTimerId=void 0)}openDialog(){this.dialogElement&&!this.dialogElement.open&&this.dialogElement.showModal?.()}scheduleClose(){this.dialogElement&&"function"==typeof this.dialogElement.close&&(this.closeTimerId=setTimeout((()=>{this.closeTimerId=void 0,this.dialogElement?.close()}),250))}render(){return t(s,{key:"3194d5377b7438543a3f6e6ab41fd7c307674a28",class:"xpl-modal"},this.isOpen&&t("xpl-backdrop",{key:"dfc30ff7879364920669a1d1ebfdaea39951b966"}),t("dialog",{key:"bfb33a8d97d17981f582768b0e34b0d167cf60cb",class:`xpl-modal__dialog xpl-modal-size--${this.size} xpl-modal--${this.isOpen?"is-open":"is-closed"}`,"aria-labelledby":this.titleId},t("div",{key:"0b71adc30bde109aa831a28200c918a458a7da52",class:"xpl-modal__header"},t("div",{key:"657c5aad60fa85e4285e299dcbe24209742277e6",class:"xpl-modal__title"},t("xpl-button",{key:"2301014d0f4bd129dbbfc7b1eb242db98622f866",type:"button",class:"xpl-modal__close-button","icon-only":!0,variant:"tertiary","aria-label":"Close modal",onClick:this.handleDialogClose},t("xpl-icon",{key:"a978ff514926ca4b319c4920b2057baa50a1fb24",icon:"xmark"})),"warning"===this.variant&&t("xpl-icon",{key:"2a1cf704d1aa75170d53ef3887a4d1e7874762fa",size:20,icon:"triangle-warning",class:"xpl-modal__alert-icon"}),t("span",{key:"d2bcd4c5b4596e80875eb9000ee75d592e41ce74",class:"xpl-modal__title-text",id:this.titleId},t("slot",{key:"cf009856b6e86bab36bc16a249ad9b3ebc09fd1c",name:"title"}))),t("div",{key:"29258401d4ec72c81a5a7e28e2365efd2227445e",class:"xpl-modal__subtitle"},t("slot",{key:"9f749c62f55edabcec4dc5d8677ad9b45e64be50",name:"subtitle"}))),t("div",{key:"f12dd8ee02ef7f9aeeedd0d7c7b5ffe52c24a336",class:"xpl-modal__body"},t("slot",{key:"0a9e2d67a7842075560e1cf846e4b3d18bfe1bee",name:"body"})),t("div",{key:"720e9bf0cb5746b31b7dee9cb1ad4226eb13bf11",class:"xpl-modal__footer"},t("slot",{key:"819ba75ee04742fb872c0345b4cc1732891856ee",name:"primary"}),t("slot",{key:"b74d4339586fd2d863791d6cb6cd3d593a9c9785",name:"secondary"}),t("slot",{key:"a4d437d7e9142bf91307edae5ed5dbd89e8921f0",name:"tertiary"}))))}get element(){return i(this)}static get watchers(){return{isOpen:[{updateModalState:0}]}}};export{l as xpl_modal}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s,H as e}from"./p-ukZKsqqq.js";const n=class{constructor(s){i(this,s),this.action=t(this,"action",7),this.dismiss=t(this,"dismiss",7),this.secondaryAction=t(this,"secondaryAction",7),this.appearance="information",this.hasIcon=!0,this.isDismissible=!0,this.isSection=!1,this.truncateDesc=!1}getIcon(){switch(this.appearance){case"positive":return"circle-check";case"warning":return"triangle-warning";case"error":return"octagon-warning";default:return"circle-info"}}getActionButtonState(){return this.isSection&&"positive"===this.appearance?"success":"error"===this.appearance?"warning":void 0}getActionButtonVariant(){return this.isSection?"subtle":"error"===this.appearance?"primary":"subtle"}getAriaLabel(){return this.isSection?this.heading?.trim()||"Section banner":{information:"Information banner",positive:"Positive banner",warning:"Warning banner",error:"Error banner"}[this.appearance]}render(){const i=!!this.actionText?.trim(),t=!!this.secondaryActionText?.trim(),n=this.getActionButtonVariant(),a=this.getActionButtonState(),r=!!this.heading?.trim(),c=!!this.description?.trim();return s(e,{key:"00046ec64a9cf7b913298ad452aa26f3bd1078bd",class:{"xpl-banner":!0,"xpl-banner--section":this.isSection,[`xpl-banner--${this.appearance}`]:!0,"xpl-banner--truncate-desc":this.truncateDesc,"xpl-banner--no-icon":this.isSection&&!this.hasIcon},role:"region","aria-label":this.getAriaLabel()},(!this.isSection||this.hasIcon)&&s("div",{key:"bc95f036e4848863fb07cbdb35e2335f863f21f6",class:"xpl-banner__icon","aria-hidden":"true"},s("xpl-icon",{key:"a019d22111644263e770384c2a8d60487dd2f705",icon:this.getIcon(),size:24})),s("div",{key:"5c6039a2c4be58b3f503938c9b3f33feec61cda9",class:"xpl-banner__body"},r&&s("p",{key:"fff21d65b10b628c405959763aa21b676b5a40f6",class:"xpl-banner__heading"},this.heading),c&&s("p",{key:"114a6720cbbcf584bc00a3974f7e95ca3cebc54d",class:"xpl-banner__description",title:this.truncateDesc?this.description:void 0},this.description)),(i||t)&&s("div",{key:"69a72574bfc37baf6c18ea5b4512f0f11fc45db5",class:"xpl-banner__actions"},i&&s("xpl-button",{key:"3ff5eb207a819901f3d0017223ae83e9a6c5bf30",size:"xs",variant:n,state:a,onClick:()=>this.action.emit()},this.actionText),t&&s("xpl-button",{key:"fc54ced977a1f4fc5ca39e7fd981b789b42727fa",size:"xs",variant:n,state:a,onClick:()=>this.secondaryAction.emit()},this.secondaryActionText)),this.isDismissible&&s("button",{key:"d236e3448164706d787f8f1fcde36430803c5dc2",class:"xpl-banner__dismiss",type:"button","aria-label":`Dismiss ${this.isSection?"section ":""}banner`,onClick:()=>this.dismiss.emit()},s("xpl-icon",{key:"a3eb350b62b53cb59a40576d0da748adad554c79",icon:"xmark",size:24,"aria-hidden":"true"})))}};export{n as xpl_banner}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a,H as r}from"./p-ukZKsqqq.js";const t=class{constructor(a){e(this,a),this.size="wide"}render(){return a(r,{key:"97fd281e5aa7ba1805f1424e80d6018ca5fdafe0"},a("main",{key:"6a6f315e74225f66105874998c679183f2c743f5",class:`xpl-content-area-wrapper xpl-content-area-wrapper__${this.size}`},a("div",{key:"c46017f1a0fd8b278f7b817de82629eb777515fd",class:"xpl-content-area"},a("slot",{key:"cc6d45297d23770880778810952f7e95445bb800"}))))}};export{t as xpl_content_area}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as s,h as t,H as a}from"./p-ukZKsqqq.js";const i=class{constructor(t){e(this,t),this.navOpen=s(this,"navOpen",7),this.navControl=!1}onNavToggle(){window.innerWidth<=640&&this.navOpen.emit(!1)}render(){return t(a,{key:"6632b50719b413f69b1943035e60c086951709d7",class:"xpl-nav-item",role:"listitem",onClick:()=>{this.navControl&&this.onNavToggle()}},t("slot",{key:"1c7f754d3fa4b67883562f4877414cefc7947920",name:"link"},t("slot",{key:"c4268f625e8a4ef9323293d064abee42afee5d1f",name:"icon"}),t("slot",{key:"5f843056b4c5852e3fa89c9a5ef36442b76238a0"})))}};export{i as xpl_nav_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as l,H as t}from"./p-ukZKsqqq.js";const r=class{constructor(l){e(this,l),this.align="left"}render(){return l(t,{key:"331e85728bbd31aa7cde4fe169874879518b92bd",class:{"xpl-table-footer-cell":!0,[`xpl-table-footer-cell--align-${this.align}`]:!0},role:"gridcell"},l("slot",{key:"29f074c9c81b9cf38bca0ef3eb92a54a408b2436"}))}};export{r as xpl_table_footer_cell}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-3cBvw409.js');
|
|
4
|
-
|
|
5
|
-
const XplTableFooterCell = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
index.registerInstance(this, hostRef);
|
|
8
|
-
this.align = 'left';
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (index.h(index.Host, { key: '331e85728bbd31aa7cde4fe169874879518b92bd', class: {
|
|
12
|
-
'xpl-table-footer-cell': true,
|
|
13
|
-
[`xpl-table-footer-cell--align-${this.align}`]: true,
|
|
14
|
-
}, role: "gridcell" }, index.h("slot", { key: '29f074c9c81b9cf38bca0ef3eb92a54a408b2436' })));
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
exports.xpl_table_footer_cell = XplTableFooterCell;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-3cBvw409.js');
|
|
4
|
-
|
|
5
|
-
const TableHeaderCell = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
index.registerInstance(this, hostRef);
|
|
8
|
-
this.sortChanged = index.createEvent(this, "sortChanged", 7);
|
|
9
|
-
this.sortable = false;
|
|
10
|
-
this.label = '';
|
|
11
|
-
this.type = 'label';
|
|
12
|
-
this.sortDirection = 'none';
|
|
13
|
-
}
|
|
14
|
-
toggleSort() {
|
|
15
|
-
if (this.sortDirection === 'asc') {
|
|
16
|
-
this.sortDirection = 'desc';
|
|
17
|
-
}
|
|
18
|
-
else if (this.sortDirection === 'desc') {
|
|
19
|
-
this.sortDirection = 'none';
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
this.sortDirection = 'asc';
|
|
23
|
-
}
|
|
24
|
-
this.sortChanged.emit(this.sortDirection);
|
|
25
|
-
}
|
|
26
|
-
render() {
|
|
27
|
-
const colIndex = this.el.parentElement
|
|
28
|
-
? Array.from(this.el.parentElement.children).indexOf(this.el) + 1
|
|
29
|
-
: 0;
|
|
30
|
-
const renderContent = () => {
|
|
31
|
-
switch (this.type) {
|
|
32
|
-
case 'label':
|
|
33
|
-
return index.h("span", null, this.label);
|
|
34
|
-
case 'checkbox':
|
|
35
|
-
return index.h("xpl-checkbox", null);
|
|
36
|
-
case 'icon':
|
|
37
|
-
return this.icon ? index.h("xpl-icon", { icon: this.icon, size: 20 }) : null;
|
|
38
|
-
default:
|
|
39
|
-
return '';
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
const renderSortIcon = () => {
|
|
43
|
-
switch (this.sortDirection) {
|
|
44
|
-
case 'none':
|
|
45
|
-
return index.h("xpl-icon", { class: "sort-icon", icon: "arrow-down", size: 16 });
|
|
46
|
-
case 'asc':
|
|
47
|
-
return (index.h("xpl-icon", { class: "sort-icon sort-icon--sorted", icon: "arrow-up", size: 16 }));
|
|
48
|
-
case 'desc':
|
|
49
|
-
return (index.h("xpl-icon", { class: "sort-icon sort-icon--sorted", icon: "arrow-down", size: 16 }));
|
|
50
|
-
default:
|
|
51
|
-
return '';
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
return (index.h(index.Host, { role: "columnheader", "aria-colindex": colIndex, class: `xpl-table-header-cell ${this.sortable ? 'sortable' : 'non-sortable'}`, style: { width: `${this.width}px` } }, this.sortable ? (index.h("button", { onClick: () => this.toggleSort() }, renderContent(), renderSortIcon())) : (renderContent())));
|
|
55
|
-
}
|
|
56
|
-
get el() { return index.getElement(this); }
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
exports.xpl_table_header_cell = TableHeaderCell;
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class TableHeaderCell {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.sortable = false;
|
|
5
|
-
this.label = '';
|
|
6
|
-
this.type = 'label';
|
|
7
|
-
this.sortDirection = 'none';
|
|
8
|
-
}
|
|
9
|
-
toggleSort() {
|
|
10
|
-
if (this.sortDirection === 'asc') {
|
|
11
|
-
this.sortDirection = 'desc';
|
|
12
|
-
}
|
|
13
|
-
else if (this.sortDirection === 'desc') {
|
|
14
|
-
this.sortDirection = 'none';
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
this.sortDirection = 'asc';
|
|
18
|
-
}
|
|
19
|
-
this.sortChanged.emit(this.sortDirection);
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
const colIndex = this.el.parentElement
|
|
23
|
-
? Array.from(this.el.parentElement.children).indexOf(this.el) + 1
|
|
24
|
-
: 0;
|
|
25
|
-
const renderContent = () => {
|
|
26
|
-
switch (this.type) {
|
|
27
|
-
case 'label':
|
|
28
|
-
return h("span", null, this.label);
|
|
29
|
-
case 'checkbox':
|
|
30
|
-
return h("xpl-checkbox", null);
|
|
31
|
-
case 'icon':
|
|
32
|
-
return this.icon ? h("xpl-icon", { icon: this.icon, size: 20 }) : null;
|
|
33
|
-
default:
|
|
34
|
-
return '';
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
const renderSortIcon = () => {
|
|
38
|
-
switch (this.sortDirection) {
|
|
39
|
-
case 'none':
|
|
40
|
-
return h("xpl-icon", { class: "sort-icon", icon: "arrow-down", size: 16 });
|
|
41
|
-
case 'asc':
|
|
42
|
-
return (h("xpl-icon", { class: "sort-icon sort-icon--sorted", icon: "arrow-up", size: 16 }));
|
|
43
|
-
case 'desc':
|
|
44
|
-
return (h("xpl-icon", { class: "sort-icon sort-icon--sorted", icon: "arrow-down", size: 16 }));
|
|
45
|
-
default:
|
|
46
|
-
return '';
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
return (h(Host, { role: "columnheader", "aria-colindex": colIndex, class: `xpl-table-header-cell ${this.sortable ? 'sortable' : 'non-sortable'}`, style: { width: `${this.width}px` } }, this.sortable ? (h("button", { onClick: () => this.toggleSort() }, renderContent(), renderSortIcon())) : (renderContent())));
|
|
50
|
-
}
|
|
51
|
-
static get is() { return "xpl-table-header-cell"; }
|
|
52
|
-
static get properties() {
|
|
53
|
-
return {
|
|
54
|
-
"icon": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"mutable": false,
|
|
57
|
-
"complexType": {
|
|
58
|
-
"original": "string",
|
|
59
|
-
"resolved": "string",
|
|
60
|
-
"references": {}
|
|
61
|
-
},
|
|
62
|
-
"required": false,
|
|
63
|
-
"optional": true,
|
|
64
|
-
"docs": {
|
|
65
|
-
"tags": [],
|
|
66
|
-
"text": "Icon to display in the cell.\n\nSee [xpl-icon available icons](../xpl-icon/ICONS.md) for valid icon names."
|
|
67
|
-
},
|
|
68
|
-
"getter": false,
|
|
69
|
-
"setter": false,
|
|
70
|
-
"reflect": false,
|
|
71
|
-
"attribute": "icon"
|
|
72
|
-
},
|
|
73
|
-
"sortable": {
|
|
74
|
-
"type": "boolean",
|
|
75
|
-
"mutable": false,
|
|
76
|
-
"complexType": {
|
|
77
|
-
"original": "boolean",
|
|
78
|
-
"resolved": "boolean",
|
|
79
|
-
"references": {}
|
|
80
|
-
},
|
|
81
|
-
"required": false,
|
|
82
|
-
"optional": true,
|
|
83
|
-
"docs": {
|
|
84
|
-
"tags": [{
|
|
85
|
-
"name": "property",
|
|
86
|
-
"text": "{boolean} - Whether the cell is sortable or not"
|
|
87
|
-
}],
|
|
88
|
-
"text": ""
|
|
89
|
-
},
|
|
90
|
-
"getter": false,
|
|
91
|
-
"setter": false,
|
|
92
|
-
"reflect": false,
|
|
93
|
-
"attribute": "sortable",
|
|
94
|
-
"defaultValue": "false"
|
|
95
|
-
},
|
|
96
|
-
"label": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"mutable": false,
|
|
99
|
-
"complexType": {
|
|
100
|
-
"original": "string",
|
|
101
|
-
"resolved": "string",
|
|
102
|
-
"references": {}
|
|
103
|
-
},
|
|
104
|
-
"required": false,
|
|
105
|
-
"optional": true,
|
|
106
|
-
"docs": {
|
|
107
|
-
"tags": [{
|
|
108
|
-
"name": "property",
|
|
109
|
-
"text": "{string} - Text to display in the cell"
|
|
110
|
-
}],
|
|
111
|
-
"text": ""
|
|
112
|
-
},
|
|
113
|
-
"getter": false,
|
|
114
|
-
"setter": false,
|
|
115
|
-
"reflect": false,
|
|
116
|
-
"attribute": "label",
|
|
117
|
-
"defaultValue": "''"
|
|
118
|
-
},
|
|
119
|
-
"type": {
|
|
120
|
-
"type": "string",
|
|
121
|
-
"mutable": false,
|
|
122
|
-
"complexType": {
|
|
123
|
-
"original": "'label' | 'checkbox' | 'icon'",
|
|
124
|
-
"resolved": "\"checkbox\" | \"icon\" | \"label\"",
|
|
125
|
-
"references": {}
|
|
126
|
-
},
|
|
127
|
-
"required": false,
|
|
128
|
-
"optional": false,
|
|
129
|
-
"docs": {
|
|
130
|
-
"tags": [{
|
|
131
|
-
"name": "property",
|
|
132
|
-
"text": "{string} - The type of cell to render"
|
|
133
|
-
}],
|
|
134
|
-
"text": ""
|
|
135
|
-
},
|
|
136
|
-
"getter": false,
|
|
137
|
-
"setter": false,
|
|
138
|
-
"reflect": false,
|
|
139
|
-
"attribute": "type",
|
|
140
|
-
"defaultValue": "'label'"
|
|
141
|
-
},
|
|
142
|
-
"width": {
|
|
143
|
-
"type": "number",
|
|
144
|
-
"mutable": false,
|
|
145
|
-
"complexType": {
|
|
146
|
-
"original": "number",
|
|
147
|
-
"resolved": "number",
|
|
148
|
-
"references": {}
|
|
149
|
-
},
|
|
150
|
-
"required": false,
|
|
151
|
-
"optional": true,
|
|
152
|
-
"docs": {
|
|
153
|
-
"tags": [{
|
|
154
|
-
"name": "property",
|
|
155
|
-
"text": "{number} - Width of the cell, in pixels. Minimum width is 48px. If no value is provided, it will default\nto fit the content of the cell with 16px of padding on each side"
|
|
156
|
-
}],
|
|
157
|
-
"text": ""
|
|
158
|
-
},
|
|
159
|
-
"getter": false,
|
|
160
|
-
"setter": false,
|
|
161
|
-
"reflect": false,
|
|
162
|
-
"attribute": "width"
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
static get states() {
|
|
167
|
-
return {
|
|
168
|
-
"sortDirection": {}
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
static get events() {
|
|
172
|
-
return [{
|
|
173
|
-
"method": "sortChanged",
|
|
174
|
-
"name": "sortChanged",
|
|
175
|
-
"bubbles": true,
|
|
176
|
-
"cancelable": true,
|
|
177
|
-
"composed": true,
|
|
178
|
-
"docs": {
|
|
179
|
-
"tags": [],
|
|
180
|
-
"text": "Emitted when the sort direction changes."
|
|
181
|
-
},
|
|
182
|
-
"complexType": {
|
|
183
|
-
"original": "'asc' | 'desc' | 'none'",
|
|
184
|
-
"resolved": "\"asc\" | \"desc\" | \"none\"",
|
|
185
|
-
"references": {}
|
|
186
|
-
}
|
|
187
|
-
}];
|
|
188
|
-
}
|
|
189
|
-
static get elementRef() { return "el"; }
|
|
190
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,H as s,h as d,c as t,t as a}from"./p-BSHdGbmH.js";const c=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost()}render(){let e="xpl-divider";return e+=` xpl-divider--${this.tier}`,d(t,{key:"942681efa6bd2c3806109240a5ac5c179b112551",class:e},d("span",{key:"ce0b0ada57e7a51319260c88c10e411e3aaf2992"},d("slot",{key:"da50f574acdf87def6ff77ef743bf38cc8717a79"})))}},[260,"xpl-divider",{tier:[2]}]);function i(){"undefined"!=typeof customElements&&["xpl-divider"].forEach((e=>{"xpl-divider"===e&&(customElements.get(a(e))||customElements.define(a(e),c))}))}export{c as D,i as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,H as s,h as t,c as a,t as d}from"./p-BSHdGbmH.js";const i={success:"green",warning:"yellow",inactive:"gray",error:"red"},c=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.bordered=!1,this.dotOnly=!1,this.shape="rounded",this.size="default",this.variant="purple"}get resolvedVariant(){return i[this.variant]??this.variant}render(){return t(a,{key:"1cb8de25626460ca2c30f82696440af4d140d5e9"},t("div",{key:"fc51fea564ee09d6c5234046c6ec3b1c92333b1d",class:{"xpl-badge--dot-only":!!this.dotOnly,"xpl-badge--dot-only-bordered":!!this.dotOnly&&!!this.bordered,"xpl-badge":!this.dotOnly,"xpl-badge--dot":!this.dotOnly&&!!this.dot,[`xpl-badge--${this.resolvedVariant}`]:!0,[`xpl-badge--size-${this.size}`]:!!this.size,[`xpl-badge--shape-${this.shape}`]:!this.dotOnly&&!!this.shape}},t("span",{key:"d993cc55487aaccd349ac8c3c783b63a3597a9b4",class:"xpl-badge__label"},t("slot",{key:"8a3e27a6725cba451b43398dad1d8a6604af4e5e"}))))}},[260,"xpl-badge",{bordered:[4],dot:[4],dotOnly:[4,"dot-only"],shape:[1],size:[1],variant:[1]}]);function l(){"undefined"!=typeof customElements&&["xpl-badge"].forEach((e=>{"xpl-badge"===e&&(customElements.get(d(e))||customElements.define(d(e),c))}))}export{c as B,l as d}
|