@gov-design-system-ce/components 4.0.8-rc23 → 4.1.0-rc1
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/accessibility-c475826b.js +15 -0
- package/dist/cjs/accessibility-c475826b.js.map +1 -0
- package/dist/cjs/attribute-06dc5228.js +102 -0
- package/dist/cjs/attribute-06dc5228.js.map +1 -0
- package/dist/cjs/colors-976f6dff.js +20 -0
- package/dist/cjs/colors-976f6dff.js.map +1 -0
- package/dist/cjs/constants-43c0c51b.js +27 -0
- package/dist/cjs/constants-43c0c51b.js.map +1 -0
- package/dist/cjs/constants-441d1af4.js +27 -0
- package/dist/cjs/constants-441d1af4.js.map +1 -0
- package/dist/cjs/constants-47ba678b.js +18 -0
- package/dist/cjs/constants-47ba678b.js.map +1 -0
- package/dist/cjs/constants-5037cdc9.js +28 -0
- package/dist/cjs/constants-5037cdc9.js.map +1 -0
- package/dist/cjs/constants-861428a4.js +36 -0
- package/dist/cjs/constants-861428a4.js.map +1 -0
- package/dist/cjs/constants-bd0d66ac.js +17 -0
- package/dist/cjs/constants-bd0d66ac.js.map +1 -0
- package/dist/cjs/constants-e1bbb053.js +27 -0
- package/dist/cjs/constants-e1bbb053.js.map +1 -0
- package/dist/cjs/constants-e2807da6.js +36 -0
- package/dist/cjs/constants-e2807da6.js.map +1 -0
- package/dist/cjs/core.cjs.js +2 -2
- package/dist/cjs/form-c1aec07a.js +157 -0
- package/dist/cjs/form-c1aec07a.js.map +1 -0
- package/dist/cjs/gov-accordion-item.cjs.entry.js +26 -53
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +12 -35
- package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-app_2.cjs.entry.js +9891 -0
- package/dist/cjs/gov-app_2.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-attachments_3.cjs.entry.js +28 -33
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +22 -20
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +19 -22
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +41 -54
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +20 -60
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +47 -33
- package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +3 -7
- package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +13 -17
- package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +6 -11
- package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +108 -0
- package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-dropdown.cjs.entry.js +33 -29
- package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +20 -9
- package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +3 -9
- package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +26 -23
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +8 -8
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +33 -31
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +11 -15
- package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +32 -37
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +6 -10
- package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +284 -0
- package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-label.cjs.entry.js +2 -6
- package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +38 -46
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -6
- package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +8 -8
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +32 -32
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +8 -11
- package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +31 -44
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +33 -32
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +3 -7
- package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +3 -7
- package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +43 -18
- package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +40 -47
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +3 -7
- package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +3 -7
- package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +19 -7
- package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +18 -18
- package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +33 -37
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +6 -10
- package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +18 -47
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +12 -12
- package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +9 -10
- package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +45 -45
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +23 -21
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +13 -11
- package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +4 -12
- package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +38 -27
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +6 -10
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +17 -21
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +21 -44
- package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +16 -15
- package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
- package/dist/cjs/gov.log-1e8bab6e.js +21 -0
- package/dist/cjs/gov.log-1e8bab6e.js.map +1 -0
- package/dist/cjs/helpers-2ee3c9e6.js.map +1 -1
- package/dist/cjs/index-1af4880c.js +2029 -0
- package/dist/cjs/index-1af4880c.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/props-b8a955b2.js +16 -0
- package/dist/cjs/props-b8a955b2.js.map +1 -0
- package/dist/cjs/stencil.utils-182382ee.js +11 -0
- package/dist/cjs/stencil.utils-182382ee.js.map +1 -0
- package/dist/cjs/string.utils-2335838f.js +24 -0
- package/dist/cjs/string.utils-2335838f.js.map +1 -0
- package/dist/cjs/template-b070338f.js +133 -0
- package/dist/cjs/template-b070338f.js.map +1 -0
- package/dist/cjs/wcag-31089f70.js +56 -0
- package/dist/cjs/wcag-31089f70.js.map +1 -0
- package/dist/cjs/win-587f4614.js +40 -0
- package/dist/cjs/win-587f4614.js.map +1 -0
- package/dist/collection/collection-manifest.json +3 -9
- package/dist/collection/components/gov-accordion/constants.js +4 -6
- package/dist/collection/components/gov-accordion/constants.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +25 -117
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.js +6 -117
- package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
- package/dist/collection/components/gov-app/gov-app.css +68 -0
- package/dist/collection/components/gov-app/gov-app.js +93 -0
- package/dist/collection/components/gov-app/gov-app.js.map +1 -0
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +19 -202
- package/dist/collection/components/gov-attachments/gov-attachments-item.js +14 -14
- package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments.js +1 -11
- package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
- package/dist/collection/components/gov-backdrop/constants.js +1 -1
- package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +38 -26
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +20 -31
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-button/button/constants.js +9 -10
- package/dist/collection/components/gov-button/button/constants.js.map +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +53 -323
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +36 -39
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
- package/dist/collection/components/gov-card/constants.js +0 -1
- package/dist/collection/components/gov-card/constants.js.map +1 -1
- package/dist/collection/components/gov-card/gov-card.js +28 -152
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-chip/constants.js +8 -0
- package/dist/collection/components/gov-chip/constants.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +80 -138
- package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
- package/dist/collection/components/gov-container/gov-container.js +1 -11
- package/dist/collection/components/gov-container/gov-container.js.map +1 -1
- package/dist/collection/components/gov-control-group/constants.js +2 -2
- package/dist/collection/components/gov-control-group/constants.js.map +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +33 -25
- package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/constants.js +3 -4
- package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +2 -12
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
- package/dist/collection/components/gov-dialog/constants.js +12 -0
- package/dist/collection/components/gov-dialog/constants.js.map +1 -0
- package/dist/collection/components/gov-dialog/gov-dialog.js +318 -0
- package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -0
- package/dist/collection/components/gov-empty/constants.js +3 -2
- package/dist/collection/components/gov-empty/constants.js.map +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +41 -8
- package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
- package/dist/collection/components/gov-error-code/constants.js +0 -2
- package/dist/collection/components/gov-error-code/constants.js.map +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +1 -11
- package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/constants.js +1 -3
- package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +25 -101
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/constants.js +2 -1
- package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +48 -81
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.js +4 -14
- package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
- package/dist/collection/components/gov-form/file/constants.js +0 -3
- package/dist/collection/components/gov-form/file/constants.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +32 -89
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.css +38 -197
- package/dist/collection/components/gov-form/group/gov-form-group.js +1 -11
- 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 +1 -1
- package/dist/collection/components/gov-form/input/constants.js +1 -3
- package/dist/collection/components/gov-form/input/constants.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +45 -153
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-form/label/gov-form-label.js +1 -11
- package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
- package/dist/collection/components/gov-form/message/constants.js +4 -3
- package/dist/collection/components/gov-form/message/constants.js.map +1 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js +42 -27
- package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/constants.js +1 -3
- package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +31 -138
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -11
- 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 +1 -2
- package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +28 -81
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
- package/dist/collection/components/gov-form/search/constants.js +4 -4
- package/dist/collection/components/gov-form/search/constants.js.map +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.js +34 -19
- package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
- package/dist/collection/components/gov-form/select/constants.js +1 -3
- package/dist/collection/components/gov-form/select/constants.js.map +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +24 -171
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/switch/constants.js +1 -0
- package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +30 -82
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js +1 -11
- package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -11
- package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
- package/dist/collection/components/gov-icon/constants.js +15 -0
- package/dist/collection/components/gov-icon/constants.js.map +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +52 -23
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-icon/helpers.js.map +1 -1
- package/dist/collection/components/gov-infobar/constants.js +7 -4
- package/dist/collection/components/gov-infobar/constants.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +59 -106
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout-column.js +1 -11
- package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +1 -11
- package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/constants.js +3 -0
- package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +41 -9
- package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/constants.js +5 -5
- package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +61 -99
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
- package/dist/collection/components/gov-message/constants.js +7 -4
- package/dist/collection/components/gov-message/constants.js.map +1 -1
- package/dist/collection/components/gov-message/gov-message.js +39 -24
- package/dist/collection/components/gov-message/gov-message.js.map +1 -1
- package/dist/collection/components/gov-pagination/constants.js +2 -2
- package/dist/collection/components/gov-pagination/constants.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +40 -122
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -11
- package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
- package/dist/collection/components/gov-stepper/constants.js +5 -8
- package/dist/collection/components/gov-stepper/constants.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +20 -138
- package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +6 -12
- package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -1
- package/dist/collection/components/gov-tabs/constants.js +4 -2
- package/dist/collection/components/gov-tabs/constants.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +38 -12
- package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +80 -112
- 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 +8 -0
- package/dist/collection/components/gov-tag/constants.js.map +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +47 -52
- package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/constants.js +5 -0
- package/dist/collection/components/gov-theme-switch/constants.js.map +1 -0
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +82 -0
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -0
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js +7 -0
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js.map +1 -0
- package/dist/collection/components/gov-tile/constants.js +7 -4
- package/dist/collection/components/gov-tile/constants.js.map +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +5 -38
- package/dist/collection/components/gov-tile/container/gov-tiles.js.map +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +64 -12
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
- package/dist/collection/components/gov-toast/constants.js +7 -4
- package/dist/collection/components/gov-toast/constants.js.map +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +43 -35
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
- package/dist/collection/components/gov-tooltip/constants.js +2 -2
- package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +10 -20
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +17 -27
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- package/dist/collection/components/gov-wizard/constants.js +6 -8
- package/dist/collection/components/gov-wizard/constants.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +22 -108
- package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard.js +8 -14
- package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
- package/dist/collection/core/constants/colors.js +17 -0
- package/dist/collection/core/constants/colors.js.map +1 -0
- package/dist/collection/core/constants/tokens.js +15 -13
- package/dist/collection/core/constants/tokens.js.map +1 -1
- package/dist/collection/helpers/Accessibility/accessibility.js +10 -0
- package/dist/collection/helpers/Accessibility/accessibility.js.map +1 -0
- package/dist/collection/helpers/Accessibility/attributes.js +54 -0
- package/dist/collection/helpers/Accessibility/attributes.js.map +1 -0
- package/dist/collection/helpers/Dom/attribute.js +41 -0
- package/dist/collection/helpers/Dom/attribute.js.map +1 -0
- package/dist/collection/helpers/Dom/template.js +2 -1
- package/dist/collection/helpers/Dom/template.js.map +1 -1
- package/dist/collection/helpers/Log/gov.log.js +6 -6
- package/dist/collection/helpers/Log/gov.log.js.map +1 -1
- package/dist/collection/helpers/Validate/wcag.js +4 -3
- package/dist/collection/helpers/Validate/wcag.js.map +1 -1
- package/dist/collection/pages/Accordion.js +111 -50
- package/dist/collection/pages/Accordion.js.map +1 -1
- package/dist/collection/pages/Breadcrumbs.js +27 -2
- package/dist/collection/pages/Breadcrumbs.js.map +1 -1
- package/dist/collection/pages/Button.js +616 -530
- package/dist/collection/pages/Button.js.map +1 -1
- package/dist/collection/pages/Card.js +39 -66
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Chip.js +134 -253
- package/dist/collection/pages/Chip.js.map +1 -1
- package/dist/collection/pages/Container.js +6 -0
- package/dist/collection/pages/Container.js.map +1 -1
- package/dist/collection/pages/ControlGroup.js +53 -218
- package/dist/collection/pages/ControlGroup.js.map +1 -1
- package/dist/collection/pages/CookieConsent.js +29 -0
- package/dist/collection/pages/CookieConsent.js.map +1 -0
- package/dist/collection/pages/Dialog.js +56 -0
- package/dist/collection/pages/Dialog.js.map +1 -0
- package/dist/collection/pages/Empty.js +26 -31
- package/dist/collection/pages/Empty.js.map +1 -1
- package/dist/collection/pages/Error.js +7 -5
- package/dist/collection/pages/Error.js.map +1 -1
- package/dist/collection/pages/FormMessage.js +10 -10
- package/dist/collection/pages/FormMessage.js.map +1 -1
- package/dist/collection/pages/Forms.js +1953 -1527
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Home.js +40 -65
- package/dist/collection/pages/Home.js.map +1 -1
- package/dist/collection/pages/Icon.js +22 -0
- package/dist/collection/pages/Icon.js.map +1 -0
- package/dist/collection/pages/Infobar.js +83 -83
- package/dist/collection/pages/Infobar.js.map +1 -1
- package/dist/collection/pages/Layout.js +16 -16
- package/dist/collection/pages/Layout.js.map +1 -1
- package/dist/collection/pages/Loading.js +70 -80
- package/dist/collection/pages/Loading.js.map +1 -1
- package/dist/collection/pages/Message.js +43 -55
- package/dist/collection/pages/Message.js.map +1 -1
- package/dist/collection/pages/Pagination.js +6 -6
- package/dist/collection/pages/Pagination.js.map +1 -1
- package/dist/collection/pages/Stepper.js +45 -30
- package/dist/collection/pages/Stepper.js.map +1 -1
- package/dist/collection/pages/Tabs.js +261 -19
- package/dist/collection/pages/Tabs.js.map +1 -1
- package/dist/collection/pages/Tag.js +47 -127
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/collection/pages/Tiles.js +319 -110
- package/dist/collection/pages/Tiles.js.map +1 -1
- package/dist/collection/pages/ToastMessage.js +5 -5
- package/dist/collection/pages/ToastMessage.js.map +1 -1
- package/dist/collection/pages/ToastMessageCountdown.js +5 -5
- package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
- package/dist/collection/pages/Tooltip.js +8 -8
- package/dist/collection/pages/Tooltip.js.map +1 -1
- package/dist/collection/pages/Wizard.js +38 -20
- package/dist/collection/pages/Wizard.js.map +1 -1
- package/dist/collection/utils/stencil.utils.js +2 -2
- package/dist/collection/utils/stencil.utils.js.map +1 -1
- package/dist/collection/utils/string.utils.js +1 -1
- package/dist/collection/utils/string.utils.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion-item.js.map +1 -1
- package/dist/components/gov-accordion.js +1 -1
- package/dist/components/gov-accordion.js.map +1 -1
- package/dist/components/gov-app.d.ts +11 -0
- package/dist/components/gov-app.js +2 -0
- package/dist/components/gov-app.js.map +1 -0
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-container.js.map +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-control-group.js.map +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-cookiebar.js.map +1 -1
- package/dist/components/gov-dialog.d.ts +11 -0
- package/dist/components/gov-dialog.js +2 -0
- package/dist/components/gov-dialog.js.map +1 -0
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-dropdown.js.map +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-empty.js.map +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/gov-form-checkbox.js.map +1 -1
- 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.js +1 -1
- package/dist/components/gov-form-file.js.map +1 -1
- 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.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/gov-form-password-power.js.map +1 -1
- 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.js +1 -1
- package/dist/components/gov-form-radio.js.map +1 -1
- 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.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-form-switch.js.map +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid-item.js.map +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-grid.js.map +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-infobar.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout-column.js.map +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-layout.js.map +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-message.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-pagination.js.map +1 -1
- package/dist/components/gov-skeleton.js +1 -1
- package/dist/components/gov-skeleton.js.map +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-spacer.js.map +1 -1
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper-item.js.map +1 -1
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-stepper.js.map +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs-item.js.map +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tabs.js.map +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-tag.js.map +1 -1
- package/dist/components/gov-theme-switch.d.ts +11 -0
- package/dist/components/gov-theme-switch.js +2 -0
- package/dist/components/gov-theme-switch.js.map +1 -0
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.js +1 -1
- package/dist/components/gov-tiles.js.map +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-toast.js.map +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip-content.js.map +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard-item.js.map +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/gov-wizard.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-0075138f.js +2 -0
- package/dist/components/p-0075138f.js.map +1 -0
- package/dist/components/p-016bbea6.js.map +1 -1
- package/dist/components/p-08621bdf.js +2 -0
- package/dist/components/p-08621bdf.js.map +1 -0
- package/dist/components/p-0c93dd39.js +2 -0
- package/dist/components/p-0c93dd39.js.map +1 -0
- package/dist/components/p-1366ed8d.js +2 -0
- package/dist/components/p-1366ed8d.js.map +1 -0
- package/dist/components/p-19c681a3.js +2 -0
- package/dist/components/p-1a0b3b4f.js +2 -0
- package/dist/components/p-1a0b3b4f.js.map +1 -0
- package/dist/components/p-255d0471.js +2 -0
- package/dist/components/p-255d0471.js.map +1 -0
- package/dist/components/p-26618322.js +2 -0
- package/dist/components/p-26618322.js.map +1 -0
- package/dist/components/p-2aedc81e.js +2 -0
- package/dist/components/p-2aedc81e.js.map +1 -0
- package/dist/components/p-33d5d1ed.js +2 -0
- package/dist/components/p-33d5d1ed.js.map +1 -0
- package/dist/components/p-565120d5.js +2 -0
- package/dist/components/p-565120d5.js.map +1 -0
- package/dist/components/p-59737af9.js +2 -0
- package/dist/components/p-59737af9.js.map +1 -0
- package/dist/components/p-6e19816b.js +2 -0
- package/dist/components/p-6e19816b.js.map +1 -0
- package/dist/components/p-736e4917.js +2 -0
- package/dist/components/p-736e4917.js.map +1 -0
- package/dist/components/p-7501abe8.js +2 -0
- package/dist/components/p-7501abe8.js.map +1 -0
- package/dist/components/p-778e3fff.js +2 -0
- package/dist/components/p-778e3fff.js.map +1 -0
- package/dist/components/p-7f8a24a7.js +2 -0
- package/dist/components/p-7f8a24a7.js.map +1 -0
- package/dist/components/p-7fd16831.js +2 -0
- package/dist/components/p-7fd16831.js.map +1 -0
- package/dist/components/p-95d41a3b.js +2 -0
- package/dist/components/p-95d41a3b.js.map +1 -0
- package/dist/components/p-9a93146e.js +2 -0
- package/dist/components/p-9a93146e.js.map +1 -0
- package/dist/components/p-ae3dada7.js +3 -0
- package/dist/components/p-ae3dada7.js.map +1 -0
- package/dist/components/p-ae7e6127.js +2 -0
- package/dist/components/p-ae7e6127.js.map +1 -0
- package/dist/components/p-cc90a508.js +2 -0
- package/dist/components/p-cc90a508.js.map +1 -0
- package/dist/components/p-d4509899.js +2 -0
- package/dist/components/p-d4509899.js.map +1 -0
- package/dist/components/p-d5f25595.js +2 -0
- package/dist/components/p-d5f25595.js.map +1 -0
- package/dist/components/p-dbae2385.js +2 -0
- package/dist/components/p-dbae2385.js.map +1 -0
- package/dist/components/p-dcaf0383.js +2 -0
- package/dist/components/p-dcaf0383.js.map +1 -0
- package/dist/components/p-ded281e6.js +2 -0
- package/dist/components/p-ded281e6.js.map +1 -0
- package/dist/components/p-e183a7c7.js +2 -0
- package/dist/components/p-e183a7c7.js.map +1 -0
- package/dist/components/p-e3aeaca0.js +2 -0
- package/dist/components/p-e3aeaca0.js.map +1 -0
- package/dist/components/p-edd1417b.js +2 -0
- package/dist/components/p-edd1417b.js.map +1 -0
- package/dist/core/core.css +11473 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-006e52f1.entry.js +2 -0
- package/dist/core/p-006e52f1.entry.js.map +1 -0
- package/dist/core/p-0075138f.js +2 -0
- package/dist/core/p-0075138f.js.map +1 -0
- package/dist/core/p-016bbea6.js.map +1 -1
- package/dist/core/p-023787b3.entry.js +2 -0
- package/dist/core/p-023787b3.entry.js.map +1 -0
- package/dist/core/p-052cc573.js +2 -0
- package/dist/core/p-0a952b3c.entry.js +2 -0
- package/dist/core/p-0a952b3c.entry.js.map +1 -0
- package/dist/core/p-0ebc8365.entry.js +2 -0
- package/dist/core/p-0ebc8365.entry.js.map +1 -0
- package/dist/core/p-169b67af.js +2 -0
- package/dist/core/p-17015e36.entry.js +2 -0
- package/dist/core/p-17015e36.entry.js.map +1 -0
- package/dist/core/p-182189d2.entry.js +2 -0
- package/dist/core/p-182189d2.entry.js.map +1 -0
- package/dist/core/p-2614044c.js +2 -0
- package/dist/core/p-26618322.js +2 -0
- package/dist/core/p-26618322.js.map +1 -0
- package/dist/core/p-28a7d3f7.js +2 -0
- package/dist/core/p-28a7d3f7.js.map +1 -0
- package/dist/core/p-2ed3afef.entry.js +2 -0
- package/dist/core/p-2ed3afef.entry.js.map +1 -0
- package/dist/core/p-2effdd60.entry.js +2 -0
- package/dist/core/p-2effdd60.entry.js.map +1 -0
- package/dist/core/p-35e66bef.entry.js +2 -0
- package/dist/core/p-35e66bef.entry.js.map +1 -0
- package/dist/core/p-3f2b803c.entry.js +2 -0
- package/dist/core/p-3f2b803c.entry.js.map +1 -0
- package/dist/core/p-42d9924c.js +2 -0
- package/dist/core/p-42d9924c.js.map +1 -0
- package/dist/core/p-45a30859.js +2 -0
- package/dist/core/p-477a5027.entry.js +2 -0
- package/dist/core/p-477a5027.entry.js.map +1 -0
- package/dist/core/p-47e364bb.entry.js +2 -0
- package/dist/core/p-47e364bb.entry.js.map +1 -0
- package/dist/core/p-4bce896c.js +2 -0
- package/dist/core/p-4bce896c.js.map +1 -0
- package/dist/core/p-5c88f415.entry.js +2 -0
- package/dist/core/p-5c88f415.entry.js.map +1 -0
- package/dist/core/p-5dc0af54.entry.js +2 -0
- package/dist/core/p-5dc0af54.entry.js.map +1 -0
- package/dist/core/p-5dcbfca3.entry.js +2 -0
- package/dist/core/p-5dcbfca3.entry.js.map +1 -0
- package/dist/core/p-60658ae9.js +2 -0
- package/dist/core/p-60658ae9.js.map +1 -0
- package/dist/core/p-663d3db2.entry.js +2 -0
- package/dist/core/p-663d3db2.entry.js.map +1 -0
- package/dist/core/p-69d56f17.js +2 -0
- package/dist/core/p-69d56f17.js.map +1 -0
- package/dist/core/p-6aa40794.js +2 -0
- package/dist/core/p-6aa40794.js.map +1 -0
- package/dist/core/p-6b42a387.entry.js +2 -0
- package/dist/core/p-6b42a387.entry.js.map +1 -0
- package/dist/core/p-6d772ff9.entry.js +2 -0
- package/dist/core/p-6d772ff9.entry.js.map +1 -0
- package/dist/core/p-6ed147a6.entry.js +2 -0
- package/dist/core/p-6ed147a6.entry.js.map +1 -0
- package/dist/core/p-7cf554e6.entry.js +2 -0
- package/dist/core/p-7cf554e6.entry.js.map +1 -0
- package/dist/core/p-81b0848c.entry.js +2 -0
- package/dist/core/p-81b0848c.entry.js.map +1 -0
- package/dist/core/p-83039b10.entry.js +2 -0
- package/dist/core/p-83039b10.entry.js.map +1 -0
- package/dist/core/p-904de5e6.entry.js +2 -0
- package/dist/core/p-904de5e6.entry.js.map +1 -0
- package/dist/core/p-91a9cd24.entry.js +2 -0
- package/dist/core/p-91a9cd24.entry.js.map +1 -0
- package/dist/core/p-95d41a3b.js +2 -0
- package/dist/core/p-95d41a3b.js.map +1 -0
- package/dist/core/p-963f9fcd.entry.js +2 -0
- package/dist/core/p-963f9fcd.entry.js.map +1 -0
- package/dist/core/p-9ac55bd1.js +2 -0
- package/dist/core/p-9ac55bd1.js.map +1 -0
- package/dist/core/p-9b41ac88.entry.js +2 -0
- package/dist/core/p-9b41ac88.entry.js.map +1 -0
- package/dist/core/p-9d0f20ec.entry.js +2 -0
- package/dist/core/p-9d0f20ec.entry.js.map +1 -0
- package/dist/core/p-9dde00d8.entry.js +2 -0
- package/dist/core/p-9dde00d8.entry.js.map +1 -0
- package/dist/core/p-9ff8f059.entry.js +2 -0
- package/dist/core/p-9ff8f059.entry.js.map +1 -0
- package/dist/core/p-a16229c6.entry.js +2 -0
- package/dist/core/p-a16229c6.entry.js.map +1 -0
- package/dist/core/p-a1e95a5f.js +3 -0
- package/dist/core/p-a1e95a5f.js.map +1 -0
- package/dist/core/p-a1ebb4da.entry.js +2 -0
- package/dist/core/p-a1ebb4da.entry.js.map +1 -0
- package/dist/core/p-a21dc94f.js +2 -0
- package/dist/core/p-a21dc94f.js.map +1 -0
- package/dist/core/p-a53a277a.entry.js +2 -0
- package/dist/core/p-a53a277a.entry.js.map +1 -0
- package/dist/core/p-a5489b0e.entry.js +2 -0
- package/dist/core/p-a5489b0e.entry.js.map +1 -0
- package/dist/core/p-a54f1db9.entry.js +2 -0
- package/dist/core/p-a54f1db9.entry.js.map +1 -0
- package/dist/core/p-a693ffbf.js +2 -0
- package/dist/core/p-a693ffbf.js.map +1 -0
- package/dist/core/p-aa8adc45.entry.js +2 -0
- package/dist/core/p-aa8adc45.entry.js.map +1 -0
- package/dist/core/p-ab9ae7ba.entry.js +2 -0
- package/dist/core/p-ab9ae7ba.entry.js.map +1 -0
- package/dist/core/p-b3acb156.entry.js +2 -0
- package/dist/core/p-b3acb156.entry.js.map +1 -0
- package/dist/core/p-b48a4aa0.js +2 -0
- package/dist/core/p-b48a4aa0.js.map +1 -0
- package/dist/core/p-b55fc943.entry.js +2 -0
- package/dist/core/p-b55fc943.entry.js.map +1 -0
- package/dist/core/p-b838bb27.entry.js +2 -0
- package/dist/core/p-b838bb27.entry.js.map +1 -0
- package/dist/core/p-c214c202.entry.js +2 -0
- package/dist/core/p-c214c202.entry.js.map +1 -0
- package/dist/core/p-c4c7cb24.entry.js +2 -0
- package/dist/core/p-c4c7cb24.entry.js.map +1 -0
- package/dist/core/p-c990d746.js +2 -0
- package/dist/core/p-c990d746.js.map +1 -0
- package/dist/core/p-d2351924.entry.js +2 -0
- package/dist/core/p-d2351924.entry.js.map +1 -0
- package/dist/core/p-d9a299a4.js +2 -0
- package/dist/core/p-d9a299a4.js.map +1 -0
- package/dist/core/p-db940455.entry.js +2 -0
- package/dist/core/p-db940455.entry.js.map +1 -0
- package/dist/core/p-dc3fab19.entry.js +2 -0
- package/dist/core/p-dc3fab19.entry.js.map +1 -0
- package/dist/core/p-e0d428c9.js +2 -0
- package/dist/core/p-e0d428c9.js.map +1 -0
- package/dist/core/p-e134b123.entry.js +2 -0
- package/dist/core/p-e134b123.entry.js.map +1 -0
- package/dist/core/p-e3aeaca0.js +2 -0
- package/dist/core/p-e3aeaca0.js.map +1 -0
- package/dist/core/p-e4978aab.entry.js +2 -0
- package/dist/core/p-e4978aab.entry.js.map +1 -0
- package/dist/core/p-e9a6cd71.js +2 -0
- package/dist/core/p-e9a6cd71.js.map +1 -0
- package/dist/core/p-edc05eff.entry.js +2 -0
- package/dist/core/p-edc05eff.entry.js.map +1 -0
- package/dist/core/p-eeb9cb73.entry.js +2 -0
- package/dist/core/p-eeb9cb73.entry.js.map +1 -0
- package/dist/core/p-f141ad5e.entry.js +2 -0
- package/dist/core/p-f141ad5e.entry.js.map +1 -0
- package/dist/core/p-f1be099b.entry.js +2 -0
- package/dist/core/p-f1be099b.entry.js.map +1 -0
- package/dist/core/p-f456bd71.entry.js +2 -0
- package/dist/core/p-f456bd71.entry.js.map +1 -0
- package/dist/core/p-fa7caad6.entry.js +2 -0
- package/dist/core/p-fa7caad6.entry.js.map +1 -0
- package/dist/core/p-fc90bf06.entry.js +2 -0
- package/dist/core/p-fc90bf06.entry.js.map +1 -0
- package/dist/esm/accessibility-f83c991a.js +13 -0
- package/dist/esm/accessibility-f83c991a.js.map +1 -0
- package/dist/esm/attribute-5561aca4.js +98 -0
- package/dist/esm/attribute-5561aca4.js.map +1 -0
- package/dist/esm/colors-02c1ea96.js +20 -0
- package/dist/esm/colors-02c1ea96.js.map +1 -0
- package/dist/esm/constants-47e20524.js +31 -0
- package/dist/esm/constants-47e20524.js.map +1 -0
- package/dist/esm/constants-48177684.js +23 -0
- package/dist/esm/constants-48177684.js.map +1 -0
- package/dist/esm/constants-501eb756.js +22 -0
- package/dist/esm/constants-501eb756.js.map +1 -0
- package/dist/esm/constants-6d727976.js +15 -0
- package/dist/esm/constants-6d727976.js.map +1 -0
- package/dist/esm/constants-7307438d.js +14 -0
- package/dist/esm/constants-7307438d.js.map +1 -0
- package/dist/esm/constants-990365f1.js +22 -0
- package/dist/esm/constants-990365f1.js.map +1 -0
- package/dist/esm/constants-c716fa44.js +32 -0
- package/dist/esm/constants-c716fa44.js.map +1 -0
- package/dist/esm/constants-d42abf99.js +12 -0
- package/dist/esm/constants-d42abf99.js.map +1 -0
- package/dist/esm/constants-d6418889.js +23 -0
- package/dist/esm/constants-d6418889.js.map +1 -0
- package/dist/esm/constants-f4e4ede6.js +22 -0
- package/dist/esm/constants-f4e4ede6.js.map +1 -0
- package/dist/esm/core.js +3 -3
- package/dist/esm/form-472e078d.js +142 -0
- package/dist/esm/form-472e078d.js.map +1 -0
- package/dist/esm/gov-accordion-item.entry.js +27 -54
- package/dist/esm/gov-accordion-item.entry.js.map +1 -1
- package/dist/esm/gov-accordion.entry.js +12 -35
- package/dist/esm/gov-accordion.entry.js.map +1 -1
- package/dist/esm/gov-app_2.entry.js +9886 -0
- package/dist/esm/gov-app_2.entry.js.map +1 -0
- package/dist/esm/gov-attachments_3.entry.js +29 -34
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +22 -20
- package/dist/esm/gov-backdrop.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +19 -22
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +42 -55
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +21 -61
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +47 -33
- package/dist/esm/gov-chip.entry.js.map +1 -1
- package/dist/esm/gov-container.entry.js +3 -7
- package/dist/esm/gov-container.entry.js.map +1 -1
- package/dist/esm/gov-control-group.entry.js +14 -18
- package/dist/esm/gov-control-group.entry.js.map +1 -1
- package/dist/esm/gov-cookiebar.entry.js +6 -11
- package/dist/esm/gov-cookiebar.entry.js.map +1 -1
- package/dist/esm/gov-dialog.entry.js +104 -0
- package/dist/esm/gov-dialog.entry.js.map +1 -0
- package/dist/esm/gov-dropdown.entry.js +34 -30
- package/dist/esm/gov-dropdown.entry.js.map +1 -1
- package/dist/esm/gov-empty.entry.js +20 -9
- package/dist/esm/gov-empty.entry.js.map +1 -1
- package/dist/esm/gov-error-code.entry.js +3 -9
- package/dist/esm/gov-error-code.entry.js.map +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +27 -24
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +10 -10
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +34 -32
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
- package/dist/esm/gov-form-control.entry.js +13 -17
- package/dist/esm/gov-form-control.entry.js.map +1 -1
- package/dist/esm/gov-form-file.entry.js +33 -38
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +8 -12
- package/dist/esm/gov-form-group.entry.js.map +1 -1
- package/dist/esm/gov-form-input_2.entry.js +279 -0
- package/dist/esm/gov-form-input_2.entry.js.map +1 -0
- package/dist/esm/gov-form-label.entry.js +4 -8
- package/dist/esm/gov-form-label.entry.js.map +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +39 -47
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-password-power.entry.js +2 -6
- package/dist/esm/gov-form-password-power.entry.js.map +1 -1
- package/dist/esm/gov-form-radio-group.entry.js +10 -10
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +33 -33
- package/dist/esm/gov-form-radio.entry.js.map +1 -1
- package/dist/esm/gov-form-search.entry.js +9 -12
- package/dist/esm/gov-form-search.entry.js.map +1 -1
- package/dist/esm/gov-form-select.entry.js +32 -45
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +34 -33
- package/dist/esm/gov-form-switch.entry.js.map +1 -1
- package/dist/esm/gov-grid-item.entry.js +3 -7
- package/dist/esm/gov-grid-item.entry.js.map +1 -1
- package/dist/esm/gov-grid.entry.js +3 -7
- package/dist/esm/gov-grid.entry.js.map +1 -1
- package/dist/esm/gov-icon.entry.js +43 -18
- package/dist/esm/gov-icon.entry.js.map +1 -1
- package/dist/esm/gov-infobar.entry.js +41 -48
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- package/dist/esm/gov-layout-column.entry.js +3 -7
- package/dist/esm/gov-layout-column.entry.js.map +1 -1
- package/dist/esm/gov-layout.entry.js +3 -7
- package/dist/esm/gov-layout.entry.js.map +1 -1
- package/dist/esm/gov-loading.entry.js +19 -7
- package/dist/esm/gov-loading.entry.js.map +1 -1
- package/dist/esm/gov-message.entry.js +19 -19
- package/dist/esm/gov-message.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +34 -38
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +7 -11
- package/dist/esm/gov-spacer.entry.js.map +1 -1
- package/dist/esm/gov-stepper-item.entry.js +19 -48
- package/dist/esm/gov-stepper-item.entry.js.map +1 -1
- package/dist/esm/gov-stepper.entry.js +13 -13
- package/dist/esm/gov-stepper.entry.js.map +1 -1
- package/dist/esm/gov-tabs-item.entry.js +10 -11
- package/dist/esm/gov-tabs-item.entry.js.map +1 -1
- package/dist/esm/gov-tabs.entry.js +45 -45
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/gov-tag.entry.js +23 -21
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-tile.entry.js +13 -11
- package/dist/esm/gov-tile.entry.js.map +1 -1
- package/dist/esm/gov-tiles.entry.js +4 -12
- package/dist/esm/gov-tiles.entry.js.map +1 -1
- package/dist/esm/gov-toast.entry.js +39 -28
- package/dist/esm/gov-toast.entry.js.map +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +7 -11
- package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.entry.js +18 -22
- package/dist/esm/gov-tooltip.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +22 -45
- package/dist/esm/gov-wizard-item.entry.js.map +1 -1
- package/dist/esm/gov-wizard.entry.js +17 -16
- package/dist/esm/gov-wizard.entry.js.map +1 -1
- package/dist/esm/gov.log-6e9faad2.js +19 -0
- package/dist/esm/gov.log-6e9faad2.js.map +1 -0
- package/dist/esm/helpers-5d179d4b.js.map +1 -1
- package/dist/esm/index-d8b4eb6c.js +1997 -0
- package/dist/esm/index-d8b4eb6c.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/props-c82e1abf.js +14 -0
- package/dist/esm/props-c82e1abf.js.map +1 -0
- package/dist/esm/stencil.utils-f3c6c68d.js +9 -0
- package/dist/esm/stencil.utils-f3c6c68d.js.map +1 -0
- package/dist/esm/string.utils-5ce3f551.js +20 -0
- package/dist/esm/string.utils-5ce3f551.js.map +1 -0
- package/dist/esm/template-3d84d705.js +124 -0
- package/dist/esm/template-3d84d705.js.map +1 -0
- package/dist/esm/utils-2b4ef320.js +35 -0
- package/dist/esm/utils-2b4ef320.js.map +1 -0
- package/dist/esm/wcag-fa5ce56c.js +52 -0
- package/dist/esm/wcag-fa5ce56c.js.map +1 -0
- package/dist/esm/win-cec370ad.js +31 -0
- package/dist/esm/win-cec370ad.js.map +1 -0
- package/dist/hydrate/index.js +11208 -2009
- package/dist/hydrate/index.mjs +11208 -2009
- package/dist/stencil.config.js +2 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-accordion/constants.d.ts +4 -7
- package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +6 -22
- package/dist/types/components/gov-accordion/gov-accordion.d.ts +3 -19
- package/dist/types/components/gov-app/gov-app.d.ts +37 -0
- package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +4 -4
- package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +8 -4
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +5 -5
- package/dist/types/components/gov-button/button/constants.d.ts +5 -6
- package/dist/types/components/gov-button/button/gov-button.d.ts +13 -70
- package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +5 -4
- package/dist/types/components/gov-card/constants.d.ts +0 -1
- package/dist/types/components/gov-card/gov-card.d.ts +9 -27
- package/dist/types/components/gov-chip/constants.d.ts +8 -0
- package/dist/types/components/gov-chip/gov-chip.d.ts +18 -29
- package/dist/types/components/gov-control-group/constants.d.ts +3 -3
- package/dist/types/components/gov-control-group/gov-control-group.d.ts +7 -3
- package/dist/types/components/gov-cookiebar/constants.d.ts +1 -2
- package/dist/types/components/gov-dialog/constants.d.ts +11 -0
- package/dist/types/components/gov-dialog/gov-dialog.d.ts +67 -0
- package/dist/types/components/gov-empty/constants.d.ts +4 -2
- package/dist/types/components/gov-empty/gov-empty.d.ts +7 -0
- package/dist/types/components/gov-error-code/constants.d.ts +0 -2
- package/dist/types/components/gov-form/autocomplete/constants.d.ts +1 -4
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +7 -19
- package/dist/types/components/gov-form/checkbox/constants.d.ts +2 -1
- package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +11 -13
- package/dist/types/components/gov-form/file/constants.d.ts +0 -3
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +10 -15
- package/dist/types/components/gov-form/input/constants.d.ts +1 -4
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +13 -29
- package/dist/types/components/gov-form/message/constants.d.ts +6 -4
- package/dist/types/components/gov-form/message/gov-form-message.d.ts +8 -4
- package/dist/types/components/gov-form/multiselect/constants.d.ts +1 -4
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +7 -23
- package/dist/types/components/gov-form/radio/constants.d.ts +1 -2
- package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +7 -12
- package/dist/types/components/gov-form/search/constants.d.ts +6 -5
- package/dist/types/components/gov-form/search/gov-form-search.d.ts +6 -2
- package/dist/types/components/gov-form/select/constants.d.ts +1 -4
- package/dist/types/components/gov-form/select/gov-form-select.d.ts +7 -30
- package/dist/types/components/gov-form/switch/constants.d.ts +1 -0
- package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +7 -14
- package/dist/types/components/gov-icon/constants.d.ts +3 -0
- package/dist/types/components/gov-icon/gov-icon.d.ts +9 -3
- package/dist/types/components/gov-icon/helpers.d.ts +3 -2
- package/dist/types/components/gov-infobar/constants.d.ts +8 -5
- package/dist/types/components/gov-infobar/gov-infobar.d.ts +14 -16
- package/dist/types/components/gov-loading/loading/constants.d.ts +4 -0
- package/dist/types/components/gov-loading/loading/gov-loading.d.ts +7 -0
- package/dist/types/components/gov-loading/skeleton/constants.d.ts +7 -6
- package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +13 -15
- package/dist/types/components/gov-message/constants.d.ts +8 -5
- package/dist/types/components/gov-message/gov-message.d.ts +7 -3
- package/dist/types/components/gov-pagination/constants.d.ts +3 -3
- package/dist/types/components/gov-pagination/gov-pagination.d.ts +11 -22
- package/dist/types/components/gov-spacer/constants.d.ts +1 -1
- package/dist/types/components/gov-stepper/constants.d.ts +6 -9
- package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +5 -22
- package/dist/types/components/gov-stepper/gov-stepper.d.ts +2 -0
- package/dist/types/components/gov-tabs/constants.d.ts +6 -3
- package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +8 -0
- package/dist/types/components/gov-tabs/gov-tabs.d.ts +19 -24
- package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +5 -0
- package/dist/types/components/gov-tag/constants.d.ts +9 -0
- package/dist/types/components/gov-tag/gov-tag.d.ts +9 -8
- package/dist/types/components/gov-theme-switch/constants.d.ts +4 -0
- package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +18 -0
- package/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
- package/dist/types/components/gov-tile/constants.d.ts +8 -4
- package/dist/types/components/gov-tile/container/gov-tiles.d.ts +1 -6
- package/dist/types/components/gov-tile/gov-tile.d.ts +13 -0
- package/dist/types/components/gov-toast/constants.d.ts +8 -6
- package/dist/types/components/gov-toast/gov-toast.d.ts +10 -5
- package/dist/types/components/gov-tooltip/constants.d.ts +3 -3
- package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +2 -2
- package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +3 -3
- package/dist/types/components/gov-wizard/constants.d.ts +7 -9
- package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +5 -17
- package/dist/types/components/gov-wizard/gov-wizard.d.ts +2 -0
- package/dist/types/components.d.ts +671 -1513
- package/dist/types/core/constants/colors.d.ts +15 -0
- package/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
- package/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
- package/dist/types/helpers/Dom/attribute.d.ts +13 -0
- package/dist/types/helpers/Log/gov.log.d.ts +3 -3
- package/dist/types/helpers/Validate/wcag.d.ts +1 -1
- package/dist/types/pages/CookieConsent.d.ts +3 -0
- package/dist/types/pages/Dialog.d.ts +3 -0
- package/dist/types/pages/Icon.d.ts +3 -0
- package/dist/types/utils/string.utils.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/constants-11f3de8f.js +0 -28
- package/dist/cjs/constants-11f3de8f.js.map +0 -1
- package/dist/cjs/constants-1b3eeb21.js +0 -20
- package/dist/cjs/constants-1b3eeb21.js.map +0 -1
- package/dist/cjs/constants-29b9825f.js +0 -33
- package/dist/cjs/constants-29b9825f.js.map +0 -1
- package/dist/cjs/constants-2f0a11e5.js +0 -30
- package/dist/cjs/constants-2f0a11e5.js.map +0 -1
- package/dist/cjs/constants-4fefc173.js +0 -37
- package/dist/cjs/constants-4fefc173.js.map +0 -1
- package/dist/cjs/constants-7a5540d0.js +0 -26
- package/dist/cjs/constants-7a5540d0.js.map +0 -1
- package/dist/cjs/constants-8f194b53.js +0 -30
- package/dist/cjs/constants-8f194b53.js.map +0 -1
- package/dist/cjs/constants-b7813ab1.js +0 -16
- package/dist/cjs/constants-b7813ab1.js.map +0 -1
- package/dist/cjs/constants-b8a9f758.js +0 -22
- package/dist/cjs/constants-b8a9f758.js.map +0 -1
- package/dist/cjs/constants-d5fe1cee.js +0 -29
- package/dist/cjs/constants-d5fe1cee.js.map +0 -1
- package/dist/cjs/constants-fb915aae.js +0 -21
- package/dist/cjs/constants-fb915aae.js.map +0 -1
- package/dist/cjs/constants-fdc5268a.js +0 -15
- package/dist/cjs/constants-fdc5268a.js.map +0 -1
- package/dist/cjs/form-f93c3a0a.js +0 -163
- package/dist/cjs/form-f93c3a0a.js.map +0 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +0 -199
- package/dist/cjs/gov-form-input.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +0 -47
- package/dist/cjs/gov-lifecycle.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-modal.cjs.entry.js +0 -112
- package/dist/cjs/gov-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-nav-item.cjs.entry.js +0 -40
- package/dist/cjs/gov-nav-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-nav.cjs.entry.js +0 -43
- package/dist/cjs/gov-nav.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-prompt.cjs.entry.js +0 -107
- package/dist/cjs/gov-prompt.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-side-nav-item.cjs.entry.js +0 -88
- package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-side-nav.cjs.entry.js +0 -57
- package/dist/cjs/gov-side-nav.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-skeleton.cjs.entry.js +0 -118
- package/dist/cjs/gov-skeleton.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-statsbar-item.cjs.entry.js +0 -41
- package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-statsbar.cjs.entry.js +0 -54
- package/dist/cjs/gov-statsbar.cjs.entry.js.map +0 -1
- package/dist/cjs/gov.log-8887c6bc.js +0 -28
- package/dist/cjs/gov.log-8887c6bc.js.map +0 -1
- package/dist/cjs/index-f53beed1.js +0 -2053
- package/dist/cjs/index-f53beed1.js.map +0 -1
- package/dist/cjs/props-edd0d46f.js +0 -16
- package/dist/cjs/props-edd0d46f.js.map +0 -1
- package/dist/cjs/stencil.utils-07182a8a.js +0 -11
- package/dist/cjs/stencil.utils-07182a8a.js.map +0 -1
- package/dist/cjs/string.utils-b84c81cf.js +0 -25
- package/dist/cjs/string.utils-b84c81cf.js.map +0 -1
- package/dist/cjs/template-431f0737.js +0 -132
- package/dist/cjs/template-431f0737.js.map +0 -1
- package/dist/cjs/variants-85b514ea.js +0 -18
- package/dist/cjs/variants-85b514ea.js.map +0 -1
- package/dist/cjs/wcag-0dfd29b6.js +0 -67
- package/dist/cjs/wcag-0dfd29b6.js.map +0 -1
- package/dist/cjs/win-03714165.js +0 -39
- package/dist/cjs/win-03714165.js.map +0 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.css +0 -524
- package/dist/collection/components/gov-accordion/gov-accordion.css +0 -240
- package/dist/collection/components/gov-attachments/gov-attachments.css +0 -247
- package/dist/collection/components/gov-backdrop/gov-backdrop.css +0 -246
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +0 -321
- package/dist/collection/components/gov-button/button/gov-button.css +0 -1154
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +0 -264
- package/dist/collection/components/gov-card/gov-card.css +0 -377
- package/dist/collection/components/gov-chip/gov-chip.css +0 -1251
- package/dist/collection/components/gov-container/gov-container.css +0 -247
- package/dist/collection/components/gov-control-group/gov-control-group.css +0 -280
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +0 -289
- package/dist/collection/components/gov-empty/gov-empty.css +0 -255
- package/dist/collection/components/gov-error-code/gov-error-code.css +0 -270
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +0 -290
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +0 -402
- package/dist/collection/components/gov-form/control/gov-form-control.css +0 -291
- package/dist/collection/components/gov-form/file/gov-form-file.css +0 -301
- package/dist/collection/components/gov-form/input/gov-form-input.css +0 -523
- package/dist/collection/components/gov-form/label/gov-form-label.css +0 -252
- package/dist/collection/components/gov-form/message/gov-form-message.css +0 -262
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +0 -640
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +0 -275
- package/dist/collection/components/gov-form/radio/gov-form-radio.css +0 -401
- package/dist/collection/components/gov-form/search/gov-form-search.css +0 -274
- package/dist/collection/components/gov-form/select/gov-form-select.css +0 -598
- package/dist/collection/components/gov-form/switch/gov-form-switch.css +0 -440
- package/dist/collection/components/gov-grid/gov-grid-item.css +0 -437
- package/dist/collection/components/gov-grid/gov-grid.css +0 -256
- package/dist/collection/components/gov-icon/gov-icon.css +0 -250
- package/dist/collection/components/gov-infobar/gov-infobar.css +0 -388
- package/dist/collection/components/gov-layout/gov-layout-column.css +0 -237
- package/dist/collection/components/gov-layout/gov-layout.css +0 -282
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +0 -39
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +0 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.css +0 -261
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +0 -300
- package/dist/collection/components/gov-message/gov-message.css +0 -319
- package/dist/collection/components/gov-modal/constants.js +0 -15
- package/dist/collection/components/gov-modal/constants.js.map +0 -1
- package/dist/collection/components/gov-modal/gov-modal.css +0 -345
- package/dist/collection/components/gov-modal/gov-modal.js +0 -396
- package/dist/collection/components/gov-modal/gov-modal.js.map +0 -1
- package/dist/collection/components/gov-nav/constants.js +0 -9
- package/dist/collection/components/gov-nav/constants.js.map +0 -1
- package/dist/collection/components/gov-nav/gov-nav-item.css +0 -288
- package/dist/collection/components/gov-nav/gov-nav-item.js +0 -68
- package/dist/collection/components/gov-nav/gov-nav-item.js.map +0 -1
- package/dist/collection/components/gov-nav/gov-nav.css +0 -254
- package/dist/collection/components/gov-nav/gov-nav.js +0 -98
- package/dist/collection/components/gov-nav/gov-nav.js.map +0 -1
- package/dist/collection/components/gov-pagination/gov-pagination.css +0 -394
- package/dist/collection/components/gov-promp/constants.js +0 -13
- package/dist/collection/components/gov-promp/constants.js.map +0 -1
- package/dist/collection/components/gov-promp/gov-prompt.css +0 -348
- package/dist/collection/components/gov-promp/gov-prompt.js +0 -337
- package/dist/collection/components/gov-promp/gov-prompt.js.map +0 -1
- package/dist/collection/components/gov-side-nav/constants.js +0 -16
- package/dist/collection/components/gov-side-nav/constants.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +0 -384
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +0 -2
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +0 -336
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav.css +0 -237
- package/dist/collection/components/gov-side-nav/gov-side-nav.js +0 -171
- package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +0 -1
- package/dist/collection/components/gov-spacer/gov-spacer.css +0 -302
- package/dist/collection/components/gov-statsbar/constants.js +0 -18
- package/dist/collection/components/gov-statsbar/constants.js.map +0 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +0 -296
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +0 -66
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +0 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar.css +0 -281
- package/dist/collection/components/gov-statsbar/gov-statsbar.js +0 -104
- package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +0 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.css +0 -467
- package/dist/collection/components/gov-stepper/gov-stepper.css +0 -237
- package/dist/collection/components/gov-tabs/gov-tabs-item.css +0 -238
- package/dist/collection/components/gov-tabs/gov-tabs.css +0 -392
- package/dist/collection/components/gov-tag/gov-tag.css +0 -1164
- package/dist/collection/components/gov-tile/container/gov-tiles.css +0 -319
- package/dist/collection/components/gov-tile/gov-tile.css +0 -314
- package/dist/collection/components/gov-toast/gov-toast.css +0 -403
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +0 -348
- package/dist/collection/components/gov-tooltip/gov-tooltip.css +0 -241
- package/dist/collection/components/gov-wizard/gov-wizard-item.css +0 -474
- package/dist/collection/components/gov-wizard/gov-wizard.css +0 -240
- package/dist/collection/core/constants/variants.js +0 -15
- package/dist/collection/core/constants/variants.js.map +0 -1
- package/dist/collection/pages/Cookiebar.js +0 -29
- package/dist/collection/pages/Cookiebar.js.map +0 -1
- package/dist/collection/pages/Modal.js +0 -57
- package/dist/collection/pages/Modal.js.map +0 -1
- package/dist/collection/pages/Nav.js +0 -30
- package/dist/collection/pages/Nav.js.map +0 -1
- package/dist/collection/pages/Prompt.js +0 -48
- package/dist/collection/pages/Prompt.js.map +0 -1
- package/dist/collection/pages/SideNav.js +0 -117
- package/dist/collection/pages/SideNav.js.map +0 -1
- package/dist/collection/pages/Statsbar.js +0 -202
- package/dist/collection/pages/Statsbar.js.map +0 -1
- package/dist/components/gov-lifecycle.d.ts +0 -11
- package/dist/components/gov-lifecycle.js +0 -2
- package/dist/components/gov-lifecycle.js.map +0 -1
- package/dist/components/gov-modal.d.ts +0 -11
- package/dist/components/gov-modal.js +0 -2
- package/dist/components/gov-modal.js.map +0 -1
- package/dist/components/gov-nav-item.d.ts +0 -11
- package/dist/components/gov-nav-item.js +0 -2
- package/dist/components/gov-nav-item.js.map +0 -1
- package/dist/components/gov-nav.d.ts +0 -11
- package/dist/components/gov-nav.js +0 -2
- package/dist/components/gov-nav.js.map +0 -1
- package/dist/components/gov-prompt.d.ts +0 -11
- package/dist/components/gov-prompt.js +0 -2
- package/dist/components/gov-prompt.js.map +0 -1
- package/dist/components/gov-side-nav-item.d.ts +0 -11
- package/dist/components/gov-side-nav-item.js +0 -2
- package/dist/components/gov-side-nav-item.js.map +0 -1
- package/dist/components/gov-side-nav.d.ts +0 -11
- package/dist/components/gov-side-nav.js +0 -2
- package/dist/components/gov-side-nav.js.map +0 -1
- package/dist/components/gov-statsbar-item.d.ts +0 -11
- package/dist/components/gov-statsbar-item.js +0 -2
- package/dist/components/gov-statsbar-item.js.map +0 -1
- package/dist/components/gov-statsbar.d.ts +0 -11
- package/dist/components/gov-statsbar.js +0 -2
- package/dist/components/gov-statsbar.js.map +0 -1
- package/dist/components/p-0134b442.js +0 -2
- package/dist/components/p-0134b442.js.map +0 -1
- package/dist/components/p-016118d2.js +0 -2
- package/dist/components/p-016118d2.js.map +0 -1
- package/dist/components/p-03dbb8b1.js +0 -2
- package/dist/components/p-03dbb8b1.js.map +0 -1
- package/dist/components/p-11418445.js +0 -2
- package/dist/components/p-11418445.js.map +0 -1
- package/dist/components/p-145d1fa3.js +0 -2
- package/dist/components/p-145d1fa3.js.map +0 -1
- package/dist/components/p-20fd8011.js +0 -2
- package/dist/components/p-20fd8011.js.map +0 -1
- package/dist/components/p-240c302e.js +0 -2
- package/dist/components/p-240c302e.js.map +0 -1
- package/dist/components/p-2594e525.js +0 -2
- package/dist/components/p-2594e525.js.map +0 -1
- package/dist/components/p-2f537b87.js +0 -2
- package/dist/components/p-2f537b87.js.map +0 -1
- package/dist/components/p-344c72d7.js +0 -2
- package/dist/components/p-3983d290.js +0 -2
- package/dist/components/p-3983d290.js.map +0 -1
- package/dist/components/p-3f704a40.js +0 -2
- package/dist/components/p-3f704a40.js.map +0 -1
- package/dist/components/p-4faa3ba6.js +0 -2
- package/dist/components/p-4faa3ba6.js.map +0 -1
- package/dist/components/p-5262b9ce.js +0 -3
- package/dist/components/p-5262b9ce.js.map +0 -1
- package/dist/components/p-71cec4ef.js +0 -2
- package/dist/components/p-71cec4ef.js.map +0 -1
- package/dist/components/p-74915621.js +0 -2
- package/dist/components/p-74915621.js.map +0 -1
- package/dist/components/p-77a6e3be.js +0 -2
- package/dist/components/p-77a6e3be.js.map +0 -1
- package/dist/components/p-77cdc056.js +0 -2
- package/dist/components/p-77cdc056.js.map +0 -1
- package/dist/components/p-8cf6d23c.js +0 -2
- package/dist/components/p-8cf6d23c.js.map +0 -1
- package/dist/components/p-8dfac7d7.js +0 -2
- package/dist/components/p-8dfac7d7.js.map +0 -1
- package/dist/components/p-9370b15f.js +0 -2
- package/dist/components/p-9370b15f.js.map +0 -1
- package/dist/components/p-94dd1649.js +0 -2
- package/dist/components/p-94dd1649.js.map +0 -1
- package/dist/components/p-9d5a8ed9.js +0 -2
- package/dist/components/p-9d5a8ed9.js.map +0 -1
- package/dist/components/p-b6dd95ba.js +0 -2
- package/dist/components/p-b6dd95ba.js.map +0 -1
- package/dist/components/p-cd6c2938.js +0 -2
- package/dist/components/p-cd6c2938.js.map +0 -1
- package/dist/components/p-ce45c786.js +0 -2
- package/dist/components/p-ce45c786.js.map +0 -1
- package/dist/components/p-d0288df5.js +0 -2
- package/dist/components/p-d0288df5.js.map +0 -1
- package/dist/components/p-d0fe3cd8.js +0 -2
- package/dist/components/p-d0fe3cd8.js.map +0 -1
- package/dist/components/p-d687df8f.js +0 -2
- package/dist/components/p-d687df8f.js.map +0 -1
- package/dist/components/p-e296ca83.js +0 -2
- package/dist/components/p-e296ca83.js.map +0 -1
- package/dist/components/p-e618f1cb.js +0 -2
- package/dist/components/p-e618f1cb.js.map +0 -1
- package/dist/components/p-f0d542f2.js +0 -2
- package/dist/components/p-f0d542f2.js.map +0 -1
- package/dist/core/p-0134b442.js +0 -2
- package/dist/core/p-0134b442.js.map +0 -1
- package/dist/core/p-03dbb8b1.js +0 -2
- package/dist/core/p-03dbb8b1.js.map +0 -1
- package/dist/core/p-06e9e93b.entry.js +0 -2
- package/dist/core/p-06e9e93b.entry.js.map +0 -1
- package/dist/core/p-092b0437.entry.js +0 -2
- package/dist/core/p-092b0437.entry.js.map +0 -1
- package/dist/core/p-1011ca26.entry.js +0 -2
- package/dist/core/p-1011ca26.entry.js.map +0 -1
- package/dist/core/p-107a6a5c.entry.js +0 -2
- package/dist/core/p-107a6a5c.entry.js.map +0 -1
- package/dist/core/p-114a4d0b.entry.js +0 -2
- package/dist/core/p-114a4d0b.entry.js.map +0 -1
- package/dist/core/p-13520b30.entry.js +0 -2
- package/dist/core/p-13520b30.entry.js.map +0 -1
- package/dist/core/p-13ced376.entry.js +0 -2
- package/dist/core/p-13ced376.entry.js.map +0 -1
- package/dist/core/p-1b3143a8.entry.js +0 -2
- package/dist/core/p-1b3143a8.entry.js.map +0 -1
- package/dist/core/p-1bdc04bb.entry.js +0 -2
- package/dist/core/p-1bdc04bb.entry.js.map +0 -1
- package/dist/core/p-208c99c8.entry.js +0 -2
- package/dist/core/p-208c99c8.entry.js.map +0 -1
- package/dist/core/p-20ae3168.entry.js +0 -2
- package/dist/core/p-20ae3168.entry.js.map +0 -1
- package/dist/core/p-20fd8011.js +0 -2
- package/dist/core/p-20fd8011.js.map +0 -1
- package/dist/core/p-2186fcd5.entry.js +0 -2
- package/dist/core/p-2186fcd5.entry.js.map +0 -1
- package/dist/core/p-240659bb.js +0 -3
- package/dist/core/p-240659bb.js.map +0 -1
- package/dist/core/p-240c302e.js +0 -2
- package/dist/core/p-240c302e.js.map +0 -1
- package/dist/core/p-2c3697cf.entry.js +0 -2
- package/dist/core/p-2c3697cf.entry.js.map +0 -1
- package/dist/core/p-2e881577.entry.js +0 -2
- package/dist/core/p-2e881577.entry.js.map +0 -1
- package/dist/core/p-3309aed9.entry.js +0 -2
- package/dist/core/p-3309aed9.entry.js.map +0 -1
- package/dist/core/p-344c72d7.js +0 -2
- package/dist/core/p-348165e2.entry.js +0 -2
- package/dist/core/p-348165e2.entry.js.map +0 -1
- package/dist/core/p-34d7c203.entry.js +0 -2
- package/dist/core/p-34d7c203.entry.js.map +0 -1
- package/dist/core/p-3832de64.entry.js +0 -2
- package/dist/core/p-3832de64.entry.js.map +0 -1
- package/dist/core/p-3983d290.js +0 -2
- package/dist/core/p-3983d290.js.map +0 -1
- package/dist/core/p-3b8fb675.entry.js +0 -2
- package/dist/core/p-3b8fb675.entry.js.map +0 -1
- package/dist/core/p-3ccab2ba.entry.js +0 -2
- package/dist/core/p-3ccab2ba.entry.js.map +0 -1
- package/dist/core/p-3e041d63.entry.js +0 -2
- package/dist/core/p-3e041d63.entry.js.map +0 -1
- package/dist/core/p-3f0dd8fa.js +0 -2
- package/dist/core/p-3f0dd8fa.js.map +0 -1
- package/dist/core/p-4191acf2.js +0 -2
- package/dist/core/p-4191acf2.js.map +0 -1
- package/dist/core/p-45b869ae.js +0 -2
- package/dist/core/p-45b869ae.js.map +0 -1
- package/dist/core/p-4694b4b6.entry.js +0 -2
- package/dist/core/p-4694b4b6.entry.js.map +0 -1
- package/dist/core/p-4700508c.entry.js +0 -2
- package/dist/core/p-4700508c.entry.js.map +0 -1
- package/dist/core/p-489f5c82.entry.js +0 -2
- package/dist/core/p-489f5c82.entry.js.map +0 -1
- package/dist/core/p-4ed064db.entry.js +0 -2
- package/dist/core/p-4ed064db.entry.js.map +0 -1
- package/dist/core/p-4f77a766.entry.js +0 -2
- package/dist/core/p-4f77a766.entry.js.map +0 -1
- package/dist/core/p-4faa3ba6.js +0 -2
- package/dist/core/p-4faa3ba6.js.map +0 -1
- package/dist/core/p-551c9f44.entry.js +0 -2
- package/dist/core/p-551c9f44.entry.js.map +0 -1
- package/dist/core/p-55abc7bc.entry.js +0 -2
- package/dist/core/p-55abc7bc.entry.js.map +0 -1
- package/dist/core/p-55cd3fee.entry.js +0 -2
- package/dist/core/p-55cd3fee.entry.js.map +0 -1
- package/dist/core/p-5c3a0b02.entry.js +0 -2
- package/dist/core/p-5c3a0b02.entry.js.map +0 -1
- package/dist/core/p-64353313.entry.js +0 -2
- package/dist/core/p-64353313.entry.js.map +0 -1
- package/dist/core/p-6789b9d0.entry.js +0 -2
- package/dist/core/p-6789b9d0.entry.js.map +0 -1
- package/dist/core/p-6a82c6a1.entry.js +0 -2
- package/dist/core/p-6a82c6a1.entry.js.map +0 -1
- package/dist/core/p-6c33492a.entry.js +0 -2
- package/dist/core/p-6c33492a.entry.js.map +0 -1
- package/dist/core/p-6d894ec7.entry.js +0 -2
- package/dist/core/p-6d894ec7.entry.js.map +0 -1
- package/dist/core/p-6dfde487.entry.js +0 -2
- package/dist/core/p-6dfde487.entry.js.map +0 -1
- package/dist/core/p-74233183.entry.js +0 -2
- package/dist/core/p-74233183.entry.js.map +0 -1
- package/dist/core/p-77892071.entry.js +0 -2
- package/dist/core/p-77892071.entry.js.map +0 -1
- package/dist/core/p-7a896683.entry.js +0 -2
- package/dist/core/p-7a896683.entry.js.map +0 -1
- package/dist/core/p-7ba4ae8d.entry.js +0 -2
- package/dist/core/p-7ba4ae8d.entry.js.map +0 -1
- package/dist/core/p-7ba4daf4.js +0 -2
- package/dist/core/p-7d011c4b.entry.js +0 -2
- package/dist/core/p-7d011c4b.entry.js.map +0 -1
- package/dist/core/p-7e43f440.entry.js +0 -2
- package/dist/core/p-7e43f440.entry.js.map +0 -1
- package/dist/core/p-802909c5.entry.js +0 -2
- package/dist/core/p-802909c5.entry.js.map +0 -1
- package/dist/core/p-810f0d0c.entry.js +0 -2
- package/dist/core/p-810f0d0c.entry.js.map +0 -1
- package/dist/core/p-828e8bce.entry.js +0 -2
- package/dist/core/p-828e8bce.entry.js.map +0 -1
- package/dist/core/p-87b7b469.entry.js +0 -2
- package/dist/core/p-87b7b469.entry.js.map +0 -1
- package/dist/core/p-8dfac7d7.js +0 -2
- package/dist/core/p-8dfac7d7.js.map +0 -1
- package/dist/core/p-8fb45e7c.entry.js +0 -2
- package/dist/core/p-8fb45e7c.entry.js.map +0 -1
- package/dist/core/p-94dd1649.js +0 -2
- package/dist/core/p-94dd1649.js.map +0 -1
- package/dist/core/p-a3cff495.entry.js +0 -2
- package/dist/core/p-a3cff495.entry.js.map +0 -1
- package/dist/core/p-ab9aff3c.js +0 -2
- package/dist/core/p-ab9aff3c.js.map +0 -1
- package/dist/core/p-ae4321ea.entry.js +0 -2
- package/dist/core/p-ae4321ea.entry.js.map +0 -1
- package/dist/core/p-b2b254b6.entry.js +0 -2
- package/dist/core/p-b2b254b6.entry.js.map +0 -1
- package/dist/core/p-bcdf6cfc.entry.js +0 -2
- package/dist/core/p-bcdf6cfc.entry.js.map +0 -1
- package/dist/core/p-c98fe646.js +0 -2
- package/dist/core/p-c98fe646.js.map +0 -1
- package/dist/core/p-cc83b8cb.entry.js +0 -2
- package/dist/core/p-cc83b8cb.entry.js.map +0 -1
- package/dist/core/p-cd6c2938.js +0 -2
- package/dist/core/p-cd6c2938.js.map +0 -1
- package/dist/core/p-cdaeb7d8.entry.js +0 -2
- package/dist/core/p-cdaeb7d8.entry.js.map +0 -1
- package/dist/core/p-ce45c786.js +0 -2
- package/dist/core/p-ce45c786.js.map +0 -1
- package/dist/core/p-d0288df5.js +0 -2
- package/dist/core/p-d0288df5.js.map +0 -1
- package/dist/core/p-d4b50bcd.entry.js +0 -2
- package/dist/core/p-d4b50bcd.entry.js.map +0 -1
- package/dist/core/p-d4f2d6f9.entry.js +0 -2
- package/dist/core/p-d4f2d6f9.entry.js.map +0 -1
- package/dist/core/p-e0e2e9c1.js +0 -2
- package/dist/core/p-e296ca83.js +0 -2
- package/dist/core/p-e296ca83.js.map +0 -1
- package/dist/core/p-e44a0fee.js +0 -2
- package/dist/core/p-e618f1cb.js +0 -2
- package/dist/core/p-e618f1cb.js.map +0 -1
- package/dist/core/p-e9bcadf1.entry.js +0 -2
- package/dist/core/p-e9bcadf1.entry.js.map +0 -1
- package/dist/core/p-f0d542f2.js +0 -2
- package/dist/core/p-f0d542f2.js.map +0 -1
- package/dist/core/p-f16f9116.entry.js +0 -2
- package/dist/core/p-f16f9116.entry.js.map +0 -1
- package/dist/core/p-f2edcca7.entry.js +0 -2
- package/dist/core/p-f2edcca7.entry.js.map +0 -1
- package/dist/core/p-f6a98765.entry.js +0 -2
- package/dist/core/p-f6a98765.entry.js.map +0 -1
- package/dist/core/p-f9de3c09.entry.js +0 -2
- package/dist/core/p-f9de3c09.entry.js.map +0 -1
- package/dist/core/p-fdead70e.js +0 -2
- package/dist/core/p-fdead70e.js.map +0 -1
- package/dist/core/p-fe8bd4cf.entry.js +0 -2
- package/dist/core/p-fe8bd4cf.entry.js.map +0 -1
- package/dist/esm/constants-0014bc7f.js +0 -24
- package/dist/esm/constants-0014bc7f.js.map +0 -1
- package/dist/esm/constants-122ac484.js +0 -25
- package/dist/esm/constants-122ac484.js.map +0 -1
- package/dist/esm/constants-14f351fd.js +0 -23
- package/dist/esm/constants-14f351fd.js.map +0 -1
- package/dist/esm/constants-1998bac1.js +0 -19
- package/dist/esm/constants-1998bac1.js.map +0 -1
- package/dist/esm/constants-43f10674.js +0 -12
- package/dist/esm/constants-43f10674.js.map +0 -1
- package/dist/esm/constants-4da2b3c0.js +0 -22
- package/dist/esm/constants-4da2b3c0.js.map +0 -1
- package/dist/esm/constants-66db9786.js +0 -25
- package/dist/esm/constants-66db9786.js.map +0 -1
- package/dist/esm/constants-78d0d7ff.js +0 -13
- package/dist/esm/constants-78d0d7ff.js.map +0 -1
- package/dist/esm/constants-a2828485.js +0 -12
- package/dist/esm/constants-a2828485.js.map +0 -1
- package/dist/esm/constants-a5fadb10.js +0 -29
- package/dist/esm/constants-a5fadb10.js.map +0 -1
- package/dist/esm/constants-f63d2d63.js +0 -18
- package/dist/esm/constants-f63d2d63.js.map +0 -1
- package/dist/esm/constants-f6ecfd4e.js +0 -33
- package/dist/esm/constants-f6ecfd4e.js.map +0 -1
- package/dist/esm/constants-f98e7750.js +0 -22
- package/dist/esm/constants-f98e7750.js.map +0 -1
- package/dist/esm/constants-ff234810.js +0 -17
- package/dist/esm/constants-ff234810.js.map +0 -1
- package/dist/esm/form-738c5b12.js +0 -145
- package/dist/esm/form-738c5b12.js.map +0 -1
- package/dist/esm/gov-form-input.entry.js +0 -195
- package/dist/esm/gov-form-input.entry.js.map +0 -1
- package/dist/esm/gov-lifecycle.entry.js +0 -43
- package/dist/esm/gov-lifecycle.entry.js.map +0 -1
- package/dist/esm/gov-modal.entry.js +0 -108
- package/dist/esm/gov-modal.entry.js.map +0 -1
- package/dist/esm/gov-nav-item.entry.js +0 -36
- package/dist/esm/gov-nav-item.entry.js.map +0 -1
- package/dist/esm/gov-nav.entry.js +0 -39
- package/dist/esm/gov-nav.entry.js.map +0 -1
- package/dist/esm/gov-prompt.entry.js +0 -103
- package/dist/esm/gov-prompt.entry.js.map +0 -1
- package/dist/esm/gov-side-nav-item.entry.js +0 -84
- package/dist/esm/gov-side-nav-item.entry.js.map +0 -1
- package/dist/esm/gov-side-nav.entry.js +0 -53
- package/dist/esm/gov-side-nav.entry.js.map +0 -1
- package/dist/esm/gov-skeleton.entry.js +0 -114
- package/dist/esm/gov-skeleton.entry.js.map +0 -1
- package/dist/esm/gov-statsbar-item.entry.js +0 -37
- package/dist/esm/gov-statsbar-item.entry.js.map +0 -1
- package/dist/esm/gov-statsbar.entry.js +0 -50
- package/dist/esm/gov-statsbar.entry.js.map +0 -1
- package/dist/esm/gov.log-431da6b2.js +0 -25
- package/dist/esm/gov.log-431da6b2.js.map +0 -1
- package/dist/esm/index-c5251f2b.js +0 -2022
- package/dist/esm/index-c5251f2b.js.map +0 -1
- package/dist/esm/props-ec3beb91.js +0 -14
- package/dist/esm/props-ec3beb91.js.map +0 -1
- package/dist/esm/stencil.utils-5d8e3d11.js +0 -9
- package/dist/esm/stencil.utils-5d8e3d11.js.map +0 -1
- package/dist/esm/string.utils-1da8f8fb.js +0 -20
- package/dist/esm/string.utils-1da8f8fb.js.map +0 -1
- package/dist/esm/template-94812ab3.js +0 -123
- package/dist/esm/template-94812ab3.js.map +0 -1
- package/dist/esm/utils-e10e994d.js +0 -35
- package/dist/esm/utils-e10e994d.js.map +0 -1
- package/dist/esm/variants-69f013c1.js +0 -18
- package/dist/esm/variants-69f013c1.js.map +0 -1
- package/dist/esm/wcag-169f758a.js +0 -62
- package/dist/esm/wcag-169f758a.js.map +0 -1
- package/dist/esm/win-b64cd8a6.js +0 -31
- package/dist/esm/win-b64cd8a6.js.map +0 -1
- package/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +0 -14
- package/dist/types/components/gov-modal/constants.d.ts +0 -14
- package/dist/types/components/gov-modal/gov-modal.d.ts +0 -78
- package/dist/types/components/gov-nav/constants.d.ts +0 -8
- package/dist/types/components/gov-nav/gov-nav-item.d.ts +0 -12
- package/dist/types/components/gov-nav/gov-nav.d.ts +0 -17
- package/dist/types/components/gov-promp/constants.d.ts +0 -12
- package/dist/types/components/gov-promp/gov-prompt.d.ts +0 -66
- package/dist/types/components/gov-side-nav/constants.d.ts +0 -15
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +0 -4
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +0 -67
- package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +0 -32
- package/dist/types/components/gov-statsbar/constants.d.ts +0 -18
- package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +0 -14
- package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +0 -19
- package/dist/types/core/constants/variants.d.ts +0 -12
- package/dist/types/pages/Cookiebar.d.ts +0 -3
- package/dist/types/pages/Modal.d.ts +0 -3
- package/dist/types/pages/Nav.d.ts +0 -3
- package/dist/types/pages/Prompt.d.ts +0 -3
- package/dist/types/pages/SideNav.d.ts +0 -3
- package/dist/types/pages/Statsbar.d.ts +0 -3
- /package/dist/components/{p-344c72d7.js.map → p-19c681a3.js.map} +0 -0
- /package/dist/core/{p-e44a0fee.js.map → p-052cc573.js.map} +0 -0
- /package/dist/core/{p-344c72d7.js.map → p-169b67af.js.map} +0 -0
- /package/dist/core/{p-7ba4daf4.js.map → p-2614044c.js.map} +0 -0
- /package/dist/core/{p-e0e2e9c1.js.map → p-45a30859.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["WizardColors","pick","Colors","WizardSizes","Sizes","WizardClass","root","WizardItemClass","header","prefix","label","headline","chevron","content"],"sources":["../../../packages/core/src/components/gov-wizard/constants.ts"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const WizardColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type WizardColorType = `${ValueOf<typeof WizardColors>}`\n\nexport const WizardSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type WizardSizesType = `${ValueOf<typeof WizardSizes>}`\n\nexport const WizardClass = {\n\troot: 'gov-wizard',\n}\n\nexport const WizardItemClass = {\n\troot: 'gov-wizard-item',\n\theader: 'gov-wizard-item__header',\n\tprefix: 'gov-wizard-item__prefix',\n\tlabel: 'gov-wizard-item__label',\n\theadline: 'gov-wizard-item__headline',\n\tchevron: 'gov-wizard-item__chevron',\n\tcontent: 'gov-wizard-item__content',\n}\n"],"mappings":"kHAKaA,EAAeC,EAAKC,EAAQ,CAAC,UAAW,UAAW,UAAW,QAAS,Y,MAGvEC,EAAcF,EAAKG,EAAO,CAAC,KAAM,KAAM,O,MAGvCC,EAAc,CAC1BC,KAAM,c,MAGMC,EAAkB,CAC9BD,KAAM,kBACNE,OAAQ,0BACRC,OAAQ,0BACRC,MAAO,yBACPC,SAAU,4BACVC,QAAS,2BACTC,QAAS,mC","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as t,H as e,c as i,h as s,d as a}from"./p-ae3dada7.js";import{v as n}from"./p-19c681a3.js";import{B as o,a as h,b as r,N as d}from"./p-08621bdf.js";import{g as c,t as l}from"./p-0075138f.js";import{S as f}from"./p-92f420cb.js";import{a as u}from"./p-9a93146e.js";import{d as p}from"./p-7501abe8.js";import{d as b}from"./p-e0e2e9c1.js";import{A as m,a as v,i as y}from"./p-33d5d1ed.js";import{d as g}from"./p-d5f25595.js";function k(t){if(typeof t==="string"){return["true","True","TRUE","1"].indexOf(t)!==-1}else if(typeof t==="number"){return t>0}else if(typeof t==="boolean"){return t}else{return t?true:false}}var j;(function(t){t["A"]="a";t["BUTTON"]="button"})(j||(j={}));const T=t(class t extends e{constructor(){super();this.__registerHost();this.govClick=i(this,"gov-click",7);this.govFocus=i(this,"gov-focus",7);this.govBlur=i(this,"gov-blur",7);this.hydrated=false;this.color=undefined;this.size="m";this.type=undefined;this.expanded=false;this.name=undefined;this.disabled=false;this.nativeType="button";this.href=undefined;this.target=undefined;this.download=undefined;this.hreflang=undefined;this.referrerpolicy=undefined;this.rel=undefined;this.loading=undefined;this.focusable=true;this.identifier=undefined;this.inheritedAttributes={};this.h=c(this.host)}validateColor(t){n(h,t,o.root)}validateType(t){n(r,t,o.root)}validateSize(t){n(f,t,o.root)}validateNativeType(t){n(d,t,o.root)}componentDidLoad(){this.attributeObserver=new m(this.host,((t,e)=>{this.onAriaAttributeChange(t,e)}));this.attributeObserver.startObserving(v)}onAriaAttributeChange(t,e){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:e})}disconnectedCallback(){this.attributeObserver.stopObserving()}componentWillLoad(){this.validateColor(this.color);this.validateType(this.type);this.validateSize(this.size);this.validateNativeType(this.nativeType);this.inheritedAttributes=y(this.host)}async componentDidRender(){if(p()){await b(500);await this.validateAccessibility()}}connectedCallback(){this.hydrated=true}render(){const t=this.href?j.A:j.BUTTON;const e=t===j.A?undefined:this.nativeType;return s(a,{key:"2bb50646642155813d3b424d93abe66e402980fc",size:this.size,hydrated:this.hydrated,color:this.color,class:this.h.classes(o.root),type:this.type},s(t,Object.assign({key:"9eb0aef9aad90c4d8b36c98713f8b4368ec3ea60",class:"element",ref:t=>this.triggerRef=t,onClick:this.onClickHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),disabled:this.disabled,id:this.identifier,href:this.href,target:this.target,download:this.download,hreflang:this.hreflang,rel:this.rel,name:this.name,type:e,tabindex:this.disabled?"-1":"0"},this.inheritedAttributes,{"aria-disabled":l(this.disabled)}),k(this.loading)&&!this.h.hasSlot("right-icon")&&s("gov-icon",{key:"32e8ad524e440068871b84a7cfe0a297d729cdb1",name:"loader",class:"gov-spin-animation"}),this.h.hasSlot("left-icon")&&s("slot",{key:"9cb9034730ff04ec4ecb17c7ab75618368074b5c",name:"left-icon"}),s("slot",{key:"ba5a094a07caa393510f956f5797b73f4811d0a9"}),this.h.hasSlot("right-icon")&&s("slot",{key:"4b62acb8f9c327c21ccd500688a1e0effa7bbfa8",name:"right-icon"}),k(this.loading)&&this.h.hasSlot("right-icon")&&s("gov-icon",{key:"25f567c70ee5e4a89c37747fa17df87d9a4e6fb2",name:"loader",class:"gov-spin-animation"})))}onClickHandler(t){t.stopPropagation();if(this.disabled===false){this.govClick.emit({component:o.root,originalEvent:t,ref:this.host})}}onFocusHandler(t){t.stopPropagation();this.govFocus.emit({component:o.root,originalEvent:t,ref:this.host})}onBlurHandler(t){t.stopPropagation();this.govBlur.emit({component:o.root,originalEvent:t,ref:this.host})}async setFocus(){this.triggerRef.focus()}async getRef(){return this.triggerRef}async validateAccessibility(){if(this.focusable){u(this.triggerRef.getAttribute("aria-label"),this.triggerRef.getAttribute("aria-labelledby"),o.root,this.host)}}get host(){return this}static get watchers(){return{color:["validateColor"],type:["validateType"],size:["validateSize"],nativeType:["validateNativeType"]}}},[4,"gov-button",{color:[513],size:[513],type:[513],expanded:[516],name:[1],disabled:[516],nativeType:[1,"native-type"],href:[1],target:[1],download:[4],hreflang:[1],referrerpolicy:[1],rel:[1],loading:[1],focusable:[4],identifier:[1],inheritedAttributes:[32],setFocus:[64],getRef:[64],validateAccessibility:[64]},undefined,{color:["validateColor"],type:["validateType"],size:["validateSize"],nativeType:["validateNativeType"]}]);function C(){if(typeof customElements==="undefined"){return}const t=["gov-button","gov-icon"];t.forEach((t=>{switch(t){case"gov-button":if(!customElements.get(t)){customElements.define(t,T)}break;case"gov-icon":if(!customElements.get(t)){g()}break}}))}C();export{T as G,C as d};
|
|
2
|
+
//# sourceMappingURL=p-1366ed8d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["toBool","value","indexOf","Tags","GovButton","proxyCustomElement","H","constructor","this","hydrated","h","govHost","host","validateColor","newValue","validateProp","ButtonColors","ButtonClass","root","validateType","ButtonType","validateSize","Sizes","validateNativeType","NativeType","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","removeAttribute","inheritedAttributes","Object","assign","disconnectedCallback","stopObserving","componentWillLoad","color","type","size","nativeType","inheritAriaAttributes","componentDidRender","canValidateWcagOnRender","delay","validateAccessibility","connectedCallback","render","Tag","href","A","BUTTON","undefined","Host","key","class","classes","ref","el","triggerRef","onClick","onClickHandler","bind","onFocus","onFocusHandler","onBlur","onBlurHandler","disabled","id","identifier","target","download","hreflang","rel","name","tabindex","toBoolAttrIfDefined","loading","hasSlot","e","stopPropagation","govClick","emit","component","originalEvent","govFocus","govBlur","setFocus","focus","getRef","focusable","validateAccessibleLabel","getAttribute"],"sources":["../../../packages/core/src/utils/bool.utils.ts","../../../packages/core/src/components/gov-button/button/gov-button.tsx"],"sourcesContent":["export function toBool(value: any): boolean {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1'].indexOf(value) !== -1\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0\n\t} else if (typeof value === 'boolean') {\n\t\treturn value\n\t} else {\n\t\treturn value ? true : false\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {\n\tButtonClass,\n\tButtonColors,\n\tButtonColorType,\n\tButtonSizesType,\n\tButtonTargetType,\n\tButtonType,\n\tButtonTypesType,\n\tNativeType,\n\tNativeTypesType,\n} from \"./constants\"\nimport {govHost, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {toBool} from \"../../../utils/bool.utils\"\nimport {Sizes} from \"../../../core/constants/sizes\"\nimport {validateAccessibleLabel} from \"../../../helpers/Validate/wcag\"\nimport {canValidateWcagOnRender} from \"../../../helpers/Dom/win\"\nimport {delay} from \"../../../utils/utils\"\nimport {ButtonEvent} from \"./gov-button.types\"\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\n\nenum Tags {\n\tA = \"a\",\n\tBUTTON = \"button\",\n}\n\n@Component({\n\ttag: \"gov-button\",\n})\nexport class GovButton {\n\tprivate h: GovHost\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement\n\tprivate attributeObserver: AttributeObserver\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovButtonElement\n\n\t/**\n\t * Style variation of the button\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType\n\t/**\n\t * Button’s size\n\t */\n\t@Prop({reflect: true}) readonly size?: ButtonSizesType = \"m\"\n\t/**\n\t * Button's type\n\t */\n\t@Prop({reflect: true}) readonly type: ButtonTypesType\n\t/**\n\t * Expands the button to fill 100% of the container width\n\t */\n\t@Prop({reflect: true}) readonly expanded: boolean = false\n\t/**\n\t * The name of the button, which gets paired with the button's value when submitted as part of a form. Corresponds with the native HTML name attribute\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Makes the button component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type\n\t */\n\t@Prop() readonly nativeType?: NativeTypesType = \"button\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target?: ButtonTargetType\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download\n\t */\n\t@Prop() readonly download: boolean\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-hreflang\n\t */\n\t@Prop() readonly hreflang: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy\n\t */\n\t@Prop() readonly referrerpolicy: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-rel\n\t */\n\t@Prop() readonly rel: string\n\t/**\n\t * Indicates whether an asynchronous process is running\n\t */\n\t@Prop() readonly loading: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable\n\t */\n\t@Prop() readonly focusable: boolean = true\n\t/**\n\t * Custom button identifier\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Emitted when the button click\n\t */\n\t@Event({eventName: \"gov-click\"}) govClick: EventEmitter<ButtonEvent>\n\t/**\n\t * Emitted when the button has focus\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<ButtonEvent>\n\t/**\n\t * Emitted when the button loses focus\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<ButtonEvent>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(ButtonType, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"nativeType\")\n\tvalidateNativeType(newValue: string): void {\n\t\tvalidateProp(NativeType, newValue, ButtonClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateType(this.type)\n\t\tthis.validateSize(this.size)\n\t\tthis.validateNativeType(this.nativeType)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateAccessibility()\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? Tags.A : Tags.BUTTON\n\t\tconst nativeType = Tag === Tags.A ? undefined : this.nativeType\n\n\t\treturn (\n\t\t\t<Host size={this.size}\n\t\t\t\t hydrated={this.hydrated}\n\t\t\t\t color={this.color}\n\t\t\t\t class={this.h.classes(ButtonClass.root)}\n\t\t\t\t type={this.type}>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLButtonElement | HTMLLinkElement)}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\tid={this.identifier}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tdownload={this.download}\n\t\t\t\t\threflang={this.hreflang}\n\t\t\t\t\trel={this.rel}\n\t\t\t\t\tname={this.name}\n\t\t\t\t\ttype={nativeType}\n\t\t\t\t\ttabindex={this.disabled ? \"-1\" : \"0\"}\n\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t>\n\t\t\t\t\t{toBool(this.loading) && !this.h.hasSlot(\"right-icon\") &&\n\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\"></gov-icon>}\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t<slot/>\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && <slot name=\"right-icon\"></slot>}\n\t\t\t\t\t{toBool(this.loading) && this.h.hasSlot(\"right-icon\") &&\n\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\"></gov-icon>}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false) {\n\t\t\tthis.govClick.emit({\n\t\t\t\tcomponent: ButtonClass.root,\n\t\t\t\toriginalEvent: e,\n\t\t\t\tref: this.host,\n\t\t\t})\n\t\t}\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: ButtonClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: ButtonClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\t/**\n\t * Focus button element\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tthis.triggerRef.focus()\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getRef() {\n\t\treturn this.triggerRef\n\t}\n\n\t/**\n\t * Validate the Accessibility attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tif (this.focusable) {\n\t\t\tvalidateAccessibleLabel(this.triggerRef.getAttribute('aria-label'), this.triggerRef.getAttribute('aria-labelledby'), ButtonClass.root, this.host)\n\t\t}\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{u as o,a as t,b as s}from"./p-7501abe8.js";const a={bg:"#ecae1a",text:"#3b3b3b"};const c={bg:"#2362a2",text:"#fff"};const e=(a,e=c,n)=>{const b=["color: "+e.text,"background: "+e.bg,"font-size: 11px","padding: 2px 4px","border-radius: 3px","font-weight: 600"].join(";");if(t()||o()||s()){console.log("%cgov",b,a,n)}};const n=(t,s)=>{if(o()){e(t,a,s)}};export{n as g};
|
|
2
|
+
//# sourceMappingURL=p-1a0b3b4f.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["WARNING_COLORS","bg","text","INFO_COLORS","govLog","message","colors","args","styles","join","useLog","useWarningLog","useErrorLog","console","log","govWarningLog"],"sources":["../../../packages/core/src/helpers/Log/gov.log.ts"],"sourcesContent":["import {useErrorLog, useLog, useWarningLog} from \"../Dom/win\";\n\ninterface ColorConfig {\n\tbg: string\n\ttext: string\n}\n\nconst WARNING_COLORS: ColorConfig = {bg: '#ecae1a', text: '#3b3b3b'}\nconst INFO_COLORS: ColorConfig = {bg: '#2362a2', text: '#fff'}\nconst ERROR_COLORS: ColorConfig = {bg: '#c52a3a', text: '#fff'}\n\nexport const govLog = (message: string, colors: ColorConfig = INFO_COLORS, args?: unknown): void => {\n\tconst styles = ['color: ' + colors.text, 'background: ' + colors.bg, 'font-size: 11px', 'padding: 2px 4px', 'border-radius: 3px', 'font-weight: 600'].join(\n\t\t';'\n\t)\n\n\tif(useLog() || useWarningLog() || useErrorLog()) {\n\t\tconsole.log('%cgov', styles, message, args)\n\t}\n}\n\nexport const govWarningLog = (message: string, args?: unknown): void => {\n\tif (useWarningLog()) {\n\t\tgovLog(message, WARNING_COLORS, args)\n\t}\n}\n\nexport const govErrorLog = (message: string, args?: unknown): void => {\n\tif (useErrorLog()) {\n\t\tgovLog(message, ERROR_COLORS, args)\n\t}\n}\n"],"mappings":"kDAOA,MAAMA,EAA8B,CAACC,GAAI,UAAWC,KAAM,WAC1D,MAAMC,EAA2B,CAACF,GAAI,UAAWC,KAAM,QAGhD,MAAME,EAAS,CAACC,EAAiBC,EAAsBH,EAAaI,KAC1E,MAAMC,EAAS,CAAC,UAAYF,EAAOJ,KAAM,eAAiBI,EAAOL,GAAI,kBAAmB,mBAAoB,qBAAsB,oBAAoBQ,KACrJ,KAGD,GAAGC,KAAYC,KAAmBC,IAAe,CAChDC,QAAQC,IAAI,QAASN,EAAQH,EAASE,E,SAI3BQ,EAAgB,CAACV,EAAiBE,KAC9C,GAAII,IAAiB,CACpBP,EAAOC,EAASL,EAAgBO,E","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{S as o}from"./p-92f420cb.js";import{p as t}from"./p-e0e2e9c1.js";import{F as r}from"./p-edd1417b.js";import{F as e}from"./p-7ba4daf4.js";const s=t(o,["_XS","_S","_M","_L","_XL"]);const i={root:"gov-form-autocomplete",list:"gov-form-autocomplete__list",item:"gov-form-autocomplete__item",empty:"gov-form-autocomplete__item--empty",loading:"gov-form-autocomplete__item--loading"};t(o,["_M","_L","_XL"]);const _={root:"gov-form-control",holder:"gov-form-control__holder",bottom:"gov-form-control__bottom"};const m=t(o,["_XS","_S","_M","_L","_XL"]);var a;(function(o){o["COLOR"]="color";o["DATE"]="date";o["DATETIME_LOCAL"]="datetime-local";o["EMAIL"]="email";o["MONTH"]="month";o["NUMBER"]="number";o["PASSWORD"]="password";o["SEARCH"]="search";o["TEL"]="tel";o["TEXT"]="text";o["TIME"]="time";o["URL"]="url";o["WEEK"]="week"})(a||(a={}));var c;(function(o){o["RESET"]="reset"})(c||(c={}));const n={root:"gov-form-input"};const l=t(o,["_XS","_S","_M","_L","_XL"]);const f={root:"gov-form-select",icon:"gov-form-select__icon"};const g=t(o,["_XS","_S","_M","_L","_XL"]);const h={root:"gov-form-multi-select",wrap:"gov-form-multi-select__wrap",list:"gov-form-multi-select__list",item:"gov-form-multi-select__item"};const u=t(o,["_XS","_S","_M","_L"]);const v={root:"gov-form-switch",holder:"gov-form-switch__holder",input:"gov-form-switch__input",indicator:"gov-form-switch__indicator",label:"gov-form-switch__label"};const p=t(o,["_XS","_S","_M","_L","_XL"]);const d={root:"gov-form-checkbox",check:"gov-form-checkbox__check",indeterminate:"gov-form-checkbox__indeterminate",label:"gov-form-checkbox__label"};const b=t(o,["_XS","_S","_M","_L","_XL"]);const L={root:"gov-form-radio",input:"gov-form-radio__input",indicator:"gov-form-radio__indicator",label:"gov-form-radio__label"};const S=o=>({get govHost(){return o},passAttrToControl(o,t){if(this.control){this.control.setAttribute(o,t)}},passAttrToLabel(o,t){if(this.label){this.label.setAttribute(o,t)}},get hasGroupChildren(){if(this.control){return this.control.querySelectorAll("gov-form-group > *, gov-form-radio-group > *, gov-form-checkbox-group > *").length>1}return false},get control(){if(this.govHost.name===_.root){return this.govHost.hostElement}return this.govHost.getParent(_.root)},get label(){const o=this.govHost.hostElement.querySelector(`.${e.root}`);if(o){return o}if(this.control){return this.control.querySelector(`.${e.root}`)}return null},get mainElementsInControl(){const o=[f.root,n.root,v.root,d.root,L.root,h.root,i.root];if(this.control){const t=o.map((o=>`${o}:first-of-type`)).join(", ");return Array.from(this.control.querySelectorAll(t))}return[]},get messageElements(){if(this.control){return Array.from(this.control.querySelectorAll(r.root))}return[]}});export{i as F,s as a,n as b,m as c,d,p as e,_ as f,S as g,h,g as i,L as j,b as k,f as l,l as m,v as n,u as o};
|
|
2
|
+
//# sourceMappingURL=p-255d0471.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FormAutocompleteSizes","pick","Sizes","FormAutocompleteClass","root","list","item","empty","loading","FormControlClass","holder","bottom","FormInputSizes","InputTypes","Type","FormInputClass","FormSelectSizes","FormSelectClass","icon","FormMultiselectSizes","FormMultiSelectClass","wrap","FormSwitchSizes","FormSwitchClass","input","indicator","label","FormCheckboxSizes","FormCheckboxClass","check","indeterminate","FormRadioSizes","FormRadioClass","govForm","govHost","passAttrToControl","name","value","this","control","setAttribute","passAttrToLabel","hasGroupChildren","querySelectorAll","length","hostElement","getParent","innerLabel","querySelector","FormLabelClass","mainElementsInControl","formElements","elements","map","el","join","Array","from","messageElements","FormMessageClass"],"sources":["../../../packages/core/src/components/gov-form/autocomplete/constants.ts","../../../packages/core/src/components/gov-form/control/constants.ts","../../../packages/core/src/components/gov-form/input/constants.ts","../../../packages/core/src/components/gov-form/select/constants.ts","../../../packages/core/src/components/gov-form/multiselect/constants.ts","../../../packages/core/src/components/gov-form/switch/constants.ts","../../../packages/core/src/components/gov-form/checkbox/constants.ts","../../../packages/core/src/components/gov-form/radio/constants.ts","../../../packages/core/src/helpers/Dom/form.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormAutocompleteSizes = pick(Sizes, ['_XS','_S', '_M', '_L', '_XL'])\nexport type SizesType = `${ValueOf<typeof FormAutocompleteSizes>}`\n\nexport const FormAutocompleteClass = {\n\troot: 'gov-form-autocomplete',\n\tlist: 'gov-form-autocomplete__list',\n\titem: 'gov-form-autocomplete__item',\n\tempty: 'gov-form-autocomplete__item--empty',\n\tloading: 'gov-form-autocomplete__item--loading',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormControlSizes = pick(Sizes, ['_M', '_L', '_XL'])\nexport type FormControlSizesType = `${ValueOf<typeof FormControlSizes>}`\n\nexport const FormControlClass = {\n\troot: 'gov-form-control',\n\tholder: 'gov-form-control__holder',\n\tbottom: 'gov-form-control__bottom',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const FormInputSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormInputSizesType = `${ValueOf<typeof FormInputSizes>}`\n\nexport enum InputTypes {\n\tCOLOR = 'color',\n\tDATE = 'date',\n\tDATETIME_LOCAL = 'datetime-local',\n\tEMAIL = 'email',\n\tMONTH = 'month',\n\tNUMBER = 'number',\n\tPASSWORD = 'password',\n\tSEARCH = 'search',\n\tTEL = 'tel',\n\tTEXT = 'text',\n\tTIME = 'time',\n\tURL = 'url',\n\tWEEK = 'week',\n}\nexport type InputType = `${ValueOf<typeof InputTypes>}`\n\nexport enum Type {\n\tRESET = 'reset',\n}\nexport type TypesType = `${ValueOf<typeof Type>}`\n\nexport const FormInputClass = {\n\troot: 'gov-form-input',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormSelectSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormSelectSizesType = `${ValueOf<typeof FormSelectSizes>}`\n\nexport const FormSelectClass = {\n\troot: 'gov-form-select',\n\ticon: 'gov-form-select__icon',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormMultiselectSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormMultiselectSizesType = `${ValueOf<typeof FormMultiselectSizes>}`\n\nexport const FormMultiSelectClass = {\n\troot: 'gov-form-multi-select',\n\twrap: 'gov-form-multi-select__wrap',\n\tlist: 'gov-form-multi-select__list',\n\titem: 'gov-form-multi-select__item',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const FormSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L'])\nexport type FormSwitchSizesType = `${ValueOf<typeof FormSwitchSizes>}`\n\nexport const FormSwitchClass = {\n\troot: 'gov-form-switch',\n\tholder: 'gov-form-switch__holder',\n\tinput: 'gov-form-switch__input',\n\tindicator: 'gov-form-switch__indicator',\n\tlabel: 'gov-form-switch__label',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormCheckboxSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormCheckboxSizesType = `${ValueOf<typeof FormCheckboxSizes>}`\n\nexport const FormCheckboxClass = {\n\troot: 'gov-form-checkbox',\n\tcheck: 'gov-form-checkbox__check',\n\tindeterminate: 'gov-form-checkbox__indeterminate',\n\tlabel: 'gov-form-checkbox__label',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormRadioSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormRadioSizesType = `${ValueOf<typeof FormRadioSizes>}`\n\nexport const FormRadioClass = {\n\troot: 'gov-form-radio',\n\tinput: 'gov-form-radio__input',\n\tindicator: 'gov-form-radio__indicator',\n\tlabel: 'gov-form-radio__label',\n}\n","import { GovHost } from './template.types'\nimport { GovForm } from './form.types'\nimport { FormControlClass } from '../../components/gov-form/control/constants'\nimport { FormInputClass } from '../../components/gov-form/input/constants'\nimport { FormSelectClass } from '../../components/gov-form/select/constants'\nimport { FormMultiSelectClass } from '../../components/gov-form/multiselect/constants'\nimport { FormSwitchClass } from '../../components/gov-form/switch/constants'\nimport { FormCheckboxClass } from '../../components/gov-form/checkbox/constants'\nimport { FormRadioClass } from '../../components/gov-form/radio/constants'\nimport { FormMessageClass } from '../../components/gov-form/message/constants'\nimport { FormAutocompleteClass } from '../../components/gov-form/autocomplete/constants'\nimport { Nullable } from '../../types/interfaces'\nimport { FormLabelClass } from \"../../components/gov-form/label/constants\"\n\nexport const govForm = (govHost: GovHost): GovForm => {\n\treturn {\n\t\tget govHost(): GovHost {\n\t\t\treturn govHost\n\t\t},\n\t\tpassAttrToControl(name: string, value: string): void {\n\t\t\tif (this.control) {\n\t\t\t\tthis.control.setAttribute(name, value)\n\t\t\t}\n\t\t},\n\t\tpassAttrToLabel(name: string, value: string): void {\n\t\t\tif (this.label) {\n\t\t\t\tthis.label.setAttribute(name, value)\n\t\t\t}\n\t\t},\n\t\tget hasGroupChildren(): boolean {\n\t\t\tif (this.control) {\n\t\t\t\treturn this.control.querySelectorAll('gov-form-group > *, gov-form-radio-group > *, gov-form-checkbox-group > *').length > 1\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tget control(): Nullable<HTMLGovFormControlElement> {\n\t\t\tif (this.govHost.name === FormControlClass.root) {\n\t\t\t\treturn this.govHost.hostElement\n\t\t\t}\n\t\t\treturn this.govHost.getParent(FormControlClass.root)\n\t\t},\n\t\tget label(): Nullable<HTMLGovFormLabelElement> {\n\t\t\tconst innerLabel = this.govHost.hostElement.querySelector(`.${FormLabelClass.root}`)\n\t\t\tif(innerLabel) {\n\t\t\t\treturn innerLabel\n\t\t\t}\n\t\t\tif (this.control) {\n\t\t\t\treturn this.control.querySelector(`.${FormLabelClass.root}`)\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\t\tget mainElementsInControl(): Element[] {\n\t\t\tconst formElements = [\n\t\t\t\tFormSelectClass.root,\n\t\t\t\tFormInputClass.root,\n\t\t\t\tFormSwitchClass.root,\n\t\t\t\tFormCheckboxClass.root,\n\t\t\t\tFormRadioClass.root,\n\t\t\t\tFormMultiSelectClass.root,\n\t\t\t\tFormAutocompleteClass.root,\n\t\t\t]\n\t\t\tif (this.control) {\n\t\t\t\tconst elements = formElements.map(el => `${el}:first-of-type`).join(', ')\n\t\t\t\treturn Array.from(this.control.querySelectorAll(elements))\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\tget messageElements(): HTMLGovFormMessageElement[] {\n\t\t\tif (this.control) {\n\t\t\t\treturn Array.from(this.control.querySelectorAll(FormMessageClass.root))\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["tick","callback","requestAnimationFrame"],"sources":["../../../packages/core/src/utils/stencil.utils.ts"],"sourcesContent":["export const tick = (callback: () => void) => {\n\trequestAnimationFrame(() => {\n\t\tcallback();\n\t});\n}\n"],"mappings":"MAAaA,EAAQC,IACpBC,uBAAsB,KACrBD,GAAU,GACT,S","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["is","value","undefined","hasOwnProperty","obj","prop","Object","prototype","call","isObject","isString","input"],"sources":["../../../packages/core/src/utils/helpers.types.ts"],"sourcesContent":["\nexport type Optional<T> = T | undefined;\nexport type Nullable<T> = T | null;\nexport type OptionalProperty<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;\nexport type ValueOf<T> = T[keyof T];\n\nexport type DeepPartial<T> = {\n\t[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];\n};\n\nexport type ObjectOrArrayType<T> = T | T[];\nexport const ObjectOrArray = {\n\tfirst: <T>(item: ObjectOrArrayType<T>): T => (Array.isArray(item) ? item[0] : item),\n\tarray: <T>(item: ObjectOrArrayType<T>): T[] => (Array.isArray(item) ? item : [item]),\n};\n\nexport const Omit = <T extends object, P extends keyof T, R extends Omit<T, P>>(properties: P[], object: T): R =>\n\tObject.entries(object).reduce(\n\t\t(all, [key, value]) => (properties.includes(key as P) ? all : { ...all, [key]: value }),\n\t\t{} as R\n\t);\n\nexport const whenDefined =\n\t<I, O>(fn: (input: I) => O) =>\n\t(value?: I): O | undefined =>\n\t\tvalue ? fn(value) : undefined;\n\n/**\n * Comparator function which defines the sort order\n * @example\n * ```\n * // sorts objects by `id` property\n * [{ id: 3 }, { id: 2 }, { id: 1 }].sort(compare(['id']))\n *\n * // sorts objects by `id` and `name` properties\n * [{ id: 3, name: 'b' }, { id: 2, name: 'a' }, { id: 1, name: 'b' }].sort(compare(['id', 'name']))\n * ```\n *\n * @param {Array<keyof T>} properties\n * @return {number}\n */\nexport const compare =\n\t<T extends object>(properties: Array<keyof T>) =>\n\t(a: T, b: T): number => {\n\t\tconst [property, ...rest] = properties;\n\t\tif (!property) {\n\t\t\treturn 0;\n\t\t}\n\t\tif (a[property] < b[property]) {\n\t\t\treturn -1;\n\t\t}\n\t\tif (a[property] > b[property]) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn rest.length > 0 ? compare(rest)(a, b) : 0;\n\t};\n\nexport const is = <T>(value: T | undefined | null): value is T => value !== undefined && value !== null;\n\nexport const has =\n\t<T extends object, P extends keyof T>(property: P) =>\n\t(object: OptionalProperty<T, P>): object is T => {\n\t\treturn !!object[property];\n\t};\n\nexport const equals =\n\t<A>(a?: A) =>\n\t(b?: A): boolean =>\n\t\ta === b;\nexport const prop =\n\t<T, P extends keyof T>(property: P) =>\n\t(object: T): T[P] =>\n\t\tobject[property];\n\nexport const propOptional =\n\t<T, P extends keyof T>(property: P) =>\n\t(object?: T): Optional<T[P]> =>\n\t\tobject ? object[property] : undefined;\n\nexport const hasOwnProperty = <X extends object, Y extends PropertyKey>(\n\tobj: X,\n\tprop: Y\n): obj is X & Record<Y, ValueOf<X>> => {\n\treturn Object.prototype.hasOwnProperty.call(obj, prop);\n};\n\nexport const isObject = <T extends object>(obj: unknown): obj is T => typeof obj === 'object';\nexport const isString = (input: unknown): input is string => is(input) && typeof input === 'string';\nexport const isNumber = (input: unknown): input is string => is(input) && typeof input === 'number';\n\ntype Entries<T> = {\n\t[K in keyof T]: [K, T[K]];\n}[keyof T][];\nexport const getEntries = <T extends object>(obj: T) => Object.entries(obj) as Entries<T>;\n\nexport const getKeys = <T extends object>(obj: T) => Object.keys(obj) as Array<keyof T>;\nexport const getValues = <T extends object>(obj: T) => Object.values(obj) as Array<ValueOf<T>>;\n\nexport const first = <T>(array: T[]): Optional<T> => array[0];\n\nexport const pairs = <T>(arr: T[]): Array<[string, string]> =>\n\tarr.flatMap((item1, index1) => arr.flatMap((item2, index2) => (index1 > index2 ? [[item1, item2]] : []))) as any;\n\nexport const find =\n\t<T, S extends T>(predicate: (item: T) => item is S) =>\n\t(array?: T[]): Optional<S> =>\n\t\t(array || []).find(predicate);\nexport const filter =\n\t<T, S extends T>(predicate: (item: T) => item is S) =>\n\t(array?: T[]): S[] =>\n\t\t(array || []).filter(predicate);\n"],"mappings":"AAyDO,MAAMA,EAASC,GAA4CA,IAAUC,WAAaD,IAAU,K,MAsBtFE,EAAiB,CAC7BC,EACAC,IAEOC,OAAOC,UAAUJ,eAAeK,KAAKJ,EAAKC,G,MAGrCI,EAA8BL,UAAkCA,IAAQ,S,MACxEM,EAAYC,GAAoCX,EAAGW,WAAiBA,IAAU,gB","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const a=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];const i=(a,i=[])=>{const r={};i.forEach((i=>{if(a.hasAttribute(i)){const e=a.getAttribute(i);if(e!==null){r[i]=a.getAttribute(i)}a.removeAttribute(i)}}));return r};class r{constructor(a,i){this.element=a;this.callback=i}startObserving(a){this.mutationObserver=new MutationObserver((a=>{for(const i of a){if(i.type==="attributes"&&i.attributeName){const a=this.element.getAttribute(i.attributeName);if(a!==null){this.callback(i.attributeName,a)}}}}));this.mutationObserver.observe(this.element,{attributes:true,attributeFilter:a})}stopObserving(){if(this.mutationObserver){this.mutationObserver.disconnect()}}}const e=(r,e)=>{let t=a;if(e&&e.length>0){t=t.filter((a=>!e.includes(a)))}return i(r,t)};export{r as A,a,e as i};
|
|
2
|
+
//# sourceMappingURL=p-33d5d1ed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ariaAttributes","inheritAttributes","el","attributes","attributeObject","forEach","attr","hasAttribute","value","getAttribute","removeAttribute","AttributeObserver","constructor","element","callback","this","startObserving","mutationObserver","MutationObserver","mutationsList","mutation","type","attributeName","newValue","observe","attributeFilter","stopObserving","disconnect","inheritAriaAttributes","ignoreList","attributesToInherit","length","filter","includes"],"sources":["../../../packages/core/src/helpers/Accessibility/attributes.ts","../../../packages/core/src/helpers/Dom/attribute.ts","../../../packages/core/src/helpers/Accessibility/accessibility.ts"],"sourcesContent":["export const ariaAttributes = [\n\t'role',\n\t'aria-activedescendant',\n\t'aria-atomic',\n\t'aria-autocomplete',\n\t'aria-braillelabel',\n\t'aria-brailleroledescription',\n\t'aria-busy',\n\t'aria-checked',\n\t'aria-colcount',\n\t'aria-colindex',\n\t'aria-colindextext',\n\t'aria-colspan',\n\t'aria-controls',\n\t'aria-current',\n\t'aria-describedby',\n\t'aria-description',\n\t'aria-details',\n\t'aria-disabled',\n\t'aria-errormessage',\n\t'aria-expanded',\n\t'aria-flowto',\n\t'aria-haspopup',\n\t'aria-hidden',\n\t'aria-invalid',\n\t'aria-keyshortcuts',\n\t'aria-label',\n\t'aria-labelledby',\n\t'aria-level',\n\t'aria-live',\n\t'aria-multiline',\n\t'aria-multiselectable',\n\t'aria-orientation',\n\t'aria-owns',\n\t'aria-placeholder',\n\t'aria-posinset',\n\t'aria-pressed',\n\t'aria-readonly',\n\t'aria-relevant',\n\t'aria-required',\n\t'aria-roledescription',\n\t'aria-rowcount',\n\t'aria-rowindex',\n\t'aria-rowindextext',\n\t'aria-rowspan',\n\t'aria-selected',\n\t'aria-setsize',\n\t'aria-sort',\n\t'aria-valuemax',\n\t'aria-valuemin',\n\t'aria-valuenow',\n\t'aria-valuetext',\n];\n","export type Attribute = unknown;\nexport type Attributes = Record<string, Attribute>;\n\nexport const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n\tconst attributeObject: Attributes = {};\n\tattributes.forEach((attr) => {\n\t\tif (el.hasAttribute(attr)) {\n\t\t\tconst value = el.getAttribute(attr);\n\t\t\tif (value !== null) {\n\t\t\t\tattributeObject[attr] = el.getAttribute(attr);\n\t\t\t}\n\t\t\tel.removeAttribute(attr);\n\t\t}\n\t});\n\n\treturn attributeObject;\n};\n\ntype Callback = (attributeName: string, newValue: string) => void;\n\nexport class AttributeObserver {\n\tprivate mutationObserver: MutationObserver;\n\n\tconstructor(private element: HTMLElement, private callback: Callback) {\n\t}\n\n\tstartObserving(attributes: string[]) {\n\t\tthis.mutationObserver = new MutationObserver((mutationsList) => {\n\t\t\tfor (const mutation of mutationsList) {\n\t\t\t\tif (mutation.type === 'attributes' && mutation.attributeName) {\n\t\t\t\t\tconst newValue = this.element.getAttribute(mutation.attributeName);\n\t\t\t\t\tif (newValue !== null) {\n\t\t\t\t\t\tthis.callback(mutation.attributeName, newValue);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tthis.mutationObserver.observe(this.element, {\n\t\t\tattributes: true,\n\t\t\tattributeFilter: attributes,\n\t\t});\n\t}\n\n\tstopObserving() {\n\t\tif (this.mutationObserver) {\n\t\t\tthis.mutationObserver.disconnect();\n\t\t}\n\t}\n}\n","import {ariaAttributes} from \"./attributes\";\nimport {inheritAttributes} from \"../Dom/attribute\";\n\nexport const inheritAriaAttributes = (el: HTMLElement, ignoreList?: string[]) => {\n\tlet attributesToInherit = ariaAttributes;\n\tif (ignoreList && ignoreList.length > 0) {\n\t\tattributesToInherit = attributesToInherit.filter((attr) => !ignoreList.includes(attr));\n\t}\n\treturn inheritAttributes(el, attributesToInherit);\n};\n"],"mappings":"MAAaA,EAAiB,CAC7B,OACA,wBACA,cACA,oBACA,oBACA,8BACA,YACA,eACA,gBACA,gBACA,oBACA,eACA,gBACA,eACA,mBACA,mBACA,eACA,gBACA,oBACA,gBACA,cACA,gBACA,cACA,eACA,oBACA,aACA,kBACA,aACA,YACA,iBACA,uBACA,mBACA,YACA,mBACA,gBACA,eACA,gBACA,gBACA,gBACA,uBACA,gBACA,gBACA,oBACA,eACA,gBACA,eACA,YACA,gBACA,gBACA,gBACA,kBChDM,MAAMC,EAAoB,CAACC,EAAiBC,EAAuB,MACzE,MAAMC,EAA8B,GACpCD,EAAWE,SAASC,IACnB,GAAIJ,EAAGK,aAAaD,GAAO,CAC1B,MAAME,EAAQN,EAAGO,aAAaH,GAC9B,GAAIE,IAAU,KAAM,CACnBJ,EAAgBE,GAAQJ,EAAGO,aAAaH,E,CAEzCJ,EAAGQ,gBAAgBJ,E,KAIrB,OAAOF,CAAe,E,MAKVO,EAGZ,WAAAC,CAAoBC,EAA8BC,GAA9BC,KAAAF,UAA8BE,KAAAD,U,CAGlD,cAAAE,CAAeb,GACdY,KAAKE,iBAAmB,IAAIC,kBAAkBC,IAC7C,IAAK,MAAMC,KAAYD,EAAe,CACrC,GAAIC,EAASC,OAAS,cAAgBD,EAASE,cAAe,CAC7D,MAAMC,EAAWR,KAAKF,QAAQJ,aAAaW,EAASE,eACpD,GAAIC,IAAa,KAAM,CACtBR,KAAKD,SAASM,EAASE,cAAeC,E,OAM1CR,KAAKE,iBAAiBO,QAAQT,KAAKF,QAAS,CAC3CV,WAAY,KACZsB,gBAAiBtB,G,CAInB,aAAAuB,GACC,GAAIX,KAAKE,iBAAkB,CAC1BF,KAAKE,iBAAiBU,Y,SC3CZC,EAAwB,CAAC1B,EAAiB2B,KACtD,IAAIC,EAAsB9B,EAC1B,GAAI6B,GAAcA,EAAWE,OAAS,EAAG,CACxCD,EAAsBA,EAAoBE,QAAQ1B,IAAUuB,EAAWI,SAAS3B,I,CAEjF,OAAOL,EAAkBC,EAAI4B,EAAoB,S","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{C as o}from"./p-e3aeaca0.js";import{S as t}from"./p-92f420cb.js";import{p as s}from"./p-e0e2e9c1.js";const a=s(o,["PRIMARY","NEUTRAL"]);const p=s(t,["_S","_M","_L"]);var r;(function(o){o["TOP"]="top";o["RIGHT"]="right";o["BOTTOM"]="bottom";o["LEFT"]="left"})(r||(r={}));const c={root:"gov-tooltip"};const e={root:"gov-tooltip-content"};export{a as T,p as a,e as b,r as c,c as d};
|
|
2
|
+
//# sourceMappingURL=p-565120d5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TooltipColors","pick","Colors","TooltipSize","Sizes","TooltipPosition","TooltipClass","root","TooltipContentClass"],"sources":["../../../packages/core/src/components/gov-tooltip/constants.tsx"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { Sizes } from '../../core/constants/sizes'\nimport { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils'\n\nexport const TooltipColors = pick(Colors, ['PRIMARY', 'NEUTRAL'])\nexport type TooltipColorType = `${ValueOf<typeof TooltipColors>}`\n\nexport const TooltipSize = pick(Sizes, ['_S', '_M', '_L'])\nexport type TooltipSizeType = `${ValueOf<typeof TooltipSize>}`\n\nexport enum TooltipPosition {\n\tTOP = 'top',\n\tRIGHT = 'right',\n\tBOTTOM = 'bottom',\n\tLEFT = 'left',\n}\nexport type TooltipPositionType = `${ValueOf<typeof TooltipPosition>}`\n\nexport const TooltipClass = {\n\troot: 'gov-tooltip',\n}\n\nexport const TooltipContentClass = {\n\troot: 'gov-tooltip-content',\n}\n"],"mappings":"kHAKaA,EAAgBC,EAAKC,EAAQ,CAAC,UAAW,Y,MAGzCC,EAAcF,EAAKG,EAAO,CAAC,KAAM,KAAM,O,IAGxCC,GAAZ,SAAYA,GACXA,EAAA,aACAA,EAAA,iBACAA,EAAA,mBACAA,EAAA,cACA,EALD,CAAYA,MAAe,K,MAQdC,EAAe,CAC3BC,KAAM,e,MAGMC,EAAsB,CAClCD,KAAM,8B","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{C as e}from"./p-e3aeaca0.js";import{S as t}from"./p-92f420cb.js";import{p as o}from"./p-e0e2e9c1.js";const p=o(e,["PRIMARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);const s=o(t,["_S","_M","_L"]);const a={root:"gov-stepper"};const r={root:"gov-stepper-item",header:"gov-stepper-item__header",label:"gov-stepper-item__label",prefix:"gov-stepper-item__prefix",headline:"gov-stepper-item__headline",annotation:"gov-stepper-item__annotation",content:"gov-stepper-item__content"};export{r as S,a,s as b,p as c};
|
|
2
|
+
//# sourceMappingURL=p-59737af9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StepperColors","pick","Colors","StepperSizes","Sizes","StepperClass","root","StepperItemClass","header","label","prefix","headline","annotation","content"],"sources":["../../../packages/core/src/components/gov-stepper/constants.ts"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const StepperColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type StepperColorType = `${ValueOf<typeof StepperColors>}`\n\nexport const StepperSizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type StepperSizesType = `${ValueOf<typeof StepperSizes>}`\n\nexport const StepperClass = {\n\troot: 'gov-stepper',\n}\n\nexport const StepperItemClass = {\n\troot: 'gov-stepper-item',\n\theader: 'gov-stepper-item__header',\n\tlabel: 'gov-stepper-item__label',\n\tprefix: 'gov-stepper-item__prefix',\n\theadline: 'gov-stepper-item__headline',\n\tannotation: 'gov-stepper-item__annotation',\n\tcontent: 'gov-stepper-item__content',\n}\n"],"mappings":"kHAKaA,EAAgBC,EAAKC,EAAQ,CAAC,UAAW,UAAW,QAAS,UAAW,Y,MAGxEC,EAAeF,EAAKG,EAAO,CAAC,KAAM,KAAM,O,MAGxCC,EAAe,CAC3BC,KAAM,e,MAGMC,EAAmB,CAC/BD,KAAM,mBACNE,OAAQ,2BACRC,MAAO,0BACPC,OAAQ,2BACRC,SAAU,6BACVC,WAAY,+BACZC,QAAS,oC","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as t,H as i,h as s,d as e}from"./p-ae3dada7.js";import{p as a}from"./p-e0e2e9c1.js";import{S as n}from"./p-92f420cb.js";import{C as o}from"./p-e3aeaca0.js";import{g as r}from"./p-0075138f.js";import{v as h}from"./p-19c681a3.js";import{A as l,a as c,i as p}from"./p-33d5d1ed.js";const d=a(n,["_XS","_S","_M","_L","_XL"]);a(o,["PRIMARY","NEUTRAL"]);var m;(function(t){t["CIRCLE"]="circle";t["LINE"]="line"})(m||(m={}));var u;(function(t){t["PULSE"]="pulse";t["PROGRESS"]="progress";t["FALSE"]="false"})(u||(u={}));const f={root:"gov-skeleton"};const v=t(class t extends i{constructor(){super();this.__registerHost();this.items=[];this.size="m";this.color="neutral";this.shape="line";this.width=null;this.height=null;this.animation="progress";this.inheritedAttributes={};this.h=r(this.host)}validateSize(t){h(d,t,f.root)}validateShape(t){h(m,t,f.root)}validateAnimation(t){h(u,t,f.root)}componentDidLoad(){this.attributeObserver=new l(this.host,((t,i)=>{this.onAriaAttributeChange(t,i)}));this.attributeObserver.startObserving(c)}componentWillLoad(){this.validateSize(this.size);this.validateShape(this.shape);this.validateAnimation(this.animation);this.init();this.inheritedAttributes=p(this.host)}componentWillUpdate(){this.init()}disconnectedCallback(){this.attributeObserver.stopObserving()}onAriaAttributeChange(t,i){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:i})}init(){this.items.fill(1)}get style(){const t={width:null,height:null};if(this.width){t.width=this.width}if(this.height){t.height=this.height}return Object.assign({},t)}render(){return s(e,Object.assign({key:"053d9b648feb39168da5063d1ce8329489172b46",size:this.size,color:this.color,class:{[f.root]:true,circle:this.shape==="circle",line:this.shape==="line",progress:this.animation==="progress",pulse:this.animation==="pulse"}},this.inheritedAttributes,{"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100",role:"progressbar",tabindex:"0",style:this.style}))}get host(){return this}static get watchers(){return{size:["validateSize"],shape:["validateShape"],animation:["validateAnimation"]}}},[0,"gov-skeleton",{size:[1],color:[1],shape:[1],width:[1],height:[1],animation:[1],inheritedAttributes:[32]},undefined,{size:["validateSize"],shape:["validateShape"],animation:["validateAnimation"]}]);function g(){if(typeof customElements==="undefined"){return}const t=["gov-skeleton"];t.forEach((t=>{switch(t){case"gov-skeleton":if(!customElements.get(t)){customElements.define(t,v)}break}}))}g();export{v as G,g as d};
|
|
2
|
+
//# sourceMappingURL=p-6e19816b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SkeletonSizes","pick","Sizes","Colors","SkeletonShapes","SkeletonAnimation","SkeletonClass","root","GovSkeleton","proxyCustomElement","H","constructor","this","items","h","govHost","host","validateSize","newValue","validateProp","validateShape","validateAnimation","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentWillLoad","size","shape","animation","init","inheritedAttributes","inheritAriaAttributes","componentWillUpdate","disconnectedCallback","stopObserving","removeAttribute","Object","assign","fill","style","dimenssionsStyles","width","height","render","Host","key","color","class","circle","line","progress","pulse","role","tabindex"],"sources":["../../../packages/core/src/components/gov-loading/skeleton/constants.ts","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.tsx"],"sourcesContent":["import { pick } from \"../../../utils/utils\"\nimport { ValueOf } from \"../../../types/interfaces\"\nimport {Sizes} from \"../../../core/constants/sizes\";\nimport {Colors} from \"../../../core/constants/colors\";\n\nexport const SkeletonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type SkeletonSizesType = `${ValueOf<typeof SkeletonSizes>}`\n\nexport const SkeletonColors = pick(Colors, [\"PRIMARY\", \"NEUTRAL\"])\nexport type SkeletonColorType = `${ValueOf<typeof SkeletonColors>}`\n\nexport enum SkeletonShapes {\n\tCIRCLE = 'circle',\n\tLINE = 'line'\n}\nexport type SkeletonShapesType = `${ValueOf<typeof SkeletonShapes>}`\n\nexport enum SkeletonAnimation {\n\tPULSE = 'pulse',\n\tPROGRESS = 'progress',\n\tFALSE = 'false'\n}\nexport type SkeletonAnimationType = `${ValueOf<typeof SkeletonAnimation>}`\n\nexport const SkeletonClass = {\n\troot: 'gov-skeleton',\n}\n","import {Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {\n\tSkeletonAnimation,\n\tSkeletonAnimationType,\n\tSkeletonClass,\n\tSkeletonColorType,\n\tSkeletonShapes,\n\tSkeletonShapesType,\n\tSkeletonSizes,\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormInputSizesType} from \"../../gov-form/input/constants\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-skeleton\",\n})\nexport class GovSkeleton {\n\th: GovHost\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovSkeletonElement\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Style variation of the skeleton.\n\t */\n\t@Prop() readonly color?: SkeletonColorType = \"neutral\"\n\t/**\n\t * Shape of the skeleton\n\t */\n\t@Prop() shape?: SkeletonShapesType = \"line\"\n\t/**\n\t * Width of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop() width: string = null\n\t/**\n\t * Height of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop() height: string = null\n\t/**\n\t * Animation type\n\t */\n\t@Prop() animation?: SkeletonAnimationType = \"progress\"\n\n\titems: number[] = []\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SkeletonSizes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('shape')\n\tvalidateShape(newValue: string): void {\n\t\tvalidateProp(SkeletonShapes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('animation')\n\tvalidateAnimation(newValue: string): void {\n\t\tvalidateProp(SkeletonAnimation, newValue, SkeletonClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateShape(this.shape)\n\t\tthis.validateAnimation(this.animation)\n\t\tthis.init()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentWillUpdate() {\n\t\tthis.init()\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tinit() {\n\t\tthis.items.fill(1)\n\t}\n\n\tget style() {\n\t\tconst dimenssionsStyles: {\n\t\t\twidth?: string,\n\t\t\theight?: string,\n\t\t} = {\n\t\t\twidth: null,\n\t\t\theight: null,\n\t\t}\n\t\tif (this.width) {\n\t\t\tdimenssionsStyles.width = this.width\n\t\t}\n\n\t\tif (this.height) {\n\t\t\tdimenssionsStyles.height = this.height\n\t\t}\n\n\t\treturn {...dimenssionsStyles}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host size={this.size}\n\t\t\t\t color={this.color}\n\t\t\t\t class={{\n\t\t\t\t\t [SkeletonClass.root]: true,\n\t\t\t\t\t circle: this.shape === \"circle\",\n\t\t\t\t\t line: this.shape === \"line\",\n\t\t\t\t\t progress: this.animation === \"progress\",\n\t\t\t\t\t pulse: this.animation === \"pulse\",\n\t\t\t\t }}\n\t\t\t\t {...this.inheritedAttributes}\n\t\t\t\t aria-busy=\"true\"\n\t\t\t\t aria-valuemin=\"0\"\n\t\t\t\t aria-valuemax=\"100\"\n\t\t\t\t role=\"progressbar\"\n\t\t\t\t tabindex=\"0\"\n\t\t\t\t style={this.style}>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"+RAKO,MAAMA,EAAgBC,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,QAGrCD,EAAKE,EAAQ,CAAC,UAAW,YAGvD,IAAYC,GAAZ,SAAYA,GACXA,EAAA,mBACAA,EAAA,cACA,EAHD,CAAYA,MAAc,KAM1B,IAAYC,GAAZ,SAAYA,GACXA,EAAA,iBACAA,EAAA,uBACAA,EAAA,gBACA,EAJD,CAAYA,MAAiB,KAOtB,MAAMC,EAAgB,CAC5BC,KAAM,gB,MCJMC,EAAWC,EAAA,MAAAD,UAAAE,EAIvB,WAAAC,G,8BA8BAC,KAAAC,MAAkB,G,UAtB2B,I,WAIA,U,WAIR,O,WAIb,K,YAIC,K,eAImB,W,yBAmBD,GA9C1CD,KAAKE,EAAIC,EAAQH,KAAKI,K,CAgCvB,YAAAC,CAAaC,GACZC,EAAanB,EAAekB,EAAUZ,EAAcC,K,CAIrD,aAAAa,CAAcF,GACbC,EAAaf,EAAgBc,EAAUZ,EAAcC,K,CAItD,iBAAAc,CAAkBH,GACjBC,EAAad,EAAmBa,EAAUZ,EAAcC,K,CAKzD,gBAAAe,GACCV,KAAKW,kBAAoB,IAAIC,EAAkBZ,KAAKI,MAAM,CAACS,EAAeP,KACzEN,KAAKc,sBAAsBD,EAAeP,EAAS,IAGpDN,KAAKW,kBAAkBI,eAAeC,E,CAGvC,iBAAAC,GACCjB,KAAKK,aAAaL,KAAKkB,MACvBlB,KAAKQ,cAAcR,KAAKmB,OACxBnB,KAAKS,kBAAkBT,KAAKoB,WAC5BpB,KAAKqB,OACLrB,KAAKsB,oBAAsBC,EAAsBvB,KAAKI,K,CAGvD,mBAAAoB,GACCxB,KAAKqB,M,CAGN,oBAAAI,GACCzB,KAAKW,kBAAkBe,e,CAGxB,qBAAAZ,CAAsBD,EAAuBP,GAC5CN,KAAKI,KAAKuB,gBAAgBd,GAC1Bb,KAAKsB,oBAAmBM,OAAAC,OAAAD,OAAAC,OAAA,GAAO7B,KAAKsB,qBAAmB,CAAET,CAACA,GAAgBP,G,CAG3E,IAAAe,GACCrB,KAAKC,MAAM6B,KAAK,E,CAGjB,SAAIC,GACH,MAAMC,EAGF,CACHC,MAAO,KACPC,OAAQ,MAET,GAAIlC,KAAKiC,MAAO,CACfD,EAAkBC,MAAQjC,KAAKiC,K,CAGhC,GAAIjC,KAAKkC,OAAQ,CAChBF,EAAkBE,OAASlC,KAAKkC,M,CAGjC,OAAAN,OAAAC,OAAA,GAAWG,E,CAGZ,MAAAG,GACC,OACCjC,EAACkC,EAAIR,OAAAC,OAAA,CAAAQ,IAAA,2CAACnB,KAAMlB,KAAKkB,KACdoB,MAAOtC,KAAKsC,MACZC,MAAO,CACN,CAAC7C,EAAcC,MAAO,KACtB6C,OAAQxC,KAAKmB,QAAU,SACvBsB,KAAMzC,KAAKmB,QAAU,OACrBuB,SAAU1C,KAAKoB,YAAc,WAC7BuB,MAAO3C,KAAKoB,YAAc,UAEvBpB,KAAKsB,oBAAmB,aAClB,OAAM,gBACF,IAAG,gBACH,MACdsB,KAAK,cACLC,SAAS,IACTd,MAAO/B,KAAK+B,Q","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as e,H as s,h as a,d as t}from"./p-ae3dada7.js";import{A as c}from"./p-07165d99.js";import{v as i}from"./p-9a93146e.js";import{d as o}from"./p-7501abe8.js";import{d as n}from"./p-e0e2e9c1.js";import{g as r}from"./p-0075138f.js";const d=e(class e extends s{constructor(){super();this.__registerHost();this.label=undefined;this.wcagLabel=undefined;this.h=r(this.host)}async componentDidRender(){if(o()){await n(500);await this.validateWcag()}}render(){return a(t,{key:"d2b3c1f40f3c5eab7b179c68985d23ed776e9337",class:this.h.classes(c.root)},this.label?a("p",{class:c.label},this.label):null,a("div",{key:"bbceab5ca1b5443eb7aa8074c2f788fe0e3e7090",class:c.list,role:"list","aria-label":this.wcagLabel},a("slot",{key:"6d1a9999824cdc35e28543d80518855057cf99ce"})))}async validateWcag(){i(this.wcagLabel,"wcag-label",c.root)}get host(){return this}},[4,"gov-attachments",{label:[1],wcagLabel:[1,"wcag-label"],validateWcag:[64]}]);function l(){if(typeof customElements==="undefined"){return}const e=["gov-attachments"];e.forEach((e=>{switch(e){case"gov-attachments":if(!customElements.get(e)){customElements.define(e,d)}break}}))}l();export{d as G,l as d};
|
|
2
|
+
//# sourceMappingURL=p-736e4917.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["GovAttachments","proxyCustomElement","H","constructor","this","h","govHost","host","componentDidRender","canValidateWcagOnRender","delay","validateWcag","render","Host","key","class","classes","AttachmentsClass","root","label","list","role","wcagLabel","validateWcagProp"],"sources":["../../../packages/core/src/components/gov-attachments/gov-attachments.tsx"],"sourcesContent":["import { Component, Element, h, Host, Method, Prop } from '@stencil/core'\nimport { AttachmentsClass } from './constants'\nimport { validateWcagProp } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-attachments',\n})\nexport class GovAttachments {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovAttachmentsElement\n\t/**\n\t * Label of attachments section\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Adds accessible label for the attachment section that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(AttachmentsClass.root)}>\n\t\t\t\t{this.label ? <p class={AttachmentsClass.label}>{this.label}</p> : null}\n\t\t\t\t<div class={AttachmentsClass.list} role=\"list\" aria-label={this.wcagLabel}>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagProp(this.wcagLabel, 'wcag-label', AttachmentsClass.root)\n\t}\n}\n"],"mappings":"mPAWaA,EAAcC,EAAA,MAAAD,UAAAE,EAG1B,WAAAC,G,4EACCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAavB,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNN,KAAKO,c,EAIb,MAAAC,GACC,OACCP,EAACQ,EAAI,CAAAC,IAAA,2CAACC,MAAOX,KAAKC,EAAEW,QAAQC,EAAiBC,OAC3Cd,KAAKe,MAAQd,EAAA,KAAGU,MAAOE,EAAiBE,OAAQf,KAAKe,OAAa,KACnEd,EAAA,OAAAS,IAAA,2CAAKC,MAAOE,EAAiBG,KAAMC,KAAK,OAAM,aAAajB,KAAKkB,WAC/DjB,EAAA,QAAAS,IAAA,8C,CAUJ,kBAAMH,GACLY,EAAiBnB,KAAKkB,UAAW,aAAcL,EAAiBC,K","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as s}from"./p-e0e2e9c1.js";const n=typeof window!=="undefined";const o=o=>n&&window&&s(o,window);const e=()=>{const s={canValidateWcagOnRender:false,warningLog:false,errorLog:false,log:false,iconsPath:"/assets/icons",iconsLazyLoad:true,documentNode:document?document:null};const n=o("GOV_DS_CONFIG");if(n){return Object.assign(Object.assign({},s),n)}return s};const t=()=>e().canValidateWcagOnRender;const a=()=>e().warningLog;const c=()=>e().errorLog;const d=()=>e().log;const r=()=>e().iconsPath;const i=()=>e().iconsLazyLoad;const f=()=>e().documentNode;export{d as a,c as b,i as c,t as d,f as e,n as f,r as i,a as u};
|
|
2
|
+
//# sourceMappingURL=p-7501abe8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isWindow","window","getWindowProperty","name","property","config","defaultConfig","canValidateWcagOnRender","warningLog","errorLog","log","iconsPath","iconsLazyLoad","documentNode","document","windowProperty","Object","assign","useWarningLog","useErrorLog","useLog"],"sources":["../../../packages/core/src/helpers/Dom/win.ts"],"sourcesContent":["import { property } from '../../utils/utils'\n\ninterface IConfig {\n\tcanValidateWcagOnRender: boolean\n\twarningLog: boolean\n\terrorLog: boolean\n\tlog: boolean\n\ticonsPath: string\n\ticonsLazyLoad: boolean\n\tdocumentNode: Document\n}\n\nexport const isWindow = typeof window !== \"undefined\"\n\nconst getWindowProperty = <T>(name: string): Partial<T> | undefined => isWindow && window && property(name as keyof typeof window, window)\n\nconst config = (): IConfig => {\n\tconst defaultConfig: IConfig = {\n\t\tcanValidateWcagOnRender: false,\n\t\twarningLog: false,\n\t\terrorLog: false,\n\t\tlog: false,\n\t\ticonsPath: '/assets/icons',\n\t\ticonsLazyLoad: true,\n\t\tdocumentNode: document ? document : null,\n\t}\n\n\tconst windowProperty = getWindowProperty<IConfig>('GOV_DS_CONFIG')\n\tif (windowProperty) {\n\t\treturn { ...defaultConfig, ...windowProperty }\n\t}\n\n\treturn defaultConfig\n}\n\nexport const canValidateWcagOnRender = (): IConfig['canValidateWcagOnRender'] => config().canValidateWcagOnRender\nexport const useWarningLog = (): IConfig['warningLog'] => config().warningLog\nexport const useErrorLog = (): IConfig['errorLog'] => config().errorLog\nexport const useLog = (): IConfig['log'] => config().log\nexport const iconsPath = (): IConfig['iconsPath'] => config().iconsPath\nexport const iconsLazyLoad = (): IConfig['iconsLazyLoad'] => config().iconsLazyLoad\nexport const documentNode = (): IConfig['documentNode'] => config().documentNode\n"],"mappings":"0CAYaA,SAAkBC,SAAW,YAE1C,MAAMC,EAAwBC,GAAyCH,GAAYC,QAAUG,EAASD,EAA6BF,QAEnI,MAAMI,EAAS,KACd,MAAMC,EAAyB,CAC9BC,wBAAyB,MACzBC,WAAY,MACZC,SAAU,MACVC,IAAK,MACLC,UAAW,gBACXC,cAAe,KACfC,aAAcC,SAAWA,SAAW,MAGrC,MAAMC,EAAiBb,EAA2B,iBAClD,GAAIa,EAAgB,CACnB,OAAAC,OAAAC,OAAAD,OAAAC,OAAA,GAAYX,GAAkBS,E,CAG/B,OAAOT,CAAa,E,MAGRC,EAA0B,IAA0CF,IAASE,wB,MAC7EW,EAAgB,IAA6Bb,IAASG,W,MACtDW,EAAc,IAA2Bd,IAASI,S,MAClDW,EAAS,IAAsBf,IAASK,I,MACxCC,EAAY,IAA4BN,IAASM,U,MACjDC,EAAgB,IAAgCP,IAASO,c,MACzDC,EAAe,IAA+BR,IAASQ,oB","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as t,H as s,c as i,h as e,d as n}from"./p-ae3dada7.js";import{g as a,b as h,c as o}from"./p-255d0471.js";import{g as d,c,t as r,d as l}from"./p-0075138f.js";import{v as u}from"./p-19c681a3.js";import{c as f}from"./p-95d41a3b.js";import{A as p,a as m,i as b}from"./p-33d5d1ed.js";import{d as v}from"./p-1366ed8d.js";import{d as g}from"./p-d5f25595.js";var y;(function(t){t["INPUT"]="input";t["TEXTAREA"]="textarea"})(y||(y={}));const w=t(class t extends s{constructor(){super();this.__registerHost();this.govFocus=i(this,"gov-focus",7);this.govBlur=i(this,"gov-blur",7);this.govInput=i(this,"gov-input",7);this.govKeyUp=i(this,"gov-keyup",7);this.govHydrated=i(this,"gov-hydrated",7);this.govKeyDown=i(this,"gov-keydown",7);this.value=undefined;this.identifier=undefined;this.success=undefined;this.size="m";this.name=undefined;this.multiline=undefined;this.rows=undefined;this.cols=undefined;this.required=false;this.disabled=false;this.placeholder=undefined;this.readonly=undefined;this.minlength=undefined;this.maxlength=undefined;this.min=undefined;this.max=undefined;this.autocomplete=undefined;this.autocorrect=undefined;this.spellcheck=undefined;this.inputLang=undefined;this.type=undefined;this.inputType="text";this.role=undefined;this.invalid=undefined;this.accessibleShowPasswordLabel="Zobrazit heslo";this.accessibleHidePasswordLabel="Skrýt heslo";this.focused=undefined;this.showPassword=false;this.inheritedAttributes={};this.h=d(this.host);this.inputId=f("GovInput");this.f=a(this.h)}validateSize(t){u(o,t,h.root)}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("success",c(this.success));this.f.passAttrToControl("disabled",c(this.disabled));this.f.passAttrToControl("invalid",c(this.invalid));this.f.passAttrToControl("type",this.multiline?y.TEXTAREA:y.INPUT)}componentDidLoad(){this.attributeObserver=new p(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(m);this.govHydrated.emit()}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=b(this.host)}componentDidRender(){this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required))}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}disconnectedCallback(){this.attributeObserver.stopObserving()}render(){const t=this.multiline?y.TEXTAREA:y.INPUT;return e(n,{key:"8b60864f0792fe1946d4b7cb6489cff0ffc767e1",class:h.root,size:this.size,type:this.type},this.h.hasSlot("prefix")&&e("slot",{key:"4d5d0bb755acbb42033f572633e4969c8e6e8b36",name:"prefix"}),e("span",{key:"eaac4a690052077ca631ae1e9c69a65518a1902f",class:"element"},this.h.hasSlot("left-icon")&&e("slot",{key:"75c58db96fdda7395ee77c9a71b5b01f2fe92503",name:"left-icon"}),this.h.hasSlot("right-icon")&&this.inputType!=="password"&&e("slot",{key:"a3fb32c7d9103fed20f769c5220ebe8d0254efac",name:"right-icon"}),this.success&&!this.multiline&&e("gov-icon",{key:"ef85a7526e0542007cf6978e1dd9f9f872a529f7",slot:"validation-icon",class:"icon-validation",name:"check-lg"}),this.invalid&&!this.multiline&&e("gov-icon",{key:"0869b21bce101fde9b5beb169e042ca72f2d2c52",slot:"validation-icon",class:"icon-validation",name:"exclamation-lg"}),e(t,Object.assign({key:"51a15f6e77ab64f16b168d392fbe9d68b77c5821",type:this.inputType==="password"&&this.showPassword?"text":this.inputType,disabled:this.disabled,id:this.identifier||this.inputId,name:this.name,onFocus:this.onFocusHandler.bind(this),onInput:this.onInputHandler.bind(this),onBlur:this.onBlurHandler.bind(this),onKeyUp:this.onKeyUpHandler.bind(this),onKeyDown:this.onKeyDownHandler.bind(this),ref:t=>this.inputRef=t,placeholder:this.placeholder,spellcheck:r(this.spellcheck),lang:this.inputLang,readonly:r(this.readonly),autocomplete:l(this.autocomplete),autocorrect:l(this.autocorrect),minlength:this.minlength,maxlength:this.maxlength,min:this.min,max:this.max,required:this.required,rows:this.rows,cols:this.cols,role:this.role,value:this.value},this.inheritedAttributes,{"aria-required":r(this.required),"aria-invalid":r(this.invalid),"aria-disabled":r(this.disabled)})),this.inputType==="password"?e("gov-button",{color:"primary",type:"base",size:this.size,"aria-label":this.showPassword?this.accessibleHidePasswordLabel:this.accessibleShowPasswordLabel,"on-gov-click":()=>this.showPassword=!this.showPassword},e("gov-icon",{slot:"left-icon",name:"eye",type:"basic"})):null),this.h.hasSlot("sufix")&&e("slot",{key:"2cec0cab2e419776e89506a47f93936249b47fe9",name:"sufix"}))}onFocusHandler(t){t.stopPropagation();this.focused=true;this.govFocus.emit({component:h.root,value:this.value,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.focused=false;this.govBlur.emit({component:h.root,value:this.value,originalEvent:t})}onKeyUpHandler(t){t.stopPropagation();this.govKeyUp.emit({component:h.root,value:this.value,originalEvent:t})}onKeyDownHandler(t){t.stopPropagation();this.govKeyDown.emit({component:h.root,value:this.value,originalEvent:t})}onInputHandler(t){this.value=t.target.value;t.stopPropagation();this.govInput.emit({component:h.root,value:this.value,originalEvent:t})}async setFocus(t){return this.inputRef.focus(t)}async setValue(t){this.value=t}async clearValue(){this.value="";this.inputRef.value=""}async getRef(){return this.inputRef}get host(){return this}static get watchers(){return{size:["validateSize","watchControlAttrs"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"]}}},[4,"gov-form-input",{value:[1537],identifier:[1],success:[516],size:[1],name:[1],multiline:[4],rows:[2],cols:[2],required:[516],disabled:[516],placeholder:[1],readonly:[4],minlength:[2],maxlength:[2],min:[8],max:[8],autocomplete:[4],autocorrect:[4],spellcheck:[4],inputLang:[1,"input-lang"],type:[1],inputType:[1,"input-type"],role:[1],invalid:[516],accessibleShowPasswordLabel:[1,"accessible-show-password-label"],accessibleHidePasswordLabel:[1,"accessible-hide-password-label"],focused:[32],showPassword:[32],inheritedAttributes:[32],setFocus:[64],setValue:[64],clearValue:[64],getRef:[64]},undefined,{size:["validateSize","watchControlAttrs"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"]}]);function k(){if(typeof customElements==="undefined"){return}const t=["gov-form-input","gov-button","gov-icon"];t.forEach((t=>{switch(t){case"gov-form-input":if(!customElements.get(t)){customElements.define(t,w)}break;case"gov-button":if(!customElements.get(t)){v()}break;case"gov-icon":if(!customElements.get(t)){g()}break}}))}k();export{w as G,k as d};
|
|
2
|
+
//# sourceMappingURL=p-778e3fff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Tags","GovFormInput","proxyCustomElement","H","constructor","this","h","govHost","host","inputId","createID","f","govForm","validateSize","newValue","validateProp","FormInputSizes","FormInputClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","size","toBoolAttr","success","disabled","invalid","multiline","TEXTAREA","INPUT","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","govHydrated","emit","componentWillLoad","inheritedAttributes","inheritAriaAttributes","componentDidRender","passAttrToLabel","String","required","removeAttribute","Object","assign","disconnectedCallback","stopObserving","render","Tag","Host","key","class","type","hasSlot","name","inputType","slot","showPassword","id","identifier","onFocus","onFocusHandler","bind","onInput","onInputHandler","onBlur","onBlurHandler","onKeyUp","onKeyUpHandler","onKeyDown","onKeyDownHandler","ref","el","inputRef","placeholder","spellcheck","toBoolAttrIfDefined","lang","inputLang","readonly","autocomplete","toOnOffAttrIfDefined","autocorrect","minlength","maxlength","min","max","rows","cols","role","value","color","accessibleHidePasswordLabel","accessibleShowPasswordLabel","e","stopPropagation","focused","govFocus","component","originalEvent","govBlur","govKeyUp","govKeyDown","target","govInput","setFocus","options","focus","setValue","clearValue","getRef"],"sources":["../../../packages/core/src/components/gov-form/input/gov-form-input.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined, toOnOffAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {FormInputClass, FormInputSizes, FormInputSizesType, InputType, Type,} from \"./constants\"\nimport {FormInputEvent} from \"./gov-form-input.types\"\nimport {Nullable} from \"../../../types/interfaces\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\nenum Tags {\n\tINPUT = \"input\",\n\tTEXTAREA = \"textarea\",\n}\n\n@Component({\n\ttag: \"gov-form-input\",\n})\nexport class GovFormInput {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly inputId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.inputId = createID(\"GovInput\")\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormInputElement\n\t/**\n\t * Value of input\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly success: boolean\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Generates a texarea for the possibility of multiple lines\n\t */\n\t@Prop() readonly multiline: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows\n\t */\n\t@Prop() readonly rows: number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols\n\t */\n\t@Prop() readonly cols: number\n\t/**\n\t * 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.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop({reflect:true}) readonly required: boolean = false\n\t/**\n\t * Makes the input component disabled.\n\t */\n\t@Prop({reflect:true}) readonly disabled: boolean = false\n\t/**\n\t * Text that appears in the form control when it has no value set\n\t */\n\t@Prop() readonly placeholder: string\n\t/**\n\t * The value is not editable\n\t */\n\t@Prop() readonly readonly: boolean\n\t/**\n\t * Minimum length (number of characters) of value\n\t */\n\t@Prop() readonly minlength: number\n\t/**\n\t * Maximum length (number of characters) of value\n\t */\n\t@Prop() readonly maxlength: number\n\t/**\n\t * Minimum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly min?: string | number\n\t/**\n\t * Maximum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly max?: string | number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete\n\t */\n\t@Prop() readonly autocomplete: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect\n\t */\n\t@Prop() readonly autocorrect: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck\n\t */\n\t@Prop() readonly spellcheck: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\n\t */\n\t@Prop({attribute: \"input-lang\"}) readonly inputLang: string\n\t/**\n\t * Defined the visual style of input\n\t */\n\t@Prop() readonly type?: Type\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types\n\t */\n\t@Prop({attribute: \"input-type\"}) readonly inputType: InputType = \"text\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role\n\t */\n\t@Prop() readonly role: Nullable<string>\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop({reflect:true}) readonly invalid: boolean\n\t/**\n\t * Accessible text for password display\n\t */\n\t@Prop({attribute: \"accessible-show-password-label\"}) readonly accessibleShowPasswordLabel = 'Zobrazit heslo'\n\t/**\n\t * Accessible text to hide the password\n\t */\n\t@Prop({attribute: \"accessible-hide-password-label\"}) readonly accessibleHidePasswordLabel = 'Skrýt heslo'\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-input\"}) govInput: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keyup\"}) govKeyUp: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-hydrated\"}) govHydrated: EventEmitter<void>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: \"gov-keydown\"}) govKeyDown: EventEmitter<FormInputEvent>\n\t@State() focused: boolean\n\t@State() showPassword: boolean = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormInputSizes, newValue, FormInputClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"success\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"success\", toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", this.multiline ? Tags.TEXTAREA : Tags.INPUT)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t\tthis.govHydrated.emit();\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\trender() {\n\t\tconst Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT\n\n\t\treturn (\n\t\t\t<Host class={FormInputClass.root} size={this.size} type={this.type}>\n\t\t\t\t{this.h.hasSlot(\"prefix\") && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\"/>}\n\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && this.inputType !== 'password' && <slot name=\"right-icon\"/>}\n\n\t\t\t\t\t{this.success && !this.multiline &&\n\t\t\t\t\t\t<gov-icon slot=\"validation-icon\" class=\"icon-validation\" name=\"check-lg\"></gov-icon>}\n\t\t\t\t\t{this.invalid && !this.multiline &&\n\t\t\t\t\t\t<gov-icon slot=\"validation-icon\" class=\"icon-validation\" name=\"exclamation-lg\"></gov-icon>}\n\t\t\t\t\t<Tag\n\t\t\t\t\t\ttype={this.inputType === 'password' && this.showPassword ? 'text' : this.inputType}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tid={this.identifier || this.inputId}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonInput={this.onInputHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\tonKeyUp={this.onKeyUpHandler.bind(this)}\n\t\t\t\t\t\tonKeyDown={this.onKeyDownHandler.bind(this)}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\tspellcheck={toBoolAttrIfDefined(this.spellcheck)}\n\t\t\t\t\t\tlang={this.inputLang}\n\t\t\t\t\t\treadonly={toBoolAttrIfDefined(this.readonly)}\n\t\t\t\t\t\tautocomplete={toOnOffAttrIfDefined(this.autocomplete)}\n\t\t\t\t\t\tautocorrect={toOnOffAttrIfDefined(this.autocorrect)}\n\t\t\t\t\t\tminlength={this.minlength}\n\t\t\t\t\t\tmaxlength={this.maxlength}\n\t\t\t\t\t\tmin={this.min}\n\t\t\t\t\t\tmax={this.max}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\trows={this.rows}\n\t\t\t\t\t\tcols={this.cols}\n\t\t\t\t\t\trole={this.role}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t/>\n\t\t\t\t\t{this.inputType === 'password' ? (\n\t\t\t\t\t\t<gov-button color={'primary'}\n\t\t\t\t\t\t\t\t\ttype={'base'}\n\t\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\t\taria-label={this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel}\n\t\t\t\t\t\t\t\t\ton-gov-click={() => this.showPassword = !this.showPassword}>\n\t\t\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"eye\" type=\"basic\"></gov-icon>\n\t\t\t\t\t\t</gov-button>) : null}\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot(\"sufix\") && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyUpHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyUp.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyDownHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyDown.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLInputElement).value\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Sets the ordered value of the element\n\t */\n\t@Method()\n\tasync setValue(value: string): Promise<void> {\n\t\tthis.value = value\n\t}\n\n\t/**\n\t * Clears input value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = \"\"\n\t\tthis.inputRef.value = \"\"\n\t}\n\n\t/**\n\t * Returns an instance of the native html input element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as t}from"./p-e0e2e9c1.js";import{S as o}from"./p-92f420cb.js";import{C as s}from"./p-e3aeaca0.js";const a=t(o,["_XS","_S","_M","_L","_XL"]);const i=t(s,["PRIMARY","NEUTRAL"]);var n;(function(t){t["TEXT"]="text";t["CHIP"]="chip"})(n||(n={}));var r;(function(t){t["HORIZONTAL"]="horizontal";t["VERTICAL"]="vertical"})(r||(r={}));const _={root:"gov-tabs",tabs:"gov-tabs__tabs",list:"gov-tabs__list",item:"gov-tabs__item",btn:"gov-tabs__btn"};const e={root:"gov-tabs-item",inner:"gov-tabs-item__inner"};export{e as T,_ as a,n as b,i as c,a as d};
|
|
2
|
+
//# sourceMappingURL=p-7f8a24a7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TabSizes","pick","Sizes","TabColors","Colors","TabTypes","TabOrientation","TabsClass","root","tabs","list","item","btn","TabsItemClass","inner"],"sources":["../../../packages/core/src/components/gov-tabs/constants.ts"],"sourcesContent":["import { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\nimport {Sizes} from \"../../core/constants/sizes\";\nimport { Colors } from '../../core/constants/colors'\n\nexport const TabSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type TabSizeType = `${ValueOf<typeof TabSizes>}`\n\nexport const TabColors = pick(Colors, ['PRIMARY', 'NEUTRAL'])\nexport type ColorType = `${ValueOf<typeof TabColors>}`\n\nexport enum TabTypes {\n\tTEXT = 'text',\n\tCHIP = 'chip',\n}\n\nexport type TabType = `${ValueOf<typeof TabTypes>}`\n\nexport enum TabOrientation {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\n\nexport type TabOrientationType = `${ValueOf<typeof TabOrientation>}`\n\nexport const TabsClass = {\n\troot: 'gov-tabs',\n\ttabs: 'gov-tabs__tabs',\n\tlist: 'gov-tabs__list',\n\titem: 'gov-tabs__item',\n\tbtn: 'gov-tabs__btn',\n}\n\nexport const TabsItemClass = {\n\troot: 'gov-tabs-item',\n\tinner: 'gov-tabs-item__inner',\n}\n"],"mappings":"kHAKaA,EAAWC,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,Q,MAGjDC,EAAYF,EAAKG,EAAQ,CAAC,UAAW,Y,IAGtCC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,cACA,EAHD,CAAYA,MAAQ,KAOpB,IAAYC,GAAZ,SAAYA,GACXA,EAAA,2BACAA,EAAA,sBACA,EAHD,CAAYA,MAAc,K,MAObC,EAAY,CACxBC,KAAM,WACNC,KAAM,iBACNC,KAAM,iBACNC,KAAM,iBACNC,IAAK,iB,MAGOC,EAAgB,CAC5BL,KAAM,gBACNM,MAAO,+B","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as t,H as s,c as e,h as i,d as a}from"./p-ae3dada7.js";import{g as o,l as n,m as h}from"./p-255d0471.js";import{g as c,c as r,t as d}from"./p-0075138f.js";import{v as l}from"./p-19c681a3.js";import{c as f}from"./p-95d41a3b.js";import{p as u}from"./p-ded281e6.js";import{t as m}from"./p-26618322.js";import{A as p,a as b,i as v}from"./p-33d5d1ed.js";import{d as g}from"./p-d5f25595.js";const w=t(class t extends s{constructor(){super();this.__registerHost();this.govFocus=e(this,"gov-focus",7);this.govBlur=e(this,"gov-blur",7);this.govChange=e(this,"gov-change",7);this.value=undefined;this.options=undefined;this.identifier=undefined;this.size="m";this.name=undefined;this.required=false;this.success=undefined;this.disabled=false;this.invalid=undefined;this.focused=undefined;this.optionsState=[];this.inheritedAttributes={};this.h=c(this.host);this.f=o(this.h);this.selectId=f("GovSelect")}validateSize(t){l(h,t,n.root)}watchOptions(t){this.optionsState=u(t)}watchControlAttrs(){this.passControlAttrs()}watchValue(){this.markSelectedValue()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("invalid",r(this.invalid));this.f.passAttrToControl("success",r(this.success));this.f.passAttrToControl("disabled",r(this.disabled));this.f.passAttrToControl("type","select")}componentDidLoad(){this.attributeObserver=new p(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(b)}disconnectedCallback(){this.attributeObserver.stopObserving()}componentWillLoad(){this.validateSize(this.size);this.markSelectedValue();this.optionsState=u(this.options);this.inheritedAttributes=v(this.host)}async componentDidRender(){this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required));m((()=>this.markSelectedValue()))}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}markSelectedValue(){this.host.querySelectorAll("option").forEach((t=>{if(t.value===this.value){t.setAttribute("selected","selected")}else{t.removeAttribute("selected")}}))}render(){return i(a,{key:"1603b487cb27e87d0c7d894c52179fc0f10f5889",class:n.root,size:this.size},this.h.hasSlot("prefix")&&i("slot",{key:"6ccaee3373fff628f817bc5c64846dbe70b2a0e1",name:"prefix"}),i("span",{key:"71c8144f67cfb19874fadbc56a5e3b14be80de35",class:"element"},i("gov-icon",{key:"2a95e7d17ae06b1fef26fb7c6b6bca6229992a73",slot:"right-icon",name:"chevron-down",class:"icon-arrow"}),this.h.hasSlot("right-icon")&&!(this.success||this.invalid)&&i("slot",{key:"35b5bd9fb11ed7e7aecefa7a2dc5e32552eb44e5",name:"right-icon"}),this.success&&i("gov-icon",{key:"c35c20feca720276afc86378338a124c31ae72e7",slot:"validation-icon",name:"check-lg"}),this.invalid&&i("gov-icon",{key:"dff3726140aef5632b7ae1f73144a69c042c43eb",slot:"validation-icon",name:"exclamation-lg"}),i("select",Object.assign({key:"1174e88bc1ad6b60c843addd245b936e778a49e4",id:this.identifier||this.selectId,onFocus:this.onFocusHandler.bind(this),onChange:this.onChangeHandler.bind(this),onBlur:this.onBlurHandler.bind(this),required:this.required,name:this.name,disabled:this.disabled,ref:t=>this.selectRef=t},this.inheritedAttributes,{"aria-disabled":d(this.disabled),"aria-required":d(this.required),"aria-invalid":d(this.invalid)}),i("slot",{key:"1cfedcf253a859a468bfc0be2125d8c8da8d92aa"}),Array.isArray(this.optionsState)&&this.optionsState.map((t=>{var s;return i("option",{value:t.value,selected:t.value===this.value,disabled:t===null||t===void 0?void 0:t.disabled},(s=t.label)!==null&&s!==void 0?s:t.value)})))),this.h.hasSlot("sufix")&&i("slot",{key:"f9f301a9b9e64aa83df509479ad21e382052e13a",name:"sufix"}))}onFocusHandler(t){this.focused=true;this.govFocus.emit({component:n.root,originalEvent:t,value:this.value})}onBlurHandler(t){this.focused=false;this.govBlur.emit({component:n.root,originalEvent:t,value:this.value})}onChangeHandler(t){this.value=t.target.value;t.stopPropagation();this.govChange.emit({component:n.root,originalEvent:t,value:this.value})}async setFocus(t){return this.selectRef.focus(t)}async getRef(){return this.selectRef}get host(){return this}static get watchers(){return{size:["validateSize","watchControlAttrs"],options:["watchOptions"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"],value:["watchValue"]}}},[4,"gov-form-select",{value:[1537],options:[1537],identifier:[1],size:[1],name:[1],required:[4],success:[4],disabled:[4],invalid:[4],focused:[32],optionsState:[32],inheritedAttributes:[32],setFocus:[64],getRef:[64]},undefined,{size:["validateSize","watchControlAttrs"],options:["watchOptions"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"],value:["watchValue"]}]);function y(){if(typeof customElements==="undefined"){return}const t=["gov-form-select","gov-icon"];t.forEach((t=>{switch(t){case"gov-form-select":if(!customElements.get(t)){customElements.define(t,w)}break;case"gov-icon":if(!customElements.get(t)){g()}break}}))}y();export{w as G,y as d};
|
|
2
|
+
//# sourceMappingURL=p-7fd16831.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["GovFormSelect","proxyCustomElement","H","constructor","this","h","govHost","host","f","govForm","selectId","createID","validateSize","newValue","validateProp","FormSelectSizes","FormSelectClass","root","watchOptions","optionsState","propsValueToArray","watchControlAttrs","passControlAttrs","watchValue","markSelectedValue","passAttrToControl","size","toBoolAttr","invalid","success","disabled","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","disconnectedCallback","stopObserving","componentWillLoad","options","inheritedAttributes","inheritAriaAttributes","componentDidRender","passAttrToLabel","String","required","tick","removeAttribute","Object","assign","querySelectorAll","forEach","option","value","setAttribute","render","Host","key","class","hasSlot","name","slot","id","identifier","onFocus","onFocusHandler","bind","onChange","onChangeHandler","onBlur","onBlurHandler","ref","el","selectRef","toBoolAttrIfDefined","Array","isArray","map","selected","_a","label","e","focused","govFocus","emit","component","originalEvent","govBlur","target","stopPropagation","govChange","setFocus","focus","getRef"],"sources":["../../../packages/core/src/components/gov-form/select/gov-form-select.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {govForm} from '../../../helpers/Dom/form'\nimport {GovForm} from '../../../helpers/Dom/form.types'\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from '../../../helpers/Dom/template'\nimport {GovHost} from '../../../helpers/Dom/template.types'\nimport {validateProp} from '../../../helpers/Validate/props'\nimport {createID} from '../../../utils/string.utils'\nimport {FormSelectClass, FormSelectSizes, FormSelectSizesType,} from './constants'\nimport {FormSelectEvent, FormSelectOption} from './gov-form-select.types'\nimport {propsValueToArray} from \"../../../utils/array.utils\";\nimport {tick} from \"../../../utils/stencil.utils\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: 'gov-form-select',\n})\nexport class GovFormSelect {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate selectRef?: HTMLSelectElement\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate readonly selectId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t\tthis.selectId = createID('GovSelect')\n\t}\n\n\t@Element() host: HTMLGovFormSelectElement\n\t/**\n\t * Value of select\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Options of select\n\t */\n\t@Prop({reflect: true, mutable: true}) options?: string | FormSelectOption[]\n\t/**\n\t * Custom select identifier.\n\t */\n\t@Prop({attribute: 'identifier'}) readonly identifier: string\n\t/**\n\t * Select’s size.\n\t */\n\t@Prop() readonly size?: FormSelectSizesType = 'm'\n\t/**\n\t * Name of the select.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * 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.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop() readonly success: boolean\n\t/**\n\t * Makes the select component disabled.\n\t * This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Emitted when the select has focus.\n\t */\n\t@Event({eventName: 'gov-focus'}) govFocus: EventEmitter<FormSelectEvent>\n\t/**\n\t * Emitted when the select loses focus.\n\t */\n\t@Event({eventName: 'gov-blur'}) govBlur: EventEmitter<FormSelectEvent>\n\t/**\n\t * Emitted when the select change value.\n\t */\n\t@Event({eventName: 'gov-change'}) govChange: EventEmitter<FormSelectEvent>\n\t@State() focused: boolean\n\t@State() optionsState: FormSelectOption[] = []\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormSelectSizes, newValue, FormSelectClass.root)\n\t}\n\n\t@Watch('options')\n\twatchOptions(newValue: string | FormSelectOption[]): void {\n\t\tthis.optionsState = propsValueToArray(newValue)\n\t}\n\n\t@Watch('disabled')\n\t@Watch('invalid')\n\t@Watch('success')\n\t@Watch('size')\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@Watch('value')\n\twatchValue(): void {\n\t\tthis.markSelectedValue()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl('size', this.size)\n\t\tthis.f.passAttrToControl('invalid', toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl('success', toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl('disabled', toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl('type', 'select')\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\n\t\tthis.markSelectedValue()\n\n\t\tthis.optionsState = propsValueToArray(this.options)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel('required', String(this.required))\n\t\ttick(() => this.markSelectedValue())\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tprivate markSelectedValue() {\n\t\tthis.host.querySelectorAll('option').forEach((option: HTMLOptionElement) => {\n\t\t\tif (option.value === this.value) {\n\t\t\t\toption.setAttribute('selected', 'selected')\n\t\t\t} else {\n\t\t\t\toption.removeAttribute('selected')\n\t\t\t}\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={FormSelectClass.root} size={this.size}>\n\t\t\t\t{this.h.hasSlot('prefix') && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"chevron-down\" class=\"icon-arrow\"></gov-icon>\n\t\t\t\t\t{this.h.hasSlot('right-icon') && !(this.success || this.invalid) && <slot name=\"right-icon\"/>}\n\t\t\t\t\t{this.success && <gov-icon slot=\"validation-icon\" name=\"check-lg\"></gov-icon>}\n\t\t\t\t\t{this.invalid && <gov-icon slot=\"validation-icon\" name=\"exclamation-lg\"></gov-icon>}\n\t\t\t\t\t<select\n\t\t\t\t\t\tid={this.identifier || this.selectId}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tref={el => (this.selectRef = el as HTMLSelectElement)}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot></slot>\n\t\t\t\t\t\t{Array.isArray(this.optionsState) && this.optionsState.map((option) => {\n\t\t\t\t\t\t\treturn (<option value={option.value} selected={option.value === this.value}\n\t\t\t\t\t\t\t\t\t\t\tdisabled={option?.disabled}>{option.label ?? option.value}</option>)\n\t\t\t\t\t\t})}\n\t\t\t\t\t</select>\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot('sufix') && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormSelectClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tvalue: this.value,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormSelectClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tvalue: this.value,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.value = (e.target as HTMLSelectElement).value\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormSelectClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tvalue: this.value,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.selectRef.focus(options)\n\t}\n\n\t/**\n\t * Returns an instance of the native html select element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLSelectElement> {\n\t\treturn this.selectRef\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function n(){return Math.random().toString(16).slice(-4)}function r(r){return`${r}-${n()}${n()}-${n()}-${n()}-${n()}-${n()}${n()}${n()}`}function t(n){if(typeof n!=="string")return n;return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function u(n){if(typeof n!=="string")return n;return n.split(/(\s+)/)}export{r as c,t as r,u as s};
|
|
2
|
+
//# sourceMappingURL=p-95d41a3b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["chr4","Math","random","toString","slice","createID","prefix","removeDiacritics","string","normalize","replace","splitByWhitespace","split"],"sources":["../../../packages/core/src/utils/string.utils.ts"],"sourcesContent":["function chr4(): string {\n\treturn Math.random().toString(16).slice(-4)\n}\n\nexport function createID(prefix: string): string {\n\treturn `${prefix}-${chr4()}${chr4()}-${chr4()}-${chr4()}-${chr4()}-${chr4()}${chr4()}${chr4()}`\n}\n\nexport function removeDiacritics(string: any): string | any {\n\tif (typeof string !== 'string') return string\n\treturn string.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '')\n}\n\nexport function splitByWhitespace(string: any): string | any {\n\tif (typeof string !== 'string') return string\n\treturn string.split(/(\\s+)/)\n}\n"],"mappings":"AAAA,SAASA,IACR,OAAOC,KAAKC,SAASC,SAAS,IAAIC,OAAO,EAC1C,C,SAEgBC,EAASC,GACxB,MAAO,GAAGA,KAAUN,MAASA,OAAUA,OAAUA,OAAUA,OAAUA,MAASA,MAASA,KACxF,C,SAEgBO,EAAiBC,GAChC,UAAWA,IAAW,SAAU,OAAOA,EACvC,OAAOA,EAAOC,UAAU,OAAOC,QAAQ,mBAAoB,GAC5D,C,SAEgBC,EAAkBH,GACjC,UAAWA,IAAW,SAAU,OAAOA,EACvC,OAAOA,EAAOI,MAAM,QACrB,Q","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{g as e}from"./p-1a0b3b4f.js";import{s as r}from"./p-95d41a3b.js";import{e as t}from"./p-7501abe8.js";import{i}from"./p-2aedc81e.js";const n=(r,t,i)=>{if(r===undefined||String(r).length===0){e(`[${i}]: The (${t}) attribute is important for correct accessibility.`)}};const a=(i,n,a)=>{if(typeof i==="undefined"||i===undefined){return true}if(String(i).length===0){e(`[${a}]: Attribute (${n}) is defined with an empty value.`);return false}let s=[];const f=r(i);if(Array.isArray(f)){s=f.filter((function(e){return e.trim().length>0}))}return!!s.filter((e=>{if(t().getElementById(e)===null){return false}else{return true}})).length};const s=(r,n,a,s=undefined)=>{if(i(r)&&r.length>0){return true}if(typeof n==="string"&&n.length>0){const e=t().getElementById(n);if(e){return true}}e(`[${a}]: The element has no defined aria-label or aria-labelledby attribute.`,s);return false};export{s as a,a as b,n as v};
|
|
2
|
+
//# sourceMappingURL=p-9a93146e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["validateWcagProp","value","propName","component","undefined","String","length","govWarningLog","validateWcagRef","referenceId","name","strings","referenceIds","splitByWhitespace","Array","isArray","filter","e","trim","documentNode","getElementById","validateAccessibleLabel","label","labelledBy","el","isString","labelledByEl"],"sources":["../../../packages/core/src/helpers/Validate/wcag.ts"],"sourcesContent":["import {govWarningLog} from '../Log/gov.log'\nimport {splitByWhitespace} from '../../utils/string.utils'\nimport {documentNode} from '../Dom/win'\nimport {isString} from \"../../utils/helpers.types\";\n\nexport const validateWcagProp = (value: string | undefined, propName: string, component: string): void => {\n\tif (value === undefined || String(value).length === 0) {\n\t\tgovWarningLog(`[${component}]: The (${propName}) attribute is important for correct accessibility.`)\n\t}\n}\n\nexport const validateWcagRef = (referenceId: string, name: string, component: string): boolean => {\n\tif (typeof referenceId === 'undefined' || referenceId === undefined) {\n\t\treturn true\n\t}\n\tif (String(referenceId).length === 0) {\n\t\tgovWarningLog(`[${component}]: Attribute (${name}) is defined with an empty value.`)\n\t\treturn false\n\t}\n\tlet strings = []\n\tconst referenceIds = splitByWhitespace(referenceId)\n\tif (Array.isArray(referenceIds)) {\n\t\tstrings = referenceIds.filter(function (e) {\n\t\t\treturn e.trim().length > 0\n\t\t})\n\t}\n\n\treturn !!strings.filter(referenceId => {\n\t\tif (documentNode().getElementById(referenceId) === null) {\n\t\t\t//govWarningLog(`[${component}][${name}]: Reference to element with id (${referenceId}) does not exist.`)\n\t\t\treturn false\n\t\t} else {\n\t\t\treturn true\n\t\t}\n\t}).length\n}\n\nexport const validateWcagLabelFor = (inputId: string, labelledBy: string | undefined, component: string): boolean => {\n\tconst labelEl = documentNode().querySelector(`[for=${inputId}]`)\n\tif (labelEl === null) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl === null) {\n\t\t\tgovWarningLog(`[${component}]: The form element has no defined wcag-label or wcag-labelled-by attribute.`)\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n\nexport const validateAccessibleLabel = (label: string | undefined, labelledBy: string | undefined, component: string, el: HTMLElement = undefined): boolean => {\n\tif (isString(label) && label.length > 0) {\n\t\treturn true\n\t}\n\tif (typeof labelledBy === 'string' && labelledBy.length > 0) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl) {\n\t\t\treturn true\n\t\t}\n\t}\n\tgovWarningLog(`[${component}]: The element has no defined aria-label or aria-labelledby attribute.`, el)\n\treturn false\n}\n"],"mappings":"iJAKaA,EAAmB,CAACC,EAA2BC,EAAkBC,KAC7E,GAAIF,IAAUG,WAAaC,OAAOJ,GAAOK,SAAW,EAAG,CACtDC,EAAc,IAAIJ,YAAoBD,uD,SAI3BM,EAAkB,CAACC,EAAqBC,EAAcP,KAClE,UAAWM,IAAgB,aAAeA,IAAgBL,UAAW,CACpE,OAAO,I,CAER,GAAIC,OAAOI,GAAaH,SAAW,EAAG,CACrCC,EAAc,IAAIJ,kBAA0BO,sCAC5C,OAAO,K,CAER,IAAIC,EAAU,GACd,MAAMC,EAAeC,EAAkBJ,GACvC,GAAIK,MAAMC,QAAQH,GAAe,CAChCD,EAAUC,EAAaI,QAAO,SAAUC,GACvC,OAAOA,EAAEC,OAAOZ,OAAS,C,IAI3B,QAASK,EAAQK,QAAOP,IACvB,GAAIU,IAAeC,eAAeX,KAAiB,KAAM,CAExD,OAAO,K,KACD,CACN,OAAO,I,KAENH,MAAM,E,MAeGe,EAA0B,CAACC,EAA2BC,EAAgCpB,EAAmBqB,EAAkBpB,aACvI,GAAIqB,EAASH,IAAUA,EAAMhB,OAAS,EAAG,CACxC,OAAO,I,CAER,UAAWiB,IAAe,UAAYA,EAAWjB,OAAS,EAAG,CAC5D,MAAMoB,EAAeP,IAAeC,eAAeG,GACnD,GAAIG,EAAc,CACjB,OAAO,I,EAGTnB,EAAc,IAAIJ,0EAAmFqB,GACrG,OAAO,KAAK,S","ignoreList":[]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const e="core";const t={allRenderFn:true,appendChildSlotFix:true,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:true,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:true,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:true,formAssociated:false,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:false,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:true,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:false,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var r=Object.defineProperty;var l=(e,t)=>{for(var l in t)r(e,l,{get:t[l],enumerable:true})};var n=new WeakMap;var s=e=>n.get(e);var i=(e,t)=>{const r={t:0,$hostElement$:e,l:t,i:new Map};{r.o=new Promise((e=>r.u=e));e["s-p"]=[];e["s-rc"]=[]}return n.set(e,r)};var o=(e,t)=>t in e;var a=(e,t)=>(0,console.error)(e,t);var f=new Map;var u=(e,t,r)=>{const l=e.v.replace(/-/g,"_");const n=e.p;if(!n){return void 0}const s=f.get(n);if(s){return s[l]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${n}.entry.js${""}`).then((e=>{{f.set(n,e)}return e[l]}),a)};var c=new Map;var v="r";var d="o";var p="s";var $="t";var h="s-id";var m="sty-id";var y="c-id";var b="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w="http://www.w3.org/1999/xlink";var g=typeof window!=="undefined"?window:{};var S=g.document||{head:{}};var k=g.HTMLElement||class{};var C={t:0,$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,l)=>e.addEventListener(t,r,l),rel:(e,t,r,l)=>e.removeEventListener(t,r,l),ce:(e,t)=>new CustomEvent(e,t)};var x=t.shadowDom;var j=e=>Promise.resolve(e);var O=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var D=false;var R=[];var L=[];var A=(e,t)=>r=>{e.push(r);if(!D){D=true;if(t&&C.t&4){M(E)}else{C.raf(E)}}};var F=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){a(e)}}e.length=0};var E=()=>{F(R);{F(L);if(D=R.length>0){C.raf(E)}}};var M=e=>j().then(e);var T=A(L,true);var U=e=>{const t=new URL(e,C.$);return t.origin!==g.location.origin?t.href:t.pathname};var P=e=>C.$=e;var N={};var W=e=>e!=null;var I=e=>{e=typeof e;return e==="object"||e==="function"};function _(e){var t,r,l;return(l=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?l:void 0}var B={};l(B,{err:()=>Q,map:()=>q,ok:()=>H,unwrap:()=>z,unwrapErr:()=>K});var H=e=>({isOk:true,isErr:false,value:e});var Q=e=>({isOk:false,isErr:true,value:e});function q(e,t){if(e.isOk){const r=t(e.value);if(r instanceof Promise){return r.then((e=>H(e)))}else{return H(r)}}if(e.isErr){const t=e.value;return Q(t)}throw"should never get here"}var z=e=>{if(e.isOk){return e.value}else{throw e.value}};var K=e=>{if(e.isErr){return e.value}else{throw e.value}};var V=(e,t="")=>{{return()=>{}}};var X=(e,t)=>{{return()=>{}}};var G=(e,t,...r)=>{let l=null;let n=null;let s=null;let i=false;let o=false;const a=[];const f=t=>{for(let r=0;r<t.length;r++){l=t[r];if(Array.isArray(l)){f(l)}else if(l!=null&&typeof l!=="boolean"){if(i=typeof e!=="function"&&!I(l)){l=String(l)}if(i&&o){a[a.length-1].h+=l}else{a.push(i?J(null,l):l)}o=i}}};f(r);if(t){if(t.key){n=t.key}if(t.name){s=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,a,ee)}const u=J(e,null);u.m=t;if(a.length>0){u.S=a}{u.k=n}{u.C=s}return u};var J=(e,t)=>{const r={t:0,j:e,h:t,O:null,S:null};{r.m=null}{r.k=null}{r.C=null}return r};var Y={};var Z=e=>e&&e.j===Y;var ee={forEach:(e,t)=>e.map(te).forEach(t),map:(e,t)=>e.map(te).map(t).map(re)};var te=e=>({vattrs:e.m,vchildren:e.S,vkey:e.k,vname:e.C,vtag:e.j,vtext:e.h});var re=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return G(e.vtag,t,...e.vchildren||[])}const t=J(e.vtag,e.vtext);t.m=e.vattrs;t.S=e.vchildren;t.k=e.vkey;t.C=e.vname;return t};var le=(e,t,r,l)=>{const n=V("hydrateClient",t);const s=e.shadowRoot;const i=[];const o=[];const a=null;const f=l.D=J(t,null);if(!C.R){se(S.body,C.R=new Map)}e[h]=r;e.removeAttribute(h);ne(f,i,o,a,e,e,r);i.map((e=>{const r=e.L+"."+e.A;const l=C.R.get(r);const n=e.O;if(l&&x&&l["s-en"]===""){l.parentNode.insertBefore(n,l.nextSibling)}if(!s){n["s-hn"]=t;if(l){n["s-ol"]=l;n["s-ol"]["s-nr"]=n}}C.R.delete(r)}));n()};var ne=(e,t,r,l,n,s,i)=>{let o;let a;let f;let u;if(s.nodeType===1){o=s.getAttribute(y);if(o){a=o.split(".");if(a[0]===i||a[0]==="0"){f={t:0,L:a[0],A:a[1],F:a[2],M:a[3],j:s.tagName.toLowerCase(),O:s,m:null,S:null,k:null,C:null,h:null};t.push(f);s.removeAttribute(y);if(!e.S){e.S=[]}e.S[f.M]=f;e=f;if(l&&f.F==="0"){l[f.M]=f.O}}}if(s.shadowRoot){for(u=s.shadowRoot.childNodes.length-1;u>=0;u--){ne(e,t,r,l,n,s.shadowRoot.childNodes[u],i)}}for(u=s.childNodes.length-1;u>=0;u--){ne(e,t,r,l,n,s.childNodes[u],i)}}else if(s.nodeType===8){a=s.nodeValue.split(".");if(a[1]===i||a[1]==="0"){o=a[0];f={t:0,L:a[1],A:a[2],F:a[3],M:a[4],O:s,m:null,S:null,k:null,C:null,j:null,h:null};if(o===$){f.O=s.nextSibling;if(f.O&&f.O.nodeType===3){f.h=f.O.textContent;t.push(f);s.remove();if(!e.S){e.S=[]}e.S[f.M]=f;if(l&&f.F==="0"){l[f.M]=f.O}}}else if(f.L===i){if(o===p){f.j="slot";if(a[5]){s["s-sn"]=f.C=a[5]}else{s["s-sn"]=""}s["s-sr"]=true;r.push(f);if(!e.S){e.S=[]}e.S[f.M]=f}else if(o===v){{n["s-cr"]=s;s["s-cn"]=true}}}}}else if(e&&e.j==="style"){const t=J(null,s.textContent);t.O=s;t.M="0";e.S=[t]}};var se=(e,t)=>{if(e.nodeType===1){let r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){se(e.shadowRoot.childNodes[r],t)}}for(r=0;r<e.childNodes.length;r++){se(e.childNodes[r],t)}}else if(e.nodeType===8){const r=e.nodeValue.split(".");if(r[0]===d){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var ie=(e,t)=>{if(e!=null&&!I(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var oe=e=>e;var ae=(e,t,r)=>{const l=oe(e);return{emit:e=>fe(l,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}};var fe=(e,t,r)=>{const l=C.ce(t,r);e.dispatchEvent(l);return l};var ue=new WeakMap;var ce=(e,t,r)=>{let l=c.get(e);if(O&&r){l=l||new CSSStyleSheet;if(typeof l==="string"){l=t}else{l.replaceSync(t)}}else{l=t}c.set(e,l)};var ve=(e,t,r)=>{var l;const n=pe(t);const s=c.get(n);e=e.nodeType===11?e:S;if(s){if(typeof s==="string"){e=e.head||e;let r=ue.get(e);let i;if(!r){ue.set(e,r=new Set)}if(!r.has(n)){if(e.host&&(i=e.querySelector(`[${m}="${n}"]`))){i.innerHTML=s}else{i=S.createElement("style");i.innerHTML=s;const r=(l=C.T)!=null?l:_(S);if(r!=null){i.setAttribute("nonce",r)}const n=!(t.t&1)||t.t&1&&e.nodeName!=="HEAD";if(n){e.insertBefore(i,e.querySelector("link"))}}if(t.t&4){i.innerHTML+=b}if(r){r.add(n)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]}}return n};var de=e=>{const t=e.l;const r=e.$hostElement$;const l=V("attachStyles",t.v);ve(r.getRootNode(),t);l()};var pe=(e,t)=>"sc-"+e.v;var $e=(e,t,r,l,n,s)=>{if(r!==l){let i=o(e,t);let a=t.toLowerCase();if(t==="class"){const t=e.classList;const n=me(r);const s=me(l);t.remove(...n.filter((e=>e&&!s.includes(e))));t.add(...s.filter((e=>e&&!n.includes(e))))}else if(t==="style"){{for(const t in r){if(!l||l[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in l){if(!r||l[t]!==r[t]){if(t.includes("-")){e.style.setProperty(t,l[t])}else{e.style[t]=l[t]}}}}else if(t==="key");else if(t==="ref"){if(l){l(e)}}else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(o(g,a)){t=a.slice(2)}else{t=a[2]+t.slice(3)}if(r||l){const n=t.endsWith(ye);t=t.replace(be,"");if(r){C.rel(e,t,r,n)}if(l){C.ael(e,t,l,n)}}}else{const o=I(l);if((i||o&&l!==null)&&!n){try{if(!e.tagName.includes("-")){const n=l==null?"":l;if(t==="list"){i=false}else if(r==null||e[t]!=n){e[t]=n}}else{e[t]=l}}catch(e){}}let f=false;{if(a!==(a=a.replace(/^xlink\:?/,""))){t=a;f=true}}if(l==null||l===false){if(l!==false||e.getAttribute(t)===""){if(f){e.removeAttributeNS(w,t)}else{e.removeAttribute(t)}}}else if((!i||s&4||n)&&!o){l=l===true?"":l;if(f){e.setAttributeNS(w,t,l)}else{e.setAttribute(t,l)}}}}};var he=/\s/;var me=e=>!e?[]:e.split(he);var ye="Capture";var be=new RegExp(ye+"$");var we=(e,t,r)=>{const l=t.O.nodeType===11&&t.O.host?t.O.host:t.O;const n=e&&e.m||N;const s=t.m||N;{for(const e of ge(Object.keys(n))){if(!(e in s)){$e(l,e,n[e],void 0,r,t.t)}}}for(const e of ge(Object.keys(s))){$e(l,e,n[e],s[e],r,t.t)}};function ge(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var Se;var ke;var Ce;var xe=false;var je=false;var Oe=false;var De=false;var Re=(e,r,l,n)=>{var s;const i=r.S[l];let o=0;let a;let f;let u;if(!xe){Oe=true;if(i.j==="slot"){i.t|=i.S?2:1}}if(i.h!==null){a=i.O=S.createTextNode(i.h)}else if(i.t&1){a=i.O=S.createTextNode("")}else{a=i.O=S.createElement(!xe&&t.slotRelocation&&i.t&2?"slot-fb":i.j);{we(null,i,De)}const r=a.getRootNode();const l=!r.querySelector("body");if(!l&&t.scoped&&W(Se)&&a["s-si"]!==Se){a.classList.add(a["s-si"]=Se)}if(i.S){for(o=0;o<i.S.length;++o){f=Re(e,i,o);if(f){a.appendChild(f)}}}}a["s-hn"]=Ce;{if(i.t&(2|1)){a["s-sr"]=true;a["s-cr"]=ke;a["s-sn"]=i.C||"";a["s-rf"]=(s=i.m)==null?void 0:s.ref;u=e&&e.S&&e.S[l];if(u&&u.j===i.j&&e.O){{Le(e.O)}}}}return a};var Le=e=>{C.t|=1;const t=e.closest(Ce.toLowerCase());if(t!=null){const r=Array.from(t.childNodes).find((e=>e["s-cr"]));const l=Array.from(e.childNodes);for(const e of r?l.reverse():l){if(e["s-sh"]!=null){Qe(t,e,r!=null?r:null);e["s-sh"]=void 0;Oe=true}}}C.t&=~1};var Ae=(e,r)=>{C.t|=1;const l=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;while(t=t.nextSibling){if(t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Ce){l.push(t)}}}for(let e=l.length-1;e>=0;e--){const t=l[e];if(t["s-hn"]!==Ce&&t["s-ol"]){Qe(Pe(t),t,Ue(t));t["s-ol"].remove();t["s-ol"]=void 0;t["s-sh"]=void 0;Oe=true}if(r){Ae(t,r)}}C.t&=~1};var Fe=(e,t,r,l,n,s)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e;let o;for(;n<=s;++n){if(l[n]){o=Re(null,r,n);if(o){l[n].O=o;Qe(i,o,Ue(t))}}}};var Ee=(e,t,r)=>{for(let l=t;l<=r;++l){const t=e[l];if(t){const e=t.O;He(t);if(e){{je=true;if(e["s-ol"]){e["s-ol"].remove()}else{Ae(e,true)}}e.remove()}}}};var Me=(e,t,r,l,n=false)=>{let s=0;let i=0;let o=0;let a=0;let f=t.length-1;let u=t[0];let c=t[f];let v=l.length-1;let d=l[0];let p=l[v];let $;let h;while(s<=f&&i<=v){if(u==null){u=t[++s]}else if(c==null){c=t[--f]}else if(d==null){d=l[++i]}else if(p==null){p=l[--v]}else if(Te(u,d,n)){Ne(u,d,n);u=t[++s];d=l[++i]}else if(Te(c,p,n)){Ne(c,p,n);c=t[--f];p=l[--v]}else if(Te(u,p,n)){if(u.j==="slot"||p.j==="slot"){Ae(u.O.parentNode,false)}Ne(u,p,n);Qe(e,u.O,c.O.nextSibling);u=t[++s];p=l[--v]}else if(Te(c,d,n)){if(u.j==="slot"||p.j==="slot"){Ae(c.O.parentNode,false)}Ne(c,d,n);Qe(e,c.O,u.O);c=t[--f];d=l[++i]}else{o=-1;{for(a=s;a<=f;++a){if(t[a]&&t[a].k!==null&&t[a].k===d.k){o=a;break}}}if(o>=0){h=t[o];if(h.j!==d.j){$=Re(t&&t[i],r,o)}else{Ne(h,d,n);t[o]=void 0;$=h.O}d=l[++i]}else{$=Re(t&&t[i],r,i);d=l[++i]}if($){{Qe(Pe(u.O),$,Ue(u.O))}}}}if(s>f){Fe(e,l[v+1]==null?null:l[v+1].O,r,l,i,v)}else if(i>v){Ee(t,s,f)}};var Te=(e,t,r=false)=>{if(e.j===t.j){if(e.j==="slot"){if("A"in e&&r&&e.O.nodeType!==8){return false}return e.C===t.C}if(!r){return e.k===t.k}return true}return false};var Ue=e=>e&&e["s-ol"]||e;var Pe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;var Ne=(e,r,l=false)=>{const n=r.O=e.O;const s=e.S;const i=r.S;const o=r.j;const a=r.h;let f;if(a===null){{if(o==="slot"&&!xe){if(e.C!==r.C){r.O["s-sn"]=r.C||"";Le(r.O.parentElement)}}else{we(e,r,De)}}if(s!==null&&i!==null){Me(n,s,r,i,l)}else if(i!==null){if(e.h!==null){n.textContent=""}Fe(n,null,r,i,0,i.length-1)}else if(!l&&t.updatable&&s!==null){Ee(s,0,s.length-1)}}else if(f=n["s-cr"]){f.parentNode.textContent=a}else if(e.h!==a){n.data=a}};var We=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const r=e["s-sn"];e.hidden=false;for(const l of t){if(l!==e){if(l["s-hn"]!==e["s-hn"]||r!==""){if(l.nodeType===1&&(r===l.getAttribute("slot")||r===l["s-sn"])||l.nodeType===3&&r===l["s-sn"]){e.hidden=true;break}}else{if(l.nodeType===1||l.nodeType===3&&l.textContent.trim()!==""){e.hidden=true;break}}}}}We(e)}}};var Ie=[];var _e=e=>{let t;let r;let l;for(const n of e.childNodes){if(n["s-sr"]&&(t=n["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;const e=n["s-sn"];for(l=r.length-1;l>=0;l--){t=r[l];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==n["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==n["s-hn"])){if(Be(t,e)){let r=Ie.find((e=>e.U===t));je=true;t["s-sn"]=t["s-sn"]||e;if(r){r.U["s-sh"]=n["s-hn"];r.P=n}else{t["s-sh"]=n["s-hn"];Ie.push({P:n,U:t})}if(t["s-sr"]){Ie.map((e=>{if(Be(e.U,t["s-sn"])){r=Ie.find((e=>e.U===t));if(r&&!e.P){e.P=r.P}}}))}}else if(!Ie.some((e=>e.U===t))){Ie.push({U:t})}}}}if(n.nodeType===1){_e(n)}}};var Be=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var He=e=>{{e.m&&e.m.ref&&e.m.ref(null);e.S&&e.S.map(He)}};var Qe=(e,t,r)=>{const l=e==null?void 0:e.insertBefore(t,r);return l};var qe=(e,t,r=false)=>{var l,n,s,i;const o=e.$hostElement$;const a=e.l;const f=e.D||J(null,null);const u=Z(t)?t:G(null,null,t);Ce=o.tagName;if(a.N){u.m=u.m||{};a.N.map((([e,t])=>u.m[t]=o[e]))}if(r&&u.m){for(const e of Object.keys(u.m)){if(o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){u.m[e]=o[e]}}}u.j=null;u.t|=4;e.D=u;u.O=f.O=o;xe=x;{ke=o["s-cr"];je=false}Ne(f,u,r);{C.t|=1;if(Oe){_e(u.O);for(const e of Ie){const t=e.U;if(!t["s-ol"]){const e=S.createTextNode("");e["s-nr"]=t;Qe(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ie){const t=e.U;const o=e.P;if(o){const e=o.parentNode;let r=o.nextSibling;if(r&&r.nodeType===1){let s=(l=t["s-ol"])==null?void 0:l.previousSibling;while(s){let l=(n=s["s-nr"])!=null?n:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){l=l.nextSibling;while(l===t||(l==null?void 0:l["s-sr"])){l=l==null?void 0:l.nextSibling}if(!l||!l["s-nr"]){r=l;break}}s=s.previousSibling}}if(!r&&e!==t.parentNode||t.nextSibling!==r){if(t!==r){Qe(e,t,r);if(t.nodeType===1){t.hidden=(s=t["s-ih"])!=null?s:false}}}t&&typeof o["s-rf"]==="function"&&o["s-rf"](t)}else{if(t.nodeType===1){if(r){t["s-ih"]=(i=t.hidden)!=null?i:false}t.hidden=true}}}}if(je){We(u.O)}C.t&=~1;Ie.length=0}ke=void 0};var ze=(e,t)=>{if(t&&!e.W&&t["s-p"]){t["s-p"].push(new Promise((t=>e.W=t)))}};var Ke=(e,t)=>{{e.t|=16}if(e.t&4){e.t|=512;return}ze(e,e.I);const r=()=>Ve(e,t);return T(r)};var Ve=(e,t)=>{const r=e.$hostElement$;const l=V("scheduleUpdate",e.l.v);const n=r;if(!n){throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let s;if(t){{s=tt(n,"componentWillLoad")}}else{{s=tt(n,"componentWillUpdate")}}l();return Xe(s,(()=>Je(e,n,t)))};var Xe=(e,t)=>Ge(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var Je=async(e,t,r)=>{var l;const n=e.$hostElement$;const s=V("update",e.l.v);const i=n["s-rc"];if(r){de(e)}const o=V("render",e.l.v);{Ye(e,t,n,r)}if(i){i.map((e=>e()));n["s-rc"]=void 0}o();s();{const t=(l=n["s-p"])!=null?l:[];const r=()=>Ze(e);if(t.length===0){r()}else{Promise.all(t).then(r);e.t|=4;t.length=0}}};var Ye=(e,t,r,l)=>{try{t=t.render();{e.t&=~16}{e.t|=2}{{{qe(e,t,l)}}}}catch(t){a(t,e.$hostElement$)}return null};var Ze=e=>{const t=e.l.v;const r=e.$hostElement$;const l=V("postUpdate",t);const n=r;const s=e.I;{tt(n,"componentDidRender")}if(!(e.t&64)){e.t|=64;{rt(r)}{tt(n,"componentDidLoad")}l();{e.u(r);if(!s){et()}}}else{{tt(n,"componentDidUpdate")}l()}{if(e.W){e.W();e.W=void 0}if(e.t&512){M((()=>Ke(e,false)))}e.t&=~(4|512)}};var et=t=>{{rt(S.documentElement)}M((()=>fe(g,"appload",{detail:{namespace:e}})))};var tt=(e,t,r)=>{if(e&&e[t]){try{return e[t](r)}catch(e){a(e)}}return void 0};var rt=e=>{var r;return e.classList.add((r=t.hydratedSelectorName)!=null?r:"hydrated")};var lt=(e,t)=>s(e).i.get(t);var nt=(e,t,r,l)=>{const n=s(e);const i=e;const o=n.i.get(t);const f=n.t;const u=i;r=ie(r,l._[t][0]);const c=Number.isNaN(o)&&Number.isNaN(r);const v=r!==o&&!c;if(v){n.i.set(t,r);{if(l.B&&f&128){const e=l.B[t];if(e){e.map((e=>{try{u[e](r,o,t)}catch(e){a(e,i)}}))}}if((f&(2|16))===2){Ke(n,false)}}}};var st=(e,t,r)=>{var l,n;const i=e.prototype;if(t._||(t.B||e.watchers)){if(e.watchers&&!t.B){t.B=e.watchers}const r=Object.entries((l=t._)!=null?l:{});r.map((([e,[r]])=>{if(r&31||r&32){Object.defineProperty(i,e,{get(){return lt(this,e)},set(r){nt(this,e,r,t)},configurable:true,enumerable:true})}}));{const l=new Map;i.attributeChangedCallback=function(e,r,n){C.jmp((()=>{var o;const a=l.get(e);if(this.hasOwnProperty(a)){n=this[a];delete this[a]}else if(i.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==n){return}else if(a==null){const l=s(this);const i=l==null?void 0:l.t;if(i&&!(i&8)&&i&128&&n!==r){const l=this;const s=l;const i=(o=t.B)==null?void 0:o[e];i==null?void 0:i.forEach((t=>{if(s[t]!=null){s[t].call(s,n,r,e)}}))}return}this[a]=n===null&&typeof this[a]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set([...Object.keys((n=t.B)!=null?n:{}),...r.filter((([e,t])=>t[0]&15)).map((([e,r])=>{var n;const s=r[1]||e;l.set(s,e);if(r[0]&512){(n=t.N)==null?void 0:n.push([e,s])}return s}))]))}}return e};var it=async(e,t,r,l)=>{let n;if((t.t&32)===0){t.t|=32;const l=r.p;if(l){const e=u(r);if(e&&"then"in e){const t=X();n=await e;t()}else{n=e}if(!n){throw new Error(`Constructor for "${r.v}#${t.H}" was not found`)}if(!n.isProxied){{r.B=n.watchers}st(n,r);n.isProxied=true}const l=V("createInstance",r.v);{t.t|=8}try{new n(t)}catch(e){a(e)}{t.t&=~8}{t.t|=128}l()}else{n=e.constructor;const r=e.localName;customElements.whenDefined(r).then((()=>t.t|=128))}if(n&&n.style){let e;if(typeof n.style==="string"){e=n.style}const t=pe(r);if(!c.has(t)){const l=V("registerStyles",r.v);ce(t,e,!!(r.t&1));l()}}}const s=t.I;const i=()=>Ke(t,true);if(s&&s["s-rc"]){s["s-rc"].push(i)}else{i()}};var ot=e=>{};var at=e=>{if((C.t&1)===0){const t=s(e);const r=t.l;const l=V("connectedCallback",r.v);if(!(t.t&1)){t.t|=1;let l;{l=e.getAttribute(h);if(l){le(e,r.v,l,t)}}if(!l){if(r.t&(4|8)){ft(e)}}{let r=e;while(r=r.parentNode||r.host){if(r.nodeType===1&&r.hasAttribute("s-id")&&r["s-p"]||r["s-p"]){ze(t,t.I=r);break}}}if(r._){Object.entries(r._).map((([t,[r]])=>{if(r&31&&e.hasOwnProperty(t)){const r=e[t];delete e[t];e[t]=r}}))}{it(e,t,r)}}else{if(t==null?void 0:t.q);else if(t==null?void 0:t.o){t.o.then((()=>ot()))}}l()}};var ft=e=>{const t=e["s-cr"]=S.createComment("");t["s-cn"]=true;Qe(e,t,e.firstChild)};var ut=async e=>{if((C.t&1)===0){s(e)}};var ct=(e,t)=>{const r={t:t[0],v:t[1]};{r._=t[2]}{r.B=e.B}{r.N=[]}const l=e.prototype.connectedCallback;const n=e.prototype.disconnectedCallback;Object.assign(e.prototype,{__registerHost(){i(this,r)},connectedCallback(){s(this);at(this);if(l){l.call(this)}},disconnectedCallback(){ut(this);if(n){n.call(this)}},__attachShadow(){{this.shadowRoot=this}}});e.is=r.v;return st(e,r)};var vt=(e,t)=>t;var dt=e=>C.T=e;var pt=e=>Object.assign(C,e);export{vt as F,k as H,dt as a,pt as b,ae as c,Y as d,U as g,G as h,ct as p,P as s};
|
|
3
|
+
//# sourceMappingURL=p-ae3dada7.js.map
|