@biggive/components 202501021532.0.0 → 202501071646.0.0
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/biggive.esm.js +1 -1
- package/dist/biggive/biggive.esm.js.map +1 -1
- package/dist/biggive/p-0b1658d6.entry.js +2 -0
- package/dist/biggive/p-0b1658d6.entry.js.map +1 -0
- package/dist/biggive/p-11e8755e.entry.js +2 -0
- package/dist/biggive/p-11e8755e.entry.js.map +1 -0
- package/dist/biggive/p-19b999ee.js +3 -0
- package/dist/biggive/p-19b999ee.js.map +1 -0
- package/dist/biggive/p-1dc33885.entry.js +2 -0
- package/dist/biggive/p-1dc33885.entry.js.map +1 -0
- package/dist/biggive/{p-0eda1345.entry.js → p-277926a0.entry.js} +2 -2
- package/dist/biggive/p-277926a0.entry.js.map +1 -0
- package/dist/biggive/{p-bfaa8a6d.entry.js → p-2d9d24ee.entry.js} +2 -2
- package/dist/biggive/p-2d9d24ee.entry.js.map +1 -0
- package/dist/biggive/{p-b1d82c2f.entry.js → p-48fe25e2.entry.js} +2 -2
- package/dist/biggive/p-48fe25e2.entry.js.map +1 -0
- package/dist/biggive/{p-16da1da1.entry.js → p-6566f4c1.entry.js} +2 -2
- package/dist/biggive/p-6566f4c1.entry.js.map +1 -0
- package/dist/biggive/{p-f0bb3912.entry.js → p-7eed7866.entry.js} +2 -2
- package/dist/biggive/p-7eed7866.entry.js.map +1 -0
- package/dist/biggive/{p-87562be2.entry.js → p-9d99b90f.entry.js} +2 -2
- package/dist/biggive/p-9d99b90f.entry.js.map +1 -0
- package/dist/biggive/{p-ea8d01ca.entry.js → p-a55f75e9.entry.js} +2 -2
- package/dist/biggive/p-a55f75e9.entry.js.map +1 -0
- package/dist/biggive/p-a61421f8.entry.js +2 -0
- package/dist/biggive/{p-f3246097.entry.js → p-ba6693e6.entry.js} +2 -2
- package/dist/biggive/p-ba6693e6.entry.js.map +1 -0
- package/dist/biggive/p-d97ab5b9.entry.js +2 -0
- package/dist/biggive/{p-5262507c.entry.js.map → p-d97ab5b9.entry.js.map} +1 -1
- package/dist/biggive/p-e0611f0e.entry.js +2 -0
- package/dist/biggive/p-e0611f0e.entry.js.map +1 -0
- package/dist/biggive/p-e70a1cb0.entry.js +2 -0
- package/dist/biggive/p-e70a1cb0.entry.js.map +1 -0
- package/dist/biggive/{p-2eb2b970.entry.js → p-fd5a51e6.entry.js} +2 -2
- package/dist/biggive/p-fd5a51e6.entry.js.map +1 -0
- package/dist/cjs/{biggive-accordion_40.cjs.entry.js → biggive-accordion_38.cjs.entry.js} +376 -244
- package/dist/cjs/biggive-accordion_38.cjs.entry.js.map +1 -0
- package/dist/cjs/biggive-article-card.cjs.entry.js +48 -0
- package/dist/cjs/biggive-article-card.cjs.entry.js.map +1 -0
- package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -8
- package/dist/cjs/biggive-basic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +13 -2
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-biography-card.cjs.entry.js +55 -0
- package/dist/cjs/biggive-biography-card.cjs.entry.js.map +1 -0
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +16 -1
- package/dist/cjs/biggive-boxed-content.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-category-icon.cjs.entry.js +10 -3
- package/dist/cjs/biggive-category-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-container-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-container-card.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +17 -4
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-icon-group.cjs.entry.js +4 -2
- package/dist/cjs/biggive-icon-group.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-image-card.cjs.entry.js +1 -6
- package/dist/cjs/biggive-image-card.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-nav-group.cjs.entry.js +4 -1
- package/dist/cjs/biggive-nav-group.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -4
- package/dist/cjs/biggive-nav-item.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-table.cjs.entry.js +1 -1
- package/dist/cjs/biggive-table.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +10 -1
- package/dist/cjs/biggive-video.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive.cjs.js +3 -3
- package/dist/cjs/biggive.cjs.js.map +1 -1
- package/dist/cjs/{index-c0a19159.js → index-c7b6790e.js} +253 -137
- package/dist/cjs/index-c7b6790e.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/biggive-accordion/biggive-accordion.js +0 -1
- package/dist/collection/components/biggive-accordion/biggive-accordion.js.map +1 -1
- package/dist/collection/components/biggive-accordion-entry/biggive-accordion-entry.js.map +1 -1
- package/dist/collection/components/biggive-article-card/biggive-article-card.js +0 -12
- package/dist/collection/components/biggive-article-card/biggive-article-card.js.map +1 -1
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +0 -7
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js.map +1 -1
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +12 -1
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js.map +1 -1
- package/dist/collection/components/biggive-biography-card/biggive-biography-card.js.map +1 -1
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +15 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js.map +1 -1
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +9 -4
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js.map +1 -1
- package/dist/collection/components/biggive-button/biggive-button.js +27 -4
- package/dist/collection/components/biggive-button/biggive-button.js.map +1 -1
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +36 -8
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js.map +1 -1
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +24 -15
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js.map +1 -1
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +38 -13
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js.map +1 -1
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +6 -12
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js.map +1 -1
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +9 -2
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js.map +1 -1
- package/dist/collection/components/biggive-container-card/biggive-container-card.js.map +1 -1
- package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +16 -3
- package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js.map +1 -1
- package/dist/collection/components/biggive-footer/biggive-footer.js +5 -4
- package/dist/collection/components/biggive-footer/biggive-footer.js.map +1 -1
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +5 -9
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js.map +1 -1
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +9 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js.map +1 -1
- package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.js +0 -3
- package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.js.map +1 -1
- package/dist/collection/components/biggive-grid/biggive-grid.js +3 -0
- package/dist/collection/components/biggive-grid/biggive-grid.js.map +1 -1
- package/dist/collection/components/biggive-heading/biggive-heading.js.map +1 -1
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +31 -8
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js.map +1 -1
- package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +3 -7
- package/dist/collection/components/biggive-icon-button/biggive-icon-button.js.map +1 -1
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +3 -1
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js.map +1 -1
- package/dist/collection/components/biggive-image/biggive-image.js +21 -0
- package/dist/collection/components/biggive-image/biggive-image.js.map +1 -1
- package/dist/collection/components/biggive-image-button/biggive-image-button.js +3 -6
- package/dist/collection/components/biggive-image-button/biggive-image-button.js.map +1 -1
- package/dist/collection/components/biggive-image-card/biggive-image-card.js +0 -5
- package/dist/collection/components/biggive-image-card/biggive-image-card.js.map +1 -1
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +24 -5
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js.map +1 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +13 -5
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js.map +1 -1
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +6 -2
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js.map +1 -1
- package/dist/collection/components/biggive-nav-group/biggive-nav-group.js +3 -0
- package/dist/collection/components/biggive-nav-group/biggive-nav-group.js.map +1 -1
- package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +0 -5
- package/dist/collection/components/biggive-nav-item/biggive-nav-item.js.map +1 -1
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +3 -0
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js.map +1 -1
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +15 -1
- package/dist/collection/components/biggive-page-section/biggive-page-section.js.map +1 -1
- package/dist/collection/components/biggive-popup/biggive-popup.js +4 -1
- package/dist/collection/components/biggive-popup/biggive-popup.js.map +1 -1
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +9 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js.map +1 -1
- package/dist/collection/components/biggive-quote/biggive-quote.js.map +1 -1
- package/dist/collection/components/biggive-sheet/biggive-sheet.js +6 -3
- package/dist/collection/components/biggive-sheet/biggive-sheet.js.map +1 -1
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +16 -1
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js.map +1 -1
- package/dist/collection/components/biggive-tab/biggive-tab.js.map +1 -1
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +7 -7
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js.map +1 -1
- package/dist/collection/components/biggive-table/biggive-table.js.map +1 -1
- package/dist/collection/components/biggive-text-input/biggive-text-input.js +0 -2
- package/dist/collection/components/biggive-text-input/biggive-text-input.js.map +1 -1
- package/dist/collection/components/biggive-timeline/biggive-timeline.js +12 -12
- package/dist/collection/components/biggive-timeline/biggive-timeline.js.map +1 -1
- package/dist/collection/components/biggive-timeline-entry/biggive-timeline-entry.js +0 -4
- package/dist/collection/components/biggive-timeline-entry/biggive-timeline-entry.js.map +1 -1
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +15 -1
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js.map +1 -1
- package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +0 -4
- package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js.map +1 -1
- package/dist/collection/components/biggive-video/biggive-video.js +9 -0
- package/dist/collection/components/biggive-video/biggive-video.js.map +1 -1
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +24 -5
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js.map +1 -1
- package/dist/components/biggive-accordion-entry.js.map +1 -1
- package/dist/components/biggive-accordion.js +0 -1
- package/dist/components/biggive-accordion.js.map +1 -1
- package/dist/components/biggive-article-card.js +0 -12
- package/dist/components/biggive-article-card.js.map +1 -1
- package/dist/components/biggive-basic-card.js +0 -7
- package/dist/components/biggive-basic-card.js.map +1 -1
- package/dist/components/biggive-beneficiary-icon.js +12 -1
- package/dist/components/biggive-beneficiary-icon.js.map +1 -1
- package/dist/components/biggive-biography-card.js.map +1 -1
- package/dist/components/biggive-boxed-content.js +15 -0
- package/dist/components/biggive-boxed-content.js.map +1 -1
- package/dist/components/biggive-branded-image.js +9 -4
- package/dist/components/biggive-branded-image.js.map +1 -1
- package/dist/components/biggive-button2.js +27 -4
- package/dist/components/biggive-button2.js.map +1 -1
- package/dist/components/biggive-call-to-action.js +36 -8
- package/dist/components/biggive-call-to-action.js.map +1 -1
- package/dist/components/biggive-campaign-card-filter-grid.js +38 -13
- package/dist/components/biggive-campaign-card-filter-grid.js.map +1 -1
- package/dist/components/biggive-campaign-card.js +24 -15
- package/dist/components/biggive-campaign-card.js.map +1 -1
- package/dist/components/biggive-campaign-highlights.js +6 -12
- package/dist/components/biggive-campaign-highlights.js.map +1 -1
- package/dist/components/biggive-category-icon.js +9 -2
- package/dist/components/biggive-category-icon.js.map +1 -1
- package/dist/components/biggive-container-card.js.map +1 -1
- package/dist/components/biggive-cookie-banner.js +16 -3
- package/dist/components/biggive-cookie-banner.js.map +1 -1
- package/dist/components/biggive-footer.js +5 -4
- package/dist/components/biggive-footer.js.map +1 -1
- package/dist/components/biggive-form-field-select2.js +5 -9
- package/dist/components/biggive-form-field-select2.js.map +1 -1
- package/dist/components/biggive-formatted-text.js +9 -0
- package/dist/components/biggive-formatted-text.js.map +1 -1
- package/dist/components/biggive-generic-icon2.js +0 -3
- package/dist/components/biggive-generic-icon2.js.map +1 -1
- package/dist/components/biggive-grid.js +3 -0
- package/dist/components/biggive-grid.js.map +1 -1
- package/dist/components/biggive-heading.js.map +1 -1
- package/dist/components/biggive-hero-image.js +31 -8
- package/dist/components/biggive-hero-image.js.map +1 -1
- package/dist/components/biggive-icon-button.js +3 -7
- package/dist/components/biggive-icon-button.js.map +1 -1
- package/dist/components/biggive-icon-group.js +3 -1
- package/dist/components/biggive-icon-group.js.map +1 -1
- package/dist/components/biggive-image-button.js +3 -6
- package/dist/components/biggive-image-button.js.map +1 -1
- package/dist/components/biggive-image-card.js +0 -5
- package/dist/components/biggive-image-card.js.map +1 -1
- package/dist/components/biggive-image-feature.js +24 -5
- package/dist/components/biggive-image-feature.js.map +1 -1
- package/dist/components/biggive-image.js +21 -0
- package/dist/components/biggive-image.js.map +1 -1
- package/dist/components/biggive-main-menu.js +13 -5
- package/dist/components/biggive-main-menu.js.map +1 -1
- package/dist/components/biggive-misc-icon2.js +6 -2
- package/dist/components/biggive-misc-icon2.js.map +1 -1
- package/dist/components/biggive-nav-group.js +3 -0
- package/dist/components/biggive-nav-group.js.map +1 -1
- package/dist/components/biggive-nav-item.js +0 -3
- package/dist/components/biggive-nav-item.js.map +1 -1
- package/dist/components/biggive-page-columns.js +3 -0
- package/dist/components/biggive-page-columns.js.map +1 -1
- package/dist/components/biggive-page-section.js +15 -1
- package/dist/components/biggive-page-section.js.map +1 -1
- package/dist/components/biggive-popup2.js +4 -1
- package/dist/components/biggive-popup2.js.map +1 -1
- package/dist/components/biggive-progress-bar2.js +9 -0
- package/dist/components/biggive-progress-bar2.js.map +1 -1
- package/dist/components/biggive-quote.js.map +1 -1
- package/dist/components/biggive-sheet.js +6 -3
- package/dist/components/biggive-sheet.js.map +1 -1
- package/dist/components/biggive-social-icon2.js +16 -1
- package/dist/components/biggive-social-icon2.js.map +1 -1
- package/dist/components/biggive-tab.js.map +1 -1
- package/dist/components/biggive-tabbed-content.js +7 -7
- package/dist/components/biggive-tabbed-content.js.map +1 -1
- package/dist/components/biggive-table.js.map +1 -1
- package/dist/components/biggive-text-input.js +0 -2
- package/dist/components/biggive-text-input.js.map +1 -1
- package/dist/components/biggive-timeline-entry.js +0 -2
- package/dist/components/biggive-timeline-entry.js.map +1 -1
- package/dist/components/biggive-timeline.js +12 -12
- package/dist/components/biggive-timeline.js.map +1 -1
- package/dist/components/biggive-totalizer-ticker-item.js +0 -2
- package/dist/components/biggive-totalizer-ticker-item.js.map +1 -1
- package/dist/components/biggive-totalizer.js +15 -1
- package/dist/components/biggive-totalizer.js.map +1 -1
- package/dist/components/biggive-video-feature.js +24 -5
- package/dist/components/biggive-video-feature.js.map +1 -1
- package/dist/components/biggive-video.js +9 -0
- package/dist/components/biggive-video.js.map +1 -1
- package/dist/esm/{biggive-accordion_40.entry.js → biggive-accordion_38.entry.js} +377 -243
- package/dist/esm/biggive-accordion_38.entry.js.map +1 -0
- package/dist/esm/biggive-article-card.entry.js +44 -0
- package/dist/esm/biggive-article-card.entry.js.map +1 -0
- package/dist/esm/biggive-basic-card.entry.js +1 -8
- package/dist/esm/biggive-basic-card.entry.js.map +1 -1
- package/dist/esm/biggive-beneficiary-icon.entry.js +13 -2
- package/dist/esm/biggive-beneficiary-icon.entry.js.map +1 -1
- package/dist/esm/biggive-biography-card.entry.js +51 -0
- package/dist/esm/biggive-biography-card.entry.js.map +1 -0
- package/dist/esm/biggive-boxed-content.entry.js +16 -1
- package/dist/esm/biggive-boxed-content.entry.js.map +1 -1
- package/dist/esm/biggive-category-icon.entry.js +10 -3
- package/dist/esm/biggive-category-icon.entry.js.map +1 -1
- package/dist/esm/biggive-container-card.entry.js +1 -1
- package/dist/esm/biggive-container-card.entry.js.map +1 -1
- package/dist/esm/biggive-cookie-banner.entry.js +17 -4
- package/dist/esm/biggive-cookie-banner.entry.js.map +1 -1
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-icon-group.entry.js +4 -2
- package/dist/esm/biggive-icon-group.entry.js.map +1 -1
- package/dist/esm/biggive-image-card.entry.js +1 -6
- package/dist/esm/biggive-image-card.entry.js.map +1 -1
- package/dist/esm/biggive-nav-group.entry.js +4 -1
- package/dist/esm/biggive-nav-group.entry.js.map +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -4
- package/dist/esm/biggive-nav-item.entry.js.map +1 -1
- package/dist/esm/biggive-table.entry.js +1 -1
- package/dist/esm/biggive-table.entry.js.map +1 -1
- package/dist/esm/biggive-video.entry.js +10 -1
- package/dist/esm/biggive-video.entry.js.map +1 -1
- package/dist/esm/biggive.js +4 -4
- package/dist/esm/biggive.js.map +1 -1
- package/dist/esm/{index-bf4df57a.js → index-ccd7196b.js} +253 -137
- package/dist/esm/index-ccd7196b.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/hydrate/index.js +598 -328
- package/hydrate/index.mjs +598 -328
- package/package.json +1 -1
- package/dist/biggive/p-0eda1345.entry.js.map +0 -1
- package/dist/biggive/p-16da1da1.entry.js.map +0 -1
- package/dist/biggive/p-2eb2b970.entry.js.map +0 -1
- package/dist/biggive/p-5262507c.entry.js +0 -2
- package/dist/biggive/p-6a812c8a.entry.js +0 -2
- package/dist/biggive/p-6a812c8a.entry.js.map +0 -1
- package/dist/biggive/p-753c50c5.js +0 -3
- package/dist/biggive/p-753c50c5.js.map +0 -1
- package/dist/biggive/p-87562be2.entry.js.map +0 -1
- package/dist/biggive/p-b1d82c2f.entry.js.map +0 -1
- package/dist/biggive/p-bfaa8a6d.entry.js.map +0 -1
- package/dist/biggive/p-cf7446f9.entry.js +0 -2
- package/dist/biggive/p-cf7446f9.entry.js.map +0 -1
- package/dist/biggive/p-e3b4412e.entry.js +0 -2
- package/dist/biggive/p-e3b4412e.entry.js.map +0 -1
- package/dist/biggive/p-ea8d01ca.entry.js.map +0 -1
- package/dist/biggive/p-f0bb3912.entry.js.map +0 -1
- package/dist/biggive/p-f3246097.entry.js.map +0 -1
- package/dist/biggive/p-f6b8aae2.entry.js +0 -2
- package/dist/cjs/biggive-accordion_40.cjs.entry.js.map +0 -1
- package/dist/cjs/index-c0a19159.js.map +0 -1
- package/dist/esm/biggive-accordion_40.entry.js.map +0 -1
- package/dist/esm/index-bf4df57a.js.map +0 -1
- /package/dist/biggive/{p-f6b8aae2.entry.js.map → p-a61421f8.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -128,10 +128,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
const NAMESPACE = 'biggive';
|
|
131
|
-
const BUILD = /* biggive */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
131
|
+
const BUILD = /* biggive */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
132
132
|
|
|
133
133
|
/*
|
|
134
|
-
Stencil Hydrate Platform v4.23.
|
|
134
|
+
Stencil Hydrate Platform v4.23.1 | MIT Licensed | https://stenciljs.com
|
|
135
135
|
*/
|
|
136
136
|
var __defProp = Object.defineProperty;
|
|
137
137
|
var __export = (target, all) => {
|
|
@@ -149,9 +149,6 @@ var getAssetPath = (path) => {
|
|
|
149
149
|
var EMPTY_OBJ = {};
|
|
150
150
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
151
151
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
152
|
-
|
|
153
|
-
// src/utils/helpers.ts
|
|
154
|
-
var isDef = (v) => v != null;
|
|
155
152
|
var isComplexType = (o) => {
|
|
156
153
|
o = typeof o;
|
|
157
154
|
return o === "object" || o === "function";
|
|
@@ -228,6 +225,95 @@ var DEFAULT_DOC_DATA = {
|
|
|
228
225
|
staticComponents: /* @__PURE__ */ new Set()
|
|
229
226
|
};
|
|
230
227
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
228
|
+
var updateFallbackSlotVisibility = (elm) => {
|
|
229
|
+
const childNodes = elm.__childNodes || elm.childNodes;
|
|
230
|
+
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
231
|
+
getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
|
|
232
|
+
var _a;
|
|
233
|
+
if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
|
|
234
|
+
if ((_a = getHostSlotChildNodes(slotNode, slotNode["s-sn"], false)) == null ? void 0 : _a.length) {
|
|
235
|
+
slotNode.hidden = true;
|
|
236
|
+
} else {
|
|
237
|
+
slotNode.hidden = false;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
for (const childNode of childNodes) {
|
|
243
|
+
if (childNode.nodeType === 1 /* ElementNode */ && (childNode.__childNodes || childNode.childNodes).length) {
|
|
244
|
+
updateFallbackSlotVisibility(childNode);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
var getHostSlotNodes = (childNodes, hostName, slotName) => {
|
|
249
|
+
let i2 = 0;
|
|
250
|
+
let slottedNodes = [];
|
|
251
|
+
let childNode;
|
|
252
|
+
for (; i2 < childNodes.length; i2++) {
|
|
253
|
+
childNode = childNodes[i2];
|
|
254
|
+
if (childNode["s-sr"] && childNode["s-hn"] === hostName && (!slotName || childNode["s-sn"] === slotName)) {
|
|
255
|
+
slottedNodes.push(childNode);
|
|
256
|
+
if (typeof slotName !== "undefined") return slottedNodes;
|
|
257
|
+
}
|
|
258
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
259
|
+
}
|
|
260
|
+
return slottedNodes;
|
|
261
|
+
};
|
|
262
|
+
var getHostSlotChildNodes = (node, slotName, includeSlot = true) => {
|
|
263
|
+
const childNodes = [];
|
|
264
|
+
if (includeSlot && node["s-sr"] || !node["s-sr"]) childNodes.push(node);
|
|
265
|
+
while ((node = node.nextSibling) && node["s-sn"] === slotName) {
|
|
266
|
+
childNodes.push(node);
|
|
267
|
+
}
|
|
268
|
+
return childNodes;
|
|
269
|
+
};
|
|
270
|
+
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
271
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
272
|
+
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
273
|
+
return true;
|
|
274
|
+
}
|
|
275
|
+
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
276
|
+
return true;
|
|
277
|
+
}
|
|
278
|
+
return false;
|
|
279
|
+
}
|
|
280
|
+
if (nodeToRelocate["s-sn"] === slotName) {
|
|
281
|
+
return true;
|
|
282
|
+
}
|
|
283
|
+
return slotName === "";
|
|
284
|
+
};
|
|
285
|
+
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
286
|
+
let slottedNodeLocation;
|
|
287
|
+
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
288
|
+
slottedNodeLocation = newChild["s-ol"];
|
|
289
|
+
} else {
|
|
290
|
+
slottedNodeLocation = document.createTextNode("");
|
|
291
|
+
slottedNodeLocation["s-nr"] = newChild;
|
|
292
|
+
}
|
|
293
|
+
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
294
|
+
const parent = slotNode["s-cr"].parentNode;
|
|
295
|
+
const appendMethod = prepend ? parent.__prepend || parent.prepend : parent.__appendChild || parent.appendChild;
|
|
296
|
+
if (typeof position !== "undefined") {
|
|
297
|
+
{
|
|
298
|
+
slottedNodeLocation["s-oo"] = position;
|
|
299
|
+
const childNodes = parent.__childNodes || parent.childNodes;
|
|
300
|
+
const slotRelocateNodes = [slottedNodeLocation];
|
|
301
|
+
childNodes.forEach((n) => {
|
|
302
|
+
if (n["s-nr"]) slotRelocateNodes.push(n);
|
|
303
|
+
});
|
|
304
|
+
slotRelocateNodes.sort((a, b) => {
|
|
305
|
+
if (!a["s-oo"] || a["s-oo"] < b["s-oo"]) return -1;
|
|
306
|
+
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
|
307
|
+
return 0;
|
|
308
|
+
});
|
|
309
|
+
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
|
310
|
+
}
|
|
311
|
+
} else {
|
|
312
|
+
appendMethod.call(parent, slottedNodeLocation);
|
|
313
|
+
}
|
|
314
|
+
newChild["s-ol"] = slottedNodeLocation;
|
|
315
|
+
newChild["s-sh"] = slotNode["s-hn"];
|
|
316
|
+
};
|
|
231
317
|
var h = (nodeName, vnodeData, ...children) => {
|
|
232
318
|
let child = null;
|
|
233
319
|
let key = null;
|
|
@@ -346,12 +432,19 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
346
432
|
if (memberName === "class") {
|
|
347
433
|
const classList = elm.classList;
|
|
348
434
|
const oldClasses = parseClassList(oldValue);
|
|
349
|
-
|
|
350
|
-
if (elm["s-si"]
|
|
435
|
+
let newClasses = parseClassList(newValue);
|
|
436
|
+
if (elm["s-si"]) {
|
|
351
437
|
newClasses.push(elm["s-si"]);
|
|
438
|
+
oldClasses.forEach((c) => {
|
|
439
|
+
if (c.startsWith(elm["s-si"])) newClasses.push(c);
|
|
440
|
+
});
|
|
441
|
+
newClasses = [...new Set(newClasses)];
|
|
442
|
+
classList.add(...newClasses);
|
|
443
|
+
delete elm["s-si"];
|
|
444
|
+
} else {
|
|
445
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
446
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
352
447
|
}
|
|
353
|
-
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
354
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
355
448
|
} else if (memberName === "style") {
|
|
356
449
|
{
|
|
357
450
|
for (const prop in oldValue) {
|
|
@@ -428,7 +521,15 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
428
521
|
}
|
|
429
522
|
};
|
|
430
523
|
var parseClassListRegex = /\s/;
|
|
431
|
-
var parseClassList = (value) =>
|
|
524
|
+
var parseClassList = (value) => {
|
|
525
|
+
if (typeof value === "object" && "baseVal" in value) {
|
|
526
|
+
value = value.baseVal;
|
|
527
|
+
}
|
|
528
|
+
if (!value) {
|
|
529
|
+
return [];
|
|
530
|
+
}
|
|
531
|
+
return value.split(parseClassListRegex);
|
|
532
|
+
};
|
|
432
533
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
433
534
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
434
535
|
|
|
@@ -457,16 +558,13 @@ function sortedAttrNames(attrNames) {
|
|
|
457
558
|
attrNames
|
|
458
559
|
);
|
|
459
560
|
}
|
|
460
|
-
|
|
461
|
-
// src/runtime/vdom/vdom-render.ts
|
|
462
|
-
var scopeId;
|
|
463
561
|
var contentRef;
|
|
464
562
|
var hostTagName;
|
|
465
563
|
var useNativeShadowDom = false;
|
|
466
564
|
var checkSlotFallbackVisibility = false;
|
|
467
565
|
var checkSlotRelocate = false;
|
|
468
566
|
var isSvgMode = false;
|
|
469
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex
|
|
567
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
470
568
|
var _a;
|
|
471
569
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
472
570
|
let i2 = 0;
|
|
@@ -476,9 +574,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
476
574
|
if (!useNativeShadowDom) {
|
|
477
575
|
checkSlotRelocate = true;
|
|
478
576
|
if (newVNode2.$tag$ === "slot") {
|
|
479
|
-
if (scopeId) {
|
|
480
|
-
parentElm.classList.add(scopeId + "-s");
|
|
481
|
-
}
|
|
482
577
|
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
|
483
578
|
// slot element has fallback content
|
|
484
579
|
// still create an element that "mocks" the slot element
|
|
@@ -509,14 +604,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
509
604
|
{
|
|
510
605
|
updateElement(null, newVNode2, isSvgMode);
|
|
511
606
|
}
|
|
512
|
-
const rootNode = elm.getRootNode();
|
|
513
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
514
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
515
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
516
|
-
}
|
|
517
607
|
if (newVNode2.$children$) {
|
|
518
608
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
519
|
-
childNode = createElm(oldParentVNode, newVNode2, i2
|
|
609
|
+
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
520
610
|
if (childNode) {
|
|
521
611
|
elm.appendChild(childNode);
|
|
522
612
|
}
|
|
@@ -561,7 +651,7 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
561
651
|
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
562
652
|
const childNode = oldSlotChildNodes[i2];
|
|
563
653
|
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
564
|
-
insertBefore(
|
|
654
|
+
insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
|
|
565
655
|
childNode["s-ol"].remove();
|
|
566
656
|
childNode["s-ol"] = void 0;
|
|
567
657
|
childNode["s-sh"] = void 0;
|
|
@@ -581,7 +671,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
581
671
|
}
|
|
582
672
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
583
673
|
if (vnodes[startIdx]) {
|
|
584
|
-
childNode = createElm(null, parentVNode, startIdx
|
|
674
|
+
childNode = createElm(null, parentVNode, startIdx);
|
|
585
675
|
if (childNode) {
|
|
586
676
|
vnodes[startIdx].$elm$ = childNode;
|
|
587
677
|
insertBefore(containerElm, childNode, referenceNode(before) );
|
|
@@ -668,7 +758,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
668
758
|
if (idxInOld >= 0) {
|
|
669
759
|
elmToMove = oldCh[idxInOld];
|
|
670
760
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
671
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld
|
|
761
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
|
672
762
|
} else {
|
|
673
763
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
674
764
|
oldCh[idxInOld] = void 0;
|
|
@@ -676,12 +766,16 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
676
766
|
}
|
|
677
767
|
newStartVnode = newCh[++newStartIdx];
|
|
678
768
|
} else {
|
|
679
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx
|
|
769
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
680
770
|
newStartVnode = newCh[++newStartIdx];
|
|
681
771
|
}
|
|
682
772
|
if (node) {
|
|
683
773
|
{
|
|
684
|
-
insertBefore(
|
|
774
|
+
insertBefore(
|
|
775
|
+
referenceNode(oldStartVnode.$elm$).parentNode,
|
|
776
|
+
node,
|
|
777
|
+
referenceNode(oldStartVnode.$elm$)
|
|
778
|
+
);
|
|
685
779
|
}
|
|
686
780
|
}
|
|
687
781
|
}
|
|
@@ -702,28 +796,19 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
702
796
|
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
703
797
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
704
798
|
if (leftVNode.$tag$ === "slot") {
|
|
705
|
-
if (
|
|
706
|
-
// The component gets hydrated and no VDOM has been initialized.
|
|
707
|
-
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
708
|
-
"$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
|
|
709
|
-
// hydration comments to be removed
|
|
710
|
-
leftVNode.$elm$.nodeType !== 8
|
|
711
|
-
) {
|
|
712
|
-
return false;
|
|
713
|
-
}
|
|
714
799
|
return leftVNode.$name$ === rightVNode.$name$;
|
|
715
800
|
}
|
|
716
801
|
if (!isInitialRender) {
|
|
717
802
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
718
803
|
}
|
|
804
|
+
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
805
|
+
leftVNode.$key$ = rightVNode.$key$;
|
|
806
|
+
}
|
|
719
807
|
return true;
|
|
720
808
|
}
|
|
721
809
|
return false;
|
|
722
810
|
};
|
|
723
|
-
var referenceNode = (node) =>
|
|
724
|
-
return node && node["s-ol"] || node;
|
|
725
|
-
};
|
|
726
|
-
var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
|
|
811
|
+
var referenceNode = (node) => node && node["s-ol"] || node;
|
|
727
812
|
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
728
813
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
729
814
|
const oldChildren = oldVNode.$children$;
|
|
@@ -762,33 +847,6 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
762
847
|
elm.data = text;
|
|
763
848
|
}
|
|
764
849
|
};
|
|
765
|
-
var updateFallbackSlotVisibility = (elm) => {
|
|
766
|
-
const childNodes = elm.__childNodes || elm.childNodes;
|
|
767
|
-
for (const childNode of childNodes) {
|
|
768
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
769
|
-
if (childNode["s-sr"]) {
|
|
770
|
-
const slotName = childNode["s-sn"];
|
|
771
|
-
childNode.hidden = false;
|
|
772
|
-
for (const siblingNode of childNodes) {
|
|
773
|
-
if (siblingNode !== childNode) {
|
|
774
|
-
if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
|
|
775
|
-
if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
|
|
776
|
-
childNode.hidden = true;
|
|
777
|
-
break;
|
|
778
|
-
}
|
|
779
|
-
} else if (slotName === siblingNode["s-sn"]) {
|
|
780
|
-
if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
|
|
781
|
-
childNode.hidden = true;
|
|
782
|
-
break;
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
updateFallbackSlotVisibility(childNode);
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
};
|
|
792
850
|
var relocateNodes = [];
|
|
793
851
|
var markSlotContentForRelocation = (elm) => {
|
|
794
852
|
let node;
|
|
@@ -839,21 +897,6 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
839
897
|
}
|
|
840
898
|
}
|
|
841
899
|
};
|
|
842
|
-
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
843
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
844
|
-
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
845
|
-
return true;
|
|
846
|
-
}
|
|
847
|
-
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
848
|
-
return true;
|
|
849
|
-
}
|
|
850
|
-
return false;
|
|
851
|
-
}
|
|
852
|
-
if (nodeToRelocate["s-sn"] === slotName) {
|
|
853
|
-
return true;
|
|
854
|
-
}
|
|
855
|
-
return slotName === "";
|
|
856
|
-
};
|
|
857
900
|
var nullifyVNodeRefs = (vNode) => {
|
|
858
901
|
{
|
|
859
902
|
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
@@ -865,7 +908,7 @@ var insertBefore = (parent, newNode, reference) => {
|
|
|
865
908
|
return inserted;
|
|
866
909
|
};
|
|
867
910
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
868
|
-
var
|
|
911
|
+
var _c, _d;
|
|
869
912
|
const hostElm = hostRef.$hostElement$;
|
|
870
913
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
871
914
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
@@ -882,9 +925,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
882
925
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
883
926
|
hostRef.$vnode$ = rootVnode;
|
|
884
927
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
885
|
-
{
|
|
886
|
-
scopeId = hostElm["s-sc"];
|
|
887
|
-
}
|
|
888
928
|
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
889
929
|
{
|
|
890
930
|
contentRef = hostElm["s-cr"];
|
|
@@ -909,30 +949,13 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
909
949
|
if (slotRefNode) {
|
|
910
950
|
const parentNodeRef = slotRefNode.parentNode;
|
|
911
951
|
let insertBeforeNode = slotRefNode.nextSibling;
|
|
912
|
-
{
|
|
913
|
-
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
|
914
|
-
while (orgLocationNode) {
|
|
915
|
-
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
|
916
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
|
|
917
|
-
refNode = refNode.nextSibling;
|
|
918
|
-
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
919
|
-
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
920
|
-
}
|
|
921
|
-
if (!refNode || !refNode["s-nr"]) {
|
|
922
|
-
insertBeforeNode = refNode;
|
|
923
|
-
break;
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
orgLocationNode = orgLocationNode.previousSibling;
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
952
|
if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
930
953
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
931
954
|
if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
|
|
932
955
|
nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
|
|
933
956
|
}
|
|
934
957
|
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
935
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
958
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
936
959
|
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
|
937
960
|
}
|
|
938
961
|
}
|
|
@@ -962,38 +985,6 @@ var slotReferenceDebugNode = (slotVNode) => doc.createComment(
|
|
|
962
985
|
var originalLocationDebugNode = (nodeToRelocate) => doc.createComment(
|
|
963
986
|
`org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`)
|
|
964
987
|
);
|
|
965
|
-
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
966
|
-
let slottedNodeLocation;
|
|
967
|
-
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
968
|
-
slottedNodeLocation = newChild["s-ol"];
|
|
969
|
-
} else {
|
|
970
|
-
slottedNodeLocation = document.createTextNode("");
|
|
971
|
-
slottedNodeLocation["s-nr"] = newChild;
|
|
972
|
-
}
|
|
973
|
-
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
974
|
-
const parent = slotNode["s-cr"].parentNode;
|
|
975
|
-
const appendMethod = prepend ? parent.__prepend || parent.prepend : parent.__appendChild || parent.appendChild;
|
|
976
|
-
if (typeof position !== "undefined") {
|
|
977
|
-
{
|
|
978
|
-
slottedNodeLocation["s-oo"] = position;
|
|
979
|
-
const childNodes = parent.__childNodes || parent.childNodes;
|
|
980
|
-
const slotRelocateNodes = [slottedNodeLocation];
|
|
981
|
-
childNodes.forEach((n) => {
|
|
982
|
-
if (n["s-nr"]) slotRelocateNodes.push(n);
|
|
983
|
-
});
|
|
984
|
-
slotRelocateNodes.sort((a, b) => {
|
|
985
|
-
if (!a["s-oo"] || a["s-oo"] < b["s-oo"]) return -1;
|
|
986
|
-
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
|
987
|
-
return 0;
|
|
988
|
-
});
|
|
989
|
-
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
|
990
|
-
}
|
|
991
|
-
} else {
|
|
992
|
-
appendMethod.call(parent, slottedNodeLocation);
|
|
993
|
-
}
|
|
994
|
-
newChild["s-ol"] = slottedNodeLocation;
|
|
995
|
-
newChild["s-sh"] = slotNode["s-hn"];
|
|
996
|
-
};
|
|
997
988
|
var createTime = (fnName, tagName = "") => {
|
|
998
989
|
{
|
|
999
990
|
return () => {
|
|
@@ -1048,6 +1039,18 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1048
1039
|
node["s-cr"] = hostElm["s-cr"];
|
|
1049
1040
|
}
|
|
1050
1041
|
}
|
|
1042
|
+
if (childRenderNode.$tag$ === "slot") {
|
|
1043
|
+
if (childRenderNode.$children$) {
|
|
1044
|
+
childRenderNode.$flags$ |= 2 /* isSlotFallback */;
|
|
1045
|
+
if (!childRenderNode.$elm$.childNodes.length) {
|
|
1046
|
+
childRenderNode.$children$.forEach((c) => {
|
|
1047
|
+
childRenderNode.$elm$.appendChild(c.$elm$);
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
1050
|
+
} else {
|
|
1051
|
+
childRenderNode.$flags$ |= 1 /* isSlotReference */;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1051
1054
|
if (orgLocationNode && orgLocationNode.isConnected) {
|
|
1052
1055
|
if (shadowRoot && orgLocationNode["s-en"] === "") {
|
|
1053
1056
|
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
@@ -1060,8 +1063,8 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1060
1063
|
plt.$orgLocNodes$.delete(orgLocationId);
|
|
1061
1064
|
}
|
|
1062
1065
|
const hosts = [];
|
|
1063
|
-
let snIndex = 0;
|
|
1064
1066
|
const snLen = slottedNodes.length;
|
|
1067
|
+
let snIndex = 0;
|
|
1065
1068
|
let slotGroup;
|
|
1066
1069
|
let snGroupIdx;
|
|
1067
1070
|
let snGroupLen;
|
|
@@ -1083,8 +1086,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1083
1086
|
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
|
1084
1087
|
slottedItem.slot["s-cr"] = hostEle;
|
|
1085
1088
|
} else {
|
|
1086
|
-
|
|
1087
|
-
slottedItem.slot["s-cr"] = hostChildren[0];
|
|
1089
|
+
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
|
1088
1090
|
}
|
|
1089
1091
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1090
1092
|
}
|
|
@@ -1113,7 +1115,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1113
1115
|
let childIdSplt;
|
|
1114
1116
|
let childVNode;
|
|
1115
1117
|
let i2;
|
|
1116
|
-
const scopeId2 = hostElm["s-sc"];
|
|
1117
1118
|
if (node.nodeType === 1 /* ElementNode */) {
|
|
1118
1119
|
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
1119
1120
|
if (childNodeType) {
|
|
@@ -1127,9 +1128,9 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1127
1128
|
$index$: childIdSplt[3],
|
|
1128
1129
|
$tag$: node.tagName.toLowerCase(),
|
|
1129
1130
|
$elm$: node,
|
|
1130
|
-
// If we don't add the initial classes to the VNode, the first `vdom-render.ts`
|
|
1131
|
-
//
|
|
1132
|
-
$attrs$: { class: node.className }
|
|
1131
|
+
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
|
|
1132
|
+
// won't try to reconcile them. Classes set on the node will be blown away.
|
|
1133
|
+
$attrs$: { class: node.className || "" }
|
|
1133
1134
|
});
|
|
1134
1135
|
childRenderNodes.push(childVNode);
|
|
1135
1136
|
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
@@ -1157,7 +1158,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1157
1158
|
if (childVNode.$index$ !== void 0) {
|
|
1158
1159
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1159
1160
|
}
|
|
1160
|
-
if (scopeId2) node["s-si"] = scopeId2;
|
|
1161
1161
|
parentVNode = childVNode;
|
|
1162
1162
|
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1163
1163
|
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
@@ -1232,8 +1232,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1232
1232
|
}
|
|
1233
1233
|
} else if (childVNode.$hostId$ === hostId) {
|
|
1234
1234
|
if (childNodeType === SLOT_NODE_ID) {
|
|
1235
|
-
|
|
1236
|
-
const slotName = node["s-sn"] = childVNode.$name$ = childIdSplt[5] || "";
|
|
1235
|
+
const slotName = node["s-sn"] = childIdSplt[5] || "";
|
|
1237
1236
|
addSlot(
|
|
1238
1237
|
slotName,
|
|
1239
1238
|
childIdSplt[2],
|
|
@@ -1307,6 +1306,8 @@ var createSimpleVNode = (vnode) => {
|
|
|
1307
1306
|
};
|
|
1308
1307
|
function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
|
|
1309
1308
|
node["s-sr"] = true;
|
|
1309
|
+
childVNode.$name$ = slotName || null;
|
|
1310
|
+
childVNode.$tag$ = "slot";
|
|
1310
1311
|
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1311
1312
|
if (shadowRootNodes) {
|
|
1312
1313
|
const slot = childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
@@ -1408,7 +1409,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
1408
1409
|
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
1409
1410
|
styleElm.innerHTML = style;
|
|
1410
1411
|
} else {
|
|
1411
|
-
styleElm = doc.createElement("style");
|
|
1412
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
|
|
1412
1413
|
styleElm.innerHTML = style;
|
|
1413
1414
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
1414
1415
|
if (nonce != null) {
|
|
@@ -1773,7 +1774,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1773
1774
|
plt.jmp(() => {
|
|
1774
1775
|
var _a2;
|
|
1775
1776
|
const propName = attrNameToPropName.get(attrName);
|
|
1776
|
-
if (this.hasOwnProperty(propName)) {
|
|
1777
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
1777
1778
|
newValue = this[propName];
|
|
1778
1779
|
delete this[propName];
|
|
1779
1780
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -2497,7 +2498,6 @@ class BiggiveAccordion {
|
|
|
2497
2498
|
this.spaceBelow = 0;
|
|
2498
2499
|
this.textColour = 'black';
|
|
2499
2500
|
this.headingColour = 'primary';
|
|
2500
|
-
this.children = undefined;
|
|
2501
2501
|
}
|
|
2502
2502
|
componentWillLoad() {
|
|
2503
2503
|
this.children = Array.from(this.host.children);
|
|
@@ -2571,22 +2571,10 @@ class BiggiveArticleCard {
|
|
|
2571
2571
|
this.spaceBelow = 0;
|
|
2572
2572
|
this.backgroundColour = 'white';
|
|
2573
2573
|
this.backgroundImageUrl = '';
|
|
2574
|
-
this.slug = undefined;
|
|
2575
2574
|
this.slugColour = 'black';
|
|
2576
|
-
this.date = undefined;
|
|
2577
2575
|
this.dateColour = 'black';
|
|
2578
|
-
this.mainTitle = undefined;
|
|
2579
2576
|
this.mainTitleColour = 'black';
|
|
2580
|
-
this.mainImageUrl = undefined;
|
|
2581
|
-
this.mainImageAltText = undefined;
|
|
2582
|
-
this.image1Url = undefined;
|
|
2583
|
-
this.image1AltText = undefined;
|
|
2584
|
-
this.image2Url = undefined;
|
|
2585
|
-
this.image2AltText = undefined;
|
|
2586
|
-
this.imageLabel = undefined;
|
|
2587
2577
|
this.imageLabelColour = 'black';
|
|
2588
|
-
this.buttonLabel = undefined;
|
|
2589
|
-
this.buttonUrl = undefined;
|
|
2590
2578
|
this.buttonColour = 'black';
|
|
2591
2579
|
this.clipBottomLeftCorner = true;
|
|
2592
2580
|
this.clipTopRightCorner = true;
|
|
@@ -2676,17 +2664,10 @@ class BiggiveBasicCard {
|
|
|
2676
2664
|
this.backgroundImageUrl = '';
|
|
2677
2665
|
this.cardColour = 'white';
|
|
2678
2666
|
this.textColour = 'black';
|
|
2679
|
-
this.mainImageUrl = undefined;
|
|
2680
|
-
this.mainImageAltText = undefined;
|
|
2681
|
-
this.mainTitle = undefined;
|
|
2682
|
-
this.subtitle = undefined;
|
|
2683
|
-
this.teaser = undefined;
|
|
2684
2667
|
this.icon = true;
|
|
2685
2668
|
this.iconColour = 'primary';
|
|
2686
2669
|
this.buttonAlign = 'center';
|
|
2687
2670
|
this.buttonStyle = 'standard';
|
|
2688
|
-
this.buttonLabel = undefined;
|
|
2689
|
-
this.buttonUrl = undefined;
|
|
2690
2671
|
this.buttonColourScheme = 'clear-primary';
|
|
2691
2672
|
this.clipBottomLeftCorner = true;
|
|
2692
2673
|
this.clipTopRightCorner = true;
|
|
@@ -3219,10 +3200,21 @@ var BiggiveBeneficiaryIconStyle0 = biggiveBeneficiaryIconCss;
|
|
|
3219
3200
|
class BiggiveBeneficiaryIcon {
|
|
3220
3201
|
constructor(hostRef) {
|
|
3221
3202
|
registerInstance(this, hostRef);
|
|
3203
|
+
/**
|
|
3204
|
+
* Background colour
|
|
3205
|
+
*/
|
|
3222
3206
|
this.backgroundColour = 'primary';
|
|
3207
|
+
/**
|
|
3208
|
+
* Background colour
|
|
3209
|
+
*/
|
|
3223
3210
|
this.iconColour = 'white';
|
|
3211
|
+
/**
|
|
3212
|
+
* Icon
|
|
3213
|
+
*/
|
|
3224
3214
|
this.icon = 'Other';
|
|
3225
|
-
|
|
3215
|
+
/**
|
|
3216
|
+
* Url
|
|
3217
|
+
*/
|
|
3226
3218
|
this.url = '#';
|
|
3227
3219
|
}
|
|
3228
3220
|
getBeneficiaryIcon() {
|
|
@@ -3324,10 +3316,25 @@ var BiggiveBoxedContentStyle0 = biggiveBoxedContentCss;
|
|
|
3324
3316
|
class BiggiveBoxedContent {
|
|
3325
3317
|
constructor(hostRef) {
|
|
3326
3318
|
registerInstance(this, hostRef);
|
|
3319
|
+
/**
|
|
3320
|
+
* Space below component
|
|
3321
|
+
*/
|
|
3327
3322
|
this.spaceBelow = 0;
|
|
3323
|
+
/**
|
|
3324
|
+
* Vertical padding
|
|
3325
|
+
*/
|
|
3328
3326
|
this.verticalPadding = 3;
|
|
3327
|
+
/**
|
|
3328
|
+
* Horizontal padding
|
|
3329
|
+
*/
|
|
3329
3330
|
this.horizontalPadding = 3;
|
|
3331
|
+
/**
|
|
3332
|
+
* Background colour
|
|
3333
|
+
*/
|
|
3330
3334
|
this.backgroundColour = 'white';
|
|
3335
|
+
/**
|
|
3336
|
+
* Shadow
|
|
3337
|
+
*/
|
|
3331
3338
|
this.shadow = true;
|
|
3332
3339
|
}
|
|
3333
3340
|
render() {
|
|
@@ -3365,13 +3372,18 @@ var BiggiveBrandedImageStyle0 = biggiveBrandedImageCss;
|
|
|
3365
3372
|
class BiggiveBrandedImage {
|
|
3366
3373
|
constructor(hostRef) {
|
|
3367
3374
|
registerInstance(this, hostRef);
|
|
3375
|
+
/**
|
|
3376
|
+
* Space below component
|
|
3377
|
+
*/
|
|
3368
3378
|
this.spaceBelow = 0;
|
|
3379
|
+
/**
|
|
3380
|
+
* Full URL of a image.
|
|
3381
|
+
*/
|
|
3369
3382
|
this.imageUrl = '';
|
|
3383
|
+
/**
|
|
3384
|
+
* Full URL of the logo.
|
|
3385
|
+
*/
|
|
3370
3386
|
this.logoUrl = '';
|
|
3371
|
-
this.slug = undefined;
|
|
3372
|
-
this.charityName = undefined;
|
|
3373
|
-
this.charityLocation = undefined;
|
|
3374
|
-
this.charityUrl = undefined;
|
|
3375
3387
|
}
|
|
3376
3388
|
render() {
|
|
3377
3389
|
return (hAsync("div", { key: '23614f7c92777ff9cc505df3ba05e414266140ae', class: 'container space-below-' + this.spaceBelow }, hAsync("div", { key: 'de69e9303308ff4be55295f6d98c8df514ed1379', class: "slug" }, this.slug), this.imageUrl !== undefined && this.imageUrl !== null ? (hAsync("div", { class: "image-wrap" }, hAsync("img", { src: this.imageUrl }))) : null, this.logoUrl !== undefined && this.logoUrl !== null ? hAsync("div", { class: "logo-wrap", style: { 'background-image': "url('" + this.logoUrl + "')" } }) : null, this.charityName !== undefined && this.charityName !== null ? hAsync("h3", { class: "title" }, this.charityName) : null, this.charityLocation !== undefined && this.charityLocation !== null ? hAsync("div", { class: "charity-info" }, this.charityLocation) : null));
|
|
@@ -3402,19 +3414,42 @@ class BiggiveButton {
|
|
|
3402
3414
|
constructor(hostRef) {
|
|
3403
3415
|
registerInstance(this, hostRef);
|
|
3404
3416
|
this.doButtonClick = createEvent(this, "doButtonClick", 7);
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3417
|
+
/**
|
|
3418
|
+
* Space below component
|
|
3419
|
+
*/
|
|
3408
3420
|
this.spaceBelow = 1;
|
|
3421
|
+
/**
|
|
3422
|
+
* Colour Scheme
|
|
3423
|
+
*/
|
|
3409
3424
|
this.colourScheme = 'primary';
|
|
3425
|
+
/**
|
|
3426
|
+
* Text
|
|
3427
|
+
*/
|
|
3410
3428
|
this.label = 'Click me';
|
|
3411
|
-
|
|
3429
|
+
/**
|
|
3430
|
+
* New Tab
|
|
3431
|
+
*/
|
|
3412
3432
|
this.openInNewTab = false;
|
|
3433
|
+
/**
|
|
3434
|
+
* Display full width
|
|
3435
|
+
*/
|
|
3413
3436
|
this.fullWidth = false;
|
|
3437
|
+
/**
|
|
3438
|
+
* Size
|
|
3439
|
+
*/
|
|
3414
3440
|
this.size = 'medium';
|
|
3441
|
+
/**
|
|
3442
|
+
* Rounded corners
|
|
3443
|
+
*/
|
|
3415
3444
|
this.rounded = false;
|
|
3445
|
+
/**
|
|
3446
|
+
* Centered
|
|
3447
|
+
*/
|
|
3416
3448
|
this.centered = false;
|
|
3417
3449
|
this.buttonId = undefined;
|
|
3450
|
+
this.handleButtonClick = (event) => {
|
|
3451
|
+
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
3452
|
+
};
|
|
3418
3453
|
}
|
|
3419
3454
|
render() {
|
|
3420
3455
|
// We always want to have a href so that browsers will see this as a link and allow clicking with keybard.
|
|
@@ -3451,25 +3486,53 @@ var BiggiveCallToActionStyle0 = biggiveCallToActionCss;
|
|
|
3451
3486
|
class BiggiveCallToAction {
|
|
3452
3487
|
constructor(hostRef) {
|
|
3453
3488
|
registerInstance(this, hostRef);
|
|
3489
|
+
/**
|
|
3490
|
+
* Space above component
|
|
3491
|
+
*/
|
|
3454
3492
|
this.spaceAbove = 0;
|
|
3493
|
+
/**
|
|
3494
|
+
* Space below component
|
|
3495
|
+
*/
|
|
3455
3496
|
this.spaceBelow = 0;
|
|
3497
|
+
/**
|
|
3498
|
+
* Default text colour
|
|
3499
|
+
*/
|
|
3456
3500
|
this.defaultTextColour = 'primary';
|
|
3501
|
+
/**
|
|
3502
|
+
* Slug size
|
|
3503
|
+
*/
|
|
3457
3504
|
this.slugSize = 4;
|
|
3505
|
+
/**
|
|
3506
|
+
* Slug colour
|
|
3507
|
+
*/
|
|
3458
3508
|
this.slugColour = '';
|
|
3459
|
-
|
|
3509
|
+
/**
|
|
3510
|
+
* Main title colour
|
|
3511
|
+
*/
|
|
3460
3512
|
this.mainTitleColour = '';
|
|
3513
|
+
/**
|
|
3514
|
+
* Main title size
|
|
3515
|
+
*/
|
|
3461
3516
|
this.mainTitleSize = 2;
|
|
3462
|
-
|
|
3517
|
+
/**
|
|
3518
|
+
* Main title size
|
|
3519
|
+
*/
|
|
3463
3520
|
this.subtitleSize = 4;
|
|
3521
|
+
/**
|
|
3522
|
+
* Subtitle colour
|
|
3523
|
+
*/
|
|
3464
3524
|
this.subtitleColour = '';
|
|
3465
|
-
|
|
3525
|
+
/**
|
|
3526
|
+
* Teaser colour
|
|
3527
|
+
*/
|
|
3466
3528
|
this.teaserColour = '';
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3529
|
+
/**
|
|
3530
|
+
* Primary button Colour Scheme
|
|
3531
|
+
*/
|
|
3470
3532
|
this.primaryButtonColourScheme = 'primary';
|
|
3471
|
-
|
|
3472
|
-
|
|
3533
|
+
/**
|
|
3534
|
+
* Secondary button Colour Scheme
|
|
3535
|
+
*/
|
|
3473
3536
|
this.secondaryButtonColourScheme = 'primary';
|
|
3474
3537
|
}
|
|
3475
3538
|
render() {
|
|
@@ -3514,28 +3577,37 @@ class BiggiveCampaignCard {
|
|
|
3514
3577
|
constructor(hostRef) {
|
|
3515
3578
|
registerInstance(this, hostRef);
|
|
3516
3579
|
this.doCardGeneralClick = createEvent(this, "doCardGeneralClick", 7);
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3580
|
+
/**
|
|
3581
|
+
* Space below component
|
|
3582
|
+
*/
|
|
3520
3583
|
this.spaceBelow = 4;
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
this.organisationName = undefined;
|
|
3525
|
-
this.primaryFigureLabel = undefined;
|
|
3526
|
-
this.primaryFigureAmount = undefined;
|
|
3527
|
-
this.secondaryFigureLabel = undefined;
|
|
3528
|
-
this.secondaryFigureAmount = undefined;
|
|
3529
|
-
this.progressBarCounter = undefined;
|
|
3584
|
+
/**
|
|
3585
|
+
* Donate button label
|
|
3586
|
+
*/
|
|
3530
3587
|
this.donateButtonLabel = 'Donate now';
|
|
3531
|
-
|
|
3588
|
+
/**
|
|
3589
|
+
* Donate button colour scheme
|
|
3590
|
+
*/
|
|
3532
3591
|
this.donateButtonColourScheme = 'primary';
|
|
3592
|
+
/**
|
|
3593
|
+
* More information button label
|
|
3594
|
+
*/
|
|
3533
3595
|
this.moreInfoButtonLabel = 'Find out more';
|
|
3534
|
-
|
|
3596
|
+
/**
|
|
3597
|
+
* Donate button colour scheme
|
|
3598
|
+
*/
|
|
3535
3599
|
this.moreInfoButtonColourScheme = 'clear-primary';
|
|
3600
|
+
/**
|
|
3601
|
+
* Boolean flag telling the component if the campaign is in the future (not open yet).
|
|
3602
|
+
*/
|
|
3536
3603
|
this.isFutureCampaign = false;
|
|
3604
|
+
/**
|
|
3605
|
+
* Boolean flag telling the component if the campaign is in the future (not open yet).
|
|
3606
|
+
*/
|
|
3537
3607
|
this.isPastCampaign = false;
|
|
3538
|
-
this.
|
|
3608
|
+
this.handleCardGeneralClick = (event) => {
|
|
3609
|
+
this.doCardGeneralClick.emit({ event, url: this.moreInfoButtonUrl });
|
|
3610
|
+
};
|
|
3539
3611
|
}
|
|
3540
3612
|
isEmpty(value) {
|
|
3541
3613
|
return value === undefined || value === null || value === '';
|
|
@@ -3598,6 +3670,44 @@ class BiggiveCampaignCardFilterGrid {
|
|
|
3598
3670
|
this.newSelectedFilterCategory = null;
|
|
3599
3671
|
this.newSelectedFilterBeneficiary = null;
|
|
3600
3672
|
this.newSelectedFilterLocation = null;
|
|
3673
|
+
/**
|
|
3674
|
+
* Space below component
|
|
3675
|
+
*/
|
|
3676
|
+
this.spaceBelow = 0;
|
|
3677
|
+
/**
|
|
3678
|
+
* Intro
|
|
3679
|
+
*/
|
|
3680
|
+
this.intro = 'Find a charity or project';
|
|
3681
|
+
/**
|
|
3682
|
+
* Optional search text prop. Useful for pre-populating the search field
|
|
3683
|
+
* when the page is loaded with a search term already existing in the URL.
|
|
3684
|
+
* This can happen when sharing links, or if a donor goes to a campaign page
|
|
3685
|
+
* after searching, and then returns to the search results. In such a case,
|
|
3686
|
+
* the search box text will clear, unless we use this prop to populate it on
|
|
3687
|
+
* rendering. DON-652.
|
|
3688
|
+
*/
|
|
3689
|
+
this.searchText = null;
|
|
3690
|
+
/**
|
|
3691
|
+
* Defines the text displayed as the placeholder in the input field
|
|
3692
|
+
* before the user types anything
|
|
3693
|
+
*/
|
|
3694
|
+
this.placeholderText = 'Search';
|
|
3695
|
+
/**
|
|
3696
|
+
* Defines the text on the search button
|
|
3697
|
+
*/
|
|
3698
|
+
this.buttonText = 'Search';
|
|
3699
|
+
/**
|
|
3700
|
+
* For injecting the chosen category to filter by, as per the comment above for `selectedSortByOption`.
|
|
3701
|
+
*/
|
|
3702
|
+
this.selectedFilterCategory = null;
|
|
3703
|
+
/**
|
|
3704
|
+
* For injecting the chosen beneficiary to filter by, as per the comment above for `selectedSortByOption`.
|
|
3705
|
+
*/
|
|
3706
|
+
this.selectedFilterBeneficiary = null;
|
|
3707
|
+
/**
|
|
3708
|
+
* For injecting the chosen location to filter by, as per the comment above for `selectedSortByOption`.
|
|
3709
|
+
*/
|
|
3710
|
+
this.selectedFilterLocation = null;
|
|
3601
3711
|
this.categoryFilterSelectionChanged = (value) => {
|
|
3602
3712
|
this.newSelectedFilterCategory = value;
|
|
3603
3713
|
};
|
|
@@ -3687,19 +3797,6 @@ class BiggiveCampaignCardFilterGrid {
|
|
|
3687
3797
|
filterLocation: null,
|
|
3688
3798
|
});
|
|
3689
3799
|
};
|
|
3690
|
-
this.spaceBelow = 0;
|
|
3691
|
-
this.intro = 'Find a charity or project';
|
|
3692
|
-
this.searchText = null;
|
|
3693
|
-
this.placeholderText = 'Search';
|
|
3694
|
-
this.buttonText = 'Search';
|
|
3695
|
-
this.categoryOptions = undefined;
|
|
3696
|
-
this.beneficiaryOptions = undefined;
|
|
3697
|
-
this.locationOptions = undefined;
|
|
3698
|
-
this.selectedSortByOption = undefined;
|
|
3699
|
-
this.selectedFilterCategory = null;
|
|
3700
|
-
this.selectedFilterBeneficiary = null;
|
|
3701
|
-
this.selectedFilterLocation = null;
|
|
3702
|
-
this.filtersApplied = undefined;
|
|
3703
3800
|
}
|
|
3704
3801
|
/**
|
|
3705
3802
|
* Typically on non-negligible scroll away from the search area.
|
|
@@ -3833,20 +3930,14 @@ var BiggiveCampaignHighlightsStyle0 = biggiveCampaignHighlightsCss;
|
|
|
3833
3930
|
class BiggiveCampaignHighlights {
|
|
3834
3931
|
constructor(hostRef) {
|
|
3835
3932
|
registerInstance(this, hostRef);
|
|
3933
|
+
/**
|
|
3934
|
+
* Space below component
|
|
3935
|
+
*/
|
|
3836
3936
|
this.spaceBelow = 0;
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
this.primaryFigureAmount = undefined;
|
|
3841
|
-
this.secondaryFigureLabel = undefined;
|
|
3842
|
-
this.secondaryFigureAmount = undefined;
|
|
3937
|
+
/**
|
|
3938
|
+
* Progress bar percentage
|
|
3939
|
+
*/
|
|
3843
3940
|
this.progressBarCounter = 100;
|
|
3844
|
-
this.primaryStatIcon = undefined;
|
|
3845
|
-
this.primaryStatText = undefined;
|
|
3846
|
-
this.secondaryStatIcon = undefined;
|
|
3847
|
-
this.secondaryStatText = undefined;
|
|
3848
|
-
this.championName = undefined;
|
|
3849
|
-
this.championUrl = undefined;
|
|
3850
3941
|
}
|
|
3851
3942
|
render() {
|
|
3852
3943
|
return (hAsync("div", { key: 'add93be878549fc1c8f00b8dc3001896724cfe34', class: 'container space-below-' + this.spaceBelow }, hAsync("div", { key: 'd5577539172f56e51540d03e53c91327bed96143', class: "sleeve" }, this.campaignTitle != null ? (hAsync("div", { class: "campaign-title" }, hAsync("span", null, this.campaignTitle))) : null, this.banner !== null && this.banner !== undefined ? (hAsync("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, hAsync("img", { src: this.banner, class: "banner" }))) : null, hAsync("div", { key: 'c7029df25a46f19e84057d4e9db469ba6325d1ec', class: "meta-wrap" }, hAsync("div", { key: '877452b98dd3d64bfa132da71797e6f00bc5696d', class: "meta-item" }, hAsync("span", { key: '4c373ec8b3e8d53754280b5fabecc0986a57f6f8', class: "label" }, this.primaryFigureLabel), hAsync("span", { key: 'c354468bd49fb84a9b5317c7cfb7dc363b0b7b54', class: "text" }, this.primaryFigureAmount)), hAsync("div", { key: '49ba302a5c22f674bd45478607afe5e57c40ad98', class: "meta-item" }, hAsync("span", { key: '8f8c8e3935542794e7ba3e9624cedf5bacd89be1', class: "label" }, this.secondaryFigureLabel), hAsync("span", { key: '952ee3945423ac3f129d59f466b98c7f5b1f9f26', class: "text" }, this.secondaryFigureAmount))), hAsync("div", { key: '76bf79668d1c1f737d400d9d85816310de2147ee', class: "progress-bar-wrap" }, hAsync("biggive-progress-bar", { key: 'cb43751f5905000bb6c294d472a43c89e660447e', counter: this.progressBarCounter, "colour-scheme": "primary" })), hAsync("div", { key: 'af9a81b3c9ca0b15fa44e45df0aa7068ddb9249d', class: "stat-wrap" }, this.primaryStatIcon != null ? (hAsync("div", { class: "stat-item" }, hAsync("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), hAsync("span", { class: "label" }, this.primaryStatText))) : null, this.secondaryStatIcon != null ? (hAsync("div", { class: "stat-item" }, hAsync("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), hAsync("span", { class: "label" }, this.secondaryStatText))) : null), this.championName != null ? (hAsync("div", { class: "championed-by" }, "Championed by ", hAsync("a", { href: this.championUrl }, this.championName))) : null)));
|
|
@@ -3883,10 +3974,17 @@ var BiggiveCategoryIconStyle0 = biggiveCategoryIconCss;
|
|
|
3883
3974
|
class BiggiveCategoryIcon {
|
|
3884
3975
|
constructor(hostRef) {
|
|
3885
3976
|
registerInstance(this, hostRef);
|
|
3977
|
+
/**
|
|
3978
|
+
* Background colour
|
|
3979
|
+
*/
|
|
3886
3980
|
this.backgroundColour = 'primary';
|
|
3981
|
+
/**
|
|
3982
|
+
* Background colour
|
|
3983
|
+
*/
|
|
3887
3984
|
this.iconColour = 'white';
|
|
3888
|
-
|
|
3889
|
-
|
|
3985
|
+
/**
|
|
3986
|
+
* Url
|
|
3987
|
+
*/
|
|
3890
3988
|
this.url = '#';
|
|
3891
3989
|
}
|
|
3892
3990
|
getCategoryIcon() {
|
|
@@ -3960,6 +4058,22 @@ class BiggiveCookieBanner {
|
|
|
3960
4058
|
this.preferenceModalClosed = createEvent(this, "preferenceModalClosed", 7);
|
|
3961
4059
|
this.cookieBannerAcceptAllSelected = createEvent(this, "cookieBannerAcceptAllSelected", 7);
|
|
3962
4060
|
this.cookieBannerSavePreferencesSelected = createEvent(this, "cookieBannerSavePreferencesSelected", 7);
|
|
4061
|
+
/**
|
|
4062
|
+
* If true the Preferences modal will be auto-opened - for use when the user has requested to edit their cookie
|
|
4063
|
+
* preferences
|
|
4064
|
+
*/
|
|
4065
|
+
this.autoOpenPreferences = false;
|
|
4066
|
+
/**
|
|
4067
|
+
* This type is similar to CookiePreferences from donate-frontend/src/app/cookiePreference.service.ts
|
|
4068
|
+
* but afaik there isn't a nice way to share a type.
|
|
4069
|
+
*
|
|
4070
|
+
* When updating please also update the copy in the type of cookieBannerSavePreferencesSelected - using a named type
|
|
4071
|
+
* there caused build problems.
|
|
4072
|
+
*
|
|
4073
|
+
* When updating please also update the type of cookieBannerSavePreferencesSelected - I didn't find a way
|
|
4074
|
+
* to avoid the duplication.
|
|
4075
|
+
*/
|
|
4076
|
+
this.previouslyAgreedCookiePreferences = undefined;
|
|
3963
4077
|
this.handleChoosePrefencesClick = () => {
|
|
3964
4078
|
var _a;
|
|
3965
4079
|
const elementById = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('cookie-preferences-popup');
|
|
@@ -3988,9 +4102,6 @@ class BiggiveCookieBanner {
|
|
|
3988
4102
|
// and make this component disappear.
|
|
3989
4103
|
this.cookieBannerAcceptAllSelected.emit();
|
|
3990
4104
|
};
|
|
3991
|
-
this.autoOpenPreferences = false;
|
|
3992
|
-
this.blogUriPrefix = undefined;
|
|
3993
|
-
this.previouslyAgreedCookiePreferences = undefined;
|
|
3994
4105
|
}
|
|
3995
4106
|
componentDidLoad() {
|
|
3996
4107
|
this.autoOpenPreferencesIfRequested();
|
|
@@ -4040,11 +4151,12 @@ var BiggiveFooterStyle0 = biggiveFooterCss;
|
|
|
4040
4151
|
class BiggiveFooter {
|
|
4041
4152
|
constructor(hostRef) {
|
|
4042
4153
|
registerInstance(this, hostRef);
|
|
4043
|
-
this.year = new Date().getFullYear().toString();
|
|
4044
4154
|
this.headingLevel = 5;
|
|
4045
|
-
this.
|
|
4046
|
-
|
|
4047
|
-
|
|
4155
|
+
this.year = new Date().getFullYear().toString();
|
|
4156
|
+
/**
|
|
4157
|
+
* Conditionally render footer menu:
|
|
4158
|
+
* hard-coded (preset) when set to true, dynamic (slot-based) when set to false
|
|
4159
|
+
*/
|
|
4048
4160
|
this.usePresetFooter = false;
|
|
4049
4161
|
}
|
|
4050
4162
|
appendMenu(menuName) {
|
|
@@ -4116,22 +4228,18 @@ var BiggiveFormFieldSelectStyle0 = biggiveFormFieldSelectCss;
|
|
|
4116
4228
|
class BiggiveFormFieldSelect {
|
|
4117
4229
|
constructor(hostRef) {
|
|
4118
4230
|
registerInstance(this, hostRef);
|
|
4231
|
+
this.selectStyle = 'bordered';
|
|
4232
|
+
this.selectedOptionColour = 'blue';
|
|
4119
4233
|
this.doOptionSelectCompletedHandler = (event) => {
|
|
4120
4234
|
const value = event.target.value;
|
|
4121
4235
|
this.selectedValue = value;
|
|
4122
4236
|
this.selectedLabel = event.target.label;
|
|
4123
4237
|
this.selectionChanged(value);
|
|
4124
4238
|
};
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
this.selectedLabel = undefined;
|
|
4129
|
-
this.options = undefined;
|
|
4130
|
-
this.selectStyle = 'bordered';
|
|
4131
|
-
this.backgroundColour = undefined;
|
|
4132
|
-
this.selectedOptionColour = 'blue';
|
|
4239
|
+
/**
|
|
4240
|
+
* Space below component
|
|
4241
|
+
*/
|
|
4133
4242
|
this.spaceBelow = 0;
|
|
4134
|
-
this.placeholder = undefined;
|
|
4135
4243
|
}
|
|
4136
4244
|
render() {
|
|
4137
4245
|
const greyIfRequired = this.backgroundColour === 'grey' ? ' grey' : '';
|
|
@@ -4191,8 +4299,17 @@ var BiggiveFormattedTextStyle0 = biggiveFormattedTextCss;
|
|
|
4191
4299
|
class BiggiveFormattedText {
|
|
4192
4300
|
constructor(hostRef) {
|
|
4193
4301
|
registerInstance(this, hostRef);
|
|
4302
|
+
/**
|
|
4303
|
+
* Space below component
|
|
4304
|
+
*/
|
|
4194
4305
|
this.spaceBelow = 0;
|
|
4306
|
+
/**
|
|
4307
|
+
* Default text colour
|
|
4308
|
+
*/
|
|
4195
4309
|
this.defaultTextColour = 'primary';
|
|
4310
|
+
/**
|
|
4311
|
+
* Width
|
|
4312
|
+
*/
|
|
4196
4313
|
this.maxWidth = 100;
|
|
4197
4314
|
}
|
|
4198
4315
|
render() {
|
|
@@ -4221,9 +4338,6 @@ class BiggiveGenericIcon {
|
|
|
4221
4338
|
registerInstance(this, hostRef);
|
|
4222
4339
|
this.backgroundColour = 'primary';
|
|
4223
4340
|
this.iconColour = 'white';
|
|
4224
|
-
this.iconGroup = undefined;
|
|
4225
|
-
this.icon = undefined;
|
|
4226
|
-
this.url = undefined;
|
|
4227
4341
|
}
|
|
4228
4342
|
getIconDefinition() {
|
|
4229
4343
|
let iconDefinition;
|
|
@@ -4272,6 +4386,9 @@ class BiggiveGrid {
|
|
|
4272
4386
|
registerInstance(this, hostRef);
|
|
4273
4387
|
this.spaceBelow = 4;
|
|
4274
4388
|
this.columnCount = 3;
|
|
4389
|
+
/**
|
|
4390
|
+
* Deprecated - should use columGap Instead
|
|
4391
|
+
*/
|
|
4275
4392
|
this.spaceBetween = false;
|
|
4276
4393
|
this.columnGap = 0;
|
|
4277
4394
|
}
|
|
@@ -4341,23 +4458,46 @@ var BiggiveHeroImageStyle0 = biggiveHeroImageCss;
|
|
|
4341
4458
|
class BiggiveHeroImage {
|
|
4342
4459
|
constructor(hostRef) {
|
|
4343
4460
|
registerInstance(this, hostRef);
|
|
4461
|
+
/**
|
|
4462
|
+
* Space below component
|
|
4463
|
+
*/
|
|
4344
4464
|
this.spaceBelow = 0;
|
|
4465
|
+
/**
|
|
4466
|
+
* Colour Scheme
|
|
4467
|
+
*/
|
|
4345
4468
|
this.colourScheme = 'primary';
|
|
4346
|
-
|
|
4347
|
-
|
|
4469
|
+
/**
|
|
4470
|
+
* Full URL of a logo image.
|
|
4471
|
+
*/
|
|
4348
4472
|
this.logo = '';
|
|
4473
|
+
/**
|
|
4474
|
+
* Logo container height selection. Numbers are not measurements.
|
|
4475
|
+
*/
|
|
4349
4476
|
this.logoHeight = 3;
|
|
4477
|
+
/**
|
|
4478
|
+
* Logo alt text
|
|
4479
|
+
*/
|
|
4350
4480
|
this.logoAltText = '';
|
|
4481
|
+
/**
|
|
4482
|
+
* Full URL of a main hero image.
|
|
4483
|
+
*/
|
|
4351
4484
|
this.mainImage = null;
|
|
4485
|
+
/**
|
|
4486
|
+
* Determines whether the main image is clipped to a triangle shape (default) or used as
|
|
4487
|
+
* a background for the entire component. Clipping can leave a lot of blank space.
|
|
4488
|
+
*/
|
|
4352
4489
|
this.mainImageShape = 'triangle';
|
|
4490
|
+
/**
|
|
4491
|
+
* Horizontal alignment of image
|
|
4492
|
+
*/
|
|
4353
4493
|
this.mainImageAlignHorizontal = 'center';
|
|
4494
|
+
/**
|
|
4495
|
+
* Vertical alignment of image
|
|
4496
|
+
*/
|
|
4354
4497
|
this.mainImageAlignVertical = 'center';
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
this.teaserColour = undefined;
|
|
4359
|
-
this.buttonUrl = undefined;
|
|
4360
|
-
this.buttonLabel = undefined;
|
|
4498
|
+
/**
|
|
4499
|
+
* Button Colour Scheme
|
|
4500
|
+
*/
|
|
4361
4501
|
this.buttonColourScheme = 'primary';
|
|
4362
4502
|
}
|
|
4363
4503
|
render() {
|
|
@@ -4426,17 +4566,10 @@ class BiggiveIconButton {
|
|
|
4426
4566
|
constructor(hostRef) {
|
|
4427
4567
|
registerInstance(this, hostRef);
|
|
4428
4568
|
this.doButtonClick = createEvent(this, "doButtonClick", 7);
|
|
4429
|
-
this.handleButtonClick = (event) => {
|
|
4430
|
-
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
4431
|
-
};
|
|
4432
4569
|
this.spaceBelow = 1;
|
|
4433
4570
|
this.backgroundColour = 'white';
|
|
4434
4571
|
this.backgroundPadding = 0;
|
|
4435
|
-
this.text = undefined;
|
|
4436
4572
|
this.textColour = 'black';
|
|
4437
|
-
this.iconGroup = undefined;
|
|
4438
|
-
this.icon = undefined;
|
|
4439
|
-
this.url = undefined;
|
|
4440
4573
|
this.openInNewTab = false;
|
|
4441
4574
|
this.size = 'medium';
|
|
4442
4575
|
this.arrow = false;
|
|
@@ -4446,6 +4579,9 @@ class BiggiveIconButton {
|
|
|
4446
4579
|
this.centered = false;
|
|
4447
4580
|
this.rounded = false;
|
|
4448
4581
|
this.buttonId = undefined;
|
|
4582
|
+
this.handleButtonClick = (event) => {
|
|
4583
|
+
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
4584
|
+
};
|
|
4449
4585
|
}
|
|
4450
4586
|
render() {
|
|
4451
4587
|
return (hAsync("div", { key: '2345c3faaec52f17c518641b301caedc686ba150', class: 'container space-below-' +
|
|
@@ -4496,8 +4632,10 @@ var BiggiveIconGroupStyle0 = biggiveIconGroupCss;
|
|
|
4496
4632
|
class BiggiveIconGroup {
|
|
4497
4633
|
constructor(hostRef) {
|
|
4498
4634
|
registerInstance(this, hostRef);
|
|
4635
|
+
/**
|
|
4636
|
+
* Space below component
|
|
4637
|
+
*/
|
|
4499
4638
|
this.spaceBelow = 0;
|
|
4500
|
-
this.label = undefined;
|
|
4501
4639
|
}
|
|
4502
4640
|
render() {
|
|
4503
4641
|
return (hAsync("div", { key: 'ee83a9c74617db46a08413348e1b15ba7468788d', class: 'container space-below-' + this.spaceBelow }, this.label != null ? hAsync("div", { class: "label" }, this.label) : null, hAsync("div", { key: '8492137a5f62593cc93dce4865c29086c768bb2c', class: "sleeve" }, hAsync("slot", { key: '52b9d83703ae72a8f2ed8cb17fe6131eb5fd77d7' }))));
|
|
@@ -4522,12 +4660,33 @@ var BiggiveImageStyle0 = biggiveImageCss;
|
|
|
4522
4660
|
class BiggiveImage {
|
|
4523
4661
|
constructor(hostRef) {
|
|
4524
4662
|
registerInstance(this, hostRef);
|
|
4663
|
+
/**
|
|
4664
|
+
* Space above component
|
|
4665
|
+
*/
|
|
4525
4666
|
this.spaceAbove = 0;
|
|
4667
|
+
/**
|
|
4668
|
+
* Space below component
|
|
4669
|
+
*/
|
|
4526
4670
|
this.spaceBelow = 0;
|
|
4671
|
+
/**
|
|
4672
|
+
* Full URL of a image.
|
|
4673
|
+
*/
|
|
4527
4674
|
this.imageUrl = '';
|
|
4675
|
+
/**
|
|
4676
|
+
* Image alt text tag.
|
|
4677
|
+
*/
|
|
4528
4678
|
this.imageAltText = '';
|
|
4679
|
+
/**
|
|
4680
|
+
* Image width
|
|
4681
|
+
*/
|
|
4529
4682
|
this.width = 0;
|
|
4683
|
+
/**
|
|
4684
|
+
* Image width
|
|
4685
|
+
*/
|
|
4530
4686
|
this.height = 0;
|
|
4687
|
+
/**
|
|
4688
|
+
* Size unit
|
|
4689
|
+
*/
|
|
4531
4690
|
this.sizeUnit = 'px';
|
|
4532
4691
|
}
|
|
4533
4692
|
getWidth() {
|
|
@@ -4573,17 +4732,11 @@ class BiggiveImageButton {
|
|
|
4573
4732
|
constructor(hostRef) {
|
|
4574
4733
|
registerInstance(this, hostRef);
|
|
4575
4734
|
this.doButtonClick = createEvent(this, "doButtonClick", 7);
|
|
4576
|
-
this.handleButtonClick = (event) => {
|
|
4577
|
-
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
4578
|
-
};
|
|
4579
4735
|
this.spaceBelow = 1;
|
|
4580
4736
|
this.backgroundColour = 'white';
|
|
4581
4737
|
this.backgroundPadding = 0;
|
|
4582
|
-
this.text = undefined;
|
|
4583
4738
|
this.textColour = 'black';
|
|
4584
|
-
this.imageUrl = undefined;
|
|
4585
4739
|
this.imageStyle = 'cover';
|
|
4586
|
-
this.url = undefined;
|
|
4587
4740
|
this.openInNewTab = false;
|
|
4588
4741
|
this.size = 'medium';
|
|
4589
4742
|
this.arrow = false;
|
|
@@ -4593,6 +4746,9 @@ class BiggiveImageButton {
|
|
|
4593
4746
|
this.centered = false;
|
|
4594
4747
|
this.rounded = false;
|
|
4595
4748
|
this.buttonId = undefined;
|
|
4749
|
+
this.handleButtonClick = (event) => {
|
|
4750
|
+
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
4751
|
+
};
|
|
4596
4752
|
}
|
|
4597
4753
|
render() {
|
|
4598
4754
|
return (hAsync("div", { key: 'ca8fa701b2ebc212f7b80005f41c43953e67b187', class: 'container space-below-' +
|
|
@@ -4645,15 +4801,10 @@ class BiggiveImageCard {
|
|
|
4645
4801
|
registerInstance(this, hostRef);
|
|
4646
4802
|
this.spaceBelow = 0;
|
|
4647
4803
|
this.backgroundColour = 'primary';
|
|
4648
|
-
this.mainImageUrl = undefined;
|
|
4649
|
-
this.mainImageAltText = undefined;
|
|
4650
4804
|
this.textAlign = 'center';
|
|
4651
|
-
this.teaser = undefined;
|
|
4652
4805
|
this.teaserColour = 'black';
|
|
4653
4806
|
this.buttonAlign = 'center';
|
|
4654
4807
|
this.buttonStyle = 'standard';
|
|
4655
|
-
this.buttonLabel = undefined;
|
|
4656
|
-
this.buttonUrl = undefined;
|
|
4657
4808
|
this.buttonColourScheme = 'clear-primary';
|
|
4658
4809
|
this.clipBottomLeftCorner = true;
|
|
4659
4810
|
this.clipTopRightCorner = true;
|
|
@@ -4704,18 +4855,37 @@ var BiggiveImageFeatureStyle0 = biggiveImageFeatureCss;
|
|
|
4704
4855
|
class BiggiveImageFeature {
|
|
4705
4856
|
constructor(hostRef) {
|
|
4706
4857
|
registerInstance(this, hostRef);
|
|
4858
|
+
/**
|
|
4859
|
+
* Space below component
|
|
4860
|
+
*/
|
|
4707
4861
|
this.spaceBelow = 0;
|
|
4862
|
+
/**
|
|
4863
|
+
* Default text colour
|
|
4864
|
+
*/
|
|
4708
4865
|
this.defaultTextColour = 'primary';
|
|
4866
|
+
/**
|
|
4867
|
+
* Full URL of a image.
|
|
4868
|
+
*/
|
|
4709
4869
|
this.imageUrl = '';
|
|
4870
|
+
/**
|
|
4871
|
+
* Image alt text tag.
|
|
4872
|
+
*/
|
|
4710
4873
|
this.imageAltText = '';
|
|
4711
|
-
|
|
4874
|
+
/**
|
|
4875
|
+
* Slug colour
|
|
4876
|
+
*/
|
|
4712
4877
|
this.slugColour = '';
|
|
4713
|
-
|
|
4878
|
+
/**
|
|
4879
|
+
* Slug colour
|
|
4880
|
+
*/
|
|
4714
4881
|
this.mainTitleColour = '';
|
|
4715
|
-
|
|
4882
|
+
/**
|
|
4883
|
+
* Teaser colour
|
|
4884
|
+
*/
|
|
4716
4885
|
this.teaserColour = '';
|
|
4717
|
-
|
|
4718
|
-
|
|
4886
|
+
/**
|
|
4887
|
+
* Button Colour Scheme
|
|
4888
|
+
*/
|
|
4719
4889
|
this.buttonColourScheme = 'primary';
|
|
4720
4890
|
}
|
|
4721
4891
|
render() {
|
|
@@ -4754,6 +4924,19 @@ class BiggiveMainMenu {
|
|
|
4754
4924
|
registerInstance(this, hostRef);
|
|
4755
4925
|
this.logoutClicked = createEvent(this, "logoutClicked", 7);
|
|
4756
4926
|
this.lastScrollHeight = 0;
|
|
4927
|
+
// URL prefixes vary by environment, and components library is not best placed to know what they are, so we
|
|
4928
|
+
// take them as props. But somehow on first render the prop passed in doesn't seem to be used, so the defaults
|
|
4929
|
+
// below are the values currently used in our prod site. They should be replaced by other values in other
|
|
4930
|
+
// environments.
|
|
4931
|
+
this.blogUrlPrefix = 'https://biggive.org';
|
|
4932
|
+
this.donateUrlPrefix = 'https://donate.biggive.org';
|
|
4933
|
+
this.experienceUrlPrefix = 'https://community.biggive.org';
|
|
4934
|
+
this.myAccountFlagEnabled = false;
|
|
4935
|
+
/**
|
|
4936
|
+
* Whether the current user is logged in (i.e. is assumed to have a valid JWT). They get links to some
|
|
4937
|
+
* extra content if they are.
|
|
4938
|
+
*/
|
|
4939
|
+
this.isLoggedIn = false;
|
|
4757
4940
|
this.openMobileMenu = () => {
|
|
4758
4941
|
const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
|
|
4759
4942
|
mobileMenu.style.left = '0';
|
|
@@ -4765,11 +4948,6 @@ class BiggiveMainMenu {
|
|
|
4765
4948
|
const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
|
|
4766
4949
|
mobileMenu.style.left = '-100%';
|
|
4767
4950
|
};
|
|
4768
|
-
this.blogUrlPrefix = 'https://biggive.org';
|
|
4769
|
-
this.donateUrlPrefix = 'https://donate.biggive.org';
|
|
4770
|
-
this.experienceUrlPrefix = 'https://community.biggive.org';
|
|
4771
|
-
this.myAccountFlagEnabled = false;
|
|
4772
|
-
this.isLoggedIn = false;
|
|
4773
4951
|
}
|
|
4774
4952
|
async closeMobileMenuFromOutside() {
|
|
4775
4953
|
const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
|
|
@@ -4892,10 +5070,14 @@ var BiggiveMiscIconStyle0 = biggiveMiscIconCss;
|
|
|
4892
5070
|
class BiggiveMiscIcon {
|
|
4893
5071
|
constructor(hostRef) {
|
|
4894
5072
|
registerInstance(this, hostRef);
|
|
5073
|
+
/**
|
|
5074
|
+
* Background colour
|
|
5075
|
+
*/
|
|
4895
5076
|
this.backgroundColour = 'primary';
|
|
5077
|
+
/**
|
|
5078
|
+
* Background colour
|
|
5079
|
+
*/
|
|
4896
5080
|
this.iconColour = 'white';
|
|
4897
|
-
this.icon = undefined;
|
|
4898
|
-
this.url = undefined;
|
|
4899
5081
|
}
|
|
4900
5082
|
getMiscIcon() {
|
|
4901
5083
|
var icon = FontAwesomeIconsService.getMiscIcon(this.icon);
|
|
@@ -4928,6 +5110,9 @@ var BiggiveNavGroupStyle0 = biggiveNavGroupCss;
|
|
|
4928
5110
|
class BiggiveNavGroup {
|
|
4929
5111
|
constructor(hostRef) {
|
|
4930
5112
|
registerInstance(this, hostRef);
|
|
5113
|
+
/**
|
|
5114
|
+
* Inline
|
|
5115
|
+
*/
|
|
4931
5116
|
this.inline = true;
|
|
4932
5117
|
}
|
|
4933
5118
|
render() {
|
|
@@ -4952,9 +5137,6 @@ var BiggiveNavItemStyle0 = biggiveNavItemCss;
|
|
|
4952
5137
|
class BiggiveNavItem {
|
|
4953
5138
|
constructor(hostRef) {
|
|
4954
5139
|
registerInstance(this, hostRef);
|
|
4955
|
-
this.url = undefined;
|
|
4956
|
-
this.label = undefined;
|
|
4957
|
-
this.iconColour = undefined;
|
|
4958
5140
|
}
|
|
4959
5141
|
render() {
|
|
4960
5142
|
return (hAsync("li", { key: 'e3397df27a329b834615305d2f0c290942735e3a', class: 'icon-' + this.iconColour }, hAsync("a", { key: '6bcc1f29538da7418b26e4f74b22e55dd1fa5f59', href: this.url }, this.label), hAsync("slot", { key: '9728762db7497b42bce1222b837699c075b31b00' })));
|
|
@@ -5001,6 +5183,9 @@ var BiggivePageColumnsStyle0 = biggivePageColumnsCss;
|
|
|
5001
5183
|
class BiggivePageColumns {
|
|
5002
5184
|
constructor(hostRef) {
|
|
5003
5185
|
registerInstance(this, hostRef);
|
|
5186
|
+
/**
|
|
5187
|
+
* Space below component
|
|
5188
|
+
*/
|
|
5004
5189
|
this.spaceBelow = 0;
|
|
5005
5190
|
}
|
|
5006
5191
|
render() {
|
|
@@ -5025,11 +5210,25 @@ var BiggivePageSectionStyle0 = biggivePageSectionCss;
|
|
|
5025
5210
|
class BiggivePageSection {
|
|
5026
5211
|
constructor(hostRef) {
|
|
5027
5212
|
registerInstance(this, hostRef);
|
|
5213
|
+
/**
|
|
5214
|
+
* Space below component
|
|
5215
|
+
*/
|
|
5028
5216
|
this.spaceBelow = 0;
|
|
5217
|
+
/**
|
|
5218
|
+
* Section style top
|
|
5219
|
+
*/
|
|
5029
5220
|
this.sectionStyleTop = 'straight';
|
|
5221
|
+
/**
|
|
5222
|
+
* Section style bottom
|
|
5223
|
+
*/
|
|
5030
5224
|
this.sectionStyleBottom = 'straight';
|
|
5031
|
-
|
|
5225
|
+
/**
|
|
5226
|
+
* Width
|
|
5227
|
+
*/
|
|
5032
5228
|
this.maxWidth = 100;
|
|
5229
|
+
/**
|
|
5230
|
+
* Bleeds the primary brand colour to the left and right edge of the viewport, even if used within a containing block element.
|
|
5231
|
+
*/
|
|
5033
5232
|
this.primaryFullBleed = false;
|
|
5034
5233
|
}
|
|
5035
5234
|
render() {
|
|
@@ -5069,6 +5268,10 @@ var BiggivePopupStyle0 = biggivePopupCss;
|
|
|
5069
5268
|
class BiggivePopup {
|
|
5070
5269
|
constructor(hostRef) {
|
|
5071
5270
|
registerInstance(this, hostRef);
|
|
5271
|
+
/**
|
|
5272
|
+
* Function to execute when the modal is closed, whether by the user or programmatically.
|
|
5273
|
+
*/
|
|
5274
|
+
this.modalClosedCallback = () => { };
|
|
5072
5275
|
this.closeFromWithin = (event) => {
|
|
5073
5276
|
if (event.target.classList.contains('popup') || event.target.classList.contains('close')) {
|
|
5074
5277
|
this.popup.setAttribute('data-visible', 'false');
|
|
@@ -5076,7 +5279,6 @@ class BiggivePopup {
|
|
|
5076
5279
|
this.modalClosedCallback();
|
|
5077
5280
|
}
|
|
5078
5281
|
};
|
|
5079
|
-
this.modalClosedCallback = () => { };
|
|
5080
5282
|
}
|
|
5081
5283
|
async openFromOutside() {
|
|
5082
5284
|
this.popup.setAttribute('data-visible', 'true');
|
|
@@ -5112,8 +5314,17 @@ var BiggiveProgressBarStyle0 = biggiveProgressBarCss;
|
|
|
5112
5314
|
class BiggiveProgressBar {
|
|
5113
5315
|
constructor(hostRef) {
|
|
5114
5316
|
registerInstance(this, hostRef);
|
|
5317
|
+
/**
|
|
5318
|
+
* Space below component
|
|
5319
|
+
*/
|
|
5115
5320
|
this.spaceBelow = 0;
|
|
5321
|
+
/**
|
|
5322
|
+
* Colour Scheme
|
|
5323
|
+
*/
|
|
5116
5324
|
this.colourScheme = 'primary';
|
|
5325
|
+
/**
|
|
5326
|
+
* Percentage to show + use for CSS width; round before input if desired
|
|
5327
|
+
*/
|
|
5117
5328
|
this.counter = 100;
|
|
5118
5329
|
}
|
|
5119
5330
|
render() {
|
|
@@ -5175,14 +5386,17 @@ var BiggiveSheetStyle0 = biggiveSheetCss;
|
|
|
5175
5386
|
class BiggiveSheet {
|
|
5176
5387
|
constructor(hostRef) {
|
|
5177
5388
|
registerInstance(this, hostRef);
|
|
5389
|
+
/**
|
|
5390
|
+
* A string ID (no spaces) unique within the page context, used to trigger the opening of the sheet from an anchor hash.
|
|
5391
|
+
*/
|
|
5392
|
+
this.sheetId = '';
|
|
5393
|
+
this.backgroundColour = 'primary';
|
|
5394
|
+
this.textColour = 'white';
|
|
5178
5395
|
this.closeSheet = () => {
|
|
5179
5396
|
var _a, _b;
|
|
5180
5397
|
(_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.container')) === null || _b === void 0 ? void 0 : _b.classList.remove('active');
|
|
5181
5398
|
history.pushState('', document.title, window.location.pathname);
|
|
5182
5399
|
};
|
|
5183
|
-
this.sheetId = '';
|
|
5184
|
-
this.backgroundColour = 'primary';
|
|
5185
|
-
this.textColour = 'white';
|
|
5186
5400
|
}
|
|
5187
5401
|
componentWillLoad() {
|
|
5188
5402
|
window.addEventListener('hashchange', () => {
|
|
@@ -5226,11 +5440,26 @@ var BiggiveSocialIconStyle0 = biggiveSocialIconCss;
|
|
|
5226
5440
|
class BiggiveSocialIcon {
|
|
5227
5441
|
constructor(hostRef) {
|
|
5228
5442
|
registerInstance(this, hostRef);
|
|
5229
|
-
|
|
5443
|
+
/**
|
|
5444
|
+
* Used within accessible labels for links. Typically a charity name or "Big Give". Can also be "Share".
|
|
5445
|
+
*/
|
|
5230
5446
|
this.labelPrefix = 'Big Give';
|
|
5447
|
+
/**
|
|
5448
|
+
* Background colour
|
|
5449
|
+
*/
|
|
5231
5450
|
this.backgroundColour = 'primary';
|
|
5451
|
+
/**
|
|
5452
|
+
* Icon colour
|
|
5453
|
+
*/
|
|
5232
5454
|
this.iconColour = 'white';
|
|
5455
|
+
/**
|
|
5456
|
+
* Used in the social icons in the biggive-footer, which are more spaced out
|
|
5457
|
+
* than others across the site. COM-43.
|
|
5458
|
+
*/
|
|
5233
5459
|
this.wide = false;
|
|
5460
|
+
/**
|
|
5461
|
+
* Url
|
|
5462
|
+
*/
|
|
5234
5463
|
this.url = '#';
|
|
5235
5464
|
}
|
|
5236
5465
|
getSocialIcon() {
|
|
@@ -5288,6 +5517,13 @@ var BiggiveTabbedContentStyle0 = biggiveTabbedContentCss;
|
|
|
5288
5517
|
class BiggiveTabbedContent {
|
|
5289
5518
|
constructor(hostRef) {
|
|
5290
5519
|
registerInstance(this, hostRef);
|
|
5520
|
+
this.spaceBelow = 0;
|
|
5521
|
+
this.textColour = 'black';
|
|
5522
|
+
this.selectedTextColour = 'primary';
|
|
5523
|
+
this.navigationHighlightColour = 'grey-medium';
|
|
5524
|
+
this.selectedNavigationHighlightColour = 'primary';
|
|
5525
|
+
this.buttonBackgroundColour = 'white';
|
|
5526
|
+
this.buttonIconColour = 'primary';
|
|
5291
5527
|
this.scrollOffset = 0;
|
|
5292
5528
|
this.children = [];
|
|
5293
5529
|
this.clickTabHandler = (e) => {
|
|
@@ -5307,13 +5543,6 @@ class BiggiveTabbedContent {
|
|
|
5307
5543
|
this.clickNextHandler = () => {
|
|
5308
5544
|
this.scrollTab('NEXT');
|
|
5309
5545
|
};
|
|
5310
|
-
this.spaceBelow = 0;
|
|
5311
|
-
this.textColour = 'black';
|
|
5312
|
-
this.selectedTextColour = 'primary';
|
|
5313
|
-
this.navigationHighlightColour = 'grey-medium';
|
|
5314
|
-
this.selectedNavigationHighlightColour = 'primary';
|
|
5315
|
-
this.buttonBackgroundColour = 'white';
|
|
5316
|
-
this.buttonIconColour = 'primary';
|
|
5317
5546
|
}
|
|
5318
5547
|
componentWillLoad() {
|
|
5319
5548
|
this.children = Array.from(this.host.children);
|
|
@@ -5478,8 +5707,6 @@ var BiggiveTextInputStyle0 = biggiveTextInputCss;
|
|
|
5478
5707
|
class BiggiveTextInput {
|
|
5479
5708
|
constructor(hostRef) {
|
|
5480
5709
|
registerInstance(this, hostRef);
|
|
5481
|
-
this.value = undefined;
|
|
5482
|
-
this.currency = undefined;
|
|
5483
5710
|
this.spaceBelow = 0;
|
|
5484
5711
|
this.selectStyle = 'bordered';
|
|
5485
5712
|
}
|
|
@@ -5519,6 +5746,18 @@ var BiggiveTimelineStyle0 = biggiveTimelineCss;
|
|
|
5519
5746
|
class BiggiveTimeline {
|
|
5520
5747
|
constructor(hostRef) {
|
|
5521
5748
|
registerInstance(this, hostRef);
|
|
5749
|
+
this.spaceBelow = 0;
|
|
5750
|
+
this.textColour = 'black';
|
|
5751
|
+
this.selectedTextColour = 'primary';
|
|
5752
|
+
this.navigationHighlightColour = 'grey-medium';
|
|
5753
|
+
this.selectedNavigationHighlightColour = 'primary';
|
|
5754
|
+
this.buttonBackgroundColour = 'white';
|
|
5755
|
+
this.buttonIconColour = 'primary';
|
|
5756
|
+
this.entryBackgroundColour = 'white';
|
|
5757
|
+
this.entryHighlightColour = 'secondary';
|
|
5758
|
+
this.entryDateColour = 'black';
|
|
5759
|
+
this.entryTitleColour = 'primary';
|
|
5760
|
+
this.entryTextColour = 'black';
|
|
5522
5761
|
this.scrollOffset = 0;
|
|
5523
5762
|
this.tabHeadings = [];
|
|
5524
5763
|
this.children = [];
|
|
@@ -5538,18 +5777,6 @@ class BiggiveTimeline {
|
|
|
5538
5777
|
this.clickNextHandler = () => {
|
|
5539
5778
|
this.scrollTab('NEXT');
|
|
5540
5779
|
};
|
|
5541
|
-
this.spaceBelow = 0;
|
|
5542
|
-
this.textColour = 'black';
|
|
5543
|
-
this.selectedTextColour = 'primary';
|
|
5544
|
-
this.navigationHighlightColour = 'grey-medium';
|
|
5545
|
-
this.selectedNavigationHighlightColour = 'primary';
|
|
5546
|
-
this.buttonBackgroundColour = 'white';
|
|
5547
|
-
this.buttonIconColour = 'primary';
|
|
5548
|
-
this.entryBackgroundColour = 'white';
|
|
5549
|
-
this.entryHighlightColour = 'secondary';
|
|
5550
|
-
this.entryDateColour = 'black';
|
|
5551
|
-
this.entryTitleColour = 'primary';
|
|
5552
|
-
this.entryTextColour = 'black';
|
|
5553
5780
|
}
|
|
5554
5781
|
componentWillLoad() {
|
|
5555
5782
|
this.children = Array.from(this.host.children);
|
|
@@ -5680,8 +5907,6 @@ var BiggiveTimelineEntryStyle0 = biggiveTimelineEntryCss;
|
|
|
5680
5907
|
class BiggiveTimelineEntry {
|
|
5681
5908
|
constructor(hostRef) {
|
|
5682
5909
|
registerInstance(this, hostRef);
|
|
5683
|
-
this.date = undefined;
|
|
5684
|
-
this.heading = undefined;
|
|
5685
5910
|
}
|
|
5686
5911
|
render() {
|
|
5687
5912
|
return null;
|
|
@@ -5707,12 +5932,26 @@ class BiggiveTotalizer {
|
|
|
5707
5932
|
constructor(hostRef) {
|
|
5708
5933
|
registerInstance(this, hostRef);
|
|
5709
5934
|
this.lastWrapperWidth = 0;
|
|
5935
|
+
/**
|
|
5936
|
+
* Space below component
|
|
5937
|
+
*/
|
|
5710
5938
|
this.spaceBelow = 0;
|
|
5939
|
+
/**
|
|
5940
|
+
* Primary banner colour
|
|
5941
|
+
*/
|
|
5711
5942
|
this.primaryColour = 'primary';
|
|
5943
|
+
/**
|
|
5944
|
+
* Primary text colour
|
|
5945
|
+
*/
|
|
5712
5946
|
this.primaryTextColour = 'white';
|
|
5947
|
+
/**
|
|
5948
|
+
* Secondary banner colour
|
|
5949
|
+
*/
|
|
5713
5950
|
this.secondaryColour = 'secondary';
|
|
5951
|
+
/**
|
|
5952
|
+
* Secondary text colour
|
|
5953
|
+
*/
|
|
5714
5954
|
this.secondaryTextColour = 'black';
|
|
5715
|
-
this.mainMessage = undefined;
|
|
5716
5955
|
}
|
|
5717
5956
|
setSpeed(itemsWidth, containerWidth) {
|
|
5718
5957
|
var _a;
|
|
@@ -5813,8 +6052,6 @@ var BiggiveTotalizerTickerItemStyle0 = biggiveTotalizerTickerItemCss;
|
|
|
5813
6052
|
class BiggiveTotalizerTickerItem {
|
|
5814
6053
|
constructor(hostRef) {
|
|
5815
6054
|
registerInstance(this, hostRef);
|
|
5816
|
-
this.figure = undefined;
|
|
5817
|
-
this.label = undefined;
|
|
5818
6055
|
}
|
|
5819
6056
|
render() {
|
|
5820
6057
|
return (hAsync("div", { key: 'a2402c2906760dd5e9f2220ba9f3b82e402ac668', class: "ticker-item" }, hAsync("strong", { key: 'f5c711457f2fd02384f65e8a3d0cefd4643b6fe0' }, this.figure), " ", this.label));
|
|
@@ -5854,8 +6091,17 @@ var BiggiveVideoStyle0 = biggiveVideoCss;
|
|
|
5854
6091
|
class BiggiveVideo {
|
|
5855
6092
|
constructor(hostRef) {
|
|
5856
6093
|
registerInstance(this, hostRef);
|
|
6094
|
+
/**
|
|
6095
|
+
* Space above component
|
|
6096
|
+
*/
|
|
5857
6097
|
this.spaceAbove = 0;
|
|
6098
|
+
/**
|
|
6099
|
+
* Space below component
|
|
6100
|
+
*/
|
|
5858
6101
|
this.spaceBelow = 0;
|
|
6102
|
+
/**
|
|
6103
|
+
* Full URL of a video.
|
|
6104
|
+
*/
|
|
5859
6105
|
this.videoUrl = '';
|
|
5860
6106
|
}
|
|
5861
6107
|
render() {
|
|
@@ -5882,18 +6128,37 @@ var BiggiveVideoFeatureStyle0 = biggiveVideoFeatureCss;
|
|
|
5882
6128
|
class BiggiveVideoFeature {
|
|
5883
6129
|
constructor(hostRef) {
|
|
5884
6130
|
registerInstance(this, hostRef);
|
|
6131
|
+
/**
|
|
6132
|
+
* Space above component
|
|
6133
|
+
*/
|
|
5885
6134
|
this.spaceAbove = 0;
|
|
6135
|
+
/**
|
|
6136
|
+
* Space below component
|
|
6137
|
+
*/
|
|
5886
6138
|
this.spaceBelow = 0;
|
|
6139
|
+
/**
|
|
6140
|
+
* Default text colour
|
|
6141
|
+
*/
|
|
5887
6142
|
this.defaultTextColour = 'primary';
|
|
6143
|
+
/**
|
|
6144
|
+
* Full URL of a video.
|
|
6145
|
+
*/
|
|
5888
6146
|
this.videoUrl = '';
|
|
5889
|
-
|
|
6147
|
+
/**
|
|
6148
|
+
* Slug colour
|
|
6149
|
+
*/
|
|
5890
6150
|
this.slugColour = '';
|
|
5891
|
-
|
|
6151
|
+
/**
|
|
6152
|
+
* Slug colour
|
|
6153
|
+
*/
|
|
5892
6154
|
this.mainTitleColour = '';
|
|
5893
|
-
|
|
6155
|
+
/**
|
|
6156
|
+
* Teaser colour
|
|
6157
|
+
*/
|
|
5894
6158
|
this.teaserColour = '';
|
|
5895
|
-
|
|
5896
|
-
|
|
6159
|
+
/**
|
|
6160
|
+
* Button Colour Scheme
|
|
6161
|
+
*/
|
|
5897
6162
|
this.buttonColourScheme = 'primary';
|
|
5898
6163
|
}
|
|
5899
6164
|
render() {
|
|
@@ -6089,7 +6354,7 @@ var NAMESPACE = (
|
|
|
6089
6354
|
);
|
|
6090
6355
|
|
|
6091
6356
|
/*
|
|
6092
|
-
Stencil Hydrate Runner v4.23.
|
|
6357
|
+
Stencil Hydrate Runner v4.23.1 | MIT Licensed | https://stenciljs.com
|
|
6093
6358
|
*/
|
|
6094
6359
|
var __defProp = Object.defineProperty;
|
|
6095
6360
|
var __export = (target, all) => {
|
|
@@ -16552,7 +16817,10 @@ function* streamToHtml(node, opts, output) {
|
|
|
16552
16817
|
const tag = tagName === shadowRootTag ? "template" : tagName;
|
|
16553
16818
|
yield "<" + tag;
|
|
16554
16819
|
output.currentLineWidth += tag.length + 1;
|
|
16555
|
-
if (tag === "template" && (!node.getAttribute || !node.getAttribute("shadowrootmode"))
|
|
16820
|
+
if (tag === "template" && (!node.getAttribute || !node.getAttribute("shadowrootmode")) && /**
|
|
16821
|
+
* If the node is a shadow root, we want to add the `shadowrootmode` attribute
|
|
16822
|
+
*/
|
|
16823
|
+
("host" in node || node.nodeName.toLocaleLowerCase() === shadowRootTag)) {
|
|
16556
16824
|
const mode = ` shadowrootmode="open"`;
|
|
16557
16825
|
yield mode;
|
|
16558
16826
|
output.currentLineWidth += mode.length;
|
|
@@ -18018,6 +18286,8 @@ function createElement(ownerDocument, tagName) {
|
|
|
18018
18286
|
return new MockTitleElement(ownerDocument);
|
|
18019
18287
|
case "ul":
|
|
18020
18288
|
return new MockUListElement(ownerDocument);
|
|
18289
|
+
case "slot-fb":
|
|
18290
|
+
return new MockHTMLElement(ownerDocument, tagName);
|
|
18021
18291
|
}
|
|
18022
18292
|
if (ownerDocument != null && tagName.includes("-")) {
|
|
18023
18293
|
const win2 = ownerDocument.defaultView;
|