@apollosproject/canvas-embeds 2.1.486 → 2.1.487
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/package.json +1 -1
- package/widget/index.js +1 -1
package/package.json
CHANGED
package/widget/index.js
CHANGED
|
@@ -721,7 +721,7 @@ Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var A0=v0(K,Z0,S0,c0,z0+
|
|
|
721
721
|
height
|
|
722
722
|
url
|
|
723
723
|
}
|
|
724
|
-
`);const QD1=({church:a,feature:e,isInteractionEnabled:r=!1,userProfile:n})=>{var o;const l=typeof window<"u"&&((o=window.ENV)==null?void 0:o.ENABLE_CONNECT_BUTTON)===!0;switch(e.__typename){case"ActionBarFeature":return w.jsx(_C1,{feature:e},e.id);case"HtmlFeature":return w.jsx(aq,{feature:e},e.id);case"ScriptureFeature":return w.jsx(SC1,{feature:e},e.id);case"QuestionBlockFeature":return w.jsx(oD1,{feature:e,church:a,enableCTA:r},e.id);case"PollFeature":return w.jsx(gD1,{feature:e,church:a},e.id);case"ActionListFeature":return w.jsx(CC1,{feature:e},e.id);case"EventBlockFeature":return w.jsx(MN1,{feature:e},e.id);case"ButtonFeature":return w.jsx(VN1,{feature:e},e.id);case"ConnectButtonFeature":return l?w.jsx(LI1,{feature:e,currentChurch:a,userProfile:n},e.id):null;case"ChipListFeature":return w.jsx(FI1,{feature:e},e.id);case"VerticalCardListFeature":return w.jsx(jI1,{feature:e},e.id);case"HeroListFeature":return w.jsx(PI1,{feature:e},e.id);case"HorizontalCardListFeature":return w.jsx(kI1,{feature:e},e.id);case"HorizontalMediaListFeature":return w.jsx(qI1,{feature:e},e.id);case"LinkEmbedFeature":return w.jsx(ND1,{feature:e},e.id);case"WebviewFeature":return w.jsx(YD1,{feature:e},e.id);default:return console.error("Feature component: Unknown feature type - this will cause the crash!",{__typename:e.__typename,id:e.id,type:e.type,data:e.data,fullFeature:e}),null}},D$=({church:a,features:e,isInteractionEnabled:r=!1,userProfile:n})=>w.jsx(w.Fragment,{children:
|
|
724
|
+
`);const QD1=({church:a,feature:e,isInteractionEnabled:r=!1,userProfile:n})=>{var o;const l=typeof window<"u"&&((o=window.ENV)==null?void 0:o.ENABLE_CONNECT_BUTTON)===!0;switch(e.__typename){case"ActionBarFeature":return w.jsx(_C1,{feature:e},e.id);case"HtmlFeature":return w.jsx(aq,{feature:e},e.id);case"ScriptureFeature":return w.jsx(SC1,{feature:e},e.id);case"QuestionBlockFeature":return w.jsx(oD1,{feature:e,church:a,enableCTA:r},e.id);case"PollFeature":return w.jsx(gD1,{feature:e,church:a},e.id);case"ActionListFeature":return w.jsx(CC1,{feature:e},e.id);case"EventBlockFeature":return w.jsx(MN1,{feature:e},e.id);case"ButtonFeature":return w.jsx(VN1,{feature:e},e.id);case"ConnectButtonFeature":return l?w.jsx(LI1,{feature:e,currentChurch:a,userProfile:n},e.id):null;case"ChipListFeature":return w.jsx(FI1,{feature:e},e.id);case"VerticalCardListFeature":return w.jsx(jI1,{feature:e},e.id);case"HeroListFeature":return w.jsx(PI1,{feature:e},e.id);case"HorizontalCardListFeature":return w.jsx(kI1,{feature:e},e.id);case"HorizontalMediaListFeature":return w.jsx(qI1,{feature:e},e.id);case"LinkEmbedFeature":return w.jsx(ND1,{feature:e},e.id);case"WebviewFeature":return w.jsx(YD1,{feature:e},e.id);default:return console.error("Feature component: Unknown feature type - this will cause the crash!",{__typename:e.__typename,id:e.id,type:e.type,data:e.data,fullFeature:e}),null}},D$=({church:a,features:e,isInteractionEnabled:r=!1,userProfile:n})=>{const l=e==null?void 0:e.filter(o=>{if(!o)return!1;if(o.__typename==="HtmlFeature"){const m=o.content;return m&&m.trim()!==""&&m!=="<p></p>"}return!0});return w.jsx(w.Fragment,{children:l==null?void 0:l.map((o,c)=>o?w.jsx("div",{className:c===0?"":"mt-8",children:w.jsx(QD1,{feature:o,church:a,isInteractionEnabled:r,userProfile:n})},o.id):null)})};h2(`
|
|
725
725
|
fragment FeatureFeedFragment on FeatureFeed {
|
|
726
726
|
id
|
|
727
727
|
features {
|