@affinda/wc 0.0.26 → 0.0.28
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/af-accordion-item.entry.esm.js.map +1 -0
- package/dist/affinda/af-accordion.entry.esm.js.map +1 -0
- package/dist/affinda/af-aspect-ratio.entry.esm.js.map +1 -0
- package/dist/affinda/af-button-group.entry.esm.js.map +1 -0
- package/dist/affinda/af-button.entry.esm.js.map +1 -0
- package/dist/affinda/af-card.entry.esm.js.map +1 -0
- package/dist/affinda/af-center.entry.esm.js.map +1 -0
- package/dist/affinda/af-checkbox.entry.esm.js.map +1 -0
- package/dist/affinda/af-client-carousel.entry.esm.js.map +1 -0
- package/dist/affinda/af-color-swatch.entry.esm.js.map +1 -0
- package/dist/affinda/af-contact-item.entry.esm.js.map +1 -0
- package/dist/affinda/af-container.entry.esm.js.map +1 -0
- package/dist/affinda/af-divider.entry.esm.js.map +1 -0
- package/dist/affinda/af-feature-accordion.entry.esm.js.map +1 -0
- package/dist/affinda/af-feature-card.entry.esm.js.map +1 -0
- package/dist/affinda/af-feature-grid.entry.esm.js.map +1 -0
- package/dist/affinda/af-fieldset.entry.esm.js.map +1 -0
- package/dist/affinda/af-footer-column.entry.esm.js.map +1 -0
- package/dist/affinda/af-footer-link.entry.esm.js.map +1 -0
- package/dist/affinda/af-footer.entry.esm.js.map +1 -0
- package/dist/affinda/af-grid-callout.entry.esm.js.map +1 -0
- package/dist/affinda/af-grid.entry.esm.js.map +1 -0
- package/dist/affinda/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.esm.js.map +1 -0
- package/dist/affinda/af-icon-box.entry.esm.js.map +1 -0
- package/dist/affinda/af-icon-button.entry.esm.js.map +1 -0
- package/dist/affinda/af-icon-text.entry.esm.js.map +1 -0
- package/dist/affinda/af-icon.entry.esm.js.map +1 -0
- package/dist/affinda/af-illustrated-card.entry.esm.js.map +1 -0
- package/dist/affinda/af-image.entry.esm.js.map +1 -0
- package/dist/affinda/af-in-page-banner.entry.esm.js.map +1 -0
- package/dist/affinda/af-inline.entry.esm.js.map +1 -0
- package/dist/affinda/af-input.entry.esm.js.map +1 -0
- package/dist/affinda/af-logo-well.entry.esm.js.map +1 -0
- package/dist/affinda/af-nav-accordion-item.entry.esm.js.map +1 -0
- package/dist/affinda/af-nav-accordion.entry.esm.js.map +1 -0
- package/dist/affinda/af-nav-card.entry.esm.js.map +1 -0
- package/dist/affinda/af-nav-menu-nest.entry.esm.js.map +1 -0
- package/dist/affinda/af-nav-menu.entry.esm.js.map +1 -0
- package/dist/affinda/af-number-badge.entry.esm.js.map +1 -0
- package/dist/affinda/af-progress-line.entry.esm.js.map +1 -0
- package/dist/affinda/af-radio.entry.esm.js.map +1 -0
- package/dist/affinda/af-section.entry.esm.js.map +1 -0
- package/dist/affinda/af-show.entry.esm.js.map +1 -0
- package/dist/affinda/af-social-link.entry.esm.js.map +1 -0
- package/dist/affinda/af-spacer.entry.esm.js.map +1 -0
- package/dist/affinda/af-split-section.entry.esm.js.map +1 -0
- package/dist/affinda/af-stack.entry.esm.js.map +1 -0
- package/dist/affinda/af-stepper-step.entry.esm.js.map +1 -0
- package/dist/affinda/af-stepper.entry.esm.js.map +1 -0
- package/dist/affinda/af-switch.entry.esm.js.map +1 -0
- package/dist/affinda/af-tab-bar.entry.esm.js.map +1 -0
- package/dist/affinda/af-tab.entry.esm.js.map +1 -0
- package/dist/affinda/af-tag.entry.esm.js.map +1 -0
- package/dist/affinda/af-testimonial-carousel.entry.esm.js.map +1 -0
- package/dist/affinda/af-testimonial-stat.entry.esm.js.map +1 -0
- package/dist/affinda/af-testimonial.entry.esm.js.map +1 -0
- package/dist/affinda/af-text-image-nest.entry.esm.js.map +1 -0
- package/dist/affinda/af-text-image.entry.esm.js.map +1 -0
- package/dist/affinda/af-textarea.entry.esm.js.map +1 -0
- package/dist/affinda/af-theme-override.entry.esm.js.map +1 -0
- package/dist/affinda/af-typography-lockup.entry.esm.js.map +1 -0
- package/dist/affinda/af-video-container.entry.esm.js.map +1 -0
- package/dist/affinda/af-visually-hidden.entry.esm.js.map +1 -0
- package/dist/affinda/affinda.css +1 -1
- package/dist/affinda/affinda.esm.js +2 -1
- package/dist/affinda/affinda.esm.js.map +1 -0
- package/dist/affinda/index.esm.js +2 -1
- package/dist/affinda/index.esm.js.map +1 -0
- package/dist/affinda/loader.esm.js.map +1 -0
- package/dist/affinda/p-07f9580c.entry.js +2 -0
- package/dist/affinda/p-07f9580c.entry.js.map +1 -0
- package/dist/affinda/p-0f3267ea.entry.js +2 -0
- package/dist/affinda/p-0f3267ea.entry.js.map +1 -0
- package/dist/affinda/p-102e8b8c.entry.js +2 -0
- package/dist/affinda/p-102e8b8c.entry.js.map +1 -0
- package/dist/affinda/p-11e7ddf3.entry.js +2 -0
- package/dist/affinda/p-11e7ddf3.entry.js.map +1 -0
- package/dist/affinda/p-12652bf5.entry.js +2 -0
- package/dist/affinda/p-12652bf5.entry.js.map +1 -0
- package/dist/affinda/p-159fe9b1.entry.js +2 -0
- package/dist/affinda/p-159fe9b1.entry.js.map +1 -0
- package/dist/affinda/p-1dff35bf.entry.js +2 -0
- package/dist/affinda/p-1dff35bf.entry.js.map +1 -0
- package/dist/affinda/p-2140698f.entry.js +2 -0
- package/dist/affinda/p-2140698f.entry.js.map +1 -0
- package/dist/affinda/p-23aa03dc.entry.js +2 -0
- package/dist/affinda/p-23aa03dc.entry.js.map +1 -0
- package/dist/affinda/p-2aa112c2.entry.js +2 -0
- package/dist/affinda/p-2aa112c2.entry.js.map +1 -0
- package/dist/affinda/{p-cf4d0d8e.entry.js → p-2c655ae2.entry.js} +2 -1
- package/dist/affinda/p-2c655ae2.entry.js.map +1 -0
- package/dist/affinda/p-3ca3e4dc.entry.js +2 -0
- package/dist/affinda/p-3ca3e4dc.entry.js.map +1 -0
- package/dist/affinda/p-3ecf43aa.entry.js +2 -0
- package/dist/affinda/p-3ecf43aa.entry.js.map +1 -0
- package/dist/affinda/p-401fc5b1.entry.js +2 -0
- package/dist/affinda/p-401fc5b1.entry.js.map +1 -0
- package/dist/affinda/p-432c7bfc.entry.js +2 -0
- package/dist/affinda/p-432c7bfc.entry.js.map +1 -0
- package/dist/affinda/p-4cbdf940.entry.js +2 -0
- package/dist/affinda/p-4cbdf940.entry.js.map +1 -0
- package/dist/affinda/p-4e8bd716.entry.js +2 -0
- package/dist/affinda/p-4e8bd716.entry.js.map +1 -0
- package/dist/affinda/p-50590601.entry.js +2 -0
- package/dist/affinda/p-50590601.entry.js.map +1 -0
- package/dist/affinda/p-570283f6.entry.js +2 -0
- package/dist/affinda/p-570283f6.entry.js.map +1 -0
- package/dist/affinda/p-5ab389c6.entry.js +2 -0
- package/dist/affinda/p-5ab389c6.entry.js.map +1 -0
- package/dist/affinda/p-5b3ff010.entry.js +2 -0
- package/dist/affinda/p-5b3ff010.entry.js.map +1 -0
- package/dist/affinda/p-5e444a9a.entry.js +2 -0
- package/dist/affinda/p-5e444a9a.entry.js.map +1 -0
- package/dist/affinda/p-5e5d16dd.entry.js +2 -0
- package/dist/affinda/p-5e5d16dd.entry.js.map +1 -0
- package/dist/affinda/p-636045e8.entry.js +2 -0
- package/dist/affinda/p-636045e8.entry.js.map +1 -0
- package/dist/affinda/p-648e2d76.entry.js +2 -0
- package/dist/affinda/p-648e2d76.entry.js.map +1 -0
- package/dist/affinda/p-6bb831c5.entry.js +2 -0
- package/dist/affinda/p-6bb831c5.entry.js.map +1 -0
- package/dist/affinda/p-6eca2722.entry.js +2 -0
- package/dist/affinda/p-6eca2722.entry.js.map +1 -0
- package/dist/affinda/p-7238fc21.entry.js +2 -0
- package/dist/affinda/p-7238fc21.entry.js.map +1 -0
- package/dist/affinda/p-77ed47d5.entry.js +2 -0
- package/dist/affinda/p-77ed47d5.entry.js.map +1 -0
- package/dist/affinda/p-7b7d9c6a.entry.js +2 -0
- package/dist/affinda/p-7b7d9c6a.entry.js.map +1 -0
- package/dist/affinda/p-80c96efd.entry.js +2 -0
- package/dist/affinda/p-80c96efd.entry.js.map +1 -0
- package/dist/affinda/p-816deae3.entry.js +2 -0
- package/dist/affinda/p-816deae3.entry.js.map +1 -0
- package/dist/affinda/p-892f9bc3.entry.js +2 -0
- package/dist/affinda/p-892f9bc3.entry.js.map +1 -0
- package/dist/affinda/p-8d9d0cb3.entry.js +2 -0
- package/dist/affinda/p-8d9d0cb3.entry.js.map +1 -0
- package/dist/affinda/p-8da30e7a.entry.js +2 -0
- package/dist/affinda/p-8da30e7a.entry.js.map +1 -0
- package/dist/affinda/p-8f6884c8.entry.js +2 -0
- package/dist/affinda/p-8f6884c8.entry.js.map +1 -0
- package/dist/affinda/p-9229defb.entry.js +2 -0
- package/dist/affinda/p-9229defb.entry.js.map +1 -0
- package/dist/affinda/p-94adb381.entry.js +2 -0
- package/dist/affinda/p-94adb381.entry.js.map +1 -0
- package/dist/affinda/p-97ac8f5f.entry.js +2 -0
- package/dist/affinda/p-97ac8f5f.entry.js.map +1 -0
- package/dist/affinda/p-9bb5202e.entry.js +2 -0
- package/dist/affinda/p-9bb5202e.entry.js.map +1 -0
- package/dist/affinda/p-a002c784.entry.js +2 -0
- package/dist/affinda/p-a002c784.entry.js.map +1 -0
- package/dist/affinda/p-a3865306.entry.js +2 -0
- package/dist/affinda/p-a3865306.entry.js.map +1 -0
- package/dist/affinda/p-a4d39bdd.entry.js +2 -0
- package/dist/affinda/p-a4d39bdd.entry.js.map +1 -0
- package/dist/affinda/p-aa5c6cc0.entry.js +2 -0
- package/dist/affinda/p-aa5c6cc0.entry.js.map +1 -0
- package/dist/affinda/p-ab0b621e.entry.js +2 -0
- package/dist/affinda/p-ab0b621e.entry.js.map +1 -0
- package/dist/affinda/p-af3f6e16.entry.js +2 -0
- package/dist/affinda/p-af3f6e16.entry.js.map +1 -0
- package/dist/affinda/p-b14c1a4b.entry.js +2 -0
- package/dist/affinda/p-b14c1a4b.entry.js.map +1 -0
- package/dist/affinda/p-be45f85c.entry.js +2 -0
- package/dist/affinda/p-be45f85c.entry.js.map +1 -0
- package/dist/affinda/p-bf941fa7.entry.js +2 -0
- package/dist/affinda/p-bf941fa7.entry.js.map +1 -0
- package/dist/affinda/p-bfc17d0c.entry.js +2 -0
- package/dist/affinda/p-bfc17d0c.entry.js.map +1 -0
- package/dist/affinda/{p-54d85947.entry.js → p-c7ba4e7f.entry.js} +2 -1
- package/dist/affinda/p-c7ba4e7f.entry.js.map +1 -0
- package/dist/affinda/p-cc22a8da.entry.js +2 -0
- package/dist/affinda/p-cc22a8da.entry.js.map +1 -0
- package/dist/affinda/p-d54abc45.entry.js +2 -0
- package/dist/affinda/p-d54abc45.entry.js.map +1 -0
- package/dist/affinda/p-d60d1943.entry.js +2 -0
- package/dist/affinda/p-d60d1943.entry.js.map +1 -0
- package/dist/affinda/p-d7e29257.entry.js +2 -0
- package/dist/affinda/p-d7e29257.entry.js.map +1 -0
- package/dist/affinda/p-da999c10.entry.js +2 -0
- package/dist/affinda/p-da999c10.entry.js.map +1 -0
- package/dist/affinda/p-e0163836.entry.js +2 -0
- package/dist/affinda/p-e0163836.entry.js.map +1 -0
- package/dist/affinda/p-e78112d9.entry.js +2 -0
- package/dist/affinda/p-e78112d9.entry.js.map +1 -0
- package/dist/affinda/p-e9f8ef54.entry.js +2 -0
- package/dist/affinda/p-e9f8ef54.entry.js.map +1 -0
- package/dist/affinda/p-eb96f29b.entry.js +2 -0
- package/dist/affinda/p-eb96f29b.entry.js.map +1 -0
- package/dist/affinda/p-ef41e743.entry.js +2 -0
- package/dist/affinda/p-ef41e743.entry.js.map +1 -0
- package/dist/affinda/p-f9b6d1c6.entry.js +2 -0
- package/dist/affinda/p-f9b6d1c6.entry.js.map +1 -0
- package/dist/affinda/p-f9e3c2b7.entry.js +2 -0
- package/dist/affinda/p-f9e3c2b7.entry.js.map +1 -0
- package/dist/affinda/p-nb89SRN6.js +3 -0
- package/dist/affinda/p-nb89SRN6.js.map +1 -0
- package/dist/cjs/af-accordion-item.cjs.entry.js +5 -6
- package/dist/cjs/af-accordion-item.entry.cjs.js.map +1 -0
- package/dist/cjs/af-accordion.cjs.entry.js +5 -6
- package/dist/cjs/af-accordion.entry.cjs.js.map +1 -0
- package/dist/cjs/af-aspect-ratio.cjs.entry.js +4 -3
- package/dist/cjs/af-aspect-ratio.entry.cjs.js.map +1 -0
- package/dist/cjs/af-button-group.cjs.entry.js +4 -3
- package/dist/cjs/af-button-group.entry.cjs.js.map +1 -0
- package/dist/cjs/af-button.cjs.entry.js +4 -3
- package/dist/cjs/af-button.entry.cjs.js.map +1 -0
- package/dist/cjs/af-card.cjs.entry.js +4 -3
- package/dist/cjs/af-card.entry.cjs.js.map +1 -0
- package/dist/cjs/af-center.cjs.entry.js +4 -3
- package/dist/cjs/af-center.entry.cjs.js.map +1 -0
- package/dist/cjs/af-checkbox.cjs.entry.js +4 -3
- package/dist/cjs/af-checkbox.entry.cjs.js.map +1 -0
- package/dist/cjs/af-client-carousel.cjs.entry.js +4 -3
- package/dist/cjs/af-client-carousel.entry.cjs.js.map +1 -0
- package/dist/cjs/af-color-swatch.cjs.entry.js +4 -3
- package/dist/cjs/af-color-swatch.entry.cjs.js.map +1 -0
- package/dist/cjs/af-contact-item.cjs.entry.js +4 -3
- package/dist/cjs/af-contact-item.entry.cjs.js.map +1 -0
- package/dist/cjs/af-container.cjs.entry.js +4 -3
- package/dist/cjs/af-container.entry.cjs.js.map +1 -0
- package/dist/cjs/af-divider.cjs.entry.js +4 -3
- package/dist/cjs/af-divider.entry.cjs.js.map +1 -0
- package/dist/cjs/af-feature-accordion.cjs.entry.js +5 -6
- package/dist/cjs/af-feature-accordion.entry.cjs.js.map +1 -0
- package/dist/cjs/af-feature-card.cjs.entry.js +4 -3
- package/dist/cjs/af-feature-card.entry.cjs.js.map +1 -0
- package/dist/cjs/af-feature-grid.cjs.entry.js +5 -6
- package/dist/cjs/af-feature-grid.entry.cjs.js.map +1 -0
- package/dist/cjs/af-fieldset.cjs.entry.js +4 -3
- package/dist/cjs/af-fieldset.entry.cjs.js.map +1 -0
- package/dist/cjs/af-footer-column.cjs.entry.js +4 -3
- package/dist/cjs/af-footer-column.entry.cjs.js.map +1 -0
- package/dist/cjs/af-footer-link.cjs.entry.js +4 -3
- package/dist/cjs/af-footer-link.entry.cjs.js.map +1 -0
- package/dist/cjs/af-footer.cjs.entry.js +4 -3
- package/dist/cjs/af-footer.entry.cjs.js.map +1 -0
- package/dist/cjs/af-grid-callout.cjs.entry.js +4 -3
- package/dist/cjs/af-grid-callout.entry.cjs.js.map +1 -0
- package/dist/cjs/af-grid.cjs.entry.js +4 -3
- package/dist/cjs/af-grid.entry.cjs.js.map +1 -0
- package/dist/cjs/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.cjs.js.map +1 -0
- package/dist/cjs/af-heading_5.cjs.entry.js +12 -11
- package/dist/cjs/af-icon-box.cjs.entry.js +4 -3
- package/dist/cjs/af-icon-box.entry.cjs.js.map +1 -0
- package/dist/cjs/af-icon-button.cjs.entry.js +4 -3
- package/dist/cjs/af-icon-button.entry.cjs.js.map +1 -0
- package/dist/cjs/af-icon-text.cjs.entry.js +4 -3
- package/dist/cjs/af-icon-text.entry.cjs.js.map +1 -0
- package/dist/cjs/af-icon.cjs.entry.js +4 -3
- package/dist/cjs/af-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/af-illustrated-card.cjs.entry.js +4 -3
- package/dist/cjs/af-illustrated-card.entry.cjs.js.map +1 -0
- package/dist/cjs/af-image.cjs.entry.js +4 -3
- package/dist/cjs/af-image.entry.cjs.js.map +1 -0
- package/dist/cjs/af-in-page-banner.cjs.entry.js +4 -3
- package/dist/cjs/af-in-page-banner.entry.cjs.js.map +1 -0
- package/dist/cjs/af-inline.cjs.entry.js +4 -3
- package/dist/cjs/af-inline.entry.cjs.js.map +1 -0
- package/dist/cjs/af-input.cjs.entry.js +4 -3
- package/dist/cjs/af-input.entry.cjs.js.map +1 -0
- package/dist/cjs/af-logo-well.cjs.entry.js +4 -3
- package/dist/cjs/af-logo-well.entry.cjs.js.map +1 -0
- package/dist/cjs/af-nav-accordion-item.cjs.entry.js +5 -6
- package/dist/cjs/af-nav-accordion-item.entry.cjs.js.map +1 -0
- package/dist/cjs/af-nav-accordion.cjs.entry.js +4 -3
- package/dist/cjs/af-nav-accordion.entry.cjs.js.map +1 -0
- package/dist/cjs/af-nav-card.cjs.entry.js +4 -3
- package/dist/cjs/af-nav-card.entry.cjs.js.map +1 -0
- package/dist/cjs/af-nav-menu-nest.cjs.entry.js +4 -3
- package/dist/cjs/af-nav-menu-nest.entry.cjs.js.map +1 -0
- package/dist/cjs/af-nav-menu.cjs.entry.js +4 -3
- package/dist/cjs/af-nav-menu.entry.cjs.js.map +1 -0
- package/dist/cjs/af-number-badge.cjs.entry.js +4 -3
- package/dist/cjs/af-number-badge.entry.cjs.js.map +1 -0
- package/dist/cjs/af-progress-line.cjs.entry.js +4 -3
- package/dist/cjs/af-progress-line.entry.cjs.js.map +1 -0
- package/dist/cjs/af-radio.cjs.entry.js +4 -3
- package/dist/cjs/af-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/af-section.cjs.entry.js +4 -3
- package/dist/cjs/af-section.entry.cjs.js.map +1 -0
- package/dist/cjs/af-show.cjs.entry.js +4 -3
- package/dist/cjs/af-show.entry.cjs.js.map +1 -0
- package/dist/cjs/af-social-link.cjs.entry.js +4 -3
- package/dist/cjs/af-social-link.entry.cjs.js.map +1 -0
- package/dist/cjs/af-spacer.cjs.entry.js +4 -3
- package/dist/cjs/af-spacer.entry.cjs.js.map +1 -0
- package/dist/cjs/af-split-section.cjs.entry.js +4 -3
- package/dist/cjs/af-split-section.entry.cjs.js.map +1 -0
- package/dist/cjs/af-stack.cjs.entry.js +4 -3
- package/dist/cjs/af-stack.entry.cjs.js.map +1 -0
- package/dist/cjs/af-stepper-step.cjs.entry.js +4 -3
- package/dist/cjs/af-stepper-step.entry.cjs.js.map +1 -0
- package/dist/cjs/af-stepper.cjs.entry.js +4 -3
- package/dist/cjs/af-stepper.entry.cjs.js.map +1 -0
- package/dist/cjs/af-switch.cjs.entry.js +4 -3
- package/dist/cjs/af-switch.entry.cjs.js.map +1 -0
- package/dist/cjs/af-tab-bar.cjs.entry.js +4 -3
- package/dist/cjs/af-tab-bar.entry.cjs.js.map +1 -0
- package/dist/cjs/af-tab.cjs.entry.js +4 -3
- package/dist/cjs/af-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/af-tag.cjs.entry.js +4 -3
- package/dist/cjs/af-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/af-testimonial-carousel.cjs.entry.js +4 -3
- package/dist/cjs/af-testimonial-carousel.entry.cjs.js.map +1 -0
- package/dist/cjs/af-testimonial-stat.cjs.entry.js +4 -3
- package/dist/cjs/af-testimonial-stat.entry.cjs.js.map +1 -0
- package/dist/cjs/af-testimonial.cjs.entry.js +4 -3
- package/dist/cjs/af-testimonial.entry.cjs.js.map +1 -0
- package/dist/cjs/af-text-image-nest.cjs.entry.js +4 -3
- package/dist/cjs/af-text-image-nest.entry.cjs.js.map +1 -0
- package/dist/cjs/af-text-image.cjs.entry.js +4 -3
- package/dist/cjs/af-text-image.entry.cjs.js.map +1 -0
- package/dist/cjs/af-textarea.cjs.entry.js +4 -3
- package/dist/cjs/af-textarea.entry.cjs.js.map +1 -0
- package/dist/cjs/af-theme-override.cjs.entry.js +4 -3
- package/dist/cjs/af-theme-override.entry.cjs.js.map +1 -0
- package/dist/cjs/af-typography-lockup.cjs.entry.js +4 -3
- package/dist/cjs/af-typography-lockup.entry.cjs.js.map +1 -0
- package/dist/cjs/af-video-container.cjs.entry.js +4 -3
- package/dist/cjs/af-video-container.entry.cjs.js.map +1 -0
- package/dist/cjs/af-visually-hidden.cjs.entry.js +4 -3
- package/dist/cjs/af-visually-hidden.entry.cjs.js.map +1 -0
- package/dist/cjs/affinda.cjs.js +4 -3
- package/dist/cjs/affinda.cjs.js.map +1 -0
- package/dist/cjs/{index-C1ry3YPK.js → index-CcvVbx1D.js} +260 -462
- package/dist/cjs/index-CcvVbx1D.js.map +1 -0
- package/dist/cjs/index.cjs.js +21 -20
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/af-accordion/af-accordion.js +1 -0
- package/dist/collection/components/af-accordion/af-accordion.js.map +1 -0
- package/dist/collection/components/af-accordion-item/af-accordion-item.js +1 -0
- package/dist/collection/components/af-accordion-item/af-accordion-item.js.map +1 -0
- package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js +1 -0
- package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js.map +1 -0
- package/dist/collection/components/af-button/af-button.js +1 -0
- package/dist/collection/components/af-button/af-button.js.map +1 -0
- package/dist/collection/components/af-button-group/af-button-group.js +1 -0
- package/dist/collection/components/af-button-group/af-button-group.js.map +1 -0
- package/dist/collection/components/af-card/af-card.js +1 -0
- package/dist/collection/components/af-card/af-card.js.map +1 -0
- package/dist/collection/components/af-center/af-center.js +1 -0
- package/dist/collection/components/af-center/af-center.js.map +1 -0
- package/dist/collection/components/af-checkbox/af-checkbox.js +1 -0
- package/dist/collection/components/af-checkbox/af-checkbox.js.map +1 -0
- package/dist/collection/components/af-client-carousel/af-client-carousel.js +1 -0
- package/dist/collection/components/af-client-carousel/af-client-carousel.js.map +1 -0
- package/dist/collection/components/af-color-swatch/af-color-swatch.js +1 -0
- package/dist/collection/components/af-color-swatch/af-color-swatch.js.map +1 -0
- package/dist/collection/components/af-contact-item/af-contact-item.js +1 -0
- package/dist/collection/components/af-contact-item/af-contact-item.js.map +1 -0
- package/dist/collection/components/af-container/af-container.js +1 -0
- package/dist/collection/components/af-container/af-container.js.map +1 -0
- package/dist/collection/components/af-divider/af-divider.js +1 -0
- package/dist/collection/components/af-divider/af-divider.js.map +1 -0
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +1 -0
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js.map +1 -0
- package/dist/collection/components/af-feature-card/af-feature-card.js +1 -0
- package/dist/collection/components/af-feature-card/af-feature-card.js.map +1 -0
- package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -0
- package/dist/collection/components/af-feature-grid/af-feature-grid.js.map +1 -0
- package/dist/collection/components/af-fieldset/af-fieldset.js +1 -0
- package/dist/collection/components/af-fieldset/af-fieldset.js.map +1 -0
- package/dist/collection/components/af-footer/af-footer.js +1 -0
- package/dist/collection/components/af-footer/af-footer.js.map +1 -0
- package/dist/collection/components/af-footer-column/af-footer-column.js +1 -0
- package/dist/collection/components/af-footer-column/af-footer-column.js.map +1 -0
- package/dist/collection/components/af-footer-link/af-footer-link.js +1 -0
- package/dist/collection/components/af-footer-link/af-footer-link.js.map +1 -0
- package/dist/collection/components/af-grid/af-grid.js +1 -0
- package/dist/collection/components/af-grid/af-grid.js.map +1 -0
- package/dist/collection/components/af-grid-callout/af-grid-callout.js +1 -0
- package/dist/collection/components/af-grid-callout/af-grid-callout.js.map +1 -0
- package/dist/collection/components/af-heading/af-heading.js +1 -0
- package/dist/collection/components/af-heading/af-heading.js.map +1 -0
- package/dist/collection/components/af-icon/af-icon.js +3 -3
- package/dist/collection/components/af-icon/af-icon.js.map +1 -0
- package/dist/collection/components/af-icon-box/af-icon-box.js +3 -3
- package/dist/collection/components/af-icon-box/af-icon-box.js.map +1 -0
- package/dist/collection/components/af-icon-button/af-icon-button.js +1 -0
- package/dist/collection/components/af-icon-button/af-icon-button.js.map +1 -0
- package/dist/collection/components/af-icon-text/af-icon-text.js +3 -3
- package/dist/collection/components/af-icon-text/af-icon-text.js.map +1 -0
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +1 -0
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js.map +1 -0
- package/dist/collection/components/af-image/af-image.js +1 -0
- package/dist/collection/components/af-image/af-image.js.map +1 -0
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.css +7 -7
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +1 -0
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js.map +1 -0
- package/dist/collection/components/af-inline/af-inline.js +1 -0
- package/dist/collection/components/af-inline/af-inline.js.map +1 -0
- package/dist/collection/components/af-input/af-input.js +1 -0
- package/dist/collection/components/af-input/af-input.js.map +1 -0
- package/dist/collection/components/af-logo/af-logo.js +1 -0
- package/dist/collection/components/af-logo/af-logo.js.map +1 -0
- package/dist/collection/components/af-logo-well/af-logo-well.js +1 -0
- package/dist/collection/components/af-logo-well/af-logo-well.js.map +1 -0
- package/dist/collection/components/af-nav-accordion/af-nav-accordion.js +1 -0
- package/dist/collection/components/af-nav-accordion/af-nav-accordion.js.map +1 -0
- package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js +1 -0
- package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js.map +1 -0
- package/dist/collection/components/af-nav-card/af-nav-card.js +1 -0
- package/dist/collection/components/af-nav-card/af-nav-card.js.map +1 -0
- package/dist/collection/components/af-nav-item/af-nav-item.js +1 -0
- package/dist/collection/components/af-nav-item/af-nav-item.js.map +1 -0
- package/dist/collection/components/af-nav-menu/af-nav-menu.js +1 -0
- package/dist/collection/components/af-nav-menu/af-nav-menu.js.map +1 -0
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -0
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js.map +1 -0
- package/dist/collection/components/af-navbar/af-navbar.js +1 -0
- package/dist/collection/components/af-navbar/af-navbar.js.map +1 -0
- package/dist/collection/components/af-number-badge/af-number-badge.js +3 -2
- package/dist/collection/components/af-number-badge/af-number-badge.js.map +1 -0
- package/dist/collection/components/af-progress-line/af-progress-line.js +1 -0
- package/dist/collection/components/af-progress-line/af-progress-line.js.map +1 -0
- package/dist/collection/components/af-radio/af-radio.js +1 -0
- package/dist/collection/components/af-radio/af-radio.js.map +1 -0
- package/dist/collection/components/af-section/af-section.js +1 -0
- package/dist/collection/components/af-section/af-section.js.map +1 -0
- package/dist/collection/components/af-show/af-show.js +1 -0
- package/dist/collection/components/af-show/af-show.js.map +1 -0
- package/dist/collection/components/af-social-link/af-social-link.js +1 -0
- package/dist/collection/components/af-social-link/af-social-link.js.map +1 -0
- package/dist/collection/components/af-spacer/af-spacer.js +1 -0
- package/dist/collection/components/af-spacer/af-spacer.js.map +1 -0
- package/dist/collection/components/af-split-section/af-split-section.js +1 -0
- package/dist/collection/components/af-split-section/af-split-section.js.map +1 -0
- package/dist/collection/components/af-stack/af-stack.js +1 -0
- package/dist/collection/components/af-stack/af-stack.js.map +1 -0
- package/dist/collection/components/af-stepper/af-stepper.js +1 -0
- package/dist/collection/components/af-stepper/af-stepper.js.map +1 -0
- package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -0
- package/dist/collection/components/af-stepper-step/af-stepper-step.js.map +1 -0
- package/dist/collection/components/af-switch/af-switch.js +1 -0
- package/dist/collection/components/af-switch/af-switch.js.map +1 -0
- package/dist/collection/components/af-tab/af-tab.js +2 -1
- package/dist/collection/components/af-tab/af-tab.js.map +1 -0
- package/dist/collection/components/af-tab-bar/af-tab-bar.js +3 -2
- package/dist/collection/components/af-tab-bar/af-tab-bar.js.map +1 -0
- package/dist/collection/components/af-tag/af-tag.js +3 -2
- package/dist/collection/components/af-tag/af-tag.js.map +1 -0
- package/dist/collection/components/af-testimonial/af-testimonial.js +1 -0
- package/dist/collection/components/af-testimonial/af-testimonial.js.map +1 -0
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +1 -0
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js.map +1 -0
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -0
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js.map +1 -0
- package/dist/collection/components/af-text/af-text.js +1 -0
- package/dist/collection/components/af-text/af-text.js.map +1 -0
- package/dist/collection/components/af-text-image/af-text-image.js +1 -0
- package/dist/collection/components/af-text-image/af-text-image.js.map +1 -0
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +1 -0
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js.map +1 -0
- package/dist/collection/components/af-textarea/af-textarea.js +1 -0
- package/dist/collection/components/af-textarea/af-textarea.js.map +1 -0
- package/dist/collection/components/af-theme-override/af-theme-override.js +1 -0
- package/dist/collection/components/af-theme-override/af-theme-override.js.map +1 -0
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +1 -0
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js.map +1 -0
- package/dist/collection/components/af-video-container/af-video-container.js +1 -0
- package/dist/collection/components/af-video-container/af-video-container.js.map +1 -0
- package/dist/collection/components/af-visually-hidden/af-visually-hidden.js +1 -0
- package/dist/collection/components/af-visually-hidden/af-visually-hidden.js.map +1 -0
- package/dist/collection/components.js +1 -0
- package/dist/collection/components.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/components/af-accordion-item.js +107 -1
- package/dist/components/af-accordion-item.js.map +1 -0
- package/dist/components/af-accordion.js +128 -1
- package/dist/components/af-accordion.js.map +1 -0
- package/dist/components/af-aspect-ratio.js +9 -1
- package/dist/components/af-aspect-ratio.js.map +1 -0
- package/dist/components/af-button-group.js +9 -1
- package/dist/components/af-button-group.js.map +1 -0
- package/dist/components/af-button.js +9 -1
- package/dist/components/af-button.js.map +1 -0
- package/dist/components/af-card.js +9 -1
- package/dist/components/af-card.js.map +1 -0
- package/dist/components/af-center.js +66 -1
- package/dist/components/af-center.js.map +1 -0
- package/dist/components/af-checkbox.js +9 -1
- package/dist/components/af-checkbox.js.map +1 -0
- package/dist/components/af-client-carousel.js +80 -1
- package/dist/components/af-client-carousel.js.map +1 -0
- package/dist/components/af-color-swatch.js +9 -1
- package/dist/components/af-color-swatch.js.map +1 -0
- package/dist/components/af-contact-item.js +44 -1
- package/dist/components/af-contact-item.js.map +1 -0
- package/dist/components/af-container.js +9 -1
- package/dist/components/af-container.js.map +1 -0
- package/dist/components/af-divider.js +66 -1
- package/dist/components/af-divider.js.map +1 -0
- package/dist/components/af-feature-accordion.js +136 -1
- package/dist/components/af-feature-accordion.js.map +1 -0
- package/dist/components/af-feature-card.js +9 -1
- package/dist/components/af-feature-card.js.map +1 -0
- package/dist/components/af-feature-grid.js +124 -1
- package/dist/components/af-feature-grid.js.map +1 -0
- package/dist/components/af-fieldset.js +9 -1
- package/dist/components/af-fieldset.js.map +1 -0
- package/dist/components/af-footer-column.js +41 -1
- package/dist/components/af-footer-column.js.map +1 -0
- package/dist/components/af-footer-link.js +44 -1
- package/dist/components/af-footer-link.js.map +1 -0
- package/dist/components/af-footer.js +53 -1
- package/dist/components/af-footer.js.map +1 -0
- package/dist/components/af-grid-callout.js +82 -1
- package/dist/components/af-grid-callout.js.map +1 -0
- package/dist/components/af-grid.js +71 -1
- package/dist/components/af-grid.js.map +1 -0
- package/dist/components/af-heading.js +9 -1
- package/dist/components/af-heading.js.map +1 -0
- package/dist/components/af-icon-box.js +9 -1
- package/dist/components/af-icon-box.js.map +1 -0
- package/dist/components/af-icon-button.js +9 -1
- package/dist/components/af-icon-button.js.map +1 -0
- package/dist/components/af-icon-text.js +78 -1
- package/dist/components/af-icon-text.js.map +1 -0
- package/dist/components/af-icon.js +9 -1
- package/dist/components/af-icon.js.map +1 -0
- package/dist/components/af-illustrated-card.js +9 -1
- package/dist/components/af-illustrated-card.js.map +1 -0
- package/dist/components/af-image.js +9 -1
- package/dist/components/af-image.js.map +1 -0
- package/dist/components/af-in-page-banner.js +82 -1
- package/dist/components/af-in-page-banner.js.map +1 -0
- package/dist/components/af-inline.js +83 -1
- package/dist/components/af-inline.js.map +1 -0
- package/dist/components/af-input.js +9 -1
- package/dist/components/af-input.js.map +1 -0
- package/dist/components/af-logo-well.js +38 -1
- package/dist/components/af-logo-well.js.map +1 -0
- package/dist/components/af-logo.js +9 -1
- package/dist/components/af-logo.js.map +1 -0
- package/dist/components/af-nav-accordion-item.js +133 -1
- package/dist/components/af-nav-accordion-item.js.map +1 -0
- package/dist/components/af-nav-accordion.js +106 -1
- package/dist/components/af-nav-accordion.js.map +1 -0
- package/dist/components/af-nav-card.js +62 -1
- package/dist/components/af-nav-card.js.map +1 -0
- package/dist/components/af-nav-item.js +9 -1
- package/dist/components/af-nav-item.js.map +1 -0
- package/dist/components/af-nav-menu-nest.js +67 -1
- package/dist/components/af-nav-menu-nest.js.map +1 -0
- package/dist/components/af-nav-menu.js +65 -1
- package/dist/components/af-nav-menu.js.map +1 -0
- package/dist/components/af-navbar.js +9 -1
- package/dist/components/af-navbar.js.map +1 -0
- package/dist/components/af-number-badge.js +66 -1
- package/dist/components/af-number-badge.js.map +1 -0
- package/dist/components/af-progress-line.js +9 -1
- package/dist/components/af-progress-line.js.map +1 -0
- package/dist/components/af-radio.js +9 -1
- package/dist/components/af-radio.js.map +1 -0
- package/dist/components/af-section.js +54 -1
- package/dist/components/af-section.js.map +1 -0
- package/dist/components/af-show.js +46 -1
- package/dist/components/af-show.js.map +1 -0
- package/dist/components/af-social-link.js +63 -1
- package/dist/components/af-social-link.js.map +1 -0
- package/dist/components/af-spacer.js +69 -1
- package/dist/components/af-spacer.js.map +1 -0
- package/dist/components/af-split-section.js +71 -1
- package/dist/components/af-split-section.js.map +1 -0
- package/dist/components/af-stack.js +90 -1
- package/dist/components/af-stack.js.map +1 -0
- package/dist/components/af-stepper-step.js +44 -1
- package/dist/components/af-stepper-step.js.map +1 -0
- package/dist/components/af-stepper.js +55 -1
- package/dist/components/af-stepper.js.map +1 -0
- package/dist/components/af-switch.js +9 -1
- package/dist/components/af-switch.js.map +1 -0
- package/dist/components/af-tab-bar.js +9 -1
- package/dist/components/af-tab-bar.js.map +1 -0
- package/dist/components/af-tab.js +9 -1
- package/dist/components/af-tab.js.map +1 -0
- package/dist/components/af-tag.js +9 -1
- package/dist/components/af-tag.js.map +1 -0
- package/dist/components/af-testimonial-carousel.js +131 -1
- package/dist/components/af-testimonial-carousel.js.map +1 -0
- package/dist/components/af-testimonial-stat.js +57 -1
- package/dist/components/af-testimonial-stat.js.map +1 -0
- package/dist/components/af-testimonial.js +88 -1
- package/dist/components/af-testimonial.js.map +1 -0
- package/dist/components/af-text-image-nest.js +51 -1
- package/dist/components/af-text-image-nest.js.map +1 -0
- package/dist/components/af-text-image.js +95 -1
- package/dist/components/af-text-image.js.map +1 -0
- package/dist/components/af-text.js +9 -1
- package/dist/components/af-text.js.map +1 -0
- package/dist/components/af-textarea.js +9 -1
- package/dist/components/af-textarea.js.map +1 -0
- package/dist/components/af-theme-override.js +44 -1
- package/dist/components/af-theme-override.js.map +1 -0
- package/dist/components/af-typography-lockup.js +9 -1
- package/dist/components/af-typography-lockup.js.map +1 -0
- package/dist/components/af-video-container.js +70 -1
- package/dist/components/af-video-container.js.map +1 -0
- package/dist/components/af-visually-hidden.js +45 -1
- package/dist/components/af-visually-hidden.js.map +1 -0
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +27 -1
- package/dist/components/index.js.map +1 -0
- package/dist/components/p-B3Yr4Hxx.js +141 -0
- package/dist/components/p-B3Yr4Hxx.js.map +1 -0
- package/dist/components/p-BHAWxoQE.js +55 -0
- package/dist/components/p-BHAWxoQE.js.map +1 -0
- package/dist/components/p-BO4blShf.js +53 -0
- package/dist/components/p-BO4blShf.js.map +1 -0
- package/dist/components/p-Bw8fdMnn.js +59 -0
- package/dist/components/p-Bw8fdMnn.js.map +1 -0
- package/dist/components/p-C0R_vg0S.js +48 -0
- package/dist/components/p-C0R_vg0S.js.map +1 -0
- package/dist/components/p-CAUqW6Mp.js +45 -0
- package/dist/components/p-CAUqW6Mp.js.map +1 -0
- package/dist/components/p-CB9GFAlk.js +89 -0
- package/dist/components/p-CB9GFAlk.js.map +1 -0
- package/dist/components/p-CHLm_AuW.js +74 -0
- package/dist/components/p-CHLm_AuW.js.map +1 -0
- package/dist/components/p-CKcuq0NU.js +48 -0
- package/dist/components/p-CKcuq0NU.js.map +1 -0
- package/dist/components/p-CNuja1ax.js +92 -0
- package/dist/components/p-CNuja1ax.js.map +1 -0
- package/dist/components/p-CSsp_M05.js +70 -0
- package/dist/components/p-CSsp_M05.js.map +1 -0
- package/dist/components/p-CqQyDZ-4.js +1781 -0
- package/dist/components/p-CqQyDZ-4.js.map +1 -0
- package/dist/components/p-D30gSxh2.js +50 -0
- package/dist/components/p-D30gSxh2.js.map +1 -0
- package/dist/components/p-D3oGtcJ5.js +93 -0
- package/dist/components/p-D3oGtcJ5.js.map +1 -0
- package/dist/components/p-DAYoQm46.js +71 -0
- package/dist/components/p-DAYoQm46.js.map +1 -0
- package/dist/components/p-DCu8UsJv.js +35 -0
- package/dist/components/p-DCu8UsJv.js.map +1 -0
- package/dist/components/p-DENib4OL.js +58 -0
- package/dist/components/p-DENib4OL.js.map +1 -0
- package/dist/components/p-DGBMGvZK.js +57 -0
- package/dist/components/p-DGBMGvZK.js.map +1 -0
- package/dist/components/p-DMOGClIa.js +44 -0
- package/dist/components/p-DMOGClIa.js.map +1 -0
- package/dist/components/p-DRujYIJW.js +196 -0
- package/dist/components/p-DRujYIJW.js.map +1 -0
- package/dist/components/p-DkaLi-uL.js +102 -0
- package/dist/components/p-DkaLi-uL.js.map +1 -0
- package/dist/components/p-DqgLTGE0.js +108 -0
- package/dist/components/p-DqgLTGE0.js.map +1 -0
- package/dist/components/p-DwhGQrZK.js +52 -0
- package/dist/components/p-DwhGQrZK.js.map +1 -0
- package/dist/components/p-Dxa6cHAb.js +81 -0
- package/dist/components/p-Dxa6cHAb.js.map +1 -0
- package/dist/components/p-Dz4dEIxw.js +127 -0
- package/dist/components/p-Dz4dEIxw.js.map +1 -0
- package/dist/components/p-N0xV1Erp.js +151 -0
- package/dist/components/p-N0xV1Erp.js.map +1 -0
- package/dist/components/p-TfjpcU9q.js +68 -0
- package/dist/components/p-TfjpcU9q.js.map +1 -0
- package/dist/components/p-XrKBGe-M.js +94 -0
- package/dist/components/p-XrKBGe-M.js.map +1 -0
- package/dist/components/p-aAVeavhK.js +372 -0
- package/dist/components/p-aAVeavhK.js.map +1 -0
- package/dist/esm/af-accordion-item.entry.js +5 -6
- package/dist/esm/af-accordion-item.entry.js.map +1 -0
- package/dist/esm/af-accordion.entry.js +5 -6
- package/dist/esm/af-accordion.entry.js.map +1 -0
- package/dist/esm/af-aspect-ratio.entry.js +4 -3
- package/dist/esm/af-aspect-ratio.entry.js.map +1 -0
- package/dist/esm/af-button-group.entry.js +4 -3
- package/dist/esm/af-button-group.entry.js.map +1 -0
- package/dist/esm/af-button.entry.js +4 -3
- package/dist/esm/af-button.entry.js.map +1 -0
- package/dist/esm/af-card.entry.js +4 -3
- package/dist/esm/af-card.entry.js.map +1 -0
- package/dist/esm/af-center.entry.js +4 -3
- package/dist/esm/af-center.entry.js.map +1 -0
- package/dist/esm/af-checkbox.entry.js +4 -3
- package/dist/esm/af-checkbox.entry.js.map +1 -0
- package/dist/esm/af-client-carousel.entry.js +4 -3
- package/dist/esm/af-client-carousel.entry.js.map +1 -0
- package/dist/esm/af-color-swatch.entry.js +4 -3
- package/dist/esm/af-color-swatch.entry.js.map +1 -0
- package/dist/esm/af-contact-item.entry.js +4 -3
- package/dist/esm/af-contact-item.entry.js.map +1 -0
- package/dist/esm/af-container.entry.js +4 -3
- package/dist/esm/af-container.entry.js.map +1 -0
- package/dist/esm/af-divider.entry.js +4 -3
- package/dist/esm/af-divider.entry.js.map +1 -0
- package/dist/esm/af-feature-accordion.entry.js +5 -6
- package/dist/esm/af-feature-accordion.entry.js.map +1 -0
- package/dist/esm/af-feature-card.entry.js +4 -3
- package/dist/esm/af-feature-card.entry.js.map +1 -0
- package/dist/esm/af-feature-grid.entry.js +5 -6
- package/dist/esm/af-feature-grid.entry.js.map +1 -0
- package/dist/esm/af-fieldset.entry.js +4 -3
- package/dist/esm/af-fieldset.entry.js.map +1 -0
- package/dist/esm/af-footer-column.entry.js +4 -3
- package/dist/esm/af-footer-column.entry.js.map +1 -0
- package/dist/esm/af-footer-link.entry.js +4 -3
- package/dist/esm/af-footer-link.entry.js.map +1 -0
- package/dist/esm/af-footer.entry.js +4 -3
- package/dist/esm/af-footer.entry.js.map +1 -0
- package/dist/esm/af-grid-callout.entry.js +4 -3
- package/dist/esm/af-grid-callout.entry.js.map +1 -0
- package/dist/esm/af-grid.entry.js +4 -3
- package/dist/esm/af-grid.entry.js.map +1 -0
- package/dist/esm/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.js.map +1 -0
- package/dist/esm/af-heading_5.entry.js +12 -11
- package/dist/esm/af-icon-box.entry.js +4 -3
- package/dist/esm/af-icon-box.entry.js.map +1 -0
- package/dist/esm/af-icon-button.entry.js +4 -3
- package/dist/esm/af-icon-button.entry.js.map +1 -0
- package/dist/esm/af-icon-text.entry.js +4 -3
- package/dist/esm/af-icon-text.entry.js.map +1 -0
- package/dist/esm/af-icon.entry.js +4 -3
- package/dist/esm/af-icon.entry.js.map +1 -0
- package/dist/esm/af-illustrated-card.entry.js +4 -3
- package/dist/esm/af-illustrated-card.entry.js.map +1 -0
- package/dist/esm/af-image.entry.js +4 -3
- package/dist/esm/af-image.entry.js.map +1 -0
- package/dist/esm/af-in-page-banner.entry.js +4 -3
- package/dist/esm/af-in-page-banner.entry.js.map +1 -0
- package/dist/esm/af-inline.entry.js +4 -3
- package/dist/esm/af-inline.entry.js.map +1 -0
- package/dist/esm/af-input.entry.js +4 -3
- package/dist/esm/af-input.entry.js.map +1 -0
- package/dist/esm/af-logo-well.entry.js +4 -3
- package/dist/esm/af-logo-well.entry.js.map +1 -0
- package/dist/esm/af-nav-accordion-item.entry.js +5 -6
- package/dist/esm/af-nav-accordion-item.entry.js.map +1 -0
- package/dist/esm/af-nav-accordion.entry.js +4 -3
- package/dist/esm/af-nav-accordion.entry.js.map +1 -0
- package/dist/esm/af-nav-card.entry.js +4 -3
- package/dist/esm/af-nav-card.entry.js.map +1 -0
- package/dist/esm/af-nav-menu-nest.entry.js +4 -3
- package/dist/esm/af-nav-menu-nest.entry.js.map +1 -0
- package/dist/esm/af-nav-menu.entry.js +4 -3
- package/dist/esm/af-nav-menu.entry.js.map +1 -0
- package/dist/esm/af-number-badge.entry.js +4 -3
- package/dist/esm/af-number-badge.entry.js.map +1 -0
- package/dist/esm/af-progress-line.entry.js +4 -3
- package/dist/esm/af-progress-line.entry.js.map +1 -0
- package/dist/esm/af-radio.entry.js +4 -3
- package/dist/esm/af-radio.entry.js.map +1 -0
- package/dist/esm/af-section.entry.js +4 -3
- package/dist/esm/af-section.entry.js.map +1 -0
- package/dist/esm/af-show.entry.js +4 -3
- package/dist/esm/af-show.entry.js.map +1 -0
- package/dist/esm/af-social-link.entry.js +4 -3
- package/dist/esm/af-social-link.entry.js.map +1 -0
- package/dist/esm/af-spacer.entry.js +4 -3
- package/dist/esm/af-spacer.entry.js.map +1 -0
- package/dist/esm/af-split-section.entry.js +4 -3
- package/dist/esm/af-split-section.entry.js.map +1 -0
- package/dist/esm/af-stack.entry.js +4 -3
- package/dist/esm/af-stack.entry.js.map +1 -0
- package/dist/esm/af-stepper-step.entry.js +4 -3
- package/dist/esm/af-stepper-step.entry.js.map +1 -0
- package/dist/esm/af-stepper.entry.js +4 -3
- package/dist/esm/af-stepper.entry.js.map +1 -0
- package/dist/esm/af-switch.entry.js +4 -3
- package/dist/esm/af-switch.entry.js.map +1 -0
- package/dist/esm/af-tab-bar.entry.js +4 -3
- package/dist/esm/af-tab-bar.entry.js.map +1 -0
- package/dist/esm/af-tab.entry.js +4 -3
- package/dist/esm/af-tab.entry.js.map +1 -0
- package/dist/esm/af-tag.entry.js +4 -3
- package/dist/esm/af-tag.entry.js.map +1 -0
- package/dist/esm/af-testimonial-carousel.entry.js +4 -3
- package/dist/esm/af-testimonial-carousel.entry.js.map +1 -0
- package/dist/esm/af-testimonial-stat.entry.js +4 -3
- package/dist/esm/af-testimonial-stat.entry.js.map +1 -0
- package/dist/esm/af-testimonial.entry.js +4 -3
- package/dist/esm/af-testimonial.entry.js.map +1 -0
- package/dist/esm/af-text-image-nest.entry.js +4 -3
- package/dist/esm/af-text-image-nest.entry.js.map +1 -0
- package/dist/esm/af-text-image.entry.js +4 -3
- package/dist/esm/af-text-image.entry.js.map +1 -0
- package/dist/esm/af-textarea.entry.js +4 -3
- package/dist/esm/af-textarea.entry.js.map +1 -0
- package/dist/esm/af-theme-override.entry.js +4 -3
- package/dist/esm/af-theme-override.entry.js.map +1 -0
- package/dist/esm/af-typography-lockup.entry.js +4 -3
- package/dist/esm/af-typography-lockup.entry.js.map +1 -0
- package/dist/esm/af-video-container.entry.js +4 -3
- package/dist/esm/af-video-container.entry.js.map +1 -0
- package/dist/esm/af-visually-hidden.entry.js +4 -3
- package/dist/esm/af-visually-hidden.entry.js.map +1 -0
- package/dist/esm/affinda.js +5 -4
- package/dist/esm/affinda.js.map +1 -0
- package/dist/esm/{index-CPfAC9fk.js → index-nb89SRN6.js} +260 -462
- package/dist/esm/index-nb89SRN6.js.map +1 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/types/components.d.ts +131 -508
- package/dist/types/stencil-public-runtime.d.ts +6 -110
- package/package.json +17 -13
- package/dist/affinda/p-00a226ba.entry.js +0 -1
- package/dist/affinda/p-020bd9db.entry.js +0 -1
- package/dist/affinda/p-08dc48a4.entry.js +0 -1
- package/dist/affinda/p-0979ad4d.entry.js +0 -1
- package/dist/affinda/p-14c85efd.entry.js +0 -1
- package/dist/affinda/p-1e37fea2.entry.js +0 -1
- package/dist/affinda/p-1f810e9c.entry.js +0 -1
- package/dist/affinda/p-203a908b.entry.js +0 -1
- package/dist/affinda/p-23f9e0cc.entry.js +0 -1
- package/dist/affinda/p-29d0a985.entry.js +0 -1
- package/dist/affinda/p-2ab645a3.entry.js +0 -1
- package/dist/affinda/p-30c704f8.entry.js +0 -1
- package/dist/affinda/p-37977b9d.entry.js +0 -1
- package/dist/affinda/p-3b3f69a5.entry.js +0 -1
- package/dist/affinda/p-40456eb5.entry.js +0 -1
- package/dist/affinda/p-4196ab5d.entry.js +0 -1
- package/dist/affinda/p-4521a8f3.entry.js +0 -1
- package/dist/affinda/p-46c9b92e.entry.js +0 -1
- package/dist/affinda/p-485cfd5d.entry.js +0 -1
- package/dist/affinda/p-50a6a219.entry.js +0 -1
- package/dist/affinda/p-5136a894.entry.js +0 -1
- package/dist/affinda/p-542fd771.entry.js +0 -1
- package/dist/affinda/p-666fc4a6.entry.js +0 -1
- package/dist/affinda/p-687f157a.entry.js +0 -1
- package/dist/affinda/p-76b6d6e0.entry.js +0 -1
- package/dist/affinda/p-81eb85ec.entry.js +0 -1
- package/dist/affinda/p-82674a06.entry.js +0 -1
- package/dist/affinda/p-82fb88df.entry.js +0 -1
- package/dist/affinda/p-87daf220.entry.js +0 -1
- package/dist/affinda/p-90edefa8.entry.js +0 -1
- package/dist/affinda/p-9133ff23.entry.js +0 -1
- package/dist/affinda/p-92904a41.entry.js +0 -1
- package/dist/affinda/p-CPfAC9fk.js +0 -2
- package/dist/affinda/p-a12a37b6.entry.js +0 -1
- package/dist/affinda/p-a5179afb.entry.js +0 -1
- package/dist/affinda/p-a6210fab.entry.js +0 -1
- package/dist/affinda/p-ace3c850.entry.js +0 -1
- package/dist/affinda/p-ae43f07b.entry.js +0 -1
- package/dist/affinda/p-aec05709.entry.js +0 -1
- package/dist/affinda/p-b049555b.entry.js +0 -1
- package/dist/affinda/p-b477c08a.entry.js +0 -1
- package/dist/affinda/p-b8dde234.entry.js +0 -1
- package/dist/affinda/p-c03893bd.entry.js +0 -1
- package/dist/affinda/p-ca14e17a.entry.js +0 -1
- package/dist/affinda/p-cb889d6b.entry.js +0 -1
- package/dist/affinda/p-cd138311.entry.js +0 -1
- package/dist/affinda/p-cdfaffc6.entry.js +0 -1
- package/dist/affinda/p-cfb90374.entry.js +0 -1
- package/dist/affinda/p-cfe018f1.entry.js +0 -1
- package/dist/affinda/p-d3e3653e.entry.js +0 -1
- package/dist/affinda/p-d7129564.entry.js +0 -1
- package/dist/affinda/p-d8ad81a4.entry.js +0 -1
- package/dist/affinda/p-d9cfea73.entry.js +0 -1
- package/dist/affinda/p-da2759a0.entry.js +0 -1
- package/dist/affinda/p-dd47655f.entry.js +0 -1
- package/dist/affinda/p-e0915179.entry.js +0 -1
- package/dist/affinda/p-ebb36c5f.entry.js +0 -1
- package/dist/affinda/p-ecab0884.entry.js +0 -1
- package/dist/affinda/p-f3d5d1be.entry.js +0 -1
- package/dist/affinda/p-f617ae1d.entry.js +0 -1
- package/dist/affinda/p-fcb04e98.entry.js +0 -1
- package/dist/affinda/p-fd603900.entry.js +0 -1
- package/dist/components/p--UJ_xE9Z.js +0 -1
- package/dist/components/p-0KrQFK77.js +0 -1
- package/dist/components/p-BCCbAFc1.js +0 -1
- package/dist/components/p-BGeRQgDo.js +0 -1
- package/dist/components/p-BLzlyxBT.js +0 -1
- package/dist/components/p-BUFbtjxU.js +0 -1
- package/dist/components/p-BeVM-2kH.js +0 -1
- package/dist/components/p-BeX5VmwL.js +0 -1
- package/dist/components/p-BlfywPKX.js +0 -1
- package/dist/components/p-BqUK0ZTO.js +0 -1
- package/dist/components/p-BvLGR36l.js +0 -1
- package/dist/components/p-BwpItMWU.js +0 -1
- package/dist/components/p-BzH2LxRQ.js +0 -1
- package/dist/components/p-C5_nFNYV.js +0 -1
- package/dist/components/p-CDCZfKNt.js +0 -1
- package/dist/components/p-CSpMqpfj.js +0 -1
- package/dist/components/p-CTFMTG3E.js +0 -1
- package/dist/components/p-CVQiSujq.js +0 -1
- package/dist/components/p-CYXTWxXF.js +0 -1
- package/dist/components/p-C_BrhG1Q.js +0 -1
- package/dist/components/p-DRm58pvc.js +0 -1
- package/dist/components/p-DX19jO3u.js +0 -1
- package/dist/components/p-DsNqeD3z.js +0 -1
- package/dist/components/p-Dvos4xtG.js +0 -1
- package/dist/components/p-Dx31qPzk.js +0 -1
- package/dist/components/p-HhMv1A3-.js +0 -1
- package/dist/components/p-HkfUr6-S.js +0 -1
- package/dist/components/p-oawfHsaK.js +0 -1
- package/dist/components/p-vWuqpbX0.js +0 -1
|
@@ -1,59 +1,22 @@
|
|
|
1
1
|
const NAMESPACE = 'affinda';
|
|
2
|
-
const BUILD = /* affinda */ {
|
|
2
|
+
const BUILD = /* affinda */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: 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:#FFF9EE;--colour-brand-azure:#7FE2D4;--colour-brand-ice:#A6FFF8;--colour-tints-mist-green-
|
|
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-50:#f9fbfa;--colour-mistgreen-50:#f9fbfa;--colour-tints-mist-green-100:#f4f7f6;--colour-mistgreen-100:#f4f7f6;--colour-tints-mist-green-200:#e8eeed;--colour-mistgreen-200:#e8eeed;--colour-tints-mist-green-300:#dde6e3;--colour-mistgreen-300:#dde6e3;--colour-tints-mist-green-400:#d1ddda;--colour-mistgreen-400:#d1ddda;--colour-tints-mist-green-500:#c6d5d1;--colour-mistgreen-500:#c6d5d1;--colour-tints-mist-green-600:#b2c0bc;--colour-mistgreen-600:#b2c0bc;--colour-tints-mist-green-700:#9eaaa7;--colour-mistgreen-700:#9eaaa7;--colour-tints-inkwell-20:#f9fafa;--colour-inkwell-20:#f9fafa;--colour-tints-inkwell-30:#f3f5f5;--colour-inkwell-30:#f3f5f5;--colour-tints-inkwell-40:#edf0f0;--colour-inkwell-40:#edf0f0;--colour-tints-inkwell-50:#e8ebeb;--colour-inkwell-50:#e8ebeb;--colour-tints-inkwell-100:#d0d6d8;--colour-inkwell-100:#d0d6d8;--colour-tints-inkwell-200:#a1aeb1;--colour-inkwell-200:#a1aeb1;--colour-tints-inkwell-300:#728589;--colour-inkwell-300:#728589;--colour-tints-inkwell-350:#60767b;--colour-inkwell-350:#60767b;--colour-tints-inkwell-400:#2b484f;--colour-inkwell-400:#2b484f;--colour-tints-inkwell-450:#203e45;--colour-inkwell-450:#203e45;--colour-tints-inkwell-500:#14343b;--colour-inkwell-500:#14343b;--colour-tints-inkwell-600:#102a2f;--colour-inkwell-600:#102a2f;--colour-tints-inkwell-700:#102a2f;--colour-inkwell-700:#102a2f;--colour-tints-soft-clay-50:#f7f5f1;--colour-softclay-50:#f7f5f1;--colour-tints-soft-clay-100:#efeae2;--colour-softclay-100:#efeae2;--colour-tints-soft-clay-200:#dfd5c6;--colour-softclay-200:#dfd5c6;--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:#b09670;--colour-softclay-500:#b09670;--colour-tints-soft-clay-600:#9e8765;--colour-softclay-600:#9e8765;--colour-tints-soft-clay-700:#8d785a;--colour-softclay-700:#8d785a;--colour-tints-soft-clay-800:#8a7049;--colour-softclay-800:#8a7049;--colour-tints-ice-50:#f6ffff;--colour-ice-50:#f6ffff;--colour-tints-ice-100:#edfffe;--colour-ice-100:#edfffe;--colour-tints-ice-200:#dbfffd;--colour-ice-200:#dbfffd;--colour-tints-ice-300:#cafffd;--colour-ice-300:#cafffd;--colour-tints-ice-400:#b8fffc;--colour-ice-400:#b8fffc;--colour-tints-ice-500:#a6fffb;--colour-ice-500:#a6fffb;--colour-tints-ice-600:#95e6e2;--colour-ice-600:#95e6e2;--colour-tints-ice-700:#85ccc9;--colour-ice-700:#85ccc9;--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.38.2 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __export = (target, all) => {
|
|
12
|
+
for (var name in all)
|
|
13
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
14
|
+
};
|
|
11
15
|
|
|
12
16
|
// src/utils/constants.ts
|
|
13
17
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
14
18
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
15
19
|
|
|
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
|
-
|
|
57
20
|
// src/client/client-host-ref.ts
|
|
58
21
|
var getHostRef = (ref) => {
|
|
59
22
|
if (ref.__stencil__getHostRef) {
|
|
@@ -65,9 +28,6 @@ var registerInstance = (lazyInstance, hostRef) => {
|
|
|
65
28
|
if (!hostRef) return;
|
|
66
29
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
67
30
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
68
|
-
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
69
|
-
reWireGetterSetter(lazyInstance, hostRef);
|
|
70
|
-
}
|
|
71
31
|
};
|
|
72
32
|
var registerHost = (hostElement, cmpMeta) => {
|
|
73
33
|
const hostRef = {
|
|
@@ -162,9 +122,6 @@ var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
|
162
122
|
var promiseResolve = (v) => Promise.resolve(v);
|
|
163
123
|
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
164
124
|
try {
|
|
165
|
-
if (!win.document.adoptedStyleSheets) {
|
|
166
|
-
return false;
|
|
167
|
-
}
|
|
168
125
|
new CSSStyleSheet();
|
|
169
126
|
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
170
127
|
} catch (e) {
|
|
@@ -208,6 +165,73 @@ var flush = () => {
|
|
|
208
165
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
209
166
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
210
167
|
|
|
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
|
+
|
|
211
235
|
// src/utils/style.ts
|
|
212
236
|
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
213
237
|
if (!supportsConstructableStylesheets) return void 0;
|
|
@@ -220,8 +244,7 @@ function createStyleSheetIfNeededAndSupported(styles2) {
|
|
|
220
244
|
var globalStyleSheet;
|
|
221
245
|
function createShadowRoot(cmpMeta) {
|
|
222
246
|
var _a;
|
|
223
|
-
const
|
|
224
|
-
const shadowRoot = this.attachShadow(opts);
|
|
247
|
+
const shadowRoot = this.attachShadow({ mode: "open" });
|
|
225
248
|
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
|
|
226
249
|
if (globalStyleSheet) {
|
|
227
250
|
if (supportsMutableAdoptedStyleSheets) {
|
|
@@ -229,10 +252,6 @@ function createShadowRoot(cmpMeta) {
|
|
|
229
252
|
} else {
|
|
230
253
|
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
231
254
|
}
|
|
232
|
-
} else if (!supportsConstructableStylesheets) {
|
|
233
|
-
const styleElm = document.createElement("style");
|
|
234
|
-
styleElm.innerHTML = globalStyles;
|
|
235
|
-
shadowRoot.prepend(styleElm);
|
|
236
255
|
}
|
|
237
256
|
}
|
|
238
257
|
var updateFallbackSlotVisibility = (elm) => {
|
|
@@ -272,9 +291,8 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
|
272
291
|
let childNode;
|
|
273
292
|
for (; i2 < childNodes.length; i2++) {
|
|
274
293
|
childNode = childNodes[i2];
|
|
275
|
-
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0
|
|
294
|
+
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0)) {
|
|
276
295
|
slottedNodes.push(childNode);
|
|
277
|
-
if (typeof slotName !== "undefined") return slottedNodes;
|
|
278
296
|
}
|
|
279
297
|
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
280
298
|
}
|
|
@@ -332,18 +350,6 @@ function patchSlotNode(node) {
|
|
|
332
350
|
node.assignedElements = assignedFactory(true);
|
|
333
351
|
node.assignedNodes = assignedFactory(false);
|
|
334
352
|
}
|
|
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
|
-
}
|
|
347
353
|
function internalCall(node, method) {
|
|
348
354
|
if ("__" + method in node) {
|
|
349
355
|
const toReturn = node["__" + method];
|
|
@@ -368,14 +374,6 @@ var uniqueTime = (key, measureText) => {
|
|
|
368
374
|
};
|
|
369
375
|
}
|
|
370
376
|
};
|
|
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
|
|
379
377
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
380
378
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
381
379
|
let style = styles.get(scopeId2);
|
|
@@ -392,7 +390,7 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
392
390
|
styles.set(scopeId2, style);
|
|
393
391
|
};
|
|
394
392
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
395
|
-
var _a
|
|
393
|
+
var _a;
|
|
396
394
|
const scopeId2 = getScopeId(cmpMeta);
|
|
397
395
|
const style = styles.get(scopeId2);
|
|
398
396
|
if (!win.document) {
|
|
@@ -408,74 +406,58 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
408
406
|
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
409
407
|
}
|
|
410
408
|
if (!appliedStyles.has(scopeId2)) {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
if (
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
if (
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
409
|
+
{
|
|
410
|
+
styleElm = win.document.createElement("style");
|
|
411
|
+
styleElm.innerHTML = style;
|
|
412
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
413
|
+
if (nonce != null) {
|
|
414
|
+
styleElm.setAttribute("nonce", nonce);
|
|
415
|
+
}
|
|
416
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
417
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
418
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
419
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
420
|
+
styleContainerNode.insertBefore(
|
|
421
|
+
styleElm,
|
|
422
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
423
|
+
);
|
|
424
|
+
} else if ("host" in styleContainerNode) {
|
|
425
|
+
if (supportsConstructableStylesheets) {
|
|
426
|
+
const stylesheet = new CSSStyleSheet();
|
|
427
|
+
stylesheet.replaceSync(style);
|
|
428
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
429
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
430
|
+
} else {
|
|
431
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
432
|
+
}
|
|
432
433
|
} else {
|
|
433
|
-
|
|
434
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
435
|
+
if (existingStyleContainer) {
|
|
436
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
437
|
+
} else {
|
|
438
|
+
styleContainerNode.prepend(styleElm);
|
|
439
|
+
}
|
|
434
440
|
}
|
|
435
441
|
} else {
|
|
436
|
-
|
|
437
|
-
if (existingStyleContainer && true) {
|
|
438
|
-
existingStyleContainer.textContent = style + existingStyleContainer.textContent;
|
|
439
|
-
} else {
|
|
440
|
-
styleContainerNode.prepend(styleElm);
|
|
441
|
-
}
|
|
442
|
+
styleContainerNode.append(styleElm);
|
|
442
443
|
}
|
|
443
|
-
} else {
|
|
444
|
-
styleContainerNode.append(styleElm);
|
|
445
444
|
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
445
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
446
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
447
|
+
}
|
|
449
448
|
}
|
|
450
449
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
451
|
-
styleElm.
|
|
450
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
452
451
|
}
|
|
453
452
|
if (appliedStyles) {
|
|
454
453
|
appliedStyles.add(scopeId2);
|
|
455
454
|
}
|
|
456
455
|
}
|
|
457
|
-
} else {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
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);
|
|
456
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
457
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
458
|
+
styleContainerNode.adoptedStyleSheets.push(style);
|
|
459
|
+
} else {
|
|
460
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
479
461
|
}
|
|
480
462
|
}
|
|
481
463
|
}
|
|
@@ -496,19 +478,7 @@ var attachStyles = (hostRef) => {
|
|
|
496
478
|
endAttachStyles();
|
|
497
479
|
};
|
|
498
480
|
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
|
|
508
481
|
var h = (nodeName, vnodeData, ...children) => {
|
|
509
|
-
if (typeof nodeName === "string") {
|
|
510
|
-
nodeName = transformTag(nodeName);
|
|
511
|
-
}
|
|
512
482
|
let child = null;
|
|
513
483
|
let key = null;
|
|
514
484
|
let slotName = null;
|
|
@@ -572,8 +542,7 @@ var newVNode = (tag, text) => {
|
|
|
572
542
|
const vnode = {
|
|
573
543
|
$flags$: 0,
|
|
574
544
|
$tag$: tag,
|
|
575
|
-
|
|
576
|
-
$text$: text != null ? text : null,
|
|
545
|
+
$text$: text,
|
|
577
546
|
$elm$: null,
|
|
578
547
|
$children$: null
|
|
579
548
|
};
|
|
@@ -620,33 +589,18 @@ var convertToPrivate = (node) => {
|
|
|
620
589
|
vnode.$name$ = node.vname;
|
|
621
590
|
return vnode;
|
|
622
591
|
};
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
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;
|
|
592
|
+
var createSupportsRuleRe = (selector) => {
|
|
593
|
+
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
594
|
+
return new RegExp(
|
|
595
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
596
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
597
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
598
|
+
"g"
|
|
599
|
+
);
|
|
647
600
|
};
|
|
648
|
-
|
|
649
|
-
|
|
601
|
+
createSupportsRuleRe("::slotted");
|
|
602
|
+
createSupportsRuleRe(":host");
|
|
603
|
+
createSupportsRuleRe(":host-context");
|
|
650
604
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
651
605
|
if (propValue != null && !isComplexType(propValue)) {
|
|
652
606
|
if (propType & 4 /* Boolean */) {
|
|
@@ -725,7 +679,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
725
679
|
}
|
|
726
680
|
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
727
681
|
if (newValue) {
|
|
728
|
-
|
|
682
|
+
newValue(elm);
|
|
729
683
|
}
|
|
730
684
|
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
731
685
|
if (memberName[2] === "-") {
|
|
@@ -745,36 +699,6 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
745
699
|
plt.ael(elm, memberName, newValue, capture);
|
|
746
700
|
}
|
|
747
701
|
}
|
|
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;
|
|
778
702
|
} else {
|
|
779
703
|
const isComplex = isComplexType(newValue);
|
|
780
704
|
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
@@ -783,7 +707,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
783
707
|
const n = newValue == null ? "" : newValue;
|
|
784
708
|
if (memberName === "list") {
|
|
785
709
|
isProp = false;
|
|
786
|
-
} else if (oldValue == null || elm[memberName]
|
|
710
|
+
} else if (oldValue == null || elm[memberName] != n) {
|
|
787
711
|
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
788
712
|
elm[memberName] = n;
|
|
789
713
|
} else {
|
|
@@ -880,8 +804,6 @@ var useNativeShadowDom = false;
|
|
|
880
804
|
var checkSlotFallbackVisibility = false;
|
|
881
805
|
var checkSlotRelocate = false;
|
|
882
806
|
var isSvgMode = false;
|
|
883
|
-
var refCallbacksToRemove = [];
|
|
884
|
-
var refCallbacksToAttach = [];
|
|
885
807
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
886
808
|
var _a;
|
|
887
809
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
@@ -904,7 +826,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
904
826
|
);
|
|
905
827
|
}
|
|
906
828
|
}
|
|
907
|
-
if (newVNode2.$text$
|
|
829
|
+
if (newVNode2.$text$ !== null) {
|
|
908
830
|
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
909
831
|
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
910
832
|
elm = newVNode2.$elm$ = win.document.createTextNode("");
|
|
@@ -916,7 +838,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
916
838
|
isSvgMode = newVNode2.$tag$ === "svg";
|
|
917
839
|
}
|
|
918
840
|
if (!win.document) {
|
|
919
|
-
throw new Error(
|
|
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
|
+
);
|
|
920
844
|
}
|
|
921
845
|
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
922
846
|
isSvgMode ? SVG_NS : HTML_NS,
|
|
@@ -932,11 +856,10 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
932
856
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
933
857
|
}
|
|
934
858
|
if (newVNode2.$children$) {
|
|
935
|
-
const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
|
|
936
859
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
937
860
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
938
861
|
if (childNode) {
|
|
939
|
-
|
|
862
|
+
elm.appendChild(childNode);
|
|
940
863
|
}
|
|
941
864
|
}
|
|
942
865
|
}
|
|
@@ -958,7 +881,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
958
881
|
patchSlotNode(elm);
|
|
959
882
|
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
960
883
|
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
961
|
-
|
|
884
|
+
{
|
|
885
|
+
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
886
|
+
}
|
|
962
887
|
}
|
|
963
888
|
{
|
|
964
889
|
addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
|
|
@@ -967,37 +892,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
967
892
|
}
|
|
968
893
|
return elm;
|
|
969
894
|
};
|
|
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
|
-
};
|
|
990
895
|
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
991
896
|
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
992
897
|
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
|
-
}
|
|
1001
898
|
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
1002
899
|
const childNode = oldSlotChildNodes[i2];
|
|
1003
900
|
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
@@ -1019,9 +916,6 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
1019
916
|
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
1020
917
|
containerElm = containerElm.shadowRoot;
|
|
1021
918
|
}
|
|
1022
|
-
if (parentVNode.$tag$ === "template") {
|
|
1023
|
-
containerElm = containerElm.content;
|
|
1024
|
-
}
|
|
1025
919
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
1026
920
|
if (vnodes[startIdx]) {
|
|
1027
921
|
childNode = createElm(null, parentVNode, startIdx);
|
|
@@ -1065,7 +959,6 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1065
959
|
let newEndVnode = newCh[newEndIdx];
|
|
1066
960
|
let node;
|
|
1067
961
|
let elmToMove;
|
|
1068
|
-
const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
|
|
1069
962
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
1070
963
|
if (oldStartVnode == null) {
|
|
1071
964
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
@@ -1088,7 +981,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1088
981
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
1089
982
|
}
|
|
1090
983
|
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
1091
|
-
insertBefore(
|
|
984
|
+
insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
1092
985
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
1093
986
|
newEndVnode = newCh[--newEndIdx];
|
|
1094
987
|
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
@@ -1096,7 +989,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1096
989
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
1097
990
|
}
|
|
1098
991
|
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
1099
|
-
insertBefore(
|
|
992
|
+
insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
1100
993
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
1101
994
|
newStartVnode = newCh[++newStartIdx];
|
|
1102
995
|
} else {
|
|
@@ -1170,17 +1063,11 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1170
1063
|
const tag = newVNode2.$tag$;
|
|
1171
1064
|
const text = newVNode2.$text$;
|
|
1172
1065
|
let defaultHolder;
|
|
1173
|
-
if (text
|
|
1066
|
+
if (text === null) {
|
|
1174
1067
|
{
|
|
1175
1068
|
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
1176
1069
|
}
|
|
1177
1070
|
{
|
|
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
|
-
}
|
|
1184
1071
|
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
1185
1072
|
}
|
|
1186
1073
|
if (oldChildren !== null && newChildren !== null) {
|
|
@@ -1217,7 +1104,7 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
1217
1104
|
const slotName = childNode["s-sn"];
|
|
1218
1105
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1219
1106
|
node = hostContentNodes[j];
|
|
1220
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (
|
|
1107
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (true)) {
|
|
1221
1108
|
if (isNodeLocatedInSlot(node, slotName)) {
|
|
1222
1109
|
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1223
1110
|
checkSlotFallbackVisibility = true;
|
|
@@ -1257,39 +1144,15 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
1257
1144
|
};
|
|
1258
1145
|
var nullifyVNodeRefs = (vNode) => {
|
|
1259
1146
|
{
|
|
1260
|
-
|
|
1261
|
-
refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
|
|
1262
|
-
}
|
|
1147
|
+
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
1263
1148
|
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
1264
1149
|
}
|
|
1265
1150
|
};
|
|
1266
|
-
var
|
|
1267
|
-
{
|
|
1268
|
-
|
|
1151
|
+
var insertBefore = (parent, newNode, reference) => {
|
|
1152
|
+
if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
|
|
1153
|
+
addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
|
|
1269
1154
|
}
|
|
1270
|
-
};
|
|
1271
|
-
var flushQueuedRefCallbacks = () => {
|
|
1272
1155
|
{
|
|
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 {
|
|
1293
1156
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
1294
1157
|
}
|
|
1295
1158
|
};
|
|
@@ -1315,7 +1178,7 @@ function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
|
1315
1178
|
}
|
|
1316
1179
|
}
|
|
1317
1180
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
1318
|
-
var _a, _b, _c, _d
|
|
1181
|
+
var _a, _b, _c, _d;
|
|
1319
1182
|
const hostElm = hostRef.$hostElement$;
|
|
1320
1183
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1321
1184
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
@@ -1359,27 +1222,19 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1359
1222
|
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
1360
1223
|
const orgLocationNode = win.document.createTextNode("");
|
|
1361
1224
|
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
1362
|
-
insertBefore(
|
|
1363
|
-
nodeToRelocate.parentNode,
|
|
1364
|
-
nodeToRelocate["s-ol"] = orgLocationNode,
|
|
1365
|
-
nodeToRelocate,
|
|
1366
|
-
isInitialLoad
|
|
1367
|
-
);
|
|
1225
|
+
insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
|
|
1368
1226
|
}
|
|
1369
1227
|
}
|
|
1370
1228
|
for (const relocateData of relocateNodes) {
|
|
1371
1229
|
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1372
1230
|
const slotRefNode = relocateData.$slotRefNode$;
|
|
1373
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
|
|
1374
|
-
nodeToRelocate["s-ih"] = (_a = nodeToRelocate.hidden) != null ? _a : false;
|
|
1375
|
-
}
|
|
1376
1231
|
if (slotRefNode) {
|
|
1377
1232
|
const parentNodeRef = slotRefNode.parentNode;
|
|
1378
1233
|
let insertBeforeNode = slotRefNode.nextSibling;
|
|
1379
|
-
|
|
1380
|
-
let orgLocationNode = (
|
|
1234
|
+
{
|
|
1235
|
+
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
|
1381
1236
|
while (orgLocationNode) {
|
|
1382
|
-
let refNode = (
|
|
1237
|
+
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
|
1383
1238
|
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
|
1384
1239
|
refNode = refNode.nextSibling;
|
|
1385
1240
|
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
@@ -1397,26 +1252,23 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1397
1252
|
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
1398
1253
|
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
1399
1254
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
1400
|
-
|
|
1401
|
-
|
|
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);
|
|
1255
|
+
if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
|
|
1256
|
+
nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
|
|
1411
1257
|
}
|
|
1258
|
+
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
1412
1259
|
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
1413
|
-
nodeToRelocate.hidden = (
|
|
1260
|
+
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
|
1414
1261
|
}
|
|
1415
1262
|
}
|
|
1416
1263
|
}
|
|
1417
1264
|
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
|
1418
|
-
} else
|
|
1419
|
-
nodeToRelocate.
|
|
1265
|
+
} else {
|
|
1266
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1267
|
+
if (isInitialLoad) {
|
|
1268
|
+
nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
|
|
1269
|
+
}
|
|
1270
|
+
nodeToRelocate.hidden = true;
|
|
1271
|
+
}
|
|
1420
1272
|
}
|
|
1421
1273
|
}
|
|
1422
1274
|
}
|
|
@@ -1426,26 +1278,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1426
1278
|
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
1427
1279
|
relocateNodes.length = 0;
|
|
1428
1280
|
}
|
|
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
|
-
}
|
|
1447
1281
|
contentRef = void 0;
|
|
1448
|
-
flushQueuedRefCallbacks();
|
|
1449
1282
|
};
|
|
1450
1283
|
|
|
1451
1284
|
// src/runtime/update-component.ts
|
|
@@ -1491,10 +1324,6 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1491
1324
|
let maybePromise;
|
|
1492
1325
|
if (isInitialLoad) {
|
|
1493
1326
|
{
|
|
1494
|
-
if (hostRef.$deferredConnectedCallback$) {
|
|
1495
|
-
hostRef.$deferredConnectedCallback$ = false;
|
|
1496
|
-
safeCall(instance, "connectedCallback", void 0, elm);
|
|
1497
|
-
}
|
|
1498
1327
|
{
|
|
1499
1328
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
1500
1329
|
if (hostRef.$queuedListeners$) {
|
|
@@ -1514,8 +1343,8 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1514
1343
|
endSchedule();
|
|
1515
1344
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1516
1345
|
};
|
|
1517
|
-
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((
|
|
1518
|
-
console.error(
|
|
1346
|
+
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
|
|
1347
|
+
console.error(err2);
|
|
1519
1348
|
fn();
|
|
1520
1349
|
}) : fn();
|
|
1521
1350
|
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
@@ -1543,7 +1372,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1543
1372
|
if (childrenPromises.length === 0) {
|
|
1544
1373
|
postUpdate();
|
|
1545
1374
|
} else {
|
|
1546
|
-
Promise.all(childrenPromises).then(postUpdate)
|
|
1375
|
+
Promise.all(childrenPromises).then(postUpdate);
|
|
1547
1376
|
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
1548
1377
|
childrenPromises.length = 0;
|
|
1549
1378
|
}
|
|
@@ -1649,35 +1478,25 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1649
1478
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1650
1479
|
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
1651
1480
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1652
|
-
if (
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
watchMethods
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
|
|
1662
|
-
});
|
|
1663
|
-
} else {
|
|
1664
|
-
instance[watchMethodName](newVal, oldVal, propName);
|
|
1665
|
-
}
|
|
1481
|
+
if (instance) {
|
|
1482
|
+
if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
|
1483
|
+
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1484
|
+
if (watchMethods) {
|
|
1485
|
+
watchMethods.map((watchMethodName) => {
|
|
1486
|
+
try {
|
|
1487
|
+
instance[watchMethodName](newVal, oldVal, propName);
|
|
1488
|
+
} catch (e) {
|
|
1489
|
+
consoleError(e, elm);
|
|
1666
1490
|
}
|
|
1667
|
-
}
|
|
1668
|
-
consoleError(e, elm);
|
|
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;
|
|
1491
|
+
});
|
|
1678
1492
|
}
|
|
1679
1493
|
}
|
|
1680
|
-
if (
|
|
1494
|
+
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1495
|
+
if (instance.componentShouldUpdate) {
|
|
1496
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
1497
|
+
return;
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1681
1500
|
scheduleUpdate(hostRef, false);
|
|
1682
1501
|
}
|
|
1683
1502
|
}
|
|
@@ -1691,7 +1510,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1691
1510
|
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
1692
1511
|
{
|
|
1693
1512
|
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
1694
|
-
cmpMeta.$watchers$ =
|
|
1513
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1695
1514
|
}
|
|
1696
1515
|
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
1697
1516
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
@@ -1703,7 +1522,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1703
1522
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1704
1523
|
members.map(([memberName, [memberFlags]]) => {
|
|
1705
1524
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1706
|
-
const { get: origGetter, set: origSetter } =
|
|
1525
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
1707
1526
|
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1708
1527
|
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1709
1528
|
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
@@ -1804,26 +1623,23 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1804
1623
|
return;
|
|
1805
1624
|
} else if (propName == null) {
|
|
1806
1625
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
1807
|
-
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
|
|
1626
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
|
1808
1627
|
const instance = hostRef.$lazyInstance$ ;
|
|
1809
1628
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
1810
|
-
entry == null ? void 0 : entry.forEach((
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
1629
|
+
entry == null ? void 0 : entry.forEach((callbackName) => {
|
|
1630
|
+
if (instance[callbackName] != null) {
|
|
1631
|
+
instance[callbackName].call(instance, newValue, oldValue, attrName);
|
|
1814
1632
|
}
|
|
1815
1633
|
});
|
|
1816
1634
|
}
|
|
1817
1635
|
return;
|
|
1818
1636
|
}
|
|
1819
1637
|
const propFlags = members.find(([m]) => m === propName);
|
|
1820
|
-
|
|
1821
|
-
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
1822
|
-
if (isBooleanTarget) {
|
|
1638
|
+
if (propFlags && propFlags[1][0] & 4 /* Boolean */) {
|
|
1823
1639
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
1824
1640
|
}
|
|
1825
1641
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1826
|
-
if (
|
|
1642
|
+
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1827
1643
|
this[propName] = newValue;
|
|
1828
1644
|
}
|
|
1829
1645
|
});
|
|
@@ -1850,88 +1666,72 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1850
1666
|
// src/runtime/initialize-component.ts
|
|
1851
1667
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1852
1668
|
let Cstr;
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
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$);
|
|
1879
|
-
{
|
|
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
|
-
}
|
|
1669
|
+
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1670
|
+
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1671
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1672
|
+
if (bundleId) {
|
|
1673
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
1674
|
+
if (CstrImport && "then" in CstrImport) {
|
|
1675
|
+
const endLoad = uniqueTime();
|
|
1676
|
+
Cstr = await CstrImport;
|
|
1677
|
+
endLoad();
|
|
1900
1678
|
} else {
|
|
1901
|
-
Cstr =
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
1912
|
-
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
1913
|
-
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1914
|
-
endRegisterStyles();
|
|
1679
|
+
Cstr = CstrImport;
|
|
1680
|
+
}
|
|
1681
|
+
if (!Cstr) {
|
|
1682
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1683
|
+
}
|
|
1684
|
+
if (!Cstr.isProxied) {
|
|
1685
|
+
{
|
|
1686
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1687
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
1688
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
1915
1689
|
}
|
|
1690
|
+
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1691
|
+
Cstr.isProxied = true;
|
|
1916
1692
|
}
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
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
|
+
}
|
|
1708
|
+
endNewInstance();
|
|
1709
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1922
1710
|
} else {
|
|
1923
|
-
|
|
1711
|
+
Cstr = elm.constructor;
|
|
1712
|
+
const cmpTag = elm.localName;
|
|
1713
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1924
1714
|
}
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1715
|
+
if (Cstr && Cstr.style) {
|
|
1716
|
+
let style;
|
|
1717
|
+
if (typeof Cstr.style === "string") {
|
|
1718
|
+
style = Cstr.style;
|
|
1719
|
+
}
|
|
1720
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
1721
|
+
if (!styles.has(scopeId2)) {
|
|
1722
|
+
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
1723
|
+
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1724
|
+
endRegisterStyles();
|
|
1725
|
+
}
|
|
1933
1726
|
}
|
|
1934
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
|
+
}
|
|
1935
1735
|
};
|
|
1936
1736
|
var fireConnectedCallback = (instance, elm) => {
|
|
1937
1737
|
{
|
|
@@ -1967,7 +1767,7 @@ var connectedCallback = (elm) => {
|
|
|
1967
1767
|
}
|
|
1968
1768
|
if (cmpMeta.$members$) {
|
|
1969
1769
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1970
|
-
if (memberFlags & 31 /* Prop */ && Object.prototype
|
|
1770
|
+
if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
|
|
1971
1771
|
const value = elm[memberName];
|
|
1972
1772
|
delete elm[memberName];
|
|
1973
1773
|
elm[memberName] = value;
|
|
@@ -2048,7 +1848,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2048
1848
|
let hasSlotRelocation = false;
|
|
2049
1849
|
lazyBundles.map((lazyBundle) => {
|
|
2050
1850
|
lazyBundle[1].map((compactMeta) => {
|
|
2051
|
-
var _a2, _b;
|
|
1851
|
+
var _a2, _b, _c;
|
|
2052
1852
|
const cmpMeta = {
|
|
2053
1853
|
$flags$: compactMeta[0],
|
|
2054
1854
|
$tagName$: compactMeta[1],
|
|
@@ -2068,18 +1868,16 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2068
1868
|
cmpMeta.$attrsToReflect$ = [];
|
|
2069
1869
|
}
|
|
2070
1870
|
{
|
|
2071
|
-
cmpMeta.$watchers$ =
|
|
2072
|
-
cmpMeta.$serializers$ = (
|
|
2073
|
-
cmpMeta.$deserializers$ = (
|
|
1871
|
+
cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
|
|
1872
|
+
cmpMeta.$serializers$ = (_b = compactMeta[5]) != null ? _b : {};
|
|
1873
|
+
cmpMeta.$deserializers$ = (_c = compactMeta[6]) != null ? _c : {};
|
|
2074
1874
|
}
|
|
2075
|
-
const tagName =
|
|
1875
|
+
const tagName = cmpMeta.$tagName$;
|
|
2076
1876
|
const HostElement = class extends HTMLElement {
|
|
2077
|
-
["s-p"];
|
|
2078
|
-
["s-rc"];
|
|
2079
|
-
hasRegisteredEventListeners = false;
|
|
2080
1877
|
// StencilLazyHost
|
|
2081
1878
|
constructor(self) {
|
|
2082
1879
|
super(self);
|
|
1880
|
+
this.hasRegisteredEventListeners = false;
|
|
2083
1881
|
self = this;
|
|
2084
1882
|
registerHost(self, cmpMeta);
|
|
2085
1883
|
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
@@ -2211,8 +2009,8 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
2211
2009
|
|
|
2212
2010
|
// src/runtime/nonce.ts
|
|
2213
2011
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
2214
|
-
function transformTag(tag) {
|
|
2215
|
-
return tag;
|
|
2216
|
-
}
|
|
2217
2012
|
|
|
2218
2013
|
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-nb89SRN6.js.map
|
|
2015
|
+
|
|
2016
|
+
//# sourceMappingURL=index-nb89SRN6.js.map
|