@gov-design-system-ce/components 4.0.8-rc10 → 4.0.8-rc12
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/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/array.utils-fcdab10c.js +46 -0
- package/dist/cjs/array.utils-fcdab10c.js.map +1 -0
- package/dist/cjs/{constants-9dc978dd.js → constants-02aec493.js} +8 -8
- package/dist/cjs/{constants-9dc978dd.js.map → constants-02aec493.js.map} +1 -1
- package/dist/cjs/{constants-20b3f7ee.js → constants-11f3de8f.js} +10 -10
- package/dist/cjs/{constants-20b3f7ee.js.map → constants-11f3de8f.js.map} +1 -1
- package/dist/cjs/constants-1b3eeb21.js +20 -0
- package/dist/cjs/{constants-66cb0615.js.map → constants-1b3eeb21.js.map} +1 -1
- package/dist/cjs/constants-29b9825f.js +33 -0
- package/dist/cjs/{constants-427a2843.js.map → constants-29b9825f.js.map} +1 -1
- package/dist/cjs/constants-2f0a11e5.js +30 -0
- package/dist/cjs/{constants-dde21dcf.js.map → constants-2f0a11e5.js.map} +1 -1
- package/dist/cjs/{constants-a31344ad.js → constants-4fefc173.js} +16 -16
- package/dist/cjs/{constants-a31344ad.js.map → constants-4fefc173.js.map} +1 -1
- package/dist/cjs/{constants-ded92f8a.js → constants-52053f2d.js} +3 -3
- package/dist/cjs/{constants-ded92f8a.js.map → constants-52053f2d.js.map} +1 -1
- package/dist/cjs/{constants-61f8be34.js → constants-7a5540d0.js} +10 -10
- package/dist/cjs/{constants-61f8be34.js.map → constants-7a5540d0.js.map} +1 -1
- package/dist/cjs/constants-87bab1ed.js +14 -0
- package/dist/cjs/{constants-97eea364.js.map → constants-87bab1ed.js.map} +1 -1
- package/dist/cjs/constants-8f194b53.js +30 -0
- package/dist/cjs/{constants-0c6c8e11.js.map → constants-8f194b53.js.map} +1 -1
- package/dist/cjs/{constants-1490a5eb.js → constants-a33f6e99.js} +9 -9
- package/dist/cjs/{constants-1490a5eb.js.map → constants-a33f6e99.js.map} +1 -1
- package/dist/cjs/constants-b7813ab1.js +16 -0
- package/dist/cjs/{constants-caad94b4.js.map → constants-b7813ab1.js.map} +1 -1
- package/dist/cjs/constants-b8a9f758.js +22 -0
- package/dist/cjs/{constants-25f7a6be.js.map → constants-b8a9f758.js.map} +1 -1
- package/dist/cjs/constants-d5fe1cee.js +29 -0
- package/dist/cjs/{constants-440cd5c8.js.map → constants-d5fe1cee.js.map} +1 -1
- package/dist/cjs/constants-fb915aae.js +21 -0
- package/dist/cjs/{constants-6df82618.js.map → constants-fb915aae.js.map} +1 -1
- package/dist/cjs/constants-fdc5268a.js +15 -0
- package/dist/cjs/{constants-2b1c31b8.js.map → constants-fdc5268a.js.map} +1 -1
- package/dist/cjs/core.cjs.js +32 -32
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/form-f93c3a0a.js +163 -0
- package/dist/cjs/form-f93c3a0a.js.map +1 -0
- package/dist/cjs/gov-accordion-item.cjs.entry.js +89 -88
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +63 -62
- package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +91 -88
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +34 -33
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +57 -56
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +166 -165
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +91 -90
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +90 -89
- package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +21 -20
- package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +27 -26
- package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +18 -17
- package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +62 -59
- package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +16 -15
- package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +16 -15
- package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +237 -236
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +70 -69
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +121 -120
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +91 -90
- package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +226 -225
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +36 -35
- package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +180 -178
- package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +18 -17
- package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +261 -260
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +13 -12
- package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +59 -58
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +121 -120
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +16 -15
- package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +151 -150
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +121 -120
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +18 -17
- package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +16 -15
- package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +96 -95
- package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +71 -70
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +13 -12
- package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +22 -21
- package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +15 -14
- package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +28 -27
- package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-modal.cjs.entry.js +93 -90
- package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-nav-item.cjs.entry.js +26 -25
- package/dist/cjs/gov-nav-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-nav.cjs.entry.js +29 -28
- package/dist/cjs/gov-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +193 -192
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-prompt.cjs.entry.js +89 -88
- package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-side-nav-item.cjs.entry.js +74 -73
- package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-side-nav.cjs.entry.js +43 -42
- package/dist/cjs/gov-side-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-skeleton.cjs.entry.js +92 -91
- package/dist/cjs/gov-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +39 -38
- package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-statsbar-item.cjs.entry.js +28 -27
- package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-statsbar.cjs.entry.js +41 -40
- package/dist/cjs/gov-statsbar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +64 -63
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +39 -38
- package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +48 -40
- package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +196 -183
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +43 -42
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +27 -26
- package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +18 -17
- package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +81 -80
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +39 -38
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +225 -207
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +97 -96
- package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +56 -55
- package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
- package/dist/cjs/gov.log-8887c6bc.js +28 -0
- package/dist/cjs/{gov.log-b842920d.js.map → gov.log-8887c6bc.js.map} +1 -1
- package/dist/cjs/helpers-2ee3c9e6.js +19 -0
- package/dist/cjs/helpers-2ee3c9e6.js.map +1 -0
- package/dist/cjs/index-cfb57f19.js +2044 -0
- package/dist/cjs/index-cfb57f19.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/props-edd0d46f.js +16 -0
- package/dist/cjs/{props-d6146e54.js.map → props-edd0d46f.js.map} +1 -1
- package/dist/cjs/sizes-89f8d3b2.js +18 -0
- package/dist/cjs/{sizes-79872c2a.js.map → sizes-89f8d3b2.js.map} +1 -1
- package/dist/cjs/stencil.utils-07182a8a.js +11 -0
- package/dist/cjs/{stencil.utils-22814956.js.map → stencil.utils-07182a8a.js.map} +1 -1
- package/dist/cjs/string.utils-2335838f.js +24 -0
- package/dist/cjs/{string.utils-0f08c48c.js.map → string.utils-2335838f.js.map} +1 -1
- package/dist/cjs/template-431f0737.js +132 -0
- package/dist/cjs/template-431f0737.js.map +1 -0
- package/dist/cjs/{utils-c9b1bba3.js → utils-d263c5c6.js} +9 -9
- package/dist/cjs/{utils-c9b1bba3.js.map → utils-d263c5c6.js.map} +1 -1
- package/dist/cjs/variants-85b514ea.js +18 -0
- package/dist/cjs/{variants-f5ffeef3.js.map → variants-85b514ea.js.map} +1 -1
- package/dist/cjs/wcag-53ebeed1.js +67 -0
- package/dist/cjs/{wcag-e6257f27.js.map → wcag-53ebeed1.js.map} +1 -1
- package/dist/cjs/{win-5521073d.js → win-03714165.js} +16 -16
- package/dist/cjs/{win-5521073d.js.map → win-03714165.js.map} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/gov-accordion/constants.js +11 -11
- package/dist/collection/components/gov-accordion/constants.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +292 -292
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.js +211 -211
- package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
- package/dist/collection/components/gov-attachments/constants.js +7 -7
- package/dist/collection/components/gov-attachments/constants.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.js +111 -111
- package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments.js +89 -89
- package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
- package/dist/collection/components/gov-backdrop/constants.js +2 -2
- package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +130 -130
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/constants.js +1 -1
- package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +197 -197
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-button/button/constants.js +12 -12
- package/dist/collection/components/gov-button/button/constants.js.map +1 -1
- package/dist/collection/components/gov-button/button/gov-button.css +45 -45
- package/dist/collection/components/gov-button/button/gov-button.js +864 -864
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/constants.js +4 -4
- package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +184 -164
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
- package/dist/collection/components/gov-card/constants.js +11 -11
- package/dist/collection/components/gov-card/constants.js.map +1 -1
- package/dist/collection/components/gov-card/gov-card.js +290 -290
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-chip/constants.js +7 -7
- package/dist/collection/components/gov-chip/constants.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.css +40 -40
- package/dist/collection/components/gov-chip/gov-chip.js +448 -448
- package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
- package/dist/collection/components/gov-container/constants.js +1 -1
- package/dist/collection/components/gov-container/constants.js.map +1 -1
- package/dist/collection/components/gov-container/gov-container.js +53 -53
- package/dist/collection/components/gov-container/gov-container.js.map +1 -1
- package/dist/collection/components/gov-control-group/constants.js +1 -1
- package/dist/collection/components/gov-control-group/constants.js.map +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +75 -75
- package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/constants.js +6 -6
- package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +18 -18
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
- package/dist/collection/components/gov-empty/constants.js +4 -4
- package/dist/collection/components/gov-empty/constants.js.map +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +18 -18
- package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
- package/dist/collection/components/gov-error-code/constants.js +4 -4
- package/dist/collection/components/gov-error-code/constants.js.map +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +18 -18
- package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/constants.js +5 -5
- package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +881 -879
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/constants.js +3 -3
- package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +427 -427
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
- package/dist/collection/components/gov-form/control/constants.js +3 -3
- package/dist/collection/components/gov-form/control/constants.js.map +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.js +228 -228
- package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
- package/dist/collection/components/gov-form/file/constants.js +7 -7
- package/dist/collection/components/gov-form/file/constants.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +722 -722
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/group/constants.js +5 -5
- package/dist/collection/components/gov-form/group/constants.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +164 -164
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.js +92 -92
- package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +154 -154
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js.map +1 -1
- package/dist/collection/components/gov-form/input/constants.js +15 -15
- package/dist/collection/components/gov-form/input/constants.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +949 -929
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-form/label/constants.js +2 -2
- package/dist/collection/components/gov-form/label/constants.js.map +1 -1
- package/dist/collection/components/gov-form/label/gov-form-label.js +124 -124
- package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
- package/dist/collection/components/gov-form/message/constants.js +3 -3
- package/dist/collection/components/gov-form/message/constants.js.map +1 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js +85 -85
- package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/constants.js +4 -4
- package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +788 -786
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
- package/dist/collection/components/gov-form/password-power/constants.js +3 -3
- package/dist/collection/components/gov-form/password-power/constants.js.map +1 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +38 -38
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
- package/dist/collection/components/gov-form/radio/constants.js +5 -5
- package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +427 -427
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
- package/dist/collection/components/gov-form/search/constants.js +3 -3
- package/dist/collection/components/gov-form/search/constants.js.map +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.js +45 -45
- package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
- package/dist/collection/components/gov-form/select/constants.js +2 -2
- package/dist/collection/components/gov-form/select/constants.js.map +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +568 -567
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/switch/constants.js +4 -4
- package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +427 -427
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-grid/constants.js +2 -2
- package/dist/collection/components/gov-grid/constants.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js +113 -113
- package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +59 -59
- package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
- package/dist/collection/components/gov-icon/constants.js +5 -5
- package/dist/collection/components/gov-icon/constants.js.map +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +122 -122
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-icon/helpers.js +10 -10
- package/dist/collection/components/gov-icon/helpers.js.map +1 -1
- package/dist/collection/components/gov-icon/list.js +276 -276
- package/dist/collection/components/gov-icon/list.js.map +1 -1
- package/dist/collection/components/gov-infobar/constants.js +7 -7
- package/dist/collection/components/gov-infobar/constants.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +253 -253
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
- package/dist/collection/components/gov-layout/constants.js +8 -8
- package/dist/collection/components/gov-layout/constants.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout-column.js +18 -18
- package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +95 -95
- package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/constants.js +3 -3
- package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +18 -18
- package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/constants.js +8 -8
- package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +256 -256
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
- package/dist/collection/components/gov-message/constants.js +4 -4
- package/dist/collection/components/gov-message/constants.js.map +1 -1
- package/dist/collection/components/gov-message/gov-message.js +55 -55
- package/dist/collection/components/gov-message/gov-message.js.map +1 -1
- package/dist/collection/components/gov-modal/constants.js +12 -12
- package/dist/collection/components/gov-modal/constants.js.map +1 -1
- package/dist/collection/components/gov-modal/gov-modal.js +375 -337
- package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
- package/dist/collection/components/gov-nav/constants.js +4 -4
- package/dist/collection/components/gov-nav/constants.js.map +1 -1
- package/dist/collection/components/gov-nav/gov-nav-item.js +61 -61
- package/dist/collection/components/gov-nav/gov-nav-item.js.map +1 -1
- package/dist/collection/components/gov-nav/gov-nav.js +88 -88
- package/dist/collection/components/gov-nav/gov-nav.js.map +1 -1
- package/dist/collection/components/gov-pagination/constants.js +10 -10
- package/dist/collection/components/gov-pagination/constants.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +509 -509
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-pagination/pagination.js +48 -48
- package/dist/collection/components/gov-pagination/pagination.js.map +1 -1
- package/dist/collection/components/gov-promp/constants.js +10 -10
- package/dist/collection/components/gov-promp/constants.js.map +1 -1
- package/dist/collection/components/gov-promp/gov-prompt.js +317 -317
- package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
- package/dist/collection/components/gov-side-nav/constants.js +11 -11
- package/dist/collection/components/gov-side-nav/constants.js.map +1 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +324 -324
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +1 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav.js +159 -159
- package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +1 -1
- package/dist/collection/components/gov-spacer/constants.js +6 -6
- package/dist/collection/components/gov-spacer/constants.js.map +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +89 -89
- package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
- package/dist/collection/components/gov-statsbar/constants.js +7 -7
- package/dist/collection/components/gov-statsbar/constants.js.map +1 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +58 -58
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +1 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar.js +95 -95
- package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -1
- package/dist/collection/components/gov-stepper/constants.js +11 -11
- package/dist/collection/components/gov-stepper/constants.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +236 -236
- package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +91 -91
- package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -1
- package/dist/collection/components/gov-tabs/constants.js +11 -11
- package/dist/collection/components/gov-tabs/constants.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +221 -178
- package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.css +13 -10
- package/dist/collection/components/gov-tabs/gov-tabs.js +432 -419
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -1
- package/dist/collection/components/gov-tag/constants.js +1 -1
- package/dist/collection/components/gov-tag/constants.js.map +1 -1
- package/dist/collection/components/gov-tag/gov-tag.css +40 -40
- package/dist/collection/components/gov-tag/gov-tag.js +147 -147
- package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
- package/dist/collection/components/gov-tile/constants.js +7 -7
- package/dist/collection/components/gov-tile/constants.js.map +1 -1
- package/dist/collection/components/gov-tile/container/constants.js +1 -1
- package/dist/collection/components/gov-tile/container/constants.js.map +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +63 -63
- package/dist/collection/components/gov-tile/container/gov-tiles.js.map +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +100 -100
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
- package/dist/collection/components/gov-toast/constants.js +6 -6
- package/dist/collection/components/gov-toast/constants.js.map +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +253 -253
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
- package/dist/collection/components/gov-tooltip/constants.js +6 -6
- package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +149 -149
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +390 -370
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- package/dist/collection/components/gov-wizard/constants.js +10 -10
- package/dist/collection/components/gov-wizard/constants.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +368 -368
- package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard.js +160 -160
- package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
- package/dist/collection/core/constants/sizes.js +11 -11
- package/dist/collection/core/constants/sizes.js.map +1 -1
- package/dist/collection/core/constants/tags.js +9 -9
- package/dist/collection/core/constants/tags.js.map +1 -1
- package/dist/collection/core/constants/tokens.js +5 -5
- package/dist/collection/core/constants/tokens.js.map +1 -1
- package/dist/collection/core/constants/variants.js +8 -8
- package/dist/collection/core/constants/variants.js.map +1 -1
- package/dist/collection/helpers/Dom/form.js +59 -59
- package/dist/collection/helpers/Dom/form.js.map +1 -1
- package/dist/collection/helpers/Dom/template.js +101 -101
- package/dist/collection/helpers/Dom/template.js.map +1 -1
- package/dist/collection/helpers/Dom/win.js +14 -14
- package/dist/collection/helpers/Dom/win.js.map +1 -1
- package/dist/collection/helpers/Log/gov.log.js +10 -10
- package/dist/collection/helpers/Log/gov.log.js.map +1 -1
- package/dist/collection/helpers/Validate/props.js +5 -5
- package/dist/collection/helpers/Validate/props.js.map +1 -1
- package/dist/collection/helpers/Validate/wcag.js +42 -42
- package/dist/collection/helpers/Validate/wcag.js.map +1 -1
- package/dist/collection/pages/Accordion.js +4 -4
- package/dist/collection/pages/Accordion.js.map +1 -1
- package/dist/collection/pages/Breadcrumbs.js +4 -4
- package/dist/collection/pages/Breadcrumbs.js.map +1 -1
- package/dist/collection/pages/Button.js +4 -4
- package/dist/collection/pages/Button.js.map +1 -1
- package/dist/collection/pages/Card.js +4 -4
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Chip.js +4 -4
- package/dist/collection/pages/Chip.js.map +1 -1
- package/dist/collection/pages/Container.js +4 -4
- package/dist/collection/pages/Container.js.map +1 -1
- package/dist/collection/pages/ControlGroup.js +4 -4
- package/dist/collection/pages/ControlGroup.js.map +1 -1
- package/dist/collection/pages/Cookiebar.js +4 -4
- package/dist/collection/pages/Cookiebar.js.map +1 -1
- package/dist/collection/pages/Empty.js +4 -4
- package/dist/collection/pages/Empty.js.map +1 -1
- package/dist/collection/pages/Error.js +4 -4
- package/dist/collection/pages/Error.js.map +1 -1
- package/dist/collection/pages/FormLabel.js +4 -4
- package/dist/collection/pages/FormLabel.js.map +1 -1
- package/dist/collection/pages/FormMessage.js +4 -4
- package/dist/collection/pages/FormMessage.js.map +1 -1
- package/dist/collection/pages/Forms.js +120 -120
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/FormsRestructure.js +4 -4
- package/dist/collection/pages/FormsRestructure.js.map +1 -1
- package/dist/collection/pages/Grid.js +4 -4
- package/dist/collection/pages/Grid.js.map +1 -1
- package/dist/collection/pages/Home.js +4 -4
- package/dist/collection/pages/Home.js.map +1 -1
- package/dist/collection/pages/Infobar.js +4 -4
- package/dist/collection/pages/Infobar.js.map +1 -1
- package/dist/collection/pages/Layout.js +4 -4
- package/dist/collection/pages/Layout.js.map +1 -1
- package/dist/collection/pages/Loading.js +9 -9
- package/dist/collection/pages/Loading.js.map +1 -1
- package/dist/collection/pages/Message.js +4 -4
- package/dist/collection/pages/Message.js.map +1 -1
- package/dist/collection/pages/Modal.js +10 -10
- package/dist/collection/pages/Modal.js.map +1 -1
- package/dist/collection/pages/Nav.js +4 -4
- package/dist/collection/pages/Nav.js.map +1 -1
- package/dist/collection/pages/Pagination.js +13 -13
- package/dist/collection/pages/Pagination.js.map +1 -1
- package/dist/collection/pages/Prompt.js +9 -9
- package/dist/collection/pages/Prompt.js.map +1 -1
- package/dist/collection/pages/SideNav.js +4 -4
- package/dist/collection/pages/SideNav.js.map +1 -1
- package/dist/collection/pages/Spacer.js +4 -4
- package/dist/collection/pages/Spacer.js.map +1 -1
- package/dist/collection/pages/Statsbar.js +4 -4
- package/dist/collection/pages/Statsbar.js.map +1 -1
- package/dist/collection/pages/Stepper.js +4 -4
- package/dist/collection/pages/Stepper.js.map +1 -1
- package/dist/collection/pages/Tabs.js +15 -6
- package/dist/collection/pages/Tabs.js.map +1 -1
- package/dist/collection/pages/Tag.js +4 -4
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/collection/pages/Tiles.js +4 -4
- package/dist/collection/pages/Tiles.js.map +1 -1
- package/dist/collection/pages/ToastMessage.js +4 -4
- package/dist/collection/pages/ToastMessage.js.map +1 -1
- package/dist/collection/pages/ToastMessageCountdown.js +4 -4
- package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
- package/dist/collection/pages/Tooltip.js +4 -4
- package/dist/collection/pages/Tooltip.js.map +1 -1
- package/dist/collection/pages/Typography.js +4 -4
- package/dist/collection/pages/Typography.js.map +1 -1
- package/dist/collection/pages/Wizard.js +4 -4
- package/dist/collection/pages/Wizard.js.map +1 -1
- package/dist/collection/utils/array.utils.js +13 -13
- package/dist/collection/utils/array.utils.js.map +1 -1
- package/dist/collection/utils/bool.utils.js +12 -12
- package/dist/collection/utils/bool.utils.js.map +1 -1
- package/dist/collection/utils/ds.utils.js +1 -1
- package/dist/collection/utils/ds.utils.js.map +1 -1
- package/dist/collection/utils/file.utils.js +19 -19
- package/dist/collection/utils/file.utils.js.map +1 -1
- package/dist/collection/utils/helpers.types.js +15 -15
- package/dist/collection/utils/helpers.types.js.map +1 -1
- package/dist/collection/utils/icon.utils.js +21 -21
- package/dist/collection/utils/icon.utils.js.map +1 -1
- package/dist/collection/utils/number.utils.js +1 -1
- package/dist/collection/utils/number.utils.js.map +1 -1
- package/dist/collection/utils/object.utils.js +13 -13
- package/dist/collection/utils/object.utils.js.map +1 -1
- package/dist/collection/utils/stencil.utils.js +3 -3
- package/dist/collection/utils/stencil.utils.js.map +1 -1
- package/dist/collection/utils/string.utils.js +8 -8
- package/dist/collection/utils/string.utils.js.map +1 -1
- package/dist/collection/utils/utils.js +9 -9
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/gov-accordion-item.d.ts +2 -2
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion-item.js.map +1 -1
- package/dist/components/gov-accordion.d.ts +2 -2
- package/dist/components/gov-accordion.js +1 -2
- package/dist/components/gov-accordion.js.map +1 -1
- package/dist/components/gov-attachments-item.d.ts +2 -2
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments-item.js.map +1 -1
- package/dist/components/gov-attachments.d.ts +2 -2
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-attachments.js.map +1 -1
- package/dist/components/gov-backdrop.d.ts +2 -2
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-backdrop.js.map +1 -1
- package/dist/components/gov-breadcrumbs.d.ts +2 -2
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.d.ts +2 -2
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-button.js.map +1 -1
- package/dist/components/gov-card.d.ts +2 -2
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-chip.d.ts +2 -2
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-chip.js.map +1 -1
- package/dist/components/gov-container.d.ts +2 -2
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-container.js.map +1 -1
- package/dist/components/gov-control-group.d.ts +2 -2
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-control-group.js.map +1 -1
- package/dist/components/gov-cookiebar.d.ts +2 -2
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-cookiebar.js.map +1 -1
- package/dist/components/gov-dropdown.d.ts +2 -2
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-dropdown.js.map +1 -1
- package/dist/components/gov-empty.d.ts +2 -2
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-empty.js.map +1 -1
- package/dist/components/gov-error-code.d.ts +2 -2
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/gov-error-code.js.map +1 -1
- package/dist/components/gov-form-autocomplete.d.ts +2 -2
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-autocomplete.js.map +1 -1
- package/dist/components/gov-form-checkbox-group.d.ts +2 -2
- package/dist/components/gov-form-checkbox-group.js +1 -1
- package/dist/components/gov-form-checkbox-group.js.map +1 -1
- package/dist/components/gov-form-checkbox.d.ts +2 -2
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-checkbox.js.map +1 -1
- package/dist/components/gov-form-control.d.ts +2 -2
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-control.js.map +1 -1
- package/dist/components/gov-form-file.d.ts +2 -2
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-group.d.ts +2 -2
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-group.js.map +1 -1
- package/dist/components/gov-form-input.d.ts +2 -2
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-input.js.map +1 -1
- package/dist/components/gov-form-label.d.ts +2 -2
- package/dist/components/gov-form-label.js +1 -1
- package/dist/components/gov-form-label.js.map +1 -1
- package/dist/components/gov-form-message.d.ts +2 -2
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-message.js.map +1 -1
- package/dist/components/gov-form-multi-select.d.ts +2 -2
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-multi-select.js.map +1 -1
- package/dist/components/gov-form-password-power.d.ts +2 -2
- package/dist/components/gov-form-password-power.js +1 -1
- package/dist/components/gov-form-password-power.js.map +1 -1
- package/dist/components/gov-form-radio-group.d.ts +2 -2
- package/dist/components/gov-form-radio-group.js +1 -1
- package/dist/components/gov-form-radio-group.js.map +1 -1
- package/dist/components/gov-form-radio.d.ts +2 -2
- package/dist/components/gov-form-radio.js +1 -2
- package/dist/components/gov-form-radio.js.map +1 -1
- package/dist/components/gov-form-search.d.ts +2 -2
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-search.js.map +1 -1
- package/dist/components/gov-form-select.d.ts +2 -2
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-select.js.map +1 -1
- package/dist/components/gov-form-switch.d.ts +2 -2
- package/dist/components/gov-form-switch.js +1 -2
- package/dist/components/gov-form-switch.js.map +1 -1
- package/dist/components/gov-grid-item.d.ts +2 -2
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid-item.js.map +1 -1
- package/dist/components/gov-grid.d.ts +2 -2
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-grid.js.map +1 -1
- package/dist/components/gov-icon.d.ts +2 -2
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-icon.js.map +1 -1
- package/dist/components/gov-infobar.d.ts +2 -2
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-infobar.js.map +1 -1
- package/dist/components/gov-layout-column.d.ts +2 -2
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout-column.js.map +1 -1
- package/dist/components/gov-layout.d.ts +2 -2
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-layout.js.map +1 -1
- package/dist/components/gov-loading.d.ts +2 -2
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.d.ts +2 -2
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-message.js.map +1 -1
- package/dist/components/gov-modal.d.ts +2 -2
- package/dist/components/gov-modal.js +1 -1
- package/dist/components/gov-modal.js.map +1 -1
- package/dist/components/gov-nav-item.d.ts +2 -2
- package/dist/components/gov-nav-item.js +1 -1
- package/dist/components/gov-nav-item.js.map +1 -1
- package/dist/components/gov-nav.d.ts +2 -2
- package/dist/components/gov-nav.js +1 -2
- package/dist/components/gov-nav.js.map +1 -1
- package/dist/components/gov-pagination.d.ts +2 -2
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-pagination.js.map +1 -1
- package/dist/components/gov-prompt.d.ts +2 -2
- package/dist/components/gov-prompt.js +1 -1
- package/dist/components/gov-prompt.js.map +1 -1
- package/dist/components/gov-side-nav-item.d.ts +2 -2
- package/dist/components/gov-side-nav-item.js +1 -1
- package/dist/components/gov-side-nav-item.js.map +1 -1
- package/dist/components/gov-side-nav.d.ts +2 -2
- package/dist/components/gov-side-nav.js +1 -2
- package/dist/components/gov-side-nav.js.map +1 -1
- package/dist/components/gov-skeleton.d.ts +2 -2
- package/dist/components/gov-skeleton.js +1 -2
- package/dist/components/gov-skeleton.js.map +1 -1
- package/dist/components/gov-spacer.d.ts +2 -2
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-spacer.js.map +1 -1
- package/dist/components/gov-statsbar-item.d.ts +2 -2
- package/dist/components/gov-statsbar-item.js +1 -1
- package/dist/components/gov-statsbar-item.js.map +1 -1
- package/dist/components/gov-statsbar.d.ts +2 -2
- package/dist/components/gov-statsbar.js +1 -1
- package/dist/components/gov-statsbar.js.map +1 -1
- package/dist/components/gov-stepper-item.d.ts +2 -2
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper-item.js.map +1 -1
- package/dist/components/gov-stepper.d.ts +2 -2
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-stepper.js.map +1 -1
- package/dist/components/gov-tabs-item.d.ts +2 -2
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs-item.js.map +1 -1
- package/dist/components/gov-tabs.d.ts +2 -2
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tabs.js.map +1 -1
- package/dist/components/gov-tag.d.ts +2 -2
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-tag.js.map +1 -1
- package/dist/components/gov-tile.d.ts +2 -2
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.d.ts +2 -2
- package/dist/components/gov-tiles.js +1 -1
- package/dist/components/gov-tiles.js.map +1 -1
- package/dist/components/gov-toast.d.ts +2 -2
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-toast.js.map +1 -1
- package/dist/components/gov-tooltip-content.d.ts +2 -2
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip-content.js.map +1 -1
- package/dist/components/gov-tooltip.d.ts +2 -2
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.d.ts +2 -2
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard-item.js.map +1 -1
- package/dist/components/gov-wizard.d.ts +2 -2
- package/dist/components/gov-wizard.js +1 -2
- package/dist/components/gov-wizard.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-be4aab0e.js → p-0134b442.js} +1 -1
- package/dist/{core/p-be4aab0e.js.map → components/p-0134b442.js.map} +1 -1
- package/dist/components/{p-74b2311a.js → p-016118d2.js} +2 -2
- package/dist/components/{p-74b2311a.js.map → p-016118d2.js.map} +1 -1
- package/dist/components/{p-2bf5b814.js → p-016bbea6.js} +1 -1
- package/dist/components/{p-2bf5b814.js.map → p-016bbea6.js.map} +1 -1
- package/dist/components/{p-ff7365ae.js → p-03dbb8b1.js} +1 -1
- package/dist/components/{p-ff7365ae.js.map → p-03dbb8b1.js.map} +1 -1
- package/dist/components/{p-b72a7bed.js → p-07165d99.js} +1 -1
- package/dist/components/{p-b72a7bed.js.map → p-07165d99.js.map} +1 -1
- package/dist/components/{p-ab5a13ea.js → p-0a6a373e.js} +1 -1
- package/dist/{core/p-ab5a13ea.js.map → components/p-0a6a373e.js.map} +1 -1
- package/dist/components/{p-5defdc5e.js → p-13ebd887.js} +1 -1
- package/dist/components/{p-5defdc5e.js.map → p-13ebd887.js.map} +1 -1
- package/dist/components/p-1c1d0bbe.js.map +1 -1
- package/dist/components/{p-6834d779.js → p-20fd8011.js} +2 -2
- package/dist/components/{p-6834d779.js.map → p-20fd8011.js.map} +1 -1
- package/dist/components/{p-768b9ba0.js → p-24033114.js} +2 -2
- package/dist/components/p-24033114.js.map +1 -0
- package/dist/components/{p-8fcc8483.js → p-240c302e.js} +1 -1
- package/dist/components/{p-8fcc8483.js.map → p-240c302e.js.map} +1 -1
- package/dist/components/{p-dcb5fb35.js → p-344c72d7.js} +2 -2
- package/dist/components/{p-dcb5fb35.js.map → p-344c72d7.js.map} +1 -1
- package/dist/components/{p-a6d14a47.js → p-3983d290.js} +1 -1
- package/dist/components/{p-a6d14a47.js.map → p-3983d290.js.map} +1 -1
- package/dist/components/p-4489a1da.js +2 -0
- package/dist/components/p-4489a1da.js.map +1 -0
- package/dist/components/p-44f0bc16.js +2 -0
- package/dist/components/p-44f0bc16.js.map +1 -0
- package/dist/components/{p-f45783e0.js → p-4fa21d88.js} +2 -2
- package/dist/components/p-4fa21d88.js.map +1 -0
- package/dist/components/p-4faa3ba6.js +2 -0
- package/dist/components/{p-fa1e4aea.js.map → p-4faa3ba6.js.map} +1 -1
- package/dist/components/{p-692b78d9.js → p-659a5e9b.js} +2 -2
- package/dist/components/p-659a5e9b.js.map +1 -0
- package/dist/components/p-6b0471a8.js +2 -0
- package/dist/components/p-6b0471a8.js.map +1 -0
- package/dist/components/{p-4e1215f7.js → p-6b70bb05.js} +2 -2
- package/dist/components/p-6b70bb05.js.map +1 -0
- package/dist/components/{p-f04382c3.js → p-77a6e3be.js} +2 -2
- package/dist/components/{p-f04382c3.js.map → p-77a6e3be.js.map} +1 -1
- package/dist/components/p-7ba4daf4.js +2 -0
- package/dist/components/{p-3464136c.js.map → p-7ba4daf4.js.map} +1 -1
- package/dist/components/{p-ffb7495c.js → p-880743a5.js} +1 -1
- package/dist/components/{p-ffb7495c.js.map → p-880743a5.js.map} +1 -1
- package/dist/components/p-8df7c635.js +2 -0
- package/dist/components/p-8df7c635.js.map +1 -0
- package/dist/components/{p-9144dde1.js → p-8dfac7d7.js} +2 -2
- package/dist/components/{p-9144dde1.js.map → p-8dfac7d7.js.map} +1 -1
- package/dist/components/p-92c6c6aa.js +2 -0
- package/dist/components/p-92c6c6aa.js.map +1 -0
- package/dist/components/{p-55500e5a.js → p-92f420cb.js} +1 -1
- package/dist/components/{p-55500e5a.js.map → p-92f420cb.js.map} +1 -1
- package/dist/components/p-9370b15f.js +2 -0
- package/dist/components/{p-3c71d697.js.map → p-9370b15f.js.map} +1 -1
- package/dist/components/p-93748f78.js +2 -0
- package/dist/components/p-93748f78.js.map +1 -0
- package/dist/components/{p-17ebfe85.js → p-94dd1649.js} +2 -2
- package/dist/components/{p-17ebfe85.js.map → p-94dd1649.js.map} +1 -1
- package/dist/components/{p-24636c53.js → p-95d41a3b.js} +1 -1
- package/dist/components/{p-24636c53.js.map → p-95d41a3b.js.map} +1 -1
- package/dist/components/p-bfce6f99.js +2 -0
- package/dist/components/p-bfce6f99.js.map +1 -0
- package/dist/components/p-ce45c786.js +2 -0
- package/dist/components/{p-9a4c910d.js.map → p-ce45c786.js.map} +1 -1
- package/dist/components/{p-db1f0452.js → p-d0288df5.js} +1 -1
- package/dist/components/{p-db1f0452.js.map → p-d0288df5.js.map} +1 -1
- package/dist/components/p-d6759ac3.js +3 -0
- package/dist/components/p-d6759ac3.js.map +1 -0
- package/dist/components/{p-c353678b.js → p-d687df8f.js} +1 -1
- package/dist/components/{p-c353678b.js.map → p-d687df8f.js.map} +1 -1
- package/dist/components/{p-03990da5.js → p-e0e2e9c1.js} +1 -1
- package/dist/components/{p-03990da5.js.map → p-e0e2e9c1.js.map} +1 -1
- package/dist/components/p-e296ca83.js +2 -0
- package/dist/components/{p-7f2c9830.js.map → p-e296ca83.js.map} +1 -1
- package/dist/components/p-e44a0fee.js +2 -0
- package/dist/components/{p-3a04fb9b.js.map → p-e44a0fee.js.map} +1 -1
- package/dist/components/p-e618f1cb.js +2 -0
- package/dist/components/{p-003e6cca.js.map → p-e618f1cb.js.map} +1 -1
- package/dist/components/p-f0d542f2.js +2 -0
- package/dist/components/{p-6278531b.js.map → p-f0d542f2.js.map} +1 -1
- package/dist/components/p-f5db4029.js +2 -0
- package/dist/components/p-f5db4029.js.map +1 -0
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/index.esm.js.map +1 -1
- package/dist/core/{p-be4aab0e.js → p-0134b442.js} +1 -1
- package/dist/{components/p-be4aab0e.js.map → core/p-0134b442.js.map} +1 -1
- package/dist/core/{p-2bf5b814.js → p-016bbea6.js} +1 -1
- package/dist/core/{p-2bf5b814.js.map → p-016bbea6.js.map} +1 -1
- package/dist/core/{p-fc710edb.entry.js → p-02745628.entry.js} +2 -2
- package/dist/core/p-02745628.entry.js.map +1 -0
- package/dist/core/{p-ff7365ae.js → p-03dbb8b1.js} +1 -1
- package/dist/core/{p-ff7365ae.js.map → p-03dbb8b1.js.map} +1 -1
- package/dist/core/p-04e48d5d.entry.js +2 -0
- package/dist/core/p-04e48d5d.entry.js.map +1 -0
- package/dist/core/p-0790a27c.entry.js +2 -0
- package/dist/core/p-0790a27c.entry.js.map +1 -0
- package/dist/core/p-0a5b0f7d.js +3 -0
- package/dist/core/p-0a5b0f7d.js.map +1 -0
- package/dist/core/{p-ab5a13ea.js → p-0a6a373e.js} +1 -1
- package/dist/{components/p-ab5a13ea.js.map → core/p-0a6a373e.js.map} +1 -1
- package/dist/core/p-13a80dc5.entry.js +2 -0
- package/dist/core/p-13a80dc5.entry.js.map +1 -0
- package/dist/core/{p-5defdc5e.js → p-13ebd887.js} +1 -1
- package/dist/core/{p-5defdc5e.js.map → p-13ebd887.js.map} +1 -1
- package/dist/core/{p-f2f2c14a.entry.js → p-14e5fd00.entry.js} +2 -3
- package/dist/core/p-14e5fd00.entry.js.map +1 -0
- package/dist/core/{p-d2c370d6.entry.js → p-185a46b9.entry.js} +2 -2
- package/dist/core/p-185a46b9.entry.js.map +1 -0
- package/dist/core/{p-0c5c6dee.entry.js → p-1b212799.entry.js} +2 -2
- package/dist/core/p-1b212799.entry.js.map +1 -0
- package/dist/core/p-1c1d0bbe.js.map +1 -1
- package/dist/core/p-1d67220c.entry.js +2 -0
- package/dist/core/p-1d67220c.entry.js.map +1 -0
- package/dist/core/{p-6834d779.js → p-20fd8011.js} +2 -2
- package/dist/core/{p-6834d779.js.map → p-20fd8011.js.map} +1 -1
- package/dist/core/{p-127af1b4.entry.js → p-212e297e.entry.js} +2 -2
- package/dist/core/p-212e297e.entry.js.map +1 -0
- package/dist/core/{p-8fcc8483.js → p-240c302e.js} +1 -1
- package/dist/core/{p-8fcc8483.js.map → p-240c302e.js.map} +1 -1
- package/dist/core/p-24e32e0f.entry.js +2 -0
- package/dist/core/p-24e32e0f.entry.js.map +1 -0
- package/dist/core/p-290773da.entry.js +2 -0
- package/dist/core/p-290773da.entry.js.map +1 -0
- package/dist/core/{p-555eaa93.entry.js → p-2e647c00.entry.js} +2 -2
- package/dist/core/p-2e647c00.entry.js.map +1 -0
- package/dist/core/{p-151f1b89.entry.js → p-2fb0e1cf.entry.js} +2 -2
- package/dist/core/p-2fb0e1cf.entry.js.map +1 -0
- package/dist/core/{p-1ebf3575.entry.js → p-332a43c7.entry.js} +2 -3
- package/dist/core/p-332a43c7.entry.js.map +1 -0
- package/dist/core/p-33b1f5d8.entry.js +2 -0
- package/dist/core/p-33b1f5d8.entry.js.map +1 -0
- package/dist/core/{p-dcb5fb35.js → p-344c72d7.js} +2 -2
- package/dist/core/{p-dcb5fb35.js.map → p-344c72d7.js.map} +1 -1
- package/dist/core/{p-6bf8e7bf.entry.js → p-3483a6e8.entry.js} +2 -2
- package/dist/core/p-3483a6e8.entry.js.map +1 -0
- package/dist/core/{p-529ce9a4.entry.js → p-34cf509a.entry.js} +2 -2
- package/dist/core/p-34cf509a.entry.js.map +1 -0
- package/dist/core/p-36312bef.entry.js +2 -0
- package/dist/core/p-36312bef.entry.js.map +1 -0
- package/dist/core/p-389edb54.entry.js +2 -0
- package/dist/core/p-389edb54.entry.js.map +1 -0
- package/dist/core/{p-a6d14a47.js → p-3983d290.js} +1 -1
- package/dist/core/{p-a6d14a47.js.map → p-3983d290.js.map} +1 -1
- package/dist/core/{p-43fc5c70.entry.js → p-3e3a1607.entry.js} +2 -3
- package/dist/core/p-3e3a1607.entry.js.map +1 -0
- package/dist/core/{p-74b2311a.js → p-3f0dd8fa.js} +2 -2
- package/dist/core/{p-74b2311a.js.map → p-3f0dd8fa.js.map} +1 -1
- package/dist/core/{p-67096d72.entry.js → p-3f62cf30.entry.js} +2 -2
- package/dist/core/p-3f62cf30.entry.js.map +1 -0
- package/dist/core/{p-5de606f8.js → p-4191acf2.js} +1 -1
- package/dist/core/{p-5de606f8.js.map → p-4191acf2.js.map} +1 -1
- package/dist/core/p-45b869ae.js +2 -0
- package/dist/core/{p-9dab01be.js.map → p-45b869ae.js.map} +1 -1
- package/dist/core/p-4978aa0a.entry.js +2 -0
- package/dist/core/p-4978aa0a.entry.js.map +1 -0
- package/dist/core/{p-d07d3dcc.entry.js → p-4b048e19.entry.js} +2 -2
- package/dist/core/p-4b048e19.entry.js.map +1 -0
- package/dist/core/{p-f6a4bf04.entry.js → p-4c83f443.entry.js} +2 -3
- package/dist/core/p-4c83f443.entry.js.map +1 -0
- package/dist/core/p-4dbaff99.entry.js +2 -0
- package/dist/core/p-4dbaff99.entry.js.map +1 -0
- package/dist/core/p-4faa3ba6.js +2 -0
- package/dist/core/{p-fa1e4aea.js.map → p-4faa3ba6.js.map} +1 -1
- package/dist/core/p-58c875bb.entry.js +2 -0
- package/dist/core/p-58c875bb.entry.js.map +1 -0
- package/dist/core/p-5d33cb6e.entry.js +2 -0
- package/dist/core/p-5d33cb6e.entry.js.map +1 -0
- package/dist/core/{p-4988c0bb.entry.js → p-5e7e7cb1.entry.js} +2 -2
- package/dist/core/p-5e7e7cb1.entry.js.map +1 -0
- package/dist/core/p-5facceb9.entry.js +2 -0
- package/dist/core/p-5facceb9.entry.js.map +1 -0
- package/dist/core/{p-148613fd.entry.js → p-6092fd22.entry.js} +2 -3
- package/dist/core/p-6092fd22.entry.js.map +1 -0
- package/dist/core/{p-60963ed7.entry.js → p-650ac6c6.entry.js} +2 -2
- package/dist/core/p-650ac6c6.entry.js.map +1 -0
- package/dist/core/p-6977b168.entry.js +2 -0
- package/dist/core/p-6977b168.entry.js.map +1 -0
- package/dist/core/p-6c745c3e.entry.js +2 -0
- package/dist/core/p-6c745c3e.entry.js.map +1 -0
- package/dist/core/{p-0f4f02a6.entry.js → p-6def30bc.entry.js} +2 -3
- package/dist/core/p-6def30bc.entry.js.map +1 -0
- package/dist/core/{p-90c068ff.entry.js → p-718d0198.entry.js} +2 -2
- package/dist/core/p-718d0198.entry.js.map +1 -0
- package/dist/core/p-761c33c7.entry.js +2 -0
- package/dist/core/p-761c33c7.entry.js.map +1 -0
- package/dist/core/p-7695610a.entry.js +2 -0
- package/dist/core/p-7695610a.entry.js.map +1 -0
- package/dist/core/p-7a0b3094.entry.js +2 -0
- package/dist/core/p-7a0b3094.entry.js.map +1 -0
- package/dist/core/{p-715dccc0.entry.js → p-7b210966.entry.js} +2 -3
- package/dist/core/p-7b210966.entry.js.map +1 -0
- package/dist/core/p-7b598f56.entry.js +2 -0
- package/dist/core/p-7b598f56.entry.js.map +1 -0
- package/dist/core/p-7ba4daf4.js +2 -0
- package/dist/core/{p-3464136c.js.map → p-7ba4daf4.js.map} +1 -1
- package/dist/core/p-7d1dd58a.entry.js +2 -0
- package/dist/core/p-7d1dd58a.entry.js.map +1 -0
- package/dist/core/{p-ffb7495c.js → p-880743a5.js} +1 -1
- package/dist/core/{p-ffb7495c.js.map → p-880743a5.js.map} +1 -1
- package/dist/core/p-8ab827a1.entry.js +2 -0
- package/dist/core/p-8ab827a1.entry.js.map +1 -0
- package/dist/core/{p-9144dde1.js → p-8dfac7d7.js} +2 -2
- package/dist/core/{p-9144dde1.js.map → p-8dfac7d7.js.map} +1 -1
- package/dist/core/p-92b7481f.js +2 -0
- package/dist/core/p-92b7481f.js.map +1 -0
- package/dist/core/{p-55500e5a.js → p-92f420cb.js} +1 -1
- package/dist/core/{p-55500e5a.js.map → p-92f420cb.js.map} +1 -1
- package/dist/core/{p-17ebfe85.js → p-94dd1649.js} +2 -2
- package/dist/core/{p-17ebfe85.js.map → p-94dd1649.js.map} +1 -1
- package/dist/core/{p-24636c53.js → p-95d41a3b.js} +1 -1
- package/dist/core/{p-24636c53.js.map → p-95d41a3b.js.map} +1 -1
- package/dist/core/p-9ae7429a.entry.js +2 -0
- package/dist/core/p-9ae7429a.entry.js.map +1 -0
- package/dist/core/{p-55cb727e.entry.js → p-a87d8f17.entry.js} +2 -2
- package/dist/core/p-a87d8f17.entry.js.map +1 -0
- package/dist/core/p-ab9d9655.entry.js +2 -0
- package/dist/core/p-ab9d9655.entry.js.map +1 -0
- package/dist/core/p-aba11ab4.entry.js +2 -0
- package/dist/core/p-aba11ab4.entry.js.map +1 -0
- package/dist/core/{p-72c5997f.entry.js → p-b58ed9ce.entry.js} +2 -2
- package/dist/core/p-b58ed9ce.entry.js.map +1 -0
- package/dist/core/p-bc2ec133.entry.js +2 -0
- package/dist/core/p-bc2ec133.entry.js.map +1 -0
- package/dist/core/{p-30673e46.entry.js → p-c7e8faec.entry.js} +2 -2
- package/dist/core/p-c7e8faec.entry.js.map +1 -0
- package/dist/core/{p-61a2b12a.js → p-c98fe646.js} +2 -2
- package/dist/core/{p-61a2b12a.js.map → p-c98fe646.js.map} +1 -1
- package/dist/core/{p-28a50f60.entry.js → p-cc3c6319.entry.js} +2 -3
- package/dist/core/p-cc3c6319.entry.js.map +1 -0
- package/dist/core/p-cce125de.entry.js +2 -0
- package/dist/core/p-cce125de.entry.js.map +1 -0
- package/dist/core/p-ce45c786.js +2 -0
- package/dist/core/{p-9a4c910d.js.map → p-ce45c786.js.map} +1 -1
- package/dist/core/{p-db1f0452.js → p-d0288df5.js} +1 -1
- package/dist/core/{p-db1f0452.js.map → p-d0288df5.js.map} +1 -1
- package/dist/core/p-d2fc217d.entry.js +2 -0
- package/dist/core/p-d2fc217d.entry.js.map +1 -0
- package/dist/core/{p-f3967a1d.entry.js → p-dbad9256.entry.js} +2 -3
- package/dist/core/p-dbad9256.entry.js.map +1 -0
- package/dist/core/p-dbb67e76.entry.js +2 -0
- package/dist/core/p-dbb67e76.entry.js.map +1 -0
- package/dist/core/{p-aaf2510a.entry.js → p-dbde347f.entry.js} +2 -2
- package/dist/core/p-dbde347f.entry.js.map +1 -0
- package/dist/core/{p-03990da5.js → p-e0e2e9c1.js} +1 -1
- package/dist/core/{p-03990da5.js.map → p-e0e2e9c1.js.map} +1 -1
- package/dist/core/p-e1255160.js +2 -0
- package/dist/core/p-e1255160.js.map +1 -0
- package/dist/core/p-e296ca83.js +2 -0
- package/dist/core/{p-7f2c9830.js.map → p-e296ca83.js.map} +1 -1
- package/dist/core/p-e44a0fee.js +2 -0
- package/dist/core/{p-3a04fb9b.js.map → p-e44a0fee.js.map} +1 -1
- package/dist/core/p-e618f1cb.js +2 -0
- package/dist/core/{p-003e6cca.js.map → p-e618f1cb.js.map} +1 -1
- package/dist/core/p-ea506584.entry.js +2 -0
- package/dist/core/p-ea506584.entry.js.map +1 -0
- package/dist/core/{p-c67ddbd3.entry.js → p-eb403270.entry.js} +2 -3
- package/dist/core/p-eb403270.entry.js.map +1 -0
- package/dist/core/p-f0d542f2.js +2 -0
- package/dist/core/{p-6278531b.js.map → p-f0d542f2.js.map} +1 -1
- package/dist/core/{p-1f769a40.entry.js → p-f11f707f.entry.js} +2 -2
- package/dist/core/p-f11f707f.entry.js.map +1 -0
- package/dist/core/p-f54fe20e.entry.js +2 -0
- package/dist/core/p-f54fe20e.entry.js.map +1 -0
- package/dist/core/{p-dd4445ee.entry.js → p-f9fee460.entry.js} +2 -2
- package/dist/core/p-f9fee460.entry.js.map +1 -0
- package/dist/core/p-fdead70e.js +2 -0
- package/dist/core/{p-4c55142b.js.map → p-fdead70e.js.map} +1 -1
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/array.utils-5ce9a471.js +43 -0
- package/dist/esm/array.utils-5ce9a471.js.map +1 -0
- package/dist/esm/constants-0014bc7f.js +24 -0
- package/dist/esm/{constants-2499979c.js.map → constants-0014bc7f.js.map} +1 -1
- package/dist/esm/constants-122ac484.js +25 -0
- package/dist/esm/{constants-78474786.js.map → constants-122ac484.js.map} +1 -1
- package/dist/esm/constants-14f351fd.js +23 -0
- package/dist/esm/{constants-887c5391.js.map → constants-14f351fd.js.map} +1 -1
- package/dist/esm/constants-1998bac1.js +19 -0
- package/dist/esm/{constants-867ac6e2.js.map → constants-1998bac1.js.map} +1 -1
- package/dist/esm/{constants-2b14bb01.js → constants-2d5a0e18.js} +3 -3
- package/dist/esm/{constants-2b14bb01.js.map → constants-2d5a0e18.js.map} +1 -1
- package/dist/esm/constants-43f10674.js +12 -0
- package/dist/esm/{constants-ebec7de8.js.map → constants-43f10674.js.map} +1 -1
- package/dist/esm/{constants-e80d9514.js → constants-4da2b3c0.js} +8 -8
- package/dist/esm/{constants-e80d9514.js.map → constants-4da2b3c0.js.map} +1 -1
- package/dist/esm/constants-66db9786.js +25 -0
- package/dist/esm/{constants-09bda759.js.map → constants-66db9786.js.map} +1 -1
- package/dist/esm/constants-78d0d7ff.js +13 -0
- package/dist/esm/{constants-3df712e2.js.map → constants-78d0d7ff.js.map} +1 -1
- package/dist/esm/constants-a2828485.js +12 -0
- package/dist/esm/{constants-d71c09e0.js.map → constants-a2828485.js.map} +1 -1
- package/dist/esm/constants-a5fadb10.js +29 -0
- package/dist/esm/{constants-6df4edc4.js.map → constants-a5fadb10.js.map} +1 -1
- package/dist/esm/constants-f0f531b6.js +22 -0
- package/dist/esm/{constants-3786b01b.js.map → constants-f0f531b6.js.map} +1 -1
- package/dist/esm/constants-f63d2d63.js +18 -0
- package/dist/esm/{constants-2a283e9a.js.map → constants-f63d2d63.js.map} +1 -1
- package/dist/esm/constants-f6ecfd4e.js +33 -0
- package/dist/esm/{constants-34a29ae2.js.map → constants-f6ecfd4e.js.map} +1 -1
- package/dist/esm/constants-f98e7750.js +22 -0
- package/dist/esm/{constants-27b48cd1.js.map → constants-f98e7750.js.map} +1 -1
- package/dist/esm/constants-ff234810.js +17 -0
- package/dist/esm/{constants-47d7a8bc.js.map → constants-ff234810.js.map} +1 -1
- package/dist/esm/core.js +33 -33
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/form-738c5b12.js +145 -0
- package/dist/esm/form-738c5b12.js.map +1 -0
- package/dist/esm/gov-accordion-item.entry.js +89 -88
- package/dist/esm/gov-accordion-item.entry.js.map +1 -1
- package/dist/esm/gov-accordion.entry.js +63 -62
- package/dist/esm/gov-accordion.entry.js.map +1 -1
- package/dist/esm/gov-attachments_3.entry.js +91 -88
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +34 -33
- package/dist/esm/gov-backdrop.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +57 -56
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +166 -165
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +91 -90
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +90 -89
- package/dist/esm/gov-chip.entry.js.map +1 -1
- package/dist/esm/gov-container.entry.js +21 -20
- package/dist/esm/gov-container.entry.js.map +1 -1
- package/dist/esm/gov-control-group.entry.js +27 -26
- package/dist/esm/gov-control-group.entry.js.map +1 -1
- package/dist/esm/gov-cookiebar.entry.js +18 -17
- package/dist/esm/gov-cookiebar.entry.js.map +1 -1
- package/dist/esm/gov-dropdown.entry.js +62 -59
- package/dist/esm/gov-dropdown.entry.js.map +1 -1
- package/dist/esm/gov-empty.entry.js +16 -15
- package/dist/esm/gov-empty.entry.js.map +1 -1
- package/dist/esm/gov-error-code.entry.js +16 -15
- package/dist/esm/gov-error-code.entry.js.map +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +237 -236
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +70 -69
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +121 -120
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
- package/dist/esm/gov-form-control.entry.js +91 -90
- package/dist/esm/gov-form-control.entry.js.map +1 -1
- package/dist/esm/gov-form-file.entry.js +226 -225
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +36 -35
- package/dist/esm/gov-form-group.entry.js.map +1 -1
- package/dist/esm/gov-form-input.entry.js +180 -178
- package/dist/esm/gov-form-input.entry.js.map +1 -1
- package/dist/esm/gov-form-label.entry.js +18 -17
- package/dist/esm/gov-form-label.entry.js.map +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +261 -260
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-password-power.entry.js +13 -12
- package/dist/esm/gov-form-password-power.entry.js.map +1 -1
- package/dist/esm/gov-form-radio-group.entry.js +59 -58
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +121 -120
- package/dist/esm/gov-form-radio.entry.js.map +1 -1
- package/dist/esm/gov-form-search.entry.js +16 -15
- package/dist/esm/gov-form-search.entry.js.map +1 -1
- package/dist/esm/gov-form-select.entry.js +151 -150
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +121 -120
- package/dist/esm/gov-form-switch.entry.js.map +1 -1
- package/dist/esm/gov-grid-item.entry.js +18 -17
- package/dist/esm/gov-grid-item.entry.js.map +1 -1
- package/dist/esm/gov-grid.entry.js +16 -15
- package/dist/esm/gov-grid.entry.js.map +1 -1
- package/dist/esm/gov-icon.entry.js +96 -95
- package/dist/esm/gov-icon.entry.js.map +1 -1
- package/dist/esm/gov-infobar.entry.js +71 -70
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- package/dist/esm/gov-layout-column.entry.js +13 -12
- package/dist/esm/gov-layout-column.entry.js.map +1 -1
- package/dist/esm/gov-layout.entry.js +22 -21
- package/dist/esm/gov-layout.entry.js.map +1 -1
- package/dist/esm/gov-loading.entry.js +15 -14
- package/dist/esm/gov-loading.entry.js.map +1 -1
- package/dist/esm/gov-message.entry.js +28 -27
- package/dist/esm/gov-message.entry.js.map +1 -1
- package/dist/esm/gov-modal.entry.js +93 -90
- package/dist/esm/gov-modal.entry.js.map +1 -1
- package/dist/esm/gov-nav-item.entry.js +26 -25
- package/dist/esm/gov-nav-item.entry.js.map +1 -1
- package/dist/esm/gov-nav.entry.js +29 -28
- package/dist/esm/gov-nav.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +193 -192
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-prompt.entry.js +89 -88
- package/dist/esm/gov-prompt.entry.js.map +1 -1
- package/dist/esm/gov-side-nav-item.entry.js +74 -73
- package/dist/esm/gov-side-nav-item.entry.js.map +1 -1
- package/dist/esm/gov-side-nav.entry.js +43 -42
- package/dist/esm/gov-side-nav.entry.js.map +1 -1
- package/dist/esm/gov-skeleton.entry.js +92 -91
- package/dist/esm/gov-skeleton.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +39 -38
- package/dist/esm/gov-spacer.entry.js.map +1 -1
- package/dist/esm/gov-statsbar-item.entry.js +28 -27
- package/dist/esm/gov-statsbar-item.entry.js.map +1 -1
- package/dist/esm/gov-statsbar.entry.js +41 -40
- package/dist/esm/gov-statsbar.entry.js.map +1 -1
- package/dist/esm/gov-stepper-item.entry.js +64 -63
- package/dist/esm/gov-stepper-item.entry.js.map +1 -1
- package/dist/esm/gov-stepper.entry.js +39 -38
- package/dist/esm/gov-stepper.entry.js.map +1 -1
- package/dist/esm/gov-tabs-item.entry.js +48 -40
- package/dist/esm/gov-tabs-item.entry.js.map +1 -1
- package/dist/esm/gov-tabs.entry.js +196 -183
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/gov-tag.entry.js +43 -42
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-tile.entry.js +27 -26
- package/dist/esm/gov-tile.entry.js.map +1 -1
- package/dist/esm/gov-tiles.entry.js +18 -17
- package/dist/esm/gov-tiles.entry.js.map +1 -1
- package/dist/esm/gov-toast.entry.js +81 -80
- package/dist/esm/gov-toast.entry.js.map +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +39 -38
- package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.entry.js +225 -207
- package/dist/esm/gov-tooltip.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +97 -96
- package/dist/esm/gov-wizard-item.entry.js.map +1 -1
- package/dist/esm/gov-wizard.entry.js +56 -55
- package/dist/esm/gov-wizard.entry.js.map +1 -1
- package/dist/esm/gov.log-431da6b2.js +25 -0
- package/dist/esm/{gov.log-49da0221.js.map → gov.log-431da6b2.js.map} +1 -1
- package/dist/esm/helpers-5d179d4b.js +17 -0
- package/dist/{cjs/helpers-2c870ff5.js.map → esm/helpers-5d179d4b.js.map} +1 -1
- package/dist/esm/index-b44c6c92.js +2013 -0
- package/dist/esm/index-b44c6c92.js.map +1 -0
- package/dist/esm/loader.js +6 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/props-ec3beb91.js +14 -0
- package/dist/esm/{props-a85d9c89.js.map → props-ec3beb91.js.map} +1 -1
- package/dist/esm/sizes-5b9e579f.js +18 -0
- package/dist/esm/{sizes-6c5943b4.js.map → sizes-5b9e579f.js.map} +1 -1
- package/dist/esm/stencil.utils-5d8e3d11.js +9 -0
- package/dist/esm/{stencil.utils-7cb5b075.js.map → stencil.utils-5d8e3d11.js.map} +1 -1
- package/dist/esm/string.utils-5ce3f551.js +20 -0
- package/dist/esm/{string.utils-f268fc6b.js.map → string.utils-5ce3f551.js.map} +1 -1
- package/dist/esm/template-94812ab3.js +123 -0
- package/dist/esm/template-94812ab3.js.map +1 -0
- package/dist/esm/{utils-c057a3fa.js → utils-e10e994d.js} +9 -9
- package/dist/esm/{utils-c057a3fa.js.map → utils-e10e994d.js.map} +1 -1
- package/dist/esm/variants-69f013c1.js +18 -0
- package/dist/esm/{variants-2b936d58.js.map → variants-69f013c1.js.map} +1 -1
- package/dist/esm/wcag-6ad92279.js +62 -0
- package/dist/esm/{wcag-7d25e12b.js.map → wcag-6ad92279.js.map} +1 -1
- package/dist/esm/{win-1dbd3f5c.js → win-b64cd8a6.js} +16 -16
- package/dist/esm/{win-1dbd3f5c.js.map → win-b64cd8a6.js.map} +1 -1
- package/dist/globals.d.ts +2 -0
- package/dist/hydrate/index.d.ts +36 -18
- package/dist/hydrate/index.js +23037 -11816
- package/dist/hydrate/index.mjs +24113 -0
- package/dist/hydrate/package.json +7 -1
- package/dist/stencil.config.js +78 -78
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-accordion/constants.d.ts +11 -11
- package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +53 -53
- package/dist/types/components/gov-accordion/gov-accordion.d.ts +37 -37
- package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +4 -4
- package/dist/types/components/gov-attachments/constants.d.ts +7 -7
- package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +2 -2
- package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +21 -21
- package/dist/types/components/gov-attachments/gov-attachments.d.ts +17 -17
- package/dist/types/components/gov-backdrop/constants.d.ts +2 -2
- package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +25 -25
- package/dist/types/components/gov-breadcrumbs/constants.d.ts +1 -1
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +2 -2
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +38 -38
- package/dist/types/components/gov-button/button/constants.d.ts +12 -12
- package/dist/types/components/gov-button/button/gov-button.d.ts +176 -176
- package/dist/types/components/gov-button/button/gov-button.types.d.ts +1 -1
- package/dist/types/components/gov-button/dropdown/constants.d.ts +4 -4
- package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +34 -29
- package/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +1 -1
- package/dist/types/components/gov-card/constants.d.ts +11 -11
- package/dist/types/components/gov-card/gov-card.d.ts +56 -56
- package/dist/types/components/gov-card/interfaces.d.ts +2 -2
- package/dist/types/components/gov-chip/constants.d.ts +7 -7
- package/dist/types/components/gov-chip/gov-chip.d.ts +89 -89
- package/dist/types/components/gov-container/constants.d.ts +1 -1
- package/dist/types/components/gov-container/gov-container.d.ts +10 -10
- package/dist/types/components/gov-control-group/constants.d.ts +1 -1
- package/dist/types/components/gov-control-group/gov-control-group.d.ts +13 -13
- package/dist/types/components/gov-cookiebar/constants.d.ts +6 -6
- package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +4 -4
- package/dist/types/components/gov-empty/constants.d.ts +4 -4
- package/dist/types/components/gov-empty/gov-empty.d.ts +4 -4
- package/dist/types/components/gov-error-code/constants.d.ts +4 -4
- package/dist/types/components/gov-error-code/gov-error-code.d.ts +4 -4
- package/dist/types/components/gov-form/autocomplete/constants.d.ts +5 -5
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +160 -160
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +3 -3
- package/dist/types/components/gov-form/checkbox/constants.d.ts +3 -3
- package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +84 -84
- package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +2 -2
- package/dist/types/components/gov-form/control/constants.d.ts +3 -3
- package/dist/types/components/gov-form/control/gov-form-control.d.ts +44 -44
- package/dist/types/components/gov-form/file/constants.d.ts +7 -7
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +138 -138
- package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +6 -6
- package/dist/types/components/gov-form/group/constants.d.ts +5 -5
- package/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +25 -25
- package/dist/types/components/gov-form/group/gov-form-group.d.ts +15 -15
- package/dist/types/components/gov-form/group/gov-form-group.types.d.ts +2 -2
- package/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +26 -26
- package/dist/types/components/gov-form/input/constants.d.ts +15 -15
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +184 -180
- package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +1 -1
- package/dist/types/components/gov-form/label/constants.d.ts +2 -2
- package/dist/types/components/gov-form/label/gov-form-label.d.ts +22 -22
- package/dist/types/components/gov-form/message/constants.d.ts +3 -3
- package/dist/types/components/gov-form/message/gov-form-message.d.ts +15 -15
- package/dist/types/components/gov-form/multiselect/constants.d.ts +4 -4
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +140 -140
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +4 -4
- package/dist/types/components/gov-form/password-power/constants.d.ts +3 -3
- package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +5 -5
- package/dist/types/components/gov-form/radio/constants.d.ts +5 -5
- package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +84 -84
- package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +2 -2
- package/dist/types/components/gov-form/search/constants.d.ts +3 -3
- package/dist/types/components/gov-form/search/gov-form-search.d.ts +6 -6
- package/dist/types/components/gov-form/select/constants.d.ts +2 -2
- package/dist/types/components/gov-form/select/gov-form-select.d.ts +107 -107
- package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +4 -4
- package/dist/types/components/gov-form/switch/constants.d.ts +4 -4
- package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +84 -84
- package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +2 -2
- package/dist/types/components/gov-grid/constants.d.ts +2 -2
- package/dist/types/components/gov-grid/gov-grid-item.d.ts +24 -24
- package/dist/types/components/gov-grid/gov-grid.d.ts +12 -12
- package/dist/types/components/gov-icon/constants.d.ts +5 -5
- package/dist/types/components/gov-icon/gov-icon.d.ts +21 -21
- package/dist/types/components/gov-icon/helpers.d.ts +2 -2
- package/dist/types/components/gov-infobar/constants.d.ts +7 -7
- package/dist/types/components/gov-infobar/gov-infobar.d.ts +45 -45
- package/dist/types/components/gov-infobar/gov-infobar.types.d.ts +1 -1
- package/dist/types/components/gov-layout/constants.d.ts +8 -8
- package/dist/types/components/gov-layout/gov-layout-column.d.ts +4 -4
- package/dist/types/components/gov-layout/gov-layout.d.ts +17 -17
- package/dist/types/components/gov-loading/loading/constants.d.ts +3 -3
- package/dist/types/components/gov-loading/loading/gov-loading.d.ts +4 -4
- package/dist/types/components/gov-loading/skeleton/constants.d.ts +8 -8
- package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +48 -48
- package/dist/types/components/gov-message/constants.d.ts +4 -4
- package/dist/types/components/gov-message/gov-message.d.ts +9 -9
- package/dist/types/components/gov-modal/constants.d.ts +12 -12
- package/dist/types/components/gov-modal/gov-modal.d.ts +74 -66
- package/dist/types/components/gov-nav/constants.d.ts +4 -4
- package/dist/types/components/gov-nav/gov-nav-item.d.ts +10 -10
- package/dist/types/components/gov-nav/gov-nav.d.ts +15 -15
- package/dist/types/components/gov-pagination/constants.d.ts +10 -10
- package/dist/types/components/gov-pagination/gov-pagination.d.ts +97 -97
- package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +1 -1
- package/dist/types/components/gov-pagination/pagination.d.ts +9 -9
- package/dist/types/components/gov-promp/constants.d.ts +10 -10
- package/dist/types/components/gov-promp/gov-prompt.d.ts +62 -62
- package/dist/types/components/gov-side-nav/constants.d.ts +11 -11
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +2 -2
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +63 -63
- package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +28 -28
- package/dist/types/components/gov-spacer/constants.d.ts +6 -6
- package/dist/types/components/gov-spacer/gov-spacer.d.ts +15 -15
- package/dist/types/components/gov-statsbar/constants.d.ts +7 -7
- package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +10 -10
- package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +16 -16
- package/dist/types/components/gov-stepper/constants.d.ts +11 -11
- package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +2 -2
- package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +43 -43
- package/dist/types/components/gov-stepper/gov-stepper.d.ts +15 -15
- package/dist/types/components/gov-tabs/constants.d.ts +11 -11
- package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +43 -35
- package/dist/types/components/gov-tabs/gov-tabs.d.ts +68 -67
- package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +7 -6
- package/dist/types/components/gov-tag/constants.d.ts +1 -1
- package/dist/types/components/gov-tag/gov-tag.d.ts +27 -27
- package/dist/types/components/gov-tile/constants.d.ts +7 -7
- package/dist/types/components/gov-tile/container/constants.d.ts +1 -1
- package/dist/types/components/gov-tile/container/gov-tiles.d.ts +13 -13
- package/dist/types/components/gov-tile/gov-tile.d.ts +18 -18
- package/dist/types/components/gov-toast/constants.d.ts +6 -6
- package/dist/types/components/gov-toast/gov-toast.d.ts +49 -49
- package/dist/types/components/gov-tooltip/constants.d.ts +6 -6
- package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +25 -25
- package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +54 -51
- package/dist/types/components/gov-wizard/constants.d.ts +10 -10
- package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +2 -2
- package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +67 -67
- package/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +1 -1
- package/dist/types/components/gov-wizard/gov-wizard.d.ts +28 -28
- package/dist/types/components.d.ts +422 -0
- package/dist/types/core/constants/sizes.d.ts +11 -11
- package/dist/types/core/constants/tags.d.ts +9 -9
- package/dist/types/core/constants/variants.d.ts +8 -8
- package/dist/types/helpers/Dom/form.types.d.ts +8 -8
- package/dist/types/helpers/Dom/template.types.d.ts +10 -10
- package/dist/types/helpers/Dom/win.d.ts +14 -14
- package/dist/types/helpers/Log/gov.log.d.ts +2 -2
- package/dist/types/pages/Accordion.d.ts +1 -1
- package/dist/types/pages/Breadcrumbs.d.ts +1 -1
- package/dist/types/pages/Button.d.ts +1 -1
- package/dist/types/pages/Card.d.ts +1 -1
- package/dist/types/pages/Chip.d.ts +1 -1
- package/dist/types/pages/Container.d.ts +1 -1
- package/dist/types/pages/ControlGroup.d.ts +1 -1
- package/dist/types/pages/Cookiebar.d.ts +1 -1
- package/dist/types/pages/Empty.d.ts +1 -1
- package/dist/types/pages/Error.d.ts +1 -1
- package/dist/types/pages/FormLabel.d.ts +1 -1
- package/dist/types/pages/FormMessage.d.ts +1 -1
- package/dist/types/pages/Forms.d.ts +2 -2
- package/dist/types/pages/FormsRestructure.d.ts +1 -1
- package/dist/types/pages/Grid.d.ts +1 -1
- package/dist/types/pages/Home.d.ts +1 -1
- package/dist/types/pages/Infobar.d.ts +1 -1
- package/dist/types/pages/Layout.d.ts +1 -1
- package/dist/types/pages/Loading.d.ts +1 -1
- package/dist/types/pages/Message.d.ts +1 -1
- package/dist/types/pages/Modal.d.ts +1 -1
- package/dist/types/pages/Nav.d.ts +1 -1
- package/dist/types/pages/Pagination.d.ts +1 -1
- package/dist/types/pages/Prompt.d.ts +1 -1
- package/dist/types/pages/SideNav.d.ts +1 -1
- package/dist/types/pages/Spacer.d.ts +1 -1
- package/dist/types/pages/Statsbar.d.ts +1 -1
- package/dist/types/pages/Stepper.d.ts +1 -1
- package/dist/types/pages/Tabs.d.ts +1 -1
- package/dist/types/pages/Tag.d.ts +1 -1
- package/dist/types/pages/Tiles.d.ts +1 -1
- package/dist/types/pages/ToastMessage.d.ts +1 -1
- package/dist/types/pages/ToastMessageCountdown.d.ts +1 -1
- package/dist/types/pages/Tooltip.d.ts +1 -1
- package/dist/types/pages/Typography.d.ts +1 -1
- package/dist/types/pages/Wizard.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +35 -13
- package/dist/types/types/event.types.d.ts +2 -2
- package/dist/types/types/typings.d.ts +6 -0
- package/dist/types/utils/helpers.types.d.ts +12 -12
- package/dist/types/utils/icon.utils.d.ts +2 -2
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +7 -7
- package/dist/cjs/array.utils-5a024b3a.js +0 -46
- package/dist/cjs/array.utils-5a024b3a.js.map +0 -1
- package/dist/cjs/constants-0c6c8e11.js +0 -30
- package/dist/cjs/constants-25f7a6be.js +0 -22
- package/dist/cjs/constants-2b1c31b8.js +0 -15
- package/dist/cjs/constants-427a2843.js +0 -33
- package/dist/cjs/constants-440cd5c8.js +0 -29
- package/dist/cjs/constants-66cb0615.js +0 -20
- package/dist/cjs/constants-6df82618.js +0 -21
- package/dist/cjs/constants-97eea364.js +0 -14
- package/dist/cjs/constants-caad94b4.js +0 -16
- package/dist/cjs/constants-dde21dcf.js +0 -30
- package/dist/cjs/form-893791cf.js +0 -163
- package/dist/cjs/form-893791cf.js.map +0 -1
- package/dist/cjs/gov.log-b842920d.js +0 -28
- package/dist/cjs/helpers-2c870ff5.js +0 -19
- package/dist/cjs/index-7b6bba34.js +0 -2721
- package/dist/cjs/index-7b6bba34.js.map +0 -1
- package/dist/cjs/props-d6146e54.js +0 -16
- package/dist/cjs/sizes-79872c2a.js +0 -18
- package/dist/cjs/stencil.utils-22814956.js +0 -11
- package/dist/cjs/string.utils-0f08c48c.js +0 -24
- package/dist/cjs/template-9534c584.js +0 -132
- package/dist/cjs/template-9534c584.js.map +0 -1
- package/dist/cjs/variants-f5ffeef3.js +0 -18
- package/dist/cjs/wcag-e6257f27.js +0 -67
- package/dist/components/p-003e6cca.js +0 -2
- package/dist/components/p-033f8bda.js +0 -2
- package/dist/components/p-033f8bda.js.map +0 -1
- package/dist/components/p-156b4f92.js +0 -2
- package/dist/components/p-156b4f92.js.map +0 -1
- package/dist/components/p-2bdd00a0.js +0 -2
- package/dist/components/p-2bdd00a0.js.map +0 -1
- package/dist/components/p-2dee9951.js +0 -2
- package/dist/components/p-2dee9951.js.map +0 -1
- package/dist/components/p-3464136c.js +0 -2
- package/dist/components/p-3a04fb9b.js +0 -2
- package/dist/components/p-3c71d697.js +0 -2
- package/dist/components/p-4e1215f7.js.map +0 -1
- package/dist/components/p-4ff831e3.js +0 -2
- package/dist/components/p-4ff831e3.js.map +0 -1
- package/dist/components/p-6278531b.js +0 -2
- package/dist/components/p-692b78d9.js.map +0 -1
- package/dist/components/p-768b9ba0.js.map +0 -1
- package/dist/components/p-7f2c9830.js +0 -2
- package/dist/components/p-9a4c910d.js +0 -2
- package/dist/components/p-b9ee51d6.js +0 -3
- package/dist/components/p-b9ee51d6.js.map +0 -1
- package/dist/components/p-c3fdf866.js +0 -2
- package/dist/components/p-c3fdf866.js.map +0 -1
- package/dist/components/p-f45783e0.js.map +0 -1
- package/dist/components/p-f8b7ea69.js +0 -3
- package/dist/components/p-f8b7ea69.js.map +0 -1
- package/dist/components/p-fa1e4aea.js +0 -2
- package/dist/core/p-0028fadc.entry.js +0 -2
- package/dist/core/p-0028fadc.entry.js.map +0 -1
- package/dist/core/p-003e6cca.js +0 -2
- package/dist/core/p-0c5c6dee.entry.js.map +0 -1
- package/dist/core/p-0e53df52.entry.js +0 -3
- package/dist/core/p-0e53df52.entry.js.map +0 -1
- package/dist/core/p-0f4f02a6.entry.js.map +0 -1
- package/dist/core/p-127af1b4.entry.js.map +0 -1
- package/dist/core/p-148613fd.entry.js.map +0 -1
- package/dist/core/p-151f1b89.entry.js.map +0 -1
- package/dist/core/p-1ebf3575.entry.js.map +0 -1
- package/dist/core/p-1f769a40.entry.js.map +0 -1
- package/dist/core/p-28a50f60.entry.js.map +0 -1
- package/dist/core/p-2d15339f.entry.js +0 -3
- package/dist/core/p-2d15339f.entry.js.map +0 -1
- package/dist/core/p-2d1f3d62.entry.js +0 -2
- package/dist/core/p-2d1f3d62.entry.js.map +0 -1
- package/dist/core/p-30673e46.entry.js.map +0 -1
- package/dist/core/p-3464136c.js +0 -2
- package/dist/core/p-3a04fb9b.js +0 -2
- package/dist/core/p-42072b8f.entry.js +0 -2
- package/dist/core/p-42072b8f.entry.js.map +0 -1
- package/dist/core/p-43fc5c70.entry.js.map +0 -1
- package/dist/core/p-46467293.entry.js +0 -3
- package/dist/core/p-46467293.entry.js.map +0 -1
- package/dist/core/p-4988c0bb.entry.js.map +0 -1
- package/dist/core/p-4c55142b.js +0 -2
- package/dist/core/p-529ce9a4.entry.js.map +0 -1
- package/dist/core/p-53e0ad52.entry.js +0 -2
- package/dist/core/p-53e0ad52.entry.js.map +0 -1
- package/dist/core/p-542ce647.entry.js +0 -2
- package/dist/core/p-542ce647.entry.js.map +0 -1
- package/dist/core/p-54fa7af5.entry.js +0 -2
- package/dist/core/p-54fa7af5.entry.js.map +0 -1
- package/dist/core/p-555eaa93.entry.js.map +0 -1
- package/dist/core/p-55cb727e.entry.js.map +0 -1
- package/dist/core/p-5bc604a3.js +0 -3
- package/dist/core/p-5bc604a3.js.map +0 -1
- package/dist/core/p-60963ed7.entry.js.map +0 -1
- package/dist/core/p-60d681a6.entry.js +0 -2
- package/dist/core/p-60d681a6.entry.js.map +0 -1
- package/dist/core/p-6278531b.js +0 -2
- package/dist/core/p-67096d72.entry.js.map +0 -1
- package/dist/core/p-6bf8e7bf.entry.js.map +0 -1
- package/dist/core/p-705efbf1.entry.js +0 -2
- package/dist/core/p-705efbf1.entry.js.map +0 -1
- package/dist/core/p-715dccc0.entry.js.map +0 -1
- package/dist/core/p-71ca4aee.entry.js +0 -3
- package/dist/core/p-71ca4aee.entry.js.map +0 -1
- package/dist/core/p-72c5997f.entry.js.map +0 -1
- package/dist/core/p-74882c70.entry.js +0 -2
- package/dist/core/p-74882c70.entry.js.map +0 -1
- package/dist/core/p-7724b535.js +0 -2
- package/dist/core/p-7724b535.js.map +0 -1
- package/dist/core/p-7abfd047.entry.js +0 -3
- package/dist/core/p-7abfd047.entry.js.map +0 -1
- package/dist/core/p-7d921045.entry.js +0 -3
- package/dist/core/p-7d921045.entry.js.map +0 -1
- package/dist/core/p-7f2c9830.js +0 -2
- package/dist/core/p-90c068ff.entry.js.map +0 -1
- package/dist/core/p-9469ecc2.entry.js +0 -2
- package/dist/core/p-9469ecc2.entry.js.map +0 -1
- package/dist/core/p-9a4c910d.js +0 -2
- package/dist/core/p-9c04470d.entry.js +0 -2
- package/dist/core/p-9c04470d.entry.js.map +0 -1
- package/dist/core/p-9dab01be.js +0 -2
- package/dist/core/p-a35484ed.entry.js +0 -2
- package/dist/core/p-a35484ed.entry.js.map +0 -1
- package/dist/core/p-aaf2510a.entry.js.map +0 -1
- package/dist/core/p-ab1c25e7.entry.js +0 -3
- package/dist/core/p-ab1c25e7.entry.js.map +0 -1
- package/dist/core/p-b7e0b030.entry.js +0 -2
- package/dist/core/p-b7e0b030.entry.js.map +0 -1
- package/dist/core/p-b88d732b.entry.js +0 -3
- package/dist/core/p-b88d732b.entry.js.map +0 -1
- package/dist/core/p-bdd4ee7c.entry.js +0 -3
- package/dist/core/p-bdd4ee7c.entry.js.map +0 -1
- package/dist/core/p-be2f3b8f.entry.js +0 -2
- package/dist/core/p-be2f3b8f.entry.js.map +0 -1
- package/dist/core/p-c67ddbd3.entry.js.map +0 -1
- package/dist/core/p-ce1486b8.entry.js +0 -2
- package/dist/core/p-ce1486b8.entry.js.map +0 -1
- package/dist/core/p-d07d3dcc.entry.js.map +0 -1
- package/dist/core/p-d2c370d6.entry.js.map +0 -1
- package/dist/core/p-d513468a.entry.js +0 -2
- package/dist/core/p-d513468a.entry.js.map +0 -1
- package/dist/core/p-d6eed6df.entry.js +0 -3
- package/dist/core/p-d6eed6df.entry.js.map +0 -1
- package/dist/core/p-dd4445ee.entry.js.map +0 -1
- package/dist/core/p-e5bcedb7.entry.js +0 -2
- package/dist/core/p-e5bcedb7.entry.js.map +0 -1
- package/dist/core/p-eaedc9e3.entry.js +0 -2
- package/dist/core/p-eaedc9e3.entry.js.map +0 -1
- package/dist/core/p-f2206bbb.entry.js +0 -2
- package/dist/core/p-f2206bbb.entry.js.map +0 -1
- package/dist/core/p-f2f2c14a.entry.js.map +0 -1
- package/dist/core/p-f3967a1d.entry.js.map +0 -1
- package/dist/core/p-f4ef1b95.entry.js +0 -2
- package/dist/core/p-f4ef1b95.entry.js.map +0 -1
- package/dist/core/p-f6a4bf04.entry.js.map +0 -1
- package/dist/core/p-fa1e4aea.js +0 -2
- package/dist/core/p-fc710edb.entry.js.map +0 -1
- package/dist/core/p-ff3323bd.entry.js +0 -3
- package/dist/core/p-ff3323bd.entry.js.map +0 -1
- package/dist/esm/array.utils-b27436ea.js +0 -43
- package/dist/esm/array.utils-b27436ea.js.map +0 -1
- package/dist/esm/constants-09bda759.js +0 -25
- package/dist/esm/constants-2499979c.js +0 -24
- package/dist/esm/constants-27b48cd1.js +0 -22
- package/dist/esm/constants-2a283e9a.js +0 -18
- package/dist/esm/constants-34a29ae2.js +0 -33
- package/dist/esm/constants-3786b01b.js +0 -22
- package/dist/esm/constants-3df712e2.js +0 -13
- package/dist/esm/constants-47d7a8bc.js +0 -17
- package/dist/esm/constants-6df4edc4.js +0 -29
- package/dist/esm/constants-78474786.js +0 -25
- package/dist/esm/constants-867ac6e2.js +0 -19
- package/dist/esm/constants-887c5391.js +0 -23
- package/dist/esm/constants-d71c09e0.js +0 -12
- package/dist/esm/constants-ebec7de8.js +0 -12
- package/dist/esm/form-b81fd97e.js +0 -145
- package/dist/esm/form-b81fd97e.js.map +0 -1
- package/dist/esm/gov.log-49da0221.js +0 -25
- package/dist/esm/helpers-bc0fd116.js +0 -17
- package/dist/esm/helpers-bc0fd116.js.map +0 -1
- package/dist/esm/index-eb59f132.js +0 -2690
- package/dist/esm/index-eb59f132.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/props-a85d9c89.js +0 -14
- package/dist/esm/sizes-6c5943b4.js +0 -18
- package/dist/esm/stencil.utils-7cb5b075.js +0 -9
- package/dist/esm/string.utils-f268fc6b.js +0 -20
- package/dist/esm/template-a0067bb6.js +0 -123
- package/dist/esm/template-a0067bb6.js.map +0 -1
- package/dist/esm/variants-2b936d58.js +0 -18
- package/dist/esm/wcag-7d25e12b.js +0 -62
|
@@ -10,804 +10,806 @@ import { FormMultiSelectClass, FormMultiselectSizes, FormMultiselectVariants } f
|
|
|
10
10
|
import { propsValueToArray } from "../../../utils/array.utils";
|
|
11
11
|
import { tick } from "../../../utils/stencil.utils";
|
|
12
12
|
export class GovFormMultiSelect {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
return this.optionsState.filter((option) => {
|
|
75
|
-
const selectedIndex = this.selectedValueIndex(option.value);
|
|
76
|
-
return (selectedIndex !== -1 || (option === null || option === void 0 ? void 0 : option.disabled)) ? false : true;
|
|
77
|
-
}).map((option) => { var _a; return ({ label: (_a = option.label) !== null && _a !== void 0 ? _a : option.value, value: option.value }); });
|
|
78
|
-
}
|
|
79
|
-
return Array.from(this.selectRef.querySelectorAll('option'))
|
|
80
|
-
.filter((option) => {
|
|
81
|
-
if (ignoreFilter) {
|
|
82
|
-
return true;
|
|
83
|
-
}
|
|
84
|
-
const selectedIndex = this.selectedValueIndex(option.value);
|
|
85
|
-
return !(option.disabled || option.selected || selectedIndex > -1);
|
|
86
|
-
})
|
|
87
|
-
.map((option) => ({ label: option.textContent, value: option.value }));
|
|
88
|
-
}
|
|
89
|
-
initAutocomplete() {
|
|
90
|
-
var _a, _b, _c, _d, _e;
|
|
91
|
-
(_a = this.autocompleteRef) === null || _a === void 0 ? void 0 : _a.addEventListener('gov-select', this.onSelectHandler.bind(this));
|
|
92
|
-
(_b = this.autocompleteRef) === null || _b === void 0 ? void 0 : _b.addEventListener('gov-input', this.onInputHandler.bind(this));
|
|
93
|
-
(_c = this.autocompleteRef) === null || _c === void 0 ? void 0 : _c.addEventListener('gov-focus', this.onFocusHandler.bind(this));
|
|
94
|
-
(_d = this.autocompleteRef) === null || _d === void 0 ? void 0 : _d.addEventListener('gov-blur', this.onBlurHandler.bind(this));
|
|
95
|
-
(_e = this.autocompleteRef) === null || _e === void 0 ? void 0 : _e.setSearchCallback(searchString => {
|
|
96
|
-
return new Promise(resolve => {
|
|
97
|
-
const data = this.getAvailableOptions();
|
|
98
|
-
if (String(searchString).length === 0) {
|
|
99
|
-
return resolve(data);
|
|
100
|
-
}
|
|
101
|
-
resolve(data.filter(({ label, value }) => {
|
|
102
|
-
if (!label)
|
|
103
|
-
label = value;
|
|
104
|
-
return removeDiacritics(label).toLowerCase().indexOf(removeDiacritics(searchString).toLowerCase()) > -1;
|
|
105
|
-
}));
|
|
106
|
-
});
|
|
107
|
-
}).finally();
|
|
108
|
-
}
|
|
109
|
-
selectedValueIndex(value) {
|
|
110
|
-
return this.selectedOptionsState.findIndex((selected) => selected === value);
|
|
111
|
-
}
|
|
112
|
-
getOptionElement(value) {
|
|
113
|
-
return this.selectRef.querySelector('option[value="' + value + '"]');
|
|
114
|
-
}
|
|
115
|
-
getOption(value) {
|
|
116
|
-
var _a;
|
|
117
|
-
return (_a = this.getAvailableOptions(true).find((option) => option.value === value)) !== null && _a !== void 0 ? _a : null;
|
|
118
|
-
}
|
|
119
|
-
selectOption(newOption, notify = true) {
|
|
120
|
-
const index = this.selectedValueIndex(newOption);
|
|
121
|
-
if (index === -1) {
|
|
122
|
-
this.selectedOptionsState = [...this.selectedOptionsState, newOption];
|
|
123
|
-
this.value = this.selectedOptionsState;
|
|
124
|
-
if (notify) {
|
|
125
|
-
this.govChange.emit({
|
|
126
|
-
component: FormMultiSelectClass.root,
|
|
127
|
-
value: this.selectedOptionsState,
|
|
128
|
-
});
|
|
129
|
-
this.govSelect.emit({
|
|
130
|
-
component: FormMultiSelectClass.root,
|
|
131
|
-
value: this.selectedOptionsState,
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
const option = this.getOptionElement(newOption);
|
|
135
|
-
if (option) {
|
|
136
|
-
option.selected = true;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
removeOption(removeOption, notify = true) {
|
|
141
|
-
const index = this.selectedValueIndex(removeOption);
|
|
142
|
-
if (index !== -1) {
|
|
143
|
-
this.selectedOptionsState.splice(index, 1);
|
|
144
|
-
this.selectedOptionsState = [...this.selectedOptionsState];
|
|
145
|
-
this.value = this.selectedOptionsState;
|
|
146
|
-
if (notify) {
|
|
147
|
-
this.govChange.emit({
|
|
148
|
-
component: FormMultiSelectClass.root,
|
|
149
|
-
value: this.selectedOptionsState,
|
|
150
|
-
});
|
|
151
|
-
this.govRemove.emit({
|
|
152
|
-
component: FormMultiSelectClass.root,
|
|
153
|
-
value: this.selectedOptionsState,
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
const option = this.getOptionElement(removeOption);
|
|
157
|
-
if (option) {
|
|
158
|
-
option.selected = false;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
async componentDidLoad() {
|
|
163
|
-
this.initAutocomplete();
|
|
164
|
-
}
|
|
165
|
-
async componentDidRender() {
|
|
166
|
-
tick(() => {
|
|
167
|
-
this.selectRef.querySelectorAll('option').forEach((option) => {
|
|
168
|
-
if (option.selected) {
|
|
169
|
-
this.selectOption(option.value, false);
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
});
|
|
173
|
-
if (canValidateWcagOnRender()) {
|
|
174
|
-
await delay(500);
|
|
175
|
-
await this.validateWcag();
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
render() {
|
|
179
|
-
return (h(Host, { class: FormMultiSelectClass.root, size: this.size, variant: this.variant }, h("div", { class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && h("slot", { name: "prefix" }), h("div", { class: "element" }, h("gov-form-autocomplete", { value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, size: this.size, variant: this.variant, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "name-key": 'label', wcagDescribedBy: this.wcagDescribedBy, wcagLabelledBy: this.wcagLabelledBy, wcagOwns: this.listId }), h("gov-icon", { slot: "right-icon", class: "icon-arrow", name: "chevron-down" }), this.h.hasSlot('right-icon') && !(this.success || this.invalid) && h("slot", { name: "right-icon" }), this.success && h("gov-icon", { slot: "right-icon", class: "icon-validation", name: "check-lg" }), this.invalid && h("gov-icon", { slot: "right-icon", class: "icon-validation", name: "exclamation-lg" }), h("select", { hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el), "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-owns": this.wcagOwns }, h("slot", null))), this.h.hasSlot('sufix') && h("slot", { name: "sufix" })), this.hideSelectedList === false ? (h("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
|
|
180
|
-
var _a, _b;
|
|
181
|
-
const option = this.getOption(selected);
|
|
182
|
-
if (!option)
|
|
183
|
-
return null;
|
|
184
|
-
return (h("li", { class: FormMultiSelectClass.item, role: "option" }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value, h("gov-button", { wcagLabel: (_b = 'Odebrat vybranou položku ' + option.label) !== null && _b !== void 0 ? _b : option.value, variant: "primary", type: "base", size: "s", "on-gov-click": () => this.onTagRemove(selected) }, h("gov-icon", { name: "x-lg" }))));
|
|
185
|
-
}))) : null));
|
|
186
|
-
}
|
|
187
|
-
onFocusHandler(e) {
|
|
188
|
-
e.stopPropagation();
|
|
189
|
-
this.focused = true;
|
|
190
|
-
this.govFocus.emit({
|
|
191
|
-
component: FormMultiSelectClass.root,
|
|
192
|
-
originalEvent: e,
|
|
193
|
-
value: this.selectedOptionsState,
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
onBlurHandler(e) {
|
|
197
|
-
e.stopPropagation();
|
|
198
|
-
e.stopPropagation();
|
|
199
|
-
this.focused = false;
|
|
200
|
-
this.govBlur.emit({
|
|
201
|
-
component: FormMultiSelectClass.root,
|
|
202
|
-
originalEvent: e,
|
|
203
|
-
value: this.selectedOptionsState,
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
onInputHandler(e) {
|
|
207
|
-
this.valueState = e.detail.value;
|
|
208
|
-
e.stopPropagation();
|
|
209
|
-
}
|
|
210
|
-
onSelectHandler(e) {
|
|
211
|
-
e.stopPropagation();
|
|
212
|
-
const value = e.detail.selected;
|
|
213
|
-
this.selectOption(value.value);
|
|
214
|
-
this.valueState = '';
|
|
215
|
-
this.autocompleteRef.clearValue().finally();
|
|
216
|
-
this.autocompleteRef.focus();
|
|
217
|
-
}
|
|
218
|
-
onTagRemove(removeOption) {
|
|
219
|
-
this.removeOption(removeOption);
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Returns the current state of the component
|
|
223
|
-
*/
|
|
224
|
-
async setFocus(options) {
|
|
225
|
-
return this.selectRef.focus(options);
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Sets the ordered value of the element
|
|
229
|
-
*/
|
|
230
|
-
async setValue(value) {
|
|
231
|
-
this.valueState = value;
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* Returns an instance of the native html select element
|
|
235
|
-
*/
|
|
236
|
-
async getRef() {
|
|
237
|
-
return this.selectRef;
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Validate the WCAG attributes of the component
|
|
241
|
-
*/
|
|
242
|
-
async validateWcag() {
|
|
243
|
-
validateWcagRef(this.wcagDescribedBy, 'wcag-described-by', FormMultiSelectClass.root);
|
|
244
|
-
validateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', FormMultiSelectClass.root);
|
|
245
|
-
validateWcagRef(this.wcagOwns, 'wcag-owns', FormMultiSelectClass.root);
|
|
246
|
-
validateWcagLabelFor(this.identifier || this.selectId, this.wcagLabelledBy, FormMultiSelectClass.root);
|
|
247
|
-
}
|
|
248
|
-
static get is() { return "gov-form-multi-select"; }
|
|
249
|
-
static get originalStyleUrls() {
|
|
250
|
-
return {
|
|
251
|
-
"$": ["gov-form-multi-select.scss"]
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
static get styleUrls() {
|
|
255
|
-
return {
|
|
256
|
-
"$": ["gov-form-multi-select.css"]
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
static get properties() {
|
|
260
|
-
return {
|
|
261
|
-
"value": {
|
|
262
|
-
"type": "string",
|
|
263
|
-
"mutable": true,
|
|
264
|
-
"complexType": {
|
|
265
|
-
"original": "string | GovFormMultiSelectSelectedItem[]",
|
|
266
|
-
"resolved": "GovFormMultiSelectSelectedItem[] | string",
|
|
267
|
-
"references": {
|
|
268
|
-
"GovFormMultiSelectSelectedItem": {
|
|
269
|
-
"location": "import",
|
|
270
|
-
"path": "./gov-form-multi-select.types",
|
|
271
|
-
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::GovFormMultiSelectSelectedItem"
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"required": false,
|
|
276
|
-
"optional": false,
|
|
277
|
-
"docs": {
|
|
278
|
-
"tags": [],
|
|
279
|
-
"text": "Value of multi-select"
|
|
280
|
-
},
|
|
281
|
-
"attribute": "value",
|
|
282
|
-
"reflect": true
|
|
283
|
-
},
|
|
284
|
-
"options": {
|
|
285
|
-
"type": "string",
|
|
286
|
-
"mutable": true,
|
|
287
|
-
"complexType": {
|
|
288
|
-
"original": "string | GovFormMultiSelectItem[]",
|
|
289
|
-
"resolved": "GovFormMultiSelectItem[] | string",
|
|
290
|
-
"references": {
|
|
291
|
-
"GovFormMultiSelectItem": {
|
|
292
|
-
"location": "import",
|
|
293
|
-
"path": "./gov-form-multi-select.types",
|
|
294
|
-
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::GovFormMultiSelectItem"
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
"required": false,
|
|
299
|
-
"optional": true,
|
|
300
|
-
"docs": {
|
|
301
|
-
"tags": [],
|
|
302
|
-
"text": "Options of multi-select"
|
|
303
|
-
},
|
|
304
|
-
"attribute": "options",
|
|
305
|
-
"reflect": true
|
|
306
|
-
},
|
|
307
|
-
"identifier": {
|
|
308
|
-
"type": "string",
|
|
309
|
-
"mutable": false,
|
|
310
|
-
"complexType": {
|
|
311
|
-
"original": "string",
|
|
312
|
-
"resolved": "string",
|
|
313
|
-
"references": {}
|
|
314
|
-
},
|
|
315
|
-
"required": false,
|
|
316
|
-
"optional": false,
|
|
317
|
-
"docs": {
|
|
318
|
-
"tags": [],
|
|
319
|
-
"text": "Custom select identifier."
|
|
320
|
-
},
|
|
321
|
-
"attribute": "identifier",
|
|
322
|
-
"reflect": false
|
|
323
|
-
},
|
|
324
|
-
"placeholder": {
|
|
325
|
-
"type": "string",
|
|
326
|
-
"mutable": false,
|
|
327
|
-
"complexType": {
|
|
328
|
-
"original": "string",
|
|
329
|
-
"resolved": "string",
|
|
330
|
-
"references": {}
|
|
331
|
-
},
|
|
332
|
-
"required": false,
|
|
333
|
-
"optional": false,
|
|
334
|
-
"docs": {
|
|
335
|
-
"tags": [],
|
|
336
|
-
"text": "Custom select placeholder."
|
|
337
|
-
},
|
|
338
|
-
"attribute": "placeholder",
|
|
339
|
-
"reflect": false
|
|
340
|
-
},
|
|
341
|
-
"variant": {
|
|
342
|
-
"type": "string",
|
|
343
|
-
"mutable": false,
|
|
344
|
-
"complexType": {
|
|
345
|
-
"original": "FormMultiselectVariantType",
|
|
346
|
-
"resolved": "\"primary\" | \"secondary\"",
|
|
347
|
-
"references": {
|
|
348
|
-
"FormMultiselectVariantType": {
|
|
349
|
-
"location": "import",
|
|
350
|
-
"path": "./constants",
|
|
351
|
-
"id": "../../../packages/core/src/components/gov-form/multiselect/constants.ts::FormMultiselectVariantType"
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
|
-
"required": false,
|
|
356
|
-
"optional": true,
|
|
357
|
-
"docs": {
|
|
358
|
-
"tags": [],
|
|
359
|
-
"text": "Style variation of the form select."
|
|
360
|
-
},
|
|
361
|
-
"attribute": "variant",
|
|
362
|
-
"reflect": false
|
|
363
|
-
},
|
|
364
|
-
"size": {
|
|
365
|
-
"type": "string",
|
|
366
|
-
"mutable": false,
|
|
367
|
-
"complexType": {
|
|
368
|
-
"original": "FormMultiselectSizesType",
|
|
369
|
-
"resolved": "\"l\" | \"m\" | \"xl\"",
|
|
370
|
-
"references": {
|
|
371
|
-
"FormMultiselectSizesType": {
|
|
372
|
-
"location": "import",
|
|
373
|
-
"path": "./constants",
|
|
374
|
-
"id": "../../../packages/core/src/components/gov-form/multiselect/constants.ts::FormMultiselectSizesType"
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
"required": false,
|
|
379
|
-
"optional": true,
|
|
380
|
-
"docs": {
|
|
381
|
-
"tags": [],
|
|
382
|
-
"text": "Select\u2019s size."
|
|
383
|
-
},
|
|
384
|
-
"attribute": "size",
|
|
385
|
-
"reflect": false,
|
|
386
|
-
"defaultValue": "'m'"
|
|
387
|
-
},
|
|
388
|
-
"name": {
|
|
389
|
-
"type": "string",
|
|
390
|
-
"mutable": false,
|
|
391
|
-
"complexType": {
|
|
392
|
-
"original": "string",
|
|
393
|
-
"resolved": "string",
|
|
394
|
-
"references": {}
|
|
395
|
-
},
|
|
396
|
-
"required": false,
|
|
397
|
-
"optional": false,
|
|
398
|
-
"docs": {
|
|
399
|
-
"tags": [],
|
|
400
|
-
"text": "Name of the select."
|
|
401
|
-
},
|
|
402
|
-
"attribute": "name",
|
|
403
|
-
"reflect": false
|
|
404
|
-
},
|
|
405
|
-
"hideSelectedList": {
|
|
406
|
-
"type": "boolean",
|
|
407
|
-
"mutable": false,
|
|
408
|
-
"complexType": {
|
|
409
|
-
"original": "boolean",
|
|
410
|
-
"resolved": "boolean",
|
|
411
|
-
"references": {}
|
|
412
|
-
},
|
|
413
|
-
"required": false,
|
|
414
|
-
"optional": false,
|
|
415
|
-
"docs": {
|
|
416
|
-
"tags": [],
|
|
417
|
-
"text": "Option to hide the list of selected items"
|
|
418
|
-
},
|
|
419
|
-
"attribute": "hide-selected-list",
|
|
420
|
-
"reflect": false,
|
|
421
|
-
"defaultValue": "false"
|
|
422
|
-
},
|
|
423
|
-
"required": {
|
|
424
|
-
"type": "boolean",
|
|
425
|
-
"mutable": false,
|
|
426
|
-
"complexType": {
|
|
427
|
-
"original": "boolean",
|
|
428
|
-
"resolved": "boolean",
|
|
429
|
-
"references": {}
|
|
430
|
-
},
|
|
431
|
-
"required": false,
|
|
432
|
-
"optional": false,
|
|
433
|
-
"docs": {
|
|
434
|
-
"tags": [],
|
|
435
|
-
"text": "Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\nWhen using this property you need to also set \u201Cnovalidate\u201D attribute to your form element to prevent browser from displaying its own validation errors."
|
|
436
|
-
},
|
|
437
|
-
"attribute": "required",
|
|
438
|
-
"reflect": false,
|
|
439
|
-
"defaultValue": "false"
|
|
440
|
-
},
|
|
441
|
-
"disabled": {
|
|
442
|
-
"type": "boolean",
|
|
443
|
-
"mutable": false,
|
|
444
|
-
"complexType": {
|
|
445
|
-
"original": "boolean",
|
|
446
|
-
"resolved": "boolean",
|
|
447
|
-
"references": {}
|
|
448
|
-
},
|
|
449
|
-
"required": false,
|
|
450
|
-
"optional": false,
|
|
451
|
-
"docs": {
|
|
452
|
-
"tags": [],
|
|
453
|
-
"text": "Makes the select component disabled.\nThis prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies."
|
|
454
|
-
},
|
|
455
|
-
"attribute": "disabled",
|
|
456
|
-
"reflect": false,
|
|
457
|
-
"defaultValue": "false"
|
|
458
|
-
},
|
|
459
|
-
"invalid": {
|
|
460
|
-
"type": "boolean",
|
|
461
|
-
"mutable": false,
|
|
462
|
-
"complexType": {
|
|
463
|
-
"original": "boolean",
|
|
464
|
-
"resolved": "boolean",
|
|
465
|
-
"references": {}
|
|
466
|
-
},
|
|
467
|
-
"required": false,
|
|
468
|
-
"optional": false,
|
|
469
|
-
"docs": {
|
|
470
|
-
"tags": [],
|
|
471
|
-
"text": "Indicates the entered value does not conform to the format expected by the application."
|
|
472
|
-
},
|
|
473
|
-
"attribute": "invalid",
|
|
474
|
-
"reflect": false
|
|
475
|
-
},
|
|
476
|
-
"success": {
|
|
477
|
-
"type": "boolean",
|
|
478
|
-
"mutable": false,
|
|
479
|
-
"complexType": {
|
|
480
|
-
"original": "boolean",
|
|
481
|
-
"resolved": "boolean",
|
|
482
|
-
"references": {}
|
|
483
|
-
},
|
|
484
|
-
"required": false,
|
|
485
|
-
"optional": false,
|
|
486
|
-
"docs": {
|
|
487
|
-
"tags": [],
|
|
488
|
-
"text": "Indicates the entered value of child form element does conform to the format expected by the application."
|
|
489
|
-
},
|
|
490
|
-
"attribute": "success",
|
|
491
|
-
"reflect": false
|
|
492
|
-
},
|
|
493
|
-
"messageEmpty": {
|
|
494
|
-
"type": "string",
|
|
495
|
-
"mutable": false,
|
|
496
|
-
"complexType": {
|
|
497
|
-
"original": "string",
|
|
498
|
-
"resolved": "string",
|
|
499
|
-
"references": {}
|
|
500
|
-
},
|
|
501
|
-
"required": false,
|
|
502
|
-
"optional": false,
|
|
503
|
-
"docs": {
|
|
504
|
-
"tags": [],
|
|
505
|
-
"text": "Custom message for when there is a blank sheet"
|
|
506
|
-
},
|
|
507
|
-
"attribute": "message-empty",
|
|
508
|
-
"reflect": false,
|
|
509
|
-
"defaultValue": "'Nebyly nalezeny \u017E\u00E1dn\u00E9 v\u00FDsledky'"
|
|
510
|
-
},
|
|
511
|
-
"messageLoading": {
|
|
512
|
-
"type": "string",
|
|
513
|
-
"mutable": false,
|
|
514
|
-
"complexType": {
|
|
515
|
-
"original": "string",
|
|
516
|
-
"resolved": "string",
|
|
517
|
-
"references": {}
|
|
518
|
-
},
|
|
519
|
-
"required": false,
|
|
520
|
-
"optional": false,
|
|
521
|
-
"docs": {
|
|
522
|
-
"tags": [],
|
|
523
|
-
"text": "Custom message for when data is loaded"
|
|
524
|
-
},
|
|
525
|
-
"attribute": "message-loading",
|
|
526
|
-
"reflect": false,
|
|
527
|
-
"defaultValue": "'Na\u010D\u00EDt\u00E1m...'"
|
|
528
|
-
},
|
|
529
|
-
"wcagDescribedBy": {
|
|
530
|
-
"type": "string",
|
|
531
|
-
"mutable": false,
|
|
532
|
-
"complexType": {
|
|
533
|
-
"original": "string",
|
|
534
|
-
"resolved": "string",
|
|
535
|
-
"references": {}
|
|
536
|
-
},
|
|
537
|
-
"required": false,
|
|
538
|
-
"optional": false,
|
|
539
|
-
"docs": {
|
|
540
|
-
"tags": [],
|
|
541
|
-
"text": "Indicates the id of a component that describes the input."
|
|
542
|
-
},
|
|
543
|
-
"attribute": "wcag-described-by",
|
|
544
|
-
"reflect": false
|
|
545
|
-
},
|
|
546
|
-
"wcagLabelledBy": {
|
|
547
|
-
"type": "string",
|
|
548
|
-
"mutable": false,
|
|
549
|
-
"complexType": {
|
|
550
|
-
"original": "string",
|
|
551
|
-
"resolved": "string",
|
|
552
|
-
"references": {}
|
|
553
|
-
},
|
|
554
|
-
"required": false,
|
|
555
|
-
"optional": false,
|
|
556
|
-
"docs": {
|
|
557
|
-
"tags": [],
|
|
558
|
-
"text": "Indicates the id of a component that labels the input."
|
|
559
|
-
},
|
|
560
|
-
"attribute": "wcag-labelled-by",
|
|
561
|
-
"reflect": false
|
|
562
|
-
},
|
|
563
|
-
"wcagOwns": {
|
|
564
|
-
"type": "string",
|
|
565
|
-
"mutable": false,
|
|
566
|
-
"complexType": {
|
|
567
|
-
"original": "string",
|
|
568
|
-
"resolved": "string",
|
|
569
|
-
"references": {}
|
|
570
|
-
},
|
|
571
|
-
"required": false,
|
|
572
|
-
"optional": false,
|
|
573
|
-
"docs": {
|
|
574
|
-
"tags": [],
|
|
575
|
-
"text": "Indicates the id of a component that describes the input."
|
|
576
|
-
},
|
|
577
|
-
"attribute": "wcag-owns",
|
|
578
|
-
"reflect": false
|
|
579
|
-
}
|
|
580
|
-
};
|
|
581
|
-
}
|
|
582
|
-
static get states() {
|
|
583
|
-
return {
|
|
584
|
-
"focused": {},
|
|
585
|
-
"valueState": {},
|
|
586
|
-
"selectedOptionsState": {},
|
|
587
|
-
"optionsState": {}
|
|
588
|
-
};
|
|
589
|
-
}
|
|
590
|
-
static get events() {
|
|
591
|
-
return [{
|
|
592
|
-
"method": "govFocus",
|
|
593
|
-
"name": "gov-focus",
|
|
594
|
-
"bubbles": true,
|
|
595
|
-
"cancelable": true,
|
|
596
|
-
"composed": true,
|
|
597
|
-
"docs": {
|
|
598
|
-
"tags": [],
|
|
599
|
-
"text": "Emitted when the select has focus."
|
|
600
|
-
},
|
|
601
|
-
"complexType": {
|
|
602
|
-
"original": "FormMultiselectEvent",
|
|
603
|
-
"resolved": "FormMultiselectEvent",
|
|
604
|
-
"references": {
|
|
605
|
-
"FormMultiselectEvent": {
|
|
606
|
-
"location": "import",
|
|
607
|
-
"path": "./gov-form-multi-select.types",
|
|
608
|
-
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
13
|
+
constructor() {
|
|
14
|
+
this.value = undefined;
|
|
15
|
+
this.options = undefined;
|
|
16
|
+
this.identifier = undefined;
|
|
17
|
+
this.placeholder = undefined;
|
|
18
|
+
this.variant = undefined;
|
|
19
|
+
this.size = 'm';
|
|
20
|
+
this.name = undefined;
|
|
21
|
+
this.hideSelectedList = false;
|
|
22
|
+
this.required = false;
|
|
23
|
+
this.disabled = false;
|
|
24
|
+
this.invalid = undefined;
|
|
25
|
+
this.success = undefined;
|
|
26
|
+
this.messageEmpty = 'Nebyly nalezeny žádné výsledky';
|
|
27
|
+
this.messageLoading = 'Načítám...';
|
|
28
|
+
this.wcagDescribedBy = undefined;
|
|
29
|
+
this.wcagLabelledBy = undefined;
|
|
30
|
+
this.wcagOwns = undefined;
|
|
31
|
+
this.focused = undefined;
|
|
32
|
+
this.valueState = undefined;
|
|
33
|
+
this.selectedOptionsState = [];
|
|
34
|
+
this.optionsState = [];
|
|
35
|
+
this.selectId = createID('GovSelect');
|
|
36
|
+
this.listId = createID('GovMultiList');
|
|
37
|
+
this.h = govHost(this.host);
|
|
38
|
+
this.f = govForm(this.h);
|
|
39
|
+
}
|
|
40
|
+
validateVariant(newValue) {
|
|
41
|
+
validateProp(FormMultiselectVariants, newValue, FormMultiSelectClass.root);
|
|
42
|
+
}
|
|
43
|
+
validateSize(newValue) {
|
|
44
|
+
validateProp(FormMultiselectSizes, newValue, FormMultiSelectClass.root);
|
|
45
|
+
}
|
|
46
|
+
watchOptions(newValue) {
|
|
47
|
+
this.optionsState = propsValueToArray(newValue);
|
|
48
|
+
}
|
|
49
|
+
watchValue(newValue) {
|
|
50
|
+
this.selectedOptionsState = propsValueToArray(newValue);
|
|
51
|
+
}
|
|
52
|
+
watchDisabled() {
|
|
53
|
+
this.passControlAttrs();
|
|
54
|
+
}
|
|
55
|
+
passControlAttrs() {
|
|
56
|
+
this.f.passAttrToControl('size', this.size);
|
|
57
|
+
this.f.passAttrToControl('invalid', toBoolAttr(this.invalid));
|
|
58
|
+
this.f.passAttrToControl('success', toBoolAttr(this.success));
|
|
59
|
+
}
|
|
60
|
+
componentWillLoad() {
|
|
61
|
+
this.validateVariant(this.variant);
|
|
62
|
+
this.validateSize(this.size);
|
|
63
|
+
this.watchDisabled();
|
|
64
|
+
this.passControlAttrs();
|
|
65
|
+
this.f.passAttrToLabel('required', String(this.required));
|
|
66
|
+
this.optionsState = propsValueToArray(this.options);
|
|
67
|
+
this.selectedOptionsState = propsValueToArray(this.value);
|
|
68
|
+
}
|
|
69
|
+
getAvailableOptions(ignoreFilter = false) {
|
|
70
|
+
if (Array.isArray(this.optionsState) && this.optionsState.length) {
|
|
71
|
+
if (ignoreFilter) {
|
|
72
|
+
return this.optionsState;
|
|
609
73
|
}
|
|
610
|
-
|
|
74
|
+
return this.optionsState.filter((option) => {
|
|
75
|
+
const selectedIndex = this.selectedValueIndex(option.value);
|
|
76
|
+
return (selectedIndex !== -1 || (option === null || option === void 0 ? void 0 : option.disabled)) ? false : true;
|
|
77
|
+
}).map((option) => { var _a; return ({ label: (_a = option.label) !== null && _a !== void 0 ? _a : option.value, value: option.value }); });
|
|
611
78
|
}
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
"cancelable": true,
|
|
617
|
-
"composed": true,
|
|
618
|
-
"docs": {
|
|
619
|
-
"tags": [],
|
|
620
|
-
"text": "Emitted when the select loses focus."
|
|
621
|
-
},
|
|
622
|
-
"complexType": {
|
|
623
|
-
"original": "FormMultiselectEvent",
|
|
624
|
-
"resolved": "FormMultiselectEvent",
|
|
625
|
-
"references": {
|
|
626
|
-
"FormMultiselectEvent": {
|
|
627
|
-
"location": "import",
|
|
628
|
-
"path": "./gov-form-multi-select.types",
|
|
629
|
-
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
79
|
+
return Array.from(this.selectRef.querySelectorAll('option'))
|
|
80
|
+
.filter((option) => {
|
|
81
|
+
if (ignoreFilter) {
|
|
82
|
+
return true;
|
|
630
83
|
}
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
84
|
+
const selectedIndex = this.selectedValueIndex(option.value);
|
|
85
|
+
return !(option.disabled || option.selected || selectedIndex > -1);
|
|
86
|
+
})
|
|
87
|
+
.map((option) => ({ label: option.textContent, value: option.value }));
|
|
88
|
+
}
|
|
89
|
+
initAutocomplete() {
|
|
90
|
+
var _a, _b, _c, _d, _e;
|
|
91
|
+
(_a = this.autocompleteRef) === null || _a === void 0 ? void 0 : _a.addEventListener('gov-select', this.onSelectHandler.bind(this));
|
|
92
|
+
(_b = this.autocompleteRef) === null || _b === void 0 ? void 0 : _b.addEventListener('gov-input', this.onInputHandler.bind(this));
|
|
93
|
+
(_c = this.autocompleteRef) === null || _c === void 0 ? void 0 : _c.addEventListener('gov-focus', this.onFocusHandler.bind(this));
|
|
94
|
+
(_d = this.autocompleteRef) === null || _d === void 0 ? void 0 : _d.addEventListener('gov-blur', this.onBlurHandler.bind(this));
|
|
95
|
+
(_e = this.autocompleteRef) === null || _e === void 0 ? void 0 : _e.setSearchCallback(searchString => {
|
|
96
|
+
return new Promise(resolve => {
|
|
97
|
+
const data = this.getAvailableOptions();
|
|
98
|
+
if (String(searchString).length === 0) {
|
|
99
|
+
return resolve(data);
|
|
100
|
+
}
|
|
101
|
+
resolve(data.filter(({ label, value }) => {
|
|
102
|
+
if (!label)
|
|
103
|
+
label = value;
|
|
104
|
+
return removeDiacritics(label).toLowerCase().indexOf(removeDiacritics(searchString).toLowerCase()) > -1;
|
|
105
|
+
}));
|
|
106
|
+
});
|
|
107
|
+
}).finally();
|
|
108
|
+
}
|
|
109
|
+
selectedValueIndex(value) {
|
|
110
|
+
return this.selectedOptionsState.findIndex((selected) => selected === value);
|
|
111
|
+
}
|
|
112
|
+
getOptionElement(value) {
|
|
113
|
+
return this.selectRef.querySelector('option[value="' + value + '"]');
|
|
114
|
+
}
|
|
115
|
+
getOption(value) {
|
|
116
|
+
var _a;
|
|
117
|
+
return (_a = this.getAvailableOptions(true).find((option) => option.value === value)) !== null && _a !== void 0 ? _a : null;
|
|
118
|
+
}
|
|
119
|
+
selectOption(newOption, notify = true) {
|
|
120
|
+
const index = this.selectedValueIndex(newOption);
|
|
121
|
+
if (index === -1) {
|
|
122
|
+
this.selectedOptionsState = [...this.selectedOptionsState, newOption];
|
|
123
|
+
this.value = this.selectedOptionsState;
|
|
124
|
+
if (notify) {
|
|
125
|
+
this.govChange.emit({
|
|
126
|
+
component: FormMultiSelectClass.root,
|
|
127
|
+
value: this.selectedOptionsState,
|
|
128
|
+
});
|
|
129
|
+
this.govSelect.emit({
|
|
130
|
+
component: FormMultiSelectClass.root,
|
|
131
|
+
value: this.selectedOptionsState,
|
|
132
|
+
});
|
|
651
133
|
}
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
"method": "govSelect",
|
|
656
|
-
"name": "gov-select",
|
|
657
|
-
"bubbles": true,
|
|
658
|
-
"cancelable": true,
|
|
659
|
-
"composed": true,
|
|
660
|
-
"docs": {
|
|
661
|
-
"tags": [],
|
|
662
|
-
"text": "Emitted when an item is selected"
|
|
663
|
-
},
|
|
664
|
-
"complexType": {
|
|
665
|
-
"original": "FormMultiselectEvent",
|
|
666
|
-
"resolved": "FormMultiselectEvent",
|
|
667
|
-
"references": {
|
|
668
|
-
"FormMultiselectEvent": {
|
|
669
|
-
"location": "import",
|
|
670
|
-
"path": "./gov-form-multi-select.types",
|
|
671
|
-
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
134
|
+
const option = this.getOptionElement(newOption);
|
|
135
|
+
if (option) {
|
|
136
|
+
option.selected = true;
|
|
672
137
|
}
|
|
673
|
-
}
|
|
674
138
|
}
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
"path": "./gov-form-multi-select.types",
|
|
692
|
-
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
139
|
+
}
|
|
140
|
+
removeOption(removeOption, notify = true) {
|
|
141
|
+
const index = this.selectedValueIndex(removeOption);
|
|
142
|
+
if (index !== -1) {
|
|
143
|
+
this.selectedOptionsState.splice(index, 1);
|
|
144
|
+
this.selectedOptionsState = [...this.selectedOptionsState];
|
|
145
|
+
this.value = this.selectedOptionsState;
|
|
146
|
+
if (notify) {
|
|
147
|
+
this.govChange.emit({
|
|
148
|
+
component: FormMultiSelectClass.root,
|
|
149
|
+
value: this.selectedOptionsState,
|
|
150
|
+
});
|
|
151
|
+
this.govRemove.emit({
|
|
152
|
+
component: FormMultiSelectClass.root,
|
|
153
|
+
value: this.selectedOptionsState,
|
|
154
|
+
});
|
|
693
155
|
}
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
}
|
|
698
|
-
static get methods() {
|
|
699
|
-
return {
|
|
700
|
-
"setFocus": {
|
|
701
|
-
"complexType": {
|
|
702
|
-
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
703
|
-
"parameters": [{
|
|
704
|
-
"tags": [],
|
|
705
|
-
"text": ""
|
|
706
|
-
}],
|
|
707
|
-
"references": {
|
|
708
|
-
"Promise": {
|
|
709
|
-
"location": "global",
|
|
710
|
-
"id": "global::Promise"
|
|
711
|
-
},
|
|
712
|
-
"FocusOptions": {
|
|
713
|
-
"location": "global",
|
|
714
|
-
"id": "global::FocusOptions"
|
|
156
|
+
const option = this.getOptionElement(removeOption);
|
|
157
|
+
if (option) {
|
|
158
|
+
option.selected = false;
|
|
715
159
|
}
|
|
716
|
-
},
|
|
717
|
-
"return": "Promise<void>"
|
|
718
|
-
},
|
|
719
|
-
"docs": {
|
|
720
|
-
"text": "Returns the current state of the component",
|
|
721
|
-
"tags": []
|
|
722
160
|
}
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
},
|
|
739
|
-
"docs": {
|
|
740
|
-
"text": "Sets the ordered value of the element",
|
|
741
|
-
"tags": []
|
|
161
|
+
}
|
|
162
|
+
async componentDidLoad() {
|
|
163
|
+
this.initAutocomplete();
|
|
164
|
+
}
|
|
165
|
+
async componentDidRender() {
|
|
166
|
+
tick(() => {
|
|
167
|
+
this.selectRef.querySelectorAll('option').forEach((option) => {
|
|
168
|
+
if (option.selected) {
|
|
169
|
+
this.selectOption(option.value, false);
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
});
|
|
173
|
+
if (canValidateWcagOnRender()) {
|
|
174
|
+
await delay(500);
|
|
175
|
+
await this.validateWcag();
|
|
742
176
|
}
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
"
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
177
|
+
}
|
|
178
|
+
render() {
|
|
179
|
+
return (h(Host, { key: 'bb5855ba2a4cd63ad2093ae2aebd67f3349cea28', class: FormMultiSelectClass.root, size: this.size, variant: this.variant }, h("div", { key: '3abae4b8ea9cc625a21dd45e1b9ee8befc49b8b6', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && h("slot", { key: '86da9e574fe68a4883b3df4da602e05f627e4714', name: "prefix" }), h("div", { key: '87d30a0d40739f4a4dbeaa9b5cef946ed9873c00', class: "element" }, h("gov-form-autocomplete", { key: 'ee44381d4eb97059d935135391951e7750afa648', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, size: this.size, variant: this.variant, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "name-key": 'label', wcagDescribedBy: this.wcagDescribedBy, wcagLabelledBy: this.wcagLabelledBy, wcagOwns: this.listId }), h("gov-icon", { key: '83bdc379de06eab7db28d17cd39cd34128e60090', slot: "right-icon", class: "icon-arrow", name: "chevron-down" }), this.h.hasSlot('right-icon') && !(this.success || this.invalid) && h("slot", { key: '809ab0378b25182006e15effcb29babacb93274a', name: "right-icon" }), this.success && h("gov-icon", { key: '85ef665e98040503ea14743e8497ceb7b48d3a9e', slot: "right-icon", class: "icon-validation", name: "check-lg" }), this.invalid && h("gov-icon", { key: '88509ad301ad83c61957b0d1dd6e95586cf8d65a', slot: "right-icon", class: "icon-validation", name: "exclamation-lg" }), h("select", { key: '382f9855fe424f6427d158568339c51fc7ea46a5', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el), "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-owns": this.wcagOwns }, h("slot", { key: '678201c2968bbb6d3e470ccc03d149b70fed50db' }))), this.h.hasSlot('sufix') && h("slot", { key: '25a9c902b37c15988f4591a136006d9f3db0fa8d', name: "sufix" })), this.hideSelectedList === false ? (h("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
|
|
180
|
+
var _a, _b;
|
|
181
|
+
const option = this.getOption(selected);
|
|
182
|
+
if (!option)
|
|
183
|
+
return null;
|
|
184
|
+
return (h("li", { class: FormMultiSelectClass.item, role: "option" }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value, h("gov-button", { wcagLabel: (_b = 'Odebrat vybranou položku ' + option.label) !== null && _b !== void 0 ? _b : option.value, variant: "primary", type: "base", size: "s", "on-gov-click": () => this.onTagRemove(selected) }, h("gov-icon", { name: "x-lg" }))));
|
|
185
|
+
}))) : null));
|
|
186
|
+
}
|
|
187
|
+
onFocusHandler(e) {
|
|
188
|
+
e.stopPropagation();
|
|
189
|
+
this.focused = true;
|
|
190
|
+
this.govFocus.emit({
|
|
191
|
+
component: FormMultiSelectClass.root,
|
|
192
|
+
originalEvent: e,
|
|
193
|
+
value: this.selectedOptionsState,
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
onBlurHandler(e) {
|
|
197
|
+
e.stopPropagation();
|
|
198
|
+
e.stopPropagation();
|
|
199
|
+
this.focused = false;
|
|
200
|
+
this.govBlur.emit({
|
|
201
|
+
component: FormMultiSelectClass.root,
|
|
202
|
+
originalEvent: e,
|
|
203
|
+
value: this.selectedOptionsState,
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
onInputHandler(e) {
|
|
207
|
+
this.valueState = e.detail.value;
|
|
208
|
+
e.stopPropagation();
|
|
209
|
+
}
|
|
210
|
+
onSelectHandler(e) {
|
|
211
|
+
e.stopPropagation();
|
|
212
|
+
const value = e.detail.selected;
|
|
213
|
+
this.selectOption(value.value);
|
|
214
|
+
this.valueState = '';
|
|
215
|
+
this.autocompleteRef.clearValue().finally();
|
|
216
|
+
this.autocompleteRef.focus();
|
|
217
|
+
}
|
|
218
|
+
onTagRemove(removeOption) {
|
|
219
|
+
this.removeOption(removeOption);
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Returns the current state of the component
|
|
223
|
+
*/
|
|
224
|
+
async setFocus(options) {
|
|
225
|
+
return this.selectRef.focus(options);
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Sets the ordered value of the element
|
|
229
|
+
*/
|
|
230
|
+
async setValue(value) {
|
|
231
|
+
this.valueState = value;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Returns an instance of the native html select element
|
|
235
|
+
*/
|
|
236
|
+
async getRef() {
|
|
237
|
+
return this.selectRef;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Validate the WCAG attributes of the component
|
|
241
|
+
*/
|
|
242
|
+
async validateWcag() {
|
|
243
|
+
validateWcagRef(this.wcagDescribedBy, 'wcag-described-by', FormMultiSelectClass.root);
|
|
244
|
+
validateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', FormMultiSelectClass.root);
|
|
245
|
+
validateWcagRef(this.wcagOwns, 'wcag-owns', FormMultiSelectClass.root);
|
|
246
|
+
validateWcagLabelFor(this.identifier || this.selectId, this.wcagLabelledBy, FormMultiSelectClass.root);
|
|
247
|
+
}
|
|
248
|
+
static get is() { return "gov-form-multi-select"; }
|
|
249
|
+
static get originalStyleUrls() {
|
|
250
|
+
return {
|
|
251
|
+
"$": ["gov-form-multi-select.scss"]
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
static get styleUrls() {
|
|
255
|
+
return {
|
|
256
|
+
"$": ["gov-form-multi-select.css"]
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
static get properties() {
|
|
260
|
+
return {
|
|
261
|
+
"value": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"mutable": true,
|
|
264
|
+
"complexType": {
|
|
265
|
+
"original": "string | GovFormMultiSelectSelectedItem[]",
|
|
266
|
+
"resolved": "GovFormMultiSelectSelectedItem[] | string",
|
|
267
|
+
"references": {
|
|
268
|
+
"GovFormMultiSelectSelectedItem": {
|
|
269
|
+
"location": "import",
|
|
270
|
+
"path": "./gov-form-multi-select.types",
|
|
271
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::GovFormMultiSelectSelectedItem"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"required": false,
|
|
276
|
+
"optional": false,
|
|
277
|
+
"docs": {
|
|
278
|
+
"tags": [],
|
|
279
|
+
"text": "Value of multi-select"
|
|
280
|
+
},
|
|
281
|
+
"attribute": "value",
|
|
282
|
+
"reflect": true
|
|
283
|
+
},
|
|
284
|
+
"options": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"mutable": true,
|
|
287
|
+
"complexType": {
|
|
288
|
+
"original": "string | GovFormMultiSelectItem[]",
|
|
289
|
+
"resolved": "GovFormMultiSelectItem[] | string",
|
|
290
|
+
"references": {
|
|
291
|
+
"GovFormMultiSelectItem": {
|
|
292
|
+
"location": "import",
|
|
293
|
+
"path": "./gov-form-multi-select.types",
|
|
294
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::GovFormMultiSelectItem"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"required": false,
|
|
299
|
+
"optional": true,
|
|
300
|
+
"docs": {
|
|
301
|
+
"tags": [],
|
|
302
|
+
"text": "Options of multi-select"
|
|
303
|
+
},
|
|
304
|
+
"attribute": "options",
|
|
305
|
+
"reflect": true
|
|
306
|
+
},
|
|
307
|
+
"identifier": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"mutable": false,
|
|
310
|
+
"complexType": {
|
|
311
|
+
"original": "string",
|
|
312
|
+
"resolved": "string",
|
|
313
|
+
"references": {}
|
|
314
|
+
},
|
|
315
|
+
"required": false,
|
|
316
|
+
"optional": false,
|
|
317
|
+
"docs": {
|
|
318
|
+
"tags": [],
|
|
319
|
+
"text": "Custom select identifier."
|
|
320
|
+
},
|
|
321
|
+
"attribute": "identifier",
|
|
322
|
+
"reflect": false
|
|
323
|
+
},
|
|
324
|
+
"placeholder": {
|
|
325
|
+
"type": "string",
|
|
326
|
+
"mutable": false,
|
|
327
|
+
"complexType": {
|
|
328
|
+
"original": "string",
|
|
329
|
+
"resolved": "string",
|
|
330
|
+
"references": {}
|
|
331
|
+
},
|
|
332
|
+
"required": false,
|
|
333
|
+
"optional": false,
|
|
334
|
+
"docs": {
|
|
335
|
+
"tags": [],
|
|
336
|
+
"text": "Custom select placeholder."
|
|
337
|
+
},
|
|
338
|
+
"attribute": "placeholder",
|
|
339
|
+
"reflect": false
|
|
340
|
+
},
|
|
341
|
+
"variant": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"mutable": false,
|
|
344
|
+
"complexType": {
|
|
345
|
+
"original": "FormMultiselectVariantType",
|
|
346
|
+
"resolved": "\"primary\" | \"secondary\"",
|
|
347
|
+
"references": {
|
|
348
|
+
"FormMultiselectVariantType": {
|
|
349
|
+
"location": "import",
|
|
350
|
+
"path": "./constants",
|
|
351
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/constants.ts::FormMultiselectVariantType"
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"required": false,
|
|
356
|
+
"optional": true,
|
|
357
|
+
"docs": {
|
|
358
|
+
"tags": [],
|
|
359
|
+
"text": "Style variation of the form select."
|
|
360
|
+
},
|
|
361
|
+
"attribute": "variant",
|
|
362
|
+
"reflect": false
|
|
363
|
+
},
|
|
364
|
+
"size": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"mutable": false,
|
|
367
|
+
"complexType": {
|
|
368
|
+
"original": "FormMultiselectSizesType",
|
|
369
|
+
"resolved": "\"l\" | \"m\" | \"xl\"",
|
|
370
|
+
"references": {
|
|
371
|
+
"FormMultiselectSizesType": {
|
|
372
|
+
"location": "import",
|
|
373
|
+
"path": "./constants",
|
|
374
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/constants.ts::FormMultiselectSizesType"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"required": false,
|
|
379
|
+
"optional": true,
|
|
380
|
+
"docs": {
|
|
381
|
+
"tags": [],
|
|
382
|
+
"text": "Select\u2019s size."
|
|
383
|
+
},
|
|
384
|
+
"attribute": "size",
|
|
385
|
+
"reflect": false,
|
|
386
|
+
"defaultValue": "'m'"
|
|
387
|
+
},
|
|
388
|
+
"name": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"mutable": false,
|
|
391
|
+
"complexType": {
|
|
392
|
+
"original": "string",
|
|
393
|
+
"resolved": "string",
|
|
394
|
+
"references": {}
|
|
395
|
+
},
|
|
396
|
+
"required": false,
|
|
397
|
+
"optional": false,
|
|
398
|
+
"docs": {
|
|
399
|
+
"tags": [],
|
|
400
|
+
"text": "Name of the select."
|
|
401
|
+
},
|
|
402
|
+
"attribute": "name",
|
|
403
|
+
"reflect": false
|
|
404
|
+
},
|
|
405
|
+
"hideSelectedList": {
|
|
406
|
+
"type": "boolean",
|
|
407
|
+
"mutable": false,
|
|
408
|
+
"complexType": {
|
|
409
|
+
"original": "boolean",
|
|
410
|
+
"resolved": "boolean",
|
|
411
|
+
"references": {}
|
|
412
|
+
},
|
|
413
|
+
"required": false,
|
|
414
|
+
"optional": false,
|
|
415
|
+
"docs": {
|
|
416
|
+
"tags": [],
|
|
417
|
+
"text": "Option to hide the list of selected items"
|
|
418
|
+
},
|
|
419
|
+
"attribute": "hide-selected-list",
|
|
420
|
+
"reflect": false,
|
|
421
|
+
"defaultValue": "false"
|
|
752
422
|
},
|
|
753
|
-
"
|
|
754
|
-
|
|
755
|
-
|
|
423
|
+
"required": {
|
|
424
|
+
"type": "boolean",
|
|
425
|
+
"mutable": false,
|
|
426
|
+
"complexType": {
|
|
427
|
+
"original": "boolean",
|
|
428
|
+
"resolved": "boolean",
|
|
429
|
+
"references": {}
|
|
430
|
+
},
|
|
431
|
+
"required": false,
|
|
432
|
+
"optional": false,
|
|
433
|
+
"docs": {
|
|
434
|
+
"tags": [],
|
|
435
|
+
"text": "Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\nWhen using this property you need to also set \u201Cnovalidate\u201D attribute to your form element to prevent browser from displaying its own validation errors."
|
|
436
|
+
},
|
|
437
|
+
"attribute": "required",
|
|
438
|
+
"reflect": false,
|
|
439
|
+
"defaultValue": "false"
|
|
440
|
+
},
|
|
441
|
+
"disabled": {
|
|
442
|
+
"type": "boolean",
|
|
443
|
+
"mutable": false,
|
|
444
|
+
"complexType": {
|
|
445
|
+
"original": "boolean",
|
|
446
|
+
"resolved": "boolean",
|
|
447
|
+
"references": {}
|
|
448
|
+
},
|
|
449
|
+
"required": false,
|
|
450
|
+
"optional": false,
|
|
451
|
+
"docs": {
|
|
452
|
+
"tags": [],
|
|
453
|
+
"text": "Makes the select component disabled.\nThis prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies."
|
|
454
|
+
},
|
|
455
|
+
"attribute": "disabled",
|
|
456
|
+
"reflect": false,
|
|
457
|
+
"defaultValue": "false"
|
|
458
|
+
},
|
|
459
|
+
"invalid": {
|
|
460
|
+
"type": "boolean",
|
|
461
|
+
"mutable": false,
|
|
462
|
+
"complexType": {
|
|
463
|
+
"original": "boolean",
|
|
464
|
+
"resolved": "boolean",
|
|
465
|
+
"references": {}
|
|
466
|
+
},
|
|
467
|
+
"required": false,
|
|
468
|
+
"optional": false,
|
|
469
|
+
"docs": {
|
|
470
|
+
"tags": [],
|
|
471
|
+
"text": "Indicates the entered value does not conform to the format expected by the application."
|
|
472
|
+
},
|
|
473
|
+
"attribute": "invalid",
|
|
474
|
+
"reflect": false
|
|
475
|
+
},
|
|
476
|
+
"success": {
|
|
477
|
+
"type": "boolean",
|
|
478
|
+
"mutable": false,
|
|
479
|
+
"complexType": {
|
|
480
|
+
"original": "boolean",
|
|
481
|
+
"resolved": "boolean",
|
|
482
|
+
"references": {}
|
|
483
|
+
},
|
|
484
|
+
"required": false,
|
|
485
|
+
"optional": false,
|
|
486
|
+
"docs": {
|
|
487
|
+
"tags": [],
|
|
488
|
+
"text": "Indicates the entered value of child form element does conform to the format expected by the application."
|
|
489
|
+
},
|
|
490
|
+
"attribute": "success",
|
|
491
|
+
"reflect": false
|
|
492
|
+
},
|
|
493
|
+
"messageEmpty": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"mutable": false,
|
|
496
|
+
"complexType": {
|
|
497
|
+
"original": "string",
|
|
498
|
+
"resolved": "string",
|
|
499
|
+
"references": {}
|
|
500
|
+
},
|
|
501
|
+
"required": false,
|
|
502
|
+
"optional": false,
|
|
503
|
+
"docs": {
|
|
504
|
+
"tags": [],
|
|
505
|
+
"text": "Custom message for when there is a blank sheet"
|
|
506
|
+
},
|
|
507
|
+
"attribute": "message-empty",
|
|
508
|
+
"reflect": false,
|
|
509
|
+
"defaultValue": "'Nebyly nalezeny \u017E\u00E1dn\u00E9 v\u00FDsledky'"
|
|
510
|
+
},
|
|
511
|
+
"messageLoading": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"mutable": false,
|
|
514
|
+
"complexType": {
|
|
515
|
+
"original": "string",
|
|
516
|
+
"resolved": "string",
|
|
517
|
+
"references": {}
|
|
518
|
+
},
|
|
519
|
+
"required": false,
|
|
520
|
+
"optional": false,
|
|
521
|
+
"docs": {
|
|
522
|
+
"tags": [],
|
|
523
|
+
"text": "Custom message for when data is loaded"
|
|
524
|
+
},
|
|
525
|
+
"attribute": "message-loading",
|
|
526
|
+
"reflect": false,
|
|
527
|
+
"defaultValue": "'Na\u010D\u00EDt\u00E1m...'"
|
|
528
|
+
},
|
|
529
|
+
"wcagDescribedBy": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"mutable": false,
|
|
532
|
+
"complexType": {
|
|
533
|
+
"original": "string",
|
|
534
|
+
"resolved": "string",
|
|
535
|
+
"references": {}
|
|
536
|
+
},
|
|
537
|
+
"required": false,
|
|
538
|
+
"optional": false,
|
|
539
|
+
"docs": {
|
|
540
|
+
"tags": [],
|
|
541
|
+
"text": "Indicates the id of a component that describes the input."
|
|
542
|
+
},
|
|
543
|
+
"attribute": "wcag-described-by",
|
|
544
|
+
"reflect": false
|
|
545
|
+
},
|
|
546
|
+
"wcagLabelledBy": {
|
|
547
|
+
"type": "string",
|
|
548
|
+
"mutable": false,
|
|
549
|
+
"complexType": {
|
|
550
|
+
"original": "string",
|
|
551
|
+
"resolved": "string",
|
|
552
|
+
"references": {}
|
|
553
|
+
},
|
|
554
|
+
"required": false,
|
|
555
|
+
"optional": false,
|
|
556
|
+
"docs": {
|
|
557
|
+
"tags": [],
|
|
558
|
+
"text": "Indicates the id of a component that labels the input."
|
|
559
|
+
},
|
|
560
|
+
"attribute": "wcag-labelled-by",
|
|
561
|
+
"reflect": false
|
|
562
|
+
},
|
|
563
|
+
"wcagOwns": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"mutable": false,
|
|
566
|
+
"complexType": {
|
|
567
|
+
"original": "string",
|
|
568
|
+
"resolved": "string",
|
|
569
|
+
"references": {}
|
|
570
|
+
},
|
|
571
|
+
"required": false,
|
|
572
|
+
"optional": false,
|
|
573
|
+
"docs": {
|
|
574
|
+
"tags": [],
|
|
575
|
+
"text": "Indicates the id of a component that describes the input."
|
|
576
|
+
},
|
|
577
|
+
"attribute": "wcag-owns",
|
|
578
|
+
"reflect": false
|
|
756
579
|
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
static get states() {
|
|
583
|
+
return {
|
|
584
|
+
"focused": {},
|
|
585
|
+
"valueState": {},
|
|
586
|
+
"selectedOptionsState": {},
|
|
587
|
+
"optionsState": {}
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
static get events() {
|
|
591
|
+
return [{
|
|
592
|
+
"method": "govFocus",
|
|
593
|
+
"name": "gov-focus",
|
|
594
|
+
"bubbles": true,
|
|
595
|
+
"cancelable": true,
|
|
596
|
+
"composed": true,
|
|
597
|
+
"docs": {
|
|
598
|
+
"tags": [],
|
|
599
|
+
"text": "Emitted when the select has focus."
|
|
600
|
+
},
|
|
601
|
+
"complexType": {
|
|
602
|
+
"original": "FormMultiselectEvent",
|
|
603
|
+
"resolved": "FormMultiselectEvent",
|
|
604
|
+
"references": {
|
|
605
|
+
"FormMultiselectEvent": {
|
|
606
|
+
"location": "import",
|
|
607
|
+
"path": "./gov-form-multi-select.types",
|
|
608
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}, {
|
|
613
|
+
"method": "govBlur",
|
|
614
|
+
"name": "gov-blur",
|
|
615
|
+
"bubbles": true,
|
|
616
|
+
"cancelable": true,
|
|
617
|
+
"composed": true,
|
|
618
|
+
"docs": {
|
|
619
|
+
"tags": [],
|
|
620
|
+
"text": "Emitted when the select loses focus."
|
|
621
|
+
},
|
|
622
|
+
"complexType": {
|
|
623
|
+
"original": "FormMultiselectEvent",
|
|
624
|
+
"resolved": "FormMultiselectEvent",
|
|
625
|
+
"references": {
|
|
626
|
+
"FormMultiselectEvent": {
|
|
627
|
+
"location": "import",
|
|
628
|
+
"path": "./gov-form-multi-select.types",
|
|
629
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}, {
|
|
634
|
+
"method": "govChange",
|
|
635
|
+
"name": "gov-change",
|
|
636
|
+
"bubbles": true,
|
|
637
|
+
"cancelable": true,
|
|
638
|
+
"composed": true,
|
|
639
|
+
"docs": {
|
|
640
|
+
"tags": [],
|
|
641
|
+
"text": "Emitted when the select change value."
|
|
642
|
+
},
|
|
643
|
+
"complexType": {
|
|
644
|
+
"original": "FormMultiselectEvent",
|
|
645
|
+
"resolved": "FormMultiselectEvent",
|
|
646
|
+
"references": {
|
|
647
|
+
"FormMultiselectEvent": {
|
|
648
|
+
"location": "import",
|
|
649
|
+
"path": "./gov-form-multi-select.types",
|
|
650
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}, {
|
|
655
|
+
"method": "govSelect",
|
|
656
|
+
"name": "gov-select",
|
|
657
|
+
"bubbles": true,
|
|
658
|
+
"cancelable": true,
|
|
659
|
+
"composed": true,
|
|
660
|
+
"docs": {
|
|
661
|
+
"tags": [],
|
|
662
|
+
"text": "Emitted when an item is selected"
|
|
663
|
+
},
|
|
664
|
+
"complexType": {
|
|
665
|
+
"original": "FormMultiselectEvent",
|
|
666
|
+
"resolved": "FormMultiselectEvent",
|
|
667
|
+
"references": {
|
|
668
|
+
"FormMultiselectEvent": {
|
|
669
|
+
"location": "import",
|
|
670
|
+
"path": "./gov-form-multi-select.types",
|
|
671
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
}, {
|
|
676
|
+
"method": "govRemove",
|
|
677
|
+
"name": "gov-remove",
|
|
678
|
+
"bubbles": true,
|
|
679
|
+
"cancelable": true,
|
|
680
|
+
"composed": true,
|
|
681
|
+
"docs": {
|
|
682
|
+
"tags": [],
|
|
683
|
+
"text": "Emitted when an item is removed"
|
|
684
|
+
},
|
|
685
|
+
"complexType": {
|
|
686
|
+
"original": "FormMultiselectEvent",
|
|
687
|
+
"resolved": "FormMultiselectEvent",
|
|
688
|
+
"references": {
|
|
689
|
+
"FormMultiselectEvent": {
|
|
690
|
+
"location": "import",
|
|
691
|
+
"path": "./gov-form-multi-select.types",
|
|
692
|
+
"id": "../../../packages/core/src/components/gov-form/multiselect/gov-form-multi-select.types.ts::FormMultiselectEvent"
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}];
|
|
697
|
+
}
|
|
698
|
+
static get methods() {
|
|
699
|
+
return {
|
|
700
|
+
"setFocus": {
|
|
701
|
+
"complexType": {
|
|
702
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
703
|
+
"parameters": [{
|
|
704
|
+
"name": "options",
|
|
705
|
+
"type": "FocusOptions",
|
|
706
|
+
"docs": ""
|
|
707
|
+
}],
|
|
708
|
+
"references": {
|
|
709
|
+
"Promise": {
|
|
710
|
+
"location": "global",
|
|
711
|
+
"id": "global::Promise"
|
|
712
|
+
},
|
|
713
|
+
"FocusOptions": {
|
|
714
|
+
"location": "global",
|
|
715
|
+
"id": "global::FocusOptions"
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"return": "Promise<void>"
|
|
719
|
+
},
|
|
720
|
+
"docs": {
|
|
721
|
+
"text": "Returns the current state of the component",
|
|
722
|
+
"tags": []
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"setValue": {
|
|
726
|
+
"complexType": {
|
|
727
|
+
"signature": "(value: string) => Promise<void>",
|
|
728
|
+
"parameters": [{
|
|
729
|
+
"name": "value",
|
|
730
|
+
"type": "string",
|
|
731
|
+
"docs": ""
|
|
732
|
+
}],
|
|
733
|
+
"references": {
|
|
734
|
+
"Promise": {
|
|
735
|
+
"location": "global",
|
|
736
|
+
"id": "global::Promise"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"return": "Promise<void>"
|
|
740
|
+
},
|
|
741
|
+
"docs": {
|
|
742
|
+
"text": "Sets the ordered value of the element",
|
|
743
|
+
"tags": []
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"getRef": {
|
|
747
|
+
"complexType": {
|
|
748
|
+
"signature": "() => Promise<HTMLSelectElement>",
|
|
749
|
+
"parameters": [],
|
|
750
|
+
"references": {
|
|
751
|
+
"Promise": {
|
|
752
|
+
"location": "global",
|
|
753
|
+
"id": "global::Promise"
|
|
754
|
+
},
|
|
755
|
+
"HTMLSelectElement": {
|
|
756
|
+
"location": "global",
|
|
757
|
+
"id": "global::HTMLSelectElement"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"return": "Promise<HTMLSelectElement>"
|
|
761
|
+
},
|
|
762
|
+
"docs": {
|
|
763
|
+
"text": "Returns an instance of the native html select element",
|
|
764
|
+
"tags": []
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"validateWcag": {
|
|
768
|
+
"complexType": {
|
|
769
|
+
"signature": "() => Promise<void>",
|
|
770
|
+
"parameters": [],
|
|
771
|
+
"references": {
|
|
772
|
+
"Promise": {
|
|
773
|
+
"location": "global",
|
|
774
|
+
"id": "global::Promise"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"return": "Promise<void>"
|
|
778
|
+
},
|
|
779
|
+
"docs": {
|
|
780
|
+
"text": "Validate the WCAG attributes of the component",
|
|
781
|
+
"tags": []
|
|
782
|
+
}
|
|
773
783
|
}
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
}, {
|
|
805
|
-
"propName": "success",
|
|
806
|
-
"methodName": "watchDisabled"
|
|
807
|
-
}, {
|
|
808
|
-
"propName": "size",
|
|
809
|
-
"methodName": "watchDisabled"
|
|
810
|
-
}];
|
|
811
|
-
}
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
static get elementRef() { return "host"; }
|
|
787
|
+
static get watchers() {
|
|
788
|
+
return [{
|
|
789
|
+
"propName": "variant",
|
|
790
|
+
"methodName": "validateVariant"
|
|
791
|
+
}, {
|
|
792
|
+
"propName": "size",
|
|
793
|
+
"methodName": "validateSize"
|
|
794
|
+
}, {
|
|
795
|
+
"propName": "options",
|
|
796
|
+
"methodName": "watchOptions"
|
|
797
|
+
}, {
|
|
798
|
+
"propName": "value",
|
|
799
|
+
"methodName": "watchValue"
|
|
800
|
+
}, {
|
|
801
|
+
"propName": "disabled",
|
|
802
|
+
"methodName": "watchDisabled"
|
|
803
|
+
}, {
|
|
804
|
+
"propName": "invalid",
|
|
805
|
+
"methodName": "watchDisabled"
|
|
806
|
+
}, {
|
|
807
|
+
"propName": "success",
|
|
808
|
+
"methodName": "watchDisabled"
|
|
809
|
+
}, {
|
|
810
|
+
"propName": "size",
|
|
811
|
+
"methodName": "watchDisabled"
|
|
812
|
+
}];
|
|
813
|
+
}
|
|
812
814
|
}
|
|
813
815
|
//# sourceMappingURL=gov-form-multi-select.js.map
|