@biggive/components 202302161705.0.0 → 202303021718.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-b9fbeb76.entry.js → p-08fc4499.entry.js} +1 -1
- package/dist/biggive/{p-722c8c52.entry.js → p-0f38685b.entry.js} +1 -1
- package/dist/biggive/{p-f6ddbee5.entry.js → p-13f4a2c4.entry.js} +1 -1
- package/dist/biggive/{p-57cd992c.entry.js → p-223759f6.entry.js} +1 -1
- package/dist/biggive/{p-9350e5e9.entry.js → p-34cfc5da.entry.js} +1 -1
- package/dist/biggive/{p-c75752fd.entry.js → p-3b378f79.entry.js} +1 -1
- package/dist/biggive/{p-9dc67a33.entry.js → p-52bb0267.entry.js} +1 -1
- package/dist/biggive/{p-35200669.entry.js → p-53189bc6.entry.js} +1 -1
- package/dist/biggive/{p-1a8cc3db.entry.js → p-5a38b219.entry.js} +1 -1
- package/dist/biggive/{p-c128620b.entry.js → p-71054cf6.entry.js} +1 -1
- package/dist/biggive/p-780650cc.entry.js +1 -0
- package/dist/biggive/{p-a0f7c83c.entry.js → p-8876011d.entry.js} +1 -1
- package/dist/biggive/{p-441bc7d1.entry.js → p-95bd7f7a.entry.js} +1 -1
- package/dist/biggive/{p-f0e1930b.entry.js → p-99f18976.entry.js} +1 -1
- package/dist/biggive/p-a0941518.entry.js +1 -0
- package/dist/biggive/p-acf3bcd9.js +2 -0
- package/dist/biggive/{p-a546f541.entry.js → p-d7f8a6fd.entry.js} +1 -1
- package/dist/biggive/{p-a35c092d.entry.js → p-d8432f12.entry.js} +1 -1
- package/dist/biggive/{p-2afc20c1.entry.js → p-eb6aecf0.entry.js} +1 -1
- package/dist/biggive/{p-056f9d01.entry.js → p-f8e38bb9.entry.js} +1 -1
- package/dist/biggive/{p-9e11b9fe.entry.js → p-fe9f3e72.entry.js} +1 -1
- package/dist/cjs/biggive-article-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-back-to-top_27.cjs.entry.js +2 -2
- package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-biography-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
- package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
- 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-header.cjs.entry.js +1 -1
- package/dist/cjs/biggive-icon-group.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-popup-standalone.cjs.entry.js +1 -1
- package/dist/cjs/biggive-search.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +1 -1
- package/dist/cjs/biggive-table.cjs.entry.js +33 -0
- package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +2 -2
- package/dist/cjs/{index-562d2f5c.js → index-4ae5dbd7.js} +389 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.css +1 -1
- package/dist/collection/components/biggive-table/biggive-table.css +324 -0
- package/dist/collection/components/biggive-table/biggive-table.js +147 -0
- package/dist/collection/components/biggive-table/biggive-table.stories.js +76 -0
- package/dist/collection/globals/brand-colour.js +1 -0
- package/dist/components/biggive-main-menu.js +1 -1
- package/dist/components/biggive-table.d.ts +11 -0
- package/dist/components/biggive-table.js +52 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/esm/biggive-article-card.entry.js +1 -1
- package/dist/esm/biggive-back-to-top_27.entry.js +2 -2
- package/dist/esm/biggive-basic-card.entry.js +1 -1
- package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
- package/dist/esm/biggive-biography-card.entry.js +1 -1
- package/dist/esm/biggive-boxed-content.entry.js +1 -1
- package/dist/esm/biggive-category-icon.entry.js +1 -1
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +1 -1
- package/dist/esm/biggive-header.entry.js +1 -1
- package/dist/esm/biggive-icon-group.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-popup-standalone.entry.js +1 -1
- package/dist/esm/biggive-search.entry.js +1 -1
- package/dist/esm/biggive-tab.entry.js +1 -1
- package/dist/esm/biggive-tabbed-content.entry.js +1 -1
- package/dist/esm/biggive-table.entry.js +29 -0
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/esm/biggive.js +2 -2
- package/dist/esm/{index-5ca4e7a1.js → index-43541c5f.js} +389 -7
- package/dist/esm/loader.js +2 -2
- package/dist/types/components/biggive-table/biggive-table.d.ts +9 -0
- package/dist/types/components/biggive-table/biggive-table.stories.d.ts +42 -0
- package/dist/types/components.d.ts +24 -0
- package/dist/types/globals/brand-colour.d.ts +1 -0
- package/hydrate/index.js +42 -1
- package/package.json +1 -1
- package/dist/biggive/p-c0aadf86.entry.js +0 -1
- package/dist/biggive/p-d49d5f66.js +0 -2
|
@@ -9,7 +9,11 @@ const NAMESPACE = 'biggive';
|
|
|
9
9
|
* Modified for Stencil's renderer and slot projection
|
|
10
10
|
*/
|
|
11
11
|
let scopeId;
|
|
12
|
+
let contentRef;
|
|
12
13
|
let hostTagName;
|
|
14
|
+
let useNativeShadowDom = false;
|
|
15
|
+
let checkSlotFallbackVisibility = false;
|
|
16
|
+
let checkSlotRelocate = false;
|
|
13
17
|
let isSvgMode = false;
|
|
14
18
|
let queuePending = false;
|
|
15
19
|
const getAssetPath = (path) => {
|
|
@@ -69,6 +73,7 @@ const isComplexType = (o) => {
|
|
|
69
73
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
70
74
|
const h = (nodeName, vnodeData, ...children) => {
|
|
71
75
|
let child = null;
|
|
76
|
+
let slotName = null;
|
|
72
77
|
let simple = false;
|
|
73
78
|
let lastSimple = false;
|
|
74
79
|
const vNodeChildren = [];
|
|
@@ -96,6 +101,9 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
96
101
|
};
|
|
97
102
|
walk(children);
|
|
98
103
|
if (vnodeData) {
|
|
104
|
+
if (vnodeData.name) {
|
|
105
|
+
slotName = vnodeData.name;
|
|
106
|
+
}
|
|
99
107
|
{
|
|
100
108
|
const classData = vnodeData.className || vnodeData.class;
|
|
101
109
|
if (classData) {
|
|
@@ -117,6 +125,9 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
117
125
|
if (vNodeChildren.length > 0) {
|
|
118
126
|
vnode.$children$ = vNodeChildren;
|
|
119
127
|
}
|
|
128
|
+
{
|
|
129
|
+
vnode.$name$ = slotName;
|
|
130
|
+
}
|
|
120
131
|
return vnode;
|
|
121
132
|
};
|
|
122
133
|
const newVNode = (tag, text) => {
|
|
@@ -130,6 +141,9 @@ const newVNode = (tag, text) => {
|
|
|
130
141
|
{
|
|
131
142
|
vnode.$attrs$ = null;
|
|
132
143
|
}
|
|
144
|
+
{
|
|
145
|
+
vnode.$name$ = null;
|
|
146
|
+
}
|
|
133
147
|
return vnode;
|
|
134
148
|
};
|
|
135
149
|
const Host = {};
|
|
@@ -338,6 +352,10 @@ const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes
|
|
|
338
352
|
// remove the content ref comment since it's not needed for shadow
|
|
339
353
|
node.remove();
|
|
340
354
|
}
|
|
355
|
+
else {
|
|
356
|
+
hostElm['s-cr'] = node;
|
|
357
|
+
node['s-cn'] = true;
|
|
358
|
+
}
|
|
341
359
|
}
|
|
342
360
|
}
|
|
343
361
|
}
|
|
@@ -681,16 +699,39 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
681
699
|
let i = 0;
|
|
682
700
|
let elm;
|
|
683
701
|
let childNode;
|
|
702
|
+
let oldVNode;
|
|
703
|
+
if (!useNativeShadowDom) {
|
|
704
|
+
// remember for later we need to check to relocate nodes
|
|
705
|
+
checkSlotRelocate = true;
|
|
706
|
+
if (newVNode.$tag$ === 'slot') {
|
|
707
|
+
if (scopeId) {
|
|
708
|
+
// scoped css needs to add its scoped id to the parent element
|
|
709
|
+
parentElm.classList.add(scopeId + '-s');
|
|
710
|
+
}
|
|
711
|
+
newVNode.$flags$ |= newVNode.$children$
|
|
712
|
+
? // slot element has fallback content
|
|
713
|
+
2 /* VNODE_FLAGS.isSlotFallback */
|
|
714
|
+
: // slot element does not have fallback content
|
|
715
|
+
1 /* VNODE_FLAGS.isSlotReference */;
|
|
716
|
+
}
|
|
717
|
+
}
|
|
684
718
|
if (newVNode.$text$ !== null) {
|
|
685
719
|
// create text node
|
|
686
720
|
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
687
721
|
}
|
|
722
|
+
else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
|
|
723
|
+
// create a slot reference node
|
|
724
|
+
elm = newVNode.$elm$ =
|
|
725
|
+
doc.createTextNode('');
|
|
726
|
+
}
|
|
688
727
|
else {
|
|
689
728
|
if (!isSvgMode) {
|
|
690
729
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
691
730
|
}
|
|
692
731
|
// create element
|
|
693
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$
|
|
732
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
|
|
733
|
+
? 'slot-fb'
|
|
734
|
+
: newVNode.$tag$)
|
|
694
735
|
);
|
|
695
736
|
if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
|
|
696
737
|
isSvgMode = false;
|
|
@@ -707,7 +748,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
707
748
|
if (newVNode.$children$) {
|
|
708
749
|
for (i = 0; i < newVNode.$children$.length; ++i) {
|
|
709
750
|
// create the node
|
|
710
|
-
childNode = createElm(oldParentVNode, newVNode, i);
|
|
751
|
+
childNode = createElm(oldParentVNode, newVNode, i, elm);
|
|
711
752
|
// return node could have been null
|
|
712
753
|
if (childNode) {
|
|
713
754
|
// append our new node
|
|
@@ -726,20 +767,62 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
726
767
|
}
|
|
727
768
|
}
|
|
728
769
|
}
|
|
770
|
+
{
|
|
771
|
+
elm['s-hn'] = hostTagName;
|
|
772
|
+
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
773
|
+
// remember the content reference comment
|
|
774
|
+
elm['s-sr'] = true;
|
|
775
|
+
// remember the content reference comment
|
|
776
|
+
elm['s-cr'] = contentRef;
|
|
777
|
+
// remember the slot name, or empty string for default slot
|
|
778
|
+
elm['s-sn'] = newVNode.$name$ || '';
|
|
779
|
+
// check if we've got an old vnode for this slot
|
|
780
|
+
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
781
|
+
if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
|
|
782
|
+
// we've got an old slot vnode and the wrapper is being replaced
|
|
783
|
+
// so let's move the old slot content back to it's original location
|
|
784
|
+
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
729
788
|
return elm;
|
|
730
789
|
};
|
|
790
|
+
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
791
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
792
|
+
const oldSlotChildNodes = parentElm.childNodes;
|
|
793
|
+
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
794
|
+
const childNode = oldSlotChildNodes[i];
|
|
795
|
+
if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
|
|
796
|
+
// // this child node in the old element is from another component
|
|
797
|
+
// // remove this node from the old slot's parent
|
|
798
|
+
// childNode.remove();
|
|
799
|
+
// and relocate it back to it's original location
|
|
800
|
+
parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
|
|
801
|
+
// remove the old original location comment entirely
|
|
802
|
+
// later on the patch function will know what to do
|
|
803
|
+
// and move this to the correct spot in need be
|
|
804
|
+
childNode['s-ol'].remove();
|
|
805
|
+
childNode['s-ol'] = undefined;
|
|
806
|
+
checkSlotRelocate = true;
|
|
807
|
+
}
|
|
808
|
+
if (recursive) {
|
|
809
|
+
putBackInOriginalLocation(childNode, recursive);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
813
|
+
};
|
|
731
814
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
732
|
-
let containerElm = (parentElm);
|
|
815
|
+
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
733
816
|
let childNode;
|
|
734
817
|
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
735
818
|
containerElm = containerElm.shadowRoot;
|
|
736
819
|
}
|
|
737
820
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
738
821
|
if (vnodes[startIdx]) {
|
|
739
|
-
childNode = createElm(null, parentVNode, startIdx);
|
|
822
|
+
childNode = createElm(null, parentVNode, startIdx, parentElm);
|
|
740
823
|
if (childNode) {
|
|
741
824
|
vnodes[startIdx].$elm$ = childNode;
|
|
742
|
-
containerElm.insertBefore(childNode, before);
|
|
825
|
+
containerElm.insertBefore(childNode, referenceNode(before) );
|
|
743
826
|
}
|
|
744
827
|
}
|
|
745
828
|
}
|
|
@@ -748,6 +831,20 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
|
748
831
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
749
832
|
if ((vnode = vnodes[startIdx])) {
|
|
750
833
|
elm = vnode.$elm$;
|
|
834
|
+
{
|
|
835
|
+
// we're removing this element
|
|
836
|
+
// so it's possible we need to show slot fallback content now
|
|
837
|
+
checkSlotFallbackVisibility = true;
|
|
838
|
+
if (elm['s-ol']) {
|
|
839
|
+
// remove the original location comment
|
|
840
|
+
elm['s-ol'].remove();
|
|
841
|
+
}
|
|
842
|
+
else {
|
|
843
|
+
// it's possible that child nodes of the node
|
|
844
|
+
// that's being removed are slot nodes
|
|
845
|
+
putBackInOriginalLocation(elm, true);
|
|
846
|
+
}
|
|
847
|
+
}
|
|
751
848
|
// remove the vnode's element from the dom
|
|
752
849
|
elm.remove();
|
|
753
850
|
}
|
|
@@ -863,6 +960,23 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
863
960
|
newEndVnode = newCh[--newEndIdx];
|
|
864
961
|
}
|
|
865
962
|
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
963
|
+
// case: "Vnode moved right"
|
|
964
|
+
//
|
|
965
|
+
// We've found that the last node in our window on the new children is
|
|
966
|
+
// the same VNode as the _first_ node in our window on the old children
|
|
967
|
+
// we're dealing with now. Visually, this is the layout of these two
|
|
968
|
+
// nodes:
|
|
969
|
+
//
|
|
970
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
971
|
+
// ^^^^^^^^^^^
|
|
972
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
973
|
+
// ^^^^^^^^^^^^^
|
|
974
|
+
//
|
|
975
|
+
// In this situation we need to patch `newEndVnode` onto `oldStartVnode`
|
|
976
|
+
// and move the DOM element for `oldStartVnode`.
|
|
977
|
+
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
978
|
+
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
979
|
+
}
|
|
866
980
|
patch(oldStartVnode, newEndVnode);
|
|
867
981
|
// We need to move the element for `oldStartVnode` into a position which
|
|
868
982
|
// will be appropriate for `newEndVnode`. For this we can use
|
|
@@ -886,6 +1000,24 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
886
1000
|
newEndVnode = newCh[--newEndIdx];
|
|
887
1001
|
}
|
|
888
1002
|
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
1003
|
+
// case: "Vnode moved left"
|
|
1004
|
+
//
|
|
1005
|
+
// We've found that the first node in our window on the new children is
|
|
1006
|
+
// the same VNode as the _last_ node in our window on the old children.
|
|
1007
|
+
// Visually, this is the layout of these two nodes:
|
|
1008
|
+
//
|
|
1009
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
1010
|
+
// ^^^^^^^^^^^^^
|
|
1011
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
1012
|
+
// ^^^^^^^^^^^
|
|
1013
|
+
//
|
|
1014
|
+
// In this situation we need to patch `newStartVnode` onto `oldEndVnode`
|
|
1015
|
+
// (which will handle updating any changed attributes, reconciling their
|
|
1016
|
+
// children etc) but we also need to move the DOM node to which
|
|
1017
|
+
// `oldEndVnode` corresponds.
|
|
1018
|
+
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
1019
|
+
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
1020
|
+
}
|
|
889
1021
|
patch(oldEndVnode, newStartVnode);
|
|
890
1022
|
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
891
1023
|
// the same node, so since we're here we know that they are not. Thus we
|
|
@@ -902,13 +1034,13 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
902
1034
|
// the key of the first new child OR the build is not using `key`
|
|
903
1035
|
// attributes at all. In either case we need to create a new element
|
|
904
1036
|
// for the new node.
|
|
905
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
|
|
1037
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
|
|
906
1038
|
newStartVnode = newCh[++newStartIdx];
|
|
907
1039
|
}
|
|
908
1040
|
if (node) {
|
|
909
1041
|
// if we created a new node then handle inserting it to the DOM
|
|
910
1042
|
{
|
|
911
|
-
oldStartVnode.$elm
|
|
1043
|
+
parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
|
|
912
1044
|
}
|
|
913
1045
|
}
|
|
914
1046
|
}
|
|
@@ -945,10 +1077,21 @@ const isSameVnode = (leftVNode, rightVNode) => {
|
|
|
945
1077
|
// compare if two vnode to see if they're "technically" the same
|
|
946
1078
|
// need to have the same element tag, and same key to be the same
|
|
947
1079
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
1080
|
+
if (leftVNode.$tag$ === 'slot') {
|
|
1081
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
1082
|
+
}
|
|
948
1083
|
return true;
|
|
949
1084
|
}
|
|
950
1085
|
return false;
|
|
951
1086
|
};
|
|
1087
|
+
const referenceNode = (node) => {
|
|
1088
|
+
// this node was relocated to a new location in the dom
|
|
1089
|
+
// because of some other component's slot
|
|
1090
|
+
// but we still have an html comment in place of where
|
|
1091
|
+
// it's original location was according to it's original vdom
|
|
1092
|
+
return (node && node['s-ol']) || node;
|
|
1093
|
+
};
|
|
1094
|
+
const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
|
|
952
1095
|
/**
|
|
953
1096
|
* Handle reconciling an outdated VNode with a new one which corresponds to
|
|
954
1097
|
* it. This function handles flushing updates to the DOM and reconciling the
|
|
@@ -963,6 +1106,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
963
1106
|
const newChildren = newVNode.$children$;
|
|
964
1107
|
const tag = newVNode.$tag$;
|
|
965
1108
|
const text = newVNode.$text$;
|
|
1109
|
+
let defaultHolder;
|
|
966
1110
|
if (text === null) {
|
|
967
1111
|
{
|
|
968
1112
|
// test if we're rendering an svg element, or still rendering nodes inside of one
|
|
@@ -1001,14 +1145,150 @@ const patch = (oldVNode, newVNode) => {
|
|
|
1001
1145
|
isSvgMode = false;
|
|
1002
1146
|
}
|
|
1003
1147
|
}
|
|
1148
|
+
else if ((defaultHolder = elm['s-cr'])) {
|
|
1149
|
+
// this element has slotted content
|
|
1150
|
+
defaultHolder.parentNode.textContent = text;
|
|
1151
|
+
}
|
|
1004
1152
|
else if (oldVNode.$text$ !== text) {
|
|
1005
1153
|
// update the text content for the text only vnode
|
|
1006
1154
|
// and also only if the text is different than before
|
|
1007
1155
|
elm.data = text;
|
|
1008
1156
|
}
|
|
1009
1157
|
};
|
|
1158
|
+
const updateFallbackSlotVisibility = (elm) => {
|
|
1159
|
+
// tslint:disable-next-line: prefer-const
|
|
1160
|
+
const childNodes = elm.childNodes;
|
|
1161
|
+
let childNode;
|
|
1162
|
+
let i;
|
|
1163
|
+
let ilen;
|
|
1164
|
+
let j;
|
|
1165
|
+
let slotNameAttr;
|
|
1166
|
+
let nodeType;
|
|
1167
|
+
for (i = 0, ilen = childNodes.length; i < ilen; i++) {
|
|
1168
|
+
childNode = childNodes[i];
|
|
1169
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1170
|
+
if (childNode['s-sr']) {
|
|
1171
|
+
// this is a slot fallback node
|
|
1172
|
+
// get the slot name for this slot reference node
|
|
1173
|
+
slotNameAttr = childNode['s-sn'];
|
|
1174
|
+
// by default always show a fallback slot node
|
|
1175
|
+
// then hide it if there are other slots in the light dom
|
|
1176
|
+
childNode.hidden = false;
|
|
1177
|
+
for (j = 0; j < ilen; j++) {
|
|
1178
|
+
nodeType = childNodes[j].nodeType;
|
|
1179
|
+
if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
|
|
1180
|
+
// this sibling node is from a different component OR is a named fallback slot node
|
|
1181
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
1182
|
+
childNode.hidden = true;
|
|
1183
|
+
break;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
else {
|
|
1187
|
+
// this is a default fallback slot node
|
|
1188
|
+
// any element or text node (with content)
|
|
1189
|
+
// should hide the default fallback slot node
|
|
1190
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
|
|
1191
|
+
(nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
1192
|
+
childNode.hidden = true;
|
|
1193
|
+
break;
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
// keep drilling down
|
|
1199
|
+
updateFallbackSlotVisibility(childNode);
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
};
|
|
1203
|
+
const relocateNodes = [];
|
|
1204
|
+
const relocateSlotContent = (elm) => {
|
|
1205
|
+
// tslint:disable-next-line: prefer-const
|
|
1206
|
+
let childNode;
|
|
1207
|
+
let node;
|
|
1208
|
+
let hostContentNodes;
|
|
1209
|
+
let slotNameAttr;
|
|
1210
|
+
let relocateNodeData;
|
|
1211
|
+
let j;
|
|
1212
|
+
let i = 0;
|
|
1213
|
+
const childNodes = elm.childNodes;
|
|
1214
|
+
const ilen = childNodes.length;
|
|
1215
|
+
for (; i < ilen; i++) {
|
|
1216
|
+
childNode = childNodes[i];
|
|
1217
|
+
if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
|
|
1218
|
+
// first got the content reference comment node
|
|
1219
|
+
// then we got it's parent, which is where all the host content is in now
|
|
1220
|
+
hostContentNodes = node.parentNode.childNodes;
|
|
1221
|
+
slotNameAttr = childNode['s-sn'];
|
|
1222
|
+
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1223
|
+
node = hostContentNodes[j];
|
|
1224
|
+
if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
|
|
1225
|
+
// let's do some relocating to its new home
|
|
1226
|
+
// but never relocate a content reference node
|
|
1227
|
+
// that is suppose to always represent the original content location
|
|
1228
|
+
if (isNodeLocatedInSlot(node, slotNameAttr)) {
|
|
1229
|
+
// it's possible we've already decided to relocate this node
|
|
1230
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1231
|
+
// made some changes to slots
|
|
1232
|
+
// let's make sure we also double check
|
|
1233
|
+
// fallbacks are correctly hidden or shown
|
|
1234
|
+
checkSlotFallbackVisibility = true;
|
|
1235
|
+
node['s-sn'] = node['s-sn'] || slotNameAttr;
|
|
1236
|
+
if (relocateNodeData) {
|
|
1237
|
+
// previously we never found a slot home for this node
|
|
1238
|
+
// but turns out we did, so let's remember it now
|
|
1239
|
+
relocateNodeData.$slotRefNode$ = childNode;
|
|
1240
|
+
}
|
|
1241
|
+
else {
|
|
1242
|
+
// add to our list of nodes to relocate
|
|
1243
|
+
relocateNodes.push({
|
|
1244
|
+
$slotRefNode$: childNode,
|
|
1245
|
+
$nodeToRelocate$: node,
|
|
1246
|
+
});
|
|
1247
|
+
}
|
|
1248
|
+
if (node['s-sr']) {
|
|
1249
|
+
relocateNodes.map((relocateNode) => {
|
|
1250
|
+
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
|
|
1251
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1252
|
+
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
1253
|
+
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
});
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
1260
|
+
// so far this element does not have a slot home, not setting slotRefNode on purpose
|
|
1261
|
+
// if we never find a home for this element then we'll need to hide it
|
|
1262
|
+
relocateNodes.push({
|
|
1263
|
+
$nodeToRelocate$: node,
|
|
1264
|
+
});
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1270
|
+
relocateSlotContent(childNode);
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
};
|
|
1274
|
+
const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
1275
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1276
|
+
if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
|
|
1277
|
+
return true;
|
|
1278
|
+
}
|
|
1279
|
+
if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
|
|
1280
|
+
return true;
|
|
1281
|
+
}
|
|
1282
|
+
return false;
|
|
1283
|
+
}
|
|
1284
|
+
if (nodeToRelocate['s-sn'] === slotNameAttr) {
|
|
1285
|
+
return true;
|
|
1286
|
+
}
|
|
1287
|
+
return slotNameAttr === '';
|
|
1288
|
+
};
|
|
1010
1289
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
1011
1290
|
const hostElm = hostRef.$hostElement$;
|
|
1291
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1012
1292
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
1013
1293
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
1014
1294
|
hostTagName = hostElm.tagName;
|
|
@@ -1019,8 +1299,90 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1019
1299
|
{
|
|
1020
1300
|
scopeId = hostElm['s-sc'];
|
|
1021
1301
|
}
|
|
1302
|
+
{
|
|
1303
|
+
contentRef = hostElm['s-cr'];
|
|
1304
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
|
|
1305
|
+
// always reset
|
|
1306
|
+
checkSlotFallbackVisibility = false;
|
|
1307
|
+
}
|
|
1022
1308
|
// synchronous patch
|
|
1023
1309
|
patch(oldVNode, rootVnode);
|
|
1310
|
+
{
|
|
1311
|
+
// while we're moving nodes around existing nodes, temporarily disable
|
|
1312
|
+
// the disconnectCallback from working
|
|
1313
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1314
|
+
if (checkSlotRelocate) {
|
|
1315
|
+
relocateSlotContent(rootVnode.$elm$);
|
|
1316
|
+
let relocateData;
|
|
1317
|
+
let nodeToRelocate;
|
|
1318
|
+
let orgLocationNode;
|
|
1319
|
+
let parentNodeRef;
|
|
1320
|
+
let insertBeforeNode;
|
|
1321
|
+
let refNode;
|
|
1322
|
+
let i = 0;
|
|
1323
|
+
for (; i < relocateNodes.length; i++) {
|
|
1324
|
+
relocateData = relocateNodes[i];
|
|
1325
|
+
nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1326
|
+
if (!nodeToRelocate['s-ol']) {
|
|
1327
|
+
// add a reference node marking this node's original location
|
|
1328
|
+
// keep a reference to this node for later lookups
|
|
1329
|
+
orgLocationNode =
|
|
1330
|
+
doc.createTextNode('');
|
|
1331
|
+
orgLocationNode['s-nr'] = nodeToRelocate;
|
|
1332
|
+
nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
for (i = 0; i < relocateNodes.length; i++) {
|
|
1336
|
+
relocateData = relocateNodes[i];
|
|
1337
|
+
nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1338
|
+
if (relocateData.$slotRefNode$) {
|
|
1339
|
+
// by default we're just going to insert it directly
|
|
1340
|
+
// after the slot reference node
|
|
1341
|
+
parentNodeRef = relocateData.$slotRefNode$.parentNode;
|
|
1342
|
+
insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
|
|
1343
|
+
orgLocationNode = nodeToRelocate['s-ol'];
|
|
1344
|
+
while ((orgLocationNode = orgLocationNode.previousSibling)) {
|
|
1345
|
+
refNode = orgLocationNode['s-nr'];
|
|
1346
|
+
if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
|
|
1347
|
+
refNode = refNode.nextSibling;
|
|
1348
|
+
if (!refNode || !refNode['s-nr']) {
|
|
1349
|
+
insertBeforeNode = refNode;
|
|
1350
|
+
break;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
|
|
1355
|
+
nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
1356
|
+
// we've checked that it's worth while to relocate
|
|
1357
|
+
// since that the node to relocate
|
|
1358
|
+
// has a different next sibling or parent relocated
|
|
1359
|
+
if (nodeToRelocate !== insertBeforeNode) {
|
|
1360
|
+
if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
|
|
1361
|
+
// probably a component in the index.html that doesn't have it's hostname set
|
|
1362
|
+
nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
|
|
1363
|
+
}
|
|
1364
|
+
// add it back to the dom but in its new home
|
|
1365
|
+
parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
else {
|
|
1370
|
+
// this node doesn't have a slot home to go to, so let's hide it
|
|
1371
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1372
|
+
nodeToRelocate.hidden = true;
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
if (checkSlotFallbackVisibility) {
|
|
1378
|
+
updateFallbackSlotVisibility(rootVnode.$elm$);
|
|
1379
|
+
}
|
|
1380
|
+
// done moving nodes around
|
|
1381
|
+
// allow the disconnect callback to work again
|
|
1382
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1383
|
+
// always reset
|
|
1384
|
+
relocateNodes.length = 0;
|
|
1385
|
+
}
|
|
1024
1386
|
};
|
|
1025
1387
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1026
1388
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
@@ -1413,6 +1775,15 @@ const connectedCallback = (elm) => {
|
|
|
1413
1775
|
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1414
1776
|
}
|
|
1415
1777
|
}
|
|
1778
|
+
if (!hostId) {
|
|
1779
|
+
// initUpdate
|
|
1780
|
+
// if the slot polyfill is required we'll need to put some nodes
|
|
1781
|
+
// in here to act as original content anchors as we move nodes around
|
|
1782
|
+
// host element has been connected to the DOM
|
|
1783
|
+
if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1784
|
+
setContentReference(elm);
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1416
1787
|
{
|
|
1417
1788
|
// find the first ancestor component (if there is one) and register
|
|
1418
1789
|
// this component as one of the actively loading child components for its ancestor
|
|
@@ -1455,6 +1826,17 @@ const connectedCallback = (elm) => {
|
|
|
1455
1826
|
endConnected();
|
|
1456
1827
|
}
|
|
1457
1828
|
};
|
|
1829
|
+
const setContentReference = (elm) => {
|
|
1830
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
1831
|
+
// or this browser doesn't support native shadow dom
|
|
1832
|
+
// and this host element was NOT created with SSR
|
|
1833
|
+
// let's pick out the inner content for slot projection
|
|
1834
|
+
// create a node to represent where the original
|
|
1835
|
+
// content was first placed, which is useful later on
|
|
1836
|
+
const contentRefElm = (elm['s-cr'] = doc.createComment(''));
|
|
1837
|
+
contentRefElm['s-cn'] = true;
|
|
1838
|
+
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
1839
|
+
};
|
|
1458
1840
|
const disconnectedCallback = (elm) => {
|
|
1459
1841
|
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1460
1842
|
const hostRef = getHostRef(elm);
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-43541c5f.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
Stencil Client Patch Esm v2.21.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -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(JSON.parse("[[\"biggive-back-to-top_27\",[[1,\"biggive-campaign-card-filter-grid\",{\"spaceBelow\":[2,\"space-below\"],\"intro\":[1],\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"],\"categoryOptions\":[1,\"category-options\"],\"beneficiaryOptions\":[1,\"beneficiary-options\"],\"locationOptions\":[1,\"location-options\"],\"fundingOptions\":[1,\"funding-options\"],\"selectedSortByOption\":[1,\"selected-sort-by-option\"],\"selectedFilterCategory\":[1,\"selected-filter-category\"],\"selectedFilterBeneficiary\":[1,\"selected-filter-beneficiary\"],\"selectedFilterLocation\":[1,\"selected-filter-location\"],\"selectedFilterFunding\":[1,\"selected-filter-funding\"],\"filtersApplied\":[32]},[[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\"],\"isFutureCampaign\":[4,\"is-future-campaign\"],\"isPastCampaign\":[4,\"is-past-campaign\"],\"datetime\":[1]}],[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\"],\"championName\":[1,\"champion-name\"],\"championUrl\":[1,\"champion-url\"]}],[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\",{\"headingLevel\":[2,\"heading-level\"]}],[1,\"biggive-hero-image\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"logo\":[1],\"logoAltText\":[1,\"logo-alt-text\"],\"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\"],\"imageAltText\":[1,\"image-alt-text\"],\"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-main-menu\",{\"logoUrl\":[1,\"logo-url\"],\"closeMobileMenuFromOutside\":[64]}],[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-branded-image\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"logoUrl\":[1,\"logo-url\"],\"slug\":[1],\"charityName\":[1,\"charity-name\"],\"charityLocation\":[1,\"charity-location\"],\"charityUrl\":[1,\"charity-url\"]}],[1,\"biggive-grid\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"spaceBetween\":[4,\"space-between\"]}],[1,\"biggive-heading\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"colour\":[1],\"htmlElement\":[1,\"html-element\"],\"size\":[2],\"align\":[1],\"text\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"]}],[1,\"biggive-image\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"width\":[2],\"height\":[2],\"sizeUnit\":[1,\"size-unit\"]}],[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\"],\"maxWidth\":[2,\"max-width\"],\"primaryFullBleed\":[4,\"primary-full-bleed\"]}],[1,\"biggive-quote\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"quote\":[1],\"attribution\":[1]}],[0,\"biggive-social-icon\",{\"service\":[1],\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"wide\":[4],\"url\":[1]}],[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\"]}],[1,\"biggive-totalizer-ticker-item\",{\"figure\":[1],\"label\":[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]}],[1,\"biggive-popup\",{\"openFromOutside\":[64],\"closeFromOutside\":[64]}],[1,\"biggive-progress-bar\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"counter\":[2]}],[0,\"biggive-misc-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"url\":[1]}],[1,\"biggive-button\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"label\":[1],\"url\":[1],\"openInNewTab\":[4,\"open-in-new-tab\"],\"fullWidth\":[4,\"full-width\"],\"size\":[1],\"rounded\":[4],\"centered\":[4],\"buttonId\":[1,\"button-id\"]}]]],[\"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\"],\"imageAltText\":[1,\"image-alt-text\"],\"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],\"teaser\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"],\"clipBottomLeftCorner\":[4,\"clip-bottom-left-corner\"],\"clipTopRightCorner\":[4,\"clip-top-right-corner\"],\"headingLevel\":[2,\"heading-level\"]}]]],[\"biggive-search\",[[1,\"biggive-search\",{\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"]}]]],[\"biggive-beneficiary-icon\",[[0,\"biggive-beneficiary-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-biography-card\",[[1,\"biggive-biography-card\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"fullName\":[1,\"full-name\"],\"jobTitle\":[1,\"job-title\"]}]]],[\"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-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\"],\"maxWidth\":[2,\"max-width\"]}]]],[\"biggive-header\",[[1,\"biggive-header\",{\"spaceBelow\":[2,\"space-below\"],\"logoUrl\":[1,\"logo-url\"],\"closeMenuFromOutside\":[64]}]]],[\"biggive-icon-group\",[[1,\"biggive-icon-group\",{\"spaceBelow\":[2,\"space-below\"],\"label\":[1]}]]],[\"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-popup-standalone\",[[1,\"biggive-popup-standalone\"]]],[\"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);
|
|
13
|
+
return bootstrapLazy(JSON.parse("[[\"biggive-back-to-top_27\",[[1,\"biggive-campaign-card-filter-grid\",{\"spaceBelow\":[2,\"space-below\"],\"intro\":[1],\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"],\"categoryOptions\":[1,\"category-options\"],\"beneficiaryOptions\":[1,\"beneficiary-options\"],\"locationOptions\":[1,\"location-options\"],\"fundingOptions\":[1,\"funding-options\"],\"selectedSortByOption\":[1,\"selected-sort-by-option\"],\"selectedFilterCategory\":[1,\"selected-filter-category\"],\"selectedFilterBeneficiary\":[1,\"selected-filter-beneficiary\"],\"selectedFilterLocation\":[1,\"selected-filter-location\"],\"selectedFilterFunding\":[1,\"selected-filter-funding\"],\"filtersApplied\":[32]},[[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\"],\"isFutureCampaign\":[4,\"is-future-campaign\"],\"isPastCampaign\":[4,\"is-past-campaign\"],\"datetime\":[1]}],[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\"],\"championName\":[1,\"champion-name\"],\"championUrl\":[1,\"champion-url\"]}],[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\",{\"headingLevel\":[2,\"heading-level\"]}],[1,\"biggive-hero-image\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"slug\":[1],\"slugColour\":[1,\"slug-colour\"],\"logo\":[1],\"logoAltText\":[1,\"logo-alt-text\"],\"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\"],\"imageAltText\":[1,\"image-alt-text\"],\"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-main-menu\",{\"logoUrl\":[1,\"logo-url\"],\"closeMobileMenuFromOutside\":[64]}],[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-branded-image\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"logoUrl\":[1,\"logo-url\"],\"slug\":[1],\"charityName\":[1,\"charity-name\"],\"charityLocation\":[1,\"charity-location\"],\"charityUrl\":[1,\"charity-url\"]}],[1,\"biggive-grid\",{\"spaceBelow\":[2,\"space-below\"],\"columnCount\":[2,\"column-count\"],\"spaceBetween\":[4,\"space-between\"]}],[1,\"biggive-heading\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"colour\":[1],\"htmlElement\":[1,\"html-element\"],\"size\":[2],\"align\":[1],\"text\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"]}],[1,\"biggive-image\",{\"spaceAbove\":[2,\"space-above\"],\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"width\":[2],\"height\":[2],\"sizeUnit\":[1,\"size-unit\"]}],[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\"],\"maxWidth\":[2,\"max-width\"],\"primaryFullBleed\":[4,\"primary-full-bleed\"]}],[1,\"biggive-quote\",{\"spaceBelow\":[2,\"space-below\"],\"defaultTextColour\":[1,\"default-text-colour\"],\"quote\":[1],\"attribution\":[1]}],[0,\"biggive-social-icon\",{\"service\":[1],\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"wide\":[4],\"url\":[1]}],[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\"]}],[1,\"biggive-totalizer-ticker-item\",{\"figure\":[1],\"label\":[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]}],[1,\"biggive-popup\",{\"openFromOutside\":[64],\"closeFromOutside\":[64]}],[1,\"biggive-progress-bar\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"counter\":[2]}],[0,\"biggive-misc-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"url\":[1]}],[1,\"biggive-button\",{\"spaceBelow\":[2,\"space-below\"],\"colourScheme\":[1,\"colour-scheme\"],\"label\":[1],\"url\":[1],\"openInNewTab\":[4,\"open-in-new-tab\"],\"fullWidth\":[4,\"full-width\"],\"size\":[1],\"rounded\":[4],\"centered\":[4],\"buttonId\":[1,\"button-id\"]}]]],[\"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\"],\"imageAltText\":[1,\"image-alt-text\"],\"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],\"teaser\":[1],\"icon\":[4],\"iconColour\":[1,\"icon-colour\"],\"buttonLabel\":[1,\"button-label\"],\"buttonUrl\":[1,\"button-url\"],\"buttonColourScheme\":[1,\"button-colour-scheme\"],\"clipBottomLeftCorner\":[4,\"clip-bottom-left-corner\"],\"clipTopRightCorner\":[4,\"clip-top-right-corner\"],\"headingLevel\":[2,\"heading-level\"]}]]],[\"biggive-search\",[[1,\"biggive-search\",{\"searchText\":[1,\"search-text\"],\"placeholderText\":[1,\"placeholder-text\"],\"buttonText\":[1,\"button-text\"]}]]],[\"biggive-beneficiary-icon\",[[0,\"biggive-beneficiary-icon\",{\"backgroundColour\":[1,\"background-colour\"],\"iconColour\":[1,\"icon-colour\"],\"icon\":[1],\"label\":[1],\"url\":[1]}]]],[\"biggive-biography-card\",[[1,\"biggive-biography-card\",{\"spaceBelow\":[2,\"space-below\"],\"imageUrl\":[1,\"image-url\"],\"fullName\":[1,\"full-name\"],\"jobTitle\":[1,\"job-title\"]}]]],[\"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-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\"],\"maxWidth\":[2,\"max-width\"]}]]],[\"biggive-header\",[[1,\"biggive-header\",{\"spaceBelow\":[2,\"space-below\"],\"logoUrl\":[1,\"logo-url\"],\"closeMenuFromOutside\":[64]}]]],[\"biggive-icon-group\",[[1,\"biggive-icon-group\",{\"spaceBelow\":[2,\"space-below\"],\"label\":[1]}]]],[\"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-popup-standalone\",[[1,\"biggive-popup-standalone\"]]],[\"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-table\",[[4,\"biggive-table\",{\"spaceBelow\":[2,\"space-below\"],\"headerTextColour\":[1,\"header-text-colour\"],\"headerBackgroundColour\":[1,\"header-background-colour\"],\"bodyTextColour\":[1,\"body-text-colour\"],\"bodyBackgroundColour\":[1,\"body-background-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
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { brandColour } from '../../globals/brand-colour';
|
|
2
|
+
export declare class BiggiveTable {
|
|
3
|
+
spaceBelow: number;
|
|
4
|
+
headerTextColour: brandColour;
|
|
5
|
+
headerBackgroundColour: brandColour;
|
|
6
|
+
bodyTextColour: brandColour;
|
|
7
|
+
bodyBackgroundColour: brandColour;
|
|
8
|
+
render(): any;
|
|
9
|
+
}
|