@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
package/dist/core/core.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as a,b as l}from"./p-240659bb.js";export{s as setNonce}from"./p-240659bb.js";import{g as i}from"./p-e1255160.js";var t=()=>{{c(a.prototype)}const l=import.meta.url;const i={};if(l!==""){i.resourcesUrl=new URL(".",l).href}return e(i)};var c=e=>{const a=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return a.call(this,e)}const l=a.call(this,false);const i=this.childNodes;if(e){for(let e=0;e<i.length;e++){if(i[e].nodeType!==2){l.appendChild(i[e].cloneNode(true))}}}return l}};t().then((async e=>{await i();return l(JSON.parse('[["p-fe8bd4cf",[[4,"gov-form-file",{"expanded":[4],"required":[4],"disabled":[4],"resetAfterPick":[4,"reset-after-pick"],"ignoreFileDuplicationCheck":[4,"ignore-file-duplication-check"],"displayAttachments":[4,"display-attachments"],"name":[1],"accept":[1],"multiple":[4],"maxFileSize":[2,"max-file-size"],"identifier":[1],"invalid":[4],"errorSize":[1,"error-size"],"errorAccept":[1,"error-accept"],"attachmentsLabel":[1,"attachments-label"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagRemoveLabel":[1,"wcag-remove-label"],"wcagAttachmentsLabel":[1,"wcag-attachments-label"],"files":[32],"getRef":[64],"getAreaRef":[64],"reset":[64],"validateWcag":[64]},null,{"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-3b8fb675",[[4,"gov-form-multi-select",{"value":[1537],"options":[1537],"identifier":[1],"placeholder":[1],"variant":[1],"size":[1],"name":[1],"hideSelectedList":[4,"hide-selected-list"],"required":[4],"disabled":[4],"invalid":[4],"success":[4],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"valueState":[32],"selectedOptionsState":[32],"optionsState":[32],"setFocus":[64],"setValue":[64],"getRef":[64],"validateWcag":[64]},null,{"variant":["validateVariant"],"size":["validateSize","watchControlAttrs"],"options":["watchOptions"],"value":["watchValue"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"]}]]],["p-cc83b8cb",[[4,"gov-modal",{"open":[1028],"blockClose":[4,"block-close"],"blockBackdropClose":[4,"block-backdrop-close"],"blockButtonClose":[4,"block-button-close"],"label":[1],"role":[1],"labelTag":[1,"label-tag"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagCloseLabel":[1,"wcag-close-label"],"wcagCloseLabelledBy":[1,"wcag-close-labelled-by"],"show":[64],"hide":[64],"validateWcag":[64]},null,{"labelTag":["validateLabelTag"],"open":["watchOpen"]}]]],["p-87b7b469",[[0,"gov-pagination",{"type":[1],"current":[2],"total":[2],"inverse":[4],"selectIdentifier":[1,"select-identifier"],"size":[1],"variant":[1],"pageSize":[2,"page-size"],"maxPages":[2,"max-pages"],"link":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagSelectLabel":[1,"wcag-select-label"],"wcagPageLabel":[1,"wcag-page-label"],"labelPrev":[1,"label-prev"],"labelStart":[1,"label-start"],"labelNext":[1,"label-next"],"labelEnd":[1,"label-end"],"pagination":[32],"validateWcag":[64]},null,{"type":["validateType"],"size":["validateSize"],"variant":["validateVariant"],"current":["recalculate"],"total":["recalculate"],"pageSize":["recalculate"],"maxPages":["recalculate"]}]]],["p-20ae3168",[[4,"gov-prompt",{"open":[1028],"label":[1],"role":[1],"labelTag":[1,"label-tag"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagCloseLabel":[1,"wcag-close-label"],"wcagCloseLabelledBy":[1,"wcag-close-labelled-by"],"show":[64],"hide":[64],"validateWcag":[64]},null,{"labelTag":["validateLabelTag"],"open":["watchOpen"]}]]],["p-1b3143a8",[[4,"gov-tabs",{"type":[1],"variant":[1],"orientation":[1],"wcagLabel":[1,"wcag-label"],"wcagSelectLabel":[1,"wcag-select-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"controllers":[32],"focusIndex":[32],"compactControls":[32],"refresh":[64],"currentTab":[64],"setActiveTab":[64],"rerender":[64],"validateWcag":[64]},null,{"type":["validateType"],"variant":["validateVariant"]}]]],["p-208c99c8",[[4,"gov-breadcrumbs",{"collapsible":[4],"isExpanded":[4,"is-expanded"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labeled-by"],"wcagToggleLabel":[1,"wcag-toggle-label"],"collapsed":[32],"toggleOption":[32],"validateWcag":[64]}]]],["p-cdaeb7d8",[[4,"gov-infobar",{"headline":[1],"variant":[1],"role":[1],"inverse":[4],"wcagCloseLabel":[1,"wcag-close-label"],"wcagToggleLabel":[1,"wcag-toggle-label"],"closable":[4],"toggleContent":[32],"validateWcag":[64]},null,{"variant":["validateVariant"]}]]],["p-828e8bce",[[4,"gov-loading"]]],["p-e9bcadf1",[[4,"gov-side-nav-item",{"inverse":[4],"compact":[4],"identifier":[1],"count":[4],"label":[1],"disabled":[4],"href":[1],"isExpanded":[4,"is-expanded"],"isExpandedState":[32],"open":[64],"close":[64],"toggle":[64],"currentState":[64]},null,{"label":["validateLabel"]}]]],["p-34d7c203",[[4,"gov-toast",{"variant":[1],"gravity":[1],"position":[1],"type":[1],"time":[2],"closeLabel":[1,"close-label"],"wcagCloseLabel":[1,"wcag-close-label"],"destroy":[64]},null,{"variant":["validateVariant"]}]]],["p-6d894ec7",[[4,"gov-tooltip-content",{"variant":[1],"size":[1],"persist":[4],"isVisible":[1028,"is-visible"],"parentId":[1,"parent-id"]},null,{"isVisible":["visibleContent"]}]]],["p-4ed064db",[[4,"gov-accordion-item",{"variant":[1],"identifier":[1],"size":[1],"disabled":[4],"isExpanded":[1028,"is-expanded"],"isExpandedState":[32],"open":[64],"close":[64],"toggle":[64],"currentState":[64]},null,{"size":["validateSize"],"variant":["validateVariant"]}]]],["p-bcdf6cfc",[[4,"gov-card",{"promotion":[4],"label":[1],"collapsible":[4],"expanded":[4],"headlineTag":[1,"headline-tag"],"wcagTriggerLabel":[1,"wcag-trigger-label"],"wcagTriggerLabelledBy":[1,"wcag-trigger-labelled-by"],"isExpanded":[32],"open":[64],"close":[64],"validateWcag":[64]},null,{"headlineTag":["validateHeadlineTag"]}]]],["p-4f77a766",[[4,"gov-form-checkbox",{"value":[1],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"noLabel":[4,"no-label"],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-810f0d0c",[[4,"gov-tag",{"inverse":[4],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[513],"variant":[513]},null,{"variant":["validateVariant"],"size":["validateSize"]}]]],["p-1bdc04bb",[[4,"gov-tile",{"href":[513],"target":[1],"getTriggerRef":[64]}]]],["p-2186fcd5",[[4,"gov-wizard-item",{"variant":[1],"size":[1],"identifier":[1],"collapsible":[4],"annotation":[1],"label":[1],"disabled":[4],"isExpanded":[1028,"is-expanded"],"labelTag":[1,"label-tag"],"open":[64],"close":[64],"toggle":[64],"currentState":[64]},null,{"label":["validateLabel"],"labelTag":["validateTriggerTag"],"variant":["validateVariant"]}]]],["p-6789b9d0",[[4,"gov-accordion",{"size":[1],"variant":[1],"noBorder":[4,"no-border"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]},null,{"size":["validateSize"],"variant":["validateVariant"]}]]],["p-b2b254b6",[[4,"gov-container",{"slottedChildren":[64]}]]],["p-ae4321ea",[[4,"gov-control-group",{"variant":[1],"noBorder":[4,"no-border"]},null,{"variant":["validateVariant"]}]]],["p-64353313",[[4,"gov-cookiebar"]]],["p-092b0437",[[4,"gov-dropdown",{"identifier":[1],"open":[1028],"position":[1],"getState":[64],"setOpen":[64]}]]],["p-3309aed9",[[4,"gov-empty"]]],["p-802909c5",[[4,"gov-error-code"]]],["p-4700508c",[[4,"gov-form-checkbox-group",{"gap":[1],"orientation":[1],"value":[1025]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-f9de3c09",[[4,"gov-form-control",{"identifier":[1],"invalid":[516],"disabled":[516],"success":[516],"fieldset":[4],"size":[1]}]]],["p-6a82c6a1",[[4,"gov-form-group",{"gap":[1],"orientation":[1]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-06e9e93b",[[4,"gov-form-label",{"identifier":[1],"size":[1],"required":[4],"legend":[4]}]]],["p-f2edcca7",[[4,"gov-form-password-power",{"power":[514]}]]],["p-3e041d63",[[4,"gov-form-radio",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-74233183",[[4,"gov-form-radio-group",{"gap":[1],"orientation":[1],"value":[1025]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-3ccab2ba",[[4,"gov-form-search",{"variant":[513]}]]],["p-2e881577",[[4,"gov-form-switch",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]},null,{"size":["validateSize","watchDisabled"],"disabled":["watchDisabled"],"invalid":["watchDisabled"]}]]],["p-5c3a0b02",[[4,"gov-grid",{"alignX":[1,"align-x"],"alignY":[1,"align-y"]}]]],["p-107a6a5c",[[4,"gov-grid-item",{"size":[1],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["p-f16f9116",[[4,"gov-layout",{"type":[1],"variant":[1],"inverse":[4]}]]],["p-d4b50bcd",[[4,"gov-layout-column"]]],["p-7e43f440",[[0,"gov-lifecycle"]]],["p-8fb45e7c",[[4,"gov-message",{"variant":[1]},null,{"variant":["validateVariant"]}]]],["p-55cd3fee",[[4,"gov-nav",{"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-55abc7bc",[[4,"gov-nav-item",{"href":[1],"isExpandedState":[32]},null,{"href":["validateHref"]}]]],["p-6dfde487",[[4,"gov-side-nav",{"inverse":[4],"compact":[4],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-551c9f44",[[0,"gov-skeleton",{"variant":[1],"count":[2],"shape":[1],"width":[1],"height":[1],"animation":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]},null,{"variant":["validateVariant"],"shape":["validateShape"],"animation":["validateAnimation"]}]]],["p-348165e2",[[0,"gov-spacer",{"size":[1],"breakpoint":[1]},null,{"size":["validateSize"],"breakpoint":["validateBreakpoint"]}]]],["p-7d011c4b",[[4,"gov-statsbar",{"iconPosition":[1,"icon-position"],"variant":[1]},null,{"iconPosition":["validateIconPosition"],"variant":["validateVariant"]}]]],["p-489f5c82",[[4,"gov-statsbar-item",{"iconPosition":[1,"icon-position"]},null,{"iconPosition":["validateIconPosition"]}]]],["p-13ced376",[[4,"gov-stepper",{"size":[1]},null,{"size":["validateSize"]}]]],["p-7ba4ae8d",[[4,"gov-stepper-item",{"variant":[1],"size":[1],"identifier":[1],"label":[1],"annotation":[1],"triggerTag":[1,"trigger-tag"],"isExpandedState":[32],"currentState":[64]},null,{"label":["validateLabel"],"triggerTag":["validateTriggerTag"],"variant":["validateVariant"]}]]],["p-7a896683",[[4,"gov-tabs-item",{"identifier":[1],"triggerIdentifier":[1,"trigger-identifier"],"label":[513],"disabled":[516],"default":[4],"isActive":[32],"getIdentifier":[64],"getTriggerIdentifier":[64],"getDisableState":[64],"setActiveStatus":[64]},null,{"label":["rerenderParent"],"disabled":["rerenderParent"]}]]],["p-13520b30",[[4,"gov-tiles",{"columns":[2],"noBorder":[4,"no-border"]}]]],["p-f6a98765",[[4,"gov-tooltip",{"variant":[1],"size":[1],"position":[1025],"message":[1],"identifier":[1],"icon":[516],"persist":[32],"show":[64],"hide":[64]},null,{"variant":["validateVariant"],"size":["validateSize"],"position":["validatePosition"],"message":["rerenderMessage"]}]]],["p-1011ca26",[[4,"gov-wizard",{"size":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]},null,{"size":["validateSize"]}]]],["p-a3cff495",[[0,"gov-icon",{"name":[1],"type":[1],"iconData":[32],"visible":[32],"error":[32]},null,{"name":["loadIconPathData"]}]]],["p-6c33492a",[[4,"gov-form-input",{"value":[1537],"identifier":[1],"variant":[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],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"wcagAutocomplete":[1,"wcag-autocomplete"],"wcagExpanded":[4,"wcag-expanded"],"focused":[32],"setFocus":[64],"setValue":[64],"clearValue":[64],"getRef":[64],"validateWcag":[64]},null,{"variant":["validateVariant"],"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"]}]]],["p-3832de64",[[4,"gov-form-autocomplete",{"value":[1537],"options":[1537],"identifier":[1],"variant":[1],"success":[4],"size":[1],"nameKey":[1,"name-key"],"name":[1],"required":[4],"disabled":[4],"placeholder":[1],"readonly":[4],"invalid":[4],"minlength":[2],"maxlength":[2],"throttleTime":[2,"throttle-time"],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"processing":[32],"arrowCounter":[32],"list":[32],"setFocus":[64],"setBlur":[64],"setOptions":[64],"clearValue":[64],"setProcessing":[64],"setSearchCallback":[64],"setTemplateResolver":[64]},null,{"variant":["validateVariant"],"size":["validateSize"],"options":["watchOptions"]}]]],["p-2c3697cf",[[4,"gov-chip",{"inverse":[4],"disabled":[4],"href":[1],"target":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[1],"tag":[1],"variant":[1],"focusable":[4],"identifier":[1],"wcagLabel":[1,"wcag-label"],"wcagControls":[1,"wcag-controls"],"wcagSelected":[4,"wcag-selected"],"getTriggerRef":[64],"getTriggerIdentifier":[64],"setFocus":[64]},null,{"variant":["validateVariant"],"size":["validateSize"]}]]],["p-d4f2d6f9",[[4,"gov-form-select",{"value":[1537],"options":[1537],"identifier":[1],"variant":[1],"size":[1],"name":[1],"required":[4],"success":[4],"disabled":[4],"invalid":[4],"wcagActiveDescendant":[1,"wcag-active-descendant"],"wcagControls":[1,"wcag-controls"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"optionsState":[32],"setFocus":[64],"getRef":[64],"validateWcag":[64]},null,{"variant":["validateVariant"],"size":["validateSize","watchControlAttrs"],"options":["watchOptions"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"],"value":["watchValue"]}]]],["p-4694b4b6",[[4,"gov-attachments-item",{"wcagRemoveLabel":[1,"wcag-remove-label"],"wcagRemoveLabelledBy":[1,"wcag-remove-labelled-by"],"validateWcag":[64]}],[4,"gov-attachments",{"label":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]}],[4,"gov-form-message",{"variant":[1],"identifier":[64]},null,{"variant":["validateVariant"]}]]],["p-114a4d0b",[[0,"gov-backdrop",{"inverse":[4],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-77892071",[[4,"gov-button",{"variant":[513],"size":[513],"type":[513],"expanded":[516],"inverse":[516],"name":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"disabled":[516],"nativeType":[1,"native-type"],"href":[1],"target":[1],"download":[4],"hreflang":[1],"referrerpolicy":[1],"rel":[1],"loading":[1],"focusable":[4],"identifier":[1],"wcagActiveDescendant":[1,"wcag-active-descendant"],"wcagControls":[1,"wcag-controls"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagDescription":[1,"wcag-description"],"wcagDetails":[1,"wcag-details"],"wcagExpanded":[4,"wcag-expanded"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"wcagHasPopup":[1,"wcag-has-popup"],"wcagPressed":[4,"wcag-pressed"],"wcagCurrent":[1,"wcag-current"],"setFocus":[64],"getTriggerRef":[64],"validateWcag":[64]},null,{"variant":["validateVariant"],"type":["validateType"],"size":["validateSize"],"nativeType":["validateNativeType"]}]]]]'),e)}));
|
|
1
|
+
import{p as e,H as i,b as a}from"./p-a1e95a5f.js";export{s as setNonce}from"./p-a1e95a5f.js";import{g as l}from"./p-e1255160.js";var t=()=>{{o(i.prototype)}const a=import.meta.url;const l={};if(a!==""){l.resourcesUrl=new URL(".",a).href}return e(l)};var o=e=>{const i=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return i.call(this,e)}const a=i.call(this,false);const l=this.childNodes;if(e){for(let e=0;e<l.length;e++){if(l[e].nodeType!==2){a.appendChild(l[e].cloneNode(true))}}}return a}};t().then((async e=>{await l();return a(JSON.parse('[["p-edc05eff",[[4,"gov-form-file",{"expanded":[4],"required":[4],"disabled":[4],"resetAfterPick":[4,"reset-after-pick"],"ignoreFileDuplicationCheck":[4,"ignore-file-duplication-check"],"displayAttachments":[4,"display-attachments"],"name":[1],"accept":[1],"multiple":[4],"maxFileSize":[2,"max-file-size"],"identifier":[1],"invalid":[4],"errorSize":[1,"error-size"],"errorAccept":[1,"error-accept"],"attachmentsLabel":[1,"attachments-label"],"accessibleRemoveLabel":[1,"accessible-remove-label"],"accessibleAttachmentsLabel":[1,"accessible-attachments-label"],"files":[32],"inheritedAttributes":[32],"getRef":[64],"getAreaRef":[64],"reset":[64]},null,{"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-6ed147a6",[[4,"gov-form-multi-select",{"value":[1537],"options":[1537],"identifier":[1],"placeholder":[1],"size":[1],"name":[1],"hideSelectedList":[4,"hide-selected-list"],"required":[4],"disabled":[4],"invalid":[4],"success":[4],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"focused":[32],"valueState":[32],"selectedOptionsState":[32],"optionsState":[32],"inheritedAttributes":[32],"setFocus":[64],"setValue":[64],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"options":["watchOptions"],"value":["watchValue"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"]}]]],["p-f456bd71",[[4,"gov-dialog",{"open":[1540],"blockClose":[4,"block-close"],"blockBackdropClose":[4,"block-backdrop-close"],"role":[1],"labelTag":[1,"label-tag"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleCloseLabelledBy":[1,"accessible-close-labelled-by"],"setFocus":[64],"validateAccessibility":[64]},null,{"open":["watchOpen"]}]]],["p-dc3fab19",[[0,"gov-pagination",{"type":[1],"current":[2],"total":[2],"selectIdentifier":[1,"select-identifier"],"size":[1],"color":[1],"pageSize":[2,"page-size"],"maxPages":[2,"max-pages"],"link":[1],"accessibleSelectLabel":[1,"accessible-select-label"],"accessiblePageLabel":[1,"accessible-page-label"],"labelPrev":[1,"label-prev"],"labelStart":[1,"label-start"],"labelNext":[1,"label-next"],"labelEnd":[1,"label-end"],"pagination":[32],"inheritedAttributes":[32]},null,{"type":["validateType"],"size":["validateSize"],"color":["validateColor"],"current":["recalculate"],"total":["recalculate"],"pageSize":["recalculate"],"maxPages":["recalculate"]}]]],["p-b55fc943",[[4,"gov-breadcrumbs",{"collapsible":[4],"isExpanded":[4,"is-expanded"],"accessibleLabel":[1,"accessible-label"],"accessibleLabelledBy":[1,"accessible-labelledby"],"accessibleToggleLabel":[1,"accessible-toggle-label"],"expanded":[32],"toggleOption":[32],"validateAccessibility":[64]}]]],["p-7cf554e6",[[4,"gov-infobar",{"color":[1],"type":[1],"role":[1],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleToggleLabel":[1,"accessible-toggle-label"],"closable":[4],"toggleContent":[32],"inheritedAttributes":[32]},null,{"color":["validateColor"]}]]],["p-a1ebb4da",[[4,"gov-loading",{"size":[1]},null,{"size":["validateSize"]}]]],["p-0a952b3c",[[4,"gov-tabs",{"type":[1],"size":[1],"color":[1],"orientation":[1],"direction":[513],"controllers":[32],"focusIndex":[32],"inheritedAttributes":[32],"refresh":[64],"currentTab":[64],"setActiveTab":[64],"rerender":[64]},null,{"type":["validateType"],"color":["validateColor"],"size":["validateSize"]}]]],["p-c214c202",[[4,"gov-toast",{"color":[1],"gravity":[1],"position":[1],"type":[1],"time":[2],"closeLabel":[1,"close-label"],"accessibleCloseLabel":[1,"accessible-close-label"],"inheritedAttributes":[32],"destroy":[64]},null,{"color":["validateColor"]}]]],["p-aa8adc45",[[4,"gov-tooltip-content",{"color":[1],"size":[1],"persist":[4],"isVisible":[1028,"is-visible"],"parentId":[1,"parent-id"]},null,{"isVisible":["visibleContent"]}]]],["p-023787b3",[[4,"gov-accordion-item",{"identifier":[1],"size":[1],"disabled":[4],"open":[1028],"openState":[32],"toggle":[64],"currentState":[64]},null,{"size":["validateSize"]}]]],["p-904de5e6",[[4,"gov-card",{"promotion":[4],"collapsible":[4],"open":[1540],"accessibleTriggerLabel":[1,"accessible-label"],"accessibleTriggerLabelledBy":[1,"accessible-labelledby"],"validateAccessibility":[64]}]]],["p-0ebc8365",[[4,"gov-form-checkbox",{"value":[1],"checked":[1540],"required":[4],"disabled":[4],"indeterminate":[516],"name":[1],"size":[1],"identifier":[1],"noLabel":[4,"no-label"],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-35e66bef",[[4,"gov-form-switch",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchDisabled"],"disabled":["watchDisabled"],"invalid":["watchDisabled"]}]]],["p-2effdd60",[[4,"gov-tag",{"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[513],"color":[513],"type":[513]},null,{"color":["validateColor"],"size":["validateSize"]}]]],["p-9dde00d8",[[4,"gov-tile",{"size":[513],"orientation":[1],"noBorder":[4,"no-border"],"href":[513],"target":[1],"getTriggerRef":[64]}]]],["p-5dc0af54",[[4,"gov-wizard-item",{"color":[1],"size":[1],"identifier":[1],"collapsible":[4],"disabled":[4],"isExpanded":[1028,"is-expanded"],"open":[64],"close":[64],"toggle":[64],"currentState":[64]},null,{"color":["validateColor"]}]]],["p-477a5027",[[0,"gov-app"],[0,"gov-theme-switch",{"theme":[32]}]]],["p-9b41ac88",[[4,"gov-accordion",{"size":[1],"noBorder":[4,"no-border"]},null,{"size":["validateSize"]}]]],["p-006e52f1",[[4,"gov-container",{"slottedChildren":[64]}]]],["p-5dcbfca3",[[4,"gov-control-group",{"color":[1],"noBorder":[4,"no-border"],"fitContent":[4,"fit-content"]},null,{"color":["validateColor"]}]]],["p-e134b123",[[4,"gov-cookiebar"]]],["p-a5489b0e",[[4,"gov-dropdown",{"identifier":[1],"open":[1028],"position":[1],"getState":[64],"toggle":[64]},null,{"open":["watchOpen"]}]]],["p-17015e36",[[4,"gov-empty",{"size":[1]},null,{"size":["validateSize"]}]]],["p-91a9cd24",[[4,"gov-error-code"]]],["p-f1be099b",[[4,"gov-form-checkbox-group",{"gap":[1],"orientation":[1],"value":[1025]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-6b42a387",[[4,"gov-form-control",{"identifier":[1],"invalid":[516],"disabled":[516],"success":[516],"fieldset":[4],"size":[1]}]]],["p-9ff8f059",[[4,"gov-form-group",{"gap":[1],"orientation":[1]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-47e364bb",[[4,"gov-form-label",{"identifier":[1],"size":[1],"required":[4],"legend":[4]}]]],["p-f141ad5e",[[4,"gov-form-password-power",{"power":[514]}]]],["p-9d0f20ec",[[4,"gov-form-radio",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-d2351924",[[4,"gov-form-radio-group",{"gap":[1],"orientation":[1],"value":[1025]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-eeb9cb73",[[4,"gov-form-search",{"size":[1],"color":[513]}]]],["p-a54f1db9",[[4,"gov-grid",{"alignX":[1,"align-x"],"alignY":[1,"align-y"]}]]],["p-83039b10",[[4,"gov-grid-item",{"size":[1],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["p-a53a277a",[[4,"gov-layout",{"type":[1],"variant":[1],"inverse":[4]}]]],["p-b838bb27",[[4,"gov-layout-column"]]],["p-b3acb156",[[4,"gov-message",{"color":[1],"type":[1]},null,{"color":["validateColor"]}]]],["p-182189d2",[[0,"gov-spacer",{"size":[1],"breakpoint":[1]},null,{"size":["validateSize"],"breakpoint":["validateBreakpoint"]}]]],["p-2ed3afef",[[4,"gov-stepper",{"size":[1]},null,{"size":["validateSize"]}]]],["p-e4978aab",[[4,"gov-stepper-item",{"color":[1],"size":[1],"identifier":[1]},null,{"color":["validateColor"]}]]],["p-3f2b803c",[[4,"gov-tabs-item",{"identifier":[1],"triggerIdentifier":[1,"trigger-identifier"],"label":[513],"disabled":[516],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"default":[4],"isActive":[32],"getIdentifier":[64],"getTriggerIdentifier":[64],"getDisableState":[64],"setActiveStatus":[64]},null,{"label":["rerenderParent"],"disabled":["rerenderParent"]}]]],["p-c4c7cb24",[[4,"gov-tiles",{"columns":[514]}]]],["p-db940455",[[4,"gov-tooltip",{"color":[1],"size":[1],"position":[1025],"message":[1],"identifier":[1],"icon":[516],"persist":[32],"show":[64],"hide":[64]},null,{"color":["validateColor"],"size":["validateSize"],"position":["validatePosition"],"message":["rerenderMessage"]}]]],["p-963f9fcd",[[4,"gov-wizard",{"size":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]},null,{"size":["validateSize"]}]]],["p-a16229c6",[[0,"gov-icon",{"color":[513],"name":[513],"type":[513],"visible":[32],"error":[32]},null,{"color":["validateColor"],"name":["loadIconPathData"]}]]],["p-ab9ae7ba",[[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]},null,{"color":["validateColor"],"type":["validateType"],"size":["validateSize"],"nativeType":["validateNativeType"]}]]],["p-fc90bf06",[[4,"gov-form-autocomplete",{"value":[1537],"options":[1537],"identifier":[1],"success":[4],"size":[1],"nameKey":[1,"name-key"],"name":[1],"required":[4],"disabled":[4],"placeholder":[1],"readonly":[4],"invalid":[4],"minlength":[2],"maxlength":[2],"throttleTime":[2,"throttle-time"],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"focused":[32],"processing":[32],"arrowCounter":[32],"list":[32],"inheritedAttributes":[32],"setFocus":[64],"setBlur":[64],"setOptions":[64],"clearValue":[64],"setProcessing":[64],"setSearchCallback":[64],"setTemplateResolver":[64]},null,{"size":["validateSize"],"options":["watchOptions"]}]]],["p-81b0848c",[[4,"gov-chip",{"disabled":[516],"href":[1],"target":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[1],"tag":[1],"color":[1],"type":[513],"focusable":[4],"identifier":[1],"inheritedAttributes":[32],"geRef":[64],"setFocus":[64]},null,{"color":["validateColor"],"size":["validateSize"]}]]],["p-fa7caad6",[[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]},null,{"size":["validateSize","watchControlAttrs"],"options":["watchOptions"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"],"value":["watchValue"]}]]],["p-663d3db2",[[0,"gov-backdrop",{"inverse":[4],"disabled":[1540],"accessibleLabel":[1,"accessible-label"],"accessibleLabelledBy":[1,"accessible-labelledby"],"validateAccessibility":[64]}]]],["p-6d772ff9",[[4,"gov-attachments-item",{"accessibleRemoveLabel":[1,"accessible-remove-label"],"accessibleRemoveLabelledBy":[1,"accessible-remove-labelledby"],"validateAccessibility":[64]}],[4,"gov-attachments",{"label":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]}],[4,"gov-form-message",{"color":[1],"size":[1],"identifier":[64]},null,{"color":["validateColor"]}]]],["p-5c88f415",[[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]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"]}],[0,"gov-skeleton",{"size":[1],"color":[1],"shape":[1],"width":[1],"height":[1],"animation":[1],"inheritedAttributes":[32]},null,{"size":["validateSize"],"shape":["validateShape"],"animation":["validateAnimation"]}]]]]'),e)}));
|
|
2
2
|
//# sourceMappingURL=core.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","patchCloneNodeFix","H","prototype","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["../../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"iIAOA,IAAIA,EAAe,KAIO,CACtBC,EAAkBC,EAAEC,UACxB,CAIE,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIL,EAAqBU,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHlB,IAAeyB,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,
|
|
1
|
+
{"version":3,"names":["patchBrowser","patchCloneNodeFix","H","prototype","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["../../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"iIAOA,IAAIA,EAAe,KAIO,CACtBC,EAAkBC,EAAEC,UACxB,CAIE,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIL,EAAqBU,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHlB,IAAeyB,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,k7YAAuCJ,EAAA","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as s,h as t,a as e,g as r}from"./p-a1e95a5f.js";import{g as o,s as a}from"./p-0075138f.js";const c={root:"gov-container"};const d=class{constructor(t){s(this,t);this.h=o(this.host)}render(){return t(e,{key:"f1a8dda159411bb7eed4db33d408ddd70a2327be",class:this.h.classes(c.root)},t("slot",{key:"afe117ecdcb7bb6225e4612400e1627dcc80bff9"}))}async slottedChildren(){return Promise.resolve(a(this.host))}get host(){return r(this)}};export{d as gov_container};
|
|
2
|
+
//# sourceMappingURL=p-006e52f1.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ContainerClass","root","GovContainer","constructor","hostRef","this","h","govHost","host","render","Host","key","class","classes","slottedChildren","Promise","resolve"],"sources":["../../../packages/core/src/components/gov-container/constants.tsx","../../../packages/core/src/components/gov-container/gov-container.tsx"],"sourcesContent":["export const ContainerClass = {\n\troot: 'gov-container',\n}\n","import { Component, Element, h, Host, Method } from '@stencil/core'\nimport { govHost, slottedChildren } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { ContainerClass } from './constants'\n\n@Component({\n\ttag: 'gov-container',\n})\nexport class GovContainer {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovContainerElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ContainerClass.root)}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns slotted children\n\t *\n\t * @return {Promise<Node[]>}\n\t */\n\t@Method()\n\tasync slottedChildren(): Promise<Node[]> {\n\t\treturn Promise.resolve(slottedChildren(this.host))\n\t}\n}\n"],"mappings":"oGAAO,MAAMA,EAAiB,CAC7BC,KAAM,iB,MCOMC,EAAY,MAGxB,WAAAC,CAAAC,G,UACCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAKvB,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQb,EAAeC,OAC1CK,EAAA,QAAAK,IAAA,6C,CAWH,qBAAMG,GACL,OAAOC,QAAQC,QAAQF,EAAgBT,KAAKG,M","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t=t=>{if(Array.isArray(t)===false)return;return t.filter((t=>!!t)).join(" ").trim()};const e=t=>{const e=t.querySelector("slot");if(e){return e.assignedNodes().filter((t=>t.nodeName!=="#text"))}return[]};const r=t=>t?"true":"false";const s=t=>({get hostElement(){return t},get name(){return this.hostElement.nodeName.toLowerCase()},hasSlot(t){return!!this.getSlot(t)},isSlotEmpty(t){const e=this.getSlot(t);if(e){return e.childNodes.length===0}return false},getSlot(t){const e=Array.from(this.hostElement.querySelectorAll(`[slot="${t}"]`));return e.length>0?e[0]:null},getParent(t){return this.hostElement.closest(t)},passChildAttr(t,e,r){if(Array.isArray(t)){t.forEach((t=>{this.hostElement.querySelectorAll(t).forEach((t=>t.setAttribute(e,r)))}))}else{this.hostElement.querySelectorAll(t).forEach((t=>t.setAttribute(e,r)))}},removeChildAttr(t,e){if(Array.isArray(t)){t.forEach((t=>{this.hostElement.querySelectorAll(t).forEach((t=>t.removeAttribute(e)))}))}else{this.hostElement.querySelectorAll(t).forEach((t=>t.removeAttribute(e)))}},get slottedChildren(){const t=this.hostElement.shadowRoot.querySelector("slot");if(t){return t.assignedNodes().filter((t=>t.nodeName!=="#text"))}return[]},classes(t){const e=Array.isArray(t)?t.join(" "):t;if(this.hostElement){return this.hostElement.classList.toString()+" "+e}return e}});const n=t=>{if(typeof t==="string"){return["true","True","TRUE","1"].indexOf(t)!==-1?"true":"false"}else if(typeof t==="number"){return t>0?"true":"false"}else if(typeof t==="boolean"){return t?"true":"false"}else{return t?"true":"false"}};const o=t=>{if(typeof t==="string"){return["true","True","TRUE","1","On","on","ON"].indexOf(t)!==-1?"on":"off"}else if(typeof t==="number"){return t>0?"on":"off"}else if(typeof t==="boolean"){return t?"on":"off"}else{return t?"on":"off"}};const f=t=>typeof t==="undefined"?undefined:n(t);const u=t=>typeof t==="undefined"?undefined:o(t);const i=t=>t?"0":"-1";export{i as a,r as b,n as c,u as d,s as g,t as p,e as s,f as t};
|
|
2
|
+
//# sourceMappingURL=p-0075138f.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["prepareClasses","classes","Array","isArray","filter","classname","join","trim","slottedChildren","host","slotted","querySelector","assignedNodes","node","nodeName","booleanString","value","govHost","hostElement","name","this","toLowerCase","hasSlot","getSlot","isSlotEmpty","slot","childNodes","length","slottedElements","from","querySelectorAll","getParent","element","closest","passChildAttr","selector","forEach","child","setAttribute","removeChildAttr","removeAttribute","shadowRoot","clearClasses","classList","toString","toBoolAttr","indexOf","toOnOffAttr","toBoolAttrIfDefined","undefined","toOnOffAttrIfDefined","boolToFocusValue"],"sources":["../../../packages/core/src/helpers/Dom/template.ts"],"sourcesContent":["import {HTMLStencilElement} from '@stencil/core/internal'\nimport {GovHost} from './template.types'\nimport {Nullable} from '../../types/interfaces'\n\nexport const prepareClasses = (classes: string[]): string => {\n\tif (Array.isArray(classes) === false) return\n\treturn classes\n\t\t.filter(classname => !!classname)\n\t\t.join(' ')\n\t\t.trim()\n}\n\nexport const slottedChildren = (host: HTMLStencilElement): Node[] => {\n\tconst slotted = host.querySelector('slot') as HTMLSlotElement\n\tif (slotted) {\n\t\treturn slotted.assignedNodes().filter(node => {\n\t\t\treturn node.nodeName !== '#text'\n\t\t})\n\t}\n\treturn []\n}\n\nexport const booleanString = (value: boolean): string => {\n\treturn value ? 'true' : 'false'\n}\n\nexport const govHost = (host: HTMLStencilElement): GovHost => {\n\treturn {\n\t\tget hostElement(): HTMLStencilElement {\n\t\t\treturn host\n\t\t},\n\t\tget name(): string {\n\t\t\treturn this.hostElement.nodeName.toLowerCase()\n\t\t},\n\t\thasSlot(name: string): boolean {\n\t\t\treturn !!this.getSlot(name)\n\t\t},\n\t\tisSlotEmpty(name: string): boolean {\n\t\t\tconst slot = this.getSlot(name)\n\t\t\tif (slot) {\n\t\t\t\treturn slot.childNodes.length === 0\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tgetSlot(name: string): HTMLElement {\n\t\t\tconst slottedElements = Array.from(this.hostElement.querySelectorAll(`[slot=\"${name}\"]`)) as HTMLElement[];\n\t\t\treturn slottedElements.length > 0 ? slottedElements[0] : null;\n\t\t},\n\t\tgetParent(element): Nullable<HTMLElement> {\n\t\t\treturn this.hostElement.closest(element)\n\t\t},\n\t\tpassChildAttr(selector: string | string[], name: string, value: any): void {\n\t\t\tif (Array.isArray(selector)) {\n\t\t\t\tselector.forEach(selector => {\n\t\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.setAttribute(name, value))\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.setAttribute(name, value))\n\t\t\t}\n\t\t},\n\t\tremoveChildAttr(selector: string | string[], name: string): void {\n\t\t\tif (Array.isArray(selector)) {\n\t\t\t\tselector.forEach(selector => {\n\t\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name))\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\tthis.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name))\n\t\t\t}\n\t\t},\n\t\tget slottedChildren(): Node[] {\n\t\t\tconst slotted = this.hostElement.shadowRoot.querySelector('slot') as HTMLSlotElement\n\t\t\tif (slotted) {\n\t\t\t\treturn slotted.assignedNodes().filter(node => {\n\t\t\t\t\treturn node.nodeName !== '#text'\n\t\t\t\t})\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\tclasses(classes: string | string[]): string {\n\t\t\tconst clearClasses = Array.isArray(classes) ? classes.join(' ') : classes\n\t\t\tif (this.hostElement) {\n\t\t\t\treturn this.hostElement.classList.toString() + ' ' + clearClasses\n\t\t\t}\n\t\t\treturn clearClasses\n\t\t},\n\t}\n}\n\nexport const toBoolAttr = (value: boolean | string | number): string => {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1'].indexOf(value) !== -1 ? 'true' : 'false'\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0 ? 'true' : 'false'\n\t} else if (typeof value === 'boolean') {\n\t\treturn value ? 'true' : 'false'\n\t} else {\n\t\treturn value ? 'true' : 'false'\n\t}\n}\n\nexport const toOnOffAttr = (value: boolean | string | number): string => {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1', 'On', 'on', 'ON'].indexOf(value) !== -1 ? 'on' : 'off'\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0 ? 'on' : 'off'\n\t} else if (typeof value === 'boolean') {\n\t\treturn value ? 'on' : 'off'\n\t} else {\n\t\treturn value ? 'on' : 'off'\n\t}\n}\n\nexport const toBoolAttrIfDefined = (value: boolean | string | number | undefined | null): undefined | string => {\n\treturn typeof value === 'undefined' ? undefined : toBoolAttr(value)\n}\n\nexport const toOnOffAttrIfDefined = (value: boolean | string | number | undefined | null): undefined | string => {\n\treturn typeof value === 'undefined' ? undefined : toOnOffAttr(value)\n}\n\nexport const boolToFocusValue = (value: boolean): undefined | string => {\n\treturn value ? '0' : '-1'\n}\n"],"mappings":"MAIaA,EAAkBC,IAC9B,GAAIC,MAAMC,QAAQF,KAAa,MAAO,OACtC,OAAOA,EACLG,QAAOC,KAAeA,IACtBC,KAAK,KACLC,MAAM,E,MAGIC,EAAmBC,IAC/B,MAAMC,EAAUD,EAAKE,cAAc,QACnC,GAAID,EAAS,CACZ,OAAOA,EAAQE,gBAAgBR,QAAOS,GAC9BA,EAAKC,WAAa,S,CAG3B,MAAO,EAAE,E,MAGGC,EAAiBC,GACtBA,EAAQ,OAAS,Q,MAGZC,EAAWR,IAChB,CACN,eAAIS,GACH,OAAOT,C,EAER,QAAIU,GACH,OAAOC,KAAKF,YAAYJ,SAASO,a,EAElC,OAAAC,CAAQH,GACP,QAASC,KAAKG,QAAQJ,E,EAEvB,WAAAK,CAAYL,GACX,MAAMM,EAAOL,KAAKG,QAAQJ,GAC1B,GAAIM,EAAM,CACT,OAAOA,EAAKC,WAAWC,SAAW,C,CAEnC,OAAO,K,EAER,OAAAJ,CAAQJ,GACP,MAAMS,EAAkB1B,MAAM2B,KAAKT,KAAKF,YAAYY,iBAAiB,UAAUX,QAC/E,OAAOS,EAAgBD,OAAS,EAAIC,EAAgB,GAAK,I,EAE1D,SAAAG,CAAUC,GACT,OAAOZ,KAAKF,YAAYe,QAAQD,E,EAEjC,aAAAE,CAAcC,EAA6BhB,EAAcH,GACxD,GAAId,MAAMC,QAAQgC,GAAW,CAC5BA,EAASC,SAAQD,IAChBf,KAAKF,YAAYY,iBAAiBK,GAAUC,SAAQC,GAASA,EAAMC,aAAanB,EAAMH,IAAO,G,KAExF,CACNI,KAAKF,YAAYY,iBAAiBK,GAAUC,SAAQC,GAASA,EAAMC,aAAanB,EAAMH,I,GAGxF,eAAAuB,CAAgBJ,EAA6BhB,GAC5C,GAAIjB,MAAMC,QAAQgC,GAAW,CAC5BA,EAASC,SAAQD,IAChBf,KAAKF,YAAYY,iBAAiBK,GAAUC,SAAQC,GAASA,EAAMG,gBAAgBrB,IAAM,G,KAEpF,CACNC,KAAKF,YAAYY,iBAAiBK,GAAUC,SAAQC,GAASA,EAAMG,gBAAgBrB,I,GAGrF,mBAAIX,GACH,MAAME,EAAUU,KAAKF,YAAYuB,WAAW9B,cAAc,QAC1D,GAAID,EAAS,CACZ,OAAOA,EAAQE,gBAAgBR,QAAOS,GAC9BA,EAAKC,WAAa,S,CAG3B,MAAO,E,EAER,OAAAb,CAAQA,GACP,MAAMyC,EAAexC,MAAMC,QAAQF,GAAWA,EAAQK,KAAK,KAAOL,EAClE,GAAImB,KAAKF,YAAa,CACrB,OAAOE,KAAKF,YAAYyB,UAAUC,WAAa,IAAMF,C,CAEtD,OAAOA,C,UAKGG,EAAc7B,IAC1B,UAAWA,IAAU,SAAU,CAC9B,MAAO,CAAC,OAAQ,OAAQ,OAAQ,KAAK8B,QAAQ9B,MAAY,EAAI,OAAS,O,MAChE,UAAWA,IAAU,SAAU,CACrC,OAAOA,EAAQ,EAAI,OAAS,O,MACtB,UAAWA,IAAU,UAAW,CACtC,OAAOA,EAAQ,OAAS,O,KAClB,CACN,OAAOA,EAAQ,OAAS,O,GAInB,MAAM+B,EAAe/B,IAC3B,UAAWA,IAAU,SAAU,CAC9B,MAAO,CAAC,OAAQ,OAAQ,OAAQ,IAAK,KAAM,KAAM,MAAM8B,QAAQ9B,MAAY,EAAI,KAAO,K,MAChF,UAAWA,IAAU,SAAU,CACrC,OAAOA,EAAQ,EAAI,KAAO,K,MACpB,UAAWA,IAAU,UAAW,CACtC,OAAOA,EAAQ,KAAO,K,KAChB,CACN,OAAOA,EAAQ,KAAO,K,SAIXgC,EAAuBhC,UACrBA,IAAU,YAAciC,UAAYJ,EAAW7B,G,MAGjDkC,EAAwBlC,UACtBA,IAAU,YAAciC,UAAYF,EAAY/B,G,MAGlDmC,EAAoBnC,GACzBA,EAAQ,IAAM,Y","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["prepareIconFormat","value","length","regexPattern","test","icon","split","type","name"],"sources":["../../../packages/core/src/components/gov-icon/helpers.ts"],"sourcesContent":["import {Nullable} from \"../../types/interfaces\";\n\nexport
|
|
1
|
+
{"version":3,"names":["prepareIconFormat","value","length","regexPattern","test","icon","split","type","name"],"sources":["../../../packages/core/src/components/gov-icon/helpers.ts"],"sourcesContent":["import {Nullable} from \"../../types/interfaces\";\n\nexport type IconType = { type: string, name: string }\n\nexport const prepareIconFormat = (value: string): Nullable<IconType> => {\n\tif (typeof value === 'string' && value.length) {\n\t\tconst regexPattern = /^[a-z-]+\\/[a-z-]+$/;\n\t\tif (regexPattern.test(value)) {\n\t\t\tconst icon = value.split(\"/\");\n\t\t\treturn {\n\t\t\t\ttype: icon[0],\n\t\t\t\tname: icon[1],\n\t\t\t}\n\t\t}\n\t}\n\treturn null\n}\n"],"mappings":"MAIaA,EAAqBC,IACjC,UAAWA,IAAU,UAAYA,EAAMC,OAAQ,CAC9C,MAAMC,EAAe,qBACrB,GAAIA,EAAaC,KAAKH,GAAQ,CAC7B,MAAMI,EAAOJ,EAAMK,MAAM,KACzB,MAAO,CACNC,KAAMF,EAAK,GACXG,KAAMH,EAAK,G,EAId,OAAO,IAAI,S","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as s,c as e,h as a,a as t,g as i}from"./p-a1e95a5f.js";import{v as c}from"./p-169b67af.js";import{a as d,A as f,b as o}from"./p-60658ae9.js";import{g as b,t as n,b as r}from"./p-0075138f.js";import{i as h}from"./p-d9a299a4.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-9ac55bd1.js";const p=class{constructor(a){s(this,a);this.govChange=e(this,"gov-change",7);this.inheritedAttributes={};this.openState=undefined;this.identifier=undefined;this.size=undefined;this.disabled=false;this.open=false;this.h=b(this.host)}validateSize(s){c(o,s,f.root)}componentWillLoad(){this.getPropsFromParents();this.validateSize(this.size);this.inheritedAttributes=h(this.host)}getPropsFromParents(){const s=this.h.getParent(d.root);if(s){this.size=s.getAttribute("size")}}render(){return a(t,{key:"cd78429326c306d9ab9fdc15954cd7029aa3ee35",class:this.h.classes([f.root,this.disabled&&f.disabled]),size:this.size,role:"listitem"},a("details",{key:"5372c71057418b93711f7d2c6065a6cc669105ff",class:f.details,id:this.identifier,"aria-disabled":n(this.disabled),open:this.open},a("summary",Object.assign({key:"a2e06472048b79b206dc4421e43f0afd877b9be6",onClick:s=>{s.stopPropagation();s.preventDefault();!this.disabled&&this.toggle().finally()},class:f.summary,tabIndex:this.disabled?-1:0,"aria-expanded":r(this.open)},this.inheritedAttributes),this.h.hasSlot("icon")&&a("span",{key:"a2e6529d090c59ef45c8f7dbfd452165eebdf6e5",class:f.icon},a("slot",{key:"ec572df22db3551aeb1baa31077d2bb368db88ca",name:"icon"})),a("span",{key:"44451f5e8df2550217af485162015a0810b2735e",class:f.title},a("slot",{key:"7f1c09f9537fe337a95e67b6f0c90c9c00ca00c1",name:"label"}),a("slot",{key:"84d426afff5847ffe57a96c12c163219a8720872",name:"annotation"})),a("span",{key:"c4e37d6e8726486a043dd1def487d14e9678585b",class:f.right},a("slot",{key:"b29e5714737ce05b8d194ce693dc4729e6b0e8a0",name:"suffix"}),a("span",{key:"1bd99c3f807ebc20ba4545d1c09325ce5b940d1a",class:f.arrow},a("slot",{key:"ec2f902bccb6f21701238b822d72e7b2819c20c3",name:"toggle-icon"},a("gov-icon",{key:"ab143aace36d062bfb6e78c2f3544a0efb52cb49",name:"chevron-down"}))))),a("div",{key:"253f1a692a13698306d2f2f1b050252b7a798886",class:f.content},a("slot",{key:"f51877b9d3f58f29bced6949b170529ddbf45864"}))))}async toggle(){this.open=!this.open;this.govChange.emit({open:this.open,component:f.root,ref:this.host})}async currentState(){return this.open}get host(){return i(this)}static get watchers(){return{size:["validateSize"]}}};export{p as gov_accordion_item};
|
|
2
|
+
//# sourceMappingURL=p-023787b3.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["GovAccordionItem","constructor","hostRef","this","inheritedAttributes","h","govHost","host","validateSize","newValue","validateProp","AccordionSizes","AccordionItemClass","root","componentWillLoad","getPropsFromParents","size","inheritAriaAttributes","accordion","getParent","AccordionClass","getAttribute","render","Host","key","class","classes","disabled","role","details","id","identifier","toBoolAttrIfDefined","open","Object","assign","onClick","e","stopPropagation","preventDefault","toggle","finally","summary","tabIndex","booleanString","hasSlot","icon","name","title","right","arrow","content","govChange","emit","component","ref","currentState"],"sources":["../../../packages/core/src/components/gov-accordion/gov-accordion-item.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {AccordionClass, AccordionItemClass, AccordionSizes, AccordionSizeType,} from \"./constants\"\nimport {booleanString, govHost, toBoolAttrIfDefined} from \"../../helpers/Dom/template\"\nimport {AccordionItemEvent} from \"./gov-accordion.types\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\nimport {Attributes} from \"../../helpers/Dom/attribute\";\n\n@Component({\n\ttag: \"gov-accordion-item\",\n})\nexport class GovAccordionItem {\n\tprivate h: GovHost\n\tprivate inheritedAttributes: Attributes = {};\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovAccordionItemElement\n\t@State() openState: boolean\n\n\t/**\n\t * Custom accordion item identifier.\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Accordion’s size.\n\t */\n\t@Prop() size?: AccordionSizeType\n\t/**\n\t * Makes the button component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the accordion is open or closed by button\n\t */\n\t@Prop({attribute: \"open\", mutable: true}) open = false\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<AccordionItemEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionItemClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.getPropsFromParents()\n\t\tthis.validateSize(this.size)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tprivate getPropsFromParents() {\n\t\tconst accordion = this.h.getParent(AccordionClass.root)\n\t\tif (accordion) {\n\t\t\tthis.size = accordion.getAttribute(\"size\") as AccordionSizeType\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes([AccordionItemClass.root,\n\t\t\t\tthis.disabled && AccordionItemClass.disabled])}\n\t\t\t\t size={this.size}\n\t\t\t\t role=\"listitem\">\n\t\t\t\t<details\n\t\t\t\t\tclass={AccordionItemClass.details}\n\t\t\t\t\tid={this.identifier}\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\topen={this.open}\n\t\t\t\t>\n\t\t\t\t\t<summary\n\t\t\t\t\t\tonClick={(e: Event) => {\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t!this.disabled && this.toggle().finally()\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tclass={AccordionItemClass.summary}\n\t\t\t\t\t\ttabIndex={this.disabled ? -1 : 0}\n\t\t\t\t\t\taria-expanded={booleanString(this.open)}\n\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.h.hasSlot('icon') &&\n\t\t\t\t\t\t\t<span class={AccordionItemClass.icon}>\n\t\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t<span class={AccordionItemClass.title}>\n\t\t\t\t\t\t\t<slot name=\"label\"/>\n\t\t\t\t\t\t\t<slot name=\"annotation\"/>\n\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t<span class={AccordionItemClass.right}>\n\t\t\t\t\t\t\t<slot name=\"suffix\"/>\n\t\t\t\t\t\t\t<span class={AccordionItemClass.arrow}>\n\t\t\t\t\t\t\t\t<slot name=\"toggle-icon\">\n\t\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t\t</slot>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</summary>\n\t\t\t\t\t<div class={AccordionItemClass.content}>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</div>\n\t\t\t\t</details>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Accordion switch\n\t */\n\t@Method()\n\tasync toggle(): Promise<void> {\n\t\tthis.open = !this.open\n\t\tthis.govChange.emit({\n\t\t\topen: this.open,\n\t\t\tcomponent: AccordionItemClass.root,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync currentState(): Promise<boolean> {\n\t\treturn this.open\n\t}\n}\n"],"mappings":"0WAYaA,EAAgB,MAI5B,WAAAC,CAAAC,G,gDAFQC,KAAAC,oBAAkC,G,qFAoBL,M,UAIY,MArBhDD,KAAKE,EAAIC,EAAQH,KAAKI,K,CA4BvB,YAAAC,CAAaC,GACZC,EAAaC,EAAgBF,EAAUG,EAAmBC,K,CAG3D,iBAAAC,GACCX,KAAKY,sBACLZ,KAAKK,aAAaL,KAAKa,MACvBb,KAAKC,oBAAsBa,EAAsBd,KAAKI,K,CAG/C,mBAAAQ,GACP,MAAMG,EAAYf,KAAKE,EAAEc,UAAUC,EAAeP,MAClD,GAAIK,EAAW,CACdf,KAAKa,KAAOE,EAAUG,aAAa,O,EAIrC,MAAAC,GACC,OACCjB,EAACkB,EAAI,CAAAC,IAAA,2CAACC,MAAOtB,KAAKE,EAAEqB,QAAQ,CAACd,EAAmBC,KAC/CV,KAAKwB,UAAYf,EAAmBe,WAClCX,KAAMb,KAAKa,KACXY,KAAK,YACPvB,EAAA,WAAAmB,IAAA,2CACCC,MAAOb,EAAmBiB,QAC1BC,GAAI3B,KAAK4B,WAAU,gBACJC,EAAoB7B,KAAKwB,UACxCM,KAAM9B,KAAK8B,MAEX5B,EAAA,UAAA6B,OAAAC,OAAA,CAAAX,IAAA,2CACCY,QAAUC,IACTA,EAAEC,kBACFD,EAAEE,kBACDpC,KAAKwB,UAAYxB,KAAKqC,SAASC,SAAS,EAE1ChB,MAAOb,EAAmB8B,QAC1BC,SAAUxC,KAAKwB,UAAY,EAAI,EAAC,gBACjBiB,EAAczC,KAAK8B,OAC9B9B,KAAKC,qBAERD,KAAKE,EAAEwC,QAAQ,SACfxC,EAAA,QAAAmB,IAAA,2CAAMC,MAAOb,EAAmBkC,MAC/BzC,EAAA,QAAAmB,IAAA,2CAAMuB,KAAK,UAIb1C,EAAA,QAAAmB,IAAA,2CAAMC,MAAOb,EAAmBoC,OAC/B3C,EAAA,QAAAmB,IAAA,2CAAMuB,KAAK,UACX1C,EAAA,QAAAmB,IAAA,2CAAMuB,KAAK,gBAGZ1C,EAAA,QAAAmB,IAAA,2CAAMC,MAAOb,EAAmBqC,OAC/B5C,EAAA,QAAAmB,IAAA,2CAAMuB,KAAK,WACX1C,EAAA,QAAAmB,IAAA,2CAAMC,MAAOb,EAAmBsC,OAC/B7C,EAAA,QAAAmB,IAAA,2CAAMuB,KAAK,eACV1C,EAAA,YAAAmB,IAAA,2CAAUuB,KAAK,qBAKnB1C,EAAA,OAAAmB,IAAA,2CAAKC,MAAOb,EAAmBuC,SAC9B9C,EAAA,QAAAmB,IAAA,+C,CAWL,YAAMgB,GACLrC,KAAK8B,MAAQ9B,KAAK8B,KAClB9B,KAAKiD,UAAUC,KAAK,CACnBpB,KAAM9B,KAAK8B,KACXqB,UAAW1C,EAAmBC,KAC9B0C,IAAKpD,KAAKI,M,CAQZ,kBAAMiD,GACL,OAAOrD,KAAK8B,I","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as o}from"./p-45a30859.js";import{S as r}from"./p-92f420cb.js";const a=o(r,["_2XS","_XS","_S","_M","_L"]);var s;(function(o){o["HORIZONTAL"]="horizontal";o["VERTICAL"]="vertical"})(s||(s={}));const t={root:"gov-form-group"};const c={root:"gov-form-radio-group"};const p={root:"gov-form-checkbox-group"};export{p as F,t as a,a as b,s as c,c as d};
|
|
2
|
+
//# sourceMappingURL=p-052cc573.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,a as e,g as a}from"./p-a1e95a5f.js";import{v as h}from"./p-169b67af.js";import{T as o,a as r,b as n,c,d as l}from"./p-e9a6cd71.js";import{g as d,c as f,b as p}from"./p-0075138f.js";import{h as b}from"./p-2aedc81e.js";import{p as m}from"./p-016bbea6.js";import{A as u,a as g}from"./p-9ac55bd1.js";import{i as y}from"./p-d9a299a4.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-e3aeaca0.js";const v=class{constructor(i){t(this,i);this.govChange=s(this,"gov-change",7);this.triggerRefs={};this.type="text";this.size="m";this.color="primary";this.orientation="horizontal";this.direction="row";this.controllers=[];this.focusIndex=0;this.inheritedAttributes={};this.h=d(this.host)}validateType(t){h(n,t,r.root)}validateColor(t){h(c,t,r.root)}validateSize(t){h(l,t,r.root)}componentDidLoad(){this.attributeObserver=new u(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(g)}componentWillLoad(){this.prepareControllers();this.validateSize(this.size);this.inheritedAttributes=y(this.host)}disconnectedCallback(){this.attributeObserver.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}prepareControllers(t=false){this.controllers=[];const s=[];this.host.querySelectorAll(o.root).forEach((t=>{const i=Promise.all([t.getIdentifier(),t.getTriggerIdentifier(),t.getDisableState()]).then((([s,i,e])=>{const a=typeof t.getAttribute("default")==="string";const h=m(t.getAttribute("icon-start"));const o=m(t.getAttribute("icon-end"));return{label:t.getAttribute("label"),direction:t.getAttribute("direction"),contentIdentifier:s,disabled:e,triggerIdentifier:i,element:t,active:false,default:a,iconStart:h,iconEnd:o}}));s.push(i)}));Promise.all(s).then((s=>{if(t===false){let t=s.findIndex((t=>t.default));if(t===-1)t=0;this.focusIndex=t;s[t].active=true}else if(this.focusIndex>-1&&b(s,this.focusIndex)){s[this.focusIndex].active=true}const i=s.findIndex((t=>t.active&&t.disabled));if(i>-1){s[i].active=false;const t=s.findIndex((t=>!t.disabled));if(t>-1){s[t].active=true;this.focusIndex=t}}this.controllers=[...s];this.reRender()}))}setActiveByIdentifier(t){const s=[];this.controllers.map((i=>{i.active=t===i.triggerIdentifier||t===i.contentIdentifier;s.push(i)}));this.controllers=[...s]}reRender(){this.controllers.map((t=>{t.element.setActiveStatus(t.active).catch()}))}render(){return i(e,{key:"bc7d4a5046998b050c1ca29aef432e27d7a420a1",class:this.h.classes(r.root),size:this.size,color:this.color,type:this.type,direction:this.direction,onKeyDown:this.onKeydownHandler.bind(this)},i("div",Object.assign({key:"560b7509d6219931dc2c60eac48d0038c751bd0c",class:r.tabs,role:"tablist"},this.inheritedAttributes),i("ul",{key:"3fb683c97ede9bb6f8dd795b4e45ea439e611283",class:r.list},this.controllers.map((t=>i("li",{class:r.item},this.type=="text"?i("button",{class:r.btn,id:t.triggerIdentifier,role:"tab",onClick:()=>this.onSelectHandler(t),disabled:t.disabled,"aria-disabled":f(t.disabled),"aria-selected":f(t.active),"aria-controls":t.contentIdentifier,tabindex:t.active&&!t.disabled?0:-1,ref:s=>this.triggerRefs[t.triggerIdentifier]=s},t.iconStart?i("gov-icon",{name:t.iconStart.name,type:t.iconStart.type}):null,t.label,t.iconEnd?i("gov-icon",{name:t.iconEnd.name,type:t.iconEnd.type}):null):i("gov-chip",{role:"tab",tag:"button",identifier:t.triggerIdentifier,"aria-selected":p(t.active),"aria-controls":t.contentIdentifier,focusable:t.active,disabled:t.disabled,color:this.color,size:this.size==="xs"?"xs":this.size==="s"?"s":"m",type:t.active?"solid":"outlined",ref:s=>this.triggerRefs[t.triggerIdentifier]=s,"on-gov-click":()=>this.onSelectHandler(t)},t.iconStart?i("gov-icon",{name:t.iconStart.name,type:t.iconStart.type,slot:"left-icon"}):null,t.label,t.iconEnd?i("gov-icon",{name:t.iconEnd.name,type:t.iconEnd.type,slot:"right-icon"}):null)))))),i("slot",{key:"90cbf1a2c703360a182b754e79a6ff7f5c7823e1"}))}getCurrentTab(){return this.controllers.find((t=>t.active))||null}onSelectHandler(t){const s=this.controllers.findIndex((s=>s.triggerIdentifier===t.triggerIdentifier));this.focusIndex=s;this.setActiveByIdentifier(t.triggerIdentifier);this.reRender();this.govChange.emit(this.getCurrentTab().element)}onKeydownHandler(t){const s=t.keyCode;t.stopPropagation();this.goToPrevNext(s)}goToPrevNext(t){if([37,38,39,40].includes(t)){if(false===(this.focusIndex>=0&&this.focusIndex<=this.controllers.length-1)){return}this.controllers[this.focusIndex].active=false;if(t===39||t===40){this.focusIndex++;if(this.focusIndex>=this.controllers.length){this.focusIndex=0}if(this.controllers[this.focusIndex].disabled){this.goToPrevNext(40)}}else if(t===37||t===38){this.focusIndex--;if(this.focusIndex<0){this.focusIndex=this.controllers.length-1}if(this.controllers[this.focusIndex].disabled){this.goToPrevNext(38)}}if(this.focusIndex>=0&&this.focusIndex<=this.controllers.length-1){const t=this.controllers[this.focusIndex];t.active=true;const s=this.triggerRefs[t.triggerIdentifier];if(s.nodeName.toLowerCase()==="gov-chip"){this.triggerRefs[t.triggerIdentifier].setFocus()}else{this.triggerRefs[t.triggerIdentifier].focus()}this.controllers=[...this.controllers];this.reRender();this.govChange.emit(this.getCurrentTab().element)}}}async refresh(){this.prepareControllers()}async currentTab(){return this.getCurrentTab().element||null}async setActiveTab(t){this.setActiveByIdentifier(t);this.reRender()}async rerender(){this.prepareControllers(true)}get host(){return a(this)}static get watchers(){return{type:["validateType"],color:["validateColor"],size:["validateSize"]}}};export{v as gov_tabs};
|
|
2
|
+
//# sourceMappingURL=p-0a952b3c.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["GovTabs","constructor","hostRef","this","triggerRefs","h","govHost","host","validateType","newValue","validateProp","TabTypes","TabsClass","root","validateColor","TabColors","validateSize","TabSizes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentWillLoad","prepareControllers","size","inheritedAttributes","inheritAriaAttributes","disconnectedCallback","stopObserving","removeAttribute","Object","assign","skipDefault","controllers","promises","querySelectorAll","TabsItemClass","forEach","tab","controlItem","Promise","all","getIdentifier","getTriggerIdentifier","getDisableState","then","identifier","triggerIdentifier","disabled","isDefault","getAttribute","iconStart","prepareIconFormat","iconEnd","label","direction","contentIdentifier","element","active","default","push","defaultTabIndex","findIndex","controller","focusIndex","hasOwnProperty","isWrongCombination","firstGoodTab","reRender","setActiveByIdentifier","temp","map","item","control","setActiveStatus","catch","render","Host","key","class","classes","color","type","onKeyDown","onKeydownHandler","bind","tabs","role","list","btn","id","onClick","onSelectHandler","toBoolAttr","tabindex","ref","el","name","tag","booleanString","focusable","slot","getCurrentTab","find","index","t","govChange","emit","e","keyCode","stopPropagation","goToPrevNext","includes","length","current","trigger","nodeName","toLowerCase","setFocus","focus","refresh","currentTab","setActiveTab","rerender"],"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {\n\tColorType,\n\tTabColors,\n\tTabOrientationType,\n\tTabsClass,\n\tTabsItemClass,\n\tTabSizes,\n\tTabSizeType,\n\tTabType,\n\tTabTypes\n} from \"./constants\"\nimport {GovTabControllerItem} from \"./gov-tabs.types\"\nimport {booleanString, govHost, toBoolAttr} from \"../../helpers/Dom/template\"\nimport {Nullable} from \"../../types/interfaces\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {hasOwnProperty} from \"../../utils/helpers.types\";\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n\n@Component({\n\ttag: \"gov-tabs\",\n})\nexport class GovTabs {\n\tprivate h: GovHost\n\tprivate triggerRefs: Record<string, HTMLButtonElement | HTMLGovChipElement> = {}\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTabsElement\n\t/**\n\t * Tabs type\n\t */\n\t@Prop() readonly type: TabType = \"text\"\n\t/**\n\t * Tabs size.\n\t */\n\t@Prop() readonly size?: TabSizeType = 'm'\n\t/**\n\t * Style variation of the tab chips.\n\t */\n\t@Prop() readonly color?: ColorType = \"primary\"\n\t/**\n\t * Tabs orientation\n\t */\n\t@Prop() readonly orientation: TabOrientationType = \"horizontal\"\n\t/**\n\t * Icon and description display direction\n\t */\n\t@Prop({reflect: true}) readonly direction: 'row' | 'column' = 'row'\n\t/**\n\t * Emitted when the tab is changed.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<HTMLGovTabsItemElement>\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(TabTypes, newValue, TabsClass.root)\n\t}\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(TabColors, newValue, TabsClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(TabSizes, newValue, TabsClass.root)\n\t}\n\n\t@State() controllers: GovTabControllerItem[] = []\n\t@State() focusIndex = 0\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.prepareControllers()\n\t\tthis.validateSize(this.size)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\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\tprivate prepareControllers(skipDefault = false): void {\n\t\tthis.controllers = []\n\t\tconst promises: Promise<GovTabControllerItem>[] = []\n\t\tthis.host.querySelectorAll(TabsItemClass.root).forEach((tab: HTMLGovTabsItemElement) => {\n\t\t\tconst controlItem = Promise.all([\n\t\t\t\ttab.getIdentifier(),\n\t\t\t\ttab.getTriggerIdentifier(),\n\t\t\t\ttab.getDisableState()\n\t\t\t]).then(([identifier, triggerIdentifier, disabled]) => {\n\t\t\t\tconst isDefault = typeof tab.getAttribute(\"default\") === \"string\"\n\t\t\t\tconst iconStart = prepareIconFormat(tab.getAttribute('icon-start'))\n\t\t\t\tconst iconEnd = prepareIconFormat(tab.getAttribute('icon-end'))\n\t\t\t\treturn {\n\t\t\t\t\tlabel: tab.getAttribute(\"label\"),\n\t\t\t\t\tdirection: tab.getAttribute(\"direction\"),\n\t\t\t\t\tcontentIdentifier: identifier,\n\t\t\t\t\tdisabled: disabled,\n\t\t\t\t\ttriggerIdentifier: triggerIdentifier,\n\t\t\t\t\telement: tab,\n\t\t\t\t\tactive: false,\n\t\t\t\t\tdefault: isDefault,\n\t\t\t\t\ticonStart,\n\t\t\t\t\ticonEnd\n\t\t\t\t}\n\t\t\t})\n\t\t\tpromises.push(controlItem)\n\t\t});\n\t\tPromise.all(promises).then(controllers => {\n\t\t\tif (skipDefault === false) {\n\t\t\t\tlet defaultTabIndex = controllers.findIndex(controller => controller.default)\n\t\t\t\tif (defaultTabIndex === -1) defaultTabIndex = 0\n\t\t\t\tthis.focusIndex = defaultTabIndex\n\t\t\t\tcontrollers[defaultTabIndex].active = true\n\t\t\t} else if (this.focusIndex > -1 && hasOwnProperty(controllers, this.focusIndex)) {\n\t\t\t\tcontrollers[this.focusIndex].active = true\n\t\t\t}\n\t\t\tconst isWrongCombination = controllers.findIndex((controller) => controller.active && controller.disabled)\n\t\t\tif (isWrongCombination > -1) {\n\t\t\t\tcontrollers[isWrongCombination].active = false;\n\t\t\t\tconst firstGoodTab = controllers.findIndex((controller) => !controller.disabled)\n\t\t\t\tif (firstGoodTab > -1) {\n\t\t\t\t\tcontrollers[firstGoodTab].active = true\n\t\t\t\t\tthis.focusIndex = firstGoodTab;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.controllers = [...controllers]\n\t\t\tthis.reRender()\n\t\t})\n\t}\n\n\tprivate setActiveByIdentifier(identifier: string) {\n\t\tconst temp = []\n\t\tthis.controllers.map(item => {\n\t\t\titem.active = identifier === item.triggerIdentifier || identifier === item.contentIdentifier\n\t\t\ttemp.push(item)\n\t\t})\n\t\tthis.controllers = [...temp]\n\t}\n\n\tprivate reRender() {\n\t\tthis.controllers.map(control => {\n\t\t\tcontrol.element.setActiveStatus(control.active).catch()\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(TabsClass.root)}\n\t\t\t\tsize={this.size}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tdirection={this.direction}\n\t\t\t\tonKeyDown={this.onKeydownHandler.bind(this)}\n\t\t\t>\n\t\t\t\t<div class={TabsClass.tabs}\n\t\t\t\t\t role=\"tablist\"\n\t\t\t\t\t {...this.inheritedAttributes}>\n\t\t\t\t\t<ul class={TabsClass.list}>\n\t\t\t\t\t\t{this.controllers.map(control => (\n\t\t\t\t\t\t\t<li class={TabsClass.item}>\n\t\t\t\t\t\t\t\t{this.type == \"text\" ? (\n\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\tclass={TabsClass.btn}\n\t\t\t\t\t\t\t\t\t\tid={control.triggerIdentifier}\n\t\t\t\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t\t\t\tonClick={() => this.onSelectHandler(control)}\n\t\t\t\t\t\t\t\t\t\tdisabled={control.disabled}\n\t\t\t\t\t\t\t\t\t\taria-disabled={toBoolAttr(control.disabled)}\n\t\t\t\t\t\t\t\t\t\taria-selected={toBoolAttr(control.active)}\n\t\t\t\t\t\t\t\t\t\taria-controls={control.contentIdentifier}\n\t\t\t\t\t\t\t\t\t\ttabindex={control.active && !control.disabled ? 0 : -1}\n\t\t\t\t\t\t\t\t\t\tref={el => (this.triggerRefs[control.triggerIdentifier] = el as HTMLButtonElement)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{control.iconStart ? (<gov-icon\n\t\t\t\t\t\t\t\t\t\t\tname={control.iconStart.name}\n\t\t\t\t\t\t\t\t\t\t\ttype={control.iconStart.type}/>) : null}\n\t\t\t\t\t\t\t\t\t\t{control.label}\n\t\t\t\t\t\t\t\t\t\t{control.iconEnd ? (<gov-icon\n\t\t\t\t\t\t\t\t\t\t\tname={control.iconEnd.name}\n\t\t\t\t\t\t\t\t\t\t\ttype={control.iconEnd.type}/>) : null}\n\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<gov-chip\n\t\t\t\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t\t\t\ttag={'button'}\n\t\t\t\t\t\t\t\t\t\tidentifier={control.triggerIdentifier}\n\t\t\t\t\t\t\t\t\t\taria-selected={booleanString(control.active)}\n\t\t\t\t\t\t\t\t\t\taria-controls={control.contentIdentifier}\n\t\t\t\t\t\t\t\t\t\tfocusable={control.active}\n\t\t\t\t\t\t\t\t\t\tdisabled={control.disabled}\n\t\t\t\t\t\t\t\t\t\tcolor={this.color}\n\t\t\t\t\t\t\t\t\t\tsize={this.size === \"xs\" ? \"xs\" : (this.size === \"s\" ? \"s\" : \"m\")}\n\t\t\t\t\t\t\t\t\t\ttype={control.active ? \"solid\" : \"outlined\"}\n\t\t\t\t\t\t\t\t\t\tref={el => (this.triggerRefs[control.triggerIdentifier] = el as HTMLGovChipElement)}\n\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.onSelectHandler(control)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{control.iconStart ? (<gov-icon\n\t\t\t\t\t\t\t\t\t\t\tname={control.iconStart.name}\n\t\t\t\t\t\t\t\t\t\t\ttype={control.iconStart.type}\n\t\t\t\t\t\t\t\t\t\t\tslot=\"left-icon\"/>) : null}\n\t\t\t\t\t\t\t\t\t\t{control.label}\n\t\t\t\t\t\t\t\t\t\t{control.iconEnd ? (<gov-icon\n\t\t\t\t\t\t\t\t\t\t\tname={control.iconEnd.name}\n\t\t\t\t\t\t\t\t\t\t\ttype={control.iconEnd.type}\n\t\t\t\t\t\t\t\t\t\t\tslot=\"right-icon\"/>) : null}\n\t\t\t\t\t\t\t\t\t</gov-chip>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate getCurrentTab(): GovTabControllerItem | null {\n\t\treturn this.controllers.find(control => control.active) || null\n\t}\n\n\tprivate onSelectHandler(control: GovTabControllerItem) {\n\t\tconst index = this.controllers.findIndex(t => t.triggerIdentifier === control.triggerIdentifier);\n\t\tthis.focusIndex = index\n\t\tthis.setActiveByIdentifier(control.triggerIdentifier)\n\t\tthis.reRender()\n\t\tthis.govChange.emit(this.getCurrentTab().element)\n\t}\n\n\tprivate onKeydownHandler(e: KeyboardEvent) {\n\t\tconst keyCode = e.keyCode\n\n\t\te.stopPropagation()\n\t\tthis.goToPrevNext(keyCode)\n\t}\n\n\tprivate goToPrevNext(keyCode: number) {\n\t\tif ([37, 38, 39, 40].includes(keyCode)) {\n\t\t\tif (false === (this.focusIndex >= 0 && this.focusIndex <= this.controllers.length - 1)) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.controllers[this.focusIndex].active = false\n\n\t\t\tif (keyCode === 39 || keyCode === 40) {\n\t\t\t\tthis.focusIndex++\n\t\t\t\tif (this.focusIndex >= this.controllers.length) {\n\t\t\t\t\tthis.focusIndex = 0\n\t\t\t\t}\n\t\t\t\tif (this.controllers[this.focusIndex].disabled) {\n\t\t\t\t\tthis.goToPrevNext(40)\n\t\t\t\t}\n\t\t\t} else if (keyCode === 37 || keyCode === 38) {\n\t\t\t\tthis.focusIndex--\n\t\t\t\tif (this.focusIndex < 0) {\n\t\t\t\t\tthis.focusIndex = this.controllers.length - 1\n\t\t\t\t}\n\t\t\t\tif (this.controllers[this.focusIndex].disabled) {\n\t\t\t\t\tthis.goToPrevNext(38)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.focusIndex >= 0 && this.focusIndex <= this.controllers.length - 1) {\n\t\t\t\tconst current = this.controllers[this.focusIndex]\n\t\t\t\tcurrent.active = true\n\t\t\t\tconst trigger = this.triggerRefs[current.triggerIdentifier]\n\t\t\t\tif (trigger.nodeName.toLowerCase() === 'gov-chip') {\n\t\t\t\t\t(this.triggerRefs[current.triggerIdentifier] as HTMLGovChipElement).setFocus()\n\t\t\t\t} else {\n\t\t\t\t\tthis.triggerRefs[current.triggerIdentifier].focus()\n\t\t\t\t}\n\n\t\t\t\tthis.controllers = [...this.controllers]\n\t\t\t\tthis.reRender()\n\t\t\t\tthis.govChange.emit(this.getCurrentTab().element)\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Regenerate tabs controllers\n\t */\n\t@Method()\n\tasync refresh(): Promise<void> {\n\t\tthis.prepareControllers()\n\t}\n\n\t/**\n\t * Returns the currently selected tabs-item\n\t */\n\t@Method()\n\tasync currentTab(): Promise<Nullable<HTMLGovTabsItemElement>> {\n\t\treturn this.getCurrentTab().element || null\n\t}\n\n\t/**\n\t * Regenerate tabs controllers\n\t */\n\t@Method()\n\tasync setActiveTab(identifier: string): Promise<void> {\n\t\tthis.setActiveByIdentifier(identifier)\n\t\tthis.reRender()\n\t}\n\n\t/**\n\t * Regenerate tabs controllers\n\t */\n\t@Method()\n\tasync rerender(): Promise<void> {\n\t\tthis.prepareControllers(true);\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,a as e,g as h}from"./p-a1e95a5f.js";import{c as a}from"./p-95d41a3b.js";import{v as o}from"./p-169b67af.js";import{g as n,F as r,a as c}from"./p-a693ffbf.js";import{g as l,c as d,t as p}from"./p-0075138f.js";import{F as m}from"./p-1c1d0bbe.js";import{A as f,a as u}from"./p-9ac55bd1.js";import{i as b}from"./p-d9a299a4.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-6aa40794.js";import"./p-e3aeaca0.js";import"./p-42d9924c.js";import"./p-2614044c.js";const g=class{constructor(i){t(this,i);this.govFocus=s(this,"gov-focus",7);this.govBlur=s(this,"gov-blur",7);this.govChange=s(this,"gov-change",7);this.hydrated=false;this.value=undefined;this.checked=false;this.required=false;this.disabled=false;this.indeterminate=false;this.name=undefined;this.size="m";this.identifier=undefined;this.noLabel=false;this.invalid=undefined;this.inheritedAttributes={};this.checkboxId=a("GovCheckbox");this.h=l(this.host);this.f=n(this.h)}validateSize(t){o(c,t,r.root)}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("disabled",d(this.disabled));this.f.passAttrToControl("invalid",d(this.invalid));this.f.passAttrToControl("type","checkbox")}componentWillLoad(){this.passControlAttrs();this.inheritedAttributes=b(this.host)}componentDidLoad(){this.attributeObserver=new f(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(u)}async componentDidRender(){this.f.passAttrToLabel("identifier",this.identifier||this.checkboxId);this.f.passAttrToLabel("required",String(this.required));this.passControlAttrs()}connectedCallback(){this.hydrated=true}disconnectedCallback(){this.attributeObserver.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}render(){const t=t=>{if(this.noLabel){return i("label",{class:r.label},t)}return t};return i(e,{class:r.root,hydrated:this.hydrated,checked:this.checked,size:this.size,invalid:p(this.invalid)},t(i(m,null,i("input",Object.assign({id:this.identifier||this.checkboxId,type:"checkbox",value:this.value,name:this.name,checked:this.checked,onClick:this.onClickHandler.bind(this),onChange:this.onChangeHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),required:this.required,disabled:this.disabled,indeterminate:this.indeterminate,ref:t=>this.inputRef=t},this.inheritedAttributes,{"aria-checked":d(this.checked),"aria-required":p(this.required),"aria-invalid":p(this.invalid),"aria-disabled":p(this.disabled)})),i("span",null,i("slot",{name:"label"}),i("gov-icon",{class:r.check,name:"check-lg"}),i("gov-icon",{class:r.indeterminate,name:"dash-lg"})))))}onFocusHandler(t){t.stopPropagation();this.govFocus.emit({component:r.root,value:this.value,checked:this.checked,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.govBlur.emit({component:r.root,value:this.value,checked:this.checked,originalEvent:t})}onClickHandler(t){t.stopPropagation()}onChangeHandler(t){this.checked=t.target.checked;t.stopPropagation();this.govChange.emit({component:r.root,value:this.value,checked:this.checked,originalEvent:t})}async getRef(){return this.inputRef}get host(){return h(this)}static get watchers(){return{size:["validateSize","watchControlAttrs"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"]}}};export{g as gov_form_checkbox};
|
|
2
|
+
//# sourceMappingURL=p-0ebc8365.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["GovFormCheckbox","constructor","hostRef","this","hydrated","checkboxId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormCheckboxSizes","FormCheckboxClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","size","toBoolAttr","disabled","invalid","componentWillLoad","inheritedAttributes","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentDidRender","passAttrToLabel","identifier","String","required","connectedCallback","disconnectedCallback","stopObserving","removeAttribute","Object","assign","render","wrapCheckbox","children","noLabel","class","label","Host","checked","toBoolAttrIfDefined","Fragment","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","indeterminate","ref","el","inputRef","check","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/checkbox/gov-form-checkbox.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormCheckboxClass, FormCheckboxSizes, FormCheckboxSizesType} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport {FormCheckboxEvent} from \"./gov-form-checkbox.types\"\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-checkbox\",\n})\nexport class GovFormCheckbox {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate inputRef?: HTMLInputElement\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate readonly checkboxId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.checkboxId = createID(\"GovCheckbox\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormCheckboxElement\n\t/**\n\t * Value of checkbox\n\t */\n\t@Prop() readonly value: string\n\t/**\n\t * Checkbox button state\n\t */\n\t@Prop({reflect: true, mutable: true}) checked = false\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 * Makes the checkbox component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter (https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate)\n\t */\n\t@Prop({reflect: true}) readonly indeterminate: boolean = false\n\t/**\n\t * Name of the checkbox.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Checkboxes size.\n\t */\n\t@Prop() readonly size?: FormCheckboxSizesType = \"m\"\n\t/**\n\t * Custom checkbox identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * When you can't use the form label.\n\t */\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: 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 checkbox has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormCheckboxEvent>\n\t/**\n\t * Emitted when the checkbox loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormCheckboxEvent>\n\t/**\n\t * Emitted when the checkbox change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormCheckboxEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormCheckboxSizes, newValue, FormCheckboxClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\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(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", \"checkbox\")\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.passControlAttrs()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\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\tasync componentDidRender() {\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.checkboxId)\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\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\trender() {\n\t\tconst wrapCheckbox = (children) => {\n\t\t\tif (this.noLabel) {\n\t\t\t\treturn (\n\t\t\t\t\t<label class={FormCheckboxClass.label}>\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</label>\n\t\t\t\t)\n\t\t\t}\n\t\t\treturn children\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class={FormCheckboxClass.root} hydrated={this.hydrated} checked={this.checked} size={this.size}\n\t\t\t\t\t\tinvalid={toBoolAttrIfDefined(this.invalid)}>\n\t\t\t\t{wrapCheckbox(\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tid={this.identifier || this.checkboxId}\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tindeterminate={this.indeterminate}\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\t\taria-checked={toBoolAttr(this.checked)}\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t<slot name=\"label\"/>\n\t\t\t\t\t\t\t<gov-icon class={FormCheckboxClass.check} name=\"check-lg\"></gov-icon>\n\t\t\t\t\t\t\t<gov-icon class={FormCheckboxClass.indeterminate} name=\"dash-lg\"></gov-icon>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</Fragment>,\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormCheckboxClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormCheckboxClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onClickHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.checked = (e.target as HTMLInputElement).checked\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormCheckboxClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the reference of the native 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{r as t,h as e,a as s,g as a}from"./p-a1e95a5f.js";import{a as o}from"./p-45a30859.js";import{S as c}from"./p-92f420cb.js";import{g as i}from"./p-0075138f.js";import{v as r}from"./p-169b67af.js";import{a as f,b}from"./p-60658ae9.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";o(c,["_S","_M","_L"]);const m={root:"gov-empty",content:"gov-empty__content"};const p=class{constructor(e){t(this,e);this.size="m";this.h=i(this.host)}validateSize(t){r(b,t,f.root)}componentWillLoad(){this.validateSize(this.size)}render(){return e(s,{key:"d69440398b476c59b60240f687d7f00dacfe4f0d",class:this.h.classes(m.root),size:this.size},this.h.hasSlot("icon")&&e("slot",{key:"7832fc85c0ccbb79a2832cf2bc9bee560790a10e",name:"icon"}),e("div",{key:"0cc061e85c0817f996ffc18601b3ac6dcf2b52b5",class:m.content},e("slot",{key:"fbe776f189de07ba54ca1c600e9979d6af7667b9",name:"headline"}),e("slot",{key:"e28fb1ef408ae3daa1b642ff3b15e87457553b6b"})))}get host(){return a(this)}static get watchers(){return{size:["validateSize"]}}};export{p as gov_empty};
|
|
2
|
+
//# sourceMappingURL=p-17015e36.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["pick","Sizes","EmptyClass","root","content","GovEmpty","constructor","hostRef","this","h","govHost","host","validateSize","newValue","validateProp","AccordionSizes","AccordionClass","componentWillLoad","size","render","Host","key","class","classes","hasSlot","name"],"sources":["../../../packages/core/src/components/gov-empty/constants.ts","../../../packages/core/src/components/gov-empty/gov-empty.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const EmptySizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type EmptySizesType = `${ValueOf<typeof EmptySizes>}`\n\nexport const EmptyClass = {\n\troot: 'gov-empty',\n\tcontent: 'gov-empty__content',\n}\n","import {Component, Element, Host, h, Prop, Watch} from '@stencil/core'\nimport {EmptyClass, EmptySizesType} from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {AccordionClass, AccordionSizes} from \"../gov-accordion/constants\";\n\n@Component({\n\ttag: 'gov-empty',\n})\nexport class GovEmpty {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovEmptyElement\n\t/**\n\t * Element size.\n\t */\n\t@Prop() readonly size?: EmptySizesType = 'm'\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(EmptyClass.root)} size={this.size}>\n\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t)}\n\t\t\t\t<div class={EmptyClass.content}>\n\t\t\t\t\t<slot name=\"headline\" />\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"],"mappings":"+RAI0BA,EAAKC,EAAO,CAAC,KAAM,KAAM,OAG5C,MAAMC,EAAa,CACzBC,KAAM,YACNC,QAAS,sB,MCCGC,EAAQ,MAGpB,WAAAC,CAAAC,G,oBAQyC,IAPxCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAUvB,YAAAC,CAAaC,GACZC,EAAaC,EAAgBF,EAAUG,EAAeb,K,CAGvD,iBAAAc,GACCT,KAAKI,aAAaJ,KAAKU,K,CAGxB,MAAAC,GACC,OACCV,EAACW,EAAI,CAAAC,IAAA,2CAACC,MAAOd,KAAKC,EAAEc,QAAQrB,EAAWC,MAAOe,KAAMV,KAAKU,MACvDV,KAAKC,EAAEe,QAAQ,SACff,EAAA,QAAAY,IAAA,2CAAMI,KAAK,SAEZhB,EAAA,OAAAY,IAAA,2CAAKC,MAAOpB,EAAWE,SACtBK,EAAA,QAAAY,IAAA,2CAAMI,KAAK,aACXhB,EAAA,QAAAY,IAAA,8C","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as s,a,g as e}from"./p-a1e95a5f.js";import{v as i}from"./p-169b67af.js";import{S as r}from"./p-92f420cb.js";import{a as o}from"./p-45a30859.js";import{g as n}from"./p-0075138f.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";const p=o(r,["_2XS","_XS","_S","_M","_L","_XL","_2XL","_3XL","_4XL"]);var c;(function(t){t["NONE"]="none";t["SM"]="sm";t["MD"]="md";t["LG"]="lg";t["XL"]="xl"})(c||(c={}));const h={root:"gov-spacer"};const m=class{constructor(s){t(this,s);this.size=undefined;this.breakpoint=undefined;this.h=n(this.host)}validateSize(t){i(p,t,h.root)}validateBreakpoint(t){i(c,t,h.root)}componentWillLoad(){this.validateSize(this.size);this.validateBreakpoint(this.breakpoint)}render(){return s(a,{key:"57fc29956be744a9eaec0361e4175b7e29dbef13",class:this.h.classes(h.root),size:this.size,breakpoint:this.breakpoint})}get host(){return e(this)}static get watchers(){return{size:["validateSize"],breakpoint:["validateBreakpoint"]}}};export{m as gov_spacer};
|
|
2
|
+
//# sourceMappingURL=p-182189d2.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SpacerSize","pick","Sizes","SpacerBreakpoints","SpacerClass","root","GovSpacer","constructor","hostRef","undefined","this","h","govHost","host","validateSize","newValue","validateProp","validateBreakpoint","componentWillLoad","size","breakpoint","render","Host","key","class","classes"],"sources":["../../../packages/core/src/components/gov-spacer/constants.tsx","../../../packages/core/src/components/gov-spacer/gov-spacer.tsx"],"sourcesContent":["import { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const SpacerSize = pick(Sizes, ['_2XS', '_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL'])\nexport type SpacerSizeType = `${ValueOf<typeof SpacerSize>}`\n\nexport enum SpacerBreakpoints {\n\tNONE = 'none',\n\tSM = 'sm',\n\tMD = 'md',\n\tLG = 'lg',\n\tXL = 'xl',\n}\nexport type SpacerBreakpointsType = `${ValueOf<typeof SpacerBreakpoints>}`\n\nexport const SpacerClass = {\n\troot: 'gov-spacer',\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { SpacerBreakpoints, SpacerBreakpointsType, SpacerClass, SpacerSize, SpacerSizeType } from './constants'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { govHost } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-spacer',\n})\nexport class GovSpacer {\n\tprivate h: GovHost\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t@Element() host: HTMLGovSpacerElement\n\t/**\n\t * Spacer’s size\n\t */\n\t@Prop() readonly size?: SpacerSizeType\n\t/**\n\t * Breakpoint\n\t */\n\t@Prop() readonly breakpoint?: SpacerBreakpointsType = undefined\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SpacerSize, newValue, SpacerClass.root)\n\t}\n\n\t@Watch('breakpoint')\n\tvalidateBreakpoint(newValue: string): void {\n\t\tvalidateProp(SpacerBreakpoints, newValue, SpacerClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateBreakpoint(this.breakpoint)\n\t}\n\n\trender() {\n\t\treturn <Host class={this.h.classes(SpacerClass.root)} size={this.size} breakpoint={this.breakpoint}></Host>\n\t}\n}\n"],"mappings":"oPAIO,MAAMA,EAAaC,EAAKC,EAAO,CAAC,OAAQ,MAAO,KAAM,KAAM,KAAM,MAAO,OAAQ,OAAQ,SAG/F,IAAYC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,WACAA,EAAA,WACAA,EAAA,WACAA,EAAA,UACA,EAND,CAAYA,MAAiB,KAStB,MAAMC,EAAc,CAC1BC,KAAM,c,MCRMC,EAAS,MAErB,WAAAC,CAAAC,G,8CAWsDC,UAVrDC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAavB,YAAAC,CAAaC,GACZC,EAAahB,EAAYe,EAAUX,EAAYC,K,CAIhD,kBAAAY,CAAmBF,GAClBC,EAAab,EAAmBY,EAAUX,EAAYC,K,CAGvD,iBAAAa,GACCR,KAAKI,aAAaJ,KAAKS,MACvBT,KAAKO,mBAAmBP,KAAKU,W,CAG9B,MAAAC,GACC,OAAOV,EAACW,EAAI,CAAAC,IAAA,2CAACC,MAAOd,KAAKC,EAAEc,QAAQrB,EAAYC,MAAOc,KAAMT,KAAKS,KAAMC,WAAYV,KAAKU,Y","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,2 @@
|
|
|
1
|
+
import{g as e}from"./p-b48a4aa0.js";import{s as r}from"./p-95d41a3b.js";import{d as t}from"./p-e0d428c9.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{a,n as b,s as v};
|
|
2
|
+
//# sourceMappingURL=p-28a7d3f7.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,2 @@
|
|
|
1
|
+
import{r as s,c as t,h as a,a as e,g as i}from"./p-a1e95a5f.js";import{v as o}from"./p-169b67af.js";import{S as r,a as c,b as p}from"./p-4bce896c.js";import{g as h}from"./p-0075138f.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-45a30859.js";import"./p-e3aeaca0.js";import"./p-92f420cb.js";const m=class{constructor(a){s(this,a);this.govChange=t(this,"gov-change",7);this.hydrated=false;this.size="m";this.h=h(this.host)}validateSize(s){o(p,s,c.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(r.root).forEach((s=>{s.setAttribute("size",this.size);s.addEventListener("gov-change",(s=>{s.stopPropagation();this.govChange.emit(s.detail)}))}))}connectedCallback(){this.hydrated=true}render(){return a(e,{key:"a77086e0c93fa0073676207ca73d61a323d7765e",class:this.h.classes(c.root),role:"list",size:this.size,hydrated:this.hydrated},a("slot",{key:"6b092ae2e03444afe4cf13d848bf7eb08f15845e"}))}get host(){return i(this)}static get watchers(){return{size:["validateSize"]}}};export{m as gov_stepper};
|
|
2
|
+
//# sourceMappingURL=p-2ed3afef.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["GovStepper","constructor","hostRef","this","hydrated","h","govHost","host","validateSize","newValue","validateProp","StepperSizes","StepperClass","root","componentWillLoad","size","componentDidLoad","querySelectorAll","StepperItemClass","forEach","child","setAttribute","addEventListener","e","stopPropagation","govChange","emit","detail","connectedCallback","render","Host","key","class","classes","role"],"sources":["../../../packages/core/src/components/gov-stepper/gov-stepper.tsx"],"sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { StepperClass, StepperItemClass, StepperSizes, StepperSizesType } from './constants'\nimport { GovStepperItemCustomEvent } from '../../components'\nimport { GovStepperItemChangeEvent } from './gov-stepper-item.d'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { govHost } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-stepper',\n})\nexport class GovStepper {\n\tprivate h: GovHost\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovStepperElement\n\t/**\n\t * Size of stepper\n\t */\n\t@Prop() readonly size?: StepperSizesType = 'm'\n\t/**\n\t * Called when the Stepper state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovStepperItemChangeEvent>\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(StepperSizes, newValue, StepperClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(StepperItemClass.root).forEach((child: HTMLGovStepperItemElement) => {\n\t\t\tchild.setAttribute('size', this.size)\n\t\t\tchild.addEventListener('gov-change', (e: GovStepperItemCustomEvent<GovStepperItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t})\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(StepperClass.root)} role=\"list\" size={this.size} hydrated={this.hydrated}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"wTAWaA,EAAU,MAItB,WAAAC,CAAAC,G,gDAFQC,KAAAC,SAAW,M,UAUwB,IAP1CD,KAAKE,EAAIC,EAAQH,KAAKI,K,CAcvB,YAAAC,CAAaC,GACZC,EAAaC,EAAcF,EAAUG,EAAaC,K,CAGnD,iBAAAC,GACCX,KAAKK,aAAaL,KAAKY,K,CAGxB,gBAAAC,GACCb,KAAKI,KAAKU,iBAAiBC,EAAiBL,MAAMM,SAASC,IAC1DA,EAAMC,aAAa,OAAQlB,KAAKY,MAChCK,EAAME,iBAAiB,cAAeC,IACrCA,EAAEC,kBACFrB,KAAKsB,UAAUC,KAAKH,EAAEI,OAAO,GAC5B,G,CAIJ,iBAAAC,GACCzB,KAAKC,SAAW,I,CAGjB,MAAAyB,GACC,OACCxB,EAACyB,EAAI,CAAAC,IAAA,2CAACC,MAAO7B,KAAKE,EAAE4B,QAAQrB,EAAaC,MAAOqB,KAAK,OAAOnB,KAAMZ,KAAKY,KAAMX,SAAUD,KAAKC,UAC3FC,EAAA,QAAA0B,IAAA,6C","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as e,a as s,g as a}from"./p-a1e95a5f.js";import{g as o}from"./p-0075138f.js";import{v as i}from"./p-169b67af.js";import{a as r,b as f}from"./p-69d56f17.js";import{a as c}from"./p-45a30859.js";import{S as n}from"./p-92f420cb.js";import{p as d}from"./p-016bbea6.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-e3aeaca0.js";const p=c(n,["_XS","_S","_M"]);var h;(function(t){t["BOLD"]="bold";t["SUBTLE"]="subtle"})(h||(h={}));const m={root:"gov-tag"};const b=class{constructor(e){t(this,e);this.iconLeft=undefined;this.iconRight=undefined;this.size=p._S;this.color=r.PRIMARY;this.type=undefined;this.h=o(this.host)}validateColor(t){i(r,t,m.root)}validateSize(t){i(f,t,m.root)}componentWillLoad(){this.validateColor(this.color);this.validateSize(this.size)}render(){const t=d(this.iconLeft);const a=d(this.iconRight);return e(s,{key:"836c745e82121e969d096f83fd799593de02a52b",class:this.h.classes(m.root),color:this.color,size:this.size,type:this.type},e("span",{key:"03084f10265357de1e4f136d2da12390ada68701",class:"element"},this.h.hasSlot("left-icon")&&e("slot",{key:"6014fd042c92e618af0bfa08cf27c56f42091034",name:"left-icon"}),t&&e("gov-icon",{key:"86b2616d3e6d26b73c65cf6f0f602a87e2f60e11",type:t.type,name:t.name}),e("slot",{key:"6e8a6587e99230060dba6e803e79d301c6bb206c"}),a&&e("gov-icon",{key:"7e89a01d59ce60b16af9ad1a4b7e4f31373ffa13",type:a.type,name:a.name}),this.h.hasSlot("right-icon")&&e("slot",{key:"530777fa0fd108080debaecb412b486bc17e3153",name:"right-icon"})))}get host(){return a(this)}static get watchers(){return{color:["validateColor"],size:["validateSize"]}}};export{b as gov_tag};
|
|
2
|
+
//# sourceMappingURL=p-2effdd60.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TagSizes","pick","Sizes","TagType","TagClass","root","GovTag","constructor","hostRef","_S","ButtonColors","PRIMARY","this","h","govHost","host","validateColor","newValue","validateProp","validateSize","ButtonSizes","componentWillLoad","color","size","render","iconLeft","prepareIconFormat","iconRight","Host","key","class","classes","type","hasSlot","name"],"sources":["../../../packages/core/src/components/gov-tag/constants.ts","../../../packages/core/src/components/gov-tag/gov-tag.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const TagSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type TagSizesType = `${ValueOf<typeof TagSizes>}`\n\nexport enum TagType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type TagTypesType = `${ValueOf<typeof TagType>}`\n\nexport const TagClass = {\n\troot: 'gov-tag',\n}\n","import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {ButtonSizes, ButtonColors, ButtonColorType} from '../gov-button/button/constants'\nimport {TagClass, TagSizes, TagSizesType, TagTypesType} from './constants'\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: 'gov-tag',\n})\nexport class GovTag {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTagElement\n\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-left\"}) readonly iconLeft?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-right\"}) readonly iconRight?: string\n\t/**\n\t * Tag’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: TagSizesType = TagSizes._S\n\t/**\n\t * Style variation of the tag.\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType = ButtonColors.PRIMARY\n\t/**\n\t * Tag’s type\n\t */\n\t@Prop({reflect: true}) readonly type: TagTypesType\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, TagClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, TagClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst iconLeft = prepareIconFormat(this.iconLeft)\n\t\tconst iconRight = prepareIconFormat(this.iconRight)\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TagClass.root)}\n\t\t\t\t\t\tcolor={this.color}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\ttype={this.type}\n\t\t\t\t>\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{this.h.hasSlot('left-icon') && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t{iconLeft && \t<gov-icon type={iconLeft.type} name={iconLeft.name}></gov-icon>}\n\t\t\t\t\t<slot/>\n\t\t\t\t\t{iconRight && \t<gov-icon type={iconRight.type} name={iconRight.name}></gov-icon>}\n\t\t\t\t\t{this.h.hasSlot('right-icon') && <slot name=\"right-icon\"></slot>}\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"gWAIO,MAAMA,EAAWC,EAAKC,EAAO,CAAC,MAAO,KAAM,OAGlD,IAAYC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,kBACA,EAHD,CAAYA,MAAO,KAMZ,MAAMC,EAAW,CACvBC,KAAM,W,MCHMC,EAAM,MAGlB,WAAAC,CAAAC,G,qEAiBqDR,EAASS,G,WAILC,EAAaC,Q,oBApBrEC,KAAKC,EAAIC,EAAQF,KAAKG,K,CA2BvB,aAAAC,CAAcC,GACbC,EAAaR,EAAcO,EAAUb,EAASC,K,CAI/C,YAAAc,CAAaF,GACZC,EAAaE,EAAaH,EAAUb,EAASC,K,CAG9C,iBAAAgB,GACCT,KAAKI,cAAcJ,KAAKU,OACxBV,KAAKO,aAAaP,KAAKW,K,CAGxB,MAAAC,GACC,MAAMC,EAAWC,EAAkBd,KAAKa,UACxC,MAAME,EAAYD,EAAkBd,KAAKe,WACzC,OACCd,EAACe,EAAI,CAAAC,IAAA,2CAACC,MAAOlB,KAAKC,EAAEkB,QAAQ3B,EAASC,MAClCiB,MAAOV,KAAKU,MACZC,KAAMX,KAAKW,KACXS,KAAMpB,KAAKoB,MAEbnB,EAAA,QAAAgB,IAAA,2CAAMC,MAAM,WACVlB,KAAKC,EAAEoB,QAAQ,cAAgBpB,EAAA,QAAAgB,IAAA,2CAAMK,KAAK,cAC1CT,GAAaZ,EAAA,YAAAgB,IAAA,2CAAUG,KAAMP,EAASO,KAAME,KAAMT,EAASS,OAC5DrB,EAAA,QAAAgB,IAAA,6CACCF,GAAcd,EAAA,YAAAgB,IAAA,2CAAUG,KAAML,EAAUK,KAAME,KAAMP,EAAUO,OAC9DtB,KAAKC,EAAEoB,QAAQ,eAAiBpB,EAAA,QAAAgB,IAAA,2CAAMK,KAAK,gB","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as s,c as i,h as t,a as e,g as h}from"./p-a1e95a5f.js";import{c as a}from"./p-95d41a3b.js";import{v as n}from"./p-169b67af.js";import{g as o,h as r,i as c}from"./p-a693ffbf.js";import{g as d,c as l,t as p}from"./p-0075138f.js";import{F as m}from"./p-1c1d0bbe.js";import{A as f,a as u}from"./p-9ac55bd1.js";import{i as b}from"./p-d9a299a4.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-6aa40794.js";import"./p-e3aeaca0.js";import"./p-42d9924c.js";import"./p-2614044c.js";const g=class{constructor(t){s(this,t);this.govFocus=i(this,"gov-focus",7);this.govBlur=i(this,"gov-blur",7);this.govChange=i(this,"gov-change",7);this.hydrated=false;this.value=undefined;this.noLabel=false;this.checked=false;this.required=false;this.disabled=false;this.name=undefined;this.size="m";this.identifier=undefined;this.invalid=undefined;this.inheritedAttributes={};this.checkboxId=a("GovCheckbox");this.h=d(this.host);this.f=o(this.h)}validateSize(s){n(c,s,r.root)}watchDisabled(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("invalid",l(this.invalid));this.f.passAttrToControl("disabled",l(this.disabled));this.f.passAttrToControl("type","switch")}componentDidLoad(){this.attributeObserver=new f(this.host,((s,i)=>{this.onAriaAttributeChange(s,i)}));this.attributeObserver.startObserving(u)}componentWillLoad(){this.passControlAttrs();this.inheritedAttributes=b(this.host)}disconnectedCallback(){this.attributeObserver.stopObserving()}async componentDidRender(){this.f.passAttrToLabel("identifier",this.identifier||this.checkboxId);this.f.passAttrToLabel("required",String(this.required));this.passControlAttrs()}connectedCallback(){this.hydrated=true}onAriaAttributeChange(s,i){this.host.removeAttribute(s);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[s]:i})}render(){const s=s=>{if(this.noLabel){return t("label",{class:r.label},s)}return s};return t(e,{class:this.h.classes(r.root),hydrated:this.hydrated,checked:this.checked,size:this.size,invalid:p(this.invalid)},s(t(m,null,t("input",Object.assign({class:r.input,id:this.identifier||this.checkboxId,type:"checkbox",value:this.value,name:this.name,disabled:this.disabled,checked:this.checked,onClick:this.onClickHandler.bind(this),onChange:this.onChangeHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),ref:s=>this.inputRef=s,required:this.required},this.inheritedAttributes,{"aria-checked":this.checked,"aria-required":p(this.required),"aria-invalid":p(this.invalid),"aria-disabled":p(this.disabled)})),t("span",null,t("span",{class:r.indicator},this.checked&&t("gov-icon",{type:"basic",name:"check-lg"})),t("slot",{name:"label"})))))}onClickHandler(s){s.stopPropagation()}onFocusHandler(s){s.stopPropagation();this.govFocus.emit({component:r.root,checked:this.checked,value:this.value,originalEvent:s})}onBlurHandler(s){s.stopPropagation();this.govBlur.emit({component:r.root,checked:this.checked,value:this.value,originalEvent:s})}onChangeHandler(s){this.checked=s.target.checked;s.stopPropagation();this.govChange.emit({component:r.root,checked:this.checked,value:this.value,originalEvent:s})}async getRef(){return this.inputRef}get host(){return h(this)}static get watchers(){return{size:["validateSize","watchDisabled"],disabled:["watchDisabled"],invalid:["watchDisabled"]}}};export{g as gov_form_switch};
|
|
2
|
+
//# sourceMappingURL=p-35e66bef.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["GovFormSwitch","constructor","hostRef","this","hydrated","checkboxId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormSwitchSizes","FormSwitchClass","root","watchDisabled","passControlAttrs","passAttrToControl","size","toBoolAttr","invalid","disabled","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentWillLoad","inheritedAttributes","inheritAriaAttributes","disconnectedCallback","stopObserving","componentDidRender","passAttrToLabel","identifier","String","required","connectedCallback","removeAttribute","Object","assign","render","wrapCheckbox","children","noLabel","class","label","Host","classes","checked","toBoolAttrIfDefined","Fragment","input","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","indicator","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/switch/gov-form-switch.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormSwitchClass, FormSwitchSizes, FormSwitchSizesType} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport {FormSwitchEvent} from \"./gov-form-switch.types\"\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-switch\",\n})\nexport class GovFormSwitch {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate inputRef?: HTMLInputElement\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate readonly checkboxId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.checkboxId = createID(\"GovCheckbox\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormSwitchElement\n\t/**\n\t * Value of switch\n\t */\n\t@Prop() readonly value: string\n\t/**\n\t * When you can't use the form label.\n\t */\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: boolean = false\n\t/**\n\t * Switch button state\n\t */\n\t@Prop({reflect: true, mutable: true}) checked = false\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 */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the switch component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Name of the switch.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: FormSwitchSizesType = \"m\"\n\t/**\n\t * Custom switch identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\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 switch has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormSwitchEvent>\n\t/**\n\t * Emitted when the switch loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormSwitchEvent>\n\t/**\n\t * Emitted when the switch change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormSwitchSizes, newValue, FormSwitchClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"size\")\n\twatchDisabled(): 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(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"type\", \"switch\")\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\tcomponentWillLoad() {\n\t\tthis.passControlAttrs()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.checkboxId)\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\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\trender() {\n\t\tconst wrapCheckbox = (children) => {\n\t\t\tif (this.noLabel) {\n\t\t\t\treturn (\n\t\t\t\t\t<label class={FormSwitchClass.label}>\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</label>\n\t\t\t\t)\n\t\t\t}\n\t\t\treturn children\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FormSwitchClass.root)} hydrated={this.hydrated} checked={this.checked}\n\t\t\t\t size={this.size} invalid={toBoolAttrIfDefined(this.invalid)}>\n\t\t\t\t{wrapCheckbox(\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={FormSwitchClass.input}\n\t\t\t\t\t\t\tid={this.identifier || this.checkboxId}\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\t\taria-checked={this.checked}\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t<span class={FormSwitchClass.indicator}>\n\t\t\t\t\t\t\t\t{this.checked && <gov-icon type=\"basic\" name=\"check-lg\"/>}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<slot name=\"label\"></slot>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</Fragment>,\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: Event) {\n\t\te.stopPropagation()\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormSwitchClass.root,\n\t\t\tchecked: this.checked,\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.govBlur.emit({\n\t\t\tcomponent: FormSwitchClass.root,\n\t\t\tchecked: this.checked,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.checked = (e.target as HTMLInputElement).checked\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormSwitchClass.root,\n\t\t\tchecked: this.checked,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the reference of the native 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{r as t,h as e,a as s,g as i}from"./p-a1e95a5f.js";import{c as a}from"./p-95d41a3b.js";import{g as r,t as n}from"./p-0075138f.js";import{a as d,T as h}from"./p-e9a6cd71.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-e3aeaca0.js";const c=class{constructor(e){t(this,e);this.identifier=undefined;this.triggerIdentifier=undefined;this.label=undefined;this.disabled=false;this.iconStart=undefined;this.iconEnd=undefined;this.default=false;this.isActive=false;this.h=r(this.host);this.contentId=a("GovTabContent");this.triggerId=a("GovTabTrigger")}rerenderParent(){const t=this.h.getParent(d.root);if(t){t.rerender().catch()}}render(){return e(s,{key:"3d080973fda9ffe029ac3837711c221eaf880843",class:this.h.classes(h.root),default:this.default},e("div",{key:"c92a076a96938e033b3586a765c80c06b2cc80ba",class:h.inner,role:"tabpanel",id:this.identifier||this.contentId,hidden:!this.isActive,"aria-labelledby":this.triggerIdentifier||this.triggerId,"aria-hidden":n(!this.isActive)},e("slot",{key:"ac0f79bce4bc4d6d8947bfd935592c88711e5059"})))}async getIdentifier(){return this.identifier||this.contentId}async getTriggerIdentifier(){return this.triggerIdentifier||this.triggerId}async getDisableState(){return this.disabled}async setActiveStatus(t){this.isActive=t}get host(){return i(this)}static get watchers(){return{label:["rerenderParent"],disabled:["rerenderParent"]}}};export{c as gov_tabs_item};
|
|
2
|
+
//# sourceMappingURL=p-3f2b803c.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["GovTabsItem","constructor","hostRef","this","h","govHost","host","contentId","createID","triggerId","rerenderParent","element","getParent","TabsClass","root","rerender","catch","render","Host","key","class","classes","TabsItemClass","default","inner","role","id","identifier","hidden","isActive","triggerIdentifier","toBoolAttrIfDefined","getIdentifier","getTriggerIdentifier","getDisableState","disabled","setActiveStatus","status"],"sources":["../../../packages/core/src/components/gov-tabs/gov-tabs-item.tsx"],"sourcesContent":["import {Component, Element, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {createID} from '../../utils/string.utils'\nimport {govHost, toBoolAttrIfDefined} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {TabsClass, TabsItemClass} from './constants'\n\n@Component({\n\ttag: 'gov-tabs-item',\n})\nexport class GovTabsItem {\n\tprivate h: GovHost\n\tprivate readonly contentId: string\n\tprivate readonly triggerId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.contentId = createID('GovTabContent')\n\t\tthis.triggerId = createID('GovTabTrigger')\n\t}\n\n\t@Element() host: HTMLGovTabsItemElement\n\t/**\n\t * Custom tab item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Custom tab trigger item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly triggerIdentifier: string\n\t/**\n\t * Item name of the tab\n\t */\n\t@Prop({reflect: true}) readonly label: string\n\t/**\n\t * Item disable state\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Icon definition at the stat. Use the type/name notation\n\t */\n\t@Prop({reflect: true, attribute: 'icon-start'}) readonly iconStart: string\n\t/**\n\t * Icon definition at the end. Use the type/name notation\n\t */\n\t@Prop({reflect: true, attribute: 'icon-end'}) readonly iconEnd: string\n\t/**\n\t * Default selected tab\n\t */\n\t@Prop() readonly default: boolean = false\n\t@State() isActive = false\n\n\t@Watch('label')\n\t@Watch('disabled')\n\trerenderParent() {\n\t\tconst element = this.h.getParent(TabsClass.root) as HTMLGovTabsElement;\n\t\tif (element) {\n\t\t\telement.rerender().catch()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TabsItemClass.root)} default={this.default}>\n\t\t\t\t<div\n\t\t\t\t\tclass={TabsItemClass.inner}\n\t\t\t\t\trole=\"tabpanel\"\n\t\t\t\t\tid={this.identifier || this.contentId}\n\t\t\t\t\thidden={!this.isActive}\n\t\t\t\t\taria-labelledby={this.triggerIdentifier || this.triggerId}\n\t\t\t\t\taria-hidden={toBoolAttrIfDefined(!this.isActive)}\n\t\t\t\t>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Returns a unique tab content identifier\n\t */\n\t@Method()\n\tasync getIdentifier(): Promise<string> {\n\t\treturn this.identifier || this.contentId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getTriggerIdentifier(): Promise<string> {\n\t\treturn this.triggerIdentifier || this.triggerId\n\t}\n\n\t/**\n\t * Returns a unique tab trigger identifier\n\t */\n\t@Method()\n\tasync getDisableState(): Promise<boolean> {\n\t\treturn this.disabled\n\t}\n\n\t/**\n\t * Set status of tab-item\n\t */\n\t@Method()\n\tasync setActiveStatus(status: boolean): Promise<void> {\n\t\tthis.isActive = status\n\t}\n}\n"],"mappings":"iQASaA,EAAW,MAKvB,WAAAC,CAAAC,G,wGAsBoD,M,6DAYhB,M,cAChB,MAlCnBC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,UAAYC,EAAS,iBAC1BL,KAAKM,UAAYD,EAAS,gB,CAoC3B,cAAAE,GACC,MAAMC,EAAUR,KAAKC,EAAEQ,UAAUC,EAAUC,MAC3C,GAAIH,EAAS,CACZA,EAAQI,WAAWC,O,EAIrB,MAAAC,GACC,OACCb,EAACc,EAAI,CAAAC,IAAA,2CAACC,MAAOjB,KAAKC,EAAEiB,QAAQC,EAAcR,MAAOS,QAASpB,KAAKoB,SAC9DnB,EAAA,OAAAe,IAAA,2CACCC,MAAOE,EAAcE,MACrBC,KAAK,WACLC,GAAIvB,KAAKwB,YAAcxB,KAAKI,UAC5BqB,QAASzB,KAAK0B,SAAQ,kBACL1B,KAAK2B,mBAAqB3B,KAAKM,UAAS,cAC5CsB,GAAqB5B,KAAK0B,WAEvCzB,EAAA,QAAAe,IAAA,8C,CAUJ,mBAAMa,GACL,OAAO7B,KAAKwB,YAAcxB,KAAKI,S,CAOhC,0BAAM0B,GACL,OAAO9B,KAAK2B,mBAAqB3B,KAAKM,S,CAOvC,qBAAMyB,GACL,OAAO/B,KAAKgC,Q,CAOb,qBAAMC,CAAgBC,GACrBlC,KAAK0B,SAAWQ,C","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{S as o}from"./p-92f420cb.js";import{a as t}from"./p-45a30859.js";const m=t(o,["_XS","_S","_M","_L","_XL"]);const e={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"};export{e as F,m as a};
|
|
2
|
+
//# sourceMappingURL=p-42d9924c.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FormAutocompleteSizes","pick","Sizes","FormAutocompleteClass","root","list","item","empty","loading"],"sources":["../../../packages/core/src/components/gov-form/autocomplete/constants.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"],"mappings":"8EAIaA,EAAwBC,EAAKC,EAAO,CAAC,MAAM,KAAM,KAAM,KAAM,Q,MAG7DC,EAAwB,CACpCC,KAAM,wBACNC,KAAM,8BACNC,KAAM,8BACNC,MAAO,qCACPC,QAAS,+C","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
async function t(t){return new Promise((e=>setTimeout(e,t)))}function e(t,e){let n=0;return function(...s){clearTimeout(n);n=setTimeout((()=>t.apply(this,s)),e)}}const n=(t,e)=>Object.prototype.hasOwnProperty.call(e,t);const s=(t,e)=>n(t,e)?e[t]:undefined;const c=(t,e)=>Object.fromEntries(Object.entries(t).filter((([t])=>e.includes(t))));export{c as a,t as d,n as h,s as p,e as t};
|
|
2
|
+
//# sourceMappingURL=p-45a30859.js.map
|