@ukic/canary-web-components 3.0.0-canary.6 → 3.0.0-canary.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-e0da4ae1.js → helpers-02b23286.js} +25 -3
- package/dist/cjs/helpers-02b23286.js.map +1 -0
- package/dist/cjs/{helpers-0d86316e.js → helpers-ce248d54.js} +25 -2
- package/dist/cjs/helpers-ce248d54.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +2 -9
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +47 -3
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-horizontal.cjs.entry.js +2 -8
- package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +12 -19
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +230 -49
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +2 -2
- package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +10 -4
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state_2.cjs.entry.js +20 -14
- package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +18 -7
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +2 -9
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +27 -21
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +54 -40
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +21 -18
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +13 -6
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +32 -28
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +12 -14
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +34 -11
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +53 -6
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tree-item.cjs.entry.js +2 -9
- package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tree-view.cjs.entry.js +2 -9
- package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +3 -9
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.css +82 -2
- package/dist/collection/components/ic-data-table/ic-data-table.js +265 -51
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +214 -6
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +64 -1
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
- package/dist/collection/components/ic-date-input/ic-date-input.css +5 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +36 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-tree-item/ic-tree-item.js +3 -10
- package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
- package/dist/collection/components/ic-tree-view/ic-tree-view.js +3 -10
- package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
- package/dist/collection/utils/helpers.js +21 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +23 -2
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js +22 -2
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-alert.js +3 -10
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +1 -1
- package/dist/components/ic-breadcrumb2.js +49 -3
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-horizontal.js +3 -9
- package/dist/components/ic-card-horizontal.js.map +1 -1
- package/dist/components/ic-card-vertical.js +13 -20
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +1 -1
- package/dist/components/ic-checkbox.js +1 -1
- package/dist/components/ic-data-row.js +1 -1
- package/dist/components/ic-data-table.js +231 -49
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +2 -2
- package/dist/components/ic-date-input2.js.map +1 -1
- package/dist/components/ic-date-picker.js +1 -1
- package/dist/components/ic-dialog.js +9 -3
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-empty-state2.js +3 -13
- package/dist/components/ic-empty-state2.js.map +1 -1
- package/dist/components/ic-footer.js +18 -7
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +3 -10
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +1 -1
- package/dist/components/ic-input-component-container2.js +3 -10
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +1 -1
- package/dist/components/ic-input-validation2.js +1 -1
- package/dist/components/ic-menu2.js +26 -13
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-group.js +1 -1
- package/dist/components/ic-navigation-item.js +2 -2
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +1 -1
- package/dist/components/ic-page-header.js +1 -1
- package/dist/components/ic-pagination-bar2.js +21 -3
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-popover-menu.js +1 -1
- package/dist/components/ic-radio-group.js +21 -18
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +14 -7
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +46 -53
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select2.js +46 -34
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +1 -1
- package/dist/components/ic-stepper.js +1 -1
- package/dist/components/ic-switch.js +12 -15
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-text-field2.js +10 -8
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-toast.js +1 -1
- package/dist/components/ic-toggle-button-group.js +40 -11
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +61 -13
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-top-navigation.js +2 -2
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-tree-item.js +3 -10
- package/dist/components/ic-tree-item.js.map +1 -1
- package/dist/components/ic-tree-view.js +3 -10
- package/dist/components/ic-tree-view.js.map +1 -1
- package/dist/core/core.css +17 -5
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-2664bfab.entry.js → p-0054bdc2.entry.js} +2 -2
- package/dist/core/p-01a23e24.entry.js +2 -0
- package/dist/core/p-01a23e24.entry.js.map +1 -0
- package/dist/core/p-063911a8.entry.js +2 -0
- package/dist/core/p-063911a8.entry.js.map +1 -0
- package/dist/core/{p-07881c14.entry.js → p-0c5d45e1.entry.js} +2 -2
- package/dist/core/{p-47f2f713.entry.js → p-15a5cce5.entry.js} +2 -2
- package/dist/core/{p-eb6e3878.entry.js → p-1658e577.entry.js} +2 -2
- package/dist/core/{p-b7e5b682.entry.js → p-1808381b.entry.js} +2 -2
- package/dist/core/p-2169e75b.entry.js +2 -0
- package/dist/core/{p-670c10af.entry.js.map → p-2169e75b.entry.js.map} +1 -1
- package/dist/core/{p-6a2ed698.entry.js → p-26aff39e.entry.js} +2 -2
- package/dist/core/{p-5284ccab.entry.js → p-27b1223d.entry.js} +2 -2
- package/dist/core/{p-35caddb3.entry.js → p-32726b89.entry.js} +2 -2
- package/dist/core/{p-1084a7f9.entry.js → p-33110185.entry.js} +2 -2
- package/dist/core/p-40e965de.entry.js +2 -0
- package/dist/core/p-40e965de.entry.js.map +1 -0
- package/dist/core/{p-3272931c.entry.js → p-41bfa3e5.entry.js} +2 -2
- package/dist/core/p-4347f05c.entry.js +2 -0
- package/dist/core/p-4347f05c.entry.js.map +1 -0
- package/dist/core/p-440c97ac.entry.js +2 -0
- package/dist/core/p-440c97ac.entry.js.map +1 -0
- package/dist/core/{p-7a9de1bb.entry.js → p-45177148.entry.js} +2 -2
- package/dist/core/{p-92398f47.entry.js → p-4f96bec1.entry.js} +2 -2
- package/dist/core/{p-a0dfd2cf.entry.js → p-51058719.entry.js} +2 -2
- package/dist/core/{p-7765a219.entry.js → p-5193184c.entry.js} +2 -2
- package/dist/core/{p-8e300091.entry.js → p-51faa4ba.entry.js} +2 -2
- package/dist/core/p-51faa4ba.entry.js.map +1 -0
- package/dist/core/p-6188f029.entry.js +2 -0
- package/dist/core/p-6188f029.entry.js.map +1 -0
- package/dist/core/{p-b047cd84.entry.js → p-6ac8e09b.entry.js} +2 -2
- package/dist/core/p-6ac8e09b.entry.js.map +1 -0
- package/dist/core/p-71496305.entry.js +2 -0
- package/dist/core/{p-29a86adf.entry.js.map → p-71496305.entry.js.map} +1 -1
- package/dist/core/p-77157922.entry.js +2 -0
- package/dist/core/p-77157922.entry.js.map +1 -0
- package/dist/core/{p-21f6619f.entry.js → p-794ff553.entry.js} +2 -2
- package/dist/core/p-82b408ad.entry.js +2 -0
- package/dist/core/p-82b408ad.entry.js.map +1 -0
- package/dist/core/p-8576281d.entry.js +2 -0
- package/dist/core/p-8576281d.entry.js.map +1 -0
- package/dist/core/p-88913402.entry.js +2 -0
- package/dist/core/p-88913402.entry.js.map +1 -0
- package/dist/core/p-897fac99.js +2 -0
- package/dist/core/p-897fac99.js.map +1 -0
- package/dist/core/{p-95d1c9e6.entry.js → p-8e56516a.entry.js} +2 -2
- package/dist/core/{p-3b84953c.entry.js → p-8ebd64ae.entry.js} +2 -2
- package/dist/core/{p-d5648fdc.entry.js → p-9462f294.entry.js} +2 -2
- package/dist/core/p-94efa0d2.entry.js +2 -0
- package/dist/core/p-94efa0d2.entry.js.map +1 -0
- package/dist/core/p-9a392c41.entry.js +2 -0
- package/dist/core/{p-b1c68968.entry.js.map → p-9a392c41.entry.js.map} +1 -1
- package/dist/core/p-a04712b9.js +2 -0
- package/dist/core/p-a04712b9.js.map +1 -0
- package/dist/core/{p-efd608ab.entry.js → p-a1d5fff2.entry.js} +2 -2
- package/dist/core/p-a69ef3eb.entry.js +2 -0
- package/dist/core/p-a69ef3eb.entry.js.map +1 -0
- package/dist/core/p-ace8126b.entry.js +2 -0
- package/dist/core/p-ace8126b.entry.js.map +1 -0
- package/dist/core/{p-26a41692.entry.js → p-ade5d1b6.entry.js} +2 -2
- package/dist/core/{p-2412ba0b.entry.js → p-b2a6f0dd.entry.js} +2 -2
- package/dist/core/{p-83f39782.entry.js → p-b5a5fe39.entry.js} +2 -2
- package/dist/core/{p-19f85b60.entry.js → p-b717ae40.entry.js} +2 -2
- package/dist/core/{p-5d749879.entry.js → p-b85466a7.entry.js} +2 -2
- package/dist/core/{p-3ae329ab.entry.js → p-bd87bf33.entry.js} +2 -2
- package/dist/core/{p-fafc157b.entry.js → p-be1ec9aa.entry.js} +2 -2
- package/dist/core/{p-38aca488.entry.js → p-be54a959.entry.js} +2 -2
- package/dist/core/p-be6d9ab9.entry.js +2 -0
- package/dist/core/p-be6d9ab9.entry.js.map +1 -0
- package/dist/core/{p-3bc4bc81.entry.js → p-c035d7b9.entry.js} +2 -2
- package/dist/core/p-c0733c84.entry.js +2 -0
- package/dist/core/p-c0733c84.entry.js.map +1 -0
- package/dist/core/p-c466bc73.entry.js +2 -0
- package/dist/core/p-c466bc73.entry.js.map +1 -0
- package/dist/core/{p-ca4bfffd.entry.js → p-cd6dbb1e.entry.js} +2 -2
- package/dist/core/{p-ca4bfffd.entry.js.map → p-cd6dbb1e.entry.js.map} +1 -1
- package/dist/core/{p-f02d5539.entry.js → p-d2b2b7df.entry.js} +2 -2
- package/dist/core/p-dda6a46d.entry.js +2 -0
- package/dist/core/p-dda6a46d.entry.js.map +1 -0
- package/dist/core/{p-1893f635.entry.js → p-e1df1b9a.entry.js} +2 -2
- package/dist/core/p-e1df1b9a.entry.js.map +1 -0
- package/dist/core/{p-e0b556b4.entry.js → p-e3c98750.entry.js} +2 -2
- package/dist/core/{p-39190da3.entry.js → p-f3d2af04.entry.js} +2 -2
- package/dist/core/{p-b9081a99.entry.js → p-f7d2f703.entry.js} +2 -2
- package/dist/core/p-fc155ae2.entry.js +2 -0
- package/dist/core/p-fc155ae2.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-759bbf51.js → helpers-0f42cb46.js} +23 -3
- package/dist/{cjs/helpers-e0da4ae1.js.map → esm/helpers-0f42cb46.js.map} +1 -1
- package/dist/esm/{helpers-fcc7a364.js → helpers-56c75bf4.js} +24 -3
- package/dist/esm/helpers-56c75bf4.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +3 -10
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +47 -3
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +3 -9
- package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +13 -20
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- package/dist/esm/ic-chip.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
- package/dist/esm/ic-data-table.entry.js +230 -49
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +2 -2
- package/dist/esm/ic-date-input.entry.js.map +1 -1
- package/dist/esm/ic-date-picker.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +10 -4
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state_2.entry.js +21 -15
- package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +1 -1
- package/dist/esm/ic-footer.entry.js +18 -7
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +3 -10
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +28 -22
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +1 -1
- package/dist/esm/ic-link.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js +2 -2
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-pagination_4.entry.js +54 -40
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js +21 -18
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +13 -6
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +32 -28
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +12 -14
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +34 -11
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +53 -6
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +2 -2
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-tree-item.entry.js +3 -10
- package/dist/esm/ic-tree-item.entry.js.map +1 -1
- package/dist/esm/ic-tree-view.entry.js +3 -10
- package/dist/esm/ic-tree-view.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +0 -1
- package/dist/types/components/ic-data-table/ic-data-table.d.ts +23 -0
- package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +11 -0
- package/dist/types/components/ic-data-table/story-data.d.ts +107 -4
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +6 -0
- package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +0 -1
- package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +0 -1
- package/dist/types/components.d.ts +23 -0
- package/dist/types/utils/helpers.d.ts +4 -1
- package/dist/types/utils/types.d.ts +1 -0
- package/hydrate/index.js +638 -277
- package/package.json +3 -10
- package/dist/cjs/helpers-0d86316e.js.map +0 -1
- package/dist/core/p-006d37d0.entry.js +0 -2
- package/dist/core/p-006d37d0.entry.js.map +0 -1
- package/dist/core/p-06cda732.entry.js +0 -2
- package/dist/core/p-06cda732.entry.js.map +0 -1
- package/dist/core/p-1893f635.entry.js.map +0 -1
- package/dist/core/p-29a86adf.entry.js +0 -2
- package/dist/core/p-2c38ff71.entry.js +0 -2
- package/dist/core/p-2c38ff71.entry.js.map +0 -1
- package/dist/core/p-324be8cf.entry.js +0 -2
- package/dist/core/p-324be8cf.entry.js.map +0 -1
- package/dist/core/p-34e57694.entry.js +0 -2
- package/dist/core/p-34e57694.entry.js.map +0 -1
- package/dist/core/p-4bcd86cf.js +0 -2
- package/dist/core/p-4bcd86cf.js.map +0 -1
- package/dist/core/p-670c10af.entry.js +0 -2
- package/dist/core/p-68eb216b.entry.js +0 -2
- package/dist/core/p-68eb216b.entry.js.map +0 -1
- package/dist/core/p-6aa0f42b.entry.js +0 -2
- package/dist/core/p-6aa0f42b.entry.js.map +0 -1
- package/dist/core/p-6d179eed.entry.js +0 -2
- package/dist/core/p-6d179eed.entry.js.map +0 -1
- package/dist/core/p-77a98aa2.entry.js +0 -2
- package/dist/core/p-77a98aa2.entry.js.map +0 -1
- package/dist/core/p-78f747ee.entry.js +0 -2
- package/dist/core/p-78f747ee.entry.js.map +0 -1
- package/dist/core/p-808715e2.js +0 -2
- package/dist/core/p-808715e2.js.map +0 -1
- package/dist/core/p-8e300091.entry.js.map +0 -1
- package/dist/core/p-9b600ef3.entry.js +0 -2
- package/dist/core/p-9b600ef3.entry.js.map +0 -1
- package/dist/core/p-a7cda2d6.entry.js +0 -2
- package/dist/core/p-a7cda2d6.entry.js.map +0 -1
- package/dist/core/p-aa876e5e.entry.js +0 -2
- package/dist/core/p-aa876e5e.entry.js.map +0 -1
- package/dist/core/p-b047cd84.entry.js.map +0 -1
- package/dist/core/p-b1c68968.entry.js +0 -2
- package/dist/core/p-c6bdbee1.entry.js +0 -2
- package/dist/core/p-c6bdbee1.entry.js.map +0 -1
- package/dist/core/p-ccd141a9.entry.js +0 -2
- package/dist/core/p-ccd141a9.entry.js.map +0 -1
- package/dist/core/p-d7bc2e7f.entry.js +0 -2
- package/dist/core/p-d7bc2e7f.entry.js.map +0 -1
- package/dist/core/p-d981ef7a.entry.js +0 -2
- package/dist/core/p-d981ef7a.entry.js.map +0 -1
- package/dist/core/p-f95e52d8.entry.js +0 -2
- package/dist/core/p-f95e52d8.entry.js.map +0 -1
- package/dist/esm/helpers-759bbf51.js.map +0 -1
- package/dist/esm/helpers-fcc7a364.js.map +0 -1
- /package/dist/core/{p-2664bfab.entry.js.map → p-0054bdc2.entry.js.map} +0 -0
- /package/dist/core/{p-07881c14.entry.js.map → p-0c5d45e1.entry.js.map} +0 -0
- /package/dist/core/{p-47f2f713.entry.js.map → p-15a5cce5.entry.js.map} +0 -0
- /package/dist/core/{p-eb6e3878.entry.js.map → p-1658e577.entry.js.map} +0 -0
- /package/dist/core/{p-b7e5b682.entry.js.map → p-1808381b.entry.js.map} +0 -0
- /package/dist/core/{p-6a2ed698.entry.js.map → p-26aff39e.entry.js.map} +0 -0
- /package/dist/core/{p-5284ccab.entry.js.map → p-27b1223d.entry.js.map} +0 -0
- /package/dist/core/{p-35caddb3.entry.js.map → p-32726b89.entry.js.map} +0 -0
- /package/dist/core/{p-1084a7f9.entry.js.map → p-33110185.entry.js.map} +0 -0
- /package/dist/core/{p-3272931c.entry.js.map → p-41bfa3e5.entry.js.map} +0 -0
- /package/dist/core/{p-7a9de1bb.entry.js.map → p-45177148.entry.js.map} +0 -0
- /package/dist/core/{p-92398f47.entry.js.map → p-4f96bec1.entry.js.map} +0 -0
- /package/dist/core/{p-a0dfd2cf.entry.js.map → p-51058719.entry.js.map} +0 -0
- /package/dist/core/{p-7765a219.entry.js.map → p-5193184c.entry.js.map} +0 -0
- /package/dist/core/{p-21f6619f.entry.js.map → p-794ff553.entry.js.map} +0 -0
- /package/dist/core/{p-95d1c9e6.entry.js.map → p-8e56516a.entry.js.map} +0 -0
- /package/dist/core/{p-3b84953c.entry.js.map → p-8ebd64ae.entry.js.map} +0 -0
- /package/dist/core/{p-d5648fdc.entry.js.map → p-9462f294.entry.js.map} +0 -0
- /package/dist/core/{p-efd608ab.entry.js.map → p-a1d5fff2.entry.js.map} +0 -0
- /package/dist/core/{p-26a41692.entry.js.map → p-ade5d1b6.entry.js.map} +0 -0
- /package/dist/core/{p-2412ba0b.entry.js.map → p-b2a6f0dd.entry.js.map} +0 -0
- /package/dist/core/{p-83f39782.entry.js.map → p-b5a5fe39.entry.js.map} +0 -0
- /package/dist/core/{p-19f85b60.entry.js.map → p-b717ae40.entry.js.map} +0 -0
- /package/dist/core/{p-5d749879.entry.js.map → p-b85466a7.entry.js.map} +0 -0
- /package/dist/core/{p-3ae329ab.entry.js.map → p-bd87bf33.entry.js.map} +0 -0
- /package/dist/core/{p-fafc157b.entry.js.map → p-be1ec9aa.entry.js.map} +0 -0
- /package/dist/core/{p-38aca488.entry.js.map → p-be54a959.entry.js.map} +0 -0
- /package/dist/core/{p-3bc4bc81.entry.js.map → p-c035d7b9.entry.js.map} +0 -0
- /package/dist/core/{p-f02d5539.entry.js.map → p-d2b2b7df.entry.js.map} +0 -0
- /package/dist/core/{p-e0b556b4.entry.js.map → p-e3c98750.entry.js.map} +0 -0
- /package/dist/core/{p-39190da3.entry.js.map → p-f3d2af04.entry.js.map} +0 -0
- /package/dist/core/{p-b9081a99.entry.js.map → p-f7d2f703.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
@@ -7636,7 +7636,7 @@ const IC_INHERITED_ARIA = [
|
|
7636
7636
|
"aria-relevant",
|
7637
7637
|
"aria-roledescription",
|
7638
7638
|
];
|
7639
|
-
const IC_DEVICE_SIZES = {
|
7639
|
+
const IC_DEVICE_SIZES$1 = {
|
7640
7640
|
XS: 576,
|
7641
7641
|
S: 768,
|
7642
7642
|
M: 992,
|
@@ -7652,7 +7652,7 @@ const IC_BLOCK_COLOR_COMPONENTS$1 = [
|
|
7652
7652
|
];
|
7653
7653
|
const IC_FIXED_COLOR_COMPONENTS$1 = ["ic-alert"];
|
7654
7654
|
const IC_BLOCK_COLOR_EXCEPTIONS$1 = {
|
7655
|
-
"ic-alert": ["ic-link"],
|
7655
|
+
"ic-alert": ["ic-link", "ic-button"],
|
7656
7656
|
};
|
7657
7657
|
/* Range within which the chosen theme colour would not have a sufficient brightness difference with either of the black or white foreground colours
|
7658
7658
|
* The brightness difference must be greater than 125 to provide good colour visibility
|
@@ -7912,18 +7912,18 @@ const getOptionsWithoutGroupTitlesCount = (options) => {
|
|
7912
7912
|
}
|
7913
7913
|
return optionsWithoutGroupTitles.length;
|
7914
7914
|
};
|
7915
|
-
const deviceSizeMatches = (size) => window.matchMedia(`(max-width: ${size}px)`).matches;
|
7915
|
+
const deviceSizeMatches$1 = (size) => window.matchMedia(`(max-width: ${size}px)`).matches;
|
7916
7916
|
const getCurrentDeviceSize = () => {
|
7917
|
-
if (deviceSizeMatches(DEVICE_SIZES.S)) {
|
7917
|
+
if (deviceSizeMatches$1(DEVICE_SIZES.S)) {
|
7918
7918
|
return DEVICE_SIZES.S;
|
7919
7919
|
}
|
7920
|
-
if (deviceSizeMatches(DEVICE_SIZES.M)) {
|
7920
|
+
if (deviceSizeMatches$1(DEVICE_SIZES.M)) {
|
7921
7921
|
return DEVICE_SIZES.M;
|
7922
7922
|
}
|
7923
|
-
if (deviceSizeMatches(DEVICE_SIZES.L)) {
|
7923
|
+
if (deviceSizeMatches$1(DEVICE_SIZES.L)) {
|
7924
7924
|
return DEVICE_SIZES.L;
|
7925
7925
|
}
|
7926
|
-
if (deviceSizeMatches(DEVICE_SIZES.XL)) {
|
7926
|
+
if (deviceSizeMatches$1(DEVICE_SIZES.XL)) {
|
7927
7927
|
return DEVICE_SIZES.XL;
|
7928
7928
|
}
|
7929
7929
|
//fallback needed as all of above get initialised to 0 in jest tests
|
@@ -8100,6 +8100,23 @@ const checkSlotInChildMutations$1 = (addedNodes, removedNodes, slotName) => {
|
|
8100
8100
|
return hasSlot(addedNodes) || hasSlot(removedNodes);
|
8101
8101
|
};
|
8102
8102
|
const isElInAGGrid = (el) => !!el.closest(".ag-cell") && !!el.closest(".ag-root");
|
8103
|
+
/*
|
8104
|
+
* Checks if the component is slotted in its relevant 'group' component
|
8105
|
+
* @param component - the component to check
|
8106
|
+
*/
|
8107
|
+
const isSlottedInGroup = (component) => {
|
8108
|
+
var _a;
|
8109
|
+
const parent = (component === null || component === void 0 ? void 0 : component.tagName) + "-GROUP";
|
8110
|
+
return ((_a = component === null || component === void 0 ? void 0 : component.parentElement) === null || _a === void 0 ? void 0 : _a.tagName) === parent;
|
8111
|
+
};
|
8112
|
+
const hasDynamicChildSlots$1 = (mutationList, slotNames) => {
|
8113
|
+
return mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
8114
|
+
? checkSlotInChildMutations$1(addedNodes, removedNodes, slotNames)
|
8115
|
+
: false);
|
8116
|
+
};
|
8117
|
+
const renderDynamicChildSlots$1 = (mutationList, slotNames, ref) => {
|
8118
|
+
if (hasDynamicChildSlots$1(mutationList, slotNames)) ;
|
8119
|
+
};
|
8103
8120
|
|
8104
8121
|
var chevronIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
8105
8122
|
<path d="M9.70687 6L8.29688 7.41L12.8769 12L8.29688 16.59L9.70687 18L15.7069 12L9.70687 6Z" fill="currentColor"/>
|
@@ -8393,11 +8410,6 @@ class Alert {
|
|
8393
8410
|
this.dismissAction = () => {
|
8394
8411
|
this.icDismiss.emit();
|
8395
8412
|
};
|
8396
|
-
this.hostMutationCallback = (mutationList) => {
|
8397
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
8398
|
-
? checkSlotInChildMutations$1(addedNodes, removedNodes, "action")
|
8399
|
-
: false)) ;
|
8400
|
-
};
|
8401
8413
|
this.alertTitleWrap = false;
|
8402
8414
|
this.visible = true;
|
8403
8415
|
this.announced = true;
|
@@ -8415,7 +8427,7 @@ class Alert {
|
|
8415
8427
|
}
|
8416
8428
|
componentDidLoad() {
|
8417
8429
|
this.alertTitleShouldWrap();
|
8418
|
-
this.hostMutationObserver = new MutationObserver(
|
8430
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, "action"));
|
8419
8431
|
this.hostMutationObserver.observe(this.el, {
|
8420
8432
|
childList: true,
|
8421
8433
|
});
|
@@ -8768,7 +8780,7 @@ var backIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/20
|
|
8768
8780
|
</svg>
|
8769
8781
|
`;
|
8770
8782
|
|
8771
|
-
const icBreadcrumbCss = "/*!@:host*/.sc-ic-breadcrumb-h{display:block;margin:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}/*!@:host .breadcrumb*/.sc-ic-breadcrumb-h .breadcrumb.sc-ic-breadcrumb{display:flex;align-items:center;white-space:nowrap;gap:var(--ic-space-xs);min-height:var(--ic-space-lg)}/*!@:host .chevron*/.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb{width:var(--ic-space-lg);height:var(--ic-space-lg)}/*!@:host .chevron svg,\n:host(.ic-breadcrumb-monochrome) .chevron svg*/.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb svg.sc-ic-breadcrumb,.ic-breadcrumb-monochrome.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:var(--ic-breadcrumb-icon-chevron)}/*!@:host(:first-child) .chevron*/.sc-ic-breadcrumb-h:first-child .chevron.sc-ic-breadcrumb{display:none}/*!@.back-icon svg*/.back-icon.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:var(--ic-breadcrumb-icon)}/*!@:host(.ic-breadcrumb-monochrome) .back-icon svg*/.ic-breadcrumb-monochrome.sc-ic-breadcrumb-h .back-icon.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:var(--ic-breadcrumb-icon-monochrome)}/*!@:host(.ic-breadcrumb-back)*/.ic-breadcrumb-back.sc-ic-breadcrumb-h{display:flex;align-items:center}/*!@:host(.ic-breadcrumb-back) .chevron*/.ic-breadcrumb-back.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb{display:none}/*!@ic-link*/ic-link.sc-ic-breadcrumb{--breadcrumb-link-display:inline-flex;--breadcrumb-link-align-items:center;--breadcrumb-link-gap:var(--ic-space-xs)}/*!@:host([aria-current=\"page\"]) .current-page-container*/[aria-current=\"page\"].sc-ic-breadcrumb-h .current-page-container.sc-ic-breadcrumb{display:flex;align-items:center;gap:var(--ic-space-xs);color:var(--ic-breadcrumb-text)}/*!@:host([aria-current=\"page\"].ic-breadcrumb-monochrome) .current-page-container*/[aria-current=\"page\"].ic-breadcrumb-monochrome.sc-ic-breadcrumb-h .current-page-container.sc-ic-breadcrumb{color:var(--ic-breadcrumb-text-monochrome)}/*!@:host(.collapsed-breadcrumb-wrapper)*/.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-h{margin-right:var(--ic-space-xs) !important;display:flex;align-items:center;gap:var(--ic-space-xs)}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb{border:none;background-color:transparent;color:var(--ic-color-hyperlink-default);text-decoration:underline;font-weight:var(--ic-font-weight-bold);cursor:pointer}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:hover,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus{outline:var(--ic-hc-focus-outline);border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}/*!@.hide,\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.hide)*/.hide.sc-ic-breadcrumb,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-s>.hide,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.hide{display:none}@media (forced-colors: active){/*!@.back-icon svg*/.back-icon.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:currentcolor}}@supports (text-underline-offset: 25%){/*!@ic-link*/ic-link.sc-ic-breadcrumb{--breadcrumb-link-display:flex}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n :host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:hover,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
|
8783
|
+
const icBreadcrumbCss = "/*!@:host*/.sc-ic-breadcrumb-h{display:block;margin:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}/*!@:host .breadcrumb*/.sc-ic-breadcrumb-h .breadcrumb.sc-ic-breadcrumb{display:flex;align-items:center;white-space:nowrap;gap:var(--ic-space-xs);min-height:var(--ic-space-lg)}/*!@:host .chevron*/.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb{width:var(--ic-space-lg);height:var(--ic-space-lg)}/*!@:host .chevron svg,\n:host(.ic-breadcrumb-monochrome) .chevron svg*/.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb svg.sc-ic-breadcrumb,.ic-breadcrumb-monochrome.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:var(--ic-breadcrumb-icon-chevron)}/*!@:host(:first-child) .chevron*/.sc-ic-breadcrumb-h:first-child .chevron.sc-ic-breadcrumb{display:none}/*!@.back-icon svg*/.back-icon.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:var(--ic-breadcrumb-icon)}/*!@:host(.ic-breadcrumb-monochrome) .back-icon svg*/.ic-breadcrumb-monochrome.sc-ic-breadcrumb-h .back-icon.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:var(--ic-breadcrumb-icon-monochrome)}/*!@:host(.ic-breadcrumb-back)*/.ic-breadcrumb-back.sc-ic-breadcrumb-h{display:flex;align-items:center}/*!@:host(.ic-breadcrumb-back) .chevron*/.ic-breadcrumb-back.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb{display:none}/*!@ic-link*/ic-link.sc-ic-breadcrumb{--breadcrumb-link-display:inline-flex;--breadcrumb-link-align-items:center;--breadcrumb-link-gap:var(--ic-space-xs)}/*!@:host([aria-current=\"page\"])*/[aria-current=\"page\"].sc-ic-breadcrumb-h{cursor:text}/*!@:host([aria-current=\"page\"]) .current-page-container*/[aria-current=\"page\"].sc-ic-breadcrumb-h .current-page-container.sc-ic-breadcrumb{display:flex;align-items:center;gap:var(--ic-space-xs);color:var(--ic-breadcrumb-text)}/*!@:host([aria-current=\"page\"].ic-breadcrumb-monochrome) .current-page-container*/[aria-current=\"page\"].ic-breadcrumb-monochrome.sc-ic-breadcrumb-h .current-page-container.sc-ic-breadcrumb{color:var(--ic-breadcrumb-text-monochrome)}/*!@:host([aria-current=\"page\"]) slot*/[aria-current=\"page\"].sc-ic-breadcrumb-h slot.sc-ic-breadcrumb{pointer-events:none}/*!@:host(.collapsed-breadcrumb-wrapper)*/.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-h{margin-right:var(--ic-space-xs) !important;display:flex;align-items:center;gap:var(--ic-space-xs)}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb{border:none;background-color:transparent;color:var(--ic-color-hyperlink-default);text-decoration:underline;font-weight:var(--ic-font-weight-bold);cursor:pointer}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:hover,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus{outline:var(--ic-hc-focus-outline);border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}/*!@.hide,\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.hide)*/.hide.sc-ic-breadcrumb,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-s>.hide,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.hide{display:none}@media (forced-colors: active){/*!@.back-icon svg*/.back-icon.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:currentcolor}}@supports (text-underline-offset: 25%){/*!@ic-link*/ic-link.sc-ic-breadcrumb{--breadcrumb-link-display:flex}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n :host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:hover,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
|
8772
8784
|
|
8773
8785
|
/**
|
8774
8786
|
* @slot icon - Content will be rendered to the left of the breadcrumb page title.
|
@@ -8776,6 +8788,33 @@ const icBreadcrumbCss = "/*!@:host*/.sc-ic-breadcrumb-h{display:block;margin:var
|
|
8776
8788
|
class Breadcrumb {
|
8777
8789
|
constructor(hostRef) {
|
8778
8790
|
registerInstance(this, hostRef);
|
8791
|
+
this.HREF_ATTR = "href";
|
8792
|
+
// Prevent focus on breadcrumb if current page and contains slotted link
|
8793
|
+
this.updatedSlottedLinkFocus = () => {
|
8794
|
+
// Sets tabindex on wrong element in unit test snapshots
|
8795
|
+
// - related to known Jest issue: https://github.com/ionic-team/stencil/issues/2830
|
8796
|
+
if (this.linkSlotContent) {
|
8797
|
+
this.linkSlotContent.tabIndex = this.current ? -1 : 0; // Prevent focus
|
8798
|
+
}
|
8799
|
+
if (this.slottedLinkEl) {
|
8800
|
+
if (this.current) {
|
8801
|
+
this.slottedLinkEl.removeAttribute(this.HREF_ATTR); // Prevent screen reader announcing breadcrumb as a link
|
8802
|
+
}
|
8803
|
+
else {
|
8804
|
+
this.slottedLinkEl.setAttribute(this.HREF_ATTR, this.slottedLinkHref);
|
8805
|
+
}
|
8806
|
+
}
|
8807
|
+
};
|
8808
|
+
this.getSlottedLinkEl = () => {
|
8809
|
+
const link = this.linkSlotContent;
|
8810
|
+
if (link) {
|
8811
|
+
const elWithHref = link.hasAttribute(this.HREF_ATTR)
|
8812
|
+
? link
|
8813
|
+
: link.querySelector("[href]");
|
8814
|
+
return elWithHref;
|
8815
|
+
}
|
8816
|
+
return null;
|
8817
|
+
};
|
8779
8818
|
this.renderDefaultBreadcrumb = (current, pageTitle, describedById, href) => {
|
8780
8819
|
const hasPageTitle = pageTitle !== null && isPropDefined$1(pageTitle) && pageTitle !== "";
|
8781
8820
|
if (current && hasPageTitle) {
|
@@ -8805,6 +8844,20 @@ class Breadcrumb {
|
|
8805
8844
|
this.showBackIcon = false;
|
8806
8845
|
this.theme = "inherit";
|
8807
8846
|
}
|
8847
|
+
watchCurrentHandler() {
|
8848
|
+
this.updatedSlottedLinkFocus();
|
8849
|
+
this.el.ariaCurrent = this.current ? "page" : null;
|
8850
|
+
}
|
8851
|
+
componentDidLoad() {
|
8852
|
+
var _a;
|
8853
|
+
const slottedLinkWrapper = this.el.shadowRoot.querySelector(".link-wrapper");
|
8854
|
+
if (slottedLinkWrapper) {
|
8855
|
+
this.linkSlotContent = getSlotElements$1(slottedLinkWrapper)[0];
|
8856
|
+
this.slottedLinkEl = this.getSlottedLinkEl();
|
8857
|
+
this.slottedLinkHref = (_a = this.slottedLinkEl) === null || _a === void 0 ? void 0 : _a.getAttribute("href");
|
8858
|
+
this.updatedSlottedLinkFocus();
|
8859
|
+
}
|
8860
|
+
}
|
8808
8861
|
componentWillRender() {
|
8809
8862
|
this.setSlottedCurrentPageClass();
|
8810
8863
|
}
|
@@ -8825,10 +8878,13 @@ class Breadcrumb {
|
|
8825
8878
|
"ic-breadcrumb-back": this.showBackIcon,
|
8826
8879
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
8827
8880
|
"ic-breadcrumb-monochrome": this.monochrome,
|
8828
|
-
}, "aria-current": current && "page", role: "listitem" }, hAsync("div", { class: "breadcrumb" }, hAsync("span", { innerHTML: chevronIcon, class: "chevron", "aria-hidden": "true" }), this.showBackIcon && describedById && (hAsync("span", { id: describedById, class: "hide" }, `Back to ${pageTitle}`)), hasPageTitle && hasHref ? (this.renderDefaultBreadcrumb(current, pageTitle, describedById, href)) : (hAsync("slot", null)))));
|
8881
|
+
}, "aria-current": current && "page", role: "listitem" }, hAsync("div", { class: "breadcrumb" }, hAsync("span", { innerHTML: chevronIcon, class: "chevron", "aria-hidden": "true" }), this.showBackIcon && describedById && (hAsync("span", { id: describedById, class: "hide" }, `Back to ${pageTitle}`)), hasPageTitle && hasHref ? (this.renderDefaultBreadcrumb(current, pageTitle, describedById, href)) : (hAsync("span", { class: "link-wrapper" }, hAsync("slot", null))))));
|
8829
8882
|
}
|
8830
8883
|
static get delegatesFocus() { return true; }
|
8831
8884
|
get el() { return getElement(this); }
|
8885
|
+
static get watchers() { return {
|
8886
|
+
"current": ["watchCurrentHandler"]
|
8887
|
+
}; }
|
8832
8888
|
static get style() { return icBreadcrumbCss; }
|
8833
8889
|
static get cmpMeta() { return {
|
8834
8890
|
"$flags$": 25,
|
@@ -9458,6 +9514,13 @@ class Button {
|
|
9458
9514
|
}; }
|
9459
9515
|
}
|
9460
9516
|
|
9517
|
+
const IC_DEVICE_SIZES = {
|
9518
|
+
XS: 576,
|
9519
|
+
S: 768,
|
9520
|
+
M: 992,
|
9521
|
+
L: 1200,
|
9522
|
+
XL: 99999,
|
9523
|
+
};
|
9461
9524
|
const IC_BLOCK_COLOR_COMPONENTS = [
|
9462
9525
|
"ic-hero",
|
9463
9526
|
"ic-top-navigation",
|
@@ -9620,6 +9683,7 @@ const getBrandFromContext = (el, brandFromEvent = null) => {
|
|
9620
9683
|
const isEmptyString = (value) => value ? value.trim().length === 0 : true;
|
9621
9684
|
// A helper function that checks if a prop has been defined
|
9622
9685
|
const isPropDefined = (prop) => prop !== undefined ? prop : null;
|
9686
|
+
const deviceSizeMatches = (size) => window.matchMedia(`(max-width: ${size}px)`).matches;
|
9623
9687
|
const getCssProperty = (cssVar) => getComputedStyle(document.documentElement).getPropertyValue(cssVar);
|
9624
9688
|
const getSlotElements = (slot) => {
|
9625
9689
|
const slotContent = slot.firstElementChild;
|
@@ -9698,7 +9762,9 @@ const capitalize = (text) => {
|
|
9698
9762
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
9699
9763
|
};
|
9700
9764
|
const checkSlotInChildMutations = (addedNodes, removedNodes, slotName) => {
|
9701
|
-
const hasSlot = (nodeList) => Array.from(nodeList).some((node) =>
|
9765
|
+
const hasSlot = (nodeList) => Array.from(nodeList).some((node) => Array.isArray(slotName)
|
9766
|
+
? slotName.some((name) => node.slot === name)
|
9767
|
+
: node.slot === slotName);
|
9702
9768
|
return hasSlot(addedNodes) || hasSlot(removedNodes);
|
9703
9769
|
};
|
9704
9770
|
const addDataToPosition = (dataObject, newKeys, newValue) => {
|
@@ -9717,6 +9783,12 @@ const addDataToPosition = (dataObject, newKeys, newValue) => {
|
|
9717
9783
|
}
|
9718
9784
|
return newData;
|
9719
9785
|
};
|
9786
|
+
const hasDynamicChildSlots = (mutationList, slotNames) => mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
9787
|
+
? checkSlotInChildMutations(addedNodes, removedNodes, slotNames)
|
9788
|
+
: false);
|
9789
|
+
const renderDynamicChildSlots = (mutationList, slotNames, ref) => {
|
9790
|
+
if (hasDynamicChildSlots(mutationList, slotNames)) ;
|
9791
|
+
};
|
9720
9792
|
|
9721
9793
|
const icCardHorizontalCss = "/*!@html*/html.sc-ic-card-horizontal{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-card-horizontal{margin:0}/*!@main*/main.sc-ic-card-horizontal{display:block}/*!@h1*/h1.sc-ic-card-horizontal{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-card-horizontal{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-card-horizontal{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-card-horizontal{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-card-horizontal{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-card-horizontal,strong.sc-ic-card-horizontal{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-card-horizontal,kbd.sc-ic-card-horizontal,samp.sc-ic-card-horizontal{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-card-horizontal{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-card-horizontal,sup.sc-ic-card-horizontal{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-card-horizontal{bottom:-0.25em}/*!@sup*/sup.sc-ic-card-horizontal{top:-0.5em}/*!@img*/img.sc-ic-card-horizontal{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-card-horizontal,input.sc-ic-card-horizontal,optgroup.sc-ic-card-horizontal,select.sc-ic-card-horizontal,textarea.sc-ic-card-horizontal{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-card-horizontal,input.sc-ic-card-horizontal{overflow:visible}/*!@button,\nselect*/button.sc-ic-card-horizontal,select.sc-ic-card-horizontal{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-card-horizontal,[type=\"button\"].sc-ic-card-horizontal,[type=\"reset\"].sc-ic-card-horizontal,[type=\"submit\"].sc-ic-card-horizontal{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-card-horizontal::-moz-focus-inner,[type=\"button\"].sc-ic-card-horizontal::-moz-focus-inner,[type=\"reset\"].sc-ic-card-horizontal::-moz-focus-inner,[type=\"submit\"].sc-ic-card-horizontal::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-card-horizontal:-moz-focusring,[type=\"button\"].sc-ic-card-horizontal:-moz-focusring,[type=\"reset\"].sc-ic-card-horizontal:-moz-focusring,[type=\"submit\"].sc-ic-card-horizontal:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-card-horizontal{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-card-horizontal{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-card-horizontal{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-card-horizontal{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-card-horizontal,[type=\"radio\"].sc-ic-card-horizontal{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-card-horizontal::-webkit-inner-spin-button,[type=\"number\"].sc-ic-card-horizontal::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-card-horizontal{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-card-horizontal::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-card-horizontal::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-card-horizontal{display:block}/*!@summary*/summary.sc-ic-card-horizontal{display:list-item}/*!@template*/template.sc-ic-card-horizontal{display:none}/*!@[hidden]*/[hidden].sc-ic-card-horizontal{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-card-horizontal,body.sc-ic-card-horizontal,div.sc-ic-card-horizontal,span.sc-ic-card-horizontal,applet.sc-ic-card-horizontal,object.sc-ic-card-horizontal,iframe.sc-ic-card-horizontal,h1.sc-ic-card-horizontal,h2.sc-ic-card-horizontal,h3.sc-ic-card-horizontal,h4.sc-ic-card-horizontal,h5.sc-ic-card-horizontal,h6.sc-ic-card-horizontal,p.sc-ic-card-horizontal,blockquote.sc-ic-card-horizontal,pre.sc-ic-card-horizontal,a.sc-ic-card-horizontal,abbr.sc-ic-card-horizontal,acronym.sc-ic-card-horizontal,address.sc-ic-card-horizontal,big.sc-ic-card-horizontal,cite.sc-ic-card-horizontal,code.sc-ic-card-horizontal,del.sc-ic-card-horizontal,dfn.sc-ic-card-horizontal,em.sc-ic-card-horizontal,img.sc-ic-card-horizontal,ins.sc-ic-card-horizontal,kbd.sc-ic-card-horizontal,q.sc-ic-card-horizontal,s.sc-ic-card-horizontal,samp.sc-ic-card-horizontal,small.sc-ic-card-horizontal,strike.sc-ic-card-horizontal,strong.sc-ic-card-horizontal,sub.sc-ic-card-horizontal,sup.sc-ic-card-horizontal,tt.sc-ic-card-horizontal,var.sc-ic-card-horizontal,b.sc-ic-card-horizontal,u.sc-ic-card-horizontal,i.sc-ic-card-horizontal,center.sc-ic-card-horizontal,dl.sc-ic-card-horizontal,dt.sc-ic-card-horizontal,dd.sc-ic-card-horizontal,ol.sc-ic-card-horizontal,ul.sc-ic-card-horizontal,li.sc-ic-card-horizontal,fieldset.sc-ic-card-horizontal,form.sc-ic-card-horizontal,label.sc-ic-card-horizontal,legend.sc-ic-card-horizontal,table.sc-ic-card-horizontal,caption.sc-ic-card-horizontal,tbody.sc-ic-card-horizontal,tfoot.sc-ic-card-horizontal,thead.sc-ic-card-horizontal,tr.sc-ic-card-horizontal,th.sc-ic-card-horizontal,td.sc-ic-card-horizontal,article.sc-ic-card-horizontal,aside.sc-ic-card-horizontal,canvas.sc-ic-card-horizontal,details.sc-ic-card-horizontal,embed.sc-ic-card-horizontal,figure.sc-ic-card-horizontal,figcaption.sc-ic-card-horizontal,footer.sc-ic-card-horizontal,header.sc-ic-card-horizontal,hgroup.sc-ic-card-horizontal,menu.sc-ic-card-horizontal,nav.sc-ic-card-horizontal,output.sc-ic-card-horizontal,ruby.sc-ic-card-horizontal,section.sc-ic-card-horizontal,summary.sc-ic-card-horizontal,time.sc-ic-card-horizontal,mark.sc-ic-card-horizontal,audio.sc-ic-card-horizontal,video.sc-ic-card-horizontal{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-card-horizontal-h{display:flex;--card-max-width:548px;--image-size:114px;--message-max-lines:2}/*!@.card.small*/.card.small.sc-ic-card-horizontal{--card-max-width:360px}/*!@.card.large*/.card.large.sc-ic-card-horizontal{--card-max-width:720px;--image-size:142px;--message-max-lines:3}/*!@.card.extra-large*/.card.extra-large.sc-ic-card-horizontal{--card-max-width:1130px;--image-size:186px;--message-max-lines:5}/*!@a*/a.sc-ic-card-horizontal{text-decoration:none !important;color:var(--ic-card-text-primary) !important}/*!@button*/button.sc-ic-card-horizontal{border:none;background-color:transparent;outline:var(--ic-hc-focus-outline);padding:0}/*!@.card,\n.card.clickable*/.card.sc-ic-card-horizontal,.card.clickable.sc-ic-card-horizontal{display:flex;flex-direction:row;border:var(--ic-space-1px) solid var(--ic-card-border-primary);border-radius:var(--ic-border-radius);box-sizing:border-box;text-align:left;color:var(--ic-card-text-primary);transition:var(--ic-easing-transition-fast);position:relative;max-width:var(--card-max-width);height:-moz-fit-content;height:fit-content;width:var(--card-horizontal-width, -moz-fit-content);width:var(--card-horizontal-width, fit-content)}/*!@.dark.card,\n.dark.card.clickable*/.dark.card.sc-ic-card-horizontal,.dark.card.clickable.sc-ic-card-horizontal{border:var(--ic-border-width) solid\n var(--ic-color-border-neutral-pressed-dark)}/*!@.card.clickable:hover*/.card.clickable.sc-ic-card-horizontal:hover{background-color:var(--ic-card-background-hover);border:var(--ic-space-1px) solid var(--ic-card-hover-border-color);cursor:pointer}/*!@.card.clickable:focus,\n.card.clickable.focussed*/.card.clickable.sc-ic-card-horizontal:focus,.card.clickable.focussed.sc-ic-card-horizontal{background-color:var(--ic-card-background-hover);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);border:var(--ic-space-1px) solid var(--ic-card-pressed-border-color)}/*!@.card.clickable:active*/.card.clickable.sc-ic-card-horizontal:active{background-color:var(--ic-card-background-pressed);box-shadow:var(--ic-border-focus)}/*!@.card.disabled*/.card.disabled.sc-ic-card-horizontal{border:var(--ic-space-1px) dashed var(--ic-card-disabled-border-color)}/*!@.card-header*/.card-header.sc-ic-card-horizontal{display:flex;align-items:center}/*!@.icon*/.icon.sc-ic-card-horizontal{display:flex;align-items:center;padding-right:var(--ic-space-xs)}/*!@.card ::slotted(svg)*/.card .sc-ic-card-horizontal-s>svg{fill:var(--ic-card-icon)}/*!@.card.disabled ::slotted(svg)*/.card.disabled .sc-ic-card-horizontal-s>svg{fill:var(--ic-card-disabled-text)}/*!@.card.clickable .card-title*/.card.clickable.sc-ic-card-horizontal .card-title.sc-ic-card-horizontal{--ic-typography-color:var(--ic-card-clickable-text);color:var(--ic-card-clickable-text);text-decoration:underline;text-decoration-thickness:var(--ic-space-1px)}/*!@.card.clickable:hover .card-title,\n.card.clickable:focus .card-title,\n.card.clickable.focussed .card-title*/.card.clickable.sc-ic-card-horizontal:hover .card-title.sc-ic-card-horizontal,.card.clickable.sc-ic-card-horizontal:focus .card-title.sc-ic-card-horizontal,.card.clickable.focussed.sc-ic-card-horizontal .card-title.sc-ic-card-horizontal{display:inline-block;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}/*!@.card.clickable:active .card-title*/.card.clickable.sc-ic-card-horizontal:active .card-title.sc-ic-card-horizontal{text-decoration:none}/*!@.card.disabled .card-title*/.card.disabled.sc-ic-card-horizontal .card-title.sc-ic-card-horizontal{text-decoration:underline;text-decoration-thickness:var(--ic-space-1px);text-decoration-color:var(--ic-card-disabled-text);color:var(--ic-card-disabled-text);--ic-typography-color:var(--ic-card-disabled-text)}/*!@.card-message*/.card-message.sc-ic-card-horizontal{margin-top:var(--ic-space-xxxs);align-items:left}/*!@.card.disabled .card-message*/.card.disabled.sc-ic-card-horizontal .card-message.sc-ic-card-horizontal{--ic-typography-color:var(--ic-card-disabled-text)}/*!@.image*/.image.sc-ic-card-horizontal{display:flex;border-radius:var(--ic-border-radius)}/*!@.image ::slotted([slot=\"image\"])*/.image .sc-ic-card-horizontal-s>[slot=\"image\"]{height:var(--image-size);width:var(--image-size)}/*!@.card-content*/.card-content.sc-ic-card-horizontal{display:flex;flex-direction:column;padding:var(--ic-space-md)}/*!@.card .card-title ::slotted([slot=\"heading\"]),\n.card .card-title ic-typography p*/.card .card-title .sc-ic-card-horizontal-s>[slot=\"heading\"],.card.sc-ic-card-horizontal .card-title.sc-ic-card-horizontal ic-typography.sc-ic-card-horizontal p.sc-ic-card-horizontal{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(var(--card-max-width) - var(--ic-space-xl))}/*!@.card.with-icon .card-title ::slotted([slot=\"heading\"]),\n.card.with-icon .card-title ic-typography p*/.card.with-icon .card-title .sc-ic-card-horizontal-s>[slot=\"heading\"],.card.with-icon.sc-ic-card-horizontal .card-title.sc-ic-card-horizontal ic-typography.sc-ic-card-horizontal p.sc-ic-card-horizontal{max-width:calc(var(--card-max-width) - (2 * var(--ic-space-xl)))}/*!@.card.with-image .card-title ::slotted([slot=\"heading\"]),\n.card.with-image .card-title ic-typography p*/.card.with-image .card-title .sc-ic-card-horizontal-s>[slot=\"heading\"],.card.with-image.sc-ic-card-horizontal .card-title.sc-ic-card-horizontal ic-typography.sc-ic-card-horizontal p.sc-ic-card-horizontal{max-width:calc(\n var(--card-max-width) - var(--image-size) - var(--ic-space-xl)\n )}/*!@.card.with-image.with-icon .card-title ::slotted([slot=\"heading\"]),\n.card.with-image.with-icon .card-title ic-typography p*/.card.with-image.with-icon .card-title .sc-ic-card-horizontal-s>[slot=\"heading\"],.card.with-image.with-icon.sc-ic-card-horizontal .card-title.sc-ic-card-horizontal ic-typography.sc-ic-card-horizontal p.sc-ic-card-horizontal{max-width:calc(\n var(--card-max-width) - var(--image-size) - (2 * var(--ic-space-xl))\n )}/*!@.card .card-message ::slotted([slot=\"message\"]),\n.card .card-message ic-typography*/.card .card-message .sc-ic-card-horizontal-s>[slot=\"message\"],.card.sc-ic-card-horizontal .card-message.sc-ic-card-horizontal ic-typography.sc-ic-card-horizontal{display:-webkit-box;-webkit-box-orient:vertical;line-clamp:var(--message-max-lines, initial);-webkit-line-clamp:var(--message-max-lines, initial);overflow:hidden}@media (forced-colors: active){/*!@.card ::slotted(svg)*/.card .sc-ic-card-horizontal-s>svg{fill:currentcolor}/*!@.card.disabled ::slotted(svg)*/.card.disabled .sc-ic-card-horizontal-s>svg{fill:GrayText !important}/*!@.card.disabled*/.card.disabled.sc-ic-card-horizontal{border-color:GrayText !important}/*!@.card.disabled .card-message,\n .card.disabled .card-title*/.card.disabled.sc-ic-card-horizontal .card-message.sc-ic-card-horizontal,.card.disabled.sc-ic-card-horizontal .card-title.sc-ic-card-horizontal{color:GrayText;--ic-typography-color:GrayText}}";
|
9722
9794
|
|
@@ -9731,10 +9803,6 @@ class Card {
|
|
9731
9803
|
constructor(hostRef) {
|
9732
9804
|
registerInstance(this, hostRef);
|
9733
9805
|
this.hostMutationObserver = null;
|
9734
|
-
this.hostMutationCallback = (mutationList) => {
|
9735
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList" &&
|
9736
|
-
checkSlotInChildMutations(addedNodes, removedNodes, "image"))) ;
|
9737
|
-
};
|
9738
9806
|
this.parentFocussed = () => {
|
9739
9807
|
this.isFocussed = true;
|
9740
9808
|
};
|
@@ -9783,7 +9851,7 @@ class Card {
|
|
9783
9851
|
!isSlotUsed(this.el, "heading") &&
|
9784
9852
|
onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Card");
|
9785
9853
|
this.updateTheme();
|
9786
|
-
this.hostMutationObserver = new MutationObserver(
|
9854
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "image"));
|
9787
9855
|
this.hostMutationObserver.observe(this.el, {
|
9788
9856
|
childList: true,
|
9789
9857
|
});
|
@@ -9901,21 +9969,6 @@ class CardVertical {
|
|
9901
9969
|
this.toggleExpanded = () => {
|
9902
9970
|
this.areaExpanded = !this.areaExpanded;
|
9903
9971
|
};
|
9904
|
-
this.hostMutationCallback = (mutationList) => {
|
9905
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
9906
|
-
? checkSlotInChildMutations$1(addedNodes, removedNodes, [
|
9907
|
-
"message",
|
9908
|
-
"adornment",
|
9909
|
-
"expanded-content",
|
9910
|
-
"image-top",
|
9911
|
-
"image-mid",
|
9912
|
-
"icon",
|
9913
|
-
"interaction-button",
|
9914
|
-
"badge",
|
9915
|
-
"interaction-controls",
|
9916
|
-
])
|
9917
|
-
: false)) ;
|
9918
|
-
};
|
9919
9972
|
this.areaExpanded = false;
|
9920
9973
|
this.isFocussed = false;
|
9921
9974
|
this.monochrome = false;
|
@@ -9961,7 +10014,17 @@ class CardVertical {
|
|
9961
10014
|
!isSlotUsed$1(this.el, "heading") &&
|
9962
10015
|
onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Card");
|
9963
10016
|
this.updateTheme();
|
9964
|
-
this.hostMutationObserver = new MutationObserver(
|
10017
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, [
|
10018
|
+
"message",
|
10019
|
+
"adornment",
|
10020
|
+
"expanded-content",
|
10021
|
+
"image-top",
|
10022
|
+
"image-mid",
|
10023
|
+
"icon",
|
10024
|
+
"interaction-button",
|
10025
|
+
"badge",
|
10026
|
+
"interaction-controls",
|
10027
|
+
]));
|
9965
10028
|
this.hostMutationObserver.observe(this.el, {
|
9966
10029
|
childList: true,
|
9967
10030
|
});
|
@@ -10628,7 +10691,7 @@ var descendingIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24
|
|
10628
10691
|
<path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"></path>
|
10629
10692
|
</svg>`;
|
10630
10693
|
|
10631
|
-
const icDataTableCss = "/*!@:host*/.sc-ic-data-table-h{position:relative;display:inline-flex;max-height:100%;width:var(--table-width, 100%);height:100%;min-width:var(--table-min-width);max-width:var(--table-max-width)}/*!@tbody*/tbody.sc-ic-data-table{vertical-align:top}/*!@.table-container*/.table-container.sc-ic-data-table{position:relative;height:calc(100% - var(--ic-space-xxxs));display:flex;flex-direction:column;width:100%}/*!@.cell-container*/.cell-container.sc-ic-data-table{display:flex;min-height:1.5rem;overflow-y:hidden;height:var(--row-height);--ic-typography-color:var(--ic-data-table-text-default-emphasis)}/*!@.truncation-show-hide*/.truncation-show-hide.sc-ic-data-table{overflow:visible;display:block}/*!@.cell-icon.truncation-show-hide*/.cell-icon.truncation-show-hide.sc-ic-data-table{display:flex}/*!@.cell-container:not(.data-type-element, .truncation-show-hide)*/.cell-container.sc-ic-data-table:not(.data-type-element,.truncation-show-hide).sc-ic-data-table{overflow-x:hidden}/*!@ic-loading-indicator*/ic-loading-indicator.sc-ic-data-table{position:sticky;top:20px}/*!@.table-row-container*/.table-row-container.sc-ic-data-table{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}/*!@:host([show-pagination=\"true\"]) .table-row-container*/[show-pagination=\"true\"].sc-ic-data-table-h .table-row-container.sc-ic-data-table{height:calc(100% - 3.5625rem)}/*!@table*/table.sc-ic-data-table{table-layout:var(--table-layout, \"fixed\");border-spacing:0;width:100%;height:var(--table-height, auto)}/*!@.table-row-container:focus*/.table-row-container.sc-ic-data-table:focus{outline:none;box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:1}/*!@:host([embedded=\"true\"]) .table-row-container*/[embedded=\"true\"].sc-ic-data-table-h .table-row-container.sc-ic-data-table{border:var(--ic-space-1px) solid var(--ic-data-table-border)}/*!@.column-header-inner-container*/.column-header-inner-container.sc-ic-data-table{padding:var(--ic-space-xs);box-sizing:border-box}/*!@.column-header-inner-container ic-tooltip*/.column-header-inner-container.sc-ic-data-table ic-tooltip.sc-ic-data-table{pointer-events:none}/*!@.column-header-inner-container ic-tooltip.show-trunc-tooltip*/.column-header-inner-container.sc-ic-data-table ic-tooltip.show-trunc-tooltip.sc-ic-data-table{pointer-events:auto}/*!@.column-header-inner-container ic-tooltip .column-header-text*/.column-header-inner-container.sc-ic-data-table ic-tooltip.sc-ic-data-table .column-header-text.sc-ic-data-table{--ic-line-clamp:1}/*!@.column-header-sticky*/.column-header-sticky.sc-ic-data-table{position:sticky;top:0;z-index:1}/*!@.column-header-overlay*/.column-header-overlay.sc-ic-data-table{position:sticky;top:0;z-index:1;box-shadow:0 0.375rem var(--ic-space-xs) calc(var(--ic-space-xxs * -1))\n rgb(0 0 0 / 20%)}/*!@.row-header-sticky*/.row-header-sticky.sc-ic-data-table{position:sticky;left:0}/*!@.column-header,\n.table-row*/.column-header.sc-ic-data-table,.table-row.sc-ic-data-table{box-sizing:border-box}/*!@.table-row-selected*/.table-row-selected.sc-ic-data-table{background-color:var(--ic-data-table-cell-background-selected) !important}/*!@.table-row:hover*/.table-row.sc-ic-data-table:hover{background-color:var(--ic-data-table-cell-background-hover) !important}/*!@.table-row-selected:hover*/.table-row-selected.sc-ic-data-table:hover{background-color:var(\n --ic-data-table-cell-background-selected-hover\n ) !important}/*!@.sort-button*/.sort-button.sc-ic-data-table{margin-left:auto}/*!@.sort-button:hover*/.sort-button.sc-ic-data-table:hover{background-color:var(--ic-data-table-icon-button-background-hover)}/*!@.sort-button:active*/.sort-button.sc-ic-data-table:active{background-color:var(--ic-data-table-icon-button-background-pressed)}/*!@.sort-button svg*/.sort-button.sc-ic-data-table svg.sc-ic-data-table{color:var(--ic-data-table-sort-toggle-icon)}/*!@.sort-button-unsorted svg*/.sort-button-unsorted.sc-ic-data-table svg.sc-ic-data-table{color:var(--ic-data-table-sort-toggle-icon-default)}/*!@.table-density-dense .column-header-inner-container,\ntd.table-density-dense*/.table-density-dense.sc-ic-data-table .column-header-inner-container.sc-ic-data-table,td.table-density-dense.sc-ic-data-table{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}/*!@.text-dense*/.text-dense.sc-ic-data-table{font-size:var(--ic-font-size-label)}/*!@.table-density-spacious .column-header-inner-container,\ntd.table-density-spacious*/.table-density-spacious.sc-ic-data-table .column-header-inner-container.sc-ic-data-table,td.table-density-spacious.sc-ic-data-table{padding:0.625rem var(--ic-space-xs) !important}/*!@.text-spacious*/.text-spacious.sc-ic-data-table{font-size:1.125rem}/*!@.column-header-text*/.column-header-text.sc-ic-data-table{font-weight:var(--ic-font-weight-bold)}/*!@.dummy-column-header-text*/.dummy-column-header-text.sc-ic-data-table{white-space:nowrap;overflow:hidden;height:0;width:-moz-fit-content;width:fit-content}/*!@.row-header,\n.column-header*/.row-header.sc-ic-data-table,.column-header.sc-ic-data-table{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-data-table-header-background);border-right:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);border-bottom:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);color:var(--ic-data-table-header-text)}/*!@.column-header*/.column-header.sc-ic-data-table{padding:0;width:var(--column-width);min-width:var(--column-min-width, 4rem);max-width:var(--column-max-width)}/*!@.column-header:last-child*/.column-header.sc-ic-data-table:last-child{border-right:none}/*!@.scrollable .column-header:last-child*/.scrollable.sc-ic-data-table .column-header.sc-ic-data-table:last-child{border-right:var(--ic-space-1px) solid var(--ic-data-table-header-keyline) !important}/*!@:host([embedded=\"true\"]) tr:last-child .table-cell,\n:host([embedded=\"true\"]) tr:last-child .row-header*/[embedded=\"true\"].sc-ic-data-table-h tr.sc-ic-data-table:last-child .table-cell.sc-ic-data-table,[embedded=\"true\"].sc-ic-data-table-h tr.sc-ic-data-table:last-child .row-header.sc-ic-data-table{border-bottom:none}/*!@.column-header-alignment-left,\n.row-header-alignment-left,\n.cell-alignment-left*/.column-header-alignment-left.sc-ic-data-table,.row-header-alignment-left.sc-ic-data-table,.cell-alignment-left.sc-ic-data-table{text-align:left !important;justify-content:start !important}/*!@.column-header-alignment-right,\n.row-header-alignment-right,\n.cell-alignment-right*/.column-header-alignment-right.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table,.cell-alignment-right.sc-ic-data-table{text-align:right !important;justify-content:end !important}/*!@.cell-alignment-right.truncation-tooltip ic-tooltip ic-typography*/.cell-alignment-right.truncation-tooltip.sc-ic-data-table ic-tooltip.sc-ic-data-table ic-typography.sc-ic-data-table{padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}/*!@.cell-alignment-right.truncation-show-hide ic-typography*/.cell-alignment-right.truncation-show-hide.sc-ic-data-table ic-typography.sc-ic-data-table{--ellipsis-padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}/*!@.column-header-alignment-center,\n.row-header-alignment-center,\n.cell-alignment-center*/.column-header-alignment-center.sc-ic-data-table,.row-header-alignment-center.sc-ic-data-table,.cell-alignment-center.sc-ic-data-table{text-align:center !important;justify-content:center !important}/*!@.table-row*/.table-row.sc-ic-data-table{background-color:var(--ic-data-table-cell-background)}/*!@.table-row:nth-child(even)*/.table-row.sc-ic-data-table:nth-child(even){background-color:var(--ic-data-table-cell-background-stripe)}/*!@.table-cell*/.table-cell.sc-ic-data-table{padding:var(--ic-space-xs);border-bottom:solid var(--ic-data-table-cell-keyline) var(--ic-space-1px);overflow:hidden;box-sizing:border-box;max-width:var(--column-max-width);min-width:var(--column-min-width)}/*!@.table-cell.with-overflow*/.table-cell.with-overflow.sc-ic-data-table{overflow:visible}/*!@.data-type-string,\n.data-type-address*/.data-type-string.sc-ic-data-table,.data-type-address.sc-ic-data-table{text-align:left;vertical-align:top}/*!@.data-type-number,\n.data-type-date*/.data-type-number.sc-ic-data-table,.data-type-date.sc-ic-data-table{text-align:right;justify-content:end;vertical-align:top}/*!@.cell-alignment-top*/.cell-alignment-top.sc-ic-data-table{vertical-align:top;align-items:flex-start}/*!@.cell-alignment-middle*/.cell-alignment-middle.sc-ic-data-table{vertical-align:middle;align-items:center}/*!@.cell-alignment-bottom*/.cell-alignment-bottom.sc-ic-data-table{vertical-align:bottom;align-items:flex-end}/*!@.cell-emphasis-low ic-typography*/.cell-emphasis-low.sc-ic-data-table ic-typography.sc-ic-data-table{--ic-typography-color:var(--ic-data-table-text-low-emphasis)}/*!@.cell-emphasis-high ic-typography*/.cell-emphasis-high.sc-ic-data-table ic-typography.sc-ic-data-table{--ic-typography-color:var(--ic-data-table-text-high-emphasis);font-weight:var(--ic-font-weight-bold)}/*!@.pagination-container*/.pagination-container.sc-ic-data-table{background-color:var(--ic-data-table-pagination-bar-background-color);border-top:var(--ic-space-1px) solid\n var(--ic-data-table-pagination-bar-keyline)}/*!@.screen-reader-sort-text,\n.table-caption*/.screen-reader-sort-text.sc-ic-data-table,.table-caption.sc-ic-data-table{position:absolute;left:-100rem}/*!@.table-cell,\n.column-header,\n.row-header*/.table-cell.sc-ic-data-table,.column-header.sc-ic-data-table,.row-header.sc-ic-data-table{word-wrap:break-word;white-space:pre-wrap}/*!@.loading-empty*/.loading-empty.sc-ic-data-table{padding:var(--ic-space-xl) var(--ic-space-xxl);margin-top:var(--ic-space-xl)}/*!@.updating-state*/.updating-state.sc-ic-data-table{padding:0;border-bottom:var(--ic-space-1px) solid var(--ic-data-table-header-keyline)}/*!@.updating-state-headers*/.updating-state-headers.sc-ic-data-table{border-bottom:none}/*!@.loading*/.loading.sc-ic-data-table{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow)}/*!@.loading.show-background*/.loading.show-background.sc-ic-data-table{background-color:var(--ic-data-table-overlay-background);border:var(--ic-space-1px) solid var(--ic-data-table-overlay-border)}/*!@.loading.show*/.loading.show.sc-ic-data-table{opacity:1}/*!@.icon,\n::slotted(svg)*/.icon.sc-ic-data-table,.sc-ic-data-table-s>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);margin-right:var(--ic-space-xxs)}/*!@.column-header .icon > svg,\n.column-header ::slotted(svg)*/.column-header.sc-ic-data-table .icon.sc-ic-data-table>svg.sc-ic-data-table,.column-header.sc-ic-data-table-s>svg,.column-header .sc-ic-data-table-s>svg{fill:var(--ic-data-table-icon)}/*!@.table-cell .icon > svg,\n.table-cell ::slotted(svg)*/.table-cell.sc-ic-data-table .icon.sc-ic-data-table>svg.sc-ic-data-table,.table-cell.sc-ic-data-table-s>svg,.table-cell .sc-ic-data-table-s>svg{fill:var(--ic-data-table-icon-default-emphasis)}/*!@.cell-emphasis-high .icon > svg,\n.cell-emphasis-high ::slotted(svg)*/.cell-emphasis-high.sc-ic-data-table .icon.sc-ic-data-table>svg.sc-ic-data-table,.cell-emphasis-high.sc-ic-data-table-s>svg,.cell-emphasis-high .sc-ic-data-table-s>svg{fill:var(--ic-data-table-icon-high-emphasis)}/*!@.cell-emphasis-low .icon > svg,\n.cell-emphasis-low ::slotted(svg)*/.cell-emphasis-low.sc-ic-data-table .icon.sc-ic-data-table>svg.sc-ic-data-table,.cell-emphasis-low.sc-ic-data-table-s>svg,.cell-emphasis-low .sc-ic-data-table-s>svg{fill:var(--ic-data-table-icon-low-emphasis)}/*!@.column-header-alignment-right > .icon,\n.row-header-alignment-right > .icon,\n.cell-alignment-right > .icon,\n.column-header-alignment-right > ::slotted(svg),\n.row-header-alignment-right > ::slotted(svg),\n.cell-alignment-right > ::slotted(svg)*/.column-header-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.cell-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.column-header-alignment-right>.sc-ic-data-table-s>svg,.row-header-alignment-right>.sc-ic-data-table-s>svg,.cell-alignment-right>.sc-ic-data-table-s>svg{margin-right:auto}/*!@.column-header-alignment-center > ic-typography,\n.row-header-alignment-right > ic-typography,\n.cell-alignment-center > ic-typography*/.column-header-alignment-center.sc-ic-data-table>ic-typography.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table>ic-typography.sc-ic-data-table,.cell-alignment-center.sc-ic-data-table>ic-typography.sc-ic-data-table{flex:1}/*!@.icon > svg*/.icon.sc-ic-data-table>svg.sc-ic-data-table{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}/*!@.truncation-tooltip ic-typography*/.truncation-tooltip.sc-ic-data-table ic-typography.sc-ic-data-table{display:-webkit-box;-webkit-line-clamp:var(--ic-line-clamp, 0);-webkit-box-orient:vertical;overflow:hidden}/*!@.truncation-tooltip ic-typography,\n.truncation-show-hide ic-typography*/.truncation-tooltip.sc-ic-data-table ic-typography.sc-ic-data-table,.truncation-show-hide.sc-ic-data-table ic-typography.sc-ic-data-table{white-space:normal}/*!@.ic-tooltip-overflow*/.ic-tooltip-overflow.sc-ic-data-table{overflow:hidden;width:100%}/*!@.action-element*/.action-element.sc-ic-data-table{display:flex;justify-content:right}/*!@.cell-grid-wrapper*/.cell-grid-wrapper.sc-ic-data-table{display:grid;grid-template-columns:auto auto}@media screen and (min-width: 577px){/*!@.column-header-inner-container*/.column-header-inner-container.sc-ic-data-table{display:flex;align-items:center}}";
|
10694
|
+
const icDataTableCss = "/*!@:host*/.sc-ic-data-table-h{position:relative;display:inline-flex;max-height:100%;width:var(--table-width, 100%);height:100%;min-width:var(--table-min-width);max-width:var(--table-max-width)}/*!@tbody*/tbody.sc-ic-data-table{vertical-align:top}/*!@.table-container*/.table-container.sc-ic-data-table{position:relative;height:calc(100% - var(--ic-space-xxxs));display:flex;flex-direction:column;width:100%}/*!@.cell-container*/.cell-container.sc-ic-data-table{display:flex;min-height:1.5rem;overflow-y:hidden;height:var(--row-height);--ic-typography-color:var(--ic-data-table-text-default-emphasis)}/*!@.truncation-show-hide*/.truncation-show-hide.sc-ic-data-table{display:block}/*!@.cell-icon.truncation-show-hide*/.cell-icon.truncation-show-hide.sc-ic-data-table{display:flex}/*!@.cell-container:not(.data-type-element, .truncation-show-hide)*/.cell-container.sc-ic-data-table:not(.data-type-element,.truncation-show-hide).sc-ic-data-table{overflow-x:hidden}/*!@ic-loading-indicator*/ic-loading-indicator.sc-ic-data-table{position:sticky;top:20px}/*!@.table-row-container*/.table-row-container.sc-ic-data-table{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}/*!@:host([show-pagination=\"true\"]) .table-row-container*/[show-pagination=\"true\"].sc-ic-data-table-h .table-row-container.sc-ic-data-table{height:calc(100% - 3.5625rem)}/*!@table*/table.sc-ic-data-table{table-layout:var(--table-layout, \"fixed\");border-spacing:0;width:100%;height:var(--table-height, auto)}/*!@.table-row-container:focus*/.table-row-container.sc-ic-data-table:focus{outline:none;box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:1}/*!@:host([embedded=\"true\"]) .table-row-container*/[embedded=\"true\"].sc-ic-data-table-h .table-row-container.sc-ic-data-table{border:var(--ic-space-1px) solid var(--ic-data-table-border)}/*!@.column-header-inner-container*/.column-header-inner-container.sc-ic-data-table{padding:var(--ic-space-xs);box-sizing:border-box}/*!@.column-header-inner-container ic-tooltip*/.column-header-inner-container.sc-ic-data-table ic-tooltip.sc-ic-data-table{pointer-events:none}/*!@.column-header-inner-container ic-tooltip.show-trunc-tooltip*/.column-header-inner-container.sc-ic-data-table ic-tooltip.show-trunc-tooltip.sc-ic-data-table{pointer-events:auto}/*!@.column-header-inner-container ic-tooltip .column-header-text*/.column-header-inner-container.sc-ic-data-table ic-tooltip.sc-ic-data-table .column-header-text.sc-ic-data-table{--ic-line-clamp:1}/*!@.column-header-sticky*/.column-header-sticky.sc-ic-data-table{position:sticky;top:0;z-index:1}/*!@.column-header-overlay*/.column-header-overlay.sc-ic-data-table{position:sticky;top:0;z-index:1;box-shadow:0 0.375rem var(--ic-space-xs) calc(var(--ic-space-xxs * -1))\n rgb(0 0 0 / 20%)}/*!@.row-header-sticky*/.row-header-sticky.sc-ic-data-table{position:sticky;left:0}/*!@.column-header,\n.table-row*/.column-header.sc-ic-data-table,.table-row.sc-ic-data-table{box-sizing:border-box}/*!@.table-row-selected*/.table-row-selected.sc-ic-data-table{background-color:var(--ic-data-table-cell-background-selected) !important}/*!@.table-row:hover*/.table-row.sc-ic-data-table:hover{background-color:var(--ic-data-table-cell-background-hover) !important}/*!@.table-row-selected:hover*/.table-row-selected.sc-ic-data-table:hover{background-color:var(\n --ic-data-table-cell-background-selected-hover\n ) !important}/*!@.sort-button*/.sort-button.sc-ic-data-table{margin-left:auto}/*!@.sort-button:hover*/.sort-button.sc-ic-data-table:hover{background-color:var(--ic-data-table-icon-button-background-hover)}/*!@.sort-button:active*/.sort-button.sc-ic-data-table:active{background-color:var(--ic-data-table-icon-button-background-pressed)}/*!@.sort-button svg*/.sort-button.sc-ic-data-table svg.sc-ic-data-table{color:var(--ic-data-table-sort-toggle-icon)}/*!@.sort-button-unsorted svg*/.sort-button-unsorted.sc-ic-data-table svg.sc-ic-data-table{color:var(--ic-data-table-sort-toggle-icon-default)}/*!@.table-density-dense .column-header-inner-container,\ntd.table-density-dense*/.table-density-dense.sc-ic-data-table .column-header-inner-container.sc-ic-data-table,td.table-density-dense.sc-ic-data-table{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}/*!@.text-dense*/.text-dense.sc-ic-data-table{font-size:var(--ic-font-size-label)}/*!@.table-density-spacious .column-header-inner-container,\ntd.table-density-spacious*/.table-density-spacious.sc-ic-data-table .column-header-inner-container.sc-ic-data-table,td.table-density-spacious.sc-ic-data-table{padding:0.625rem var(--ic-space-xs) !important}/*!@.text-spacious*/.text-spacious.sc-ic-data-table{font-size:1.125rem}/*!@.column-header-text*/.column-header-text.sc-ic-data-table{font-weight:var(--ic-font-weight-bold)}/*!@.dummy-column-header-text*/.dummy-column-header-text.sc-ic-data-table{white-space:nowrap;overflow:hidden;height:0;width:-moz-fit-content;width:fit-content}/*!@.row-header,\n.column-header*/.row-header.sc-ic-data-table,.column-header.sc-ic-data-table{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-data-table-header-background);border-right:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);border-bottom:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);color:var(--ic-data-table-header-text)}/*!@.column-header*/.column-header.sc-ic-data-table{padding:0;width:var(--column-width);min-width:var(--column-min-width, 4rem);max-width:var(--column-max-width)}/*!@.column-header:last-child*/.column-header.sc-ic-data-table:last-child{border-right:none}/*!@.scrollable .column-header:last-child*/.scrollable.sc-ic-data-table .column-header.sc-ic-data-table:last-child{border-right:var(--ic-space-1px) solid var(--ic-data-table-header-keyline) !important}/*!@:host([embedded=\"true\"]) tr:last-child .table-cell,\n:host([embedded=\"true\"]) tr:last-child .row-header*/[embedded=\"true\"].sc-ic-data-table-h tr.sc-ic-data-table:last-child .table-cell.sc-ic-data-table,[embedded=\"true\"].sc-ic-data-table-h tr.sc-ic-data-table:last-child .row-header.sc-ic-data-table{border-bottom:none}/*!@.column-header-alignment-left,\n.row-header-alignment-left,\n.cell-alignment-left*/.column-header-alignment-left.sc-ic-data-table,.row-header-alignment-left.sc-ic-data-table,.cell-alignment-left.sc-ic-data-table{text-align:left !important;justify-content:start !important}/*!@.column-header-alignment-right,\n.row-header-alignment-right,\n.cell-alignment-right*/.column-header-alignment-right.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table,.cell-alignment-right.sc-ic-data-table{text-align:right !important;justify-content:end !important}/*!@.cell-alignment-right.truncation-tooltip ic-tooltip ic-typography*/.cell-alignment-right.truncation-tooltip.sc-ic-data-table ic-tooltip.sc-ic-data-table ic-typography.sc-ic-data-table{padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}/*!@.cell-alignment-right.truncation-show-hide ic-typography*/.cell-alignment-right.truncation-show-hide.sc-ic-data-table ic-typography.sc-ic-data-table{--ellipsis-padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}/*!@.column-header-alignment-center,\n.row-header-alignment-center,\n.cell-alignment-center*/.column-header-alignment-center.sc-ic-data-table,.row-header-alignment-center.sc-ic-data-table,.cell-alignment-center.sc-ic-data-table{text-align:center !important;justify-content:center !important}/*!@.table-row*/.table-row.sc-ic-data-table{background-color:var(--ic-data-table-cell-background)}/*!@.table-row:nth-child(even)*/.table-row.sc-ic-data-table:nth-child(even){background-color:var(--ic-data-table-cell-background-stripe)}/*!@.table-cell*/.table-cell.sc-ic-data-table{padding:var(--ic-space-xs);border-bottom:solid var(--ic-data-table-cell-keyline) var(--ic-space-1px);overflow:hidden;box-sizing:border-box;max-width:var(--column-max-width);min-width:var(--column-min-width)}/*!@.table-cell.with-overflow*/.table-cell.with-overflow.sc-ic-data-table{overflow:visible}/*!@.data-type-string,\n.data-type-address*/.data-type-string.sc-ic-data-table,.data-type-address.sc-ic-data-table{text-align:left;vertical-align:top}/*!@.data-type-number,\n.data-type-date*/.data-type-number.sc-ic-data-table,.data-type-date.sc-ic-data-table{text-align:right;justify-content:end;vertical-align:top}/*!@.cell-alignment-top*/.cell-alignment-top.sc-ic-data-table{vertical-align:top;align-items:flex-start}/*!@.cell-alignment-middle*/.cell-alignment-middle.sc-ic-data-table{vertical-align:middle;align-items:center}/*!@.cell-alignment-bottom*/.cell-alignment-bottom.sc-ic-data-table{vertical-align:bottom;align-items:flex-end}/*!@.cell-emphasis-low ic-typography*/.cell-emphasis-low.sc-ic-data-table ic-typography.sc-ic-data-table{--ic-typography-color:var(--ic-data-table-text-low-emphasis)}/*!@.cell-emphasis-high ic-typography*/.cell-emphasis-high.sc-ic-data-table ic-typography.sc-ic-data-table{--ic-typography-color:var(--ic-data-table-text-high-emphasis);font-weight:var(--ic-font-weight-bold)}/*!@.pagination-container*/.pagination-container.sc-ic-data-table{background-color:var(--ic-data-table-pagination-bar-background-color);border-top:var(--ic-space-1px) solid\n var(--ic-data-table-pagination-bar-keyline)}/*!@.screen-reader-sort-text,\n.table-caption*/.screen-reader-sort-text.sc-ic-data-table,.table-caption.sc-ic-data-table{position:absolute;left:-100rem}/*!@.table-cell,\n.column-header,\n.row-header*/.table-cell.sc-ic-data-table,.column-header.sc-ic-data-table,.row-header.sc-ic-data-table{word-wrap:break-word;white-space:pre-wrap}/*!@.loading-empty*/.loading-empty.sc-ic-data-table{padding:var(--ic-space-xl) var(--ic-space-xxl);margin-top:var(--ic-space-xl)}/*!@.updating-state*/.updating-state.sc-ic-data-table{padding:0;border-bottom:var(--ic-space-1px) solid var(--ic-data-table-header-keyline)}/*!@.updating-state-headers*/.updating-state-headers.sc-ic-data-table{border-bottom:none}/*!@.loading*/.loading.sc-ic-data-table{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow);z-index:calc(var(--ic-z-index-dialog) - 1)}/*!@.loading.show-background*/.loading.show-background.sc-ic-data-table{background-color:var(--ic-data-table-overlay-background);border:var(--ic-space-1px) solid var(--ic-data-table-overlay-border)}/*!@.loading.show*/.loading.show.sc-ic-data-table{opacity:1}/*!@.icon,\n::slotted(svg)*/.icon.sc-ic-data-table,.sc-ic-data-table-s>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);margin-right:var(--ic-space-xxs)}/*!@.column-header .icon > svg,\n.column-header ::slotted(svg)*/.column-header.sc-ic-data-table .icon.sc-ic-data-table>svg.sc-ic-data-table,.column-header.sc-ic-data-table-s>svg,.column-header .sc-ic-data-table-s>svg{fill:var(--ic-data-table-icon)}/*!@.table-cell .icon > svg,\n.table-cell ::slotted(svg)*/.table-cell.sc-ic-data-table .icon.sc-ic-data-table>svg.sc-ic-data-table,.table-cell.sc-ic-data-table-s>svg,.table-cell .sc-ic-data-table-s>svg{fill:var(--ic-data-table-icon-default-emphasis)}/*!@.cell-emphasis-high .icon > svg,\n.cell-emphasis-high ::slotted(svg)*/.cell-emphasis-high.sc-ic-data-table .icon.sc-ic-data-table>svg.sc-ic-data-table,.cell-emphasis-high.sc-ic-data-table-s>svg,.cell-emphasis-high .sc-ic-data-table-s>svg{fill:var(--ic-data-table-icon-high-emphasis)}/*!@.cell-emphasis-low .icon > svg,\n.cell-emphasis-low ::slotted(svg)*/.cell-emphasis-low.sc-ic-data-table .icon.sc-ic-data-table>svg.sc-ic-data-table,.cell-emphasis-low.sc-ic-data-table-s>svg,.cell-emphasis-low .sc-ic-data-table-s>svg{fill:var(--ic-data-table-icon-low-emphasis)}/*!@.column-header-alignment-right > .icon,\n.row-header-alignment-right > .icon,\n.cell-alignment-right > .icon,\n.column-header-alignment-right > ::slotted(svg),\n.row-header-alignment-right > ::slotted(svg),\n.cell-alignment-right > ::slotted(svg)*/.column-header-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.cell-alignment-right.sc-ic-data-table>.icon.sc-ic-data-table,.column-header-alignment-right>.sc-ic-data-table-s>svg,.row-header-alignment-right>.sc-ic-data-table-s>svg,.cell-alignment-right>.sc-ic-data-table-s>svg{margin-right:auto}/*!@.column-header-alignment-center > ic-typography,\n.column-header-alignment-center > .cell-text-wrapper,\n.row-header-alignment-right > ic-typography,\n.row-header-alignment-right > .cell-text-wrapper,\n.cell-alignment-center > ic-typography,\n.cell-alignment-center > .cell-text-wrapper*/.column-header-alignment-center.sc-ic-data-table>ic-typography.sc-ic-data-table,.column-header-alignment-center.sc-ic-data-table>.cell-text-wrapper.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table>ic-typography.sc-ic-data-table,.row-header-alignment-right.sc-ic-data-table>.cell-text-wrapper.sc-ic-data-table,.cell-alignment-center.sc-ic-data-table>ic-typography.sc-ic-data-table,.cell-alignment-center.sc-ic-data-table>.cell-text-wrapper.sc-ic-data-table{flex:1}/*!@.icon > svg*/.icon.sc-ic-data-table>svg.sc-ic-data-table{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}/*!@.truncation-tooltip ic-typography*/.truncation-tooltip.sc-ic-data-table ic-typography.sc-ic-data-table{display:-webkit-box;-webkit-line-clamp:var(--ic-line-clamp, 0);-webkit-box-orient:vertical;overflow:hidden}/*!@.truncation-tooltip ic-typography,\n.truncation-show-hide ic-typography*/.truncation-tooltip.sc-ic-data-table ic-typography.sc-ic-data-table,.truncation-show-hide.sc-ic-data-table ic-typography.sc-ic-data-table{white-space:normal}/*!@.ic-tooltip-overflow*/.ic-tooltip-overflow.sc-ic-data-table{overflow:hidden;width:100%}/*!@.action-element*/.action-element.sc-ic-data-table{display:flex;justify-content:right}/*!@.cell-grid-wrapper*/.cell-grid-wrapper.sc-ic-data-table{display:grid;grid-template-columns:auto auto}/*!@.loading-overlay*/.loading-overlay.sc-ic-data-table{visibility:hidden;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ic-data-table-loading-indicator-overlay-background);z-index:calc(var(--ic-z-index-dialog) - 2);opacity:0;transition:opacity var(--ic-transition-duration-slow)}/*!@.loading-overlay.show*/.loading-overlay.show.sc-ic-data-table{visibility:visible;opacity:0.6}/*!@.sr-only*/.sr-only.sc-ic-data-table{position:absolute;left:-9999px}@media (prefers-reduced-motion: reduce){/*!@.loading-overlay*/.loading-overlay.sc-ic-data-table{transition:none}}/*!@.cell-text-wrapper*/.cell-text-wrapper.sc-ic-data-table{overflow:hidden}/*!@.cell-text-wrapper > ic-typography*/.cell-text-wrapper.sc-ic-data-table>ic-typography.sc-ic-data-table{margin-left:2px}/*!@.cell-text-no-wrap*/.cell-text-no-wrap.sc-ic-data-table{word-wrap:initial}/*!@.cell-container-with-description*/.cell-container-with-description.sc-ic-data-table{display:flex;flex-direction:row}/*!@.cell-description*/.cell-description.sc-ic-data-table{display:flex;flex-direction:row;margin-top:var(--ic-space-xxs);word-break:break-all}/*!@.cell-description-text*/.cell-description-text.sc-ic-data-table{color:var(--ic-color-secondary-text)}/*!@.cell-description-icon*/.cell-description-icon.sc-ic-data-table{padding-right:var(--ic-space-xs)}/*!@.cell-description-icon > svg*/.cell-description-icon.sc-ic-data-table>svg.sc-ic-data-table{height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs));display:flex}@media screen and (min-width: 577px){/*!@.column-header-inner-container*/.column-header-inner-container.sc-ic-data-table{display:flex;align-items:center}}@media screen and (max-width: 577px){/*!@.cell-icon*/.cell-icon.sc-ic-data-table{flex-wrap:wrap}/*!@.cell-description-icon*/.cell-description-icon.sc-ic-data-table{padding-right:0}}";
|
10632
10695
|
|
10633
10696
|
/**
|
10634
10697
|
* @slot empty-state - Content is slotted below the table header when there is no data and the table is not loading.
|
@@ -10641,6 +10704,7 @@ class DataTable {
|
|
10641
10704
|
constructor(hostRef) {
|
10642
10705
|
registerInstance(this, hostRef);
|
10643
10706
|
this.icRowHeightChange = createEvent(this, "icRowHeightChange", 7);
|
10707
|
+
this.icSelectedRowChange = createEvent(this, "icSelectedRowChange", 7);
|
10644
10708
|
this.icSortChange = createEvent(this, "icSortChange", 7);
|
10645
10709
|
this.DENSITY_HEIGHT_MULTIPLIER = {
|
10646
10710
|
dense: 0.8,
|
@@ -10672,6 +10736,7 @@ class DataTable {
|
|
10672
10736
|
this.itemsPerPageChange = false;
|
10673
10737
|
this.DATA_ROW_HEIGHT_STRING = "data-row-height";
|
10674
10738
|
this.ROW_HEIGHT_CSS_VARIABLE = "--row-height";
|
10739
|
+
this.LINE_CLAMP_CSS_VARIABLE = "--ic-line-clamp";
|
10675
10740
|
this.DEFAULT_LINE_HEIGHT = 24;
|
10676
10741
|
this.densityUpdate = false;
|
10677
10742
|
this.truncationPatternUpdated = false;
|
@@ -10679,6 +10744,10 @@ class DataTable {
|
|
10679
10744
|
this.headerResizeObserver = null;
|
10680
10745
|
this.IC_TOOLTIP_STRING = "ic-tooltip";
|
10681
10746
|
this.SHOW_TRUNC_TOOLTIP_STRING = "show-trunc-tooltip";
|
10747
|
+
this.CELL_DESCRIPTION_STRING = ".cell-description";
|
10748
|
+
this.CELL_CONTAINER_WITH_DESCRIPTION_STRING = "cell-container-with-description";
|
10749
|
+
this.CELL_TEXT_WRAPPER_STRING = ".cell-text-wrapper";
|
10750
|
+
this.IC_TYPOGRAPHY_STRING = "ic-typography";
|
10682
10751
|
this.runHeaderResizeObserver = () => {
|
10683
10752
|
this.headerResizeObserver = new ResizeObserver(() => {
|
10684
10753
|
this.headerResizeCallback();
|
@@ -10692,7 +10761,7 @@ class DataTable {
|
|
10692
10761
|
const headers = this.el.shadowRoot.querySelectorAll("th.column-header");
|
10693
10762
|
headers.forEach((header) => {
|
10694
10763
|
const tooltip = header.querySelector(this.IC_TOOLTIP_STRING);
|
10695
|
-
const typographyEls = header.querySelectorAll(
|
10764
|
+
const typographyEls = header.querySelectorAll(this.IC_TYPOGRAPHY_STRING);
|
10696
10765
|
if (tooltip && typographyEls && typographyEls.length === 2) {
|
10697
10766
|
tooltip.classList.remove(this.SHOW_TRUNC_TOOLTIP_STRING);
|
10698
10767
|
if (typographyEls[1].clientWidth > typographyEls[0].clientWidth) {
|
@@ -10760,8 +10829,9 @@ class DataTable {
|
|
10760
10829
|
}
|
10761
10830
|
else {
|
10762
10831
|
if (this.truncationPattern === this.TOOLTIP_STRING && tooltip) {
|
10763
|
-
typographyEl.setAttribute("style",
|
10764
|
-
cellContainer.
|
10832
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: 0`);
|
10833
|
+
const cellTextWrapper = cellContainer.querySelector(this.CELL_TEXT_WRAPPER_STRING);
|
10834
|
+
cellTextWrapper.prepend(typographyEl);
|
10765
10835
|
tooltip.remove();
|
10766
10836
|
}
|
10767
10837
|
if (this.truncationPattern === this.SHOW_HIDE_STRING &&
|
@@ -10913,11 +10983,11 @@ class DataTable {
|
|
10913
10983
|
});
|
10914
10984
|
};
|
10915
10985
|
this.createCellContent = (columnProps, cell, cellSlotName, rowOptions, rowAlignment, hasIcon, currentRowHeight, cellValue, rowEmphasis) => {
|
10916
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
10986
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
10917
10987
|
return (hAsync("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
|
10918
10988
|
!isSlotUsed(this.el, cellSlotName)
|
10919
10989
|
? cell
|
10920
|
-
: null, class: Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", [`cell-alignment-${((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
|
10990
|
+
: null, class: Object.assign(Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", [`cell-alignment-${((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
|
10921
10991
|
((_b = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
|
10922
10992
|
rowAlignment ||
|
10923
10993
|
this.getCellAlignment(cell, "vertical")}`]: !!((_c = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
|
@@ -10933,13 +11003,25 @@ class DataTable {
|
|
10933
11003
|
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
10934
11004
|
rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
10935
11005
|
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
10936
|
-
!!rowEmphasis }, this.setTruncationClass()), style: Object.assign(Object.assign({}, this.getRowHeight(currentRowHeight, columnProps, rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap, cell)), this.getColumnWidth(columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnWidth)), "data-row-height": this.truncationPattern || currentRowHeight
|
11006
|
+
!!rowEmphasis }, this.setTruncationClass()), { [this.CELL_CONTAINER_WITH_DESCRIPTION_STRING]: this.isObject(cell) && Object.keys(cell).includes("description") }), style: Object.assign(Object.assign({}, this.getRowHeight(currentRowHeight, columnProps, rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap, cell)), this.getColumnWidth(columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnWidth)), "data-row-height": this.truncationPattern || currentRowHeight
|
10937
11007
|
? this.setRowHeight(currentRowHeight)
|
10938
11008
|
: null }, isSlotUsed(this.el, cellSlotName) ? (hAsync("slot", { name: cellSlotName })) : (hAsync(Fragment, null, isSlotUsed(this.el, `${cellSlotName}-icon`) ? (hAsync("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_k = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _k === void 0 ? void 0 : _k.onAllCells)) &&
|
10939
11009
|
(cellValue("icon") || ((_l = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _l === void 0 ? void 0 : _l.icon)) && (hAsync("span", { class: "icon", innerHTML: cellValue("icon") || ((_m = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _m === void 0 ? void 0 : _m.icon) }))), (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element" &&
|
10940
|
-
!isSlotUsed(this.el, cellSlotName) && (hAsync("
|
11010
|
+
!isSlotUsed(this.el, cellSlotName) && (hAsync("div", { class: {
|
11011
|
+
"cell-text-wrapper": true,
|
11012
|
+
"cell-text-no-wrap": !this.truncationPattern,
|
11013
|
+
} }, hAsync("ic-typography", { variant: "body", class: {
|
11014
|
+
[`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
11015
|
+
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
11016
|
+
rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
11017
|
+
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
11018
|
+
!!rowEmphasis,
|
10941
11019
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
10942
|
-
} }, this.isObject(cell) && (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (hAsync("ic-link", { href: cellValue("href"), theme: this.theme, target: cellValue("target") || undefined, rel: cellValue("rel") || undefined }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType))))
|
11020
|
+
} }, this.isObject(cell) && (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (hAsync("ic-link", { href: cellValue("href"), theme: this.theme, target: cellValue("target") || undefined, rel: cellValue("rel") || undefined }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType))), this.isObject(cell) &&
|
11021
|
+
Object.keys(cell).includes("description") && (hAsync("div", { class: {
|
11022
|
+
["cell-description"]: true,
|
11023
|
+
[`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
|
11024
|
+
} }, ((_o = cellValue("description")) === null || _o === void 0 ? void 0 : _o.icon) && (hAsync("span", { class: "cell-description-icon", innerHTML: cellValue("description").icon })), hAsync("ic-typography", { variant: "caption", class: "cell-description-text" }, (_q = (_p = cellValue("description")) === null || _p === void 0 ? void 0 : _p.data) !== null && _q !== void 0 ? _q : cellValue("description"))))))))));
|
10943
11025
|
};
|
10944
11026
|
this.createCells = (row, rowIndex) => {
|
10945
11027
|
var _a;
|
@@ -10975,11 +11057,15 @@ class DataTable {
|
|
10975
11057
|
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
10976
11058
|
["with-overflow"]: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element",
|
10977
11059
|
}, style: Object.assign({}, this.getColumnWidth(columnProps.columnWidth)) }, this.isObject(cell) &&
|
10978
|
-
Object.keys(cell).includes("actionElement") ? (hAsync("div", { class: "cell-grid-wrapper" }, this.createCellContent(columnProps, cell, cellSlotName, rowOptions, rowAlignment, hasIcon, currentRowHeight, cellValue, rowEmphasis), hAsync("span", { class: "action-element", innerHTML: cellValue("actionElement")
|
11060
|
+
Object.keys(cell).includes("actionElement") ? (hAsync("div", { class: "cell-grid-wrapper" }, this.createCellContent(columnProps, cell, cellSlotName, rowOptions, rowAlignment, hasIcon, currentRowHeight, cellValue, rowEmphasis), hAsync("span", { class: "action-element", innerHTML: cellValue("actionElement"),
|
11061
|
+
// eslint-disable-next-line react/jsx-no-bind
|
11062
|
+
onClick: cell.actionOnClick
|
11063
|
+
? () => this.handleClick(cell.actionOnClick)
|
11064
|
+
: undefined }))) : (this.createCellContent(columnProps, cell, cellSlotName, rowOptions, rowAlignment, hasIcon, currentRowHeight, cellValue, rowEmphasis))));
|
10979
11065
|
}
|
10980
11066
|
});
|
10981
11067
|
};
|
10982
|
-
this.createColumnHeaders = () => this.columns.map(({ cellAlignment, colspan, icon, key, title, columnWidth }, index) => (hAsync("th", { scope: "col", class: {
|
11068
|
+
this.createColumnHeaders = () => (this.columns || []).map(({ cellAlignment, colspan, icon, key, title, columnWidth }, index) => (hAsync("th", { scope: "col", class: {
|
10983
11069
|
["column-header"]: true,
|
10984
11070
|
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
10985
11071
|
["updating-state-headers"]: this.updating && !this.loading,
|
@@ -11008,6 +11094,9 @@ class DataTable {
|
|
11008
11094
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
11009
11095
|
} }, title)))));
|
11010
11096
|
this.onRowClick = (row) => {
|
11097
|
+
if (!this.loading && !this.updating) {
|
11098
|
+
this.icSelectedRowChange.emit(this.selectedRow !== row ? row : null);
|
11099
|
+
}
|
11011
11100
|
this.selectedRow =
|
11012
11101
|
this.selectedRow !== row && !this.loading && !this.updating && row;
|
11013
11102
|
};
|
@@ -11038,7 +11127,7 @@ class DataTable {
|
|
11038
11127
|
// eslint-disable-next-line react/jsx-no-bind
|
11039
11128
|
onClick: () => this.onRowClick(row), class: {
|
11040
11129
|
["table-row"]: true,
|
11041
|
-
["table-row-selected"]: this.selectedRow === row,
|
11130
|
+
["table-row-selected"]: this.highlightSelectedRow && this.selectedRow === row,
|
11042
11131
|
}
|
11043
11132
|
}, this.createCells(row, index)));
|
11044
11133
|
});
|
@@ -11108,7 +11197,8 @@ class DataTable {
|
|
11108
11197
|
});
|
11109
11198
|
};
|
11110
11199
|
this.getTypographyElements = () => {
|
11111
|
-
|
11200
|
+
// Filter out column headers and cell descriptions
|
11201
|
+
return Array.from(this.el.shadowRoot.querySelectorAll("ic-typography:not(.column-header-text,.cell-description-text)"));
|
11112
11202
|
};
|
11113
11203
|
this.getTooltip = (typographyEl) => {
|
11114
11204
|
return typographyEl.closest(this.TOOLTIP);
|
@@ -11119,7 +11209,7 @@ class DataTable {
|
|
11119
11209
|
const cellContainer = this.getCellContainer(typographyEl);
|
11120
11210
|
if (typographyEl.closest(this.TEXT_WRAP_CLASS)) {
|
11121
11211
|
this.removeTooltip(cellContainer, typographyEl, tooltip);
|
11122
|
-
typographyEl.setAttribute("style",
|
11212
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: 0`);
|
11123
11213
|
return;
|
11124
11214
|
}
|
11125
11215
|
this.regenerateTooltip(cellContainer, typographyEl, tooltip, removeTooltipOnly);
|
@@ -11128,6 +11218,56 @@ class DataTable {
|
|
11128
11218
|
this.updateScrollOffset = () => {
|
11129
11219
|
this.scrollOffset = this.el.shadowRoot.querySelector(".table-row-container").scrollTop;
|
11130
11220
|
};
|
11221
|
+
this.updateRowHeightForDescriptions = (rowHeight, cellContainer) => {
|
11222
|
+
cellContainer.setAttribute("data-row-height", rowHeight.toString());
|
11223
|
+
cellContainer.setAttribute("style", `${this.ROW_HEIGHT_CSS_VARIABLE}: ${rowHeight}px`);
|
11224
|
+
};
|
11225
|
+
// Method to update the row heights on cells with descriptions and tooltip truncation
|
11226
|
+
this.updateCellHeightsWithDescriptions = () => {
|
11227
|
+
const descriptions = this.el.shadowRoot.querySelectorAll(this.CELL_DESCRIPTION_STRING);
|
11228
|
+
descriptions.forEach((description) => {
|
11229
|
+
const cellContainer = description.closest(`.${this.CELL_CONTAINER_WITH_DESCRIPTION_STRING}`);
|
11230
|
+
const typography = cellContainer.querySelector(this.IC_TYPOGRAPHY_STRING);
|
11231
|
+
const descriptionMarginTop = window
|
11232
|
+
.getComputedStyle(description)
|
11233
|
+
.getPropertyValue("margin-top");
|
11234
|
+
const descriptionHeight = description.clientHeight + parseInt(descriptionMarginTop, 10);
|
11235
|
+
if (this.globalRowHeight && this.globalRowHeight !== "auto") {
|
11236
|
+
if (!typography.textContent &&
|
11237
|
+
descriptionHeight + this.DEFAULT_LINE_HEIGHT > this.globalRowHeight) {
|
11238
|
+
this.updateRowHeightForDescriptions(descriptionHeight, cellContainer);
|
11239
|
+
}
|
11240
|
+
else if (this.truncationPattern === this.TOOLTIP_STRING) {
|
11241
|
+
if (descriptionHeight + this.DEFAULT_LINE_HEIGHT >
|
11242
|
+
this.globalRowHeight) {
|
11243
|
+
const cellIcon = cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.querySelector(".icon");
|
11244
|
+
if (deviceSizeMatches(IC_DEVICE_SIZES.XS) && cellIcon) {
|
11245
|
+
// recalculate descriptionHeight as when a word break occurs this value changes
|
11246
|
+
// Additional spacing given for 300-400% zoom
|
11247
|
+
this.updateRowHeightForDescriptions(descriptionHeight +
|
11248
|
+
this.DEFAULT_LINE_HEIGHT +
|
11249
|
+
cellIcon.clientHeight, cellContainer);
|
11250
|
+
}
|
11251
|
+
else {
|
11252
|
+
this.updateRowHeightForDescriptions(descriptionHeight + this.DEFAULT_LINE_HEIGHT, cellContainer);
|
11253
|
+
}
|
11254
|
+
}
|
11255
|
+
this.addLineClampCSS(typography, cellContainer);
|
11256
|
+
// Additional case for show/hide truncation for when a description is present, but the text
|
11257
|
+
// isn't overflowing the cell to trigger the show more button to appear.
|
11258
|
+
}
|
11259
|
+
else if (this.truncationPattern === this.SHOW_HIDE_STRING &&
|
11260
|
+
descriptionHeight + this.DEFAULT_LINE_HEIGHT > this.globalRowHeight &&
|
11261
|
+
typography.style.getPropertyValue("--truncation-max-lines") !==
|
11262
|
+
"initial") {
|
11263
|
+
this.updateRowHeightForDescriptions(descriptionHeight + this.DEFAULT_LINE_HEIGHT, cellContainer);
|
11264
|
+
if (descriptionHeight) {
|
11265
|
+
this.createShowHideTruncation(typography, cellContainer, descriptionHeight);
|
11266
|
+
}
|
11267
|
+
}
|
11268
|
+
}
|
11269
|
+
});
|
11270
|
+
};
|
11131
11271
|
this.setTableDimensions = () => {
|
11132
11272
|
let tableHostDimensions = {};
|
11133
11273
|
if (this.width) {
|
@@ -11144,22 +11284,93 @@ class DataTable {
|
|
11144
11284
|
}
|
11145
11285
|
return tableHostDimensions;
|
11146
11286
|
};
|
11287
|
+
this.fixCellTooltip = (element) => {
|
11288
|
+
var _a, _b, _c;
|
11289
|
+
let tooltip;
|
11290
|
+
if (element.tagName === "IC-TOOLTIP") {
|
11291
|
+
tooltip = element;
|
11292
|
+
}
|
11293
|
+
else if ((_a = element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(this.IC_TOOLTIP_STRING)) {
|
11294
|
+
tooltip = (_b = element.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(this.IC_TOOLTIP_STRING);
|
11295
|
+
}
|
11296
|
+
else {
|
11297
|
+
if (((_c = element.children) === null || _c === void 0 ? void 0 : _c.length) > 0) {
|
11298
|
+
Array.from(element.children).forEach((el) => {
|
11299
|
+
this.fixCellTooltip(el);
|
11300
|
+
});
|
11301
|
+
}
|
11302
|
+
else {
|
11303
|
+
return;
|
11304
|
+
}
|
11305
|
+
}
|
11306
|
+
if (tooltip) {
|
11307
|
+
tooltip.setExternalPopperProps({
|
11308
|
+
strategy: "fixed",
|
11309
|
+
});
|
11310
|
+
}
|
11311
|
+
};
|
11147
11312
|
this.fixCellTooltips = () => {
|
11148
11313
|
const elements = this.el.shadowRoot.querySelectorAll(".data-type-element");
|
11149
11314
|
elements.forEach((element) => {
|
11150
11315
|
const slotElements = getSlotElements(element);
|
11151
|
-
slotElements.forEach((slottedEl) => {
|
11152
|
-
|
11153
|
-
const tooltipEl = (slottedEl.tagName === "IC-TOOLTIP"
|
11154
|
-
? slottedEl
|
11155
|
-
: (_a = slottedEl.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(this.IC_TOOLTIP_STRING));
|
11156
|
-
if (tooltipEl) {
|
11157
|
-
tooltipEl.setExternalPopperProps({
|
11158
|
-
strategy: "fixed",
|
11159
|
-
});
|
11160
|
-
}
|
11316
|
+
slotElements === null || slotElements === void 0 ? void 0 : slotElements.forEach((slottedEl) => {
|
11317
|
+
this.fixCellTooltip(slottedEl);
|
11161
11318
|
});
|
11162
11319
|
});
|
11320
|
+
const actionElements = this.el.shadowRoot.querySelectorAll(".action-element");
|
11321
|
+
actionElements === null || actionElements === void 0 ? void 0 : actionElements.forEach((actionElementSpan) => {
|
11322
|
+
const actionElement = actionElementSpan.firstChild;
|
11323
|
+
if (actionElement) {
|
11324
|
+
this.fixCellTooltip(actionElement);
|
11325
|
+
}
|
11326
|
+
});
|
11327
|
+
};
|
11328
|
+
this.handleClick = (callback) => callback();
|
11329
|
+
this.renderTableBody = (data, loading, overlay) => {
|
11330
|
+
if (!(data === null || data === void 0 ? void 0 : data.length))
|
11331
|
+
return;
|
11332
|
+
if (overlay && loading) {
|
11333
|
+
return hAsync("tbody", null, this.createRows());
|
11334
|
+
}
|
11335
|
+
else if (loading && !overlay) {
|
11336
|
+
return null;
|
11337
|
+
}
|
11338
|
+
else {
|
11339
|
+
return hAsync("tbody", null, this.createRows());
|
11340
|
+
}
|
11341
|
+
};
|
11342
|
+
this.renderLoadingIndicator = (isLoading, loadingOptions) => {
|
11343
|
+
if (!isLoading)
|
11344
|
+
return null;
|
11345
|
+
return (hAsync(Fragment, null, hAsync("div", { class: "loading-overlay", ref: (el) => (this.loadingOverlay = el) }), hAsync("ic-loading-indicator", { theme: this.theme, monochrome: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.monochrome, class: {
|
11346
|
+
"loading-empty": isLoading,
|
11347
|
+
loading: true,
|
11348
|
+
"show-background": loadingOptions.showBackground || loadingOptions.overlay,
|
11349
|
+
}, description: loadingOptions.description || "Loading table data", label: loadingOptions.label || "Loading...", labelDuration: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.labelDuration, max: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.max, min: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.min, progress: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.progress, ref: (el) => (this.loadingIndicator = el) })));
|
11350
|
+
};
|
11351
|
+
this.renderAriaLiveLoading = () => {
|
11352
|
+
var _a, _b;
|
11353
|
+
if (this.loading) {
|
11354
|
+
return ((_a = this.loadingOptions) === null || _a === void 0 ? void 0 : _a.label) || "Loading...";
|
11355
|
+
}
|
11356
|
+
else if (this.updating) {
|
11357
|
+
return ((_b = this.updatingOptions) === null || _b === void 0 ? void 0 : _b.description) || "Updating table data";
|
11358
|
+
}
|
11359
|
+
else {
|
11360
|
+
return "";
|
11361
|
+
}
|
11362
|
+
};
|
11363
|
+
this.renderEmptyState = (data, loading, overlay) => {
|
11364
|
+
const emptyStateEl = isSlotUsed(this.el, "empty-state") ? (hAsync("slot", { name: "empty-state" })) : (hAsync("ic-empty-state", { aligned: "center", heading: "No Data", class: "loading-empty" }));
|
11365
|
+
if (loading && !(data === null || data === void 0 ? void 0 : data.length) && overlay) {
|
11366
|
+
return emptyStateEl;
|
11367
|
+
}
|
11368
|
+
else if (!loading && !(data === null || data === void 0 ? void 0 : data.length)) {
|
11369
|
+
return emptyStateEl;
|
11370
|
+
}
|
11371
|
+
else {
|
11372
|
+
return null;
|
11373
|
+
}
|
11163
11374
|
};
|
11164
11375
|
this.fromRow = 0;
|
11165
11376
|
this.previousRowsPerPage = undefined;
|
@@ -11180,6 +11391,7 @@ class DataTable {
|
|
11180
11391
|
this.embedded = false;
|
11181
11392
|
this.globalRowHeight = "auto";
|
11182
11393
|
this.height = undefined;
|
11394
|
+
this.highlightSelectedRow = true;
|
11183
11395
|
this.hideColumnHeaders = false;
|
11184
11396
|
this.loading = false;
|
11185
11397
|
this.loadingOptions = undefined;
|
@@ -11202,6 +11414,7 @@ class DataTable {
|
|
11202
11414
|
hideRangeLabel: false,
|
11203
11415
|
hideAllFromItemsPerPage: false,
|
11204
11416
|
monochrome: false,
|
11417
|
+
setToFirstPageOnPaginationChange: false,
|
11205
11418
|
};
|
11206
11419
|
this.showPagination = false;
|
11207
11420
|
this.sortable = false;
|
@@ -11239,13 +11452,13 @@ class DataTable {
|
|
11239
11452
|
(_b = this.headerResizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
11240
11453
|
}
|
11241
11454
|
componentWillLoad() {
|
11242
|
-
var _a;
|
11455
|
+
var _a, _b;
|
11243
11456
|
this.rowsPerPage = Number(this.paginationBarOptions.itemsPerPageOptions[0].value);
|
11244
11457
|
this.previousRowsPerPage = this.rowsPerPage;
|
11245
11458
|
this.toRow = this.rowsPerPage;
|
11246
11459
|
this.sortedColumn = this.sortOptions.defaultColumn;
|
11247
11460
|
this.sortedColumnOrder = this.sortOptions.sortOrders[0];
|
11248
|
-
this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 });
|
11461
|
+
this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 || !!((_b = this.loadingOptions) === null || _b === void 0 ? void 0 : _b.overlay) });
|
11249
11462
|
this.initialLoad = true;
|
11250
11463
|
this.previousItemsPerPage = this.rowsPerPage;
|
11251
11464
|
}
|
@@ -11276,6 +11489,7 @@ class DataTable {
|
|
11276
11489
|
if (this.globalRowHeight !== "auto") {
|
11277
11490
|
this.updateSetRowHeight();
|
11278
11491
|
}
|
11492
|
+
window.addEventListener("resize", this.updateCellHeightsWithDescriptions);
|
11279
11493
|
}
|
11280
11494
|
componentDidUpdate() {
|
11281
11495
|
// truncation updates invoked here once new/updated data has
|
@@ -11287,6 +11501,7 @@ class DataTable {
|
|
11287
11501
|
}
|
11288
11502
|
componentDidRender() {
|
11289
11503
|
this.fixCellTooltips();
|
11504
|
+
this.updateCellHeightsWithDescriptions();
|
11290
11505
|
this.adjustWidthForActionElement();
|
11291
11506
|
}
|
11292
11507
|
truncateUpdatedData() {
|
@@ -11345,7 +11560,7 @@ class DataTable {
|
|
11345
11560
|
cellContainer.style.height = null;
|
11346
11561
|
if (this.truncationPattern === this.TOOLTIP_STRING) {
|
11347
11562
|
this.removeTooltip(cellContainer, typographyEl, tooltipEl);
|
11348
|
-
typographyEl.setAttribute("style",
|
11563
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: 0`);
|
11349
11564
|
}
|
11350
11565
|
else if (this.truncationPattern === this.SHOW_HIDE_STRING) {
|
11351
11566
|
this.resetShowHideTruncation(typographyEl);
|
@@ -11356,7 +11571,8 @@ class DataTable {
|
|
11356
11571
|
parseFloat(cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
|
11357
11572
|
// If the set row height is bigger than the cell container even
|
11358
11573
|
// with textWrap, set the row height
|
11359
|
-
if (!
|
11574
|
+
if (!cellContainer.classList.contains(this.CELL_CONTAINER_WITH_DESCRIPTION_STRING) &&
|
11575
|
+
!((_a = cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.style) === null || _a === void 0 ? void 0 : _a.height) &&
|
11360
11576
|
rowHeight > cellContainer.clientHeight &&
|
11361
11577
|
!cellContainer.classList.contains(this.TEXT_WRAP_STRING)) {
|
11362
11578
|
cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
|
@@ -11389,7 +11605,7 @@ class DataTable {
|
|
11389
11605
|
const newRows = Array.from(allRows).slice(this.previousItemsPerPage);
|
11390
11606
|
newRows.forEach((row) => {
|
11391
11607
|
row
|
11392
|
-
.querySelectorAll(
|
11608
|
+
.querySelectorAll(this.IC_TYPOGRAPHY_STRING)
|
11393
11609
|
.forEach((typographyEl) => {
|
11394
11610
|
const cellContainer = this.getCellContainer(typographyEl);
|
11395
11611
|
const tooltipEl = this.getTooltip(typographyEl);
|
@@ -11451,9 +11667,17 @@ class DataTable {
|
|
11451
11667
|
}
|
11452
11668
|
}
|
11453
11669
|
}
|
11454
|
-
createShowHideTruncation(typographyEl, cellContainer) {
|
11670
|
+
createShowHideTruncation(typographyEl, cellContainer, descriptionHeight) {
|
11455
11671
|
typographyEl.checkMaxLines(typographyEl.scrollHeight);
|
11456
11672
|
typographyEl.setAttribute("max-lines", `${Math.floor((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) / this.DEFAULT_LINE_HEIGHT)}`);
|
11673
|
+
if (cellContainer.classList.contains(this.CELL_CONTAINER_WITH_DESCRIPTION_STRING) &&
|
11674
|
+
descriptionHeight) {
|
11675
|
+
typographyEl.setAttribute("max-lines", `${Math.floor(((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) - descriptionHeight) /
|
11676
|
+
this.DEFAULT_LINE_HEIGHT)}`);
|
11677
|
+
}
|
11678
|
+
else {
|
11679
|
+
typographyEl.setAttribute("max-lines", `${Math.floor((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) / this.DEFAULT_LINE_HEIGHT)}`);
|
11680
|
+
}
|
11457
11681
|
typographyEl.setShowHideExpanded(false);
|
11458
11682
|
cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, null);
|
11459
11683
|
}
|
@@ -11560,7 +11784,8 @@ class DataTable {
|
|
11560
11784
|
this.truncationPatternUpdated = true;
|
11561
11785
|
}
|
11562
11786
|
async dataHandler(newData) {
|
11563
|
-
|
11787
|
+
var _a;
|
11788
|
+
this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: (newData === null || newData === void 0 ? void 0 : newData.length) > 0 || !!((_a = this.loadingOptions) === null || _a === void 0 ? void 0 : _a.overlay) });
|
11564
11789
|
if (this.loading) {
|
11565
11790
|
!this.hasLoadedForOneSecond
|
11566
11791
|
? setTimeout(() => (this.loading = false), this.minimumLoadingDisplayDuration -
|
@@ -11587,7 +11812,7 @@ class DataTable {
|
|
11587
11812
|
typographyEl.setShowHideExpanded(false);
|
11588
11813
|
cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, null);
|
11589
11814
|
}
|
11590
|
-
else {
|
11815
|
+
else if (!cellContainer.classList.contains(this.CELL_CONTAINER_WITH_DESCRIPTION_STRING)) {
|
11591
11816
|
typographyEl.resetTruncation().then(() => {
|
11592
11817
|
if (!typographyEl.closest(this.TEXT_WRAP_CLASS)) {
|
11593
11818
|
cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
|
@@ -11623,8 +11848,11 @@ class DataTable {
|
|
11623
11848
|
this.variableRowHeight = null;
|
11624
11849
|
}
|
11625
11850
|
showLoadingIndicator() {
|
11626
|
-
var _a;
|
11627
|
-
(_a = this.
|
11851
|
+
var _a, _b, _c;
|
11852
|
+
if ((_a = this.loadingOptions) === null || _a === void 0 ? void 0 : _a.overlay) {
|
11853
|
+
(_b = this.loadingOverlay) === null || _b === void 0 ? void 0 : _b.classList.add("show");
|
11854
|
+
}
|
11855
|
+
(_c = this.loadingIndicator) === null || _c === void 0 ? void 0 : _c.classList.add("show");
|
11628
11856
|
}
|
11629
11857
|
getRowOptions(rowKeys, rowValues) {
|
11630
11858
|
const rowOptionsIndex = rowKeys.indexOf("rowOptions");
|
@@ -11653,20 +11881,41 @@ class DataTable {
|
|
11653
11881
|
if ((typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.scrollHeight) > (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) &&
|
11654
11882
|
this.truncationPattern === this.TOOLTIP_STRING) {
|
11655
11883
|
if (!typographyEl.getAttribute("style") ||
|
11656
|
-
typographyEl.style.cssText.includes(
|
11884
|
+
typographyEl.style.cssText.includes(`${this.LINE_CLAMP_CSS_VARIABLE}: 0;`)) {
|
11657
11885
|
this.addLineClampCSS(typographyEl, cellContainer);
|
11658
11886
|
}
|
11659
|
-
this.
|
11887
|
+
if (!cellContainer.querySelector(this.IC_TOOLTIP_STRING))
|
11888
|
+
this.createTruncationTooltip(typographyEl, cellContainer);
|
11660
11889
|
}
|
11661
11890
|
}
|
11662
11891
|
removeTooltip(cellContainer, typographyEl, tooltip) {
|
11663
|
-
cellContainer.
|
11892
|
+
const cellTextWrapper = cellContainer.querySelector(this.CELL_TEXT_WRAPPER_STRING);
|
11893
|
+
cellTextWrapper.prepend(typographyEl);
|
11664
11894
|
if (tooltip) {
|
11665
11895
|
tooltip.remove();
|
11666
11896
|
}
|
11667
11897
|
}
|
11668
11898
|
addLineClampCSS(typographyEl, cellContainer) {
|
11669
|
-
|
11899
|
+
var _a, _b;
|
11900
|
+
const descriptionCellHeight = (_a = cellContainer.querySelector(this.CELL_DESCRIPTION_STRING)) === null || _a === void 0 ? void 0 : _a.clientHeight;
|
11901
|
+
if (cellContainer.classList.contains(this.CELL_CONTAINER_WITH_DESCRIPTION_STRING) &&
|
11902
|
+
(cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) > descriptionCellHeight) {
|
11903
|
+
let iconHeight;
|
11904
|
+
if (deviceSizeMatches(IC_DEVICE_SIZES.XS)) {
|
11905
|
+
const cellIcon = cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.querySelector(".icon");
|
11906
|
+
iconHeight = cellIcon ? cellIcon.clientHeight : 0;
|
11907
|
+
}
|
11908
|
+
else {
|
11909
|
+
iconHeight = 0;
|
11910
|
+
}
|
11911
|
+
const height = (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) -
|
11912
|
+
((_b = cellContainer.querySelector(this.CELL_DESCRIPTION_STRING)) === null || _b === void 0 ? void 0 : _b.clientHeight) -
|
11913
|
+
iconHeight;
|
11914
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: ${this.getLines(height || 0)}`);
|
11915
|
+
}
|
11916
|
+
else {
|
11917
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: ${this.getLines(cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight)}`);
|
11918
|
+
}
|
11670
11919
|
}
|
11671
11920
|
createTruncationTooltip(typographyEl, cellContainer) {
|
11672
11921
|
const tooltipEl = document.createElement(this.IC_TOOLTIP_STRING);
|
@@ -11677,12 +11926,13 @@ class DataTable {
|
|
11677
11926
|
// This might need reverting back to absolute if the tooltip doesn't dynamically position itself correctly
|
11678
11927
|
strategy: "fixed",
|
11679
11928
|
});
|
11680
|
-
cellContainer.
|
11681
|
-
|
11929
|
+
const cellTextWrapper = cellContainer.querySelector(this.CELL_TEXT_WRAPPER_STRING);
|
11930
|
+
cellTextWrapper.prepend(tooltipEl);
|
11931
|
+
tooltipEl.prepend(typographyEl);
|
11682
11932
|
}
|
11683
11933
|
render() {
|
11684
11934
|
var _a;
|
11685
|
-
const { caption, createColumnHeaders,
|
11935
|
+
const { caption, createColumnHeaders, createUpdatingIndicator, data, hideColumnHeaders, loading, loadingOptions, paginationBarOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, updating, theme, } = this;
|
11686
11936
|
return (hAsync(Host, { style: Object.assign({}, this.setTableDimensions()), class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { class: "table-container" }, isSlotUsed(this.el, "title-bar") && hAsync("slot", { name: "title-bar" }), hAsync("div", { class: {
|
11687
11937
|
["table-row-container"]: true,
|
11688
11938
|
scrollable,
|
@@ -11693,13 +11943,7 @@ class DataTable {
|
|
11693
11943
|
["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
|
11694
11944
|
} }, hAsync("tr", null, createColumnHeaders()))), updating &&
|
11695
11945
|
!loading &&
|
11696
|
-
(hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), (data
|
11697
|
-
!loading &&
|
11698
|
-
(isSlotUsed(this.el, "empty-state") ? (hAsync("slot", { name: "empty-state" })) : (hAsync("ic-empty-state", { aligned: "center", heading: "No Data", class: "loading-empty" })))), loading && (hAsync("ic-loading-indicator", { theme: theme, monochrome: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.monochrome, class: {
|
11699
|
-
"loading-empty": loading,
|
11700
|
-
loading: true,
|
11701
|
-
"show-background": loadingOptions.showBackground,
|
11702
|
-
}, description: loadingOptions.description || "Loading table data", label: loadingOptions.label || "Loading...", labelDuration: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.labelDuration, max: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.max, min: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.min, progress: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.progress, ref: (el) => (this.loadingIndicator = el) })), (showPagination || isSlotUsed(this.el, "pagination-bar")) && (hAsync("div", { class: "pagination-container" }, isSlotUsed(this.el, "pagination-bar") ? (hAsync("slot", { name: "pagination-bar" })) : (hAsync("ic-pagination-bar", { totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type, rangeLabelType: paginationBarOptions.rangeLabelType, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, showGoToPageControl: paginationBarOptions.showGoToPageControl, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, alignment: paginationBarOptions.alignment, theme: theme, monochrome: paginationBarOptions.monochrome, itemLabel: paginationBarOptions.itemLabel, pageLabel: paginationBarOptions.pageLabel, hideRangeLabel: paginationBarOptions.hideRangeLabel, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage })))), sortable && (hAsync("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
|
11946
|
+
(hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(data, loading, loadingOptions.overlay)), this.renderEmptyState(data, loading, loadingOptions.overlay)), hAsync("div", { "aria-live": "assertive", class: "sr-only" }, this.renderAriaLiveLoading()), this.renderLoadingIndicator(loading, loadingOptions), (showPagination || isSlotUsed(this.el, "pagination-bar")) && (hAsync("div", { class: "pagination-container" }, isSlotUsed(this.el, "pagination-bar") ? (hAsync("slot", { name: "pagination-bar" })) : (hAsync("ic-pagination-bar", { totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type, rangeLabelType: paginationBarOptions.rangeLabelType, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, showGoToPageControl: paginationBarOptions.showGoToPageControl, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, alignment: paginationBarOptions.alignment, theme: theme, monochrome: paginationBarOptions.monochrome, itemLabel: paginationBarOptions.itemLabel, pageLabel: paginationBarOptions.pageLabel, hideRangeLabel: paginationBarOptions.hideRangeLabel, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage, setToFirstPageOnPaginationChange: paginationBarOptions.setToFirstPageOnPaginationChange })))), sortable && (hAsync("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
|
11703
11947
|
? `${sortedColumn} sorted ${sortedColumnOrder}`
|
11704
11948
|
: "table unsorted")))));
|
11705
11949
|
}
|
@@ -11726,6 +11970,7 @@ class DataTable {
|
|
11726
11970
|
"embedded": [4],
|
11727
11971
|
"globalRowHeight": [1032, "global-row-height"],
|
11728
11972
|
"height": [1],
|
11973
|
+
"highlightSelectedRow": [4, "highlight-selected-row"],
|
11729
11974
|
"hideColumnHeaders": [4, "hide-column-headers"],
|
11730
11975
|
"loading": [1028],
|
11731
11976
|
"loadingOptions": [16],
|
@@ -11972,7 +12217,7 @@ var Calendar = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" v
|
|
11972
12217
|
<path d="M16.6667 2.50004H15.8334V0.833374H14.1667V2.50004H5.83342V0.833374H4.16675V2.50004H3.33341C2.41675 2.50004 1.66675 3.25004 1.66675 4.16671V17.5C1.66675 18.4167 2.41675 19.1667 3.33341 19.1667H16.6667C17.5834 19.1667 18.3334 18.4167 18.3334 17.5V4.16671C18.3334 3.25004 17.5834 2.50004 16.6667 2.50004ZM16.6667 17.5H3.33341V6.66671H16.6667V17.5Z" fill="currentColor"/>
|
11973
12218
|
</svg>`;
|
11974
12219
|
|
11975
|
-
const icDateInputCss = "/*!@html*/html.sc-ic-date-input{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-date-input{margin:0}/*!@main*/main.sc-ic-date-input{display:block}/*!@h1*/h1.sc-ic-date-input{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-date-input{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-date-input{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-date-input{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-date-input{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-date-input,strong.sc-ic-date-input{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-date-input,kbd.sc-ic-date-input,samp.sc-ic-date-input{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-date-input{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-date-input,sup.sc-ic-date-input{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-date-input{bottom:-0.25em}/*!@sup*/sup.sc-ic-date-input{top:-0.5em}/*!@img*/img.sc-ic-date-input{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-date-input,input.sc-ic-date-input,optgroup.sc-ic-date-input,select.sc-ic-date-input,textarea.sc-ic-date-input{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-date-input,input.sc-ic-date-input{overflow:visible}/*!@button,\nselect*/button.sc-ic-date-input,select.sc-ic-date-input{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-date-input,[type=\"button\"].sc-ic-date-input,[type=\"reset\"].sc-ic-date-input,[type=\"submit\"].sc-ic-date-input{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-date-input::-moz-focus-inner,[type=\"button\"].sc-ic-date-input::-moz-focus-inner,[type=\"reset\"].sc-ic-date-input::-moz-focus-inner,[type=\"submit\"].sc-ic-date-input::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-date-input:-moz-focusring,[type=\"button\"].sc-ic-date-input:-moz-focusring,[type=\"reset\"].sc-ic-date-input:-moz-focusring,[type=\"submit\"].sc-ic-date-input:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-date-input{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-date-input{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-date-input{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-date-input{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-date-input,[type=\"radio\"].sc-ic-date-input{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-date-input::-webkit-inner-spin-button,[type=\"number\"].sc-ic-date-input::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-date-input{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-date-input::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-date-input::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-date-input{display:block}/*!@summary*/summary.sc-ic-date-input{display:list-item}/*!@template*/template.sc-ic-date-input{display:none}/*!@[hidden]*/[hidden].sc-ic-date-input{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-date-input,body.sc-ic-date-input,div.sc-ic-date-input,span.sc-ic-date-input,applet.sc-ic-date-input,object.sc-ic-date-input,iframe.sc-ic-date-input,h1.sc-ic-date-input,h2.sc-ic-date-input,h3.sc-ic-date-input,h4.sc-ic-date-input,h5.sc-ic-date-input,h6.sc-ic-date-input,p.sc-ic-date-input,blockquote.sc-ic-date-input,pre.sc-ic-date-input,a.sc-ic-date-input,abbr.sc-ic-date-input,acronym.sc-ic-date-input,address.sc-ic-date-input,big.sc-ic-date-input,cite.sc-ic-date-input,code.sc-ic-date-input,del.sc-ic-date-input,dfn.sc-ic-date-input,em.sc-ic-date-input,img.sc-ic-date-input,ins.sc-ic-date-input,kbd.sc-ic-date-input,q.sc-ic-date-input,s.sc-ic-date-input,samp.sc-ic-date-input,small.sc-ic-date-input,strike.sc-ic-date-input,strong.sc-ic-date-input,sub.sc-ic-date-input,sup.sc-ic-date-input,tt.sc-ic-date-input,var.sc-ic-date-input,b.sc-ic-date-input,u.sc-ic-date-input,i.sc-ic-date-input,center.sc-ic-date-input,dl.sc-ic-date-input,dt.sc-ic-date-input,dd.sc-ic-date-input,ol.sc-ic-date-input,ul.sc-ic-date-input,li.sc-ic-date-input,fieldset.sc-ic-date-input,form.sc-ic-date-input,label.sc-ic-date-input,legend.sc-ic-date-input,table.sc-ic-date-input,caption.sc-ic-date-input,tbody.sc-ic-date-input,tfoot.sc-ic-date-input,thead.sc-ic-date-input,tr.sc-ic-date-input,th.sc-ic-date-input,td.sc-ic-date-input,article.sc-ic-date-input,aside.sc-ic-date-input,canvas.sc-ic-date-input,details.sc-ic-date-input,embed.sc-ic-date-input,figure.sc-ic-date-input,figcaption.sc-ic-date-input,footer.sc-ic-date-input,header.sc-ic-date-input,hgroup.sc-ic-date-input,menu.sc-ic-date-input,nav.sc-ic-date-input,output.sc-ic-date-input,ruby.sc-ic-date-input,section.sc-ic-date-input,summary.sc-ic-date-input,time.sc-ic-date-input,mark.sc-ic-date-input,audio.sc-ic-date-input,video.sc-ic-date-input{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-date-input-h{--ic-input-label-helpertext-padding:var(--ic-space-xxs);--input-bg-color:var(--ic-date-input-bg);--ic-input-label-text-color:var(--ic-date-input-label);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle);--border-color:var(--ic-date-input-border);--border-color-disabled:var(--ic-date-input-border-disabled);--border-color-hover:var(--ic-date-input-border-default-hover);--border-color-pressed:var(--ic-date-input-border-default-pressed);--border-error-color:var(--ic-date-input-border-error);--border-error-color-hover:var(--ic-date-input-border-error-hover);--border-error-color-pressed:var(--ic-date-input-border-error-pressed);--border-success-color:var(--ic-date-input-border-success);--border-success-color-hover:var(--ic-date-input-border-success-hover);--border-success-color-pressed:var(--ic-date-input-border-success-pressed);--border-warning-color:var(--ic-date-input-border-warning);--border-warning-color-hover:var(--ic-date-input-border-warning-hover);--border-warning-color-pressed:var(--ic-date-input-border-warning-pressed)}/*!@:host(.ic-date-input-disabled)*/.ic-date-input-disabled.sc-ic-date-input-h{--ic-input-label-text-color:var(--ic-date-input-label-disabled);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle-disabled)}/*!@input*/input.sc-ic-date-input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-date-input-text-filled);caret-color:var(--ic-date-input-typing-cursor)}/*!@input::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button*/input.sc-ic-date-input::-webkit-outer-spin-button,input.sc-ic-date-input::-webkit-inner-spin-button{-webkit-appearance:none}/*!@input:-webkit-autofill*/input.sc-ic-date-input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-date-input-text-filled) !important}/*!@input::-moz-placeholder*/input.sc-ic-date-input::-moz-placeholder{color:var(--ic-date-input-text-placeholder)}/*!@input::placeholder*/input.sc-ic-date-input::placeholder{color:var(--ic-date-input-text-placeholder)}/*!@ic-input-component-container*/ic-input-component-container.sc-ic-date-input{cursor:text}/*!@ic-input-component-container .focus-indicator*/ic-input-component-container.sc-ic-date-input .focus-indicator.sc-ic-date-input{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}/*!@.date-inputs*/.date-inputs.sc-ic-date-input{color:var(--ic-date-input-text-placeholder)}/*!@.day-input*/.day-input.sc-ic-date-input{width:1.438rem}/*!@.month-input*/.month-input.sc-ic-date-input{width:1.813rem}/*!@.year-input,\n.year-input.fit-to-value*/.year-input.sc-ic-date-input,.year-input.fit-to-value.sc-ic-date-input{width:2.313rem}/*!@.fit-to-value*/.fit-to-value.sc-ic-date-input{width:1.25rem}/*!@.sr-only*/.sr-only.sc-ic-date-input{position:absolute;left:-9999px}/*!@.input-container*/.input-container.sc-ic-date-input{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}/*!@.action-buttons*/.action-buttons.sc-ic-date-input{display:flex;align-items:center}/*!@.show-calendar-button-wrapper*/.show-calendar-button-wrapper.sc-ic-date-input{display:flex;justify-content:center;align-items:center}/*!@.clear-button,\n.calendar-button*/.clear-button.sc-ic-date-input,.calendar-button.sc-ic-date-input{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}/*!@.clear-button.hidden*/.clear-button.hidden.sc-ic-date-input{display:none}/*!@.clear-button:focus,\n.calendar-button:focus,\n.clear-button:active,\n.calendar-button:active*/.clear-button.sc-ic-date-input:focus,.calendar-button.sc-ic-date-input:focus,.clear-button.sc-ic-date-input:active,.calendar-button.sc-ic-date-input:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}/*!@.calendar-button:focus,\n.calendar-button:active*/.calendar-button.sc-ic-date-input:focus,.calendar-button.sc-ic-date-input:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}/*!@.clear-button:focus,\n.calendar-button:focus,\n.clear-button:active *,\n.calendar-button:active **/.clear-button.sc-ic-date-input:focus,.calendar-button.sc-ic-date-input:focus,.clear-button.sc-ic-date-input:active *.sc-ic-date-input,.calendar-button.sc-ic-date-input:active *.sc-ic-date-input{fill:var(--ic-architectural-white)}/*!@.clear-button svg*/.clear-button.sc-ic-date-input svg.sc-ic-date-input{color:var(--ic-date-input-clear-icon)}/*!@.divider*/.divider.sc-ic-date-input{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}/*!@.divider.small*/.divider.small.sc-ic-date-input{height:var(--ic-space-md)}/*!@.divider.medium*/.divider.medium.sc-ic-date-input{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}/*!@.divider.large*/.divider.large.sc-ic-date-input{height:var(--ic-space-lg)}/*!@ic-input-validation*/ic-input-validation.sc-ic-date-input{--ic-input-validation-status-text-color:var(--ic-date-input-status-text);--ic-input-validation-error:var(--ic-date-input-icon-error);--ic-input-validation-warning-icon-color:var(--ic-date-input-icon-warning);--ic-input-validation-success-icon-color:var(--ic-date-input-icon-success)}";
|
12220
|
+
const icDateInputCss = "/*!@html*/html.sc-ic-date-input{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-date-input{margin:0}/*!@main*/main.sc-ic-date-input{display:block}/*!@h1*/h1.sc-ic-date-input{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-date-input{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-date-input{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-date-input{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-date-input{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-date-input,strong.sc-ic-date-input{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-date-input,kbd.sc-ic-date-input,samp.sc-ic-date-input{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-date-input{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-date-input,sup.sc-ic-date-input{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-date-input{bottom:-0.25em}/*!@sup*/sup.sc-ic-date-input{top:-0.5em}/*!@img*/img.sc-ic-date-input{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-date-input,input.sc-ic-date-input,optgroup.sc-ic-date-input,select.sc-ic-date-input,textarea.sc-ic-date-input{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-date-input,input.sc-ic-date-input{overflow:visible}/*!@button,\nselect*/button.sc-ic-date-input,select.sc-ic-date-input{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-date-input,[type=\"button\"].sc-ic-date-input,[type=\"reset\"].sc-ic-date-input,[type=\"submit\"].sc-ic-date-input{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-date-input::-moz-focus-inner,[type=\"button\"].sc-ic-date-input::-moz-focus-inner,[type=\"reset\"].sc-ic-date-input::-moz-focus-inner,[type=\"submit\"].sc-ic-date-input::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-date-input:-moz-focusring,[type=\"button\"].sc-ic-date-input:-moz-focusring,[type=\"reset\"].sc-ic-date-input:-moz-focusring,[type=\"submit\"].sc-ic-date-input:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-date-input{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-date-input{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-date-input{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-date-input{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-date-input,[type=\"radio\"].sc-ic-date-input{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-date-input::-webkit-inner-spin-button,[type=\"number\"].sc-ic-date-input::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-date-input{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-date-input::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-date-input::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-date-input{display:block}/*!@summary*/summary.sc-ic-date-input{display:list-item}/*!@template*/template.sc-ic-date-input{display:none}/*!@[hidden]*/[hidden].sc-ic-date-input{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-date-input,body.sc-ic-date-input,div.sc-ic-date-input,span.sc-ic-date-input,applet.sc-ic-date-input,object.sc-ic-date-input,iframe.sc-ic-date-input,h1.sc-ic-date-input,h2.sc-ic-date-input,h3.sc-ic-date-input,h4.sc-ic-date-input,h5.sc-ic-date-input,h6.sc-ic-date-input,p.sc-ic-date-input,blockquote.sc-ic-date-input,pre.sc-ic-date-input,a.sc-ic-date-input,abbr.sc-ic-date-input,acronym.sc-ic-date-input,address.sc-ic-date-input,big.sc-ic-date-input,cite.sc-ic-date-input,code.sc-ic-date-input,del.sc-ic-date-input,dfn.sc-ic-date-input,em.sc-ic-date-input,img.sc-ic-date-input,ins.sc-ic-date-input,kbd.sc-ic-date-input,q.sc-ic-date-input,s.sc-ic-date-input,samp.sc-ic-date-input,small.sc-ic-date-input,strike.sc-ic-date-input,strong.sc-ic-date-input,sub.sc-ic-date-input,sup.sc-ic-date-input,tt.sc-ic-date-input,var.sc-ic-date-input,b.sc-ic-date-input,u.sc-ic-date-input,i.sc-ic-date-input,center.sc-ic-date-input,dl.sc-ic-date-input,dt.sc-ic-date-input,dd.sc-ic-date-input,ol.sc-ic-date-input,ul.sc-ic-date-input,li.sc-ic-date-input,fieldset.sc-ic-date-input,form.sc-ic-date-input,label.sc-ic-date-input,legend.sc-ic-date-input,table.sc-ic-date-input,caption.sc-ic-date-input,tbody.sc-ic-date-input,tfoot.sc-ic-date-input,thead.sc-ic-date-input,tr.sc-ic-date-input,th.sc-ic-date-input,td.sc-ic-date-input,article.sc-ic-date-input,aside.sc-ic-date-input,canvas.sc-ic-date-input,details.sc-ic-date-input,embed.sc-ic-date-input,figure.sc-ic-date-input,figcaption.sc-ic-date-input,footer.sc-ic-date-input,header.sc-ic-date-input,hgroup.sc-ic-date-input,menu.sc-ic-date-input,nav.sc-ic-date-input,output.sc-ic-date-input,ruby.sc-ic-date-input,section.sc-ic-date-input,summary.sc-ic-date-input,time.sc-ic-date-input,mark.sc-ic-date-input,audio.sc-ic-date-input,video.sc-ic-date-input{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-date-input-h{--ic-input-label-helpertext-padding:var(--ic-space-xxs);--input-bg-color:var(--ic-date-input-bg);--ic-input-label-text-color:var(--ic-date-input-label);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle);--border-color:var(--ic-date-input-border);--border-color-disabled:var(--ic-date-input-border-disabled);--border-color-hover:var(--ic-date-input-border-default-hover);--border-color-pressed:var(--ic-date-input-border-default-pressed);--border-error-color:var(--ic-date-input-border-error);--border-error-color-hover:var(--ic-date-input-border-error-hover);--border-error-color-pressed:var(--ic-date-input-border-error-pressed);--border-success-color:var(--ic-date-input-border-success);--border-success-color-hover:var(--ic-date-input-border-success-hover);--border-success-color-pressed:var(--ic-date-input-border-success-pressed);--border-warning-color:var(--ic-date-input-border-warning);--border-warning-color-hover:var(--ic-date-input-border-warning-hover);--border-warning-color-pressed:var(--ic-date-input-border-warning-pressed)}/*!@:host(.ic-date-input-disabled)*/.ic-date-input-disabled.sc-ic-date-input-h{--ic-input-label-text-color:var(--ic-date-input-label-disabled);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle-disabled)}/*!@input*/input.sc-ic-date-input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-date-input-text-filled);caret-color:var(--ic-date-input-typing-cursor)}/*!@input::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button*/input.sc-ic-date-input::-webkit-outer-spin-button,input.sc-ic-date-input::-webkit-inner-spin-button{-webkit-appearance:none}/*!@input:-webkit-autofill*/input.sc-ic-date-input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-date-input-text-filled) !important}/*!@input::-moz-placeholder*/input.sc-ic-date-input::-moz-placeholder{color:var(--ic-date-input-text-placeholder)}/*!@input::placeholder*/input.sc-ic-date-input::placeholder{color:var(--ic-date-input-text-placeholder)}/*!@ic-input-component-container*/ic-input-component-container.sc-ic-date-input{cursor:text}/*!@ic-input-component-container .focus-indicator*/ic-input-component-container.sc-ic-date-input .focus-indicator.sc-ic-date-input{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}/*!@.date-inputs*/.date-inputs.sc-ic-date-input{color:var(--ic-date-input-text-placeholder)}/*!@.day-input*/.day-input.sc-ic-date-input{width:1.438rem}/*!@.month-input*/.month-input.sc-ic-date-input{width:1.813rem}/*!@.year-input,\n.year-input.fit-to-value*/.year-input.sc-ic-date-input,.year-input.fit-to-value.sc-ic-date-input{width:2.313rem}/*!@.fit-to-value*/.fit-to-value.sc-ic-date-input{width:1.25rem}/*!@.sr-only*/.sr-only.sc-ic-date-input{position:absolute;left:-9999px}/*!@.input-container*/.input-container.sc-ic-date-input{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}/*!@.action-buttons*/.action-buttons.sc-ic-date-input{display:flex;align-items:center}/*!@.show-calendar-button-wrapper*/.show-calendar-button-wrapper.sc-ic-date-input{display:flex;justify-content:center;align-items:center}/*!@.clear-button,\n.calendar-button*/.clear-button.sc-ic-date-input,.calendar-button.sc-ic-date-input{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}/*!@.clear-button.hidden*/.clear-button.hidden.sc-ic-date-input{display:none}/*!@.clear-button:focus,\n.calendar-button:focus,\n.clear-button:active,\n.calendar-button:active*/.clear-button.sc-ic-date-input:focus,.calendar-button.sc-ic-date-input:focus,.clear-button.sc-ic-date-input:active,.calendar-button.sc-ic-date-input:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}/*!@.calendar-button:focus,\n.calendar-button:active*/.calendar-button.sc-ic-date-input:focus,.calendar-button.sc-ic-date-input:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}/*!@.clear-button:focus,\n.calendar-button:focus,\n.clear-button:active *,\n.calendar-button:active **/.clear-button.sc-ic-date-input:focus,.calendar-button.sc-ic-date-input:focus,.clear-button.sc-ic-date-input:active *.sc-ic-date-input,.calendar-button.sc-ic-date-input:active *.sc-ic-date-input{fill:var(--ic-atoms-input-clear-button-focus)}/*!@.clear-button svg*/.clear-button.sc-ic-date-input svg.sc-ic-date-input{color:var(--ic-date-input-clear-icon)}/*!@.clear-button:focus svg*/.clear-button.sc-ic-date-input:focus svg.sc-ic-date-input{color:var(--ic-atoms-input-clear-button-focus)}/*!@.divider*/.divider.sc-ic-date-input{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}/*!@.divider.small*/.divider.small.sc-ic-date-input{height:var(--ic-space-md)}/*!@.divider.medium*/.divider.medium.sc-ic-date-input{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}/*!@.divider.large*/.divider.large.sc-ic-date-input{height:var(--ic-space-lg)}/*!@ic-input-validation*/ic-input-validation.sc-ic-date-input{--ic-input-validation-status-text-color:var(--ic-date-input-status-text);--ic-input-validation-error:var(--ic-date-input-icon-error);--ic-input-validation-warning-icon-color:var(--ic-date-input-icon-warning);--ic-input-validation-success-icon-color:var(--ic-date-input-icon-success)}";
|
11976
12221
|
|
11977
12222
|
let inputIds$4 = 0;
|
11978
12223
|
class DateInput {
|
@@ -14356,7 +14601,7 @@ class Dialog {
|
|
14356
14601
|
const slottedInteractiveElements = Array.from(this.el.querySelectorAll(`a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex="-1"]),
|
14357
14602
|
ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-group, ic-radio-group,
|
14358
14603
|
ic-back-to-top, ic-breadcrumb, ic-chip[dismissible="true"], ic-footer-link, ic-link, ic-navigation-button,
|
14359
|
-
ic-navigation-item, ic-switch, ic-text-field, ic-accordion-group, ic-accordion`));
|
14604
|
+
ic-navigation-item, ic-switch, ic-text-field, ic-accordion-group, ic-accordion, ic-date-input, ic-date-picker`));
|
14360
14605
|
if (slottedInteractiveElements.length > 0) {
|
14361
14606
|
if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {
|
14362
14607
|
slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, "");
|
@@ -14372,6 +14617,10 @@ class Dialog {
|
|
14372
14617
|
this.getNextFocusEl = (focusedElementIndex) => this.interactiveElementList[focusedElementIndex];
|
14373
14618
|
this.focusNextInteractiveElement = (shiftKey) => {
|
14374
14619
|
this.getFocusedElementIndex();
|
14620
|
+
if (this.interactiveElementList[this.focusedElementIndex].tagName ===
|
14621
|
+
"IC-SEARCH-BAR") {
|
14622
|
+
return false;
|
14623
|
+
}
|
14375
14624
|
this.setFocusIndexBasedOnShiftKey(shiftKey);
|
14376
14625
|
this.loopNextFocusIndexIfLastElement();
|
14377
14626
|
let nextFocusEl = this.getNextFocusEl(this.focusedElementIndex);
|
@@ -14397,6 +14646,7 @@ class Dialog {
|
|
14397
14646
|
nextFocusEl.focus();
|
14398
14647
|
}
|
14399
14648
|
}
|
14649
|
+
return true;
|
14400
14650
|
};
|
14401
14651
|
this.renderDialog = () => {
|
14402
14652
|
const { buttons, size, heading, label, destructive, dismissLabel, hideCloseButton, } = this;
|
@@ -14471,8 +14721,9 @@ class Dialog {
|
|
14471
14721
|
if (this.dialogRendered) {
|
14472
14722
|
switch (ev.key) {
|
14473
14723
|
case "Tab":
|
14474
|
-
ev.
|
14475
|
-
|
14724
|
+
if (this.focusNextInteractiveElement(ev.shiftKey)) {
|
14725
|
+
ev.preventDefault();
|
14726
|
+
}
|
14476
14727
|
break;
|
14477
14728
|
case "Escape":
|
14478
14729
|
if (!ev.repeat) {
|
@@ -14678,14 +14929,6 @@ class EmptyState {
|
|
14678
14929
|
constructor(hostRef) {
|
14679
14930
|
registerInstance(this, hostRef);
|
14680
14931
|
this.hostMutationObserver = null;
|
14681
|
-
this.hostMutationCallback = (mutationList) => {
|
14682
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
14683
|
-
? checkSlotInChildMutations$1(addedNodes, removedNodes, [
|
14684
|
-
"image",
|
14685
|
-
"actions",
|
14686
|
-
])
|
14687
|
-
: false)) ;
|
14688
|
-
};
|
14689
14932
|
this.aligned = "left";
|
14690
14933
|
this.body = undefined;
|
14691
14934
|
this.maxLines = undefined;
|
@@ -14700,7 +14943,7 @@ class EmptyState {
|
|
14700
14943
|
componentDidLoad() {
|
14701
14944
|
!isSlotUsed$1(this.el, "heading") &&
|
14702
14945
|
onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Empty State");
|
14703
|
-
this.hostMutationObserver = new MutationObserver(
|
14946
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, ["image", "actions"]));
|
14704
14947
|
this.hostMutationObserver.observe(this.el, {
|
14705
14948
|
childList: true,
|
14706
14949
|
});
|
@@ -14744,6 +14987,7 @@ class Footer {
|
|
14744
14987
|
registerInstance(this, hostRef);
|
14745
14988
|
this.footerResized = createEvent(this, "footerResized", 7);
|
14746
14989
|
this.resizeObserver = null;
|
14990
|
+
this.hostMutationObserver = null;
|
14747
14991
|
this.resizeObserverCallback = (currSize) => {
|
14748
14992
|
if (currSize !== this.deviceSize) {
|
14749
14993
|
this.deviceSize = currSize;
|
@@ -14757,7 +15001,7 @@ class Footer {
|
|
14757
15001
|
});
|
14758
15002
|
this.resizeObserver.observe(this.footerEl);
|
14759
15003
|
};
|
14760
|
-
this.deviceSize = IC_DEVICE_SIZES.XL;
|
15004
|
+
this.deviceSize = IC_DEVICE_SIZES$1.XL;
|
14761
15005
|
this.foregroundColor = getBrandForegroundAppearance();
|
14762
15006
|
this.aligned = "left";
|
14763
15007
|
this.breakpoint = "medium";
|
@@ -14767,15 +15011,23 @@ class Footer {
|
|
14767
15011
|
this.groupLinks = false;
|
14768
15012
|
}
|
14769
15013
|
disconnectedCallback() {
|
15014
|
+
var _a;
|
14770
15015
|
if (this.resizeObserver !== null) {
|
14771
15016
|
this.resizeObserver.disconnect();
|
14772
15017
|
}
|
15018
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
14773
15019
|
}
|
14774
15020
|
componentWillLoad() {
|
14775
15021
|
this.deviceSize = getCurrentDeviceSize();
|
14776
15022
|
}
|
14777
15023
|
componentDidLoad() {
|
14778
15024
|
checkResizeObserver$1(this.runResizeObserver);
|
15025
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => {
|
15026
|
+
return renderDynamicChildSlots$1(mutationList, "link");
|
15027
|
+
});
|
15028
|
+
this.hostMutationObserver.observe(this.el, {
|
15029
|
+
childList: true,
|
15030
|
+
});
|
14779
15031
|
}
|
14780
15032
|
brandChangeHandler(ev) {
|
14781
15033
|
this.foregroundColor = ev.detail.mode;
|
@@ -14783,20 +15035,24 @@ class Footer {
|
|
14783
15035
|
isSmall() {
|
14784
15036
|
const bp = this.breakpoint;
|
14785
15037
|
return bp === "extra small"
|
14786
|
-
? this.deviceSize < IC_DEVICE_SIZES.XS
|
15038
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.XS
|
14787
15039
|
: bp === "small"
|
14788
|
-
? this.deviceSize < IC_DEVICE_SIZES.S
|
15040
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.S
|
14789
15041
|
: bp === "medium"
|
14790
|
-
? this.deviceSize < IC_DEVICE_SIZES.M
|
15042
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.M
|
14791
15043
|
: bp === "large"
|
14792
|
-
? this.deviceSize < IC_DEVICE_SIZES.L
|
15044
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.L
|
14793
15045
|
: bp === "extra large"
|
14794
|
-
? this.deviceSize < IC_DEVICE_SIZES.XL
|
15046
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.XL
|
14795
15047
|
: false;
|
14796
15048
|
}
|
14797
15049
|
render() {
|
14798
|
-
const { aligned, caption, copyright, description,
|
15050
|
+
const { aligned, caption, copyright, description, deviceSize, el, foregroundColor, groupLinks, } = this;
|
14799
15051
|
const small = this.isSmall();
|
15052
|
+
const showComplianceSection = isSlotUsed$1(el, "logo") ||
|
15053
|
+
isSlotUsed$1(el, "caption") ||
|
15054
|
+
caption ||
|
15055
|
+
copyright;
|
14800
15056
|
return (hAsync(Host, { class: {
|
14801
15057
|
["ic-footer"]: true,
|
14802
15058
|
[`ic-footer-${small ? "small" : "sparse"}`]: true,
|
@@ -14805,14 +15061,12 @@ class Footer {
|
|
14805
15061
|
// Slots will be able to infer their own color
|
14806
15062
|
[`ic-footer-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
14807
15063
|
[`ic-footer-${IcBrandForegroundEnum$1.Light}`]: foregroundColor === IcBrandForegroundEnum$1.Light,
|
14808
|
-
} }, hAsync("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, (isSlotUsed$1(
|
14809
|
-
? "caption"
|
14810
|
-
: "body" }, hAsync("slot", { name: "caption" }, caption)))), copyright && (hAsync("div", { class: {
|
15064
|
+
} }, hAsync("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, (isSlotUsed$1(el, "description") || description) && (hAsync("div", { class: "footer-description" }, hAsync("ic-section-container", { aligned: aligned, fullHeight: true }, hAsync("div", { class: "footer-description-inner" }, hAsync("ic-typography", { variant: "body" }, hAsync("slot", { name: "description" }, description)))))), isSlotUsed$1(el, "link") && (hAsync("div", { class: "footer-links" }, groupLinks && small ? (hAsync("div", { class: "footer-links-inner", role: "list" }, hAsync("slot", { name: "link" }))) : (hAsync("ic-section-container", { fullHeight: true, aligned: aligned }, hAsync("div", { class: "footer-links-inner", role: "list" }, hAsync("slot", { name: "link" })))))), showComplianceSection && (hAsync("div", { class: "footer-compliance" }, hAsync("ic-section-container", { aligned: aligned, fullHeight: true }, hAsync("div", { class: "footer-compliance-inner" }, isSlotUsed$1(el, "logo") && (hAsync("div", { class: "footer-logo" }, hAsync("slot", { name: "logo" }))), (isSlotUsed$1(el, "caption") || caption) && (hAsync("div", { class: "footer-caption" }, hAsync("ic-typography", { variant: deviceSize <= IC_DEVICE_SIZES$1.M ? "caption" : "body" }, hAsync("slot", { name: "caption" }, caption)))), copyright && (hAsync("div", { class: {
|
14811
15065
|
["footer-copyright"]: true,
|
14812
15066
|
["classification-spacing"]: hasClassificationBanner(),
|
14813
|
-
} }, hAsync("ic-typography", { variant:
|
15067
|
+
} }, hAsync("ic-typography", { variant: deviceSize <= IC_DEVICE_SIZES$1.M
|
14814
15068
|
? "caption-uppercase"
|
14815
|
-
: "label-uppercase" }, "\u00A9 Crown Copyright")))))))));
|
15069
|
+
: "label-uppercase" }, "\u00A9 Crown Copyright"))))))))));
|
14816
15070
|
}
|
14817
15071
|
get el() { return getElement(this); }
|
14818
15072
|
static get style() { return icFooterCss; }
|
@@ -14992,11 +15246,6 @@ class Hero {
|
|
14992
15246
|
constructor(hostRef) {
|
14993
15247
|
registerInstance(this, hostRef);
|
14994
15248
|
this.hostMutationObserver = null;
|
14995
|
-
this.hostMutationCallback = (mutationList) => {
|
14996
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
14997
|
-
? checkSlotInChildMutations$1(addedNodes, removedNodes, "secondary")
|
14998
|
-
: false)) ;
|
14999
|
-
};
|
15000
15249
|
this.foregroundColor = getBrandForegroundAppearance();
|
15001
15250
|
this.rightContent = false;
|
15002
15251
|
this.leftContentFullWidth = !this.rightContent && this.secondaryHeading === undefined;
|
@@ -15021,7 +15270,7 @@ class Hero {
|
|
15021
15270
|
componentDidLoad() {
|
15022
15271
|
!isSlotUsed$1(this.el, "heading") &&
|
15023
15272
|
onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Hero");
|
15024
|
-
this.hostMutationObserver = new MutationObserver(
|
15273
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, "secondary"));
|
15025
15274
|
this.hostMutationObserver.observe(this.el, {
|
15026
15275
|
childList: true,
|
15027
15276
|
});
|
@@ -15287,11 +15536,6 @@ const icInputComponentContainerCss = "ic-input-component-container{display:flex;
|
|
15287
15536
|
class InputComponentContainer {
|
15288
15537
|
constructor(hostRef) {
|
15289
15538
|
registerInstance(this, hostRef);
|
15290
|
-
this.hostMutationCallback = (mutationList) => {
|
15291
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
15292
|
-
? checkSlotInChildMutations$1(addedNodes, removedNodes, "left-icon")
|
15293
|
-
: false)) ;
|
15294
|
-
};
|
15295
15539
|
this.disabled = false;
|
15296
15540
|
this.fullWidth = false;
|
15297
15541
|
this.multiLine = false;
|
@@ -15307,7 +15551,7 @@ class InputComponentContainer {
|
|
15307
15551
|
removeDisabledFalse$1(this.disabled, this.el);
|
15308
15552
|
}
|
15309
15553
|
componentDidLoad() {
|
15310
|
-
this.hostMutationObserver = new MutationObserver(
|
15554
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, "left-icon"));
|
15311
15555
|
this.hostMutationObserver.observe(this.el, { childList: true });
|
15312
15556
|
}
|
15313
15557
|
render() {
|
@@ -17597,12 +17841,13 @@ var checkIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2
|
|
17597
17841
|
</svg>
|
17598
17842
|
`;
|
17599
17843
|
|
17600
|
-
const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{max-height:0;width:var(--menu-width, var(--input-width, 20rem));color:var(--menu-item-text-color, var(--ic-menu-list-option-text-color));--ic-typography-color:var(\n --menu-item-text-color,\n var(--ic-menu-list-option-text-color)\n );background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);border-radius:var(--ic-border-radius)}.ic-menu-open.sc-ic-menu-h:not(.ic-menu-no-focus):focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}.ic-select-select-all-focused.sc-ic-menu-h{box-shadow:var(--ic-elevation-overlay) !important}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border-radius:1px;background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );visibility:hidden;max-height:0;overflow-y:hidden}.menu.sc-ic-menu:has(+.option-bar).sc-ic-menu{border-radius:0 0 1px 1px}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.ic-menu-open.sc-ic-menu-h{max-height:none;display:flex;flex-direction:column-reverse;border:var(--ic-border-width) solid\n var(--menu-border-color, var(--ic-menu-border-color));transition:box-shadow var(--ic-easing-transition-fast)}.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:calc(var(--ic-space-xl) * 10 + var(--ic-space-xxxs))}.ic-menu-open.sc-ic-menu-h .option-bar.sc-ic-menu{visibility:visible}.ic-menu-open.sc-ic-menu-h .select-all-button.sc-ic-menu{display:block}.ic-menu-full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:var(--ic-space-xs) calc(var(--ic-space-xs) - var(--ic-space-1px));cursor:pointer;display:flex;align-items:center}.loading-option.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.ic-menu-small.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-xxs) calc(var(--ic-space-xs) - var(--ic-space-1px))}.ic-menu-large.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))}.option.sc-ic-menu:last-child{border-radius:0 0 1px 1px}.sc-ic-menu:not(.menu:has(+.option-bar)).sc-ic-menu .option.sc-ic-menu:first-child{border-radius:1px 1px 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-menu-list-option-hover-background-color)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-menu-list-option-pressed-background-color)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{--ic-typography-color:var(\n --menu-item-desc-text-color,\n var(--ic-menu-list-option-description-text-color)\n )}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.option.sc-ic-menu .option-label.sc-ic-menu ic-typography.sc-ic-menu{max-width:100%;word-wrap:break-word}.option.sc-ic-menu .option-element.sc-ic-menu{margin-top:var(--ic-space-xxs)}.option.sc-ic-menu .option-icon.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);margin-top:var(--ic-space-xxs);margin-right:var(--ic-space-xxxs)}.option-text-container.sc-ic-menu{pointer-events:none;width:100%}.option-text-container.show-check-icon.sc-ic-menu{width:calc(var(--ic-space-lg) * 10 + var(--ic-space-xl))}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:calc(var(--ic-space-xs) + var(--ic-space-xxxs));color:var(--ic-menu-loading-list-option-text-color);--ic-typography-color:var(--ic-menu-loading-list-option-text-color)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-atoms-status-icon-error);align-self:center;display:flex;margin-right:calc(var(--ic-space-xxs) * 1.2)}.loading-error-info.sc-ic-menu{display:flex}.check-icon.sc-ic-menu{height:var(--ic-space-lg);min-width:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-xs);pointer-events:none}.focused-option.sc-ic-menu .check-icon.sc-ic-menu *.sc-ic-menu{fill:currentcolor}.option-group-title.sc-ic-menu{padding:var(--ic-space-lg) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xs);--ic-typography-color:var(--ic-menu-option-group-label-text-color)}.ic-menu-small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xxs)}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-menu-last-recommended-option-border)}.disabled-option.sc-ic-menu{color:var(--ic-atoms-list-option-text-disabled-light);--ic-typography-color:var(--ic-atoms-list-option-text-disabled-light);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-color-focus-inner) !important;color:var(--ic-atoms-list-option-text-focused-light) !important;--ic-typography-color:var(\n --ic-atoms-list-option-text-focused-light\n ) !important}.no-results.sc-ic-menu-h li.sc-ic-menu{cursor:no-drop}.no-results.sc-ic-menu-h li.sc-ic-menu:hover{background-color:transparent}.option-bar.sc-ic-menu{padding:var(--ic-space-xxs) var(--ic-space-xs);display:flex;align-items:center;justify-content:space-between;background-color:var(--ic-menu-option-bar-background-color);visibility:hidden;border-bottom:var(--ic-border-width) solid\n var(--ic-menu-option-bar-divider-color);border-radius:1px 1px 0 0}.option-bar.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.ic-menu-large.sc-ic-menu-h .option-bar.sc-ic-menu{padding:var(--ic-space-xs)}.select-all-button.sc-ic-menu{display:none}.select-all-button.sc-ic-menu:focus{z-index:calc(var(--ic-z-index-menu) + 1)}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}}";
|
17844
|
+
const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{max-height:0;width:var(--menu-width, var(--input-width, 20rem));color:var(--menu-item-text-color, var(--ic-menu-list-option-text-color));--ic-typography-color:var(\n --menu-item-text-color,\n var(--ic-menu-list-option-text-color)\n );background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);border-radius:var(--ic-border-radius)}.ic-menu-open.sc-ic-menu-h:not(.ic-menu-no-focus):focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}.ic-select-select-all-focused.sc-ic-menu-h{box-shadow:var(--ic-elevation-overlay) !important}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border-radius:1px;background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );visibility:hidden;max-height:0;overflow-y:hidden}.menu.sc-ic-menu:has(+.option-bar).sc-ic-menu{border-radius:0 0 1px 1px}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.ic-menu-open.sc-ic-menu-h{max-height:none;display:flex;flex-direction:column-reverse;border:var(--ic-border-width) solid\n var(--menu-border-color, var(--ic-menu-border-color));transition:box-shadow var(--ic-easing-transition-fast)}.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:calc(var(--ic-space-xl) * 10 + var(--ic-space-xxxs))}.ic-menu-open.sc-ic-menu-h .option-bar.sc-ic-menu{visibility:visible}.ic-menu-open.sc-ic-menu-h .select-all-button.sc-ic-menu{display:block}.ic-menu-full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:var(--ic-space-xs) calc(var(--ic-space-xs) - var(--ic-space-1px));cursor:pointer;display:flex;align-items:center}.loading-option.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.ic-menu-small.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-xxs) calc(var(--ic-space-xs) - var(--ic-space-1px))}.ic-menu-large.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))}.option.sc-ic-menu:last-child{border-radius:0 0 1px 1px}.sc-ic-menu:not(.menu:has(+.option-bar)).sc-ic-menu .option.sc-ic-menu:first-child{border-radius:1px 1px 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-menu-list-option-hover-background-color)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-menu-list-option-pressed-background-color)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{--ic-typography-color:var(\n --menu-item-desc-text-color,\n var(--ic-menu-list-option-description-text-color)\n )}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.option.sc-ic-menu .option-label.sc-ic-menu ic-typography.sc-ic-menu{max-width:100%;word-wrap:break-word}.option.sc-ic-menu .option-element.sc-ic-menu{margin-top:var(--ic-space-xxs)}.option.sc-ic-menu .option-icon.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);margin-top:var(--ic-space-xxs);margin-right:var(--ic-space-xxxs)}.option-text-container.sc-ic-menu{pointer-events:none;width:100%}.option-text-container.show-check-icon.sc-ic-menu{width:calc(var(--ic-space-lg) * 10 + var(--ic-space-xl))}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:calc(var(--ic-space-xs) + var(--ic-space-xxxs));color:var(--ic-menu-loading-list-option-text-color);--ic-typography-color:var(--ic-menu-loading-list-option-text-color)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-atoms-status-icon-error);align-self:center;display:flex;margin-right:calc(var(--ic-space-xxs) * 1.2)}.loading-error-info.sc-ic-menu{display:flex}.check-icon.sc-ic-menu{height:var(--ic-space-lg);min-width:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-xs);pointer-events:none}.focused-option.sc-ic-menu .check-icon.sc-ic-menu *.sc-ic-menu{fill:currentcolor}.option-group-title.sc-ic-menu{padding:var(--ic-space-lg) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xs);--ic-typography-color:var(--ic-menu-option-group-label-text-color)}.ic-menu-small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xxs)}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-menu-last-recommended-option-border)}.disabled-option.sc-ic-menu{color:var(--ic-atoms-list-option-text-disabled-light);--ic-typography-color:var(--ic-atoms-list-option-text-disabled-light);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-color-focus-inner) !important;color:var(--ic-atoms-list-option-text-focused-light) !important;--ic-typography-color:var(\n --ic-atoms-list-option-text-focused-light\n ) !important}.no-results.sc-ic-menu-h li.sc-ic-menu{cursor:no-drop}.no-results.sc-ic-menu-h li.sc-ic-menu:hover{background-color:transparent}.option-bar.sc-ic-menu{padding:var(--ic-space-xxs) var(--ic-space-xs);display:flex;align-items:center;justify-content:space-between;background-color:var(--ic-menu-option-bar-background-color);visibility:hidden;border-bottom:var(--ic-border-width) solid\n var(--ic-menu-option-bar-divider-color);border-radius:1px 1px 0 0}.option-bar.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.ic-menu-large.sc-ic-menu-h .option-bar.sc-ic-menu{padding:var(--ic-space-xs)}.select-all-button.sc-ic-menu{display:none}.select-all-button.sc-ic-menu:focus{z-index:calc(var(--ic-z-index-menu) + 1)}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}.disabled-option.sc-ic-menu{color:GrayText;--ic-typography-color:GrayText}}";
|
17601
17845
|
|
17602
17846
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
17603
17847
|
class Menu {
|
17604
17848
|
constructor(hostRef) {
|
17605
17849
|
registerInstance(this, hostRef);
|
17850
|
+
this.icClear = createEvent(this, "icClear", 7);
|
17606
17851
|
this.menuKeyPress = createEvent(this, "menuKeyPress", 7);
|
17607
17852
|
this.menuOptionId = createEvent(this, "menuOptionId", 7);
|
17608
17853
|
this.menuOptionSelect = createEvent(this, "menuOptionSelect", 7);
|
@@ -17613,6 +17858,7 @@ class Menu {
|
|
17613
17858
|
this.ungroupedOptionsSet = createEvent(this, "ungroupedOptionsSet", 7);
|
17614
17859
|
this.ACTIVE_DESCENDANT = "aria-activedescendant";
|
17615
17860
|
this.CLEAR_BUTTON_ID = "clear-button";
|
17861
|
+
this.SEARCH_BAR_TAG = "IC-SEARCH-BAR";
|
17616
17862
|
this.disabledOptionSelected = false;
|
17617
17863
|
this.hasPreviouslyBlurred = false;
|
17618
17864
|
this.hasTimedOut = false;
|
@@ -17677,7 +17923,7 @@ class Menu {
|
|
17677
17923
|
}
|
17678
17924
|
};
|
17679
17925
|
this.getParentEl = (parent) => {
|
17680
|
-
if (parent.tagName ===
|
17926
|
+
if (parent.tagName === this.SEARCH_BAR_TAG) {
|
17681
17927
|
this.isSearchBar = true;
|
17682
17928
|
}
|
17683
17929
|
else if (parent.tagName === "IC-SELECT") {
|
@@ -17929,7 +18175,7 @@ class Menu {
|
|
17929
18175
|
// Otherwise, if a different OS, checks Ctrl key
|
17930
18176
|
if ((isMacDevice() && event.metaKey) ||
|
17931
18177
|
(!isMacDevice() && event.ctrlKey)) {
|
17932
|
-
this.
|
18178
|
+
this.emitSelectAllEvents();
|
17933
18179
|
this.lastOptionFocused = null;
|
17934
18180
|
this.lastOptionSelected = null;
|
17935
18181
|
}
|
@@ -18055,7 +18301,7 @@ class Menu {
|
|
18055
18301
|
this.handleSelectAllClick = () => {
|
18056
18302
|
this.keyboardNav = false;
|
18057
18303
|
this.menu.focus();
|
18058
|
-
this.
|
18304
|
+
this.emitSelectAllEvents();
|
18059
18305
|
this.lastOptionFocused = null;
|
18060
18306
|
this.lastOptionSelected = null;
|
18061
18307
|
};
|
@@ -18126,13 +18372,17 @@ class Menu {
|
|
18126
18372
|
? this.lastOptionSelected
|
18127
18373
|
: null;
|
18128
18374
|
};
|
18129
|
-
this.
|
18130
|
-
var _a;
|
18375
|
+
this.emitSelectAllEvents = () => {
|
18376
|
+
var _a, _b;
|
18131
18377
|
// Select all if there is either no value or not all options are selected
|
18132
18378
|
// 'true' means select all, 'false' means clear all
|
18133
18379
|
this.menuOptionSelectAll.emit({
|
18134
18380
|
select: !this.value || !(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === this.ungroupedOptions.length),
|
18135
18381
|
});
|
18382
|
+
// Emit clear event if all options are selected
|
18383
|
+
if (((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) === this.ungroupedOptions.length) {
|
18384
|
+
this.icClear.emit();
|
18385
|
+
}
|
18136
18386
|
};
|
18137
18387
|
this.emitMenuKeyPress = (isNavKey, key) => {
|
18138
18388
|
this.menuKeyPress.emit({ isNavKey: isNavKey, key: key });
|
@@ -18277,7 +18527,7 @@ class Menu {
|
|
18277
18527
|
const showCheckIcon = !!option[this.valueField] &&
|
18278
18528
|
!!this.value &&
|
18279
18529
|
selected &&
|
18280
|
-
this.parentEl.tagName !==
|
18530
|
+
this.parentEl.tagName !== this.SEARCH_BAR_TAG;
|
18281
18531
|
return (hAsync(Fragment, null, option.loading && hAsync("ic-loading-indicator", { size: "icon" }), hAsync("div", { class: {
|
18282
18532
|
"option-text-container": true,
|
18283
18533
|
"show-check-icon": showCheckIcon,
|
@@ -18398,8 +18648,7 @@ class Menu {
|
|
18398
18648
|
highlightedEl.focus();
|
18399
18649
|
}
|
18400
18650
|
}
|
18401
|
-
else if (this.inputEl.tagName !== "
|
18402
|
-
this.inputEl.tagName !== "INPUT") {
|
18651
|
+
else if (this.inputEl.tagName !== "INPUT") {
|
18403
18652
|
this.menu.focus();
|
18404
18653
|
}
|
18405
18654
|
}
|
@@ -18485,16 +18734,24 @@ class Menu {
|
|
18485
18734
|
this.focusFromSearchKeypress = true;
|
18486
18735
|
}
|
18487
18736
|
render() {
|
18488
|
-
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, } = this;
|
18737
|
+
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, } = this;
|
18489
18738
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
18490
18739
|
const hasNoResults = this.host.classList.contains("no-results");
|
18491
18740
|
return (hAsync(Host, { class: {
|
18492
18741
|
"ic-menu-full-width": fullWidth,
|
18493
|
-
"ic-menu-no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT"
|
18742
|
+
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
18743
|
+
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
18744
|
+
hasTimedOut ||
|
18745
|
+
isLoading,
|
18494
18746
|
[`ic-menu-${size}`]: true,
|
18495
18747
|
"ic-menu-open": open && options.length !== 0,
|
18496
18748
|
"ic-menu-multiple": this.isMultiSelect,
|
18497
|
-
} }, options.length !== 0 && (hAsync("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open &&
|
18749
|
+
} }, options.length !== 0 && (hAsync("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open &&
|
18750
|
+
!keyboardNav &&
|
18751
|
+
((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
|
18752
|
+
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
|
18753
|
+
? "0"
|
18754
|
+
: "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
|
18498
18755
|
if (option.children) {
|
18499
18756
|
if (option.children.length > 0) {
|
18500
18757
|
return (hAsync("div", null, hAsync("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, hAsync("p", null, option[this.labelField])), option.children.map((childOption) => childOption.label &&
|
@@ -19342,7 +19599,7 @@ class NavigationItem {
|
|
19342
19599
|
*/
|
19343
19600
|
async setFocus() {
|
19344
19601
|
var _a;
|
19345
|
-
(_a = this.
|
19602
|
+
this.itemEl ? this.itemEl.focus() : (_a = this.el.querySelector("a")) === null || _a === void 0 ? void 0 : _a.focus();
|
19346
19603
|
}
|
19347
19604
|
render() {
|
19348
19605
|
const { inTopNavSideMenu, isTopNavChild, selected } = this;
|
@@ -20052,11 +20309,22 @@ class PaginationBar {
|
|
20052
20309
|
if (focus)
|
20053
20310
|
el.setFocus();
|
20054
20311
|
};
|
20312
|
+
this.setToFirstPage = () => {
|
20313
|
+
var _a;
|
20314
|
+
const firstPage = 1;
|
20315
|
+
this.changePage(firstPage);
|
20316
|
+
(_a = this.paginationEl) === null || _a === void 0 ? void 0 : _a.setCurrentPage(firstPage);
|
20317
|
+
this.activePage = firstPage;
|
20318
|
+
this.icPageChange.emit({ value: firstPage });
|
20319
|
+
};
|
20055
20320
|
this.setItemsPerPage = (newValue) => {
|
20056
20321
|
if (this.itemsPerPage !== newValue) {
|
20057
20322
|
this.itemsPerPage = newValue;
|
20058
20323
|
this.itemsPerPageString = newValue.toString();
|
20059
20324
|
this.icItemsPerPageChange.emit({ value: this.itemsPerPage });
|
20325
|
+
if (this.setToFirstPageOnPaginationChange) {
|
20326
|
+
this.setToFirstPage();
|
20327
|
+
}
|
20060
20328
|
}
|
20061
20329
|
this.totalPages =
|
20062
20330
|
this.totalItems > this.itemsPerPage
|
@@ -20147,6 +20415,7 @@ class PaginationBar {
|
|
20147
20415
|
this.hideRangeLabel = false;
|
20148
20416
|
this.showItemsPerPageControl = false;
|
20149
20417
|
this.totalItems = undefined;
|
20418
|
+
this.setToFirstPageOnPaginationChange = false;
|
20150
20419
|
}
|
20151
20420
|
watchPageNumberHandler() {
|
20152
20421
|
this.activePage = this.currentPage;
|
@@ -20167,6 +20436,9 @@ class PaginationBar {
|
|
20167
20436
|
watchTotalItemsHandler() {
|
20168
20437
|
this.setPaginationBarContent();
|
20169
20438
|
}
|
20439
|
+
watchSetToFirstPageOnPaginationChange() {
|
20440
|
+
this.setPaginationBarContent();
|
20441
|
+
}
|
20170
20442
|
disconnectedCallback() {
|
20171
20443
|
var _a;
|
20172
20444
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
@@ -20219,7 +20491,8 @@ class PaginationBar {
|
|
20219
20491
|
"itemLabel": ["watchItemLabelHandler"],
|
20220
20492
|
"itemsPerPageOptions": ["watchItemsPerPageOptionsHandler"],
|
20221
20493
|
"pageLabel": ["watchPageLabelHandler"],
|
20222
|
-
"totalItems": ["watchTotalItemsHandler"]
|
20494
|
+
"totalItems": ["watchTotalItemsHandler"],
|
20495
|
+
"setToFirstPageOnPaginationChange": ["watchSetToFirstPageOnPaginationChange"]
|
20223
20496
|
}; }
|
20224
20497
|
static get style() { return icPaginationBarCss; }
|
20225
20498
|
static get cmpMeta() { return {
|
@@ -20240,6 +20513,7 @@ class PaginationBar {
|
|
20240
20513
|
"hideRangeLabel": [4, "hide-range-label"],
|
20241
20514
|
"showItemsPerPageControl": [4, "show-items-per-page-control"],
|
20242
20515
|
"totalItems": [2, "total-items"],
|
20516
|
+
"setToFirstPageOnPaginationChange": [4, "set-to-first-page-on-pagination-change"],
|
20243
20517
|
"capitalizedItemLabel": [32],
|
20244
20518
|
"capitalizedPageLabel": [32],
|
20245
20519
|
"activePage": [32],
|
@@ -20626,13 +20900,14 @@ class RadioGroup {
|
|
20626
20900
|
this.resizeObserver.observe(this.el);
|
20627
20901
|
};
|
20628
20902
|
this.handleKeyDown = (event) => {
|
20629
|
-
const additionalFields = Array.from(this.el.querySelectorAll('[slot="additional-field"]'));
|
20903
|
+
const additionalFields = Array.from(this.el.querySelectorAll('ic-text-field[slot="additional-field"]'));
|
20630
20904
|
const activeEl = document.activeElement;
|
20631
20905
|
if (additionalFields.length > 0 &&
|
20632
20906
|
this.radioOptions.map((el) => slotHasContent(el, this.ADDITIONAL_FIELD)) &&
|
20633
20907
|
additionalFields.map((el) => el == activeEl)) {
|
20634
20908
|
return;
|
20635
20909
|
}
|
20910
|
+
event.stopPropagation();
|
20636
20911
|
switch (event.key) {
|
20637
20912
|
case "ArrowDown":
|
20638
20913
|
case "ArrowRight":
|
@@ -20673,7 +20948,7 @@ class RadioGroup {
|
|
20673
20948
|
this.setRadioOptions = () => {
|
20674
20949
|
this.selectedChild = -1;
|
20675
20950
|
this.checkedValue = "";
|
20676
|
-
this.radioOptions = Array.from(this.el.
|
20951
|
+
this.radioOptions = Array.from(this.el.children).filter((el) => el.tagName === "IC-RADIO-OPTION");
|
20677
20952
|
if (this.radioOptions.length > 0) {
|
20678
20953
|
this.radioOptions.forEach((radioOption, index) => {
|
20679
20954
|
if (!radioOption.selected) {
|
@@ -20749,23 +21024,25 @@ class RadioGroup {
|
|
20749
21024
|
}
|
20750
21025
|
selectHandler({ detail, target }) {
|
20751
21026
|
var _a;
|
20752
|
-
this.checkedValue = detail.value;
|
20753
21027
|
const selectedOption = target;
|
20754
|
-
this.
|
20755
|
-
|
20756
|
-
|
20757
|
-
|
20758
|
-
|
20759
|
-
|
20760
|
-
|
20761
|
-
|
20762
|
-
this.radioOptions.forEach((radioOption, index) => {
|
20763
|
-
radioOption.selected = selectedOption === radioOption;
|
20764
|
-
if (radioOption.selected) {
|
20765
|
-
this.selectedChild = index;
|
20766
|
-
}
|
21028
|
+
if (selectedOption.parentElement === this.el) {
|
21029
|
+
this.checkedValue = detail.value;
|
21030
|
+
this.icChange.emit({
|
21031
|
+
value: this.checkedValue,
|
21032
|
+
selectedOption: {
|
21033
|
+
radio: selectedOption,
|
21034
|
+
textFieldValue: (_a = selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.querySelector("ic-text-field")) === null || _a === void 0 ? void 0 : _a.value,
|
21035
|
+
},
|
20767
21036
|
});
|
20768
|
-
|
21037
|
+
if (this.radioOptions !== undefined) {
|
21038
|
+
this.radioOptions.forEach((radioOption, index) => {
|
21039
|
+
radioOption.selected = selectedOption === radioOption;
|
21040
|
+
if (radioOption.selected) {
|
21041
|
+
this.selectedChild = index;
|
21042
|
+
}
|
21043
|
+
});
|
21044
|
+
this.setFirstRadioOptionTabIndex(this.selectedChild > 0 ? -1 : 0);
|
21045
|
+
}
|
20769
21046
|
}
|
20770
21047
|
}
|
20771
21048
|
changeHandler() {
|
@@ -20851,7 +21128,7 @@ class RadioGroup {
|
|
20851
21128
|
}; }
|
20852
21129
|
}
|
20853
21130
|
|
20854
|
-
const icRadioOptionCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}ic-radio-option{display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content}.additional-field-wrapper
|
21131
|
+
const icRadioOptionCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}ic-radio-option{display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content}.additional-field-wrapper [slot=\"additional-field\"]{margin-top:calc(var(--ic-space-sm) / 2);margin-left:var(--ic-space-xl)}ic-radio-option.ic-radio-option-disabled,ic-radio-option.ic-radio-option-disabled .radio-label{--ic-typography-color:var(--ic-radio-button-text-option-disabled)}.container input:focus+span.checkmark,.container:hover input:focus+span.checkmark,.container:active input:focus+span.checkmark,:host(:focus) .container input:checked+span.checkmark{box-shadow:var(--ic-border-focus)}.container{display:grid;grid-template-columns:min-content auto;position:relative;cursor:pointer;align-items:center;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs)}.container.disabled,.container.disabled input:disabled{cursor:default}.container input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:absolute;cursor:pointer;height:var(--ic-space-lg);width:var(--ic-space-lg);border-radius:50%;border:none}.checkmark{display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-radio-button-background-default);border:var(--ic-space-1px) solid var(--ic-radio-button-border-default);border-radius:50%;transition:var(--ic-easing-transition-fast);box-sizing:border-box}.container input:checked~.checkmark::after{display:inline-block}.container:hover input~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:var(--ic-border-width) solid var(--ic-radio-button-default-hover)}.container:hover input:checked~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:0.125rem solid var(--ic-radio-button-default-hover)}.container:hover:not(.disabled) input:checked~.checkmark::after{background-color:var(--ic-radio-button-default-hover)}.container:active input~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed);border:var(--ic-border-width) solid var(--ic-radio-button-default-pressed)}.container:active input:checked~.checkmark{border:0.125rem solid var(--ic-radio-button-default-pressed);box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed)}.container:active input:checked~.checkmark::after{background-color:var(--ic-radio-button-default-pressed)}.container input:checked~.checkmark{border:0.125rem solid var(--ic-radio-button-default-active)}.container input:checked:disabled~.checkmark{border:0.125rem solid var(--ic-radio-button-border-disabled)}.container input:disabled~.checkmark{border:var(--ic-border-width) dashed var(--ic-radio-button-border-disabled)}.container input:disabled~.checkmark::after{background:var(--ic-radio-button-disabled)}.container:hover input:disabled~.checkmark{box-shadow:none;border:0.125rem solid none}.container:active input:disabled~.checkmark::after{background-color:var(--ic-radio-button-disabled)}.container .checkmark::after{content:\"\";position:absolute;display:none;top:calc(50% - var(--ic-space-xs));left:calc(50% - var(--ic-space-xs));width:var(--ic-space-md);height:var(--ic-space-md);border-radius:50%;background:var(--ic-radio-button-default-active)}.radio-label{margin-left:var(--ic-space-md);--ic-typography-color:var(--ic-radio-button-text-option)}.additional-field-wrapper{margin-left:var(--ic-space-xs)}.branch-corner{color:var(--ic-radio-button-required-bar);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-radio-button-required-bar);border-left:0.125rem solid var(--ic-radio-button-required-bar);margin-left:calc(-1 * var(--ic-space-1px))}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.dynamic-container.hidden{display:none}.dynamic-text{color:var(--ic-radio-button-required-text);--ic-typography-color:var(--ic-radio-button-required-text);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){ic-text-field{--input-width:100%}}@media (forced-colors: active){.container input:checked~.checkmark,.container:active input:checked~.checkmark{border-color:Highlight}.container input:checked~.checkmark::after,.container:active input:checked~.checkmark::after{background-color:Highlight}.container input:disabled~.checkmark,.container input:checked:disabled~.checkmark{border-color:GrayText}.container input:disabled~.checkmark::after,.container:active input:disabled~.checkmark::after{background-color:GrayText}}";
|
20855
21132
|
|
20856
21133
|
const ADDITIONAL_FIELD = "additional-field";
|
20857
21134
|
/**
|
@@ -20866,15 +21143,17 @@ class RadioOption {
|
|
20866
21143
|
this.hasAdditionalField = false;
|
20867
21144
|
this.skipFocus = false;
|
20868
21145
|
this.handleClick = (event) => {
|
20869
|
-
|
20870
|
-
|
21146
|
+
var _a;
|
21147
|
+
const clickedAdditionalField = event.target.matches(".dynamic-container:not(ic-radio-option, .checkmark), .dynamic-container *:not(ic-radio-option, .checkmark)");
|
21148
|
+
if (!this.disabled &&
|
21149
|
+
(!clickedAdditionalField || event.target === this.radioElement)) {
|
20871
21150
|
event.stopPropagation();
|
20872
21151
|
if (this.skipFocus === false) {
|
20873
21152
|
this.radioElement.focus();
|
20874
21153
|
}
|
20875
21154
|
this.skipFocus = false;
|
20876
21155
|
if (this.hasAdditionalField) {
|
20877
|
-
this.value = this.getAdditionalField().value || this.defaultRadioValue;
|
21156
|
+
this.value = ((_a = this.getAdditionalField()) === null || _a === void 0 ? void 0 : _a.value) || this.defaultRadioValue;
|
20878
21157
|
}
|
20879
21158
|
this.icCheck.emit({
|
20880
21159
|
value: this.value,
|
@@ -20910,6 +21189,11 @@ class RadioOption {
|
|
20910
21189
|
watchSelectedHandler() {
|
20911
21190
|
this.icSelectedChange.emit();
|
20912
21191
|
}
|
21192
|
+
handleCheck(ev) {
|
21193
|
+
if (this.additionalFieldDisplay === "static" &&
|
21194
|
+
Array.from(this.el.querySelectorAll("ic-radio-option")).includes(ev.target))
|
21195
|
+
this.icCheck.emit({ value: this.value });
|
21196
|
+
}
|
20913
21197
|
disconnectedCallback() {
|
20914
21198
|
removeFormResetListener$1(this.el, this.handleFormReset);
|
20915
21199
|
}
|
@@ -20969,7 +21253,7 @@ class RadioOption {
|
|
20969
21253
|
this.radioElement.tabIndex = value;
|
20970
21254
|
}
|
20971
21255
|
getAdditionalField() {
|
20972
|
-
const additionalField = this.el.querySelector('[slot="additional-field"]');
|
21256
|
+
const additionalField = this.el.querySelector('ic-text-field[slot="additional-field"]');
|
20973
21257
|
if (additionalField)
|
20974
21258
|
additionalField.hiddenInput = false;
|
20975
21259
|
return additionalField;
|
@@ -21011,7 +21295,7 @@ class RadioOption {
|
|
21011
21295
|
"setFocus": [64],
|
21012
21296
|
"setTabIndex": [64]
|
21013
21297
|
},
|
21014
|
-
"$listeners$": [[0, "icChange", "additionalFieldValueHandler"]],
|
21298
|
+
"$listeners$": [[0, "icCheck", "handleCheck"], [0, "icChange", "additionalFieldValueHandler"]],
|
21015
21299
|
"$lazyBundleId$": "-",
|
21016
21300
|
"$attrsToReflect$": [["additionalFieldDisplay", "additional-field-display"], ["selected", "selected"]]
|
21017
21301
|
}; }
|
@@ -21026,7 +21310,7 @@ var searchIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xm
|
|
21026
21310
|
<path d="M13.1292 11.8792H12.4708L12.2375 11.6542C13.0542 10.7042 13.5458 9.47083 13.5458 8.12916C13.5458 5.13749 11.1208 2.71249 8.12916 2.71249C5.13749 2.71249 2.71249 5.13749 2.71249 8.12916C2.71249 11.1208 5.13749 13.5458 8.12916 13.5458C9.47083 13.5458 10.7042 13.0542 11.6542 12.2375L11.8792 12.4708V13.1292L16.0458 17.2875L17.2875 16.0458L13.1292 11.8792ZM8.12916 11.8792C6.05416 11.8792 4.37916 10.2042 4.37916 8.12916C4.37916 6.05416 6.05416 4.37916 8.12916 4.37916C10.2042 4.37916 11.8792 6.05416 11.8792 8.12916C11.8792 10.2042 10.2042 11.8792 8.12916 11.8792Z" fill="currentColor"/>
|
21027
21311
|
</svg>`;
|
21028
21312
|
|
21029
|
-
const icSearchBarCss = "/*!@html*/html.sc-ic-search-bar{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-search-bar{margin:0}/*!@main*/main.sc-ic-search-bar{display:block}/*!@h1*/h1.sc-ic-search-bar{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-search-bar{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-search-bar{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-search-bar{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-search-bar{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-search-bar,strong.sc-ic-search-bar{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-search-bar,kbd.sc-ic-search-bar,samp.sc-ic-search-bar{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-search-bar{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-search-bar,sup.sc-ic-search-bar{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-search-bar{bottom:-0.25em}/*!@sup*/sup.sc-ic-search-bar{top:-0.5em}/*!@img*/img.sc-ic-search-bar{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-search-bar,input.sc-ic-search-bar,optgroup.sc-ic-search-bar,select.sc-ic-search-bar,textarea.sc-ic-search-bar{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-search-bar,input.sc-ic-search-bar{overflow:visible}/*!@button,\nselect*/button.sc-ic-search-bar,select.sc-ic-search-bar{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-search-bar,[type=\"button\"].sc-ic-search-bar,[type=\"reset\"].sc-ic-search-bar,[type=\"submit\"].sc-ic-search-bar{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-search-bar::-moz-focus-inner,[type=\"button\"].sc-ic-search-bar::-moz-focus-inner,[type=\"reset\"].sc-ic-search-bar::-moz-focus-inner,[type=\"submit\"].sc-ic-search-bar::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-search-bar:-moz-focusring,[type=\"button\"].sc-ic-search-bar:-moz-focusring,[type=\"reset\"].sc-ic-search-bar:-moz-focusring,[type=\"submit\"].sc-ic-search-bar:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-search-bar{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-search-bar{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-search-bar{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-search-bar{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-search-bar,[type=\"radio\"].sc-ic-search-bar{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-search-bar::-webkit-inner-spin-button,[type=\"number\"].sc-ic-search-bar::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-search-bar{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-search-bar::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-search-bar::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-search-bar{display:block}/*!@summary*/summary.sc-ic-search-bar{display:list-item}/*!@template*/template.sc-ic-search-bar{display:none}/*!@[hidden]*/[hidden].sc-ic-search-bar{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-search-bar,body.sc-ic-search-bar,div.sc-ic-search-bar,span.sc-ic-search-bar,applet.sc-ic-search-bar,object.sc-ic-search-bar,iframe.sc-ic-search-bar,h1.sc-ic-search-bar,h2.sc-ic-search-bar,h3.sc-ic-search-bar,h4.sc-ic-search-bar,h5.sc-ic-search-bar,h6.sc-ic-search-bar,p.sc-ic-search-bar,blockquote.sc-ic-search-bar,pre.sc-ic-search-bar,a.sc-ic-search-bar,abbr.sc-ic-search-bar,acronym.sc-ic-search-bar,address.sc-ic-search-bar,big.sc-ic-search-bar,cite.sc-ic-search-bar,code.sc-ic-search-bar,del.sc-ic-search-bar,dfn.sc-ic-search-bar,em.sc-ic-search-bar,img.sc-ic-search-bar,ins.sc-ic-search-bar,kbd.sc-ic-search-bar,q.sc-ic-search-bar,s.sc-ic-search-bar,samp.sc-ic-search-bar,small.sc-ic-search-bar,strike.sc-ic-search-bar,strong.sc-ic-search-bar,sub.sc-ic-search-bar,sup.sc-ic-search-bar,tt.sc-ic-search-bar,var.sc-ic-search-bar,b.sc-ic-search-bar,u.sc-ic-search-bar,i.sc-ic-search-bar,center.sc-ic-search-bar,dl.sc-ic-search-bar,dt.sc-ic-search-bar,dd.sc-ic-search-bar,ol.sc-ic-search-bar,ul.sc-ic-search-bar,li.sc-ic-search-bar,fieldset.sc-ic-search-bar,form.sc-ic-search-bar,label.sc-ic-search-bar,legend.sc-ic-search-bar,table.sc-ic-search-bar,caption.sc-ic-search-bar,tbody.sc-ic-search-bar,tfoot.sc-ic-search-bar,thead.sc-ic-search-bar,tr.sc-ic-search-bar,th.sc-ic-search-bar,td.sc-ic-search-bar,article.sc-ic-search-bar,aside.sc-ic-search-bar,canvas.sc-ic-search-bar,details.sc-ic-search-bar,embed.sc-ic-search-bar,figure.sc-ic-search-bar,figcaption.sc-ic-search-bar,footer.sc-ic-search-bar,header.sc-ic-search-bar,hgroup.sc-ic-search-bar,menu.sc-ic-search-bar,nav.sc-ic-search-bar,output.sc-ic-search-bar,ruby.sc-ic-search-bar,section.sc-ic-search-bar,summary.sc-ic-search-bar,time.sc-ic-search-bar,mark.sc-ic-search-bar,audio.sc-ic-search-bar,video.sc-ic-search-bar{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host(.ic-search-bar-search)*/.ic-search-bar-search.sc-ic-search-bar-h{--divider-height:1.5rem;--ic-input-label-helpertext-padding:var(--ic-space-xxs);--border-color:var(--ic-search-bar-outline);--input-bg-color:var(--ic-search-bar-background);--border-color-disabled:var(--ic-search-bar-outline-disabled);--text-field-placeholder-color:var(--ic-search-bar-placeholder-text);--text-field-disabled-text-color:var(--ic-search-bar-disabled-text);--text-field-text-color:var(--ic-search-bar-filled-text);--menu-item-text-color:var(--ic-search-bar-dropdown-option-text);--menu-item-desc-text-color:var(--ic-search-bar-dropdown-option-description);--menu-bg-color:var(--ic-search-bar-dropdown-background);--menu-border-color:var(--ic-search-bar-dropdown-outline);--text-field-typing-cursor:var(--ic-search-bar-filled-text-cursor)}/*!@:host(.ic-search-bar-search:hover)*/.ic-search-bar-search.sc-ic-search-bar-h:hover{--border-color:var(--ic-search-bar-outline-hover)}/*!@:host(.ic-search-bar-search:active)*/.ic-search-bar-search.sc-ic-search-bar-h:active{--border-color:var(--ic-search-bar-outline-pressed)}/*!@:host(.ic-search-bar-search.ic-search-bar-small)*/.ic-search-bar-search.ic-search-bar-small.sc-ic-search-bar-h{--divider-height:1rem}/*!@:host(.ic-search-bar-full-width)*/.ic-search-bar-full-width.sc-ic-search-bar-h{width:100%}/*!@:host(.ic-search-bar-search) .ic-button-disabled:hover*/.ic-search-bar-search.sc-ic-search-bar-h .ic-button-disabled.sc-ic-search-bar:hover{border-color:var(--ic-architectural-200)}/*!@:host(.ic-search-bar-search.ic-search-bar-disabled) .ic-button-disabled svg*/.ic-search-bar-search.ic-search-bar-disabled.sc-ic-search-bar-h .ic-button-disabled.sc-ic-search-bar svg.sc-ic-search-bar{color:var(--ic-architectural-200)}/*!@:host(.ic-search-bar-search) .ic-button-disabled svg*/.ic-search-bar-search.sc-ic-search-bar-h .ic-button-disabled.sc-ic-search-bar svg.sc-ic-search-bar{color:var(--ic-architectural-400)}/*!@.clear-button-container*/.clear-button-container.sc-ic-search-bar{align-items:center;margin-right:var(--ic-space-1px);display:none;visibility:hidden}/*!@.clear-button*/.clear-button.sc-ic-search-bar{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}/*!@.clear-button:focus,\n.clear-button:active*/.clear-button.sc-ic-search-bar:focus,.clear-button.sc-ic-search-bar:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}/*!@.clear-button-unfocused **/.clear-button-unfocused.sc-ic-search-bar *.sc-ic-search-bar{fill:var(--ic-search-bar-clear-button)}/*!@.clear-button:focus,\n.clear-button:active **/.clear-button.sc-ic-search-bar:focus,.clear-button.sc-ic-search-bar:active *.sc-ic-search-bar{fill:white}/*!@.clear-button-visible*/.clear-button-visible.sc-ic-search-bar{visibility:visible;display:flex}/*!@.search-submit-button-container*/.search-submit-button-container.sc-ic-search-bar{display:flex;align-items:center}/*!@.search-submit-button-unfocused **/.search-submit-button-unfocused.sc-ic-search-bar *.sc-ic-search-bar{fill:var(--ic-search-bar-filled-icon)}/*!@.search-submit-button-disabled **/.search-submit-button-disabled.sc-ic-search-bar *.sc-ic-search-bar{fill:var(--ic-search-bar-icon-disabled)}/*!@.search-submit-button-disabled .ic-tooltip-container*/.search-submit-button-disabled.sc-ic-search-bar .ic-tooltip-container.sc-ic-search-bar{display:none !important}/*!@.search-submit-button:focus,\n.search-submit-button:active*/.search-submit-button.sc-ic-search-bar:focus,.search-submit-button.sc-ic-search-bar:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:var(--ic-space-xxs)}/*!@.search-submit-button:focus,\n.search-submit-button:active **/.search-submit-button.sc-ic-search-bar:focus,.search-submit-button.sc-ic-search-bar:active *.sc-ic-search-bar{fill:white}/*!@.divider*/.divider.sc-ic-search-bar{width:var(--ic-border-width);background-color:var(--ic-search-bar-dropdown-divider);height:var(--divider-height)}/*!@.menu-container*/.menu-container.sc-ic-search-bar{width:var(--input-width, 20rem);position:relative;top:var(--ic-space-xxxs)}/*!@.menu-container.fullwidth*/.menu-container.fullwidth.sc-ic-search-bar{width:100%}/*!@.no-results*/.no-results.sc-ic-search-bar{cursor:not-allowed}/*!@.search-results-status*/.search-results-status.sc-ic-search-bar{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);margin-bottom:calc(-1 * var(--ic-space-1px));margin-right:calc(-1 * var(--ic-space-1px));overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}@media (forced-colors: active){/*!@.search-submit-button-unfocused **/.search-submit-button-unfocused.sc-ic-search-bar *.sc-ic-search-bar{fill:canvastext}/*!@.search-submit-button-disabled **/.search-submit-button-disabled.sc-ic-search-bar *.sc-ic-search-bar{fill:GrayText}}";
|
21313
|
+
const icSearchBarCss = "/*!@html*/html.sc-ic-search-bar{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-search-bar{margin:0}/*!@main*/main.sc-ic-search-bar{display:block}/*!@h1*/h1.sc-ic-search-bar{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-search-bar{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-search-bar{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-search-bar{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-search-bar{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-search-bar,strong.sc-ic-search-bar{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-search-bar,kbd.sc-ic-search-bar,samp.sc-ic-search-bar{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-search-bar{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-search-bar,sup.sc-ic-search-bar{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-search-bar{bottom:-0.25em}/*!@sup*/sup.sc-ic-search-bar{top:-0.5em}/*!@img*/img.sc-ic-search-bar{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-search-bar,input.sc-ic-search-bar,optgroup.sc-ic-search-bar,select.sc-ic-search-bar,textarea.sc-ic-search-bar{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-search-bar,input.sc-ic-search-bar{overflow:visible}/*!@button,\nselect*/button.sc-ic-search-bar,select.sc-ic-search-bar{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-search-bar,[type=\"button\"].sc-ic-search-bar,[type=\"reset\"].sc-ic-search-bar,[type=\"submit\"].sc-ic-search-bar{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-search-bar::-moz-focus-inner,[type=\"button\"].sc-ic-search-bar::-moz-focus-inner,[type=\"reset\"].sc-ic-search-bar::-moz-focus-inner,[type=\"submit\"].sc-ic-search-bar::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-search-bar:-moz-focusring,[type=\"button\"].sc-ic-search-bar:-moz-focusring,[type=\"reset\"].sc-ic-search-bar:-moz-focusring,[type=\"submit\"].sc-ic-search-bar:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-search-bar{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-search-bar{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-search-bar{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-search-bar{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-search-bar,[type=\"radio\"].sc-ic-search-bar{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-search-bar::-webkit-inner-spin-button,[type=\"number\"].sc-ic-search-bar::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-search-bar{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-search-bar::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-search-bar::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-search-bar{display:block}/*!@summary*/summary.sc-ic-search-bar{display:list-item}/*!@template*/template.sc-ic-search-bar{display:none}/*!@[hidden]*/[hidden].sc-ic-search-bar{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-search-bar,body.sc-ic-search-bar,div.sc-ic-search-bar,span.sc-ic-search-bar,applet.sc-ic-search-bar,object.sc-ic-search-bar,iframe.sc-ic-search-bar,h1.sc-ic-search-bar,h2.sc-ic-search-bar,h3.sc-ic-search-bar,h4.sc-ic-search-bar,h5.sc-ic-search-bar,h6.sc-ic-search-bar,p.sc-ic-search-bar,blockquote.sc-ic-search-bar,pre.sc-ic-search-bar,a.sc-ic-search-bar,abbr.sc-ic-search-bar,acronym.sc-ic-search-bar,address.sc-ic-search-bar,big.sc-ic-search-bar,cite.sc-ic-search-bar,code.sc-ic-search-bar,del.sc-ic-search-bar,dfn.sc-ic-search-bar,em.sc-ic-search-bar,img.sc-ic-search-bar,ins.sc-ic-search-bar,kbd.sc-ic-search-bar,q.sc-ic-search-bar,s.sc-ic-search-bar,samp.sc-ic-search-bar,small.sc-ic-search-bar,strike.sc-ic-search-bar,strong.sc-ic-search-bar,sub.sc-ic-search-bar,sup.sc-ic-search-bar,tt.sc-ic-search-bar,var.sc-ic-search-bar,b.sc-ic-search-bar,u.sc-ic-search-bar,i.sc-ic-search-bar,center.sc-ic-search-bar,dl.sc-ic-search-bar,dt.sc-ic-search-bar,dd.sc-ic-search-bar,ol.sc-ic-search-bar,ul.sc-ic-search-bar,li.sc-ic-search-bar,fieldset.sc-ic-search-bar,form.sc-ic-search-bar,label.sc-ic-search-bar,legend.sc-ic-search-bar,table.sc-ic-search-bar,caption.sc-ic-search-bar,tbody.sc-ic-search-bar,tfoot.sc-ic-search-bar,thead.sc-ic-search-bar,tr.sc-ic-search-bar,th.sc-ic-search-bar,td.sc-ic-search-bar,article.sc-ic-search-bar,aside.sc-ic-search-bar,canvas.sc-ic-search-bar,details.sc-ic-search-bar,embed.sc-ic-search-bar,figure.sc-ic-search-bar,figcaption.sc-ic-search-bar,footer.sc-ic-search-bar,header.sc-ic-search-bar,hgroup.sc-ic-search-bar,menu.sc-ic-search-bar,nav.sc-ic-search-bar,output.sc-ic-search-bar,ruby.sc-ic-search-bar,section.sc-ic-search-bar,summary.sc-ic-search-bar,time.sc-ic-search-bar,mark.sc-ic-search-bar,audio.sc-ic-search-bar,video.sc-ic-search-bar{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host(.ic-search-bar-search)*/.ic-search-bar-search.sc-ic-search-bar-h{display:block;--divider-height:1.5rem;--ic-input-label-helpertext-padding:var(--ic-space-xxs);--border-color:var(--ic-search-bar-outline);--input-bg-color:var(--ic-search-bar-background);--border-color-disabled:var(--ic-search-bar-outline-disabled);--menu-item-text-color:var(--ic-search-bar-dropdown-option-text);--menu-item-desc-text-color:var(--ic-search-bar-dropdown-option-description);--menu-bg-color:var(--ic-search-bar-dropdown-background);--menu-border-color:var(--ic-search-bar-dropdown-outline)}/*!@:host(.ic-search-bar-disabled)*/.ic-search-bar-disabled.sc-ic-search-bar-h{--ic-input-label-text-color:var(--ic-search-bar-label-disabled);--ic-input-label-helper-text-color:var(--ic-search-bar-subtitle-disabled)}/*!@:host(.ic-search-bar-search:hover)*/.ic-search-bar-search.sc-ic-search-bar-h:hover{--border-color:var(--ic-search-bar-outline-hover)}/*!@:host(.ic-search-bar-search:active)*/.ic-search-bar-search.sc-ic-search-bar-h:active{--border-color:var(--ic-search-bar-outline-pressed)}/*!@:host(.ic-search-bar-search.ic-search-bar-small)*/.ic-search-bar-search.ic-search-bar-small.sc-ic-search-bar-h{--divider-height:1rem}/*!@:host(.ic-search-bar-full-width)*/.ic-search-bar-full-width.sc-ic-search-bar-h{width:100%}/*!@:host(.ic-search-bar-search) .ic-button-disabled:hover*/.ic-search-bar-search.sc-ic-search-bar-h .ic-button-disabled.sc-ic-search-bar:hover{border-color:var(--ic-architectural-200)}/*!@:host(.ic-search-bar-search.ic-search-bar-disabled) .ic-button-disabled svg*/.ic-search-bar-search.ic-search-bar-disabled.sc-ic-search-bar-h .ic-button-disabled.sc-ic-search-bar svg.sc-ic-search-bar{color:var(--ic-architectural-200)}/*!@:host(.ic-search-bar-search) .ic-button-disabled svg*/.ic-search-bar-search.sc-ic-search-bar-h .ic-button-disabled.sc-ic-search-bar svg.sc-ic-search-bar{color:var(--ic-architectural-400)}/*!@::-moz-placeholder*/.sc-ic-search-bar::-moz-placeholder{color:var(--ic-search-bar-placeholder-text);opacity:1}/*!@::placeholder*/.sc-ic-search-bar::placeholder{color:var(--ic-search-bar-placeholder-text);opacity:1}/*!@input*/input.sc-ic-search-bar{border:0;border-radius:var(--ic-border-radius);color:var(--ic-search-bar-filled-text);background-color:var(--input-bg-color);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs);caret-color:var(--ic-search-bar-filled-text-cursor)}/*!@input:focus*/input.sc-ic-search-bar:focus{border:0;outline:0}/*!@input:disabled*/input.sc-ic-search-bar:disabled{color:var(--ic-search-bar-disabled-text)}/*!@input::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button*/input.sc-ic-search-bar::-webkit-outer-spin-button,input.sc-ic-search-bar::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}/*!@.no-left-pad*/.no-left-pad.sc-ic-search-bar{padding-left:0}/*!@input[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration,\ninput[type=\"search\"]::-webkit-search-results-button,\ninput[type=\"search\"]::-webkit-search-results-decoration*/input[type=\"search\"].sc-ic-search-bar::-webkit-search-cancel-button,input[type=\"search\"].sc-ic-search-bar::-webkit-search-decoration,input[type=\"search\"].sc-ic-search-bar::-webkit-search-results-button,input[type=\"search\"].sc-ic-search-bar::-webkit-search-results-decoration{display:none}/*!@input[type=\"search\"].truncate-value*/input[type=\"search\"].truncate-value.sc-ic-search-bar{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}/*!@.clear-button-container*/.clear-button-container.sc-ic-search-bar{align-items:center;margin-right:var(--ic-space-1px);display:none;visibility:hidden}/*!@.clear-button*/.clear-button.sc-ic-search-bar{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}/*!@.clear-button:focus,\n.clear-button:active*/.clear-button.sc-ic-search-bar:focus,.clear-button.sc-ic-search-bar:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}/*!@.clear-button-unfocused **/.clear-button-unfocused.sc-ic-search-bar *.sc-ic-search-bar{fill:var(--ic-search-bar-clear-button)}/*!@.clear-button:focus,\n.clear-button:active **/.clear-button.sc-ic-search-bar:focus,.clear-button.sc-ic-search-bar:active *.sc-ic-search-bar{fill:var(--ic-atoms-input-clear-button-focus)}/*!@.clear-button-visible*/.clear-button-visible.sc-ic-search-bar{visibility:visible;display:flex}/*!@.search-submit-button-container*/.search-submit-button-container.sc-ic-search-bar{display:flex;align-items:center}/*!@.search-submit-button-unfocused **/.search-submit-button-unfocused.sc-ic-search-bar *.sc-ic-search-bar{fill:var(--ic-search-bar-filled-icon)}/*!@.search-submit-button-disabled **/.search-submit-button-disabled.sc-ic-search-bar *.sc-ic-search-bar{fill:var(--ic-search-bar-icon-disabled)}/*!@.search-submit-button-disabled .ic-tooltip-container*/.search-submit-button-disabled.sc-ic-search-bar .ic-tooltip-container.sc-ic-search-bar{display:none !important}/*!@.search-submit-button:focus,\n.search-submit-button:active*/.search-submit-button.sc-ic-search-bar:focus,.search-submit-button.sc-ic-search-bar:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:var(--ic-space-xxs)}/*!@.search-submit-button:focus,\n.search-submit-button:active **/.search-submit-button.sc-ic-search-bar:focus,.search-submit-button.sc-ic-search-bar:active *.sc-ic-search-bar{fill:white}/*!@.divider*/.divider.sc-ic-search-bar{width:var(--ic-border-width);background-color:var(--ic-search-bar-dropdown-divider);height:var(--divider-height)}/*!@.menu-container*/.menu-container.sc-ic-search-bar{width:var(--input-width, 20rem);position:relative;top:var(--ic-space-xxxs)}/*!@.menu-container.fullwidth*/.menu-container.fullwidth.sc-ic-search-bar{width:100%}/*!@.no-results*/.no-results.sc-ic-search-bar{cursor:not-allowed}/*!@.search-results-status*/.search-results-status.sc-ic-search-bar{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);margin-bottom:calc(-1 * var(--ic-space-1px));margin-right:calc(-1 * var(--ic-space-1px));overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}@media (forced-colors: active){/*!@.search-submit-button-unfocused **/.search-submit-button-unfocused.sc-ic-search-bar *.sc-ic-search-bar{fill:canvastext}/*!@.search-submit-button-disabled **/.search-submit-button-disabled.sc-ic-search-bar *.sc-ic-search-bar{fill:GrayText}}";
|
21030
21314
|
|
21031
21315
|
let inputIds$3 = 0;
|
21032
21316
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
@@ -21044,6 +21328,7 @@ class SearchBar {
|
|
21044
21328
|
this.icSubmitSearchBlur = createEvent(this, "icSubmitSearchBlur", 7);
|
21045
21329
|
this.icSearchBarBlur = createEvent(this, "icSearchBarBlur", 7);
|
21046
21330
|
this.icSearchBarFocus = createEvent(this, "icSearchBarFocus", 7);
|
21331
|
+
this.icKeydown = createEvent(this, "icKeydown", 7);
|
21047
21332
|
this.assistiveHintEl = null;
|
21048
21333
|
this.hasTimedOut = false;
|
21049
21334
|
this.inputId = `ic-search-bar-input-${inputIds$3++}`;
|
@@ -21073,6 +21358,7 @@ class SearchBar {
|
|
21073
21358
|
};
|
21074
21359
|
this.onInput = (ev) => {
|
21075
21360
|
this.value = ev.target.value;
|
21361
|
+
this.icInput.emit({ value: this.value });
|
21076
21362
|
const noOptions = [
|
21077
21363
|
{ [this.labelField]: this.emptyOptionListText, [this.valueField]: "" },
|
21078
21364
|
];
|
@@ -21181,10 +21467,7 @@ class SearchBar {
|
|
21181
21467
|
this.handleMenuChange = (ev) => {
|
21182
21468
|
this.setMenuChange(ev.detail.open);
|
21183
21469
|
if (!ev.detail.open) {
|
21184
|
-
this.
|
21185
|
-
if (ev.detail.focusInput === undefined || ev.detail.focusInput) {
|
21186
|
-
this.el.setFocus();
|
21187
|
-
}
|
21470
|
+
this.menuCloseFromMenuChangeEvent = true;
|
21188
21471
|
}
|
21189
21472
|
};
|
21190
21473
|
this.setMenuChange = (open) => {
|
@@ -21201,6 +21484,7 @@ class SearchBar {
|
|
21201
21484
|
this.icSearchBarFocus.emit();
|
21202
21485
|
};
|
21203
21486
|
this.handleHostBlur = (ev) => {
|
21487
|
+
var _a;
|
21204
21488
|
const nextFocus = ev.relatedTarget;
|
21205
21489
|
if (this.open &&
|
21206
21490
|
this.options &&
|
@@ -21210,10 +21494,10 @@ class SearchBar {
|
|
21210
21494
|
this.setMenuChange(false);
|
21211
21495
|
}
|
21212
21496
|
if (this.retryButtonClick || this.retryViaKeyPress) {
|
21213
|
-
this.inputEl.
|
21497
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
21214
21498
|
}
|
21215
21499
|
this.handleShowClearButton(false);
|
21216
|
-
this.
|
21500
|
+
this.menuCloseFromMenuChangeEvent = false;
|
21217
21501
|
this.handleTruncateValue(true);
|
21218
21502
|
this.icSearchBarBlur.emit({ relatedTarget: nextFocus, value: this.value });
|
21219
21503
|
this.retryViaKeyPress = false;
|
@@ -21225,16 +21509,12 @@ class SearchBar {
|
|
21225
21509
|
this.handleFocusClearButton = () => {
|
21226
21510
|
this.clearButtonFocused = true;
|
21227
21511
|
};
|
21228
|
-
this.handleMenuCloseFromMenuChange = (fromEvent) => {
|
21229
|
-
this.menuCloseFromMenuChangeEvent = fromEvent;
|
21230
|
-
};
|
21231
21512
|
this.handleTruncateValue = (truncate) => {
|
21232
21513
|
this.truncateValue = truncate;
|
21233
21514
|
};
|
21234
21515
|
this.renderAssistiveHintEl = () => {
|
21235
|
-
var _a
|
21236
|
-
const input = (
|
21237
|
-
.querySelector("ic-text-field")) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(`#${this.inputId}`);
|
21516
|
+
var _a;
|
21517
|
+
const input = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`#${this.inputId}`);
|
21238
21518
|
if (input &&
|
21239
21519
|
Object.keys(input).length > 0 &&
|
21240
21520
|
this.hasOptionsOrFilterDisabled()) {
|
@@ -21336,6 +21616,9 @@ class SearchBar {
|
|
21336
21616
|
watchDisabledHandler() {
|
21337
21617
|
removeDisabledFalse$1(this.disabled, this.el);
|
21338
21618
|
}
|
21619
|
+
debounceChanged() {
|
21620
|
+
this.icChange = debounceEvent(this.icChange, this.debounce);
|
21621
|
+
}
|
21339
21622
|
loadingHandler(newValue) {
|
21340
21623
|
if (newValue && !this.hasTimedOut) {
|
21341
21624
|
this.preLoad = false;
|
@@ -21378,6 +21661,10 @@ class SearchBar {
|
|
21378
21661
|
else if (this.inputEl && this.inputEl.value !== newValue) {
|
21379
21662
|
this.inputEl.value = newValue;
|
21380
21663
|
}
|
21664
|
+
this.icChange.emit({ value: newValue });
|
21665
|
+
}
|
21666
|
+
connectedCallback() {
|
21667
|
+
this.debounceChanged();
|
21381
21668
|
}
|
21382
21669
|
disconnectedCallback() {
|
21383
21670
|
if (this.assistiveHintEl) {
|
@@ -21399,17 +21686,14 @@ class SearchBar {
|
|
21399
21686
|
}
|
21400
21687
|
}
|
21401
21688
|
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Search Bar");
|
21402
|
-
if (this.inputEl !== undefined) {
|
21403
|
-
this.anchorEl = this.inputEl.shadowRoot.querySelector("ic-input-component-container");
|
21404
|
-
}
|
21405
21689
|
}
|
21406
21690
|
componentWillRender() {
|
21407
21691
|
this.highlightFirstOptionAfterNoResults();
|
21408
21692
|
}
|
21409
|
-
handleKeyDown(
|
21410
|
-
|
21693
|
+
handleKeyDown(event) {
|
21694
|
+
this.icKeydown.emit({ event });
|
21411
21695
|
if (this.menu && this.open) {
|
21412
|
-
this.menu.handleKeyboardOpen(
|
21696
|
+
this.menu.handleKeyboardOpen(event);
|
21413
21697
|
}
|
21414
21698
|
}
|
21415
21699
|
handleKeyUp(ev) {
|
@@ -21431,11 +21715,10 @@ class SearchBar {
|
|
21431
21715
|
* Sets focus on the native `input`.
|
21432
21716
|
*/
|
21433
21717
|
async setFocus() {
|
21718
|
+
var _a;
|
21434
21719
|
this.retryViaKeyPress = false;
|
21435
21720
|
this.retryButtonClick = false;
|
21436
|
-
|
21437
|
-
this.inputEl.setFocus();
|
21438
|
-
}
|
21721
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
21439
21722
|
}
|
21440
21723
|
debounceAriaLiveUpdate() {
|
21441
21724
|
clearTimeout(this.debounceAriaLive);
|
@@ -21471,24 +21754,28 @@ class SearchBar {
|
|
21471
21754
|
["ic-search-bar-disabled"]: disabled,
|
21472
21755
|
["ic-search-bar-small"]: size === "small",
|
21473
21756
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21474
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-
|
21757
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly })), hAsync("ic-input-component-container", { ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, hAsync("input", { id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
|
21758
|
+
"no-left-pad": readonly,
|
21759
|
+
readonly,
|
21760
|
+
"truncate-value": truncateValue,
|
21761
|
+
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": label, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), hAsync("div", { class: {
|
21475
21762
|
"clear-button-container": true,
|
21476
21763
|
"clear-button-visible": value && !disabledMode && this.showClearButton,
|
21477
|
-
}
|
21764
|
+
} }, hAsync("ic-button", { id: "clear-button", class: {
|
21478
21765
|
"clear-button": true,
|
21479
21766
|
"clear-button-unfocused": !this.clearButtonFocused,
|
21480
21767
|
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "submit", variant: "icon", theme: this.clearButtonFocused ? "light" : "dark" }), hAsync("div", { class: "divider" })), hAsync("div", { class: {
|
21481
21768
|
"search-submit-button-container": true,
|
21482
21769
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
21483
|
-
}
|
21770
|
+
} }, hAsync("ic-button", { id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
21484
21771
|
["search-submit-button"]: true,
|
21485
21772
|
["search-submit-button-small"]: size === "small",
|
21486
21773
|
["search-submit-button-unfocused"]: !this.searchSubmitFocused,
|
21487
21774
|
["search-submit-button-disabled"]: this.isSubmitDisabled(),
|
21488
|
-
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: "submit", variant: "icon", theme: this.searchSubmitFocused ? "light" : "dark" })), hAsync("div", { class: {
|
21775
|
+
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: "submit", variant: "icon", theme: this.searchSubmitFocused ? "light" : "dark" }))), hAsync("div", { class: {
|
21489
21776
|
"menu-container": true,
|
21490
21777
|
fullwidth: fullWidth,
|
21491
|
-
}
|
21778
|
+
} }, menuRendered && (hAsync("ic-menu", { class: {
|
21492
21779
|
"no-results": this.hadNoOptions() ||
|
21493
21780
|
(filteredOptions.length === 1 &&
|
21494
21781
|
(filteredOptions[0][this.labelField] ===
|
@@ -21501,6 +21788,7 @@ class SearchBar {
|
|
21501
21788
|
get el() { return getElement(this); }
|
21502
21789
|
static get watchers() { return {
|
21503
21790
|
"disabled": ["watchDisabledHandler"],
|
21791
|
+
"debounce": ["debounceChanged"],
|
21504
21792
|
"loading": ["loadingHandler"],
|
21505
21793
|
"filteredOptions": ["filteredOptionsHandler"],
|
21506
21794
|
"options": ["watchOptionsHandler"],
|
@@ -21551,7 +21839,7 @@ class SearchBar {
|
|
21551
21839
|
"filteredOptions": [32],
|
21552
21840
|
"setFocus": [64]
|
21553
21841
|
},
|
21554
|
-
"$listeners$": [[0, "
|
21842
|
+
"$listeners$": [[0, "keydown", "handleKeyDown"], [0, "keyup", "handleKeyUp"]],
|
21555
21843
|
"$lazyBundleId$": "-",
|
21556
21844
|
"$attrsToReflect$": [["value", "value"]]
|
21557
21845
|
}; }
|
@@ -21598,7 +21886,7 @@ var Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w
|
|
21598
21886
|
</svg>
|
21599
21887
|
`;
|
21600
21888
|
|
21601
|
-
const icSelectCss = "/*!@html*/html.sc-ic-select{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-select{margin:0}/*!@main*/main.sc-ic-select{display:block}/*!@h1*/h1.sc-ic-select{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-select{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-select{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-select{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-select{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-select,strong.sc-ic-select{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-select,kbd.sc-ic-select,samp.sc-ic-select{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-select{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-select,sup.sc-ic-select{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-select{bottom:-0.25em}/*!@sup*/sup.sc-ic-select{top:-0.5em}/*!@img*/img.sc-ic-select{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-select,input.sc-ic-select,optgroup.sc-ic-select,select.sc-ic-select,textarea.sc-ic-select{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-select,input.sc-ic-select{overflow:visible}/*!@button,\nselect*/button.sc-ic-select,select.sc-ic-select{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-select,[type=\"button\"].sc-ic-select,[type=\"reset\"].sc-ic-select,[type=\"submit\"].sc-ic-select{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-select::-moz-focus-inner,[type=\"button\"].sc-ic-select::-moz-focus-inner,[type=\"reset\"].sc-ic-select::-moz-focus-inner,[type=\"submit\"].sc-ic-select::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-select:-moz-focusring,[type=\"button\"].sc-ic-select:-moz-focusring,[type=\"reset\"].sc-ic-select:-moz-focusring,[type=\"submit\"].sc-ic-select:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-select{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-select{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-select{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-select{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-select,[type=\"radio\"].sc-ic-select{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-select::-webkit-inner-spin-button,[type=\"number\"].sc-ic-select::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-select{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-select::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-select::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-select{display:block}/*!@summary*/summary.sc-ic-select{display:list-item}/*!@template*/template.sc-ic-select{display:none}/*!@[hidden]*/[hidden].sc-ic-select{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-select,body.sc-ic-select,div.sc-ic-select,span.sc-ic-select,applet.sc-ic-select,object.sc-ic-select,iframe.sc-ic-select,h1.sc-ic-select,h2.sc-ic-select,h3.sc-ic-select,h4.sc-ic-select,h5.sc-ic-select,h6.sc-ic-select,p.sc-ic-select,blockquote.sc-ic-select,pre.sc-ic-select,a.sc-ic-select,abbr.sc-ic-select,acronym.sc-ic-select,address.sc-ic-select,big.sc-ic-select,cite.sc-ic-select,code.sc-ic-select,del.sc-ic-select,dfn.sc-ic-select,em.sc-ic-select,img.sc-ic-select,ins.sc-ic-select,kbd.sc-ic-select,q.sc-ic-select,s.sc-ic-select,samp.sc-ic-select,small.sc-ic-select,strike.sc-ic-select,strong.sc-ic-select,sub.sc-ic-select,sup.sc-ic-select,tt.sc-ic-select,var.sc-ic-select,b.sc-ic-select,u.sc-ic-select,i.sc-ic-select,center.sc-ic-select,dl.sc-ic-select,dt.sc-ic-select,dd.sc-ic-select,ol.sc-ic-select,ul.sc-ic-select,li.sc-ic-select,fieldset.sc-ic-select,form.sc-ic-select,label.sc-ic-select,legend.sc-ic-select,table.sc-ic-select,caption.sc-ic-select,tbody.sc-ic-select,tfoot.sc-ic-select,thead.sc-ic-select,tr.sc-ic-select,th.sc-ic-select,td.sc-ic-select,article.sc-ic-select,aside.sc-ic-select,canvas.sc-ic-select,details.sc-ic-select,embed.sc-ic-select,figure.sc-ic-select,figcaption.sc-ic-select,footer.sc-ic-select,header.sc-ic-select,hgroup.sc-ic-select,menu.sc-ic-select,nav.sc-ic-select,output.sc-ic-select,ruby.sc-ic-select,section.sc-ic-select,summary.sc-ic-select,time.sc-ic-select,mark.sc-ic-select,audio.sc-ic-select,video.sc-ic-select{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-select-h{display:block;position:relative;--ic-input-label-helpertext-padding:var(--ic-space-xxs);--menu-max-height:100px;--border-color:var(--ic-select-field-border);--border-color-hover:var(--ic-select-field-border-hover);--border-color-pressed:var(--ic-select-field-border-pressed);--border-color-disabled:var(--ic-select-field-border-disabled);--border-color-error:var(--ic-select-field-border-error);--border-color-error-hover:var(--ic-select-field-border-error-hover);--border-color-error-pressed:var(--ic-select-field-border-error-pressed);--border-color-success:var(--ic-select-field-border-success);--border-color-success-hover:var(--ic-select-field-border-success-hover);--border-color-success-pressed:var(--ic-select-field-border-success-pressed);--border-color-warning:var(--ic-select-field-border-warning);--border-color-warning-hover:var(--ic-select-field-border-warning-hover);--border-color-warning-pressed:var(--ic-select-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-select-field-labe);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle\n );--ic-input-validation-status-text-color:var(--ic-select-state-text);--ic-input-validation-error:var(--ic-select-state-icon-error);--ic-input-validation-warning-icon-color:var(--ic-select-state-icon-warning);--ic-input-validation-success-icon-color:var(--ic-select-state-icon-success);--menu-item-text-color:var(--ic-select-list-option-text);--menu-bg-color:var(--ic-select-list-option-background);--menu-border-color:var(--ic-select-dropdown-list-border)}/*!@:host(.ic-select-disabled)*/.ic-select-disabled.sc-ic-select-h{--ic-input-label-text-color:var(--ic-select-field-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle-disabled\n )}/*!@:host(.ic-select-full-width)*/.ic-select-full-width.sc-ic-select-h{width:100%}/*!@ic-input-component-container.menu-open*/ic-input-component-container.menu-open.sc-ic-select{--border-color:var(--ic-select-field-border-pressed)}/*!@ic-input-validation .status-icon,\nic-input-validation .statustext*/ic-input-validation.sc-ic-select .status-icon.sc-ic-select,ic-input-validation.sc-ic-select .statustext.sc-ic-select{visibility:visible}/*!@ic-input-validation.menu-open .status-icon,\nic-input-validation.menu-open .statustext*/ic-input-validation.menu-open.sc-ic-select .status-icon.sc-ic-select,ic-input-validation.menu-open.sc-ic-select .statustext.sc-ic-select{visibility:hidden;transition:visibility 0s}/*!@ic-input-label*/ic-input-label.sc-ic-select{margin-bottom:var(--ic-space-xs) !important}/*!@select*/select.sc-ic-select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-select-field-background);color:var(--ic-select-content-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:var(--ic-select-mobile-dropdown-icon);caret-color:var(--ic-select-input-field-text-cursor)}/*!@select option,\n.select-option-selected*/select.sc-ic-select option.sc-ic-select,.select-option-selected.sc-ic-select{color:var(--ic-select-list-option-text)}/*!@select:disabled*/select.sc-ic-select:disabled{color:var(--ic-select-content-text-disabled);background-image:var(--ic-select-mobile-dropdown-icon-disabled)}/*!@select:focus*/select.sc-ic-select:focus{border:0;outline:0}/*!@select:not([disabled])*/select.sc-ic-select:not([disabled]){cursor:pointer}/*!@.select-container*/.select-container.sc-ic-select{width:100%;display:flex;align-items:center;position:relative}/*!@.select-input*/.select-input.sc-ic-select{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none;background-color:var(--ic-select-field-background);color:var(--ic-select-content-text)}/*!@.select-input:focus*/.select-input.sc-ic-select:focus{outline:var(--ic-hc-focus-outline)}/*!@.select-input[disabled]*/.select-input[disabled].sc-ic-select{pointer-events:none}/*!@:host(.ic-select-searchable) .select-input*/.ic-select-searchable.sc-ic-select-h .select-input.sc-ic-select{cursor:auto}/*!@.select-input.with-clear-button*/.select-input.with-clear-button.sc-ic-select{padding-right:0}/*!@.value-text*/.value-text.sc-ic-select{max-width:calc(100% - (var(--ic-space-lg) + var(--ic-space-xxs)));box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:0 !important}/*!@.value-text.with-clear-button*/.value-text.with-clear-button.sc-ic-select{padding-right:calc(var(--ic-space-xl) + var(--ic-space-xs))}/*!@.searchable-select-container*/.searchable-select-container.sc-ic-select{align-items:center;display:flex;width:100%;position:relative}/*!@.expand-icon*/.expand-icon.sc-ic-select{height:var(--ic-space-lg);padding-left:var(--ic-space-xxs);color:var(--ic-select-expand-icon-color)}/*!@.expand-icon > svg*/.expand-icon.sc-ic-select>svg.sc-ic-select{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}/*!@:host(.ic-select-disabled) .expand-icon,\n:host(.ic-select-disabled) .expand-icon > svg > path*/.ic-select-disabled.sc-ic-select-h .expand-icon.sc-ic-select,.ic-select-disabled.sc-ic-select-h .expand-icon.sc-ic-select>svg.sc-ic-select>path.sc-ic-select{color:var(--ic-select-disabled-expand-icon-color)}/*!@:host(.ic-select-searchable) .expand-icon*/.ic-select-searchable.sc-ic-select-h .expand-icon.sc-ic-select{padding-left:0;height:2.25rem}/*!@:host(.ic-select-searchable) .expand-icon > svg*/.ic-select-searchable.sc-ic-select-h .expand-icon.sc-ic-select>svg.sc-ic-select{height:2.25rem;padding:0 calc(var(--ic-space-xxxs) + var(--ic-space-xxs)) 0\n var(--ic-space-xxs)}/*!@:host(.ic-select-searchable:not(.ic-select-disabled)) .expand-icon > svg*/.ic-select-searchable.sc-ic-select-h:not(.ic-select-disabled) .expand-icon.sc-ic-select>svg.sc-ic-select{cursor:pointer}/*!@.expand-icon-open*/.expand-icon-open.sc-ic-select{color:var(--ic-select-expand-icon-color)}/*!@.expand-icon-open,\n:host(.ic-select-searchable) .expand-icon-open*/.expand-icon-open.sc-ic-select,.ic-select-searchable.sc-ic-select-h .expand-icon-open.sc-ic-select{transform:rotateX(180deg)}/*!@:host(.ic-select-disabled) .value-text,\n.placeholder*/.ic-select-disabled.sc-ic-select-h .value-text.sc-ic-select,.placeholder.sc-ic-select{color:var(--ic-select-content-placeholder-text)}/*!@.select-input-end*/.select-input-end.sc-ic-select{display:flex;align-items:center}/*!@.clear-button-container*/.clear-button-container.sc-ic-select{display:flex;align-items:center}/*!@.divider*/.divider.sc-ic-select{width:var(--ic-space-1px);background-color:var(--ic-select-content-divider);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}/*!@:host(.ic-select-small) .divider*/.ic-select-small.sc-ic-select-h .divider.sc-ic-select{height:var(--ic-space-md)}/*!@:host(.ic-select-large) .divider*/.ic-select-large.sc-ic-select-h .divider.sc-ic-select{height:var(--ic-space-xl)}/*!@.clear-button*/.clear-button.sc-ic-select{color:var(--ic-select-clear-button);position:absolute;right:calc(var(--ic-space-xl) + var(--ic-space-xxs) - var(--ic-space-1px));border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}/*!@.clear-button:focus*/.clear-button.sc-ic-select:focus{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}/*!@.clear-button.searchable*/.clear-button.searchable.sc-ic-select{position:static}/*!@.searchable-select-results-status,\n.multi-select-selected-count*/.searchable-select-results-status.sc-ic-select,.multi-select-selected-count.sc-ic-select{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}/*!@::slotted([slot=\"icon\"])*/.sc-ic-select-s>[slot=\"icon\"]{fill:var(--ic-select-content-placeholder-text)}/*!@.has-value ::slotted([slot=\"icon\"])*/.has-value .sc-ic-select-s>[slot=\"icon\"]{fill:var(--ic-select-content-text)}/*!@.readonly ::slotted([slot=\"icon\"])*/.readonly .sc-ic-select-s>[slot=\"icon\"]{padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){/*!@.has-value ::slotted([slot=\"icon\"])*/.has-value .sc-ic-select-s>[slot=\"icon\"]{fill:currentcolor}}";
|
21889
|
+
const icSelectCss = "/*!@html*/html.sc-ic-select{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-select{margin:0}/*!@main*/main.sc-ic-select{display:block}/*!@h1*/h1.sc-ic-select{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-select{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-select{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-select{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-select{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-select,strong.sc-ic-select{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-select,kbd.sc-ic-select,samp.sc-ic-select{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-select{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-select,sup.sc-ic-select{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-select{bottom:-0.25em}/*!@sup*/sup.sc-ic-select{top:-0.5em}/*!@img*/img.sc-ic-select{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-select,input.sc-ic-select,optgroup.sc-ic-select,select.sc-ic-select,textarea.sc-ic-select{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-select,input.sc-ic-select{overflow:visible}/*!@button,\nselect*/button.sc-ic-select,select.sc-ic-select{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-select,[type=\"button\"].sc-ic-select,[type=\"reset\"].sc-ic-select,[type=\"submit\"].sc-ic-select{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-select::-moz-focus-inner,[type=\"button\"].sc-ic-select::-moz-focus-inner,[type=\"reset\"].sc-ic-select::-moz-focus-inner,[type=\"submit\"].sc-ic-select::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-select:-moz-focusring,[type=\"button\"].sc-ic-select:-moz-focusring,[type=\"reset\"].sc-ic-select:-moz-focusring,[type=\"submit\"].sc-ic-select:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-select{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-select{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-select{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-select{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-select,[type=\"radio\"].sc-ic-select{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-select::-webkit-inner-spin-button,[type=\"number\"].sc-ic-select::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-select{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-select::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-select::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-select{display:block}/*!@summary*/summary.sc-ic-select{display:list-item}/*!@template*/template.sc-ic-select{display:none}/*!@[hidden]*/[hidden].sc-ic-select{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-select,body.sc-ic-select,div.sc-ic-select,span.sc-ic-select,applet.sc-ic-select,object.sc-ic-select,iframe.sc-ic-select,h1.sc-ic-select,h2.sc-ic-select,h3.sc-ic-select,h4.sc-ic-select,h5.sc-ic-select,h6.sc-ic-select,p.sc-ic-select,blockquote.sc-ic-select,pre.sc-ic-select,a.sc-ic-select,abbr.sc-ic-select,acronym.sc-ic-select,address.sc-ic-select,big.sc-ic-select,cite.sc-ic-select,code.sc-ic-select,del.sc-ic-select,dfn.sc-ic-select,em.sc-ic-select,img.sc-ic-select,ins.sc-ic-select,kbd.sc-ic-select,q.sc-ic-select,s.sc-ic-select,samp.sc-ic-select,small.sc-ic-select,strike.sc-ic-select,strong.sc-ic-select,sub.sc-ic-select,sup.sc-ic-select,tt.sc-ic-select,var.sc-ic-select,b.sc-ic-select,u.sc-ic-select,i.sc-ic-select,center.sc-ic-select,dl.sc-ic-select,dt.sc-ic-select,dd.sc-ic-select,ol.sc-ic-select,ul.sc-ic-select,li.sc-ic-select,fieldset.sc-ic-select,form.sc-ic-select,label.sc-ic-select,legend.sc-ic-select,table.sc-ic-select,caption.sc-ic-select,tbody.sc-ic-select,tfoot.sc-ic-select,thead.sc-ic-select,tr.sc-ic-select,th.sc-ic-select,td.sc-ic-select,article.sc-ic-select,aside.sc-ic-select,canvas.sc-ic-select,details.sc-ic-select,embed.sc-ic-select,figure.sc-ic-select,figcaption.sc-ic-select,footer.sc-ic-select,header.sc-ic-select,hgroup.sc-ic-select,menu.sc-ic-select,nav.sc-ic-select,output.sc-ic-select,ruby.sc-ic-select,section.sc-ic-select,summary.sc-ic-select,time.sc-ic-select,mark.sc-ic-select,audio.sc-ic-select,video.sc-ic-select{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-select-h{display:block;position:relative;--ic-input-label-helpertext-padding:var(--ic-space-xxs);--menu-max-height:100px;--border-color:var(--ic-select-field-border);--border-color-hover:var(--ic-select-field-border-hover);--border-color-pressed:var(--ic-select-field-border-pressed);--border-color-disabled:var(--ic-select-field-border-disabled);--border-color-error:var(--ic-select-field-border-error);--border-color-error-hover:var(--ic-select-field-border-error-hover);--border-color-error-pressed:var(--ic-select-field-border-error-pressed);--border-color-success:var(--ic-select-field-border-success);--border-color-success-hover:var(--ic-select-field-border-success-hover);--border-color-success-pressed:var(--ic-select-field-border-success-pressed);--border-color-warning:var(--ic-select-field-border-warning);--border-color-warning-hover:var(--ic-select-field-border-warning-hover);--border-color-warning-pressed:var(--ic-select-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-select-field-labe);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle\n );--ic-input-validation-status-text-color:var(--ic-select-state-text);--ic-input-validation-error:var(--ic-select-state-icon-error);--ic-input-validation-warning-icon-color:var(--ic-select-state-icon-warning);--ic-input-validation-success-icon-color:var(--ic-select-state-icon-success);--menu-item-text-color:var(--ic-select-list-option-text);--menu-bg-color:var(--ic-select-list-option-background);--menu-border-color:var(--ic-select-dropdown-list-border)}/*!@:host(.ic-select-disabled)*/.ic-select-disabled.sc-ic-select-h{--ic-input-label-text-color:var(--ic-select-field-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle-disabled\n )}/*!@:host(.ic-select-full-width)*/.ic-select-full-width.sc-ic-select-h{width:100%}/*!@ic-input-component-container.menu-open*/ic-input-component-container.menu-open.sc-ic-select{--border-color:var(--ic-select-field-border-pressed)}/*!@ic-input-validation .status-icon,\nic-input-validation .statustext*/ic-input-validation.sc-ic-select .status-icon.sc-ic-select,ic-input-validation.sc-ic-select .statustext.sc-ic-select{visibility:visible}/*!@ic-input-validation.menu-open .status-icon,\nic-input-validation.menu-open .statustext*/ic-input-validation.menu-open.sc-ic-select .status-icon.sc-ic-select,ic-input-validation.menu-open.sc-ic-select .statustext.sc-ic-select{visibility:hidden;transition:visibility 0s}/*!@ic-input-label*/ic-input-label.sc-ic-select{margin-bottom:var(--ic-space-xs) !important}/*!@select*/select.sc-ic-select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-select-field-background);color:var(--ic-select-content-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:var(--ic-select-mobile-dropdown-icon);caret-color:var(--ic-select-input-field-text-cursor)}/*!@select option,\n.select-option-selected*/select.sc-ic-select option.sc-ic-select,.select-option-selected.sc-ic-select{color:var(--ic-select-list-option-text)}/*!@select:disabled*/select.sc-ic-select:disabled{color:var(--ic-select-content-text-disabled);background-image:var(--ic-select-mobile-dropdown-icon-disabled)}/*!@select:focus*/select.sc-ic-select:focus{border:0;outline:0}/*!@select:not([disabled])*/select.sc-ic-select:not([disabled]){cursor:pointer}/*!@.select-container*/.select-container.sc-ic-select{width:100%;display:flex;align-items:center;position:relative}/*!@.select-input*/.select-input.sc-ic-select{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none;background-color:var(--ic-select-field-background);color:var(--ic-select-content-text)}/*!@.select-input:focus*/.select-input.sc-ic-select:focus{outline:var(--ic-hc-focus-outline)}/*!@.select-input[disabled]*/.select-input[disabled].sc-ic-select{pointer-events:none}/*!@:host(.ic-select-searchable) .select-input*/.ic-select-searchable.sc-ic-select-h .select-input.sc-ic-select{cursor:auto}/*!@.select-input.with-clear-button*/.select-input.with-clear-button.sc-ic-select{padding-right:0}/*!@.value-text*/.value-text.sc-ic-select{max-width:calc(100% - (var(--ic-space-lg) + var(--ic-space-xxs)));box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:0 !important}/*!@.value-text.with-clear-button*/.value-text.with-clear-button.sc-ic-select{padding-right:calc(var(--ic-space-xl) + var(--ic-space-xs))}/*!@.searchable-select-container*/.searchable-select-container.sc-ic-select{align-items:center;display:flex;width:100%;position:relative}/*!@.expand-icon*/.expand-icon.sc-ic-select{height:var(--ic-space-lg);padding-left:var(--ic-space-xxs);color:var(--ic-select-expand-icon-color)}/*!@.expand-icon > svg*/.expand-icon.sc-ic-select>svg.sc-ic-select{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}/*!@:host(.ic-select-disabled) .expand-icon,\n:host(.ic-select-disabled) .expand-icon > svg > path*/.ic-select-disabled.sc-ic-select-h .expand-icon.sc-ic-select,.ic-select-disabled.sc-ic-select-h .expand-icon.sc-ic-select>svg.sc-ic-select>path.sc-ic-select{color:var(--ic-select-disabled-expand-icon-color)}/*!@:host(.ic-select-searchable) .expand-icon*/.ic-select-searchable.sc-ic-select-h .expand-icon.sc-ic-select{padding-left:0;height:2.25rem}/*!@:host(.ic-select-searchable) .expand-icon > svg*/.ic-select-searchable.sc-ic-select-h .expand-icon.sc-ic-select>svg.sc-ic-select{height:2.25rem;padding:0 calc(var(--ic-space-xxxs) + var(--ic-space-xxs)) 0\n var(--ic-space-xxs)}/*!@:host(.ic-select-searchable:not(.ic-select-disabled)) .expand-icon > svg*/.ic-select-searchable.sc-ic-select-h:not(.ic-select-disabled) .expand-icon.sc-ic-select>svg.sc-ic-select{cursor:pointer}/*!@.expand-icon-open*/.expand-icon-open.sc-ic-select{color:var(--ic-select-expand-icon-color)}/*!@.expand-icon-open,\n:host(.ic-select-searchable) .expand-icon-open*/.expand-icon-open.sc-ic-select,.ic-select-searchable.sc-ic-select-h .expand-icon-open.sc-ic-select{transform:rotateX(180deg)}/*!@:host(.ic-select-disabled) .value-text,\n.placeholder*/.ic-select-disabled.sc-ic-select-h .value-text.sc-ic-select,.placeholder.sc-ic-select{color:var(--ic-select-content-placeholder-text)}/*!@.select-input-end*/.select-input-end.sc-ic-select{display:flex;align-items:center}/*!@.clear-button-container*/.clear-button-container.sc-ic-select{display:flex;align-items:center}/*!@.divider*/.divider.sc-ic-select{width:var(--ic-space-1px);background-color:var(--ic-select-content-divider);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}/*!@:host(.ic-select-small) .divider*/.ic-select-small.sc-ic-select-h .divider.sc-ic-select{height:var(--ic-space-md)}/*!@:host(.ic-select-large) .divider*/.ic-select-large.sc-ic-select-h .divider.sc-ic-select{height:var(--ic-space-xl)}/*!@.clear-button*/.clear-button.sc-ic-select{color:var(--ic-select-clear-button);position:absolute;right:calc(var(--ic-space-xl) + var(--ic-space-xxs) - var(--ic-space-1px));border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}/*!@.clear-button:focus,\n.clear-button:active*/.clear-button.sc-ic-select:focus,.clear-button.sc-ic-select:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}/*!@.clear-button:focus,\n.clear-button:active **/.clear-button.sc-ic-select:focus,.clear-button.sc-ic-select:active *.sc-ic-select{fill:var(--ic-atoms-input-clear-button-focus)}/*!@.clear-button.searchable*/.clear-button.searchable.sc-ic-select{position:static}/*!@.searchable-select-results-status,\n.multi-select-selected-count*/.searchable-select-results-status.sc-ic-select,.multi-select-selected-count.sc-ic-select{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}/*!@::slotted([slot=\"icon\"])*/.sc-ic-select-s>[slot=\"icon\"]{fill:var(--ic-select-content-placeholder-text)}/*!@.has-value ::slotted([slot=\"icon\"])*/.has-value .sc-ic-select-s>[slot=\"icon\"]{fill:var(--ic-select-content-text)}/*!@.readonly ::slotted([slot=\"icon\"])*/.readonly .sc-ic-select-s>[slot=\"icon\"]{padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){/*!@.has-value ::slotted([slot=\"icon\"])*/.has-value .sc-ic-select-s>[slot=\"icon\"]{fill:currentcolor}}";
|
21602
21890
|
|
21603
21891
|
let inputIds$2 = 0;
|
21604
21892
|
const MUTABLE_ATTRIBUTES$1 = [...IC_INHERITED_ARIA, "tabindex", "title"];
|
@@ -21645,28 +21933,26 @@ class Select {
|
|
21645
21933
|
this.blurredBecauseButtonPressed = true;
|
21646
21934
|
this.retryButtonClick = true;
|
21647
21935
|
this.hasSetDefaultValue = true;
|
21648
|
-
this.icRetryLoad.emit({
|
21936
|
+
this.icRetryLoad.emit({
|
21937
|
+
value: this.searchable
|
21938
|
+
? this.searchableSelectInputValue
|
21939
|
+
: this.hiddenInputValue,
|
21940
|
+
});
|
21649
21941
|
};
|
21650
21942
|
this.emitIcChange = (value) => {
|
21651
|
-
|
21652
|
-
|
21653
|
-
|
21654
|
-
this.handleMultipleSelectChange(value);
|
21655
|
-
}
|
21656
|
-
else {
|
21657
|
-
this.value = value;
|
21658
|
-
}
|
21943
|
+
// If "Select all" button clicked, replace value with new value (array of all option values)
|
21944
|
+
if (this.multiple && !Array.isArray(value) && value !== null) {
|
21945
|
+
this.handleMultipleSelectChange(String(value));
|
21659
21946
|
}
|
21660
|
-
|
21661
|
-
|
21662
|
-
|
21663
|
-
|
21664
|
-
|
21947
|
+
else {
|
21948
|
+
this.value = value;
|
21949
|
+
}
|
21950
|
+
const valueToEmit = this.multiple ? this.value : value;
|
21951
|
+
this.icChange.emit({ value: valueToEmit });
|
21665
21952
|
};
|
21666
|
-
this.
|
21667
|
-
this.
|
21668
|
-
|
21669
|
-
this.icChange.emit({ value });
|
21953
|
+
this.emitIcInput = (value) => {
|
21954
|
+
clearTimeout(this.debounceIcInput);
|
21955
|
+
this.debounceIcInput = window.setTimeout(() => this.icInput.emit({ value }), this.currDebounce);
|
21670
21956
|
};
|
21671
21957
|
/**
|
21672
21958
|
* Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
|
@@ -21764,7 +22050,7 @@ class Select {
|
|
21764
22050
|
};
|
21765
22051
|
this.handleNativeSelectChange = () => {
|
21766
22052
|
this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
|
21767
|
-
this.
|
22053
|
+
this.emitIcChange(this.nativeSelectElement.value);
|
21768
22054
|
this.setTextColor();
|
21769
22055
|
};
|
21770
22056
|
// Handle option select for when a custom input box and menu is rendered
|
@@ -21899,13 +22185,10 @@ class Select {
|
|
21899
22185
|
event.stopPropagation();
|
21900
22186
|
this.hasTimedOut = false;
|
21901
22187
|
clearTimeout(this.timeoutTimer);
|
21902
|
-
this.
|
21903
|
-
this.
|
22188
|
+
this.clearInput();
|
22189
|
+
this.emitIcChange(null);
|
21904
22190
|
this.icClear.emit();
|
21905
22191
|
if (this.searchable) {
|
21906
|
-
this.searchableSelectElement.value = null;
|
21907
|
-
this.searchableSelectInputValue = null;
|
21908
|
-
this.filteredOptions = this.uniqueOptions;
|
21909
22192
|
this.hiddenInputValue = null;
|
21910
22193
|
this.searchableSelectElement.focus();
|
21911
22194
|
}
|
@@ -21929,7 +22212,7 @@ class Select {
|
|
21929
22212
|
this.pressedCharacters += key;
|
21930
22213
|
this.handleFilter();
|
21931
22214
|
if (!this.noOptions) {
|
21932
|
-
this.
|
22215
|
+
this.emitIcChange(this.filteredOptions[0].value);
|
21933
22216
|
}
|
21934
22217
|
}
|
21935
22218
|
}
|
@@ -22074,9 +22357,13 @@ class Select {
|
|
22074
22357
|
};
|
22075
22358
|
this.handleSearchableSelectInput = (event) => {
|
22076
22359
|
this.searchableSelectInputValue = event.target.value;
|
22077
|
-
this.
|
22078
|
-
|
22079
|
-
|
22360
|
+
this.emitIcInput(this.searchableSelectInputValue);
|
22361
|
+
// De-select previous selection when input is edited
|
22362
|
+
// Only emit icChange once when editing input
|
22363
|
+
if (this.value != null) {
|
22364
|
+
this.emitIcChange(null);
|
22365
|
+
}
|
22366
|
+
this.hiddenInputValue = null;
|
22080
22367
|
this.inputValueToFilter = this.searchableSelectInputValue;
|
22081
22368
|
this.setMenuChange(true);
|
22082
22369
|
if (!this.disableAutoFiltering) {
|
@@ -22134,6 +22421,10 @@ class Select {
|
|
22134
22421
|
if (isSearchableAndNoFocusedInternalElements) {
|
22135
22422
|
if (!this.retryButtonClick) {
|
22136
22423
|
this.setMenuChange(false);
|
22424
|
+
// Clear input field on blur when searchable if no option is selected
|
22425
|
+
if (!this.value) {
|
22426
|
+
this.clearInput();
|
22427
|
+
}
|
22137
22428
|
}
|
22138
22429
|
this.handleFocusIndicatorDisplay();
|
22139
22430
|
}
|
@@ -22157,9 +22448,17 @@ class Select {
|
|
22157
22448
|
this.hiddenInputValue = this.value;
|
22158
22449
|
}
|
22159
22450
|
};
|
22451
|
+
this.clearInput = () => {
|
22452
|
+
this.noOptions = null;
|
22453
|
+
if (this.searchable) {
|
22454
|
+
this.searchableSelectElement.value = null;
|
22455
|
+
this.searchableSelectInputValue = null;
|
22456
|
+
this.filteredOptions = this.uniqueOptions;
|
22457
|
+
}
|
22458
|
+
};
|
22160
22459
|
this.ariaActiveDescendant = undefined;
|
22161
22460
|
this.clearButtonFocused = false;
|
22162
|
-
this.
|
22461
|
+
this.debounceIcInput = undefined;
|
22163
22462
|
this.hiddenInputValue = undefined;
|
22164
22463
|
this.noOptions = null;
|
22165
22464
|
this.open = false;
|
@@ -22258,9 +22557,10 @@ class Select {
|
|
22258
22557
|
this.currValue = this.value;
|
22259
22558
|
}
|
22260
22559
|
}
|
22261
|
-
if (this.searchable) {
|
22560
|
+
if (this.searchable && this.value) {
|
22561
|
+
// Only set if value not null - prevents whole input value being cleared when edited
|
22262
22562
|
this.searchableSelectInputValue =
|
22263
|
-
this.getLabelFromValue(this.currValue) ||
|
22563
|
+
this.getLabelFromValue(String(this.currValue)) ||
|
22264
22564
|
this.currValue;
|
22265
22565
|
}
|
22266
22566
|
}
|
@@ -22442,7 +22742,7 @@ class Select {
|
|
22442
22742
|
"value": [1025],
|
22443
22743
|
"ariaActiveDescendant": [32],
|
22444
22744
|
"clearButtonFocused": [32],
|
22445
|
-
"
|
22745
|
+
"debounceIcInput": [32],
|
22446
22746
|
"hiddenInputValue": [32],
|
22447
22747
|
"noOptions": [32],
|
22448
22748
|
"open": [32],
|
@@ -23419,11 +23719,11 @@ class Stepper {
|
|
23419
23719
|
}; }
|
23420
23720
|
}
|
23421
23721
|
|
23422
|
-
const icSwitchCss = "/*!@html*/html.sc-ic-switch{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-switch{margin:0}/*!@main*/main.sc-ic-switch{display:block}/*!@h1*/h1.sc-ic-switch{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-switch{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-switch{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-switch{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-switch{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-switch,strong.sc-ic-switch{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-switch,kbd.sc-ic-switch,samp.sc-ic-switch{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-switch{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-switch,sup.sc-ic-switch{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-switch{bottom:-0.25em}/*!@sup*/sup.sc-ic-switch{top:-0.5em}/*!@img*/img.sc-ic-switch{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-switch,input.sc-ic-switch,optgroup.sc-ic-switch,select.sc-ic-switch,textarea.sc-ic-switch{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-switch,input.sc-ic-switch{overflow:visible}/*!@button,\nselect*/button.sc-ic-switch,select.sc-ic-switch{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-switch,[type=\"button\"].sc-ic-switch,[type=\"reset\"].sc-ic-switch,[type=\"submit\"].sc-ic-switch{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-switch::-moz-focus-inner,[type=\"button\"].sc-ic-switch::-moz-focus-inner,[type=\"reset\"].sc-ic-switch::-moz-focus-inner,[type=\"submit\"].sc-ic-switch::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-switch:-moz-focusring,[type=\"button\"].sc-ic-switch:-moz-focusring,[type=\"reset\"].sc-ic-switch:-moz-focusring,[type=\"submit\"].sc-ic-switch:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-switch{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-switch{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-switch{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-switch{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-switch,[type=\"radio\"].sc-ic-switch{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-switch::-webkit-inner-spin-button,[type=\"number\"].sc-ic-switch::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-switch{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-switch::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-switch::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-switch{display:block}/*!@summary*/summary.sc-ic-switch{display:list-item}/*!@template*/template.sc-ic-switch{display:none}/*!@[hidden]*/[hidden].sc-ic-switch{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-switch,body.sc-ic-switch,div.sc-ic-switch,span.sc-ic-switch,applet.sc-ic-switch,object.sc-ic-switch,iframe.sc-ic-switch,h1.sc-ic-switch,h2.sc-ic-switch,h3.sc-ic-switch,h4.sc-ic-switch,h5.sc-ic-switch,h6.sc-ic-switch,p.sc-ic-switch,blockquote.sc-ic-switch,pre.sc-ic-switch,a.sc-ic-switch,abbr.sc-ic-switch,acronym.sc-ic-switch,address.sc-ic-switch,big.sc-ic-switch,cite.sc-ic-switch,code.sc-ic-switch,del.sc-ic-switch,dfn.sc-ic-switch,em.sc-ic-switch,img.sc-ic-switch,ins.sc-ic-switch,kbd.sc-ic-switch,q.sc-ic-switch,s.sc-ic-switch,samp.sc-ic-switch,small.sc-ic-switch,strike.sc-ic-switch,strong.sc-ic-switch,sub.sc-ic-switch,sup.sc-ic-switch,tt.sc-ic-switch,var.sc-ic-switch,b.sc-ic-switch,u.sc-ic-switch,i.sc-ic-switch,center.sc-ic-switch,dl.sc-ic-switch,dt.sc-ic-switch,dd.sc-ic-switch,ol.sc-ic-switch,ul.sc-ic-switch,li.sc-ic-switch,fieldset.sc-ic-switch,form.sc-ic-switch,label.sc-ic-switch,legend.sc-ic-switch,table.sc-ic-switch,caption.sc-ic-switch,tbody.sc-ic-switch,tfoot.sc-ic-switch,thead.sc-ic-switch,tr.sc-ic-switch,th.sc-ic-switch,td.sc-ic-switch,article.sc-ic-switch,aside.sc-ic-switch,canvas.sc-ic-switch,details.sc-ic-switch,embed.sc-ic-switch,figure.sc-ic-switch,figcaption.sc-ic-switch,footer.sc-ic-switch,header.sc-ic-switch,hgroup.sc-ic-switch,menu.sc-ic-switch,nav.sc-ic-switch,output.sc-ic-switch,ruby.sc-ic-switch,section.sc-ic-switch,summary.sc-ic-switch,time.sc-ic-switch,mark.sc-ic-switch,audio.sc-ic-switch,video.sc-ic-switch{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-switch-h{display:inline-block;--ic-input-label-text-color:var(--ic-switch-label);--ic-input-label-helper-text-color:var(--ic-switch-help-text)}/*!@input*/input.sc-ic-switch{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@.ic-switch-container*/.ic-switch-container.sc-ic-switch{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ic-space-xxs);cursor:pointer}/*!@.ic-switch-label*/.ic-switch-label.sc-ic-switch{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-sm)}/*!@.ic-switch-label-small*/.ic-switch-label-small.sc-ic-switch{margin-bottom:0.625rem}/*!@.ic-switch-toggle*/.ic-switch-toggle.sc-ic-switch{display:flex;align-items:center;justify-content:space-around;width:4rem;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-switch-unchecked-bg);border:var(--ic-border-width) solid var(--ic-switch-unchecked);box-sizing:border-box;transition:var(--ic-transition-duration-fast)}/*!@.ic-switch-line-break*/.ic-switch-line-break.sc-ic-switch{flex:1 0 100%}/*!@.ic-switch-checked-status*/.ic-switch-checked-status.sc-ic-switch{padding-left:var(--ic-space-xxs);width:var(--ic-space-lg);color:var(--ic-switch-help-text)}/*!@.ic-switch-toggle::before*/.ic-switch-toggle.sc-ic-switch::before{content:\"\";width:1.333rem;height:1.333rem;border-radius:50%;position:absolute;z-index:2;top:50%;left:0.333rem;transform:translate(0, -50%);background-color:var(--ic-switch-unchecked);transition:var(--ic-transition-duration-slow)}/*!@.ic-switch-icon*/.ic-switch-icon.sc-ic-switch{display:inline-block;vertical-align:middle;width:0.625rem;height:0.625rem}/*!@.ic-switch-icon-circle,\n.ic-switch-icon-line*/.ic-switch-icon-circle.sc-ic-switch,.ic-switch-icon-line.sc-ic-switch{stroke-width:1}/*!@.ic-switch-icon-circle*/.ic-switch-icon-circle.sc-ic-switch{stroke:var(--ic-switch-indicator-off)}/*!@.ic-switch-icon-line*/.ic-switch-icon-line.sc-ic-switch{stroke:var(--ic-switch-indicator-on)}@media (prefers-reduced-motion: reduce){/*!@.ic-switch-toggle::before*/.ic-switch-toggle.sc-ic-switch::before{transition-duration:0ms}}/*!@.ic-switch-input:checked + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch{background-color:var(--ic-switch-checked-bg);border:none}/*!@.ic-switch-input:checked + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-switch-checked)}/*!@.ic-switch-input:not([disabled]) + .ic-switch-toggle:hover::before*/.ic-switch-input.sc-ic-switch:not([disabled])+.ic-switch-toggle.sc-ic-switch:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-hover)}/*!@.ic-switch-input:not([disabled]) + .ic-switch-toggle:active::before*/.ic-switch-input.sc-ic-switch:not([disabled])+.ic-switch-toggle.sc-ic-switch:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-pressed)}/*!@.ic-switch-input:not([disabled]):checked + .ic-switch-toggle:hover::before*/.ic-switch-input.sc-ic-switch:not([disabled]):checked+.ic-switch-toggle.sc-ic-switch:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-hover)}/*!@.ic-switch-input:not([disabled]):checked + .ic-switch-toggle:active::before*/.ic-switch-input.sc-ic-switch:not([disabled]):checked+.ic-switch-toggle.sc-ic-switch:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-pressed)}/*!@.ic-switch-input:focus:not([disabled]) + .ic-switch-toggle,\n.ic-switch-input:focus-visible:not([disabled]) + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:focus:not([disabled])+.ic-switch-toggle.sc-ic-switch,.ic-switch-input.sc-ic-switch:focus-visible:not([disabled])+.ic-switch-toggle.sc-ic-switch{box-shadow:var(--ic-border-focus)}/*!@.ic-switch-disabled*/.ic-switch-disabled.sc-ic-switch{cursor:default}/*!@.ic-switch-disabled .ic-switch-icon-circle*/.ic-switch-disabled.sc-ic-switch .ic-switch-icon-circle.sc-ic-switch{stroke:var(--ic-switch-indicator-off-disabled)}/*!@.ic-switch-disabled .ic-switch-icon-line*/.ic-switch-disabled.sc-ic-switch .ic-switch-icon-line.sc-ic-switch{stroke:var(--ic-switch-indicator-on-disabled)}/*!@.ic-switch-input:disabled + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:disabled+.ic-switch-toggle.sc-ic-switch{background-color:var(--ic-switch-unchecked-bg-disabled);border:var(--ic-space-1px) dashed var(--ic-switch-unchecked-outline-disabled)}/*!@.ic-switch-input:disabled ~ .ic-switch-checked-status*/.ic-switch-input.sc-ic-switch:disabled~.ic-switch-checked-status.sc-ic-switch{color:var(--ic-architectural-300)}/*!@.ic-switch-input:disabled + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:disabled+.ic-switch-toggle.sc-ic-switch::before{background-color:var(--ic-switch-unchecked-disabled)}/*!@.ic-switch-input:disabled:checked + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:disabled:checked+.ic-switch-toggle.sc-ic-switch{background-color:var(--ic-switch-checked-bg-disabled);border:var(--ic-border-width) dashed\n var(--ic-switch-checked-outline-disabled)}/*!@.ic-switch-input:disabled:checked + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:disabled:checked+.ic-switch-toggle.sc-ic-switch::before{background-color:var(--ic-switch-checked)}/*!@.ic-switch-small*/.ic-switch-small.sc-ic-switch{gap:var(--ic-space-xxxs)}/*!@.ic-switch-small .ic-switch-checked-status*/.ic-switch-small.sc-ic-switch .ic-switch-checked-status.sc-ic-switch{padding-left:0.375rem}/*!@.ic-switch-small .ic-switch-toggle*/.ic-switch-small.sc-ic-switch .ic-switch-toggle.sc-ic-switch{width:var(--ic-space-xxl);height:var(--ic-space-lg)}/*!@.ic-switch-small .ic-switch-toggle::before*/.ic-switch-small.sc-ic-switch .ic-switch-toggle.sc-ic-switch::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}/*!@.ic-switch-small .ic-switch-input:checked + .ic-switch-toggle::before*/.ic-switch-small.sc-ic-switch .ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch::before{transform:translate(var(--ic-space-lg), -50%)}/*!@::slotted(*)*/.sc-ic-switch-s>*{margin-left:var(--ic-space-sm)}/*!@::slotted(svg)*/.sc-ic-switch-s>svg{fill:var(--ic-switch-icon)}@media (forced-colors: active){/*!@.ic-switch-toggle::before,\n .ic-switch-input:checked + .ic-switch-toggle*/.ic-switch-toggle.sc-ic-switch::before,.ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch{border:var(--ic-border-hc)}/*!@.ic-switch-input:focus + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:focus+.ic-switch-toggle.sc-ic-switch{border-color:highlight;outline:var(--ic-space-xxxs) solid highlight}/*!@.ic-switch-input:checked + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch::before{transform:translate(calc(var(--ic-space-xl) - 0.125rem), -50%)}/*!@.ic-switch-input:disabled + .ic-switch-toggle,\n .ic-switch-input:disabled:checked + .ic-switch-toggle,\n .ic-switch-input:disabled + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:disabled+.ic-switch-toggle.sc-ic-switch,.ic-switch-input.sc-ic-switch:disabled:checked+.ic-switch-toggle.sc-ic-switch,.ic-switch-input.sc-ic-switch:disabled+.ic-switch-toggle.sc-ic-switch::before{border-color:GrayText}/*!@.ic-switch-input:disabled ~ .ic-switch-checked-status*/.ic-switch-input.sc-ic-switch:disabled~.ic-switch-checked-status.sc-ic-switch{color:GrayText}/*!@.ic-switch-disabled .ic-switch-icon-circle,\n .ic-switch-disabled .ic-switch-icon-line*/.ic-switch-disabled.sc-ic-switch .ic-switch-icon-circle.sc-ic-switch,.ic-switch-disabled.sc-ic-switch .ic-switch-icon-line.sc-ic-switch{stroke:GrayText}}";
|
23722
|
+
const icSwitchCss = "/*!@html*/html.sc-ic-switch{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-switch{margin:0}/*!@main*/main.sc-ic-switch{display:block}/*!@h1*/h1.sc-ic-switch{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-switch{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-switch{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-switch{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-switch{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-switch,strong.sc-ic-switch{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-switch,kbd.sc-ic-switch,samp.sc-ic-switch{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-switch{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-switch,sup.sc-ic-switch{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-switch{bottom:-0.25em}/*!@sup*/sup.sc-ic-switch{top:-0.5em}/*!@img*/img.sc-ic-switch{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-switch,input.sc-ic-switch,optgroup.sc-ic-switch,select.sc-ic-switch,textarea.sc-ic-switch{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-switch,input.sc-ic-switch{overflow:visible}/*!@button,\nselect*/button.sc-ic-switch,select.sc-ic-switch{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-switch,[type=\"button\"].sc-ic-switch,[type=\"reset\"].sc-ic-switch,[type=\"submit\"].sc-ic-switch{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-switch::-moz-focus-inner,[type=\"button\"].sc-ic-switch::-moz-focus-inner,[type=\"reset\"].sc-ic-switch::-moz-focus-inner,[type=\"submit\"].sc-ic-switch::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-switch:-moz-focusring,[type=\"button\"].sc-ic-switch:-moz-focusring,[type=\"reset\"].sc-ic-switch:-moz-focusring,[type=\"submit\"].sc-ic-switch:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-switch{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-switch{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-switch{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-switch{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-switch,[type=\"radio\"].sc-ic-switch{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-switch::-webkit-inner-spin-button,[type=\"number\"].sc-ic-switch::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-switch{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-switch::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-switch::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-switch{display:block}/*!@summary*/summary.sc-ic-switch{display:list-item}/*!@template*/template.sc-ic-switch{display:none}/*!@[hidden]*/[hidden].sc-ic-switch{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-switch,body.sc-ic-switch,div.sc-ic-switch,span.sc-ic-switch,applet.sc-ic-switch,object.sc-ic-switch,iframe.sc-ic-switch,h1.sc-ic-switch,h2.sc-ic-switch,h3.sc-ic-switch,h4.sc-ic-switch,h5.sc-ic-switch,h6.sc-ic-switch,p.sc-ic-switch,blockquote.sc-ic-switch,pre.sc-ic-switch,a.sc-ic-switch,abbr.sc-ic-switch,acronym.sc-ic-switch,address.sc-ic-switch,big.sc-ic-switch,cite.sc-ic-switch,code.sc-ic-switch,del.sc-ic-switch,dfn.sc-ic-switch,em.sc-ic-switch,img.sc-ic-switch,ins.sc-ic-switch,kbd.sc-ic-switch,q.sc-ic-switch,s.sc-ic-switch,samp.sc-ic-switch,small.sc-ic-switch,strike.sc-ic-switch,strong.sc-ic-switch,sub.sc-ic-switch,sup.sc-ic-switch,tt.sc-ic-switch,var.sc-ic-switch,b.sc-ic-switch,u.sc-ic-switch,i.sc-ic-switch,center.sc-ic-switch,dl.sc-ic-switch,dt.sc-ic-switch,dd.sc-ic-switch,ol.sc-ic-switch,ul.sc-ic-switch,li.sc-ic-switch,fieldset.sc-ic-switch,form.sc-ic-switch,label.sc-ic-switch,legend.sc-ic-switch,table.sc-ic-switch,caption.sc-ic-switch,tbody.sc-ic-switch,tfoot.sc-ic-switch,thead.sc-ic-switch,tr.sc-ic-switch,th.sc-ic-switch,td.sc-ic-switch,article.sc-ic-switch,aside.sc-ic-switch,canvas.sc-ic-switch,details.sc-ic-switch,embed.sc-ic-switch,figure.sc-ic-switch,figcaption.sc-ic-switch,footer.sc-ic-switch,header.sc-ic-switch,hgroup.sc-ic-switch,menu.sc-ic-switch,nav.sc-ic-switch,output.sc-ic-switch,ruby.sc-ic-switch,section.sc-ic-switch,summary.sc-ic-switch,time.sc-ic-switch,mark.sc-ic-switch,audio.sc-ic-switch,video.sc-ic-switch{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-switch-h{display:inline-block;--ic-input-label-text-color:var(--ic-switch-label);--ic-input-label-helper-text-color:var(--ic-switch-help-text)}/*!@input*/input.sc-ic-switch{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@.ic-switch-container*/.ic-switch-container.sc-ic-switch{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ic-space-xxs);cursor:pointer}/*!@.ic-switch-label*/.ic-switch-label.sc-ic-switch{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-sm)}/*!@.ic-switch-label-small*/.ic-switch-label-small.sc-ic-switch{margin-bottom:0.625rem}/*!@.ic-switch-toggle*/.ic-switch-toggle.sc-ic-switch{display:flex;align-items:center;justify-content:space-around;width:4rem;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-switch-unchecked-bg);border:var(--ic-border-width) solid var(--ic-switch-unchecked);box-sizing:border-box;transition:var(--ic-transition-duration-fast)}/*!@.ic-switch-line-break*/.ic-switch-line-break.sc-ic-switch{flex:1 0 100%}/*!@.ic-switch-toggle::before*/.ic-switch-toggle.sc-ic-switch::before{content:\"\";width:1.333rem;height:1.333rem;border-radius:50%;position:absolute;z-index:2;top:50%;left:0.333rem;transform:translate(0, -50%);background-color:var(--ic-switch-unchecked);transition:var(--ic-transition-duration-slow)}/*!@.ic-switch-icon*/.ic-switch-icon.sc-ic-switch{display:inline-block;vertical-align:middle;width:0.625rem;height:0.625rem}/*!@.ic-switch-icon-circle,\n.ic-switch-icon-line*/.ic-switch-icon-circle.sc-ic-switch,.ic-switch-icon-line.sc-ic-switch{stroke-width:1}/*!@.ic-switch-icon-circle*/.ic-switch-icon-circle.sc-ic-switch{stroke:var(--ic-switch-indicator-off)}/*!@.ic-switch-icon-line*/.ic-switch-icon-line.sc-ic-switch{stroke:var(--ic-switch-indicator-on)}@media (prefers-reduced-motion: reduce){/*!@.ic-switch-toggle::before*/.ic-switch-toggle.sc-ic-switch::before{transition-duration:0ms}}/*!@.ic-switch-input:checked + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch{background-color:var(--ic-switch-checked-bg);border:none}/*!@.ic-switch-input:checked + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-switch-checked)}/*!@.ic-switch-input:not([disabled]) + .ic-switch-toggle:hover::before*/.ic-switch-input.sc-ic-switch:not([disabled])+.ic-switch-toggle.sc-ic-switch:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-hover)}/*!@.ic-switch-input:not([disabled]) + .ic-switch-toggle:active::before*/.ic-switch-input.sc-ic-switch:not([disabled])+.ic-switch-toggle.sc-ic-switch:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-pressed)}/*!@.ic-switch-input:not([disabled]):checked + .ic-switch-toggle:hover::before*/.ic-switch-input.sc-ic-switch:not([disabled]):checked+.ic-switch-toggle.sc-ic-switch:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-hover)}/*!@.ic-switch-input:not([disabled]):checked + .ic-switch-toggle:active::before*/.ic-switch-input.sc-ic-switch:not([disabled]):checked+.ic-switch-toggle.sc-ic-switch:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-pressed)}/*!@.ic-switch-input:focus:not([disabled]) + .ic-switch-toggle,\n.ic-switch-input:focus-visible:not([disabled]) + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:focus:not([disabled])+.ic-switch-toggle.sc-ic-switch,.ic-switch-input.sc-ic-switch:focus-visible:not([disabled])+.ic-switch-toggle.sc-ic-switch{box-shadow:var(--ic-border-focus)}/*!@.ic-switch-disabled*/.ic-switch-disabled.sc-ic-switch{cursor:default}/*!@.ic-switch-disabled .ic-switch-icon-circle*/.ic-switch-disabled.sc-ic-switch .ic-switch-icon-circle.sc-ic-switch{stroke:var(--ic-switch-indicator-off-disabled)}/*!@.ic-switch-disabled .ic-switch-icon-line*/.ic-switch-disabled.sc-ic-switch .ic-switch-icon-line.sc-ic-switch{stroke:var(--ic-switch-indicator-on-disabled)}/*!@.ic-switch-input:disabled + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:disabled+.ic-switch-toggle.sc-ic-switch{background-color:var(--ic-switch-unchecked-bg-disabled);border:var(--ic-space-1px) dashed var(--ic-switch-unchecked-outline-disabled)}/*!@.ic-switch-input:disabled + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:disabled+.ic-switch-toggle.sc-ic-switch::before{background-color:var(--ic-switch-unchecked-disabled)}/*!@.ic-switch-input:disabled:checked + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:disabled:checked+.ic-switch-toggle.sc-ic-switch{background-color:var(--ic-switch-checked-bg-disabled);border:var(--ic-border-width) dashed\n var(--ic-switch-checked-outline-disabled)}/*!@.ic-switch-input:disabled:checked + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:disabled:checked+.ic-switch-toggle.sc-ic-switch::before{background-color:var(--ic-switch-checked)}/*!@.ic-switch-small*/.ic-switch-small.sc-ic-switch{gap:var(--ic-space-xxxs)}/*!@.ic-switch-small .ic-switch-toggle*/.ic-switch-small.sc-ic-switch .ic-switch-toggle.sc-ic-switch{width:var(--ic-space-xxl);height:var(--ic-space-lg)}/*!@.ic-switch-small .ic-switch-toggle::before*/.ic-switch-small.sc-ic-switch .ic-switch-toggle.sc-ic-switch::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}/*!@.ic-switch-small .ic-switch-input:checked + .ic-switch-toggle::before*/.ic-switch-small.sc-ic-switch .ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch::before{transform:translate(var(--ic-space-lg), -50%)}/*!@::slotted(*)*/.sc-ic-switch-s>*{margin-left:var(--ic-space-sm)}/*!@::slotted(svg)*/.sc-ic-switch-s>svg{fill:var(--ic-switch-icon)}@media (forced-colors: active){/*!@.ic-switch-toggle::before,\n .ic-switch-input:checked + .ic-switch-toggle*/.ic-switch-toggle.sc-ic-switch::before,.ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch{border:var(--ic-border-hc)}/*!@.ic-switch-input:focus + .ic-switch-toggle*/.ic-switch-input.sc-ic-switch:focus+.ic-switch-toggle.sc-ic-switch{border-color:highlight;outline:var(--ic-space-xxxs) solid highlight}/*!@.ic-switch-input:checked + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:checked+.ic-switch-toggle.sc-ic-switch::before{transform:translate(calc(var(--ic-space-xl) - 0.125rem), -50%)}/*!@.ic-switch-input:disabled + .ic-switch-toggle,\n .ic-switch-input:disabled:checked + .ic-switch-toggle,\n .ic-switch-input:disabled + .ic-switch-toggle::before*/.ic-switch-input.sc-ic-switch:disabled+.ic-switch-toggle.sc-ic-switch,.ic-switch-input.sc-ic-switch:disabled:checked+.ic-switch-toggle.sc-ic-switch,.ic-switch-input.sc-ic-switch:disabled+.ic-switch-toggle.sc-ic-switch::before{border-color:GrayText}/*!@.ic-switch-disabled .ic-switch-icon-circle,\n .ic-switch-disabled .ic-switch-icon-line*/.ic-switch-disabled.sc-ic-switch .ic-switch-icon-circle.sc-ic-switch,.ic-switch-disabled.sc-ic-switch .ic-switch-icon-line.sc-ic-switch{stroke:GrayText}}";
|
23423
23723
|
|
23424
23724
|
let inputIds$1 = 0;
|
23425
23725
|
/**
|
23426
|
-
* @slot right-adornment - Content is placed to the right of switch
|
23726
|
+
* @slot right-adornment - Content is placed to the right of switch.
|
23427
23727
|
*/
|
23428
23728
|
class Switch {
|
23429
23729
|
constructor(hostRef) {
|
@@ -23456,7 +23756,6 @@ class Switch {
|
|
23456
23756
|
this.hideLabel = false;
|
23457
23757
|
this.label = undefined;
|
23458
23758
|
this.name = this.inputId;
|
23459
|
-
this.showState = false;
|
23460
23759
|
this.size = "medium";
|
23461
23760
|
this.theme = "inherit";
|
23462
23761
|
this.value = "on";
|
@@ -23482,24 +23781,23 @@ class Switch {
|
|
23482
23781
|
* Sets focus on the switch.
|
23483
23782
|
*/
|
23484
23783
|
async setFocus() {
|
23485
|
-
|
23486
|
-
|
23487
|
-
}
|
23784
|
+
var _a;
|
23785
|
+
(_a = this.el.shadowRoot.querySelector("input")) === null || _a === void 0 ? void 0 : _a.focus();
|
23488
23786
|
}
|
23489
23787
|
render() {
|
23490
|
-
const { label, checkedState, size, disabled, name,
|
23788
|
+
const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
|
23789
|
+
const isSmall = size === "small";
|
23491
23790
|
renderHiddenInput$1(true, this.el, name, checkedState ? value : "", disabled);
|
23492
|
-
const describedBy = getInputDescribedByText$1(inputId, helperText !== "", false);
|
23493
23791
|
return (hAsync(Host, { class: {
|
23494
23792
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
23495
23793
|
} }, hAsync("label", { class: {
|
23496
|
-
|
23497
|
-
|
23498
|
-
|
23794
|
+
"ic-switch-container": true,
|
23795
|
+
"ic-switch-disabled": disabled,
|
23796
|
+
"ic-switch-small": isSmall,
|
23499
23797
|
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { for: inputId, label: label, helperText: helperText, readonly: true, disabled: disabled, class: {
|
23500
|
-
|
23501
|
-
|
23502
|
-
} })), !hideLabel && hAsync("span", { class: "ic-switch-line-break" }), hAsync("input", { checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby":
|
23798
|
+
"ic-switch-label": true,
|
23799
|
+
"ic-switch-label-small": isSmall,
|
23800
|
+
} })), !hideLabel && hAsync("span", { class: "ic-switch-line-break" }), hAsync("input", { checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText$1(inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), hAsync("span", { class: "ic-switch-toggle" }, hAsync("svg", { class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("line", { class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), hAsync("svg", { class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), hAsync("slot", { name: "right-adornment" }))));
|
23503
23801
|
}
|
23504
23802
|
static get delegatesFocus() { return true; }
|
23505
23803
|
get el() { return getElement(this); }
|
@@ -23518,7 +23816,6 @@ class Switch {
|
|
23518
23816
|
"hideLabel": [4, "hide-label"],
|
23519
23817
|
"label": [1],
|
23520
23818
|
"name": [1],
|
23521
|
-
"showState": [4, "show-state"],
|
23522
23819
|
"size": [1],
|
23523
23820
|
"theme": [1],
|
23524
23821
|
"value": [1],
|
@@ -23980,19 +24277,21 @@ class TextField {
|
|
23980
24277
|
this.checkChildHydration = () => {
|
23981
24278
|
var _a;
|
23982
24279
|
const el = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("ic-typography");
|
23983
|
-
if (el && el.classList.contains("hydrated")) {
|
24280
|
+
if (this.hideLabel || (el && el.classList.contains("hydrated"))) {
|
23984
24281
|
this.setFocus();
|
23985
24282
|
clearInterval(this.interval);
|
23986
24283
|
}
|
23987
24284
|
};
|
24285
|
+
this.getNumberOfCharacters = (value) => value !== null && value !== undefined ? value.length : 0;
|
23988
24286
|
this.getMaxValueExceeded = (value) => {
|
24287
|
+
this.numChars = this.getNumberOfCharacters(value);
|
23989
24288
|
if (this.type === "number") {
|
23990
24289
|
this.minValueUnattained = value && Number(value) < Number(this.min);
|
23991
24290
|
this.maxValueExceeded = Number(value) > Number(this.max);
|
23992
24291
|
}
|
23993
24292
|
};
|
23994
24293
|
this.getMaxCharactersReached = (value) => {
|
23995
|
-
this.numChars = value
|
24294
|
+
this.numChars = this.getNumberOfCharacters(value);
|
23996
24295
|
this.maxCharactersReached =
|
23997
24296
|
this.maxCharacters > 0 ? this.numChars >= this.maxCharacters : false;
|
23998
24297
|
if (this.maxCharactersWarning && !this.maxCharactersReached) {
|
@@ -24144,7 +24443,7 @@ class TextField {
|
|
24144
24443
|
/**
|
24145
24444
|
* Sets focus on the native `input`.
|
24146
24445
|
*/
|
24147
|
-
setFocus() {
|
24446
|
+
async setFocus() {
|
24148
24447
|
var _a;
|
24149
24448
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
24150
24449
|
}
|
@@ -24186,16 +24485,16 @@ class TextField {
|
|
24186
24485
|
const disabledText = disabledMode && !readonly;
|
24187
24486
|
const showLeftIcon = !!this.el.querySelector(`[slot="icon"]`) && !disabledText;
|
24188
24487
|
const invalid = `${currentStatus === IcInformationStatus$1.Error}`;
|
24189
|
-
|
24190
|
-
renderHiddenInput$1(true, this.el, name, value, disabledMode)
|
24191
|
-
|
24488
|
+
hiddenInput
|
24489
|
+
? renderHiddenInput$1(true, this.el, name, value, disabledMode)
|
24490
|
+
: removeHiddenInput(this.el);
|
24192
24491
|
return (hAsync(Host, { class: {
|
24193
24492
|
"ic-text-field-full-width": fullWidth,
|
24194
24493
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
24195
24494
|
"ic-text-field-disabled": disabledMode,
|
24196
24495
|
} }, hAsync("ic-input-container", { readonly: readonly, disabled: disabledMode }, !this.hideLabel && (hAsync("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), hAsync("ic-input-component-container", { size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (hAsync("span", { class: {
|
24197
24496
|
readonly,
|
24198
|
-
"has-value": value
|
24497
|
+
"has-value": this.getNumberOfCharacters(value) > 0,
|
24199
24498
|
}, slot: "left-icon" }, hAsync("slot", { name: "icon" }))), !multiline ? (hAsync("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
|
24200
24499
|
"no-left-pad": !showLeftIcon && readonly,
|
24201
24500
|
readonly,
|
@@ -24655,7 +24954,7 @@ class ToastRegion {
|
|
24655
24954
|
}; }
|
24656
24955
|
}
|
24657
24956
|
|
24658
|
-
const icToggleButtonCss = "/*!@html*/html.sc-ic-toggle-button{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-toggle-button{margin:0}/*!@main*/main.sc-ic-toggle-button{display:block}/*!@h1*/h1.sc-ic-toggle-button{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-toggle-button{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-toggle-button{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-toggle-button{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-toggle-button{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-toggle-button,strong.sc-ic-toggle-button{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-toggle-button,kbd.sc-ic-toggle-button,samp.sc-ic-toggle-button{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-toggle-button{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-toggle-button,sup.sc-ic-toggle-button{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-toggle-button{bottom:-0.25em}/*!@sup*/sup.sc-ic-toggle-button{top:-0.5em}/*!@img*/img.sc-ic-toggle-button{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-toggle-button,input.sc-ic-toggle-button,optgroup.sc-ic-toggle-button,select.sc-ic-toggle-button,textarea.sc-ic-toggle-button{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-toggle-button,input.sc-ic-toggle-button{overflow:visible}/*!@button,\nselect*/button.sc-ic-toggle-button,select.sc-ic-toggle-button{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-toggle-button,[type=\"button\"].sc-ic-toggle-button,[type=\"reset\"].sc-ic-toggle-button,[type=\"submit\"].sc-ic-toggle-button{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-toggle-button::-moz-focus-inner,[type=\"button\"].sc-ic-toggle-button::-moz-focus-inner,[type=\"reset\"].sc-ic-toggle-button::-moz-focus-inner,[type=\"submit\"].sc-ic-toggle-button::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-toggle-button:-moz-focusring,[type=\"button\"].sc-ic-toggle-button:-moz-focusring,[type=\"reset\"].sc-ic-toggle-button:-moz-focusring,[type=\"submit\"].sc-ic-toggle-button:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-toggle-button{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-toggle-button{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-toggle-button{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-toggle-button{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-toggle-button,[type=\"radio\"].sc-ic-toggle-button{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-toggle-button::-webkit-inner-spin-button,[type=\"number\"].sc-ic-toggle-button::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-toggle-button{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-toggle-button::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-toggle-button::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-toggle-button{display:block}/*!@summary*/summary.sc-ic-toggle-button{display:list-item}/*!@template*/template.sc-ic-toggle-button{display:none}/*!@[hidden]*/[hidden].sc-ic-toggle-button{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-toggle-button,body.sc-ic-toggle-button,div.sc-ic-toggle-button,span.sc-ic-toggle-button,applet.sc-ic-toggle-button,object.sc-ic-toggle-button,iframe.sc-ic-toggle-button,h1.sc-ic-toggle-button,h2.sc-ic-toggle-button,h3.sc-ic-toggle-button,h4.sc-ic-toggle-button,h5.sc-ic-toggle-button,h6.sc-ic-toggle-button,p.sc-ic-toggle-button,blockquote.sc-ic-toggle-button,pre.sc-ic-toggle-button,a.sc-ic-toggle-button,abbr.sc-ic-toggle-button,acronym.sc-ic-toggle-button,address.sc-ic-toggle-button,big.sc-ic-toggle-button,cite.sc-ic-toggle-button,code.sc-ic-toggle-button,del.sc-ic-toggle-button,dfn.sc-ic-toggle-button,em.sc-ic-toggle-button,img.sc-ic-toggle-button,ins.sc-ic-toggle-button,kbd.sc-ic-toggle-button,q.sc-ic-toggle-button,s.sc-ic-toggle-button,samp.sc-ic-toggle-button,small.sc-ic-toggle-button,strike.sc-ic-toggle-button,strong.sc-ic-toggle-button,sub.sc-ic-toggle-button,sup.sc-ic-toggle-button,tt.sc-ic-toggle-button,var.sc-ic-toggle-button,b.sc-ic-toggle-button,u.sc-ic-toggle-button,i.sc-ic-toggle-button,center.sc-ic-toggle-button,dl.sc-ic-toggle-button,dt.sc-ic-toggle-button,dd.sc-ic-toggle-button,ol.sc-ic-toggle-button,ul.sc-ic-toggle-button,li.sc-ic-toggle-button,fieldset.sc-ic-toggle-button,form.sc-ic-toggle-button,label.sc-ic-toggle-button,legend.sc-ic-toggle-button,table.sc-ic-toggle-button,caption.sc-ic-toggle-button,tbody.sc-ic-toggle-button,tfoot.sc-ic-toggle-button,thead.sc-ic-toggle-button,tr.sc-ic-toggle-button,th.sc-ic-toggle-button,td.sc-ic-toggle-button,article.sc-ic-toggle-button,aside.sc-ic-toggle-button,canvas.sc-ic-toggle-button,details.sc-ic-toggle-button,embed.sc-ic-toggle-button,figure.sc-ic-toggle-button,figcaption.sc-ic-toggle-button,footer.sc-ic-toggle-button,header.sc-ic-toggle-button,hgroup.sc-ic-toggle-button,menu.sc-ic-toggle-button,nav.sc-ic-toggle-button,output.sc-ic-toggle-button,ruby.sc-ic-toggle-button,section.sc-ic-toggle-button,summary.sc-ic-toggle-button,time.sc-ic-toggle-button,mark.sc-ic-toggle-button,audio.sc-ic-toggle-button,video.sc-ic-toggle-button{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-unselected-border);--toggle-button-text-colour:var(--ic-toggle-button-unselected-text);--toggle-button-border-hover:var(--ic-toggle-button-unselected-border-hover);--toggle-button-text-colour-hover:var(\n --ic-toggle-button-unselected-text-hover\n );--toggle-button-border-active:var(\n --ic-toggle-button-unselected-border-pressed\n );--toggle-button-text-colour-active:var(\n --ic-toggle-button-unselected-text-pressed\n )}/*!@:host(.ic-toggle-button-checked)*/.ic-toggle-button-checked.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-selected-border);--toggle-button-text-colour:var(--ic-toggle-button-selected-text);--toggle-button-border-hover:var(--ic-toggle-button-selected-border-hover);--toggle-button-text-colour-hover:var(--ic-toggle-button-selected-text);--toggle-button-border-active:var(\n --ic-toggle-button-selected-border-pressed\n );--toggle-button-text-colour-active:var(--ic-toggle-button-selected-text)}/*!@:host(.ic-toggle-button-monochrome)*/.ic-toggle-button-monochrome.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-unselected-border-monochrome);--toggle-button-text-colour:var(\n --ic-toggle-button-unselected-text-monochrome\n );--toggle-button-border-hover:var(\n --ic-toggle-button-unselected-border-hover-monochrome\n );--toggle-button-text-colour-hover:var(\n --ic-toggle-button-unselected-text-monochrome\n );--toggle-button-border-active:var(\n --ic-toggle-button-unselected-border-pressed-monochrome\n );--toggle-button-text-colour-active:var(\n --ic-toggle-button-unselected-text-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked)*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-selected-border-monochrome);--toggle-button-text-colour:var(--ic-toggle-button-selected-text-monochrome);--toggle-button-border-hover:var(\n --ic-toggle-button-selected-border-hover-monochrome\n );--toggle-button-text-colour-hover:var(\n --ic-toggle-button-selected-text-monochrome\n );--toggle-button-border-active:var(\n --ic-toggle-button-selected-border-pressed-monochrome\n );--toggle-button-text-colour-active:var(\n --ic-toggle-button-selected-text-monochrome\n )}/*!@:host(.ic-toggle-button-disabled)*/.ic-toggle-button-disabled.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-unselected-border-disabled);--toggle-button-text-colour:var(--ic-toggle-button-unselected-text-disabled)}/*!@:host(.ic-toggle-button-disabled.ic-toggle-button-monochrome)*/.ic-toggle-button-disabled.ic-toggle-button-monochrome.sc-ic-toggle-button-h{--toggle-button-border:var(\n --ic-toggle-button-unselected-border-disabled-monochrome\n );--toggle-button-text-colour:var(\n --ic-toggle-button-unselected-text-disabled-monochrome\n )}/*!@:host(.ic-toggle-button-disabled.ic-toggle-button-checked)*/.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-selected-border-disabled);--toggle-button-text-colour:var(--ic-toggle-button-selected-text-disabled)}/*!@:host(\n .ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome\n )*/.ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome.sc-ic-toggle-button-h{--toggle-button-border:var(\n --ic-toggle-button-selected-border-disabled-monochrome\n );--toggle-button-text-colour:var(\n --ic-toggle-button-selected-text-disabled-monochrome\n )}/*!@:host(.expand-toggle-group-child) ::part(button)*/.expand-toggle-group-child.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){width:100%;min-height:inherit;white-space:inherit;height:inherit}/*!@:host ic-button*/.sc-ic-toggle-button-h ic-button.sc-ic-toggle-button{--icon-width:var(--ic-space-lg);--icon-height:var(--ic-space-lg)}/*!@:host(.expand-toggle-group-child) ic-button*/.expand-toggle-group-child.sc-ic-toggle-button-h ic-button.sc-ic-toggle-button{min-width:100%;min-height:100%;white-space:normal;height:100%}/*!@:host(.expand-toggle-group-child) ::part(button):focus,\n:host(.expand-toggle-group-child.ic-toggle-button-checked)\n ::part(button):focus*/.expand-toggle-group-child.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus,.expand-toggle-group-child.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-action-default),\n var(--ic-border-focus)}/*!@:host(.expand-toggle-group-child.ic-toggle-button-light) ::part(button):focus,\n:host(.expand-toggle-group-child.ic-toggle-button-dark) ::part(button):focus*/.expand-toggle-group-child.ic-toggle-button-light.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus,.expand-toggle-group-child.ic-toggle-button-dark.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-action-dark),\n var(--ic-border-focus)}/*!@:host(:focus)*/.sc-ic-toggle-button-h:focus{z-index:1}/*!@:host ::part(button)*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){border:var(--ic-border-width) solid var(--toggle-button-border);color:var(--toggle-button-text-colour)}/*!@:host ::part(button):hover*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{border:var(--ic-border-width) solid var(--toggle-button-border-hover);color:var(--toggle-button-text-colour-hover)}/*!@:host ::part(button):active*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{border:var(--ic-border-width) solid var(--toggle-button-border-active);color:var(--toggle-button-text-colour-active)}/*!@:host(.ic-toggle-button-disabled) ::part(button)*/.ic-toggle-button-disabled.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){border:var(--ic-space-1px) dashed var(--toggle-button-border);color:var(--toggle-button-text-colour)}/*!@:host(.ic-toggle-button-checked) ::part(button)*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){background-color:var(--ic-toggle-button-selected-background);box-shadow:inset 0 0 0 var(--ic-space-xxxs)\n var(--ic-toggle-button-selected-text)}/*!@:host(.ic-toggle-button-checked) ::part(button):focus*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-architectural-white),\n var(--ic-border-focus)}/*!@:host ::part(button):hover*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:var(--ic-toggle-button-unselected-background-hover)}/*!@:host ::part(button):active*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-toggle-button-unselected-background-pressed)}/*!@:host(.ic-toggle-button-checked) ::part(button):hover*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:var(--ic-toggle-button-selected-background-hover)}/*!@:host(.ic-toggle-button-checked) ::part(button):active,\n:host(.ic-toggle-button-icon.ic-toggle-button-checked) ::part(button):active*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active,.ic-toggle-button-icon.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-toggle-button-selected-background-pressed)}/*!@:host(.ic-toggle-button-monochrome) ::part(button):hover*/.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:var(\n --ic-toggle-button-unselected-background-hover-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome) ::part(button):active*/.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(\n --ic-toggle-button-unselected-background-pressed-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked) ::part(button)*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){background-color:var(--ic-toggle-button-selected-background-monochrome)}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked)\n ::part(button):hover*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:var(\n --ic-toggle-button-selected-background-hover-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked)\n ::part(button):active,\n:host(\n .ic-toggle-button-icon.ic-toggle-button-monochrome.ic-toggle-button-checked\n )\n ::part(button):active*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active,.ic-toggle-button-icon.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(\n --ic-toggle-button-selected-background-pressed-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked)\n ::part(button):focus*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs)\n var(--ic-toggle-button-selected-text),\n var(--ic-border-focus)}/*!@:host(.ic-toggle-button-disabled.ic-toggle-button-checked) ::part(button),\n:host(.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked)\n ::part(button)*/.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){background-color:transparent}/*!@:host(.ic-toggle-button-disabled.ic-toggle-button-checked) ::part(button),\n:host(.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked)\n ::part(button)::before*/.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button)::before{background-image:radial-gradient(\n var(--ic-toggle-button-selected-background-disabled) 95%,\n white 20%\n );background-repeat:no-repeat}/*!@:host(\n .ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome\n )\n ::part(button),\n:host(\n .ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome\n )\n ::part(button)::before*/.ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button)::before{background-image:radial-gradient(\n var(--ic-toggle-button-selected-background-disabled-monochrome) 95%,\n white 20%\n );background-repeat:no-repeat}/*!@:host(.ic-toggle-button-icon) ::part(button)*/.ic-toggle-button-icon.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){height:calc(var(--ic-space-xl) + var(--ic-space-xs));width:calc(var(--ic-space-xl) + var(--ic-space-xs))}/*!@:host(.ic-toggle-button-icon) ::part(button):active*/.ic-toggle-button-icon.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-action-default-bg-pressed)}/*!@:host(.ic-toggle-button-icon.ic-toggle-button-dark) ::part(button):active*/.ic-toggle-button-icon.ic-toggle-button-dark.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-action-dark-bg-pressed)}/*!@:host(.ic-toggle-button-icon.ic-toggle-button-light) ::part(button):active*/.ic-toggle-button-icon.ic-toggle-button-light.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-action-light-bg-pressed)}/*!@:host(.ic-toggle-button-icon.ic-toggle-button-small) ::part(button)*/.ic-toggle-button-icon.ic-toggle-button-small.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){height:var(--ic-space-xl);width:var(--ic-space-xl)}/*!@:host(.ic-toggle-button-icon.ic-toggle-button-large) ::part(button)*/.ic-toggle-button-icon.ic-toggle-button-large.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){height:var(--ic-space-xxl);width:var(--ic-space-xxl)}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-loading) ::part(button)*/.ic-toggle-button-checked.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){--loading-button-background:var(\n --ic-toggle-button-selected-background-pressed\n );background-color:var(--ic-toggle-button-selected-background-pressed)}/*!@:host(.ic-toggle-button-loading) ::part(button)*/.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){--loading-button-background:var(\n --ic-toggle-button-unselected-background-pressed\n );background-color:var(--ic-toggle-button-unselected-background-pressed)}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-loading)\n ::part(ic-loading-container)*/.ic-toggle-button-checked.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(ic-loading-container){--inner-color:var(--ic-toggle-button-loading-bar)}/*!@:host(.ic-toggle-button-loading) ::part(ic-loading-container)*/.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(ic-loading-container){--inner-color:var(--ic-toggle-button-selected-loading-bar)}/*!@:host(\n .ic-toggle-button-checked.ic-toggle-button-loading.ic-toggle-button-monochrome\n )\n ::part(button)*/.ic-toggle-button-checked.ic-toggle-button-loading.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){--loading-button-background:var(\n --ic-toggle-button-selected-background-pressed-monochrome\n );background-color:var(\n --ic-toggle-button-selected-background-pressed-monochrome\n )}/*!@:host(.ic-toggle-button-loading.ic-toggle-button-monochrome) ::part(button)*/.ic-toggle-button-loading.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){--loading-button-background:var(\n --ic-toggle-button-unselected-background-pressed-monochrome\n );background-color:var(\n --ic-toggle-button-unselected-background-pressed-monochrome\n )}@media (forced-colors: active){/*!@:host(.ic-toggle-button-checked) ::part(button),\n :host(.ic-toggle-button-checked) ::part(button):hover*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:Highlight}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-light) ::part(button),\n :host(.ic-toggle-button-checked.ic-toggle-button-light) ::part(button):hover*/.ic-toggle-button-checked.ic-toggle-button-light.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-checked.ic-toggle-button-light.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:Highlight}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-dark) ::part(button),\n :host(.ic-toggle-button-checked.ic-toggle-button-dark) ::part(button):hover*/.ic-toggle-button-checked.ic-toggle-button-dark.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-checked.ic-toggle-button-dark.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:Highlight}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-disabled) ::part(button)*/.ic-toggle-button-checked.ic-toggle-button-disabled.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){background-color:GrayText}}";
|
24957
|
+
const icToggleButtonCss = "/*!@html*/html.sc-ic-toggle-button{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-toggle-button{margin:0}/*!@main*/main.sc-ic-toggle-button{display:block}/*!@h1*/h1.sc-ic-toggle-button{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-toggle-button{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-toggle-button{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-toggle-button{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-toggle-button{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-toggle-button,strong.sc-ic-toggle-button{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-toggle-button,kbd.sc-ic-toggle-button,samp.sc-ic-toggle-button{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-toggle-button{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-toggle-button,sup.sc-ic-toggle-button{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-toggle-button{bottom:-0.25em}/*!@sup*/sup.sc-ic-toggle-button{top:-0.5em}/*!@img*/img.sc-ic-toggle-button{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-toggle-button,input.sc-ic-toggle-button,optgroup.sc-ic-toggle-button,select.sc-ic-toggle-button,textarea.sc-ic-toggle-button{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-toggle-button,input.sc-ic-toggle-button{overflow:visible}/*!@button,\nselect*/button.sc-ic-toggle-button,select.sc-ic-toggle-button{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-toggle-button,[type=\"button\"].sc-ic-toggle-button,[type=\"reset\"].sc-ic-toggle-button,[type=\"submit\"].sc-ic-toggle-button{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-toggle-button::-moz-focus-inner,[type=\"button\"].sc-ic-toggle-button::-moz-focus-inner,[type=\"reset\"].sc-ic-toggle-button::-moz-focus-inner,[type=\"submit\"].sc-ic-toggle-button::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-toggle-button:-moz-focusring,[type=\"button\"].sc-ic-toggle-button:-moz-focusring,[type=\"reset\"].sc-ic-toggle-button:-moz-focusring,[type=\"submit\"].sc-ic-toggle-button:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-toggle-button{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-toggle-button{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-toggle-button{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-toggle-button{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-toggle-button,[type=\"radio\"].sc-ic-toggle-button{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-toggle-button::-webkit-inner-spin-button,[type=\"number\"].sc-ic-toggle-button::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-toggle-button{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-toggle-button::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-toggle-button::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-toggle-button{display:block}/*!@summary*/summary.sc-ic-toggle-button{display:list-item}/*!@template*/template.sc-ic-toggle-button{display:none}/*!@[hidden]*/[hidden].sc-ic-toggle-button{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-toggle-button,body.sc-ic-toggle-button,div.sc-ic-toggle-button,span.sc-ic-toggle-button,applet.sc-ic-toggle-button,object.sc-ic-toggle-button,iframe.sc-ic-toggle-button,h1.sc-ic-toggle-button,h2.sc-ic-toggle-button,h3.sc-ic-toggle-button,h4.sc-ic-toggle-button,h5.sc-ic-toggle-button,h6.sc-ic-toggle-button,p.sc-ic-toggle-button,blockquote.sc-ic-toggle-button,pre.sc-ic-toggle-button,a.sc-ic-toggle-button,abbr.sc-ic-toggle-button,acronym.sc-ic-toggle-button,address.sc-ic-toggle-button,big.sc-ic-toggle-button,cite.sc-ic-toggle-button,code.sc-ic-toggle-button,del.sc-ic-toggle-button,dfn.sc-ic-toggle-button,em.sc-ic-toggle-button,img.sc-ic-toggle-button,ins.sc-ic-toggle-button,kbd.sc-ic-toggle-button,q.sc-ic-toggle-button,s.sc-ic-toggle-button,samp.sc-ic-toggle-button,small.sc-ic-toggle-button,strike.sc-ic-toggle-button,strong.sc-ic-toggle-button,sub.sc-ic-toggle-button,sup.sc-ic-toggle-button,tt.sc-ic-toggle-button,var.sc-ic-toggle-button,b.sc-ic-toggle-button,u.sc-ic-toggle-button,i.sc-ic-toggle-button,center.sc-ic-toggle-button,dl.sc-ic-toggle-button,dt.sc-ic-toggle-button,dd.sc-ic-toggle-button,ol.sc-ic-toggle-button,ul.sc-ic-toggle-button,li.sc-ic-toggle-button,fieldset.sc-ic-toggle-button,form.sc-ic-toggle-button,label.sc-ic-toggle-button,legend.sc-ic-toggle-button,table.sc-ic-toggle-button,caption.sc-ic-toggle-button,tbody.sc-ic-toggle-button,tfoot.sc-ic-toggle-button,thead.sc-ic-toggle-button,tr.sc-ic-toggle-button,th.sc-ic-toggle-button,td.sc-ic-toggle-button,article.sc-ic-toggle-button,aside.sc-ic-toggle-button,canvas.sc-ic-toggle-button,details.sc-ic-toggle-button,embed.sc-ic-toggle-button,figure.sc-ic-toggle-button,figcaption.sc-ic-toggle-button,footer.sc-ic-toggle-button,header.sc-ic-toggle-button,hgroup.sc-ic-toggle-button,menu.sc-ic-toggle-button,nav.sc-ic-toggle-button,output.sc-ic-toggle-button,ruby.sc-ic-toggle-button,section.sc-ic-toggle-button,summary.sc-ic-toggle-button,time.sc-ic-toggle-button,mark.sc-ic-toggle-button,audio.sc-ic-toggle-button,video.sc-ic-toggle-button{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-unselected-border);--toggle-button-text-colour:var(--ic-toggle-button-unselected-text);--toggle-button-border-hover:var(--ic-toggle-button-unselected-border-hover);--toggle-button-text-colour-hover:var(\n --ic-toggle-button-unselected-text-hover\n );--toggle-button-border-active:var(\n --ic-toggle-button-unselected-border-pressed\n );--toggle-button-text-colour-active:var(\n --ic-toggle-button-unselected-text-pressed\n )}/*!@:host(.ic-toggle-button-checked)*/.ic-toggle-button-checked.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-selected-border);--toggle-button-text-colour:var(--ic-toggle-button-selected-text);--toggle-button-border-hover:var(--ic-toggle-button-selected-border-hover);--toggle-button-text-colour-hover:var(--ic-toggle-button-selected-text);--toggle-button-border-active:var(\n --ic-toggle-button-selected-border-pressed\n );--toggle-button-text-colour-active:var(--ic-toggle-button-selected-text)}/*!@:host(.ic-toggle-button-monochrome)*/.ic-toggle-button-monochrome.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-unselected-border-monochrome);--toggle-button-text-colour:var(\n --ic-toggle-button-unselected-text-monochrome\n );--toggle-button-border-hover:var(\n --ic-toggle-button-unselected-border-hover-monochrome\n );--toggle-button-text-colour-hover:var(\n --ic-toggle-button-unselected-text-monochrome\n );--toggle-button-border-active:var(\n --ic-toggle-button-unselected-border-pressed-monochrome\n );--toggle-button-text-colour-active:var(\n --ic-toggle-button-unselected-text-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked)*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-selected-border-monochrome);--toggle-button-text-colour:var(--ic-toggle-button-selected-text-monochrome);--toggle-button-border-hover:var(\n --ic-toggle-button-selected-border-hover-monochrome\n );--toggle-button-text-colour-hover:var(\n --ic-toggle-button-selected-text-monochrome\n );--toggle-button-border-active:var(\n --ic-toggle-button-selected-border-pressed-monochrome\n );--toggle-button-text-colour-active:var(\n --ic-toggle-button-selected-text-monochrome\n )}/*!@:host(.ic-toggle-button-disabled)*/.ic-toggle-button-disabled.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-unselected-border-disabled);--toggle-button-text-colour:var(--ic-toggle-button-unselected-text-disabled)}/*!@:host(.ic-toggle-button-disabled.ic-toggle-button-monochrome)*/.ic-toggle-button-disabled.ic-toggle-button-monochrome.sc-ic-toggle-button-h{--toggle-button-border:var(\n --ic-toggle-button-unselected-border-disabled-monochrome\n );--toggle-button-text-colour:var(\n --ic-toggle-button-unselected-text-disabled-monochrome\n )}/*!@:host(.ic-toggle-button-disabled.ic-toggle-button-checked)*/.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h{--toggle-button-border:var(--ic-toggle-button-selected-border-disabled);--toggle-button-text-colour:var(--ic-toggle-button-selected-text-disabled)}/*!@:host(\n .ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome\n )*/.ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome.sc-ic-toggle-button-h{--toggle-button-border:var(\n --ic-toggle-button-selected-border-disabled-monochrome\n );--toggle-button-text-colour:var(\n --ic-toggle-button-selected-text-disabled-monochrome\n )}/*!@:host(.expand-toggle-group-child) ::part(button)*/.expand-toggle-group-child.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){width:100%;min-height:inherit;white-space:inherit;height:inherit}/*!@:host ic-button*/.sc-ic-toggle-button-h ic-button.sc-ic-toggle-button{--icon-width:var(--ic-space-lg);--icon-height:var(--ic-space-lg)}/*!@:host(.expand-toggle-group-child) ic-button*/.expand-toggle-group-child.sc-ic-toggle-button-h ic-button.sc-ic-toggle-button{min-width:100%;min-height:100%;white-space:normal;height:100%}/*!@:host(.expand-toggle-group-child) ::part(button):focus,\n:host(.expand-toggle-group-child.ic-toggle-button-checked)\n ::part(button):focus*/.expand-toggle-group-child.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus,.expand-toggle-group-child.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-action-default),\n var(--ic-border-focus)}/*!@:host(.expand-toggle-group-child.ic-toggle-button-light) ::part(button):focus,\n:host(.expand-toggle-group-child.ic-toggle-button-dark) ::part(button):focus*/.expand-toggle-group-child.ic-toggle-button-light.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus,.expand-toggle-group-child.ic-toggle-button-dark.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-action-dark),\n var(--ic-border-focus)}/*!@:host(:focus)*/.sc-ic-toggle-button-h:focus{z-index:1}/*!@:host ::part(button)*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){border:var(--ic-border-width) solid var(--toggle-button-border);color:var(--toggle-button-text-colour)}/*!@:host ::part(button):hover*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{border:var(--ic-border-width) solid var(--toggle-button-border-hover);color:var(--toggle-button-text-colour-hover)}/*!@:host ::part(button):active*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{border:var(--ic-border-width) solid var(--toggle-button-border-active);color:var(--toggle-button-text-colour-active)}/*!@:host(.ic-toggle-button-disabled) ::part(button)*/.ic-toggle-button-disabled.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){border:var(--ic-space-1px) dashed var(--toggle-button-border);color:var(--toggle-button-text-colour)}/*!@:host(.ic-toggle-button-checked) ::part(button)*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){background-color:var(--ic-toggle-button-selected-background);box-shadow:inset 0 0 0 var(--ic-space-xxxs)\n var(--ic-toggle-button-selected-text)}/*!@:host(.ic-toggle-button-checked) ::part(button):focus*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-architectural-white),\n var(--ic-border-focus)}/*!@:host ::part(button):hover*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:var(--ic-toggle-button-unselected-background-hover)}/*!@:host ::part(button):active*/.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-toggle-button-unselected-background-pressed)}/*!@:host(.ic-toggle-button-checked) ::part(button):hover*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:var(--ic-toggle-button-selected-background-hover)}/*!@:host(.ic-toggle-button-checked) ::part(button):active,\n:host(.ic-toggle-button-icon.ic-toggle-button-checked) ::part(button):active*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active,.ic-toggle-button-icon.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-toggle-button-selected-background-pressed)}/*!@:host(.ic-toggle-button-monochrome) ::part(button):hover*/.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:var(\n --ic-toggle-button-unselected-background-hover-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome) ::part(button):active*/.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(\n --ic-toggle-button-unselected-background-pressed-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked) ::part(button)*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){background-color:var(--ic-toggle-button-selected-background-monochrome)}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked)\n ::part(button):hover*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:var(\n --ic-toggle-button-selected-background-hover-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked)\n ::part(button):active,\n:host(\n .ic-toggle-button-icon.ic-toggle-button-monochrome.ic-toggle-button-checked\n )\n ::part(button):active*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active,.ic-toggle-button-icon.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(\n --ic-toggle-button-selected-background-pressed-monochrome\n )}/*!@:host(.ic-toggle-button-monochrome.ic-toggle-button-checked)\n ::part(button):focus*/.ic-toggle-button-monochrome.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs)\n var(--ic-toggle-button-selected-text),\n var(--ic-border-focus)}/*!@:host(.ic-toggle-button-disabled.ic-toggle-button-checked) ::part(button),\n:host(.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked)\n ::part(button)*/.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){background-color:transparent}/*!@:host(.ic-toggle-button-disabled.ic-toggle-button-checked) ::part(button),\n:host(.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked)\n ::part(button)::before*/.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button)::before{background-image:radial-gradient(\n var(--ic-toggle-button-selected-background-disabled) 95%,\n white 20%\n );background-repeat:no-repeat}/*!@:host(\n .ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome\n )\n ::part(button),\n:host(\n .ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome\n )\n ::part(button)::before*/.ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-icon.ic-toggle-button-disabled.ic-toggle-button-checked.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button)::before{background-image:radial-gradient(\n var(--ic-toggle-button-selected-background-disabled-monochrome) 95%,\n white 20%\n );background-repeat:no-repeat}/*!@:host(.ic-toggle-button-icon) ::part(button)*/.ic-toggle-button-icon.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){height:calc(var(--ic-space-xl) + var(--ic-space-xs));width:calc(var(--ic-space-xl) + var(--ic-space-xs))}/*!@:host(.ic-toggle-button-icon) ::part(button):active*/.ic-toggle-button-icon.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-action-default-bg-pressed)}/*!@:host(.ic-toggle-button-icon.ic-toggle-button-dark) ::part(button):active*/.ic-toggle-button-icon.ic-toggle-button-dark.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-action-dark-bg-pressed)}/*!@:host(.ic-toggle-button-icon.ic-toggle-button-light) ::part(button):active*/.ic-toggle-button-icon.ic-toggle-button-light.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):active{background-color:var(--ic-action-light-bg-pressed)}/*!@:host(.ic-toggle-button-icon.ic-toggle-button-small) ::part(button)*/.ic-toggle-button-icon.ic-toggle-button-small.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){height:var(--ic-space-xl);width:var(--ic-space-xl)}/*!@:host(.ic-toggle-button-icon.ic-toggle-button-large) ::part(button)*/.ic-toggle-button-icon.ic-toggle-button-large.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){height:var(--ic-space-xxl);width:var(--ic-space-xxl)}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-loading) ::part(button)*/.ic-toggle-button-checked.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){--loading-button-background:var(\n --ic-toggle-button-selected-background-pressed\n );background-color:var(--ic-toggle-button-selected-background-pressed)}/*!@:host(.ic-toggle-button-loading) ::part(button)*/.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){--loading-button-background:var(\n --ic-toggle-button-unselected-background-pressed\n );background-color:var(--ic-toggle-button-unselected-background-pressed)}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-loading)\n ::part(ic-loading-container)*/.ic-toggle-button-checked.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(ic-loading-container){--inner-color:var(--ic-toggle-button-loading-bar)}/*!@:host(.ic-toggle-button-loading) ::part(ic-loading-container)*/.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(ic-loading-container){--inner-color:var(--ic-toggle-button-selected-loading-bar)}/*!@:host(\n .ic-toggle-button-checked.ic-toggle-button-loading.ic-toggle-button-monochrome\n )\n ::part(button)*/.ic-toggle-button-checked.ic-toggle-button-loading.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){--loading-button-background:var(\n --ic-toggle-button-selected-background-pressed-monochrome\n );background-color:var(\n --ic-toggle-button-selected-background-pressed-monochrome\n )}/*!@:host(.ic-toggle-button-loading.ic-toggle-button-monochrome) ::part(button)*/.ic-toggle-button-loading.ic-toggle-button-monochrome.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){--loading-button-background:var(\n --ic-toggle-button-unselected-background-pressed-monochrome\n );background-color:var(\n --ic-toggle-button-unselected-background-pressed-monochrome\n )}@media (forced-colors: active){/*!@:host(.ic-toggle-button-checked) ::part(button),\n :host(.ic-toggle-button-checked) ::part(button):hover*/.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-checked.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:Highlight}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-light) ::part(button),\n :host(.ic-toggle-button-checked.ic-toggle-button-light) ::part(button):hover*/.ic-toggle-button-checked.ic-toggle-button-light.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-checked.ic-toggle-button-light.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:Highlight}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-dark) ::part(button),\n :host(.ic-toggle-button-checked.ic-toggle-button-dark) ::part(button):hover*/.ic-toggle-button-checked.ic-toggle-button-dark.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-checked.ic-toggle-button-dark.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{background-color:Highlight}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-disabled) ::part(button)*/.ic-toggle-button-checked.ic-toggle-button-disabled.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button){background-color:GrayText}/*!@:host(.ic-toggle-button-checked.ic-toggle-button-loading) ::part(button),\n :host(.ic-toggle-button-checked.ic-toggle-button-loading)\n ::part(button):hover*/.ic-toggle-button-checked.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button),.ic-toggle-button-checked.ic-toggle-button-loading.sc-ic-toggle-button-h .sc-ic-toggle-button::part(button):hover{--loading-button-background:Highlight}}";
|
24659
24958
|
|
24660
24959
|
/**
|
24661
24960
|
* @slot icon - Content will be displayed alongside the toggle button label.
|
@@ -24665,6 +24964,51 @@ class ToggleButton {
|
|
24665
24964
|
constructor(hostRef) {
|
24666
24965
|
registerInstance(this, hostRef);
|
24667
24966
|
this.icToggleChecked = createEvent(this, "icToggleChecked", 7);
|
24967
|
+
this.loopAttributes = () => {
|
24968
|
+
const trackedAttributes = [
|
24969
|
+
"loading",
|
24970
|
+
"disabled",
|
24971
|
+
"full-width",
|
24972
|
+
"icon-placement",
|
24973
|
+
"variant",
|
24974
|
+
"size",
|
24975
|
+
"theme",
|
24976
|
+
"monochrome",
|
24977
|
+
];
|
24978
|
+
const parentAttributes = this.el.parentElement.attributes;
|
24979
|
+
for (let i = 0; i < trackedAttributes.length; i++) {
|
24980
|
+
if (parentAttributes.getNamedItem(trackedAttributes[i]) !== null) {
|
24981
|
+
const attribute = parentAttributes.getNamedItem(trackedAttributes[i]);
|
24982
|
+
switch (attribute.name) {
|
24983
|
+
case trackedAttributes[0]:
|
24984
|
+
this.loading = attribute.value !== "false";
|
24985
|
+
break;
|
24986
|
+
case trackedAttributes[1]:
|
24987
|
+
console.log(attribute.value);
|
24988
|
+
this.disabled = attribute.value !== "false";
|
24989
|
+
break;
|
24990
|
+
case trackedAttributes[2]:
|
24991
|
+
this.fullWidth = attribute.value !== "false";
|
24992
|
+
break;
|
24993
|
+
case trackedAttributes[3]:
|
24994
|
+
this.iconPlacement = attribute.value;
|
24995
|
+
break;
|
24996
|
+
case trackedAttributes[4]:
|
24997
|
+
this.variant = attribute.value;
|
24998
|
+
break;
|
24999
|
+
case trackedAttributes[5]:
|
25000
|
+
this.size = attribute.value;
|
25001
|
+
break;
|
25002
|
+
case trackedAttributes[6]:
|
25003
|
+
this.theme = attribute.value;
|
25004
|
+
break;
|
25005
|
+
case trackedAttributes[7]:
|
25006
|
+
this.monochrome = attribute.value !== "false";
|
25007
|
+
break;
|
25008
|
+
}
|
25009
|
+
}
|
25010
|
+
}
|
25011
|
+
};
|
24668
25012
|
this.handleFocus = (ev) => {
|
24669
25013
|
ev.stopImmediatePropagation();
|
24670
25014
|
};
|
@@ -24679,12 +25023,13 @@ class ToggleButton {
|
|
24679
25023
|
this.checked = false;
|
24680
25024
|
this.disabled = false;
|
24681
25025
|
this.fullWidth = false;
|
24682
|
-
this.iconPlacement =
|
25026
|
+
this.iconPlacement = "left";
|
24683
25027
|
this.label = undefined;
|
24684
25028
|
this.loading = false;
|
24685
25029
|
this.monochrome = false;
|
24686
25030
|
this.size = "medium";
|
24687
25031
|
this.theme = "inherit";
|
25032
|
+
this.tooltipPlacement = "bottom";
|
24688
25033
|
this.variant = "default";
|
24689
25034
|
}
|
24690
25035
|
watchDisabledHandler() {
|
@@ -24692,8 +25037,9 @@ class ToggleButton {
|
|
24692
25037
|
}
|
24693
25038
|
componentWillLoad() {
|
24694
25039
|
removeDisabledFalse$1(this.disabled, this.el);
|
24695
|
-
|
24696
|
-
|
25040
|
+
if (isSlottedInGroup(this.el)) {
|
25041
|
+
this.loopAttributes();
|
25042
|
+
}
|
24697
25043
|
}
|
24698
25044
|
componentDidLoad() {
|
24699
25045
|
onComponentRequiredPropUndefined$1([
|
@@ -24721,7 +25067,7 @@ class ToggleButton {
|
|
24721
25067
|
["ic-toggle-button-loading"]: this.loading,
|
24722
25068
|
["ic-toggle-button-monochrome"]: this.monochrome,
|
24723
25069
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
24724
|
-
}, onFocus: this.handleFocus }, hAsync("ic-button", { "aria-pressed": this.checked.toString(), variant: this.variant === "icon" ? "icon" : "secondary", onClick: this.handleClick, title: this.accessibleLabel, "aria-label": `${this.accessibleLabel ? this.accessibleLabel : this.label}, ${this.checked ? "ticked" : "unticked"}`, disabled: this.disabled, size: this.size, fullWidth: this.fullWidth, loading: this.loading,
|
25070
|
+
}, onFocus: this.handleFocus }, hAsync("ic-button", { "aria-pressed": this.checked.toString(), variant: this.variant === "icon" ? "icon" : "secondary", onClick: this.handleClick, title: this.accessibleLabel, "aria-label": `${this.accessibleLabel ? this.accessibleLabel : this.label}, ${this.checked ? "ticked" : "unticked"}`, disabled: this.disabled, size: this.size, fullWidth: this.fullWidth, loading: this.loading, tooltipPlacement: this.tooltipPlacement }, this.variant !== "icon" && this.label, hAsync("slot", null), isSlotUsed$1(this.el, "icon") && (hAsync("slot", { name: "icon", slot: `${this.iconPlacement}-icon` })), isSlotUsed$1(this.el, "badge") && (hAsync("slot", { name: "badge", slot: "badge" })))));
|
24725
25071
|
}
|
24726
25072
|
static get delegatesFocus() { return true; }
|
24727
25073
|
get el() { return getElement(this); }
|
@@ -24735,15 +25081,16 @@ class ToggleButton {
|
|
24735
25081
|
"$members$": {
|
24736
25082
|
"accessibleLabel": [1, "accessible-label"],
|
24737
25083
|
"checked": [1540],
|
24738
|
-
"disabled": [
|
24739
|
-
"fullWidth": [
|
25084
|
+
"disabled": [1028],
|
25085
|
+
"fullWidth": [1028, "full-width"],
|
24740
25086
|
"iconPlacement": [1, "icon-placement"],
|
24741
25087
|
"label": [1],
|
24742
|
-
"loading": [
|
24743
|
-
"monochrome": [
|
24744
|
-
"size": [
|
24745
|
-
"theme": [
|
24746
|
-
"
|
25088
|
+
"loading": [1028],
|
25089
|
+
"monochrome": [1028],
|
25090
|
+
"size": [1025],
|
25091
|
+
"theme": [1025],
|
25092
|
+
"tooltipPlacement": [1, "tooltip-placement"],
|
25093
|
+
"variant": [1537]
|
24747
25094
|
},
|
24748
25095
|
"$listeners$": [[2, "click", "handleHostClick"]],
|
24749
25096
|
"$lazyBundleId$": "-",
|
@@ -24845,6 +25192,7 @@ class ToggleButtonGroup {
|
|
24845
25192
|
this.selectType = "single";
|
24846
25193
|
this.size = "medium";
|
24847
25194
|
this.theme = "inherit";
|
25195
|
+
this.tooltipPlacement = "bottom";
|
24848
25196
|
this.variant = "default";
|
24849
25197
|
}
|
24850
25198
|
watchDisabledHandler() {
|
@@ -24853,16 +25201,41 @@ class ToggleButtonGroup {
|
|
24853
25201
|
});
|
24854
25202
|
removeDisabledFalse$1(this.disabled, this.el);
|
24855
25203
|
}
|
25204
|
+
watchFullWidthHandler() {
|
25205
|
+
this.getAllToggleButtons().forEach((el) => {
|
25206
|
+
el.fullWidth = this.fullWidth;
|
25207
|
+
});
|
25208
|
+
}
|
25209
|
+
watchLoadingHandler() {
|
25210
|
+
this.getAllToggleButtons().forEach((el) => {
|
25211
|
+
el.loading = this.loading;
|
25212
|
+
});
|
25213
|
+
}
|
24856
25214
|
watchMonochromeHandler() {
|
24857
25215
|
this.getAllToggleButtons().forEach((el) => {
|
24858
25216
|
el.monochrome = this.monochrome;
|
24859
25217
|
});
|
24860
25218
|
}
|
25219
|
+
watchSizeHandler() {
|
25220
|
+
this.getAllToggleButtons().forEach((el) => {
|
25221
|
+
el.size = this.size;
|
25222
|
+
});
|
25223
|
+
}
|
24861
25224
|
watchThemeHandler() {
|
24862
25225
|
this.getAllToggleButtons().forEach((el) => {
|
24863
25226
|
el.theme = this.theme;
|
24864
25227
|
});
|
24865
25228
|
}
|
25229
|
+
watchTooltipPlacementHandler() {
|
25230
|
+
this.getAllToggleButtons().forEach((el) => {
|
25231
|
+
el.tooltipPlacement = this.tooltipPlacement;
|
25232
|
+
});
|
25233
|
+
}
|
25234
|
+
watchVariantHandler() {
|
25235
|
+
this.getAllToggleButtons().forEach((el) => {
|
25236
|
+
el.variant = this.variant;
|
25237
|
+
});
|
25238
|
+
}
|
24866
25239
|
selectHandler(ev, tabTarget) {
|
24867
25240
|
const allToggles = this.getAllToggleButtons();
|
24868
25241
|
let clickedToggle = ev.target;
|
@@ -24901,14 +25274,6 @@ class ToggleButtonGroup {
|
|
24901
25274
|
componentDidLoad() {
|
24902
25275
|
this.getAllToggleButtons().forEach((el, i) => {
|
24903
25276
|
this.setSlottedAria(el);
|
24904
|
-
el.size = this.size;
|
24905
|
-
el.loading = this.loading;
|
24906
|
-
el.iconPlacement = this.iconPlacement;
|
24907
|
-
el.disabled ? null : (el.disabled = this.disabled);
|
24908
|
-
el.theme = this.theme;
|
24909
|
-
el.monochrome = this.monochrome;
|
24910
|
-
el.variant = this.variant;
|
24911
|
-
el.fullWidth = this.fullWidth;
|
24912
25277
|
el.id = i.toString();
|
24913
25278
|
el.tabIndex = -1;
|
24914
25279
|
el.addEventListener("keydown", (ev) => {
|
@@ -24934,7 +25299,7 @@ class ToggleButtonGroup {
|
|
24934
25299
|
return Array.from(this.el.querySelectorAll("ic-toggle-button"));
|
24935
25300
|
}
|
24936
25301
|
render() {
|
24937
|
-
return (hAsync(Host, { role: "group", "aria-label": this.accessibleLabel,
|
25302
|
+
return (hAsync(Host, { role: "group", "aria-label": this.accessibleLabel, tabindex: 0, class: {
|
24938
25303
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
24939
25304
|
["ic-toggle-button-group-full-width"]: this.fullWidth,
|
24940
25305
|
["ic-toggle-button-group-loading"]: this.loading,
|
@@ -24946,8 +25311,13 @@ class ToggleButtonGroup {
|
|
24946
25311
|
get el() { return getElement(this); }
|
24947
25312
|
static get watchers() { return {
|
24948
25313
|
"disabled": ["watchDisabledHandler"],
|
25314
|
+
"fullWidth": ["watchFullWidthHandler"],
|
25315
|
+
"loading": ["watchLoadingHandler"],
|
24949
25316
|
"monochrome": ["watchMonochromeHandler"],
|
24950
|
-
"
|
25317
|
+
"size": ["watchSizeHandler"],
|
25318
|
+
"theme": ["watchThemeHandler"],
|
25319
|
+
"tooltipPlacement": ["watchTooltipPlacementHandler"],
|
25320
|
+
"variant": ["watchVariantHandler"]
|
24951
25321
|
}; }
|
24952
25322
|
static get style() { return icToggleButtonGroupCss; }
|
24953
25323
|
static get cmpMeta() { return {
|
@@ -24964,6 +25334,7 @@ class ToggleButtonGroup {
|
|
24964
25334
|
"selectType": [1, "select-type"],
|
24965
25335
|
"size": [1],
|
24966
25336
|
"theme": [1],
|
25337
|
+
"tooltipPlacement": [1, "tooltip-placement"],
|
24967
25338
|
"variant": [513],
|
24968
25339
|
"lastKeyPressed": [32]
|
24969
25340
|
},
|
@@ -25214,7 +25585,7 @@ class Tooltip {
|
|
25214
25585
|
}; }
|
25215
25586
|
}
|
25216
25587
|
|
25217
|
-
const icTopNavigationCss = "/*!@html*/html.sc-ic-top-navigation{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-top-navigation{margin:0}/*!@main*/main.sc-ic-top-navigation{display:block}/*!@h1*/h1.sc-ic-top-navigation{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-top-navigation{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-top-navigation{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-top-navigation{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-top-navigation{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-top-navigation,strong.sc-ic-top-navigation{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-top-navigation,kbd.sc-ic-top-navigation,samp.sc-ic-top-navigation{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-top-navigation{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-top-navigation,sup.sc-ic-top-navigation{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-top-navigation{bottom:-0.25em}/*!@sup*/sup.sc-ic-top-navigation{top:-0.5em}/*!@img*/img.sc-ic-top-navigation{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-top-navigation,input.sc-ic-top-navigation,optgroup.sc-ic-top-navigation,select.sc-ic-top-navigation,textarea.sc-ic-top-navigation{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-top-navigation,input.sc-ic-top-navigation{overflow:visible}/*!@button,\nselect*/button.sc-ic-top-navigation,select.sc-ic-top-navigation{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-top-navigation,[type=\"button\"].sc-ic-top-navigation,[type=\"reset\"].sc-ic-top-navigation,[type=\"submit\"].sc-ic-top-navigation{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-top-navigation::-moz-focus-inner,[type=\"button\"].sc-ic-top-navigation::-moz-focus-inner,[type=\"reset\"].sc-ic-top-navigation::-moz-focus-inner,[type=\"submit\"].sc-ic-top-navigation::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-top-navigation:-moz-focusring,[type=\"button\"].sc-ic-top-navigation:-moz-focusring,[type=\"reset\"].sc-ic-top-navigation:-moz-focusring,[type=\"submit\"].sc-ic-top-navigation:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-top-navigation{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-top-navigation{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-top-navigation{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-top-navigation{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-top-navigation,[type=\"radio\"].sc-ic-top-navigation{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-top-navigation::-webkit-inner-spin-button,[type=\"number\"].sc-ic-top-navigation::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-top-navigation{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-top-navigation::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-top-navigation::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-top-navigation{display:block}/*!@summary*/summary.sc-ic-top-navigation{display:list-item}/*!@template*/template.sc-ic-top-navigation{display:none}/*!@[hidden]*/[hidden].sc-ic-top-navigation{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-top-navigation,body.sc-ic-top-navigation,div.sc-ic-top-navigation,span.sc-ic-top-navigation,applet.sc-ic-top-navigation,object.sc-ic-top-navigation,iframe.sc-ic-top-navigation,h1.sc-ic-top-navigation,h2.sc-ic-top-navigation,h3.sc-ic-top-navigation,h4.sc-ic-top-navigation,h5.sc-ic-top-navigation,h6.sc-ic-top-navigation,p.sc-ic-top-navigation,blockquote.sc-ic-top-navigation,pre.sc-ic-top-navigation,a.sc-ic-top-navigation,abbr.sc-ic-top-navigation,acronym.sc-ic-top-navigation,address.sc-ic-top-navigation,big.sc-ic-top-navigation,cite.sc-ic-top-navigation,code.sc-ic-top-navigation,del.sc-ic-top-navigation,dfn.sc-ic-top-navigation,em.sc-ic-top-navigation,img.sc-ic-top-navigation,ins.sc-ic-top-navigation,kbd.sc-ic-top-navigation,q.sc-ic-top-navigation,s.sc-ic-top-navigation,samp.sc-ic-top-navigation,small.sc-ic-top-navigation,strike.sc-ic-top-navigation,strong.sc-ic-top-navigation,sub.sc-ic-top-navigation,sup.sc-ic-top-navigation,tt.sc-ic-top-navigation,var.sc-ic-top-navigation,b.sc-ic-top-navigation,u.sc-ic-top-navigation,i.sc-ic-top-navigation,center.sc-ic-top-navigation,dl.sc-ic-top-navigation,dt.sc-ic-top-navigation,dd.sc-ic-top-navigation,ol.sc-ic-top-navigation,ul.sc-ic-top-navigation,li.sc-ic-top-navigation,fieldset.sc-ic-top-navigation,form.sc-ic-top-navigation,label.sc-ic-top-navigation,legend.sc-ic-top-navigation,table.sc-ic-top-navigation,caption.sc-ic-top-navigation,tbody.sc-ic-top-navigation,tfoot.sc-ic-top-navigation,thead.sc-ic-top-navigation,tr.sc-ic-top-navigation,th.sc-ic-top-navigation,td.sc-ic-top-navigation,article.sc-ic-top-navigation,aside.sc-ic-top-navigation,canvas.sc-ic-top-navigation,details.sc-ic-top-navigation,embed.sc-ic-top-navigation,figure.sc-ic-top-navigation,figcaption.sc-ic-top-navigation,footer.sc-ic-top-navigation,header.sc-ic-top-navigation,hgroup.sc-ic-top-navigation,menu.sc-ic-top-navigation,nav.sc-ic-top-navigation,output.sc-ic-top-navigation,ruby.sc-ic-top-navigation,section.sc-ic-top-navigation,summary.sc-ic-top-navigation,time.sc-ic-top-navigation,mark.sc-ic-top-navigation,audio.sc-ic-top-navigation,video.sc-ic-top-navigation{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-top-navigation-h{display:block;color:var(--ic-top-navigation-text);width:100%;position:relative;--ic-typography-color:var(--ic-top-navigation-text);--ic-button-secondary-text-monochrome:var(--ic-brand-text-color);--ic-button-secondary-border-monochrome:var(--ic-brand-text-color)}/*!@:host(.dark)*/.dark.sc-ic-top-navigation-h{color:var(--ic-color-text-primary-light);--ic-typography-color:var(--ic-color-text-primary-light);--ic-top-navigation-logo:var(--ic-color-icon-neutral);--ic-top-navigation-icon:var(--ic-color-icon-neutral);--ic-top-navigation-theme:var(--ic-color-icon-neutral);--ic-top-navigation-status-tag:var(--ic-color-background-primary-dark);--ic-top-navigation-status-tag-text:var(--ic-color-brand-text);--ic-top-navigation-status-tag-secondary:var(--ic-state-layer-darken-10);--navigation-link-colour:var(--ic-color-text-primary-light)}/*!@:host ::slotted(ic-navigation-item)*/.sc-ic-top-navigation-h .sc-ic-top-navigation-s>ic-navigation-item{--navigation-link-colour:var(--ic-top-navigation-text)}/*!@:host(.dark) ::slotted(ic-navigation-button)*/.sc-ic-top-navigation-h.dark .sc-ic-top-navigation-s>ic-navigation-button{--ic-button-icon-monochrome:var(--ic-color-text-primary-light)}/*!@::slotted(ic-navigation-button)*/.sc-ic-top-navigation-s>ic-navigation-button{--ic-button-icon-monochrome:white}/*!@:host .top-navigation*/.sc-ic-top-navigation-h .top-navigation.sc-ic-top-navigation{background-color:var(--ic-top-navigation-background);height:-moz-max-content;height:max-content}/*!@:host(.fullwidth-searchbar) slot[name=\"search\"]::slotted(form)*/.sc-ic-top-navigation-h.fullwidth-searchbar slot[name=\"search\"].sc-ic-top-navigation-s>form{width:100%}/*!@:host .title-link*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation{display:inline-flex;align-items:center;text-decoration:none;padding:var(--ic-space-xxs);transition:var(--ic-easing-transition-fast)}/*!@:host .title-link,\n:host .title-link:visited,\n:host .title-link:active,\n:host .title-link ::slotted(a),\n:host .title-link:visited ::slotted(a),\n:host .title-link:active ::slotted(a)*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation,.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:visited,.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:active,.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link .sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link:visited.sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link:visited .sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link:active.sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link:active .sc-ic-top-navigation-s>a{color:var(--ic-top-navigation-icon-and-label);text-decoration:none;outline:none}/*!@:host .title-link:hover:not(:focus)*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:hover:not(:focus){background-color:var(--ic-top-navigation-title-hover)}/*!@:host .title-link:active:not(:focus)*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:active:not(:focus){background-color:var(--ic-top-navigation-title-pressed)}/*!@:host .title-link:hover*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:hover{border-radius:var(--ic-border-radius)}/*!@:host .title-link:focus,\n:host .title-link:focus-within*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:focus,.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:focus-within{border-radius:var(--ic-border-radius);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}/*!@:host .title-link ic-typography*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation ic-typography.sc-ic-top-navigation{font-weight:600}/*!@:host .nav-panel-container*/.sc-ic-top-navigation-h .nav-panel-container.sc-ic-top-navigation{border-top:var(--ic-space-1px) solid var(--ic-top-navigation-keyline);padding:0 var(--ic-space-lg);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin));display:flex}/*!@:host(.dark) .nav-panel-container*/.dark.sc-ic-top-navigation-h .nav-panel-container.sc-ic-top-navigation{border-top:var(--ic-border-keyline-darken)}/*!@.top-panel-container*/.top-panel-container.sc-ic-top-navigation{display:flex;padding-top:0.5rem;padding-bottom:0.5rem}/*!@.navigation-tabs*/.navigation-tabs.sc-ic-top-navigation{margin-top:calc(-1 * var(--ic-space-1px))}/*!@.app-details-container*/.app-details-container.sc-ic-top-navigation{display:flex;align-items:center;flex:1 1 auto;margin-right:var(--ic-space-md)}/*!@.app-icon-container*/.app-icon-container.sc-ic-top-navigation{display:flex;padding-right:var(--ic-space-xs)}/*!@.icon-buttons-container*/.icon-buttons-container.sc-ic-top-navigation{display:flex;margin-left:var(--ic-space-md)}/*!@.icon-buttons-container ::slotted(nav)*/.icon-buttons-container .sc-ic-top-navigation-s>nav{display:flex}/*!@.title-wrap*/.title-wrap.sc-ic-top-navigation{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}/*!@:host .app-status*/.sc-ic-top-navigation-h .app-status.sc-ic-top-navigation{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag);color:var(--ic-top-navigation-status-tag-text);--ic-typography-color:var(--ic-top-navigation-status-tag-text);padding:var(--ic-space-xxs) var(--ic-space-lg);margin-left:var(--ic-space-md);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}/*!@:host .app-version*/.sc-ic-top-navigation-h .app-version.sc-ic-top-navigation{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag-secondary);color:var(--ic-top-navigation-status-tag);padding:var(--ic-space-xxs) var(--ic-space-sm);margin-left:var(--ic-space-xs);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}/*!@slot[name=\"app-icon\"]::slotted(*)*/slot[name=\"app-icon\"].sc-ic-top-navigation-s>*{fill:var(--ic-top-navigation-logo);width:2em;height:2em}/*!@slot[name=\"toggle-icon\"] svg*/slot[name=\"toggle-icon\"].sc-ic-top-navigation svg.sc-ic-top-navigation{fill:var(--ic-top-navigation-icon)}/*!@.search-menu-container*/.search-menu-container.sc-ic-top-navigation{justify-content:right;display:flex;align-items:center}/*!@.menu-button-container*/.menu-button-container.sc-ic-top-navigation{margin-left:var(--ic-space-md)}/*!@.menu-button-container .navigation-landmark-button-text*/.menu-button-container.sc-ic-top-navigation .navigation-landmark-button-text.sc-ic-top-navigation{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}/*!@.search-actions-container*/.search-actions-container.sc-ic-top-navigation{display:flex}/*!@.menu-buttons-slot*/.menu-buttons-slot.sc-ic-top-navigation{display:flex;flex-direction:column}/*!@.navigation-landmark-text*/.navigation-landmark-text.sc-ic-top-navigation{position:absolute;width:var(--ic-space-1px);height:var(--ic-space-1px);padding:0;margin:calc(-1 * var(--ic-space-1px));overflow:hidden}/*!@.navigation-item-list*/.navigation-item-list.sc-ic-top-navigation{display:flex;list-style:none;height:2.75rem}/*!@.navigation-item-list::-webkit-scrollbar*/.navigation-item-list.sc-ic-top-navigation::-webkit-scrollbar{display:none}/*!@:host ic-section-container*/.sc-ic-top-navigation-h ic-section-container.sc-ic-top-navigation{padding-bottom:0 !important;padding-top:0 !important}@media screen and (min-width: 993px){/*!@.app-details-container*/.app-details-container.sc-ic-top-navigation{margin-right:var(--ic-space-lg)}}@media screen and (max-width: 1200px){/*!@:host .nav-panel-container*/.sc-ic-top-navigation-h .nav-panel-container.sc-ic-top-navigation{padding:0 var(--ic-space-md)}}/*!@:host(.mobile-mode) .app-status,\n:host(.mobile-mode) .app-version*/.mobile-mode.sc-ic-top-navigation-h .app-status.sc-ic-top-navigation,.mobile-mode.sc-ic-top-navigation-h .app-version.sc-ic-top-navigation{display:none}/*!@:host(.mobile-mode) .title-link*/.mobile-mode.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation{margin-right:var(--ic-space-xs)}/*!@:host(.mobile-mode) .search-menu-container*/.mobile-mode.sc-ic-top-navigation-h .search-menu-container.sc-ic-top-navigation{max-width:10rem}/*!@:host(.mobile-mode) .search-bar-container*/.mobile-mode.sc-ic-top-navigation-h .search-bar-container.sc-ic-top-navigation{display:flex;justify-content:center;align-items:center;border-top:var(--ic-border-keyline-darken);height:4rem;padding-left:var(--ic-space-md);padding-right:var(--ic-space-md);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin))}@media screen and (max-width: 576px){/*!@:host .title-link*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation{margin-right:var(--ic-space-xxxs);word-break:break-word;-webkit-hyphens:none;hyphens:none}/*!@.top-panel-container*/.top-panel-container.sc-ic-top-navigation{min-height:2.5rem}/*!@.search-bar-container*/.search-bar-container.sc-ic-top-navigation{margin-top:0;height:3.5rem;padding-left:var(--ic-space-xs);padding-right:var(--ic-space-xs)}/*!@.menu-button-container*/.menu-button-container.sc-ic-top-navigation{margin-left:var(--ic-space-sm)}/*!@slot[name=\"app-icon\"]::slotted(*)*/slot[name=\"app-icon\"].sc-ic-top-navigation-s>*{width:1.5em;height:1.5em}/*!@slot[name=\"toggle-icon\"] svg*/slot[name=\"toggle-icon\"].sc-ic-top-navigation svg.sc-ic-top-navigation{width:1.5em;height:1.5em}}@media (forced-colors: active){/*!@:host .top-navigation*/.sc-ic-top-navigation-h .top-navigation.sc-ic-top-navigation{border-bottom:var(--ic-border-hc)}/*!@.app-status,\n .app-version*/.app-status.sc-ic-top-navigation,.app-version.sc-ic-top-navigation{border:var(--ic-border-hc)}/*!@slot[name=\"app-icon\"]::slotted(*)*/slot[name=\"app-icon\"].sc-ic-top-navigation-s>*{fill:currentcolor}}";
|
25588
|
+
const icTopNavigationCss = "/*!@html*/html.sc-ic-top-navigation{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-top-navigation{margin:0}/*!@main*/main.sc-ic-top-navigation{display:block}/*!@h1*/h1.sc-ic-top-navigation{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-top-navigation{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-top-navigation{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-top-navigation{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-top-navigation{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-top-navigation,strong.sc-ic-top-navigation{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-top-navigation,kbd.sc-ic-top-navigation,samp.sc-ic-top-navigation{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-top-navigation{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-top-navigation,sup.sc-ic-top-navigation{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-top-navigation{bottom:-0.25em}/*!@sup*/sup.sc-ic-top-navigation{top:-0.5em}/*!@img*/img.sc-ic-top-navigation{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-top-navigation,input.sc-ic-top-navigation,optgroup.sc-ic-top-navigation,select.sc-ic-top-navigation,textarea.sc-ic-top-navigation{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-top-navigation,input.sc-ic-top-navigation{overflow:visible}/*!@button,\nselect*/button.sc-ic-top-navigation,select.sc-ic-top-navigation{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-top-navigation,[type=\"button\"].sc-ic-top-navigation,[type=\"reset\"].sc-ic-top-navigation,[type=\"submit\"].sc-ic-top-navigation{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-top-navigation::-moz-focus-inner,[type=\"button\"].sc-ic-top-navigation::-moz-focus-inner,[type=\"reset\"].sc-ic-top-navigation::-moz-focus-inner,[type=\"submit\"].sc-ic-top-navigation::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-top-navigation:-moz-focusring,[type=\"button\"].sc-ic-top-navigation:-moz-focusring,[type=\"reset\"].sc-ic-top-navigation:-moz-focusring,[type=\"submit\"].sc-ic-top-navigation:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-top-navigation{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-top-navigation{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-top-navigation{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-top-navigation{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-top-navigation,[type=\"radio\"].sc-ic-top-navigation{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-top-navigation::-webkit-inner-spin-button,[type=\"number\"].sc-ic-top-navigation::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-top-navigation{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-top-navigation::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-top-navigation::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-top-navigation{display:block}/*!@summary*/summary.sc-ic-top-navigation{display:list-item}/*!@template*/template.sc-ic-top-navigation{display:none}/*!@[hidden]*/[hidden].sc-ic-top-navigation{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-top-navigation,body.sc-ic-top-navigation,div.sc-ic-top-navigation,span.sc-ic-top-navigation,applet.sc-ic-top-navigation,object.sc-ic-top-navigation,iframe.sc-ic-top-navigation,h1.sc-ic-top-navigation,h2.sc-ic-top-navigation,h3.sc-ic-top-navigation,h4.sc-ic-top-navigation,h5.sc-ic-top-navigation,h6.sc-ic-top-navigation,p.sc-ic-top-navigation,blockquote.sc-ic-top-navigation,pre.sc-ic-top-navigation,a.sc-ic-top-navigation,abbr.sc-ic-top-navigation,acronym.sc-ic-top-navigation,address.sc-ic-top-navigation,big.sc-ic-top-navigation,cite.sc-ic-top-navigation,code.sc-ic-top-navigation,del.sc-ic-top-navigation,dfn.sc-ic-top-navigation,em.sc-ic-top-navigation,img.sc-ic-top-navigation,ins.sc-ic-top-navigation,kbd.sc-ic-top-navigation,q.sc-ic-top-navigation,s.sc-ic-top-navigation,samp.sc-ic-top-navigation,small.sc-ic-top-navigation,strike.sc-ic-top-navigation,strong.sc-ic-top-navigation,sub.sc-ic-top-navigation,sup.sc-ic-top-navigation,tt.sc-ic-top-navigation,var.sc-ic-top-navigation,b.sc-ic-top-navigation,u.sc-ic-top-navigation,i.sc-ic-top-navigation,center.sc-ic-top-navigation,dl.sc-ic-top-navigation,dt.sc-ic-top-navigation,dd.sc-ic-top-navigation,ol.sc-ic-top-navigation,ul.sc-ic-top-navigation,li.sc-ic-top-navigation,fieldset.sc-ic-top-navigation,form.sc-ic-top-navigation,label.sc-ic-top-navigation,legend.sc-ic-top-navigation,table.sc-ic-top-navigation,caption.sc-ic-top-navigation,tbody.sc-ic-top-navigation,tfoot.sc-ic-top-navigation,thead.sc-ic-top-navigation,tr.sc-ic-top-navigation,th.sc-ic-top-navigation,td.sc-ic-top-navigation,article.sc-ic-top-navigation,aside.sc-ic-top-navigation,canvas.sc-ic-top-navigation,details.sc-ic-top-navigation,embed.sc-ic-top-navigation,figure.sc-ic-top-navigation,figcaption.sc-ic-top-navigation,footer.sc-ic-top-navigation,header.sc-ic-top-navigation,hgroup.sc-ic-top-navigation,menu.sc-ic-top-navigation,nav.sc-ic-top-navigation,output.sc-ic-top-navigation,ruby.sc-ic-top-navigation,section.sc-ic-top-navigation,summary.sc-ic-top-navigation,time.sc-ic-top-navigation,mark.sc-ic-top-navigation,audio.sc-ic-top-navigation,video.sc-ic-top-navigation{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-top-navigation-h{display:block;color:var(--ic-top-navigation-text);width:100%;position:relative;--ic-typography-color:var(--ic-top-navigation-text);--ic-button-secondary-text-monochrome:var(--ic-brand-text-color);--ic-button-secondary-border-monochrome:var(--ic-brand-text-color)}/*!@:host(.dark)*/.dark.sc-ic-top-navigation-h{color:var(--ic-color-text-primary-light);--ic-typography-color:var(--ic-color-text-primary-light);--ic-top-navigation-logo:var(--ic-color-icon-neutral);--ic-top-navigation-icon:var(--ic-color-icon-neutral);--ic-top-navigation-theme:var(--ic-color-icon-neutral);--ic-top-navigation-status-tag:var(--ic-color-background-primary-dark);--ic-top-navigation-status-tag-text:var(--ic-color-brand-text);--ic-top-navigation-status-tag-secondary:var(--ic-state-layer-darken-10);--navigation-link-colour:var(--ic-color-text-primary-light)}/*!@:host ::slotted(ic-navigation-item)*/.sc-ic-top-navigation-h .sc-ic-top-navigation-s>ic-navigation-item{--navigation-link-colour:var(--ic-top-navigation-text)}/*!@:host(.dark) ::slotted(ic-navigation-button)*/.sc-ic-top-navigation-h.dark .sc-ic-top-navigation-s>ic-navigation-button{--ic-button-icon-monochrome:var(--ic-color-text-primary-light)}/*!@::slotted(ic-navigation-button)*/.sc-ic-top-navigation-s>ic-navigation-button{--ic-button-icon-monochrome:white}/*!@:host .top-navigation*/.sc-ic-top-navigation-h .top-navigation.sc-ic-top-navigation{background-color:var(--ic-top-navigation-background);height:-moz-max-content;height:max-content}/*!@:host(.fullwidth-searchbar) slot[name=\"search\"]::slotted(form)*/.sc-ic-top-navigation-h.fullwidth-searchbar slot[name=\"search\"].sc-ic-top-navigation-s>form{width:100%}/*!@:host .title-link*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation{display:inline-flex;align-items:center;text-decoration:none;padding:var(--ic-space-xxs);transition:var(--ic-easing-transition-fast)}/*!@:host .title-link,\n:host .title-link:visited,\n:host .title-link:active,\n:host .title-link ::slotted(a),\n:host .title-link:visited ::slotted(a),\n:host .title-link:active ::slotted(a)*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation,.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:visited,.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:active,.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link .sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link:visited.sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link:visited .sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link:active.sc-ic-top-navigation-s>a,.sc-ic-top-navigation-h .title-link:active .sc-ic-top-navigation-s>a{color:var(--ic-top-navigation-icon-and-label);text-decoration:none;outline:none}/*!@:host .title-link:hover:not(:focus)*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:hover:not(:focus){background-color:var(--ic-top-navigation-title-hover)}/*!@:host .title-link:active:not(:focus)*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:active:not(:focus){background-color:var(--ic-top-navigation-title-pressed)}/*!@:host .title-link:hover*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:hover{border-radius:var(--ic-border-radius)}/*!@:host .title-link:focus,\n:host .title-link:focus-within*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:focus,.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation:focus-within{border-radius:var(--ic-border-radius);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}/*!@:host .title-link ic-typography*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation ic-typography.sc-ic-top-navigation{font-weight:600}/*!@:host .nav-panel-container*/.sc-ic-top-navigation-h .nav-panel-container.sc-ic-top-navigation{border-top:var(--ic-space-1px) solid var(--ic-top-navigation-keyline);padding:0 var(--ic-space-lg);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin));display:flex}/*!@:host(.dark) .nav-panel-container*/.dark.sc-ic-top-navigation-h .nav-panel-container.sc-ic-top-navigation{border-top:var(--ic-border-keyline-darken)}/*!@.top-panel-container*/.top-panel-container.sc-ic-top-navigation{display:flex;padding-top:0.5rem;padding-bottom:0.5rem}/*!@.navigation-tabs*/.navigation-tabs.sc-ic-top-navigation{margin-top:calc(-1 * var(--ic-space-1px))}/*!@.app-details-container*/.app-details-container.sc-ic-top-navigation{display:flex;align-items:center;flex:1 1 auto;margin-right:var(--ic-space-md)}/*!@.app-icon-container*/.app-icon-container.sc-ic-top-navigation{display:flex;padding-right:var(--ic-space-xs)}/*!@.icon-buttons-container*/.icon-buttons-container.sc-ic-top-navigation{display:flex;margin-left:var(--ic-space-md)}/*!@.icon-buttons-container ::slotted(nav)*/.icon-buttons-container .sc-ic-top-navigation-s>nav{display:flex}/*!@.title-wrap*/.title-wrap.sc-ic-top-navigation{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}/*!@:host .app-status*/.sc-ic-top-navigation-h .app-status.sc-ic-top-navigation{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag);color:var(--ic-top-navigation-status-tag-text);--ic-typography-color:var(--ic-top-navigation-status-tag-text);padding:var(--ic-space-xxs) var(--ic-space-lg);margin-left:var(--ic-space-md);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}/*!@:host .app-version*/.sc-ic-top-navigation-h .app-version.sc-ic-top-navigation{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag-secondary);color:var(--ic-top-navigation-status-tag);padding:var(--ic-space-xxs) var(--ic-space-sm);margin-left:var(--ic-space-xs);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}/*!@slot[name=\"app-icon\"]::slotted(*)*/slot[name=\"app-icon\"].sc-ic-top-navigation-s>*{fill:var(--ic-top-navigation-logo);width:2em;height:2em}/*!@slot[name=\"toggle-icon\"] svg*/slot[name=\"toggle-icon\"].sc-ic-top-navigation svg.sc-ic-top-navigation{fill:var(--ic-top-navigation-icon)}/*!@.search-menu-container*/.search-menu-container.sc-ic-top-navigation{justify-content:right;display:flex;align-items:center}/*!@.menu-button-container*/.menu-button-container.sc-ic-top-navigation{margin-left:var(--ic-space-md)}/*!@.menu-button-container .navigation-landmark-button-text*/.menu-button-container.sc-ic-top-navigation .navigation-landmark-button-text.sc-ic-top-navigation{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}/*!@.search-actions-container*/.search-actions-container.sc-ic-top-navigation{display:flex}/*!@.menu-buttons-slot*/.menu-buttons-slot.sc-ic-top-navigation{display:flex;flex-direction:column}/*!@.navigation-landmark-text*/.navigation-landmark-text.sc-ic-top-navigation{position:absolute;width:var(--ic-space-1px);height:var(--ic-space-1px);padding:0;margin:calc(-1 * var(--ic-space-1px));overflow:hidden}/*!@.navigation-item-list*/.navigation-item-list.sc-ic-top-navigation{display:flex;list-style:none;height:2.75rem}/*!@.navigation-item-list::-webkit-scrollbar*/.navigation-item-list.sc-ic-top-navigation::-webkit-scrollbar{display:none}/*!@:host ic-section-container*/.sc-ic-top-navigation-h ic-section-container.sc-ic-top-navigation{padding-bottom:0 !important;padding-top:0 !important}@media screen and (min-width: 993px){/*!@.app-details-container*/.app-details-container.sc-ic-top-navigation{margin-right:var(--ic-space-lg)}}@media screen and (max-width: 1200px){/*!@:host .nav-panel-container*/.sc-ic-top-navigation-h .nav-panel-container.sc-ic-top-navigation{padding:0 var(--ic-space-md)}}/*!@:host(.mobile-mode) .app-status,\n:host(.mobile-mode) .app-version*/.mobile-mode.sc-ic-top-navigation-h .app-status.sc-ic-top-navigation,.mobile-mode.sc-ic-top-navigation-h .app-version.sc-ic-top-navigation{display:none}/*!@:host(.mobile-mode) .title-link*/.mobile-mode.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation{margin-right:var(--ic-space-xs)}/*!@:host(.mobile-mode) .search-menu-container*/.mobile-mode.sc-ic-top-navigation-h .search-menu-container.sc-ic-top-navigation{max-width:10rem}/*!@:host(.mobile-mode) .search-bar-container*/.mobile-mode.sc-ic-top-navigation-h .search-bar-container.sc-ic-top-navigation{display:flex;justify-content:center;align-items:center;border-top:var(--ic-border-keyline-darken);height:4rem;padding-left:var(--ic-space-md);padding-right:var(--ic-space-md);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin))}@media screen and (max-width: 576px){/*!@:host .title-link*/.sc-ic-top-navigation-h .title-link.sc-ic-top-navigation{margin-right:var(--ic-space-xxxs);word-break:break-word;-webkit-hyphens:none;hyphens:none}/*!@.top-panel-container*/.top-panel-container.sc-ic-top-navigation{min-height:2.5rem}/*!@.search-bar-container*/.search-bar-container.sc-ic-top-navigation{margin-top:0;height:3.5rem;padding-left:var(--ic-space-xs);padding-right:var(--ic-space-xs)}/*!@.menu-button-container*/.menu-button-container.sc-ic-top-navigation{margin-left:var(--ic-space-sm)}/*!@slot[name=\"app-icon\"]::slotted(*)*/slot[name=\"app-icon\"].sc-ic-top-navigation-s>*{width:1.5em;height:1.5em}/*!@slot[name=\"toggle-icon\"] svg*/slot[name=\"toggle-icon\"].sc-ic-top-navigation svg.sc-ic-top-navigation{width:1.5em;height:1.5em}}@media (forced-colors: active){/*!@:host .top-navigation*/.sc-ic-top-navigation-h .top-navigation.sc-ic-top-navigation{border-bottom:var(--ic-border-hc)}/*!@.app-status,\n .app-version*/.app-status.sc-ic-top-navigation,.app-version.sc-ic-top-navigation{border:var(--ic-border-hc)}/*!@slot[name=\"app-icon\"]::slotted(*)*/slot[name=\"app-icon\"].sc-ic-top-navigation-s>*{fill:currentcolor}/*!@slot[name=\"toggle-icon\"] svg*/slot[name=\"toggle-icon\"].sc-ic-top-navigation svg.sc-ic-top-navigation{fill:currentcolor}}";
|
25218
25589
|
|
25219
25590
|
/**
|
25220
25591
|
* @slot app-icon - Content will be rendered to left of app title. Anything that is slotted here will be hidden from screen readers.
|
@@ -25531,11 +25902,6 @@ class TreeItem {
|
|
25531
25902
|
}
|
25532
25903
|
}
|
25533
25904
|
};
|
25534
|
-
this.hostMutationCallback = (mutationList) => {
|
25535
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
25536
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, "icon")
|
25537
|
-
: false)) ;
|
25538
|
-
};
|
25539
25905
|
this.handleDisplayTooltip = (display) => {
|
25540
25906
|
const typographyEl = this.el.shadowRoot.querySelector(".tree-item-label");
|
25541
25907
|
const tooltip = typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.closest(this.TOOLTIP);
|
@@ -25586,7 +25952,7 @@ class TreeItem {
|
|
25586
25952
|
}, 100);
|
25587
25953
|
!isSlotUsed(this.el, "label") &&
|
25588
25954
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tree item");
|
25589
|
-
this.hostMutationObserver = new MutationObserver(
|
25955
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "icon"));
|
25590
25956
|
this.hostMutationObserver.observe(this.el, {
|
25591
25957
|
childList: true,
|
25592
25958
|
});
|
@@ -25832,11 +26198,6 @@ class TreeView {
|
|
25832
26198
|
}
|
25833
26199
|
}
|
25834
26200
|
};
|
25835
|
-
this.hostMutationCallback = (mutationList) => {
|
25836
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
25837
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, "icon")
|
25838
|
-
: false)) ;
|
25839
|
-
};
|
25840
26201
|
this.isHeadingDefined = () => isPropDefined(this.heading) && this.heading !== null;
|
25841
26202
|
this.hasHeadingAreaContent = () => {
|
25842
26203
|
return (isSlotUsed(this.el, "heading") ||
|
@@ -25888,7 +26249,7 @@ class TreeView {
|
|
25888
26249
|
this.truncateHeading && this.truncateTreeViewHeading();
|
25889
26250
|
}, 100);
|
25890
26251
|
this.addSlotChangeListener();
|
25891
|
-
this.hostMutationObserver = new MutationObserver(
|
26252
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "icon"));
|
25892
26253
|
this.hostMutationObserver.observe(this.el, {
|
25893
26254
|
childList: true,
|
25894
26255
|
});
|