@biggive/components 202606230803.0.0 → 202606300841.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/{p-9d63fe98.entry.js → p-034bc308.entry.js} +1 -1
- package/dist/biggive/{p-a0070f43.entry.js → p-074c95a5.entry.js} +1 -1
- package/dist/biggive/{p-c9436468.entry.js → p-07bd58dd.entry.js} +1 -1
- package/dist/biggive/{p-9e64817e.entry.js → p-08c0d7a0.entry.js} +1 -1
- package/dist/biggive/{p-b7d3a6ab.entry.js → p-13840401.entry.js} +1 -1
- package/dist/biggive/{p-ebf67952.entry.js → p-167ac0d3.entry.js} +1 -1
- package/dist/biggive/{p-a7622ab7.entry.js → p-22f2e1e4.entry.js} +1 -1
- package/dist/biggive/p-2f0e2375.entry.js +1 -0
- package/dist/biggive/{p-7ab14477.entry.js → p-342e0587.entry.js} +1 -1
- package/dist/biggive/{p-b0874950.entry.js → p-35742632.entry.js} +1 -1
- package/dist/biggive/{p-4a6d979f.entry.js → p-486b0443.entry.js} +1 -1
- package/dist/biggive/{p-3d80c5b4.entry.js → p-4c8d3d7b.entry.js} +1 -1
- package/dist/biggive/{p-1c39307b.entry.js → p-53d2459c.entry.js} +1 -1
- package/dist/biggive/{p-461ca12d.entry.js → p-53efa890.entry.js} +1 -1
- package/dist/biggive/{p-be1828d2.entry.js → p-60824941.entry.js} +1 -1
- package/dist/biggive/{p-921ecc1a.entry.js → p-63bbe726.entry.js} +1 -1
- package/dist/biggive/{p-b8afbd5b.entry.js → p-6db0805c.entry.js} +1 -1
- package/dist/biggive/{p-b8d67e54.entry.js → p-6ef8f1c8.entry.js} +1 -1
- package/dist/biggive/{p-d2b89a35.entry.js → p-6f0ab7de.entry.js} +1 -1
- package/dist/biggive/{p-a5873e6c.entry.js → p-76d8edf3.entry.js} +1 -1
- package/dist/biggive/{p-aaf986b7.entry.js → p-79233862.entry.js} +1 -1
- package/dist/biggive/{p-9b695dc8.entry.js → p-7b142f0c.entry.js} +1 -1
- package/dist/biggive/{p-ab3d62f9.entry.js → p-7e9f3522.entry.js} +1 -1
- package/dist/biggive/p-8c4c51d6.entry.js +1 -0
- package/dist/biggive/p-925b1eab.entry.js +1 -0
- package/dist/biggive/{p-9f907107.entry.js → p-a987b466.entry.js} +1 -1
- package/dist/biggive/{p-120a8b58.entry.js → p-ac53a19e.entry.js} +1 -1
- package/dist/biggive/{p-f576564a.entry.js → p-acc61e55.entry.js} +1 -1
- package/dist/biggive/{p-4e91b90c.entry.js → p-b00c2ca8.entry.js} +1 -1
- package/dist/biggive/p-b09d4083.entry.js +1 -0
- package/dist/biggive/p-b0d1c784.entry.js +1 -0
- package/dist/biggive/{p-8ec27398.entry.js → p-b5de3f93.entry.js} +1 -1
- package/dist/biggive/{p-8109ba6c.entry.js → p-c11a2f3b.entry.js} +1 -1
- package/dist/biggive/{p-1aec0011.entry.js → p-c50881e4.entry.js} +1 -1
- package/dist/biggive/{p-d4c0daba.entry.js → p-d277fe34.entry.js} +1 -1
- package/dist/biggive/{p-39f5df3a.entry.js → p-d2c312e0.entry.js} +1 -1
- package/dist/biggive/{p-7d3d0149.entry.js → p-d3112cb1.entry.js} +1 -1
- package/dist/biggive/p-d4462885.entry.js +1 -0
- package/dist/biggive/{p-a8e5b837.entry.js → p-dddee0ad.entry.js} +1 -1
- package/dist/biggive/{p-ed688cf9.entry.js → p-e8517ccd.entry.js} +1 -1
- package/dist/biggive/{p-a4021922.entry.js → p-ebdf0f2a.entry.js} +1 -1
- package/dist/biggive/{p-9c0c28cf.entry.js → p-ed7b04d2.entry.js} +1 -1
- package/dist/biggive/{p-05e0f91c.entry.js → p-ed92d2b0.entry.js} +1 -1
- package/dist/biggive/{p-e497653a.entry.js → p-f04eaebb.entry.js} +1 -1
- package/dist/biggive/{p-f7a05c60.entry.js → p-f2d44bb0.entry.js} +1 -1
- package/dist/biggive/{p-4d4724bb.entry.js → p-f2f9ce31.entry.js} +1 -1
- package/dist/biggive/{p-fc277669.entry.js → p-fb0a9e11.entry.js} +1 -1
- package/dist/biggive/{p-25d081a8.entry.js → p-fd2f1a72.entry.js} +1 -1
- package/dist/biggive/pages/biggive.html +2 -0
- package/dist/cjs/biggive-accordion.cjs.entry.js +1 -1
- package/dist/cjs/biggive-article-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -2
- package/dist/cjs/biggive-branded-image.cjs.entry.js +1 -1
- package/dist/cjs/biggive-button.cjs.entry.js +1 -1
- package/dist/cjs/biggive-call-to-action.cjs.entry.js +1 -1
- package/dist/cjs/biggive-campaign-card-filter-grid.cjs.entry.js +21 -4
- package/dist/cjs/biggive-campaign-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-campaign-highlights.cjs.entry.js +1 -1
- package/dist/cjs/biggive-container-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +2 -2
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/biggive-grid.cjs.entry.js +1 -1
- package/dist/cjs/biggive-heading-banner.cjs.entry.js +2 -2
- package/dist/cjs/biggive-heading.cjs.entry.js +1 -1
- package/dist/cjs/biggive-hero-image.cjs.entry.js +2 -2
- package/dist/cjs/biggive-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-button.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/biggive-image.cjs.entry.js +1 -1
- package/dist/cjs/biggive-main-menu.cjs.entry.js +1 -1
- package/dist/cjs/biggive-misc-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-column.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-columns.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-section.cjs.entry.js +2 -2
- package/dist/cjs/biggive-popup.cjs.entry.js +1 -1
- package/dist/cjs/biggive-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/biggive-quote.cjs.entry.js +3 -3
- package/dist/cjs/biggive-sheet.cjs.entry.js +1 -1
- package/dist/cjs/biggive-social-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -2
- package/dist/cjs/biggive-table.cjs.entry.js +2 -2
- package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
- package/dist/cjs/biggive-timeline.cjs.entry.js +2 -2
- package/dist/cjs/biggive-totalizer-ticker-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-totalizer.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video-feature.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/philco-footer.cjs.entry.js +1 -1
- package/dist/cjs/philco-main-menu.cjs.entry.js +1 -1
- package/dist/collection/components/biggive-accordion/biggive-accordion.js +1 -1
- package/dist/collection/components/biggive-article-card/biggive-article-card.js +2 -2
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +1 -1
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +2 -2
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +2 -2
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +1 -1
- package/dist/collection/components/biggive-button/biggive-button.js +1 -1
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +1 -1
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +2 -2
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +117 -4
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +1 -1
- package/dist/collection/components/biggive-container-card/biggive-container-card.js +1 -1
- package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +1 -1
- package/dist/collection/components/biggive-form/biggive-form.js +1 -1
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +2 -2
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +1 -1
- package/dist/collection/components/biggive-grid/biggive-grid.js +1 -1
- package/dist/collection/components/biggive-heading/biggive-heading.js +1 -1
- package/dist/collection/components/biggive-heading-banner/biggive-heading-banner.js +2 -2
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +2 -2
- package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +2 -2
- package/dist/collection/components/biggive-image/biggive-image.js +1 -1
- package/dist/collection/components/biggive-image-button/biggive-image-button.js +2 -2
- package/dist/collection/components/biggive-image-card/biggive-image-card.js +2 -2
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +1 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +1 -1
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +1 -1
- package/dist/collection/components/biggive-nav-group/biggive-nav-group.js +1 -1
- package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +1 -1
- package/dist/collection/components/biggive-page-column/biggive-page-column.js +1 -1
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +1 -1
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -2
- package/dist/collection/components/biggive-popup/biggive-popup.js +1 -1
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +1 -1
- package/dist/collection/components/biggive-quote/biggive-quote.js +3 -3
- package/dist/collection/components/biggive-sheet/biggive-sheet.js +1 -1
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +1 -1
- package/dist/collection/components/biggive-tab/biggive-tab.js +1 -1
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +2 -2
- package/dist/collection/components/biggive-table/biggive-table.js +2 -2
- package/dist/collection/components/biggive-text-input/biggive-text-input.js +1 -1
- package/dist/collection/components/biggive-timeline/biggive-timeline.js +2 -2
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +1 -1
- package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +1 -1
- package/dist/collection/components/biggive-video/biggive-video.js +1 -1
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +1 -1
- package/dist/collection/components/philco-footer/philco-footer.js +1 -1
- package/dist/collection/components/philco-main-menu/philco-main-menu.js +1 -1
- package/dist/collection/pages/biggive.html +2 -0
- package/dist/components/biggive-accordion.js +1 -1
- package/dist/components/biggive-article-card.js +1 -1
- package/dist/components/biggive-back-to-top.js +1 -1
- package/dist/components/biggive-basic-card.js +1 -1
- package/dist/components/biggive-boxed-content.js +1 -1
- package/dist/components/biggive-branded-image.js +1 -1
- package/dist/components/biggive-button2.js +1 -1
- package/dist/components/biggive-call-to-action.js +1 -1
- package/dist/components/biggive-campaign-card-filter-grid.js +1 -1
- package/dist/components/biggive-campaign-card.js +1 -1
- package/dist/components/biggive-campaign-highlights.js +1 -1
- package/dist/components/biggive-container-card.js +1 -1
- package/dist/components/biggive-cookie-banner.js +1 -1
- package/dist/components/biggive-form-field-select2.js +1 -1
- package/dist/components/biggive-form.js +1 -1
- package/dist/components/biggive-formatted-text.js +1 -1
- package/dist/components/biggive-grid.js +1 -1
- package/dist/components/biggive-heading-banner.js +1 -1
- package/dist/components/biggive-heading.js +1 -1
- package/dist/components/biggive-hero-image.js +1 -1
- package/dist/components/biggive-icon-button.js +1 -1
- package/dist/components/biggive-image-button.js +1 -1
- package/dist/components/biggive-image-card.js +1 -1
- package/dist/components/biggive-image-feature.js +1 -1
- package/dist/components/biggive-image.js +1 -1
- package/dist/components/biggive-main-menu.js +1 -1
- package/dist/components/biggive-misc-icon2.js +1 -1
- package/dist/components/biggive-nav-group.js +1 -1
- package/dist/components/biggive-nav-item.js +1 -1
- package/dist/components/biggive-page-column.js +1 -1
- package/dist/components/biggive-page-columns.js +1 -1
- package/dist/components/biggive-page-section.js +1 -1
- package/dist/components/biggive-popup2.js +1 -1
- package/dist/components/biggive-progress-bar2.js +1 -1
- package/dist/components/biggive-quote.js +1 -1
- package/dist/components/biggive-sheet.js +1 -1
- package/dist/components/biggive-social-icon2.js +1 -1
- package/dist/components/biggive-tab.js +1 -1
- package/dist/components/biggive-tabbed-content.js +1 -1
- package/dist/components/biggive-table.js +1 -1
- package/dist/components/biggive-text-input.js +1 -1
- package/dist/components/biggive-timeline.js +1 -1
- package/dist/components/biggive-totalizer-ticker-item.js +1 -1
- package/dist/components/biggive-totalizer.js +1 -1
- package/dist/components/biggive-video-feature.js +1 -1
- package/dist/components/biggive-video.js +1 -1
- package/dist/components/philco-footer.js +1 -1
- package/dist/components/philco-main-menu.js +1 -1
- package/dist/esm/biggive-accordion.entry.js +1 -1
- package/dist/esm/biggive-article-card.entry.js +2 -2
- package/dist/esm/biggive-back-to-top.entry.js +1 -1
- package/dist/esm/biggive-basic-card.entry.js +2 -2
- package/dist/esm/biggive-boxed-content.entry.js +2 -2
- package/dist/esm/biggive-branded-image.entry.js +1 -1
- package/dist/esm/biggive-button.entry.js +1 -1
- package/dist/esm/biggive-call-to-action.entry.js +1 -1
- package/dist/esm/biggive-campaign-card-filter-grid.entry.js +21 -4
- package/dist/esm/biggive-campaign-card.entry.js +2 -2
- package/dist/esm/biggive-campaign-highlights.entry.js +1 -1
- package/dist/esm/biggive-container-card.entry.js +1 -1
- package/dist/esm/biggive-cookie-banner.entry.js +1 -1
- package/dist/esm/biggive-form-field-select.entry.js +2 -2
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +1 -1
- package/dist/esm/biggive-grid.entry.js +1 -1
- package/dist/esm/biggive-heading-banner.entry.js +2 -2
- package/dist/esm/biggive-heading.entry.js +1 -1
- package/dist/esm/biggive-hero-image.entry.js +2 -2
- package/dist/esm/biggive-icon-button.entry.js +2 -2
- package/dist/esm/biggive-image-button.entry.js +2 -2
- package/dist/esm/biggive-image-card.entry.js +2 -2
- package/dist/esm/biggive-image-feature.entry.js +1 -1
- package/dist/esm/biggive-image.entry.js +1 -1
- package/dist/esm/biggive-main-menu.entry.js +1 -1
- package/dist/esm/biggive-misc-icon.entry.js +1 -1
- package/dist/esm/biggive-nav-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -1
- package/dist/esm/biggive-page-column.entry.js +1 -1
- package/dist/esm/biggive-page-columns.entry.js +1 -1
- package/dist/esm/biggive-page-section.entry.js +2 -2
- package/dist/esm/biggive-popup.entry.js +1 -1
- package/dist/esm/biggive-progress-bar.entry.js +1 -1
- package/dist/esm/biggive-quote.entry.js +3 -3
- package/dist/esm/biggive-sheet.entry.js +1 -1
- package/dist/esm/biggive-social-icon.entry.js +1 -1
- package/dist/esm/biggive-tab.entry.js +1 -1
- package/dist/esm/biggive-tabbed-content.entry.js +2 -2
- package/dist/esm/biggive-table.entry.js +2 -2
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-timeline.entry.js +2 -2
- package/dist/esm/biggive-totalizer-ticker-item.entry.js +1 -1
- package/dist/esm/biggive-totalizer.entry.js +1 -1
- package/dist/esm/biggive-video-feature.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/esm/biggive.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/philco-footer.entry.js +1 -1
- package/dist/esm/philco-main-menu.entry.js +1 -1
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +22 -0
- package/dist/types/components.d.ts +46 -0
- package/hydrate/index.js +88 -67
- package/hydrate/index.mjs +88 -67
- package/package.json +1 -1
- package/dist/biggive/p-176e7c45.entry.js +0 -1
- package/dist/biggive/p-3340063a.entry.js +0 -1
- package/dist/biggive/p-5f18c157.entry.js +0 -1
- package/dist/biggive/p-705b4705.entry.js +0 -1
- package/dist/biggive/p-7b98b0af.entry.js +0 -1
- package/dist/biggive/p-d24f2c67.entry.js +0 -1
|
@@ -27,7 +27,7 @@ const PhilcoMainMenu = class {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const homePageLink = '/';
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: '4d5afe5fa035fec834c92d82555d8b7ef2c0e1b3' }, index.h("nav", { key: 'a60e33bd7ba1684e8ab34a024140b88c0804bdbd', role: "navigation", "aria-label": "Main Menu" }, index.h("div", { key: '5be0b109cdbf505bd5e1f6fb4f7c737028f8c698', class: "navbar" }, index.h("div", { key: '63b26ea49053953b606aeb79942316d3329ca4d0', class: "logo" }, index.h("a", { key: '2cb39d000faaadc751a49b18161ff0eec294d8da', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("img", { key: 'e5f38bb86c9e5bf4392cb83439416369f41e9be7', src: index.getAssetPath('/assets/images/philco/Philcologo-white.png'), alt: "PhilCo" }))), index.h("biggive-misc-icon", { key: '0e3113ad9b0563873c0ddace83c919c2442c96a7', class: "bx bx-menu", "background-colour": "transparent", "icon-colour": "white", icon: "MenuOpen", onClick: this.openMobileMenu }), index.h("div", { key: 'd2b7469c5655f4291054682932c56e7891520f20', class: "nav-links" }, index.h("div", { key: '124232788e2acfe85e00edc2bab5640af67a003b', class: "sidebar-logo" }, index.h("a", { key: '3c09ce03b4233f28a4de3fb64c08dd6a1099f7ba', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }), index.h("biggive-misc-icon", { key: '559bc6e87a9c088bed8df4ec491545741b07299e', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "white", icon: "MenuClose", onClick: this.closeMobileMenu })), index.h("div", { key: 'fc8a84ac8d34abd92c135264c97a5adf801a3cc4', id: "nav-primary" }, index.h("ul", { key: '176108b4cedde12ce63f678ac4cd552d4ddaf43f', class: "links", slot: "nav-primary" }, index.h("li", { key: 'ad0b072648e8b99d296be1a95805f8fc8eac03c7' }, index.h("a", { key: 'e5600d3e354b71c4e973d6ff528e1ef29b4ff7b2', href: helperMethods.makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), index.h("li", { key: '0304ec987fabd8eb44d3ced42e0fc50d86abaa4e' }, index.h("a", { key: '86fcf2b547b1771d26cf8c9c5594771b306dbd10', href: helperMethods.makeURL('Philco', this.philcoUrlPrefix, 'news') }, "News")), index.h("li", { key: '08dd1cb8438e4f97dffc96c6d051e3d2c2c6b793', class: "signup" }, index.h("biggive-button", { key: 'b6ba1740e8cd322d57e86cb428528e5815924996', label: "Sign up", "site-design": "philco", "colour-scheme": "philco-white", rounded: true, url: helperMethods.makeURL('Philco', this.philcoUrlPrefix, 'sign-up') })))))))));
|
|
31
31
|
}
|
|
32
32
|
get host() { return index.getElement(this); }
|
|
33
33
|
};
|
|
@@ -22,7 +22,7 @@ export class BiggiveAccordion {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'e9bc8ddcd45944a81aa6bcad893b16cbb57cd681', class: 'container' + ' space-below-' + this.spaceBelow + ' text-colour-' + this.textColour + ' heading-colour-' + this.headingColour }, h("div", { key: 'cb21d5299976c30a6ac84a6de728fd019e992871', class: "sleeve" }, this.children === undefined
|
|
26
26
|
? []
|
|
27
27
|
: this.children.map(entry => (h("div", { class: "entry" }, h("h3", { class: "heading", onClick: this.toggleSection, title: "Expand section" }, entry.heading, h("span", { class: "arrow" }, h("svg", { width: "15", height: "9", viewBox: "0 0 15 9", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M14.1074 0.999859L7.55357 7.55371L0.999718 0.99986", stroke: "black", "stroke-width": "2" })))), h("div", { class: "content", innerHTML: entry.innerHTML })))))));
|
|
28
28
|
}
|
|
@@ -16,7 +16,7 @@ export class BiggiveArticleCard {
|
|
|
16
16
|
return value === undefined || value === null || value === '';
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '7c28f94f07d718a5e891a28a1c692d8801d789b9', class: 'container space-below-' + this.spaceBelow }, h("div", { key: '1a5c943543b3f3ca11b6cb710e4822624b45fe0b', class: 'sleeve background-colour-' +
|
|
20
20
|
this.backgroundColour +
|
|
21
21
|
' text-colour-black ' +
|
|
22
22
|
' slug-colour-' +
|
|
@@ -32,7 +32,7 @@ export class BiggiveArticleCard {
|
|
|
32
32
|
' clip-bottom-left-corner-' +
|
|
33
33
|
this.clipBottomLeftCorner +
|
|
34
34
|
' clip-top-right-corner-' +
|
|
35
|
-
this.clipTopRightCorner, style: Object.assign({}, (this.backgroundImageUrl.length > 0 ? { 'background-image': "url('" + this.backgroundImageUrl + "')" } : {})) }, h("div", { key: '
|
|
35
|
+
this.clipTopRightCorner, style: Object.assign({}, (this.backgroundImageUrl.length > 0 ? { 'background-image': "url('" + this.backgroundImageUrl + "')" } : {})) }, h("div", { key: '3cb256995fd7c2e1fb95f0a9c779476bdffaa58d', class: "content-wrap" }, h("div", { key: '290b37894da3bff3c195586aee0e6ab073d89433', class: "meta" }, this.slug != '' ? h("div", { class: "slug text-colour-primary" }, this.slug) : null, this.date != '' ? h("div", { class: "date" }, this.date) : null), this.isEmpty(this.mainImageUrl) ? null : (h("div", { class: "main-image-container" }, h("div", { class: "image-wrap" }, h("img", { src: this.mainImageUrl, alt: this.mainImageAltText })))), h("h3", { key: '95d8ff29f4abd3bd4e7f2d9b2586e28041251ef7', class: "title" }, h("a", { key: 'ad20df5ff066926cdf019d62d658fce4f30014ab', href: this.buttonUrl }, this.mainTitle)), !this.isEmpty(this.image1Url) || !this.isEmpty(this.image2Url) ? (h("div", { class: "image-group" }, this.isEmpty(this.image1Url) ? null : (h("div", { class: "image-container" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.image1Url + "')" } }, h("img", { src: this.image1Url, alt: this.image1AltText })))), this.isEmpty(this.image2Url) ? null : (h("div", { class: "image-container" }, h("div", { class: "image-wrap", style: { 'background-image': "url('" + this.image2Url + "')" } }, h("img", { src: this.image2Url, alt: this.image2AltText })))))) : null, this.isEmpty(this.imageLabel) ? null : h("div", { class: "image-label" }, this.imageLabel), !this.isEmpty(this.buttonLabel) && !this.isEmpty(this.buttonUrl) ? (h("div", { class: "button-wrap align-right" }, h("biggive-button", { "colour-scheme": 'clear-' + this.buttonColour, url: this.buttonUrl, label: this.buttonLabel }))) : null))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "biggive-article-card"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getAssetPath, h } from "@stencil/core";
|
|
2
2
|
export class BiggiveBackToTop {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '73d4254f10b68df9d864636eade7196ba0de13c3', class: "container" }, h("a", { key: 'da8060e7a1da7999024a38190581bdc97d4e1bf5', href: "#" }, h("img", { key: '9d6e4aff0347d8b600b4633f51efec6ac5b8f2d5', src: getAssetPath('/assets/images/triangles-combined.svg') }), h("span", { key: '57829941a39aa067a1aa984a1cabf44e68cb7ebc', class: "text" }, "Back to top"))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "biggive-back-to-top"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class BiggiveBasicCard {
|
|
|
24
24
|
render() {
|
|
25
25
|
var _a, _b;
|
|
26
26
|
const HeadingTag = `h${this.headingLevel}`;
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: '1764bc9783eec59fd33d886a7fc867247100ac70', class: 'container space-below-' +
|
|
28
28
|
this.spaceBelow +
|
|
29
29
|
' background-colour-' +
|
|
30
30
|
this.backgroundColour +
|
|
@@ -36,7 +36,7 @@ export class BiggiveBasicCard {
|
|
|
36
36
|
' add-animation-' +
|
|
37
37
|
this.addAnimation +
|
|
38
38
|
' ' +
|
|
39
|
-
this.siteDesign, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("a", { key: '
|
|
39
|
+
this.siteDesign, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("a", { key: '939b5ffc0091b38b7c5d0af16669c04e3227b855', href: this.buttonUrl }, h("div", { key: 'c8ed3094f1f494809e7a7a61c2b3c85c71c0db9a', class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("div", { key: '17035ed89f57b077656efa60b83a5287fb7ca8e2', class: "content-wrap" }, this.icon ? (h("div", { class: "icon" }, h("svg", { width: "53", height: "39", viewBox: "0 0 53 39", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z", class: "fill-black" }), h("path", { d: "M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z", class: 'fill-' + this.iconColour })))) : null, ((_b = (_a = this.mainImageUrl) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) === 0 ? null : (h("div", { class: "main-image-container" }, h("div", { class: "image-wrap" }, h("img", { src: this.mainImageUrl, alt: this.mainImageAltText })))), h(HeadingTag, { key: 'f3060696fb4dd750fb8a77ccd3d7b4da81f00a05', class: "title" }, this.mainTitle), this.author !== '' || this.date !== '' ? (h("div", { class: "subtitle" }, this.author, " ", h("span", { class: "divider" }, "|"), " ", this.date)) : null, this.subtitle !== '' ? h("div", { class: "subtitle" }, this.subtitle) : null, h("div", { key: '079182ac652a21939a20f162a2850fa0a4ee4bf4', class: "teaser" }, this.teaser), this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (h("div", { class: 'button-wrap align-' + this.buttonAlign }, h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel, rounded: this.siteDesign === 'philco' }))) : null)))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "biggive-basic-card"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,7 +23,7 @@ export class BiggiveBoxedContent {
|
|
|
23
23
|
this.shadow = true;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '5d0d29687a4589fab3be340c997177b50c853fc8', class: 'container background-colour-' +
|
|
27
27
|
this.backgroundColour +
|
|
28
28
|
' space-below-' +
|
|
29
29
|
this.spaceBelow +
|
|
@@ -32,7 +32,7 @@ export class BiggiveBoxedContent {
|
|
|
32
32
|
' vertical-padding-' +
|
|
33
33
|
this.verticalPadding +
|
|
34
34
|
' shadow-' +
|
|
35
|
-
this.shadow }, h("slot", { key: '
|
|
35
|
+
this.shadow }, h("slot", { key: '2d08451e720e02e45d0105905a7e16a5b77b2be1' })));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "biggive-boxed-content"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,7 +19,7 @@ export class BiggiveBrandedImage {
|
|
|
19
19
|
* `role="presentation"` every time instead of accepting alt text.
|
|
20
20
|
*/
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '9d6e952a67a9bf5b5325e44b24f09a2d11f85de8', class: 'container space-below-' + this.spaceBelow }, h("div", { key: '04983693911b70f88450dabdb0416d2372203745', class: "slug" }, this.slug), h("div", { key: 'db4aa6a957636251e70da87edd4399f224d9662f', class: "image-wrap" }, this.imageUrl !== undefined && this.imageUrl !== null ? (this.imageAlt == null && this.imageHeightPercent == null ? (h("img", { src: this.imageUrl })) : this.imageAlt == null && this.imageHeightPercent != null ? (h("img", { src: this.imageUrl, style: { height: this.imageHeightPercent + 'cqw' } })) : this.imageAlt != null && this.imageHeightPercent == null ? (h("img", { src: this.imageUrl, alt: this.imageAlt })) : (h("img", { src: this.imageUrl, alt: this.imageAlt, style: { height: this.imageHeightPercent + 'cqw' } }))) : null), this.logoUrl !== undefined && this.logoUrl !== null ? h("div", { class: "logo-wrap", style: { 'background-image': "url('" + this.logoUrl + "')" } }) : null, this.charityName !== undefined && this.charityName !== null ? h("h3", { class: "title" }, this.charityName) : null, this.charityLocation !== undefined && this.charityLocation !== null ? h("div", { class: "charity-info" }, this.charityLocation) : null));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "biggive-branded-image"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -68,7 +68,7 @@ export class BiggiveButton {
|
|
|
68
68
|
' rounded-' +
|
|
69
69
|
this.rounded.toString() +
|
|
70
70
|
(isNoOpLink ? ' no-op-link' : '');
|
|
71
|
-
return (h("div", { key: '
|
|
71
|
+
return (h("div", { key: '801ce97906fc2f47f509ca6f6a09de1b08e5cc6e', class: 'container space-below-' + this.spaceBelow + ' centered-' + this.centered + ' ' + this.siteDesign + (this.disabled ? ' disabled' : '') }, isNoOpLink ? (h("button", { type: "button", "aria-disabled": this.disabled, disabled: this.disabled, id: this.buttonId, class: buttonClass, onClick: this.handleButtonClick }, this.label)) : (h("a", { "pointer-events": this.disabled ? 'none' : 'auto', "aria-disabled": this.disabled, role: "button", href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId, class: buttonClass, onClick: this.handleButtonClick }, this.label))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "biggive-button"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class BiggiveCallToAction {
|
|
|
51
51
|
this.secondaryButtonColourScheme = 'primary';
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: '20ee3f4f622c3c418c96bf621040de6c971518b9', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '54d464b2e76150ff4f45195a132e4a714dedc103', class: "sleeve" }, h("div", { key: 'e5453f87b9c3ea6c835ba2354e356dd9ea8df33b', class: "content-wrap" }, h("div", { key: 'faa6db96c366dfe42e611bf560bd86a28a95f731', class: 'slug heading-' + this.slugSize + ' text-colour-' + this.slugColour }, this.slug), h("h2", { key: 'e31c7b9bf04f4cd3ebaad29775d98b131acbaa22', class: 'title heading-' + this.mainTitleSize + ' text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: '6e023f3d942f95ce70c399d54657e04da25be4cb', class: 'slug heading-' + this.subtitleSize + ' text-colour-' + this.subtitleColour }, this.subtitle), h("div", { key: '3d28d08712ba6584ad01323e39f001c41acbbd6b', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.primaryButtonLabel != null && this.primaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.primaryButtonColourScheme, url: this.primaryButtonUrl, label: this.primaryButtonLabel }))) : null, this.secondaryButtonLabel != null && this.secondaryButtonUrl != null ? (h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": this.secondaryButtonColourScheme, url: this.secondaryButtonUrl, label: this.secondaryButtonLabel }))) : null))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "biggive-call-to-action"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,10 +37,10 @@ export class BiggiveCampaignCard {
|
|
|
37
37
|
return value === undefined || value === null || value === '';
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '319985f7b32754f323941126da3e14b50a14ebe3', class: 'container space-below-' + this.spaceBelow.toString() }, h("div", { key: '31b9adc9d26688a04babd7de6ec863df8e5fb984', class: "sleeve" }, h("div", { key: 'e3a9067edacce4985038bb4d92929c0bc5c8151e', onClick: this.handleCardGeneralClick, class: "above-button-wrap" }, this.campaignType !== null ? (h("div", { class: "campaign-type" }, h("span", null, this.campaignType))) : null, this.banner !== null && this.banner !== undefined ? (h("div", { class: "image-wrap banner", role: "presentation", style: { 'background-image': 'url(' + this.banner + ')' } })) : (h("div", { class: "image-wrap banner" })), h("div", { key: 'dd4d04a159af990a2023a06912321fff42368727', class: "title-wrap" }, h("h3", { key: '2ff55ab537792164659b1b435b330292a037840b' }, this.campaignTitle), h("div", { key: '4a70987a57ae638317c30b21e9d5c422f7d5f779', class: "organisation-name" }, "By ", this.organisationName)), this.isEmpty(this.primaryFigureAmount) && this.isEmpty(this.secondaryFigureAmount) ? null : (h("div", { class: "meta-wrap" }, this.isEmpty(this.primaryFigureAmount) ? null : (h("div", { class: "meta-item" }, h("span", { class: "label" }, this.primaryFigureLabel), h("span", { class: "text" }, this.primaryFigureAmount))), this.isEmpty(this.secondaryFigureAmount) ? null : (h("div", { class: "meta-item" }, h("span", { class: "label" }, this.secondaryFigureLabel), h("span", { class: "text" }, this.secondaryFigureAmount))))), this.isEmpty(this.progressBarCounter) ? (
|
|
41
41
|
// We don't have a progress bar to show in this case, so the following is just functioning as a spacer to
|
|
42
42
|
// keep layout consistent. Counter must be non-null to make bar display.
|
|
43
|
-
h("div", { class: "progress-bar-wrap", style: { visibility: 'hidden' } }, h("biggive-progress-bar", { counter: 0, "colour-scheme": "primary" }))) : (h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })))), h("div", { key: '
|
|
43
|
+
h("div", { class: "progress-bar-wrap", style: { visibility: 'hidden' } }, h("biggive-progress-bar", { counter: 0, "colour-scheme": "primary" }))) : (h("div", { class: "progress-bar-wrap" }, h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })))), h("div", { key: '46f8ebfd1fc425610e6ef5fa87376659495890da', class: "button-wrap" }, this.isFutureCampaign || this.isPastCampaign ? (h("div", { class: "msg-wrapper" }, h("biggive-misc-icon", { "background-colour": "white", "icon-colour": "black", icon: "Timer" }), this.isFutureCampaign ? h("p", null, "Launches ", this.datetime) : h("p", null, "Closed ", this.datetime))) : (h("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel })), h("biggive-button", { key: '13362b0cf844a93315672123f464c41482c9b65d', "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "biggive-campaign-card"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,6 +57,18 @@ export class BiggiveCampaignCardFilterGrid {
|
|
|
57
57
|
* For injecting the chosen location to filter by, as per the comment above for `selectedSortByOption`.
|
|
58
58
|
*/
|
|
59
59
|
this.selectedFilterLocation = null;
|
|
60
|
+
/**
|
|
61
|
+
* Allow donors to select campaigns near to themselves.
|
|
62
|
+
*/
|
|
63
|
+
this.enableSearchByLocation = false;
|
|
64
|
+
/**
|
|
65
|
+
* Incidates that the component is currently fetching the browser location
|
|
66
|
+
*/
|
|
67
|
+
this.fetchingLocation = false;
|
|
68
|
+
/**
|
|
69
|
+
* Selected location around which donor is looking for campaigns
|
|
70
|
+
*/
|
|
71
|
+
this.location = undefined;
|
|
60
72
|
this.categoryFilterSelectionChanged = (value) => {
|
|
61
73
|
this.newSelectedFilterCategory = value;
|
|
62
74
|
};
|
|
@@ -91,6 +103,10 @@ export class BiggiveCampaignCardFilterGrid {
|
|
|
91
103
|
this.selectedSortByOption = 'Relevance';
|
|
92
104
|
}
|
|
93
105
|
};
|
|
106
|
+
this.handleNearMeButtonPressed = () => {
|
|
107
|
+
this.unfocusTextInput();
|
|
108
|
+
this.doGetLocationFromBrowser.emit();
|
|
109
|
+
};
|
|
94
110
|
this.handleSearchTextChanged = (event) => {
|
|
95
111
|
this.searchText = event.target.value;
|
|
96
112
|
};
|
|
@@ -204,13 +220,13 @@ export class BiggiveCampaignCardFilterGrid {
|
|
|
204
220
|
render() {
|
|
205
221
|
var _a;
|
|
206
222
|
const sortOptions = this.getSortOptions();
|
|
207
|
-
return (h("div", { key: '
|
|
223
|
+
return (h("div", { key: 'ceb2f44c3c853bfdc3da18ad187de4cc5a085ffb', class: 'container space-below-' + this.spaceBelow }, h("div", { key: '8f6370902bfabe8a9df23e274d05298ca316b12b', class: "sleeve" }, h("div", { key: '89fc861fdb61827ab5dbb5cee88a4dfdd0a8abcb', class: "search-wrap" }, h("h4", { key: '04363e5852c2347036e52efd75c0acfd83df5901' }, this.intro), h("div", { key: 'dd18cb11be900192f0a5a26f027b0102453e50ad', class: "field-wrap" }, h("div", { key: 'a9798f3d6943cfb5494452bf23ea5ce03c288a45', class: "input-wrap" }, h("svg", { key: '9296bccad620aaba713b252fb31c7f3efd4b1a96', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '718a7766577cf08ba55ebae64b60b312cfcf8edf', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: 'e89ff0c306417359e72597edf932166970e01702', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { key: '7713463cc5c611be7e96290c91da7691c3bba5e4', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { key: 'eb4ac758e446eda26be72dad7239fd525c520c39', class: "sort-filter-wrap" }, this.enableSearchByLocation && this.offerNearMeOption && (h("biggive-button", { key: 'fe100d32987271001b584fbba653ab733e0d3037', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleNearMeButtonPressed, label: this.fetchingLocation ? 'Fetching location...' : 'Charities near me', disabled: !this.fetchingLocation, fullWidth: true, "space-below": "0" })), h("div", { key: '30a35a0db88c129c27dd9c20b75d7516a7316ba8', class: "filter-wrap" }, h("biggive-button", { key: 'f93528615753291fd194e9675ff79c53b0a45943', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { key: 'ef7b9eedfade6cb4027fb2789226bf697f420c91', id: "filter-popup" }, h("h4", { key: '5af7616eff806f4f455119f021e57a1d06fe8a0d', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("div", { key: 'ee857c0d3ca4e3f9aa3c8ae339ac256b19c529e5', class: "select-wrapper-1" }, h("biggive-form-field-select", { key: '8ce9507ba455de76430c16f95d5d38a42e17fed2', backgroundColour: "white", prompt: "Category", placeholder: this.categoriesPlaceHolderText, selectedLabel: this.selectedFilterCategory, selectedValue: this.selectedFilterCategory, options: this.optionsToArray(this.categoryOptions || []), selectionChanged: this.categoryFilterSelectionChanged, id: "categories", "space-below": "2" })), h("div", { key: 'fede3134ddd0696cc7b181d53b1141b0baa6cc18', class: "select-wrapper-2" }, h("biggive-form-field-select", { key: 'b5a3fb4f023760c0909088ae0e3780268c0db855', backgroundColour: "white", prompt: "Beneficiary", placeholder: this.beneficiariesPlaceHolderText, selectedLabel: this.selectedFilterBeneficiary, selectedValue: this.selectedFilterBeneficiary, options: this.optionsToArray(this.beneficiaryOptions || []), selectionChanged: this.beneficiarySelectionChanged, id: "beneficiaries", "space-below": "2" })), h("div", { key: '2e39d963ca785aae5d4a50e9051e3b3f1ac42733', class: "select-wrapper-3" }, h("biggive-form-field-select", { key: '6e873fb07978e97cfbe868f77d94b5e6a73d828a', backgroundColour: "white", prompt: "Location", placeholder: this.locationsPlaceHolderText, selectedLabel: this.selectedFilterLocation, selectedValue: this.selectedFilterLocation, options: this.optionsToArray(this.locationOptions || []), selectionChanged: this.locationSelectionChanged, id: "locations", "space-below": "2" })), h("div", { key: '2ff04e800f368fae58f05820fef385f08a5bb73d', class: "align-right" }, h("biggive-button", { key: '437493a55113a5a95f85b07bc01825e55b195ecd', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), h("div", { key: 'e5893df8c1348a3bbaa9389884eed09672616dd0', class: "sort-wrap" }, h("biggive-form-field-select", { key: 'cf5681ff7096d71fc8b27195853a1db44ddb3e8d', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, h("biggive-form-field-select-option", { key: '943113783bd5331a484ca1701d794112eb6a7bac', value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { key: 'a12bc8d837e29675ad85c3df4aedb459499dd0b6', value: "leastRaised", label: "Least raised" }), h("biggive-form-field-select-option", { key: '64d3287ee368c5d51c95b9af3588c28861b6a7de', value: "matchFundsRemaining", label: "Most funds remaining" }), h("biggive-form-field-select-option", { key: '2cb9a2a2115d2a3e042c964ad89091be3704214e', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), h("div", { key: 'a772256d34001e35257a278f841c5b9fe886d12e', class: "selected-filter-wrap" }, h("div", { key: '9d3947afa52842a11ef1338450789e9a5d389ee3', class: "selected-filters" }, this.selectedFilterCategory && (h("span", { key: '2bd20241fe40a5acb5dc628b83a0e6c3f78cb5c0', class: "button", onClick: () => {
|
|
208
224
|
this.removeFilter('categories');
|
|
209
|
-
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '
|
|
225
|
+
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: 'ae76369709cd8540ebf4287b5e337943e3e1d8e9', class: "button", onClick: () => {
|
|
210
226
|
this.removeFilter('beneficiaries');
|
|
211
|
-
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '
|
|
227
|
+
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '73c489be03db7c92f517a2d1b63490cc1de6cff8', class: "button", onClick: () => {
|
|
212
228
|
this.removeFilter('locations');
|
|
213
|
-
} }, this.selectedFilterLocation))), h("div", { key: '
|
|
229
|
+
} }, this.selectedFilterLocation))), h("div", { key: 'f283d737e862792b7fa2cebe16ec8f3014ee9e1f', class: "clear-all" }, h("a", { key: '7ef1c3ee2d4ac438fd21381d24ba9810530eb629', onClick: this.handleClearAll }, "Clear all"))), h("div", { key: '07da3888322df14430a72752c49f65e93f741b1c', class: "campaign-grid" }, h("slot", { key: '78a2bee33c15df96678182f8d6535ee49af43b58', name: "campaign-grid" })))));
|
|
214
230
|
}
|
|
215
231
|
// I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
|
|
216
232
|
// test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
|
|
@@ -516,6 +532,88 @@ export class BiggiveCampaignCardFilterGrid {
|
|
|
516
532
|
"reflect": false,
|
|
517
533
|
"attribute": "selected-filter-location",
|
|
518
534
|
"defaultValue": "null"
|
|
535
|
+
},
|
|
536
|
+
"enableSearchByLocation": {
|
|
537
|
+
"type": "boolean",
|
|
538
|
+
"mutable": false,
|
|
539
|
+
"complexType": {
|
|
540
|
+
"original": "boolean",
|
|
541
|
+
"resolved": "boolean",
|
|
542
|
+
"references": {}
|
|
543
|
+
},
|
|
544
|
+
"required": false,
|
|
545
|
+
"optional": false,
|
|
546
|
+
"docs": {
|
|
547
|
+
"tags": [],
|
|
548
|
+
"text": "Allow donors to select campaigns near to themselves."
|
|
549
|
+
},
|
|
550
|
+
"getter": false,
|
|
551
|
+
"setter": false,
|
|
552
|
+
"reflect": false,
|
|
553
|
+
"attribute": "enable-search-by-location",
|
|
554
|
+
"defaultValue": "false"
|
|
555
|
+
},
|
|
556
|
+
"offerNearMeOption": {
|
|
557
|
+
"type": "boolean",
|
|
558
|
+
"mutable": false,
|
|
559
|
+
"complexType": {
|
|
560
|
+
"original": "boolean",
|
|
561
|
+
"resolved": "boolean",
|
|
562
|
+
"references": {}
|
|
563
|
+
},
|
|
564
|
+
"required": false,
|
|
565
|
+
"optional": false,
|
|
566
|
+
"docs": {
|
|
567
|
+
"tags": [],
|
|
568
|
+
"text": "Allow donors to select campaigns/charities near to themselves."
|
|
569
|
+
},
|
|
570
|
+
"getter": false,
|
|
571
|
+
"setter": false,
|
|
572
|
+
"reflect": false,
|
|
573
|
+
"attribute": "offer-near-me-option"
|
|
574
|
+
},
|
|
575
|
+
"fetchingLocation": {
|
|
576
|
+
"type": "boolean",
|
|
577
|
+
"mutable": false,
|
|
578
|
+
"complexType": {
|
|
579
|
+
"original": "boolean",
|
|
580
|
+
"resolved": "boolean",
|
|
581
|
+
"references": {}
|
|
582
|
+
},
|
|
583
|
+
"required": false,
|
|
584
|
+
"optional": false,
|
|
585
|
+
"docs": {
|
|
586
|
+
"tags": [],
|
|
587
|
+
"text": "Incidates that the component is currently fetching the browser location"
|
|
588
|
+
},
|
|
589
|
+
"getter": false,
|
|
590
|
+
"setter": false,
|
|
591
|
+
"reflect": false,
|
|
592
|
+
"attribute": "fetching-location",
|
|
593
|
+
"defaultValue": "false"
|
|
594
|
+
},
|
|
595
|
+
"location": {
|
|
596
|
+
"type": "unknown",
|
|
597
|
+
"mutable": false,
|
|
598
|
+
"complexType": {
|
|
599
|
+
"original": "GeolocationPosition | undefined",
|
|
600
|
+
"resolved": "GeolocationPosition | undefined",
|
|
601
|
+
"references": {
|
|
602
|
+
"GeolocationPosition": {
|
|
603
|
+
"location": "global",
|
|
604
|
+
"id": "global::GeolocationPosition"
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"required": false,
|
|
609
|
+
"optional": false,
|
|
610
|
+
"docs": {
|
|
611
|
+
"tags": [],
|
|
612
|
+
"text": "Selected location around which donor is looking for campaigns"
|
|
613
|
+
},
|
|
614
|
+
"getter": false,
|
|
615
|
+
"setter": false,
|
|
616
|
+
"defaultValue": "undefined"
|
|
519
617
|
}
|
|
520
618
|
};
|
|
521
619
|
}
|
|
@@ -540,6 +638,21 @@ export class BiggiveCampaignCardFilterGrid {
|
|
|
540
638
|
"resolved": "{ searchText: string | null; sortBy: string | null; filterCategory: string | null; filterBeneficiary: string | null; filterLocation: string | null; }",
|
|
541
639
|
"references": {}
|
|
542
640
|
}
|
|
641
|
+
}, {
|
|
642
|
+
"method": "doGetLocationFromBrowser",
|
|
643
|
+
"name": "doGetLocationFromBrowser",
|
|
644
|
+
"bubbles": true,
|
|
645
|
+
"cancelable": true,
|
|
646
|
+
"composed": true,
|
|
647
|
+
"docs": {
|
|
648
|
+
"tags": [],
|
|
649
|
+
"text": "This event `doSearchAndFilterUpdate` event is emitted and propogates to the parent\ncomponent which handles it"
|
|
650
|
+
},
|
|
651
|
+
"complexType": {
|
|
652
|
+
"original": "void",
|
|
653
|
+
"resolved": "void",
|
|
654
|
+
"references": {}
|
|
655
|
+
}
|
|
543
656
|
}];
|
|
544
657
|
}
|
|
545
658
|
static get methods() {
|
package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js
CHANGED
|
@@ -11,7 +11,7 @@ export class BiggiveCampaignHighlights {
|
|
|
11
11
|
this.progressBarCounter = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: '9f7b92fd96e95021a71987c5aef0eed8f14e76e4', class: 'container space-below-' + this.spaceBelow }, h("div", { key: '10ff0d3f979dfc66fbdf4bd5c09ff0be27e6941e', class: "sleeve" }, this.campaignTitle != null ? (h("div", { class: "campaign-title" }, h("span", null, this.campaignTitle))) : null, this.banner !== null && this.banner !== undefined ? (h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, h("img", { src: this.banner, class: "banner" }))) : null, h("div", { key: '68fc5a95cf81ace178ede53c4799842917ec0e5a', class: "meta-wrap" }, h("div", { key: '0598325d1a48e4015124ac0a507aa5a54cf48f33', class: "meta-item" }, h("span", { key: 'de6e984c1c5f0b76125fad60b34662da17a9f562', class: "label" }, this.primaryFigureLabel), h("span", { key: '8f5472d5b9abe458bd53678ca4e09e716068ed00', class: "text" }, this.primaryFigureAmount)), h("div", { key: '9b297b7676f3d5de45cd865217ed044bc967cd05', class: "meta-item" }, h("span", { key: 'f9984f6796ecb4b3f4e8a865dae1f5fa6a6a28a2', class: "label" }, this.secondaryFigureLabel), h("span", { key: '49d721e8a7770a47058cfedfb6d8cebf21278678', class: "text" }, this.secondaryFigureAmount))), h("div", { key: 'e503a6feb8ca10c0607a443b533386cfab4077ec', class: "progress-bar-wrap" }, h("biggive-progress-bar", { key: '357e686fafabb28cb0979ab0871751488930e98f', counter: this.progressBarCounter, "colour-scheme": "primary" })), h("div", { key: '798f20551aa3d6c3acdf5ba9e061281bbcb2d607', class: "stat-wrap" }, this.primaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.primaryStatText))) : null, this.secondaryStatIcon != null ? (h("div", { class: "stat-item" }, h("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), h("span", { class: "label" }, this.secondaryStatText))) : null), this.championName != null ? (h("div", { class: "championed-by" }, "Championed by ", h("a", { href: this.championUrl }, this.championName))) : null)));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "biggive-campaign-highlights"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class BiggiveContainerCard {
|
|
|
11
11
|
this.headingLevel = 3;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: '47ee6dfc2909a88bb6f5541ebb000895bae8c7be', class: 'container space-below-' + this.spaceBelow + ' background-colour-' + this.backgroundColour, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("div", { key: '40f1e496b071ef095ae70235365b4ea02e2996d2', class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("slot", { key: 'd2ab445448fbdde1c3b265e342ab2ac7b9bca914' }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "biggive-container-card"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class BiggiveCookieBanner {
|
|
|
59
59
|
// then the app may only pass a partial set of them in for a time. Any preference not passed will be treated as
|
|
60
60
|
// declined.
|
|
61
61
|
const cookiesCurrentlyAllowed = this.previouslyAgreedCookiePreferences || {};
|
|
62
|
-
return (h("div", { key: '
|
|
62
|
+
return (h("div", { key: '9da823e571602907e8e9ec5e72c19570f8b800b0', class: "cooke-consent-container" }, h("biggive-popup", { key: 'ffcffbd90768524bbe53249a0bdec923d05fd3c6', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, h("div", { key: '93ba536ad65df83902d21613cc6d40fb5a216973', class: "content" }, h("h4", { key: '6c37d5901a10338547958028826472803608203b', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), h("form", { key: '182899dadc23025b01e0e10114e8a15c656edd58' }, h("div", { key: '969aaaa10d5815935774f7e54be1a3c5eba1e08f', class: "radio-group" }, h("h5", { key: '3088bac52404bbc8b543cef7c04b3d1a6c4b8172' }, "Essential Cookies"), h("p", { key: 'af6f64f69b4717a3b8108a42979168454da8d74b' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), h("input", { key: '173d5a20418cd02bc0decd92d888bb2c2b9060e5', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), h("label", { key: 'af5b2d6cbe2eda853d20d49f4bf6c516d2adf5cc', htmlFor: "necassary-on" }, "Off"), h("input", { key: '1ebbc370e7017b7572b7283b9d024d3a01a104b3', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), h("label", { key: 'c68ee2097aadc4c46bd3d73bfb3eada851c09539', htmlFor: "necassary-on" }, "On")), h("div", { key: '3cf3c7bedfa3cc5fdbdb67f86f5d78508733de03', class: "radio-group" }, h("h5", { key: 'd70c8d0002bfab361a202e174e39b908f15aa8ec' }, "Analytics & Testing Cookies"), h("p", { key: '4d3abcb030535d65f8ce48af40ef3aac6f8e72b9' }, "We use analytics cookies to track activity on our website. For example, the pages you\u2019ve visited, the content you\u2019ve engaged with and the search terms you\u2019ve used. This allows us to personalise and improve our content."), h("p", { key: 'b8536857ccd8e4bfdbc5a340e36ea3a6504d7d3d' }, "We use testing cookies to collect data on how you interact with website features. These insights allow us to update our website and build features that enhance your user experience."), h("input", { key: '34e53faec69fee706ddc191747398a03294b40da', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '9cfedff22a4bada2b4b51c6a7299d28c71630f33', htmlFor: "a-and-t-off" }, "Off"), h("input", { key: 'd06a9ee4d201b89ca31fa0fa284433c8b3b20799', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '4c823880fab576a6cf3ab5badd46abbbf5d12028', htmlFor: "a-and-t-on" }, "On")), h("div", { key: '1e2bd14f96e361af703a99c04da52c50cb77cf1b', class: "radio-group" }, h("h5", { key: '471a9217bc4173e7c68633d10f131bffc8bf0531' }, "Third-party Cookies "), h("p", { key: '43055b98563c4874c2a48e6d91b198036bcf35cf' }, "These cookies are used to track activity, which can help to provide a better experience and improve functionality across various applications. For example, our donation experience survey."), h("input", { key: 'baaec59647dcaf258bd7ad43463dbfdf6fc4afd9', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), h("label", { key: '4f905ffed2dfeba05f52036dbcbf5530729e5e99', htmlFor: "third-party-off" }, "Off"), h("input", { key: 'e46c1084e769a0782c065c0f20bb8ea95a9e9aee', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), h("label", { key: '5842a886c457cdde52730a7149ecf56435bf939f', htmlFor: "third-party-on" }, "On")), h("biggive-button", { key: '91fb477d7dc7655b08fdf37aad4ec834e8de8ccd', "space-below": "0", "space-above": "2", "colour-scheme": "secondary", "is-past-campaign": "false", "is-future-campaign": "false", label: "Accept Selected Cookies", "open-in-new-tab": "false", "full-width": "false", size: "small", rounded: false, centered: false, "button-id": "accept-selected-button", onDoButtonClick: this.handleAcceptSelectedCookies })), h("p", { key: '25d1de6b88a3e0e8edc3882fa739355fdae57449' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), h("h2", { key: '832c163006c9e8edda8b6d464fc221bb8fee94a2' }, "Our website uses cookies"), h("p", { key: '983f374934beff8112fcb5aea4e371578e51b3fe' }, "We use some essential cookies to make our website work. We'd also like to share data with our analytics platform and use analytics cookies to understand how you use the website and make improvements."), h("p", { key: '0d29880c9771819f869f5ec37886768a7341533d' }, h("a", { key: 'd9b38d756ac86a7fae5dd50361ddc311f31ef0d0', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), h("div", { key: 'f02dc850e2d9a00f64362c9f99f750efcecbfe38', class: "button-group" }, h("biggive-button", { key: '928e97747d7627204b3b858676b8380a7cd94631', onDoButtonClick: this.handleAcceptAllClick, "space-below": "0", "colour-scheme": "secondary", "is-past-campaign": "false", "is-future-campaign": "false", label: "Accept All", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "accept-all-button" }), h("biggive-button", { key: 'ab000ed9718a1a8fdd0b202252057e3fe9afb9b2', onDoButtonClick: this.handleRejectAllClicked, "space-below": "0", "colour-scheme": "grey-light", "is-past-campaign": "false", "is-future-campaign": "false", label: "Essential Cookies Only", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "choose-preferences-button" }), h("biggive-button", { key: '526c5068b1ca2621e6a2fe7113c1db29d3f09930', onDoButtonClick: this.handleChoosePrefencesClick, "space-below": "0", "colour-scheme": "grey-light", "is-past-campaign": "false", "is-future-campaign": "false", label: "Choose Preferences", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "choose-preferences-button" }))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "biggive-cookie-banner"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class BiggiveForm {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'c9ba74a1b0d168d61c90cb8994f8d9d8f9b8e967' }, h("slot", { key: '23f6e7258b011e5a807c2c01d7c3451384fb43db' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "biggive-form"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,12 +26,12 @@ export class BiggiveFormFieldSelect {
|
|
|
26
26
|
}
|
|
27
27
|
// Give the select a random id so we can reference it from a label
|
|
28
28
|
const selectId = this.selectElementId || 'select-' + this.getRandomInt().toString();
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '1b0f9c8c81ab0f4d3bb21ea3ef10e24a1eb23c98', class: "selectWrapper" }, h("label", { key: '9a4c9ea9774385dceb506c6a71823588c6d33a12', class: greyIfRequired, htmlFor: selectId }, h("div", { key: '441a778c4d417c7b8daf18ea0caada0b421fae25', class: 'prompt' + greyIfRequired }, this.prompt)), h("div", { key: '29a22d55202a62eaa02ad24caae3de079f651082', class: 'dropdown space-below-' +
|
|
30
30
|
this.spaceBelow +
|
|
31
31
|
' select-style-' +
|
|
32
32
|
this.selectStyle +
|
|
33
33
|
(this.prompt === null ? ' noprompt' : '') +
|
|
34
|
-
(this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, h("div", { key: '
|
|
34
|
+
(this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, h("div", { key: '281b7731bdf66d6419aae73d68951bc8df532149', class: "sleeve" }, h("select", { key: 'de57f5898ffe1122c2cc72442eab0d7da2b52a2c', id: selectId, class: greyIfRequired, onChange: this.doOptionSelectCompletedHandler, "aria-label": this.prompt === null ? this.placeholder : this.prompt }, options.map(option => (h("option", { selected: this.selectedValue === option.value, value: option.value }, option.label)))), h("div", { key: 'e6316c952bcfbd7b8a3ce332a4563f898010abd4', class: "arrow" })))));
|
|
35
35
|
}
|
|
36
36
|
formatOptions(options) {
|
|
37
37
|
if (options === undefined) {
|
|
@@ -8,7 +8,7 @@ export class BiggiveFormattedText {
|
|
|
8
8
|
render() {
|
|
9
9
|
const defaultColourSet = typeof this.defaultTextColour === 'string' && this.defaultTextColour.trim() !== '';
|
|
10
10
|
const anyDefaultColourClass = defaultColourSet ? ' text-colour-' + this.defaultTextColour : '';
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '93efab9359103264a99401ac6f0aead93769807e', class: 'container ' + this.siteDesign + ' max-width-' + this.maxWidth + anyDefaultColourClass + ' space-below-' + this.spaceBelow }, h("slot", { key: '81b3f0e9b295287168f84694d51934d4f7364d9a' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "biggive-formatted-text"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class BiggiveGrid {
|
|
|
10
10
|
this.columnGap = 0;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: '4d81d69c275a02796ebf83e121988a72c3e20967', class: 'grid column-count-' + this.columnCount + ' space-below-' + this.spaceBelow + ' column-gap-' + this.columnGap + (this.spaceBetween ? ' space-between' : '') }, h("slot", { key: 'bc2bc7343b24bedf177ae72ea7718b2bfedcc968' })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "biggive-grid"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class BiggiveHeading {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const Tag = this.htmlElement;
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '4fffcebf9b9d9e1ec280331f544cb639c7f94d8d', class: 'container ' + this.siteDesign + ' align-' + this.align + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h(Tag, { key: '542318025497735b4243d4396d926c3439e8c53e', class: 'heading-colour-' + this.colour + ' icon-colour-' + this.iconColour + ' heading-' + this.size }, this.icon ? (h("svg", { viewBox: "0 0 102 88" }, h("path", { class: "st0", d: "M51.2,0l-51,88h102L51.2,0z" }), h("path", { d: "M31,68.3c-1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9c1.1,0,1.9,0.9,1.9,1.9C32.9,67.5,32.1,68.3,31,68.3z M29.5,79.4h3v-10\n h-3V79.4z M41,69.4V70c-0.5-0.5-1.4-0.9-2.5-0.9c-2.7,0-4.9,2-4.9,4.9c0,2.9,2.2,4.9,4.9,4.9c1.1,0,2-0.3,2.5-0.9v0.6\n c0,1.3-1.2,1.9-2.7,1.9c-1.3,0-2.4-0.3-3.5-0.9v3c1.3,0.5,2.7,0.6,3.6,0.6c3,0,5.5-1.3,5.5-4.6v-9.4L41,69.4L41,69.4z M41,75.3\n c-0.4,0.6-1.2,0.9-1.9,0.9c-1.3,0-2.3-0.8-2.3-2.2c0-1.4,1-2.2,2.3-2.2c0.8,0,1.5,0.4,1.9,0.9V75.3z M52.8,79.7\n c2.4,0,3.8-0.4,5.1-1.2v-7.7h-6.6v2.9h3.5v2.6c-0.5,0.1-1.1,0.3-1.9,0.3c-3,0-4.4-2-4.4-4.3c0-2.3,1.7-4.3,4.8-4.3\n c1.3,0,2.6,0.4,3.5,0.9v-3.3c-0.9-0.4-2.1-0.7-3.7-0.7c-4.6,0-7.8,3.3-7.8,7.4C45.2,76.5,48.1,79.7,52.8,79.7z M60.7,68.3\n c-1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9c1.1,0,1.9,0.9,1.9,1.9C62.6,67.5,61.8,68.3,60.7,68.3z M59.2,79.4h3v-10h-3V79.4z\n M69,73.9l-2.6-4.5h-3.5l6,10.3l6-10.3h-3.5L69,73.9z M77.5,75.1h7c0-4.4-2.5-6-5.1-6c-2.7,0-5.1,1.6-5.1,5.2c0,3.5,2.5,5.2,5.5,5.2\n c1.3,0,2.7-0.2,3.8-0.8v-2.8c-1.5,0.9-2.5,0.9-3.3,0.9C78.9,76.9,77.6,76.5,77.5,75.1z M79.4,71.5c0.9,0,1.7,0.4,1.8,1.7h-3.7\n C77.7,72,78.6,71.5,79.4,71.5z M26,71.6c0.7-0.6,1.1-1.5,1.1-2.5c0-1.9-1.8-3.9-4.4-3.9h-4.8v14.3h6.3c2.4,0,4.3-1.9,4.3-4.2\n C28.4,73.8,27.8,72.2,26,71.6z M21,68.1h1.4c0.9,0,1.5,0.7,1.5,1.4c0,0.8-0.6,1.4-1.5,1.4H21V68.1z M23.8,76.5H21v-2.9h2.8\n c0.9,0,1.5,0.6,1.5,1.4C25.3,75.9,24.7,76.5,23.8,76.5z" }))) : null, this.text)));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "biggive-heading"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -64,14 +64,14 @@ export class BiggiveHeadingBanner {
|
|
|
64
64
|
teaserBlock =
|
|
65
65
|
this.targetUrl === undefined ? (h("div", { class: "teaser", style: { color: teaserColour } }, teaserLines)) : (h("a", { href: this.targetUrl, class: "banner-link" }, h("div", { class: "teaser", style: { color: teaserColour } }, teaserLines)));
|
|
66
66
|
}
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: '75671b219a4a6d72a6e1b3d86f9b655e5fe47eef', class: {
|
|
68
68
|
banner: true,
|
|
69
69
|
short: this.height === 'short',
|
|
70
70
|
}, style: {
|
|
71
71
|
'background-color': bgColor,
|
|
72
72
|
} }, typeof this.mainImageUrl === 'string' && this.mainImageUrl !== '' ? (h("img", { class: "background", src: this.mainImageUrl, alt: "", style: {
|
|
73
73
|
'object-position': `${this.getParsedFocalPoint().x}% ${this.getParsedFocalPoint().y}%`,
|
|
74
|
-
} })) : null, h("div", { key: '
|
|
74
|
+
} })) : null, h("div", { key: 'ce9111a87766b684caa838c528bb4cc8f631ff17', class: "sleeve" }, h("div", { key: '7bc9c2fe458453da0a8d77c22c2ba8df4dfd8bec', class: "content-wrap", style: {
|
|
75
75
|
'background-color': textBgColor,
|
|
76
76
|
} }, logo ? (h("div", { class: "logo" }, h("img", { src: logo.url, alt: logo.alt || '' }))) : null, this.slug != undefined ? (h("div", { style: {
|
|
77
77
|
color: slugColour,
|
|
@@ -54,9 +54,9 @@ export class BiggiveHeroImage {
|
|
|
54
54
|
// `pre` or `pre-wrap` so that literal whitespace inserted into the rendered output doesn't affect the layout.
|
|
55
55
|
// Assuming that this is needed only for the teaser, and the main title would never contain a line break.
|
|
56
56
|
const teaserLines = this.lineBreakToBr(this.teaser);
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: '00950c5d25067d28ca5609b4bdfad15c674a20f8', class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow, style: this.mainImageShape === 'rectangle' ? { 'background-image': 'url(' + this.mainImage + ')', 'background-size': 'cover' } : {} }, h("div", { key: 'f20acc3184b056476184d71376c3f2facbb0c40b', class: "sleeve" }, h("div", { key: '9084c2529af5ce2222c166732772cf04855f9bc6', class: "content-wrap" }, this.logo !== undefined && this.logo !== null ? (h("div", { class: 'logo image-wrap logo-height-' + this.logoHeight }, h("img", { src: this.logo, alt: this.logoAltText, title: this.logoAltText }))) : h("div", { class: 'logo-space logo-height-' + this.logoHeight }), ((_b = this.logo) === null || _b === void 0 ? void 0 : _b.length) > 0 || ((_c = this.slug) === null || _c === void 0 ? void 0 : _c.length) > 0
|
|
58
58
|
? (h("div", { class: 'slug text-colour-' + this.slugColour }, this.slug))
|
|
59
|
-
: null, h("h1", { key: '
|
|
59
|
+
: null, h("h1", { key: '4101e030c16a5559cd5526c9dc4b4de4abec5d0d', class: mainTitleClasses }, this.mainTitle), h("div", { key: 'd5345f038729ae75025736d2530b2e85246c3e2f', class: teaserClasses }, teaserLines), this.buttonLabel != null && this.buttonUrl != null
|
|
60
60
|
? h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })
|
|
61
61
|
: null), this.mainImageShape === 'triangle' && this.mainImage !== null ? (h("div", { class: "graphic-wrap" }, h("div", { class: "image-wrap", role: "presentation", style: { 'background-image': 'url(' + this.mainImage + ')', 'background-position': this.mainImageAlignHorizontal + ' ' + this.mainImageAlignVertical } }))) : null)));
|
|
62
62
|
}
|
|
@@ -19,7 +19,7 @@ export class BiggiveIconButton {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: 'b45454881d1333f4a939a25ad3df8b6b6b53fa80', class: 'container space-below-' +
|
|
23
23
|
this.spaceBelow +
|
|
24
24
|
' background-colour-' +
|
|
25
25
|
this.backgroundColour +
|
|
@@ -30,7 +30,7 @@ export class BiggiveIconButton {
|
|
|
30
30
|
' rounded-' +
|
|
31
31
|
this.rounded +
|
|
32
32
|
' shadow-' +
|
|
33
|
-
this.shadow }, h("a", { key: '
|
|
33
|
+
this.shadow }, h("a", { key: '360ca2fcd7878f77f693f75aea46356bab79ecd4', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, h("div", { key: '0397c196616539c883d5c253d89f68af7cc56e8a', class: "sleeve", onClick: this.handleButtonClick }, h("div", { key: '37d835a044b45ef95512409c5c0ff8f830b8a1ea', class: 'icon-wrap ' + ' size-' + this.size + ' circle-' + this.circle.toString() }, h("biggive-misc-icon", { key: '1e93357b009a3e3f379f1b92daea7a05717893f1', icon: this.icon })), this.text != '' ? h("div", { class: 'text-wrap text-colour-' + this.textColour + ' text-padding-' + this.backgroundPadding }, this.text) : null, this.arrow ? (h("div", { class: 'arrow-wrap arrow-colour-' + this.arrowColour }, h("svg", { width: "8", height: "12", viewBox: "0 0 8 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.76912 1.0791L5.73828 6.04826L0.769121 11.0174", stroke: "black", "stroke-width": "2" })))) : null))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "biggive-icon-button"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|