@biggive/components 0.0.20 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/biggive/assets/images/logo-biggive-black.svg +6 -0
- package/dist/biggive/assets/images/quote.svg +4 -0
- package/dist/biggive/assets/images/triangles-combined.svg +5 -0
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/p-068c6901.entry.js +1 -0
- package/dist/biggive/p-1805f9ab.js +2 -0
- package/dist/biggive/p-19aac764.entry.js +1 -0
- package/dist/biggive/p-278fbc22.entry.js +1 -0
- package/dist/biggive/p-293fa43e.entry.js +1 -0
- package/dist/biggive/p-29921058.entry.js +1 -0
- package/dist/biggive/p-2c7ccc17.entry.js +1 -0
- package/dist/biggive/p-2d9408d3.entry.js +1 -0
- package/dist/biggive/p-3670bfe5.entry.js +1 -0
- package/dist/biggive/p-43c02e71.js +6 -0
- package/dist/biggive/p-46a368de.entry.js +1 -0
- package/dist/biggive/p-558ebb94.entry.js +1 -0
- package/dist/biggive/p-664bfe6e.entry.js +1 -0
- package/dist/biggive/p-7637ac94.entry.js +1 -0
- package/dist/biggive/p-78129441.entry.js +1 -0
- package/dist/biggive/p-8b5487c1.entry.js +1 -0
- package/dist/biggive/p-9125d753.entry.js +1 -0
- package/dist/biggive/p-a62e9af0.entry.js +1 -0
- package/dist/biggive/p-a6da36d4.js +6 -0
- package/dist/biggive/p-ab82bcf1.entry.js +1 -0
- package/dist/biggive/p-b4d5f946.entry.js +1 -0
- package/dist/biggive/p-c84740c3.entry.js +1 -0
- package/dist/biggive/p-cc6e33a6.entry.js +1 -0
- package/dist/biggive/p-db3da9bb.entry.js +1 -0
- package/dist/biggive/p-e0347718.entry.js +1 -0
- package/dist/biggive/p-e39db89c.entry.js +1 -0
- package/dist/biggive/p-ea35e2fe.entry.js +1 -0
- package/dist/biggive/p-ef6c1ed4.entry.js +1 -0
- package/dist/biggive/p-faa6817c.entry.js +1 -0
- package/dist/cjs/biggive-back-to-top_11.cjs.entry.js +365 -0
- package/dist/cjs/biggive-basic-card.cjs.entry.js +55 -0
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +45 -0
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +48 -0
- package/dist/cjs/biggive-branded-image.cjs.entry.js +35 -0
- package/dist/cjs/biggive-call-to-action.cjs.entry.js +83 -0
- package/dist/cjs/biggive-campaign-card-filter-grid.cjs.entry.js +50 -0
- package/dist/cjs/biggive-campaign-card.cjs.entry.js +97 -0
- package/dist/cjs/biggive-category-icon.cjs.entry.js +45 -0
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +19 -0
- package/dist/cjs/biggive-form.cjs.entry.js +19 -0
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +27 -0
- package/dist/cjs/biggive-grid.cjs.entry.js +31 -0
- package/dist/cjs/biggive-hero-image.cjs.entry.js +73 -0
- package/dist/cjs/biggive-icon-group.cjs.entry.js +27 -0
- package/dist/cjs/biggive-image-feature.cjs.entry.js +67 -0
- package/dist/cjs/biggive-image.cjs.entry.js +27 -0
- package/dist/cjs/biggive-page-section.cjs.entry.js +35 -0
- package/dist/cjs/biggive-quote.cjs.entry.js +35 -0
- package/dist/cjs/biggive-search.cjs.entry.js +36 -0
- package/dist/cjs/biggive-tab.cjs.entry.js +23 -0
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +27 -0
- package/dist/cjs/biggive-text-input.cjs.entry.js +19 -0
- package/dist/cjs/biggive-totalizer.cjs.entry.js +69 -0
- package/dist/cjs/biggive-video-feature.cjs.entry.js +67 -0
- package/dist/cjs/biggive-video.cjs.entry.js +27 -0
- package/dist/cjs/biggive.cjs.js +2 -2
- package/dist/cjs/fontawesome-icons-110f532d.js +240 -0
- package/dist/cjs/{index-8692cc53.js → index-87518c3f.js} +339 -3
- package/dist/{components/biggive-campaign-card2.js → cjs/index.es-d3570170.js} +62 -293
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/images/logo-biggive-black.svg +6 -0
- package/dist/collection/assets/images/quote.svg +4 -0
- package/dist/collection/assets/images/triangles-combined.svg +5 -0
- package/dist/collection/collection-manifest.json +34 -1
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.css +413 -0
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +17 -0
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.stories.js +8 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +433 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +226 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.stories.js +67 -0
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +474 -0
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +137 -0
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.stories.js +49 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +408 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +138 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.stories.js +60 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +425 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +111 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.stories.js +37 -0
- package/dist/collection/components/biggive-button/biggive-button.css +411 -0
- package/dist/collection/components/biggive-button/biggive-button.js +129 -0
- package/dist/collection/components/biggive-button/biggive-button.stories.js +42 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +439 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +380 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.stories.js +124 -0
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +423 -108
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +191 -128
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.stories.js +105 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +438 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +151 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +43 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +477 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +339 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.stories.js +89 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +474 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +137 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.stories.js +49 -0
- package/dist/collection/components/biggive-footer/biggive-footer.css +458 -0
- package/dist/collection/components/biggive-footer/biggive-footer.js +68 -0
- package/dist/collection/components/biggive-footer/biggive-footer.stories.js +27 -0
- package/dist/collection/components/biggive-form/biggive-form.css +3 -0
- package/dist/collection/components/biggive-form/biggive-form.js +15 -0
- package/dist/collection/components/{demo-campaign-cards/demo-campaign-cards.css → biggive-form-field-select/biggive-form-field-select.css} +0 -0
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +15 -0
- package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.css +3 -0
- package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.js +15 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +409 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +63 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.stories.js +52 -0
- package/dist/collection/components/biggive-grid/biggive-grid.css +421 -2
- package/dist/collection/components/biggive-grid/biggive-grid.js +73 -3
- package/dist/collection/components/biggive-grid/biggive-grid.stories.js +109 -0
- package/dist/collection/components/biggive-header/biggive-header.css +488 -0
- package/dist/collection/components/biggive-header/biggive-header.js +77 -0
- package/dist/collection/components/biggive-header/biggive-header.stories.js +20 -0
- package/dist/collection/components/biggive-heading/biggive-heading.css +445 -0
- package/dist/collection/components/biggive-heading/biggive-heading.js +130 -0
- package/dist/collection/components/biggive-heading/biggive-heading.stories.js +51 -0
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +489 -0
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +317 -0
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.stories.js +34 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.css +417 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +65 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.stories.js +26 -0
- package/dist/collection/components/biggive-image/biggive-image.css +405 -0
- package/dist/collection/components/biggive-image/biggive-image.js +64 -0
- package/dist/collection/components/biggive-image/biggive-image.stories.js +26 -0
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +436 -0
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +290 -0
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.stories.js +96 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +458 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +113 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.stories.js +44 -0
- package/dist/collection/components/biggive-page-column/biggive-page-column.css +3 -0
- package/dist/collection/components/biggive-page-column/biggive-page-column.js +14 -0
- package/dist/collection/components/biggive-page-column/biggive-page-column.stories.js +18 -0
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.css +422 -0
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +45 -0
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.stories.js +21 -0
- package/dist/collection/components/biggive-page-section/biggive-page-section.css +500 -0
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +108 -0
- package/dist/collection/components/biggive-page-section/biggive-page-section.stories.js +48 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +403 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +92 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.stories.js +35 -0
- package/dist/collection/components/biggive-quote/biggive-quote.css +417 -0
- package/dist/collection/components/biggive-quote/biggive-quote.js +108 -0
- package/dist/collection/components/biggive-quote/biggive-quote.stories.js +42 -0
- package/dist/collection/components/biggive-search/biggive-search.css +492 -0
- package/dist/collection/components/biggive-search/biggive-search.js +99 -0
- package/dist/collection/components/biggive-search/biggive-search.stories.js +15 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +458 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +113 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.stories.js +44 -0
- package/dist/collection/components/biggive-tab/biggive-tab.css +405 -0
- package/dist/collection/components/biggive-tab/biggive-tab.js +43 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +405 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +63 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.stories.js +37 -0
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +427 -0
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +239 -0
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.stories.js +77 -0
- package/dist/collection/components/biggive-video/biggive-video.css +405 -0
- package/dist/collection/components/biggive-video/biggive-video.js +64 -0
- package/dist/collection/components/biggive-video/biggive-video.stories.js +26 -0
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +436 -0
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +290 -0
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.stories.js +96 -0
- package/dist/collection/util/{campaign-groups.js → fontawesome-icons.js} +52 -6
- package/dist/components/biggive-back-to-top.d.ts +11 -0
- package/dist/components/biggive-back-to-top.js +33 -0
- package/dist/components/biggive-basic-card.d.ts +11 -0
- package/dist/components/biggive-basic-card.js +85 -0
- package/dist/components/biggive-beneficiary-icon.d.ts +11 -0
- package/dist/components/biggive-beneficiary-icon.js +63 -0
- package/dist/components/biggive-boxed-content.d.ts +11 -0
- package/dist/components/biggive-boxed-content.js +68 -0
- package/dist/components/biggive-branded-image.d.ts +11 -0
- package/dist/components/biggive-branded-image.js +54 -0
- package/dist/components/biggive-button.d.ts +11 -0
- package/dist/components/biggive-button.js +6 -0
- package/dist/components/biggive-button2.js +56 -0
- package/dist/components/biggive-call-to-action.d.ts +11 -0
- package/dist/components/biggive-call-to-action.js +120 -0
- package/dist/components/biggive-campaign-card-filter-grid.d.ts +11 -0
- package/dist/components/biggive-campaign-card-filter-grid.js +70 -0
- package/dist/components/biggive-campaign-card.js +136 -1
- package/dist/components/biggive-campaign-highlights.d.ts +11 -0
- package/dist/components/biggive-campaign-highlights.js +125 -0
- package/dist/components/biggive-category-icon.d.ts +11 -0
- package/dist/components/biggive-category-icon.js +63 -0
- package/dist/components/biggive-footer.d.ts +11 -0
- package/dist/components/biggive-footer.js +71 -0
- package/dist/components/biggive-form-field-select.d.ts +11 -0
- package/dist/components/biggive-form-field-select.js +33 -0
- package/dist/components/biggive-form.d.ts +11 -0
- package/dist/components/biggive-form.js +33 -0
- package/dist/components/biggive-formatted-text.d.ts +11 -0
- package/dist/components/biggive-formatted-text.js +44 -0
- package/dist/components/biggive-grid.js +44 -1
- package/dist/components/biggive-header.d.ts +11 -0
- package/dist/components/biggive-header.js +63 -0
- package/dist/components/biggive-heading.d.ts +11 -0
- package/dist/components/biggive-heading.js +60 -0
- package/dist/components/biggive-hero-image.d.ts +11 -0
- package/dist/components/biggive-hero-image.js +107 -0
- package/dist/components/biggive-icon-group.d.ts +11 -0
- package/dist/components/biggive-icon-group.js +44 -0
- package/dist/components/biggive-image-feature.d.ts +11 -0
- package/dist/components/biggive-image-feature.js +100 -0
- package/dist/components/biggive-image.d.ts +11 -0
- package/dist/components/biggive-image.js +44 -0
- package/dist/components/biggive-misc-icon.d.ts +11 -0
- package/dist/components/biggive-misc-icon.js +6 -0
- package/dist/components/biggive-misc-icon2.js +55 -0
- package/dist/components/{demo-campaign-cards.d.ts → biggive-page-column.d.ts} +4 -4
- package/dist/components/biggive-page-column.js +33 -0
- package/dist/components/biggive-page-columns.d.ts +11 -0
- package/dist/components/biggive-page-columns.js +39 -0
- package/dist/components/biggive-page-section.d.ts +11 -0
- package/dist/components/biggive-page-section.js +54 -0
- package/dist/components/biggive-progress-bar.d.ts +11 -0
- package/dist/components/biggive-progress-bar.js +6 -0
- package/dist/components/biggive-progress-bar2.js +49 -0
- package/dist/components/biggive-quote.d.ts +11 -0
- package/dist/components/biggive-quote.js +54 -0
- package/dist/components/biggive-search.d.ts +11 -0
- package/dist/components/biggive-search.js +54 -0
- package/dist/components/biggive-social-icon.d.ts +11 -0
- package/dist/components/biggive-social-icon.js +6 -0
- package/dist/components/biggive-social-icon2.js +55 -0
- package/dist/components/biggive-tab.d.ts +11 -0
- package/dist/components/biggive-tab.js +39 -0
- package/dist/components/biggive-tabbed-content.d.ts +11 -0
- package/dist/components/biggive-tabbed-content.js +44 -0
- package/dist/components/biggive-text-input.d.ts +11 -0
- package/dist/components/biggive-text-input.js +33 -0
- package/dist/components/biggive-totalizer.d.ts +11 -0
- package/dist/components/biggive-totalizer.js +93 -0
- package/dist/components/biggive-video-feature.d.ts +11 -0
- package/dist/components/biggive-video-feature.js +100 -0
- package/dist/components/biggive-video.d.ts +11 -0
- package/dist/components/biggive-video.js +44 -0
- package/dist/components/fontawesome-icons.js +238 -0
- package/dist/components/index.d.ts +34 -1
- package/dist/{esm/biggive-campaign-card_3.entry.js → components/index.es.js} +31 -289
- package/dist/components/index.js +34 -1
- package/dist/esm/biggive-back-to-top_11.entry.js +351 -0
- package/dist/esm/biggive-basic-card.entry.js +51 -0
- package/dist/esm/biggive-beneficiary-icon.entry.js +41 -0
- package/dist/esm/biggive-boxed-content.entry.js +44 -0
- package/dist/esm/biggive-branded-image.entry.js +31 -0
- package/dist/esm/biggive-call-to-action.entry.js +79 -0
- package/dist/esm/biggive-campaign-card-filter-grid.entry.js +46 -0
- package/dist/esm/biggive-campaign-card.entry.js +93 -0
- package/dist/esm/biggive-category-icon.entry.js +41 -0
- package/dist/esm/biggive-form-field-select.entry.js +15 -0
- package/dist/esm/biggive-form.entry.js +15 -0
- package/dist/esm/biggive-formatted-text.entry.js +23 -0
- package/dist/esm/biggive-grid.entry.js +27 -0
- package/dist/esm/biggive-hero-image.entry.js +69 -0
- package/dist/esm/biggive-icon-group.entry.js +23 -0
- package/dist/esm/biggive-image-feature.entry.js +63 -0
- package/dist/esm/biggive-image.entry.js +23 -0
- package/dist/esm/biggive-page-section.entry.js +31 -0
- package/dist/esm/biggive-quote.entry.js +31 -0
- package/dist/esm/biggive-search.entry.js +32 -0
- package/dist/esm/biggive-tab.entry.js +19 -0
- package/dist/esm/biggive-tabbed-content.entry.js +23 -0
- package/dist/esm/biggive-text-input.entry.js +15 -0
- package/dist/esm/biggive-totalizer.entry.js +65 -0
- package/dist/esm/biggive-video-feature.entry.js +63 -0
- package/dist/esm/biggive-video.entry.js +23 -0
- package/dist/esm/biggive.js +2 -2
- package/dist/esm/fontawesome-icons-e232deb7.js +238 -0
- package/dist/esm/{index-4c3bc0b8.js → index-4395d470.js} +337 -4
- package/dist/{cjs/biggive-campaign-card_3.cjs.entry.js → esm/index.es-64a64fa8.js} +31 -295
- package/dist/esm/loader.js +2 -2
- package/dist/types/components/biggive-back-to-top/biggive-back-to-top.d.ts +3 -0
- package/dist/types/components/biggive-back-to-top/biggive-back-to-top.stories.d.ts +5 -0
- package/dist/types/components/biggive-basic-card/biggive-basic-card.d.ts +39 -0
- package/dist/types/components/biggive-basic-card/biggive-basic-card.stories.d.ts +43 -0
- package/dist/types/components/biggive-beneficiary-icon/biggive-beneficiary-icon.d.ts +24 -0
- package/dist/types/components/biggive-beneficiary-icon/biggive-beneficiary-icon.stories.d.ts +34 -0
- package/dist/types/components/biggive-boxed-content/biggive-boxed-content.d.ts +23 -0
- package/dist/types/components/biggive-boxed-content/biggive-boxed-content.stories.d.ts +38 -0
- package/dist/types/components/biggive-branded-image/biggive-branded-image.d.ts +19 -0
- package/dist/types/components/biggive-branded-image/biggive-branded-image.stories.d.ts +23 -0
- package/dist/types/components/biggive-button/biggive-button.d.ts +23 -0
- package/dist/types/components/biggive-button/biggive-button.stories.d.ts +27 -0
- package/dist/types/components/biggive-call-to-action/biggive-call-to-action.d.ts +67 -0
- package/dist/types/components/biggive-call-to-action/biggive-call-to-action.stories.d.ts +87 -0
- package/dist/types/components/biggive-campaign-card/biggive-campaign-card.d.ts +38 -26
- package/dist/types/components/biggive-campaign-card/biggive-campaign-card.stories.d.ts +70 -0
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +30 -0
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.d.ts +5 -0
- package/dist/types/components/biggive-campaign-highlights/biggive-campaign-highlights.d.ts +59 -0
- package/dist/types/components/biggive-campaign-highlights/biggive-campaign-highlights.stories.d.ts +58 -0
- package/dist/types/components/biggive-category-icon/biggive-category-icon.d.ts +24 -0
- package/dist/types/components/biggive-category-icon/biggive-category-icon.stories.d.ts +34 -0
- package/dist/types/components/biggive-footer/biggive-footer.d.ts +4 -0
- package/dist/types/components/{demo-campaign-cards/demo-campaign-cards.stories.d.ts → biggive-footer/biggive-footer.stories.d.ts} +1 -1
- package/dist/types/components/biggive-form/biggive-form.d.ts +3 -0
- package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +3 -0
- package/dist/types/components/biggive-form-field-text-input/biggive-text-input.d.ts +3 -0
- package/dist/types/components/biggive-formatted-text/biggive-formatted-text.d.ts +11 -0
- package/dist/types/components/biggive-formatted-text/biggive-formatted-text.stories.d.ts +21 -0
- package/dist/types/components/biggive-grid/biggive-grid.d.ts +12 -0
- package/dist/types/components/biggive-grid/biggive-grid.stories.d.ts +28 -0
- package/dist/types/components/biggive-header/biggive-header.d.ts +8 -0
- package/dist/types/components/biggive-header/biggive-header.stories.d.ts +5 -0
- package/dist/types/components/biggive-heading/biggive-heading.d.ts +23 -0
- package/dist/types/components/biggive-heading/biggive-heading.stories.d.ts +35 -0
- package/dist/types/components/biggive-hero-image/biggive-hero-image.d.ts +55 -0
- package/dist/types/components/biggive-hero-image/biggive-hero-image.stories.d.ts +5 -0
- package/dist/types/components/biggive-icon-group/biggive-icon-group.d.ts +11 -0
- package/dist/types/components/biggive-icon-group/biggive-icon-group.stories.d.ts +14 -0
- package/dist/types/components/biggive-image/biggive-image.d.ts +11 -0
- package/dist/types/components/biggive-image/biggive-image.stories.d.ts +17 -0
- package/dist/types/components/biggive-image-feature/biggive-image-feature.d.ts +51 -0
- package/dist/types/components/biggive-image-feature/biggive-image-feature.stories.d.ts +67 -0
- package/dist/types/components/biggive-misc-icon/biggive-misc-icon.d.ts +20 -0
- package/dist/types/components/biggive-misc-icon/biggive-misc-icon.stories.d.ts +31 -0
- package/dist/types/components/biggive-page-column/biggive-page-column.d.ts +3 -0
- package/dist/types/components/biggive-page-column/biggive-page-column.stories.d.ts +14 -0
- package/dist/types/components/biggive-page-columns/biggive-page-columns.d.ts +7 -0
- package/dist/types/components/biggive-page-columns/biggive-page-columns.stories.d.ts +14 -0
- package/dist/types/components/biggive-page-section/biggive-page-section.d.ts +19 -0
- package/dist/types/components/biggive-page-section/biggive-page-section.stories.d.ts +35 -0
- package/dist/types/components/biggive-progress-bar/biggive-progress-bar.d.ts +16 -0
- package/dist/types/components/biggive-progress-bar/biggive-progress-bar.stories.d.ts +24 -0
- package/dist/types/components/biggive-quote/biggive-quote.d.ts +19 -0
- package/dist/types/components/biggive-quote/biggive-quote.stories.d.ts +27 -0
- package/dist/types/components/biggive-search/biggive-search.d.ts +23 -0
- package/dist/types/components/biggive-search/biggive-search.stories.d.ts +5 -0
- package/dist/types/components/biggive-social-icon/biggive-social-icon.d.ts +20 -0
- package/dist/types/components/biggive-social-icon/biggive-social-icon.stories.d.ts +31 -0
- package/dist/types/components/biggive-tab/biggive-tab.d.ts +7 -0
- package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.d.ts +11 -0
- package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.stories.d.ts +21 -0
- package/dist/types/components/biggive-totalizer/biggive-totalizer.d.ts +43 -0
- package/dist/types/components/biggive-totalizer/biggive-totalizer.stories.d.ts +54 -0
- package/dist/types/components/biggive-video/biggive-video.d.ts +11 -0
- package/dist/types/components/biggive-video/biggive-video.stories.d.ts +17 -0
- package/dist/types/components/biggive-video-feature/biggive-video-feature.d.ts +51 -0
- package/dist/types/components/biggive-video-feature/biggive-video-feature.stories.d.ts +67 -0
- package/dist/types/components.d.ts +1786 -77
- package/dist/types/util/{campaign-groups.d.ts → fontawesome-icons.d.ts} +11 -1
- package/hydrate/index.d.ts +217 -0
- package/hydrate/index.js +8646 -0
- package/hydrate/package.json +6 -0
- package/package.json +11 -9
- package/readme.md +5 -0
- package/dist/biggive/p-b6653b6d.entry.js +0 -11
- package/dist/biggive/p-ce3d5ebc.js +0 -2
- package/dist/collection/components/demo-campaign-cards/demo-campaign-cards.js +0 -14
- package/dist/collection/components/demo-campaign-cards/demo-campaign-cards.stories.js +0 -5
- package/dist/components/biggive-grid2.js +0 -30
- package/dist/components/demo-campaign-cards.js +0 -45
- package/dist/types/components/demo-campaign-cards/demo-campaign-cards.d.ts +0 -3
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { f as faChild, a as faUniversalAccess, b as faBaby, c as faRainbow, d as faBlind, e as faCampground, g as faVenus, h as faUserGraduate, i as faPlus, j as faAlarmClock, k as faHeart, l as faPaw, m as faMedal, n as faTheaterMasks, o as faRibbon, p as faPeopleCarry, q as faParachuteBox, r as faBook, s as faSeedling, t as faHeartbeat, u as faHomeHeart, v as faHospital, w as faBalanceScale, x as faInfoCircle, y as faMicroscope, z as faHeadSideMedical, A as faMortarPestle, B as faPlaceOfWorship, C as faFutbol } from './index.es-64a64fa8.js';
|
|
2
|
+
|
|
3
|
+
/*!
|
|
4
|
+
* Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
|
|
5
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
6
|
+
* Copyright 2022 Fonticons, Inc.
|
|
7
|
+
*/
|
|
8
|
+
var faAccessibleIcon = {
|
|
9
|
+
prefix: 'fab',
|
|
10
|
+
iconName: 'accessible-icon',
|
|
11
|
+
icon: [448, 512, [62107], "f368", "M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z"]
|
|
12
|
+
};
|
|
13
|
+
var faFacebookF = {
|
|
14
|
+
prefix: 'fab',
|
|
15
|
+
iconName: 'facebook-f',
|
|
16
|
+
icon: [320, 512, [], "f39e", "M279.1 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.4 0 225.4 0c-73.22 0-121.1 44.38-121.1 124.7v70.62H22.89V288h81.39v224h100.2V288z"]
|
|
17
|
+
};
|
|
18
|
+
var faInstagram = {
|
|
19
|
+
prefix: 'fab',
|
|
20
|
+
iconName: 'instagram',
|
|
21
|
+
icon: [448, 512, [], "f16d", "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]
|
|
22
|
+
};
|
|
23
|
+
var faLinkedinIn = {
|
|
24
|
+
prefix: 'fab',
|
|
25
|
+
iconName: 'linkedin-in',
|
|
26
|
+
icon: [448, 512, [], "f0e1", "M100.3 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.6 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.3 61.9 111.3 142.3V448z"]
|
|
27
|
+
};
|
|
28
|
+
var faTwitter = {
|
|
29
|
+
prefix: 'fab',
|
|
30
|
+
iconName: 'twitter',
|
|
31
|
+
icon: [512, 512, [], "f099", "M459.4 151.7c.325 4.548 .325 9.097 .325 13.65 0 138.7-105.6 298.6-298.6 298.6-59.45 0-114.7-17.22-161.1-47.11 8.447 .974 16.57 1.299 25.34 1.299 49.06 0 94.21-16.57 130.3-44.83-46.13-.975-84.79-31.19-98.11-72.77 6.498 .974 12.99 1.624 19.82 1.624 9.421 0 18.84-1.3 27.61-3.573-48.08-9.747-84.14-51.98-84.14-102.1v-1.299c13.97 7.797 30.21 12.67 47.43 13.32-28.26-18.84-46.78-51.01-46.78-87.39 0-19.49 5.197-37.36 14.29-52.95 51.65 63.67 129.3 105.3 216.4 109.8-1.624-7.797-2.599-15.92-2.599-24.04 0-57.83 46.78-104.9 104.9-104.9 30.21 0 57.5 12.67 76.67 33.14 23.72-4.548 46.46-13.32 66.6-25.34-7.798 24.37-24.37 44.83-46.13 57.83 21.12-2.273 41.58-8.122 60.43-16.24-14.29 20.79-32.16 39.31-52.63 54.25z"]
|
|
32
|
+
};
|
|
33
|
+
var faYoutube = {
|
|
34
|
+
prefix: 'fab',
|
|
35
|
+
iconName: 'youtube',
|
|
36
|
+
icon: [576, 512, [61802], "f167", "M549.7 124.1c-6.281-23.65-24.79-42.28-48.28-48.6C458.8 64 288 64 288 64S117.2 64 74.63 75.49c-23.5 6.322-42 24.95-48.28 48.6-11.41 42.87-11.41 132.3-11.41 132.3s0 89.44 11.41 132.3c6.281 23.65 24.79 41.5 48.28 47.82C117.2 448 288 448 288 448s170.8 0 213.4-11.49c23.5-6.321 42-24.17 48.28-47.82 11.41-42.87 11.41-132.3 11.41-132.3s0-89.44-11.41-132.3zm-317.5 213.5V175.2l142.7 81.21-142.7 81.2z"]
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/*!
|
|
40
|
+
* Font Awesome Pro 6.1.2 by @fontawesome - https://fontawesome.com
|
|
41
|
+
* License - https://fontawesome.com/license (Commercial License)
|
|
42
|
+
* Copyright 2022 Fonticons, Inc.
|
|
43
|
+
*/
|
|
44
|
+
var faUsers = {
|
|
45
|
+
prefix: 'fad',
|
|
46
|
+
iconName: 'users',
|
|
47
|
+
icon: [640, 512, [], "f0c0", ["M128 160c44.18 0 80-35.82 80-80S172.2 0 128 0C83.82 0 48 35.82 48 80S83.82 160 128 160zM512 160c44.18 0 80-35.82 80-80S556.2 0 512 0c-44.18 0-80 35.82-80 80S467.8 160 512 160zM551.9 192h-61.84c-12.8 0-24.88 3.037-35.86 8.24C454.8 205.5 455.8 210.6 455.8 216c0 33.71-12.78 64.21-33.16 88h199.7C632.1 304 640 295.6 640 285.3C640 233.8 600.6 192 551.9 192zM185.5 200.1C174.6 194.1 162.6 192 149.9 192H88.08C39.44 192 0 233.8 0 285.3C0 295.6 7.887 304 17.62 304h199.5c-20.38-23.79-33.16-54.29-33.16-88C183.9 210.6 184.9 205.4 185.5 200.1z", "M319.9 320c57.41 0 103.1-46.56 103.1-104c0-57.44-46.54-104-103.1-104c-57.41 0-103.1 46.56-103.1 104C215.9 273.4 262.5 320 319.9 320zM369.9 352H270.1C191.6 352 128 411.7 128 485.3C128 500.1 140.7 512 156.4 512h327.2C499.3 512 512 500.1 512 485.3C512 411.7 448.4 352 369.9 352z"]]
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
class FontAwesomeIconsService {
|
|
51
|
+
static getBeneficiaries() {
|
|
52
|
+
return [
|
|
53
|
+
{
|
|
54
|
+
name: 'Children (3-18)',
|
|
55
|
+
icon: faChild,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'General Public/Humankind',
|
|
59
|
+
icon: faUniversalAccess,
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'Infants (<2)',
|
|
63
|
+
icon: faBaby,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'LGBTQAI',
|
|
67
|
+
icon: faRainbow,
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'Minority Groups',
|
|
71
|
+
icon: faUsers,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'Older People',
|
|
75
|
+
icon: faBlind,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'People With Disabilities',
|
|
79
|
+
icon: faAccessibleIcon,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'Refugees/Asylum Seekers',
|
|
83
|
+
icon: faCampground,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'Women & Girls',
|
|
87
|
+
icon: faVenus,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'Young People (18-30)',
|
|
91
|
+
icon: faUserGraduate,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: 'Other',
|
|
95
|
+
icon: faPlus,
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
}
|
|
99
|
+
static getSocials() {
|
|
100
|
+
return [
|
|
101
|
+
{
|
|
102
|
+
name: 'Facebook',
|
|
103
|
+
icon: faFacebookF,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'Twitter',
|
|
107
|
+
icon: faTwitter,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: 'Instagram',
|
|
111
|
+
icon: faInstagram,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: 'YouTube',
|
|
115
|
+
icon: faYoutube,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'LinkedIn',
|
|
119
|
+
icon: faLinkedinIn,
|
|
120
|
+
},
|
|
121
|
+
];
|
|
122
|
+
}
|
|
123
|
+
static getMisc() {
|
|
124
|
+
return [
|
|
125
|
+
{
|
|
126
|
+
name: 'AlarmClock',
|
|
127
|
+
icon: faAlarmClock,
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'Heart',
|
|
131
|
+
icon: faHeart,
|
|
132
|
+
},
|
|
133
|
+
];
|
|
134
|
+
}
|
|
135
|
+
static getCategories() {
|
|
136
|
+
return [
|
|
137
|
+
{
|
|
138
|
+
name: 'Animals',
|
|
139
|
+
icon: faPaw,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'Armed Forces/Emergency Services',
|
|
143
|
+
icon: faMedal,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'Arts/Culture/Heritage',
|
|
147
|
+
icon: faTheaterMasks,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'Cancer',
|
|
151
|
+
icon: faRibbon,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'Community Support & Development',
|
|
155
|
+
icon: faPeopleCarry,
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: 'Disaster Relief',
|
|
159
|
+
icon: faParachuteBox,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'Education/Training/Employment',
|
|
163
|
+
icon: faBook,
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'Environment/Conservation',
|
|
167
|
+
icon: faSeedling,
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: 'Health/Wellbeing',
|
|
171
|
+
icon: faHeartbeat,
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: 'Homeless/Refuge',
|
|
175
|
+
icon: faHomeHeart,
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: 'Hospitals/Hospices',
|
|
179
|
+
icon: faHospital,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'Human Rights/Advocacy',
|
|
183
|
+
icon: faBalanceScale,
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: 'Information/Advice',
|
|
187
|
+
icon: faInfoCircle,
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
name: 'Medical Research',
|
|
191
|
+
icon: faMicroscope,
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: 'Mental Health',
|
|
195
|
+
icon: faHeadSideMedical,
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: 'Poverty Alleviation/Relief',
|
|
199
|
+
icon: faMortarPestle,
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: 'Religious',
|
|
203
|
+
icon: faPlaceOfWorship,
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: 'Sports/Recreation',
|
|
207
|
+
icon: faFutbol,
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
name: 'Other',
|
|
211
|
+
icon: faPlus,
|
|
212
|
+
},
|
|
213
|
+
];
|
|
214
|
+
}
|
|
215
|
+
static getBeneficiaryIcon(beneficiary) {
|
|
216
|
+
const matchingItems = FontAwesomeIconsService.getBeneficiaries().filter(ii => ii.name === beneficiary);
|
|
217
|
+
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
218
|
+
return matchingItems[0].icon || faPlus;
|
|
219
|
+
}
|
|
220
|
+
static getMiscIcon(misc) {
|
|
221
|
+
const matchingItems = FontAwesomeIconsService.getMisc().filter(ii => ii.name === misc);
|
|
222
|
+
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
223
|
+
return matchingItems[0].icon || faPlus;
|
|
224
|
+
}
|
|
225
|
+
static getSocialIcon(social) {
|
|
226
|
+
const matchingItems = FontAwesomeIconsService.getSocials().filter(ii => ii.name === social);
|
|
227
|
+
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
228
|
+
return matchingItems[0].icon || faPlus;
|
|
229
|
+
}
|
|
230
|
+
static getCategoryIcon(category) {
|
|
231
|
+
var _a;
|
|
232
|
+
const matchingItems = FontAwesomeIconsService.getCategories().filter(ii => ii.name === category);
|
|
233
|
+
// For an unknown/invalid category, show 'other' symbol.
|
|
234
|
+
return ((_a = matchingItems[0]) === null || _a === void 0 ? void 0 : _a.icon) || faPlus;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export { FontAwesomeIconsService as F };
|
|
@@ -15,6 +15,7 @@ const plt = {
|
|
|
15
15
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
16
16
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
17
17
|
};
|
|
18
|
+
const supportsShadow = true;
|
|
18
19
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
19
20
|
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
20
21
|
try {
|
|
@@ -25,6 +26,13 @@ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
|
25
26
|
return false;
|
|
26
27
|
})()
|
|
27
28
|
;
|
|
29
|
+
const CONTENT_REF_ID = 'r';
|
|
30
|
+
const ORG_LOCATION_ID = 'o';
|
|
31
|
+
const SLOT_NODE_ID = 's';
|
|
32
|
+
const TEXT_NODE_ID = 't';
|
|
33
|
+
const HYDRATE_ID = 's-id';
|
|
34
|
+
const HYDRATED_STYLE_ID = 'sty-id';
|
|
35
|
+
const HYDRATE_CHILD_ID = 'c-id';
|
|
28
36
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
29
37
|
const createTime = (fnName, tagName = '') => {
|
|
30
38
|
{
|
|
@@ -72,7 +80,12 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
72
80
|
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
73
81
|
}
|
|
74
82
|
if (!appliedStyles.has(scopeId)) {
|
|
75
|
-
|
|
83
|
+
if (styleContainerNode.host &&
|
|
84
|
+
(styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
|
|
85
|
+
// This is only happening on native shadow-dom, do not needs CSS var shim
|
|
86
|
+
styleElm.innerHTML = style;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
76
89
|
{
|
|
77
90
|
styleElm = doc.createElement('style');
|
|
78
91
|
styleElm.innerHTML = style;
|
|
@@ -110,6 +123,7 @@ const attachStyles = (hostRef) => {
|
|
|
110
123
|
endAttachStyles();
|
|
111
124
|
};
|
|
112
125
|
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
126
|
+
const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{');
|
|
113
127
|
/**
|
|
114
128
|
* Default style mode id
|
|
115
129
|
*/
|
|
@@ -181,6 +195,10 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
181
195
|
}
|
|
182
196
|
}
|
|
183
197
|
}
|
|
198
|
+
if (typeof nodeName === 'function') {
|
|
199
|
+
// nodeName is a functional component
|
|
200
|
+
return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
|
|
201
|
+
}
|
|
184
202
|
const vnode = newVNode(nodeName, null);
|
|
185
203
|
vnode.$attrs$ = vnodeData;
|
|
186
204
|
if (vNodeChildren.length > 0) {
|
|
@@ -203,6 +221,36 @@ const newVNode = (tag, text) => {
|
|
|
203
221
|
};
|
|
204
222
|
const Host = {};
|
|
205
223
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
224
|
+
const vdomFnUtils = {
|
|
225
|
+
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
226
|
+
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
227
|
+
};
|
|
228
|
+
const convertToPublic = (node) => ({
|
|
229
|
+
vattrs: node.$attrs$,
|
|
230
|
+
vchildren: node.$children$,
|
|
231
|
+
vkey: node.$key$,
|
|
232
|
+
vname: node.$name$,
|
|
233
|
+
vtag: node.$tag$,
|
|
234
|
+
vtext: node.$text$,
|
|
235
|
+
});
|
|
236
|
+
const convertToPrivate = (node) => {
|
|
237
|
+
if (typeof node.vtag === 'function') {
|
|
238
|
+
const vnodeData = Object.assign({}, node.vattrs);
|
|
239
|
+
if (node.vkey) {
|
|
240
|
+
vnodeData.key = node.vkey;
|
|
241
|
+
}
|
|
242
|
+
if (node.vname) {
|
|
243
|
+
vnodeData.name = node.vname;
|
|
244
|
+
}
|
|
245
|
+
return h(node.vtag, vnodeData, ...(node.vchildren || []));
|
|
246
|
+
}
|
|
247
|
+
const vnode = newVNode(node.vtag, node.vtext);
|
|
248
|
+
vnode.$attrs$ = node.vattrs;
|
|
249
|
+
vnode.$children$ = node.vchildren;
|
|
250
|
+
vnode.$key$ = node.vkey;
|
|
251
|
+
vnode.$name$ = node.vname;
|
|
252
|
+
return vnode;
|
|
253
|
+
};
|
|
206
254
|
/**
|
|
207
255
|
* Production setAccessor() function based on Preact by
|
|
208
256
|
* Jason Miller (@developit)
|
|
@@ -214,7 +262,7 @@ const isHost = (node) => node && node.$tag$ === Host;
|
|
|
214
262
|
const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
215
263
|
if (oldValue !== newValue) {
|
|
216
264
|
let isProp = isMemberInElement(elm, memberName);
|
|
217
|
-
memberName.toLowerCase();
|
|
265
|
+
let ln = memberName.toLowerCase();
|
|
218
266
|
if (memberName === 'class') {
|
|
219
267
|
const classList = elm.classList;
|
|
220
268
|
const oldClasses = parseClassList(oldValue);
|
|
@@ -247,6 +295,45 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
247
295
|
}
|
|
248
296
|
}
|
|
249
297
|
}
|
|
298
|
+
else if ((!isProp ) &&
|
|
299
|
+
memberName[0] === 'o' &&
|
|
300
|
+
memberName[1] === 'n') {
|
|
301
|
+
// Event Handlers
|
|
302
|
+
// so if the member name starts with "on" and the 3rd characters is
|
|
303
|
+
// a capital letter, and it's not already a member on the element,
|
|
304
|
+
// then we're assuming it's an event listener
|
|
305
|
+
if (memberName[2] === '-') {
|
|
306
|
+
// on- prefixed events
|
|
307
|
+
// allows to be explicit about the dom event to listen without any magic
|
|
308
|
+
// under the hood:
|
|
309
|
+
// <my-cmp on-click> // listens for "click"
|
|
310
|
+
// <my-cmp on-Click> // listens for "Click"
|
|
311
|
+
// <my-cmp on-ionChange> // listens for "ionChange"
|
|
312
|
+
// <my-cmp on-EVENTS> // listens for "EVENTS"
|
|
313
|
+
memberName = memberName.slice(3);
|
|
314
|
+
}
|
|
315
|
+
else if (isMemberInElement(win, ln)) {
|
|
316
|
+
// standard event
|
|
317
|
+
// the JSX attribute could have been "onMouseOver" and the
|
|
318
|
+
// member name "onmouseover" is on the window's prototype
|
|
319
|
+
// so let's add the listener "mouseover", which is all lowercased
|
|
320
|
+
memberName = ln.slice(2);
|
|
321
|
+
}
|
|
322
|
+
else {
|
|
323
|
+
// custom event
|
|
324
|
+
// the JSX attribute could have been "onMyCustomEvent"
|
|
325
|
+
// so let's trim off the "on" prefix and lowercase the first character
|
|
326
|
+
// and add the listener "myCustomEvent"
|
|
327
|
+
// except for the first character, we keep the event name case
|
|
328
|
+
memberName = ln[2] + memberName.slice(3);
|
|
329
|
+
}
|
|
330
|
+
if (oldValue) {
|
|
331
|
+
plt.rel(elm, memberName, oldValue, false);
|
|
332
|
+
}
|
|
333
|
+
if (newValue) {
|
|
334
|
+
plt.ael(elm, memberName, newValue, false);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
250
337
|
else {
|
|
251
338
|
// Set property if it exists and it's not a SVG
|
|
252
339
|
const isComplex = isComplexType(newValue);
|
|
@@ -525,6 +612,20 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
525
612
|
// synchronous patch
|
|
526
613
|
patch(oldVNode, rootVnode);
|
|
527
614
|
};
|
|
615
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
616
|
+
const createEvent = (ref, name, flags) => {
|
|
617
|
+
const elm = getElement(ref);
|
|
618
|
+
return {
|
|
619
|
+
emit: (detail) => {
|
|
620
|
+
return emitEvent(elm, name, {
|
|
621
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
622
|
+
composed: !!(flags & 2 /* Composed */),
|
|
623
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
624
|
+
detail,
|
|
625
|
+
});
|
|
626
|
+
},
|
|
627
|
+
};
|
|
628
|
+
};
|
|
528
629
|
/**
|
|
529
630
|
* Helper function to create & dispatch a custom Event on a provided target
|
|
530
631
|
* @param elm the target of the Event
|
|
@@ -675,6 +776,207 @@ const then = (promise, thenFn) => {
|
|
|
675
776
|
};
|
|
676
777
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
677
778
|
;
|
|
779
|
+
const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
780
|
+
const endHydrate = createTime('hydrateClient', tagName);
|
|
781
|
+
const shadowRoot = hostElm.shadowRoot;
|
|
782
|
+
const childRenderNodes = [];
|
|
783
|
+
const slotNodes = [];
|
|
784
|
+
const shadowRootNodes = shadowRoot ? [] : null;
|
|
785
|
+
const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
|
|
786
|
+
if (!plt.$orgLocNodes$) {
|
|
787
|
+
initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
|
|
788
|
+
}
|
|
789
|
+
hostElm[HYDRATE_ID] = hostId;
|
|
790
|
+
hostElm.removeAttribute(HYDRATE_ID);
|
|
791
|
+
clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
|
|
792
|
+
childRenderNodes.map((c) => {
|
|
793
|
+
const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
|
|
794
|
+
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
795
|
+
const node = c.$elm$;
|
|
796
|
+
if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
|
|
797
|
+
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
798
|
+
}
|
|
799
|
+
if (!shadowRoot) {
|
|
800
|
+
node['s-hn'] = tagName;
|
|
801
|
+
if (orgLocationNode) {
|
|
802
|
+
node['s-ol'] = orgLocationNode;
|
|
803
|
+
node['s-ol']['s-nr'] = node;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
807
|
+
});
|
|
808
|
+
if (shadowRoot) {
|
|
809
|
+
shadowRootNodes.map((shadowRootNode) => {
|
|
810
|
+
if (shadowRootNode) {
|
|
811
|
+
shadowRoot.appendChild(shadowRootNode);
|
|
812
|
+
}
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
endHydrate();
|
|
816
|
+
};
|
|
817
|
+
const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
|
|
818
|
+
let childNodeType;
|
|
819
|
+
let childIdSplt;
|
|
820
|
+
let childVNode;
|
|
821
|
+
let i;
|
|
822
|
+
if (node.nodeType === 1 /* ElementNode */) {
|
|
823
|
+
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
824
|
+
if (childNodeType) {
|
|
825
|
+
// got the node data from the element's attribute
|
|
826
|
+
// `${hostId}.${nodeId}.${depth}.${index}`
|
|
827
|
+
childIdSplt = childNodeType.split('.');
|
|
828
|
+
if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
|
|
829
|
+
childVNode = {
|
|
830
|
+
$flags$: 0,
|
|
831
|
+
$hostId$: childIdSplt[0],
|
|
832
|
+
$nodeId$: childIdSplt[1],
|
|
833
|
+
$depth$: childIdSplt[2],
|
|
834
|
+
$index$: childIdSplt[3],
|
|
835
|
+
$tag$: node.tagName.toLowerCase(),
|
|
836
|
+
$elm$: node,
|
|
837
|
+
$attrs$: null,
|
|
838
|
+
$children$: null,
|
|
839
|
+
$key$: null,
|
|
840
|
+
$name$: null,
|
|
841
|
+
$text$: null,
|
|
842
|
+
};
|
|
843
|
+
childRenderNodes.push(childVNode);
|
|
844
|
+
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
845
|
+
// this is a new child vnode
|
|
846
|
+
// so ensure its parent vnode has the vchildren array
|
|
847
|
+
if (!parentVNode.$children$) {
|
|
848
|
+
parentVNode.$children$ = [];
|
|
849
|
+
}
|
|
850
|
+
// add our child vnode to a specific index of the vnode's children
|
|
851
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
852
|
+
// this is now the new parent vnode for all the next child checks
|
|
853
|
+
parentVNode = childVNode;
|
|
854
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
855
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
// recursively drill down, end to start so we can remove nodes
|
|
860
|
+
for (i = node.childNodes.length - 1; i >= 0; i--) {
|
|
861
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
|
|
862
|
+
}
|
|
863
|
+
if (node.shadowRoot) {
|
|
864
|
+
// keep drilling down through the shadow root nodes
|
|
865
|
+
for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
|
|
866
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
else if (node.nodeType === 8 /* CommentNode */) {
|
|
871
|
+
// `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
|
|
872
|
+
childIdSplt = node.nodeValue.split('.');
|
|
873
|
+
if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
|
|
874
|
+
// comment node for either the host id or a 0 host id
|
|
875
|
+
childNodeType = childIdSplt[0];
|
|
876
|
+
childVNode = {
|
|
877
|
+
$flags$: 0,
|
|
878
|
+
$hostId$: childIdSplt[1],
|
|
879
|
+
$nodeId$: childIdSplt[2],
|
|
880
|
+
$depth$: childIdSplt[3],
|
|
881
|
+
$index$: childIdSplt[4],
|
|
882
|
+
$elm$: node,
|
|
883
|
+
$attrs$: null,
|
|
884
|
+
$children$: null,
|
|
885
|
+
$key$: null,
|
|
886
|
+
$name$: null,
|
|
887
|
+
$tag$: null,
|
|
888
|
+
$text$: null,
|
|
889
|
+
};
|
|
890
|
+
if (childNodeType === TEXT_NODE_ID) {
|
|
891
|
+
childVNode.$elm$ = node.nextSibling;
|
|
892
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
|
893
|
+
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
894
|
+
childRenderNodes.push(childVNode);
|
|
895
|
+
// remove the text comment since it's no longer needed
|
|
896
|
+
node.remove();
|
|
897
|
+
if (!parentVNode.$children$) {
|
|
898
|
+
parentVNode.$children$ = [];
|
|
899
|
+
}
|
|
900
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
901
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
902
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
else if (childVNode.$hostId$ === hostId) {
|
|
907
|
+
// this comment node is specifcally for this host id
|
|
908
|
+
if (childNodeType === SLOT_NODE_ID) {
|
|
909
|
+
// `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
|
|
910
|
+
childVNode.$tag$ = 'slot';
|
|
911
|
+
if (childIdSplt[5]) {
|
|
912
|
+
node['s-sn'] = childVNode.$name$ = childIdSplt[5];
|
|
913
|
+
}
|
|
914
|
+
else {
|
|
915
|
+
node['s-sn'] = '';
|
|
916
|
+
}
|
|
917
|
+
node['s-sr'] = true;
|
|
918
|
+
if (shadowRootNodes) {
|
|
919
|
+
// browser support shadowRoot and this is a shadow dom component
|
|
920
|
+
// create an actual slot element
|
|
921
|
+
childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
922
|
+
if (childVNode.$name$) {
|
|
923
|
+
// add the slot name attribute
|
|
924
|
+
childVNode.$elm$.setAttribute('name', childVNode.$name$);
|
|
925
|
+
}
|
|
926
|
+
// insert the new slot element before the slot comment
|
|
927
|
+
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
928
|
+
// remove the slot comment since it's not needed for shadow
|
|
929
|
+
node.remove();
|
|
930
|
+
if (childVNode.$depth$ === '0') {
|
|
931
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
slotNodes.push(childVNode);
|
|
935
|
+
if (!parentVNode.$children$) {
|
|
936
|
+
parentVNode.$children$ = [];
|
|
937
|
+
}
|
|
938
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
939
|
+
}
|
|
940
|
+
else if (childNodeType === CONTENT_REF_ID) {
|
|
941
|
+
// `${CONTENT_REF_ID}.${hostId}`;
|
|
942
|
+
if (shadowRootNodes) {
|
|
943
|
+
// remove the content ref comment since it's not needed for shadow
|
|
944
|
+
node.remove();
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
else if (parentVNode && parentVNode.$tag$ === 'style') {
|
|
951
|
+
const vnode = newVNode(null, node.textContent);
|
|
952
|
+
vnode.$elm$ = node;
|
|
953
|
+
vnode.$index$ = '0';
|
|
954
|
+
parentVNode.$children$ = [vnode];
|
|
955
|
+
}
|
|
956
|
+
};
|
|
957
|
+
const initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
958
|
+
if (node.nodeType === 1 /* ElementNode */) {
|
|
959
|
+
let i = 0;
|
|
960
|
+
for (; i < node.childNodes.length; i++) {
|
|
961
|
+
initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
|
|
962
|
+
}
|
|
963
|
+
if (node.shadowRoot) {
|
|
964
|
+
for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
|
|
965
|
+
initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
else if (node.nodeType === 8 /* CommentNode */) {
|
|
970
|
+
const childIdSplt = node.nodeValue.split('.');
|
|
971
|
+
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
972
|
+
orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
|
|
973
|
+
node.nodeValue = '';
|
|
974
|
+
// useful to know if the original location is
|
|
975
|
+
// the root light-dom of a shadow dom component
|
|
976
|
+
node['s-en'] = childIdSplt[3];
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
};
|
|
678
980
|
/**
|
|
679
981
|
* Parse a new property value for a given property type.
|
|
680
982
|
*
|
|
@@ -701,6 +1003,11 @@ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
|
701
1003
|
const parsePropertyValue = (propValue, propType) => {
|
|
702
1004
|
// ensure this value is of the correct prop type
|
|
703
1005
|
if (propValue != null && !isComplexType(propValue)) {
|
|
1006
|
+
if (propType & 4 /* Boolean */) {
|
|
1007
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
1008
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1009
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1010
|
+
}
|
|
704
1011
|
if (propType & 2 /* Number */) {
|
|
705
1012
|
// force it to be a number
|
|
706
1013
|
return parseFloat(propValue);
|
|
@@ -909,6 +1216,17 @@ const connectedCallback = (elm) => {
|
|
|
909
1216
|
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
910
1217
|
// first time this component has connected
|
|
911
1218
|
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1219
|
+
let hostId;
|
|
1220
|
+
{
|
|
1221
|
+
hostId = elm.getAttribute(HYDRATE_ID);
|
|
1222
|
+
if (hostId) {
|
|
1223
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1224
|
+
const scopeId = addStyle(elm.shadowRoot, cmpMeta);
|
|
1225
|
+
elm.classList.remove(scopeId + '-h', scopeId + '-s');
|
|
1226
|
+
}
|
|
1227
|
+
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
912
1230
|
{
|
|
913
1231
|
// find the first ancestor component (if there is one) and register
|
|
914
1232
|
// this component as one of the actively loading child components for its ancestor
|
|
@@ -916,7 +1234,10 @@ const connectedCallback = (elm) => {
|
|
|
916
1234
|
while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
|
|
917
1235
|
// climb up the ancestors looking for the first
|
|
918
1236
|
// component that hasn't finished its lifecycle update yet
|
|
919
|
-
if (ancestorComponent
|
|
1237
|
+
if ((ancestorComponent.nodeType === 1 /* ElementNode */ &&
|
|
1238
|
+
ancestorComponent.hasAttribute('s-id') &&
|
|
1239
|
+
ancestorComponent['s-p']) ||
|
|
1240
|
+
ancestorComponent['s-p']) {
|
|
920
1241
|
// we found this components first ancestor component
|
|
921
1242
|
// keep a reference to this component's ancestor component
|
|
922
1243
|
attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
|
|
@@ -956,10 +1277,22 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
956
1277
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
957
1278
|
const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
|
|
958
1279
|
const deferredConnectedCallbacks = [];
|
|
1280
|
+
const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
959
1281
|
let appLoadFallback;
|
|
960
1282
|
let isBootstrapping = true;
|
|
1283
|
+
let i = 0;
|
|
961
1284
|
Object.assign(plt, options);
|
|
962
1285
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1286
|
+
{
|
|
1287
|
+
// If the app is already hydrated there is not point to disable the
|
|
1288
|
+
// async queue. This will improve the first input delay
|
|
1289
|
+
plt.$flags$ |= 2 /* appLoaded */;
|
|
1290
|
+
}
|
|
1291
|
+
{
|
|
1292
|
+
for (; i < styles.length; i++) {
|
|
1293
|
+
registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
963
1296
|
lazyBundles.map((lazyBundle) => {
|
|
964
1297
|
lazyBundle[1].map((compactMeta) => {
|
|
965
1298
|
const cmpMeta = {
|
|
@@ -1125,4 +1458,4 @@ const flush = () => {
|
|
|
1125
1458
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1126
1459
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1127
1460
|
|
|
1128
|
-
export { bootstrapLazy as b, getAssetPath as g, h, promiseResolve as p, registerInstance as r };
|
|
1461
|
+
export { Host as H, getElement as a, bootstrapLazy as b, createEvent as c, getAssetPath as g, h, promiseResolve as p, registerInstance as r };
|