@ukic/canary-web-components 3.0.0-canary.6 → 3.0.0-canary.8
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-4190b7f2.js} +24 -1
- package/dist/cjs/helpers-4190b7f2.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 +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +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 +214 -48
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +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 +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 +53 -39
- 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 +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +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 +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 +27 -11
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +51 -5
- 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 +249 -50
- 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 +213 -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-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 +22 -1
- 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-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-data-table.js +215 -48
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +1 -1
- package/dist/components/ic-date-picker.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-menu2.js +25 -12
- 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 +1 -1
- package/dist/components/ic-navigation-menu2.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-popover-menu.js +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 +45 -33
- 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-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 +31 -11
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +58 -12
- 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 +15 -3
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-83f39782.entry.js → p-01034ef4.entry.js} +2 -2
- package/dist/core/p-033f3971.entry.js +2 -0
- package/dist/core/p-033f3971.entry.js.map +1 -0
- package/dist/core/{p-3b84953c.entry.js → p-03d51c20.entry.js} +2 -2
- package/dist/core/{p-b7e5b682.entry.js → p-05890d1e.entry.js} +2 -2
- package/dist/core/{p-68eb216b.entry.js → p-07bcfaef.entry.js} +2 -2
- package/dist/core/{p-fafc157b.entry.js → p-0d918e59.entry.js} +2 -2
- package/dist/core/p-10640219.entry.js +2 -0
- package/dist/core/p-10640219.entry.js.map +1 -0
- package/dist/core/p-15e382a4.entry.js +2 -0
- package/dist/core/p-15e382a4.entry.js.map +1 -0
- package/dist/core/{p-06cda732.entry.js → p-16b64836.entry.js} +2 -2
- package/dist/core/p-186edbae.entry.js +2 -0
- package/dist/core/{p-29a86adf.entry.js.map → p-186edbae.entry.js.map} +1 -1
- package/dist/core/{p-1893f635.entry.js → p-1c94e08c.entry.js} +2 -2
- package/dist/core/p-1c94e08c.entry.js.map +1 -0
- package/dist/core/p-1d3f7a04.entry.js +2 -0
- package/dist/core/{p-670c10af.entry.js.map → p-1d3f7a04.entry.js.map} +1 -1
- package/dist/core/{p-eb6e3878.entry.js → p-22708591.entry.js} +2 -2
- package/dist/core/p-23afb7d0.entry.js +2 -0
- package/dist/core/p-23afb7d0.entry.js.map +1 -0
- package/dist/core/p-289fff24.entry.js +2 -0
- package/dist/core/{p-b1c68968.entry.js.map → p-289fff24.entry.js.map} +1 -1
- package/dist/core/{p-efd608ab.entry.js → p-2fd78585.entry.js} +2 -2
- package/dist/core/{p-92398f47.entry.js → p-345a88a7.entry.js} +2 -2
- package/dist/core/p-361da840.entry.js +2 -0
- package/dist/core/p-361da840.entry.js.map +1 -0
- package/dist/core/{p-21f6619f.entry.js → p-3f182d5d.entry.js} +2 -2
- package/dist/core/{p-35caddb3.entry.js → p-49bf3a47.entry.js} +2 -2
- package/dist/core/p-4abbdbbc.entry.js +2 -0
- package/dist/core/p-4abbdbbc.entry.js.map +1 -0
- package/dist/core/{p-7765a219.entry.js → p-5193184c.entry.js} +2 -2
- package/dist/core/{p-a0dfd2cf.entry.js → p-51fd68b7.entry.js} +2 -2
- package/dist/core/p-563392e4.entry.js +2 -0
- package/dist/core/p-563392e4.entry.js.map +1 -0
- package/dist/core/p-5a48839e.entry.js +2 -0
- package/dist/core/p-5a48839e.entry.js.map +1 -0
- package/dist/core/{p-3ae329ab.entry.js → p-5cbf0885.entry.js} +2 -2
- package/dist/core/{p-07881c14.entry.js → p-5dcee0aa.entry.js} +2 -2
- package/dist/core/{p-95d1c9e6.entry.js → p-646f21ff.entry.js} +2 -2
- package/dist/core/{p-5d749879.entry.js → p-74b676a6.entry.js} +2 -2
- package/dist/core/{p-8e300091.entry.js → p-74e63f4d.entry.js} +2 -2
- package/dist/core/{p-b9081a99.entry.js → p-77f26d29.entry.js} +2 -2
- package/dist/core/{p-1084a7f9.entry.js → p-792ec0a3.entry.js} +2 -2
- package/dist/core/{p-7a9de1bb.entry.js → p-79c8879c.entry.js} +2 -2
- package/dist/core/{p-3bc4bc81.entry.js → p-7d5a0251.entry.js} +2 -2
- package/dist/core/{p-3272931c.entry.js → p-7eef69d7.entry.js} +2 -2
- package/dist/core/{p-2664bfab.entry.js → p-8167f2e0.entry.js} +2 -2
- package/dist/core/p-8576281d.entry.js +2 -0
- package/dist/core/p-8576281d.entry.js.map +1 -0
- package/dist/core/{p-47f2f713.entry.js → p-87cd3985.entry.js} +2 -2
- package/dist/core/{p-2c38ff71.entry.js → p-8d3e250a.entry.js} +2 -2
- package/dist/core/{p-ccd141a9.entry.js → p-8eb30ebf.entry.js} +2 -2
- package/dist/core/{p-6a2ed698.entry.js → p-901879b8.entry.js} +2 -2
- package/dist/core/p-92bb5fe9.entry.js +2 -0
- package/dist/core/p-92bb5fe9.entry.js.map +1 -0
- package/dist/core/p-94efa0d2.entry.js +2 -0
- package/dist/core/p-94efa0d2.entry.js.map +1 -0
- package/dist/core/{p-b047cd84.entry.js → p-9f5071bd.entry.js} +2 -2
- package/dist/core/p-9f5071bd.entry.js.map +1 -0
- package/dist/core/p-a04712b9.js +2 -0
- package/dist/core/p-a04712b9.js.map +1 -0
- package/dist/core/{p-5284ccab.entry.js → p-a683fd94.entry.js} +2 -2
- package/dist/core/{p-2412ba0b.entry.js → p-b2a6f0dd.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-39190da3.entry.js → p-d0c7bc04.entry.js} +2 -2
- package/dist/core/{p-19f85b60.entry.js → p-d1b8e306.entry.js} +2 -2
- package/dist/core/{p-e0b556b4.entry.js → p-db924212.entry.js} +2 -2
- package/dist/core/p-dd5daf97.entry.js +2 -0
- package/dist/core/p-dd5daf97.entry.js.map +1 -0
- package/dist/core/{p-26a41692.entry.js → p-dedca102.entry.js} +2 -2
- package/dist/core/{p-f02d5539.entry.js → p-eb09d6af.entry.js} +2 -2
- package/dist/core/p-ee5388e6.entry.js +2 -0
- package/dist/core/{p-324be8cf.entry.js.map → p-ee5388e6.entry.js.map} +1 -1
- package/dist/core/{p-ca4bfffd.entry.js → p-f1fcc442.entry.js} +2 -2
- package/dist/core/{p-38aca488.entry.js → p-f3995b20.entry.js} +2 -2
- package/dist/core/p-fa002d21.js +2 -0
- package/dist/core/p-fa002d21.js.map +1 -0
- package/dist/core/{p-d5648fdc.entry.js → p-faae4ac4.entry.js} +2 -2
- 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-96838a0a.js} +23 -2
- package/dist/esm/helpers-96838a0a.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 +1 -1
- package/dist/esm/ic-button_3.entry.js +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 +214 -48
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +1 -1
- package/dist/esm/ic-date-picker.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +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 +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 +53 -39
- 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 +1 -1
- package/dist/esm/ic-radio-option.entry.js +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 +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 +27 -11
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +51 -5
- 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 +507 -228
- 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-1893f635.entry.js.map +0 -1
- package/dist/core/p-29a86adf.entry.js +0 -2
- package/dist/core/p-324be8cf.entry.js +0 -2
- 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-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-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-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-83f39782.entry.js.map → p-01034ef4.entry.js.map} +0 -0
- /package/dist/core/{p-3b84953c.entry.js.map → p-03d51c20.entry.js.map} +0 -0
- /package/dist/core/{p-b7e5b682.entry.js.map → p-05890d1e.entry.js.map} +0 -0
- /package/dist/core/{p-68eb216b.entry.js.map → p-07bcfaef.entry.js.map} +0 -0
- /package/dist/core/{p-fafc157b.entry.js.map → p-0d918e59.entry.js.map} +0 -0
- /package/dist/core/{p-06cda732.entry.js.map → p-16b64836.entry.js.map} +0 -0
- /package/dist/core/{p-eb6e3878.entry.js.map → p-22708591.entry.js.map} +0 -0
- /package/dist/core/{p-efd608ab.entry.js.map → p-2fd78585.entry.js.map} +0 -0
- /package/dist/core/{p-92398f47.entry.js.map → p-345a88a7.entry.js.map} +0 -0
- /package/dist/core/{p-21f6619f.entry.js.map → p-3f182d5d.entry.js.map} +0 -0
- /package/dist/core/{p-35caddb3.entry.js.map → p-49bf3a47.entry.js.map} +0 -0
- /package/dist/core/{p-7765a219.entry.js.map → p-5193184c.entry.js.map} +0 -0
- /package/dist/core/{p-a0dfd2cf.entry.js.map → p-51fd68b7.entry.js.map} +0 -0
- /package/dist/core/{p-3ae329ab.entry.js.map → p-5cbf0885.entry.js.map} +0 -0
- /package/dist/core/{p-07881c14.entry.js.map → p-5dcee0aa.entry.js.map} +0 -0
- /package/dist/core/{p-95d1c9e6.entry.js.map → p-646f21ff.entry.js.map} +0 -0
- /package/dist/core/{p-5d749879.entry.js.map → p-74b676a6.entry.js.map} +0 -0
- /package/dist/core/{p-8e300091.entry.js.map → p-74e63f4d.entry.js.map} +0 -0
- /package/dist/core/{p-b9081a99.entry.js.map → p-77f26d29.entry.js.map} +0 -0
- /package/dist/core/{p-1084a7f9.entry.js.map → p-792ec0a3.entry.js.map} +0 -0
- /package/dist/core/{p-7a9de1bb.entry.js.map → p-79c8879c.entry.js.map} +0 -0
- /package/dist/core/{p-3bc4bc81.entry.js.map → p-7d5a0251.entry.js.map} +0 -0
- /package/dist/core/{p-3272931c.entry.js.map → p-7eef69d7.entry.js.map} +0 -0
- /package/dist/core/{p-2664bfab.entry.js.map → p-8167f2e0.entry.js.map} +0 -0
- /package/dist/core/{p-47f2f713.entry.js.map → p-87cd3985.entry.js.map} +0 -0
- /package/dist/core/{p-2c38ff71.entry.js.map → p-8d3e250a.entry.js.map} +0 -0
- /package/dist/core/{p-ccd141a9.entry.js.map → p-8eb30ebf.entry.js.map} +0 -0
- /package/dist/core/{p-6a2ed698.entry.js.map → p-901879b8.entry.js.map} +0 -0
- /package/dist/core/{p-5284ccab.entry.js.map → p-a683fd94.entry.js.map} +0 -0
- /package/dist/core/{p-2412ba0b.entry.js.map → p-b2a6f0dd.entry.js.map} +0 -0
- /package/dist/core/{p-39190da3.entry.js.map → p-d0c7bc04.entry.js.map} +0 -0
- /package/dist/core/{p-19f85b60.entry.js.map → p-d1b8e306.entry.js.map} +0 -0
- /package/dist/core/{p-e0b556b4.entry.js.map → p-db924212.entry.js.map} +0 -0
- /package/dist/core/{p-26a41692.entry.js.map → p-dedca102.entry.js.map} +0 -0
- /package/dist/core/{p-f02d5539.entry.js.map → p-eb09d6af.entry.js.map} +0 -0
- /package/dist/core/{p-ca4bfffd.entry.js.map → p-f1fcc442.entry.js.map} +0 -0
- /package/dist/core/{p-38aca488.entry.js.map → p-f3995b20.entry.js.map} +0 -0
- /package/dist/core/{p-d5648fdc.entry.js.map → p-faae4ac4.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,
|
@@ -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
|
});
|
@@ -9458,6 +9470,13 @@ class Button {
|
|
9458
9470
|
}; }
|
9459
9471
|
}
|
9460
9472
|
|
9473
|
+
const IC_DEVICE_SIZES = {
|
9474
|
+
XS: 576,
|
9475
|
+
S: 768,
|
9476
|
+
M: 992,
|
9477
|
+
L: 1200,
|
9478
|
+
XL: 99999,
|
9479
|
+
};
|
9461
9480
|
const IC_BLOCK_COLOR_COMPONENTS = [
|
9462
9481
|
"ic-hero",
|
9463
9482
|
"ic-top-navigation",
|
@@ -9620,6 +9639,7 @@ const getBrandFromContext = (el, brandFromEvent = null) => {
|
|
9620
9639
|
const isEmptyString = (value) => value ? value.trim().length === 0 : true;
|
9621
9640
|
// A helper function that checks if a prop has been defined
|
9622
9641
|
const isPropDefined = (prop) => prop !== undefined ? prop : null;
|
9642
|
+
const deviceSizeMatches = (size) => window.matchMedia(`(max-width: ${size}px)`).matches;
|
9623
9643
|
const getCssProperty = (cssVar) => getComputedStyle(document.documentElement).getPropertyValue(cssVar);
|
9624
9644
|
const getSlotElements = (slot) => {
|
9625
9645
|
const slotContent = slot.firstElementChild;
|
@@ -9698,7 +9718,9 @@ const capitalize = (text) => {
|
|
9698
9718
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
9699
9719
|
};
|
9700
9720
|
const checkSlotInChildMutations = (addedNodes, removedNodes, slotName) => {
|
9701
|
-
const hasSlot = (nodeList) => Array.from(nodeList).some((node) =>
|
9721
|
+
const hasSlot = (nodeList) => Array.from(nodeList).some((node) => Array.isArray(slotName)
|
9722
|
+
? slotName.some((name) => node.slot === name)
|
9723
|
+
: node.slot === slotName);
|
9702
9724
|
return hasSlot(addedNodes) || hasSlot(removedNodes);
|
9703
9725
|
};
|
9704
9726
|
const addDataToPosition = (dataObject, newKeys, newValue) => {
|
@@ -9717,6 +9739,12 @@ const addDataToPosition = (dataObject, newKeys, newValue) => {
|
|
9717
9739
|
}
|
9718
9740
|
return newData;
|
9719
9741
|
};
|
9742
|
+
const hasDynamicChildSlots = (mutationList, slotNames) => mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
9743
|
+
? checkSlotInChildMutations(addedNodes, removedNodes, slotNames)
|
9744
|
+
: false);
|
9745
|
+
const renderDynamicChildSlots = (mutationList, slotNames, ref) => {
|
9746
|
+
if (hasDynamicChildSlots(mutationList, slotNames)) ;
|
9747
|
+
};
|
9720
9748
|
|
9721
9749
|
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
9750
|
|
@@ -9731,10 +9759,6 @@ class Card {
|
|
9731
9759
|
constructor(hostRef) {
|
9732
9760
|
registerInstance(this, hostRef);
|
9733
9761
|
this.hostMutationObserver = null;
|
9734
|
-
this.hostMutationCallback = (mutationList) => {
|
9735
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList" &&
|
9736
|
-
checkSlotInChildMutations(addedNodes, removedNodes, "image"))) ;
|
9737
|
-
};
|
9738
9762
|
this.parentFocussed = () => {
|
9739
9763
|
this.isFocussed = true;
|
9740
9764
|
};
|
@@ -9783,7 +9807,7 @@ class Card {
|
|
9783
9807
|
!isSlotUsed(this.el, "heading") &&
|
9784
9808
|
onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Card");
|
9785
9809
|
this.updateTheme();
|
9786
|
-
this.hostMutationObserver = new MutationObserver(
|
9810
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "image"));
|
9787
9811
|
this.hostMutationObserver.observe(this.el, {
|
9788
9812
|
childList: true,
|
9789
9813
|
});
|
@@ -9901,21 +9925,6 @@ class CardVertical {
|
|
9901
9925
|
this.toggleExpanded = () => {
|
9902
9926
|
this.areaExpanded = !this.areaExpanded;
|
9903
9927
|
};
|
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
9928
|
this.areaExpanded = false;
|
9920
9929
|
this.isFocussed = false;
|
9921
9930
|
this.monochrome = false;
|
@@ -9961,7 +9970,17 @@ class CardVertical {
|
|
9961
9970
|
!isSlotUsed$1(this.el, "heading") &&
|
9962
9971
|
onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Card");
|
9963
9972
|
this.updateTheme();
|
9964
|
-
this.hostMutationObserver = new MutationObserver(
|
9973
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, [
|
9974
|
+
"message",
|
9975
|
+
"adornment",
|
9976
|
+
"expanded-content",
|
9977
|
+
"image-top",
|
9978
|
+
"image-mid",
|
9979
|
+
"icon",
|
9980
|
+
"interaction-button",
|
9981
|
+
"badge",
|
9982
|
+
"interaction-controls",
|
9983
|
+
]));
|
9965
9984
|
this.hostMutationObserver.observe(this.el, {
|
9966
9985
|
childList: true,
|
9967
9986
|
});
|
@@ -10628,7 +10647,7 @@ var descendingIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24
|
|
10628
10647
|
<path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"></path>
|
10629
10648
|
</svg>`;
|
10630
10649
|
|
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}}";
|
10650
|
+
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
10651
|
|
10633
10652
|
/**
|
10634
10653
|
* @slot empty-state - Content is slotted below the table header when there is no data and the table is not loading.
|
@@ -10641,6 +10660,7 @@ class DataTable {
|
|
10641
10660
|
constructor(hostRef) {
|
10642
10661
|
registerInstance(this, hostRef);
|
10643
10662
|
this.icRowHeightChange = createEvent(this, "icRowHeightChange", 7);
|
10663
|
+
this.icSelectedRowChange = createEvent(this, "icSelectedRowChange", 7);
|
10644
10664
|
this.icSortChange = createEvent(this, "icSortChange", 7);
|
10645
10665
|
this.DENSITY_HEIGHT_MULTIPLIER = {
|
10646
10666
|
dense: 0.8,
|
@@ -10672,6 +10692,7 @@ class DataTable {
|
|
10672
10692
|
this.itemsPerPageChange = false;
|
10673
10693
|
this.DATA_ROW_HEIGHT_STRING = "data-row-height";
|
10674
10694
|
this.ROW_HEIGHT_CSS_VARIABLE = "--row-height";
|
10695
|
+
this.LINE_CLAMP_CSS_VARIABLE = "--ic-line-clamp";
|
10675
10696
|
this.DEFAULT_LINE_HEIGHT = 24;
|
10676
10697
|
this.densityUpdate = false;
|
10677
10698
|
this.truncationPatternUpdated = false;
|
@@ -10679,6 +10700,10 @@ class DataTable {
|
|
10679
10700
|
this.headerResizeObserver = null;
|
10680
10701
|
this.IC_TOOLTIP_STRING = "ic-tooltip";
|
10681
10702
|
this.SHOW_TRUNC_TOOLTIP_STRING = "show-trunc-tooltip";
|
10703
|
+
this.CELL_DESCRIPTION_STRING = ".cell-description";
|
10704
|
+
this.CELL_CONTAINER_WITH_DESCRIPTION_STRING = "cell-container-with-description";
|
10705
|
+
this.CELL_TEXT_WRAPPER_STRING = ".cell-text-wrapper";
|
10706
|
+
this.IC_TYPOGRAPHY_STRING = "ic-typography";
|
10682
10707
|
this.runHeaderResizeObserver = () => {
|
10683
10708
|
this.headerResizeObserver = new ResizeObserver(() => {
|
10684
10709
|
this.headerResizeCallback();
|
@@ -10692,7 +10717,7 @@ class DataTable {
|
|
10692
10717
|
const headers = this.el.shadowRoot.querySelectorAll("th.column-header");
|
10693
10718
|
headers.forEach((header) => {
|
10694
10719
|
const tooltip = header.querySelector(this.IC_TOOLTIP_STRING);
|
10695
|
-
const typographyEls = header.querySelectorAll(
|
10720
|
+
const typographyEls = header.querySelectorAll(this.IC_TYPOGRAPHY_STRING);
|
10696
10721
|
if (tooltip && typographyEls && typographyEls.length === 2) {
|
10697
10722
|
tooltip.classList.remove(this.SHOW_TRUNC_TOOLTIP_STRING);
|
10698
10723
|
if (typographyEls[1].clientWidth > typographyEls[0].clientWidth) {
|
@@ -10760,8 +10785,9 @@ class DataTable {
|
|
10760
10785
|
}
|
10761
10786
|
else {
|
10762
10787
|
if (this.truncationPattern === this.TOOLTIP_STRING && tooltip) {
|
10763
|
-
typographyEl.setAttribute("style",
|
10764
|
-
cellContainer.
|
10788
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: 0`);
|
10789
|
+
const cellTextWrapper = cellContainer.querySelector(this.CELL_TEXT_WRAPPER_STRING);
|
10790
|
+
cellTextWrapper.prepend(typographyEl);
|
10765
10791
|
tooltip.remove();
|
10766
10792
|
}
|
10767
10793
|
if (this.truncationPattern === this.SHOW_HIDE_STRING &&
|
@@ -10913,11 +10939,11 @@ class DataTable {
|
|
10913
10939
|
});
|
10914
10940
|
};
|
10915
10941
|
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;
|
10942
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
10917
10943
|
return (hAsync("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
|
10918
10944
|
!isSlotUsed(this.el, cellSlotName)
|
10919
10945
|
? 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) ||
|
10946
|
+
: 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
10947
|
((_b = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
|
10922
10948
|
rowAlignment ||
|
10923
10949
|
this.getCellAlignment(cell, "vertical")}`]: !!((_c = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
|
@@ -10933,13 +10959,25 @@ class DataTable {
|
|
10933
10959
|
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
10934
10960
|
rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
10935
10961
|
!!(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
|
10962
|
+
!!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
10963
|
? this.setRowHeight(currentRowHeight)
|
10938
10964
|
: 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
10965
|
(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("
|
10966
|
+
!isSlotUsed(this.el, cellSlotName) && (hAsync("div", { class: {
|
10967
|
+
"cell-text-wrapper": true,
|
10968
|
+
"cell-text-no-wrap": !this.truncationPattern,
|
10969
|
+
} }, hAsync("ic-typography", { variant: "body", class: {
|
10970
|
+
[`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
10971
|
+
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
10972
|
+
rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
10973
|
+
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
10974
|
+
!!rowEmphasis,
|
10941
10975
|
[`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))))
|
10976
|
+
} }, 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) &&
|
10977
|
+
Object.keys(cell).includes("description") && (hAsync("div", { class: {
|
10978
|
+
["cell-description"]: true,
|
10979
|
+
[`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
|
10980
|
+
} }, ((_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
10981
|
};
|
10944
10982
|
this.createCells = (row, rowIndex) => {
|
10945
10983
|
var _a;
|
@@ -10975,11 +11013,15 @@ class DataTable {
|
|
10975
11013
|
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
10976
11014
|
["with-overflow"]: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element",
|
10977
11015
|
}, 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")
|
11016
|
+
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"),
|
11017
|
+
// eslint-disable-next-line react/jsx-no-bind
|
11018
|
+
onClick: cell.actionOnClick
|
11019
|
+
? () => this.handleClick(cell.actionOnClick)
|
11020
|
+
: undefined }))) : (this.createCellContent(columnProps, cell, cellSlotName, rowOptions, rowAlignment, hasIcon, currentRowHeight, cellValue, rowEmphasis))));
|
10979
11021
|
}
|
10980
11022
|
});
|
10981
11023
|
};
|
10982
|
-
this.createColumnHeaders = () => this.columns.map(({ cellAlignment, colspan, icon, key, title, columnWidth }, index) => (hAsync("th", { scope: "col", class: {
|
11024
|
+
this.createColumnHeaders = () => (this.columns || []).map(({ cellAlignment, colspan, icon, key, title, columnWidth }, index) => (hAsync("th", { scope: "col", class: {
|
10983
11025
|
["column-header"]: true,
|
10984
11026
|
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
10985
11027
|
["updating-state-headers"]: this.updating && !this.loading,
|
@@ -11008,6 +11050,9 @@ class DataTable {
|
|
11008
11050
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
11009
11051
|
} }, title)))));
|
11010
11052
|
this.onRowClick = (row) => {
|
11053
|
+
if (!this.loading && !this.updating) {
|
11054
|
+
this.icSelectedRowChange.emit(this.selectedRow !== row ? row : null);
|
11055
|
+
}
|
11011
11056
|
this.selectedRow =
|
11012
11057
|
this.selectedRow !== row && !this.loading && !this.updating && row;
|
11013
11058
|
};
|
@@ -11038,7 +11083,7 @@ class DataTable {
|
|
11038
11083
|
// eslint-disable-next-line react/jsx-no-bind
|
11039
11084
|
onClick: () => this.onRowClick(row), class: {
|
11040
11085
|
["table-row"]: true,
|
11041
|
-
["table-row-selected"]: this.selectedRow === row,
|
11086
|
+
["table-row-selected"]: this.highlightSelectedRow && this.selectedRow === row,
|
11042
11087
|
}
|
11043
11088
|
}, this.createCells(row, index)));
|
11044
11089
|
});
|
@@ -11108,7 +11153,8 @@ class DataTable {
|
|
11108
11153
|
});
|
11109
11154
|
};
|
11110
11155
|
this.getTypographyElements = () => {
|
11111
|
-
|
11156
|
+
// Filter out column headers and cell descriptions
|
11157
|
+
return Array.from(this.el.shadowRoot.querySelectorAll("ic-typography:not(.column-header-text,.cell-description-text)"));
|
11112
11158
|
};
|
11113
11159
|
this.getTooltip = (typographyEl) => {
|
11114
11160
|
return typographyEl.closest(this.TOOLTIP);
|
@@ -11119,7 +11165,7 @@ class DataTable {
|
|
11119
11165
|
const cellContainer = this.getCellContainer(typographyEl);
|
11120
11166
|
if (typographyEl.closest(this.TEXT_WRAP_CLASS)) {
|
11121
11167
|
this.removeTooltip(cellContainer, typographyEl, tooltip);
|
11122
|
-
typographyEl.setAttribute("style",
|
11168
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: 0`);
|
11123
11169
|
return;
|
11124
11170
|
}
|
11125
11171
|
this.regenerateTooltip(cellContainer, typographyEl, tooltip, removeTooltipOnly);
|
@@ -11128,6 +11174,56 @@ class DataTable {
|
|
11128
11174
|
this.updateScrollOffset = () => {
|
11129
11175
|
this.scrollOffset = this.el.shadowRoot.querySelector(".table-row-container").scrollTop;
|
11130
11176
|
};
|
11177
|
+
this.updateRowHeightForDescriptions = (rowHeight, cellContainer) => {
|
11178
|
+
cellContainer.setAttribute("data-row-height", rowHeight.toString());
|
11179
|
+
cellContainer.setAttribute("style", `${this.ROW_HEIGHT_CSS_VARIABLE}: ${rowHeight}px`);
|
11180
|
+
};
|
11181
|
+
// Method to update the row heights on cells with descriptions and tooltip truncation
|
11182
|
+
this.updateCellHeightsWithDescriptions = () => {
|
11183
|
+
const descriptions = this.el.shadowRoot.querySelectorAll(this.CELL_DESCRIPTION_STRING);
|
11184
|
+
descriptions.forEach((description) => {
|
11185
|
+
const cellContainer = description.closest(`.${this.CELL_CONTAINER_WITH_DESCRIPTION_STRING}`);
|
11186
|
+
const typography = cellContainer.querySelector(this.IC_TYPOGRAPHY_STRING);
|
11187
|
+
const descriptionMarginTop = window
|
11188
|
+
.getComputedStyle(description)
|
11189
|
+
.getPropertyValue("margin-top");
|
11190
|
+
const descriptionHeight = description.clientHeight + parseInt(descriptionMarginTop, 10);
|
11191
|
+
if (this.globalRowHeight && this.globalRowHeight !== "auto") {
|
11192
|
+
if (!typography.textContent &&
|
11193
|
+
descriptionHeight + this.DEFAULT_LINE_HEIGHT > this.globalRowHeight) {
|
11194
|
+
this.updateRowHeightForDescriptions(descriptionHeight, cellContainer);
|
11195
|
+
}
|
11196
|
+
else if (this.truncationPattern === this.TOOLTIP_STRING) {
|
11197
|
+
if (descriptionHeight + this.DEFAULT_LINE_HEIGHT >
|
11198
|
+
this.globalRowHeight) {
|
11199
|
+
const cellIcon = cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.querySelector(".icon");
|
11200
|
+
if (deviceSizeMatches(IC_DEVICE_SIZES.XS) && cellIcon) {
|
11201
|
+
// recalculate descriptionHeight as when a word break occurs this value changes
|
11202
|
+
// Additional spacing given for 300-400% zoom
|
11203
|
+
this.updateRowHeightForDescriptions(descriptionHeight +
|
11204
|
+
this.DEFAULT_LINE_HEIGHT +
|
11205
|
+
cellIcon.clientHeight, cellContainer);
|
11206
|
+
}
|
11207
|
+
else {
|
11208
|
+
this.updateRowHeightForDescriptions(descriptionHeight + this.DEFAULT_LINE_HEIGHT, cellContainer);
|
11209
|
+
}
|
11210
|
+
}
|
11211
|
+
this.addLineClampCSS(typography, cellContainer);
|
11212
|
+
// Additional case for show/hide truncation for when a description is present, but the text
|
11213
|
+
// isn't overflowing the cell to trigger the show more button to appear.
|
11214
|
+
}
|
11215
|
+
else if (this.truncationPattern === this.SHOW_HIDE_STRING &&
|
11216
|
+
descriptionHeight + this.DEFAULT_LINE_HEIGHT > this.globalRowHeight &&
|
11217
|
+
typography.style.getPropertyValue("--truncation-max-lines") !==
|
11218
|
+
"initial") {
|
11219
|
+
this.updateRowHeightForDescriptions(descriptionHeight + this.DEFAULT_LINE_HEIGHT, cellContainer);
|
11220
|
+
if (descriptionHeight) {
|
11221
|
+
this.createShowHideTruncation(typography, cellContainer, descriptionHeight);
|
11222
|
+
}
|
11223
|
+
}
|
11224
|
+
}
|
11225
|
+
});
|
11226
|
+
};
|
11131
11227
|
this.setTableDimensions = () => {
|
11132
11228
|
let tableHostDimensions = {};
|
11133
11229
|
if (this.width) {
|
@@ -11144,22 +11240,79 @@ class DataTable {
|
|
11144
11240
|
}
|
11145
11241
|
return tableHostDimensions;
|
11146
11242
|
};
|
11243
|
+
this.fixCellTooltip = (element) => {
|
11244
|
+
var _a;
|
11245
|
+
const tooltipEl = (element.tagName === "IC-TOOLTIP"
|
11246
|
+
? element
|
11247
|
+
: (_a = element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(this.IC_TOOLTIP_STRING));
|
11248
|
+
if (tooltipEl) {
|
11249
|
+
tooltipEl.setExternalPopperProps({
|
11250
|
+
strategy: "fixed",
|
11251
|
+
});
|
11252
|
+
}
|
11253
|
+
};
|
11147
11254
|
this.fixCellTooltips = () => {
|
11148
11255
|
const elements = this.el.shadowRoot.querySelectorAll(".data-type-element");
|
11149
11256
|
elements.forEach((element) => {
|
11150
11257
|
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
|
-
}
|
11258
|
+
slotElements === null || slotElements === void 0 ? void 0 : slotElements.forEach((slottedEl) => {
|
11259
|
+
this.fixCellTooltip(slottedEl);
|
11161
11260
|
});
|
11162
11261
|
});
|
11262
|
+
const actionElements = this.el.shadowRoot.querySelectorAll(".action-element");
|
11263
|
+
actionElements === null || actionElements === void 0 ? void 0 : actionElements.forEach((actionElementSpan) => {
|
11264
|
+
const actionElement = actionElementSpan.firstChild;
|
11265
|
+
if (actionElement) {
|
11266
|
+
this.fixCellTooltip(actionElement);
|
11267
|
+
}
|
11268
|
+
});
|
11269
|
+
};
|
11270
|
+
this.handleClick = (callback) => callback();
|
11271
|
+
this.renderTableBody = (data, loading, overlay) => {
|
11272
|
+
if (!(data === null || data === void 0 ? void 0 : data.length))
|
11273
|
+
return;
|
11274
|
+
if (overlay && loading) {
|
11275
|
+
return hAsync("tbody", null, this.createRows());
|
11276
|
+
}
|
11277
|
+
else if (loading && !overlay) {
|
11278
|
+
return null;
|
11279
|
+
}
|
11280
|
+
else {
|
11281
|
+
return hAsync("tbody", null, this.createRows());
|
11282
|
+
}
|
11283
|
+
};
|
11284
|
+
this.renderLoadingIndicator = (isLoading, loadingOptions) => {
|
11285
|
+
if (!isLoading)
|
11286
|
+
return null;
|
11287
|
+
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: {
|
11288
|
+
"loading-empty": isLoading,
|
11289
|
+
loading: true,
|
11290
|
+
"show-background": loadingOptions.showBackground || loadingOptions.overlay,
|
11291
|
+
}, 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) })));
|
11292
|
+
};
|
11293
|
+
this.renderAriaLiveLoading = () => {
|
11294
|
+
var _a, _b;
|
11295
|
+
if (this.loading) {
|
11296
|
+
return ((_a = this.loadingOptions) === null || _a === void 0 ? void 0 : _a.label) || "Loading...";
|
11297
|
+
}
|
11298
|
+
else if (this.updating) {
|
11299
|
+
return ((_b = this.updatingOptions) === null || _b === void 0 ? void 0 : _b.description) || "Updating table data";
|
11300
|
+
}
|
11301
|
+
else {
|
11302
|
+
return "";
|
11303
|
+
}
|
11304
|
+
};
|
11305
|
+
this.renderEmptyState = (data, loading, overlay) => {
|
11306
|
+
const emptyStateEl = isSlotUsed(this.el, "empty-state") ? (hAsync("slot", { name: "empty-state" })) : (hAsync("ic-empty-state", { aligned: "center", heading: "No Data", class: "loading-empty" }));
|
11307
|
+
if (loading && !(data === null || data === void 0 ? void 0 : data.length) && overlay) {
|
11308
|
+
return emptyStateEl;
|
11309
|
+
}
|
11310
|
+
else if (!loading && !(data === null || data === void 0 ? void 0 : data.length)) {
|
11311
|
+
return emptyStateEl;
|
11312
|
+
}
|
11313
|
+
else {
|
11314
|
+
return null;
|
11315
|
+
}
|
11163
11316
|
};
|
11164
11317
|
this.fromRow = 0;
|
11165
11318
|
this.previousRowsPerPage = undefined;
|
@@ -11180,6 +11333,7 @@ class DataTable {
|
|
11180
11333
|
this.embedded = false;
|
11181
11334
|
this.globalRowHeight = "auto";
|
11182
11335
|
this.height = undefined;
|
11336
|
+
this.highlightSelectedRow = true;
|
11183
11337
|
this.hideColumnHeaders = false;
|
11184
11338
|
this.loading = false;
|
11185
11339
|
this.loadingOptions = undefined;
|
@@ -11202,6 +11356,7 @@ class DataTable {
|
|
11202
11356
|
hideRangeLabel: false,
|
11203
11357
|
hideAllFromItemsPerPage: false,
|
11204
11358
|
monochrome: false,
|
11359
|
+
setToFirstPageOnPaginationChange: false,
|
11205
11360
|
};
|
11206
11361
|
this.showPagination = false;
|
11207
11362
|
this.sortable = false;
|
@@ -11239,13 +11394,13 @@ class DataTable {
|
|
11239
11394
|
(_b = this.headerResizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
11240
11395
|
}
|
11241
11396
|
componentWillLoad() {
|
11242
|
-
var _a;
|
11397
|
+
var _a, _b;
|
11243
11398
|
this.rowsPerPage = Number(this.paginationBarOptions.itemsPerPageOptions[0].value);
|
11244
11399
|
this.previousRowsPerPage = this.rowsPerPage;
|
11245
11400
|
this.toRow = this.rowsPerPage;
|
11246
11401
|
this.sortedColumn = this.sortOptions.defaultColumn;
|
11247
11402
|
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 });
|
11403
|
+
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
11404
|
this.initialLoad = true;
|
11250
11405
|
this.previousItemsPerPage = this.rowsPerPage;
|
11251
11406
|
}
|
@@ -11276,6 +11431,7 @@ class DataTable {
|
|
11276
11431
|
if (this.globalRowHeight !== "auto") {
|
11277
11432
|
this.updateSetRowHeight();
|
11278
11433
|
}
|
11434
|
+
window.addEventListener("resize", this.updateCellHeightsWithDescriptions);
|
11279
11435
|
}
|
11280
11436
|
componentDidUpdate() {
|
11281
11437
|
// truncation updates invoked here once new/updated data has
|
@@ -11287,6 +11443,7 @@ class DataTable {
|
|
11287
11443
|
}
|
11288
11444
|
componentDidRender() {
|
11289
11445
|
this.fixCellTooltips();
|
11446
|
+
this.updateCellHeightsWithDescriptions();
|
11290
11447
|
this.adjustWidthForActionElement();
|
11291
11448
|
}
|
11292
11449
|
truncateUpdatedData() {
|
@@ -11345,7 +11502,7 @@ class DataTable {
|
|
11345
11502
|
cellContainer.style.height = null;
|
11346
11503
|
if (this.truncationPattern === this.TOOLTIP_STRING) {
|
11347
11504
|
this.removeTooltip(cellContainer, typographyEl, tooltipEl);
|
11348
|
-
typographyEl.setAttribute("style",
|
11505
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: 0`);
|
11349
11506
|
}
|
11350
11507
|
else if (this.truncationPattern === this.SHOW_HIDE_STRING) {
|
11351
11508
|
this.resetShowHideTruncation(typographyEl);
|
@@ -11356,7 +11513,8 @@ class DataTable {
|
|
11356
11513
|
parseFloat(cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
|
11357
11514
|
// If the set row height is bigger than the cell container even
|
11358
11515
|
// with textWrap, set the row height
|
11359
|
-
if (!
|
11516
|
+
if (!cellContainer.classList.contains(this.CELL_CONTAINER_WITH_DESCRIPTION_STRING) &&
|
11517
|
+
!((_a = cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.style) === null || _a === void 0 ? void 0 : _a.height) &&
|
11360
11518
|
rowHeight > cellContainer.clientHeight &&
|
11361
11519
|
!cellContainer.classList.contains(this.TEXT_WRAP_STRING)) {
|
11362
11520
|
cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
|
@@ -11389,7 +11547,7 @@ class DataTable {
|
|
11389
11547
|
const newRows = Array.from(allRows).slice(this.previousItemsPerPage);
|
11390
11548
|
newRows.forEach((row) => {
|
11391
11549
|
row
|
11392
|
-
.querySelectorAll(
|
11550
|
+
.querySelectorAll(this.IC_TYPOGRAPHY_STRING)
|
11393
11551
|
.forEach((typographyEl) => {
|
11394
11552
|
const cellContainer = this.getCellContainer(typographyEl);
|
11395
11553
|
const tooltipEl = this.getTooltip(typographyEl);
|
@@ -11451,9 +11609,17 @@ class DataTable {
|
|
11451
11609
|
}
|
11452
11610
|
}
|
11453
11611
|
}
|
11454
|
-
createShowHideTruncation(typographyEl, cellContainer) {
|
11612
|
+
createShowHideTruncation(typographyEl, cellContainer, descriptionHeight) {
|
11455
11613
|
typographyEl.checkMaxLines(typographyEl.scrollHeight);
|
11456
11614
|
typographyEl.setAttribute("max-lines", `${Math.floor((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) / this.DEFAULT_LINE_HEIGHT)}`);
|
11615
|
+
if (cellContainer.classList.contains(this.CELL_CONTAINER_WITH_DESCRIPTION_STRING) &&
|
11616
|
+
descriptionHeight) {
|
11617
|
+
typographyEl.setAttribute("max-lines", `${Math.floor(((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) - descriptionHeight) /
|
11618
|
+
this.DEFAULT_LINE_HEIGHT)}`);
|
11619
|
+
}
|
11620
|
+
else {
|
11621
|
+
typographyEl.setAttribute("max-lines", `${Math.floor((cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) / this.DEFAULT_LINE_HEIGHT)}`);
|
11622
|
+
}
|
11457
11623
|
typographyEl.setShowHideExpanded(false);
|
11458
11624
|
cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, null);
|
11459
11625
|
}
|
@@ -11560,7 +11726,8 @@ class DataTable {
|
|
11560
11726
|
this.truncationPatternUpdated = true;
|
11561
11727
|
}
|
11562
11728
|
async dataHandler(newData) {
|
11563
|
-
|
11729
|
+
var _a;
|
11730
|
+
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
11731
|
if (this.loading) {
|
11565
11732
|
!this.hasLoadedForOneSecond
|
11566
11733
|
? setTimeout(() => (this.loading = false), this.minimumLoadingDisplayDuration -
|
@@ -11587,7 +11754,7 @@ class DataTable {
|
|
11587
11754
|
typographyEl.setShowHideExpanded(false);
|
11588
11755
|
cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, null);
|
11589
11756
|
}
|
11590
|
-
else {
|
11757
|
+
else if (!cellContainer.classList.contains(this.CELL_CONTAINER_WITH_DESCRIPTION_STRING)) {
|
11591
11758
|
typographyEl.resetTruncation().then(() => {
|
11592
11759
|
if (!typographyEl.closest(this.TEXT_WRAP_CLASS)) {
|
11593
11760
|
cellContainer.style.setProperty(this.ROW_HEIGHT_CSS_VARIABLE, cellContainer.getAttribute(this.DATA_ROW_HEIGHT_STRING));
|
@@ -11623,8 +11790,11 @@ class DataTable {
|
|
11623
11790
|
this.variableRowHeight = null;
|
11624
11791
|
}
|
11625
11792
|
showLoadingIndicator() {
|
11626
|
-
var _a;
|
11627
|
-
(_a = this.
|
11793
|
+
var _a, _b, _c;
|
11794
|
+
if ((_a = this.loadingOptions) === null || _a === void 0 ? void 0 : _a.overlay) {
|
11795
|
+
(_b = this.loadingOverlay) === null || _b === void 0 ? void 0 : _b.classList.add("show");
|
11796
|
+
}
|
11797
|
+
(_c = this.loadingIndicator) === null || _c === void 0 ? void 0 : _c.classList.add("show");
|
11628
11798
|
}
|
11629
11799
|
getRowOptions(rowKeys, rowValues) {
|
11630
11800
|
const rowOptionsIndex = rowKeys.indexOf("rowOptions");
|
@@ -11653,20 +11823,40 @@ class DataTable {
|
|
11653
11823
|
if ((typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.scrollHeight) > (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) &&
|
11654
11824
|
this.truncationPattern === this.TOOLTIP_STRING) {
|
11655
11825
|
if (!typographyEl.getAttribute("style") ||
|
11656
|
-
typographyEl.style.cssText.includes(
|
11826
|
+
typographyEl.style.cssText.includes(`${this.LINE_CLAMP_CSS_VARIABLE}: 0;`)) {
|
11657
11827
|
this.addLineClampCSS(typographyEl, cellContainer);
|
11658
11828
|
}
|
11659
11829
|
this.createTruncationTooltip(typographyEl, cellContainer);
|
11660
11830
|
}
|
11661
11831
|
}
|
11662
11832
|
removeTooltip(cellContainer, typographyEl, tooltip) {
|
11663
|
-
cellContainer.
|
11833
|
+
const cellTextWrapper = cellContainer.querySelector(this.CELL_TEXT_WRAPPER_STRING);
|
11834
|
+
cellTextWrapper.prepend(typographyEl);
|
11664
11835
|
if (tooltip) {
|
11665
11836
|
tooltip.remove();
|
11666
11837
|
}
|
11667
11838
|
}
|
11668
11839
|
addLineClampCSS(typographyEl, cellContainer) {
|
11669
|
-
|
11840
|
+
var _a, _b;
|
11841
|
+
const descriptionCellHeight = (_a = cellContainer.querySelector(this.CELL_DESCRIPTION_STRING)) === null || _a === void 0 ? void 0 : _a.clientHeight;
|
11842
|
+
if (cellContainer.classList.contains(this.CELL_CONTAINER_WITH_DESCRIPTION_STRING) &&
|
11843
|
+
(cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) > descriptionCellHeight) {
|
11844
|
+
let iconHeight;
|
11845
|
+
if (deviceSizeMatches(IC_DEVICE_SIZES.XS)) {
|
11846
|
+
const cellIcon = cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.querySelector(".icon");
|
11847
|
+
iconHeight = cellIcon ? cellIcon.clientHeight : 0;
|
11848
|
+
}
|
11849
|
+
else {
|
11850
|
+
iconHeight = 0;
|
11851
|
+
}
|
11852
|
+
const height = (cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight) -
|
11853
|
+
((_b = cellContainer.querySelector(this.CELL_DESCRIPTION_STRING)) === null || _b === void 0 ? void 0 : _b.clientHeight) -
|
11854
|
+
iconHeight;
|
11855
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: ${this.getLines(height || 0)}`);
|
11856
|
+
}
|
11857
|
+
else {
|
11858
|
+
typographyEl.setAttribute("style", `${this.LINE_CLAMP_CSS_VARIABLE}: ${this.getLines(cellContainer === null || cellContainer === void 0 ? void 0 : cellContainer.clientHeight)}`);
|
11859
|
+
}
|
11670
11860
|
}
|
11671
11861
|
createTruncationTooltip(typographyEl, cellContainer) {
|
11672
11862
|
const tooltipEl = document.createElement(this.IC_TOOLTIP_STRING);
|
@@ -11677,12 +11867,13 @@ class DataTable {
|
|
11677
11867
|
// This might need reverting back to absolute if the tooltip doesn't dynamically position itself correctly
|
11678
11868
|
strategy: "fixed",
|
11679
11869
|
});
|
11680
|
-
cellContainer.
|
11681
|
-
|
11870
|
+
const cellTextWrapper = cellContainer.querySelector(this.CELL_TEXT_WRAPPER_STRING);
|
11871
|
+
cellTextWrapper.prepend(tooltipEl);
|
11872
|
+
tooltipEl.prepend(typographyEl);
|
11682
11873
|
}
|
11683
11874
|
render() {
|
11684
11875
|
var _a;
|
11685
|
-
const { caption, createColumnHeaders,
|
11876
|
+
const { caption, createColumnHeaders, createUpdatingIndicator, data, hideColumnHeaders, loading, loadingOptions, paginationBarOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, updating, theme, } = this;
|
11686
11877
|
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
11878
|
["table-row-container"]: true,
|
11688
11879
|
scrollable,
|
@@ -11693,13 +11884,7 @@ class DataTable {
|
|
11693
11884
|
["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
|
11694
11885
|
} }, hAsync("tr", null, createColumnHeaders()))), updating &&
|
11695
11886
|
!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
|
11887
|
+
(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
11888
|
? `${sortedColumn} sorted ${sortedColumnOrder}`
|
11704
11889
|
: "table unsorted")))));
|
11705
11890
|
}
|
@@ -11726,6 +11911,7 @@ class DataTable {
|
|
11726
11911
|
"embedded": [4],
|
11727
11912
|
"globalRowHeight": [1032, "global-row-height"],
|
11728
11913
|
"height": [1],
|
11914
|
+
"highlightSelectedRow": [4, "highlight-selected-row"],
|
11729
11915
|
"hideColumnHeaders": [4, "hide-column-headers"],
|
11730
11916
|
"loading": [1028],
|
11731
11917
|
"loadingOptions": [16],
|
@@ -14678,14 +14864,6 @@ class EmptyState {
|
|
14678
14864
|
constructor(hostRef) {
|
14679
14865
|
registerInstance(this, hostRef);
|
14680
14866
|
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
14867
|
this.aligned = "left";
|
14690
14868
|
this.body = undefined;
|
14691
14869
|
this.maxLines = undefined;
|
@@ -14700,7 +14878,7 @@ class EmptyState {
|
|
14700
14878
|
componentDidLoad() {
|
14701
14879
|
!isSlotUsed$1(this.el, "heading") &&
|
14702
14880
|
onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Empty State");
|
14703
|
-
this.hostMutationObserver = new MutationObserver(
|
14881
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, ["image", "actions"]));
|
14704
14882
|
this.hostMutationObserver.observe(this.el, {
|
14705
14883
|
childList: true,
|
14706
14884
|
});
|
@@ -14744,6 +14922,7 @@ class Footer {
|
|
14744
14922
|
registerInstance(this, hostRef);
|
14745
14923
|
this.footerResized = createEvent(this, "footerResized", 7);
|
14746
14924
|
this.resizeObserver = null;
|
14925
|
+
this.hostMutationObserver = null;
|
14747
14926
|
this.resizeObserverCallback = (currSize) => {
|
14748
14927
|
if (currSize !== this.deviceSize) {
|
14749
14928
|
this.deviceSize = currSize;
|
@@ -14757,7 +14936,7 @@ class Footer {
|
|
14757
14936
|
});
|
14758
14937
|
this.resizeObserver.observe(this.footerEl);
|
14759
14938
|
};
|
14760
|
-
this.deviceSize = IC_DEVICE_SIZES.XL;
|
14939
|
+
this.deviceSize = IC_DEVICE_SIZES$1.XL;
|
14761
14940
|
this.foregroundColor = getBrandForegroundAppearance();
|
14762
14941
|
this.aligned = "left";
|
14763
14942
|
this.breakpoint = "medium";
|
@@ -14767,15 +14946,23 @@ class Footer {
|
|
14767
14946
|
this.groupLinks = false;
|
14768
14947
|
}
|
14769
14948
|
disconnectedCallback() {
|
14949
|
+
var _a;
|
14770
14950
|
if (this.resizeObserver !== null) {
|
14771
14951
|
this.resizeObserver.disconnect();
|
14772
14952
|
}
|
14953
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
14773
14954
|
}
|
14774
14955
|
componentWillLoad() {
|
14775
14956
|
this.deviceSize = getCurrentDeviceSize();
|
14776
14957
|
}
|
14777
14958
|
componentDidLoad() {
|
14778
14959
|
checkResizeObserver$1(this.runResizeObserver);
|
14960
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => {
|
14961
|
+
return renderDynamicChildSlots$1(mutationList, "link");
|
14962
|
+
});
|
14963
|
+
this.hostMutationObserver.observe(this.el, {
|
14964
|
+
childList: true,
|
14965
|
+
});
|
14779
14966
|
}
|
14780
14967
|
brandChangeHandler(ev) {
|
14781
14968
|
this.foregroundColor = ev.detail.mode;
|
@@ -14783,20 +14970,24 @@ class Footer {
|
|
14783
14970
|
isSmall() {
|
14784
14971
|
const bp = this.breakpoint;
|
14785
14972
|
return bp === "extra small"
|
14786
|
-
? this.deviceSize < IC_DEVICE_SIZES.XS
|
14973
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.XS
|
14787
14974
|
: bp === "small"
|
14788
|
-
? this.deviceSize < IC_DEVICE_SIZES.S
|
14975
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.S
|
14789
14976
|
: bp === "medium"
|
14790
|
-
? this.deviceSize < IC_DEVICE_SIZES.M
|
14977
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.M
|
14791
14978
|
: bp === "large"
|
14792
|
-
? this.deviceSize < IC_DEVICE_SIZES.L
|
14979
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.L
|
14793
14980
|
: bp === "extra large"
|
14794
|
-
? this.deviceSize < IC_DEVICE_SIZES.XL
|
14981
|
+
? this.deviceSize < IC_DEVICE_SIZES$1.XL
|
14795
14982
|
: false;
|
14796
14983
|
}
|
14797
14984
|
render() {
|
14798
|
-
const { aligned, caption, copyright, description,
|
14985
|
+
const { aligned, caption, copyright, description, deviceSize, el, foregroundColor, groupLinks, } = this;
|
14799
14986
|
const small = this.isSmall();
|
14987
|
+
const showComplianceSection = isSlotUsed$1(el, "logo") ||
|
14988
|
+
isSlotUsed$1(el, "caption") ||
|
14989
|
+
caption ||
|
14990
|
+
copyright;
|
14800
14991
|
return (hAsync(Host, { class: {
|
14801
14992
|
["ic-footer"]: true,
|
14802
14993
|
[`ic-footer-${small ? "small" : "sparse"}`]: true,
|
@@ -14805,14 +14996,12 @@ class Footer {
|
|
14805
14996
|
// Slots will be able to infer their own color
|
14806
14997
|
[`ic-footer-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
14807
14998
|
[`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: {
|
14999
|
+
} }, 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
15000
|
["footer-copyright"]: true,
|
14812
15001
|
["classification-spacing"]: hasClassificationBanner(),
|
14813
|
-
} }, hAsync("ic-typography", { variant:
|
15002
|
+
} }, hAsync("ic-typography", { variant: deviceSize <= IC_DEVICE_SIZES$1.M
|
14814
15003
|
? "caption-uppercase"
|
14815
|
-
: "label-uppercase" }, "\u00A9 Crown Copyright")))))))));
|
15004
|
+
: "label-uppercase" }, "\u00A9 Crown Copyright"))))))))));
|
14816
15005
|
}
|
14817
15006
|
get el() { return getElement(this); }
|
14818
15007
|
static get style() { return icFooterCss; }
|
@@ -14992,11 +15181,6 @@ class Hero {
|
|
14992
15181
|
constructor(hostRef) {
|
14993
15182
|
registerInstance(this, hostRef);
|
14994
15183
|
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
15184
|
this.foregroundColor = getBrandForegroundAppearance();
|
15001
15185
|
this.rightContent = false;
|
15002
15186
|
this.leftContentFullWidth = !this.rightContent && this.secondaryHeading === undefined;
|
@@ -15021,7 +15205,7 @@ class Hero {
|
|
15021
15205
|
componentDidLoad() {
|
15022
15206
|
!isSlotUsed$1(this.el, "heading") &&
|
15023
15207
|
onComponentRequiredPropUndefined$1([{ prop: this.heading, propName: "heading" }], "Hero");
|
15024
|
-
this.hostMutationObserver = new MutationObserver(
|
15208
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, "secondary"));
|
15025
15209
|
this.hostMutationObserver.observe(this.el, {
|
15026
15210
|
childList: true,
|
15027
15211
|
});
|
@@ -15287,11 +15471,6 @@ const icInputComponentContainerCss = "ic-input-component-container{display:flex;
|
|
15287
15471
|
class InputComponentContainer {
|
15288
15472
|
constructor(hostRef) {
|
15289
15473
|
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
15474
|
this.disabled = false;
|
15296
15475
|
this.fullWidth = false;
|
15297
15476
|
this.multiLine = false;
|
@@ -15307,7 +15486,7 @@ class InputComponentContainer {
|
|
15307
15486
|
removeDisabledFalse$1(this.disabled, this.el);
|
15308
15487
|
}
|
15309
15488
|
componentDidLoad() {
|
15310
|
-
this.hostMutationObserver = new MutationObserver(
|
15489
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, "left-icon"));
|
15311
15490
|
this.hostMutationObserver.observe(this.el, { childList: true });
|
15312
15491
|
}
|
15313
15492
|
render() {
|
@@ -17597,12 +17776,13 @@ var checkIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2
|
|
17597
17776
|
</svg>
|
17598
17777
|
`;
|
17599
17778
|
|
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}}";
|
17779
|
+
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
17780
|
|
17602
17781
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
17603
17782
|
class Menu {
|
17604
17783
|
constructor(hostRef) {
|
17605
17784
|
registerInstance(this, hostRef);
|
17785
|
+
this.icClear = createEvent(this, "icClear", 7);
|
17606
17786
|
this.menuKeyPress = createEvent(this, "menuKeyPress", 7);
|
17607
17787
|
this.menuOptionId = createEvent(this, "menuOptionId", 7);
|
17608
17788
|
this.menuOptionSelect = createEvent(this, "menuOptionSelect", 7);
|
@@ -17613,6 +17793,7 @@ class Menu {
|
|
17613
17793
|
this.ungroupedOptionsSet = createEvent(this, "ungroupedOptionsSet", 7);
|
17614
17794
|
this.ACTIVE_DESCENDANT = "aria-activedescendant";
|
17615
17795
|
this.CLEAR_BUTTON_ID = "clear-button";
|
17796
|
+
this.SEARCH_BAR_TAG = "IC-SEARCH-BAR";
|
17616
17797
|
this.disabledOptionSelected = false;
|
17617
17798
|
this.hasPreviouslyBlurred = false;
|
17618
17799
|
this.hasTimedOut = false;
|
@@ -17677,7 +17858,7 @@ class Menu {
|
|
17677
17858
|
}
|
17678
17859
|
};
|
17679
17860
|
this.getParentEl = (parent) => {
|
17680
|
-
if (parent.tagName ===
|
17861
|
+
if (parent.tagName === this.SEARCH_BAR_TAG) {
|
17681
17862
|
this.isSearchBar = true;
|
17682
17863
|
}
|
17683
17864
|
else if (parent.tagName === "IC-SELECT") {
|
@@ -17929,7 +18110,7 @@ class Menu {
|
|
17929
18110
|
// Otherwise, if a different OS, checks Ctrl key
|
17930
18111
|
if ((isMacDevice() && event.metaKey) ||
|
17931
18112
|
(!isMacDevice() && event.ctrlKey)) {
|
17932
|
-
this.
|
18113
|
+
this.emitSelectAllEvents();
|
17933
18114
|
this.lastOptionFocused = null;
|
17934
18115
|
this.lastOptionSelected = null;
|
17935
18116
|
}
|
@@ -18055,7 +18236,7 @@ class Menu {
|
|
18055
18236
|
this.handleSelectAllClick = () => {
|
18056
18237
|
this.keyboardNav = false;
|
18057
18238
|
this.menu.focus();
|
18058
|
-
this.
|
18239
|
+
this.emitSelectAllEvents();
|
18059
18240
|
this.lastOptionFocused = null;
|
18060
18241
|
this.lastOptionSelected = null;
|
18061
18242
|
};
|
@@ -18126,13 +18307,17 @@ class Menu {
|
|
18126
18307
|
? this.lastOptionSelected
|
18127
18308
|
: null;
|
18128
18309
|
};
|
18129
|
-
this.
|
18130
|
-
var _a;
|
18310
|
+
this.emitSelectAllEvents = () => {
|
18311
|
+
var _a, _b;
|
18131
18312
|
// Select all if there is either no value or not all options are selected
|
18132
18313
|
// 'true' means select all, 'false' means clear all
|
18133
18314
|
this.menuOptionSelectAll.emit({
|
18134
18315
|
select: !this.value || !(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === this.ungroupedOptions.length),
|
18135
18316
|
});
|
18317
|
+
// Emit clear event if all options are selected
|
18318
|
+
if (((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) === this.ungroupedOptions.length) {
|
18319
|
+
this.icClear.emit();
|
18320
|
+
}
|
18136
18321
|
};
|
18137
18322
|
this.emitMenuKeyPress = (isNavKey, key) => {
|
18138
18323
|
this.menuKeyPress.emit({ isNavKey: isNavKey, key: key });
|
@@ -18277,7 +18462,7 @@ class Menu {
|
|
18277
18462
|
const showCheckIcon = !!option[this.valueField] &&
|
18278
18463
|
!!this.value &&
|
18279
18464
|
selected &&
|
18280
|
-
this.parentEl.tagName !==
|
18465
|
+
this.parentEl.tagName !== this.SEARCH_BAR_TAG;
|
18281
18466
|
return (hAsync(Fragment, null, option.loading && hAsync("ic-loading-indicator", { size: "icon" }), hAsync("div", { class: {
|
18282
18467
|
"option-text-container": true,
|
18283
18468
|
"show-check-icon": showCheckIcon,
|
@@ -18398,8 +18583,7 @@ class Menu {
|
|
18398
18583
|
highlightedEl.focus();
|
18399
18584
|
}
|
18400
18585
|
}
|
18401
|
-
else if (this.inputEl.tagName !== "
|
18402
|
-
this.inputEl.tagName !== "INPUT") {
|
18586
|
+
else if (this.inputEl.tagName !== "INPUT") {
|
18403
18587
|
this.menu.focus();
|
18404
18588
|
}
|
18405
18589
|
}
|
@@ -18485,16 +18669,24 @@ class Menu {
|
|
18485
18669
|
this.focusFromSearchKeypress = true;
|
18486
18670
|
}
|
18487
18671
|
render() {
|
18488
|
-
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, } = this;
|
18672
|
+
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, } = this;
|
18489
18673
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
18490
18674
|
const hasNoResults = this.host.classList.contains("no-results");
|
18491
18675
|
return (hAsync(Host, { class: {
|
18492
18676
|
"ic-menu-full-width": fullWidth,
|
18493
|
-
"ic-menu-no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT"
|
18677
|
+
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
18678
|
+
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
18679
|
+
hasTimedOut ||
|
18680
|
+
isLoading,
|
18494
18681
|
[`ic-menu-${size}`]: true,
|
18495
18682
|
"ic-menu-open": open && options.length !== 0,
|
18496
18683
|
"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 &&
|
18684
|
+
} }, options.length !== 0 && (hAsync("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open &&
|
18685
|
+
!keyboardNav &&
|
18686
|
+
((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
|
18687
|
+
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
|
18688
|
+
? "0"
|
18689
|
+
: "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
|
18498
18690
|
if (option.children) {
|
18499
18691
|
if (option.children.length > 0) {
|
18500
18692
|
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 &&
|
@@ -20052,11 +20244,22 @@ class PaginationBar {
|
|
20052
20244
|
if (focus)
|
20053
20245
|
el.setFocus();
|
20054
20246
|
};
|
20247
|
+
this.setToFirstPage = () => {
|
20248
|
+
var _a;
|
20249
|
+
const firstPage = 1;
|
20250
|
+
this.changePage(firstPage);
|
20251
|
+
(_a = this.paginationEl) === null || _a === void 0 ? void 0 : _a.setCurrentPage(firstPage);
|
20252
|
+
this.activePage = firstPage;
|
20253
|
+
this.icPageChange.emit({ value: firstPage });
|
20254
|
+
};
|
20055
20255
|
this.setItemsPerPage = (newValue) => {
|
20056
20256
|
if (this.itemsPerPage !== newValue) {
|
20057
20257
|
this.itemsPerPage = newValue;
|
20058
20258
|
this.itemsPerPageString = newValue.toString();
|
20059
20259
|
this.icItemsPerPageChange.emit({ value: this.itemsPerPage });
|
20260
|
+
if (this.setToFirstPageOnPaginationChange) {
|
20261
|
+
this.setToFirstPage();
|
20262
|
+
}
|
20060
20263
|
}
|
20061
20264
|
this.totalPages =
|
20062
20265
|
this.totalItems > this.itemsPerPage
|
@@ -20147,6 +20350,7 @@ class PaginationBar {
|
|
20147
20350
|
this.hideRangeLabel = false;
|
20148
20351
|
this.showItemsPerPageControl = false;
|
20149
20352
|
this.totalItems = undefined;
|
20353
|
+
this.setToFirstPageOnPaginationChange = false;
|
20150
20354
|
}
|
20151
20355
|
watchPageNumberHandler() {
|
20152
20356
|
this.activePage = this.currentPage;
|
@@ -20167,6 +20371,9 @@ class PaginationBar {
|
|
20167
20371
|
watchTotalItemsHandler() {
|
20168
20372
|
this.setPaginationBarContent();
|
20169
20373
|
}
|
20374
|
+
watchSetToFirstPageOnPaginationChange() {
|
20375
|
+
this.setPaginationBarContent();
|
20376
|
+
}
|
20170
20377
|
disconnectedCallback() {
|
20171
20378
|
var _a;
|
20172
20379
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
@@ -20219,7 +20426,8 @@ class PaginationBar {
|
|
20219
20426
|
"itemLabel": ["watchItemLabelHandler"],
|
20220
20427
|
"itemsPerPageOptions": ["watchItemsPerPageOptionsHandler"],
|
20221
20428
|
"pageLabel": ["watchPageLabelHandler"],
|
20222
|
-
"totalItems": ["watchTotalItemsHandler"]
|
20429
|
+
"totalItems": ["watchTotalItemsHandler"],
|
20430
|
+
"setToFirstPageOnPaginationChange": ["watchSetToFirstPageOnPaginationChange"]
|
20223
20431
|
}; }
|
20224
20432
|
static get style() { return icPaginationBarCss; }
|
20225
20433
|
static get cmpMeta() { return {
|
@@ -20240,6 +20448,7 @@ class PaginationBar {
|
|
20240
20448
|
"hideRangeLabel": [4, "hide-range-label"],
|
20241
20449
|
"showItemsPerPageControl": [4, "show-items-per-page-control"],
|
20242
20450
|
"totalItems": [2, "total-items"],
|
20451
|
+
"setToFirstPageOnPaginationChange": [4, "set-to-first-page-on-pagination-change"],
|
20243
20452
|
"capitalizedItemLabel": [32],
|
20244
20453
|
"capitalizedPageLabel": [32],
|
20245
20454
|
"activePage": [32],
|
@@ -21026,7 +21235,7 @@ var searchIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xm
|
|
21026
21235
|
<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
21236
|
</svg>`;
|
21028
21237
|
|
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}}";
|
21238
|
+
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: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}}";
|
21030
21239
|
|
21031
21240
|
let inputIds$3 = 0;
|
21032
21241
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
@@ -21044,6 +21253,7 @@ class SearchBar {
|
|
21044
21253
|
this.icSubmitSearchBlur = createEvent(this, "icSubmitSearchBlur", 7);
|
21045
21254
|
this.icSearchBarBlur = createEvent(this, "icSearchBarBlur", 7);
|
21046
21255
|
this.icSearchBarFocus = createEvent(this, "icSearchBarFocus", 7);
|
21256
|
+
this.icKeydown = createEvent(this, "icKeydown", 7);
|
21047
21257
|
this.assistiveHintEl = null;
|
21048
21258
|
this.hasTimedOut = false;
|
21049
21259
|
this.inputId = `ic-search-bar-input-${inputIds$3++}`;
|
@@ -21073,6 +21283,7 @@ class SearchBar {
|
|
21073
21283
|
};
|
21074
21284
|
this.onInput = (ev) => {
|
21075
21285
|
this.value = ev.target.value;
|
21286
|
+
this.icInput.emit({ value: this.value });
|
21076
21287
|
const noOptions = [
|
21077
21288
|
{ [this.labelField]: this.emptyOptionListText, [this.valueField]: "" },
|
21078
21289
|
];
|
@@ -21181,10 +21392,7 @@ class SearchBar {
|
|
21181
21392
|
this.handleMenuChange = (ev) => {
|
21182
21393
|
this.setMenuChange(ev.detail.open);
|
21183
21394
|
if (!ev.detail.open) {
|
21184
|
-
this.
|
21185
|
-
if (ev.detail.focusInput === undefined || ev.detail.focusInput) {
|
21186
|
-
this.el.setFocus();
|
21187
|
-
}
|
21395
|
+
this.menuCloseFromMenuChangeEvent = true;
|
21188
21396
|
}
|
21189
21397
|
};
|
21190
21398
|
this.setMenuChange = (open) => {
|
@@ -21201,6 +21409,7 @@ class SearchBar {
|
|
21201
21409
|
this.icSearchBarFocus.emit();
|
21202
21410
|
};
|
21203
21411
|
this.handleHostBlur = (ev) => {
|
21412
|
+
var _a;
|
21204
21413
|
const nextFocus = ev.relatedTarget;
|
21205
21414
|
if (this.open &&
|
21206
21415
|
this.options &&
|
@@ -21210,10 +21419,10 @@ class SearchBar {
|
|
21210
21419
|
this.setMenuChange(false);
|
21211
21420
|
}
|
21212
21421
|
if (this.retryButtonClick || this.retryViaKeyPress) {
|
21213
|
-
this.inputEl.
|
21422
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
21214
21423
|
}
|
21215
21424
|
this.handleShowClearButton(false);
|
21216
|
-
this.
|
21425
|
+
this.menuCloseFromMenuChangeEvent = false;
|
21217
21426
|
this.handleTruncateValue(true);
|
21218
21427
|
this.icSearchBarBlur.emit({ relatedTarget: nextFocus, value: this.value });
|
21219
21428
|
this.retryViaKeyPress = false;
|
@@ -21225,16 +21434,12 @@ class SearchBar {
|
|
21225
21434
|
this.handleFocusClearButton = () => {
|
21226
21435
|
this.clearButtonFocused = true;
|
21227
21436
|
};
|
21228
|
-
this.handleMenuCloseFromMenuChange = (fromEvent) => {
|
21229
|
-
this.menuCloseFromMenuChangeEvent = fromEvent;
|
21230
|
-
};
|
21231
21437
|
this.handleTruncateValue = (truncate) => {
|
21232
21438
|
this.truncateValue = truncate;
|
21233
21439
|
};
|
21234
21440
|
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}`);
|
21441
|
+
var _a;
|
21442
|
+
const input = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`#${this.inputId}`);
|
21238
21443
|
if (input &&
|
21239
21444
|
Object.keys(input).length > 0 &&
|
21240
21445
|
this.hasOptionsOrFilterDisabled()) {
|
@@ -21336,6 +21541,9 @@ class SearchBar {
|
|
21336
21541
|
watchDisabledHandler() {
|
21337
21542
|
removeDisabledFalse$1(this.disabled, this.el);
|
21338
21543
|
}
|
21544
|
+
debounceChanged() {
|
21545
|
+
this.icChange = debounceEvent(this.icChange, this.debounce);
|
21546
|
+
}
|
21339
21547
|
loadingHandler(newValue) {
|
21340
21548
|
if (newValue && !this.hasTimedOut) {
|
21341
21549
|
this.preLoad = false;
|
@@ -21378,6 +21586,10 @@ class SearchBar {
|
|
21378
21586
|
else if (this.inputEl && this.inputEl.value !== newValue) {
|
21379
21587
|
this.inputEl.value = newValue;
|
21380
21588
|
}
|
21589
|
+
this.icChange.emit({ value: newValue });
|
21590
|
+
}
|
21591
|
+
connectedCallback() {
|
21592
|
+
this.debounceChanged();
|
21381
21593
|
}
|
21382
21594
|
disconnectedCallback() {
|
21383
21595
|
if (this.assistiveHintEl) {
|
@@ -21399,17 +21611,14 @@ class SearchBar {
|
|
21399
21611
|
}
|
21400
21612
|
}
|
21401
21613
|
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
21614
|
}
|
21406
21615
|
componentWillRender() {
|
21407
21616
|
this.highlightFirstOptionAfterNoResults();
|
21408
21617
|
}
|
21409
|
-
handleKeyDown(
|
21410
|
-
|
21618
|
+
handleKeyDown(event) {
|
21619
|
+
this.icKeydown.emit({ event });
|
21411
21620
|
if (this.menu && this.open) {
|
21412
|
-
this.menu.handleKeyboardOpen(
|
21621
|
+
this.menu.handleKeyboardOpen(event);
|
21413
21622
|
}
|
21414
21623
|
}
|
21415
21624
|
handleKeyUp(ev) {
|
@@ -21431,11 +21640,10 @@ class SearchBar {
|
|
21431
21640
|
* Sets focus on the native `input`.
|
21432
21641
|
*/
|
21433
21642
|
async setFocus() {
|
21643
|
+
var _a;
|
21434
21644
|
this.retryViaKeyPress = false;
|
21435
21645
|
this.retryButtonClick = false;
|
21436
|
-
|
21437
|
-
this.inputEl.setFocus();
|
21438
|
-
}
|
21646
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
21439
21647
|
}
|
21440
21648
|
debounceAriaLiveUpdate() {
|
21441
21649
|
clearTimeout(this.debounceAriaLive);
|
@@ -21471,24 +21679,28 @@ class SearchBar {
|
|
21471
21679
|
["ic-search-bar-disabled"]: disabled,
|
21472
21680
|
["ic-search-bar-small"]: size === "small",
|
21473
21681
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21474
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-
|
21682
|
+
}, 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: {
|
21683
|
+
"no-left-pad": readonly,
|
21684
|
+
readonly,
|
21685
|
+
"truncate-value": truncateValue,
|
21686
|
+
}, 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
21687
|
"clear-button-container": true,
|
21476
21688
|
"clear-button-visible": value && !disabledMode && this.showClearButton,
|
21477
|
-
}
|
21689
|
+
} }, hAsync("ic-button", { id: "clear-button", class: {
|
21478
21690
|
"clear-button": true,
|
21479
21691
|
"clear-button-unfocused": !this.clearButtonFocused,
|
21480
21692
|
}, "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
21693
|
"search-submit-button-container": true,
|
21482
21694
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
21483
|
-
}
|
21695
|
+
} }, hAsync("ic-button", { id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
21484
21696
|
["search-submit-button"]: true,
|
21485
21697
|
["search-submit-button-small"]: size === "small",
|
21486
21698
|
["search-submit-button-unfocused"]: !this.searchSubmitFocused,
|
21487
21699
|
["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: {
|
21700
|
+
}, 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
21701
|
"menu-container": true,
|
21490
21702
|
fullwidth: fullWidth,
|
21491
|
-
}
|
21703
|
+
} }, menuRendered && (hAsync("ic-menu", { class: {
|
21492
21704
|
"no-results": this.hadNoOptions() ||
|
21493
21705
|
(filteredOptions.length === 1 &&
|
21494
21706
|
(filteredOptions[0][this.labelField] ===
|
@@ -21501,6 +21713,7 @@ class SearchBar {
|
|
21501
21713
|
get el() { return getElement(this); }
|
21502
21714
|
static get watchers() { return {
|
21503
21715
|
"disabled": ["watchDisabledHandler"],
|
21716
|
+
"debounce": ["debounceChanged"],
|
21504
21717
|
"loading": ["loadingHandler"],
|
21505
21718
|
"filteredOptions": ["filteredOptionsHandler"],
|
21506
21719
|
"options": ["watchOptionsHandler"],
|
@@ -21551,7 +21764,7 @@ class SearchBar {
|
|
21551
21764
|
"filteredOptions": [32],
|
21552
21765
|
"setFocus": [64]
|
21553
21766
|
},
|
21554
|
-
"$listeners$": [[0, "
|
21767
|
+
"$listeners$": [[0, "keydown", "handleKeyDown"], [0, "keyup", "handleKeyUp"]],
|
21555
21768
|
"$lazyBundleId$": "-",
|
21556
21769
|
"$attrsToReflect$": [["value", "value"]]
|
21557
21770
|
}; }
|
@@ -21645,28 +21858,26 @@ class Select {
|
|
21645
21858
|
this.blurredBecauseButtonPressed = true;
|
21646
21859
|
this.retryButtonClick = true;
|
21647
21860
|
this.hasSetDefaultValue = true;
|
21648
|
-
this.icRetryLoad.emit({
|
21861
|
+
this.icRetryLoad.emit({
|
21862
|
+
value: this.searchable
|
21863
|
+
? this.searchableSelectInputValue
|
21864
|
+
: this.hiddenInputValue,
|
21865
|
+
});
|
21649
21866
|
};
|
21650
21867
|
this.emitIcChange = (value) => {
|
21651
|
-
|
21652
|
-
|
21653
|
-
|
21654
|
-
|
21655
|
-
|
21656
|
-
|
21657
|
-
this.value = value;
|
21658
|
-
}
|
21868
|
+
// If "Select all" button clicked, replace value with new value (array of all option values)
|
21869
|
+
if (this.multiple && !Array.isArray(value) && value !== null) {
|
21870
|
+
this.handleMultipleSelectChange(String(value));
|
21871
|
+
}
|
21872
|
+
else {
|
21873
|
+
this.value = value;
|
21659
21874
|
}
|
21660
|
-
|
21661
|
-
this.
|
21662
|
-
const valueToEmit = this.multiple ? this.value : value;
|
21663
|
-
this.icChange.emit({ value: valueToEmit });
|
21664
|
-
}, this.currDebounce);
|
21875
|
+
const valueToEmit = this.multiple ? this.value : value;
|
21876
|
+
this.icChange.emit({ value: valueToEmit });
|
21665
21877
|
};
|
21666
|
-
this.
|
21667
|
-
this.
|
21668
|
-
|
21669
|
-
this.icChange.emit({ value });
|
21878
|
+
this.emitIcInput = (value) => {
|
21879
|
+
clearTimeout(this.debounceIcInput);
|
21880
|
+
this.debounceIcInput = window.setTimeout(() => this.icInput.emit({ value }), this.currDebounce);
|
21670
21881
|
};
|
21671
21882
|
/**
|
21672
21883
|
* Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
|
@@ -21764,7 +21975,7 @@ class Select {
|
|
21764
21975
|
};
|
21765
21976
|
this.handleNativeSelectChange = () => {
|
21766
21977
|
this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
|
21767
|
-
this.
|
21978
|
+
this.emitIcChange(this.nativeSelectElement.value);
|
21768
21979
|
this.setTextColor();
|
21769
21980
|
};
|
21770
21981
|
// Handle option select for when a custom input box and menu is rendered
|
@@ -21899,13 +22110,10 @@ class Select {
|
|
21899
22110
|
event.stopPropagation();
|
21900
22111
|
this.hasTimedOut = false;
|
21901
22112
|
clearTimeout(this.timeoutTimer);
|
21902
|
-
this.
|
21903
|
-
this.
|
22113
|
+
this.clearInput();
|
22114
|
+
this.emitIcChange(null);
|
21904
22115
|
this.icClear.emit();
|
21905
22116
|
if (this.searchable) {
|
21906
|
-
this.searchableSelectElement.value = null;
|
21907
|
-
this.searchableSelectInputValue = null;
|
21908
|
-
this.filteredOptions = this.uniqueOptions;
|
21909
22117
|
this.hiddenInputValue = null;
|
21910
22118
|
this.searchableSelectElement.focus();
|
21911
22119
|
}
|
@@ -21929,7 +22137,7 @@ class Select {
|
|
21929
22137
|
this.pressedCharacters += key;
|
21930
22138
|
this.handleFilter();
|
21931
22139
|
if (!this.noOptions) {
|
21932
|
-
this.
|
22140
|
+
this.emitIcChange(this.filteredOptions[0].value);
|
21933
22141
|
}
|
21934
22142
|
}
|
21935
22143
|
}
|
@@ -22074,9 +22282,13 @@ class Select {
|
|
22074
22282
|
};
|
22075
22283
|
this.handleSearchableSelectInput = (event) => {
|
22076
22284
|
this.searchableSelectInputValue = event.target.value;
|
22077
|
-
this.
|
22078
|
-
|
22079
|
-
|
22285
|
+
this.emitIcInput(this.searchableSelectInputValue);
|
22286
|
+
// De-select previous selection when input is edited
|
22287
|
+
// Only emit icChange once when editing input
|
22288
|
+
if (this.value != null) {
|
22289
|
+
this.emitIcChange(null);
|
22290
|
+
}
|
22291
|
+
this.hiddenInputValue = null;
|
22080
22292
|
this.inputValueToFilter = this.searchableSelectInputValue;
|
22081
22293
|
this.setMenuChange(true);
|
22082
22294
|
if (!this.disableAutoFiltering) {
|
@@ -22134,6 +22346,10 @@ class Select {
|
|
22134
22346
|
if (isSearchableAndNoFocusedInternalElements) {
|
22135
22347
|
if (!this.retryButtonClick) {
|
22136
22348
|
this.setMenuChange(false);
|
22349
|
+
// Clear input field on blur when searchable if no option is selected
|
22350
|
+
if (!this.value) {
|
22351
|
+
this.clearInput();
|
22352
|
+
}
|
22137
22353
|
}
|
22138
22354
|
this.handleFocusIndicatorDisplay();
|
22139
22355
|
}
|
@@ -22157,9 +22373,17 @@ class Select {
|
|
22157
22373
|
this.hiddenInputValue = this.value;
|
22158
22374
|
}
|
22159
22375
|
};
|
22376
|
+
this.clearInput = () => {
|
22377
|
+
this.noOptions = null;
|
22378
|
+
if (this.searchable) {
|
22379
|
+
this.searchableSelectElement.value = null;
|
22380
|
+
this.searchableSelectInputValue = null;
|
22381
|
+
this.filteredOptions = this.uniqueOptions;
|
22382
|
+
}
|
22383
|
+
};
|
22160
22384
|
this.ariaActiveDescendant = undefined;
|
22161
22385
|
this.clearButtonFocused = false;
|
22162
|
-
this.
|
22386
|
+
this.debounceIcInput = undefined;
|
22163
22387
|
this.hiddenInputValue = undefined;
|
22164
22388
|
this.noOptions = null;
|
22165
22389
|
this.open = false;
|
@@ -22258,9 +22482,10 @@ class Select {
|
|
22258
22482
|
this.currValue = this.value;
|
22259
22483
|
}
|
22260
22484
|
}
|
22261
|
-
if (this.searchable) {
|
22485
|
+
if (this.searchable && this.value) {
|
22486
|
+
// Only set if value not null - prevents whole input value being cleared when edited
|
22262
22487
|
this.searchableSelectInputValue =
|
22263
|
-
this.getLabelFromValue(this.currValue) ||
|
22488
|
+
this.getLabelFromValue(String(this.currValue)) ||
|
22264
22489
|
this.currValue;
|
22265
22490
|
}
|
22266
22491
|
}
|
@@ -22442,7 +22667,7 @@ class Select {
|
|
22442
22667
|
"value": [1025],
|
22443
22668
|
"ariaActiveDescendant": [32],
|
22444
22669
|
"clearButtonFocused": [32],
|
22445
|
-
"
|
22670
|
+
"debounceIcInput": [32],
|
22446
22671
|
"hiddenInputValue": [32],
|
22447
22672
|
"noOptions": [32],
|
22448
22673
|
"open": [32],
|
@@ -23980,19 +24205,21 @@ class TextField {
|
|
23980
24205
|
this.checkChildHydration = () => {
|
23981
24206
|
var _a;
|
23982
24207
|
const el = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("ic-typography");
|
23983
|
-
if (el && el.classList.contains("hydrated")) {
|
24208
|
+
if (this.hideLabel || (el && el.classList.contains("hydrated"))) {
|
23984
24209
|
this.setFocus();
|
23985
24210
|
clearInterval(this.interval);
|
23986
24211
|
}
|
23987
24212
|
};
|
24213
|
+
this.getNumberOfCharacters = (value) => value !== null && value !== undefined ? value.length : 0;
|
23988
24214
|
this.getMaxValueExceeded = (value) => {
|
24215
|
+
this.numChars = this.getNumberOfCharacters(value);
|
23989
24216
|
if (this.type === "number") {
|
23990
24217
|
this.minValueUnattained = value && Number(value) < Number(this.min);
|
23991
24218
|
this.maxValueExceeded = Number(value) > Number(this.max);
|
23992
24219
|
}
|
23993
24220
|
};
|
23994
24221
|
this.getMaxCharactersReached = (value) => {
|
23995
|
-
this.numChars = value
|
24222
|
+
this.numChars = this.getNumberOfCharacters(value);
|
23996
24223
|
this.maxCharactersReached =
|
23997
24224
|
this.maxCharacters > 0 ? this.numChars >= this.maxCharacters : false;
|
23998
24225
|
if (this.maxCharactersWarning && !this.maxCharactersReached) {
|
@@ -24144,7 +24371,7 @@ class TextField {
|
|
24144
24371
|
/**
|
24145
24372
|
* Sets focus on the native `input`.
|
24146
24373
|
*/
|
24147
|
-
setFocus() {
|
24374
|
+
async setFocus() {
|
24148
24375
|
var _a;
|
24149
24376
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
24150
24377
|
}
|
@@ -24186,16 +24413,16 @@ class TextField {
|
|
24186
24413
|
const disabledText = disabledMode && !readonly;
|
24187
24414
|
const showLeftIcon = !!this.el.querySelector(`[slot="icon"]`) && !disabledText;
|
24188
24415
|
const invalid = `${currentStatus === IcInformationStatus$1.Error}`;
|
24189
|
-
|
24190
|
-
renderHiddenInput$1(true, this.el, name, value, disabledMode)
|
24191
|
-
|
24416
|
+
hiddenInput
|
24417
|
+
? renderHiddenInput$1(true, this.el, name, value, disabledMode)
|
24418
|
+
: removeHiddenInput(this.el);
|
24192
24419
|
return (hAsync(Host, { class: {
|
24193
24420
|
"ic-text-field-full-width": fullWidth,
|
24194
24421
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
24195
24422
|
"ic-text-field-disabled": disabledMode,
|
24196
24423
|
} }, 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
24424
|
readonly,
|
24198
|
-
"has-value": value
|
24425
|
+
"has-value": this.getNumberOfCharacters(value) > 0,
|
24199
24426
|
}, 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
24427
|
"no-left-pad": !showLeftIcon && readonly,
|
24201
24428
|
readonly,
|
@@ -24665,6 +24892,51 @@ class ToggleButton {
|
|
24665
24892
|
constructor(hostRef) {
|
24666
24893
|
registerInstance(this, hostRef);
|
24667
24894
|
this.icToggleChecked = createEvent(this, "icToggleChecked", 7);
|
24895
|
+
this.loopAttributes = () => {
|
24896
|
+
const trackedAttributes = [
|
24897
|
+
"loading",
|
24898
|
+
"disabled",
|
24899
|
+
"full-width",
|
24900
|
+
"icon-placement",
|
24901
|
+
"variant",
|
24902
|
+
"size",
|
24903
|
+
"theme",
|
24904
|
+
"monochrome",
|
24905
|
+
];
|
24906
|
+
const parentAttributes = this.el.parentElement.attributes;
|
24907
|
+
for (let i = 0; i < trackedAttributes.length; i++) {
|
24908
|
+
if (parentAttributes.getNamedItem(trackedAttributes[i]) !== null) {
|
24909
|
+
const attribute = parentAttributes.getNamedItem(trackedAttributes[i]);
|
24910
|
+
switch (attribute.name) {
|
24911
|
+
case trackedAttributes[0]:
|
24912
|
+
this.loading = attribute.value !== "false";
|
24913
|
+
break;
|
24914
|
+
case trackedAttributes[1]:
|
24915
|
+
console.log(attribute.value);
|
24916
|
+
this.disabled = attribute.value !== "false";
|
24917
|
+
break;
|
24918
|
+
case trackedAttributes[2]:
|
24919
|
+
this.fullWidth = attribute.value !== "false";
|
24920
|
+
break;
|
24921
|
+
case trackedAttributes[3]:
|
24922
|
+
this.iconPlacement = attribute.value;
|
24923
|
+
break;
|
24924
|
+
case trackedAttributes[4]:
|
24925
|
+
this.variant = attribute.value;
|
24926
|
+
break;
|
24927
|
+
case trackedAttributes[5]:
|
24928
|
+
this.size = attribute.value;
|
24929
|
+
break;
|
24930
|
+
case trackedAttributes[6]:
|
24931
|
+
this.theme = attribute.value;
|
24932
|
+
break;
|
24933
|
+
case trackedAttributes[7]:
|
24934
|
+
this.monochrome = attribute.value !== "false";
|
24935
|
+
break;
|
24936
|
+
}
|
24937
|
+
}
|
24938
|
+
}
|
24939
|
+
};
|
24668
24940
|
this.handleFocus = (ev) => {
|
24669
24941
|
ev.stopImmediatePropagation();
|
24670
24942
|
};
|
@@ -24679,7 +24951,7 @@ class ToggleButton {
|
|
24679
24951
|
this.checked = false;
|
24680
24952
|
this.disabled = false;
|
24681
24953
|
this.fullWidth = false;
|
24682
|
-
this.iconPlacement =
|
24954
|
+
this.iconPlacement = "left";
|
24683
24955
|
this.label = undefined;
|
24684
24956
|
this.loading = false;
|
24685
24957
|
this.monochrome = false;
|
@@ -24692,8 +24964,9 @@ class ToggleButton {
|
|
24692
24964
|
}
|
24693
24965
|
componentWillLoad() {
|
24694
24966
|
removeDisabledFalse$1(this.disabled, this.el);
|
24695
|
-
|
24696
|
-
|
24967
|
+
if (isSlottedInGroup(this.el)) {
|
24968
|
+
this.loopAttributes();
|
24969
|
+
}
|
24697
24970
|
}
|
24698
24971
|
componentDidLoad() {
|
24699
24972
|
onComponentRequiredPropUndefined$1([
|
@@ -24721,7 +24994,7 @@ class ToggleButton {
|
|
24721
24994
|
["ic-toggle-button-loading"]: this.loading,
|
24722
24995
|
["ic-toggle-button-monochrome"]: this.monochrome,
|
24723
24996
|
[`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
|
24997
|
+
}, 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 }, 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
24998
|
}
|
24726
24999
|
static get delegatesFocus() { return true; }
|
24727
25000
|
get el() { return getElement(this); }
|
@@ -24735,15 +25008,15 @@ class ToggleButton {
|
|
24735
25008
|
"$members$": {
|
24736
25009
|
"accessibleLabel": [1, "accessible-label"],
|
24737
25010
|
"checked": [1540],
|
24738
|
-
"disabled": [
|
24739
|
-
"fullWidth": [
|
25011
|
+
"disabled": [1028],
|
25012
|
+
"fullWidth": [1028, "full-width"],
|
24740
25013
|
"iconPlacement": [1, "icon-placement"],
|
24741
25014
|
"label": [1],
|
24742
|
-
"loading": [
|
24743
|
-
"monochrome": [
|
24744
|
-
"size": [
|
24745
|
-
"theme": [
|
24746
|
-
"variant": [
|
25015
|
+
"loading": [1028],
|
25016
|
+
"monochrome": [1028],
|
25017
|
+
"size": [1025],
|
25018
|
+
"theme": [1025],
|
25019
|
+
"variant": [1537]
|
24747
25020
|
},
|
24748
25021
|
"$listeners$": [[2, "click", "handleHostClick"]],
|
24749
25022
|
"$lazyBundleId$": "-",
|
@@ -24853,16 +25126,36 @@ class ToggleButtonGroup {
|
|
24853
25126
|
});
|
24854
25127
|
removeDisabledFalse$1(this.disabled, this.el);
|
24855
25128
|
}
|
25129
|
+
watchFullWidthHandler() {
|
25130
|
+
this.getAllToggleButtons().forEach((el) => {
|
25131
|
+
el.fullWidth = this.fullWidth;
|
25132
|
+
});
|
25133
|
+
}
|
25134
|
+
watchLoadingHandler() {
|
25135
|
+
this.getAllToggleButtons().forEach((el) => {
|
25136
|
+
el.loading = this.loading;
|
25137
|
+
});
|
25138
|
+
}
|
24856
25139
|
watchMonochromeHandler() {
|
24857
25140
|
this.getAllToggleButtons().forEach((el) => {
|
24858
25141
|
el.monochrome = this.monochrome;
|
24859
25142
|
});
|
24860
25143
|
}
|
25144
|
+
watchSizeHandler() {
|
25145
|
+
this.getAllToggleButtons().forEach((el) => {
|
25146
|
+
el.size = this.size;
|
25147
|
+
});
|
25148
|
+
}
|
24861
25149
|
watchThemeHandler() {
|
24862
25150
|
this.getAllToggleButtons().forEach((el) => {
|
24863
25151
|
el.theme = this.theme;
|
24864
25152
|
});
|
24865
25153
|
}
|
25154
|
+
watchVariantHandler() {
|
25155
|
+
this.getAllToggleButtons().forEach((el) => {
|
25156
|
+
el.variant = this.variant;
|
25157
|
+
});
|
25158
|
+
}
|
24866
25159
|
selectHandler(ev, tabTarget) {
|
24867
25160
|
const allToggles = this.getAllToggleButtons();
|
24868
25161
|
let clickedToggle = ev.target;
|
@@ -24901,14 +25194,6 @@ class ToggleButtonGroup {
|
|
24901
25194
|
componentDidLoad() {
|
24902
25195
|
this.getAllToggleButtons().forEach((el, i) => {
|
24903
25196
|
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
25197
|
el.id = i.toString();
|
24913
25198
|
el.tabIndex = -1;
|
24914
25199
|
el.addEventListener("keydown", (ev) => {
|
@@ -24934,7 +25219,7 @@ class ToggleButtonGroup {
|
|
24934
25219
|
return Array.from(this.el.querySelectorAll("ic-toggle-button"));
|
24935
25220
|
}
|
24936
25221
|
render() {
|
24937
|
-
return (hAsync(Host, { role: "group", "aria-label": this.accessibleLabel,
|
25222
|
+
return (hAsync(Host, { role: "group", "aria-label": this.accessibleLabel, tabindex: 0, class: {
|
24938
25223
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
24939
25224
|
["ic-toggle-button-group-full-width"]: this.fullWidth,
|
24940
25225
|
["ic-toggle-button-group-loading"]: this.loading,
|
@@ -24946,8 +25231,12 @@ class ToggleButtonGroup {
|
|
24946
25231
|
get el() { return getElement(this); }
|
24947
25232
|
static get watchers() { return {
|
24948
25233
|
"disabled": ["watchDisabledHandler"],
|
25234
|
+
"fullWidth": ["watchFullWidthHandler"],
|
25235
|
+
"loading": ["watchLoadingHandler"],
|
24949
25236
|
"monochrome": ["watchMonochromeHandler"],
|
24950
|
-
"
|
25237
|
+
"size": ["watchSizeHandler"],
|
25238
|
+
"theme": ["watchThemeHandler"],
|
25239
|
+
"variant": ["watchVariantHandler"]
|
24951
25240
|
}; }
|
24952
25241
|
static get style() { return icToggleButtonGroupCss; }
|
24953
25242
|
static get cmpMeta() { return {
|
@@ -25214,7 +25503,7 @@ class Tooltip {
|
|
25214
25503
|
}; }
|
25215
25504
|
}
|
25216
25505
|
|
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}}";
|
25506
|
+
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
25507
|
|
25219
25508
|
/**
|
25220
25509
|
* @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 +25820,6 @@ class TreeItem {
|
|
25531
25820
|
}
|
25532
25821
|
}
|
25533
25822
|
};
|
25534
|
-
this.hostMutationCallback = (mutationList) => {
|
25535
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
25536
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, "icon")
|
25537
|
-
: false)) ;
|
25538
|
-
};
|
25539
25823
|
this.handleDisplayTooltip = (display) => {
|
25540
25824
|
const typographyEl = this.el.shadowRoot.querySelector(".tree-item-label");
|
25541
25825
|
const tooltip = typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.closest(this.TOOLTIP);
|
@@ -25586,7 +25870,7 @@ class TreeItem {
|
|
25586
25870
|
}, 100);
|
25587
25871
|
!isSlotUsed(this.el, "label") &&
|
25588
25872
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tree item");
|
25589
|
-
this.hostMutationObserver = new MutationObserver(
|
25873
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "icon"));
|
25590
25874
|
this.hostMutationObserver.observe(this.el, {
|
25591
25875
|
childList: true,
|
25592
25876
|
});
|
@@ -25832,11 +26116,6 @@ class TreeView {
|
|
25832
26116
|
}
|
25833
26117
|
}
|
25834
26118
|
};
|
25835
|
-
this.hostMutationCallback = (mutationList) => {
|
25836
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
25837
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, "icon")
|
25838
|
-
: false)) ;
|
25839
|
-
};
|
25840
26119
|
this.isHeadingDefined = () => isPropDefined(this.heading) && this.heading !== null;
|
25841
26120
|
this.hasHeadingAreaContent = () => {
|
25842
26121
|
return (isSlotUsed(this.el, "heading") ||
|
@@ -25888,7 +26167,7 @@ class TreeView {
|
|
25888
26167
|
this.truncateHeading && this.truncateTreeViewHeading();
|
25889
26168
|
}, 100);
|
25890
26169
|
this.addSlotChangeListener();
|
25891
|
-
this.hostMutationObserver = new MutationObserver(
|
26170
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "icon"));
|
25892
26171
|
this.hostMutationObserver.observe(this.el, {
|
25893
26172
|
childList: true,
|
25894
26173
|
});
|