@gov-design-system-ce/components 4.1.0 → 4.1.2
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/core.cjs.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +2 -2
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +9 -6
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +2 -2
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/{gov-flex_4.cjs.entry.js → gov-flex_3.cjs.entry.js} +57 -57
- package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +2 -3
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
- package/dist/cjs/gov-form-label.cjs.entry.js +27 -0
- package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
- package/dist/cjs/gov-link.cjs.entry.js +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +2 -1
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
- package/dist/cjs/index-7ff4447c.js +6 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +2 -7
- package/dist/collection/components/gov-card/constants.js +7 -4
- package/dist/collection/components/gov-card/constants.js.map +1 -1
- package/dist/collection/components/gov-card/gov-card.js +16 -10
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +2 -2
- 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-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/constants.js +2 -0
- package/dist/collection/components/gov-flex/constants.js.map +1 -1
- package/dist/collection/components/gov-flex/gov-flex.js +33 -9
- package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +2 -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 -2
- 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 -4
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.css +3 -8
- package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +5 -5
- 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 +3 -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 +1 -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 -4
- 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 -2
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +3 -4
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-icon/list.js +6 -0
- package/dist/collection/components/gov-icon/list.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
- 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/gov-link.js +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +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 +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +20 -1
- package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/constants.js +0 -2
- package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +32 -9
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +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/helpers/Dom/document.js +18 -0
- package/dist/collection/helpers/Dom/document.js.map +1 -1
- package/dist/collection/pages/Card.js +22 -37
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Flex.js +62 -0
- package/dist/collection/pages/Flex.js.map +1 -0
- package/dist/collection/pages/Forms.js +5 -5
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Tag.js +30 -23
- package/dist/collection/pages/Tag.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-breadcrumbs.js +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-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-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-label.js.map +1 -1
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-multi-select.js.map +1 -1
- package/dist/components/gov-form-password-power.js +1 -1
- package/dist/components/gov-form-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.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +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-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-pagination.js +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.js +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-tag.js.map +1 -1
- package/dist/components/gov-theme-switch.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-tiles.js +1 -1
- package/dist/components/gov-toast.js +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/p-0b3574c2.js +2 -0
- package/dist/components/p-18ab0d24.js +2 -0
- package/dist/components/p-18ab0d24.js.map +1 -0
- package/dist/components/p-28776006.js +2 -0
- package/dist/components/{p-859a4f0d.js.map → p-28776006.js.map} +1 -1
- package/dist/components/p-40c2fb42.js +2 -0
- package/dist/components/{p-dc952cc2.js.map → p-40c2fb42.js.map} +1 -1
- package/dist/components/{p-2b87c27b.js → p-48c4d5c8.js} +2 -2
- package/dist/components/p-48c4d5c8.js.map +1 -0
- package/dist/components/{p-4149f195.js → p-73938936.js} +2 -2
- package/dist/components/{p-5952a5d0.js → p-7be2301a.js} +2 -2
- package/dist/components/{p-227eb30d.js → p-80dad64b.js} +2 -2
- package/dist/components/{p-7d4f2214.js → p-b25af2cf.js} +2 -2
- package/dist/components/{p-dfb5794a.js → p-b97d8edd.js} +2 -2
- package/dist/components/p-c438a723.js +2 -0
- package/dist/components/{p-45097b4c.js → p-ce90ff14.js} +2 -2
- package/dist/components/p-ce90ff14.js.map +1 -0
- package/dist/components/{p-929ebfb5.js → p-d962bf44.js} +2 -2
- package/dist/{core/p-20c2203a.js → components/p-e8ec030e.js} +2 -2
- package/dist/core/core.css +438 -273
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-0b3574c2.js +2 -0
- package/dist/core/{p-74458da3.entry.js → p-0dac0792.entry.js} +2 -2
- package/dist/core/p-0dac0792.entry.js.map +1 -0
- package/dist/core/{p-951823cb.entry.js → p-12d1e5bc.entry.js} +2 -2
- package/dist/core/p-182d03c1.entry.js +2 -0
- package/dist/core/p-2496f2a5.entry.js +2 -0
- package/dist/core/{p-a218e2eb.entry.js.map → p-2496f2a5.entry.js.map} +1 -1
- package/dist/core/{p-c52afdfc.js → p-29ac15d2.js} +2 -2
- package/dist/core/p-29d16111.entry.js +2 -0
- package/dist/core/{p-019e967c.entry.js.map → p-29d16111.entry.js.map} +1 -1
- package/dist/core/p-2b51b8e8.entry.js +2 -0
- package/dist/core/p-2b51b8e8.entry.js.map +1 -0
- package/dist/core/p-2bde147f.entry.js +2 -0
- package/dist/core/{p-bdc51179.entry.js.map → p-2bde147f.entry.js.map} +1 -1
- package/dist/core/{p-cb557873.entry.js → p-2e21a994.entry.js} +2 -2
- package/dist/core/p-2e21a994.entry.js.map +1 -0
- package/dist/core/p-3df6c6cd.entry.js +2 -0
- package/dist/core/p-436e7690.entry.js +2 -0
- package/dist/core/p-467f778b.entry.js +2 -0
- package/dist/core/p-4d81039c.entry.js +2 -0
- package/dist/core/p-520ac994.entry.js +2 -0
- package/dist/core/{p-f1056a83.entry.js.map → p-520ac994.entry.js.map} +1 -1
- package/dist/core/p-53fa7648.entry.js +2 -0
- package/dist/core/{p-c20fe3da.entry.js.map → p-53fa7648.entry.js.map} +1 -1
- package/dist/core/{p-7d6073aa.entry.js → p-581c8075.entry.js} +2 -2
- package/dist/core/{p-e2517a72.entry.js → p-5a92b9d9.entry.js} +2 -2
- package/dist/core/{p-8506b611.js → p-5fbde4f9.js} +2 -2
- package/dist/core/{p-7bf52eb9.entry.js → p-605e72b1.entry.js} +2 -2
- package/dist/core/{p-1ac9544f.entry.js → p-64dc1cdb.entry.js} +2 -2
- package/dist/core/p-64dc1cdb.entry.js.map +1 -0
- package/dist/core/{p-6454af62.entry.js → p-6603e3df.entry.js} +2 -2
- package/dist/core/p-6f260a90.entry.js +2 -0
- package/dist/core/{p-fca60e04.entry.js.map → p-6f260a90.entry.js.map} +1 -1
- package/dist/core/p-71dc8171.entry.js +2 -0
- package/dist/core/{p-443a813a.entry.js.map → p-71dc8171.entry.js.map} +1 -1
- package/dist/core/p-87562d9e.entry.js +2 -0
- package/dist/core/{p-773f71f6.entry.js.map → p-87562d9e.entry.js.map} +1 -1
- package/dist/core/p-88b69d30.entry.js +2 -0
- package/dist/core/{p-bc966c46.entry.js.map → p-88b69d30.entry.js.map} +1 -1
- package/dist/core/{p-fe6fed11.entry.js → p-8ece244d.entry.js} +2 -2
- package/dist/{components/p-45097b4c.js.map → core/p-8ece244d.entry.js.map} +1 -1
- package/dist/core/{p-db22d51c.entry.js → p-913331e8.entry.js} +2 -2
- package/dist/core/p-979b03eb.entry.js +2 -0
- package/dist/core/{p-b1efeb41.entry.js.map → p-979b03eb.entry.js.map} +1 -1
- package/dist/core/p-97c65665.entry.js +2 -0
- package/dist/core/{p-9da91318.entry.js.map → p-97c65665.entry.js.map} +1 -1
- package/dist/core/p-97e8b4b3.entry.js +2 -0
- package/dist/core/{p-439b66a5.entry.js.map → p-97e8b4b3.entry.js.map} +1 -1
- package/dist/core/{p-d65cef62.entry.js → p-abefa59b.entry.js} +2 -2
- package/dist/core/p-aeab9c1a.entry.js +2 -0
- package/dist/core/{p-c4ffcc37.entry.js → p-af9fe91a.entry.js} +2 -2
- package/dist/core/{p-d24710ff.entry.js → p-b0d1073c.entry.js} +2 -2
- package/dist/core/p-b245d627.entry.js +2 -0
- package/dist/core/{p-ed1131cb.entry.js.map → p-b245d627.entry.js.map} +1 -1
- package/dist/core/p-b2abc2fc.entry.js +2 -0
- package/dist/core/p-b2abc2fc.entry.js.map +1 -0
- package/dist/core/{p-0be19b89.entry.js → p-b4cf97ab.entry.js} +2 -2
- package/dist/core/p-b766810e.entry.js +2 -0
- package/dist/core/p-b766810e.entry.js.map +1 -0
- package/dist/core/p-bc0ed2c1.entry.js +2 -0
- package/dist/core/{p-dec3f948.entry.js → p-bf8529f8.entry.js} +2 -2
- package/dist/core/{p-783a6b5b.entry.js → p-cd988543.entry.js} +2 -2
- package/dist/core/p-cd988543.entry.js.map +1 -0
- package/dist/core/p-d2b11492.entry.js +2 -0
- package/dist/core/{p-f1fa5e1e.entry.js.map → p-d2b11492.entry.js.map} +1 -1
- package/dist/core/p-d3f7d3d5.entry.js +2 -0
- package/dist/core/p-d6e972c0.entry.js +2 -0
- package/dist/core/p-d952e56f.entry.js +2 -0
- package/dist/{components/p-20c2203a.js → core/p-e8ec030e.js} +2 -2
- package/dist/core/p-eaa83b2f.entry.js +2 -0
- package/dist/core/p-ebc318d7.entry.js +2 -0
- package/dist/core/p-ebeb1a03.entry.js +2 -0
- package/dist/core/{p-3fc3c26b.entry.js.map → p-ebeb1a03.entry.js.map} +1 -1
- package/dist/core/p-ee0f3bd9.entry.js +2 -0
- package/dist/core/p-ee0f3bd9.entry.js.map +1 -0
- package/dist/core/p-ee7af1ab.entry.js +2 -0
- package/dist/core/{p-8701c28e.entry.js.map → p-ee7af1ab.entry.js.map} +1 -1
- package/dist/core/{p-f7a4da9d.entry.js → p-eeee2325.entry.js} +2 -2
- package/dist/core/p-f83b9da5.entry.js +2 -0
- package/dist/core/{p-2c59483f.entry.js.map → p-f83b9da5.entry.js.map} +1 -1
- package/dist/core/p-fa161f10.entry.js +2 -0
- package/dist/core/{p-e834ee73.entry.js → p-fa5b72de.entry.js} +2 -2
- package/dist/core/p-fb8c019a.entry.js +2 -0
- package/dist/core/p-fb8c019a.entry.js.map +1 -0
- package/dist/core/p-ff609d0e.entry.js +2 -0
- package/dist/esm/core.js +3 -3
- package/dist/esm/gov-accordion-item.entry.js +3 -3
- package/dist/esm/gov-accordion.entry.js +3 -3
- package/dist/esm/gov-attachments_3.entry.js +6 -6
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +3 -3
- package/dist/esm/gov-breadcrumbs.entry.js +3 -3
- package/dist/esm/gov-button.entry.js +4 -4
- package/dist/esm/gov-card.entry.js +12 -9
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +5 -5
- package/dist/esm/gov-container.entry.js +2 -2
- package/dist/esm/gov-control-group.entry.js +4 -4
- package/dist/esm/gov-cookiebar.entry.js +2 -2
- package/dist/esm/gov-dialog.entry.js +4 -4
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-empty.entry.js +4 -4
- package/dist/esm/gov-error-code.entry.js +2 -2
- package/dist/esm/{gov-flex_4.entry.js → gov-flex_3.entry.js} +61 -60
- package/dist/esm/gov-flex_3.entry.js.map +1 -0
- package/dist/esm/gov-form-autocomplete.entry.js +4 -4
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +5 -5
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +3 -3
- 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 +3 -4
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +4 -4
- package/dist/esm/gov-form-input_2.entry.js +9 -9
- package/dist/esm/gov-form-label.entry.js +23 -0
- package/dist/esm/gov-form-label.entry.js.map +1 -0
- package/dist/esm/gov-form-multi-select.entry.js +5 -5
- 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 +5 -5
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +3 -3
- 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 -5
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +3 -3
- package/dist/esm/gov-form-switch.entry.js.map +1 -1
- package/dist/esm/gov-grid-item.entry.js +2 -2
- package/dist/esm/gov-grid.entry.js +2 -2
- package/dist/esm/gov-infobar.entry.js +5 -5
- 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 +4 -4
- package/dist/esm/gov-loading.entry.js +4 -4
- package/dist/esm/gov-message.entry.js +4 -4
- package/dist/esm/gov-pagination.entry.js +3 -3
- package/dist/esm/gov-spacer.entry.js +4 -4
- package/dist/esm/gov-stepper-item.entry.js +4 -4
- package/dist/esm/gov-stepper.entry.js +4 -4
- package/dist/esm/gov-tabs-item.entry.js +2 -2
- package/dist/esm/gov-tabs.entry.js +4 -4
- package/dist/esm/gov-tag.entry.js +5 -4
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-tile.entry.js +2 -2
- package/dist/esm/gov-tiles.entry.js +2 -2
- package/dist/esm/gov-toast.entry.js +4 -4
- package/dist/esm/gov-tooltip-content.entry.js +2 -2
- package/dist/esm/gov-tooltip.entry.js +5 -5
- package/dist/esm/gov-wizard-item.entry.js +5 -5
- package/dist/esm/gov-wizard.entry.js +5 -5
- package/dist/esm/{gov.log-066c3139.js → gov.log-6b64cda6.js} +2 -2
- package/dist/esm/{gov.log-066c3139.js.map → gov.log-6b64cda6.js.map} +1 -1
- package/dist/esm/{index-c263e031.js → index-8dc58a1a.js} +8 -4
- package/dist/esm/{index-c263e031.js.map → index-8dc58a1a.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{props-fb6587c3.js → props-9d3c7ac1.js} +2 -2
- package/dist/esm/{props-fb6587c3.js.map → props-9d3c7ac1.js.map} +1 -1
- package/dist/esm/{wcag-de9a3dc6.js → wcag-253a4421.js} +2 -2
- package/dist/esm/{wcag-de9a3dc6.js.map → wcag-253a4421.js.map} +1 -1
- package/dist/hydrate/index.js +147 -123
- package/dist/hydrate/index.mjs +147 -123
- package/dist/types/components/gov-card/constants.d.ts +8 -4
- package/dist/types/components/gov-card/gov-card.d.ts +3 -2
- package/dist/types/components/gov-flex/constants.d.ts +4 -0
- package/dist/types/components/gov-flex/gov-flex.d.ts +9 -7
- package/dist/types/components/gov-icon/gov-icon.d.ts +1 -2
- package/dist/types/components/gov-tag/gov-tag.d.ts +4 -0
- package/dist/types/components/gov-theme-switch/constants.d.ts +0 -2
- package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +8 -4
- package/dist/types/components.d.ts +50 -22
- package/dist/types/helpers/Dom/document.d.ts +1 -0
- package/dist/types/pages/Flex.d.ts +3 -0
- package/package.json +4 -4
- package/dist/cjs/gov-flex_4.cjs.entry.js.map +0 -1
- package/dist/components/p-2b87c27b.js.map +0 -1
- package/dist/components/p-31a99bfc.js +0 -2
- package/dist/components/p-68a1aaec.js +0 -2
- package/dist/components/p-68a1aaec.js.map +0 -1
- package/dist/components/p-859a4f0d.js +0 -2
- package/dist/components/p-a2435993.js +0 -2
- package/dist/components/p-dc952cc2.js +0 -2
- package/dist/components/p-f44899e1.js +0 -2
- package/dist/components/p-f44899e1.js.map +0 -1
- package/dist/core/p-00d153bf.entry.js +0 -2
- package/dist/core/p-019e967c.entry.js +0 -2
- package/dist/core/p-1abdcb62.entry.js +0 -2
- package/dist/core/p-1ac9544f.entry.js.map +0 -1
- package/dist/core/p-1b3c808d.entry.js +0 -2
- package/dist/core/p-1b3c808d.entry.js.map +0 -1
- package/dist/core/p-22fa411d.entry.js +0 -2
- package/dist/core/p-2c290fe5.entry.js +0 -2
- package/dist/core/p-2c59483f.entry.js +0 -2
- package/dist/core/p-30eaeeec.entry.js +0 -2
- package/dist/core/p-3fc3c26b.entry.js +0 -2
- package/dist/core/p-40d764ac.entry.js +0 -2
- package/dist/core/p-410ec0dd.entry.js +0 -2
- package/dist/core/p-439b66a5.entry.js +0 -2
- package/dist/core/p-443a813a.entry.js +0 -2
- package/dist/core/p-48c93ac0.entry.js +0 -2
- package/dist/core/p-48c93ac0.entry.js.map +0 -1
- package/dist/core/p-52ca31be.entry.js +0 -2
- package/dist/core/p-52ca31be.entry.js.map +0 -1
- package/dist/core/p-535316b4.entry.js +0 -2
- package/dist/core/p-5396935e.entry.js +0 -2
- package/dist/core/p-5b2131c1.entry.js +0 -2
- package/dist/core/p-5ed63e9c.entry.js +0 -2
- package/dist/core/p-74458da3.entry.js.map +0 -1
- package/dist/core/p-773f71f6.entry.js +0 -2
- package/dist/core/p-783a6b5b.entry.js.map +0 -1
- package/dist/core/p-7b7e502b.entry.js +0 -2
- package/dist/core/p-8701c28e.entry.js +0 -2
- package/dist/core/p-9da91318.entry.js +0 -2
- package/dist/core/p-a218e2eb.entry.js +0 -2
- package/dist/core/p-a2435993.js +0 -2
- package/dist/core/p-b1efeb41.entry.js +0 -2
- package/dist/core/p-b4af0bec.entry.js +0 -2
- package/dist/core/p-b4af0bec.entry.js.map +0 -1
- package/dist/core/p-bc966c46.entry.js +0 -2
- package/dist/core/p-bdc51179.entry.js +0 -2
- package/dist/core/p-c20fe3da.entry.js +0 -2
- package/dist/core/p-cb557873.entry.js.map +0 -1
- package/dist/core/p-ed1131cb.entry.js +0 -2
- package/dist/core/p-f1056a83.entry.js +0 -2
- package/dist/core/p-f1fa5e1e.entry.js +0 -2
- package/dist/core/p-f4bcf817.entry.js +0 -2
- package/dist/core/p-f6709826.entry.js +0 -2
- package/dist/core/p-fca60e04.entry.js +0 -2
- package/dist/core/p-fe6fed11.entry.js.map +0 -1
- package/dist/esm/gov-flex_4.entry.js.map +0 -1
- /package/dist/components/{p-a2435993.js.map → p-0b3574c2.js.map} +0 -0
- /package/dist/components/{p-4149f195.js.map → p-73938936.js.map} +0 -0
- /package/dist/components/{p-5952a5d0.js.map → p-7be2301a.js.map} +0 -0
- /package/dist/components/{p-227eb30d.js.map → p-80dad64b.js.map} +0 -0
- /package/dist/components/{p-7d4f2214.js.map → p-b25af2cf.js.map} +0 -0
- /package/dist/components/{p-dfb5794a.js.map → p-b97d8edd.js.map} +0 -0
- /package/dist/components/{p-31a99bfc.js.map → p-c438a723.js.map} +0 -0
- /package/dist/components/{p-929ebfb5.js.map → p-d962bf44.js.map} +0 -0
- /package/dist/components/{p-20c2203a.js.map → p-e8ec030e.js.map} +0 -0
- /package/dist/core/{p-a2435993.js.map → p-0b3574c2.js.map} +0 -0
- /package/dist/core/{p-951823cb.entry.js.map → p-12d1e5bc.entry.js.map} +0 -0
- /package/dist/core/{p-22fa411d.entry.js.map → p-182d03c1.entry.js.map} +0 -0
- /package/dist/core/{p-c52afdfc.js.map → p-29ac15d2.js.map} +0 -0
- /package/dist/core/{p-30eaeeec.entry.js.map → p-3df6c6cd.entry.js.map} +0 -0
- /package/dist/core/{p-5396935e.entry.js.map → p-436e7690.entry.js.map} +0 -0
- /package/dist/core/{p-5ed63e9c.entry.js.map → p-467f778b.entry.js.map} +0 -0
- /package/dist/core/{p-7b7e502b.entry.js.map → p-4d81039c.entry.js.map} +0 -0
- /package/dist/core/{p-7d6073aa.entry.js.map → p-581c8075.entry.js.map} +0 -0
- /package/dist/core/{p-e2517a72.entry.js.map → p-5a92b9d9.entry.js.map} +0 -0
- /package/dist/core/{p-8506b611.js.map → p-5fbde4f9.js.map} +0 -0
- /package/dist/core/{p-7bf52eb9.entry.js.map → p-605e72b1.entry.js.map} +0 -0
- /package/dist/core/{p-6454af62.entry.js.map → p-6603e3df.entry.js.map} +0 -0
- /package/dist/core/{p-db22d51c.entry.js.map → p-913331e8.entry.js.map} +0 -0
- /package/dist/core/{p-d65cef62.entry.js.map → p-abefa59b.entry.js.map} +0 -0
- /package/dist/core/{p-1abdcb62.entry.js.map → p-aeab9c1a.entry.js.map} +0 -0
- /package/dist/core/{p-c4ffcc37.entry.js.map → p-af9fe91a.entry.js.map} +0 -0
- /package/dist/core/{p-d24710ff.entry.js.map → p-b0d1073c.entry.js.map} +0 -0
- /package/dist/core/{p-0be19b89.entry.js.map → p-b4cf97ab.entry.js.map} +0 -0
- /package/dist/core/{p-5b2131c1.entry.js.map → p-bc0ed2c1.entry.js.map} +0 -0
- /package/dist/core/{p-dec3f948.entry.js.map → p-bf8529f8.entry.js.map} +0 -0
- /package/dist/core/{p-40d764ac.entry.js.map → p-d3f7d3d5.entry.js.map} +0 -0
- /package/dist/core/{p-00d153bf.entry.js.map → p-d6e972c0.entry.js.map} +0 -0
- /package/dist/core/{p-410ec0dd.entry.js.map → p-d952e56f.entry.js.map} +0 -0
- /package/dist/core/{p-20c2203a.js.map → p-e8ec030e.js.map} +0 -0
- /package/dist/core/{p-2c290fe5.entry.js.map → p-eaa83b2f.entry.js.map} +0 -0
- /package/dist/core/{p-f6709826.entry.js.map → p-ebc318d7.entry.js.map} +0 -0
- /package/dist/core/{p-f7a4da9d.entry.js.map → p-eeee2325.entry.js.map} +0 -0
- /package/dist/core/{p-535316b4.entry.js.map → p-fa161f10.entry.js.map} +0 -0
- /package/dist/core/{p-e834ee73.entry.js.map → p-fa5b72de.entry.js.map} +0 -0
- /package/dist/core/{p-f4bcf817.entry.js.map → p-ff609d0e.entry.js.map} +0 -0
package/dist/hydrate/index.mjs
CHANGED
|
@@ -2775,7 +2775,7 @@ class GovAttachments {
|
|
|
2775
2775
|
}; }
|
|
2776
2776
|
}
|
|
2777
2777
|
|
|
2778
|
-
const govAttachmentsItemCss = "
|
|
2778
|
+
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:var(--height-line-xs);letter-spacing:0.0125rem;font-weight:400;color:var(--decor-color, var(--text-secondary))}";
|
|
2779
2779
|
var GovAttachmentsItemStyle0 = govAttachmentsItemCss;
|
|
2780
2780
|
|
|
2781
2781
|
class GovAttachmentsItem {
|
|
@@ -3156,17 +3156,20 @@ class GovButton {
|
|
|
3156
3156
|
}; }
|
|
3157
3157
|
}
|
|
3158
3158
|
|
|
3159
|
+
var CardDirection;
|
|
3160
|
+
(function (CardDirection) {
|
|
3161
|
+
CardDirection["HORIZONTAL"] = "horizontal";
|
|
3162
|
+
CardDirection["VERTICAL"] = "vertical";
|
|
3163
|
+
})(CardDirection || (CardDirection = {}));
|
|
3159
3164
|
const CardClass = {
|
|
3160
3165
|
root: 'gov-card',
|
|
3161
3166
|
header: 'gov-card__header',
|
|
3162
|
-
|
|
3167
|
+
arrow: 'gov-card__arrow',
|
|
3163
3168
|
inner: 'gov-card__inner',
|
|
3164
3169
|
img: 'gov-card__img',
|
|
3165
|
-
main: 'gov-card__main',
|
|
3166
3170
|
icon: 'gov-card__icon',
|
|
3167
|
-
|
|
3171
|
+
content: 'gov-card__content',
|
|
3168
3172
|
footer: 'gov-card__footer',
|
|
3169
|
-
arrow: 'gov-card__arrow',
|
|
3170
3173
|
};
|
|
3171
3174
|
|
|
3172
3175
|
class GovCard {
|
|
@@ -3174,7 +3177,7 @@ class GovCard {
|
|
|
3174
3177
|
registerInstance(this, hostRef);
|
|
3175
3178
|
this.govToggle = createEvent(this, "gov-toggle", 7);
|
|
3176
3179
|
this.hydrated = false;
|
|
3177
|
-
this.
|
|
3180
|
+
this.direction = "vertical";
|
|
3178
3181
|
this.collapsible = false;
|
|
3179
3182
|
this.open = true;
|
|
3180
3183
|
this.accessibleTriggerLabel = undefined;
|
|
@@ -3193,7 +3196,7 @@ class GovCard {
|
|
|
3193
3196
|
this.hydrated = true;
|
|
3194
3197
|
}
|
|
3195
3198
|
render() {
|
|
3196
|
-
return (hAsync(Host, { key: '
|
|
3199
|
+
return (hAsync(Host, { key: '16ef4ffbb0a84bb231008f4f52a4ffe1f2f809d8', 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: '749f6e4b624f4cdda53d2e3433b451d56c742667', 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: 'f4b953ddf9b4f59bc111b512bb3de3510b28af7f', class: CardClass.img }, hAsync("slot", { key: '2867a29e49e67aff041ac0705527c5f76f4a019e', name: "img" }))), this.h.hasSlot('icon') && (hAsync("div", { key: '8c8e55d3faff7cfbd6abe698cd8801f7fc41dbad', class: CardClass.icon }, hAsync("slot", { key: '4d9eaeb0b3af65e4bf5de75090f9346942069e86', name: "icon" }))), hAsync("div", { key: '77a9a065fb2803b5f39f1b5716d9810c04b6971b', class: CardClass.content }, hAsync("slot", { key: 'acec7d3d4b6ac5533e5df218fe38e26147c440d8' })), this.h.hasSlot('footer') && (hAsync("div", { key: '1e63a0811f487e18cbbef8b045651c0e5b745f37', class: CardClass.footer }, hAsync("slot", { key: '4bffc12bffb3e29527aad38b6edbe8c00527a843', name: "footer" }))))));
|
|
3197
3200
|
}
|
|
3198
3201
|
onClickHandler(e) {
|
|
3199
3202
|
e.stopPropagation();
|
|
@@ -3215,7 +3218,7 @@ class GovCard {
|
|
|
3215
3218
|
"$flags$": 4,
|
|
3216
3219
|
"$tagName$": "gov-card",
|
|
3217
3220
|
"$members$": {
|
|
3218
|
-
"
|
|
3221
|
+
"direction": [1],
|
|
3219
3222
|
"collapsible": [4],
|
|
3220
3223
|
"open": [1540],
|
|
3221
3224
|
"accessibleTriggerLabel": [1, "accessible-label"],
|
|
@@ -3313,11 +3316,11 @@ class GovChip {
|
|
|
3313
3316
|
const nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined;
|
|
3314
3317
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
3315
3318
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
3316
|
-
return (hAsync(Host, { key: '
|
|
3319
|
+
return (hAsync(Host, { key: '35148b293a6ae608eb1c4e0db06bbfff8b9fdca7', class: this.h.classes([
|
|
3317
3320
|
ChipClass.root,
|
|
3318
3321
|
this.h.hasSlot("right") ? ChipClass.hasRight : undefined,
|
|
3319
3322
|
this.h.hasSlot("left") ? ChipClass.hasLeft : undefined,
|
|
3320
|
-
]), 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: '
|
|
3323
|
+
]), 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: '01ba70f91c8be428f91ca4744d093e408dd5acbe', 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: '28acde76889a8b529dae69b1e55f5f3db51b8e25', name: "left" }), hAsync("slot", { key: '1c8fc171656757933a0bb0568a335ee11c09ce6f', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: 'b2e91ec6724f3ad50433c10597c44f50826dfcfe', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: '0a37763084f9a0b7269efe6cc6ebd71161890861' }), hAsync("slot", { key: '5b37c8b8350ed2ead0a85d81ed0ba22295b3679e', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '22dfae0ca565fddaa10e6179dc7d0ef38839764f', type: iconEnd.type, name: iconEnd.name })), hAsync("slot", { key: 'fe177d273f38e81cc9ffc686c62e05bd466c1fe8', name: "right" }))));
|
|
3321
3324
|
}
|
|
3322
3325
|
onClickHandler(e) {
|
|
3323
3326
|
e.stopPropagation();
|
|
@@ -3377,7 +3380,7 @@ class GovContainer {
|
|
|
3377
3380
|
this.h = govHost(this.host);
|
|
3378
3381
|
}
|
|
3379
3382
|
render() {
|
|
3380
|
-
return (hAsync(Host, { key: '
|
|
3383
|
+
return (hAsync(Host, { key: '0844c86e0eacd5f89bcfcad2b60e56da0097b506', class: this.h.classes(ContainerClass.root) }, hAsync("slot", { key: '5cd801a016968be5968a3598d3efa3b222953120' })));
|
|
3381
3384
|
}
|
|
3382
3385
|
get host() { return getElement(this); }
|
|
3383
3386
|
static get cmpMeta() { return {
|
|
@@ -3407,7 +3410,7 @@ class GovControlGroup {
|
|
|
3407
3410
|
validateProp(Colors, newValue, ControlGroupClass.root);
|
|
3408
3411
|
}
|
|
3409
3412
|
render() {
|
|
3410
|
-
return (hAsync(Host, { key: '
|
|
3413
|
+
return (hAsync(Host, { key: 'bee513bb064b3a276eaede7f93ed12b97edb7adb', class: this.h.classes(ControlGroupClass.root), color: this.color }, hAsync("slot", { key: 'adba55ccd38d432ae11fa4967996d8bcaf552427' })));
|
|
3411
3414
|
}
|
|
3412
3415
|
get host() { return getElement(this); }
|
|
3413
3416
|
static get watchers() { return {
|
|
@@ -3441,7 +3444,7 @@ class GovCookiebar {
|
|
|
3441
3444
|
this.h = govHost(this.host);
|
|
3442
3445
|
}
|
|
3443
3446
|
render() {
|
|
3444
|
-
return (hAsync(Host, { key: '
|
|
3447
|
+
return (hAsync(Host, { key: '311f0da16d86ab548e90e8f7be69d23d88a71ae4', class: this.h.classes(CookieConsentClass.root) }, hAsync("div", { key: 'f371e0bfa5ad8b2195aec2fd0c02f86fb81d58ff', class: CookieConsentClass.content }, hAsync("slot", { key: '96433ca7228d4bf61bfc6dc041bc519c83f56109', name: "headline" }), hAsync("slot", { key: '4fa8e397eba029f55329d0ca6d24044ae7c9a513' })), (this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (hAsync("div", { key: 'a1d5e5d03d8d89bceb65f45f75d7dc3d446d1b62', class: CookieConsentClass.actions }, this.h.hasSlot('actions-primary') && (hAsync("div", { key: '4ee2b3b82b91bdfb3d87a7bc34e9b0d4e2fc4f33', class: CookieConsentClass.actionsPrimary }, hAsync("slot", { key: '7c0cbf9c5f334cffa4a4eb3f2af9a05bfc8af208', name: "actions-primary" }))), this.h.hasSlot('actions-secondary') && (hAsync("div", { key: 'e40a9f403e994584f53df9e0d84e27aa08c849e2', class: CookieConsentClass.actionsSecondary }, hAsync("slot", { key: '5a2bc741413334a0f08bf2d17b94d1c51b5c3f69', name: "actions-secondary" })))))));
|
|
3445
3448
|
}
|
|
3446
3449
|
get host() { return getElement(this); }
|
|
3447
3450
|
static get cmpMeta() { return {
|
|
@@ -3514,7 +3517,7 @@ class GovDialog {
|
|
|
3514
3517
|
document.body.classList.remove(DialogClass.bodyFix);
|
|
3515
3518
|
}
|
|
3516
3519
|
render() {
|
|
3517
|
-
return (hAsync(Host, { key: '
|
|
3520
|
+
return (hAsync(Host, { key: 'c3b65521da7837b81972262ecf614d3c12f14bb3', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, hAsync("dialog", { key: '98b6d6db6fc9bd35760c03586548cc8a2470752a', 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: 'a8517c656ef3d3e3cf17bc9914e268a20b0e0e4b', class: DialogClass.inner }, hAsync("div", { key: '3ba16e3bafe7936f0c0a999d45d5efdd64291ec3', class: DialogClass.header }, hAsync("slot", { key: '736a0a11d601e9f522e69369ffa0f276c9673803', name: "icon" }), this.h.hasSlot('title') && (hAsync("span", { key: '5505a53174c82c1faf73ed500c5672f2dc8ea83b', class: DialogClass.title, id: this.labelId }, hAsync("slot", { key: '391dd6236c23c14e62c8c97a94c5733409939c32', name: "title" }))), hAsync("gov-button", { key: '867505a691e69da09808350fc7eefb51974005ba', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "aria-label": this.accessibleCloseLabel, "aria-labelledby": this.accessibleCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { key: '6fe742ccf5aca7f27cac627373a338d46bbccfda', slot: "icon-start", name: "x-lg", type: "components" }))), hAsync("div", { key: '9d9d6a45d79215ba5415512405ce7577d6a1dc26', class: DialogClass.content, id: this.contentId }, hAsync("slot", { key: 'f9b32ee565586b3741c166a0aa14ca1d1c55f032' })), this.h.hasSlot('footer') && (hAsync("div", { key: '8628b46f0196f38f7d2f273f0860a7c6cee62655', class: DialogClass.footer }, hAsync("slot", { key: '0742967012eab82c36f9dfe0f3b43213be8bcd47', 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));
|
|
3518
3521
|
}
|
|
3519
3522
|
onCloseHandler(e) {
|
|
3520
3523
|
e.stopPropagation();
|
|
@@ -3725,7 +3728,7 @@ class GovEmpty {
|
|
|
3725
3728
|
this.validateSize(this.size);
|
|
3726
3729
|
}
|
|
3727
3730
|
render() {
|
|
3728
|
-
return (hAsync(Host, { key: '
|
|
3731
|
+
return (hAsync(Host, { key: '3346bc91e4af67ca885ec89364d3caed0553f87c', class: this.h.classes(EmptyClass.root), size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: '6ae5bf19e792bc94fedaa9fe3a56cafa103356f4', name: "icon" })), hAsync("div", { key: '3cb5595ef6de22c590844902d5fe59a2066b0bf7', class: EmptyClass.content }, hAsync("slot", { key: 'dedf42aac4d7a4304a0eeeae7e5a7e1be8e4aac5', name: "headline" }), hAsync("slot", { key: '0d061d5b70d90c3bf6446ff78618e6506446bde2' }))));
|
|
3729
3732
|
}
|
|
3730
3733
|
get host() { return getElement(this); }
|
|
3731
3734
|
static get watchers() { return {
|
|
@@ -3754,7 +3757,7 @@ class GovErrorCode {
|
|
|
3754
3757
|
this.h = govHost(this.host);
|
|
3755
3758
|
}
|
|
3756
3759
|
render() {
|
|
3757
|
-
return (hAsync(Host, { key: '
|
|
3760
|
+
return (hAsync(Host, { key: 'c47e051194598ee060955a36959d11340b66dadc', class: this.h.classes(ErrorCodeClass.root), align: "center" }, this.h.hasSlot('icon') && (hAsync("slot", { key: '510cdd27231b580403e76154d263af37877bd7b3', name: "icon" })), hAsync("div", { key: '1b65726c29093652b1f2b6470669cedb5b951c7b', class: ErrorCodeClass.content }, hAsync("slot", { key: 'd5fb45bfdfd4cc096e9f4ed213f0b50baaf225e6', name: "headline" }), hAsync("slot", { key: '1950c6c8b034319c3d499b3470b4a2e0e1c7855a' }))));
|
|
3758
3761
|
}
|
|
3759
3762
|
get host() { return getElement(this); }
|
|
3760
3763
|
static get cmpMeta() { return {
|
|
@@ -3780,10 +3783,11 @@ class GovFlex {
|
|
|
3780
3783
|
this.wrap = undefined;
|
|
3781
3784
|
this.alignContent = undefined;
|
|
3782
3785
|
this.alignSelf = undefined;
|
|
3786
|
+
this.gap = undefined;
|
|
3783
3787
|
this.h = govHost(this.host);
|
|
3784
3788
|
}
|
|
3785
3789
|
render() {
|
|
3786
|
-
return (hAsync(Host, { key: '
|
|
3790
|
+
return (hAsync(Host, { key: '08c1591134f0b5c95a18ac9e1d3723c12d9bc47b', class: this.h.classes(FlexClass.root) }, hAsync("slot", { key: 'b66fb8ffa35b0fb98eed3440a55a92a1bd97eb76' })));
|
|
3787
3791
|
}
|
|
3788
3792
|
get host() { return getElement(this); }
|
|
3789
3793
|
static get cmpMeta() { return {
|
|
@@ -3795,11 +3799,12 @@ class GovFlex {
|
|
|
3795
3799
|
"alignItems": [513, "align-items"],
|
|
3796
3800
|
"wrap": [513],
|
|
3797
3801
|
"alignContent": [513, "align-content"],
|
|
3798
|
-
"alignSelf": [513, "align-self"]
|
|
3802
|
+
"alignSelf": [513, "align-self"],
|
|
3803
|
+
"gap": [513]
|
|
3799
3804
|
},
|
|
3800
3805
|
"$listeners$": undefined,
|
|
3801
3806
|
"$lazyBundleId$": "-",
|
|
3802
|
-
"$attrsToReflect$": [["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"]]
|
|
3807
|
+
"$attrsToReflect$": [["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"], ["gap", "gap"]]
|
|
3803
3808
|
}; }
|
|
3804
3809
|
}
|
|
3805
3810
|
|
|
@@ -3956,7 +3961,7 @@ class GovFormAutocomplete {
|
|
|
3956
3961
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3957
3962
|
}
|
|
3958
3963
|
render() {
|
|
3959
|
-
return (hAsync(Host, { key: '
|
|
3964
|
+
return (hAsync(Host, { key: 'a8bf269f28c969a01b9d6fd884b5e6dd253905f6', class: FormAutocompleteClass.root, size: this.size }, hAsync("gov-form-input", Object.assign({ key: '13797f47506657569fe824ecb8d82f54cdd7f62e', 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: 'aa60e7afc9f03418525f40f54989c56ac817a08a', name: "validation-icon" }), hAsync("slot", { key: 'fd1aa38d3f92793689e7238c4cc7b11fdb6d7c83', name: "icon-end" })), hAsync("ul", { key: 'f721a4bebd03c2837604e42d4ece440f2668e4db', 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) => {
|
|
3960
3965
|
const isSelected = this.arrowCounter === index;
|
|
3961
3966
|
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" })));
|
|
3962
3967
|
}) : null)));
|
|
@@ -4105,7 +4110,7 @@ class GovFormAutocomplete {
|
|
|
4105
4110
|
"nameKey": [1, "name-key"],
|
|
4106
4111
|
"name": [1],
|
|
4107
4112
|
"required": [4],
|
|
4108
|
-
"disabled": [
|
|
4113
|
+
"disabled": [516],
|
|
4109
4114
|
"placeholder": [1],
|
|
4110
4115
|
"readonly": [4],
|
|
4111
4116
|
"invalid": [4],
|
|
@@ -4128,7 +4133,7 @@ class GovFormAutocomplete {
|
|
|
4128
4133
|
},
|
|
4129
4134
|
"$listeners$": undefined,
|
|
4130
4135
|
"$lazyBundleId$": "-",
|
|
4131
|
-
"$attrsToReflect$": [["value", "value"], ["options", "options"]]
|
|
4136
|
+
"$attrsToReflect$": [["value", "value"], ["options", "options"], ["disabled", "disabled"]]
|
|
4132
4137
|
}; }
|
|
4133
4138
|
}
|
|
4134
4139
|
|
|
@@ -4399,10 +4404,10 @@ class GovFormCheckbox {
|
|
|
4399
4404
|
"value": [1],
|
|
4400
4405
|
"checked": [1540],
|
|
4401
4406
|
"required": [4],
|
|
4402
|
-
"disabled": [
|
|
4407
|
+
"disabled": [516],
|
|
4403
4408
|
"indeterminate": [516],
|
|
4404
4409
|
"name": [1],
|
|
4405
|
-
"size": [
|
|
4410
|
+
"size": [513],
|
|
4406
4411
|
"identifier": [1],
|
|
4407
4412
|
"noLabel": [4, "no-label"],
|
|
4408
4413
|
"invalid": [4],
|
|
@@ -4411,7 +4416,7 @@ class GovFormCheckbox {
|
|
|
4411
4416
|
},
|
|
4412
4417
|
"$listeners$": undefined,
|
|
4413
4418
|
"$lazyBundleId$": "-",
|
|
4414
|
-
"$attrsToReflect$": [["checked", "checked"], ["indeterminate", "indeterminate"]]
|
|
4419
|
+
"$attrsToReflect$": [["checked", "checked"], ["disabled", "disabled"], ["indeterminate", "indeterminate"], ["size", "size"]]
|
|
4415
4420
|
}; }
|
|
4416
4421
|
}
|
|
4417
4422
|
|
|
@@ -4431,7 +4436,7 @@ const FormCheckboxGroupClass = {
|
|
|
4431
4436
|
root: 'gov-form-checkbox-group',
|
|
4432
4437
|
};
|
|
4433
4438
|
|
|
4434
|
-
const govFormGroupCss$1 = "
|
|
4439
|
+
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-s-nudge))}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-m))}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-m-nudge))}";
|
|
4435
4440
|
var GovFormCheckboxGroupStyle0 = govFormGroupCss$1;
|
|
4436
4441
|
|
|
4437
4442
|
class GovFormCheckboxGroup {
|
|
@@ -4488,7 +4493,7 @@ class GovFormCheckboxGroup {
|
|
|
4488
4493
|
});
|
|
4489
4494
|
}
|
|
4490
4495
|
render() {
|
|
4491
|
-
return (hAsync(Host, { key: '
|
|
4496
|
+
return (hAsync(Host, { key: '7f71876a9b72b688bb354a1477153bd8d1b5ad05', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: '2b3ce2b04ab3a2e55128a6d8c00a1d41217061f6' })));
|
|
4492
4497
|
}
|
|
4493
4498
|
get host() { return getElement(this); }
|
|
4494
4499
|
static get watchers() { return {
|
|
@@ -4555,7 +4560,7 @@ class GovFormControl {
|
|
|
4555
4560
|
}
|
|
4556
4561
|
render() {
|
|
4557
4562
|
const Tag = this.fieldset ? "fieldset" : "div";
|
|
4558
|
-
return (hAsync(Host, { key: '
|
|
4563
|
+
return (hAsync(Host, { key: 'ca3d81a16858cbe4b2c06580cb2e9523a77191be', size: this.size, class: this.h.classes(FormControlClass.root) }, hAsync(Tag, { key: '4b2bdfbc3c227b910660596d5815c70ef8fa22dd', class: FormControlClass.holder }, this.h.hasSlot("top") && hAsync("slot", { key: '21e1b5d8e989e6e4ecf9795a2d9d3ccd6dc29543', name: "top" }), hAsync("slot", { key: 'd2acefce44c05404f9d1ce224f7f259361423d82' }), this.h.hasSlot("bottom") && (hAsync("div", { key: 'e5c095ee40f41623e9f6a871e29724be42a8be8f', class: FormControlClass.bottom }, hAsync("slot", { key: '941873ca1268fca177d3ff92b10a205dea0faad3', name: "bottom" }))))));
|
|
4559
4564
|
}
|
|
4560
4565
|
get host() { return getElement(this); }
|
|
4561
4566
|
static get cmpMeta() { return {
|
|
@@ -4674,11 +4679,10 @@ class GovFormFile {
|
|
|
4674
4679
|
if (this.expanded) {
|
|
4675
4680
|
const events = ["dragover", "dragleave"];
|
|
4676
4681
|
const inEvents = ["dragenter", "dragover", "mouseenter"];
|
|
4677
|
-
const outEvents = ["dragleave", "
|
|
4682
|
+
const outEvents = ["dragleave", "mouseleave"];
|
|
4678
4683
|
events.map(eventName => this.inputRef.addEventListener(eventName, this.preventDefaults.bind(this), false));
|
|
4679
4684
|
inEvents.map(eventName => this.inputRef.addEventListener(eventName, highlight.bind(this), false));
|
|
4680
4685
|
outEvents.forEach(eventName => this.inputRef.addEventListener(eventName, unhighlight.bind(this), false));
|
|
4681
|
-
this.areaRef.addEventListener("drop", this.handleDrop.bind(this), false);
|
|
4682
4686
|
}
|
|
4683
4687
|
}
|
|
4684
4688
|
preventDefaults(e) {
|
|
@@ -4744,7 +4748,7 @@ class GovFormFile {
|
|
|
4744
4748
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4745
4749
|
}
|
|
4746
4750
|
render() {
|
|
4747
|
-
return (hAsync(Host, { key: '
|
|
4751
|
+
return (hAsync(Host, { key: '92ee90aa5d8d28d310c0229ce513be88edafd68d', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, hAsync("div", { key: 'ada51c64168a7cb4dcb4f123e7f74fe401b63c82', class: FormFileClass.area, ref: el => (this.areaRef = el) }, hAsync("slot", { key: '77a4e7096f1949c8c284b0d6607ffd96567669ef' }), hAsync("input", Object.assign({ key: '63382d1ccfc1254b9073923713677af25ed0fed3', 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));
|
|
4748
4752
|
}
|
|
4749
4753
|
onRemoveFileHandler(file) {
|
|
4750
4754
|
const index = this.files.findIndex(item => item.id === file.id);
|
|
@@ -4810,7 +4814,7 @@ class GovFormFile {
|
|
|
4810
4814
|
"$members$": {
|
|
4811
4815
|
"expanded": [4],
|
|
4812
4816
|
"required": [4],
|
|
4813
|
-
"disabled": [
|
|
4817
|
+
"disabled": [516],
|
|
4814
4818
|
"resetAfterPick": [4, "reset-after-pick"],
|
|
4815
4819
|
"ignoreFileDuplicationCheck": [4, "ignore-file-duplication-check"],
|
|
4816
4820
|
"displayAttachments": [4, "display-attachments"],
|
|
@@ -4832,7 +4836,7 @@ class GovFormFile {
|
|
|
4832
4836
|
},
|
|
4833
4837
|
"$listeners$": undefined,
|
|
4834
4838
|
"$lazyBundleId$": "-",
|
|
4835
|
-
"$attrsToReflect$": []
|
|
4839
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
4836
4840
|
}; }
|
|
4837
4841
|
}
|
|
4838
4842
|
|
|
@@ -4858,7 +4862,7 @@ class GovFormGroup {
|
|
|
4858
4862
|
this.validateOrientation(this.orientation);
|
|
4859
4863
|
}
|
|
4860
4864
|
render() {
|
|
4861
|
-
return (hAsync(Host, { key: '
|
|
4865
|
+
return (hAsync(Host, { key: 'b7a379997ac1f4080471c42c23cad6f0ed055fd7', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, hAsync("slot", { key: 'a36809822e81913ec6c8cabdee9eaf64c9f9f471' })));
|
|
4862
4866
|
}
|
|
4863
4867
|
get host() { return getElement(this); }
|
|
4864
4868
|
static get watchers() { return {
|
|
@@ -4962,11 +4966,11 @@ class GovFormInput {
|
|
|
4962
4966
|
}
|
|
4963
4967
|
render() {
|
|
4964
4968
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4965
|
-
return (hAsync(Host, { key: '
|
|
4966
|
-
hAsync("div", { key: '
|
|
4967
|
-
hAsync("div", { key: '
|
|
4968
|
-
hAsync("gov-icon", { key: '
|
|
4969
|
-
hAsync("gov-icon", { key: '
|
|
4969
|
+
return (hAsync(Host, { key: '8b60864f0792fe1946d4b7cb6489cff0ffc767e1', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { key: '4d5d0bb755acbb42033f572633e4969c8e6e8b36', name: "prefix" }), hAsync("span", { key: 'eaac4a690052077ca631ae1e9c69a65518a1902f', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
|
|
4970
|
+
hAsync("div", { key: 'e8be567c923c023bce7d0ebf0cccff592ac15c5a', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, hAsync("slot", { key: '4c76013e8a7db99b43e7b8f426f3907d89708b5a', name: "icon-start" })), hAsync(Tag, Object.assign({ key: '22e1714e66085290e7fe984a4672512324143397', 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) &&
|
|
4971
|
+
hAsync("div", { key: '19ab7fe83fcecde7a506f21611fae64126464b88', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
|
|
4972
|
+
hAsync("gov-icon", { key: '9dd7b8413b351d957a63f7df09aee8b6e3e0ac53', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
|
|
4973
|
+
hAsync("gov-icon", { key: '06540c7f7cf3c0fbdab8b5a63aba35cf7a78df3a', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && hAsync("slot", { key: '8cb1103f101fa9bd5719f1657ae1a404fc3882f4', 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: '78308cfef71f34839d86af88df5dadb28c01adf1', name: "sufix" })));
|
|
4970
4974
|
}
|
|
4971
4975
|
onFocusHandler(e) {
|
|
4972
4976
|
e.stopPropagation();
|
|
@@ -5098,7 +5102,7 @@ class GovFormLabel {
|
|
|
5098
5102
|
}
|
|
5099
5103
|
render() {
|
|
5100
5104
|
const Tag = this.legend ? 'legend' : 'label';
|
|
5101
|
-
return (hAsync(Host, { key: '
|
|
5105
|
+
return (hAsync(Host, { key: '3f52c93a7721a458d430874b447421f7a5d30a41', class: FormLabelClass.root, size: this.size }, hAsync(Tag, { key: 'c122a9bce9b9a98b0c8c336190b70bc4bf5389cf', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, hAsync("slot", { key: 'de892d47334dbd3448a33d18586c77248b08b036' }), this.required ? hAsync("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
|
|
5102
5106
|
}
|
|
5103
5107
|
static get cmpMeta() { return {
|
|
5104
5108
|
"$flags$": 4,
|
|
@@ -5130,7 +5134,7 @@ class GovFormMessage {
|
|
|
5130
5134
|
this.validateColor(this.color);
|
|
5131
5135
|
}
|
|
5132
5136
|
render() {
|
|
5133
|
-
return (hAsync(Host, { key: '
|
|
5137
|
+
return (hAsync(Host, { key: '86a59a0001123abc4ff9350657f71e4e4ac1b0c5', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: '94f919d5d79ab453be3cccab92e695c9a9a79276', name: "icon" })), hAsync("span", { key: 'e112ca627b1d4deef23eb1567bcbb014a82388d9', id: this.messageId, class: FormMessageClass.content }, hAsync("slot", { key: '1733f5e338c14f5d353a77266359033b42469eff' }))));
|
|
5134
5138
|
}
|
|
5135
5139
|
/**
|
|
5136
5140
|
* Returns unique identifier of message
|
|
@@ -5319,11 +5323,11 @@ class GovFormMultiSelect {
|
|
|
5319
5323
|
});
|
|
5320
5324
|
}
|
|
5321
5325
|
render() {
|
|
5322
|
-
return (hAsync(Host, { key: '
|
|
5326
|
+
return (hAsync(Host, { key: 'e112f9d20d170e70616fd4f089b93dd040e737fa', class: FormMultiSelectClass.root, size: this.size }, hAsync("div", { key: 'ffc5af48051e7d24559e0c77a595b48e287771f5', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && hAsync("slot", { key: '3c22442cfbcb010f240a014ba7c9c48ec4522555', name: "prefix" }), hAsync("gov-form-autocomplete", { key: 'c02857a7ea06c203aa94b317837ea2c7c921b505', 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: '2b06057b6343fce21d08731f5a6675ffccfa3f6e', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '6f33cb3764c0df058b0743ba617c950cf7909cdc', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '05be66ee199dee177d0b18a7a6a59e25a724571f', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), hAsync("select", Object.assign({ key: 'd50fe47c2c859561b8aba62e6d6dedd7bceed6ae', 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: 'cf2ebfd8dc2cdf49c3581ba0ba3fff959a50a221' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5323
5327
|
var _a;
|
|
5324
5328
|
const selectedOption = this.selectedValueIndex(option.value);
|
|
5325
5329
|
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));
|
|
5326
|
-
})), this.h.hasSlot('sufix') && hAsync("slot", { key: '
|
|
5330
|
+
})), this.h.hasSlot('sufix') && hAsync("slot", { key: 'dddc8a99daeb345be9d778ade22622ae9ed35769', name: "sufix" })), this.hideSelectedList === false ? (hAsync("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
|
|
5327
5331
|
var _a, _b;
|
|
5328
5332
|
const option = this.getOption(selected);
|
|
5329
5333
|
if (!option)
|
|
@@ -5401,7 +5405,7 @@ class GovFormMultiSelect {
|
|
|
5401
5405
|
"name": [1],
|
|
5402
5406
|
"hideSelectedList": [4, "hide-selected-list"],
|
|
5403
5407
|
"required": [4],
|
|
5404
|
-
"disabled": [
|
|
5408
|
+
"disabled": [516],
|
|
5405
5409
|
"invalid": [516],
|
|
5406
5410
|
"success": [4],
|
|
5407
5411
|
"messageEmpty": [1, "message-empty"],
|
|
@@ -5417,7 +5421,7 @@ class GovFormMultiSelect {
|
|
|
5417
5421
|
},
|
|
5418
5422
|
"$listeners$": undefined,
|
|
5419
5423
|
"$lazyBundleId$": "-",
|
|
5420
|
-
"$attrsToReflect$": [["value", "value"], ["options", "options"], ["invalid", "invalid"]]
|
|
5424
|
+
"$attrsToReflect$": [["value", "value"], ["options", "options"], ["disabled", "disabled"], ["invalid", "invalid"]]
|
|
5421
5425
|
}; }
|
|
5422
5426
|
}
|
|
5423
5427
|
|
|
@@ -5433,7 +5437,7 @@ class GovFormPasswordPower {
|
|
|
5433
5437
|
this.power = undefined;
|
|
5434
5438
|
}
|
|
5435
5439
|
render() {
|
|
5436
|
-
return (hAsync(Host, { key: '
|
|
5440
|
+
return (hAsync(Host, { key: 'ca17606a7f29175d97da93daed3005a27b38d607', class: FormPasswordPowerClass.root }, hAsync("span", { key: 'b2b80382c10034b88adb971db02c7e3f901453ee', class: FormPasswordPowerClass.bar }, hAsync("span", { key: '0c0de35b5c257c175281792765d3fec89f5ee498' }), hAsync("span", { key: '92847bc51174d38543a2e0f9a1a7c3ba37fec6f4' }), hAsync("span", { key: '7cc7a9cbda4c54c4d1269874a1f8d2b91e533bad' })), hAsync("span", { key: 'de62cf845c51d870e4fa1b1b6156348be8460d6b', class: FormPasswordPowerClass.text }, hAsync("slot", { key: '8132df44d6ce3f83f89d1d45b34c182850663571' }))));
|
|
5437
5441
|
}
|
|
5438
5442
|
static get cmpMeta() { return {
|
|
5439
5443
|
"$flags$": 4,
|
|
@@ -5564,7 +5568,7 @@ class GovFormRadio {
|
|
|
5564
5568
|
"noLabel": [4, "no-label"],
|
|
5565
5569
|
"checked": [1540],
|
|
5566
5570
|
"required": [4],
|
|
5567
|
-
"disabled": [
|
|
5571
|
+
"disabled": [516],
|
|
5568
5572
|
"name": [1],
|
|
5569
5573
|
"size": [1],
|
|
5570
5574
|
"identifier": [1],
|
|
@@ -5574,11 +5578,11 @@ class GovFormRadio {
|
|
|
5574
5578
|
},
|
|
5575
5579
|
"$listeners$": undefined,
|
|
5576
5580
|
"$lazyBundleId$": "-",
|
|
5577
|
-
"$attrsToReflect$": [["checked", "checked"]]
|
|
5581
|
+
"$attrsToReflect$": [["checked", "checked"], ["disabled", "disabled"]]
|
|
5578
5582
|
}; }
|
|
5579
5583
|
}
|
|
5580
5584
|
|
|
5581
|
-
const govFormGroupCss = "
|
|
5585
|
+
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-s-nudge))}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-m))}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-m-nudge))}";
|
|
5582
5586
|
var GovFormRadioGroupStyle0 = govFormGroupCss;
|
|
5583
5587
|
|
|
5584
5588
|
class GovFormRadioGroup {
|
|
@@ -5625,7 +5629,7 @@ class GovFormRadioGroup {
|
|
|
5625
5629
|
});
|
|
5626
5630
|
}
|
|
5627
5631
|
render() {
|
|
5628
|
-
return (hAsync(Host, { key: '
|
|
5632
|
+
return (hAsync(Host, { key: '0526062e74e480edc22bdbbdf8c1f82a91ff463d', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: 'f11696b75d4f0c4bc72da3ca70d3111825edd36a' })));
|
|
5629
5633
|
}
|
|
5630
5634
|
get host() { return getElement(this); }
|
|
5631
5635
|
static get watchers() { return {
|
|
@@ -5660,7 +5664,7 @@ class GovFormSearch {
|
|
|
5660
5664
|
this.color = 'neutral';
|
|
5661
5665
|
}
|
|
5662
5666
|
render() {
|
|
5663
|
-
return (hAsync(Host, { key: '
|
|
5667
|
+
return (hAsync(Host, { key: '05f033c30dffd615b36b181535329704d46665ae', class: FormSearchClass.root, color: this.color, size: this.size }, hAsync("slot", { key: '7c7fb4e2d90ace38aef4b63454e1f9513903977c', name: "input" }), hAsync("slot", { key: '92484cbbbae29ba45bb963f80da8237d9406a91b', name: "button-erase" }), hAsync("slot", { key: '92ebb818ee922d790534ffb7816be400ff4a1f98', name: "button" })));
|
|
5664
5668
|
}
|
|
5665
5669
|
get host() { return getElement(this); }
|
|
5666
5670
|
static get cmpMeta() { return {
|
|
@@ -5752,10 +5756,10 @@ class GovFormSelect {
|
|
|
5752
5756
|
});
|
|
5753
5757
|
}
|
|
5754
5758
|
render() {
|
|
5755
|
-
return (hAsync(Host, { key: '
|
|
5759
|
+
return (hAsync(Host, { key: '1c2fb05a5cff0e1b1208130cc11568423f5a78a0', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && hAsync("slot", { key: '3dadb5773f1a2abe0c54f6ee45bb3a404fc99a5b', name: "prefix" }), hAsync("span", { key: '82bc3345147debd858c5f0eb4dd9c58faf168d5d', class: "element" }, hAsync("select", Object.assign({ key: 'ee77d1768a549faa0e94025eb5b08390c49d2d32', 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: '2c6e5a91381a7a9819b92aa7844a8d512aed9577' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5756
5760
|
var _a;
|
|
5757
5761
|
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));
|
|
5758
|
-
})), this.success && hAsync("gov-icon", { key: '
|
|
5762
|
+
})), this.success && hAsync("gov-icon", { key: 'b08abba818740a7250956bf03962fb86eade55c2', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '5b9c0a3e7f7b6b678880b2e17e43ae702fff023b', class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '8b9afa5ebf08b1dd680aac751f8a0559b83132fc', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && hAsync("slot", { key: '9178ca16301992f32c30f3609a388a2251d3bf85', name: "sufix" })));
|
|
5759
5763
|
}
|
|
5760
5764
|
onFocusHandler(e) {
|
|
5761
5765
|
this.focused = true;
|
|
@@ -5813,8 +5817,8 @@ class GovFormSelect {
|
|
|
5813
5817
|
"size": [1],
|
|
5814
5818
|
"name": [1],
|
|
5815
5819
|
"required": [4],
|
|
5816
|
-
"success": [
|
|
5817
|
-
"disabled": [
|
|
5820
|
+
"success": [516],
|
|
5821
|
+
"disabled": [516],
|
|
5818
5822
|
"invalid": [4],
|
|
5819
5823
|
"focused": [32],
|
|
5820
5824
|
"optionsState": [32],
|
|
@@ -5824,7 +5828,7 @@ class GovFormSelect {
|
|
|
5824
5828
|
},
|
|
5825
5829
|
"$listeners$": undefined,
|
|
5826
5830
|
"$lazyBundleId$": "-",
|
|
5827
|
-
"$attrsToReflect$": [["value", "value"], ["options", "options"]]
|
|
5831
|
+
"$attrsToReflect$": [["value", "value"], ["options", "options"], ["success", "success"], ["disabled", "disabled"]]
|
|
5828
5832
|
}; }
|
|
5829
5833
|
}
|
|
5830
5834
|
|
|
@@ -5946,9 +5950,9 @@ class GovFormSwitch {
|
|
|
5946
5950
|
"noLabel": [4, "no-label"],
|
|
5947
5951
|
"checked": [1540],
|
|
5948
5952
|
"required": [4],
|
|
5949
|
-
"disabled": [
|
|
5953
|
+
"disabled": [516],
|
|
5950
5954
|
"name": [1],
|
|
5951
|
-
"size": [
|
|
5955
|
+
"size": [513],
|
|
5952
5956
|
"identifier": [1],
|
|
5953
5957
|
"invalid": [4],
|
|
5954
5958
|
"inheritedAttributes": [32],
|
|
@@ -5956,7 +5960,7 @@ class GovFormSwitch {
|
|
|
5956
5960
|
},
|
|
5957
5961
|
"$listeners$": undefined,
|
|
5958
5962
|
"$lazyBundleId$": "-",
|
|
5959
|
-
"$attrsToReflect$": [["checked", "checked"]]
|
|
5963
|
+
"$attrsToReflect$": [["checked", "checked"], ["disabled", "disabled"], ["size", "size"]]
|
|
5960
5964
|
}; }
|
|
5961
5965
|
}
|
|
5962
5966
|
|
|
@@ -5976,7 +5980,7 @@ class GovGrid {
|
|
|
5976
5980
|
}
|
|
5977
5981
|
// vertical / horizontal align
|
|
5978
5982
|
render() {
|
|
5979
|
-
return (hAsync(Host, { key: '
|
|
5983
|
+
return (hAsync(Host, { key: 'd2f4e42a186e0d8020abc96ef3ca0956e1492d05', class: this.h.classes(GridClass.root), "align-x": this.alignX, "align-y": this.alignY, role: "list" }, hAsync("slot", { key: '46c60ccdda81ce271aeaca46bead1bf33e22c041' })));
|
|
5980
5984
|
}
|
|
5981
5985
|
get host() { return getElement(this); }
|
|
5982
5986
|
static get cmpMeta() { return {
|
|
@@ -6003,7 +6007,7 @@ class GovGridItem {
|
|
|
6003
6007
|
this.h = govHost(this.host);
|
|
6004
6008
|
}
|
|
6005
6009
|
render() {
|
|
6006
|
-
return (hAsync(Host, { key: '
|
|
6010
|
+
return (hAsync(Host, { key: 'e1dc6e3517618361ab3b5e3ad499a5bbbaae3d6a', class: this.h.classes(GridItemClass.root), role: "listitem", size: this.size, "size-sm": this.sizeSm, "size-md": this.sizeMd, "size-lg": this.sizeLg, "size-xl": this.sizeXl }, hAsync("slot", { key: '53780db95fa728f252302cb86923ad9e9fcd9b66' })));
|
|
6007
6011
|
}
|
|
6008
6012
|
get host() { return getElement(this); }
|
|
6009
6013
|
static get cmpMeta() { return {
|
|
@@ -6046,7 +6050,7 @@ const IconClass = {
|
|
|
6046
6050
|
holder: 'gov-icon__holder',
|
|
6047
6051
|
};
|
|
6048
6052
|
|
|
6049
|
-
const version = "4.1.
|
|
6053
|
+
const version = "4.1.2";
|
|
6050
6054
|
|
|
6051
6055
|
const dsVersion = () => {
|
|
6052
6056
|
return version;
|
|
@@ -6081,6 +6085,51 @@ async function fetchIcon({ name, type }) {
|
|
|
6081
6085
|
return path;
|
|
6082
6086
|
}
|
|
6083
6087
|
|
|
6088
|
+
const setCookie = (name, value, days) => {
|
|
6089
|
+
if (!isWindow) {
|
|
6090
|
+
return;
|
|
6091
|
+
}
|
|
6092
|
+
let expires = "";
|
|
6093
|
+
if (days) {
|
|
6094
|
+
const date = new Date();
|
|
6095
|
+
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
|
|
6096
|
+
expires = "; expires=" + date.toUTCString();
|
|
6097
|
+
}
|
|
6098
|
+
document.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;
|
|
6099
|
+
};
|
|
6100
|
+
const getCookie = (name) => {
|
|
6101
|
+
if (!isWindow) {
|
|
6102
|
+
return null;
|
|
6103
|
+
}
|
|
6104
|
+
const nameEQ = name + "=";
|
|
6105
|
+
const cookies = document.cookie.split(';');
|
|
6106
|
+
for (let i = 0; i < cookies.length; i++) {
|
|
6107
|
+
let cookie = cookies[i].trim();
|
|
6108
|
+
if (cookie.startsWith(nameEQ)) {
|
|
6109
|
+
return decodeURIComponent(cookie.substring(nameEQ.length));
|
|
6110
|
+
}
|
|
6111
|
+
}
|
|
6112
|
+
return null;
|
|
6113
|
+
};
|
|
6114
|
+
const isValidSVG = (svgContent) => {
|
|
6115
|
+
try {
|
|
6116
|
+
const parser = new DOMParser();
|
|
6117
|
+
const doc = parser.parseFromString(svgContent, "image/svg+xml");
|
|
6118
|
+
const parseError = doc.querySelector("parsererror");
|
|
6119
|
+
if (parseError) {
|
|
6120
|
+
return false;
|
|
6121
|
+
}
|
|
6122
|
+
const svgElement = doc.documentElement;
|
|
6123
|
+
if (svgElement.tagName.toLowerCase() !== "svg") {
|
|
6124
|
+
return false;
|
|
6125
|
+
}
|
|
6126
|
+
return true;
|
|
6127
|
+
}
|
|
6128
|
+
catch (error) {
|
|
6129
|
+
return false;
|
|
6130
|
+
}
|
|
6131
|
+
};
|
|
6132
|
+
|
|
6084
6133
|
class GovIcon {
|
|
6085
6134
|
constructor(hostRef) {
|
|
6086
6135
|
registerInstance(this, hostRef);
|
|
@@ -6136,7 +6185,7 @@ class GovIcon {
|
|
|
6136
6185
|
try {
|
|
6137
6186
|
const { name, type } = this;
|
|
6138
6187
|
const data = await fetchIcon({ name, type });
|
|
6139
|
-
const isValid =
|
|
6188
|
+
const isValid = isValidSVG(data);
|
|
6140
6189
|
this.host.innerHTML = isValid ? data : null;
|
|
6141
6190
|
}
|
|
6142
6191
|
catch (e) {
|
|
@@ -6223,8 +6272,8 @@ class GovInfobar {
|
|
|
6223
6272
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6224
6273
|
}
|
|
6225
6274
|
render() {
|
|
6226
|
-
const closeButton = (hAsync("gov-button", { key: '
|
|
6227
|
-
return (hAsync(Host, { key: '
|
|
6275
|
+
const closeButton = (hAsync("gov-button", { key: '2d0597a56f6edb97e7feff654ba98885fa48033a', 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: 'c17ba542b02a4910a136eec6cb4556d1857dffb2', name: "x-lg", type: "components" })));
|
|
6276
|
+
return (hAsync(Host, { key: 'd71d1b8ffe158de90f3fb520bd996a8246988d3d', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, hAsync("section", Object.assign({ key: '12cce82faa13fa39135fe92b0ab61bc2b01fa083', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), hAsync("slot", { key: 'bc48d4e5dfad03cd9c54054225a4c3db0ec09cd9', name: "icon" }), hAsync("div", { key: '70422e59cb69504d1aca5d45b9f9700b35b344f0', 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)));
|
|
6228
6277
|
}
|
|
6229
6278
|
onCloseHandler(e) {
|
|
6230
6279
|
this.govClose.emit({
|
|
@@ -6293,7 +6342,7 @@ class GovLayout {
|
|
|
6293
6342
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
6294
6343
|
}
|
|
6295
6344
|
render() {
|
|
6296
|
-
return (hAsync(Host, { key: '
|
|
6345
|
+
return (hAsync(Host, { key: 'c35fc39e07229363bdf36be5856165e7e8eb7985', type: this.type, class: this.h.classes(LayoutClass.root) }, hAsync("section", { key: 'dc50cf9cba8bd4e879291fddfbd41955f2d10330', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, hAsync("slot", { key: '017a329c119529d3893e187b6a8bbccfbbc76679' }))));
|
|
6297
6346
|
}
|
|
6298
6347
|
get host() { return getElement(this); }
|
|
6299
6348
|
static get cmpMeta() { return {
|
|
@@ -6316,7 +6365,7 @@ class GovLayoutColumn {
|
|
|
6316
6365
|
this.h = govHost(this.host);
|
|
6317
6366
|
}
|
|
6318
6367
|
render() {
|
|
6319
|
-
return (hAsync(Host, { key: '
|
|
6368
|
+
return (hAsync(Host, { key: 'ebef4ca76b1308a566c862b5a49eecf1eb3fce99', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: 'aaeefeb1a56b294d91b1327fd52eb16486cfb918' })));
|
|
6320
6369
|
}
|
|
6321
6370
|
get host() { return getElement(this); }
|
|
6322
6371
|
static get cmpMeta() { return {
|
|
@@ -6362,7 +6411,7 @@ class GovLifecycle {
|
|
|
6362
6411
|
console.log('componentDidUpdate', this.uniqueId);
|
|
6363
6412
|
}
|
|
6364
6413
|
render() {
|
|
6365
|
-
return (hAsync(Host, { key: '
|
|
6414
|
+
return (hAsync(Host, { key: '506eabaae01ae888fa838c10572e55bbe6fb7015', identifier: this.uniqueId }, hAsync("span", { key: '7604a29214fdffb1a470d83d7db37a583e5072ed' }, "lifecycle ", this.uniqueId)));
|
|
6366
6415
|
}
|
|
6367
6416
|
static get cmpMeta() { return {
|
|
6368
6417
|
"$flags$": 0,
|
|
@@ -6401,7 +6450,7 @@ class GovLink {
|
|
|
6401
6450
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6402
6451
|
}
|
|
6403
6452
|
render() {
|
|
6404
|
-
return (hAsync(Host, { key: '
|
|
6453
|
+
return (hAsync(Host, { key: '233af48c179501fe03ee2e5931806e1955913b59', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, hAsync("a", Object.assign({ key: '679067805205d76500979620b1ef4405139bb339', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), hAsync("slot", { key: 'd24c4ab99451f317a453c8131bd0506606322553', name: "icon-start" }), hAsync("slot", { key: '276923f48cdc13985115e8d4e8860a2fb0c692e2' }), this.external ? hAsync("gov-icon", { name: "box-arrow-up-right", type: "components" }) : hAsync("slot", { name: "icon-end" }))));
|
|
6405
6454
|
}
|
|
6406
6455
|
get host() { return getElement(this); }
|
|
6407
6456
|
static get watchers() { return {
|
|
@@ -6443,7 +6492,7 @@ class GovLoading {
|
|
|
6443
6492
|
this.validateSize(this.size);
|
|
6444
6493
|
}
|
|
6445
6494
|
render() {
|
|
6446
|
-
return (hAsync(Host, { key: '
|
|
6495
|
+
return (hAsync(Host, { key: '4c33339523674f2f2415dfb326131858de9eecf9', class: this.h.classes(LoadingClass.root), size: this.size }, hAsync("div", { key: '8c25628dd3072fd89665ccfedb9596383181b13d', class: LoadingClass.content }, hAsync("gov-icon", { key: 'a9969874350b5316c61a94b12d41a0130eeded0f', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), hAsync("slot", { key: '14c716ecc352a0d947a6e3d932d2ab9075dedb97' })), hAsync("gov-backdrop", { key: '507610e5a61b34be2166fb4a30539a134dc1b262', inverse: true })));
|
|
6447
6496
|
}
|
|
6448
6497
|
get host() { return getElement(this); }
|
|
6449
6498
|
static get watchers() { return {
|
|
@@ -6483,7 +6532,7 @@ class GovMessage {
|
|
|
6483
6532
|
validateProp(Colors, newValue, MessageClass.root);
|
|
6484
6533
|
}
|
|
6485
6534
|
render() {
|
|
6486
|
-
return (hAsync(Host, { key: '
|
|
6535
|
+
return (hAsync(Host, { key: 'b9e06c8f94940edf9d2c60119c35ec32baa23fc9', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (hAsync("slot", { key: 'd478f414de8eaa276cc867ae5bb325c1090b08ac', name: "icon" })), hAsync("div", { key: 'd5a113ca4061b445c583fb1b4f22fff594570b1e', class: MessageClass.content }, hAsync("slot", { key: 'e9be2f4ff3603c5f77d46e042455174e6ccfb7be' }))));
|
|
6487
6536
|
}
|
|
6488
6537
|
get host() { return getElement(this); }
|
|
6489
6538
|
static get watchers() { return {
|
|
@@ -6807,7 +6856,7 @@ class GovSkeleton {
|
|
|
6807
6856
|
return Object.assign({}, dimenssionsStyles);
|
|
6808
6857
|
}
|
|
6809
6858
|
render() {
|
|
6810
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
6859
|
+
return (hAsync(Host, Object.assign({ key: '175dad78f57ee2e44fe3097e0595f59254e1003b', size: this.size, color: this.color, class: {
|
|
6811
6860
|
[SkeletonClass.root]: true,
|
|
6812
6861
|
circle: this.shape === "circle",
|
|
6813
6862
|
line: this.shape === "line",
|
|
@@ -6870,7 +6919,7 @@ class GovSpacer {
|
|
|
6870
6919
|
this.validateBreakpoint(this.breakpoint);
|
|
6871
6920
|
}
|
|
6872
6921
|
render() {
|
|
6873
|
-
return hAsync(Host, { key: '
|
|
6922
|
+
return hAsync(Host, { key: '23aedb7f3b112a356319aba076eedf9a4743e25b', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
6874
6923
|
}
|
|
6875
6924
|
get host() { return getElement(this); }
|
|
6876
6925
|
static get watchers() { return {
|
|
@@ -6932,7 +6981,7 @@ class GovStepper {
|
|
|
6932
6981
|
this.hydrated = true;
|
|
6933
6982
|
}
|
|
6934
6983
|
render() {
|
|
6935
|
-
return (hAsync(Host, { key: '
|
|
6984
|
+
return (hAsync(Host, { key: '0815470dbe86e888ab922139e6f02347f89f4700', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: '2585c79a48236a8c2d333a437beb4d7f1d9d9d6c' })));
|
|
6936
6985
|
}
|
|
6937
6986
|
get host() { return getElement(this); }
|
|
6938
6987
|
static get watchers() { return {
|
|
@@ -6974,7 +7023,7 @@ class GovStepperItem {
|
|
|
6974
7023
|
render() {
|
|
6975
7024
|
const triggerId = this.identifier || this.triggerId;
|
|
6976
7025
|
const contentId = this.contentId;
|
|
6977
|
-
return (hAsync(Host, { key: '
|
|
7026
|
+
return (hAsync(Host, { key: 'c24400b8ee5917005e6e3a21f47024c7ebad2960', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (hAsync("span", { key: '010401daa60b44eed322de007fdd6e4ca035ff8d', class: StepperItemClass.prefix }, hAsync("slot", { key: '27287e54365c7e72e01dd21f8d07f7144dc03f3c', name: "prefix" }))), hAsync("div", { key: 'b50e23ee80b270bb5bb781c46e2cf2de73cad1bb' }, hAsync("span", { key: '84500822ca2e529bff5e5cf4eb7ac7c9f0fc9d97', class: StepperItemClass.headline }, hAsync("slot", { key: '18410e07be87715a96540789a82403bfab45e55c', name: "headline" })), hAsync("slot", { key: 'dd2c20b9f07d2bcbf4223eca8de0d7592d178e86', name: "annotation" }), this.h.hasSlot('content') && (hAsync("div", { key: 'cd34d17b5a14816dd91ee84f91a14217952bcfe5', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, hAsync("slot", { key: 'c90f411f8d63c6381f55a0e6ac819369a9bfd2e5', name: "content" }))))));
|
|
6978
7027
|
}
|
|
6979
7028
|
get host() { return getElement(this); }
|
|
6980
7029
|
static get watchers() { return {
|
|
@@ -7125,7 +7174,7 @@ class GovTabs {
|
|
|
7125
7174
|
});
|
|
7126
7175
|
}
|
|
7127
7176
|
render() {
|
|
7128
|
-
return (hAsync(Host, { key: '
|
|
7177
|
+
return (hAsync(Host, { key: '4efcbedcc355a74456cc899bc48c7aaf8c604c12', 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: 'a64d1a7cadd5950ebc687c3f3d741ea0a59a3684', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), hAsync("ul", { key: 'adab5148c97b041e11f3e7d11a4d87492df5320a', 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: '2a3720ce9449d62ecd1d58bac806bf356d37375a' })));
|
|
7129
7178
|
}
|
|
7130
7179
|
getCurrentTab() {
|
|
7131
7180
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -7258,7 +7307,7 @@ class GovTabsItem {
|
|
|
7258
7307
|
}
|
|
7259
7308
|
}
|
|
7260
7309
|
render() {
|
|
7261
|
-
return (hAsync(Host, { key: '
|
|
7310
|
+
return (hAsync(Host, { key: '89b01b0d025a89f89085dba24db6b8fadcd97e68', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("div", { key: '8868371d0da63c1727c8b3a55b930a4d0ce30a3c', 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: '0d47bea8c416b1c57aac006f9eea9101ade9427d' }))));
|
|
7262
7311
|
}
|
|
7263
7312
|
/**
|
|
7264
7313
|
* Returns a unique tab content identifier
|
|
@@ -7330,6 +7379,7 @@ class GovTag {
|
|
|
7330
7379
|
this.size = TagSizes._S;
|
|
7331
7380
|
this.color = ButtonColors.PRIMARY;
|
|
7332
7381
|
this.type = undefined;
|
|
7382
|
+
this.expanded = false;
|
|
7333
7383
|
this.h = govHost(this.host);
|
|
7334
7384
|
}
|
|
7335
7385
|
validateColor(newValue) {
|
|
@@ -7345,7 +7395,7 @@ class GovTag {
|
|
|
7345
7395
|
render() {
|
|
7346
7396
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
7347
7397
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
7348
|
-
return (hAsync(Host, { key: '
|
|
7398
|
+
return (hAsync(Host, { key: '8865709f2568a754160000138f413f352409e248', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, hAsync("span", { key: '4ae6dc1d60a207510de61c2391af9eb268dd3588', class: "element" }, hAsync("slot", { key: 'f08057eb346b918d1be45ad7561a71bac54237aa', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: '37554fce04335c45bb724efeb5e7701513336b7b', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: 'b66970bf42b9fd9217cb2e3a03c2f47c608b14a5' }), hAsync("slot", { key: '85bf0010dac55b808bba5a442d977e8538f93d3a', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '70bf541bac6a69871618cb520c7008099aa6f341', type: iconEnd.type, name: iconEnd.name })))));
|
|
7349
7399
|
}
|
|
7350
7400
|
get host() { return getElement(this); }
|
|
7351
7401
|
static get watchers() { return {
|
|
@@ -7360,11 +7410,12 @@ class GovTag {
|
|
|
7360
7410
|
"iconEnd": [1, "icon-end"],
|
|
7361
7411
|
"size": [513],
|
|
7362
7412
|
"color": [513],
|
|
7363
|
-
"type": [513]
|
|
7413
|
+
"type": [513],
|
|
7414
|
+
"expanded": [516]
|
|
7364
7415
|
},
|
|
7365
7416
|
"$listeners$": undefined,
|
|
7366
7417
|
"$lazyBundleId$": "-",
|
|
7367
|
-
"$attrsToReflect$": [["size", "size"], ["color", "color"], ["type", "type"]]
|
|
7418
|
+
"$attrsToReflect$": [["size", "size"], ["color", "color"], ["type", "type"], ["expanded", "expanded"]]
|
|
7368
7419
|
}; }
|
|
7369
7420
|
}
|
|
7370
7421
|
|
|
@@ -7374,8 +7425,6 @@ const ThemeSwitchClass = {
|
|
|
7374
7425
|
indicator: 'gov-theme-switch__indicator',
|
|
7375
7426
|
iconLight: 'gov-theme-switch__icon-light',
|
|
7376
7427
|
iconDark: 'gov-theme-switch__icon-dark',
|
|
7377
|
-
labelLight: 'gov-theme-switch__label-light',
|
|
7378
|
-
labelDark: 'gov-theme-switch__label-dark',
|
|
7379
7428
|
};
|
|
7380
7429
|
const ATTRIBUTE_THEME_NAME = 'data-theme';
|
|
7381
7430
|
|
|
@@ -7386,33 +7435,6 @@ var ThemeList;
|
|
|
7386
7435
|
ThemeList["dark"] = "dark";
|
|
7387
7436
|
})(ThemeList || (ThemeList = {}));
|
|
7388
7437
|
|
|
7389
|
-
const setCookie = (name, value, days) => {
|
|
7390
|
-
if (!isWindow) {
|
|
7391
|
-
return;
|
|
7392
|
-
}
|
|
7393
|
-
let expires = "";
|
|
7394
|
-
if (days) {
|
|
7395
|
-
const date = new Date();
|
|
7396
|
-
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
|
|
7397
|
-
expires = "; expires=" + date.toUTCString();
|
|
7398
|
-
}
|
|
7399
|
-
document.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;
|
|
7400
|
-
};
|
|
7401
|
-
const getCookie = (name) => {
|
|
7402
|
-
if (!isWindow) {
|
|
7403
|
-
return null;
|
|
7404
|
-
}
|
|
7405
|
-
const nameEQ = name + "=";
|
|
7406
|
-
const cookies = document.cookie.split(';');
|
|
7407
|
-
for (let i = 0; i < cookies.length; i++) {
|
|
7408
|
-
let cookie = cookies[i].trim();
|
|
7409
|
-
if (cookie.startsWith(nameEQ)) {
|
|
7410
|
-
return decodeURIComponent(cookie.substring(nameEQ.length));
|
|
7411
|
-
}
|
|
7412
|
-
}
|
|
7413
|
-
return null;
|
|
7414
|
-
};
|
|
7415
|
-
|
|
7416
7438
|
class GovThemeSwitch {
|
|
7417
7439
|
constructor(hostRef) {
|
|
7418
7440
|
registerInstance(this, hostRef);
|
|
@@ -7426,10 +7448,11 @@ class GovThemeSwitch {
|
|
|
7426
7448
|
});
|
|
7427
7449
|
};
|
|
7428
7450
|
this.size = "m";
|
|
7429
|
-
this.
|
|
7430
|
-
this.
|
|
7431
|
-
this.
|
|
7432
|
-
this.
|
|
7451
|
+
this.displayLabel = false;
|
|
7452
|
+
this.ariaLabelLight = "Přenout na tmavý mód";
|
|
7453
|
+
this.ariaLabelDark = "Přepnout na světlý mód";
|
|
7454
|
+
this.labelLight = "Světlý mód";
|
|
7455
|
+
this.labelDark = "Tmavý mód";
|
|
7433
7456
|
this.theme = ThemeList.auto;
|
|
7434
7457
|
this.h = govHost(this.host);
|
|
7435
7458
|
}
|
|
@@ -7474,7 +7497,7 @@ class GovThemeSwitch {
|
|
|
7474
7497
|
if (this.theme === ThemeList.auto) {
|
|
7475
7498
|
isDark = this.isSystemPrefersColorDark;
|
|
7476
7499
|
}
|
|
7477
|
-
return (hAsync(Host, { key: '
|
|
7500
|
+
return (hAsync(Host, { key: '784ed0513ea1436bb754dc82691646422789783b', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, hAsync("button", { key: 'd4abc155a8ae8f07d0a49c378e295c3ab57318d4', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-current": this.theme, "aria-label": isDark ? this.ariaLabelDark : this.ariaLabelLight }, hAsync("span", { key: '7f713875d5618acc919702cdc60e9db58dfb9db5' }, hAsync("span", { key: '0b57c0153047ef292b6bdc43b49e5a1a9cdc17e1', class: ThemeSwitchClass.indicator }, ThemeList.light && hAsync("gov-icon", { key: 'ae2c751435a2bc9c1e9f8dfa4ca52e13943ada9b', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && hAsync("gov-icon", { key: '7a4ee602a37742ab94dcee47a7c4970d5dce5bb6', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), this.displayLabel && (isDark ? this.labelDark : this.labelLight)))));
|
|
7478
7501
|
}
|
|
7479
7502
|
get host() { return getElement(this); }
|
|
7480
7503
|
static get watchers() { return {
|
|
@@ -7486,6 +7509,7 @@ class GovThemeSwitch {
|
|
|
7486
7509
|
"$tagName$": "gov-theme-switch",
|
|
7487
7510
|
"$members$": {
|
|
7488
7511
|
"size": [1],
|
|
7512
|
+
"displayLabel": [4, "display-label"],
|
|
7489
7513
|
"ariaLabelLight": [1, "aria-label-light"],
|
|
7490
7514
|
"ariaLabelDark": [1, "aria-label-dark"],
|
|
7491
7515
|
"labelLight": [1, "label-light"],
|
|
@@ -7520,7 +7544,7 @@ class GovTile {
|
|
|
7520
7544
|
this.h = govHost(this.host);
|
|
7521
7545
|
}
|
|
7522
7546
|
render() {
|
|
7523
|
-
return (hAsync(Host, { key: '
|
|
7547
|
+
return (hAsync(Host, { key: 'c766f3d54f15e5a49a877fa2e67593d084f487f7', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, hAsync("slot", { key: 'd07b106d781fead65a124c82d11ebe991fddfece', name: "icon" }), hAsync("div", { key: 'eeee0397b4384a473f3782750d1e04f0c8c7894d', class: TileClass.content }, hAsync("div", { key: 'f4081902e55b964b1ebbdd43f7b189f83dce8690', class: TileClass.text }, hAsync("div", { key: '3bf8cf35db6f667de7c278786787e38b1392a5b2', 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: '088f60531285a1457277352a011766f809d9280d', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, hAsync("slot", { key: '8d4a612e3aff054a60ec1030eb5a28903595ea6a' }))), hAsync("slot", { key: 'f7610d06a6d951b3a24f2e129342bb82c5e9d767', name: "button" }))));
|
|
7524
7548
|
}
|
|
7525
7549
|
/**
|
|
7526
7550
|
* Returns a clickable element instance
|
|
@@ -7557,7 +7581,7 @@ class GovTiles {
|
|
|
7557
7581
|
this.h = govHost(this.host);
|
|
7558
7582
|
}
|
|
7559
7583
|
render() {
|
|
7560
|
-
return (hAsync(Host, { key: '
|
|
7584
|
+
return (hAsync(Host, { key: '18eb380e2fe62b54a90c5c758c62c985107c98d4', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: '9746ede80d0daa8776208afb5cef44b7adb0d7fc' })));
|
|
7561
7585
|
}
|
|
7562
7586
|
get host() { return getElement(this); }
|
|
7563
7587
|
static get cmpMeta() { return {
|
|
@@ -7636,7 +7660,7 @@ class GovToast {
|
|
|
7636
7660
|
}
|
|
7637
7661
|
}
|
|
7638
7662
|
render() {
|
|
7639
|
-
return (hAsync(Host, { key: '
|
|
7663
|
+
return (hAsync(Host, { key: '632972ed59aac0d696428d6f32e6c99615ccf687', 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: 'da93a05f1976eeb4e356160fd0daea409b836a05', class: ToastClass.icon }, hAsync("slot", { key: 'd374f5dea570b27643d960e65d0d5b2c710cb2b4', name: "icon" }))), hAsync("div", Object.assign({ key: '1680aff627c809348ae7812ab72a34dbad33a368', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), hAsync("slot", { key: '8208b697e9fbefd964a17c6bfdb06d3a5ff9d2f2' })), hAsync("gov-button", { key: '9f05e19a672f66c2203a5556370e12e2ce7819f7', 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: 'a954d22ce3a0e06e2d17aa14903dae7264d9e03c', class: ToastClass.timer })));
|
|
7640
7664
|
}
|
|
7641
7665
|
onCloseHandler() {
|
|
7642
7666
|
this.govClose.emit(this.toastId);
|
|
@@ -7893,11 +7917,11 @@ class GovTooltip {
|
|
|
7893
7917
|
}
|
|
7894
7918
|
render() {
|
|
7895
7919
|
var _a;
|
|
7896
|
-
return (hAsync(Host, { key: '
|
|
7920
|
+
return (hAsync(Host, { key: '2e96da1a9d7afd70abb4ffd2e979210cc179680e', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: '9c9c06d716556faa56f5ba9a952ea867c5533b2b', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
7897
7921
|
if (this.persist === false) {
|
|
7898
7922
|
this.hideTooltip();
|
|
7899
7923
|
}
|
|
7900
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
7924
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '29549049c0bfbe311980aa6a630ff9eff8e35f40' }))));
|
|
7901
7925
|
}
|
|
7902
7926
|
/**
|
|
7903
7927
|
* Showing the modal
|
|
@@ -7968,7 +7992,7 @@ class GovTooltipContent {
|
|
|
7968
7992
|
}
|
|
7969
7993
|
}
|
|
7970
7994
|
render() {
|
|
7971
|
-
return (hAsync(Host, { key: '
|
|
7995
|
+
return (hAsync(Host, { key: '965998f4788ddd5dffd01b53073a001023cd9037', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, hAsync("slot", { key: 'fe9d1ee13a11077947492341836f8f25c1f8881f' }), 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));
|
|
7972
7996
|
}
|
|
7973
7997
|
get host() { return getElement(this); }
|
|
7974
7998
|
static get watchers() { return {
|
|
@@ -8042,7 +8066,7 @@ class GovWizard {
|
|
|
8042
8066
|
this.hydrated = true;
|
|
8043
8067
|
}
|
|
8044
8068
|
render() {
|
|
8045
|
-
return (hAsync(Host, { key: '
|
|
8069
|
+
return (hAsync(Host, { key: 'd75ce2d5499cef41ac6b316f313b0c5c446d0b55', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'ea151639d058fa4e50427a893fa167969a453d39' })));
|
|
8046
8070
|
}
|
|
8047
8071
|
/**
|
|
8048
8072
|
* Validate the WCAG attributes of the component
|
|
@@ -8104,8 +8128,8 @@ class GovWizardItem {
|
|
|
8104
8128
|
render() {
|
|
8105
8129
|
const triggerId = this.identifier || this.triggerId;
|
|
8106
8130
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
8107
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
8108
|
-
return (hAsync(Host, { key: '
|
|
8131
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: 'abdd15cfa834f393b29335ea2bda28cd1dfeef46', class: WizardItemClass.prefix }, hAsync("slot", { key: '123c495809091879ab3d985b9bcb4a22005e4b75', name: "prefix" })));
|
|
8132
|
+
return (hAsync(Host, { key: '463384ea408a20992bf6f30f142fce7146fabf53', 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: '0b60621607cd8c48fe05fd1755f9f7b8514d425d', 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) => {
|
|
8109
8133
|
e.preventDefault();
|
|
8110
8134
|
e.stopPropagation();
|
|
8111
8135
|
this.toggle();
|