@biggive/components 1.0.126 → 1.0.128
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-48d38b8d.entry.js +1 -0
- package/dist/biggive/p-88faca11.js +1 -0
- package/dist/biggive/{p-d413b5f4.js → p-aa4e1a2a.js} +1 -1
- package/dist/biggive/{p-504602da.entry.js → p-badd5542.entry.js} +1 -1
- package/dist/biggive/{p-b4f34aec.entry.js → p-dd174c64.entry.js} +1 -1
- package/dist/biggive/{p-33c7e2c3.entry.js → p-dfc522af.entry.js} +1 -1
- package/dist/cjs/{biggive-back-to-top_21.cjs.entry.js → biggive-back-to-top_24.cjs.entry.js} +133 -75
- package/dist/cjs/biggive.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +1 -1
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +152 -73
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +12 -2
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +1 -1
- package/dist/components/biggive-campaign-card-filter-grid.js +93 -75
- package/dist/components/biggive-campaign-card.js +1 -1
- package/dist/components/biggive-form-field-select-option.js +1 -44
- package/dist/{esm/biggive-form-field-select-option.entry.js → components/biggive-form-field-select-option2.js} +27 -7
- package/dist/components/biggive-form-field-select.js +1 -43
- package/dist/{esm/biggive-form-field-select.entry.js → components/biggive-form-field-select2.js} +27 -7
- package/dist/components/biggive-hero-image.js +2 -2
- package/dist/components/biggive-popup.js +1 -39
- package/dist/{esm/biggive-popup.entry.js → components/biggive-popup2.js} +25 -8
- package/dist/esm/{biggive-back-to-top_21.entry.js → biggive-back-to-top_24.entry.js} +133 -78
- package/dist/esm/biggive-beneficiary-icon.entry.js +2 -2
- package/dist/esm/biggive-category-icon.entry.js +2 -2
- package/dist/esm/biggive-search.entry.js +1 -1
- package/dist/esm/biggive.js +1 -1
- package/dist/esm/{fontawesome-icons-ceecc882.js → fontawesome-icons-ff9155ca.js} +1 -1
- package/dist/esm/{index-6b1d9b0a.js → index-7cfe62c2.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +44 -0
- package/dist/types/components.d.ts +47 -0
- package/hydrate/index.js +69 -77
- package/package.json +1 -1
- package/dist/biggive/p-265a5be4.entry.js +0 -1
- package/dist/biggive/p-648bdc60.entry.js +0 -1
- package/dist/biggive/p-cc38e81b.entry.js +0 -1
- package/dist/biggive/p-cfc3ec2c.entry.js +0 -1
- package/dist/biggive/p-e417ec44.js +0 -1
- package/dist/cjs/biggive-form-field-select-option.cjs.entry.js +0 -30
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +0 -29
- package/dist/cjs/biggive-popup.cjs.entry.js +0 -28
package/dist/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["biggive-back-to-
|
|
13
|
+
return bootstrapLazy([["biggive-back-to-top_24",[[1,"biggive-campaign-card-filter-grid",{"spaceBelow":[2,"space-below"],"intro":[1],"placeholderText":[1,"placeholder-text"],"buttonText":[1,"button-text"],"categoryOptions":[16],"beneficiaryOptions":[16],"locationOptions":[16],"fundingOptions":[16]},[[0,"doSelectChange","doOptionSelectCompletedHandler"]]],[1,"biggive-campaign-card",{"spaceBelow":[2,"space-below"],"campaignType":[1,"campaign-type"],"banner":[1],"campaignTitle":[1,"campaign-title"],"organisationName":[1,"organisation-name"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"donateButtonLabel":[1,"donate-button-label"],"donateButtonUrl":[1,"donate-button-url"],"donateButtonColourScheme":[1,"donate-button-colour-scheme"],"moreInfoButtonLabel":[1,"more-info-button-label"],"moreInfoButtonUrl":[1,"more-info-button-url"],"moreInfoButtonColourScheme":[1,"more-info-button-colour-scheme"]}],[1,"biggive-campaign-highlights",{"spaceBelow":[2,"space-below"],"banner":[1],"campaignTitle":[1,"campaign-title"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"primaryStatIcon":[1,"primary-stat-icon"],"primaryStatText":[1,"primary-stat-text"],"secondaryStatIcon":[1,"secondary-stat-icon"],"secondaryStatText":[1,"secondary-stat-text"]}],[1,"biggive-call-to-action",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"slugSize":[2,"slug-size"],"slugColour":[1,"slug-colour"],"slug":[1],"mainTitleColour":[1,"main-title-colour"],"mainTitleSize":[2,"main-title-size"],"mainTitle":[1,"main-title"],"subtitleSize":[2,"subtitle-size"],"subtitleColour":[1,"subtitle-colour"],"subtitle":[1],"teaserColour":[1,"teaser-colour"],"teaser":[1],"primaryButtonUrl":[1,"primary-button-url"],"primaryButtonLabel":[1,"primary-button-label"],"primaryButtonColourScheme":[1,"primary-button-colour-scheme"],"secondaryButtonUrl":[1,"secondary-button-url"],"secondaryButtonLabel":[1,"secondary-button-label"],"secondaryButtonColourScheme":[1,"secondary-button-colour-scheme"]}],[1,"biggive-footer"],[1,"biggive-hero-image",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"slug":[1],"slugColour":[1,"slug-colour"],"logo":[1],"mainImage":[1,"main-image"],"mainImageAlignHorizontal":[1,"main-image-align-horizontal"],"mainImageAlignVertical":[1,"main-image-align-vertical"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-image-feature",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"imageUrl":[1,"image-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-totalizer",{"spaceBelow":[2,"space-below"],"primaryColour":[1,"primary-colour"],"primaryTextColour":[1,"primary-text-colour"],"secondaryColour":[1,"secondary-colour"],"secondaryTextColour":[1,"secondary-text-colour"],"mainMessage":[1,"main-message"],"tickerItems":[16]}],[1,"biggive-video-feature",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"videoUrl":[1,"video-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}],[1,"biggive-back-to-top"],[1,"biggive-grid",{"spaceBelow":[2,"space-below"],"columnCount":[2,"column-count"],"columnGap":[2,"column-gap"]}],[1,"biggive-header",{"spaceBelow":[2,"space-below"],"logoUrl":[1,"logo-url"]}],[1,"biggive-heading",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"colour":[1],"htmlElement":[1,"html-element"],"size":[2],"align":[1],"text":[1]}],[1,"biggive-page-column"],[1,"biggive-page-columns",{"spaceBelow":[2,"space-below"]}],[1,"biggive-page-section",{"spaceBelow":[2,"space-below"],"sectionStyleTop":[1,"section-style-top"],"sectionStyleBottom":[1,"section-style-bottom"],"colourScheme":[1,"colour-scheme"]}],[0,"biggive-social-icon",{"service":[1],"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"url":[1]}],[1,"biggive-form-field-select",{"selectedValue":[1,"selected-value"],"selectedLabel":[1,"selected-label"],"spaceBelow":[2,"space-below"],"placeholder":[1]},[[0,"doOptionSelect","doOptionSelectCompletedHandler"]]],[1,"biggive-form-field-select-option",{"label":[1],"value":[1],"selectedValue":[32],"selectedLabel":[32]}],[0,"biggive-misc-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"url":[1]}],[1,"biggive-popup",{"open":[64]}],[1,"biggive-totalizer-ticker-item",{"figure":[1],"label":[1]}],[1,"biggive-progress-bar",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"counter":[2]}],[1,"biggive-button",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"label":[1],"url":[1],"fullWidth":[4,"full-width"],"size":[1],"rounded":[4]}]]],["biggive-article-card",[[1,"biggive-article-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundColourHover":[1,"background-colour-hover"],"textColour":[1,"text-colour"],"slug":[1],"date":[1],"mainTitle":[1,"main-title"],"imageUrl":[1,"image-url"],"imageLabel":[1,"image-label"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"]}]]],["biggive-basic-card",[[1,"biggive-basic-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"cardColour":[1,"card-colour"],"textColour":[1,"text-colour"],"mainTitle":[1,"main-title"],"subtitle":[1],"iconColour":[1,"icon-colour"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["biggive-search",[[1,"biggive-search",{"placeholderText":[1,"placeholder-text"],"buttonText":[1,"button-text"],"searchText":[32]}]]],["biggive-beneficiary-icon",[[0,"biggive-beneficiary-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"label":[1],"url":[1]}]]],["biggive-boxed-content",[[1,"biggive-boxed-content",{"spaceBelow":[2,"space-below"],"verticalPadding":[2,"vertical-padding"],"horizontalPadding":[2,"horizontal-padding"],"backgroundColour":[1,"background-colour"],"shadow":[4]}]]],["biggive-branded-image",[[1,"biggive-branded-image",{"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"logoUrl":[1,"logo-url"],"slug":[1]}]]],["biggive-category-icon",[[0,"biggive-category-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"label":[1],"url":[1]}]]],["biggive-form",[[1,"biggive-form"]]],["biggive-formatted-text",[[1,"biggive-formatted-text",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"]}]]],["biggive-icon-group",[[1,"biggive-icon-group",{"spaceBelow":[2,"space-below"],"label":[1]}]]],["biggive-image",[[1,"biggive-image",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"width":[2],"height":[2],"sizeUnit":[1,"size-unit"]}]]],["biggive-nav-group",[[1,"biggive-nav-group",{"inline":[4]}]]],["biggive-nav-item",[[1,"biggive-nav-item",{"url":[1],"label":[1],"iconColour":[1,"icon-colour"]}]]],["biggive-quote",[[1,"biggive-quote",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"quote":[1],"attribution":[1]}]]],["biggive-tab",[[1,"biggive-tab",{"tabTitle":[1,"tab-title"]}]]],["biggive-tabbed-content",[[1,"biggive-tabbed-content",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"]}]]],["biggive-text-input",[[1,"biggive-text-input"]]],["biggive-video",[[1,"biggive-video",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"videoUrl":[1,"video-url"]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,4 +1,24 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
export declare class BiggiveCampaignCardFilterGrid {
|
|
3
|
+
el: any;
|
|
4
|
+
/**
|
|
5
|
+
* This event `doSearchAndFilterUpdate` event is emitted and propogates to the parent
|
|
6
|
+
* component which handles it
|
|
7
|
+
*/
|
|
8
|
+
doSearchAndFilterUpdate: EventEmitter<{
|
|
9
|
+
searchText: string;
|
|
10
|
+
sortBy: string;
|
|
11
|
+
filterCategory: string;
|
|
12
|
+
filterBeneficiary: string;
|
|
13
|
+
filterLocation: string;
|
|
14
|
+
filterFunding: string;
|
|
15
|
+
}>;
|
|
16
|
+
searchText: string;
|
|
17
|
+
sortBy: string;
|
|
18
|
+
filterCategory: string;
|
|
19
|
+
filterBeneficiary: string;
|
|
20
|
+
filterLocation: string;
|
|
21
|
+
filterFunding: string;
|
|
2
22
|
/**
|
|
3
23
|
* Space below component
|
|
4
24
|
*/
|
|
@@ -16,5 +36,29 @@ export declare class BiggiveCampaignCardFilterGrid {
|
|
|
16
36
|
* Defines the text on the search button
|
|
17
37
|
*/
|
|
18
38
|
buttonText: string;
|
|
39
|
+
/**
|
|
40
|
+
* JSON array of category key/values
|
|
41
|
+
*/
|
|
42
|
+
categoryOptions: string[];
|
|
43
|
+
/**
|
|
44
|
+
* JSON array of beneficiary key/values
|
|
45
|
+
*/
|
|
46
|
+
beneficiaryOptions: string[];
|
|
47
|
+
/**
|
|
48
|
+
* JSON array of location key/values
|
|
49
|
+
*/
|
|
50
|
+
locationOptions: string[];
|
|
51
|
+
/**
|
|
52
|
+
* JSON array of funding key/values
|
|
53
|
+
*/
|
|
54
|
+
fundingOptions: string[];
|
|
55
|
+
private getSearchAndFilterObject;
|
|
56
|
+
doOptionSelectCompletedHandler(): void;
|
|
57
|
+
private handleSortByChanged;
|
|
58
|
+
private handleApplyFilterButtonClick;
|
|
59
|
+
private handleSearchButtonPressed;
|
|
60
|
+
private handleSearchTextChanged;
|
|
61
|
+
private handleEnterPressed;
|
|
62
|
+
private handleFilterButtonClick;
|
|
19
63
|
render(): any;
|
|
20
64
|
}
|
|
@@ -341,14 +341,30 @@ export namespace Components {
|
|
|
341
341
|
"spaceBelow": number;
|
|
342
342
|
}
|
|
343
343
|
interface BiggiveCampaignCardFilterGrid {
|
|
344
|
+
/**
|
|
345
|
+
* JSON array of beneficiary key/values
|
|
346
|
+
*/
|
|
347
|
+
"beneficiaryOptions": string[];
|
|
344
348
|
/**
|
|
345
349
|
* Defines the text on the search button
|
|
346
350
|
*/
|
|
347
351
|
"buttonText": string;
|
|
352
|
+
/**
|
|
353
|
+
* JSON array of category key/values
|
|
354
|
+
*/
|
|
355
|
+
"categoryOptions": string[];
|
|
356
|
+
/**
|
|
357
|
+
* JSON array of funding key/values
|
|
358
|
+
*/
|
|
359
|
+
"fundingOptions": string[];
|
|
348
360
|
/**
|
|
349
361
|
* Intro
|
|
350
362
|
*/
|
|
351
363
|
"intro": string;
|
|
364
|
+
/**
|
|
365
|
+
* JSON array of location key/values
|
|
366
|
+
*/
|
|
367
|
+
"locationOptions": string[];
|
|
352
368
|
/**
|
|
353
369
|
* Defines the text displayed as the placeholder in the input field before the user types anything
|
|
354
370
|
*/
|
|
@@ -919,6 +935,10 @@ export namespace Components {
|
|
|
919
935
|
"videoUrl": string;
|
|
920
936
|
}
|
|
921
937
|
}
|
|
938
|
+
export interface BiggiveCampaignCardFilterGridCustomEvent<T> extends CustomEvent<T> {
|
|
939
|
+
detail: T;
|
|
940
|
+
target: HTMLBiggiveCampaignCardFilterGridElement;
|
|
941
|
+
}
|
|
922
942
|
export interface BiggiveFormFieldSelectCustomEvent<T> extends CustomEvent<T> {
|
|
923
943
|
detail: T;
|
|
924
944
|
target: HTMLBiggiveFormFieldSelectElement;
|
|
@@ -1565,14 +1585,41 @@ declare namespace LocalJSX {
|
|
|
1565
1585
|
"spaceBelow"?: number;
|
|
1566
1586
|
}
|
|
1567
1587
|
interface BiggiveCampaignCardFilterGrid {
|
|
1588
|
+
/**
|
|
1589
|
+
* JSON array of beneficiary key/values
|
|
1590
|
+
*/
|
|
1591
|
+
"beneficiaryOptions"?: string[];
|
|
1568
1592
|
/**
|
|
1569
1593
|
* Defines the text on the search button
|
|
1570
1594
|
*/
|
|
1571
1595
|
"buttonText"?: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* JSON array of category key/values
|
|
1598
|
+
*/
|
|
1599
|
+
"categoryOptions"?: string[];
|
|
1600
|
+
/**
|
|
1601
|
+
* JSON array of funding key/values
|
|
1602
|
+
*/
|
|
1603
|
+
"fundingOptions"?: string[];
|
|
1572
1604
|
/**
|
|
1573
1605
|
* Intro
|
|
1574
1606
|
*/
|
|
1575
1607
|
"intro"?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* JSON array of location key/values
|
|
1610
|
+
*/
|
|
1611
|
+
"locationOptions"?: string[];
|
|
1612
|
+
/**
|
|
1613
|
+
* This event `doSearchAndFilterUpdate` event is emitted and propogates to the parent component which handles it
|
|
1614
|
+
*/
|
|
1615
|
+
"onDoSearchAndFilterUpdate"?: (event: BiggiveCampaignCardFilterGridCustomEvent<{
|
|
1616
|
+
searchText: string;
|
|
1617
|
+
sortBy: string;
|
|
1618
|
+
filterCategory: string;
|
|
1619
|
+
filterBeneficiary: string;
|
|
1620
|
+
filterLocation: string;
|
|
1621
|
+
filterFunding: string;
|
|
1622
|
+
}>) => void;
|
|
1576
1623
|
/**
|
|
1577
1624
|
* Defines the text displayed as the placeholder in the input field before the user types anything
|
|
1578
1625
|
*/
|
package/hydrate/index.js
CHANGED
|
@@ -6485,7 +6485,7 @@ class BiggiveCampaignCard {
|
|
|
6485
6485
|
this.moreInfoButtonColourScheme = 'clear-primary';
|
|
6486
6486
|
}
|
|
6487
6487
|
render() {
|
|
6488
|
-
return (hAsync("div", { class: 'container space-below-' + this.spaceBelow.toString() }, hAsync("div", { class: "sleeve" }, this.campaignType !== null ? (hAsync("div", { class: "campaign-type" }, hAsync("span", null, this.campaignType))) : null, this.banner !== null ? hAsync("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }) : hAsync("div", { class: "image-wrap banner" }), hAsync("div", { class: "title-wrap" }, hAsync("h3", null, this.campaignTitle), hAsync("div", { class: "organisation-name" }, "By ", this.organisationName)), hAsync("div", { class: "meta-wrap" }, hAsync("div", { class: "meta-item" }, hAsync("span", { class: "label" }, this.primaryFigureLabel), hAsync("span", { class: "text" }, this.primaryFigureAmount)), hAsync("div", { class: "meta-item" }, hAsync("span", { class: "label" }, this.secondaryFigureLabel), hAsync("span", { class: "text" }, this.secondaryFigureAmount))), hAsync("div", { class: "progress-bar-wrap" }, hAsync("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })), hAsync("div", { class: "button-wrap" }, hAsync("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel }), hAsync("biggive-button", { "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
|
|
6488
|
+
return (hAsync("div", { class: 'container space-below-' + this.spaceBelow.toString() }, hAsync("div", { class: "sleeve" }, this.campaignType !== null ? (hAsync("div", { class: "campaign-type" }, hAsync("span", null, this.campaignType))) : null, this.banner !== null ? (hAsync("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, hAsync("img", { src: this.banner, class: "banner" }))) : (hAsync("div", { class: "image-wrap banner" })), hAsync("div", { class: "title-wrap" }, hAsync("h3", null, this.campaignTitle), hAsync("div", { class: "organisation-name" }, "By ", this.organisationName)), hAsync("div", { class: "meta-wrap" }, hAsync("div", { class: "meta-item" }, hAsync("span", { class: "label" }, this.primaryFigureLabel), hAsync("span", { class: "text" }, this.primaryFigureAmount)), hAsync("div", { class: "meta-item" }, hAsync("span", { class: "label" }, this.secondaryFigureLabel), hAsync("span", { class: "text" }, this.secondaryFigureAmount))), hAsync("div", { class: "progress-bar-wrap" }, hAsync("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })), hAsync("div", { class: "button-wrap" }, hAsync("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel }), hAsync("biggive-button", { "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
|
|
6489
6489
|
}
|
|
6490
6490
|
static get style() { return biggiveCampaignCardCss; }
|
|
6491
6491
|
static get cmpMeta() { return {
|
|
@@ -6517,88 +6517,76 @@ class BiggiveCampaignCard {
|
|
|
6517
6517
|
|
|
6518
6518
|
const biggiveCampaignCardFilterGridCss = "/*!@body*/body.sc-biggive-campaign-card-filter-grid{background-color:#D7D7D7}/*!@h1, h3, h3, h4, h5, h6*/h1.sc-biggive-campaign-card-filter-grid,h3.sc-biggive-campaign-card-filter-grid,h4.sc-biggive-campaign-card-filter-grid,h5.sc-biggive-campaign-card-filter-grid,h6.sc-biggive-campaign-card-filter-grid{margin-bottom:0}/*!@h1, .heading-1*/h1.sc-biggive-campaign-card-filter-grid,.heading-1.sc-biggive-campaign-card-filter-grid{font-size:47px;line-height:60px;font-weight:bold}/*!@h2, .heading-2*/h2.sc-biggive-campaign-card-filter-grid,.heading-2.sc-biggive-campaign-card-filter-grid{font-size:38px;line-height:45px;font-weight:bold}/*!@h3, .heading-3*/h3.sc-biggive-campaign-card-filter-grid,.heading-3.sc-biggive-campaign-card-filter-grid{font-size:25px;line-height:32px;font-weight:bold}/*!@h4, .heading-4*/h4.sc-biggive-campaign-card-filter-grid,.heading-4.sc-biggive-campaign-card-filter-grid{font-size:20px;line-height:24px;font-weight:bold}/*!@h5, .heading-5*/h5.sc-biggive-campaign-card-filter-grid,.heading-5.sc-biggive-campaign-card-filter-grid{font-size:17px;line-height:24px;font-weight:bold}/*!@a*/a.sc-biggive-campaign-card-filter-grid{color:inherit;text-decoration:underline}/*!@a:hover*/a.sc-biggive-campaign-card-filter-grid:hover{text-decoration:none}/*!@.colour-primary*/.colour-primary.sc-biggive-campaign-card-filter-grid{color:#2C089B}/*!@.colour-secondary*/.colour-secondary.sc-biggive-campaign-card-filter-grid{color:#2AF135}/*!@.colour-tertiary*/.colour-tertiary.sc-biggive-campaign-card-filter-grid{color:#FF7272}/*!@.colour-white*/.colour-white.sc-biggive-campaign-card-filter-grid{color:#FFFFFF}/*!@.colour-black*/.colour-black.sc-biggive-campaign-card-filter-grid{color:#000000}/*!@.text-colour-hover-primary:hover,\n.text-colour-primary*/.text-colour-hover-primary.sc-biggive-campaign-card-filter-grid:hover,.text-colour-primary.sc-biggive-campaign-card-filter-grid{color:#2C089B}/*!@.text-colour-hover-secondary:hover,\n.text-colour-secondary*/.text-colour-hover-secondary.sc-biggive-campaign-card-filter-grid:hover,.text-colour-secondary.sc-biggive-campaign-card-filter-grid{color:#2AF135}/*!@.text-colour-hover-tertiary:hover,\n.text-colour-tertiary*/.text-colour-hover-tertiary.sc-biggive-campaign-card-filter-grid:hover,.text-colour-tertiary.sc-biggive-campaign-card-filter-grid{color:#FF7272}/*!@.text-colour-hover-white:hover,\n.text-colour-white*/.text-colour-hover-white.sc-biggive-campaign-card-filter-grid:hover,.text-colour-white.sc-biggive-campaign-card-filter-grid{color:#FFFFFF}/*!@.text-colour-hover-black:hover,\n.text-colour-black*/.text-colour-hover-black.sc-biggive-campaign-card-filter-grid:hover,.text-colour-black.sc-biggive-campaign-card-filter-grid{color:#000000}/*!@.fill-primary*/.fill-primary.sc-biggive-campaign-card-filter-grid{fill:#2C089B}/*!@.fill-secondary*/.fill-secondary.sc-biggive-campaign-card-filter-grid{fill:#2AF135}/*!@.fill-tertiary*/.fill-tertiary.sc-biggive-campaign-card-filter-grid{fill:#FF7272}/*!@.fill-white*/.fill-white.sc-biggive-campaign-card-filter-grid{fill:#FFFFFF}/*!@.fill-black*/.fill-black.sc-biggive-campaign-card-filter-grid{fill:#000000}/*!@.fill-red*/.fill-red.sc-biggive-campaign-card-filter-grid{fill:red}/*!@.background-colour-hover-primary:hover,\n.background-colour-primary*/.background-colour-hover-primary.sc-biggive-campaign-card-filter-grid:hover,.background-colour-primary.sc-biggive-campaign-card-filter-grid{background-color:#2C089B}/*!@.background-colour-hover-secondary:hover,\n.background-colour-secondary*/.background-colour-hover-secondary.sc-biggive-campaign-card-filter-grid:hover,.background-colour-secondary.sc-biggive-campaign-card-filter-grid{background-color:#2AF135}/*!@.background-colour-hover-tertiary:hover,\n.background-colour-tertiary*/.background-colour-hover-tertiary.sc-biggive-campaign-card-filter-grid:hover,.background-colour-tertiary.sc-biggive-campaign-card-filter-grid{background-color:#FF7272}/*!@.background-colour-hover-white:hover,\n.background-colour-white*/.background-colour-hover-white.sc-biggive-campaign-card-filter-grid:hover,.background-colour-white.sc-biggive-campaign-card-filter-grid{background-color:#FFFFFF}/*!@.background-colour-hover-black:hover,\n.background-colour-black*/.background-colour-hover-black.sc-biggive-campaign-card-filter-grid:hover,.background-colour-black.sc-biggive-campaign-card-filter-grid{background-color:#000000}/*!@.input-wrap*/.input-wrap.sc-biggive-campaign-card-filter-grid{display:flex;justify-content:space-between}/*!@.input-text*/.input-text.sc-biggive-campaign-card-filter-grid{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}/*!@.input-text:focus*/.input-text.sc-biggive-campaign-card-filter-grid:focus{outline:0}/*!@.input-text:placeholder*/.input-text.sc-biggive-campaign-card-filter-grid:placeholder{color:#4A4A4A}/*!@.button*/.button.sc-biggive-campaign-card-filter-grid{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}/*!@.button:hover*/.button.sc-biggive-campaign-card-filter-grid:hover{background-color:#FFFFFF;color:#000000}/*!@.button.size-small*/.button.size-small.sc-biggive-campaign-card-filter-grid{font-size:13px;line-height:17px;padding:5px 15px}/*!@.button.button.rounded-true*/.button.button.rounded-true.sc-biggive-campaign-card-filter-grid{border-radius:27.5px}/*!@.button.button.rounded-true.size-small*/.button.button.rounded-true.size-small.sc-biggive-campaign-card-filter-grid{border-radius:20px}/*!@.button-primary*/.button-primary.sc-biggive-campaign-card-filter-grid{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}/*!@.button-primary:hover*/.button-primary.sc-biggive-campaign-card-filter-grid:hover{color:#2C089B;background-color:#FFFFFF}/*!@.button-secondary*/.button-secondary.sc-biggive-campaign-card-filter-grid{color:#2C089B;background-color:#2AF135;border-color:#2AF135}/*!@.button-secondary:hover*/.button-secondary.sc-biggive-campaign-card-filter-grid:hover{background-color:#FFFFFF}/*!@.button-tertiary*/.button-tertiary.sc-biggive-campaign-card-filter-grid{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}/*!@.button-tertiary:hover*/.button-tertiary.sc-biggive-campaign-card-filter-grid:hover{background-color:#FFFFFF}/*!@.button-white*/.button-white.sc-biggive-campaign-card-filter-grid{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}/*!@.button-white:hover*/.button-white.sc-biggive-campaign-card-filter-grid:hover{color:#FFFFFF;background-color:#2C089B}/*!@.button-black*/.button-black.sc-biggive-campaign-card-filter-grid{color:#FFFFFF;background-color:#000000;border-color:#000000}/*!@.button-black:hover*/.button-black.sc-biggive-campaign-card-filter-grid:hover{color:#000000;background-color:#FFFFFF}/*!@.button-clear-primary*/.button-clear-primary.sc-biggive-campaign-card-filter-grid{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-primary:hover*/.button-clear-primary.sc-biggive-campaign-card-filter-grid:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-secondary*/.button-clear-secondary.sc-biggive-campaign-card-filter-grid{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-secondary:hover*/.button-clear-secondary.sc-biggive-campaign-card-filter-grid:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-tertiary*/.button-clear-tertiary.sc-biggive-campaign-card-filter-grid{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-tertiary:hover*/.button-clear-tertiary.sc-biggive-campaign-card-filter-grid:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-white*/.button-clear-white.sc-biggive-campaign-card-filter-grid{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-white:hover*/.button-clear-white.sc-biggive-campaign-card-filter-grid:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}/*!@.button-rounded*/.button-rounded.sc-biggive-campaign-card-filter-grid{border-radius:27.5px}/*!@.button-rounded.size-small*/.button-rounded.size-small.sc-biggive-campaign-card-filter-grid{border-radius:20px}/*!@.progress-bar*/.progress-bar.sc-biggive-campaign-card-filter-grid{display:flex}/*!@.progress-bar .slider*/.progress-bar.sc-biggive-campaign-card-filter-grid .slider.sc-biggive-campaign-card-filter-grid{margin:auto 15px auto 0;position:relative;flex-grow:1}/*!@.progress-bar .slider:before*/.progress-bar.sc-biggive-campaign-card-filter-grid .slider.sc-biggive-campaign-card-filter-grid:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}/*!@.progress-bar .slider .progress*/.progress-bar.sc-biggive-campaign-card-filter-grid .slider.sc-biggive-campaign-card-filter-grid .progress.sc-biggive-campaign-card-filter-grid{position:relative;border-radius:4px;background-color:#000000;height:8px}/*!@.progress-bar .counter*/.progress-bar.sc-biggive-campaign-card-filter-grid .counter.sc-biggive-campaign-card-filter-grid{font-weight:700;color:#000000;font-size:14px;line-height:18px}/*!@.progress-bar-primary .slider .progress*/.progress-bar-primary.sc-biggive-campaign-card-filter-grid .slider.sc-biggive-campaign-card-filter-grid .progress.sc-biggive-campaign-card-filter-grid{background-color:#2C089B}/*!@.progress-bar-primary .counter*/.progress-bar-primary.sc-biggive-campaign-card-filter-grid .counter.sc-biggive-campaign-card-filter-grid{color:#2C089B}/*!@.progress-bar-secondary .slider .progress*/.progress-bar-secondary.sc-biggive-campaign-card-filter-grid .slider.sc-biggive-campaign-card-filter-grid .progress.sc-biggive-campaign-card-filter-grid{background-color:#2AF135}/*!@.progress-bar-secondary .counter*/.progress-bar-secondary.sc-biggive-campaign-card-filter-grid .counter.sc-biggive-campaign-card-filter-grid{color:#2AF135}/*!@.video-wrap*/.video-wrap.sc-biggive-campaign-card-filter-grid{position:relative;padding-bottom:56.25%}/*!@.video-wrap iframe,\n.video-wrap video*/.video-wrap.sc-biggive-campaign-card-filter-grid iframe.sc-biggive-campaign-card-filter-grid,.video-wrap.sc-biggive-campaign-card-filter-grid video.sc-biggive-campaign-card-filter-grid{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}/*!@.image-wrap img*/.image-wrap.sc-biggive-campaign-card-filter-grid img.sc-biggive-campaign-card-filter-grid{width:100%;height:auto}/*!@.align-left*/.align-left.sc-biggive-campaign-card-filter-grid{text-align:left}/*!@.align-right*/.align-right.sc-biggive-campaign-card-filter-grid{text-align:right}/*!@.align-center*/.align-center.sc-biggive-campaign-card-filter-grid{text-align:center}/*!@.align-justify*/.align-justify.sc-biggive-campaign-card-filter-grid{text-align:justify}/*!@.space-below-0*/.space-below-0.sc-biggive-campaign-card-filter-grid{margin-bottom:0}/*!@.space-below-1*/.space-below-1.sc-biggive-campaign-card-filter-grid{margin-bottom:5px}/*!@.space-below-2*/.space-below-2.sc-biggive-campaign-card-filter-grid{margin-bottom:10px}/*!@.space-below-3*/.space-below-3.sc-biggive-campaign-card-filter-grid{margin-bottom:15px}/*!@.space-below-4*/.space-below-4.sc-biggive-campaign-card-filter-grid{margin-bottom:30px}/*!@.space-below-5*/.space-below-5.sc-biggive-campaign-card-filter-grid{margin-bottom:45px}/*!@.space-below-6*/.space-below-6.sc-biggive-campaign-card-filter-grid{margin-bottom:60px}/*!@.space-above-0*/.space-above-0.sc-biggive-campaign-card-filter-grid{margin-top:0}/*!@.space-above-1*/.space-above-1.sc-biggive-campaign-card-filter-grid{margin-top:5px}/*!@.space-above-2*/.space-above-2.sc-biggive-campaign-card-filter-grid{margin-top:10px}/*!@.space-above-3*/.space-above-3.sc-biggive-campaign-card-filter-grid{margin-top:15px}/*!@.space-above-4*/.space-above-4.sc-biggive-campaign-card-filter-grid{margin-top:30px}/*!@.space-above-5*/.space-above-5.sc-biggive-campaign-card-filter-grid{margin-top:45px}/*!@.space-above-6*/.space-above-6.sc-biggive-campaign-card-filter-grid{margin-top:60px}/*!@.horizontal-padding-1*/.horizontal-padding-1.sc-biggive-campaign-card-filter-grid{padding-left:5px;padding-right:5px}/*!@.horizontal-padding-2*/.horizontal-padding-2.sc-biggive-campaign-card-filter-grid{padding-left:10px;padding-right:10px}/*!@.horizontal-padding-3*/.horizontal-padding-3.sc-biggive-campaign-card-filter-grid{padding-left:15px;padding-right:15px}/*!@.horizontal-padding-4*/.horizontal-padding-4.sc-biggive-campaign-card-filter-grid{padding-left:30px;padding-right:30px}/*!@.horizontal-padding-5*/.horizontal-padding-5.sc-biggive-campaign-card-filter-grid{padding-left:45px;padding-right:45px}/*!@.horizontal-padding-6*/.horizontal-padding-6.sc-biggive-campaign-card-filter-grid{padding-left:60px;padding-right:60px}/*!@.vertical-padding-1*/.vertical-padding-1.sc-biggive-campaign-card-filter-grid{padding-top:5px;padding-bottom:5px}/*!@.vertical-padding-2*/.vertical-padding-2.sc-biggive-campaign-card-filter-grid{padding-top:10px;padding-bottom:10px}/*!@.vertical-padding-3*/.vertical-padding-3.sc-biggive-campaign-card-filter-grid{padding-top:15px;padding-bottom:15px}/*!@.vertical-padding-4*/.vertical-padding-4.sc-biggive-campaign-card-filter-grid{padding-top:30px;padding-bottom:30px}/*!@.vertical-padding-5*/.vertical-padding-5.sc-biggive-campaign-card-filter-grid{padding-top:45px;padding-bottom:45px}/*!@.vertical-padding-6*/.vertical-padding-6.sc-biggive-campaign-card-filter-grid{padding-top:60px;padding-bottom:60px}/*!@:host*/.sc-biggive-campaign-card-filter-grid-h{display:content}/*!@.container*/.container.sc-biggive-campaign-card-filter-grid{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}/*!@.container .search-wrap*/.container.sc-biggive-campaign-card-filter-grid .search-wrap.sc-biggive-campaign-card-filter-grid{filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.25));background-color:#FFFFFF;padding:15px 30px;margin-bottom:60px}/*!@.container .search-wrap h4*/.container.sc-biggive-campaign-card-filter-grid .search-wrap.sc-biggive-campaign-card-filter-grid h4.sc-biggive-campaign-card-filter-grid{margin-bottom:15px}/*!@.container .search-wrap .field-wrap*/.container.sc-biggive-campaign-card-filter-grid .search-wrap.sc-biggive-campaign-card-filter-grid .field-wrap.sc-biggive-campaign-card-filter-grid{display:flex;justify-content:space-between}/*!@.container .search-wrap .field-wrap .input-wrap*/.container.sc-biggive-campaign-card-filter-grid .search-wrap.sc-biggive-campaign-card-filter-grid .field-wrap.sc-biggive-campaign-card-filter-grid .input-wrap.sc-biggive-campaign-card-filter-grid{padding-bottom:5px;border-bottom:1px solid #000000;margin-right:30px;flex-grow:1}/*!@.container .search-wrap .field-wrap .input-wrap input*/.container.sc-biggive-campaign-card-filter-grid .search-wrap.sc-biggive-campaign-card-filter-grid .field-wrap.sc-biggive-campaign-card-filter-grid .input-wrap.sc-biggive-campaign-card-filter-grid input.sc-biggive-campaign-card-filter-grid{border:0}/*!@.container .search-wrap .field-wrap button*/.container.sc-biggive-campaign-card-filter-grid .search-wrap.sc-biggive-campaign-card-filter-grid .field-wrap.sc-biggive-campaign-card-filter-grid button.sc-biggive-campaign-card-filter-grid{padding:5px 30px}/*!@.sort-filter-wrap*/.sort-filter-wrap.sc-biggive-campaign-card-filter-grid{display:flex;align-items:flex-end;margin-bottom:30px;text-align:right}/*!@.sort-filter-wrap .sort-wrap*/.sort-filter-wrap.sc-biggive-campaign-card-filter-grid .sort-wrap.sc-biggive-campaign-card-filter-grid{margin-left:auto}/*!@.sort-filter-wrap .filter-wrap*/.sort-filter-wrap.sc-biggive-campaign-card-filter-grid .filter-wrap.sc-biggive-campaign-card-filter-grid{margin-left:15px}/*!@.sort-filter-wrap .filter-wrap .button.filter*/.sort-filter-wrap.sc-biggive-campaign-card-filter-grid .filter-wrap.sc-biggive-campaign-card-filter-grid .button.filter.sc-biggive-campaign-card-filter-grid{padding-left:60px;padding-right:30px}/*!@.sort-filter-wrap .filter-wrap .button.filter .filter-icon*/.sort-filter-wrap.sc-biggive-campaign-card-filter-grid .filter-wrap.sc-biggive-campaign-card-filter-grid .button.filter.sc-biggive-campaign-card-filter-grid .filter-icon.sc-biggive-campaign-card-filter-grid{content:\"\";display:block;position:absolute;left:25px;top:17px;width:13px;height:13px}/*!@.sort-filter-wrap .filter-wrap .button.filter .filter-icon svg*/.sort-filter-wrap.sc-biggive-campaign-card-filter-grid .filter-wrap.sc-biggive-campaign-card-filter-grid .button.filter.sc-biggive-campaign-card-filter-grid .filter-icon.sc-biggive-campaign-card-filter-grid svg.sc-biggive-campaign-card-filter-grid{width:100%;height:auto;vertical-align:top}/*!@.sort-filter-wrap .filter-wrap .button.filter .filter-icon svg:hover*/.sort-filter-wrap.sc-biggive-campaign-card-filter-grid .filter-wrap.sc-biggive-campaign-card-filter-grid .button.filter.sc-biggive-campaign-card-filter-grid .filter-icon.sc-biggive-campaign-card-filter-grid svg.sc-biggive-campaign-card-filter-grid:hover{fill:#2C089B}/*!@.icon*/.icon.sc-biggive-campaign-card-filter-grid{height:1rem;width:2rem;vertical-align:-0.125rem;margin:auto}/*!@.icon > path*/.icon.sc-biggive-campaign-card-filter-grid>path.sc-biggive-campaign-card-filter-grid{fill:#2C089B}";
|
|
6519
6519
|
|
|
6520
|
-
// import { faMagnifyingGlass } from '@fortawesome/pro-solid-svg-icons';
|
|
6521
6520
|
class BiggiveCampaignCardFilterGrid {
|
|
6522
6521
|
constructor(hostRef) {
|
|
6523
6522
|
registerInstance(this, hostRef);
|
|
6523
|
+
this.doSearchAndFilterUpdate = createEvent(this, "doSearchAndFilterUpdate", 7);
|
|
6524
|
+
this.searchText = null;
|
|
6525
|
+
this.sortBy = null;
|
|
6526
|
+
this.filterCategory = null;
|
|
6527
|
+
this.filterBeneficiary = null;
|
|
6528
|
+
this.filterLocation = null;
|
|
6529
|
+
this.filterFunding = null;
|
|
6530
|
+
this.handleSortByChanged = (event) => {
|
|
6531
|
+
this.sortBy = event.target.value;
|
|
6532
|
+
this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
6533
|
+
};
|
|
6534
|
+
this.handleApplyFilterButtonClick = () => {
|
|
6535
|
+
this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
6536
|
+
};
|
|
6537
|
+
this.handleSearchButtonPressed = () => {
|
|
6538
|
+
this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
6539
|
+
};
|
|
6540
|
+
this.handleSearchTextChanged = (event) => {
|
|
6541
|
+
this.searchText = event.target.value;
|
|
6542
|
+
};
|
|
6543
|
+
this.handleEnterPressed = (ev) => {
|
|
6544
|
+
if (ev.key === 'Enter') {
|
|
6545
|
+
this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
6546
|
+
}
|
|
6547
|
+
};
|
|
6548
|
+
this.handleFilterButtonClick = () => {
|
|
6549
|
+
this.el.shadowRoot.getElementById('filter-popup').open();
|
|
6550
|
+
};
|
|
6524
6551
|
this.spaceBelow = 0;
|
|
6525
6552
|
this.intro = 'Find a charity or project';
|
|
6526
6553
|
this.placeholderText = 'Search';
|
|
6527
6554
|
this.buttonText = 'Search';
|
|
6555
|
+
this.categoryOptions = [];
|
|
6556
|
+
this.beneficiaryOptions = [];
|
|
6557
|
+
this.locationOptions = [];
|
|
6558
|
+
this.fundingOptions = [];
|
|
6559
|
+
}
|
|
6560
|
+
getSearchAndFilterObject() {
|
|
6561
|
+
const event = {
|
|
6562
|
+
searchText: this.searchText,
|
|
6563
|
+
sortBy: this.sortBy,
|
|
6564
|
+
filterCategory: this.filterCategory,
|
|
6565
|
+
filterBeneficiary: this.filterBeneficiary,
|
|
6566
|
+
filterFunding: this.filterFunding,
|
|
6567
|
+
filterLocation: this.filterLocation,
|
|
6568
|
+
};
|
|
6569
|
+
return event;
|
|
6570
|
+
}
|
|
6571
|
+
doOptionSelectCompletedHandler() {
|
|
6572
|
+
this.sortBy = this.el.shadowRoot.getElementById('sort-by').selectedValue;
|
|
6573
|
+
this.filterCategory = this.el.shadowRoot.getElementById('categories').selectedValue;
|
|
6574
|
+
this.filterBeneficiary = this.el.shadowRoot.getElementById('beneficiaries').selectedValue;
|
|
6575
|
+
this.filterLocation = this.el.shadowRoot.getElementById('locations').selectedValue;
|
|
6576
|
+
this.filterFunding = this.el.shadowRoot.getElementById('funding').selectedValue;
|
|
6528
6577
|
}
|
|
6529
|
-
// /**
|
|
6530
|
-
// * JSON array of category key/values
|
|
6531
|
-
// */
|
|
6532
|
-
// @Prop() categoryOptions: string[] = [];
|
|
6533
|
-
// /**
|
|
6534
|
-
// * JSON array of beneficiary key/values
|
|
6535
|
-
// */
|
|
6536
|
-
// @Prop() beneficiaryOptions: string[] = [];
|
|
6537
|
-
// /**
|
|
6538
|
-
// * JSON array of location key/values
|
|
6539
|
-
// */
|
|
6540
|
-
// @Prop() locationOptions: string[] = [];
|
|
6541
|
-
// /**
|
|
6542
|
-
// * JSON array of funding key/values
|
|
6543
|
-
// */
|
|
6544
|
-
// @Prop() fundingOptions: string[] = [];
|
|
6545
|
-
// private getSearchAndFilterObject(): {
|
|
6546
|
-
// searchText: string;
|
|
6547
|
-
// sortBy: string;
|
|
6548
|
-
// filterCategory: string;
|
|
6549
|
-
// filterBeneficiary: string;
|
|
6550
|
-
// filterLocation: string;
|
|
6551
|
-
// filterFunding: string;
|
|
6552
|
-
// } {
|
|
6553
|
-
// const event: {
|
|
6554
|
-
// searchText: string;
|
|
6555
|
-
// sortBy: string;
|
|
6556
|
-
// filterCategory: string;
|
|
6557
|
-
// filterBeneficiary: string;
|
|
6558
|
-
// filterLocation: string;
|
|
6559
|
-
// filterFunding: string;
|
|
6560
|
-
// } = {
|
|
6561
|
-
// searchText: this.searchText,
|
|
6562
|
-
// sortBy: this.sortBy,
|
|
6563
|
-
// filterCategory: this.filterCategory,
|
|
6564
|
-
// filterBeneficiary: this.filterBeneficiary,
|
|
6565
|
-
// filterFunding: this.filterFunding,
|
|
6566
|
-
// filterLocation: this.filterLocation,
|
|
6567
|
-
// };
|
|
6568
|
-
// return event;
|
|
6569
|
-
// }
|
|
6570
|
-
// @Listen('doSelectChange')
|
|
6571
|
-
// doOptionSelectCompletedHandler() {
|
|
6572
|
-
// this.sortBy = this.el.shadowRoot.getElementById('sort-by').selectedValue;
|
|
6573
|
-
// this.filterCategory = this.el.shadowRoot.getElementById('categories').selectedValue;
|
|
6574
|
-
// this.filterBeneficiary = this.el.shadowRoot.getElementById('beneficiaries').selectedValue;
|
|
6575
|
-
// this.filterLocation = this.el.shadowRoot.getElementById('locations').selectedValue;
|
|
6576
|
-
// this.filterFunding = this.el.shadowRoot.getElementById('funding').selectedValue;
|
|
6577
|
-
// }
|
|
6578
|
-
// private handleSortByChanged = (event: any) => {
|
|
6579
|
-
// this.sortBy = event.target.value;
|
|
6580
|
-
// this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
6581
|
-
// };
|
|
6582
|
-
// private handleApplyFilterButtonClick = () => {
|
|
6583
|
-
// this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
6584
|
-
// };
|
|
6585
|
-
// private handleSearchButtonPressed = () => {
|
|
6586
|
-
// this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
6587
|
-
// };
|
|
6588
|
-
// private handleSearchTextChanged = (event: any) => {
|
|
6589
|
-
// this.searchText = event.target.value;
|
|
6590
|
-
// };
|
|
6591
|
-
// private handleEnterPressed = (ev: KeyboardEvent) => {
|
|
6592
|
-
// if (ev.key === 'Enter') {
|
|
6593
|
-
// this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
6594
|
-
// }
|
|
6595
|
-
// };
|
|
6596
|
-
// private handleFilterButtonClick = () => {
|
|
6597
|
-
// this.el.shadowRoot.getElementById('filter-popup').open();
|
|
6598
|
-
// };
|
|
6599
6578
|
render() {
|
|
6600
|
-
return (hAsync("div", { class: 'container space-below-' + this.spaceBelow }, hAsync("div", { class: "sleeve" }, hAsync("div", { class: "
|
|
6579
|
+
return (hAsync("div", { class: 'container space-below-' + this.spaceBelow }, hAsync("div", { class: "sleeve" }, hAsync("div", { class: "search-wrap" }, hAsync("h4", null, this.intro), hAsync("div", { class: "field-wrap" }, hAsync("div", { class: "input-wrap" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, hAsync("path", { d: faMagnifyingGlass.icon[4].toString() })), hAsync("input", { type: "text", value: this.searchText, class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), hAsync("biggive-button", { onClick: this.handleSearchButtonPressed, label: this.buttonText }))), hAsync("div", { class: "sort-filter-wrap" }, hAsync("div", { class: "sort-wrap" }, hAsync("biggive-form-field-select", { placeholder: "Sort by", id: "sort-by", onDoSelectChange: this.handleSortByChanged }, hAsync("biggive-form-field-select-option", { value: "amountRaised", label: "Most raised" }), hAsync("biggive-form-field-select-option", { value: "matchFundsRemaining", label: "Match funds remaining" }))), hAsync("div", { class: "filter-wrap" }, hAsync("biggive-button", { class: "filter", onClick: this.handleFilterButtonClick, label: "Filters" }), hAsync("biggive-popup", { id: "filter-popup" }, hAsync("h4", { class: "space-above-0 space-below-3 colour-primary" }, "Filters"), hAsync("biggive-form-field-select", { placeholder: "Category", id: "categories", "space-below": "2" }, this.categoryOptions.length === 0
|
|
6580
|
+
? undefined
|
|
6581
|
+
: this.categoryOptions.map(option => hAsync("biggive-form-field-select-option", { value: option, label: option }))), hAsync("biggive-form-field-select", { placeholder: "Beneficiary", id: "beneficiaries", "space-below": "2" }, this.beneficiaryOptions.length === 0
|
|
6582
|
+
? undefined
|
|
6583
|
+
: this.beneficiaryOptions.map(option => hAsync("biggive-form-field-select-option", { value: option, label: option }))), hAsync("biggive-form-field-select", { placeholder: "Location", id: "locations", "space-below": "2" }, this.locationOptions.length === 0
|
|
6584
|
+
? undefined
|
|
6585
|
+
: this.locationOptions.map(option => hAsync("biggive-form-field-select-option", { value: option, label: option }))), hAsync("biggive-form-field-select", { placeholder: "Funding", id: "funding", "space-below": "2" }, this.fundingOptions.length === 0
|
|
6586
|
+
? undefined
|
|
6587
|
+
: this.fundingOptions.map(option => hAsync("biggive-form-field-select-option", { value: option, label: option }))), hAsync("div", { class: "align-right" }, hAsync("biggive-button", { label: "Apply filters", onClick: this.handleApplyFilterButtonClick }))))), hAsync("div", { class: "campaign-grid" }, hAsync("slot", { name: "campaign-grid" })))));
|
|
6601
6588
|
}
|
|
6589
|
+
get el() { return getElement(this); }
|
|
6602
6590
|
static get style() { return biggiveCampaignCardFilterGridCss; }
|
|
6603
6591
|
static get cmpMeta() { return {
|
|
6604
6592
|
"$flags$": 9,
|
|
@@ -6607,9 +6595,13 @@ class BiggiveCampaignCardFilterGrid {
|
|
|
6607
6595
|
"spaceBelow": [2, "space-below"],
|
|
6608
6596
|
"intro": [1],
|
|
6609
6597
|
"placeholderText": [1, "placeholder-text"],
|
|
6610
|
-
"buttonText": [1, "button-text"]
|
|
6598
|
+
"buttonText": [1, "button-text"],
|
|
6599
|
+
"categoryOptions": [16],
|
|
6600
|
+
"beneficiaryOptions": [16],
|
|
6601
|
+
"locationOptions": [16],
|
|
6602
|
+
"fundingOptions": [16]
|
|
6611
6603
|
},
|
|
6612
|
-
"$listeners$":
|
|
6604
|
+
"$listeners$": [[0, "doSelectChange", "doOptionSelectCompletedHandler"]],
|
|
6613
6605
|
"$lazyBundleId$": "-",
|
|
6614
6606
|
"$attrsToReflect$": []
|
|
6615
6607
|
}; }
|
|
@@ -6954,7 +6946,7 @@ class BiggiveHeading {
|
|
|
6954
6946
|
}; }
|
|
6955
6947
|
}
|
|
6956
6948
|
|
|
6957
|
-
const biggiveHeroImageCss = "/*!@body*/body.sc-biggive-hero-image{background-color:#D7D7D7}/*!@h1, h3, h3, h4, h5, h6*/h1.sc-biggive-hero-image,h3.sc-biggive-hero-image,h4.sc-biggive-hero-image,h5.sc-biggive-hero-image,h6.sc-biggive-hero-image{margin-bottom:0}/*!@h1, .heading-1*/h1.sc-biggive-hero-image,.heading-1.sc-biggive-hero-image{font-size:47px;line-height:60px;font-weight:bold}/*!@h2, .heading-2*/h2.sc-biggive-hero-image,.heading-2.sc-biggive-hero-image{font-size:38px;line-height:45px;font-weight:bold}/*!@h3, .heading-3*/h3.sc-biggive-hero-image,.heading-3.sc-biggive-hero-image{font-size:25px;line-height:32px;font-weight:bold}/*!@h4, .heading-4*/h4.sc-biggive-hero-image,.heading-4.sc-biggive-hero-image{font-size:20px;line-height:24px;font-weight:bold}/*!@h5, .heading-5*/h5.sc-biggive-hero-image,.heading-5.sc-biggive-hero-image{font-size:17px;line-height:24px;font-weight:bold}/*!@a*/a.sc-biggive-hero-image{color:inherit;text-decoration:underline}/*!@a:hover*/a.sc-biggive-hero-image:hover{text-decoration:none}/*!@.colour-primary*/.colour-primary.sc-biggive-hero-image{color:#2C089B}/*!@.colour-secondary*/.colour-secondary.sc-biggive-hero-image{color:#2AF135}/*!@.colour-tertiary*/.colour-tertiary.sc-biggive-hero-image{color:#FF7272}/*!@.colour-white*/.colour-white.sc-biggive-hero-image{color:#FFFFFF}/*!@.colour-black*/.colour-black.sc-biggive-hero-image{color:#000000}/*!@.text-colour-hover-primary:hover,\n.text-colour-primary*/.text-colour-hover-primary.sc-biggive-hero-image:hover,.text-colour-primary.sc-biggive-hero-image{color:#2C089B}/*!@.text-colour-hover-secondary:hover,\n.text-colour-secondary*/.text-colour-hover-secondary.sc-biggive-hero-image:hover,.text-colour-secondary.sc-biggive-hero-image{color:#2AF135}/*!@.text-colour-hover-tertiary:hover,\n.text-colour-tertiary*/.text-colour-hover-tertiary.sc-biggive-hero-image:hover,.text-colour-tertiary.sc-biggive-hero-image{color:#FF7272}/*!@.text-colour-hover-white:hover,\n.text-colour-white*/.text-colour-hover-white.sc-biggive-hero-image:hover,.text-colour-white.sc-biggive-hero-image{color:#FFFFFF}/*!@.text-colour-hover-black:hover,\n.text-colour-black*/.text-colour-hover-black.sc-biggive-hero-image:hover,.text-colour-black.sc-biggive-hero-image{color:#000000}/*!@.fill-primary*/.fill-primary.sc-biggive-hero-image{fill:#2C089B}/*!@.fill-secondary*/.fill-secondary.sc-biggive-hero-image{fill:#2AF135}/*!@.fill-tertiary*/.fill-tertiary.sc-biggive-hero-image{fill:#FF7272}/*!@.fill-white*/.fill-white.sc-biggive-hero-image{fill:#FFFFFF}/*!@.fill-black*/.fill-black.sc-biggive-hero-image{fill:#000000}/*!@.fill-red*/.fill-red.sc-biggive-hero-image{fill:red}/*!@.background-colour-hover-primary:hover,\n.background-colour-primary*/.background-colour-hover-primary.sc-biggive-hero-image:hover,.background-colour-primary.sc-biggive-hero-image{background-color:#2C089B}/*!@.background-colour-hover-secondary:hover,\n.background-colour-secondary*/.background-colour-hover-secondary.sc-biggive-hero-image:hover,.background-colour-secondary.sc-biggive-hero-image{background-color:#2AF135}/*!@.background-colour-hover-tertiary:hover,\n.background-colour-tertiary*/.background-colour-hover-tertiary.sc-biggive-hero-image:hover,.background-colour-tertiary.sc-biggive-hero-image{background-color:#FF7272}/*!@.background-colour-hover-white:hover,\n.background-colour-white*/.background-colour-hover-white.sc-biggive-hero-image:hover,.background-colour-white.sc-biggive-hero-image{background-color:#FFFFFF}/*!@.background-colour-hover-black:hover,\n.background-colour-black*/.background-colour-hover-black.sc-biggive-hero-image:hover,.background-colour-black.sc-biggive-hero-image{background-color:#000000}/*!@.input-wrap*/.input-wrap.sc-biggive-hero-image{display:flex;justify-content:space-between}/*!@.input-text*/.input-text.sc-biggive-hero-image{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}/*!@.input-text:focus*/.input-text.sc-biggive-hero-image:focus{outline:0}/*!@.input-text:placeholder*/.input-text.sc-biggive-hero-image:placeholder{color:#4A4A4A}/*!@.button*/.button.sc-biggive-hero-image{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}/*!@.button:hover*/.button.sc-biggive-hero-image:hover{background-color:#FFFFFF;color:#000000}/*!@.button.size-small*/.button.size-small.sc-biggive-hero-image{font-size:13px;line-height:17px;padding:5px 15px}/*!@.button.button.rounded-true*/.button.button.rounded-true.sc-biggive-hero-image{border-radius:27.5px}/*!@.button.button.rounded-true.size-small*/.button.button.rounded-true.size-small.sc-biggive-hero-image{border-radius:20px}/*!@.button-primary*/.button-primary.sc-biggive-hero-image{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}/*!@.button-primary:hover*/.button-primary.sc-biggive-hero-image:hover{color:#2C089B;background-color:#FFFFFF}/*!@.button-secondary*/.button-secondary.sc-biggive-hero-image{color:#2C089B;background-color:#2AF135;border-color:#2AF135}/*!@.button-secondary:hover*/.button-secondary.sc-biggive-hero-image:hover{background-color:#FFFFFF}/*!@.button-tertiary*/.button-tertiary.sc-biggive-hero-image{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}/*!@.button-tertiary:hover*/.button-tertiary.sc-biggive-hero-image:hover{background-color:#FFFFFF}/*!@.button-white*/.button-white.sc-biggive-hero-image{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}/*!@.button-white:hover*/.button-white.sc-biggive-hero-image:hover{color:#FFFFFF;background-color:#2C089B}/*!@.button-black*/.button-black.sc-biggive-hero-image{color:#FFFFFF;background-color:#000000;border-color:#000000}/*!@.button-black:hover*/.button-black.sc-biggive-hero-image:hover{color:#000000;background-color:#FFFFFF}/*!@.button-clear-primary*/.button-clear-primary.sc-biggive-hero-image{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-primary:hover*/.button-clear-primary.sc-biggive-hero-image:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-secondary*/.button-clear-secondary.sc-biggive-hero-image{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-secondary:hover*/.button-clear-secondary.sc-biggive-hero-image:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-tertiary*/.button-clear-tertiary.sc-biggive-hero-image{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-tertiary:hover*/.button-clear-tertiary.sc-biggive-hero-image:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-white*/.button-clear-white.sc-biggive-hero-image{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-white:hover*/.button-clear-white.sc-biggive-hero-image:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}/*!@.button-rounded*/.button-rounded.sc-biggive-hero-image{border-radius:27.5px}/*!@.button-rounded.size-small*/.button-rounded.size-small.sc-biggive-hero-image{border-radius:20px}/*!@.progress-bar*/.progress-bar.sc-biggive-hero-image{display:flex}/*!@.progress-bar .slider*/.progress-bar.sc-biggive-hero-image .slider.sc-biggive-hero-image{margin:auto 15px auto 0;position:relative;flex-grow:1}/*!@.progress-bar .slider:before*/.progress-bar.sc-biggive-hero-image .slider.sc-biggive-hero-image:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}/*!@.progress-bar .slider .progress*/.progress-bar.sc-biggive-hero-image .slider.sc-biggive-hero-image .progress.sc-biggive-hero-image{position:relative;border-radius:4px;background-color:#000000;height:8px}/*!@.progress-bar .counter*/.progress-bar.sc-biggive-hero-image .counter.sc-biggive-hero-image{font-weight:700;color:#000000;font-size:14px;line-height:18px}/*!@.progress-bar-primary .slider .progress*/.progress-bar-primary.sc-biggive-hero-image .slider.sc-biggive-hero-image .progress.sc-biggive-hero-image{background-color:#2C089B}/*!@.progress-bar-primary .counter*/.progress-bar-primary.sc-biggive-hero-image .counter.sc-biggive-hero-image{color:#2C089B}/*!@.progress-bar-secondary .slider .progress*/.progress-bar-secondary.sc-biggive-hero-image .slider.sc-biggive-hero-image .progress.sc-biggive-hero-image{background-color:#2AF135}/*!@.progress-bar-secondary .counter*/.progress-bar-secondary.sc-biggive-hero-image .counter.sc-biggive-hero-image{color:#2AF135}/*!@.video-wrap*/.video-wrap.sc-biggive-hero-image{position:relative;padding-bottom:56.25%}/*!@.video-wrap iframe,\n.video-wrap video*/.video-wrap.sc-biggive-hero-image iframe.sc-biggive-hero-image,.video-wrap.sc-biggive-hero-image video.sc-biggive-hero-image{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}/*!@.image-wrap img*/.image-wrap.sc-biggive-hero-image img.sc-biggive-hero-image{width:100%;height:auto}/*!@.align-left*/.align-left.sc-biggive-hero-image{text-align:left}/*!@.align-right*/.align-right.sc-biggive-hero-image{text-align:right}/*!@.align-center*/.align-center.sc-biggive-hero-image{text-align:center}/*!@.align-justify*/.align-justify.sc-biggive-hero-image{text-align:justify}/*!@.space-below-0*/.space-below-0.sc-biggive-hero-image{margin-bottom:0}/*!@.space-below-1*/.space-below-1.sc-biggive-hero-image{margin-bottom:5px}/*!@.space-below-2*/.space-below-2.sc-biggive-hero-image{margin-bottom:10px}/*!@.space-below-3*/.space-below-3.sc-biggive-hero-image{margin-bottom:15px}/*!@.space-below-4*/.space-below-4.sc-biggive-hero-image{margin-bottom:30px}/*!@.space-below-5*/.space-below-5.sc-biggive-hero-image{margin-bottom:45px}/*!@.space-below-6*/.space-below-6.sc-biggive-hero-image{margin-bottom:60px}/*!@.space-above-0*/.space-above-0.sc-biggive-hero-image{margin-top:0}/*!@.space-above-1*/.space-above-1.sc-biggive-hero-image{margin-top:5px}/*!@.space-above-2*/.space-above-2.sc-biggive-hero-image{margin-top:10px}/*!@.space-above-3*/.space-above-3.sc-biggive-hero-image{margin-top:15px}/*!@.space-above-4*/.space-above-4.sc-biggive-hero-image{margin-top:30px}/*!@.space-above-5*/.space-above-5.sc-biggive-hero-image{margin-top:45px}/*!@.space-above-6*/.space-above-6.sc-biggive-hero-image{margin-top:60px}/*!@.horizontal-padding-1*/.horizontal-padding-1.sc-biggive-hero-image{padding-left:5px;padding-right:5px}/*!@.horizontal-padding-2*/.horizontal-padding-2.sc-biggive-hero-image{padding-left:10px;padding-right:10px}/*!@.horizontal-padding-3*/.horizontal-padding-3.sc-biggive-hero-image{padding-left:15px;padding-right:15px}/*!@.horizontal-padding-4*/.horizontal-padding-4.sc-biggive-hero-image{padding-left:30px;padding-right:30px}/*!@.horizontal-padding-5*/.horizontal-padding-5.sc-biggive-hero-image{padding-left:45px;padding-right:45px}/*!@.horizontal-padding-6*/.horizontal-padding-6.sc-biggive-hero-image{padding-left:60px;padding-right:60px}/*!@.vertical-padding-1*/.vertical-padding-1.sc-biggive-hero-image{padding-top:5px;padding-bottom:5px}/*!@.vertical-padding-2*/.vertical-padding-2.sc-biggive-hero-image{padding-top:10px;padding-bottom:10px}/*!@.vertical-padding-3*/.vertical-padding-3.sc-biggive-hero-image{padding-top:15px;padding-bottom:15px}/*!@.vertical-padding-4*/.vertical-padding-4.sc-biggive-hero-image{padding-top:30px;padding-bottom:30px}/*!@.vertical-padding-5*/.vertical-padding-5.sc-biggive-hero-image{padding-top:45px;padding-bottom:45px}/*!@.vertical-padding-6*/.vertical-padding-6.sc-biggive-hero-image{padding-top:60px;padding-bottom:60px}/*!@:host*/.sc-biggive-hero-image-h{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}/*!@.container*/.container.sc-biggive-hero-image{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;overflow:hidden;position:relative;margin-bottom:30px}/*!@.container.colour-scheme-primary*/.container.colour-scheme-primary.sc-biggive-hero-image{color:#2C089B}/*!@.container.colour-scheme-secondary*/.container.colour-scheme-secondary.sc-biggive-hero-image{color:#2AF135}/*!@.container.colour-scheme-tertiary*/.container.colour-scheme-tertiary.sc-biggive-hero-image{color:#FF7272}/*!@.container.colour-scheme-white*/.container.colour-scheme-white.sc-biggive-hero-image{color:#FFFFFF}/*!@.container.colour-scheme-black*/.container.colour-scheme-black.sc-biggive-hero-image{color:#000000}/*!@.container .sleeve*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image{display:flex;justify-content:space-between;max-width:1200px;margin-left:auto;margin-right:auto}/*!@.container .content-wrap*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image{width:40%;position:relative;z-index:1;white-space:pre-wrap;padding:180px 60px 60px 0}/*!@.container .content-wrap .logo*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .logo.sc-biggive-hero-image{height:75px;margin-bottom:30px;background-size:contain;background-repeat:no-repeat;background-position:left center}/*!@.container .content-wrap .logo img*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .logo.sc-biggive-hero-image img.sc-biggive-hero-image{display:none}/*!@.container .content-wrap .slug*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .slug.sc-biggive-hero-image{font-size:20px;line-height:24px;font-weight:bold;margin:0;padding:0}/*!@.container .content-wrap h1*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image h1.sc-biggive-hero-image{font-size:47px;line-height:60px;font-weight:bold;margin:0 0 15px 0;padding:0}/*!@.container .content-wrap .teaser*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .teaser.sc-biggive-hero-image{margin:0 0 45px 0;padding:0}/*!@.container .graphic-wrap*/.container.sc-biggive-hero-image .graphic-wrap.sc-biggive-hero-image{position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#F1F1F1;margin-left:20vw;clip-path:polygon(0 0, 100% 0, 100% 100%)}/*!@.container .graphic-wrap .image-wrap*/.container.sc-biggive-hero-image .graphic-wrap.sc-biggive-hero-image .image-wrap.sc-biggive-hero-image{position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-size:cover}/*!@.container .graphic-wrap .image-wrap img*/.container.sc-biggive-hero-image .graphic-wrap.sc-biggive-hero-image .image-wrap.sc-biggive-hero-image img.sc-biggive-hero-image{display:none}@media screen and (max-width: 768px){/*!@.container .sleeve*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image{flex-wrap:wrap}/*!@.container .sleeve .content-wrap*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image{width:100%;padding:25vw 15px 15px 15px}/*!@.container .sleeve .graphic-wrap*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image .graphic-wrap.sc-biggive-hero-image{margin-left:0;bottom:auto;padding-bottom:50%}}@media screen and (max-width: 1225px) and (min-width: 768px){/*!@.container .sleeve .content-wrap*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image{padding-left:60px}}";
|
|
6949
|
+
const biggiveHeroImageCss = "/*!@body*/body.sc-biggive-hero-image{background-color:#D7D7D7}/*!@h1, h3, h3, h4, h5, h6*/h1.sc-biggive-hero-image,h3.sc-biggive-hero-image,h4.sc-biggive-hero-image,h5.sc-biggive-hero-image,h6.sc-biggive-hero-image{margin-bottom:0}/*!@h1, .heading-1*/h1.sc-biggive-hero-image,.heading-1.sc-biggive-hero-image{font-size:47px;line-height:60px;font-weight:bold}/*!@h2, .heading-2*/h2.sc-biggive-hero-image,.heading-2.sc-biggive-hero-image{font-size:38px;line-height:45px;font-weight:bold}/*!@h3, .heading-3*/h3.sc-biggive-hero-image,.heading-3.sc-biggive-hero-image{font-size:25px;line-height:32px;font-weight:bold}/*!@h4, .heading-4*/h4.sc-biggive-hero-image,.heading-4.sc-biggive-hero-image{font-size:20px;line-height:24px;font-weight:bold}/*!@h5, .heading-5*/h5.sc-biggive-hero-image,.heading-5.sc-biggive-hero-image{font-size:17px;line-height:24px;font-weight:bold}/*!@a*/a.sc-biggive-hero-image{color:inherit;text-decoration:underline}/*!@a:hover*/a.sc-biggive-hero-image:hover{text-decoration:none}/*!@.colour-primary*/.colour-primary.sc-biggive-hero-image{color:#2C089B}/*!@.colour-secondary*/.colour-secondary.sc-biggive-hero-image{color:#2AF135}/*!@.colour-tertiary*/.colour-tertiary.sc-biggive-hero-image{color:#FF7272}/*!@.colour-white*/.colour-white.sc-biggive-hero-image{color:#FFFFFF}/*!@.colour-black*/.colour-black.sc-biggive-hero-image{color:#000000}/*!@.text-colour-hover-primary:hover,\n.text-colour-primary*/.text-colour-hover-primary.sc-biggive-hero-image:hover,.text-colour-primary.sc-biggive-hero-image{color:#2C089B}/*!@.text-colour-hover-secondary:hover,\n.text-colour-secondary*/.text-colour-hover-secondary.sc-biggive-hero-image:hover,.text-colour-secondary.sc-biggive-hero-image{color:#2AF135}/*!@.text-colour-hover-tertiary:hover,\n.text-colour-tertiary*/.text-colour-hover-tertiary.sc-biggive-hero-image:hover,.text-colour-tertiary.sc-biggive-hero-image{color:#FF7272}/*!@.text-colour-hover-white:hover,\n.text-colour-white*/.text-colour-hover-white.sc-biggive-hero-image:hover,.text-colour-white.sc-biggive-hero-image{color:#FFFFFF}/*!@.text-colour-hover-black:hover,\n.text-colour-black*/.text-colour-hover-black.sc-biggive-hero-image:hover,.text-colour-black.sc-biggive-hero-image{color:#000000}/*!@.fill-primary*/.fill-primary.sc-biggive-hero-image{fill:#2C089B}/*!@.fill-secondary*/.fill-secondary.sc-biggive-hero-image{fill:#2AF135}/*!@.fill-tertiary*/.fill-tertiary.sc-biggive-hero-image{fill:#FF7272}/*!@.fill-white*/.fill-white.sc-biggive-hero-image{fill:#FFFFFF}/*!@.fill-black*/.fill-black.sc-biggive-hero-image{fill:#000000}/*!@.fill-red*/.fill-red.sc-biggive-hero-image{fill:red}/*!@.background-colour-hover-primary:hover,\n.background-colour-primary*/.background-colour-hover-primary.sc-biggive-hero-image:hover,.background-colour-primary.sc-biggive-hero-image{background-color:#2C089B}/*!@.background-colour-hover-secondary:hover,\n.background-colour-secondary*/.background-colour-hover-secondary.sc-biggive-hero-image:hover,.background-colour-secondary.sc-biggive-hero-image{background-color:#2AF135}/*!@.background-colour-hover-tertiary:hover,\n.background-colour-tertiary*/.background-colour-hover-tertiary.sc-biggive-hero-image:hover,.background-colour-tertiary.sc-biggive-hero-image{background-color:#FF7272}/*!@.background-colour-hover-white:hover,\n.background-colour-white*/.background-colour-hover-white.sc-biggive-hero-image:hover,.background-colour-white.sc-biggive-hero-image{background-color:#FFFFFF}/*!@.background-colour-hover-black:hover,\n.background-colour-black*/.background-colour-hover-black.sc-biggive-hero-image:hover,.background-colour-black.sc-biggive-hero-image{background-color:#000000}/*!@.input-wrap*/.input-wrap.sc-biggive-hero-image{display:flex;justify-content:space-between}/*!@.input-text*/.input-text.sc-biggive-hero-image{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}/*!@.input-text:focus*/.input-text.sc-biggive-hero-image:focus{outline:0}/*!@.input-text:placeholder*/.input-text.sc-biggive-hero-image:placeholder{color:#4A4A4A}/*!@.button*/.button.sc-biggive-hero-image{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;filter:drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.22));color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}/*!@.button:hover*/.button.sc-biggive-hero-image:hover{background-color:#FFFFFF;color:#000000}/*!@.button.size-small*/.button.size-small.sc-biggive-hero-image{font-size:13px;line-height:17px;padding:5px 15px}/*!@.button.button.rounded-true*/.button.button.rounded-true.sc-biggive-hero-image{border-radius:27.5px}/*!@.button.button.rounded-true.size-small*/.button.button.rounded-true.size-small.sc-biggive-hero-image{border-radius:20px}/*!@.button-primary*/.button-primary.sc-biggive-hero-image{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}/*!@.button-primary:hover*/.button-primary.sc-biggive-hero-image:hover{color:#2C089B;background-color:#FFFFFF}/*!@.button-secondary*/.button-secondary.sc-biggive-hero-image{color:#2C089B;background-color:#2AF135;border-color:#2AF135}/*!@.button-secondary:hover*/.button-secondary.sc-biggive-hero-image:hover{background-color:#FFFFFF}/*!@.button-tertiary*/.button-tertiary.sc-biggive-hero-image{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}/*!@.button-tertiary:hover*/.button-tertiary.sc-biggive-hero-image:hover{background-color:#FFFFFF}/*!@.button-white*/.button-white.sc-biggive-hero-image{color:#2C089B;background-color:#FFFFFF;border-color:#FFFFFF}/*!@.button-white:hover*/.button-white.sc-biggive-hero-image:hover{color:#FFFFFF;background-color:#2C089B}/*!@.button-black*/.button-black.sc-biggive-hero-image{color:#FFFFFF;background-color:#000000;border-color:#000000}/*!@.button-black:hover*/.button-black.sc-biggive-hero-image:hover{color:#000000;background-color:#FFFFFF}/*!@.button-clear-primary*/.button-clear-primary.sc-biggive-hero-image{color:#2C089B;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-primary:hover*/.button-clear-primary.sc-biggive-hero-image:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-secondary*/.button-clear-secondary.sc-biggive-hero-image{color:#2AF135;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-secondary:hover*/.button-clear-secondary.sc-biggive-hero-image:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-tertiary*/.button-clear-tertiary.sc-biggive-hero-image{color:#FF7272;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-tertiary:hover*/.button-clear-tertiary.sc-biggive-hero-image:hover{text-decoration:none;background-color:transparent}/*!@.button-clear-white*/.button-clear-white.sc-biggive-hero-image{color:#FFFFFF;background-color:transparent;text-decoration:underline;box-shadow:none;border:0;padding-left:0;padding-right:0}/*!@.button-clear-white:hover*/.button-clear-white.sc-biggive-hero-image:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}/*!@.button-rounded*/.button-rounded.sc-biggive-hero-image{border-radius:27.5px}/*!@.button-rounded.size-small*/.button-rounded.size-small.sc-biggive-hero-image{border-radius:20px}/*!@.progress-bar*/.progress-bar.sc-biggive-hero-image{display:flex}/*!@.progress-bar .slider*/.progress-bar.sc-biggive-hero-image .slider.sc-biggive-hero-image{margin:auto 15px auto 0;position:relative;flex-grow:1}/*!@.progress-bar .slider:before*/.progress-bar.sc-biggive-hero-image .slider.sc-biggive-hero-image:before{content:\"\";position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#E8E8E8;border-radius:4px}/*!@.progress-bar .slider .progress*/.progress-bar.sc-biggive-hero-image .slider.sc-biggive-hero-image .progress.sc-biggive-hero-image{position:relative;border-radius:4px;background-color:#000000;height:8px}/*!@.progress-bar .counter*/.progress-bar.sc-biggive-hero-image .counter.sc-biggive-hero-image{font-weight:700;color:#000000;font-size:14px;line-height:18px}/*!@.progress-bar-primary .slider .progress*/.progress-bar-primary.sc-biggive-hero-image .slider.sc-biggive-hero-image .progress.sc-biggive-hero-image{background-color:#2C089B}/*!@.progress-bar-primary .counter*/.progress-bar-primary.sc-biggive-hero-image .counter.sc-biggive-hero-image{color:#2C089B}/*!@.progress-bar-secondary .slider .progress*/.progress-bar-secondary.sc-biggive-hero-image .slider.sc-biggive-hero-image .progress.sc-biggive-hero-image{background-color:#2AF135}/*!@.progress-bar-secondary .counter*/.progress-bar-secondary.sc-biggive-hero-image .counter.sc-biggive-hero-image{color:#2AF135}/*!@.video-wrap*/.video-wrap.sc-biggive-hero-image{position:relative;padding-bottom:56.25%}/*!@.video-wrap iframe,\n.video-wrap video*/.video-wrap.sc-biggive-hero-image iframe.sc-biggive-hero-image,.video-wrap.sc-biggive-hero-image video.sc-biggive-hero-image{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}/*!@.image-wrap img*/.image-wrap.sc-biggive-hero-image img.sc-biggive-hero-image{width:100%;height:auto}/*!@.align-left*/.align-left.sc-biggive-hero-image{text-align:left}/*!@.align-right*/.align-right.sc-biggive-hero-image{text-align:right}/*!@.align-center*/.align-center.sc-biggive-hero-image{text-align:center}/*!@.align-justify*/.align-justify.sc-biggive-hero-image{text-align:justify}/*!@.space-below-0*/.space-below-0.sc-biggive-hero-image{margin-bottom:0}/*!@.space-below-1*/.space-below-1.sc-biggive-hero-image{margin-bottom:5px}/*!@.space-below-2*/.space-below-2.sc-biggive-hero-image{margin-bottom:10px}/*!@.space-below-3*/.space-below-3.sc-biggive-hero-image{margin-bottom:15px}/*!@.space-below-4*/.space-below-4.sc-biggive-hero-image{margin-bottom:30px}/*!@.space-below-5*/.space-below-5.sc-biggive-hero-image{margin-bottom:45px}/*!@.space-below-6*/.space-below-6.sc-biggive-hero-image{margin-bottom:60px}/*!@.space-above-0*/.space-above-0.sc-biggive-hero-image{margin-top:0}/*!@.space-above-1*/.space-above-1.sc-biggive-hero-image{margin-top:5px}/*!@.space-above-2*/.space-above-2.sc-biggive-hero-image{margin-top:10px}/*!@.space-above-3*/.space-above-3.sc-biggive-hero-image{margin-top:15px}/*!@.space-above-4*/.space-above-4.sc-biggive-hero-image{margin-top:30px}/*!@.space-above-5*/.space-above-5.sc-biggive-hero-image{margin-top:45px}/*!@.space-above-6*/.space-above-6.sc-biggive-hero-image{margin-top:60px}/*!@.horizontal-padding-1*/.horizontal-padding-1.sc-biggive-hero-image{padding-left:5px;padding-right:5px}/*!@.horizontal-padding-2*/.horizontal-padding-2.sc-biggive-hero-image{padding-left:10px;padding-right:10px}/*!@.horizontal-padding-3*/.horizontal-padding-3.sc-biggive-hero-image{padding-left:15px;padding-right:15px}/*!@.horizontal-padding-4*/.horizontal-padding-4.sc-biggive-hero-image{padding-left:30px;padding-right:30px}/*!@.horizontal-padding-5*/.horizontal-padding-5.sc-biggive-hero-image{padding-left:45px;padding-right:45px}/*!@.horizontal-padding-6*/.horizontal-padding-6.sc-biggive-hero-image{padding-left:60px;padding-right:60px}/*!@.vertical-padding-1*/.vertical-padding-1.sc-biggive-hero-image{padding-top:5px;padding-bottom:5px}/*!@.vertical-padding-2*/.vertical-padding-2.sc-biggive-hero-image{padding-top:10px;padding-bottom:10px}/*!@.vertical-padding-3*/.vertical-padding-3.sc-biggive-hero-image{padding-top:15px;padding-bottom:15px}/*!@.vertical-padding-4*/.vertical-padding-4.sc-biggive-hero-image{padding-top:30px;padding-bottom:30px}/*!@.vertical-padding-5*/.vertical-padding-5.sc-biggive-hero-image{padding-top:45px;padding-bottom:45px}/*!@.vertical-padding-6*/.vertical-padding-6.sc-biggive-hero-image{padding-top:60px;padding-bottom:60px}/*!@:host*/.sc-biggive-hero-image-h{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}/*!@.container*/.container.sc-biggive-hero-image{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;overflow:hidden;position:relative;margin-bottom:30px}/*!@.container.colour-scheme-primary*/.container.colour-scheme-primary.sc-biggive-hero-image{color:#2C089B}/*!@.container.colour-scheme-secondary*/.container.colour-scheme-secondary.sc-biggive-hero-image{color:#2AF135}/*!@.container.colour-scheme-tertiary*/.container.colour-scheme-tertiary.sc-biggive-hero-image{color:#FF7272}/*!@.container.colour-scheme-white*/.container.colour-scheme-white.sc-biggive-hero-image{color:#FFFFFF}/*!@.container.colour-scheme-black*/.container.colour-scheme-black.sc-biggive-hero-image{color:#000000}/*!@.container .sleeve*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image{display:flex;justify-content:space-between;max-width:1200px;margin-left:auto;margin-right:auto}/*!@.container .content-wrap*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image{width:40%;position:relative;z-index:1;white-space:pre-wrap;padding:180px 60px 60px 0}/*!@.container .content-wrap .logo, .container .content-wrap .logo-space*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .logo.sc-biggive-hero-image,.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .logo-space.sc-biggive-hero-image{height:75px}/*!@.container .content-wrap .logo*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .logo.sc-biggive-hero-image{margin-bottom:30px;background-size:contain;background-repeat:no-repeat;background-position:left center}/*!@.container .content-wrap .logo img*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .logo.sc-biggive-hero-image img.sc-biggive-hero-image{display:none}/*!@.container .content-wrap .slug*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .slug.sc-biggive-hero-image{font-size:20px;line-height:24px;font-weight:bold;min-height:24px;margin:0;padding:0}/*!@.container .content-wrap h1*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image h1.sc-biggive-hero-image{font-size:47px;line-height:60px;font-weight:bold;margin:50px 0 15px 0;padding:0}@media (max-width: 768px){/*!@.container .content-wrap h1*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image h1.sc-biggive-hero-image{font-size:38px;line-height:45px;font-weight:bold}}/*!@.container .content-wrap .teaser*/.container.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image .teaser.sc-biggive-hero-image{margin:0 0 45px 0;padding:0}/*!@.container .graphic-wrap*/.container.sc-biggive-hero-image .graphic-wrap.sc-biggive-hero-image{position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-color:#F1F1F1;margin-left:20vw;clip-path:polygon(0 0, 100% 0, 100% 100%)}/*!@.container .graphic-wrap .image-wrap*/.container.sc-biggive-hero-image .graphic-wrap.sc-biggive-hero-image .image-wrap.sc-biggive-hero-image{position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-size:cover}/*!@.container .graphic-wrap .image-wrap img*/.container.sc-biggive-hero-image .graphic-wrap.sc-biggive-hero-image .image-wrap.sc-biggive-hero-image img.sc-biggive-hero-image{display:none}@media screen and (max-width: 768px){/*!@.container .sleeve*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image{flex-wrap:wrap}/*!@.container .sleeve .content-wrap*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image{width:100%;padding:25vw 15px 15px 15px}/*!@.container .sleeve .graphic-wrap*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image .graphic-wrap.sc-biggive-hero-image{margin-left:0;bottom:auto;padding-bottom:50%}}@media screen and (max-width: 1225px) and (min-width: 768px){/*!@.container .sleeve .content-wrap*/.container.sc-biggive-hero-image .sleeve.sc-biggive-hero-image .content-wrap.sc-biggive-hero-image{padding-left:60px}}";
|
|
6958
6950
|
|
|
6959
6951
|
class BiggiveHeroImage {
|
|
6960
6952
|
constructor(hostRef) {
|
|
@@ -6976,7 +6968,7 @@ class BiggiveHeroImage {
|
|
|
6976
6968
|
this.buttonColourScheme = 'primary';
|
|
6977
6969
|
}
|
|
6978
6970
|
render() {
|
|
6979
|
-
return (hAsync("div", { class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow }, hAsync("div", { class: "sleeve" }, hAsync("div", { class: "content-wrap" }, this.logo.length > 0 ? (hAsync("div", { class: "logo image-wrap", style: { 'background-image': 'url(' + this.logo + ')' } }, hAsync("img", { src: this.logo }))) :
|
|
6971
|
+
return (hAsync("div", { class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow }, hAsync("div", { class: "sleeve" }, hAsync("div", { class: "content-wrap" }, this.logo.length > 0 ? (hAsync("div", { class: "logo image-wrap", style: { 'background-image': 'url(' + this.logo + ')' } }, hAsync("img", { src: this.logo }))) : hAsync("div", { class: "logo-space" }), hAsync("div", { class: 'slug text-colour-' + this.slugColour }, this.slug), hAsync("h1", { class: 'main-title text-colour-' + this.mainTitleColour }, this.mainTitle), hAsync("div", { class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.buttonLabel != null && this.buttonUrl != null
|
|
6980
6972
|
? hAsync("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })
|
|
6981
6973
|
: null), hAsync("div", { class: "graphic-wrap" }, this.mainImage !== null ? (hAsync("div", { class: "image-wrap", style: { 'background-image': 'url(' + this.mainImage + ')', 'background-position': this.mainImageAlignHorizontal + ' ' + this.mainImageAlignVertical } }, hAsync("img", { src: this.mainImage }))) : null))));
|
|
6982
6974
|
}
|