@gov-design-system-ce/components 4.1.3-BETA-9 → 4.2.0
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/{constants-02aec493.js → constants-7f713d6c.js} +2 -2
- package/dist/cjs/{constants-02aec493.js.map → constants-7f713d6c.js.map} +1 -1
- package/dist/cjs/{constants-4dfa23e3.js → constants-c7447ffd.js} +3 -1
- package/dist/cjs/constants-c7447ffd.js.map +1 -0
- package/dist/cjs/{constants-52053f2d.js → constants-c84c60d6.js} +3 -1
- package/dist/cjs/constants-c84c60d6.js.map +1 -0
- package/dist/cjs/core.cjs.js +2 -2
- package/dist/cjs/gov-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/gov-banner.cjs.entry.js +79 -0
- package/dist/cjs/gov-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-blockquote.cjs.entry.js +33 -0
- package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/gov-button.cjs.entry.js +6 -5
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +2 -2
- package/dist/cjs/gov-chip.cjs.entry.js +5 -4
- package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +2 -2
- package/dist/cjs/gov-control-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/gov-dialog.cjs.entry.js +2 -2
- package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gov-empty.cjs.entry.js +2 -2
- package/dist/cjs/gov-error-code.cjs.entry.js +2 -2
- package/dist/cjs/gov-flex_3.cjs.entry.js +7 -26
- package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +4 -3
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +3 -2
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-file.cjs.entry.js +4 -3
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-input_2.cjs.entry.js +11 -9
- package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +5 -4
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +3 -2
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-select.cjs.entry.js +5 -4
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +3 -2
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +14 -8
- package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +8 -6
- package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +5 -4
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +2 -2
- package/dist/cjs/gov-layout.cjs.entry.js +2 -2
- package/dist/cjs/gov-lifecycle.cjs.entry.js +2 -2
- package/dist/cjs/gov-link.cjs.entry.js +3 -2
- package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +2 -2
- package/dist/cjs/gov-message.cjs.entry.js +2 -2
- package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +3 -2
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +2 -2
- package/dist/cjs/gov-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +3 -3
- package/dist/cjs/gov-tabs-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-tabs.cjs.entry.js +4 -3
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +2 -2
- package/dist/cjs/gov-tile.cjs.entry.js +2 -2
- package/dist/cjs/gov-toast.cjs.entry.js +4 -3
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +2 -2
- package/dist/cjs/gov-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/gov-wizard-item.cjs.entry.js +3 -3
- package/dist/cjs/gov-wizard.cjs.entry.js +2 -2
- package/dist/cjs/{index-67e87c27.js → index-0e4f24f9.js} +9 -19
- package/dist/cjs/index-0e4f24f9.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +3 -4
- package/dist/collection/components/gov-banner/constants.js +26 -0
- package/dist/collection/components/gov-banner/constants.js.map +1 -0
- package/dist/collection/components/gov-banner/gov-banner.js +202 -0
- package/dist/collection/components/gov-banner/gov-banner.js.map +1 -0
- package/dist/collection/components/gov-blocquote/constants.js +10 -0
- package/dist/collection/components/gov-blocquote/constants.js.map +1 -0
- package/dist/collection/components/gov-blocquote/gov-blockquote.js +61 -0
- package/dist/collection/components/gov-blocquote/gov-blockquote.js.map +1 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +5 -4
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
- package/dist/collection/components/gov-card/gov-card.js +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +4 -3
- package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
- package/dist/collection/components/gov-container/gov-container.js +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
- package/dist/collection/components/gov-flex/gov-flex.js +22 -3
- package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +3 -2
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +2 -1
- 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 +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +3 -2
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/group/constants.js +1 -1
- package/dist/collection/components/gov-form/group/constants.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +2 -2
- package/dist/collection/components/gov-form/group/gov-form-group.css +4 -4
- package/dist/collection/components/gov-form/group/gov-form-group.js +2 -2
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +2 -2
- package/dist/collection/components/gov-form/input/gov-form-input.js +7 -6
- 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 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +4 -3
- 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 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +2 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +4 -3
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +2 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-grid/constants.js +2 -0
- package/dist/collection/components/gov-grid/constants.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js +111 -20
- package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +56 -14
- package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +0 -17
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +4 -3
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +1 -1
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
- package/dist/collection/components/gov-link/constants.js +1 -0
- package/dist/collection/components/gov-link/constants.js.map +1 -1
- package/dist/collection/components/gov-link/gov-link.js +1 -1
- package/dist/collection/components/gov-link/gov-link.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +3 -2
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +2 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
- package/dist/collection/components/gov-stepper/constants.js +2 -0
- package/dist/collection/components/gov-stepper/constants.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +3 -2
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +1 -1
- package/dist/collection/components/gov-theme-switch/constants.js +1 -0
- package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +3 -2
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
- package/dist/collection/pages/Banner.js +268 -0
- package/dist/collection/pages/Banner.js.map +1 -0
- package/dist/collection/pages/Blockquote.js +25 -0
- package/dist/collection/pages/Blockquote.js.map +1 -0
- package/dist/collection/pages/Breadcrumbs.js +2 -2
- package/dist/collection/pages/Breadcrumbs.js.map +1 -1
- package/dist/collection/pages/Card.js +2 -2
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Flex.js +1 -1
- package/dist/collection/pages/Flex.js.map +1 -1
- package/dist/collection/pages/Grid.js +61 -40
- package/dist/collection/pages/Grid.js.map +1 -1
- package/dist/collection/pages/Home.js +57 -0
- package/dist/collection/pages/Home.js.map +1 -1
- package/dist/collection/pages/Infobar.js +36 -56
- package/dist/collection/pages/Infobar.js.map +1 -1
- package/dist/collection/pages/Layout.js +10 -10
- package/dist/collection/pages/Layout.js.map +1 -1
- package/dist/collection/pages/Tag.js +14 -0
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/collection/pages/Tiles.js +8 -235
- package/dist/collection/pages/Tiles.js.map +1 -1
- package/dist/collection/pages/Typography.js +110 -51
- package/dist/collection/pages/Typography.js.map +1 -1
- package/dist/collection/utils/icon.utils.js +1 -8
- package/dist/collection/utils/icon.utils.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion.js +1 -1
- 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-tiles.d.ts → gov-banner.d.ts} +4 -4
- package/dist/components/gov-banner.js +2 -0
- package/dist/components/gov-banner.js.map +1 -0
- package/dist/components/gov-blockquote.d.ts +11 -0
- package/dist/components/gov-blockquote.js +2 -0
- package/dist/components/gov-blockquote.js.map +1 -0
- 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-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-dialog.js +1 -1
- package/dist/components/gov-dialog.js.map +1 -1
- 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-error-code.js +1 -1
- package/dist/components/gov-flex.js +1 -1
- package/dist/components/gov-flex.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-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-input.js +1 -1
- package/dist/components/gov-form-label.js +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-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-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.js +1 -1
- package/dist/components/gov-lifecycle.js +1 -1
- package/dist/components/gov-link.js +1 -1
- package/dist/components/gov-link.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-spacer.js +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-tabs-item.js +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-theme-switch.js +1 -1
- package/dist/components/gov-theme-switch.js.map +1 -1
- package/dist/components/gov-tile.js +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.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.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-0327a469.js +2 -0
- package/dist/components/p-0327a469.js.map +1 -0
- package/dist/components/p-2ca5423c.js +2 -0
- package/dist/components/p-2ca5423c.js.map +1 -0
- package/dist/components/p-2fc08a71.js +2 -0
- package/dist/components/p-2fc08a71.js.map +1 -0
- package/dist/components/p-3c90521b.js +2 -0
- package/dist/components/p-3c90521b.js.map +1 -0
- package/dist/components/p-3fead64a.js +2 -0
- package/dist/components/p-3fead64a.js.map +1 -0
- package/dist/components/p-42200001.js +3 -0
- package/dist/components/p-42200001.js.map +1 -0
- package/dist/components/p-4fba9df0.js +2 -0
- package/dist/components/p-4fba9df0.js.map +1 -0
- package/dist/components/p-69a31c96.js +2 -0
- package/dist/components/p-69a31c96.js.map +1 -0
- package/dist/components/{p-03ad4e0f.js → p-73938936.js} +2 -2
- package/dist/components/{p-384c7f2a.js → p-7be2301a.js} +2 -2
- package/dist/components/p-b533871a.js +2 -0
- package/dist/components/p-b533871a.js.map +1 -0
- package/dist/components/p-b5dc6bae.js +2 -0
- package/dist/components/p-b5dc6bae.js.map +1 -0
- package/dist/components/p-ea128b8b.js +2 -0
- package/dist/components/p-ea128b8b.js.map +1 -0
- package/dist/components/p-f9a1ff6e.js +2 -0
- package/dist/components/{p-e44a0fee.js → p-fc2afe61.js} +2 -2
- package/dist/components/{p-e44a0fee.js.map → p-fc2afe61.js.map} +1 -1
- package/dist/core/core.css +2711 -1506
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-005214d1.entry.js +2 -0
- package/dist/core/p-0ef1f684.entry.js +2 -0
- package/dist/core/p-0ef1f684.entry.js.map +1 -0
- package/dist/core/p-0fc9ea97.entry.js +2 -0
- package/dist/core/p-0fc9ea97.entry.js.map +1 -0
- package/dist/core/p-132c9a87.entry.js +2 -0
- package/dist/core/p-132c9a87.entry.js.map +1 -0
- package/dist/core/p-16d3a79a.entry.js +2 -0
- package/dist/core/{p-967a1094.entry.js.map → p-16d3a79a.entry.js.map} +1 -1
- package/dist/core/p-16f44a0b.entry.js +2 -0
- package/dist/core/p-16f44a0b.entry.js.map +1 -0
- package/dist/core/p-1c7c9144.entry.js +2 -0
- package/dist/core/p-1cf1dd10.entry.js +2 -0
- package/dist/core/{p-f7f60f91.entry.js.map → p-1cf1dd10.entry.js.map} +1 -1
- package/dist/core/p-23b4dcd3.entry.js +2 -0
- package/dist/core/{p-45b759f4.entry.js.map → p-23b4dcd3.entry.js.map} +1 -1
- package/dist/core/p-2536a8ff.entry.js +2 -0
- package/dist/core/p-2536a8ff.entry.js.map +1 -0
- package/dist/core/p-28d1bc01.entry.js +2 -0
- package/dist/core/p-28d1bc01.entry.js.map +1 -0
- package/dist/core/p-2ca5423c.js +2 -0
- package/dist/core/p-2ca5423c.js.map +1 -0
- package/dist/core/p-3acaa012.entry.js +2 -0
- package/dist/core/{p-1aa7450e.entry.js.map → p-3acaa012.entry.js.map} +1 -1
- package/dist/core/p-3d7fb8f8.entry.js +2 -0
- package/dist/core/p-3d7fb8f8.entry.js.map +1 -0
- package/dist/core/{p-927c31dd.entry.js → p-46ecf09e.entry.js} +2 -2
- package/dist/core/p-49cd4d0d.entry.js +2 -0
- package/dist/core/{p-ee55932a.entry.js.map → p-49cd4d0d.entry.js.map} +1 -1
- package/dist/core/p-5108eb37.entry.js +2 -0
- package/dist/core/{p-237a5b91.entry.js.map → p-5108eb37.entry.js.map} +1 -1
- package/dist/core/{p-0f0f7302.entry.js → p-52042c7e.entry.js} +2 -2
- package/dist/core/p-52103c05.entry.js +2 -0
- package/dist/core/p-52103c05.entry.js.map +1 -0
- package/dist/core/{p-c0800e6d.entry.js → p-5242b51b.entry.js} +2 -2
- package/dist/core/p-564555e6.entry.js +2 -0
- package/dist/core/p-59fe6cbc.entry.js +2 -0
- package/dist/core/p-59fe6cbc.entry.js.map +1 -0
- package/dist/core/p-650fe9e8.entry.js +2 -0
- package/dist/core/{p-ed02945f.entry.js.map → p-650fe9e8.entry.js.map} +1 -1
- package/dist/core/p-6e41cf69.entry.js +2 -0
- package/dist/core/{p-77daba72.entry.js → p-6f1ea21d.entry.js} +2 -2
- package/dist/core/p-7399ad59.entry.js +2 -0
- package/dist/core/p-7399ad59.entry.js.map +1 -0
- package/dist/core/{p-7dfb7e36.entry.js → p-79ec86da.entry.js} +2 -2
- package/dist/core/p-80bebb7f.entry.js +2 -0
- package/dist/core/p-80bebb7f.entry.js.map +1 -0
- package/dist/core/p-8cbe8add.entry.js +2 -0
- package/dist/core/p-8f73f8e0.entry.js +2 -0
- package/dist/core/p-94119ad4.entry.js +2 -0
- package/dist/core/p-94119ad4.entry.js.map +1 -0
- package/dist/core/p-952ab9e5.entry.js +2 -0
- package/dist/core/{p-14d66f26.entry.js.map → p-952ab9e5.entry.js.map} +1 -1
- package/dist/core/{p-7baee44f.entry.js → p-99f192c1.entry.js} +2 -2
- package/dist/core/p-9ae280b2.entry.js +2 -0
- package/dist/core/p-9ae280b2.entry.js.map +1 -0
- package/dist/core/p-9c1601b3.entry.js +2 -0
- package/dist/core/p-9c1601b3.entry.js.map +1 -0
- package/dist/core/p-9dea2efa.js +3 -0
- package/dist/core/p-9dea2efa.js.map +1 -0
- package/dist/core/p-a02f2547.entry.js +2 -0
- package/dist/core/p-ab11081d.entry.js +2 -0
- package/dist/core/p-ab11081d.entry.js.map +1 -0
- package/dist/core/p-ab868410.entry.js +2 -0
- package/dist/core/{p-f2bb8c29.entry.js.map → p-ab868410.entry.js.map} +1 -1
- package/dist/core/{p-a6a9de9a.entry.js → p-ae88fe6b.entry.js} +2 -2
- package/dist/core/p-c07f6bb4.entry.js +2 -0
- package/dist/core/p-c07f6bb4.entry.js.map +1 -0
- package/dist/core/{p-063b70a2.entry.js → p-c2abc031.entry.js} +2 -2
- package/dist/core/p-c688349d.entry.js +2 -0
- package/dist/core/p-c6fdc0a9.entry.js +2 -0
- package/dist/core/p-c6fdc0a9.entry.js.map +1 -0
- package/dist/core/p-c91512dd.entry.js +2 -0
- package/dist/core/p-cf9d5c2f.entry.js +2 -0
- package/dist/core/p-cf9d5c2f.entry.js.map +1 -0
- package/dist/core/p-d1270d72.entry.js +2 -0
- package/dist/core/{p-8cc5ad01.entry.js.map → p-d1270d72.entry.js.map} +1 -1
- package/dist/core/p-d141e9ca.entry.js +2 -0
- package/dist/core/p-d141e9ca.entry.js.map +1 -0
- package/dist/core/p-de852480.entry.js +2 -0
- package/dist/core/p-e89471ef.entry.js +2 -0
- package/dist/core/p-ea128b8b.js +2 -0
- package/dist/core/p-ea128b8b.js.map +1 -0
- package/dist/core/p-eb8a9705.entry.js +2 -0
- package/dist/core/p-eb8a9705.entry.js.map +1 -0
- package/dist/core/p-ee950038.entry.js +2 -0
- package/dist/core/p-ee950038.entry.js.map +1 -0
- package/dist/core/p-f0e001c7.entry.js +2 -0
- package/dist/core/{p-269071f5.entry.js.map → p-f0e001c7.entry.js.map} +1 -1
- package/dist/core/{p-3849ca02.entry.js → p-f120ba66.entry.js} +2 -2
- package/dist/core/p-f120ba66.entry.js.map +1 -0
- package/dist/core/p-f333c673.entry.js +2 -0
- package/dist/core/p-f7e47c0a.entry.js +2 -0
- package/dist/core/p-f7e47c0a.entry.js.map +1 -0
- package/dist/core/p-f98f19f6.entry.js +2 -0
- package/dist/core/{p-906865d0.entry.js.map → p-f98f19f6.entry.js.map} +1 -1
- package/dist/core/{p-e44a0fee.js → p-fc2afe61.js} +2 -2
- package/dist/core/{p-e44a0fee.js.map → p-fc2afe61.js.map} +1 -1
- package/dist/esm/{constants-4da2b3c0.js → constants-1548499a.js} +2 -2
- package/dist/esm/{constants-4da2b3c0.js.map → constants-1548499a.js.map} +1 -1
- package/dist/esm/{constants-372455eb.js → constants-7b1ce2ec.js} +3 -1
- package/dist/esm/constants-7b1ce2ec.js.map +1 -0
- package/dist/esm/{constants-2d5a0e18.js → constants-dc2115cb.js} +3 -1
- package/dist/esm/constants-dc2115cb.js.map +1 -0
- package/dist/esm/core.js +3 -3
- package/dist/esm/gov-accordion-item.entry.js +1 -1
- package/dist/esm/gov-accordion.entry.js +1 -1
- package/dist/esm/gov-attachments_3.entry.js +3 -3
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +1 -1
- package/dist/esm/gov-banner.entry.js +75 -0
- package/dist/esm/gov-banner.entry.js.map +1 -0
- package/dist/esm/gov-blockquote.entry.js +29 -0
- package/dist/esm/gov-blockquote.entry.js.map +1 -0
- package/dist/esm/gov-breadcrumbs.entry.js +2 -2
- package/dist/esm/gov-button.entry.js +6 -5
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +2 -2
- package/dist/esm/gov-chip.entry.js +5 -4
- package/dist/esm/gov-chip.entry.js.map +1 -1
- package/dist/esm/gov-container.entry.js +2 -2
- package/dist/esm/gov-control-group.entry.js +2 -2
- package/dist/esm/gov-cookiebar.entry.js +2 -2
- package/dist/esm/gov-dialog.entry.js +2 -2
- package/dist/esm/gov-dialog.entry.js.map +1 -1
- package/dist/esm/gov-dropdown.entry.js +2 -2
- package/dist/esm/gov-empty.entry.js +2 -2
- package/dist/esm/gov-error-code.entry.js +2 -2
- package/dist/esm/gov-flex_3.entry.js +7 -26
- package/dist/esm/gov-flex_3.entry.js.map +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +4 -3
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +4 -4
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +3 -2
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
- package/dist/esm/gov-form-control.entry.js +2 -2
- package/dist/esm/gov-form-file.entry.js +4 -3
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +3 -3
- package/dist/esm/gov-form-input_2.entry.js +11 -9
- package/dist/esm/gov-form-input_2.entry.js.map +1 -1
- package/dist/esm/gov-form-label.entry.js +2 -2
- package/dist/esm/gov-form-multi-select.entry.js +5 -4
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-password-power.entry.js +2 -2
- package/dist/esm/gov-form-radio-group.entry.js +4 -4
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +3 -2
- package/dist/esm/gov-form-radio.entry.js.map +1 -1
- package/dist/esm/gov-form-search.entry.js +2 -2
- package/dist/esm/gov-form-select.entry.js +5 -4
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +3 -2
- package/dist/esm/gov-form-switch.entry.js.map +1 -1
- package/dist/esm/gov-grid-item.entry.js +14 -8
- package/dist/esm/gov-grid-item.entry.js.map +1 -1
- package/dist/esm/gov-grid.entry.js +8 -6
- package/dist/esm/gov-grid.entry.js.map +1 -1
- package/dist/esm/gov-infobar.entry.js +5 -4
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- package/dist/esm/gov-layout-column.entry.js +2 -2
- package/dist/esm/gov-layout.entry.js +2 -2
- package/dist/esm/gov-lifecycle.entry.js +2 -2
- package/dist/esm/gov-link.entry.js +3 -2
- package/dist/esm/gov-link.entry.js.map +1 -1
- package/dist/esm/gov-loading.entry.js +2 -2
- package/dist/esm/gov-message.entry.js +2 -2
- package/dist/esm/gov-message.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +3 -2
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +2 -2
- package/dist/esm/gov-stepper-item.entry.js +3 -3
- package/dist/esm/gov-stepper-item.entry.js.map +1 -1
- package/dist/esm/gov-stepper.entry.js +3 -3
- package/dist/esm/gov-tabs-item.entry.js +2 -2
- package/dist/esm/gov-tabs.entry.js +4 -3
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/gov-tag.entry.js +2 -2
- package/dist/esm/gov-tile.entry.js +2 -2
- package/dist/esm/gov-toast.entry.js +4 -3
- package/dist/esm/gov-toast.entry.js.map +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +2 -2
- package/dist/esm/gov-tooltip.entry.js +3 -3
- package/dist/esm/gov-wizard-item.entry.js +3 -3
- package/dist/esm/gov-wizard.entry.js +2 -2
- package/dist/esm/{index-087b155c.js → index-bf8a6f64.js} +10 -18
- package/dist/esm/index-bf8a6f64.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/hydrate/index.js +247 -161
- package/dist/hydrate/index.mjs +247 -161
- package/dist/stencil.config.js +2 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-banner/constants.d.ts +26 -0
- package/dist/types/components/gov-banner/gov-banner.d.ts +38 -0
- package/dist/types/components/gov-blocquote/constants.d.ts +10 -0
- package/dist/types/components/gov-blocquote/gov-blockquote.d.ts +15 -0
- package/dist/types/components/gov-button/button/constants.d.ts +1 -1
- package/dist/types/components/gov-control-group/constants.d.ts +1 -1
- package/dist/types/components/gov-flex/gov-flex.d.ts +5 -1
- package/dist/types/components/gov-form/group/constants.d.ts +1 -1
- package/dist/types/components/gov-grid/constants.d.ts +4 -0
- package/dist/types/components/gov-grid/gov-grid-item.d.ts +25 -5
- package/dist/types/components/gov-grid/gov-grid.d.ts +11 -2
- package/dist/types/components/gov-icon/constants.d.ts +1 -1
- package/dist/types/components/gov-icon/gov-icon.d.ts +0 -1
- package/dist/types/components/gov-infobar/constants.d.ts +1 -1
- package/dist/types/components/gov-link/constants.d.ts +1 -0
- package/dist/types/components/gov-stepper/constants.d.ts +2 -0
- package/dist/types/components/gov-theme-switch/constants.d.ts +1 -0
- package/dist/types/components.d.ts +179 -36
- package/dist/types/pages/Banner.d.ts +3 -0
- package/dist/types/pages/Blockquote.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cjs/constants-4dfa23e3.js.map +0 -1
- package/dist/cjs/constants-52053f2d.js.map +0 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +0 -26
- package/dist/cjs/gov-tiles.cjs.entry.js.map +0 -1
- package/dist/cjs/index-67e87c27.js.map +0 -1
- package/dist/collection/components/gov-tile/container/constants.js +0 -4
- package/dist/collection/components/gov-tile/container/constants.js.map +0 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +0 -37
- package/dist/collection/components/gov-tile/container/gov-tiles.js.map +0 -1
- package/dist/components/gov-tiles.js +0 -2
- package/dist/components/gov-tiles.js.map +0 -1
- package/dist/components/p-115b9cf3.js +0 -3
- package/dist/components/p-115b9cf3.js.map +0 -1
- package/dist/components/p-350e060c.js +0 -2
- package/dist/components/p-350e060c.js.map +0 -1
- package/dist/components/p-792c5352.js +0 -2
- package/dist/components/p-792c5352.js.map +0 -1
- package/dist/components/p-880743a5.js +0 -2
- package/dist/components/p-880743a5.js.map +0 -1
- package/dist/components/p-8e8a3300.js +0 -2
- package/dist/components/p-8e8a3300.js.map +0 -1
- package/dist/components/p-8ee6f2f3.js +0 -2
- package/dist/components/p-92406c6d.js +0 -2
- package/dist/components/p-92406c6d.js.map +0 -1
- package/dist/components/p-939638b2.js +0 -2
- package/dist/components/p-939638b2.js.map +0 -1
- package/dist/components/p-95bd5f39.js +0 -2
- package/dist/components/p-95bd5f39.js.map +0 -1
- package/dist/components/p-a521c59a.js +0 -2
- package/dist/components/p-a521c59a.js.map +0 -1
- package/dist/components/p-ba61e648.js +0 -2
- package/dist/components/p-ba61e648.js.map +0 -1
- package/dist/components/p-bfce6f99.js +0 -2
- package/dist/components/p-bfce6f99.js.map +0 -1
- package/dist/components/p-f9161803.js +0 -2
- package/dist/components/p-f9161803.js.map +0 -1
- package/dist/core/p-017ff5a5.entry.js +0 -2
- package/dist/core/p-017ff5a5.entry.js.map +0 -1
- package/dist/core/p-032accfb.entry.js +0 -2
- package/dist/core/p-032accfb.entry.js.map +0 -1
- package/dist/core/p-054aa25e.entry.js +0 -2
- package/dist/core/p-054aa25e.entry.js.map +0 -1
- package/dist/core/p-058e6fe2.entry.js +0 -2
- package/dist/core/p-058e6fe2.entry.js.map +0 -1
- package/dist/core/p-0724cb6a.entry.js +0 -2
- package/dist/core/p-0724cb6a.entry.js.map +0 -1
- package/dist/core/p-09c9eba6.entry.js +0 -2
- package/dist/core/p-09c9eba6.entry.js.map +0 -1
- package/dist/core/p-0c076b21.entry.js +0 -2
- package/dist/core/p-10f773c2.entry.js +0 -2
- package/dist/core/p-10f773c2.entry.js.map +0 -1
- package/dist/core/p-14d66f26.entry.js +0 -2
- package/dist/core/p-1aa7450e.entry.js +0 -2
- package/dist/core/p-237a5b91.entry.js +0 -2
- package/dist/core/p-269071f5.entry.js +0 -2
- package/dist/core/p-2ee042d4.js +0 -3
- package/dist/core/p-2ee042d4.js.map +0 -1
- package/dist/core/p-33310735.entry.js +0 -2
- package/dist/core/p-33310735.entry.js.map +0 -1
- package/dist/core/p-347d15d5.entry.js +0 -2
- package/dist/core/p-37473c34.entry.js +0 -2
- package/dist/core/p-3849ca02.entry.js.map +0 -1
- package/dist/core/p-3a7381e7.entry.js +0 -2
- package/dist/core/p-43d3dbc0.entry.js +0 -2
- package/dist/core/p-45b759f4.entry.js +0 -2
- package/dist/core/p-4c60e125.entry.js +0 -2
- package/dist/core/p-4e29744a.entry.js +0 -2
- package/dist/core/p-4e29744a.entry.js.map +0 -1
- package/dist/core/p-4fa0320d.entry.js +0 -2
- package/dist/core/p-50af9ae8.entry.js +0 -2
- package/dist/core/p-5c3f4cfe.entry.js +0 -2
- package/dist/core/p-5c3f4cfe.entry.js.map +0 -1
- package/dist/core/p-6b7c3a96.entry.js +0 -2
- package/dist/core/p-6b7c3a96.entry.js.map +0 -1
- package/dist/core/p-71f5d4ff.entry.js +0 -2
- package/dist/core/p-7a21fb90.entry.js +0 -2
- package/dist/core/p-7a21fb90.entry.js.map +0 -1
- package/dist/core/p-880743a5.js +0 -2
- package/dist/core/p-880743a5.js.map +0 -1
- package/dist/core/p-8bb6c816.entry.js +0 -2
- package/dist/core/p-8bb6c816.entry.js.map +0 -1
- package/dist/core/p-8cc5ad01.entry.js +0 -2
- package/dist/core/p-906865d0.entry.js +0 -2
- package/dist/core/p-967a1094.entry.js +0 -2
- package/dist/core/p-9846fd13.entry.js +0 -2
- package/dist/core/p-9846fd13.entry.js.map +0 -1
- package/dist/core/p-994385ca.entry.js +0 -2
- package/dist/core/p-994385ca.entry.js.map +0 -1
- package/dist/core/p-9f8d69a9.entry.js +0 -2
- package/dist/core/p-a521c59a.js +0 -2
- package/dist/core/p-a521c59a.js.map +0 -1
- package/dist/core/p-b62e49ee.entry.js +0 -2
- package/dist/core/p-cecbe73f.entry.js +0 -2
- package/dist/core/p-cecbe73f.entry.js.map +0 -1
- package/dist/core/p-d795a421.entry.js +0 -2
- package/dist/core/p-d795a421.entry.js.map +0 -1
- package/dist/core/p-d9b42773.entry.js +0 -2
- package/dist/core/p-d9b42773.entry.js.map +0 -1
- package/dist/core/p-e0a199ff.entry.js +0 -2
- package/dist/core/p-e0a199ff.entry.js.map +0 -1
- package/dist/core/p-e215f3ee.entry.js +0 -2
- package/dist/core/p-ed02945f.entry.js +0 -2
- package/dist/core/p-ee55932a.entry.js +0 -2
- package/dist/core/p-f2bb8c29.entry.js +0 -2
- package/dist/core/p-f54edd6c.entry.js +0 -2
- package/dist/core/p-f54edd6c.entry.js.map +0 -1
- package/dist/core/p-f7f60f91.entry.js +0 -2
- package/dist/core/p-fcac8531.entry.js +0 -2
- package/dist/core/p-fcac8531.entry.js.map +0 -1
- package/dist/esm/constants-2d5a0e18.js.map +0 -1
- package/dist/esm/constants-372455eb.js.map +0 -1
- package/dist/esm/gov-tiles.entry.js +0 -22
- package/dist/esm/gov-tiles.entry.js.map +0 -1
- package/dist/esm/index-087b155c.js.map +0 -1
- package/dist/types/components/gov-tile/container/constants.d.ts +0 -3
- package/dist/types/components/gov-tile/container/gov-tiles.d.ts +0 -10
- /package/dist/components/{p-03ad4e0f.js.map → p-73938936.js.map} +0 -0
- /package/dist/components/{p-384c7f2a.js.map → p-7be2301a.js.map} +0 -0
- /package/dist/components/{p-8ee6f2f3.js.map → p-f9a1ff6e.js.map} +0 -0
- /package/dist/core/{p-37473c34.entry.js.map → p-005214d1.entry.js.map} +0 -0
- /package/dist/core/{p-43d3dbc0.entry.js.map → p-1c7c9144.entry.js.map} +0 -0
- /package/dist/core/{p-927c31dd.entry.js.map → p-46ecf09e.entry.js.map} +0 -0
- /package/dist/core/{p-0f0f7302.entry.js.map → p-52042c7e.entry.js.map} +0 -0
- /package/dist/core/{p-c0800e6d.entry.js.map → p-5242b51b.entry.js.map} +0 -0
- /package/dist/core/{p-9f8d69a9.entry.js.map → p-564555e6.entry.js.map} +0 -0
- /package/dist/core/{p-0c076b21.entry.js.map → p-6e41cf69.entry.js.map} +0 -0
- /package/dist/core/{p-77daba72.entry.js.map → p-6f1ea21d.entry.js.map} +0 -0
- /package/dist/core/{p-7dfb7e36.entry.js.map → p-79ec86da.entry.js.map} +0 -0
- /package/dist/core/{p-3a7381e7.entry.js.map → p-8cbe8add.entry.js.map} +0 -0
- /package/dist/core/{p-4fa0320d.entry.js.map → p-8f73f8e0.entry.js.map} +0 -0
- /package/dist/core/{p-7baee44f.entry.js.map → p-99f192c1.entry.js.map} +0 -0
- /package/dist/core/{p-e215f3ee.entry.js.map → p-a02f2547.entry.js.map} +0 -0
- /package/dist/core/{p-a6a9de9a.entry.js.map → p-ae88fe6b.entry.js.map} +0 -0
- /package/dist/core/{p-063b70a2.entry.js.map → p-c2abc031.entry.js.map} +0 -0
- /package/dist/core/{p-b62e49ee.entry.js.map → p-c688349d.entry.js.map} +0 -0
- /package/dist/core/{p-50af9ae8.entry.js.map → p-c91512dd.entry.js.map} +0 -0
- /package/dist/core/{p-71f5d4ff.entry.js.map → p-de852480.entry.js.map} +0 -0
- /package/dist/core/{p-4c60e125.entry.js.map → p-e89471ef.entry.js.map} +0 -0
- /package/dist/core/{p-347d15d5.entry.js.map → p-f333c673.entry.js.map} +0 -0
package/dist/hydrate/index.mjs
CHANGED
|
@@ -131,12 +131,6 @@ var __export = (target, all) => {
|
|
|
131
131
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
132
132
|
};
|
|
133
133
|
|
|
134
|
-
// src/runtime/asset-path.ts
|
|
135
|
-
var getAssetPath = (path) => {
|
|
136
|
-
const assetUrl = new URL(path, plt.$resourcesUrl$);
|
|
137
|
-
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
138
|
-
};
|
|
139
|
-
|
|
140
134
|
// src/utils/constants.ts
|
|
141
135
|
var EMPTY_OBJ = {};
|
|
142
136
|
|
|
@@ -2205,12 +2199,6 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
2205
2199
|
elm["s-rc"] = [];
|
|
2206
2200
|
return hostRefs.set(elm, hostRef);
|
|
2207
2201
|
};
|
|
2208
|
-
var Build = {
|
|
2209
|
-
isDev: false,
|
|
2210
|
-
isBrowser: false,
|
|
2211
|
-
isServer: true,
|
|
2212
|
-
isTesting: false
|
|
2213
|
-
};
|
|
2214
2202
|
var styles = /* @__PURE__ */ new Map();
|
|
2215
2203
|
|
|
2216
2204
|
async function delay(miliseconds) {
|
|
@@ -2781,7 +2769,7 @@ class GovAttachments {
|
|
|
2781
2769
|
}; }
|
|
2782
2770
|
}
|
|
2783
2771
|
|
|
2784
|
-
const govAttachmentsItemCss = "gov-attachments-item,.gov-attachments-item{position:relative;display:flex;width:100%;gap:var(--spacing-s)}gov-attachments-item__messages>*:last-child,.gov-attachments-item__messages>*:last-child{margin-bottom:0}gov-attachments-item__file,.gov-attachments-item__file{display:flex;gap:var(--spacing-s)}gov-attachments-item__name,.gov-attachments-item__name{display:flex;gap:var(--spacing-s);flex-wrap:wrap;align-items:center;margin:0;color:var(--name-color, var(--text-primary))}gov-attachments-item__name span,.gov-attachments-item__name span{font-size:var(--font-size-xs);line-height:
|
|
2772
|
+
const govAttachmentsItemCss = "gov-attachments-item,.gov-attachments-item{position:relative;display:flex;width:100%;gap:var(--spacing-s)}gov-attachments-item__messages>*:last-child,.gov-attachments-item__messages>*:last-child{margin-bottom:0}gov-attachments-item__file,.gov-attachments-item__file{display:flex;gap:var(--spacing-s)}gov-attachments-item__name,.gov-attachments-item__name{display:flex;gap:var(--spacing-s);flex-wrap:wrap;align-items:center;margin:0;color:var(--name-color, var(--text-primary))}gov-attachments-item__name span,.gov-attachments-item__name span{font-size:var(--font-size-body-xs);line-height:150%;font-weight:400;color:var(--decor-color, var(--text-secondary))}";
|
|
2785
2773
|
var GovAttachmentsItemStyle0 = govAttachmentsItemCss;
|
|
2786
2774
|
|
|
2787
2775
|
class GovAttachmentsItem {
|
|
@@ -2873,6 +2861,117 @@ class GovBackdrop {
|
|
|
2873
2861
|
}; }
|
|
2874
2862
|
}
|
|
2875
2863
|
|
|
2864
|
+
const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL']);
|
|
2865
|
+
var BannerBackground;
|
|
2866
|
+
(function (BannerBackground) {
|
|
2867
|
+
BannerBackground["SIMPLE"] = "simple";
|
|
2868
|
+
BannerBackground["WAVES"] = "waves";
|
|
2869
|
+
BannerBackground["STRIPES"] = "stripes";
|
|
2870
|
+
BannerBackground["LINES"] = "lines";
|
|
2871
|
+
})(BannerBackground || (BannerBackground = {}));
|
|
2872
|
+
var BannerForeground;
|
|
2873
|
+
(function (BannerForeground) {
|
|
2874
|
+
BannerForeground["IMAGE"] = "image";
|
|
2875
|
+
BannerForeground["LOGO"] = "logo";
|
|
2876
|
+
BannerForeground["ICON"] = "icon";
|
|
2877
|
+
})(BannerForeground || (BannerForeground = {}));
|
|
2878
|
+
var BannerTextColor;
|
|
2879
|
+
(function (BannerTextColor) {
|
|
2880
|
+
BannerTextColor["LIGHT"] = "light";
|
|
2881
|
+
BannerTextColor["DARK"] = "dark";
|
|
2882
|
+
})(BannerTextColor || (BannerTextColor = {}));
|
|
2883
|
+
const BannerClass = {
|
|
2884
|
+
root: 'gov-banner',
|
|
2885
|
+
content: 'gov-banner__content',
|
|
2886
|
+
};
|
|
2887
|
+
|
|
2888
|
+
class GovBanner {
|
|
2889
|
+
constructor(hostRef) {
|
|
2890
|
+
registerInstance(this, hostRef);
|
|
2891
|
+
this.size = BannerSizes._M;
|
|
2892
|
+
this.background = BannerBackground.SIMPLE;
|
|
2893
|
+
this.foreground = BannerForeground.LOGO;
|
|
2894
|
+
this.textColor = BannerTextColor.LIGHT;
|
|
2895
|
+
this.accessibleLabel = undefined;
|
|
2896
|
+
this.accessibleLabelledBy = undefined;
|
|
2897
|
+
this.h = govHost(this.host);
|
|
2898
|
+
}
|
|
2899
|
+
validateSize(newValue) {
|
|
2900
|
+
validateProp(BannerSizes, newValue, BannerClass.root);
|
|
2901
|
+
}
|
|
2902
|
+
componentWillLoad() {
|
|
2903
|
+
this.validateSize(this.size);
|
|
2904
|
+
}
|
|
2905
|
+
async componentDidRender() {
|
|
2906
|
+
if (canValidateWcagOnRender()) {
|
|
2907
|
+
tick(() => this.validateAccessibility());
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
render() {
|
|
2911
|
+
return (hAsync(Host, Object.assign({ key: '2e74fec76a2919885f1ffcf0d5b5b43f4da9634f', class: this.h.classes(BannerClass.root), size: this.size }, (this.size !== "xl" ? { background: this.background, foreground: this.foreground } : { 'text-color': this.textColor })), hAsync("div", { key: 'e96d0155618a4d8703869f9d41a16e6dca148d8f' }, hAsync("div", { key: '1ca80fec0a9918753727bdbbde993c650f464e44', class: BannerClass.content }, hAsync("slot", { key: '6649fb9ad5c08b9cb7fe44a633fbdf8a7c1070cf', name: "headline" }), hAsync("slot", { key: '615031f7ca60d053f08822a497d59cb123103bae' })), this.h.hasSlot('button') && (hAsync("gov-button", { key: '256dcef6425d21dfd6ea47b2dc9dbcfe2bbc0a19', color: "secondary", type: "solid", size: "l" }, hAsync("slot", { key: '2553414cc5541ec8f4e8d22d4cd394d9d57f40ef', name: "button" })))), hAsync("slot", { key: 'b87320fc0d4ea2415f2c2e3565942fd8944c8f7c', name: "image" })));
|
|
2912
|
+
}
|
|
2913
|
+
/**
|
|
2914
|
+
* Validate the accessibility attributes of the component
|
|
2915
|
+
*/
|
|
2916
|
+
async validateAccessibility() {
|
|
2917
|
+
validateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BannerClass.root, this.host);
|
|
2918
|
+
}
|
|
2919
|
+
get host() { return getElement(this); }
|
|
2920
|
+
static get watchers() { return {
|
|
2921
|
+
"size": ["validateSize"]
|
|
2922
|
+
}; }
|
|
2923
|
+
static get cmpMeta() { return {
|
|
2924
|
+
"$flags$": 4,
|
|
2925
|
+
"$tagName$": "gov-banner",
|
|
2926
|
+
"$members$": {
|
|
2927
|
+
"size": [513],
|
|
2928
|
+
"background": [1],
|
|
2929
|
+
"foreground": [1],
|
|
2930
|
+
"textColor": [1, "text-color"],
|
|
2931
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
2932
|
+
"accessibleLabelledBy": [1, "accessible-labelledby"],
|
|
2933
|
+
"validateAccessibility": [64]
|
|
2934
|
+
},
|
|
2935
|
+
"$listeners$": undefined,
|
|
2936
|
+
"$lazyBundleId$": "-",
|
|
2937
|
+
"$attrsToReflect$": [["size", "size"]]
|
|
2938
|
+
}; }
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
var BlockquoteType;
|
|
2942
|
+
(function (BlockquoteType) {
|
|
2943
|
+
BlockquoteType["PRIMARY"] = "primary";
|
|
2944
|
+
BlockquoteType["SUBTLE"] = "subtle";
|
|
2945
|
+
BlockquoteType["NEUTRAL"] = "neutral";
|
|
2946
|
+
})(BlockquoteType || (BlockquoteType = {}));
|
|
2947
|
+
const BlockquoteClass = {
|
|
2948
|
+
root: 'gov-blockquote',
|
|
2949
|
+
};
|
|
2950
|
+
|
|
2951
|
+
class GovBlockquote {
|
|
2952
|
+
constructor(hostRef) {
|
|
2953
|
+
registerInstance(this, hostRef);
|
|
2954
|
+
this.type = BlockquoteType.SUBTLE;
|
|
2955
|
+
this.cite = undefined;
|
|
2956
|
+
this.h = govHost(this.host);
|
|
2957
|
+
}
|
|
2958
|
+
render() {
|
|
2959
|
+
return (hAsync(Host, { key: '2d6d6f8731e3cf3a7697b1e5c9cb9628b120a9c0', class: this.h.classes(BlockquoteClass.root), type: this.type }, hAsync("gov-icon", { key: 'a34dc43b0a8336830f7f8bd49a04f3fd36ccac5d', type: "components", name: "quote", size: "3xl" }), hAsync("blockquote", { key: '1f74006947ad7d8d90ea3425be7d8f66291dbfc5', cite: this.cite }, hAsync("slot", { key: '1e0413bfdcfec33d487998f88407b000d2cbd376' })), hAsync("slot", { key: '9c61d787603bf343546af51e25ac9b6ad47191e9', name: "image" }), hAsync("slot", { key: '7f7956a01aef3d1fe2ecc21428facc932e69ab03', name: "author" })));
|
|
2960
|
+
}
|
|
2961
|
+
get host() { return getElement(this); }
|
|
2962
|
+
static get cmpMeta() { return {
|
|
2963
|
+
"$flags$": 4,
|
|
2964
|
+
"$tagName$": "gov-blockquote",
|
|
2965
|
+
"$members$": {
|
|
2966
|
+
"type": [513],
|
|
2967
|
+
"cite": [1]
|
|
2968
|
+
},
|
|
2969
|
+
"$listeners$": undefined,
|
|
2970
|
+
"$lazyBundleId$": "-",
|
|
2971
|
+
"$attrsToReflect$": [["type", "type"]]
|
|
2972
|
+
}; }
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2876
2975
|
const BreadcrumbsClass = {
|
|
2877
2976
|
root: 'gov-breadcrumbs',
|
|
2878
2977
|
};
|
|
@@ -2915,7 +3014,7 @@ class GovBreadcrumbs {
|
|
|
2915
3014
|
this.toggleOption = sumOfWidths > hostWidth;
|
|
2916
3015
|
}
|
|
2917
3016
|
render() {
|
|
2918
|
-
return (hAsync(Host, { key: '
|
|
3017
|
+
return (hAsync(Host, { key: '9a9134423e513fc148bbb68c20fac5bb97670db8', class: this.h.classes(BreadcrumbsClass.root), expanded: this.expanded }, hAsync("nav", { key: '0850db41c7ce8bbb329a9abd3a925f292ec26c66', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy }, hAsync("slot", { key: '477ce7803f02dc150c9980cbbf967b2b3d6485a0' })), this.toggleOption ? (hAsync("gov-button", { size: 'xs', color: 'primary', type: 'base', "aria-label": this.accessibleToggleLabel, "aria-pressed": this.expanded, "aria-expanded": this.expanded, "on-gov-click": () => this.expanded = !this.expanded }, hAsync("gov-icon", { name: this.expanded ? 'chevron-up' : 'chevron-down', type: "components" }))) : null));
|
|
2919
3018
|
}
|
|
2920
3019
|
/**
|
|
2921
3020
|
* Validate the WCAG attributes of the component
|
|
@@ -3053,7 +3152,8 @@ class GovButton {
|
|
|
3053
3152
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3054
3153
|
}
|
|
3055
3154
|
disconnectedCallback() {
|
|
3056
|
-
|
|
3155
|
+
var _a;
|
|
3156
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3057
3157
|
}
|
|
3058
3158
|
componentWillLoad() {
|
|
3059
3159
|
this.validateColor(this.color);
|
|
@@ -3074,9 +3174,9 @@ class GovButton {
|
|
|
3074
3174
|
render() {
|
|
3075
3175
|
const Tag = this.href ? Tags$2.A : Tags$2.BUTTON;
|
|
3076
3176
|
const nativeType = Tag === Tags$2.A ? undefined : this.nativeType;
|
|
3077
|
-
return (hAsync(Host, { key: '
|
|
3078
|
-
hAsync("gov-icon", { key: '
|
|
3079
|
-
hAsync("gov-icon", { key: '
|
|
3177
|
+
return (hAsync(Host, { key: '526d8b276e9139e165d38c031adac59e9f1296f8', size: this.size, hydrated: this.hydrated, color: this.color, class: this.h.classes(ButtonClass.root), type: this.type }, hAsync(Tag, Object.assign({ key: '6db49c65c1b0d3c98d81cba6d86e9181ce32fc87', class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.disabled ? "-1" : "0" }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled) }), toBool(this.loading) && !this.h.hasSlot("icon-end") &&
|
|
3178
|
+
hAsync("gov-icon", { key: '535bfdca505680012cdefe59c7fdf6776a9692f0', name: "loader", class: "gov-spin-animation", type: "components" }), this.h.hasSlot("icon-start") && hAsync("slot", { key: '26c813df831c8767ad019873572cc928c7475ca4', name: "icon-start" }), hAsync("slot", { key: 'c0cdb5257b7db1ec33e317c0c3009ea9de713036' }), this.h.hasSlot("icon-end") && hAsync("slot", { key: '238fabead4d6e40f754746866c8b83e0f517680a', name: "icon-end" }), toBool(this.loading) && this.h.hasSlot("icon-end") &&
|
|
3179
|
+
hAsync("gov-icon", { key: 'cb8360aa13dd3e6ab1328bbd4a0a60a234f98bd5', name: "loader", class: "gov-spin-animation", type: "components" }))));
|
|
3080
3180
|
}
|
|
3081
3181
|
onClickHandler(e) {
|
|
3082
3182
|
e.stopPropagation();
|
|
@@ -3202,7 +3302,7 @@ class GovCard {
|
|
|
3202
3302
|
this.hydrated = true;
|
|
3203
3303
|
}
|
|
3204
3304
|
render() {
|
|
3205
|
-
return (hAsync(Host, { key: '
|
|
3305
|
+
return (hAsync(Host, { key: '734cecdc36d379c1d2d8c14ef136780eabff9d32', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), direction: this.direction, hydrated: this.hydrated }, this.collapsible ? (hAsync("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, hAsync("slot", { name: "headline" }), hAsync("gov-icon", { class: CardClass.arrow, name: "chevron-down", type: "components" }))) : this.h.hasSlot("headline") ? (hAsync("div", { class: CardClass.header }, hAsync("slot", { name: "headline" }))) : null, hAsync("div", { key: '35fbd43458f8895ac32a49b2fb26301ef6c2f4cc', class: CardClass.inner, id: this.contentId, "aria-hidden": this.collapsible ? booleanString(!this.open) : undefined, hidden: this.collapsible ? !this.open : undefined, "aria-labelledby": this.collapsible ? this.headlineId : undefined }, this.h.hasSlot('img') && (hAsync("div", { key: '1d1d26a7d45bc7453cdfbb2ce2530e277ea7f1d6', class: CardClass.img }, hAsync("slot", { key: '43d62fec8982ac856afedfe30a4062253ab072d7', name: "img" }))), this.h.hasSlot('icon') && (hAsync("div", { key: 'ea26e422318e6a8753c47c5af2bcbfafe44bd053', class: CardClass.icon }, hAsync("slot", { key: '40cad4f8356f6ff1e640436f4b548581cb4b4bcf', name: "icon" }))), hAsync("div", { key: '17d86c58f5d4d1fec9af1b111a69e73629188b4a', class: CardClass.content }, hAsync("slot", { key: '34b718783966bda56624c883b85d965ba74041a5' })), this.h.hasSlot('footer') && (hAsync("div", { key: 'bdac20b7db8adabdba069df573e117ef1c9a79fc', class: CardClass.footer }, hAsync("slot", { key: 'e57ade83302bd2a7537236aff716d02a5a47ea0f', name: "footer" }))))));
|
|
3206
3306
|
}
|
|
3207
3307
|
onClickHandler(e) {
|
|
3208
3308
|
e.stopPropagation();
|
|
@@ -3308,7 +3408,8 @@ class GovChip {
|
|
|
3308
3408
|
this.attributeObserver.startObserving(ariaAttributes);
|
|
3309
3409
|
}
|
|
3310
3410
|
disconnectedCallback() {
|
|
3311
|
-
|
|
3411
|
+
var _a;
|
|
3412
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3312
3413
|
}
|
|
3313
3414
|
connectedCallback() {
|
|
3314
3415
|
this.hydrated = true;
|
|
@@ -3322,11 +3423,11 @@ class GovChip {
|
|
|
3322
3423
|
const nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined;
|
|
3323
3424
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
3324
3425
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
3325
|
-
return (hAsync(Host, { key: '
|
|
3426
|
+
return (hAsync(Host, { key: '3873d567f8dd31d62e259751a9800bc2302380f8', class: this.h.classes([
|
|
3326
3427
|
ChipClass.root,
|
|
3327
3428
|
this.h.hasSlot("right") ? ChipClass.hasRight : undefined,
|
|
3328
3429
|
this.h.hasSlot("left") ? ChipClass.hasLeft : undefined,
|
|
3329
|
-
]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, hAsync(Tag, Object.assign({ key: '
|
|
3430
|
+
]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, hAsync(Tag, Object.assign({ key: '6635ce7184fba0374e7f8035c3df38156ac69b24', class: "element", href: this.href, target: this.target, ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), tabindex: (this.h.hasSlot("left") || this.h.hasSlot("right") || this.disabled) && !this.focusable ? "-1" : "0", id: this.identifier || this.chipId, type: nativeType }, this.inheritedAttributes, { "aria-disabled": this.disabled }), hAsync("slot", { key: '3677ece9c89d8e9d59fb5d87fced0cdf4936342b', name: "left" }), hAsync("slot", { key: '0acc75cb17c45740380ceb6681d21b29475c6419', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: 'f95b1e5fc9e460177a98deb1a7cd324dcac5e57f', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: 'f0354863b6c661b99c26f5e94193b85a12affab9' }), hAsync("slot", { key: 'ee35b12933b95d96932890ede60fa5b91f51d6b5', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '50cd0f12c868cb1e674a3df0609c2c8ba5664556', type: iconEnd.type, name: iconEnd.name })), hAsync("slot", { key: '39ca7870c9423cd0a3f8ca6c91b4a0daed8ef07f', name: "right" }))));
|
|
3330
3431
|
}
|
|
3331
3432
|
onClickHandler(e) {
|
|
3332
3433
|
e.stopPropagation();
|
|
@@ -3386,7 +3487,7 @@ class GovContainer {
|
|
|
3386
3487
|
this.h = govHost(this.host);
|
|
3387
3488
|
}
|
|
3388
3489
|
render() {
|
|
3389
|
-
return (hAsync(Host, { key: '
|
|
3490
|
+
return (hAsync(Host, { key: 'ad1f0a234ba94b59c7214c2ddba4208234355a47', class: this.h.classes(ContainerClass.root) }, hAsync("slot", { key: 'a7b877a4cf5d2f5ec1aa5908a2faf9976fa5591e' })));
|
|
3390
3491
|
}
|
|
3391
3492
|
get host() { return getElement(this); }
|
|
3392
3493
|
static get cmpMeta() { return {
|
|
@@ -3416,7 +3517,7 @@ class GovControlGroup {
|
|
|
3416
3517
|
validateProp(Colors, newValue, ControlGroupClass.root);
|
|
3417
3518
|
}
|
|
3418
3519
|
render() {
|
|
3419
|
-
return (hAsync(Host, { key: '
|
|
3520
|
+
return (hAsync(Host, { key: 'c52a55a92fd473dcec8806a693fa820a9557a8f3', class: this.h.classes(ControlGroupClass.root), color: this.color }, hAsync("slot", { key: '2c39e206b7a295212f4bda2a0552b1d10d19828b' })));
|
|
3420
3521
|
}
|
|
3421
3522
|
get host() { return getElement(this); }
|
|
3422
3523
|
static get watchers() { return {
|
|
@@ -3450,7 +3551,7 @@ class GovCookiebar {
|
|
|
3450
3551
|
this.h = govHost(this.host);
|
|
3451
3552
|
}
|
|
3452
3553
|
render() {
|
|
3453
|
-
return (hAsync(Host, { key: '
|
|
3554
|
+
return (hAsync(Host, { key: '10c57cd4a06fe46e504309598788a95fc832493c', class: this.h.classes(CookieConsentClass.root) }, hAsync("div", { key: '877d252bf4889abadd06e50c125ec27e114353e5', class: CookieConsentClass.content }, hAsync("slot", { key: '817560e69ede6d998c27db262346e889167830fc', name: "headline" }), hAsync("slot", { key: '27395c4c03746c73eec66e75e16c7c6209a41298' })), (this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (hAsync("div", { key: '5d1395aa7039f6dc0bd84b47387b2d2b54c2359e', class: CookieConsentClass.actions }, this.h.hasSlot('actions-primary') && (hAsync("div", { key: '79e2932462ff78a186b3de70d5a7bab0ff9cdc7f', class: CookieConsentClass.actionsPrimary }, hAsync("slot", { key: '85cc159d24a21c8b8f4148a339038e2bdce5f246', name: "actions-primary" }))), this.h.hasSlot('actions-secondary') && (hAsync("div", { key: 'af86c4ad358e36356f1d4be9409c2f642faf7035', class: CookieConsentClass.actionsSecondary }, hAsync("slot", { key: '5495b26b5c31112a4c4bcd8dcbd21d54993bb6e1', name: "actions-secondary" })))))));
|
|
3454
3555
|
}
|
|
3455
3556
|
get host() { return getElement(this); }
|
|
3456
3557
|
static get cmpMeta() { return {
|
|
@@ -3523,7 +3624,7 @@ class GovDialog {
|
|
|
3523
3624
|
document.body.classList.remove(DialogClass.bodyFix);
|
|
3524
3625
|
}
|
|
3525
3626
|
render() {
|
|
3526
|
-
return (hAsync(Host, { key: '
|
|
3627
|
+
return (hAsync(Host, { key: '697a938c343fff3af9cb37c377ac9784e0728e0e', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, hAsync("dialog", { key: '9b641ef551f5f4eeb00890e822b6f5434421c38d', class: DialogClass.dialog, hidden: !this.open, tabindex: boolToFocusValue(this.open), open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.accessibleLabelledBy || this.labelId, "aria-describedby": this.accessibleDescribedBy || this.contentId, role: this.role }, hAsync("div", { key: '08da7bb9a7d3b942132410dc4dbf57c2b9d85363', class: DialogClass.inner }, hAsync("div", { key: '389a42468a93951f461024950ea84a80443bd366', class: DialogClass.header }, this.h.hasSlot("icon") && (hAsync("span", { key: '920649b3b276589a254cc8f47c777406d2adfdaf' }, hAsync("slot", { key: '7a6b86f61009015d5dbfa3aaa7aee9aad42185dd', name: "icon" }))), this.h.hasSlot('title') && (hAsync("span", { key: '8aa87028f1ed4c524291c3e0fed0a393fbb46db2', class: DialogClass.title, id: this.labelId }, hAsync("slot", { key: '70b360d2748edde6ea2f762c72cc3acfa67cde97', name: "title" }))), hAsync("gov-button", { key: '946ab0088d52affe4a31ecef5bdef84c1b231093', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "aria-label": this.accessibleCloseLabel, "aria-labelledby": this.accessibleCloseLabelledBy, type: "base", size: "m", "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { key: 'b9874c2494a8b46c7b9f94f6989527b0acefc465', slot: "icon-start", name: "x-lg", type: "components" }))), hAsync("div", { key: '4f4b1815de42427edeb5bd9a7b88c96e27530472', class: DialogClass.content, id: this.contentId }, hAsync("slot", { key: '94ccdf29a3578f1ee8e52e505eed109cc6128f67' })), this.h.hasSlot('footer') && (hAsync("div", { key: '8b7f85195264f4045c1d7ab8dd6db9f6abfe4f9f', class: DialogClass.footer }, hAsync("slot", { key: '373cda2bd8b1cccf34acbbf859b4b8f608bc4a19', name: "footer" }))))), this.open ? (hAsync("gov-backdrop", { disabled: this.blockBackdropClose, "aria-label": this.accessibleCloseLabel, "aria-labelled-by": this.accessibleCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
3527
3628
|
}
|
|
3528
3629
|
onCloseHandler(e) {
|
|
3529
3630
|
e.stopPropagation();
|
|
@@ -3681,7 +3782,7 @@ class GovDropdown {
|
|
|
3681
3782
|
});
|
|
3682
3783
|
}
|
|
3683
3784
|
render() {
|
|
3684
|
-
return (hAsync(Host, { key: '
|
|
3785
|
+
return (hAsync(Host, { key: '82ddf678be9e128e899f136598d923a9c62858b4', class: this.h.classes([DropdownClass.root]), open: this.open, position: this.position }, hAsync("slot", { key: '5de32c9654140fb67fff7f55ce8fba4fa7ef282f' }), hAsync("div", { key: '19bda970452623c7ddef45ff96b843698bb8cd1a', ref: el => registerClickOutside(this, el, () => this.open = false), class: DropdownClass.list, id: this.listId, "aria-labelledby": this.controlId, "aria-hidden": toBoolAttr(!this.open), hidden: !this.open }, hAsync("slot", { key: 'd1429110f4e4bd054bf38d4a038946475d791323', name: "list" }))));
|
|
3685
3786
|
}
|
|
3686
3787
|
/**
|
|
3687
3788
|
* Returns the current state of the dropdown
|
|
@@ -3734,7 +3835,7 @@ class GovEmpty {
|
|
|
3734
3835
|
this.validateSize(this.size);
|
|
3735
3836
|
}
|
|
3736
3837
|
render() {
|
|
3737
|
-
return (hAsync(Host, { key: '
|
|
3838
|
+
return (hAsync(Host, { key: '536c14b44e86e71ded94980cce96cfcef26c13d5', class: this.h.classes(EmptyClass.root), size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: '11e8a26c901809dc67cc2db2ff1aff47257a8014', name: "icon" })), hAsync("div", { key: '4aac9fffa417df01fb668dab89aa19ed29469cc0', class: EmptyClass.content }, hAsync("slot", { key: '1b663ce7931eaf8cccd00342e0f1f9fec7abe2d3', name: "headline" }), hAsync("slot", { key: 'f1b1ad8a80fe12d01008da1efd335e14cee0a16d' }))));
|
|
3738
3839
|
}
|
|
3739
3840
|
get host() { return getElement(this); }
|
|
3740
3841
|
static get watchers() { return {
|
|
@@ -3763,7 +3864,7 @@ class GovErrorCode {
|
|
|
3763
3864
|
this.h = govHost(this.host);
|
|
3764
3865
|
}
|
|
3765
3866
|
render() {
|
|
3766
|
-
return (hAsync(Host, { key: '
|
|
3867
|
+
return (hAsync(Host, { key: '3355f2c43f55001d6b12bae918220f858721279b', class: this.h.classes(ErrorCodeClass.root), align: "center" }, this.h.hasSlot('icon') && (hAsync("slot", { key: '721e74886d890b048bc268cadf9fb05979234ad6', name: "icon" })), hAsync("div", { key: '9a1e0ce9d1aa43eacd4967a2688123fcd9164d8f', class: ErrorCodeClass.content }, hAsync("slot", { key: '5193304f9720b28d12176e805436e7ebbee2f704', name: "headline" }), hAsync("slot", { key: '12d538e92472745e3613149a7c824e6cd345e776' }))));
|
|
3767
3868
|
}
|
|
3768
3869
|
get host() { return getElement(this); }
|
|
3769
3870
|
static get cmpMeta() { return {
|
|
@@ -3790,27 +3891,29 @@ class GovFlex {
|
|
|
3790
3891
|
this.alignContent = undefined;
|
|
3791
3892
|
this.alignSelf = undefined;
|
|
3792
3893
|
this.gap = undefined;
|
|
3894
|
+
this.responsive = "true";
|
|
3793
3895
|
this.h = govHost(this.host);
|
|
3794
3896
|
}
|
|
3795
3897
|
render() {
|
|
3796
|
-
return (hAsync(Host, { key: '
|
|
3898
|
+
return (hAsync(Host, { key: '082daf61e75a8b30f7faa2cbd6a44ad8a74b0442', class: this.h.classes(FlexClass.root) }, hAsync("slot", { key: '120882be8540480b11df18d006414dabbb00e1d0' })));
|
|
3797
3899
|
}
|
|
3798
3900
|
get host() { return getElement(this); }
|
|
3799
3901
|
static get cmpMeta() { return {
|
|
3800
3902
|
"$flags$": 4,
|
|
3801
3903
|
"$tagName$": "gov-flex",
|
|
3802
3904
|
"$members$": {
|
|
3803
|
-
"direction": [
|
|
3905
|
+
"direction": [513],
|
|
3804
3906
|
"justifyContent": [513, "justify-content"],
|
|
3805
3907
|
"alignItems": [513, "align-items"],
|
|
3806
3908
|
"wrap": [513],
|
|
3807
3909
|
"alignContent": [513, "align-content"],
|
|
3808
3910
|
"alignSelf": [513, "align-self"],
|
|
3809
|
-
"gap": [513]
|
|
3911
|
+
"gap": [513],
|
|
3912
|
+
"responsive": [513]
|
|
3810
3913
|
},
|
|
3811
3914
|
"$listeners$": undefined,
|
|
3812
3915
|
"$lazyBundleId$": "-",
|
|
3813
|
-
"$attrsToReflect$": [["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"], ["gap", "gap"]]
|
|
3916
|
+
"$attrsToReflect$": [["direction", "direction"], ["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"], ["gap", "gap"], ["responsive", "responsive"]]
|
|
3814
3917
|
}; }
|
|
3815
3918
|
}
|
|
3816
3919
|
|
|
@@ -3960,14 +4063,15 @@ class GovFormAutocomplete {
|
|
|
3960
4063
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
3961
4064
|
}
|
|
3962
4065
|
disconnectedCallback() {
|
|
3963
|
-
|
|
4066
|
+
var _a;
|
|
4067
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3964
4068
|
}
|
|
3965
4069
|
onAriaAttributeChange(attributeName, newValue) {
|
|
3966
4070
|
this.host.removeAttribute(attributeName);
|
|
3967
4071
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3968
4072
|
}
|
|
3969
4073
|
render() {
|
|
3970
|
-
return (hAsync(Host, { key: '
|
|
4074
|
+
return (hAsync(Host, { key: '9aab109be9dc6f21e88a2da79223866b1b39732a', class: FormAutocompleteClass.root, size: this.size }, hAsync("gov-form-input", Object.assign({ key: '62828ff7629c39a283925c24113f0db2c7558ca5', placeholder: this.placeholder, name: this.name, disabled: this.disabled, readonly: this.readonly, autocomplete: false, size: this.size, required: this.required, invalid: this.invalid, success: this.success, role: 'searchbox', value: this.value, minlength: this.minlength, maxlength: this.maxlength, "on-gov-input": throttle(this.onInputHandler.bind(this), this.throttleTime), "on-gov-keyup": this.onKeyUpHandler.bind(this), "on-gov-keydown": this.onKeyDownHandler.bind(this), "on-gov-focus": this.onFocusHandler.bind(this), "on-gov-blur": this.onBlurHandler.bind(this) }, this.inheritedAttributes, { "aria-autocomplete": 'list', "aria-owns": [this.listBoxId, this.inheritedAttributes['aria-owns']].join(' '), "aria-expanded": booleanString(this.list.length && this.focused ? true : false), ref: el => (this.inputRef = el) }), hAsync("slot", { key: 'd722dd5d3241853d45a5153f0197403a42872c4a', name: "validation-icon" }), hAsync("slot", { key: 'bb003098d072de7c33cb1f538470b2ba6a79d920', name: "icon-end" })), hAsync("ul", { key: '4d54077583a9eed5682501372cd75f655e635203', class: FormAutocompleteClass.list, role: 'listbox', "aria-hidden": toBoolAttr(!this.focused), hidden: !this.focused, id: this.listBoxId, ref: el => (this.listRef = el) }, this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (hAsync("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (hAsync("li", { class: FormAutocompleteClass.loading }, hAsync("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
|
|
3971
4075
|
const isSelected = this.arrowCounter === index;
|
|
3972
4076
|
return (hAsync("li", { class: FormAutocompleteClass.item, innerHTML: this.templateResolver(item, isSelected), role: 'option', "aria-posinset": index, tabindex: isSelected ? 0 : -1, "aria-setsize": this.list.length, onTouchStart: (e) => this.onSelectHandler(e, index), onMouseDown: (e) => this.onSelectHandler(e, index), "aria-selected": toBoolAttr(isSelected) }, hAsync("slot", { name: "list-item-left" }), hAsync("slot", { name: "list-item-right" })));
|
|
3973
4077
|
}) : null)));
|
|
@@ -4345,7 +4449,8 @@ class GovFormCheckbox {
|
|
|
4345
4449
|
this.hydrated = true;
|
|
4346
4450
|
}
|
|
4347
4451
|
disconnectedCallback() {
|
|
4348
|
-
|
|
4452
|
+
var _a;
|
|
4453
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4349
4454
|
}
|
|
4350
4455
|
onAriaAttributeChange(attributeName, newValue) {
|
|
4351
4456
|
this.host.removeAttribute(attributeName);
|
|
@@ -4426,7 +4531,7 @@ class GovFormCheckbox {
|
|
|
4426
4531
|
}; }
|
|
4427
4532
|
}
|
|
4428
4533
|
|
|
4429
|
-
const FormGroupSizes = pick(Sizes, ['
|
|
4534
|
+
const FormGroupSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_2XL']);
|
|
4430
4535
|
var FormGroupOrientation;
|
|
4431
4536
|
(function (FormGroupOrientation) {
|
|
4432
4537
|
FormGroupOrientation["HORIZONTAL"] = "horizontal";
|
|
@@ -4442,7 +4547,7 @@ const FormCheckboxGroupClass = {
|
|
|
4442
4547
|
root: 'gov-form-checkbox-group',
|
|
4443
4548
|
};
|
|
4444
4549
|
|
|
4445
|
-
const govFormGroupCss$1 = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-
|
|
4550
|
+
const govFormGroupCss$1 = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-l))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-xl))}";
|
|
4446
4551
|
var GovFormCheckboxGroupStyle0 = govFormGroupCss$1;
|
|
4447
4552
|
|
|
4448
4553
|
class GovFormCheckboxGroup {
|
|
@@ -4499,7 +4604,7 @@ class GovFormCheckboxGroup {
|
|
|
4499
4604
|
});
|
|
4500
4605
|
}
|
|
4501
4606
|
render() {
|
|
4502
|
-
return (hAsync(Host, { key: '
|
|
4607
|
+
return (hAsync(Host, { key: '22f738e5251d68688b6d21c471a5c18ae2532a5a', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: '8028ab95f42dc8c8dfb8f1ee1b70879c291db6d4' })));
|
|
4503
4608
|
}
|
|
4504
4609
|
get host() { return getElement(this); }
|
|
4505
4610
|
static get watchers() { return {
|
|
@@ -4566,7 +4671,7 @@ class GovFormControl {
|
|
|
4566
4671
|
}
|
|
4567
4672
|
render() {
|
|
4568
4673
|
const Tag = this.fieldset ? "fieldset" : "div";
|
|
4569
|
-
return (hAsync(Host, { key: '
|
|
4674
|
+
return (hAsync(Host, { key: '2f6a44e96f79c5ec6fa6326fb01dba74d2f405cc', size: this.size, class: this.h.classes(FormControlClass.root) }, hAsync(Tag, { key: '5b4ec1e274416aa4330f60727662f9f441cb5973', class: FormControlClass.holder }, this.h.hasSlot("top") && hAsync("slot", { key: '51738751699005e6642bdf855f6fafbea9af83f6', name: "top" }), hAsync("slot", { key: 'f765b4b014274832bbef5118312a0e8a70939cda' }), this.h.hasSlot("bottom") && (hAsync("div", { key: '048b08353a3bb6c6246e297bc183288cb9c78034', class: FormControlClass.bottom }, hAsync("slot", { key: '24e79aa1a2d87c12ac0ebefde129a8055f38525e', name: "bottom" }))))));
|
|
4570
4675
|
}
|
|
4571
4676
|
get host() { return getElement(this); }
|
|
4572
4677
|
static get cmpMeta() { return {
|
|
@@ -4747,14 +4852,15 @@ class GovFormFile {
|
|
|
4747
4852
|
this.registerListeners();
|
|
4748
4853
|
}
|
|
4749
4854
|
disconnectedCallback() {
|
|
4750
|
-
|
|
4855
|
+
var _a;
|
|
4856
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4751
4857
|
}
|
|
4752
4858
|
onAriaAttributeChange(attributeName, newValue) {
|
|
4753
4859
|
this.host.removeAttribute(attributeName);
|
|
4754
4860
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4755
4861
|
}
|
|
4756
4862
|
render() {
|
|
4757
|
-
return (hAsync(Host, { key: '
|
|
4863
|
+
return (hAsync(Host, { key: '57a2ec8520c058114c22a58cc666d74efccb9a96', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, hAsync("div", { key: '6a31911301d1b3eaaeafe32f3167fc0a5893125a', class: FormFileClass.area, ref: el => (this.areaRef = el) }, hAsync("slot", { key: 'feae9382b0223eec714593882ade1904d284e40d' }), hAsync("input", Object.assign({ key: 'b6a16d19ba27cdd878540b39bc440d11761a3ab5', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (hAsync("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, hAsync("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (hAsync("gov-form-message", { slot: "message", color: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (hAsync("gov-form-message", { slot: "message", color: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, hAsync("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
|
|
4758
4864
|
}
|
|
4759
4865
|
onRemoveFileHandler(file) {
|
|
4760
4866
|
const index = this.files.findIndex(item => item.id === file.id);
|
|
@@ -4868,7 +4974,7 @@ class GovFormGroup {
|
|
|
4868
4974
|
this.validateOrientation(this.orientation);
|
|
4869
4975
|
}
|
|
4870
4976
|
render() {
|
|
4871
|
-
return (hAsync(Host, { key: '
|
|
4977
|
+
return (hAsync(Host, { key: '23bc665133af4d63acae967405c379aef79f9125', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, hAsync("slot", { key: '11d303816dae7149170180b450542c2cd1a322c6' })));
|
|
4872
4978
|
}
|
|
4873
4979
|
get host() { return getElement(this); }
|
|
4874
4980
|
static get watchers() { return {
|
|
@@ -4968,15 +5074,16 @@ class GovFormInput {
|
|
|
4968
5074
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4969
5075
|
}
|
|
4970
5076
|
disconnectedCallback() {
|
|
4971
|
-
|
|
5077
|
+
var _a;
|
|
5078
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4972
5079
|
}
|
|
4973
5080
|
render() {
|
|
4974
5081
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4975
|
-
return (hAsync(Host, { key: '
|
|
4976
|
-
hAsync("div", { key: '
|
|
4977
|
-
hAsync("div", { key: '
|
|
4978
|
-
hAsync("gov-icon", { key: '
|
|
4979
|
-
hAsync("gov-icon", { key: '
|
|
5082
|
+
return (hAsync(Host, { key: 'bdbab2105ea328155d7a023e2070c4ca22a5afba', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { key: '71be98f4ba1933c8a5affd3f41b496633528bcc8', name: "prefix" }), hAsync("span", { key: '820a6cc14d90fb52b3fa809858c9b7223d7dec21', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
|
|
5083
|
+
hAsync("div", { key: '6c001fb96074d4f5b7779a14cbceee9169b4a70a', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, hAsync("slot", { key: '15da634518db7ac788de51911296d1a0ca87c993', name: "icon-start" })), hAsync(Tag, Object.assign({ key: 'f43777146426ddbe5d37408a734ca61aa51e0e69', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
|
|
5084
|
+
hAsync("div", { key: '716e004caf2077ce8d5ee5101bcb541fbdb45d38', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
|
|
5085
|
+
hAsync("gov-icon", { key: '96c5fcdad8332c08d3eaf9a5a6af573962a96744', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
|
|
5086
|
+
hAsync("gov-icon", { key: '4883e137f51052a2659f46a09270c656bc3347f7', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && hAsync("slot", { key: 'a74b2df0932087834fc33de45aa341444c61042a', name: "icon-end" }), this.inputType === 'password' ? (hAsync("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, hAsync("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && hAsync("slot", { key: '9d15adccc023a5501114982c4417df6db9a4d8c1', name: "sufix" })));
|
|
4980
5087
|
}
|
|
4981
5088
|
onFocusHandler(e) {
|
|
4982
5089
|
e.stopPropagation();
|
|
@@ -5108,7 +5215,7 @@ class GovFormLabel {
|
|
|
5108
5215
|
}
|
|
5109
5216
|
render() {
|
|
5110
5217
|
const Tag = this.legend ? 'legend' : 'label';
|
|
5111
|
-
return (hAsync(Host, { key: '
|
|
5218
|
+
return (hAsync(Host, { key: 'e06447dd79c3204d5641bc58ba823d0744373dd5', class: FormLabelClass.root, size: this.size }, hAsync(Tag, { key: '69dfe126eb3f26aae0360e8c5f831e61345d3dc2', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, hAsync("slot", { key: '3005e820b094c191fc0422a8586264053a4c403f' }), this.required ? hAsync("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
|
|
5112
5219
|
}
|
|
5113
5220
|
static get cmpMeta() { return {
|
|
5114
5221
|
"$flags$": 4,
|
|
@@ -5140,7 +5247,7 @@ class GovFormMessage {
|
|
|
5140
5247
|
this.validateColor(this.color);
|
|
5141
5248
|
}
|
|
5142
5249
|
render() {
|
|
5143
|
-
return (hAsync(Host, { key: '
|
|
5250
|
+
return (hAsync(Host, { key: 'dbc990cf3a48496a4905a768b3a7c662d42cc3ad', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: '600a149b56204308139aa026aea04dc5d872a7fe', name: "icon" })), hAsync("span", { key: '61d47c46b469a1c070d2a0f7df3a47f8a878ba6f', id: this.messageId, class: FormMessageClass.content }, hAsync("slot", { key: 'ff74d2926ddb5c3c79349d28906ff41a2485fde5' }))));
|
|
5144
5251
|
}
|
|
5145
5252
|
/**
|
|
5146
5253
|
* Returns unique identifier of message
|
|
@@ -5219,7 +5326,8 @@ class GovFormMultiSelect {
|
|
|
5219
5326
|
this.selectedOptionsState = propsValueToArray(this.value);
|
|
5220
5327
|
}
|
|
5221
5328
|
disconnectedCallback() {
|
|
5222
|
-
|
|
5329
|
+
var _a;
|
|
5330
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5223
5331
|
}
|
|
5224
5332
|
onAriaAttributeChange(attributeName, newValue) {
|
|
5225
5333
|
this.host.removeAttribute(attributeName);
|
|
@@ -5329,11 +5437,11 @@ class GovFormMultiSelect {
|
|
|
5329
5437
|
});
|
|
5330
5438
|
}
|
|
5331
5439
|
render() {
|
|
5332
|
-
return (hAsync(Host, { key: '
|
|
5440
|
+
return (hAsync(Host, { key: '702237c94a2454e2ee966fee0a4fb92e690b7ca3', class: FormMultiSelectClass.root, size: this.size }, hAsync("div", { key: '06644d9c3deb723effa4dd18207734ff4c9885cf', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && hAsync("slot", { key: '7a000864224ecfe4fc333b2609f1d624b8cbad2c', name: "prefix" }), hAsync("gov-form-autocomplete", { key: '7ce180ba5e799af98869ab3a0eab7dc0b1cd28f8', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, invalid: this.invalid, success: this.success, size: this.size, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "aria-owns": this.listId }, this.success && hAsync("gov-icon", { key: '8433d6631829ad487ea0d14f3a23ef955179ab72', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '55076350c10d021f5e1c6882ca9c36ddcb3b8d96', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '3671d42362ea1a7334b687d12d9fbe50d12a2e6b', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), hAsync("select", Object.assign({ key: '9d9af70e3a94506e654bc4739dff88512f9a7027', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), hAsync("slot", { key: '121da88c22cb7aa89bddd017daaa3adf2d3cdba1' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5333
5441
|
var _a;
|
|
5334
5442
|
const selectedOption = this.selectedValueIndex(option.value);
|
|
5335
5443
|
return (hAsync("option", { value: option.value, selected: selectedOption > -1, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
|
|
5336
|
-
})), this.h.hasSlot('sufix') && hAsync("slot", { key: '
|
|
5444
|
+
})), this.h.hasSlot('sufix') && hAsync("slot", { key: '7a1392bc37a8ff68a2269b8aced6af13dc2d0155', name: "sufix" })), this.hideSelectedList === false ? (hAsync("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
|
|
5337
5445
|
var _a, _b;
|
|
5338
5446
|
const option = this.getOption(selected);
|
|
5339
5447
|
if (!option)
|
|
@@ -5443,7 +5551,7 @@ class GovFormPasswordPower {
|
|
|
5443
5551
|
this.power = undefined;
|
|
5444
5552
|
}
|
|
5445
5553
|
render() {
|
|
5446
|
-
return (hAsync(Host, { key: '
|
|
5554
|
+
return (hAsync(Host, { key: '5345be77d281075d14e4d846cc28b4ee80238d44', class: FormPasswordPowerClass.root }, hAsync("span", { key: '4d54a301ac65d9432e524906eb8d0626fcc6be63', class: FormPasswordPowerClass.bar }, hAsync("span", { key: '0590bdcda2ca777daa02b4ed078490120c0d76b9' }), hAsync("span", { key: 'd76531fc51948809e1c7577c06661fd320ccb68c' }), hAsync("span", { key: '48a13aa684e06289961bf7aaeb778c9340242e55' })), hAsync("span", { key: '683dab64032d38a9d94121c154085a5e4cb0f6f1', class: FormPasswordPowerClass.text }, hAsync("slot", { key: 'd55a6fdbd4bfb5504457d10c7e6ce194d0ff36c5' }))));
|
|
5447
5555
|
}
|
|
5448
5556
|
static get cmpMeta() { return {
|
|
5449
5557
|
"$flags$": 4,
|
|
@@ -5508,7 +5616,8 @@ class GovFormRadio {
|
|
|
5508
5616
|
this.hydrated = true;
|
|
5509
5617
|
}
|
|
5510
5618
|
disconnectedCallback() {
|
|
5511
|
-
|
|
5619
|
+
var _a;
|
|
5620
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5512
5621
|
}
|
|
5513
5622
|
onAriaAttributeChange(attributeName, newValue) {
|
|
5514
5623
|
this.host.removeAttribute(attributeName);
|
|
@@ -5588,7 +5697,7 @@ class GovFormRadio {
|
|
|
5588
5697
|
}; }
|
|
5589
5698
|
}
|
|
5590
5699
|
|
|
5591
|
-
const govFormGroupCss = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-
|
|
5700
|
+
const govFormGroupCss = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-l))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-xl))}";
|
|
5592
5701
|
var GovFormRadioGroupStyle0 = govFormGroupCss;
|
|
5593
5702
|
|
|
5594
5703
|
class GovFormRadioGroup {
|
|
@@ -5635,7 +5744,7 @@ class GovFormRadioGroup {
|
|
|
5635
5744
|
});
|
|
5636
5745
|
}
|
|
5637
5746
|
render() {
|
|
5638
|
-
return (hAsync(Host, { key: '
|
|
5747
|
+
return (hAsync(Host, { key: 'f5d9641f18787c21c13898a8d80159326161e676', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: '81b46ef337551d1f31b9b7f7d5bb32a620f0fb69' })));
|
|
5639
5748
|
}
|
|
5640
5749
|
get host() { return getElement(this); }
|
|
5641
5750
|
static get watchers() { return {
|
|
@@ -5670,7 +5779,7 @@ class GovFormSearch {
|
|
|
5670
5779
|
this.color = 'neutral';
|
|
5671
5780
|
}
|
|
5672
5781
|
render() {
|
|
5673
|
-
return (hAsync(Host, { key: '
|
|
5782
|
+
return (hAsync(Host, { key: '2a4e3dd63dd15981e25c952e3a6f1f5eabdae12a', class: FormSearchClass.root, color: this.color, size: this.size }, hAsync("slot", { key: '393fefd7c775341c8be8067900a29c36776d767c', name: "input" }), hAsync("slot", { key: 'bcb202961db1564bcd4a30ae58a6a686895ea6d4', name: "button-erase" }), hAsync("slot", { key: 'd82551286246b38fa1276bd181c18807e6fb4da8', name: "button" })));
|
|
5674
5783
|
}
|
|
5675
5784
|
get host() { return getElement(this); }
|
|
5676
5785
|
static get cmpMeta() { return {
|
|
@@ -5734,7 +5843,8 @@ class GovFormSelect {
|
|
|
5734
5843
|
this.attributeObserver.startObserving(ariaAttributes);
|
|
5735
5844
|
}
|
|
5736
5845
|
disconnectedCallback() {
|
|
5737
|
-
|
|
5846
|
+
var _a;
|
|
5847
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5738
5848
|
}
|
|
5739
5849
|
componentWillLoad() {
|
|
5740
5850
|
this.validateSize(this.size);
|
|
@@ -5762,10 +5872,10 @@ class GovFormSelect {
|
|
|
5762
5872
|
});
|
|
5763
5873
|
}
|
|
5764
5874
|
render() {
|
|
5765
|
-
return (hAsync(Host, { key: '
|
|
5875
|
+
return (hAsync(Host, { key: '4273e7ee3d753e85da24fb9902f8943bc6ce958a', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && hAsync("slot", { key: '1d3da6186b0c3860ea253282386a327f10717d67', name: "prefix" }), hAsync("span", { key: '3a202fd20029deaa2757886cc8657355948c01a5', class: "element" }, hAsync("select", Object.assign({ key: '96804aaaa39be0d91160547ceeb9dde8246cdde6', id: this.identifier || this.selectId, onFocus: this.onFocusHandler.bind(this), onChange: this.onChangeHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), hAsync("slot", { key: 'e16cf3fc5c639387be6a1b855a9481d91fdcae20' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5766
5876
|
var _a;
|
|
5767
5877
|
return (hAsync("option", { value: option.value, selected: option.value === this.value, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
|
|
5768
|
-
})), this.success && hAsync("gov-icon", { key: '
|
|
5878
|
+
})), this.success && hAsync("gov-icon", { key: '9f8ef18d02c3ecdf5b6db8c337aadd976de35694', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '6c08e6df7892ab26493d90be19ad7d7bf3370d8d', class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '54eae87e6c99c56a2c553db77567fdadc7eb25e5', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && hAsync("slot", { key: '7657a8a108e9239ed697e7323d895fafd29cf19c', name: "sufix" })));
|
|
5769
5879
|
}
|
|
5770
5880
|
onFocusHandler(e) {
|
|
5771
5881
|
this.focused = true;
|
|
@@ -5882,7 +5992,8 @@ class GovFormSwitch {
|
|
|
5882
5992
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
5883
5993
|
}
|
|
5884
5994
|
disconnectedCallback() {
|
|
5885
|
-
|
|
5995
|
+
var _a;
|
|
5996
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5886
5997
|
}
|
|
5887
5998
|
async componentDidRender() {
|
|
5888
5999
|
this.f.passAttrToLabel("identifier", this.identifier || this.checkboxId);
|
|
@@ -5980,51 +6091,64 @@ const GridItemClass = {
|
|
|
5980
6091
|
class GovGrid {
|
|
5981
6092
|
constructor(hostRef) {
|
|
5982
6093
|
registerInstance(this, hostRef);
|
|
5983
|
-
this.
|
|
5984
|
-
this.
|
|
6094
|
+
this.columns = "12";
|
|
6095
|
+
this.alignItems = undefined;
|
|
6096
|
+
this.justifyItems = undefined;
|
|
6097
|
+
this.gap = undefined;
|
|
5985
6098
|
this.h = govHost(this.host);
|
|
5986
6099
|
}
|
|
5987
|
-
// vertical / horizontal align
|
|
5988
6100
|
render() {
|
|
5989
|
-
return (hAsync(Host, { key: '
|
|
6101
|
+
return (hAsync(Host, { key: '7092dda416db17f4137ecd04bea2659dfe76b0e0', class: this.h.classes(GridClass.root), role: "list" }, hAsync("slot", { key: 'b05231f0b950cd8c6830ee96e3d16e798ed97835' })));
|
|
5990
6102
|
}
|
|
5991
6103
|
get host() { return getElement(this); }
|
|
5992
6104
|
static get cmpMeta() { return {
|
|
5993
6105
|
"$flags$": 4,
|
|
5994
6106
|
"$tagName$": "gov-grid",
|
|
5995
6107
|
"$members$": {
|
|
5996
|
-
"
|
|
5997
|
-
"
|
|
6108
|
+
"columns": [513],
|
|
6109
|
+
"alignItems": [513, "align-items"],
|
|
6110
|
+
"justifyItems": [513, "justify-items"],
|
|
6111
|
+
"gap": [513]
|
|
5998
6112
|
},
|
|
5999
6113
|
"$listeners$": undefined,
|
|
6000
6114
|
"$lazyBundleId$": "-",
|
|
6001
|
-
"$attrsToReflect$": []
|
|
6115
|
+
"$attrsToReflect$": [["columns", "columns"], ["alignItems", "align-items"], ["justifyItems", "justify-items"], ["gap", "gap"]]
|
|
6002
6116
|
}; }
|
|
6003
6117
|
}
|
|
6004
6118
|
|
|
6005
6119
|
class GovGridItem {
|
|
6006
6120
|
constructor(hostRef) {
|
|
6007
6121
|
registerInstance(this, hostRef);
|
|
6008
|
-
this.
|
|
6009
|
-
this.
|
|
6010
|
-
this.
|
|
6011
|
-
this.
|
|
6012
|
-
this.
|
|
6122
|
+
this.column = "12";
|
|
6123
|
+
this.columnSm = undefined;
|
|
6124
|
+
this.columnMd = undefined;
|
|
6125
|
+
this.columnLg = undefined;
|
|
6126
|
+
this.columnXl = undefined;
|
|
6127
|
+
this.row = "1";
|
|
6128
|
+
this.rowSm = undefined;
|
|
6129
|
+
this.rowMd = undefined;
|
|
6130
|
+
this.rowLg = undefined;
|
|
6131
|
+
this.rowXl = undefined;
|
|
6013
6132
|
this.h = govHost(this.host);
|
|
6014
6133
|
}
|
|
6015
6134
|
render() {
|
|
6016
|
-
return (hAsync(Host, { key: '
|
|
6135
|
+
return (hAsync(Host, { key: '58d1762c23639140ca76c43b99b6f00451531da9', class: this.h.classes(GridItemClass.root), role: "listitem" }, hAsync("slot", { key: '87b4642506246324607c1ff3c7ca71e98fe5dd0a' })));
|
|
6017
6136
|
}
|
|
6018
6137
|
get host() { return getElement(this); }
|
|
6019
6138
|
static get cmpMeta() { return {
|
|
6020
6139
|
"$flags$": 4,
|
|
6021
6140
|
"$tagName$": "gov-grid-item",
|
|
6022
6141
|
"$members$": {
|
|
6023
|
-
"
|
|
6024
|
-
"
|
|
6025
|
-
"
|
|
6026
|
-
"
|
|
6027
|
-
"
|
|
6142
|
+
"column": [1, "col-span"],
|
|
6143
|
+
"columnSm": [1, "col-span-sm"],
|
|
6144
|
+
"columnMd": [1, "col-span-md"],
|
|
6145
|
+
"columnLg": [1, "col-span-lg"],
|
|
6146
|
+
"columnXl": [1, "col-span-xl"],
|
|
6147
|
+
"row": [1, "row-span"],
|
|
6148
|
+
"rowSm": [1, "row-span-sm"],
|
|
6149
|
+
"rowMd": [1, "row-span-md"],
|
|
6150
|
+
"rowLg": [1, "row-span-lg"],
|
|
6151
|
+
"rowXl": [1, "row-span-xl"]
|
|
6028
6152
|
},
|
|
6029
6153
|
"$listeners$": undefined,
|
|
6030
6154
|
"$lazyBundleId$": "-",
|
|
@@ -6056,7 +6180,7 @@ const IconClass = {
|
|
|
6056
6180
|
holder: 'gov-icon__holder',
|
|
6057
6181
|
};
|
|
6058
6182
|
|
|
6059
|
-
const version = "4.
|
|
6183
|
+
const version = "4.2.0";
|
|
6060
6184
|
|
|
6061
6185
|
const dsVersion = () => {
|
|
6062
6186
|
return version;
|
|
@@ -6069,20 +6193,14 @@ const iconUrl = (path, name, type) => {
|
|
|
6069
6193
|
if (isExternalUrl(path)) {
|
|
6070
6194
|
return `${path}/${type}/${name}.svg?v=${dsVersion()}`;
|
|
6071
6195
|
}
|
|
6072
|
-
return
|
|
6196
|
+
return `${path}/${type}/${name}.svg` + `?v=${dsVersion()}`;
|
|
6073
6197
|
};
|
|
6074
6198
|
async function fetchIcon({ name, type }) {
|
|
6075
6199
|
const cacheKey = type + "-" + name;
|
|
6076
|
-
console.log('cacheKey', cacheKey);
|
|
6077
|
-
console.log('iconCache[cacheKey]', iconCache, iconCache[cacheKey]);
|
|
6078
6200
|
if (iconCache[cacheKey]) {
|
|
6079
6201
|
return iconCache[cacheKey];
|
|
6080
6202
|
}
|
|
6081
|
-
console.log('requestCache[cacheKey]', requestCache, requestCache[cacheKey]);
|
|
6082
6203
|
if (!requestCache[cacheKey]) {
|
|
6083
|
-
console.log('iconsPath()', iconsPath());
|
|
6084
|
-
console.log('name, type', name, type);
|
|
6085
|
-
console.log('iconUrl(iconsPath(), name, type)', iconUrl(iconsPath(), name, type));
|
|
6086
6204
|
requestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {
|
|
6087
6205
|
if (resp.status === 200) {
|
|
6088
6206
|
return resp.text();
|
|
@@ -6151,7 +6269,6 @@ class GovIcon {
|
|
|
6151
6269
|
this.type = "components";
|
|
6152
6270
|
this.visible = false;
|
|
6153
6271
|
this.error = false;
|
|
6154
|
-
console.log('GovIcon');
|
|
6155
6272
|
this.h = govHost(this.host);
|
|
6156
6273
|
}
|
|
6157
6274
|
validateSize(newValue) {
|
|
@@ -6160,21 +6277,12 @@ class GovIcon {
|
|
|
6160
6277
|
validateColor(newValue) {
|
|
6161
6278
|
validateProp(IconColors, newValue, IconClass.root);
|
|
6162
6279
|
}
|
|
6163
|
-
watchError(newValue) {
|
|
6164
|
-
console.log('error', newValue);
|
|
6165
|
-
}
|
|
6166
6280
|
async loadIconPathData() {
|
|
6167
|
-
const { name, visible } = this;
|
|
6168
|
-
console.log('name, visible', name, visible);
|
|
6169
|
-
console.log('Build.isBrowser', Build.isBrowser);
|
|
6170
6281
|
{
|
|
6171
|
-
console.log('return');
|
|
6172
6282
|
return;
|
|
6173
6283
|
}
|
|
6174
6284
|
}
|
|
6175
6285
|
connectedCallback() {
|
|
6176
|
-
console.log('connectedCallback icon', this.name);
|
|
6177
|
-
console.log('iconsLazyLoad()', iconsLazyLoad());
|
|
6178
6286
|
if (iconsLazyLoad()) {
|
|
6179
6287
|
this.visible = true;
|
|
6180
6288
|
this.loadIconPathData().finally();
|
|
@@ -6187,14 +6295,12 @@ class GovIcon {
|
|
|
6187
6295
|
}
|
|
6188
6296
|
}
|
|
6189
6297
|
disconnectedCallback() {
|
|
6190
|
-
console.log('disconnectedCallback');
|
|
6191
6298
|
if (this.intersectionObserver) {
|
|
6192
6299
|
this.intersectionObserver.disconnect();
|
|
6193
6300
|
this.intersectionObserver = null;
|
|
6194
6301
|
}
|
|
6195
6302
|
}
|
|
6196
6303
|
async componentWillLoad() {
|
|
6197
|
-
console.log('componentWillLoad');
|
|
6198
6304
|
this.validateSize(this.size);
|
|
6199
6305
|
this.validateColor(this.color);
|
|
6200
6306
|
await this.loadIconPathData();
|
|
@@ -6208,14 +6314,11 @@ class GovIcon {
|
|
|
6208
6314
|
async loadIcon() {
|
|
6209
6315
|
try {
|
|
6210
6316
|
const { name, type } = this;
|
|
6211
|
-
console.log('loadIcon -> name, type', name, type);
|
|
6212
6317
|
const data = await fetchIcon({ name, type });
|
|
6213
6318
|
const isValid = isValidSVG(data);
|
|
6214
6319
|
this.host.innerHTML = isValid ? data : null;
|
|
6215
6320
|
}
|
|
6216
6321
|
catch (e) {
|
|
6217
|
-
console.log(e);
|
|
6218
|
-
console.log(JSON.stringify(e));
|
|
6219
6322
|
this.host.innerHTML = '';
|
|
6220
6323
|
this.error = true;
|
|
6221
6324
|
}
|
|
@@ -6231,7 +6334,6 @@ class GovIcon {
|
|
|
6231
6334
|
static get watchers() { return {
|
|
6232
6335
|
"size": ["validateSize"],
|
|
6233
6336
|
"color": ["validateColor"],
|
|
6234
|
-
"error": ["watchError"],
|
|
6235
6337
|
"name": ["loadIconPathData"]
|
|
6236
6338
|
}; }
|
|
6237
6339
|
static get cmpMeta() { return {
|
|
@@ -6293,15 +6395,16 @@ class GovInfobar {
|
|
|
6293
6395
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
6294
6396
|
}
|
|
6295
6397
|
disconnectedCallback() {
|
|
6296
|
-
|
|
6398
|
+
var _a;
|
|
6399
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6297
6400
|
}
|
|
6298
6401
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6299
6402
|
this.host.removeAttribute(attributeName);
|
|
6300
6403
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6301
6404
|
}
|
|
6302
6405
|
render() {
|
|
6303
|
-
const closeButton = (hAsync("gov-button", { key: '
|
|
6304
|
-
return (hAsync(Host, { key: '
|
|
6406
|
+
const closeButton = (hAsync("gov-button", { key: '86cbac93b6d258503af7dc3016aeb465b3573072', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, hAsync("gov-icon", { key: '4c6b17d93c677e0ad25afc611cd64d42fb5a7d14', name: "x-lg", type: "components" })));
|
|
6407
|
+
return (hAsync(Host, { key: '039cb25b798660d17a34e943d63099bdb09a424d', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, hAsync("section", Object.assign({ key: '68b0cea9fd672762f677019f5762368e9bd97088', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), this.h.hasSlot("icon") && (hAsync("span", { key: '6150ac778d70268e75c5c0f9195094ec38869025' }, hAsync("slot", { key: 'c9992923e5c53a6bcc03ab6bcb69b3aa4ea439b4', name: "icon" }))), hAsync("div", { key: 'b95e4a257672af49c273972de9ff41433d5e46f8', class: InfobarClass.content }, this.h.hasSlot('headline') ? (hAsync(Fragment, null, hAsync("div", { class: InfobarClass.headline }, hAsync("slot", { name: "headline" }), hAsync("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, hAsync("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), hAsync("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, hAsync("slot", null)))) : (hAsync("slot", null))), this.closable && closeButton)));
|
|
6305
6408
|
}
|
|
6306
6409
|
onCloseHandler(e) {
|
|
6307
6410
|
this.govClose.emit({
|
|
@@ -6370,7 +6473,7 @@ class GovLayout {
|
|
|
6370
6473
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
6371
6474
|
}
|
|
6372
6475
|
render() {
|
|
6373
|
-
return (hAsync(Host, { key: '
|
|
6476
|
+
return (hAsync(Host, { key: '2683ce4af13c8862c4cb671735c30ed630c9b452', type: this.type, class: this.h.classes(LayoutClass.root) }, hAsync("section", { key: '48f71de1a388997388849018cf93bb8e305d51f9', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, hAsync("slot", { key: 'f4955f6e169d0fbc55a74ae8759ab5e82dc24f71' }))));
|
|
6374
6477
|
}
|
|
6375
6478
|
get host() { return getElement(this); }
|
|
6376
6479
|
static get cmpMeta() { return {
|
|
@@ -6393,7 +6496,7 @@ class GovLayoutColumn {
|
|
|
6393
6496
|
this.h = govHost(this.host);
|
|
6394
6497
|
}
|
|
6395
6498
|
render() {
|
|
6396
|
-
return (hAsync(Host, { key: '
|
|
6499
|
+
return (hAsync(Host, { key: 'd312c9ffd071d7f002ed74095279ac3c1c549c48', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: 'c57685e71dc20fb558a3b9c21ff2456906130b54' })));
|
|
6397
6500
|
}
|
|
6398
6501
|
get host() { return getElement(this); }
|
|
6399
6502
|
static get cmpMeta() { return {
|
|
@@ -6439,7 +6542,7 @@ class GovLifecycle {
|
|
|
6439
6542
|
console.log('componentDidUpdate', this.uniqueId);
|
|
6440
6543
|
}
|
|
6441
6544
|
render() {
|
|
6442
|
-
return (hAsync(Host, { key: '
|
|
6545
|
+
return (hAsync(Host, { key: '556587d121852458ea1bb0aefb93e370db14854c', identifier: this.uniqueId }, hAsync("span", { key: 'd61e27a4e6cff37986e9494576b58adca98bb755' }, "lifecycle ", this.uniqueId)));
|
|
6443
6546
|
}
|
|
6444
6547
|
static get cmpMeta() { return {
|
|
6445
6548
|
"$flags$": 0,
|
|
@@ -6454,6 +6557,7 @@ class GovLifecycle {
|
|
|
6454
6557
|
const LinkSizes = pick(Sizes, ['_S', '_M', '_L']);
|
|
6455
6558
|
const LinkClass = {
|
|
6456
6559
|
root: 'gov-link',
|
|
6560
|
+
external: 'gov-link--external',
|
|
6457
6561
|
};
|
|
6458
6562
|
|
|
6459
6563
|
class GovLink {
|
|
@@ -6478,7 +6582,7 @@ class GovLink {
|
|
|
6478
6582
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6479
6583
|
}
|
|
6480
6584
|
render() {
|
|
6481
|
-
return (hAsync(Host, { key: '
|
|
6585
|
+
return (hAsync(Host, { key: '7aef45575f952100a25a516df44a62337fbdf1e1', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, hAsync("a", Object.assign({ key: 'cba0aac863ce6dae404356cd960c6782e418d856', class: "element", href: this.href, target: this.external ? '_blank' : this.target, rel: this.external ? "noreferrer" : null }, this.inheritedAttributes), hAsync("slot", { key: 'b3379f496c8d5f163ffa9f6a58655666e1c23e54', name: "icon-start" }), hAsync("span", { key: '385c05b3c80e93678c5525609c477c7c157f9f44' }, hAsync("slot", { key: 'a67cbe6a79e0eafa287ca32984061c4000b19cf5' })), hAsync("slot", { key: '6696335405444439c32fb8b9817926a40fc7a48c', name: "icon-end" }), this.external && hAsync("gov-icon", { key: '4773079d84ca23e0000ae31fca59d09e95d1f45f', name: "box-arrow-up-right", type: "components", size: this.size, class: LinkClass.external }))));
|
|
6482
6586
|
}
|
|
6483
6587
|
get host() { return getElement(this); }
|
|
6484
6588
|
static get watchers() { return {
|
|
@@ -6520,7 +6624,7 @@ class GovLoading {
|
|
|
6520
6624
|
this.validateSize(this.size);
|
|
6521
6625
|
}
|
|
6522
6626
|
render() {
|
|
6523
|
-
return (hAsync(Host, { key: '
|
|
6627
|
+
return (hAsync(Host, { key: '94858803191375ac772236470c1db63c2823b74d', class: this.h.classes(LoadingClass.root), size: this.size }, hAsync("div", { key: '817f8ba4e3c9a6a37732c00480a10033b68ca360', class: LoadingClass.content }, hAsync("gov-icon", { key: '93496ec9365c67bd05d5561a5ffbee4e7384611c', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), hAsync("slot", { key: 'ba4e09cc9bc1a26e9df6f852c5809a980e0bf3fd' })), hAsync("gov-backdrop", { key: '3cb83fca1624bd0593f92b46860b8160d0d1bbcf', inverse: true })));
|
|
6524
6628
|
}
|
|
6525
6629
|
get host() { return getElement(this); }
|
|
6526
6630
|
static get watchers() { return {
|
|
@@ -6560,7 +6664,7 @@ class GovMessage {
|
|
|
6560
6664
|
validateProp(Colors, newValue, MessageClass.root);
|
|
6561
6665
|
}
|
|
6562
6666
|
render() {
|
|
6563
|
-
return (hAsync(Host, { key: '
|
|
6667
|
+
return (hAsync(Host, { key: '2592f0650b052d0612436c82b793abba16f91190', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (hAsync("span", { key: 'bcafdfeb80e3fd8a3a765dbe1d534725d2e7920c' }, hAsync("slot", { key: '04f301600ba4e83d17c0615c30c807a226c7d14a', name: "icon" }))), hAsync("div", { key: '7fcaa833d295a29c966f80abea5978fe4ebb6b40', class: MessageClass.content }, hAsync("slot", { key: 'eef1fe939fd94144d03a14c02a2d7fc87cdc8662' }))));
|
|
6564
6668
|
}
|
|
6565
6669
|
get host() { return getElement(this); }
|
|
6566
6670
|
static get watchers() { return {
|
|
@@ -6702,7 +6806,8 @@ class GovPagination {
|
|
|
6702
6806
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
6703
6807
|
}
|
|
6704
6808
|
disconnectedCallback() {
|
|
6705
|
-
|
|
6809
|
+
var _a;
|
|
6810
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6706
6811
|
}
|
|
6707
6812
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6708
6813
|
this.host.removeAttribute(attributeName);
|
|
@@ -6861,7 +6966,8 @@ class GovSkeleton {
|
|
|
6861
6966
|
this.init();
|
|
6862
6967
|
}
|
|
6863
6968
|
disconnectedCallback() {
|
|
6864
|
-
|
|
6969
|
+
var _a;
|
|
6970
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6865
6971
|
}
|
|
6866
6972
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6867
6973
|
this.host.removeAttribute(attributeName);
|
|
@@ -6884,7 +6990,7 @@ class GovSkeleton {
|
|
|
6884
6990
|
return Object.assign({}, dimenssionsStyles);
|
|
6885
6991
|
}
|
|
6886
6992
|
render() {
|
|
6887
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
6993
|
+
return (hAsync(Host, Object.assign({ key: '5f948f681fcb9e8edeba710b0bc9b44d4bd44c68', size: this.size, color: this.color, class: {
|
|
6888
6994
|
[SkeletonClass.root]: true,
|
|
6889
6995
|
circle: this.shape === "circle",
|
|
6890
6996
|
line: this.shape === "line",
|
|
@@ -6947,7 +7053,7 @@ class GovSpacer {
|
|
|
6947
7053
|
this.validateBreakpoint(this.breakpoint);
|
|
6948
7054
|
}
|
|
6949
7055
|
render() {
|
|
6950
|
-
return hAsync(Host, { key: '
|
|
7056
|
+
return hAsync(Host, { key: '4108672a0c9d849121d0274cdf5cb29564754eb5', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
6951
7057
|
}
|
|
6952
7058
|
get host() { return getElement(this); }
|
|
6953
7059
|
static get watchers() { return {
|
|
@@ -6976,7 +7082,9 @@ const StepperItemClass = {
|
|
|
6976
7082
|
root: 'gov-stepper-item',
|
|
6977
7083
|
header: 'gov-stepper-item__header',
|
|
6978
7084
|
label: 'gov-stepper-item__label',
|
|
7085
|
+
steps: 'gov-stepper-item__steps',
|
|
6979
7086
|
prefix: 'gov-stepper-item__prefix',
|
|
7087
|
+
main: 'gov-stepper-item__main',
|
|
6980
7088
|
headline: 'gov-stepper-item__headline',
|
|
6981
7089
|
annotation: 'gov-stepper-item__annotation',
|
|
6982
7090
|
content: 'gov-stepper-item__content',
|
|
@@ -7009,7 +7117,7 @@ class GovStepper {
|
|
|
7009
7117
|
this.hydrated = true;
|
|
7010
7118
|
}
|
|
7011
7119
|
render() {
|
|
7012
|
-
return (hAsync(Host, { key: '
|
|
7120
|
+
return (hAsync(Host, { key: 'ad86791a6b34280a775b8d07e1ec8da2d7644fcf', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: '06f185f754181401b2031eee17c1309854900531' })));
|
|
7013
7121
|
}
|
|
7014
7122
|
get host() { return getElement(this); }
|
|
7015
7123
|
static get watchers() { return {
|
|
@@ -7051,7 +7159,7 @@ class GovStepperItem {
|
|
|
7051
7159
|
render() {
|
|
7052
7160
|
const triggerId = this.identifier || this.triggerId;
|
|
7053
7161
|
const contentId = this.contentId;
|
|
7054
|
-
return (hAsync(Host, { key: '
|
|
7162
|
+
return (hAsync(Host, { key: '08ccd5ea73c3269daa18fc8bba6dd18480ad7816', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, hAsync("div", { key: '35fdc536d55fff74470ad2a9a8402a5629fb86ec' }, hAsync("div", { key: '0b37d829fae45660196edc0509897c28d9e508ec', class: StepperItemClass.steps }, hAsync("span", { key: '2f8794f09a43b40063297dedd0995eb1f69fe2b3' }), hAsync("span", { key: 'e0a4ff933a1ce97d6831d47d2281f2158a7d234f', class: StepperItemClass.prefix }, hAsync("slot", { key: '237aed2bfa1229906fb09d36d65158569ecf58a9', name: "prefix" })), hAsync("span", { key: '023e70f587369773800f3ce963058d8a35700710' })), hAsync("div", { key: '75d13eabc53fc14e48e8ed21d19010ab4b2f4cb5', class: StepperItemClass.main }, hAsync("span", { key: '22aab53d261746e0dfc0cfe7815259430aa297dc', class: StepperItemClass.headline }, hAsync("slot", { key: 'f544727ea1c6516a567bb45cc8159c5d9f2657fd', name: "headline" })), hAsync("slot", { key: 'a017ee18733dcaa2499b40ad9c341d480a26b0a1', name: "annotation" }), this.h.hasSlot('content') && (hAsync("div", { key: '854112defb09e451c1748a35b566f785792e3418', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, hAsync("slot", { key: '2ba008423af0ad9db10874b1c3f87a27a252bb72', name: "content" })))))));
|
|
7055
7163
|
}
|
|
7056
7164
|
get host() { return getElement(this); }
|
|
7057
7165
|
static get watchers() { return {
|
|
@@ -7131,7 +7239,8 @@ class GovTabs {
|
|
|
7131
7239
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
7132
7240
|
}
|
|
7133
7241
|
disconnectedCallback() {
|
|
7134
|
-
|
|
7242
|
+
var _a;
|
|
7243
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
7135
7244
|
}
|
|
7136
7245
|
onAriaAttributeChange(attributeName, newValue) {
|
|
7137
7246
|
this.host.removeAttribute(attributeName);
|
|
@@ -7202,7 +7311,7 @@ class GovTabs {
|
|
|
7202
7311
|
});
|
|
7203
7312
|
}
|
|
7204
7313
|
render() {
|
|
7205
|
-
return (hAsync(Host, { key: '
|
|
7314
|
+
return (hAsync(Host, { key: '7bb6938fcf7bc4164675f8fefa28658a55d7f8db', class: this.h.classes(TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, hAsync("div", Object.assign({ key: 'b0b13ba45a743dab4427d347d41552c529224c8e', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), hAsync("ul", { key: '079d04cff5d370351523653a04ddfc54956be6e3', class: TabsClass.list }, this.controllers.map(control => (hAsync("li", { class: TabsClass.item }, this.type == "text" ? (hAsync("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (hAsync("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), hAsync("slot", { key: '59db7cbbeb5a5a0024ab356ec89146b737374ddb' })));
|
|
7206
7315
|
}
|
|
7207
7316
|
getCurrentTab() {
|
|
7208
7317
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -7335,7 +7444,7 @@ class GovTabsItem {
|
|
|
7335
7444
|
}
|
|
7336
7445
|
}
|
|
7337
7446
|
render() {
|
|
7338
|
-
return (hAsync(Host, { key: '
|
|
7447
|
+
return (hAsync(Host, { key: '1cd671d422ff816437c778c22193c897d0755e8a', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("div", { key: '2473a5ef26157b0f1c5853ba38642ae5e19e437e', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, hAsync("slot", { key: 'f0c3c0e8ade04a638a7cad9eda92249bb399fc3b' }))));
|
|
7339
7448
|
}
|
|
7340
7449
|
/**
|
|
7341
7450
|
* Returns a unique tab content identifier
|
|
@@ -7423,7 +7532,7 @@ class GovTag {
|
|
|
7423
7532
|
render() {
|
|
7424
7533
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
7425
7534
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
7426
|
-
return (hAsync(Host, { key: '
|
|
7535
|
+
return (hAsync(Host, { key: '2666286a982e645f733c109a70f5463e002fe6ff', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, hAsync("span", { key: 'e71f4041d2bbaa983948f44e6782c0dd33c5943a', class: "element" }, hAsync("slot", { key: 'c35c4b9b661a6aeed75e15dc96de454b53bbbece', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: 'de5abfab508e4b5c684e9db5af2f9070244a5730', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: '745c8a357a058af3f0d897045219a057ccf0c4fc' }), hAsync("slot", { key: '4f9393a61fe22e3696ddfc194afced17cd95f673', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '25701722d4cebce173fa354460ac7911c9f2a44b', type: iconEnd.type, name: iconEnd.name })))));
|
|
7427
7536
|
}
|
|
7428
7537
|
get host() { return getElement(this); }
|
|
7429
7538
|
static get watchers() { return {
|
|
@@ -7451,6 +7560,7 @@ const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL']);
|
|
|
7451
7560
|
const ThemeSwitchClass = {
|
|
7452
7561
|
root: 'gov-theme-switch',
|
|
7453
7562
|
indicator: 'gov-theme-switch__indicator',
|
|
7563
|
+
label: 'gov-theme-switch__label',
|
|
7454
7564
|
iconLight: 'gov-theme-switch__icon-light',
|
|
7455
7565
|
iconDark: 'gov-theme-switch__icon-dark',
|
|
7456
7566
|
};
|
|
@@ -7525,7 +7635,7 @@ class GovThemeSwitch {
|
|
|
7525
7635
|
if (this.theme === ThemeList.auto) {
|
|
7526
7636
|
isDark = this.isSystemPrefersColorDark;
|
|
7527
7637
|
}
|
|
7528
|
-
return (hAsync(Host, { key: '
|
|
7638
|
+
return (hAsync(Host, { key: '7c9fc2abd555e5254c86ff58fe3e70be5a30b83c', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, hAsync("button", { key: '1dc6ac1588fc2f2b48089400953c44e04d59e213', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-current": this.theme, "aria-label": isDark ? this.ariaLabelDark : this.ariaLabelLight }, hAsync("span", { key: '59e19f4450ea2043edf7c037538bab5a0d605569' }, hAsync("span", { key: '34640deb4ff3215653f47d54b59ae6763a793333', class: ThemeSwitchClass.indicator }, ThemeList.light && hAsync("gov-icon", { key: 'e1583fe54eae0ab7eeb2eb4919b5dd144bb43aa3', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && hAsync("gov-icon", { key: 'cb63ce2aa41321bcb7c59d0c02f47f62b80fd104', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), this.displayLabel ? (hAsync("span", { class: ThemeSwitchClass.label }, isDark ? this.labelDark : this.labelLight)) : null))));
|
|
7529
7639
|
}
|
|
7530
7640
|
get host() { return getElement(this); }
|
|
7531
7641
|
static get watchers() { return {
|
|
@@ -7572,7 +7682,7 @@ class GovTile {
|
|
|
7572
7682
|
this.h = govHost(this.host);
|
|
7573
7683
|
}
|
|
7574
7684
|
render() {
|
|
7575
|
-
return (hAsync(Host, { key: '
|
|
7685
|
+
return (hAsync(Host, { key: 'c2b0a1596d12d921dfd934905e19f778826d3ffa', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, hAsync("slot", { key: 'dbd0b5222be8bd00f87c94f1054913e0f7ef203e', name: "icon" }), hAsync("div", { key: 'cbae639cc5c2d1a0837d8c3c18c9ff5b19ae861e', class: TileClass.content }, hAsync("div", { key: '5072ae5919ef7f61cbb0d43805b6198c081aa5cb', class: TileClass.text }, hAsync("div", { key: '825333bee20b729833fe7f66e9908c763048eddd', class: TileClass.title }, this.href ? (hAsync(Fragment$1, null, hAsync("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, hAsync("slot", { name: "title" })), hAsync("span", { class: TileClass.icon }, hAsync("gov-icon", { name: "chevron-right", type: "components" })))) : (hAsync("slot", { name: "title" }))), hAsync("div", { key: '150177ba86ce79dac70ef8dc3ab93b5bd6468b03', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, hAsync("slot", { key: '85f73ae3797a9b490a7d0f94cbd87717059d0a38' }))), hAsync("slot", { key: 'e18f72da9af1e305b5a52d7328f509a670b806a0', name: "button" }))));
|
|
7576
7686
|
}
|
|
7577
7687
|
/**
|
|
7578
7688
|
* Returns a clickable element instance
|
|
@@ -7598,32 +7708,6 @@ class GovTile {
|
|
|
7598
7708
|
}; }
|
|
7599
7709
|
}
|
|
7600
7710
|
|
|
7601
|
-
const TilesClass = {
|
|
7602
|
-
root: 'gov-tiles',
|
|
7603
|
-
};
|
|
7604
|
-
|
|
7605
|
-
class GovTiles {
|
|
7606
|
-
constructor(hostRef) {
|
|
7607
|
-
registerInstance(this, hostRef);
|
|
7608
|
-
this.columns = 4;
|
|
7609
|
-
this.h = govHost(this.host);
|
|
7610
|
-
}
|
|
7611
|
-
render() {
|
|
7612
|
-
return (hAsync(Host, { key: '18eb380e2fe62b54a90c5c758c62c985107c98d4', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: '9746ede80d0daa8776208afb5cef44b7adb0d7fc' })));
|
|
7613
|
-
}
|
|
7614
|
-
get host() { return getElement(this); }
|
|
7615
|
-
static get cmpMeta() { return {
|
|
7616
|
-
"$flags$": 4,
|
|
7617
|
-
"$tagName$": "gov-tiles",
|
|
7618
|
-
"$members$": {
|
|
7619
|
-
"columns": [514]
|
|
7620
|
-
},
|
|
7621
|
-
"$listeners$": undefined,
|
|
7622
|
-
"$lazyBundleId$": "-",
|
|
7623
|
-
"$attrsToReflect$": [["columns", "columns"]]
|
|
7624
|
-
}; }
|
|
7625
|
-
}
|
|
7626
|
-
|
|
7627
7711
|
const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING']);
|
|
7628
7712
|
var ToastType;
|
|
7629
7713
|
(function (ToastType) {
|
|
@@ -7669,8 +7753,9 @@ class GovToast {
|
|
|
7669
7753
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
7670
7754
|
}
|
|
7671
7755
|
disconnectedCallback() {
|
|
7756
|
+
var _a;
|
|
7672
7757
|
clearTimeout(this.timeout);
|
|
7673
|
-
this.attributeObserver.stopObserving();
|
|
7758
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
7674
7759
|
}
|
|
7675
7760
|
onAriaAttributeChange(attributeName, newValue) {
|
|
7676
7761
|
this.host.removeAttribute(attributeName);
|
|
@@ -7688,7 +7773,7 @@ class GovToast {
|
|
|
7688
7773
|
}
|
|
7689
7774
|
}
|
|
7690
7775
|
render() {
|
|
7691
|
-
return (hAsync(Host, { key: '
|
|
7776
|
+
return (hAsync(Host, { key: 'c5ff6e1b44b5bd6be76071fb1a06863d40fbafc4', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (hAsync("span", { key: '12bed10d321d58f2a60624b40442cd1af7f5a148', class: ToastClass.icon }, hAsync("slot", { key: 'd190b0fa180d1d7fa7d7de31e57e6443d878ef8c', name: "icon" }))), hAsync("div", Object.assign({ key: '1d3b58d5e24a9c8de248d762fd86226b4d0734cd', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), hAsync("slot", { key: '9db11a8e04576242515cd043a500f0b8114f4210' })), hAsync("gov-button", { key: '781d407d84f718b11a2c5f809c4508e2c0da5499', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : hAsync("gov-icon", { name: "x-lg", type: "components" })), hAsync("div", { key: 'a73f8ec772d777df9b5a26cfa9f05fbeb82608ff', class: ToastClass.timer })));
|
|
7692
7777
|
}
|
|
7693
7778
|
onCloseHandler() {
|
|
7694
7779
|
this.govClose.emit(this.toastId);
|
|
@@ -7945,11 +8030,11 @@ class GovTooltip {
|
|
|
7945
8030
|
}
|
|
7946
8031
|
render() {
|
|
7947
8032
|
var _a;
|
|
7948
|
-
return (hAsync(Host, { key: '
|
|
8033
|
+
return (hAsync(Host, { key: '07a76faeb64a6487ab5d2fe50caf2af04be01365', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: 'c38c8e9eef234298a424a5d3e55664e1fe9ebbbe', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
7949
8034
|
if (this.persist === false) {
|
|
7950
8035
|
this.hideTooltip();
|
|
7951
8036
|
}
|
|
7952
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
8037
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '0ec9ab85c4242040aedfc1369946de4f1bea3e3a' }))));
|
|
7953
8038
|
}
|
|
7954
8039
|
/**
|
|
7955
8040
|
* Showing the modal
|
|
@@ -8020,7 +8105,7 @@ class GovTooltipContent {
|
|
|
8020
8105
|
}
|
|
8021
8106
|
}
|
|
8022
8107
|
render() {
|
|
8023
|
-
return (hAsync(Host, { key: '
|
|
8108
|
+
return (hAsync(Host, { key: '28e778cbda440ea6026ed604d5713c451ed49f36', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, hAsync("slot", { key: 'f7e08e2fb6029b4d5bca3f7fdce286f67c7f77d0' }), this.persist ? (hAsync("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, hAsync("gov-icon", { slot: "icon-start", name: "x-lg", type: "components" }))) : null));
|
|
8024
8109
|
}
|
|
8025
8110
|
get host() { return getElement(this); }
|
|
8026
8111
|
static get watchers() { return {
|
|
@@ -8094,7 +8179,7 @@ class GovWizard {
|
|
|
8094
8179
|
this.hydrated = true;
|
|
8095
8180
|
}
|
|
8096
8181
|
render() {
|
|
8097
|
-
return (hAsync(Host, { key: '
|
|
8182
|
+
return (hAsync(Host, { key: '1b9c171c02a8fc7526742f8270bc6459dd717621', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'b2f89e63d7572f9e0df90a326f8cb50598dca1cb' })));
|
|
8098
8183
|
}
|
|
8099
8184
|
/**
|
|
8100
8185
|
* Validate the WCAG attributes of the component
|
|
@@ -8156,8 +8241,8 @@ class GovWizardItem {
|
|
|
8156
8241
|
render() {
|
|
8157
8242
|
const triggerId = this.identifier || this.triggerId;
|
|
8158
8243
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
8159
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
8160
|
-
return (hAsync(Host, { key: '
|
|
8244
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '3557f69ef4f08fa89200283444c12b36051ef5cd', class: WizardItemClass.prefix }, hAsync("slot", { key: '0847a8d5c4dbb458d712162842dc06ebb643ded4', name: "prefix" })));
|
|
8245
|
+
return (hAsync(Host, { key: 'df368a1f27a0ed3b6cd0291cd8aeed3defbccdb8', class: this.h.classes(WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, hAsync("div", { key: '72e83e2b44b458055a82e874e47078197e797db9', class: WizardItemClass.header }, prefixSlot, this.collapsible ? (hAsync(Tag, { id: triggerId, class: this.h.classes(WizardItemClass.label), "aria-expanded": booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
8161
8246
|
e.preventDefault();
|
|
8162
8247
|
e.stopPropagation();
|
|
8163
8248
|
this.toggle();
|
|
@@ -8221,6 +8306,8 @@ registerComponents([
|
|
|
8221
8306
|
GovAttachments,
|
|
8222
8307
|
GovAttachmentsItem,
|
|
8223
8308
|
GovBackdrop,
|
|
8309
|
+
GovBanner,
|
|
8310
|
+
GovBlockquote,
|
|
8224
8311
|
GovBreadcrumbs,
|
|
8225
8312
|
GovButton,
|
|
8226
8313
|
GovCard,
|
|
@@ -8269,7 +8356,6 @@ registerComponents([
|
|
|
8269
8356
|
GovTag,
|
|
8270
8357
|
GovThemeSwitch,
|
|
8271
8358
|
GovTile,
|
|
8272
|
-
GovTiles,
|
|
8273
8359
|
GovToast,
|
|
8274
8360
|
GovTooltip,
|
|
8275
8361
|
GovTooltipContent,
|