@beamimpact/web-sdk 1.36.6 → 1.36.8
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-FglfQ7YP.esm.js +2 -0
- package/dist/chunks/_share-dialog-dependencies-FglfQ7YP.esm.js.map +1 -0
- package/dist/chunks/_share-dialog-dependencies-YbNiVx56.esm.js +2 -0
- package/dist/chunks/_share-dialog-dependencies-YbNiVx56.esm.js.map +1 -0
- package/dist/chunks/beam-errors-P-Lu07Ce.esm.js +2 -0
- package/dist/chunks/beam-errors-P-Lu07Ce.esm.js.map +1 -0
- package/dist/chunks/{beam-errors-bKCZlkvr.esm.d.ts → beam-errors-fXDkG1zo.esm.d.ts} +7 -2
- package/dist/chunks/{cart-contents-tEvcY9ip.esm.d.ts → cart-contents-Shc27L1J.esm.d.ts} +1 -1
- package/dist/chunks/enforce-config-fo8kIfoY.esm.js +22 -0
- package/dist/chunks/enforce-config-fo8kIfoY.esm.js.map +1 -0
- package/dist/chunks/enforce-config-qna7hEL6.esm.js +22 -0
- package/dist/chunks/enforce-config-qna7hEL6.esm.js.map +1 -0
- package/dist/chunks/{events-PZnG_xac.esm.d.ts → events-qTu4iIOo.esm.d.ts} +1 -1
- package/dist/chunks/index-1qXot92e.esm.js +2 -0
- package/dist/chunks/index-1qXot92e.esm.js.map +1 -0
- package/dist/chunks/{index-hbzssC4x.esm.d.ts → index-3Xf6QzNV.esm.d.ts} +1 -1
- package/dist/chunks/{index-aGYbEHXq.esm.js → index-5yFqo0yl.esm.js} +2 -2
- package/dist/chunks/index-5yFqo0yl.esm.js.map +1 -0
- package/dist/chunks/{index-G6h0AEAz.esm.d.ts → index-6t9MtjyS.esm.d.ts} +3 -1
- package/dist/chunks/{index-FAF7tYU6.esm.js → index-9gijHGwh.esm.js} +2 -2
- package/dist/chunks/index-9gijHGwh.esm.js.map +1 -0
- package/dist/chunks/{index-JL12lEnO.esm.js → index-EHubF2KN.esm.js} +2 -2
- package/dist/chunks/index-EHubF2KN.esm.js.map +1 -0
- package/dist/chunks/{index-rOz-i1aX.esm.d.ts → index-EZ_Bg1n7.esm.d.ts} +4 -4
- package/dist/chunks/index-EpanGShY.esm.js +2 -0
- package/dist/chunks/index-EpanGShY.esm.js.map +1 -0
- package/dist/chunks/{index-U2dW3lkm.esm.d.ts → index-GkPHba-I.esm.d.ts} +2 -2
- package/dist/chunks/{index-5-EnaNnJ.esm.d.ts → index-I8DBdgx0.esm.d.ts} +1 -1
- package/dist/chunks/index-IzAvjker.esm.js +2 -0
- package/dist/chunks/index-IzAvjker.esm.js.map +1 -0
- package/dist/chunks/{index-uqEAgdEf.esm.js → index-OnjTwvAw.esm.js} +2 -2
- package/dist/chunks/index-OnjTwvAw.esm.js.map +1 -0
- package/dist/chunks/{index-rrdYIcOi.esm.js → index-U8Oy2aur.esm.js} +2 -2
- package/dist/chunks/index-U8Oy2aur.esm.js.map +1 -0
- package/dist/chunks/index-XMD0b6ql.esm.js +2 -0
- package/dist/chunks/index-XMD0b6ql.esm.js.map +1 -0
- package/dist/chunks/{index-e6o8bmIt.esm.js → index-fqDBrscF.esm.js} +2 -2
- package/dist/chunks/{index-e6o8bmIt.esm.js.map → index-fqDBrscF.esm.js.map} +1 -1
- package/dist/chunks/{index-JfA-djTR.esm.js → index-gULINFkH.esm.js} +2 -2
- package/dist/chunks/{index-JfA-djTR.esm.js.map → index-gULINFkH.esm.js.map} +1 -1
- package/dist/chunks/index-ll8zLjbu.esm.js +2 -0
- package/dist/chunks/index-ll8zLjbu.esm.js.map +1 -0
- package/dist/chunks/index-o7YiP4gC.esm.js +2 -0
- package/dist/chunks/index-o7YiP4gC.esm.js.map +1 -0
- package/dist/chunks/{index--eKbxy32.esm.d.ts → index-oLz4lmx2.esm.d.ts} +3 -1
- package/dist/chunks/{index-PL4iasT1.esm.d.ts → index-pDraUd1x.esm.d.ts} +2 -2
- package/dist/chunks/index-r9Yb1UY4.esm.js +2 -0
- package/dist/chunks/index-r9Yb1UY4.esm.js.map +1 -0
- package/dist/chunks/index-t4uX5Dg1.esm.js +2 -0
- package/dist/chunks/index-t4uX5Dg1.esm.js.map +1 -0
- package/dist/chunks/{index-nJEBkWPL.esm.d.ts → index-wbrSi6cp.esm.d.ts} +1 -1
- package/dist/chunks/{index-w9_XpjIg.esm.js → index-wsdeaTHd.esm.js} +2 -2
- package/dist/chunks/index-wsdeaTHd.esm.js.map +1 -0
- package/dist/chunks/localize-GCkVUD8S.esm.js +10 -0
- package/dist/chunks/localize-GCkVUD8S.esm.js.map +1 -0
- package/dist/chunks/localize-pzAAkBvG.esm.js +10 -0
- package/dist/chunks/localize-pzAAkBvG.esm.js.map +1 -0
- package/dist/chunks/{openapi-spec-tJkr2i9K.esm.d.ts → openapi-spec-D_Zzbl2J.esm.d.ts} +215 -5
- package/dist/chunks/{order-page-LMEdbSdq.esm.js → order-page-JdaAppB7.esm.js} +2 -2
- package/dist/chunks/{order-page-LMEdbSdq.esm.js.map → order-page-JdaAppB7.esm.js.map} +1 -1
- package/dist/chunks/{order-page-sDLRWj-E.esm.js → order-page-W1jR35W9.esm.js} +2 -2
- package/dist/chunks/{order-page-sDLRWj-E.esm.js.map → order-page-W1jR35W9.esm.js.map} +1 -1
- package/dist/chunks/{order-page-cFAaDNWE.esm.d.ts → order-page-ydw5uXTI.esm.d.ts} +21 -2
- package/dist/chunks/routes-CqjzL4oL.esm.js +2 -0
- package/dist/chunks/{routes-bWWE2fXp.esm.js.map → routes-CqjzL4oL.esm.js.map} +1 -1
- package/dist/chunks/routes-lsOWIDmE.esm.js +2 -0
- package/dist/chunks/{routes-h6eWTToy.esm.js.map → routes-lsOWIDmE.esm.js.map} +1 -1
- package/dist/chunks/{update-cart-k_Y-sCyt.esm.js → update-cart-T32-282v.esm.js} +2 -2
- package/dist/chunks/{update-cart-k_Y-sCyt.esm.js.map → update-cart-T32-282v.esm.js.map} +1 -1
- package/dist/chunks/{update-cart-m3NdnSx2.esm.d.ts → update-cart-yCIzgmve.esm.d.ts} +1 -1
- package/dist/chunks/{update-cart-PflL_pK3.esm.js → update-cart-yneR8zk1.esm.js} +2 -2
- package/dist/chunks/{update-cart-PflL_pK3.esm.js.map → update-cart-yneR8zk1.esm.js.map} +1 -1
- package/dist/components/community-impact.esm.js +5 -4
- package/dist/components/community-impact.esm.js.map +1 -1
- package/dist/components/community-impact.js +5 -4
- package/dist/components/community-impact.js.map +1 -1
- package/dist/components/cumulative-impact.esm.js +3 -2
- package/dist/components/cumulative-impact.esm.js.map +1 -1
- package/dist/components/cumulative-impact.js +3 -2
- package/dist/components/cumulative-impact.js.map +1 -1
- package/dist/components/impact-overview.d.ts +0 -2
- package/dist/components/impact-overview.esm.js +6 -5
- package/dist/components/impact-overview.esm.js.map +1 -1
- package/dist/components/impact-overview.js +6 -5
- 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 +3 -4
- package/dist/components/post-purchase.esm.js +4 -5
- package/dist/components/post-purchase.esm.js.map +1 -1
- package/dist/components/post-purchase.js +4 -5
- package/dist/components/post-purchase.js.map +1 -1
- package/dist/components/redeem-transaction.d.ts +16 -6
- package/dist/components/redeem-transaction.esm.js +12 -11
- package/dist/components/redeem-transaction.esm.js.map +1 -1
- package/dist/components/redeem-transaction.js +12 -11
- package/dist/components/redeem-transaction.js.map +1 -1
- package/dist/components/select-nonprofit.d.ts +3 -3
- package/dist/components/select-nonprofit.esm.js +2 -1
- package/dist/components/select-nonprofit.esm.js.map +1 -1
- package/dist/components/select-nonprofit.js +2 -1
- package/dist/components/select-nonprofit.js.map +1 -1
- package/dist/components/shopify.d.ts +6 -6
- 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 +114 -0
- package/dist/components/subscription-management.esm.js +62 -0
- package/dist/components/subscription-management.esm.js.map +1 -0
- package/dist/components/subscription-management.js +62 -0
- package/dist/components/subscription-management.js.map +1 -0
- package/dist/index.d.ts +16 -14
- 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 -10
- 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 +4 -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 +4 -4
- package/dist/integrations/utils.esm.js +1 -1
- package/dist/integrations/utils.js +1 -1
- package/dist/react/community-impact.esm.js +1 -1
- package/dist/react/community-impact.esm.js.map +1 -1
- package/dist/react/community-impact.js +1 -1
- package/dist/react/community-impact.js.map +1 -1
- package/dist/react/cumulative-impact.esm.js +1 -1
- package/dist/react/cumulative-impact.esm.js.map +1 -1
- package/dist/react/cumulative-impact.js +1 -1
- package/dist/react/cumulative-impact.js.map +1 -1
- package/dist/react/impact-overview.esm.js +1 -1
- package/dist/react/impact-overview.esm.js.map +1 -1
- package/dist/react/impact-overview.js +1 -1
- package/dist/react/impact-overview.js.map +1 -1
- package/dist/react/index.d.ts +5 -3
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +2 -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 +3 -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 +3 -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 +11 -0
- package/dist/react/subscription-management.esm.js +2 -0
- package/dist/react/subscription-management.esm.js.map +1 -0
- package/dist/react/subscription-management.js +2 -0
- package/dist/react/subscription-management.js.map +1 -0
- package/dist/utils/beam-errors.d.ts +1 -1
- package/dist/utils/beam-errors.esm.js +1 -1
- package/dist/utils/beam-errors.js +1 -1
- package/dist/utils/cookies.d.ts +1 -1
- package/dist/utils/cookies.esm.js +1 -1
- package/dist/utils/cookies.esm.js.map +1 -1
- package/dist/utils/cookies.js +1 -1
- package/dist/utils/cookies.js.map +1 -1
- package/dist/utils/events.d.ts +3 -3
- package/dist/utils/index.d.ts +4 -4
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/local-storage.esm.js +1 -1
- package/dist/utils/local-storage.js +1 -1
- package/dist/utils/remote-session.esm.js +1 -1
- package/dist/utils/remote-session.js +1 -1
- package/dist/utils/wait-for-element.esm.js +1 -1
- package/dist/utils/wait-for-element.js +1 -1
- package/package.json +2 -2
- package/dist/chunks/_share-dialog-dependencies-7OysCcbl.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-7OysCcbl.esm.js.map +0 -1
- package/dist/chunks/_share-dialog-dependencies-IH8H0M7S.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-IH8H0M7S.esm.js.map +0 -1
- package/dist/chunks/beam-errors-AMvTvR1C.esm.js +0 -2
- package/dist/chunks/beam-errors-AMvTvR1C.esm.js.map +0 -1
- package/dist/chunks/index-D7cyvlBG.esm.js +0 -2
- package/dist/chunks/index-D7cyvlBG.esm.js.map +0 -1
- package/dist/chunks/index-FAF7tYU6.esm.js.map +0 -1
- package/dist/chunks/index-Fvk8qalO.esm.js +0 -2
- package/dist/chunks/index-Fvk8qalO.esm.js.map +0 -1
- package/dist/chunks/index-JL12lEnO.esm.js.map +0 -1
- package/dist/chunks/index-K9rDxqim.esm.js +0 -2
- package/dist/chunks/index-K9rDxqim.esm.js.map +0 -1
- package/dist/chunks/index-LY8cCwxB.esm.js +0 -2
- package/dist/chunks/index-LY8cCwxB.esm.js.map +0 -1
- package/dist/chunks/index-Li9RyHWl.esm.js +0 -2
- package/dist/chunks/index-Li9RyHWl.esm.js.map +0 -1
- package/dist/chunks/index-YfVtHaFO.esm.js +0 -2
- package/dist/chunks/index-YfVtHaFO.esm.js.map +0 -1
- package/dist/chunks/index-YoXRWj_4.esm.js +0 -2
- package/dist/chunks/index-YoXRWj_4.esm.js.map +0 -1
- package/dist/chunks/index-aGYbEHXq.esm.js.map +0 -1
- package/dist/chunks/index-bo9Yq4jd.esm.js +0 -2
- package/dist/chunks/index-bo9Yq4jd.esm.js.map +0 -1
- package/dist/chunks/index-rrdYIcOi.esm.js.map +0 -1
- package/dist/chunks/index-uqEAgdEf.esm.js.map +0 -1
- package/dist/chunks/index-w9_XpjIg.esm.js.map +0 -1
- package/dist/chunks/localize-BGPniqcI.esm.js +0 -30
- package/dist/chunks/localize-BGPniqcI.esm.js.map +0 -1
- package/dist/chunks/localize-dXHrlK8g.esm.js +0 -30
- package/dist/chunks/localize-dXHrlK8g.esm.js.map +0 -1
- package/dist/chunks/routes-bWWE2fXp.esm.js +0 -2
- package/dist/chunks/routes-h6eWTToy.esm.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as
|
|
1
|
+
import{h as T,C as W,O as j,s as l,L as q}from"../chunks/order-page-JdaAppB7.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/events-5IECSF-x.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-yneR8zk1.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../utils/logger.esm.js";import"../utils/remote-session.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-yVXn5Cbs.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../chunks/css-card-grid-3b56QBzq.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-eeJfrOkP.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-LYEag6TI.esm.js";import"../utils/wait-for-element.esm.js";export{T as addBeamAttributesToCart,W as getCurrentCart,j as registerCartIntegration,l as showBeamOrderPageWidgets,q as trackCart};
|
|
2
2
|
//# sourceMappingURL=shopify.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as
|
|
1
|
+
import{h as T,C as W,O as j,s as l,L as q}from"../chunks/order-page-W1jR35W9.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/events-5IECSF-x.esm.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-T32-282v.esm.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../utils/logger.js";import"../utils/remote-session.js";import"../components/post-purchase.js";import"../chunks/lit-yVXn5Cbs.esm.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../chunks/css-card-grid-3b56QBzq.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-eeJfrOkP.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-LYEag6TI.esm.js";import"../utils/wait-for-element.js";export{T as addBeamAttributesToCart,W as getCurrentCart,j as registerCartIntegration,l as showBeamOrderPageWidgets,q 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-lsOWIDmE.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-5IECSF-x.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-CqjzL4oL.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-5IECSF-x.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
|
-
export { b as errors } from '../chunks/beam-errors-
|
|
2
|
-
export { e as events } from '../chunks/events-
|
|
1
|
+
export { b as errors } from '../chunks/beam-errors-fXDkG1zo.esm.js';
|
|
2
|
+
export { e as events } from '../chunks/events-qTu4iIOo.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-Shc27L1J.esm.js';
|
|
13
|
+
import '../chunks/openapi-spec-D_Zzbl2J.esm.js';
|
|
14
14
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as r}from"../chunks/beam-errors-
|
|
1
|
+
import{b as r}from"../chunks/beam-errors-P-Lu07Ce.esm.js";import{e as s}from"../chunks/events-5IECSF-x.esm.js";import{logger as m}from"../utils/logger.esm.js";import{fetchProxy as x,initNetworkListeners as p,xhrProxy as f}from"../utils/network-listeners.esm.js";import{createScopedLocalStorage as n}from"../utils/local-storage.esm.js";import{waitForElement as c}from"../utils/wait-for-element.esm.js";import{deleteCookieValue as u,getCookieMap as d,getCookieValue as C,setCookieValue as S}from"../utils/cookies.esm.js";import{getRemoteSession as V,saveRemoteSession as b}from"../utils/remote-session.esm.js";import{memoizeLast as v}from"../utils/memoize-last.esm.js";import{d as y,i as E}from"../chunks/lodash-P8OIs-at.esm.js";export{n as createScopedLocalStorage,y as debounce,u as deleteCookieValue,r as errors,s as events,x as fetchProxy,d as getCookieMap,C as getCookieValue,V as getRemoteSession,p as initNetworkListeners,E as isEqual,m as logger,v as memoizeLast,b as saveRemoteSession,S as setCookieValue,c as waitForElement,f as xhrProxy};
|
|
2
2
|
//# sourceMappingURL=utils.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as r}from"../chunks/beam-errors-
|
|
1
|
+
import{b as r}from"../chunks/beam-errors-P-Lu07Ce.esm.js";import{e as s}from"../chunks/events-5IECSF-x.esm.js";import{logger as m}from"../utils/logger.js";import{fetchProxy as x,initNetworkListeners as p,xhrProxy as f}from"../utils/network-listeners.js";import{createScopedLocalStorage as n}from"../utils/local-storage.js";import{waitForElement as c}from"../utils/wait-for-element.js";import{deleteCookieValue as u,getCookieMap as d,getCookieValue as C,setCookieValue as S}from"../utils/cookies.js";import{getRemoteSession as V,saveRemoteSession as b}from"../utils/remote-session.js";import{memoizeLast as v}from"../utils/memoize-last.js";import{d as y,i as E}from"../chunks/lodash-P8OIs-at.esm.js";export{n as createScopedLocalStorage,y as debounce,u as deleteCookieValue,r as errors,s as events,x as fetchProxy,d as getCookieMap,C as getCookieValue,V as getRemoteSession,p as initNetworkListeners,E as isEqual,m as logger,v as memoizeLast,b as saveRemoteSession,S as setCookieValue,c as waitForElement,f as xhrProxy};
|
|
2
2
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../chunks/css-card-grid-3b56QBzq.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community-impact.esm.js","sources":["../../src/components/community-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamCommunityImpact as _BeamCommunityImpact } from \"./index\";\n\nexport const BeamCommunityImpact = createComponent({\n tagName: _BeamCommunityImpact.tagName,\n elementClass: _BeamCommunityImpact,\n react: React,\n events: {},\n});\n\nexport default BeamCommunityImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamCommunityImpact","createComponent","_BeamCommunityImpact","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"community-impact.esm.js","sources":["../../src/components/community-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamCommunityImpact as _BeamCommunityImpact } from \"./index\";\n\nexport const BeamCommunityImpact = createComponent({\n tagName: _BeamCommunityImpact.tagName,\n elementClass: _BeamCommunityImpact,\n react: React,\n events: {},\n});\n\nexport default BeamCommunityImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamCommunityImpact","createComponent","_BeamCommunityImpact","React"],"mappings":"ofAIO,MAAMA,EAAsBC,EAAgB,CACjD,QAASC,EAAqB,QAC9B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../chunks/css-card-grid-3b56QBzq.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community-impact.js","sources":["../../src/components/community-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamCommunityImpact as _BeamCommunityImpact } from \"./index\";\n\nexport const BeamCommunityImpact = createComponent({\n tagName: _BeamCommunityImpact.tagName,\n elementClass: _BeamCommunityImpact,\n react: React,\n events: {},\n});\n\nexport default BeamCommunityImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamCommunityImpact","createComponent","_BeamCommunityImpact","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"community-impact.js","sources":["../../src/components/community-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamCommunityImpact as _BeamCommunityImpact } from \"./index\";\n\nexport const BeamCommunityImpact = createComponent({\n tagName: _BeamCommunityImpact.tagName,\n elementClass: _BeamCommunityImpact,\n react: React,\n events: {},\n});\n\nexport default BeamCommunityImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamCommunityImpact","createComponent","_BeamCommunityImpact","React"],"mappings":"weAIO,MAAMA,EAAsBC,EAAgB,CACjD,QAASC,EAAqB,QAC9B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/
|
|
1
|
+
import a from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../chunks/localize-GCkVUD8S.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cumulative-impact.esm.js","sources":["../../src/components/cumulative-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamCumulativeImpact as _BeamCumulativeImpact } from \"./index\";\n\nexport const BeamCumulativeImpact = createComponent({\n tagName: _BeamCumulativeImpact.tagName,\n elementClass: _BeamCumulativeImpact,\n react: React,\n events: {},\n});\n\nexport default BeamCumulativeImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamCumulativeImpact","createComponent","_BeamCumulativeImpact","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cumulative-impact.esm.js","sources":["../../src/components/cumulative-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamCumulativeImpact as _BeamCumulativeImpact } from \"./index\";\n\nexport const BeamCumulativeImpact = createComponent({\n tagName: _BeamCumulativeImpact.tagName,\n elementClass: _BeamCumulativeImpact,\n react: React,\n events: {},\n});\n\nexport default BeamCumulativeImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamCumulativeImpact","createComponent","_BeamCumulativeImpact","React"],"mappings":"ucAIO,MAAMA,EAAuBC,EAAgB,CAClD,QAASC,EAAsB,QAC/B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/
|
|
1
|
+
import a from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../chunks/localize-pzAAkBvG.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cumulative-impact.js","sources":["../../src/components/cumulative-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamCumulativeImpact as _BeamCumulativeImpact } from \"./index\";\n\nexport const BeamCumulativeImpact = createComponent({\n tagName: _BeamCumulativeImpact.tagName,\n elementClass: _BeamCumulativeImpact,\n react: React,\n events: {},\n});\n\nexport default BeamCumulativeImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamCumulativeImpact","createComponent","_BeamCumulativeImpact","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cumulative-impact.js","sources":["../../src/components/cumulative-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamCumulativeImpact as _BeamCumulativeImpact } from \"./index\";\n\nexport const BeamCumulativeImpact = createComponent({\n tagName: _BeamCumulativeImpact.tagName,\n elementClass: _BeamCumulativeImpact,\n react: React,\n events: {},\n});\n\nexport default BeamCumulativeImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamCumulativeImpact","createComponent","_BeamCumulativeImpact","React"],"mappings":"+bAIO,MAAMA,EAAuBC,EAAgB,CAClD,QAASC,EAAsB,QAC/B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/routes-
|
|
1
|
+
import r from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../chunks/vendor-eeJfrOkP.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/responsive-LYEag6TI.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impact-overview.esm.js","sources":["../../src/components/impact-overview/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamImpactOverview as _BeamImpactOverview } from \"./index\";\n\nexport const BeamImpactOverview = createComponent({\n tagName: _BeamImpactOverview.tagName,\n elementClass: _BeamImpactOverview,\n react: React,\n events: {},\n});\n\nexport default BeamImpactOverview; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamImpactOverview","createComponent","_BeamImpactOverview","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"impact-overview.esm.js","sources":["../../src/components/impact-overview/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamImpactOverview as _BeamImpactOverview } from \"./index\";\n\nexport const BeamImpactOverview = createComponent({\n tagName: _BeamImpactOverview.tagName,\n elementClass: _BeamImpactOverview,\n react: React,\n events: {},\n});\n\nexport default BeamImpactOverview; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamImpactOverview","createComponent","_BeamImpactOverview","React"],"mappings":"wnBAIO,MAAMA,EAAqBC,EAAgB,CAChD,QAASC,EAAoB,QAC7B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/routes-
|
|
1
|
+
import r from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../chunks/vendor-eeJfrOkP.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.js";import"../chunks/responsive-LYEag6TI.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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impact-overview.js","sources":["../../src/components/impact-overview/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamImpactOverview as _BeamImpactOverview } from \"./index\";\n\nexport const BeamImpactOverview = createComponent({\n tagName: _BeamImpactOverview.tagName,\n elementClass: _BeamImpactOverview,\n react: React,\n events: {},\n});\n\nexport default BeamImpactOverview; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamImpactOverview","createComponent","_BeamImpactOverview","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"impact-overview.js","sources":["../../src/components/impact-overview/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamImpactOverview as _BeamImpactOverview } from \"./index\";\n\nexport const BeamImpactOverview = createComponent({\n tagName: _BeamImpactOverview.tagName,\n elementClass: _BeamImpactOverview,\n react: React,\n events: {},\n});\n\nexport default BeamImpactOverview; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamImpactOverview","createComponent","_BeamImpactOverview","React"],"mappings":"4mBAIO,MAAMA,EAAqBC,EAAgB,CAChD,QAASC,EAAoB,QAC7B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
package/dist/react/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { default as BeamImpactOverview } from './impact-overview.js';
|
|
|
4
4
|
export { default as BeamSelectNonprofit } from './select-nonprofit.js';
|
|
5
5
|
export { default as BeamRedeemTransaction } from './redeem-transaction.js';
|
|
6
6
|
export { default as BeamPostPurchase } from './post-purchase.js';
|
|
7
|
+
export { default as BeamSubscriptionManagement } from './subscription-management.js';
|
|
7
8
|
import '@lit/react';
|
|
8
9
|
import '../components/community-impact.js';
|
|
9
10
|
import 'lit';
|
|
@@ -15,9 +16,10 @@ import '../chunks/types-7kSi85Gv.esm.js';
|
|
|
15
16
|
import '../components/cumulative-impact.js';
|
|
16
17
|
import 'lodash';
|
|
17
18
|
import '../components/impact-overview.js';
|
|
18
|
-
import '../chunks/events-
|
|
19
|
-
import '../chunks/cart-contents-
|
|
20
|
-
import '../chunks/openapi-spec-
|
|
19
|
+
import '../chunks/events-qTu4iIOo.esm.js';
|
|
20
|
+
import '../chunks/cart-contents-Shc27L1J.esm.js';
|
|
21
|
+
import '../chunks/openapi-spec-D_Zzbl2J.esm.js';
|
|
21
22
|
import '../components/select-nonprofit.js';
|
|
22
23
|
import '../components/redeem-transaction.js';
|
|
23
24
|
import '../components/post-purchase.js';
|
|
25
|
+
import '../components/subscription-management.js';
|
package/dist/react/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{BeamCommunityImpact as
|
|
1
|
+
import{BeamCommunityImpact as N}from"./community-impact.esm.js";import{BeamCumulativeImpact as R}from"./cumulative-impact.esm.js";import{BeamImpactOverview as j}from"./impact-overview.esm.js";import{BeamSelectNonprofit as q}from"./select-nonprofit.esm.js";import{BeamRedeemTransaction as A}from"./redeem-transaction.esm.js";import{BeamPostPurchase as E}from"./post-purchase.esm.js";import{BeamSubscriptionManagement as G}from"./subscription-management.esm.js";import"react";import"../chunks/lit-yVXn5Cbs.esm.js";import"../components/community-impact.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../chunks/css-card-grid-3b56QBzq.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-eeJfrOkP.esm.js";import"../chunks/responsive-LYEag6TI.esm.js";import"../chunks/events-5IECSF-x.esm.js";import"../components/select-nonprofit.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{N as BeamCommunityImpact,R as BeamCumulativeImpact,j as BeamImpactOverview,E as BeamPostPurchase,A as BeamRedeemTransaction,q as BeamSelectNonprofit,G 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 N}from"./community-impact.js";import{BeamCumulativeImpact as R}from"./cumulative-impact.js";import{BeamImpactOverview as j}from"./impact-overview.js";import{BeamSelectNonprofit as q}from"./select-nonprofit.js";import{BeamRedeemTransaction as A}from"./redeem-transaction.js";import{BeamPostPurchase as E}from"./post-purchase.js";import{BeamSubscriptionManagement as G}from"./subscription-management.js";import"react";import"../chunks/lit-yVXn5Cbs.esm.js";import"../components/community-impact.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../chunks/css-card-grid-3b56QBzq.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-eeJfrOkP.esm.js";import"../chunks/responsive-LYEag6TI.esm.js";import"../chunks/events-5IECSF-x.esm.js";import"../components/select-nonprofit.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{N as BeamCommunityImpact,R as BeamCumulativeImpact,j as BeamImpactOverview,E as BeamPostPurchase,A as BeamRedeemTransaction,q as BeamSelectNonprofit,G as BeamSubscriptionManagement};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -8,8 +8,8 @@ import 'lodash';
|
|
|
8
8
|
import '../chunks/progress-bar-0VS_AmEf.esm.js';
|
|
9
9
|
import '../components/beam-partner-logos.js';
|
|
10
10
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
11
|
-
import '../chunks/cart-contents-
|
|
12
|
-
import '../chunks/openapi-spec-
|
|
11
|
+
import '../chunks/cart-contents-Shc27L1J.esm.js';
|
|
12
|
+
import '../chunks/openapi-spec-D_Zzbl2J.esm.js';
|
|
13
13
|
import '../components/impact-overview.js';
|
|
14
14
|
|
|
15
15
|
declare const BeamPostPurchase: _lit_react.ReactWebComponent<BeamPostPurchase$1, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as r}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.esm.js";import"../utils/cookies.esm.js";import"../chunks/
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.esm.js";import"../utils/cookies.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../utils/local-storage.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../chunks/css-card-grid-3b56QBzq.esm.js";import"../chunks/events-5IECSF-x.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-eeJfrOkP.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-LYEag6TI.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":"g6BAIO,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-yVXn5Cbs.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.js";import"../utils/cookies.js";import"../chunks/
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.js";import"../utils/cookies.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../utils/local-storage.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../components/redeem-transaction.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../chunks/css-card-grid-3b56QBzq.esm.js";import"../chunks/events-5IECSF-x.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-eeJfrOkP.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-LYEag6TI.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":"o4BAIO,MAAMA,EAAmBC,EAAgB,CAC9C,QAASC,EAAkB,QAC3B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
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-qTu4iIOo.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-Shc27L1J.esm.js';
|
|
6
|
+
import '../chunks/openapi-spec-D_Zzbl2J.esm.js';
|
|
7
7
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
8
8
|
import 'lit-html';
|
|
9
9
|
import 'lit';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import m from"react";import{l as o}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as r}from"../chunks/events-5IECSF-x.esm.js";import{BeamRedeemTransaction as
|
|
1
|
+
import m from"react";import{l as o}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as r}from"../chunks/events-5IECSF-x.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../utils/local-storage.esm.js";import"../chunks/css-card-grid-3b56QBzq.esm.js";const e=o({tagName:t.tagName,elementClass:t,react:m,events:{onNonprofitSelect:r.eventName}});export{e as BeamRedeemTransaction,e as default};
|
|
2
2
|
//# sourceMappingURL=redeem-transaction.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redeem-transaction.esm.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamRedeemTransaction; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"redeem-transaction.esm.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamRedeemTransaction; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"4nBAKa,MAAAA,EAAwBC,EAAgB,CACnD,QAASC,EAAuB,QAChC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import m from"react";import{l as o}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as r}from"../chunks/events-5IECSF-x.esm.js";import{BeamRedeemTransaction as
|
|
1
|
+
import m from"react";import{l as o}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as r}from"../chunks/events-5IECSF-x.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../utils/local-storage.js";import"../chunks/css-card-grid-3b56QBzq.esm.js";const e=o({tagName:t.tagName,elementClass:t,react:m,events:{onNonprofitSelect:r.eventName}});export{e as BeamRedeemTransaction,e as default};
|
|
2
2
|
//# sourceMappingURL=redeem-transaction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redeem-transaction.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamRedeemTransaction; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"redeem-transaction.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamRedeemTransaction; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"4mBAKa,MAAAA,EAAwBC,EAAgB,CACnD,QAASC,EAAuB,QAChC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
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-qTu4iIOo.esm.js';
|
|
4
4
|
import { BeamSelectNonprofit as BeamSelectNonprofit$1 } from '../components/select-nonprofit.js';
|
|
5
|
-
import '../chunks/cart-contents-
|
|
6
|
-
import '../chunks/openapi-spec-
|
|
5
|
+
import '../chunks/cart-contents-Shc27L1J.esm.js';
|
|
6
|
+
import '../chunks/openapi-spec-D_Zzbl2J.esm.js';
|
|
7
7
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
8
8
|
import 'lit-html';
|
|
9
9
|
import 'lit';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as m}from"../chunks/events-5IECSF-x.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/
|
|
1
|
+
import o from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as m}from"../chunks/events-5IECSF-x.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../utils/cookies.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/responsive-LYEag6TI.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
|
|
2
2
|
//# sourceMappingURL=select-nonprofit.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-nonprofit.esm.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"select-nonprofit.esm.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"+rBAKa,MAAAA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as m}from"../chunks/events-5IECSF-x.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/
|
|
1
|
+
import o from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as m}from"../chunks/events-5IECSF-x.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../utils/cookies.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/responsive-LYEag6TI.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
|
|
2
2
|
//# sourceMappingURL=select-nonprofit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-nonprofit.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"select-nonprofit.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"2qBAKa,MAAAA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _lit_react from '@lit/react';
|
|
2
|
+
import { BeamSubscriptionManagement as BeamSubscriptionManagement$1 } from '../components/subscription-management.js';
|
|
3
|
+
import 'lit';
|
|
4
|
+
import 'lit-html';
|
|
5
|
+
import '../chunks/types-aju0qrRe.esm.js';
|
|
6
|
+
import '../chunks/cart-contents-Shc27L1J.esm.js';
|
|
7
|
+
import '../chunks/openapi-spec-D_Zzbl2J.esm.js';
|
|
8
|
+
|
|
9
|
+
declare const BeamSubscriptionManagement: _lit_react.ReactWebComponent<BeamSubscriptionManagement$1, {}>;
|
|
10
|
+
|
|
11
|
+
export { BeamSubscriptionManagement, BeamSubscriptionManagement as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"react";import{l as a}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.esm.js";import"../chunks/routes-lsOWIDmE.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/events-5IECSF-x.esm.js";const m=a({tagName:t.tagName,elementClass:t,react:e,events:{}});export{m as BeamSubscriptionManagement,m as default};
|
|
2
|
+
//# sourceMappingURL=subscription-management.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-management.esm.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"iXAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"react";import{l as a}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.js";import"../chunks/routes-CqjzL4oL.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/events-5IECSF-x.esm.js";const m=a({tagName:t.tagName,elementClass:t,react:e,events:{}});export{m as BeamSubscriptionManagement,m as default};
|
|
2
|
+
//# sourceMappingURL=subscription-management.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-management.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"yWAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BeamError, L as LocalStorageError, M as MissingConfig, N as NetworkError, S as SetupError } from '../chunks/beam-errors-
|
|
1
|
+
export { B as BeamError, I as InvalidAttributeCombinationError, L as LocalStorageError, M as MissingConfig, N as NetworkError, S as SetupError } from '../chunks/beam-errors-fXDkG1zo.esm.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{B as a,
|
|
1
|
+
import{B as a,I as s,L as t,M as i,N as e,S as n}from"../chunks/beam-errors-P-Lu07Ce.esm.js";export{a as BeamError,s as InvalidAttributeCombinationError,t as LocalStorageError,i as MissingConfig,e as NetworkError,n as SetupError};
|
|
2
2
|
//# sourceMappingURL=beam-errors.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{B as a,
|
|
1
|
+
import{B as a,I as s,L as t,M as i,N as e,S as n}from"../chunks/beam-errors-P-Lu07Ce.esm.js";export{a as BeamError,s as InvalidAttributeCombinationError,t as LocalStorageError,i as MissingConfig,e as NetworkError,n as SetupError};
|
|
2
2
|
//# sourceMappingURL=beam-errors.js.map
|
package/dist/utils/cookies.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const getCookieMap: () => Map<string, string>;
|
|
1
|
+
declare const getCookieMap: (cookieString?: string) => Map<string, string>;
|
|
2
2
|
declare const getCookieValue: (name: string) => string | undefined;
|
|
3
3
|
declare const setCookieValue: (options: CookieInit) => undefined;
|
|
4
4
|
declare const deleteCookieValue: (options: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const
|
|
1
|
+
const c=(e=document.cookie)=>e.split(";").reduce((t,n)=>{const o=n.trim(),[i,...s]=o.split("="),l=decodeURIComponent(s.join("="));return t.set(i,l)},new Map),m=e=>c().get(e),p=e=>{const{name:t,value:n,expires:o,...i}=e,s=encodeURIComponent(n),l=`${t}=${s}`,u=o!=null?` ;expires=${new Date(o).toUTCString()}`:"",a=Object.entries(i).map(([d,r])=>r!=null?` ;${d}=${r}`:"").join("");document.cookie=l+a+u},C=e=>p({...e,value:"",expires:-1});export{C as deleteCookieValue,c as getCookieMap,m as getCookieValue,p as setCookieValue};
|
|
2
2
|
//# sourceMappingURL=cookies.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookies.esm.js","sources":["../../src/utils/cookies.ts"],"sourcesContent":["/*\n * Wrapper functions for CookieStore using document.cookie as a fallback if not supported\n */\n\nexport const getCookieMap = () => {\n
|
|
1
|
+
{"version":3,"file":"cookies.esm.js","sources":["../../src/utils/cookies.ts"],"sourcesContent":["/*\n * Wrapper functions for CookieStore using document.cookie as a fallback if not supported\n */\n\nexport const getCookieMap = (cookieString = document.cookie) => {\n // document.cookie has the format: \"key1=value1; key2=value2; key3=value3\"\n return cookieString.split(\";\").reduce((result: Map<string, string>, next: string) => {\n const cookieKeyValuePair = next.trim(); // \" key=value \" => \"key=value\"\n const [key, ...restOfString] = cookieKeyValuePair.split(\"=\"); // [\"key\", [\"value\"]]\n const value = decodeURIComponent(restOfString.join(\"=\")); // .join() handles if value contained \"=\"\n return result.set(key, value);\n }, new Map<string, string>());\n};\n\nexport const getCookieValue = (name: string): string | undefined => {\n // New Async API, not supported in FF/Safari:\n // if (window.cookieStore) {\n // return (await window.cookieStore.get(name))?.value;\n // }\n return getCookieMap().get(name);\n};\n\nexport const setCookieValue = (options: CookieInit): undefined => {\n // New Async API, not supported in FF/Safari:\n // if (window.cookieStore) {\n // const { domain, ...rest } = options;\n // const validatedDomain = domain === \"localhost\" ? undefined : domain;\n // return await window.cookieStore.set({ ...rest, domain: validatedDomain });\n // }\n // https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie#write_a_new_cookie\n const { name, value, expires, ...rest } = options;\n const encodedValue = encodeURIComponent(value);\n const base = `${name}=${encodedValue}`;\n const expiration = expires != null ? ` ;expires=${new Date(expires).toUTCString()}` : \"\";\n const modifiers = Object.entries(rest)\n .map(([key, val]) => (val != null ? ` ;${key}=${val}` : \"\"))\n .join(\"\");\n document.cookie = base + modifiers + expiration;\n return;\n};\n\nexport const deleteCookieValue = (options: { name: string; domain?: string; path?: string }): undefined => {\n return setCookieValue({ ...options, value: \"\", expires: -1 });\n};\n\n/*\n * CookieStore API Types\n * https://developer.mozilla.org/en-US/docs/Web/API/CookieStore#browser_compatibility\n */\n\ninterface CookieListItem {\n name: string;\n value: string;\n path: string;\n domain: string | null;\n expires: number | null; // timestamp, unix time in ms\n secure: boolean;\n sameSite: \"strict\" | \"lax\" | \"none\";\n}\n\ninterface CookieInit {\n name: string;\n value: string;\n path?: string;\n domain?: string;\n expires?: number; // timestamp, unix time in ms\n sameSite?: \"strict\" | \"lax\" | \"none\";\n}\n\n// https://wicg.github.io/cookie-store/#CookieChangeEvent\nexport interface CookieChangeEvent extends Event {\n readonly changed: CookieListItem[];\n readonly deleted: CookieListItem[];\n type: \"deleted\" | \"changed\";\n}\n\ntype SetCookie = {\n (options: CookieInit): Promise<undefined>;\n (name: string, value: string): Promise<undefined>;\n};\n\n// https://wicg.github.io/cookie-store/#CookieStore\ninterface CookieStore extends EventTarget {\n get: (name: string | { name: string; url: string }) => Promise<CookieListItem | undefined>;\n getAll: (name: string | { name: string; url: string }) => Promise<CookieListItem[]>;\n set: SetCookie; // function overload for multiple signatures\n delete: (name: string | { name: string; domain?: string | null; path?: string }) => Promise<undefined>;\n onchange: (event: CookieChangeEvent) => boolean | void | Promise<boolean | void>;\n}\n\ndeclare global {\n interface Window {\n cookieStore: CookieStore;\n }\n}\n"],"names":["getCookieMap","cookieString","result","next","cookieKeyValuePair","key","restOfString","value","getCookieValue","name","setCookieValue","options","expires","rest","encodedValue","base","expiration","modifiers","val","deleteCookieValue"],"mappings":"AAIO,MAAMA,EAAe,CAACC,EAAe,SAAS,SAE5CA,EAAa,MAAM,GAAG,EAAE,OAAO,CAACC,EAA6BC,IAAiB,CACnF,MAAMC,EAAqBD,EAAK,KAAA,EAC1B,CAACE,EAAK,GAAGC,CAAY,EAAIF,EAAmB,MAAM,GAAG,EACrDG,EAAQ,mBAAmBD,EAAa,KAAK,GAAG,CAAC,EACvD,OAAOJ,EAAO,IAAIG,EAAKE,CAAK,CAC9B,EAAG,IAAI,GAAqB,EAGjBC,EAAkBC,GAKtBT,EAAa,EAAE,IAAIS,CAAI,EAGnBC,EAAkBC,GAAmC,CAQhE,KAAM,CAAE,KAAAF,EAAM,MAAAF,EAAO,QAAAK,EAAS,GAAGC,CAAK,EAAIF,EACpCG,EAAe,mBAAmBP,CAAK,EACvCQ,EAAO,GAAGN,CAAI,IAAIK,CAAY,GAC9BE,EAAaJ,GAAW,KAAO,aAAa,IAAI,KAAKA,CAAO,EAAE,aAAa,GAAK,GAChFK,EAAY,OAAO,QAAQJ,CAAI,EAClC,IAAI,CAAC,CAACR,EAAKa,CAAG,IAAOA,GAAO,KAAO,KAAKb,CAAG,IAAIa,CAAG,GAAK,EAAG,EAC1D,KAAK,EAAE,EACV,SAAS,OAASH,EAAOE,EAAYD,CAEvC,EAEaG,EAAqBR,GACzBD,EAAe,CAAE,GAAGC,EAAS,MAAO,GAAI,QAAS,EAAG,CAAC"}
|
package/dist/utils/cookies.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const
|
|
1
|
+
const c=(e=document.cookie)=>e.split(";").reduce((t,n)=>{const o=n.trim(),[i,...s]=o.split("="),l=decodeURIComponent(s.join("="));return t.set(i,l)},new Map),m=e=>c().get(e),p=e=>{const{name:t,value:n,expires:o,...i}=e,s=encodeURIComponent(n),l=`${t}=${s}`,u=o!=null?` ;expires=${new Date(o).toUTCString()}`:"",a=Object.entries(i).map(([d,r])=>r!=null?` ;${d}=${r}`:"").join("");document.cookie=l+a+u},C=e=>p({...e,value:"",expires:-1});export{C as deleteCookieValue,c as getCookieMap,m as getCookieValue,p as setCookieValue};
|
|
2
2
|
//# sourceMappingURL=cookies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookies.js","sources":["../../src/utils/cookies.ts"],"sourcesContent":["/*\n * Wrapper functions for CookieStore using document.cookie as a fallback if not supported\n */\n\nexport const getCookieMap = () => {\n
|
|
1
|
+
{"version":3,"file":"cookies.js","sources":["../../src/utils/cookies.ts"],"sourcesContent":["/*\n * Wrapper functions for CookieStore using document.cookie as a fallback if not supported\n */\n\nexport const getCookieMap = (cookieString = document.cookie) => {\n // document.cookie has the format: \"key1=value1; key2=value2; key3=value3\"\n return cookieString.split(\";\").reduce((result: Map<string, string>, next: string) => {\n const cookieKeyValuePair = next.trim(); // \" key=value \" => \"key=value\"\n const [key, ...restOfString] = cookieKeyValuePair.split(\"=\"); // [\"key\", [\"value\"]]\n const value = decodeURIComponent(restOfString.join(\"=\")); // .join() handles if value contained \"=\"\n return result.set(key, value);\n }, new Map<string, string>());\n};\n\nexport const getCookieValue = (name: string): string | undefined => {\n // New Async API, not supported in FF/Safari:\n // if (window.cookieStore) {\n // return (await window.cookieStore.get(name))?.value;\n // }\n return getCookieMap().get(name);\n};\n\nexport const setCookieValue = (options: CookieInit): undefined => {\n // New Async API, not supported in FF/Safari:\n // if (window.cookieStore) {\n // const { domain, ...rest } = options;\n // const validatedDomain = domain === \"localhost\" ? undefined : domain;\n // return await window.cookieStore.set({ ...rest, domain: validatedDomain });\n // }\n // https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie#write_a_new_cookie\n const { name, value, expires, ...rest } = options;\n const encodedValue = encodeURIComponent(value);\n const base = `${name}=${encodedValue}`;\n const expiration = expires != null ? ` ;expires=${new Date(expires).toUTCString()}` : \"\";\n const modifiers = Object.entries(rest)\n .map(([key, val]) => (val != null ? ` ;${key}=${val}` : \"\"))\n .join(\"\");\n document.cookie = base + modifiers + expiration;\n return;\n};\n\nexport const deleteCookieValue = (options: { name: string; domain?: string; path?: string }): undefined => {\n return setCookieValue({ ...options, value: \"\", expires: -1 });\n};\n\n/*\n * CookieStore API Types\n * https://developer.mozilla.org/en-US/docs/Web/API/CookieStore#browser_compatibility\n */\n\ninterface CookieListItem {\n name: string;\n value: string;\n path: string;\n domain: string | null;\n expires: number | null; // timestamp, unix time in ms\n secure: boolean;\n sameSite: \"strict\" | \"lax\" | \"none\";\n}\n\ninterface CookieInit {\n name: string;\n value: string;\n path?: string;\n domain?: string;\n expires?: number; // timestamp, unix time in ms\n sameSite?: \"strict\" | \"lax\" | \"none\";\n}\n\n// https://wicg.github.io/cookie-store/#CookieChangeEvent\nexport interface CookieChangeEvent extends Event {\n readonly changed: CookieListItem[];\n readonly deleted: CookieListItem[];\n type: \"deleted\" | \"changed\";\n}\n\ntype SetCookie = {\n (options: CookieInit): Promise<undefined>;\n (name: string, value: string): Promise<undefined>;\n};\n\n// https://wicg.github.io/cookie-store/#CookieStore\ninterface CookieStore extends EventTarget {\n get: (name: string | { name: string; url: string }) => Promise<CookieListItem | undefined>;\n getAll: (name: string | { name: string; url: string }) => Promise<CookieListItem[]>;\n set: SetCookie; // function overload for multiple signatures\n delete: (name: string | { name: string; domain?: string | null; path?: string }) => Promise<undefined>;\n onchange: (event: CookieChangeEvent) => boolean | void | Promise<boolean | void>;\n}\n\ndeclare global {\n interface Window {\n cookieStore: CookieStore;\n }\n}\n"],"names":["getCookieMap","cookieString","result","next","cookieKeyValuePair","key","restOfString","value","getCookieValue","name","setCookieValue","options","expires","rest","encodedValue","base","expiration","modifiers","val","deleteCookieValue"],"mappings":"AAIO,MAAMA,EAAe,CAACC,EAAe,SAAS,SAE5CA,EAAa,MAAM,GAAG,EAAE,OAAO,CAACC,EAA6BC,IAAiB,CACnF,MAAMC,EAAqBD,EAAK,KAAA,EAC1B,CAACE,EAAK,GAAGC,CAAY,EAAIF,EAAmB,MAAM,GAAG,EACrDG,EAAQ,mBAAmBD,EAAa,KAAK,GAAG,CAAC,EACvD,OAAOJ,EAAO,IAAIG,EAAKE,CAAK,CAC9B,EAAG,IAAI,GAAqB,EAGjBC,EAAkBC,GAKtBT,EAAa,EAAE,IAAIS,CAAI,EAGnBC,EAAkBC,GAAmC,CAQhE,KAAM,CAAE,KAAAF,EAAM,MAAAF,EAAO,QAAAK,EAAS,GAAGC,CAAK,EAAIF,EACpCG,EAAe,mBAAmBP,CAAK,EACvCQ,EAAO,GAAGN,CAAI,IAAIK,CAAY,GAC9BE,EAAaJ,GAAW,KAAO,aAAa,IAAI,KAAKA,CAAO,EAAE,aAAa,GAAK,GAChFK,EAAY,OAAO,QAAQJ,CAAI,EAClC,IAAI,CAAC,CAACR,EAAKa,CAAG,IAAOA,GAAO,KAAO,KAAKb,CAAG,IAAIa,CAAG,GAAK,EAAG,EAC1D,KAAK,EAAE,EACV,SAAS,OAASH,EAAOE,EAAYD,CAEvC,EAEaG,EAAqBR,GACzBD,EAAe,CAAE,GAAGC,EAAS,MAAO,GAAI,QAAS,EAAG,CAAC"}
|
package/dist/utils/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../chunks/cart-contents-
|
|
1
|
+
import '../chunks/cart-contents-Shc27L1J.esm.js';
|
|
2
2
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
3
|
-
export { b as BeamCartChangeEvent, c as BeamCartCreatedEvent, a as BeamNetworkCallEvent, B as BeamNonprofitSelectEvent, d as BeamOrderCreatedEvent, f as BeamStatusChangeEvent } from '../chunks/events-
|
|
4
|
-
import '../chunks/openapi-spec-
|
|
3
|
+
export { b as BeamCartChangeEvent, c as BeamCartCreatedEvent, a as BeamNetworkCallEvent, B as BeamNonprofitSelectEvent, d as BeamOrderCreatedEvent, f as BeamStatusChangeEvent } from '../chunks/events-qTu4iIOo.esm.js';
|
|
4
|
+
import '../chunks/openapi-spec-D_Zzbl2J.esm.js';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { b as errors } from '../chunks/beam-errors-
|
|
2
|
-
export { e as events } from '../chunks/events-
|
|
1
|
+
export { b as errors } from '../chunks/beam-errors-fXDkG1zo.esm.js';
|
|
2
|
+
export { e as events } from '../chunks/events-qTu4iIOo.esm.js';
|
|
3
3
|
export { logger } from './logger.js';
|
|
4
4
|
export { fetchProxy, initNetworkListeners, xhrProxy } from './network-listeners.js';
|
|
5
5
|
export { createScopedLocalStorage } from './local-storage.js';
|
|
@@ -9,6 +9,6 @@ export { getRemoteSession, saveRemoteSession } from './remote-session.js';
|
|
|
9
9
|
export { memoizeLast } from './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-Shc27L1J.esm.js';
|
|
13
|
+
import '../chunks/openapi-spec-D_Zzbl2J.esm.js';
|
|
14
14
|
import '../chunks/types-7kSi85Gv.esm.js';
|