@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.mjs
CHANGED
|
@@ -124,10 +124,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
const NAMESPACE = 'biggive';
|
|
127
|
-
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 };
|
|
127
|
+
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 };
|
|
128
128
|
|
|
129
129
|
/*
|
|
130
|
-
Stencil Hydrate Platform v4.23.
|
|
130
|
+
Stencil Hydrate Platform v4.23.1 | MIT Licensed | https://stenciljs.com
|
|
131
131
|
*/
|
|
132
132
|
var __defProp = Object.defineProperty;
|
|
133
133
|
var __export = (target, all) => {
|
|
@@ -145,9 +145,6 @@ var getAssetPath = (path) => {
|
|
|
145
145
|
var EMPTY_OBJ = {};
|
|
146
146
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
147
147
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
148
|
-
|
|
149
|
-
// src/utils/helpers.ts
|
|
150
|
-
var isDef = (v) => v != null;
|
|
151
148
|
var isComplexType = (o) => {
|
|
152
149
|
o = typeof o;
|
|
153
150
|
return o === "object" || o === "function";
|
|
@@ -224,6 +221,95 @@ var DEFAULT_DOC_DATA = {
|
|
|
224
221
|
staticComponents: /* @__PURE__ */ new Set()
|
|
225
222
|
};
|
|
226
223
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
224
|
+
var updateFallbackSlotVisibility = (elm) => {
|
|
225
|
+
const childNodes = elm.__childNodes || elm.childNodes;
|
|
226
|
+
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
227
|
+
getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
|
|
228
|
+
var _a;
|
|
229
|
+
if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
|
|
230
|
+
if ((_a = getHostSlotChildNodes(slotNode, slotNode["s-sn"], false)) == null ? void 0 : _a.length) {
|
|
231
|
+
slotNode.hidden = true;
|
|
232
|
+
} else {
|
|
233
|
+
slotNode.hidden = false;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
for (const childNode of childNodes) {
|
|
239
|
+
if (childNode.nodeType === 1 /* ElementNode */ && (childNode.__childNodes || childNode.childNodes).length) {
|
|
240
|
+
updateFallbackSlotVisibility(childNode);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
var getHostSlotNodes = (childNodes, hostName, slotName) => {
|
|
245
|
+
let i2 = 0;
|
|
246
|
+
let slottedNodes = [];
|
|
247
|
+
let childNode;
|
|
248
|
+
for (; i2 < childNodes.length; i2++) {
|
|
249
|
+
childNode = childNodes[i2];
|
|
250
|
+
if (childNode["s-sr"] && childNode["s-hn"] === hostName && (!slotName || childNode["s-sn"] === slotName)) {
|
|
251
|
+
slottedNodes.push(childNode);
|
|
252
|
+
if (typeof slotName !== "undefined") return slottedNodes;
|
|
253
|
+
}
|
|
254
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
255
|
+
}
|
|
256
|
+
return slottedNodes;
|
|
257
|
+
};
|
|
258
|
+
var getHostSlotChildNodes = (node, slotName, includeSlot = true) => {
|
|
259
|
+
const childNodes = [];
|
|
260
|
+
if (includeSlot && node["s-sr"] || !node["s-sr"]) childNodes.push(node);
|
|
261
|
+
while ((node = node.nextSibling) && node["s-sn"] === slotName) {
|
|
262
|
+
childNodes.push(node);
|
|
263
|
+
}
|
|
264
|
+
return childNodes;
|
|
265
|
+
};
|
|
266
|
+
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
267
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
268
|
+
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
269
|
+
return true;
|
|
270
|
+
}
|
|
271
|
+
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
272
|
+
return true;
|
|
273
|
+
}
|
|
274
|
+
return false;
|
|
275
|
+
}
|
|
276
|
+
if (nodeToRelocate["s-sn"] === slotName) {
|
|
277
|
+
return true;
|
|
278
|
+
}
|
|
279
|
+
return slotName === "";
|
|
280
|
+
};
|
|
281
|
+
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
282
|
+
let slottedNodeLocation;
|
|
283
|
+
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
284
|
+
slottedNodeLocation = newChild["s-ol"];
|
|
285
|
+
} else {
|
|
286
|
+
slottedNodeLocation = document.createTextNode("");
|
|
287
|
+
slottedNodeLocation["s-nr"] = newChild;
|
|
288
|
+
}
|
|
289
|
+
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
290
|
+
const parent = slotNode["s-cr"].parentNode;
|
|
291
|
+
const appendMethod = prepend ? parent.__prepend || parent.prepend : parent.__appendChild || parent.appendChild;
|
|
292
|
+
if (typeof position !== "undefined") {
|
|
293
|
+
{
|
|
294
|
+
slottedNodeLocation["s-oo"] = position;
|
|
295
|
+
const childNodes = parent.__childNodes || parent.childNodes;
|
|
296
|
+
const slotRelocateNodes = [slottedNodeLocation];
|
|
297
|
+
childNodes.forEach((n) => {
|
|
298
|
+
if (n["s-nr"]) slotRelocateNodes.push(n);
|
|
299
|
+
});
|
|
300
|
+
slotRelocateNodes.sort((a, b) => {
|
|
301
|
+
if (!a["s-oo"] || a["s-oo"] < b["s-oo"]) return -1;
|
|
302
|
+
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
|
303
|
+
return 0;
|
|
304
|
+
});
|
|
305
|
+
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
|
306
|
+
}
|
|
307
|
+
} else {
|
|
308
|
+
appendMethod.call(parent, slottedNodeLocation);
|
|
309
|
+
}
|
|
310
|
+
newChild["s-ol"] = slottedNodeLocation;
|
|
311
|
+
newChild["s-sh"] = slotNode["s-hn"];
|
|
312
|
+
};
|
|
227
313
|
var h = (nodeName, vnodeData, ...children) => {
|
|
228
314
|
let child = null;
|
|
229
315
|
let key = null;
|
|
@@ -342,12 +428,19 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
342
428
|
if (memberName === "class") {
|
|
343
429
|
const classList = elm.classList;
|
|
344
430
|
const oldClasses = parseClassList(oldValue);
|
|
345
|
-
|
|
346
|
-
if (elm["s-si"]
|
|
431
|
+
let newClasses = parseClassList(newValue);
|
|
432
|
+
if (elm["s-si"]) {
|
|
347
433
|
newClasses.push(elm["s-si"]);
|
|
434
|
+
oldClasses.forEach((c) => {
|
|
435
|
+
if (c.startsWith(elm["s-si"])) newClasses.push(c);
|
|
436
|
+
});
|
|
437
|
+
newClasses = [...new Set(newClasses)];
|
|
438
|
+
classList.add(...newClasses);
|
|
439
|
+
delete elm["s-si"];
|
|
440
|
+
} else {
|
|
441
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
442
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
348
443
|
}
|
|
349
|
-
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
350
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
351
444
|
} else if (memberName === "style") {
|
|
352
445
|
{
|
|
353
446
|
for (const prop in oldValue) {
|
|
@@ -424,7 +517,15 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
424
517
|
}
|
|
425
518
|
};
|
|
426
519
|
var parseClassListRegex = /\s/;
|
|
427
|
-
var parseClassList = (value) =>
|
|
520
|
+
var parseClassList = (value) => {
|
|
521
|
+
if (typeof value === "object" && "baseVal" in value) {
|
|
522
|
+
value = value.baseVal;
|
|
523
|
+
}
|
|
524
|
+
if (!value) {
|
|
525
|
+
return [];
|
|
526
|
+
}
|
|
527
|
+
return value.split(parseClassListRegex);
|
|
528
|
+
};
|
|
428
529
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
429
530
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
430
531
|
|
|
@@ -453,16 +554,13 @@ function sortedAttrNames(attrNames) {
|
|
|
453
554
|
attrNames
|
|
454
555
|
);
|
|
455
556
|
}
|
|
456
|
-
|
|
457
|
-
// src/runtime/vdom/vdom-render.ts
|
|
458
|
-
var scopeId;
|
|
459
557
|
var contentRef;
|
|
460
558
|
var hostTagName;
|
|
461
559
|
var useNativeShadowDom = false;
|
|
462
560
|
var checkSlotFallbackVisibility = false;
|
|
463
561
|
var checkSlotRelocate = false;
|
|
464
562
|
var isSvgMode = false;
|
|
465
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex
|
|
563
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
466
564
|
var _a;
|
|
467
565
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
468
566
|
let i2 = 0;
|
|
@@ -472,9 +570,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
472
570
|
if (!useNativeShadowDom) {
|
|
473
571
|
checkSlotRelocate = true;
|
|
474
572
|
if (newVNode2.$tag$ === "slot") {
|
|
475
|
-
if (scopeId) {
|
|
476
|
-
parentElm.classList.add(scopeId + "-s");
|
|
477
|
-
}
|
|
478
573
|
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
|
479
574
|
// slot element has fallback content
|
|
480
575
|
// still create an element that "mocks" the slot element
|
|
@@ -505,14 +600,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
505
600
|
{
|
|
506
601
|
updateElement(null, newVNode2, isSvgMode);
|
|
507
602
|
}
|
|
508
|
-
const rootNode = elm.getRootNode();
|
|
509
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
510
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
511
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
512
|
-
}
|
|
513
603
|
if (newVNode2.$children$) {
|
|
514
604
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
515
|
-
childNode = createElm(oldParentVNode, newVNode2, i2
|
|
605
|
+
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
516
606
|
if (childNode) {
|
|
517
607
|
elm.appendChild(childNode);
|
|
518
608
|
}
|
|
@@ -557,7 +647,7 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
557
647
|
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
558
648
|
const childNode = oldSlotChildNodes[i2];
|
|
559
649
|
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
560
|
-
insertBefore(
|
|
650
|
+
insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
|
|
561
651
|
childNode["s-ol"].remove();
|
|
562
652
|
childNode["s-ol"] = void 0;
|
|
563
653
|
childNode["s-sh"] = void 0;
|
|
@@ -577,7 +667,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
577
667
|
}
|
|
578
668
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
579
669
|
if (vnodes[startIdx]) {
|
|
580
|
-
childNode = createElm(null, parentVNode, startIdx
|
|
670
|
+
childNode = createElm(null, parentVNode, startIdx);
|
|
581
671
|
if (childNode) {
|
|
582
672
|
vnodes[startIdx].$elm$ = childNode;
|
|
583
673
|
insertBefore(containerElm, childNode, referenceNode(before) );
|
|
@@ -664,7 +754,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
664
754
|
if (idxInOld >= 0) {
|
|
665
755
|
elmToMove = oldCh[idxInOld];
|
|
666
756
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
667
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld
|
|
757
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
|
668
758
|
} else {
|
|
669
759
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
670
760
|
oldCh[idxInOld] = void 0;
|
|
@@ -672,12 +762,16 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
672
762
|
}
|
|
673
763
|
newStartVnode = newCh[++newStartIdx];
|
|
674
764
|
} else {
|
|
675
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx
|
|
765
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
676
766
|
newStartVnode = newCh[++newStartIdx];
|
|
677
767
|
}
|
|
678
768
|
if (node) {
|
|
679
769
|
{
|
|
680
|
-
insertBefore(
|
|
770
|
+
insertBefore(
|
|
771
|
+
referenceNode(oldStartVnode.$elm$).parentNode,
|
|
772
|
+
node,
|
|
773
|
+
referenceNode(oldStartVnode.$elm$)
|
|
774
|
+
);
|
|
681
775
|
}
|
|
682
776
|
}
|
|
683
777
|
}
|
|
@@ -698,28 +792,19 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
698
792
|
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
699
793
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
700
794
|
if (leftVNode.$tag$ === "slot") {
|
|
701
|
-
if (
|
|
702
|
-
// The component gets hydrated and no VDOM has been initialized.
|
|
703
|
-
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
704
|
-
"$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
|
|
705
|
-
// hydration comments to be removed
|
|
706
|
-
leftVNode.$elm$.nodeType !== 8
|
|
707
|
-
) {
|
|
708
|
-
return false;
|
|
709
|
-
}
|
|
710
795
|
return leftVNode.$name$ === rightVNode.$name$;
|
|
711
796
|
}
|
|
712
797
|
if (!isInitialRender) {
|
|
713
798
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
714
799
|
}
|
|
800
|
+
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
801
|
+
leftVNode.$key$ = rightVNode.$key$;
|
|
802
|
+
}
|
|
715
803
|
return true;
|
|
716
804
|
}
|
|
717
805
|
return false;
|
|
718
806
|
};
|
|
719
|
-
var referenceNode = (node) =>
|
|
720
|
-
return node && node["s-ol"] || node;
|
|
721
|
-
};
|
|
722
|
-
var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
|
|
807
|
+
var referenceNode = (node) => node && node["s-ol"] || node;
|
|
723
808
|
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
724
809
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
725
810
|
const oldChildren = oldVNode.$children$;
|
|
@@ -758,33 +843,6 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
758
843
|
elm.data = text;
|
|
759
844
|
}
|
|
760
845
|
};
|
|
761
|
-
var updateFallbackSlotVisibility = (elm) => {
|
|
762
|
-
const childNodes = elm.__childNodes || elm.childNodes;
|
|
763
|
-
for (const childNode of childNodes) {
|
|
764
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
765
|
-
if (childNode["s-sr"]) {
|
|
766
|
-
const slotName = childNode["s-sn"];
|
|
767
|
-
childNode.hidden = false;
|
|
768
|
-
for (const siblingNode of childNodes) {
|
|
769
|
-
if (siblingNode !== childNode) {
|
|
770
|
-
if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
|
|
771
|
-
if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
|
|
772
|
-
childNode.hidden = true;
|
|
773
|
-
break;
|
|
774
|
-
}
|
|
775
|
-
} else if (slotName === siblingNode["s-sn"]) {
|
|
776
|
-
if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
|
|
777
|
-
childNode.hidden = true;
|
|
778
|
-
break;
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
updateFallbackSlotVisibility(childNode);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
};
|
|
788
846
|
var relocateNodes = [];
|
|
789
847
|
var markSlotContentForRelocation = (elm) => {
|
|
790
848
|
let node;
|
|
@@ -835,21 +893,6 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
835
893
|
}
|
|
836
894
|
}
|
|
837
895
|
};
|
|
838
|
-
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
839
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
840
|
-
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
841
|
-
return true;
|
|
842
|
-
}
|
|
843
|
-
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
844
|
-
return true;
|
|
845
|
-
}
|
|
846
|
-
return false;
|
|
847
|
-
}
|
|
848
|
-
if (nodeToRelocate["s-sn"] === slotName) {
|
|
849
|
-
return true;
|
|
850
|
-
}
|
|
851
|
-
return slotName === "";
|
|
852
|
-
};
|
|
853
896
|
var nullifyVNodeRefs = (vNode) => {
|
|
854
897
|
{
|
|
855
898
|
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
@@ -861,7 +904,7 @@ var insertBefore = (parent, newNode, reference) => {
|
|
|
861
904
|
return inserted;
|
|
862
905
|
};
|
|
863
906
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
864
|
-
var
|
|
907
|
+
var _c, _d;
|
|
865
908
|
const hostElm = hostRef.$hostElement$;
|
|
866
909
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
867
910
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
@@ -878,9 +921,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
878
921
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
879
922
|
hostRef.$vnode$ = rootVnode;
|
|
880
923
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
881
|
-
{
|
|
882
|
-
scopeId = hostElm["s-sc"];
|
|
883
|
-
}
|
|
884
924
|
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
885
925
|
{
|
|
886
926
|
contentRef = hostElm["s-cr"];
|
|
@@ -905,30 +945,13 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
905
945
|
if (slotRefNode) {
|
|
906
946
|
const parentNodeRef = slotRefNode.parentNode;
|
|
907
947
|
let insertBeforeNode = slotRefNode.nextSibling;
|
|
908
|
-
{
|
|
909
|
-
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
|
910
|
-
while (orgLocationNode) {
|
|
911
|
-
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
|
912
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
|
|
913
|
-
refNode = refNode.nextSibling;
|
|
914
|
-
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
915
|
-
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
916
|
-
}
|
|
917
|
-
if (!refNode || !refNode["s-nr"]) {
|
|
918
|
-
insertBeforeNode = refNode;
|
|
919
|
-
break;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
orgLocationNode = orgLocationNode.previousSibling;
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
948
|
if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
926
949
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
927
950
|
if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
|
|
928
951
|
nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
|
|
929
952
|
}
|
|
930
953
|
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
931
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
954
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
932
955
|
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
|
933
956
|
}
|
|
934
957
|
}
|
|
@@ -958,38 +981,6 @@ var slotReferenceDebugNode = (slotVNode) => doc.createComment(
|
|
|
958
981
|
var originalLocationDebugNode = (nodeToRelocate) => doc.createComment(
|
|
959
982
|
`org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`)
|
|
960
983
|
);
|
|
961
|
-
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
962
|
-
let slottedNodeLocation;
|
|
963
|
-
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
964
|
-
slottedNodeLocation = newChild["s-ol"];
|
|
965
|
-
} else {
|
|
966
|
-
slottedNodeLocation = document.createTextNode("");
|
|
967
|
-
slottedNodeLocation["s-nr"] = newChild;
|
|
968
|
-
}
|
|
969
|
-
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
970
|
-
const parent = slotNode["s-cr"].parentNode;
|
|
971
|
-
const appendMethod = prepend ? parent.__prepend || parent.prepend : parent.__appendChild || parent.appendChild;
|
|
972
|
-
if (typeof position !== "undefined") {
|
|
973
|
-
{
|
|
974
|
-
slottedNodeLocation["s-oo"] = position;
|
|
975
|
-
const childNodes = parent.__childNodes || parent.childNodes;
|
|
976
|
-
const slotRelocateNodes = [slottedNodeLocation];
|
|
977
|
-
childNodes.forEach((n) => {
|
|
978
|
-
if (n["s-nr"]) slotRelocateNodes.push(n);
|
|
979
|
-
});
|
|
980
|
-
slotRelocateNodes.sort((a, b) => {
|
|
981
|
-
if (!a["s-oo"] || a["s-oo"] < b["s-oo"]) return -1;
|
|
982
|
-
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
|
983
|
-
return 0;
|
|
984
|
-
});
|
|
985
|
-
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
|
986
|
-
}
|
|
987
|
-
} else {
|
|
988
|
-
appendMethod.call(parent, slottedNodeLocation);
|
|
989
|
-
}
|
|
990
|
-
newChild["s-ol"] = slottedNodeLocation;
|
|
991
|
-
newChild["s-sh"] = slotNode["s-hn"];
|
|
992
|
-
};
|
|
993
984
|
var createTime = (fnName, tagName = "") => {
|
|
994
985
|
{
|
|
995
986
|
return () => {
|
|
@@ -1044,6 +1035,18 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1044
1035
|
node["s-cr"] = hostElm["s-cr"];
|
|
1045
1036
|
}
|
|
1046
1037
|
}
|
|
1038
|
+
if (childRenderNode.$tag$ === "slot") {
|
|
1039
|
+
if (childRenderNode.$children$) {
|
|
1040
|
+
childRenderNode.$flags$ |= 2 /* isSlotFallback */;
|
|
1041
|
+
if (!childRenderNode.$elm$.childNodes.length) {
|
|
1042
|
+
childRenderNode.$children$.forEach((c) => {
|
|
1043
|
+
childRenderNode.$elm$.appendChild(c.$elm$);
|
|
1044
|
+
});
|
|
1045
|
+
}
|
|
1046
|
+
} else {
|
|
1047
|
+
childRenderNode.$flags$ |= 1 /* isSlotReference */;
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1047
1050
|
if (orgLocationNode && orgLocationNode.isConnected) {
|
|
1048
1051
|
if (shadowRoot && orgLocationNode["s-en"] === "") {
|
|
1049
1052
|
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
@@ -1056,8 +1059,8 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1056
1059
|
plt.$orgLocNodes$.delete(orgLocationId);
|
|
1057
1060
|
}
|
|
1058
1061
|
const hosts = [];
|
|
1059
|
-
let snIndex = 0;
|
|
1060
1062
|
const snLen = slottedNodes.length;
|
|
1063
|
+
let snIndex = 0;
|
|
1061
1064
|
let slotGroup;
|
|
1062
1065
|
let snGroupIdx;
|
|
1063
1066
|
let snGroupLen;
|
|
@@ -1079,8 +1082,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1079
1082
|
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
|
1080
1083
|
slottedItem.slot["s-cr"] = hostEle;
|
|
1081
1084
|
} else {
|
|
1082
|
-
|
|
1083
|
-
slottedItem.slot["s-cr"] = hostChildren[0];
|
|
1085
|
+
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
|
1084
1086
|
}
|
|
1085
1087
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1086
1088
|
}
|
|
@@ -1109,7 +1111,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1109
1111
|
let childIdSplt;
|
|
1110
1112
|
let childVNode;
|
|
1111
1113
|
let i2;
|
|
1112
|
-
const scopeId2 = hostElm["s-sc"];
|
|
1113
1114
|
if (node.nodeType === 1 /* ElementNode */) {
|
|
1114
1115
|
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
1115
1116
|
if (childNodeType) {
|
|
@@ -1123,9 +1124,9 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1123
1124
|
$index$: childIdSplt[3],
|
|
1124
1125
|
$tag$: node.tagName.toLowerCase(),
|
|
1125
1126
|
$elm$: node,
|
|
1126
|
-
// If we don't add the initial classes to the VNode, the first `vdom-render.ts`
|
|
1127
|
-
//
|
|
1128
|
-
$attrs$: { class: node.className }
|
|
1127
|
+
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
|
|
1128
|
+
// won't try to reconcile them. Classes set on the node will be blown away.
|
|
1129
|
+
$attrs$: { class: node.className || "" }
|
|
1129
1130
|
});
|
|
1130
1131
|
childRenderNodes.push(childVNode);
|
|
1131
1132
|
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
@@ -1153,7 +1154,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1153
1154
|
if (childVNode.$index$ !== void 0) {
|
|
1154
1155
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1155
1156
|
}
|
|
1156
|
-
if (scopeId2) node["s-si"] = scopeId2;
|
|
1157
1157
|
parentVNode = childVNode;
|
|
1158
1158
|
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1159
1159
|
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
@@ -1228,8 +1228,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1228
1228
|
}
|
|
1229
1229
|
} else if (childVNode.$hostId$ === hostId) {
|
|
1230
1230
|
if (childNodeType === SLOT_NODE_ID) {
|
|
1231
|
-
|
|
1232
|
-
const slotName = node["s-sn"] = childVNode.$name$ = childIdSplt[5] || "";
|
|
1231
|
+
const slotName = node["s-sn"] = childIdSplt[5] || "";
|
|
1233
1232
|
addSlot(
|
|
1234
1233
|
slotName,
|
|
1235
1234
|
childIdSplt[2],
|
|
@@ -1303,6 +1302,8 @@ var createSimpleVNode = (vnode) => {
|
|
|
1303
1302
|
};
|
|
1304
1303
|
function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
|
|
1305
1304
|
node["s-sr"] = true;
|
|
1305
|
+
childVNode.$name$ = slotName || null;
|
|
1306
|
+
childVNode.$tag$ = "slot";
|
|
1306
1307
|
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1307
1308
|
if (shadowRootNodes) {
|
|
1308
1309
|
const slot = childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
@@ -1404,7 +1405,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
1404
1405
|
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
1405
1406
|
styleElm.innerHTML = style;
|
|
1406
1407
|
} else {
|
|
1407
|
-
styleElm = doc.createElement("style");
|
|
1408
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
|
|
1408
1409
|
styleElm.innerHTML = style;
|
|
1409
1410
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
1410
1411
|
if (nonce != null) {
|
|
@@ -1769,7 +1770,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1769
1770
|
plt.jmp(() => {
|
|
1770
1771
|
var _a2;
|
|
1771
1772
|
const propName = attrNameToPropName.get(attrName);
|
|
1772
|
-
if (this.hasOwnProperty(propName)) {
|
|
1773
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
1773
1774
|
newValue = this[propName];
|
|
1774
1775
|
delete this[propName];
|
|
1775
1776
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -2493,7 +2494,6 @@ class BiggiveAccordion {
|
|
|
2493
2494
|
this.spaceBelow = 0;
|
|
2494
2495
|
this.textColour = 'black';
|
|
2495
2496
|
this.headingColour = 'primary';
|
|
2496
|
-
this.children = undefined;
|
|
2497
2497
|
}
|
|
2498
2498
|
componentWillLoad() {
|
|
2499
2499
|
this.children = Array.from(this.host.children);
|
|
@@ -2567,22 +2567,10 @@ class BiggiveArticleCard {
|
|
|
2567
2567
|
this.spaceBelow = 0;
|
|
2568
2568
|
this.backgroundColour = 'white';
|
|
2569
2569
|
this.backgroundImageUrl = '';
|
|
2570
|
-
this.slug = undefined;
|
|
2571
2570
|
this.slugColour = 'black';
|
|
2572
|
-
this.date = undefined;
|
|
2573
2571
|
this.dateColour = 'black';
|
|
2574
|
-
this.mainTitle = undefined;
|
|
2575
2572
|
this.mainTitleColour = 'black';
|
|
2576
|
-
this.mainImageUrl = undefined;
|
|
2577
|
-
this.mainImageAltText = undefined;
|
|
2578
|
-
this.image1Url = undefined;
|
|
2579
|
-
this.image1AltText = undefined;
|
|
2580
|
-
this.image2Url = undefined;
|
|
2581
|
-
this.image2AltText = undefined;
|
|
2582
|
-
this.imageLabel = undefined;
|
|
2583
2573
|
this.imageLabelColour = 'black';
|
|
2584
|
-
this.buttonLabel = undefined;
|
|
2585
|
-
this.buttonUrl = undefined;
|
|
2586
2574
|
this.buttonColour = 'black';
|
|
2587
2575
|
this.clipBottomLeftCorner = true;
|
|
2588
2576
|
this.clipTopRightCorner = true;
|
|
@@ -2672,17 +2660,10 @@ class BiggiveBasicCard {
|
|
|
2672
2660
|
this.backgroundImageUrl = '';
|
|
2673
2661
|
this.cardColour = 'white';
|
|
2674
2662
|
this.textColour = 'black';
|
|
2675
|
-
this.mainImageUrl = undefined;
|
|
2676
|
-
this.mainImageAltText = undefined;
|
|
2677
|
-
this.mainTitle = undefined;
|
|
2678
|
-
this.subtitle = undefined;
|
|
2679
|
-
this.teaser = undefined;
|
|
2680
2663
|
this.icon = true;
|
|
2681
2664
|
this.iconColour = 'primary';
|
|
2682
2665
|
this.buttonAlign = 'center';
|
|
2683
2666
|
this.buttonStyle = 'standard';
|
|
2684
|
-
this.buttonLabel = undefined;
|
|
2685
|
-
this.buttonUrl = undefined;
|
|
2686
2667
|
this.buttonColourScheme = 'clear-primary';
|
|
2687
2668
|
this.clipBottomLeftCorner = true;
|
|
2688
2669
|
this.clipTopRightCorner = true;
|
|
@@ -3215,10 +3196,21 @@ var BiggiveBeneficiaryIconStyle0 = biggiveBeneficiaryIconCss;
|
|
|
3215
3196
|
class BiggiveBeneficiaryIcon {
|
|
3216
3197
|
constructor(hostRef) {
|
|
3217
3198
|
registerInstance(this, hostRef);
|
|
3199
|
+
/**
|
|
3200
|
+
* Background colour
|
|
3201
|
+
*/
|
|
3218
3202
|
this.backgroundColour = 'primary';
|
|
3203
|
+
/**
|
|
3204
|
+
* Background colour
|
|
3205
|
+
*/
|
|
3219
3206
|
this.iconColour = 'white';
|
|
3207
|
+
/**
|
|
3208
|
+
* Icon
|
|
3209
|
+
*/
|
|
3220
3210
|
this.icon = 'Other';
|
|
3221
|
-
|
|
3211
|
+
/**
|
|
3212
|
+
* Url
|
|
3213
|
+
*/
|
|
3222
3214
|
this.url = '#';
|
|
3223
3215
|
}
|
|
3224
3216
|
getBeneficiaryIcon() {
|
|
@@ -3320,10 +3312,25 @@ var BiggiveBoxedContentStyle0 = biggiveBoxedContentCss;
|
|
|
3320
3312
|
class BiggiveBoxedContent {
|
|
3321
3313
|
constructor(hostRef) {
|
|
3322
3314
|
registerInstance(this, hostRef);
|
|
3315
|
+
/**
|
|
3316
|
+
* Space below component
|
|
3317
|
+
*/
|
|
3323
3318
|
this.spaceBelow = 0;
|
|
3319
|
+
/**
|
|
3320
|
+
* Vertical padding
|
|
3321
|
+
*/
|
|
3324
3322
|
this.verticalPadding = 3;
|
|
3323
|
+
/**
|
|
3324
|
+
* Horizontal padding
|
|
3325
|
+
*/
|
|
3325
3326
|
this.horizontalPadding = 3;
|
|
3327
|
+
/**
|
|
3328
|
+
* Background colour
|
|
3329
|
+
*/
|
|
3326
3330
|
this.backgroundColour = 'white';
|
|
3331
|
+
/**
|
|
3332
|
+
* Shadow
|
|
3333
|
+
*/
|
|
3327
3334
|
this.shadow = true;
|
|
3328
3335
|
}
|
|
3329
3336
|
render() {
|
|
@@ -3361,13 +3368,18 @@ var BiggiveBrandedImageStyle0 = biggiveBrandedImageCss;
|
|
|
3361
3368
|
class BiggiveBrandedImage {
|
|
3362
3369
|
constructor(hostRef) {
|
|
3363
3370
|
registerInstance(this, hostRef);
|
|
3371
|
+
/**
|
|
3372
|
+
* Space below component
|
|
3373
|
+
*/
|
|
3364
3374
|
this.spaceBelow = 0;
|
|
3375
|
+
/**
|
|
3376
|
+
* Full URL of a image.
|
|
3377
|
+
*/
|
|
3365
3378
|
this.imageUrl = '';
|
|
3379
|
+
/**
|
|
3380
|
+
* Full URL of the logo.
|
|
3381
|
+
*/
|
|
3366
3382
|
this.logoUrl = '';
|
|
3367
|
-
this.slug = undefined;
|
|
3368
|
-
this.charityName = undefined;
|
|
3369
|
-
this.charityLocation = undefined;
|
|
3370
|
-
this.charityUrl = undefined;
|
|
3371
3383
|
}
|
|
3372
3384
|
render() {
|
|
3373
3385
|
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));
|
|
@@ -3398,19 +3410,42 @@ class BiggiveButton {
|
|
|
3398
3410
|
constructor(hostRef) {
|
|
3399
3411
|
registerInstance(this, hostRef);
|
|
3400
3412
|
this.doButtonClick = createEvent(this, "doButtonClick", 7);
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3413
|
+
/**
|
|
3414
|
+
* Space below component
|
|
3415
|
+
*/
|
|
3404
3416
|
this.spaceBelow = 1;
|
|
3417
|
+
/**
|
|
3418
|
+
* Colour Scheme
|
|
3419
|
+
*/
|
|
3405
3420
|
this.colourScheme = 'primary';
|
|
3421
|
+
/**
|
|
3422
|
+
* Text
|
|
3423
|
+
*/
|
|
3406
3424
|
this.label = 'Click me';
|
|
3407
|
-
|
|
3425
|
+
/**
|
|
3426
|
+
* New Tab
|
|
3427
|
+
*/
|
|
3408
3428
|
this.openInNewTab = false;
|
|
3429
|
+
/**
|
|
3430
|
+
* Display full width
|
|
3431
|
+
*/
|
|
3409
3432
|
this.fullWidth = false;
|
|
3433
|
+
/**
|
|
3434
|
+
* Size
|
|
3435
|
+
*/
|
|
3410
3436
|
this.size = 'medium';
|
|
3437
|
+
/**
|
|
3438
|
+
* Rounded corners
|
|
3439
|
+
*/
|
|
3411
3440
|
this.rounded = false;
|
|
3441
|
+
/**
|
|
3442
|
+
* Centered
|
|
3443
|
+
*/
|
|
3412
3444
|
this.centered = false;
|
|
3413
3445
|
this.buttonId = undefined;
|
|
3446
|
+
this.handleButtonClick = (event) => {
|
|
3447
|
+
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
3448
|
+
};
|
|
3414
3449
|
}
|
|
3415
3450
|
render() {
|
|
3416
3451
|
// We always want to have a href so that browsers will see this as a link and allow clicking with keybard.
|
|
@@ -3447,25 +3482,53 @@ var BiggiveCallToActionStyle0 = biggiveCallToActionCss;
|
|
|
3447
3482
|
class BiggiveCallToAction {
|
|
3448
3483
|
constructor(hostRef) {
|
|
3449
3484
|
registerInstance(this, hostRef);
|
|
3485
|
+
/**
|
|
3486
|
+
* Space above component
|
|
3487
|
+
*/
|
|
3450
3488
|
this.spaceAbove = 0;
|
|
3489
|
+
/**
|
|
3490
|
+
* Space below component
|
|
3491
|
+
*/
|
|
3451
3492
|
this.spaceBelow = 0;
|
|
3493
|
+
/**
|
|
3494
|
+
* Default text colour
|
|
3495
|
+
*/
|
|
3452
3496
|
this.defaultTextColour = 'primary';
|
|
3497
|
+
/**
|
|
3498
|
+
* Slug size
|
|
3499
|
+
*/
|
|
3453
3500
|
this.slugSize = 4;
|
|
3501
|
+
/**
|
|
3502
|
+
* Slug colour
|
|
3503
|
+
*/
|
|
3454
3504
|
this.slugColour = '';
|
|
3455
|
-
|
|
3505
|
+
/**
|
|
3506
|
+
* Main title colour
|
|
3507
|
+
*/
|
|
3456
3508
|
this.mainTitleColour = '';
|
|
3509
|
+
/**
|
|
3510
|
+
* Main title size
|
|
3511
|
+
*/
|
|
3457
3512
|
this.mainTitleSize = 2;
|
|
3458
|
-
|
|
3513
|
+
/**
|
|
3514
|
+
* Main title size
|
|
3515
|
+
*/
|
|
3459
3516
|
this.subtitleSize = 4;
|
|
3517
|
+
/**
|
|
3518
|
+
* Subtitle colour
|
|
3519
|
+
*/
|
|
3460
3520
|
this.subtitleColour = '';
|
|
3461
|
-
|
|
3521
|
+
/**
|
|
3522
|
+
* Teaser colour
|
|
3523
|
+
*/
|
|
3462
3524
|
this.teaserColour = '';
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3525
|
+
/**
|
|
3526
|
+
* Primary button Colour Scheme
|
|
3527
|
+
*/
|
|
3466
3528
|
this.primaryButtonColourScheme = 'primary';
|
|
3467
|
-
|
|
3468
|
-
|
|
3529
|
+
/**
|
|
3530
|
+
* Secondary button Colour Scheme
|
|
3531
|
+
*/
|
|
3469
3532
|
this.secondaryButtonColourScheme = 'primary';
|
|
3470
3533
|
}
|
|
3471
3534
|
render() {
|
|
@@ -3510,28 +3573,37 @@ class BiggiveCampaignCard {
|
|
|
3510
3573
|
constructor(hostRef) {
|
|
3511
3574
|
registerInstance(this, hostRef);
|
|
3512
3575
|
this.doCardGeneralClick = createEvent(this, "doCardGeneralClick", 7);
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3576
|
+
/**
|
|
3577
|
+
* Space below component
|
|
3578
|
+
*/
|
|
3516
3579
|
this.spaceBelow = 4;
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
this.organisationName = undefined;
|
|
3521
|
-
this.primaryFigureLabel = undefined;
|
|
3522
|
-
this.primaryFigureAmount = undefined;
|
|
3523
|
-
this.secondaryFigureLabel = undefined;
|
|
3524
|
-
this.secondaryFigureAmount = undefined;
|
|
3525
|
-
this.progressBarCounter = undefined;
|
|
3580
|
+
/**
|
|
3581
|
+
* Donate button label
|
|
3582
|
+
*/
|
|
3526
3583
|
this.donateButtonLabel = 'Donate now';
|
|
3527
|
-
|
|
3584
|
+
/**
|
|
3585
|
+
* Donate button colour scheme
|
|
3586
|
+
*/
|
|
3528
3587
|
this.donateButtonColourScheme = 'primary';
|
|
3588
|
+
/**
|
|
3589
|
+
* More information button label
|
|
3590
|
+
*/
|
|
3529
3591
|
this.moreInfoButtonLabel = 'Find out more';
|
|
3530
|
-
|
|
3592
|
+
/**
|
|
3593
|
+
* Donate button colour scheme
|
|
3594
|
+
*/
|
|
3531
3595
|
this.moreInfoButtonColourScheme = 'clear-primary';
|
|
3596
|
+
/**
|
|
3597
|
+
* Boolean flag telling the component if the campaign is in the future (not open yet).
|
|
3598
|
+
*/
|
|
3532
3599
|
this.isFutureCampaign = false;
|
|
3600
|
+
/**
|
|
3601
|
+
* Boolean flag telling the component if the campaign is in the future (not open yet).
|
|
3602
|
+
*/
|
|
3533
3603
|
this.isPastCampaign = false;
|
|
3534
|
-
this.
|
|
3604
|
+
this.handleCardGeneralClick = (event) => {
|
|
3605
|
+
this.doCardGeneralClick.emit({ event, url: this.moreInfoButtonUrl });
|
|
3606
|
+
};
|
|
3535
3607
|
}
|
|
3536
3608
|
isEmpty(value) {
|
|
3537
3609
|
return value === undefined || value === null || value === '';
|
|
@@ -3594,6 +3666,44 @@ class BiggiveCampaignCardFilterGrid {
|
|
|
3594
3666
|
this.newSelectedFilterCategory = null;
|
|
3595
3667
|
this.newSelectedFilterBeneficiary = null;
|
|
3596
3668
|
this.newSelectedFilterLocation = null;
|
|
3669
|
+
/**
|
|
3670
|
+
* Space below component
|
|
3671
|
+
*/
|
|
3672
|
+
this.spaceBelow = 0;
|
|
3673
|
+
/**
|
|
3674
|
+
* Intro
|
|
3675
|
+
*/
|
|
3676
|
+
this.intro = 'Find a charity or project';
|
|
3677
|
+
/**
|
|
3678
|
+
* Optional search text prop. Useful for pre-populating the search field
|
|
3679
|
+
* when the page is loaded with a search term already existing in the URL.
|
|
3680
|
+
* This can happen when sharing links, or if a donor goes to a campaign page
|
|
3681
|
+
* after searching, and then returns to the search results. In such a case,
|
|
3682
|
+
* the search box text will clear, unless we use this prop to populate it on
|
|
3683
|
+
* rendering. DON-652.
|
|
3684
|
+
*/
|
|
3685
|
+
this.searchText = null;
|
|
3686
|
+
/**
|
|
3687
|
+
* Defines the text displayed as the placeholder in the input field
|
|
3688
|
+
* before the user types anything
|
|
3689
|
+
*/
|
|
3690
|
+
this.placeholderText = 'Search';
|
|
3691
|
+
/**
|
|
3692
|
+
* Defines the text on the search button
|
|
3693
|
+
*/
|
|
3694
|
+
this.buttonText = 'Search';
|
|
3695
|
+
/**
|
|
3696
|
+
* For injecting the chosen category to filter by, as per the comment above for `selectedSortByOption`.
|
|
3697
|
+
*/
|
|
3698
|
+
this.selectedFilterCategory = null;
|
|
3699
|
+
/**
|
|
3700
|
+
* For injecting the chosen beneficiary to filter by, as per the comment above for `selectedSortByOption`.
|
|
3701
|
+
*/
|
|
3702
|
+
this.selectedFilterBeneficiary = null;
|
|
3703
|
+
/**
|
|
3704
|
+
* For injecting the chosen location to filter by, as per the comment above for `selectedSortByOption`.
|
|
3705
|
+
*/
|
|
3706
|
+
this.selectedFilterLocation = null;
|
|
3597
3707
|
this.categoryFilterSelectionChanged = (value) => {
|
|
3598
3708
|
this.newSelectedFilterCategory = value;
|
|
3599
3709
|
};
|
|
@@ -3683,19 +3793,6 @@ class BiggiveCampaignCardFilterGrid {
|
|
|
3683
3793
|
filterLocation: null,
|
|
3684
3794
|
});
|
|
3685
3795
|
};
|
|
3686
|
-
this.spaceBelow = 0;
|
|
3687
|
-
this.intro = 'Find a charity or project';
|
|
3688
|
-
this.searchText = null;
|
|
3689
|
-
this.placeholderText = 'Search';
|
|
3690
|
-
this.buttonText = 'Search';
|
|
3691
|
-
this.categoryOptions = undefined;
|
|
3692
|
-
this.beneficiaryOptions = undefined;
|
|
3693
|
-
this.locationOptions = undefined;
|
|
3694
|
-
this.selectedSortByOption = undefined;
|
|
3695
|
-
this.selectedFilterCategory = null;
|
|
3696
|
-
this.selectedFilterBeneficiary = null;
|
|
3697
|
-
this.selectedFilterLocation = null;
|
|
3698
|
-
this.filtersApplied = undefined;
|
|
3699
3796
|
}
|
|
3700
3797
|
/**
|
|
3701
3798
|
* Typically on non-negligible scroll away from the search area.
|
|
@@ -3829,20 +3926,14 @@ var BiggiveCampaignHighlightsStyle0 = biggiveCampaignHighlightsCss;
|
|
|
3829
3926
|
class BiggiveCampaignHighlights {
|
|
3830
3927
|
constructor(hostRef) {
|
|
3831
3928
|
registerInstance(this, hostRef);
|
|
3929
|
+
/**
|
|
3930
|
+
* Space below component
|
|
3931
|
+
*/
|
|
3832
3932
|
this.spaceBelow = 0;
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
this.primaryFigureAmount = undefined;
|
|
3837
|
-
this.secondaryFigureLabel = undefined;
|
|
3838
|
-
this.secondaryFigureAmount = undefined;
|
|
3933
|
+
/**
|
|
3934
|
+
* Progress bar percentage
|
|
3935
|
+
*/
|
|
3839
3936
|
this.progressBarCounter = 100;
|
|
3840
|
-
this.primaryStatIcon = undefined;
|
|
3841
|
-
this.primaryStatText = undefined;
|
|
3842
|
-
this.secondaryStatIcon = undefined;
|
|
3843
|
-
this.secondaryStatText = undefined;
|
|
3844
|
-
this.championName = undefined;
|
|
3845
|
-
this.championUrl = undefined;
|
|
3846
3937
|
}
|
|
3847
3938
|
render() {
|
|
3848
3939
|
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)));
|
|
@@ -3879,10 +3970,17 @@ var BiggiveCategoryIconStyle0 = biggiveCategoryIconCss;
|
|
|
3879
3970
|
class BiggiveCategoryIcon {
|
|
3880
3971
|
constructor(hostRef) {
|
|
3881
3972
|
registerInstance(this, hostRef);
|
|
3973
|
+
/**
|
|
3974
|
+
* Background colour
|
|
3975
|
+
*/
|
|
3882
3976
|
this.backgroundColour = 'primary';
|
|
3977
|
+
/**
|
|
3978
|
+
* Background colour
|
|
3979
|
+
*/
|
|
3883
3980
|
this.iconColour = 'white';
|
|
3884
|
-
|
|
3885
|
-
|
|
3981
|
+
/**
|
|
3982
|
+
* Url
|
|
3983
|
+
*/
|
|
3886
3984
|
this.url = '#';
|
|
3887
3985
|
}
|
|
3888
3986
|
getCategoryIcon() {
|
|
@@ -3956,6 +4054,22 @@ class BiggiveCookieBanner {
|
|
|
3956
4054
|
this.preferenceModalClosed = createEvent(this, "preferenceModalClosed", 7);
|
|
3957
4055
|
this.cookieBannerAcceptAllSelected = createEvent(this, "cookieBannerAcceptAllSelected", 7);
|
|
3958
4056
|
this.cookieBannerSavePreferencesSelected = createEvent(this, "cookieBannerSavePreferencesSelected", 7);
|
|
4057
|
+
/**
|
|
4058
|
+
* If true the Preferences modal will be auto-opened - for use when the user has requested to edit their cookie
|
|
4059
|
+
* preferences
|
|
4060
|
+
*/
|
|
4061
|
+
this.autoOpenPreferences = false;
|
|
4062
|
+
/**
|
|
4063
|
+
* This type is similar to CookiePreferences from donate-frontend/src/app/cookiePreference.service.ts
|
|
4064
|
+
* but afaik there isn't a nice way to share a type.
|
|
4065
|
+
*
|
|
4066
|
+
* When updating please also update the copy in the type of cookieBannerSavePreferencesSelected - using a named type
|
|
4067
|
+
* there caused build problems.
|
|
4068
|
+
*
|
|
4069
|
+
* When updating please also update the type of cookieBannerSavePreferencesSelected - I didn't find a way
|
|
4070
|
+
* to avoid the duplication.
|
|
4071
|
+
*/
|
|
4072
|
+
this.previouslyAgreedCookiePreferences = undefined;
|
|
3959
4073
|
this.handleChoosePrefencesClick = () => {
|
|
3960
4074
|
var _a;
|
|
3961
4075
|
const elementById = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('cookie-preferences-popup');
|
|
@@ -3984,9 +4098,6 @@ class BiggiveCookieBanner {
|
|
|
3984
4098
|
// and make this component disappear.
|
|
3985
4099
|
this.cookieBannerAcceptAllSelected.emit();
|
|
3986
4100
|
};
|
|
3987
|
-
this.autoOpenPreferences = false;
|
|
3988
|
-
this.blogUriPrefix = undefined;
|
|
3989
|
-
this.previouslyAgreedCookiePreferences = undefined;
|
|
3990
4101
|
}
|
|
3991
4102
|
componentDidLoad() {
|
|
3992
4103
|
this.autoOpenPreferencesIfRequested();
|
|
@@ -4036,11 +4147,12 @@ var BiggiveFooterStyle0 = biggiveFooterCss;
|
|
|
4036
4147
|
class BiggiveFooter {
|
|
4037
4148
|
constructor(hostRef) {
|
|
4038
4149
|
registerInstance(this, hostRef);
|
|
4039
|
-
this.year = new Date().getFullYear().toString();
|
|
4040
4150
|
this.headingLevel = 5;
|
|
4041
|
-
this.
|
|
4042
|
-
|
|
4043
|
-
|
|
4151
|
+
this.year = new Date().getFullYear().toString();
|
|
4152
|
+
/**
|
|
4153
|
+
* Conditionally render footer menu:
|
|
4154
|
+
* hard-coded (preset) when set to true, dynamic (slot-based) when set to false
|
|
4155
|
+
*/
|
|
4044
4156
|
this.usePresetFooter = false;
|
|
4045
4157
|
}
|
|
4046
4158
|
appendMenu(menuName) {
|
|
@@ -4112,22 +4224,18 @@ var BiggiveFormFieldSelectStyle0 = biggiveFormFieldSelectCss;
|
|
|
4112
4224
|
class BiggiveFormFieldSelect {
|
|
4113
4225
|
constructor(hostRef) {
|
|
4114
4226
|
registerInstance(this, hostRef);
|
|
4227
|
+
this.selectStyle = 'bordered';
|
|
4228
|
+
this.selectedOptionColour = 'blue';
|
|
4115
4229
|
this.doOptionSelectCompletedHandler = (event) => {
|
|
4116
4230
|
const value = event.target.value;
|
|
4117
4231
|
this.selectedValue = value;
|
|
4118
4232
|
this.selectedLabel = event.target.label;
|
|
4119
4233
|
this.selectionChanged(value);
|
|
4120
4234
|
};
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
this.selectedLabel = undefined;
|
|
4125
|
-
this.options = undefined;
|
|
4126
|
-
this.selectStyle = 'bordered';
|
|
4127
|
-
this.backgroundColour = undefined;
|
|
4128
|
-
this.selectedOptionColour = 'blue';
|
|
4235
|
+
/**
|
|
4236
|
+
* Space below component
|
|
4237
|
+
*/
|
|
4129
4238
|
this.spaceBelow = 0;
|
|
4130
|
-
this.placeholder = undefined;
|
|
4131
4239
|
}
|
|
4132
4240
|
render() {
|
|
4133
4241
|
const greyIfRequired = this.backgroundColour === 'grey' ? ' grey' : '';
|
|
@@ -4187,8 +4295,17 @@ var BiggiveFormattedTextStyle0 = biggiveFormattedTextCss;
|
|
|
4187
4295
|
class BiggiveFormattedText {
|
|
4188
4296
|
constructor(hostRef) {
|
|
4189
4297
|
registerInstance(this, hostRef);
|
|
4298
|
+
/**
|
|
4299
|
+
* Space below component
|
|
4300
|
+
*/
|
|
4190
4301
|
this.spaceBelow = 0;
|
|
4302
|
+
/**
|
|
4303
|
+
* Default text colour
|
|
4304
|
+
*/
|
|
4191
4305
|
this.defaultTextColour = 'primary';
|
|
4306
|
+
/**
|
|
4307
|
+
* Width
|
|
4308
|
+
*/
|
|
4192
4309
|
this.maxWidth = 100;
|
|
4193
4310
|
}
|
|
4194
4311
|
render() {
|
|
@@ -4217,9 +4334,6 @@ class BiggiveGenericIcon {
|
|
|
4217
4334
|
registerInstance(this, hostRef);
|
|
4218
4335
|
this.backgroundColour = 'primary';
|
|
4219
4336
|
this.iconColour = 'white';
|
|
4220
|
-
this.iconGroup = undefined;
|
|
4221
|
-
this.icon = undefined;
|
|
4222
|
-
this.url = undefined;
|
|
4223
4337
|
}
|
|
4224
4338
|
getIconDefinition() {
|
|
4225
4339
|
let iconDefinition;
|
|
@@ -4268,6 +4382,9 @@ class BiggiveGrid {
|
|
|
4268
4382
|
registerInstance(this, hostRef);
|
|
4269
4383
|
this.spaceBelow = 4;
|
|
4270
4384
|
this.columnCount = 3;
|
|
4385
|
+
/**
|
|
4386
|
+
* Deprecated - should use columGap Instead
|
|
4387
|
+
*/
|
|
4271
4388
|
this.spaceBetween = false;
|
|
4272
4389
|
this.columnGap = 0;
|
|
4273
4390
|
}
|
|
@@ -4337,23 +4454,46 @@ var BiggiveHeroImageStyle0 = biggiveHeroImageCss;
|
|
|
4337
4454
|
class BiggiveHeroImage {
|
|
4338
4455
|
constructor(hostRef) {
|
|
4339
4456
|
registerInstance(this, hostRef);
|
|
4457
|
+
/**
|
|
4458
|
+
* Space below component
|
|
4459
|
+
*/
|
|
4340
4460
|
this.spaceBelow = 0;
|
|
4461
|
+
/**
|
|
4462
|
+
* Colour Scheme
|
|
4463
|
+
*/
|
|
4341
4464
|
this.colourScheme = 'primary';
|
|
4342
|
-
|
|
4343
|
-
|
|
4465
|
+
/**
|
|
4466
|
+
* Full URL of a logo image.
|
|
4467
|
+
*/
|
|
4344
4468
|
this.logo = '';
|
|
4469
|
+
/**
|
|
4470
|
+
* Logo container height selection. Numbers are not measurements.
|
|
4471
|
+
*/
|
|
4345
4472
|
this.logoHeight = 3;
|
|
4473
|
+
/**
|
|
4474
|
+
* Logo alt text
|
|
4475
|
+
*/
|
|
4346
4476
|
this.logoAltText = '';
|
|
4477
|
+
/**
|
|
4478
|
+
* Full URL of a main hero image.
|
|
4479
|
+
*/
|
|
4347
4480
|
this.mainImage = null;
|
|
4481
|
+
/**
|
|
4482
|
+
* Determines whether the main image is clipped to a triangle shape (default) or used as
|
|
4483
|
+
* a background for the entire component. Clipping can leave a lot of blank space.
|
|
4484
|
+
*/
|
|
4348
4485
|
this.mainImageShape = 'triangle';
|
|
4486
|
+
/**
|
|
4487
|
+
* Horizontal alignment of image
|
|
4488
|
+
*/
|
|
4349
4489
|
this.mainImageAlignHorizontal = 'center';
|
|
4490
|
+
/**
|
|
4491
|
+
* Vertical alignment of image
|
|
4492
|
+
*/
|
|
4350
4493
|
this.mainImageAlignVertical = 'center';
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
this.teaserColour = undefined;
|
|
4355
|
-
this.buttonUrl = undefined;
|
|
4356
|
-
this.buttonLabel = undefined;
|
|
4494
|
+
/**
|
|
4495
|
+
* Button Colour Scheme
|
|
4496
|
+
*/
|
|
4357
4497
|
this.buttonColourScheme = 'primary';
|
|
4358
4498
|
}
|
|
4359
4499
|
render() {
|
|
@@ -4422,17 +4562,10 @@ class BiggiveIconButton {
|
|
|
4422
4562
|
constructor(hostRef) {
|
|
4423
4563
|
registerInstance(this, hostRef);
|
|
4424
4564
|
this.doButtonClick = createEvent(this, "doButtonClick", 7);
|
|
4425
|
-
this.handleButtonClick = (event) => {
|
|
4426
|
-
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
4427
|
-
};
|
|
4428
4565
|
this.spaceBelow = 1;
|
|
4429
4566
|
this.backgroundColour = 'white';
|
|
4430
4567
|
this.backgroundPadding = 0;
|
|
4431
|
-
this.text = undefined;
|
|
4432
4568
|
this.textColour = 'black';
|
|
4433
|
-
this.iconGroup = undefined;
|
|
4434
|
-
this.icon = undefined;
|
|
4435
|
-
this.url = undefined;
|
|
4436
4569
|
this.openInNewTab = false;
|
|
4437
4570
|
this.size = 'medium';
|
|
4438
4571
|
this.arrow = false;
|
|
@@ -4442,6 +4575,9 @@ class BiggiveIconButton {
|
|
|
4442
4575
|
this.centered = false;
|
|
4443
4576
|
this.rounded = false;
|
|
4444
4577
|
this.buttonId = undefined;
|
|
4578
|
+
this.handleButtonClick = (event) => {
|
|
4579
|
+
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
4580
|
+
};
|
|
4445
4581
|
}
|
|
4446
4582
|
render() {
|
|
4447
4583
|
return (hAsync("div", { key: '2345c3faaec52f17c518641b301caedc686ba150', class: 'container space-below-' +
|
|
@@ -4492,8 +4628,10 @@ var BiggiveIconGroupStyle0 = biggiveIconGroupCss;
|
|
|
4492
4628
|
class BiggiveIconGroup {
|
|
4493
4629
|
constructor(hostRef) {
|
|
4494
4630
|
registerInstance(this, hostRef);
|
|
4631
|
+
/**
|
|
4632
|
+
* Space below component
|
|
4633
|
+
*/
|
|
4495
4634
|
this.spaceBelow = 0;
|
|
4496
|
-
this.label = undefined;
|
|
4497
4635
|
}
|
|
4498
4636
|
render() {
|
|
4499
4637
|
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' }))));
|
|
@@ -4518,12 +4656,33 @@ var BiggiveImageStyle0 = biggiveImageCss;
|
|
|
4518
4656
|
class BiggiveImage {
|
|
4519
4657
|
constructor(hostRef) {
|
|
4520
4658
|
registerInstance(this, hostRef);
|
|
4659
|
+
/**
|
|
4660
|
+
* Space above component
|
|
4661
|
+
*/
|
|
4521
4662
|
this.spaceAbove = 0;
|
|
4663
|
+
/**
|
|
4664
|
+
* Space below component
|
|
4665
|
+
*/
|
|
4522
4666
|
this.spaceBelow = 0;
|
|
4667
|
+
/**
|
|
4668
|
+
* Full URL of a image.
|
|
4669
|
+
*/
|
|
4523
4670
|
this.imageUrl = '';
|
|
4671
|
+
/**
|
|
4672
|
+
* Image alt text tag.
|
|
4673
|
+
*/
|
|
4524
4674
|
this.imageAltText = '';
|
|
4675
|
+
/**
|
|
4676
|
+
* Image width
|
|
4677
|
+
*/
|
|
4525
4678
|
this.width = 0;
|
|
4679
|
+
/**
|
|
4680
|
+
* Image width
|
|
4681
|
+
*/
|
|
4526
4682
|
this.height = 0;
|
|
4683
|
+
/**
|
|
4684
|
+
* Size unit
|
|
4685
|
+
*/
|
|
4527
4686
|
this.sizeUnit = 'px';
|
|
4528
4687
|
}
|
|
4529
4688
|
getWidth() {
|
|
@@ -4569,17 +4728,11 @@ class BiggiveImageButton {
|
|
|
4569
4728
|
constructor(hostRef) {
|
|
4570
4729
|
registerInstance(this, hostRef);
|
|
4571
4730
|
this.doButtonClick = createEvent(this, "doButtonClick", 7);
|
|
4572
|
-
this.handleButtonClick = (event) => {
|
|
4573
|
-
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
4574
|
-
};
|
|
4575
4731
|
this.spaceBelow = 1;
|
|
4576
4732
|
this.backgroundColour = 'white';
|
|
4577
4733
|
this.backgroundPadding = 0;
|
|
4578
|
-
this.text = undefined;
|
|
4579
4734
|
this.textColour = 'black';
|
|
4580
|
-
this.imageUrl = undefined;
|
|
4581
4735
|
this.imageStyle = 'cover';
|
|
4582
|
-
this.url = undefined;
|
|
4583
4736
|
this.openInNewTab = false;
|
|
4584
4737
|
this.size = 'medium';
|
|
4585
4738
|
this.arrow = false;
|
|
@@ -4589,6 +4742,9 @@ class BiggiveImageButton {
|
|
|
4589
4742
|
this.centered = false;
|
|
4590
4743
|
this.rounded = false;
|
|
4591
4744
|
this.buttonId = undefined;
|
|
4745
|
+
this.handleButtonClick = (event) => {
|
|
4746
|
+
this.doButtonClick.emit({ event: event, url: event.target.parentElement.href });
|
|
4747
|
+
};
|
|
4592
4748
|
}
|
|
4593
4749
|
render() {
|
|
4594
4750
|
return (hAsync("div", { key: 'ca8fa701b2ebc212f7b80005f41c43953e67b187', class: 'container space-below-' +
|
|
@@ -4641,15 +4797,10 @@ class BiggiveImageCard {
|
|
|
4641
4797
|
registerInstance(this, hostRef);
|
|
4642
4798
|
this.spaceBelow = 0;
|
|
4643
4799
|
this.backgroundColour = 'primary';
|
|
4644
|
-
this.mainImageUrl = undefined;
|
|
4645
|
-
this.mainImageAltText = undefined;
|
|
4646
4800
|
this.textAlign = 'center';
|
|
4647
|
-
this.teaser = undefined;
|
|
4648
4801
|
this.teaserColour = 'black';
|
|
4649
4802
|
this.buttonAlign = 'center';
|
|
4650
4803
|
this.buttonStyle = 'standard';
|
|
4651
|
-
this.buttonLabel = undefined;
|
|
4652
|
-
this.buttonUrl = undefined;
|
|
4653
4804
|
this.buttonColourScheme = 'clear-primary';
|
|
4654
4805
|
this.clipBottomLeftCorner = true;
|
|
4655
4806
|
this.clipTopRightCorner = true;
|
|
@@ -4700,18 +4851,37 @@ var BiggiveImageFeatureStyle0 = biggiveImageFeatureCss;
|
|
|
4700
4851
|
class BiggiveImageFeature {
|
|
4701
4852
|
constructor(hostRef) {
|
|
4702
4853
|
registerInstance(this, hostRef);
|
|
4854
|
+
/**
|
|
4855
|
+
* Space below component
|
|
4856
|
+
*/
|
|
4703
4857
|
this.spaceBelow = 0;
|
|
4858
|
+
/**
|
|
4859
|
+
* Default text colour
|
|
4860
|
+
*/
|
|
4704
4861
|
this.defaultTextColour = 'primary';
|
|
4862
|
+
/**
|
|
4863
|
+
* Full URL of a image.
|
|
4864
|
+
*/
|
|
4705
4865
|
this.imageUrl = '';
|
|
4866
|
+
/**
|
|
4867
|
+
* Image alt text tag.
|
|
4868
|
+
*/
|
|
4706
4869
|
this.imageAltText = '';
|
|
4707
|
-
|
|
4870
|
+
/**
|
|
4871
|
+
* Slug colour
|
|
4872
|
+
*/
|
|
4708
4873
|
this.slugColour = '';
|
|
4709
|
-
|
|
4874
|
+
/**
|
|
4875
|
+
* Slug colour
|
|
4876
|
+
*/
|
|
4710
4877
|
this.mainTitleColour = '';
|
|
4711
|
-
|
|
4878
|
+
/**
|
|
4879
|
+
* Teaser colour
|
|
4880
|
+
*/
|
|
4712
4881
|
this.teaserColour = '';
|
|
4713
|
-
|
|
4714
|
-
|
|
4882
|
+
/**
|
|
4883
|
+
* Button Colour Scheme
|
|
4884
|
+
*/
|
|
4715
4885
|
this.buttonColourScheme = 'primary';
|
|
4716
4886
|
}
|
|
4717
4887
|
render() {
|
|
@@ -4750,6 +4920,19 @@ class BiggiveMainMenu {
|
|
|
4750
4920
|
registerInstance(this, hostRef);
|
|
4751
4921
|
this.logoutClicked = createEvent(this, "logoutClicked", 7);
|
|
4752
4922
|
this.lastScrollHeight = 0;
|
|
4923
|
+
// URL prefixes vary by environment, and components library is not best placed to know what they are, so we
|
|
4924
|
+
// take them as props. But somehow on first render the prop passed in doesn't seem to be used, so the defaults
|
|
4925
|
+
// below are the values currently used in our prod site. They should be replaced by other values in other
|
|
4926
|
+
// environments.
|
|
4927
|
+
this.blogUrlPrefix = 'https://biggive.org';
|
|
4928
|
+
this.donateUrlPrefix = 'https://donate.biggive.org';
|
|
4929
|
+
this.experienceUrlPrefix = 'https://community.biggive.org';
|
|
4930
|
+
this.myAccountFlagEnabled = false;
|
|
4931
|
+
/**
|
|
4932
|
+
* Whether the current user is logged in (i.e. is assumed to have a valid JWT). They get links to some
|
|
4933
|
+
* extra content if they are.
|
|
4934
|
+
*/
|
|
4935
|
+
this.isLoggedIn = false;
|
|
4753
4936
|
this.openMobileMenu = () => {
|
|
4754
4937
|
const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
|
|
4755
4938
|
mobileMenu.style.left = '0';
|
|
@@ -4761,11 +4944,6 @@ class BiggiveMainMenu {
|
|
|
4761
4944
|
const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
|
|
4762
4945
|
mobileMenu.style.left = '-100%';
|
|
4763
4946
|
};
|
|
4764
|
-
this.blogUrlPrefix = 'https://biggive.org';
|
|
4765
|
-
this.donateUrlPrefix = 'https://donate.biggive.org';
|
|
4766
|
-
this.experienceUrlPrefix = 'https://community.biggive.org';
|
|
4767
|
-
this.myAccountFlagEnabled = false;
|
|
4768
|
-
this.isLoggedIn = false;
|
|
4769
4947
|
}
|
|
4770
4948
|
async closeMobileMenuFromOutside() {
|
|
4771
4949
|
const mobileMenu = this.host.shadowRoot.querySelector('.nav-links');
|
|
@@ -4888,10 +5066,14 @@ var BiggiveMiscIconStyle0 = biggiveMiscIconCss;
|
|
|
4888
5066
|
class BiggiveMiscIcon {
|
|
4889
5067
|
constructor(hostRef) {
|
|
4890
5068
|
registerInstance(this, hostRef);
|
|
5069
|
+
/**
|
|
5070
|
+
* Background colour
|
|
5071
|
+
*/
|
|
4891
5072
|
this.backgroundColour = 'primary';
|
|
5073
|
+
/**
|
|
5074
|
+
* Background colour
|
|
5075
|
+
*/
|
|
4892
5076
|
this.iconColour = 'white';
|
|
4893
|
-
this.icon = undefined;
|
|
4894
|
-
this.url = undefined;
|
|
4895
5077
|
}
|
|
4896
5078
|
getMiscIcon() {
|
|
4897
5079
|
var icon = FontAwesomeIconsService.getMiscIcon(this.icon);
|
|
@@ -4924,6 +5106,9 @@ var BiggiveNavGroupStyle0 = biggiveNavGroupCss;
|
|
|
4924
5106
|
class BiggiveNavGroup {
|
|
4925
5107
|
constructor(hostRef) {
|
|
4926
5108
|
registerInstance(this, hostRef);
|
|
5109
|
+
/**
|
|
5110
|
+
* Inline
|
|
5111
|
+
*/
|
|
4927
5112
|
this.inline = true;
|
|
4928
5113
|
}
|
|
4929
5114
|
render() {
|
|
@@ -4948,9 +5133,6 @@ var BiggiveNavItemStyle0 = biggiveNavItemCss;
|
|
|
4948
5133
|
class BiggiveNavItem {
|
|
4949
5134
|
constructor(hostRef) {
|
|
4950
5135
|
registerInstance(this, hostRef);
|
|
4951
|
-
this.url = undefined;
|
|
4952
|
-
this.label = undefined;
|
|
4953
|
-
this.iconColour = undefined;
|
|
4954
5136
|
}
|
|
4955
5137
|
render() {
|
|
4956
5138
|
return (hAsync("li", { key: 'e3397df27a329b834615305d2f0c290942735e3a', class: 'icon-' + this.iconColour }, hAsync("a", { key: '6bcc1f29538da7418b26e4f74b22e55dd1fa5f59', href: this.url }, this.label), hAsync("slot", { key: '9728762db7497b42bce1222b837699c075b31b00' })));
|
|
@@ -4997,6 +5179,9 @@ var BiggivePageColumnsStyle0 = biggivePageColumnsCss;
|
|
|
4997
5179
|
class BiggivePageColumns {
|
|
4998
5180
|
constructor(hostRef) {
|
|
4999
5181
|
registerInstance(this, hostRef);
|
|
5182
|
+
/**
|
|
5183
|
+
* Space below component
|
|
5184
|
+
*/
|
|
5000
5185
|
this.spaceBelow = 0;
|
|
5001
5186
|
}
|
|
5002
5187
|
render() {
|
|
@@ -5021,11 +5206,25 @@ var BiggivePageSectionStyle0 = biggivePageSectionCss;
|
|
|
5021
5206
|
class BiggivePageSection {
|
|
5022
5207
|
constructor(hostRef) {
|
|
5023
5208
|
registerInstance(this, hostRef);
|
|
5209
|
+
/**
|
|
5210
|
+
* Space below component
|
|
5211
|
+
*/
|
|
5024
5212
|
this.spaceBelow = 0;
|
|
5213
|
+
/**
|
|
5214
|
+
* Section style top
|
|
5215
|
+
*/
|
|
5025
5216
|
this.sectionStyleTop = 'straight';
|
|
5217
|
+
/**
|
|
5218
|
+
* Section style bottom
|
|
5219
|
+
*/
|
|
5026
5220
|
this.sectionStyleBottom = 'straight';
|
|
5027
|
-
|
|
5221
|
+
/**
|
|
5222
|
+
* Width
|
|
5223
|
+
*/
|
|
5028
5224
|
this.maxWidth = 100;
|
|
5225
|
+
/**
|
|
5226
|
+
* Bleeds the primary brand colour to the left and right edge of the viewport, even if used within a containing block element.
|
|
5227
|
+
*/
|
|
5029
5228
|
this.primaryFullBleed = false;
|
|
5030
5229
|
}
|
|
5031
5230
|
render() {
|
|
@@ -5065,6 +5264,10 @@ var BiggivePopupStyle0 = biggivePopupCss;
|
|
|
5065
5264
|
class BiggivePopup {
|
|
5066
5265
|
constructor(hostRef) {
|
|
5067
5266
|
registerInstance(this, hostRef);
|
|
5267
|
+
/**
|
|
5268
|
+
* Function to execute when the modal is closed, whether by the user or programmatically.
|
|
5269
|
+
*/
|
|
5270
|
+
this.modalClosedCallback = () => { };
|
|
5068
5271
|
this.closeFromWithin = (event) => {
|
|
5069
5272
|
if (event.target.classList.contains('popup') || event.target.classList.contains('close')) {
|
|
5070
5273
|
this.popup.setAttribute('data-visible', 'false');
|
|
@@ -5072,7 +5275,6 @@ class BiggivePopup {
|
|
|
5072
5275
|
this.modalClosedCallback();
|
|
5073
5276
|
}
|
|
5074
5277
|
};
|
|
5075
|
-
this.modalClosedCallback = () => { };
|
|
5076
5278
|
}
|
|
5077
5279
|
async openFromOutside() {
|
|
5078
5280
|
this.popup.setAttribute('data-visible', 'true');
|
|
@@ -5108,8 +5310,17 @@ var BiggiveProgressBarStyle0 = biggiveProgressBarCss;
|
|
|
5108
5310
|
class BiggiveProgressBar {
|
|
5109
5311
|
constructor(hostRef) {
|
|
5110
5312
|
registerInstance(this, hostRef);
|
|
5313
|
+
/**
|
|
5314
|
+
* Space below component
|
|
5315
|
+
*/
|
|
5111
5316
|
this.spaceBelow = 0;
|
|
5317
|
+
/**
|
|
5318
|
+
* Colour Scheme
|
|
5319
|
+
*/
|
|
5112
5320
|
this.colourScheme = 'primary';
|
|
5321
|
+
/**
|
|
5322
|
+
* Percentage to show + use for CSS width; round before input if desired
|
|
5323
|
+
*/
|
|
5113
5324
|
this.counter = 100;
|
|
5114
5325
|
}
|
|
5115
5326
|
render() {
|
|
@@ -5171,14 +5382,17 @@ var BiggiveSheetStyle0 = biggiveSheetCss;
|
|
|
5171
5382
|
class BiggiveSheet {
|
|
5172
5383
|
constructor(hostRef) {
|
|
5173
5384
|
registerInstance(this, hostRef);
|
|
5385
|
+
/**
|
|
5386
|
+
* A string ID (no spaces) unique within the page context, used to trigger the opening of the sheet from an anchor hash.
|
|
5387
|
+
*/
|
|
5388
|
+
this.sheetId = '';
|
|
5389
|
+
this.backgroundColour = 'primary';
|
|
5390
|
+
this.textColour = 'white';
|
|
5174
5391
|
this.closeSheet = () => {
|
|
5175
5392
|
var _a, _b;
|
|
5176
5393
|
(_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.container')) === null || _b === void 0 ? void 0 : _b.classList.remove('active');
|
|
5177
5394
|
history.pushState('', document.title, window.location.pathname);
|
|
5178
5395
|
};
|
|
5179
|
-
this.sheetId = '';
|
|
5180
|
-
this.backgroundColour = 'primary';
|
|
5181
|
-
this.textColour = 'white';
|
|
5182
5396
|
}
|
|
5183
5397
|
componentWillLoad() {
|
|
5184
5398
|
window.addEventListener('hashchange', () => {
|
|
@@ -5222,11 +5436,26 @@ var BiggiveSocialIconStyle0 = biggiveSocialIconCss;
|
|
|
5222
5436
|
class BiggiveSocialIcon {
|
|
5223
5437
|
constructor(hostRef) {
|
|
5224
5438
|
registerInstance(this, hostRef);
|
|
5225
|
-
|
|
5439
|
+
/**
|
|
5440
|
+
* Used within accessible labels for links. Typically a charity name or "Big Give". Can also be "Share".
|
|
5441
|
+
*/
|
|
5226
5442
|
this.labelPrefix = 'Big Give';
|
|
5443
|
+
/**
|
|
5444
|
+
* Background colour
|
|
5445
|
+
*/
|
|
5227
5446
|
this.backgroundColour = 'primary';
|
|
5447
|
+
/**
|
|
5448
|
+
* Icon colour
|
|
5449
|
+
*/
|
|
5228
5450
|
this.iconColour = 'white';
|
|
5451
|
+
/**
|
|
5452
|
+
* Used in the social icons in the biggive-footer, which are more spaced out
|
|
5453
|
+
* than others across the site. COM-43.
|
|
5454
|
+
*/
|
|
5229
5455
|
this.wide = false;
|
|
5456
|
+
/**
|
|
5457
|
+
* Url
|
|
5458
|
+
*/
|
|
5230
5459
|
this.url = '#';
|
|
5231
5460
|
}
|
|
5232
5461
|
getSocialIcon() {
|
|
@@ -5284,6 +5513,13 @@ var BiggiveTabbedContentStyle0 = biggiveTabbedContentCss;
|
|
|
5284
5513
|
class BiggiveTabbedContent {
|
|
5285
5514
|
constructor(hostRef) {
|
|
5286
5515
|
registerInstance(this, hostRef);
|
|
5516
|
+
this.spaceBelow = 0;
|
|
5517
|
+
this.textColour = 'black';
|
|
5518
|
+
this.selectedTextColour = 'primary';
|
|
5519
|
+
this.navigationHighlightColour = 'grey-medium';
|
|
5520
|
+
this.selectedNavigationHighlightColour = 'primary';
|
|
5521
|
+
this.buttonBackgroundColour = 'white';
|
|
5522
|
+
this.buttonIconColour = 'primary';
|
|
5287
5523
|
this.scrollOffset = 0;
|
|
5288
5524
|
this.children = [];
|
|
5289
5525
|
this.clickTabHandler = (e) => {
|
|
@@ -5303,13 +5539,6 @@ class BiggiveTabbedContent {
|
|
|
5303
5539
|
this.clickNextHandler = () => {
|
|
5304
5540
|
this.scrollTab('NEXT');
|
|
5305
5541
|
};
|
|
5306
|
-
this.spaceBelow = 0;
|
|
5307
|
-
this.textColour = 'black';
|
|
5308
|
-
this.selectedTextColour = 'primary';
|
|
5309
|
-
this.navigationHighlightColour = 'grey-medium';
|
|
5310
|
-
this.selectedNavigationHighlightColour = 'primary';
|
|
5311
|
-
this.buttonBackgroundColour = 'white';
|
|
5312
|
-
this.buttonIconColour = 'primary';
|
|
5313
5542
|
}
|
|
5314
5543
|
componentWillLoad() {
|
|
5315
5544
|
this.children = Array.from(this.host.children);
|
|
@@ -5474,8 +5703,6 @@ var BiggiveTextInputStyle0 = biggiveTextInputCss;
|
|
|
5474
5703
|
class BiggiveTextInput {
|
|
5475
5704
|
constructor(hostRef) {
|
|
5476
5705
|
registerInstance(this, hostRef);
|
|
5477
|
-
this.value = undefined;
|
|
5478
|
-
this.currency = undefined;
|
|
5479
5706
|
this.spaceBelow = 0;
|
|
5480
5707
|
this.selectStyle = 'bordered';
|
|
5481
5708
|
}
|
|
@@ -5515,6 +5742,18 @@ var BiggiveTimelineStyle0 = biggiveTimelineCss;
|
|
|
5515
5742
|
class BiggiveTimeline {
|
|
5516
5743
|
constructor(hostRef) {
|
|
5517
5744
|
registerInstance(this, hostRef);
|
|
5745
|
+
this.spaceBelow = 0;
|
|
5746
|
+
this.textColour = 'black';
|
|
5747
|
+
this.selectedTextColour = 'primary';
|
|
5748
|
+
this.navigationHighlightColour = 'grey-medium';
|
|
5749
|
+
this.selectedNavigationHighlightColour = 'primary';
|
|
5750
|
+
this.buttonBackgroundColour = 'white';
|
|
5751
|
+
this.buttonIconColour = 'primary';
|
|
5752
|
+
this.entryBackgroundColour = 'white';
|
|
5753
|
+
this.entryHighlightColour = 'secondary';
|
|
5754
|
+
this.entryDateColour = 'black';
|
|
5755
|
+
this.entryTitleColour = 'primary';
|
|
5756
|
+
this.entryTextColour = 'black';
|
|
5518
5757
|
this.scrollOffset = 0;
|
|
5519
5758
|
this.tabHeadings = [];
|
|
5520
5759
|
this.children = [];
|
|
@@ -5534,18 +5773,6 @@ class BiggiveTimeline {
|
|
|
5534
5773
|
this.clickNextHandler = () => {
|
|
5535
5774
|
this.scrollTab('NEXT');
|
|
5536
5775
|
};
|
|
5537
|
-
this.spaceBelow = 0;
|
|
5538
|
-
this.textColour = 'black';
|
|
5539
|
-
this.selectedTextColour = 'primary';
|
|
5540
|
-
this.navigationHighlightColour = 'grey-medium';
|
|
5541
|
-
this.selectedNavigationHighlightColour = 'primary';
|
|
5542
|
-
this.buttonBackgroundColour = 'white';
|
|
5543
|
-
this.buttonIconColour = 'primary';
|
|
5544
|
-
this.entryBackgroundColour = 'white';
|
|
5545
|
-
this.entryHighlightColour = 'secondary';
|
|
5546
|
-
this.entryDateColour = 'black';
|
|
5547
|
-
this.entryTitleColour = 'primary';
|
|
5548
|
-
this.entryTextColour = 'black';
|
|
5549
5776
|
}
|
|
5550
5777
|
componentWillLoad() {
|
|
5551
5778
|
this.children = Array.from(this.host.children);
|
|
@@ -5676,8 +5903,6 @@ var BiggiveTimelineEntryStyle0 = biggiveTimelineEntryCss;
|
|
|
5676
5903
|
class BiggiveTimelineEntry {
|
|
5677
5904
|
constructor(hostRef) {
|
|
5678
5905
|
registerInstance(this, hostRef);
|
|
5679
|
-
this.date = undefined;
|
|
5680
|
-
this.heading = undefined;
|
|
5681
5906
|
}
|
|
5682
5907
|
render() {
|
|
5683
5908
|
return null;
|
|
@@ -5703,12 +5928,26 @@ class BiggiveTotalizer {
|
|
|
5703
5928
|
constructor(hostRef) {
|
|
5704
5929
|
registerInstance(this, hostRef);
|
|
5705
5930
|
this.lastWrapperWidth = 0;
|
|
5931
|
+
/**
|
|
5932
|
+
* Space below component
|
|
5933
|
+
*/
|
|
5706
5934
|
this.spaceBelow = 0;
|
|
5935
|
+
/**
|
|
5936
|
+
* Primary banner colour
|
|
5937
|
+
*/
|
|
5707
5938
|
this.primaryColour = 'primary';
|
|
5939
|
+
/**
|
|
5940
|
+
* Primary text colour
|
|
5941
|
+
*/
|
|
5708
5942
|
this.primaryTextColour = 'white';
|
|
5943
|
+
/**
|
|
5944
|
+
* Secondary banner colour
|
|
5945
|
+
*/
|
|
5709
5946
|
this.secondaryColour = 'secondary';
|
|
5947
|
+
/**
|
|
5948
|
+
* Secondary text colour
|
|
5949
|
+
*/
|
|
5710
5950
|
this.secondaryTextColour = 'black';
|
|
5711
|
-
this.mainMessage = undefined;
|
|
5712
5951
|
}
|
|
5713
5952
|
setSpeed(itemsWidth, containerWidth) {
|
|
5714
5953
|
var _a;
|
|
@@ -5809,8 +6048,6 @@ var BiggiveTotalizerTickerItemStyle0 = biggiveTotalizerTickerItemCss;
|
|
|
5809
6048
|
class BiggiveTotalizerTickerItem {
|
|
5810
6049
|
constructor(hostRef) {
|
|
5811
6050
|
registerInstance(this, hostRef);
|
|
5812
|
-
this.figure = undefined;
|
|
5813
|
-
this.label = undefined;
|
|
5814
6051
|
}
|
|
5815
6052
|
render() {
|
|
5816
6053
|
return (hAsync("div", { key: 'a2402c2906760dd5e9f2220ba9f3b82e402ac668', class: "ticker-item" }, hAsync("strong", { key: 'f5c711457f2fd02384f65e8a3d0cefd4643b6fe0' }, this.figure), " ", this.label));
|
|
@@ -5850,8 +6087,17 @@ var BiggiveVideoStyle0 = biggiveVideoCss;
|
|
|
5850
6087
|
class BiggiveVideo {
|
|
5851
6088
|
constructor(hostRef) {
|
|
5852
6089
|
registerInstance(this, hostRef);
|
|
6090
|
+
/**
|
|
6091
|
+
* Space above component
|
|
6092
|
+
*/
|
|
5853
6093
|
this.spaceAbove = 0;
|
|
6094
|
+
/**
|
|
6095
|
+
* Space below component
|
|
6096
|
+
*/
|
|
5854
6097
|
this.spaceBelow = 0;
|
|
6098
|
+
/**
|
|
6099
|
+
* Full URL of a video.
|
|
6100
|
+
*/
|
|
5855
6101
|
this.videoUrl = '';
|
|
5856
6102
|
}
|
|
5857
6103
|
render() {
|
|
@@ -5878,18 +6124,37 @@ var BiggiveVideoFeatureStyle0 = biggiveVideoFeatureCss;
|
|
|
5878
6124
|
class BiggiveVideoFeature {
|
|
5879
6125
|
constructor(hostRef) {
|
|
5880
6126
|
registerInstance(this, hostRef);
|
|
6127
|
+
/**
|
|
6128
|
+
* Space above component
|
|
6129
|
+
*/
|
|
5881
6130
|
this.spaceAbove = 0;
|
|
6131
|
+
/**
|
|
6132
|
+
* Space below component
|
|
6133
|
+
*/
|
|
5882
6134
|
this.spaceBelow = 0;
|
|
6135
|
+
/**
|
|
6136
|
+
* Default text colour
|
|
6137
|
+
*/
|
|
5883
6138
|
this.defaultTextColour = 'primary';
|
|
6139
|
+
/**
|
|
6140
|
+
* Full URL of a video.
|
|
6141
|
+
*/
|
|
5884
6142
|
this.videoUrl = '';
|
|
5885
|
-
|
|
6143
|
+
/**
|
|
6144
|
+
* Slug colour
|
|
6145
|
+
*/
|
|
5886
6146
|
this.slugColour = '';
|
|
5887
|
-
|
|
6147
|
+
/**
|
|
6148
|
+
* Slug colour
|
|
6149
|
+
*/
|
|
5888
6150
|
this.mainTitleColour = '';
|
|
5889
|
-
|
|
6151
|
+
/**
|
|
6152
|
+
* Teaser colour
|
|
6153
|
+
*/
|
|
5890
6154
|
this.teaserColour = '';
|
|
5891
|
-
|
|
5892
|
-
|
|
6155
|
+
/**
|
|
6156
|
+
* Button Colour Scheme
|
|
6157
|
+
*/
|
|
5893
6158
|
this.buttonColourScheme = 'primary';
|
|
5894
6159
|
}
|
|
5895
6160
|
render() {
|
|
@@ -6085,7 +6350,7 @@ var NAMESPACE = (
|
|
|
6085
6350
|
);
|
|
6086
6351
|
|
|
6087
6352
|
/*
|
|
6088
|
-
Stencil Hydrate Runner v4.23.
|
|
6353
|
+
Stencil Hydrate Runner v4.23.1 | MIT Licensed | https://stenciljs.com
|
|
6089
6354
|
*/
|
|
6090
6355
|
var __defProp = Object.defineProperty;
|
|
6091
6356
|
var __export = (target, all) => {
|
|
@@ -16548,7 +16813,10 @@ function* streamToHtml(node, opts, output) {
|
|
|
16548
16813
|
const tag = tagName === shadowRootTag ? "template" : tagName;
|
|
16549
16814
|
yield "<" + tag;
|
|
16550
16815
|
output.currentLineWidth += tag.length + 1;
|
|
16551
|
-
if (tag === "template" && (!node.getAttribute || !node.getAttribute("shadowrootmode"))
|
|
16816
|
+
if (tag === "template" && (!node.getAttribute || !node.getAttribute("shadowrootmode")) && /**
|
|
16817
|
+
* If the node is a shadow root, we want to add the `shadowrootmode` attribute
|
|
16818
|
+
*/
|
|
16819
|
+
("host" in node || node.nodeName.toLocaleLowerCase() === shadowRootTag)) {
|
|
16552
16820
|
const mode = ` shadowrootmode="open"`;
|
|
16553
16821
|
yield mode;
|
|
16554
16822
|
output.currentLineWidth += mode.length;
|
|
@@ -18014,6 +18282,8 @@ function createElement(ownerDocument, tagName) {
|
|
|
18014
18282
|
return new MockTitleElement(ownerDocument);
|
|
18015
18283
|
case "ul":
|
|
18016
18284
|
return new MockUListElement(ownerDocument);
|
|
18285
|
+
case "slot-fb":
|
|
18286
|
+
return new MockHTMLElement(ownerDocument, tagName);
|
|
18017
18287
|
}
|
|
18018
18288
|
if (ownerDocument != null && tagName.includes("-")) {
|
|
18019
18289
|
const win2 = ownerDocument.defaultView;
|