@utrecht/web-component-library-stencil 1.0.0-alpha.401 → 1.0.0-alpha.402
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 +5 -1
- 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 +1 -1
- 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.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.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 +4 -0
- 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 +4 -0
- 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-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 +5 -1
- 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 +1 -1
- 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-80272b1f.entry.js → p-67391bbf.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-73833a50.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-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-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-f95ad79d.entry.js +1 -0
- 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 +6 -6
- 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-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
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
const NAMESPACE = 'utrecht';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
5
|
+
* Simon Friis Vindum (@paldepind)
|
|
6
|
+
* Licensed under the MIT License
|
|
7
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
8
|
+
*
|
|
9
|
+
* Modified for Stencil's renderer and slot projection
|
|
10
|
+
*/
|
|
3
11
|
let scopeId;
|
|
4
12
|
let contentRef;
|
|
5
13
|
let hostTagName;
|
|
@@ -8,28 +16,6 @@ let checkSlotFallbackVisibility = false;
|
|
|
8
16
|
let checkSlotRelocate = false;
|
|
9
17
|
let isSvgMode = false;
|
|
10
18
|
let queuePending = false;
|
|
11
|
-
const win = typeof window !== 'undefined' ? window : {};
|
|
12
|
-
const doc = win.document || { head: {} };
|
|
13
|
-
const plt = {
|
|
14
|
-
$flags$: 0,
|
|
15
|
-
$resourcesUrl$: '',
|
|
16
|
-
jmp: (h) => h(),
|
|
17
|
-
raf: (h) => requestAnimationFrame(h),
|
|
18
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
19
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
20
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
21
|
-
};
|
|
22
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
23
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
24
|
-
try {
|
|
25
|
-
new CSSStyleSheet();
|
|
26
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
27
|
-
}
|
|
28
|
-
catch (e) { }
|
|
29
|
-
return false;
|
|
30
|
-
})()
|
|
31
|
-
;
|
|
32
|
-
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
33
19
|
const createTime = (fnName, tagName = '') => {
|
|
34
20
|
{
|
|
35
21
|
return () => {
|
|
@@ -44,81 +30,7 @@ const uniqueTime = (key, measureText) => {
|
|
|
44
30
|
};
|
|
45
31
|
}
|
|
46
32
|
};
|
|
47
|
-
const
|
|
48
|
-
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
49
|
-
let style = styles.get(scopeId);
|
|
50
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
51
|
-
style = (style || new CSSStyleSheet());
|
|
52
|
-
if (typeof style === 'string') {
|
|
53
|
-
style = cssText;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
style.replaceSync(cssText);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
style = cssText;
|
|
61
|
-
}
|
|
62
|
-
styles.set(scopeId, style);
|
|
63
|
-
};
|
|
64
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
65
|
-
let scopeId = getScopeId(cmpMeta);
|
|
66
|
-
const style = styles.get(scopeId);
|
|
67
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
68
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
69
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
70
|
-
if (style) {
|
|
71
|
-
if (typeof style === 'string') {
|
|
72
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
73
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
74
|
-
let styleElm;
|
|
75
|
-
if (!appliedStyles) {
|
|
76
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
77
|
-
}
|
|
78
|
-
if (!appliedStyles.has(scopeId)) {
|
|
79
|
-
{
|
|
80
|
-
{
|
|
81
|
-
styleElm = doc.createElement('style');
|
|
82
|
-
styleElm.innerHTML = style;
|
|
83
|
-
}
|
|
84
|
-
const nonceElm = styleContainerNode.ownerDocument.querySelector('style[nonce]');
|
|
85
|
-
if (nonceElm) {
|
|
86
|
-
styleElm.setAttribute('nonce', nonceElm.getAttribute('nonce'));
|
|
87
|
-
console.log(`CSP nonce-${nonceElm.getAttribute('nonce')}`);
|
|
88
|
-
}
|
|
89
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
90
|
-
}
|
|
91
|
-
if (appliedStyles) {
|
|
92
|
-
appliedStyles.add(scopeId);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
97
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
return scopeId;
|
|
101
|
-
};
|
|
102
|
-
const attachStyles = (hostRef) => {
|
|
103
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
104
|
-
const elm = hostRef.$hostElement$;
|
|
105
|
-
const flags = cmpMeta.$flags$;
|
|
106
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
107
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
108
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
109
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
110
|
-
// or this browser doesn't support native shadow dom
|
|
111
|
-
// and this host element was NOT created with SSR
|
|
112
|
-
// let's pick out the inner content for slot projection
|
|
113
|
-
// create a node to represent where the original
|
|
114
|
-
// content was first placed, which is useful later on
|
|
115
|
-
// DOM WRITE!!
|
|
116
|
-
elm['s-sc'] = scopeId;
|
|
117
|
-
elm.classList.add(scopeId + '-h');
|
|
118
|
-
}
|
|
119
|
-
endAttachStyles();
|
|
120
|
-
};
|
|
121
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
33
|
+
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
122
34
|
/**
|
|
123
35
|
* Default style mode id
|
|
124
36
|
*/
|
|
@@ -233,6 +145,154 @@ const newVNode = (tag, text) => {
|
|
|
233
145
|
};
|
|
234
146
|
const Host = {};
|
|
235
147
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
148
|
+
/**
|
|
149
|
+
* Parse a new property value for a given property type.
|
|
150
|
+
*
|
|
151
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
152
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
153
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
154
|
+
* 2. the type stored from `propType`.
|
|
155
|
+
*
|
|
156
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
157
|
+
*
|
|
158
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
159
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
160
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
161
|
+
* ```tsx
|
|
162
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
163
|
+
* ```
|
|
164
|
+
*
|
|
165
|
+
* HTML prop values on the other hand, will always a string
|
|
166
|
+
*
|
|
167
|
+
* @param propValue the new value to coerce to some type
|
|
168
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
169
|
+
* @returns the parsed/coerced value
|
|
170
|
+
*/
|
|
171
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
172
|
+
// ensure this value is of the correct prop type
|
|
173
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
174
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
175
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
176
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
177
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
178
|
+
}
|
|
179
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
180
|
+
// force it to be a number
|
|
181
|
+
return parseFloat(propValue);
|
|
182
|
+
}
|
|
183
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
184
|
+
// could have been passed as a number or boolean
|
|
185
|
+
// but we still want it as a string
|
|
186
|
+
return String(propValue);
|
|
187
|
+
}
|
|
188
|
+
// redundant return here for better minification
|
|
189
|
+
return propValue;
|
|
190
|
+
}
|
|
191
|
+
// not sure exactly what type we want
|
|
192
|
+
// so no need to change to a different type
|
|
193
|
+
return propValue;
|
|
194
|
+
};
|
|
195
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
196
|
+
const createEvent = (ref, name, flags) => {
|
|
197
|
+
const elm = getElement(ref);
|
|
198
|
+
return {
|
|
199
|
+
emit: (detail) => {
|
|
200
|
+
return emitEvent(elm, name, {
|
|
201
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
202
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
203
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
204
|
+
detail,
|
|
205
|
+
});
|
|
206
|
+
},
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
211
|
+
* @param elm the target of the Event
|
|
212
|
+
* @param name the name to give the custom Event
|
|
213
|
+
* @param opts options for configuring a custom Event
|
|
214
|
+
* @returns the custom Event
|
|
215
|
+
*/
|
|
216
|
+
const emitEvent = (elm, name, opts) => {
|
|
217
|
+
const ev = plt.ce(name, opts);
|
|
218
|
+
elm.dispatchEvent(ev);
|
|
219
|
+
return ev;
|
|
220
|
+
};
|
|
221
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
222
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
223
|
+
let style = styles.get(scopeId);
|
|
224
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
225
|
+
style = (style || new CSSStyleSheet());
|
|
226
|
+
if (typeof style === 'string') {
|
|
227
|
+
style = cssText;
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
style.replaceSync(cssText);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
style = cssText;
|
|
235
|
+
}
|
|
236
|
+
styles.set(scopeId, style);
|
|
237
|
+
};
|
|
238
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
239
|
+
let scopeId = getScopeId(cmpMeta);
|
|
240
|
+
const style = styles.get(scopeId);
|
|
241
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
242
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
243
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
244
|
+
if (style) {
|
|
245
|
+
if (typeof style === 'string') {
|
|
246
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
247
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
248
|
+
let styleElm;
|
|
249
|
+
if (!appliedStyles) {
|
|
250
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
251
|
+
}
|
|
252
|
+
if (!appliedStyles.has(scopeId)) {
|
|
253
|
+
{
|
|
254
|
+
{
|
|
255
|
+
styleElm = doc.createElement('style');
|
|
256
|
+
styleElm.innerHTML = style;
|
|
257
|
+
}
|
|
258
|
+
const nonceElm = styleContainerNode.ownerDocument.querySelector('style[nonce]');
|
|
259
|
+
if (nonceElm) {
|
|
260
|
+
styleElm.setAttribute('nonce', nonceElm.getAttribute('nonce'));
|
|
261
|
+
console.log(`CSP nonce-${nonceElm.getAttribute('nonce')}`);
|
|
262
|
+
}
|
|
263
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
264
|
+
}
|
|
265
|
+
if (appliedStyles) {
|
|
266
|
+
appliedStyles.add(scopeId);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
271
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
return scopeId;
|
|
275
|
+
};
|
|
276
|
+
const attachStyles = (hostRef) => {
|
|
277
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
278
|
+
const elm = hostRef.$hostElement$;
|
|
279
|
+
const flags = cmpMeta.$flags$;
|
|
280
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
281
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
282
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
283
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
284
|
+
// or this browser doesn't support native shadow dom
|
|
285
|
+
// and this host element was NOT created with SSR
|
|
286
|
+
// let's pick out the inner content for slot projection
|
|
287
|
+
// create a node to represent where the original
|
|
288
|
+
// content was first placed, which is useful later on
|
|
289
|
+
// DOM WRITE!!
|
|
290
|
+
elm['s-sc'] = scopeId;
|
|
291
|
+
elm.classList.add(scopeId + '-h');
|
|
292
|
+
}
|
|
293
|
+
endAttachStyles();
|
|
294
|
+
};
|
|
295
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
236
296
|
/**
|
|
237
297
|
* Production setAccessor() function based on Preact by
|
|
238
298
|
* Jason Miller (@developit)
|
|
@@ -321,7 +381,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
321
381
|
}
|
|
322
382
|
}
|
|
323
383
|
}
|
|
324
|
-
else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
384
|
+
else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
|
|
325
385
|
newValue = newValue === true ? '' : newValue;
|
|
326
386
|
{
|
|
327
387
|
elm.setAttribute(memberName, newValue);
|
|
@@ -336,7 +396,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
336
396
|
// if the element passed in is a shadow root, which is a document fragment
|
|
337
397
|
// then we want to be adding attrs/props to the shadow root's "host" element
|
|
338
398
|
// if it's not a shadow root, then we add attrs/props to the same element
|
|
339
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
399
|
+
const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
|
|
340
400
|
? newVnode.$elm$.host
|
|
341
401
|
: newVnode.$elm$;
|
|
342
402
|
const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
|
|
@@ -354,6 +414,16 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
354
414
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
|
|
355
415
|
}
|
|
356
416
|
};
|
|
417
|
+
/**
|
|
418
|
+
* Create a DOM Node corresponding to one of the children of a given VNode.
|
|
419
|
+
*
|
|
420
|
+
* @param oldParentVNode the parent VNode from the previous render
|
|
421
|
+
* @param newParentVNode the parent VNode from the current render
|
|
422
|
+
* @param childIndex the index of the VNode, in the _new_ parent node's
|
|
423
|
+
* children, for which we will create a new DOM node
|
|
424
|
+
* @param parentElm the parent DOM node which our new node will be a child of
|
|
425
|
+
* @returns the newly created node
|
|
426
|
+
*/
|
|
357
427
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
358
428
|
// tslint:disable-next-line: prefer-const
|
|
359
429
|
const newVNode = newParentVNode.$children$[childIndex];
|
|
@@ -371,16 +441,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
371
441
|
}
|
|
372
442
|
newVNode.$flags$ |= newVNode.$children$
|
|
373
443
|
? // slot element has fallback content
|
|
374
|
-
2 /* isSlotFallback */
|
|
444
|
+
2 /* VNODE_FLAGS.isSlotFallback */
|
|
375
445
|
: // slot element does not have fallback content
|
|
376
|
-
1 /* isSlotReference */;
|
|
446
|
+
1 /* VNODE_FLAGS.isSlotReference */;
|
|
377
447
|
}
|
|
378
448
|
}
|
|
379
449
|
if (newVNode.$text$ !== null) {
|
|
380
450
|
// create text node
|
|
381
451
|
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
382
452
|
}
|
|
383
|
-
else if (newVNode.$flags$ & 1 /* isSlotReference */) {
|
|
453
|
+
else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
|
|
384
454
|
// create a slot reference node
|
|
385
455
|
elm = newVNode.$elm$ =
|
|
386
456
|
doc.createTextNode('');
|
|
@@ -390,7 +460,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
390
460
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
391
461
|
}
|
|
392
462
|
// create element
|
|
393
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
463
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
|
|
394
464
|
? 'slot-fb'
|
|
395
465
|
: newVNode.$tag$)
|
|
396
466
|
);
|
|
@@ -430,7 +500,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
430
500
|
}
|
|
431
501
|
{
|
|
432
502
|
elm['s-hn'] = hostTagName;
|
|
433
|
-
if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
503
|
+
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
434
504
|
// remember the content reference comment
|
|
435
505
|
elm['s-sr'] = true;
|
|
436
506
|
// remember the content reference comment
|
|
@@ -449,7 +519,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
449
519
|
return elm;
|
|
450
520
|
};
|
|
451
521
|
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
452
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
522
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
453
523
|
const oldSlotChildNodes = parentElm.childNodes;
|
|
454
524
|
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
455
525
|
const childNode = oldSlotChildNodes[i];
|
|
@@ -470,7 +540,7 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
470
540
|
putBackInOriginalLocation(childNode, recursive);
|
|
471
541
|
}
|
|
472
542
|
}
|
|
473
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
543
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
474
544
|
};
|
|
475
545
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
476
546
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
@@ -511,6 +581,74 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
|
511
581
|
}
|
|
512
582
|
}
|
|
513
583
|
};
|
|
584
|
+
/**
|
|
585
|
+
* Reconcile the children of a new VNode with the children of an old VNode by
|
|
586
|
+
* traversing the two collections of children, identifying nodes that are
|
|
587
|
+
* conserved or changed, calling out to `patch` to make any necessary
|
|
588
|
+
* updates to the DOM, and rearranging DOM nodes as needed.
|
|
589
|
+
*
|
|
590
|
+
* The algorithm for reconciling children works by analyzing two 'windows' onto
|
|
591
|
+
* the two arrays of children (`oldCh` and `newCh`). We keep track of the
|
|
592
|
+
* 'windows' by storing start and end indices and references to the
|
|
593
|
+
* corresponding array entries. Initially the two 'windows' are basically equal
|
|
594
|
+
* to the entire array, but we progressively narrow the windows until there are
|
|
595
|
+
* no children left to update by doing the following:
|
|
596
|
+
*
|
|
597
|
+
* 1. Skip any `null` entries at the beginning or end of the two arrays, so
|
|
598
|
+
* that if we have an initial array like the following we'll end up dealing
|
|
599
|
+
* only with a window bounded by the highlighted elements:
|
|
600
|
+
*
|
|
601
|
+
* [null, null, VNode1 , ... , VNode2, null, null]
|
|
602
|
+
* ^^^^^^ ^^^^^^
|
|
603
|
+
*
|
|
604
|
+
* 2. Check to see if the elements at the head and tail positions are equal
|
|
605
|
+
* across the windows. This will basically detect elements which haven't
|
|
606
|
+
* been added, removed, or changed position, i.e. if you had the following
|
|
607
|
+
* VNode elements (represented as HTML):
|
|
608
|
+
*
|
|
609
|
+
* oldVNode: `<div><p><span>HEY</span></p></div>`
|
|
610
|
+
* newVNode: `<div><p><span>THERE</span></p></div>`
|
|
611
|
+
*
|
|
612
|
+
* Then when comparing the children of the `<div>` tag we check the equality
|
|
613
|
+
* of the VNodes corresponding to the `<p>` tags and, since they are the
|
|
614
|
+
* same tag in the same position, we'd be able to avoid completely
|
|
615
|
+
* re-rendering the subtree under them with a new DOM element and would just
|
|
616
|
+
* call out to `patch` to handle reconciling their children and so on.
|
|
617
|
+
*
|
|
618
|
+
* 3. Check, for both windows, to see if the element at the beginning of the
|
|
619
|
+
* window corresponds to the element at the end of the other window. This is
|
|
620
|
+
* a heuristic which will let us identify _some_ situations in which
|
|
621
|
+
* elements have changed position, for instance it _should_ detect that the
|
|
622
|
+
* children nodes themselves have not changed but merely moved in the
|
|
623
|
+
* following example:
|
|
624
|
+
*
|
|
625
|
+
* oldVNode: `<div><element-one /><element-two /></div>`
|
|
626
|
+
* newVNode: `<div><element-two /><element-one /></div>`
|
|
627
|
+
*
|
|
628
|
+
* If we find cases like this then we also need to move the concrete DOM
|
|
629
|
+
* elements corresponding to the moved children to write the re-order to the
|
|
630
|
+
* DOM.
|
|
631
|
+
*
|
|
632
|
+
* 4. Finally, if VNodes have the `key` attribute set on them we check for any
|
|
633
|
+
* nodes in the old children which have the same key as the first element in
|
|
634
|
+
* our window on the new children. If we find such a node we handle calling
|
|
635
|
+
* out to `patch`, moving relevant DOM nodes, and so on, in accordance with
|
|
636
|
+
* what we find.
|
|
637
|
+
*
|
|
638
|
+
* Finally, once we've narrowed our 'windows' to the point that either of them
|
|
639
|
+
* collapse (i.e. they have length 0) we then handle any remaining VNode
|
|
640
|
+
* insertion or deletion that needs to happen to get a DOM state that correctly
|
|
641
|
+
* reflects the new child VNodes. If, for instance, after our window on the old
|
|
642
|
+
* children has collapsed we still have more nodes on the new children that
|
|
643
|
+
* we haven't dealt with yet then we need to add them, or if the new children
|
|
644
|
+
* collapse but we still have unhandled _old_ children then we need to make
|
|
645
|
+
* sure the corresponding DOM nodes are removed.
|
|
646
|
+
*
|
|
647
|
+
* @param parentElm the node into which the parent VNode is rendered
|
|
648
|
+
* @param oldCh the old children of the parent node
|
|
649
|
+
* @param newVNode the new VNode which will replace the parent
|
|
650
|
+
* @param newCh the new children of the parent node
|
|
651
|
+
*/
|
|
514
652
|
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
515
653
|
let oldStartIdx = 0;
|
|
516
654
|
let newStartIdx = 0;
|
|
@@ -526,7 +664,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
526
664
|
let elmToMove;
|
|
527
665
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
528
666
|
if (oldStartVnode == null) {
|
|
529
|
-
//
|
|
667
|
+
// VNode might have been moved left
|
|
530
668
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
531
669
|
}
|
|
532
670
|
else if (oldEndVnode == null) {
|
|
@@ -539,37 +677,100 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
539
677
|
newEndVnode = newCh[--newEndIdx];
|
|
540
678
|
}
|
|
541
679
|
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
680
|
+
// if the start nodes are the same then we should patch the new VNode
|
|
681
|
+
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
682
|
+
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
683
|
+
// since things are matched up in order.
|
|
542
684
|
patch(oldStartVnode, newStartVnode);
|
|
543
685
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
544
686
|
newStartVnode = newCh[++newStartIdx];
|
|
545
687
|
}
|
|
546
688
|
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
689
|
+
// likewise, if the end nodes are the same we patch new onto old and
|
|
690
|
+
// decrement our end indices, and also likewise in this case we don't
|
|
691
|
+
// need to move any DOM Nodes.
|
|
547
692
|
patch(oldEndVnode, newEndVnode);
|
|
548
693
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
549
694
|
newEndVnode = newCh[--newEndIdx];
|
|
550
695
|
}
|
|
551
696
|
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
552
|
-
// Vnode moved right
|
|
697
|
+
// case: "Vnode moved right"
|
|
698
|
+
//
|
|
699
|
+
// We've found that the last node in our window on the new children is
|
|
700
|
+
// the same VNode as the _first_ node in our window on the old children
|
|
701
|
+
// we're dealing with now. Visually, this is the layout of these two
|
|
702
|
+
// nodes:
|
|
703
|
+
//
|
|
704
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
705
|
+
// ^^^^^^^^^^^
|
|
706
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
707
|
+
// ^^^^^^^^^^^^^
|
|
708
|
+
//
|
|
709
|
+
// In this situation we need to patch `newEndVnode` onto `oldStartVnode`
|
|
710
|
+
// and move the DOM element for `oldStartVnode`.
|
|
553
711
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
554
712
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
555
713
|
}
|
|
556
714
|
patch(oldStartVnode, newEndVnode);
|
|
715
|
+
// We need to move the element for `oldStartVnode` into a position which
|
|
716
|
+
// will be appropriate for `newEndVnode`. For this we can use
|
|
717
|
+
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
718
|
+
// sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
|
|
719
|
+
// `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
|
|
720
|
+
//
|
|
721
|
+
// <old-start-node />
|
|
722
|
+
// <some-intervening-node />
|
|
723
|
+
// <old-end-node />
|
|
724
|
+
// <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
|
|
725
|
+
// <next-sibling />
|
|
726
|
+
//
|
|
727
|
+
// If instead `oldEndVnode.$elm$` has no sibling then we just want to put
|
|
728
|
+
// the node for `oldStartVnode` at the end of the children of
|
|
729
|
+
// `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
|
|
730
|
+
// aren't any siblings, and passing `null` to `Node.insertBefore` will
|
|
731
|
+
// append it to the children of the parent element.
|
|
557
732
|
parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
558
733
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
559
734
|
newEndVnode = newCh[--newEndIdx];
|
|
560
735
|
}
|
|
561
736
|
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
562
|
-
// Vnode moved left
|
|
737
|
+
// case: "Vnode moved left"
|
|
738
|
+
//
|
|
739
|
+
// We've found that the first node in our window on the new children is
|
|
740
|
+
// the same VNode as the _last_ node in our window on the old children.
|
|
741
|
+
// Visually, this is the layout of these two nodes:
|
|
742
|
+
//
|
|
743
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
744
|
+
// ^^^^^^^^^^^^^
|
|
745
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
746
|
+
// ^^^^^^^^^^^
|
|
747
|
+
//
|
|
748
|
+
// In this situation we need to patch `newStartVnode` onto `oldEndVnode`
|
|
749
|
+
// (which will handle updating any changed attributes, reconciling their
|
|
750
|
+
// children etc) but we also need to move the DOM node to which
|
|
751
|
+
// `oldEndVnode` corresponds.
|
|
563
752
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
564
753
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
565
754
|
}
|
|
566
755
|
patch(oldEndVnode, newStartVnode);
|
|
756
|
+
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
757
|
+
// the same node, so since we're here we know that they are not. Thus we
|
|
758
|
+
// can move the element for `oldEndVnode` _before_ the element for
|
|
759
|
+
// `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
|
|
760
|
+
// future.
|
|
567
761
|
parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
568
762
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
569
763
|
newStartVnode = newCh[++newStartIdx];
|
|
570
764
|
}
|
|
571
765
|
else {
|
|
572
|
-
//
|
|
766
|
+
// Here we do some checks to match up old and new nodes based on the
|
|
767
|
+
// `$key$` attribute, which is set by putting a `key="my-key"` attribute
|
|
768
|
+
// in the JSX for a DOM element in the implementation of a Stencil
|
|
769
|
+
// component.
|
|
770
|
+
//
|
|
771
|
+
// First we check to see if there are any nodes in the array of old
|
|
772
|
+
// children which have the same key as the first node in the new
|
|
773
|
+
// children.
|
|
573
774
|
idxInOld = -1;
|
|
574
775
|
{
|
|
575
776
|
for (i = oldStartIdx; i <= oldEndIdx; ++i) {
|
|
@@ -580,23 +781,32 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
580
781
|
}
|
|
581
782
|
}
|
|
582
783
|
if (idxInOld >= 0) {
|
|
784
|
+
// We found a node in the old children which matches up with the first
|
|
785
|
+
// node in the new children! So let's deal with that
|
|
583
786
|
elmToMove = oldCh[idxInOld];
|
|
584
787
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
788
|
+
// the tag doesn't match so we'll need a new DOM element
|
|
585
789
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
586
790
|
}
|
|
587
791
|
else {
|
|
588
792
|
patch(elmToMove, newStartVnode);
|
|
793
|
+
// invalidate the matching old node so that we won't try to update it
|
|
794
|
+
// again later on
|
|
589
795
|
oldCh[idxInOld] = undefined;
|
|
590
796
|
node = elmToMove.$elm$;
|
|
591
797
|
}
|
|
592
798
|
newStartVnode = newCh[++newStartIdx];
|
|
593
799
|
}
|
|
594
800
|
else {
|
|
595
|
-
//
|
|
801
|
+
// We either didn't find an element in the old children that matches
|
|
802
|
+
// the key of the first new child OR the build is not using `key`
|
|
803
|
+
// attributes at all. In either case we need to create a new element
|
|
804
|
+
// for the new node.
|
|
596
805
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
|
|
597
806
|
newStartVnode = newCh[++newStartIdx];
|
|
598
807
|
}
|
|
599
808
|
if (node) {
|
|
809
|
+
// if we created a new node then handle inserting it to the DOM
|
|
600
810
|
{
|
|
601
811
|
parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
|
|
602
812
|
}
|
|
@@ -604,21 +814,43 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
604
814
|
}
|
|
605
815
|
}
|
|
606
816
|
if (oldStartIdx > oldEndIdx) {
|
|
817
|
+
// we have some more new nodes to add which don't match up with old nodes
|
|
607
818
|
addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
|
|
608
819
|
}
|
|
609
820
|
else if (newStartIdx > newEndIdx) {
|
|
821
|
+
// there are nodes in the `oldCh` array which no longer correspond to nodes
|
|
822
|
+
// in the new array, so lets remove them (which entails cleaning up the
|
|
823
|
+
// relevant DOM nodes)
|
|
610
824
|
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
611
825
|
}
|
|
612
826
|
};
|
|
613
|
-
|
|
827
|
+
/**
|
|
828
|
+
* Compare two VNodes to determine if they are the same
|
|
829
|
+
*
|
|
830
|
+
* **NB**: This function is an equality _heuristic_ based on the available
|
|
831
|
+
* information set on the two VNodes and can be misleading under certain
|
|
832
|
+
* circumstances. In particular, if the two nodes do not have `key` attrs
|
|
833
|
+
* (available under `$key$` on VNodes) then the function falls back on merely
|
|
834
|
+
* checking that they have the same tag.
|
|
835
|
+
*
|
|
836
|
+
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
837
|
+
* changing order within a `children` array or something along those lines then
|
|
838
|
+
* we could obtain a false positive and then have to do needless re-rendering.
|
|
839
|
+
*
|
|
840
|
+
* @param leftVNode the first VNode to check
|
|
841
|
+
* @param rightVNode the second VNode to check
|
|
842
|
+
* @returns whether they're equal or not
|
|
843
|
+
*/
|
|
844
|
+
const isSameVnode = (leftVNode, rightVNode) => {
|
|
614
845
|
// compare if two vnode to see if they're "technically" the same
|
|
615
846
|
// need to have the same element tag, and same key to be the same
|
|
616
|
-
if (
|
|
617
|
-
if (
|
|
618
|
-
return
|
|
847
|
+
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
848
|
+
if (leftVNode.$tag$ === 'slot') {
|
|
849
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
619
850
|
}
|
|
851
|
+
// this will be set if components in the build have `key` attrs set on them
|
|
620
852
|
{
|
|
621
|
-
return
|
|
853
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
622
854
|
}
|
|
623
855
|
}
|
|
624
856
|
return false;
|
|
@@ -631,6 +863,14 @@ const referenceNode = (node) => {
|
|
|
631
863
|
return (node && node['s-ol']) || node;
|
|
632
864
|
};
|
|
633
865
|
const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
|
|
866
|
+
/**
|
|
867
|
+
* Handle reconciling an outdated VNode with a new one which corresponds to
|
|
868
|
+
* it. This function handles flushing updates to the DOM and reconciling the
|
|
869
|
+
* children of the two nodes (if any).
|
|
870
|
+
*
|
|
871
|
+
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
872
|
+
* @param newVNode a new VNode representing an updated version of the old one
|
|
873
|
+
*/
|
|
634
874
|
const patch = (oldVNode, newVNode) => {
|
|
635
875
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
636
876
|
const oldChildren = oldVNode.$children$;
|
|
@@ -644,7 +884,6 @@ const patch = (oldVNode, newVNode) => {
|
|
|
644
884
|
// only add this to the when the compiler sees we're using an svg somewhere
|
|
645
885
|
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
646
886
|
}
|
|
647
|
-
// element node
|
|
648
887
|
{
|
|
649
888
|
if (tag === 'slot')
|
|
650
889
|
;
|
|
@@ -657,6 +896,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
657
896
|
}
|
|
658
897
|
if (oldChildren !== null && newChildren !== null) {
|
|
659
898
|
// looks like there's child vnodes for both the old and new vnodes
|
|
899
|
+
// so we need to call `updateChildren` to reconcile them
|
|
660
900
|
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
661
901
|
}
|
|
662
902
|
else if (newChildren !== null) {
|
|
@@ -697,7 +937,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
697
937
|
let nodeType;
|
|
698
938
|
for (i = 0, ilen = childNodes.length; i < ilen; i++) {
|
|
699
939
|
childNode = childNodes[i];
|
|
700
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
940
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
701
941
|
if (childNode['s-sr']) {
|
|
702
942
|
// this is a slot fallback node
|
|
703
943
|
// get the slot name for this slot reference node
|
|
@@ -709,7 +949,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
709
949
|
nodeType = childNodes[j].nodeType;
|
|
710
950
|
if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
|
|
711
951
|
// this sibling node is from a different component OR is a named fallback slot node
|
|
712
|
-
if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
952
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
713
953
|
childNode.hidden = true;
|
|
714
954
|
break;
|
|
715
955
|
}
|
|
@@ -718,8 +958,8 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
718
958
|
// this is a default fallback slot node
|
|
719
959
|
// any element or text node (with content)
|
|
720
960
|
// should hide the default fallback slot node
|
|
721
|
-
if (nodeType === 1 /* ElementNode */ ||
|
|
722
|
-
(nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
961
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
|
|
962
|
+
(nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
723
963
|
childNode.hidden = true;
|
|
724
964
|
break;
|
|
725
965
|
}
|
|
@@ -797,13 +1037,13 @@ const relocateSlotContent = (elm) => {
|
|
|
797
1037
|
}
|
|
798
1038
|
}
|
|
799
1039
|
}
|
|
800
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1040
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
801
1041
|
relocateSlotContent(childNode);
|
|
802
1042
|
}
|
|
803
1043
|
}
|
|
804
1044
|
};
|
|
805
1045
|
const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
806
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1046
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
807
1047
|
if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
|
|
808
1048
|
return true;
|
|
809
1049
|
}
|
|
@@ -828,7 +1068,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
828
1068
|
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
829
1069
|
}
|
|
830
1070
|
rootVnode.$tag$ = null;
|
|
831
|
-
rootVnode.$flags$ |= 4 /* isHost */;
|
|
1071
|
+
rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
|
|
832
1072
|
hostRef.$vnode$ = rootVnode;
|
|
833
1073
|
rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
|
|
834
1074
|
{
|
|
@@ -836,7 +1076,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
836
1076
|
}
|
|
837
1077
|
{
|
|
838
1078
|
contentRef = hostElm['s-cr'];
|
|
839
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
1079
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
|
|
840
1080
|
// always reset
|
|
841
1081
|
checkSlotFallbackVisibility = false;
|
|
842
1082
|
}
|
|
@@ -845,7 +1085,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
845
1085
|
{
|
|
846
1086
|
// while we're moving nodes around existing nodes, temporarily disable
|
|
847
1087
|
// the disconnectCallback from working
|
|
848
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
1088
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
849
1089
|
if (checkSlotRelocate) {
|
|
850
1090
|
relocateSlotContent(rootVnode.$elm$);
|
|
851
1091
|
let relocateData;
|
|
@@ -903,7 +1143,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
903
1143
|
}
|
|
904
1144
|
else {
|
|
905
1145
|
// this node doesn't have a slot home to go to, so let's hide it
|
|
906
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1146
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
907
1147
|
nodeToRelocate.hidden = true;
|
|
908
1148
|
}
|
|
909
1149
|
}
|
|
@@ -914,37 +1154,11 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
914
1154
|
}
|
|
915
1155
|
// done moving nodes around
|
|
916
1156
|
// allow the disconnect callback to work again
|
|
917
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
1157
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
918
1158
|
// always reset
|
|
919
1159
|
relocateNodes.length = 0;
|
|
920
1160
|
}
|
|
921
1161
|
};
|
|
922
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
923
|
-
const createEvent = (ref, name, flags) => {
|
|
924
|
-
const elm = getElement(ref);
|
|
925
|
-
return {
|
|
926
|
-
emit: (detail) => {
|
|
927
|
-
return emitEvent(elm, name, {
|
|
928
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
929
|
-
composed: !!(flags & 2 /* Composed */),
|
|
930
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
931
|
-
detail,
|
|
932
|
-
});
|
|
933
|
-
},
|
|
934
|
-
};
|
|
935
|
-
};
|
|
936
|
-
/**
|
|
937
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
938
|
-
* @param elm the target of the Event
|
|
939
|
-
* @param name the name to give the custom Event
|
|
940
|
-
* @param opts options for configuring a custom Event
|
|
941
|
-
* @returns the custom Event
|
|
942
|
-
*/
|
|
943
|
-
const emitEvent = (elm, name, opts) => {
|
|
944
|
-
const ev = plt.ce(name, opts);
|
|
945
|
-
elm.dispatchEvent(ev);
|
|
946
|
-
return ev;
|
|
947
|
-
};
|
|
948
1162
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
949
1163
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
950
1164
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -952,10 +1166,10 @@ const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
|
952
1166
|
};
|
|
953
1167
|
const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
954
1168
|
{
|
|
955
|
-
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
1169
|
+
hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
956
1170
|
}
|
|
957
|
-
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
958
|
-
hostRef.$flags$ |= 512 /* needsRerender */;
|
|
1171
|
+
if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
|
|
1172
|
+
hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
|
|
959
1173
|
return;
|
|
960
1174
|
}
|
|
961
1175
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
@@ -1002,7 +1216,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1002
1216
|
}
|
|
1003
1217
|
else {
|
|
1004
1218
|
Promise.all(childrenPromises).then(postUpdate);
|
|
1005
|
-
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
1219
|
+
hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
|
|
1006
1220
|
childrenPromises.length = 0;
|
|
1007
1221
|
}
|
|
1008
1222
|
}
|
|
@@ -1011,10 +1225,10 @@ const callRender = (hostRef, instance, elm) => {
|
|
|
1011
1225
|
try {
|
|
1012
1226
|
instance = instance.render() ;
|
|
1013
1227
|
{
|
|
1014
|
-
hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
|
|
1228
|
+
hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1015
1229
|
}
|
|
1016
1230
|
{
|
|
1017
|
-
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
1231
|
+
hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
|
|
1018
1232
|
}
|
|
1019
1233
|
{
|
|
1020
1234
|
{
|
|
@@ -1037,8 +1251,8 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1037
1251
|
const elm = hostRef.$hostElement$;
|
|
1038
1252
|
const endPostUpdate = createTime('postUpdate', tagName);
|
|
1039
1253
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1040
|
-
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1041
|
-
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1254
|
+
if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
|
|
1255
|
+
hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
|
|
1042
1256
|
{
|
|
1043
1257
|
// DOM WRITE!
|
|
1044
1258
|
addHydratedFlag(elm);
|
|
@@ -1061,10 +1275,10 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1061
1275
|
hostRef.$onRenderResolve$();
|
|
1062
1276
|
hostRef.$onRenderResolve$ = undefined;
|
|
1063
1277
|
}
|
|
1064
|
-
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
1278
|
+
if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
|
|
1065
1279
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
1066
1280
|
}
|
|
1067
|
-
hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
|
|
1281
|
+
hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
|
|
1068
1282
|
}
|
|
1069
1283
|
// ( •_•)
|
|
1070
1284
|
// ( •_•)>⌐■-■
|
|
@@ -1083,53 +1297,6 @@ const then = (promise, thenFn) => {
|
|
|
1083
1297
|
};
|
|
1084
1298
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1085
1299
|
;
|
|
1086
|
-
/**
|
|
1087
|
-
* Parse a new property value for a given property type.
|
|
1088
|
-
*
|
|
1089
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1090
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1091
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
1092
|
-
* 2. the type stored from `propType`.
|
|
1093
|
-
*
|
|
1094
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1095
|
-
*
|
|
1096
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1097
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1098
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1099
|
-
* ```tsx
|
|
1100
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
1101
|
-
* ```
|
|
1102
|
-
*
|
|
1103
|
-
* HTML prop values on the other hand, will always a string
|
|
1104
|
-
*
|
|
1105
|
-
* @param propValue the new value to coerce to some type
|
|
1106
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
1107
|
-
* @returns the parsed/coerced value
|
|
1108
|
-
*/
|
|
1109
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
1110
|
-
// ensure this value is of the correct prop type
|
|
1111
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1112
|
-
if (propType & 4 /* Boolean */) {
|
|
1113
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
1114
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1115
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1116
|
-
}
|
|
1117
|
-
if (propType & 2 /* Number */) {
|
|
1118
|
-
// force it to be a number
|
|
1119
|
-
return parseFloat(propValue);
|
|
1120
|
-
}
|
|
1121
|
-
if (propType & 1 /* String */) {
|
|
1122
|
-
// could have been passed as a number or boolean
|
|
1123
|
-
// but we still want it as a string
|
|
1124
|
-
return String(propValue);
|
|
1125
|
-
}
|
|
1126
|
-
// redundant return here for better minification
|
|
1127
|
-
return propValue;
|
|
1128
|
-
}
|
|
1129
|
-
// not sure exactly what type we want
|
|
1130
|
-
// so no need to change to a different type
|
|
1131
|
-
return propValue;
|
|
1132
|
-
};
|
|
1133
1300
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1134
1301
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1135
1302
|
// check our new property value against our internal value
|
|
@@ -1141,12 +1308,12 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1141
1308
|
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1142
1309
|
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1143
1310
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1144
|
-
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1311
|
+
if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1145
1312
|
// gadzooks! the property's value has changed!!
|
|
1146
1313
|
// set our new value!
|
|
1147
1314
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1148
1315
|
if (instance) {
|
|
1149
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1316
|
+
if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
|
|
1150
1317
|
// looks like this value actually changed, so we've got work to do!
|
|
1151
1318
|
// but only if we've already rendered, otherwise just chill out
|
|
1152
1319
|
// queue that we need to do an update, but don't worry about queuing
|
|
@@ -1156,14 +1323,24 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1156
1323
|
}
|
|
1157
1324
|
}
|
|
1158
1325
|
};
|
|
1326
|
+
/**
|
|
1327
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
1328
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
1329
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
1330
|
+
*
|
|
1331
|
+
* @param Cstr the constructor for a component that we need to process
|
|
1332
|
+
* @param cmpMeta metadata collected previously about the component
|
|
1333
|
+
* @param flags a number used to store a series of bit flags
|
|
1334
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
1335
|
+
*/
|
|
1159
1336
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1160
1337
|
if (cmpMeta.$members$) {
|
|
1161
1338
|
// It's better to have a const than two Object.entries()
|
|
1162
1339
|
const members = Object.entries(cmpMeta.$members$);
|
|
1163
1340
|
const prototype = Cstr.prototype;
|
|
1164
1341
|
members.map(([memberName, [memberFlags]]) => {
|
|
1165
|
-
if ((memberFlags & 31 /* Prop */ ||
|
|
1166
|
-
((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
|
|
1342
|
+
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1343
|
+
((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
1167
1344
|
// proxyComponent - prop
|
|
1168
1345
|
Object.defineProperty(prototype, memberName, {
|
|
1169
1346
|
get() {
|
|
@@ -1179,7 +1356,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1179
1356
|
});
|
|
1180
1357
|
}
|
|
1181
1358
|
});
|
|
1182
|
-
if ((flags & 1 /* isElementConstructor */)) {
|
|
1359
|
+
if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
|
|
1183
1360
|
const attrNameToPropName = new Map();
|
|
1184
1361
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1185
1362
|
plt.jmp(() => {
|
|
@@ -1235,11 +1412,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1235
1412
|
// create an array of attributes to observe
|
|
1236
1413
|
// and also create a map of html attribute name to js property name
|
|
1237
1414
|
Cstr.observedAttributes = members
|
|
1238
|
-
.filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
|
|
1415
|
+
.filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
|
|
1239
1416
|
.map(([propName, m]) => {
|
|
1240
1417
|
const attrName = m[1] || propName;
|
|
1241
1418
|
attrNameToPropName.set(attrName, propName);
|
|
1242
|
-
if (m[0] & 512 /* ReflectAttr */) {
|
|
1419
|
+
if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
|
|
1243
1420
|
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
1244
1421
|
}
|
|
1245
1422
|
return attrName;
|
|
@@ -1250,10 +1427,10 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1250
1427
|
};
|
|
1251
1428
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1252
1429
|
// initializeComponent
|
|
1253
|
-
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1430
|
+
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1254
1431
|
{
|
|
1255
1432
|
// we haven't initialized this element yet
|
|
1256
|
-
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1433
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1257
1434
|
// lazy loaded components
|
|
1258
1435
|
// request the component's implementation to be
|
|
1259
1436
|
// wired up with the host element
|
|
@@ -1265,7 +1442,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1265
1442
|
endLoad();
|
|
1266
1443
|
}
|
|
1267
1444
|
if (!Cstr.isProxied) {
|
|
1268
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1445
|
+
proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
|
|
1269
1446
|
Cstr.isProxied = true;
|
|
1270
1447
|
}
|
|
1271
1448
|
const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
|
|
@@ -1273,7 +1450,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1273
1450
|
// but let's keep track of when we start and stop
|
|
1274
1451
|
// so that the getters/setters don't incorrectly step on data
|
|
1275
1452
|
{
|
|
1276
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
1453
|
+
hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1277
1454
|
}
|
|
1278
1455
|
// construct the lazy-loaded component implementation
|
|
1279
1456
|
// passing the hostRef is very important during
|
|
@@ -1286,7 +1463,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1286
1463
|
consoleError(e);
|
|
1287
1464
|
}
|
|
1288
1465
|
{
|
|
1289
|
-
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1466
|
+
hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1290
1467
|
}
|
|
1291
1468
|
endNewInstance();
|
|
1292
1469
|
}
|
|
@@ -1296,7 +1473,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1296
1473
|
const scopeId = getScopeId(cmpMeta);
|
|
1297
1474
|
if (!styles.has(scopeId)) {
|
|
1298
1475
|
const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
|
|
1299
|
-
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1476
|
+
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
|
|
1300
1477
|
endRegisterStyles();
|
|
1301
1478
|
}
|
|
1302
1479
|
}
|
|
@@ -1318,19 +1495,19 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1318
1495
|
}
|
|
1319
1496
|
};
|
|
1320
1497
|
const connectedCallback = (elm) => {
|
|
1321
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1498
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1322
1499
|
const hostRef = getHostRef(elm);
|
|
1323
1500
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1324
1501
|
const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
|
|
1325
|
-
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
1502
|
+
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
1326
1503
|
// first time this component has connected
|
|
1327
|
-
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1504
|
+
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
1328
1505
|
{
|
|
1329
1506
|
// initUpdate
|
|
1330
1507
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1331
1508
|
// in here to act as original content anchors as we move nodes around
|
|
1332
1509
|
// host element has been connected to the DOM
|
|
1333
|
-
if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
|
|
1510
|
+
if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1334
1511
|
setContentReference(elm);
|
|
1335
1512
|
}
|
|
1336
1513
|
}
|
|
@@ -1353,7 +1530,7 @@ const connectedCallback = (elm) => {
|
|
|
1353
1530
|
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
1354
1531
|
if (cmpMeta.$members$) {
|
|
1355
1532
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1356
|
-
if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1533
|
+
if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1357
1534
|
const value = elm[memberName];
|
|
1358
1535
|
delete elm[memberName];
|
|
1359
1536
|
elm[memberName] = value;
|
|
@@ -1379,7 +1556,7 @@ const setContentReference = (elm) => {
|
|
|
1379
1556
|
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
1380
1557
|
};
|
|
1381
1558
|
const disconnectedCallback = (elm) => {
|
|
1382
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1559
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1383
1560
|
getHostRef(elm);
|
|
1384
1561
|
}
|
|
1385
1562
|
};
|
|
@@ -1418,7 +1595,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1418
1595
|
super(self);
|
|
1419
1596
|
self = this;
|
|
1420
1597
|
registerHost(self, cmpMeta);
|
|
1421
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1598
|
+
if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
1422
1599
|
// this component is using shadow dom
|
|
1423
1600
|
// and this browser supports shadow dom
|
|
1424
1601
|
// add the read-only property "shadowRoot" to the host element
|
|
@@ -1453,7 +1630,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1453
1630
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1454
1631
|
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1455
1632
|
cmpTags.push(tagName);
|
|
1456
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1633
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
|
|
1457
1634
|
}
|
|
1458
1635
|
});
|
|
1459
1636
|
});
|
|
@@ -1479,7 +1656,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1479
1656
|
// Fallback appLoad event
|
|
1480
1657
|
endBootstrap();
|
|
1481
1658
|
};
|
|
1482
|
-
const hostRefs = new WeakMap();
|
|
1659
|
+
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1483
1660
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1484
1661
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
1485
1662
|
const registerHost = (elm, cmpMeta) => {
|
|
@@ -1520,14 +1697,35 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1520
1697
|
return importedModule[exportName];
|
|
1521
1698
|
}, consoleError);
|
|
1522
1699
|
};
|
|
1523
|
-
const styles = new Map();
|
|
1700
|
+
const styles = /*@__PURE__*/ new Map();
|
|
1701
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
1702
|
+
const doc = win.document || { head: {} };
|
|
1703
|
+
const plt = {
|
|
1704
|
+
$flags$: 0,
|
|
1705
|
+
$resourcesUrl$: '',
|
|
1706
|
+
jmp: (h) => h(),
|
|
1707
|
+
raf: (h) => requestAnimationFrame(h),
|
|
1708
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
1709
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1710
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
1711
|
+
};
|
|
1712
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
1713
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
1714
|
+
try {
|
|
1715
|
+
new CSSStyleSheet();
|
|
1716
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
1717
|
+
}
|
|
1718
|
+
catch (e) { }
|
|
1719
|
+
return false;
|
|
1720
|
+
})()
|
|
1721
|
+
;
|
|
1524
1722
|
const queueDomReads = [];
|
|
1525
1723
|
const queueDomWrites = [];
|
|
1526
1724
|
const queueTask = (queue, write) => (cb) => {
|
|
1527
1725
|
queue.push(cb);
|
|
1528
1726
|
if (!queuePending) {
|
|
1529
1727
|
queuePending = true;
|
|
1530
|
-
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
1728
|
+
if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
|
|
1531
1729
|
nextTick(flush);
|
|
1532
1730
|
}
|
|
1533
1731
|
else {
|