@ukic/canary-web-components 2.0.0-canary.7 → 2.0.0-canary.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/helpers-93c5fc92.js +198 -0
- package/dist/cjs/helpers-93c5fc92.js.map +1 -0
- package/dist/cjs/{helpers-00b08718.js → helpers-b525d45a.js} +2 -2
- package/dist/cjs/helpers-b525d45a.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +6 -2
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +4 -3
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +23 -12
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +5 -6
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +3 -6
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +21 -35
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +12 -10
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js +2599 -0
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination-bar.cjs.entry.js +2 -18
- package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +21 -13
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select-with-multi.cjs.entry.js +837 -0
- package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +184 -0
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-toggle-button.cjs.entry.js +6 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/index-4cf27b16.js +12 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/ic-menu-with-multi/ic-menu.css +701 -0
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js +1458 -0
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -0
- package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +880 -0
- package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/assets/Check.svg +3 -0
- package/dist/collection/components/ic-select-with-multi/assets/Clear.svg +3 -0
- package/dist/collection/components/ic-select-with-multi/assets/Expand.svg +3 -0
- package/dist/collection/components/ic-select-with-multi/ic-select.css +693 -0
- package/dist/collection/components/ic-select-with-multi/ic-select.js +1649 -0
- package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/story-data.js +216 -0
- package/dist/collection/components/ic-select-with-multi/story-data.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.js +146 -0
- package/dist/collection/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js +2040 -0
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +1518 -0
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +1 -0
- package/dist/collection/utils/constants.js +28 -0
- package/dist/collection/utils/constants.js.map +1 -0
- package/dist/collection/utils/helpers.js +168 -5
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js +13 -0
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/components/helpers.js +1 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js +183 -0
- package/dist/components/helpers2.js.map +1 -0
- package/dist/components/ic-accordion-group.js +7 -2
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-badge.js +3 -2
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +22 -11
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +5 -18
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-data-entity.js +3 -6
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js +20 -34
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +6 -5
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-menu-with-multi.d.ts +11 -0
- package/dist/components/ic-menu-with-multi.js +8 -0
- package/dist/components/ic-menu-with-multi.js.map +1 -0
- package/dist/components/ic-menu2.js +5 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-menu3.js +2665 -0
- package/dist/components/ic-menu3.js.map +1 -0
- package/dist/components/ic-pagination-bar2.js +1 -17
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +1 -1
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select-with-multi.d.ts +11 -0
- package/dist/components/ic-select-with-multi.js +962 -0
- package/dist/components/ic-select-with-multi.js.map +1 -0
- package/dist/components/ic-select2.js +22 -13
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +210 -0
- package/dist/components/ic-toggle-button-group.js.map +1 -0
- package/dist/components/ic-toggle-button.js +5 -2
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/core/core.css +8 -5
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-9ce5f082.entry.js → p-045359e1.entry.js} +2 -2
- package/dist/core/{p-7276339a.entry.js → p-10fb4c46.entry.js} +2 -2
- package/dist/core/{p-d9342548.entry.js → p-169bfa51.entry.js} +2 -2
- package/dist/core/{p-5746577f.entry.js → p-1ca332ca.entry.js} +2 -2
- package/dist/core/{p-c345a874.entry.js → p-204ace96.entry.js} +2 -2
- package/dist/core/p-21150122.entry.js +2 -0
- package/dist/core/p-21150122.entry.js.map +1 -0
- package/dist/core/{p-f436630b.entry.js → p-2eac7dcc.entry.js} +2 -2
- package/dist/core/{p-b43bd4f3.entry.js → p-3803a5b5.entry.js} +2 -2
- package/dist/core/{p-24945ee5.entry.js → p-452985d9.entry.js} +2 -2
- package/dist/core/p-452985d9.entry.js.map +1 -0
- package/dist/core/{p-ca262cdc.entry.js → p-4753bac8.entry.js} +2 -2
- package/dist/core/{p-3d2fcf84.entry.js → p-4baa0916.entry.js} +2 -2
- package/dist/core/{p-79b71c18.entry.js → p-4f413fc0.entry.js} +2 -2
- package/dist/core/{p-051b8266.entry.js → p-595be57d.entry.js} +2 -2
- package/dist/core/{p-434780c8.entry.js → p-5ae93c16.entry.js} +2 -2
- package/dist/core/{p-ff1d23cd.entry.js → p-5e0c830b.entry.js} +2 -2
- package/dist/core/p-624d4f5f.entry.js +2 -0
- package/dist/core/p-624d4f5f.entry.js.map +1 -0
- package/dist/core/{p-c263542a.entry.js → p-6933f8e9.entry.js} +2 -2
- package/dist/core/{p-32f18701.entry.js → p-6c3044b6.entry.js} +2 -2
- package/dist/core/{p-da4f0a58.entry.js → p-73be1251.entry.js} +2 -2
- package/dist/core/{p-d49660e0.entry.js → p-75dac3d1.entry.js} +2 -2
- package/dist/core/{p-a3ab9f4c.entry.js → p-76915584.entry.js} +2 -2
- package/dist/core/p-76915584.entry.js.map +1 -0
- package/dist/core/{p-88971cea.entry.js → p-7ef8d616.entry.js} +2 -2
- package/dist/core/{p-9fd84c69.entry.js → p-81ddc39d.entry.js} +2 -2
- package/dist/core/{p-fbb1fba0.entry.js → p-869954a2.entry.js} +2 -2
- package/dist/core/{p-3c859b9e.entry.js → p-88d54b72.entry.js} +2 -2
- package/dist/core/{p-5e94fae8.entry.js → p-8b08d8fe.entry.js} +2 -2
- package/dist/core/p-8b08d8fe.entry.js.map +1 -0
- package/dist/core/{p-d78fd9f3.entry.js → p-917c5721.entry.js} +2 -2
- package/dist/core/{p-2094c844.entry.js → p-942282cd.entry.js} +2 -2
- package/dist/core/p-99cad6c2.js +2 -0
- package/dist/core/p-99cad6c2.js.map +1 -0
- package/dist/core/p-9caf19eb.js +2 -0
- package/dist/core/p-9caf19eb.js.map +1 -0
- package/dist/core/{p-966ab920.entry.js → p-a0f8efb2.entry.js} +2 -2
- package/dist/core/{p-7632acc6.entry.js → p-a31031a5.entry.js} +2 -2
- package/dist/core/{p-a7d52bd1.entry.js → p-a434c3d4.entry.js} +2 -2
- package/dist/core/{p-95d3cd52.entry.js → p-a43c12cd.entry.js} +2 -2
- package/dist/core/{p-aafb2c79.entry.js → p-a50c3b9e.entry.js} +2 -2
- package/dist/core/{p-28fb7cca.entry.js → p-ab09986c.entry.js} +2 -2
- package/dist/core/p-ab09986c.entry.js.map +1 -0
- package/dist/core/p-ac4e40a7.entry.js +2 -0
- package/dist/core/p-ac4e40a7.entry.js.map +1 -0
- package/dist/core/{p-7dfd61bb.entry.js → p-b82dcc29.entry.js} +2 -2
- package/dist/core/{p-337b6e05.entry.js → p-ba86928c.entry.js} +2 -2
- package/dist/core/{p-f827e4c0.entry.js → p-c125b65a.entry.js} +2 -2
- package/dist/core/{p-27aa95e7.entry.js → p-c34848da.entry.js} +2 -2
- package/dist/core/{p-3b9f3a07.entry.js → p-d8469ac0.entry.js} +2 -2
- package/dist/core/{p-a2f366c7.entry.js → p-db9c03c0.entry.js} +2 -2
- package/dist/core/{p-6de46cb7.entry.js → p-e0462b23.entry.js} +2 -2
- package/dist/core/p-e0462b23.entry.js.map +1 -0
- package/dist/core/p-e0a94f2d.entry.js +2 -0
- package/dist/core/p-e0a94f2d.entry.js.map +1 -0
- package/dist/core/{p-116b18fe.entry.js → p-e3997d60.entry.js} +2 -2
- package/dist/core/p-e79e0292.entry.js +2 -0
- package/dist/core/p-e79e0292.entry.js.map +1 -0
- package/dist/core/{p-0d181ac8.entry.js → p-e834344e.entry.js} +2 -2
- package/dist/core/p-f14454b1.entry.js +2 -0
- package/dist/core/{p-93c5b849.entry.js.map → p-f14454b1.entry.js.map} +1 -1
- package/dist/core/{p-a162744e.entry.js → p-f3c840cd.entry.js} +2 -2
- package/dist/core/{p-a162744e.entry.js.map → p-f3c840cd.entry.js.map} +1 -1
- package/dist/core/{p-7b849cb5.entry.js → p-f6888309.entry.js} +2 -2
- package/dist/core/p-f74a8752.entry.js +2 -0
- package/dist/core/p-f74a8752.entry.js.map +1 -0
- package/dist/core/{p-4df42c76.entry.js → p-f7a14c01.entry.js} +2 -2
- package/dist/core/{p-d5cc084b.entry.js → p-f843da01.entry.js} +2 -2
- package/dist/core/{p-d5cc084b.entry.js.map → p-f843da01.entry.js.map} +1 -1
- package/dist/core/{p-0f0509ee.entry.js → p-fc5611e2.entry.js} +2 -2
- package/dist/core/p-fc5611e2.entry.js.map +1 -0
- package/dist/core/p-fde45b29.entry.js +2 -0
- package/dist/core/p-fde45b29.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-d06dc4ed.js → helpers-12b4266a.js} +2 -2
- package/dist/esm/helpers-12b4266a.js.map +1 -0
- package/dist/esm/helpers-5271897c.js +183 -0
- package/dist/esm/helpers-5271897c.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +6 -2
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +4 -3
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +23 -12
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +5 -6
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- package/dist/esm/ic-chip.entry.js +1 -1
- package/dist/esm/ic-data-entity.entry.js +3 -6
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +21 -35
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +1 -1
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +12 -10
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +1 -1
- package/dist/esm/ic-link.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-menu-with-multi.entry.js +2595 -0
- package/dist/esm/ic-menu-with-multi.entry.js.map +1 -0
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-pagination-bar.entry.js +1 -17
- package/dist/esm/ic-pagination-bar.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +21 -13
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +1 -1
- package/dist/esm/ic-radio-option.entry.js +1 -1
- package/dist/esm/ic-search-bar.entry.js +1 -1
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select-with-multi.entry.js +833 -0
- package/dist/esm/ic-select-with-multi.entry.js.map +1 -0
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +180 -0
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -0
- package/dist/esm/ic-toggle-button.entry.js +6 -3
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/index-93509377.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +208 -0
- package/dist/types/components/ic-select-with-multi/ic-select.d.ts +289 -0
- package/dist/types/components/ic-select-with-multi/story-data.d.ts +32 -0
- package/dist/types/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.d.ts +1 -0
- package/dist/types/components.d.ts +531 -0
- package/dist/types/utils/constants.d.ts +1 -0
- package/dist/types/utils/helpers.d.ts +61 -2
- package/dist/types/utils/types.d.ts +16 -0
- package/hydrate/index.js +6795 -2907
- package/package.json +3 -3
- package/dist/cjs/helpers-00b08718.js.map +0 -1
- package/dist/core/p-0f0509ee.entry.js.map +0 -1
- package/dist/core/p-24945ee5.entry.js.map +0 -1
- package/dist/core/p-28fb7cca.entry.js.map +0 -1
- package/dist/core/p-2aad58b6.js +0 -2
- package/dist/core/p-2aad58b6.js.map +0 -1
- package/dist/core/p-38314d45.entry.js +0 -2
- package/dist/core/p-38314d45.entry.js.map +0 -1
- package/dist/core/p-5e94fae8.entry.js.map +0 -1
- package/dist/core/p-6de46cb7.entry.js.map +0 -1
- package/dist/core/p-93c5b849.entry.js +0 -2
- package/dist/core/p-9fdd7d73.entry.js +0 -2
- package/dist/core/p-9fdd7d73.entry.js.map +0 -1
- package/dist/core/p-a3ab9f4c.entry.js.map +0 -1
- package/dist/core/p-c9b11488.entry.js +0 -2
- package/dist/core/p-c9b11488.entry.js.map +0 -1
- package/dist/core/p-f163a406.entry.js +0 -2
- package/dist/core/p-f163a406.entry.js.map +0 -1
- package/dist/esm/helpers-d06dc4ed.js.map +0 -1
- /package/dist/core/{p-9ce5f082.entry.js.map → p-045359e1.entry.js.map} +0 -0
- /package/dist/core/{p-7276339a.entry.js.map → p-10fb4c46.entry.js.map} +0 -0
- /package/dist/core/{p-d9342548.entry.js.map → p-169bfa51.entry.js.map} +0 -0
- /package/dist/core/{p-5746577f.entry.js.map → p-1ca332ca.entry.js.map} +0 -0
- /package/dist/core/{p-c345a874.entry.js.map → p-204ace96.entry.js.map} +0 -0
- /package/dist/core/{p-f436630b.entry.js.map → p-2eac7dcc.entry.js.map} +0 -0
- /package/dist/core/{p-b43bd4f3.entry.js.map → p-3803a5b5.entry.js.map} +0 -0
- /package/dist/core/{p-ca262cdc.entry.js.map → p-4753bac8.entry.js.map} +0 -0
- /package/dist/core/{p-3d2fcf84.entry.js.map → p-4baa0916.entry.js.map} +0 -0
- /package/dist/core/{p-79b71c18.entry.js.map → p-4f413fc0.entry.js.map} +0 -0
- /package/dist/core/{p-051b8266.entry.js.map → p-595be57d.entry.js.map} +0 -0
- /package/dist/core/{p-434780c8.entry.js.map → p-5ae93c16.entry.js.map} +0 -0
- /package/dist/core/{p-ff1d23cd.entry.js.map → p-5e0c830b.entry.js.map} +0 -0
- /package/dist/core/{p-c263542a.entry.js.map → p-6933f8e9.entry.js.map} +0 -0
- /package/dist/core/{p-32f18701.entry.js.map → p-6c3044b6.entry.js.map} +0 -0
- /package/dist/core/{p-da4f0a58.entry.js.map → p-73be1251.entry.js.map} +0 -0
- /package/dist/core/{p-d49660e0.entry.js.map → p-75dac3d1.entry.js.map} +0 -0
- /package/dist/core/{p-88971cea.entry.js.map → p-7ef8d616.entry.js.map} +0 -0
- /package/dist/core/{p-9fd84c69.entry.js.map → p-81ddc39d.entry.js.map} +0 -0
- /package/dist/core/{p-fbb1fba0.entry.js.map → p-869954a2.entry.js.map} +0 -0
- /package/dist/core/{p-3c859b9e.entry.js.map → p-88d54b72.entry.js.map} +0 -0
- /package/dist/core/{p-d78fd9f3.entry.js.map → p-917c5721.entry.js.map} +0 -0
- /package/dist/core/{p-2094c844.entry.js.map → p-942282cd.entry.js.map} +0 -0
- /package/dist/core/{p-966ab920.entry.js.map → p-a0f8efb2.entry.js.map} +0 -0
- /package/dist/core/{p-7632acc6.entry.js.map → p-a31031a5.entry.js.map} +0 -0
- /package/dist/core/{p-a7d52bd1.entry.js.map → p-a434c3d4.entry.js.map} +0 -0
- /package/dist/core/{p-95d3cd52.entry.js.map → p-a43c12cd.entry.js.map} +0 -0
- /package/dist/core/{p-aafb2c79.entry.js.map → p-a50c3b9e.entry.js.map} +0 -0
- /package/dist/core/{p-7dfd61bb.entry.js.map → p-b82dcc29.entry.js.map} +0 -0
- /package/dist/core/{p-337b6e05.entry.js.map → p-ba86928c.entry.js.map} +0 -0
- /package/dist/core/{p-f827e4c0.entry.js.map → p-c125b65a.entry.js.map} +0 -0
- /package/dist/core/{p-27aa95e7.entry.js.map → p-c34848da.entry.js.map} +0 -0
- /package/dist/core/{p-3b9f3a07.entry.js.map → p-d8469ac0.entry.js.map} +0 -0
- /package/dist/core/{p-a2f366c7.entry.js.map → p-db9c03c0.entry.js.map} +0 -0
- /package/dist/core/{p-116b18fe.entry.js.map → p-e3997d60.entry.js.map} +0 -0
- /package/dist/core/{p-0d181ac8.entry.js.map → p-e834344e.entry.js.map} +0 -0
- /package/dist/core/{p-7b849cb5.entry.js.map → p-f6888309.entry.js.map} +0 -0
- /package/dist/core/{p-4df42c76.entry.js.map → p-f7a14c01.entry.js.map} +0 -0
@@ -0,0 +1,208 @@
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
+
import { IcActivationTypes, IcMenuOption, IcSizes } from "@ukic/web-components/dist/types/utils/types";
|
3
|
+
import { IcOptionSelectEventDetail, IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
|
4
|
+
import { IcValueEventDetail } from "../../utils/types";
|
5
|
+
export declare class Menu {
|
6
|
+
private activeDescendantAttr;
|
7
|
+
private clearButtonId;
|
8
|
+
private disabledOptionSelected;
|
9
|
+
private hasPreviouslyBlurred;
|
10
|
+
private hasTimedOut;
|
11
|
+
private isLoading;
|
12
|
+
private isMultiSelect;
|
13
|
+
private isSearchBar;
|
14
|
+
private isSearchableSelect;
|
15
|
+
private menu;
|
16
|
+
private multiOptionClicked;
|
17
|
+
private popperInstance;
|
18
|
+
private preventClickOpen;
|
19
|
+
private preventMenuFocus;
|
20
|
+
private selectAllButton;
|
21
|
+
private ungroupedOptions;
|
22
|
+
el: HTMLIcMenuWithMultiElement;
|
23
|
+
focusFromSearchKeypress: boolean;
|
24
|
+
initialOptionsListRender: boolean;
|
25
|
+
keyboardNav: boolean;
|
26
|
+
optionHighlighted: string;
|
27
|
+
preventIncorrectTabOrder: boolean;
|
28
|
+
menuOptions: IcMenuOption[];
|
29
|
+
/**
|
30
|
+
* Determines whether options manually set as values (by pressing 'Enter') when they receive focus using keyboard navigation.
|
31
|
+
*/
|
32
|
+
activationType?: IcActivationTypes;
|
33
|
+
/**
|
34
|
+
* The reference to an anchor element the menu will position itself from when rendered.
|
35
|
+
*/
|
36
|
+
anchorEl: HTMLElement;
|
37
|
+
/**
|
38
|
+
* @internal If `true`, autofocus will be applied on selected item when menu is open.
|
39
|
+
*/
|
40
|
+
autoFocusOnSelected: boolean;
|
41
|
+
/**
|
42
|
+
* If `true`, the menu will close when an option is selected.
|
43
|
+
*/
|
44
|
+
closeOnSelect: boolean;
|
45
|
+
/**
|
46
|
+
* If `true`, the menu will fill the width of the container.
|
47
|
+
*/
|
48
|
+
fullWidth: boolean;
|
49
|
+
/**
|
50
|
+
* The reference to the input element.
|
51
|
+
*/
|
52
|
+
inputEl: HTMLElement;
|
53
|
+
/**
|
54
|
+
* The label for the input element.
|
55
|
+
*/
|
56
|
+
inputLabel: string;
|
57
|
+
/**
|
58
|
+
* The custom name for the label field for IcMenuOption.
|
59
|
+
*/
|
60
|
+
labelField: string;
|
61
|
+
/**
|
62
|
+
* The ID of the menu.
|
63
|
+
*/
|
64
|
+
menuId: string;
|
65
|
+
/**
|
66
|
+
* If `true`, the menu will be displayed open.
|
67
|
+
*/
|
68
|
+
open: boolean;
|
69
|
+
watchOpenHandler(): void;
|
70
|
+
/**
|
71
|
+
* @internal - The parent element if ic-menu is nested inside another component.
|
72
|
+
*/
|
73
|
+
parentEl?: HTMLElement;
|
74
|
+
/**
|
75
|
+
* Specify the mode search bar uses to search. `navigation` allows for quick lookups of a set of values, `query` allows for more general searches.
|
76
|
+
*/
|
77
|
+
searchMode?: IcSearchBarSearchModes;
|
78
|
+
/**
|
79
|
+
* @internal If `true`, the icOptionSelect event will be fired on enter instead of ArrowUp and ArrowDown.
|
80
|
+
*/
|
81
|
+
selectOnEnter?: boolean;
|
82
|
+
/**
|
83
|
+
* The size of the menu.
|
84
|
+
*/
|
85
|
+
size?: IcSizes;
|
86
|
+
/**
|
87
|
+
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
88
|
+
*/
|
89
|
+
small?: boolean;
|
90
|
+
/**
|
91
|
+
* The possible menu selection options.
|
92
|
+
*/
|
93
|
+
options: IcMenuOption[];
|
94
|
+
watchOptionsHandler(newOptions: IcMenuOption[]): void;
|
95
|
+
/**
|
96
|
+
* The value of the currently selected option - or array of values (if multiple options allowed).
|
97
|
+
*/
|
98
|
+
value: string | string[];
|
99
|
+
/**
|
100
|
+
* The custom name for the value field for IcMenuOption.
|
101
|
+
*/
|
102
|
+
valueField: string;
|
103
|
+
/**
|
104
|
+
* @internal Emitted when key is pressed while menu is open.
|
105
|
+
*/
|
106
|
+
menuKeyPress: EventEmitter<{
|
107
|
+
isNavKey: boolean;
|
108
|
+
key: string;
|
109
|
+
}>;
|
110
|
+
/**
|
111
|
+
* @internal Emitted when an option has been highlighted.
|
112
|
+
*/
|
113
|
+
menuOptionId: EventEmitter<IcMenuOptionIdEventDetail>;
|
114
|
+
/**
|
115
|
+
* @internal Emitted when an option is selected.
|
116
|
+
*/
|
117
|
+
menuOptionSelect: EventEmitter<IcOptionSelectEventDetail>;
|
118
|
+
/**
|
119
|
+
* @internal Emitted when all options are selected or deselected.
|
120
|
+
*/
|
121
|
+
menuOptionSelectAll: EventEmitter<{
|
122
|
+
select: boolean;
|
123
|
+
}>;
|
124
|
+
/**
|
125
|
+
* @internal Emitted when state of menu changes (i.e. open or close).
|
126
|
+
*/
|
127
|
+
menuStateChange: EventEmitter<IcMenuChangeEventDetail>;
|
128
|
+
/**
|
129
|
+
* @internal Emitted when the retry button is clicked.
|
130
|
+
*/
|
131
|
+
retryButtonClicked: EventEmitter<IcValueEventDetail>;
|
132
|
+
/**
|
133
|
+
* @internal Emitted when the timeout menu loses focus.
|
134
|
+
*/
|
135
|
+
timeoutBlur: EventEmitter<{
|
136
|
+
ev: FocusEvent;
|
137
|
+
}>;
|
138
|
+
/**
|
139
|
+
* @internal Emitted when the ungrouped options have been set.
|
140
|
+
*/
|
141
|
+
ungroupedOptionsSet: EventEmitter<{
|
142
|
+
options: IcMenuOption[];
|
143
|
+
}>;
|
144
|
+
connectedCallback(): void;
|
145
|
+
disconnectedCallback(): void;
|
146
|
+
componentWillLoad(): void;
|
147
|
+
componentDidLoad(): void;
|
148
|
+
componentDidUpdate(): void;
|
149
|
+
componentDidRender(): void;
|
150
|
+
/**
|
151
|
+
* @internal If menu is opened with the mouse, emit menuStateChange custom event.
|
152
|
+
*/
|
153
|
+
handleClickOpen(): Promise<void>;
|
154
|
+
/**
|
155
|
+
* Used alongside activationType
|
156
|
+
* If menu is opened via keyboard navigation (i.e. Enter, ArrowUp or ArrowDown), emit optionSelect custom event.
|
157
|
+
* @param {KeyboardEvent} event - keyboard event
|
158
|
+
*/
|
159
|
+
handleKeyboardOpen(event: KeyboardEvent): Promise<void>;
|
160
|
+
/**
|
161
|
+
* @internal Used to highlight the first option in the menu.
|
162
|
+
*/
|
163
|
+
handleSetFirstOption(): Promise<void>;
|
164
|
+
/**
|
165
|
+
* @internal Used to initialize popperJS with an anchor element.
|
166
|
+
* 5/12/2023: Tested with Floating UI, however, discovered inconsistent
|
167
|
+
* boundary behaviour so sticking with PopperJS.
|
168
|
+
*/
|
169
|
+
initPopperJs(anchor: HTMLElement): Promise<void>;
|
170
|
+
private handleClearListener;
|
171
|
+
private handleSubmitSearch;
|
172
|
+
private handleMenuChange;
|
173
|
+
private setNextOptionValue;
|
174
|
+
private setPreviousOptionValue;
|
175
|
+
private getParentEl;
|
176
|
+
private arrowBehaviour;
|
177
|
+
private getMenuOptions;
|
178
|
+
private setHighlightedOption;
|
179
|
+
private autoSetInputValueKeyboardOpen;
|
180
|
+
private selectHighlightedOption;
|
181
|
+
private manualSetInputValueKeyboardOpen;
|
182
|
+
private setInputValue;
|
183
|
+
private handleOptionClick;
|
184
|
+
private handleRetry;
|
185
|
+
private handleRetryKeyDown;
|
186
|
+
private handleBlur;
|
187
|
+
private handleMouseDown;
|
188
|
+
private handleMenuKeyDown;
|
189
|
+
private handleMenuKeyUp;
|
190
|
+
private handleSelectAllClick;
|
191
|
+
private handleSelectAllBlur;
|
192
|
+
private handleSelectAllFocus;
|
193
|
+
private handleSelectAllMouseDown;
|
194
|
+
private emitSelectAll;
|
195
|
+
private emitMenuKeyPress;
|
196
|
+
private autoSetValueOnMenuKeyDown;
|
197
|
+
private getOptionId;
|
198
|
+
private getOptionAriaLabel;
|
199
|
+
private getSortedOptions;
|
200
|
+
private isManualMode;
|
201
|
+
private scrollToSelected;
|
202
|
+
private loadUngroupedOptions;
|
203
|
+
private setMenuScrollbar;
|
204
|
+
private handleTimeoutBlur;
|
205
|
+
private optionContent;
|
206
|
+
private displayOption;
|
207
|
+
render(): any;
|
208
|
+
}
|
@@ -0,0 +1,289 @@
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
+
import { IcOptionSelectEventDetail } from "@ukic/web-components/dist/types/components";
|
3
|
+
import { IcMenuOption, IcSizes } from "@ukic/web-components/dist/types/utils/types";
|
4
|
+
import { IcInformationStatusOrEmpty, IcSearchMatchPositions, IcValueEventDetail } from "../../utils/types";
|
5
|
+
export declare class Select {
|
6
|
+
private anchorEl;
|
7
|
+
private blurredBecauseButtonPressed;
|
8
|
+
private characterKeyPressTimer;
|
9
|
+
private clearButton;
|
10
|
+
private customSelectElement;
|
11
|
+
private debounceAria;
|
12
|
+
private hasSetDefaultValue;
|
13
|
+
private hasTimedOut;
|
14
|
+
private inheritedAttributes;
|
15
|
+
private initialOptionsEmpty;
|
16
|
+
private inputId;
|
17
|
+
private menu;
|
18
|
+
private menuId;
|
19
|
+
private nativeSelectElement;
|
20
|
+
private retryButtonClick;
|
21
|
+
private searchableMenuItemSelected;
|
22
|
+
private searchableSelectElement;
|
23
|
+
private timeoutTimer;
|
24
|
+
private ungroupedOptions;
|
25
|
+
el: HTMLIcSelectWithMultiElement;
|
26
|
+
ariaActiveDescendant: string;
|
27
|
+
clearButtonFocused: boolean;
|
28
|
+
debounceIcChange: number;
|
29
|
+
hiddenInputValue: string;
|
30
|
+
noOptions: IcMenuOption[];
|
31
|
+
open: boolean;
|
32
|
+
pressedCharacters: string;
|
33
|
+
searchableSelectInputValue: string;
|
34
|
+
/**
|
35
|
+
* **[DEPRECATED]** This prop should not be used anymore.
|
36
|
+
*/
|
37
|
+
charactersUntilSuggestions?: number;
|
38
|
+
/**
|
39
|
+
* If `true`, the disabled state will be set.
|
40
|
+
*/
|
41
|
+
disabled?: boolean;
|
42
|
+
/**
|
43
|
+
* If `true`, the built in filtering will be disabled for a searchable variant. For example, if options will already be filtered from external source.
|
44
|
+
*/
|
45
|
+
disableFilter?: boolean;
|
46
|
+
/**
|
47
|
+
* The text displayed when there are no options in the option list.
|
48
|
+
*/
|
49
|
+
emptyOptionListText: string;
|
50
|
+
/**
|
51
|
+
* The <form> element to associate the select with.
|
52
|
+
*/
|
53
|
+
form?: string;
|
54
|
+
/**
|
55
|
+
* The URL that processes the information submitted by the select. It overrides the action attribute of the select's form owner. Does nothing if there is no form owner.
|
56
|
+
* This prop should only be used with searchable select and will only be applied if searchable is true.
|
57
|
+
*/
|
58
|
+
formaction?: string;
|
59
|
+
/**
|
60
|
+
* The way the submitted form data is encoded. This prop should only be used with searchable select and will only be applied if searchable is true.
|
61
|
+
*/
|
62
|
+
formenctype?: string;
|
63
|
+
/**
|
64
|
+
* The HTTP method used to submit the form. This prop should only be used with searchable select and will only be applied if searchable is true.
|
65
|
+
*/
|
66
|
+
formmethod?: string;
|
67
|
+
/**
|
68
|
+
* If `true`, the form will not be validated when submitted. This prop should only be used with searchable select and will only be applied if searchable is true.
|
69
|
+
*/
|
70
|
+
formnovalidate?: boolean;
|
71
|
+
/**
|
72
|
+
* The place to display the response from submitting the form. It overrides the target attribute of the select's form owner.
|
73
|
+
* This prop should only be used with searchable select and will only be applied if searchable is true.
|
74
|
+
*/
|
75
|
+
formtarget?: string;
|
76
|
+
/**
|
77
|
+
* If `true`, the select element will fill the width of the container. This prop should only be used with searchable select and will only be applied if searchable is true.
|
78
|
+
*/
|
79
|
+
fullWidth: boolean;
|
80
|
+
/**
|
81
|
+
* The helper text that will be displayed for additional field guidance.
|
82
|
+
*/
|
83
|
+
helperText?: string;
|
84
|
+
/**
|
85
|
+
* If `true`, the label will be hidden and the required label value will be applied as an aria-label.
|
86
|
+
*/
|
87
|
+
hideLabel?: boolean;
|
88
|
+
/**
|
89
|
+
* If `true`, descriptions of options will be included when filtering options in a searchable select. Only applies to built in filtering.
|
90
|
+
*/
|
91
|
+
includeDescriptionsInSearch?: boolean;
|
92
|
+
/**
|
93
|
+
* If `true`, group titles of grouped options will be included when filtering options in a searchable select. Only applies to built in filtering.
|
94
|
+
*/
|
95
|
+
includeGroupTitlesInSearch?: boolean;
|
96
|
+
/**
|
97
|
+
* The label for the select.
|
98
|
+
*/
|
99
|
+
label: string;
|
100
|
+
/**
|
101
|
+
* The message displayed when external loading times out.
|
102
|
+
*/
|
103
|
+
loadingErrorLabel?: string;
|
104
|
+
/**
|
105
|
+
* The message displayed whilst the options are being loaded externally.
|
106
|
+
*/
|
107
|
+
loadingLabel?: string;
|
108
|
+
/**
|
109
|
+
* If `true`, multiple options can be selected.
|
110
|
+
*/
|
111
|
+
multiple?: boolean;
|
112
|
+
/**
|
113
|
+
* The name of the control, which is submitted with the form data.
|
114
|
+
*/
|
115
|
+
name?: string;
|
116
|
+
/**
|
117
|
+
* The placeholder value to be displayed.
|
118
|
+
*/
|
119
|
+
placeholder?: string;
|
120
|
+
/**
|
121
|
+
* If `true`, the readonly state will be set.
|
122
|
+
*/
|
123
|
+
readonly?: boolean;
|
124
|
+
/**
|
125
|
+
* If `true`, the select will require a value.
|
126
|
+
*/
|
127
|
+
required?: boolean;
|
128
|
+
/**
|
129
|
+
* If `true`, a searchable variant of the select will be displayed which can be typed in to filter options.
|
130
|
+
*/
|
131
|
+
searchable?: boolean;
|
132
|
+
/**
|
133
|
+
* Whether the search string of the searchable select should match the start of or anywhere in the options. Only applies to built in filtering.
|
134
|
+
*/
|
135
|
+
searchMatchPosition?: IcSearchMatchPositions;
|
136
|
+
/**
|
137
|
+
* If `true`, the icOptionSelect event will be fired on enter instead of ArrowUp and ArrowDown.
|
138
|
+
*/
|
139
|
+
selectOnEnter?: boolean;
|
140
|
+
/**
|
141
|
+
* If `true`, a button which clears the select input when clicked will be displayed. The button will always appear on the searchable select.
|
142
|
+
*/
|
143
|
+
showClearButton?: boolean;
|
144
|
+
/**
|
145
|
+
* The size of the select.
|
146
|
+
*/
|
147
|
+
size?: IcSizes;
|
148
|
+
/**
|
149
|
+
* **[DEPRECATED]** This prop should not be used anymore. Set prop `size` to "small" instead.
|
150
|
+
*/
|
151
|
+
small?: boolean;
|
152
|
+
/**
|
153
|
+
* If using external filtering, set a timeout for when loading takes too long.
|
154
|
+
*/
|
155
|
+
timeout?: number;
|
156
|
+
/**
|
157
|
+
* The validation status - e.g. 'error' | 'warning' | 'success'.
|
158
|
+
*/
|
159
|
+
validationStatus?: IcInformationStatusOrEmpty;
|
160
|
+
/**
|
161
|
+
* The text to display as the validation message.
|
162
|
+
*/
|
163
|
+
validationText?: string;
|
164
|
+
/**
|
165
|
+
* If `true`, the loading state will be triggered when fetching options asynchronously.
|
166
|
+
*/
|
167
|
+
loading?: boolean;
|
168
|
+
loadingHandler(newValue: boolean): void;
|
169
|
+
/**
|
170
|
+
* The possible selection options.
|
171
|
+
*/
|
172
|
+
options?: IcMenuOption[];
|
173
|
+
filteredOptions: IcMenuOption[];
|
174
|
+
uniqueOptions: IcMenuOption[];
|
175
|
+
watchOptionsHandler(): void;
|
176
|
+
/**
|
177
|
+
* The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.
|
178
|
+
*/
|
179
|
+
debounce?: number;
|
180
|
+
currDebounce: number;
|
181
|
+
debounceChangedHandler(newValue: number): void;
|
182
|
+
/**
|
183
|
+
* The value of the select, reflected by the value of the currently selected option.
|
184
|
+
* For the searchable variant, the value is also reflected by the user input.
|
185
|
+
* For the multi-select variant, the value must be an array of option values.
|
186
|
+
*/
|
187
|
+
value?: string | string[];
|
188
|
+
initialValue: string | string[];
|
189
|
+
inputValueToFilter: string;
|
190
|
+
currValue: string | string[];
|
191
|
+
valueChangedHandler(): void;
|
192
|
+
/**
|
193
|
+
* Emitted when the select loses focus.
|
194
|
+
*/
|
195
|
+
icBlur: EventEmitter<void>;
|
196
|
+
/**
|
197
|
+
* Emitted when the value changes.
|
198
|
+
*/
|
199
|
+
icChange: EventEmitter<IcValueEventDetail>;
|
200
|
+
/**
|
201
|
+
* Emitted when the clear button is clicked.
|
202
|
+
*/
|
203
|
+
icClear: EventEmitter<void>;
|
204
|
+
/**
|
205
|
+
* Emitted when the select gains focus.
|
206
|
+
*/
|
207
|
+
icFocus: EventEmitter<void>;
|
208
|
+
/**
|
209
|
+
* Emitted when a keyboard input occurred.
|
210
|
+
*/
|
211
|
+
icInput: EventEmitter<IcValueEventDetail>;
|
212
|
+
/**
|
213
|
+
* Emitted when an option is selected.
|
214
|
+
* Selecting an option will also trigger an `icChange/onIcChange` due to the value being updated.
|
215
|
+
*/
|
216
|
+
icOptionSelect: EventEmitter<IcOptionSelectEventDetail>;
|
217
|
+
/**
|
218
|
+
* Emitted when `multiple` is `true` and an option is deselected.
|
219
|
+
*/
|
220
|
+
icOptionDeselect: EventEmitter<IcOptionSelectEventDetail>;
|
221
|
+
/**
|
222
|
+
* Emitted when the 'retry loading' button is clicked for a searchable variant.
|
223
|
+
*/
|
224
|
+
icRetryLoad: EventEmitter<IcValueEventDetail>;
|
225
|
+
disconnectedCallback(): void;
|
226
|
+
componentWillLoad(): void;
|
227
|
+
componentDidLoad(): void;
|
228
|
+
componentDidRender(): void;
|
229
|
+
/**
|
230
|
+
* Sets focus on the input box.
|
231
|
+
*/
|
232
|
+
setFocus(): Promise<void>;
|
233
|
+
private handleRetry;
|
234
|
+
private updateOnChangeDebounce;
|
235
|
+
private emitIcChange;
|
236
|
+
private emitImmediateIcChange;
|
237
|
+
/**
|
238
|
+
* Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
|
239
|
+
* @param options array of IcMenuOptions
|
240
|
+
* @returns a new options object, with all entries possessing a duplicate 'value' field removed
|
241
|
+
*/
|
242
|
+
private deduplicateOptions;
|
243
|
+
/**
|
244
|
+
* Loop through options array and for all options with no value, infer it from the label
|
245
|
+
*/
|
246
|
+
private setOptionsValuesFromLabels;
|
247
|
+
private setUngroupedOptions;
|
248
|
+
private setTextColor;
|
249
|
+
private setMenuChange;
|
250
|
+
private getLabelFromValue;
|
251
|
+
private getMultipleOptionsString;
|
252
|
+
private getFilteredChildMenuOptions;
|
253
|
+
private getValueSortedByOptions;
|
254
|
+
private handleNativeSelectChange;
|
255
|
+
private handleCustomSelectChange;
|
256
|
+
private handleMultipleSelectChange;
|
257
|
+
private handleSelectAllChange;
|
258
|
+
private handleMenuChange;
|
259
|
+
private handleMenuKeyPress;
|
260
|
+
private handleFocusIndicatorDisplay;
|
261
|
+
private handleMouseDown;
|
262
|
+
private isExternalFiltering;
|
263
|
+
private handleClick;
|
264
|
+
private handleExpandIconMouseDown;
|
265
|
+
private handleClear;
|
266
|
+
private handleCharacterKeyDown;
|
267
|
+
private handleNativeSelectKeyDown;
|
268
|
+
private handleKeyDown;
|
269
|
+
private handleClearButtonFocus;
|
270
|
+
private handleClearButtonBlur;
|
271
|
+
private handleFilter;
|
272
|
+
/**
|
273
|
+
* Put the select component into loading state.
|
274
|
+
* Replace options with the loading message. If timeout is enabled, set the timeout and once passed, replace options with the loading error message
|
275
|
+
*/
|
276
|
+
private triggerLoading;
|
277
|
+
private getValueFromLabel;
|
278
|
+
private handleSearchableSelectInput;
|
279
|
+
private updateSearchableSelectResultAriaLive;
|
280
|
+
private debounceAriaLiveUpdate;
|
281
|
+
private updateMultiSelectedCountAriaLive;
|
282
|
+
private getDefaultValue;
|
283
|
+
private setDefaultValue;
|
284
|
+
private onFocus;
|
285
|
+
private onBlur;
|
286
|
+
private onTimeoutBlur;
|
287
|
+
private handleFormReset;
|
288
|
+
render(): any;
|
289
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { IcMenuOption } from "@ukic/web-components";
|
2
|
+
export declare const OPTIONS: IcMenuOption[];
|
3
|
+
export declare const OPTIONS_WITH_DESCRIPTIONS: IcMenuOption[];
|
4
|
+
export declare const OPTIONS_WITH_DISABLED: IcMenuOption[];
|
5
|
+
export declare const GROUPED_OPTIONS: IcMenuOption[];
|
6
|
+
export declare const OPTIONS_WITH_RECOMMENDED: ({
|
7
|
+
label: string;
|
8
|
+
value: string;
|
9
|
+
recommended?: undefined;
|
10
|
+
} | {
|
11
|
+
label: string;
|
12
|
+
value: string;
|
13
|
+
recommended: boolean;
|
14
|
+
})[];
|
15
|
+
export declare const createMultiSelectElement: (options?: IcMenuOption[]) => HTMLIcSelectWithMultiElement;
|
16
|
+
export declare const createContainer: (elementArray: HTMLElement[], height?: string) => HTMLDivElement;
|
17
|
+
export declare const Default: () => HTMLDivElement;
|
18
|
+
export declare const DefaultValue: () => HTMLDivElement;
|
19
|
+
export declare const WithClearButton: () => HTMLDivElement;
|
20
|
+
export declare const WithDescriptions: () => HTMLDivElement;
|
21
|
+
export declare const HelperText: () => HTMLDivElement;
|
22
|
+
export declare const Sizes: () => HTMLDivElement;
|
23
|
+
export declare const Disabled: () => HTMLDivElement;
|
24
|
+
export declare const DisabledOptions: () => HTMLDivElement;
|
25
|
+
export declare const HiddenLabel: () => HTMLDivElement;
|
26
|
+
export declare const Required: () => HTMLDivElement;
|
27
|
+
export declare const ReadOnly: () => HTMLDivElement;
|
28
|
+
export declare const Groups: () => HTMLDivElement;
|
29
|
+
export declare const Recommended: () => HTMLDivElement;
|
30
|
+
export declare const Validation: () => HTMLDivElement;
|
31
|
+
export declare const LoadingWithError: () => HTMLDivElement;
|
32
|
+
export declare const InForm: () => HTMLDivElement;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|