@affinda/wc 0.0.21 → 0.0.23
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/affinda/affinda.css +1 -1
- package/dist/affinda/affinda.esm.js +1 -2
- package/dist/affinda/index.esm.js +1 -2
- package/dist/affinda/p-00a226ba.entry.js +1 -0
- package/dist/affinda/p-020bd9db.entry.js +1 -0
- package/dist/affinda/p-0264279f.entry.js +1 -0
- package/dist/affinda/p-08dc48a4.entry.js +1 -0
- package/dist/affinda/p-09184969.entry.js +1 -0
- package/dist/affinda/p-0ae3495c.entry.js +1 -0
- package/dist/affinda/p-0c6b7f0b.entry.js +1 -0
- package/dist/affinda/p-14c85efd.entry.js +1 -0
- package/dist/affinda/p-1d72e1dd.entry.js +1 -0
- package/dist/affinda/p-20fe557e.entry.js +1 -0
- package/dist/affinda/p-26a60b00.entry.js +1 -0
- package/dist/affinda/p-289cb56f.entry.js +1 -0
- package/dist/affinda/p-29d0a985.entry.js +1 -0
- package/dist/affinda/p-2c0c94c5.entry.js +1 -0
- package/dist/affinda/p-2ce405df.entry.js +1 -0
- package/dist/affinda/p-2d4c1202.entry.js +1 -0
- package/dist/affinda/p-2f1e0c44.entry.js +1 -0
- package/dist/affinda/p-3899a278.entry.js +1 -0
- package/dist/affinda/p-404f2cea.entry.js +1 -0
- package/dist/affinda/p-468d16b1.entry.js +1 -0
- package/dist/affinda/p-46efe4e4.entry.js +1 -0
- package/dist/affinda/p-5136a894.entry.js +1 -0
- package/dist/affinda/{p-6af1634a.entry.js → p-54d85947.entry.js} +1 -2
- package/dist/affinda/p-589a860a.entry.js +1 -0
- package/dist/affinda/p-63e86a14.entry.js +1 -0
- package/dist/affinda/p-6c99b2bb.entry.js +1 -0
- package/dist/affinda/p-7ed6ee6a.entry.js +1 -0
- package/dist/affinda/p-81de8fbd.entry.js +1 -0
- package/dist/affinda/p-81eb85ec.entry.js +1 -0
- package/dist/affinda/p-854f6a9e.entry.js +1 -0
- package/dist/affinda/p-8742f8fe.entry.js +1 -0
- package/dist/affinda/p-8c394de2.entry.js +1 -0
- package/dist/affinda/p-9018ddec.entry.js +1 -0
- package/dist/affinda/p-90edefa8.entry.js +1 -0
- package/dist/affinda/p-9fea6229.entry.js +1 -0
- package/dist/affinda/p-CPfAC9fk.js +2 -0
- package/dist/affinda/p-a5179afb.entry.js +1 -0
- package/dist/affinda/p-a5f7d3d6.entry.js +1 -0
- package/dist/affinda/p-a8af25d5.entry.js +1 -0
- package/dist/affinda/p-ace3c850.entry.js +1 -0
- package/dist/affinda/p-ae43f07b.entry.js +1 -0
- package/dist/affinda/p-aec05709.entry.js +1 -0
- package/dist/affinda/p-af9e25ea.entry.js +1 -0
- package/dist/affinda/p-b477c08a.entry.js +1 -0
- package/dist/affinda/p-b9f58a18.entry.js +1 -0
- package/dist/affinda/p-bd3f81fc.entry.js +1 -0
- package/dist/affinda/p-ca14e17a.entry.js +1 -0
- package/dist/affinda/p-cb889d6b.entry.js +1 -0
- package/dist/affinda/p-cbf0911b.entry.js +1 -0
- package/dist/affinda/{p-2e750d43.entry.js → p-cf4d0d8e.entry.js} +1 -2
- package/dist/affinda/p-cfb90374.entry.js +1 -0
- package/dist/affinda/p-d7129564.entry.js +1 -0
- package/dist/affinda/p-d9cfea73.entry.js +1 -0
- package/dist/affinda/p-df7b1b09.entry.js +1 -0
- package/dist/affinda/p-e0915179.entry.js +1 -0
- package/dist/affinda/p-e3cd6671.entry.js +1 -0
- package/dist/affinda/p-e61dfb97.entry.js +1 -0
- package/dist/affinda/p-e6b4761c.entry.js +1 -0
- package/dist/affinda/p-ecab0884.entry.js +1 -0
- package/dist/affinda/p-ef754e65.entry.js +1 -0
- package/dist/affinda/p-f3d5d1be.entry.js +1 -0
- package/dist/affinda/p-f79781ff.entry.js +1 -0
- package/dist/affinda/p-f825b81f.entry.js +1 -0
- package/dist/affinda/p-ffdd2c30.entry.js +1 -0
- package/dist/cjs/af-accordion-item.cjs.entry.js +7 -6
- package/dist/cjs/af-accordion.cjs.entry.js +7 -6
- package/dist/cjs/af-aspect-ratio.cjs.entry.js +3 -4
- package/dist/cjs/af-button-group.cjs.entry.js +4 -5
- package/dist/cjs/af-button.cjs.entry.js +3 -4
- package/dist/cjs/af-card.cjs.entry.js +4 -5
- package/dist/cjs/af-center.cjs.entry.js +4 -5
- package/dist/cjs/af-checkbox.cjs.entry.js +4 -5
- package/dist/cjs/af-client-carousel.cjs.entry.js +4 -5
- package/dist/cjs/af-color-swatch.cjs.entry.js +3 -4
- package/dist/cjs/af-contact-item.cjs.entry.js +4 -5
- package/dist/cjs/af-container.cjs.entry.js +3 -4
- package/dist/cjs/af-divider.cjs.entry.js +4 -5
- package/dist/cjs/af-feature-accordion.cjs.entry.js +8 -7
- package/dist/cjs/af-feature-card.cjs.entry.js +3 -4
- package/dist/cjs/af-feature-grid.cjs.entry.js +7 -6
- package/dist/cjs/af-fieldset.cjs.entry.js +4 -5
- package/dist/cjs/af-footer-column.cjs.entry.js +4 -5
- package/dist/cjs/af-footer-link.cjs.entry.js +4 -5
- package/dist/cjs/af-footer.cjs.entry.js +4 -5
- package/dist/cjs/af-grid-callout.cjs.entry.js +3 -4
- package/dist/cjs/af-grid.cjs.entry.js +5 -6
- package/dist/cjs/af-heading_5.cjs.entry.js +98 -14
- package/dist/cjs/af-icon-box.cjs.entry.js +4 -5
- package/dist/cjs/af-icon-button.cjs.entry.js +3 -4
- package/dist/cjs/af-icon-text.cjs.entry.js +4 -5
- package/dist/cjs/af-icon.cjs.entry.js +3 -4
- package/dist/cjs/af-illustrated-card.cjs.entry.js +4 -5
- package/dist/cjs/af-image.cjs.entry.js +4 -5
- package/dist/cjs/af-in-page-banner.cjs.entry.js +4 -5
- package/dist/cjs/af-inline.cjs.entry.js +4 -5
- package/dist/cjs/af-input.cjs.entry.js +4 -5
- package/dist/cjs/af-logo-well.cjs.entry.js +4 -5
- package/dist/cjs/af-nav-accordion-item.cjs.entry.js +8 -7
- package/dist/cjs/af-nav-accordion.cjs.entry.js +4 -5
- package/dist/cjs/af-nav-card.cjs.entry.js +3 -4
- package/dist/cjs/af-nav-menu-nest.cjs.entry.js +4 -5
- package/dist/cjs/af-nav-menu.cjs.entry.js +4 -5
- package/dist/cjs/af-number-badge.cjs.entry.js +4 -5
- package/dist/cjs/af-progress-line.cjs.entry.js +5 -6
- package/dist/cjs/af-radio.cjs.entry.js +4 -5
- package/dist/cjs/af-section.cjs.entry.js +5 -6
- package/dist/cjs/af-show.cjs.entry.js +4 -5
- package/dist/cjs/af-social-link.cjs.entry.js +4 -5
- package/dist/cjs/af-spacer.cjs.entry.js +4 -5
- package/dist/cjs/af-split-section.cjs.entry.js +5 -6
- package/dist/cjs/af-stack.cjs.entry.js +4 -5
- package/dist/cjs/af-stepper-step.cjs.entry.js +4 -5
- package/dist/cjs/af-stepper.cjs.entry.js +4 -5
- package/dist/cjs/af-switch.cjs.entry.js +4 -5
- package/dist/cjs/af-tab-bar.cjs.entry.js +4 -5
- package/dist/cjs/af-tab.cjs.entry.js +4 -5
- package/dist/cjs/af-tag.cjs.entry.js +5 -6
- package/dist/cjs/af-testimonial-carousel.cjs.entry.js +4 -5
- package/dist/cjs/af-testimonial-stat.cjs.entry.js +4 -5
- package/dist/cjs/af-testimonial.cjs.entry.js +5 -6
- package/dist/cjs/af-text-image-nest.cjs.entry.js +4 -5
- package/dist/cjs/af-text-image.cjs.entry.js +3 -4
- package/dist/cjs/af-textarea.cjs.entry.js +4 -5
- package/dist/cjs/af-theme-override.cjs.entry.js +4 -5
- package/dist/cjs/af-typography-lockup.cjs.entry.js +4 -5
- package/dist/cjs/af-video-container.cjs.entry.js +4 -5
- package/dist/cjs/af-visually-hidden.cjs.entry.js +4 -5
- package/dist/cjs/affinda.cjs.js +3 -4
- package/dist/cjs/{index-n-fnurTP.js → index-C1ry3YPK.js} +462 -260
- package/dist/cjs/index.cjs.js +20 -21
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/af-accordion/af-accordion.js +1 -2
- package/dist/collection/components/af-accordion-item/af-accordion-item.js +1 -2
- package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js +0 -1
- package/dist/collection/components/af-button/af-button.js +0 -1
- package/dist/collection/components/af-button-group/af-button-group.js +1 -2
- package/dist/collection/components/af-card/af-card.js +1 -2
- package/dist/collection/components/af-center/af-center.js +1 -2
- package/dist/collection/components/af-checkbox/af-checkbox.js +1 -2
- package/dist/collection/components/af-client-carousel/af-client-carousel.js +1 -2
- package/dist/collection/components/af-color-swatch/af-color-swatch.js +0 -1
- package/dist/collection/components/af-contact-item/af-contact-item.js +1 -2
- package/dist/collection/components/af-container/af-container.js +0 -1
- package/dist/collection/components/af-divider/af-divider.js +1 -2
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -3
- package/dist/collection/components/af-feature-card/af-feature-card.js +0 -1
- package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -2
- package/dist/collection/components/af-fieldset/af-fieldset.js +1 -2
- package/dist/collection/components/af-footer/af-footer.js +1 -2
- package/dist/collection/components/af-footer-column/af-footer-column.js +1 -2
- package/dist/collection/components/af-footer-link/af-footer-link.js +1 -2
- package/dist/collection/components/af-grid/af-grid.js +2 -3
- package/dist/collection/components/af-grid-callout/af-grid-callout.js +0 -1
- package/dist/collection/components/af-heading/af-heading.js +0 -1
- package/dist/collection/components/af-icon/af-icon.js +3 -3
- package/dist/collection/components/af-icon-box/af-icon-box.js +4 -4
- package/dist/collection/components/af-icon-button/af-icon-button.js +0 -1
- package/dist/collection/components/af-icon-text/af-icon-text.js +4 -4
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +1 -2
- package/dist/collection/components/af-image/af-image.js +1 -2
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +1 -2
- package/dist/collection/components/af-inline/af-inline.js +1 -2
- package/dist/collection/components/af-input/af-input.js +1 -2
- package/dist/collection/components/af-logo/af-logo.js +1 -2
- package/dist/collection/components/af-logo-well/af-logo-well.js +1 -2
- package/dist/collection/components/af-nav-accordion/af-nav-accordion.js +1 -2
- package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js +2 -3
- package/dist/collection/components/af-nav-card/af-nav-card.js +0 -1
- package/dist/collection/components/af-nav-item/af-nav-item.js +0 -1
- package/dist/collection/components/af-nav-menu/af-nav-menu.js +1 -2
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -2
- package/dist/collection/components/af-navbar/af-navbar.js +114 -6
- package/dist/collection/components/af-number-badge/af-number-badge.js +1 -2
- package/dist/collection/components/af-progress-line/af-progress-line.js +2 -3
- package/dist/collection/components/af-radio/af-radio.js +1 -2
- package/dist/collection/components/af-section/af-section.js +2 -3
- package/dist/collection/components/af-show/af-show.js +1 -2
- package/dist/collection/components/af-social-link/af-social-link.js +1 -2
- package/dist/collection/components/af-spacer/af-spacer.js +1 -2
- package/dist/collection/components/af-split-section/af-split-section.js +2 -3
- package/dist/collection/components/af-stack/af-stack.js +1 -2
- package/dist/collection/components/af-stepper/af-stepper.js +1 -2
- package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -2
- package/dist/collection/components/af-switch/af-switch.js +1 -2
- package/dist/collection/components/af-tab/af-tab.js +1 -2
- package/dist/collection/components/af-tab-bar/af-tab-bar.js +1 -2
- package/dist/collection/components/af-tag/af-tag.js +2 -3
- package/dist/collection/components/af-testimonial/af-testimonial.js +2 -3
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +1 -2
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -2
- package/dist/collection/components/af-text/af-text.js +0 -1
- package/dist/collection/components/af-text-image/af-text-image.js +0 -1
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +1 -2
- package/dist/collection/components/af-textarea/af-textarea.js +1 -2
- package/dist/collection/components/af-theme-override/af-theme-override.js +1 -2
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +1 -2
- package/dist/collection/components/af-video-container/af-video-container.js +1 -2
- package/dist/collection/components/af-visually-hidden/af-visually-hidden.js +1 -2
- package/dist/collection/components.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/components/af-accordion-item.js +1 -107
- package/dist/components/af-accordion.js +1 -128
- package/dist/components/af-aspect-ratio.js +1 -9
- package/dist/components/af-button-group.js +1 -9
- package/dist/components/af-button.js +1 -9
- package/dist/components/af-card.js +1 -9
- package/dist/components/af-center.js +1 -66
- package/dist/components/af-checkbox.js +1 -9
- package/dist/components/af-client-carousel.js +1 -53
- package/dist/components/af-color-swatch.js +1 -9
- package/dist/components/af-contact-item.js +1 -44
- package/dist/components/af-container.js +1 -9
- package/dist/components/af-divider.js +1 -66
- package/dist/components/af-feature-accordion.js +1 -136
- package/dist/components/af-feature-card.js +1 -9
- package/dist/components/af-feature-grid.js +1 -124
- package/dist/components/af-fieldset.js +1 -9
- package/dist/components/af-footer-column.js +1 -41
- package/dist/components/af-footer-link.js +1 -44
- package/dist/components/af-footer.js +1 -53
- package/dist/components/af-grid-callout.js +1 -82
- package/dist/components/af-grid.js +1 -71
- package/dist/components/af-heading.js +1 -9
- package/dist/components/af-icon-box.js +1 -9
- package/dist/components/af-icon-button.js +1 -9
- package/dist/components/af-icon-text.js +1 -78
- package/dist/components/af-icon.js +1 -9
- package/dist/components/af-illustrated-card.js +1 -9
- package/dist/components/af-image.js +1 -9
- package/dist/components/af-in-page-banner.js +1 -82
- package/dist/components/af-inline.js +1 -83
- package/dist/components/af-input.js +1 -9
- package/dist/components/af-logo-well.js +1 -38
- package/dist/components/af-logo.js +1 -9
- package/dist/components/af-nav-accordion-item.js +1 -117
- package/dist/components/af-nav-accordion.js +1 -106
- package/dist/components/af-nav-card.js +1 -62
- package/dist/components/af-nav-item.js +1 -9
- package/dist/components/af-nav-menu-nest.js +1 -67
- package/dist/components/af-nav-menu.js +1 -65
- package/dist/components/af-navbar.js +1 -9
- package/dist/components/af-number-badge.js +1 -66
- package/dist/components/af-progress-line.js +1 -9
- package/dist/components/af-radio.js +1 -9
- package/dist/components/af-section.js +1 -54
- package/dist/components/af-show.js +1 -46
- package/dist/components/af-social-link.js +1 -63
- package/dist/components/af-spacer.js +1 -69
- package/dist/components/af-split-section.js +1 -71
- package/dist/components/af-stack.js +1 -90
- package/dist/components/af-stepper-step.js +1 -44
- package/dist/components/af-stepper.js +1 -55
- package/dist/components/af-switch.js +1 -9
- package/dist/components/af-tab-bar.js +1 -9
- package/dist/components/af-tab.js +1 -9
- package/dist/components/af-tag.js +1 -9
- package/dist/components/af-testimonial-carousel.js +1 -131
- package/dist/components/af-testimonial-stat.js +1 -57
- package/dist/components/af-testimonial.js +1 -88
- package/dist/components/af-text-image-nest.js +1 -51
- package/dist/components/af-text-image.js +1 -94
- package/dist/components/af-text.js +1 -9
- package/dist/components/af-textarea.js +1 -9
- package/dist/components/af-theme-override.js +1 -44
- package/dist/components/af-typography-lockup.js +1 -9
- package/dist/components/af-video-container.js +1 -70
- package/dist/components/af-visually-hidden.js +1 -45
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -27
- package/dist/components/p--UJ_xE9Z.js +1 -0
- package/dist/components/p-0KrQFK77.js +1 -0
- package/dist/components/p-9SgEr6QK.js +1 -0
- package/dist/components/p-B6I3yxMd.js +1 -0
- package/dist/components/p-BCCbAFc1.js +1 -0
- package/dist/components/p-BLzlyxBT.js +1 -0
- package/dist/components/p-BUFbtjxU.js +1 -0
- package/dist/components/p-BeVM-2kH.js +1 -0
- package/dist/components/p-BeX5VmwL.js +1 -0
- package/dist/components/p-BlfywPKX.js +1 -0
- package/dist/components/p-BqUK0ZTO.js +1 -0
- package/dist/components/p-BzH2LxRQ.js +1 -0
- package/dist/components/p-CDCZfKNt.js +1 -0
- package/dist/components/p-CHNaDIj5.js +1 -0
- package/dist/components/p-CSGAhCLK.js +1 -0
- package/dist/components/p-CTFMTG3E.js +1 -0
- package/dist/components/p-CTcar4TG.js +1 -0
- package/dist/components/p-CVQiSujq.js +1 -0
- package/dist/components/p-C_BrhG1Q.js +1 -0
- package/dist/components/p-DOJEJFNa.js +1 -0
- package/dist/components/p-DPujlxcb.js +1 -0
- package/dist/components/p-DRm58pvc.js +1 -0
- package/dist/components/p-DX19jO3u.js +1 -0
- package/dist/components/p-DsNqeD3z.js +1 -0
- package/dist/components/p-Dx31qPzk.js +1 -0
- package/dist/components/p-HhMv1A3-.js +1 -0
- package/dist/components/p-UTiuvQaz.js +1 -0
- package/dist/components/p-tB2jS8S_.js +1 -0
- package/dist/components/p-tF59ipRp.js +1 -0
- package/dist/esm/af-accordion-item.entry.js +7 -6
- package/dist/esm/af-accordion.entry.js +7 -6
- package/dist/esm/af-aspect-ratio.entry.js +3 -4
- package/dist/esm/af-button-group.entry.js +4 -5
- package/dist/esm/af-button.entry.js +3 -4
- package/dist/esm/af-card.entry.js +4 -5
- package/dist/esm/af-center.entry.js +4 -5
- package/dist/esm/af-checkbox.entry.js +4 -5
- package/dist/esm/af-client-carousel.entry.js +4 -5
- package/dist/esm/af-color-swatch.entry.js +3 -4
- package/dist/esm/af-contact-item.entry.js +4 -5
- package/dist/esm/af-container.entry.js +3 -4
- package/dist/esm/af-divider.entry.js +4 -5
- package/dist/esm/af-feature-accordion.entry.js +8 -7
- package/dist/esm/af-feature-card.entry.js +3 -4
- package/dist/esm/af-feature-grid.entry.js +7 -6
- package/dist/esm/af-fieldset.entry.js +4 -5
- package/dist/esm/af-footer-column.entry.js +4 -5
- package/dist/esm/af-footer-link.entry.js +4 -5
- package/dist/esm/af-footer.entry.js +4 -5
- package/dist/esm/af-grid-callout.entry.js +3 -4
- package/dist/esm/af-grid.entry.js +5 -6
- package/dist/esm/af-heading_5.entry.js +98 -14
- package/dist/esm/af-icon-box.entry.js +4 -5
- package/dist/esm/af-icon-button.entry.js +3 -4
- package/dist/esm/af-icon-text.entry.js +4 -5
- package/dist/esm/af-icon.entry.js +3 -4
- package/dist/esm/af-illustrated-card.entry.js +4 -5
- package/dist/esm/af-image.entry.js +4 -5
- package/dist/esm/af-in-page-banner.entry.js +4 -5
- package/dist/esm/af-inline.entry.js +4 -5
- package/dist/esm/af-input.entry.js +4 -5
- package/dist/esm/af-logo-well.entry.js +4 -5
- package/dist/esm/af-nav-accordion-item.entry.js +8 -7
- package/dist/esm/af-nav-accordion.entry.js +4 -5
- package/dist/esm/af-nav-card.entry.js +3 -4
- package/dist/esm/af-nav-menu-nest.entry.js +4 -5
- package/dist/esm/af-nav-menu.entry.js +4 -5
- package/dist/esm/af-number-badge.entry.js +4 -5
- package/dist/esm/af-progress-line.entry.js +5 -6
- package/dist/esm/af-radio.entry.js +4 -5
- package/dist/esm/af-section.entry.js +5 -6
- package/dist/esm/af-show.entry.js +4 -5
- package/dist/esm/af-social-link.entry.js +4 -5
- package/dist/esm/af-spacer.entry.js +4 -5
- package/dist/esm/af-split-section.entry.js +5 -6
- package/dist/esm/af-stack.entry.js +4 -5
- package/dist/esm/af-stepper-step.entry.js +4 -5
- package/dist/esm/af-stepper.entry.js +4 -5
- package/dist/esm/af-switch.entry.js +4 -5
- package/dist/esm/af-tab-bar.entry.js +4 -5
- package/dist/esm/af-tab.entry.js +4 -5
- package/dist/esm/af-tag.entry.js +5 -6
- package/dist/esm/af-testimonial-carousel.entry.js +4 -5
- package/dist/esm/af-testimonial-stat.entry.js +4 -5
- package/dist/esm/af-testimonial.entry.js +5 -6
- package/dist/esm/af-text-image-nest.entry.js +4 -5
- package/dist/esm/af-text-image.entry.js +3 -4
- package/dist/esm/af-textarea.entry.js +4 -5
- package/dist/esm/af-theme-override.entry.js +4 -5
- package/dist/esm/af-typography-lockup.entry.js +4 -5
- package/dist/esm/af-video-container.entry.js +4 -5
- package/dist/esm/af-visually-hidden.entry.js +4 -5
- package/dist/esm/affinda.js +4 -5
- package/dist/esm/{index-B0LVveHp.js → index-CPfAC9fk.js} +462 -260
- package/dist/esm/index.js +2 -3
- package/dist/esm/loader.js +3 -4
- package/dist/types/components/af-navbar/af-navbar.d.ts +33 -4
- package/dist/types/components.d.ts +524 -147
- package/dist/types/stencil-public-runtime.d.ts +110 -6
- package/package.json +1 -1
- package/dist/affinda/af-accordion-item.entry.esm.js.map +0 -1
- package/dist/affinda/af-accordion.entry.esm.js.map +0 -1
- package/dist/affinda/af-aspect-ratio.entry.esm.js.map +0 -1
- package/dist/affinda/af-button-group.entry.esm.js.map +0 -1
- package/dist/affinda/af-button.entry.esm.js.map +0 -1
- package/dist/affinda/af-card.entry.esm.js.map +0 -1
- package/dist/affinda/af-center.entry.esm.js.map +0 -1
- package/dist/affinda/af-checkbox.entry.esm.js.map +0 -1
- package/dist/affinda/af-client-carousel.entry.esm.js.map +0 -1
- package/dist/affinda/af-color-swatch.entry.esm.js.map +0 -1
- package/dist/affinda/af-contact-item.entry.esm.js.map +0 -1
- package/dist/affinda/af-container.entry.esm.js.map +0 -1
- package/dist/affinda/af-divider.entry.esm.js.map +0 -1
- package/dist/affinda/af-feature-accordion.entry.esm.js.map +0 -1
- package/dist/affinda/af-feature-card.entry.esm.js.map +0 -1
- package/dist/affinda/af-feature-grid.entry.esm.js.map +0 -1
- package/dist/affinda/af-fieldset.entry.esm.js.map +0 -1
- package/dist/affinda/af-footer-column.entry.esm.js.map +0 -1
- package/dist/affinda/af-footer-link.entry.esm.js.map +0 -1
- package/dist/affinda/af-footer.entry.esm.js.map +0 -1
- package/dist/affinda/af-grid-callout.entry.esm.js.map +0 -1
- package/dist/affinda/af-grid.entry.esm.js.map +0 -1
- package/dist/affinda/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.esm.js.map +0 -1
- package/dist/affinda/af-icon-box.entry.esm.js.map +0 -1
- package/dist/affinda/af-icon-button.entry.esm.js.map +0 -1
- package/dist/affinda/af-icon-text.entry.esm.js.map +0 -1
- package/dist/affinda/af-icon.entry.esm.js.map +0 -1
- package/dist/affinda/af-illustrated-card.entry.esm.js.map +0 -1
- package/dist/affinda/af-image.entry.esm.js.map +0 -1
- package/dist/affinda/af-in-page-banner.entry.esm.js.map +0 -1
- package/dist/affinda/af-inline.entry.esm.js.map +0 -1
- package/dist/affinda/af-input.entry.esm.js.map +0 -1
- package/dist/affinda/af-logo-well.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-accordion-item.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-accordion.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-card.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-menu-nest.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-menu.entry.esm.js.map +0 -1
- package/dist/affinda/af-number-badge.entry.esm.js.map +0 -1
- package/dist/affinda/af-progress-line.entry.esm.js.map +0 -1
- package/dist/affinda/af-radio.entry.esm.js.map +0 -1
- package/dist/affinda/af-section.entry.esm.js.map +0 -1
- package/dist/affinda/af-show.entry.esm.js.map +0 -1
- package/dist/affinda/af-social-link.entry.esm.js.map +0 -1
- package/dist/affinda/af-spacer.entry.esm.js.map +0 -1
- package/dist/affinda/af-split-section.entry.esm.js.map +0 -1
- package/dist/affinda/af-stack.entry.esm.js.map +0 -1
- package/dist/affinda/af-stepper-step.entry.esm.js.map +0 -1
- package/dist/affinda/af-stepper.entry.esm.js.map +0 -1
- package/dist/affinda/af-switch.entry.esm.js.map +0 -1
- package/dist/affinda/af-tab-bar.entry.esm.js.map +0 -1
- package/dist/affinda/af-tab.entry.esm.js.map +0 -1
- package/dist/affinda/af-tag.entry.esm.js.map +0 -1
- package/dist/affinda/af-testimonial-carousel.entry.esm.js.map +0 -1
- package/dist/affinda/af-testimonial-stat.entry.esm.js.map +0 -1
- package/dist/affinda/af-testimonial.entry.esm.js.map +0 -1
- package/dist/affinda/af-text-image-nest.entry.esm.js.map +0 -1
- package/dist/affinda/af-text-image.entry.esm.js.map +0 -1
- package/dist/affinda/af-textarea.entry.esm.js.map +0 -1
- package/dist/affinda/af-theme-override.entry.esm.js.map +0 -1
- package/dist/affinda/af-typography-lockup.entry.esm.js.map +0 -1
- package/dist/affinda/af-video-container.entry.esm.js.map +0 -1
- package/dist/affinda/af-visually-hidden.entry.esm.js.map +0 -1
- package/dist/affinda/affinda.esm.js.map +0 -1
- package/dist/affinda/index.esm.js.map +0 -1
- package/dist/affinda/loader.esm.js.map +0 -1
- package/dist/affinda/p-04de9a0a.entry.js +0 -2
- package/dist/affinda/p-04de9a0a.entry.js.map +0 -1
- package/dist/affinda/p-07efc7a0.entry.js +0 -2
- package/dist/affinda/p-07efc7a0.entry.js.map +0 -1
- package/dist/affinda/p-08143c7e.entry.js +0 -2
- package/dist/affinda/p-08143c7e.entry.js.map +0 -1
- package/dist/affinda/p-0fb16377.entry.js +0 -2
- package/dist/affinda/p-0fb16377.entry.js.map +0 -1
- package/dist/affinda/p-0fcce1e4.entry.js +0 -2
- package/dist/affinda/p-0fcce1e4.entry.js.map +0 -1
- package/dist/affinda/p-122b6e96.entry.js +0 -2
- package/dist/affinda/p-122b6e96.entry.js.map +0 -1
- package/dist/affinda/p-19eb7cb9.entry.js +0 -2
- package/dist/affinda/p-19eb7cb9.entry.js.map +0 -1
- package/dist/affinda/p-1a87dd1c.entry.js +0 -2
- package/dist/affinda/p-1a87dd1c.entry.js.map +0 -1
- package/dist/affinda/p-202bac33.entry.js +0 -2
- package/dist/affinda/p-202bac33.entry.js.map +0 -1
- package/dist/affinda/p-2e50c27d.entry.js +0 -2
- package/dist/affinda/p-2e50c27d.entry.js.map +0 -1
- package/dist/affinda/p-2e750d43.entry.js.map +0 -1
- package/dist/affinda/p-2e8682a0.entry.js +0 -2
- package/dist/affinda/p-2e8682a0.entry.js.map +0 -1
- package/dist/affinda/p-302d0cf7.entry.js +0 -2
- package/dist/affinda/p-302d0cf7.entry.js.map +0 -1
- package/dist/affinda/p-3642589b.entry.js +0 -2
- package/dist/affinda/p-3642589b.entry.js.map +0 -1
- package/dist/affinda/p-389a6246.entry.js +0 -2
- package/dist/affinda/p-389a6246.entry.js.map +0 -1
- package/dist/affinda/p-391bb085.entry.js +0 -2
- package/dist/affinda/p-391bb085.entry.js.map +0 -1
- package/dist/affinda/p-3e16bb11.entry.js +0 -2
- package/dist/affinda/p-3e16bb11.entry.js.map +0 -1
- package/dist/affinda/p-3fc2a3dc.entry.js +0 -2
- package/dist/affinda/p-3fc2a3dc.entry.js.map +0 -1
- package/dist/affinda/p-45f76ad4.entry.js +0 -2
- package/dist/affinda/p-45f76ad4.entry.js.map +0 -1
- package/dist/affinda/p-4fcb61d1.entry.js +0 -2
- package/dist/affinda/p-4fcb61d1.entry.js.map +0 -1
- package/dist/affinda/p-517543bd.entry.js +0 -2
- package/dist/affinda/p-517543bd.entry.js.map +0 -1
- package/dist/affinda/p-5591bc79.entry.js +0 -2
- package/dist/affinda/p-5591bc79.entry.js.map +0 -1
- package/dist/affinda/p-6179957e.entry.js +0 -2
- package/dist/affinda/p-6179957e.entry.js.map +0 -1
- package/dist/affinda/p-62699653.entry.js +0 -2
- package/dist/affinda/p-62699653.entry.js.map +0 -1
- package/dist/affinda/p-6a5fa86a.entry.js +0 -2
- package/dist/affinda/p-6a5fa86a.entry.js.map +0 -1
- package/dist/affinda/p-6af1634a.entry.js.map +0 -1
- package/dist/affinda/p-6b92463e.entry.js +0 -2
- package/dist/affinda/p-6b92463e.entry.js.map +0 -1
- package/dist/affinda/p-6bbc1e24.entry.js +0 -2
- package/dist/affinda/p-6bbc1e24.entry.js.map +0 -1
- package/dist/affinda/p-709271d1.entry.js +0 -2
- package/dist/affinda/p-709271d1.entry.js.map +0 -1
- package/dist/affinda/p-76475b41.entry.js +0 -2
- package/dist/affinda/p-76475b41.entry.js.map +0 -1
- package/dist/affinda/p-78ff69a4.entry.js +0 -2
- package/dist/affinda/p-78ff69a4.entry.js.map +0 -1
- package/dist/affinda/p-79e6fc73.entry.js +0 -2
- package/dist/affinda/p-79e6fc73.entry.js.map +0 -1
- package/dist/affinda/p-7da3a28f.entry.js +0 -2
- package/dist/affinda/p-7da3a28f.entry.js.map +0 -1
- package/dist/affinda/p-86a9ff3e.entry.js +0 -2
- package/dist/affinda/p-86a9ff3e.entry.js.map +0 -1
- package/dist/affinda/p-9242c8d1.entry.js +0 -2
- package/dist/affinda/p-9242c8d1.entry.js.map +0 -1
- package/dist/affinda/p-933560e0.entry.js +0 -2
- package/dist/affinda/p-933560e0.entry.js.map +0 -1
- package/dist/affinda/p-B0LVveHp.js +0 -3
- package/dist/affinda/p-B0LVveHp.js.map +0 -1
- package/dist/affinda/p-a2c71cad.entry.js +0 -2
- package/dist/affinda/p-a2c71cad.entry.js.map +0 -1
- package/dist/affinda/p-a53d5549.entry.js +0 -2
- package/dist/affinda/p-a53d5549.entry.js.map +0 -1
- package/dist/affinda/p-a6402689.entry.js +0 -2
- package/dist/affinda/p-a6402689.entry.js.map +0 -1
- package/dist/affinda/p-a7574570.entry.js +0 -2
- package/dist/affinda/p-a7574570.entry.js.map +0 -1
- package/dist/affinda/p-a942522f.entry.js +0 -2
- package/dist/affinda/p-a942522f.entry.js.map +0 -1
- package/dist/affinda/p-accd917e.entry.js +0 -2
- package/dist/affinda/p-accd917e.entry.js.map +0 -1
- package/dist/affinda/p-ad9b0eec.entry.js +0 -2
- package/dist/affinda/p-ad9b0eec.entry.js.map +0 -1
- package/dist/affinda/p-b18767cf.entry.js +0 -2
- package/dist/affinda/p-b18767cf.entry.js.map +0 -1
- package/dist/affinda/p-b85e2bff.entry.js +0 -2
- package/dist/affinda/p-b85e2bff.entry.js.map +0 -1
- package/dist/affinda/p-bb67cf12.entry.js +0 -2
- package/dist/affinda/p-bb67cf12.entry.js.map +0 -1
- package/dist/affinda/p-c01eaa85.entry.js +0 -2
- package/dist/affinda/p-c01eaa85.entry.js.map +0 -1
- package/dist/affinda/p-c225ac8c.entry.js +0 -2
- package/dist/affinda/p-c225ac8c.entry.js.map +0 -1
- package/dist/affinda/p-c3d7872c.entry.js +0 -2
- package/dist/affinda/p-c3d7872c.entry.js.map +0 -1
- package/dist/affinda/p-c51a2687.entry.js +0 -2
- package/dist/affinda/p-c51a2687.entry.js.map +0 -1
- package/dist/affinda/p-d28b0860.entry.js +0 -2
- package/dist/affinda/p-d28b0860.entry.js.map +0 -1
- package/dist/affinda/p-d74a7ae9.entry.js +0 -2
- package/dist/affinda/p-d74a7ae9.entry.js.map +0 -1
- package/dist/affinda/p-e2f555fc.entry.js +0 -2
- package/dist/affinda/p-e2f555fc.entry.js.map +0 -1
- package/dist/affinda/p-e305c2b7.entry.js +0 -2
- package/dist/affinda/p-e305c2b7.entry.js.map +0 -1
- package/dist/affinda/p-e37fea2f.entry.js +0 -2
- package/dist/affinda/p-e37fea2f.entry.js.map +0 -1
- package/dist/affinda/p-ea02610f.entry.js +0 -2
- package/dist/affinda/p-ea02610f.entry.js.map +0 -1
- package/dist/affinda/p-ea0ccbce.entry.js +0 -2
- package/dist/affinda/p-ea0ccbce.entry.js.map +0 -1
- package/dist/affinda/p-eebb5101.entry.js +0 -2
- package/dist/affinda/p-eebb5101.entry.js.map +0 -1
- package/dist/affinda/p-f1dd31bd.entry.js +0 -2
- package/dist/affinda/p-f1dd31bd.entry.js.map +0 -1
- package/dist/affinda/p-f4d2a07d.entry.js +0 -2
- package/dist/affinda/p-f4d2a07d.entry.js.map +0 -1
- package/dist/affinda/p-f78dd237.entry.js +0 -2
- package/dist/affinda/p-f78dd237.entry.js.map +0 -1
- package/dist/affinda/p-f8bdddf5.entry.js +0 -2
- package/dist/affinda/p-f8bdddf5.entry.js.map +0 -1
- package/dist/affinda/p-fd772813.entry.js +0 -2
- package/dist/affinda/p-fd772813.entry.js.map +0 -1
- package/dist/cjs/af-accordion-item.entry.cjs.js.map +0 -1
- package/dist/cjs/af-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/af-aspect-ratio.entry.cjs.js.map +0 -1
- package/dist/cjs/af-button-group.entry.cjs.js.map +0 -1
- package/dist/cjs/af-button.entry.cjs.js.map +0 -1
- package/dist/cjs/af-card.entry.cjs.js.map +0 -1
- package/dist/cjs/af-center.entry.cjs.js.map +0 -1
- package/dist/cjs/af-checkbox.entry.cjs.js.map +0 -1
- package/dist/cjs/af-client-carousel.entry.cjs.js.map +0 -1
- package/dist/cjs/af-color-swatch.entry.cjs.js.map +0 -1
- package/dist/cjs/af-contact-item.entry.cjs.js.map +0 -1
- package/dist/cjs/af-container.entry.cjs.js.map +0 -1
- package/dist/cjs/af-divider.entry.cjs.js.map +0 -1
- package/dist/cjs/af-feature-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/af-feature-card.entry.cjs.js.map +0 -1
- package/dist/cjs/af-feature-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/af-fieldset.entry.cjs.js.map +0 -1
- package/dist/cjs/af-footer-column.entry.cjs.js.map +0 -1
- package/dist/cjs/af-footer-link.entry.cjs.js.map +0 -1
- package/dist/cjs/af-footer.entry.cjs.js.map +0 -1
- package/dist/cjs/af-grid-callout.entry.cjs.js.map +0 -1
- package/dist/cjs/af-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.cjs.js.map +0 -1
- package/dist/cjs/af-icon-box.entry.cjs.js.map +0 -1
- package/dist/cjs/af-icon-button.entry.cjs.js.map +0 -1
- package/dist/cjs/af-icon-text.entry.cjs.js.map +0 -1
- package/dist/cjs/af-icon.entry.cjs.js.map +0 -1
- package/dist/cjs/af-illustrated-card.entry.cjs.js.map +0 -1
- package/dist/cjs/af-image.entry.cjs.js.map +0 -1
- package/dist/cjs/af-in-page-banner.entry.cjs.js.map +0 -1
- package/dist/cjs/af-inline.entry.cjs.js.map +0 -1
- package/dist/cjs/af-input.entry.cjs.js.map +0 -1
- package/dist/cjs/af-logo-well.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-accordion-item.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-card.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-menu-nest.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-menu.entry.cjs.js.map +0 -1
- package/dist/cjs/af-number-badge.entry.cjs.js.map +0 -1
- package/dist/cjs/af-progress-line.entry.cjs.js.map +0 -1
- package/dist/cjs/af-radio.entry.cjs.js.map +0 -1
- package/dist/cjs/af-section.entry.cjs.js.map +0 -1
- package/dist/cjs/af-show.entry.cjs.js.map +0 -1
- package/dist/cjs/af-social-link.entry.cjs.js.map +0 -1
- package/dist/cjs/af-spacer.entry.cjs.js.map +0 -1
- package/dist/cjs/af-split-section.entry.cjs.js.map +0 -1
- package/dist/cjs/af-stack.entry.cjs.js.map +0 -1
- package/dist/cjs/af-stepper-step.entry.cjs.js.map +0 -1
- package/dist/cjs/af-stepper.entry.cjs.js.map +0 -1
- package/dist/cjs/af-switch.entry.cjs.js.map +0 -1
- package/dist/cjs/af-tab-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/af-tab.entry.cjs.js.map +0 -1
- package/dist/cjs/af-tag.entry.cjs.js.map +0 -1
- package/dist/cjs/af-testimonial-carousel.entry.cjs.js.map +0 -1
- package/dist/cjs/af-testimonial-stat.entry.cjs.js.map +0 -1
- package/dist/cjs/af-testimonial.entry.cjs.js.map +0 -1
- package/dist/cjs/af-text-image-nest.entry.cjs.js.map +0 -1
- package/dist/cjs/af-text-image.entry.cjs.js.map +0 -1
- package/dist/cjs/af-textarea.entry.cjs.js.map +0 -1
- package/dist/cjs/af-theme-override.entry.cjs.js.map +0 -1
- package/dist/cjs/af-typography-lockup.entry.cjs.js.map +0 -1
- package/dist/cjs/af-video-container.entry.cjs.js.map +0 -1
- package/dist/cjs/af-visually-hidden.entry.cjs.js.map +0 -1
- package/dist/cjs/affinda.cjs.js.map +0 -1
- package/dist/cjs/index-n-fnurTP.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/collection/components/af-accordion/af-accordion.js.map +0 -1
- package/dist/collection/components/af-accordion-item/af-accordion-item.js.map +0 -1
- package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js.map +0 -1
- package/dist/collection/components/af-button/af-button.js.map +0 -1
- package/dist/collection/components/af-button-group/af-button-group.js.map +0 -1
- package/dist/collection/components/af-card/af-card.js.map +0 -1
- package/dist/collection/components/af-center/af-center.js.map +0 -1
- package/dist/collection/components/af-checkbox/af-checkbox.js.map +0 -1
- package/dist/collection/components/af-client-carousel/af-client-carousel.js.map +0 -1
- package/dist/collection/components/af-color-swatch/af-color-swatch.js.map +0 -1
- package/dist/collection/components/af-contact-item/af-contact-item.js.map +0 -1
- package/dist/collection/components/af-container/af-container.js.map +0 -1
- package/dist/collection/components/af-divider/af-divider.js.map +0 -1
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js.map +0 -1
- package/dist/collection/components/af-feature-card/af-feature-card.js.map +0 -1
- package/dist/collection/components/af-feature-grid/af-feature-grid.js.map +0 -1
- package/dist/collection/components/af-fieldset/af-fieldset.js.map +0 -1
- package/dist/collection/components/af-footer/af-footer.js.map +0 -1
- package/dist/collection/components/af-footer-column/af-footer-column.js.map +0 -1
- package/dist/collection/components/af-footer-link/af-footer-link.js.map +0 -1
- package/dist/collection/components/af-grid/af-grid.js.map +0 -1
- package/dist/collection/components/af-grid-callout/af-grid-callout.js.map +0 -1
- package/dist/collection/components/af-heading/af-heading.js.map +0 -1
- package/dist/collection/components/af-icon/af-icon.js.map +0 -1
- package/dist/collection/components/af-icon-box/af-icon-box.js.map +0 -1
- package/dist/collection/components/af-icon-button/af-icon-button.js.map +0 -1
- package/dist/collection/components/af-icon-text/af-icon-text.js.map +0 -1
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js.map +0 -1
- package/dist/collection/components/af-image/af-image.js.map +0 -1
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js.map +0 -1
- package/dist/collection/components/af-inline/af-inline.js.map +0 -1
- package/dist/collection/components/af-input/af-input.js.map +0 -1
- package/dist/collection/components/af-logo/af-logo.js.map +0 -1
- package/dist/collection/components/af-logo-well/af-logo-well.js.map +0 -1
- package/dist/collection/components/af-nav-accordion/af-nav-accordion.js.map +0 -1
- package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js.map +0 -1
- package/dist/collection/components/af-nav-card/af-nav-card.js.map +0 -1
- package/dist/collection/components/af-nav-item/af-nav-item.js.map +0 -1
- package/dist/collection/components/af-nav-menu/af-nav-menu.js.map +0 -1
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js.map +0 -1
- package/dist/collection/components/af-navbar/af-navbar.js.map +0 -1
- package/dist/collection/components/af-number-badge/af-number-badge.js.map +0 -1
- package/dist/collection/components/af-progress-line/af-progress-line.js.map +0 -1
- package/dist/collection/components/af-radio/af-radio.js.map +0 -1
- package/dist/collection/components/af-section/af-section.js.map +0 -1
- package/dist/collection/components/af-show/af-show.js.map +0 -1
- package/dist/collection/components/af-social-link/af-social-link.js.map +0 -1
- package/dist/collection/components/af-spacer/af-spacer.js.map +0 -1
- package/dist/collection/components/af-split-section/af-split-section.js.map +0 -1
- package/dist/collection/components/af-stack/af-stack.js.map +0 -1
- package/dist/collection/components/af-stepper/af-stepper.js.map +0 -1
- package/dist/collection/components/af-stepper-step/af-stepper-step.js.map +0 -1
- package/dist/collection/components/af-switch/af-switch.js.map +0 -1
- package/dist/collection/components/af-tab/af-tab.js.map +0 -1
- package/dist/collection/components/af-tab-bar/af-tab-bar.js.map +0 -1
- package/dist/collection/components/af-tag/af-tag.js.map +0 -1
- package/dist/collection/components/af-testimonial/af-testimonial.js.map +0 -1
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js.map +0 -1
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js.map +0 -1
- package/dist/collection/components/af-text/af-text.js.map +0 -1
- package/dist/collection/components/af-text-image/af-text-image.js.map +0 -1
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js.map +0 -1
- package/dist/collection/components/af-textarea/af-textarea.js.map +0 -1
- package/dist/collection/components/af-theme-override/af-theme-override.js.map +0 -1
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js.map +0 -1
- package/dist/collection/components/af-video-container/af-video-container.js.map +0 -1
- package/dist/collection/components/af-visually-hidden/af-visually-hidden.js.map +0 -1
- package/dist/collection/components.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/components/af-accordion-item.js.map +0 -1
- package/dist/components/af-accordion.js.map +0 -1
- package/dist/components/af-aspect-ratio.js.map +0 -1
- package/dist/components/af-button-group.js.map +0 -1
- package/dist/components/af-button.js.map +0 -1
- package/dist/components/af-card.js.map +0 -1
- package/dist/components/af-center.js.map +0 -1
- package/dist/components/af-checkbox.js.map +0 -1
- package/dist/components/af-client-carousel.js.map +0 -1
- package/dist/components/af-color-swatch.js.map +0 -1
- package/dist/components/af-contact-item.js.map +0 -1
- package/dist/components/af-container.js.map +0 -1
- package/dist/components/af-divider.js.map +0 -1
- package/dist/components/af-feature-accordion.js.map +0 -1
- package/dist/components/af-feature-card.js.map +0 -1
- package/dist/components/af-feature-grid.js.map +0 -1
- package/dist/components/af-fieldset.js.map +0 -1
- package/dist/components/af-footer-column.js.map +0 -1
- package/dist/components/af-footer-link.js.map +0 -1
- package/dist/components/af-footer.js.map +0 -1
- package/dist/components/af-grid-callout.js.map +0 -1
- package/dist/components/af-grid.js.map +0 -1
- package/dist/components/af-heading.js.map +0 -1
- package/dist/components/af-icon-box.js.map +0 -1
- package/dist/components/af-icon-button.js.map +0 -1
- package/dist/components/af-icon-text.js.map +0 -1
- package/dist/components/af-icon.js.map +0 -1
- package/dist/components/af-illustrated-card.js.map +0 -1
- package/dist/components/af-image.js.map +0 -1
- package/dist/components/af-in-page-banner.js.map +0 -1
- package/dist/components/af-inline.js.map +0 -1
- package/dist/components/af-input.js.map +0 -1
- package/dist/components/af-logo-well.js.map +0 -1
- package/dist/components/af-logo.js.map +0 -1
- package/dist/components/af-nav-accordion-item.js.map +0 -1
- package/dist/components/af-nav-accordion.js.map +0 -1
- package/dist/components/af-nav-card.js.map +0 -1
- package/dist/components/af-nav-item.js.map +0 -1
- package/dist/components/af-nav-menu-nest.js.map +0 -1
- package/dist/components/af-nav-menu.js.map +0 -1
- package/dist/components/af-navbar.js.map +0 -1
- package/dist/components/af-number-badge.js.map +0 -1
- package/dist/components/af-progress-line.js.map +0 -1
- package/dist/components/af-radio.js.map +0 -1
- package/dist/components/af-section.js.map +0 -1
- package/dist/components/af-show.js.map +0 -1
- package/dist/components/af-social-link.js.map +0 -1
- package/dist/components/af-spacer.js.map +0 -1
- package/dist/components/af-split-section.js.map +0 -1
- package/dist/components/af-stack.js.map +0 -1
- package/dist/components/af-stepper-step.js.map +0 -1
- package/dist/components/af-stepper.js.map +0 -1
- package/dist/components/af-switch.js.map +0 -1
- package/dist/components/af-tab-bar.js.map +0 -1
- package/dist/components/af-tab.js.map +0 -1
- package/dist/components/af-tag.js.map +0 -1
- package/dist/components/af-testimonial-carousel.js.map +0 -1
- package/dist/components/af-testimonial-stat.js.map +0 -1
- package/dist/components/af-testimonial.js.map +0 -1
- package/dist/components/af-text-image-nest.js.map +0 -1
- package/dist/components/af-text-image.js.map +0 -1
- package/dist/components/af-text.js.map +0 -1
- package/dist/components/af-textarea.js.map +0 -1
- package/dist/components/af-theme-override.js.map +0 -1
- package/dist/components/af-typography-lockup.js.map +0 -1
- package/dist/components/af-video-container.js.map +0 -1
- package/dist/components/af-visually-hidden.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-6uEhsUaO.js +0 -44
- package/dist/components/p-6uEhsUaO.js.map +0 -1
- package/dist/components/p-80hb0CR2.js +0 -71
- package/dist/components/p-80hb0CR2.js.map +0 -1
- package/dist/components/p-BBVslKpK.js +0 -59
- package/dist/components/p-BBVslKpK.js.map +0 -1
- package/dist/components/p-BHKA-yEm.js +0 -102
- package/dist/components/p-BHKA-yEm.js.map +0 -1
- package/dist/components/p-BHyABfs0.js +0 -92
- package/dist/components/p-BHyABfs0.js.map +0 -1
- package/dist/components/p-BIgPDyJK.js +0 -103
- package/dist/components/p-BIgPDyJK.js.map +0 -1
- package/dist/components/p-BXZ7aJQf.js +0 -372
- package/dist/components/p-BXZ7aJQf.js.map +0 -1
- package/dist/components/p-BfAQ7eko.js +0 -53
- package/dist/components/p-BfAQ7eko.js.map +0 -1
- package/dist/components/p-CAYG3IzP.js +0 -50
- package/dist/components/p-CAYG3IzP.js.map +0 -1
- package/dist/components/p-CFBeRDmV.js +0 -52
- package/dist/components/p-CFBeRDmV.js.map +0 -1
- package/dist/components/p-CLmCtN_R.js +0 -35
- package/dist/components/p-CLmCtN_R.js.map +0 -1
- package/dist/components/p-CNtgySkk.js +0 -48
- package/dist/components/p-CNtgySkk.js.map +0 -1
- package/dist/components/p-CUSad8vm.js +0 -74
- package/dist/components/p-CUSad8vm.js.map +0 -1
- package/dist/components/p-CxngDK-N.js +0 -1781
- package/dist/components/p-CxngDK-N.js.map +0 -1
- package/dist/components/p-D3UZ60qM.js +0 -45
- package/dist/components/p-D3UZ60qM.js.map +0 -1
- package/dist/components/p-DReSTue0.js +0 -48
- package/dist/components/p-DReSTue0.js.map +0 -1
- package/dist/components/p-DUQu3N38.js +0 -70
- package/dist/components/p-DUQu3N38.js.map +0 -1
- package/dist/components/p-DZ6UMG8G.js +0 -89
- package/dist/components/p-DZ6UMG8G.js.map +0 -1
- package/dist/components/p-D_xTKF7j.js +0 -55
- package/dist/components/p-D_xTKF7j.js.map +0 -1
- package/dist/components/p-DcJ8wKzl.js +0 -68
- package/dist/components/p-DcJ8wKzl.js.map +0 -1
- package/dist/components/p-Dd7Lt2QL.js +0 -81
- package/dist/components/p-Dd7Lt2QL.js.map +0 -1
- package/dist/components/p-DkvJiyn0.js +0 -73
- package/dist/components/p-DkvJiyn0.js.map +0 -1
- package/dist/components/p-DnHD91HB.js +0 -57
- package/dist/components/p-DnHD91HB.js.map +0 -1
- package/dist/components/p-Dvo_cxk-.js +0 -141
- package/dist/components/p-Dvo_cxk-.js.map +0 -1
- package/dist/components/p-Dwhi37rN.js +0 -127
- package/dist/components/p-Dwhi37rN.js.map +0 -1
- package/dist/components/p-Ws-qvw9w.js +0 -108
- package/dist/components/p-Ws-qvw9w.js.map +0 -1
- package/dist/components/p-nwZ2iAi9.js +0 -100
- package/dist/components/p-nwZ2iAi9.js.map +0 -1
- package/dist/components/p-pudFjW3W.js +0 -94
- package/dist/components/p-pudFjW3W.js.map +0 -1
- package/dist/components/p-zDoPXonz.js +0 -58
- package/dist/components/p-zDoPXonz.js.map +0 -1
- package/dist/esm/af-accordion-item.entry.js.map +0 -1
- package/dist/esm/af-accordion.entry.js.map +0 -1
- package/dist/esm/af-aspect-ratio.entry.js.map +0 -1
- package/dist/esm/af-button-group.entry.js.map +0 -1
- package/dist/esm/af-button.entry.js.map +0 -1
- package/dist/esm/af-card.entry.js.map +0 -1
- package/dist/esm/af-center.entry.js.map +0 -1
- package/dist/esm/af-checkbox.entry.js.map +0 -1
- package/dist/esm/af-client-carousel.entry.js.map +0 -1
- package/dist/esm/af-color-swatch.entry.js.map +0 -1
- package/dist/esm/af-contact-item.entry.js.map +0 -1
- package/dist/esm/af-container.entry.js.map +0 -1
- package/dist/esm/af-divider.entry.js.map +0 -1
- package/dist/esm/af-feature-accordion.entry.js.map +0 -1
- package/dist/esm/af-feature-card.entry.js.map +0 -1
- package/dist/esm/af-feature-grid.entry.js.map +0 -1
- package/dist/esm/af-fieldset.entry.js.map +0 -1
- package/dist/esm/af-footer-column.entry.js.map +0 -1
- package/dist/esm/af-footer-link.entry.js.map +0 -1
- package/dist/esm/af-footer.entry.js.map +0 -1
- package/dist/esm/af-grid-callout.entry.js.map +0 -1
- package/dist/esm/af-grid.entry.js.map +0 -1
- package/dist/esm/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.js.map +0 -1
- package/dist/esm/af-icon-box.entry.js.map +0 -1
- package/dist/esm/af-icon-button.entry.js.map +0 -1
- package/dist/esm/af-icon-text.entry.js.map +0 -1
- package/dist/esm/af-icon.entry.js.map +0 -1
- package/dist/esm/af-illustrated-card.entry.js.map +0 -1
- package/dist/esm/af-image.entry.js.map +0 -1
- package/dist/esm/af-in-page-banner.entry.js.map +0 -1
- package/dist/esm/af-inline.entry.js.map +0 -1
- package/dist/esm/af-input.entry.js.map +0 -1
- package/dist/esm/af-logo-well.entry.js.map +0 -1
- package/dist/esm/af-nav-accordion-item.entry.js.map +0 -1
- package/dist/esm/af-nav-accordion.entry.js.map +0 -1
- package/dist/esm/af-nav-card.entry.js.map +0 -1
- package/dist/esm/af-nav-menu-nest.entry.js.map +0 -1
- package/dist/esm/af-nav-menu.entry.js.map +0 -1
- package/dist/esm/af-number-badge.entry.js.map +0 -1
- package/dist/esm/af-progress-line.entry.js.map +0 -1
- package/dist/esm/af-radio.entry.js.map +0 -1
- package/dist/esm/af-section.entry.js.map +0 -1
- package/dist/esm/af-show.entry.js.map +0 -1
- package/dist/esm/af-social-link.entry.js.map +0 -1
- package/dist/esm/af-spacer.entry.js.map +0 -1
- package/dist/esm/af-split-section.entry.js.map +0 -1
- package/dist/esm/af-stack.entry.js.map +0 -1
- package/dist/esm/af-stepper-step.entry.js.map +0 -1
- package/dist/esm/af-stepper.entry.js.map +0 -1
- package/dist/esm/af-switch.entry.js.map +0 -1
- package/dist/esm/af-tab-bar.entry.js.map +0 -1
- package/dist/esm/af-tab.entry.js.map +0 -1
- package/dist/esm/af-tag.entry.js.map +0 -1
- package/dist/esm/af-testimonial-carousel.entry.js.map +0 -1
- package/dist/esm/af-testimonial-stat.entry.js.map +0 -1
- package/dist/esm/af-testimonial.entry.js.map +0 -1
- package/dist/esm/af-text-image-nest.entry.js.map +0 -1
- package/dist/esm/af-text-image.entry.js.map +0 -1
- package/dist/esm/af-textarea.entry.js.map +0 -1
- package/dist/esm/af-theme-override.entry.js.map +0 -1
- package/dist/esm/af-typography-lockup.entry.js.map +0 -1
- package/dist/esm/af-video-container.entry.js.map +0 -1
- package/dist/esm/af-visually-hidden.entry.js.map +0 -1
- package/dist/esm/affinda.js.map +0 -1
- package/dist/esm/index-B0LVveHp.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
|
@@ -1,22 +1,59 @@
|
|
|
1
1
|
const NAMESPACE = 'affinda';
|
|
2
|
-
const BUILD = /* affinda */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, updatable: true};
|
|
2
|
+
const BUILD = /* affinda */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
const globalScripts = () => {};
|
|
5
|
-
const globalStyles = ":root{--colour-brand-mist-green:#C6D5D1;--colour-brand-inkwell:#14343B;--colour-brand-soft-clay:#B09670;--colour-brand-white:#FFFFFF;--colour-brand-ivory-paper:#
|
|
5
|
+
const globalStyles = ":root{--colour-brand-mist-green:#C6D5D1;--colour-brand-inkwell:#14343B;--colour-brand-soft-clay:#B09670;--colour-brand-white:#FFFFFF;--colour-brand-ivory-paper:#FFF9EE;--colour-brand-azure:#7FE2D4;--colour-brand-ice:#A6FFF8;--colour-tints-mist-green-20:#F6FAF9;--colour-mistgreen-20:#F6FAF9;--colour-tints-mist-green-30:#F2F9F5;--colour-mistgreen-30:#F2F9F5;--colour-tints-mist-green-40:#ECF6F3;--colour-mistgreen-40:#ECF6F3;--colour-tints-mist-green-50:#E9F5FA;--colour-mistgreen-50:#E9F5FA;--colour-tints-mist-green-100:#E1EEE1;--colour-mistgreen-100:#E1EEE1;--colour-tints-mist-green-200:#D2E8E3;--colour-mistgreen-200:#D2E8E3;--colour-tints-mist-green-300:#C2E4E3;--colour-mistgreen-300:#C2E4E3;--colour-tints-mist-green-400:#B2D0D0;--colour-mistgreen-400:#B2D0D0;--colour-tints-mist-green-500:#A1BABA;--colour-mistgreen-500:#A1BABA;--colour-tints-mist-green-600:#92A7A7;--colour-mistgreen-600:#92A7A7;--colour-tints-mist-green-700:#849898;--colour-mistgreen-700:#849898;--colour-tints-mist-green-800:#1B6A68;--colour-mistgreen-800:#1B6A68;--colour-tints-inkwell-20:#F8FAFA;--colour-inkwell-20:#F8FAFA;--colour-tints-inkwell-30:#F5F9F5;--colour-inkwell-30:#F5F9F5;--colour-tints-inkwell-40:#EEF5F5;--colour-inkwell-40:#EEF5F5;--colour-tints-inkwell-50:#E8E6E8;--colour-inkwell-50:#E8E6E8;--colour-tints-inkwell-100:#D4D4D4;--colour-inkwell-100:#D4D4D4;--colour-tints-inkwell-200:#AAB6B1;--colour-inkwell-200:#AAB6B1;--colour-tints-inkwell-300:#7D969B;--colour-inkwell-300:#7D969B;--colour-tints-inkwell-400:#4E6E5F;--colour-inkwell-400:#4E6E5F;--colour-tints-inkwell-500:#1E4A48;--colour-inkwell-500:#1E4A48;--colour-tints-inkwell-600:#1A3038;--colour-inkwell-600:#1A3038;--colour-tints-inkwell-700:#142736;--colour-inkwell-700:#142736;--colour-tints-inkwell-800:#0D1A20;--colour-inkwell-800:#0D1A20;--colour-tints-soft-clay-20:#FBF9F5;--colour-softclay-20:#FBF9F5;--colour-tints-soft-clay-30:#FAF8F1;--colour-softclay-30:#FAF8F1;--colour-tints-soft-clay-40:#F7F5E5;--colour-softclay-40:#F7F5E5;--colour-tints-soft-clay-50:#F7F5E1;--colour-softclay-50:#F7F5E1;--colour-tints-soft-clay-100:#F2EAC2;--colour-softclay-100:#F2EAC2;--colour-tints-soft-clay-200:#D5C5C4;--colour-softclay-200:#D5C5C4;--colour-tints-soft-clay-300:#D0C0A9;--colour-softclay-300:#D0C0A9;--colour-tints-soft-clay-400:#C0AB8D;--colour-softclay-400:#C0AB8D;--colour-tints-soft-clay-500:#B59B82;--colour-softclay-500:#B59B82;--colour-tints-soft-clay-600:#A08651;--colour-softclay-600:#A08651;--colour-tints-soft-clay-700:#8D7B5A;--colour-softclay-700:#8D7B5A;--colour-tints-soft-clay-800:#5A5920;--colour-softclay-800:#5A5920;--colour-tints-ice-20:#FAFFFF;--colour-ice-20:#FAFFFF;--colour-tints-ice-30:#F8FFFE;--colour-ice-30:#F8FFFE;--colour-tints-ice-40:#F4FFFD;--colour-ice-40:#F4FFFD;--colour-tints-ice-50:#E6FFFF;--colour-ice-50:#E6FFFF;--colour-tints-ice-100:#E4FFF8;--colour-ice-100:#E4FFF8;--colour-tints-ice-200:#C9FFF0;--colour-ice-200:#C9FFF0;--colour-tints-ice-300:#C2FFF0;--colour-ice-300:#C2FFF0;--colour-tints-ice-400:#B8FFFC;--colour-ice-400:#B8FFFC;--colour-tints-ice-500:#8Ce;--colour-ice-500:#8Ce;--colour-tints-ice-600:#83BB82;--colour-ice-600:#83BB82;--colour-tints-ice-700:#10CCC9;--colour-ice-700:#10CCC9;--colour-typography-heading-primary:#14343B;--colour-typography-heading-secondary:#B09670;--colour-typography-body-dark:#14343B;--colour-typography-body-default:#14343B;--colour-typography-body-subtle:#708380;--colour-background-mist-green:#C6D5D1;--colour-background-inkwell:#14343B;--colour-background-soft-clay:#B09670;--colour-background-white:#FFFFFF;--colour-background-ivory-paper:#FFF9EE;--colour-background-level1:#E8EEED;--colour-ui-mist-green:#C6D5D1;--colour-ui-inkwell:#14343B;--colour-ui-soft-clay:#B09670;--colour-ui-white:#FFFFFF;--colour-ui-ivory-paper:#FFF9EE;--colour-ui-azure:#7FE2D4;--colour-ui-ice:#A6FFF8;--radius-sm:6px;--radius-md:12px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--typography-headingfont:'NeuSans', Arial, sans-serif;--typography-bodyfont:'NeuSans', Arial, sans-serif;--typography-sansfont:'NeuSans', Arial, sans-serif;--font-weight-regular:400;--font-weight-book:500;--font-weight-semibold:600;--font-size-heading-1-desktop:56px;--font-size-heading-1-mobile:38px;--font-size-heading-2-desktop:44px;--font-size-heading-2-mobile:32px;--font-size-heading-3-desktop:34px;--font-size-heading-3-mobile:25px;--font-size-heading-4-desktop:24px;--font-size-heading-4-mobile:20px;--font-size-heading-5-desktop:20px;--font-size-heading-5-mobile:18px;--font-size-heading-xl-desktop:80px;--font-size-heading-xl-mobile:50px;--font-size-body-xlarge:22px;--font-size-body-large:18px;--font-size-body-medium:16px;--font-size-body-small:14px;--font-size-label-button:17px;--font-size-label-tag:14px;--line-height-heading-tight:1;--line-height-heading-normal:1.1;--line-height-heading-relaxed:1.2;--line-height-body-xlarge:28px;--line-height-body-large:26px;--line-height-body-medium:24px;--line-height-body-small:20px;--line-height-label-button:20px;--line-height-label-tag:1;--letter-spacing-heading:-0.02em;--letter-spacing-body:0;--grid-xlarge-breakpoint:1440px;--grid-xlarge-columns:12;--grid-xlarge-margin:80px;--grid-xlarge-gutter:24px;--grid-xlarge-max-width:1440px;--grid-large-breakpoint:1024px;--grid-large-columns:12;--grid-large-margin:64px;--grid-large-gutter:16px;--grid-large-max-width:1024px;--grid-medium-breakpoint:768px;--grid-medium-columns:6;--grid-medium-margin:32px;--grid-medium-gutter:16px;--grid-medium-max-width:768px;--grid-small-breakpoint:375px;--grid-small-columns:4;--grid-small-margin:20px;--grid-small-gutter:16px;--grid-small-max-width:100%;--grid-xsmall-breakpoint:320px;--grid-xsmall-columns:4;--grid-xsmall-margin:16px;--grid-xsmall-gutter:16px;--grid-xsmall-max-width:100%;--icon-size-small:16px;--icon-size-medium:24px;--icon-size-large:32px;--icon-badge-size:48px;--illustration-size:432px}";
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Platform v4.
|
|
8
|
+
Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
var __export = (target, all) => {
|
|
12
|
-
for (var name in all)
|
|
13
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
14
|
-
};
|
|
10
|
+
|
|
15
11
|
|
|
16
12
|
// src/utils/constants.ts
|
|
17
13
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
18
14
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
19
15
|
|
|
16
|
+
// src/utils/get-prop-descriptor.ts
|
|
17
|
+
function getPropertyDescriptor(obj, memberName, getOnly) {
|
|
18
|
+
const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
|
|
19
|
+
while (obj && obj !== stopAt) {
|
|
20
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
21
|
+
if (desc && (!getOnly || desc.get)) return desc;
|
|
22
|
+
obj = Object.getPrototypeOf(obj);
|
|
23
|
+
}
|
|
24
|
+
return void 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
28
|
+
var reWireGetterSetter = (instance, hostRef) => {
|
|
29
|
+
var _a;
|
|
30
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
31
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
32
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
33
|
+
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
34
|
+
const ogValue = instance[memberName];
|
|
35
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
36
|
+
if (ogDescriptor) {
|
|
37
|
+
Object.defineProperty(instance, memberName, {
|
|
38
|
+
get() {
|
|
39
|
+
return ogDescriptor.get.call(this);
|
|
40
|
+
},
|
|
41
|
+
set(newValue) {
|
|
42
|
+
ogDescriptor.set.call(this, newValue);
|
|
43
|
+
},
|
|
44
|
+
configurable: true,
|
|
45
|
+
enumerable: true
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
if (hostRef.$instanceValues$.has(memberName)) {
|
|
49
|
+
instance[memberName] = hostRef.$instanceValues$.get(memberName);
|
|
50
|
+
} else if (ogValue !== void 0) {
|
|
51
|
+
instance[memberName] = ogValue;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
|
|
20
57
|
// src/client/client-host-ref.ts
|
|
21
58
|
var getHostRef = (ref) => {
|
|
22
59
|
if (ref.__stencil__getHostRef) {
|
|
@@ -28,6 +65,9 @@ var registerInstance = (lazyInstance, hostRef) => {
|
|
|
28
65
|
if (!hostRef) return;
|
|
29
66
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
30
67
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
68
|
+
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
69
|
+
reWireGetterSetter(lazyInstance, hostRef);
|
|
70
|
+
}
|
|
31
71
|
};
|
|
32
72
|
var registerHost = (hostElement, cmpMeta) => {
|
|
33
73
|
const hostRef = {
|
|
@@ -122,6 +162,9 @@ var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
|
122
162
|
var promiseResolve = (v) => Promise.resolve(v);
|
|
123
163
|
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
124
164
|
try {
|
|
165
|
+
if (!win.document.adoptedStyleSheets) {
|
|
166
|
+
return false;
|
|
167
|
+
}
|
|
125
168
|
new CSSStyleSheet();
|
|
126
169
|
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
127
170
|
} catch (e) {
|
|
@@ -165,73 +208,6 @@ var flush = () => {
|
|
|
165
208
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
166
209
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
167
210
|
|
|
168
|
-
// src/utils/helpers.ts
|
|
169
|
-
var isDef = (v) => v != null && v !== void 0;
|
|
170
|
-
var isComplexType = (o) => {
|
|
171
|
-
o = typeof o;
|
|
172
|
-
return o === "object" || o === "function";
|
|
173
|
-
};
|
|
174
|
-
|
|
175
|
-
// src/utils/query-nonce-meta-tag-content.ts
|
|
176
|
-
function queryNonceMetaTagContent(doc) {
|
|
177
|
-
var _a, _b, _c;
|
|
178
|
-
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
// src/utils/regular-expression.ts
|
|
182
|
-
var escapeRegExpSpecialCharacters = (text) => {
|
|
183
|
-
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
// src/utils/result.ts
|
|
187
|
-
var result_exports = {};
|
|
188
|
-
__export(result_exports, {
|
|
189
|
-
err: () => err,
|
|
190
|
-
map: () => map,
|
|
191
|
-
ok: () => ok,
|
|
192
|
-
unwrap: () => unwrap,
|
|
193
|
-
unwrapErr: () => unwrapErr
|
|
194
|
-
});
|
|
195
|
-
var ok = (value) => ({
|
|
196
|
-
isOk: true,
|
|
197
|
-
isErr: false,
|
|
198
|
-
value
|
|
199
|
-
});
|
|
200
|
-
var err = (value) => ({
|
|
201
|
-
isOk: false,
|
|
202
|
-
isErr: true,
|
|
203
|
-
value
|
|
204
|
-
});
|
|
205
|
-
function map(result, fn) {
|
|
206
|
-
if (result.isOk) {
|
|
207
|
-
const val = fn(result.value);
|
|
208
|
-
if (val instanceof Promise) {
|
|
209
|
-
return val.then((newVal) => ok(newVal));
|
|
210
|
-
} else {
|
|
211
|
-
return ok(val);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
if (result.isErr) {
|
|
215
|
-
const value = result.value;
|
|
216
|
-
return err(value);
|
|
217
|
-
}
|
|
218
|
-
throw "should never get here";
|
|
219
|
-
}
|
|
220
|
-
var unwrap = (result) => {
|
|
221
|
-
if (result.isOk) {
|
|
222
|
-
return result.value;
|
|
223
|
-
} else {
|
|
224
|
-
throw result.value;
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
var unwrapErr = (result) => {
|
|
228
|
-
if (result.isErr) {
|
|
229
|
-
return result.value;
|
|
230
|
-
} else {
|
|
231
|
-
throw result.value;
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
|
|
235
211
|
// src/utils/style.ts
|
|
236
212
|
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
237
213
|
if (!supportsConstructableStylesheets) return void 0;
|
|
@@ -244,7 +220,8 @@ function createStyleSheetIfNeededAndSupported(styles2) {
|
|
|
244
220
|
var globalStyleSheet;
|
|
245
221
|
function createShadowRoot(cmpMeta) {
|
|
246
222
|
var _a;
|
|
247
|
-
const
|
|
223
|
+
const opts = { mode: "open" };
|
|
224
|
+
const shadowRoot = this.attachShadow(opts);
|
|
248
225
|
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
|
|
249
226
|
if (globalStyleSheet) {
|
|
250
227
|
if (supportsMutableAdoptedStyleSheets) {
|
|
@@ -252,6 +229,10 @@ function createShadowRoot(cmpMeta) {
|
|
|
252
229
|
} else {
|
|
253
230
|
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
254
231
|
}
|
|
232
|
+
} else if (!supportsConstructableStylesheets) {
|
|
233
|
+
const styleElm = document.createElement("style");
|
|
234
|
+
styleElm.innerHTML = globalStyles;
|
|
235
|
+
shadowRoot.prepend(styleElm);
|
|
255
236
|
}
|
|
256
237
|
}
|
|
257
238
|
var updateFallbackSlotVisibility = (elm) => {
|
|
@@ -291,8 +272,9 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
|
291
272
|
let childNode;
|
|
292
273
|
for (; i2 < childNodes.length; i2++) {
|
|
293
274
|
childNode = childNodes[i2];
|
|
294
|
-
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0)) {
|
|
275
|
+
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
|
|
295
276
|
slottedNodes.push(childNode);
|
|
277
|
+
if (typeof slotName !== "undefined") return slottedNodes;
|
|
296
278
|
}
|
|
297
279
|
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
298
280
|
}
|
|
@@ -350,6 +332,18 @@ function patchSlotNode(node) {
|
|
|
350
332
|
node.assignedElements = assignedFactory(true);
|
|
351
333
|
node.assignedNodes = assignedFactory(false);
|
|
352
334
|
}
|
|
335
|
+
function dispatchSlotChangeEvent(elm) {
|
|
336
|
+
elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
|
|
337
|
+
}
|
|
338
|
+
function findSlotFromSlottedNode(slottedNode, parentHost) {
|
|
339
|
+
var _a;
|
|
340
|
+
parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
|
|
341
|
+
if (!parentHost) return { slotNode: null, slotName: "" };
|
|
342
|
+
const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
|
|
343
|
+
const childNodes = internalCall(parentHost, "childNodes");
|
|
344
|
+
const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
|
|
345
|
+
return { slotNode, slotName };
|
|
346
|
+
}
|
|
353
347
|
function internalCall(node, method) {
|
|
354
348
|
if ("__" + method in node) {
|
|
355
349
|
const toReturn = node["__" + method];
|
|
@@ -374,6 +368,14 @@ var uniqueTime = (key, measureText) => {
|
|
|
374
368
|
};
|
|
375
369
|
}
|
|
376
370
|
};
|
|
371
|
+
|
|
372
|
+
// src/utils/query-nonce-meta-tag-content.ts
|
|
373
|
+
function queryNonceMetaTagContent(doc) {
|
|
374
|
+
var _a, _b, _c;
|
|
375
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
// src/runtime/styles.ts
|
|
377
379
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
378
380
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
379
381
|
let style = styles.get(scopeId2);
|
|
@@ -390,7 +392,7 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
390
392
|
styles.set(scopeId2, style);
|
|
391
393
|
};
|
|
392
394
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
393
|
-
var _a;
|
|
395
|
+
var _a, _b, _c;
|
|
394
396
|
const scopeId2 = getScopeId(cmpMeta);
|
|
395
397
|
const style = styles.get(scopeId2);
|
|
396
398
|
if (!win.document) {
|
|
@@ -406,58 +408,74 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
406
408
|
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
407
409
|
}
|
|
408
410
|
if (!appliedStyles.has(scopeId2)) {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
if (
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
} else {
|
|
431
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
432
|
-
}
|
|
411
|
+
styleElm = win.document.createElement("style");
|
|
412
|
+
styleElm.textContent = style;
|
|
413
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
414
|
+
if (nonce != null) {
|
|
415
|
+
styleElm.setAttribute("nonce", nonce);
|
|
416
|
+
}
|
|
417
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
418
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
419
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
420
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
421
|
+
styleContainerNode.insertBefore(
|
|
422
|
+
styleElm,
|
|
423
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
424
|
+
);
|
|
425
|
+
} else if ("host" in styleContainerNode) {
|
|
426
|
+
if (supportsConstructableStylesheets) {
|
|
427
|
+
const currentWindow = (_b = styleContainerNode.defaultView) != null ? _b : styleContainerNode.ownerDocument.defaultView;
|
|
428
|
+
const stylesheet = new currentWindow.CSSStyleSheet();
|
|
429
|
+
stylesheet.replaceSync(style);
|
|
430
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
431
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
433
432
|
} else {
|
|
434
|
-
|
|
435
|
-
if (existingStyleContainer) {
|
|
436
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
437
|
-
} else {
|
|
438
|
-
styleContainerNode.prepend(styleElm);
|
|
439
|
-
}
|
|
433
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
440
434
|
}
|
|
441
435
|
} else {
|
|
442
|
-
styleContainerNode.
|
|
436
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
437
|
+
if (existingStyleContainer && true) {
|
|
438
|
+
existingStyleContainer.textContent = style + existingStyleContainer.textContent;
|
|
439
|
+
} else {
|
|
440
|
+
styleContainerNode.prepend(styleElm);
|
|
441
|
+
}
|
|
443
442
|
}
|
|
443
|
+
} else {
|
|
444
|
+
styleContainerNode.append(styleElm);
|
|
444
445
|
}
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
}
|
|
447
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
448
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
448
449
|
}
|
|
449
450
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
450
|
-
styleElm.
|
|
451
|
+
styleElm.textContent += SLOT_FB_CSS;
|
|
451
452
|
}
|
|
452
453
|
if (appliedStyles) {
|
|
453
454
|
appliedStyles.add(scopeId2);
|
|
454
455
|
}
|
|
455
456
|
}
|
|
456
|
-
} else
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
457
|
+
} else {
|
|
458
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
459
|
+
if (!appliedStyles) {
|
|
460
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
461
|
+
}
|
|
462
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
463
|
+
const currentWindow = (_c = styleContainerNode.defaultView) != null ? _c : styleContainerNode.ownerDocument.defaultView;
|
|
464
|
+
let stylesheet;
|
|
465
|
+
if (style.constructor === currentWindow.CSSStyleSheet) {
|
|
466
|
+
stylesheet = style;
|
|
467
|
+
} else {
|
|
468
|
+
stylesheet = new currentWindow.CSSStyleSheet();
|
|
469
|
+
for (let i2 = 0; i2 < style.cssRules.length; i2++) {
|
|
470
|
+
stylesheet.insertRule(style.cssRules[i2].cssText, i2);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
474
|
+
styleContainerNode.adoptedStyleSheets.push(stylesheet);
|
|
475
|
+
} else {
|
|
476
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, stylesheet];
|
|
477
|
+
}
|
|
478
|
+
appliedStyles.add(scopeId2);
|
|
461
479
|
}
|
|
462
480
|
}
|
|
463
481
|
}
|
|
@@ -478,7 +496,19 @@ var attachStyles = (hostRef) => {
|
|
|
478
496
|
endAttachStyles();
|
|
479
497
|
};
|
|
480
498
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
499
|
+
|
|
500
|
+
// src/utils/helpers.ts
|
|
501
|
+
var isDef = (v) => v != null && v !== void 0;
|
|
502
|
+
var isComplexType = (o) => {
|
|
503
|
+
o = typeof o;
|
|
504
|
+
return o === "object" || o === "function";
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
// src/runtime/vdom/h.ts
|
|
481
508
|
var h = (nodeName, vnodeData, ...children) => {
|
|
509
|
+
if (typeof nodeName === "string") {
|
|
510
|
+
nodeName = transformTag(nodeName);
|
|
511
|
+
}
|
|
482
512
|
let child = null;
|
|
483
513
|
let key = null;
|
|
484
514
|
let slotName = null;
|
|
@@ -542,7 +572,8 @@ var newVNode = (tag, text) => {
|
|
|
542
572
|
const vnode = {
|
|
543
573
|
$flags$: 0,
|
|
544
574
|
$tag$: tag,
|
|
545
|
-
|
|
575
|
+
// Normalize undefined to null to prevent rendering "undefined" as text
|
|
576
|
+
$text$: text != null ? text : null,
|
|
546
577
|
$elm$: null,
|
|
547
578
|
$children$: null
|
|
548
579
|
};
|
|
@@ -589,18 +620,33 @@ var convertToPrivate = (node) => {
|
|
|
589
620
|
vnode.$name$ = node.vname;
|
|
590
621
|
return vnode;
|
|
591
622
|
};
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
)
|
|
623
|
+
|
|
624
|
+
// src/runtime/normalize-watchers.ts
|
|
625
|
+
var normalizeWatchers = (raw) => {
|
|
626
|
+
if (!raw) return void 0;
|
|
627
|
+
const keys = Object.keys(raw);
|
|
628
|
+
if (keys.length === 0) return void 0;
|
|
629
|
+
let hasLegacy = false;
|
|
630
|
+
for (const propName of keys) {
|
|
631
|
+
if (hasLegacy) break;
|
|
632
|
+
for (const h2 of raw[propName]) {
|
|
633
|
+
if (typeof h2 === "string") {
|
|
634
|
+
hasLegacy = true;
|
|
635
|
+
break;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
if (!hasLegacy) return raw;
|
|
640
|
+
const out = {};
|
|
641
|
+
for (const propName of keys) {
|
|
642
|
+
out[propName] = raw[propName].map(
|
|
643
|
+
(h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
return out;
|
|
600
647
|
};
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
createSupportsRuleRe(":host-context");
|
|
648
|
+
|
|
649
|
+
// src/runtime/parse-property-value.ts
|
|
604
650
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
605
651
|
if (propValue != null && !isComplexType(propValue)) {
|
|
606
652
|
if (propType & 4 /* Boolean */) {
|
|
@@ -679,7 +725,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
679
725
|
}
|
|
680
726
|
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
681
727
|
if (newValue) {
|
|
682
|
-
newValue
|
|
728
|
+
queueRefAttachment(newValue, elm);
|
|
683
729
|
}
|
|
684
730
|
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
685
731
|
if (memberName[2] === "-") {
|
|
@@ -699,6 +745,36 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
699
745
|
plt.ael(elm, memberName, newValue, capture);
|
|
700
746
|
}
|
|
701
747
|
}
|
|
748
|
+
} else if (memberName[0] === "a" && memberName.startsWith("attr:")) {
|
|
749
|
+
const propName = memberName.slice(5);
|
|
750
|
+
let attrName;
|
|
751
|
+
{
|
|
752
|
+
const hostRef = getHostRef(elm);
|
|
753
|
+
if (hostRef && hostRef.$cmpMeta$ && hostRef.$cmpMeta$.$members$) {
|
|
754
|
+
const memberMeta = hostRef.$cmpMeta$.$members$[propName];
|
|
755
|
+
if (memberMeta && memberMeta[1]) {
|
|
756
|
+
attrName = memberMeta[1];
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
if (!attrName) {
|
|
761
|
+
attrName = propName.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
762
|
+
}
|
|
763
|
+
if (newValue == null || newValue === false) {
|
|
764
|
+
if (newValue !== false || elm.getAttribute(attrName) === "") {
|
|
765
|
+
elm.removeAttribute(attrName);
|
|
766
|
+
}
|
|
767
|
+
} else {
|
|
768
|
+
elm.setAttribute(attrName, newValue === true ? "" : newValue);
|
|
769
|
+
}
|
|
770
|
+
return;
|
|
771
|
+
} else if (memberName[0] === "p" && memberName.startsWith("prop:")) {
|
|
772
|
+
const propName = memberName.slice(5);
|
|
773
|
+
try {
|
|
774
|
+
elm[propName] = newValue;
|
|
775
|
+
} catch (e) {
|
|
776
|
+
}
|
|
777
|
+
return;
|
|
702
778
|
} else {
|
|
703
779
|
const isComplex = isComplexType(newValue);
|
|
704
780
|
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
@@ -707,7 +783,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
707
783
|
const n = newValue == null ? "" : newValue;
|
|
708
784
|
if (memberName === "list") {
|
|
709
785
|
isProp = false;
|
|
710
|
-
} else if (oldValue == null || elm[memberName]
|
|
786
|
+
} else if (oldValue == null || elm[memberName] !== n) {
|
|
711
787
|
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
712
788
|
elm[memberName] = n;
|
|
713
789
|
} else {
|
|
@@ -804,6 +880,8 @@ var useNativeShadowDom = false;
|
|
|
804
880
|
var checkSlotFallbackVisibility = false;
|
|
805
881
|
var checkSlotRelocate = false;
|
|
806
882
|
var isSvgMode = false;
|
|
883
|
+
var refCallbacksToRemove = [];
|
|
884
|
+
var refCallbacksToAttach = [];
|
|
807
885
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
808
886
|
var _a;
|
|
809
887
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
@@ -826,7 +904,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
826
904
|
);
|
|
827
905
|
}
|
|
828
906
|
}
|
|
829
|
-
if (newVNode2.$text$
|
|
907
|
+
if (newVNode2.$text$ != null) {
|
|
830
908
|
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
831
909
|
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
832
910
|
elm = newVNode2.$elm$ = win.document.createTextNode("");
|
|
@@ -838,9 +916,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
838
916
|
isSvgMode = newVNode2.$tag$ === "svg";
|
|
839
917
|
}
|
|
840
918
|
if (!win.document) {
|
|
841
|
-
throw new Error(
|
|
842
|
-
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
|
843
|
-
);
|
|
919
|
+
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
844
920
|
}
|
|
845
921
|
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
846
922
|
isSvgMode ? SVG_NS : HTML_NS,
|
|
@@ -856,10 +932,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
856
932
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
857
933
|
}
|
|
858
934
|
if (newVNode2.$children$) {
|
|
935
|
+
const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
|
|
859
936
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
860
937
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
861
938
|
if (childNode) {
|
|
862
|
-
|
|
939
|
+
appendTarget.appendChild(childNode);
|
|
863
940
|
}
|
|
864
941
|
}
|
|
865
942
|
}
|
|
@@ -881,9 +958,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
881
958
|
patchSlotNode(elm);
|
|
882
959
|
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
883
960
|
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
884
|
-
|
|
885
|
-
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
886
|
-
}
|
|
961
|
+
relocateToHostRoot(oldParentVNode.$elm$);
|
|
887
962
|
}
|
|
888
963
|
{
|
|
889
964
|
addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
|
|
@@ -892,9 +967,37 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
892
967
|
}
|
|
893
968
|
return elm;
|
|
894
969
|
};
|
|
970
|
+
var relocateToHostRoot = (parentElm) => {
|
|
971
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
972
|
+
const host = parentElm.closest(hostTagName.toLowerCase());
|
|
973
|
+
if (host != null) {
|
|
974
|
+
const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
|
|
975
|
+
(ref) => ref["s-cr"]
|
|
976
|
+
);
|
|
977
|
+
const childNodeArray = Array.from(
|
|
978
|
+
parentElm.__childNodes || parentElm.childNodes
|
|
979
|
+
);
|
|
980
|
+
for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
|
|
981
|
+
if (childNode["s-sh"] != null) {
|
|
982
|
+
insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
|
|
983
|
+
childNode["s-sh"] = void 0;
|
|
984
|
+
checkSlotRelocate = true;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
989
|
+
};
|
|
895
990
|
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
896
991
|
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
897
992
|
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
993
|
+
if (parentElm["s-sr"]) {
|
|
994
|
+
let node = parentElm;
|
|
995
|
+
while (node = node.nextSibling) {
|
|
996
|
+
if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
|
|
997
|
+
oldSlotChildNodes.push(node);
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
898
1001
|
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
899
1002
|
const childNode = oldSlotChildNodes[i2];
|
|
900
1003
|
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
@@ -916,6 +1019,9 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
916
1019
|
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
917
1020
|
containerElm = containerElm.shadowRoot;
|
|
918
1021
|
}
|
|
1022
|
+
if (parentVNode.$tag$ === "template") {
|
|
1023
|
+
containerElm = containerElm.content;
|
|
1024
|
+
}
|
|
919
1025
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
920
1026
|
if (vnodes[startIdx]) {
|
|
921
1027
|
childNode = createElm(null, parentVNode, startIdx);
|
|
@@ -959,6 +1065,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
959
1065
|
let newEndVnode = newCh[newEndIdx];
|
|
960
1066
|
let node;
|
|
961
1067
|
let elmToMove;
|
|
1068
|
+
const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
|
|
962
1069
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
963
1070
|
if (oldStartVnode == null) {
|
|
964
1071
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
@@ -981,7 +1088,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
981
1088
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
982
1089
|
}
|
|
983
1090
|
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
984
|
-
insertBefore(
|
|
1091
|
+
insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
985
1092
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
986
1093
|
newEndVnode = newCh[--newEndIdx];
|
|
987
1094
|
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
@@ -989,7 +1096,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
989
1096
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
990
1097
|
}
|
|
991
1098
|
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
992
|
-
insertBefore(
|
|
1099
|
+
insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
993
1100
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
994
1101
|
newStartVnode = newCh[++newStartIdx];
|
|
995
1102
|
} else {
|
|
@@ -1063,11 +1170,17 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1063
1170
|
const tag = newVNode2.$tag$;
|
|
1064
1171
|
const text = newVNode2.$text$;
|
|
1065
1172
|
let defaultHolder;
|
|
1066
|
-
if (text
|
|
1173
|
+
if (text == null) {
|
|
1067
1174
|
{
|
|
1068
1175
|
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
1069
1176
|
}
|
|
1070
1177
|
{
|
|
1178
|
+
if (tag === "slot" && !useNativeShadowDom) {
|
|
1179
|
+
if (oldVNode.$name$ !== newVNode2.$name$) {
|
|
1180
|
+
newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
|
|
1181
|
+
relocateToHostRoot(newVNode2.$elm$.parentElement);
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1071
1184
|
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
1072
1185
|
}
|
|
1073
1186
|
if (oldChildren !== null && newChildren !== null) {
|
|
@@ -1104,7 +1217,7 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
1104
1217
|
const slotName = childNode["s-sn"];
|
|
1105
1218
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1106
1219
|
node = hostContentNodes[j];
|
|
1107
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (
|
|
1220
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
|
|
1108
1221
|
if (isNodeLocatedInSlot(node, slotName)) {
|
|
1109
1222
|
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1110
1223
|
checkSlotFallbackVisibility = true;
|
|
@@ -1144,15 +1257,39 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
1144
1257
|
};
|
|
1145
1258
|
var nullifyVNodeRefs = (vNode) => {
|
|
1146
1259
|
{
|
|
1147
|
-
vNode.$attrs$ && vNode.$attrs$.ref
|
|
1260
|
+
if (vNode.$attrs$ && vNode.$attrs$.ref) {
|
|
1261
|
+
refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
|
|
1262
|
+
}
|
|
1148
1263
|
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
1149
1264
|
}
|
|
1150
1265
|
};
|
|
1151
|
-
var
|
|
1152
|
-
|
|
1153
|
-
|
|
1266
|
+
var queueRefAttachment = (refCallback, elm) => {
|
|
1267
|
+
{
|
|
1268
|
+
refCallbacksToAttach.push(() => refCallback(elm));
|
|
1154
1269
|
}
|
|
1270
|
+
};
|
|
1271
|
+
var flushQueuedRefCallbacks = () => {
|
|
1155
1272
|
{
|
|
1273
|
+
refCallbacksToRemove.forEach((cb) => cb());
|
|
1274
|
+
refCallbacksToRemove.length = 0;
|
|
1275
|
+
refCallbacksToAttach.forEach((cb) => cb());
|
|
1276
|
+
refCallbacksToAttach.length = 0;
|
|
1277
|
+
}
|
|
1278
|
+
};
|
|
1279
|
+
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
1280
|
+
{
|
|
1281
|
+
if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
|
|
1282
|
+
addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
|
|
1283
|
+
} else if (typeof newNode["s-sn"] === "string") {
|
|
1284
|
+
parent.insertBefore(newNode, reference);
|
|
1285
|
+
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
1286
|
+
if (slotNode && !isInitialLoad) dispatchSlotChangeEvent(slotNode);
|
|
1287
|
+
return newNode;
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
if (parent.__insertBefore) {
|
|
1291
|
+
return parent.__insertBefore(newNode, reference);
|
|
1292
|
+
} else {
|
|
1156
1293
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
1157
1294
|
}
|
|
1158
1295
|
};
|
|
@@ -1178,7 +1315,7 @@ function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
|
1178
1315
|
}
|
|
1179
1316
|
}
|
|
1180
1317
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
1181
|
-
var _a, _b, _c, _d;
|
|
1318
|
+
var _a, _b, _c, _d, _e;
|
|
1182
1319
|
const hostElm = hostRef.$hostElement$;
|
|
1183
1320
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1184
1321
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
@@ -1222,19 +1359,27 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1222
1359
|
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
1223
1360
|
const orgLocationNode = win.document.createTextNode("");
|
|
1224
1361
|
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
1225
|
-
insertBefore(
|
|
1362
|
+
insertBefore(
|
|
1363
|
+
nodeToRelocate.parentNode,
|
|
1364
|
+
nodeToRelocate["s-ol"] = orgLocationNode,
|
|
1365
|
+
nodeToRelocate,
|
|
1366
|
+
isInitialLoad
|
|
1367
|
+
);
|
|
1226
1368
|
}
|
|
1227
1369
|
}
|
|
1228
1370
|
for (const relocateData of relocateNodes) {
|
|
1229
1371
|
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1230
1372
|
const slotRefNode = relocateData.$slotRefNode$;
|
|
1373
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
|
|
1374
|
+
nodeToRelocate["s-ih"] = (_a = nodeToRelocate.hidden) != null ? _a : false;
|
|
1375
|
+
}
|
|
1231
1376
|
if (slotRefNode) {
|
|
1232
1377
|
const parentNodeRef = slotRefNode.parentNode;
|
|
1233
1378
|
let insertBeforeNode = slotRefNode.nextSibling;
|
|
1234
|
-
{
|
|
1235
|
-
let orgLocationNode = (
|
|
1379
|
+
if (insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
|
|
1380
|
+
let orgLocationNode = (_b = nodeToRelocate["s-ol"]) == null ? void 0 : _b.previousSibling;
|
|
1236
1381
|
while (orgLocationNode) {
|
|
1237
|
-
let refNode = (
|
|
1382
|
+
let refNode = (_c = orgLocationNode["s-nr"]) != null ? _c : null;
|
|
1238
1383
|
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
|
1239
1384
|
refNode = refNode.nextSibling;
|
|
1240
1385
|
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
@@ -1252,23 +1397,26 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1252
1397
|
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
1253
1398
|
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
1254
1399
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
1255
|
-
|
|
1256
|
-
|
|
1400
|
+
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode, isInitialLoad);
|
|
1401
|
+
if (nodeToRelocate.nodeType === 8 /* CommentNode */ && nodeToRelocate.nodeValue.startsWith("s-nt-")) {
|
|
1402
|
+
const textNode = win.document.createTextNode(nodeToRelocate.nodeValue.replace(/^s-nt-/, ""));
|
|
1403
|
+
textNode["s-hn"] = nodeToRelocate["s-hn"];
|
|
1404
|
+
textNode["s-sn"] = nodeToRelocate["s-sn"];
|
|
1405
|
+
textNode["s-sh"] = nodeToRelocate["s-sh"];
|
|
1406
|
+
textNode["s-sr"] = nodeToRelocate["s-sr"];
|
|
1407
|
+
textNode["s-ol"] = nodeToRelocate["s-ol"];
|
|
1408
|
+
textNode["s-ol"]["s-nr"] = textNode;
|
|
1409
|
+
insertBefore(nodeToRelocate.parentNode, textNode, nodeToRelocate, isInitialLoad);
|
|
1410
|
+
nodeToRelocate.parentNode.removeChild(nodeToRelocate);
|
|
1257
1411
|
}
|
|
1258
|
-
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
1259
1412
|
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
1260
|
-
nodeToRelocate.hidden = (
|
|
1413
|
+
nodeToRelocate.hidden = (_d = nodeToRelocate["s-ih"]) != null ? _d : false;
|
|
1261
1414
|
}
|
|
1262
1415
|
}
|
|
1263
1416
|
}
|
|
1264
1417
|
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
|
1265
|
-
} else {
|
|
1266
|
-
|
|
1267
|
-
if (isInitialLoad) {
|
|
1268
|
-
nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
|
|
1269
|
-
}
|
|
1270
|
-
nodeToRelocate.hidden = true;
|
|
1271
|
-
}
|
|
1418
|
+
} else if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1419
|
+
nodeToRelocate.hidden = true;
|
|
1272
1420
|
}
|
|
1273
1421
|
}
|
|
1274
1422
|
}
|
|
@@ -1278,7 +1426,26 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1278
1426
|
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
1279
1427
|
relocateNodes.length = 0;
|
|
1280
1428
|
}
|
|
1429
|
+
if (!useNativeShadowDom && !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && hostElm["s-cr"]) {
|
|
1430
|
+
const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
|
|
1431
|
+
for (const childNode of children) {
|
|
1432
|
+
if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
|
|
1433
|
+
if (isInitialLoad && childNode["s-ih"] == null) {
|
|
1434
|
+
childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
|
|
1435
|
+
}
|
|
1436
|
+
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1437
|
+
childNode.hidden = true;
|
|
1438
|
+
} else if (childNode.nodeType === 3 /* TextNode */ && !!childNode.nodeValue.trim()) {
|
|
1439
|
+
const textCommentNode = win.document.createComment("s-nt-" + childNode.nodeValue);
|
|
1440
|
+
textCommentNode["s-sn"] = childNode["s-sn"];
|
|
1441
|
+
insertBefore(childNode.parentNode, textCommentNode, childNode, isInitialLoad);
|
|
1442
|
+
childNode.parentNode.removeChild(childNode);
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1281
1447
|
contentRef = void 0;
|
|
1448
|
+
flushQueuedRefCallbacks();
|
|
1282
1449
|
};
|
|
1283
1450
|
|
|
1284
1451
|
// src/runtime/update-component.ts
|
|
@@ -1324,6 +1491,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1324
1491
|
let maybePromise;
|
|
1325
1492
|
if (isInitialLoad) {
|
|
1326
1493
|
{
|
|
1494
|
+
if (hostRef.$deferredConnectedCallback$) {
|
|
1495
|
+
hostRef.$deferredConnectedCallback$ = false;
|
|
1496
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
1497
|
+
}
|
|
1327
1498
|
{
|
|
1328
1499
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
1329
1500
|
if (hostRef.$queuedListeners$) {
|
|
@@ -1343,8 +1514,8 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1343
1514
|
endSchedule();
|
|
1344
1515
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1345
1516
|
};
|
|
1346
|
-
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((
|
|
1347
|
-
console.error(
|
|
1517
|
+
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err) => {
|
|
1518
|
+
console.error(err);
|
|
1348
1519
|
fn();
|
|
1349
1520
|
}) : fn();
|
|
1350
1521
|
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
@@ -1372,7 +1543,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1372
1543
|
if (childrenPromises.length === 0) {
|
|
1373
1544
|
postUpdate();
|
|
1374
1545
|
} else {
|
|
1375
|
-
Promise.all(childrenPromises).then(postUpdate);
|
|
1546
|
+
Promise.all(childrenPromises).then(postUpdate).catch(postUpdate);
|
|
1376
1547
|
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
1377
1548
|
childrenPromises.length = 0;
|
|
1378
1549
|
}
|
|
@@ -1478,25 +1649,35 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1478
1649
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1479
1650
|
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
1480
1651
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1481
|
-
if (
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1652
|
+
if (cmpMeta.$watchers$) {
|
|
1653
|
+
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1654
|
+
if (watchMethods) {
|
|
1655
|
+
watchMethods.map((watcher) => {
|
|
1656
|
+
try {
|
|
1657
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
1658
|
+
if (flags & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */) {
|
|
1659
|
+
if (!instance) {
|
|
1660
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
1661
|
+
hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
|
|
1662
|
+
});
|
|
1663
|
+
} else {
|
|
1664
|
+
instance[watchMethodName](newVal, oldVal, propName);
|
|
1665
|
+
}
|
|
1490
1666
|
}
|
|
1491
|
-
})
|
|
1492
|
-
|
|
1493
|
-
}
|
|
1494
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1495
|
-
if (instance.componentShouldUpdate) {
|
|
1496
|
-
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
1497
|
-
return;
|
|
1667
|
+
} catch (e) {
|
|
1668
|
+
consoleError(e, elm);
|
|
1498
1669
|
}
|
|
1670
|
+
});
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
if (flags & 2 /* hasRendered */) {
|
|
1674
|
+
if (instance.componentShouldUpdate) {
|
|
1675
|
+
const shouldUpdate = instance.componentShouldUpdate(newVal, oldVal, propName);
|
|
1676
|
+
if (shouldUpdate === false && !(flags & 16 /* isQueuedForUpdate */)) {
|
|
1677
|
+
return;
|
|
1499
1678
|
}
|
|
1679
|
+
}
|
|
1680
|
+
if (!(flags & 16 /* isQueuedForUpdate */)) {
|
|
1500
1681
|
scheduleUpdate(hostRef, false);
|
|
1501
1682
|
}
|
|
1502
1683
|
}
|
|
@@ -1510,7 +1691,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1510
1691
|
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
1511
1692
|
{
|
|
1512
1693
|
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
1513
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1694
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
1514
1695
|
}
|
|
1515
1696
|
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
1516
1697
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
@@ -1522,7 +1703,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1522
1703
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1523
1704
|
members.map(([memberName, [memberFlags]]) => {
|
|
1524
1705
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1525
|
-
const { get: origGetter, set: origSetter } =
|
|
1706
|
+
const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
|
|
1526
1707
|
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1527
1708
|
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1528
1709
|
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
@@ -1623,23 +1804,26 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1623
1804
|
return;
|
|
1624
1805
|
} else if (propName == null) {
|
|
1625
1806
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
1626
|
-
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) &&
|
|
1807
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
|
|
1627
1808
|
const instance = hostRef.$lazyInstance$ ;
|
|
1628
1809
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
1629
|
-
entry == null ? void 0 : entry.forEach((
|
|
1630
|
-
|
|
1631
|
-
|
|
1810
|
+
entry == null ? void 0 : entry.forEach((watcher) => {
|
|
1811
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
1812
|
+
if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
1813
|
+
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
1632
1814
|
}
|
|
1633
1815
|
});
|
|
1634
1816
|
}
|
|
1635
1817
|
return;
|
|
1636
1818
|
}
|
|
1637
1819
|
const propFlags = members.find(([m]) => m === propName);
|
|
1638
|
-
|
|
1820
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
|
|
1821
|
+
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
1822
|
+
if (isBooleanTarget) {
|
|
1639
1823
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
1640
1824
|
}
|
|
1641
1825
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1642
|
-
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1826
|
+
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1643
1827
|
this[propName] = newValue;
|
|
1644
1828
|
}
|
|
1645
1829
|
});
|
|
@@ -1666,71 +1850,87 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1666
1850
|
// src/runtime/initialize-component.ts
|
|
1667
1851
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1668
1852
|
let Cstr;
|
|
1669
|
-
|
|
1670
|
-
hostRef.$flags$
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1853
|
+
try {
|
|
1854
|
+
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1855
|
+
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1856
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1857
|
+
if (bundleId) {
|
|
1858
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
1859
|
+
if (CstrImport && "then" in CstrImport) {
|
|
1860
|
+
const endLoad = uniqueTime();
|
|
1861
|
+
Cstr = await CstrImport;
|
|
1862
|
+
endLoad();
|
|
1863
|
+
} else {
|
|
1864
|
+
Cstr = CstrImport;
|
|
1865
|
+
}
|
|
1866
|
+
if (!Cstr) {
|
|
1867
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1868
|
+
}
|
|
1869
|
+
if (!Cstr.isProxied) {
|
|
1870
|
+
{
|
|
1871
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
1872
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
1873
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
1874
|
+
}
|
|
1875
|
+
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1876
|
+
Cstr.isProxied = true;
|
|
1877
|
+
}
|
|
1878
|
+
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
|
1685
1879
|
{
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1880
|
+
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
1881
|
+
}
|
|
1882
|
+
try {
|
|
1883
|
+
new Cstr(hostRef);
|
|
1884
|
+
} catch (e) {
|
|
1885
|
+
consoleError(e, elm);
|
|
1886
|
+
}
|
|
1887
|
+
{
|
|
1888
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
1889
|
+
}
|
|
1890
|
+
{
|
|
1891
|
+
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1892
|
+
}
|
|
1893
|
+
endNewInstance();
|
|
1894
|
+
const needsDeferredCallback = cmpMeta.$flags$ & 4 /* hasSlotRelocation */;
|
|
1895
|
+
if (!needsDeferredCallback) {
|
|
1896
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1897
|
+
} else {
|
|
1898
|
+
hostRef.$deferredConnectedCallback$ = true;
|
|
1899
|
+
}
|
|
1900
|
+
} else {
|
|
1901
|
+
Cstr = elm.constructor;
|
|
1902
|
+
const cmpTag = elm.localName;
|
|
1903
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1904
|
+
}
|
|
1905
|
+
if (Cstr && Cstr.style) {
|
|
1906
|
+
let style;
|
|
1907
|
+
if (typeof Cstr.style === "string") {
|
|
1908
|
+
style = Cstr.style;
|
|
1909
|
+
}
|
|
1910
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
1911
|
+
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
1912
|
+
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
1913
|
+
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1914
|
+
endRegisterStyles();
|
|
1689
1915
|
}
|
|
1690
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1691
|
-
Cstr.isProxied = true;
|
|
1692
|
-
}
|
|
1693
|
-
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
|
1694
|
-
{
|
|
1695
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
1696
|
-
}
|
|
1697
|
-
try {
|
|
1698
|
-
new Cstr(hostRef);
|
|
1699
|
-
} catch (e) {
|
|
1700
|
-
consoleError(e, elm);
|
|
1701
|
-
}
|
|
1702
|
-
{
|
|
1703
|
-
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
1704
|
-
}
|
|
1705
|
-
{
|
|
1706
|
-
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1707
1916
|
}
|
|
1708
|
-
|
|
1709
|
-
|
|
1917
|
+
}
|
|
1918
|
+
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1919
|
+
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1920
|
+
if (ancestorComponent && ancestorComponent["s-rc"]) {
|
|
1921
|
+
ancestorComponent["s-rc"].push(schedule);
|
|
1710
1922
|
} else {
|
|
1711
|
-
|
|
1712
|
-
const cmpTag = elm.localName;
|
|
1713
|
-
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1923
|
+
schedule();
|
|
1714
1924
|
}
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1724
|
-
endRegisterStyles();
|
|
1725
|
-
}
|
|
1925
|
+
} catch (e) {
|
|
1926
|
+
consoleError(e, elm);
|
|
1927
|
+
if (hostRef.$onRenderResolve$) {
|
|
1928
|
+
hostRef.$onRenderResolve$();
|
|
1929
|
+
hostRef.$onRenderResolve$ = void 0;
|
|
1930
|
+
}
|
|
1931
|
+
if (hostRef.$onReadyResolve$) {
|
|
1932
|
+
hostRef.$onReadyResolve$(elm);
|
|
1726
1933
|
}
|
|
1727
|
-
}
|
|
1728
|
-
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1729
|
-
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1730
|
-
if (ancestorComponent && ancestorComponent["s-rc"]) {
|
|
1731
|
-
ancestorComponent["s-rc"].push(schedule);
|
|
1732
|
-
} else {
|
|
1733
|
-
schedule();
|
|
1734
1934
|
}
|
|
1735
1935
|
};
|
|
1736
1936
|
var fireConnectedCallback = (instance, elm) => {
|
|
@@ -1767,7 +1967,7 @@ var connectedCallback = (elm) => {
|
|
|
1767
1967
|
}
|
|
1768
1968
|
if (cmpMeta.$members$) {
|
|
1769
1969
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1770
|
-
if (memberFlags & 31 /* Prop */ &&
|
|
1970
|
+
if (memberFlags & 31 /* Prop */ && Object.prototype.hasOwnProperty.call(elm, memberName)) {
|
|
1771
1971
|
const value = elm[memberName];
|
|
1772
1972
|
delete elm[memberName];
|
|
1773
1973
|
elm[memberName] = value;
|
|
@@ -1848,7 +2048,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1848
2048
|
let hasSlotRelocation = false;
|
|
1849
2049
|
lazyBundles.map((lazyBundle) => {
|
|
1850
2050
|
lazyBundle[1].map((compactMeta) => {
|
|
1851
|
-
var _a2, _b
|
|
2051
|
+
var _a2, _b;
|
|
1852
2052
|
const cmpMeta = {
|
|
1853
2053
|
$flags$: compactMeta[0],
|
|
1854
2054
|
$tagName$: compactMeta[1],
|
|
@@ -1868,16 +2068,18 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1868
2068
|
cmpMeta.$attrsToReflect$ = [];
|
|
1869
2069
|
}
|
|
1870
2070
|
{
|
|
1871
|
-
cmpMeta.$watchers$ = (
|
|
1872
|
-
cmpMeta.$serializers$ = (
|
|
1873
|
-
cmpMeta.$deserializers$ = (
|
|
2071
|
+
cmpMeta.$watchers$ = normalizeWatchers(compactMeta[4]);
|
|
2072
|
+
cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
|
|
2073
|
+
cmpMeta.$deserializers$ = (_b = compactMeta[6]) != null ? _b : {};
|
|
1874
2074
|
}
|
|
1875
|
-
const tagName = cmpMeta.$tagName
|
|
2075
|
+
const tagName = transformTag(cmpMeta.$tagName$);
|
|
1876
2076
|
const HostElement = class extends HTMLElement {
|
|
2077
|
+
["s-p"];
|
|
2078
|
+
["s-rc"];
|
|
2079
|
+
hasRegisteredEventListeners = false;
|
|
1877
2080
|
// StencilLazyHost
|
|
1878
2081
|
constructor(self) {
|
|
1879
2082
|
super(self);
|
|
1880
|
-
this.hasRegisteredEventListeners = false;
|
|
1881
2083
|
self = this;
|
|
1882
2084
|
registerHost(self, cmpMeta);
|
|
1883
2085
|
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
@@ -2009,8 +2211,8 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
2009
2211
|
|
|
2010
2212
|
// src/runtime/nonce.ts
|
|
2011
2213
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
2214
|
+
function transformTag(tag) {
|
|
2215
|
+
return tag;
|
|
2216
|
+
}
|
|
2012
2217
|
|
|
2013
2218
|
export { Host as H, getElement as a, bootstrapLazy as b, createEvent as c, globalScripts as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
2014
|
-
//# sourceMappingURL=index-B0LVveHp.js.map
|
|
2015
|
-
|
|
2016
|
-
//# sourceMappingURL=index-B0LVveHp.js.map
|