@dropins/storefront-cart 0.5.0 → 0.6.0-beta1

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.
Files changed (65) hide show
  1. package/api/addProductsToCart/graphql/AddProductsToCartMutation.d.ts +16 -0
  2. package/api/addProductsToCart/index.d.ts +16 -0
  3. package/api/createEmptyCart/createEmptyCart.d.ts +16 -0
  4. package/api/createEmptyCart/graphql/CreateCartMutation.d.ts +16 -0
  5. package/api/createEmptyCart/index.d.ts +16 -0
  6. package/api/fetch-graphql/fetch-graphql.d.ts +16 -0
  7. package/api/fetch-graphql/index.d.ts +16 -0
  8. package/api/getCartData/graphql/CartQuery.d.ts +16 -0
  9. package/api/getCartData/index.d.ts +16 -0
  10. package/api/getEstimateShipping/graphql/countriesAndRegionsQueries.d.ts +16 -0
  11. package/api/getEstimateShipping/graphql/estimateShippingMethodsMutation.d.ts +16 -0
  12. package/api/getEstimateShipping/index.d.ts +16 -0
  13. package/api/getEstimatedTotals/graphql/GetEstimatedTotalsMutation.d.ts +16 -0
  14. package/api/getEstimatedTotals/index.d.ts +16 -0
  15. package/api/getStoreConfig/graphql/StoreConfigQuery.d.ts +16 -0
  16. package/api/getStoreConfig/index.d.ts +16 -0
  17. package/api/graphql/CartFragment.d.ts +16 -0
  18. package/api/index.d.ts +16 -0
  19. package/api/initialize/index.d.ts +16 -0
  20. package/api/initializeCart/graphql/MergeCartsMutation.d.ts +16 -0
  21. package/api/initializeCart/index.d.ts +16 -0
  22. package/api/refreshCart/index.d.ts +16 -0
  23. package/api/resetCart/index.d.ts +16 -0
  24. package/api/updateProductsFromCart/graphql/UpdateProductsMutation.d.ts +16 -0
  25. package/api/updateProductsFromCart/index.d.ts +16 -0
  26. package/api.js +3 -3
  27. package/chunks/MiniCart.js +1 -1
  28. package/chunks/OrderSummary.js +1 -1
  29. package/chunks/acdl.js +1 -0
  30. package/chunks/updateProductsFromCart.js +4 -4
  31. package/components/Cart/index.d.ts +16 -0
  32. package/components/CartSummaryGrid/index.d.ts +16 -0
  33. package/components/CartSummaryList/index.d.ts +16 -0
  34. package/components/EmptyCart/index.d.ts +16 -0
  35. package/components/EstimateShipping/index.d.ts +16 -0
  36. package/components/MiniCart/index.d.ts +16 -0
  37. package/components/OrderSummary/index.d.ts +16 -0
  38. package/components/index.d.ts +16 -0
  39. package/containers/Cart/index.d.ts +16 -0
  40. package/containers/Cart.js +1 -1
  41. package/containers/CartSummaryGrid/index.d.ts +16 -0
  42. package/containers/CartSummaryList/index.d.ts +16 -0
  43. package/containers/CartSummaryList.js +1 -1
  44. package/containers/EmptyCart/index.d.ts +16 -0
  45. package/containers/EstimateShipping/index.d.ts +16 -0
  46. package/containers/MiniCart/index.d.ts +16 -0
  47. package/containers/MiniCart.js +1 -1
  48. package/containers/OrderSummary/index.d.ts +16 -0
  49. package/containers/OrderSummary.js +1 -1
  50. package/containers/index.d.ts +16 -0
  51. package/data/models/acdl-models.d.ts +16 -0
  52. package/data/models/cart-model.d.ts +16 -0
  53. package/data/models/index.d.ts +16 -0
  54. package/data/models/store-models.d.ts +16 -0
  55. package/data/transforms/__fixtures__/estimatedTotalsData.d.ts +16 -0
  56. package/data/transforms/__fixtures__/productTypesData.d.ts +16 -0
  57. package/data/transforms/index.d.ts +16 -0
  58. package/hooks/index.d.ts +16 -0
  59. package/hooks/useEstimatedShipping.d.ts +16 -0
  60. package/hooks/useEstimatedTotals.d.ts +16 -0
  61. package/lib/acdl.d.ts +2 -0
  62. package/lib/cookies.d.ts +16 -0
  63. package/lib/fetch-error.d.ts +16 -0
  64. package/package.json +1 -1
  65. package/render/index.d.ts +16 -0
@@ -1 +1 @@
1
- import{jsxs as d,jsx as t,Fragment as hr}from"@dropins/tools/preact-jsx-runtime.js";import*as M from"@dropins/tools/preact-compat.js";import{useState as Y,useEffect as tr}from"@dropins/tools/preact-compat.js";import{classes as o,VComponent as p,Slot as xr}from"@dropins/tools/lib.js";import{events as pr}from"@dropins/tools/event-bus.js";import{g as gr}from"./persisted-data.js";import{s as _r}from"./resetCart.js";import{g as Tr}from"./getEstimatedTotals.js";import{Accordion as br,AccordionSection as Sr,ProgressSpinner as Cr,Divider as vr,Price as l,Button as Pr}from"@dropins/tools/components.js";/* empty css */import{useText as yr}from"@dropins/tools/i18n.js";const wr=()=>{const[g,D]=Y(!1),[S,y]=Y();return{handleEstimateTotals:(h,r)=>{D(!0);const{shippingCountry:C,shippingState:m="",shippingStateId:v,shippingZip:u=""}=h,P={countryCode:C,postcode:u,region:{region:m,id:v},shipping_method:{carrier_code:(r==null?void 0:r.carrier_code)||"",method_code:(r==null?void 0:r.method_code)||""}};Tr(P).then(e=>{var k,B,a,w,N,x,_,L,f,E,c,O,W,A,F,z,G,V,Z,j;e&&y({estimatedTaxTotal:{amount:(k=e.totalTax)==null?void 0:k.value,currency:(B=e.totalTax)==null?void 0:B.currency},estimatedSubTotal:{excludingTax:{amount:(w=(a=e.subtotal)==null?void 0:a.excludingTax)==null?void 0:w.value,currency:(x=(N=e.subtotal)==null?void 0:N.excludingTax)==null?void 0:x.currency},includingTax:{amount:(L=(_=e.subtotal)==null?void 0:_.includingTax)==null?void 0:L.value,currency:(E=(f=e.subtotal)==null?void 0:f.includingTax)==null?void 0:E.currency},includingDiscountOnly:{amount:(O=(c=e.subtotal)==null?void 0:c.includingDiscountOnly)==null?void 0:O.value,currency:(A=(W=e.subtotal)==null?void 0:W.includingDiscountOnly)==null?void 0:A.currency}},estimatedGrandTotalPrice:{includingTax:{amount:(F=e.total)==null?void 0:F.includingTax.value,currency:(z=e.total)==null?void 0:z.includingTax.currency},excludingTax:{amount:(G=e.total)==null?void 0:G.excludingTax.value,currency:(V=e.total)==null?void 0:V.excludingTax.currency}},estimatedAppliedTaxes:{taxes:(Z=e.appliedTaxes)==null?void 0:Z.map(n=>{var T,b;return{label:n.label,amount:{value:(T=n.amount)==null?void 0:T.value,currency:(b=n.amount)==null?void 0:b.currency}}})},estimatedItems:{items:(j=e.items)==null?void 0:j.map(n=>{var T,b,U,Q,X,q,$,H,R,J;return{uid:n.uid,price:{amount:(T=n.price)==null?void 0:T.value,currency:(b=n.price)==null?void 0:b.currency},taxedPrice:{amount:(U=n.taxedPrice)==null?void 0:U.value,currency:(Q=n.taxedPrice)==null?void 0:Q.currency},rowTotal:{amount:(X=n.rowTotal)==null?void 0:X.value,currency:(q=n.rowTotal)==null?void 0:q.currency},rowTotalIncludingTax:{amount:($=n.rowTotalIncludingTax)==null?void 0:$.value,currency:(H=n.rowTotalIncludingTax)==null?void 0:H.currency},regularPrice:{amount:(R=n.regularPrice)==null?void 0:R.value,currency:(J=n.regularPrice)==null?void 0:J.currency}}})}})}).finally(()=>{D(!1)})},estimatedTotals:S,setEstimatedTotals:y,loading:g}},Nr=g=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...g},M.createElement("path",{d:"M7.74512 9.87701L12.0001 14.132L16.2551 9.87701",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square",strokeLinejoin:"round"})),fr=g=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...g},M.createElement("path",{d:"M7.74512 14.132L12.0001 9.87701L16.2551 14.132",stroke:"#2B2B2B",strokeWidth:1.5,strokeLinecap:"square",strokeLinejoin:"round"})),Er=({className:g,children:D,variant:S="primary",heading:y,loading:I=!0,subTotal:h,shipping:r,discounts:C,taxTotal:m,taxesApplied:v,total:u,primaryAction:P,...e})=>{const[k,B]=Y(!1),a=yr({checkout:"Cart.PriceSummary.checkout",discountedPrice:"Cart.CartItem.discountedPrice",download:"Cart.CartItem.download",heading:"Cart.Cart.heading",message:"Cart.CartItem.message",regularPrice:"Cart.CartItem.regularPrice",recipient:"Cart.CartItem.recipient",sender:"Cart.CartItem.sender",file:"Cart.CartItem.file",files:"Cart.CartItem.files",orderSummary:"Cart.PriceSummary.orderSummary",taxesBreakdownTitle:"Cart.PriceSummary.taxes.breakdown",taxTotal:"Cart.PriceSummary.taxes.total",taxEstimated:"Cart.PriceSummary.taxes.estimated",taxTotalOnly:"Cart.PriceSummary.taxes.totalOnly",showTaxBreakdown:"Cart.PriceSummary.taxes.showBreakdown",hideTaxBreakdown:"Cart.PriceSummary.taxes.hideBreakdown",taxToBeDetermined:"Cart.PriceSummary.taxToBeDetermined",subtotalLabel:"Cart.PriceSummary.subTotal.label",subtotalWithTaxes:"Cart.PriceSummary.subTotal.withTaxes",subtotalWithoutTaxes:"Cart.PriceSummary.subTotal.withoutTaxes",totalEstimated:"Cart.PriceSummary.total.estimated",totalLabel:"Cart.PriceSummary.total.label",totalWithoutTax:"Cart.PriceSummary.total.withoutTax",shippingLabel:"Cart.PriceSummary.shipping.label",zipPlaceholder:"Cart.PriceSummary.shipping.zipPlaceholder",editZipAction:"Cart.PriceSummary.shipping.editZipAction",shippingWithTaxes:"Cart.PriceSummary.shipping.withTaxes",shippingWithoutTaxes:"Cart.PriceSummary.shipping.withoutTaxes",shippingEstimated:"Cart.PriceSummary.shipping.estimated",shippingEstimatedByState:"Cart.PriceSummary.shipping.alternateField.state",shippingEstimatedByZip:"Cart.PriceSummary.shipping.alternateField.zip",destinationLinkAriaLabel:"Cart.PriceSummary.shipping.destinationLinkAriaLabel",applyButton:"Cart.PriceSummary.estimatedShippingForm.apply.label",countryField:"Cart.PriceSummary.estimatedShippingForm.country.placeholder",freeShipping:"Cart.PriceSummary.freeShipping",stateField:"Cart.PriceSummary.estimatedShippingForm.state.placeholder",zipField:"Cart.PriceSummary.estimatedShippingForm.zip.placeholder"}),w=h&&d("div",{className:o(["cart-order-summary__entry","cart-order-summary__subTotal"]),children:[t("span",{className:"cart-order-summary__label",children:a.subtotalLabel}),t(p,{node:h.price,className:"cart-order-summary__price"}),h.taxIncluded&&t("div",{"data-testid":"sub-total-tax-caption",className:"cart-order-summary__caption",children:t("span",{children:a.subtotalWithTaxes})}),h.taxExcluded?t("div",{"data-testid":"sub-total-tax-caption-excluded",className:"cart-order-summary__caption",children:d("span",{children:[h.priceExcludingTax," ",a.subtotalWithoutTaxes]})}):void 0]}),N=r&&t(p,{node:r,className:"cart-order-summary__shipping"}),x=C&&C.length>0&&t(hr,{children:C.map(c=>d("div",{className:o(["cart-order-summary__entry","cart-order-summary__discount"]),children:[t("span",{className:"cart-order-summary__label",children:c.label}),t(p,{node:c.price,className:"cart-order-summary__price"}),c.caption&&t(p,{node:c.caption,className:"cart-order-summary__caption"})]},c.label))}),_=v&&v.length>0?t(br,{"data-testid":"tax-breakdown",className:"cart-order-summary__taxes",iconOpen:Nr,iconClose:fr,children:d(Sr,{title:a.taxesBreakdownTitle,secondaryText:!k&&m?t(p,{node:m.price,className:"cart-order-summary__price"}):void 0,renderContentWhenClosed:!1,onStateChange:B,children:[t("div",{className:"cart-order-summary__appliedTaxes",children:v.map(c=>d("div",{className:o(["cart-order-summary__entry","cart-order-summary__taxEntry"]),children:[t("span",{className:o(["cart-order-summary__label","cart-order-summary__label--muted"]),children:c.label}),t(p,{node:c.price,className:o(["cart-order-summary__price","cart-order-summary__price--muted"])})]},c.label))}),d("div",{className:o(["cart-order-summary__entry","cart-order-summary__taxTotal"]),children:[t("span",{className:"cart-order-summary__label",children:a.taxTotal}),m&&t(p,{node:m.price,className:"cart-order-summary__price"})]})]})}):m&&d("div",{"data-testid":"tax-total-only",className:o(["cart-order-summary__entry","cart-order-summary__taxTotal"]),children:[t("span",{className:"cart-order-summary__label",children:m.estimated?a.taxEstimated:a.taxTotalOnly}),t(p,{node:m.price,className:"cart-order-summary__price"})]}),L=u&&d("div",{"data-testid":"total-content",className:o(["cart-order-summary__entry","cart-order-summary__total",u.estimated&&"cart-order-summary__total--padded"]),children:[t("span",{className:o(["cart-order-summary__label","cart-order-summary__label--bold"]),children:u.estimated?a.totalEstimated:a.totalLabel}),t(p,{node:u.price,className:o(["cart-order-summary__price","cart-order-summary__price--bold"])})]}),f=u&&u.priceWithoutTax&&d("div",{"data-testid":"total-without-tax",className:o(["cart-order-summary__entry","cart-order-summary__totalWithoutTax"]),children:[t("span",{className:o(["cart-order-summary__label","cart-order-summary__label--muted"]),children:a.totalWithoutTax}),t(p,{node:u.priceWithoutTax,className:o(["cart-order-summary__price","cart-order-summary__price--muted"])})]}),E=P&&t("div",{className:o(["cart-order-summary__entry","cart-order-summary__primaryAction"]),children:P});return d("div",{...e,className:o(["cart-order-summary",["cart-order-summary--loading",I],[`cart-order-summary__${S}`,S],g]),children:[I&&t(Cr,{className:"cart-order-summary__spinner"}),d("div",{className:"cart-order-summary__heading",children:[y&&t(p,{node:y,className:"cart-order-summary__heading-text"}),t(vr,{variant:"primary",className:"cart-order-summary__divider-primary"})]}),d("div",{className:"cart-order-summary__content",children:[w,N,x,_,L,f,E]})]})},Ir=({children:g,initialData:D=null,routeCheckout:S,slots:y,errors:I,...h})=>{var f,E,c,O,W,A,F,z,G,V,Z,j,n,T,b,U,Q,X,q,$,H,R,J,ar,ir,nr,cr,sr;const[r,C]=Y(D),[m,v]=Y(!1),u=r==null?void 0:r.isVirtual,{handleEstimateTotals:P,estimatedTotals:e,setEstimatedTotals:k,loading:B}=wr(),a=(f=_r.config)==null?void 0:f.shoppingCartDisplaySetting,w=(a==null?void 0:a.subtotal)==="INCLUDING_TAX",N=(a==null?void 0:a.subtotal)==="INCLUDING_EXCLUDING_TAX",x=a==null?void 0:a.zeroTax;tr(()=>{const s=pr.on("cart/data",i=>{var K;C(i);const rr=(K=i==null?void 0:i.addresses)==null?void 0:K.shipping,er=i==null?void 0:i.isVirtual;(rr||er)&&k(null)},{eager:!0});return()=>{s==null||s.off()}},[]),tr(()=>{v(I)},[I]),tr(()=>{const s=pr.on("shipping/estimate",i=>{var K,or,mr,ur,lr,dr;const rr={shippingCountry:(K=i==null?void 0:i.address)==null?void 0:K.countryCode,shippingState:(or=i==null?void 0:i.address)==null?void 0:or.region,shippingStateId:(mr=i==null?void 0:i.address)==null?void 0:mr.regionId,shippingZip:(ur=i==null?void 0:i.address)==null?void 0:ur.postCode},er={carrier_code:((lr=i==null?void 0:i.shippingMethod)==null?void 0:lr.carrierCode)||"",method_code:((dr=i==null?void 0:i.shippingMethod)==null?void 0:dr.methodCode)||""};P(rr,er)});return()=>{s==null||s.off()}},[P]);const _=yr({checkout:"Cart.PriceSummary.checkout",orderSummary:"Cart.PriceSummary.orderSummary",taxToBeDetermined:"Cart.PriceSummary.taxToBeDetermined"}),L=!u&&(y!=null&&y.EstimateShipping)?t(xr,{name:"EstimateShipping",slot:y.EstimateShipping},"estimateShippingId"):void 0;return!Object.keys(r??{}).length||(r==null?void 0:r.totalQuantity)===0?null:t(Er,{...h,"data-testid":"cart-order-summary",heading:t("div",{children:_.orderSummary}),shipping:L,loading:B,subTotal:{taxIncluded:w&&!x,taxExcluded:N,zeroTaxSubtotal:x,priceExcludingTax:(E=e==null?void 0:e.estimatedSubTotal)!=null&&E.excludingTax?t(l,{"data-testid":"subtotal",...(c=e==null?void 0:e.estimatedSubTotal)==null?void 0:c.excludingTax}):t(l,{"data-testid":"subtotal",amount:(W=(O=r==null?void 0:r.subtotal)==null?void 0:O.excludingTax)==null?void 0:W.value,currency:(F=(A=r==null?void 0:r.subtotal)==null?void 0:A.excludingTax)==null?void 0:F.currency}),price:!x&&w||!x&&N?(z=e==null?void 0:e.estimatedSubTotal)!=null&&z.includingTax?t(l,{"data-testid":"subtotal",...(G=e==null?void 0:e.estimatedSubTotal)==null?void 0:G.includingTax}):t(l,{"data-testid":"subtotal",amount:(V=r==null?void 0:r.subtotal.includingTax)==null?void 0:V.value,currency:(Z=r==null?void 0:r.subtotal.includingTax)==null?void 0:Z.currency}):t(l,{"data-testid":"subtotal",amount:(n=(j=r==null?void 0:r.subtotal)==null?void 0:j.excludingTax)==null?void 0:n.value,currency:(b=(T=r==null?void 0:r.subtotal)==null?void 0:T.excludingTax)==null?void 0:b.currency})},discounts:(U=r==null?void 0:r.appliedDiscounts)==null?void 0:U.map(s=>({label:s.label,price:t(l,{"data-testid":"summary-discount-total",amount:-s.amount.value,currency:s.amount.currency,sale:!0})})),taxTotal:u?{price:t("span",{"data-testid":"tax-total",children:_.taxToBeDetermined})}:{price:e!=null&&e.estimatedTaxTotal?t(l,{"data-testid":"tax-total",...e==null?void 0:e.estimatedTaxTotal}):t(l,{"data-testid":"tax-total",amount:(Q=r==null?void 0:r.totalTax)==null?void 0:Q.value,currency:(X=r==null?void 0:r.totalTax)==null?void 0:X.currency}),estimated:(!e||!!(e!=null&&e.estimatedTaxTotal))&&!((q=r==null?void 0:r.addresses)!=null&&q.shipping)},taxesApplied:u?void 0:a!=null&&a.fullSummary?(H=(($=e==null?void 0:e.estimatedAppliedTaxes)==null?void 0:$.taxes)||(r==null?void 0:r.appliedTaxes))==null?void 0:H.map(s=>({label:s.label,price:t(l,{"data-testid":"applied-taxes",amount:s.amount.value,currency:s.amount.currency})})):void 0,total:{price:e!=null&&e.estimatedGrandTotalPrice?t(l,{...(R=e==null?void 0:e.estimatedGrandTotalPrice)==null?void 0:R.includingTax}):t(l,{amount:(J=r==null?void 0:r.total)==null?void 0:J.includingTax.value,currency:(ar=r==null?void 0:r.total)==null?void 0:ar.includingTax.currency}),estimated:(!e||!!(e!=null&&e.estimatedTaxTotal))&&!((ir=r==null?void 0:r.addresses)!=null&&ir.shipping),priceWithoutTax:a!=null&&a.grandTotal?e!=null&&e.estimatedAppliedTaxes?t(l,{...(nr=e==null?void 0:e.estimatedGrandTotalPrice)==null?void 0:nr.excludingTax}):t(l,{amount:(cr=r==null?void 0:r.total)==null?void 0:cr.excludingTax.value,currency:(sr=r==null?void 0:r.total)==null?void 0:sr.excludingTax.currency}):void 0},primaryAction:S&&t(Pr,{"data-testid":"checkout-button",variant:"primary",disabled:(r==null?void 0:r.hasOutOfStockItems)||m,"aria-disabled":(r==null?void 0:r.hasOutOfStockItems)||m,href:r!=null&&r.hasOutOfStockItems||m?void 0:S({cartId:r.id}),children:_.checkout})})};Ir.getInitialData=async function(){return gr()};export{Ir as O};
1
+ import{jsxs as l,jsx as t,Fragment as _r}from"@dropins/tools/preact-jsx-runtime.js";import*as M from"@dropins/tools/preact-compat.js";import{useState as Y,useEffect as tr,useCallback as Tr}from"@dropins/tools/preact-compat.js";import{classes as o,VComponent as p,Slot as br}from"@dropins/tools/lib.js";import{events as yr}from"@dropins/tools/event-bus.js";import{g as Cr}from"./persisted-data.js";import{s as xr}from"./resetCart.js";import{g as Sr}from"./getEstimatedTotals.js";import{b as vr}from"./acdl.js";import{Accordion as Pr,AccordionSection as wr,ProgressSpinner as Nr,Divider as kr,Price as m,Button as fr}from"@dropins/tools/components.js";/* empty css */import{useText as gr}from"@dropins/tools/i18n.js";const Er=()=>{const[_,D]=Y(!1),[S,h]=Y();return{handleEstimateTotals:(x,r)=>{D(!0);const{shippingCountry:v,shippingState:d="",shippingStateId:P,shippingZip:u=""}=x,w={countryCode:v,postcode:u,region:{region:d,id:P},shipping_method:{carrier_code:(r==null?void 0:r.carrier_code)||"",method_code:(r==null?void 0:r.method_code)||""}};Sr(w).then(e=>{var E,I,a,N,k,g,T,y,L,B,c,W,A,O,F,z,G,V,Z,j;e&&h({estimatedTaxTotal:{amount:(E=e.totalTax)==null?void 0:E.value,currency:(I=e.totalTax)==null?void 0:I.currency},estimatedSubTotal:{excludingTax:{amount:(N=(a=e.subtotal)==null?void 0:a.excludingTax)==null?void 0:N.value,currency:(g=(k=e.subtotal)==null?void 0:k.excludingTax)==null?void 0:g.currency},includingTax:{amount:(y=(T=e.subtotal)==null?void 0:T.includingTax)==null?void 0:y.value,currency:(B=(L=e.subtotal)==null?void 0:L.includingTax)==null?void 0:B.currency},includingDiscountOnly:{amount:(W=(c=e.subtotal)==null?void 0:c.includingDiscountOnly)==null?void 0:W.value,currency:(O=(A=e.subtotal)==null?void 0:A.includingDiscountOnly)==null?void 0:O.currency}},estimatedGrandTotalPrice:{includingTax:{amount:(F=e.total)==null?void 0:F.includingTax.value,currency:(z=e.total)==null?void 0:z.includingTax.currency},excludingTax:{amount:(G=e.total)==null?void 0:G.excludingTax.value,currency:(V=e.total)==null?void 0:V.excludingTax.currency}},estimatedAppliedTaxes:{taxes:(Z=e.appliedTaxes)==null?void 0:Z.map(n=>{var b,C;return{label:n.label,amount:{value:(b=n.amount)==null?void 0:b.value,currency:(C=n.amount)==null?void 0:C.currency}}})},estimatedItems:{items:(j=e.items)==null?void 0:j.map(n=>{var b,C,U,Q,X,q,$,H,R,J;return{uid:n.uid,price:{amount:(b=n.price)==null?void 0:b.value,currency:(C=n.price)==null?void 0:C.currency},taxedPrice:{amount:(U=n.taxedPrice)==null?void 0:U.value,currency:(Q=n.taxedPrice)==null?void 0:Q.currency},rowTotal:{amount:(X=n.rowTotal)==null?void 0:X.value,currency:(q=n.rowTotal)==null?void 0:q.currency},rowTotalIncludingTax:{amount:($=n.rowTotalIncludingTax)==null?void 0:$.value,currency:(H=n.rowTotalIncludingTax)==null?void 0:H.currency},regularPrice:{amount:(R=n.regularPrice)==null?void 0:R.value,currency:(J=n.regularPrice)==null?void 0:J.currency}}})}})}).finally(()=>{D(!1)})},estimatedTotals:S,setEstimatedTotals:h,loading:_}},Ir=_=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._},M.createElement("path",{d:"M7.74512 9.87701L12.0001 14.132L16.2551 9.87701",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square",strokeLinejoin:"round"})),Lr=_=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._},M.createElement("path",{d:"M7.74512 14.132L12.0001 9.87701L16.2551 14.132",stroke:"#2B2B2B",strokeWidth:1.5,strokeLinecap:"square",strokeLinejoin:"round"})),Br=({className:_,children:D,variant:S="primary",heading:h,loading:f=!0,subTotal:x,shipping:r,discounts:v,taxTotal:d,taxesApplied:P,total:u,primaryAction:w,...e})=>{const[E,I]=Y(!1),a=gr({checkout:"Cart.PriceSummary.checkout",discountedPrice:"Cart.CartItem.discountedPrice",download:"Cart.CartItem.download",heading:"Cart.Cart.heading",message:"Cart.CartItem.message",regularPrice:"Cart.CartItem.regularPrice",recipient:"Cart.CartItem.recipient",sender:"Cart.CartItem.sender",file:"Cart.CartItem.file",files:"Cart.CartItem.files",orderSummary:"Cart.PriceSummary.orderSummary",taxesBreakdownTitle:"Cart.PriceSummary.taxes.breakdown",taxTotal:"Cart.PriceSummary.taxes.total",taxEstimated:"Cart.PriceSummary.taxes.estimated",taxTotalOnly:"Cart.PriceSummary.taxes.totalOnly",showTaxBreakdown:"Cart.PriceSummary.taxes.showBreakdown",hideTaxBreakdown:"Cart.PriceSummary.taxes.hideBreakdown",taxToBeDetermined:"Cart.PriceSummary.taxToBeDetermined",subtotalLabel:"Cart.PriceSummary.subTotal.label",subtotalWithTaxes:"Cart.PriceSummary.subTotal.withTaxes",subtotalWithoutTaxes:"Cart.PriceSummary.subTotal.withoutTaxes",totalEstimated:"Cart.PriceSummary.total.estimated",totalLabel:"Cart.PriceSummary.total.label",totalWithoutTax:"Cart.PriceSummary.total.withoutTax",shippingLabel:"Cart.PriceSummary.shipping.label",zipPlaceholder:"Cart.PriceSummary.shipping.zipPlaceholder",editZipAction:"Cart.PriceSummary.shipping.editZipAction",shippingWithTaxes:"Cart.PriceSummary.shipping.withTaxes",shippingWithoutTaxes:"Cart.PriceSummary.shipping.withoutTaxes",shippingEstimated:"Cart.PriceSummary.shipping.estimated",shippingEstimatedByState:"Cart.PriceSummary.shipping.alternateField.state",shippingEstimatedByZip:"Cart.PriceSummary.shipping.alternateField.zip",destinationLinkAriaLabel:"Cart.PriceSummary.shipping.destinationLinkAriaLabel",applyButton:"Cart.PriceSummary.estimatedShippingForm.apply.label",countryField:"Cart.PriceSummary.estimatedShippingForm.country.placeholder",freeShipping:"Cart.PriceSummary.freeShipping",stateField:"Cart.PriceSummary.estimatedShippingForm.state.placeholder",zipField:"Cart.PriceSummary.estimatedShippingForm.zip.placeholder"}),N=x&&l("div",{className:o(["cart-order-summary__entry","cart-order-summary__subTotal"]),children:[t("span",{className:"cart-order-summary__label",children:a.subtotalLabel}),t(p,{node:x.price,className:"cart-order-summary__price"}),x.taxIncluded&&t("div",{"data-testid":"sub-total-tax-caption",className:"cart-order-summary__caption",children:t("span",{children:a.subtotalWithTaxes})}),x.taxExcluded?t("div",{"data-testid":"sub-total-tax-caption-excluded",className:"cart-order-summary__caption",children:l("span",{children:[x.priceExcludingTax," ",a.subtotalWithoutTaxes]})}):void 0]}),k=r&&t(p,{node:r,className:"cart-order-summary__shipping"}),g=v&&v.length>0&&t(_r,{children:v.map(c=>l("div",{className:o(["cart-order-summary__entry","cart-order-summary__discount"]),children:[t("span",{className:"cart-order-summary__label",children:c.label}),t(p,{node:c.price,className:"cart-order-summary__price"}),c.caption&&t(p,{node:c.caption,className:"cart-order-summary__caption"})]},c.label))}),T=P&&P.length>0?t(Pr,{"data-testid":"tax-breakdown",className:"cart-order-summary__taxes",iconOpen:Ir,iconClose:Lr,children:l(wr,{title:a.taxesBreakdownTitle,secondaryText:!E&&d?t(p,{node:d.price,className:"cart-order-summary__price"}):void 0,renderContentWhenClosed:!1,onStateChange:I,children:[t("div",{className:"cart-order-summary__appliedTaxes",children:P.map(c=>l("div",{className:o(["cart-order-summary__entry","cart-order-summary__taxEntry"]),children:[t("span",{className:o(["cart-order-summary__label","cart-order-summary__label--muted"]),children:c.label}),t(p,{node:c.price,className:o(["cart-order-summary__price","cart-order-summary__price--muted"])})]},c.label))}),l("div",{className:o(["cart-order-summary__entry","cart-order-summary__taxTotal"]),children:[t("span",{className:"cart-order-summary__label",children:a.taxTotal}),d&&t(p,{node:d.price,className:"cart-order-summary__price"})]})]})}):d&&l("div",{"data-testid":"tax-total-only",className:o(["cart-order-summary__entry","cart-order-summary__taxTotal"]),children:[t("span",{className:"cart-order-summary__label",children:d.estimated?a.taxEstimated:a.taxTotalOnly}),t(p,{node:d.price,className:"cart-order-summary__price"})]}),y=u&&l("div",{"data-testid":"total-content",className:o(["cart-order-summary__entry","cart-order-summary__total",u.estimated&&"cart-order-summary__total--padded"]),children:[t("span",{className:o(["cart-order-summary__label","cart-order-summary__label--bold"]),children:u.estimated?a.totalEstimated:a.totalLabel}),t(p,{node:u.price,className:o(["cart-order-summary__price","cart-order-summary__price--bold"])})]}),L=u&&u.priceWithoutTax&&l("div",{"data-testid":"total-without-tax",className:o(["cart-order-summary__entry","cart-order-summary__totalWithoutTax"]),children:[t("span",{className:o(["cart-order-summary__label","cart-order-summary__label--muted"]),children:a.totalWithoutTax}),t(p,{node:u.priceWithoutTax,className:o(["cart-order-summary__price","cart-order-summary__price--muted"])})]}),B=w&&t("div",{className:o(["cart-order-summary__entry","cart-order-summary__primaryAction"]),children:w});return l("div",{...e,className:o(["cart-order-summary",["cart-order-summary--loading",f],[`cart-order-summary__${S}`,S],_]),children:[f&&t(Nr,{className:"cart-order-summary__spinner"}),l("div",{className:"cart-order-summary__heading",children:[h&&t(p,{node:h,className:"cart-order-summary__heading-text"}),t(kr,{variant:"primary",className:"cart-order-summary__divider-primary"})]}),l("div",{className:"cart-order-summary__content",children:[N,k,g,T,y,L,B]})]})},Dr=({children:_,initialData:D=null,routeCheckout:S,slots:h,errors:f,...x})=>{var c,W,A,O,F,z,G,V,Z,j,n,b,C,U,Q,X,q,$,H,R,J,ar,ir,nr,cr,sr,or,ur;const[r,v]=Y(D),[d,P]=Y(!1),u=r==null?void 0:r.isVirtual,{handleEstimateTotals:w,estimatedTotals:e,setEstimatedTotals:E,loading:I}=Er(),a=(c=xr.config)==null?void 0:c.shoppingCartDisplaySetting,N=(a==null?void 0:a.subtotal)==="INCLUDING_TAX",k=(a==null?void 0:a.subtotal)==="INCLUDING_EXCLUDING_TAX",g=a==null?void 0:a.zeroTax;tr(()=>{const s=yr.on("cart/data",i=>{var K;v(i);const rr=(K=i==null?void 0:i.addresses)==null?void 0:K.shipping,er=i==null?void 0:i.isVirtual;(rr||er)&&E(null)},{eager:!0});return()=>{s==null||s.off()}},[]),tr(()=>{P(f)},[f]),tr(()=>{const s=yr.on("shipping/estimate",i=>{var K,mr,lr,dr,pr,hr;const rr={shippingCountry:(K=i==null?void 0:i.address)==null?void 0:K.countryCode,shippingState:(mr=i==null?void 0:i.address)==null?void 0:mr.region,shippingStateId:(lr=i==null?void 0:i.address)==null?void 0:lr.regionId,shippingZip:(dr=i==null?void 0:i.address)==null?void 0:dr.postCode},er={carrier_code:((pr=i==null?void 0:i.shippingMethod)==null?void 0:pr.carrierCode)||"",method_code:((hr=i==null?void 0:i.shippingMethod)==null?void 0:hr.methodCode)||""};w(rr,er)});return()=>{s==null||s.off()}},[w]);const T=gr({checkout:"Cart.PriceSummary.checkout",orderSummary:"Cart.PriceSummary.orderSummary",taxToBeDetermined:"Cart.PriceSummary.taxToBeDetermined"}),y=(r==null?void 0:r.hasOutOfStockItems)||d,L=Tr(()=>{!y&&r&&vr(r,xr.locale)},[y,r]),B=!u&&(h!=null&&h.EstimateShipping)?t(br,{name:"EstimateShipping",slot:h.EstimateShipping},"estimateShippingId"):void 0;return!Object.keys(r??{}).length||(r==null?void 0:r.totalQuantity)===0?null:t(Br,{...x,"data-testid":"cart-order-summary",heading:t("div",{children:T.orderSummary}),shipping:B,loading:I,subTotal:{taxIncluded:N&&!g,taxExcluded:k,zeroTaxSubtotal:g,priceExcludingTax:(W=e==null?void 0:e.estimatedSubTotal)!=null&&W.excludingTax?t(m,{"data-testid":"subtotal",...(A=e==null?void 0:e.estimatedSubTotal)==null?void 0:A.excludingTax}):t(m,{"data-testid":"subtotal",amount:(F=(O=r==null?void 0:r.subtotal)==null?void 0:O.excludingTax)==null?void 0:F.value,currency:(G=(z=r==null?void 0:r.subtotal)==null?void 0:z.excludingTax)==null?void 0:G.currency}),price:!g&&N||!g&&k?(V=e==null?void 0:e.estimatedSubTotal)!=null&&V.includingTax?t(m,{"data-testid":"subtotal",...(Z=e==null?void 0:e.estimatedSubTotal)==null?void 0:Z.includingTax}):t(m,{"data-testid":"subtotal",amount:(j=r==null?void 0:r.subtotal.includingTax)==null?void 0:j.value,currency:(n=r==null?void 0:r.subtotal.includingTax)==null?void 0:n.currency}):t(m,{"data-testid":"subtotal",amount:(C=(b=r==null?void 0:r.subtotal)==null?void 0:b.excludingTax)==null?void 0:C.value,currency:(Q=(U=r==null?void 0:r.subtotal)==null?void 0:U.excludingTax)==null?void 0:Q.currency})},discounts:(X=r==null?void 0:r.appliedDiscounts)==null?void 0:X.map(s=>({label:s.label,price:t(m,{"data-testid":"summary-discount-total",amount:-s.amount.value,currency:s.amount.currency,sale:!0})})),taxTotal:u?{price:t("span",{"data-testid":"tax-total",children:T.taxToBeDetermined})}:{price:e!=null&&e.estimatedTaxTotal?t(m,{"data-testid":"tax-total",...e==null?void 0:e.estimatedTaxTotal}):t(m,{"data-testid":"tax-total",amount:(q=r==null?void 0:r.totalTax)==null?void 0:q.value,currency:($=r==null?void 0:r.totalTax)==null?void 0:$.currency}),estimated:(!e||!!(e!=null&&e.estimatedTaxTotal))&&!((H=r==null?void 0:r.addresses)!=null&&H.shipping)},taxesApplied:u?void 0:a!=null&&a.fullSummary?(J=((R=e==null?void 0:e.estimatedAppliedTaxes)==null?void 0:R.taxes)||(r==null?void 0:r.appliedTaxes))==null?void 0:J.map(s=>({label:s.label,price:t(m,{"data-testid":"applied-taxes",amount:s.amount.value,currency:s.amount.currency})})):void 0,total:{price:e!=null&&e.estimatedGrandTotalPrice?t(m,{...(ar=e==null?void 0:e.estimatedGrandTotalPrice)==null?void 0:ar.includingTax}):t(m,{amount:(ir=r==null?void 0:r.total)==null?void 0:ir.includingTax.value,currency:(nr=r==null?void 0:r.total)==null?void 0:nr.includingTax.currency}),estimated:(!e||!!(e!=null&&e.estimatedTaxTotal))&&!((cr=r==null?void 0:r.addresses)!=null&&cr.shipping),priceWithoutTax:a!=null&&a.grandTotal?e!=null&&e.estimatedAppliedTaxes?t(m,{...(sr=e==null?void 0:e.estimatedGrandTotalPrice)==null?void 0:sr.excludingTax}):t(m,{amount:(or=r==null?void 0:r.total)==null?void 0:or.excludingTax.value,currency:(ur=r==null?void 0:r.total)==null?void 0:ur.excludingTax.currency}):void 0},primaryAction:S&&t(fr,{"data-testid":"checkout-button",variant:"primary",disabled:y,"aria-disabled":y,href:y?void 0:S({cartId:r.id}),onClick:L,children:T.checkout})})};Dr.getInitialData=async function(){return Cr()};export{Dr as O};
package/chunks/acdl.js ADDED
@@ -0,0 +1 @@
1
+ function d(o){const{cart:e,locale:t="en-US"}=o;return{id:e.id,items:g(e.items,t),prices:{subtotalExcludingTax:e.subtotal.excludingTax,subtotalIncludingTax:e.subtotal.includingTax},totalQuantity:e.totalQuantity,possibleOnepageCheckout:void 0,giftMessageSelected:void 0,giftWrappingSelected:void 0,source:void 0}}function g(o,e){return o.map(t=>{var n;return{canApplyMsrp:!1,formattedPrice:v(e,t.price.currency,t.price.value),id:t.uid,prices:{price:t.price},product:{productId:t.uid,name:t.name,sku:t.sku,topLevelSku:void 0,specialToDate:void 0,specialFromDate:void 0,newToDate:void 0,newFromDate:void 0,createdAt:void 0,updatedAt:void 0,manufacturer:void 0,countryOfManufacture:void 0,categories:t.url.categories,productType:void 0,pricing:{regularPrice:t.regularPrice.value,minimalPrice:void 0,maximalPrice:void 0,specialPrice:(n=t.discount)==null?void 0:n.value,tierPricing:void 0,currencyCode:t.regularPrice.currency},canonicalUrl:t.url.urlKey,mainImageUrl:t.image.src,image:{src:t.image.src,alt:t.image.alt}},configurableOptions:void 0,quantity:t.quantity}})}function v(o,e,t){const n=o.replace("_","-");return new Intl.NumberFormat(n,{style:"currency",currency:e}).format(t)}const r={SHOPPING_CART_CONTEXT:"shoppingCartContext",PRODUCT_CONTEXT:"productContext",CHANGED_PRODUCTS_CONTEXT:"changedProductsContext"},c={OPEN_CART:"open-cart",ADD_TO_CART:"add-to-cart",REMOVE_FROM_CART:"remove-from-cart",SHOPPING_CART_VIEW:"shopping-cart-view",INITIATE_CHECKOUT:"initiate-checkout"};function O(){return window.adobeDataLayer=window.adobeDataLayer||[],window.adobeDataLayer}function i(o,e){const t=O();t.push({[o]:null}),t.push({[o]:e})}function T(o,e){O().push(n=>{const C=n.getState?n.getState():{};n.push({event:o,eventInfo:{...C,...e}})})}function P(o,e,t){const n=d({cart:o,locale:t});i(r.SHOPPING_CART_CONTEXT,{...n}),T(c.OPEN_CART),g(e,t).forEach(u=>{i(r.PRODUCT_CONTEXT,u.product),p(n,[u],c.ADD_TO_CART)})}function D(o,e){const t=d({cart:o,locale:e});i(r.SHOPPING_CART_CONTEXT,{...t}),T(c.SHOPPING_CART_VIEW)}function p(o,e,t){const n={items:e};i(r.SHOPPING_CART_CONTEXT,{...o}),i(r.CHANGED_PRODUCTS_CONTEXT,{...n}),T(t)}function R(o,e,t){const n=d({cart:o,locale:t}),C=n.items,u=O(),E=u.getState?u.getState():{},{shoppingCartContext:{items:f=[]}={}}=E;e.forEach(_=>{const s=f.find(l=>l.id===_.uid),a=C.find(l=>l.id===_.uid);!a&&!s||(!s&&a?(i(r.PRODUCT_CONTEXT,a.product),p(n,[a],c.ADD_TO_CART)):s&&!a?(i(r.PRODUCT_CONTEXT,s.product),p(n,[s],c.REMOVE_FROM_CART)):a.quantity>s.quantity?(i(r.PRODUCT_CONTEXT,a.product),p(n,[a],c.ADD_TO_CART)):(i(r.PRODUCT_CONTEXT,a.product),p(n,[a],c.REMOVE_FROM_CART)))})}function h(o,e){const t=d({cart:o,locale:e});i(r.SHOPPING_CART_CONTEXT,{...t}),T(c.INITIATE_CHECKOUT)}export{D as a,h as b,P as c,R as p};
@@ -1,8 +1,8 @@
1
- import{s as g,f as R,h as A}from"./resetCart.js";import{C as I,a as v,t as D}from"./CartFragment.js";import{events as m}from"@dropins/tools/event-bus.js";function _(a){const{cart:r,locale:t="en-US"}=a;return{id:r.id,items:E(r.items,t),prices:{subtotalExcludingTax:r.subtotal.excludingTax,subtotalIncludingTax:r.subtotal.includingTax},totalQuantity:r.totalQuantity,possibleOnepageCheckout:void 0,giftMessageSelected:void 0,giftWrappingSelected:void 0,source:void 0}}function E(a,r){return a.map(t=>{var e;return{canApplyMsrp:!1,formattedPrice:h(r,t.price.currency,t.price.value),id:t.uid,prices:{price:t.price},product:{productId:t.uid,name:t.name,sku:t.sku,topLevelSku:void 0,specialToDate:void 0,specialFromDate:void 0,newToDate:void 0,newFromDate:void 0,createdAt:void 0,updatedAt:void 0,manufacturer:void 0,countryOfManufacture:void 0,categories:t.url.categories,productType:void 0,pricing:{regularPrice:t.regularPrice.value,minimalPrice:void 0,maximalPrice:void 0,specialPrice:(e=t.discount)==null?void 0:e.value,tierPricing:void 0,currencyCode:t.regularPrice.currency},canonicalUrl:t.url.urlKey,mainImageUrl:t.image.src,image:{src:t.image.src,alt:t.image.alt}},configurableOptions:void 0,quantity:t.quantity}})}function h(a,r,t){const e=a.replace("_","-");return new Intl.NumberFormat(e,{style:"currency",currency:r}).format(t)}const c={SHOPPING_CART_CONTEXT:"shoppingCartContext",PRODUCT_CONTEXT:"productContext",CHANGED_PRODUCTS_CONTEXT:"changedProductsContext"},u={OPEN_CART:"open-cart",ADD_TO_CART:"add-to-cart",REMOVE_FROM_CART:"remove-from-cart",SHOPPING_CART_VIEW:"shopping-cart-view"};function l(){return window.adobeDataLayer=window.adobeDataLayer||[],window.adobeDataLayer}function s(a,r){const t=l();t.push({[a]:null}),t.push({[a]:r})}function O(a,r){l().push(e=>{const i=e.getState?e.getState():{};e.push({event:a,eventInfo:{...i,...r}})})}function x(a,r,t){const e=_({cart:a,locale:t});s(c.SHOPPING_CART_CONTEXT,{...e}),O(u.OPEN_CART),E(r,t).forEach(o=>{s(c.PRODUCT_CONTEXT,o.product),p(e,[o],u.ADD_TO_CART)})}function M(a,r){const t=_({cart:a,locale:r});s(c.SHOPPING_CART_CONTEXT,{...t}),O(u.SHOPPING_CART_VIEW)}function p(a,r,t){const e={items:r};s(c.SHOPPING_CART_CONTEXT,{...a}),s(c.CHANGED_PRODUCTS_CONTEXT,{...e}),O(t)}function N(a,r,t){const e=_({cart:a,locale:t}),i=e.items,o=l(),C=o.getState?o.getState():{},{shoppingCartContext:{items:P=[]}={}}=C;r.forEach(f=>{const d=P.find(T=>T.id===f.uid),n=i.find(T=>T.id===f.uid);!n&&!d||(!d&&n?(s(c.PRODUCT_CONTEXT,n.product),p(e,[n],u.ADD_TO_CART)):d&&!n?(s(c.PRODUCT_CONTEXT,d.product),p(e,[d],u.REMOVE_FROM_CART)):n.quantity>d.quantity?(s(c.PRODUCT_CONTEXT,n.product),p(e,[n],u.ADD_TO_CART)):(s(c.PRODUCT_CONTEXT,n.product),p(e,[n],u.REMOVE_FROM_CART)))})}const y=`
1
+ import{s as m,f as i,h as p}from"./resetCart.js";import{C as _,a as I,t as T}from"./CartFragment.js";import{events as n}from"@dropins/tools/event-bus.js";import{p as u}from"./acdl.js";const C=`
2
2
  mutation UPDATE_PRODUCTS_FROM_CART_MUTATION(
3
3
  $cartId: String!,
4
4
  $cartItems: [CartItemUpdateInput!]!,
5
- ${I}
5
+ ${_}
6
6
  ) {
7
7
  updateCartItems(
8
8
  input: {
@@ -16,5 +16,5 @@ import{s as g,f as R,h as A}from"./resetCart.js";import{C as I,a as v,t as D}fro
16
16
 
17
17
  }
18
18
  }
19
- ${v}
20
- `,w=async a=>{const r=g.cartId;if(!r)throw Error("Cart ID is not set");return R(y,{variables:{cartId:r,cartItems:a.map(({uid:t,quantity:e})=>({cart_item_uid:t,quantity:e}))}}).then(({errors:t,data:e})=>{var C;const i=[...((C=e==null?void 0:e.addProductsToCart)==null?void 0:C.user_errors)??[],...t??[]];if(i.length>0)return A(i);const o=D(e.updateCartItems.cart);return m.emit("cart/updated",o),m.emit("cart/data",o),o&&N(o,a,g.locale??"en-US"),o})};export{x as a,N as b,M as p,w as u};
19
+ ${I}
20
+ `,U=async e=>{const s=m.cartId;if(!s)throw Error("Cart ID is not set");return i(C,{variables:{cartId:s,cartItems:e.map(({uid:a,quantity:t})=>({cart_item_uid:a,quantity:t}))}}).then(({errors:a,data:t})=>{var c;const o=[...((c=t==null?void 0:t.addProductsToCart)==null?void 0:c.user_errors)??[],...a??[]];if(o.length>0)return p(o);const r=T(t.updateCartItems.cart);return n.emit("cart/updated",r),n.emit("cart/data",r),r&&u(r,e,m.locale??"en-US"),r})};export{U as u};
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './Cart';
2
18
  export { Cart as default } from './Cart';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './CartSummaryGrid';
2
18
  export { CartSummaryGrid as default } from './CartSummaryGrid';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './CartSummaryList';
2
18
  export { CartSummaryList as default } from './CartSummaryList';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './EmptyCart';
2
18
  export { EmptyCart as default } from './EmptyCart';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './EstimateShipping';
2
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './MiniCart';
2
18
  export { MiniCart as default } from './MiniCart';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './OrderSummary';
2
18
  export { OrderSummary as default } from './OrderSummary';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './Cart';
2
18
  export * from './EmptyCart';
3
19
  export * from './EstimateShipping';
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './Cart';
2
18
  export { Cart as default } from './Cart';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- import{C as j,C as k}from"../chunks/MiniCart.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";import"../chunks/persisted-data.js";import"@dropins/tools/event-bus.js";/* empty css */import"@dropins/tools/components.js";import"@dropins/tools/i18n.js";import"../chunks/resetCart.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/updateProductsFromCart.js";import"../chunks/CartFragment.js";import"../chunks/CartSummaryGrid.js";import"../chunks/EmptyCart.js";import"../chunks/CartSummaryList.js";import"../chunks/OrderSummary.js";import"../chunks/getEstimatedTotals.js";export{j as Cart,k as default};
1
+ import{C as k,C as n}from"../chunks/MiniCart.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";import"../chunks/persisted-data.js";import"@dropins/tools/event-bus.js";/* empty css */import"@dropins/tools/components.js";import"@dropins/tools/i18n.js";import"../chunks/resetCart.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/acdl.js";import"../chunks/updateProductsFromCart.js";import"../chunks/CartFragment.js";import"../chunks/CartSummaryGrid.js";import"../chunks/EmptyCart.js";import"../chunks/CartSummaryList.js";import"../chunks/OrderSummary.js";import"../chunks/getEstimatedTotals.js";export{k as Cart,n as default};
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './CartSummaryGrid';
2
18
  export { CartSummaryGrid as default } from './CartSummaryGrid';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './CartSummaryList';
2
18
  export { CartSummaryList as default } from './CartSummaryList';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- import{C as y,C as L}from"../chunks/CartSummaryList.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";/* empty css */import"../chunks/EmptyCart.js";import"@dropins/tools/components.js";import"@dropins/tools/i18n.js";import"../chunks/persisted-data.js";import"@dropins/tools/event-bus.js";import"../chunks/resetCart.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/updateProductsFromCart.js";import"../chunks/CartFragment.js";export{y as CartSummaryList,L as default};
1
+ import{C as L,C as S}from"../chunks/CartSummaryList.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";/* empty css */import"../chunks/EmptyCart.js";import"@dropins/tools/components.js";import"@dropins/tools/i18n.js";import"../chunks/persisted-data.js";import"@dropins/tools/event-bus.js";import"../chunks/resetCart.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/updateProductsFromCart.js";import"../chunks/CartFragment.js";import"../chunks/acdl.js";export{L as CartSummaryList,S as default};
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './EmptyCart';
2
18
  export { EmptyCart as default } from './EmptyCart';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './EstimateShipping';
2
18
  export { EstimateShipping as default } from './EstimateShipping';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './MiniCart';
2
18
  export { MiniCart as default } from './MiniCart';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- import{M as g,M as h}from"../chunks/MiniCart.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";import"../chunks/persisted-data.js";import"@dropins/tools/event-bus.js";/* empty css */import"@dropins/tools/components.js";import"@dropins/tools/i18n.js";import"../chunks/resetCart.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/updateProductsFromCart.js";import"../chunks/CartFragment.js";import"../chunks/CartSummaryGrid.js";import"../chunks/EmptyCart.js";import"../chunks/CartSummaryList.js";import"../chunks/OrderSummary.js";import"../chunks/getEstimatedTotals.js";export{g as MiniCart,h as default};
1
+ import{M as h,M as j}from"../chunks/MiniCart.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";import"../chunks/persisted-data.js";import"@dropins/tools/event-bus.js";/* empty css */import"@dropins/tools/components.js";import"@dropins/tools/i18n.js";import"../chunks/resetCart.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/acdl.js";import"../chunks/updateProductsFromCart.js";import"../chunks/CartFragment.js";import"../chunks/CartSummaryGrid.js";import"../chunks/EmptyCart.js";import"../chunks/CartSummaryList.js";import"../chunks/OrderSummary.js";import"../chunks/getEstimatedTotals.js";export{h as MiniCart,j as default};
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './OrderSummary';
2
18
  export { OrderSummary as default } from './OrderSummary';
3
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- import{O as x,O as y}from"../chunks/OrderSummary.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";import"@dropins/tools/event-bus.js";import"../chunks/persisted-data.js";import"../chunks/resetCart.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/getEstimatedTotals.js";import"../chunks/CartFragment.js";import"@dropins/tools/components.js";/* empty css */import"@dropins/tools/i18n.js";export{x as OrderSummary,y as default};
1
+ import{O as y,O as S}from"../chunks/OrderSummary.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";import"@dropins/tools/event-bus.js";import"../chunks/persisted-data.js";import"../chunks/resetCart.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/getEstimatedTotals.js";import"../chunks/CartFragment.js";import"../chunks/acdl.js";import"@dropins/tools/components.js";/* empty css */import"@dropins/tools/i18n.js";export{y as OrderSummary,S as default};
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './Cart';
2
18
  export * from './EstimateShipping';
3
19
  export * from './MiniCart';
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  /**
2
18
  * ACDL Shopping Cart Types copied over from:
3
19
  * https://github.com/adobe/commerce-events/blob/main/packages/storefront-events-sdk/src/types/schemas/shoppingCart.ts
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export interface CartModel {
2
18
  id: string;
3
19
  totalQuantity: number;
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './cart-model';
2
18
  export * from './shipping-models';
3
19
  export * from './store-models';
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export interface StoreConfigModel {
2
18
  displayMiniCart: boolean;
3
19
  miniCartMaxItemsDisplay: number;
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  declare const mockEstimatedTotalsData: {
2
18
  estimatedAppliedTaxes: {
3
19
  taxes: {
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  declare const bundleOptions: {
2
18
  __typename: string;
3
19
  bundle_options: {
@@ -1,3 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2024 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
1
17
  export * from './transform-cart';
2
18
  export * from './transform-store-config';
3
19
  //# sourceMappingURL=index.d.ts.map