@xplortech/apollo-core 2.12.0 → 3.0.0
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 +61 -0
- package/AGENTS.md +4 -4
- package/README.md +30 -3
- package/build/components/modal.css +1 -1
- package/build/components/table-body.css +1 -0
- package/build/components/table-footer-cell.css +1 -0
- package/build/components/table-footer.css +1 -0
- package/build/components/table-row.css +1 -0
- package/build/components/top-nav.css +1 -1
- package/build/components-manifest.json +13 -1
- package/build/core.css +1 -1
- package/build/style.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-d37488d4.entry.js → p-0368a1df.entry.js} +1 -1
- package/dist/apollo-core/p-056a99e4.entry.js +1 -0
- package/dist/apollo-core/p-068e3532.entry.js +1 -0
- package/dist/apollo-core/{p-121d1a4b.entry.js → p-06a9a27b.entry.js} +1 -1
- package/dist/apollo-core/{p-9747cf43.entry.js → p-0958c719.entry.js} +1 -1
- package/dist/apollo-core/p-0a0a6e43.entry.js +1 -0
- package/dist/apollo-core/{p-643c8038.entry.js → p-149ddd12.entry.js} +1 -1
- package/dist/apollo-core/p-1a94c2d9.entry.js +1 -0
- package/dist/apollo-core/{p-efa21ec0.entry.js → p-2139f9f6.entry.js} +1 -1
- package/dist/apollo-core/{p-76f64d65.entry.js → p-28bce81a.entry.js} +1 -1
- package/dist/apollo-core/{p-1a417191.entry.js → p-2938ab4f.entry.js} +1 -1
- package/dist/apollo-core/{p-4e61587f.entry.js → p-2c995d80.entry.js} +1 -1
- package/dist/apollo-core/p-2faa7b9c.entry.js +1 -0
- package/dist/apollo-core/p-30b1b700.entry.js +1 -0
- package/dist/apollo-core/p-32084caf.entry.js +1 -0
- package/dist/apollo-core/p-38586952.entry.js +1 -0
- package/dist/apollo-core/{p-707b1918.entry.js → p-47bda204.entry.js} +1 -1
- package/dist/apollo-core/{p-f199ad66.entry.js → p-4a2323b3.entry.js} +1 -1
- package/dist/apollo-core/{p-c25aebe5.entry.js → p-4ad79534.entry.js} +1 -1
- package/dist/apollo-core/{p-e4ae3f60.entry.js → p-4d4acd1f.entry.js} +1 -1
- package/dist/apollo-core/p-50fae269.entry.js +1 -0
- package/dist/apollo-core/{p-7f105d63.entry.js → p-54903322.entry.js} +1 -1
- package/dist/apollo-core/{p-8a81ef98.entry.js → p-5730d96c.entry.js} +1 -1
- package/dist/apollo-core/{p-46d21684.entry.js → p-581b702c.entry.js} +1 -1
- package/dist/apollo-core/{p-853418be.entry.js → p-5d9a593e.entry.js} +1 -1
- package/dist/apollo-core/{p-e00ed4f4.entry.js → p-60cb3cfb.entry.js} +1 -1
- package/dist/apollo-core/p-722b145a.entry.js +1 -0
- package/dist/apollo-core/p-75e5bfe0.entry.js +1 -0
- package/dist/apollo-core/p-77fe3cc1.entry.js +1 -0
- package/dist/apollo-core/{p-26861d09.entry.js → p-790709c0.entry.js} +1 -1
- package/dist/apollo-core/{p-7976cd3b.entry.js → p-82812126.entry.js} +1 -1
- package/dist/apollo-core/{p-c427a31d.entry.js → p-83bb7607.entry.js} +1 -1
- package/dist/apollo-core/p-8664d88b.entry.js +1 -0
- package/dist/apollo-core/{p-3d9c90ee.entry.js → p-9064badb.entry.js} +1 -1
- package/dist/apollo-core/{p-5ca18bc1.entry.js → p-91895c40.entry.js} +1 -1
- package/dist/apollo-core/p-969d5cca.entry.js +1 -0
- package/dist/apollo-core/p-99a79cf4.entry.js +1 -0
- package/dist/apollo-core/p-abdf199b.entry.js +1 -0
- package/dist/apollo-core/p-ae8a5f66.entry.js +1 -0
- package/dist/apollo-core/{p-9b0174b1.entry.js → p-af8ebf49.entry.js} +1 -1
- package/dist/apollo-core/p-b29025b2.entry.js +1 -0
- package/dist/apollo-core/{p-fd2756d8.entry.js → p-b45179fb.entry.js} +1 -1
- package/dist/apollo-core/p-b5a61076.entry.js +1 -0
- package/dist/apollo-core/p-bf7d8e18.entry.js +1 -0
- package/dist/apollo-core/p-c48e4884.entry.js +1 -0
- package/dist/apollo-core/{p-b537f72d.entry.js → p-ca4652b3.entry.js} +1 -1
- package/dist/apollo-core/{p-bb22ed2a.entry.js → p-cb5b15c2.entry.js} +1 -1
- package/dist/apollo-core/p-cc57f20d.entry.js +1 -0
- package/dist/apollo-core/{p-fef6c256.entry.js → p-cdacfcd4.entry.js} +1 -1
- package/dist/apollo-core/{p-616c5a32.entry.js → p-cdb5b5c4.entry.js} +1 -1
- package/dist/apollo-core/p-d0bc7c45.entry.js +1 -0
- package/dist/apollo-core/{p-ff8acf15.entry.js → p-d41b8f46.entry.js} +1 -1
- package/dist/apollo-core/{p-9bf2ff9f.entry.js → p-d443291f.entry.js} +1 -1
- package/dist/apollo-core/p-d724c419.entry.js +1 -0
- package/dist/apollo-core/p-d9070ae5.entry.js +1 -0
- package/dist/apollo-core/p-dca48977.entry.js +1 -0
- package/dist/apollo-core/p-e1833287.entry.js +1 -0
- package/dist/apollo-core/{p-601b3ab5.entry.js → p-e2890eb1.entry.js} +1 -1
- package/dist/apollo-core/p-e2b73b60.entry.js +1 -0
- package/dist/apollo-core/p-e7e445b0.entry.js +1 -0
- package/dist/apollo-core/p-f1c103ff.entry.js +1 -0
- package/dist/apollo-core/{p-0463c29f.entry.js → p-f3a2c79b.entry.js} +1 -1
- package/dist/apollo-core/p-ffc2f0cf.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +1 -1
- package/dist/cjs/index-3cBvw409.js +16 -0
- package/dist/cjs/loader.cjs.js +1 -1
- 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 +5 -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 +14 -11
- 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 +13 -13
- 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 +15 -14
- 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 +50 -21
- 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 +8 -8
- 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 +7 -3
- 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 +14 -0
- package/dist/cjs/xpl-table-footer-cell.cjs.entry.js +18 -0
- package/dist/cjs/xpl-table-footer.cjs.entry.js +14 -0
- package/dist/cjs/xpl-table-header.cjs.entry.js +1 -1
- package/dist/cjs/xpl-table-row.cjs.entry.js +20 -0
- package/dist/cjs/xpl-table.cjs.entry.js +5 -5
- 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 +4 -0
- 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-avatar/xpl-avatar.js +1 -0
- 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 +10 -7
- 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/color-utils.js +5 -5
- 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 +7 -6
- 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 +50 -21
- 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/select.shared.js +82 -0
- package/dist/collection/components/xpl-select/xpl-select.js +6 -6
- 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 +8 -4
- 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/xpl-table-body/xpl-table-body.js +7 -0
- package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +7 -0
- package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +37 -0
- package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +78 -0
- package/dist/collection/components/xpl-table/xpl-table.js +5 -5
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
- package/dist/collection/components/xpl-tabs/tabs.shared.js +0 -33
- 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 +8 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-9VnxPQLs.js +1 -0
- package/dist/components/p-B2oLZUDD.js +1 -0
- package/dist/components/p-BYYFsuD3.js +1 -0
- package/dist/components/p-BZtxVB1R.js +1 -0
- package/dist/components/{p-BGqQbjLl.js → p-BdpZR4KO.js} +1 -1
- package/dist/components/{p-DywQ3S73.js → p-Chpgh5SL.js} +1 -1
- package/dist/components/{p-2jYZ7ACH.js → p-CiHTfk3E.js} +1 -1
- package/dist/components/p-CnVGKN63.js +1 -0
- package/dist/components/p-Cz7zDaI4.js +1 -0
- package/dist/components/{p-CjbPCnPP.js → p-D--kzomA.js} +1 -1
- package/dist/components/p-D4rv6CNJ.js +1 -0
- package/dist/components/{p-Dzp5p-eh.js → p-DAb-txW3.js} +1 -1
- package/dist/components/p-DYmvElhR.js +1 -0
- package/dist/components/{p-DsRsm61K.js → p-EfW0v54z.js} +1 -1
- package/dist/components/{p-DWUJ_jsx.js → p-JyNpXfDe.js} +1 -1
- package/dist/components/{p-DS2Kv5fl.js → p-U0JYwf4c.js} +1 -1
- package/dist/components/p-YG9Jza0y.js +1 -0
- package/dist/components/{p-imCMp2Nl.js → p-l3EZ-agL.js} +1 -1
- package/dist/components/p-oIn1krdu.js +1 -0
- package/dist/components/p-wIU7KUhA.js +1 -0
- package/dist/components/{p-BnTsRbko.js → p-xFsB212F.js} +1 -1
- package/dist/components/p-xtOHikY0.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.d.ts +11 -0
- package/dist/components/xpl-table-body.js +1 -0
- package/dist/components/xpl-table-footer-cell.d.ts +11 -0
- package/dist/components/xpl-table-footer-cell.js +1 -0
- package/dist/components/xpl-table-footer.d.ts +11 -0
- package/dist/components/xpl-table-footer.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/xpl-table-row.js +1 -0
- 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-modal/readme.md +18 -2
- package/dist/docs/xpl-table/xpl-table-body/readme.md +16 -0
- package/dist/docs/xpl-table/xpl-table-footer/readme.md +16 -0
- package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +31 -0
- package/dist/docs/xpl-table/xpl-table-row/readme.md +34 -0
- package/dist/docs.json +207 -6
- package/dist/esm/apollo-core.js +1 -1
- package/dist/esm/index-ukZKsqqq.js +16 -0
- package/dist/esm/loader.js +1 -1
- 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 +5 -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 +14 -11
- 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 +13 -13
- 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 +15 -14
- 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 +50 -21
- 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 +8 -8
- 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 +8 -4
- 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 +12 -0
- package/dist/esm/xpl-table-footer-cell.entry.js +16 -0
- package/dist/esm/xpl-table-footer.entry.js +12 -0
- package/dist/esm/xpl-table-header.entry.js +1 -1
- package/dist/esm/xpl-table-row.entry.js +18 -0
- package/dist/esm/xpl-table.entry.js +5 -5
- 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-modal/xpl-modal.d.ts +7 -1
- package/dist/types/components/xpl-select/select.shared.d.ts +23 -0
- package/dist/types/components/xpl-table/xpl-table-body/xpl-table-body.d.ts +3 -0
- package/dist/types/components/xpl-table/xpl-table-footer/xpl-table-footer.d.ts +3 -0
- package/dist/types/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.d.ts +4 -0
- package/dist/types/components/xpl-table/xpl-table-row/xpl-table-row.d.ts +6 -0
- package/dist/types/components/xpl-tabs/tabs.shared.d.ts +0 -2
- package/dist/types/components.d.ts +98 -0
- package/hydrate/index.js +302 -176
- package/hydrate/index.mjs +302 -176
- package/package.json +42 -46
- package/dist/apollo-core/p-0095174c.entry.js +0 -1
- package/dist/apollo-core/p-020ecd66.entry.js +0 -1
- package/dist/apollo-core/p-091411e3.entry.js +0 -1
- package/dist/apollo-core/p-0be4dbb8.entry.js +0 -1
- package/dist/apollo-core/p-1139fac0.entry.js +0 -1
- package/dist/apollo-core/p-140a96c7.entry.js +0 -1
- package/dist/apollo-core/p-26b6a0ed.entry.js +0 -1
- package/dist/apollo-core/p-39e71d86.entry.js +0 -1
- package/dist/apollo-core/p-3dd1de49.entry.js +0 -1
- package/dist/apollo-core/p-4129d971.entry.js +0 -1
- package/dist/apollo-core/p-5afc9831.entry.js +0 -1
- package/dist/apollo-core/p-5d25a84a.entry.js +0 -1
- package/dist/apollo-core/p-5e5c5016.entry.js +0 -1
- package/dist/apollo-core/p-638fd9b1.entry.js +0 -1
- package/dist/apollo-core/p-724c5038.entry.js +0 -1
- package/dist/apollo-core/p-80a11cad.entry.js +0 -1
- package/dist/apollo-core/p-875e0eaa.entry.js +0 -1
- package/dist/apollo-core/p-8ddbf2e2.entry.js +0 -1
- package/dist/apollo-core/p-a33b0943.entry.js +0 -1
- package/dist/apollo-core/p-ba41bbd5.entry.js +0 -1
- package/dist/apollo-core/p-cde21f72.entry.js +0 -1
- package/dist/apollo-core/p-d288c1d1.entry.js +0 -1
- package/dist/apollo-core/p-d3f2b8b8.entry.js +0 -1
- package/dist/apollo-core/p-dfaba114.entry.js +0 -1
- package/dist/apollo-core/p-e2a16242.entry.js +0 -1
- package/dist/apollo-core/p-ec488f9c.entry.js +0 -1
- package/dist/apollo-core/p-f2bfe6a6.entry.js +0 -1
- package/dist/collection/components/xpl-accordion/accordion.stories.js +0 -84
- package/dist/collection/components/xpl-application-shell/application-shell.stories.js +0 -755
- package/dist/collection/components/xpl-avatar/avatar.stories.js +0 -157
- package/dist/collection/components/xpl-backdrop/backdrop.stories.js +0 -38
- package/dist/collection/components/xpl-badge/badge.stories.js +0 -104
- package/dist/collection/components/xpl-banner/banner.stories.js +0 -69
- package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +0 -139
- package/dist/collection/components/xpl-button/button.stories.js +0 -144
- package/dist/collection/components/xpl-button-row/button-row.stories.js +0 -68
- package/dist/collection/components/xpl-calendar/calendar.stories.js +0 -71
- package/dist/collection/components/xpl-checkbox/checkbox.stories.js +0 -92
- package/dist/collection/components/xpl-choicelist/choicelist.stories.js +0 -162
- package/dist/collection/components/xpl-content-area/content-area.stories.js +0 -44
- package/dist/collection/components/xpl-dashboard/dashboard.stories.js +0 -57
- package/dist/collection/components/xpl-data-card/data-card.stories.js +0 -170
- package/dist/collection/components/xpl-divider/divider.stories.js +0 -47
- package/dist/collection/components/xpl-dropdown/dropdown.stories.js +0 -395
- package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +0 -169
- package/dist/collection/components/xpl-grid/grid.stories.js +0 -85
- package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +0 -56
- package/dist/collection/components/xpl-icon/icons.stories.js +0 -161
- package/dist/collection/components/xpl-input/input.stories.js +0 -712
- package/dist/collection/components/xpl-large-card/large-card.stories.js +0 -155
- package/dist/collection/components/xpl-list/list.stories.js +0 -398
- package/dist/collection/components/xpl-main-nav/main-nav.stories.js +0 -312
- package/dist/collection/components/xpl-modal/modal.stories.js +0 -100
- package/dist/collection/components/xpl-pagination/pagination.stories.js +0 -65
- package/dist/collection/components/xpl-panel/panel.stories.js +0 -62
- package/dist/collection/components/xpl-popover/popover.stories.js +0 -174
- package/dist/collection/components/xpl-progress-bar/progress-bar.stories.js +0 -105
- package/dist/collection/components/xpl-progress-indicator/progress-indicator.stories.js +0 -126
- package/dist/collection/components/xpl-radio/radio.stories.js +0 -115
- package/dist/collection/components/xpl-secondary-nav/secondary-nav.stories.js +0 -83
- package/dist/collection/components/xpl-select/select.stories.js +0 -300
- package/dist/collection/components/xpl-side-nav/side-nav.stories.js +0 -1070
- package/dist/collection/components/xpl-skeleton/skeleton.stories.js +0 -80
- package/dist/collection/components/xpl-slideout/slideout.stories.js +0 -122
- package/dist/collection/components/xpl-spotlight/spotlight.stories.js +0 -392
- package/dist/collection/components/xpl-table/table.stories.js +0 -156
- package/dist/collection/components/xpl-table-header/table-header.stories.js +0 -134
- package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +0 -83
- package/dist/collection/components/xpl-tabs/segment-control.stories.js +0 -40
- package/dist/collection/components/xpl-tabs/tabs.stories.js +0 -43
- package/dist/collection/components/xpl-tag/tag.stories.js +0 -159
- package/dist/collection/components/xpl-toast/toast.stories.js +0 -112
- package/dist/collection/components/xpl-toggle/toggle.stories.js +0 -95
- package/dist/collection/components/xpl-toolbar/toolbar.stories.js +0 -39
- package/dist/collection/components/xpl-tooltip/tooltip.stories.js +0 -67
- package/dist/collection/components/xpl-top-nav/top-nav.stories.js +0 -764
- package/dist/collection/components/xpl-utility-bar/utility-bar.stories.js +0 -94
- package/dist/components/p-Bseq_BgD.js +0 -1
- package/dist/components/p-CCgZCY_A.js +0 -1
- package/dist/components/p-CJzsLWeV.js +0 -1
- package/dist/components/p-CRKY79vL.js +0 -1
- package/dist/components/p-Cjxw-qOg.js +0 -1
- package/dist/components/p-D6JUVA1x.js +0 -1
- package/dist/components/p-DFGw0APN.js +0 -1
- package/dist/components/p-DLLQBDCb.js +0 -1
- package/dist/components/p-Di1NDy0w.js +0 -1
- package/dist/components/p-DkM7jyQB.js +0 -1
- package/dist/components/p-Mehog36m.js +0 -1
- package/dist/components/p-RYnBuuDE.js +0 -1
- package/dist/css/typography.stories.js +0 -153
- package/dist/types/components/xpl-accordion/accordion.stories.d.ts +0 -46
- package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +0 -46
- package/dist/types/components/xpl-avatar/avatar.stories.d.ts +0 -39
- package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +0 -23
- package/dist/types/components/xpl-badge/badge.stories.d.ts +0 -87
- package/dist/types/components/xpl-banner/banner.stories.d.ts +0 -79
- package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +0 -40
- package/dist/types/components/xpl-button/button.stories.d.ts +0 -136
- package/dist/types/components/xpl-button-row/button-row.stories.d.ts +0 -34
- package/dist/types/components/xpl-calendar/calendar.stories.d.ts +0 -45
- package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +0 -51
- package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +0 -30
- package/dist/types/components/xpl-content-area/content-area.stories.d.ts +0 -19
- package/dist/types/components/xpl-dashboard/dashboard.stories.d.ts +0 -22
- package/dist/types/components/xpl-data-card/data-card.stories.d.ts +0 -113
- package/dist/types/components/xpl-divider/divider.stories.d.ts +0 -28
- package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +0 -177
- package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +0 -30
- package/dist/types/components/xpl-grid/grid.stories.d.ts +0 -109
- package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +0 -32
- package/dist/types/components/xpl-icon/icons.stories.d.ts +0 -31
- package/dist/types/components/xpl-input/input.stories.d.ts +0 -441
- package/dist/types/components/xpl-large-card/large-card.stories.d.ts +0 -57
- package/dist/types/components/xpl-list/list.stories.d.ts +0 -385
- package/dist/types/components/xpl-main-nav/main-nav.stories.d.ts +0 -19
- package/dist/types/components/xpl-modal/modal.stories.d.ts +0 -103
- package/dist/types/components/xpl-pagination/pagination.stories.d.ts +0 -31
- package/dist/types/components/xpl-panel/panel.stories.d.ts +0 -30
- package/dist/types/components/xpl-popover/popover.stories.d.ts +0 -21
- package/dist/types/components/xpl-progress-bar/progress-bar.stories.d.ts +0 -62
- package/dist/types/components/xpl-progress-indicator/progress-indicator.stories.d.ts +0 -64
- package/dist/types/components/xpl-radio/radio.stories.d.ts +0 -96
- package/dist/types/components/xpl-secondary-nav/secondary-nav.stories.d.ts +0 -8
- package/dist/types/components/xpl-select/select.stories.d.ts +0 -158
- package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +0 -173
- package/dist/types/components/xpl-skeleton/skeleton.stories.d.ts +0 -36
- package/dist/types/components/xpl-slideout/slideout.stories.d.ts +0 -124
- package/dist/types/components/xpl-spotlight/spotlight.stories.d.ts +0 -203
- package/dist/types/components/xpl-table/table.stories.d.ts +0 -67
- package/dist/types/components/xpl-table-header/table-header.stories.d.ts +0 -80
- package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +0 -36
- package/dist/types/components/xpl-tabs/segment-control.stories.d.ts +0 -134
- package/dist/types/components/xpl-tabs/tabs.stories.d.ts +0 -107
- package/dist/types/components/xpl-tag/tag.stories.d.ts +0 -68
- package/dist/types/components/xpl-toast/toast.stories.d.ts +0 -70
- package/dist/types/components/xpl-toggle/toggle.stories.d.ts +0 -53
- package/dist/types/components/xpl-toolbar/toolbar.stories.d.ts +0 -35
- package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +0 -29
- package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +0 -549
- package/dist/types/components/xpl-utility-bar/utility-bar.stories.d.ts +0 -27
- package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/.storybook/utils/story-function.d.ts +0 -11
- package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/.storybook/utils/wait-for-hydration.d.ts +0 -1
- package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/src/css/typography.stories.d.ts +0 -76
- /package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/{src/utils → utils}/form-bindings.d.ts +0 -0
- /package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/{src/utils → utils}/story-vrt.d.ts +0 -0
package/hydrate/index.js
CHANGED
|
@@ -4974,14 +4974,14 @@ class Accordion {
|
|
|
4974
4974
|
bordered: `xpl-accordion--border-bordered${this.expanded ? '--expanded' : ''}`,
|
|
4975
4975
|
bottom: `xpl-accordion--border-bottom${this.expanded ? '--expanded' : ''}`,
|
|
4976
4976
|
}[this.borderType];
|
|
4977
|
-
return (hAsync(Host, { key: '
|
|
4977
|
+
return (hAsync(Host, { key: '1905815ea7a4463a90668d77c8f2626924eb00e9', class: `xpl-accordion ${accordionBorder}` }, hAsync("button", { key: '32de9a46653e2b98a7c0e8a176bca46b0173d3f4', "aria-expanded": this.expanded, "aria-controls": this.contentId, class: "xpl-accordion-toggle-area", onClick: this.toggleAccordion, type: "button" }, hAsync("header", { key: '3365c551130d9f0a397aa574cc1ea94b8b043c37', class: `xpl-accordion-header xpl-accordion-header--size-${this.size}` }, hAsync("slot", { key: '5f7c3797153426971c3c4256c78233ae14a86d94', name: "heading" }, this.header), hAsync("xpl-icon", { key: '63e1d208578b7c854527b9c3b83821682037eeac', size: 16, icon: "chevron-down", class: `xpl-accordion-icon-chevron ${this.expanded ? 'xpl-accordion-icon-chevron--rotate' : ''}` })), hAsync("div", { key: 'f1d82075d093bd3e3bd069a33a17ee1a2a0fd749', class: "xpl-accordion-description" }, hAsync("slot", { key: 'b66a3a850d43dcb9476b98f30301a1b7898525a5', name: "description" }, this.description))), hAsync("section", { key: 'a7b9cd09084597c3578b92f38925734d93320f41', id: this.contentId, role: "region", class: `xpl-accordion-content xpl-accordion-content--${!this.expanded ? 'hidden' : 'shown'} ${this.expanded
|
|
4978
4978
|
? {
|
|
4979
4979
|
'': '',
|
|
4980
4980
|
none: '',
|
|
4981
4981
|
bordered: 'xpl-accordion-content--shown-bordered',
|
|
4982
4982
|
bottom: 'xpl-accordion-content--shown-border-bottom',
|
|
4983
4983
|
}[this.borderType]
|
|
4984
|
-
: ''}` }, hAsync("slot", { key: '
|
|
4984
|
+
: ''}` }, hAsync("slot", { key: 'd71b20af3148875ccc03d12ecaad3a8c70dda333', name: "content" }))));
|
|
4985
4985
|
}
|
|
4986
4986
|
get el() { return getElement(this); }
|
|
4987
4987
|
static get watchers() { return {
|
|
@@ -5045,7 +5045,7 @@ class ApplicationShell {
|
|
|
5045
5045
|
navClasses += this.navOpen
|
|
5046
5046
|
? ` xpl-application-shell__nav--${this.navWidth}--open`
|
|
5047
5047
|
: ` xpl-application-shell__nav--${this.navWidth}`;
|
|
5048
|
-
return (hAsync(Host, { key: '
|
|
5048
|
+
return (hAsync(Host, { key: 'be149a4700553c66898f5d7fa27f68896631c717', class: applicationShellClasses }, hAsync("div", { key: '5fe0df88f9b5a19104b189ba68a8bfeea3b6afe7', class: navClasses }, hAsync("slot", { key: '040596fdc502c23694d6f7bd036c85840d264d2d', name: "nav" })), hAsync("div", { key: '6208807949de1949c8d2c1ff6fc6c9a775212d92', class: "xpl-application-shell__subnav" }, hAsync("slot", { key: 'e194c31283abc0bcbac3db876d0acb1503d9cc12', name: "subnav" })), hAsync("div", { key: '1cb4caa932297cd858f82d78077c10868a5af323', class: "xpl-application-shell__utility" }, hAsync("slot", { key: 'cea302c27a7e067c8244ed6f33d17392c06451e5', name: "utility" })), hAsync("div", { key: '4546be74ec501036b7113519c4a65973fb896866', class: "xpl-application-shell__content" }, hAsync("slot", { key: '8078f31fe1add42efcd65cabd5137d50dec207d6', name: "content" })), hAsync("xpl-backdrop", { key: 'cd07a3093eb1c48fce03f49241905bb2881e472a', onClick: () => this.navToggleHandler(), class: {
|
|
5049
5049
|
'xpl-application-shell__backdrop--open': this.navOpen,
|
|
5050
5050
|
}, relative: true })));
|
|
5051
5051
|
}
|
|
@@ -5118,6 +5118,7 @@ class Avatar {
|
|
|
5118
5118
|
return Array.isArray(parsed) ? parsed : [];
|
|
5119
5119
|
}
|
|
5120
5120
|
catch {
|
|
5121
|
+
console.warn('[Apollo] xpl-avatar: groupData is not valid JSON; rendering no group items');
|
|
5121
5122
|
return [];
|
|
5122
5123
|
}
|
|
5123
5124
|
}
|
|
@@ -5248,7 +5249,7 @@ class Backdrop {
|
|
|
5248
5249
|
this.relative = false;
|
|
5249
5250
|
}
|
|
5250
5251
|
render() {
|
|
5251
|
-
return (hAsync(Host, { key: '
|
|
5252
|
+
return (hAsync(Host, { key: 'cf17e9f02e1ee67631159e1d159f539827344c30', class: {
|
|
5252
5253
|
'xpl-backdrop': true,
|
|
5253
5254
|
'xpl-backdrop--fixed': !this.relative,
|
|
5254
5255
|
'xpl-backdrop--relative': this.relative,
|
|
@@ -5294,7 +5295,7 @@ class Badge {
|
|
|
5294
5295
|
[`xpl-badge--size-${this.size}`]: !!this.size,
|
|
5295
5296
|
[`xpl-badge--shape-${this.shape}`]: !this.dotOnly && !!this.shape,
|
|
5296
5297
|
};
|
|
5297
|
-
return (hAsync(Host, { key: '
|
|
5298
|
+
return (hAsync(Host, { key: '1cb8de25626460ca2c30f82696440af4d140d5e9' }, hAsync("div", { key: 'fc51fea564ee09d6c5234046c6ec3b1c92333b1d', class: className }, hAsync("span", { key: 'd993cc55487aaccd349ac8c3c783b63a3597a9b4', class: "xpl-badge__label" }, hAsync("slot", { key: '8a3e27a6725cba451b43398dad1d8a6604af4e5e' })))));
|
|
5298
5299
|
}
|
|
5299
5300
|
static get cmpMeta() { return {
|
|
5300
5301
|
"$flags$": 260,
|
|
@@ -5372,13 +5373,13 @@ class Banner {
|
|
|
5372
5373
|
const actionState = this.getActionButtonState();
|
|
5373
5374
|
const isHeadingPresent = !!this.heading?.trim();
|
|
5374
5375
|
const isDescPresent = !!this.description?.trim();
|
|
5375
|
-
return (hAsync(Host, { key: '
|
|
5376
|
+
return (hAsync(Host, { key: '00046ec64a9cf7b913298ad452aa26f3bd1078bd', class: {
|
|
5376
5377
|
'xpl-banner': true,
|
|
5377
5378
|
'xpl-banner--section': this.isSection,
|
|
5378
5379
|
[`xpl-banner--${this.appearance}`]: true,
|
|
5379
5380
|
'xpl-banner--truncate-desc': this.truncateDesc,
|
|
5380
5381
|
'xpl-banner--no-icon': this.isSection && !this.hasIcon,
|
|
5381
|
-
}, role: "region", "aria-label": this.getAriaLabel() }, (!this.isSection || this.hasIcon) && (hAsync("div", { key: '
|
|
5382
|
+
}, role: "region", "aria-label": this.getAriaLabel() }, (!this.isSection || this.hasIcon) && (hAsync("div", { key: 'bc95f036e4848863fb07cbdb35e2335f863f21f6', class: "xpl-banner__icon", "aria-hidden": "true" }, hAsync("xpl-icon", { key: 'a019d22111644263e770384c2a8d60487dd2f705', icon: this.getIcon(), size: 24 }))), hAsync("div", { key: '5c6039a2c4be58b3f503938c9b3f33feec61cda9', class: "xpl-banner__body" }, isHeadingPresent && hAsync("p", { key: 'fff21d65b10b628c405959763aa21b676b5a40f6', class: "xpl-banner__heading" }, this.heading), isDescPresent && (hAsync("p", { key: '114a6720cbbcf584bc00a3974f7e95ca3cebc54d', class: "xpl-banner__description", title: this.truncateDesc ? this.description : undefined }, this.description))), (hasAction || hasSecondaryAction) && (hAsync("div", { key: '69a72574bfc37baf6c18ea5b4512f0f11fc45db5', class: "xpl-banner__actions" }, hasAction && (hAsync("xpl-button", { key: '3ff5eb207a819901f3d0017223ae83e9a6c5bf30', size: "xs", variant: actionVariant, state: actionState, onClick: () => this.action.emit() }, this.actionText)), hasSecondaryAction && (hAsync("xpl-button", { key: 'fc54ced977a1f4fc5ca39e7fd981b789b42727fa', size: "xs", variant: actionVariant, state: actionState, onClick: () => this.secondaryAction.emit() }, this.secondaryActionText)))), this.isDismissible && (hAsync("button", { key: 'd236e3448164706d787f8f1fcde36430803c5dc2', class: "xpl-banner__dismiss", type: "button", "aria-label": `Dismiss ${this.isSection ? 'section ' : ''}banner`, onClick: () => this.dismiss.emit() }, hAsync("xpl-icon", { key: 'a3eb350b62b53cb59a40576d0da748adad554c79', icon: "xmark", size: 24, "aria-hidden": "true" })))));
|
|
5382
5383
|
}
|
|
5383
5384
|
static get cmpMeta() { return {
|
|
5384
5385
|
"$flags$": 0,
|
|
@@ -5409,7 +5410,7 @@ class BreadcrumbItem {
|
|
|
5409
5410
|
`;
|
|
5410
5411
|
}
|
|
5411
5412
|
render() {
|
|
5412
|
-
return (hAsync(Host, { key: '
|
|
5413
|
+
return (hAsync(Host, { key: 'eab64a8e1acfe7fb6596193a250f8937ac6f5481', class: "xpl-breadcrumb-item", role: "listitem" }, hAsync("li", { key: 'ff781ce68e230191700449039b89d9a0fefd1e50', role: "none" }, hAsync("slot", { key: '854ef8e0dc29ebe5f782b5ee0dbe0e710015b40c' })), hAsync("span", { key: 'ba0ea70bf123b7c6405b8c3add0c87714ed80e15', innerHTML: this.chevron })));
|
|
5413
5414
|
}
|
|
5414
5415
|
static get cmpMeta() { return {
|
|
5415
5416
|
"$flags$": 260,
|
|
@@ -5426,7 +5427,7 @@ class Breadcrumbs {
|
|
|
5426
5427
|
registerInstance(this, hostRef);
|
|
5427
5428
|
}
|
|
5428
5429
|
render() {
|
|
5429
|
-
return (hAsync(Host, { key: '
|
|
5430
|
+
return (hAsync(Host, { key: '63e77e937ec359fdac15cf8a48673176696395bc' }, hAsync("nav", { key: '6bf6c1b401d010676b7317d9356aac5e4893fd1b', class: "xpl-breadcrumbs", "aria-label": "Breadcrumb" }, hAsync("ol", { key: '177206147c779f29a20369e49852d11ba0d990d5', role: "list" }, hAsync("slot", { key: '9cdadc4378fa2da5a3c0213c46c58f8701472b80' })))));
|
|
5430
5431
|
}
|
|
5431
5432
|
static get cmpMeta() { return {
|
|
5432
5433
|
"$flags$": 260,
|
|
@@ -5494,7 +5495,7 @@ class Button {
|
|
|
5494
5495
|
}
|
|
5495
5496
|
}
|
|
5496
5497
|
render() {
|
|
5497
|
-
return (hAsync(Host, { key: '
|
|
5498
|
+
return (hAsync(Host, { key: 'd46884793521c327622838ceca0af98ec897912b', class: {
|
|
5498
5499
|
'xpl-button': true,
|
|
5499
5500
|
[`xpl-button--${this.size}`]: true,
|
|
5500
5501
|
[`xpl-button--${this.variant}`]: true,
|
|
@@ -5550,7 +5551,7 @@ class ButtonRow {
|
|
|
5550
5551
|
this.onTertiary = () => this.clickTertiary.emit();
|
|
5551
5552
|
}
|
|
5552
5553
|
render() {
|
|
5553
|
-
return (hAsync(Host, { key: '
|
|
5554
|
+
return (hAsync(Host, { key: 'de570ef3de32367d44cfaa7004e749a51bc6fde9', class: "xpl-button-row" }, hAsync("div", { key: '6bafe5cbb76355b987023cab4d1530e71065ea55', class: "xpl-button-row-inner" }, hAsync("div", { key: '09ab6b0f3b7ed5790b675520d445ed3279224c3c', class: "xpl-button-row__left" }, this.secondary && (hAsync("xpl-button", { key: '8f08a18126a27e6f1a72d8609e5533f466c3a88b', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary))), hAsync("div", { key: '0df1b38697afee3eb45af00989baac17ae2a2d00', class: "xpl-button-row__right" }, this.tertiary && (hAsync("xpl-button", { key: '289a41a34091201ecba3af76ed2ab86c84341ba4', variant: "subtle", type: "button", onClick: this.onTertiary }, this.tertiary)), this.secondary && (hAsync("xpl-button", { key: '742dd05eea13de9ccc2747b0146c3779bd7b4e66', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary)), this.primary && (hAsync("xpl-button", { key: '0eafc10b3d2b8f70d0f18a3ef0798ca6250ee0d5', class: "xpl-button-row__primary", onClick: this.onPrimary }, this.primary))))));
|
|
5554
5555
|
}
|
|
5555
5556
|
static get cmpMeta() { return {
|
|
5556
5557
|
"$flags$": 0,
|
|
@@ -8289,7 +8290,7 @@ class Calendar {
|
|
|
8289
8290
|
}
|
|
8290
8291
|
}
|
|
8291
8292
|
render() {
|
|
8292
|
-
return (hAsync(Host, { key: '
|
|
8293
|
+
return (hAsync(Host, { key: '871a989fee5abc19ac9e00fca79534dd79b0a773', class: "xpl-calendar" }, hAsync("input", { key: '3dc76b7045ac76ff76d2f1ca80625034aff7d013', class: "xpl-calendar-input", type: "text", id: this.calendarInputId, ref: (el) => {
|
|
8293
8294
|
if (el)
|
|
8294
8295
|
this.inputElement = el;
|
|
8295
8296
|
} })));
|
|
@@ -8324,14 +8325,14 @@ class Checkbox {
|
|
|
8324
8325
|
};
|
|
8325
8326
|
}
|
|
8326
8327
|
render() {
|
|
8327
|
-
return (hAsync(Host, { key: '
|
|
8328
|
+
return (hAsync(Host, { key: 'd16058b571f7af6d2a83cbdce15b12bccadf0036', class: {
|
|
8328
8329
|
'xpl-checkbox-radio-container': true,
|
|
8329
8330
|
styled: !!this.styled,
|
|
8330
8331
|
disabled: !!this.disabled,
|
|
8331
|
-
} }, hAsync("input", { key: '
|
|
8332
|
+
} }, hAsync("input", { key: '1001a243623e338fc4fefc9f58f251439c2fb74f', class: "xpl-checkbox", type: "checkbox", "aria-label": (this.ariaLabel ?? '').trim() || undefined, 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 }), hAsync("label", { key: '37e85b721cef98c8ccc448e08dbf9d9c968bd0a6', class: {
|
|
8332
8333
|
'xpl-label': true,
|
|
8333
8334
|
'xpl-label--disabled': !!this.disabled,
|
|
8334
|
-
}, htmlFor: this.id }, hAsync("slot", { key: '
|
|
8335
|
+
}, htmlFor: this.id }, hAsync("slot", { key: 'ef36d317d97e26098396b1131a1acce6bce5ae8f' }), this.description && (hAsync("small", { key: '9d710e4fa3f366965307908ca2e216ac46310f30', class: {
|
|
8335
8336
|
'xpl-description': true,
|
|
8336
8337
|
'xpl-description--disabled': !!this.disabled,
|
|
8337
8338
|
} }, this.description)))));
|
|
@@ -8397,7 +8398,7 @@ class Choicelist {
|
|
|
8397
8398
|
this.onChoicesPropChange(this.choices);
|
|
8398
8399
|
}
|
|
8399
8400
|
render() {
|
|
8400
|
-
return (hAsync(Host, { key: '
|
|
8401
|
+
return (hAsync(Host, { key: '0db2f4a4109a65ae2ab01259b960f83dd3b8bbeb', class: "xpl-choicelist-container" }, this.heading !== undefined || this.description !== undefined ? (hAsync("div", { class: "xpl-choicelist-heading" }, this.heading && hAsync("h3", null, this.heading), this.description && hAsync("p", null, this.description))) : null, this.choices && (hAsync("ul", { key: '53915c9efd628e455b5604f4eacbc67504a52ca5', class: {
|
|
8401
8402
|
'xpl-choicelist': true,
|
|
8402
8403
|
'xpl-choicelist--styled': !!this.styled,
|
|
8403
8404
|
} }, this.choices.map((choice, i) => {
|
|
@@ -8442,7 +8443,7 @@ class ContentArea {
|
|
|
8442
8443
|
this.size = 'wide';
|
|
8443
8444
|
}
|
|
8444
8445
|
render() {
|
|
8445
|
-
return (hAsync(Host, { key: '
|
|
8446
|
+
return (hAsync(Host, { key: '97fd281e5aa7ba1805f1424e80d6018ca5fdafe0' }, hAsync("main", { key: '6a6f315e74225f66105874998c679183f2c743f5', class: `xpl-content-area-wrapper xpl-content-area-wrapper__${this.size}` }, hAsync("div", { key: 'c46017f1a0fd8b278f7b817de82629eb777515fd', class: "xpl-content-area" }, hAsync("slot", { key: 'cc6d45297d23770880778810952f7e95445bb800' })))));
|
|
8446
8447
|
}
|
|
8447
8448
|
static get cmpMeta() { return {
|
|
8448
8449
|
"$flags$": 260,
|
|
@@ -8461,7 +8462,7 @@ class Dashboard {
|
|
|
8461
8462
|
registerInstance(this, hostRef);
|
|
8462
8463
|
}
|
|
8463
8464
|
render() {
|
|
8464
|
-
return (hAsync(Host, { key: '
|
|
8465
|
+
return (hAsync(Host, { key: '65628c79753f54949bfe0a6dfede9bf4e09cf585' }, hAsync("dl", { key: 'aa6444eea3322331350fbc1b0db6b23e316d393e', class: "xpl-dashboard" }, hAsync("slot", { key: '3b54ed1755a0cc72ef5527afafdf156660afcfdf' }))));
|
|
8465
8466
|
}
|
|
8466
8467
|
static get cmpMeta() { return {
|
|
8467
8468
|
"$flags$": 260,
|
|
@@ -8571,8 +8572,8 @@ class DataCard {
|
|
|
8571
8572
|
: this.smallStatVariant === 'negative'
|
|
8572
8573
|
? 'arrow-down-right'
|
|
8573
8574
|
: 'dash';
|
|
8574
|
-
return (hAsync(Host, { key: '
|
|
8575
|
-
(this.tooltipTextSmallStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextSmallStat }, hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--small" }, hAsync("xpl-icon", { icon: this.smallStatIcon, size: 16 }), this.smallStat))) : (hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--small" }, hAsync("xpl-icon", { icon: this.smallStatIcon, size: 16 }), this.smallStat)))), !!this.detail && hAsync("span", { key: '
|
|
8575
|
+
return (hAsync(Host, { key: '05aef87fdbc999cc563d9da2ae6207ffce5351cf', role: "group", class: `xpl-data-card ${this.link ? 'xpl-data-card__link' : ''}`, tabindex: "0" }, hAsync("dt", { key: '833d00cd995e5d9f96c70e6f1af04f260076aea7', class: headerClasses }, hAsync("header", { key: '283890fe21047be8ee81b64588a686f4f6339d28' }, !!this.leadingIcon && this.icon && (hAsync("span", { key: '2c3e365280efb2c6c18a7d08261fc30e8d808da3', class: `xpl-data-card__icon--${this.variant}` }, hAsync("xpl-icon", { key: '3564e1275b28e1693a45c51b4fc7936317b62e2f', icon: this.icon, "background-color": bgColorHue, size: 20 }))), hAsync("slot", { key: 'd5469c77ca2a1ec16e702ee8ab94c230dbbe742a', name: "title" }, this.name)), this.link && (hAsync("span", { key: '7a560cecc871b0e223372ecca08129d9f95d2c6e', class: "xpl-data-card__header-arrow" }, hAsync("xpl-icon", { key: 'f85ebee53967bc2ddd78291aaa63c85145d74930', icon: "chevron-right", size: 16 })))), hAsync("dd", { key: 'c19eb772979606076a22f72b8ecb4261f7371374', class: "xpl-data-card__body" }, hAsync("div", { key: '1ab9f94a29394608a18990ad4a06a663abd2f0a6', class: "xpl-data-card__left" }, hAsync("span", { key: '41d8633f93cf7e2c220df4b51768e9b7c2295474', class: "xpl-data-card-stat xpl-data-card-stat--long" }, this.stat), this.tooltipTextStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextStat }, hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--short" }, this.shortStat ? this.shortStat : this.stat))) : (hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--short" }, hAsync("abbr", { title: this.stat }, this.shortStat ? this.shortStat : this.stat))), this.smallStatVariant ? (this.tooltipTextSmallStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextSmallStat }, hAsync("div", { class: `xpl-data-card-stat xpl-data-card-stat--small ${this.smallStatVariant}` }, hAsync("xpl-icon", { icon: smallStatIcon, size: 16 }), this.smallStat))) : (hAsync("div", { class: `xpl-data-card-stat xpl-data-card-stat--small ${this.smallStatVariant}` }, hAsync("xpl-icon", { icon: smallStatIcon, size: 16 }), this.smallStat))) : (this.smallStatIcon &&
|
|
8576
|
+
(this.tooltipTextSmallStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextSmallStat }, hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--small" }, hAsync("xpl-icon", { icon: this.smallStatIcon, size: 16 }), this.smallStat))) : (hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--small" }, hAsync("xpl-icon", { icon: this.smallStatIcon, size: 16 }), this.smallStat)))), !!this.detail && hAsync("span", { key: '5dfcb6891ce3529bee2f240d85238a895ea6c61d', class: "xpl-data-card__detail" }, this.detail)), this.graphContentPresent && (hAsync("div", { key: '5b58f77c7a49e1aa157b73feb63e4ef1b5d36c0a', class: "xpl-data-card__right" }, hAsync("slot", { key: '962482c44556b3722119cace638ea176af2f9533', name: GRAPH_CONTENT_SLOT$1 }))))));
|
|
8576
8577
|
}
|
|
8577
8578
|
get el() { return getElement(this); }
|
|
8578
8579
|
static get watchers() { return {
|
|
@@ -8615,7 +8616,7 @@ class Divider {
|
|
|
8615
8616
|
render() {
|
|
8616
8617
|
let className = 'xpl-divider';
|
|
8617
8618
|
className += ` xpl-divider--${this.tier}`;
|
|
8618
|
-
return (hAsync(Host, { key: '
|
|
8619
|
+
return (hAsync(Host, { key: '942681efa6bd2c3806109240a5ac5c179b112551', class: className }, hAsync("span", { key: 'ce0b0ada57e7a51319260c88c10e411e3aaf2992' }, hAsync("slot", { key: 'da50f574acdf87def6ff77ef743bf38cc8717a79' }))));
|
|
8619
8620
|
}
|
|
8620
8621
|
static get cmpMeta() { return {
|
|
8621
8622
|
"$flags$": 260,
|
|
@@ -10431,10 +10432,13 @@ class Dropdown {
|
|
|
10431
10432
|
this.previousOptionCount = 0;
|
|
10432
10433
|
this.handleClickOutside = ({ target }) => {
|
|
10433
10434
|
const { triggerId } = this;
|
|
10435
|
+
const targetEl = target;
|
|
10434
10436
|
const triggerElement = triggerId ? document.getElementById(triggerId) : null;
|
|
10435
|
-
const isTriggerOrChild = triggerElement?.contains(
|
|
10436
|
-
const isInside = this.hostElement.contains(
|
|
10437
|
-
|
|
10437
|
+
const isTriggerOrChild = triggerElement?.contains(targetEl);
|
|
10438
|
+
const isInside = this.hostElement.contains(targetEl);
|
|
10439
|
+
const labelEl = targetEl?.closest('label');
|
|
10440
|
+
const isTriggerLabel = !!labelEl && !!triggerId && labelEl.getAttribute('for') === triggerId;
|
|
10441
|
+
if (!isInside && !isTriggerOrChild && !isTriggerLabel && this.isOpen) {
|
|
10438
10442
|
this.isOpen = false;
|
|
10439
10443
|
}
|
|
10440
10444
|
};
|
|
@@ -10762,7 +10766,7 @@ class Dropdown {
|
|
|
10762
10766
|
const shouldVirtualize = this.isVirtualized;
|
|
10763
10767
|
let listContent;
|
|
10764
10768
|
if (!hasOptions) {
|
|
10765
|
-
listContent = hAsync("slot", { key: '
|
|
10769
|
+
listContent = hAsync("slot", { key: '1673c7d33d7dc1d16bf56081df85976ed389a38f', name: "options" });
|
|
10766
10770
|
}
|
|
10767
10771
|
else if (shouldVirtualize) {
|
|
10768
10772
|
const { rowHeight, overscan } = VIRTUAL_LIST;
|
|
@@ -10770,18 +10774,18 @@ class Dropdown {
|
|
|
10770
10774
|
const start = Math.min(this.virtualStart, total);
|
|
10771
10775
|
const fallbackEnd = Math.min(total, Math.ceil(300 / rowHeight) + overscan * 2);
|
|
10772
10776
|
const end = this.virtualEnd > start ? this.virtualEnd : fallbackEnd;
|
|
10773
|
-
listContent = (hAsync("li", { key: '
|
|
10777
|
+
listContent = (hAsync("li", { key: '94094d9464c2f4ded9714f7ed16ca2b426c19794', class: "xpl-dropdown__virtual-sizer", style: { height: `${total * rowHeight}px` } }, options.slice(start, end).map((option, i) => renderOption(option, start + i))));
|
|
10774
10778
|
}
|
|
10775
10779
|
else {
|
|
10776
10780
|
listContent = options.map((option) => renderOption(option));
|
|
10777
10781
|
}
|
|
10778
|
-
return (hAsync(Host, { key: '
|
|
10782
|
+
return (hAsync(Host, { key: '6e2fe2b904530c7966a23b3715485ea9ed415880', "aria-expanded": isOpen ? 'true' : 'false', class: {
|
|
10779
10783
|
'xpl-dropdown': true,
|
|
10780
10784
|
'xpl-dropdown--multi': mode === 'multi',
|
|
10781
10785
|
'xpl-dropdown--open': isOpen,
|
|
10782
10786
|
'xpl-dropdown--anchor-to-trigger': this.anchorToTrigger,
|
|
10783
10787
|
'xpl-dropdown--virtualized': shouldVirtualize,
|
|
10784
|
-
}, role: "listbox" }, hAsync("slot", { key: '
|
|
10788
|
+
}, role: "listbox" }, hAsync("slot", { key: 'b9c87382e07b23b326fab22b8423021f8c4a83f8', name: "header" }), hAsync("ul", { key: '3824b650e2bbcb09fdea7f25ab19afa9a7dd8abe', class: "xpl-dropdown-list", ref: (el) => {
|
|
10785
10789
|
this.setListEl(el);
|
|
10786
10790
|
}, onScroll: shouldVirtualize ? this.handleVirtualScroll : undefined }, listContent)));
|
|
10787
10791
|
}
|
|
@@ -10843,7 +10847,7 @@ class DropdownGroup {
|
|
|
10843
10847
|
const hasOptions = options && options.length;
|
|
10844
10848
|
const mappedOptions = hasOptions &&
|
|
10845
10849
|
options.map(({ groupName: optsGroupName, ...properties }) => optsGroupName ? (hAsync("xpl-dropdown-group", { label: optsGroupName, ...properties })) : (hAsync("xpl-dropdown-option", { ...properties })));
|
|
10846
|
-
return (hAsync(Host, { key: '
|
|
10850
|
+
return (hAsync(Host, { key: '232eccef872d6563c056b3b709d3a741473de2b0', role: "group", "aria-label": groupName }, hAsync("li", { key: '2185c7b55139ab7b144290c94ab53675a6224b46', class: "xpl-dropdown-list-item" }, hAsync("xpl-dropdown-heading", { key: '26c0d13d0742fd34eb629c668bd929e5541fffb8', label: groupName }), hAsync("ul", { key: '0f13b81deda008bf0588393ff1a4102a5c7a171d', class: "xpl-dropdown-list" }, mappedOptions || hAsync("slot", { key: '70cf6f662d1471c815f5e7c747080d7558efe407', name: "options" })))));
|
|
10847
10851
|
}
|
|
10848
10852
|
static get cmpMeta() { return {
|
|
10849
10853
|
"$flags$": 260,
|
|
@@ -10863,7 +10867,7 @@ class DropdownHeading {
|
|
|
10863
10867
|
registerInstance(this, hostRef);
|
|
10864
10868
|
}
|
|
10865
10869
|
render() {
|
|
10866
|
-
return (hAsync(Host, { key: '
|
|
10870
|
+
return (hAsync(Host, { key: '04265224adcc5b65f53d2e35d0cfef470931ce41', class: { 'xpl-dropdown-heading': true }, role: "presentation" }, hAsync("span", { key: '27293255cdfe35d207f3f0155beae3dc4b737e0d' }, this.label || hAsync("slot", { key: 'b5bbee144360b2e5da681864e3dae6c2cafd2552', name: "heading" }))));
|
|
10867
10871
|
}
|
|
10868
10872
|
static get cmpMeta() { return {
|
|
10869
10873
|
"$flags$": 260,
|
|
@@ -10932,11 +10936,11 @@ class DropdownOptionCpnt {
|
|
|
10932
10936
|
}
|
|
10933
10937
|
render() {
|
|
10934
10938
|
const { label, isSelected, isDisabled, value, subtitle, icon } = this;
|
|
10935
|
-
return (hAsync(Host, { key: '
|
|
10939
|
+
return (hAsync(Host, { key: 'f4fa4b0a3150fafd4b1c259aa140925219487898', class: {
|
|
10936
10940
|
'xpl-dropdown-option': true,
|
|
10937
10941
|
'xpl-dropdown-option--disabled': !!isDisabled,
|
|
10938
10942
|
'xpl-dropdown-option--selected': !!isSelected,
|
|
10939
|
-
}, role: "option", "aria-checked": isSelected, "aria-disabled": isDisabled, "aria-selected": isSelected, value: value }, hAsync("li", { key: '
|
|
10943
|
+
}, role: "option", "aria-checked": isSelected, "aria-disabled": isDisabled, "aria-selected": isSelected, value: value }, hAsync("li", { key: '417af38233cd4765cc54a0cc4541bb5caeaf10ab', class: "xpl-dropdown-list-item" }, icon && (hAsync("xpl-icon", { key: '48cbe69b056142ce5ef5cd6c608a99f1defd2e9f', class: "xpl-dropdown-list-item__icon", icon: icon, size: 20 })), label || hAsync("slot", { key: '14b86d61bab431487cdef906a0a9b138d6ab4bbb', name: "option" }), subtitle && hAsync("span", { key: 'c7ff5ee61b08f7a94d107183127c0b9cff0b49b5', class: "xpl-dropdown-list-item__subtitle" }, subtitle))));
|
|
10940
10944
|
}
|
|
10941
10945
|
get hostElement() { return getElement(this); }
|
|
10942
10946
|
static get cmpMeta() { return {
|
|
@@ -11000,10 +11004,10 @@ class DynamicTable {
|
|
|
11000
11004
|
this.updateColumnCount();
|
|
11001
11005
|
}
|
|
11002
11006
|
render() {
|
|
11003
|
-
return (hAsync("div", { key: '
|
|
11007
|
+
return (hAsync("div", { key: '9fdd0a6b9adfad92d89ff30873009e08ca981124', role: "grid", class: {
|
|
11004
11008
|
'xpl-dynamic-table': true,
|
|
11005
11009
|
'xpl-dynamic-table--accordion': this.hasAccordion,
|
|
11006
|
-
}, "aria-colcount": this.colCount }, hAsync("slot", { key: '
|
|
11010
|
+
}, "aria-colcount": this.colCount }, hAsync("slot", { key: 'a105d82f752d34618a0603c59f85ea9e2ee6c3dd', name: "header" }), hAsync("slot", { key: '24817b404a5a6f50ab1f17674a85391a8645f728', name: "body" })));
|
|
11007
11011
|
}
|
|
11008
11012
|
get el() { return getElement(this); }
|
|
11009
11013
|
static get cmpMeta() { return {
|
|
@@ -11043,9 +11047,9 @@ class DynamicTableCell {
|
|
|
11043
11047
|
const colIndex = this.el.parentElement
|
|
11044
11048
|
? Array.from(this.el.parentElement.children).indexOf(this.el) + 1
|
|
11045
11049
|
: 0;
|
|
11046
|
-
return (hAsync(Host, { key: '
|
|
11050
|
+
return (hAsync(Host, { key: '6a4eea3dcf826a18c24068acea56dc63261220f4', role: "gridcell", "aria-colindex": colIndex, class: "xpl-dynamic-table-cell", ref: (el) => {
|
|
11047
11051
|
this.hostElement = el ?? undefined;
|
|
11048
|
-
} }, hAsync("slot", { key: '
|
|
11052
|
+
} }, hAsync("slot", { key: '138598bb74c49c32b649f0955a53cb8ea479e04f' })));
|
|
11049
11053
|
}
|
|
11050
11054
|
get el() { return getElement(this); }
|
|
11051
11055
|
static get cmpMeta() { return {
|
|
@@ -11086,9 +11090,9 @@ class DynamicTableRow {
|
|
|
11086
11090
|
const classList = `xpl-dynamic-table-row
|
|
11087
11091
|
${this.isDisabled ? 'disabled' : ''}
|
|
11088
11092
|
${this.selected ? 'selected' : ''}`;
|
|
11089
|
-
return (hAsync(Host, { key: '
|
|
11093
|
+
return (hAsync(Host, { key: '4b0e558771154ca42ab57235d9b38861831d7eeb', role: "row", class: classList, ref: (el) => {
|
|
11090
11094
|
this.hostElement = el ?? undefined;
|
|
11091
|
-
} }, hAsync("slot", { key: '
|
|
11095
|
+
} }, hAsync("slot", { key: '8b2b1a78d797c9a5fcaa8b31db2a41f57335b683' })));
|
|
11092
11096
|
}
|
|
11093
11097
|
static get cmpMeta() { return {
|
|
11094
11098
|
"$flags$": 260,
|
|
@@ -11130,7 +11134,7 @@ class Grid {
|
|
|
11130
11134
|
});
|
|
11131
11135
|
}
|
|
11132
11136
|
render() {
|
|
11133
|
-
return hAsync(Host, { key: '
|
|
11137
|
+
return hAsync(Host, { key: '94440d9d2f50c8712e7e4599409101da361f66d8', class: "xpl-grid" });
|
|
11134
11138
|
}
|
|
11135
11139
|
get container() { return getElement(this); }
|
|
11136
11140
|
static get cmpMeta() { return {
|
|
@@ -11157,7 +11161,7 @@ class GridItem {
|
|
|
11157
11161
|
className += ` xpl-grid-item-sm-${this.sm}`;
|
|
11158
11162
|
className += ` xpl-grid-item-md-${this.md}`;
|
|
11159
11163
|
className += ` xpl-grid-item-lg-${this.lg}`;
|
|
11160
|
-
return (hAsync(Host, { key: '
|
|
11164
|
+
return (hAsync(Host, { key: '0fc1d60f8f0d0df7208302a3668930afdb1dc5ba', class: className }, hAsync("slot", { key: '0385c17beb3982d060b4e2a4bdd0fd16f924a0d3' })));
|
|
11161
11165
|
}
|
|
11162
11166
|
static get cmpMeta() { return {
|
|
11163
11167
|
"$flags$": 260,
|
|
@@ -11228,7 +11232,7 @@ class HeaderAccordion {
|
|
|
11228
11232
|
this.updateParentCheckbox(initialCheckoxesValue);
|
|
11229
11233
|
}
|
|
11230
11234
|
render() {
|
|
11231
|
-
return (hAsync(Host, { key: '
|
|
11235
|
+
return (hAsync(Host, { key: '7a9c486fd491732cafa29086b3e3edab9090fcef', class: "xpl-header-accordion" }, hAsync("div", { key: 'c63b756d6336e89b7976fb9a072782ed9d67a7c9', class: `header-accordion header-accordion--${this.expanded ? 'expanded' : 'collapsed'}` }, this.hasCheckbox && (hAsync("xpl-checkbox", { key: '65d41ff6f70d0cc9022f0337335305737a23617d', class: "xpl-header-accordion__parent-checkbox", checked: this.parentChecked, disabled: this.disabled, indeterminate: this.parentIndeterminate, onCheckboxChange: (event) => this.handleParentCheckboxChange(event.detail) })), hAsync("button", { key: '514f9bfe4a024416b8a4e152472c2bd7bbe3ab1d', "aria-expanded": this.expanded, "aria-controls": this.contentId, class: "toggle-area", onClick: this.toggleAccordion, type: "button" }, hAsync("slot", { key: '29a2434b4a4be46751f4425b7837f11324547e1a', name: "title" }), hAsync("xpl-icon", { key: 'cf2e043da31d9845e6b4db91022f67c3abb4918d', size: 16, icon: "chevron-down", class: this.expanded ? 'rotate' : undefined }))), hAsync("div", { key: '6bcc05f2ebf545ef67fa7cf1e3bb1e6f39f0f170', id: this.contentId, role: "region", class: !this.expanded ? 'content--hidden' : 'content--shown' }, hAsync("slot", { key: '6bbcd7e23979d93d88168f173766f86701ecc382', name: "content" }))));
|
|
11232
11236
|
}
|
|
11233
11237
|
get el() { return getElement(this); }
|
|
11234
11238
|
static get watchers() { return {
|
|
@@ -25249,10 +25253,10 @@ class Icon {
|
|
|
25249
25253
|
let wrapperClasses = 'xpl-icon__wrapper ';
|
|
25250
25254
|
if (this.backgroundColor)
|
|
25251
25255
|
wrapperClasses += `xpl-icon__wrapper--with-background xpl-icon__wrapper--with-background--${this.backgroundColor}`;
|
|
25252
|
-
return (hAsync(Host, { key: '
|
|
25256
|
+
return (hAsync(Host, { key: '2969450a00c78280dca3b7ed44f98f8699c41808' }, hAsync("figure", { key: '56dc93a59a43dc28eb7479696b8d97656a7c7c68', class: wrapperClasses }, hAsync("span", { key: 'f6133fba12fc84a6547575e70997c131c1771ef2', "aria-label": this.icon, role: "img", class: "xpl-icon", style: {
|
|
25253
25257
|
width: `${options.width}px`,
|
|
25254
25258
|
height: `${options.height}px`,
|
|
25255
|
-
}, innerHTML: apolloIcons.getIcon(this.icon)?.toSVG(options) }), hAsync("figcaption", { key: '
|
|
25259
|
+
}, innerHTML: apolloIcons.getIcon(this.icon)?.toSVG(options) }), hAsync("figcaption", { key: 'c5c9fa42d7c00ea35666b81c7f8ba39f4482572c' }, this.icon, " icon"))));
|
|
25256
25260
|
}
|
|
25257
25261
|
static get style() { return xplIconCss(); }
|
|
25258
25262
|
static get cmpMeta() { return {
|
|
@@ -25423,11 +25427,12 @@ class Input {
|
|
|
25423
25427
|
case 'time':
|
|
25424
25428
|
return (hAsync("xpl-input-time", { inputId: this._id, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, value: this.value, placeholder: this.placeholder, max: this.max, min: this.min, step: this.step, mode: this.mode, timeFormat: this.timeFormat, allowCustomOption: this.allowCustomOption, onValueChange: this.handleChildValueChange }));
|
|
25425
25429
|
case 'phone':
|
|
25426
|
-
return (hAsync("xpl-input-phone", { inputId: this._id, disabled: this.disabled, error:
|
|
25430
|
+
return (hAsync("xpl-input-phone", { inputId: this._id, disabled: this.disabled, error: this.error !== undefined, name: this.name, required: this.required, readonly: this.readonly, value: this.value, placeholder: this.placeholder, defaultCountry: this.defaultCountry, preferredCountries: this.preferredCountries, isInternational: this.isInternational, onValueChange: this.handleChildValueChange }));
|
|
25427
25431
|
case 'search': {
|
|
25428
25432
|
const hasVisibleLabel = Boolean((this.label ?? '').trim());
|
|
25429
|
-
const
|
|
25430
|
-
|
|
25433
|
+
const hasError = this.error !== undefined;
|
|
25434
|
+
const hasErrorMessage = hasError && (this.error?.length ?? 0) > 0;
|
|
25435
|
+
return (hAsync("xpl-input-search", { ariaLabel: (this.ariaLabel ?? '').trim() || 'Search', autocomplete: this.autocomplete ?? 'off', disabled: this.disabled, errorMessageId: hasErrorMessage ? `${this._id}-error` : undefined, hasError: hasError, hasVisibleLabel: hasVisibleLabel, inputId: this._id ?? '', name: this.name, onBlurEvent: this.handleSearchBlurForward, onFocusEvent: this.handleSearchFocusForward, onSearch: this.handleSearchCommit, onValueChange: this.handleChildValueChange, placeholder: this.placeholder ?? 'Search', readonly: this.readonly, ref: (el) => {
|
|
25431
25436
|
this.searchInputRef = el ?? undefined;
|
|
25432
25437
|
}, required: this.required, shape: this.shape ?? 'rounded', value: this.value ?? '' }));
|
|
25433
25438
|
}
|
|
@@ -25446,7 +25451,7 @@ class Input {
|
|
|
25446
25451
|
}
|
|
25447
25452
|
render() {
|
|
25448
25453
|
let hasError = false;
|
|
25449
|
-
if (this.error) {
|
|
25454
|
+
if (this.error !== undefined) {
|
|
25450
25455
|
hasError = true;
|
|
25451
25456
|
}
|
|
25452
25457
|
else if (this.multiline &&
|
|
@@ -25454,13 +25459,13 @@ class Input {
|
|
|
25454
25459
|
this.characterCount > this.maxCharacterCount) {
|
|
25455
25460
|
hasError = true;
|
|
25456
25461
|
}
|
|
25457
|
-
return (hAsync(Host, { key: '
|
|
25462
|
+
return (hAsync(Host, { key: '94a5e19a36756ac43ebbe6d3996a2ffbf475da24', class: {
|
|
25458
25463
|
'xpl-input': true,
|
|
25459
25464
|
'xpl-input--disabled': !!this.disabled,
|
|
25460
25465
|
'xpl-input--error': hasError,
|
|
25461
25466
|
'xpl-input--readonly': !!this.readonly,
|
|
25462
25467
|
[`xpl-input--${this.type}`]: true,
|
|
25463
|
-
} }, this.label && (hAsync("label", { key: '
|
|
25468
|
+
} }, this.label && (hAsync("label", { key: 'd41b5e5245483e2ea235c910f85cd6a21b100dec', class: "xpl-input-label", htmlFor: this._id }, this.label, this.description && hAsync("small", { key: 'c9d55823b8b97678b2f5f4374446c3693e6dceaa' }, this.description))), this.renderInput(), (this.error?.length ?? 0) > 0 && (hAsync("label", { key: '20e5a1d2af06e571f0757aa60633438f79a6a17d', class: "xpl-input-error", htmlFor: this._id, id: `${this._id}-error` }, hAsync("xpl-icon", { key: 'a193ee5f1d3e0d8479fa8dfd66ab27edeb400d30', icon: "circle-warning", size: 16 }), hAsync("span", { key: 'acf686fe036d1a1e9cb944ff773dda86e90ff39a' }, this.error)))));
|
|
25464
25469
|
}
|
|
25465
25470
|
get el() { return getElement(this); }
|
|
25466
25471
|
static get cmpMeta() { return {
|
|
@@ -25636,7 +25641,7 @@ const rgbToHex = (r, g, b) => [r, g, b].map((x) => x.toString(16).padStart(2, '0
|
|
|
25636
25641
|
const stringToObjectColor = (input) => {
|
|
25637
25642
|
if (input.startsWith('#')) {
|
|
25638
25643
|
if (!/^#([a-fA-F\d]{6})$/.test(input)) {
|
|
25639
|
-
throw new Error('Only 6-digit hex format supported (e.g. #aabbcc)');
|
|
25644
|
+
throw new Error('xpl-input-color: Only 6-digit hex format supported (e.g. #aabbcc)');
|
|
25640
25645
|
}
|
|
25641
25646
|
const hex = input.toLowerCase().slice(1);
|
|
25642
25647
|
const r = parseInt(hex.slice(0, 2), 16);
|
|
@@ -25647,7 +25652,7 @@ const stringToObjectColor = (input) => {
|
|
|
25647
25652
|
if (input.startsWith('rgba') || input.startsWith('rgb')) {
|
|
25648
25653
|
const match = input.match(/[\d.]+/g)?.map(Number);
|
|
25649
25654
|
if (!match || match.length < 3) {
|
|
25650
|
-
throw new Error('Invalid rgba/rgb format');
|
|
25655
|
+
throw new Error('xpl-input-color: Invalid rgba/rgb format');
|
|
25651
25656
|
}
|
|
25652
25657
|
const [r, g, b, a = 1] = match;
|
|
25653
25658
|
const toHex = (n) => n.toString(16).padStart(2, '0');
|
|
@@ -25657,19 +25662,19 @@ const stringToObjectColor = (input) => {
|
|
|
25657
25662
|
if (input.startsWith('hsla') || input.startsWith('hsl')) {
|
|
25658
25663
|
const match = input.match(/[\d.]+/g)?.map(Number);
|
|
25659
25664
|
if (!match || match.length < 3) {
|
|
25660
|
-
throw new Error('Invalid hsla/hsl format');
|
|
25665
|
+
throw new Error('xpl-input-color: Invalid hsla/hsl format');
|
|
25661
25666
|
}
|
|
25662
25667
|
const [hue, saturation, lightness, alpha = 1] = match;
|
|
25663
25668
|
const rgba = hslaToRgba(hue, saturation, lightness, alpha);
|
|
25664
25669
|
const rgbaParts = rgba.match(/[\d.]+/g)?.map(Number);
|
|
25665
25670
|
if (!rgbaParts || rgbaParts.length < 3) {
|
|
25666
|
-
throw new Error('Invalid hsla/hsl format');
|
|
25671
|
+
throw new Error('xpl-input-color: Invalid hsla/hsl format');
|
|
25667
25672
|
}
|
|
25668
25673
|
const [r, g, b] = rgbaParts;
|
|
25669
25674
|
const hex = rgbToHex(r, g, b);
|
|
25670
25675
|
return { hex: hex.toLowerCase(), r, g, b, a: alpha };
|
|
25671
25676
|
}
|
|
25672
|
-
throw new Error('Unsupported color format');
|
|
25677
|
+
throw new Error('xpl-input-color: Unsupported color format');
|
|
25673
25678
|
};
|
|
25674
25679
|
const objectToStringColor = (color) => {
|
|
25675
25680
|
if (!color.a || color.a === 1) {
|
|
@@ -25887,16 +25892,16 @@ class InputColor {
|
|
|
25887
25892
|
top: `${y}px`,
|
|
25888
25893
|
background: `rgb(${r}, ${g}, ${b})`,
|
|
25889
25894
|
};
|
|
25890
|
-
return (hAsync(Host, { key: '
|
|
25895
|
+
return (hAsync(Host, { key: '2c4bff1c1b56afdc1b4192a2d7c1e0a1f5ebc073', class: "xpl-input-color" }, hAsync("xpl-popover", { key: 'ba545a5022a532ef2fde8c795bee19f2680514c1', disabled: this.disabled, display: "menu" }, hAsync("div", { key: '180e066079da1a97ba31bcaf66d443df8a0c48ca', slot: "trigger" }, hAsync("div", { key: 'c3cc0cb1484c4111b60b736b750571552437d0cf', class: {
|
|
25891
25896
|
'xpl-input-color__display': true,
|
|
25892
25897
|
'xpl-input-color__display--disabled': !!this.disabled,
|
|
25893
25898
|
'xpl-input-color__display--error': !!this.hasErrorState,
|
|
25894
|
-
} }, hAsync("span", { key: '
|
|
25899
|
+
} }, hAsync("span", { key: '72aaff4e9a54da1f766d1de85bd58216c866a4b7', class: "xpl-input-color__color", style: {
|
|
25895
25900
|
background: objectToStringColor(this.colorValues),
|
|
25896
|
-
} }), this.colorValues.hex ? (hAsync("span", { class: "xpl-input-color__value" }, objectToStringColor(this.colorValues))) : (hAsync("span", { class: "xpl-input-color__placeholder" }, this.placeholder)), this.eyeDropperSupported && !this.hideEyeDropper && (hAsync("xpl-icon", { key: '
|
|
25901
|
+
} }), this.colorValues.hex ? (hAsync("span", { class: "xpl-input-color__value" }, objectToStringColor(this.colorValues))) : (hAsync("span", { class: "xpl-input-color__placeholder" }, this.placeholder)), this.eyeDropperSupported && !this.hideEyeDropper && (hAsync("xpl-icon", { key: 'f55cfde9a119e9f0de379bc1bfb5b5d4b53aa992', size: 20, icon: "eye-dropper", class: "xpl-input-color__icon", onClick: (e) => {
|
|
25897
25902
|
e.stopPropagation();
|
|
25898
25903
|
this.openEyeDropper();
|
|
25899
|
-
} })))), hAsync("div", { key: '
|
|
25904
|
+
} })))), hAsync("div", { key: 'f80f215000d3a906d65f7f6673c6d8eaabe3fc6d', class: "xpl-input-color__menu" }, hAsync("div", { key: '4701c99f8a528900c34005b7c26d9fa544b664d8', class: "xpl-input-color__sl-grid", ref: (el) => {
|
|
25900
25905
|
this.colorInputElements.slGrid = el ?? undefined;
|
|
25901
25906
|
}, style: {
|
|
25902
25907
|
background: [
|
|
@@ -25904,9 +25909,9 @@ class InputColor {
|
|
|
25904
25909
|
`linear-gradient(to right, #fff, #fff0)`,
|
|
25905
25910
|
`rgb(${hueBaseColor.r} ${hueBaseColor.g} ${hueBaseColor.b})`,
|
|
25906
25911
|
].join(', '),
|
|
25907
|
-
}, onMouseDown: this.startDrag, onTouchStart: this.startDrag }, hAsync("div", { key: '
|
|
25912
|
+
}, onMouseDown: this.startDrag, onTouchStart: this.startDrag }, hAsync("div", { key: '3e0ec5c0821dfed35190053f5e4f147cb7b55eb0', class: "xpl-input-color__sl-thumb", style: slThumbStyle })), hAsync("div", { key: '1b278a13c88aa663a2b8217fbc3524ee213e0f3b', class: "xpl-input-color__grid" }, hAsync("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: (el) => {
|
|
25908
25913
|
this.colorInputElements.hue = el ?? undefined;
|
|
25909
|
-
} }), hAsync("input", { key: '
|
|
25914
|
+
} }), hAsync("input", { key: '1119341201878e5c8511fa3e241afba15eab6d9b', type: "range", min: "0", max: "1", step: "0.01", value: a, class: "xpl-input-color__slider xpl-input-color__alpha", name: "color-alpha-slider", ref: (el) => {
|
|
25910
25915
|
this.colorInputElements.alpha = el ?? undefined;
|
|
25911
25916
|
}, style: {
|
|
25912
25917
|
backgroundImage: [
|
|
@@ -25916,9 +25921,9 @@ class InputColor {
|
|
|
25916
25921
|
`linear-gradient(45deg, transparent 75%, #ccc 75%)`,
|
|
25917
25922
|
`linear-gradient(-45deg, transparent 75%, #ccc 75%)`,
|
|
25918
25923
|
].join(', '),
|
|
25919
|
-
} }), hAsync("div", { key: '
|
|
25924
|
+
} }), hAsync("div", { key: '3804928b107e92bddbc3afa3fa883caafddbd06b', class: "xpl-input-color__preview", style: {
|
|
25920
25925
|
background: `rgba(${r}, ${g}, ${b}, ${a})`,
|
|
25921
|
-
} })), hAsync("div", { key: '
|
|
25926
|
+
} })), hAsync("div", { key: '86961ee31d82724a76f6598bd547c8e650e27f24', class: "xpl-input-color__inputs" }, [
|
|
25922
25927
|
'hex',
|
|
25923
25928
|
'r',
|
|
25924
25929
|
'g',
|
|
@@ -26085,16 +26090,16 @@ class InputDate {
|
|
|
26085
26090
|
parent.removeChild(wrapper);
|
|
26086
26091
|
}
|
|
26087
26092
|
render() {
|
|
26088
|
-
return (hAsync(Host, { key: '
|
|
26093
|
+
return (hAsync(Host, { key: '768d9bffdb7431a48824590f9ae61f8e77735e98', class: {
|
|
26089
26094
|
'xpl-input-date': true,
|
|
26090
26095
|
[`xpl-input-date--mode-${this.mode}`]: true,
|
|
26091
26096
|
'xpl-input-date--error': !!this.hasErrorState,
|
|
26092
26097
|
'xpl-input-date--flatpickr-static': this.flatpickrStaticLayout,
|
|
26093
|
-
} }, hAsync("div", { key: '
|
|
26098
|
+
} }, hAsync("div", { key: '5b3421bad3bc8474b3724fc7a4287ccf98bd1ba5', class: "xpl-input-wrapper" }, this.pre && (hAsync("label", { key: 'f0e88d0052247c15decc6de2635db1fb847fdd94', class: "xpl-input-pre", htmlFor: this.inputId }, this.pre)), hAsync("input", { key: '251ddfab7140c7a13fd2ef36d7baefe81ed3e716', type: "date", id: this.inputId, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, placeholder: this.placeholder, max: this.max, min: this.min, ref: (el) => {
|
|
26094
26099
|
this.input = el ?? undefined;
|
|
26095
26100
|
}, onChange: (event) => {
|
|
26096
26101
|
this.valueChanged(event);
|
|
26097
|
-
} }), hAsync("xpl-icon", { key: '
|
|
26102
|
+
} }), hAsync("xpl-icon", { key: '6828c8024496963a2a480091a40326154e21d1f5', class: "xpl-input-calendar", icon: "calendar", size: 24 }), this.post && (hAsync("label", { key: 'e08267b6ffc0d605b557e69784b54757621182c7', class: "xpl-input-post", htmlFor: this.inputId }, this.post)))));
|
|
26098
26103
|
}
|
|
26099
26104
|
get el() { return getElement(this); }
|
|
26100
26105
|
static get watchers() { return {
|
|
@@ -26165,18 +26170,18 @@ class InputFile {
|
|
|
26165
26170
|
this.onRemoveFileByIndex(fileIndex);
|
|
26166
26171
|
}
|
|
26167
26172
|
render() {
|
|
26168
|
-
return (hAsync(Host, { key: '
|
|
26173
|
+
return (hAsync(Host, { key: 'baa52af5a8ee6222ff745cece6e59d9480165af6', class: {
|
|
26169
26174
|
'xpl-input-file': true,
|
|
26170
26175
|
'xpl-input-file--hide-trigger-on-select': !!this.hideTriggerOnSelect,
|
|
26171
26176
|
'xpl-input-file--disabled': !!this.disabled,
|
|
26172
|
-
} }, hAsync("span", { key: '
|
|
26177
|
+
} }, hAsync("span", { key: '802ed05f26bd1e2a618f5e09bea7370fe69a4718', class: {
|
|
26173
26178
|
'xpl-input-file__trigger-wrapper': true,
|
|
26174
26179
|
'xpl-input-file__trigger-wrapper--hidden': !!this.hideTriggerOnSelect && (this.files?.length ?? 0) > 0,
|
|
26175
|
-
}, role: "button", tabIndex: 0, onClick: this.openFileDialog }, hAsync("slot", { key: '
|
|
26180
|
+
}, role: "button", tabIndex: 0, onClick: this.openFileDialog }, hAsync("slot", { key: '487381f2b34d2ad528f1b32f976e5513c1e29c11', name: "trigger" })), (this.files?.length ?? 0) > 0 && !this.hideFileNames && (hAsync("ul", { key: 'fe7b503a89a65af02cbb39b93b518b2dde790a34', class: "xpl-input-file__file-list" }, (this.files ?? []).map((file, fileIndex) => (hAsync("li", { class: "xpl-input-file__file-item" }, hAsync("span", { class: "xpl-input-file__file-name" }, file.name), hAsync("xpl-icon", { icon: "x-circle", size: 24, onClick: (e) => {
|
|
26176
26181
|
e.preventDefault();
|
|
26177
26182
|
e.stopPropagation();
|
|
26178
26183
|
this.onRemoveFileByIndex(fileIndex);
|
|
26179
|
-
}, class: "xpl-input-file__remove-icon" })))))), this.accept && !this.hideAcceptText && (hAsync("span", { key: '
|
|
26184
|
+
}, class: "xpl-input-file__remove-icon" })))))), this.accept && !this.hideAcceptText && (hAsync("span", { key: '6e5e54426f2b33858b374d09014ec0096fa43bb4', class: "xpl-input-file__accept" }, "Accepted file types: ", this.accept)), hAsync("input", { key: '81d08e97d8d2c8a59640348e295261f9acd439cc', onChange: this.handleFileChange, type: "file", ref: (el) => {
|
|
26180
26185
|
this.fileInput = el ?? undefined;
|
|
26181
26186
|
}, hidden: true, accept: this.accept, multiple: this.multiple, name: this.name })));
|
|
26182
26187
|
}
|
|
@@ -26681,20 +26686,20 @@ class InputPhone {
|
|
|
26681
26686
|
this.hasErrorState = null;
|
|
26682
26687
|
}
|
|
26683
26688
|
render() {
|
|
26684
|
-
return (hAsync(Host, { key: '
|
|
26689
|
+
return (hAsync(Host, { key: '124c8feabed1cf383f2eb65e77dd2517c96ea01c', class: {
|
|
26685
26690
|
'xpl-input-phone': true,
|
|
26686
26691
|
'xpl-input-phone--error': !!this.hasErrorState || !!this.error,
|
|
26687
26692
|
'xpl-input-phone--open': this.dropdownOpen,
|
|
26688
26693
|
'xpl-input-phone--domestic': !this.isInternational,
|
|
26689
|
-
} }, hAsync("div", { key: '
|
|
26694
|
+
} }, hAsync("div", { key: '6b2a17efd488aa18ac8dea1e86d12884ceb51e90', class: "xpl-input-wrapper" }, this.isInternational && (hAsync("button", { key: 'd3f8e42841532f8c37a131545007af3213c1b9e0', type: "button", id: this.triggerId, class: "xpl-input-phone__trigger", disabled: this.disabled, "aria-haspopup": "listbox", "aria-expanded": this.dropdownOpen ? 'true' : 'false', "aria-label": "Select country", onClick: this.handleTriggerClick }, this.selectedCountry?.name && (hAsync("xpl-icon", { key: 'cb52527ba28d95a93cba734bb6d1b3ab8e14a388', class: "xpl-input-phone__flag", icon: getCountryIconName(this.selectedCountry.name), size: 24, "aria-hidden": "true" })), hAsync("xpl-icon", { key: '7942dae0973871635b7b64e0697d8c25352ac3bf', class: "xpl-input-phone__trigger-icon", icon: "chevron-down", size: 20, "aria-hidden": "true" }))), hAsync("div", { key: '24b810a9e03c7774ad6576cc9f03888d5da9d3aa', class: "xpl-input-phone__input-wrap" }, this.isInternational && (hAsync("span", { key: 'eb7684aad427a10615c23326a2a2628a4a12fbb0', class: "xpl-input-phone__dial-code" }, this.effectiveDialCode)), hAsync("input", { key: '8e429f156e36f101413e1d5168bb38a2ca9bdebf', ref: (el) => {
|
|
26690
26695
|
this.inputEl = el ?? undefined;
|
|
26691
|
-
}, type: "tel", id: this.inputId, class: "xpl-input-phone__input", name: this.name, disabled: this.disabled, readonly: this.readonly, required: this.required, "aria-invalid": this.hasErrorState || this.error ? 'true' : 'false', placeholder: this.effectivePlaceholder, autocomplete: this.isInternational ? 'tel-national' : 'tel', inputmode: "numeric", maxlength: this.maxInputLength, value: this.displayValue, onInput: this.handleNumberInput }), this.nationalNumber && this.isEditable && (hAsync("button", { key: '
|
|
26696
|
+
}, type: "tel", id: this.inputId, class: "xpl-input-phone__input", name: this.name, disabled: this.disabled, readonly: this.readonly, required: this.required, "aria-invalid": this.hasErrorState || this.error ? 'true' : 'false', placeholder: this.effectivePlaceholder, autocomplete: this.isInternational ? 'tel-national' : 'tel', inputmode: "numeric", maxlength: this.maxInputLength, value: this.displayValue, onInput: this.handleNumberInput }), this.nationalNumber && this.isEditable && (hAsync("button", { key: '403e1b9e35a7bfd2ba356c16c4d5e9178541f876', type: "button", class: "xpl-input-phone__clear", "aria-label": "Clear phone number", onClick: this.handleClear }, hAsync("xpl-icon", { key: 'aee1381d3a7dcec64c708ecfa67266eef442850e', icon: "x-circle", size: 16 }))))), this.isInternational && this.isEditable && (hAsync("xpl-dropdown", { key: '9d14a65f3ac538b4e420151927a0c349adf3688d', ref: (el) => {
|
|
26692
26697
|
this.dropdownRef = el ?? undefined;
|
|
26693
26698
|
}, isOpen: this.dropdownOpen, triggerId: this.triggerId, anchorToTrigger: true, closeOnSelect: true, mode: "single", options: this.dropdownOptions, update: this.handleDropdownUpdate, onIsOpenChange: (e) => {
|
|
26694
26699
|
this.dropdownOpen = e.detail;
|
|
26695
|
-
}, "aria-label": "Country" }, hAsync("div", { key: '
|
|
26700
|
+
}, "aria-label": "Country" }, hAsync("div", { key: '87006a8a90ef37032775247a387896f065ce5673', slot: "header", class: "xpl-input-phone__search-wrap" }, hAsync("xpl-input", { key: '26a99c318081e3215fa779191ee8a0f9c127489f', class: "xpl-input-phone__search", type: "text", label: "", placeholder: "Search", value: this.searchQuery, autocomplete: "off", onInputEvent: (e) => {
|
|
26696
26701
|
this.searchQuery = e.detail ?? '';
|
|
26697
|
-
} }, hAsync("xpl-icon", { key: '
|
|
26702
|
+
} }, hAsync("xpl-icon", { key: '4aee182e975ed805524ac93e3a34f055266b693b', slot: "pre", class: "xpl-input-phone__search-icon", icon: "magnifier", size: 20 })))))));
|
|
26698
26703
|
}
|
|
26699
26704
|
get el() { return getElement(this); }
|
|
26700
26705
|
static get watchers() { return {
|
|
@@ -26836,7 +26841,7 @@ class InputSearch {
|
|
|
26836
26841
|
return shell;
|
|
26837
26842
|
}
|
|
26838
26843
|
render() {
|
|
26839
|
-
return (hAsync(Host, { key: '
|
|
26844
|
+
return (hAsync(Host, { key: '4a152d3a8db620391334488e1c6c3cdbe9250ba3', class: {
|
|
26840
26845
|
'xpl-input-search': true,
|
|
26841
26846
|
'xpl-input-search--disabled': this.disabled,
|
|
26842
26847
|
'xpl-input-search--error': this.hasError,
|
|
@@ -27045,11 +27050,11 @@ class InputTime {
|
|
|
27045
27050
|
}));
|
|
27046
27051
|
}
|
|
27047
27052
|
render() {
|
|
27048
|
-
return (hAsync(Host, { key: '
|
|
27053
|
+
return (hAsync(Host, { key: '5494cc0a537152b9d8dfa03e5281b21e6bb6eee2', class: {
|
|
27049
27054
|
'xpl-input-time': true,
|
|
27050
27055
|
[`xpl-input-time--mode-${this.mode}`]: true,
|
|
27051
27056
|
'xpl-input-time--error': !!this.hasErrorState,
|
|
27052
|
-
} }, hAsync("xpl-input", { key: '
|
|
27057
|
+
} }, hAsync("xpl-input", { key: '0d32784cd9fc8acacae1854a966bb426fa135fb5', pre: hAsync("xpl-icon", { class: "xpl-input-time__clock-icon", icon: "clock", size: 24 }), post: this.timeFormat === '12h' ? this.amPm || 'AM' : undefined, type: "text", _id: this.inputId, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, placeholder: this.placeholder, max: this.max, min: this.min, onInput: this.handleInput, value: this.formattedValue, onFocusEvent: this.handleFocus, onBlurEvent: this.handleBlur, onClick: this.handleClick }), !this.readonly && !this.disabled && (hAsync("xpl-dropdown", { key: '206c668ca8ee29ceffaf14f14acd90fb076fc0ae', options: this.options, isOpen: this.showOptions, ref: (el) => {
|
|
27053
27058
|
this.dropdown = el ?? undefined;
|
|
27054
27059
|
}, class: "xpl-input-time__dropdown" }))));
|
|
27055
27060
|
}
|
|
@@ -27165,7 +27170,7 @@ class LargeCard {
|
|
|
27165
27170
|
}
|
|
27166
27171
|
}
|
|
27167
27172
|
render() {
|
|
27168
|
-
return (hAsync(Host, { key: '
|
|
27173
|
+
return (hAsync(Host, { key: '9fdddb5c8d02400545f57499c92af0ee0aa4be67', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, hAsync("dt", { key: '3854e5f89efa2c968f7abeb8284c0ab8e3e31fda', class: "xpl-large-card__header" }, hAsync("header", { key: '0057d377780108f886dae2d9a6a1f3d81748b5fc' }, hAsync("slot", { key: '243d38d7635a2e288a1ec7f7894b772d5005acee', name: "title" }, this.name), this.link && (hAsync("span", { key: 'f2ce2ff09a50471ee255bac8bda406908c272388', class: "xpl-large-card__header-arrow" }, hAsync("xpl-icon", { key: '86233617aaf74a137d84639e1477c311671fad7b', icon: "chevron-right", size: 16 })))), this.description && (hAsync("div", { key: 'ab0c0134a2468d22d122dfe810306d570beee8e8', class: "xpl-large-card__description" }, this.description))), hAsync("dd", { key: '6fb1262327dc91fd0a982bd31ee7deaa94625e12', class: "xpl-large-card__body" }, this.graphContentPresent && hAsync("slot", { key: 'b1e170a19004aad87015786307b926e58d031751', name: GRAPH_CONTENT_SLOT }))));
|
|
27169
27174
|
}
|
|
27170
27175
|
get el() { return getElement(this); }
|
|
27171
27176
|
static get cmpMeta() { return {
|
|
@@ -27551,10 +27556,10 @@ class List {
|
|
|
27551
27556
|
render() {
|
|
27552
27557
|
const ariaLabelledBy = this.labelledBy?.trim() ? this.labelledBy.trim() : undefined;
|
|
27553
27558
|
const ariaLabel = !ariaLabelledBy && this.label?.trim() ? this.label.trim() : undefined;
|
|
27554
|
-
return (hAsync(Host, { key: '
|
|
27559
|
+
return (hAsync(Host, { key: '8b055baaf9acc04df19be097d0fb5bcb86c7165a', role: "list", class: { 'xpl-list': true }, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy }, this.items?.map((item, index) => {
|
|
27555
27560
|
const legacyRowId = item.id ?? `item-${index}`;
|
|
27556
27561
|
return (hAsync("xpl-list-item", { key: `legacy-item-${legacyRowId}`, item: item, href: item.href, itemId: legacyRowId }));
|
|
27557
|
-
}), hAsync("slot", { key: '
|
|
27562
|
+
}), hAsync("slot", { key: '103e3fb6cb29f9527b090dd9e53412528ed7b9c2' }), this.reorderable ? (hAsync("div", { class: "xpl-list__reorder-live", "aria-live": "assertive", "aria-atomic": "true" }, this.reorderLiveMessage)) : null));
|
|
27558
27563
|
}
|
|
27559
27564
|
get el() { return getElement(this); }
|
|
27560
27565
|
static get watchers() { return {
|
|
@@ -27606,7 +27611,7 @@ class MainNav {
|
|
|
27606
27611
|
this.navWidthHandler();
|
|
27607
27612
|
}
|
|
27608
27613
|
render() {
|
|
27609
|
-
return (hAsync(Host, { key: '
|
|
27614
|
+
return (hAsync(Host, { key: '936e7393a8037c6c78c7a6d5d284d9c37be2f866', class: `xpl-main-nav xpl-main-nav--${this.width}`, "aria-label": "Sidebar" }, hAsync("nav", { key: '45fd74c979b53bbd8080ca92ea15e3135d0d49ae' }, hAsync("header", { key: 'cb692d0e90aa70bce5e09af43e54d864849f4800', "aria-label": "Sidebar Header" }, hAsync("slot", { key: '778c33ef024895ca44616ef9655843330e3c563b', name: "logo" }), hAsync("slot", { key: '7728db09b46999e708c46d10d5de56c65ab9a9fa', name: "brand-name" })), hAsync("div", { key: '0376fefe7921b061f3f2fdc972aa381ed7d124a2', class: "xpl-main-nav__main_section" }, hAsync("slot", { key: '12a61a53d6c93695d38c70d9a953fe4e37438178', name: "navigation" })), hAsync("footer", { key: '8cd0e32231e155324c78878dcaad955ab7b3e4fb', class: "xpl-main-nav__footer", "aria-label": "Sidebar Footer" }, hAsync("slot", { key: 'cdaf0bec22d3d8229441e7e036c3fcbcb244c32f', name: "footer" })))));
|
|
27610
27615
|
}
|
|
27611
27616
|
static get cmpMeta() { return {
|
|
27612
27617
|
"$flags$": 260,
|
|
@@ -27620,11 +27625,13 @@ class MainNav {
|
|
|
27620
27625
|
}; }
|
|
27621
27626
|
}
|
|
27622
27627
|
|
|
27628
|
+
let modalInstanceCount = 0;
|
|
27623
27629
|
class Modal {
|
|
27624
27630
|
constructor(hostRef) {
|
|
27625
27631
|
registerInstance(this, hostRef);
|
|
27626
27632
|
this.modalClosed = createEvent(this, "modalClosed", 7);
|
|
27627
27633
|
this.dialogElement = null;
|
|
27634
|
+
this.titleId = `xpl-modal-title-${(modalInstanceCount += 1)}`;
|
|
27628
27635
|
this.isOpen = false;
|
|
27629
27636
|
this.size = 'medium';
|
|
27630
27637
|
this.variant = 'default';
|
|
@@ -27647,34 +27654,47 @@ class Modal {
|
|
|
27647
27654
|
}
|
|
27648
27655
|
};
|
|
27649
27656
|
}
|
|
27650
|
-
|
|
27651
|
-
this.
|
|
27652
|
-
if (!this.dialogElement) {
|
|
27653
|
-
return;
|
|
27654
|
-
}
|
|
27655
|
-
this.updateModalState();
|
|
27656
|
-
this.dialogElement.addEventListener('cancel', this.handleDialogClose);
|
|
27657
|
-
this.dialogElement.addEventListener('click', this.handleNativeBackdropClick);
|
|
27657
|
+
connectedCallback() {
|
|
27658
|
+
this.bindDialog();
|
|
27658
27659
|
}
|
|
27659
27660
|
disconnectedCallback() {
|
|
27660
27661
|
this.clearCloseTimer();
|
|
27661
|
-
|
|
27662
|
-
|
|
27663
|
-
|
|
27664
|
-
|
|
27662
|
+
this.unbindDialog();
|
|
27663
|
+
}
|
|
27664
|
+
componentDidLoad() {
|
|
27665
|
+
this.bindDialog();
|
|
27665
27666
|
}
|
|
27666
27667
|
updateModalState() {
|
|
27668
|
+
this.clearCloseTimer();
|
|
27667
27669
|
if (this.isOpen) {
|
|
27668
|
-
this.
|
|
27669
|
-
|
|
27670
|
+
this.openDialog();
|
|
27671
|
+
}
|
|
27672
|
+
else {
|
|
27673
|
+
this.scheduleClose();
|
|
27670
27674
|
}
|
|
27671
|
-
|
|
27672
|
-
|
|
27673
|
-
|
|
27674
|
-
|
|
27675
|
-
|
|
27676
|
-
}, 250);
|
|
27675
|
+
}
|
|
27676
|
+
bindDialog() {
|
|
27677
|
+
const dialog = this.element.querySelector('dialog');
|
|
27678
|
+
if (!dialog) {
|
|
27679
|
+
return;
|
|
27677
27680
|
}
|
|
27681
|
+
this.dialogElement = dialog;
|
|
27682
|
+
dialog.removeEventListener('cancel', this.handleDialogClose);
|
|
27683
|
+
dialog.removeEventListener('click', this.handleNativeBackdropClick);
|
|
27684
|
+
dialog.addEventListener('cancel', this.handleDialogClose);
|
|
27685
|
+
dialog.addEventListener('click', this.handleNativeBackdropClick);
|
|
27686
|
+
this.updateModalState();
|
|
27687
|
+
}
|
|
27688
|
+
unbindDialog() {
|
|
27689
|
+
const dialog = this.dialogElement;
|
|
27690
|
+
if (!dialog) {
|
|
27691
|
+
return;
|
|
27692
|
+
}
|
|
27693
|
+
if (dialog.open && typeof dialog.close === 'function') {
|
|
27694
|
+
dialog.close();
|
|
27695
|
+
}
|
|
27696
|
+
dialog.removeEventListener('cancel', this.handleDialogClose);
|
|
27697
|
+
dialog.removeEventListener('click', this.handleNativeBackdropClick);
|
|
27678
27698
|
}
|
|
27679
27699
|
clearCloseTimer() {
|
|
27680
27700
|
if (this.closeTimerId !== undefined) {
|
|
@@ -27682,8 +27702,22 @@ class Modal {
|
|
|
27682
27702
|
this.closeTimerId = undefined;
|
|
27683
27703
|
}
|
|
27684
27704
|
}
|
|
27705
|
+
openDialog() {
|
|
27706
|
+
if (this.dialogElement && !this.dialogElement.open) {
|
|
27707
|
+
this.dialogElement.showModal?.();
|
|
27708
|
+
}
|
|
27709
|
+
}
|
|
27710
|
+
scheduleClose() {
|
|
27711
|
+
if (!this.dialogElement || typeof this.dialogElement.close !== 'function') {
|
|
27712
|
+
return;
|
|
27713
|
+
}
|
|
27714
|
+
this.closeTimerId = setTimeout(() => {
|
|
27715
|
+
this.closeTimerId = undefined;
|
|
27716
|
+
this.dialogElement?.close();
|
|
27717
|
+
}, 250);
|
|
27718
|
+
}
|
|
27685
27719
|
render() {
|
|
27686
|
-
return (hAsync(Host, { key: '
|
|
27720
|
+
return (hAsync(Host, { key: '3194d5377b7438543a3f6e6ab41fd7c307674a28', class: "xpl-modal" }, this.isOpen && hAsync("xpl-backdrop", { key: 'dfc30ff7879364920669a1d1ebfdaea39951b966' }), hAsync("dialog", { key: 'bfb33a8d97d17981f582768b0e34b0d167cf60cb', class: `xpl-modal__dialog xpl-modal-size--${this.size} xpl-modal--${this.isOpen ? 'is-open' : 'is-closed'}`, "aria-labelledby": this.titleId }, hAsync("div", { key: '0b71adc30bde109aa831a28200c918a458a7da52', class: "xpl-modal__header" }, hAsync("div", { key: '657c5aad60fa85e4285e299dcbe24209742277e6', class: "xpl-modal__title" }, hAsync("xpl-button", { key: '2301014d0f4bd129dbbfc7b1eb242db98622f866', type: "button", class: "xpl-modal__close-button", "icon-only": true, variant: "tertiary", "aria-label": "Close modal", onClick: this.handleDialogClose }, hAsync("xpl-icon", { key: 'a978ff514926ca4b319c4920b2057baa50a1fb24', icon: "xmark" })), this.variant === 'warning' && (hAsync("xpl-icon", { key: '2a1cf704d1aa75170d53ef3887a4d1e7874762fa', size: 20, icon: "triangle-warning", class: "xpl-modal__alert-icon" })), hAsync("span", { key: 'd2bcd4c5b4596e80875eb9000ee75d592e41ce74', class: "xpl-modal__title-text", id: this.titleId }, hAsync("slot", { key: 'cf009856b6e86bab36bc16a249ad9b3ebc09fd1c', name: "title" }))), hAsync("div", { key: '29258401d4ec72c81a5a7e28e2365efd2227445e', class: "xpl-modal__subtitle" }, hAsync("slot", { key: '9f749c62f55edabcec4dc5d8677ad9b45e64be50', name: "subtitle" }))), hAsync("div", { key: 'f12dd8ee02ef7f9aeeedd0d7c7b5ffe52c24a336', class: "xpl-modal__body" }, hAsync("slot", { key: '0a9e2d67a7842075560e1cf846e4b3d18bfe1bee', name: "body" })), hAsync("div", { key: '720e9bf0cb5746b31b7dee9cb1ad4226eb13bf11', class: "xpl-modal__footer" }, hAsync("slot", { key: '819ba75ee04742fb872c0345b4cc1732891856ee', name: "primary" }), hAsync("slot", { key: 'b74d4339586fd2d863791d6cb6cd3d593a9c9785', name: "secondary" }), hAsync("slot", { key: 'a4d437d7e9142bf91307edae5ed5dbd89e8921f0', name: "tertiary" })))));
|
|
27687
27721
|
}
|
|
27688
27722
|
get element() { return getElement(this); }
|
|
27689
27723
|
static get watchers() { return {
|
|
@@ -27792,11 +27826,11 @@ class NavHeaderMenu {
|
|
|
27792
27826
|
}
|
|
27793
27827
|
render() {
|
|
27794
27828
|
const hasProfile = !!this.username || !!this.email;
|
|
27795
|
-
return (hAsync(Host, { key: '
|
|
27829
|
+
return (hAsync(Host, { key: '36df50ceb427be007b8da6c4e6154ab0267e7e6b', class: {
|
|
27796
27830
|
'xpl-nav-header-menu': true,
|
|
27797
27831
|
'xpl-nav-header-menu--has-right-aside-mobile': this.rightAsideMobilePresent,
|
|
27798
27832
|
dark: true,
|
|
27799
|
-
} }, hasProfile && (hAsync("div", { key: '
|
|
27833
|
+
} }, hasProfile && (hAsync("div", { key: '5906352d9c6580f96cb3e1ba3ae841b04c136a27', class: "xpl-nav-header-menu__profile" }, hAsync("div", { key: '38ad80fe95f2ea56e12f3dfeea32af734f31aafd', class: "xpl-nav-header-menu__info" }, this.username && (hAsync("div", { key: 'a58f2ab162da92c5afbfaf01234748a6478a61db', class: "xpl-nav-header-menu__username", title: this.username }, this.username)), this.email && (hAsync("div", { key: 'd91f764a3b4278937d1bac6ed670f1e2abf899b0', class: "xpl-nav-header-menu__email", title: this.email }, this.email))))), hAsync("div", { key: '78fade2c6cc2ec049b40ca3093f77855b46ee7db', class: "xpl-nav-header-menu__right-aside-mobile" }, hAsync("slot", { key: '9715e86a06f642f1b0455e43f12fc83c1fdc20f8', name: "right-aside-mobile" })), hAsync("div", { key: 'c1893f276e93629ff8dd96f807579b2b991ea884', class: "xpl-nav-header-menu__slot", role: "list" }, hAsync("slot", { key: '23218885442af87a956216af71b598c2eb478eff' }))));
|
|
27800
27834
|
}
|
|
27801
27835
|
get el() { return getElement(this); }
|
|
27802
27836
|
static get cmpMeta() { return {
|
|
@@ -27825,11 +27859,11 @@ class NavItem {
|
|
|
27825
27859
|
}
|
|
27826
27860
|
}
|
|
27827
27861
|
render() {
|
|
27828
|
-
return (hAsync(Host, { key: '
|
|
27862
|
+
return (hAsync(Host, { key: '6632b50719b413f69b1943035e60c086951709d7', class: "xpl-nav-item", role: "listitem", onClick: () => {
|
|
27829
27863
|
if (this.navControl) {
|
|
27830
27864
|
this.onNavToggle();
|
|
27831
27865
|
}
|
|
27832
|
-
} }, hAsync("slot", { key: '
|
|
27866
|
+
} }, hAsync("slot", { key: '1c7f754d3fa4b67883562f4877414cefc7947920', name: "link" }, hAsync("slot", { key: 'c4268f625e8a4ef9323293d064abee42afee5d1f', name: "icon" }), hAsync("slot", { key: '5f843056b4c5852e3fa89c9a5ef36442b76238a0' }))));
|
|
27833
27867
|
}
|
|
27834
27868
|
static get cmpMeta() { return {
|
|
27835
27869
|
"$flags$": 260,
|
|
@@ -27923,19 +27957,19 @@ class Pagination {
|
|
|
27923
27957
|
render() {
|
|
27924
27958
|
const disablePrev = this.currentPage <= 1;
|
|
27925
27959
|
const disableNext = this.currentPage >= this.totalPages;
|
|
27926
|
-
return (hAsync(Host, { key: '
|
|
27960
|
+
return (hAsync(Host, { key: '23b4aec5d70fcfa1ec02089716f7649d15fcb0ca', class: {
|
|
27927
27961
|
'xpl-pagination': true,
|
|
27928
27962
|
'xpl-pagination__with-page-control': this.withPageControl,
|
|
27929
27963
|
'xpl-pagination__no-page-control': !this.withPageControl,
|
|
27930
|
-
} }, this.withPageControl && (hAsync("div", { key: '
|
|
27964
|
+
} }, this.withPageControl && (hAsync("div", { key: '2383d3488dc1435f1384f98cf07459cfb6ccb1bc', class: "xpl-pagination__rows-per-page" }, hAsync("label", { key: 'be3f5e3815a11f5cb02710d253e02e10fdf6236d', class: "xpl-pagination__rows-label" }, "Rows per page:"), hAsync("xpl-select", { key: 'dd06add7fde18b8616b18fc945e78457ddedb8b7', class: "xpl-pagination__rows-per-page-select", dropdownFlipFallbackPlacements: ['bottom-start'], dropdownPlacement: "top-start", choices: this.rowsPerPageOptionsArray.map((option) => ({
|
|
27931
27965
|
label: option.toString(),
|
|
27932
27966
|
value: option.toString(),
|
|
27933
27967
|
isSelected: option === this.selectedRowsPerPage,
|
|
27934
27968
|
})), ref: (el) => {
|
|
27935
27969
|
this.rowsPerPageSelectRef = el ?? null;
|
|
27936
|
-
} }))), hAsync("div", { key: '
|
|
27970
|
+
} }))), hAsync("div", { key: '9a41a8e940f04ba2da9a7e9331d5ff496043771f', class: "xpl-pagination__pager" }, hAsync("button", { key: 'cfe0a954aaa79e5b8af00a86d384bf9d1d2831b8', class: "xpl-pagination__pager-button xpl-pagination__pager-button-prev", disabled: disablePrev, onClick: this.handlePrevPage, "aria-label": "Previous Page", tabindex: "0" }, hAsync("xpl-icon", { key: 'd3cf107b6f1a2cc02c50e0bd23b19b857ebd812d', icon: "arrow-left", size: 20 })), hAsync("xpl-select", { key: '90d4c563a755c83a759b8e4028aac09b8a0be715', class: "xpl-pagination__page-select", dropdownFlipFallbackPlacements: ['bottom-start'], dropdownPlacement: "top-start", choices: this.pageChoices, "custom-display-value": true, ref: (el) => {
|
|
27937
27971
|
this.pageSelectRef = el ?? null;
|
|
27938
|
-
} }, hAsync("div", { key: '
|
|
27972
|
+
} }, hAsync("div", { key: '3f9071ff9ba2094c5014628366519db328efc466', slot: "custom-display-value" }, `${this.currentPage} of ${this.totalPages}`)), hAsync("button", { key: '474df34b27cd0cd6ffcb58c4408691f5bf765c99', class: "xpl-pagination__pager-button xpl-pagination__pager-button-next", disabled: disableNext, onClick: this.handleNextPage, "aria-label": "Next Page", tabindex: "0" }, hAsync("xpl-icon", { key: '0466f500b1cc7f2fa8e22da485e889775a53b2e8', icon: "arrow-right", size: 20 })))));
|
|
27939
27973
|
}
|
|
27940
27974
|
static get watchers() { return {
|
|
27941
27975
|
"currentPage": [{
|
|
@@ -28651,16 +28685,16 @@ class Popover {
|
|
|
28651
28685
|
});
|
|
28652
28686
|
}
|
|
28653
28687
|
render() {
|
|
28654
|
-
return (hAsync(Host, { key: '
|
|
28688
|
+
return (hAsync(Host, { key: 'b747fcdda5987a1d0506486d325cdf9a57cab6a8' }, hAsync("div", { key: '547d595121db1b713c204eb5ac173828fff4b35b', class: {
|
|
28655
28689
|
'xpl-popover': true,
|
|
28656
28690
|
[`xpl-popover--${this.actualPosition}`]: true,
|
|
28657
28691
|
'xpl-popover--is-open': this.isOpenState,
|
|
28658
|
-
} }, hAsync("span", { key: '
|
|
28692
|
+
} }, hAsync("span", { key: 'd12773148d327475c8ff51fbb5a717c95231cabf', role: "button", tabindex: "0", "aria-haspopup": "dialog", "aria-expanded": this.isOpenState ? 'true' : 'false', onClick: this.togglePopover, ref: (el) => {
|
|
28659
28693
|
this.triggerRef = el;
|
|
28660
|
-
} }, hAsync("slot", { key: '
|
|
28694
|
+
} }, hAsync("slot", { key: '6322dc3b9e7292eeb41aaf5c662aa99273868c7d', name: "trigger" })), this.display === 'arrow' && (hAsync("div", { key: '2a3fe87cc9a82c8e914f6917a999bdd4433b9042', class: "xpl-popover__arrow" }, hAsync("svg", { key: 'a191461ac07cf6693d5461aa4d343214e62ed6ef', width: "17", height: "14", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '61003e404b4e031057e0d2ef39a31bc9b7fba6df', d: "M0 5h15l-7.5 7.5L0 5Z", fill: "white", stroke: "none", class: "arrow-fill" }), hAsync("path", { key: '15de3ff2ec9657fd3e47410de79d2362076c797b', d: "M0 5 L7.5 12.5 L15 5", fill: "none", stroke: "black", "stroke-width": "1", class: "arrow-stroke" })))), hAsync("div", { key: 'ec4ae8672673fa63b918ab6222a6fbf7099758ff', class: {
|
|
28661
28695
|
'xpl-popover__content': true,
|
|
28662
28696
|
[`xpl-popover__content--display-${this.display}`]: true,
|
|
28663
|
-
}, ref: (el) => (this.contentRef = el) }, hAsync("slot", { key: '
|
|
28697
|
+
}, ref: (el) => (this.contentRef = el) }, hAsync("slot", { key: '50c82f8c1833c91f6e2aabdfe3773725c9d9296d' })))));
|
|
28664
28698
|
}
|
|
28665
28699
|
get el() { return getElement(this); }
|
|
28666
28700
|
static get watchers() { return {
|
|
@@ -28716,12 +28750,12 @@ class ProgressBar {
|
|
|
28716
28750
|
return this.variant === 'indeterminate';
|
|
28717
28751
|
}
|
|
28718
28752
|
render() {
|
|
28719
|
-
return (hAsync(Host, { key: '
|
|
28753
|
+
return (hAsync(Host, { key: '7c374a5f2f89aed6b0c3a0daa4cc843efea8d262', class: {
|
|
28720
28754
|
'xpl-progress-bar': true,
|
|
28721
28755
|
[`xpl-progress-bar--${this.size}`]: true,
|
|
28722
28756
|
[`xpl-progress-bar--${this.variant}`]: true,
|
|
28723
28757
|
'xpl-progress-bar--complete': this.isComplete,
|
|
28724
|
-
} }, hAsync("div", { key: '
|
|
28758
|
+
} }, hAsync("div", { key: 'f1be4a82fbb87ffac27bb2b8d0f479ad36aae340', class: "xpl-progress-bar__wrapper" }, (this.label || this.showStatusIcon) && (hAsync("div", { key: 'd415f09b3d0d237bc348b33470162d2b44048856', class: "xpl-progress-bar__header" }, this.label && hAsync("div", { key: '48bc06b81c4445d811e6cd5f3ac086192cbcb392', class: "xpl-progress-bar__label" }, this.label), this.showStatusIcon && (hAsync("div", { key: 'd31ccfc3ed1f956fdc89e01ca262b606219bb78e', class: "xpl-progress-bar__icon" }, this.isError ? (hAsync("xpl-icon", { icon: "circle-xmark-1" })) : (hAsync("xpl-icon", { icon: "circle-check-1" })))))), hAsync("div", { key: '5c97c6193a2ebb0626052953f1a11c9afc258da8', class: "xpl-progress-bar__row" }, this.isIndeterminate ? (hAsync("div", { class: "xpl-progress-bar__track xpl-progress-bar__track--indeterminate", role: "progressbar", "aria-label": this.label || 'Progress' }, hAsync("div", { class: "xpl-progress-bar__indeterminate" }))) : (hAsync("progress", { class: "xpl-progress-bar__progress", value: this.clampedValue, max: this.max, "aria-label": this.label || 'Progress' }))), this.helperText && (hAsync("div", { key: '8e78ed094ab41425272b1818cc004a9094c3632d', class: "xpl-progress-bar__helper" }, this.helperText)))));
|
|
28725
28759
|
}
|
|
28726
28760
|
static get cmpMeta() { return {
|
|
28727
28761
|
"$flags$": 0,
|
|
@@ -28797,7 +28831,7 @@ class ProgressIndicator {
|
|
|
28797
28831
|
? `Progress: all ${totalSteps} ${totalSteps === 1 ? 'step' : 'steps'} complete`
|
|
28798
28832
|
: `Progress: step ${currentStepNumber} of ${totalSteps}`
|
|
28799
28833
|
: 'Progress';
|
|
28800
|
-
return (hAsync(Host, { key: '
|
|
28834
|
+
return (hAsync(Host, { key: '2fa8128b81b665f0733e3c905cb99eaa1917e719', class: hostClasses, role: "group", "aria-label": ariaLabel }, hAsync("div", { key: '279079d456f72748c77ac9f06281c838307ba092', class: "xpl-progress-indicator-container", role: "list" }, steps.map((step, index) => this.renderStep(step, index)))));
|
|
28801
28835
|
}
|
|
28802
28836
|
static get watchers() { return {
|
|
28803
28837
|
"steps": [{
|
|
@@ -28845,14 +28879,14 @@ class Radio {
|
|
|
28845
28879
|
return Boolean(this.checked);
|
|
28846
28880
|
}
|
|
28847
28881
|
render() {
|
|
28848
|
-
return (hAsync(Host, { key: '
|
|
28882
|
+
return (hAsync(Host, { key: 'e3626967beb86dee46de974dd2a3c8993314d2d0', class: {
|
|
28849
28883
|
'xpl-checkbox-radio-container': true,
|
|
28850
28884
|
styled: !!this.styled,
|
|
28851
28885
|
disabled: !!this.disabled,
|
|
28852
|
-
} }, hAsync("input", { key: '
|
|
28886
|
+
} }, hAsync("input", { key: 'cdc8d7968dd78031f33b4f72024698f7afec27cf', class: "xpl-radio", type: "radio", checked: this.isChecked, disabled: this.disabled, id: this.id, name: this.name, required: this.required, onChange: this.onChange, value: this.value }), hAsync("label", { key: '5bb2243b7fe42b219d3fa3696c92321b116f8c72', class: {
|
|
28853
28887
|
'xpl-label': true,
|
|
28854
28888
|
'xpl-label--disabled': !!this.disabled,
|
|
28855
|
-
}, htmlFor: this.id }, hAsync("slot", { key: '
|
|
28889
|
+
}, htmlFor: this.id }, hAsync("slot", { key: '85f1bf2c73111b8f5c0b0ae26343f590c8a50faf' }), this.description && (hAsync("small", { key: '6452b050fe0df584373a45d105434fe31a8a82ba', class: {
|
|
28856
28890
|
'xpl-description': true,
|
|
28857
28891
|
'xpl-description--disabled': !!this.disabled,
|
|
28858
28892
|
} }, this.description)))));
|
|
@@ -28882,7 +28916,7 @@ class SecondaryNav {
|
|
|
28882
28916
|
registerInstance(this, hostRef);
|
|
28883
28917
|
}
|
|
28884
28918
|
render() {
|
|
28885
|
-
return (hAsync(Host, { key: '
|
|
28919
|
+
return (hAsync(Host, { key: '6fd3db4309ecb98fb1739fd69d964297a77a46eb', class: "xpl-secondary-nav" }, hAsync("nav", { key: 'c08a1df306cee05760b6761409ebfb4ba87c2e4f', "aria-label": "Secondary Nav" }, hAsync("slot", { key: '9d5d0657bdd581bce000f1ace49be8c1d018fe47' }))));
|
|
28886
28920
|
}
|
|
28887
28921
|
static get cmpMeta() { return {
|
|
28888
28922
|
"$flags$": 260,
|
|
@@ -29167,21 +29201,21 @@ class Select {
|
|
|
29167
29201
|
this.truncate &&
|
|
29168
29202
|
!this.customDisplayValue;
|
|
29169
29203
|
const truncatedText = `+ ${Math.abs(this.choicesState.filter((a) => a.isSelected).length - this.visibleChoices)} more`;
|
|
29170
|
-
return (hAsync(Host, { key: '
|
|
29204
|
+
return (hAsync(Host, { key: 'b080c68630c2c0c6bfeffb6ce27c9b9363898ecc', class: {
|
|
29171
29205
|
'xpl-select': true,
|
|
29172
29206
|
'xpl-select--disabled': !!this.disabled,
|
|
29173
29207
|
'xpl-select--no-truncate': !this.truncate,
|
|
29174
29208
|
[this.classNames ?? '']: !!this.classNames,
|
|
29175
29209
|
}, onKeyDown: this.handleTabKeyDown, ref: (el) => {
|
|
29176
29210
|
this.container = el;
|
|
29177
|
-
} }, this.renderLabel(), hAsync("div", { key: '
|
|
29211
|
+
} }, this.renderLabel(), hAsync("div", { key: 'c2913a9da7988d4e24fd788718637bcebd93fcb6', class: {
|
|
29178
29212
|
'xpl-input': true,
|
|
29179
29213
|
'xpl-input--disabled': !!this.disabled,
|
|
29180
29214
|
'xpl-input--error': this.error !== undefined,
|
|
29181
|
-
} }, hAsync("div", { key: '
|
|
29215
|
+
} }, hAsync("div", { key: '58ea7fdb31c591b2726258d786ca5550219bcd89', class: "xpl-input-wrapper" }, hAsync("button", { key: 'c4c2b2f0a90cd4ef407b8797fd65b86062387678', class: "xpl-select__trigger", disabled: this.disabled, id: this.id, onKeyDown: this.handleTabKeyDown, onClick: (e) => {
|
|
29182
29216
|
e.preventDefault();
|
|
29183
29217
|
this.handleDropdownTrigger();
|
|
29184
|
-
}, type: "button" }, hAsync("div", { key: '
|
|
29218
|
+
}, type: "button" }, hAsync("div", { key: '7ddc58167d4363991c92d90ee6e0881f04bc725f', class: {
|
|
29185
29219
|
'xpl-select-value': true,
|
|
29186
29220
|
'xpl-select-value--active': this.mode === 'multi' && this.value.length > 0,
|
|
29187
29221
|
'has-value': this.value.length > 0,
|
|
@@ -29201,7 +29235,7 @@ class Select {
|
|
|
29201
29235
|
return this.renderSelectedTags();
|
|
29202
29236
|
}
|
|
29203
29237
|
return this.placeholder;
|
|
29204
|
-
})(), isTextTruncated && truncatedText), hAsync("xpl-icon", { key: '
|
|
29238
|
+
})(), isTextTruncated && truncatedText), hAsync("xpl-icon", { key: '8640f1e46263c802edf0e9b18f53d2eb6b2a78a3', class: "xpl-select__chevron-down", icon: this.selectIcon ?? 'chevron-down' }))), !this.disabled && (hAsync("xpl-dropdown", { key: '6fb8d97e175894715a6dbc6ed17bc5b15829ed13', ref: (el) => {
|
|
29205
29239
|
this.dropdown = el ?? null;
|
|
29206
29240
|
}, isOpen: this.dropdownOpenState, options: this.choicesState, selectedValues: this.selectedValues, mode: this.mode, triggerId: this.id, update: (_e, { component }) => {
|
|
29207
29241
|
const { options } = component;
|
|
@@ -29210,7 +29244,7 @@ class Select {
|
|
|
29210
29244
|
}
|
|
29211
29245
|
}, onIsOpenChange: (e) => {
|
|
29212
29246
|
this.dropdownOpenState = e.detail;
|
|
29213
|
-
}, onWheel: this.handleDropdownScroll, anchorToTrigger: true, flipFallbackPlacements: this.dropdownFlipFallbackPlacements, placement: this.dropdownPlacement })), this.renderError()), hAsync("input", { key: '
|
|
29247
|
+
}, onWheel: this.handleDropdownScroll, anchorToTrigger: true, flipFallbackPlacements: this.dropdownFlipFallbackPlacements, placement: this.dropdownPlacement })), this.renderError()), hAsync("input", { key: '734ef739b61de3320ce777994853cb90ab8271d2', type: "hidden", name: this.name, value: this.value })));
|
|
29214
29248
|
}
|
|
29215
29249
|
static get watchers() { return {
|
|
29216
29250
|
"choices": [{
|
|
@@ -29510,16 +29544,20 @@ class SideNav {
|
|
|
29510
29544
|
}
|
|
29511
29545
|
return node.parentElement === this.el || node.closest('.xpl-side-nav__header') !== null;
|
|
29512
29546
|
};
|
|
29513
|
-
const
|
|
29547
|
+
const headerNodes = Array.from(this.el.querySelectorAll('[slot="nav-header"]')).filter(projectsToHeader);
|
|
29548
|
+
const next = headerNodes.length > 0;
|
|
29514
29549
|
if (next !== this.hasHeaderSlot) {
|
|
29515
29550
|
this.hasHeaderSlot = next;
|
|
29551
|
+
return;
|
|
29516
29552
|
}
|
|
29553
|
+
if (next && headerNodes.some((node) => node.parentElement === this.el))
|
|
29554
|
+
;
|
|
29517
29555
|
}
|
|
29518
29556
|
render() {
|
|
29519
|
-
return (hAsync(Host, { key: '
|
|
29557
|
+
return (hAsync(Host, { key: '9d8ca908a77dd47e5789708ebb87e0e76ac5a22e', class: {
|
|
29520
29558
|
'xpl-side-nav': true,
|
|
29521
29559
|
'xpl-side-nav--open': this.open,
|
|
29522
|
-
} }, hAsync("xpl-button", { key: '
|
|
29560
|
+
} }, hAsync("xpl-button", { key: 'eab3df496e7ec249b78f76e9250361b1dccc3cd6', class: "xpl-side-nav__toggle", variant: "tertiary", iconOnly: true, icon: this.open ? 'sidebar-left-hide' : 'sidebar-left-show', "aria-expanded": this.open ? 'true' : 'false', "aria-label": this.open ? 'Close navigation menu' : 'Open navigation menu', onClick: this.onToggleClick }), hAsync("div", { key: '4f46792c09ff5c98ae87f27bfb3050c74b847c3f', class: "xpl-side-nav__wrapper" }, hAsync("nav", { key: '55a34c0ba7498f7ad531b519d5d9e6f6a225cfc9', class: "xpl-side-nav__content", "aria-label": this.label }, hAsync("div", { key: '8ff330aef09d3ae1624f8752efbff3a2720e55c5', class: "xpl-side-nav__scroll-area" }, this.hasHeaderSlot && (hAsync("div", { key: '19c0235f1b45454cbe8fd9403351cfabebc5f539', class: "xpl-side-nav__header" }, hAsync("slot", { key: '77a3a18b401714a746c8d8f0d2457e9a949068ca', name: "nav-header" }))), hAsync("div", { key: '8a7c00b508d238f0043dc5dfc6c141d7255967bd', class: "xpl-side-nav__section" }, hAsync("slot", { key: 'b4b11bf6937840704cb9d40483e6b19014bd5236', name: "section" }))), hAsync("div", { key: '766bcd4652c5c680975a3c61c4b2fe4759351a4e', class: "xpl-side-nav__footer" }, hAsync("slot", { key: '04acabfdb7f27e8ed6b6569001493f985f344a1e', name: "nav-footer" })))), hAsync("xpl-backdrop", { key: '9e0c074fbb705e7b665672c79ed85e62e28d2e95', class: "xpl-side-nav__backdrop", onClick: this.onBackdropClick })));
|
|
29523
29561
|
}
|
|
29524
29562
|
get el() { return getElement(this); }
|
|
29525
29563
|
static get watchers() { return {
|
|
@@ -29628,8 +29666,8 @@ class SideNavHeaderItem {
|
|
|
29628
29666
|
const showTrailing = this.hasTrailingSlot || showAutoChevron;
|
|
29629
29667
|
const leading = showLeading ? (hAsync("span", { class: "xpl-side-nav-header-item__leading" }, hAsync("slot", { name: "leading" }, this.icon ? hAsync("xpl-icon", { icon: this.icon, size: 16 }) : null))) : null;
|
|
29630
29668
|
const trailing = showTrailing ? (hAsync("span", { class: "xpl-side-nav-header-item__trailing", "aria-hidden": showAutoChevron ? 'true' : undefined }, hAsync("slot", { name: "trailing" }, showAutoChevron ? (hAsync("xpl-icon", { icon: "chevron-expand-y", size: 16 })) : null))) : null;
|
|
29631
|
-
const content = (hAsync("span", { key: '
|
|
29632
|
-
return (hAsync(Host, { key: '
|
|
29669
|
+
const content = (hAsync("span", { key: 'ff3b2d318760011f01eb6fc3f2a7aefb8e4ff216', class: "xpl-side-nav-header-item__content" }, leading, hAsync("span", { key: '8675686f88cba081281fa76ffcbd9b1b9f121cac', class: "xpl-side-nav-header-item__label" }, this.label ?? ''), trailing));
|
|
29670
|
+
return (hAsync(Host, { key: '1a35eb9ef7530a17b3adc06ebe8b06dc1adc6fa9', class: {
|
|
29633
29671
|
'xpl-side-nav-header-item': true,
|
|
29634
29672
|
'xpl-side-nav-header-item--product-label': !isSubAccount,
|
|
29635
29673
|
'xpl-side-nav-header-item--sub-account': isSubAccount,
|
|
@@ -29794,14 +29832,14 @@ class SideNavItem {
|
|
|
29794
29832
|
expanded: this.expanded,
|
|
29795
29833
|
selected: this.selected,
|
|
29796
29834
|
};
|
|
29797
|
-
return (hAsync(Host, { key: '
|
|
29835
|
+
return (hAsync(Host, { key: '33de33212fc2c0fe5ed3ae6cd8aba38178052a03', class: {
|
|
29798
29836
|
'xpl-side-nav-item': true,
|
|
29799
29837
|
'xpl-side-nav-item--link-disabled': this.link && this.disabled,
|
|
29800
29838
|
} }, this.link ? (hAsync("slot", null)) : (hAsync("button", { type: "button", class: buttonClass, "aria-current": this.selected ? 'page' : undefined, "aria-expanded": this.hasChildren ? (this.expanded ? 'true' : 'false') : undefined, onClick: this.handleClick, disabled: this.disabled }, hAsync("span", { class: "xpl-side-nav-item__leading" }, hAsync("slot", { name: "leading" }, this.icon ? (hAsync("xpl-icon", { icon: this.icon, size: 16 })) : null)), hAsync("span", { class: "xpl-side-nav-item__label" }, this.label ?? ''), (this.hasTrailingSlot || this.hasChildren) && (hAsync("span", { class: {
|
|
29801
29839
|
'xpl-side-nav-item__trailing': true,
|
|
29802
29840
|
'xpl-side-nav-item__trailing--chevron': showAutoChevron,
|
|
29803
29841
|
expanded: showAutoChevron && this.expanded,
|
|
29804
|
-
}, "aria-hidden": showAutoChevron ? 'true' : undefined }, hAsync("slot", { name: "trailing" }, showAutoChevron ? (hAsync("xpl-icon", { icon: this.expanded ? 'chevron-up' : 'chevron-down', size: 16 })) : null))))), this.hasChildren && !this.link && (hAsync("div", { key: '
|
|
29842
|
+
}, "aria-hidden": showAutoChevron ? 'true' : undefined }, hAsync("slot", { name: "trailing" }, showAutoChevron ? (hAsync("xpl-icon", { icon: this.expanded ? 'chevron-up' : 'chevron-down', size: 16 })) : null))))), this.hasChildren && !this.link && (hAsync("div", { key: 'd9e6ea08b992177a943eb43e64702deee74a95d8', class: `xpl-side-nav-item__children ${this.expanded ? 'expanded' : ''}`, inert: !this.expanded ? true : undefined }, hAsync("div", { key: '7a5709e3c20d569fbc7ab1425280096dc21cb40f', class: "xpl-side-nav-item__children-inner" }, hAsync("slot", { key: '883d0336ad81eb78b52dab740440191e57f92618' }))))));
|
|
29805
29843
|
}
|
|
29806
29844
|
get el() { return getElement(this); }
|
|
29807
29845
|
static get watchers() { return {
|
|
@@ -29916,17 +29954,17 @@ class SideNavSection {
|
|
|
29916
29954
|
const hasHeading = !!this.heading?.trim();
|
|
29917
29955
|
const childrenId = this.childrenId ?? ensureSideNavSectionChildrenId(this.el, this.childrenId);
|
|
29918
29956
|
const titleRow = [
|
|
29919
|
-
hAsync("span", { key: '
|
|
29920
|
-
hAsync("span", { key: '
|
|
29957
|
+
hAsync("span", { key: 'c3a19938fa87b21552b5fdff800baf2ee97c186c', class: "xpl-side-nav-section__title" }, this.heading ?? ''),
|
|
29958
|
+
hAsync("span", { key: '9303238b226f336cbf0527ef91c2c5d8bce7771c', class: "xpl-side-nav-section__badge", hidden: !this.hasBadgeSlot }, hAsync("slot", { key: '40921f618390e462b0ac69adc0206acd82b884ca', name: "badge" })),
|
|
29921
29959
|
this.collapsible ? (hAsync("span", { class: "xpl-side-nav-section__chevron", "aria-hidden": "true" }, hAsync("xpl-icon", { icon: this.expanded ? 'chevron-down' : 'chevron-right', size: 16 }))) : null,
|
|
29922
29960
|
];
|
|
29923
|
-
return (hAsync(Host, { key: '
|
|
29961
|
+
return (hAsync(Host, { key: 'fae9c5e2d179a174aae5114a21a442fa787269ad', class: {
|
|
29924
29962
|
'xpl-side-nav-section': true,
|
|
29925
29963
|
'xpl-side-nav-section--static': !this.collapsible,
|
|
29926
|
-
} }, this.collapsible ? (hAsync("button", { type: "button", class: "xpl-side-nav-section__header", "aria-expanded": this.expanded ? 'true' : 'false', "aria-controls": childrenId, "aria-label": hasHeading || this.hasNamedBadgeSlot ? undefined : 'Toggle section', onClick: this.handleHeaderClick }, titleRow)) : (hAsync("div", { class: "xpl-side-nav-section__header" }, titleRow)), hAsync("div", { key: '
|
|
29964
|
+
} }, this.collapsible ? (hAsync("button", { type: "button", class: "xpl-side-nav-section__header", "aria-expanded": this.expanded ? 'true' : 'false', "aria-controls": childrenId, "aria-label": hasHeading || this.hasNamedBadgeSlot ? undefined : 'Toggle section', onClick: this.handleHeaderClick }, titleRow)) : (hAsync("div", { class: "xpl-side-nav-section__header" }, titleRow)), hAsync("div", { key: 'c33a5478f2c226b915fddf006802312eb7de29e9', id: childrenId, class: {
|
|
29927
29965
|
'xpl-side-nav-section__children': true,
|
|
29928
29966
|
expanded: showChildren,
|
|
29929
|
-
}, inert: !showChildren ? true : undefined }, hAsync("div", { key: '
|
|
29967
|
+
}, inert: !showChildren ? true : undefined }, hAsync("div", { key: 'ed7de4040c1e5677ad3b74eb65fc4f6357bab3b6', class: "xpl-side-nav-section__children-inner" }, hAsync("slot", { key: '3f8434e92bb7fcdd7c8a825481a12ef24ba1da28' })))));
|
|
29930
29968
|
}
|
|
29931
29969
|
get el() { return getElement(this); }
|
|
29932
29970
|
static get cmpMeta() { return {
|
|
@@ -29952,7 +29990,7 @@ class Skeleton {
|
|
|
29952
29990
|
this.size = 'custom';
|
|
29953
29991
|
}
|
|
29954
29992
|
render() {
|
|
29955
|
-
return (hAsync(Host, { key: '
|
|
29993
|
+
return (hAsync(Host, { key: '4c8f4f0e0742c67f965d04aed382259cd120d922', class: {
|
|
29956
29994
|
'xpl-skeleton': true,
|
|
29957
29995
|
[`xpl-skeleton--shape-${this.shape}`]: true,
|
|
29958
29996
|
[`xpl-skeleton--size-${this.size}`]: true,
|
|
@@ -30014,7 +30052,7 @@ class Slideout {
|
|
|
30014
30052
|
this.handleScroll();
|
|
30015
30053
|
}
|
|
30016
30054
|
render() {
|
|
30017
|
-
return (hAsync(Host, { key: '
|
|
30055
|
+
return (hAsync(Host, { key: '0031856dad46059b22c544b17d9c3c486fad49ef', class: "xpl-slideout" }, this.backdrop && this.isOpen && (hAsync("xpl-backdrop", { key: '476ebe60d3761a12edce8a70b79c5458a3a49b88', onClick: this.handleClose })), hAsync("aside", { key: 'e093e4f88719d109e1b76e5843fa799adf77023a', class: `slideout slideout--${!this.isOpen && 'closed'}` }, hAsync("header", { key: '861ce3bafb6f104cd088788e86d5dec891d34559', class: "header" }, hAsync("div", { key: 'f4a9a82d62a118acf4847ae32f6699755103cdeb', class: "title" }, hAsync("slot", { key: '142fabb21a5894d0e505b3555b1de49a3457f01a', name: "title" }), hAsync("xpl-button", { key: 'b5424c903db35139aca7070a223c3e8ccad0286d', class: "close-button", "icon-only": true, size: "sm", variant: "tertiary", onClick: this.handleClose }, hAsync("xpl-icon", { key: 'a7597b061ba78ec8877f4ca119ddfe4fb6f07057', icon: "xmark" }))), hAsync("div", { key: 'fbd6496bcd1854cbbe584a62a27621cc6c730472', class: "subtitle" }, hAsync("slot", { key: 'a9a059571945b74f064d1b4c6a672a7964ff20d7', name: "subtitle" })), hAsync("div", { key: '575d405c99e6a0ded114d274832d7c9a119f8acd', class: "search" }, hAsync("slot", { key: '6db25fde2a6decdfe2f280aae9f784b1e992d070', name: "search" }))), hAsync("xpl-divider", { key: 'dd382afb3181fbad00b1efacd438842c23249978', tier: 0, class: "divider top" }), hAsync("article", { key: 'a8832b326372ede5872d2004308f8dff30955e1a', class: "content", tabIndex: 0 }, hAsync("slot", { key: 'e46c7df8ebc6caecbc82117dd7b5097377dcf163', name: "content" })), this.showFooter && (hAsync("footer", { key: '41e237ffa63f9dfc50ca1792848f4087375edecc' }, hAsync("xpl-divider", { key: '888ece8b783152856696cf792c1db7abedd393fa', tier: 0, class: "divider bottom" }), hAsync("div", { key: '4ee6dcf7cb794ca32c3e0095b9d3ffdda2578870', class: "footer" }, hAsync("slot", { key: '286ecc097c88e7b6655fb27f707cb6163e49374b', name: "tertiary" }), hAsync("slot", { key: '9154a9de3de154cb8f228a00875d81b4c8d1899a', name: "secondary" }), hAsync("slot", { key: 'c510b271b930b8419b8ed26e4a9ce444453f9330', name: "primary" })))))));
|
|
30018
30056
|
}
|
|
30019
30057
|
get el() { return getElement(this); }
|
|
30020
30058
|
static get watchers() { return {
|
|
@@ -30917,10 +30955,10 @@ class TabPanel {
|
|
|
30917
30955
|
const t = this.target ?? '';
|
|
30918
30956
|
const panelId = tabPanelDomId(groupId, t);
|
|
30919
30957
|
const labelledBy = tabTriggerId(groupId, t);
|
|
30920
|
-
return (hAsync(Host, { key: '
|
|
30958
|
+
return (hAsync(Host, { key: 'b92d723fe68be63d6438fab8ae8f93a06122c29a', "aria-labelledby": labelledBy, class: {
|
|
30921
30959
|
'xpl-tab-panel': true,
|
|
30922
30960
|
'xpl-tab-panel--selected': this.selected,
|
|
30923
|
-
}, id: panelId, role: "tabpanel" }, hAsync("slot", { key: '
|
|
30961
|
+
}, id: panelId, role: "tabpanel" }, hAsync("slot", { key: 'e18aeb92b7082c0c2e809396570b43ac41c34f87' })));
|
|
30924
30962
|
}
|
|
30925
30963
|
get el() { return getElement(this); }
|
|
30926
30964
|
static get cmpMeta() { return {
|
|
@@ -31085,24 +31123,24 @@ class Table {
|
|
|
31085
31123
|
}
|
|
31086
31124
|
render() {
|
|
31087
31125
|
const rowFooterData = this.footer !== undefined ? Array.from(this.footer) : [];
|
|
31088
|
-
return (hAsync(Host, { key: '
|
|
31126
|
+
return (hAsync(Host, { key: '1e6bf436320a44e1e22e8590a881bc90c4a091d5' }, hAsync("div", { key: '3d2e5361fbe615a6ae8ebe916ce07e00f82c444c', class: "xpl-table-container", onScroll: this.onScroll, ref: (el) => {
|
|
31089
31127
|
if (el)
|
|
31090
31128
|
this.container = el;
|
|
31091
|
-
} }, hAsync("table", { key: '
|
|
31129
|
+
} }, hAsync("table", { key: '036672b3ba45a90a42f906c155ce3d59e33c8a7a', class: {
|
|
31092
31130
|
'xpl-table': true,
|
|
31093
31131
|
'xpl-table--striped': !!this.striped,
|
|
31094
31132
|
'xpl-table--freeze': !!this.freeze,
|
|
31095
31133
|
'xpl-table--has-scrolled': this.hasScrolled,
|
|
31096
|
-
} }, this.columns && (hAsync("thead", { key: '
|
|
31134
|
+
} }, this.columns && (hAsync("thead", { key: 'bf0d5a808624234ba985c1c32064f1dab11bfefa' }, this.columns.map((column, i) => {
|
|
31097
31135
|
const iconType = getIconType(this.sortTypeArray?.[i]);
|
|
31098
31136
|
const isColumnSortable = !!(this.isSortable && this.sortableColumns[i]);
|
|
31099
31137
|
return (hAsync("th", null, hAsync("label", { onClick: (e) => this.handleSort(e, isColumnSortable, i, column.replace(/ /g, '-').toLowerCase()), class: isColumnSortable ? 'cursor-pointer' : '' }, this.multiselect && i === 0 && (hAsync("xpl-checkbox", { checked: this.areAllSelected, indeterminate: !this.areAllSelected &&
|
|
31100
31138
|
this.selected.some((a) => a), onClick: (e) => e.stopPropagation(), onCheckboxChange: (e) => this.selectAll(e), value: this.selectAllValue, "aria-label": "Select all rows" })), column, isColumnSortable && !!this.sortTypeArray[i] && (hAsync("xpl-icon", { icon: iconType, size: 16 })))));
|
|
31101
|
-
}))), hAsync("tbody", { key: '
|
|
31139
|
+
}))), hAsync("tbody", { key: '7915dbfbf1a9b68719c4168e09c5f0e3ab7fa35a' }, this.rowData.map((row, rowNum) => (hAsync("tr", { class: this.selected && this.selected[rowNum]
|
|
31102
31140
|
? 'xpl-table-row-selected'
|
|
31103
31141
|
: '' }, row.map((cell, i) => (hAsync("td", null, this.multiselect && i === 0 ? (hAsync("label", null, hAsync("xpl-checkbox", { checked: !!this.selected[rowNum], onCheckboxChange: (e) => this.selectOne(e, rowNum), value: this.selectedValues.length > 0
|
|
31104
31142
|
? this.selectedValues[rowNum]
|
|
31105
|
-
: `xpl-table-checkbox-${rowNum}`, "aria-label": `Select row ${rowNum + 1}` }), hAsync("div", { innerHTML: cell }))) : (hAsync("div", { innerHTML: cell }))))))))), rowFooterData.length > 0 && (hAsync("tfoot", { key: '
|
|
31143
|
+
: `xpl-table-checkbox-${rowNum}`, "aria-label": `Select row ${rowNum + 1}` }), hAsync("div", { innerHTML: cell }))) : (hAsync("div", { innerHTML: cell }))))))))), rowFooterData.length > 0 && (hAsync("tfoot", { key: '78ee72f80c77e61c6234be9500770780952ca669' }, rowFooterData.map((row) => (hAsync("tr", null, row.map((cell) => (hAsync("td", null, hAsync("div", { innerHTML: cell })))))))))))));
|
|
31106
31144
|
}
|
|
31107
31145
|
get el() { return getElement(this); }
|
|
31108
31146
|
static get watchers() { return {
|
|
@@ -31144,7 +31182,7 @@ class TableHeader {
|
|
|
31144
31182
|
registerInstance(this, hostRef);
|
|
31145
31183
|
}
|
|
31146
31184
|
render() {
|
|
31147
|
-
return (hAsync(Host, { key: '
|
|
31185
|
+
return (hAsync(Host, { key: '94e6c6f38fa4672ef3c728bf196946801da855d4', role: "row", class: "xpl-table-header" }, hAsync("slot", { key: 'fa41686f082c65d27555273945f734a36c670869' })));
|
|
31148
31186
|
}
|
|
31149
31187
|
static get cmpMeta() { return {
|
|
31150
31188
|
"$flags$": 260,
|
|
@@ -31549,11 +31587,11 @@ class Tabs {
|
|
|
31549
31587
|
}
|
|
31550
31588
|
render() {
|
|
31551
31589
|
const isSegment = this.type === 'segment';
|
|
31552
|
-
return (hAsync(Host, { key: '
|
|
31590
|
+
return (hAsync(Host, { key: '74e82ed3665bf7d8337d16f6253c2ae79d421473', class: {
|
|
31553
31591
|
'xpl-tabs': true,
|
|
31554
31592
|
'xpl-tabs--full-width': this.fullWidth,
|
|
31555
31593
|
'xpl-tabs--segment': isSegment,
|
|
31556
|
-
}, "data-choices-tick": this.choicesTick }, hAsync("xpl-select", { key: '
|
|
31594
|
+
}, "data-choices-tick": this.choicesTick }, hAsync("xpl-select", { key: '8b706667897c20145cdd528b692affb0db7f7ebc', classNames: this.mobileSelectClassNames(), choices: this.renderChoices(), disabled: this.disabled, selectedValues: this.selectedValue, onDropdownStateChange: (event) => {
|
|
31557
31595
|
if (event.detail) {
|
|
31558
31596
|
this.isMobileSelectChange = true;
|
|
31559
31597
|
}
|
|
@@ -31564,17 +31602,17 @@ class Tabs {
|
|
|
31564
31602
|
this.tabChange.emit(selectedValue);
|
|
31565
31603
|
this.isMobileSelectChange = false;
|
|
31566
31604
|
}
|
|
31567
|
-
} }), hAsync("nav", { key: '
|
|
31605
|
+
} }), hAsync("nav", { key: 'd23f6edc5da0525e4c8fc10aa30af64986fdda36', "aria-orientation": "horizontal", class: "xpl-tabs__headings", role: "tablist", ref: (el) => {
|
|
31568
31606
|
this.headingsContainerRef = el;
|
|
31569
31607
|
}, onTabChange: (event) => {
|
|
31570
31608
|
event.stopPropagation();
|
|
31571
31609
|
this.isMobileSelectChange = false;
|
|
31572
31610
|
this.handleTabChange(event.detail);
|
|
31573
31611
|
this.tabChange.emit(event.detail);
|
|
31574
|
-
} }, !isSegment && (hAsync("div", { key: '
|
|
31612
|
+
} }, !isSegment && (hAsync("div", { key: 'd2d080ffc049a408f2d93f3ce3bc694c0954ece3', class: "xpl-tabs__active-bar", style: {
|
|
31575
31613
|
transform: `translateX(${this.activeBarPosition.left}px)`,
|
|
31576
31614
|
width: `${this.activeBarPosition.width}px`,
|
|
31577
|
-
} })), hAsync("slot", { key: '
|
|
31615
|
+
} })), hAsync("slot", { key: '8c4b1403048b0eba5125abfc22494641aaf955cf', name: "heading" })), hAsync("div", { key: '54a04bd883f364457cdf5922cad8ac2b42eceb61', class: "xpl-tabs__panels" }, hAsync("slot", { key: '2b51ebd00605dfbd76c6018d74f63f954016a025', name: "panel" }))));
|
|
31578
31616
|
}
|
|
31579
31617
|
get el() { return getElement(this); }
|
|
31580
31618
|
static get watchers() { return {
|
|
@@ -31735,7 +31773,7 @@ class Tag {
|
|
|
31735
31773
|
}
|
|
31736
31774
|
render() {
|
|
31737
31775
|
const dragEnabled = this.isDraggable && !this.disabled;
|
|
31738
|
-
return (hAsync(Host, { key: '
|
|
31776
|
+
return (hAsync(Host, { key: '4129a867a9581efc82985d11549810860a2c6f87', class: {
|
|
31739
31777
|
'xpl-tag': true,
|
|
31740
31778
|
'xpl-tag-container': true,
|
|
31741
31779
|
'xpl-tag--disabled': this.disabled,
|
|
@@ -31743,7 +31781,7 @@ class Tag {
|
|
|
31743
31781
|
'xpl-tag--dragging': this.isDragging,
|
|
31744
31782
|
'xpl-tag--draggable': dragEnabled,
|
|
31745
31783
|
'xpl-tag--sm': this.size === 'sm',
|
|
31746
|
-
}, onDragOver: dragEnabled ? this.handleDragOver : undefined, onDragEnter: dragEnabled ? this.handleDragEnter : undefined, onDragStart: this.isDraggable ? this.handleHostDragStart : undefined }, dragEnabled ? (hAsync("div", { class: "xpl-tag__content xpl-tag", role: "button", tabIndex: 0, draggable: true, "aria-grabbed": String(this.isDragging), onClick: this.handleTagClick, onKeyDown: this.handleContentKeyDown, onDragStart: this.handleDragStart, onDragEnd: this.handleDragEnd }, hAsync("slot", null))) : (hAsync("button", { class: "xpl-tag__content xpl-tag", type: "button", disabled: this.disabled, onClick: this.handleTagClick }, hAsync("slot", null))), this.dismissible && (hAsync("button", { key: '
|
|
31784
|
+
}, onDragOver: dragEnabled ? this.handleDragOver : undefined, onDragEnter: dragEnabled ? this.handleDragEnter : undefined, onDragStart: this.isDraggable ? this.handleHostDragStart : undefined }, dragEnabled ? (hAsync("div", { class: "xpl-tag__content xpl-tag", role: "button", tabIndex: 0, draggable: true, "aria-grabbed": String(this.isDragging), onClick: this.handleTagClick, onKeyDown: this.handleContentKeyDown, onDragStart: this.handleDragStart, onDragEnd: this.handleDragEnd }, hAsync("slot", null))) : (hAsync("button", { class: "xpl-tag__content xpl-tag", type: "button", disabled: this.disabled, onClick: this.handleTagClick }, hAsync("slot", null))), this.dismissible && (hAsync("button", { key: 'fb10e5fe87053ff4c00f584d887e1f5c29b2dc74', class: "xpl-tag__dismiss xpl-tag__close", type: "button", draggable: false, disabled: this.disabled, "aria-label": `Dismiss ${this.dismissAriaLabelSuffix}`, onClick: this.handleDismissClick }, hAsync("xpl-icon", { key: 'e8afb0b6fbf1a942cce78cf6a26b420445094f30', icon: "xmark", size: 10 })))));
|
|
31747
31785
|
}
|
|
31748
31786
|
get el() { return getElement(this); }
|
|
31749
31787
|
static get watchers() { return {
|
|
@@ -31841,11 +31879,11 @@ class Toast {
|
|
|
31841
31879
|
}
|
|
31842
31880
|
}
|
|
31843
31881
|
render() {
|
|
31844
|
-
return (hAsync(Host, { key: '
|
|
31882
|
+
return (hAsync(Host, { key: '8628e33a84d0ca36d5b99c791cf7860cadae6fb8', class: `xpl-toast xpl-toast--${this.variant}`, onAnimationEnd: this.handleAnimationEnd }, hAsync("div", { key: 'd1ea50362731f7cef97152eac2962f4d4084c514', class: "xpl-toast__left" }, this.showIcon && (hAsync("div", { key: '7eab4f78d0f8a2f5af12eeb1d74b14c300914841', class: `xpl-toast__icon xpl-toast__icon--${this.variant}` }, this.getIcon())), hAsync("div", { key: '335be6f702b7300498d2960cb7184fe1fec059b4', class: "xpl-toast__notification" }, hAsync("p", { key: '1178d039190352d0482ae7486711ab2adfd2cc8f', class: "xpl-toast__title" }, hAsync("slot", { key: '75a98536db36c7a140b3d908cbd8f3d2e201ca81', name: "title" })), this.caption !== '' && (hAsync("p", { key: '009bba836fe9abbf34edf4618dd172961e9440fa', class: "xpl-toast__caption" }, this.caption?.substring(0, 85))))), hAsync("div", { key: '4f47e498ea0c7627d9041a7a2e898fcecff9f59c', class: "xpl-toast__action", ref: (el) => {
|
|
31845
31883
|
if (el) {
|
|
31846
31884
|
this.actionSlot = el;
|
|
31847
31885
|
}
|
|
31848
|
-
} }, hAsync("slot", { key: '
|
|
31886
|
+
} }, hAsync("slot", { key: '6ad3199d265b1298ea8200ba53690dcc92bdbf92', name: "action" })), this.isDismissible && (hAsync("div", { key: 'b1a1a790a592f5e4c7573c819b0c997a210bd68a', class: "xpl-toast__close" }, hAsync("xpl-button", { key: '2d9ad71fc8f8233f2fc12453ca8268fd5f1d8f74', variant: "tertiary", size: "sm", iconOnly: true, icon: "xmark", type: "button", "aria-label": "Dismiss notification", onClick: this.dismiss })))));
|
|
31849
31887
|
}
|
|
31850
31888
|
get el() { return getElement(this); }
|
|
31851
31889
|
static get watchers() { return {
|
|
@@ -31891,13 +31929,13 @@ class Toggle {
|
|
|
31891
31929
|
let className = 'xpl-toggle';
|
|
31892
31930
|
if (this.variant === 'small')
|
|
31893
31931
|
className += ' xpl-toggle--small';
|
|
31894
|
-
return (hAsync(Host, { key: '
|
|
31932
|
+
return (hAsync(Host, { key: '20b5e00613ac0f2567224d3ff2bcd7b7f761a8fc', class: containerClassName }, (this.heading || this.description) && (hAsync("label", { key: 'a41dfe6403c629ef05792ba8dc7f0632fca9ca37', class: {
|
|
31895
31933
|
'xpl-label': true,
|
|
31896
31934
|
'xpl-label--disabled': !!this.disabled,
|
|
31897
|
-
}, htmlFor: this.id }, this.heading, this.description && (hAsync("small", { key: '
|
|
31935
|
+
}, htmlFor: this.id }, this.heading, this.description && (hAsync("small", { key: 'b0e1d30a0f5b358a7f588d3f8f0bc32f440b69df', class: {
|
|
31898
31936
|
'xpl-description': true,
|
|
31899
31937
|
'xpl-description--disabled': !!this.disabled,
|
|
31900
|
-
} }, this.description)))), hAsync("input", { key: '
|
|
31938
|
+
} }, this.description)))), hAsync("input", { key: 'a59406c7cccf8a43349841bb060496ce0832823f', class: className, type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name, onChange: this.onChange }), this.label && hAsync("label", { key: '276ce3ec937627fd9d21f2b3771d9c779c5f91f1', htmlFor: this.id }, this.label)));
|
|
31901
31939
|
}
|
|
31902
31940
|
static get cmpMeta() { return {
|
|
31903
31941
|
"$flags$": 0,
|
|
@@ -31932,11 +31970,11 @@ class Toolbar {
|
|
|
31932
31970
|
this.selectedItemCount = event.detail.length;
|
|
31933
31971
|
}
|
|
31934
31972
|
render() {
|
|
31935
|
-
return (hAsync(Host, { key: '
|
|
31973
|
+
return (hAsync(Host, { key: 'd834b3f68a399f33c02e2a7d85623d9fbe2a21e2', class: {
|
|
31936
31974
|
'xpl-toolbar': true,
|
|
31937
31975
|
dark: true,
|
|
31938
31976
|
hidden: this.selectedItemCount === 0,
|
|
31939
|
-
} }, hAsync("div", { key: '
|
|
31977
|
+
} }, hAsync("div", { key: '54c4638e003685ade49f243f688e3ff5997f8759', class: "toolbar" }, hAsync("p", { key: '92815a7d1b10582742906aefa0ee9ef81311c459', class: "selected-item-count" }, this.selectedItemCount, " Selected"), hAsync("div", { key: 'dc1b9ee686a57bd7bca45785f90586751770f556', class: "actions" }, hAsync("slot", { key: '2cc26af5467e9ad44962bd1ac65f0b1087f86f7f', name: "actions-left" }), hAsync("slot", { key: 'f5f46662191f52c79f81ffd1ce47a492041c10ad', name: "actions-right" })))));
|
|
31940
31978
|
}
|
|
31941
31979
|
get el() { return getElement(this); }
|
|
31942
31980
|
static get cmpMeta() { return {
|
|
@@ -31960,7 +31998,7 @@ class Tooltip {
|
|
|
31960
31998
|
this.hideArrow = false;
|
|
31961
31999
|
}
|
|
31962
32000
|
render() {
|
|
31963
|
-
return (hAsync(Host, { key: '
|
|
32001
|
+
return (hAsync(Host, { key: '834ba80f410bd7ed079b674b6f1d110235aaf826' }, hAsync("div", { key: 'e45a7048339ce835ecabf5ef832a5ef2df6ded70', class: "xpl-tooltip-container" }, hAsync("slot", { key: 'f56272df982aa6dc72ba2bf9776017235223de95' }), hAsync("div", { key: 'c5b1054301d08e1b83da61b565f0116f83f395c7', class: `xpl-tooltip xpl-tooltip--${this.position}` }, this.text, !this.hideArrow && (hAsync("div", { key: 'e6a833629cf409644969d9c4da461a2016f2986b', class: "xpl-tooltip-arrow" }, hAsync(TooltipArrow, { key: '7a5893a25978635864ada200aea48660ca90d33c' })))))));
|
|
31964
32002
|
}
|
|
31965
32003
|
static get cmpMeta() { return {
|
|
31966
32004
|
"$flags$": 260,
|
|
@@ -32281,7 +32319,7 @@ class TopNav {
|
|
|
32281
32319
|
}
|
|
32282
32320
|
}
|
|
32283
32321
|
render() {
|
|
32284
|
-
return (hAsync(Host, { key: '
|
|
32322
|
+
return (hAsync(Host, { key: '00d598070bc4cee97d311206f48bf5cd873dcc8e', class: {
|
|
32285
32323
|
'xpl-top-nav': true,
|
|
32286
32324
|
'xpl-top-nav--nav-control': Boolean(this.navControl),
|
|
32287
32325
|
'xpl-top-nav--open': this.open,
|
|
@@ -32289,15 +32327,15 @@ class TopNav {
|
|
|
32289
32327
|
'xpl-top-nav--has-brand': this.hasBrand,
|
|
32290
32328
|
'xpl-top-nav--has-user-menu': this.hasUserMenu,
|
|
32291
32329
|
dark: true,
|
|
32292
|
-
} }, hAsync("nav", { key: '
|
|
32330
|
+
} }, hAsync("nav", { key: '0b42d835c3aa211fa1686d3611ace212d69f1921', "aria-label": this.label ?? 'top-navigation-bar', class: "xpl-top-nav__bar" }, hAsync("div", { key: 'b55f526eca470d1d50b19bf1694f66991d369ad7', class: "xpl-top-nav__inner-left" }, this.navControl && (hAsync("button", { key: '37589314adb7f9cc4a33dd4bc421b2473ece5b54', type: "button", class: "xpl-top-nav__nav-control", "aria-expanded": this.open ? 'true' : 'false', "aria-label": this.open ? 'Close navigation menu' : 'Open navigation menu', onClick: this.onNavToggle }, hAsync("xpl-icon", { key: 'acbdd20739df23cf49ff6542605513159cffe1da', class: "xpl-top-nav__control-icon", icon: "menu", size: 32 }))), this.hasBrand && (hAsync("div", { key: '148ba3e7114ce3f1edbf0618a231d94c4cc3c04f', class: "xpl-top-nav__brand-bar" }, hAsync("xpl-top-nav-item", { key: 'cda2c5f5dca554b7b61d95b941bd0b969f871dd0', class: "xpl-top-nav__brand", href: this.brandHref, onNavItemClick: this.onBrandNavItemClick }, this.brandLogo?.trim() ? (hAsync("img", { class: "xpl-top-nav__brand-logo", src: this.brandLogo, alt: this.brandName?.trim()
|
|
32293
32331
|
? this.brandName.trim()
|
|
32294
|
-
: 'Brand' })) : this.brandLogoSlotPresent ? (hAsync("span", { class: "xpl-top-nav__brand-logo-slot" }, hAsync("slot", { name: "brand-logo" }))) : null, this.brandName?.trim() ? (hAsync("span", { class: "xpl-top-nav__brand-name" }, this.brandName.trim())) : null))), hAsync("div", { key: '
|
|
32332
|
+
: 'Brand' })) : this.brandLogoSlotPresent ? (hAsync("span", { class: "xpl-top-nav__brand-logo-slot" }, hAsync("slot", { name: "brand-logo" }))) : null, this.brandName?.trim() ? (hAsync("span", { class: "xpl-top-nav__brand-name" }, this.brandName.trim())) : null))), hAsync("div", { key: 'abca8522fe239fe207a291d7bd8bdfd1cab0ffc3', class: {
|
|
32295
32333
|
'xpl-top-nav__aside': true,
|
|
32296
32334
|
'xpl-nav-left': true,
|
|
32297
|
-
} }, hAsync("div", { key: '
|
|
32335
|
+
} }, hAsync("div", { key: 'f2fde6503e8bc319fbd60a4d5000d93644999d9a', class: "xpl-top-nav__left-primary", role: "list" }, hAsync("slot", { key: 'ebbb61cf32cf5b0246cecc3d967f93f1834b9e11', name: "left-aside" })))), hAsync("div", { key: '18c8d5990551ee655190aabb8ee85ad8d772b54e', class: {
|
|
32298
32336
|
'xpl-top-nav__aside': true,
|
|
32299
32337
|
'xpl-nav-right': true,
|
|
32300
|
-
} }, hAsync("div", { key: '
|
|
32338
|
+
} }, hAsync("div", { key: '3120cb36425177943c3a52345396b5b2de9cc028', class: "xpl-nav-right__list" }, hAsync("div", { key: '6fde79b8b6d87bfdb617c591530307382bdff243', class: "xpl-top-nav__right-rail" }, hAsync("div", { key: '7e69e3e660887b7b39db058fb7e8cf42679a730e', class: "xpl-top-nav__right-lead" }, hAsync("slot", { key: 'c198ab94307d3d126b5902890de73b434cb583b1', name: "right-aside" })), this.hasUserMenu ? (hAsync("div", { class: "xpl-top-nav__right-user" }, hAsync("xpl-popover", { class: "xpl-top-nav__user-popover dark", position: "bottom-end", display: "menu" }, this.userMenuTriggerSlotPresent ? (hAsync("slot", { name: "user-menu-trigger", slot: "trigger" })) : this.usesBuiltInChildAccountTrigger ? (hAsync("xpl-button", { slot: "trigger", class: "xpl-top-nav__child-account-trigger", type: "button", variant: "tertiary", icon: "chevron-down", iconPosition: "end", iconOnly: this.childAccountLabelText.length === 0, "aria-haspopup": "dialog", "aria-label": this.childAccountLabelText.length > 0
|
|
32301
32339
|
? undefined
|
|
32302
32340
|
: 'Open account menu' }, this.childAccountLabelText.length > 0
|
|
32303
32341
|
? this.childAccountLabelText
|
|
@@ -32740,7 +32778,7 @@ class TopNavItem {
|
|
|
32740
32778
|
return (hAsync("button", { ...shared, type: "button" }, this.renderLeading(), this.renderLabelContent(), this.renderTrailing()));
|
|
32741
32779
|
}
|
|
32742
32780
|
render() {
|
|
32743
|
-
return (hAsync(Host, { key: '
|
|
32781
|
+
return (hAsync(Host, { key: 'f895d73fc0f4c07150e9cd1c34d7b78a338a2032', class: {
|
|
32744
32782
|
'xpl-top-nav-item': true,
|
|
32745
32783
|
'xpl-top-nav-item--active': this.active,
|
|
32746
32784
|
'xpl-top-nav-item--dropdown-open': this.hasDropdown && this.open,
|
|
@@ -32748,7 +32786,7 @@ class TopNavItem {
|
|
|
32748
32786
|
'xpl-top-nav-item--has-dropdown': this.hasDropdown,
|
|
32749
32787
|
'xpl-top-nav-item--selected': this.selected,
|
|
32750
32788
|
dark: true,
|
|
32751
|
-
}, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, ...(this.hostListitemRole ? { role: 'listitem' } : {}) }, this.renderInner(), this.hasDropdown && (hAsync("div", { key: '
|
|
32789
|
+
}, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, ...(this.hostListitemRole ? { role: 'listitem' } : {}) }, this.renderInner(), this.hasDropdown && (hAsync("div", { key: '3ec121421a45b3e5ef00f3fe76be80c910759f02', id: this.dropdownPanelId, class: "xpl-top-nav-item__dropdown" }, hAsync("slot", { key: '715393a7ba3474c1afc9e0aa29276335537021e5', name: "dropdown" })))));
|
|
32752
32790
|
}
|
|
32753
32791
|
get el() { return getElement(this); }
|
|
32754
32792
|
static get watchers() { return {
|
|
@@ -32864,10 +32902,10 @@ class TopNavMenu {
|
|
|
32864
32902
|
return (hAsync("xpl-top-nav-item", { class: "xpl-top-nav-menu__back", label: this.label, onNavItemClick: this.handleBackClick }, hAsync("xpl-icon", { slot: "leading-icon", icon: "chevron-left", size: 24 })));
|
|
32865
32903
|
}
|
|
32866
32904
|
render() {
|
|
32867
|
-
return (hAsync(Host, { key: '
|
|
32905
|
+
return (hAsync(Host, { key: '4b28448ecb93e59d9bdc731a8b56dd42ebda2c66', class: {
|
|
32868
32906
|
'xpl-top-nav-menu': true,
|
|
32869
32907
|
dark: true,
|
|
32870
|
-
}, role: "list", "aria-label": this.label || undefined }, this.renderBackRow(), hAsync("slot", { key: '
|
|
32908
|
+
}, role: "list", "aria-label": this.label || undefined }, this.renderBackRow(), hAsync("slot", { key: 'aa51dc10509298e469ca41a99ae7108283ee8f89' })));
|
|
32871
32909
|
}
|
|
32872
32910
|
get el() { return getElement(this); }
|
|
32873
32911
|
static get cmpMeta() { return {
|
|
@@ -32897,7 +32935,7 @@ class UtilityBar {
|
|
|
32897
32935
|
this.open = this.isNavOpenAtStartup !== undefined ? this.isNavOpenAtStartup : this.open;
|
|
32898
32936
|
}
|
|
32899
32937
|
render() {
|
|
32900
|
-
return (hAsync(Host, { key: '
|
|
32938
|
+
return (hAsync(Host, { key: '3ed4e8e9214075b9062b221a05f1b27aa0b0bfbf' }, hAsync("nav", { key: 'c809f6f649965d0b60d35c2bda31f721d67ccca1', "aria-label": "utility navigation bar", class: "xpl-utility-bar" }, this.navControl ? (hAsync("div", null, hAsync("button", { class: "xpl-utility-bar__nav-control", onClick: () => this.onNavToggle() }, hAsync("xpl-icon", { class: "xpl-utility-nav__bars", icon: "three-bars" })), hAsync("slot", { name: "aside" }))) : (hAsync("slot", { name: "aside" })), hAsync("slot", { key: '99e22823c94e66c5dce24815485c7513b11e9267', name: "main" }))));
|
|
32901
32939
|
}
|
|
32902
32940
|
static get cmpMeta() { return {
|
|
32903
32941
|
"$flags$": 260,
|
|
@@ -33400,11 +33438,11 @@ class XplPanel {
|
|
|
33400
33438
|
}
|
|
33401
33439
|
render() {
|
|
33402
33440
|
const hasAccent = this.accent !== 'none';
|
|
33403
|
-
return (hAsync(Host, { key: '
|
|
33441
|
+
return (hAsync(Host, { key: '7e2a96b285cc06379f8f7f98ae44affcfac0c8dc', class: {
|
|
33404
33442
|
'xpl-panel': true,
|
|
33405
33443
|
[`xpl-panel--accent-${this.accent}`]: hasAccent,
|
|
33406
33444
|
[`xpl-panel--padding-${this.padding}`]: true,
|
|
33407
|
-
} }, hasAccent && hAsync("div", { key: '
|
|
33445
|
+
} }, hasAccent && hAsync("div", { key: '3a6740a44c18c9973c86a314d26bd565971c19f2', "aria-hidden": "true", class: "xpl-panel__accent" }), hAsync("div", { key: 'd4951bd49e7600a58fa0ecb31fddf4df1dfe7956', class: "xpl-panel__content" }, hAsync("slot", { key: '2374d130b274a64e875b0c4b1ce03b34d96554b4' }))));
|
|
33408
33446
|
}
|
|
33409
33447
|
static get cmpMeta() { return {
|
|
33410
33448
|
"$flags$": 260,
|
|
@@ -33419,6 +33457,90 @@ class XplPanel {
|
|
|
33419
33457
|
}; }
|
|
33420
33458
|
}
|
|
33421
33459
|
|
|
33460
|
+
class XplTableBody {
|
|
33461
|
+
constructor(hostRef) {
|
|
33462
|
+
registerInstance(this, hostRef);
|
|
33463
|
+
}
|
|
33464
|
+
render() {
|
|
33465
|
+
return (hAsync(Host, { key: '5a82de617cad4d37dace81ad6a636db1e3a944df', class: "xpl-table-body", role: "rowgroup" }, hAsync("slot", { key: 'd141e2e041789142eb69c6b3453b25523e4ecf59' })));
|
|
33466
|
+
}
|
|
33467
|
+
static get cmpMeta() { return {
|
|
33468
|
+
"$flags$": 260,
|
|
33469
|
+
"$tagName$": "xpl-table-body",
|
|
33470
|
+
"$members$": undefined,
|
|
33471
|
+
"$listeners$": undefined,
|
|
33472
|
+
"$lazyBundleId$": "-",
|
|
33473
|
+
"$attrsToReflect$": []
|
|
33474
|
+
}; }
|
|
33475
|
+
}
|
|
33476
|
+
|
|
33477
|
+
class XplTableFooter {
|
|
33478
|
+
constructor(hostRef) {
|
|
33479
|
+
registerInstance(this, hostRef);
|
|
33480
|
+
}
|
|
33481
|
+
render() {
|
|
33482
|
+
return (hAsync(Host, { key: '7c0c20a91c48433b21a8a83094d614de532b317b', class: "xpl-table-footer", role: "rowgroup" }, hAsync("slot", { key: 'aebc40fc1edc9ced7b2420303d3a38897c24939f' })));
|
|
33483
|
+
}
|
|
33484
|
+
static get cmpMeta() { return {
|
|
33485
|
+
"$flags$": 260,
|
|
33486
|
+
"$tagName$": "xpl-table-footer",
|
|
33487
|
+
"$members$": undefined,
|
|
33488
|
+
"$listeners$": undefined,
|
|
33489
|
+
"$lazyBundleId$": "-",
|
|
33490
|
+
"$attrsToReflect$": []
|
|
33491
|
+
}; }
|
|
33492
|
+
}
|
|
33493
|
+
|
|
33494
|
+
class XplTableFooterCell {
|
|
33495
|
+
constructor(hostRef) {
|
|
33496
|
+
registerInstance(this, hostRef);
|
|
33497
|
+
this.align = 'left';
|
|
33498
|
+
}
|
|
33499
|
+
render() {
|
|
33500
|
+
return (hAsync(Host, { key: '331e85728bbd31aa7cde4fe169874879518b92bd', class: {
|
|
33501
|
+
'xpl-table-footer-cell': true,
|
|
33502
|
+
[`xpl-table-footer-cell--align-${this.align}`]: true,
|
|
33503
|
+
}, role: "gridcell" }, hAsync("slot", { key: '29f074c9c81b9cf38bca0ef3eb92a54a408b2436' })));
|
|
33504
|
+
}
|
|
33505
|
+
static get cmpMeta() { return {
|
|
33506
|
+
"$flags$": 260,
|
|
33507
|
+
"$tagName$": "xpl-table-footer-cell",
|
|
33508
|
+
"$members$": {
|
|
33509
|
+
"align": [1]
|
|
33510
|
+
},
|
|
33511
|
+
"$listeners$": undefined,
|
|
33512
|
+
"$lazyBundleId$": "-",
|
|
33513
|
+
"$attrsToReflect$": []
|
|
33514
|
+
}; }
|
|
33515
|
+
}
|
|
33516
|
+
|
|
33517
|
+
class XplTableRow {
|
|
33518
|
+
constructor(hostRef) {
|
|
33519
|
+
registerInstance(this, hostRef);
|
|
33520
|
+
this.disabled = false;
|
|
33521
|
+
this.selected = false;
|
|
33522
|
+
}
|
|
33523
|
+
render() {
|
|
33524
|
+
return (hAsync(Host, { key: '506e56b764d82707482e58a0715fd342219ef7d9', class: {
|
|
33525
|
+
'xpl-table-row': true,
|
|
33526
|
+
'xpl-table-row--disabled': this.disabled,
|
|
33527
|
+
'xpl-table-row--selected': this.selected,
|
|
33528
|
+
}, role: "row" }, hAsync("slot", { key: 'db534bcb1e92bb92441476542c0eaa920f6914e8' })));
|
|
33529
|
+
}
|
|
33530
|
+
static get cmpMeta() { return {
|
|
33531
|
+
"$flags$": 260,
|
|
33532
|
+
"$tagName$": "xpl-table-row",
|
|
33533
|
+
"$members$": {
|
|
33534
|
+
"disabled": [516],
|
|
33535
|
+
"rowId": [513, "row-id"],
|
|
33536
|
+
"selected": [516]
|
|
33537
|
+
},
|
|
33538
|
+
"$listeners$": undefined,
|
|
33539
|
+
"$lazyBundleId$": "-",
|
|
33540
|
+
"$attrsToReflect$": [["disabled", "disabled"], ["rowId", "row-id"], ["selected", "selected"]]
|
|
33541
|
+
}; }
|
|
33542
|
+
}
|
|
33543
|
+
|
|
33422
33544
|
registerComponents([
|
|
33423
33545
|
Accordion,
|
|
33424
33546
|
ApplicationShell,
|
|
@@ -33492,6 +33614,10 @@ registerComponents([
|
|
|
33492
33614
|
UtilityBar,
|
|
33493
33615
|
XplListItem,
|
|
33494
33616
|
XplPanel,
|
|
33617
|
+
XplTableBody,
|
|
33618
|
+
XplTableFooter,
|
|
33619
|
+
XplTableFooterCell,
|
|
33620
|
+
XplTableRow,
|
|
33495
33621
|
]);
|
|
33496
33622
|
|
|
33497
33623
|
exports.hydrateApp = hydrateApp;
|