@ukic/web-components 3.0.0-alpha.6 → 3.0.0-alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -4
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-dd569d97.js → helpers-8ca38600.js} +24 -1
- package/dist/cjs/helpers-8ca38600.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-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-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +2 -12
- package/dist/cjs/ic-empty-state.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-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +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-select.cjs.entry.js +44 -32
- package/dist/cjs/ic-select.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-text-field.cjs.entry.js +10 -8
- package/dist/cjs/ic-text-field.cjs.entry.js.map +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-typography.cjs.entry.js +1 -1
- package/dist/cjs/index-f982899d.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/ag-theme-icds.css +32 -31
- package/dist/collection/components/ic-alert/ic-alert.js +3 -10
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +21 -3
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -1
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +13 -20
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -1
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js +34 -3
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +3 -13
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.js +18 -7
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +41 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.js +3 -10
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +21 -3
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -10
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +21 -3
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +6 -0
- package/dist/collection/components/ic-menu/ic-menu.js +38 -11
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +9 -9
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +66 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +53 -28
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +59 -93
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.js +46 -34
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +64 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.js +16 -9
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +68 -15
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +33 -9
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +79 -14
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +4 -0
- package/dist/collection/testspec.setup.js +14 -0
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/helpers.js +20 -0
- 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/ic-alert.js +3 -10
- package/dist/components/ic-alert.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-empty-state.js +3 -13
- package/dist/components/ic-empty-state.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-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-search-bar.js +46 -53
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +45 -33
- package/dist/components/ic-select.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-field.js +371 -1
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.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/core/ag-theme-icds.css +32 -31
- 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-bc7b8a1e.entry.js → p-076c3140.entry.js} +2 -2
- package/dist/core/p-08ff51ff.entry.js +2 -0
- package/dist/core/p-08ff51ff.entry.js.map +1 -0
- package/dist/core/{p-b5439baa.entry.js → p-229523bc.entry.js} +2 -2
- package/dist/core/p-2392b3ef.js +2 -0
- package/dist/core/p-2392b3ef.js.map +1 -0
- package/dist/core/p-28af4d8a.entry.js +2 -0
- package/dist/core/p-28af4d8a.entry.js.map +1 -0
- package/dist/core/p-333d1e79.entry.js +2 -0
- package/dist/core/p-333d1e79.entry.js.map +1 -0
- package/dist/core/p-3a1a7524.entry.js +2 -0
- package/dist/core/{p-cfe32b37.entry.js.map → p-3a1a7524.entry.js.map} +1 -1
- package/dist/core/{p-a23c515d.entry.js → p-434fa633.entry.js} +2 -2
- package/dist/core/{p-5d417fc0.entry.js → p-492c7e88.entry.js} +2 -2
- package/dist/core/{p-b9aa801f.entry.js → p-4bdd6aad.entry.js} +2 -2
- package/dist/core/{p-0b8c3770.entry.js → p-4e9a0efe.entry.js} +2 -2
- package/dist/core/{p-3cfef37a.entry.js → p-50601f1e.entry.js} +2 -2
- package/dist/core/p-537af2dd.entry.js +2 -0
- package/dist/core/p-537af2dd.entry.js.map +1 -0
- package/dist/core/{p-07cd8a50.entry.js → p-54604d29.entry.js} +2 -2
- package/dist/core/p-5637b986.entry.js +2 -0
- package/dist/core/{p-dcb2073d.entry.js.map → p-5637b986.entry.js.map} +1 -1
- package/dist/core/p-56b5e33e.entry.js +2 -0
- package/dist/core/p-56b5e33e.entry.js.map +1 -0
- package/dist/core/p-5aa7dcae.entry.js +2 -0
- package/dist/core/p-5aa7dcae.entry.js.map +1 -0
- package/dist/core/{p-c2b359d9.entry.js → p-5c5b0b12.entry.js} +2 -2
- package/dist/core/p-6594d2df.entry.js +2 -0
- package/dist/core/{p-3420a999.entry.js.map → p-6594d2df.entry.js.map} +1 -1
- package/dist/core/{p-810f5a2d.entry.js → p-67a75b77.entry.js} +2 -2
- package/dist/core/p-67a75b77.entry.js.map +1 -0
- package/dist/core/{p-4f72a02a.entry.js → p-68046114.entry.js} +2 -2
- package/dist/core/{p-705db6a5.entry.js → p-6c7836ff.entry.js} +2 -2
- package/dist/core/{p-da85eaf6.entry.js → p-74b8206f.entry.js} +2 -2
- package/dist/core/{p-520c6089.entry.js → p-7f05cc17.entry.js} +2 -2
- package/dist/core/{p-d2909711.entry.js → p-81e8d7c5.entry.js} +2 -2
- package/dist/core/{p-b2a41070.entry.js → p-840113b1.entry.js} +2 -2
- package/dist/core/{p-ded2dbed.entry.js → p-84c28c4d.entry.js} +2 -2
- package/dist/core/{p-7124b387.entry.js → p-88fdd912.entry.js} +2 -2
- package/dist/core/{p-b51e378c.entry.js → p-8a66d8b0.entry.js} +2 -2
- package/dist/core/{p-225384ab.entry.js → p-8aceec77.entry.js} +2 -2
- package/dist/core/{p-0821fc5b.entry.js → p-91c46a86.entry.js} +2 -2
- package/dist/core/p-91c46a86.entry.js.map +1 -0
- package/dist/core/{p-91c1327d.entry.js → p-92e3c5a2.entry.js} +2 -2
- package/dist/core/{p-f42c0469.entry.js → p-98429cbe.entry.js} +2 -2
- package/dist/core/{p-b27dfa1b.entry.js → p-98963b03.entry.js} +2 -2
- package/dist/core/{p-3994d86d.entry.js → p-a3b00ec1.entry.js} +2 -2
- package/dist/core/{p-9c1d4f72.entry.js → p-a4467032.entry.js} +2 -2
- package/dist/core/{p-193582d4.entry.js → p-a6f25812.entry.js} +2 -2
- package/dist/core/p-a81a91a2.entry.js +2 -0
- package/dist/core/p-a81a91a2.entry.js.map +1 -0
- package/dist/core/{p-c83e933c.entry.js → p-ab14882b.entry.js} +2 -2
- package/dist/core/p-ac61fa48.entry.js +2 -0
- package/dist/core/p-ac61fa48.entry.js.map +1 -0
- package/dist/core/{p-580b1593.entry.js → p-b468aa80.entry.js} +2 -2
- package/dist/core/{p-4dc48606.entry.js → p-cf5f427b.entry.js} +2 -2
- package/dist/core/{p-5d653608.entry.js → p-cfcb0c5b.entry.js} +2 -2
- package/dist/core/p-d41e5b62.entry.js +2 -0
- package/dist/core/p-d41e5b62.entry.js.map +1 -0
- package/dist/core/{p-98dbbb34.entry.js → p-d7043445.entry.js} +2 -2
- package/dist/core/{p-406e58af.entry.js → p-e2de6dd4.entry.js} +2 -2
- package/dist/core/{p-0d505c1f.entry.js → p-e719ae4e.entry.js} +2 -2
- package/dist/core/{p-4af52174.entry.js → p-ea71e89f.entry.js} +2 -2
- package/dist/core/{p-518ea375.entry.js → p-ee0d4bf4.entry.js} +2 -2
- package/dist/core/{p-a24bcf5f.entry.js → p-f0e45316.entry.js} +2 -2
- package/dist/core/p-f297c365.entry.js +2 -0
- package/dist/core/p-f297c365.entry.js.map +1 -0
- package/dist/core/{p-5ba8e679.entry.js → p-f61170f3.entry.js} +2 -2
- package/dist/core/{p-61510f00.entry.js → p-f7b71154.entry.js} +2 -2
- package/dist/core/{p-1234f7a5.entry.js → p-fb7a9d6b.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-e594bfc6.js → helpers-1c6e542d.js} +23 -2
- package/dist/esm/helpers-1c6e542d.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-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-dialog.entry.js +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +3 -13
- package/dist/esm/ic-empty-state.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-item.entry.js +1 -1
- package/dist/esm/ic-pagination.entry.js +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-select.entry.js +44 -32
- package/dist/esm/ic-select.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-text-field.entry.js +10 -8
- package/dist/esm/ic-text-field.entry.js.map +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-typography.entry.js +1 -1
- package/dist/esm/index-d1d2c456.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-alert/ic-alert.d.ts +0 -1
- package/dist/types/components/ic-card-vertical/ic-card-vertical.d.ts +0 -1
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +0 -1
- package/dist/types/components/ic-footer/ic-footer.d.ts +1 -0
- package/dist/types/components/ic-hero/ic-hero.d.ts +0 -1
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -1
- package/dist/types/components/ic-menu/ic-menu.d.ts +6 -1
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +9 -2
- package/dist/types/components/ic-select/ic-select.d.ts +5 -4
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +2 -1
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +3 -3
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +4 -0
- package/dist/types/components.d.ts +17 -7
- package/dist/types/testspec.setup.d.ts +9 -0
- package/dist/types/utils/helpers.d.ts +3 -0
- package/dist/types/utils/types.d.ts +1 -0
- package/hydrate/index.js +243 -150
- package/package.json +2 -9
- package/vscode-data.json +1 -1
- package/dist/cjs/helpers-dd569d97.js.map +0 -1
- package/dist/components/ic-text-field2.js +0 -373
- package/dist/components/ic-text-field2.js.map +0 -1
- package/dist/core/p-0821fc5b.entry.js.map +0 -1
- package/dist/core/p-3420a999.entry.js +0 -2
- package/dist/core/p-3bfc4a52.entry.js +0 -2
- package/dist/core/p-3bfc4a52.entry.js.map +0 -1
- package/dist/core/p-48e98730.js +0 -2
- package/dist/core/p-48e98730.js.map +0 -1
- package/dist/core/p-59800237.entry.js +0 -2
- package/dist/core/p-59800237.entry.js.map +0 -1
- package/dist/core/p-6159b077.entry.js +0 -2
- package/dist/core/p-6159b077.entry.js.map +0 -1
- package/dist/core/p-6859019c.entry.js +0 -2
- package/dist/core/p-6859019c.entry.js.map +0 -1
- package/dist/core/p-810744b5.entry.js +0 -2
- package/dist/core/p-810744b5.entry.js.map +0 -1
- package/dist/core/p-810f5a2d.entry.js.map +0 -1
- package/dist/core/p-8a2670c1.entry.js +0 -2
- package/dist/core/p-8a2670c1.entry.js.map +0 -1
- package/dist/core/p-aefebee9.entry.js +0 -2
- package/dist/core/p-aefebee9.entry.js.map +0 -1
- package/dist/core/p-c67f7603.entry.js +0 -2
- package/dist/core/p-c67f7603.entry.js.map +0 -1
- package/dist/core/p-c6e91e13.entry.js +0 -2
- package/dist/core/p-c6e91e13.entry.js.map +0 -1
- package/dist/core/p-ca27ab19.entry.js +0 -2
- package/dist/core/p-ca27ab19.entry.js.map +0 -1
- package/dist/core/p-cfe32b37.entry.js +0 -2
- package/dist/core/p-dcb2073d.entry.js +0 -2
- package/dist/esm/helpers-e594bfc6.js.map +0 -1
- /package/dist/core/{p-bc7b8a1e.entry.js.map → p-076c3140.entry.js.map} +0 -0
- /package/dist/core/{p-b5439baa.entry.js.map → p-229523bc.entry.js.map} +0 -0
- /package/dist/core/{p-a23c515d.entry.js.map → p-434fa633.entry.js.map} +0 -0
- /package/dist/core/{p-5d417fc0.entry.js.map → p-492c7e88.entry.js.map} +0 -0
- /package/dist/core/{p-b9aa801f.entry.js.map → p-4bdd6aad.entry.js.map} +0 -0
- /package/dist/core/{p-0b8c3770.entry.js.map → p-4e9a0efe.entry.js.map} +0 -0
- /package/dist/core/{p-3cfef37a.entry.js.map → p-50601f1e.entry.js.map} +0 -0
- /package/dist/core/{p-07cd8a50.entry.js.map → p-54604d29.entry.js.map} +0 -0
- /package/dist/core/{p-c2b359d9.entry.js.map → p-5c5b0b12.entry.js.map} +0 -0
- /package/dist/core/{p-4f72a02a.entry.js.map → p-68046114.entry.js.map} +0 -0
- /package/dist/core/{p-705db6a5.entry.js.map → p-6c7836ff.entry.js.map} +0 -0
- /package/dist/core/{p-da85eaf6.entry.js.map → p-74b8206f.entry.js.map} +0 -0
- /package/dist/core/{p-520c6089.entry.js.map → p-7f05cc17.entry.js.map} +0 -0
- /package/dist/core/{p-d2909711.entry.js.map → p-81e8d7c5.entry.js.map} +0 -0
- /package/dist/core/{p-b2a41070.entry.js.map → p-840113b1.entry.js.map} +0 -0
- /package/dist/core/{p-ded2dbed.entry.js.map → p-84c28c4d.entry.js.map} +0 -0
- /package/dist/core/{p-7124b387.entry.js.map → p-88fdd912.entry.js.map} +0 -0
- /package/dist/core/{p-b51e378c.entry.js.map → p-8a66d8b0.entry.js.map} +0 -0
- /package/dist/core/{p-225384ab.entry.js.map → p-8aceec77.entry.js.map} +0 -0
- /package/dist/core/{p-91c1327d.entry.js.map → p-92e3c5a2.entry.js.map} +0 -0
- /package/dist/core/{p-f42c0469.entry.js.map → p-98429cbe.entry.js.map} +0 -0
- /package/dist/core/{p-b27dfa1b.entry.js.map → p-98963b03.entry.js.map} +0 -0
- /package/dist/core/{p-3994d86d.entry.js.map → p-a3b00ec1.entry.js.map} +0 -0
- /package/dist/core/{p-9c1d4f72.entry.js.map → p-a4467032.entry.js.map} +0 -0
- /package/dist/core/{p-193582d4.entry.js.map → p-a6f25812.entry.js.map} +0 -0
- /package/dist/core/{p-c83e933c.entry.js.map → p-ab14882b.entry.js.map} +0 -0
- /package/dist/core/{p-580b1593.entry.js.map → p-b468aa80.entry.js.map} +0 -0
- /package/dist/core/{p-4dc48606.entry.js.map → p-cf5f427b.entry.js.map} +0 -0
- /package/dist/core/{p-5d653608.entry.js.map → p-cfcb0c5b.entry.js.map} +0 -0
- /package/dist/core/{p-98dbbb34.entry.js.map → p-d7043445.entry.js.map} +0 -0
- /package/dist/core/{p-406e58af.entry.js.map → p-e2de6dd4.entry.js.map} +0 -0
- /package/dist/core/{p-0d505c1f.entry.js.map → p-e719ae4e.entry.js.map} +0 -0
- /package/dist/core/{p-4af52174.entry.js.map → p-ea71e89f.entry.js.map} +0 -0
- /package/dist/core/{p-518ea375.entry.js.map → p-ee0d4bf4.entry.js.map} +0 -0
- /package/dist/core/{p-a24bcf5f.entry.js.map → p-f0e45316.entry.js.map} +0 -0
- /package/dist/core/{p-5ba8e679.entry.js.map → p-f61170f3.entry.js.map} +0 -0
- /package/dist/core/{p-61510f00.entry.js.map → p-f7b71154.entry.js.map} +0 -0
- /package/dist/core/{p-1234f7a5.entry.js.map → p-fb7a9d6b.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
@@ -8099,6 +8099,23 @@ const checkSlotInChildMutations = (addedNodes, removedNodes, slotName) => {
|
|
8099
8099
|
return hasSlot(addedNodes) || hasSlot(removedNodes);
|
8100
8100
|
};
|
8101
8101
|
const isElInAGGrid = (el) => !!el.closest(".ag-cell") && !!el.closest(".ag-root");
|
8102
|
+
/*
|
8103
|
+
* Checks if the component is slotted in its relevant 'group' component
|
8104
|
+
* @param component - the component to check
|
8105
|
+
*/
|
8106
|
+
const isSlottedInGroup = (component) => {
|
8107
|
+
var _a;
|
8108
|
+
const parent = (component === null || component === void 0 ? void 0 : component.tagName) + "-GROUP";
|
8109
|
+
return ((_a = component === null || component === void 0 ? void 0 : component.parentElement) === null || _a === void 0 ? void 0 : _a.tagName) === parent;
|
8110
|
+
};
|
8111
|
+
const hasDynamicChildSlots = (mutationList, slotNames) => {
|
8112
|
+
return mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
8113
|
+
? checkSlotInChildMutations(addedNodes, removedNodes, slotNames)
|
8114
|
+
: false);
|
8115
|
+
};
|
8116
|
+
const renderDynamicChildSlots = (mutationList, slotNames, ref) => {
|
8117
|
+
if (hasDynamicChildSlots(mutationList, slotNames)) ;
|
8118
|
+
};
|
8102
8119
|
|
8103
8120
|
var chevronIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
8104
8121
|
<path d="M9.70687 6L8.29688 7.41L12.8769 12L8.29688 16.59L9.70687 18L15.7069 12L9.70687 6Z" fill="currentColor"/>
|
@@ -8392,11 +8409,6 @@ class Alert {
|
|
8392
8409
|
this.dismissAction = () => {
|
8393
8410
|
this.icDismiss.emit();
|
8394
8411
|
};
|
8395
|
-
this.hostMutationCallback = (mutationList) => {
|
8396
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
8397
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, "action")
|
8398
|
-
: false)) ;
|
8399
|
-
};
|
8400
8412
|
this.alertTitleWrap = false;
|
8401
8413
|
this.visible = true;
|
8402
8414
|
this.announced = true;
|
@@ -8414,7 +8426,7 @@ class Alert {
|
|
8414
8426
|
}
|
8415
8427
|
componentDidLoad() {
|
8416
8428
|
this.alertTitleShouldWrap();
|
8417
|
-
this.hostMutationObserver = new MutationObserver(
|
8429
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "action"));
|
8418
8430
|
this.hostMutationObserver.observe(this.el, {
|
8419
8431
|
childList: true,
|
8420
8432
|
});
|
@@ -9485,21 +9497,6 @@ class CardVertical {
|
|
9485
9497
|
this.toggleExpanded = () => {
|
9486
9498
|
this.areaExpanded = !this.areaExpanded;
|
9487
9499
|
};
|
9488
|
-
this.hostMutationCallback = (mutationList) => {
|
9489
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
9490
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, [
|
9491
|
-
"message",
|
9492
|
-
"adornment",
|
9493
|
-
"expanded-content",
|
9494
|
-
"image-top",
|
9495
|
-
"image-mid",
|
9496
|
-
"icon",
|
9497
|
-
"interaction-button",
|
9498
|
-
"badge",
|
9499
|
-
"interaction-controls",
|
9500
|
-
])
|
9501
|
-
: false)) ;
|
9502
|
-
};
|
9503
9500
|
this.areaExpanded = false;
|
9504
9501
|
this.isFocussed = false;
|
9505
9502
|
this.monochrome = false;
|
@@ -9545,7 +9542,17 @@ class CardVertical {
|
|
9545
9542
|
!isSlotUsed(this.el, "heading") &&
|
9546
9543
|
onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Card");
|
9547
9544
|
this.updateTheme();
|
9548
|
-
this.hostMutationObserver = new MutationObserver(
|
9545
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, [
|
9546
|
+
"message",
|
9547
|
+
"adornment",
|
9548
|
+
"expanded-content",
|
9549
|
+
"image-top",
|
9550
|
+
"image-mid",
|
9551
|
+
"icon",
|
9552
|
+
"interaction-button",
|
9553
|
+
"badge",
|
9554
|
+
"interaction-controls",
|
9555
|
+
]));
|
9549
9556
|
this.hostMutationObserver.observe(this.el, {
|
9550
9557
|
childList: true,
|
9551
9558
|
});
|
@@ -10638,14 +10645,6 @@ class EmptyState {
|
|
10638
10645
|
constructor(hostRef) {
|
10639
10646
|
registerInstance(this, hostRef);
|
10640
10647
|
this.hostMutationObserver = null;
|
10641
|
-
this.hostMutationCallback = (mutationList) => {
|
10642
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
10643
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, [
|
10644
|
-
"image",
|
10645
|
-
"actions",
|
10646
|
-
])
|
10647
|
-
: false)) ;
|
10648
|
-
};
|
10649
10648
|
this.aligned = "left";
|
10650
10649
|
this.body = undefined;
|
10651
10650
|
this.maxLines = undefined;
|
@@ -10660,7 +10659,7 @@ class EmptyState {
|
|
10660
10659
|
componentDidLoad() {
|
10661
10660
|
!isSlotUsed(this.el, "heading") &&
|
10662
10661
|
onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Empty State");
|
10663
|
-
this.hostMutationObserver = new MutationObserver(
|
10662
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, ["image", "actions"]));
|
10664
10663
|
this.hostMutationObserver.observe(this.el, {
|
10665
10664
|
childList: true,
|
10666
10665
|
});
|
@@ -10704,6 +10703,7 @@ class Footer {
|
|
10704
10703
|
registerInstance(this, hostRef);
|
10705
10704
|
this.footerResized = createEvent(this, "footerResized", 7);
|
10706
10705
|
this.resizeObserver = null;
|
10706
|
+
this.hostMutationObserver = null;
|
10707
10707
|
this.resizeObserverCallback = (currSize) => {
|
10708
10708
|
if (currSize !== this.deviceSize) {
|
10709
10709
|
this.deviceSize = currSize;
|
@@ -10727,15 +10727,23 @@ class Footer {
|
|
10727
10727
|
this.groupLinks = false;
|
10728
10728
|
}
|
10729
10729
|
disconnectedCallback() {
|
10730
|
+
var _a;
|
10730
10731
|
if (this.resizeObserver !== null) {
|
10731
10732
|
this.resizeObserver.disconnect();
|
10732
10733
|
}
|
10734
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
10733
10735
|
}
|
10734
10736
|
componentWillLoad() {
|
10735
10737
|
this.deviceSize = getCurrentDeviceSize();
|
10736
10738
|
}
|
10737
10739
|
componentDidLoad() {
|
10738
10740
|
checkResizeObserver(this.runResizeObserver);
|
10741
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => {
|
10742
|
+
return renderDynamicChildSlots(mutationList, "link");
|
10743
|
+
});
|
10744
|
+
this.hostMutationObserver.observe(this.el, {
|
10745
|
+
childList: true,
|
10746
|
+
});
|
10739
10747
|
}
|
10740
10748
|
brandChangeHandler(ev) {
|
10741
10749
|
this.foregroundColor = ev.detail.mode;
|
@@ -10755,8 +10763,12 @@ class Footer {
|
|
10755
10763
|
: false;
|
10756
10764
|
}
|
10757
10765
|
render() {
|
10758
|
-
const { aligned, caption, copyright, description,
|
10766
|
+
const { aligned, caption, copyright, description, deviceSize, el, foregroundColor, groupLinks, } = this;
|
10759
10767
|
const small = this.isSmall();
|
10768
|
+
const showComplianceSection = isSlotUsed(el, "logo") ||
|
10769
|
+
isSlotUsed(el, "caption") ||
|
10770
|
+
caption ||
|
10771
|
+
copyright;
|
10760
10772
|
return (hAsync(Host, { class: {
|
10761
10773
|
["ic-footer"]: true,
|
10762
10774
|
[`ic-footer-${small ? "small" : "sparse"}`]: true,
|
@@ -10765,14 +10777,12 @@ class Footer {
|
|
10765
10777
|
// Slots will be able to infer their own color
|
10766
10778
|
[`ic-footer-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
|
10767
10779
|
[`ic-footer-${IcBrandForegroundEnum.Light}`]: foregroundColor === IcBrandForegroundEnum.Light,
|
10768
|
-
} }, hAsync("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, (isSlotUsed(
|
10769
|
-
? "caption"
|
10770
|
-
: "body" }, hAsync("slot", { name: "caption" }, caption)))), copyright && (hAsync("div", { class: {
|
10780
|
+
} }, hAsync("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, (isSlotUsed(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(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(el, "logo") && (hAsync("div", { class: "footer-logo" }, hAsync("slot", { name: "logo" }))), (isSlotUsed(el, "caption") || caption) && (hAsync("div", { class: "footer-caption" }, hAsync("ic-typography", { variant: deviceSize <= IC_DEVICE_SIZES.M ? "caption" : "body" }, hAsync("slot", { name: "caption" }, caption)))), copyright && (hAsync("div", { class: {
|
10771
10781
|
["footer-copyright"]: true,
|
10772
10782
|
["classification-spacing"]: hasClassificationBanner(),
|
10773
|
-
} }, hAsync("ic-typography", { variant:
|
10783
|
+
} }, hAsync("ic-typography", { variant: deviceSize <= IC_DEVICE_SIZES.M
|
10774
10784
|
? "caption-uppercase"
|
10775
|
-
: "label-uppercase" }, "\u00A9 Crown Copyright")))))))));
|
10785
|
+
: "label-uppercase" }, "\u00A9 Crown Copyright"))))))))));
|
10776
10786
|
}
|
10777
10787
|
get el() { return getElement(this); }
|
10778
10788
|
static get style() { return icFooterCss; }
|
@@ -10952,11 +10962,6 @@ class Hero {
|
|
10952
10962
|
constructor(hostRef) {
|
10953
10963
|
registerInstance(this, hostRef);
|
10954
10964
|
this.hostMutationObserver = null;
|
10955
|
-
this.hostMutationCallback = (mutationList) => {
|
10956
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
10957
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, "secondary")
|
10958
|
-
: false)) ;
|
10959
|
-
};
|
10960
10965
|
this.foregroundColor = getBrandForegroundAppearance();
|
10961
10966
|
this.rightContent = false;
|
10962
10967
|
this.leftContentFullWidth = !this.rightContent && this.secondaryHeading === undefined;
|
@@ -10981,7 +10986,7 @@ class Hero {
|
|
10981
10986
|
componentDidLoad() {
|
10982
10987
|
!isSlotUsed(this.el, "heading") &&
|
10983
10988
|
onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Hero");
|
10984
|
-
this.hostMutationObserver = new MutationObserver(
|
10989
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "secondary"));
|
10985
10990
|
this.hostMutationObserver.observe(this.el, {
|
10986
10991
|
childList: true,
|
10987
10992
|
});
|
@@ -11247,11 +11252,6 @@ const icInputComponentContainerCss = "ic-input-component-container{display:flex;
|
|
11247
11252
|
class InputComponentContainer {
|
11248
11253
|
constructor(hostRef) {
|
11249
11254
|
registerInstance(this, hostRef);
|
11250
|
-
this.hostMutationCallback = (mutationList) => {
|
11251
|
-
if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
|
11252
|
-
? checkSlotInChildMutations(addedNodes, removedNodes, "left-icon")
|
11253
|
-
: false)) ;
|
11254
|
-
};
|
11255
11255
|
this.disabled = false;
|
11256
11256
|
this.fullWidth = false;
|
11257
11257
|
this.multiLine = false;
|
@@ -11267,7 +11267,7 @@ class InputComponentContainer {
|
|
11267
11267
|
removeDisabledFalse(this.disabled, this.el);
|
11268
11268
|
}
|
11269
11269
|
componentDidLoad() {
|
11270
|
-
this.hostMutationObserver = new MutationObserver(
|
11270
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "left-icon"));
|
11271
11271
|
this.hostMutationObserver.observe(this.el, { childList: true });
|
11272
11272
|
}
|
11273
11273
|
render() {
|
@@ -13557,12 +13557,13 @@ var checkIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2
|
|
13557
13557
|
</svg>
|
13558
13558
|
`;
|
13559
13559
|
|
13560
|
-
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}}";
|
13560
|
+
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}}";
|
13561
13561
|
|
13562
13562
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
13563
13563
|
class Menu {
|
13564
13564
|
constructor(hostRef) {
|
13565
13565
|
registerInstance(this, hostRef);
|
13566
|
+
this.icClear = createEvent(this, "icClear", 7);
|
13566
13567
|
this.menuKeyPress = createEvent(this, "menuKeyPress", 7);
|
13567
13568
|
this.menuOptionId = createEvent(this, "menuOptionId", 7);
|
13568
13569
|
this.menuOptionSelect = createEvent(this, "menuOptionSelect", 7);
|
@@ -13573,6 +13574,7 @@ class Menu {
|
|
13573
13574
|
this.ungroupedOptionsSet = createEvent(this, "ungroupedOptionsSet", 7);
|
13574
13575
|
this.ACTIVE_DESCENDANT = "aria-activedescendant";
|
13575
13576
|
this.CLEAR_BUTTON_ID = "clear-button";
|
13577
|
+
this.SEARCH_BAR_TAG = "IC-SEARCH-BAR";
|
13576
13578
|
this.disabledOptionSelected = false;
|
13577
13579
|
this.hasPreviouslyBlurred = false;
|
13578
13580
|
this.hasTimedOut = false;
|
@@ -13637,7 +13639,7 @@ class Menu {
|
|
13637
13639
|
}
|
13638
13640
|
};
|
13639
13641
|
this.getParentEl = (parent) => {
|
13640
|
-
if (parent.tagName ===
|
13642
|
+
if (parent.tagName === this.SEARCH_BAR_TAG) {
|
13641
13643
|
this.isSearchBar = true;
|
13642
13644
|
}
|
13643
13645
|
else if (parent.tagName === "IC-SELECT") {
|
@@ -13889,7 +13891,7 @@ class Menu {
|
|
13889
13891
|
// Otherwise, if a different OS, checks Ctrl key
|
13890
13892
|
if ((isMacDevice() && event.metaKey) ||
|
13891
13893
|
(!isMacDevice() && event.ctrlKey)) {
|
13892
|
-
this.
|
13894
|
+
this.emitSelectAllEvents();
|
13893
13895
|
this.lastOptionFocused = null;
|
13894
13896
|
this.lastOptionSelected = null;
|
13895
13897
|
}
|
@@ -14015,7 +14017,7 @@ class Menu {
|
|
14015
14017
|
this.handleSelectAllClick = () => {
|
14016
14018
|
this.keyboardNav = false;
|
14017
14019
|
this.menu.focus();
|
14018
|
-
this.
|
14020
|
+
this.emitSelectAllEvents();
|
14019
14021
|
this.lastOptionFocused = null;
|
14020
14022
|
this.lastOptionSelected = null;
|
14021
14023
|
};
|
@@ -14086,13 +14088,17 @@ class Menu {
|
|
14086
14088
|
? this.lastOptionSelected
|
14087
14089
|
: null;
|
14088
14090
|
};
|
14089
|
-
this.
|
14090
|
-
var _a;
|
14091
|
+
this.emitSelectAllEvents = () => {
|
14092
|
+
var _a, _b;
|
14091
14093
|
// Select all if there is either no value or not all options are selected
|
14092
14094
|
// 'true' means select all, 'false' means clear all
|
14093
14095
|
this.menuOptionSelectAll.emit({
|
14094
14096
|
select: !this.value || !(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === this.ungroupedOptions.length),
|
14095
14097
|
});
|
14098
|
+
// Emit clear event if all options are selected
|
14099
|
+
if (((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) === this.ungroupedOptions.length) {
|
14100
|
+
this.icClear.emit();
|
14101
|
+
}
|
14096
14102
|
};
|
14097
14103
|
this.emitMenuKeyPress = (isNavKey, key) => {
|
14098
14104
|
this.menuKeyPress.emit({ isNavKey: isNavKey, key: key });
|
@@ -14237,7 +14243,7 @@ class Menu {
|
|
14237
14243
|
const showCheckIcon = !!option[this.valueField] &&
|
14238
14244
|
!!this.value &&
|
14239
14245
|
selected &&
|
14240
|
-
this.parentEl.tagName !==
|
14246
|
+
this.parentEl.tagName !== this.SEARCH_BAR_TAG;
|
14241
14247
|
return (hAsync(Fragment, null, option.loading && hAsync("ic-loading-indicator", { size: "icon" }), hAsync("div", { class: {
|
14242
14248
|
"option-text-container": true,
|
14243
14249
|
"show-check-icon": showCheckIcon,
|
@@ -14358,8 +14364,7 @@ class Menu {
|
|
14358
14364
|
highlightedEl.focus();
|
14359
14365
|
}
|
14360
14366
|
}
|
14361
|
-
else if (this.inputEl.tagName !== "
|
14362
|
-
this.inputEl.tagName !== "INPUT") {
|
14367
|
+
else if (this.inputEl.tagName !== "INPUT") {
|
14363
14368
|
this.menu.focus();
|
14364
14369
|
}
|
14365
14370
|
}
|
@@ -14445,16 +14450,24 @@ class Menu {
|
|
14445
14450
|
this.focusFromSearchKeypress = true;
|
14446
14451
|
}
|
14447
14452
|
render() {
|
14448
|
-
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, } = this;
|
14453
|
+
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, } = this;
|
14449
14454
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
14450
14455
|
const hasNoResults = this.host.classList.contains("no-results");
|
14451
14456
|
return (hAsync(Host, { class: {
|
14452
14457
|
"ic-menu-full-width": fullWidth,
|
14453
|
-
"ic-menu-no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT"
|
14458
|
+
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
14459
|
+
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
14460
|
+
hasTimedOut ||
|
14461
|
+
isLoading,
|
14454
14462
|
[`ic-menu-${size}`]: true,
|
14455
14463
|
"ic-menu-open": open && options.length !== 0,
|
14456
14464
|
"ic-menu-multiple": this.isMultiSelect,
|
14457
|
-
} }, options.length !== 0 && (hAsync("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open &&
|
14465
|
+
} }, options.length !== 0 && (hAsync("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open &&
|
14466
|
+
!keyboardNav &&
|
14467
|
+
((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
|
14468
|
+
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
|
14469
|
+
? "0"
|
14470
|
+
: "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
|
14458
14471
|
if (option.children) {
|
14459
14472
|
if (option.children.length > 0) {
|
14460
14473
|
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 &&
|
@@ -16666,7 +16679,7 @@ var searchIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xm
|
|
16666
16679
|
<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"/>
|
16667
16680
|
</svg>`;
|
16668
16681
|
|
16669
|
-
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}}";
|
16682
|
+
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}}";
|
16670
16683
|
|
16671
16684
|
let inputIds$3 = 0;
|
16672
16685
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
@@ -16684,6 +16697,7 @@ class SearchBar {
|
|
16684
16697
|
this.icSubmitSearchBlur = createEvent(this, "icSubmitSearchBlur", 7);
|
16685
16698
|
this.icSearchBarBlur = createEvent(this, "icSearchBarBlur", 7);
|
16686
16699
|
this.icSearchBarFocus = createEvent(this, "icSearchBarFocus", 7);
|
16700
|
+
this.icKeydown = createEvent(this, "icKeydown", 7);
|
16687
16701
|
this.assistiveHintEl = null;
|
16688
16702
|
this.hasTimedOut = false;
|
16689
16703
|
this.inputId = `ic-search-bar-input-${inputIds$3++}`;
|
@@ -16713,6 +16727,7 @@ class SearchBar {
|
|
16713
16727
|
};
|
16714
16728
|
this.onInput = (ev) => {
|
16715
16729
|
this.value = ev.target.value;
|
16730
|
+
this.icInput.emit({ value: this.value });
|
16716
16731
|
const noOptions = [
|
16717
16732
|
{ [this.labelField]: this.emptyOptionListText, [this.valueField]: "" },
|
16718
16733
|
];
|
@@ -16821,10 +16836,7 @@ class SearchBar {
|
|
16821
16836
|
this.handleMenuChange = (ev) => {
|
16822
16837
|
this.setMenuChange(ev.detail.open);
|
16823
16838
|
if (!ev.detail.open) {
|
16824
|
-
this.
|
16825
|
-
if (ev.detail.focusInput === undefined || ev.detail.focusInput) {
|
16826
|
-
this.el.setFocus();
|
16827
|
-
}
|
16839
|
+
this.menuCloseFromMenuChangeEvent = true;
|
16828
16840
|
}
|
16829
16841
|
};
|
16830
16842
|
this.setMenuChange = (open) => {
|
@@ -16841,6 +16853,7 @@ class SearchBar {
|
|
16841
16853
|
this.icSearchBarFocus.emit();
|
16842
16854
|
};
|
16843
16855
|
this.handleHostBlur = (ev) => {
|
16856
|
+
var _a;
|
16844
16857
|
const nextFocus = ev.relatedTarget;
|
16845
16858
|
if (this.open &&
|
16846
16859
|
this.options &&
|
@@ -16850,10 +16863,10 @@ class SearchBar {
|
|
16850
16863
|
this.setMenuChange(false);
|
16851
16864
|
}
|
16852
16865
|
if (this.retryButtonClick || this.retryViaKeyPress) {
|
16853
|
-
this.inputEl.
|
16866
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
16854
16867
|
}
|
16855
16868
|
this.handleShowClearButton(false);
|
16856
|
-
this.
|
16869
|
+
this.menuCloseFromMenuChangeEvent = false;
|
16857
16870
|
this.handleTruncateValue(true);
|
16858
16871
|
this.icSearchBarBlur.emit({ relatedTarget: nextFocus, value: this.value });
|
16859
16872
|
this.retryViaKeyPress = false;
|
@@ -16865,16 +16878,12 @@ class SearchBar {
|
|
16865
16878
|
this.handleFocusClearButton = () => {
|
16866
16879
|
this.clearButtonFocused = true;
|
16867
16880
|
};
|
16868
|
-
this.handleMenuCloseFromMenuChange = (fromEvent) => {
|
16869
|
-
this.menuCloseFromMenuChangeEvent = fromEvent;
|
16870
|
-
};
|
16871
16881
|
this.handleTruncateValue = (truncate) => {
|
16872
16882
|
this.truncateValue = truncate;
|
16873
16883
|
};
|
16874
16884
|
this.renderAssistiveHintEl = () => {
|
16875
|
-
var _a
|
16876
|
-
const input = (
|
16877
|
-
.querySelector("ic-text-field")) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(`#${this.inputId}`);
|
16885
|
+
var _a;
|
16886
|
+
const input = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`#${this.inputId}`);
|
16878
16887
|
if (input &&
|
16879
16888
|
Object.keys(input).length > 0 &&
|
16880
16889
|
this.hasOptionsOrFilterDisabled()) {
|
@@ -16976,6 +16985,9 @@ class SearchBar {
|
|
16976
16985
|
watchDisabledHandler() {
|
16977
16986
|
removeDisabledFalse(this.disabled, this.el);
|
16978
16987
|
}
|
16988
|
+
debounceChanged() {
|
16989
|
+
this.icChange = debounceEvent(this.icChange, this.debounce);
|
16990
|
+
}
|
16979
16991
|
loadingHandler(newValue) {
|
16980
16992
|
if (newValue && !this.hasTimedOut) {
|
16981
16993
|
this.preLoad = false;
|
@@ -17018,6 +17030,10 @@ class SearchBar {
|
|
17018
17030
|
else if (this.inputEl && this.inputEl.value !== newValue) {
|
17019
17031
|
this.inputEl.value = newValue;
|
17020
17032
|
}
|
17033
|
+
this.icChange.emit({ value: newValue });
|
17034
|
+
}
|
17035
|
+
connectedCallback() {
|
17036
|
+
this.debounceChanged();
|
17021
17037
|
}
|
17022
17038
|
disconnectedCallback() {
|
17023
17039
|
if (this.assistiveHintEl) {
|
@@ -17039,17 +17055,14 @@ class SearchBar {
|
|
17039
17055
|
}
|
17040
17056
|
}
|
17041
17057
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Search Bar");
|
17042
|
-
if (this.inputEl !== undefined) {
|
17043
|
-
this.anchorEl = this.inputEl.shadowRoot.querySelector("ic-input-component-container");
|
17044
|
-
}
|
17045
17058
|
}
|
17046
17059
|
componentWillRender() {
|
17047
17060
|
this.highlightFirstOptionAfterNoResults();
|
17048
17061
|
}
|
17049
|
-
handleKeyDown(
|
17050
|
-
|
17062
|
+
handleKeyDown(event) {
|
17063
|
+
this.icKeydown.emit({ event });
|
17051
17064
|
if (this.menu && this.open) {
|
17052
|
-
this.menu.handleKeyboardOpen(
|
17065
|
+
this.menu.handleKeyboardOpen(event);
|
17053
17066
|
}
|
17054
17067
|
}
|
17055
17068
|
handleKeyUp(ev) {
|
@@ -17071,11 +17084,10 @@ class SearchBar {
|
|
17071
17084
|
* Sets focus on the native `input`.
|
17072
17085
|
*/
|
17073
17086
|
async setFocus() {
|
17087
|
+
var _a;
|
17074
17088
|
this.retryViaKeyPress = false;
|
17075
17089
|
this.retryButtonClick = false;
|
17076
|
-
|
17077
|
-
this.inputEl.setFocus();
|
17078
|
-
}
|
17090
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
17079
17091
|
}
|
17080
17092
|
debounceAriaLiveUpdate() {
|
17081
17093
|
clearTimeout(this.debounceAriaLive);
|
@@ -17111,24 +17123,28 @@ class SearchBar {
|
|
17111
17123
|
["ic-search-bar-disabled"]: disabled,
|
17112
17124
|
["ic-search-bar-small"]: size === "small",
|
17113
17125
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
17114
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-
|
17126
|
+
}, 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: {
|
17127
|
+
"no-left-pad": readonly,
|
17128
|
+
readonly,
|
17129
|
+
"truncate-value": truncateValue,
|
17130
|
+
}, 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: {
|
17115
17131
|
"clear-button-container": true,
|
17116
17132
|
"clear-button-visible": value && !disabledMode && this.showClearButton,
|
17117
|
-
}
|
17133
|
+
} }, hAsync("ic-button", { id: "clear-button", class: {
|
17118
17134
|
"clear-button": true,
|
17119
17135
|
"clear-button-unfocused": !this.clearButtonFocused,
|
17120
17136
|
}, "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: {
|
17121
17137
|
"search-submit-button-container": true,
|
17122
17138
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
17123
|
-
}
|
17139
|
+
} }, hAsync("ic-button", { id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
17124
17140
|
["search-submit-button"]: true,
|
17125
17141
|
["search-submit-button-small"]: size === "small",
|
17126
17142
|
["search-submit-button-unfocused"]: !this.searchSubmitFocused,
|
17127
17143
|
["search-submit-button-disabled"]: this.isSubmitDisabled(),
|
17128
|
-
}, 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: {
|
17144
|
+
}, 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: {
|
17129
17145
|
"menu-container": true,
|
17130
17146
|
fullwidth: fullWidth,
|
17131
|
-
}
|
17147
|
+
} }, menuRendered && (hAsync("ic-menu", { class: {
|
17132
17148
|
"no-results": this.hadNoOptions() ||
|
17133
17149
|
(filteredOptions.length === 1 &&
|
17134
17150
|
(filteredOptions[0][this.labelField] ===
|
@@ -17141,6 +17157,7 @@ class SearchBar {
|
|
17141
17157
|
get el() { return getElement(this); }
|
17142
17158
|
static get watchers() { return {
|
17143
17159
|
"disabled": ["watchDisabledHandler"],
|
17160
|
+
"debounce": ["debounceChanged"],
|
17144
17161
|
"loading": ["loadingHandler"],
|
17145
17162
|
"filteredOptions": ["filteredOptionsHandler"],
|
17146
17163
|
"options": ["watchOptionsHandler"],
|
@@ -17191,7 +17208,7 @@ class SearchBar {
|
|
17191
17208
|
"filteredOptions": [32],
|
17192
17209
|
"setFocus": [64]
|
17193
17210
|
},
|
17194
|
-
"$listeners$": [[0, "
|
17211
|
+
"$listeners$": [[0, "keydown", "handleKeyDown"], [0, "keyup", "handleKeyUp"]],
|
17195
17212
|
"$lazyBundleId$": "-",
|
17196
17213
|
"$attrsToReflect$": [["value", "value"]]
|
17197
17214
|
}; }
|
@@ -17285,28 +17302,26 @@ class Select {
|
|
17285
17302
|
this.blurredBecauseButtonPressed = true;
|
17286
17303
|
this.retryButtonClick = true;
|
17287
17304
|
this.hasSetDefaultValue = true;
|
17288
|
-
this.icRetryLoad.emit({
|
17305
|
+
this.icRetryLoad.emit({
|
17306
|
+
value: this.searchable
|
17307
|
+
? this.searchableSelectInputValue
|
17308
|
+
: this.hiddenInputValue,
|
17309
|
+
});
|
17289
17310
|
};
|
17290
17311
|
this.emitIcChange = (value) => {
|
17291
|
-
|
17292
|
-
|
17293
|
-
|
17294
|
-
|
17295
|
-
|
17296
|
-
|
17297
|
-
this.value = value;
|
17298
|
-
}
|
17312
|
+
// If "Select all" button clicked, replace value with new value (array of all option values)
|
17313
|
+
if (this.multiple && !Array.isArray(value) && value !== null) {
|
17314
|
+
this.handleMultipleSelectChange(String(value));
|
17315
|
+
}
|
17316
|
+
else {
|
17317
|
+
this.value = value;
|
17299
17318
|
}
|
17300
|
-
|
17301
|
-
this.
|
17302
|
-
const valueToEmit = this.multiple ? this.value : value;
|
17303
|
-
this.icChange.emit({ value: valueToEmit });
|
17304
|
-
}, this.currDebounce);
|
17319
|
+
const valueToEmit = this.multiple ? this.value : value;
|
17320
|
+
this.icChange.emit({ value: valueToEmit });
|
17305
17321
|
};
|
17306
|
-
this.
|
17307
|
-
this.
|
17308
|
-
|
17309
|
-
this.icChange.emit({ value });
|
17322
|
+
this.emitIcInput = (value) => {
|
17323
|
+
clearTimeout(this.debounceIcInput);
|
17324
|
+
this.debounceIcInput = window.setTimeout(() => this.icInput.emit({ value }), this.currDebounce);
|
17310
17325
|
};
|
17311
17326
|
/**
|
17312
17327
|
* Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
|
@@ -17404,7 +17419,7 @@ class Select {
|
|
17404
17419
|
};
|
17405
17420
|
this.handleNativeSelectChange = () => {
|
17406
17421
|
this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
|
17407
|
-
this.
|
17422
|
+
this.emitIcChange(this.nativeSelectElement.value);
|
17408
17423
|
this.setTextColor();
|
17409
17424
|
};
|
17410
17425
|
// Handle option select for when a custom input box and menu is rendered
|
@@ -17539,13 +17554,10 @@ class Select {
|
|
17539
17554
|
event.stopPropagation();
|
17540
17555
|
this.hasTimedOut = false;
|
17541
17556
|
clearTimeout(this.timeoutTimer);
|
17542
|
-
this.
|
17543
|
-
this.
|
17557
|
+
this.clearInput();
|
17558
|
+
this.emitIcChange(null);
|
17544
17559
|
this.icClear.emit();
|
17545
17560
|
if (this.searchable) {
|
17546
|
-
this.searchableSelectElement.value = null;
|
17547
|
-
this.searchableSelectInputValue = null;
|
17548
|
-
this.filteredOptions = this.uniqueOptions;
|
17549
17561
|
this.hiddenInputValue = null;
|
17550
17562
|
this.searchableSelectElement.focus();
|
17551
17563
|
}
|
@@ -17569,7 +17581,7 @@ class Select {
|
|
17569
17581
|
this.pressedCharacters += key;
|
17570
17582
|
this.handleFilter();
|
17571
17583
|
if (!this.noOptions) {
|
17572
|
-
this.
|
17584
|
+
this.emitIcChange(this.filteredOptions[0].value);
|
17573
17585
|
}
|
17574
17586
|
}
|
17575
17587
|
}
|
@@ -17714,9 +17726,13 @@ class Select {
|
|
17714
17726
|
};
|
17715
17727
|
this.handleSearchableSelectInput = (event) => {
|
17716
17728
|
this.searchableSelectInputValue = event.target.value;
|
17717
|
-
this.
|
17718
|
-
|
17719
|
-
|
17729
|
+
this.emitIcInput(this.searchableSelectInputValue);
|
17730
|
+
// De-select previous selection when input is edited
|
17731
|
+
// Only emit icChange once when editing input
|
17732
|
+
if (this.value != null) {
|
17733
|
+
this.emitIcChange(null);
|
17734
|
+
}
|
17735
|
+
this.hiddenInputValue = null;
|
17720
17736
|
this.inputValueToFilter = this.searchableSelectInputValue;
|
17721
17737
|
this.setMenuChange(true);
|
17722
17738
|
if (!this.disableAutoFiltering) {
|
@@ -17774,6 +17790,10 @@ class Select {
|
|
17774
17790
|
if (isSearchableAndNoFocusedInternalElements) {
|
17775
17791
|
if (!this.retryButtonClick) {
|
17776
17792
|
this.setMenuChange(false);
|
17793
|
+
// Clear input field on blur when searchable if no option is selected
|
17794
|
+
if (!this.value) {
|
17795
|
+
this.clearInput();
|
17796
|
+
}
|
17777
17797
|
}
|
17778
17798
|
this.handleFocusIndicatorDisplay();
|
17779
17799
|
}
|
@@ -17797,9 +17817,17 @@ class Select {
|
|
17797
17817
|
this.hiddenInputValue = this.value;
|
17798
17818
|
}
|
17799
17819
|
};
|
17820
|
+
this.clearInput = () => {
|
17821
|
+
this.noOptions = null;
|
17822
|
+
if (this.searchable) {
|
17823
|
+
this.searchableSelectElement.value = null;
|
17824
|
+
this.searchableSelectInputValue = null;
|
17825
|
+
this.filteredOptions = this.uniqueOptions;
|
17826
|
+
}
|
17827
|
+
};
|
17800
17828
|
this.ariaActiveDescendant = undefined;
|
17801
17829
|
this.clearButtonFocused = false;
|
17802
|
-
this.
|
17830
|
+
this.debounceIcInput = undefined;
|
17803
17831
|
this.hiddenInputValue = undefined;
|
17804
17832
|
this.noOptions = null;
|
17805
17833
|
this.open = false;
|
@@ -17898,9 +17926,10 @@ class Select {
|
|
17898
17926
|
this.currValue = this.value;
|
17899
17927
|
}
|
17900
17928
|
}
|
17901
|
-
if (this.searchable) {
|
17929
|
+
if (this.searchable && this.value) {
|
17930
|
+
// Only set if value not null - prevents whole input value being cleared when edited
|
17902
17931
|
this.searchableSelectInputValue =
|
17903
|
-
this.getLabelFromValue(this.currValue) ||
|
17932
|
+
this.getLabelFromValue(String(this.currValue)) ||
|
17904
17933
|
this.currValue;
|
17905
17934
|
}
|
17906
17935
|
}
|
@@ -18082,7 +18111,7 @@ class Select {
|
|
18082
18111
|
"value": [1025],
|
18083
18112
|
"ariaActiveDescendant": [32],
|
18084
18113
|
"clearButtonFocused": [32],
|
18085
|
-
"
|
18114
|
+
"debounceIcInput": [32],
|
18086
18115
|
"hiddenInputValue": [32],
|
18087
18116
|
"noOptions": [32],
|
18088
18117
|
"open": [32],
|
@@ -19620,19 +19649,21 @@ class TextField {
|
|
19620
19649
|
this.checkChildHydration = () => {
|
19621
19650
|
var _a;
|
19622
19651
|
const el = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("ic-typography");
|
19623
|
-
if (el && el.classList.contains("hydrated")) {
|
19652
|
+
if (this.hideLabel || (el && el.classList.contains("hydrated"))) {
|
19624
19653
|
this.setFocus();
|
19625
19654
|
clearInterval(this.interval);
|
19626
19655
|
}
|
19627
19656
|
};
|
19657
|
+
this.getNumberOfCharacters = (value) => value !== null && value !== undefined ? value.length : 0;
|
19628
19658
|
this.getMaxValueExceeded = (value) => {
|
19659
|
+
this.numChars = this.getNumberOfCharacters(value);
|
19629
19660
|
if (this.type === "number") {
|
19630
19661
|
this.minValueUnattained = value && Number(value) < Number(this.min);
|
19631
19662
|
this.maxValueExceeded = Number(value) > Number(this.max);
|
19632
19663
|
}
|
19633
19664
|
};
|
19634
19665
|
this.getMaxCharactersReached = (value) => {
|
19635
|
-
this.numChars = value
|
19666
|
+
this.numChars = this.getNumberOfCharacters(value);
|
19636
19667
|
this.maxCharactersReached =
|
19637
19668
|
this.maxCharacters > 0 ? this.numChars >= this.maxCharacters : false;
|
19638
19669
|
if (this.maxCharactersWarning && !this.maxCharactersReached) {
|
@@ -19784,7 +19815,7 @@ class TextField {
|
|
19784
19815
|
/**
|
19785
19816
|
* Sets focus on the native `input`.
|
19786
19817
|
*/
|
19787
|
-
setFocus() {
|
19818
|
+
async setFocus() {
|
19788
19819
|
var _a;
|
19789
19820
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
19790
19821
|
}
|
@@ -19826,16 +19857,16 @@ class TextField {
|
|
19826
19857
|
const disabledText = disabledMode && !readonly;
|
19827
19858
|
const showLeftIcon = !!this.el.querySelector(`[slot="icon"]`) && !disabledText;
|
19828
19859
|
const invalid = `${currentStatus === IcInformationStatus.Error}`;
|
19829
|
-
|
19830
|
-
renderHiddenInput(true, this.el, name, value, disabledMode)
|
19831
|
-
|
19860
|
+
hiddenInput
|
19861
|
+
? renderHiddenInput(true, this.el, name, value, disabledMode)
|
19862
|
+
: removeHiddenInput(this.el);
|
19832
19863
|
return (hAsync(Host, { class: {
|
19833
19864
|
"ic-text-field-full-width": fullWidth,
|
19834
19865
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
19835
19866
|
"ic-text-field-disabled": disabledMode,
|
19836
19867
|
} }, 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: {
|
19837
19868
|
readonly,
|
19838
|
-
"has-value": value
|
19869
|
+
"has-value": this.getNumberOfCharacters(value) > 0,
|
19839
19870
|
}, 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: {
|
19840
19871
|
"no-left-pad": !showLeftIcon && readonly,
|
19841
19872
|
readonly,
|
@@ -20305,6 +20336,51 @@ class ToggleButton {
|
|
20305
20336
|
constructor(hostRef) {
|
20306
20337
|
registerInstance(this, hostRef);
|
20307
20338
|
this.icToggleChecked = createEvent(this, "icToggleChecked", 7);
|
20339
|
+
this.loopAttributes = () => {
|
20340
|
+
const trackedAttributes = [
|
20341
|
+
"loading",
|
20342
|
+
"disabled",
|
20343
|
+
"full-width",
|
20344
|
+
"icon-placement",
|
20345
|
+
"variant",
|
20346
|
+
"size",
|
20347
|
+
"theme",
|
20348
|
+
"monochrome",
|
20349
|
+
];
|
20350
|
+
const parentAttributes = this.el.parentElement.attributes;
|
20351
|
+
for (let i = 0; i < trackedAttributes.length; i++) {
|
20352
|
+
if (parentAttributes.getNamedItem(trackedAttributes[i]) !== null) {
|
20353
|
+
const attribute = parentAttributes.getNamedItem(trackedAttributes[i]);
|
20354
|
+
switch (attribute.name) {
|
20355
|
+
case trackedAttributes[0]:
|
20356
|
+
this.loading = attribute.value !== "false";
|
20357
|
+
break;
|
20358
|
+
case trackedAttributes[1]:
|
20359
|
+
console.log(attribute.value);
|
20360
|
+
this.disabled = attribute.value !== "false";
|
20361
|
+
break;
|
20362
|
+
case trackedAttributes[2]:
|
20363
|
+
this.fullWidth = attribute.value !== "false";
|
20364
|
+
break;
|
20365
|
+
case trackedAttributes[3]:
|
20366
|
+
this.iconPlacement = attribute.value;
|
20367
|
+
break;
|
20368
|
+
case trackedAttributes[4]:
|
20369
|
+
this.variant = attribute.value;
|
20370
|
+
break;
|
20371
|
+
case trackedAttributes[5]:
|
20372
|
+
this.size = attribute.value;
|
20373
|
+
break;
|
20374
|
+
case trackedAttributes[6]:
|
20375
|
+
this.theme = attribute.value;
|
20376
|
+
break;
|
20377
|
+
case trackedAttributes[7]:
|
20378
|
+
this.monochrome = attribute.value !== "false";
|
20379
|
+
break;
|
20380
|
+
}
|
20381
|
+
}
|
20382
|
+
}
|
20383
|
+
};
|
20308
20384
|
this.handleFocus = (ev) => {
|
20309
20385
|
ev.stopImmediatePropagation();
|
20310
20386
|
};
|
@@ -20319,7 +20395,7 @@ class ToggleButton {
|
|
20319
20395
|
this.checked = false;
|
20320
20396
|
this.disabled = false;
|
20321
20397
|
this.fullWidth = false;
|
20322
|
-
this.iconPlacement =
|
20398
|
+
this.iconPlacement = "left";
|
20323
20399
|
this.label = undefined;
|
20324
20400
|
this.loading = false;
|
20325
20401
|
this.monochrome = false;
|
@@ -20332,8 +20408,9 @@ class ToggleButton {
|
|
20332
20408
|
}
|
20333
20409
|
componentWillLoad() {
|
20334
20410
|
removeDisabledFalse(this.disabled, this.el);
|
20335
|
-
|
20336
|
-
|
20411
|
+
if (isSlottedInGroup(this.el)) {
|
20412
|
+
this.loopAttributes();
|
20413
|
+
}
|
20337
20414
|
}
|
20338
20415
|
componentDidLoad() {
|
20339
20416
|
onComponentRequiredPropUndefined([
|
@@ -20361,7 +20438,7 @@ class ToggleButton {
|
|
20361
20438
|
["ic-toggle-button-loading"]: this.loading,
|
20362
20439
|
["ic-toggle-button-monochrome"]: this.monochrome,
|
20363
20440
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
20364
|
-
}, 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
|
20441
|
+
}, 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(this.el, "icon") && (hAsync("slot", { name: "icon", slot: `${this.iconPlacement}-icon` })), isSlotUsed(this.el, "badge") && (hAsync("slot", { name: "badge", slot: "badge" })))));
|
20365
20442
|
}
|
20366
20443
|
static get delegatesFocus() { return true; }
|
20367
20444
|
get el() { return getElement(this); }
|
@@ -20375,15 +20452,15 @@ class ToggleButton {
|
|
20375
20452
|
"$members$": {
|
20376
20453
|
"accessibleLabel": [1, "accessible-label"],
|
20377
20454
|
"checked": [1540],
|
20378
|
-
"disabled": [
|
20379
|
-
"fullWidth": [
|
20455
|
+
"disabled": [1028],
|
20456
|
+
"fullWidth": [1028, "full-width"],
|
20380
20457
|
"iconPlacement": [1, "icon-placement"],
|
20381
20458
|
"label": [1],
|
20382
|
-
"loading": [
|
20383
|
-
"monochrome": [
|
20384
|
-
"size": [
|
20385
|
-
"theme": [
|
20386
|
-
"variant": [
|
20459
|
+
"loading": [1028],
|
20460
|
+
"monochrome": [1028],
|
20461
|
+
"size": [1025],
|
20462
|
+
"theme": [1025],
|
20463
|
+
"variant": [1537]
|
20387
20464
|
},
|
20388
20465
|
"$listeners$": [[2, "click", "handleHostClick"]],
|
20389
20466
|
"$lazyBundleId$": "-",
|
@@ -20493,16 +20570,36 @@ class ToggleButtonGroup {
|
|
20493
20570
|
});
|
20494
20571
|
removeDisabledFalse(this.disabled, this.el);
|
20495
20572
|
}
|
20573
|
+
watchFullWidthHandler() {
|
20574
|
+
this.getAllToggleButtons().forEach((el) => {
|
20575
|
+
el.fullWidth = this.fullWidth;
|
20576
|
+
});
|
20577
|
+
}
|
20578
|
+
watchLoadingHandler() {
|
20579
|
+
this.getAllToggleButtons().forEach((el) => {
|
20580
|
+
el.loading = this.loading;
|
20581
|
+
});
|
20582
|
+
}
|
20496
20583
|
watchMonochromeHandler() {
|
20497
20584
|
this.getAllToggleButtons().forEach((el) => {
|
20498
20585
|
el.monochrome = this.monochrome;
|
20499
20586
|
});
|
20500
20587
|
}
|
20588
|
+
watchSizeHandler() {
|
20589
|
+
this.getAllToggleButtons().forEach((el) => {
|
20590
|
+
el.size = this.size;
|
20591
|
+
});
|
20592
|
+
}
|
20501
20593
|
watchThemeHandler() {
|
20502
20594
|
this.getAllToggleButtons().forEach((el) => {
|
20503
20595
|
el.theme = this.theme;
|
20504
20596
|
});
|
20505
20597
|
}
|
20598
|
+
watchVariantHandler() {
|
20599
|
+
this.getAllToggleButtons().forEach((el) => {
|
20600
|
+
el.variant = this.variant;
|
20601
|
+
});
|
20602
|
+
}
|
20506
20603
|
selectHandler(ev, tabTarget) {
|
20507
20604
|
const allToggles = this.getAllToggleButtons();
|
20508
20605
|
let clickedToggle = ev.target;
|
@@ -20541,14 +20638,6 @@ class ToggleButtonGroup {
|
|
20541
20638
|
componentDidLoad() {
|
20542
20639
|
this.getAllToggleButtons().forEach((el, i) => {
|
20543
20640
|
this.setSlottedAria(el);
|
20544
|
-
el.size = this.size;
|
20545
|
-
el.loading = this.loading;
|
20546
|
-
el.iconPlacement = this.iconPlacement;
|
20547
|
-
el.disabled ? null : (el.disabled = this.disabled);
|
20548
|
-
el.theme = this.theme;
|
20549
|
-
el.monochrome = this.monochrome;
|
20550
|
-
el.variant = this.variant;
|
20551
|
-
el.fullWidth = this.fullWidth;
|
20552
20641
|
el.id = i.toString();
|
20553
20642
|
el.tabIndex = -1;
|
20554
20643
|
el.addEventListener("keydown", (ev) => {
|
@@ -20574,7 +20663,7 @@ class ToggleButtonGroup {
|
|
20574
20663
|
return Array.from(this.el.querySelectorAll("ic-toggle-button"));
|
20575
20664
|
}
|
20576
20665
|
render() {
|
20577
|
-
return (hAsync(Host, { role: "group", "aria-label": this.accessibleLabel,
|
20666
|
+
return (hAsync(Host, { role: "group", "aria-label": this.accessibleLabel, tabindex: 0, class: {
|
20578
20667
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
20579
20668
|
["ic-toggle-button-group-full-width"]: this.fullWidth,
|
20580
20669
|
["ic-toggle-button-group-loading"]: this.loading,
|
@@ -20586,8 +20675,12 @@ class ToggleButtonGroup {
|
|
20586
20675
|
get el() { return getElement(this); }
|
20587
20676
|
static get watchers() { return {
|
20588
20677
|
"disabled": ["watchDisabledHandler"],
|
20678
|
+
"fullWidth": ["watchFullWidthHandler"],
|
20679
|
+
"loading": ["watchLoadingHandler"],
|
20589
20680
|
"monochrome": ["watchMonochromeHandler"],
|
20590
|
-
"
|
20681
|
+
"size": ["watchSizeHandler"],
|
20682
|
+
"theme": ["watchThemeHandler"],
|
20683
|
+
"variant": ["watchVariantHandler"]
|
20591
20684
|
}; }
|
20592
20685
|
static get style() { return icToggleButtonGroupCss; }
|
20593
20686
|
static get cmpMeta() { return {
|
@@ -20854,7 +20947,7 @@ class Tooltip {
|
|
20854
20947
|
}; }
|
20855
20948
|
}
|
20856
20949
|
|
20857
|
-
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}}";
|
20950
|
+
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}}";
|
20858
20951
|
|
20859
20952
|
/**
|
20860
20953
|
* @slot app-icon - Content will be rendered to left of app title. Anything that is slotted here will be hidden from screen readers.
|