@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,240 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index_es = require('./index.es-d3570170.js');
|
|
4
|
+
|
|
5
|
+
/*!
|
|
6
|
+
* Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
|
|
7
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
8
|
+
* Copyright 2022 Fonticons, Inc.
|
|
9
|
+
*/
|
|
10
|
+
var faAccessibleIcon = {
|
|
11
|
+
prefix: 'fab',
|
|
12
|
+
iconName: 'accessible-icon',
|
|
13
|
+
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"]
|
|
14
|
+
};
|
|
15
|
+
var faFacebookF = {
|
|
16
|
+
prefix: 'fab',
|
|
17
|
+
iconName: 'facebook-f',
|
|
18
|
+
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"]
|
|
19
|
+
};
|
|
20
|
+
var faInstagram = {
|
|
21
|
+
prefix: 'fab',
|
|
22
|
+
iconName: 'instagram',
|
|
23
|
+
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"]
|
|
24
|
+
};
|
|
25
|
+
var faLinkedinIn = {
|
|
26
|
+
prefix: 'fab',
|
|
27
|
+
iconName: 'linkedin-in',
|
|
28
|
+
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"]
|
|
29
|
+
};
|
|
30
|
+
var faTwitter = {
|
|
31
|
+
prefix: 'fab',
|
|
32
|
+
iconName: 'twitter',
|
|
33
|
+
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"]
|
|
34
|
+
};
|
|
35
|
+
var faYoutube = {
|
|
36
|
+
prefix: 'fab',
|
|
37
|
+
iconName: 'youtube',
|
|
38
|
+
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"]
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/*!
|
|
42
|
+
* Font Awesome Pro 6.1.2 by @fontawesome - https://fontawesome.com
|
|
43
|
+
* License - https://fontawesome.com/license (Commercial License)
|
|
44
|
+
* Copyright 2022 Fonticons, Inc.
|
|
45
|
+
*/
|
|
46
|
+
var faUsers = {
|
|
47
|
+
prefix: 'fad',
|
|
48
|
+
iconName: 'users',
|
|
49
|
+
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"]]
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
class FontAwesomeIconsService {
|
|
53
|
+
static getBeneficiaries() {
|
|
54
|
+
return [
|
|
55
|
+
{
|
|
56
|
+
name: 'Children (3-18)',
|
|
57
|
+
icon: index_es.faChild,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'General Public/Humankind',
|
|
61
|
+
icon: index_es.faUniversalAccess,
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'Infants (<2)',
|
|
65
|
+
icon: index_es.faBaby,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'LGBTQAI',
|
|
69
|
+
icon: index_es.faRainbow,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Minority Groups',
|
|
73
|
+
icon: faUsers,
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'Older People',
|
|
77
|
+
icon: index_es.faBlind,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'People With Disabilities',
|
|
81
|
+
icon: faAccessibleIcon,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'Refugees/Asylum Seekers',
|
|
85
|
+
icon: index_es.faCampground,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'Women & Girls',
|
|
89
|
+
icon: index_es.faVenus,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'Young People (18-30)',
|
|
93
|
+
icon: index_es.faUserGraduate,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'Other',
|
|
97
|
+
icon: index_es.faPlus,
|
|
98
|
+
},
|
|
99
|
+
];
|
|
100
|
+
}
|
|
101
|
+
static getSocials() {
|
|
102
|
+
return [
|
|
103
|
+
{
|
|
104
|
+
name: 'Facebook',
|
|
105
|
+
icon: faFacebookF,
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'Twitter',
|
|
109
|
+
icon: faTwitter,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'Instagram',
|
|
113
|
+
icon: faInstagram,
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: 'YouTube',
|
|
117
|
+
icon: faYoutube,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'LinkedIn',
|
|
121
|
+
icon: faLinkedinIn,
|
|
122
|
+
},
|
|
123
|
+
];
|
|
124
|
+
}
|
|
125
|
+
static getMisc() {
|
|
126
|
+
return [
|
|
127
|
+
{
|
|
128
|
+
name: 'AlarmClock',
|
|
129
|
+
icon: index_es.faAlarmClock,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: 'Heart',
|
|
133
|
+
icon: index_es.faHeart,
|
|
134
|
+
},
|
|
135
|
+
];
|
|
136
|
+
}
|
|
137
|
+
static getCategories() {
|
|
138
|
+
return [
|
|
139
|
+
{
|
|
140
|
+
name: 'Animals',
|
|
141
|
+
icon: index_es.faPaw,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: 'Armed Forces/Emergency Services',
|
|
145
|
+
icon: index_es.faMedal,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'Arts/Culture/Heritage',
|
|
149
|
+
icon: index_es.faTheaterMasks,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'Cancer',
|
|
153
|
+
icon: index_es.faRibbon,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'Community Support & Development',
|
|
157
|
+
icon: index_es.faPeopleCarry,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
name: 'Disaster Relief',
|
|
161
|
+
icon: index_es.faParachuteBox,
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: 'Education/Training/Employment',
|
|
165
|
+
icon: index_es.faBook,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'Environment/Conservation',
|
|
169
|
+
icon: index_es.faSeedling,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: 'Health/Wellbeing',
|
|
173
|
+
icon: index_es.faHeartbeat,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: 'Homeless/Refuge',
|
|
177
|
+
icon: index_es.faHomeHeart,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'Hospitals/Hospices',
|
|
181
|
+
icon: index_es.faHospital,
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'Human Rights/Advocacy',
|
|
185
|
+
icon: index_es.faBalanceScale,
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'Information/Advice',
|
|
189
|
+
icon: index_es.faInfoCircle,
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: 'Medical Research',
|
|
193
|
+
icon: index_es.faMicroscope,
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: 'Mental Health',
|
|
197
|
+
icon: index_es.faHeadSideMedical,
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: 'Poverty Alleviation/Relief',
|
|
201
|
+
icon: index_es.faMortarPestle,
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: 'Religious',
|
|
205
|
+
icon: index_es.faPlaceOfWorship,
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
name: 'Sports/Recreation',
|
|
209
|
+
icon: index_es.faFutbol,
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: 'Other',
|
|
213
|
+
icon: index_es.faPlus,
|
|
214
|
+
},
|
|
215
|
+
];
|
|
216
|
+
}
|
|
217
|
+
static getBeneficiaryIcon(beneficiary) {
|
|
218
|
+
const matchingItems = FontAwesomeIconsService.getBeneficiaries().filter(ii => ii.name === beneficiary);
|
|
219
|
+
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
220
|
+
return matchingItems[0].icon || index_es.faPlus;
|
|
221
|
+
}
|
|
222
|
+
static getMiscIcon(misc) {
|
|
223
|
+
const matchingItems = FontAwesomeIconsService.getMisc().filter(ii => ii.name === misc);
|
|
224
|
+
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
225
|
+
return matchingItems[0].icon || index_es.faPlus;
|
|
226
|
+
}
|
|
227
|
+
static getSocialIcon(social) {
|
|
228
|
+
const matchingItems = FontAwesomeIconsService.getSocials().filter(ii => ii.name === social);
|
|
229
|
+
// For an unknown/invalid beneficiary, show 'other' symbol.
|
|
230
|
+
return matchingItems[0].icon || index_es.faPlus;
|
|
231
|
+
}
|
|
232
|
+
static getCategoryIcon(category) {
|
|
233
|
+
var _a;
|
|
234
|
+
const matchingItems = FontAwesomeIconsService.getCategories().filter(ii => ii.name === category);
|
|
235
|
+
// For an unknown/invalid category, show 'other' symbol.
|
|
236
|
+
return ((_a = matchingItems[0]) === null || _a === void 0 ? void 0 : _a.icon) || index_es.faPlus;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
exports.FontAwesomeIconsService = FontAwesomeIconsService;
|
|
@@ -37,6 +37,7 @@ const plt = {
|
|
|
37
37
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
38
38
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
39
39
|
};
|
|
40
|
+
const supportsShadow = true;
|
|
40
41
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
41
42
|
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
42
43
|
try {
|
|
@@ -47,6 +48,13 @@ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
|
47
48
|
return false;
|
|
48
49
|
})()
|
|
49
50
|
;
|
|
51
|
+
const CONTENT_REF_ID = 'r';
|
|
52
|
+
const ORG_LOCATION_ID = 'o';
|
|
53
|
+
const SLOT_NODE_ID = 's';
|
|
54
|
+
const TEXT_NODE_ID = 't';
|
|
55
|
+
const HYDRATE_ID = 's-id';
|
|
56
|
+
const HYDRATED_STYLE_ID = 'sty-id';
|
|
57
|
+
const HYDRATE_CHILD_ID = 'c-id';
|
|
50
58
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
51
59
|
const createTime = (fnName, tagName = '') => {
|
|
52
60
|
{
|
|
@@ -94,7 +102,12 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
94
102
|
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
95
103
|
}
|
|
96
104
|
if (!appliedStyles.has(scopeId)) {
|
|
97
|
-
|
|
105
|
+
if (styleContainerNode.host &&
|
|
106
|
+
(styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
|
|
107
|
+
// This is only happening on native shadow-dom, do not needs CSS var shim
|
|
108
|
+
styleElm.innerHTML = style;
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
98
111
|
{
|
|
99
112
|
styleElm = doc.createElement('style');
|
|
100
113
|
styleElm.innerHTML = style;
|
|
@@ -132,6 +145,7 @@ const attachStyles = (hostRef) => {
|
|
|
132
145
|
endAttachStyles();
|
|
133
146
|
};
|
|
134
147
|
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
148
|
+
const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{');
|
|
135
149
|
/**
|
|
136
150
|
* Default style mode id
|
|
137
151
|
*/
|
|
@@ -203,6 +217,10 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
203
217
|
}
|
|
204
218
|
}
|
|
205
219
|
}
|
|
220
|
+
if (typeof nodeName === 'function') {
|
|
221
|
+
// nodeName is a functional component
|
|
222
|
+
return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
|
|
223
|
+
}
|
|
206
224
|
const vnode = newVNode(nodeName, null);
|
|
207
225
|
vnode.$attrs$ = vnodeData;
|
|
208
226
|
if (vNodeChildren.length > 0) {
|
|
@@ -225,6 +243,36 @@ const newVNode = (tag, text) => {
|
|
|
225
243
|
};
|
|
226
244
|
const Host = {};
|
|
227
245
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
246
|
+
const vdomFnUtils = {
|
|
247
|
+
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
248
|
+
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
249
|
+
};
|
|
250
|
+
const convertToPublic = (node) => ({
|
|
251
|
+
vattrs: node.$attrs$,
|
|
252
|
+
vchildren: node.$children$,
|
|
253
|
+
vkey: node.$key$,
|
|
254
|
+
vname: node.$name$,
|
|
255
|
+
vtag: node.$tag$,
|
|
256
|
+
vtext: node.$text$,
|
|
257
|
+
});
|
|
258
|
+
const convertToPrivate = (node) => {
|
|
259
|
+
if (typeof node.vtag === 'function') {
|
|
260
|
+
const vnodeData = Object.assign({}, node.vattrs);
|
|
261
|
+
if (node.vkey) {
|
|
262
|
+
vnodeData.key = node.vkey;
|
|
263
|
+
}
|
|
264
|
+
if (node.vname) {
|
|
265
|
+
vnodeData.name = node.vname;
|
|
266
|
+
}
|
|
267
|
+
return h(node.vtag, vnodeData, ...(node.vchildren || []));
|
|
268
|
+
}
|
|
269
|
+
const vnode = newVNode(node.vtag, node.vtext);
|
|
270
|
+
vnode.$attrs$ = node.vattrs;
|
|
271
|
+
vnode.$children$ = node.vchildren;
|
|
272
|
+
vnode.$key$ = node.vkey;
|
|
273
|
+
vnode.$name$ = node.vname;
|
|
274
|
+
return vnode;
|
|
275
|
+
};
|
|
228
276
|
/**
|
|
229
277
|
* Production setAccessor() function based on Preact by
|
|
230
278
|
* Jason Miller (@developit)
|
|
@@ -236,7 +284,7 @@ const isHost = (node) => node && node.$tag$ === Host;
|
|
|
236
284
|
const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
237
285
|
if (oldValue !== newValue) {
|
|
238
286
|
let isProp = isMemberInElement(elm, memberName);
|
|
239
|
-
memberName.toLowerCase();
|
|
287
|
+
let ln = memberName.toLowerCase();
|
|
240
288
|
if (memberName === 'class') {
|
|
241
289
|
const classList = elm.classList;
|
|
242
290
|
const oldClasses = parseClassList(oldValue);
|
|
@@ -269,6 +317,45 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
269
317
|
}
|
|
270
318
|
}
|
|
271
319
|
}
|
|
320
|
+
else if ((!isProp ) &&
|
|
321
|
+
memberName[0] === 'o' &&
|
|
322
|
+
memberName[1] === 'n') {
|
|
323
|
+
// Event Handlers
|
|
324
|
+
// so if the member name starts with "on" and the 3rd characters is
|
|
325
|
+
// a capital letter, and it's not already a member on the element,
|
|
326
|
+
// then we're assuming it's an event listener
|
|
327
|
+
if (memberName[2] === '-') {
|
|
328
|
+
// on- prefixed events
|
|
329
|
+
// allows to be explicit about the dom event to listen without any magic
|
|
330
|
+
// under the hood:
|
|
331
|
+
// <my-cmp on-click> // listens for "click"
|
|
332
|
+
// <my-cmp on-Click> // listens for "Click"
|
|
333
|
+
// <my-cmp on-ionChange> // listens for "ionChange"
|
|
334
|
+
// <my-cmp on-EVENTS> // listens for "EVENTS"
|
|
335
|
+
memberName = memberName.slice(3);
|
|
336
|
+
}
|
|
337
|
+
else if (isMemberInElement(win, ln)) {
|
|
338
|
+
// standard event
|
|
339
|
+
// the JSX attribute could have been "onMouseOver" and the
|
|
340
|
+
// member name "onmouseover" is on the window's prototype
|
|
341
|
+
// so let's add the listener "mouseover", which is all lowercased
|
|
342
|
+
memberName = ln.slice(2);
|
|
343
|
+
}
|
|
344
|
+
else {
|
|
345
|
+
// custom event
|
|
346
|
+
// the JSX attribute could have been "onMyCustomEvent"
|
|
347
|
+
// so let's trim off the "on" prefix and lowercase the first character
|
|
348
|
+
// and add the listener "myCustomEvent"
|
|
349
|
+
// except for the first character, we keep the event name case
|
|
350
|
+
memberName = ln[2] + memberName.slice(3);
|
|
351
|
+
}
|
|
352
|
+
if (oldValue) {
|
|
353
|
+
plt.rel(elm, memberName, oldValue, false);
|
|
354
|
+
}
|
|
355
|
+
if (newValue) {
|
|
356
|
+
plt.ael(elm, memberName, newValue, false);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
272
359
|
else {
|
|
273
360
|
// Set property if it exists and it's not a SVG
|
|
274
361
|
const isComplex = isComplexType(newValue);
|
|
@@ -547,6 +634,20 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
547
634
|
// synchronous patch
|
|
548
635
|
patch(oldVNode, rootVnode);
|
|
549
636
|
};
|
|
637
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
638
|
+
const createEvent = (ref, name, flags) => {
|
|
639
|
+
const elm = getElement(ref);
|
|
640
|
+
return {
|
|
641
|
+
emit: (detail) => {
|
|
642
|
+
return emitEvent(elm, name, {
|
|
643
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
644
|
+
composed: !!(flags & 2 /* Composed */),
|
|
645
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
646
|
+
detail,
|
|
647
|
+
});
|
|
648
|
+
},
|
|
649
|
+
};
|
|
650
|
+
};
|
|
550
651
|
/**
|
|
551
652
|
* Helper function to create & dispatch a custom Event on a provided target
|
|
552
653
|
* @param elm the target of the Event
|
|
@@ -697,6 +798,207 @@ const then = (promise, thenFn) => {
|
|
|
697
798
|
};
|
|
698
799
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
699
800
|
;
|
|
801
|
+
const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
802
|
+
const endHydrate = createTime('hydrateClient', tagName);
|
|
803
|
+
const shadowRoot = hostElm.shadowRoot;
|
|
804
|
+
const childRenderNodes = [];
|
|
805
|
+
const slotNodes = [];
|
|
806
|
+
const shadowRootNodes = shadowRoot ? [] : null;
|
|
807
|
+
const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
|
|
808
|
+
if (!plt.$orgLocNodes$) {
|
|
809
|
+
initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
|
|
810
|
+
}
|
|
811
|
+
hostElm[HYDRATE_ID] = hostId;
|
|
812
|
+
hostElm.removeAttribute(HYDRATE_ID);
|
|
813
|
+
clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
|
|
814
|
+
childRenderNodes.map((c) => {
|
|
815
|
+
const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
|
|
816
|
+
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
817
|
+
const node = c.$elm$;
|
|
818
|
+
if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
|
|
819
|
+
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
820
|
+
}
|
|
821
|
+
if (!shadowRoot) {
|
|
822
|
+
node['s-hn'] = tagName;
|
|
823
|
+
if (orgLocationNode) {
|
|
824
|
+
node['s-ol'] = orgLocationNode;
|
|
825
|
+
node['s-ol']['s-nr'] = node;
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
829
|
+
});
|
|
830
|
+
if (shadowRoot) {
|
|
831
|
+
shadowRootNodes.map((shadowRootNode) => {
|
|
832
|
+
if (shadowRootNode) {
|
|
833
|
+
shadowRoot.appendChild(shadowRootNode);
|
|
834
|
+
}
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
endHydrate();
|
|
838
|
+
};
|
|
839
|
+
const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
|
|
840
|
+
let childNodeType;
|
|
841
|
+
let childIdSplt;
|
|
842
|
+
let childVNode;
|
|
843
|
+
let i;
|
|
844
|
+
if (node.nodeType === 1 /* ElementNode */) {
|
|
845
|
+
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
846
|
+
if (childNodeType) {
|
|
847
|
+
// got the node data from the element's attribute
|
|
848
|
+
// `${hostId}.${nodeId}.${depth}.${index}`
|
|
849
|
+
childIdSplt = childNodeType.split('.');
|
|
850
|
+
if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
|
|
851
|
+
childVNode = {
|
|
852
|
+
$flags$: 0,
|
|
853
|
+
$hostId$: childIdSplt[0],
|
|
854
|
+
$nodeId$: childIdSplt[1],
|
|
855
|
+
$depth$: childIdSplt[2],
|
|
856
|
+
$index$: childIdSplt[3],
|
|
857
|
+
$tag$: node.tagName.toLowerCase(),
|
|
858
|
+
$elm$: node,
|
|
859
|
+
$attrs$: null,
|
|
860
|
+
$children$: null,
|
|
861
|
+
$key$: null,
|
|
862
|
+
$name$: null,
|
|
863
|
+
$text$: null,
|
|
864
|
+
};
|
|
865
|
+
childRenderNodes.push(childVNode);
|
|
866
|
+
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
867
|
+
// this is a new child vnode
|
|
868
|
+
// so ensure its parent vnode has the vchildren array
|
|
869
|
+
if (!parentVNode.$children$) {
|
|
870
|
+
parentVNode.$children$ = [];
|
|
871
|
+
}
|
|
872
|
+
// add our child vnode to a specific index of the vnode's children
|
|
873
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
874
|
+
// this is now the new parent vnode for all the next child checks
|
|
875
|
+
parentVNode = childVNode;
|
|
876
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
877
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
// recursively drill down, end to start so we can remove nodes
|
|
882
|
+
for (i = node.childNodes.length - 1; i >= 0; i--) {
|
|
883
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
|
|
884
|
+
}
|
|
885
|
+
if (node.shadowRoot) {
|
|
886
|
+
// keep drilling down through the shadow root nodes
|
|
887
|
+
for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
|
|
888
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
else if (node.nodeType === 8 /* CommentNode */) {
|
|
893
|
+
// `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
|
|
894
|
+
childIdSplt = node.nodeValue.split('.');
|
|
895
|
+
if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
|
|
896
|
+
// comment node for either the host id or a 0 host id
|
|
897
|
+
childNodeType = childIdSplt[0];
|
|
898
|
+
childVNode = {
|
|
899
|
+
$flags$: 0,
|
|
900
|
+
$hostId$: childIdSplt[1],
|
|
901
|
+
$nodeId$: childIdSplt[2],
|
|
902
|
+
$depth$: childIdSplt[3],
|
|
903
|
+
$index$: childIdSplt[4],
|
|
904
|
+
$elm$: node,
|
|
905
|
+
$attrs$: null,
|
|
906
|
+
$children$: null,
|
|
907
|
+
$key$: null,
|
|
908
|
+
$name$: null,
|
|
909
|
+
$tag$: null,
|
|
910
|
+
$text$: null,
|
|
911
|
+
};
|
|
912
|
+
if (childNodeType === TEXT_NODE_ID) {
|
|
913
|
+
childVNode.$elm$ = node.nextSibling;
|
|
914
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
|
915
|
+
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
916
|
+
childRenderNodes.push(childVNode);
|
|
917
|
+
// remove the text comment since it's no longer needed
|
|
918
|
+
node.remove();
|
|
919
|
+
if (!parentVNode.$children$) {
|
|
920
|
+
parentVNode.$children$ = [];
|
|
921
|
+
}
|
|
922
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
923
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
924
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
else if (childVNode.$hostId$ === hostId) {
|
|
929
|
+
// this comment node is specifcally for this host id
|
|
930
|
+
if (childNodeType === SLOT_NODE_ID) {
|
|
931
|
+
// `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
|
|
932
|
+
childVNode.$tag$ = 'slot';
|
|
933
|
+
if (childIdSplt[5]) {
|
|
934
|
+
node['s-sn'] = childVNode.$name$ = childIdSplt[5];
|
|
935
|
+
}
|
|
936
|
+
else {
|
|
937
|
+
node['s-sn'] = '';
|
|
938
|
+
}
|
|
939
|
+
node['s-sr'] = true;
|
|
940
|
+
if (shadowRootNodes) {
|
|
941
|
+
// browser support shadowRoot and this is a shadow dom component
|
|
942
|
+
// create an actual slot element
|
|
943
|
+
childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
944
|
+
if (childVNode.$name$) {
|
|
945
|
+
// add the slot name attribute
|
|
946
|
+
childVNode.$elm$.setAttribute('name', childVNode.$name$);
|
|
947
|
+
}
|
|
948
|
+
// insert the new slot element before the slot comment
|
|
949
|
+
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
950
|
+
// remove the slot comment since it's not needed for shadow
|
|
951
|
+
node.remove();
|
|
952
|
+
if (childVNode.$depth$ === '0') {
|
|
953
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
slotNodes.push(childVNode);
|
|
957
|
+
if (!parentVNode.$children$) {
|
|
958
|
+
parentVNode.$children$ = [];
|
|
959
|
+
}
|
|
960
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
961
|
+
}
|
|
962
|
+
else if (childNodeType === CONTENT_REF_ID) {
|
|
963
|
+
// `${CONTENT_REF_ID}.${hostId}`;
|
|
964
|
+
if (shadowRootNodes) {
|
|
965
|
+
// remove the content ref comment since it's not needed for shadow
|
|
966
|
+
node.remove();
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
else if (parentVNode && parentVNode.$tag$ === 'style') {
|
|
973
|
+
const vnode = newVNode(null, node.textContent);
|
|
974
|
+
vnode.$elm$ = node;
|
|
975
|
+
vnode.$index$ = '0';
|
|
976
|
+
parentVNode.$children$ = [vnode];
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
const initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
980
|
+
if (node.nodeType === 1 /* ElementNode */) {
|
|
981
|
+
let i = 0;
|
|
982
|
+
for (; i < node.childNodes.length; i++) {
|
|
983
|
+
initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
|
|
984
|
+
}
|
|
985
|
+
if (node.shadowRoot) {
|
|
986
|
+
for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
|
|
987
|
+
initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
else if (node.nodeType === 8 /* CommentNode */) {
|
|
992
|
+
const childIdSplt = node.nodeValue.split('.');
|
|
993
|
+
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
994
|
+
orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
|
|
995
|
+
node.nodeValue = '';
|
|
996
|
+
// useful to know if the original location is
|
|
997
|
+
// the root light-dom of a shadow dom component
|
|
998
|
+
node['s-en'] = childIdSplt[3];
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
};
|
|
700
1002
|
/**
|
|
701
1003
|
* Parse a new property value for a given property type.
|
|
702
1004
|
*
|
|
@@ -723,6 +1025,11 @@ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
|
723
1025
|
const parsePropertyValue = (propValue, propType) => {
|
|
724
1026
|
// ensure this value is of the correct prop type
|
|
725
1027
|
if (propValue != null && !isComplexType(propValue)) {
|
|
1028
|
+
if (propType & 4 /* Boolean */) {
|
|
1029
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
1030
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1031
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1032
|
+
}
|
|
726
1033
|
if (propType & 2 /* Number */) {
|
|
727
1034
|
// force it to be a number
|
|
728
1035
|
return parseFloat(propValue);
|
|
@@ -931,6 +1238,17 @@ const connectedCallback = (elm) => {
|
|
|
931
1238
|
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
932
1239
|
// first time this component has connected
|
|
933
1240
|
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1241
|
+
let hostId;
|
|
1242
|
+
{
|
|
1243
|
+
hostId = elm.getAttribute(HYDRATE_ID);
|
|
1244
|
+
if (hostId) {
|
|
1245
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1246
|
+
const scopeId = addStyle(elm.shadowRoot, cmpMeta);
|
|
1247
|
+
elm.classList.remove(scopeId + '-h', scopeId + '-s');
|
|
1248
|
+
}
|
|
1249
|
+
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
934
1252
|
{
|
|
935
1253
|
// find the first ancestor component (if there is one) and register
|
|
936
1254
|
// this component as one of the actively loading child components for its ancestor
|
|
@@ -938,7 +1256,10 @@ const connectedCallback = (elm) => {
|
|
|
938
1256
|
while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
|
|
939
1257
|
// climb up the ancestors looking for the first
|
|
940
1258
|
// component that hasn't finished its lifecycle update yet
|
|
941
|
-
if (ancestorComponent
|
|
1259
|
+
if ((ancestorComponent.nodeType === 1 /* ElementNode */ &&
|
|
1260
|
+
ancestorComponent.hasAttribute('s-id') &&
|
|
1261
|
+
ancestorComponent['s-p']) ||
|
|
1262
|
+
ancestorComponent['s-p']) {
|
|
942
1263
|
// we found this components first ancestor component
|
|
943
1264
|
// keep a reference to this component's ancestor component
|
|
944
1265
|
attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
|
|
@@ -978,10 +1299,22 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
978
1299
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
979
1300
|
const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
|
|
980
1301
|
const deferredConnectedCallbacks = [];
|
|
1302
|
+
const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
981
1303
|
let appLoadFallback;
|
|
982
1304
|
let isBootstrapping = true;
|
|
1305
|
+
let i = 0;
|
|
983
1306
|
Object.assign(plt, options);
|
|
984
1307
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1308
|
+
{
|
|
1309
|
+
// If the app is already hydrated there is not point to disable the
|
|
1310
|
+
// async queue. This will improve the first input delay
|
|
1311
|
+
plt.$flags$ |= 2 /* appLoaded */;
|
|
1312
|
+
}
|
|
1313
|
+
{
|
|
1314
|
+
for (; i < styles.length; i++) {
|
|
1315
|
+
registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
985
1318
|
lazyBundles.map((lazyBundle) => {
|
|
986
1319
|
lazyBundle[1].map((compactMeta) => {
|
|
987
1320
|
const cmpMeta = {
|
|
@@ -1147,8 +1480,11 @@ const flush = () => {
|
|
|
1147
1480
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1148
1481
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1149
1482
|
|
|
1483
|
+
exports.Host = Host;
|
|
1150
1484
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1485
|
+
exports.createEvent = createEvent;
|
|
1151
1486
|
exports.getAssetPath = getAssetPath;
|
|
1487
|
+
exports.getElement = getElement;
|
|
1152
1488
|
exports.h = h;
|
|
1153
1489
|
exports.promiseResolve = promiseResolve;
|
|
1154
1490
|
exports.registerInstance = registerInstance;
|