@beamimpact/web-sdk 1.37.1 → 1.38.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/chunks/_share-dialog-dependencies-jvfU8iYk.esm.js +2 -0
- package/dist/chunks/_share-dialog-dependencies-jvfU8iYk.esm.js.map +1 -0
- package/dist/chunks/_share-dialog-dependencies-nBHy1n7P.esm.js +2 -0
- package/dist/chunks/_share-dialog-dependencies-nBHy1n7P.esm.js.map +1 -0
- package/dist/chunks/{cart-contents-IOhdr24g.esm.d.ts → cart-contents-dKdDg09p.esm.d.ts} +1 -1
- package/dist/chunks/{css-card-grid-3b56QBzq.esm.js → css-card-grid-inRnKSWs.esm.js} +2 -2
- package/dist/chunks/{css-card-grid-3b56QBzq.esm.js.map → css-card-grid-inRnKSWs.esm.js.map} +1 -1
- package/dist/chunks/{enforce-config-qna7hEL6.esm.js → enforce-config-7R9KCF_i.esm.js} +2 -2
- package/dist/chunks/{enforce-config-qna7hEL6.esm.js.map → enforce-config-7R9KCF_i.esm.js.map} +1 -1
- package/dist/chunks/{enforce-config-fo8kIfoY.esm.js → enforce-config-iFdf1QkH.esm.js} +2 -2
- package/dist/chunks/{enforce-config-fo8kIfoY.esm.js.map → enforce-config-iFdf1QkH.esm.js.map} +1 -1
- package/dist/chunks/events-Y8fYvSqM.esm.js.map +1 -1
- package/dist/chunks/{events-j-SJ9Cot.esm.d.ts → events-zF9NDtBD.esm.d.ts} +2 -1
- package/dist/chunks/{index-9YcaEQju.esm.js → index-6iInzwnG.esm.js} +2 -2
- package/dist/chunks/{index-9YcaEQju.esm.js.map → index-6iInzwnG.esm.js.map} +1 -1
- package/dist/chunks/{index-Gz7Q9nUW.esm.js → index-ARSbllRj.esm.js} +2 -2
- package/dist/chunks/{index-Gz7Q9nUW.esm.js.map → index-ARSbllRj.esm.js.map} +1 -1
- package/dist/chunks/{index-3F_Wjm5v.esm.d.ts → index-EjqeU7Mu.esm.d.ts} +1 -1
- package/dist/chunks/index-K0KGNP8F.esm.js +2 -0
- package/dist/chunks/index-K0KGNP8F.esm.js.map +1 -0
- package/dist/chunks/index-QEOW1H_N.esm.js +2 -0
- package/dist/chunks/index-QEOW1H_N.esm.js.map +1 -0
- package/dist/chunks/{index-s8uQH63W.esm.d.ts → index-Tnwxn22c.esm.d.ts} +4 -4
- package/dist/chunks/index-WBPyA_Km.esm.js +2 -0
- package/dist/chunks/index-WBPyA_Km.esm.js.map +1 -0
- package/dist/chunks/{index-vpkWmZo_.esm.js → index-XCQ48s5g.esm.js} +2 -2
- package/dist/chunks/{index-vpkWmZo_.esm.js.map → index-XCQ48s5g.esm.js.map} +1 -1
- package/dist/chunks/index-bhC9kqpF.esm.js +2 -0
- package/dist/chunks/index-bhC9kqpF.esm.js.map +1 -0
- package/dist/chunks/{index-yXqJ9Znv.esm.d.ts → index-cRyQ6D5G.esm.d.ts} +1 -1
- package/dist/chunks/{index-mWnpDGl1.esm.d.ts → index-dDBsHD_s.esm.d.ts} +1 -1
- package/dist/chunks/{index-slrOT8Gd.esm.d.ts → index-iYxrQMxt.esm.d.ts} +1 -1
- package/dist/chunks/{index-Z1UUeVXR.esm.js → index-l7Ao8g5B.esm.js} +2 -2
- package/dist/chunks/{index-Z1UUeVXR.esm.js.map → index-l7Ao8g5B.esm.js.map} +1 -1
- package/dist/chunks/index-nOkYjc29.esm.js +2 -0
- package/dist/chunks/index-nOkYjc29.esm.js.map +1 -0
- package/dist/chunks/{index-WX8Yyx2u.esm.d.ts → index-tqTROh5B.esm.d.ts} +1 -1
- package/dist/chunks/index-ygp7mxoE.esm.js +2 -0
- package/dist/chunks/index-ygp7mxoE.esm.js.map +1 -0
- package/dist/chunks/{lit-yVXn5Cbs.esm.js → lit-HCWbxxT7.esm.js} +4 -4
- package/dist/chunks/{lit-yVXn5Cbs.esm.js.map → lit-HCWbxxT7.esm.js.map} +1 -1
- package/dist/chunks/{localize-pzAAkBvG.esm.js → localize-ZHtlNltZ.esm.js} +2 -2
- package/dist/chunks/{localize-pzAAkBvG.esm.js.map → localize-ZHtlNltZ.esm.js.map} +1 -1
- package/dist/chunks/{localize-GCkVUD8S.esm.js → localize-jRg7W6Ul.esm.js} +2 -2
- package/dist/chunks/{localize-GCkVUD8S.esm.js.map → localize-jRg7W6Ul.esm.js.map} +1 -1
- package/dist/chunks/{openapi-spec-b529HHW3.esm.d.ts → openapi-spec-fxMWpEwU.esm.d.ts} +259 -14
- package/dist/chunks/{order-page-jkuLE25f.esm.d.ts → order-page-AezeN9KY.esm.d.ts} +2 -2
- package/dist/chunks/order-page-QUOh_9GG.esm.js +2 -0
- package/dist/chunks/order-page-QUOh_9GG.esm.js.map +1 -0
- package/dist/chunks/order-page-vbiHdNMi.esm.js +2 -0
- package/dist/chunks/order-page-vbiHdNMi.esm.js.map +1 -0
- package/dist/chunks/{progress-bar-7gWYaGlq.esm.js → progress-bar-9vfd2JYm.esm.js} +2 -2
- package/dist/chunks/{progress-bar-7gWYaGlq.esm.js.map → progress-bar-9vfd2JYm.esm.js.map} +1 -1
- package/dist/chunks/promo-pill-label-3bA1z-la.esm.d.ts +19 -0
- package/dist/chunks/promo-pill-label-vCWNyiaj.esm.js +13 -0
- package/dist/chunks/promo-pill-label-vCWNyiaj.esm.js.map +1 -0
- package/dist/chunks/{responsive-LYEag6TI.esm.js → responsive-Bzkkpj11.esm.js} +2 -2
- package/dist/chunks/{responsive-LYEag6TI.esm.js.map → responsive-Bzkkpj11.esm.js.map} +1 -1
- package/dist/chunks/{routes-ad0I3Ayc.esm.js → routes--kzWvkeF.esm.js} +2 -2
- package/dist/chunks/{routes-ad0I3Ayc.esm.js.map → routes--kzWvkeF.esm.js.map} +1 -1
- package/dist/chunks/{routes-LFjgVNGB.esm.js → routes-ga8DTuUO.esm.js} +2 -2
- package/dist/chunks/{routes-LFjgVNGB.esm.js.map → routes-ga8DTuUO.esm.js.map} +1 -1
- package/dist/chunks/{update-cart-EKZbvT8c.esm.d.ts → update-cart-43LEXveI.esm.d.ts} +1 -1
- package/dist/chunks/{update-cart-vcujKNky.esm.js → update-cart-5I7FDxvc.esm.js} +2 -2
- package/dist/chunks/{update-cart-vcujKNky.esm.js.map → update-cart-5I7FDxvc.esm.js.map} +1 -1
- package/dist/chunks/{update-cart-A2hs4tF8.esm.js → update-cart-Z287MVqH.esm.js} +2 -2
- package/dist/chunks/{update-cart-A2hs4tF8.esm.js.map → update-cart-Z287MVqH.esm.js.map} +1 -1
- package/dist/chunks/{vendor-eeJfrOkP.esm.js → vendor-h5FNKy-G.esm.js} +124 -25
- package/dist/chunks/vendor-h5FNKy-G.esm.js.map +1 -0
- package/dist/components/beam-partner-logos.esm.js +1 -1
- package/dist/components/beam-partner-logos.js +1 -1
- package/dist/components/community-impact.esm.js +1 -1
- package/dist/components/community-impact.js +1 -1
- package/dist/components/cumulative-impact.esm.js +1 -1
- package/dist/components/cumulative-impact.js +1 -1
- package/dist/components/impact-overview.d.ts +12 -0
- package/dist/components/impact-overview.esm.js +2 -2
- package/dist/components/impact-overview.esm.js.map +1 -1
- package/dist/components/impact-overview.js +2 -2
- package/dist/components/impact-overview.js.map +1 -1
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/post-purchase.d.ts +4 -3
- package/dist/components/post-purchase.esm.js +2 -1
- package/dist/components/post-purchase.esm.js.map +1 -1
- package/dist/components/post-purchase.js +2 -1
- package/dist/components/post-purchase.js.map +1 -1
- package/dist/components/redeem-transaction.d.ts +5 -3
- package/dist/components/redeem-transaction.esm.js +60 -38
- package/dist/components/redeem-transaction.esm.js.map +1 -1
- package/dist/components/redeem-transaction.js +60 -38
- package/dist/components/redeem-transaction.js.map +1 -1
- package/dist/components/select-nonprofit.d.ts +14 -3
- package/dist/components/select-nonprofit.esm.js +73 -30
- package/dist/components/select-nonprofit.esm.js.map +1 -1
- package/dist/components/select-nonprofit.js +73 -30
- package/dist/components/select-nonprofit.js.map +1 -1
- package/dist/components/shopify.d.ts +6 -5
- package/dist/components/shopify.esm.js +1 -1
- package/dist/components/shopify.esm.js.map +1 -1
- package/dist/components/shopify.js +1 -1
- package/dist/components/shopify.js.map +1 -1
- package/dist/components/subscription-management.d.ts +14 -3
- package/dist/components/subscription-management.esm.js +1 -1
- package/dist/components/subscription-management.js +1 -1
- package/dist/index.d.ts +12 -11
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/beam.esm.js +1 -1
- package/dist/integrations/beam.js +1 -1
- package/dist/integrations/cart.d.ts +3 -3
- package/dist/integrations/cart.esm.js +1 -1
- package/dist/integrations/cart.js +1 -1
- package/dist/integrations/index.d.ts +10 -9
- package/dist/integrations/index.esm.js +1 -1
- package/dist/integrations/index.js +1 -1
- package/dist/integrations/logs.d.ts +2 -2
- package/dist/integrations/logs.esm.js +1 -1
- package/dist/integrations/logs.js +1 -1
- package/dist/integrations/session.esm.js +1 -1
- package/dist/integrations/session.js +1 -1
- package/dist/integrations/shopify.d.ts +5 -4
- package/dist/integrations/shopify.esm.js +1 -1
- package/dist/integrations/shopify.js +1 -1
- package/dist/integrations/statsig.esm.js +1 -1
- package/dist/integrations/statsig.js +1 -1
- package/dist/integrations/utils.d.ts +3 -3
- package/dist/react/beam-partner-logos.esm.js +1 -1
- package/dist/react/beam-partner-logos.js +1 -1
- package/dist/react/community-impact.esm.js +1 -1
- package/dist/react/community-impact.js +1 -1
- package/dist/react/cumulative-impact.esm.js +1 -1
- package/dist/react/cumulative-impact.js +1 -1
- package/dist/react/impact-overview.esm.js +1 -1
- package/dist/react/impact-overview.js +1 -1
- package/dist/react/index.d.ts +4 -3
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +3 -2
- package/dist/react/post-purchase.esm.js +1 -1
- package/dist/react/post-purchase.esm.js.map +1 -1
- package/dist/react/post-purchase.js +1 -1
- package/dist/react/post-purchase.js.map +1 -1
- package/dist/react/redeem-transaction.d.ts +4 -3
- package/dist/react/redeem-transaction.esm.js +1 -1
- package/dist/react/redeem-transaction.esm.js.map +1 -1
- package/dist/react/redeem-transaction.js +1 -1
- package/dist/react/redeem-transaction.js.map +1 -1
- package/dist/react/select-nonprofit.d.ts +4 -3
- package/dist/react/select-nonprofit.esm.js +1 -1
- package/dist/react/select-nonprofit.esm.js.map +1 -1
- package/dist/react/select-nonprofit.js +1 -1
- package/dist/react/select-nonprofit.js.map +1 -1
- package/dist/react/subscription-management.d.ts +2 -2
- package/dist/react/subscription-management.esm.js +1 -1
- package/dist/react/subscription-management.js +1 -1
- package/dist/utils/events.d.ts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/chunks/_share-dialog-dependencies-FheD3_vQ.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-FheD3_vQ.esm.js.map +0 -1
- package/dist/chunks/_share-dialog-dependencies-l35ECwOP.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-l35ECwOP.esm.js.map +0 -1
- package/dist/chunks/index-B2oj1JKu.esm.js +0 -2
- package/dist/chunks/index-B2oj1JKu.esm.js.map +0 -1
- package/dist/chunks/index-E_HMWZ2A.esm.js +0 -2
- package/dist/chunks/index-E_HMWZ2A.esm.js.map +0 -1
- package/dist/chunks/index-JsXH5Lnc.esm.js +0 -2
- package/dist/chunks/index-JsXH5Lnc.esm.js.map +0 -1
- package/dist/chunks/index-RDKeoKqc.esm.js +0 -2
- package/dist/chunks/index-RDKeoKqc.esm.js.map +0 -1
- package/dist/chunks/index-VGoZaoVm.esm.js +0 -2
- package/dist/chunks/index-VGoZaoVm.esm.js.map +0 -1
- package/dist/chunks/index-xYLcuL6Z.esm.js +0 -2
- package/dist/chunks/index-xYLcuL6Z.esm.js.map +0 -1
- package/dist/chunks/order-page-9B0nZVh1.esm.js +0 -2
- package/dist/chunks/order-page-9B0nZVh1.esm.js.map +0 -1
- package/dist/chunks/order-page-yM2h67MI.esm.js +0 -2
- package/dist/chunks/order-page-yM2h67MI.esm.js.map +0 -1
- package/dist/chunks/vendor-eeJfrOkP.esm.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as h,g as o,t as p,h as g,y as d}from"../chunks/lit-
|
|
1
|
+
import{f as h,g as o,t as p,h as g,y as d}from"../chunks/lit-HCWbxxT7.esm.js";import{D as f,e as y,f as w}from"../chunks/routes-ga8DTuUO.esm.js";import{c as S,d as v,A as u,e as b,a as C,_ as m}from"../chunks/enforce-config-7R9KCF_i.esm.js";import{c as x}from"../chunks/events-Y8fYvSqM.esm.js";import{M as N}from"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";const I={en:{nonprofitSwapText:({brandName:i=""})=>`Support a new nonprofit with your next ${i} recurring order`},fr:{nonprofitSwapText:({brandName:i=""})=>`Soutenez une nouvelle organisation \xE0 but non lucratif avec votre prochaine commande r\xE9currente ${i}`},de:{nonprofitSwapText:({brandName:i=""})=>`Unterst\xFCtzen Sie eine neue gemeinn\xFCtzige Organisation mit Ihrer n\xE4chsten wiederkehrenden Bestellung bei ${i}`},es:{nonprofitSwapText:({brandName:i=""})=>`Apoye a una nueva organizaci\xF3n sin fines de lucro con su pr\xF3ximo pedido recurrente ${i}`},it:{nonprofitSwapText:({brandName:i=""})=>`Sostieni una nuova organizzazione non profit con il tuo prossimo ordine ricorrente ${i}`},pl:{nonprofitSwapText:({brandName:i=""})=>`Wesprzyj now\u0105 organizacj\u0119 non-profit przy kolejnym zam\xF3wieniu cyklicznym ${i}`}};var M=Object.defineProperty,$=Object.getOwnPropertyDescriptor,n=(i,t,r,a)=>{for(var s=a>1?void 0:a?$(t,r):t,l=i.length-1,c;l>=0;l--)(c=i[l])&&(s=(a?c(t,r,s):c(s))||s);return a&&s&&M(t,r,s),s};class e extends g{constructor(){super(...arguments),this.baseUrl=f,this.lang="en",this.debug=!1,this.activeWidget=null,this.nonprofitId=null,this.userId=null,this.chainName=null,this.subscriptionDataController=new u(this,this.fetchSubscription),this.eligibleNonprofitsDataController=new u(this,this.fetchEligibleNonprofits)}async firstUpdated(){if(!this.email&&!this.partnerUserId)throw new N(["email","partnerUserId"],"One of the following properties needs to be specified: email, partnerUserId ");b(["apiKey","subscriptionId"],this),await this.loadWidget()}async loadWidget(){await Promise.all([this.fetchEligibleNonprofits(),this.fetchSubscription()]),this.activeWidget=this.nonprofitId?"impact-overview":"redeem-transaction"}async fetchEligibleNonprofits(){b(["apiKey","subscriptionId"],this);const t=await y({baseUrl:this.baseUrl,headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{storeId:this.storeId||void 0,postalCode:this.postalCode||void 0,countryCode:this.countryCode||void 0,widgetName:"subscription-management",version:"1.0.0"}});return this.chainName=t.chain.name,this.storeId=t.store.id,this.eligibleNonprofitsDataController.data=t,t}async fetchSubscription(){b(["apiKey","subscriptionId"],this);const t=await w({baseUrl:this.baseUrl,headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{remoteSubscriptionId:this.subscriptionId,email:this.email,partnerUserId:this.partnerUserId}});return this.userId=t.beamUserId,this.nonprofitId=t.nonprofit?.id||null,t}handleSwapNonprofitButtonClick(){this.activeWidget="redeem-transaction"}renderSwapNonprofitButton(){return this.activeWidget==="impact-overview"?d`<button class="swap-nonprofit-button" @click="${this.handleSwapNonprofitButtonClick}">
|
|
2
2
|
${I[this.lang].nonprofitSwapText({brandName:this.chainName||""})}
|
|
3
3
|
</button>`:""}get cssVariables(){const t={"--beam-fontFamily":"inherit","--beam-fontStyle":"inherit","--beam-fontSize":"inherit","--beam-textColor":"inherit","--beam-backgroundColor":"inherit","--beam-SubscriptionManagement-widgetContainer-borderColor":"#d5d5d5","--beam-SubscriptionManagement-widgetContainer-borderRadius":"4px","--beam-SubscriptionManagement-widgetContainer-padding":"15px","--beam-SubscriptionManagement-widgetContainer-backgroundColor":"inherit","--beam-SubscriptionManagement-widgetContainer-maxWidth":"800px","--beam-SubscriptionManagement-swapNonprofitButtonText-textDecoration":"underline","--beam-SubscriptionManagement-swapNonprofitButtonText-fontFamily":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-fontStyle":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-fontWeight":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-lineHeight":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-marginTop":"10px","--beam-SubscriptionManagement-swapNonprofitButtonText-fontSize":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-color":"inherit"},r=this.eligibleNonprofitsDataController?.data?.config?.web?.theme||{},a={...t,...r};return Object.assign(Object.create({toCSS(){return C(this)}}),a)}render(){let t;if((this.subscriptionDataController.loading||this.eligibleNonprofitsDataController.loading)&&(t=""),(this.subscriptionDataController.error||this.eligibleNonprofitsDataController.error)&&this.debug){if(this.subscriptionDataController.error!==null)return m({error:this.subscriptionDataController.error});if(this.eligibleNonprofitsDataController.error!==null)return m({error:this.eligibleNonprofitsDataController.error})}else t="";return this.activeWidget==="redeem-transaction"?t=d` <beam-redeem-transaction
|
|
4
4
|
part="redeem-transaction"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as h,g as o,t as p,h as g,y as d}from"../chunks/lit-
|
|
1
|
+
import{f as h,g as o,t as p,h as g,y as d}from"../chunks/lit-HCWbxxT7.esm.js";import{D as f,e as y,f as w}from"../chunks/routes--kzWvkeF.esm.js";import{c as S,d as v,A as u,e as b,a as C,_ as m}from"../chunks/enforce-config-iFdf1QkH.esm.js";import{c as x}from"../chunks/events-Y8fYvSqM.esm.js";import{M as N}from"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";const I={en:{nonprofitSwapText:({brandName:i=""})=>`Support a new nonprofit with your next ${i} recurring order`},fr:{nonprofitSwapText:({brandName:i=""})=>`Soutenez une nouvelle organisation \xE0 but non lucratif avec votre prochaine commande r\xE9currente ${i}`},de:{nonprofitSwapText:({brandName:i=""})=>`Unterst\xFCtzen Sie eine neue gemeinn\xFCtzige Organisation mit Ihrer n\xE4chsten wiederkehrenden Bestellung bei ${i}`},es:{nonprofitSwapText:({brandName:i=""})=>`Apoye a una nueva organizaci\xF3n sin fines de lucro con su pr\xF3ximo pedido recurrente ${i}`},it:{nonprofitSwapText:({brandName:i=""})=>`Sostieni una nuova organizzazione non profit con il tuo prossimo ordine ricorrente ${i}`},pl:{nonprofitSwapText:({brandName:i=""})=>`Wesprzyj now\u0105 organizacj\u0119 non-profit przy kolejnym zam\xF3wieniu cyklicznym ${i}`}};var M=Object.defineProperty,$=Object.getOwnPropertyDescriptor,n=(i,t,r,a)=>{for(var s=a>1?void 0:a?$(t,r):t,l=i.length-1,c;l>=0;l--)(c=i[l])&&(s=(a?c(t,r,s):c(s))||s);return a&&s&&M(t,r,s),s};class e extends g{constructor(){super(...arguments),this.baseUrl=f,this.lang="en",this.debug=!1,this.activeWidget=null,this.nonprofitId=null,this.userId=null,this.chainName=null,this.subscriptionDataController=new u(this,this.fetchSubscription),this.eligibleNonprofitsDataController=new u(this,this.fetchEligibleNonprofits)}async firstUpdated(){if(!this.email&&!this.partnerUserId)throw new N(["email","partnerUserId"],"One of the following properties needs to be specified: email, partnerUserId ");b(["apiKey","subscriptionId"],this),await this.loadWidget()}async loadWidget(){await Promise.all([this.fetchEligibleNonprofits(),this.fetchSubscription()]),this.activeWidget=this.nonprofitId?"impact-overview":"redeem-transaction"}async fetchEligibleNonprofits(){b(["apiKey","subscriptionId"],this);const t=await y({baseUrl:this.baseUrl,headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{storeId:this.storeId||void 0,postalCode:this.postalCode||void 0,countryCode:this.countryCode||void 0,widgetName:"subscription-management",version:"1.0.0"}});return this.chainName=t.chain.name,this.storeId=t.store.id,this.eligibleNonprofitsDataController.data=t,t}async fetchSubscription(){b(["apiKey","subscriptionId"],this);const t=await w({baseUrl:this.baseUrl,headers:{authorization:`Api-Key ${this.apiKey}`},requestBody:{remoteSubscriptionId:this.subscriptionId,email:this.email,partnerUserId:this.partnerUserId}});return this.userId=t.beamUserId,this.nonprofitId=t.nonprofit?.id||null,t}handleSwapNonprofitButtonClick(){this.activeWidget="redeem-transaction"}renderSwapNonprofitButton(){return this.activeWidget==="impact-overview"?d`<button class="swap-nonprofit-button" @click="${this.handleSwapNonprofitButtonClick}">
|
|
2
2
|
${I[this.lang].nonprofitSwapText({brandName:this.chainName||""})}
|
|
3
3
|
</button>`:""}get cssVariables(){const t={"--beam-fontFamily":"inherit","--beam-fontStyle":"inherit","--beam-fontSize":"inherit","--beam-textColor":"inherit","--beam-backgroundColor":"inherit","--beam-SubscriptionManagement-widgetContainer-borderColor":"#d5d5d5","--beam-SubscriptionManagement-widgetContainer-borderRadius":"4px","--beam-SubscriptionManagement-widgetContainer-padding":"15px","--beam-SubscriptionManagement-widgetContainer-backgroundColor":"inherit","--beam-SubscriptionManagement-widgetContainer-maxWidth":"800px","--beam-SubscriptionManagement-swapNonprofitButtonText-textDecoration":"underline","--beam-SubscriptionManagement-swapNonprofitButtonText-fontFamily":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-fontStyle":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-fontWeight":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-lineHeight":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-marginTop":"10px","--beam-SubscriptionManagement-swapNonprofitButtonText-fontSize":"inherit","--beam-SubscriptionManagement-swapNonprofitButtonText-color":"inherit"},r=this.eligibleNonprofitsDataController?.data?.config?.web?.theme||{},a={...t,...r};return Object.assign(Object.create({toCSS(){return C(this)}}),a)}render(){let t;if((this.subscriptionDataController.loading||this.eligibleNonprofitsDataController.loading)&&(t=""),(this.subscriptionDataController.error||this.eligibleNonprofitsDataController.error)&&this.debug){if(this.subscriptionDataController.error!==null)return m({error:this.subscriptionDataController.error});if(this.eligibleNonprofitsDataController.error!==null)return m({error:this.eligibleNonprofitsDataController.error})}else t="";return this.activeWidget==="redeem-transaction"?t=d` <beam-redeem-transaction
|
|
4
4
|
part="redeem-transaction"
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as WebComponents } from './chunks/index-oLz4lmx2.esm.js';
|
|
2
|
-
export { i as Integrations } from './chunks/index-
|
|
2
|
+
export { i as Integrations } from './chunks/index-Tnwxn22c.esm.js';
|
|
3
3
|
export { i as ReactComponents } from './chunks/index-6t9MtjyS.esm.js';
|
|
4
|
-
export { i as Utils } from './chunks/index-
|
|
4
|
+
export { i as Utils } from './chunks/index-iYxrQMxt.esm.js';
|
|
5
5
|
import './components/community-impact.js';
|
|
6
6
|
import 'lit';
|
|
7
7
|
import 'lit-html';
|
|
@@ -13,14 +13,15 @@ import './components/cumulative-impact.js';
|
|
|
13
13
|
import 'lodash';
|
|
14
14
|
import './components/impact-overview.js';
|
|
15
15
|
import './components/select-nonprofit.js';
|
|
16
|
-
import './chunks/
|
|
17
|
-
import './chunks/
|
|
16
|
+
import './chunks/promo-pill-label-3bA1z-la.esm.js';
|
|
17
|
+
import './chunks/cart-contents-dKdDg09p.esm.js';
|
|
18
|
+
import './chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
18
19
|
import './components/redeem-transaction.js';
|
|
19
20
|
import './components/post-purchase.js';
|
|
20
21
|
import './components/subscription-management.js';
|
|
21
|
-
import './chunks/index-
|
|
22
|
+
import './chunks/index-dDBsHD_s.esm.js';
|
|
22
23
|
import './chunks/beam-errors-fXDkG1zo.esm.js';
|
|
23
|
-
import './chunks/events-
|
|
24
|
+
import './chunks/events-zF9NDtBD.esm.js';
|
|
24
25
|
import './utils/logger.js';
|
|
25
26
|
import './utils/network-listeners.js';
|
|
26
27
|
import './utils/local-storage.js';
|
|
@@ -30,12 +31,12 @@ import './utils/remote-session.js';
|
|
|
30
31
|
import './utils/memoize-last.js';
|
|
31
32
|
import 'lodash-es/debounce';
|
|
32
33
|
import 'lodash-es/isEqual';
|
|
33
|
-
import './chunks/index-
|
|
34
|
-
import './chunks/order-page-
|
|
35
|
-
import './chunks/update-cart-
|
|
34
|
+
import './chunks/index-EjqeU7Mu.esm.js';
|
|
35
|
+
import './chunks/order-page-AezeN9KY.esm.js';
|
|
36
|
+
import './chunks/update-cart-43LEXveI.esm.js';
|
|
36
37
|
import './chunks/index-EGiUuWe-.esm.js';
|
|
37
|
-
import './chunks/index-
|
|
38
|
-
import './chunks/index-
|
|
38
|
+
import './chunks/index-tqTROh5B.esm.js';
|
|
39
|
+
import './chunks/index-cRyQ6D5G.esm.js';
|
|
39
40
|
import './react/community-impact.js';
|
|
40
41
|
import '@lit/react';
|
|
41
42
|
import './react/cumulative-impact.js';
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as S}from"./chunks/index-5yFqo0yl.esm.js";import{i as V}from"./chunks/index-QEOW1H_N.esm.js";import{i as Y}from"./chunks/index-o7YiP4gC.esm.js";import{i as _}from"./chunks/index-Lw32NXij.esm.js";import"./components/community-impact.esm.js";import"./chunks/lit-HCWbxxT7.esm.js";import"./chunks/progress-bar-9vfd2JYm.esm.js";import"./components/beam-partner-logos.esm.js";import"./chunks/enforce-config-7R9KCF_i.esm.js";import"./chunks/beam-errors-P-Lu07Ce.esm.js";import"./utils/logger.esm.js";import"./chunks/routes-ga8DTuUO.esm.js";import"./chunks/localize-jRg7W6Ul.esm.js";import"./chunks/css-card-grid-inRnKSWs.esm.js";import"./components/cumulative-impact.esm.js";import"./chunks/lodash-P8OIs-at.esm.js";import"./chunks/is-all-html-elements-SdSkxirh.esm.js";import"./components/impact-overview.esm.js";import"./chunks/vendor-h5FNKy-G.esm.js";import"./chunks/responsive-Bzkkpj11.esm.js";import"./components/select-nonprofit.esm.js";import"./chunks/promo-pill-label-vCWNyiaj.esm.js";import"./chunks/events-Y8fYvSqM.esm.js";import"./utils/network-listeners.esm.js";import"./utils/local-storage.esm.js";import"./utils/cookies.esm.js";import"./chunks/cart-contents-h60geKWa.esm.js";import"./components/redeem-transaction.esm.js";import"./components/post-purchase.esm.js";import"./components/subscription-management.esm.js";import"./chunks/index-8yrr7ZZv.esm.js";import"./utils/wait-for-element.esm.js";import"./utils/remote-session.esm.js";import"./utils/memoize-last.esm.js";import"./chunks/index-bhC9kqpF.esm.js";import"./chunks/order-page-QUOh_9GG.esm.js";import"./chunks/update-cart-Z287MVqH.esm.js";import"./chunks/index-6iInzwnG.esm.js";import"./chunks/index-K0KGNP8F.esm.js";import"./chunks/index-XCQ48s5g.esm.js";import"./react/community-impact.esm.js";import"react";import"./react/cumulative-impact.esm.js";import"./react/impact-overview.esm.js";import"./react/select-nonprofit.esm.js";import"./react/redeem-transaction.esm.js";import"./react/post-purchase.esm.js";import"./react/subscription-management.esm.js";export{V as Integrations,Y as ReactComponents,_ as Utils,S as WebComponents};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as S}from"./chunks/index-IzAvjker.esm.js";import{i as V}from"./chunks/index-nOkYjc29.esm.js";import{i as Y}from"./chunks/index-EHubF2KN.esm.js";import{i as _}from"./chunks/index-uF-Qtewb.esm.js";import"./components/community-impact.js";import"./chunks/lit-HCWbxxT7.esm.js";import"./chunks/progress-bar-9vfd2JYm.esm.js";import"./components/beam-partner-logos.js";import"./chunks/enforce-config-iFdf1QkH.esm.js";import"./chunks/beam-errors-P-Lu07Ce.esm.js";import"./utils/logger.js";import"./chunks/routes--kzWvkeF.esm.js";import"./chunks/localize-ZHtlNltZ.esm.js";import"./chunks/css-card-grid-inRnKSWs.esm.js";import"./components/cumulative-impact.js";import"./chunks/lodash-P8OIs-at.esm.js";import"./chunks/is-all-html-elements-SdSkxirh.esm.js";import"./components/impact-overview.js";import"./chunks/vendor-h5FNKy-G.esm.js";import"./chunks/responsive-Bzkkpj11.esm.js";import"./components/select-nonprofit.js";import"./chunks/promo-pill-label-vCWNyiaj.esm.js";import"./chunks/events-Y8fYvSqM.esm.js";import"./utils/network-listeners.js";import"./utils/local-storage.js";import"./utils/cookies.js";import"./chunks/cart-contents-h60geKWa.esm.js";import"./components/redeem-transaction.js";import"./components/post-purchase.js";import"./components/subscription-management.js";import"./chunks/index-phDmC-TS.esm.js";import"./utils/wait-for-element.js";import"./utils/remote-session.js";import"./utils/memoize-last.js";import"./chunks/index-WBPyA_Km.esm.js";import"./chunks/order-page-vbiHdNMi.esm.js";import"./chunks/update-cart-5I7FDxvc.esm.js";import"./chunks/index-l7Ao8g5B.esm.js";import"./chunks/index-ygp7mxoE.esm.js";import"./chunks/index-ARSbllRj.esm.js";import"./react/community-impact.js";import"react";import"./react/cumulative-impact.js";import"./react/impact-overview.js";import"./react/select-nonprofit.js";import"./react/redeem-transaction.js";import"./react/post-purchase.js";import"./react/subscription-management.js";export{V as Integrations,Y as ReactComponents,_ as Utils,S as WebComponents};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{D as u,a as g}from"../chunks/routes-
|
|
1
|
+
import{D as u,a as g}from"../chunks/routes-ga8DTuUO.esm.js";import{S as y}from"../chunks/beam-errors-P-Lu07Ce.esm.js";import{B as h}from"../chunks/events-Y8fYvSqM.esm.js";import{logger as w}from"../utils/logger.esm.js";import{s as f}from"../chunks/index-XCQ48s5g.esm.js";var v=(t,s,a)=>{if(!s.has(t))throw TypeError("Cannot "+a)},c=(t,s,a)=>{if(s.has(t))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(t):s.set(t,a)},i=(t,s,a)=>(v(t,s,"access private method"),a),r,n,o,m;let p,l;const E=new Promise((t,s)=>{p=t,l=s});class U extends EventTarget{constructor(s){super(),c(this,r),c(this,o),this.readyPromise=E,this.plugins={},this.status="pending",i(this,r,n).call(this,s)}async init(s){i(this,r,n).call(this,s);try{await i(this,o,m).call(this,s)}catch(a){const e=new y;throw e.cause=a,this.status="error",this.dispatchEvent(new h({status:"error",error:e})),l(e),w.error(e),this.apiKey&&await f({apiKey:this.apiKey,baseUrl:this.logUrl},{type:"error",code:e.name,metadata:{message:e.message,cause:a?.message}}),a}return this.status="ready",this.dispatchEvent(new h({status:"ready"})),p(!0),this}}r=new WeakSet,n=function(t){this.apiKey=t.apiKey,this.chainId=t.chainId,this.storeId=t.storeId,this.domain=t.domain,this.baseUrl=t.baseUrl||u,this.logUrl=t.logUrl||g},o=new WeakSet,m=async function(t){const s=(t.plugins||[]).map(async a=>(await a.init(t),this.plugins[a.name]=a,a));return Promise.all(s)};const d=new U({}),S=t=>d.init(t),L=()=>d;export{L as getConfig,S as init};
|
|
2
2
|
//# sourceMappingURL=beam.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{D as u,a as g}from"../chunks/routes
|
|
1
|
+
import{D as u,a as g}from"../chunks/routes--kzWvkeF.esm.js";import{S as y}from"../chunks/beam-errors-P-Lu07Ce.esm.js";import{B as h}from"../chunks/events-Y8fYvSqM.esm.js";import{logger as w}from"../utils/logger.js";import{s as f}from"../chunks/index-ARSbllRj.esm.js";var v=(t,s,a)=>{if(!s.has(t))throw TypeError("Cannot "+a)},c=(t,s,a)=>{if(s.has(t))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(t):s.set(t,a)},i=(t,s,a)=>(v(t,s,"access private method"),a),r,n,o,m;let p,l;const E=new Promise((t,s)=>{p=t,l=s});class U extends EventTarget{constructor(s){super(),c(this,r),c(this,o),this.readyPromise=E,this.plugins={},this.status="pending",i(this,r,n).call(this,s)}async init(s){i(this,r,n).call(this,s);try{await i(this,o,m).call(this,s)}catch(a){const e=new y;throw e.cause=a,this.status="error",this.dispatchEvent(new h({status:"error",error:e})),l(e),w.error(e),this.apiKey&&await f({apiKey:this.apiKey,baseUrl:this.logUrl},{type:"error",code:e.name,metadata:{message:e.message,cause:a?.message}}),a}return this.status="ready",this.dispatchEvent(new h({status:"ready"})),p(!0),this}}r=new WeakSet,n=function(t){this.apiKey=t.apiKey,this.chainId=t.chainId,this.storeId=t.storeId,this.domain=t.domain,this.baseUrl=t.baseUrl||u,this.logUrl=t.logUrl||g},o=new WeakSet,m=async function(t){const s=(t.plugins||[]).map(async a=>(await a.init(t),this.plugins[a.name]=a,a));return Promise.all(s)};const d=new U({}),S=t=>d.init(t),L=()=>d;export{L as getConfig,S as init};
|
|
2
2
|
//# sourceMappingURL=beam.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BeamCartAPIConfig, a as BeamCartValues, u as updateCart } from '../chunks/update-cart-
|
|
1
|
+
export { B as BeamCartAPIConfig, a as BeamCartValues, u as updateCart } from '../chunks/update-cart-43LEXveI.esm.js';
|
|
2
2
|
import 'lodash';
|
|
3
3
|
import '../chunks/types-aju0qrRe.esm.js';
|
|
4
|
-
import '../chunks/cart-contents-
|
|
5
|
-
import '../chunks/openapi-spec-
|
|
4
|
+
import '../chunks/cart-contents-dKdDg09p.esm.js';
|
|
5
|
+
import '../chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{x as C}from"../chunks/update-cart-
|
|
1
|
+
import{x as C}from"../chunks/update-cart-Z287MVqH.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/routes-ga8DTuUO.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../utils/cookies.esm.js";import"../utils/remote-session.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";export{C as updateCart};
|
|
2
2
|
//# sourceMappingURL=cart.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{x as C}from"../chunks/update-cart-
|
|
1
|
+
import{x as C}from"../chunks/update-cart-5I7FDxvc.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/routes--kzWvkeF.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../utils/cookies.js";import"../utils/remote-session.js";import"../utils/memoize-last.js";import"../chunks/cart-contents-h60geKWa.esm.js";export{C as updateCart};
|
|
2
2
|
//# sourceMappingURL=cart.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { i as Utils } from '../chunks/index-
|
|
2
|
-
export { i as Shopify } from '../chunks/index-
|
|
1
|
+
export { i as Utils } from '../chunks/index-dDBsHD_s.esm.js';
|
|
2
|
+
export { i as Shopify } from '../chunks/index-EjqeU7Mu.esm.js';
|
|
3
3
|
export { i as Session } from '../chunks/index-EGiUuWe-.esm.js';
|
|
4
|
-
export { i as Cart } from '../chunks/index-
|
|
5
|
-
export { i as Logs } from '../chunks/index-
|
|
4
|
+
export { i as Cart } from '../chunks/index-tqTROh5B.esm.js';
|
|
5
|
+
export { i as Logs } from '../chunks/index-cRyQ6D5G.esm.js';
|
|
6
6
|
import '../chunks/beam-errors-fXDkG1zo.esm.js';
|
|
7
|
-
import '../chunks/events-
|
|
8
|
-
import '../chunks/cart-contents-
|
|
9
|
-
import '../chunks/openapi-spec-
|
|
7
|
+
import '../chunks/events-zF9NDtBD.esm.js';
|
|
8
|
+
import '../chunks/cart-contents-dKdDg09p.esm.js';
|
|
9
|
+
import '../chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
10
10
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
11
11
|
import '../utils/logger.js';
|
|
12
12
|
import '../utils/network-listeners.js';
|
|
@@ -17,14 +17,15 @@ import '../utils/remote-session.js';
|
|
|
17
17
|
import '../utils/memoize-last.js';
|
|
18
18
|
import 'lodash-es/debounce';
|
|
19
19
|
import 'lodash-es/isEqual';
|
|
20
|
-
import '../chunks/order-page-
|
|
20
|
+
import '../chunks/order-page-AezeN9KY.esm.js';
|
|
21
21
|
import 'lodash';
|
|
22
|
-
import '../chunks/update-cart-
|
|
22
|
+
import '../chunks/update-cart-43LEXveI.esm.js';
|
|
23
23
|
import '../chunks/types-aju0qrRe.esm.js';
|
|
24
24
|
import '../components/post-purchase.js';
|
|
25
25
|
import 'lit';
|
|
26
26
|
import 'lit-html';
|
|
27
27
|
import '../components/redeem-transaction.js';
|
|
28
28
|
import '../chunks/progress-bar-0VS_AmEf.esm.js';
|
|
29
|
+
import '../chunks/promo-pill-label-3bA1z-la.esm.js';
|
|
29
30
|
import '../components/beam-partner-logos.js';
|
|
30
31
|
import '../components/impact-overview.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as z}from"../chunks/index-8yrr7ZZv.esm.js";import{i as B}from"../chunks/index-bhC9kqpF.esm.js";import{i as E}from"../chunks/index-6iInzwnG.esm.js";import{i as G}from"../chunks/index-K0KGNP8F.esm.js";import{i as I}from"../chunks/index-XCQ48s5g.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../utils/logger.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../utils/wait-for-element.esm.js";import"../utils/cookies.esm.js";import"../utils/remote-session.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/order-page-QUOh_9GG.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-Z287MVqH.esm.js";import"../chunks/routes-ga8DTuUO.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-HCWbxxT7.esm.js";import"../chunks/enforce-config-7R9KCF_i.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../chunks/promo-pill-label-vCWNyiaj.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-jRg7W6Ul.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";import"../components/impact-overview.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";export{G as Cart,I as Logs,E as Session,B as Shopify,z as Utils};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as z}from"../chunks/index-phDmC-TS.esm.js";import{i as B}from"../chunks/index-WBPyA_Km.esm.js";import{i as E}from"../chunks/index-l7Ao8g5B.esm.js";import{i as G}from"../chunks/index-ygp7mxoE.esm.js";import{i as I}from"../chunks/index-ARSbllRj.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../utils/logger.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../utils/wait-for-element.js";import"../utils/cookies.js";import"../utils/remote-session.js";import"../utils/memoize-last.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/order-page-vbiHdNMi.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-5I7FDxvc.esm.js";import"../chunks/routes--kzWvkeF.esm.js";import"../components/post-purchase.js";import"../chunks/lit-HCWbxxT7.esm.js";import"../chunks/enforce-config-iFdf1QkH.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../chunks/promo-pill-label-vCWNyiaj.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-ZHtlNltZ.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";import"../components/impact-overview.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";export{G as Cart,I as Logs,E as Session,B as Shopify,z as Utils};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../chunks/openapi-spec-
|
|
2
|
-
export { s as sendLog } from '../chunks/index-
|
|
1
|
+
import '../chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
2
|
+
export { s as sendLog } from '../chunks/index-cRyQ6D5G.esm.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunks/routes-
|
|
1
|
+
import"../chunks/routes-ga8DTuUO.esm.js";import"../utils/logger.esm.js";import{s as i}from"../chunks/index-XCQ48s5g.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";export{i as sendLog};
|
|
2
2
|
//# sourceMappingURL=logs.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunks/routes
|
|
1
|
+
import"../chunks/routes--kzWvkeF.esm.js";import"../utils/logger.js";import{s as i}from"../chunks/index-ARSbllRj.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";export{i as sendLog};
|
|
2
2
|
//# sourceMappingURL=logs.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunks/vendor-
|
|
1
|
+
import"../chunks/vendor-h5FNKy-G.esm.js";import"../utils/cookies.esm.js";import"../utils/local-storage.esm.js";import{c as a,e as n}from"../chunks/index-6iInzwnG.esm.js";import"../chunks/lit-HCWbxxT7.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";export{a as createSession,n as endSession};
|
|
2
2
|
//# sourceMappingURL=session.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunks/vendor-
|
|
1
|
+
import"../chunks/vendor-h5FNKy-G.esm.js";import"../utils/cookies.js";import"../utils/local-storage.js";import{c as a,e as n}from"../chunks/index-l7Ao8g5B.esm.js";import"../chunks/lit-HCWbxxT7.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";export{a as createSession,n as endSession};
|
|
2
2
|
//# sourceMappingURL=session.js.map
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
export { T as TBeamOrderPageParams, a as addBeamAttributesToCart, g as getCurrentCart, r as registerCartIntegration, s as showBeamOrderPageWidgets, t as trackCart } from '../chunks/order-page-
|
|
1
|
+
export { T as TBeamOrderPageParams, a as addBeamAttributesToCart, g as getCurrentCart, r as registerCartIntegration, s as showBeamOrderPageWidgets, t as trackCart } from '../chunks/order-page-AezeN9KY.esm.js';
|
|
2
2
|
import 'lodash';
|
|
3
|
-
import '../chunks/update-cart-
|
|
3
|
+
import '../chunks/update-cart-43LEXveI.esm.js';
|
|
4
4
|
import '../chunks/types-aju0qrRe.esm.js';
|
|
5
|
-
import '../chunks/cart-contents-
|
|
6
|
-
import '../chunks/openapi-spec-
|
|
5
|
+
import '../chunks/cart-contents-dKdDg09p.esm.js';
|
|
6
|
+
import '../chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
7
7
|
import '../components/post-purchase.js';
|
|
8
8
|
import 'lit';
|
|
9
9
|
import 'lit-html';
|
|
10
10
|
import '../components/redeem-transaction.js';
|
|
11
11
|
import '../chunks/progress-bar-0VS_AmEf.esm.js';
|
|
12
|
+
import '../chunks/promo-pill-label-3bA1z-la.esm.js';
|
|
12
13
|
import '../components/beam-partner-logos.js';
|
|
13
14
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
14
15
|
import '../components/impact-overview.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{f as
|
|
1
|
+
import{f as W,p as j,P as l,s as q,R as v}from"../chunks/order-page-QUOh_9GG.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../utils/logger.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/cookies.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-Z287MVqH.esm.js";import"../chunks/routes-ga8DTuUO.esm.js";import"../utils/remote-session.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-HCWbxxT7.esm.js";import"../chunks/enforce-config-7R9KCF_i.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../chunks/promo-pill-label-vCWNyiaj.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-jRg7W6Ul.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";import"../components/impact-overview.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";import"../utils/wait-for-element.esm.js";export{W as addBeamAttributesToCart,j as getCurrentCart,l as registerCartIntegration,q as showBeamOrderPageWidgets,v as trackCart};
|
|
2
2
|
//# sourceMappingURL=shopify.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{f as
|
|
1
|
+
import{f as W,p as j,P as l,s as q,R as v}from"../chunks/order-page-vbiHdNMi.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../utils/logger.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/cookies.js";import"../utils/memoize-last.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../chunks/update-cart-5I7FDxvc.esm.js";import"../chunks/routes--kzWvkeF.esm.js";import"../utils/remote-session.js";import"../components/post-purchase.js";import"../chunks/lit-HCWbxxT7.esm.js";import"../chunks/enforce-config-iFdf1QkH.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../chunks/promo-pill-label-vCWNyiaj.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-ZHtlNltZ.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";import"../components/impact-overview.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";import"../utils/wait-for-element.js";export{W as addBeamAttributesToCart,j as getCurrentCart,l as registerCartIntegration,q as showBeamOrderPageWidgets,v as trackCart};
|
|
2
2
|
//# sourceMappingURL=shopify.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as R}from"../chunks/routes-
|
|
1
|
+
import{p as R}from"../chunks/routes-ga8DTuUO.esm.js";import{B as M}from"../chunks/cart-contents-h60geKWa.esm.js";import{a as D,b as O,c as W}from"../chunks/events-Y8fYvSqM.esm.js";import{B as m}from"../chunks/beam-errors-P-Lu07Ce.esm.js";import{getCookieValue as f,setCookieValue as $}from"../utils/cookies.esm.js";import{logger as C}from"../utils/logger.esm.js";import{saveRemoteSession as K}from"../utils/remote-session.esm.js";import"../utils/local-storage.esm.js";var w=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},d=(e,t,i)=>(w(e,t,"read from private field"),i?i.call(e):t.get(e)),n=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},_=(e,t,i,s)=>(w(e,t,"write to private field"),s?s.call(e,i):t.set(e,i),i),r=(e,t,i)=>(w(e,t,"access private method"),i),h,c,E,T,b,A,l,v,B,g,S,y,L,I,k;const P=4,j=`https://cdn.jsdelivr.net/npm/statsig-js@${P}/build/statsig-prod-web-sdk.min.js`,x="beam_statsig_session_id",o="data-beam-visibility",z="beam-sync-visibility",p={STATSIG_INIT:"statsig_init",CART_CREATED:"cart_created",ORDER_CREATED:"order_created",BEAM_SELECTION:"beam_selection"};class G{constructor(t){n(this,E),n(this,b),n(this,v),n(this,g),n(this,y),n(this,I),this.name="statsig",this.experiments={shouldShowBeam:!1,isLoggingEnabled:!0},n(this,h,void 0),n(this,c,void 0),n(this,l,[]),this.statsigApiKey=t.statsigApiKey}async init(t){_(this,h,t),r(this,E,T).call(this),r(this,g,S).call(this,"hide");const i=document.createElement("style");if(i.innerHTML=`
|
|
2
2
|
[${o}="hide"] beam-select-nonprofit,
|
|
3
3
|
[${o}="hide"] beam-post-purchase,
|
|
4
4
|
[${o}="hide"] beam-redeem-transaction,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as R}from"../chunks/routes
|
|
1
|
+
import{p as R}from"../chunks/routes--kzWvkeF.esm.js";import{B as M}from"../chunks/cart-contents-h60geKWa.esm.js";import{a as D,b as O,c as W}from"../chunks/events-Y8fYvSqM.esm.js";import{B as m}from"../chunks/beam-errors-P-Lu07Ce.esm.js";import{getCookieValue as f,setCookieValue as $}from"../utils/cookies.js";import{logger as C}from"../utils/logger.js";import{saveRemoteSession as K}from"../utils/remote-session.js";import"../utils/local-storage.js";var w=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},d=(e,t,i)=>(w(e,t,"read from private field"),i?i.call(e):t.get(e)),n=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},_=(e,t,i,s)=>(w(e,t,"write to private field"),s?s.call(e,i):t.set(e,i),i),r=(e,t,i)=>(w(e,t,"access private method"),i),h,c,E,T,b,A,l,v,B,g,S,y,L,I,k;const P=4,j=`https://cdn.jsdelivr.net/npm/statsig-js@${P}/build/statsig-prod-web-sdk.min.js`,x="beam_statsig_session_id",o="data-beam-visibility",z="beam-sync-visibility",p={STATSIG_INIT:"statsig_init",CART_CREATED:"cart_created",ORDER_CREATED:"order_created",BEAM_SELECTION:"beam_selection"};class G{constructor(t){n(this,E),n(this,b),n(this,v),n(this,g),n(this,y),n(this,I),this.name="statsig",this.experiments={shouldShowBeam:!1,isLoggingEnabled:!0},n(this,h,void 0),n(this,c,void 0),n(this,l,[]),this.statsigApiKey=t.statsigApiKey}async init(t){_(this,h,t),r(this,E,T).call(this),r(this,g,S).call(this,"hide");const i=document.createElement("style");if(i.innerHTML=`
|
|
2
2
|
[${o}="hide"] beam-select-nonprofit,
|
|
3
3
|
[${o}="hide"] beam-post-purchase,
|
|
4
4
|
[${o}="hide"] beam-redeem-transaction,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { b as errors } from '../chunks/beam-errors-fXDkG1zo.esm.js';
|
|
2
|
-
export { e as events } from '../chunks/events-
|
|
2
|
+
export { e as events } from '../chunks/events-zF9NDtBD.esm.js';
|
|
3
3
|
export { logger } from '../utils/logger.js';
|
|
4
4
|
export { fetchProxy, initNetworkListeners, xhrProxy } from '../utils/network-listeners.js';
|
|
5
5
|
export { createScopedLocalStorage } from '../utils/local-storage.js';
|
|
@@ -9,6 +9,6 @@ export { getRemoteSession, saveRemoteSession } from '../utils/remote-session.js'
|
|
|
9
9
|
export { memoizeLast } from '../utils/memoize-last.js';
|
|
10
10
|
export { default as debounce } from 'lodash-es/debounce';
|
|
11
11
|
export { default as isEqual } from 'lodash-es/isEqual';
|
|
12
|
-
import '../chunks/cart-contents-
|
|
13
|
-
import '../chunks/openapi-spec-
|
|
12
|
+
import '../chunks/cart-contents-dKdDg09p.esm.js';
|
|
13
|
+
import '../chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
14
14
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamPartnerLogos as a}from"../components/beam-partner-logos.esm.js";const e=r({tagName:"beam-partner-logos",elementClass:a,react:o,events:{}});export{e as BeamPartnerLogos,e as default};
|
|
2
2
|
//# sourceMappingURL=beam-partner-logos.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamPartnerLogos as a}from"../components/beam-partner-logos.js";const e=r({tagName:"beam-partner-logos",elementClass:a,react:o,events:{}});export{e as BeamPartnerLogos,e as default};
|
|
2
2
|
//# sourceMappingURL=beam-partner-logos.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.esm.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-7R9KCF_i.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-ga8DTuUO.esm.js";import"../chunks/localize-jRg7W6Ul.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";const t=r({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
|
|
2
2
|
//# sourceMappingURL=community-impact.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-iFdf1QkH.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes--kzWvkeF.esm.js";import"../chunks/localize-ZHtlNltZ.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";const t=r({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
|
|
2
2
|
//# sourceMappingURL=community-impact.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{l as e}from"../chunks/lit-
|
|
1
|
+
import a from"react";import{l as e}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-7R9KCF_i.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-ga8DTuUO.esm.js";import"../chunks/localize-jRg7W6Ul.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
|
|
2
2
|
//# sourceMappingURL=cumulative-impact.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{l as e}from"../chunks/lit-
|
|
1
|
+
import a from"react";import{l as e}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-iFdf1QkH.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes--kzWvkeF.esm.js";import"../chunks/localize-ZHtlNltZ.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
|
|
2
2
|
//# sourceMappingURL=cumulative-impact.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"react";import{l as e}from"../chunks/lit-
|
|
1
|
+
import r from"react";import{l as e}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/routes-ga8DTuUO.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../chunks/enforce-config-7R9KCF_i.esm.js";import"../chunks/localize-jRg7W6Ul.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
|
|
2
2
|
//# sourceMappingURL=impact-overview.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"react";import{l as e}from"../chunks/lit-
|
|
1
|
+
import r from"react";import{l as e}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/routes--kzWvkeF.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../chunks/enforce-config-iFdf1QkH.esm.js";import"../chunks/localize-ZHtlNltZ.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.js";import"../chunks/responsive-Bzkkpj11.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
|
|
2
2
|
//# sourceMappingURL=impact-overview.js.map
|
package/dist/react/index.d.ts
CHANGED
|
@@ -16,10 +16,11 @@ import '../chunks/types-7kSi85Gv.esm.js';
|
|
|
16
16
|
import '../components/cumulative-impact.js';
|
|
17
17
|
import 'lodash';
|
|
18
18
|
import '../components/impact-overview.js';
|
|
19
|
-
import '../chunks/events-
|
|
20
|
-
import '../chunks/cart-contents-
|
|
21
|
-
import '../chunks/openapi-spec-
|
|
19
|
+
import '../chunks/events-zF9NDtBD.esm.js';
|
|
20
|
+
import '../chunks/cart-contents-dKdDg09p.esm.js';
|
|
21
|
+
import '../chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
22
22
|
import '../components/select-nonprofit.js';
|
|
23
|
+
import '../chunks/promo-pill-label-3bA1z-la.esm.js';
|
|
23
24
|
import '../components/redeem-transaction.js';
|
|
24
25
|
import '../components/post-purchase.js';
|
|
25
26
|
import '../components/subscription-management.js';
|
package/dist/react/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{BeamCommunityImpact as
|
|
1
|
+
import{BeamCommunityImpact as O}from"./community-impact.esm.js";import{BeamCumulativeImpact as T}from"./cumulative-impact.esm.js";import{BeamImpactOverview as k}from"./impact-overview.esm.js";import{BeamSelectNonprofit as z}from"./select-nonprofit.esm.js";import{BeamRedeemTransaction as D}from"./redeem-transaction.esm.js";import{BeamPostPurchase as F}from"./post-purchase.esm.js";import{BeamSubscriptionManagement as H}from"./subscription-management.esm.js";import"react";import"../chunks/lit-HCWbxxT7.esm.js";import"../components/community-impact.esm.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-7R9KCF_i.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-ga8DTuUO.esm.js";import"../chunks/localize-jRg7W6Ul.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";import"../components/cumulative-impact.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../components/select-nonprofit.esm.js";import"../chunks/promo-pill-label-vCWNyiaj.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../utils/cookies.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../components/redeem-transaction.esm.js";import"../components/post-purchase.esm.js";import"../components/subscription-management.esm.js";export{O as BeamCommunityImpact,T as BeamCumulativeImpact,k as BeamImpactOverview,F as BeamPostPurchase,D as BeamRedeemTransaction,z as BeamSelectNonprofit,H as BeamSubscriptionManagement};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/react/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{BeamCommunityImpact as
|
|
1
|
+
import{BeamCommunityImpact as O}from"./community-impact.js";import{BeamCumulativeImpact as T}from"./cumulative-impact.js";import{BeamImpactOverview as k}from"./impact-overview.js";import{BeamSelectNonprofit as z}from"./select-nonprofit.js";import{BeamRedeemTransaction as D}from"./redeem-transaction.js";import{BeamPostPurchase as F}from"./post-purchase.js";import{BeamSubscriptionManagement as H}from"./subscription-management.js";import"react";import"../chunks/lit-HCWbxxT7.esm.js";import"../components/community-impact.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-iFdf1QkH.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes--kzWvkeF.esm.js";import"../chunks/localize-ZHtlNltZ.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";import"../components/cumulative-impact.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../components/select-nonprofit.js";import"../chunks/promo-pill-label-vCWNyiaj.esm.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../utils/cookies.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../components/redeem-transaction.js";import"../components/post-purchase.js";import"../components/subscription-management.js";export{O as BeamCommunityImpact,T as BeamCumulativeImpact,k as BeamImpactOverview,F as BeamPostPurchase,D as BeamRedeemTransaction,z as BeamSelectNonprofit,H as BeamSubscriptionManagement};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,10 +6,11 @@ import '../chunks/types-aju0qrRe.esm.js';
|
|
|
6
6
|
import '../components/redeem-transaction.js';
|
|
7
7
|
import 'lodash';
|
|
8
8
|
import '../chunks/progress-bar-0VS_AmEf.esm.js';
|
|
9
|
+
import '../chunks/promo-pill-label-3bA1z-la.esm.js';
|
|
9
10
|
import '../components/beam-partner-logos.js';
|
|
10
11
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
11
|
-
import '../chunks/cart-contents-
|
|
12
|
-
import '../chunks/openapi-spec-
|
|
12
|
+
import '../chunks/cart-contents-dKdDg09p.esm.js';
|
|
13
|
+
import '../chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
13
14
|
import '../components/impact-overview.js';
|
|
14
15
|
|
|
15
16
|
declare const BeamPostPurchase: _lit_react.ReactWebComponent<BeamPostPurchase$1, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/cookies.esm.js";import"../chunks/enforce-config-7R9KCF_i.esm.js";import"../utils/logger.esm.js";import"../utils/local-storage.esm.js";import"../chunks/routes-ga8DTuUO.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../chunks/promo-pill-label-vCWNyiaj.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-jRg7W6Ul.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../components/impact-overview.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
|
|
2
2
|
//# sourceMappingURL=post-purchase.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-purchase.esm.js","sources":["../../src/components/post-purchase/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamPostPurchase as _BeamPostPurchase } from \"./index\";\n\nexport const BeamPostPurchase = createComponent({\n tagName: _BeamPostPurchase.tagName,\n elementClass: _BeamPostPurchase,\n react: React,\n events: {},\n});\n\nexport default BeamPostPurchase; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamPostPurchase","createComponent","_BeamPostPurchase","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-purchase.esm.js","sources":["../../src/components/post-purchase/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamPostPurchase as _BeamPostPurchase } from \"./index\";\n\nexport const BeamPostPurchase = createComponent({\n tagName: _BeamPostPurchase.tagName,\n elementClass: _BeamPostPurchase,\n react: React,\n events: {},\n});\n\nexport default BeamPostPurchase; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamPostPurchase","createComponent","_BeamPostPurchase","React"],"mappings":"m9BAIO,MAAMA,EAAmBC,EAAgB,CAC9C,QAASC,EAAkB,QAC3B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-HCWbxxT7.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/cookies.js";import"../chunks/enforce-config-iFdf1QkH.esm.js";import"../utils/logger.js";import"../utils/local-storage.js";import"../chunks/routes--kzWvkeF.esm.js";import"../components/redeem-transaction.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/progress-bar-9vfd2JYm.esm.js";import"../chunks/promo-pill-label-vCWNyiaj.esm.js";import"../chunks/vendor-h5FNKy-G.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-ZHtlNltZ.esm.js";import"../chunks/css-card-grid-inRnKSWs.esm.js";import"../chunks/events-Y8fYvSqM.esm.js";import"../components/impact-overview.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Bzkkpj11.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
|
|
2
2
|
//# sourceMappingURL=post-purchase.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-purchase.js","sources":["../../src/components/post-purchase/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamPostPurchase as _BeamPostPurchase } from \"./index\";\n\nexport const BeamPostPurchase = createComponent({\n tagName: _BeamPostPurchase.tagName,\n elementClass: _BeamPostPurchase,\n react: React,\n events: {},\n});\n\nexport default BeamPostPurchase; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamPostPurchase","createComponent","_BeamPostPurchase","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-purchase.js","sources":["../../src/components/post-purchase/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamPostPurchase as _BeamPostPurchase } from \"./index\";\n\nexport const BeamPostPurchase = createComponent({\n tagName: _BeamPostPurchase.tagName,\n elementClass: _BeamPostPurchase,\n react: React,\n events: {},\n});\n\nexport default BeamPostPurchase; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamPostPurchase","createComponent","_BeamPostPurchase","React"],"mappings":"u7BAIO,MAAMA,EAAmBC,EAAgB,CAC9C,QAASC,EAAkB,QAC3B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/events-
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/events-zF9NDtBD.esm.js';
|
|
4
4
|
import { BeamRedeemTransaction as BeamRedeemTransaction$1 } from '../components/redeem-transaction.js';
|
|
5
|
-
import '../chunks/cart-contents-
|
|
6
|
-
import '../chunks/openapi-spec-
|
|
5
|
+
import '../chunks/cart-contents-dKdDg09p.esm.js';
|
|
6
|
+
import '../chunks/openapi-spec-fxMWpEwU.esm.js';
|
|
7
7
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
8
8
|
import 'lit-html';
|
|
9
9
|
import 'lit';
|
|
10
10
|
import 'lodash';
|
|
11
11
|
import '../chunks/progress-bar-0VS_AmEf.esm.js';
|
|
12
|
+
import '../chunks/promo-pill-label-3bA1z-la.esm.js';
|
|
12
13
|
import '../components/beam-partner-logos.js';
|
|
13
14
|
import '../chunks/types-aju0qrRe.esm.js';
|
|
14
15
|
|