@beamimpact/web-sdk 1.55.8 → 1.57.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/README.md +5 -0
- package/dist/chunks/_share-dialog-dependencies-U9953n3E.esm.js +2 -0
- package/dist/chunks/{_share-dialog-dependencies-BG0p8uUr.esm.js.map → _share-dialog-dependencies-U9953n3E.esm.js.map} +1 -1
- package/dist/chunks/{order-page-Qn1yyNbN.esm.d.ts → cart-ChovPXmM.esm.d.ts} +19 -41
- package/dist/chunks/css-card-grid-BUidQqf0.esm.js +21 -0
- package/dist/chunks/css-card-grid-BUidQqf0.esm.js.map +1 -0
- package/dist/chunks/handlebars-B_i-to-h.esm.js +23 -0
- package/dist/chunks/handlebars-B_i-to-h.esm.js.map +1 -0
- package/dist/chunks/index--PfL-_nX.esm.js +2 -0
- package/dist/chunks/index--PfL-_nX.esm.js.map +1 -0
- package/dist/chunks/index-B4xKTDaF.esm.js +2 -0
- package/dist/chunks/index-B4xKTDaF.esm.js.map +1 -0
- package/dist/chunks/index-BG4XJXUa.esm.d.ts +28 -0
- package/dist/chunks/index-BHglsF5j.esm.js +2 -0
- package/dist/chunks/index-BHglsF5j.esm.js.map +1 -0
- package/dist/chunks/{index-C-hPf29c.esm.d.ts → index-BY5lSRmw.esm.d.ts} +4 -1
- package/dist/chunks/{index-BjGPkgs-.esm.d.ts → index-BoIHE1tC.esm.d.ts} +16 -1
- package/dist/chunks/index-CTsxQr7R.esm.js +32 -0
- package/dist/chunks/index-CTsxQr7R.esm.js.map +1 -0
- package/dist/chunks/{index-2OQzw7UI.esm.js → index-CVmIOuEY.esm.js} +28 -18
- package/dist/chunks/index-CVmIOuEY.esm.js.map +1 -0
- package/dist/chunks/{index-CBS5Fqry.esm.d.ts → index-CdinWvYu.esm.d.ts} +4 -2
- package/dist/chunks/index-DBKUxzAl.esm.js +32 -0
- package/dist/chunks/index-DBKUxzAl.esm.js.map +1 -0
- package/dist/chunks/{index-C5gnsl34.esm.js → index-DTw-q6W4.esm.js} +28 -18
- package/dist/chunks/index-DTw-q6W4.esm.js.map +1 -0
- package/dist/chunks/index-DhHhFTBE.esm.js +31 -0
- package/dist/chunks/index-DhHhFTBE.esm.js.map +1 -0
- package/dist/chunks/index-IQOpw0qx.esm.d.ts +65 -0
- package/dist/chunks/{index-rxgS4BLp.esm.d.ts → index-_0XeyyF9.esm.d.ts} +6 -2
- package/dist/chunks/index-cb5vYQx0.esm.js +2 -0
- package/dist/chunks/index-cb5vYQx0.esm.js.map +1 -0
- package/dist/chunks/lit-BEag9MFp.esm.js +25 -0
- package/dist/chunks/lit-BEag9MFp.esm.js.map +1 -0
- package/dist/chunks/lodash-CrMU6wKg.esm.js +2 -0
- package/dist/chunks/lodash-CrMU6wKg.esm.js.map +1 -0
- package/dist/chunks/{promo-pill-label-ByFGhdxh.esm.js → promo-pill-label-BdTmmg_U.esm.js} +3 -3
- package/dist/chunks/{promo-pill-label-ByFGhdxh.esm.js.map → promo-pill-label-BdTmmg_U.esm.js.map} +1 -1
- package/dist/chunks/{responsive-BR8qUfBa.esm.js → responsive-aN8P5PqD.esm.js} +2 -2
- package/dist/chunks/{responsive-BR8qUfBa.esm.js.map → responsive-aN8P5PqD.esm.js.map} +1 -1
- package/dist/chunks/routes-D6Gtw6kZ.esm.d.ts +638 -0
- package/dist/chunks/share-button-7sI6zg-x.esm.js +54 -0
- package/dist/chunks/share-button-7sI6zg-x.esm.js.map +1 -0
- package/dist/chunks/{share-button-DmjRJmXh.esm.js → share-button-BaIbuJOl.esm.js} +9 -4
- package/dist/chunks/share-button-BaIbuJOl.esm.js.map +1 -0
- package/dist/chunks/{update-cart-CauFT0AF.esm.d.ts → update-cart-CcgzHTEm.esm.d.ts} +3 -3
- package/dist/chunks/utils-BjhsDvuU.esm.js +2 -0
- package/dist/chunks/utils-BjhsDvuU.esm.js.map +1 -0
- package/dist/chunks/{openapi-spec-Bk7E2QQP.esm.d.ts → utils-D8HO_RIu.esm.d.ts} +615 -11
- package/dist/chunks/vendor-DUOg5fL-.esm.js +1286 -0
- package/dist/chunks/vendor-DUOg5fL-.esm.js.map +1 -0
- package/dist/components/beam-partner-logos.d.ts +3 -1
- package/dist/components/beam-partner-logos.esm.js +5 -5
- package/dist/components/beam-partner-logos.esm.js.map +1 -1
- package/dist/components/beam-partner-logos.js +5 -5
- package/dist/components/beam-partner-logos.js.map +1 -1
- package/dist/components/community-impact.d.ts +3 -4
- package/dist/components/community-impact.esm.js +13 -8
- package/dist/components/community-impact.esm.js.map +1 -1
- package/dist/components/community-impact.js +13 -8
- package/dist/components/community-impact.js.map +1 -1
- package/dist/components/cumulative-impact.d.ts +3 -2
- package/dist/components/cumulative-impact.esm.js +3 -3
- package/dist/components/cumulative-impact.esm.js.map +1 -1
- package/dist/components/cumulative-impact.js +3 -3
- package/dist/components/cumulative-impact.js.map +1 -1
- package/dist/components/impact-overview.d.ts +38 -40
- package/dist/components/impact-overview.esm.js +10 -5
- package/dist/components/impact-overview.esm.js.map +1 -1
- package/dist/components/impact-overview.js +10 -5
- package/dist/components/impact-overview.js.map +1 -1
- package/dist/components/index.d.ts +6 -9
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/post-purchase.d.ts +9 -12
- package/dist/components/post-purchase.esm.js +1 -31
- package/dist/components/post-purchase.esm.js.map +1 -1
- package/dist/components/post-purchase.js +1 -31
- package/dist/components/post-purchase.js.map +1 -1
- package/dist/components/product-details-page.d.ts +29 -28
- package/dist/components/product-details-page.esm.js +19 -19
- package/dist/components/product-details-page.esm.js.map +1 -1
- package/dist/components/product-details-page.js +19 -19
- package/dist/components/product-details-page.js.map +1 -1
- package/dist/components/redeem-transaction.d.ts +3 -7
- package/dist/components/redeem-transaction.esm.js +1 -1
- package/dist/components/redeem-transaction.js +1 -1
- package/dist/components/select-nonprofit.d.ts +3 -16
- package/dist/components/select-nonprofit.esm.js +8 -7
- package/dist/components/select-nonprofit.esm.js.map +1 -1
- package/dist/components/select-nonprofit.js +8 -7
- package/dist/components/select-nonprofit.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.d.ts +3 -3
- package/dist/components/select-subscription-nonprofit.esm.js +44 -23
- package/dist/components/select-subscription-nonprofit.esm.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.js +44 -23
- package/dist/components/select-subscription-nonprofit.js.map +1 -1
- package/dist/components/shopify.d.ts +9 -16
- 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/social-share.d.ts +15 -3
- package/dist/components/social-share.esm.js +12 -5
- package/dist/components/social-share.esm.js.map +1 -1
- package/dist/components/social-share.js +12 -5
- package/dist/components/social-share.js.map +1 -1
- package/dist/components/subscriber-select-nonprofit.d.ts +59 -0
- package/dist/components/subscriber-select-nonprofit.esm.js +137 -0
- package/dist/components/subscriber-select-nonprofit.esm.js.map +1 -0
- package/dist/components/subscriber-select-nonprofit.js +137 -0
- package/dist/components/subscriber-select-nonprofit.js.map +1 -0
- package/dist/components/subscription-impact.d.ts +38 -50
- package/dist/components/subscription-impact.esm.js +20 -8
- package/dist/components/subscription-impact.esm.js.map +1 -1
- package/dist/components/subscription-impact.js +20 -8
- package/dist/components/subscription-impact.js.map +1 -1
- package/dist/components/subscription-management.d.ts +91 -93
- package/dist/components/subscription-management.esm.js +7 -6
- package/dist/components/subscription-management.esm.js.map +1 -1
- package/dist/components/subscription-management.js +7 -6
- package/dist/components/subscription-management.js.map +1 -1
- package/dist/index.d.ts +40 -42
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/beam.d.ts +5 -2
- package/dist/integrations/beam.esm.js +1 -1
- package/dist/integrations/beam.esm.js.map +1 -1
- package/dist/integrations/beam.js +1 -1
- package/dist/integrations/beam.js.map +1 -1
- package/dist/integrations/cart.d.ts +4 -4
- package/dist/integrations/cart.esm.js +1 -1
- package/dist/integrations/cart.js +1 -1
- package/dist/integrations/logs.d.ts +4 -2
- package/dist/integrations/logs.esm.js +1 -1
- package/dist/integrations/logs.js +1 -1
- package/dist/integrations/promoManager.d.ts +3 -1
- package/dist/integrations/promoManager.esm.js +1 -1
- package/dist/integrations/promoManager.esm.js.map +1 -1
- package/dist/integrations/promoManager.js +1 -1
- package/dist/integrations/promoManager.js.map +1 -1
- package/dist/integrations/session.d.ts +1 -1
- package/dist/integrations/session.esm.js +1 -1
- package/dist/integrations/session.js +1 -1
- package/dist/integrations/shopify-order.d.ts +38 -0
- package/dist/integrations/shopify-order.esm.js +2 -0
- package/dist/integrations/shopify-order.esm.js.map +1 -0
- package/dist/integrations/shopify-order.js +2 -0
- package/dist/integrations/shopify-order.js.map +1 -0
- package/dist/integrations/shopify.d.ts +5 -16
- package/dist/integrations/shopify.esm.js +1 -1
- package/dist/integrations/shopify.js +1 -1
- package/dist/integrations/statsig.d.ts +11 -5
- package/dist/integrations/statsig.esm.js +14 -14
- package/dist/integrations/statsig.esm.js.map +1 -1
- package/dist/integrations/statsig.js +14 -14
- package/dist/integrations/statsig.js.map +1 -1
- package/dist/integrations/utils.d.ts +1 -14
- package/dist/integrations/utils.esm.js +1 -1
- package/dist/integrations/utils.js +1 -1
- package/dist/react/beam-partner-logos.d.ts +3 -1
- package/dist/react/beam-partner-logos.esm.js +1 -1
- package/dist/react/beam-partner-logos.js +1 -1
- package/dist/react/community-impact.d.ts +3 -4
- 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.d.ts +3 -2
- 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.d.ts +3 -5
- 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 +7 -11
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +3 -8
- 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/product-details-page.d.ts +4 -3
- package/dist/react/product-details-page.esm.js +1 -1
- package/dist/react/product-details-page.esm.js.map +1 -1
- package/dist/react/product-details-page.js +1 -1
- package/dist/react/product-details-page.js.map +1 -1
- package/dist/react/redeem-transaction.d.ts +3 -9
- 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 -8
- 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/select-subscription-nonprofit.d.ts +3 -7
- package/dist/react/select-subscription-nonprofit.esm.js +1 -1
- package/dist/react/select-subscription-nonprofit.esm.js.map +1 -1
- package/dist/react/select-subscription-nonprofit.js +1 -1
- package/dist/react/select-subscription-nonprofit.js.map +1 -1
- package/dist/react/shopify.d.ts +2 -2
- package/dist/react/shopify.esm.js +1 -1
- package/dist/react/shopify.esm.js.map +1 -1
- package/dist/react/shopify.js +1 -1
- package/dist/react/shopify.js.map +1 -1
- package/dist/react/social-share.d.ts +3 -3
- package/dist/react/social-share.esm.js +1 -1
- package/dist/react/social-share.esm.js.map +1 -1
- package/dist/react/social-share.js +1 -1
- package/dist/react/social-share.js.map +1 -1
- package/dist/react/subscriber-select-nonprofit.d.ts +14 -0
- package/dist/react/subscriber-select-nonprofit.esm.js +2 -0
- package/dist/react/subscriber-select-nonprofit.esm.js.map +1 -0
- package/dist/react/subscriber-select-nonprofit.js +2 -0
- package/dist/react/subscriber-select-nonprofit.js.map +1 -0
- package/dist/react/subscription-impact.d.ts +3 -4
- package/dist/react/subscription-impact.esm.js +1 -1
- package/dist/react/subscription-impact.esm.js.map +1 -1
- package/dist/react/subscription-impact.js +1 -1
- package/dist/react/subscription-impact.js.map +1 -1
- package/dist/react/subscription-management.d.ts +4 -7
- package/dist/react/subscription-management.esm.js +1 -1
- package/dist/react/subscription-management.esm.js.map +1 -1
- package/dist/react/subscription-management.js +1 -1
- package/dist/react/subscription-management.js.map +1 -1
- package/dist/utils/beam-errors.d.ts +3 -1
- package/dist/utils/beam-errors.esm.js +1 -1
- package/dist/utils/beam-errors.js +1 -1
- package/dist/utils/cart.d.ts +3 -18
- package/dist/utils/cart.esm.js +1 -1
- package/dist/utils/cart.esm.js.map +1 -1
- package/dist/utils/cart.js +1 -1
- package/dist/utils/cart.js.map +1 -1
- package/dist/utils/cookies.d.ts +3 -58
- 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/debounce.esm.js +1 -1
- package/dist/utils/debounce.js +1 -1
- package/dist/utils/events.d.ts +3 -5
- package/dist/utils/events.esm.js +1 -1
- package/dist/utils/events.js +1 -1
- package/dist/utils/is-equal.esm.js +1 -1
- package/dist/utils/is-equal.js +1 -1
- package/dist/utils/local-storage.d.ts +3 -19
- package/dist/utils/local-storage.esm.js +1 -1
- package/dist/utils/local-storage.esm.js.map +1 -1
- package/dist/utils/local-storage.js +1 -1
- package/dist/utils/local-storage.js.map +1 -1
- package/dist/utils/logger.d.ts +3 -8
- package/dist/utils/logger.esm.js +1 -1
- package/dist/utils/logger.esm.js.map +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/makeApiKeyHeader.d.ts +3 -5
- package/dist/utils/makeApiKeyHeader.esm.js +1 -1
- package/dist/utils/makeApiKeyHeader.esm.js.map +1 -1
- package/dist/utils/makeApiKeyHeader.js +1 -1
- package/dist/utils/makeApiKeyHeader.js.map +1 -1
- package/dist/utils/memoize-last.d.ts +3 -17
- package/dist/utils/memoize-last.esm.js +1 -1
- package/dist/utils/memoize-last.esm.js.map +1 -1
- package/dist/utils/memoize-last.js +1 -1
- package/dist/utils/memoize-last.js.map +1 -1
- package/dist/utils/network-listeners.d.ts +3 -3
- package/dist/utils/network-listeners.esm.js +1 -1
- package/dist/utils/network-listeners.esm.js.map +1 -1
- package/dist/utils/network-listeners.js +1 -1
- package/dist/utils/network-listeners.js.map +1 -1
- package/dist/utils/promoManager.d.ts +3 -123
- package/dist/utils/promoManager.esm.js +1 -1
- package/dist/utils/promoManager.esm.js.map +1 -1
- package/dist/utils/promoManager.js +1 -1
- package/dist/utils/promoManager.js.map +1 -1
- package/dist/utils/remote-session.d.ts +3 -9
- package/dist/utils/remote-session.esm.js +1 -1
- package/dist/utils/remote-session.esm.js.map +1 -1
- package/dist/utils/remote-session.js +1 -1
- package/dist/utils/remote-session.js.map +1 -1
- package/dist/utils/wait-for-element.d.ts +3 -5
- package/dist/utils/wait-for-element.esm.js +1 -1
- package/dist/utils/wait-for-element.esm.js.map +1 -1
- package/dist/utils/wait-for-element.js +1 -1
- package/dist/utils/wait-for-element.js.map +1 -1
- package/package.json +45 -39
- package/dist/chunks/_share-dialog-dependencies-BG0p8uUr.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-dHlBUqo0.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-dHlBUqo0.esm.js.map +0 -1
- package/dist/chunks/beam-errors-CCe004HS.esm.d.ts +0 -40
- package/dist/chunks/beam-errors-Ci0d3926.esm.js +0 -2
- package/dist/chunks/beam-errors-Ci0d3926.esm.js.map +0 -1
- package/dist/chunks/cart-contents-CLT7p7Gd.esm.d.ts +0 -18
- package/dist/chunks/cart-contents-DkoytiZh.esm.js +0 -2
- package/dist/chunks/cart-contents-DkoytiZh.esm.js.map +0 -1
- package/dist/chunks/css-card-grid-CvoGpsJH.esm.js +0 -20
- package/dist/chunks/css-card-grid-CvoGpsJH.esm.js.map +0 -1
- package/dist/chunks/enforce-config-Ba1JkOHs.esm.js +0 -3
- package/dist/chunks/enforce-config-Ba1JkOHs.esm.js.map +0 -1
- package/dist/chunks/enforce-config-CZ3ToOgr.esm.js +0 -3
- package/dist/chunks/enforce-config-CZ3ToOgr.esm.js.map +0 -1
- package/dist/chunks/events-CSyogxoH.esm.d.ts +0 -186
- package/dist/chunks/events-Dki0ka4F.esm.js +0 -2
- package/dist/chunks/events-Dki0ka4F.esm.js.map +0 -1
- package/dist/chunks/index-2OQzw7UI.esm.js.map +0 -1
- package/dist/chunks/index-B1Y88trP.esm.js +0 -2
- package/dist/chunks/index-B1Y88trP.esm.js.map +0 -1
- package/dist/chunks/index-B1lGZARl.esm.d.ts +0 -46
- package/dist/chunks/index-B7hOLixE.esm.d.ts +0 -15
- package/dist/chunks/index-BNjsFEGn.esm.js +0 -2
- package/dist/chunks/index-BNjsFEGn.esm.js.map +0 -1
- package/dist/chunks/index-BTDB5Gk-.esm.js +0 -2
- package/dist/chunks/index-BTDB5Gk-.esm.js.map +0 -1
- package/dist/chunks/index-BX6GnRsb.esm.js +0 -2
- package/dist/chunks/index-BX6GnRsb.esm.js.map +0 -1
- package/dist/chunks/index-C3hpHWh1.esm.js +0 -2
- package/dist/chunks/index-C3hpHWh1.esm.js.map +0 -1
- package/dist/chunks/index-C5gnsl34.esm.js.map +0 -1
- package/dist/chunks/index-CGKJagBi.esm.js +0 -2
- package/dist/chunks/index-CGKJagBi.esm.js.map +0 -1
- package/dist/chunks/index-CJ1y1kTs.esm.d.ts +0 -46
- package/dist/chunks/index-CWKcDbs6.esm.js +0 -2
- package/dist/chunks/index-CWKcDbs6.esm.js.map +0 -1
- package/dist/chunks/index-Cg65EbvX.esm.js +0 -2
- package/dist/chunks/index-Cg65EbvX.esm.js.map +0 -1
- package/dist/chunks/index-Ct1m4IjM.esm.js +0 -2
- package/dist/chunks/index-Ct1m4IjM.esm.js.map +0 -1
- package/dist/chunks/index-D6qJfs7_.esm.js +0 -2
- package/dist/chunks/index-D6qJfs7_.esm.js.map +0 -1
- package/dist/chunks/index-DBb5HSkR.esm.js +0 -2
- package/dist/chunks/index-DBb5HSkR.esm.js.map +0 -1
- package/dist/chunks/index-DEaZqGi7.esm.js +0 -2
- package/dist/chunks/index-DEaZqGi7.esm.js.map +0 -1
- package/dist/chunks/index-DXj15KHe.esm.d.ts +0 -32
- package/dist/chunks/index-DnTE6QlY.esm.js +0 -2
- package/dist/chunks/index-DnTE6QlY.esm.js.map +0 -1
- package/dist/chunks/index-DrxhkT6Y.esm.js +0 -2
- package/dist/chunks/index-DrxhkT6Y.esm.js.map +0 -1
- package/dist/chunks/index-IKiJwo5v.esm.js +0 -2
- package/dist/chunks/index-IKiJwo5v.esm.js.map +0 -1
- package/dist/chunks/index-RhV6PBPH.esm.js +0 -2
- package/dist/chunks/index-RhV6PBPH.esm.js.map +0 -1
- package/dist/chunks/index-eCVyk0rc.esm.js +0 -2
- package/dist/chunks/index-eCVyk0rc.esm.js.map +0 -1
- package/dist/chunks/index-iqYDqEil.esm.d.ts +0 -19
- package/dist/chunks/index-tbwbkOdj.esm.js +0 -2
- package/dist/chunks/index-tbwbkOdj.esm.js.map +0 -1
- package/dist/chunks/is-all-html-elements-fcB7UUA1.esm.js +0 -2
- package/dist/chunks/is-all-html-elements-fcB7UUA1.esm.js.map +0 -1
- package/dist/chunks/lit-WqMxC_PA.esm.js +0 -34
- package/dist/chunks/lit-WqMxC_PA.esm.js.map +0 -1
- package/dist/chunks/loading-template-DG4lkIIc.esm.js +0 -2
- package/dist/chunks/loading-template-DG4lkIIc.esm.js.map +0 -1
- package/dist/chunks/localize-Btu9xYcE.esm.js +0 -31
- package/dist/chunks/localize-Btu9xYcE.esm.js.map +0 -1
- package/dist/chunks/localize-C25pEGnx.esm.js +0 -31
- package/dist/chunks/localize-C25pEGnx.esm.js.map +0 -1
- package/dist/chunks/lodash-D3TLHRR_.esm.js +0 -2
- package/dist/chunks/lodash-D3TLHRR_.esm.js.map +0 -1
- package/dist/chunks/order-page-BRG7MXZ2.esm.js +0 -2
- package/dist/chunks/order-page-BRG7MXZ2.esm.js.map +0 -1
- package/dist/chunks/order-page-BbHDQfmy.esm.js +0 -2
- package/dist/chunks/order-page-BbHDQfmy.esm.js.map +0 -1
- package/dist/chunks/progress-bar-CveZ8E6Q.esm.d.ts +0 -15
- package/dist/chunks/progress-bar-DF7UuuHb.esm.js +0 -54
- package/dist/chunks/progress-bar-DF7UuuHb.esm.js.map +0 -1
- package/dist/chunks/promo-pill-label-BXRqZHET.esm.d.ts +0 -19
- package/dist/chunks/promo-pill-label-WGLW3bql.esm.js +0 -16
- package/dist/chunks/promo-pill-label-WGLW3bql.esm.js.map +0 -1
- package/dist/chunks/promo-types-7r9-UuiP.esm.d.ts +0 -14
- package/dist/chunks/promo-types-DKAOFHJr.esm.js +0 -2
- package/dist/chunks/promo-types-DKAOFHJr.esm.js.map +0 -1
- package/dist/chunks/routes-BvX92EDq.esm.js +0 -2
- package/dist/chunks/routes-BvX92EDq.esm.js.map +0 -1
- package/dist/chunks/routes-DahRzf8t.esm.d.ts +0 -638
- package/dist/chunks/routes-DguZveS3.esm.js +0 -2
- package/dist/chunks/routes-DguZveS3.esm.js.map +0 -1
- package/dist/chunks/share-button-BRjKJc5L.esm.js +0 -167
- package/dist/chunks/share-button-BRjKJc5L.esm.js.map +0 -1
- package/dist/chunks/share-button-CDVVaxEc.esm.d.ts +0 -27
- package/dist/chunks/share-button-DPNNnXeM.esm.js +0 -2
- package/dist/chunks/share-button-DPNNnXeM.esm.js.map +0 -1
- package/dist/chunks/share-button-DmjRJmXh.esm.js.map +0 -1
- package/dist/chunks/share-button-M8cMa6ol.esm.js +0 -2
- package/dist/chunks/share-button-M8cMa6ol.esm.js.map +0 -1
- package/dist/chunks/types-CPxMwnoR.esm.d.ts +0 -28
- package/dist/chunks/types-DfRc36jU.esm.d.ts +0 -15
- package/dist/chunks/update-cart-CJywJNax.esm.js +0 -2
- package/dist/chunks/update-cart-CJywJNax.esm.js.map +0 -1
- package/dist/chunks/update-cart-gwNcGXkd.esm.js +0 -2
- package/dist/chunks/update-cart-gwNcGXkd.esm.js.map +0 -1
- package/dist/chunks/vendor-KKSARHWL.esm.js +0 -1284
- package/dist/chunks/vendor-KKSARHWL.esm.js.map +0 -1
- package/dist/integrations/index.d.ts +0 -35
- package/dist/integrations/index.esm.js +0 -2
- package/dist/integrations/index.esm.js.map +0 -1
- package/dist/integrations/index.js +0 -2
- package/dist/integrations/index.js.map +0 -1
- package/dist/utils/index.d.ts +0 -16
- package/dist/utils/index.esm.js +0 -2
- package/dist/utils/index.esm.js.map +0 -1
- package/dist/utils/index.js +0 -2
- package/dist/utils/index.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{
|
|
1
|
+
import o from"react";import{f as m}from"../chunks/lit-BEag9MFp.esm.js";import{B as r}from"../chunks/utils-BjhsDvuU.esm.js";import{B as t}from"../chunks/index-DTw-q6W4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../components/beam-partner-logos.js";import"../chunks/promo-pill-label-BdTmmg_U.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";const e=m({tagName:t.tagName,elementClass:t,react:o,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":"oiBAKO,MAAMA,EAAwBC,EAAgB,CACnD,QAASC,EAAuB,QAChC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-D8HO_RIu.esm.js';
|
|
4
4
|
import { BeamSelectNonprofit as BeamSelectNonprofit$1 } from '../components/select-nonprofit.js';
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '../chunks/promo-types-7r9-UuiP.esm.js';
|
|
8
|
-
import '../chunks/types-CPxMwnoR.esm.js';
|
|
5
|
+
import 'lodash-es/debounce';
|
|
6
|
+
import 'lodash-es/isEqual';
|
|
9
7
|
import 'lit-html';
|
|
10
8
|
import 'lit';
|
|
11
9
|
import 'lodash';
|
|
12
|
-
import '../chunks/progress-bar-CveZ8E6Q.esm.js';
|
|
13
|
-
import '../chunks/promo-pill-label-BXRqZHET.esm.js';
|
|
14
|
-
import '../chunks/types-DfRc36jU.esm.js';
|
|
15
10
|
|
|
16
11
|
declare const BeamSelectNonprofit: _lit_react.ReactWebComponent<BeamSelectNonprofit$1, {
|
|
17
12
|
onNonprofitSelect: EventName<BeamNonprofitSelectEvent>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{
|
|
1
|
+
import o from"react";import{f as e}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/promo-pill-label-BdTmmg_U.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/vendor-DUOg5fL-.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":"6jBAKO,MAAMA,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{
|
|
1
|
+
import o from"react";import{f as e}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/promo-pill-label-BdTmmg_U.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/vendor-DUOg5fL-.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":"yjBAKO,MAAMA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-D8HO_RIu.esm.js';
|
|
4
4
|
import { BeamSelectSubscriptionNonprofit as BeamSelectSubscriptionNonprofit$1 } from '../components/select-subscription-nonprofit.js';
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '../chunks/promo-types-7r9-UuiP.esm.js';
|
|
8
|
-
import '../chunks/types-CPxMwnoR.esm.js';
|
|
5
|
+
import 'lodash-es/debounce';
|
|
6
|
+
import 'lodash-es/isEqual';
|
|
9
7
|
import 'lit-html';
|
|
10
8
|
import 'lit';
|
|
11
9
|
import 'lodash';
|
|
12
|
-
import '../chunks/types-DfRc36jU.esm.js';
|
|
13
|
-
import '../chunks/progress-bar-CveZ8E6Q.esm.js';
|
|
14
10
|
import '../components/beam-partner-logos.js';
|
|
15
11
|
|
|
16
12
|
declare const BeamSelectSubscriptionNonprofit: _lit_react.ReactWebComponent<BeamSelectSubscriptionNonprofit$1, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSelectSubscriptionNonprofit as t}from"../components/select-subscription-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../components/beam-partner-logos.esm.js";const o=r({tagName:t.tagName,elementClass:t,react:e,events:{onNonprofitSelect:m.eventName}});export{o as BeamSelectSubscriptionNonprofit,o as default};
|
|
2
2
|
//# sourceMappingURL=select-subscription-nonprofit.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-subscription-nonprofit.esm.js","sources":["../../src/components/select-subscription-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectSubscriptionNonprofit as _BeamSelectSubscriptionNonprofit } from \"./index\";\n\nexport const BeamSelectSubscriptionNonprofit = createComponent({\n tagName: _BeamSelectSubscriptionNonprofit.tagName,\n elementClass: _BeamSelectSubscriptionNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectSubscriptionNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectSubscriptionNonprofit","createComponent","_BeamSelectSubscriptionNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"select-subscription-nonprofit.esm.js","sources":["../../src/components/select-subscription-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectSubscriptionNonprofit as _BeamSelectSubscriptionNonprofit } from \"./index\";\n\nexport const BeamSelectSubscriptionNonprofit = createComponent({\n tagName: _BeamSelectSubscriptionNonprofit.tagName,\n elementClass: _BeamSelectSubscriptionNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectSubscriptionNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectSubscriptionNonprofit","createComponent","_BeamSelectSubscriptionNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"gcAKO,MAAMA,EAAkCC,EAAgB,CAC7D,QAASC,EAAiC,QAC1C,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSelectSubscriptionNonprofit as t}from"../components/select-subscription-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../components/beam-partner-logos.js";const o=r({tagName:t.tagName,elementClass:t,react:e,events:{onNonprofitSelect:m.eventName}});export{o as BeamSelectSubscriptionNonprofit,o as default};
|
|
2
2
|
//# sourceMappingURL=select-subscription-nonprofit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-subscription-nonprofit.js","sources":["../../src/components/select-subscription-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectSubscriptionNonprofit as _BeamSelectSubscriptionNonprofit } from \"./index\";\n\nexport const BeamSelectSubscriptionNonprofit = createComponent({\n tagName: _BeamSelectSubscriptionNonprofit.tagName,\n elementClass: _BeamSelectSubscriptionNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectSubscriptionNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectSubscriptionNonprofit","createComponent","_BeamSelectSubscriptionNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"select-subscription-nonprofit.js","sources":["../../src/components/select-subscription-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectSubscriptionNonprofit as _BeamSelectSubscriptionNonprofit } from \"./index\";\n\nexport const BeamSelectSubscriptionNonprofit = createComponent({\n tagName: _BeamSelectSubscriptionNonprofit.tagName,\n elementClass: _BeamSelectSubscriptionNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectSubscriptionNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectSubscriptionNonprofit","createComponent","_BeamSelectSubscriptionNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"wbAKO,MAAMA,EAAkCC,EAAgB,CAC7D,QAASC,EAAiC,QAC1C,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
package/dist/react/shopify.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
|
|
2
|
+
export { };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{u as s,N as i,O as c,e as g,f as p,P as S,a as u,g as r,j as P,A as k,d as f,K as w,h as y,b as v,x as A,l as F,Q as L,J as E,R,z as _,p as I,s as b,n,D as z,C as h,w as V}from"../chunks/utils-BjhsDvuU.esm.js";import{d as x,i as J}from"../chunks/lodash-CrMU6wKg.esm.js";import{v as K}from"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/lit-BEag9MFp.esm.js";var N=Object.freeze({__proto__:null,createScopedLocalStorage:s,debounce:x,deleteCookieValue:i,errors:c,events:g,formatStoreAndReturnPromoCodes:p,getAllPromoCodesFromCookie:S,getCookieMap:u,getCookieValue:r,getPromoCodeFromShopifyCookie:P,getPromoCodesFromCart:k,getPromoCodesLocalStorage:f,getRemoteSession:w,getSanitizedUrlForStorage:y,initNetworkListeners:v,isEmptyPromoData:A,isEqual:J,logger:F,mapToUnvalidatedPromoCodes:L,memoizeLast:E,mergeStoreAndReturnPromos:R,parseJsonStringArray:_,promoCodesAreEqual:I,saveRemoteSession:b,setCookieValue:n,setPromoCodeInCookie:z,setPromoCodesInLocalStorage:h,waitForElement:V});const m="beam_session";async function d({cookieName:o=m,domain:a=window.location.hostname,apiKey:t=""}={}){if(await r(o))return;const e=K(),C=Date.now()+720*60*60*1e3;await n({name:o,value:e,domain:a,path:"/",expires:C}),s({apiKey:t}).setItemJson("cart",{cartId:e})}async function l({cookieName:o=m,domain:a=window.location.hostname,apiKey:t=""}={}){const e=await r(o);e&&(s({apiKey:t}).setItemJson("cart",{cartId:e}),await i({name:o,domain:a}))}var q=Object.freeze({__proto__:null,createSession:d,endSession:l});export{N as a,d as c,l as e,q as i};
|
|
2
2
|
//# sourceMappingURL=shopify.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shopify.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"shopify.esm.js","sources":["../../src/integrations/session/index.ts"],"sourcesContent":["/**\n If checkout and order page are on different subdomains, we can't access localStorage for nonprofitId/selectionId\n We can make post-transaction work by copying a \"cartID\"-style cookie to the expected localStorage key on the current\n domain, which will allow the post-transaction widgets to send that to the backend which can restore the selection\n from the cart.\n\n This will also work if we don't have a cart cookie for some other reason, although it is not directly integrated\n with the host site's concept of a cart (e.g., line items and expiration dates).\n\n Note: Use a module import rather than a self-executing script so that we can set cookies on the host domain\n rather than our 3rd party CDN domain, and customize the options via arguments.\n\n Usage:\n <script type=\"module\">\n import { createSession } from 'https://...';\n createSession({domain: 'mystore.com'})\n </script>\n */\n\nimport { v4 as uuid } from \"@lukeed/uuid/secure\";\nimport { deleteCookieValue, getCookieValue, setCookieValue } from \"../../utils/cookies\";\nimport { createScopedLocalStorage } from \"../../utils/local-storage\";\n\nconst DEFAULT_COOKIE_NAME = \"beam_session\";\n\nexport async function createSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain or subdomain to set cookie on\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const existingValue = await getCookieValue(cookieName);\n\n if (existingValue) {\n return; // do nothing\n }\n\n const cookieValue = uuid();\n\n const expires = Date.now() + 30 * 24 * 60 * 60 * 1000; // 30 days\n\n await setCookieValue({ name: cookieName, value: cookieValue, domain, path: \"/\", expires });\n\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n}\n\nexport async function endSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain to remove cookie from\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const cookieValue = await getCookieValue(cookieName);\n\n if (!cookieValue) {\n return; // do nothing\n }\n\n // copy cookie value into localStorage for widgets to use\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n\n // delete cookie to end session (will generate new one on next visit)\n await deleteCookieValue({ name: cookieName, domain });\n}\n"],"names":["DEFAULT_COOKIE_NAME","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"89BAuBA,MAAMA,EAAsB,eAE5B,eAAsBC,EAAc,CAClC,WAAAC,EAAaF,EACb,OAAAG,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,CAAA,EAAI,CAGN,GAFsB,MAAMC,EAAeH,CAAU,EAGnD,OAGF,MAAMI,EAAcC,EAAAA,EAEdC,EAAU,KAAK,MAAQ,IAAU,GAAK,GAAK,IAEjD,MAAMC,EAAe,CAAE,KAAMP,EAAY,MAAOI,EAAa,OAAAH,EAAQ,KAAM,IAAK,QAAAK,CAAQ,CAAC,EAEhEE,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,CAC9D,CAEA,eAAsBK,EAAW,CAC/B,WAAAT,EAAaF,EACb,OAAAG,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CACN,MAAME,EAAc,MAAMD,EAAeH,CAAU,EAE9CI,IAKoBI,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,EAG5D,MAAMM,EAAkB,CAAE,KAAMV,EAAY,OAAAC,CAAO,CAAC,EACtD"}
|
package/dist/react/shopify.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{u as s,N as i,O as c,e as g,f as p,P as S,a as u,g as r,j as P,A as k,d as f,K as w,h as y,b as v,x as A,l as F,Q as L,J as E,R,z as _,p as I,s as b,n,D as z,C as h,w as V}from"../chunks/utils-BjhsDvuU.esm.js";import{d as x,i as J}from"../chunks/lodash-CrMU6wKg.esm.js";import{v as K}from"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/lit-BEag9MFp.esm.js";var N=Object.freeze({__proto__:null,createScopedLocalStorage:s,debounce:x,deleteCookieValue:i,errors:c,events:g,formatStoreAndReturnPromoCodes:p,getAllPromoCodesFromCookie:S,getCookieMap:u,getCookieValue:r,getPromoCodeFromShopifyCookie:P,getPromoCodesFromCart:k,getPromoCodesLocalStorage:f,getRemoteSession:w,getSanitizedUrlForStorage:y,initNetworkListeners:v,isEmptyPromoData:A,isEqual:J,logger:F,mapToUnvalidatedPromoCodes:L,memoizeLast:E,mergeStoreAndReturnPromos:R,parseJsonStringArray:_,promoCodesAreEqual:I,saveRemoteSession:b,setCookieValue:n,setPromoCodeInCookie:z,setPromoCodesInLocalStorage:h,waitForElement:V});const m="beam_session";async function d({cookieName:o=m,domain:a=window.location.hostname,apiKey:t=""}={}){if(await r(o))return;const e=K(),C=Date.now()+720*60*60*1e3;await n({name:o,value:e,domain:a,path:"/",expires:C}),s({apiKey:t}).setItemJson("cart",{cartId:e})}async function l({cookieName:o=m,domain:a=window.location.hostname,apiKey:t=""}={}){const e=await r(o);e&&(s({apiKey:t}).setItemJson("cart",{cartId:e}),await i({name:o,domain:a}))}var q=Object.freeze({__proto__:null,createSession:d,endSession:l});export{N as a,d as c,l as e,q as i};
|
|
2
2
|
//# sourceMappingURL=shopify.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shopify.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"shopify.js","sources":["../../src/integrations/session/index.ts"],"sourcesContent":["/**\n If checkout and order page are on different subdomains, we can't access localStorage for nonprofitId/selectionId\n We can make post-transaction work by copying a \"cartID\"-style cookie to the expected localStorage key on the current\n domain, which will allow the post-transaction widgets to send that to the backend which can restore the selection\n from the cart.\n\n This will also work if we don't have a cart cookie for some other reason, although it is not directly integrated\n with the host site's concept of a cart (e.g., line items and expiration dates).\n\n Note: Use a module import rather than a self-executing script so that we can set cookies on the host domain\n rather than our 3rd party CDN domain, and customize the options via arguments.\n\n Usage:\n <script type=\"module\">\n import { createSession } from 'https://...';\n createSession({domain: 'mystore.com'})\n </script>\n */\n\nimport { v4 as uuid } from \"@lukeed/uuid/secure\";\nimport { deleteCookieValue, getCookieValue, setCookieValue } from \"../../utils/cookies\";\nimport { createScopedLocalStorage } from \"../../utils/local-storage\";\n\nconst DEFAULT_COOKIE_NAME = \"beam_session\";\n\nexport async function createSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain or subdomain to set cookie on\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const existingValue = await getCookieValue(cookieName);\n\n if (existingValue) {\n return; // do nothing\n }\n\n const cookieValue = uuid();\n\n const expires = Date.now() + 30 * 24 * 60 * 60 * 1000; // 30 days\n\n await setCookieValue({ name: cookieName, value: cookieValue, domain, path: \"/\", expires });\n\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n}\n\nexport async function endSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain to remove cookie from\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const cookieValue = await getCookieValue(cookieName);\n\n if (!cookieValue) {\n return; // do nothing\n }\n\n // copy cookie value into localStorage for widgets to use\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n\n // delete cookie to end session (will generate new one on next visit)\n await deleteCookieValue({ name: cookieName, domain });\n}\n"],"names":["DEFAULT_COOKIE_NAME","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"89BAuBA,MAAMA,EAAsB,eAE5B,eAAsBC,EAAc,CAClC,WAAAC,EAAaF,EACb,OAAAG,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,CAAA,EAAI,CAGN,GAFsB,MAAMC,EAAeH,CAAU,EAGnD,OAGF,MAAMI,EAAcC,EAAAA,EAEdC,EAAU,KAAK,MAAQ,IAAU,GAAK,GAAK,IAEjD,MAAMC,EAAe,CAAE,KAAMP,EAAY,MAAOI,EAAa,OAAAH,EAAQ,KAAM,IAAK,QAAAK,CAAQ,CAAC,EAEhEE,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,CAC9D,CAEA,eAAsBK,EAAW,CAC/B,WAAAT,EAAaF,EACb,OAAAG,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CACN,MAAME,EAAc,MAAMD,EAAeH,CAAU,EAE9CI,IAKoBI,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,EAG5D,MAAMM,EAAkB,CAAE,KAAMV,EAAY,OAAAC,CAAO,CAAC,EACtD"}
|
|
@@ -2,10 +2,10 @@ import * as _lit_react from '@lit/react';
|
|
|
2
2
|
import { BeamSocialShare as BeamSocialShare$1 } from '../components/social-share.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
|
-
import '../chunks/progress-bar-CveZ8E6Q.esm.js';
|
|
6
5
|
import '../components/beam-partner-logos.js';
|
|
7
|
-
import '../chunks/
|
|
8
|
-
import '
|
|
6
|
+
import '../chunks/utils-D8HO_RIu.esm.js';
|
|
7
|
+
import 'lodash-es/debounce';
|
|
8
|
+
import 'lodash-es/isEqual';
|
|
9
9
|
|
|
10
10
|
declare const BeamSocialShare: _lit_react.ReactWebComponent<BeamSocialShare$1, {}>;
|
|
11
11
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSocialShare as m}from"../components/social-share.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";const o=r({tagName:m.tagName,elementClass:m,react:a});export{o as BeamSocialShare,o as default};
|
|
2
2
|
//# sourceMappingURL=social-share.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social-share.esm.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"social-share.esm.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"yfAIO,MAAMA,EAAkBC,EAAgB,CAC7C,QAASC,EAAiB,QAC1B,aAAcA,EACd,MAAOC,CACT,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSocialShare as m}from"../components/social-share.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";const o=r({tagName:m.tagName,elementClass:m,react:a});export{o as BeamSocialShare,o as default};
|
|
2
2
|
//# sourceMappingURL=social-share.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social-share.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"social-share.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"ifAIO,MAAMA,EAAkBC,EAAgB,CAC7C,QAASC,EAAiB,QAC1B,aAAcA,EACd,MAAOC,CACT,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _lit_react from '@lit/react';
|
|
2
|
+
import { EventName } from '@lit/react';
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-D8HO_RIu.esm.js';
|
|
4
|
+
import { BeamSubscriberSelectNonprofit as BeamSubscriberSelectNonprofit$1 } from '../components/subscriber-select-nonprofit.js';
|
|
5
|
+
import 'lodash-es/debounce';
|
|
6
|
+
import 'lodash-es/isEqual';
|
|
7
|
+
import 'lit-html';
|
|
8
|
+
import 'lit';
|
|
9
|
+
|
|
10
|
+
declare const BeamSubscriberSelectNonprofit: _lit_react.ReactWebComponent<BeamSubscriberSelectNonprofit$1, {
|
|
11
|
+
onNonprofitSelect: EventName<BeamNonprofitSelectEvent>;
|
|
12
|
+
}>;
|
|
13
|
+
|
|
14
|
+
export { BeamSubscriberSelectNonprofit, BeamSubscriberSelectNonprofit as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSubscriberSelectNonprofit as e}from"../components/subscriber-select-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/handlebars-B_i-to-h.esm.js";const t=r({tagName:e.tagName,elementClass:e,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSubscriberSelectNonprofit,t as default};
|
|
2
|
+
//# sourceMappingURL=subscriber-select-nonprofit.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriber-select-nonprofit.esm.js","sources":["../../src/components/subscriber-select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSubscriberSelectNonprofit as _BeamSubscriberSelectNonprofit } from \"./index\";\n\nexport const BeamSubscriberSelectNonprofit = createComponent({\n tagName: _BeamSubscriberSelectNonprofit.tagName,\n elementClass: _BeamSubscriberSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSubscriberSelectNonprofit;\n"],"names":["BeamSubscriberSelectNonprofit","createComponent","_BeamSubscriberSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"seAKO,MAAMA,EAAgCC,EAAgB,CAC3D,QAASC,EAA+B,QACxC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSubscriberSelectNonprofit as e}from"../components/subscriber-select-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/handlebars-B_i-to-h.esm.js";const t=r({tagName:e.tagName,elementClass:e,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSubscriberSelectNonprofit,t as default};
|
|
2
|
+
//# sourceMappingURL=subscriber-select-nonprofit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriber-select-nonprofit.js","sources":["../../src/components/subscriber-select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSubscriberSelectNonprofit as _BeamSubscriberSelectNonprofit } from \"./index\";\n\nexport const BeamSubscriberSelectNonprofit = createComponent({\n tagName: _BeamSubscriberSelectNonprofit.tagName,\n elementClass: _BeamSubscriberSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSubscriberSelectNonprofit;\n"],"names":["BeamSubscriberSelectNonprofit","createComponent","_BeamSubscriberSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"keAKO,MAAMA,EAAgCC,EAAgB,CAC3D,QAASC,EAA+B,QACxC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -3,10 +3,9 @@ import { BeamSubscriptionImpact as BeamSubscriptionImpact$1 } from '../component
|
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import 'lodash';
|
|
6
|
-
import '../chunks/
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
9
|
-
import '../chunks/share-button-CDVVaxEc.esm.js';
|
|
6
|
+
import '../chunks/utils-D8HO_RIu.esm.js';
|
|
7
|
+
import 'lodash-es/debounce';
|
|
8
|
+
import 'lodash-es/isEqual';
|
|
10
9
|
|
|
11
10
|
declare const BeamSubscriptionImpact: _lit_react.ReactWebComponent<BeamSubscriptionImpact$1, {}>;
|
|
12
11
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionImpact as t}from"../components/subscription-impact.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/share-button-BaIbuJOl.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionImpact,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-impact.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-impact.esm.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription-impact.esm.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"mjBAIO,MAAMA,EAAyBC,EAAgB,CACpD,QAASC,EAAwB,QACjC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionImpact as t}from"../components/subscription-impact.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/share-button-BaIbuJOl.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionImpact,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-impact.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-impact.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription-impact.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"+iBAIO,MAAMA,EAAyBC,EAAgB,CACpD,QAASC,EAAwB,QACjC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -2,17 +2,14 @@ import * as _lit_react from '@lit/react';
|
|
|
2
2
|
import { BeamSubscriptionManagement as BeamSubscriptionManagement$1 } from '../components/subscription-management.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'lit';
|
|
5
|
-
import '../chunks/routes-
|
|
6
|
-
import '../chunks/
|
|
7
|
-
import '
|
|
5
|
+
import '../chunks/routes-D6Gtw6kZ.esm.js';
|
|
6
|
+
import '../chunks/utils-D8HO_RIu.esm.js';
|
|
7
|
+
import 'lodash-es/debounce';
|
|
8
|
+
import 'lodash-es/isEqual';
|
|
8
9
|
import '../components/select-subscription-nonprofit.js';
|
|
9
10
|
import 'lodash';
|
|
10
|
-
import '../chunks/types-CPxMwnoR.esm.js';
|
|
11
|
-
import '../chunks/types-DfRc36jU.esm.js';
|
|
12
|
-
import '../chunks/progress-bar-CveZ8E6Q.esm.js';
|
|
13
11
|
import '../components/beam-partner-logos.js';
|
|
14
12
|
import '../components/subscription-impact.js';
|
|
15
|
-
import '../chunks/share-button-CDVVaxEc.esm.js';
|
|
16
13
|
|
|
17
14
|
declare const BeamSubscriptionManagement: _lit_react.ReactWebComponent<BeamSubscriptionManagement$1, {}>;
|
|
18
15
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../components/select-subscription-nonprofit.esm.js";import"../components/beam-partner-logos.esm.js";import"../components/subscription-impact.esm.js";import"../chunks/share-button-BaIbuJOl.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionManagement,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-management.esm.js.map
|
|
@@ -1 +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":"
|
|
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":"utBAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../components/select-subscription-nonprofit.js";import"../components/beam-partner-logos.js";import"../components/subscription-impact.js";import"../chunks/share-button-BaIbuJOl.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionManagement,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-management.js.map
|
|
@@ -1 +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":"
|
|
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":"usBAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { X as BeamError, Y as LocalStorageError, Z as MissingConfig, _ as NetworkError, $ as SetupError } from '../chunks/utils-D8HO_RIu.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{m as s,W as e,M as t,V as i,S as m}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{s as BeamError,e as LocalStorageError,t as MissingConfig,i as NetworkError,m as SetupError};
|
|
2
2
|
//# sourceMappingURL=beam-errors.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{m as s,W as e,M as t,V as i,S as m}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{s as BeamError,e as LocalStorageError,t as MissingConfig,i as NetworkError,m as SetupError};
|
|
2
2
|
//# sourceMappingURL=beam-errors.js.map
|
package/dist/utils/cart.d.ts
CHANGED
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns The Beam cart ID if present in cookies or local storage, otherwise null
|
|
5
|
-
*/
|
|
6
|
-
declare const getBeamCartId: (CART_COOKIE_NAME: string, config: {
|
|
7
|
-
apiKey: string;
|
|
8
|
-
}) => string | null;
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves the external cart ID
|
|
11
|
-
* @param CART_COOKIE_NAME - The name of the cookie that stores the external cart ID
|
|
12
|
-
* @returns The external cart ID if available or null if neither is available
|
|
13
|
-
*/
|
|
14
|
-
declare const getExternalCartId: (CART_COOKIE_NAME: string, config: {
|
|
15
|
-
apiKey: string;
|
|
16
|
-
}) => string | null;
|
|
17
|
-
|
|
18
|
-
export { getBeamCartId, getExternalCartId };
|
|
1
|
+
export { a0 as getBeamCartId, a1 as getExternalCartId } from '../chunks/utils-D8HO_RIu.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
package/dist/utils/cart.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{v as e,E as m}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as getBeamCartId,m as getExternalCartId};
|
|
2
2
|
//# sourceMappingURL=cart.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.esm.js","sources":[
|
|
1
|
+
{"version":3,"file":"cart.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utils/cart.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{v as e,E as m}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as getBeamCartId,m as getExternalCartId};
|
|
2
2
|
//# sourceMappingURL=cart.js.map
|
package/dist/utils/cart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.js","sources":[
|
|
1
|
+
{"version":3,"file":"cart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utils/cookies.d.ts
CHANGED
|
@@ -1,58 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const deleteCookieValue: (options: {
|
|
5
|
-
name: string;
|
|
6
|
-
domain?: string;
|
|
7
|
-
path?: string;
|
|
8
|
-
}) => undefined;
|
|
9
|
-
interface CookieListItem {
|
|
10
|
-
name: string;
|
|
11
|
-
value: string;
|
|
12
|
-
path: string;
|
|
13
|
-
domain: string | null;
|
|
14
|
-
expires: number | null;
|
|
15
|
-
secure: boolean;
|
|
16
|
-
sameSite: "strict" | "lax" | "none";
|
|
17
|
-
}
|
|
18
|
-
interface CookieInit {
|
|
19
|
-
name: string;
|
|
20
|
-
value: string;
|
|
21
|
-
path?: string;
|
|
22
|
-
domain?: string;
|
|
23
|
-
expires?: number;
|
|
24
|
-
sameSite?: "strict" | "lax" | "none";
|
|
25
|
-
}
|
|
26
|
-
interface CookieChangeEvent extends Event {
|
|
27
|
-
readonly changed: CookieListItem[];
|
|
28
|
-
readonly deleted: CookieListItem[];
|
|
29
|
-
type: "deleted" | "changed";
|
|
30
|
-
}
|
|
31
|
-
type SetCookie = {
|
|
32
|
-
(options: CookieInit): Promise<undefined>;
|
|
33
|
-
(name: string, value: string): Promise<undefined>;
|
|
34
|
-
};
|
|
35
|
-
interface CookieStore extends EventTarget {
|
|
36
|
-
get: (name: string | {
|
|
37
|
-
name: string;
|
|
38
|
-
url: string;
|
|
39
|
-
}) => Promise<CookieListItem | undefined>;
|
|
40
|
-
getAll: (name: string | {
|
|
41
|
-
name: string;
|
|
42
|
-
url: string;
|
|
43
|
-
}) => Promise<CookieListItem[]>;
|
|
44
|
-
set: SetCookie;
|
|
45
|
-
delete: (name: string | {
|
|
46
|
-
name: string;
|
|
47
|
-
domain?: string | null;
|
|
48
|
-
path?: string;
|
|
49
|
-
}) => Promise<undefined>;
|
|
50
|
-
onchange: (event: CookieChangeEvent) => boolean | void | Promise<boolean | void>;
|
|
51
|
-
}
|
|
52
|
-
declare global {
|
|
53
|
-
interface Window {
|
|
54
|
-
cookieStore: CookieStore;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export { type CookieChangeEvent, deleteCookieValue, getCookieMap, getCookieValue, setCookieValue };
|
|
1
|
+
export { k as deleteCookieValue, o as getCookieMap, p as getCookieValue, F as setCookieValue } from '../chunks/utils-D8HO_RIu.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{N as t,a as i,g as s,n as k}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{t as deleteCookieValue,i as getCookieMap,s as getCookieValue,k as setCookieValue};
|
|
2
2
|
//# sourceMappingURL=cookies.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookies.esm.js","sources":[
|
|
1
|
+
{"version":3,"file":"cookies.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utils/cookies.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{N as t,a as i,g as s,n as k}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{t as deleteCookieValue,i as getCookieMap,s as getCookieValue,k as setCookieValue};
|
|
2
2
|
//# sourceMappingURL=cookies.js.map
|