@gov-design-system-ce/components 4.6.3 → 4.6.5-b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -1
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/gov-banner.cjs.entry.js +3 -3
- package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-banner.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-flex_3.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +67 -23
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-autocomplete.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +65 -12
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +8 -15
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-select.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-tooltip.gov-tooltip-content.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-tooltip_2.cjs.entry.js +34 -9
- package/dist/cjs/gov-tooltip_2.cjs.entry.js.map +1 -1
- 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-BEF5cZxd.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/gov-banner/gov-banner.js +4 -4
- package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/autocomplete.utils.js +14 -0
- package/dist/collection/components/gov-form/autocomplete/autocomplete.utils.js.map +1 -0
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +76 -22
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +39 -3
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.js +2 -2
- package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +8 -15
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +22 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +31 -8
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- 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/utils/file.utils.js +28 -9
- package/dist/collection/utils/file.utils.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-banner.js +1 -1
- package/dist/components/gov-banner.js.map +1 -1
- package/dist/components/gov-blockquote.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-chip.js +1 -1
- package/dist/components/gov-collapsible.js +1 -1
- package/dist/components/gov-collapsible.js.map +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-dropdown.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-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox-group.js +1 -1
- package/dist/components/gov-form-checkbox.js +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-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-radio-group.js +1 -1
- package/dist/components/gov-form-radio.js +1 -1
- package/dist/components/gov-form-range.js +1 -1
- package/dist/components/gov-form-range.js.map +1 -1
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-search.js.map +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-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-link.js +1 -1
- package/dist/components/gov-loading.js +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-theme-switch.js +1 -1
- package/dist/components/gov-tile.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-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/{p-BZTY3MxF.js → p-BGK46VRO.js} +2 -2
- package/dist/components/{p-DKo9A5gq.js → p-BHRF-5cf.js} +2 -2
- package/dist/components/{p-DesycS6d.js → p-BICk4EuO.js} +2 -2
- package/dist/components/{p-Bv5L0j6n.js → p-BNoNH6m-.js} +2 -2
- package/dist/components/{p-9imLQpxb.js → p-BSr8e18S.js} +2 -2
- package/dist/components/{p-BNnuBQvo.js → p-BxS4InzB.js} +2 -2
- package/dist/components/{p-CfaJM4SA.js → p-CMmyR4-k.js} +2 -2
- package/dist/components/{p-B0KFtEn3.js → p-CU0plGZP.js} +2 -2
- package/dist/components/{p-djqfSbq-.js → p-ClDhNt_H.js} +2 -2
- package/dist/components/{p-yqJEurSE.js → p-CnKqUwf9.js} +2 -2
- package/dist/components/p-DRXiDAHW.js +2 -0
- package/dist/components/{p-BrdXh0mI.js.map → p-DRXiDAHW.js.map} +1 -1
- package/dist/components/p-DjGO_trZ.js +2 -0
- package/dist/components/p-DjGO_trZ.js.map +1 -0
- package/dist/components/p-DmK9qaKH.js +2 -0
- package/dist/components/p-DmK9qaKH.js.map +1 -0
- package/dist/components/p-isPjiQbr.js +2 -0
- package/dist/components/p-isPjiQbr.js.map +1 -0
- package/dist/components/p-keC6luw7.js +2 -0
- package/dist/components/p-keC6luw7.js.map +1 -0
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-3314505d.entry.js → p-00ab0454.entry.js} +2 -2
- package/dist/core/{p-3314505d.entry.js.map → p-00ab0454.entry.js.map} +1 -1
- package/dist/core/{p-9d9e9401.entry.js → p-05bb35e1.entry.js} +2 -2
- package/dist/core/{p-9d9e9401.entry.js.map → p-05bb35e1.entry.js.map} +1 -1
- package/dist/core/{p-e30968b3.entry.js → p-06497d64.entry.js} +2 -2
- package/dist/core/{p-e30968b3.entry.js.map → p-06497d64.entry.js.map} +1 -1
- package/dist/core/p-0675617d.entry.js +2 -0
- package/dist/core/{p-fca7a0d6.entry.js.map → p-0675617d.entry.js.map} +1 -1
- package/dist/core/{p-4d36cd18.entry.js → p-2493a7f3.entry.js} +2 -2
- package/dist/core/{p-4d36cd18.entry.js.map → p-2493a7f3.entry.js.map} +1 -1
- package/dist/core/p-2e15a654.entry.js +2 -0
- package/dist/core/{p-bd2df430.entry.js.map → p-2e15a654.entry.js.map} +1 -1
- package/dist/core/{p-1626cc67.entry.js → p-30ad7514.entry.js} +2 -2
- package/dist/core/{p-1626cc67.entry.js.map → p-30ad7514.entry.js.map} +1 -1
- package/dist/core/{p-558e75a6.entry.js → p-378cf8de.entry.js} +2 -2
- package/dist/core/{p-558e75a6.entry.js.map → p-378cf8de.entry.js.map} +1 -1
- package/dist/core/{p-be9af807.entry.js → p-3a4799b3.entry.js} +2 -2
- package/dist/core/{p-be9af807.entry.js.map → p-3a4799b3.entry.js.map} +1 -1
- package/dist/core/{p-f7bdb44a.entry.js → p-3ebbe75a.entry.js} +2 -2
- package/dist/core/{p-f7bdb44a.entry.js.map → p-3ebbe75a.entry.js.map} +1 -1
- package/dist/core/p-41bef63a.entry.js +2 -0
- package/dist/core/{p-469f14db.entry.js.map → p-41bef63a.entry.js.map} +1 -1
- package/dist/core/p-4342c252.entry.js +2 -0
- package/dist/core/p-4342c252.entry.js.map +1 -0
- package/dist/core/{p-c1b9f1ab.entry.js → p-473afd7d.entry.js} +2 -2
- package/dist/core/{p-c1b9f1ab.entry.js.map → p-473afd7d.entry.js.map} +1 -1
- package/dist/core/{p-5721cf9b.entry.js → p-48b74272.entry.js} +2 -2
- package/dist/core/{p-5721cf9b.entry.js.map → p-48b74272.entry.js.map} +1 -1
- package/dist/core/{p-04ec45ab.entry.js → p-49b67f59.entry.js} +2 -2
- package/dist/core/{p-04ec45ab.entry.js.map → p-49b67f59.entry.js.map} +1 -1
- package/dist/core/{p-6b44890d.entry.js → p-4bd3f101.entry.js} +2 -2
- package/dist/core/{p-6b44890d.entry.js.map → p-4bd3f101.entry.js.map} +1 -1
- package/dist/core/{p-157a1636.entry.js → p-4e534d68.entry.js} +2 -2
- package/dist/core/{p-157a1636.entry.js.map → p-4e534d68.entry.js.map} +1 -1
- package/dist/core/p-6638d034.entry.js +2 -0
- package/dist/core/{p-73bd93f9.entry.js.map → p-6638d034.entry.js.map} +1 -1
- package/dist/core/{p-46824842.entry.js → p-68a5d225.entry.js} +2 -2
- package/dist/core/{p-46824842.entry.js.map → p-68a5d225.entry.js.map} +1 -1
- package/dist/core/p-6ac9b0f2.entry.js +2 -0
- package/dist/core/p-6ac9b0f2.entry.js.map +1 -0
- package/dist/core/{p-0af96cc0.entry.js → p-6b0625ee.entry.js} +2 -2
- package/dist/core/{p-0af96cc0.entry.js.map → p-6b0625ee.entry.js.map} +1 -1
- package/dist/core/{p-4d365881.entry.js → p-78202a44.entry.js} +2 -2
- package/dist/core/{p-4d365881.entry.js.map → p-78202a44.entry.js.map} +1 -1
- package/dist/core/{p-eb766437.entry.js → p-80052953.entry.js} +2 -2
- package/dist/core/{p-eb766437.entry.js.map → p-80052953.entry.js.map} +1 -1
- package/dist/core/{p-d43959a0.entry.js → p-8ddb6dc6.entry.js} +2 -2
- package/dist/core/{p-d43959a0.entry.js.map → p-8ddb6dc6.entry.js.map} +1 -1
- package/dist/core/{p-d9c574f0.entry.js → p-90cc2ddb.entry.js} +2 -2
- package/dist/core/{p-d9c574f0.entry.js.map → p-90cc2ddb.entry.js.map} +1 -1
- package/dist/core/{p-f3887d6d.entry.js → p-91d5df66.entry.js} +2 -2
- package/dist/core/{p-f3887d6d.entry.js.map → p-91d5df66.entry.js.map} +1 -1
- package/dist/core/{p-187c0eda.entry.js → p-9321fb9d.entry.js} +2 -2
- package/dist/core/{p-187c0eda.entry.js.map → p-9321fb9d.entry.js.map} +1 -1
- package/dist/core/p-943a58b2.entry.js +2 -0
- package/dist/core/{p-33209782.entry.js.map → p-943a58b2.entry.js.map} +1 -1
- package/dist/core/p-B6CqPcY_.js.map +1 -1
- package/dist/core/p-B8TR1oqt.js +3 -0
- package/dist/core/p-B8TR1oqt.js.map +1 -0
- package/dist/core/p-BUmDydor.js.map +1 -1
- package/dist/core/p-BcQO4NH2.js.map +1 -1
- package/dist/core/p-BjcqOprh.js.map +1 -1
- package/dist/core/p-Bo1ROm5Q.js.map +1 -1
- package/dist/core/p-Bz_RzYFb.js.map +1 -1
- package/dist/core/p-C3R1T_pg.js.map +1 -1
- package/dist/core/p-C6JN9gdb.js.map +1 -1
- package/dist/core/p-CDIRBJsi.js.map +1 -1
- package/dist/core/p-CQvUntGY.js.map +1 -1
- package/dist/core/p-Ccwpa1ck.js.map +1 -1
- package/dist/core/p-CgDnDrq5.js.map +1 -1
- package/dist/core/p-Cjg0wpDG.js.map +1 -1
- package/dist/core/p-CoD1xawt.js.map +1 -1
- package/dist/core/p-Cx3bEC5v.js.map +1 -1
- package/dist/core/p-D4TGB274.js.map +1 -1
- package/dist/core/p-DBXGhafv.js.map +1 -1
- package/dist/core/p-DNztiAH0.js.map +1 -1
- package/dist/core/p-DQuL1Twl.js.map +1 -1
- package/dist/core/p-DYcNEwSZ.js.map +1 -1
- package/dist/core/p-EeKNA85D.js.map +1 -1
- package/dist/core/p-GYov8gU1.js.map +1 -1
- package/dist/core/p-NOJjz9dT.js.map +1 -1
- package/dist/core/p-Q99QrOoi.js.map +1 -1
- package/dist/core/p-U40vKHrs.js.map +1 -1
- package/dist/core/p-a4fa2ffc.entry.js +2 -0
- package/dist/core/{p-c4734357.entry.js.map → p-a4fa2ffc.entry.js.map} +1 -1
- package/dist/core/{p-511eed88.entry.js → p-a6f27583.entry.js} +2 -2
- package/dist/core/{p-511eed88.entry.js.map → p-a6f27583.entry.js.map} +1 -1
- package/dist/core/p-a7c322a7.entry.js +2 -0
- package/dist/core/{p-abb7780e.entry.js.map → p-a7c322a7.entry.js.map} +1 -1
- package/dist/core/{p-6d2ce4c7.entry.js → p-ab367b0c.entry.js} +2 -2
- package/dist/core/{p-6d2ce4c7.entry.js.map → p-ab367b0c.entry.js.map} +1 -1
- package/dist/core/{p-c6b55c0a.entry.js → p-ac81cdf6.entry.js} +2 -2
- package/dist/core/{p-c6b55c0a.entry.js.map → p-ac81cdf6.entry.js.map} +1 -1
- package/dist/core/{p-a2c61d50.entry.js → p-ad9227b3.entry.js} +2 -2
- package/dist/core/{p-a2c61d50.entry.js.map → p-ad9227b3.entry.js.map} +1 -1
- package/dist/core/p-af2bd9d3.entry.js +2 -0
- package/dist/core/p-af2bd9d3.entry.js.map +1 -0
- package/dist/core/{p-70b5555f.entry.js → p-b0d4d6bd.entry.js} +2 -2
- package/dist/core/{p-70b5555f.entry.js.map → p-b0d4d6bd.entry.js.map} +1 -1
- package/dist/core/p-b181f85f.entry.js +2 -0
- package/dist/core/{p-57ca8ac7.entry.js.map → p-b181f85f.entry.js.map} +1 -1
- package/dist/core/{p-5305e82e.entry.js → p-b2648255.entry.js} +2 -2
- package/dist/core/{p-5305e82e.entry.js.map → p-b2648255.entry.js.map} +1 -1
- package/dist/core/{p-65a09763.entry.js → p-b37bd421.entry.js} +2 -2
- package/dist/core/{p-65a09763.entry.js.map → p-b37bd421.entry.js.map} +1 -1
- package/dist/core/{p-91cbee1b.entry.js → p-b5e40f40.entry.js} +2 -2
- package/dist/core/{p-91cbee1b.entry.js.map → p-b5e40f40.entry.js.map} +1 -1
- package/dist/core/p-b77c283e.entry.js +2 -0
- package/dist/core/{p-bd389bfd.entry.js.map → p-b77c283e.entry.js.map} +1 -1
- package/dist/core/p-bb5b9ccd.entry.js +2 -0
- package/dist/core/p-bb5b9ccd.entry.js.map +1 -0
- package/dist/core/{p-4c02094d.entry.js → p-c9b2f97c.entry.js} +2 -2
- package/dist/core/{p-4c02094d.entry.js.map → p-c9b2f97c.entry.js.map} +1 -1
- package/dist/core/{p-eb3f6808.entry.js → p-caf817d4.entry.js} +2 -2
- package/dist/core/{p-eb3f6808.entry.js.map → p-caf817d4.entry.js.map} +1 -1
- package/dist/core/p-dc0bd1e5.entry.js +2 -0
- package/dist/core/{p-3e07bf07.entry.js.map → p-dc0bd1e5.entry.js.map} +1 -1
- package/dist/core/{p-db860031.entry.js → p-dd390459.entry.js} +2 -2
- package/dist/core/{p-db860031.entry.js.map → p-dd390459.entry.js.map} +1 -1
- package/dist/core/p-de5dfd70.entry.js +2 -0
- package/dist/core/{p-4da8ac1d.entry.js.map → p-de5dfd70.entry.js.map} +1 -1
- package/dist/core/p-dfb76a14.entry.js +2 -0
- package/dist/core/p-dfb76a14.entry.js.map +1 -0
- package/dist/core/{p-cd163299.entry.js → p-e17def2b.entry.js} +2 -2
- package/dist/core/{p-cd163299.entry.js.map → p-e17def2b.entry.js.map} +1 -1
- package/dist/core/{p-e39e5dc7.entry.js → p-e1d58751.entry.js} +2 -2
- package/dist/core/{p-e39e5dc7.entry.js.map → p-e1d58751.entry.js.map} +1 -1
- package/dist/core/{p-3e07bf07.entry.js → p-e913cfc8.entry.js} +2 -2
- package/dist/core/{p-90ab65b4.entry.js.map → p-e913cfc8.entry.js.map} +1 -1
- package/dist/core/{p-da997fb3.entry.js → p-ea299832.entry.js} +2 -2
- package/dist/core/{p-da997fb3.entry.js.map → p-ea299832.entry.js.map} +1 -1
- package/dist/core/{p-852310d9.entry.js → p-eff8ffff.entry.js} +2 -2
- package/dist/core/{p-852310d9.entry.js.map → p-eff8ffff.entry.js.map} +1 -1
- package/dist/core/{p-4d902f20.entry.js → p-f2d24551.entry.js} +2 -2
- package/dist/core/{p-4d902f20.entry.js.map → p-f2d24551.entry.js.map} +1 -1
- package/dist/core/{p-5c872d64.entry.js → p-f515d912.entry.js} +2 -2
- package/dist/core/{p-bf573a56.entry.js → p-febff4d1.entry.js} +2 -2
- package/dist/core/{p-bf573a56.entry.js.map → p-febff4d1.entry.js.map} +1 -1
- package/dist/core/p-vN03FcXN.js.map +1 -1
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-banner.entry.js +3 -3
- package/dist/esm/gov-banner.entry.js.map +1 -1
- package/dist/esm/gov-flex_3.entry.js +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +68 -24
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-file.entry.js +65 -12
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-search.entry.js +1 -1
- package/dist/esm/gov-form-search.entry.js.map +1 -1
- package/dist/esm/gov-form-select.entry.js +8 -15
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip_2.entry.js +34 -9
- package/dist/esm/gov-tooltip_2.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +2 -2
- package/dist/esm/gov-wizard.entry.js +1 -1
- package/dist/esm/index-ClISz4NF.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/hydrate/index.js +187 -69
- package/dist/hydrate/index.mjs +187 -69
- package/dist/types/Users/jf/dev/designSystem/gov-design-system/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
- package/dist/types/components/gov-form/autocomplete/autocomplete.utils.d.ts +2 -0
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +9 -0
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +1 -0
- package/dist/types/components/gov-form/select/gov-form-select.d.ts +1 -1
- package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +4 -0
- package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +3 -0
- package/dist/types/components.d.ts +612 -121
- package/dist/types/stencil-public-runtime.d.ts +170 -11
- package/package.json +32 -28
- package/readme.md +8 -0
- package/dist/components/p-BrdXh0mI.js +0 -2
- package/dist/components/p-DFu5UVoP.js +0 -2
- package/dist/components/p-DFu5UVoP.js.map +0 -1
- package/dist/components/p-DMVQRz4f.js +0 -2
- package/dist/components/p-DMVQRz4f.js.map +0 -1
- package/dist/components/p-UDT3DloZ.js +0 -2
- package/dist/components/p-UDT3DloZ.js.map +0 -1
- package/dist/components/p-x3w8Mun_.js +0 -2
- package/dist/components/p-x3w8Mun_.js.map +0 -1
- package/dist/core/core.css +0 -14776
- package/dist/core/gov-accordion-item.entry.esm.js.map +0 -1
- package/dist/core/gov-accordion.entry.esm.js.map +0 -1
- package/dist/core/gov-attachments.gov-attachments-item.gov-form-message.entry.esm.js.map +0 -1
- package/dist/core/gov-backdrop.entry.esm.js.map +0 -1
- package/dist/core/gov-banner.entry.esm.js.map +0 -1
- package/dist/core/gov-blockquote.entry.esm.js.map +0 -1
- package/dist/core/gov-breadcrumbs.entry.esm.js.map +0 -1
- package/dist/core/gov-button.entry.esm.js.map +0 -1
- package/dist/core/gov-card.entry.esm.js.map +0 -1
- package/dist/core/gov-chip.entry.esm.js.map +0 -1
- package/dist/core/gov-collapsible.entry.esm.js.map +0 -1
- package/dist/core/gov-container.entry.esm.js.map +0 -1
- package/dist/core/gov-control-group.entry.esm.js.map +0 -1
- package/dist/core/gov-cookiebar.entry.esm.js.map +0 -1
- package/dist/core/gov-dialog.entry.esm.js.map +0 -1
- package/dist/core/gov-dropdown.entry.esm.js.map +0 -1
- package/dist/core/gov-empty.entry.esm.js.map +0 -1
- package/dist/core/gov-error-code.entry.esm.js.map +0 -1
- package/dist/core/gov-flex.gov-icon.gov-theme-switch.entry.esm.js.map +0 -1
- package/dist/core/gov-form-autocomplete.entry.esm.js.map +0 -1
- package/dist/core/gov-form-checkbox-group.entry.esm.js.map +0 -1
- package/dist/core/gov-form-checkbox.entry.esm.js.map +0 -1
- package/dist/core/gov-form-control.entry.esm.js.map +0 -1
- package/dist/core/gov-form-file.entry.esm.js.map +0 -1
- package/dist/core/gov-form-group.entry.esm.js.map +0 -1
- package/dist/core/gov-form-input.gov-skeleton.entry.esm.js.map +0 -1
- package/dist/core/gov-form-label.entry.esm.js.map +0 -1
- package/dist/core/gov-form-multi-select.entry.esm.js.map +0 -1
- package/dist/core/gov-form-password-power.entry.esm.js.map +0 -1
- package/dist/core/gov-form-radio-group.entry.esm.js.map +0 -1
- package/dist/core/gov-form-radio.entry.esm.js.map +0 -1
- package/dist/core/gov-form-range.entry.esm.js.map +0 -1
- package/dist/core/gov-form-search.entry.esm.js.map +0 -1
- package/dist/core/gov-form-select.entry.esm.js.map +0 -1
- package/dist/core/gov-form-switch.entry.esm.js.map +0 -1
- package/dist/core/gov-grid-item.entry.esm.js.map +0 -1
- package/dist/core/gov-grid.entry.esm.js.map +0 -1
- package/dist/core/gov-infobar.entry.esm.js.map +0 -1
- package/dist/core/gov-layout-column.entry.esm.js.map +0 -1
- package/dist/core/gov-layout.entry.esm.js.map +0 -1
- package/dist/core/gov-lifecycle.entry.esm.js.map +0 -1
- package/dist/core/gov-link.entry.esm.js.map +0 -1
- package/dist/core/gov-loading.entry.esm.js.map +0 -1
- package/dist/core/gov-message.entry.esm.js.map +0 -1
- package/dist/core/gov-pagination.entry.esm.js.map +0 -1
- package/dist/core/gov-spacer.entry.esm.js.map +0 -1
- package/dist/core/gov-stepper-item.entry.esm.js.map +0 -1
- package/dist/core/gov-stepper.entry.esm.js.map +0 -1
- package/dist/core/gov-tabs-item.entry.esm.js.map +0 -1
- package/dist/core/gov-tabs.entry.esm.js.map +0 -1
- package/dist/core/gov-tag.entry.esm.js.map +0 -1
- package/dist/core/gov-tile.entry.esm.js.map +0 -1
- package/dist/core/gov-toast.entry.esm.js.map +0 -1
- package/dist/core/gov-tooltip.gov-tooltip-content.entry.esm.js.map +0 -1
- package/dist/core/gov-wizard-item.entry.esm.js.map +0 -1
- package/dist/core/gov-wizard.entry.esm.js.map +0 -1
- package/dist/core/loader.esm.js.map +0 -1
- package/dist/core/p-11fc3899.entry.js +0 -2
- package/dist/core/p-11fc3899.entry.js.map +0 -1
- package/dist/core/p-33209782.entry.js +0 -2
- package/dist/core/p-33b462c9.entry.js +0 -2
- package/dist/core/p-33b462c9.entry.js.map +0 -1
- package/dist/core/p-3e5ae012.entry.js +0 -2
- package/dist/core/p-3e5ae012.entry.js.map +0 -1
- package/dist/core/p-469f14db.entry.js +0 -2
- package/dist/core/p-4da8ac1d.entry.js +0 -2
- package/dist/core/p-57ca8ac7.entry.js +0 -2
- package/dist/core/p-73bd93f9.entry.js +0 -2
- package/dist/core/p-90ab65b4.entry.js +0 -2
- package/dist/core/p-ClISz4NF.js +0 -3
- package/dist/core/p-ClISz4NF.js.map +0 -1
- package/dist/core/p-abb7780e.entry.js +0 -2
- package/dist/core/p-bd2df430.entry.js +0 -2
- package/dist/core/p-bd389bfd.entry.js +0 -2
- package/dist/core/p-c21bc8f9.entry.js +0 -2
- package/dist/core/p-c21bc8f9.entry.js.map +0 -1
- package/dist/core/p-c4734357.entry.js +0 -2
- package/dist/core/p-def34832.entry.js +0 -2
- package/dist/core/p-def34832.entry.js.map +0 -1
- package/dist/core/p-fca7a0d6.entry.js +0 -2
- package/dist/types/work/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
- /package/dist/components/{p-BZTY3MxF.js.map → p-BGK46VRO.js.map} +0 -0
- /package/dist/components/{p-DKo9A5gq.js.map → p-BHRF-5cf.js.map} +0 -0
- /package/dist/components/{p-DesycS6d.js.map → p-BICk4EuO.js.map} +0 -0
- /package/dist/components/{p-Bv5L0j6n.js.map → p-BNoNH6m-.js.map} +0 -0
- /package/dist/components/{p-9imLQpxb.js.map → p-BSr8e18S.js.map} +0 -0
- /package/dist/components/{p-BNnuBQvo.js.map → p-BxS4InzB.js.map} +0 -0
- /package/dist/components/{p-CfaJM4SA.js.map → p-CMmyR4-k.js.map} +0 -0
- /package/dist/components/{p-B0KFtEn3.js.map → p-CU0plGZP.js.map} +0 -0
- /package/dist/components/{p-djqfSbq-.js.map → p-ClDhNt_H.js.map} +0 -0
- /package/dist/components/{p-yqJEurSE.js.map → p-CnKqUwf9.js.map} +0 -0
- /package/dist/core/{p-5c872d64.entry.js.map → p-f515d912.entry.js.map} +0 -0
package/dist/hydrate/index.js
CHANGED
|
@@ -3435,7 +3435,7 @@ class GovBanner {
|
|
|
3435
3435
|
/**
|
|
3436
3436
|
* Banner’s foreground
|
|
3437
3437
|
*/
|
|
3438
|
-
this.foreground = BannerForeground.
|
|
3438
|
+
this.foreground = BannerForeground.IMAGE;
|
|
3439
3439
|
/**
|
|
3440
3440
|
* XL Banner’s text color
|
|
3441
3441
|
*/
|
|
@@ -3461,10 +3461,10 @@ class GovBanner {
|
|
|
3461
3461
|
this.validateTextColor(this.textColor);
|
|
3462
3462
|
}
|
|
3463
3463
|
render() {
|
|
3464
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
3464
|
+
return (hAsync(Host, Object.assign({ key: '142c906194083f6c186d1f1d9033c4f2c9be9bff', class: this.h.classes(BannerClass.root), role: "region", size: this.size }, (this.size !== "xl" ? {
|
|
3465
3465
|
background: this.background,
|
|
3466
3466
|
foreground: this.foreground
|
|
3467
|
-
} : { 'text-color': this.textColor })), hAsync("div", { key: '
|
|
3467
|
+
} : { 'text-color': this.textColor })), hAsync("div", { key: '0b52a8859b6cdcd92d0f5e97b460a3e0a899bd44' }, hAsync("div", { key: 'a36ed5ad57c878d70770ccfeccd172749a555b22', class: BannerClass.content }, hAsync("slot", { key: '57f52bfb0189450e77c00f4d9904712e555a3125', name: "headline" }), hAsync("slot", { key: '91629f1bf0605ae28d694d044d19bbef9ebb69da' })), this.h.hasSlot('button') && (hAsync("slot", { key: '458a59c73e9bdf02d6cdb1e8c5caea0dcfec526a', name: "button" }))), hAsync("slot", { key: 'f1d60077313455ed78c78b56c7741b4b593cf7cc', name: "image" })));
|
|
3468
3468
|
}
|
|
3469
3469
|
get host() { return getElement(this); }
|
|
3470
3470
|
static get watchers() { return {
|
|
@@ -4759,6 +4759,19 @@ const propsValueToArray = (value) => {
|
|
|
4759
4759
|
return [];
|
|
4760
4760
|
};
|
|
4761
4761
|
|
|
4762
|
+
const normalize = (value) => typeof value === 'string' ? removeDiacritics(value).toLowerCase() : '';
|
|
4763
|
+
const filterAutocompleteOptions = (options, query, nameKey, maxOptions) => {
|
|
4764
|
+
const source = Array.isArray(options) ? options : [];
|
|
4765
|
+
const normalizedQuery = normalize(query);
|
|
4766
|
+
const matches = normalizedQuery.length === 0
|
|
4767
|
+
? source
|
|
4768
|
+
: source.filter(item => {
|
|
4769
|
+
const text = item === null || item === void 0 ? void 0 : item[nameKey];
|
|
4770
|
+
return typeof text === 'string' && normalize(text).includes(normalizedQuery);
|
|
4771
|
+
});
|
|
4772
|
+
return Number.isInteger(maxOptions) && maxOptions > 0 ? matches.slice(0, maxOptions) : matches;
|
|
4773
|
+
};
|
|
4774
|
+
|
|
4762
4775
|
class GovFormAutocomplete {
|
|
4763
4776
|
constructor(hostRef) {
|
|
4764
4777
|
registerInstance(this, hostRef);
|
|
@@ -4766,6 +4779,7 @@ class GovFormAutocomplete {
|
|
|
4766
4779
|
this.govBlur = createEvent(this, "gov-blur");
|
|
4767
4780
|
this.govInput = createEvent(this, "gov-input");
|
|
4768
4781
|
this.govSelect = createEvent(this, "gov-select");
|
|
4782
|
+
this.fullOptions = [];
|
|
4769
4783
|
this.templateResolver = item => item[this.nameKey];
|
|
4770
4784
|
/**
|
|
4771
4785
|
* Value of input
|
|
@@ -4793,6 +4807,11 @@ class GovFormAutocomplete {
|
|
|
4793
4807
|
* Minimum length (number of characters) of value
|
|
4794
4808
|
*/
|
|
4795
4809
|
this.minlength = 3;
|
|
4810
|
+
/**
|
|
4811
|
+
* Maximum number of items shown from a static `options` list (0 = unlimited).
|
|
4812
|
+
* Applies only when no async search callback is set.
|
|
4813
|
+
*/
|
|
4814
|
+
this.maxOptions = 10;
|
|
4796
4815
|
/**
|
|
4797
4816
|
* Input throttle in milliseconds
|
|
4798
4817
|
*/
|
|
@@ -4805,13 +4824,33 @@ class GovFormAutocomplete {
|
|
|
4805
4824
|
this.arrowCounter = -1;
|
|
4806
4825
|
this.list = [];
|
|
4807
4826
|
this.inheritedAttributes = {};
|
|
4827
|
+
this.emitAndSearch = (e) => {
|
|
4828
|
+
this.govInput.emit({
|
|
4829
|
+
originalEvent: e,
|
|
4830
|
+
component: FormAutocompleteClass.root,
|
|
4831
|
+
value: this.value,
|
|
4832
|
+
selected: null,
|
|
4833
|
+
});
|
|
4834
|
+
this.doSearch();
|
|
4835
|
+
};
|
|
4836
|
+
this.onInputHandler = (e) => {
|
|
4837
|
+
e.stopPropagation();
|
|
4838
|
+
this.value = e.detail.value;
|
|
4839
|
+
this.debouncedSearch(e);
|
|
4840
|
+
};
|
|
4808
4841
|
this.listBoxId = createID('GovListBox');
|
|
4809
4842
|
}
|
|
4810
4843
|
validateSize(newValue) {
|
|
4811
4844
|
validateProp(FormAutocompleteSizes, newValue, FormAutocompleteClass.root);
|
|
4812
4845
|
}
|
|
4813
4846
|
watchOptions(newValue) {
|
|
4814
|
-
this.
|
|
4847
|
+
this.fullOptions = propsValueToArray(newValue);
|
|
4848
|
+
if (this.searchCallback) {
|
|
4849
|
+
this.setOptions(this.fullOptions).catch();
|
|
4850
|
+
}
|
|
4851
|
+
else {
|
|
4852
|
+
this.list = filterAutocompleteOptions(this.fullOptions, this.value, this.nameKey, this.maxOptions);
|
|
4853
|
+
}
|
|
4815
4854
|
}
|
|
4816
4855
|
onArrowUp() {
|
|
4817
4856
|
if (this.arrowCounter > 0) {
|
|
@@ -4835,13 +4874,13 @@ class GovFormAutocomplete {
|
|
|
4835
4874
|
}
|
|
4836
4875
|
}
|
|
4837
4876
|
doSearch() {
|
|
4838
|
-
if (Number.isInteger(this.minlength) && this.isValueAccepted === false && this.minlength) {
|
|
4839
|
-
this.list = [];
|
|
4840
|
-
this.arrowCounter = -1;
|
|
4841
|
-
this.processing = false;
|
|
4842
|
-
return;
|
|
4843
|
-
}
|
|
4844
4877
|
if (this.searchCallback) {
|
|
4878
|
+
if (Number.isInteger(this.minlength) && this.isValueAccepted === false && this.minlength) {
|
|
4879
|
+
this.list = [];
|
|
4880
|
+
this.arrowCounter = -1;
|
|
4881
|
+
this.processing = false;
|
|
4882
|
+
return;
|
|
4883
|
+
}
|
|
4845
4884
|
this.processing = true;
|
|
4846
4885
|
this.searchCallback(this.value)
|
|
4847
4886
|
.then(response => (this.list = response))
|
|
@@ -4850,11 +4889,13 @@ class GovFormAutocomplete {
|
|
|
4850
4889
|
this.arrowCounter = -1;
|
|
4851
4890
|
this.processing = false;
|
|
4852
4891
|
});
|
|
4892
|
+
return;
|
|
4853
4893
|
}
|
|
4894
|
+
this.list = filterAutocompleteOptions(this.fullOptions, this.value, this.nameKey, this.maxOptions);
|
|
4895
|
+
this.arrowCounter = -1;
|
|
4854
4896
|
}
|
|
4855
4897
|
clearList() {
|
|
4856
|
-
|
|
4857
|
-
if (areOptions.length === 0) {
|
|
4898
|
+
if (this.fullOptions.length === 0) {
|
|
4858
4899
|
this.list = [];
|
|
4859
4900
|
}
|
|
4860
4901
|
}
|
|
@@ -4875,6 +4916,14 @@ class GovFormAutocomplete {
|
|
|
4875
4916
|
componentWillLoad() {
|
|
4876
4917
|
this.validateSize(this.size);
|
|
4877
4918
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
4919
|
+
this.debouncedSearch = throttle(this.emitAndSearch, this.throttleTime);
|
|
4920
|
+
this.fullOptions = propsValueToArray(this.options);
|
|
4921
|
+
if (!this.searchCallback) {
|
|
4922
|
+
this.list = filterAutocompleteOptions(this.fullOptions, this.value, this.nameKey, this.maxOptions);
|
|
4923
|
+
}
|
|
4924
|
+
}
|
|
4925
|
+
watchThrottleTime() {
|
|
4926
|
+
this.debouncedSearch = throttle(this.emitAndSearch, this.throttleTime);
|
|
4878
4927
|
}
|
|
4879
4928
|
disconnectedCallback() {
|
|
4880
4929
|
var _a;
|
|
@@ -4885,7 +4934,7 @@ class GovFormAutocomplete {
|
|
|
4885
4934
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4886
4935
|
}
|
|
4887
4936
|
render() {
|
|
4888
|
-
return (hAsync(Host, { key: '
|
|
4937
|
+
return (hAsync(Host, { key: '0cdbf770359115b24432e9d533b4e17ab2c65e18', class: FormAutocompleteClass.root, size: this.size }, hAsync("gov-form-input", Object.assign({ key: '5724ed153e3f2384725badbafdb0c19e67b69538', 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": this.onInputHandler, "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: 'ab6f37982f3d13adc2473a744b5697ac8bc651f5', name: "validation-icon" }), hAsync("slot", { key: '1961a029eceee169b5be12fa4ba8c2e9072bb9de', name: "icon-end" })), hAsync("ul", { key: '61b9b6929be4816e93e1b5fb778c3861b4f8631b', 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.searchCallback && this.fullOptions.length > 0)) && 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) => {
|
|
4889
4938
|
const isSelected = this.arrowCounter === index;
|
|
4890
4939
|
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" })));
|
|
4891
4940
|
}) : null)));
|
|
@@ -4893,7 +4942,12 @@ class GovFormAutocomplete {
|
|
|
4893
4942
|
onFocusHandler(e) {
|
|
4894
4943
|
this.focused = true;
|
|
4895
4944
|
this.arrowCounter = -1;
|
|
4896
|
-
if (this.
|
|
4945
|
+
if (this.searchCallback) {
|
|
4946
|
+
if (this.isValueAccepted) {
|
|
4947
|
+
this.doSearch();
|
|
4948
|
+
}
|
|
4949
|
+
}
|
|
4950
|
+
else {
|
|
4897
4951
|
this.doSearch();
|
|
4898
4952
|
}
|
|
4899
4953
|
e.stopPropagation();
|
|
@@ -4916,17 +4970,6 @@ class GovFormAutocomplete {
|
|
|
4916
4970
|
selected: null,
|
|
4917
4971
|
});
|
|
4918
4972
|
}
|
|
4919
|
-
onInputHandler(e) {
|
|
4920
|
-
this.value = e.target.value;
|
|
4921
|
-
e.stopPropagation();
|
|
4922
|
-
this.govInput.emit({
|
|
4923
|
-
originalEvent: e,
|
|
4924
|
-
component: FormAutocompleteClass.root,
|
|
4925
|
-
value: this.value,
|
|
4926
|
-
selected: null,
|
|
4927
|
-
});
|
|
4928
|
-
this.doSearch();
|
|
4929
|
-
}
|
|
4930
4973
|
onSelectHandler(e, index = -1) {
|
|
4931
4974
|
let selected = null;
|
|
4932
4975
|
if (index > -1) {
|
|
@@ -5020,7 +5063,8 @@ class GovFormAutocomplete {
|
|
|
5020
5063
|
get host() { return getElement(this); }
|
|
5021
5064
|
static get watchers() { return {
|
|
5022
5065
|
"size": ["validateSize"],
|
|
5023
|
-
"options": ["watchOptions"]
|
|
5066
|
+
"options": ["watchOptions"],
|
|
5067
|
+
"throttleTime": ["watchThrottleTime"]
|
|
5024
5068
|
}; }
|
|
5025
5069
|
static get cmpMeta() { return {
|
|
5026
5070
|
"$flags$": 4,
|
|
@@ -5040,6 +5084,7 @@ class GovFormAutocomplete {
|
|
|
5040
5084
|
"invalid": [4],
|
|
5041
5085
|
"minlength": [2],
|
|
5042
5086
|
"maxlength": [2],
|
|
5087
|
+
"maxOptions": [2, "max-options"],
|
|
5043
5088
|
"throttleTime": [2, "throttle-time"],
|
|
5044
5089
|
"messageEmpty": [1, "message-empty"],
|
|
5045
5090
|
"focused": [32],
|
|
@@ -5558,18 +5603,37 @@ function formatBytes(bytes) {
|
|
|
5558
5603
|
}
|
|
5559
5604
|
return n.toFixed(n < 10 && l > 0 ? 1 : 0) + ' ' + units[l];
|
|
5560
5605
|
}
|
|
5606
|
+
// Validates a file against an `accept` attribute value, following the HTML spec
|
|
5607
|
+
// (https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept):
|
|
5608
|
+
// - ".ext" → matched against the file NAME suffix (case-insensitive)
|
|
5609
|
+
// - "type/*" → matched against the file MIME group
|
|
5610
|
+
// - "type/sub" → exact MIME match
|
|
5611
|
+
// Matching the name (not only file.type) is essential: browsers often report an
|
|
5612
|
+
// empty or non-standard MIME for extensions like .jsonld, which the previous
|
|
5613
|
+
// MIME-only RegExp check always rejected.
|
|
5561
5614
|
function fileAcceptValidation(file, accept) {
|
|
5562
|
-
if (typeof accept
|
|
5563
|
-
return (accept
|
|
5564
|
-
.replace(/\s/g, '')
|
|
5565
|
-
.split(',')
|
|
5566
|
-
.filter(accept => {
|
|
5567
|
-
return new RegExp(accept.replace('*', '.*')).test(file.type);
|
|
5568
|
-
}).length > 0);
|
|
5569
|
-
}
|
|
5570
|
-
else {
|
|
5615
|
+
if (typeof accept !== 'string' || accept.trim().length === 0) {
|
|
5571
5616
|
return true;
|
|
5572
5617
|
}
|
|
5618
|
+
const fileName = file.name.toLowerCase();
|
|
5619
|
+
const fileType = (file.type || '').toLowerCase();
|
|
5620
|
+
return accept
|
|
5621
|
+
.split(',')
|
|
5622
|
+
.map(token => token.trim().toLowerCase())
|
|
5623
|
+
.filter(token => token.length > 0)
|
|
5624
|
+
.some(token => {
|
|
5625
|
+
if (token.startsWith('.')) {
|
|
5626
|
+
return fileName.endsWith(token);
|
|
5627
|
+
}
|
|
5628
|
+
if (token === '*' || token === '*/*') {
|
|
5629
|
+
return true;
|
|
5630
|
+
}
|
|
5631
|
+
if (token.endsWith('/*')) {
|
|
5632
|
+
const group = token.slice(0, token.indexOf('/') + 1);
|
|
5633
|
+
return fileType.startsWith(group);
|
|
5634
|
+
}
|
|
5635
|
+
return fileType === token;
|
|
5636
|
+
});
|
|
5573
5637
|
}
|
|
5574
5638
|
function fileSizeValidation(file, maxSize) {
|
|
5575
5639
|
const fileSize = Math.round(file.size);
|
|
@@ -5690,7 +5754,15 @@ class GovFormFile {
|
|
|
5690
5754
|
}
|
|
5691
5755
|
validateFiles(files) {
|
|
5692
5756
|
let filesBuffer = [];
|
|
5693
|
-
|
|
5757
|
+
// Without `multiple`, only a single file is allowed. An incoming batch
|
|
5758
|
+
// (drag-drop, framework wrapper, programmatic assignment) can still carry
|
|
5759
|
+
// several files, so cap it to the last one — consistent with the
|
|
5760
|
+
// "second pick replaces the first" semantics. (Bug #30570313)
|
|
5761
|
+
const incoming = this.multiple ? Array.from(files) : Array.from(files).slice(-1);
|
|
5762
|
+
if (!this.multiple && this.displayAttachments) {
|
|
5763
|
+
this.files = [];
|
|
5764
|
+
}
|
|
5765
|
+
incoming.forEach(file => {
|
|
5694
5766
|
const isFile = this.files.find(item => item.file.name === file.name && item.file.size === file.size) || null;
|
|
5695
5767
|
if (isFile === null || this.ignoreFileDuplicationCheck) {
|
|
5696
5768
|
const isSizeValid = typeof this.maxFileSize === "number" && this.maxFileSize > 0 ? fileSizeValidation(file, this.maxFileSize) : true;
|
|
@@ -5713,6 +5785,9 @@ class GovFormFile {
|
|
|
5713
5785
|
});
|
|
5714
5786
|
}
|
|
5715
5787
|
});
|
|
5788
|
+
if (this.displayAttachments) {
|
|
5789
|
+
this.syncNativeInputFiles();
|
|
5790
|
+
}
|
|
5716
5791
|
this.govFiles.emit({
|
|
5717
5792
|
component: FormFileClass.root,
|
|
5718
5793
|
files: filesBuffer.length ? filesBuffer : this.files,
|
|
@@ -5721,6 +5796,25 @@ class GovFormFile {
|
|
|
5721
5796
|
this.reset().finally();
|
|
5722
5797
|
}
|
|
5723
5798
|
}
|
|
5799
|
+
// Keep native <input type="file"> in sync with the visible attachments list so
|
|
5800
|
+
// that a native form submit / FormData carries exactly the files shown in the UI.
|
|
5801
|
+
// Invalid items (wrong type or oversize) are intentionally excluded.
|
|
5802
|
+
syncNativeInputFiles() {
|
|
5803
|
+
if (!this.inputRef || typeof DataTransfer === "undefined") {
|
|
5804
|
+
return;
|
|
5805
|
+
}
|
|
5806
|
+
try {
|
|
5807
|
+
const dt = new DataTransfer();
|
|
5808
|
+
this.files
|
|
5809
|
+
.filter(item => item.acceptValid === true && item.sizeValid === true)
|
|
5810
|
+
.forEach(item => dt.items.add(item.file));
|
|
5811
|
+
this.inputRef.files = dt.files;
|
|
5812
|
+
}
|
|
5813
|
+
catch (e) {
|
|
5814
|
+
// Safari < 14.1 / older browsers may reject assigning to .files; nothing safe to fall back to.
|
|
5815
|
+
if (typeof process !== "undefined" && process.env && "production" !== "production") ;
|
|
5816
|
+
}
|
|
5817
|
+
}
|
|
5724
5818
|
componentDidLoad() {
|
|
5725
5819
|
this.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {
|
|
5726
5820
|
this.onAriaAttributeChange(attributeName, newValue);
|
|
@@ -5744,7 +5838,7 @@ class GovFormFile {
|
|
|
5744
5838
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
5745
5839
|
}
|
|
5746
5840
|
render() {
|
|
5747
|
-
return (hAsync(Host, { key: '
|
|
5841
|
+
return (hAsync(Host, { key: '2d89af24db1447bba2c7987946b5c63bff65a58a', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, hAsync("div", { key: '7a37869f8ef203b0f1d6b07cfee8e4f325fe9ecc', class: FormFileClass.area, ref: el => (this.areaRef = el) }, hAsync("slot", { key: '10344be7bedf53a4754c8e79bb069c57291b7663' }), hAsync("input", Object.assign({ key: '52dc1692d0eaa6310c0166faceb5906627aac73c', 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) })), hAsync("div", { key: '1193c6ef7a57894baab2f14619827c2f51441d08', class: FormFileClass.inputFocus })), 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) }, item.file.name, hAsync("span", { slot: "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));
|
|
5748
5842
|
}
|
|
5749
5843
|
onRemoveFileHandler(file) {
|
|
5750
5844
|
const index = this.files.findIndex(item => item.id === file.id);
|
|
@@ -5753,6 +5847,7 @@ class GovFormFile {
|
|
|
5753
5847
|
const removeFile = this.files[index];
|
|
5754
5848
|
files.splice(index, 1);
|
|
5755
5849
|
this.files = [...files];
|
|
5850
|
+
this.syncNativeInputFiles();
|
|
5756
5851
|
this.govRemoveFile.emit({
|
|
5757
5852
|
component: FormFileClass.root,
|
|
5758
5853
|
file: removeFile,
|
|
@@ -5797,7 +5892,10 @@ class GovFormFile {
|
|
|
5797
5892
|
*/
|
|
5798
5893
|
async reset() {
|
|
5799
5894
|
this.files = [];
|
|
5800
|
-
this.inputRef
|
|
5895
|
+
if (this.inputRef) {
|
|
5896
|
+
this.inputRef.value = '';
|
|
5897
|
+
this.syncNativeInputFiles();
|
|
5898
|
+
}
|
|
5801
5899
|
}
|
|
5802
5900
|
get host() { return getElement(this); }
|
|
5803
5901
|
static get watchers() { return {
|
|
@@ -6936,19 +7034,19 @@ class GovFormSearch {
|
|
|
6936
7034
|
this.color = 'neutral';
|
|
6937
7035
|
}
|
|
6938
7036
|
render() {
|
|
6939
|
-
return (hAsync(Host, { key: '
|
|
7037
|
+
return (hAsync(Host, { key: 'c901368f70213c3be37b44b472002ce0872209d0', class: FormSearchClass.root, color: this.color, size: this.size }, hAsync("slot", { key: '4ca581f75ccd75f785f94c1f93500c914b129cc8', name: "input" }), hAsync("slot", { key: '10a34b30a9496b0d9a82b0baaf10b66ac5a2679f', name: "button-erase" }), hAsync("slot", { key: '2888491da6babe4e7586abdda1863850ed67f8a9', name: "button" })));
|
|
6940
7038
|
}
|
|
6941
7039
|
get host() { return getElement(this); }
|
|
6942
7040
|
static get cmpMeta() { return {
|
|
6943
7041
|
"$flags$": 4,
|
|
6944
7042
|
"$tagName$": "gov-form-search",
|
|
6945
7043
|
"$members$": {
|
|
6946
|
-
"size": [
|
|
7044
|
+
"size": [513],
|
|
6947
7045
|
"color": [513]
|
|
6948
7046
|
},
|
|
6949
7047
|
"$listeners$": undefined,
|
|
6950
7048
|
"$lazyBundleId$": "-",
|
|
6951
|
-
"$attrsToReflect$": [["color", "color"]]
|
|
7049
|
+
"$attrsToReflect$": [["size", "size"], ["color", "color"]]
|
|
6952
7050
|
}; }
|
|
6953
7051
|
}
|
|
6954
7052
|
|
|
@@ -6988,7 +7086,7 @@ class GovFormSelect {
|
|
|
6988
7086
|
this.passControlAttrs();
|
|
6989
7087
|
}
|
|
6990
7088
|
watchValue() {
|
|
6991
|
-
this.
|
|
7089
|
+
this.syncSelectValue();
|
|
6992
7090
|
}
|
|
6993
7091
|
passControlAttrs() {
|
|
6994
7092
|
this.f.passAttrToControl('size', this.size);
|
|
@@ -7002,6 +7100,7 @@ class GovFormSelect {
|
|
|
7002
7100
|
this.onAriaAttributeChange(attributeName, newValue);
|
|
7003
7101
|
});
|
|
7004
7102
|
this.attributeObserver.startObserving(ariaAttributes);
|
|
7103
|
+
this.syncSelectValue();
|
|
7005
7104
|
}
|
|
7006
7105
|
disconnectedCallback() {
|
|
7007
7106
|
var _a;
|
|
@@ -7009,34 +7108,27 @@ class GovFormSelect {
|
|
|
7009
7108
|
}
|
|
7010
7109
|
componentWillLoad() {
|
|
7011
7110
|
this.validateSize(this.size);
|
|
7012
|
-
this.markSelectedValue();
|
|
7013
7111
|
this.optionsState = propsValueToArray(this.options);
|
|
7014
7112
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
7015
7113
|
}
|
|
7016
7114
|
async componentDidRender() {
|
|
7017
7115
|
this.passControlAttrs();
|
|
7018
7116
|
this.f.passAttrToLabel('required', String(this.required));
|
|
7019
|
-
tick(() => this.markSelectedValue());
|
|
7020
7117
|
}
|
|
7021
7118
|
onAriaAttributeChange(attributeName, newValue) {
|
|
7022
7119
|
this.host.removeAttribute(attributeName);
|
|
7023
7120
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
7024
7121
|
}
|
|
7025
|
-
|
|
7026
|
-
this.
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
}
|
|
7030
|
-
else {
|
|
7031
|
-
option.removeAttribute('selected');
|
|
7032
|
-
}
|
|
7033
|
-
});
|
|
7122
|
+
syncSelectValue() {
|
|
7123
|
+
if (this.selectRef && this.value !== undefined && this.selectRef.value !== this.value) {
|
|
7124
|
+
this.selectRef.value = this.value;
|
|
7125
|
+
}
|
|
7034
7126
|
}
|
|
7035
7127
|
render() {
|
|
7036
|
-
return (hAsync(Host, { key: '
|
|
7128
|
+
return (hAsync(Host, { key: 'd29638f5868731a2324971d197dcd636364a4f6c', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && hAsync("slot", { key: '41cc14ee33022a4cf6d10c3d86c8915551221e94', name: "prefix" }), hAsync("span", { key: 'f9c167589fa81f0a060a13d9a31d16ab642d5ad2', class: "element" }, hAsync("select", Object.assign({ key: '2dd5c948ccc7b65674e7d7f730cb2c9567287668', 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: 'f6f0b21c9e43e1216446bce09c57a757a40d7b7b' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
7037
7129
|
var _a;
|
|
7038
7130
|
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));
|
|
7039
|
-
})), this.success && hAsync("gov-icon", { key: '
|
|
7131
|
+
})), this.success && hAsync("gov-icon", { key: 'd94a0191bc7d02d55450dfad627457101226ad22', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '84ecf7197313c8a145efa54730d22068679df3f5', class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '1a219d4d230466ac15e316eee16d4a55db1889fe', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && hAsync("slot", { key: 'c7f4816548e3494de94f7ff0dd33f6c904acc14b', name: "sufix" })));
|
|
7040
7132
|
}
|
|
7041
7133
|
onFocusHandler(e) {
|
|
7042
7134
|
this.focused = true;
|
|
@@ -7345,7 +7437,7 @@ var Types;
|
|
|
7345
7437
|
const IconClass = {
|
|
7346
7438
|
root: 'gov-icon'};
|
|
7347
7439
|
|
|
7348
|
-
const version = "4.6.
|
|
7440
|
+
const version = "4.6.5-b";
|
|
7349
7441
|
|
|
7350
7442
|
const dsVersion = () => {
|
|
7351
7443
|
return version;
|
|
@@ -9177,6 +9269,12 @@ class GovTooltip {
|
|
|
9177
9269
|
*/
|
|
9178
9270
|
this.icon = undefined;
|
|
9179
9271
|
this.persist = false;
|
|
9272
|
+
this.repositionListenersAttached = false;
|
|
9273
|
+
this.reposition = () => {
|
|
9274
|
+
if (this.tooltipContent) {
|
|
9275
|
+
this.verifyPositionSpace();
|
|
9276
|
+
}
|
|
9277
|
+
};
|
|
9180
9278
|
this.h = govHost(this.host);
|
|
9181
9279
|
this.tooltipId = createID("GovTooltip");
|
|
9182
9280
|
this.tooltipContentId = createID("GovContentTooltip");
|
|
@@ -9206,16 +9304,18 @@ class GovTooltip {
|
|
|
9206
9304
|
this.createContentWrapper();
|
|
9207
9305
|
}
|
|
9208
9306
|
disconnectedCallback() {
|
|
9307
|
+
var _a;
|
|
9308
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
9309
|
+
this.resizeObserver = undefined;
|
|
9310
|
+
window.removeEventListener("resize", this.reposition);
|
|
9311
|
+
this.repositionListenersAttached = false;
|
|
9209
9312
|
this.removeContent();
|
|
9210
9313
|
}
|
|
9211
9314
|
createContentWrapper() {
|
|
9212
9315
|
var _a;
|
|
9213
9316
|
if (this.tooltipContent) {
|
|
9214
|
-
if (this.message) {
|
|
9215
|
-
this.tooltipContent.
|
|
9216
|
-
}
|
|
9217
|
-
else if (this.insideContent) {
|
|
9218
|
-
this.tooltipContent.innerHTML = this.insideContent.innerHTML;
|
|
9317
|
+
if (this.message != null) {
|
|
9318
|
+
this.tooltipContent.setAttribute("message", this.message);
|
|
9219
9319
|
}
|
|
9220
9320
|
return;
|
|
9221
9321
|
}
|
|
@@ -9225,7 +9325,9 @@ class GovTooltip {
|
|
|
9225
9325
|
}
|
|
9226
9326
|
else {
|
|
9227
9327
|
content = documentNode().createElement(TooltipContentClass.root);
|
|
9228
|
-
|
|
9328
|
+
if (this.message != null) {
|
|
9329
|
+
content.setAttribute("message", this.message);
|
|
9330
|
+
}
|
|
9229
9331
|
}
|
|
9230
9332
|
content.setAttribute("id", (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId);
|
|
9231
9333
|
content.setAttribute("parent-id", this.tooltipId);
|
|
@@ -9340,14 +9442,27 @@ class GovTooltip {
|
|
|
9340
9442
|
tick(() => {
|
|
9341
9443
|
this.verifyPositionSpace();
|
|
9342
9444
|
});
|
|
9445
|
+
if (!this.repositionListenersAttached) {
|
|
9446
|
+
this.repositionListenersAttached = true;
|
|
9447
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
9448
|
+
this.resizeObserver = new ResizeObserver(this.reposition);
|
|
9449
|
+
this.resizeObserver.observe(this.tooltipContent);
|
|
9450
|
+
}
|
|
9451
|
+
window.addEventListener("resize", this.reposition);
|
|
9452
|
+
}
|
|
9343
9453
|
}
|
|
9344
9454
|
}
|
|
9345
9455
|
hideTooltip() {
|
|
9456
|
+
var _a;
|
|
9346
9457
|
if (this.tooltipContent) {
|
|
9347
9458
|
this.tooltipContent.setAttribute("is-visible", "false");
|
|
9348
9459
|
this.tooltipContent.setAttribute("persist", "false");
|
|
9349
9460
|
this.tooltipContent.removeAttribute('style');
|
|
9350
9461
|
}
|
|
9462
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
9463
|
+
this.resizeObserver = undefined;
|
|
9464
|
+
window.removeEventListener("resize", this.reposition);
|
|
9465
|
+
this.repositionListenersAttached = false;
|
|
9351
9466
|
}
|
|
9352
9467
|
removeContent() {
|
|
9353
9468
|
const contentEl = document.getElementById(this.tooltipContentId);
|
|
@@ -9357,11 +9472,11 @@ class GovTooltip {
|
|
|
9357
9472
|
}
|
|
9358
9473
|
render() {
|
|
9359
9474
|
var _a;
|
|
9360
|
-
return (hAsync(Host, { key: '
|
|
9475
|
+
return (hAsync(Host, { key: '20ebe5eea59967e8681fd0e35fc7aff53b5915dd', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: '847b78886907d683425013227eb78bbf9261b709', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
9361
9476
|
if (this.persist === false) {
|
|
9362
9477
|
this.hideTooltip();
|
|
9363
9478
|
}
|
|
9364
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
9479
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '84c4c02ee11e05166fca208b82ef54298dcaa6ee' }))));
|
|
9365
9480
|
}
|
|
9366
9481
|
/**
|
|
9367
9482
|
* Showing the modal
|
|
@@ -9447,7 +9562,9 @@ class GovTooltipContent {
|
|
|
9447
9562
|
}
|
|
9448
9563
|
}
|
|
9449
9564
|
render() {
|
|
9450
|
-
return (hAsync(Host, { key: '
|
|
9565
|
+
return (hAsync(Host, { key: '121b5cd3878956618a7a917511e6d8d76edf6672', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, this.message
|
|
9566
|
+
? hAsync("span", { class: "gov-tooltip-content__message", innerHTML: this.message })
|
|
9567
|
+
: hAsync("slot", null), 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));
|
|
9451
9568
|
}
|
|
9452
9569
|
get host() { return getElement(this); }
|
|
9453
9570
|
static get watchers() { return {
|
|
@@ -9461,7 +9578,8 @@ class GovTooltipContent {
|
|
|
9461
9578
|
"size": [1],
|
|
9462
9579
|
"persist": [4],
|
|
9463
9580
|
"isVisible": [1028, "is-visible"],
|
|
9464
|
-
"parentId": [1, "parent-id"]
|
|
9581
|
+
"parentId": [1, "parent-id"],
|
|
9582
|
+
"message": [1025]
|
|
9465
9583
|
},
|
|
9466
9584
|
"$listeners$": undefined,
|
|
9467
9585
|
"$lazyBundleId$": "-",
|
|
@@ -9522,7 +9640,7 @@ class GovWizard {
|
|
|
9522
9640
|
this.hydrated = true;
|
|
9523
9641
|
}
|
|
9524
9642
|
render() {
|
|
9525
|
-
return (hAsync(Host, { key: '
|
|
9643
|
+
return (hAsync(Host, { key: 'd1957fc0c0058c107769e3cc5390ef986fc9b921', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'a34323c408d790c5945ca0d80db62de2433db438' })));
|
|
9526
9644
|
}
|
|
9527
9645
|
/**
|
|
9528
9646
|
* Validate the WCAG attributes of the component
|
|
@@ -9598,8 +9716,8 @@ class GovWizardItem {
|
|
|
9598
9716
|
render() {
|
|
9599
9717
|
const triggerId = this.identifier || this.triggerId;
|
|
9600
9718
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
9601
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
9602
|
-
return (hAsync(Host, { key: '
|
|
9719
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '3f00516020337fc142713c6edb468d0007eba3c5', class: WizardItemClass.prefix }, hAsync("slot", { key: '05aa42bc8241f53bb3664dc3d06798cb0344f92f', name: "prefix" })));
|
|
9720
|
+
return (hAsync(Host, { key: '863700f5087e86d1f8d4e22b40108dfbc0cb96f5', 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: '6d93a5bb12dbe2fc2e308059ffd5d63ed915f16d', 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) => {
|
|
9603
9721
|
e.preventDefault();
|
|
9604
9722
|
e.stopPropagation();
|
|
9605
9723
|
this.toggle();
|