@ukic/canary-web-components 3.0.0-canary.22 → 3.0.0-canary.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clear-icon-547aa9b9.js +10 -0
- package/dist/cjs/clear-icon-547aa9b9.js.map +1 -0
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{date-helpers-6f70dd03.js → date-helpers-d7ee7b45.js} +5 -9
- package/dist/cjs/date-helpers-d7ee7b45.js.map +1 -0
- package/dist/cjs/{helpers-74cf2649.js → helpers-56717660.js} +31 -7
- package/dist/cjs/helpers-56717660.js.map +1 -0
- package/dist/cjs/helpers-da852478.js.map +1 -1
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-action-chip.cjs.entry.js +116 -0
- package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +2 -2
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +4 -4
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +4 -4
- package/dist/cjs/ic-badge.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 +3 -3
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +56 -96
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +5 -5
- package/dist/cjs/ic-card-vertical.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_3.cjs.entry.js +8 -8
- package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +13 -5
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +3 -3
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +4 -4
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +43 -56
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +26 -18
- package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +4 -4
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +5 -5
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js +224 -0
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js +70 -0
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-layout-grid.cjs.entry.js +156 -0
- package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/{ic-input-component-container_3.cjs.entry.js → ic-menu.cjs.entry.js} +5 -96
- package/dist/cjs/ic-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +18 -18
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +10 -6
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-section-container.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 +2 -2
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-skip-link.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 +14 -14
- 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 +5 -5
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- 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-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-time-input.cjs.entry.js +943 -0
- package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -0
- 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 +5 -5
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -5
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-tree-view.cjs.entry.js +3 -3
- 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-d337cd8a.js +20 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/clock.svg +1 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/ic-data-table/ic-data-table.js +43 -57
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.stories.js +3 -2
- package/dist/collection/components/ic-data-table/ic-data-table.stories.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +7 -57
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-date-input/ic-date-input.js +24 -12
- package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.css +4 -5
- package/dist/collection/components/ic-date-picker/ic-date-picker.js +12 -12
- package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js +9 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js.map +1 -1
- package/dist/collection/components/ic-date-picker/story-data.js +18 -0
- package/dist/collection/components/ic-date-picker/story-data.js.map +1 -1
- package/dist/collection/components/ic-time-input/ic-time-input.css +648 -0
- package/dist/collection/components/ic-time-input/ic-time-input.js +1600 -0
- package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -0
- package/dist/collection/components/ic-time-input/ic-time-input.stories.js +320 -0
- package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -0
- package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js +45 -0
- package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js.map +1 -0
- package/dist/collection/components/ic-tree-item/ic-tree-item.js +2 -2
- package/dist/collection/components/ic-tree-view/ic-tree-view.js +3 -3
- package/dist/collection/utils/date-helpers.js +3 -7
- package/dist/collection/utils/date-helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/clear-icon.js +8 -0
- package/dist/components/clear-icon.js.map +1 -0
- package/dist/components/helpers.js +31 -7
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-action-chip.js +160 -0
- package/dist/components/ic-action-chip.js.map +1 -0
- package/dist/components/ic-alert.js +1 -1
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +4 -4
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +4 -4
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +3 -3
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +3 -3
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +15 -13
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +4 -4
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +3 -3
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox2.js +6 -6
- package/dist/components/ic-checkbox2.js.map +1 -1
- package/dist/components/ic-chip.js +13 -5
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-list.js +3 -3
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js +4 -4
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-data-table.js +43 -56
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +29 -25
- package/dist/components/ic-date-input2.js.map +1 -1
- package/dist/components/ic-date-picker.js +13 -13
- package/dist/components/ic-date-picker.js.map +1 -1
- package/dist/components/ic-dialog.js +2 -2
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-empty-state2.js +2 -2
- package/dist/components/ic-empty-state2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +1 -1
- package/dist/components/ic-footer-link.js +3 -3
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +4 -4
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +5 -5
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +6 -6
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +4 -4
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +3 -3
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +4 -4
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-layout-grid-item.js +95 -0
- package/dist/components/ic-layout-grid-item.js.map +1 -0
- package/dist/components/ic-layout-grid.js +188 -0
- package/dist/components/ic-layout-grid.js.map +1 -0
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +5 -5
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +2 -2
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu2.js +4 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +3 -3
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +3 -3
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +3 -3
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +5 -5
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +7 -7
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +2 -2
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination2.js +4 -4
- package/dist/components/ic-pagination2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +11 -6
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +5 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +5 -5
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +10 -10
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select2.js +7 -7
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +5 -5
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-skip-link.js.map +1 -1
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +14 -14
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +5 -5
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +2 -2
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +7 -7
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-time-input.d.ts +11 -0
- package/dist/components/ic-time-input.js +1045 -0
- package/dist/components/ic-time-input.js.map +1 -0
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +5 -5
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +2 -2
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +39 -79
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +5 -5
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-tree-item.js +2 -2
- package/dist/components/ic-tree-view.js +3 -3
- package/dist/components/ic-typography2.js +2 -2
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.css +236 -16
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-e253a857.js → p-0f22f41e.js} +2 -2
- package/dist/core/p-0f22f41e.js.map +1 -0
- package/dist/core/{p-0dc0d839.entry.js → p-0fad83d8.entry.js} +2 -2
- package/dist/core/{p-0dc0d839.entry.js.map → p-0fad83d8.entry.js.map} +1 -1
- package/dist/core/{p-42913c5b.entry.js → p-145c0245.entry.js} +2 -2
- package/dist/core/{p-42913c5b.entry.js.map → p-145c0245.entry.js.map} +1 -1
- package/dist/core/{p-15ec796a.entry.js → p-17acca45.entry.js} +2 -2
- package/dist/core/{p-15ec796a.entry.js.map → p-17acca45.entry.js.map} +1 -1
- package/dist/core/p-1a5efa3e.entry.js +2 -0
- package/dist/core/{p-032113b9.entry.js.map → p-1a5efa3e.entry.js.map} +1 -1
- package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
- package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +1 -1
- package/dist/core/p-20374e30.entry.js +2 -0
- package/dist/core/{p-8cb5deba.entry.js.map → p-20374e30.entry.js.map} +1 -1
- package/dist/core/{p-fc5661ac.entry.js → p-287e5c17.entry.js} +2 -2
- package/dist/core/{p-fc5661ac.entry.js.map → p-287e5c17.entry.js.map} +1 -1
- package/dist/core/p-2f4f4aea.entry.js +2 -0
- package/dist/core/p-2f4f4aea.entry.js.map +1 -0
- package/dist/core/p-2fe31f66.entry.js +2 -0
- package/dist/core/p-2fe31f66.entry.js.map +1 -0
- package/dist/core/{p-a220535c.entry.js → p-31d6d587.entry.js} +2 -2
- package/dist/core/{p-a220535c.entry.js.map → p-31d6d587.entry.js.map} +1 -1
- package/dist/core/{p-3cf99186.entry.js → p-364cc350.entry.js} +2 -2
- package/dist/core/{p-6e7aaca5.entry.js → p-3f241d71.entry.js} +2 -2
- package/dist/core/{p-6e7aaca5.entry.js.map → p-3f241d71.entry.js.map} +1 -1
- package/dist/core/{p-bbf39a76.entry.js → p-40743d97.entry.js} +2 -2
- package/dist/core/{p-bbf39a76.entry.js.map → p-40743d97.entry.js.map} +1 -1
- package/dist/core/{p-b88585bf.entry.js → p-43285eeb.entry.js} +2 -2
- package/dist/core/{p-b88585bf.entry.js.map → p-43285eeb.entry.js.map} +1 -1
- package/dist/core/{p-9e051db4.entry.js → p-45dd12ee.entry.js} +2 -2
- package/dist/core/{p-9e051db4.entry.js.map → p-45dd12ee.entry.js.map} +1 -1
- package/dist/core/{p-e18ba5d6.entry.js → p-4bddb866.entry.js} +2 -2
- package/dist/core/{p-e18ba5d6.entry.js.map → p-4bddb866.entry.js.map} +1 -1
- package/dist/core/{p-90364cef.entry.js → p-518a8e87.entry.js} +2 -2
- package/dist/core/{p-90364cef.entry.js.map → p-518a8e87.entry.js.map} +1 -1
- package/dist/core/{p-e2103bcc.entry.js → p-51e2de77.entry.js} +2 -2
- package/dist/core/{p-e2103bcc.entry.js.map → p-51e2de77.entry.js.map} +1 -1
- package/dist/core/{p-78635447.entry.js → p-558936fb.entry.js} +2 -2
- package/dist/core/{p-8d908a57.entry.js → p-588a331f.entry.js} +2 -2
- package/dist/core/{p-8d908a57.entry.js.map → p-588a331f.entry.js.map} +1 -1
- package/dist/core/p-59048c2a.entry.js +2 -0
- package/dist/core/p-59048c2a.entry.js.map +1 -0
- package/dist/core/{p-64372a57.entry.js → p-5976d13e.entry.js} +2 -2
- package/dist/core/{p-64372a57.entry.js.map → p-5976d13e.entry.js.map} +1 -1
- package/dist/core/{p-a26a60ff.entry.js → p-5ac30e1f.entry.js} +2 -2
- package/dist/core/{p-a26a60ff.entry.js.map → p-5ac30e1f.entry.js.map} +1 -1
- package/dist/core/p-5c7c7205.entry.js +2 -0
- package/dist/core/p-5c7c7205.entry.js.map +1 -0
- package/dist/core/{p-d281c3cf.entry.js → p-5fbc8e62.entry.js} +2 -2
- package/dist/core/{p-d281c3cf.entry.js.map → p-5fbc8e62.entry.js.map} +1 -1
- package/dist/core/{p-832c7042.entry.js → p-608a8a4d.entry.js} +2 -2
- package/dist/core/p-66ae9eb3.entry.js +2 -0
- package/dist/core/p-66ae9eb3.entry.js.map +1 -0
- package/dist/core/p-6796acff.entry.js +2 -0
- package/dist/core/p-6796acff.entry.js.map +1 -0
- package/dist/core/{p-b1b27b7e.entry.js → p-6e8ef73c.entry.js} +2 -2
- package/dist/core/{p-b1b27b7e.entry.js.map → p-6e8ef73c.entry.js.map} +1 -1
- package/dist/core/p-7d2d067f.entry.js +2 -0
- package/dist/core/p-7d2d067f.entry.js.map +1 -0
- package/dist/core/{p-5d987f8f.entry.js → p-8051e61b.entry.js} +2 -2
- package/dist/core/{p-5d987f8f.entry.js.map → p-8051e61b.entry.js.map} +1 -1
- package/dist/core/{p-f569a91f.entry.js → p-812a0246.entry.js} +2 -2
- package/dist/core/{p-f569a91f.entry.js.map → p-812a0246.entry.js.map} +1 -1
- package/dist/core/p-816aae93.entry.js +2 -0
- package/dist/core/p-816aae93.entry.js.map +1 -0
- package/dist/core/{p-ead0acc3.entry.js → p-8908b8e6.entry.js} +2 -2
- package/dist/core/{p-3448c713.entry.js → p-8b5022bc.entry.js} +2 -2
- package/dist/core/{p-3448c713.entry.js.map → p-8b5022bc.entry.js.map} +1 -1
- package/dist/core/{p-bf93baea.entry.js → p-91646e38.entry.js} +2 -2
- package/dist/core/{p-bf93baea.entry.js.map → p-91646e38.entry.js.map} +1 -1
- package/dist/core/{p-826a6c25.entry.js → p-9863a070.entry.js} +2 -2
- package/dist/core/{p-826a6c25.entry.js.map → p-9863a070.entry.js.map} +1 -1
- package/dist/core/{p-0f86ea09.entry.js → p-999f0a5d.entry.js} +2 -2
- package/dist/core/{p-0f86ea09.entry.js.map → p-999f0a5d.entry.js.map} +1 -1
- package/dist/core/{p-137dd76e.entry.js → p-9fe5e2eb.entry.js} +2 -2
- package/dist/core/{p-137dd76e.entry.js.map → p-9fe5e2eb.entry.js.map} +1 -1
- package/dist/core/p-9fffb01e.entry.js +2 -0
- package/dist/core/p-9fffb01e.entry.js.map +1 -0
- package/dist/core/{p-2d8900bf.entry.js → p-aa94c4b0.entry.js} +2 -2
- package/dist/core/{p-2d8900bf.entry.js.map → p-aa94c4b0.entry.js.map} +1 -1
- package/dist/core/p-ad48c77c.entry.js +2 -0
- package/dist/core/p-ad48c77c.entry.js.map +1 -0
- package/dist/core/p-afece95e.entry.js +2 -0
- package/dist/core/p-afece95e.entry.js.map +1 -0
- package/dist/core/p-b0462734.entry.js +2 -0
- package/dist/core/p-b0462734.entry.js.map +1 -0
- package/dist/core/{p-5237f3ac.entry.js → p-b87e4485.entry.js} +2 -2
- package/dist/core/{p-755bdc43.entry.js → p-b8938f93.entry.js} +2 -2
- package/dist/core/{p-33404c14.entry.js → p-b93e8ecb.entry.js} +2 -2
- package/dist/core/{p-33404c14.entry.js.map → p-b93e8ecb.entry.js.map} +1 -1
- package/dist/core/{p-c86ca475.js → p-bc441e4c.js} +2 -2
- package/dist/core/p-bc441e4c.js.map +1 -0
- package/dist/core/p-bc7d730d.entry.js +2 -0
- package/dist/core/p-bc7d730d.entry.js.map +1 -0
- package/dist/core/{p-94065f7a.entry.js → p-be5df6a9.entry.js} +2 -2
- package/dist/core/{p-94065f7a.entry.js.map → p-be5df6a9.entry.js.map} +1 -1
- package/dist/core/{p-bc974a3e.entry.js → p-c067e62c.entry.js} +2 -2
- package/dist/core/{p-bc974a3e.entry.js.map → p-c067e62c.entry.js.map} +1 -1
- package/dist/core/p-c3fe54ab.entry.js +2 -0
- package/dist/core/{p-1e256460.entry.js.map → p-c3fe54ab.entry.js.map} +1 -1
- package/dist/core/{p-b3509380.entry.js → p-c4bf8742.entry.js} +2 -2
- package/dist/core/{p-2c4bf16f.entry.js → p-cb4522ed.entry.js} +2 -2
- package/dist/core/{p-2c4bf16f.entry.js.map → p-cb4522ed.entry.js.map} +1 -1
- package/dist/core/{p-8397766e.entry.js → p-d13a066e.entry.js} +2 -2
- package/dist/core/{p-8397766e.entry.js.map → p-d13a066e.entry.js.map} +1 -1
- package/dist/core/p-d41b0da0.entry.js +2 -0
- package/dist/core/p-d41b0da0.entry.js.map +1 -0
- package/dist/core/{p-cc36abaa.entry.js → p-d47e200c.entry.js} +2 -2
- package/dist/core/p-dd7450fb.js +2 -0
- package/dist/core/p-dd7450fb.js.map +1 -0
- package/dist/core/{p-6dd73165.entry.js → p-df88ff5b.entry.js} +2 -2
- package/dist/core/{p-6dd73165.entry.js.map → p-df88ff5b.entry.js.map} +1 -1
- package/dist/core/p-e543f2e7.entry.js +2 -0
- package/dist/core/p-e543f2e7.entry.js.map +1 -0
- package/dist/core/{p-c77d6efc.entry.js → p-e7f22a19.entry.js} +2 -2
- package/dist/core/{p-c77d6efc.entry.js.map → p-e7f22a19.entry.js.map} +1 -1
- package/dist/core/p-ea061ccf.entry.js +2 -0
- package/dist/core/p-ea061ccf.entry.js.map +1 -0
- package/dist/core/p-efa95979.js +2 -0
- package/dist/core/p-efa95979.js.map +1 -0
- package/dist/core/{p-b27bc1a1.entry.js → p-efe2fbd7.entry.js} +2 -2
- package/dist/core/{p-b27bc1a1.entry.js.map → p-efe2fbd7.entry.js.map} +1 -1
- package/dist/core/{p-9097a16a.entry.js → p-f3201a0b.entry.js} +2 -2
- package/dist/core/{p-9097a16a.entry.js.map → p-f3201a0b.entry.js.map} +1 -1
- package/dist/core/{p-75901d06.entry.js → p-f517f412.entry.js} +2 -2
- package/dist/core/{p-fb7f4e2e.entry.js → p-f7d746d7.entry.js} +2 -2
- package/dist/core/{p-fb7f4e2e.entry.js.map → p-f7d746d7.entry.js.map} +1 -1
- package/dist/core/p-fb8c47ce.entry.js +2 -0
- package/dist/core/p-fb8c47ce.entry.js.map +1 -0
- package/dist/core/{p-cd8178a9.entry.js → p-fecef807.entry.js} +2 -2
- package/dist/core/{p-cd8178a9.entry.js.map → p-fecef807.entry.js.map} +1 -1
- package/dist/core/p-ffac41d6.entry.js +2 -0
- package/dist/core/p-ffac41d6.entry.js.map +1 -0
- package/dist/esm/clear-icon-1c79bda2.js +8 -0
- package/dist/esm/clear-icon-1c79bda2.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{date-helpers-3b8c39ab.js → date-helpers-2b531c8c.js} +5 -9
- package/dist/esm/date-helpers-2b531c8c.js.map +1 -0
- package/dist/esm/{helpers-d9387cd3.js → helpers-89cb996d.js} +2 -2
- package/dist/esm/helpers-89cb996d.js.map +1 -0
- package/dist/esm/{helpers-574534c9.js → helpers-f3928d01.js} +32 -8
- package/dist/esm/helpers-f3928d01.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-action-chip.entry.js +112 -0
- package/dist/esm/ic-action-chip.entry.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +2 -2
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +4 -4
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +4 -4
- package/dist/esm/ic-badge.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 +3 -3
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +56 -96
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +1 -1
- package/dist/esm/ic-card-vertical.entry.js +5 -5
- package/dist/esm/ic-card-vertical.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_3.entry.js +9 -9
- package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +13 -5
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +3 -3
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +4 -4
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
- package/dist/esm/ic-data-table.entry.js +44 -57
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +27 -19
- package/dist/esm/ic-date-input.entry.js.map +1 -1
- package/dist/esm/ic-date-picker.entry.js +14 -14
- package/dist/esm/ic-date-picker.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +2 -2
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +3 -3
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +4 -4
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +5 -5
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_4.entry.js +217 -0
- package/dist/esm/ic-input-component-container_4.entry.js.map +1 -0
- package/dist/esm/ic-layout-grid-item.entry.js +66 -0
- package/dist/esm/ic-layout-grid-item.entry.js.map +1 -0
- package/dist/esm/ic-layout-grid.entry.js +152 -0
- package/dist/esm/ic-layout-grid.entry.js.map +1 -0
- package/dist/esm/ic-link.entry.js +2 -2
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +2 -2
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/{ic-input-component-container_3.entry.js → ic-menu.entry.js} +7 -96
- package/dist/esm/ic-menu.entry.js.map +1 -0
- package/dist/esm/ic-navigation-button.entry.js +3 -3
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +3 -3
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +3 -3
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +5 -5
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +7 -7
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +18 -18
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +10 -6
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +5 -5
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +5 -5
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +10 -10
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-section-container.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 +2 -2
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-skip-link.entry.js +2 -2
- package/dist/esm/ic-skip-link.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 +14 -14
- 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 +5 -5
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +1 -1
- 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-theme.entry.js +2 -2
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-time-input.entry.js +939 -0
- package/dist/esm/ic-time-input.entry.js.map +1 -0
- 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 +5 -5
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +3 -3
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +3 -3
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +5 -5
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-tree-item.entry.js +3 -3
- package/dist/esm/ic-tree-view.entry.js +4 -4
- package/dist/esm/ic-typography.entry.js +3 -3
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/index-a7a720e7.js +20 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +12 -7
- package/dist/types/components/ic-data-table/story-data.d.ts +11 -20
- package/dist/types/components/ic-date-input/ic-date-input.d.ts +2 -1
- package/dist/types/components/ic-date-picker/ic-date-picker.stories.d.ts +8 -0
- package/dist/types/components/ic-date-picker/story-data.d.ts +1 -0
- package/dist/types/components/ic-time-input/ic-time-input.d.ts +229 -0
- package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +121 -0
- package/dist/types/components/ic-time-input/test/helpers/ic-time-input.d.ts +23 -0
- package/dist/types/components.d.ts +234 -2
- package/dist/types/utils/date-helpers.d.ts +1 -1
- package/dist/types/utils/types.d.ts +5 -0
- package/hydrate/index.js +1828 -476
- package/hydrate/index.mjs +1828 -476
- package/package.json +3 -3
- package/dist/cjs/date-helpers-6f70dd03.js.map +0 -1
- package/dist/cjs/helpers-74cf2649.js.map +0 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +0 -133
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +0 -1
- package/dist/core/p-032113b9.entry.js +0 -2
- package/dist/core/p-0fe08a58.js +0 -2
- package/dist/core/p-0fe08a58.js.map +0 -1
- package/dist/core/p-156fc5f1.entry.js +0 -2
- package/dist/core/p-156fc5f1.entry.js.map +0 -1
- package/dist/core/p-1e256460.entry.js +0 -2
- package/dist/core/p-1ffac8ae.entry.js +0 -2
- package/dist/core/p-1ffac8ae.entry.js.map +0 -1
- package/dist/core/p-224b2e14.entry.js +0 -2
- package/dist/core/p-224b2e14.entry.js.map +0 -1
- package/dist/core/p-2de3287c.entry.js +0 -2
- package/dist/core/p-2de3287c.entry.js.map +0 -1
- package/dist/core/p-497918fd.entry.js +0 -2
- package/dist/core/p-497918fd.entry.js.map +0 -1
- package/dist/core/p-6f72e6ac.entry.js +0 -2
- package/dist/core/p-6f72e6ac.entry.js.map +0 -1
- package/dist/core/p-88c5ec78.entry.js +0 -2
- package/dist/core/p-88c5ec78.entry.js.map +0 -1
- package/dist/core/p-8cb5deba.entry.js +0 -2
- package/dist/core/p-95881758.entry.js +0 -2
- package/dist/core/p-95881758.entry.js.map +0 -1
- package/dist/core/p-97abdbf7.entry.js +0 -2
- package/dist/core/p-97abdbf7.entry.js.map +0 -1
- package/dist/core/p-a54eb1d1.entry.js +0 -2
- package/dist/core/p-a54eb1d1.entry.js.map +0 -1
- package/dist/core/p-c67381b1.entry.js +0 -2
- package/dist/core/p-c67381b1.entry.js.map +0 -1
- package/dist/core/p-c86ca475.js.map +0 -1
- package/dist/core/p-c94e7b0b.entry.js +0 -2
- package/dist/core/p-c94e7b0b.entry.js.map +0 -1
- package/dist/core/p-cdd6d5e8.entry.js +0 -2
- package/dist/core/p-cdd6d5e8.entry.js.map +0 -1
- package/dist/core/p-d04b75cb.entry.js +0 -2
- package/dist/core/p-d04b75cb.entry.js.map +0 -1
- package/dist/core/p-e253a857.js.map +0 -1
- package/dist/esm/date-helpers-3b8c39ab.js.map +0 -1
- package/dist/esm/helpers-574534c9.js.map +0 -1
- package/dist/esm/helpers-d9387cd3.js.map +0 -1
- package/dist/esm/ic-input-component-container_3.entry.js.map +0 -1
- package/dist/esm/ic-input-label_2.entry.js +0 -128
- package/dist/esm/ic-input-label_2.entry.js.map +0 -1
- /package/dist/core/{p-3cf99186.entry.js.map → p-364cc350.entry.js.map} +0 -0
- /package/dist/core/{p-78635447.entry.js.map → p-558936fb.entry.js.map} +0 -0
- /package/dist/core/{p-832c7042.entry.js.map → p-608a8a4d.entry.js.map} +0 -0
- /package/dist/core/{p-ead0acc3.entry.js.map → p-8908b8e6.entry.js.map} +0 -0
- /package/dist/core/{p-5237f3ac.entry.js.map → p-b87e4485.entry.js.map} +0 -0
- /package/dist/core/{p-755bdc43.entry.js.map → p-b8938f93.entry.js.map} +0 -0
- /package/dist/core/{p-b3509380.entry.js.map → p-c4bf8742.entry.js.map} +0 -0
- /package/dist/core/{p-cc36abaa.entry.js.map → p-d47e200c.entry.js.map} +0 -0
- /package/dist/core/{p-75901d06.entry.js.map → p-f517f412.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
@@ -3149,6 +3149,18 @@ var warningIcon$1 = `<svg aria-labelledby="warning-title" xmlns="http://www.w3.o
|
|
3149
3149
|
</svg>
|
3150
3150
|
`;
|
3151
3151
|
|
3152
|
+
var aiIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
3153
|
+
<title id="ai-title">Artificial Intelligence (AI)</title>
|
3154
|
+
<g clip-path="url(#clip0_43876_12457)">
|
3155
|
+
<path d="M19.801 3C20.4637 3 21.001 3.53726 21.001 4.2V19.8C21.001 20.4628 20.4637 21 19.801 21H4.20098C3.53824 21 3.00098 20.4628 3.00098 19.8V4.2C3.00098 3.53726 3.53824 3 4.20098 3H19.801ZM8.94555 8.87988C8.88361 8.87988 8.82803 8.91796 8.80567 8.97573L6.32024 15.3958C6.28219 15.4941 6.35472 15.6 6.46013 15.6H7.19363C7.2559 15.6 7.3117 15.5615 7.33384 15.5033L7.89546 14.0262C7.9176 13.968 7.97339 13.9295 8.03567 13.9295H10.64C10.7023 13.9295 10.7582 13.968 10.7803 14.0263L11.3403 15.5032C11.3624 15.5615 11.4182 15.6 11.4805 15.6H12.2625C12.3678 15.6 12.4403 15.4944 12.4025 15.3962L9.9356 8.97608C9.91333 8.91813 9.85767 8.87988 9.79558 8.87988H8.94555ZM13.6123 8.87988C13.5294 8.87988 13.4623 8.94704 13.4623 9.02988V9.69024C13.4623 9.77308 13.5294 9.84024 13.6123 9.84024H14.3969C14.4797 9.84024 14.5469 9.9074 14.5469 9.99024V14.4902C14.5469 14.5731 14.4797 14.6402 14.3969 14.6402H13.6123C13.5294 14.6402 13.4623 14.7074 13.4623 14.7902V15.45C13.4623 15.5328 13.5294 15.6 13.6123 15.6H16.5186C16.6014 15.6 16.6686 15.5328 16.6686 15.45V14.7902C16.6686 14.7074 16.6014 14.6402 16.5186 14.6402H15.7334C15.6506 14.6402 15.5834 14.5731 15.5834 14.4902V9.99024C15.5834 9.9074 15.6506 9.84024 15.7334 9.84024H16.5186C16.6014 9.84024 16.6686 9.77308 16.6686 9.69024V9.02988C16.6686 8.94704 16.6014 8.87988 16.5186 8.87988H13.6123ZM9.35138 10.0705C9.40898 10.2433 9.47318 10.4353 9.54356 10.6465C9.61394 10.8577 9.6746 11.0497 9.72578 11.2225C9.78338 11.3952 9.82202 11.504 9.84122 11.5488L10.288 12.7279C10.3252 12.8261 10.2527 12.9311 10.1478 12.9311H8.52949C8.42445 12.9311 8.35194 12.8259 8.3893 12.7277L8.82344 11.5869C8.86182 11.4782 8.91003 11.3437 8.96758 11.1838C9.02516 11.0174 9.08288 10.8413 9.14042 10.6559C9.20438 10.4704 9.2615 10.2943 9.31268 10.1279C9.31947 10.1084 9.32604 10.0892 9.3325 10.0705C9.33554 10.0616 9.34853 10.0616 9.35138 10.0705Z" />
|
3156
|
+
</g>
|
3157
|
+
<defs>
|
3158
|
+
<clipPath id="clip0_43876_12457">
|
3159
|
+
<rect width="18" height="18" fill="white" transform="translate(3.00098 3)"/>
|
3160
|
+
</clipPath>
|
3161
|
+
</defs>
|
3162
|
+
</svg>`;
|
3163
|
+
|
3152
3164
|
// Global status icons
|
3153
3165
|
const VARIANT_ICONS = {
|
3154
3166
|
neutral: {
|
@@ -3171,6 +3183,10 @@ const VARIANT_ICONS = {
|
|
3171
3183
|
icon: successIcon,
|
3172
3184
|
ariaLabel: "Success",
|
3173
3185
|
},
|
3186
|
+
ai: {
|
3187
|
+
icon: aiIcon,
|
3188
|
+
ariaLabel: "AI",
|
3189
|
+
},
|
3174
3190
|
};
|
3175
3191
|
// Global ARIA attributes
|
3176
3192
|
const IC_INHERITED_ARIA = [
|
@@ -3419,19 +3435,27 @@ const isMobileOrTablet = () => "maxTouchPoints" in navigator && "userAgent" in n
|
|
3419
3435
|
/iPad|iPhone|iPod|Android|webOS|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
|
3420
3436
|
: false;
|
3421
3437
|
/**
|
3422
|
-
* Will create a button within the lightDOM which interacts with the
|
3438
|
+
* Will create a button within the lightDOM which interacts with the form.
|
3423
3439
|
* This is required as buttons within the shadowDOM will not invoke a submit or reset
|
3424
3440
|
*
|
3425
|
-
* @param form -
|
3441
|
+
* @param form - form element to associate button with
|
3426
3442
|
* @param button - shadowDOM button
|
3427
3443
|
*/
|
3428
3444
|
const handleHiddenFormButtonClick = (form, button) => {
|
3429
|
-
var _a, _b;
|
3430
|
-
const
|
3445
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
3446
|
+
const hiddenFormButtonId = button.type === "submit" || button.type === "reset"
|
3447
|
+
? `hidden-form-${button.type}-button`
|
3448
|
+
: "hidden-form-button";
|
3449
|
+
const hiddenFormButton = (_a = document.querySelector(`#${hiddenFormButtonId}`)) !== null && _a !== void 0 ? _a : document.createElement("button");
|
3431
3450
|
hiddenFormButton.setAttribute("type", (_b = button.type) !== null && _b !== void 0 ? _b : "button");
|
3432
|
-
hiddenFormButton.id =
|
3451
|
+
hiddenFormButton.id = hiddenFormButtonId;
|
3433
3452
|
hiddenFormButton.style.display = "none";
|
3434
|
-
|
3453
|
+
hiddenFormButton.formAction = (_c = button.formaction) !== null && _c !== void 0 ? _c : "";
|
3454
|
+
hiddenFormButton.formEnctype = (_d = button.formenctype) !== null && _d !== void 0 ? _d : "";
|
3455
|
+
hiddenFormButton.formMethod = (_e = button.formmethod) !== null && _e !== void 0 ? _e : "";
|
3456
|
+
hiddenFormButton.formNoValidate = (_f = button.formnovalidate) !== null && _f !== void 0 ? _f : false;
|
3457
|
+
hiddenFormButton.formTarget = (_g = button.formtarget) !== null && _g !== void 0 ? _g : "";
|
3458
|
+
form === null || form === void 0 ? void 0 : form.appendChild(hiddenFormButton);
|
3435
3459
|
hiddenFormButton.click();
|
3436
3460
|
};
|
3437
3461
|
const isEmptyString$1 = (value) => !value || value.trim().length === 0;
|
@@ -4009,6 +4033,147 @@ class AccordionGroup {
|
|
4009
4033
|
}; }
|
4010
4034
|
}
|
4011
4035
|
|
4036
|
+
var OpenInNew = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>`;
|
4037
|
+
|
4038
|
+
const icActionChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\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 {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: inline-block;\n max-width: 100%;\n vertical-align: middle;\n}\n\n.chip {\n --icon-color: var(--ic-action-chip-filled-icon);\n --text-color: var(--ic-action-chip-filled-label);\n --ic-typography-color: var(--text-color);\n\n align-items: center;\n background-color: var(--ic-action-chip-filled-background-default);\n border: var(--ic-border-width) solid transparent;\n border-radius: var(--ic-space-md);\n color: var(--text-color);\n cursor: pointer;\n display: flex;\n padding: calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);\n position: relative;\n text-decoration: none;\n\n &:hover {\n background-color: var(--ic-action-chip-filled-background-hover);\n }\n\n &:active {\n background-color: var(--ic-action-chip-filled-background-pressed);\n }\n\n &:focus {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n }\n}\n\n.small {\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n padding: var(--ic-space-1px) var(--ic-space-xxxs);\n}\n\n.large {\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);\n}\n\n.outlined {\n --icon-color: var(--ic-action-chip-outlined-icon);\n --text-color: var(--ic-action-chip-outlined-label);\n\n background-color: transparent;\n border-color: var(--ic-action-chip-outlined-border-default);\n\n &.non-transparent {\n background-color: var(--ic-action-chip-outlined-background-default);\n }\n\n &:hover {\n --icon-color: var(--ic-action-chip-outlined-icon-hover);\n --text-color: var(--ic-action-chip-outlined-label-hover);\n\n background-color: var(--ic-action-chip-outlined-background-hover);\n border-color: var(--ic-action-chip-outlined-border-hover);\n }\n\n &:active {\n --icon-color: var(--ic-action-chip-outlined-icon-pressed);\n --text-color: var(--ic-action-chip-outlined-label-pressed);\n\n background-color: var(--ic-action-chip-outlined-background-pressed);\n border-color: var(--ic-action-chip-outlined-border-pressed);\n }\n}\n\n.monochrome {\n &.filled {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-default\n );\n\n &:hover {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-hover\n );\n }\n\n &:active {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-pressed\n );\n }\n }\n\n &.outlined {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon);\n --text-color: var(--ic-action-chip-monochrome-outlined-label);\n\n border-color: var(--ic-action-chip-monochrome-outlined-border-default);\n\n &.non-transparent {\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-default\n );\n }\n\n &:hover {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon-hover);\n --text-color: var(--ic-action-chip-monochrome-outlined-label-hover);\n\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-hover\n );\n border-color: var(--ic-action-chip-monochrome-outlined-border-hover);\n }\n\n &:active {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon-pressed);\n --text-color: var(--ic-action-chip-monochrome-outlined-label-pressed);\n\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-pressed\n );\n border-color: var(--ic-action-chip-monochrome-outlined-border-pressed);\n }\n }\n}\n\n.disabled {\n --icon-color: var(--ic-action-chip-icon-disabled) !important;\n --text-color: var(--ic-action-chip-label-disabled) !important;\n\n background-color: var(--ic-action-chip-background-disabled) !important;\n cursor: default;\n\n &.outlined {\n border-color: var(--ic-action-chip-outlined-border-disabled) !important;\n border-style: dashed;\n\n &:not(.non-transparent) {\n background-color: transparent !important;\n }\n }\n}\n\n.label {\n padding: 0 var(--ic-space-xs);\n}\n\n.icon {\n box-sizing: border-box;\n color: var(--icon-color);\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n padding: var(--ic-space-xxxs);\n}\n\n.open-in-new-icon {\n box-sizing: border-box;\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n.open-in-new-icon > svg {\n fill: var(--icon-color);\n height: inherit;\n width: inherit;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .chip {\n transition: var(--ic-easing-transition-fast);\n }\n}\n\n@media (forced-colors: active) {\n .chip {\n border: var(--ic-border-hc);\n\n &.disabled {\n --text-color: GrayText;\n\n -webkit-appearance: none;\n\n -moz-appearance: none;\n\n appearance: none;\n border-color: GrayText;\n\n svg,\n ::slotted(svg) {\n fill: GrayText;\n }\n }\n\n &:focus {\n border-color: Highlight;\n outline: none;\n }\n }\n}\n";
|
4039
|
+
var IcActionChipStyle0 = icActionChipCss;
|
4040
|
+
|
4041
|
+
/**
|
4042
|
+
* @slot badge - Badge component overlaying the top right of the chip.
|
4043
|
+
* @slot icon - Content will be rendered at the start of the chip.
|
4044
|
+
*/
|
4045
|
+
class ActionChip {
|
4046
|
+
constructor(hostRef) {
|
4047
|
+
registerInstance(this, hostRef);
|
4048
|
+
/**
|
4049
|
+
* If `true`, the chip will appear disabled.
|
4050
|
+
*/
|
4051
|
+
this.disabled = false;
|
4052
|
+
/**
|
4053
|
+
* If `true`, the user can save the linked URL instead of navigating to it.
|
4054
|
+
*/
|
4055
|
+
this.download = false;
|
4056
|
+
/**
|
4057
|
+
* If `true`, the button will display as monochromatic in either `light` or `dark` theme.
|
4058
|
+
*/
|
4059
|
+
this.monochrome = false;
|
4060
|
+
/**
|
4061
|
+
* The size of the chip.
|
4062
|
+
*/
|
4063
|
+
this.size = "medium";
|
4064
|
+
/**
|
4065
|
+
* Sets the chip to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
4066
|
+
*/
|
4067
|
+
this.theme = "inherit";
|
4068
|
+
/**
|
4069
|
+
* If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.
|
4070
|
+
*/
|
4071
|
+
this.transparentBackground = true;
|
4072
|
+
/**
|
4073
|
+
* The type of the chip.
|
4074
|
+
*/
|
4075
|
+
this.type = "button";
|
4076
|
+
/**
|
4077
|
+
* The emphasis of the chip.
|
4078
|
+
*/
|
4079
|
+
this.variant = "filled";
|
4080
|
+
}
|
4081
|
+
watchDisabledHandler() {
|
4082
|
+
removeDisabledFalse$1(this.disabled, this.el);
|
4083
|
+
}
|
4084
|
+
disconnectedCallback() {
|
4085
|
+
var _a;
|
4086
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
4087
|
+
}
|
4088
|
+
componentWillLoad() {
|
4089
|
+
removeDisabledFalse$1(this.disabled, this.el);
|
4090
|
+
}
|
4091
|
+
componentDidLoad() {
|
4092
|
+
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Chip");
|
4093
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, ["icon", "badge"]));
|
4094
|
+
this.hostMutationObserver.observe(this.el, {
|
4095
|
+
childList: true,
|
4096
|
+
});
|
4097
|
+
}
|
4098
|
+
/**
|
4099
|
+
* Sets focus on the chip.
|
4100
|
+
*/
|
4101
|
+
async setFocus() {
|
4102
|
+
var _a;
|
4103
|
+
(_a = this.chipEl) === null || _a === void 0 ? void 0 : _a.focus();
|
4104
|
+
}
|
4105
|
+
render() {
|
4106
|
+
const { disabled, download, form, formaction, formenctype, formmethod, formnovalidate, formtarget, href, hreflang, label, monochrome, referrerpolicy, rel, size, target, theme, transparentBackground, type, variant, } = this;
|
4107
|
+
const TagType = href ? "a" : "button";
|
4108
|
+
const isButtonElement = TagType === "button";
|
4109
|
+
const chipAttrs = isButtonElement
|
4110
|
+
? {
|
4111
|
+
disabled,
|
4112
|
+
form,
|
4113
|
+
formaction,
|
4114
|
+
formenctype,
|
4115
|
+
formmethod,
|
4116
|
+
formnovalidate,
|
4117
|
+
formtarget,
|
4118
|
+
type,
|
4119
|
+
}
|
4120
|
+
: {
|
4121
|
+
download: download !== false ? download : null,
|
4122
|
+
href,
|
4123
|
+
hreflang,
|
4124
|
+
referrerpolicy,
|
4125
|
+
rel,
|
4126
|
+
target,
|
4127
|
+
};
|
4128
|
+
return (hAsync(Host, { key: '2c65125774e7ce4fc9cb0d447e0ebff984caad5a', class: {
|
4129
|
+
[`ic-theme-${theme}`]: theme !== "inherit",
|
4130
|
+
} }, hAsync(TagType, Object.assign({ key: 'af57a8bb5d0b29b4ff1023747bc0d4ca3824af73', class: {
|
4131
|
+
chip: true,
|
4132
|
+
disabled: isButtonElement && disabled,
|
4133
|
+
monochrome,
|
4134
|
+
"non-transparent": variant === "outlined" && !transparentBackground,
|
4135
|
+
[`${size}`]: true,
|
4136
|
+
[`${variant}`]: true,
|
4137
|
+
}, ref: (el) => (this.chipEl = el) }, chipAttrs), isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '755a2318e2968614423a5b88b2831e259caef7e3', class: "icon" }, hAsync("slot", { key: '4137b19dc8fc2be40a7ccf696f820e30c1b668b0', name: "icon" }))), hAsync("ic-typography", { key: '2b8615d3bce8b9b0d4b5e89cceac2b97b8d95105', variant: "label", class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, hAsync("span", { key: '3f5d55931b36640b30b472fcc4febecb6d502189' }, label)), !isButtonElement && target === "_blank" && (hAsync("span", { key: 'd0c2331424af931db24f5d9fe2dc3500bf31db46', class: "open-in-new-icon", innerHTML: OpenInNew })), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: 'b0451850fd5b42f4120b7fa6e943332d64e52690', name: "badge" }))));
|
4138
|
+
}
|
4139
|
+
static get delegatesFocus() { return true; }
|
4140
|
+
get el() { return getElement(this); }
|
4141
|
+
static get watchers() { return {
|
4142
|
+
"disabled": ["watchDisabledHandler"]
|
4143
|
+
}; }
|
4144
|
+
static get style() { return IcActionChipStyle0; }
|
4145
|
+
static get cmpMeta() { return {
|
4146
|
+
"$flags$": 25,
|
4147
|
+
"$tagName$": "ic-action-chip",
|
4148
|
+
"$members$": {
|
4149
|
+
"disabled": [4],
|
4150
|
+
"download": [8],
|
4151
|
+
"form": [1],
|
4152
|
+
"formaction": [1],
|
4153
|
+
"formenctype": [1],
|
4154
|
+
"formmethod": [1],
|
4155
|
+
"formnovalidate": [4],
|
4156
|
+
"formtarget": [1],
|
4157
|
+
"href": [1],
|
4158
|
+
"hreflang": [1],
|
4159
|
+
"label": [1],
|
4160
|
+
"monochrome": [4],
|
4161
|
+
"referrerpolicy": [1],
|
4162
|
+
"rel": [1],
|
4163
|
+
"size": [1],
|
4164
|
+
"target": [1],
|
4165
|
+
"theme": [1],
|
4166
|
+
"transparentBackground": [4, "transparent-background"],
|
4167
|
+
"type": [1],
|
4168
|
+
"variant": [1],
|
4169
|
+
"setFocus": [64]
|
4170
|
+
},
|
4171
|
+
"$listeners$": undefined,
|
4172
|
+
"$lazyBundleId$": "-",
|
4173
|
+
"$attrsToReflect$": []
|
4174
|
+
}; }
|
4175
|
+
}
|
4176
|
+
|
4012
4177
|
var closeIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
4013
4178
|
<path d="M0 0h24v24H0z" fill="none"/>
|
4014
4179
|
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>
|
@@ -4016,7 +4181,7 @@ var closeIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fil
|
|
4016
4181
|
</svg>
|
4017
4182
|
`;
|
4018
4183
|
|
4019
|
-
const icAlertCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host ::slotted(ic-typography){--ic-typography-color:var(--ic-alert-description)}.container{min-height:var(--ic-alert-min-height);border-radius:var(--ic-space-xxs) var(--ic-space-xxxs) var(--ic-space-xxxs)\n var(--ic-space-xxs);position:relative;display:flex;align-items:center}.container-neutral{background-color:var(--ic-alert-background-neutral);border:var(--ic-space-xxxs) solid var(--ic-alert-border-neutral)}.container-info{background-color:var(--ic-alert-background-info);border:var(--ic-space-xxxs) solid var(--ic-alert-border-info)}.container-warning{background-color:var(--ic-alert-background-warning);border:var(--ic-space-xxxs) solid var(--ic-alert-border-warning)}.container-error{background-color:var(--ic-alert-background-error);border:var(--ic-space-xxxs) solid var(--ic-alert-border-error)}.container-success{background-color:var(--ic-alert-background-success);border:var(--ic-space-xxxs) solid var(--ic-alert-border-success)}.alert-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);position:absolute}.divider-neutral{background-color:var(--ic-alert-status-type-neutral)}.divider-info{background-color:var(--ic-alert-status-type-info)}.divider-warning{background-color:var(--ic-alert-status-type-warning)}.divider-error{background-color:var(--ic-alert-status-type-error)}.divider-success{background-color:var(--ic-alert-status-type-success)}.alert-icon{height:var(--ic-space-lg);width:1.375rem;margin-left:1.125rem}.icon-placeholder{margin-left:var(--ic-space-xs)}.alert-icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}:host([showdefaulticon=\"false\"]) .icon-neutral{visibility:hidden;width:0;margin-left:0.625rem}.icon-neutral>svg,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block;fill:var(--ic-alert-icon-neutral)}:host([variant=\"info\"]) .alert-icon svg{fill:var(--ic-alert-icon-info)}:host([variant=\"warning\"]) .alert-icon svg{fill:var(--ic-alert-icon-warning)}:host([variant=\"error\"]) .alert-icon svg{fill:var(--ic-alert-icon-error)}:host([variant=\"success\"]) .alert-icon svg{fill:var(--ic-alert-icon-success)}.alert-content{display:flex;align-items:center;margin-left:0.625rem;width:100%}.alert-message{display:flex;align-items:center;padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;flex:1;--ic-typography-color:var(--ic-alert-description)}.alert-message-title-above{display:inline}.alert-title{margin-right:var(--ic-space-xs);--ic-typography-color:var(--ic-alert-title)}.alert-title-above{white-space:normal}.alert-action-container{margin-right:var(--ic-space-xs);display:flex;align-items:center}.dismiss-icon{margin-right:var(--ic-space-xxxs);margin-left:-0.375rem;padding:0.375rem;border:none;border-radius:50%;background-color:inherit;display:flex;align-items:center;justify-content:center}.dismiss-icon>svg{color:var(--ic-alert-icon-dismissible)}.dismiss-icon:hover{cursor:pointer}@media (max-width: 628px){.alert-content{display:flex;flex-direction:column;align-items:flex-start}.alert-message{display:flex;flex-direction:column;align-items:flex-start}.alert-title{white-space:normal}.alert-action-container{margin-bottom:var(--ic-space-xs)}}@media (forced-colors: active){.container{border:var(--ic-border-hc)}.dismiss-icon>svg{color:var(--ic-architectural-white)}}";
|
4184
|
+
const icAlertCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host ::slotted(ic-typography){--ic-typography-color:var(--ic-alert-description)}.container{min-height:var(--ic-alert-min-height);border-radius:var(--ic-space-xxs) var(--ic-space-xxxs) var(--ic-space-xxxs)\n var(--ic-space-xxs);position:relative;display:flex;align-items:center}.container-neutral{background-color:var(--ic-alert-background-neutral);border:var(--ic-space-xxxs) solid var(--ic-alert-border-neutral)}.container-info{background-color:var(--ic-alert-background-info);border:var(--ic-space-xxxs) solid var(--ic-alert-border-info)}.container-warning{background-color:var(--ic-alert-background-warning);border:var(--ic-space-xxxs) solid var(--ic-alert-border-warning)}.container-error{background-color:var(--ic-alert-background-error);border:var(--ic-space-xxxs) solid var(--ic-alert-border-error)}.container-success{background-color:var(--ic-alert-background-success);border:var(--ic-space-xxxs) solid var(--ic-alert-border-success)}.container-ai{background-color:var(--ic-alert-background-ai);border:var(--ic-space-xxxs) solid var(--ic-alert-border-ai)}.alert-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);position:absolute}.divider-neutral{background-color:var(--ic-alert-status-type-neutral)}.divider-info{background-color:var(--ic-alert-status-type-info)}.divider-warning{background-color:var(--ic-alert-status-type-warning)}.divider-error{background-color:var(--ic-alert-status-type-error)}.divider-success{background-color:var(--ic-alert-status-type-success)}.divider-ai{background-color:var(--ic-alert-status-type-ai)}.alert-icon{height:var(--ic-space-lg);width:1.375rem;margin-left:1.125rem}.icon-placeholder{margin-left:var(--ic-space-xs)}.alert-icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}:host([showdefaulticon=\"false\"]) .icon-neutral{visibility:hidden;width:0;margin-left:0.625rem}.icon-neutral>svg,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block;fill:var(--ic-alert-icon-neutral)}:host([variant=\"info\"]) .alert-icon svg{fill:var(--ic-alert-icon-info)}:host([variant=\"warning\"]) .alert-icon svg{fill:var(--ic-alert-icon-warning)}:host([variant=\"error\"]) .alert-icon svg{fill:var(--ic-alert-icon-error)}:host([variant=\"success\"]) .alert-icon svg{fill:var(--ic-alert-icon-success)}:host([variant=\"ai\"]) .alert-icon svg{fill:var(--ic-alert-icon-ai)}.alert-content{display:flex;align-items:center;margin-left:0.625rem;width:100%}.alert-message{display:flex;align-items:center;padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;flex:1;--ic-typography-color:var(--ic-alert-description)}.alert-message-title-above{display:inline}.alert-title{margin-right:var(--ic-space-xs);--ic-typography-color:var(--ic-alert-title)}.alert-title-above{white-space:normal}.alert-action-container{margin-right:var(--ic-space-xs);display:flex;align-items:center}.dismiss-icon{margin-right:var(--ic-space-xxxs);margin-left:-0.375rem;padding:0.375rem;border:none;border-radius:50%;background-color:inherit;display:flex;align-items:center;justify-content:center}.dismiss-icon>svg{color:var(--ic-alert-icon-dismissible)}.dismiss-icon:hover{cursor:pointer}@media (max-width: 628px){.alert-content{display:flex;flex-direction:column;align-items:flex-start}.alert-message{display:flex;flex-direction:column;align-items:flex-start}.alert-title{white-space:normal}.alert-action-container{margin-bottom:var(--ic-space-xs)}}@media (forced-colors: active){.container{border:var(--ic-border-hc)}.dismiss-icon>svg{color:var(--ic-architectural-white)}}";
|
4020
4185
|
var IcAlertStyle0 = icAlertCss;
|
4021
4186
|
|
4022
4187
|
/**
|
@@ -4302,15 +4467,15 @@ class BackToTop {
|
|
4302
4467
|
const btnVariant = variant === "icon" ? "icon-secondary" : "secondary";
|
4303
4468
|
const size = variant === "icon" ? "large" : "medium";
|
4304
4469
|
const label = variant === "icon" ? "" : backToTopLabel;
|
4305
|
-
return (hAsync(Host, { key: '
|
4470
|
+
return (hAsync(Host, { key: '11f790112cc8047ab6b35459de506f6dc6a85c5f', class: {
|
4306
4471
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
4307
4472
|
[`ic-back-to-top-${this.position}`]: true,
|
4308
|
-
} }, hAsync("ic-button", { key: '
|
4473
|
+
} }, hAsync("ic-button", { key: '670015cd630e897033a440ff4846d475c113a453', "aria-label": backToTopLabel, variant: btnVariant, size: size, onClick: this.handleClick, class: {
|
4309
4474
|
["offset-banner"]: bannerOffset,
|
4310
4475
|
["show"]: !targetElVisible,
|
4311
4476
|
["by-footer"]: footerVisible,
|
4312
4477
|
["icon-only"]: variant === "icon",
|
4313
|
-
}, theme: this.theme }, hAsync("span", { key: '
|
4478
|
+
}, theme: this.theme }, hAsync("span", { key: 'e56c7a48a8226d1f471fc9a953851d27f4a6504c', class: "ic-back-to-top-icon", innerHTML: ArrowUpward }), label)));
|
4314
4479
|
}
|
4315
4480
|
static get delegatesFocus() { return true; }
|
4316
4481
|
get el() { return getElement(this); }
|
@@ -4336,7 +4501,7 @@ class BackToTop {
|
|
4336
4501
|
}; }
|
4337
4502
|
}
|
4338
4503
|
|
4339
|
-
const icBadgeCss = "@media (prefers-reduced-motion: no-preference){:host(.ic-badge-show){animation:expand var(--ic-transition-duration-slow)}:host(.ic-badge-hide){animation:shrink var(--ic-transition-duration-slow)}}:host{display:flex;height:var(--ic-space-md);min-width:var(--ic-space-md);width:-moz-fit-content;width:fit-content;border-radius:calc(2 * var(--ic-space-xxl));position:absolute}:host ic-typography{--ic-typography-color:var(--ic-badge-text)}:host(.ic-badge-neutral){background-color:var(--ic-badge-dark) !important}:host(.ic-badge-light) ic-typography{--ic-typography-color:var(--ic-badge-text-monochrome)}:host(.ic-badge-light) ::slotted(*){fill:var(--ic-badge-icon-monochrome)}:host(.ic-badge-info){background-color:var(--ic-badge-info) !important}:host(.ic-badge-light){background-color:var(--ic-badge-light) !important}:host(.ic-badge-warning){background-color:var(--ic-badge-warning) !important}:host(.ic-badge-warning) ic-typography{--ic-typography-color:var(--ic-badge-warning-text)}:host(.ic-badge-warning) ::slotted(*){fill:var(--ic-badge-warning-icon)}:host(.ic-badge-error){background-color:var(--ic-badge-error) !important}:host(.ic-badge-success){background-color:var(--ic-badge-success) !important}:host(.ic-badge-small){height:var(--ic-space-sm);min-width:var(--ic-space-sm)}:host(.ic-badge-large){height:calc(var(--ic-space-md) + var(--ic-space-xxs));min-width:calc(var(--ic-space-md) + var(--ic-space-xxs))}:host(.ic-badge-dot.ic-badge-medium){height:var(--ic-space-xs);width:var(--ic-space-xs);min-width:var(--ic-space-xs)}:host(.ic-badge-dot.ic-badge-small){height:calc(var(--ic-space-xxs) + var(--ic-space-xxxs));width:calc(var(--ic-space-xxs) + var(--ic-space-xxxs));min-width:calc(var(--ic-space-xxs) + var(--ic-space-xxxs))}:host(.ic-badge-dot.ic-badge-large){height:var(--ic-space-sm);width:var(--ic-space-sm);min-width:var(--ic-space-sm)}:host ::slotted(*){fill:var(--ic-badge-icon)}:host(.ic-badge-foreground-dark) ::slotted(*){fill:var(--ic-color-text-primary-light)}:host(.ic-badge-foreground-light) ::slotted(*){fill:white}:host(.ic-badge-foreground-dark) ic-typography{--ic-typography-color:var(--ic-color-text-primary-light)}:host(.ic-badge-foreground-light) ic-typography{--ic-typography-color:var(--ic-color-text-primary-dark)}:host(.ic-badge-text) ic-typography{align-self:center;padding:0 calc((var(--ic-space-xs) + var(--ic-space-1px)) / 2)\n var(--ic-space-1px)}:host(.ic-badge-text.ic-badge-small) ic-typography{padding:0 0.2132rem}:host(.ic-badge-text.ic-badge-large) ic-typography{padding:0 calc((var(--ic-space-sm) + var(--ic-space-1px)) / 2)\n var(--ic-space-1px)}:host(.ic-badge-icon) ::slotted(svg){width:var(--ic-space-sm);height:var(--ic-space-sm);padding:var(--ic-space-xxxs)}:host(.ic-badge-icon.ic-badge-small) ::slotted(svg){width:var(--ic-space-xs);height:var(--ic-space-xs)}:host(.ic-badge-icon.ic-badge-large) ::slotted(svg){width:calc(var(--ic-space-sm) + var(--ic-space-xxxs));height:calc(var(--ic-space-sm) + var(--ic-space-xxxs));padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))}:host(.ic-badge-far){top:calc(-1 * var(--ic-space-xs));right:calc(-1 * var(--ic-space-xs))}:host(.ic-badge-far.ic-badge-small),:host(.ic-badge-dot.ic-badge-far.ic-badge-large){top:calc(-1 * var(--ic-space-xxs));right:calc(-1 * var(--ic-space-xxs))}:host(.ic-badge-dot.ic-badge-far),:host(.ic-badge-dot.ic-badge-far.ic-badge-small){top:calc(-1 * var(--ic-space-xxxs));right:calc(-1 * var(--ic-space-xxxs))}:host(.ic-badge-near){top:calc(-1 * calc(var(--ic-space-xxs) + var(--ic-space-1px)));right:calc(-1 * calc(var(--ic-space-xxs) + var(--ic-space-1px)))}:host(.ic-badge-dot.ic-badge-near){top:calc(-1 * var(--ic-space-1px));right:calc(-1 * var(--ic-space-1px))}:host(.ic-badge-inline){position:static}:host(.ic-badge-hide){visibility:hidden !important;transition:visibility var(--ic-transition-duration-slow)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@keyframes expand{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes shrink{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}";
|
4504
|
+
const icBadgeCss = "@media (prefers-reduced-motion: no-preference){:host(.ic-badge-show){animation:expand var(--ic-transition-duration-slow)}:host(.ic-badge-hide){animation:shrink var(--ic-transition-duration-slow)}}:host{display:flex;height:var(--ic-space-md);min-width:var(--ic-space-md);width:-moz-fit-content;width:fit-content;border-radius:calc(2 * var(--ic-space-xxl));position:absolute}:host ic-typography{--ic-typography-color:var(--ic-badge-text)}:host(.ic-badge-neutral){background-color:var(--ic-badge-dark) !important}:host(.ic-badge-light) ic-typography{--ic-typography-color:var(--ic-badge-text-monochrome)}:host(.ic-badge-light) ::slotted(*){fill:var(--ic-badge-icon-monochrome)}:host(.ic-badge-info){background-color:var(--ic-badge-info) !important}:host(.ic-badge-light){background-color:var(--ic-badge-light) !important}:host(.ic-badge-warning){background-color:var(--ic-badge-warning) !important}:host(.ic-badge-warning) ic-typography{--ic-typography-color:var(--ic-badge-warning-text)}:host(.ic-badge-warning) ::slotted(*){fill:var(--ic-badge-warning-icon)}:host(.ic-badge-error){background-color:var(--ic-badge-error) !important}:host(.ic-badge-success){background-color:var(--ic-badge-success) !important}:host(.ic-badge-ai){background-color:var(--ic-badge-ai) !important}:host(.ic-badge-small){height:var(--ic-space-sm);min-width:var(--ic-space-sm)}:host(.ic-badge-large){height:calc(var(--ic-space-md) + var(--ic-space-xxs));min-width:calc(var(--ic-space-md) + var(--ic-space-xxs))}:host(.ic-badge-dot.ic-badge-medium){height:var(--ic-space-xs);width:var(--ic-space-xs);min-width:var(--ic-space-xs)}:host(.ic-badge-dot.ic-badge-small){height:calc(var(--ic-space-xxs) + var(--ic-space-xxxs));width:calc(var(--ic-space-xxs) + var(--ic-space-xxxs));min-width:calc(var(--ic-space-xxs) + var(--ic-space-xxxs))}:host(.ic-badge-dot.ic-badge-large){height:var(--ic-space-sm);width:var(--ic-space-sm);min-width:var(--ic-space-sm)}:host ::slotted(*){fill:var(--ic-badge-icon)}:host(.ic-badge-foreground-dark) ::slotted(*){fill:var(--ic-color-text-primary-light)}:host(.ic-badge-foreground-light) ::slotted(*){fill:white}:host(.ic-badge-foreground-dark) ic-typography{--ic-typography-color:var(--ic-color-text-primary-light)}:host(.ic-badge-foreground-light) ic-typography{--ic-typography-color:var(--ic-color-text-primary-dark)}:host(.ic-badge-text) ic-typography{align-self:center;padding:0 calc((var(--ic-space-xs) + var(--ic-space-1px)) / 2)\n var(--ic-space-1px)}:host(.ic-badge-text.ic-badge-small) ic-typography{padding:0 0.2132rem}:host(.ic-badge-text.ic-badge-large) ic-typography{padding:0 calc((var(--ic-space-sm) + var(--ic-space-1px)) / 2)\n var(--ic-space-1px)}:host(.ic-badge-icon) ::slotted(svg){width:var(--ic-space-sm);height:var(--ic-space-sm);padding:var(--ic-space-xxxs)}:host(.ic-badge-icon.ic-badge-small) ::slotted(svg){width:var(--ic-space-xs);height:var(--ic-space-xs)}:host(.ic-badge-icon.ic-badge-large) ::slotted(svg){width:calc(var(--ic-space-sm) + var(--ic-space-xxxs));height:calc(var(--ic-space-sm) + var(--ic-space-xxxs));padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))}:host(.ic-badge-far){top:calc(-1 * var(--ic-space-xs));right:calc(-1 * var(--ic-space-xs))}:host(.ic-badge-far.ic-badge-small),:host(.ic-badge-dot.ic-badge-far.ic-badge-large){top:calc(-1 * var(--ic-space-xxs));right:calc(-1 * var(--ic-space-xxs))}:host(.ic-badge-dot.ic-badge-far),:host(.ic-badge-dot.ic-badge-far.ic-badge-small){top:calc(-1 * var(--ic-space-xxxs));right:calc(-1 * var(--ic-space-xxxs))}:host(.ic-badge-near){top:calc(-1 * calc(var(--ic-space-xxs) + var(--ic-space-1px)));right:calc(-1 * calc(var(--ic-space-xxs) + var(--ic-space-1px)))}:host(.ic-badge-dot.ic-badge-near){top:calc(-1 * var(--ic-space-1px));right:calc(-1 * var(--ic-space-1px))}:host(.ic-badge-inline){position:static}:host(.ic-badge-hide){visibility:hidden !important;transition:visibility var(--ic-transition-duration-slow)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@keyframes expand{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes shrink{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}";
|
4340
4505
|
var IcBadgeStyle0 = icBadgeCss;
|
4341
4506
|
|
4342
4507
|
const TOP_NAVIGATION = "IC-TOP-NAVIGATION";
|
@@ -4494,7 +4659,7 @@ class Badge {
|
|
4494
4659
|
}
|
4495
4660
|
render() {
|
4496
4661
|
const { ariaLabel, el, foregroundColour, getLabel, position, size, label, type, variant, visible, theme, } = this;
|
4497
|
-
return (hAsync(Host, { key: '
|
4662
|
+
return (hAsync(Host, { key: '43b8e638c7b0965ad3591f8b306637b7b5aeea58', class: {
|
4498
4663
|
[`ic-badge-${position}`]: true,
|
4499
4664
|
[`ic-badge-${size}`]: true,
|
4500
4665
|
[`ic-badge-${variant}`]: true,
|
@@ -4502,7 +4667,7 @@ class Badge {
|
|
4502
4667
|
[`ic-badge-foreground-${foregroundColour}`]: foregroundColour !== null && variant === "custom",
|
4503
4668
|
[`${visible ? "ic-badge-show" : "ic-badge-hide"}`]: true,
|
4504
4669
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4505
|
-
}, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && hAsync("slot", { key: '
|
4670
|
+
}, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && hAsync("slot", { key: '7f8a72f58bc485b3bfe69ef67d4e43d75a995f1f', name: "badge-icon" }), type === "text" && label && (hAsync("ic-typography", { key: 'fe925213d388d0b3be444b9ab16a2a9a4cbc2649', variant: size === "small" ? "badge-small" : "badge" }, getLabel())), type === "dot" && hAsync("span", { key: 'e6e8d7092112d105fb3914002b53a083c540fe47', class: "sr-only" }, "badge")));
|
4506
4671
|
}
|
4507
4672
|
static get delegatesFocus() { return true; }
|
4508
4673
|
get el() { return getElement(this); }
|
@@ -4629,11 +4794,11 @@ class Breadcrumb {
|
|
4629
4794
|
render() {
|
4630
4795
|
const { current, href, monochrome, pageTitle, showBackIcon, theme } = this;
|
4631
4796
|
const describedById = `${pageTitle === null || pageTitle === void 0 ? void 0 : pageTitle.toLowerCase().replace(" ", "-")}-describedby`;
|
4632
|
-
return (hAsync(Host, { key: '
|
4797
|
+
return (hAsync(Host, { key: '2c1131138a8be3af8ee344e0fbff5594fbcc2d77', class: {
|
4633
4798
|
"ic-breadcrumb-back": showBackIcon,
|
4634
4799
|
"ic-breadcrumb-monochrome": monochrome,
|
4635
4800
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4636
|
-
}, "aria-current": current && "page", role: "listitem" }, hAsync("div", { key: '
|
4801
|
+
}, "aria-current": current && "page", role: "listitem" }, hAsync("div", { key: 'ee77a3aeced7063c4dbab6e1641daf11242d63ca', class: "breadcrumb" }, hAsync("span", { key: '1c2dc66e95e0676a381ab25769aa1b735ee5b9c5', innerHTML: chevronIcon, class: "chevron", "aria-hidden": "true" }), showBackIcon && (hAsync("span", { key: '3857c2967dd82b45a2400107e50d6f03bc65cdde', id: describedById, class: "hide" }, `Back to ${pageTitle}`)), !href ? (hAsync("div", { class: "slotted-link-container" }, showBackIcon && this.renderBackIcon(), hAsync("span", { class: "link-wrapper" }, hAsync("slot", null)))) : current ? (hAsync("span", { class: "current-page-container" }, isSlotUsed$1(this.el, "icon") && hAsync("slot", { name: "icon" }), pageTitle)) : (hAsync("ic-link", { theme: theme, monochrome: monochrome, href: href, class: "breadcrumb-link", "aria-describedby": showBackIcon && describedById }, showBackIcon && this.renderBackIcon(), isSlotUsed$1(this.el, "icon") && hAsync("slot", { name: "icon" }), pageTitle)))));
|
4637
4802
|
}
|
4638
4803
|
static get delegatesFocus() { return true; }
|
4639
4804
|
get el() { return getElement(this); }
|
@@ -4875,11 +5040,11 @@ class BreadcrumbGroup {
|
|
4875
5040
|
}
|
4876
5041
|
render() {
|
4877
5042
|
const { backBreadcrumbOnly, collapsed, theme } = this;
|
4878
|
-
return (hAsync(Host, { key: '
|
5043
|
+
return (hAsync(Host, { key: 'e9547e6fce74b57f2a3d7904bdca580c59abf881', class: {
|
4879
5044
|
"ic-breadcrumb-group-back": backBreadcrumbOnly,
|
4880
5045
|
"ic-breadcrumb-group-collapsed": collapsed,
|
4881
5046
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4882
|
-
} }, hAsync("nav", { key: '
|
5047
|
+
} }, hAsync("nav", { key: '56fd90771323680169a7e2ff757c534f499bda48', "aria-label": "breadcrumbs" }, hAsync("ol", { key: '2817e0c715c94937436a41222f86a0e5e6b9cc92' }, hAsync("slot", { key: '137e284689752e6256c39ecc19988aafd3e49942' })))));
|
4883
5048
|
}
|
4884
5049
|
get el() { return getElement(this); }
|
4885
5050
|
static get watchers() { return {
|
@@ -4909,7 +5074,7 @@ var arrowDropdown$1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="non
|
|
4909
5074
|
<path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor"/>
|
4910
5075
|
</svg>`;
|
4911
5076
|
|
4912
|
-
const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;position:relative;--icon-width:100%;--icon-height:100%}.button,::slotted(a){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;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{border-radius:0.2188rem}.button:hover,::slotted(a:hover){cursor:pointer}.button:focus,::slotted(a:focus){box-shadow:var(--ic-border-focus)}.button:focus-visible,::slotted(a:focus-visible){outline:var(--ic-hc-focus-outline)}:host(.ic-button-disabled),:host(.ic-button-disabled) .button,:host(.ic-button-disabled) ::slotted(a),:host(.ic-button-loading),:host(.ic-button-loading) .button{pointer-events:none}:host(.top-icon) .button{flex-direction:column;--height:fit-content}:host(.top-icon) .button .icon-container{margin-right:0}:host(.ic-button-variant-primary) .button,:host(.ic-button-variant-icon-primary) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background)}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon)}:host(.ic-button-variant-primary) ::slotted(a),:host(.ic-button-variant-icon-primary) ::slotted(a){--ic-typography-color:var(--ic-button-primary-text);color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background) !important}:host(.ic-button-variant-primary) .button:hover,:host(.ic-button-variant-icon-primary) .button:hover{background-color:var(--ic-button-primary-background-hover)}:host(.ic-button-variant-primary) ::slotted(a:hover),:host(.ic-button-variant-icon-primary) ::slotted(a:hover){background-color:var(--ic-button-primary-background-hover) !important}:host(.ic-button-variant-primary.ic-button-loading) .button,:host(.ic-button-variant-primary) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading) .button,:host(.ic-button-variant-icon-primary) .button:active{background-color:var(--ic-button-primary-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-primary-background-pressed)}:host(.ic-button-variant-primary) ::slotted(a:active),:host(.ic-button-variant-icon-primary) ::slotted(a:active){background-color:var(--ic-button-primary-background-pressed) !important}:host(.ic-button-variant-primary.ic-button-disabled) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled) .button{background:var(--ic-button-primary-background-disabled);color:var(--ic-button-primary-text-disabled)}:host(.ic-button-variant-primary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled) ::slotted(a){background:var(--ic-button-primary-background-disabled) !important;--ic-typography-color:var(--ic-button-primary-text-disabled) !important;color:var(--ic-button-primary-text-disabled) !important}:host(.ic-button-variant-primary.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button{color:var(--ic-button-primary-text-monochrome);background-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a){background-color:var(--ic-button-primary-background-monochrome) !important}:host(.ic-button-variant-primary.monochrome) .button:hover,:host(.ic-button-variant-icon-primary.monochrome) .button:hover{background-color:var(--ic-button-primary-background-hover-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-primary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-primary.monochrome) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button:active{background-color:var(--ic-button-primary-background-pressed-monochrome);--button-loading-inner-color:var(--ic-button-primary-text-monochrome);--button-loading-outer-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-primary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) .button{background-color:var(--ic-button-primary-background-disabled-monochrome);color:var(--ic-button-primary-text-disabled-monochrome)}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) ::slotted(a){background-color:var(\n --ic-button-primary-background-disabled-monochrome\n ) !important}:host(.ic-button-variant-secondary) .button,:host(.ic-button-variant-icon-secondary) .button{border:var(--ic-border-width) solid var(--ic-button-secondary-border);color:var(--ic-button-secondary-text)}:host(.ic-button-variant-secondary) ::slotted(a),:host(.ic-button-variant-icon-secondary) ::slotted(a){border:var(--ic-border-width) solid var(--ic-button-secondary-border) !important;color:var(--ic-button-secondary-text) !important;--ic-typography-color:var(--ic-button-secondary-text) !important}:host(.ic-button-variant-secondary) .button:hover,:host(.ic-button-variant-icon-secondary) .button:hover{background-color:var(--ic-button-secondary-background-hover-active);border-color:var(--ic-button-secondary-border-hover);color:var(--ic-button-secondary-text-hover-active)}:host(.ic-button-variant-secondary) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-active\n ) !important}:host(.ic-button-variant-secondary) .button:active,:host(.ic-button-variant-icon-secondary) .button:active{border-color:var(--ic-button-secondary-border-pressed);background-color:var(--ic-button-secondary-background-pressed-active);color:var(--ic-button-secondary-text-pressed-active)}:host(.ic-button-variant-secondary) ::slotted(a:active),:host(.ic-button-variant-icon-secondary) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-active\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading) .button{border-color:var(--ic-button-secondary-border-pressed);background-color:var(\n --loading-button-background,\n var(--ic-button-secondary-background-pressed-active)\n ) !important;color:var(--ic-button-secondary-text-pressed-active);--button-loading-inner-color:var(--ic-button-secondary-border-pressed);--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-active\n )}:host(.ic-button-variant-secondary.ic-button-disabled) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled) .button{border-color:var(--ic-button-secondary-border-disabled);color:var(--ic-button-secondary-text-disabled);background:none}:host(.ic-button-variant-secondary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background) .button,:host(.ic-button-variant-icon-secondary.background) .button{background-color:var(--ic-button-secondary-background)}:host(.ic-button-variant-secondary.background) ::slotted(a),:host(.ic-button-variant-icon-secondary.background) ::slotted(a){background-color:var(--ic-button-secondary-background) !important}:host(.ic-button-variant-secondary.background) .button:hover,:host(.ic-button-variant-icon-secondary.background) .button:hover{background-image:var(--ic-button-secondary-background-non-transparent-hover)}:host(.ic-button-variant-secondary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-secondary.background) .button:active,:host(.ic-button-variant-icon-secondary.background) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-active\n )}:host(.ic-button-variant-secondary.background) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button,:host(.ic-button-variant-icon-secondary.monochrome) .button{background-color:none;border:var(--ic-border-width) solid\n var(--ic-button-secondary-border-monochrome);color:var(--ic-button-secondary-text-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a){background-color:none !important}:host(.ic-button-variant-secondary.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.monochrome) .button:hover{background-color:var(--ic-button-secondary-background-hover-monochrome);border-color:var(--ic-button-secondary-border-hover-monochrome);color:var(--ic-button-secondary-text-hover-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.monochrome) .button:active{background-color:var(--ic-button-secondary-background-pressed-monochrome);border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading.monochrome) .button{background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important;border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-secondary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-monochrome\n )}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) .button{background:none;border-color:var(--ic-button-secondary-border-disabled-monochrome);color:var(--ic-button-secondary-text-disabled-monochrome)}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background.monochrome) .button,:host(.ic-button-variant-icon-secondary.background.monochrome) .button{background-color:var(--ic-button-secondary-background-monochrome)}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a){background-color:var(--ic-button-secondary-background-monochrome) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:hover{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-tertiary) .button,:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-tertiary) ::slotted(a),:host(.ic-button-variant-icon-tertiary) ::slotted(a){color:var(--ic-button-tertiary-text-active);--ic-typography-color:var(--ic-button-tertiary-text-active)}:host(.ic-button-variant-tertiary) .button:hover,:host(.ic-button-variant-icon-tertiary) .button:hover{background-color:var(--ic-button-tertiary-background-hover-active);color:var(--ic-button-tertiary-text-hover-active)}:host(.ic-button-variant-tertiary) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-active\n ) !important}:host(.ic-button-variant-tertiary) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading) .button,:host(.ic-button-variant-icon-tertiary) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading) .button{background-color:var(--ic-button-tertiary-background-pressed-active);color:var(--ic-button-tertiary-text-pressed-active);--button-loading-inner-color:var(--ic-button-tertiary-text-pressed-active);--button-loading-outer-color:var(--ic-button-tertiary-background-pressed)}:host(.ic-button-variant-tertiary) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-active\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled) .button{color:var(--ic-button-tertiary-text-disabled);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background) .button,:host(.ic-button-variant-icon-tertiary.background) .button{background-color:var(--ic-button-tertiary-background)}:host(.ic-button-variant-tertiary.background) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a){background-color:var(--ic-button-tertiary-background) !important}:host(.ic-button-variant-tertiary.background) .button:hover,:host(.ic-button-variant-icon-tertiary.background) .button:hover{background-image:var(--ic-button-tertiary-background-non-transparent-hover)}:host(.ic-button-variant-tertiary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-tertiary.background) .button:active,:host(.ic-button-variant-icon-tertiary.background) .button:active{background-image:var(--ic-button-tertiary-background-non-transparent-active)}:host(.ic-button-variant-tertiary.background) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button,:host(.ic-button-variant-tertiary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a){color:var(--ic-button-tertiary-text-monochrome);--ic-typography-color:var(--ic-button-tertiary-text-monochrome)}:host(.ic-button-variant-tertiary.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.monochrome) .button:hover{background-color:var(--ic-button-tertiary-background-hover-monochrome);color:var(--ic-button-tertiary-text-hover-monochrome)}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading.monochrome) .button{background-color:var(--ic-button-tertiary-background-pressed-monochrome);color:var(--ic-button-tertiary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-tertiary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n )}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) .button{color:var(--ic-button-tertiary-text-disabled-monochrome);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background.monochrome) .button,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button{background-color:var(--ic-button-tertiary-background-monochrome)}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a){background-color:var(--ic-button-tertiary-background-monochrome) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:hover{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:active{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-destructive) .button,:host(.ic-button-variant-icon-destructive) .button{color:var(--ic-button-destructive-text);background-color:var(--ic-button-destructive-background);text-transform:uppercase}:host(.ic-button-variant-destructive) ::slotted(a),:host(.ic-button-variant-icon-destructive) ::slotted(a){color:var(--ic-button-destructive-text) !important;--ic-typography-color:var(--ic-button-destructive-text) !important;background-color:var(--ic-button-destructive-background) !important;text-transform:uppercase !important}:host(.ic-button-variant-destructive) .button:hover,:host(.ic-button-variant-icon-destructive) .button:hover{background-color:var(--ic-button-destructive-background-hover)}:host(.ic-button-variant-destructive) ::slotted(a:hover),:host(.ic-button-variant-icon-destructive) ::slotted(a:hover){background-color:var(--ic-button-destructive-background-hover) !important}:host(.ic-button-variant-destructive) .button:active,:host(.ic-button-variant-destructive.ic-button-loading) .button,:host(.ic-button-variant-icon-destructive.ic-button-loading) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-destructive-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-destructive-background-pressed)}:host(.ic-button-variant-destructive) ::slotted(a:active),:host(.ic-button-variant-icon-destructive) ::slotted(a:active){background-color:var(--ic-button-destructive-background-pressed) !important}:host(.ic-button-variant-destructive.ic-button-disabled) .button,:host(.ic-button-variant-icon-destructive.ic-button-disabled) .button{background-color:var(--ic-button-destructive-background-disabled);color:var(--ic-button-destructive-text-disabled)}:host(.ic-button-variant-destructive.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-destructive.ic-button-disabled) ::slotted(a){background-color:var(--ic-button-destructive-background-disabled) !important}:host(.ic-button-variant-icon) .button{color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background);min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) ::slotted(a){color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background) !important;min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.ic-button-variant-icon) .button:hover{color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover)}:host(.ic-button-variant-icon) ::slotted(a:hover){color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover) !important}:host(.ic-button-variant-icon) .button:active:not(:focus),:host(.ic-button-variant-icon.ic-button-loading) .button{color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active)}:host(.ic-button-variant-icon) ::slotted(a:active:not(:focus)){color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active) !important}:host(.ic-button-variant-icon.ic-button-disabled) .button{color:var(--ic-color-icon-disabled-mid);background:none}:host(.ic-button-variant-icon.ic-button-disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none !important}:host(.ic-button-variant-icon-primary) .button,:host(.ic-button-variant-icon-primary) ::slotted(a){min-width:0;gap:var(--ic-space-xs);color:var(--ic-button-primary-icon)}:host(.ic-button-variant-icon-primary.monochrome) .button,:host(.ic-button-variant-primary.monochrome:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon-monochrome)}:host(.ic-button-variant-icon-primary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:var(--ic-button-icon-monochrome)}:host(.ic-button-variant-icon-secondary) .button,:host(.ic-button-variant-icon-secondary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-secondary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-icon-tertiary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-tertiary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-destructive) .button,:host(.ic-button-variant-icon-destructive) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-destructive) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-size-medium) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.ic-button-size-medium) ::slotted(a){height:var(--height, 2.5rem) !important;padding:var(--ic-space-xs) var(--ic-space-md) !important}:host(.ic-button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.ic-button-size-small) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;padding:var(--ic-space-xxs) var(--ic-space-md) !important}:host(.ic-button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.ic-button-size-large) ::slotted(a){height:var(--height, var(--ic-space-xxl)) !important;padding:var(--ic-space-sm) var(--ic-space-md) !important}:host(.ic-button-size-medium.ic-button-variant-icon) .button,:host(.ic-button-size-medium.ic-button-variant-icon-primary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.ic-button-size-medium.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-destructive) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;width:var(--ic-space-xl) !important;padding:0.375rem !important}:host(.ic-button-size-small.ic-button-variant-icon) .button,:host(.ic-button-size-small.ic-button-variant-icon-primary) .button,:host(.ic-button-size-small.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-small.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-small.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.ic-button-size-small.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon) ::slotted(a){height:var(--height, var(--ic-space-lg)) !important;width:var(--ic-space-lg) !important;padding:var(--ic-space-xxs) !important}:host(.ic-button-size-large.ic-button-variant-icon) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) .button,:host(.ic-button-size-large.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-large.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon) ::slotted(a){height:var(--height, 2.5rem) !important;width:2.5rem !important;padding:var(--ic-space-xs) !important}:host(.ic-button-full-width),:host(.ic-button-full-width) .button{width:100%}:host(.ic-button-full-width) ::slotted(a){width:100% !important}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--inner-color:var(--button-loading-inner-color);--outer-color:var(--button-loading-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{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center;margin-right:var(--ic-space-xs)}div.right-icon{margin-right:auto;margin-left:var(--ic-space-xs)}:host(.ic-button-full-width) .right-icon{margin-right:var(--ic-space-xs)}::slotted(:not(ic-badge)){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.ic-button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button) .button:not(:active):focus ::slotted(svg){color:var(--ic-button-primary-text)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.ic-button-variant-icon) .button,:host(.ic-button-variant-icon) ::slotted(a){background-color:inherit;min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .button,:host(.button-variant-icon) ::slotted(a){color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover,:host(.button-variant-icon) ::slotted(a:hover){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon) ::slotted(a:active:not(:focus)),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus,:host(.calendar-button) .button:focus{box-shadow:none}:host(.clear-button) .button,:host(.clear-button) ::slotted(a){background-color:inherit;color:var(--ic-atoms-input-clear-button)}:host(.clear-button) .button:hover,:host(.clear-button) ::slotted(a:hover){color:var(--ic-atoms-input-clear-button)}:host(.clear-button){color:var(--ic-atoms-input-clear-button);margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus,:host(.calendar-button) .button:focus{box-shadow:none}:host(.clear-button) .button:not(:active):focus ::slotted(svg){background-color:var(--ic-atoms-input-clear-button-focus-inner);color:var(--ic-button-primary-text);}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem;color:var(--ic-top-navigation-icon-active)}:host(.popout-menu-button) .button{height:var(--height);justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}:host .arrow-dropdown{margin-top:auto}:host .dropdown-expanded{transform:rotate(180deg);margin-bottom:var(--ic-space-xxxs)}:host(.dropdown-no-icon) .button{padding-right:var(--ic-space-xs)}slot[name=\"router-item\"]::slotted(a){pointer-events:all}::slotted(a){font-size:0.875rem !important;border:none !important;vertical-align:middle !important}:host(#menu-button.ic-theme-dark){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-dark-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-dark-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover-dark\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed-dark\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-dark\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-pressed-dark\n )}:host(#menu-button.ic-theme-light){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-light-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-light-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-light\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-default\n )}@media (forced-colors: active){.button,::slotted(a){border:0.125rem solid transparent !important}.search-submit-button ::slotted(a),.ic-button-variant-icon ::slotted(a),.clear-button ::slotted(a),.search-submit-button ::slotted(svg),.ic-button-variant-icon ::slotted(svg),.clear-button ::slotted(svg){color:HighlightText}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:white}:host(.clear-button) .button:not(:active):focus ::slotted(svg){color:white !important;background-color:inherit}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:currentcolor !important}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
|
5077
|
+
const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;position:relative;--icon-width:100%;--icon-height:100%}.button,::slotted(a){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;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{border-radius:0.2188rem}.button:hover,::slotted(a:hover){cursor:pointer}.button:focus,::slotted(a:focus){box-shadow:var(--ic-border-focus)}.button:focus-visible,::slotted(a:focus-visible){outline:var(--ic-hc-focus-outline)}:host(.ic-button-disabled),:host(.ic-button-disabled) .button,:host(.ic-button-disabled) ::slotted(a),:host(.ic-button-loading),:host(.ic-button-loading) .button{pointer-events:none}:host(.top-icon) .button{flex-direction:column;--height:fit-content}:host(.top-icon) .button .icon-container{margin-right:0}:host(.ic-button-variant-primary) .button,:host(.ic-button-variant-icon-primary) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background)}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon)}:host(.ic-button-variant-primary) ::slotted(a),:host(.ic-button-variant-icon-primary) ::slotted(a){--ic-typography-color:var(--ic-button-primary-text);color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background) !important}:host(.ic-button-variant-primary) .button:hover,:host(.ic-button-variant-icon-primary) .button:hover{background-color:var(--ic-button-primary-background-hover)}:host(.ic-button-variant-primary) ::slotted(a:hover),:host(.ic-button-variant-icon-primary) ::slotted(a:hover){background-color:var(--ic-button-primary-background-hover) !important}:host(.ic-button-variant-primary.ic-button-loading) .button,:host(.ic-button-variant-primary) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading) .button,:host(.ic-button-variant-icon-primary) .button:active{background-color:var(--ic-button-primary-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-primary-background-pressed)}:host(.ic-button-variant-primary) ::slotted(a:active),:host(.ic-button-variant-icon-primary) ::slotted(a:active){background-color:var(--ic-button-primary-background-pressed) !important}:host(.ic-button-variant-primary.ic-button-disabled) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled) .button{background:var(--ic-button-primary-background-disabled);color:var(--ic-button-primary-text-disabled)}:host(.ic-button-variant-primary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled) ::slotted(a){background:var(--ic-button-primary-background-disabled) !important;--ic-typography-color:var(--ic-button-primary-text-disabled) !important;color:var(--ic-button-primary-text-disabled) !important}:host(.ic-button-variant-primary.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button{color:var(--ic-button-primary-text-monochrome);background-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a){background-color:var(--ic-button-primary-background-monochrome) !important}:host(.ic-button-variant-primary.monochrome) .button:hover,:host(.ic-button-variant-icon-primary.monochrome) .button:hover{background-color:var(--ic-button-primary-background-hover-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-primary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-primary.monochrome) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button:active{background-color:var(--ic-button-primary-background-pressed-monochrome);--button-loading-inner-color:var(--ic-button-primary-text-monochrome);--button-loading-outer-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-primary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) .button{background-color:var(--ic-button-primary-background-disabled-monochrome);color:var(--ic-button-primary-text-disabled-monochrome)}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) ::slotted(a){background-color:var(\n --ic-button-primary-background-disabled-monochrome\n ) !important}:host(.ic-button-variant-secondary) .button,:host(.ic-button-variant-icon-secondary) .button{border:var(--ic-border-width) solid var(--ic-button-secondary-border);color:var(--ic-button-secondary-text)}:host(.ic-button-variant-secondary) ::slotted(a),:host(.ic-button-variant-icon-secondary) ::slotted(a){border:var(--ic-border-width) solid var(--ic-button-secondary-border) !important;color:var(--ic-button-secondary-text) !important;--ic-typography-color:var(--ic-button-secondary-text) !important}:host(.ic-button-variant-secondary) .button:hover,:host(.ic-button-variant-icon-secondary) .button:hover{background-color:var(--ic-button-secondary-background-hover-active);border-color:var(--ic-button-secondary-border-hover);color:var(--ic-button-secondary-text-hover-active)}:host(.ic-button-variant-secondary) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-active\n ) !important}:host(.ic-button-variant-secondary) .button:active,:host(.ic-button-variant-icon-secondary) .button:active{border-color:var(--ic-button-secondary-border-pressed);background-color:var(--ic-button-secondary-background-pressed-active);color:var(--ic-button-secondary-text-pressed-active)}:host(.ic-button-variant-secondary) ::slotted(a:active),:host(.ic-button-variant-icon-secondary) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-active\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading) .button{border-color:var(--ic-button-secondary-border-pressed);background-color:var(\n --loading-button-background,\n var(--ic-button-secondary-background-pressed-active)\n ) !important;color:var(--ic-button-secondary-text-pressed-active);--button-loading-inner-color:var(--ic-button-secondary-border-pressed);--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-active\n )}:host(.ic-button-variant-secondary.ic-button-disabled) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled) .button{border-color:var(--ic-button-secondary-border-disabled);color:var(--ic-button-secondary-text-disabled);background:none}:host(.ic-button-variant-secondary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background) .button,:host(.ic-button-variant-icon-secondary.background) .button{background-color:var(--ic-button-secondary-background)}:host(.ic-button-variant-secondary.background) ::slotted(a),:host(.ic-button-variant-icon-secondary.background) ::slotted(a){background-color:var(--ic-button-secondary-background) !important}:host(.ic-button-variant-secondary.background) .button:hover,:host(.ic-button-variant-icon-secondary.background) .button:hover{background-image:var(--ic-button-secondary-background-non-transparent-hover)}:host(.ic-button-variant-secondary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-secondary.background) .button:active,:host(.ic-button-variant-icon-secondary.background) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-active\n )}:host(.ic-button-variant-secondary.background) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button,:host(.ic-button-variant-icon-secondary.monochrome) .button{background-color:none;border:var(--ic-border-width) solid\n var(--ic-button-secondary-border-monochrome);color:var(--ic-button-secondary-text-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a){background-color:none !important}:host(.ic-button-variant-secondary.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.monochrome) .button:hover{background-color:var(--ic-button-secondary-background-hover-monochrome);border-color:var(--ic-button-secondary-border-hover-monochrome);color:var(--ic-button-secondary-text-hover-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.monochrome) .button:active{background-color:var(--ic-button-secondary-background-pressed-monochrome);border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading.monochrome) .button{background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important;border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-secondary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-monochrome\n )}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) .button{background:none;border-color:var(--ic-button-secondary-border-disabled-monochrome);color:var(--ic-button-secondary-text-disabled-monochrome)}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background.monochrome) .button,:host(.ic-button-variant-icon-secondary.background.monochrome) .button{background-color:var(--ic-button-secondary-background-monochrome)}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a){background-color:var(--ic-button-secondary-background-monochrome) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:hover{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-tertiary) .button,:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-tertiary) ::slotted(a),:host(.ic-button-variant-icon-tertiary) ::slotted(a){color:var(--ic-button-tertiary-text-active);--ic-typography-color:var(--ic-button-tertiary-text-active)}:host(.ic-button-variant-tertiary) .button:hover,:host(.ic-button-variant-icon-tertiary) .button:hover{background-color:var(--ic-button-tertiary-background-hover-active);color:var(--ic-button-tertiary-text-hover-active)}:host(.ic-button-variant-tertiary) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-active\n ) !important}:host(.ic-button-variant-tertiary) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading) .button,:host(.ic-button-variant-icon-tertiary) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading) .button{background-color:var(--ic-button-tertiary-background-pressed-active);color:var(--ic-button-tertiary-text-pressed-active);--button-loading-inner-color:var(--ic-button-tertiary-text-pressed-active);--button-loading-outer-color:var(--ic-button-tertiary-background-pressed)}:host(.ic-button-variant-tertiary) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-active\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled) .button{color:var(--ic-button-tertiary-text-disabled);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background) .button,:host(.ic-button-variant-icon-tertiary.background) .button{background-color:var(--ic-button-tertiary-background)}:host(.ic-button-variant-tertiary.background) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a){background-color:var(--ic-button-tertiary-background) !important}:host(.ic-button-variant-tertiary.background) .button:hover,:host(.ic-button-variant-icon-tertiary.background) .button:hover{background-image:var(--ic-button-tertiary-background-non-transparent-hover)}:host(.ic-button-variant-tertiary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-tertiary.background) .button:active,:host(.ic-button-variant-icon-tertiary.background) .button:active{background-image:var(--ic-button-tertiary-background-non-transparent-active)}:host(.ic-button-variant-tertiary.background) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button,:host(.ic-button-variant-tertiary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a){color:var(--ic-button-tertiary-text-monochrome);--ic-typography-color:var(--ic-button-tertiary-text-monochrome)}:host(.ic-button-variant-tertiary.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.monochrome) .button:hover{background-color:var(--ic-button-tertiary-background-hover-monochrome);color:var(--ic-button-tertiary-text-hover-monochrome)}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading.monochrome) .button{background-color:var(--ic-button-tertiary-background-pressed-monochrome);color:var(--ic-button-tertiary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-tertiary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n )}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) .button{color:var(--ic-button-tertiary-text-disabled-monochrome);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background.monochrome) .button,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button{background-color:var(--ic-button-tertiary-background-monochrome)}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a){background-color:var(--ic-button-tertiary-background-monochrome) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:hover{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:active{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-destructive) .button,:host(.ic-button-variant-icon-destructive) .button{color:var(--ic-button-destructive-text);background-color:var(--ic-button-destructive-background);text-transform:uppercase}:host(.ic-button-variant-destructive) ::slotted(a),:host(.ic-button-variant-icon-destructive) ::slotted(a){color:var(--ic-button-destructive-text) !important;--ic-typography-color:var(--ic-button-destructive-text) !important;background-color:var(--ic-button-destructive-background) !important;text-transform:uppercase !important}:host(.ic-button-variant-destructive) .button:hover,:host(.ic-button-variant-icon-destructive) .button:hover{background-color:var(--ic-button-destructive-background-hover)}:host(.ic-button-variant-destructive) ::slotted(a:hover),:host(.ic-button-variant-icon-destructive) ::slotted(a:hover){background-color:var(--ic-button-destructive-background-hover) !important}:host(.ic-button-variant-destructive) .button:active,:host(.ic-button-variant-destructive.ic-button-loading) .button,:host(.ic-button-variant-icon-destructive.ic-button-loading) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-destructive-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-destructive-background-pressed)}:host(.ic-button-variant-destructive) ::slotted(a:active),:host(.ic-button-variant-icon-destructive) ::slotted(a:active){background-color:var(--ic-button-destructive-background-pressed) !important}:host(.ic-button-variant-destructive.ic-button-disabled) .button,:host(.ic-button-variant-icon-destructive.ic-button-disabled) .button{background-color:var(--ic-button-destructive-background-disabled);color:var(--ic-button-destructive-text-disabled)}:host(.ic-button-variant-destructive.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-destructive.ic-button-disabled) ::slotted(a){background-color:var(--ic-button-destructive-background-disabled) !important}:host(.ic-button-variant-icon) .button{color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background);min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) ::slotted(a){color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background) !important;min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.ic-button-variant-icon) .button:hover{color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover)}:host(.ic-button-variant-icon) ::slotted(a:hover){color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover) !important}:host(.ic-button-variant-icon) .button:active:not(:focus),:host(.ic-button-variant-icon.ic-button-loading) .button{color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active)}:host(.ic-button-variant-icon) ::slotted(a:active:not(:focus)){color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active) !important}:host(.ic-button-variant-icon.ic-button-disabled) .button{color:var(--ic-color-icon-disabled-mid);background:none}:host(.ic-button-variant-icon.ic-button-disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none !important}:host(.ic-button-variant-icon-primary) .button,:host(.ic-button-variant-icon-primary) ::slotted(a){min-width:0;gap:var(--ic-space-xs);color:var(--ic-button-primary-icon)}:host(.ic-button-variant-icon-primary.monochrome) .button,:host(.ic-button-variant-primary.monochrome:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon-monochrome)}:host(.ic-button-variant-icon-primary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:var(--ic-button-icon-monochrome)}:host(.ic-button-variant-icon-secondary) .button,:host(.ic-button-variant-icon-secondary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-secondary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-icon-tertiary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-tertiary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-destructive) .button,:host(.ic-button-variant-icon-destructive) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-destructive) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-size-medium) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.ic-button-size-medium) ::slotted(a){height:var(--height, 2.5rem) !important;padding:var(--ic-space-xs) var(--ic-space-md) !important}:host(.ic-button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.ic-button-size-small) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;padding:var(--ic-space-xxs) var(--ic-space-md) !important}:host(.ic-button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.ic-button-size-large) ::slotted(a){height:var(--height, var(--ic-space-xxl)) !important;padding:var(--ic-space-sm) var(--ic-space-md) !important}:host(.ic-button-size-medium.ic-button-variant-icon) .button,:host(.ic-button-size-medium.ic-button-variant-icon-primary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.ic-button-size-medium.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-destructive) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;width:var(--ic-space-xl) !important;padding:0.375rem !important}:host(.ic-button-size-small.ic-button-variant-icon) .button,:host(.ic-button-size-small.ic-button-variant-icon-primary) .button,:host(.ic-button-size-small.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-small.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-small.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.ic-button-size-small.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon) ::slotted(a){height:var(--height, var(--ic-space-lg)) !important;width:var(--ic-space-lg) !important;padding:var(--ic-space-xxs) !important}:host(.ic-button-size-large.ic-button-variant-icon) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) .button,:host(.ic-button-size-large.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-large.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon) ::slotted(a){height:var(--height, 2.5rem) !important;width:2.5rem !important;padding:var(--ic-space-xs) !important}:host(.ic-button-full-width),:host(.ic-button-full-width) .button{width:100%}:host(.ic-button-full-width) ::slotted(a){width:100% !important}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--inner-color:var(--button-loading-inner-color);--outer-color:var(--button-loading-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{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center;margin-right:var(--ic-space-xs)}div.right-icon{margin-right:auto;margin-left:var(--ic-space-xs)}:host(.ic-button-full-width) .right-icon{margin-right:var(--ic-space-xs)}::slotted(:not(ic-badge)){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.ic-button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button) .button:not(:active):focus ::slotted(svg){color:var(--ic-button-primary-text)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.ic-button-variant-icon) .button,:host(.ic-button-variant-icon) ::slotted(a){background-color:inherit;min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .button,:host(.button-variant-icon) ::slotted(a){color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover,:host(.button-variant-icon) ::slotted(a:hover){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon) ::slotted(a:active:not(:focus)),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none}:host(.clear-button){color:var(--ic-atoms-input-clear-button);margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus,:host(.calendar-button) .button:focus,:host(.clock-button) .button:focus{box-shadow:none}:host(.clear-button) .button,:host(.clear-button) ::slotted(a){background-color:inherit;color:var(--ic-atoms-input-clear-button)}:host(.clear-button) .button:hover,:host(.clear-button) ::slotted(a:hover){color:var(--ic-atoms-input-clear-button)}:host(.clear-button) .button:not(:active):focus ::slotted(svg){background-color:var(--ic-atoms-input-clear-button-focus-inner);color:var(--ic-button-primary-text);}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem;color:var(--ic-top-navigation-icon-active)}:host(.popout-menu-button) .button{height:var(--height);justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}:host .arrow-dropdown{margin-top:auto}:host .dropdown-expanded{transform:rotate(180deg);margin-bottom:var(--ic-space-xxxs)}:host(.dropdown-no-icon) .button{padding-right:var(--ic-space-xs)}slot[name=\"router-item\"]::slotted(a){pointer-events:all}::slotted(a){font-size:0.875rem !important;border:none !important;vertical-align:middle !important}:host(#menu-button.ic-theme-dark){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-dark-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-dark-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover-dark\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed-dark\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-dark\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-pressed-dark\n )}:host(#menu-button.ic-theme-light){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-light-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-light-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-light\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-default\n )}@media (forced-colors: active){.button,::slotted(a){border:0.125rem solid transparent !important}.search-submit-button ::slotted(a),.ic-button-variant-icon ::slotted(a),.clear-button ::slotted(a),.search-submit-button ::slotted(svg),.ic-button-variant-icon ::slotted(svg),.clear-button ::slotted(svg){color:HighlightText}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:white}:host(.clear-button) .button:not(:active):focus ::slotted(svg){color:white !important;background-color:inherit}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:currentcolor !important}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
|
4913
5078
|
var IcButtonStyle0 = icButtonCss;
|
4914
5079
|
|
4915
5080
|
var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
|
@@ -5003,6 +5168,10 @@ class Button {
|
|
5003
5168
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
5004
5169
|
*/
|
5005
5170
|
this.theme = "inherit";
|
5171
|
+
/**
|
5172
|
+
* Setting to `true` can help in situations where tooltip content is clipped by a parent element.
|
5173
|
+
*/
|
5174
|
+
this.tooltipFixedPositioning = false;
|
5006
5175
|
/**
|
5007
5176
|
* The position of the tooltip in relation to the button.
|
5008
5177
|
*/
|
@@ -5021,16 +5190,13 @@ class Button {
|
|
5021
5190
|
this.variant = "primary";
|
5022
5191
|
this.getSlottedIcon = (position) => this.el.querySelector(`[slot="${position}-icon"]`);
|
5023
5192
|
this.handleClick = () => {
|
5024
|
-
var _a;
|
5025
5193
|
if ((this.el.type === "submit" || this.el.type === "reset") &&
|
5026
5194
|
!this.hasRouterSlot() &&
|
5027
|
-
!!this.el.closest("FORM")) {
|
5028
|
-
const
|
5029
|
-
|
5030
|
-
|
5031
|
-
(
|
5032
|
-
hiddenFormButton.click();
|
5033
|
-
hiddenFormButton.remove();
|
5195
|
+
(this.form || !!this.el.closest("FORM"))) {
|
5196
|
+
const form = this.form
|
5197
|
+
? document.querySelector(`form[id=${this.form}]`)
|
5198
|
+
: this.el.closest("FORM");
|
5199
|
+
handleHiddenFormButtonClick(form, this.el);
|
5034
5200
|
}
|
5035
5201
|
};
|
5036
5202
|
this.handleKeyDown = (ev) => {
|
@@ -5242,7 +5408,7 @@ class Button {
|
|
5242
5408
|
}
|
5243
5409
|
}
|
5244
5410
|
render() {
|
5245
|
-
const { ariaControlsId, ariaLabel, ariaOwnsId, buttonIdNum, describedByContent, describedById, disabled, download, dropdown, dropdownExpanded, form, formaction, formenctype, formmethod, formnovalidate, formtarget, fullWidth, handleClick, handleKeyDown, hasTooltip, href, hreflang, id, inheritedAttributes, isIconVariant, loading, monochrome, onBlur, onFocus, referrerpolicy, rel, size, target, theme, title, tooltipPlacement, transparentBackground, type, variant, } = this;
|
5411
|
+
const { ariaControlsId, ariaLabel, ariaOwnsId, buttonIdNum, describedByContent, describedById, disabled, download, dropdown, dropdownExpanded, form, formaction, formenctype, formmethod, formnovalidate, formtarget, fullWidth, handleClick, handleKeyDown, hasTooltip, href, hreflang, id, inheritedAttributes, isIconVariant, loading, monochrome, onBlur, onFocus, referrerpolicy, rel, size, target, theme, title, tooltipFixedPositioning, tooltipPlacement, transparentBackground, type, variant, } = this;
|
5246
5412
|
const TagType = href ? "a" : "button";
|
5247
5413
|
const buttonAttrs = TagType === "button"
|
5248
5414
|
? {
|
@@ -5280,7 +5446,7 @@ class Button {
|
|
5280
5446
|
variant !== "destructive" && (hAsync("span", { class: dropdownExpanded
|
5281
5447
|
? "dropdown-expanded"
|
5282
5448
|
: "arrow-dropdown", innerHTML: arrowDropdown$1 }))))));
|
5283
|
-
return (hAsync(Host, { key: '
|
5449
|
+
return (hAsync(Host, { key: '93677b4fa42904890e9fa3b33297734b895f04a4', class: {
|
5284
5450
|
"ic-button-disabled": disabled && !loading,
|
5285
5451
|
"ic-button-full-width": fullWidth,
|
5286
5452
|
"ic-button-loading": loading,
|
@@ -5296,7 +5462,7 @@ class Button {
|
|
5296
5462
|
monochrome,
|
5297
5463
|
"top-icon": isSlotUsed$1(this.el, "top-icon"),
|
5298
5464
|
"with-badge": isSlotUsed$1(this.el, "badge"),
|
5299
|
-
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (hAsync("ic-tooltip", { key: '
|
5465
|
+
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (hAsync("ic-tooltip", { key: '273a8bb9c3146fc8fb2b177d842f6ac17a0db0fb', id: describedby, label: title || ariaLabel, target: buttonId, placement: tooltipPlacement, fixedPositioning: tooltipFixedPositioning, silent: isIconVariant() && !!ariaLabel }, hAsync(ButtonContent, { key: '092785c68429f1458a74e2f9aa611179ce5d490c' }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '002e2fd22a45138708c9a188f87cb37c6c6c386d', name: "badge" }), !hasTooltip && hAsync(ButtonContent, { key: '3d3634e2078b0d52e687cc4068e5e80f6ff8a8a2' }), describedByContent && (hAsync("span", { key: '6e134f3c30402bb3217c284df65d72aca696043c', id: describedby, class: "ic-button-describedby" }, describedByContent))));
|
5300
5466
|
}
|
5301
5467
|
static get delegatesFocus() { return true; }
|
5302
5468
|
get el() { return getElement(this); }
|
@@ -5336,6 +5502,7 @@ class Button {
|
|
5336
5502
|
"size": [1],
|
5337
5503
|
"target": [1],
|
5338
5504
|
"theme": [1025],
|
5505
|
+
"tooltipFixedPositioning": [4, "tooltip-fixed-positioning"],
|
5339
5506
|
"tooltipPlacement": [1, "tooltip-placement"],
|
5340
5507
|
"transparentBackground": [4, "transparent-background"],
|
5341
5508
|
"type": [1],
|
@@ -5956,19 +6123,19 @@ class CardVertical {
|
|
5956
6123
|
rel: rel,
|
5957
6124
|
target: target,
|
5958
6125
|
};
|
5959
|
-
return (hAsync(Host, { key: '
|
6126
|
+
return (hAsync(Host, { key: '2dc8070692fc796401c84c6156d1f66c8053310a', class: {
|
5960
6127
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
5961
|
-
} }, hAsync(Component, Object.assign({ key: '
|
6128
|
+
} }, hAsync(Component, Object.assign({ key: 'a1a8763990ed7e5ac5eecfc69e4b29ab184b9e6e', class: {
|
5962
6129
|
card: true,
|
5963
6130
|
clickable: !!clickable && !disabled,
|
5964
6131
|
disabled: !!disabled,
|
5965
6132
|
fullwidth: !!fullWidth,
|
5966
6133
|
focussed: isFocussed,
|
5967
6134
|
monochrome: monochrome,
|
5968
|
-
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed$1(this.el, "image-top") && (hAsync("div", { key: '
|
6135
|
+
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed$1(this.el, "image-top") && (hAsync("div", { key: '2c12f461a8b8972d8a4de1a6560a2c52ecadc36f', class: "image-top" }, hAsync("slot", { key: '9afec40e5ef6b57a10ca922d7f3da378f962200f', name: "image-top" }))), hAsync("div", { key: 'bb92939da24dbfa2fb2e4bc2606d4f7ef9d2ba37', class: "card-header" }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '165af9342325b430548209cf2bcd5b9781b752fd', class: "icon" }, hAsync("slot", { key: '4b2cdd47b1f2abfc16097dee848b630c93c1b835', name: "icon" }))), hAsync("div", { key: '02f1b6357a696bc43b9d5cc7c8030647b52e311c', class: "card-title" }, hAsync("slot", { key: 'b71ca0fa6a4aeb1cf75579920a66f58abe11d5ae', name: "heading" }, hAsync("ic-typography", { key: '63f9c6478987888f41a53d5beadec2b3deaa52ae', variant: "h4" }, hAsync("p", { key: '6d642c20d4656a408cf439c969a1895cb834c15e' }, heading)))), isSlotUsed$1(this.el, "interaction-button") && (hAsync("div", { key: '7a44d7d2c17cd980fa14da2a65aa68ddd8832f77', class: "interaction-button" }, hAsync("slot", { key: '6a9e0f0ca96125d94d39b31474c82ffe088ea475', name: "interaction-button" })))), (subheading || isSlotUsed$1(this.el, "subheading")) && (hAsync("div", { key: 'dc19ca8ae488c30aa1fc58e56db23fc0dc2a2c0f', class: "subheading" }, hAsync("slot", { key: 'bae9a057f813ef5c5df04befed60d09ccb106857', name: "subheading" }, hAsync("ic-typography", { key: '13a32e2d9bc3258b65edf8a5c385f181f39a2c8d', variant: "subtitle-small" }, subheading)))), isSlotUsed$1(this.el, "adornment") && (hAsync("div", { key: 'c359631c9d1ed0643290e1db2a5e521d6702b29d', class: "adornment" }, hAsync("slot", { key: '398a65927df066f96bffc5b59b95fd27ec558c12', name: "adornment" }))), isSlotUsed$1(this.el, "image-mid") && (hAsync("div", { key: '463a2495779d1faca6efd98a3e1425e3486fc0d1', class: "image-mid" }, hAsync("slot", { key: '049daa3cbf2542b0a47951a8758bb50a1ad699e2', name: "image-mid" }))), (message || isSlotUsed$1(this.el, "message")) && (hAsync("div", { key: '9f6b4ea8e3a8cfa0e8ad58366f4e2a198cb0f8f6', class: "card-message" }, message && (hAsync("ic-typography", { key: '1a32ff3958de50ea5732a0fb52616d04c6ebedcc', variant: "body" }, message)), isSlotUsed$1(this.el, "message") && hAsync("slot", { key: '0dabb8f6ed9bd42a0982284fa4976734c0d5e16f', name: "message" }))), (isSlotUsed$1(this.el, "interaction-controls") || expandable) && (hAsync("div", { key: '2d6292c895df325c53cffc72a330720855644c59', class: "interaction-area" }, hAsync("div", { key: 'a8c4c10d85a5608f49dbccb8cb65443d56d64a3f', class: "interaction-controls" }, hAsync("slot", { key: '5caebe86117ec6ef31d096a284aa035153e02a56', name: "interaction-controls" })), expandable && (hAsync("ic-tooltip", { key: '1d66d84f3181cc1694cdf779befca1610c538f71', id: "ic-tooltip-expand-button", label: "Toggle expandable area", silent: true }, hAsync("button", { key: 'eaa2b9484428dab89fb67677b80a09a6174b011b', class: {
|
5969
6136
|
"toggle-button": true,
|
5970
6137
|
[`toggle-button-${this.areaExpanded ? "expanded" : "closed"}`]: true,
|
5971
|
-
}, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed$1(this.el, "expanded-content") && this.areaExpanded && (hAsync("div", { key: '
|
6138
|
+
}, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed$1(this.el, "expanded-content") && this.areaExpanded && (hAsync("div", { key: 'd896c331bad9e027c4b56dd1fce75bc530218516', class: "expanded-content", id: "expanded-content-area" }, hAsync("slot", { key: '7fc81de39ef8a949674f22089d413bf946befdd7', name: "expanded-content" }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '283bff90fab9be3b640ab7d04384d7ce2873bad8', name: "badge" }))));
|
5972
6139
|
}
|
5973
6140
|
get el() { return getElement(this); }
|
5974
6141
|
static get watchers() { return {
|
@@ -6005,7 +6172,7 @@ class CardVertical {
|
|
6005
6172
|
}; }
|
6006
6173
|
}
|
6007
6174
|
|
6008
|
-
const icCheckboxCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-checkbox-disabled){pointer-events:none}.container{display:flex;width:-moz-fit-content;width:fit-content;padding:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs);margin-bottom:var(--ic-space-xxs);align-items:center}:host(.ic-data-table-checkbox) .container{padding:0;margin-bottom:0}:host(.ic-checkbox-small) .container{margin-bottom:var(--ic-space-xxxs)}.checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-checkbox-background-unselected);border:var(--ic-border-width) solid var(--ic-checkbox-border-unselected);border-radius:var(--ic-border-radius);outline:none;cursor:pointer;transition:var(--ic-easing-transition-fast);flex-shrink:0}:host .container svg{width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.ic-checkbox-small) .checkbox,:host(.ic-checkbox-small) .container svg{width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-checkbox-large) .checkbox,:host(.ic-checkbox-large) .container svg{width:var(--ic-space-xl);height:var(--ic-space-xl)}.checkbox:checked{background-color:var(--ic-checkbox-background-selected);border:var(--ic-border-width) solid var(--ic-checkbox-background-selected);transition:var(--ic-easing-transition-slow)}.checkbox:checked:disabled{background-color:var(--ic-checkbox-background-selected-disabled);border:var(--ic-border-width) solid\n var(--ic-checkbox-background-selected-disabled)}.checkbox:indeterminate,.checkbox.indeterminate:checked{background-color:var(--ic-checkbox-background-indeterminate);border:0.125rem solid var(--ic-checkbox-background-indeterminate)}.checkbox:indeterminate:disabled,.checkbox.indeterminate:checked:disabled{background-color:var(--ic-checkbox-background-indeterminate-disabled);border:0.125rem solid var(--ic-checkbox-background-indeterminate-disabled)}.checkbox:checked:hover{background-color:var(--ic-checkbox-background-selected-hover)}.checkbox:indeterminate:hover,.checkbox.indeterminate:checked:hover{background-color:var(--ic-checkbox-background-indeterminate-hover);border:0.125rem solid var(--ic-checkbox-background-indeterminate-hover)}.checkbox:checked:active{background-color:var(--ic-checkbox-background-selected-pressed)}.checkbox:indeterminate:active,.checkbox.indeterminate:checked:active{background-color:var(--ic-checkbox-background-indeterminate-pressed);border:0.125rem solid var(--ic-checkbox-background-indeterminate-pressed)}.checkbox:hover{box-shadow:0 0 0 0.25rem var(--ic-checkbox-action-background-hover);border:var(--ic-border-width) solid\n var(--ic-checkbox-border-unselected-hover)}.checkbox:active{box-shadow:0 0 0 0.25rem var(--ic-checkbox-action-background-pressed);border:var(--ic-border-width) solid\n var(--ic-checkbox-border-unselected-pressed)}.checkbox:focus{box-shadow:var(--ic-border-focus)}.checkbox:disabled{border:var(--ic-border-width) dashed\n var(--ic-checkbox-border-unselected-disabled)}.checkbox-label{color:var(--ic-checkbox-text);--ic-typography-color:var(--ic-checkbox-text)}.checkbox-label>label{padding-left:var(--ic-space-sm)}:host(.ic-checkbox-disabled) .checkbox-label{color:var(--ic-checkbox-text-disabled);--ic-typography-color:var(--ic-checkbox-text-disabled)}.checkbox-label:hover{cursor:pointer}.checkmark{position:relative;right:calc(-1 * var(--ic-space-lg));margin-left:calc(-1 * var(--ic-space-lg));fill:var(--ic-checkbox-icon-pressed);z-index:1;background-color:transparent;pointer-events:none;flex-shrink:0}:host(.ic-checkbox-small) .checkmark{margin-left:calc(-1 * var(--ic-space-md));right:calc(-1 * var(--ic-space-md))}:host(.ic-checkbox-large) .checkmark{margin-left:calc(-1 * var(--ic-space-xl));right:calc(-1 * var(--ic-space-xl))}.indeterminate-symbol{position:relative;width:0.875rem;height:var(--ic-space-xxxs);right:-1.188rem;margin-left:-0.875rem;z-index:1;background-color:var(--ic-checkbox-icon-indeterminate);pointer-events:none;flex-shrink:0}:host(.ic-checkbox-small) .indeterminate-symbol{width:0.6rem;right:-0.8rem;margin-left:-0.6rem}:host(.ic-checkbox-large) .indeterminate-symbol{width:1.25rem;right:-1.625rem;margin-left:-1.25rem}.additional-field-wrapper{margin-left:calc(var(--ic-space-md) + var(--ic-space-lg));margin-top:calc(var(--ic-space-sm) / 2)}.branch-corner{height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-checkbox-required-bar);border-left:0.125rem solid var(--ic-checkbox-required-bar)}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.dynamic-text{color:var(--ic-checkbox-required-text);--ic-typography-color:var(--ic-checkbox-required-text);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}.dynamic-field-container{flex:100%}@media (max-width: 576px){::slotted(*){--input-width:100%}.dynamic-field-container{flex:initial}}@media (forced-colors: active){.checkbox{-webkit-appearance:revert;-moz-appearance:revert;appearance:revert;transition:none}.checkbox:checked{transition:none}.checkbox:focus-visible{outline:0.125rem solid highlight}.checkbox:disabled:not(:checked){-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.checkmark{fill:none}.indeterminate-symbol{display:none}}.checkmark:dir(rtl){right:0}.checkbox-label:dir(rtl){padding-right:var(--ic-space-sm);padding-left:0}.indeterminate-symbol:dir(rtl){right:0.288rem}.branch-corner:dir(rtl){border-radius:0 0 0.188rem;border-right:0.125rem solid var(--ic-action-default);border-left:none}.dynamic-container:dir(rtl){margin:var(--ic-space-xxxs) var(--ic-space-sm) var(--ic-space-xxs) 0}";
|
6175
|
+
const icCheckboxCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-checkbox-disabled){pointer-events:none}.container{display:flex;width:-moz-fit-content;width:fit-content;padding:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs);margin-bottom:var(--ic-space-xxs);align-items:center}:host(.ic-data-table-checkbox) .container{padding:0;margin-bottom:0}:host(.ic-checkbox-small) .container{margin-bottom:var(--ic-space-xxxs)}.checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-checkbox-background-unselected);border:var(--ic-border-width) solid var(--ic-checkbox-border-unselected);border-radius:var(--ic-border-radius);outline:none;cursor:pointer;transition:var(--ic-easing-transition-fast);flex-shrink:0}:host .container svg{width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.ic-checkbox-small) .checkbox,:host(.ic-checkbox-small) .container svg{width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-checkbox-large) .checkbox,:host(.ic-checkbox-large) .container svg{width:var(--ic-space-xl);height:var(--ic-space-xl)}.checkbox:checked{background-color:var(--ic-checkbox-background-selected);border:var(--ic-border-width) solid var(--ic-checkbox-background-selected);transition:var(--ic-easing-transition-slow)}.checkbox:checked:disabled{background-color:var(--ic-checkbox-background-selected-disabled);border:var(--ic-border-width) solid\n var(--ic-checkbox-background-selected-disabled)}.checkbox:indeterminate,.checkbox.indeterminate:checked{background-color:var(--ic-checkbox-background-indeterminate);border:0.125rem solid var(--ic-checkbox-background-indeterminate)}.checkbox:indeterminate:disabled,.checkbox.indeterminate:checked:disabled{background-color:var(--ic-checkbox-background-indeterminate-disabled);border:0.125rem solid var(--ic-checkbox-background-indeterminate-disabled)}.checkbox:checked:hover{background-color:var(--ic-checkbox-background-selected-hover)}.checkbox:indeterminate:hover,.checkbox.indeterminate:checked:hover{background-color:var(--ic-checkbox-background-indeterminate-hover);border:0.125rem solid var(--ic-checkbox-background-indeterminate-hover)}.checkbox:checked:active{background-color:var(--ic-checkbox-background-selected-pressed)}.checkbox:indeterminate:active,.checkbox.indeterminate:checked:active{background-color:var(--ic-checkbox-background-indeterminate-pressed);border:0.125rem solid var(--ic-checkbox-background-indeterminate-pressed)}.checkbox:hover{box-shadow:0 0 0 0.25rem var(--ic-checkbox-action-background-hover);border:var(--ic-border-width) solid\n var(--ic-checkbox-border-unselected-hover)}.checkbox:active{box-shadow:0 0 0 0.25rem var(--ic-checkbox-action-background-pressed);border:var(--ic-border-width) solid\n var(--ic-checkbox-border-unselected-pressed)}.checkbox:focus{box-shadow:var(--ic-border-focus)}.checkbox:disabled{border:var(--ic-border-width) dashed\n var(--ic-checkbox-border-unselected-disabled)}.checkbox-label{color:var(--ic-checkbox-text);--ic-typography-color:var(--ic-checkbox-text)}.checkbox-label>label{padding-left:var(--ic-space-sm);display:inline-block}:host(.ic-checkbox-disabled) .checkbox-label{color:var(--ic-checkbox-text-disabled);--ic-typography-color:var(--ic-checkbox-text-disabled)}.checkbox-label:hover{cursor:pointer}.checkmark{position:relative;right:calc(-1 * var(--ic-space-lg));margin-left:calc(-1 * var(--ic-space-lg));fill:var(--ic-checkbox-icon-pressed);z-index:1;background-color:transparent;pointer-events:none;flex-shrink:0}:host(.ic-checkbox-small) .checkmark{margin-left:calc(-1 * var(--ic-space-md));right:calc(-1 * var(--ic-space-md))}:host(.ic-checkbox-large) .checkmark{margin-left:calc(-1 * var(--ic-space-xl));right:calc(-1 * var(--ic-space-xl))}.indeterminate-symbol{position:relative;width:0.875rem;height:var(--ic-space-xxxs);right:-1.188rem;margin-left:-0.875rem;z-index:1;background-color:var(--ic-checkbox-icon-indeterminate);pointer-events:none;flex-shrink:0}:host(.ic-checkbox-small) .indeterminate-symbol{width:0.6rem;right:-0.8rem;margin-left:-0.6rem}:host(.ic-checkbox-large) .indeterminate-symbol{width:1.25rem;right:-1.625rem;margin-left:-1.25rem}.additional-field-wrapper{margin-left:calc(var(--ic-space-md) + var(--ic-space-lg));margin-top:calc(var(--ic-space-sm) / 2)}.branch-corner{height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-checkbox-required-bar);border-left:0.125rem solid var(--ic-checkbox-required-bar)}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.dynamic-text{color:var(--ic-checkbox-required-text);--ic-typography-color:var(--ic-checkbox-required-text);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}.dynamic-field-container{flex:100%}@media (max-width: 576px){::slotted(*){--input-width:100%}.dynamic-field-container{flex:initial}}@media (forced-colors: active){.checkbox{-webkit-appearance:revert;-moz-appearance:revert;appearance:revert;transition:none}.checkbox:checked{transition:none}.checkbox:focus-visible{outline:0.125rem solid highlight}.checkbox:disabled:not(:checked){-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.checkmark{fill:none}.indeterminate-symbol{display:none}}.checkmark:dir(rtl){right:0}.checkbox-label:dir(rtl){padding-right:var(--ic-space-sm);padding-left:0}.indeterminate-symbol:dir(rtl){right:0.288rem}.branch-corner:dir(rtl){border-radius:0 0 0.188rem;border-right:0.125rem solid var(--ic-action-default);border-left:none}.dynamic-container:dir(rtl){margin:var(--ic-space-xxxs) var(--ic-space-sm) var(--ic-space-xxs) 0}";
|
6009
6176
|
var IcCheckboxStyle0 = icCheckboxCss;
|
6010
6177
|
|
6011
6178
|
/**
|
@@ -6116,17 +6283,17 @@ class Checkbox {
|
|
6116
6283
|
checked
|
6117
6284
|
? renderHiddenInput$1(el, value, name, disabled)
|
6118
6285
|
: removeHiddenInput(el);
|
6119
|
-
return (hAsync(Host, { key: '
|
6286
|
+
return (hAsync(Host, { key: '153b0b333ca1d0755d4e52dd9119d48cd1c246cc', class: {
|
6120
6287
|
"ic-checkbox-disabled": disabled,
|
6121
6288
|
[`ic-checkbox-${size}`]: !!size,
|
6122
6289
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6123
|
-
} }, hAsync("div", { key: '
|
6290
|
+
} }, hAsync("div", { key: 'c0f56ee4fbbdd38fea208d133cdd1fa91a41d6c7', class: "container" }, displayIndeterminate ? (hAsync("div", { class: "indeterminate-symbol" })) : (checked && (hAsync("svg", { class: "checkmark", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, hAsync("title", null, "checkmark icon"), hAsync("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" })))), hAsync("input", { key: 'f8335e54b2f765591b3781d76a01632c34065855', role: "checkbox", class: {
|
6124
6291
|
checkbox: true,
|
6125
6292
|
checked,
|
6126
6293
|
indeterminate: displayIndeterminate,
|
6127
|
-
}, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: id, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel ? label : undefined }), !hideLabel && (hAsync("ic-typography", { key: '
|
6294
|
+
}, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: id, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel ? label : undefined }), !hideLabel && (hAsync("ic-typography", { key: '2ba4862a349e6b3f34c050c434ce247687f0dfd8', class: "checkbox-label", variant: "body" }, hAsync("label", { key: 'a3f3c733b5dc0a0acdf89d3b7db603e965102618', htmlFor: id }, label)))), isSlotUsed$1(el, "additional-field") && (hAsync("div", { key: 'ad38f0547dda8ce82cd107fec3f3ff9d555cc1e8', class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, isDynamicAdditionalField && hAsync("div", { key: 'd2c8566cada65dbd60546873ccbfedb33ec0e093', class: "branch-corner" }), hAsync("div", { key: '05489504f66d7f6e79bbbf18302dd63348f2f4a7', class: "dynamic-field-container" }, isDynamicAdditionalField && (hAsync("ic-typography", { key: 'eb397dc91080f791a4fd13e3c1815fad70c7cb87', variant: "caption" }, hAsync("p", { key: '49633d6c0806655957055fbef51688bfdeb11411', class: "dynamic-text", "aria-live": "polite" }, dynamicText))), hAsync("div", { key: '916e20f79f80cd7ff0fb5c4b030caf07f146ffcc', class: {
|
6128
6295
|
"additional-field-wrapper": !isDynamicAdditionalField,
|
6129
|
-
} }, hAsync("slot", { key: '
|
6296
|
+
} }, hAsync("slot", { key: '5783108ca7c6edb7c55dad2cc9469549e31d7cd3', name: "additional-field" })))))));
|
6130
6297
|
}
|
6131
6298
|
static get delegatesFocus() { return true; }
|
6132
6299
|
get el() { return getElement(this); }
|
@@ -6261,11 +6428,11 @@ class CheckboxGroup {
|
|
6261
6428
|
const { disabled, helperText, hideLabel, label, name, required, size, theme, validationStatus, validationText, } = this;
|
6262
6429
|
const describedBy = getInputDescribedByText$1(this.el, name, helperText !== "", validationStatus !== "");
|
6263
6430
|
const renderSRText = validationStatus === "error" || required || hideLabel;
|
6264
|
-
return (hAsync(Host, { key: '
|
6431
|
+
return (hAsync(Host, { key: '977492f0ca432ab5dc9d7435c66cf6aafa8c44f1', class: {
|
6265
6432
|
"ic-checkbox-group-disabled": !!disabled,
|
6266
6433
|
[`ic-checkbox-group-${size}`]: true,
|
6267
6434
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6268
|
-
} }, renderSRText && (hAsync("span", { key: '
|
6435
|
+
} }, renderSRText && (hAsync("span", { key: '5a9d1c9fcf5f1b837e4f6ff3ae516db0b105e1ac', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), hAsync("fieldset", { key: 'c3afb98a671db4dba8229d461c33d4b5a69d5e31', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (hAsync("legend", { key: 'bc4e450767c3fb6f7deb01370d9d1599d4515417' }, hAsync("ic-input-label", { key: '7c0c76b80d4b89673495b56a79cf8a05f0a224f3', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, hAsync("slot", { key: '348730e9c8ffbd0701a00e9380a11e403957604b', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: 'c4065c98766a8447ed51c0a84f953cc70c529d2c', class: "checkboxes-container" }, hAsync("slot", { key: 'cadbff332d84cf70bbbb42f1c40f4cb0bc705e38' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '0259abfb51282b2dfc8ed9aed0a2b97ccb769ac2', for: name, ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
|
6269
6436
|
}
|
6270
6437
|
get el() { return getElement(this); }
|
6271
6438
|
static get watchers() { return {
|
@@ -6301,7 +6468,7 @@ var dismissIcon = `<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org
|
|
6301
6468
|
</svg>
|
6302
6469
|
`;
|
6303
6470
|
|
6304
|
-
const icChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}.dismiss-icon:focus{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}";
|
6471
|
+
const icChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-1px) var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}.dismiss-icon:focus{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}";
|
6305
6472
|
var IcChipStyle0 = icChipCss;
|
6306
6473
|
|
6307
6474
|
/**
|
@@ -6367,12 +6534,20 @@ class Chip {
|
|
6367
6534
|
watchDisabledHandler() {
|
6368
6535
|
removeDisabledFalse$1(this.disabled, this.el);
|
6369
6536
|
}
|
6537
|
+
disconnectedCallback() {
|
6538
|
+
var _a;
|
6539
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
6540
|
+
}
|
6370
6541
|
componentWillLoad() {
|
6371
6542
|
removeDisabledFalse$1(this.disabled, this.el);
|
6372
6543
|
this.customColorHandler();
|
6373
6544
|
}
|
6374
6545
|
componentDidLoad() {
|
6375
6546
|
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Chip");
|
6547
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, ["icon", "badge"]));
|
6548
|
+
this.hostMutationObserver.observe(this.el, {
|
6549
|
+
childList: true,
|
6550
|
+
});
|
6376
6551
|
}
|
6377
6552
|
handleClick() {
|
6378
6553
|
this.visible = !this.visible;
|
@@ -6387,10 +6562,10 @@ class Chip {
|
|
6387
6562
|
render() {
|
6388
6563
|
const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, } = this;
|
6389
6564
|
const ariaLabel = `${label} chip`;
|
6390
|
-
return (hAsync(Host, { key: '
|
6565
|
+
return (hAsync(Host, { key: 'ced030b6d7a5aeb6b7030ea7858200187d16ae90', class: {
|
6391
6566
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6392
6567
|
[`ic-chip-${foregroundColor}-text`]: variant === "filled" && !!foregroundColor,
|
6393
|
-
} }, visible && (hAsync("div", { key: '
|
6568
|
+
} }, visible && (hAsync("div", { key: 'dca2da18144d1ee47d9507cbb616bc6493060f94', class: {
|
6394
6569
|
chip: true,
|
6395
6570
|
[`${variant}`]: true,
|
6396
6571
|
[`${size}`]: true,
|
@@ -6398,7 +6573,7 @@ class Chip {
|
|
6398
6573
|
dismissible,
|
6399
6574
|
hovered,
|
6400
6575
|
"non-transparent": variant === "outlined" && !transparentBackground,
|
6401
|
-
} }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '
|
6576
|
+
} }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '3e1537327125e7cfd54a20aeeb3f6279560da02f', class: "icon" }, hAsync("slot", { key: '33a229dad89f94f165c0a3f77e83720e1cc0603f', name: "icon" }))), hAsync("ic-typography", { key: '7445c7ae2254c909af206b43e5044f643177f1af', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, hAsync("span", { key: 'af34cb3ca942ea778c3ba4716f983755571626db' }, label)), dismissible && (hAsync("ic-tooltip", { key: '7664945e7ddc8cb66a302265a5b7affcea514241', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, hAsync("button", { key: '692fd13b54eef71e29ef4d3639182617770684df', id: "dismiss-icon", class: "dismiss-icon", ref: (el) => (this.buttonEl = el), "aria-label": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '6db0a5f0dd29df3315caa52aba01d339449e3bdd', name: "badge" }))), dismissible && (hAsync("div", { key: '2d989a411ff7eedad1e9238714c704c3e2d0d536', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
|
6402
6577
|
}
|
6403
6578
|
static get delegatesFocus() { return true; }
|
6404
6579
|
get el() { return getElement(this); }
|
@@ -6476,10 +6651,10 @@ class ClassificationBanner {
|
|
6476
6651
|
if (!classification ||
|
6477
6652
|
(classification && !classificationText[classification]))
|
6478
6653
|
classification = "default";
|
6479
|
-
return (hAsync(Host, { key: '
|
6654
|
+
return (hAsync(Host, { key: '8ccd98249fea7e78da349f2c97243366305c5dcc', class: { ["ic-classification-banner-inline"]: !!inline } }, hAsync("banner", { key: 'a108ace2bf5f64c5867f993d9d130595b61ccac9', "aria-label": "Protective marking", class: {
|
6480
6655
|
["classification-banner"]: true,
|
6481
6656
|
[`${classification}`]: classification,
|
6482
|
-
} }, classification !== "default" ? (hAsync("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, hAsync("ic-typography", { key: '
|
6657
|
+
} }, classification !== "default" ? (hAsync("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, hAsync("ic-typography", { key: '09edc559ec7b205d092210ef73ef95faa43c1a8a', variant: "caption-uppercase" }, classification === "default"
|
6483
6658
|
? classificationText[classification]
|
6484
6659
|
: `${upTo ? "up to" : ""}
|
6485
6660
|
${country}
|
@@ -6503,7 +6678,7 @@ class ClassificationBanner {
|
|
6503
6678
|
}; }
|
6504
6679
|
}
|
6505
6680
|
|
6506
|
-
const icDataListCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}.heading{--ic-typography-color:var(--ic-data-list-text-heading)}.rows{display:flex;flex-direction:column;gap:var(--ic-space-md)}:host(.ic-data-list-small) .rows{gap:var(--ic-space-xs)}.divider{margin-top:var(--ic-space-lg);margin-bottom:var(--ic-space-md);height:var(--ic-border-width);background-color:var(--ic-data-list-keyline-heading)}:host(.ic-data-list-small) .divider{margin-top:var(--ic-space-sm);margin-bottom:var(--ic-space-xs)}@media (forced-colors: active){.divider{background-color:canvastext}}";
|
6681
|
+
const icDataListCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}.heading{--ic-typography-color:var(--ic-data-list-text-heading);color:var(--ic-data-list-text-heading)}.rows{display:flex;flex-direction:column;gap:var(--ic-space-md)}:host(.ic-data-list-small) .rows{gap:var(--ic-space-xs)}.divider{margin-top:var(--ic-space-lg);margin-bottom:var(--ic-space-md);height:var(--ic-border-width);background-color:var(--ic-data-list-keyline-heading)}:host(.ic-data-list-small) .divider{margin-top:var(--ic-space-sm);margin-bottom:var(--ic-space-xs)}@media (forced-colors: active){.divider{background-color:canvastext}}";
|
6507
6682
|
var IcDataListStyle0 = icDataListCss;
|
6508
6683
|
|
6509
6684
|
/**
|
@@ -6526,10 +6701,10 @@ class DataList {
|
|
6526
6701
|
if (size === "small") {
|
6527
6702
|
Array.from(el.children).forEach((child) => child.setAttribute("size", "small"));
|
6528
6703
|
}
|
6529
|
-
return (hAsync(Host, { key: '
|
6704
|
+
return (hAsync(Host, { key: '5e7af483f24335b47442b4aa768c7b04bc14bb64', class: {
|
6530
6705
|
"ic-data-list-small": size === "small",
|
6531
6706
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6532
|
-
} }, hAsync("div", { key: '
|
6707
|
+
} }, hAsync("div", { key: 'a74f7d4a87b21b053a500cab89ca978ada43263e', class: "heading", id: "data-list-heading" }, hAsync("slot", { key: 'c4896992d8558dfbe2a1d8dd689cabae2581ce89', name: "heading" }, hAsync("ic-typography", { key: 'b05016df276422f769464a73d6ae71533d3c028f', variant: "h3" }, heading))), hAsync("div", { key: 'a984729dc0849a27d09cd6403efd230cfc927007', class: "divider" }), hAsync("ul", { key: '916c5b5c74f16f3fab74e2a157c2216b570420f5', "aria-labelledby": "data-list-heading", class: "rows" }, hAsync("slot", { key: 'e5e05b0957b4cf986139795f31771556fd5f6150' }))));
|
6533
6708
|
}
|
6534
6709
|
get el() { return getElement(this); }
|
6535
6710
|
static get style() { return IcDataListStyle0; }
|
@@ -6547,7 +6722,7 @@ class DataList {
|
|
6547
6722
|
}; }
|
6548
6723
|
}
|
6549
6724
|
|
6550
|
-
const icDataRowCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:relative;display:block}.data{display:flex;align-items:center}.text-cells{display:flex;flex-grow:1;min-width:0;--ic-typography-color:var(--ic-data-list-text-cell)}.label{width:12.5rem;min-width:12.5rem;margin-right:var(--ic-space-md);--ic-typography-color:var(--ic-data-list-text-label)}.value{flex-grow:1}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]){margin-top:calc(var(--ic-space-xs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]){margin-top:calc(var(--ic-space-xxs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]){margin-top:calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs))}.end-component{width:-moz-fit-content;width:fit-content;margin-left:3.5rem}.divider{margin-top:var(--ic-space-md);height:var(--ic-border-width);background-color:var(--ic-data-list-keyline-cell)}:host(.ic-data-row-small) .divider{margin-top:var(--ic-space-xs)}:host(.breakpoint-medium) .label{width:10rem;min-width:10rem}:host(.breakpoint-xs) .text-cells{flex-direction:column}:host(.breakpoint-xs) .label{width:8rem;margin-bottom:var(--ic-space-xs)}:host(.breakpoint-xs) .value{max-width:95%}:host(.breakpoint-xs) .end-component{margin-left:0}@media (forced-colors: active){.divider{background-color:canvastext}}";
|
6725
|
+
const icDataRowCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:relative;display:block}.data{display:flex;align-items:center}.text-cells{display:flex;flex-grow:1;min-width:0;--ic-typography-color:var(--ic-data-list-text-cell);color:var(--ic-data-list-text-cell)}.label{width:var(--data-row-label-width, 12.5rem);min-width:12.5rem;margin-right:var(--ic-space-md);--ic-typography-color:var(--ic-data-list-text-label);color:var(--ic-data-list-text-label)}.value{flex-grow:1}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]){margin-top:calc(var(--ic-space-xs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]){margin-top:calc(var(--ic-space-xxs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]){margin-top:calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs))}.end-component{width:-moz-fit-content;width:fit-content;margin-left:3.5rem}.divider{margin-top:var(--ic-space-md);height:var(--ic-border-width);background-color:var(--ic-data-list-keyline-cell)}:host(.ic-data-row-small) .divider{margin-top:var(--ic-space-xs)}:host(.breakpoint-medium) .label{width:10rem;min-width:10rem}:host(.breakpoint-xs) .text-cells{flex-direction:column}:host(.breakpoint-xs) .label{width:8rem;margin-bottom:var(--ic-space-xs)}:host(.breakpoint-xs) .value{max-width:95%}:host(.breakpoint-xs) .end-component{margin-left:0}@media (forced-colors: active){.divider{background-color:canvastext}}";
|
6551
6726
|
var IcDataRowStyle0 = icDataRowCss;
|
6552
6727
|
|
6553
6728
|
/**
|
@@ -6619,12 +6794,12 @@ class DataRow {
|
|
6619
6794
|
}
|
6620
6795
|
render() {
|
6621
6796
|
const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
|
6622
|
-
return (hAsync(Host, { key: '
|
6797
|
+
return (hAsync(Host, { key: '9a94132a8884960a5ec1c2f2772e89f46dbcc995', class: {
|
6623
6798
|
["ic-data-row-small"]: size === "small",
|
6624
6799
|
["breakpoint-medium"]: listSize === "m",
|
6625
6800
|
["breakpoint-xs"]: listSize === "xs",
|
6626
6801
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6627
|
-
}, role: "listitem" }, hAsync("div", { key: '
|
6802
|
+
}, role: "listitem" }, hAsync("div", { key: '8a354952861f100d66f454998c5b6a40eff226bd', class: "data" }, hAsync("div", { key: '55359f425068a3a2b16cf194bc562ea8a2f865be', class: "text-cells" }, (isSlotUsed$1(el, "label") || label) && renderCellContent("label"), (isSlotUsed$1(el, "value") || value) && renderCellContent("value")), hasEndComponent && (hAsync("div", { key: '1bb95d477f8d30759480a304c5214c9530a118d2', class: "end-component" }, hAsync("slot", { key: '11284607c2c69d5b231d41ae307ca3044b49b8d1', name: "end-component" })))), hAsync("div", { key: 'c4289c8446de02edbf8491e6d1d3cdb66561483e', class: "divider" })));
|
6628
6803
|
}
|
6629
6804
|
get el() { return getElement(this); }
|
6630
6805
|
static get style() { return IcDataRowStyle0; }
|
@@ -7210,7 +7385,7 @@ class DataTable {
|
|
7210
7385
|
}
|
7211
7386
|
return columnWidthStyling;
|
7212
7387
|
};
|
7213
|
-
this.getCalculatedRowHeight = (columnProps,
|
7388
|
+
this.getCalculatedRowHeight = (columnProps, cell, rowTextWrap, currentRowHeight) => {
|
7214
7389
|
if ((this.truncationPattern || currentRowHeight) &&
|
7215
7390
|
!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.textWrap) &&
|
7216
7391
|
!rowTextWrap &&
|
@@ -7240,22 +7415,22 @@ class DataTable {
|
|
7240
7415
|
}
|
7241
7416
|
});
|
7242
7417
|
};
|
7243
|
-
this.createCellContent = (columnProps, cell, cellSlotName,
|
7418
|
+
this.createCellContent = (columnProps, cell, cellSlotName, hasIcon, cellValue, rowOptions, currentRowHeight) => {
|
7244
7419
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
7245
7420
|
return (hAsync("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
|
7246
7421
|
!isSlotUsed(this.el, cellSlotName)
|
7247
7422
|
? cell
|
7248
|
-
: undefined, class: Object.assign(Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", [`cell-alignment-${((
|
7249
|
-
((
|
7250
|
-
this.getCellAlignment(cell, "horizontal")}`]: !!((
|
7251
|
-
!!((
|
7423
|
+
: undefined, class: Object.assign(Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", "cell-icon": hasIcon || !!((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _a === void 0 ? void 0 : _a.icon), [`cell-alignment-${((_b = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _b === void 0 ? void 0 : _b.horizontal) ||
|
7424
|
+
((_c = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _c === void 0 ? void 0 : _c.horizontal) ||
|
7425
|
+
this.getCellAlignment(cell, "horizontal")}`]: !!((_d = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _d === void 0 ? void 0 : _d.horizontal) ||
|
7426
|
+
!!((_e = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _e === void 0 ? void 0 : _e.horizontal) ||
|
7252
7427
|
!!this.getCellAlignment(cell, "horizontal"), [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true, [this.TEXT_WRAP_STRING]: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.textWrap) ||
|
7253
7428
|
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap) ||
|
7254
|
-
!!this.getCellOptions(cell, "textWrap"), [
|
7429
|
+
!!this.getCellOptions(cell, "textWrap"), [`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
7255
7430
|
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7256
|
-
|
7431
|
+
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis)}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
7257
7432
|
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7258
|
-
!!
|
7433
|
+
!!(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis) }, this.setTruncationClass()), { [this.CELL_CONTAINER_WITH_DESCRIPTION_STRING]: this.isObject(cell) && Object.keys(cell).includes("description") }), style: Object.assign(Object.assign({}, this.getCalculatedRowHeight(columnProps, cell, rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap, currentRowHeight)), this.getColumnWidth(columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnWidth)), "data-row-height": this.truncationPattern || currentRowHeight
|
7259
7434
|
? this.setRowHeight(currentRowHeight)
|
7260
7435
|
: null }, isSlotUsed(this.el, cellSlotName) ? (hAsync("slot", { name: cellSlotName })) : (hAsync(Fragment, null, isSlotUsed(this.el, `${cellSlotName}-icon`) ? (hAsync("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_f = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _f === void 0 ? void 0 : _f.onAllCells)) &&
|
7261
7436
|
(cellValue("icon") || ((_g = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _g === void 0 ? void 0 : _g.icon)) && (hAsync("span", { class: "icon", innerHTML: cellValue("icon") || ((_h = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _h === void 0 ? void 0 : _h.icon) }))), (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element" &&
|
@@ -7265,9 +7440,9 @@ class DataTable {
|
|
7265
7440
|
} }, hAsync("ic-typography", { variant: "body", class: {
|
7266
7441
|
[`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
7267
7442
|
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7268
|
-
|
7443
|
+
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis)}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
7269
7444
|
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7270
|
-
!!
|
7445
|
+
!!(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis),
|
7271
7446
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
7272
7447
|
} }, this.isObject(cell) && (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (hAsync("ic-link", { href: cellValue("href"), theme: this.theme, target: cellValue("target") || undefined, rel: cellValue("rel") || undefined }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType))), this.isObject(cell) &&
|
7273
7448
|
Object.keys(cell).includes("description") && (hAsync("div", { class: {
|
@@ -7277,48 +7452,37 @@ class DataTable {
|
|
7277
7452
|
};
|
7278
7453
|
this.createCells = (row, rowIndex) => {
|
7279
7454
|
var _a;
|
7280
|
-
const rowKeys = Object.keys(row);
|
7281
|
-
const rowOptions = this.getObjectValue(row, "rowOptions");
|
7282
|
-
let rowAlignment;
|
7283
|
-
let rowEmphasis;
|
7284
|
-
const rowHeader = this.getObjectValue(row, "header");
|
7285
|
-
if (rowHeader) {
|
7286
|
-
rowAlignment = this.getObjectValue(rowHeader, "rowAlignment");
|
7287
|
-
rowEmphasis = this.getObjectValue(rowHeader, "emphasis");
|
7288
|
-
}
|
7289
7455
|
const variableRowHeightVal = (_a = this.variableRowHeight) === null || _a === void 0 ? void 0 : _a.call(this, Object.assign(Object.assign({}, row), { index: rowIndex }));
|
7290
7456
|
const currentRowHeight = variableRowHeightVal
|
7291
7457
|
? variableRowHeightVal !== "auto" && variableRowHeightVal
|
7292
7458
|
: this.globalRowHeight !== "auto" && this.globalRowHeight;
|
7293
|
-
|
7459
|
+
const { rowOptions } = row;
|
7460
|
+
return this.columns.map((column) => {
|
7294
7461
|
var _a, _b, _c, _d;
|
7295
|
-
|
7296
|
-
|
7297
|
-
|
7298
|
-
|
7299
|
-
|
7300
|
-
|
7301
|
-
|
7302
|
-
|
7303
|
-
|
7304
|
-
|
7305
|
-
|
7306
|
-
|
7307
|
-
if (rowKeys[index] !== "rowOptions") {
|
7308
|
-
return (hAsync("td", { class: {
|
7309
|
-
["table-cell"]: true,
|
7310
|
-
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
7311
|
-
["with-overflow"]: (column === null || column === void 0 ? void 0 : column.dataType) === "element",
|
7312
|
-
[`cell-vertical-align-${((_a = column === null || column === void 0 ? void 0 : column.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
|
7313
|
-
((_b = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
|
7314
|
-
rowAlignment ||
|
7315
|
-
this.getCellAlignment(cell, "vertical")}`]: !!((_c = column === null || column === void 0 ? void 0 : column.columnAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
|
7316
|
-
!!((_d = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _d === void 0 ? void 0 : _d.vertical) ||
|
7317
|
-
!!rowAlignment ||
|
7318
|
-
!!this.getCellAlignment(cell, "vertical"),
|
7319
|
-
}, style: Object.assign({}, this.getColumnWidth(column.columnWidth)) }, isSlotUsed(this.el, `${cellSlotName}-action-element`) ? (hAsync("div", { class: "cell-grid-wrapper" }, CellContent, hAsync("span", { class: "action-element" }, hAsync("slot", { name: `${cellSlotName}-action-element` })))) : (CellContent)));
|
7320
|
-
}
|
7462
|
+
const { columnAlignment, columnWidth, dataType, hidden, key } = column;
|
7463
|
+
if (hidden)
|
7464
|
+
return;
|
7465
|
+
const cell = this.getObjectValue(row, key);
|
7466
|
+
const cellSlotName = `${key}-${rowIndex}`;
|
7467
|
+
const cellValue = (key) => this.getObjectValue(cell, key);
|
7468
|
+
if (key === "header" && (rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.header)) {
|
7469
|
+
return (hAsync("th", { scope: "row", class: {
|
7470
|
+
"row-header": true,
|
7471
|
+
"row-header-sticky": this.stickyRowHeaders,
|
7472
|
+
[`row-header-alignment-${(_a = rowOptions.rowAlignment) === null || _a === void 0 ? void 0 : _a.horizontal}`]: !!((_b = rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.horizontal),
|
7473
|
+
} }, rowOptions.header));
|
7321
7474
|
}
|
7475
|
+
const CellContent = this.createCellContent(column, cell, cellSlotName, this.isObject(cell) && Object.keys(cell).includes("icon"), cellValue, rowOptions, currentRowHeight || undefined);
|
7476
|
+
return (hAsync("td", { class: {
|
7477
|
+
"table-cell": true,
|
7478
|
+
"with-overflow": dataType === "element",
|
7479
|
+
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
7480
|
+
[`cell-vertical-align-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
7481
|
+
((_c = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
|
7482
|
+
this.getCellAlignment(cell, "vertical")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
7483
|
+
!!((_d = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _d === void 0 ? void 0 : _d.vertical) ||
|
7484
|
+
!!this.getCellAlignment(cell, "vertical"),
|
7485
|
+
}, style: Object.assign({}, this.getColumnWidth(columnWidth)) }, isSlotUsed(this.el, `${cellSlotName}-action-element`) ? (hAsync("div", { class: "cell-grid-wrapper" }, CellContent, hAsync("span", { class: "action-element" }, hAsync("slot", { name: `${cellSlotName}-action-element` })))) : (CellContent)));
|
7322
7486
|
});
|
7323
7487
|
};
|
7324
7488
|
this.createColumnHeaders = () => (this.columns || []).map(({ cellAlignment, colspan, icon, key, title, columnWidth, excludeColumnFromSort, hidden, }, index) => hidden !== true && (hAsync("th", { scope: "col", class: {
|
@@ -7336,9 +7500,7 @@ class DataTable {
|
|
7336
7500
|
} }, title))) : (hAsync("ic-typography", { variant: "body", class: {
|
7337
7501
|
["column-header-text"]: true,
|
7338
7502
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
7339
|
-
} }, title)), this.sortable && !excludeColumnFromSort && (hAsync("ic-button", { variant: "icon-tertiary", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
|
7340
|
-
// eslint-disable-next-line react/jsx-no-bind
|
7341
|
-
onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
|
7503
|
+
} }, title)), this.sortable && !excludeColumnFromSort && (hAsync("ic-button", { variant: "icon-tertiary", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key), onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
|
7342
7504
|
? this.sortedColumnOrder
|
7343
7505
|
: "unsorted"], class: {
|
7344
7506
|
["sort-button"]: true,
|
@@ -8009,22 +8171,22 @@ class DataTable {
|
|
8009
8171
|
? "deselect all"
|
8010
8172
|
: "select all remaining"
|
8011
8173
|
: "select all";
|
8012
|
-
return (hAsync(Host, { key: '
|
8174
|
+
return (hAsync(Host, { key: 'bcb83a93fd9734b2ddb501c75a0bd7267f22b45c', style: Object.assign({}, this.setTableDimensions()), class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '2aeadd74b7a8e5acf93ea72ce77c7a0ad520d95b', class: "table-container" }, isSlotUsed(this.el, "title-bar") && hAsync("slot", { key: '359c51f2db8d1ef0f4ba4da77acc334cb82f0ff1', name: "title-bar" }), hAsync("div", { key: 'ad28fdb967fe02e2d3b31e9e73787655f9b5bf5c', class: {
|
8013
8175
|
["table-row-container"]: true,
|
8014
8176
|
scrollable,
|
8015
|
-
}, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, hAsync("table", { key: '
|
8177
|
+
}, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, hAsync("table", { key: 'ed247db011e9783c6d56a03afe480fe5f4f2b6d0', style: {
|
8016
8178
|
"--table-layout": tableLayout,
|
8017
|
-
} }, hAsync("caption", { key: '
|
8179
|
+
} }, hAsync("caption", { key: '52bd7f8ae17ba373dceba49f7ee628780c825c71', class: "table-caption" }, caption), !hideColumnHeaders && (hAsync("thead", { key: '04d0c0199793ac830c9cc24fca64c999a287b690', class: {
|
8018
8180
|
["column-header-sticky"]: stickyColumnHeaders,
|
8019
8181
|
["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
|
8020
|
-
} }, hAsync("tr", { key: '
|
8182
|
+
} }, hAsync("tr", { key: '5ff4686d2053f702a4d8217986d94d7a45596402' }, rowSelection && data && (hAsync("th", { key: 'b03c33ef7d27c1be4b9cff06eecfd85f280fb379', class: {
|
8021
8183
|
"column-header": true,
|
8022
8184
|
"checkbox-cell": true,
|
8023
8185
|
"updating-state-headers": updating && !loading,
|
8024
8186
|
[`table-density-${density}`]: this.notDefaultDensity(),
|
8025
|
-
} }, hAsync("div", { key: '
|
8187
|
+
} }, hAsync("div", { key: '5c114f3e53652b8b700b2fad7365976f87b7b6c2', class: "checkbox-wrapper" }, hAsync("ic-checkbox", { key: '349c87540675235321324f16157deedbd3221e45', class: "ic-data-table-checkbox", checked: rowsSelected && allRowsSelected, disabled: updating || loading, hideLabel: true, indeterminate: rowsSelected && !allRowsSelected, label: `${caption} ${headerCheckboxLabelState} rows`, nativeIndeterminateBehaviour: true, onIcCheck: () => selectAllRows(), size: density === "dense" ? "small" : "medium", value: caption })))), createColumnHeaders()))), updating &&
|
8026
8188
|
!loading &&
|
8027
|
-
(hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), this.renderEmptyState(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), hAsync("div", { key: '
|
8189
|
+
(hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), this.renderEmptyState(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), hAsync("div", { key: '913a847423633138a6f2ed004499c82863ae9b90', "aria-live": "assertive", class: "sr-only" }, this.renderAriaLiveLoading()), this.renderLoadingIndicator(loading, loadingOptions), (showPagination || isSlotUsed(this.el, "pagination-bar")) && (hAsync("div", { key: '3998139318125dd0767c2ec0faf5e3059335aa40', class: "pagination-container" }, isSlotUsed(this.el, "pagination-bar") ? (hAsync("slot", { name: "pagination-bar" })) : (hAsync("ic-pagination-bar", { alignment: paginationBarOptions.alignment, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage, hideRangeLabel: paginationBarOptions.hideRangeLabel, itemLabel: paginationBarOptions.itemLabel, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, monochrome: paginationBarOptions.monochrome, pageLabel: paginationBarOptions.pageLabel, rangeLabelType: paginationBarOptions.rangeLabelType, selectedItemsPerPage: paginationBarOptions.selectedItemsPerPage, selectItemsPerPageOnEnter: paginationBarOptions.selectItemsPerPageOnEnter, setToFirstPageOnPaginationChange: paginationBarOptions.setToFirstPageOnPaginationChange, showGoToPageControl: paginationBarOptions.showGoToPageControl, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, theme: theme, totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type })))), sortable && (hAsync("div", { key: '97605941ae5d70267886542504d34751695ea57f', class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
|
8028
8190
|
? `${((_b = columns.find((col) => col.key === sortedColumn)) === null || _b === void 0 ? void 0 : _b.title) ||
|
8029
8191
|
sortedColumn} sorted ${sortedColumnOrder}`
|
8030
8192
|
: "table unsorted")))));
|
@@ -8213,19 +8375,15 @@ const getWeekStart = (date, startDay) => {
|
|
8213
8375
|
tmpDate.setDate(tmpDate.getDate() - diff);
|
8214
8376
|
return tmpDate;
|
8215
8377
|
};
|
8216
|
-
const getWeekEnd = (date, startDay) => {
|
8217
|
-
const d = new Date(date);
|
8218
|
-
const day = d.getDay();
|
8219
|
-
const diff = (day < startDay ? -7 : 0) + 6 - (day - startDay);
|
8220
|
-
d.setDate(d.getDate() + diff);
|
8221
|
-
return d;
|
8222
|
-
};
|
8223
8378
|
const getMonthStart = (date) => {
|
8224
8379
|
return new Date(date.getFullYear(), date.getMonth(), 1);
|
8225
8380
|
};
|
8226
8381
|
const getMonthEnd = (date) => {
|
8227
8382
|
return new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
8228
8383
|
};
|
8384
|
+
const addSixWeeks = (start) => {
|
8385
|
+
return new Date(new Date(start).setDate(start.getDate() + 41));
|
8386
|
+
};
|
8229
8387
|
/**
|
8230
8388
|
* Compare if two dates are equal exactly equal
|
8231
8389
|
*/
|
@@ -8263,7 +8421,7 @@ var Calendar = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" v
|
|
8263
8421
|
const icDateInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-date-input-bg);--ic-input-label-text-color:var(--ic-date-input-label);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle);--border-color:var(--ic-date-input-border);--border-color-disabled:var(--ic-date-input-border-disabled);--border-color-hover:var(--ic-date-input-border-default-hover);--border-color-pressed:var(--ic-date-input-border-default-pressed);--border-error-color:var(--ic-date-input-border-error);--border-error-color-hover:var(--ic-date-input-border-error-hover);--border-error-color-pressed:var(--ic-date-input-border-error-pressed);--border-success-color:var(--ic-date-input-border-success);--border-success-color-hover:var(--ic-date-input-border-success-hover);--border-success-color-pressed:var(--ic-date-input-border-success-pressed);--border-warning-color:var(--ic-date-input-border-warning);--border-warning-color-hover:var(--ic-date-input-border-warning-hover);--border-warning-color-pressed:var(--ic-date-input-border-warning-pressed)}:host(.ic-date-input-disabled){--ic-input-label-text-color:var(--ic-date-input-label-disabled);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle-disabled)}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-date-input-text-filled);caret-color:var(--ic-date-input-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-date-input-text-filled) !important}input::-moz-placeholder{color:var(--ic-date-input-text-placeholder)}input::placeholder{color:var(--ic-date-input-text-placeholder)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.date-inputs{color:var(--ic-date-input-text-placeholder)}.day-input{width:1.438rem}.month-input{width:1.813rem}.year-input,.year-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-calendar-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.calendar-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.calendar-button:focus,.clear-button:active,.calendar-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.calendar-button:focus,.calendar-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.calendar-button:focus,.clear-button:active *,.calendar-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-date-input-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-date-input-status-text);--ic-input-validation-error:var(--ic-date-input-icon-error);--ic-input-validation-warning-icon-color:var(--ic-date-input-icon-warning);--ic-input-validation-success-icon-color:var(--ic-date-input-icon-success)}";
|
8264
8422
|
var IcDateInputStyle0 = icDateInputCss;
|
8265
8423
|
|
8266
|
-
let inputIds$
|
8424
|
+
let inputIds$5 = 0;
|
8267
8425
|
/**
|
8268
8426
|
* @slot helper-text - Content is set as the helper text for the date input.
|
8269
8427
|
*/
|
@@ -8285,7 +8443,7 @@ class DateInput {
|
|
8285
8443
|
this.inputsInOrder = [];
|
8286
8444
|
this.isAfterMax = false;
|
8287
8445
|
this.isBeforeMin = false;
|
8288
|
-
this.
|
8446
|
+
this.preventInputsUpdating = false;
|
8289
8447
|
this.isDisabledDate = false;
|
8290
8448
|
this.isValidDay = true;
|
8291
8449
|
this.isValidMonth = true;
|
@@ -8298,6 +8456,7 @@ class DateInput {
|
|
8298
8456
|
this.selectedDate = null;
|
8299
8457
|
this.externalSetDate = false;
|
8300
8458
|
this.clearInput = false;
|
8459
|
+
this.calendarIsOpen = false;
|
8301
8460
|
this.calendarFocused = false;
|
8302
8461
|
this.clearButtonFocused = false;
|
8303
8462
|
this.removeLabelledBy = false;
|
@@ -8351,7 +8510,7 @@ class DateInput {
|
|
8351
8510
|
/**
|
8352
8511
|
* The ID for the input.
|
8353
8512
|
*/
|
8354
|
-
this.inputId = `ic-date-input-${inputIds$
|
8513
|
+
this.inputId = `ic-date-input-${inputIds$5++}`;
|
8355
8514
|
/**
|
8356
8515
|
* The text to display as the validation message when an invalid date is entered.
|
8357
8516
|
*/
|
@@ -8505,7 +8664,6 @@ class DateInput {
|
|
8505
8664
|
this.setPreventInput(input, true);
|
8506
8665
|
}
|
8507
8666
|
else {
|
8508
|
-
this.setInputValue(input, true);
|
8509
8667
|
this.setPreventInput(input, false);
|
8510
8668
|
}
|
8511
8669
|
}
|
@@ -8554,7 +8712,7 @@ class DateInput {
|
|
8554
8712
|
break;
|
8555
8713
|
}
|
8556
8714
|
this.preventInput(event, isInputPrevented);
|
8557
|
-
this.
|
8715
|
+
this.preventInputsUpdating = true;
|
8558
8716
|
};
|
8559
8717
|
this.handleFocus = (event) => {
|
8560
8718
|
// Highlight / select all characters in input for easy replacement
|
@@ -8666,7 +8824,7 @@ class DateInput {
|
|
8666
8824
|
this.selectedDateInfoEl.textContent = "";
|
8667
8825
|
}
|
8668
8826
|
this.previousSelectedDate = this.selectedDate;
|
8669
|
-
if (!this.
|
8827
|
+
if (!this.preventInputsUpdating) {
|
8670
8828
|
this.updateInputValues(this.day, this.month, this.year);
|
8671
8829
|
}
|
8672
8830
|
}
|
@@ -9105,7 +9263,7 @@ class DateInput {
|
|
9105
9263
|
this.setPreventInput(input, false);
|
9106
9264
|
});
|
9107
9265
|
this.clearInput = false;
|
9108
|
-
this.
|
9266
|
+
this.preventInputsUpdating = false;
|
9109
9267
|
this.setValidationMessage();
|
9110
9268
|
this.handleDateChange(true);
|
9111
9269
|
this.inputsInOrder[0].focus();
|
@@ -9116,7 +9274,8 @@ class DateInput {
|
|
9116
9274
|
(_c = (_b = (_a = this.calendarButtonEl) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("ic-tooltip")) === null || _c === void 0 ? void 0 : _c.displayTooltip(false);
|
9117
9275
|
this.calendarButtonClicked.emit({ value: this.selectedDate });
|
9118
9276
|
(_f = (_e = (_d = this.calendarButtonEl) === null || _d === void 0 ? void 0 : _d.shadowRoot) === null || _e === void 0 ? void 0 : _e.querySelector("ic-tooltip")) === null || _f === void 0 ? void 0 : _f.displayTooltip(false);
|
9119
|
-
this.
|
9277
|
+
this.preventInputsUpdating = false;
|
9278
|
+
this.calendarIsOpen = true;
|
9120
9279
|
};
|
9121
9280
|
this.setValueAndEmitChange = (value) => {
|
9122
9281
|
if (!dateMatches(this.value ? new Date(this.value) : null, value)) {
|
@@ -9126,17 +9285,28 @@ class DateInput {
|
|
9126
9285
|
};
|
9127
9286
|
this.handleCalendarFocus = () => {
|
9128
9287
|
this.calendarFocused = true;
|
9288
|
+
if (this.calendarIsOpen) {
|
9289
|
+
// focus event triggered by closing calendar dialog so inputs should update
|
9290
|
+
this.preventInputsUpdating = false;
|
9291
|
+
this.calendarIsOpen = false;
|
9292
|
+
}
|
9293
|
+
else {
|
9294
|
+
this.preventInputsUpdating = true;
|
9295
|
+
}
|
9129
9296
|
};
|
9130
9297
|
this.handleCalendarBlur = () => {
|
9131
9298
|
this.calendarFocused = false;
|
9299
|
+
this.preventInputsUpdating = true;
|
9132
9300
|
};
|
9133
9301
|
this.handleClearFocus = () => {
|
9134
9302
|
this.removeLabelledBy = true;
|
9303
|
+
this.preventInputsUpdating = true;
|
9135
9304
|
this.clearButtonFocused = true;
|
9136
9305
|
};
|
9137
9306
|
this.handleClearBlur = (ev) => {
|
9138
9307
|
var _a;
|
9139
9308
|
this.clearButtonFocused = false;
|
9309
|
+
this.preventInputsUpdating = true;
|
9140
9310
|
if ((_a = ev.relatedTarget) === null || _a === void 0 ? void 0 : _a.id.match(/(day|year)-input$/)) {
|
9141
9311
|
this.removeLabelledBy = false;
|
9142
9312
|
return;
|
@@ -9260,11 +9430,11 @@ class DateInput {
|
|
9260
9430
|
componentWillUpdate() {
|
9261
9431
|
if (isEmptyString(this.helperText))
|
9262
9432
|
this.helperText = this.defaultHelperText;
|
9263
|
-
if (!this.
|
9433
|
+
if (!this.preventInputsUpdating)
|
9264
9434
|
this.setDate(this.value);
|
9265
9435
|
this.setAriaInvalid(this.isValidDay, this.isValidMonth, this.isValidDate, this.isDisabledDate);
|
9266
9436
|
this.handleDateChange(false);
|
9267
|
-
this.
|
9437
|
+
this.preventInputsUpdating = false;
|
9268
9438
|
}
|
9269
9439
|
componentDidRender() {
|
9270
9440
|
if (this.removeLabelledBy) {
|
@@ -9394,7 +9564,7 @@ class DateInput {
|
|
9394
9564
|
this.invalidDateText = (_a = this.previousInvalidDateTest) !== null && _a !== void 0 ? _a : "";
|
9395
9565
|
this.isPasteValidationDisplayed = false;
|
9396
9566
|
// This is to prevent setDate from triggering within componentWillUpdate
|
9397
|
-
this.
|
9567
|
+
this.preventInputsUpdating = true;
|
9398
9568
|
}
|
9399
9569
|
}
|
9400
9570
|
notifyScreenReader(input, event) {
|
@@ -9419,15 +9589,15 @@ class DateInput {
|
|
9419
9589
|
: "";
|
9420
9590
|
const assistiveHint = `Type or use the up and down arrow keys to change the values for the ${this.getDescOfInputsOrder()}.`;
|
9421
9591
|
renderHiddenInput(true, this.el, this.name, this.convertToDate(this.year, this.month, this.day), this.disabled);
|
9422
|
-
return (hAsync(Host, { key: '
|
9592
|
+
return (hAsync(Host, { key: '767560eabf5c5242cf11ead943b6e07cff501305', class: {
|
9423
9593
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
9424
9594
|
[`ic-date-input-disabled`]: disabled,
|
9425
|
-
}, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: '
|
9595
|
+
}, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: 'cd37bd9a48a9f578cdf5b3f5a03bba04e4a502d5', disabled: disabled }, !(hideLabel && hideHelperText) && (hAsync("ic-input-label", { key: '0bdb602306aa1177106759da5f977f36869a51e1', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, hAsync("slot", { key: '3eba48de2044efaaba63c31474597c88906cf0e7', name: "helper-text", slot: "helper-text" }))), hAsync("span", { key: '4395cbcc455b0535a1dc51a17d43d2056894558c', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), hAsync("span", { key: '2832552e06bf18c157e4b89240603c66e97d2bd7', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), hAsync("span", { key: '96ea3a7bb98dec9d217c9abfde2fffe29fd8b10b', id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("ic-input-component-container", { key: '239191d8b0d2f732fab91303a283d4592a6a8cbc', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: 'b11b5d3a989391a0960b29ca54e78f9de1e41f97', class: "input-container" }, hAsync("div", { key: '2e4106d33ee3b1ef5cf89cb61ac38f15c792a601', class: "date-inputs" }, this.getInputsInOrder()[0], "/", this.getInputsInOrder()[1], "/", this.getInputsInOrder()[2]), hAsync("div", { key: '8da9c7b8ca40a1bba9a714de24ae33e540ed91d0', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: '2a7a675746e26ffdd4a6d43f4fdd268b9425f81f', id: "clear-button", "aria-label": "Clear input", class: {
|
9426
9596
|
["clear-button"]: true,
|
9427
9597
|
["hidden"]: isEmptyString(this.day) &&
|
9428
9598
|
isEmptyString(this.month) &&
|
9429
9599
|
isEmptyString(this.year),
|
9430
|
-
}, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showCalendarButton && (hAsync("div", { key: '
|
9600
|
+
}, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showCalendarButton && (hAsync("div", { key: '1a402f80e4ebfdb1e323b159dc2f93e412f84ff2', class: "show-calendar-button-wrapper" }, hAsync("div", { key: '1a93e892a8808109e93eb94ecee6639f930e78ac', class: { divider: true, [size]: true } }), hAsync("ic-button", { key: '0a4a5c7d2fd886be631ad052d02175c05900a814', id: "calendar-button", ref: (el) => (this.calendarButtonEl = el), "aria-label": "Display calendar", "aria-haspopup": "dialog", class: "calendar-button", disabled: this.disabled, innerHTML: Calendar, onClick: this.handleCalendarOpen, variant: "icon-tertiary", size: size, onFocus: this.handleCalendarFocus, onBlur: this.handleCalendarBlur, theme: this.calendarFocused ? "light" : "dark" })))))), hAsync("span", { key: 'c3db6318bf5b2759c708d07d0b5e446d35702f38', id: this.selectedDateInfoId, class: "sr-only", "aria-live": "polite" }, hAsync("span", { key: '6a682bf4c118014e15709e3d7099f9346a41d1a5', ref: (el) => (this.selectedDateInfoEl = el), role: "status" })), (hasCustomValidation || !isEmptyString(this.invalidDateText)) && (hAsync("ic-input-validation", { key: '90d5948c97133f9c1028016a20bc8b09542de88c', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidDateText, for: inputId })))));
|
9431
9601
|
}
|
9432
9602
|
static get delegatesFocus() { return true; }
|
9433
9603
|
get el() { return getElement(this); }
|
@@ -9605,7 +9775,7 @@ const YearPicker = ({ decadeView, size, focussedYear, yearInView, onSelectYear,
|
|
9605
9775
|
hAsync("path", { d: "M11.3333 5.33341H3.21996L6.94663 1.60675L5.99996 0.666748L0.666626 6.00008L5.99996 11.3334L6.93996 10.3934L3.21996 6.66675H11.3333V5.33341Z", fill: "currentColor" }))))));
|
9606
9776
|
};
|
9607
9777
|
|
9608
|
-
const icDatePickerCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative;--month-year-picker-button-width:5rem;--month-button-width:5.5rem;--input-field-width:var(--input-width, 19.125rem);--ic-input-label-helpertext-padding:var(--ic-space-xxs)}:host(.ic-date-picker-large){--month-button-width:6.3125rem;--input-field-width:var(--input-width, 21.125rem)}:host(.ic-date-picker-small){--month-button-width:6.25rem;--input-field-width:var(--input-width, 17.125rem)}:host .date-input-container{position:relative}ic-date-input{--input-width:var(--input-field-width)}:host .calendar-container{min-width:19rem;max-width:23.5rem;width:var(--input-width);display:flex;flex-direction:column;gap:var(--ic-space-xs);position:absolute;border:var(--ic-border-default);border-color:var(--ic-date-picker-calendar-border);border-radius:var(--ic-border-radius);align-items:center;background-color:var(--ic-date-picker-calendar-bg);z-index:var(--ic-z-index-date-picker);box-sizing:border-box;box-shadow:var(--ic-date-picker-calendar-elevation);margin-top:var(--ic-space-xxxs);padding:var(--ic-space-xs);animation:fade-in-calendar var(--ic-transition-duration-slow)}:host(.ic-date-picker-small) .calendar-container{min-width:17rem;max-width:21.5rem}:host(.ic-date-picker-large) .calendar-container{min-width:21rem;max-width:25.5rem}:host .calendar-container.above{bottom:calc(var(--ic-space-xxl) - var(--ic-space-xxs))}:host .month-year-nav-container{display:flex;justify-content:space-between;align-items:center;align-self:stretch}:host .month-year-nav-container.hidden{display:none}:host .month-year-nav{display:flex;justify-content:space-between;align-items:center;flex:1 0 0}:host .month-picker,:host .year-picker{flex-wrap:wrap;display:inline-flex;align-items:center;width:17.5rem;-moz-column-gap:var(--ic-space-xs);column-gap:var(--ic-space-xs);row-gap:var(--ic-space-xxs)}:host(.ic-date-picker-small) .month-picker,:host(.ic-date-picker-small) .year-picker{width:13.125rem}:host(.ic-date-picker-large) .month-picker,:host(.ic-date-picker-large) .year-picker{width:20rem}:host .month-picker-button,:host .year-picker-button{width:5rem;--min-width:5rem}:host .month-button,:host .year-button{width:var(--month-button-width)}:host .month-button.focussed,:host .year-button.focussed{z-index:1}:host .month-button::part(button),:host .year-button::part(button){min-width:var(--month-button-width)}:host .prev-decade .year-button svg{margin-right:calc(-1 * var(--ic-space-xl));padding-top:var(--ic-space-sm)}:host .prev-decade .year-button::part(button){padding-left:0;padding-right:var(--ic-space-lg)}:host(.ic-date-picker-small) .prev-decade .year-button::part(button){padding-left:0;padding-right:calc(var(--ic-space-lg) + var(--ic-space-xxs))}:host .next-decade .year-button svg{margin-left:calc(-1 * var(--ic-space-xl));padding-top:var(--ic-space-sm)}:host .next-decade .year-button::part(button){padding-right:0;padding-left:var(--ic-space-lg)}:host(.ic-date-picker-small) .next-decade .year-button::part(button),:host(.ic-date-picker-large) .next-decade .year-button::part(button){padding-left:var(--ic-space-xl)}:host .bottom-buttons{padding-top:var(--ic-space-xs);display:flex;justify-content:space-between;align-items:center;align-self:stretch;animation:fade-in-buttons var(--ic-transition-duration-slow)}:host(.ic-date-picker-small) .bottom-buttons{padding-top:var(--ic-space-xxs)}:host .bottom-buttons.no-today{align-items:flex-end;flex-direction:column}:host .bottom-buttons.hidden{display:none}:host .calendar{display:flex;flex-direction:column;align-items:flex-start;width:15.75rem;animation:fade-in-buttons var(--ic-transition-duration-slow)}:host(.ic-date-picker-large) .calendar{width:19.25rem}:host(.ic-date-picker-small) .calendar{padding-bottom:var(--ic-space-xxs);width:14rem}:host .hidden{display:none}:host .weekdays{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:var(--ic-space-xs);align-self:stretch}:host .calendar-days-container{display:flex;flex-wrap:wrap;justify-content:space-between;row-gap:var(--ic-space-xs);padding:var(--ic-space-xxs) 0}:host(.ic-date-picker-small) .calendar-days-container{padding:var(--ic-space-xxxs) 0}:host(.ic-date-picker-large) .calendar-days-container{padding:var(--ic-space-xs) 0}:host .calendar-day-header{display:flex;width:2rem;padding:var(--ic-space-xxs) 0;justify-content:center;align-items:center}:host(.ic-date-picker-small) .calendar-day-header,:host(.ic-date-picker-large) .calendar-day-header{padding:var(--ic-space-xxs)}:host .calendar-day-header ic-typography{--ic-typography-color:var(--ic-date-picker-calendar-label);text-align:center}:host .day-button-container{display:flex;justify-content:center;align-items:center;width:2.25rem;height:2.25rem}:host(.ic-date-picker-small) .day-button-container{width:2rem;height:2rem}:host(.ic-date-picker-large) .day-button-container{width:2.5rem;height:2.5rem}:host .day-button{display:flex;position:relative;justify-content:center;align-items:center;border:0;border-radius:2rem;background-color:var(--ic-date-picker-calendar-bg);width:2rem;height:2rem;cursor:pointer;transition:var(--ic-easing-transition-fast);z-index:0}:host .day-button.disabled{cursor:default}:host(.ic-date-picker-large) .day-button{width:2.25rem;height:2.25rem}:host(.ic-date-picker-small) .day-button{width:1.75rem;height:1.75rem}:host .day-button ic-typography{width:1.75rem;--ic-typography-color:var(--ic-date-picker-date-label-default)}:host .day-button.outside-range ic-typography{--ic-typography-color:var(--ic-date-picker-date-label-disabled)}:host .day-button.outside-month ic-typography{font-weight:var(--ic-font-weight-regular) !important}:host .day-button.outside-month:not(.outside-range):not(.selected) ic-typography{--ic-typography-color:var(--ic-date-picker-date-label-default)}:host .day-button:hover:not(.disabled){background-color:var(--ic-date-picker-date-default-bg-hover)}:host .day-button:active:not(.disabled){background-color:var(--ic-date-picker-date-default-bg-pressed)}@media (prefers-reduced-motion: no-preference){:host .day-button:hover:not(.disabled):not(.focussed),:host .day-button:active:not(.disabled):not(.focussed){transition:background-color var(--ic-transition-duration-slow) ease-in-out}}:host .day-button.selected:not(.hidden){background-color:var(--ic-date-picker-date-active-bg-default)}:host .day-button.selected ic-typography{--ic-typography-color:var(--ic-date-picker-date-label-selected)}:host .day-button.selected:not(.hidden):hover{background-color:var(--ic-date-picker-date-active-bg-hover)}:host .day-button.selected:not(.hidden):active{background-color:var(--ic-date-picker-date-active-bg-pressed)}:host .day-button.focussed{z-index:1}:host .day-button:focus{outline:none}:host .day-button.focussed:focus{box-shadow:var(--ic-border-focus)}:host .day-button.today:not(.hidden)::after{content:\"\";position:absolute;width:0.875rem;height:0.125rem;bottom:0.4rem;border-radius:var(--ic-border-radius);background-color:var(--ic-date-picker-default-underline)}:host(.ic-date-picker-small) .day-button.today::after{bottom:0.35rem}:host(.ic-date-picker-large) .day-button.today::after{width:1rem}:host .day-button.today.selected::after{background-color:var(--ic-date-picker-selected-underline)}:host #select-month-hint,:host #select-year-hint{display:none}.sr-only{position:absolute;left:-9999px}@media (prefers-reduced-motion: reduce){:host .calendar-container,:host .calendar,:host .bottom-buttons{animation:none}}@keyframes fade-in-buttons{0%{opacity:0}50%{opacity:0}100%{opacity:1}}@keyframes fade-in-calendar{0%{display:flex;max-height:0}100%{display:flex;max-height:600px}}@media (forced-colors: active){:host .day-button.today:not(.hidden)::after{background-color:highlight}:host .day-button.selected:not(.hidden){background-color:highlight}:host .day-button.focussed:focus{border:var(--ic-border-hc)}:host .month-button.selected::part(button),:host .year-button.selected::part(button){background-color:highlight}}";
|
9778
|
+
const icDatePickerCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative;--month-year-picker-button-width:5rem;--month-button-width:5.5rem;--input-field-width:var(--input-width, 19.125rem);--ic-input-label-helpertext-padding:var(--ic-space-xxs)}:host(.ic-date-picker-large){--month-button-width:6.3125rem;--input-field-width:var(--input-width, 21.125rem)}:host(.ic-date-picker-small){--month-button-width:6.25rem;--input-field-width:var(--input-width, 17.125rem)}:host .date-input-container{position:relative}ic-date-input{--input-width:var(--input-field-width)}:host .calendar-container{min-width:19rem;max-width:23.5rem;width:var(--input-width);display:flex;flex-direction:column;gap:var(--ic-space-xs);position:absolute;border:var(--ic-border-default);border-color:var(--ic-date-picker-calendar-border);border-radius:var(--ic-border-radius);align-items:center;background-color:var(--ic-date-picker-calendar-bg);z-index:var(--ic-z-index-date-picker);box-sizing:border-box;box-shadow:var(--ic-date-picker-calendar-elevation);margin-top:var(--ic-space-xxxs);padding:var(--ic-space-xs);animation:fade-in-calendar var(--ic-transition-duration-slow)}:host(.ic-date-picker-small) .calendar-container{min-width:17rem;max-width:21.5rem}:host(.ic-date-picker-large) .calendar-container{min-width:21rem;max-width:25.5rem}:host .calendar-container.above{bottom:calc(var(--ic-space-xxl) - var(--ic-space-xxs))}:host .month-year-nav-container{display:flex;justify-content:space-between;align-items:center;align-self:stretch}:host .month-year-nav-container.hidden{display:none}:host .month-year-nav{display:flex;justify-content:space-between;align-items:center;flex:1 0 0}:host .month-picker,:host .year-picker{flex-wrap:wrap;display:inline-flex;align-items:center;width:17.5rem;-moz-column-gap:var(--ic-space-xs);column-gap:var(--ic-space-xs);row-gap:var(--ic-space-xxs)}:host(.ic-date-picker-small) .month-picker,:host(.ic-date-picker-small) .year-picker{width:13.125rem}:host(.ic-date-picker-large) .month-picker,:host(.ic-date-picker-large) .year-picker{width:20rem}:host .month-picker-button,:host .year-picker-button{width:5rem;--min-width:5rem}:host .month-button,:host .year-button{width:var(--month-button-width)}:host .month-button.focussed,:host .year-button.focussed{z-index:1}:host .month-button::part(button),:host .year-button::part(button){min-width:var(--month-button-width)}:host .prev-decade .year-button svg{margin-right:calc(-1 * var(--ic-space-xl));padding-top:var(--ic-space-sm)}:host .prev-decade .year-button::part(button){padding-left:0;padding-right:var(--ic-space-lg)}:host(.ic-date-picker-small) .prev-decade .year-button::part(button){padding-left:0;padding-right:calc(var(--ic-space-lg) + var(--ic-space-xxs))}:host .next-decade .year-button svg{margin-left:calc(-1 * var(--ic-space-xl));padding-top:var(--ic-space-sm)}:host .next-decade .year-button::part(button){padding-right:0;padding-left:var(--ic-space-lg)}:host(.ic-date-picker-small) .next-decade .year-button::part(button),:host(.ic-date-picker-large) .next-decade .year-button::part(button){padding-left:var(--ic-space-xl)}:host .bottom-buttons{display:flex;justify-content:space-between;align-items:center;align-self:stretch;animation:fade-in-buttons var(--ic-transition-duration-slow)}:host .bottom-buttons.no-today{align-items:flex-end;flex-direction:column}:host .bottom-buttons.hidden{display:none}:host .calendar{display:flex;flex-direction:column;align-items:flex-start;width:15.75rem;animation:fade-in-buttons var(--ic-transition-duration-slow)}:host(.ic-date-picker-large) .calendar{width:19.25rem}:host(.ic-date-picker-small) .calendar{padding-bottom:var(--ic-space-xxs);width:14rem}:host .hidden{display:none}:host .weekdays{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:var(--ic-space-xs);align-self:stretch}:host .calendar-days-container{display:flex;flex-wrap:wrap;justify-content:space-between;row-gap:var(--ic-space-xs);padding:var(--ic-space-xxs) 0;min-height:16rem;align-content:flex-start}:host(.ic-date-picker-small) .calendar-days-container{padding:var(--ic-space-xxxs) 0;min-height:14.5rem}:host(.ic-date-picker-large) .calendar-days-container{padding:var(--ic-space-xs) 0;min-height:17.5rem}:host .calendar-day-header{display:flex;width:2rem;padding:var(--ic-space-xxs) 0;justify-content:center;align-items:center}:host(.ic-date-picker-small) .calendar-day-header,:host(.ic-date-picker-large) .calendar-day-header{padding:var(--ic-space-xxs)}:host .calendar-day-header ic-typography{--ic-typography-color:var(--ic-date-picker-calendar-label);text-align:center}:host .day-button-container{display:flex;justify-content:center;align-items:center;width:2.25rem;height:2.25rem}:host(.ic-date-picker-small) .day-button-container{width:2rem;height:2rem}:host(.ic-date-picker-large) .day-button-container{width:2.5rem;height:2.5rem}:host .day-button{display:flex;position:relative;justify-content:center;align-items:center;border:0;border-radius:2rem;background-color:var(--ic-date-picker-calendar-bg);width:2rem;height:2rem;cursor:pointer;transition:var(--ic-easing-transition-fast);z-index:0}:host .day-button.disabled{cursor:default}:host(.ic-date-picker-large) .day-button{width:2.25rem;height:2.25rem}:host(.ic-date-picker-small) .day-button{width:1.75rem;height:1.75rem}:host .day-button ic-typography{width:1.75rem;--ic-typography-color:var(--ic-date-picker-date-label-default)}:host .day-button.outside-range ic-typography{--ic-typography-color:var(--ic-date-picker-date-label-disabled)}:host .day-button.outside-month ic-typography{font-weight:var(--ic-font-weight-regular) !important}:host .day-button.outside-month:not(.outside-range):not(.selected) ic-typography{--ic-typography-color:var(--ic-date-picker-date-label-default)}:host .day-button:hover:not(.disabled){background-color:var(--ic-date-picker-date-default-bg-hover)}:host .day-button:active:not(.disabled){background-color:var(--ic-date-picker-date-default-bg-pressed)}@media (prefers-reduced-motion: no-preference){:host .day-button:hover:not(.disabled):not(.focussed),:host .day-button:active:not(.disabled):not(.focussed){transition:background-color var(--ic-transition-duration-slow) ease-in-out}}:host .day-button.selected:not(.hidden){background-color:var(--ic-date-picker-date-active-bg-default)}:host .day-button.selected ic-typography{--ic-typography-color:var(--ic-date-picker-date-label-selected)}:host .day-button.selected:not(.hidden):hover{background-color:var(--ic-date-picker-date-active-bg-hover)}:host .day-button.selected:not(.hidden):active{background-color:var(--ic-date-picker-date-active-bg-pressed)}:host .day-button.focussed{z-index:1}:host .day-button:focus{outline:none}:host .day-button.focussed:focus{box-shadow:var(--ic-border-focus)}:host .day-button.today:not(.hidden)::after{content:\"\";position:absolute;width:0.875rem;height:0.125rem;bottom:0.4rem;border-radius:var(--ic-border-radius);background-color:var(--ic-date-picker-default-underline)}:host(.ic-date-picker-small) .day-button.today::after{bottom:0.35rem}:host(.ic-date-picker-large) .day-button.today::after{width:1rem}:host .day-button.today.selected::after{background-color:var(--ic-date-picker-selected-underline)}:host #select-month-hint,:host #select-year-hint{display:none}.sr-only{position:absolute;left:-9999px}@media (prefers-reduced-motion: reduce){:host .calendar-container,:host .calendar,:host .bottom-buttons{animation:none}}@keyframes fade-in-buttons{0%{opacity:0}50%{opacity:0}100%{opacity:1}}@keyframes fade-in-calendar{0%{display:flex;max-height:0}100%{display:flex;max-height:600px}}@media (forced-colors: active){:host .day-button.today:not(.hidden)::after{background-color:highlight}:host .day-button.selected:not(.hidden){background-color:highlight}:host .day-button.focussed:focus{border:var(--ic-border-hc)}:host .month-button.selected::part(button),:host .year-button.selected::part(button){background-color:highlight}}";
|
9609
9779
|
var IcDatePickerStyle0 = icDatePickerCss;
|
9610
9780
|
|
9611
9781
|
const DEFAULT_DATE_FORMAT = "DD/MM/YYYY";
|
@@ -9990,7 +10160,7 @@ class DatePicker {
|
|
9990
10160
|
this.isYearAllowed = (yr) => yearInRange(yr, this.minDate, this.maxDate);
|
9991
10161
|
this.getMonthView = (date) => {
|
9992
10162
|
const start = getWeekStart(getMonthStart(date), this.startOfWeek);
|
9993
|
-
const end =
|
10163
|
+
const end = addSixWeeks(start);
|
9994
10164
|
const days = [];
|
9995
10165
|
let current = start;
|
9996
10166
|
while (!dateMatches(current, end)) {
|
@@ -10610,33 +10780,33 @@ class DatePicker {
|
|
10610
10780
|
yesterday.setDate(minDate.getDate() - 1);
|
10611
10781
|
minDay = yesterday;
|
10612
10782
|
}
|
10613
|
-
return (hAsync(Host, { key: '
|
10783
|
+
return (hAsync(Host, { key: '9f01e93a809b4c0dd0a702b7716617643140601e', onKeyDown: this.keyDownHandler, class: {
|
10614
10784
|
[`ic-date-picker-${size}`]: true,
|
10615
10785
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
10616
|
-
} }, hAsync("div", { key: '
|
10786
|
+
} }, hAsync("div", { key: '8c4e6a6b965562994667acf2e2f12e79cfb7f026', class: "date-input-container" }, hAsync("ic-date-input", Object.assign({ key: '8baa5a1ba1f5042554dcc53f26945a872e6d62ca', ref: (el) => (this.inputEl = el) }, dateInputProps), hAsync("slot", { key: 'ee77883989839f1e375e82e19a4e68dad539606f', name: "helper-text", slot: "helper-text" }))), calendarOpen && (hAsync("div", { key: 'b6885a1077a70c25cf107be2e97e21bfb3065005' }, hAsync("span", { key: 'e06f399f1b71353f595532fe4d75679c9a30585c', id: "dialog-description", class: "sr-only" }, dialogDescription), hAsync("div", { key: '3b9e98f7360131d40e34072162f5b1b3a62df79b', role: "dialog", "aria-modal": "true", "aria-label": dialogLabel, "aria-describedBy": "dialog-description", class: {
|
10617
10787
|
"calendar-container": true,
|
10618
10788
|
above: this.showPickerAbove,
|
10619
|
-
}, onMouseDown: this.handleCalendarMouseDown, onClick: this.handleCalendarClick }, hAsync("span", { key: '
|
10789
|
+
}, onMouseDown: this.handleCalendarMouseDown, onClick: this.handleCalendarClick }, hAsync("span", { key: '8b9d2af7ec25c7f4390b6367ba61d1cc4edc6862', ref: (el) => (this.liveRegionEl = el), id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("div", { key: '8de6382adeab06868cc3679812c9dc7003a0dc38', class: {
|
10620
10790
|
"month-year-nav-container": true,
|
10621
|
-
} }, hAsync("div", { key: '
|
10791
|
+
} }, hAsync("div", { key: '595f1d3b587316a0a8a9401759802794379bb01a', class: "month-year-nav" }, this.previousMonthButton(), hAsync("span", { key: 'db4136ca3865227558dce4bf7d53ff9ed745be56', id: "select-month-hint", "aria-hidden": "true" }, monthButtonText), hAsync("ic-button", { key: '58856c4d545e0c925ff484f0268bb15c2359cb43', ref: (el) => (this.monthButtonEl = el), size: size, class: "month-picker-button", "aria-haspopup": "menu", "aria-expanded": monthPickerVisible ? "true" : "false", "full-width": "true", variant: "tertiary", "aria-label": monthLabel, "aria-describedby": "select-month-hint", onKeyDown: this.monthButtonKeyDownHandler, onClick: this.monthButtonClickHandler }, monthNames[monthInView]), this.nextMonthButton()), hAsync("div", { key: 'd43213b8bf2c1850d3b2edc7abac54b9a601e862', class: "month-year-nav" }, this.previousYearButton(), hAsync("span", { key: 'ba3bd8c4eed337839606019aff6f7a03c5c35b3a', id: "select-year-hint", "aria-hidden": "true" }, yearButtonText), hAsync("ic-button", { key: '15c6ec0144f58dc3c76360f7ccfa28000c36af77', ref: (el) => (this.yearButtonEl = el), size: size, class: "year-picker-button", "aria-haspopup": "menu", "aria-expanded": yearPickerVisible ? "true" : "false", "full-width": "true", variant: "tertiary", "aria-label": yearLabel, "aria-describedby": "select-year-hint", onKeyDown: this.yearButtonKeyDownHandler, onClick: this.yearButtonClickHandler }, this.yearInView), this.nextYearButton())), !(monthPickerVisible || yearPickerVisible) && (hAsync("div", { key: '913a72924b2cc1db4b398a1faecfa2cf1bf4be42', class: {
|
10622
10792
|
calendar: true,
|
10623
10793
|
hidden: monthPickerVisible || yearPickerVisible,
|
10624
|
-
}, onKeyDown: this.handleCalendarKeyDown }, hAsync("div", { key: '
|
10794
|
+
}, onKeyDown: this.handleCalendarKeyDown }, hAsync("div", { key: '5f9784f58378b05de6e52a2763acab163ab6e3e5', class: "weekdays", "aria-hidden": "true" }, orderedDaysOfWeek.map((dayName) => {
|
10625
10795
|
const header = size === "small" ? dayName.charAt(0) : dayName;
|
10626
10796
|
return (hAsync("div", { class: "calendar-day-header" }, hAsync("ic-typography", { variant: "caption" }, header)));
|
10627
|
-
})), hAsync("div", { key: '
|
10797
|
+
})), hAsync("div", { key: '1c1cfe77f48e7b50e6a014db13a597b924baab06', class: "calendar-days-container" }, this.currMonthView.map((day) => {
|
10628
10798
|
var _a;
|
10629
10799
|
return (hAsync(DayButton, { day: day, disableDay: (_a = this.disableDays) === null || _a === void 0 ? void 0 : _a.includes(Number(day.getDay())), today: dateMatches(day, this.today), selected: dateMatches(day, this.selectedDate), focussed: dateMatches(day, this.focussedDate), inRange: dateInRange(day, minDay, maxDate), monthInView: monthInView, onSelectDay: this.handleSelectDay, focussedDayRef: this.setFocussedDayEl, onFocusDay: this.onDayButtonFocusHandler, onBlurDay: this.onDayButtonBlurHandler, showDaysOutsideMonth: this.showDaysOutsideMonth }));
|
10630
|
-
})))), hAsync("div", { key: '
|
10800
|
+
})))), hAsync("div", { key: '8b064369e1271b56085a85e0c00822ff7232d6e8', class: {
|
10631
10801
|
"month-picker-container": true,
|
10632
10802
|
hidden: !monthPickerVisible,
|
10633
|
-
} }, monthPickerVisible && (hAsync(MonthPicker, { key: '
|
10803
|
+
} }, monthPickerVisible && (hAsync(MonthPicker, { key: 'cdd9f6ccb301355eb31a1607413396f44b828ca9', size: size, onSelectMonth: this.handleSelectMonth, monthInView: monthInView, focussedMonth: focussedMonth, onKeyDown: this.monthPickerKeyDownHandler, focussedMonthRef: this.setFocussedMonthEl, minDate: minDate, maxDate: maxDate, yearInView: yearInView }))), hAsync("div", { key: 'a629d2297686220a678d2ba7870fcc386b735c84', class: {
|
10634
10804
|
"year-picker-container": true,
|
10635
10805
|
hidden: !yearPickerVisible,
|
10636
|
-
} }, yearPickerVisible && (hAsync(YearPicker, { key: '
|
10806
|
+
} }, yearPickerVisible && (hAsync(YearPicker, { key: '113dfbbb61d28495a6aa0ec0c2d2aa6be1c3e881', decadeView: decadeView, size: size, focussedYear: focussedYear, onSelectYear: this.handleSelectYear, onKeyDown: this.yearPickerKeyDownHandler, onFocusYear: this.onYearButtonFocusHandler, onBlurYear: this.onYearButtonBlurHandler, yearInView: yearInView, minDate: minDate, maxDate: maxDate, focussedYearRef: this.setFocussedYearEl }))), hAsync("div", { key: '5a3a56a0fe0af5771e88a5d6573b5b4e2e491d4f', class: {
|
10637
10807
|
"bottom-buttons": true,
|
10638
10808
|
"no-today": !showPickerTodayButton,
|
10639
|
-
} }, showPickerTodayButton && (hAsync("ic-button", { key: '
|
10809
|
+
} }, showPickerTodayButton && (hAsync("ic-button", { key: '67e78d82526a164797c8dfa3c60b4eff27f77193', id: "today-button", variant: "tertiary", ref: (el) => (this.todayButtonEl = el), size: size, "aria-label": "Navigate to current date", onClick: this.todayButtonClickHandler, onKeyDown: this.todayButtonKeyDownHandler, disabled: this.isCurrentMonth() }, "Go to today")), showPickerClearButton && (hAsync("ic-button", { key: 'cd6f21520ba94b85cc078b4478ff3dffaac2bb15', id: "clear-button", "aria-label": "clear selected date", ref: (el) => (this.clearButtonEl = el), variant: "tertiary", size: size, onClick: this.clearButtonClickHandler, onKeyDown: this.clearButtonKeyDownHandler, disabled: this.value === "" ||
|
10640
10810
|
this.value === null ||
|
10641
10811
|
this.value === undefined }, "Clear"))))))));
|
10642
10812
|
}
|
@@ -11058,7 +11228,7 @@ class Dialog {
|
|
11058
11228
|
}
|
11059
11229
|
render() {
|
11060
11230
|
const { dialogRendered, disableHeightConstraint, fadeIn, theme } = this;
|
11061
|
-
return (hAsync(Host, { key: '
|
11231
|
+
return (hAsync(Host, { key: 'ff1c220a6687596221a97f380dd78692d1689ca7', class: {
|
11062
11232
|
"ic-dialog-hidden": !dialogRendered,
|
11063
11233
|
"ic-dialog-fade-in": fadeIn,
|
11064
11234
|
"disable-height-constraint": !!disableHeightConstraint,
|
@@ -11258,11 +11428,11 @@ class EmptyState {
|
|
11258
11428
|
}
|
11259
11429
|
render() {
|
11260
11430
|
const { aligned, body, maxLines, heading, imageSize, subheading, theme } = this;
|
11261
|
-
return (hAsync(Host, { key: '
|
11431
|
+
return (hAsync(Host, { key: '4bb35d1c3476b88cc58e952b1b8785e4425d5339', class: {
|
11262
11432
|
[`ic-empty-state-${aligned}`]: true,
|
11263
11433
|
[`image-${imageSize}`]: isSlotUsed$1(this.el, "image"),
|
11264
11434
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
11265
|
-
} }, isSlotUsed$1(this.el, "image") && hAsync("slot", { key: '
|
11435
|
+
} }, isSlotUsed$1(this.el, "image") && hAsync("slot", { key: '9e87ed9f746d37f57505a75c62b10279b31ef54e', name: "image" }), hAsync("div", { key: '4f94dc11d843660d3fecd976fa71f9c57644c89b' }, hAsync("slot", { key: 'be23c55a8dc832904fbae342890d2a3d2d74ae85', name: "heading" }, hAsync("ic-typography", { key: '52bf3dca695fecff3e5d650bd81db23d09665258', variant: "h4", class: "empty-state-heading" }, heading)), hAsync("slot", { key: '7ed10d78475ac8b9c3f5a084a1294ad1be180f15', name: "subheading" }, hAsync("ic-typography", { key: '5772d056578a64a951178c3c3026b36d4b316496', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), hAsync("slot", { key: '14a8815b51a06521642921f09fa8346483522e84', name: "body" }, hAsync("ic-typography", { key: 'bca780cc2275e81d4e25bae45f5065f6fab3bcd5', maxLines: maxLines, class: "empty-state-body" }, body))), isSlotUsed$1(this.el, "actions") && (hAsync("div", { key: 'd6c0f61a358c1d0c86c4da922ed0504ffdc8228f', class: "action-area" }, hAsync("slot", { key: 'ac150a34e883376bfee43a6edbeb8992c3bc3f96', name: "actions" })))));
|
11266
11436
|
}
|
11267
11437
|
get el() { return getElement(this); }
|
11268
11438
|
static get style() { return IcEmptyStateStyle0; }
|
@@ -11376,7 +11546,7 @@ class Footer {
|
|
11376
11546
|
isSlotUsed$1(el, "caption") ||
|
11377
11547
|
caption ||
|
11378
11548
|
copyright;
|
11379
|
-
return (hAsync(Host, { key: '
|
11549
|
+
return (hAsync(Host, { key: '5e9f3b92157b9ffa5fc6e2dbe8f8a5c6a63a6237', class: {
|
11380
11550
|
["ic-footer"]: true,
|
11381
11551
|
[`ic-footer-${small ? "small" : "sparse"}`]: true,
|
11382
11552
|
[`ic-footer-${groupLinks ? "grouped" : "ungrouped"}`]: true,
|
@@ -11384,10 +11554,10 @@ class Footer {
|
|
11384
11554
|
// Slots will be able to infer their own color
|
11385
11555
|
[`ic-footer-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
11386
11556
|
[`ic-footer-${IcBrandForegroundEnum$1.Light}`]: foregroundColor === IcBrandForegroundEnum$1.Light,
|
11387
|
-
} }, hAsync("footer", { key: '
|
11557
|
+
} }, hAsync("footer", { key: 'cfae5dcdd5a431bba915b83e5ef2ae2347d5bb6d', ref: (el) => (this.footerEl = el) }, (isSlotUsed$1(el, "description") || description) && (hAsync("div", { key: '9f960b8fcae0e3281b177bcfe1adf365657406dc', class: "footer-description" }, hAsync("ic-section-container", { key: '49455d77e8d5e9e8a1199dc0dcc00226291e9adc', aligned: aligned, fullHeight: true }, hAsync("div", { key: 'dab1fa34ca43acd9ff4c354f324c7c426d53c77b', class: "footer-description-inner" }, hAsync("ic-typography", { key: '484158672386c4fed447390ab0d92bfd759a9272', variant: "body" }, hAsync("slot", { key: '4a500553fd0f76a8d4f7ef8410dbd927896561b1', name: "description" }, description)))))), isSlotUsed$1(el, "link") && (hAsync("div", { key: 'ed8613714e2bf4d79cd062f55f2b716d3e0cd304', class: "footer-links" }, groupLinks && small ? (hAsync("div", { class: "footer-links-inner", role: "list" }, hAsync("slot", { name: "link" }))) : (hAsync("ic-section-container", { fullHeight: true, aligned: aligned }, hAsync("div", { class: "footer-links-inner", role: "list" }, hAsync("slot", { name: "link" })))))), showComplianceSection && (hAsync("div", { key: 'c3876f5fa89d39f28e64db1bc0fca90978102a01', class: "footer-compliance" }, hAsync("ic-section-container", { key: '3e169ea49bcd2698b84c58f8105b0915777d8bf3', aligned: aligned, fullHeight: true }, hAsync("div", { key: '9cfaa13eb736d3aa44b15db43221bf28bf4deb57', class: "footer-compliance-inner" }, isSlotUsed$1(el, "logo") && (hAsync("div", { key: '853fdedd70405ebb2e96cec2adc6407e5ed11538', class: "footer-logo" }, hAsync("slot", { key: '4eaaad7a4f17cd51cbdab414cdbadf3096891d38', name: "logo" }))), (isSlotUsed$1(el, "caption") || caption) && (hAsync("div", { key: '44a611218c4ea0f494df1551ecb26a8687d57a95', class: "footer-caption" }, hAsync("ic-typography", { key: 'b970144c7d85b7e05e319233be68cc91ef2d0476', variant: deviceSize <= IC_DEVICE_SIZES$1.M ? "caption" : "body" }, hAsync("slot", { key: '512d173a680ddd65b3583bada7530aa67d3f1f98', name: "caption" }, caption)))), copyright && (hAsync("div", { key: '604ac3c72ae99883f27fdb609202782f6069bfde', class: {
|
11388
11558
|
["footer-copyright"]: true,
|
11389
11559
|
["classification-spacing"]: hasClassificationBanner(),
|
11390
|
-
} }, hAsync("ic-typography", { key: '
|
11560
|
+
} }, hAsync("ic-typography", { key: '144bbc0144a865f8a55a1df5606cea9dfa87b5e8', variant: deviceSize <= IC_DEVICE_SIZES$1.M
|
11391
11561
|
? "caption-uppercase"
|
11392
11562
|
: "label-uppercase" }, "\u00A9 Crown Copyright"))))))))));
|
11393
11563
|
}
|
@@ -11455,12 +11625,12 @@ class FooterLink {
|
|
11455
11625
|
const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
|
11456
11626
|
const { small, grouped } = footerConfig;
|
11457
11627
|
const isLogoLink = !!this.el.closest("div[slot='logo']");
|
11458
|
-
return (hAsync(Host, { key: '
|
11628
|
+
return (hAsync(Host, { key: 'b8797484e397b1a952f2df6f644c985deec5be65', class: {
|
11459
11629
|
"footer-link": true,
|
11460
11630
|
[`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
|
11461
11631
|
[`footer-link-${this.foregroundColor}`]: true,
|
11462
11632
|
"footer-logo-link": isLogoLink,
|
11463
|
-
}, role: "listitem" }, hAsync("ic-link", { key: '
|
11633
|
+
}, role: "listitem" }, hAsync("ic-link", { key: '1cd559f7c768a70d2bc0c92845ad6ae6761b584a', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, hAsync("slot", { key: 'f2104f33d9651f96414a4963b30ea2e6c2414b18' }))));
|
11464
11634
|
}
|
11465
11635
|
static get delegatesFocus() { return true; }
|
11466
11636
|
get el() { return getElement(this); }
|
@@ -11635,18 +11805,18 @@ class Hero {
|
|
11635
11805
|
"background-position": scrollFactor,
|
11636
11806
|
};
|
11637
11807
|
}
|
11638
|
-
return (hAsync(Host, { key: '
|
11808
|
+
return (hAsync(Host, { key: '482bc3a82ab3561d6f88c999ca302006a1d1aa0f', class: {
|
11639
11809
|
[`ic-hero-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
11640
11810
|
["has-background-image"]: backgroundImage !== undefined,
|
11641
11811
|
["has-right-content"]: this.rightContent,
|
11642
11812
|
["ic-hero-small"]: size === "small",
|
11643
11813
|
["secondary-heading"]: !!secondaryHeading,
|
11644
|
-
}, style: style }, hAsync("ic-section-container", { key: '
|
11814
|
+
}, style: style }, hAsync("ic-section-container", { key: '178b06d47614a00c4dabe06841acfebe369f7c0a', aligned: aligned, fullHeight: true, class: "section-container" }, hAsync("div", { key: '3cec4f74434ae64cc7c7df77755c32a54719e08a', class: {
|
11645
11815
|
["left-container"]: true,
|
11646
11816
|
["left-container-full-width"]: this.leftContentFullWidth,
|
11647
|
-
} }, hAsync("div", { key: '
|
11817
|
+
} }, hAsync("div", { key: '8053a5fad4279b04af9bb3ec1f606ec443c70b80', class: "heading" }, hAsync("slot", { key: 'ea0ec581076b555f8cbc03bd26be611e0e002df3', name: "heading" }, hAsync("ic-typography", { key: '93e39803e6d71599ee3831161dee785b0fa6dda7', variant: size === "small" ? "h2" : "h1", class: {
|
11648
11818
|
["heading-bottom-spacing"]: size !== "small",
|
11649
|
-
} }, hAsync("h2", { key: '
|
11819
|
+
} }, hAsync("h2", { key: '6931cd6ef37ca5ab9d01d4ca969130b9daf8d7a5' }, heading)))), hAsync("div", { key: 'a6212993adb3a6f3e4b267825e73cbf02e3129e7', class: "subheading" }, hAsync("slot", { key: '993071f73747a2d880a1b858f4fd6d9fec507002', name: "subheading" }, hAsync("ic-typography", { key: 'e16fd2e61701713aa782b9d128de9187cc81edd3', variant: "body" }, subheading))), hAsync("div", { key: '0ecd487ff2614787759eb35bdc8c6aecb385d795', class: "interaction-container" }, hAsync("slot", { key: '653843aca5d99e5bed6d0343e31c285ca1ad7e6d', name: "interaction" }))), (isPropDefined$1(secondaryHeading) || this.rightContent) && (hAsync("div", { key: 'ce6b3edc98f9f112b0bde6c590e1fbf7d3b75af8', class: "right-container" }, hAsync("slot", { key: '173399d87b56f858542b71da3105d25f639aad87', name: "secondary" }, secondaryHeading && (hAsync("div", { key: 'a2e895801f1611c60baacde029f2c55ce36b60a3', class: "secondary-container" }, hAsync("div", { key: 'aedd5eb54afb5f93a263cf366223257c6074b697', class: "secondary-heading" }, hAsync("ic-typography", { key: '6ec103c17df879c443aa587c09e32bfac942c2e3', variant: "h4" }, hAsync("h3", { key: '37623268a450894886e5ae7fe773a950a120c3cc' }, secondaryHeading))), hAsync("div", { key: '8e0ca17e68cf68c016040827d2999635babd1c9d', class: "secondary-subheading" }, hAsync("ic-typography", { key: '14c59d487b56af4c70a4ec37ab6091262bcc4b69', variant: "subtitle-small" }, secondarySubheading))))))))));
|
11650
11820
|
}
|
11651
11821
|
get el() { return getElement(this); }
|
11652
11822
|
static get style() { return IcHeroStyle0; }
|
@@ -11837,22 +12007,22 @@ class HorizontalScroll {
|
|
11837
12007
|
}
|
11838
12008
|
render() {
|
11839
12009
|
const { firstItemVisible, lastItemVisible, itemOverflow } = this;
|
11840
|
-
return (hAsync(Host, { key: '
|
12010
|
+
return (hAsync(Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', class: {
|
11841
12011
|
["ic-horizontal-scroll-visible"]: itemOverflow,
|
11842
12012
|
["ic-horizontal-scroll-dark"]: this.appearance === IcBrandForegroundEnum$1.Dark,
|
11843
12013
|
["ic-horizontal-scroll-light"]: this.appearance === IcBrandForegroundEnum$1.Light,
|
11844
12014
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
11845
|
-
} }, hAsync("div", { key: '
|
12015
|
+
} }, hAsync("div", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', "aria-hidden": "true", class: {
|
11846
12016
|
["scroll-container-left"]: true,
|
11847
12017
|
["hidden"]: !itemOverflow,
|
11848
12018
|
["disabled"]: firstItemVisible,
|
11849
|
-
}, role: "tab" }, hAsync("ic-button", { key: '
|
12019
|
+
}, role: "tab" }, hAsync("ic-button", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
|
11850
12020
|
? "dark"
|
11851
|
-
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: '
|
12021
|
+
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: 'dffb5fee1c17005205216d0901141317e2dc4aa6', class: "scroll-splitter-left" })), hAsync("slot", { key: 'f637c15f3020e1572a61179c2132dece11d0699a' }), hAsync("div", { key: 'c563d5ca6d07a66f2111bea5aebe7d36ae481770', "aria-hidden": "true", class: {
|
11852
12022
|
["scroll-container-right"]: true,
|
11853
12023
|
["hidden"]: !itemOverflow,
|
11854
12024
|
["disabled"]: lastItemVisible,
|
11855
|
-
}, role: "tab" }, hAsync("span", { key: '
|
12025
|
+
}, role: "tab" }, hAsync("span", { key: 'd8afe9aaf2304d13909815aeb8e60ac4f8952f7f', class: "scroll-splitter-right" }), hAsync("ic-button", { key: '4f3be747e736a50705793742b0a1e9fab44d56db', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
|
11856
12026
|
? "dark"
|
11857
12027
|
: "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
|
11858
12028
|
}
|
@@ -11927,15 +12097,15 @@ class InputComponentContainer {
|
|
11927
12097
|
}
|
11928
12098
|
render() {
|
11929
12099
|
const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
|
11930
|
-
return (hAsync(Host, { key: '
|
12100
|
+
return (hAsync(Host, { key: 'c33ebfd9dd18101fb9161259538e8e0046f77a3d', class: {
|
11931
12101
|
[`ic-input-component-container-${size}`]: true,
|
11932
12102
|
[`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
|
11933
12103
|
"ic-input-component-container-disabled": !!disabled,
|
11934
12104
|
"ic-input-component-container-readonly": !!readonly,
|
11935
12105
|
"ic-input-component-container-multiline": !!multiLine,
|
11936
12106
|
"ic-input-component-container-full-width": !!fullWidth,
|
11937
|
-
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: '
|
11938
|
-
validationStatus === IcInformationStatus$1.Success && (hAsync("span", { key: '
|
12107
|
+
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: 'a70f27a3235ac0edb9d9c5a18983ae3c02de2a48', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (hAsync("div", { key: 'aa0b233280382bd0e95a8ff932bf60a63603b7bf', class: "icon-container" }, hAsync("slot", { key: 'ceb8ec9b420073ac2ecd5d6793ad4342ab9ebbdd', name: "left-icon" }))), hAsync("slot", { key: '1850c6ed04510e678600c653a36e2114f982e561' }), validationInline &&
|
12108
|
+
validationStatus === IcInformationStatus$1.Success && (hAsync("span", { key: '58d228c595577c1cc9a0fe2b10538cc3efff53ab', class: "inline-success", innerHTML: successIcon })))));
|
11939
12109
|
}
|
11940
12110
|
get el() { return getElement(this); }
|
11941
12111
|
static get watchers() { return {
|
@@ -11976,11 +12146,11 @@ class InputContainer {
|
|
11976
12146
|
this.readonly = false;
|
11977
12147
|
}
|
11978
12148
|
render() {
|
11979
|
-
return (hAsync(Host, { key: '
|
12149
|
+
return (hAsync(Host, { key: '32ae22db5e182cc2c092c8f48e61d42a318284a0' }, hAsync("div", { key: 'bae9ef74f7f92004ec99c387a213822315c505ba', class: {
|
11980
12150
|
["component-container"]: true,
|
11981
12151
|
["disabled"]: !!this.disabled,
|
11982
12152
|
["readonly"]: !!this.readonly,
|
11983
|
-
} }, hAsync("slot", { key: '
|
12153
|
+
} }, hAsync("slot", { key: 'acca571eaa0d8f19b0e3379d2592409aacf9dd95' }))));
|
11984
12154
|
}
|
11985
12155
|
static get style() { return IcInputContainerStyle0; }
|
11986
12156
|
static get cmpMeta() { return {
|
@@ -12063,11 +12233,11 @@ class InputLabel {
|
|
12063
12233
|
"helpertext-readonly": readonly,
|
12064
12234
|
};
|
12065
12235
|
const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
|
12066
|
-
return (hAsync(Host, { key: '
|
12236
|
+
return (hAsync(Host, { key: 'da58fe3cac026661d1c624c69c56c6e64ff3c07a', class: {
|
12067
12237
|
"ic-input-label-disabled": !!disabled,
|
12068
12238
|
"ic-input-label-readonly": readonly,
|
12069
12239
|
"with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
|
12070
|
-
} }, !hideLabel && (hAsync("ic-typography", { key: '
|
12240
|
+
} }, !hideLabel && (hAsync("ic-typography", { key: 'bb221e5f51681a0caa721c66f03fd475e4e08749', variant: "label", class: {
|
12071
12241
|
"readonly-label": readonly,
|
12072
12242
|
"error-label": status === "error" && !(readonly || disabled),
|
12073
12243
|
} }, readonly || !useLabelTag ? (`${labelText}`) : (hAsync("label", { htmlFor: this.for }, labelText)))), this.isHelperTextSlotUsed(helperTextSlot) ? (hAsync("span", { id: helperTextId, class: helperTextClass }, hAsync("slot", { name: "helper-text" }))) : (helperText !== "" && (hAsync("ic-typography", { variant: "caption", class: helperTextClass }, hAsync("span", { id: helperTextId }, helperText))))));
|
@@ -12127,13 +12297,13 @@ class InputValidation {
|
|
12127
12297
|
render() {
|
12128
12298
|
const { ariaLiveMode, fullWidth, status, message } = this;
|
12129
12299
|
const displayIcon = status !== "" ? icon[status] : "";
|
12130
|
-
return (hAsync(Host, { key: '
|
12300
|
+
return (hAsync(Host, { key: '149fe6ed6f86bb49ff8179e617542c048da4b80f', class: {
|
12131
12301
|
[`ic-input-validation-${status}`]: status !== "",
|
12132
12302
|
"ic-input-validation-full-width": !!fullWidth,
|
12133
|
-
} }, displayIcon !== "" && (hAsync("span", { key: '
|
12303
|
+
} }, displayIcon !== "" && (hAsync("span", { key: 'e9e0ad999d435642e02a9f9c4abb95840fe13b3f', class: {
|
12134
12304
|
"status-icon": true,
|
12135
12305
|
[`icon-${status}`]: true,
|
12136
|
-
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: '
|
12306
|
+
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: '7494901b17b7bb3c91167e95190c415fd06f03c9', variant: "caption", class: "statustext" }, hAsync("span", { key: '5e7d2d4cdcef0d32d5338f25365bc9831203a9c9', "aria-live": ariaLiveMode, id: this.for && getInputValidationTextID$1(this.for) }, message)), hAsync("slot", { key: '445c0fe4b8effa3b9d98a9b240921e613ef43e24', name: "validation-message-adornment" })));
|
12137
12307
|
}
|
12138
12308
|
get el() { return getElement(this); }
|
12139
12309
|
static get style() { return IcInputValidationStyle0; }
|
@@ -12153,104 +12323,342 @@ class InputValidation {
|
|
12153
12323
|
}; }
|
12154
12324
|
}
|
12155
12325
|
|
12156
|
-
|
12157
|
-
|
12158
|
-
const icLinkCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-link) .link,:host(.ic-link) ::slotted(a){color:var(--ic-link-text);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}:host(.ic-link) .link:visited,:host(.ic-link) ::slotted(a:visited),:host(.ic-link) .link:visited:hover,:host(.ic-link) ::slotted(a:visited:hover),:host(.ic-link) .link:visited:active,:host(.ic-link) ::slotted(a:visited:active),:host(.ic-link) .link:visited:focus,:host(.ic-link) ::slotted(a:visited:focus){color:var(--ic-link-text-visited)}:host(.ic-link) .link:hover{color:var(--ic-link-text-hover)}:host(.ic-link) .link:active{color:var(--ic-link-text-pressed)}:host(.ic-link) .link:focus{color:var(--ic-link-text-focused)}:host(.ic-link-monochrome) .link:hover{color:var(--ic-link-text-hover-monochrome)}:host(.ic-link-monochrome) .link:active{color:var(--ic-link-text-pressed-monochrome)}:host(.ic-link-monochrome) .link:focus{color:var(--ic-link-text-focused-monochrome)}:host(.ic-link) .link:hover,:host(.ic-link) .link:focus,:host(.ic-link) ::slotted(a:hover),:host(.ic-link) ::slotted(a:focus){outline:none;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-underline-offset: 10%){:host(.ic-link) .link:hover,:host(.ic-link) .link:focus,:host(.ic-link) ::slotted(a:hover),:host(.ic-link) ::slotted(a:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:10%;border-bottom:0 !important;margin-bottom:0 !important}}:host(.ic-link) .link:active,:host(.ic-link) .link:focus:active,:host(.ic-link) .link:visited:active,:host(.ic-link) ::slotted(a:active),:host(.ic-link) ::slotted(a:focus:active),:host(.ic-link) ::slotted(a:visited:active){text-decoration:none}.ic-link-open-in-new-icon{vertical-align:middle;margin-left:var(--ic-space-xxs)}.ic-link-open-in-new-icon>svg{width:var(--ic-space-md);height:var(--ic-space-md);fill:var(--ic-link-icon-launch)}.link:visited>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-visited)}:host(.ic-link-monochrome) .link,:host(.ic-link-monochrome) ::slotted(a){color:var(--ic-link-text-monochrome)}:host(.ic-link-monochrome) .link:visited,:host(.ic-link-monochrome) ::slotted(a:visited),:host(.ic-link-monochrome) .link:visited:hover,:host(.ic-link-monochrome) ::slotted(a:visited:hover),:host(.ic-link-monochrome) .link:visited:active,:host(.ic-link-monochrome) ::slotted(a:visited:active),:host(.ic-link-monochrome) .link:visited:focus,:host(.ic-link-monochrome) ::slotted(a:visited:focus){color:var(--ic-link-text-visited-monochrome)}:host(.ic-link-monochrome) .link>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-monochrome)}:host(.ic-link-monochrome) .link:visited>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-visited-monochrome)}:host(.breadcrumb-link) .link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}:host(.breadcrumb-link) .link ::slotted(.back-icon){height:var(--ic-space-lg);width:var(--ic-space-lg)}:host(.breadcrumb-link.current-page) a,:host(.breadcrumb-link.current-page) ::slotted(a){font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}:host(.breadcrumb-link.current-page) .link,:host(.breadcrumb-link.current-page) ::slotted(a:focus){outline:var(--ic-hc-focus-outline);text-decoration:none}:host(.breadcrumb-link.current-page) .link:visited{color:var(--ic-color-text-primary)}:host(.footer-link) ::slotted(a){color:var(--ic-footer-link) !important}:host(.footer-link) .ic-link-open-in-new-icon>svg{fill:var(--ic-footer-icon) !important}@media (forced-colors: active){:host(.ic-link) .ic-link-open-in-new-icon>svg{fill:currentcolor !important}}";
|
12159
|
-
var IcLinkStyle0 = icLinkCss;
|
12326
|
+
const icLayoutGridCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:grid;width:-moz-fit-content;width:fit-content;grid-template-columns:repeat(\n var(--ic-layout-grid-columns),\n var(--ic-layout-grid-col-width, 1fr)\n );grid-template-rows:repeat(var(--ic-layout-grid-rows), 1fr);gap:var(--ic-layout-grid-spacing);padding-top:var(--ic-layout-grid-margin);padding-bottom:var(--ic-layout-grid-margin)}:host ::slotted(*){grid-column:span var(--ic-layout-grid-col-span, 1);grid-row:span var(--ic-layout-grid-row-span, 1)}:host(.ic-layout-grid-aligned-center){margin-left:auto;margin-right:auto;padding-left:var(--ic-layout-grid-margin);padding-right:var(--ic-layout-grid-margin)}:host(.ic-layout-grid-aligned-left){margin-left:var(--ic-layout-grid-margin);margin-right:auto;padding-right:var(--ic-layout-grid-margin)}:host(.ic-layout-grid-aligned-full-width){margin-left:var(--ic-layout-grid-margin);margin-right:var(--ic-layout-grid-margin);width:calc(100% - (var(--ic-layout-grid-margin) * 2))}:host(.ic-layout-grid-no-vertical-padding){padding-top:0;padding-bottom:0}@media only screen and (max-width: 576px){:host{--ic-layout-grid-margin:var(--ic-space-xs);--ic-layout-grid-columns:var(--ic-layout-grid-columns-xs)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-xs)}}@media only screen and (min-width: 577px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-sm)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-sm)}}@media only screen and (min-width: 769px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-md)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-md)}}@media only screen and (min-width: 993px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-lg)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-lg)}}@media only screen and (min-width: 1201px){:host{--ic-layout-grid-margin:var(--ic-space-lg);--ic-layout-grid-columns:var(--ic-layout-grid-columns-xl)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-xl)}}";
|
12327
|
+
var IcLayoutGridStyle0 = icLayoutGridCss;
|
12160
12328
|
|
12161
|
-
|
12162
|
-
* @slot router-item - Handle routing by nesting your routes in this slot.
|
12163
|
-
*/
|
12164
|
-
class Link {
|
12329
|
+
class LayoutGrid {
|
12165
12330
|
constructor(hostRef) {
|
12166
12331
|
registerInstance(this, hostRef);
|
12167
|
-
this.
|
12168
|
-
this.hostMutationObserver = null;
|
12332
|
+
this.COL_WIDTH_CSS_PROP = "--ic-layout-grid-col-width";
|
12169
12333
|
/**
|
12170
|
-
*
|
12334
|
+
* The alignment of the grid.
|
12171
12335
|
*/
|
12172
|
-
this.
|
12336
|
+
this.aligned = "left";
|
12173
12337
|
/**
|
12174
|
-
*
|
12338
|
+
* The default column span for grid items.
|
12175
12339
|
*/
|
12176
|
-
this.
|
12340
|
+
this.defaultColSpan = 1;
|
12177
12341
|
/**
|
12178
|
-
*
|
12342
|
+
* The default column width for grid items.
|
12343
|
+
* This is used when the grid type is set to "fixed".
|
12179
12344
|
*/
|
12180
|
-
this.
|
12181
|
-
|
12182
|
-
|
12183
|
-
|
12184
|
-
|
12185
|
-
|
12186
|
-
|
12187
|
-
|
12345
|
+
this.defaultColWidth = "64px";
|
12346
|
+
/**
|
12347
|
+
* The default row span for grid items.
|
12348
|
+
*/
|
12349
|
+
this.defaultRowSpan = 1;
|
12350
|
+
/**
|
12351
|
+
* If `true`, the standard vertical padding from the grid will be removed.
|
12352
|
+
*/
|
12353
|
+
this.fullHeight = false;
|
12354
|
+
/**
|
12355
|
+
* The space between grid items, in multiples of the base spacing unit (`var(--ic-space-xs)`).
|
12356
|
+
*/
|
12357
|
+
this.gridSpacing = 2;
|
12358
|
+
/**
|
12359
|
+
* The number of rows in the grid.
|
12360
|
+
*/
|
12361
|
+
this.rows = 1;
|
12362
|
+
/**
|
12363
|
+
* The layout type of the grid.
|
12364
|
+
*/
|
12365
|
+
this.type = "fixed";
|
12366
|
+
this.getColumns = () => {
|
12367
|
+
if (typeof this.columns === "number") {
|
12368
|
+
this.el.style.setProperty("--ic-layout-grid-columns", this.columns.toString());
|
12369
|
+
}
|
12370
|
+
else if (typeof this.columns === "object") {
|
12371
|
+
Object.entries(this.columns).forEach(([breakpoint, value]) => {
|
12372
|
+
if (value !== undefined) {
|
12373
|
+
this.el.style.setProperty(`--ic-layout-grid-columns-${breakpoint}`, value.toString());
|
12188
12374
|
}
|
12189
|
-
}
|
12190
|
-
});
|
12191
|
-
};
|
12192
|
-
this.setDownloadAttribute = (value) => {
|
12193
|
-
if (typeof value === "boolean") {
|
12194
|
-
return value ? "" : undefined;
|
12375
|
+
});
|
12195
12376
|
}
|
12196
|
-
|
12197
|
-
|
12377
|
+
};
|
12378
|
+
this.getColSpan = () => {
|
12379
|
+
if (this.defaultColSpan !== undefined) {
|
12380
|
+
if (typeof this.defaultColSpan === "number") {
|
12381
|
+
Array.from(this.el.children).forEach((child) => {
|
12382
|
+
child.style.setProperty("--ic-layout-grid-col-span", `${this.defaultColSpan}`);
|
12383
|
+
});
|
12384
|
+
}
|
12385
|
+
else if (typeof this.defaultColSpan === "object") {
|
12386
|
+
Object.entries(this.defaultColSpan).forEach(([breakpoint, value]) => {
|
12387
|
+
if (value !== undefined) {
|
12388
|
+
this.el.style.setProperty(`--ic-layout-grid-col-span-${breakpoint}`, value.toString());
|
12389
|
+
}
|
12390
|
+
});
|
12391
|
+
}
|
12198
12392
|
}
|
12199
12393
|
};
|
12394
|
+
this.getGridSpacing = () => {
|
12395
|
+
this.el.style.setProperty("--ic-layout-grid-spacing", `calc(var(--ic-space-xs) * ${this.gridSpacing})`);
|
12396
|
+
};
|
12200
12397
|
}
|
12201
|
-
|
12202
|
-
this.
|
12203
|
-
this.updateTheme();
|
12204
|
-
this.el.setAttribute("exportparts", "link");
|
12398
|
+
watchColumns() {
|
12399
|
+
this.getColumns();
|
12205
12400
|
}
|
12206
|
-
|
12207
|
-
this.
|
12208
|
-
this.hostMutationObserver.observe(this.el, {
|
12209
|
-
attributes: true,
|
12210
|
-
});
|
12401
|
+
watchDefaultColSpan() {
|
12402
|
+
this.getColSpan();
|
12211
12403
|
}
|
12212
|
-
|
12213
|
-
|
12214
|
-
|
12404
|
+
watchDefaultColWidth(newValue) {
|
12405
|
+
if (this.type === "fixed") {
|
12406
|
+
this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, newValue);
|
12407
|
+
}
|
12215
12408
|
}
|
12216
|
-
|
12217
|
-
this.
|
12409
|
+
watchDefaultRowSpan(newValue) {
|
12410
|
+
this.el.style.setProperty("--ic-layout-grid-row-span", `${newValue}`);
|
12218
12411
|
}
|
12219
|
-
|
12220
|
-
|
12221
|
-
*/
|
12222
|
-
async setFocus() {
|
12223
|
-
var _a, _b;
|
12224
|
-
(_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("a")) === null || _b === void 0 ? void 0 : _b.focus();
|
12412
|
+
watchGridSpacing() {
|
12413
|
+
this.getGridSpacing();
|
12225
12414
|
}
|
12226
|
-
|
12227
|
-
|
12228
|
-
|
12229
|
-
|
12230
|
-
|
12231
|
-
|
12232
|
-
|
12233
|
-
|
12415
|
+
watchRows(newValue) {
|
12416
|
+
this.el.style.setProperty("--ic-layout-grid-rows", `${newValue}`);
|
12417
|
+
}
|
12418
|
+
watchType(newValue) {
|
12419
|
+
this.getColumns();
|
12420
|
+
if (newValue === "fixed" && this.defaultColWidth) {
|
12421
|
+
this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, this.defaultColWidth);
|
12422
|
+
}
|
12423
|
+
else {
|
12424
|
+
this.el.style.removeProperty(this.COL_WIDTH_CSS_PROP);
|
12234
12425
|
}
|
12235
12426
|
}
|
12236
|
-
|
12237
|
-
this.
|
12238
|
-
|
12239
|
-
|
12427
|
+
componentWillLoad() {
|
12428
|
+
if (this.columns === undefined) {
|
12429
|
+
if (this.type === "fixed") {
|
12430
|
+
this.columns = 12;
|
12431
|
+
}
|
12432
|
+
else if (this.type === "fluid") {
|
12433
|
+
this.columns = {
|
12434
|
+
xs: 2,
|
12435
|
+
sm: 4,
|
12436
|
+
md: 8,
|
12437
|
+
lg: 12,
|
12438
|
+
xl: 12,
|
12439
|
+
};
|
12440
|
+
}
|
12441
|
+
}
|
12442
|
+
this.getColumns();
|
12443
|
+
this.getColSpan();
|
12444
|
+
this.getGridSpacing();
|
12445
|
+
if (this.type === "fixed" && this.defaultColWidth) {
|
12446
|
+
this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, this.defaultColWidth);
|
12447
|
+
}
|
12448
|
+
if (this.rows) {
|
12449
|
+
this.el.style.setProperty("--ic-layout-grid-rows", `${this.rows}`);
|
12450
|
+
this.el.style.setProperty("--ic-layout-grid-row-span", `${this.defaultRowSpan}`);
|
12240
12451
|
}
|
12241
|
-
return !!this.routerSlot;
|
12242
12452
|
}
|
12243
12453
|
render() {
|
12244
|
-
const {
|
12245
|
-
return (hAsync(Host, { key: '
|
12246
|
-
[
|
12247
|
-
[
|
12248
|
-
|
12249
|
-
} }, this.hasRouterSlot() ? (hAsync("slot", { name: "router-item" })) : (hAsync("a", Object.assign({ class: {
|
12250
|
-
["link"]: !!href,
|
12251
|
-
}, download: this.setDownloadAttribute(download), href: href, hrefLang: hreflang, referrerPolicy: referrerpolicy, rel: rel, target: target, tabindex: href ? "0" : "-1" }, this.inheritedAttributes, { part: "link" }), hAsync("slot", null), target === "_blank" && (hAsync("span", { class: "ic-link-open-in-new-icon", innerHTML: OpenInNew }))))));
|
12454
|
+
const { aligned, fullHeight } = this;
|
12455
|
+
return (hAsync(Host, { key: '95699906353df84f439ec7c7ed628f4ba9c80b4e', class: {
|
12456
|
+
[`ic-layout-grid-aligned-${aligned}`]: true,
|
12457
|
+
["ic-layout-grid-no-vertical-padding"]: !!fullHeight,
|
12458
|
+
} }, hAsync("slot", { key: '5642340495e02e53b2e7248e0f254b32b95b3b3f' })));
|
12252
12459
|
}
|
12253
|
-
|
12460
|
+
get el() { return getElement(this); }
|
12461
|
+
static get watchers() { return {
|
12462
|
+
"columns": ["watchColumns"],
|
12463
|
+
"defaultColSpan": ["watchDefaultColSpan"],
|
12464
|
+
"defaultColWidth": ["watchDefaultColWidth"],
|
12465
|
+
"defaultRowSpan": ["watchDefaultRowSpan"],
|
12466
|
+
"gridSpacing": ["watchGridSpacing"],
|
12467
|
+
"rows": ["watchRows"],
|
12468
|
+
"type": ["watchType"]
|
12469
|
+
}; }
|
12470
|
+
static get style() { return IcLayoutGridStyle0; }
|
12471
|
+
static get cmpMeta() { return {
|
12472
|
+
"$flags$": 9,
|
12473
|
+
"$tagName$": "ic-layout-grid",
|
12474
|
+
"$members$": {
|
12475
|
+
"aligned": [1],
|
12476
|
+
"columns": [2],
|
12477
|
+
"defaultColSpan": [2, "default-col-span"],
|
12478
|
+
"defaultColWidth": [1, "default-col-width"],
|
12479
|
+
"defaultRowSpan": [2, "default-row-span"],
|
12480
|
+
"fullHeight": [4, "full-height"],
|
12481
|
+
"gridSpacing": [2, "grid-spacing"],
|
12482
|
+
"rows": [2],
|
12483
|
+
"type": [1]
|
12484
|
+
},
|
12485
|
+
"$listeners$": undefined,
|
12486
|
+
"$lazyBundleId$": "-",
|
12487
|
+
"$attrsToReflect$": []
|
12488
|
+
}; }
|
12489
|
+
}
|
12490
|
+
|
12491
|
+
const icLayoutGridItemCss = ":host{grid-column:var(--ic-grid-item-col-start, 1) / span\n var(--ic-grid-item-col-span, var(--ic-layout-grid-col-span, 1)) !important;grid-row:var(--ic-grid-item-row-start, 1) / span\n var(--ic-grid-item-row-span, var(--ic-layout-grid-row-span, 1)) !important}@media only screen and (max-width: 576px){:host(.ic-layout-grid-hide-in-mobile){display:none}}";
|
12492
|
+
var IcLayoutGridItemStyle0 = icLayoutGridItemCss;
|
12493
|
+
|
12494
|
+
class LayoutGridItem {
|
12495
|
+
constructor(hostRef) {
|
12496
|
+
registerInstance(this, hostRef);
|
12497
|
+
/**
|
12498
|
+
* The number of columns the grid item should span.
|
12499
|
+
*/
|
12500
|
+
this.colSpan = 1;
|
12501
|
+
/**
|
12502
|
+
* The column the grid item should start at.
|
12503
|
+
*/
|
12504
|
+
this.colStart = 1;
|
12505
|
+
/**
|
12506
|
+
* If `true`, the grid item will be hidden on smaller screens.
|
12507
|
+
*/
|
12508
|
+
this.hideInMobileMode = false;
|
12509
|
+
/**
|
12510
|
+
* The number of rows the grid item should span.
|
12511
|
+
*/
|
12512
|
+
this.rowSpan = 1;
|
12513
|
+
/**
|
12514
|
+
* The row the grid item should start at.
|
12515
|
+
*/
|
12516
|
+
this.rowStart = 1;
|
12517
|
+
}
|
12518
|
+
watchColSpan(newValue) {
|
12519
|
+
this.el.style.setProperty("--ic-grid-item-col-span", `${newValue}`);
|
12520
|
+
}
|
12521
|
+
watchColStart(newValue) {
|
12522
|
+
this.el.style.setProperty("--ic-grid-item-col-start", `${newValue}`);
|
12523
|
+
}
|
12524
|
+
watchRowSpan(newValue) {
|
12525
|
+
this.el.style.setProperty("--ic-grid-item-row-span", `${newValue}`);
|
12526
|
+
}
|
12527
|
+
watchRowStart(newValue) {
|
12528
|
+
this.el.style.setProperty("--ic-grid-item-row-start", `${newValue}`);
|
12529
|
+
}
|
12530
|
+
componentWillLoad() {
|
12531
|
+
this.el.style.setProperty("--ic-grid-item-col-start", `${this.colStart}`);
|
12532
|
+
this.el.style.setProperty("--ic-grid-item-col-span", `${this.colSpan}`);
|
12533
|
+
this.el.style.setProperty("--ic-grid-item-row-start", `${this.rowStart}`);
|
12534
|
+
this.el.style.setProperty("--ic-grid-item-row-span", `${this.rowSpan}`);
|
12535
|
+
}
|
12536
|
+
render() {
|
12537
|
+
const { hideInMobileMode } = this;
|
12538
|
+
return (hAsync(Host, { key: '07cb3d39a4c3440a06df2f6c56ecdf3017e48f59', class: {
|
12539
|
+
"ic-layout-grid-hide-in-mobile": !!hideInMobileMode,
|
12540
|
+
} }, hAsync("slot", { key: '53c7d5616494ad9fc7468d023b9a9ec520938916' })));
|
12541
|
+
}
|
12542
|
+
get el() { return getElement(this); }
|
12543
|
+
static get watchers() { return {
|
12544
|
+
"colSpan": ["watchColSpan"],
|
12545
|
+
"colStart": ["watchColStart"],
|
12546
|
+
"rowSpan": ["watchRowSpan"],
|
12547
|
+
"rowStart": ["watchRowStart"]
|
12548
|
+
}; }
|
12549
|
+
static get style() { return IcLayoutGridItemStyle0; }
|
12550
|
+
static get cmpMeta() { return {
|
12551
|
+
"$flags$": 9,
|
12552
|
+
"$tagName$": "ic-layout-grid-item",
|
12553
|
+
"$members$": {
|
12554
|
+
"colSpan": [2, "col-span"],
|
12555
|
+
"colStart": [2, "col-start"],
|
12556
|
+
"hideInMobileMode": [4, "hide-in-mobile-mode"],
|
12557
|
+
"rowSpan": [2, "row-span"],
|
12558
|
+
"rowStart": [2, "row-start"]
|
12559
|
+
},
|
12560
|
+
"$listeners$": undefined,
|
12561
|
+
"$lazyBundleId$": "-",
|
12562
|
+
"$attrsToReflect$": []
|
12563
|
+
}; }
|
12564
|
+
}
|
12565
|
+
|
12566
|
+
const icLinkCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-link) .link,:host(.ic-link) ::slotted(a){color:var(--ic-link-text);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}:host(.ic-link) .link:visited,:host(.ic-link) ::slotted(a:visited),:host(.ic-link) .link:visited:hover,:host(.ic-link) ::slotted(a:visited:hover),:host(.ic-link) .link:visited:active,:host(.ic-link) ::slotted(a:visited:active),:host(.ic-link) .link:visited:focus,:host(.ic-link) ::slotted(a:visited:focus){color:var(--ic-link-text-visited)}:host(.ic-link) .link:hover{color:var(--ic-link-text-hover)}:host(.ic-link) .link:active{color:var(--ic-link-text-pressed)}:host(.ic-link) .link:focus{color:var(--ic-link-text-focused)}:host(.ic-link-monochrome) .link:hover{color:var(--ic-link-text-hover-monochrome)}:host(.ic-link-monochrome) .link:active{color:var(--ic-link-text-pressed-monochrome)}:host(.ic-link-monochrome) .link:focus{color:var(--ic-link-text-focused-monochrome)}:host(.ic-link) .link:hover,:host(.ic-link) .link:focus,:host(.ic-link) ::slotted(a:hover),:host(.ic-link) ::slotted(a:focus){outline:none;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-underline-offset: 10%){:host(.ic-link) .link:hover,:host(.ic-link) .link:focus,:host(.ic-link) ::slotted(a:hover),:host(.ic-link) ::slotted(a:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:10%;border-bottom:0 !important;margin-bottom:0 !important}}:host(.ic-link) .link:active,:host(.ic-link) .link:focus:active,:host(.ic-link) .link:visited:active,:host(.ic-link) ::slotted(a:active),:host(.ic-link) ::slotted(a:focus:active),:host(.ic-link) ::slotted(a:visited:active){text-decoration:none}.ic-link-open-in-new-icon{vertical-align:middle;margin-left:var(--ic-space-xxs)}.ic-link-open-in-new-icon>svg{width:var(--ic-space-md);height:var(--ic-space-md);fill:var(--ic-link-icon-launch)}.link:visited>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-visited)}:host(.ic-link-monochrome) .link,:host(.ic-link-monochrome) ::slotted(a){color:var(--ic-link-text-monochrome)}:host(.ic-link-monochrome) .link:visited,:host(.ic-link-monochrome) ::slotted(a:visited),:host(.ic-link-monochrome) .link:visited:hover,:host(.ic-link-monochrome) ::slotted(a:visited:hover),:host(.ic-link-monochrome) .link:visited:active,:host(.ic-link-monochrome) ::slotted(a:visited:active),:host(.ic-link-monochrome) .link:visited:focus,:host(.ic-link-monochrome) ::slotted(a:visited:focus){color:var(--ic-link-text-visited-monochrome)}:host(.ic-link-monochrome) .link>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-monochrome)}:host(.ic-link-monochrome) .link:visited>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-visited-monochrome)}:host(.breadcrumb-link) .link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}:host(.breadcrumb-link) .link ::slotted(.back-icon){height:var(--ic-space-lg);width:var(--ic-space-lg)}:host(.breadcrumb-link.current-page) a,:host(.breadcrumb-link.current-page) ::slotted(a){font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}:host(.breadcrumb-link.current-page) .link,:host(.breadcrumb-link.current-page) ::slotted(a:focus){outline:var(--ic-hc-focus-outline);text-decoration:none}:host(.breadcrumb-link.current-page) .link:visited{color:var(--ic-color-text-primary)}:host(.footer-link) ::slotted(a){color:var(--ic-footer-link) !important}:host(.footer-link) .ic-link-open-in-new-icon>svg{fill:var(--ic-footer-icon) !important}@media (forced-colors: active){:host(.ic-link) .ic-link-open-in-new-icon>svg{fill:currentcolor !important}}";
|
12567
|
+
var IcLinkStyle0 = icLinkCss;
|
12568
|
+
|
12569
|
+
/**
|
12570
|
+
* @slot router-item - Handle routing by nesting your routes in this slot.
|
12571
|
+
*/
|
12572
|
+
class Link {
|
12573
|
+
constructor(hostRef) {
|
12574
|
+
registerInstance(this, hostRef);
|
12575
|
+
this.inheritedAttributes = {};
|
12576
|
+
this.hostMutationObserver = null;
|
12577
|
+
/**
|
12578
|
+
* If `true`, the user can save the linked URL instead of navigating to it. If the value is a string, it will be used as the filename for the download.
|
12579
|
+
*/
|
12580
|
+
this.download = false;
|
12581
|
+
/**
|
12582
|
+
* If `true`, the link will display as black in the light theme, and white in the dark theme.
|
12583
|
+
*/
|
12584
|
+
this.monochrome = false;
|
12585
|
+
/**
|
12586
|
+
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
12587
|
+
*/
|
12588
|
+
this.theme = "inherit";
|
12589
|
+
// triggered when attributes of host element change
|
12590
|
+
this.hostMutationCallback = (mutationList) => {
|
12591
|
+
mutationList.forEach(({ attributeName }) => {
|
12592
|
+
if (attributeName) {
|
12593
|
+
const attribute = this.el.getAttribute(attributeName);
|
12594
|
+
if (attribute && IC_INHERITED_ARIA.includes(attributeName)) {
|
12595
|
+
this.inheritedAttributes[attributeName] = attribute;
|
12596
|
+
}
|
12597
|
+
}
|
12598
|
+
});
|
12599
|
+
};
|
12600
|
+
this.setDownloadAttribute = (value) => {
|
12601
|
+
if (typeof value === "boolean") {
|
12602
|
+
return value ? "" : undefined;
|
12603
|
+
}
|
12604
|
+
else {
|
12605
|
+
return value === "true" ? "" : value === "false" ? undefined : value;
|
12606
|
+
}
|
12607
|
+
};
|
12608
|
+
}
|
12609
|
+
componentWillLoad() {
|
12610
|
+
this.inheritedAttributes = inheritAttributes(this.el, IC_INHERITED_ARIA);
|
12611
|
+
this.updateTheme();
|
12612
|
+
this.el.setAttribute("exportparts", "link");
|
12613
|
+
}
|
12614
|
+
componentDidLoad() {
|
12615
|
+
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
12616
|
+
this.hostMutationObserver.observe(this.el, {
|
12617
|
+
attributes: true,
|
12618
|
+
});
|
12619
|
+
}
|
12620
|
+
disconnectedCallback() {
|
12621
|
+
var _a;
|
12622
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
12623
|
+
}
|
12624
|
+
brandChangeHandler({ detail }) {
|
12625
|
+
this.updateTheme(detail.mode);
|
12626
|
+
}
|
12627
|
+
/**
|
12628
|
+
* Sets focus on the link.
|
12629
|
+
*/
|
12630
|
+
async setFocus() {
|
12631
|
+
var _a, _b;
|
12632
|
+
(_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("a")) === null || _b === void 0 ? void 0 : _b.focus();
|
12633
|
+
}
|
12634
|
+
updateTheme(mode = null) {
|
12635
|
+
const theme = getBrandFromContext$1(this.el, mode);
|
12636
|
+
if (theme !== IcBrandForegroundEnum$1.Default) {
|
12637
|
+
this.monochrome = true;
|
12638
|
+
this.theme =
|
12639
|
+
theme === IcBrandForegroundEnum$1.Light
|
12640
|
+
? IcBrandForegroundEnum$1.Dark
|
12641
|
+
: IcBrandForegroundEnum$1.Light;
|
12642
|
+
}
|
12643
|
+
}
|
12644
|
+
hasRouterSlot() {
|
12645
|
+
this.routerSlot = this.el.querySelector('[slot="router-item"]');
|
12646
|
+
if (this.routerSlot) {
|
12647
|
+
this.routerSlot.ariaLabel = this.routerSlot.textContent;
|
12648
|
+
}
|
12649
|
+
return !!this.routerSlot;
|
12650
|
+
}
|
12651
|
+
render() {
|
12652
|
+
const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
|
12653
|
+
return (hAsync(Host, { key: '21143018ec29344c665ecc6ffdc7ca033eb6fd18', class: {
|
12654
|
+
["ic-link"]: true,
|
12655
|
+
[`ic-theme-${theme}`]: theme !== "inherit",
|
12656
|
+
["ic-link-monochrome"]: !!monochrome,
|
12657
|
+
} }, this.hasRouterSlot() ? (hAsync("slot", { name: "router-item" })) : (hAsync("a", Object.assign({ class: {
|
12658
|
+
["link"]: !!href,
|
12659
|
+
}, download: this.setDownloadAttribute(download), href: href, hrefLang: hreflang, referrerPolicy: referrerpolicy, rel: rel, target: target, tabindex: href ? "0" : "-1" }, this.inheritedAttributes, { part: "link" }), hAsync("slot", null), target === "_blank" && (hAsync("span", { class: "ic-link-open-in-new-icon", innerHTML: OpenInNew }))))));
|
12660
|
+
}
|
12661
|
+
static get delegatesFocus() { return true; }
|
12254
12662
|
get el() { return getElement(this); }
|
12255
12663
|
static get style() { return IcLinkStyle0; }
|
12256
12664
|
static get cmpMeta() { return {
|
@@ -12457,23 +12865,23 @@ class LoadingIndicator {
|
|
12457
12865
|
}
|
12458
12866
|
render() {
|
12459
12867
|
const { circularDiameter, circularDimensions: { x, y, r, dashArray, dashOffset }, description, fullWidth, indicatorLabel, innerLabel, label, max, min, monochrome, progress, size, theme, type, } = this;
|
12460
|
-
return (hAsync(Host, { key: '
|
12868
|
+
return (hAsync(Host, { key: '413c553dc741429027e834c352171bc538bad4e5', class: {
|
12461
12869
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
12462
12870
|
"ic-loading-indicator-full-width": fullWidth,
|
12463
12871
|
"ic-loading-indicator-label": !!label,
|
12464
12872
|
"ic-loading-indicator-monochrome": monochrome,
|
12465
|
-
} }, hAsync("div", { key: '
|
12873
|
+
} }, hAsync("div", { key: '988482262c2ce8269f8e10706f2455ee94fbed4c', class: "ic-loading-container", part: "ic-loading-container" }, hAsync("div", { key: '93e2878a03795a8e5fd65e85cc586f8de22ec764', ref: (el) => (this.outerElement = el), class: {
|
12466
12874
|
[`ic-loading-${type}-outer`]: true,
|
12467
12875
|
[progress === undefined ? "indeterminate" : "determinate"]: true,
|
12468
|
-
}, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, hAsync("div", { key: '
|
12876
|
+
}, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, hAsync("div", { key: '1d4f9ebc1ee51844d0357c5629a9dc69aac0f16c', ref: (el) => (this.innerElement = el), class: {
|
12469
12877
|
[`ic-loading-${type}-inner`]: true,
|
12470
12878
|
"inner-label": !!innerLabel,
|
12471
|
-
} }, innerLabel && size === "small" && (hAsync("ic-typography", { key: '
|
12879
|
+
} }, innerLabel && size === "small" && (hAsync("ic-typography", { key: '85269ef476f8ee423e4a14383445cfa4b0256556', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (hAsync("svg", { key: 'd3f423cd9659b735184d6657127c8626cc9cf4a3', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, hAsync("circle", { key: '060c4d530c2e27309fbe6513eb2497ae91bcdb6a', cx: x, cy: y, r: r }), hAsync("circle", { key: 'e4b17ca2492a92fe99561193250bb9fb4a8cf960', style: {
|
12472
12880
|
"--circular-steps-max": progress ? `${max}` : undefined,
|
12473
12881
|
"--progress-value": progress !== undefined ? `${progress}` : undefined,
|
12474
12882
|
"--stroke-dasharray": dashArray,
|
12475
12883
|
"--stroke-dashoffset": dashOffset,
|
12476
|
-
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (hAsync("ic-typography", { key: '
|
12884
|
+
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (hAsync("ic-typography", { key: '22f1b492ebc832a2ea60ffbefd9790c1f85b2c90', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, hAsync("p", { key: 'e513e1965e25987826a872c991faec17c17db505' }, indicatorLabel))))));
|
12477
12885
|
}
|
12478
12886
|
get el() { return getElement(this); }
|
12479
12887
|
static get watchers() { return {
|
@@ -15231,7 +15639,7 @@ class Menu {
|
|
15231
15639
|
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
|
15232
15640
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
15233
15641
|
const hasNoResults = this.host.classList.contains("no-results");
|
15234
|
-
return (hAsync(Host, { key: '
|
15642
|
+
return (hAsync(Host, { key: '61aef706407716bbd85f087d6baeac4e393f5bb5', class: {
|
15235
15643
|
"ic-menu-full-width": !!fullWidth,
|
15236
15644
|
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
15237
15645
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
@@ -15240,7 +15648,7 @@ class Menu {
|
|
15240
15648
|
[`ic-menu-${size}`]: true,
|
15241
15649
|
"ic-menu-open": open && options.length !== 0,
|
15242
15650
|
"ic-menu-multiple": multiSelect,
|
15243
|
-
} }, options.length !== 0 && (hAsync("ul", { key: '
|
15651
|
+
} }, options.length !== 0 && (hAsync("ul", { key: '5800fadeb848cfad908cdbd2bb7bfd7ecba08811', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
|
15244
15652
|
!keyboardNav &&
|
15245
15653
|
((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
|
15246
15654
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
|
@@ -15268,7 +15676,7 @@ class Menu {
|
|
15268
15676
|
multiSelect &&
|
15269
15677
|
!isLoading &&
|
15270
15678
|
!hasTimedOut &&
|
15271
|
-
!hasNoResults && (hAsync("div", { key: '
|
15679
|
+
!hasNoResults && (hAsync("div", { key: '3036b8e8b5727e354d45e9ae4a64a5e61b0caf59', class: "option-bar" }, hAsync("ic-typography", { key: 'a797367880dd2a45638c65dcb353e6b4892e5db0' }, hAsync("p", { key: 'ba309efe02198f93aa62329cf99d05e2e538434d' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), hAsync("ic-button", { key: '785eba9a6e82e745c7f4ccb054a1fbaf87df281e', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
|
15272
15680
|
}
|
15273
15681
|
get host() { return getElement(this); }
|
15274
15682
|
static get watchers() { return {
|
@@ -15328,7 +15736,7 @@ class MenuGroup {
|
|
15328
15736
|
}
|
15329
15737
|
render() {
|
15330
15738
|
const parentMenu = this.el.closest("ic-popover-menu");
|
15331
|
-
return (hAsync(Host, { key: '
|
15739
|
+
return (hAsync(Host, { key: 'e80513cbfafcba84a75297272b402bfb60acdf80', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined$1(this.label) && (hAsync("ic-typography", { key: '726deba27f96a3bdb84856d851e484aab1be1301', variant: "subtitle-small" }, this.label)), hAsync("span", { key: 'a383d9a234af9acceb9a746a891c290225dc8e37', class: "menu-items-wrapper" }, hAsync("slot", { key: '60219f7f2cf0ee516c908a5ed3f45c0d27686293' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (hAsync("hr", { key: '85128f561dcc20d70937c690b9bfc56d34b698b8' }))));
|
15332
15740
|
}
|
15333
15741
|
get el() { return getElement(this); }
|
15334
15742
|
static get style() { return IcMenuGroupStyle0; }
|
@@ -15578,11 +15986,11 @@ class NavigationButton {
|
|
15578
15986
|
target,
|
15579
15987
|
theme,
|
15580
15988
|
};
|
15581
|
-
return (hAsync(Host, { key: '
|
15989
|
+
return (hAsync(Host, { key: '6d5b61877075117e4e5a88b0d1edf1cf986f4bcd', class: {
|
15582
15990
|
"in-side-menu": isMenuMode,
|
15583
15991
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
15584
15992
|
dark: parentThemeDark,
|
15585
|
-
} }, hAsync("ic-button", Object.assign({ key: '
|
15993
|
+
} }, hAsync("ic-button", Object.assign({ key: 'd1e885683fd648f260bec94656aeb818497899e2', ref: (el) => (this.buttonEl = el), class: { "popout-menu-button": isMenuMode }, "aria-label": !isMenuMode ? label : null, disableTooltip: isMenuMode, fullWidth: isMenuMode, monochrome: !isMenuMode, size: isMenuMode ? "medium" : "large", variant: isMenuMode ? "tertiary" : "icon-tertiary" }, buttonProps, inheritedAttributes), isMenuMode ? label : "", hAsync("slot", { key: 'c3ae147f7bccd4f10f9259d442b86636c1a332ca', slot: "left-icon", name: "icon" }), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: 'f5f961eb88638804430696e0e5b3424ad3b9ac6c', name: "badge" }))));
|
15586
15994
|
}
|
15587
15995
|
static get delegatesFocus() { return true; }
|
15588
15996
|
get el() { return getElement(this); }
|
@@ -15609,7 +16017,7 @@ class NavigationButton {
|
|
15609
16017
|
}; }
|
15610
16018
|
}
|
15611
16019
|
|
15612
|
-
const icNavigationGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-typography-color:currentcolor}:host(.in-side-menu){border-bottom:var(--ic-border-width) solid\n var(--ic-divider-background-monochrome);padding:var(--ic-space-md) 0}:host .navigation-group{height:100%;width:-moz-fit-content;width:fit-content;color:var(--ic-brand-text-color);display:flex;gap:var(--ic-space-xxs);align-items:center;justify-content:center;padding:0 var(--ic-space-md);transition:var(--ic-easing-transition-slow);position:relative;background:none;border:none;text-align:left;box-sizing:border-box}:host .navigation-group:hover,:host .navigation-group:active,:host .selected{background-color:var(--ic-architectural-20);color:var(--ic-color-text-primary-light);outline:none;cursor:pointer}:host(.in-side-menu) .navigation-group{min-height:2.5rem;width:100%;gap:1.25rem}:host(.in-side-menu) .navigation-group .ic-typography-label{width:100%}:host(.in-side-menu:not(.ic-navigation-group-expandable)) .navigation-group,:host(.in-side-menu) .navigation-group-side-menu-collapsed,:host(.in-side-menu) .navigation-group-side-menu-expanded{color:var(--ic-top-navigation-nav-group-link);justify-content:flex-start;padding:var(--ic-space-xs) var(--ic-space-md)}:host(.in-side-menu) .navigation-group-side-menu-expanded{margin-bottom:var(--ic-space-xs)}:host(.in-side-menu) .navigation-group-side-menu-collapsed::after,:host(.in-side-menu) .navigation-group-side-menu-expanded::after{border-style:solid;border-width:0.125em 0.125em 0 0;content:\"\";display:inline-block;min-height:0.45em;position:relative;top:-0.1em;transform:rotate(135deg);vertical-align:top;min-width:0.45em}:host(.in-side-menu) .navigation-group-side-menu-expanded::after{top:0.15em;transform:rotate(-45deg)}:host(:not(.in-side-menu)) .navigation-group:focus{box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);z-index:var(--ic-z-index-navigation-item);transition:box-shadow var(--ic-easing-transition-fast)}:host(.in-side-menu) .navigation-group-side-menu-expanded:hover:not(:focus),:host(.in-side-menu) .navigation-group-side-menu-collapsed:hover:not(:focus){background-color:var(--ic-top-navigation-nav-group-hover);cursor:pointer}:host(.in-side-menu) .navigation-group-side-menu-expanded:active:not(:focus),:host(.in-side-menu) .navigation-group-side-menu-collapsed:active:not(:focus){background-color:var(--ic-top-navigation-nav-group-pressed)}:host(.in-side-menu) .navigation-group-side-menu-expanded:focus,:host(.in-side-menu) .navigation-group-side-menu-collapsed:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);background:none}:host .navigation-group-dropdown{background-color:var(--ic-top-navigation-menu-background);border-bottom:var(--ic-space-1px) solid var(--ic-top-navigation-menu-border);position:absolute;left:0;right:0;padding:var(--ic-space-xs) var(--ic-space-md);box-shadow:0 0.375rem 0.5rem -0.375rem rgba(0 0 0 / 20%);z-index:calc(var(--ic-z-index-navigation-item) - 1)}:host .navigation-group-dropdown-items-list{list-style:none;display:flex;flex-flow:column wrap;align-content:flex-start;padding-left:var(--ic-space-md);max-height:16.5rem}:host .chevron-toggle-icon-wrapper{display:flex;align-items:center}:host .chevron-toggle-icon-wrapper svg{transform:rotate(90deg);height:var(--ic-space-lg);width:var(--ic-space-lg)}:host .chevron-toggle-icon-closed svg{transform:rotate(-90deg)}:host(.ic-navigation-group-expanded) .grouped-links-wrapper{height:var(--navigation-child-items-height, auto) !important;transition:var(--ic-easing-transition-slow);overflow:hidden}:host(.ic-navigation-group-side-nav) .link,:host(.ic-navigation-group-side-nav) ::slotted(a){height:var(--navigation-child-items-height, auto)}:host(.ic-navigation-group-collapsed) .grouped-links-wrapper{height:0;transition:var(--ic-easing-transition-slow);overflow:hidden}:host(.ic-navigation-group-side-nav) .navigation-group{min-height:var(--navigation-group-height);min-width:100%;width:var(--navigation-group-width, auto);justify-content:var(--navigation-group-justify-content);padding:var(--ic-space-md) var(--navigation-group-expand-toggle-padding)\n var(--ic-space-xs) var(--ic-space-md)}:host(.ic-navigation-group-side-nav:not(.ic-navigation-group-expandable)) .navigation-group{padding-right:var(--ic-space-md)}:host(.ic-navigation-group-side-nav) .navigation-group:hover,:host(.ic-navigation-group-side-nav) .navigation-group:active,:host(.ic-navigation-group-side-nav) .selected{background-color:var(--navigation-group-hover);color:var(--navigation-group-text-hover)}:host(.ic-navigation-group-side-nav:not(.ic-navigation-group-expandable)) .navigation-group:hover,:host(.ic-navigation-group-side-nav:not(.ic-navigation-group-expandable)) .navigation-group:active,:host(.in-side-menu:not(.ic-navigation-group-expandable)) .navigation-group:hover,:host(.in-side-menu:not(.ic-navigation-group-expandable)) .navigation-group:active{background:none;cursor:auto}:host(.ic-navigation-group-side-nav) .navigation-group:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);background:none}:host(.ic-navigation-group-side-nav) .ic-typography-caption{position:var(--navigation-group-title-position);left:var(--navigation-group-title-position-left)}";
|
16020
|
+
const icNavigationGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-typography-color:currentcolor}:host(.in-side-menu){border-bottom:var(--ic-border-width) solid\n var(--ic-divider-background-monochrome);padding:var(--ic-space-md) 0}:host .navigation-group{height:100%;width:-moz-fit-content;width:fit-content;color:var(--ic-brand-text-color);display:flex;gap:var(--ic-space-xxs);align-items:center;justify-content:center;padding:0 var(--ic-space-md);transition:var(--ic-easing-transition-slow);position:relative;background:none;border:none;text-align:left;box-sizing:border-box}:host .navigation-group:hover,:host .navigation-group:active,:host .selected{background-color:var(--ic-architectural-20);color:var(--ic-color-text-primary-light);outline:none;cursor:pointer}:host(.in-side-menu) .navigation-group{min-height:2.5rem;width:100%;gap:1.25rem}:host(.in-side-menu) .navigation-group .ic-typography-label{width:100%}:host(.in-side-menu:not(.ic-navigation-group-expandable)) .navigation-group,:host(.in-side-menu) .navigation-group-side-menu-collapsed,:host(.in-side-menu) .navigation-group-side-menu-expanded{color:var(--ic-top-navigation-nav-group-link);justify-content:flex-start;padding:var(--ic-space-xs) var(--ic-space-md)}:host(.in-side-menu) .navigation-group-side-menu-expanded{margin-bottom:var(--ic-space-xs)}:host(.in-side-menu) .navigation-group-side-menu-collapsed::after,:host(.in-side-menu) .navigation-group-side-menu-expanded::after{border-style:solid;border-width:0.125em 0.125em 0 0;content:\"\";display:inline-block;min-height:0.45em;position:relative;top:-0.1em;transform:rotate(135deg);vertical-align:top;min-width:0.45em}:host(.in-side-menu) .navigation-group-side-menu-expanded::after{top:0.15em;transform:rotate(-45deg)}:host(:not(.in-side-menu)) .navigation-group:focus{box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);z-index:var(--ic-z-index-navigation-item);transition:box-shadow var(--ic-easing-transition-fast)}:host(.in-side-menu) .navigation-group-side-menu-expanded:hover:not(:focus),:host(.in-side-menu) .navigation-group-side-menu-collapsed:hover:not(:focus){background-color:var(--ic-top-navigation-nav-group-hover);cursor:pointer}:host(.in-side-menu) .navigation-group-side-menu-expanded:active:not(:focus),:host(.in-side-menu) .navigation-group-side-menu-collapsed:active:not(:focus){background-color:var(--ic-top-navigation-nav-group-pressed)}:host(.in-side-menu) .navigation-group-side-menu-expanded:focus,:host(.in-side-menu) .navigation-group-side-menu-collapsed:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);background:none}:host .navigation-group-dropdown{background-color:var(--ic-top-navigation-menu-background);border-bottom:var(--ic-space-1px) solid var(--ic-top-navigation-menu-border);position:absolute;left:0;right:0;padding:var(--ic-space-xs) var(--ic-space-md);box-shadow:0 0.375rem 0.5rem -0.375rem rgba(0 0 0 / 20%);z-index:calc(var(--ic-z-index-navigation-item) - 1)}:host .navigation-group-dropdown-items-list{list-style:none;display:flex;flex-flow:column wrap;align-content:flex-start;padding-left:var(--ic-space-md);max-height:16.5rem}:host .chevron-toggle-icon-wrapper{display:flex;align-items:center}:host .chevron-toggle-icon-wrapper svg{transform:rotate(90deg);height:var(--ic-space-lg);width:var(--ic-space-lg)}:host .chevron-toggle-icon-closed svg{transform:rotate(-90deg)}:host(.ic-navigation-group-expanded) .grouped-links-wrapper{height:var(--navigation-child-items-height, auto) !important;transition:var(--ic-easing-transition-slow);overflow:hidden}:host(.ic-navigation-group-side-nav) .link,:host(.ic-navigation-group-side-nav) ::slotted(a){height:var(--navigation-child-items-height, auto)}:host(.ic-navigation-group-collapsed) .grouped-links-wrapper{height:0;transition:var(--ic-easing-transition-slow);overflow:hidden}:host(.ic-navigation-group-side-nav) .navigation-group{min-height:var(--navigation-group-height);height:-moz-fit-content;height:fit-content;min-width:100%;width:var(--navigation-group-width, auto);justify-content:var(--navigation-group-justify-content);padding:var(--ic-space-md) var(--navigation-group-expand-toggle-padding)\n var(--ic-space-xs) var(--ic-space-md)}:host(.ic-navigation-group-side-nav:not(.ic-navigation-group-expandable)) .navigation-group{padding-right:var(--ic-space-md)}:host(.ic-navigation-group-side-nav) .navigation-group:hover,:host(.ic-navigation-group-side-nav) .navigation-group:active,:host(.ic-navigation-group-side-nav) .selected{background-color:var(--navigation-group-hover);color:var(--navigation-group-text-hover)}:host(.ic-navigation-group-side-nav:not(.ic-navigation-group-expandable)) .navigation-group:hover,:host(.ic-navigation-group-side-nav:not(.ic-navigation-group-expandable)) .navigation-group:active,:host(.in-side-menu:not(.ic-navigation-group-expandable)) .navigation-group:hover,:host(.in-side-menu:not(.ic-navigation-group-expandable)) .navigation-group:active{background:none;cursor:auto}:host(.ic-navigation-group-side-nav) .navigation-group:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);background:none}:host(.ic-navigation-group-side-nav) .ic-typography-caption{position:var(--navigation-group-title-position);left:var(--navigation-group-title-position-left)}";
|
15613
16021
|
var IcNavigationGroupStyle0 = icNavigationGroupCss;
|
15614
16022
|
|
15615
16023
|
const IC_NAVIGATION_ITEM = "ic-navigation-item";
|
@@ -15875,7 +16283,7 @@ class NavigationGroup {
|
|
15875
16283
|
const isTopNav = this.navigationType === "top";
|
15876
16284
|
const isTopNavDesktop = !inTopNavSideMenu && isTopNav;
|
15877
16285
|
const ariaExpanded = (isSideNav && expanded) || (isTopNav && dropdownOpen);
|
15878
|
-
return (hAsync(Host, { key: '
|
16286
|
+
return (hAsync(Host, { key: '70872453ddb1b66747a517e4757ef0d5fbb6337c', class: {
|
15879
16287
|
"in-side-menu": inTopNavSideMenu,
|
15880
16288
|
"ic-navigation-group-expandable": expandable,
|
15881
16289
|
"ic-navigation-group-side-nav": isSideNav,
|
@@ -16108,7 +16516,7 @@ class NavigationItem {
|
|
16108
16516
|
render() {
|
16109
16517
|
const { inTopNavSideMenu, isTopNavChild, selected, navigationType, focusStyle, isInitialRender, sideNavExpanded, displayNavigationTooltip, collapsedIconLabel, isSideNavMobile, expandable, isInSideNav, theme, } = this;
|
16110
16518
|
const isTopNavChildDesktop = isTopNavChild && !inTopNavSideMenu;
|
16111
|
-
return (hAsync(Host, { key: '
|
16519
|
+
return (hAsync(Host, { key: '6d3d330011cb09ae9fd95b59f98a9d18ffc25ba0', class: {
|
16112
16520
|
"navigation-item": true,
|
16113
16521
|
"navigation-item-selected": !isTopNavChild && selected,
|
16114
16522
|
"navigation-item-top-nav": !inTopNavSideMenu && navigationType === "top",
|
@@ -16127,7 +16535,7 @@ class NavigationItem {
|
|
16127
16535
|
expandable,
|
16128
16536
|
[focusStyle]: isTopNavChild ? isInSideNav : !inTopNavSideMenu,
|
16129
16537
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16130
|
-
}, onBlur: isTopNavChildDesktop ? this.handleBlur : null, onClick: this.handleClick, "aria-current": selected ? "page" : null, role: "listitem" }, hAsync("ic-tooltip", { key: '
|
16538
|
+
}, onBlur: isTopNavChildDesktop ? this.handleBlur : null, onClick: this.handleClick, "aria-current": selected ? "page" : null, role: "listitem" }, hAsync("ic-tooltip", { key: 'af3a3de698b102182ff030ffcfb66b419d7ac857', label: this.generateTooltipLabel(), target: "navigation-item", placement: "right", class: {
|
16131
16539
|
"tooltip-navigation-item": true,
|
16132
16540
|
"tooltip-navigation-item-side-nav-collapsed": displayNavigationTooltip && isInSideNav,
|
16133
16541
|
"tooltip-long-label-navigation-item-side-nav-expanded": this.el.hasAttribute("[display-navigation-tooltip = 'true']"),
|
@@ -16300,16 +16708,16 @@ class NavigationMenu {
|
|
16300
16708
|
}
|
16301
16709
|
}
|
16302
16710
|
render() {
|
16303
|
-
return (hAsync(Host, { key: '
|
16711
|
+
return (hAsync(Host, { key: '559f8e30c0ea9585c1cd85db3fbb432f0afa6476', class: { [`ic-theme-${this.theme}`]: this.theme !== "inherit" } }, hAsync("div", { key: 'acd727b39a74104530268e38ee3d7b89ac79e97d', class: "popout-modal", onClick: this.closeMenu }), hAsync("div", { key: '8142144f62990711e407791838feedfb3f25a9d6', class: "popout-menu", role: "dialog", "aria-modal": "true", "aria-label": `${this.hasNavigation ? "Navigation" : "App"} menu` }, hAsync("span", { key: '4c52bc614ede7b80e3cd233ed43f16e22701bcdb', "aria-hidden": "true", id: "navigation-landmark-text", class: "navigation-landmark-text" }, "Main navigation"), hAsync("nav", { key: '90569f1809e977cda9f8c2695c1108d2d4976318', "aria-labelledby": "navigation-landmark-text", "aria-hidden": this.hasNavigation ? "false" : "true" }, hAsync("div", { key: '503d419f95dadd93abdd2d54821f791bdf050b8d', class: {
|
16304
16712
|
["menu-close-button-container"]: true,
|
16305
16713
|
["nav-group-first"]: this.navGroupFirst,
|
16306
|
-
} }, hAsync("ic-button", { key: '
|
16714
|
+
} }, hAsync("ic-button", { key: '1120f293997c552117944e4361575605de0fcaf2', ref: (el) => (this.closeButton = el), id: "menu-close-button", class: "menu-close-button", variant: "icon", size: "large", "aria-label": `Close ${this.hasNavigation ? "navigation" : "app"} menu`, onClick: this.closeMenu }, hAsync("svg", { key: '3dc7a4fcafd3e72c558bb3aa07e9051b992da933', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '5ed28065cad4812472d9c036926b119ad625ad53', d: "M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z" })))), this.hasNavigation && hAsync("slot", { key: '07e9e48d1c18782dd993ded29fa10c110e33ac45', name: "navigation" })), this.hasButtons && (hAsync("div", { key: 'c612c03b21a75159952df5fef4d8e4675016f08f', class: {
|
16307
16715
|
["menu-buttons-container"]: true,
|
16308
16716
|
["menu-buttons-container-nav-item-above"]: this.navItemAboveButtons,
|
16309
|
-
} }, hAsync("slot", { key: '
|
16717
|
+
} }, hAsync("slot", { key: '131e946d6f9e945fe7b1cbd4fde77b98b9b70a0c', name: "buttons" }))), (this.status !== "" || this.version !== "") && (hAsync("div", { key: '384bda4e21929e99d7fe5a00e4cfc24099c8e6a3', class: {
|
16310
16718
|
["menu-status-version-container"]: true,
|
16311
16719
|
["status-version-no-buttons"]: !this.hasButtons,
|
16312
|
-
} }, this.status !== "" && (hAsync("div", { key: '
|
16720
|
+
} }, this.status !== "" && (hAsync("div", { key: 'd24f9fd062b4bde97398c554e00d29a4b167cda7', class: "menu-status" }, hAsync("ic-typography", { key: 'd4637e8dde7947670ad8fd74a459de41c5b7cbae', variant: "label-uppercase", "aria-label": "app tag", class: "menu-status-text" }, this.status))), this.version !== "" && (hAsync("div", { key: '249add67c9c6edc58003c2359861f203e411bf64', class: "menu-version" }, hAsync("ic-typography", { key: '3115e920fb4ce107b2d377eeefef649159a1f0f1', variant: "label", class: "menu-version-text", "aria-label": "app version" }, this.version))))))));
|
16313
16721
|
}
|
16314
16722
|
get el() { return getElement(this); }
|
16315
16723
|
static get style() { return IcNavigationMenuStyle0; }
|
@@ -16442,19 +16850,19 @@ class PageHeader {
|
|
16442
16850
|
const navAriaLabel = `${isSlotUsed$1(this.el, "heading")
|
16443
16851
|
? (_b = (_a = this.el.querySelector('[slot="heading"]')) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : ""
|
16444
16852
|
: heading !== null && heading !== void 0 ? heading : ""} page sections`;
|
16445
|
-
return (hAsync(Host, { key: '
|
16853
|
+
return (hAsync(Host, { key: '3f81ad49917a1bebdda22330e6f5330ddb8e4607', class: {
|
16446
16854
|
["ic-page-header-sticky"]: !!sticky,
|
16447
16855
|
["ic-page-header-sticky-desktop"]: !sticky && !!stickyDesktopOnly,
|
16448
16856
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16449
|
-
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: '
|
16857
|
+
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: '4e676a6514eadeea3d5cae863e75af7ff3b94649', class: {
|
16450
16858
|
["border-bottom"]: !!border,
|
16451
16859
|
["tabs"]: isSlotUsed$1(this.el, "tabs"),
|
16452
|
-
}, role: "presentation" }, hAsync("ic-section-container", { key: '
|
16860
|
+
}, role: "presentation" }, hAsync("ic-section-container", { key: 'f5c3eceb50af527dc0a6e9ae0a37f31a22334234', aligned: aligned, fullHeight: isSlotUsed$1(this.el, "tabs") }, isSlotUsed$1(this.el, "breadcrumbs") && (hAsync("div", { key: 'e5c57032784f736af68fb587d49c2d91dd6dfe2f', class: "breadcrumb-area" }, hAsync("slot", { key: 'ebd6a9ea582e9ab9352475fd93a1d01da8691ce5', name: "breadcrumbs" }))), hAsync("div", { key: 'f017c563594f1cd82ae1f2dc56f1303933a358b7', class: "main-content" }, hAsync("div", { key: '6e9fd38352c39faac30c7bc0b3d3bb1bf0541bde', class: "title-area" }, hAsync("div", { key: '214882f62caa4ed6ff23f9f87414c82fa4f1ee7b', class: "header-content" }, hAsync("slot", { key: 'fd99c8e27de2c92f4b8ba0c15c4daf681709531f', name: "heading" }, hAsync("ic-typography", { key: 'd7230bbe28b9fb91f03e87fdaaf41b6deca5a542', variant: size === "small" ? "h4" : "h2", class: "heading" }, hAsync("h2", { key: '63fe762aba268afa25aff458fc1e824272544f33' }, heading))), hAsync("slot", { key: '2039cc87272f3ab1a479350223238e537b6ee2f4', name: "heading-adornment" })), hAsync("div", { key: 'd1253c48dbd399c24a059e62f2545f477811e815', class: {
|
16453
16861
|
["subheading-content"]: !!subheading || isSlotUsed$1(this.el, "subheading"),
|
16454
16862
|
["small"]: size === "small",
|
16455
|
-
} }, hAsync("slot", { key: '
|
16456
|
-
isSlotUsed$1(this.el, "tabs")) && (hAsync("div", { key: '
|
16457
|
-
!isSlotUsed$1(this.el, "tabs") && hAsync("slot", { key: '
|
16863
|
+
} }, hAsync("slot", { key: '656675e2ded3fdd2027b0215709cf6faaab7322c', name: "subheading" }, hAsync("ic-typography", { key: 'fe3bb6b5feb0b725d77e6cf8f5edc212f4c4b506', variant: "body" }, subheading)))), isSlotUsed$1(this.el, "actions") && (hAsync("div", { key: 'f4a2e70fd311c12810eabc05e3a865e4efbba6b8', class: "action-area" }, hAsync("slot", { key: 'a89c115c6e17021786908022ffc58abe07a88343', name: "actions" }))), isSlotUsed$1(this.el, "input") && (hAsync("div", { key: 'a26a7f73e3ee189f6bd9310339cda77cf128a309', class: "input-area" }, hAsync("slot", { key: '245383298b97190b21f9723326ac34422bd197ac', name: "input" })))), (isSlotUsed$1(this.el, "stepper") ||
|
16864
|
+
isSlotUsed$1(this.el, "tabs")) && (hAsync("div", { key: 'c80f1d04a4300b4f80ff4e2dfa418f985a13e047', class: "navigation-area" }, isSlotUsed$1(this.el, "stepper") &&
|
16865
|
+
!isSlotUsed$1(this.el, "tabs") && hAsync("slot", { key: '5646084a82aefc58c4912f9b765149393973f8c0', name: "stepper" }), isSlotUsed$1(this.el, "tabs") && (hAsync("nav", { key: 'd7cccfe9d053d1e6849d57665157c841f2434a36', "aria-label": navAriaLabel }, hAsync("ic-horizontal-scroll", { key: '2ca15ea3dc35db5f9a9003cdbce55b113bae12c8' }, hAsync("ul", { key: '3007121bcc05264e5df9986b5231693808b72368', class: "tabs-slot" }, hAsync("slot", { key: 'd124be273a3cbc36154b2add48ea1c7a36d6e592', name: "tabs" })))))))))));
|
16458
16866
|
}
|
16459
16867
|
get el() { return getElement(this); }
|
16460
16868
|
static get style() { return IcPageHeaderStyle0; }
|
@@ -16732,14 +17140,14 @@ class Pagination {
|
|
16732
17140
|
}
|
16733
17141
|
render() {
|
16734
17142
|
const { type, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, theme, monochrome, } = this;
|
16735
|
-
return (hAsync(Host, { key: '
|
17143
|
+
return (hAsync(Host, { key: '2acdd8b04920cef0c72fc4651292abc9bd69ec1e', class: {
|
16736
17144
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16737
17145
|
["ic-pagination-monochrome"]: !!monochrome,
|
16738
|
-
} }, type === "simple" && (hAsync("nav", { key: '
|
17146
|
+
} }, type === "simple" && (hAsync("nav", { key: 'b63e353f7fe95cf279ae4ed80431a4c7dab237ef', class: {
|
16739
17147
|
["disabled"]: !!disabled,
|
16740
|
-
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: '
|
17148
|
+
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: '6399e68f44cd106050e227c0492cea207911193f', theme: this.theme, monochrome: this.monochrome, type: "simple-current", page: currentPage, label: label, class: { ["hide-current-page"]: !!hideCurrentPage }, disabled: disabled }), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (hAsync("nav", { key: 'c7dba8035b72f606bc69ae9daac63f150671a309', class: {
|
16741
17149
|
["disabled"]: !!disabled,
|
16742
|
-
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), this.renderStartItems(), this.startEllipsis && this.renderStartEllipsis(), this.renderMiddleItems(), this.endEllipsis && this.renderEndEllipsis(), this.renderEndItems(), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (hAsync("span", { key: '
|
17150
|
+
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), this.renderStartItems(), this.startEllipsis && this.renderStartEllipsis(), this.renderMiddleItems(), this.endEllipsis && this.renderEndEllipsis(), this.renderEndItems(), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (hAsync("span", { key: 'a7f3861bf255d89f193da8e630865c972e319a71', class: "sr-only", "aria-live": "polite" }, "Page ", this.currentPage))));
|
16743
17151
|
}
|
16744
17152
|
get el() { return getElement(this); }
|
16745
17153
|
static get watchers() { return {
|
@@ -17217,7 +17625,7 @@ class PaginationItem {
|
|
17217
17625
|
}
|
17218
17626
|
render() {
|
17219
17627
|
const { page, selected, type, disabled, label, capitalizedLabel, monochrome, } = this;
|
17220
|
-
return (hAsync("a", { key: '
|
17628
|
+
return (hAsync("a", { key: '9b34e182ea83cdb24f48997314fe5f456d37e5f8', class: { ["monochrome"]: !!monochrome } }, type === "ellipsis" ? (hAsync("div", { class: {
|
17221
17629
|
["item-container"]: true,
|
17222
17630
|
["ellipsis"]: true,
|
17223
17631
|
["disabled"]: !!disabled,
|
@@ -17272,6 +17680,10 @@ class PopoverMenu {
|
|
17272
17680
|
this.openingFromChild = false;
|
17273
17681
|
this.openingFromParent = false;
|
17274
17682
|
this.popperProps = {};
|
17683
|
+
/**
|
17684
|
+
* Setting to `true` can help in situations where tooltip content is clipped by a parent element.
|
17685
|
+
*/
|
17686
|
+
this.fixedPositioning = false;
|
17275
17687
|
/**
|
17276
17688
|
* @internal The level of menu being displayed.
|
17277
17689
|
*/
|
@@ -17357,7 +17769,7 @@ class PopoverMenu {
|
|
17357
17769
|
};
|
17358
17770
|
this.initPopperJS = () => {
|
17359
17771
|
if (this.anchorEl) {
|
17360
|
-
this.popperInstance = createPopper(this.anchorEl, this.el, Object.assign({ placement: "bottom-start", modifiers: [
|
17772
|
+
this.popperInstance = createPopper(this.anchorEl, this.el, Object.assign({ strategy: this.fixedPositioning ? "fixed" : "absolute", placement: "bottom-start", modifiers: [
|
17361
17773
|
{
|
17362
17774
|
name: "offset",
|
17363
17775
|
options: {
|
@@ -17532,17 +17944,17 @@ class PopoverMenu {
|
|
17532
17944
|
this.popperProps = props;
|
17533
17945
|
}
|
17534
17946
|
render() {
|
17535
|
-
return (hAsync(Host, { key: '
|
17947
|
+
return (hAsync(Host, { key: '5ffa8a51af3508448af45892be2854e7caadfc1d', class: {
|
17536
17948
|
["ic-popover-menu-open"]: !!this.open,
|
17537
17949
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
17538
|
-
} }, hAsync("div", { key: '
|
17950
|
+
} }, hAsync("div", { key: 'c3160d601be3e64a081da71a369e5c91258000ae', id: this.parentPopover === undefined
|
17539
17951
|
? `ic-popover-submenu-${this.submenuId}`
|
17540
17952
|
: "", class: {
|
17541
17953
|
menu: true,
|
17542
|
-
} }, hAsync("span", { key: '
|
17954
|
+
} }, hAsync("span", { key: 'ae7a23ecfc8d5bba00f00e921292d227be204de4', class: {
|
17543
17955
|
"opening-from-parent": this.openingFromParent,
|
17544
17956
|
"opening-from-child": this.openingFromChild,
|
17545
|
-
} }, isPropDefined$1(this.submenuId) && (hAsync("span", { key: '
|
17957
|
+
} }, isPropDefined$1(this.submenuId) && (hAsync("span", { key: '003ba26d863d718db5b8b6d2ff54710e02eb7677' }, hAsync("span", { key: '4db795ec37a6ac82956e483bb2bf5a73961377e5', role: "menu" }, hAsync("ic-menu-item", { key: 'a102e3c94bb5ba26c8f37c1948230f5dd2bd2c5a', class: "ic-popover-submenu-back-button", ref: (el) => (this.backButton = el), label: "Back", onClick: this.handleBackButtonClick, id: `ic-popover-submenu-back-button-${this.submenuLevel}` }, hAsync("svg", { key: 'e97bd20445b09d2ba20bfbf9a6808a9e925b1c39', slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, hAsync("path", { key: '1e8b35769c14f03ee11c26250f84d0dc23963dc0', d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), hAsync("ic-typography", { key: 'cfbbf43ec26066f7aa1879baf0ef4c8705248bcb', variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), hAsync("div", { key: '54ac1fa4283a77f2678a21e2869be48db726aa09', class: "menu-body", "aria-label": this.getMenuAriaLabel(), role: "menu" }, hAsync("slot", { key: '986dfbed5c2337812f4ac529910240cfc4ffe216' }))))));
|
17546
17958
|
}
|
17547
17959
|
static get delegatesFocus() { return true; }
|
17548
17960
|
get el() { return getElement(this); }
|
@@ -17555,6 +17967,7 @@ class PopoverMenu {
|
|
17555
17967
|
"$tagName$": "ic-popover-menu",
|
17556
17968
|
"$members$": {
|
17557
17969
|
"anchor": [1],
|
17970
|
+
"fixedPositioning": [4, "fixed-positioning"],
|
17558
17971
|
"parentLabel": [1, "parent-label"],
|
17559
17972
|
"parentPopover": [16],
|
17560
17973
|
"submenuId": [1, "submenu-id"],
|
@@ -17805,16 +18218,16 @@ class RadioGroup {
|
|
17805
18218
|
}
|
17806
18219
|
render() {
|
17807
18220
|
const { currentOrientation, disabled, handleKeyDown, helperText, hideLabel, label, required, size, validationStatus, validationText, theme, } = this;
|
17808
|
-
return (hAsync(Host, { key: '
|
18221
|
+
return (hAsync(Host, { key: '94f34265abb206036b1d9ded9dd959647a710999', onKeyDown: handleKeyDown, class: {
|
17809
18222
|
"ic-radio-group-small": size === "small",
|
17810
18223
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
17811
|
-
} }, hAsync("div", { key: '
|
18224
|
+
} }, hAsync("div", { key: 'ecb2a958a94beb49129c1548fafa4c3220036218', role: "radiogroup", "aria-label": `${label}${required ? ", required" : ""}` }, !hideLabel && (hAsync("ic-input-label", { key: 'f11f98513d71d6ea942519fc38a91e96824da3e7', class: {
|
17812
18225
|
[`${validationStatus}`]: true,
|
17813
18226
|
["disabled"]: !!disabled,
|
17814
|
-
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '
|
18227
|
+
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '88578f95a79fe95d58294a93e8470dd663b42903', name: "helper-text", slot: "helper-text" }))), hAsync("div", { key: '9a5ea35f9f684085a25b40def44a29a992306ac1', class: {
|
17815
18228
|
"radio-buttons-container": true,
|
17816
18229
|
horizontal: currentOrientation === this.RADIO_HORIZONTAL,
|
17817
|
-
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: '
|
18230
|
+
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: 'dafa17bf5bc76e8697f802a3376bb2bfe1cc249e' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '6b8a5b2aa258870a00b462d48a978b5cd3a4e33b', ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
|
17818
18231
|
}
|
17819
18232
|
get el() { return getElement(this); }
|
17820
18233
|
static get watchers() { return {
|
@@ -17994,15 +18407,15 @@ class RadioOption {
|
|
17994
18407
|
render() {
|
17995
18408
|
const { additionalFieldDisplay, disabled, dynamicText, form, groupLabel, handleClick, handleKeyDown, hasAdditionalField, label, name, selected, value, theme, } = this;
|
17996
18409
|
const id = `ic-radio-option-${isPropDefined$1(label) || value}-${groupLabel}`;
|
17997
|
-
return (hAsync(Host, { key: '
|
18410
|
+
return (hAsync(Host, { key: 'ee36e924b1c248c87724903313bc778976c36522', onClick: handleClick, onKeyDown: handleKeyDown, class: {
|
17998
18411
|
["ic-radio-option-disabled"]: !!disabled,
|
17999
18412
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
18000
|
-
} }, hAsync("div", { key: '
|
18413
|
+
} }, hAsync("div", { key: '35871b7136c8dd16432e2a0683b13db53f2a1bd0', class: { container: true, disabled: !!disabled } }, hAsync("div", { key: 'daead4b95901afb27be2d2640d1210783ec4c14e' }, hAsync("input", { key: '69d0c5dec724714118475529e021ed9d30350383', tabindex: selected ? "0" : "-1", type: "radio", name: name, id: id, value: value, disabled: disabled, checked: selected, ref: (el) => (this.radioElement = el), form: form }), hAsync("span", { key: '7ae687fb075f60e33fb7edd48b1f323c5833b9fb', class: "checkmark" })), hAsync("ic-typography", { key: 'a3990ac2ea9a3898a436f2fd05966f920a493fa4', class: "radio-label", variant: "body" }, hAsync("label", { key: '0b83a00e2f215d9d051e71650584fb1e0aad55a4', htmlFor: id }, label))), hasAdditionalField && (hAsync("div", { key: '47b6a141f6956e78d4516985d2e70f00c1bdf1cf', class: {
|
18001
18414
|
"dynamic-container": true,
|
18002
18415
|
hidden: additionalFieldDisplay === "dynamic" && !selected,
|
18003
|
-
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: '
|
18416
|
+
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: '2c06cbb85ba445972698c02757a07e048a09ce40', class: "branch-corner" })), hAsync("div", { key: 'ecc00a96cfb580b9f386ea148106a1dae5a31332' }, additionalFieldDisplay === "dynamic" && (hAsync("ic-typography", { key: 'eeacd2d66085bd2bdb16698e6050e552d410d11b', variant: "caption" }, hAsync("p", { key: 'da0327cfe9a9a09405c86e268e7a84ca090b437f', class: "dynamic-text" }, dynamicText))), hAsync("div", { key: 'c9177d6cd8174c92665a3c59a1fe38aeedf6e17b', class: {
|
18004
18417
|
"additional-field-wrapper": additionalFieldDisplay === "static",
|
18005
|
-
} }, hAsync("slot", { key: '
|
18418
|
+
} }, hAsync("slot", { key: '1f4fdd0f5eeca0900aeaa04d49191e0b65d843ab', name: ADDITIONAL_FIELD })))))));
|
18006
18419
|
}
|
18007
18420
|
get el() { return getElement(this); }
|
18008
18421
|
static get watchers() { return {
|
@@ -18046,7 +18459,7 @@ var searchIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xm
|
|
18046
18459
|
const icSearchBarCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-search-bar-search){display:block;--divider-height:1.5rem;--ic-input-label-helpertext-padding:var(--ic-space-xs);--border-color:var(--ic-search-bar-outline);--input-bg-color:var(--ic-search-bar-background);--border-color-disabled:var(--ic-search-bar-outline-disabled);--menu-item-text-color:var(--ic-search-bar-dropdown-option-text);--menu-item-desc-text-color:var(--ic-search-bar-dropdown-option-description);--menu-bg-color:var(--ic-search-bar-dropdown-background);--menu-border-color:var(--ic-search-bar-dropdown-outline)}:host(.ic-search-bar-disabled){--ic-input-label-text-color:var(--ic-search-bar-label-disabled);--ic-input-label-helper-text-color:var(--ic-search-bar-subtitle-disabled)}:host(.ic-search-bar-search:hover){--border-color:var(--ic-search-bar-outline-hover)}:host(.ic-search-bar-search:active){--border-color:var(--ic-search-bar-outline-pressed)}:host(.ic-search-bar-search.ic-search-bar-small){--divider-height:1rem}:host(.ic-search-bar-full-width){width:100%}::-moz-placeholder{color:var(--ic-search-bar-placeholder-text);opacity:1}::placeholder{color:var(--ic-search-bar-placeholder-text);opacity:1}input{border:0;border-radius:var(--ic-border-radius);color:var(--ic-search-bar-filled-text);background-color:var(--input-bg-color);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs);caret-color:var(--ic-search-bar-filled-text-cursor)}input:focus{border:0;outline:0}input:disabled::-moz-placeholder{color:var(--ic-search-bar-disabled-text)}input:disabled,input:disabled::placeholder{color:var(--ic-search-bar-disabled-text)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.no-left-pad{padding-left:0}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.clear-button-container{align-items:center;margin-right:var(--ic-space-1px);display:none;visibility:hidden}.clear-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}.clear-button-unfocused *{fill:var(--ic-search-bar-clear-button)}.clear-button:focus,.clear-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button-visible{visibility:visible;display:flex}.search-submit-button-container{display:flex;align-items:center}.search-submit-button-unfocused *{fill:var(--ic-search-bar-filled-icon)}.search-submit-button-disabled *{fill:var(--ic-search-bar-icon-disabled)}.search-submit-button-disabled .ic-tooltip-container{display:none !important}.search-submit-button:focus,.search-submit-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:var(--ic-space-xxs)}.search-submit-button:focus,.search-submit-button:active *{fill:white}.divider{width:var(--ic-border-width);background-color:var(--ic-search-bar-dropdown-divider);height:var(--divider-height)}.menu-container{width:var(--input-width, 20rem);position:relative;top:var(--ic-space-xxxs)}.menu-container.fullwidth{width:100%}.no-results{cursor:not-allowed}.search-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);margin-bottom:calc(-1 * var(--ic-space-1px));margin-right:calc(-1 * var(--ic-space-1px));overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}@media (forced-colors: active){.search-submit-button-unfocused *{fill:canvastext}.search-submit-button-disabled *{fill:GrayText}}";
|
18047
18460
|
var IcSearchBarStyle0 = icSearchBarCss;
|
18048
18461
|
|
18049
|
-
let inputIds$
|
18462
|
+
let inputIds$4 = 0;
|
18050
18463
|
/**
|
18051
18464
|
* @slot helper-text - Content is set as the helper text for the search bar.
|
18052
18465
|
*/
|
@@ -18067,7 +18480,7 @@ class SearchBar {
|
|
18067
18480
|
this.icSearchBarFocus = createEvent(this, "icSearchBarFocus", 7);
|
18068
18481
|
this.icKeydown = createEvent(this, "icKeydown", 7);
|
18069
18482
|
this.hasTimedOut = false;
|
18070
|
-
this.inputId = `ic-search-bar-input-${inputIds$
|
18483
|
+
this.inputId = `ic-search-bar-input-${inputIds$4++}`;
|
18071
18484
|
this.menuCloseFromMenuChangeEvent = false;
|
18072
18485
|
this.menuId = `${this.inputId}-menu`;
|
18073
18486
|
this.preLoad = true;
|
@@ -18585,39 +18998,39 @@ class SearchBar {
|
|
18585
18998
|
const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
|
18586
18999
|
const labelValue = getLabelFromValue(value, options, valueField, labelField);
|
18587
19000
|
renderHiddenInput$1(this.el, value, name, disabledMode);
|
18588
|
-
return (hAsync(Host, { key: '
|
19001
|
+
return (hAsync(Host, { key: '0446a1092d484ef29e0424eb22c6ae00b8fe8a72', class: {
|
18589
19002
|
"ic-search-bar-search": true,
|
18590
19003
|
"ic-search-bar-full-width": fullWidth,
|
18591
19004
|
"ic-search-bar-disabled": disabled,
|
18592
19005
|
"ic-search-bar-small": size === "small",
|
18593
19006
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
18594
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: '
|
19007
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: 'fc32e70f7fa9397bc355774f58b8ab62af231083', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: '32b8c40811415afc37480ed00416fde752704235', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, hAsync("slot", { key: 'be47eb0acd1cde1b3d4f80ae5e4300021fe069d6', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '266d999ac46d480655e325db420850e495c3cae7', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, hAsync("input", { key: 'f9f3b64cd1bf88eeb7a7cd52d9d41240c7afa14f', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
|
18595
19008
|
"no-left-pad": readonly,
|
18596
19009
|
readonly,
|
18597
19010
|
"truncate-value": truncateValue,
|
18598
|
-
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), hAsync("div", { key: '
|
19011
|
+
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), hAsync("div", { key: 'cd71148d381416ce2aac9a4c6899bbbe5077ebb9', class: {
|
18599
19012
|
"clear-button-container": true,
|
18600
19013
|
"clear-button-visible": !!value && !disabledMode && showClearButton,
|
18601
|
-
} }, hAsync("ic-button", { key: '
|
19014
|
+
} }, hAsync("ic-button", { key: '3cf8c824075d6df594b65f7885f664ffce21fca8', id: "clear-button", class: {
|
18602
19015
|
"clear-button": true,
|
18603
19016
|
"clear-button-unfocused": !clearButtonFocused,
|
18604
|
-
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon", theme: clearButtonFocused ? "light" : "dark" }), hAsync("div", { key: '
|
19017
|
+
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon", theme: clearButtonFocused ? "light" : "dark" }), hAsync("div", { key: 'a8dd7dad12686d0d6dac4bde194d0df7eaf04c00', class: "divider" })), hAsync("div", { key: '0d3eb9dff9d6ebbdf4063826077c410256772aed', class: {
|
18605
19018
|
"search-submit-button-container": true,
|
18606
19019
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
18607
|
-
} }, hAsync("ic-button", { key: '
|
19020
|
+
} }, hAsync("ic-button", { key: '7d6a4c3a6f2a63178db90324e6f66804bd74ae07', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
18608
19021
|
"search-submit-button": true,
|
18609
19022
|
"search-submit-button-small": size === "small",
|
18610
19023
|
"search-submit-button-unfocused": !searchSubmitFocused,
|
18611
19024
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
18612
|
-
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon", theme: searchSubmitFocused ? "light" : "dark" }))), hAsync("div", { key: '
|
19025
|
+
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon", theme: searchSubmitFocused ? "light" : "dark" }))), hAsync("div", { key: '7dbb3fd0f8374fffc17c3405e905d7307462a4c9', class: {
|
18613
19026
|
"menu-container": true,
|
18614
19027
|
fullwidth: fullWidth,
|
18615
|
-
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '
|
19028
|
+
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '9af74de47a4042857e8bed7691ce97397bc19f06', class: {
|
18616
19029
|
"no-results": this.hadNoOptions() ||
|
18617
19030
|
(filteredOptions.length === 1 &&
|
18618
19031
|
(filteredOptions[0][labelField] === loadingLabel ||
|
18619
19032
|
filteredOptions[0][labelField] === loadingErrorLabel)),
|
18620
|
-
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), 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: labelField, valueField: valueField, searchBar: true })))), hAsync("div", { key: '
|
19033
|
+
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), 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: labelField, valueField: valueField, searchBar: true })))), hAsync("div", { key: 'cf5b06c06543f839da43f37b3b105a16f2ca37f4', "aria-live": "polite", role: "status", class: "search-results-status" })));
|
18621
19034
|
}
|
18622
19035
|
static get delegatesFocus() { return true; }
|
18623
19036
|
get el() { return getElement(this); }
|
@@ -18701,12 +19114,12 @@ class SectionContainer {
|
|
18701
19114
|
}
|
18702
19115
|
render() {
|
18703
19116
|
const { aligned, fullHeight } = this;
|
18704
|
-
return (hAsync(Host, { key: '
|
19117
|
+
return (hAsync(Host, { key: '7e3838f9957b51b23ee95dac75e4180fcab480e3', class: {
|
18705
19118
|
["aligned-left"]: aligned === "left" || aligned === null,
|
18706
19119
|
["aligned-center"]: aligned === "center",
|
18707
19120
|
["aligned-full-width"]: aligned === "full-width",
|
18708
19121
|
["no-vertical-padding"]: !!fullHeight,
|
18709
|
-
} }, hAsync("slot", { key: '
|
19122
|
+
} }, hAsync("slot", { key: 'aafd106b176cf123f56af5917ef6d04765d95538' })));
|
18710
19123
|
}
|
18711
19124
|
static get style() { return IcSectionContainerStyle0; }
|
18712
19125
|
static get cmpMeta() { return {
|
@@ -18735,7 +19148,7 @@ var Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w
|
|
18735
19148
|
const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative;--ic-input-label-helpertext-padding:var(--ic-space-xs);--menu-max-height:100px;--border-color:var(--ic-select-field-border);--border-color-hover:var(--ic-select-field-border-hover);--border-color-pressed:var(--ic-select-field-border-pressed);--border-color-disabled:var(--ic-select-field-border-disabled);--border-color-error:var(--ic-select-field-border-error);--border-color-error-hover:var(--ic-select-field-border-error-hover);--border-color-error-pressed:var(--ic-select-field-border-error-pressed);--border-color-success:var(--ic-select-field-border-success);--border-color-success-hover:var(--ic-select-field-border-success-hover);--border-color-success-pressed:var(--ic-select-field-border-success-pressed);--border-color-warning:var(--ic-select-field-border-warning);--border-color-warning-hover:var(--ic-select-field-border-warning-hover);--border-color-warning-pressed:var(--ic-select-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-select-field-labe);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle\n );--ic-input-validation-status-text-color:var(--ic-select-state-text);--ic-input-validation-error:var(--ic-select-state-icon-error);--ic-input-validation-warning-icon-color:var(--ic-select-state-icon-warning);--ic-input-validation-success-icon-color:var(--ic-select-state-icon-success);--menu-item-text-color:var(--ic-select-list-option-text);--menu-bg-color:var(--ic-select-list-option-background);--menu-border-color:var(--ic-select-dropdown-list-border)}:host(.ic-select-disabled){--ic-input-label-text-color:var(--ic-select-field-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle-disabled\n )}:host(.ic-select-full-width){width:100%}ic-input-component-container.menu-open{--border-color:var(--ic-select-field-border-pressed)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs)}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-select-field-background);color:var(--ic-select-content-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:var(--ic-select-mobile-dropdown-icon);caret-color:var(--ic-select-input-field-text-cursor)}select option,.select-option-selected{color:var(--ic-select-list-option-text)}select:disabled{color:var(--ic-select-content-text-disabled);background-image:var(--ic-select-mobile-dropdown-icon-disabled)}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none;background-color:var(--ic-select-field-background);color:var(--ic-select-content-text)}.select-input:focus{outline:none}.select-input[disabled]{pointer-events:none}:host(.ic-select-searchable) .select-input{cursor:auto}.select-input.with-clear-button{padding-right:0}.value-text{max-width:calc(100% - (var(--ic-space-lg) + var(--ic-space-xxs)));box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:0 !important}.value-text.with-clear-button{padding-right:calc(var(--ic-space-xl) + var(--ic-space-xs))}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xxs);color:var(--ic-select-expand-icon-color)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.ic-select-disabled) .expand-icon,:host(.ic-select-disabled) .expand-icon>svg>path{color:var(--ic-select-disabled-expand-icon-color)}:host(.ic-select-searchable) .expand-icon{padding-left:0;height:2.25rem}:host(.ic-select-searchable) .expand-icon>svg{height:2.25rem;padding:0 calc(var(--ic-space-xxxs) + var(--ic-space-xxs)) 0\n var(--ic-space-xxs)}:host(.ic-select-searchable:not(.ic-select-disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-select-expand-icon-color)}.expand-icon-open,:host(.ic-select-searchable) .expand-icon-open{transform:rotateX(180deg)}.placeholder{color:var(--ic-select-content-placeholder-text)}:host(.ic-select-disabled.ic-select-searchable) .select-input::-moz-placeholder{color:var(--ic-select-content-text-disabled)}:host(.ic-select-disabled) .value-text,:host(.ic-select-disabled) .select-input,:host(.ic-select-disabled) .placeholder,:host(.ic-select-disabled.ic-select-searchable) .select-input::placeholder{color:var(--ic-select-content-text-disabled)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;align-items:center}.divider{width:var(--ic-space-1px);background-color:var(--ic-select-content-divider);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}:host(.ic-select-small) .divider{height:var(--ic-space-md)}:host(.ic-select-large) .divider{height:var(--ic-space-xl)}.clear-button{color:var(--ic-select-clear-button);position:absolute;right:calc(var(--ic-space-xl) + var(--ic-space-xxs) - var(--ic-space-1px));border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}.clear-button:focus,.clear-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button.searchable{position:static}.searchable-select-results-status,.multi-select-selected-count{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}::slotted([slot=\"icon\"]){fill:var(--ic-select-content-placeholder-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-select-content-text)}.readonly ::slotted([slot=\"icon\"]){padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
|
18736
19149
|
var IcSelectStyle0 = icSelectCss;
|
18737
19150
|
|
18738
|
-
let inputIds$
|
19151
|
+
let inputIds$3 = 0;
|
18739
19152
|
const MUTABLE_ATTRIBUTES$1 = [...IC_INHERITED_ARIA, "tabindex", "title"];
|
18740
19153
|
/**
|
18741
19154
|
* @slot helper-text - Content is set as the helper text for the select.
|
@@ -18759,7 +19172,7 @@ class Select {
|
|
18759
19172
|
this.hasTimedOut = false;
|
18760
19173
|
this.inheritedAttributes = {};
|
18761
19174
|
this.initialOptionsEmpty = false;
|
18762
|
-
this.inputId = `ic-select-input-${inputIds$
|
19175
|
+
this.inputId = `ic-select-input-${inputIds$3++}`;
|
18763
19176
|
this.menuId = `${this.inputId}-menu`;
|
18764
19177
|
this.retryButtonClick = false;
|
18765
19178
|
this.searchableMenuItemSelected = false;
|
@@ -19521,18 +19934,18 @@ class Select {
|
|
19521
19934
|
(searchable
|
19522
19935
|
? !!searchableSelectInputValue
|
19523
19936
|
: !!currValue && !loading && showClearButton);
|
19524
|
-
return (hAsync(Host, { key: '
|
19937
|
+
return (hAsync(Host, { key: '7b99a667632c04cccbe465f90c4f5a9436ed04e2', class: {
|
19525
19938
|
"ic-select-disabled": disabled,
|
19526
19939
|
"ic-select-searchable": searchable,
|
19527
19940
|
[`ic-select-${size}`]: size !== "medium",
|
19528
19941
|
"ic-select-full-width": fullWidth,
|
19529
19942
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
19530
|
-
}, onBlur: this.onBlur }, hAsync("ic-input-container", { key: '
|
19943
|
+
}, onBlur: this.onBlur }, hAsync("ic-input-container", { key: 'be3746b8ac59d37562999157b5b70fbc5fb6cc18', readonly: readonly }, !hideLabel && (hAsync("ic-input-label", { key: 'ccb2417565197ba5d71ce4ed25c2951a042bdcab', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, hAsync("slot", { key: 'eec64f5e410f4bbdfbea7afd23f8fd3bc4592429', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '1b059596836c96987edadd6b0ec5a46c057e5fb6', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed$1(this.el, "icon") &&
|
19531
19944
|
!disabled &&
|
19532
|
-
(!readonly || !!value) && (hAsync("span", { key: '
|
19945
|
+
(!readonly || !!value) && (hAsync("span", { key: '594527db6666a07c89038b173b1abd7e4191efc5', slot: "left-icon", class: {
|
19533
19946
|
readonly,
|
19534
19947
|
"has-value": !!value,
|
19535
|
-
} }, hAsync("slot", { key: '
|
19948
|
+
} }, hAsync("slot", { key: '5b982f545b7a35f2a2b16ca15278de2c6decfd00', name: "icon" }))), readonly ? (hAsync("ic-typography", null, hAsync("p", null, valueLabelString))) : isMobileOrTablet() && !multiple ? (hAsync("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), hAsync("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => option.children ? (hAsync("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option))))) : searchable ? (hAsync("div", { class: "searchable-select-container" }, hAsync("input", { class: {
|
19536
19949
|
"select-input": true,
|
19537
19950
|
"with-clear-button": !!searchableSelectInputValue,
|
19538
19951
|
}, role: "combobox", autocomplete: "off", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": `${open}`, "aria-invalid": invalid, "aria-required": `${required}`, "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: inputId, value: searchableSelectInputValue || undefined, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, form: form }), isClearable && (hAsync("div", { class: "clear-button-container" }, hAsync("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": searchableSelectInputValue &&
|
@@ -19552,13 +19965,13 @@ class Select {
|
|
19552
19965
|
} }, valueLabelString || placeholder), hAsync("div", { class: "select-input-end" }, isClearable && hAsync("div", { class: "divider" }), hAsync("span", { class: {
|
19553
19966
|
"expand-icon": true,
|
19554
19967
|
"expand-icon-open": open,
|
19555
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (hAsync("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (hAsync("ic-menu", { key: '
|
19968
|
+
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (hAsync("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (hAsync("ic-menu", { key: '841eb3f04181992c0b00b033d19fe3650544c0ad', class: {
|
19556
19969
|
"no-results": loading ||
|
19557
19970
|
hasTimedOut ||
|
19558
19971
|
((_a = noOptions === null || noOptions === void 0 ? void 0 : noOptions[0]) === null || _a === void 0 ? void 0 : _a.label) === emptyOptionListText,
|
19559
19972
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
19560
19973
|
? this.searchableSelectElement
|
19561
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (hAsync("div", { key: '
|
19974
|
+
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (hAsync("div", { key: 'fecc09136ac127471d4f70ba69d3a26ba0a0a602', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: 'b03f8b488a2b31686e1fa7150c0a407c3533accf', class: { "menu-open": open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: inputId })))));
|
19562
19975
|
}
|
19563
19976
|
static get delegatesFocus() { return true; }
|
19564
19977
|
get el() { return getElement(this); }
|
@@ -20086,7 +20499,7 @@ class SideNavigation {
|
|
20086
20499
|
isAppNameSubtitleVariant,
|
20087
20500
|
appTitle: appTitle || "",
|
20088
20501
|
};
|
20089
|
-
return (hAsync(Host, { key: '
|
20502
|
+
return (hAsync(Host, { key: '3a4a405aa30061588d0ac895db6e59f3c6b10636', class: {
|
20090
20503
|
"xs-menu-open": menuOpen && isSDevice,
|
20091
20504
|
"xs-menu-close": !menuOpen && isSDevice,
|
20092
20505
|
"sm-collapsed": !isSDevice && !menuExpanded,
|
@@ -20095,12 +20508,12 @@ class SideNavigation {
|
|
20095
20508
|
[`ic-side-navigation-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
20096
20509
|
["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
|
20097
20510
|
["ic-side-navigation-inline"]: !!inline,
|
20098
|
-
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '
|
20511
|
+
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '158fd91a6728e919125eef39fe46a03efe9b0728', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: 'd77452616f1f0bd6c49e0c0e28ea20474f70eadc', class: "side-navigation-inner" }, isSlotUsed$1(this.el, "primary-navigation") && (hAsync("nav", { key: '4d8dc4620dbe4288f92ac43a341104b989a5b0c6', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { key: 'acd709a0b58914936c593e5ed82d045b01a19ef9', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { key: '6c754d54f09ad1b8264817d5c141fa9bdc63b7fd', class: "navigation-list" }, hAsync("slot", { key: '7f5de9f4adae9d6e0f9a24c095aca5d64049a0b4', name: "primary-navigation" }))))), hAsync("div", { key: 'e0e68cefffb5a521c0a051c4af87c28fae21f922', class: {
|
20099
20512
|
["bottom-wrapper"]: true,
|
20100
20513
|
["classification-spacing"]: hasClassificationBanner(),
|
20101
|
-
} }, isSlotUsed$1(this.el, "secondary-navigation") && (hAsync("nav", { key: '
|
20514
|
+
} }, isSlotUsed$1(this.el, "secondary-navigation") && (hAsync("nav", { key: '2e72b5c8f510d5fb599c5805a37da30962246011', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { key: 'c661911fe2c13a2ddd477e69895ad3aa4f8d84b2', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { key: '0939467dc8307899228ed8391a055ace7fe3d7f6', class: "navigation-list" }, hAsync("slot", { key: 'e9e954d9fd1f909e2ff2112b4b27f0755e237372', name: "secondary-navigation" })))), hAsync("div", { key: 'e7de76b5fa8ba07f3d09faf9d551aea352a4a1eb', class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", { key: '7031b8cd739921ebad638e6130b010b32aa8a14c' }), displayExpandBtn && (hAsync("button", { key: '00aebdc20f176a5c850b5d133c2c240ba0e31574', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { key: '8e40643e70455334b03973942c86a3c7ecf84b63', class: "app-status-wrapper" }, status && (hAsync("div", { key: '3634f6bd04cb1cd8c7b5b60b6635b2851209169c', class: {
|
20102
20515
|
["app-status"]: true,
|
20103
|
-
} }, hAsync("ic-typography", { key: '
|
20516
|
+
} }, hAsync("ic-typography", { key: 'b39a8f9fe15256bd4604e1edf4dba0f0ccead9a3', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (hAsync("ic-typography", { key: '8b5473fedef7d77f42cffd1471715518f2dfd43b', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
|
20104
20517
|
}
|
20105
20518
|
get el() { return getElement(this); }
|
20106
20519
|
static get watchers() { return {
|
@@ -20164,11 +20577,11 @@ class Skeleton {
|
|
20164
20577
|
width: el.style.width || (variant === "circle" ? "25px" : "260px"),
|
20165
20578
|
}
|
20166
20579
|
: undefined;
|
20167
|
-
return (hAsync(Host, { key: '
|
20580
|
+
return (hAsync(Host, { key: 'bc26af3bed291b88d9eba417aba8b1bd20d02071', class: {
|
20168
20581
|
skeleton: true,
|
20169
20582
|
"ic-skeleton-circle": variant === "circle",
|
20170
20583
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20171
|
-
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: '
|
20584
|
+
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: 'b7e19d9b7fc55069b1a5a3d82698378fb2a4fff4' })));
|
20172
20585
|
}
|
20173
20586
|
get el() { return getElement(this); }
|
20174
20587
|
static get style() { return IcSkeletonStyle0; }
|
@@ -20225,9 +20638,9 @@ class SkipLink {
|
|
20225
20638
|
}
|
20226
20639
|
render() {
|
20227
20640
|
const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
|
20228
|
-
return (hAsync(Host, { key: '
|
20641
|
+
return (hAsync(Host, { key: 'a6229f2e79e16d35283ae63e617e5dbee39f1a31', class: {
|
20229
20642
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20230
|
-
} }, hAsync("ic-link", { key: '
|
20643
|
+
} }, hAsync("ic-link", { key: 'f54ffd72b46d9124023ef6bfe0cf60f7b1091c25', class: {
|
20231
20644
|
"display-top": !inline,
|
20232
20645
|
"full-width": !!fullWidth,
|
20233
20646
|
"show-background": !transparentBackground,
|
@@ -20292,12 +20705,12 @@ class StatusTag {
|
|
20292
20705
|
}
|
20293
20706
|
render() {
|
20294
20707
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
20295
|
-
return (hAsync(Host, { key: '
|
20708
|
+
return (hAsync(Host, { key: '0ff5d3de133c300d744be1d57a42e5a393735572', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, hAsync("strong", { key: '09e1eeedac25e8128fe42a6fb5435dc06dc7d331', class: {
|
20296
20709
|
["tag"]: true,
|
20297
20710
|
[`${variant}-${status}`]: true,
|
20298
20711
|
["outlined"]: variant === "outlined",
|
20299
20712
|
[`${size}`]: true,
|
20300
|
-
} }, hAsync("ic-typography", { key: '
|
20713
|
+
} }, hAsync("ic-typography", { key: '8543c7387e3337ec720eecaf3dbebbc09edfcb6d', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, hAsync("span", { key: '3673500383906cd09f4f409abff0c2aa12a0c30f' }, label)))));
|
20301
20714
|
}
|
20302
20715
|
static get style() { return IcStatusTagStyle0; }
|
20303
20716
|
static get cmpMeta() { return {
|
@@ -20381,29 +20794,29 @@ class Step {
|
|
20381
20794
|
// STATUS ICON FOR COMPACT STEP
|
20382
20795
|
let statusIcon;
|
20383
20796
|
if (this.type === "completed" || this.compactStepStyling === "completed") {
|
20384
|
-
statusIcon = (hAsync("span", { key: '
|
20797
|
+
statusIcon = (hAsync("span", { key: '8831990f0422a89e28d83c33bf98e6f5e47d09a6', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
20385
20798
|
}
|
20386
20799
|
else if (this.type === "disabled" ||
|
20387
20800
|
this.compactStepStyling === "disabled") {
|
20388
|
-
statusIcon = (hAsync("span", { key: '
|
20801
|
+
statusIcon = (hAsync("span", { key: 'aedd81eacbe9ca6a4e331142d09053926b00dcd4', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
20389
20802
|
}
|
20390
20803
|
// COMPACT STEP COMPONENT
|
20391
|
-
const compactStep = (hAsync("div", { key: '
|
20804
|
+
const compactStep = (hAsync("div", { key: '384c84c08600c48982959a9a19a54e638bdd76a9', class: {
|
20392
20805
|
["step"]: true,
|
20393
20806
|
["current"]: !!this.current,
|
20394
20807
|
[`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
|
20395
20808
|
["disabled"]: this.type === "disabled" || this.compactStepStyling === "disabled",
|
20396
|
-
} }, hAsync("ic-loading-indicator", { key: '
|
20809
|
+
} }, hAsync("ic-loading-indicator", { key: 'fb3373a16a3519a77689395882b77b07f84d00b2', class: {
|
20397
20810
|
"compact-step-progress-indicator": true,
|
20398
20811
|
"not-required": this.type === "disabled" ||
|
20399
20812
|
this.compactStepStyling === "disabled",
|
20400
|
-
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), hAsync("div", { key: '
|
20813
|
+
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), hAsync("div", { key: 'e404a8d7fd56af5a6c3b38e7dd146ccbf6c0a921', class: "heading-area" }, hAsync("ic-typography", { key: 'e2d2d3a3b2e2d1080a500f06c11fd2b19305e733', variant: "h4", class: "heading" }, this.heading), hAsync("div", { key: 'a04253bd63d0e9cbc2ebd2ccc6c6cf1d684611b4', class: "info-line" }, hAsync("ic-typography", { key: '35699c8fd101642bcedacbb0e636f5f5e72d87d0', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, hAsync("span", { key: '0bc9e891b17f66419150733982711999983197a1', class: "visually-hidden" }, " steps")), (this.subheading ||
|
20401
20814
|
this.type === "completed" ||
|
20402
20815
|
this.type === "disabled" ||
|
20403
20816
|
(this.variant === "compact" &&
|
20404
20817
|
!!this.compactStepStyling &&
|
20405
20818
|
this.compactStepStyling !== "active") ||
|
20406
|
-
!!this.status) && (hAsync("div", { key: '
|
20819
|
+
!!this.status) && (hAsync("div", { key: 'ce2356ecbc86e3805ddf84d7fa785f2a1495ef60', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (hAsync("ic-typography", { key: 'f9ada98e6d45ff5dcd8784dbb24c4402b7bd378e', variant: "caption" }, this.subheading !== null && isPropDefined$1(this.subheading)
|
20407
20820
|
? this.subheading
|
20408
20821
|
: this.type === "disabled" ||
|
20409
20822
|
(this.variant === "compact" &&
|
@@ -20416,26 +20829,26 @@ class Step {
|
|
20416
20829
|
// ICON FOR DEFAULT STEP
|
20417
20830
|
let icon;
|
20418
20831
|
if (this.type !== "completed") {
|
20419
|
-
icon = (hAsync("ic-typography", { key: '
|
20832
|
+
icon = (hAsync("ic-typography", { key: '5b3734765f9d5e5db8f0b2818ffd471817a96cc5', variant: "subtitle-small" }, hAsync("span", { key: 'd4d3ffd87c95a0b98fce8a437a6afb3f4639993f', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
20420
20833
|
}
|
20421
20834
|
else {
|
20422
|
-
icon = (hAsync("div", { key: '
|
20835
|
+
icon = (hAsync("div", { key: '42447f9ec070e7e284aecfd49983259650d9abd3', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: '4c7469fba1cf544d1d48c209c25db0bcaca14309', class: "check-icon", innerHTML: checkIcon })));
|
20423
20836
|
}
|
20424
20837
|
// STEP CONNECT FOR DEFAULT STEP
|
20425
|
-
const partialBar = this.type === "current" && (hAsync("div", { key: '
|
20426
|
-
const finalStep = !this.lastStep && (hAsync("div", { key: '
|
20838
|
+
const partialBar = this.type === "current" && (hAsync("div", { key: '800764f8ca21ac1118c77ed860a163b3103fe62e', class: "step-connect-inner" }));
|
20839
|
+
const finalStep = !this.lastStep && (hAsync("div", { key: 'e5c0f38f7140800d60e5046d77d6cde34c5e7bd5', class: {
|
20427
20840
|
["step-connect"]: true,
|
20428
20841
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
20429
20842
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
20430
20843
|
} }, partialBar));
|
20431
20844
|
// DEFAULT STEP COMPONENT
|
20432
|
-
const defaultStep = (hAsync("div", { key: '
|
20845
|
+
const defaultStep = (hAsync("div", { key: 'cdfd23786b75a88fe1630318d8a1369a89090544', class: {
|
20433
20846
|
["step"]: true,
|
20434
20847
|
[`${this.type}`]: true,
|
20435
|
-
} }, hAsync("div", { key: '
|
20848
|
+
} }, hAsync("div", { key: 'c83625070a1ffe89fc53f66d55f06c994f868570', class: "step-top" }, hAsync("div", { key: 'a6758050efffeb98522092fefa9b1261b3d9217b', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (hAsync("div", { key: '3ecf8d32da66fe336b7c0540c47726d060e8eaf8', class: "heading-area" }, this.heading && (hAsync("ic-typography", { key: '79557ec3d9a26be0fee2253a58c2f09132322017', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (hAsync("ic-typography", { key: 'f5a90f68ebc0721fec936541824ab79b415f566d', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined$1(this.subheading)
|
20436
20849
|
? this.subheading
|
20437
20850
|
: stepStatus))))));
|
20438
|
-
return (hAsync(Host, { key: '
|
20851
|
+
return (hAsync(Host, { key: '0cb6b6649c9af4565e5f663131b800a79b9b040d', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
|
20439
20852
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
20440
20853
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
20441
20854
|
[`ic-step-${this.variant}`]: true,
|
@@ -20716,11 +21129,11 @@ class Stepper {
|
|
20716
21129
|
checkResizeObserver$1(this.runResizeObserver);
|
20717
21130
|
}
|
20718
21131
|
render() {
|
20719
|
-
return (hAsync(Host, { key: '
|
21132
|
+
return (hAsync(Host, { key: 'a4b87028ee91e542fd7d2b66689e8fabe33a9358', class: {
|
20720
21133
|
[`ic-stepper-${this.variant}`]: true,
|
20721
21134
|
["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
|
20722
21135
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
20723
|
-
} }, hAsync("ul", { key: '
|
21136
|
+
} }, hAsync("ul", { key: '65236609f6b2109bba5bbb88d084f9fd4e88d48a', class: "step-item-list" }, hAsync("slot", { key: '2b542740488d922dca26cabda564db76de1ffd82' }))));
|
20724
21137
|
}
|
20725
21138
|
get el() { return getElement(this); }
|
20726
21139
|
static get watchers() { return {
|
@@ -20755,7 +21168,7 @@ class Stepper {
|
|
20755
21168
|
const icSwitchCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;--ic-input-label-text-color:var(--ic-switch-label);--ic-input-label-helper-text-color:var(--ic-switch-help-text);--ic-input-label-helpertext-padding:var(--ic-space-xs)}input{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ic-switch-container{display:flex;flex-wrap:wrap;align-items:center;cursor:pointer}.ic-switch-label{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-xs)}.ic-switch-label-small{margin-bottom:var(--ic-space-xs)}.ic-switch-toggle{display:flex;align-items:center;justify-content:space-around;width:4rem;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-switch-unchecked-bg);border:var(--ic-border-width) solid var(--ic-switch-unchecked);box-sizing:border-box;transition:var(--ic-transition-duration-fast);margin-left:var(--ic-space-xxs)}.ic-switch-line-break{flex:1 0 100%}.ic-switch-toggle::before{content:\"\";width:1.333rem;height:1.333rem;border-radius:50%;position:absolute;z-index:2;top:50%;left:0.333rem;transform:translate(0, -50%);background-color:var(--ic-switch-unchecked);transition:var(--ic-transition-duration-slow)}.ic-switch-icon{display:inline-block;vertical-align:middle;width:0.625rem;height:0.625rem}.ic-switch-icon-circle,.ic-switch-icon-line{stroke-width:1}.ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off)}.ic-switch-icon-line{stroke:var(--ic-switch-indicator-on)}@media (prefers-reduced-motion: reduce){.ic-switch-toggle::before{transition-duration:0ms}}.ic-switch-input:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg);border:none}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-switch-checked)}.ic-switch-input:not([disabled])+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-hover)}.ic-switch-input:not([disabled])+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-pressed)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-hover)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-pressed)}.ic-switch-input:focus:not([disabled])+.ic-switch-toggle,.ic-switch-input:focus-visible:not([disabled])+.ic-switch-toggle{box-shadow:var(--ic-border-focus)}.ic-switch-disabled{cursor:default}.ic-switch-disabled .ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off-disabled)}.ic-switch-disabled .ic-switch-icon-line{stroke:var(--ic-switch-indicator-on-disabled)}.ic-switch-input:disabled+.ic-switch-toggle{background-color:var(--ic-switch-unchecked-bg-disabled);border:var(--ic-space-1px) dashed var(--ic-switch-unchecked-outline-disabled)}.ic-switch-input:disabled+.ic-switch-toggle::before{background-color:var(--ic-switch-unchecked-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg-disabled);border:var(--ic-border-width) dashed\n var(--ic-switch-checked-outline-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle::before{background-color:var(--ic-switch-checked)}.ic-switch-small .ic-switch-toggle{width:var(--ic-space-xxl);height:var(--ic-space-lg)}.ic-switch-small .ic-switch-toggle::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}.ic-switch-small .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-lg), -50%)}::slotted([slot=\"right-adornment\"]){margin-left:var(--ic-space-sm);fill:var(--ic-switch-icon)}@media (forced-colors: active){.ic-switch-toggle::before,.ic-switch-input:checked+.ic-switch-toggle{border:var(--ic-border-hc)}.ic-switch-input:focus+.ic-switch-toggle{border-color:highlight;outline:var(--ic-space-xxxs) solid highlight}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(calc(var(--ic-space-xl) - 0.125rem), -50%)}.ic-switch-input:disabled+.ic-switch-toggle,.ic-switch-input:disabled:checked+.ic-switch-toggle,.ic-switch-input:disabled+.ic-switch-toggle::before{border-color:GrayText}.ic-switch-disabled .ic-switch-icon-circle,.ic-switch-disabled .ic-switch-icon-line{stroke:GrayText}}";
|
20756
21169
|
var IcSwitchStyle0 = icSwitchCss;
|
20757
21170
|
|
20758
|
-
let inputIds$
|
21171
|
+
let inputIds$2 = 0;
|
20759
21172
|
/**
|
20760
21173
|
* @slot helper-text - Content is set as the helper text for the switch.
|
20761
21174
|
* @slot right-adornment - Content is placed to the right of switch.
|
@@ -20766,7 +21179,7 @@ class Switch {
|
|
20766
21179
|
this.icBlur = createEvent(this, "icBlur", 7);
|
20767
21180
|
this.icChange = createEvent(this, "icChange", 7);
|
20768
21181
|
this.icFocus = createEvent(this, "icFocus", 7);
|
20769
|
-
this.inputId = `ic-switch-input-${inputIds$
|
21182
|
+
this.inputId = `ic-switch-input-${inputIds$2++}`;
|
20770
21183
|
this.checkedState = false;
|
20771
21184
|
this.initiallyChecked = this.checked;
|
20772
21185
|
/**
|
@@ -20850,16 +21263,16 @@ class Switch {
|
|
20850
21263
|
const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
|
20851
21264
|
const isSmall = size === "small";
|
20852
21265
|
renderHiddenInput$1(this.el, checkedState ? value : "", name, disabled);
|
20853
|
-
return (hAsync(Host, { key: '
|
21266
|
+
return (hAsync(Host, { key: '4d5830cca94b2dd699ad0f906dc1095f267675d4', class: {
|
20854
21267
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20855
|
-
} }, hAsync("label", { key: '
|
21268
|
+
} }, hAsync("label", { key: '61c6e73d0435b8911566ac628313f6a44c67d297', class: {
|
20856
21269
|
"ic-switch-container": true,
|
20857
21270
|
"ic-switch-disabled": !!disabled,
|
20858
21271
|
"ic-switch-small": isSmall,
|
20859
|
-
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '
|
21272
|
+
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: 'e8be8d74b3183a3b4a8ab53e7f38e0eda8d8b4e0', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
|
20860
21273
|
"ic-switch-label": true,
|
20861
21274
|
"ic-switch-label-small": isSmall,
|
20862
|
-
} }, hAsync("slot", { key: '
|
21275
|
+
} }, hAsync("slot", { key: 'c26f98190a6dac0fcbcac0e76d512de045ed728e', name: "helper-text", slot: "helper-text" }))), !hideLabel && hAsync("span", { key: '138bab016cba136f3f5bf5f8ed04fef823dfa7c1', class: "ic-switch-line-break" }), hAsync("input", { key: 'e1ee536f3683fbf23a874fa3b33099107df38636', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText$1(this.el, inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), hAsync("span", { key: '1148ac346b57bac965f562511a4d05e480bddd6c', class: "ic-switch-toggle" }, hAsync("svg", { key: '78508c5b97bf67b0e9e3b23911bb53aaeeb7271c', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("line", { key: 'c32e2f0c7d95be778ba673085d95b03275e17d42', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), hAsync("svg", { key: 'ba5c613c591a7d1b7d9c11682b3db371449bf9e6', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { key: 'c15318f31f8b84ac4d38488ab90808ba8fd6886c', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), hAsync("slot", { key: '9ea7ffdc5e061674be43b1f5a06e262acc7ebd3a', name: "right-adornment" }))));
|
20863
21276
|
}
|
20864
21277
|
static get delegatesFocus() { return true; }
|
20865
21278
|
get el() { return getElement(this); }
|
@@ -20982,13 +21395,13 @@ class Tab {
|
|
20982
21395
|
}
|
20983
21396
|
render() {
|
20984
21397
|
const { disabled, selected, theme, monochrome, handleClick, handleFocus, handleMouseDown, } = this;
|
20985
|
-
return (hAsync(Host, { key: '
|
21398
|
+
return (hAsync(Host, { key: 'fe6e517a696ed23c6fb64028d617997439ebbac6', class: {
|
20986
21399
|
["with-transition"]: !this.isInitialRender,
|
20987
21400
|
["ic-tab-selected"]: !!selected,
|
20988
21401
|
["ic-tab-disabled"]: !!disabled,
|
20989
21402
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20990
21403
|
["ic-tab-monochrome"]: !!monochrome,
|
20991
|
-
}, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed$1(this.el, "icon") && hAsync("slot", { key: '
|
21404
|
+
}, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed$1(this.el, "icon") && hAsync("slot", { key: '9c2bf173facd6f4b4fa96824bb14db06a2b97c6b', name: "icon" }), hAsync("ic-typography", { key: 'f1d4732d8f5ad9f198f2da6c08c3717731dcd8da', class: "ic-tab-label", variant: "label" }, hAsync("span", { key: '9f993fe757e86acb507a58259e47e507a5feddc3' }, hAsync("slot", { key: '2bfe6c474802a62771ce58947305f0b71db1803d' }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '23c6074e338df9e72b77b5449938f61f9ee042a0', name: "badge" })));
|
20992
21405
|
}
|
20993
21406
|
get el() { return getElement(this); }
|
20994
21407
|
static get watchers() { return {
|
@@ -21237,7 +21650,7 @@ class TabContext {
|
|
21237
21650
|
}
|
21238
21651
|
}
|
21239
21652
|
render() {
|
21240
|
-
return hAsync("slot", { key: '
|
21653
|
+
return hAsync("slot", { key: 'a0fd989c3705d70d9bc2d1746dcce7f3df79c0d0' });
|
21241
21654
|
}
|
21242
21655
|
get el() { return getElement(this); }
|
21243
21656
|
static get watchers() { return {
|
@@ -21283,11 +21696,11 @@ class TabGroup {
|
|
21283
21696
|
}
|
21284
21697
|
render() {
|
21285
21698
|
const { inline, theme, label, monochrome } = this;
|
21286
|
-
return (hAsync(Host, { key: '
|
21699
|
+
return (hAsync(Host, { key: '907693650fa274e54826ca116016e8bea75aa29c', role: "tablist", "aria-label": label, class: {
|
21287
21700
|
["ic-tab-group-inline"]: !!inline,
|
21288
21701
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21289
21702
|
["ic-tab-group-monochrome"]: !!monochrome,
|
21290
|
-
} }, hAsync("ic-horizontal-scroll", { key: '
|
21703
|
+
} }, hAsync("ic-horizontal-scroll", { key: '94a5fd18b222a07d6119c6bc291522b12aaf91f3', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, hAsync("div", { key: 'a81bf05bd2e9d2d079a9b05899da06c6a27cb231', class: "tabs-container" }, hAsync("slot", { key: '434bc2798a1f471d7365a9854254f82bafa3c2d5' })))));
|
21291
21704
|
}
|
21292
21705
|
static get delegatesFocus() { return true; }
|
21293
21706
|
static get style() { return IcTabGroupStyle0; }
|
@@ -21330,10 +21743,10 @@ class TabPanel {
|
|
21330
21743
|
}
|
21331
21744
|
render() {
|
21332
21745
|
const { active, theme } = this;
|
21333
|
-
return (hAsync(Host, { key: '
|
21746
|
+
return (hAsync(Host, { key: '51756c01996190f5a90e7018a2146f6e27e6185a', class: {
|
21334
21747
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21335
21748
|
"ic-tab-panel-hidden": !active,
|
21336
|
-
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '
|
21749
|
+
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: 'fbe0b579017645beeb19d419f1ccf2fcde4c51e1' }, hAsync("slot", { key: '482a66418dc7c89364da609e03f544f5b71d9849' }))));
|
21337
21750
|
}
|
21338
21751
|
get el() { return getElement(this); }
|
21339
21752
|
static get style() { return IcTabPanelStyle0; }
|
@@ -21357,7 +21770,7 @@ class TabPanel {
|
|
21357
21770
|
const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-helpertext-padding:var(--ic-space-xs);--border-color:var(--ic-text-field-border-neutral);--border-color-hover:var(--ic-text-field-border-neutral-hover);--border-color-pressed:var(--ic-text-field-border-neutral-pressed);--border-color-disabled:var(--ic-text-field-border-disabled);--border-color-error:var(--ic-text-field-border-error);--border-color-error-hover:var(--ic-text-field-border-error-hover);--border-color-error-pressed:var(--ic-text-field-border-error-pressed);--border-color-success:var(--ic-text-field-border-success);--border-color-success-hover:var(--ic-text-field-border-success-hover);--border-color-success-pressed:var(--ic-text-field-border-success-pressed);--border-color-warning:var(--ic-text-field-border-warning);--border-color-warning-hover:var(--ic-text-field-border-warning-hover);--border-color-warning-pressed:var(--ic-text-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-text-field-label);--ic-input-label-helper-text-color:var(--ic-text-field-subtitle);--ic-input-validation-status-text-color:var(--ic-text-field-state-text);--ic-input-validation-error:var(--ic-text-field-state-icon-error);--ic-input-validation-warning-icon-color:var(\n --ic-text-field-state-icon-warning\n );--ic-input-validation-success-icon-color:var(\n --ic-text-field-state-icon-success\n );--ic-input-component-container-success-icon-inline-color:var(\n --ic-text-field-state-icon-success\n )}:host(.ic-text-field-disabled){--ic-input-label-text-color:var(--ic-text-field-label-disabled);--ic-input-label-helper-text-color:var(--ic-text-field-subtitle-disabled);--text-field-placeholder-color:var(\n --ic-text-field-text-area-placeholder-text-disabled\n )}:host(.ic-text-field-full-width){width:100%}::-moz-placeholder{color:var(\n --text-field-placeholder-color,\n var(--ic-text-field-placeholder-text)\n );opacity:1}::placeholder{color:var(\n --text-field-placeholder-color,\n var(--ic-text-field-placeholder-text)\n );opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);color:var(--text-field-text-color, var(--ic-text-field-text));background-color:var(--input-bg-color, var(--ic-text-field-background));line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs);caret-color:var(\n --text-field-typing-cursor,\n var(--ic-text-field-typing-cursor)\n )}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(\n --text-field-disabled-text-color,\n var(--ic-text-field-text-disabled)\n )}input.readonly,textarea.readonly{color:var(--ic-text-field-read-only-input-text-internal);background:transparent}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.char-count-text{--ic-typography-color:var(--ic-text-field-character-limit);padding-right:var(--ic-space-xxxs)}:host(.ic-text-field-disabled) .char-count-text{--ic-typography-color:var(--ic-text-field-character-limit-disabled)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-text-field-text-disabled)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-text-field-input-internal-icon)}.char-count{margin-right:calc(-1 * var(--ic-space-xxxs))}.remaining-char-count-desc{position:absolute;left:-9999px}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
|
21358
21771
|
var IcTextFieldStyle0 = icTextFieldCss;
|
21359
21772
|
|
21360
|
-
let inputIds = 0;
|
21773
|
+
let inputIds$1 = 0;
|
21361
21774
|
const MUTABLE_ATTRIBUTES = [...IC_INHERITED_ARIA, "title"];
|
21362
21775
|
/**
|
21363
21776
|
* @slot helper-text - Content is set as the helper text for the text field.
|
@@ -21427,7 +21840,7 @@ class TextField {
|
|
21427
21840
|
/**
|
21428
21841
|
* The ID for the input.
|
21429
21842
|
*/
|
21430
|
-
this.inputId = `ic-text-field-input-${inputIds++}`;
|
21843
|
+
this.inputId = `ic-text-field-input-${inputIds$1++}`;
|
21431
21844
|
/**
|
21432
21845
|
* A hint to the browser for which keyboard to display.
|
21433
21846
|
* Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
|
@@ -21724,14 +22137,14 @@ class TextField {
|
|
21724
22137
|
hiddenInput
|
21725
22138
|
? renderHiddenInput$1(this.el, value, name, disabledMode)
|
21726
22139
|
: removeHiddenInput(this.el);
|
21727
|
-
return (hAsync(Host, { key: '
|
22140
|
+
return (hAsync(Host, { key: 'af9f4dab9e78765b8e1e578d57783e5487d83f6b', class: {
|
21728
22141
|
"ic-text-field-full-width": fullWidth,
|
21729
22142
|
"ic-text-field-disabled": disabledMode,
|
21730
22143
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21731
|
-
} }, hAsync("ic-input-container", { key: '
|
22144
|
+
} }, hAsync("ic-input-container", { key: '7417dcc2f53f877899b713093e81a4db38c394c7', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: '36ae0e2a6a99024c0b8fbd141519dcd4d5390e6d', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly }, hAsync("slot", { key: '9392299204d1bc2ef1b0bb464984b8f8bc148834', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: 'd6819ae02cab210950e11d74c1dac6dd3c5505ed', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (hAsync("span", { key: '660f12ab2717dfd7b75bd19a60c92c167fb06db3', class: {
|
21732
22145
|
readonly,
|
21733
22146
|
"has-value": this.getNumberOfCharacters(value) > 0,
|
21734
|
-
}, slot: "left-icon" }, hAsync("slot", { key: '
|
22147
|
+
}, slot: "left-icon" }, hAsync("slot", { key: '8631fc623d4f5b422921add6d01992b736acdf22', name: "icon" }))), !multiline ? (hAsync("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: type, min: min, max: max, value: value, class: {
|
21735
22148
|
"no-left-pad": !showLeftIcon && readonly,
|
21736
22149
|
readonly,
|
21737
22150
|
"truncate-value": truncateValue,
|
@@ -21739,19 +22152,19 @@ class TextField {
|
|
21739
22152
|
"no-resize": resize === false || !!readonly,
|
21740
22153
|
"no-left-pad": !showLeftIcon && !!readonly,
|
21741
22154
|
readonly: !!readonly,
|
21742
|
-
}, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onScroll: this.onTextAreaScroll, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed$1(el, "clear-button") && (hAsync("slot", { key: '
|
22155
|
+
}, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onScroll: this.onTextAreaScroll, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed$1(el, "clear-button") && (hAsync("slot", { key: 'c92ce219c83dccaec610f5caeb2a71b4753cbe2f', name: "clear-button" })), isSlotUsed$1(el, "search-submit-button") && (hAsync("slot", { key: '4ee50a7855e3a2c3fb5ab4ad655b278bb7a2190d', name: "search-submit-button" }))), isSlotUsed$1(el, "menu") && hAsync("slot", { key: '9ab8449f815482c7cd689d3d22b918de4c72c27b', name: "menu" }), (!isEmptyString$1(validationStatus) ||
|
21743
22156
|
!isEmptyString$1(validationText) ||
|
21744
22157
|
maxNumChars > 0 ||
|
21745
22158
|
maxValueExceeded ||
|
21746
22159
|
maxCharactersWarning ||
|
21747
22160
|
minCharactersUnattained ||
|
21748
22161
|
minValueUnattained) &&
|
21749
|
-
!validationInlineInternal && (hAsync("ic-input-validation", { key: '
|
22162
|
+
!validationInlineInternal && (hAsync("ic-input-validation", { key: 'b87afc1859b8a33d5767b5b0c61056936b760de7', status: this.hasStatus(currentStatus) === false ||
|
21750
22163
|
(currentStatus === IcInformationStatus$1.Success &&
|
21751
22164
|
validationInline) ||
|
21752
22165
|
validationInlineInternal
|
21753
22166
|
? ""
|
21754
|
-
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: '
|
22167
|
+
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: 'b0f41b53066d1c7b6fa4442796ec5122198575bf', slot: "validation-message-adornment" }, !hideCharCount && (hAsync("ic-typography", { key: 'acc961a28e30293d1031a8469327e3f70c179936', variant: "caption", class: "char-count-text" }, hAsync("span", { key: '94e2d9e62a04beccd7abc4309a70f6a0908f4d34', class: "char-count" }, numChars, "/", maxNumChars))), hAsync("span", { key: 'caf33b69417c2a5d956b7a88ea3855212c7e3e19', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), hAsync("span", { key: 'f69c682178137ae9da47c05c15b81de48e06189a', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters."))))))));
|
21755
22168
|
}
|
21756
22169
|
get el() { return getElement(this); }
|
21757
22170
|
static get watchers() { return {
|
@@ -21889,7 +22302,7 @@ class Theme {
|
|
21889
22302
|
}
|
21890
22303
|
render() {
|
21891
22304
|
const { themeClass } = this;
|
21892
|
-
return (hAsync(Host, { key: '
|
22305
|
+
return (hAsync(Host, { key: 'ee89cdd36cb4cb7e0589dfea2dd5a60b5de40041', class: themeClass }, hAsync("slot", { key: 'e7803bf5fc0974bfcf9a2a52cb5870254453a1bd' })));
|
21893
22306
|
}
|
21894
22307
|
static get watchers() { return {
|
21895
22308
|
"brandColor": ["watchBrandColorPropHandler"],
|
@@ -21909,44 +22322,1019 @@ class Theme {
|
|
21909
22322
|
}; }
|
21910
22323
|
}
|
21911
22324
|
|
21912
|
-
|
21913
|
-
var IcToastStyle0 = icToastCss;
|
22325
|
+
var Clock = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>clock-outline</title><path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z" /></svg>`;
|
21914
22326
|
|
21915
|
-
const
|
21916
|
-
|
21917
|
-
|
22327
|
+
const icTimeInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-time-picker-field-background);--ic-input-label-text-color:var(--ic-time-picker-label);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle);--border-color:var(--ic-time-picker-time-field-border-default);--border-color-disabled:var(--ic-time-picker-border-disabled);--border-color-hover:var(--ic-time-picker-time-field-border-hover);--border-color-pressed:var(--ic-time-picker-time-field-border-pressed);--border-error-color:var(--ic-time-picker-border-error);--border-error-color-hover:var(--ic-time-picker-border-error-hover);--border-error-color-pressed:var(--ic-time-picker-border-error-pressed);--border-success-color:var(--ic-time-picker-border-success);--border-success-color-hover:var(--ic-time-picker-border-success-hover);--border-success-color-pressed:var(--ic-time-picker-border-success-pressed);--border-warning-color:var(--ic-time-picker-border-warning);--border-warning-color-hover:var(--ic-time-picker-border-warning-hover);--border-warning-color-pressed:var(--ic-time-picker-border-warning-pressed);--input-width:calc((4 * var(--ic-space-xxl)) + var(--ic-space-xxs))}:host(.ic-time-input-disabled){--ic-input-label-text-color:var(--ic-time-picker-label-disabled);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle-disabled)}:host(.ic-time-input-disabled) input{color:var(--ic-time-picker-time-text-disabled)}:host(.ic-time-input-large){--input-width:calc(\n (4 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-lg)\n )}:host(.ic-time-input-small){--input-width:calc(\n (3 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-xl)\n )}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-time-picker-time-text-default);caret-color:var(--ic-time-picker-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-time-picker-time-text-default) !important}input::-moz-placeholder{color:var(--ic-time-picker-field-placeholder-text)}input::placeholder{color:var(--ic-time-picker-field-placeholder-text)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.time-inputs{color:var(--ic-time-picker-field-placeholder-text)}.hour-input{width:1.438rem}.minute-input{width:1.813rem}.second-input,.second-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-clock-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.clock-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.clock-button:focus,.clear-button:active,.clock-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.clock-button:focus,.clock-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.clock-button:focus,.clear-button:active *,.clock-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-time-picker-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-time-picker-status-text);--ic-input-validation-error:var(--ic-time-picker-icon-error);--ic-input-validation-warning-icon-color:var(--ic-time-picker-icon-warning);--ic-input-validation-success-icon-color:var(--ic-time-picker-icon-success)}@media (forced-colors: active){.clear-button svg{color:currentColor}}";
|
22328
|
+
var IcTimeInputStyle0 = icTimeInputCss;
|
22329
|
+
|
22330
|
+
let inputIds = 0;
|
21918
22331
|
/**
|
21919
|
-
* @slot
|
21920
|
-
* @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.
|
22332
|
+
* @slot helper-text - Content is set as the helper text for the time input.
|
21921
22333
|
*/
|
21922
|
-
class
|
22334
|
+
class TimeInput {
|
21923
22335
|
constructor(hostRef) {
|
21924
22336
|
registerInstance(this, hostRef);
|
21925
|
-
this.
|
21926
|
-
this.
|
21927
|
-
this.
|
21928
|
-
this.
|
22337
|
+
this.clockButtonClicked = createEvent(this, "clockButtonClicked", 7);
|
22338
|
+
this.icBlur = createEvent(this, "icBlur", 7);
|
22339
|
+
this.icChange = createEvent(this, "icChange", 7);
|
22340
|
+
this.icFocus = createEvent(this, "icFocus", 7);
|
22341
|
+
this.DEFAULT_TIME_FORMAT = "HH:MM:SS";
|
22342
|
+
this.ARIA_INVALID = "aria-invalid";
|
22343
|
+
this.ARIA_LABEL = "aria-label";
|
22344
|
+
this.ARIA_LABELLED_BY = "aria-labelledby";
|
22345
|
+
this.EVENT_OBJECT_STRING = "[object Event]";
|
22346
|
+
this.FIT_TO_VALUE = "fit-to-value";
|
22347
|
+
this.initialValue = this.value;
|
22348
|
+
this.inputsInOrder = [];
|
22349
|
+
this.isValidHour = true;
|
22350
|
+
this.isValidMinute = true;
|
22351
|
+
this.isValidSecond = true;
|
22352
|
+
this.isValidTime = true;
|
22353
|
+
this.isTimeSetFromKeyboardEvent = false;
|
22354
|
+
this.previousSelectedTime = null;
|
22355
|
+
this.selectedTime = null;
|
22356
|
+
this.externalSetTime = false;
|
22357
|
+
this.clearInput = false;
|
22358
|
+
this.maxTime = null;
|
22359
|
+
this.minTime = null;
|
22360
|
+
this.clockFocused = false;
|
22361
|
+
this.clearButtonFocused = false;
|
22362
|
+
this.removeLabelledBy = false;
|
22363
|
+
this.hour = "";
|
22364
|
+
this.minute = "";
|
22365
|
+
this.second = "";
|
21929
22366
|
/**
|
21930
|
-
* If
|
21931
|
-
* (NOTE: Has a minimum value of `5000ms`)
|
22367
|
+
* If `true`, the disabled state will be set.
|
21932
22368
|
*/
|
21933
|
-
this.
|
22369
|
+
this.disabled = false;
|
21934
22370
|
/**
|
21935
|
-
*
|
22371
|
+
* An array of times that will be disabled in the time input. The times can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
21936
22372
|
*/
|
21937
|
-
this.
|
22373
|
+
this.disableTimes = [];
|
21938
22374
|
/**
|
21939
|
-
*
|
22375
|
+
* If `true`, every individual input field completed will emit an icChange event.
|
21940
22376
|
*/
|
21941
|
-
this.
|
21942
|
-
|
21943
|
-
|
21944
|
-
|
21945
|
-
this.
|
21946
|
-
|
21947
|
-
|
22377
|
+
this.emitTimePartChange = false;
|
22378
|
+
/**
|
22379
|
+
* If `true`, the helper text will be visually hidden, but still read out by screenreaders.
|
22380
|
+
*/
|
22381
|
+
this.hideHelperText = false;
|
22382
|
+
/**
|
22383
|
+
* If `true`, the label will be visually hidden, but will still be read out by screen readers.
|
22384
|
+
*/
|
22385
|
+
this.hideLabel = false;
|
22386
|
+
/**
|
22387
|
+
* The ID for the input.
|
22388
|
+
*/
|
22389
|
+
this.inputId = `ic-time-input-${inputIds++}`;
|
22390
|
+
/**
|
22391
|
+
* The text to display as the validation message when an invalid time is entered.
|
22392
|
+
*/
|
22393
|
+
this.invalidTimeMessage = "Please enter a valid time.";
|
22394
|
+
/**
|
22395
|
+
* The latest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
22396
|
+
*/
|
22397
|
+
this.max = "";
|
22398
|
+
/**
|
22399
|
+
* The earliest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
22400
|
+
*/
|
22401
|
+
this.min = "";
|
22402
|
+
/**
|
22403
|
+
* The name of the control, which is submitted with the form data.
|
22404
|
+
*/
|
22405
|
+
this.name = this.inputId;
|
22406
|
+
/**
|
22407
|
+
* If `true`, the input will require a value.
|
22408
|
+
*/
|
22409
|
+
this.required = false;
|
22410
|
+
/**
|
22411
|
+
* If `true`, a button which clears the time input when clicked will be displayed.
|
22412
|
+
*/
|
22413
|
+
this.showClearButton = true;
|
22414
|
+
/**
|
22415
|
+
* @internal If `true`, a button which displays the clock view when clicked will be displayed.
|
22416
|
+
*/
|
22417
|
+
this.showClockButton = false;
|
22418
|
+
/**
|
22419
|
+
* The size of the time input to be displayed.
|
22420
|
+
*/
|
22421
|
+
this.size = "medium";
|
22422
|
+
/**
|
22423
|
+
* Sets the time picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
22424
|
+
*/
|
22425
|
+
this.theme = "inherit";
|
22426
|
+
/**
|
22427
|
+
* The format in which the time will be displayed.
|
22428
|
+
*/
|
22429
|
+
this.timeFormat = this.DEFAULT_TIME_FORMAT;
|
22430
|
+
/**
|
22431
|
+
* The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
|
22432
|
+
*/
|
22433
|
+
this.timePeriod = "24";
|
22434
|
+
/**
|
22435
|
+
* The value of the time input. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
22436
|
+
*/
|
22437
|
+
this.value = "";
|
22438
|
+
/**
|
22439
|
+
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in time validation.
|
22440
|
+
*/
|
22441
|
+
this.validationStatus = "";
|
22442
|
+
/**
|
22443
|
+
* The text to display as the validation message. This will override the built-in time validation.
|
22444
|
+
*/
|
22445
|
+
this.validationText = "";
|
22446
|
+
this.setInputPasteValue = (input, pastedValue) => {
|
22447
|
+
if (input) {
|
22448
|
+
const inputEl = input;
|
22449
|
+
inputEl.value = pastedValue;
|
22450
|
+
inputEl.classList.add(this.FIT_TO_VALUE);
|
22451
|
+
}
|
21948
22452
|
};
|
21949
|
-
this.
|
22453
|
+
this.parseTime = (value) => {
|
22454
|
+
if (!value)
|
22455
|
+
return null;
|
22456
|
+
if (value instanceof Date)
|
22457
|
+
return value;
|
22458
|
+
const parts = value.split(":");
|
22459
|
+
if (parts.length >= 2) {
|
22460
|
+
const d = new Date();
|
22461
|
+
d.setHours(+parts[0], +parts[1], parts[2] ? +parts[2] : 0, 0);
|
22462
|
+
return d;
|
22463
|
+
}
|
22464
|
+
return null;
|
22465
|
+
};
|
22466
|
+
this.isHHMMFormat = () => this.timeFormat === "HH:MM";
|
22467
|
+
this.isKeyboardOrEvent = (event) => {
|
22468
|
+
return (Object.prototype.toString.call(event) === this.EVENT_OBJECT_STRING ||
|
22469
|
+
Object.prototype.toString.call(event) === "[object KeyboardEvent]");
|
22470
|
+
};
|
22471
|
+
this.setTimeValidity = () => {
|
22472
|
+
const minHour = 0;
|
22473
|
+
const maxHour = this.timePeriod === "12" ? 11 : 23;
|
22474
|
+
if (!isEmptyString(this.hour)) {
|
22475
|
+
this.isValidHour = +this.hour >= minHour && +this.hour <= maxHour;
|
22476
|
+
}
|
22477
|
+
else {
|
22478
|
+
this.isValidHour = true;
|
22479
|
+
}
|
22480
|
+
if (!isEmptyString(this.minute)) {
|
22481
|
+
this.isValidMinute = +this.minute >= 0 && +this.minute <= 59;
|
22482
|
+
}
|
22483
|
+
else {
|
22484
|
+
this.isValidMinute = true;
|
22485
|
+
}
|
22486
|
+
if (!this.isHHMMFormat()) {
|
22487
|
+
if (!isEmptyString(this.second)) {
|
22488
|
+
this.isValidSecond = +this.second >= 0 && +this.second <= 59;
|
22489
|
+
}
|
22490
|
+
else {
|
22491
|
+
this.isValidSecond = true;
|
22492
|
+
}
|
22493
|
+
}
|
22494
|
+
else {
|
22495
|
+
this.isValidSecond = true;
|
22496
|
+
}
|
22497
|
+
};
|
22498
|
+
this.setInputValue = (input, clear = false) => {
|
22499
|
+
const newValue = clear ? "" : input.value;
|
22500
|
+
if (input === this.hourInputEl) {
|
22501
|
+
this.hour = newValue;
|
22502
|
+
}
|
22503
|
+
else if (input === this.minuteInputEl) {
|
22504
|
+
this.minute = newValue;
|
22505
|
+
}
|
22506
|
+
else if (input === this.secondInputEl && !this.isHHMMFormat()) {
|
22507
|
+
this.second = newValue;
|
22508
|
+
}
|
22509
|
+
this.setValidationMessage();
|
22510
|
+
};
|
22511
|
+
this.setPreventInput = (input, isPrevented) => {
|
22512
|
+
if (input === this.hourInputEl) {
|
22513
|
+
this.preventHourInput = isPrevented;
|
22514
|
+
}
|
22515
|
+
else if (input === this.minuteInputEl) {
|
22516
|
+
this.preventMinuteInput = isPrevented;
|
22517
|
+
}
|
22518
|
+
else if (input === this.secondInputEl) {
|
22519
|
+
this.preventSecondInput = isPrevented;
|
22520
|
+
}
|
22521
|
+
};
|
22522
|
+
this.setValidationMessage = () => {
|
22523
|
+
this.maxTime = this.parseTime(this.max);
|
22524
|
+
this.minTime = this.parseTime(this.min);
|
22525
|
+
this.setTimeValidity();
|
22526
|
+
let outOfBoundsMsg = "";
|
22527
|
+
let isDisabledTime = false;
|
22528
|
+
if (!isEmptyString(this.hour) &&
|
22529
|
+
!isEmptyString(this.minute) &&
|
22530
|
+
(this.isHHMMFormat() || !isEmptyString(this.second))) {
|
22531
|
+
this.selectedTime = this.convertToTime(this.hour, this.minute, this.isHHMMFormat() ? "00" : this.second);
|
22532
|
+
this.isValidTime =
|
22533
|
+
!!this.selectedTime &&
|
22534
|
+
this.selectedTime.getHours() == +this.hour &&
|
22535
|
+
this.selectedTime.getMinutes() == +this.minute &&
|
22536
|
+
(this.isHHMMFormat() || this.selectedTime.getSeconds() == +this.second);
|
22537
|
+
if (this.selectedTime &&
|
22538
|
+
Array.isArray(this.disableTimes) &&
|
22539
|
+
this.disableTimes.length > 0) {
|
22540
|
+
isDisabledTime = this.disableTimes.some((t) => {
|
22541
|
+
if (typeof t === "object" &&
|
22542
|
+
t !== null &&
|
22543
|
+
"start" in t &&
|
22544
|
+
"end" in t) {
|
22545
|
+
const start = this.parseTime(t.start);
|
22546
|
+
const end = this.parseTime(t.end);
|
22547
|
+
if (start && end) {
|
22548
|
+
return this.selectedTime >= start && this.selectedTime <= end;
|
22549
|
+
}
|
22550
|
+
return false;
|
22551
|
+
}
|
22552
|
+
const parsed = this.parseTime(t);
|
22553
|
+
return (parsed &&
|
22554
|
+
parsed.getHours() === this.selectedTime.getHours() &&
|
22555
|
+
parsed.getMinutes() === this.selectedTime.getMinutes() &&
|
22556
|
+
parsed.getSeconds() === this.selectedTime.getSeconds());
|
22557
|
+
});
|
22558
|
+
if (isDisabledTime) {
|
22559
|
+
this.isValidTime = false;
|
22560
|
+
outOfBoundsMsg = this.invalidTimeMessage;
|
22561
|
+
}
|
22562
|
+
}
|
22563
|
+
if (this.selectedTime && !isDisabledTime) {
|
22564
|
+
if (this.minTime && this.selectedTime < this.minTime) {
|
22565
|
+
this.isValidTime = false;
|
22566
|
+
outOfBoundsMsg = `Please enter a time after ${this.formatTime(this.minTime)}.`;
|
22567
|
+
}
|
22568
|
+
else if (this.maxTime && this.selectedTime > this.maxTime) {
|
22569
|
+
this.isValidTime = false;
|
22570
|
+
outOfBoundsMsg = `Please enter a time before ${this.formatTime(this.maxTime)}.`;
|
22571
|
+
}
|
22572
|
+
}
|
22573
|
+
if (!this.isValidTime) {
|
22574
|
+
this.inputsInOrder.forEach((input) => input.setAttribute(this.ARIA_INVALID, "true"));
|
22575
|
+
}
|
22576
|
+
else {
|
22577
|
+
this.inputsInOrder.forEach((input) => input.removeAttribute(this.ARIA_INVALID));
|
22578
|
+
}
|
22579
|
+
}
|
22580
|
+
else {
|
22581
|
+
this.selectedTime = null;
|
22582
|
+
}
|
22583
|
+
if (!(this.isValidHour &&
|
22584
|
+
this.isValidMinute &&
|
22585
|
+
this.isValidSecond &&
|
22586
|
+
this.isValidTime)) {
|
22587
|
+
this.invalidTimeText = outOfBoundsMsg || this.invalidTimeMessage;
|
22588
|
+
}
|
22589
|
+
else {
|
22590
|
+
this.invalidTimeText = "";
|
22591
|
+
}
|
22592
|
+
};
|
22593
|
+
this.formatTime = (time) => {
|
22594
|
+
const hh = time.getHours().toString().padStart(2, "0");
|
22595
|
+
const mm = time.getMinutes().toString().padStart(2, "0");
|
22596
|
+
const ss = time.getSeconds().toString().padStart(2, "0");
|
22597
|
+
return this.isHHMMFormat() ? `${hh}:${mm}` : `${hh}:${mm}:${ss}`;
|
22598
|
+
};
|
22599
|
+
this.handleInput = (event) => {
|
22600
|
+
const inputEvent = event;
|
22601
|
+
const input = event.target;
|
22602
|
+
if (input !== this.hourInputEl) {
|
22603
|
+
if (inputEvent.inputType !== "deleteContentBackward" &&
|
22604
|
+
!this.preventAutoFormatting) {
|
22605
|
+
if (input.value.length === 1 &&
|
22606
|
+
+input.value >= 6 &&
|
22607
|
+
+input.value <= 9) {
|
22608
|
+
this.setInputValue(input);
|
22609
|
+
this.notifyScreenReader(input);
|
22610
|
+
this.moveToNextInput(input);
|
22611
|
+
}
|
22612
|
+
if (input.value.length === 2) {
|
22613
|
+
this.setInputValue(input);
|
22614
|
+
this.setPreventInput(input, true);
|
22615
|
+
this.notifyScreenReader(input);
|
22616
|
+
this.moveToNextInput(input);
|
22617
|
+
}
|
22618
|
+
else {
|
22619
|
+
this.setPreventInput(input, false);
|
22620
|
+
}
|
22621
|
+
}
|
22622
|
+
else if (this.preventAutoFormatting) {
|
22623
|
+
if (input.value.length === 2 && !this.isKeyboardOrEvent(event)) {
|
22624
|
+
this.setInputValue(input);
|
22625
|
+
this.setPreventInput(input, true);
|
22626
|
+
this.moveToNextInput(input);
|
22627
|
+
}
|
22628
|
+
else {
|
22629
|
+
this.setInputValue(input);
|
22630
|
+
}
|
22631
|
+
}
|
22632
|
+
if (input.value.length !== 2) {
|
22633
|
+
this.setPreventInput(input, false);
|
22634
|
+
}
|
22635
|
+
}
|
22636
|
+
else {
|
22637
|
+
if (input.value.length === 2) {
|
22638
|
+
this.setInputValue(input);
|
22639
|
+
if (Object.prototype.toString.call(event) !== this.EVENT_OBJECT_STRING) {
|
22640
|
+
this.moveToNextInput(input);
|
22641
|
+
}
|
22642
|
+
this.setPreventInput(input, true);
|
22643
|
+
}
|
22644
|
+
else {
|
22645
|
+
this.setInputValue(input, true);
|
22646
|
+
this.setPreventInput(input, false);
|
22647
|
+
}
|
22648
|
+
}
|
22649
|
+
this.setFitToValueStyling(input);
|
22650
|
+
if (input.value.length === 0) {
|
22651
|
+
this.setInputValue(input, true);
|
22652
|
+
this.setValidationMessage();
|
22653
|
+
}
|
22654
|
+
this.notifyScreenReader(input);
|
22655
|
+
};
|
22656
|
+
this.handleKeyDown = (event, isInputPrevented) => {
|
22657
|
+
var _a;
|
22658
|
+
const input = event.target;
|
22659
|
+
const eventKey = (_a = event.key) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
22660
|
+
const regex = /-?\d*\.?\d+(e[-+]?\d+)?|[:]|arrowup|arrowdown|arrowleft|arrowright|shift|tab|backspace|delete/;
|
22661
|
+
if (!regex.test(eventKey) &&
|
22662
|
+
!((event.ctrlKey || event.metaKey) &&
|
22663
|
+
(eventKey === "v" || eventKey === "c"))) {
|
22664
|
+
event.preventDefault();
|
22665
|
+
}
|
22666
|
+
switch (eventKey) {
|
22667
|
+
case ":":
|
22668
|
+
case "arrowright":
|
22669
|
+
event.preventDefault();
|
22670
|
+
this.moveToNextInput(input);
|
22671
|
+
break;
|
22672
|
+
case "arrowleft":
|
22673
|
+
event.preventDefault();
|
22674
|
+
this.moveToPreviousInput(input);
|
22675
|
+
break;
|
22676
|
+
case "arrowup":
|
22677
|
+
case "arrowdown":
|
22678
|
+
this.preventAutoFormatting = true;
|
22679
|
+
this.handleUpDownArrowKeyPress(input, event);
|
22680
|
+
break;
|
22681
|
+
case "backspace":
|
22682
|
+
if (input.value.length === 0) {
|
22683
|
+
event.preventDefault();
|
22684
|
+
this.moveToPreviousInput(input);
|
22685
|
+
}
|
22686
|
+
break;
|
22687
|
+
}
|
22688
|
+
this.preventInput(event, isInputPrevented);
|
22689
|
+
this.isTimeSetFromKeyboardEvent = true;
|
22690
|
+
};
|
22691
|
+
this.handleFocus = (event) => {
|
22692
|
+
const input = event.target;
|
22693
|
+
input.select();
|
22694
|
+
};
|
22695
|
+
this.handleBlur = (event) => {
|
22696
|
+
const input = event.target;
|
22697
|
+
if (input) {
|
22698
|
+
this.autocompleteInput(input);
|
22699
|
+
}
|
22700
|
+
};
|
22701
|
+
this.handleUpDownArrowKeyPress = (input, event) => {
|
22702
|
+
let minValue = 0;
|
22703
|
+
let maxValue = 59;
|
22704
|
+
if (input === this.hourInputEl) {
|
22705
|
+
minValue = 0;
|
22706
|
+
maxValue = this.timePeriod === "12" ? 11 : 23;
|
22707
|
+
}
|
22708
|
+
let val = +input.value;
|
22709
|
+
if (event.key === "ArrowUp") {
|
22710
|
+
val = val + 1;
|
22711
|
+
if (val > maxValue)
|
22712
|
+
val = minValue;
|
22713
|
+
input.value = val.toString().padStart(2, "0");
|
22714
|
+
this.notifyScreenReader(input);
|
22715
|
+
}
|
22716
|
+
if (event.key === "ArrowDown") {
|
22717
|
+
val = val - 1;
|
22718
|
+
if (val < minValue)
|
22719
|
+
val = maxValue;
|
22720
|
+
input.value = val.toString().padStart(2, "0");
|
22721
|
+
this.notifyScreenReader(input);
|
22722
|
+
}
|
22723
|
+
this.setInputValue(input);
|
22724
|
+
this.setFitToValueStyling(input);
|
22725
|
+
};
|
22726
|
+
this.handleTimeChange = (force) => {
|
22727
|
+
if (force || this.selectedTime !== this.previousSelectedTime) {
|
22728
|
+
if (this.value) {
|
22729
|
+
this.inputsInOrder.forEach((input) => {
|
22730
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22731
|
+
});
|
22732
|
+
}
|
22733
|
+
if (this.hour &&
|
22734
|
+
this.minute &&
|
22735
|
+
(this.isHHMMFormat() || this.second) &&
|
22736
|
+
this.invalidTimeText === "") {
|
22737
|
+
this.setValueAndEmitChange(this.selectedTime);
|
22738
|
+
this.notifyScreenReaderSelectedTime();
|
22739
|
+
}
|
22740
|
+
else if (!(this.selectedTime === null && this.previousSelectedTime === null) &&
|
22741
|
+
this.selectedTimeInfoEl) {
|
22742
|
+
this.setValueAndEmitChange(null);
|
22743
|
+
this.selectedTimeInfoEl.textContent = "";
|
22744
|
+
}
|
22745
|
+
this.previousSelectedTime = this.selectedTime;
|
22746
|
+
if (!this.isTimeSetFromKeyboardEvent) {
|
22747
|
+
this.updateInputValues(this.hour, this.minute, this.second);
|
22748
|
+
}
|
22749
|
+
}
|
22750
|
+
};
|
22751
|
+
this.setValueAndEmitChange = (value) => {
|
22752
|
+
if (this.value !== value) {
|
22753
|
+
this.emitIcChange(value);
|
22754
|
+
this.value = value;
|
22755
|
+
}
|
22756
|
+
};
|
22757
|
+
this.emitIcChange = (t) => {
|
22758
|
+
this.selectedTime = t;
|
22759
|
+
this.icChange.emit({
|
22760
|
+
value: t,
|
22761
|
+
timeObject: {
|
22762
|
+
hour: this.hour === "" ? null : this.hour,
|
22763
|
+
minute: this.minute === "" ? null : this.minute,
|
22764
|
+
second: this.second === "" ? null : this.second,
|
22765
|
+
},
|
22766
|
+
});
|
22767
|
+
};
|
22768
|
+
this.setTime = (time) => {
|
22769
|
+
if (time === null || time === "" || time === undefined) {
|
22770
|
+
if (this.hour)
|
22771
|
+
this.hour = "";
|
22772
|
+
if (this.minute)
|
22773
|
+
this.minute = "";
|
22774
|
+
if (this.second)
|
22775
|
+
this.second = "";
|
22776
|
+
this.inputsInOrder.forEach((input) => {
|
22777
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22778
|
+
this.setPreventInput(input, false);
|
22779
|
+
});
|
22780
|
+
this.handleTimeChange(true);
|
22781
|
+
}
|
22782
|
+
else {
|
22783
|
+
if (typeof time === "string") {
|
22784
|
+
const zuluMatch = time.match(/^(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,3}))?Z?$/);
|
22785
|
+
if (zuluMatch) {
|
22786
|
+
this.hour = zuluMatch[1];
|
22787
|
+
this.minute = zuluMatch[2];
|
22788
|
+
this.second = zuluMatch[3];
|
22789
|
+
}
|
22790
|
+
else {
|
22791
|
+
const parts = time.split(":");
|
22792
|
+
this.hour = parts[0] || "";
|
22793
|
+
this.minute = parts[1] || "";
|
22794
|
+
this.second = parts[2] || "";
|
22795
|
+
}
|
22796
|
+
}
|
22797
|
+
else if (time instanceof Date) {
|
22798
|
+
this.hour = time.getHours().toString().padStart(2, "0");
|
22799
|
+
this.minute = time.getMinutes().toString().padStart(2, "0");
|
22800
|
+
this.second = time.getSeconds().toString().padStart(2, "0");
|
22801
|
+
}
|
22802
|
+
}
|
22803
|
+
this.setValidationMessage();
|
22804
|
+
};
|
22805
|
+
this.setAriaInvalid = (validHour, validMinute, validSecond) => {
|
22806
|
+
var _a, _b, _c;
|
22807
|
+
if (this.inputsInOrder.length) {
|
22808
|
+
this.inputsInOrder.forEach((input) => {
|
22809
|
+
input.removeAttribute(this.ARIA_INVALID);
|
22810
|
+
});
|
22811
|
+
if (!validHour) {
|
22812
|
+
(_a = this.hourInputEl) === null || _a === void 0 ? void 0 : _a.setAttribute(this.ARIA_INVALID, "true");
|
22813
|
+
}
|
22814
|
+
if (!validMinute) {
|
22815
|
+
(_b = this.minuteInputEl) === null || _b === void 0 ? void 0 : _b.setAttribute(this.ARIA_INVALID, "true");
|
22816
|
+
}
|
22817
|
+
if (!validSecond) {
|
22818
|
+
(_c = this.secondInputEl) === null || _c === void 0 ? void 0 : _c.setAttribute(this.ARIA_INVALID, "true");
|
22819
|
+
}
|
22820
|
+
if (!(validHour && validMinute && validSecond)) {
|
22821
|
+
this.inputsInOrder.forEach((input) => {
|
22822
|
+
input.setAttribute(this.ARIA_INVALID, "true");
|
22823
|
+
});
|
22824
|
+
}
|
22825
|
+
}
|
22826
|
+
};
|
22827
|
+
this.handleClear = () => {
|
22828
|
+
this.clearInput = true;
|
22829
|
+
if (this.hourInputEl) {
|
22830
|
+
this.hourInputEl.value = "";
|
22831
|
+
}
|
22832
|
+
if (this.minuteInputEl) {
|
22833
|
+
this.minuteInputEl.value = "";
|
22834
|
+
}
|
22835
|
+
if (!this.isHHMMFormat() && this.secondInputEl) {
|
22836
|
+
this.secondInputEl.value = "";
|
22837
|
+
}
|
22838
|
+
this.hour = "";
|
22839
|
+
this.minute = "";
|
22840
|
+
this.second = "";
|
22841
|
+
this.handleTimeChange(true);
|
22842
|
+
this.inputsInOrder.forEach((input) => {
|
22843
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22844
|
+
this.setPreventInput(input, false);
|
22845
|
+
});
|
22846
|
+
this.clearInput = false;
|
22847
|
+
this.isTimeSetFromKeyboardEvent = false;
|
22848
|
+
this.setValidationMessage();
|
22849
|
+
this.invalidTimeText = "";
|
22850
|
+
if (this.hourInputEl) {
|
22851
|
+
this.hourInputEl.focus();
|
22852
|
+
}
|
22853
|
+
};
|
22854
|
+
this.notifyScreenReaderSelectedTime = () => {
|
22855
|
+
if (this.selectedTime && this.selectedTimeInfoEl) {
|
22856
|
+
if (this.isHHMMFormat()) {
|
22857
|
+
this.selectedTimeInfoEl.textContent = `Selected time: ${this.selectedTime
|
22858
|
+
.getHours()
|
22859
|
+
.toString()
|
22860
|
+
.padStart(2, "0")}:${this.selectedTime
|
22861
|
+
.getMinutes()
|
22862
|
+
.toString()
|
22863
|
+
.padStart(2, "0")}`;
|
22864
|
+
}
|
22865
|
+
else {
|
22866
|
+
this.selectedTimeInfoEl.textContent = `Selected time: ${this.selectedTime
|
22867
|
+
.getHours()
|
22868
|
+
.toString()
|
22869
|
+
.padStart(2, "0")}:${this.selectedTime
|
22870
|
+
.getMinutes()
|
22871
|
+
.toString()
|
22872
|
+
.padStart(2, "0")}:${this.selectedTime
|
22873
|
+
.getSeconds()
|
22874
|
+
.toString()
|
22875
|
+
.padStart(2, "0")}`;
|
22876
|
+
}
|
22877
|
+
}
|
22878
|
+
};
|
22879
|
+
this.setFitToValueStyling = (input) => {
|
22880
|
+
if (input.value) {
|
22881
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22882
|
+
}
|
22883
|
+
else {
|
22884
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22885
|
+
}
|
22886
|
+
};
|
22887
|
+
this.handleHostBlur = () => {
|
22888
|
+
this.removeLabelledBy = false;
|
22889
|
+
this.icBlur.emit({ value: this.selectedTime });
|
22890
|
+
};
|
22891
|
+
this.handleHostFocus = () => {
|
22892
|
+
var _a, _b;
|
22893
|
+
if ((_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) === null || _b === void 0 ? void 0 : _b.id.match(/(hour|minute|second)-input$/)) {
|
22894
|
+
this.removeLabelledBy = false;
|
22895
|
+
}
|
22896
|
+
else {
|
22897
|
+
this.removeLabelledBy = true;
|
22898
|
+
}
|
22899
|
+
this.icFocus.emit({ value: this.selectedTime });
|
22900
|
+
};
|
22901
|
+
this.handleFormReset = () => {
|
22902
|
+
this.setTime(this.initialValue);
|
22903
|
+
this.setValidationMessage();
|
22904
|
+
this.handleTimeChange(false);
|
22905
|
+
};
|
22906
|
+
this.preventInput = (event, isInputPrevented) => {
|
22907
|
+
const key = event.key;
|
22908
|
+
const input = event.target;
|
22909
|
+
let selectedString;
|
22910
|
+
if (input) {
|
22911
|
+
selectedString = input.value.substring(input.selectionStart || 0, input.selectionEnd || undefined);
|
22912
|
+
}
|
22913
|
+
if (key === "e" ||
|
22914
|
+
key === "." ||
|
22915
|
+
key === "-" ||
|
22916
|
+
(event.key >= "0" &&
|
22917
|
+
event.key <= "9" &&
|
22918
|
+
isInputPrevented &&
|
22919
|
+
!selectedString)) {
|
22920
|
+
event.preventDefault();
|
22921
|
+
}
|
22922
|
+
};
|
22923
|
+
this.moveToNextInput = (currentInput) => {
|
22924
|
+
var _a;
|
22925
|
+
this.preventAutoFormatting = false;
|
22926
|
+
(_a = this.inputsInOrder[this.inputsInOrder.findIndex((input) => input === currentInput) + 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
22927
|
+
};
|
22928
|
+
this.moveToPreviousInput = (currentInput) => {
|
22929
|
+
var _a;
|
22930
|
+
this.preventAutoFormatting = false;
|
22931
|
+
(_a = this.inputsInOrder[this.inputsInOrder.findIndex((input) => input === currentInput) - 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
22932
|
+
};
|
22933
|
+
this.autocompleteInput = (input) => {
|
22934
|
+
const inputValue = input.value;
|
22935
|
+
if (inputValue.length === 1) {
|
22936
|
+
input.value = `0${inputValue}`;
|
22937
|
+
}
|
22938
|
+
if (input.value) {
|
22939
|
+
this.setInputValue(input);
|
22940
|
+
}
|
22941
|
+
};
|
22942
|
+
this.convertToTime = (hour, minute, second) => {
|
22943
|
+
if (!isEmptyString(hour) &&
|
22944
|
+
!isEmptyString(minute) &&
|
22945
|
+
(this.isHHMMFormat() || !isEmptyString(second))) {
|
22946
|
+
const d = new Date();
|
22947
|
+
d.setHours(+hour, +minute, this.isHHMMFormat() ? 0 : +second, 0);
|
22948
|
+
return d;
|
22949
|
+
}
|
22950
|
+
else {
|
22951
|
+
return null;
|
22952
|
+
}
|
22953
|
+
};
|
22954
|
+
this.setInputsInOrder = () => {
|
22955
|
+
var _a;
|
22956
|
+
this.inputsInOrder = [];
|
22957
|
+
const shadowInputs = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll("input");
|
22958
|
+
if (shadowInputs) {
|
22959
|
+
shadowInputs.forEach((input) => this.inputsInOrder.push(input));
|
22960
|
+
}
|
22961
|
+
};
|
22962
|
+
this.updateInputValues = (hour, minute, second) => {
|
22963
|
+
if (this.hourInputEl && this.minuteInputEl && this.secondInputEl) {
|
22964
|
+
this.hourInputEl.value = hour;
|
22965
|
+
this.minuteInputEl.value = minute;
|
22966
|
+
this.secondInputEl.value = second;
|
22967
|
+
}
|
22968
|
+
};
|
22969
|
+
this.removeAriaLabelledBy = () => {
|
22970
|
+
var _a;
|
22971
|
+
(_a = this.inputCompContainerEl) === null || _a === void 0 ? void 0 : _a.removeAttribute(this.ARIA_LABELLED_BY);
|
22972
|
+
};
|
22973
|
+
this.setAriaLabelledBy = () => {
|
22974
|
+
var _a, _b, _c, _d;
|
22975
|
+
if (this.disabled &&
|
22976
|
+
((_a = this.inputCompContainerEl) === null || _a === void 0 ? void 0 : _a.getAttribute(this.ARIA_LABELLED_BY))) {
|
22977
|
+
this.removeAriaLabelledBy();
|
22978
|
+
return;
|
22979
|
+
}
|
22980
|
+
if (this.disabled) {
|
22981
|
+
return;
|
22982
|
+
}
|
22983
|
+
const labelEl = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("label");
|
22984
|
+
const labelId = `${this.inputId}-label`;
|
22985
|
+
if (labelEl !== null && labelEl !== undefined) {
|
22986
|
+
labelEl.id = labelId;
|
22987
|
+
}
|
22988
|
+
const hasValidation = !isEmptyString(this.validationStatus) ||
|
22989
|
+
!isEmptyString(this.invalidTimeText);
|
22990
|
+
const labelledBy = `${(_c = labelEl === null || labelEl === void 0 ? void 0 : labelEl.id) !== null && _c !== void 0 ? _c : ""} ${this.screenReaderInfoId} ${getInputDescribedByText(this.el, this.inputId, this.helperText !== "" && this.helperText !== this.defaultHelperText, hasValidation)} ${this.selectedTime ? this.selectedTimeInfoId : ""} ${this.assistiveHintId}`;
|
22991
|
+
(_d = this.inputCompContainerEl) === null || _d === void 0 ? void 0 : _d.setAttribute(this.ARIA_LABELLED_BY, labelledBy);
|
22992
|
+
};
|
22993
|
+
this.getInputsInOrder = () => {
|
22994
|
+
const timeParts = this.timeFormat.split(":");
|
22995
|
+
return timeParts.map((part) => {
|
22996
|
+
switch (part.substring(0, 1)) {
|
22997
|
+
case "H":
|
22998
|
+
return (hAsync("input", { class: "hour-input", id: "hour-input", ref: (el) => (this.hourInputEl = el), "aria-label": "hour", placeholder: "HH", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventHourInput) }));
|
22999
|
+
case "M":
|
23000
|
+
return (hAsync("input", { id: "minute-input", class: "minute-input", ref: (el) => (this.minuteInputEl = el), "aria-label": "minute", placeholder: "MM", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventMinuteInput) }));
|
23001
|
+
case "S":
|
23002
|
+
if (!this.isHHMMFormat()) {
|
23003
|
+
return (hAsync("input", { id: "second-input", class: "second-input", ref: (el) => (this.secondInputEl = el), "aria-label": "second", placeholder: "SS", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventSecondInput) }));
|
23004
|
+
}
|
23005
|
+
return null;
|
23006
|
+
default:
|
23007
|
+
return null;
|
23008
|
+
}
|
23009
|
+
});
|
23010
|
+
};
|
23011
|
+
this.getDescOfInputsOrder = () => {
|
23012
|
+
return "hour, minute, and second";
|
23013
|
+
};
|
23014
|
+
this.getScreenReaderInfo = (validationStatus) => {
|
23015
|
+
let inputDescriptors = "";
|
23016
|
+
if (this.required) {
|
23017
|
+
inputDescriptors += "required";
|
23018
|
+
}
|
23019
|
+
if (validationStatus === IcInformationStatus.Error) {
|
23020
|
+
inputDescriptors += " invalid data";
|
23021
|
+
}
|
23022
|
+
return inputDescriptors === "" ? "" : inputDescriptors + ", ";
|
23023
|
+
};
|
23024
|
+
this.notifyScreenReader = (input) => {
|
23025
|
+
var _a;
|
23026
|
+
const liveRegion = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("#live-region");
|
23027
|
+
if (liveRegion) {
|
23028
|
+
liveRegion.textContent = `${input.value}, ${input.getAttribute(this.ARIA_LABEL)}`;
|
23029
|
+
}
|
23030
|
+
};
|
23031
|
+
this.handlePaste = (event) => {
|
23032
|
+
var _a;
|
23033
|
+
event.preventDefault();
|
23034
|
+
const pastedValue = ((_a = event.clipboardData) === null || _a === void 0 ? void 0 : _a.getData("Text")) || "";
|
23035
|
+
const isValidTime = this.isPastedStringTimeValid(pastedValue);
|
23036
|
+
this.setPastedValueAndValidation(isValidTime, pastedValue, event);
|
23037
|
+
};
|
23038
|
+
this.handleClearFocus = () => {
|
23039
|
+
this.removeLabelledBy = true;
|
23040
|
+
this.clearButtonFocused = true;
|
23041
|
+
this.isTimeSetFromKeyboardEvent = true;
|
23042
|
+
};
|
23043
|
+
this.handleClearBlur = (ev) => {
|
23044
|
+
this.clearButtonFocused = false;
|
23045
|
+
this.isTimeSetFromKeyboardEvent = true;
|
23046
|
+
const relatedTarget = ev.relatedTarget;
|
23047
|
+
if ((relatedTarget === null || relatedTarget === void 0 ? void 0 : relatedTarget.id) === "clock-button") {
|
23048
|
+
this.removeLabelledBy = false;
|
23049
|
+
return;
|
23050
|
+
}
|
23051
|
+
if (relatedTarget === null || relatedTarget === void 0 ? void 0 : relatedTarget.id.match(/(minute|second)-input$/)) {
|
23052
|
+
this.removeLabelledBy = false;
|
23053
|
+
return;
|
23054
|
+
}
|
23055
|
+
this.removeLabelledBy = true;
|
23056
|
+
};
|
23057
|
+
this.handleClockFocus = () => {
|
23058
|
+
this.clockFocused = true;
|
23059
|
+
};
|
23060
|
+
this.handleClockBlur = () => {
|
23061
|
+
this.clockFocused = false;
|
23062
|
+
};
|
23063
|
+
this.isPastedStringTimeValid = (value) => {
|
23064
|
+
if (this.isHHMMFormat()) {
|
23065
|
+
if (/^\d{2}:\d{2}$/.test(value)) {
|
23066
|
+
return value;
|
23067
|
+
}
|
23068
|
+
}
|
23069
|
+
else {
|
23070
|
+
if (/^\d{2}:\d{2}:\d{2}$/.test(value)) {
|
23071
|
+
return value;
|
23072
|
+
}
|
23073
|
+
if (/^\d{2}:\d{2}:\d{2}Z$/.test(value)) {
|
23074
|
+
return value.replace("Z", "");
|
23075
|
+
}
|
23076
|
+
const isoMatch = value.match(/T(\d{2}:\d{2}:\d{2})/);
|
23077
|
+
if (isoMatch) {
|
23078
|
+
return isoMatch[1];
|
23079
|
+
}
|
23080
|
+
}
|
23081
|
+
return false;
|
23082
|
+
};
|
23083
|
+
this.setPastedValueAndValidation = (isValidTime, pastedValue, event) => {
|
23084
|
+
if (isValidTime) {
|
23085
|
+
const timeParts = isValidTime.split(":");
|
23086
|
+
this.inputsInOrder.forEach((input, index) => {
|
23087
|
+
input.classList.add(this.FIT_TO_VALUE);
|
23088
|
+
const timeValue = timeParts[index] || "";
|
23089
|
+
input.value = timeValue.slice(0, 2);
|
23090
|
+
this.setInputValue(input);
|
23091
|
+
this.autocompleteInput(input);
|
23092
|
+
});
|
23093
|
+
if (this.isHHMMFormat() && this.second !== "") {
|
23094
|
+
this.second = "";
|
23095
|
+
}
|
23096
|
+
}
|
23097
|
+
else {
|
23098
|
+
const pasted = pastedValue.trim();
|
23099
|
+
if ((pasted.length === 1 || pasted.length === 2) && isNumeric(pasted)) {
|
23100
|
+
this.setInputPasteValue(event.target, pasted);
|
23101
|
+
this.setInputValue(event.target);
|
23102
|
+
}
|
23103
|
+
else {
|
23104
|
+
this.invalidTimeText = `Please paste a valid ${event.target.getAttribute(this.ARIA_LABEL)}`;
|
23105
|
+
this.validationStatus = IcInformationStatus.Error;
|
23106
|
+
}
|
23107
|
+
}
|
23108
|
+
};
|
23109
|
+
}
|
23110
|
+
watchInputHandler() {
|
23111
|
+
if (this.emitTimePartChange &&
|
23112
|
+
!this.externalSetTime &&
|
23113
|
+
!this.clearInput &&
|
23114
|
+
!(this.hour && this.minute && this.second) &&
|
23115
|
+
this.selectedTime === null) {
|
23116
|
+
this.emitIcChange(this.selectedTime);
|
23117
|
+
}
|
23118
|
+
}
|
23119
|
+
watchDisabledHandler() {
|
23120
|
+
removeDisabledFalse(this.disabled, this.el);
|
23121
|
+
}
|
23122
|
+
watchMaxHandler() {
|
23123
|
+
this.maxTime = this.parseTime(this.max);
|
23124
|
+
}
|
23125
|
+
watchMinHandler() {
|
23126
|
+
this.minTime = this.parseTime(this.min);
|
23127
|
+
}
|
23128
|
+
watchRequiredHandler() {
|
23129
|
+
var _a, _b;
|
23130
|
+
const labelEl = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("label");
|
23131
|
+
if (this.required) {
|
23132
|
+
const asteriskSpan = document.createElement("span");
|
23133
|
+
asteriskSpan.setAttribute("id", "asterisk-span");
|
23134
|
+
asteriskSpan.setAttribute("aria-hidden", "true");
|
23135
|
+
asteriskSpan.textContent = " *";
|
23136
|
+
labelEl === null || labelEl === void 0 ? void 0 : labelEl.appendChild(asteriskSpan);
|
23137
|
+
}
|
23138
|
+
else {
|
23139
|
+
const asteriskSpan = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("#asterisk-span");
|
23140
|
+
if (asteriskSpan) {
|
23141
|
+
asteriskSpan.remove();
|
23142
|
+
}
|
23143
|
+
}
|
23144
|
+
}
|
23145
|
+
disconnectedCallback() {
|
23146
|
+
removeFormResetListener(this.el, this.handleFormReset);
|
23147
|
+
}
|
23148
|
+
componentWillLoad() {
|
23149
|
+
this.defaultHelperText = `Use format ${this.timeFormat}`;
|
23150
|
+
if (isEmptyString(this.helperText))
|
23151
|
+
this.helperText = this.defaultHelperText;
|
23152
|
+
if (this.value) {
|
23153
|
+
this.externalSetTime = true;
|
23154
|
+
this.setTime(this.value);
|
23155
|
+
}
|
23156
|
+
this.screenReaderInfoId = `${this.inputId}-screen-reader-info`;
|
23157
|
+
this.assistiveHintId = `${this.inputId}-assistive-hint`;
|
23158
|
+
this.selectedTimeInfoId = `${this.inputId}-selected-time-info`;
|
23159
|
+
addFormResetListener(this.el, this.handleFormReset);
|
23160
|
+
removeDisabledFalse(this.disabled, this.el);
|
23161
|
+
}
|
23162
|
+
componentDidLoad() {
|
23163
|
+
this.setInputsInOrder();
|
23164
|
+
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Time Input");
|
23165
|
+
if (this.value) {
|
23166
|
+
this.updateInputValues(this.hour, this.minute, this.second);
|
23167
|
+
this.inputsInOrder.forEach((input) => {
|
23168
|
+
input.classList.add(this.FIT_TO_VALUE);
|
23169
|
+
});
|
23170
|
+
}
|
23171
|
+
this.setAriaInvalid(this.isValidHour, this.isValidMinute, this.isValidSecond);
|
23172
|
+
if (this.value) {
|
23173
|
+
this.notifyScreenReaderSelectedTime();
|
23174
|
+
}
|
23175
|
+
this.inputsInOrder.forEach((input) => {
|
23176
|
+
input.addEventListener("input", this.handleInput);
|
23177
|
+
input.addEventListener("focus", this.handleFocus);
|
23178
|
+
input.addEventListener("blur", this.handleBlur);
|
23179
|
+
});
|
23180
|
+
this.watchRequiredHandler();
|
23181
|
+
}
|
23182
|
+
componentWillUpdate() {
|
23183
|
+
if (isEmptyString(this.helperText))
|
23184
|
+
this.helperText = this.defaultHelperText;
|
23185
|
+
if (!this.isTimeSetFromKeyboardEvent)
|
23186
|
+
this.setTime(this.value);
|
23187
|
+
this.setAriaInvalid(this.isValidHour, this.isValidMinute, this.isValidSecond);
|
23188
|
+
this.handleTimeChange(false);
|
23189
|
+
this.isTimeSetFromKeyboardEvent = false;
|
23190
|
+
}
|
23191
|
+
componentDidRender() {
|
23192
|
+
if (this.removeLabelledBy) {
|
23193
|
+
this.removeAriaLabelledBy();
|
23194
|
+
return;
|
23195
|
+
}
|
23196
|
+
this.setAriaLabelledBy();
|
23197
|
+
}
|
23198
|
+
/**
|
23199
|
+
* Returns the value as a Date object
|
23200
|
+
* @returns Date
|
23201
|
+
*/
|
23202
|
+
async getTime() {
|
23203
|
+
return this.selectedTime;
|
23204
|
+
}
|
23205
|
+
/**
|
23206
|
+
* @internal Used to enable other components to invoke an IcChange event from the input.
|
23207
|
+
*/
|
23208
|
+
async triggerIcChange(t) {
|
23209
|
+
this.externalSetTime = true;
|
23210
|
+
this.setTime(t);
|
23211
|
+
this.emitIcChange(t);
|
23212
|
+
this.externalSetTime = false;
|
23213
|
+
}
|
23214
|
+
render() {
|
23215
|
+
const { inputId, label, disabled, helperText, hideHelperText, hideLabel, showClearButton, showClockButton, size, theme, } = this;
|
23216
|
+
const hasCustomValidation = !isEmptyString(this.validationStatus);
|
23217
|
+
const validationStatus = hasCustomValidation
|
23218
|
+
? this.validationStatus
|
23219
|
+
: !isEmptyString(this.invalidTimeText)
|
23220
|
+
? IcInformationStatus.Error
|
23221
|
+
: "";
|
23222
|
+
const assistiveHint = `Type or use the up and down arrow keys to change the values for the ${this.getDescOfInputsOrder()}.`;
|
23223
|
+
renderHiddenInput(true, this.el, this.name, this.convertToTime(this.hour, this.minute, this.second), this.disabled);
|
23224
|
+
const showDivider = !!(showClearButton &&
|
23225
|
+
!(isEmptyString(this.hour) &&
|
23226
|
+
isEmptyString(this.minute) &&
|
23227
|
+
isEmptyString(this.second)));
|
23228
|
+
return (hAsync(Host, { key: 'cf8b05ab0ccc0a0a779296e4dd3ba52375547b13', class: {
|
23229
|
+
[`ic-theme-${theme}`]: theme !== "inherit",
|
23230
|
+
[`ic-time-input-disabled`]: disabled,
|
23231
|
+
[`ic-time-input-${size}`]: true,
|
23232
|
+
}, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: 'b104968d5b191f040358a7e800f11cb6dd036407', disabled: disabled }, !(hideLabel && hideHelperText) && (hAsync("ic-input-label", { key: 'fa0eaeef4aab6aef24b830e466ba87d68eb84b84', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, hAsync("slot", { key: 'e4548928534459ff788ff576483b560cf90fed53', name: "helper-text", slot: "helper-text" }))), hAsync("span", { key: '6f119c460880a9adb8661309c3a59cfee061ae7c', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), hAsync("span", { key: 'bd5ce20dab45d2514cd4219eee0d1645596e5e6e', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), hAsync("span", { key: 'e3d4a1e518f7bcb1b35ee065b5f038f9f6f3ffe7', id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("ic-input-component-container", { key: '396b05aa89aa0e24a1853cc5de20abb5341c49e5', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '2ac49a3454ce8dbabb546e54af197f0a66840499', class: "input-container" }, hAsync("div", { key: '6917d370b61c997d888c133bb27d5fa8f94a79c0', class: "time-inputs" }, [
|
23233
|
+
this.getInputsInOrder()[0],
|
23234
|
+
":",
|
23235
|
+
this.getInputsInOrder()[1],
|
23236
|
+
!this.isHHMMFormat()
|
23237
|
+
? [":", this.getInputsInOrder()[2]]
|
23238
|
+
: null,
|
23239
|
+
]), hAsync("div", { key: 'f09f3442355e75170fb1916727fdcac001df885d', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: '27173fcbdcd13798c4adc66eda9469bc471693ea', id: "clear-button", "aria-label": "Clear input", class: {
|
23240
|
+
["clear-button"]: true,
|
23241
|
+
["hidden"]: isEmptyString(this.hour) &&
|
23242
|
+
isEmptyString(this.minute) &&
|
23243
|
+
isEmptyString(this.second),
|
23244
|
+
}, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showClockButton && (hAsync("div", { key: '606a05c923fc4b95c21d0418be14168982117938', class: "show-clock-button-wrapper" }, hAsync("div", { key: '4b9b2d37ed3a9661615685f3b077ac244295fbd1', class: { divider: showDivider, [size]: true } }), hAsync("ic-button", { key: 'ab6ec2ca4b1442a23834e1a514800cd0f77c92d5', id: "clock-button", "aria-label": "Display clock", "aria-haspopup": "dialog", class: "clock-button", disabled: this.disabled, innerHTML: Clock, variant: "icon-tertiary", size: size, onFocus: this.handleClockFocus, onBlur: this.handleClockBlur, theme: this.clockFocused ? "light" : "dark" })))))), hAsync("span", { key: '1695846e5d626056f5a0e372c8513fcf0001f0b9', id: this.selectedTimeInfoId, class: "sr-only", "aria-live": "polite" }, hAsync("span", { key: '34f41adff4bc3642d21014b85e525b6f80814bb6', ref: (el) => (this.selectedTimeInfoEl = el), role: "status" })), (hasCustomValidation || !isEmptyString(this.invalidTimeText)) && (hAsync("ic-input-validation", { key: '4b9326e9e9df98698c2c6643262122658a1434de', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidTimeText, for: inputId })))));
|
23245
|
+
}
|
23246
|
+
static get delegatesFocus() { return true; }
|
23247
|
+
get el() { return getElement(this); }
|
23248
|
+
static get watchers() { return {
|
23249
|
+
"hour": ["watchInputHandler"],
|
23250
|
+
"minute": ["watchInputHandler"],
|
23251
|
+
"second": ["watchInputHandler"],
|
23252
|
+
"disabled": ["watchDisabledHandler"],
|
23253
|
+
"max": ["watchMaxHandler"],
|
23254
|
+
"min": ["watchMinHandler"],
|
23255
|
+
"required": ["watchRequiredHandler"]
|
23256
|
+
}; }
|
23257
|
+
static get style() { return IcTimeInputStyle0; }
|
23258
|
+
static get cmpMeta() { return {
|
23259
|
+
"$flags$": 25,
|
23260
|
+
"$tagName$": "ic-time-input",
|
23261
|
+
"$members$": {
|
23262
|
+
"disabled": [4],
|
23263
|
+
"disableTimes": [16],
|
23264
|
+
"emitTimePartChange": [4, "emit-time-part-change"],
|
23265
|
+
"helperText": [1025, "helper-text"],
|
23266
|
+
"hideHelperText": [4, "hide-helper-text"],
|
23267
|
+
"hideLabel": [4, "hide-label"],
|
23268
|
+
"inputId": [1, "input-id"],
|
23269
|
+
"invalidTimeMessage": [1, "invalid-time-message"],
|
23270
|
+
"label": [1],
|
23271
|
+
"max": [1],
|
23272
|
+
"min": [1],
|
23273
|
+
"name": [1],
|
23274
|
+
"required": [4],
|
23275
|
+
"showClearButton": [4, "show-clear-button"],
|
23276
|
+
"showClockButton": [4, "show-clock-button"],
|
23277
|
+
"size": [1],
|
23278
|
+
"theme": [1],
|
23279
|
+
"timeFormat": [1, "time-format"],
|
23280
|
+
"timePeriod": [1, "time-period"],
|
23281
|
+
"value": [1025],
|
23282
|
+
"validationStatus": [1025, "validation-status"],
|
23283
|
+
"validationText": [1, "validation-text"],
|
23284
|
+
"invalidTimeText": [32],
|
23285
|
+
"clockFocused": [32],
|
23286
|
+
"clearButtonFocused": [32],
|
23287
|
+
"removeLabelledBy": [32],
|
23288
|
+
"hour": [32],
|
23289
|
+
"minute": [32],
|
23290
|
+
"second": [32],
|
23291
|
+
"getTime": [64],
|
23292
|
+
"triggerIcChange": [64]
|
23293
|
+
},
|
23294
|
+
"$listeners$": undefined,
|
23295
|
+
"$lazyBundleId$": "-",
|
23296
|
+
"$attrsToReflect$": []
|
23297
|
+
}; }
|
23298
|
+
}
|
23299
|
+
|
23300
|
+
const icToastCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){:host{animation:fadein var(--ic-transition-duration-slow) ease-in-out}:host(.hidden){animation:fadeout var(--ic-transition-duration-slow) ease-in-out}}:host{--bottom-position:var(--ic-space-xl);position:fixed;bottom:var(--bottom-position);left:50%;transform:translate(-50%);z-index:var(--ic-z-index-toast)}:host(.ic-toast-hidden){display:none}:host(:focus){outline:none}.container{max-width:32.5rem;min-width:18rem;box-shadow:var(--ic-elevation-overlay);min-height:3.5rem;background-color:var(--ic-toast-background);display:flex;align-items:center;position:relative;border-radius:var(--ic-border-radius)}.toast-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);position:absolute;border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs)}.divider-neutral{background-color:var(--ic-toast-status-neutral)}.divider-info{background-color:var(--ic-toast-status-info)}.divider-warning{background-color:var(--ic-toast-status-warning)}.divider-error{background-color:var(--ic-toast-status-error)}.divider-success{background-color:var(--ic-toast-status-success)}.divider-ai{background-color:var(--ic-toast-status-ai)}.toast-icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}:host([variant=\"neutral\"]) .toast-icon svg,::slotted(svg){fill:var(--ic-toast-icon-neutral)}:host([variant=\"info\"]) .toast-icon svg{fill:var(--ic-toast-icon-info)}:host([variant=\"warning\"]) .toast-icon svg{fill:var(--ic-toast-icon-warning)}:host([variant=\"error\"]) .toast-icon svg{fill:var(--ic-toast-icon-error)}:host([variant=\"success\"]) .toast-icon svg{fill:var(--ic-toast-icon-success)}:host([variant=\"ai\"]) .toast-icon svg{fill:var(--ic-toast-icon-ai)}.toast-content{margin-left:var(--ic-space-xs);width:100%}.no-icon{margin-left:var(--ic-space-md)}.toast-text{padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}.toast-heading{--ic-typography-color:var(--ic-toast-title)}.toast-message{--ic-typography-color:var(--ic-toast-description)}.toast-action-container{padding-bottom:var(--ic-space-md)}#dismiss-button{padding:var(--ic-space-xs)}#dismiss-button>svg{color:var(--ic-toast-dismiss-button)}ic-loading-indicator{--outer-color:transparent;--inner-color:var(--ic-action-monochrome)}.toast-dismiss-timer{padding:var(--ic-space-sm)}@media (max-width: 576px){:host{--bottom-position:var(--ic-space-lg);width:calc(100% - 2 * var(--ic-space-md))}}@media (min-width: 993px){:host{--bottom-position:calc(var(--ic-space-xl) + var(--ic-space-xs))}}@media (forced-colors: active){.container{border:var(--ic-border-hc)}}@keyframes fadein{from{bottom:0;opacity:0}to{bottom:var(--bottom-position);opacity:1}}@keyframes fadeout{from{bottom:var(--bottom-position);opacity:1}to{bottom:0;opacity:0}}";
|
23301
|
+
var IcToastStyle0 = icToastCss;
|
23302
|
+
|
23303
|
+
const AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;
|
23304
|
+
const TOAST_HEADING_CHAR_LIMIT = 70;
|
23305
|
+
const TOAST_MESSAGE_CHAR_LIMIT = 140;
|
23306
|
+
/**
|
23307
|
+
* @slot action - IcButton or IcLink is placed below header and message. If used will default toast to manual `dismiss` type.
|
23308
|
+
* @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.
|
23309
|
+
*/
|
23310
|
+
class Toast {
|
23311
|
+
constructor(hostRef) {
|
23312
|
+
registerInstance(this, hostRef);
|
23313
|
+
this.icDismiss = createEvent(this, "icDismiss", 7);
|
23314
|
+
this.interactiveElements = [];
|
23315
|
+
this.timerProgress = 100;
|
23316
|
+
this.visible = false;
|
23317
|
+
/**
|
23318
|
+
* If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)
|
23319
|
+
* (NOTE: Has a minimum value of `5000ms`)
|
23320
|
+
*/
|
23321
|
+
this.autoDismissTimeout = 5000;
|
23322
|
+
/**
|
23323
|
+
* If toast can be manually dismissed, this prop sets a custom aria-label for the ic-button component
|
23324
|
+
*/
|
23325
|
+
this.dismissButtonAriaLabel = "dismiss";
|
23326
|
+
/**
|
23327
|
+
* How the toast will be dismissed. If manual will display a dismiss button.
|
23328
|
+
*/
|
23329
|
+
this.dismissMode = "manual";
|
23330
|
+
this.dismissAction = () => {
|
23331
|
+
this.icDismiss.emit();
|
23332
|
+
};
|
23333
|
+
this.handleProgressChange = () => {
|
23334
|
+
this.timerProgress -=
|
23335
|
+
(AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;
|
23336
|
+
};
|
23337
|
+
this.onFocus = () => {
|
21950
23338
|
if (this.focusInteractiveElement) {
|
21951
23339
|
this.isManual = true;
|
21952
23340
|
}
|
@@ -22114,13 +23502,13 @@ class Toast {
|
|
22114
23502
|
}
|
22115
23503
|
render() {
|
22116
23504
|
const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
|
22117
|
-
return (hAsync(Host, { key: '
|
23505
|
+
return (hAsync(Host, { key: 'ced9ccd739749f996c2c9a116bffa32cf19dbec1', class: { ["ic-toast-hidden"]: !visible }, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, hAsync("div", { key: 'cb61a3180810c26fa2b2e093f9bef2887a876d0e', class: "container" }, variant && visible && (hAsync("div", { key: 'b4fa17e0010310b293431201e9149b182ba3bd23', class: "toast-icon-container" }, hAsync("div", { key: '70d2193d9b7ebad46c05bb50839c1d2f512d004e', class: {
|
22118
23506
|
["divider"]: true,
|
22119
23507
|
[`divider-${variant}`]: true,
|
22120
|
-
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '
|
23508
|
+
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '6a78e344040bd9e5d5a20dd5922e97091a89f0bc', class: {
|
22121
23509
|
["toast-content"]: true,
|
22122
23510
|
["no-icon"]: variant === "neutral" && !isSlotUsed$1(this.el, "neutral-icon"),
|
22123
|
-
} }, hAsync("div", { key: '
|
23511
|
+
} }, hAsync("div", { key: '6f9807f536c6f37b6868bc651fd0cc90bff3817f', class: "toast-text" }, hAsync("ic-typography", { key: 'e86371c512f1413ec2482b0e8c88baa0357c346b', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? hAsync("h5", null, heading) : hAsync("p", null, heading))), message && (hAsync("ic-typography", { key: '593526ebb19c0fe0f9761b316ba75557f17dc545', variant: "body", class: "toast-message" }, visible && hAsync("p", { key: '15b6099aeaca00f3124d80fad1ce94d396343d17' }, message)))), isSlotUsed$1(this.el, "action") && (hAsync("div", { key: 'bda528607c243a094a3c61f509e12902133245e9', class: "toast-action-container" }, hAsync("slot", { key: '35c924efff99f3882daaec3f3589057a67eb9d46', name: "action" })))), !isManual ? (hAsync("ic-loading-indicator", { class: "toast-dismiss-timer", theme: "dark", monochrome: true, size: "icon", progress: this.timerProgress, description: "Dismiss timer" })) : (hAsync("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon", "aria-label": dismissButtonAriaLabel })))));
|
22124
23512
|
}
|
22125
23513
|
get el() { return getElement(this); }
|
22126
23514
|
static get watchers() { return {
|
@@ -22192,7 +23580,7 @@ class ToastRegion {
|
|
22192
23580
|
}
|
22193
23581
|
}
|
22194
23582
|
render() {
|
22195
|
-
return hAsync("slot", { key: '
|
23583
|
+
return hAsync("slot", { key: '5f8c46d718f868942c5b46b431b2cee136e215b4' });
|
22196
23584
|
}
|
22197
23585
|
get el() { return getElement(this); }
|
22198
23586
|
static get watchers() { return {
|
@@ -22352,7 +23740,7 @@ class ToggleButton {
|
|
22352
23740
|
render() {
|
22353
23741
|
const { accessibleLabel, checked, disabled, fullWidth, iconPlacement, monochrome, label, loading, outline, size, theme, tooltipPlacement, variant, } = this;
|
22354
23742
|
const iconVariant = variant === "icon";
|
22355
|
-
return (hAsync(Host, { key: '
|
23743
|
+
return (hAsync(Host, { key: '5560cb91c78fd8167fb76bb1cab0bcb20723828c', class: {
|
22356
23744
|
"ic-toggle-button-checked": checked,
|
22357
23745
|
"ic-toggle-button-disabled": disabled,
|
22358
23746
|
"ic-toggle-button-icon": iconVariant,
|
@@ -22362,7 +23750,7 @@ class ToggleButton {
|
|
22362
23750
|
"ic-toggle-button-hide-outline": !outline,
|
22363
23751
|
[`ic-toggle-button-${size}`]: true,
|
22364
23752
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22365
|
-
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: '
|
23753
|
+
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: 'e56f66ed52343d9c34df12a306028a799fab6f7a', "aria-pressed": `${checked}`, variant: iconVariant ? "icon" : "secondary", onClick: this.handleClick, title: accessibleLabel, "aria-label": `${accessibleLabel ? accessibleLabel : label}, ${checked ? "ticked" : "unticked"}`, disabled: disabled, size: size, fullWidth: fullWidth, loading: loading, tooltipPlacement: tooltipPlacement }, !iconVariant && label, hAsync("slot", { key: '57f73405674f826c39962f85ab030685bf18f11d' }), isSlotUsed$1(this.el, "icon") && (hAsync("slot", { key: '1b26441ed5bd3a0a18bdaa7d8432fd5d5434cfb4', name: "icon", slot: `${iconPlacement}-icon` })), isSlotUsed$1(this.el, "badge") && (hAsync("slot", { key: 'bf12638f891f2ba6c01df01d03ee860f7f15e0b1', name: "badge", slot: "badge" })))));
|
22366
23754
|
}
|
22367
23755
|
static get delegatesFocus() { return true; }
|
22368
23756
|
get el() { return getElement(this); }
|
@@ -22623,14 +24011,14 @@ class ToggleButtonGroup {
|
|
22623
24011
|
}
|
22624
24012
|
render() {
|
22625
24013
|
const { accessibleLabel, disabled, fullWidth, loading, monochrome, outline, theme, } = this;
|
22626
|
-
return (hAsync(Host, { key: '
|
24014
|
+
return (hAsync(Host, { key: '58a777e47ee684831b54f2aa7139f091e7a11b29', role: "group", "aria-label": accessibleLabel, tabindex: 0, class: {
|
22627
24015
|
"ic-toggle-button-group-disabled": disabled,
|
22628
24016
|
"ic-toggle-button-group-full-width": fullWidth,
|
22629
24017
|
"ic-toggle-button-group-loading": loading,
|
22630
24018
|
"ic-toggle-button-group-monochrome": monochrome,
|
22631
24019
|
"ic-toggle-button-group-hide-outline": !outline,
|
22632
24020
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22633
|
-
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '
|
24021
|
+
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: 'c748f41a8d8e69c908a8fb1ca4255dfd2ae5d521' })));
|
22634
24022
|
}
|
22635
24023
|
get el() { return getElement(this); }
|
22636
24024
|
static get watchers() { return {
|
@@ -22670,18 +24058,16 @@ class ToggleButtonGroup {
|
|
22670
24058
|
}; }
|
22671
24059
|
}
|
22672
24060
|
|
22673
|
-
const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip){width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;--ic-tooltip-background:var(--ic-color-background-primary-dark);--ic-tooltip-text:var(--ic-color-text-primary-dark);--ic-tooltip-border:var(--ic-color-border-neutral-grey-light)}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-tooltip-background);text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-tooltip-border);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay);width:-moz-max-content;width:max-content}:host(.ic-tooltip) ic-typography{--ic-typography-color:var(--ic-tooltip-text)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-tooltip-border);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}:host(.on-dialog)
|
24061
|
+
const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip){width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;--ic-tooltip-background:var(--ic-color-background-primary-dark);--ic-tooltip-text:var(--ic-color-text-primary-dark);--ic-tooltip-border:var(--ic-color-border-neutral-grey-light)}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-tooltip-background);text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-tooltip-border);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay);width:-moz-max-content;width:max-content}:host(.ic-tooltip) ic-typography{--ic-typography-color:var(--ic-tooltip-text)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-tooltip-border);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip-on-dialog){display:inline-block}@media screen and (max-width: 576px){:host(.ic-tooltip) .ic-tooltip-container{max-width:18.875rem}}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-border-hc)}}";
|
22674
24062
|
var IcTooltipStyle0 = icTooltipCss;
|
22675
24063
|
|
22676
24064
|
class Tooltip {
|
22677
24065
|
constructor(hostRef) {
|
22678
24066
|
registerInstance(this, hostRef);
|
22679
24067
|
this.delayedHideEvents = ["mouseleave"];
|
22680
|
-
this.dialogOverflow = false;
|
22681
24068
|
this.instantHideEvents = ["focusout"];
|
22682
24069
|
this.mouseOverTool = false;
|
22683
24070
|
this.persistTooltip = false;
|
22684
|
-
this.onDialog = false;
|
22685
24071
|
this.showEvents = [
|
22686
24072
|
!this.disableHover && "mouseenter",
|
22687
24073
|
!this.disableHover && "focusin",
|
@@ -22695,6 +24081,10 @@ class Tooltip {
|
|
22695
24081
|
* If `true`, the tooltip will not be displayed on hover, it will require a click.
|
22696
24082
|
*/
|
22697
24083
|
this.disableHover = false;
|
24084
|
+
/**
|
24085
|
+
* Setting to `true` can help in situations where tooltip content is clipped by a parent element.
|
24086
|
+
*/
|
24087
|
+
this.fixedPositioning = false;
|
22698
24088
|
/**
|
22699
24089
|
* The position of the tooltip in relation to the parent element.
|
22700
24090
|
*/
|
@@ -22708,78 +24098,13 @@ class Tooltip {
|
|
22708
24098
|
*/
|
22709
24099
|
this.theme = "inherit";
|
22710
24100
|
this.popperProps = {};
|
22711
|
-
this.getTooltipTranslate = (dialogEl) => {
|
22712
|
-
const child = this.el.children[0].getBoundingClientRect();
|
22713
|
-
let tooltipX;
|
22714
|
-
let tooltipY;
|
22715
|
-
switch (this.placement) {
|
22716
|
-
case "bottom":
|
22717
|
-
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
22718
|
-
tooltipY = child.bottom - dialogEl.top;
|
22719
|
-
break;
|
22720
|
-
case "bottom-start":
|
22721
|
-
tooltipX = child.left - dialogEl.left;
|
22722
|
-
tooltipY = child.bottom - dialogEl.top;
|
22723
|
-
break;
|
22724
|
-
case "bottom-end":
|
22725
|
-
tooltipX = child.right - dialogEl.right;
|
22726
|
-
tooltipY = child.bottom - dialogEl.top;
|
22727
|
-
break;
|
22728
|
-
case "top":
|
22729
|
-
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
22730
|
-
tooltipY = child.top - dialogEl.bottom;
|
22731
|
-
break;
|
22732
|
-
case "top-start":
|
22733
|
-
tooltipX = child.left - dialogEl.left;
|
22734
|
-
tooltipY = child.top - dialogEl.bottom;
|
22735
|
-
break;
|
22736
|
-
case "top-end":
|
22737
|
-
tooltipX = child.right - dialogEl.right;
|
22738
|
-
tooltipY = child.top - dialogEl.bottom;
|
22739
|
-
break;
|
22740
|
-
case "left":
|
22741
|
-
case "left-start":
|
22742
|
-
tooltipX = child.right - dialogEl.right - child.width;
|
22743
|
-
tooltipY = child.bottom - dialogEl.top - child.height;
|
22744
|
-
break;
|
22745
|
-
case "left-end":
|
22746
|
-
tooltipX = child.right - dialogEl.right - child.width;
|
22747
|
-
tooltipY = child.top - dialogEl.bottom + child.height;
|
22748
|
-
break;
|
22749
|
-
case "right":
|
22750
|
-
case "right-start":
|
22751
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22752
|
-
tooltipY = child.bottom - dialogEl.top - child.height;
|
22753
|
-
break;
|
22754
|
-
case "right-end":
|
22755
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22756
|
-
tooltipY = child.top - dialogEl.bottom + child.height;
|
22757
|
-
break;
|
22758
|
-
}
|
22759
|
-
if (this.dialogOverflow && tooltipX && tooltipX < 0) {
|
22760
|
-
if (this.placement.includes("top") ||
|
22761
|
-
this.placement.includes("bottom")) {
|
22762
|
-
this.toolTip.style.setProperty("--tooltip-arrow-translate", `${tooltipX}px`);
|
22763
|
-
tooltipX = child.left - dialogEl.left;
|
22764
|
-
}
|
22765
|
-
if (this.placement.includes("left")) {
|
22766
|
-
this.placement = "right";
|
22767
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22768
|
-
}
|
22769
|
-
}
|
22770
|
-
this.toolTip.style.setProperty("--tooltip-translate-x", `${tooltipX}px`);
|
22771
|
-
this.toolTip.style.setProperty("--tooltip-translate-y", `${tooltipY}px`);
|
22772
|
-
};
|
22773
24101
|
this.show = () => {
|
22774
|
-
var _a, _b, _c;
|
22775
24102
|
if (this.label) {
|
22776
24103
|
this.toolTip.setAttribute("data-show", "");
|
22777
|
-
if (this.
|
22778
|
-
this.el.classList.add("on-dialog");
|
22779
|
-
const dialogEl = (_c = (_b = (_a = this.icDialogEl) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("dialog")) === null || _c === void 0 ? void 0 : _c.getBoundingClientRect();
|
22780
|
-
dialogEl && this.getTooltipTranslate(dialogEl);
|
24104
|
+
if (this.dialogContentArea) {
|
24105
|
+
this.el.classList.add("ic-tooltip-on-dialog");
|
22781
24106
|
}
|
22782
|
-
this.popperInstance = createPopper(this.el, this.toolTip, Object.assign({ placement: this.placement, modifiers: [
|
24107
|
+
this.popperInstance = createPopper(this.el, this.toolTip, Object.assign({ strategy: this.fixedPositioning ? "fixed" : "absolute", placement: this.placement, modifiers: [
|
22783
24108
|
{
|
22784
24109
|
name: "offset",
|
22785
24110
|
options: {
|
@@ -22796,6 +24121,23 @@ class Tooltip {
|
|
22796
24121
|
name: "eventListeners",
|
22797
24122
|
options: { scroll: false, resize: false },
|
22798
24123
|
},
|
24124
|
+
...(this.dialogContentArea
|
24125
|
+
? [
|
24126
|
+
{
|
24127
|
+
name: "preventOverflow",
|
24128
|
+
options: {
|
24129
|
+
boundary: this.dialogContentArea,
|
24130
|
+
padding: 8,
|
24131
|
+
},
|
24132
|
+
},
|
24133
|
+
{
|
24134
|
+
name: "flip",
|
24135
|
+
options: {
|
24136
|
+
boundary: this.dialogContentArea,
|
24137
|
+
},
|
24138
|
+
},
|
24139
|
+
]
|
24140
|
+
: []),
|
22799
24141
|
] }, this.popperProps));
|
22800
24142
|
}
|
22801
24143
|
else {
|
@@ -22893,12 +24235,17 @@ class Tooltip {
|
|
22893
24235
|
}
|
22894
24236
|
}
|
22895
24237
|
componentDidLoad() {
|
22896
|
-
var _a;
|
24238
|
+
var _a, _b;
|
22897
24239
|
this.manageEventListeners("add");
|
22898
|
-
|
22899
|
-
this.
|
22900
|
-
|
22901
|
-
|
24240
|
+
let dialog;
|
24241
|
+
if (this.el.getRootNode().host) {
|
24242
|
+
dialog = this.el.getRootNode().host.closest("ic-dialog");
|
24243
|
+
}
|
24244
|
+
else {
|
24245
|
+
dialog = this.el.closest("ic-dialog");
|
24246
|
+
}
|
24247
|
+
this.dialogContentArea =
|
24248
|
+
(_b = (_a = dialog === null || dialog === void 0 ? void 0 : dialog.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".content-area")) !== null && _b !== void 0 ? _b : null;
|
22902
24249
|
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Tooltip");
|
22903
24250
|
}
|
22904
24251
|
componentDidRender() {
|
@@ -22925,10 +24272,10 @@ class Tooltip {
|
|
22925
24272
|
}
|
22926
24273
|
render() {
|
22927
24274
|
const { label, maxLines, silent, theme } = this;
|
22928
|
-
return (hAsync(Host, { key: '
|
24275
|
+
return (hAsync(Host, { key: '87f3bd48a10c5b2a9238773960171629d6661602', class: {
|
22929
24276
|
"ic-tooltip": true,
|
22930
24277
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22931
|
-
} }, hAsync("div", { key: '
|
24278
|
+
} }, hAsync("div", { key: 'f6469c289d080dcf9159e80f7e0a2a6092aac5f0', ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": `${silent}` }, hAsync("ic-typography", { key: 'ca39cfc710166a4ade00f2d430632af8211f1991', maxLines: maxLines, variant: "caption" }, label), hAsync("div", { key: 'c7c068079a39a3ad1b09af475519e3ad3590d28c', ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), hAsync("slot", { key: 'ca0c7f33a5809e1571e91bc9bf5033dbf5ddb31f' })));
|
22932
24279
|
}
|
22933
24280
|
get el() { return getElement(this); }
|
22934
24281
|
static get watchers() { return {
|
@@ -22943,8 +24290,9 @@ class Tooltip {
|
|
22943
24290
|
"$members$": {
|
22944
24291
|
"disableClick": [4, "disable-click"],
|
22945
24292
|
"disableHover": [4, "disable-hover"],
|
24293
|
+
"fixedPositioning": [4, "fixed-positioning"],
|
22946
24294
|
"maxLines": [2, "max-lines"],
|
22947
|
-
"placement": [
|
24295
|
+
"placement": [1],
|
22948
24296
|
"silent": [4],
|
22949
24297
|
"target": [513],
|
22950
24298
|
"theme": [1],
|
@@ -23177,16 +24525,16 @@ class TopNavigation {
|
|
23177
24525
|
const attrs = Component == "a" && {
|
23178
24526
|
href: href,
|
23179
24527
|
};
|
23180
|
-
return (hAsync(Host, { key: '
|
24528
|
+
return (hAsync(Host, { key: 'b0d2e6aebeb66ddb4ca659cfba83e2cdbd6ec3f4', class: {
|
23181
24529
|
"fullwidth-searchbar": hasFullWidthSearchBar,
|
23182
24530
|
"mobile-mode": overMobileBreakpoint,
|
23183
24531
|
[IcBrandForegroundEnum$1.Dark]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
23184
24532
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
23185
|
-
} }, hAsync("div", { key: '
|
24533
|
+
} }, hAsync("div", { key: '4a4576c41289fc356d5cfd4e0414901bd8d21a88', class: "top-navigation" }, hAsync("ic-section-container", { key: 'ec7aa4c1ce015f80c3850c2eba3b1e6b6d00c475', aligned: contentAligned, "full-height": true }, hAsync("header", { key: 'b388f01d5e3084e0530dcc5b460d773b8f51d1f2', role: "banner" }, hAsync("div", { key: 'a733f85700e1abccdf8aeceb97198359c53f9960', class: "top-panel-container" }, hAsync("div", { key: '948679467aee550281cdec8c5e43c6d5b4e7fd29', class: "app-details-container" }, (hasTitle || hasAppTitleSlot) && (hAsync(Component, Object.assign({ key: '4054a371178c53cf2794e7a9a653575b95a9354c', class: "title-link" }, attrs), hasAppIcon && (hAsync("div", { key: '11616acef1f4ff274320f24da803eab7cc52fa1d', class: "app-icon-container" }, hAsync("slot", { key: 'b36a9b7f67c72851dd11fd8f356a6735f4676814', name: "app-icon" }))), isSmallDeviceSize &&
|
23186
24534
|
(!isEmptyString$1(shortAppTitle) || shortAppTitleSlot) ? (hAsync("ic-typography", { variant: "subtitle-small", "aria-label": (!hasAppTitleSlot || !shortAppTitleSlot) &&
|
23187
|
-
`${appTitle} (${shortAppTitle})` }, hAsync("h1", null, shortAppTitleSlot ? (hAsync("slot", { name: "short-app-title" })) : (shortAppTitle)))) : (hAsync("ic-typography", { variant: appTitleVariant }, hAsync("h1", { class: "title-wrap" }, hasAppTitleSlot ? (hAsync("slot", { name: "app-title" })) : (appTitle)))))), hasStatus && (hAsync("div", { key: '
|
24535
|
+
`${appTitle} (${shortAppTitle})` }, hAsync("h1", null, shortAppTitleSlot ? (hAsync("slot", { name: "short-app-title" })) : (shortAppTitle)))) : (hAsync("ic-typography", { variant: appTitleVariant }, hAsync("h1", { class: "title-wrap" }, hasAppTitleSlot ? (hAsync("slot", { name: "app-title" })) : (appTitle)))))), hasStatus && (hAsync("div", { key: '42f5c01069f02f82abd34b4a540050154bdafec5', class: "app-status" }, hAsync("ic-typography", { key: '6052ad2c828b533ec121ee45d71c0afcdaae0622', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), hasVersion && (hAsync("div", { key: '173b8c98351d425e843aae093902b91feaa7fd05', class: "app-version" }, hAsync("ic-typography", { key: 'f46ecb51ac2c1f2c01beabf4590ac76681d94733', variant: "label", class: "app-version-text", "aria-label": "app version" }, version)))), (hasSearchSlotContent || hasMenuContent) && (hAsync("div", { key: '8f85b0505a04f7a3affb88ceaa81fe9eccd72ea1', class: "search-menu-container" }, hAsync("div", { key: 'ff332cfc554fef6856becd5fb87b9f315565bc1e', class: "search-actions-container" }, !overMobileBreakpoint ? (hAsync(Fragment, null, hAsync("slot", { name: "search" }), hasIconButtons && (hAsync("div", { class: "icon-buttons-container" }, hAsync("slot", { name: "buttons" }))))) : (hAsync(Fragment, null, hasSearchSlotContent && (hAsync("ic-button", { id: "search-toggle-button", ref: (el) => (this.mobileSearchButtonEl = el), onMouseDown: searchButtonMouseDownHandler, variant: "icon-tertiary", monochrome: true, size: searchButtonSize, "aria-label": mobileSearchButtonTitle, theme: foregroundColor, onClick: searchButtonClickHandler }, hAsync("slot", { name: "toggle-icon" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#ffffff" }, hAsync("path", { d: "M0 0h24v24H0V0z", fill: "none" }), hAsync("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" }))))), hasMenuContent && (hAsync("div", { class: "menu-button-container" }, hAsync("span", { id: "navigation-landmark-button-text", class: "navigation-landmark-button-text", "aria-hidden": "true" }, "Main navigation button"), hAsync("nav", { "aria-labelledby": "navigation-landmark-button-text", "aria-hidden": `${navMenuVisible}` }, hAsync("ic-button", { id: "menu-button", ref: (el) => (this.menuButtonEl = el), theme: foregroundColor, variant: "secondary", monochrome: true, "aria-expanded": "false", "aria-haspopup": "true", "aria-label": `Open ${hasNavigation ? "navigation" : "app"} menu`, size: menuSize, onClick: menuButtonClick }, "Menu", hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 0 24 24", width: "24px", fill: "#ffffff", slot: "left-icon" }, hAsync("path", { d: "M0 0h24v24H0V0z", fill: "none" }), hAsync("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" })))))))))))), mobileSearchBarVisible && (hAsync("div", { key: 'ef7c477979320e20293484f6594eb89a38973540', class: "search-bar-container" }, hAsync("slot", { key: 'b19e53fc019ff1d16c0da99d7d38bc6428dd7cc8', name: "search" }))), hasNavigation && !overMobileBreakpoint && (hAsync("div", { key: 'bdd8f9b982328135f06fc010828bbf0dc803a788', class: "navigation-tabs" }, hAsync("span", { key: 'e231e5a002a04ff6275aa2d6a39c66d83787367a', id: "navigation-landmark-text", class: "navigation-landmark-text", "aria-hidden": "true" }, "Main pages"), hAsync("nav", { key: '201327e158e97d601a8fb93b8174af6091bd0295', "aria-labelledby": "navigation-landmark-text", class: "nav-panel-container" }, hAsync("ic-horizontal-scroll", { key: 'df8f402d0da993079b7378292cba17e85259c53c', monochrome: true, appearance: foregroundColor }, hAsync("ul", { key: '22aa05880499690dcd43572705234bdb6fd386b0', class: "navigation-item-list", tabindex: "-1" }, hAsync("slot", { key: 'effb669cef379880d7b45ca4e74ef096c10a1afb', name: "navigation" }))))))))), navMenuVisible && (hAsync("ic-navigation-menu", { key: 'a0a45fb9db2ea99414cdc2570f6c9697a96f01ad', version: version, status: status, class: {
|
23188
24536
|
inline,
|
23189
|
-
} }, hasIconButtons && (hAsync("div", { key: '
|
24537
|
+
} }, hasIconButtons && (hAsync("div", { key: '8c74bfd6c807022ccb315bd4718fa8a521fb08ae', class: "menu-buttons-slot", slot: "buttons" }, hAsync("slot", { key: '1720467597b353122e907f7c83e1f9e0ef62c9ad', name: "buttons" }))), hAsync("ul", { key: 'ccdc85df3febad2d603caeccafbd675be4d3d9a2', slot: "navigation" }, hAsync("slot", { key: '1f465185f8937c81b279e8823127e0e8bc7d6841', name: "navigation" }))))));
|
23190
24538
|
}
|
23191
24539
|
get el() { return getElement(this); }
|
23192
24540
|
static get watchers() { return {
|
@@ -23514,7 +24862,7 @@ class TreeItem {
|
|
23514
24862
|
rel: this.rel,
|
23515
24863
|
target: this.target,
|
23516
24864
|
};
|
23517
|
-
return (hAsync(Host, { key: '
|
24865
|
+
return (hAsync(Host, { key: 'd46ba231b2a4e4b223df95b23064b4657fc59eb9', class: {
|
23518
24866
|
"ic-tree-item-disabled": disabled,
|
23519
24867
|
"ic-tree-item-selected": !disabled && selected,
|
23520
24868
|
[`ic-tree-item-${size}`]: size !== "medium",
|
@@ -23525,7 +24873,7 @@ class TreeItem {
|
|
23525
24873
|
}, tabIndex: disabled ? -1 : 0, onClick: this.handleTreeItemClicked, ref: (el) => (this.treeItemElement = el), "aria-disabled": disabled ? "true" : "false", "aria-live": "polite" }, attrs, { onFocus: () => this.handleDisplayTooltip(true), onBlur: () => this.handleDisplayTooltip(false) }), this.isParent && (hAsync("span", { class: {
|
23526
24874
|
["arrow-dropdown"]: true,
|
23527
24875
|
["tree-item-expanded"]: expanded,
|
23528
|
-
}, "aria-hidden": "true", innerHTML: arrowDropdown })), isSlotUsed(this.el, "icon") && (hAsync("div", { class: "icon-container" }, hAsync("slot", { name: "icon" }))), hAsync("ic-typography", { class: "tree-item-label" }, isSlotUsed(this.el, "label") ? hAsync("slot", { name: "label" }) : label))), expanded && (hAsync("div", { key: '
|
24876
|
+
}, "aria-hidden": "true", innerHTML: arrowDropdown })), isSlotUsed(this.el, "icon") && (hAsync("div", { class: "icon-container" }, hAsync("slot", { name: "icon" }))), hAsync("ic-typography", { class: "tree-item-label" }, isSlotUsed(this.el, "label") ? hAsync("slot", { name: "label" }) : label))), expanded && (hAsync("div", { key: 'b6d59306dc68150e6c51fe8d8e9985702837824b', "aria-hidden": `${!expanded}` }, hAsync("slot", { key: 'fe7f782b4b5c4b2d5eeaab7ff511747d37d6068f' })))));
|
23529
24877
|
}
|
23530
24878
|
get el() { return getElement(this); }
|
23531
24879
|
static get watchers() { return {
|
@@ -23882,14 +25230,14 @@ class TreeView {
|
|
23882
25230
|
}
|
23883
25231
|
render() {
|
23884
25232
|
const { heading, isLoaded, size, theme, truncateHeading } = this;
|
23885
|
-
return (hAsync(Host, { key: '
|
25233
|
+
return (hAsync(Host, { key: '2b58b217bf98ece972496384d43f498460a9824e', "context-id": this.treeViewId, class: {
|
23886
25234
|
[`ic-tree-view-${size}`]: size !== "medium",
|
23887
25235
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
23888
25236
|
"ic-tree-view-truncate": truncateHeading,
|
23889
|
-
}, onKeyDown: this.handleKeyDown, "aria-label": this.isHeadingDefined() ? heading : null }, this.hasHeadingAreaContent() && (hAsync("div", { key: '
|
25237
|
+
}, onKeyDown: this.handleKeyDown, "aria-label": this.isHeadingDefined() ? heading : null }, this.hasHeadingAreaContent() && (hAsync("div", { key: 'f1ae0ca6d6572175add0fec3862cc7380f9c8d74', class: "heading-area-container" }, isSlotUsed(this.el, "icon") && (hAsync("div", { key: '1fba05e27d7f39890e4697c93bc41e30261fb6f4', class: "icon-container" }, hAsync("slot", { key: 'ec1b61092f87e3d76681d37f8dfdc284d8e4e1cc', name: "icon" }))), hAsync("ic-typography", { key: '0f67c01f76f91c220e59d90943f3832b6f7fb8c9', variant: "subtitle-large", class: {
|
23890
25238
|
"tree-view-header": true,
|
23891
25239
|
"with-padding": this.truncateHeading && !isLoaded,
|
23892
|
-
} }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (heading)))), hAsync("slot", { key: '
|
25240
|
+
} }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (heading)))), hAsync("slot", { key: '8f385af9272ed7ee3847bab9173c0f43aa450de4' })));
|
23893
25241
|
}
|
23894
25242
|
get el() { return getElement(this); }
|
23895
25243
|
static get watchers() { return {
|
@@ -24087,7 +25435,7 @@ class Typography {
|
|
24087
25435
|
render() {
|
24088
25436
|
var _a, _b;
|
24089
25437
|
const { variant, applyVerticalMargins, maxLines, truncated, expanded, strikethrough, underline, italic, bold, theme, } = this;
|
24090
|
-
return (hAsync(Host, { key: '
|
25438
|
+
return (hAsync(Host, { key: '0f64ad9e02b32790b2bc269df212468b2f9426f7', class: {
|
24091
25439
|
[`ic-typography-${variant}`]: true,
|
24092
25440
|
[`ic-typography-vertical-margins-${variant}`]: !!applyVerticalMargins,
|
24093
25441
|
["ic-typography-bold"]: !!bold,
|
@@ -24100,7 +25448,7 @@ class Typography {
|
|
24100
25448
|
((_b = (_a = this.el.getRootNode()) === null || _a === void 0 ? void 0 : _a.host) === null || _b === void 0 ? void 0 : _b.tagName) ===
|
24101
25449
|
"IC-TOOLTIP") &&
|
24102
25450
|
maxLines &&
|
24103
|
-
maxLines > 0 ? (hAsync("div", { class: "trunc-wrapper", ref: (el) => (this.truncWrapperEl = el) }, hAsync("slot", null))) : (hAsync("slot", null)), variant === "body" && maxLines && maxLines > 0 && truncated && (hAsync("button", { key: '
|
25451
|
+
maxLines > 0 ? (hAsync("div", { class: "trunc-wrapper", ref: (el) => (this.truncWrapperEl = el) }, hAsync("slot", null))) : (hAsync("slot", null)), variant === "body" && maxLines && maxLines > 0 && truncated && (hAsync("button", { key: '3e5f7e8b549122986d1dc67fe35b5e270233eb71', class: { "trunc-btn": true, focus: this.truncButtonFocussed }, onFocus: this.truncButtonFocus, onBlur: this.truncButtonBlur, onMouseDown: this.truncButtonFocusFromMouse, onClick: this.toggleExpanded }, expanded ? "See less" : "See more"))));
|
24104
25452
|
}
|
24105
25453
|
get el() { return getElement(this); }
|
24106
25454
|
static get watchers() { return {
|
@@ -24135,6 +25483,7 @@ class Typography {
|
|
24135
25483
|
registerComponents([
|
24136
25484
|
Accordion,
|
24137
25485
|
AccordionGroup,
|
25486
|
+
ActionChip,
|
24138
25487
|
Alert,
|
24139
25488
|
BackToTop,
|
24140
25489
|
Badge,
|
@@ -24165,6 +25514,8 @@ registerComponents([
|
|
24165
25514
|
InputContainer,
|
24166
25515
|
InputLabel,
|
24167
25516
|
InputValidation,
|
25517
|
+
LayoutGrid,
|
25518
|
+
LayoutGridItem,
|
24168
25519
|
Link,
|
24169
25520
|
LoadingIndicator,
|
24170
25521
|
Menu,
|
@@ -24197,6 +25548,7 @@ registerComponents([
|
|
24197
25548
|
TabPanel,
|
24198
25549
|
TextField,
|
24199
25550
|
Theme,
|
25551
|
+
TimeInput,
|
24200
25552
|
Toast,
|
24201
25553
|
ToastRegion,
|
24202
25554
|
ToggleButton,
|