@ukic/web-components 2.3.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{OpenInNew-f9958725.js → OpenInNew-d5d30e77.js} +1 -1
- package/dist/cjs/OpenInNew-d5d30e77.js.map +1 -0
- package/dist/cjs/{check-icon-b2f60716.js → check-icon-7225d79b.js} +1 -1
- package/dist/cjs/check-icon-7225d79b.js.map +1 -0
- package/dist/cjs/{chevron-icon-2bb3a907.js → chevron-icon-3bf07531.js} +1 -1
- package/dist/cjs/chevron-icon-3bf07531.js.map +1 -0
- package/dist/cjs/{close-icon-04be4880.js → close-icon-7f6ef8e4.js} +1 -1
- package/dist/cjs/close-icon-7f6ef8e4.js.map +1 -0
- package/dist/cjs/core.cjs.js +3 -6
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-3811d14b.js → helpers-d166f875.js} +27 -10
- package/dist/cjs/helpers-d166f875.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +4 -4
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +30 -9
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +4 -4
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +3 -3
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +4 -4
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +3 -3
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +4 -4
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +3 -3
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +43 -37
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +3 -3
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +4 -4
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +7 -3
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +3 -3
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +3 -3
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +3 -3
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +35 -19
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +71 -17
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +2 -2
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +3 -3
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +3 -3
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +3 -3
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +4 -4
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +3 -3
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +3 -3
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-2a0c6769.js → index-54d2bed9.js} +98 -26
- package/dist/cjs/index-54d2bed9.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{popper-d7adcfc6.js → popper-31badbf8.js} +1 -1
- package/dist/cjs/popper-31badbf8.js.map +1 -0
- package/dist/cjs/{types-3eb02246.js → types-7d67439f.js} +1 -1
- package/dist/cjs/types-7d67439f.js.map +1 -0
- package/dist/collection/collection-manifest.json +61 -61
- package/dist/collection/components/ic-alert/ic-alert.js +2 -1
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +5 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +0 -4
- package/dist/collection/components/ic-button/ic-button.js +41 -12
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.js +4 -2
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +8 -4
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +6 -3
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.js +6 -3
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.js +13 -4
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +4 -2
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.js +4 -2
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.js +4 -2
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +4 -2
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +2 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +4 -2
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.js +6 -3
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +6 -3
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +17 -0
- package/dist/collection/components/ic-menu/ic-menu.js +107 -48
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +13 -2
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +4 -2
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +8 -2
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +2 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +4 -2
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js +2 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.js +8 -4
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +4 -2
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +6 -3
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +6 -3
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +8 -4
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +100 -32
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -1
- package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.js +85 -22
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +30 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +51 -3
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +4 -2
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.js +8 -4
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.js +4 -2
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.js +4 -2
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.js +10 -5
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +10 -5
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +4 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.js +26 -13
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +2 -1
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +8 -4
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +4 -2
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +4 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +2 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.js +2 -1
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/utils/helpers.js +25 -8
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +25 -8
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert2.js.map +1 -1
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +26 -5
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +40 -32
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +4 -0
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +34 -16
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select.js +69 -14
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +9 -6
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-adf65f4a.entry.js → p-0a30f1e5.entry.js} +2 -2
- package/dist/core/p-0a30f1e5.entry.js.map +1 -0
- package/dist/core/{p-fbd3c432.entry.js → p-0dcc76b1.entry.js} +2 -2
- package/dist/core/p-0dcc76b1.entry.js.map +1 -0
- package/dist/core/{p-bbdd9770.entry.js → p-101bce17.entry.js} +2 -2
- package/dist/core/p-101bce17.entry.js.map +1 -0
- package/dist/core/{p-e2fdb944.entry.js → p-16e8bb5a.entry.js} +2 -2
- package/dist/core/p-16e8bb5a.entry.js.map +1 -0
- package/dist/core/p-18068237.js +3 -0
- package/dist/core/p-18068237.js.map +1 -0
- package/dist/core/p-1c54269e.entry.js +2 -0
- package/dist/core/p-1c54269e.entry.js.map +1 -0
- package/dist/core/{p-389c3913.entry.js → p-27897d29.entry.js} +2 -2
- package/dist/core/p-27897d29.entry.js.map +1 -0
- package/dist/core/{p-e14bc195.entry.js → p-27bf4783.entry.js} +2 -2
- package/dist/core/p-27bf4783.entry.js.map +1 -0
- package/dist/core/{p-ab4919d6.entry.js → p-3297713b.entry.js} +2 -2
- package/dist/core/p-3297713b.entry.js.map +1 -0
- package/dist/core/{p-06321d19.js → p-3b185c32.js} +1 -1
- package/dist/core/{p-919059e8.entry.js → p-3fc638fc.entry.js} +2 -2
- package/dist/core/p-3fc638fc.entry.js.map +1 -0
- package/dist/core/{p-8d4f7027.js → p-426ec638.js} +1 -1
- package/dist/core/{p-20fafec4.entry.js → p-433cfd47.entry.js} +2 -2
- package/dist/core/p-433cfd47.entry.js.map +1 -0
- package/dist/core/{p-da3bd896.entry.js → p-455bfed1.entry.js} +2 -2
- package/dist/core/p-455bfed1.entry.js.map +1 -0
- package/dist/core/{p-07877eb8.entry.js → p-4c4261e7.entry.js} +2 -2
- package/dist/core/p-4c4261e7.entry.js.map +1 -0
- package/dist/core/{p-75ac2fbf.entry.js → p-4f7c20b3.entry.js} +2 -2
- package/dist/core/p-4f7c20b3.entry.js.map +1 -0
- package/dist/core/{p-5e3a09d7.entry.js → p-521c8f40.entry.js} +2 -2
- package/dist/core/p-521c8f40.entry.js.map +1 -0
- package/dist/core/{p-041604fc.entry.js → p-5b8be53f.entry.js} +2 -2
- package/dist/core/p-5b8be53f.entry.js.map +1 -0
- package/dist/core/{p-14bea6c0.entry.js → p-5fcbcc3f.entry.js} +2 -2
- package/dist/core/p-5fcbcc3f.entry.js.map +1 -0
- package/dist/core/{p-3adb1167.entry.js → p-607e7bf2.entry.js} +2 -2
- package/dist/core/p-607e7bf2.entry.js.map +1 -0
- package/dist/core/{p-6f57b13c.js → p-613aa265.js} +1 -1
- package/dist/core/p-613aa265.js.map +1 -0
- package/dist/core/{p-c4b81d32.entry.js → p-62499150.entry.js} +2 -2
- package/dist/core/p-62499150.entry.js.map +1 -0
- package/dist/core/{p-5e685037.entry.js → p-630ae754.entry.js} +2 -2
- package/dist/core/p-630ae754.entry.js.map +1 -0
- package/dist/core/{p-24b88371.entry.js → p-65df7222.entry.js} +2 -2
- package/dist/core/p-65df7222.entry.js.map +1 -0
- package/dist/core/{p-8ca80000.entry.js → p-6781620e.entry.js} +2 -2
- package/dist/core/p-6781620e.entry.js.map +1 -0
- package/dist/core/p-67c18f72.entry.js +2 -0
- package/dist/core/p-67c18f72.entry.js.map +1 -0
- package/dist/core/{p-7c0dcd00.js → p-68a5aaff.js} +1 -1
- package/dist/core/p-68a5aaff.js.map +1 -0
- package/dist/core/{p-95992c98.entry.js → p-68fda79a.entry.js} +2 -2
- package/dist/core/p-68fda79a.entry.js.map +1 -0
- package/dist/core/{p-da5fc036.entry.js → p-7194c255.entry.js} +2 -2
- package/dist/core/p-7194c255.entry.js.map +1 -0
- package/dist/core/p-77266738.entry.js +2 -0
- package/dist/core/p-77266738.entry.js.map +1 -0
- package/dist/core/{p-516fd246.entry.js → p-7be2b1fd.entry.js} +2 -2
- package/dist/core/p-7be2b1fd.entry.js.map +1 -0
- package/dist/core/{p-b5d084c2.entry.js → p-831b0f3f.entry.js} +2 -2
- package/dist/core/p-831b0f3f.entry.js.map +1 -0
- package/dist/core/{p-2ae7687a.entry.js → p-83e535de.entry.js} +2 -2
- package/dist/core/p-83e535de.entry.js.map +1 -0
- package/dist/core/{p-441e7d98.entry.js → p-85dd5e5b.entry.js} +2 -2
- package/dist/core/p-85dd5e5b.entry.js.map +1 -0
- package/dist/core/{p-2f5a9d91.entry.js → p-87149cbd.entry.js} +2 -2
- package/dist/core/p-87149cbd.entry.js.map +1 -0
- package/dist/core/{p-43b529a5.entry.js → p-8e6169e0.entry.js} +2 -2
- package/dist/core/p-8e6169e0.entry.js.map +1 -0
- package/dist/core/{p-1b1dbb53.entry.js → p-9248228e.entry.js} +2 -2
- package/dist/core/p-9248228e.entry.js.map +1 -0
- package/dist/core/{p-8acd7207.entry.js → p-932a67ca.entry.js} +2 -2
- package/dist/core/p-932a67ca.entry.js.map +1 -0
- package/dist/core/{p-cfb87422.entry.js → p-937ecd5b.entry.js} +2 -2
- package/dist/core/p-937ecd5b.entry.js.map +1 -0
- package/dist/core/{p-9bde930d.entry.js → p-94903a21.entry.js} +2 -2
- package/dist/core/p-94903a21.entry.js.map +1 -0
- package/dist/core/{p-4dc6a83d.entry.js → p-96022913.entry.js} +2 -2
- package/dist/core/p-96022913.entry.js.map +1 -0
- package/dist/core/{p-c3da58eb.entry.js → p-9650e00e.entry.js} +2 -2
- package/dist/core/p-9650e00e.entry.js.map +1 -0
- package/dist/core/{p-50019c47.entry.js → p-99741b0f.entry.js} +2 -2
- package/dist/core/p-99741b0f.entry.js.map +1 -0
- package/dist/core/{p-e328bd2d.entry.js → p-a0a02a13.entry.js} +2 -2
- package/dist/core/p-a0a02a13.entry.js.map +1 -0
- package/dist/core/{p-d2994a71.entry.js → p-a421d3a1.entry.js} +2 -2
- package/dist/core/p-a421d3a1.entry.js.map +1 -0
- package/dist/core/p-a6f48272.entry.js +2 -0
- package/dist/core/p-a6f48272.entry.js.map +1 -0
- package/dist/core/{p-e9c864ac.entry.js → p-b0b1de0e.entry.js} +2 -2
- package/dist/core/p-b0b1de0e.entry.js.map +1 -0
- package/dist/core/{p-fb86da80.entry.js → p-c1859843.entry.js} +2 -2
- package/dist/core/p-c1859843.entry.js.map +1 -0
- package/dist/core/{p-8c7f4343.js → p-c2e091d7.js} +1 -1
- package/dist/core/{p-92868735.entry.js → p-c31e6dbb.entry.js} +2 -2
- package/dist/core/p-c31e6dbb.entry.js.map +1 -0
- package/dist/core/{p-96bcd466.entry.js → p-c390fbad.entry.js} +2 -2
- package/dist/core/p-c390fbad.entry.js.map +1 -0
- package/dist/core/{p-c2fc2b77.entry.js → p-cb2c18de.entry.js} +2 -2
- package/dist/core/p-cb2c18de.entry.js.map +1 -0
- package/dist/core/{p-6bad30aa.entry.js → p-d16100e8.entry.js} +2 -2
- package/dist/core/p-d16100e8.entry.js.map +1 -0
- package/dist/core/{p-07601b81.entry.js → p-d20917ae.entry.js} +2 -2
- package/dist/core/p-d20917ae.entry.js.map +1 -0
- package/dist/core/{p-a29fe0c6.entry.js → p-d65ace31.entry.js} +2 -2
- package/dist/core/p-d65ace31.entry.js.map +1 -0
- package/dist/core/{p-d592006b.entry.js → p-d78c90fe.entry.js} +2 -2
- package/dist/core/p-d78c90fe.entry.js.map +1 -0
- package/dist/core/{p-4fa9c6eb.entry.js → p-e2d0039d.entry.js} +2 -2
- package/dist/core/p-e2d0039d.entry.js.map +1 -0
- package/dist/core/{p-98d488aa.entry.js → p-e3923b67.entry.js} +2 -2
- package/dist/core/p-e3923b67.entry.js.map +1 -0
- package/dist/core/{p-1ac44a4e.entry.js → p-ebd60291.entry.js} +2 -2
- package/dist/core/p-ebd60291.entry.js.map +1 -0
- package/dist/core/p-ebe76390.js +2 -0
- package/dist/core/p-ebe76390.js.map +1 -0
- package/dist/core/{p-f2c6a143.js → p-f074ef5b.js} +1 -1
- package/dist/core/{p-93ee130d.entry.js → p-fedcfea3.entry.js} +2 -2
- package/dist/core/p-fedcfea3.entry.js.map +1 -0
- package/dist/esm/{OpenInNew-67a881e0.js → OpenInNew-cdeed5ce.js} +1 -1
- package/dist/esm/OpenInNew-cdeed5ce.js.map +1 -0
- package/dist/esm/{check-icon-abb210ec.js → check-icon-4a9f8371.js} +1 -1
- package/dist/esm/check-icon-4a9f8371.js.map +1 -0
- package/dist/esm/{chevron-icon-7927f709.js → chevron-icon-589e3b46.js} +1 -1
- package/dist/esm/chevron-icon-589e3b46.js.map +1 -0
- package/dist/esm/{close-icon-2ce5d375.js → close-icon-539ec8d1.js} +1 -1
- package/dist/esm/close-icon-539ec8d1.js.map +1 -0
- package/dist/esm/core.js +4 -7
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-d7d5bd08.js → helpers-b0e80358.js} +27 -10
- package/dist/esm/helpers-b0e80358.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +4 -4
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +3 -3
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +4 -4
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +30 -9
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +4 -4
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +3 -3
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +3 -3
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +3 -3
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +1 -1
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-entity.entry.js +1 -1
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +3 -3
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +4 -4
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +3 -3
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-empty-state.entry.js +3 -3
- package/dist/esm/ic-empty-state.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +3 -3
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +4 -4
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +3 -3
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +3 -3
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +3 -3
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +43 -37
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +3 -3
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +4 -4
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +5 -5
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +7 -3
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +4 -4
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +5 -5
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +3 -3
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +3 -3
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +3 -3
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +3 -3
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +4 -4
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +3 -3
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +3 -3
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +35 -19
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +1 -1
- package/dist/esm/ic-section-container.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +71 -17
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +5 -5
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +1 -1
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +2 -2
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +3 -3
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +3 -3
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +2 -2
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +3 -3
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +3 -3
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +3 -3
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +4 -4
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +3 -3
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +3 -3
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/{index-fd30b77e.js → index-14c9f375.js} +98 -26
- package/dist/esm/index-14c9f375.js.map +1 -0
- package/dist/esm/loader.js +4 -13
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{popper-15e448b4.js → popper-0fbeff6d.js} +1 -1
- package/dist/esm/popper-0fbeff6d.js.map +1 -0
- package/dist/esm/{types-dd515332.js → types-b2398b37.js} +1 -1
- package/dist/esm/types-b2398b37.js.map +1 -0
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +3 -3
- package/dist/types/components/ic-button/ic-button.d.ts +4 -0
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +5 -5
- package/dist/types/components/ic-menu/ic-menu.d.ts +8 -0
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +1 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +8 -0
- package/dist/types/components/ic-select/ic-select.d.ts +14 -0
- package/dist/types/components.d.ts +32 -0
- package/dist/types/stencil-public-runtime.d.ts +17 -5
- package/dist/types/utils/helpers.d.ts +2 -2
- package/dist/types/utils/types.d.ts +11 -2
- package/hydrate/index.d.ts +6 -6
- package/hydrate/index.js +310 -169
- package/loader/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/OpenInNew-f9958725.js.map +0 -1
- package/dist/cjs/check-icon-b2f60716.js.map +0 -1
- package/dist/cjs/chevron-icon-2bb3a907.js.map +0 -1
- package/dist/cjs/close-icon-04be4880.js.map +0 -1
- package/dist/cjs/helpers-3811d14b.js.map +0 -1
- package/dist/cjs/index-2a0c6769.js.map +0 -1
- package/dist/cjs/popper-d7adcfc6.js.map +0 -1
- package/dist/cjs/types-3eb02246.js.map +0 -1
- package/dist/core/p-041604fc.entry.js.map +0 -1
- package/dist/core/p-07601b81.entry.js.map +0 -1
- package/dist/core/p-07877eb8.entry.js.map +0 -1
- package/dist/core/p-103c761f.entry.js +0 -2
- package/dist/core/p-103c761f.entry.js.map +0 -1
- package/dist/core/p-14bea6c0.entry.js.map +0 -1
- package/dist/core/p-1ac44a4e.entry.js.map +0 -1
- package/dist/core/p-1b1dbb53.entry.js.map +0 -1
- package/dist/core/p-20fafec4.entry.js.map +0 -1
- package/dist/core/p-24b88371.entry.js.map +0 -1
- package/dist/core/p-2ae7687a.entry.js.map +0 -1
- package/dist/core/p-2f5a9d91.entry.js.map +0 -1
- package/dist/core/p-389c3913.entry.js.map +0 -1
- package/dist/core/p-3adb1167.entry.js.map +0 -1
- package/dist/core/p-43b529a5.entry.js.map +0 -1
- package/dist/core/p-441e7d98.entry.js.map +0 -1
- package/dist/core/p-4dc6a83d.entry.js.map +0 -1
- package/dist/core/p-4fa9c6eb.entry.js.map +0 -1
- package/dist/core/p-50019c47.entry.js.map +0 -1
- package/dist/core/p-516fd246.entry.js.map +0 -1
- package/dist/core/p-5e3a09d7.entry.js.map +0 -1
- package/dist/core/p-5e685037.entry.js.map +0 -1
- package/dist/core/p-69920d86.js +0 -3
- package/dist/core/p-69920d86.js.map +0 -1
- package/dist/core/p-69c1f172.entry.js +0 -2
- package/dist/core/p-69c1f172.entry.js.map +0 -1
- package/dist/core/p-6bad30aa.entry.js.map +0 -1
- package/dist/core/p-6f57b13c.js.map +0 -1
- package/dist/core/p-736489c6.entry.js +0 -2
- package/dist/core/p-736489c6.entry.js.map +0 -1
- package/dist/core/p-75ac2fbf.entry.js.map +0 -1
- package/dist/core/p-7c0dcd00.js.map +0 -1
- package/dist/core/p-8acd7207.entry.js.map +0 -1
- package/dist/core/p-8ca80000.entry.js.map +0 -1
- package/dist/core/p-919059e8.entry.js.map +0 -1
- package/dist/core/p-92868735.entry.js.map +0 -1
- package/dist/core/p-93ee130d.entry.js.map +0 -1
- package/dist/core/p-95992c98.entry.js.map +0 -1
- package/dist/core/p-96bcd466.entry.js.map +0 -1
- package/dist/core/p-98d488aa.entry.js.map +0 -1
- package/dist/core/p-9bde930d.entry.js.map +0 -1
- package/dist/core/p-9e896463.entry.js +0 -2
- package/dist/core/p-9e896463.entry.js.map +0 -1
- package/dist/core/p-a29fe0c6.entry.js.map +0 -1
- package/dist/core/p-ab4919d6.entry.js.map +0 -1
- package/dist/core/p-adf65f4a.entry.js.map +0 -1
- package/dist/core/p-b5d084c2.entry.js.map +0 -1
- package/dist/core/p-bbdd9770.entry.js.map +0 -1
- package/dist/core/p-c2fc2b77.entry.js.map +0 -1
- package/dist/core/p-c3da58eb.entry.js.map +0 -1
- package/dist/core/p-c4b81d32.entry.js.map +0 -1
- package/dist/core/p-cfb87422.entry.js.map +0 -1
- package/dist/core/p-d2994a71.entry.js.map +0 -1
- package/dist/core/p-d592006b.entry.js.map +0 -1
- package/dist/core/p-da3bd896.entry.js.map +0 -1
- package/dist/core/p-da5fc036.entry.js.map +0 -1
- package/dist/core/p-dd980be4.js +0 -2
- package/dist/core/p-dd980be4.js.map +0 -1
- package/dist/core/p-e14bc195.entry.js.map +0 -1
- package/dist/core/p-e2fdb944.entry.js.map +0 -1
- package/dist/core/p-e328bd2d.entry.js.map +0 -1
- package/dist/core/p-e9c864ac.entry.js.map +0 -1
- package/dist/core/p-fb86da80.entry.js.map +0 -1
- package/dist/core/p-fbd3c432.entry.js.map +0 -1
- package/dist/esm/OpenInNew-67a881e0.js.map +0 -1
- package/dist/esm/check-icon-abb210ec.js.map +0 -1
- package/dist/esm/chevron-icon-7927f709.js.map +0 -1
- package/dist/esm/close-icon-2ce5d375.js.map +0 -1
- package/dist/esm/helpers-d7d5bd08.js.map +0 -1
- package/dist/esm/index-fd30b77e.js.map +0 -1
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/popper-15e448b4.js.map +0 -1
- package/dist/esm/types-dd515332.js.map +0 -1
- /package/dist/core/{p-06321d19.js.map → p-3b185c32.js.map} +0 -0
- /package/dist/core/{p-8c7f4343.js.map → p-426ec638.js.map} +0 -0
- /package/dist/core/{p-8d4f7027.js.map → p-c2e091d7.js.map} +0 -0
- /package/dist/core/{p-f2c6a143.js.map → p-f074ef5b.js.map} +0 -0
package/hydrate/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
/*!
|
6
|
-
Stencil Mock Doc
|
6
|
+
Stencil Mock Doc v4.2.1 | MIT Licensed | https://stenciljs.com
|
7
7
|
*/
|
8
8
|
const CONTENT_REF_ID = 'r';
|
9
9
|
const ORG_LOCATION_ID = 'o';
|
@@ -4002,9 +4002,11 @@ class MockWindow {
|
|
4002
4002
|
return {
|
4003
4003
|
media,
|
4004
4004
|
matches: false,
|
4005
|
-
|
4006
|
-
|
4007
|
-
|
4005
|
+
addListener: (_handler) => { },
|
4006
|
+
removeListener: (_handler) => { },
|
4007
|
+
addEventListener: (_type, _handler) => { },
|
4008
|
+
removeEventListener: (_type, _handler) => { },
|
4009
|
+
dispatchEvent: (_ev) => { },
|
4008
4010
|
onchange: null,
|
4009
4011
|
};
|
4010
4012
|
}
|
@@ -4948,7 +4950,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
4948
4950
|
|
4949
4951
|
|
4950
4952
|
const NAMESPACE = 'core';
|
4951
|
-
const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: true, constructableCSS: false, cssAnnotations: true,
|
4953
|
+
const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, patchPseudoShadowDom: false, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
4952
4954
|
|
4953
4955
|
function queryNonceMetaTagContent(e) {
|
4954
4956
|
var t, o, n;
|
@@ -4963,8 +4965,8 @@ function forceUpdate() {}
|
|
4963
4965
|
|
4964
4966
|
function hydrateApp(e, t, o, n, s) {
|
4965
4967
|
function l() {
|
4966
|
-
if (global.clearTimeout(p), i.clear(), r.clear(), !
|
4967
|
-
|
4968
|
+
if (global.clearTimeout(p), i.clear(), r.clear(), !h) {
|
4969
|
+
h = !0;
|
4968
4970
|
try {
|
4969
4971
|
t.clientHydrateAnnotations && insertVdomAnnotations(e.document, t.staticComponents),
|
4970
4972
|
e.dispatchEvent(new e.Event("DOMContentLoaded")), e.document.createElement = c,
|
@@ -4979,9 +4981,9 @@ function hydrateApp(e, t, o, n, s) {
|
|
4979
4981
|
renderCatchError(t, o, e), l();
|
4980
4982
|
}
|
4981
4983
|
const r = new Set, i = new Set, d = new Set, c = e.document.createElement, $ = e.document.createElementNS, m = Promise.resolve();
|
4982
|
-
let p,
|
4984
|
+
let p, h = !1;
|
4983
4985
|
try {
|
4984
|
-
function
|
4986
|
+
function u() {
|
4985
4987
|
return g(this);
|
4986
4988
|
}
|
4987
4989
|
function f(e) {
|
@@ -4990,7 +4992,7 @@ function hydrateApp(e, t, o, n, s) {
|
|
4990
4992
|
$tagName$: e.nodeName.toLowerCase(),
|
4991
4993
|
$flags$: null
|
4992
4994
|
});
|
4993
|
-
null != t && null != t.cmpMeta && (i.add(e), e.connectedCallback =
|
4995
|
+
null != t && null != t.cmpMeta && (i.add(e), e.connectedCallback = u, registerHost(e, t.cmpMeta),
|
4994
4996
|
function o(e, t) {
|
4995
4997
|
if ("function" != typeof e.componentOnReady && (e.componentOnReady = componentOnReady),
|
4996
4998
|
"function" != typeof e.forceUpdate && (e.forceUpdate = forceUpdate), 1 & t.$flags$ && (e.shadowRoot = e),
|
@@ -5100,8 +5102,8 @@ function renderCatchError(e, t, o) {
|
|
5100
5102
|
type: "build",
|
5101
5103
|
header: "Hydrate Error",
|
5102
5104
|
messageText: "",
|
5103
|
-
relFilePath:
|
5104
|
-
absFilePath:
|
5105
|
+
relFilePath: void 0,
|
5106
|
+
absFilePath: void 0,
|
5105
5107
|
lines: []
|
5106
5108
|
};
|
5107
5109
|
if (e.url) try {
|
@@ -5251,24 +5253,23 @@ const createTime = (e, t = "") => {
|
|
5251
5253
|
}, rootAppliedStyles = new WeakMap, registerStyle = (e, t, o) => {
|
5252
5254
|
let n = styles.get(e);
|
5253
5255
|
n = t, styles.set(e, n);
|
5254
|
-
}, addStyle = (e, t, o
|
5255
|
-
var
|
5256
|
-
|
5257
|
-
|
5258
|
-
if (e = 11 === e.nodeType ? e : doc, a) if ("string" == typeof a) {
|
5256
|
+
}, addStyle = (e, t, o) => {
|
5257
|
+
var n;
|
5258
|
+
const s = getScopeId(t), l = styles.get(s);
|
5259
|
+
if (e = 11 === e.nodeType ? e : doc, l) if ("string" == typeof l) {
|
5259
5260
|
e = e.head || e;
|
5260
|
-
let
|
5261
|
-
if (
|
5262
|
-
if (e.host && (
|
5263
|
-
|
5264
|
-
const
|
5265
|
-
null !=
|
5266
|
-
e.insertBefore(
|
5261
|
+
let t, o = rootAppliedStyles.get(e);
|
5262
|
+
if (o || rootAppliedStyles.set(e, o = new Set), !o.has(s)) {
|
5263
|
+
if (e.host && (t = e.querySelector(`[sty-id="${s}"]`))) t.innerHTML = l; else {
|
5264
|
+
t = doc.createElement("style"), t.innerHTML = l;
|
5265
|
+
const o = null !== (n = plt.$nonce$) && void 0 !== n ? n : queryNonceMetaTagContent(doc);
|
5266
|
+
null != o && t.setAttribute("nonce", o), t.setAttribute("sty-id", s),
|
5267
|
+
e.insertBefore(t, e.querySelector("link"));
|
5267
5268
|
}
|
5268
|
-
|
5269
|
+
o && o.add(s);
|
5269
5270
|
}
|
5270
5271
|
}
|
5271
|
-
return
|
5272
|
+
return s;
|
5272
5273
|
}, attachStyles = e => {
|
5273
5274
|
const t = e.$cmpMeta$, o = e.$hostElement$, n = t.$flags$, s = createTime("attachStyles", t.$tagName$), l = addStyle(o.getRootNode(), t);
|
5274
5275
|
10 & n && (o["s-sc"] = l,
|
@@ -5351,17 +5352,17 @@ const createElm = (e, t, o, n) => {
|
|
5351
5352
|
null !== a ? (r = o["s-cr"]) ? r.parentNode.textContent = a : e.$text$ !== a && (o.data = a) : ((isSvgMode = "svg" === l || "foreignObject" !== l && isSvgMode),
|
5352
5353
|
("slot" === l || updateElement(e, t, isSvgMode)),
|
5353
5354
|
null !== n && null !== s ? ((e, t, o, n) => {
|
5354
|
-
let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1,
|
5355
|
-
for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null ==
|
5356
|
-
$ = t[++a],
|
5357
|
-
patch($,
|
5358
|
-
patch(m,
|
5359
|
-
if (i = -1, BUILD.vdomKey) for (d = a; d <= c; ++d) if (t[d] && null !== t[d].$key$ && t[d].$key$ ===
|
5355
|
+
let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1, h = n[0], u = n[p];
|
5356
|
+
for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null == h) h = n[++r]; else if (null == u) u = n[--p]; else if (isSameVnode($, h)) patch($, h),
|
5357
|
+
$ = t[++a], h = n[++r]; else if (isSameVnode(m, u)) patch(m, u), m = t[--c], u = n[--p]; else if (isSameVnode($, u)) "slot" !== $.$tag$ && "slot" !== u.$tag$ || putBackInOriginalLocation($.$elm$.parentNode, !1),
|
5358
|
+
patch($, u), e.insertBefore($.$elm$, m.$elm$.nextSibling), $ = t[++a], u = n[--p]; else if (isSameVnode(m, h)) "slot" !== $.$tag$ && "slot" !== u.$tag$ || putBackInOriginalLocation(m.$elm$.parentNode, !1),
|
5359
|
+
patch(m, h), e.insertBefore(m.$elm$, $.$elm$), m = t[--c], h = n[++r]; else {
|
5360
|
+
if (i = -1, BUILD.vdomKey) for (d = a; d <= c; ++d) if (t[d] && null !== t[d].$key$ && t[d].$key$ === h.$key$) {
|
5360
5361
|
i = d;
|
5361
5362
|
break;
|
5362
5363
|
}
|
5363
|
-
i >= 0 ? (l = t[i], l.$tag$ !==
|
5364
|
-
t[i] = void 0, s = l.$elm$),
|
5364
|
+
i >= 0 ? (l = t[i], l.$tag$ !== h.$tag$ ? s = createElm(t && t[r], o, i, e) : (patch(l, h),
|
5365
|
+
t[i] = void 0, s = l.$elm$), h = n[++r]) : (s = createElm(t && t[r], o, r, e), h = n[++r]),
|
5365
5366
|
s && (parentReferenceNode($.$elm$).insertBefore(s, referenceNode($.$elm$)) );
|
5366
5367
|
}
|
5367
5368
|
a > c ? addVnodes(e, null == n[p + 1] ? null : n[p + 1].$elm$, o, n, r, p) : r > p && removeVnodes(t, a, c);
|
@@ -5403,33 +5404,34 @@ const createElm = (e, t, o, n) => {
|
|
5403
5404
|
}
|
5404
5405
|
}, isNodeLocatedInSlot = (e, t) => 1 === e.nodeType ? null === e.getAttribute("slot") && "" === t || e.getAttribute("slot") === t : e["s-sn"] === t || "" === t, nullifyVNodeRefs = e => {
|
5405
5406
|
(e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(nullifyVNodeRefs));
|
5406
|
-
}, renderVdom = (e, t) => {
|
5407
|
-
const
|
5408
|
-
if (hostTagName =
|
5409
|
-
if (
|
5410
|
-
|
5411
|
-
(
|
5412
|
-
|
5407
|
+
}, renderVdom = (e, t, o = !1) => {
|
5408
|
+
const n = e.$hostElement$, s = e.$cmpMeta$, l = e.$vnode$ || newVNode(null, null), a = isHost(t) ? t : h(null, null, t);
|
5409
|
+
if (hostTagName = n.tagName, BUILD.isDev ) ;
|
5410
|
+
if (s.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, s.$attrsToReflect$.map((([e, t]) => a.$attrs$[t] = n[e]))),
|
5411
|
+
o && a.$attrs$) for (const e of Object.keys(a.$attrs$)) n.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e) && (a.$attrs$[e] = n[e]);
|
5412
|
+
if (a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = l.$elm$ = n.shadowRoot || n,
|
5413
|
+
(scopeId = n["s-sc"]), (contentRef = n["s-cr"],
|
5414
|
+
useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(l, a),
|
5413
5415
|
BUILD.slotRelocation) {
|
5414
5416
|
if (plt.$flags$ |= 1, checkSlotRelocate) {
|
5415
|
-
let e, t, o, n, s,
|
5416
|
-
relocateSlotContent(
|
5417
|
+
let e, t, o, n, s, l;
|
5418
|
+
relocateSlotContent(a.$elm$);
|
5417
5419
|
let r = 0;
|
5418
5420
|
for (;r < relocateNodes.length; r++) e = relocateNodes[r], t = e.$nodeToRelocate$,
|
5419
5421
|
t["s-ol"] || (o = originalLocationDebugNode(t) ,
|
5420
5422
|
o["s-nr"] = t, t.parentNode.insertBefore(t["s-ol"] = o, t));
|
5421
5423
|
for (r = 0; r < relocateNodes.length; r++) if (e = relocateNodes[r], t = e.$nodeToRelocate$,
|
5422
5424
|
e.$slotRefNode$) {
|
5423
|
-
for (n = e.$slotRefNode$.parentNode, s = e.$slotRefNode$.nextSibling, o = t["s-ol"]; o = o.previousSibling; ) if (
|
5424
|
-
|
5425
|
-
s =
|
5425
|
+
for (n = e.$slotRefNode$.parentNode, s = e.$slotRefNode$.nextSibling, o = t["s-ol"]; o = o.previousSibling; ) if (l = o["s-nr"],
|
5426
|
+
l && l["s-sn"] === t["s-sn"] && n === l.parentNode && (l = l.nextSibling, !l || !l["s-nr"])) {
|
5427
|
+
s = l;
|
5426
5428
|
break;
|
5427
5429
|
}
|
5428
5430
|
(!s && n !== t.parentNode || t.nextSibling !== s) && t !== s && (!t["s-hn"] && t["s-ol"] && (t["s-hn"] = t["s-ol"].parentNode.nodeName),
|
5429
5431
|
n.insertBefore(t, s));
|
5430
5432
|
} else 1 === t.nodeType && (t.hidden = !0);
|
5431
5433
|
}
|
5432
|
-
checkSlotFallbackVisibility && updateFallbackSlotVisibility(
|
5434
|
+
checkSlotFallbackVisibility && updateFallbackSlotVisibility(a.$elm$), plt.$flags$ &= -2,
|
5433
5435
|
relocateNodes.length = 0;
|
5434
5436
|
}
|
5435
5437
|
}, slotReferenceDebugNode = e => doc.createComment(`<slot${e.$name$ ? ' name="' + e.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`), originalLocationDebugNode = e => doc.createComment("org-location for " + (e.localName ? `<${e.localName}> (host=${e["s-hn"]})` : `[${e.textContent}]`)), attachToAncestor = (e, t) => {
|
@@ -5450,7 +5452,7 @@ const createElm = (e, t, o, n) => {
|
|
5450
5452
|
const s = e.$hostElement$, l = createTime("update", e.$cmpMeta$.$tagName$), a = s["s-rc"];
|
5451
5453
|
o && attachStyles(e);
|
5452
5454
|
const r = createTime("render", e.$cmpMeta$.$tagName$);
|
5453
|
-
if (await callRender(e, t) ,
|
5455
|
+
if (await callRender(e, t, s, o) ,
|
5454
5456
|
BUILD.hydrateServerSide) try {
|
5455
5457
|
serverSideConnected(s), o && (1 & e.$cmpMeta$.$flags$ ? s["s-en"] = "" : 2 & e.$cmpMeta$.$flags$ && (s["s-en"] = "c"));
|
5456
5458
|
} catch (e) {
|
@@ -5463,11 +5465,11 @@ const createElm = (e, t, o, n) => {
|
|
5463
5465
|
}
|
5464
5466
|
};
|
5465
5467
|
|
5466
|
-
const callRender = (e, t, o) => {
|
5468
|
+
const callRender = (e, t, o, n) => {
|
5467
5469
|
try {
|
5468
5470
|
if (t = t.render(), (e.$flags$ &= -17),
|
5469
5471
|
(e.$flags$ |= 2), BUILD.hasRenderFn ) {
|
5470
|
-
return Promise.resolve(t).then((t => renderVdom(e, t)));
|
5472
|
+
return Promise.resolve(t).then((t => renderVdom(e, t, n)));
|
5471
5473
|
}
|
5472
5474
|
} catch (t) {
|
5473
5475
|
consoleError(t, e.$hostElement$);
|
@@ -5591,7 +5593,7 @@ const callRender = (e, t, o) => {
|
|
5591
5593
|
}, connectedCallback = e => {
|
5592
5594
|
if (0 == (1 & plt.$flags$)) {
|
5593
5595
|
const t = getHostRef(e), o = t.$cmpMeta$, n = createTime("connectedCallback", o.$tagName$);
|
5594
|
-
if (1 & t.$flags$) addHostEventListeners(e, t, o.$listeners$), fireConnectedCallback(t.$lazyInstance$); else {
|
5596
|
+
if (1 & t.$flags$) addHostEventListeners(e, t, o.$listeners$), (null == t ? void 0 : t.$lazyInstance$) ? fireConnectedCallback(t.$lazyInstance$) : (null == t ? void 0 : t.$onReadyPromise$) && t.$onReadyPromise$.then((() => fireConnectedCallback(t.$lazyInstance$))); else {
|
5595
5597
|
let n;
|
5596
5598
|
if (t.$flags$ |= 1, (n = e.getAttribute("s-id"), n)) {
|
5597
5599
|
((e, t, o, n) => {
|
@@ -6057,8 +6059,13 @@ const isEmptyString = (value) => {
|
|
6057
6059
|
* @param options - list of menu items
|
6058
6060
|
* @returns - label corresponding to value
|
6059
6061
|
*/
|
6060
|
-
const getLabelFromValue = (value, options) => {
|
6061
|
-
|
6062
|
+
const getLabelFromValue = (value, options, valueField, labelField) => {
|
6063
|
+
if (valueField === undefined) {
|
6064
|
+
valueField = "value";
|
6065
|
+
}
|
6066
|
+
if (labelField === undefined) {
|
6067
|
+
labelField = "label";
|
6068
|
+
}
|
6062
6069
|
const ungroupedOptions = [];
|
6063
6070
|
if (options.length > 0 && options.map) {
|
6064
6071
|
options.map((option) => {
|
@@ -6069,7 +6076,10 @@ const getLabelFromValue = (value, options) => {
|
|
6069
6076
|
ungroupedOptions.push(option);
|
6070
6077
|
}
|
6071
6078
|
});
|
6072
|
-
|
6079
|
+
if (ungroupedOptions.find((option) => option[valueField] === value) !==
|
6080
|
+
undefined) {
|
6081
|
+
return ungroupedOptions.find((option) => option[valueField] === value)[labelField];
|
6082
|
+
}
|
6073
6083
|
}
|
6074
6084
|
return undefined;
|
6075
6085
|
};
|
@@ -6081,17 +6091,24 @@ const getLabelFromValue = (value, options) => {
|
|
6081
6091
|
* @param position - whether the search string matches the start of or anywhere in the options
|
6082
6092
|
* @returns filtered array of options
|
6083
6093
|
*/
|
6084
|
-
const getFilteredMenuOptions = (options, includeDescriptions, searchString, position) => {
|
6094
|
+
const getFilteredMenuOptions = (options, includeDescriptions, searchString, position, labelField) => {
|
6085
6095
|
let rawFilteredOptions;
|
6096
|
+
if (labelField === undefined) {
|
6097
|
+
labelField = "label";
|
6098
|
+
}
|
6086
6099
|
if (position === "anywhere") {
|
6087
6100
|
rawFilteredOptions = options.filter((option) => {
|
6088
6101
|
var _a;
|
6089
6102
|
if (includeDescriptions) {
|
6090
|
-
return (option
|
6103
|
+
return (option[labelField]
|
6104
|
+
.toLowerCase()
|
6105
|
+
.includes(searchString.toLowerCase()) ||
|
6091
6106
|
((_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchString.toLowerCase())));
|
6092
6107
|
}
|
6093
6108
|
else {
|
6094
|
-
return option
|
6109
|
+
return option[labelField]
|
6110
|
+
.toLowerCase()
|
6111
|
+
.includes(searchString.toLowerCase());
|
6095
6112
|
}
|
6096
6113
|
});
|
6097
6114
|
}
|
@@ -6099,11 +6116,13 @@ const getFilteredMenuOptions = (options, includeDescriptions, searchString, posi
|
|
6099
6116
|
rawFilteredOptions = options.filter((option) => {
|
6100
6117
|
var _a;
|
6101
6118
|
if (includeDescriptions) {
|
6102
|
-
return (option
|
6119
|
+
return (option[labelField]
|
6120
|
+
.toLowerCase()
|
6121
|
+
.startsWith(searchString.toLowerCase()) ||
|
6103
6122
|
((_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase().startsWith(searchString.toLowerCase())));
|
6104
6123
|
}
|
6105
6124
|
else {
|
6106
|
-
return option
|
6125
|
+
return option[labelField]
|
6107
6126
|
.toLowerCase()
|
6108
6127
|
.startsWith(searchString.toLowerCase());
|
6109
6128
|
}
|
@@ -6577,6 +6596,9 @@ var backIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/20
|
|
6577
6596
|
|
6578
6597
|
const icBreadcrumbCss = "/*!@:host*/.sc-ic-breadcrumb-h{display:block;margin:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}/*!@:host .breadcrumb*/.sc-ic-breadcrumb-h .breadcrumb.sc-ic-breadcrumb{display:flex;align-items:center;white-space:nowrap;gap:var(--ic-space-xs);min-height:var(--ic-space-lg)}/*!@:host .chevron*/.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb{width:var(--ic-space-lg);height:var(--ic-space-lg)}/*!@:host .chevron svg*/.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:var(--ic-architectural-400)}/*!@:host(:first-child) .chevron*/.sc-ic-breadcrumb-h:first-child .chevron.sc-ic-breadcrumb{display:none}/*!@.back-icon svg*/.back-icon.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:var(--ic-hyperlink)}/*!@:host(.back)*/.back.sc-ic-breadcrumb-h{display:flex;align-items:center}/*!@:host(.back) .chevron*/.back.sc-ic-breadcrumb-h .chevron.sc-ic-breadcrumb{display:none}/*!@ic-link*/ic-link.sc-ic-breadcrumb{--breadcrumb-link-display:inline-flex;--breadcrumb-link-align-items:center;--breadcrumb-link-gap:var(--ic-space-xs)}/*!@:host([aria-current=\"page\"]) .current-page-container*/[aria-current=\"page\"].sc-ic-breadcrumb-h .current-page-container.sc-ic-breadcrumb{display:flex;align-items:center;gap:var(--ic-space-xs)}/*!@:host(.collapsed-breadcrumb-wrapper)*/.collapsed-breadcrumb-wrapper.sc-ic-breadcrumb-h{margin-right:var(--ic-space-xs) !important;display:flex;align-items:center;gap:var(--ic-space-xs)}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb{border:none;background-color:transparent;color:var(--ic-hyperlink);text-decoration:underline;font-weight:var(--ic-font-weight-bold);cursor:pointer}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:hover,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus{outline:var(--ic-hc-focus-outline);border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}/*!@.hide,\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.hide)*/.hide.sc-ic-breadcrumb,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.hide{display:none}@media (forced-colors: active){/*!@.back-icon svg*/.back-icon.sc-ic-breadcrumb svg.sc-ic-breadcrumb{color:currentcolor}}@supports (text-decoration-thickness: 25%){/*!@ic-link*/ic-link.sc-ic-breadcrumb{--breadcrumb-link-display:flex}/*!@:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n :host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus)*/.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:hover,.sc-ic-breadcrumb-h.collapsed-breadcrumb-wrapper .sc-ic-breadcrumb-s>.collapsed-breadcrumb:focus{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
|
6579
6598
|
|
6599
|
+
/**
|
6600
|
+
* @slot icon - Content will be rendered to the left of the breadcrumb page title.
|
6601
|
+
*/
|
6580
6602
|
class Breadcrumb {
|
6581
6603
|
constructor(hostRef) {
|
6582
6604
|
registerInstance(this, hostRef);
|
@@ -6837,7 +6859,7 @@ class BreadcrumbGroup {
|
|
6837
6859
|
}; }
|
6838
6860
|
}
|
6839
6861
|
|
6840
|
-
const icButtonCss = "/*!@html*/html.sc-ic-button{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-button{margin:0}/*!@main*/main.sc-ic-button{display:block}/*!@h1*/h1.sc-ic-button{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-button{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-button{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-button{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-button{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-button,strong.sc-ic-button{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-button,kbd.sc-ic-button,samp.sc-ic-button{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-button{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-button,sup.sc-ic-button{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-button{bottom:-0.25em}/*!@sup*/sup.sc-ic-button{top:-0.5em}/*!@img*/img.sc-ic-button{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-button,input.sc-ic-button,optgroup.sc-ic-button,select.sc-ic-button,textarea.sc-ic-button{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-button,input.sc-ic-button{overflow:visible}/*!@button,\nselect*/button.sc-ic-button,select.sc-ic-button{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-button,[type=\"button\"].sc-ic-button,[type=\"reset\"].sc-ic-button,[type=\"submit\"].sc-ic-button{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-button::-moz-focus-inner,[type=\"button\"].sc-ic-button::-moz-focus-inner,[type=\"reset\"].sc-ic-button::-moz-focus-inner,[type=\"submit\"].sc-ic-button::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-button:-moz-focusring,[type=\"button\"].sc-ic-button:-moz-focusring,[type=\"reset\"].sc-ic-button:-moz-focusring,[type=\"submit\"].sc-ic-button:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-button{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-button{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-button{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-button{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-button,[type=\"radio\"].sc-ic-button{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-button::-webkit-inner-spin-button,[type=\"number\"].sc-ic-button::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-button{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-button::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-button::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-button{display:block}/*!@summary*/summary.sc-ic-button{display:list-item}/*!@template*/template.sc-ic-button{display:none}/*!@[hidden]*/[hidden].sc-ic-button{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-button,body.sc-ic-button,div.sc-ic-button,span.sc-ic-button,applet.sc-ic-button,object.sc-ic-button,iframe.sc-ic-button,h1.sc-ic-button,h2.sc-ic-button,h3.sc-ic-button,h4.sc-ic-button,h5.sc-ic-button,h6.sc-ic-button,p.sc-ic-button,blockquote.sc-ic-button,pre.sc-ic-button,a.sc-ic-button,abbr.sc-ic-button,acronym.sc-ic-button,address.sc-ic-button,big.sc-ic-button,cite.sc-ic-button,code.sc-ic-button,del.sc-ic-button,dfn.sc-ic-button,em.sc-ic-button,img.sc-ic-button,ins.sc-ic-button,kbd.sc-ic-button,q.sc-ic-button,s.sc-ic-button,samp.sc-ic-button,small.sc-ic-button,strike.sc-ic-button,strong.sc-ic-button,sub.sc-ic-button,sup.sc-ic-button,tt.sc-ic-button,var.sc-ic-button,b.sc-ic-button,u.sc-ic-button,i.sc-ic-button,center.sc-ic-button,dl.sc-ic-button,dt.sc-ic-button,dd.sc-ic-button,ol.sc-ic-button,ul.sc-ic-button,li.sc-ic-button,fieldset.sc-ic-button,form.sc-ic-button,label.sc-ic-button,legend.sc-ic-button,table.sc-ic-button,caption.sc-ic-button,tbody.sc-ic-button,tfoot.sc-ic-button,thead.sc-ic-button,tr.sc-ic-button,th.sc-ic-button,td.sc-ic-button,article.sc-ic-button,aside.sc-ic-button,canvas.sc-ic-button,details.sc-ic-button,embed.sc-ic-button,figure.sc-ic-button,figcaption.sc-ic-button,footer.sc-ic-button,header.sc-ic-button,hgroup.sc-ic-button,menu.sc-ic-button,nav.sc-ic-button,output.sc-ic-button,ruby.sc-ic-button,section.sc-ic-button,summary.sc-ic-button,time.sc-ic-button,mark.sc-ic-button,audio.sc-ic-button,video.sc-ic-button{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-button-h{display:inline-block;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}/*!@.button*/.button.sc-ic-button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;gap:var(--ic-space-xxs);flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}/*!@:host(.with-badge) .button*/.with-badge.sc-ic-button-h .button.sc-ic-button{border-radius:0.2188rem}/*!@.button:hover*/.button.sc-ic-button:hover{cursor:pointer}/*!@.button:focus,\n:host .button:focus*/.button.sc-ic-button:focus,.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:var(--ic-border-focus)}/*!@:host(.light) .button:focus*/.light.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:var(--ic-border-focus)}/*!@.button:focus-visible*/.button.sc-ic-button:focus-visible{outline:var(--ic-hc-focus-outline)}/*!@:host(.dark) .button*/.dark.sc-ic-button-h .button.sc-ic-button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}/*!@:host(.light) .button*/.light.sc-ic-button-h .button.sc-ic-button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}/*!@:host(.button-variant-primary.light) .button*/.button-variant-primary.light.sc-ic-button-h .button.sc-ic-button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}/*!@:host(.button-variant-primary.dark) .button*/.button-variant-primary.dark.sc-ic-button-h .button.sc-ic-button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}/*!@:host(.disabled),\n:host(.disabled) .button,\n:host(.loading),\n:host(.loading) .button*/.disabled.sc-ic-button-h,.disabled.sc-ic-button-h .button.sc-ic-button,.loading.sc-ic-button-h,.loading.sc-ic-button-h .button.sc-ic-button{pointer-events:none}/*!@:host(.loading-with-icon) .button*/.loading-with-icon.sc-ic-button-h .button.sc-ic-button{min-width:var(--min-width, 8.25rem)}/*!@:host(.button-variant-primary) .button*/.button-variant-primary.sc-ic-button-h .button.sc-ic-button{color:var(--ic-architectural-white);background-color:var(--button-default)}/*!@:host(.button-variant-primary) .button:hover:not(:focus)*/.button-variant-primary.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--button-default-hover)}/*!@:host(.button-variant-primary) .button:active:not(:focus),\n:host(.button-variant-primary.loading) .button*/.button-variant-primary.sc-ic-button-h .button.sc-ic-button:active:not(:focus),.button-variant-primary.loading.sc-ic-button-h .button.sc-ic-button{background-color:var(--button-default-active)}/*!@:host(.button-variant-primary.disabled) .button*/.button-variant-primary.disabled.sc-ic-button-h .button.sc-ic-button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}/*!@:host(.button-variant-primary.light.disabled) .button*/.button-variant-primary.light.disabled.sc-ic-button-h .button.sc-ic-button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}/*!@:host(.button-variant-secondary) .button*/.button-variant-secondary.sc-ic-button-h .button.sc-ic-button{border:var(--ic-space-1px) solid var(--button-default);color:var(--button-default)}/*!@:host(.button-variant-secondary) .button:hover:not(:focus)*/.button-variant-secondary.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}/*!@:host(.button-variant-secondary) .button:active:not(:focus)*/.button-variant-secondary.sc-ic-button-h .button.sc-ic-button:active:not(:focus){border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}/*!@:host(.button-variant-secondary.loading) .button*/.button-variant-secondary.loading.sc-ic-button-h .button.sc-ic-button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}/*!@:host(.button-variant-secondary.disabled) .button,\n:host(.button-variant-secondary.disabled) .button:hover,\n:host(.button-variant-secondary.disabled) .button:active*/.button-variant-secondary.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-secondary.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-secondary.disabled.sc-ic-button-h .button.sc-ic-button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}/*!@:host(.button-variant-secondary.light.disabled) .button,\n:host(.button-variant-secondary.light.disabled) .button:hover,\n:host(.button-variant-secondary.light.disabled) .button:active*/.button-variant-secondary.light.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-secondary.light.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-secondary.light.disabled.sc-ic-button-h .button.sc-ic-button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}/*!@:host(.button-variant-tertiary) .button*/.button-variant-tertiary.sc-ic-button-h .button.sc-ic-button{color:var(--button-default)}/*!@:host(.button-variant-tertiary) .button:hover:not(:focus)*/.button-variant-tertiary.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}/*!@:host(.button-variant-tertiary) .button:active:not(:focus),\n:host(.button-variant-tertiary.loading) .button*/.button-variant-tertiary.sc-ic-button-h .button.sc-ic-button:active:not(:focus),.button-variant-tertiary.loading.sc-ic-button-h .button.sc-ic-button{background-color:var(--button-default-background-active);color:var(--button-default-active)}/*!@:host(.button-variant-tertiary.disabled) .button,\n:host(.button-variant-tertiary.disabled) .button:hover,\n:host(.button-variant-tertiary.disabled) .button:active*/.button-variant-tertiary.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-tertiary.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-tertiary.disabled.sc-ic-button-h .button.sc-ic-button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}/*!@:host(.button-variant-tertiary.light.disabled) .button,\n:host(.button-variant-tertiary.light.disabled) .button:hover,\n:host(.button-variant-tertiary.light.disabled) .button:active*/.button-variant-tertiary.light.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-tertiary.light.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-tertiary.light.disabled.sc-ic-button-h .button.sc-ic-button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}/*!@:host(.button-variant-icon) .button*/.button-variant-icon.sc-ic-button-h .button.sc-ic-button{color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}/*!@:host(.button-variant-icon) .icon-container*/.button-variant-icon.sc-ic-button-h .icon-container.sc-ic-button{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}/*!@:host(.button-variant-icon) .button:hover:not(:focus)*/.button-variant-icon.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}/*!@:host(.button-variant-icon) .button:active:not(:focus),\n:host(.button-variant-icon.loading) .button*/.button-variant-icon.sc-ic-button-h .button.sc-ic-button:active:not(:focus),.button-variant-icon.loading.sc-ic-button-h .button.sc-ic-button{background-color:var(--button-default-background-active);color:var(--button-default-active)}/*!@:host(.button-variant-icon.disabled) .button,\n:host(.button-variant-icon.disabled) .button:hover,\n:host(.button-variant-icon.disabled) .button:active*/.button-variant-icon.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-icon.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-icon.disabled.sc-ic-button-h .button.sc-ic-button:active{color:var(--ic-architectural-300);background:none}/*!@:host(.button-variant-destructive) .button*/.button-variant-destructive.sc-ic-button-h .button.sc-ic-button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}/*!@:host(.button-variant-destructive) .button:hover:not(:focus)*/.button-variant-destructive.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--ic-action-destructive-hover)}/*!@:host(.button-variant-destructive) .button:active:not(:focus),\n:host(.button-variant-destructive.loading) .button*/.button-variant-destructive.sc-ic-button-h .button.sc-ic-button:active:not(:focus),.button-variant-destructive.loading.sc-ic-button-h .button.sc-ic-button{background-color:var(--ic-action-destructive-active)}/*!@:host(.button-variant-destructive.disabled) .button*/.button-variant-destructive.disabled.sc-ic-button-h .button.sc-ic-button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}/*!@:host(.button-size-default) .button*/.button-size-default.sc-ic-button-h .button.sc-ic-button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}/*!@:host(.button-size-small) .button*/.button-size-small.sc-ic-button-h .button.sc-ic-button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}/*!@:host(.button-size-large) .button*/.button-size-large.sc-ic-button-h .button.sc-ic-button{height:var(--height, var(--ic-space-xxl));gap:var(--ic-space-xs);padding:var(--ic-space-sm) var(--ic-space-md)}/*!@:host(.button-size-default.button-variant-icon) .button*/.button-size-default.button-variant-icon.sc-ic-button-h .button.sc-ic-button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}/*!@:host(.button-size-small.button-variant-icon) .button*/.button-size-small.button-variant-icon.sc-ic-button-h .button.sc-ic-button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}/*!@:host(.button-size-large.button-variant-icon) .button*/.button-size-large.button-variant-icon.sc-ic-button-h .button.sc-ic-button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}/*!@:host(.full-width),\n:host(.full-width) .button*/.full-width.sc-ic-button-h,.full-width.sc-ic-button-h .button.sc-ic-button{width:100%}/*!@div.loading-container*/div.loading-container.sc-ic-button{position:relative;align-items:center;width:100%}/*!@ic-loading-indicator*/ic-loading-indicator.sc-ic-button{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}/*!@div.icon-container*/div.icon-container.sc-ic-button{box-sizing:border-box;width:var(--ic-space-md);height:var(--ic-space-md);display:flex;justify-content:center;align-items:center}/*!@:host(.button-size-large) div.icon-container*/.button-size-large.sc-ic-button-h div.icon-container.sc-ic-button{width:calc(var(--ic-space-md) + var(--ic-space-xxs));height:calc(var(--ic-space-md) + var(--ic-space-xxs))}/*!@::slotted(*)*/.sc-ic-button-s>*{width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}/*!@:host(.button-variant-icon) .button .icon-container*/.button-variant-icon.sc-ic-button-h .button.sc-ic-button .icon-container.sc-ic-button{margin:0;pointer-events:none}/*!@:host(.search-submit-button) ::slotted(svg)*/.sc-ic-button-h.search-submit-button .sc-ic-button-s>svg{--icon-height:1.25rem;--icon-width:1.25rem}/*!@:host(.search-submit-button-small) ::slotted(svg)*/.sc-ic-button-h.search-submit-button-small .sc-ic-button-s>svg{--icon-height:1rem;--icon-width:1rem}/*!@:host(.clear-button)*/.clear-button.sc-ic-button-h{margin:0 var(--ic-space-xxs)}/*!@:host(.clear-button) .button:focus*/.clear-button.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:none}/*!@:host(.search-submit-button) .button:focus*/.search-submit-button.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:none}/*!@:host(.search-submit-button) .button:not(:active):focus*/.search-submit-button.sc-ic-button-h .button.sc-ic-button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}/*!@:host(.search-submit-button)*/.search-submit-button.sc-ic-button-h{display:flex;align-items:center;margin:0 var(--ic-space-xxs)}/*!@:host(.menu-close-button) ::slotted(svg)*/.sc-ic-button-h.menu-close-button .sc-ic-button-s>svg{--icon-height:0.875rem;--icon-width:0.875rem}/*!@:host(.popout-menu-button) .button*/.popout-menu-button.sc-ic-button-h .button.sc-ic-button{justify-content:left;border-radius:0;white-space:pre-line;text-align:start}/*!@:host(.popout-menu-button) div.icon-container*/.popout-menu-button.sc-ic-button-h div.icon-container.sc-ic-button{flex:none}/*!@:host(.popout-menu-button) .button:focus*/.popout-menu-button.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}/*!@.ic-button-describedby*/.ic-button-describedby.sc-ic-button{display:none}/*!@:host .ic-tooltip*/.sc-ic-button-h .ic-tooltip.sc-ic-button{display:block}@media (forced-colors: active){/*!@.button*/.button.sc-ic-button{border:0.125rem solid transparent}}/*!@:host(.flip) ::slotted(svg)*/.sc-ic-button-h.flip .sc-ic-button-s>svg{transform:scaleX(-1)}";
|
6862
|
+
const icButtonCss = "/*!@html*/html.sc-ic-button{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-button{margin:0}/*!@main*/main.sc-ic-button{display:block}/*!@h1*/h1.sc-ic-button{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-button{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-button{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-button{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-button{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-button,strong.sc-ic-button{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-button,kbd.sc-ic-button,samp.sc-ic-button{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-button{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-button,sup.sc-ic-button{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-button{bottom:-0.25em}/*!@sup*/sup.sc-ic-button{top:-0.5em}/*!@img*/img.sc-ic-button{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-button,input.sc-ic-button,optgroup.sc-ic-button,select.sc-ic-button,textarea.sc-ic-button{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-button,input.sc-ic-button{overflow:visible}/*!@button,\nselect*/button.sc-ic-button,select.sc-ic-button{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-button,[type=\"button\"].sc-ic-button,[type=\"reset\"].sc-ic-button,[type=\"submit\"].sc-ic-button{-webkit-appearance:button}/*!@button::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner*/button.sc-ic-button::-moz-focus-inner,[type=\"button\"].sc-ic-button::-moz-focus-inner,[type=\"reset\"].sc-ic-button::-moz-focus-inner,[type=\"submit\"].sc-ic-button::-moz-focus-inner{border-style:none;padding:0}/*!@button:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring*/button.sc-ic-button:-moz-focusring,[type=\"button\"].sc-ic-button:-moz-focusring,[type=\"reset\"].sc-ic-button:-moz-focusring,[type=\"submit\"].sc-ic-button:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-button{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-button{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-button{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-button{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-button,[type=\"radio\"].sc-ic-button{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-button::-webkit-inner-spin-button,[type=\"number\"].sc-ic-button::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-button{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-button::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-button::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-button{display:block}/*!@summary*/summary.sc-ic-button{display:list-item}/*!@template*/template.sc-ic-button{display:none}/*!@[hidden]*/[hidden].sc-ic-button{display:none}/*!@html,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo*/html.sc-ic-button,body.sc-ic-button,div.sc-ic-button,span.sc-ic-button,applet.sc-ic-button,object.sc-ic-button,iframe.sc-ic-button,h1.sc-ic-button,h2.sc-ic-button,h3.sc-ic-button,h4.sc-ic-button,h5.sc-ic-button,h6.sc-ic-button,p.sc-ic-button,blockquote.sc-ic-button,pre.sc-ic-button,a.sc-ic-button,abbr.sc-ic-button,acronym.sc-ic-button,address.sc-ic-button,big.sc-ic-button,cite.sc-ic-button,code.sc-ic-button,del.sc-ic-button,dfn.sc-ic-button,em.sc-ic-button,img.sc-ic-button,ins.sc-ic-button,kbd.sc-ic-button,q.sc-ic-button,s.sc-ic-button,samp.sc-ic-button,small.sc-ic-button,strike.sc-ic-button,strong.sc-ic-button,sub.sc-ic-button,sup.sc-ic-button,tt.sc-ic-button,var.sc-ic-button,b.sc-ic-button,u.sc-ic-button,i.sc-ic-button,center.sc-ic-button,dl.sc-ic-button,dt.sc-ic-button,dd.sc-ic-button,ol.sc-ic-button,ul.sc-ic-button,li.sc-ic-button,fieldset.sc-ic-button,form.sc-ic-button,label.sc-ic-button,legend.sc-ic-button,table.sc-ic-button,caption.sc-ic-button,tbody.sc-ic-button,tfoot.sc-ic-button,thead.sc-ic-button,tr.sc-ic-button,th.sc-ic-button,td.sc-ic-button,article.sc-ic-button,aside.sc-ic-button,canvas.sc-ic-button,details.sc-ic-button,embed.sc-ic-button,figure.sc-ic-button,figcaption.sc-ic-button,footer.sc-ic-button,header.sc-ic-button,hgroup.sc-ic-button,menu.sc-ic-button,nav.sc-ic-button,output.sc-ic-button,ruby.sc-ic-button,section.sc-ic-button,summary.sc-ic-button,time.sc-ic-button,mark.sc-ic-button,audio.sc-ic-button,video.sc-ic-button{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-button-h{display:inline-block;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}/*!@.button*/.button.sc-ic-button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;gap:var(--ic-space-xxs);flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}/*!@:host(.with-badge) .button*/.with-badge.sc-ic-button-h .button.sc-ic-button{border-radius:0.2188rem}/*!@.button:hover*/.button.sc-ic-button:hover{cursor:pointer}/*!@.button:focus,\n:host .button:focus*/.button.sc-ic-button:focus,.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:var(--ic-border-focus)}/*!@:host(.light) .button:focus*/.light.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:var(--ic-border-focus)}/*!@.button:focus-visible*/.button.sc-ic-button:focus-visible{outline:var(--ic-hc-focus-outline)}/*!@:host(.dark) .button*/.dark.sc-ic-button-h .button.sc-ic-button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}/*!@:host(.light) .button*/.light.sc-ic-button-h .button.sc-ic-button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}/*!@:host(.button-variant-primary.light) .button*/.button-variant-primary.light.sc-ic-button-h .button.sc-ic-button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}/*!@:host(.button-variant-primary.dark) .button*/.button-variant-primary.dark.sc-ic-button-h .button.sc-ic-button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}/*!@:host(.disabled),\n:host(.disabled) .button,\n:host(.loading),\n:host(.loading) .button*/.disabled.sc-ic-button-h,.disabled.sc-ic-button-h .button.sc-ic-button,.loading.sc-ic-button-h,.loading.sc-ic-button-h .button.sc-ic-button{pointer-events:none}/*!@:host(.button-variant-primary) .button*/.button-variant-primary.sc-ic-button-h .button.sc-ic-button{color:var(--ic-architectural-white);background-color:var(--button-default)}/*!@:host(.button-variant-primary) .button:hover:not(:focus)*/.button-variant-primary.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--button-default-hover)}/*!@:host(.button-variant-primary) .button:active:not(:focus),\n:host(.button-variant-primary.loading) .button*/.button-variant-primary.sc-ic-button-h .button.sc-ic-button:active:not(:focus),.button-variant-primary.loading.sc-ic-button-h .button.sc-ic-button{background-color:var(--button-default-active)}/*!@:host(.button-variant-primary.disabled) .button*/.button-variant-primary.disabled.sc-ic-button-h .button.sc-ic-button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}/*!@:host(.button-variant-primary.light.disabled) .button*/.button-variant-primary.light.disabled.sc-ic-button-h .button.sc-ic-button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}/*!@:host(.button-variant-secondary) .button*/.button-variant-secondary.sc-ic-button-h .button.sc-ic-button{border:var(--ic-space-1px) solid var(--button-default);color:var(--button-default)}/*!@:host(.button-variant-secondary) .button:hover:not(:focus)*/.button-variant-secondary.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}/*!@:host(.button-variant-secondary) .button:active:not(:focus)*/.button-variant-secondary.sc-ic-button-h .button.sc-ic-button:active:not(:focus){border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}/*!@:host(.button-variant-secondary.loading) .button*/.button-variant-secondary.loading.sc-ic-button-h .button.sc-ic-button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}/*!@:host(.button-variant-secondary.disabled) .button,\n:host(.button-variant-secondary.disabled) .button:hover,\n:host(.button-variant-secondary.disabled) .button:active*/.button-variant-secondary.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-secondary.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-secondary.disabled.sc-ic-button-h .button.sc-ic-button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}/*!@:host(.button-variant-secondary.light.disabled) .button,\n:host(.button-variant-secondary.light.disabled) .button:hover,\n:host(.button-variant-secondary.light.disabled) .button:active*/.button-variant-secondary.light.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-secondary.light.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-secondary.light.disabled.sc-ic-button-h .button.sc-ic-button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}/*!@:host(.button-variant-tertiary) .button*/.button-variant-tertiary.sc-ic-button-h .button.sc-ic-button{color:var(--button-default)}/*!@:host(.button-variant-tertiary) .button:hover:not(:focus)*/.button-variant-tertiary.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}/*!@:host(.button-variant-tertiary) .button:active:not(:focus),\n:host(.button-variant-tertiary.loading) .button*/.button-variant-tertiary.sc-ic-button-h .button.sc-ic-button:active:not(:focus),.button-variant-tertiary.loading.sc-ic-button-h .button.sc-ic-button{background-color:var(--button-default-background-active);color:var(--button-default-active)}/*!@:host(.button-variant-tertiary.disabled) .button,\n:host(.button-variant-tertiary.disabled) .button:hover,\n:host(.button-variant-tertiary.disabled) .button:active*/.button-variant-tertiary.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-tertiary.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-tertiary.disabled.sc-ic-button-h .button.sc-ic-button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}/*!@:host(.button-variant-tertiary.light.disabled) .button,\n:host(.button-variant-tertiary.light.disabled) .button:hover,\n:host(.button-variant-tertiary.light.disabled) .button:active*/.button-variant-tertiary.light.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-tertiary.light.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-tertiary.light.disabled.sc-ic-button-h .button.sc-ic-button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}/*!@:host(.button-variant-icon) .button*/.button-variant-icon.sc-ic-button-h .button.sc-ic-button{color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}/*!@:host(.button-variant-icon) .icon-container*/.button-variant-icon.sc-ic-button-h .icon-container.sc-ic-button{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}/*!@:host(.button-variant-icon) .button:hover:not(:focus)*/.button-variant-icon.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}/*!@:host(.button-variant-icon) .button:active:not(:focus),\n:host(.button-variant-icon.loading) .button*/.button-variant-icon.sc-ic-button-h .button.sc-ic-button:active:not(:focus),.button-variant-icon.loading.sc-ic-button-h .button.sc-ic-button{background-color:var(--button-default-background-active);color:var(--button-default-active)}/*!@:host(.button-variant-icon.disabled) .button,\n:host(.button-variant-icon.disabled) .button:hover,\n:host(.button-variant-icon.disabled) .button:active*/.button-variant-icon.disabled.sc-ic-button-h .button.sc-ic-button,.button-variant-icon.disabled.sc-ic-button-h .button.sc-ic-button:hover,.button-variant-icon.disabled.sc-ic-button-h .button.sc-ic-button:active{color:var(--ic-architectural-300);background:none}/*!@:host(.button-variant-destructive) .button*/.button-variant-destructive.sc-ic-button-h .button.sc-ic-button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}/*!@:host(.button-variant-destructive) .button:hover:not(:focus)*/.button-variant-destructive.sc-ic-button-h .button.sc-ic-button:hover:not(:focus){background-color:var(--ic-action-destructive-hover)}/*!@:host(.button-variant-destructive) .button:active:not(:focus),\n:host(.button-variant-destructive.loading) .button*/.button-variant-destructive.sc-ic-button-h .button.sc-ic-button:active:not(:focus),.button-variant-destructive.loading.sc-ic-button-h .button.sc-ic-button{background-color:var(--ic-action-destructive-active)}/*!@:host(.button-variant-destructive.disabled) .button*/.button-variant-destructive.disabled.sc-ic-button-h .button.sc-ic-button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}/*!@:host(.button-size-default) .button*/.button-size-default.sc-ic-button-h .button.sc-ic-button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}/*!@:host(.button-size-small) .button*/.button-size-small.sc-ic-button-h .button.sc-ic-button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}/*!@:host(.button-size-large) .button*/.button-size-large.sc-ic-button-h .button.sc-ic-button{height:var(--height, var(--ic-space-xxl));gap:var(--ic-space-xs);padding:var(--ic-space-sm) var(--ic-space-md)}/*!@:host(.button-size-default.button-variant-icon) .button*/.button-size-default.button-variant-icon.sc-ic-button-h .button.sc-ic-button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}/*!@:host(.button-size-small.button-variant-icon) .button*/.button-size-small.button-variant-icon.sc-ic-button-h .button.sc-ic-button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}/*!@:host(.button-size-large.button-variant-icon) .button*/.button-size-large.button-variant-icon.sc-ic-button-h .button.sc-ic-button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}/*!@:host(.full-width),\n:host(.full-width) .button*/.full-width.sc-ic-button-h,.full-width.sc-ic-button-h .button.sc-ic-button{width:100%}/*!@div.loading-container*/div.loading-container.sc-ic-button{position:relative;align-items:center;width:100%}/*!@ic-loading-indicator*/ic-loading-indicator.sc-ic-button{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}/*!@div.icon-container*/div.icon-container.sc-ic-button{box-sizing:border-box;width:var(--ic-space-md);height:var(--ic-space-md);display:flex;justify-content:center;align-items:center}/*!@:host(.button-size-large) div.icon-container*/.button-size-large.sc-ic-button-h div.icon-container.sc-ic-button{width:calc(var(--ic-space-md) + var(--ic-space-xxs));height:calc(var(--ic-space-md) + var(--ic-space-xxs))}/*!@::slotted(*)*/.sc-ic-button-s>*{width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}/*!@:host(.button-variant-icon) .button .icon-container*/.button-variant-icon.sc-ic-button-h .button.sc-ic-button .icon-container.sc-ic-button{margin:0;pointer-events:none}/*!@:host(.search-submit-button) ::slotted(svg)*/.sc-ic-button-h.search-submit-button .sc-ic-button-s>svg{--icon-height:1.25rem;--icon-width:1.25rem}/*!@:host(.search-submit-button-small) ::slotted(svg)*/.sc-ic-button-h.search-submit-button-small .sc-ic-button-s>svg{--icon-height:1rem;--icon-width:1rem}/*!@:host(.clear-button)*/.clear-button.sc-ic-button-h{margin:0 var(--ic-space-xxs)}/*!@:host(.clear-button) .button:focus*/.clear-button.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:none}/*!@:host(.search-submit-button) .button:focus*/.search-submit-button.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:none}/*!@:host(.search-submit-button) .button:not(:active):focus*/.search-submit-button.sc-ic-button-h .button.sc-ic-button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}/*!@:host(.search-submit-button)*/.search-submit-button.sc-ic-button-h{display:flex;align-items:center;margin:0 var(--ic-space-xxs)}/*!@:host(.menu-close-button) ::slotted(svg)*/.sc-ic-button-h.menu-close-button .sc-ic-button-s>svg{--icon-height:0.875rem;--icon-width:0.875rem}/*!@:host(.popout-menu-button) .button*/.popout-menu-button.sc-ic-button-h .button.sc-ic-button{justify-content:left;border-radius:0;white-space:pre-line;text-align:start}/*!@:host(.popout-menu-button) div.icon-container*/.popout-menu-button.sc-ic-button-h div.icon-container.sc-ic-button{flex:none}/*!@:host(.popout-menu-button) .button:focus*/.popout-menu-button.sc-ic-button-h .button.sc-ic-button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}/*!@.ic-button-describedby*/.ic-button-describedby.sc-ic-button{display:none}/*!@:host .ic-tooltip*/.sc-ic-button-h .ic-tooltip.sc-ic-button{display:block}@media (forced-colors: active){/*!@.button*/.button.sc-ic-button{border:0.125rem solid transparent}}/*!@:host(.flip) ::slotted(svg)*/.sc-ic-button-h.flip .sc-ic-button-s>svg{transform:scaleX(-1)}";
|
6841
6863
|
|
6842
6864
|
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
6843
6865
|
var t = {};
|
@@ -6868,6 +6890,19 @@ class Button {
|
|
6868
6890
|
this.describedByEl = null;
|
6869
6891
|
this.describedById = null;
|
6870
6892
|
this.mutationObserver = null;
|
6893
|
+
this.setViewBox = () => {
|
6894
|
+
let iconEl;
|
6895
|
+
if (this.hasLeftIconSlot()) {
|
6896
|
+
iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
6897
|
+
}
|
6898
|
+
else if (this.hasRightIconSlot()) {
|
6899
|
+
iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
6900
|
+
}
|
6901
|
+
else {
|
6902
|
+
iconEl = null;
|
6903
|
+
}
|
6904
|
+
return iconEl;
|
6905
|
+
};
|
6871
6906
|
this.handleClick = () => {
|
6872
6907
|
if ((this.el.type === "submit" || this.el.type === "reset") &&
|
6873
6908
|
!!this.el.closest("FORM")) {
|
@@ -6880,6 +6915,11 @@ class Button {
|
|
6880
6915
|
this.onBlur = () => {
|
6881
6916
|
this.icBlur.emit();
|
6882
6917
|
};
|
6918
|
+
this.loadingWidth = () => {
|
6919
|
+
if (this.loading) {
|
6920
|
+
this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
|
6921
|
+
}
|
6922
|
+
};
|
6883
6923
|
// triggered when text content of sibling element in light DOM changes
|
6884
6924
|
this.mutationCallback = () => {
|
6885
6925
|
this.describedByContent = this.describedByEl.innerText;
|
@@ -6912,6 +6952,9 @@ class Button {
|
|
6912
6952
|
this.mutationObserver.disconnect();
|
6913
6953
|
}
|
6914
6954
|
}
|
6955
|
+
componentWillUpdate() {
|
6956
|
+
this.loadingWidth();
|
6957
|
+
}
|
6915
6958
|
componentWillLoad() {
|
6916
6959
|
this.inheritedAttributes = inheritAttributes(this.el, [
|
6917
6960
|
...IC_INHERITED_ARIA,
|
@@ -6944,6 +6987,10 @@ class Button {
|
|
6944
6987
|
});
|
6945
6988
|
}
|
6946
6989
|
}
|
6990
|
+
componentWillRender() {
|
6991
|
+
var _a;
|
6992
|
+
(_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
|
6993
|
+
}
|
6947
6994
|
handleHostClick(event) {
|
6948
6995
|
if (this.disabled || this.loading) {
|
6949
6996
|
event.stopImmediatePropagation();
|
@@ -7057,10 +7104,6 @@ class Button {
|
|
7057
7104
|
[`button-variant-${this.variant}`]: true,
|
7058
7105
|
[`button-size-${this.size}`]: true,
|
7059
7106
|
["loading"]: this.loading,
|
7060
|
-
["loading-with-icon"]: this.loading &&
|
7061
|
-
(this.hasIconSlot() ||
|
7062
|
-
this.hasLeftIconSlot() ||
|
7063
|
-
this.hasRightIconSlot()),
|
7064
7107
|
["dark"]: this.appearance === IcThemeForegroundEnum.Dark,
|
7065
7108
|
["light"]: this.appearance === IcThemeForegroundEnum.Light,
|
7066
7109
|
["full-width"]: this.fullWidth,
|
@@ -7732,6 +7775,11 @@ class DataRow {
|
|
7732
7775
|
|
7733
7776
|
const icDialogCss = "/*!@html*/html.sc-ic-dialog{line-height:1.15;-webkit-text-size-adjust:100%}/*!@body*/body.sc-ic-dialog{margin:0}/*!@main*/main.sc-ic-dialog{display:block}/*!@h1*/h1.sc-ic-dialog{font-size:2em;margin:0.67em 0}/*!@hr*/hr.sc-ic-dialog{box-sizing:content-box;height:0;overflow:visible}/*!@pre*/pre.sc-ic-dialog{font-family:monospace, monospace;font-size:1em}/*!@a*/a.sc-ic-dialog{background-color:transparent}/*!@abbr[title]*/abbr[title].sc-ic-dialog{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}/*!@b,\nstrong*/b.sc-ic-dialog,strong.sc-ic-dialog{font-weight:bolder}/*!@code,\nkbd,\nsamp*/code.sc-ic-dialog,kbd.sc-ic-dialog,samp.sc-ic-dialog{font-family:monospace, monospace;font-size:1em}/*!@small*/small.sc-ic-dialog{font-size:80%}/*!@sub,\nsup*/sub.sc-ic-dialog,sup.sc-ic-dialog{font-size:75%;line-height:0;position:relative;vertical-align:baseline}/*!@sub*/sub.sc-ic-dialog{bottom:-0.25em}/*!@sup*/sup.sc-ic-dialog{top:-0.5em}/*!@img*/img.sc-ic-dialog{border-style:none}/*!@button,\ninput,\noptgroup,\nselect,\ntextarea*/button.sc-ic-dialog,input.sc-ic-dialog,optgroup.sc-ic-dialog,select.sc-ic-dialog,textarea.sc-ic-dialog{font-family:inherit;font-size:100%;line-height:1.15;margin:0}/*!@button,\ninput*/button.sc-ic-dialog,input.sc-ic-dialog{overflow:visible}/*!@button,\nselect*/button.sc-ic-dialog,select.sc-ic-dialog{text-transform:none}/*!@button,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"]*/button.sc-ic-dialog,[type=\"button\"].sc-ic-dialog,[type=\"reset\"].sc-ic-dialog,[type=\"submit\"].sc-ic-dialog{-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-dialog::-moz-focus-inner,[type=\"button\"].sc-ic-dialog::-moz-focus-inner,[type=\"reset\"].sc-ic-dialog::-moz-focus-inner,[type=\"submit\"].sc-ic-dialog::-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-dialog:-moz-focusring,[type=\"button\"].sc-ic-dialog:-moz-focusring,[type=\"reset\"].sc-ic-dialog:-moz-focusring,[type=\"submit\"].sc-ic-dialog:-moz-focusring{outline:1px dotted ButtonText}/*!@fieldset*/fieldset.sc-ic-dialog{padding:0.35em 0.75em 0.625em}/*!@legend*/legend.sc-ic-dialog{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}/*!@progress*/progress.sc-ic-dialog{vertical-align:baseline}/*!@textarea*/textarea.sc-ic-dialog{overflow:auto}/*!@[type=\"checkbox\"],\n[type=\"radio\"]*/[type=\"checkbox\"].sc-ic-dialog,[type=\"radio\"].sc-ic-dialog{box-sizing:border-box;padding:0}/*!@[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button*/[type=\"number\"].sc-ic-dialog::-webkit-inner-spin-button,[type=\"number\"].sc-ic-dialog::-webkit-outer-spin-button{height:auto}/*!@[type=\"search\"]*/[type=\"search\"].sc-ic-dialog{-webkit-appearance:textfield;outline-offset:-2px}/*!@[type=\"search\"]::-webkit-search-decoration*/[type=\"search\"].sc-ic-dialog::-webkit-search-decoration{-webkit-appearance:none}/*!@::-webkit-file-upload-button*/.sc-ic-dialog::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}/*!@details*/details.sc-ic-dialog{display:block}/*!@summary*/summary.sc-ic-dialog{display:list-item}/*!@template*/template.sc-ic-dialog{display:none}/*!@[hidden]*/[hidden].sc-ic-dialog{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-dialog,body.sc-ic-dialog,div.sc-ic-dialog,span.sc-ic-dialog,applet.sc-ic-dialog,object.sc-ic-dialog,iframe.sc-ic-dialog,h1.sc-ic-dialog,h2.sc-ic-dialog,h3.sc-ic-dialog,h4.sc-ic-dialog,h5.sc-ic-dialog,h6.sc-ic-dialog,p.sc-ic-dialog,blockquote.sc-ic-dialog,pre.sc-ic-dialog,a.sc-ic-dialog,abbr.sc-ic-dialog,acronym.sc-ic-dialog,address.sc-ic-dialog,big.sc-ic-dialog,cite.sc-ic-dialog,code.sc-ic-dialog,del.sc-ic-dialog,dfn.sc-ic-dialog,em.sc-ic-dialog,img.sc-ic-dialog,ins.sc-ic-dialog,kbd.sc-ic-dialog,q.sc-ic-dialog,s.sc-ic-dialog,samp.sc-ic-dialog,small.sc-ic-dialog,strike.sc-ic-dialog,strong.sc-ic-dialog,sub.sc-ic-dialog,sup.sc-ic-dialog,tt.sc-ic-dialog,var.sc-ic-dialog,b.sc-ic-dialog,u.sc-ic-dialog,i.sc-ic-dialog,center.sc-ic-dialog,dl.sc-ic-dialog,dt.sc-ic-dialog,dd.sc-ic-dialog,ol.sc-ic-dialog,ul.sc-ic-dialog,li.sc-ic-dialog,fieldset.sc-ic-dialog,form.sc-ic-dialog,label.sc-ic-dialog,legend.sc-ic-dialog,table.sc-ic-dialog,caption.sc-ic-dialog,tbody.sc-ic-dialog,tfoot.sc-ic-dialog,thead.sc-ic-dialog,tr.sc-ic-dialog,th.sc-ic-dialog,td.sc-ic-dialog,article.sc-ic-dialog,aside.sc-ic-dialog,canvas.sc-ic-dialog,details.sc-ic-dialog,embed.sc-ic-dialog,figure.sc-ic-dialog,figcaption.sc-ic-dialog,footer.sc-ic-dialog,header.sc-ic-dialog,hgroup.sc-ic-dialog,menu.sc-ic-dialog,nav.sc-ic-dialog,output.sc-ic-dialog,ruby.sc-ic-dialog,section.sc-ic-dialog,summary.sc-ic-dialog,time.sc-ic-dialog,mark.sc-ic-dialog,audio.sc-ic-dialog,video.sc-ic-dialog{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}/*!@:host*/.sc-ic-dialog-h{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;min-height:100% !important;background:rgb(0 0 0 / 60%);z-index:var(--ic-z-index-dialog);opacity:0;transition:opacity var(--ic-easing-transition-slow)}/*!@:host(.fade-in)*/.fade-in.sc-ic-dialog-h{opacity:1;transition:opacity var(--ic-easing-transition-slow)}/*!@:host(.hidden)*/.hidden.sc-ic-dialog-h{display:none}/*!@.dialog*/.dialog.sc-ic-dialog{background-color:var(--ic-architectural-white);border:var(--ic-border-default);border-radius:var(--ic-border-radius);padding:var(--ic-space-xs) var(--ic-space-md);transform:translateY(-3rem);transition:transform 1000s;display:flex;flex-direction:column;box-sizing:border-box}/*!@:host(.fade-in) .dialog*/.fade-in.sc-ic-dialog-h .dialog.sc-ic-dialog{transform:translateY(0);transition:transform var(--ic-easing-transition-slow)}/*!@.small*/.small.sc-ic-dialog{width:50%;max-width:25rem;min-height:11rem;max-height:70vh}/*!@.medium*/.medium.sc-ic-dialog{width:70vw;max-width:44rem;min-height:12.5rem;max-height:70vh}/*!@.large*/.large.sc-ic-dialog{width:90vw;max-width:62.5rem;min-height:12.5rem;max-height:90vh}/*!@.heading-area*/.heading-area.sc-ic-dialog{display:flex;margin-bottom:var(--ic-space-xs)}/*!@.close-icon*/.close-icon.sc-ic-dialog{margin-left:auto}/*!@.close-icon-svg*/.close-icon-svg.sc-ic-dialog{display:flex;align-items:center}/*!@.content-area*/.content-area.sc-ic-dialog{-ms-overflow-style:none;scrollbar-width:none;padding:0 var(--ic-space-xs);margin:0 calc(-1 * var(--ic-space-xs))}/*!@:host([data-overflow=\"false\"]) .content-area*/[data-overflow=\"false\"].sc-ic-dialog-h .content-area.sc-ic-dialog{overflow-y:visible}/*!@:host([data-overflow=\"true\"]) .content-area*/[data-overflow=\"true\"].sc-ic-dialog-h .content-area.sc-ic-dialog{overflow-y:scroll}/*!@:host([data-overflow=\"false\"]) .dialog*/[data-overflow=\"false\"].sc-ic-dialog-h .dialog.sc-ic-dialog{overflow:visible}/*!@.content-area::-webkit-scrollbar*/.content-area.sc-ic-dialog::-webkit-scrollbar{display:none}/*!@#dialog-content*/#dialog-content.sc-ic-dialog{margin-bottom:var(--ic-space-sm)}/*!@.status-alert*/.status-alert.sc-ic-dialog{margin-bottom:var(--ic-space-xs)}/*!@.dialog-controls*/.dialog-controls.sc-ic-dialog{margin-top:auto;padding-top:var(--ic-space-xs);display:flex;justify-content:flex-end;gap:var(--ic-space-md)}/*!@.dialog-control-button*/.dialog-control-button.sc-ic-dialog{width:-moz-fit-content;width:fit-content}@media (min-width: 800px){/*!@:host([size=\"large\"]) .content-area*/[size=\"large\"].sc-ic-dialog-h .content-area.sc-ic-dialog{width:75%}}@media (max-width: 576px){/*!@.dialog*/.dialog.sc-ic-dialog{width:100vw;height:100vh;transform:translateY(-5rem);max-width:none;max-height:none;box-sizing:border-box}}@media (max-width: 364px){/*!@.triple-button*/.triple-button.sc-ic-dialog{flex-direction:column;gap:var(--ic-space-xs)}/*!@.dialog-control-button*/.dialog-control-button.sc-ic-dialog{width:unset}}";
|
7734
7777
|
|
7778
|
+
/**
|
7779
|
+
* @slot dialog-controls - Content will be place at the bottom of the dialog.
|
7780
|
+
* @slot heading - Content will be placed at the top of the dialog.
|
7781
|
+
* @slot label - Content will be placed above the dialog heading.
|
7782
|
+
*/
|
7735
7783
|
class Dialog {
|
7736
7784
|
constructor(hostRef) {
|
7737
7785
|
registerInstance(this, hostRef);
|
@@ -10924,7 +10972,7 @@ var checkIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2
|
|
10924
10972
|
</svg>
|
10925
10973
|
`;
|
10926
10974
|
|
10927
|
-
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){.open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{border-radius:var(--ic-border-radius);max-height:0;width:var(--input-width, 20rem);color:var(--ic-color-primary-text);background-color:var(--ic-architectural-white);position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay)}.sc-ic-menu-h:not(.no-focus):focus-within{box-shadow:var(--ic-border-focus)}#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}.on-dialog-fix-translate.sc-ic-menu-h{transform:translate(0, 80px) !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border:var(--ic-space-1px) solid var(--ic-architectural-400);border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);visibility:hidden;max-height:0;overflow-y:hidden}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.open.sc-ic-menu-h{max-height:none;display:block}.open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:20.125rem}.full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:0.5rem 0.438rem;cursor:pointer;display:flex;align-items:center}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.small.sc-ic-menu-h .option.sc-ic-menu{padding:0.25rem 0.438rem}.option.sc-ic-menu:last-child{border-radius:0 0 var(--ic-space-1px) var(--ic-space-1px)}.option.sc-ic-menu:first-child{border-radius:var(--ic-space-1px) var(--ic-space-1px) 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-action-dark-bg-hover)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-action-dark-bg-active)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{color:var(--ic-color-secondary-text)}.option-text-container.sc-ic-menu{pointer-events:none}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:0.625rem;color:var(--ic-color-secondary-text)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-status-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);width:var(--ic-space-lg);margin-left:0.5rem;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:1.5rem 0.438rem 0.5rem;color:var(--ic-color-tertiary-text)}.small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:0.75rem 0.438rem 0.25rem}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-border-default)}.disabled-option.sc-ic-menu{color:var(--ic-architectural-200);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-focus-blue) !important;color:var(--ic-color-white-text) !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}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}}";
|
10975
|
+
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){.open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{border-radius:var(--ic-border-radius);max-height:0;width:var(--input-width, 20rem);color:var(--ic-color-primary-text);background-color:var(--ic-architectural-white);position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay)}.sc-ic-menu-h:not(.no-focus):focus-within{box-shadow:var(--ic-border-focus)}#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}.on-dialog-fix-translate.sc-ic-menu-h{transform:translate(0, 80px) !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border:var(--ic-space-1px) solid var(--ic-architectural-400);border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);visibility:hidden;max-height:0;overflow-y:hidden}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.open.sc-ic-menu-h{max-height:none;display:block}.open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:20.125rem}.full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:0.5rem 0.438rem;cursor:pointer;display:flex;align-items:center}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.small.sc-ic-menu-h .option.sc-ic-menu{padding:0.25rem 0.438rem}.option.sc-ic-menu:last-child{border-radius:0 0 var(--ic-space-1px) var(--ic-space-1px)}.option.sc-ic-menu:first-child{border-radius:var(--ic-space-1px) var(--ic-space-1px) 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-action-dark-bg-hover)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-action-dark-bg-active)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{color:var(--ic-color-secondary-text)}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.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}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:0.625rem;color:var(--ic-color-secondary-text)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-status-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);width:var(--ic-space-lg);margin-left:0.5rem;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:1.5rem 0.438rem 0.5rem;color:var(--ic-color-tertiary-text)}.small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:0.75rem 0.438rem 0.25rem}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-border-default)}.disabled-option.sc-ic-menu{color:var(--ic-architectural-200);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-focus-blue) !important;color:var(--ic-color-white-text) !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}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}}";
|
10928
10976
|
|
10929
10977
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
10930
10978
|
class Menu {
|
@@ -10951,7 +10999,7 @@ class Menu {
|
|
10951
10999
|
this.optionHighlighted = "";
|
10952
11000
|
};
|
10953
11001
|
this.handleSubmitSearch = () => {
|
10954
|
-
const highlightedOptionIndex = this.options.findIndex((option) => option.
|
11002
|
+
const highlightedOptionIndex = this.options.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
10955
11003
|
this.setInputValue(highlightedOptionIndex);
|
10956
11004
|
};
|
10957
11005
|
this.handleMenuChange = (open, focusInput) => {
|
@@ -10964,28 +11012,28 @@ class Menu {
|
|
10964
11012
|
this.setNextOptionValue = (selectedOptionIndex) => {
|
10965
11013
|
if (this.ungroupedOptions[selectedOptionIndex + 1]) {
|
10966
11014
|
this.menuOptionSelect.emit({
|
10967
|
-
value: this.ungroupedOptions[selectedOptionIndex + 1].
|
10968
|
-
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex + 1].
|
11015
|
+
value: this.ungroupedOptions[selectedOptionIndex + 1][this.valueField],
|
11016
|
+
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex + 1][this.valueField]),
|
10969
11017
|
});
|
10970
11018
|
}
|
10971
11019
|
else {
|
10972
11020
|
this.menuOptionSelect.emit({
|
10973
|
-
value: this.ungroupedOptions[0].
|
10974
|
-
optionId: this.getOptionId(this.ungroupedOptions[0].
|
11021
|
+
value: this.ungroupedOptions[0][this.valueField],
|
11022
|
+
optionId: this.getOptionId(this.ungroupedOptions[0][this.valueField]),
|
10975
11023
|
});
|
10976
11024
|
}
|
10977
11025
|
};
|
10978
11026
|
this.setPreviousOptionValue = (selectedOptionIndex) => {
|
10979
11027
|
if (this.ungroupedOptions[selectedOptionIndex - 1]) {
|
10980
11028
|
this.menuOptionSelect.emit({
|
10981
|
-
value: this.ungroupedOptions[selectedOptionIndex - 1].
|
10982
|
-
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex - 1].
|
11029
|
+
value: this.ungroupedOptions[selectedOptionIndex - 1][this.valueField],
|
11030
|
+
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex - 1][this.valueField]),
|
10983
11031
|
});
|
10984
11032
|
}
|
10985
11033
|
else {
|
10986
11034
|
this.menuOptionSelect.emit({
|
10987
|
-
value: this.ungroupedOptions[this.ungroupedOptions.length - 1].
|
10988
|
-
optionId: this.getOptionId(this.ungroupedOptions[this.ungroupedOptions.length - 1].
|
11035
|
+
value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
|
11036
|
+
optionId: this.getOptionId(this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField]),
|
10989
11037
|
});
|
10990
11038
|
}
|
10991
11039
|
};
|
@@ -11009,10 +11057,10 @@ class Menu {
|
|
11009
11057
|
menuOptions[highlightedIndex] &&
|
11010
11058
|
!menuOptions[highlightedIndex].timedOut &&
|
11011
11059
|
(this.optionHighlighted =
|
11012
|
-
menuOptions[highlightedIndex].
|
11060
|
+
menuOptions[highlightedIndex][this.valueField] || undefined);
|
11013
11061
|
};
|
11014
11062
|
this.autoSetInputValueKeyboardOpen = (event) => {
|
11015
|
-
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option.
|
11063
|
+
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
|
11016
11064
|
this.keyboardNav = false;
|
11017
11065
|
switch (event.key) {
|
11018
11066
|
case "ArrowDown":
|
@@ -11034,10 +11082,9 @@ class Menu {
|
|
11034
11082
|
}
|
11035
11083
|
};
|
11036
11084
|
this.manSetInputValueKeyboardOpen = (event) => {
|
11037
|
-
var _a;
|
11038
11085
|
const menuOptions = this.setMenuOptions();
|
11039
11086
|
this.keyboardNav = false;
|
11040
|
-
const highlightedOptionIndex = menuOptions.findIndex((option) => option.
|
11087
|
+
const highlightedOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
11041
11088
|
const getOptionId = (index) => { var _a; return (_a = Array.from(this.host.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
|
11042
11089
|
switch (event.key) {
|
11043
11090
|
case "ArrowDown":
|
@@ -11098,7 +11145,9 @@ class Menu {
|
|
11098
11145
|
case "Enter":
|
11099
11146
|
event.preventDefault();
|
11100
11147
|
this.setInputValue(highlightedOptionIndex);
|
11101
|
-
|
11148
|
+
if (menuOptions[highlightedOptionIndex] !== undefined) {
|
11149
|
+
this.value = menuOptions[highlightedOptionIndex][this.valueField];
|
11150
|
+
}
|
11102
11151
|
break;
|
11103
11152
|
case "Escape":
|
11104
11153
|
if (this.open) {
|
@@ -11141,11 +11190,10 @@ class Menu {
|
|
11141
11190
|
}
|
11142
11191
|
};
|
11143
11192
|
this.setInputValue = (highlightedOptionIndex) => {
|
11144
|
-
var _a;
|
11145
11193
|
const menuOptions = this.setMenuOptions();
|
11146
|
-
if (menuOptions[highlightedOptionIndex]) {
|
11194
|
+
if (menuOptions[highlightedOptionIndex] !== undefined) {
|
11147
11195
|
this.menuOptionSelect.emit({
|
11148
|
-
value:
|
11196
|
+
value: menuOptions[highlightedOptionIndex][this.valueField],
|
11149
11197
|
});
|
11150
11198
|
this.optionHighlighted = undefined;
|
11151
11199
|
this.menuOptionId.emit({ optionId: undefined });
|
@@ -11198,7 +11246,7 @@ class Menu {
|
|
11198
11246
|
};
|
11199
11247
|
this.autoSetValueOnMenuKeyDown = (event) => {
|
11200
11248
|
event.cancelBubble = true;
|
11201
|
-
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option.
|
11249
|
+
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
|
11202
11250
|
const isSearchableSelect = this.inputEl.tagName === "INPUT";
|
11203
11251
|
this.keyboardNav = false;
|
11204
11252
|
switch (event.key) {
|
@@ -11221,13 +11269,13 @@ class Menu {
|
|
11221
11269
|
break;
|
11222
11270
|
case "Home":
|
11223
11271
|
this.menuOptionSelect.emit({
|
11224
|
-
value: this.ungroupedOptions[0].
|
11272
|
+
value: this.ungroupedOptions[0][this.valueField],
|
11225
11273
|
});
|
11226
11274
|
this.keyboardNav = true;
|
11227
11275
|
break;
|
11228
11276
|
case "End":
|
11229
11277
|
this.menuOptionSelect.emit({
|
11230
|
-
value: this.ungroupedOptions[this.ungroupedOptions.length - 1].
|
11278
|
+
value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
|
11231
11279
|
});
|
11232
11280
|
this.keyboardNav = true;
|
11233
11281
|
break;
|
@@ -11264,12 +11312,15 @@ class Menu {
|
|
11264
11312
|
return `${this.menuId}-${value}`;
|
11265
11313
|
};
|
11266
11314
|
this.getOptionAriaLabel = (option, parentOption) => {
|
11267
|
-
let ariaLabel = option.
|
11315
|
+
let ariaLabel = option[this.labelField];
|
11268
11316
|
if (option.description) {
|
11269
11317
|
ariaLabel = `${ariaLabel}, ${option.description}`;
|
11270
11318
|
}
|
11319
|
+
if (option.element) {
|
11320
|
+
ariaLabel = `${ariaLabel}, ${option.element.ariaLabel}`;
|
11321
|
+
}
|
11271
11322
|
if (parentOption) {
|
11272
|
-
return `${ariaLabel}, ${parentOption.
|
11323
|
+
return `${ariaLabel}, ${parentOption[this.labelField]} group`;
|
11273
11324
|
}
|
11274
11325
|
else {
|
11275
11326
|
return ariaLabel;
|
@@ -11322,19 +11373,19 @@ class Menu {
|
|
11322
11373
|
};
|
11323
11374
|
this.optionContent = (option) => {
|
11324
11375
|
var _a;
|
11325
|
-
return (hAsync(Fragment, null, option.loading && hAsync("ic-loading-indicator", { size: "icon" }), hAsync("div", { class: "option-text-container" }, hAsync("ic-typography", { variant: "body", "aria-hidden": "true" }, hAsync("p", null, option.
|
11376
|
+
return (hAsync(Fragment, null, option.loading && hAsync("ic-loading-indicator", { size: "icon" }), hAsync("div", { class: "option-text-container" }, hAsync("div", { class: "option-label" }, option.icon && (hAsync("div", { class: "option-icon", innerHTML: option.icon, "aria-hidden": "true" })), hAsync("ic-typography", { variant: "body", "aria-hidden": "true" }, hAsync("p", null, option[this.labelField]))), option.description && (hAsync("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, hAsync("p", null, option.description))), option.element && (hAsync("div", { class: "option-element", innerHTML: option.element.component, "aria-hidden": "true" }))), !!option[this.valueField] &&
|
11326
11377
|
!!this.value &&
|
11327
|
-
|
11378
|
+
option[this.valueField].toLowerCase() === ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toLowerCase()) &&
|
11328
11379
|
this.parentEl.tagName !== "IC-SEARCH-BAR" && (hAsync("span", { class: "check-icon", innerHTML: checkIcon }))));
|
11329
11380
|
};
|
11330
11381
|
this.displayOption = (option, index, parentOption) => {
|
11331
11382
|
const { open, value, keyboardNav, isManualMode, initialOptionsListRender, optionHighlighted, options, } = this;
|
11332
|
-
return (hAsync("li", { id: this.getOptionId(option.
|
11383
|
+
return (hAsync("li", { id: this.getOptionId(option[this.valueField]), class: {
|
11333
11384
|
option: true,
|
11334
11385
|
"focused-option": isManualMode
|
11335
11386
|
? (keyboardNav || initialOptionsListRender) &&
|
11336
|
-
option.
|
11337
|
-
: keyboardNav && option.
|
11387
|
+
option[this.valueField] === optionHighlighted
|
11388
|
+
: keyboardNav && option[this.valueField] === value,
|
11338
11389
|
"last-recommended-option": option.recommended &&
|
11339
11390
|
options[index + 1] &&
|
11340
11391
|
!options[index + 1].recommended,
|
@@ -11342,10 +11393,11 @@ class Menu {
|
|
11342
11393
|
"loading-option": option.loading,
|
11343
11394
|
timeout: option.timedOut,
|
11344
11395
|
}, role: "option", tabindex: open &&
|
11345
|
-
(option.
|
11396
|
+
(option[this.valueField] === value ||
|
11397
|
+
option[this.valueField] === optionHighlighted) &&
|
11346
11398
|
keyboardNav
|
11347
11399
|
? "0"
|
11348
|
-
: "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option.
|
11400
|
+
: "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option[this.valueField] === value, "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading && this.handleOptionClick, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, option.timedOut ? (hAsync(Fragment, null, hAsync("div", { class: "loading-error-info" }, hAsync("svg", { class: "error-icon-svg", "aria-labelledby": "error-title", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, hAsync("title", { id: "error-title" }, "Error"), hAsync("path", { d: "M0 0h24v24H0z", fill: "none" }), hAsync("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), hAsync("ic-typography", { variant: "label" }, option[this.labelField])), hAsync("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option))));
|
11349
11401
|
};
|
11350
11402
|
this.focusFromSearchKeypress = false;
|
11351
11403
|
this.initialOptionsListRender = false;
|
@@ -11358,6 +11410,7 @@ class Menu {
|
|
11358
11410
|
this.fullWidth = false;
|
11359
11411
|
this.inputEl = undefined;
|
11360
11412
|
this.inputLabel = undefined;
|
11413
|
+
this.labelField = "label";
|
11361
11414
|
this.menuId = undefined;
|
11362
11415
|
this.open = undefined;
|
11363
11416
|
this.parentEl = undefined;
|
@@ -11365,6 +11418,7 @@ class Menu {
|
|
11365
11418
|
this.small = false;
|
11366
11419
|
this.options = undefined;
|
11367
11420
|
this.value = undefined;
|
11421
|
+
this.valueField = "value";
|
11368
11422
|
}
|
11369
11423
|
watchOptionsHandler(newOptions) {
|
11370
11424
|
this.hasTimedOut = newOptions.some((opt) => opt.timedOut);
|
@@ -11412,7 +11466,7 @@ class Menu {
|
|
11412
11466
|
], "Menu");
|
11413
11467
|
}
|
11414
11468
|
componentDidUpdate() {
|
11415
|
-
const inputValueInOptions = this.options.some((option) => option.
|
11469
|
+
const inputValueInOptions = this.options.some((option) => option[this.valueField] === this.value);
|
11416
11470
|
const optionHighlightedIsSet = this.optionHighlighted !== null &&
|
11417
11471
|
this.optionHighlighted !== undefined &&
|
11418
11472
|
this.optionHighlighted !== "";
|
@@ -11531,7 +11585,7 @@ class Menu {
|
|
11531
11585
|
} }, options.length !== 0 && (hAsync("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": inputLabel, "aria-activedescendant": value != null && value !== "" ? this.getOptionId(value) : "", tabindex: open && !keyboardNav && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ? "0" : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
|
11532
11586
|
if (option.children) {
|
11533
11587
|
if (option.children.length > 0) {
|
11534
|
-
return (hAsync("div", null, hAsync("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, hAsync("p", null, option.
|
11588
|
+
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) => this.displayOption(childOption, index, option))));
|
11535
11589
|
}
|
11536
11590
|
else {
|
11537
11591
|
return null;
|
@@ -11558,6 +11612,7 @@ class Menu {
|
|
11558
11612
|
"fullWidth": [4, "full-width"],
|
11559
11613
|
"inputEl": [16],
|
11560
11614
|
"inputLabel": [1, "input-label"],
|
11615
|
+
"labelField": [1, "label-field"],
|
11561
11616
|
"menuId": [1, "menu-id"],
|
11562
11617
|
"open": [516],
|
11563
11618
|
"parentEl": [16],
|
@@ -11565,6 +11620,7 @@ class Menu {
|
|
11565
11620
|
"small": [516],
|
11566
11621
|
"options": [16],
|
11567
11622
|
"value": [1025],
|
11623
|
+
"valueField": [1, "value-field"],
|
11568
11624
|
"focusFromSearchKeypress": [32],
|
11569
11625
|
"initialOptionsListRender": [32],
|
11570
11626
|
"keyboardNav": [32],
|
@@ -11766,6 +11822,10 @@ class NavigationButton {
|
|
11766
11822
|
componentDidLoad() {
|
11767
11823
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Navigation Button");
|
11768
11824
|
}
|
11825
|
+
componentWillRender() {
|
11826
|
+
const iconEl = this.el.querySelector(`[slot="icon"]`);
|
11827
|
+
iconEl !== null && iconEl.setAttribute("viewBox", "0 0 24 24");
|
11828
|
+
}
|
11769
11829
|
navBarMenuOpenHandler() {
|
11770
11830
|
this.mode = "menu";
|
11771
11831
|
}
|
@@ -13505,12 +13565,14 @@ class SearchBar {
|
|
13505
13565
|
};
|
13506
13566
|
this.onInput = (ev) => {
|
13507
13567
|
this.value = ev.target.value;
|
13508
|
-
const noOptions = [
|
13568
|
+
const noOptions = [
|
13569
|
+
{ [this.labelField]: this.emptyOptionListText, [this.valueField]: "" },
|
13570
|
+
];
|
13509
13571
|
if (this.options.length > 0) {
|
13510
13572
|
this.setMenuChange(true);
|
13511
13573
|
this.preLoad = false;
|
13512
13574
|
if (this.disableFilter === false) {
|
13513
|
-
const rawFilteredOptions = getFilteredMenuOptions(this.options, false, this.value, "anywhere");
|
13575
|
+
const rawFilteredOptions = getFilteredMenuOptions(this.options, false, this.value, "anywhere", this.labelField);
|
13514
13576
|
this.filteredOptions =
|
13515
13577
|
rawFilteredOptions.length > 0 ? rawFilteredOptions : noOptions;
|
13516
13578
|
}
|
@@ -13569,14 +13631,22 @@ class SearchBar {
|
|
13569
13631
|
};
|
13570
13632
|
this.triggerLoading = () => {
|
13571
13633
|
const loadingOption = [
|
13572
|
-
{
|
13634
|
+
{
|
13635
|
+
[this.labelField]: this.loadingLabel,
|
13636
|
+
[this.valueField]: "",
|
13637
|
+
loading: true,
|
13638
|
+
},
|
13573
13639
|
];
|
13574
13640
|
if (this.filteredOptions !== loadingOption)
|
13575
13641
|
this.filteredOptions = loadingOption;
|
13576
13642
|
if (this.timeout) {
|
13577
13643
|
this.timeoutTimer = window.setTimeout(() => {
|
13578
13644
|
this.filteredOptions = [
|
13579
|
-
{
|
13645
|
+
{
|
13646
|
+
[this.labelField]: this.loadingErrorLabel,
|
13647
|
+
[this.valueField]: "",
|
13648
|
+
timedOut: true,
|
13649
|
+
},
|
13580
13650
|
];
|
13581
13651
|
}, this.timeout);
|
13582
13652
|
}
|
@@ -13691,7 +13761,7 @@ class SearchBar {
|
|
13691
13761
|
};
|
13692
13762
|
this.hasOptionsOrFilterDisabled = () => this.options.length > 0 || this.disableFilter;
|
13693
13763
|
this.hadNoOptions = () => this.filteredOptions.length === 1 &&
|
13694
|
-
this.filteredOptions[0].
|
13764
|
+
this.filteredOptions[0][this.labelField] === this.emptyOptionListText &&
|
13695
13765
|
this.searchMode === "navigation";
|
13696
13766
|
this.isSubmitDisabled = () => {
|
13697
13767
|
const valueNotSet = this.value === undefined || this.value === null || this.value === "";
|
@@ -13708,9 +13778,9 @@ class SearchBar {
|
|
13708
13778
|
this.menu.handleSetFirstOption();
|
13709
13779
|
this.prevNoOption = false;
|
13710
13780
|
}
|
13711
|
-
const prevNoOptionsList = this.filteredOptions.find((filteredOption) => filteredOption.
|
13712
|
-
filteredOption.
|
13713
|
-
filteredOption.
|
13781
|
+
const prevNoOptionsList = this.filteredOptions.find((filteredOption) => filteredOption[this.labelField] === this.emptyOptionListText ||
|
13782
|
+
filteredOption[this.labelField] === this.loadingErrorLabel ||
|
13783
|
+
filteredOption[this.labelField] === this.loadingLabel);
|
13714
13784
|
if (prevNoOptionsList) {
|
13715
13785
|
this.prevNoOption = true;
|
13716
13786
|
}
|
@@ -13736,6 +13806,7 @@ class SearchBar {
|
|
13736
13806
|
this.hideLabel = false;
|
13737
13807
|
this.hintText = "When autocomplete results are available use the up and down arrows to choose and press enter to select";
|
13738
13808
|
this.label = undefined;
|
13809
|
+
this.labelField = "label";
|
13739
13810
|
this.loading = false;
|
13740
13811
|
this.loadingErrorLabel = "Loading Error";
|
13741
13812
|
this.loadingLabel = "Loading...";
|
@@ -13747,6 +13818,7 @@ class SearchBar {
|
|
13747
13818
|
this.small = false;
|
13748
13819
|
this.spellcheck = false;
|
13749
13820
|
this.timeout = undefined;
|
13821
|
+
this.valueField = "value";
|
13750
13822
|
this.filteredOptions = [];
|
13751
13823
|
this.options = [];
|
13752
13824
|
this.value = "";
|
@@ -13774,7 +13846,10 @@ class SearchBar {
|
|
13774
13846
|
this.setMenuChange(true);
|
13775
13847
|
!this.preLoad &&
|
13776
13848
|
(this.filteredOptions = [
|
13777
|
-
{
|
13849
|
+
{
|
13850
|
+
[this.labelField]: this.emptyOptionListText,
|
13851
|
+
[this.valueField]: "",
|
13852
|
+
},
|
13778
13853
|
]);
|
13779
13854
|
this.preLoad = true;
|
13780
13855
|
}
|
@@ -13784,8 +13859,8 @@ class SearchBar {
|
|
13784
13859
|
watchValueHandler(newValue) {
|
13785
13860
|
if (this.inputEl &&
|
13786
13861
|
this.options &&
|
13787
|
-
!!getLabelFromValue(newValue, this.options)) {
|
13788
|
-
this.inputEl.value = getLabelFromValue(newValue, this.options);
|
13862
|
+
!!getLabelFromValue(newValue, this.options, this.valueField, this.labelField)) {
|
13863
|
+
this.inputEl.value = getLabelFromValue(newValue, this.options, this.valueField, this.labelField);
|
13789
13864
|
}
|
13790
13865
|
else if (this.inputEl && this.inputEl.value !== newValue) {
|
13791
13866
|
this.inputEl.value = newValue;
|
@@ -13877,8 +13952,8 @@ class SearchBar {
|
|
13877
13952
|
const menuOpen = hasSuggestedSearch && open && filteredOptions.length > 0;
|
13878
13953
|
const menuRendered = menuOpen && value.length >= this.charactersUntilSuggestion;
|
13879
13954
|
const isOrHasLoaded = this.filteredOptions.length === 1 &&
|
13880
|
-
(this.filteredOptions[0].
|
13881
|
-
filteredOptions[0].
|
13955
|
+
(this.filteredOptions[0][this.labelField] === this.loadingLabel ||
|
13956
|
+
filteredOptions[0][this.labelField] === this.loadingErrorLabel);
|
13882
13957
|
let expanded;
|
13883
13958
|
if (options.length > 0) {
|
13884
13959
|
if (menuOpen) {
|
@@ -13897,8 +13972,9 @@ class SearchBar {
|
|
13897
13972
|
["fullwidth"]: fullWidth,
|
13898
13973
|
["disabled"]: disabled,
|
13899
13974
|
["small"]: small,
|
13900
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-text-field", { ref: (el) => (this.inputEl = el), inputId: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly, small: small, hideLabel: hideLabel, fullWidth: fullWidth, name: name, truncateValue: truncateValue, value: options &&
|
13901
|
-
|
13975
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-text-field", { ref: (el) => (this.inputEl = el), inputId: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly, small: small, hideLabel: hideLabel, fullWidth: fullWidth, name: name, truncateValue: truncateValue, value: options &&
|
13976
|
+
!!getLabelFromValue(value, options, this.valueField, this.labelField)
|
13977
|
+
? getLabelFromValue(value, options, this.valueField, this.labelField)
|
13902
13978
|
: value, placeholder: placeholder, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : "", "aria-describedby": describedById, "aria-owns": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, ariaExpanded: expanded, ariaActiveDescendant: ariaActiveDescendant, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: hasSuggestedSearch ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search", debounce: this.debounce }, hAsync("div", { class: {
|
13903
13979
|
"clear-button-container": true,
|
13904
13980
|
"clear-button-visible": value && !disabledMode && this.showClearButton,
|
@@ -13917,7 +13993,7 @@ class SearchBar {
|
|
13917
13993
|
fullwidth: fullWidth,
|
13918
13994
|
}, slot: "menu" }, menuRendered && (hAsync("ic-menu", { class: {
|
13919
13995
|
"no-results": this.hadNoOptions() || isOrHasLoaded,
|
13920
|
-
}, activationType: "manual", anchorEl: this.anchorEl, autoFocusOnSelected: false, searchMode: this.searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), small: small, fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value })))), hAsync("div", { "aria-live": "polite", role: "status", class: "search-results-status" })));
|
13996
|
+
}, activationType: "manual", anchorEl: this.anchorEl, autoFocusOnSelected: false, searchMode: this.searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), small: small, fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: this.labelField, valueField: this.valueField })))), hAsync("div", { "aria-live": "polite", role: "status", class: "search-results-status" })));
|
13921
13997
|
}
|
13922
13998
|
static get delegatesFocus() { return true; }
|
13923
13999
|
get el() { return getElement(this); }
|
@@ -13947,6 +14023,7 @@ class SearchBar {
|
|
13947
14023
|
"hideLabel": [4, "hide-label"],
|
13948
14024
|
"hintText": [1, "hint-text"],
|
13949
14025
|
"label": [1],
|
14026
|
+
"labelField": [1, "label-field"],
|
13950
14027
|
"loading": [1028],
|
13951
14028
|
"loadingErrorLabel": [1, "loading-error-label"],
|
13952
14029
|
"loadingLabel": [1, "loading-label"],
|
@@ -13958,6 +14035,7 @@ class SearchBar {
|
|
13958
14035
|
"small": [4],
|
13959
14036
|
"spellcheck": [4],
|
13960
14037
|
"timeout": [2],
|
14038
|
+
"valueField": [1, "value-field"],
|
13961
14039
|
"options": [16],
|
13962
14040
|
"value": [1537],
|
13963
14041
|
"ariaActiveDescendant": [32],
|
@@ -14060,6 +14138,48 @@ class Select {
|
|
14060
14138
|
clearTimeout(this.debounceIcChange);
|
14061
14139
|
this.icChange.emit({ value: value });
|
14062
14140
|
};
|
14141
|
+
/**
|
14142
|
+
* Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
|
14143
|
+
* @param options array of IcMenuOptions
|
14144
|
+
* @returns a new options object, with all entries possessing a duplicate 'value' field removed
|
14145
|
+
*/
|
14146
|
+
this.deduplicateOptions = (options) => {
|
14147
|
+
const uniqueValues = [];
|
14148
|
+
const dedupedOptions = [];
|
14149
|
+
let dedupedChildren;
|
14150
|
+
options.forEach((option) => {
|
14151
|
+
if (option.children) {
|
14152
|
+
//If an option has children, we will loop through them
|
14153
|
+
dedupedChildren = [];
|
14154
|
+
option.children.forEach((child) => {
|
14155
|
+
if (uniqueValues.includes(child.value)) {
|
14156
|
+
console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${child.value}) which has been removed.`);
|
14157
|
+
}
|
14158
|
+
else {
|
14159
|
+
uniqueValues.push(child.value);
|
14160
|
+
dedupedChildren.push(child);
|
14161
|
+
}
|
14162
|
+
});
|
14163
|
+
// construct a modified option, inserting the deduplicated children alongside the original information
|
14164
|
+
const modifiedParent = Object.assign(Object.assign({}, option), { children: dedupedChildren });
|
14165
|
+
dedupedOptions.push(modifiedParent);
|
14166
|
+
}
|
14167
|
+
else {
|
14168
|
+
// If an option does not have children, assess to see if it's value has been included already
|
14169
|
+
if (uniqueValues.includes(option.value)) {
|
14170
|
+
console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${option.value}) which has been removed.`);
|
14171
|
+
}
|
14172
|
+
else {
|
14173
|
+
uniqueValues.push(option.value);
|
14174
|
+
dedupedOptions.push(option);
|
14175
|
+
}
|
14176
|
+
}
|
14177
|
+
});
|
14178
|
+
return dedupedOptions;
|
14179
|
+
};
|
14180
|
+
/**
|
14181
|
+
* Loop through options array and for all options with no value, infer it from the label
|
14182
|
+
*/
|
14063
14183
|
this.setOptionsValuesFromLabels = () => {
|
14064
14184
|
if (this.options.length > 0 && this.options.map) {
|
14065
14185
|
this.options.map((option) => {
|
@@ -14086,7 +14206,7 @@ class Select {
|
|
14086
14206
|
}
|
14087
14207
|
};
|
14088
14208
|
this.getLabelFromValue = (value) => {
|
14089
|
-
return getLabelFromValue(value, this.
|
14209
|
+
return getLabelFromValue(value, this.uniqueOptions);
|
14090
14210
|
};
|
14091
14211
|
this.getFilteredChildMenuOptions = (option) => {
|
14092
14212
|
let children = option.children;
|
@@ -14162,7 +14282,7 @@ class Select {
|
|
14162
14282
|
!this.loading &&
|
14163
14283
|
(!this.searchable || this.searchableMenuItemSelected)) {
|
14164
14284
|
this.noOptions = null;
|
14165
|
-
this.menu.options = this.
|
14285
|
+
this.menu.options = this.uniqueOptions;
|
14166
14286
|
}
|
14167
14287
|
}
|
14168
14288
|
if (event.detail !== 0) {
|
@@ -14186,7 +14306,7 @@ class Select {
|
|
14186
14306
|
if (this.searchable) {
|
14187
14307
|
this.searchableSelectElement.value = null;
|
14188
14308
|
this.searchableSelectInputValue = null;
|
14189
|
-
this.filteredOptions = this.
|
14309
|
+
this.filteredOptions = this.uniqueOptions;
|
14190
14310
|
this.hiddenInputValue = null;
|
14191
14311
|
this.searchableSelectElement.focus();
|
14192
14312
|
}
|
@@ -14234,7 +14354,7 @@ class Select {
|
|
14234
14354
|
else {
|
14235
14355
|
if (!this.hasTimedOut) {
|
14236
14356
|
this.noOptions = null;
|
14237
|
-
this.menu.options = this.
|
14357
|
+
this.menu.options = this.uniqueOptions;
|
14238
14358
|
}
|
14239
14359
|
}
|
14240
14360
|
}
|
@@ -14266,7 +14386,7 @@ class Select {
|
|
14266
14386
|
this.clearButtonFocused = false;
|
14267
14387
|
};
|
14268
14388
|
this.handleFilter = () => {
|
14269
|
-
const options = this.searchable ? [...this.
|
14389
|
+
const options = this.deduplicateOptions(this.searchable ? [...this.uniqueOptions] : this.ungroupedOptions);
|
14270
14390
|
let isGrouped = false;
|
14271
14391
|
let newFilteredOptions = [];
|
14272
14392
|
options.map((option) => {
|
@@ -14318,13 +14438,19 @@ class Select {
|
|
14318
14438
|
this.filteredOptions = this.noOptions;
|
14319
14439
|
}
|
14320
14440
|
};
|
14441
|
+
/**
|
14442
|
+
* Put the select component into loading state.
|
14443
|
+
* Replace options with the loading message. If timeout is enabled, set the timeout and once passed, replace options with the loading error message
|
14444
|
+
*/
|
14321
14445
|
this.triggerLoading = () => {
|
14322
14446
|
this.hasTimedOut = false;
|
14323
14447
|
this.noOptions = [{ label: this.loadingLabel, value: "", loading: true }];
|
14324
|
-
if (this.filteredOptions !== this.noOptions && this.searchable)
|
14448
|
+
if (this.filteredOptions !== this.noOptions && this.searchable) {
|
14325
14449
|
this.filteredOptions = this.noOptions;
|
14326
|
-
|
14327
|
-
|
14450
|
+
}
|
14451
|
+
else if (this.uniqueOptions !== this.noOptions && !this.searchable) {
|
14452
|
+
this.uniqueOptions = this.noOptions;
|
14453
|
+
}
|
14328
14454
|
if (this.timeout) {
|
14329
14455
|
this.timeoutTimer = window.setTimeout(() => {
|
14330
14456
|
this.loading = false;
|
@@ -14334,13 +14460,13 @@ class Select {
|
|
14334
14460
|
];
|
14335
14461
|
this.filteredOptions = this.noOptions;
|
14336
14462
|
if (!this.searchable)
|
14337
|
-
this.
|
14463
|
+
this.uniqueOptions = this.noOptions;
|
14338
14464
|
}, this.timeout);
|
14339
14465
|
}
|
14340
14466
|
};
|
14341
14467
|
this.getValueFromLabel = (label) => {
|
14342
14468
|
var _a;
|
14343
|
-
return (_a = this.
|
14469
|
+
return (_a = this.uniqueOptions.find((option) => option.label === label)) === null || _a === void 0 ? void 0 : _a.value;
|
14344
14470
|
};
|
14345
14471
|
this.handleSearchableSelectInput = (event) => {
|
14346
14472
|
this.searchableSelectInputValue = event.target.value;
|
@@ -14443,6 +14569,7 @@ class Select {
|
|
14443
14569
|
this.loading = false;
|
14444
14570
|
this.options = [];
|
14445
14571
|
this.filteredOptions = this.options;
|
14572
|
+
this.uniqueOptions = this.options;
|
14446
14573
|
this.debounce = 0;
|
14447
14574
|
this.currDebounce = this.debounce;
|
14448
14575
|
this.value = undefined;
|
@@ -14461,10 +14588,12 @@ class Select {
|
|
14461
14588
|
if (this.options.length > 0) {
|
14462
14589
|
this.setOptionsValuesFromLabels();
|
14463
14590
|
this.noOptions = null;
|
14464
|
-
this.
|
14591
|
+
this.uniqueOptions = this.deduplicateOptions(this.options);
|
14592
|
+
this.filteredOptions = this.uniqueOptions;
|
14465
14593
|
}
|
14466
14594
|
else {
|
14467
14595
|
this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
|
14596
|
+
this.uniqueOptions = this.noOptions;
|
14468
14597
|
this.filteredOptions = this.noOptions;
|
14469
14598
|
}
|
14470
14599
|
this.updateSearchableSelectResultAriaLive();
|
@@ -14472,7 +14601,8 @@ class Select {
|
|
14472
14601
|
}
|
14473
14602
|
else {
|
14474
14603
|
this.setOptionsValuesFromLabels();
|
14475
|
-
this.
|
14604
|
+
this.uniqueOptions = this.deduplicateOptions(this.options);
|
14605
|
+
this.filteredOptions = this.uniqueOptions;
|
14476
14606
|
if (this.initialOptionsEmpty) {
|
14477
14607
|
this.setDefaultValue();
|
14478
14608
|
this.initialOptionsEmpty = false;
|
@@ -14513,12 +14643,14 @@ class Select {
|
|
14513
14643
|
}
|
14514
14644
|
else {
|
14515
14645
|
this.setDefaultValue();
|
14646
|
+
this.uniqueOptions = this.deduplicateOptions(this.options);
|
14516
14647
|
}
|
14517
14648
|
}
|
14518
14649
|
componentDidLoad() {
|
14519
14650
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
|
14520
|
-
if (this.loading)
|
14651
|
+
if (this.loading) {
|
14521
14652
|
this.triggerLoading();
|
14653
|
+
}
|
14522
14654
|
this.hiddenInputValue = this.searchable && this.currValue;
|
14523
14655
|
}
|
14524
14656
|
componentDidRender() {
|
@@ -14604,7 +14736,7 @@ class Select {
|
|
14604
14736
|
"no-results": noOptionSelect,
|
14605
14737
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
14606
14738
|
? this.searchableSelectElement
|
14607
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions :
|
14739
|
+
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : this.uniqueOptions, value: currValue, fullWidth: fullWidth, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuKeyPress: this.handleMenuKeyPress, onMenuValueChange: this.handleMenuValueChange, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.host, onTimeoutBlur: this.onTimeoutBlur, activationType: this.searchable ? "manual" : "automatic" })), hasValidationStatus(this.validationStatus, this.disabled) && (hAsync("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
|
14608
14740
|
}
|
14609
14741
|
static get delegatesFocus() { return true; }
|
14610
14742
|
get host() { return getElement(this); }
|
@@ -14655,6 +14787,7 @@ class Select {
|
|
14655
14787
|
"pressedCharacters": [32],
|
14656
14788
|
"searchableSelectInputValue": [32],
|
14657
14789
|
"filteredOptions": [32],
|
14790
|
+
"uniqueOptions": [32],
|
14658
14791
|
"currDebounce": [32],
|
14659
14792
|
"initialValue": [32],
|
14660
14793
|
"inputValueToFilter": [32],
|
@@ -17569,8 +17702,8 @@ function renderBuildDiagnostic(e, t, r, s) {
|
|
17569
17702
|
type: "build",
|
17570
17703
|
header: r,
|
17571
17704
|
messageText: s,
|
17572
|
-
relFilePath:
|
17573
|
-
absFilePath:
|
17705
|
+
relFilePath: void 0,
|
17706
|
+
absFilePath: void 0,
|
17574
17707
|
lines: []
|
17575
17708
|
};
|
17576
17709
|
return e.pathname ? "/" !== e.pathname && (n.header += ": " + e.pathname) : e.url && (n.header += ": " + e.url),
|
@@ -17788,7 +17921,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
17788
17921
|
line: r,
|
17789
17922
|
column: s
|
17790
17923
|
};
|
17791
|
-
return t => (t.position = new
|
17924
|
+
return t => (t.position = new A(e), m(), t);
|
17792
17925
|
}, a = o => {
|
17793
17926
|
const i = e.split("\n"), a = {
|
17794
17927
|
level: "error",
|
@@ -17833,7 +17966,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
17833
17966
|
}, d = () => {
|
17834
17967
|
let t;
|
17835
17968
|
const r = [];
|
17836
|
-
for (m(), h(r); e.length && "}" !== e.charAt(0) && (t =
|
17969
|
+
for (m(), h(r); e.length && "}" !== e.charAt(0) && (t = T() || w()); ) r.push(t),
|
17837
17970
|
h(r);
|
17838
17971
|
return r;
|
17839
17972
|
}, m = () => u(/^\s*/), h = e => {
|
@@ -17894,7 +18027,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
17894
18027
|
};
|
17895
18028
|
return o[e] = n[1].trim(), s(o);
|
17896
18029
|
};
|
17897
|
-
}, E = S("import", 7), b = S("charset", 0),
|
18030
|
+
}, E = S("import", 7), b = S("charset", 0), v = S("namespace", 11), T = () => "@" !== e[0] ? null : (() => {
|
17898
18031
|
const e = i();
|
17899
18032
|
let t = u(/^@([-\w]+)?keyframes\s*/);
|
17900
18033
|
if (!t) return null;
|
@@ -17939,7 +18072,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
17939
18072
|
supports: r,
|
17940
18073
|
rules: s
|
17941
18074
|
}) : a("@supports missing '}'");
|
17942
|
-
})() || E() || b() ||
|
18075
|
+
})() || E() || b() || v() || (() => {
|
17943
18076
|
const e = i(), t = u(/^@([-\w]+)?document *([^{]+)/);
|
17944
18077
|
if (!t) return null;
|
17945
18078
|
const r = trim(t[1]), s = trim(t[2]);
|
@@ -17982,7 +18115,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
17982
18115
|
type: 5,
|
17983
18116
|
declarations: r
|
17984
18117
|
}) : a("@font-face missing '}'");
|
17985
|
-
})(),
|
18118
|
+
})(), w = () => {
|
17986
18119
|
const e = i(), t = f();
|
17987
18120
|
return t ? (h(), e({
|
17988
18121
|
type: 13,
|
@@ -17990,7 +18123,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
17990
18123
|
declarations: y()
|
17991
18124
|
})) : a("selector missing");
|
17992
18125
|
};
|
17993
|
-
class
|
18126
|
+
class A {
|
17994
18127
|
constructor(e) {
|
17995
18128
|
this.start = e, this.end = {
|
17996
18129
|
line: r,
|
@@ -17998,7 +18131,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
17998
18131
|
}, this.source = t;
|
17999
18132
|
}
|
18000
18133
|
}
|
18001
|
-
return
|
18134
|
+
return A.prototype.content = e, {
|
18002
18135
|
diagnostics: n,
|
18003
18136
|
...addParent((() => {
|
18004
18137
|
const e = d();
|
@@ -18039,54 +18172,62 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
18039
18172
|
ids: [],
|
18040
18173
|
attrs: []
|
18041
18174
|
}, serializeCssVisitNode = (e, t, r, s) => {
|
18042
|
-
|
18043
|
-
|
18175
|
+
var n;
|
18176
|
+
const o = t.type;
|
18177
|
+
return 4 === o ? serializeCssDeclaration(t, r, s) : 13 === o ? serializeCssRule(e, t) : 1 === o ? "!" === (null === (n = t.comment) || void 0 === n ? void 0 : n[0]) ? `/*${t.comment}*/` : "" : 10 === o ? serializeCssMedia(e, t) : 8 === o ? serializeCssKeyframes(e, t) : 9 === o ? serializeCssKeyframe(e, t) : 5 === o ? serializeCssFontFace(e, t) : 15 === o ? serializeCssSupports(e, t) : 7 === o ? "@import " + t.import + ";" : 0 === o ? "@charset " + t.charset + ";" : 12 === o ? serializeCssPage(e, t) : 6 === o ? "@host{" + serializeCssMapVisit(e, t.rules) + "}" : 2 === o ? "@custom-media " + t.name + " " + t.media + ";" : 3 === o ? serializeCssDocument(e, t) : 11 === o ? "@namespace " + t.namespace + ";" : "";
|
18044
18178
|
}, serializeCssRule = (e, t) => {
|
18045
|
-
|
18046
|
-
|
18047
|
-
if (
|
18048
|
-
|
18049
|
-
|
18050
|
-
|
18051
|
-
|
18052
|
-
|
18053
|
-
|
18054
|
-
|
18179
|
+
var r, s;
|
18180
|
+
const n = t.declarations, o = e.usedSelectors, i = null !== (s = null === (r = t.selectors) || void 0 === r ? void 0 : r.slice()) && void 0 !== s ? s : [];
|
18181
|
+
if (null == n || 0 === n.length) return "";
|
18182
|
+
if (o) {
|
18183
|
+
let t, r, s = !0;
|
18184
|
+
for (t = i.length - 1; t >= 0; t--) {
|
18185
|
+
const n = getCssSelectors(i[t]);
|
18186
|
+
s = !0;
|
18187
|
+
let a = n.classNames.length;
|
18188
|
+
if (a > 0 && e.hasUsedClassNames) for (r = 0; r < a; r++) if (!o.classNames.has(n.classNames[r])) {
|
18189
|
+
s = !1;
|
18055
18190
|
break;
|
18056
18191
|
}
|
18057
|
-
if (
|
18058
|
-
|
18192
|
+
if (s && e.hasUsedTags && (a = n.tags.length, a > 0)) for (r = 0; r < a; r++) if (!o.tags.has(n.tags[r])) {
|
18193
|
+
s = !1;
|
18059
18194
|
break;
|
18060
18195
|
}
|
18061
|
-
if (
|
18062
|
-
|
18196
|
+
if (s && e.hasUsedAttrs && (a = n.attrs.length, a > 0)) for (r = 0; r < a; r++) if (!o.attrs.has(n.attrs[r])) {
|
18197
|
+
s = !1;
|
18063
18198
|
break;
|
18064
18199
|
}
|
18065
|
-
if (
|
18066
|
-
|
18200
|
+
if (s && e.hasUsedIds && (a = n.ids.length, a > 0)) for (r = 0; r < a; r++) if (!o.ids.has(n.ids[r])) {
|
18201
|
+
s = !1;
|
18067
18202
|
break;
|
18068
18203
|
}
|
18069
|
-
|
18204
|
+
s || i.splice(t, 1);
|
18070
18205
|
}
|
18071
18206
|
}
|
18072
|
-
if (0 ===
|
18073
|
-
const
|
18074
|
-
let
|
18075
|
-
for (const e of t.selectors)
|
18076
|
-
return `${
|
18207
|
+
if (0 === i.length) return "";
|
18208
|
+
const a = [];
|
18209
|
+
let l = "";
|
18210
|
+
if (t.selectors) for (const e of t.selectors) l = removeSelectorWhitespace(e), a.includes(l) || a.push(l);
|
18211
|
+
return `${a}{${serializeCssMapVisit(e, n)}}`;
|
18077
18212
|
}, serializeCssDeclaration = (e, t, r) => "" === e.value ? "" : r - 1 === t ? e.property + ":" + e.value : e.property + ":" + e.value + ";", serializeCssMedia = (e, t) => {
|
18078
18213
|
const r = serializeCssMapVisit(e, t.rules);
|
18079
18214
|
return "" === r ? "" : "@media " + removeMediaWhitespace(t.media) + "{" + r + "}";
|
18080
18215
|
}, serializeCssKeyframes = (e, t) => {
|
18081
18216
|
const r = serializeCssMapVisit(e, t.keyframes);
|
18082
18217
|
return "" === r ? "" : "@" + (t.vendor || "") + "keyframes " + t.name + "{" + r + "}";
|
18083
|
-
}, serializeCssKeyframe = (e, t) =>
|
18218
|
+
}, serializeCssKeyframe = (e, t) => {
|
18219
|
+
var r, s;
|
18220
|
+
return (null !== (s = null === (r = t.values) || void 0 === r ? void 0 : r.join(",")) && void 0 !== s ? s : "") + "{" + serializeCssMapVisit(e, t.declarations) + "}";
|
18221
|
+
}, serializeCssFontFace = (e, t) => {
|
18084
18222
|
const r = serializeCssMapVisit(e, t.declarations);
|
18085
18223
|
return "" === r ? "" : "@font-face{" + r + "}";
|
18086
18224
|
}, serializeCssSupports = (e, t) => {
|
18087
18225
|
const r = serializeCssMapVisit(e, t.rules);
|
18088
18226
|
return "" === r ? "" : "@supports " + t.supports + "{" + r + "}";
|
18089
|
-
}, serializeCssPage = (e, t) =>
|
18227
|
+
}, serializeCssPage = (e, t) => {
|
18228
|
+
var r, s;
|
18229
|
+
return "@page " + (null !== (s = null === (r = t.selectors) || void 0 === r ? void 0 : r.join(", ")) && void 0 !== s ? s : "") + "{" + serializeCssMapVisit(e, t.declarations) + "}";
|
18230
|
+
}, serializeCssDocument = (e, t) => {
|
18090
18231
|
const r = serializeCssMapVisit(e, t.rules), s = "@" + (t.vendor || "") + "document " + t.document;
|
18091
18232
|
return "" === r ? "" : s + "{" + r + "}";
|
18092
18233
|
}, serializeCssMapVisit = (e, t) => {
|
@@ -18103,12 +18244,14 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
18103
18244
|
} else t += r;
|
18104
18245
|
return t;
|
18105
18246
|
}, removeMediaWhitespace = e => {
|
18106
|
-
|
18107
|
-
|
18108
|
-
|
18109
|
-
|
18110
|
-
|
18111
|
-
|
18247
|
+
var t;
|
18248
|
+
let r = "", s = "";
|
18249
|
+
for (let n = 0, o = (e = null !== (t = null == e ? void 0 : e.trim()) && void 0 !== t ? t : "").length; n < o; n++) if (s = e[n],
|
18250
|
+
CSS_WS_REG.test(s)) {
|
18251
|
+
if (CSS_WS_REG.test(r[r.length - 1])) continue;
|
18252
|
+
r += " ";
|
18253
|
+
} else r += s;
|
18254
|
+
return r;
|
18112
18255
|
}, CSS_WS_REG = /\s/, CSS_NEXT_CHAR_REG = /[>\(\)\~\,\+\s]/, CSS_PREV_CHAR_REG = /[>\(\~\,\+]/, collectUsedSelectors = (e, t) => {
|
18113
18256
|
if (null != t && 1 === t.nodeType) {
|
18114
18257
|
const r = t.children, s = t.nodeName.toLowerCase();
|
@@ -18145,8 +18288,6 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
18145
18288
|
type: "build",
|
18146
18289
|
header: "Build Error",
|
18147
18290
|
messageText: "build error",
|
18148
|
-
relFilePath: null,
|
18149
|
-
absFilePath: null,
|
18150
18291
|
lines: []
|
18151
18292
|
};
|
18152
18293
|
null != t && (null != t.stack ? s.messageText = t.stack.toString() : null != t.message ? s.messageText = t.message.length ? t.message : "UNKNOWN ERROR" : s.messageText = t.toString()),
|