@utrecht/web-component-library-stencil 1.0.0-alpha.401 → 1.0.0-alpha.403
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/{index-7bd52d12.js → index-893d96db.js} +433 -235
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/utrecht-article.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-backdrop.cjs.entry.js +2 -1
- package/dist/cjs/utrecht-badge-counter.cjs.entry.js +4 -1
- package/dist/cjs/utrecht-badge-data.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-badge-status.cjs.entry.js +2 -1
- package/dist/cjs/utrecht-breadcrumb.cjs.entry.js +3 -1
- package/dist/cjs/utrecht-button.cjs.entry.js +6 -2
- package/dist/cjs/utrecht-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-contact-card-template.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-custom-checkbox.cjs.entry.js +6 -1
- package/dist/cjs/utrecht-digid-button.cjs.entry.js +2 -1
- package/dist/cjs/utrecht-digid-logo.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-document.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-eherkenning-logo.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-eidas-logo.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-field-description.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-field-textbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-toggle.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-heading-1.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-heading-2_3.cjs.entry.js +2 -1
- package/dist/cjs/utrecht-heading-4.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-heading-5.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-heading-6.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-heading.cjs.entry.js +2 -1
- package/dist/cjs/utrecht-html-content.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-icon-afspraak-maken.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-afval-container.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-afval-containerpas.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-afval-kalender.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-afval-scheiden.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-afval.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-afvalkalender.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-alleen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-arrow.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-bestemmingsplan.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-betaaldatum.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-bewijsstukken.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-bijstand.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-blad.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-bouwproject.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-brandgevaar.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-brief-betalen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-checkmark.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-college-b-w.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-container-bio.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-container-glas.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-container-papier.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-container-restafval.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-container-textiel.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-container.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-cross.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-dakloos.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-dementie.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-documenten.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-duurzaam.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-eenzaamheid.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-eikenprocessie.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-elektrisch-rijden.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-energie-vergoeding.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-energietransitie.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-error.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-evenementen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-fiets.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-filter.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-gebruiker-centraal.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-gebruiker-ingelogd.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-gegevenswoordenboek.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-geluid.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-gemeente-locatie.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-gemeenteraad.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-gezicht.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-glas-afval.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-glijbaan.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-grafiek.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-grofvuil-ophalen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-grofvuil.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-herdenking.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-hondenbelasting.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-horeca.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-horecavergunning.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-huishoudelijk-geweld.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-hulp-huishouden.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-hulp-vervoer.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-hulp-zorg.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-hulpmiddelen-gezin.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-hulpverlening.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-idee.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-information.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-innovatie.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-inspraak-inwoners.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-instagram.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-kalender.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-kennis.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-kerstbomen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-klachten.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-kroon.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-laadpaal.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-lantaarnpaal-oud.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-lantaarnpaal.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-leren.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-let-op.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-loupe.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-markt.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-melding-boom.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-melding-klacht.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-melding-openbareruimte.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-melding-verlichting.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-melding.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-menselijk.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-milieu-ontheffing.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-natuur.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-nieuw-huis.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-nummerbord.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-om-het-huis.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-omgeving.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-omgevingsvisie.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-omgevingswet.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-onderhoud.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-ondernemen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-openingstijden.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-over-de-stad.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-overlijden.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-panden.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-park.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-parkeerkaart.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-parkeervergunning.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-parken.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-parkeren-bedrijven.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-parkeren-betaalautomaat.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-parkeren-betalen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-participatie-campagne.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-participatie-like.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-participatie-pitch.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-paspoort.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-rijbewijs.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-rolstoel.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-schild-gemeente-utrecht.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-shoppen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-sinterklaas.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-slechtziende-hoordende.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-sport-en-cultuur.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-sport.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-stookverbod.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-strand.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-strooien.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-subsidie-gezin.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-subsidie.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-t-shirt.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-toeslag.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-trein.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-trouwen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-uw-wijk.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vaccinatie.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-veilige-wijk.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vergaderen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vergoeding.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-verhuizen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-verkeerslicht.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-verkiezingen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-verslaving.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vervoersvoorziening.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-virus.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vluchtelingen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-voorzieningen-vervoer.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vrijwilligerswerk.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vuilnisbak.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vuilniszak.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-vuurwerk.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-wandelstok.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-warm.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-warning.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-werken.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-werkzaamheden.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-whatsapp.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-wonen-kosten.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-woning-zoeken.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-zelfstandig-wonen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-zoomin.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-zoomout.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-zorg-huis.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-zweefpaal.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon-zwemmen.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-icon.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-logo-button.cjs.entry.js +2 -1
- package/dist/cjs/utrecht-logo.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-map-marker.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-page-content.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-page-footer.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-page-header.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-page.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-pagination.cjs.entry.js +5 -1
- package/dist/cjs/utrecht-separator.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-sidenav.cjs.entry.js +3 -2
- package/dist/cjs/utrecht-table-body.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-caption.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-header-cell.cjs.entry.js +2 -1
- package/dist/cjs/utrecht-table-header.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-row.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-textbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht.cjs.js +2 -2
- package/dist/collection/article/index.stencil.js +12 -9
- package/dist/collection/backdrop/index.stencil.js +36 -28
- package/dist/collection/badge-counter/index.stencil.js +69 -58
- package/dist/collection/badge-data/index.stencil.js +12 -9
- package/dist/collection/badge-status/index.stencil.js +36 -28
- package/dist/collection/breadcrumb/index.stencil.js +53 -47
- package/dist/collection/button/index.css +4 -4
- package/dist/collection/button/index.stencil.js +119 -106
- package/dist/collection/checkbox/index.stencil.js +146 -138
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/contact-card-template/index.stencil.js +12 -19
- package/dist/collection/custom-checkbox/index.stencil.js +103 -90
- package/dist/collection/digid-button/index.stencil.js +36 -29
- package/dist/collection/digid-logo/index.stencil.js +12 -12
- package/dist/collection/document/index.stencil.js +12 -9
- package/dist/collection/eherkenning-logo/index.stencil.js +12 -15
- package/dist/collection/eidas-logo/index.stencil.js +12 -17
- package/dist/collection/form-field-checkbox/index.stencil.js +172 -165
- package/dist/collection/form-field-description/index.stencil.js +34 -29
- package/dist/collection/form-field-textarea/index.stencil.js +189 -184
- package/dist/collection/form-field-textbox/index.stencil.js +269 -264
- package/dist/collection/form-toggle/index.stencil.js +113 -109
- package/dist/collection/generated/utrecht-icon-afspraak-maken/utrecht-icon-afspraak-maken.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-afval/utrecht-icon-afval.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-afval-container/utrecht-icon-afval-container.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-afval-containerpas/utrecht-icon-afval-containerpas.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-afval-kalender/utrecht-icon-afval-kalender.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-afval-scheiden/utrecht-icon-afval-scheiden.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-afvalkalender/utrecht-icon-afvalkalender.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-alleen/utrecht-icon-alleen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-arrow/utrecht-icon-arrow.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-bestemmingsplan/utrecht-icon-bestemmingsplan.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-betaaldatum/utrecht-icon-betaaldatum.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-bewijsstukken/utrecht-icon-bewijsstukken.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-bijstand/utrecht-icon-bijstand.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-blad/utrecht-icon-blad.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-bouwproject/utrecht-icon-bouwproject.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-brandgevaar/utrecht-icon-brandgevaar.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-brief-betalen/utrecht-icon-brief-betalen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-checkmark/utrecht-icon-checkmark.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-college-b-w/utrecht-icon-college-b-w.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-container/utrecht-icon-container.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-container-bio/utrecht-icon-container-bio.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-container-glas/utrecht-icon-container-glas.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-container-papier/utrecht-icon-container-papier.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-container-restafval/utrecht-icon-container-restafval.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-container-textiel/utrecht-icon-container-textiel.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-cross/utrecht-icon-cross.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-dakloos/utrecht-icon-dakloos.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-dementie/utrecht-icon-dementie.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-documenten/utrecht-icon-documenten.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-duurzaam/utrecht-icon-duurzaam.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-eenzaamheid/utrecht-icon-eenzaamheid.stencil.js +12 -13
- package/dist/collection/generated/utrecht-icon-eikenprocessie/utrecht-icon-eikenprocessie.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-elektrisch-rijden/utrecht-icon-elektrisch-rijden.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-energie-vergoeding/utrecht-icon-energie-vergoeding.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-energietransitie/utrecht-icon-energietransitie.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-error/utrecht-icon-error.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-evenementen/utrecht-icon-evenementen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-facebook/utrecht-icon-facebook.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-fiets/utrecht-icon-fiets.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-filter/utrecht-icon-filter.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-gebruiker-centraal/utrecht-icon-gebruiker-centraal.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-gebruiker-ingelogd/utrecht-icon-gebruiker-ingelogd.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-gegevenswoordenboek/utrecht-icon-gegevenswoordenboek.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-geluid/utrecht-icon-geluid.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-gemeente-locatie/utrecht-icon-gemeente-locatie.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-gemeenteraad/utrecht-icon-gemeenteraad.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-gezicht/utrecht-icon-gezicht.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-glas-afval/utrecht-icon-glas-afval.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-glijbaan/utrecht-icon-glijbaan.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-grafiek/utrecht-icon-grafiek.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-grofvuil/utrecht-icon-grofvuil.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-grofvuil-ophalen/utrecht-icon-grofvuil-ophalen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-herdenking/utrecht-icon-herdenking.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-hondenbelasting/utrecht-icon-hondenbelasting.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-horeca/utrecht-icon-horeca.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-horecavergunning/utrecht-icon-horecavergunning.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-huishoudelijk-geweld/utrecht-icon-huishoudelijk-geweld.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-hulp-huishouden/utrecht-icon-hulp-huishouden.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-hulp-vervoer/utrecht-icon-hulp-vervoer.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-hulp-zorg/utrecht-icon-hulp-zorg.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-hulpmiddelen-gezin/utrecht-icon-hulpmiddelen-gezin.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-hulpverlening/utrecht-icon-hulpverlening.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-idee/utrecht-icon-idee.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-information/utrecht-icon-information.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-innovatie/utrecht-icon-innovatie.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-inspraak-inwoners/utrecht-icon-inspraak-inwoners.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-instagram/utrecht-icon-instagram.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-kalender/utrecht-icon-kalender.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-kennis/utrecht-icon-kennis.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-kerstbomen/utrecht-icon-kerstbomen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-klachten/utrecht-icon-klachten.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-kroon/utrecht-icon-kroon.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-laadpaal/utrecht-icon-laadpaal.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-lantaarnpaal/utrecht-icon-lantaarnpaal.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-lantaarnpaal-oud/utrecht-icon-lantaarnpaal-oud.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-leren/utrecht-icon-leren.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-let-op/utrecht-icon-let-op.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-linkedin/utrecht-icon-linkedin.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-list/utrecht-icon-list.stencil.js +12 -14
- package/dist/collection/generated/utrecht-icon-loupe/utrecht-icon-loupe.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-markt/utrecht-icon-markt.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-melding/utrecht-icon-melding.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-melding-boom/utrecht-icon-melding-boom.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-melding-klacht/utrecht-icon-melding-klacht.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-melding-openbareruimte/utrecht-icon-melding-openbareruimte.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-melding-verlichting/utrecht-icon-melding-verlichting.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-menselijk/utrecht-icon-menselijk.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-milieu-ontheffing/utrecht-icon-milieu-ontheffing.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-natuur/utrecht-icon-natuur.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-nieuw-huis/utrecht-icon-nieuw-huis.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-nummerbord/utrecht-icon-nummerbord.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-om-het-huis/utrecht-icon-om-het-huis.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-omgeving/utrecht-icon-omgeving.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-omgevingsvisie/utrecht-icon-omgevingsvisie.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-omgevingswet/utrecht-icon-omgevingswet.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-onderhoud/utrecht-icon-onderhoud.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-ondernemen/utrecht-icon-ondernemen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-openingstijden/utrecht-icon-openingstijden.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-over-de-stad/utrecht-icon-over-de-stad.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-overlijden/utrecht-icon-overlijden.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-panden/utrecht-icon-panden.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-park/utrecht-icon-park.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-parkeerkaart/utrecht-icon-parkeerkaart.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-parkeervergunning/utrecht-icon-parkeervergunning.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-parken/utrecht-icon-parken.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-parkeren-bedrijven/utrecht-icon-parkeren-bedrijven.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-parkeren-betaalautomaat/utrecht-icon-parkeren-betaalautomaat.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-parkeren-betalen/utrecht-icon-parkeren-betalen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-participatie-campagne/utrecht-icon-participatie-campagne.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-participatie-like/utrecht-icon-participatie-like.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-participatie-pitch/utrecht-icon-participatie-pitch.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-paspoort/utrecht-icon-paspoort.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-rijbewijs/utrecht-icon-rijbewijs.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-rolstoel/utrecht-icon-rolstoel.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-schild-gemeente-utrecht/utrecht-icon-schild-gemeente-utrecht.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-shoppen/utrecht-icon-shoppen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-sinterklaas/utrecht-icon-sinterklaas.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-slechtziende-hoordende/utrecht-icon-slechtziende-hoordende.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-sport/utrecht-icon-sport.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-sport-en-cultuur/utrecht-icon-sport-en-cultuur.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-stookverbod/utrecht-icon-stookverbod.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-strand/utrecht-icon-strand.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-strooien/utrecht-icon-strooien.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-subsidie/utrecht-icon-subsidie.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-subsidie-gezin/utrecht-icon-subsidie-gezin.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-t-shirt/utrecht-icon-t-shirt.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-toeslag/utrecht-icon-toeslag.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-trein/utrecht-icon-trein.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-trouwen/utrecht-icon-trouwen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-twitter/utrecht-icon-twitter.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-uw-wijk/utrecht-icon-uw-wijk.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-vaccinatie/utrecht-icon-vaccinatie.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-veilige-wijk/utrecht-icon-veilige-wijk.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-vergaderen/utrecht-icon-vergaderen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-vergoeding/utrecht-icon-vergoeding.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-verhuizen/utrecht-icon-verhuizen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-verkeerslicht/utrecht-icon-verkeerslicht.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-verkiezingen/utrecht-icon-verkiezingen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-verslaving/utrecht-icon-verslaving.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-vervoersvoorziening/utrecht-icon-vervoersvoorziening.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-virus/utrecht-icon-virus.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-vluchtelingen/utrecht-icon-vluchtelingen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-voorzieningen-vervoer/utrecht-icon-voorzieningen-vervoer.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-vrijwilligerswerk/utrecht-icon-vrijwilligerswerk.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-vuilnisbak/utrecht-icon-vuilnisbak.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-vuilniszak/utrecht-icon-vuilniszak.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-vuurwerk/utrecht-icon-vuurwerk.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-wandelstok/utrecht-icon-wandelstok.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-warm/utrecht-icon-warm.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-warning/utrecht-icon-warning.stencil.js +12 -11
- package/dist/collection/generated/utrecht-icon-werken/utrecht-icon-werken.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-werkzaamheden/utrecht-icon-werkzaamheden.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-whatsapp/utrecht-icon-whatsapp.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-wonen-kosten/utrecht-icon-wonen-kosten.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-woning-zoeken/utrecht-icon-woning-zoeken.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-youtube/utrecht-icon-youtube.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-zelfstandig-wonen/utrecht-icon-zelfstandig-wonen.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-zoomin/utrecht-icon-zoomin.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-zoomout/utrecht-icon-zoomout.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-zorg-huis/utrecht-icon-zorg-huis.stencil.js +12 -10
- package/dist/collection/generated/utrecht-icon-zweefpaal/utrecht-icon-zweefpaal.stencil.js +12 -9
- package/dist/collection/generated/utrecht-icon-zwemmen/utrecht-icon-zwemmen.stencil.js +12 -9
- package/dist/collection/heading/index.stencil.js +42 -40
- package/dist/collection/heading-1/index.stencil.js +12 -9
- package/dist/collection/heading-2/index.stencil.js +12 -9
- package/dist/collection/heading-3/index.stencil.js +12 -9
- package/dist/collection/heading-4/index.stencil.js +12 -9
- package/dist/collection/heading-5/index.stencil.js +12 -9
- package/dist/collection/heading-6/index.stencil.js +12 -9
- package/dist/collection/html-content/index.css +3 -3
- package/dist/collection/html-content/index.stencil.js +12 -9
- package/dist/collection/icon/index.stencil.js +11 -7
- package/dist/collection/logo/index.stencil.js +12 -16
- package/dist/collection/logo-button/index.stencil.js +36 -30
- package/dist/collection/map-marker/index.stencil.js +11 -7
- package/dist/collection/navigatie sidenav/index.css +7 -1
- package/dist/collection/navigatie sidenav/index.stencil.js +36 -37
- package/dist/collection/page/index.stencil.js +12 -10
- package/dist/collection/page-content/index.stencil.js +12 -10
- package/dist/collection/page-footer/index.stencil.js +12 -9
- package/dist/collection/page-header/stencil.js +12 -10
- package/dist/collection/pagination/index.stencil.js +99 -90
- package/dist/collection/paragraph/index.stencil.js +36 -28
- package/dist/collection/separator/index.stencil.js +11 -7
- package/dist/collection/table/table-body.stencil.js +12 -9
- package/dist/collection/table/table-caption.stencil.js +11 -7
- package/dist/collection/table/table-cell.stencil.js +12 -9
- package/dist/collection/table/table-footer.stencil.js +12 -9
- package/dist/collection/table/table-header-cell.stencil.js +36 -28
- package/dist/collection/table/table-header.stencil.js +12 -9
- package/dist/collection/table/table-row.stencil.js +12 -9
- package/dist/collection/table/table.stencil.js +12 -9
- package/dist/collection/textbox/index.stencil.js +265 -257
- package/dist/components/index.stencil.js +5 -1
- package/dist/components/index.stencil5.js +1 -0
- package/dist/components/utrecht-backdrop.js +1 -0
- package/dist/components/utrecht-badge-counter.js +3 -0
- package/dist/components/utrecht-badge-status.js +1 -0
- package/dist/components/utrecht-breadcrumb.js +2 -0
- package/dist/components/utrecht-custom-checkbox.js +5 -0
- package/dist/components/utrecht-digid-button.js +1 -0
- package/dist/components/utrecht-heading.js +1 -0
- package/dist/components/utrecht-html-content.js +1 -1
- package/dist/components/utrecht-logo-button.js +1 -0
- package/dist/components/utrecht-pagination.js +4 -0
- package/dist/components/utrecht-sidenav.js +2 -1
- package/dist/components/utrecht-table-header-cell.js +1 -0
- package/dist/esm/{index-ca475e47.js → index-e61b4b29.js} +433 -235
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/utrecht-article.entry.js +1 -1
- package/dist/esm/utrecht-backdrop.entry.js +2 -1
- package/dist/esm/utrecht-badge-counter.entry.js +4 -1
- package/dist/esm/utrecht-badge-data.entry.js +1 -1
- package/dist/esm/utrecht-badge-status.entry.js +2 -1
- package/dist/esm/utrecht-breadcrumb.entry.js +3 -1
- package/dist/esm/utrecht-button.entry.js +6 -2
- package/dist/esm/utrecht-checkbox.entry.js +1 -1
- package/dist/esm/utrecht-contact-card-template.entry.js +1 -1
- package/dist/esm/utrecht-custom-checkbox.entry.js +6 -1
- package/dist/esm/utrecht-digid-button.entry.js +2 -1
- package/dist/esm/utrecht-digid-logo.entry.js +1 -1
- package/dist/esm/utrecht-document.entry.js +1 -1
- package/dist/esm/utrecht-eherkenning-logo.entry.js +1 -1
- package/dist/esm/utrecht-eidas-logo.entry.js +1 -1
- package/dist/esm/utrecht-form-field-checkbox.entry.js +1 -1
- package/dist/esm/utrecht-form-field-description.entry.js +1 -1
- package/dist/esm/utrecht-form-field-textarea.entry.js +1 -1
- package/dist/esm/utrecht-form-field-textbox.entry.js +1 -1
- package/dist/esm/utrecht-form-toggle.entry.js +1 -1
- package/dist/esm/utrecht-heading-1.entry.js +1 -1
- package/dist/esm/utrecht-heading-2_3.entry.js +2 -1
- package/dist/esm/utrecht-heading-4.entry.js +1 -1
- package/dist/esm/utrecht-heading-5.entry.js +1 -1
- package/dist/esm/utrecht-heading-6.entry.js +1 -1
- package/dist/esm/utrecht-heading.entry.js +2 -1
- package/dist/esm/utrecht-html-content.entry.js +2 -2
- package/dist/esm/utrecht-icon-afspraak-maken.entry.js +1 -1
- package/dist/esm/utrecht-icon-afval-container.entry.js +1 -1
- package/dist/esm/utrecht-icon-afval-containerpas.entry.js +1 -1
- package/dist/esm/utrecht-icon-afval-kalender.entry.js +1 -1
- package/dist/esm/utrecht-icon-afval-scheiden.entry.js +1 -1
- package/dist/esm/utrecht-icon-afval.entry.js +1 -1
- package/dist/esm/utrecht-icon-afvalkalender.entry.js +1 -1
- package/dist/esm/utrecht-icon-alleen.entry.js +1 -1
- package/dist/esm/utrecht-icon-arrow.entry.js +1 -1
- package/dist/esm/utrecht-icon-bestemmingsplan.entry.js +1 -1
- package/dist/esm/utrecht-icon-betaaldatum.entry.js +1 -1
- package/dist/esm/utrecht-icon-bewijsstukken.entry.js +1 -1
- package/dist/esm/utrecht-icon-bijstand.entry.js +1 -1
- package/dist/esm/utrecht-icon-blad.entry.js +1 -1
- package/dist/esm/utrecht-icon-bouwproject.entry.js +1 -1
- package/dist/esm/utrecht-icon-brandgevaar.entry.js +1 -1
- package/dist/esm/utrecht-icon-brief-betalen.entry.js +1 -1
- package/dist/esm/utrecht-icon-checkmark.entry.js +1 -1
- package/dist/esm/utrecht-icon-college-b-w.entry.js +1 -1
- package/dist/esm/utrecht-icon-container-bio.entry.js +1 -1
- package/dist/esm/utrecht-icon-container-glas.entry.js +1 -1
- package/dist/esm/utrecht-icon-container-papier.entry.js +1 -1
- package/dist/esm/utrecht-icon-container-restafval.entry.js +1 -1
- package/dist/esm/utrecht-icon-container-textiel.entry.js +1 -1
- package/dist/esm/utrecht-icon-container.entry.js +1 -1
- package/dist/esm/utrecht-icon-cross.entry.js +1 -1
- package/dist/esm/utrecht-icon-dakloos.entry.js +1 -1
- package/dist/esm/utrecht-icon-dementie.entry.js +1 -1
- package/dist/esm/utrecht-icon-documenten.entry.js +1 -1
- package/dist/esm/utrecht-icon-duurzaam.entry.js +1 -1
- package/dist/esm/utrecht-icon-eenzaamheid.entry.js +1 -1
- package/dist/esm/utrecht-icon-eikenprocessie.entry.js +1 -1
- package/dist/esm/utrecht-icon-elektrisch-rijden.entry.js +1 -1
- package/dist/esm/utrecht-icon-energie-vergoeding.entry.js +1 -1
- package/dist/esm/utrecht-icon-energietransitie.entry.js +1 -1
- package/dist/esm/utrecht-icon-error.entry.js +1 -1
- package/dist/esm/utrecht-icon-evenementen.entry.js +1 -1
- package/dist/esm/utrecht-icon-facebook.entry.js +1 -1
- package/dist/esm/utrecht-icon-fiets.entry.js +1 -1
- package/dist/esm/utrecht-icon-filter.entry.js +1 -1
- package/dist/esm/utrecht-icon-gebruiker-centraal.entry.js +1 -1
- package/dist/esm/utrecht-icon-gebruiker-ingelogd.entry.js +1 -1
- package/dist/esm/utrecht-icon-gegevenswoordenboek.entry.js +1 -1
- package/dist/esm/utrecht-icon-geluid.entry.js +1 -1
- package/dist/esm/utrecht-icon-gemeente-locatie.entry.js +1 -1
- package/dist/esm/utrecht-icon-gemeenteraad.entry.js +1 -1
- package/dist/esm/utrecht-icon-gezicht.entry.js +1 -1
- package/dist/esm/utrecht-icon-glas-afval.entry.js +1 -1
- package/dist/esm/utrecht-icon-glijbaan.entry.js +1 -1
- package/dist/esm/utrecht-icon-grafiek.entry.js +1 -1
- package/dist/esm/utrecht-icon-grofvuil-ophalen.entry.js +1 -1
- package/dist/esm/utrecht-icon-grofvuil.entry.js +1 -1
- package/dist/esm/utrecht-icon-herdenking.entry.js +1 -1
- package/dist/esm/utrecht-icon-hondenbelasting.entry.js +1 -1
- package/dist/esm/utrecht-icon-horeca.entry.js +1 -1
- package/dist/esm/utrecht-icon-horecavergunning.entry.js +1 -1
- package/dist/esm/utrecht-icon-huishoudelijk-geweld.entry.js +1 -1
- package/dist/esm/utrecht-icon-hulp-huishouden.entry.js +1 -1
- package/dist/esm/utrecht-icon-hulp-vervoer.entry.js +1 -1
- package/dist/esm/utrecht-icon-hulp-zorg.entry.js +1 -1
- package/dist/esm/utrecht-icon-hulpmiddelen-gezin.entry.js +1 -1
- package/dist/esm/utrecht-icon-hulpverlening.entry.js +1 -1
- package/dist/esm/utrecht-icon-idee.entry.js +1 -1
- package/dist/esm/utrecht-icon-information.entry.js +1 -1
- package/dist/esm/utrecht-icon-innovatie.entry.js +1 -1
- package/dist/esm/utrecht-icon-inspraak-inwoners.entry.js +1 -1
- package/dist/esm/utrecht-icon-instagram.entry.js +1 -1
- package/dist/esm/utrecht-icon-kalender.entry.js +1 -1
- package/dist/esm/utrecht-icon-kennis.entry.js +1 -1
- package/dist/esm/utrecht-icon-kerstbomen.entry.js +1 -1
- package/dist/esm/utrecht-icon-klachten.entry.js +1 -1
- package/dist/esm/utrecht-icon-kroon.entry.js +1 -1
- package/dist/esm/utrecht-icon-laadpaal.entry.js +1 -1
- package/dist/esm/utrecht-icon-lantaarnpaal-oud.entry.js +1 -1
- package/dist/esm/utrecht-icon-lantaarnpaal.entry.js +1 -1
- package/dist/esm/utrecht-icon-leren.entry.js +1 -1
- package/dist/esm/utrecht-icon-let-op.entry.js +1 -1
- package/dist/esm/utrecht-icon-linkedin.entry.js +1 -1
- package/dist/esm/utrecht-icon-list.entry.js +1 -1
- package/dist/esm/utrecht-icon-loupe.entry.js +1 -1
- package/dist/esm/utrecht-icon-markt.entry.js +1 -1
- package/dist/esm/utrecht-icon-melding-boom.entry.js +1 -1
- package/dist/esm/utrecht-icon-melding-klacht.entry.js +1 -1
- package/dist/esm/utrecht-icon-melding-openbareruimte.entry.js +1 -1
- package/dist/esm/utrecht-icon-melding-verlichting.entry.js +1 -1
- package/dist/esm/utrecht-icon-melding.entry.js +1 -1
- package/dist/esm/utrecht-icon-menselijk.entry.js +1 -1
- package/dist/esm/utrecht-icon-milieu-ontheffing.entry.js +1 -1
- package/dist/esm/utrecht-icon-natuur.entry.js +1 -1
- package/dist/esm/utrecht-icon-nieuw-huis.entry.js +1 -1
- package/dist/esm/utrecht-icon-nummerbord.entry.js +1 -1
- package/dist/esm/utrecht-icon-om-het-huis.entry.js +1 -1
- package/dist/esm/utrecht-icon-omgeving.entry.js +1 -1
- package/dist/esm/utrecht-icon-omgevingsvisie.entry.js +1 -1
- package/dist/esm/utrecht-icon-omgevingswet.entry.js +1 -1
- package/dist/esm/utrecht-icon-onderhoud.entry.js +1 -1
- package/dist/esm/utrecht-icon-ondernemen.entry.js +1 -1
- package/dist/esm/utrecht-icon-openingstijden.entry.js +1 -1
- package/dist/esm/utrecht-icon-over-de-stad.entry.js +1 -1
- package/dist/esm/utrecht-icon-overlijden.entry.js +1 -1
- package/dist/esm/utrecht-icon-panden.entry.js +1 -1
- package/dist/esm/utrecht-icon-park.entry.js +1 -1
- package/dist/esm/utrecht-icon-parkeerkaart.entry.js +1 -1
- package/dist/esm/utrecht-icon-parkeervergunning.entry.js +1 -1
- package/dist/esm/utrecht-icon-parken.entry.js +1 -1
- package/dist/esm/utrecht-icon-parkeren-bedrijven.entry.js +1 -1
- package/dist/esm/utrecht-icon-parkeren-betaalautomaat.entry.js +1 -1
- package/dist/esm/utrecht-icon-parkeren-betalen.entry.js +1 -1
- package/dist/esm/utrecht-icon-participatie-campagne.entry.js +1 -1
- package/dist/esm/utrecht-icon-participatie-like.entry.js +1 -1
- package/dist/esm/utrecht-icon-participatie-pitch.entry.js +1 -1
- package/dist/esm/utrecht-icon-paspoort.entry.js +1 -1
- package/dist/esm/utrecht-icon-rijbewijs.entry.js +1 -1
- package/dist/esm/utrecht-icon-rolstoel.entry.js +1 -1
- package/dist/esm/utrecht-icon-schild-gemeente-utrecht.entry.js +1 -1
- package/dist/esm/utrecht-icon-shoppen.entry.js +1 -1
- package/dist/esm/utrecht-icon-sinterklaas.entry.js +1 -1
- package/dist/esm/utrecht-icon-slechtziende-hoordende.entry.js +1 -1
- package/dist/esm/utrecht-icon-sport-en-cultuur.entry.js +1 -1
- package/dist/esm/utrecht-icon-sport.entry.js +1 -1
- package/dist/esm/utrecht-icon-stookverbod.entry.js +1 -1
- package/dist/esm/utrecht-icon-strand.entry.js +1 -1
- package/dist/esm/utrecht-icon-strooien.entry.js +1 -1
- package/dist/esm/utrecht-icon-subsidie-gezin.entry.js +1 -1
- package/dist/esm/utrecht-icon-subsidie.entry.js +1 -1
- package/dist/esm/utrecht-icon-t-shirt.entry.js +1 -1
- package/dist/esm/utrecht-icon-toeslag.entry.js +1 -1
- package/dist/esm/utrecht-icon-trein.entry.js +1 -1
- package/dist/esm/utrecht-icon-trouwen.entry.js +1 -1
- package/dist/esm/utrecht-icon-twitter.entry.js +1 -1
- package/dist/esm/utrecht-icon-uw-wijk.entry.js +1 -1
- package/dist/esm/utrecht-icon-vaccinatie.entry.js +1 -1
- package/dist/esm/utrecht-icon-veilige-wijk.entry.js +1 -1
- package/dist/esm/utrecht-icon-vergaderen.entry.js +1 -1
- package/dist/esm/utrecht-icon-vergoeding.entry.js +1 -1
- package/dist/esm/utrecht-icon-verhuizen.entry.js +1 -1
- package/dist/esm/utrecht-icon-verkeerslicht.entry.js +1 -1
- package/dist/esm/utrecht-icon-verkiezingen.entry.js +1 -1
- package/dist/esm/utrecht-icon-verslaving.entry.js +1 -1
- package/dist/esm/utrecht-icon-vervoersvoorziening.entry.js +1 -1
- package/dist/esm/utrecht-icon-virus.entry.js +1 -1
- package/dist/esm/utrecht-icon-vluchtelingen.entry.js +1 -1
- package/dist/esm/utrecht-icon-voorzieningen-vervoer.entry.js +1 -1
- package/dist/esm/utrecht-icon-vrijwilligerswerk.entry.js +1 -1
- package/dist/esm/utrecht-icon-vuilnisbak.entry.js +1 -1
- package/dist/esm/utrecht-icon-vuilniszak.entry.js +1 -1
- package/dist/esm/utrecht-icon-vuurwerk.entry.js +1 -1
- package/dist/esm/utrecht-icon-wandelstok.entry.js +1 -1
- package/dist/esm/utrecht-icon-warm.entry.js +1 -1
- package/dist/esm/utrecht-icon-warning.entry.js +1 -1
- package/dist/esm/utrecht-icon-werken.entry.js +1 -1
- package/dist/esm/utrecht-icon-werkzaamheden.entry.js +1 -1
- package/dist/esm/utrecht-icon-whatsapp.entry.js +1 -1
- package/dist/esm/utrecht-icon-wonen-kosten.entry.js +1 -1
- package/dist/esm/utrecht-icon-woning-zoeken.entry.js +1 -1
- package/dist/esm/utrecht-icon-youtube.entry.js +1 -1
- package/dist/esm/utrecht-icon-zelfstandig-wonen.entry.js +1 -1
- package/dist/esm/utrecht-icon-zoomin.entry.js +1 -1
- package/dist/esm/utrecht-icon-zoomout.entry.js +1 -1
- package/dist/esm/utrecht-icon-zorg-huis.entry.js +1 -1
- package/dist/esm/utrecht-icon-zweefpaal.entry.js +1 -1
- package/dist/esm/utrecht-icon-zwemmen.entry.js +1 -1
- package/dist/esm/utrecht-icon.entry.js +1 -1
- package/dist/esm/utrecht-logo-button.entry.js +2 -1
- package/dist/esm/utrecht-logo.entry.js +1 -1
- package/dist/esm/utrecht-map-marker.entry.js +1 -1
- package/dist/esm/utrecht-page-content.entry.js +1 -1
- package/dist/esm/utrecht-page-footer.entry.js +1 -1
- package/dist/esm/utrecht-page-header.entry.js +1 -1
- package/dist/esm/utrecht-page.entry.js +1 -1
- package/dist/esm/utrecht-pagination.entry.js +5 -1
- package/dist/esm/utrecht-separator.entry.js +1 -1
- package/dist/esm/utrecht-sidenav.entry.js +3 -2
- package/dist/esm/utrecht-table-body.entry.js +1 -1
- package/dist/esm/utrecht-table-caption.entry.js +1 -1
- package/dist/esm/utrecht-table-cell.entry.js +1 -1
- package/dist/esm/utrecht-table-footer.entry.js +1 -1
- package/dist/esm/utrecht-table-header-cell.entry.js +2 -1
- package/dist/esm/utrecht-table-header.entry.js +1 -1
- package/dist/esm/utrecht-table-row.entry.js +1 -1
- package/dist/esm/utrecht-table.entry.js +1 -1
- package/dist/esm/utrecht-textbox.entry.js +1 -1
- package/dist/esm/utrecht.js +2 -2
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/utrecht/{p-2b8f0651.entry.js → p-02a7382a.entry.js} +1 -1
- package/dist/utrecht/{p-09658591.entry.js → p-02bdb7d3.entry.js} +1 -1
- package/dist/utrecht/{p-bf1005cb.entry.js → p-02c7daf2.entry.js} +1 -1
- package/dist/utrecht/{p-806de3b0.entry.js → p-02e6aebc.entry.js} +1 -1
- package/dist/utrecht/{p-c241e178.entry.js → p-02f10627.entry.js} +1 -1
- package/dist/utrecht/{p-52e4bcce.entry.js → p-0397e8bf.entry.js} +1 -1
- package/dist/utrecht/{p-9be8ebea.entry.js → p-06fa532d.entry.js} +1 -1
- package/dist/utrecht/{p-97553fed.entry.js → p-072281ab.entry.js} +1 -1
- package/dist/utrecht/{p-ab9f1679.entry.js → p-0a0ff269.entry.js} +1 -1
- package/dist/utrecht/{p-18a72347.entry.js → p-0b2a9dd1.entry.js} +1 -1
- package/dist/utrecht/p-0bbcf694.entry.js +1 -0
- package/dist/utrecht/{p-c66462f7.entry.js → p-0c4facd0.entry.js} +1 -1
- package/dist/utrecht/{p-05bb71be.entry.js → p-0f6f5867.entry.js} +1 -1
- package/dist/utrecht/{p-0123438b.entry.js → p-0f76acd5.entry.js} +1 -1
- package/dist/utrecht/{p-49111835.entry.js → p-10851c89.entry.js} +1 -1
- package/dist/utrecht/{p-f1cdb5e9.entry.js → p-10b72974.entry.js} +1 -1
- package/dist/utrecht/{p-dcd065a6.entry.js → p-1375b2f1.entry.js} +1 -1
- package/dist/utrecht/{p-7525b49d.entry.js → p-14fd3f4b.entry.js} +1 -1
- package/dist/utrecht/{p-c064168e.entry.js → p-15fb5f95.entry.js} +1 -1
- package/dist/utrecht/{p-5819bf58.entry.js → p-162cb146.entry.js} +1 -1
- package/dist/utrecht/{p-9477b570.entry.js → p-1680ada8.entry.js} +1 -1
- package/dist/utrecht/{p-6ca82b5a.entry.js → p-16e85c3a.entry.js} +1 -1
- package/dist/utrecht/{p-a4e6bea5.entry.js → p-16fd42b4.entry.js} +1 -1
- package/dist/utrecht/{p-20f4784e.entry.js → p-1c79d685.entry.js} +1 -1
- package/dist/utrecht/{p-b57b353e.entry.js → p-1d5c9d4e.entry.js} +1 -1
- package/dist/utrecht/{p-ba2ff7b7.entry.js → p-1ece7fd3.entry.js} +1 -1
- package/dist/utrecht/p-2214c8af.entry.js +1 -0
- package/dist/utrecht/{p-ff806677.entry.js → p-22d13913.entry.js} +1 -1
- package/dist/utrecht/{p-72fa7794.entry.js → p-2760e8f7.entry.js} +1 -1
- package/dist/utrecht/{p-22788160.entry.js → p-29e450c4.entry.js} +1 -1
- package/dist/utrecht/{p-42b7a00a.entry.js → p-2c099a9f.entry.js} +1 -1
- package/dist/utrecht/{p-ace68320.entry.js → p-2dbdd89d.entry.js} +1 -1
- package/dist/utrecht/{p-47d9b9b0.entry.js → p-2dc02e47.entry.js} +1 -1
- package/dist/utrecht/p-30f1b990.entry.js +1 -0
- package/dist/utrecht/{p-baffff49.entry.js → p-32d7234e.entry.js} +1 -1
- package/dist/utrecht/{p-4e76b7f5.entry.js → p-37499ff1.entry.js} +1 -1
- package/dist/utrecht/{p-a2924b9a.entry.js → p-38c837ce.entry.js} +1 -1
- package/dist/utrecht/{p-15506bef.entry.js → p-3b3ffbe4.entry.js} +1 -1
- package/dist/utrecht/{p-54432330.entry.js → p-3bb26148.entry.js} +1 -1
- package/dist/utrecht/p-3c7958f2.entry.js +1 -0
- package/dist/utrecht/{p-473b7bf5.entry.js → p-3dbf1901.entry.js} +1 -1
- package/dist/utrecht/{p-98267462.entry.js → p-3ede2538.entry.js} +1 -1
- package/dist/utrecht/{p-0147b768.entry.js → p-3ef6b477.entry.js} +1 -1
- package/dist/utrecht/{p-b8820870.entry.js → p-40964c9a.entry.js} +1 -1
- package/dist/utrecht/{p-2f31de75.entry.js → p-41abf3c2.entry.js} +1 -1
- package/dist/utrecht/{p-4c335ff9.entry.js → p-449d4bc9.entry.js} +1 -1
- package/dist/utrecht/{p-cd0b3597.entry.js → p-44ae7135.entry.js} +1 -1
- package/dist/utrecht/{p-0e682937.entry.js → p-474c4732.entry.js} +1 -1
- package/dist/utrecht/{p-3d89acbf.entry.js → p-47d5491f.entry.js} +1 -1
- package/dist/utrecht/{p-b6a831c8.entry.js → p-48051975.entry.js} +1 -1
- package/dist/utrecht/{p-fef0a811.entry.js → p-4813039a.entry.js} +1 -1
- package/dist/utrecht/{p-d66a404f.entry.js → p-48f12cd6.entry.js} +1 -1
- package/dist/utrecht/{p-a95cffb3.entry.js → p-4c2b135e.entry.js} +1 -1
- package/dist/utrecht/{p-ecbcde77.entry.js → p-4c8ec8bc.entry.js} +1 -1
- package/dist/utrecht/{p-e309442e.entry.js → p-4c90042e.entry.js} +1 -1
- package/dist/utrecht/{p-446b3179.entry.js → p-4d40d3bd.entry.js} +1 -1
- package/dist/utrecht/{p-fc2cefba.entry.js → p-4ec537df.entry.js} +1 -1
- package/dist/utrecht/{p-a423ba17.entry.js → p-4ecbc892.entry.js} +1 -1
- package/dist/utrecht/{p-d5126cfe.entry.js → p-4f11da4f.entry.js} +1 -1
- package/dist/utrecht/{p-3e96e168.entry.js → p-5016a294.entry.js} +1 -1
- package/dist/utrecht/{p-8c895b93.entry.js → p-51eb8614.entry.js} +1 -1
- package/dist/utrecht/{p-0d6ad809.entry.js → p-53715562.entry.js} +1 -1
- package/dist/utrecht/{p-7432d159.entry.js → p-53d48663.entry.js} +1 -1
- package/dist/utrecht/{p-c9d6a627.entry.js → p-543b9c76.entry.js} +1 -1
- package/dist/utrecht/{p-e94f0e44.entry.js → p-54c2c213.entry.js} +1 -1
- package/dist/utrecht/{p-8964351f.entry.js → p-56f7b9ac.entry.js} +1 -1
- package/dist/utrecht/{p-e0761870.entry.js → p-590da561.entry.js} +1 -1
- package/dist/utrecht/{p-4812b1f1.entry.js → p-5af40447.entry.js} +1 -1
- package/dist/utrecht/{p-dc1b5896.entry.js → p-5c460827.entry.js} +1 -1
- package/dist/utrecht/{p-5ba5731f.entry.js → p-5c7b08fb.entry.js} +1 -1
- package/dist/utrecht/{p-976f9ce3.entry.js → p-5ca0c07d.entry.js} +1 -1
- package/dist/utrecht/{p-a45cee05.entry.js → p-5ce0e177.entry.js} +1 -1
- package/dist/utrecht/{p-de72df8d.entry.js → p-5f09f692.entry.js} +1 -1
- package/dist/utrecht/{p-8fdb7d87.entry.js → p-5fb0d11c.entry.js} +1 -1
- package/dist/utrecht/{p-d29b0f51.entry.js → p-60aa5785.entry.js} +1 -1
- package/dist/utrecht/{p-8f6098c5.entry.js → p-611bf786.entry.js} +1 -1
- package/dist/utrecht/{p-461cd578.entry.js → p-6406b699.entry.js} +1 -1
- package/dist/utrecht/{p-7c69094b.entry.js → p-641e769c.entry.js} +1 -1
- package/dist/utrecht/{p-10c3cbca.entry.js → p-651b43cc.entry.js} +1 -1
- package/dist/utrecht/{p-420e5d5f.entry.js → p-666c3b4f.entry.js} +1 -1
- package/dist/utrecht/{p-8e555a51.entry.js → p-688a3164.entry.js} +1 -1
- package/dist/utrecht/{p-9a00a33c.entry.js → p-68ad18e6.entry.js} +1 -1
- package/dist/utrecht/p-69a62c90.entry.js +1 -0
- package/dist/utrecht/p-6ab99214.entry.js +1 -0
- package/dist/utrecht/{p-a1aa07a0.entry.js → p-6bfc0faa.entry.js} +1 -1
- package/dist/utrecht/{p-1e320ba8.entry.js → p-6c234b99.entry.js} +1 -1
- package/dist/utrecht/{p-30e0bbd8.entry.js → p-6d4a8b9c.entry.js} +1 -1
- package/dist/utrecht/{p-6df4e09f.entry.js → p-6e473965.entry.js} +1 -1
- package/dist/utrecht/{p-a64f97bf.entry.js → p-72dde049.entry.js} +1 -1
- package/dist/utrecht/p-7604d0c5.entry.js +1 -0
- package/dist/utrecht/{p-1a0cbac5.entry.js → p-760ab3a4.entry.js} +1 -1
- package/dist/utrecht/{p-6cfe570b.entry.js → p-766508a5.entry.js} +1 -1
- package/dist/utrecht/{p-4c38331d.entry.js → p-770748d6.entry.js} +1 -1
- package/dist/utrecht/{p-251d5cf7.entry.js → p-7744aa6e.entry.js} +1 -1
- package/dist/utrecht/{p-63a6ea4f.entry.js → p-77e1773b.entry.js} +1 -1
- package/dist/utrecht/{p-95376af4.entry.js → p-79545b6a.entry.js} +1 -1
- package/dist/utrecht/{p-cbe45e1e.entry.js → p-798e5d7b.entry.js} +1 -1
- package/dist/utrecht/{p-47dd6372.entry.js → p-7c4c4ef1.entry.js} +1 -1
- package/dist/utrecht/p-7d4e781e.entry.js +1 -0
- package/dist/utrecht/{p-d304e423.entry.js → p-7de78bfe.entry.js} +1 -1
- package/dist/utrecht/{p-de564651.entry.js → p-7eb57e59.entry.js} +1 -1
- package/dist/utrecht/{p-80577cff.entry.js → p-7ed3acb1.entry.js} +1 -1
- package/dist/utrecht/{p-bc83b6e5.entry.js → p-7ee1d03d.entry.js} +1 -1
- package/dist/utrecht/{p-fb60c46d.entry.js → p-801cff29.entry.js} +1 -1
- package/dist/utrecht/p-8127f970.js +2 -0
- package/dist/utrecht/{p-bdb8e0ab.entry.js → p-815508fd.entry.js} +1 -1
- package/dist/utrecht/{p-01c69249.entry.js → p-82888c88.entry.js} +1 -1
- package/dist/utrecht/{p-d7c64685.entry.js → p-83e2f1fd.entry.js} +1 -1
- package/dist/utrecht/{p-8143857e.entry.js → p-841f2a53.entry.js} +1 -1
- package/dist/utrecht/{p-d042d943.entry.js → p-84cd6896.entry.js} +1 -1
- package/dist/utrecht/{p-48ab1072.entry.js → p-85ac1c3c.entry.js} +1 -1
- package/dist/utrecht/{p-713c9cfe.entry.js → p-885d0464.entry.js} +1 -1
- package/dist/utrecht/{p-bf0afa65.entry.js → p-8a7ce3f6.entry.js} +1 -1
- package/dist/utrecht/{p-eee97cfa.entry.js → p-8af075a0.entry.js} +1 -1
- package/dist/utrecht/{p-3e88156a.entry.js → p-8b0b1da9.entry.js} +1 -1
- package/dist/utrecht/{p-9c48ccff.entry.js → p-8bae30d7.entry.js} +1 -1
- package/dist/utrecht/{p-981b1077.entry.js → p-8cb159b5.entry.js} +1 -1
- package/dist/utrecht/{p-ee4d6116.entry.js → p-8e33e105.entry.js} +1 -1
- package/dist/utrecht/{p-4f637d43.entry.js → p-908201f5.entry.js} +1 -1
- package/dist/utrecht/{p-3fdf18b7.entry.js → p-92a27270.entry.js} +1 -1
- package/dist/utrecht/{p-14f79a7b.entry.js → p-9309a6dc.entry.js} +1 -1
- package/dist/utrecht/{p-625ce2e8.entry.js → p-9317588f.entry.js} +1 -1
- package/dist/utrecht/p-934af14d.entry.js +1 -0
- package/dist/utrecht/{p-ada30c1d.entry.js → p-960799ea.entry.js} +1 -1
- package/dist/utrecht/{p-9a122e42.entry.js → p-983be0a3.entry.js} +1 -1
- package/dist/utrecht/{p-850ecac4.entry.js → p-994d5ecb.entry.js} +1 -1
- package/dist/utrecht/{p-42aea3c3.entry.js → p-9a4364f4.entry.js} +1 -1
- package/dist/utrecht/{p-b2f55a87.entry.js → p-9bfe30e8.entry.js} +1 -1
- package/dist/utrecht/{p-cab70a89.entry.js → p-9dac8793.entry.js} +1 -1
- package/dist/utrecht/{p-6a10f7bc.entry.js → p-9e209d1f.entry.js} +1 -1
- package/dist/utrecht/{p-e8b1d2c6.entry.js → p-9e59c240.entry.js} +1 -1
- package/dist/utrecht/{p-50f71026.entry.js → p-a0a749c0.entry.js} +1 -1
- package/dist/utrecht/{p-e3f32c40.entry.js → p-a5beb415.entry.js} +1 -1
- package/dist/utrecht/{p-c10f3275.entry.js → p-a935c70c.entry.js} +1 -1
- package/dist/utrecht/{p-b99992a8.entry.js → p-a99af568.entry.js} +1 -1
- package/dist/utrecht/{p-df27bec1.entry.js → p-ab621ace.entry.js} +1 -1
- package/dist/utrecht/{p-cfbaffb3.entry.js → p-ab9f628a.entry.js} +1 -1
- package/dist/utrecht/{p-93c9a579.entry.js → p-ac391d7a.entry.js} +1 -1
- package/dist/utrecht/p-ad4783e7.entry.js +1 -0
- package/dist/utrecht/{p-91874b18.entry.js → p-ad5e0383.entry.js} +1 -1
- package/dist/utrecht/p-ae7acc35.entry.js +1 -0
- package/dist/utrecht/{p-2c3abb65.entry.js → p-afe71fe6.entry.js} +1 -1
- package/dist/utrecht/{p-2f43701c.entry.js → p-b269995e.entry.js} +1 -1
- package/dist/utrecht/{p-3e989e5d.entry.js → p-b41c5fbb.entry.js} +1 -1
- package/dist/utrecht/{p-293206d7.entry.js → p-b48a0156.entry.js} +1 -1
- package/dist/utrecht/{p-0d7734c2.entry.js → p-b4f9900d.entry.js} +1 -1
- package/dist/utrecht/{p-d9371346.entry.js → p-b651aac7.entry.js} +1 -1
- package/dist/utrecht/{p-304c60f1.entry.js → p-b68cef44.entry.js} +1 -1
- package/dist/utrecht/{p-098f2a6c.entry.js → p-b714d7a5.entry.js} +1 -1
- package/dist/utrecht/{p-789ec222.entry.js → p-b83ab01f.entry.js} +1 -1
- package/dist/utrecht/{p-c7aa98af.entry.js → p-b93e1337.entry.js} +1 -1
- package/dist/utrecht/p-b9537b91.entry.js +1 -0
- package/dist/utrecht/p-b964a685.entry.js +1 -0
- package/dist/utrecht/{p-fadb654e.entry.js → p-ba492335.entry.js} +1 -1
- package/dist/utrecht/{p-968091b8.entry.js → p-ba6ca6ba.entry.js} +1 -1
- package/dist/utrecht/{p-3926735f.entry.js → p-bc13cfc9.entry.js} +1 -1
- package/dist/utrecht/{p-9eb4517c.entry.js → p-bc4c23e3.entry.js} +1 -1
- package/dist/utrecht/{p-5d3e64bc.entry.js → p-bd12e306.entry.js} +1 -1
- package/dist/utrecht/{p-17a46aea.entry.js → p-bd51d3a6.entry.js} +1 -1
- package/dist/utrecht/{p-82ea28a7.entry.js → p-bdd3c224.entry.js} +1 -1
- package/dist/utrecht/{p-b8d93c79.entry.js → p-c042728f.entry.js} +1 -1
- package/dist/utrecht/{p-15b936ff.entry.js → p-c2ab84b8.entry.js} +1 -1
- package/dist/utrecht/{p-867f9eac.entry.js → p-c3f5d168.entry.js} +1 -1
- package/dist/utrecht/{p-64d22158.entry.js → p-c49f6875.entry.js} +1 -1
- package/dist/utrecht/{p-a249efe3.entry.js → p-c4ddde7d.entry.js} +1 -1
- package/dist/utrecht/{p-4c8818f0.entry.js → p-c68ccdac.entry.js} +1 -1
- package/dist/utrecht/{p-d3dc6cd5.entry.js → p-c7f4dddc.entry.js} +1 -1
- package/dist/utrecht/{p-59f28bc2.entry.js → p-c86cf98f.entry.js} +1 -1
- package/dist/utrecht/p-ce74ba04.entry.js +1 -0
- package/dist/utrecht/{p-c060e21b.entry.js → p-cfdd3682.entry.js} +1 -1
- package/dist/utrecht/{p-a20a60bc.entry.js → p-d1d418ad.entry.js} +1 -1
- package/dist/utrecht/{p-19676f90.entry.js → p-ddfc4e8e.entry.js} +1 -1
- package/dist/utrecht/{p-421d5f2c.entry.js → p-de264ada.entry.js} +1 -1
- package/dist/utrecht/p-de4688e9.entry.js +1 -0
- package/dist/utrecht/{p-7ce19413.entry.js → p-dea51b05.entry.js} +1 -1
- package/dist/utrecht/{p-75710f6d.entry.js → p-def9c817.entry.js} +1 -1
- package/dist/utrecht/{p-61197a6c.entry.js → p-df84831a.entry.js} +1 -1
- package/dist/utrecht/{p-b5c193e7.entry.js → p-e1f07a7b.entry.js} +1 -1
- package/dist/utrecht/{p-27d379fc.entry.js → p-e32c7a1d.entry.js} +1 -1
- package/dist/utrecht/{p-37d2493b.entry.js → p-e334b8cb.entry.js} +1 -1
- package/dist/utrecht/{p-384cbd75.entry.js → p-e33f9672.entry.js} +1 -1
- package/dist/utrecht/{p-69e4731a.entry.js → p-e3640e73.entry.js} +1 -1
- package/dist/utrecht/{p-8f23be2d.entry.js → p-e4597e3e.entry.js} +1 -1
- package/dist/utrecht/{p-48afb32c.entry.js → p-e5f54281.entry.js} +1 -1
- package/dist/utrecht/{p-0f8ac265.entry.js → p-e71c503a.entry.js} +1 -1
- package/dist/utrecht/{p-3dac6670.entry.js → p-e79e167a.entry.js} +1 -1
- package/dist/utrecht/{p-1087c4b7.entry.js → p-e84d633a.entry.js} +1 -1
- package/dist/utrecht/{p-23b2bc47.entry.js → p-e936f13b.entry.js} +1 -1
- package/dist/utrecht/{p-18c6a7ee.entry.js → p-ea54889a.entry.js} +1 -1
- package/dist/utrecht/{p-4338a087.entry.js → p-eb516103.entry.js} +1 -1
- package/dist/utrecht/{p-5ad2beee.entry.js → p-ebe467b9.entry.js} +1 -1
- package/dist/utrecht/{p-438fa76a.entry.js → p-ec2a8dd2.entry.js} +1 -1
- package/dist/utrecht/{p-a90bed78.entry.js → p-ecf8077d.entry.js} +1 -1
- package/dist/utrecht/{p-7a9ca08e.entry.js → p-edbc30c4.entry.js} +1 -1
- package/dist/utrecht/{p-68937e88.entry.js → p-f01faeec.entry.js} +1 -1
- package/dist/utrecht/{p-ef44eb87.entry.js → p-f232f1c2.entry.js} +1 -1
- package/dist/utrecht/{p-f45957fb.entry.js → p-f2b943b5.entry.js} +1 -1
- package/dist/utrecht/{p-c19faecc.entry.js → p-f424b18c.entry.js} +1 -1
- package/dist/utrecht/{p-a824f056.entry.js → p-f46f1c18.entry.js} +1 -1
- package/dist/utrecht/{p-fecd3b31.entry.js → p-f5ca42e9.entry.js} +1 -1
- package/dist/utrecht/{p-a0d42249.entry.js → p-f6a28ea3.entry.js} +1 -1
- package/dist/utrecht/{p-05155b1e.entry.js → p-f7de16af.entry.js} +1 -1
- package/dist/utrecht/{p-07ab9a4a.entry.js → p-f98a6372.entry.js} +1 -1
- package/dist/utrecht/{p-16c1abbf.entry.js → p-fad4a8e6.entry.js} +1 -1
- package/dist/utrecht/{p-be78c8da.entry.js → p-fb27ece5.entry.js} +1 -1
- package/dist/utrecht/{p-c54ec707.entry.js → p-fb5a95d6.entry.js} +1 -1
- package/dist/utrecht/{p-47ff8a1c.entry.js → p-fd712887.entry.js} +1 -1
- package/dist/utrecht/{p-2613bb23.entry.js → p-fea16bd4.entry.js} +1 -1
- package/dist/utrecht/{p-710a6db7.entry.js → p-ff42813f.entry.js} +1 -1
- package/dist/utrecht/{p-3a68c114.entry.js → p-ff8f6ec9.entry.js} +1 -1
- package/dist/utrecht/utrecht.esm.js +1 -1
- package/loader/package.json +1 -0
- package/package.json +7 -7
- package/dist/utrecht/p-0a4d417d.entry.js +0 -1
- package/dist/utrecht/p-22fbbced.entry.js +0 -1
- package/dist/utrecht/p-2646939a.entry.js +0 -1
- package/dist/utrecht/p-61cfc384.js +0 -2
- package/dist/utrecht/p-6755eb53.entry.js +0 -1
- package/dist/utrecht/p-6cb0e6d9.entry.js +0 -1
- package/dist/utrecht/p-7e4bc34a.entry.js +0 -1
- package/dist/utrecht/p-80272b1f.entry.js +0 -1
- package/dist/utrecht/p-c266e8e5.entry.js +0 -1
- package/dist/utrecht/p-c446bb31.entry.js +0 -1
- package/dist/utrecht/p-c79f206a.entry.js +0 -1
- package/dist/utrecht/p-cb3ec1ba.entry.js +0 -1
- package/dist/utrecht/p-cc62aaef.entry.js +0 -1
- package/dist/utrecht/p-d2ca8d44.entry.js +0 -1
- package/dist/utrecht/p-d7f08e6c.entry.js +0 -1
- package/dist/utrecht/p-f996067e.entry.js +0 -1
|
@@ -22,6 +22,14 @@ function _interopNamespace(e) {
|
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'utrecht';
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
27
|
+
* Simon Friis Vindum (@paldepind)
|
|
28
|
+
* Licensed under the MIT License
|
|
29
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
30
|
+
*
|
|
31
|
+
* Modified for Stencil's renderer and slot projection
|
|
32
|
+
*/
|
|
25
33
|
let scopeId;
|
|
26
34
|
let contentRef;
|
|
27
35
|
let hostTagName;
|
|
@@ -30,28 +38,6 @@ let checkSlotFallbackVisibility = false;
|
|
|
30
38
|
let checkSlotRelocate = false;
|
|
31
39
|
let isSvgMode = false;
|
|
32
40
|
let queuePending = false;
|
|
33
|
-
const win = typeof window !== 'undefined' ? window : {};
|
|
34
|
-
const doc = win.document || { head: {} };
|
|
35
|
-
const plt = {
|
|
36
|
-
$flags$: 0,
|
|
37
|
-
$resourcesUrl$: '',
|
|
38
|
-
jmp: (h) => h(),
|
|
39
|
-
raf: (h) => requestAnimationFrame(h),
|
|
40
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
41
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
42
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
43
|
-
};
|
|
44
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
45
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
46
|
-
try {
|
|
47
|
-
new CSSStyleSheet();
|
|
48
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
49
|
-
}
|
|
50
|
-
catch (e) { }
|
|
51
|
-
return false;
|
|
52
|
-
})()
|
|
53
|
-
;
|
|
54
|
-
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
55
41
|
const createTime = (fnName, tagName = '') => {
|
|
56
42
|
{
|
|
57
43
|
return () => {
|
|
@@ -66,81 +52,7 @@ const uniqueTime = (key, measureText) => {
|
|
|
66
52
|
};
|
|
67
53
|
}
|
|
68
54
|
};
|
|
69
|
-
const
|
|
70
|
-
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
71
|
-
let style = styles.get(scopeId);
|
|
72
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
73
|
-
style = (style || new CSSStyleSheet());
|
|
74
|
-
if (typeof style === 'string') {
|
|
75
|
-
style = cssText;
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
style.replaceSync(cssText);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
style = cssText;
|
|
83
|
-
}
|
|
84
|
-
styles.set(scopeId, style);
|
|
85
|
-
};
|
|
86
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
87
|
-
let scopeId = getScopeId(cmpMeta);
|
|
88
|
-
const style = styles.get(scopeId);
|
|
89
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
90
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
91
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
92
|
-
if (style) {
|
|
93
|
-
if (typeof style === 'string') {
|
|
94
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
95
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
96
|
-
let styleElm;
|
|
97
|
-
if (!appliedStyles) {
|
|
98
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
99
|
-
}
|
|
100
|
-
if (!appliedStyles.has(scopeId)) {
|
|
101
|
-
{
|
|
102
|
-
{
|
|
103
|
-
styleElm = doc.createElement('style');
|
|
104
|
-
styleElm.innerHTML = style;
|
|
105
|
-
}
|
|
106
|
-
const nonceElm = styleContainerNode.ownerDocument.querySelector('style[nonce]');
|
|
107
|
-
if (nonceElm) {
|
|
108
|
-
styleElm.setAttribute('nonce', nonceElm.getAttribute('nonce'));
|
|
109
|
-
console.log(`CSP nonce-${nonceElm.getAttribute('nonce')}`);
|
|
110
|
-
}
|
|
111
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
112
|
-
}
|
|
113
|
-
if (appliedStyles) {
|
|
114
|
-
appliedStyles.add(scopeId);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
119
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
return scopeId;
|
|
123
|
-
};
|
|
124
|
-
const attachStyles = (hostRef) => {
|
|
125
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
126
|
-
const elm = hostRef.$hostElement$;
|
|
127
|
-
const flags = cmpMeta.$flags$;
|
|
128
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
129
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
130
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
131
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
132
|
-
// or this browser doesn't support native shadow dom
|
|
133
|
-
// and this host element was NOT created with SSR
|
|
134
|
-
// let's pick out the inner content for slot projection
|
|
135
|
-
// create a node to represent where the original
|
|
136
|
-
// content was first placed, which is useful later on
|
|
137
|
-
// DOM WRITE!!
|
|
138
|
-
elm['s-sc'] = scopeId;
|
|
139
|
-
elm.classList.add(scopeId + '-h');
|
|
140
|
-
}
|
|
141
|
-
endAttachStyles();
|
|
142
|
-
};
|
|
143
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
55
|
+
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
144
56
|
/**
|
|
145
57
|
* Default style mode id
|
|
146
58
|
*/
|
|
@@ -255,6 +167,154 @@ const newVNode = (tag, text) => {
|
|
|
255
167
|
};
|
|
256
168
|
const Host = {};
|
|
257
169
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
170
|
+
/**
|
|
171
|
+
* Parse a new property value for a given property type.
|
|
172
|
+
*
|
|
173
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
174
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
175
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
176
|
+
* 2. the type stored from `propType`.
|
|
177
|
+
*
|
|
178
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
179
|
+
*
|
|
180
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
181
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
182
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
183
|
+
* ```tsx
|
|
184
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
185
|
+
* ```
|
|
186
|
+
*
|
|
187
|
+
* HTML prop values on the other hand, will always a string
|
|
188
|
+
*
|
|
189
|
+
* @param propValue the new value to coerce to some type
|
|
190
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
191
|
+
* @returns the parsed/coerced value
|
|
192
|
+
*/
|
|
193
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
194
|
+
// ensure this value is of the correct prop type
|
|
195
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
196
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
197
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
198
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
199
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
200
|
+
}
|
|
201
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
202
|
+
// force it to be a number
|
|
203
|
+
return parseFloat(propValue);
|
|
204
|
+
}
|
|
205
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
206
|
+
// could have been passed as a number or boolean
|
|
207
|
+
// but we still want it as a string
|
|
208
|
+
return String(propValue);
|
|
209
|
+
}
|
|
210
|
+
// redundant return here for better minification
|
|
211
|
+
return propValue;
|
|
212
|
+
}
|
|
213
|
+
// not sure exactly what type we want
|
|
214
|
+
// so no need to change to a different type
|
|
215
|
+
return propValue;
|
|
216
|
+
};
|
|
217
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
218
|
+
const createEvent = (ref, name, flags) => {
|
|
219
|
+
const elm = getElement(ref);
|
|
220
|
+
return {
|
|
221
|
+
emit: (detail) => {
|
|
222
|
+
return emitEvent(elm, name, {
|
|
223
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
224
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
225
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
226
|
+
detail,
|
|
227
|
+
});
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
233
|
+
* @param elm the target of the Event
|
|
234
|
+
* @param name the name to give the custom Event
|
|
235
|
+
* @param opts options for configuring a custom Event
|
|
236
|
+
* @returns the custom Event
|
|
237
|
+
*/
|
|
238
|
+
const emitEvent = (elm, name, opts) => {
|
|
239
|
+
const ev = plt.ce(name, opts);
|
|
240
|
+
elm.dispatchEvent(ev);
|
|
241
|
+
return ev;
|
|
242
|
+
};
|
|
243
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
244
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
245
|
+
let style = styles.get(scopeId);
|
|
246
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
247
|
+
style = (style || new CSSStyleSheet());
|
|
248
|
+
if (typeof style === 'string') {
|
|
249
|
+
style = cssText;
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
style.replaceSync(cssText);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
style = cssText;
|
|
257
|
+
}
|
|
258
|
+
styles.set(scopeId, style);
|
|
259
|
+
};
|
|
260
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
261
|
+
let scopeId = getScopeId(cmpMeta);
|
|
262
|
+
const style = styles.get(scopeId);
|
|
263
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
264
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
265
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
266
|
+
if (style) {
|
|
267
|
+
if (typeof style === 'string') {
|
|
268
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
269
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
270
|
+
let styleElm;
|
|
271
|
+
if (!appliedStyles) {
|
|
272
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
273
|
+
}
|
|
274
|
+
if (!appliedStyles.has(scopeId)) {
|
|
275
|
+
{
|
|
276
|
+
{
|
|
277
|
+
styleElm = doc.createElement('style');
|
|
278
|
+
styleElm.innerHTML = style;
|
|
279
|
+
}
|
|
280
|
+
const nonceElm = styleContainerNode.ownerDocument.querySelector('style[nonce]');
|
|
281
|
+
if (nonceElm) {
|
|
282
|
+
styleElm.setAttribute('nonce', nonceElm.getAttribute('nonce'));
|
|
283
|
+
console.log(`CSP nonce-${nonceElm.getAttribute('nonce')}`);
|
|
284
|
+
}
|
|
285
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
286
|
+
}
|
|
287
|
+
if (appliedStyles) {
|
|
288
|
+
appliedStyles.add(scopeId);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
293
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
return scopeId;
|
|
297
|
+
};
|
|
298
|
+
const attachStyles = (hostRef) => {
|
|
299
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
300
|
+
const elm = hostRef.$hostElement$;
|
|
301
|
+
const flags = cmpMeta.$flags$;
|
|
302
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
303
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
304
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
305
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
306
|
+
// or this browser doesn't support native shadow dom
|
|
307
|
+
// and this host element was NOT created with SSR
|
|
308
|
+
// let's pick out the inner content for slot projection
|
|
309
|
+
// create a node to represent where the original
|
|
310
|
+
// content was first placed, which is useful later on
|
|
311
|
+
// DOM WRITE!!
|
|
312
|
+
elm['s-sc'] = scopeId;
|
|
313
|
+
elm.classList.add(scopeId + '-h');
|
|
314
|
+
}
|
|
315
|
+
endAttachStyles();
|
|
316
|
+
};
|
|
317
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
258
318
|
/**
|
|
259
319
|
* Production setAccessor() function based on Preact by
|
|
260
320
|
* Jason Miller (@developit)
|
|
@@ -343,7 +403,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
343
403
|
}
|
|
344
404
|
}
|
|
345
405
|
}
|
|
346
|
-
else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
406
|
+
else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
|
|
347
407
|
newValue = newValue === true ? '' : newValue;
|
|
348
408
|
{
|
|
349
409
|
elm.setAttribute(memberName, newValue);
|
|
@@ -358,7 +418,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
358
418
|
// if the element passed in is a shadow root, which is a document fragment
|
|
359
419
|
// then we want to be adding attrs/props to the shadow root's "host" element
|
|
360
420
|
// if it's not a shadow root, then we add attrs/props to the same element
|
|
361
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
421
|
+
const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
|
|
362
422
|
? newVnode.$elm$.host
|
|
363
423
|
: newVnode.$elm$;
|
|
364
424
|
const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
|
|
@@ -376,6 +436,16 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
376
436
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
|
|
377
437
|
}
|
|
378
438
|
};
|
|
439
|
+
/**
|
|
440
|
+
* Create a DOM Node corresponding to one of the children of a given VNode.
|
|
441
|
+
*
|
|
442
|
+
* @param oldParentVNode the parent VNode from the previous render
|
|
443
|
+
* @param newParentVNode the parent VNode from the current render
|
|
444
|
+
* @param childIndex the index of the VNode, in the _new_ parent node's
|
|
445
|
+
* children, for which we will create a new DOM node
|
|
446
|
+
* @param parentElm the parent DOM node which our new node will be a child of
|
|
447
|
+
* @returns the newly created node
|
|
448
|
+
*/
|
|
379
449
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
380
450
|
// tslint:disable-next-line: prefer-const
|
|
381
451
|
const newVNode = newParentVNode.$children$[childIndex];
|
|
@@ -393,16 +463,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
393
463
|
}
|
|
394
464
|
newVNode.$flags$ |= newVNode.$children$
|
|
395
465
|
? // slot element has fallback content
|
|
396
|
-
2 /* isSlotFallback */
|
|
466
|
+
2 /* VNODE_FLAGS.isSlotFallback */
|
|
397
467
|
: // slot element does not have fallback content
|
|
398
|
-
1 /* isSlotReference */;
|
|
468
|
+
1 /* VNODE_FLAGS.isSlotReference */;
|
|
399
469
|
}
|
|
400
470
|
}
|
|
401
471
|
if (newVNode.$text$ !== null) {
|
|
402
472
|
// create text node
|
|
403
473
|
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
404
474
|
}
|
|
405
|
-
else if (newVNode.$flags$ & 1 /* isSlotReference */) {
|
|
475
|
+
else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
|
|
406
476
|
// create a slot reference node
|
|
407
477
|
elm = newVNode.$elm$ =
|
|
408
478
|
doc.createTextNode('');
|
|
@@ -412,7 +482,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
412
482
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
413
483
|
}
|
|
414
484
|
// create element
|
|
415
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
485
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
|
|
416
486
|
? 'slot-fb'
|
|
417
487
|
: newVNode.$tag$)
|
|
418
488
|
);
|
|
@@ -452,7 +522,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
452
522
|
}
|
|
453
523
|
{
|
|
454
524
|
elm['s-hn'] = hostTagName;
|
|
455
|
-
if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
525
|
+
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
456
526
|
// remember the content reference comment
|
|
457
527
|
elm['s-sr'] = true;
|
|
458
528
|
// remember the content reference comment
|
|
@@ -471,7 +541,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
471
541
|
return elm;
|
|
472
542
|
};
|
|
473
543
|
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
474
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
544
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
475
545
|
const oldSlotChildNodes = parentElm.childNodes;
|
|
476
546
|
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
477
547
|
const childNode = oldSlotChildNodes[i];
|
|
@@ -492,7 +562,7 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
492
562
|
putBackInOriginalLocation(childNode, recursive);
|
|
493
563
|
}
|
|
494
564
|
}
|
|
495
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
565
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
496
566
|
};
|
|
497
567
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
498
568
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
@@ -533,6 +603,74 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
|
533
603
|
}
|
|
534
604
|
}
|
|
535
605
|
};
|
|
606
|
+
/**
|
|
607
|
+
* Reconcile the children of a new VNode with the children of an old VNode by
|
|
608
|
+
* traversing the two collections of children, identifying nodes that are
|
|
609
|
+
* conserved or changed, calling out to `patch` to make any necessary
|
|
610
|
+
* updates to the DOM, and rearranging DOM nodes as needed.
|
|
611
|
+
*
|
|
612
|
+
* The algorithm for reconciling children works by analyzing two 'windows' onto
|
|
613
|
+
* the two arrays of children (`oldCh` and `newCh`). We keep track of the
|
|
614
|
+
* 'windows' by storing start and end indices and references to the
|
|
615
|
+
* corresponding array entries. Initially the two 'windows' are basically equal
|
|
616
|
+
* to the entire array, but we progressively narrow the windows until there are
|
|
617
|
+
* no children left to update by doing the following:
|
|
618
|
+
*
|
|
619
|
+
* 1. Skip any `null` entries at the beginning or end of the two arrays, so
|
|
620
|
+
* that if we have an initial array like the following we'll end up dealing
|
|
621
|
+
* only with a window bounded by the highlighted elements:
|
|
622
|
+
*
|
|
623
|
+
* [null, null, VNode1 , ... , VNode2, null, null]
|
|
624
|
+
* ^^^^^^ ^^^^^^
|
|
625
|
+
*
|
|
626
|
+
* 2. Check to see if the elements at the head and tail positions are equal
|
|
627
|
+
* across the windows. This will basically detect elements which haven't
|
|
628
|
+
* been added, removed, or changed position, i.e. if you had the following
|
|
629
|
+
* VNode elements (represented as HTML):
|
|
630
|
+
*
|
|
631
|
+
* oldVNode: `<div><p><span>HEY</span></p></div>`
|
|
632
|
+
* newVNode: `<div><p><span>THERE</span></p></div>`
|
|
633
|
+
*
|
|
634
|
+
* Then when comparing the children of the `<div>` tag we check the equality
|
|
635
|
+
* of the VNodes corresponding to the `<p>` tags and, since they are the
|
|
636
|
+
* same tag in the same position, we'd be able to avoid completely
|
|
637
|
+
* re-rendering the subtree under them with a new DOM element and would just
|
|
638
|
+
* call out to `patch` to handle reconciling their children and so on.
|
|
639
|
+
*
|
|
640
|
+
* 3. Check, for both windows, to see if the element at the beginning of the
|
|
641
|
+
* window corresponds to the element at the end of the other window. This is
|
|
642
|
+
* a heuristic which will let us identify _some_ situations in which
|
|
643
|
+
* elements have changed position, for instance it _should_ detect that the
|
|
644
|
+
* children nodes themselves have not changed but merely moved in the
|
|
645
|
+
* following example:
|
|
646
|
+
*
|
|
647
|
+
* oldVNode: `<div><element-one /><element-two /></div>`
|
|
648
|
+
* newVNode: `<div><element-two /><element-one /></div>`
|
|
649
|
+
*
|
|
650
|
+
* If we find cases like this then we also need to move the concrete DOM
|
|
651
|
+
* elements corresponding to the moved children to write the re-order to the
|
|
652
|
+
* DOM.
|
|
653
|
+
*
|
|
654
|
+
* 4. Finally, if VNodes have the `key` attribute set on them we check for any
|
|
655
|
+
* nodes in the old children which have the same key as the first element in
|
|
656
|
+
* our window on the new children. If we find such a node we handle calling
|
|
657
|
+
* out to `patch`, moving relevant DOM nodes, and so on, in accordance with
|
|
658
|
+
* what we find.
|
|
659
|
+
*
|
|
660
|
+
* Finally, once we've narrowed our 'windows' to the point that either of them
|
|
661
|
+
* collapse (i.e. they have length 0) we then handle any remaining VNode
|
|
662
|
+
* insertion or deletion that needs to happen to get a DOM state that correctly
|
|
663
|
+
* reflects the new child VNodes. If, for instance, after our window on the old
|
|
664
|
+
* children has collapsed we still have more nodes on the new children that
|
|
665
|
+
* we haven't dealt with yet then we need to add them, or if the new children
|
|
666
|
+
* collapse but we still have unhandled _old_ children then we need to make
|
|
667
|
+
* sure the corresponding DOM nodes are removed.
|
|
668
|
+
*
|
|
669
|
+
* @param parentElm the node into which the parent VNode is rendered
|
|
670
|
+
* @param oldCh the old children of the parent node
|
|
671
|
+
* @param newVNode the new VNode which will replace the parent
|
|
672
|
+
* @param newCh the new children of the parent node
|
|
673
|
+
*/
|
|
536
674
|
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
537
675
|
let oldStartIdx = 0;
|
|
538
676
|
let newStartIdx = 0;
|
|
@@ -548,7 +686,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
548
686
|
let elmToMove;
|
|
549
687
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
550
688
|
if (oldStartVnode == null) {
|
|
551
|
-
//
|
|
689
|
+
// VNode might have been moved left
|
|
552
690
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
553
691
|
}
|
|
554
692
|
else if (oldEndVnode == null) {
|
|
@@ -561,37 +699,100 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
561
699
|
newEndVnode = newCh[--newEndIdx];
|
|
562
700
|
}
|
|
563
701
|
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
702
|
+
// if the start nodes are the same then we should patch the new VNode
|
|
703
|
+
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
704
|
+
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
705
|
+
// since things are matched up in order.
|
|
564
706
|
patch(oldStartVnode, newStartVnode);
|
|
565
707
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
566
708
|
newStartVnode = newCh[++newStartIdx];
|
|
567
709
|
}
|
|
568
710
|
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
711
|
+
// likewise, if the end nodes are the same we patch new onto old and
|
|
712
|
+
// decrement our end indices, and also likewise in this case we don't
|
|
713
|
+
// need to move any DOM Nodes.
|
|
569
714
|
patch(oldEndVnode, newEndVnode);
|
|
570
715
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
571
716
|
newEndVnode = newCh[--newEndIdx];
|
|
572
717
|
}
|
|
573
718
|
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
574
|
-
// Vnode moved right
|
|
719
|
+
// case: "Vnode moved right"
|
|
720
|
+
//
|
|
721
|
+
// We've found that the last node in our window on the new children is
|
|
722
|
+
// the same VNode as the _first_ node in our window on the old children
|
|
723
|
+
// we're dealing with now. Visually, this is the layout of these two
|
|
724
|
+
// nodes:
|
|
725
|
+
//
|
|
726
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
727
|
+
// ^^^^^^^^^^^
|
|
728
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
729
|
+
// ^^^^^^^^^^^^^
|
|
730
|
+
//
|
|
731
|
+
// In this situation we need to patch `newEndVnode` onto `oldStartVnode`
|
|
732
|
+
// and move the DOM element for `oldStartVnode`.
|
|
575
733
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
576
734
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
577
735
|
}
|
|
578
736
|
patch(oldStartVnode, newEndVnode);
|
|
737
|
+
// We need to move the element for `oldStartVnode` into a position which
|
|
738
|
+
// will be appropriate for `newEndVnode`. For this we can use
|
|
739
|
+
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
740
|
+
// sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
|
|
741
|
+
// `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
|
|
742
|
+
//
|
|
743
|
+
// <old-start-node />
|
|
744
|
+
// <some-intervening-node />
|
|
745
|
+
// <old-end-node />
|
|
746
|
+
// <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
|
|
747
|
+
// <next-sibling />
|
|
748
|
+
//
|
|
749
|
+
// If instead `oldEndVnode.$elm$` has no sibling then we just want to put
|
|
750
|
+
// the node for `oldStartVnode` at the end of the children of
|
|
751
|
+
// `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
|
|
752
|
+
// aren't any siblings, and passing `null` to `Node.insertBefore` will
|
|
753
|
+
// append it to the children of the parent element.
|
|
579
754
|
parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
580
755
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
581
756
|
newEndVnode = newCh[--newEndIdx];
|
|
582
757
|
}
|
|
583
758
|
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
584
|
-
// Vnode moved left
|
|
759
|
+
// case: "Vnode moved left"
|
|
760
|
+
//
|
|
761
|
+
// We've found that the first node in our window on the new children is
|
|
762
|
+
// the same VNode as the _last_ node in our window on the old children.
|
|
763
|
+
// Visually, this is the layout of these two nodes:
|
|
764
|
+
//
|
|
765
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
766
|
+
// ^^^^^^^^^^^^^
|
|
767
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
768
|
+
// ^^^^^^^^^^^
|
|
769
|
+
//
|
|
770
|
+
// In this situation we need to patch `newStartVnode` onto `oldEndVnode`
|
|
771
|
+
// (which will handle updating any changed attributes, reconciling their
|
|
772
|
+
// children etc) but we also need to move the DOM node to which
|
|
773
|
+
// `oldEndVnode` corresponds.
|
|
585
774
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
586
775
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
587
776
|
}
|
|
588
777
|
patch(oldEndVnode, newStartVnode);
|
|
778
|
+
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
779
|
+
// the same node, so since we're here we know that they are not. Thus we
|
|
780
|
+
// can move the element for `oldEndVnode` _before_ the element for
|
|
781
|
+
// `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
|
|
782
|
+
// future.
|
|
589
783
|
parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
590
784
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
591
785
|
newStartVnode = newCh[++newStartIdx];
|
|
592
786
|
}
|
|
593
787
|
else {
|
|
594
|
-
//
|
|
788
|
+
// Here we do some checks to match up old and new nodes based on the
|
|
789
|
+
// `$key$` attribute, which is set by putting a `key="my-key"` attribute
|
|
790
|
+
// in the JSX for a DOM element in the implementation of a Stencil
|
|
791
|
+
// component.
|
|
792
|
+
//
|
|
793
|
+
// First we check to see if there are any nodes in the array of old
|
|
794
|
+
// children which have the same key as the first node in the new
|
|
795
|
+
// children.
|
|
595
796
|
idxInOld = -1;
|
|
596
797
|
{
|
|
597
798
|
for (i = oldStartIdx; i <= oldEndIdx; ++i) {
|
|
@@ -602,23 +803,32 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
602
803
|
}
|
|
603
804
|
}
|
|
604
805
|
if (idxInOld >= 0) {
|
|
806
|
+
// We found a node in the old children which matches up with the first
|
|
807
|
+
// node in the new children! So let's deal with that
|
|
605
808
|
elmToMove = oldCh[idxInOld];
|
|
606
809
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
810
|
+
// the tag doesn't match so we'll need a new DOM element
|
|
607
811
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
608
812
|
}
|
|
609
813
|
else {
|
|
610
814
|
patch(elmToMove, newStartVnode);
|
|
815
|
+
// invalidate the matching old node so that we won't try to update it
|
|
816
|
+
// again later on
|
|
611
817
|
oldCh[idxInOld] = undefined;
|
|
612
818
|
node = elmToMove.$elm$;
|
|
613
819
|
}
|
|
614
820
|
newStartVnode = newCh[++newStartIdx];
|
|
615
821
|
}
|
|
616
822
|
else {
|
|
617
|
-
//
|
|
823
|
+
// We either didn't find an element in the old children that matches
|
|
824
|
+
// the key of the first new child OR the build is not using `key`
|
|
825
|
+
// attributes at all. In either case we need to create a new element
|
|
826
|
+
// for the new node.
|
|
618
827
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
|
|
619
828
|
newStartVnode = newCh[++newStartIdx];
|
|
620
829
|
}
|
|
621
830
|
if (node) {
|
|
831
|
+
// if we created a new node then handle inserting it to the DOM
|
|
622
832
|
{
|
|
623
833
|
parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
|
|
624
834
|
}
|
|
@@ -626,21 +836,43 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
626
836
|
}
|
|
627
837
|
}
|
|
628
838
|
if (oldStartIdx > oldEndIdx) {
|
|
839
|
+
// we have some more new nodes to add which don't match up with old nodes
|
|
629
840
|
addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
|
|
630
841
|
}
|
|
631
842
|
else if (newStartIdx > newEndIdx) {
|
|
843
|
+
// there are nodes in the `oldCh` array which no longer correspond to nodes
|
|
844
|
+
// in the new array, so lets remove them (which entails cleaning up the
|
|
845
|
+
// relevant DOM nodes)
|
|
632
846
|
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
633
847
|
}
|
|
634
848
|
};
|
|
635
|
-
|
|
849
|
+
/**
|
|
850
|
+
* Compare two VNodes to determine if they are the same
|
|
851
|
+
*
|
|
852
|
+
* **NB**: This function is an equality _heuristic_ based on the available
|
|
853
|
+
* information set on the two VNodes and can be misleading under certain
|
|
854
|
+
* circumstances. In particular, if the two nodes do not have `key` attrs
|
|
855
|
+
* (available under `$key$` on VNodes) then the function falls back on merely
|
|
856
|
+
* checking that they have the same tag.
|
|
857
|
+
*
|
|
858
|
+
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
859
|
+
* changing order within a `children` array or something along those lines then
|
|
860
|
+
* we could obtain a false positive and then have to do needless re-rendering.
|
|
861
|
+
*
|
|
862
|
+
* @param leftVNode the first VNode to check
|
|
863
|
+
* @param rightVNode the second VNode to check
|
|
864
|
+
* @returns whether they're equal or not
|
|
865
|
+
*/
|
|
866
|
+
const isSameVnode = (leftVNode, rightVNode) => {
|
|
636
867
|
// compare if two vnode to see if they're "technically" the same
|
|
637
868
|
// need to have the same element tag, and same key to be the same
|
|
638
|
-
if (
|
|
639
|
-
if (
|
|
640
|
-
return
|
|
869
|
+
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
870
|
+
if (leftVNode.$tag$ === 'slot') {
|
|
871
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
641
872
|
}
|
|
873
|
+
// this will be set if components in the build have `key` attrs set on them
|
|
642
874
|
{
|
|
643
|
-
return
|
|
875
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
644
876
|
}
|
|
645
877
|
}
|
|
646
878
|
return false;
|
|
@@ -653,6 +885,14 @@ const referenceNode = (node) => {
|
|
|
653
885
|
return (node && node['s-ol']) || node;
|
|
654
886
|
};
|
|
655
887
|
const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
|
|
888
|
+
/**
|
|
889
|
+
* Handle reconciling an outdated VNode with a new one which corresponds to
|
|
890
|
+
* it. This function handles flushing updates to the DOM and reconciling the
|
|
891
|
+
* children of the two nodes (if any).
|
|
892
|
+
*
|
|
893
|
+
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
894
|
+
* @param newVNode a new VNode representing an updated version of the old one
|
|
895
|
+
*/
|
|
656
896
|
const patch = (oldVNode, newVNode) => {
|
|
657
897
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
658
898
|
const oldChildren = oldVNode.$children$;
|
|
@@ -666,7 +906,6 @@ const patch = (oldVNode, newVNode) => {
|
|
|
666
906
|
// only add this to the when the compiler sees we're using an svg somewhere
|
|
667
907
|
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
668
908
|
}
|
|
669
|
-
// element node
|
|
670
909
|
{
|
|
671
910
|
if (tag === 'slot')
|
|
672
911
|
;
|
|
@@ -679,6 +918,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
679
918
|
}
|
|
680
919
|
if (oldChildren !== null && newChildren !== null) {
|
|
681
920
|
// looks like there's child vnodes for both the old and new vnodes
|
|
921
|
+
// so we need to call `updateChildren` to reconcile them
|
|
682
922
|
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
683
923
|
}
|
|
684
924
|
else if (newChildren !== null) {
|
|
@@ -719,7 +959,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
719
959
|
let nodeType;
|
|
720
960
|
for (i = 0, ilen = childNodes.length; i < ilen; i++) {
|
|
721
961
|
childNode = childNodes[i];
|
|
722
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
962
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
723
963
|
if (childNode['s-sr']) {
|
|
724
964
|
// this is a slot fallback node
|
|
725
965
|
// get the slot name for this slot reference node
|
|
@@ -731,7 +971,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
731
971
|
nodeType = childNodes[j].nodeType;
|
|
732
972
|
if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
|
|
733
973
|
// this sibling node is from a different component OR is a named fallback slot node
|
|
734
|
-
if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
974
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
735
975
|
childNode.hidden = true;
|
|
736
976
|
break;
|
|
737
977
|
}
|
|
@@ -740,8 +980,8 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
740
980
|
// this is a default fallback slot node
|
|
741
981
|
// any element or text node (with content)
|
|
742
982
|
// should hide the default fallback slot node
|
|
743
|
-
if (nodeType === 1 /* ElementNode */ ||
|
|
744
|
-
(nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
983
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
|
|
984
|
+
(nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
745
985
|
childNode.hidden = true;
|
|
746
986
|
break;
|
|
747
987
|
}
|
|
@@ -819,13 +1059,13 @@ const relocateSlotContent = (elm) => {
|
|
|
819
1059
|
}
|
|
820
1060
|
}
|
|
821
1061
|
}
|
|
822
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1062
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
823
1063
|
relocateSlotContent(childNode);
|
|
824
1064
|
}
|
|
825
1065
|
}
|
|
826
1066
|
};
|
|
827
1067
|
const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
828
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1068
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
829
1069
|
if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
|
|
830
1070
|
return true;
|
|
831
1071
|
}
|
|
@@ -850,7 +1090,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
850
1090
|
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
851
1091
|
}
|
|
852
1092
|
rootVnode.$tag$ = null;
|
|
853
|
-
rootVnode.$flags$ |= 4 /* isHost */;
|
|
1093
|
+
rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
|
|
854
1094
|
hostRef.$vnode$ = rootVnode;
|
|
855
1095
|
rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
|
|
856
1096
|
{
|
|
@@ -858,7 +1098,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
858
1098
|
}
|
|
859
1099
|
{
|
|
860
1100
|
contentRef = hostElm['s-cr'];
|
|
861
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
1101
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
|
|
862
1102
|
// always reset
|
|
863
1103
|
checkSlotFallbackVisibility = false;
|
|
864
1104
|
}
|
|
@@ -867,7 +1107,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
867
1107
|
{
|
|
868
1108
|
// while we're moving nodes around existing nodes, temporarily disable
|
|
869
1109
|
// the disconnectCallback from working
|
|
870
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
1110
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
871
1111
|
if (checkSlotRelocate) {
|
|
872
1112
|
relocateSlotContent(rootVnode.$elm$);
|
|
873
1113
|
let relocateData;
|
|
@@ -925,7 +1165,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
925
1165
|
}
|
|
926
1166
|
else {
|
|
927
1167
|
// this node doesn't have a slot home to go to, so let's hide it
|
|
928
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1168
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
929
1169
|
nodeToRelocate.hidden = true;
|
|
930
1170
|
}
|
|
931
1171
|
}
|
|
@@ -936,37 +1176,11 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
936
1176
|
}
|
|
937
1177
|
// done moving nodes around
|
|
938
1178
|
// allow the disconnect callback to work again
|
|
939
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
1179
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
940
1180
|
// always reset
|
|
941
1181
|
relocateNodes.length = 0;
|
|
942
1182
|
}
|
|
943
1183
|
};
|
|
944
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
945
|
-
const createEvent = (ref, name, flags) => {
|
|
946
|
-
const elm = getElement(ref);
|
|
947
|
-
return {
|
|
948
|
-
emit: (detail) => {
|
|
949
|
-
return emitEvent(elm, name, {
|
|
950
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
951
|
-
composed: !!(flags & 2 /* Composed */),
|
|
952
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
953
|
-
detail,
|
|
954
|
-
});
|
|
955
|
-
},
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
/**
|
|
959
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
960
|
-
* @param elm the target of the Event
|
|
961
|
-
* @param name the name to give the custom Event
|
|
962
|
-
* @param opts options for configuring a custom Event
|
|
963
|
-
* @returns the custom Event
|
|
964
|
-
*/
|
|
965
|
-
const emitEvent = (elm, name, opts) => {
|
|
966
|
-
const ev = plt.ce(name, opts);
|
|
967
|
-
elm.dispatchEvent(ev);
|
|
968
|
-
return ev;
|
|
969
|
-
};
|
|
970
1184
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
971
1185
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
972
1186
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -974,10 +1188,10 @@ const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
|
974
1188
|
};
|
|
975
1189
|
const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
976
1190
|
{
|
|
977
|
-
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
1191
|
+
hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
978
1192
|
}
|
|
979
|
-
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
980
|
-
hostRef.$flags$ |= 512 /* needsRerender */;
|
|
1193
|
+
if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
|
|
1194
|
+
hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
|
|
981
1195
|
return;
|
|
982
1196
|
}
|
|
983
1197
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
@@ -1024,7 +1238,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1024
1238
|
}
|
|
1025
1239
|
else {
|
|
1026
1240
|
Promise.all(childrenPromises).then(postUpdate);
|
|
1027
|
-
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
1241
|
+
hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
|
|
1028
1242
|
childrenPromises.length = 0;
|
|
1029
1243
|
}
|
|
1030
1244
|
}
|
|
@@ -1033,10 +1247,10 @@ const callRender = (hostRef, instance, elm) => {
|
|
|
1033
1247
|
try {
|
|
1034
1248
|
instance = instance.render() ;
|
|
1035
1249
|
{
|
|
1036
|
-
hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
|
|
1250
|
+
hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1037
1251
|
}
|
|
1038
1252
|
{
|
|
1039
|
-
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
1253
|
+
hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
|
|
1040
1254
|
}
|
|
1041
1255
|
{
|
|
1042
1256
|
{
|
|
@@ -1059,8 +1273,8 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1059
1273
|
const elm = hostRef.$hostElement$;
|
|
1060
1274
|
const endPostUpdate = createTime('postUpdate', tagName);
|
|
1061
1275
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1062
|
-
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1063
|
-
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1276
|
+
if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
|
|
1277
|
+
hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
|
|
1064
1278
|
{
|
|
1065
1279
|
// DOM WRITE!
|
|
1066
1280
|
addHydratedFlag(elm);
|
|
@@ -1083,10 +1297,10 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1083
1297
|
hostRef.$onRenderResolve$();
|
|
1084
1298
|
hostRef.$onRenderResolve$ = undefined;
|
|
1085
1299
|
}
|
|
1086
|
-
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
1300
|
+
if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
|
|
1087
1301
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
1088
1302
|
}
|
|
1089
|
-
hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
|
|
1303
|
+
hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
|
|
1090
1304
|
}
|
|
1091
1305
|
// ( •_•)
|
|
1092
1306
|
// ( •_•)>⌐■-■
|
|
@@ -1105,53 +1319,6 @@ const then = (promise, thenFn) => {
|
|
|
1105
1319
|
};
|
|
1106
1320
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1107
1321
|
;
|
|
1108
|
-
/**
|
|
1109
|
-
* Parse a new property value for a given property type.
|
|
1110
|
-
*
|
|
1111
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1112
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1113
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
1114
|
-
* 2. the type stored from `propType`.
|
|
1115
|
-
*
|
|
1116
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1117
|
-
*
|
|
1118
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1119
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1120
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1121
|
-
* ```tsx
|
|
1122
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
1123
|
-
* ```
|
|
1124
|
-
*
|
|
1125
|
-
* HTML prop values on the other hand, will always a string
|
|
1126
|
-
*
|
|
1127
|
-
* @param propValue the new value to coerce to some type
|
|
1128
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
1129
|
-
* @returns the parsed/coerced value
|
|
1130
|
-
*/
|
|
1131
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
1132
|
-
// ensure this value is of the correct prop type
|
|
1133
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1134
|
-
if (propType & 4 /* Boolean */) {
|
|
1135
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
1136
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1137
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1138
|
-
}
|
|
1139
|
-
if (propType & 2 /* Number */) {
|
|
1140
|
-
// force it to be a number
|
|
1141
|
-
return parseFloat(propValue);
|
|
1142
|
-
}
|
|
1143
|
-
if (propType & 1 /* String */) {
|
|
1144
|
-
// could have been passed as a number or boolean
|
|
1145
|
-
// but we still want it as a string
|
|
1146
|
-
return String(propValue);
|
|
1147
|
-
}
|
|
1148
|
-
// redundant return here for better minification
|
|
1149
|
-
return propValue;
|
|
1150
|
-
}
|
|
1151
|
-
// not sure exactly what type we want
|
|
1152
|
-
// so no need to change to a different type
|
|
1153
|
-
return propValue;
|
|
1154
|
-
};
|
|
1155
1322
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1156
1323
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1157
1324
|
// check our new property value against our internal value
|
|
@@ -1163,12 +1330,12 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1163
1330
|
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1164
1331
|
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1165
1332
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1166
|
-
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1333
|
+
if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1167
1334
|
// gadzooks! the property's value has changed!!
|
|
1168
1335
|
// set our new value!
|
|
1169
1336
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1170
1337
|
if (instance) {
|
|
1171
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1338
|
+
if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
|
|
1172
1339
|
// looks like this value actually changed, so we've got work to do!
|
|
1173
1340
|
// but only if we've already rendered, otherwise just chill out
|
|
1174
1341
|
// queue that we need to do an update, but don't worry about queuing
|
|
@@ -1178,14 +1345,24 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1178
1345
|
}
|
|
1179
1346
|
}
|
|
1180
1347
|
};
|
|
1348
|
+
/**
|
|
1349
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
1350
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
1351
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
1352
|
+
*
|
|
1353
|
+
* @param Cstr the constructor for a component that we need to process
|
|
1354
|
+
* @param cmpMeta metadata collected previously about the component
|
|
1355
|
+
* @param flags a number used to store a series of bit flags
|
|
1356
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
1357
|
+
*/
|
|
1181
1358
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1182
1359
|
if (cmpMeta.$members$) {
|
|
1183
1360
|
// It's better to have a const than two Object.entries()
|
|
1184
1361
|
const members = Object.entries(cmpMeta.$members$);
|
|
1185
1362
|
const prototype = Cstr.prototype;
|
|
1186
1363
|
members.map(([memberName, [memberFlags]]) => {
|
|
1187
|
-
if ((memberFlags & 31 /* Prop */ ||
|
|
1188
|
-
((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
|
|
1364
|
+
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1365
|
+
((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
1189
1366
|
// proxyComponent - prop
|
|
1190
1367
|
Object.defineProperty(prototype, memberName, {
|
|
1191
1368
|
get() {
|
|
@@ -1201,7 +1378,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1201
1378
|
});
|
|
1202
1379
|
}
|
|
1203
1380
|
});
|
|
1204
|
-
if ((flags & 1 /* isElementConstructor */)) {
|
|
1381
|
+
if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
|
|
1205
1382
|
const attrNameToPropName = new Map();
|
|
1206
1383
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1207
1384
|
plt.jmp(() => {
|
|
@@ -1257,11 +1434,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1257
1434
|
// create an array of attributes to observe
|
|
1258
1435
|
// and also create a map of html attribute name to js property name
|
|
1259
1436
|
Cstr.observedAttributes = members
|
|
1260
|
-
.filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
|
|
1437
|
+
.filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
|
|
1261
1438
|
.map(([propName, m]) => {
|
|
1262
1439
|
const attrName = m[1] || propName;
|
|
1263
1440
|
attrNameToPropName.set(attrName, propName);
|
|
1264
|
-
if (m[0] & 512 /* ReflectAttr */) {
|
|
1441
|
+
if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
|
|
1265
1442
|
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
1266
1443
|
}
|
|
1267
1444
|
return attrName;
|
|
@@ -1272,10 +1449,10 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1272
1449
|
};
|
|
1273
1450
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1274
1451
|
// initializeComponent
|
|
1275
|
-
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1452
|
+
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1276
1453
|
{
|
|
1277
1454
|
// we haven't initialized this element yet
|
|
1278
|
-
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1455
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1279
1456
|
// lazy loaded components
|
|
1280
1457
|
// request the component's implementation to be
|
|
1281
1458
|
// wired up with the host element
|
|
@@ -1287,7 +1464,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1287
1464
|
endLoad();
|
|
1288
1465
|
}
|
|
1289
1466
|
if (!Cstr.isProxied) {
|
|
1290
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1467
|
+
proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
|
|
1291
1468
|
Cstr.isProxied = true;
|
|
1292
1469
|
}
|
|
1293
1470
|
const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
|
|
@@ -1295,7 +1472,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1295
1472
|
// but let's keep track of when we start and stop
|
|
1296
1473
|
// so that the getters/setters don't incorrectly step on data
|
|
1297
1474
|
{
|
|
1298
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
1475
|
+
hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1299
1476
|
}
|
|
1300
1477
|
// construct the lazy-loaded component implementation
|
|
1301
1478
|
// passing the hostRef is very important during
|
|
@@ -1308,7 +1485,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1308
1485
|
consoleError(e);
|
|
1309
1486
|
}
|
|
1310
1487
|
{
|
|
1311
|
-
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1488
|
+
hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1312
1489
|
}
|
|
1313
1490
|
endNewInstance();
|
|
1314
1491
|
}
|
|
@@ -1318,7 +1495,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1318
1495
|
const scopeId = getScopeId(cmpMeta);
|
|
1319
1496
|
if (!styles.has(scopeId)) {
|
|
1320
1497
|
const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
|
|
1321
|
-
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1498
|
+
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
|
|
1322
1499
|
endRegisterStyles();
|
|
1323
1500
|
}
|
|
1324
1501
|
}
|
|
@@ -1340,19 +1517,19 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1340
1517
|
}
|
|
1341
1518
|
};
|
|
1342
1519
|
const connectedCallback = (elm) => {
|
|
1343
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1520
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1344
1521
|
const hostRef = getHostRef(elm);
|
|
1345
1522
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1346
1523
|
const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
|
|
1347
|
-
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
1524
|
+
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
1348
1525
|
// first time this component has connected
|
|
1349
|
-
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1526
|
+
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
1350
1527
|
{
|
|
1351
1528
|
// initUpdate
|
|
1352
1529
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1353
1530
|
// in here to act as original content anchors as we move nodes around
|
|
1354
1531
|
// host element has been connected to the DOM
|
|
1355
|
-
if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
|
|
1532
|
+
if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1356
1533
|
setContentReference(elm);
|
|
1357
1534
|
}
|
|
1358
1535
|
}
|
|
@@ -1375,7 +1552,7 @@ const connectedCallback = (elm) => {
|
|
|
1375
1552
|
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
1376
1553
|
if (cmpMeta.$members$) {
|
|
1377
1554
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1378
|
-
if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1555
|
+
if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1379
1556
|
const value = elm[memberName];
|
|
1380
1557
|
delete elm[memberName];
|
|
1381
1558
|
elm[memberName] = value;
|
|
@@ -1401,7 +1578,7 @@ const setContentReference = (elm) => {
|
|
|
1401
1578
|
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
1402
1579
|
};
|
|
1403
1580
|
const disconnectedCallback = (elm) => {
|
|
1404
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1581
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1405
1582
|
getHostRef(elm);
|
|
1406
1583
|
}
|
|
1407
1584
|
};
|
|
@@ -1440,7 +1617,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1440
1617
|
super(self);
|
|
1441
1618
|
self = this;
|
|
1442
1619
|
registerHost(self, cmpMeta);
|
|
1443
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1620
|
+
if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
1444
1621
|
// this component is using shadow dom
|
|
1445
1622
|
// and this browser supports shadow dom
|
|
1446
1623
|
// add the read-only property "shadowRoot" to the host element
|
|
@@ -1475,7 +1652,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1475
1652
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1476
1653
|
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1477
1654
|
cmpTags.push(tagName);
|
|
1478
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1655
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
|
|
1479
1656
|
}
|
|
1480
1657
|
});
|
|
1481
1658
|
});
|
|
@@ -1501,7 +1678,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1501
1678
|
// Fallback appLoad event
|
|
1502
1679
|
endBootstrap();
|
|
1503
1680
|
};
|
|
1504
|
-
const hostRefs = new WeakMap();
|
|
1681
|
+
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1505
1682
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1506
1683
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
1507
1684
|
const registerHost = (elm, cmpMeta) => {
|
|
@@ -1542,14 +1719,35 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1542
1719
|
return importedModule[exportName];
|
|
1543
1720
|
}, consoleError);
|
|
1544
1721
|
};
|
|
1545
|
-
const styles = new Map();
|
|
1722
|
+
const styles = /*@__PURE__*/ new Map();
|
|
1723
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
1724
|
+
const doc = win.document || { head: {} };
|
|
1725
|
+
const plt = {
|
|
1726
|
+
$flags$: 0,
|
|
1727
|
+
$resourcesUrl$: '',
|
|
1728
|
+
jmp: (h) => h(),
|
|
1729
|
+
raf: (h) => requestAnimationFrame(h),
|
|
1730
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
1731
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1732
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
1733
|
+
};
|
|
1734
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
1735
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
1736
|
+
try {
|
|
1737
|
+
new CSSStyleSheet();
|
|
1738
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
1739
|
+
}
|
|
1740
|
+
catch (e) { }
|
|
1741
|
+
return false;
|
|
1742
|
+
})()
|
|
1743
|
+
;
|
|
1546
1744
|
const queueDomReads = [];
|
|
1547
1745
|
const queueDomWrites = [];
|
|
1548
1746
|
const queueTask = (queue, write) => (cb) => {
|
|
1549
1747
|
queue.push(cb);
|
|
1550
1748
|
if (!queuePending) {
|
|
1551
1749
|
queuePending = true;
|
|
1552
|
-
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
1750
|
+
if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
|
|
1553
1751
|
nextTick(flush);
|
|
1554
1752
|
}
|
|
1555
1753
|
else {
|