{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/QuantityEvents-8ZjF.js@kwJ8NiZrOZKCDFD8SMI4", "ssg:https://framerusercontent.com/modules/2U6qFmsOuMql7LNdSDG8/BPyN36u8KGTmpUQo0YAy/FrameshopAddtocart.js"],
  "sourcesContent": ["export const quantityEvents={listeners:[],quantity:1,/**\n     * Abonner un callback \u00E0 l'\u00E9v\u00E9nement de mise \u00E0 jour de la quantit\u00E9.\n     * @param {Function} callback - Fonction appel\u00E9e lorsque la quantit\u00E9 change.\n     */subscribe(callback){this.listeners.push(callback);},/**\n     * D\u00E9sabonner un callback de l'\u00E9v\u00E9nement de mise \u00E0 jour de la quantit\u00E9.\n     * @param {Function} callback - Fonction \u00E0 d\u00E9sabonner.\n     */unsubscribe(callback){this.listeners=this.listeners.filter(listener=>listener!==callback);},/**\n     * Publier un \u00E9v\u00E9nement de mise \u00E0 jour de la quantit\u00E9 \u00E0 tous les abonn\u00E9s.\n     * @param {number} newQuantity - Nouvelle quantit\u00E9 s\u00E9lectionn\u00E9e.\n     */publish(newQuantity){this.quantity=newQuantity;this.listeners.forEach(callback=>callback(newQuantity));},/**\n     * R\u00E9cup\u00E9rer la quantit\u00E9 actuelle.\n     * @returns {number} - Quantit\u00E9 actuelle.\n     */getQuantity(){return this.quantity;}};\nexport const __FramerMetadata__ = {\"exports\":{\"quantityEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./QuantityEvents.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{PlusCircle}from\"lucide-react\";import{quantityEvents}from\"https://framer.com/m/QuantityEvents-8ZjF.js@kwJ8NiZrOZKCDFD8SMI4\";import{cartUpdateEvents}from\"https://framer.com/m/Frameshop-uk10.js@F0HXMoIYR3V1GwYzEzxa\";/**\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FrameshopAddToCart(props){const{shopId,frameshop_article_id,productName,price,productImage,buttonText,showIcon,iconPosition,buttonBackgroundColor,buttonTextColor,buttonFontSize,buttonFontFamily,buttonFontWeight,isButtonBorderRadiusMixed,buttonTopLeftRadius,buttonTopRightRadius,buttonBottomRightRadius,buttonBottomLeftRadius,buttonBorderRadius,isPaddingMixed,paddingTop,paddingRight,paddingBottom,paddingLeft,buttonPadding,showBorders,buttonBorderColor,isBorderWidthMixed,borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth,buttonBorderWidth,outOfStockText,confirmationMessage,toastBackgroundColor,toastTextColor,toastFontSize,toastFontFamily,toastFontWeight,toastLineHeight}=props;const[stockQuantity,setStockQuantity]=React.useState(null);const[loadingStock,setLoadingStock]=React.useState(true);const[errorStock,setErrorStock]=React.useState(false);const[showNotification,setShowNotification]=React.useState(false);const[quantity,setQuantity]=React.useState(1)// Valeur par d\u00E9faut\n;// Charger la police choisie\nReact.useEffect(()=>{if(buttonFontFamily){loadGoogleFont(buttonFontFamily);}},[buttonFontFamily]);const loadGoogleFont=font=>{const linkId=`google-font-${font.replace(/\\s+/g,\"-\")}`;if(!document.getElementById(linkId)){const link=document.createElement(\"link\");link.href=`https://fonts.googleapis.com/css2?family=${font.replace(/ /g,\"+\")}&display=swap`;link.rel=\"stylesheet\";link.id=linkId;document.head.appendChild(link);}};// Fonction pour r\u00E9cup\u00E9rer le stock du produit\nconst fetchStock=async()=>{if(!shopId||!frameshop_article_id){setErrorStock(true);setLoadingStock(false);return;}try{setLoadingStock(true);const response=await fetch(`https://frameshopv2.support-cd7.workers.dev/stock?shopId=${encodeURIComponent(shopId)}&frameshop_article_id=${encodeURIComponent(frameshop_article_id)}`,{method:\"GET\",headers:{\"Content-Type\":\"application/json\"}});if(response.ok){const data=await response.json();setStockQuantity(data.stock_quantity);setErrorStock(false);}else{console.error(\"Error fetching stock:\",response.statusText);setErrorStock(true);}}catch(err){console.error(\"Error fetching stock:\",err);setErrorStock(true);}finally{setLoadingStock(false);}};React.useEffect(()=>{fetchStock();},[shopId,frameshop_article_id]);// Gestion des \u00E9v\u00E9nements pour la quantit\u00E9\nReact.useEffect(()=>{const handleQuantityUpdate=newQuantity=>{setQuantity(newQuantity);};quantityEvents.subscribe(handleQuantityUpdate);setQuantity(quantityEvents.getQuantity())// Valeur initiale depuis quantityEvents\n;return()=>{quantityEvents.unsubscribe(handleQuantityUpdate);};},[]);const AddToCart=()=>{let cart=JSON.parse(localStorage.getItem(\"cart\")||\"[]\");let item=cart.find(item=>item.frameshop_article_id===frameshop_article_id);if(item){item.quantity+=quantity;}else{cart.push({frameshop_article_id:frameshop_article_id,name:productName,quantity:quantity,price:price,image:productImage});}console.log(`Ajout au panier de l'article FrameshopArticleID: ${frameshop_article_id}, Quantit\\xe9: ${quantity}, Prix: ${price}`);localStorage.setItem(\"cart\",JSON.stringify(cart));cartUpdateEvents.publish(\"cartUpdated\",{});setShowNotification(true);setTimeout(()=>setShowNotification(false),3e3);};const containerStyle={display:\"flex\",justifyContent:\"center\",alignItems:\"center\",backgroundColor:buttonBackgroundColor,color:buttonTextColor,fontSize:`${buttonFontSize}px`,fontFamily:buttonFontFamily,fontWeight:buttonFontWeight,borderRadius:isButtonBorderRadiusMixed?`${buttonTopLeftRadius}px ${buttonTopRightRadius}px ${buttonBottomRightRadius}px ${buttonBottomLeftRadius}px`:`${buttonBorderRadius}px`,padding:isPaddingMixed?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${buttonPadding}px`,cursor:\"pointer\",width:\"100%\",borderColor:showBorders?buttonBorderColor:\"transparent\",borderWidth:showBorders?isBorderWidthMixed?`${borderTopWidth}px ${borderRightWidth}px ${borderBottomWidth}px ${borderLeftWidth}px`:`${buttonBorderWidth}px`:\"0\",borderStyle:showBorders?\"solid\":\"none\",opacity:stockQuantity===0?.6:1,pointerEvents:stockQuantity===0?\"none\":\"auto\"};const iconStyle={marginLeft:iconPosition===\"right\"?\"8px\":\"0\",marginRight:iconPosition===\"left\"?\"8px\":\"0\"};const displayText=stockQuantity===0?outOfStockText:buttonText;return /*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{onClick:stockQuantity===0?null:AddToCart,style:containerStyle,children:[showIcon&&iconPosition===\"left\"&&stockQuantity!==0&&/*#__PURE__*/_jsx(PlusCircle,{color:buttonTextColor,style:iconStyle}),displayText,showIcon&&iconPosition===\"right\"&&stockQuantity!==0&&/*#__PURE__*/_jsx(PlusCircle,{color:buttonTextColor,style:iconStyle})]}),showNotification&&/*#__PURE__*/_jsx(\"div\",{style:{...toastStyle,backgroundColor:toastBackgroundColor,color:toastTextColor,textAlign:\"center\",lineHeight:toastLineHeight,whiteSpace:\"pre-line\",width:\"340px\",boxSizing:\"content-box\",wordBreak:\"break-word\",fontSize:`${toastFontSize}px`,fontFamily:toastFontFamily,fontWeight:toastFontWeight,overflowX:\"auto\",maxWidth:\"90%\"},children:confirmationMessage.replace(\"{productName}\",productName)})]});}const toastStyle={position:\"fixed\",bottom:\"20px\",left:\"50%\",transform:\"translateX(-50%)\",padding:\"10px 20px\",borderRadius:\"8px\",boxShadow:\"0px 4px 6px rgba(0,0,0,0.1)\",zIndex:9999};FrameshopAddToCart.defaultProps={shopId:\"\",frameshop_article_id:\"001\",productName:\"Product Name\",price:10,productImage:\"\",buttonBackgroundColor:\"#000000\",buttonTextColor:\"#FFFFFF\",buttonFontSize:16,buttonFontFamily:\"Inter\",buttonFontWeight:\"400\",buttonPadding:10,buttonBorderRadius:10,showBorders:false,buttonBorderColor:\"#000000\",buttonBorderWidth:1,buttonText:\"Add to Cart\",showIcon:true,iconPosition:\"left\",outOfStockText:\"Available Soon\",confirmationMessage:\"{productName} has been added to your shopping cart.\",toastBackgroundColor:\"#fff\",toastTextColor:\"#000000\",toastFontSize:14,toastFontFamily:\"Inter\",toastFontWeight:\"400\",toastLineHeight:1.5};addPropertyControls(FrameshopAddToCart,{shopId:{type:ControlType.String,title:\"Shop ID\",defaultValue:\"\"},frameshop_article_id:{type:ControlType.String,title:\"Frameshop Article ID\",defaultValue:\"001\"},productName:{type:ControlType.String,title:\"Product Name\",defaultValue:\"Product Name\"},price:{type:ControlType.Number,title:\"Price\",defaultValue:10,min:0,step:1},productImage:{type:ControlType.Image,title:\"Product Image\",defaultValue:\"\"},buttonText:{type:ControlType.String,title:\"Text\",defaultValue:\"Add to Cart\"},outOfStockText:{type:ControlType.String,title:\"Out of Stock Text\",defaultValue:\"Available Soon\"},showIcon:{type:ControlType.Boolean,title:\"Show Icon\",defaultValue:true},iconPosition:{type:ControlType.Enum,title:\"Icon Position\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],defaultValue:\"left\",hidden:({showIcon})=>!showIcon},buttonBackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"},buttonTextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},buttonFontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:100,unit:\"px\",displayStepper:true},buttonFontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"Inter\"},buttonFontWeight:{type:ControlType.Enum,title:\"Font Weight\",options:[\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\"],optionTitles:[\"Thin\",\"Extra Light\",\"Light\",\"Regular\",\"Medium\",\"Semi Bold\",\"Bold\",\"Extra Bold\",\"Black\"],defaultValue:\"400\"},buttonPadding:{type:ControlType.FusedNumber,title:\"Padding\",defaultValue:10,toggleKey:\"isPaddingMixed\",toggleTitles:[\"Uniform\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},buttonBorderRadius:{type:ControlType.FusedNumber,title:\"Border Radius\",defaultValue:10,toggleKey:\"isButtonBorderRadiusMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"buttonTopLeftRadius\",\"buttonTopRightRadius\",\"buttonBottomRightRadius\",\"buttonBottomLeftRadius\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0},showBorders:{type:ControlType.Boolean,title:\"Show Borders\",defaultValue:false},buttonBorderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#000000\",hidden:({showBorders})=>!showBorders},buttonBorderWidth:{type:ControlType.FusedNumber,title:\"Border Width\",defaultValue:1,toggleKey:\"isBorderWidthMixed\",toggleTitles:[\"Uniform\",\"Individual\"],valueKeys:[\"borderTopWidth\",\"borderRightWidth\",\"borderBottomWidth\",\"borderLeftWidth\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0,hidden:({showBorders})=>!showBorders},confirmationMessage:{type:ControlType.String,title:\"Confirmation Message\",defaultValue:\"{productName} has been added to your shopping cart.\"},toastBackgroundColor:{type:ControlType.Color,title:\"Toast Background\",defaultValue:\"#fff\"},toastTextColor:{type:ControlType.Color,title:\"Toast Text Color\",defaultValue:\"#000000\"},toastFontSize:{type:ControlType.Number,title:\"Toast Font Size\",defaultValue:14,min:8,max:36,unit:\"px\",displayStepper:true},toastFontFamily:{type:ControlType.String,title:\"Toast Font Family\",defaultValue:\"Inter\"},toastFontWeight:{type:ControlType.Enum,title:\"Toast Font Weight\",options:[\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\"],optionTitles:[\"Thin\",\"Extra Light\",\"Light\",\"Regular\",\"Medium\",\"Semi Bold\",\"Bold\",\"Extra Bold\",\"Black\"],defaultValue:\"400\"},toastLineHeight:{type:ControlType.Number,title:\"Toast Line Height\",defaultValue:1.5,min:1,max:3,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameshopAddToCart\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"fram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AK,eAAe,EAAI,EAAE,gBAAgB,CAAC,KAAKA,EAAY,OAAO,MAAM,oBAAoB,aAAa,OAAO,EAAE,gBAAgB,CAAC,KAAKA,EAAY,KAAK,MAAM,oBAAoB,QAAQ,CAAC,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,cAAc,QAAQ,UAAU,SAAS,YAAY,OAAO,aAAa,OAAO,EAAE,aAAa,KAAK,EAAE,gBAAgB,CAAC,KAAKA,EAAY,OAAO,MAAM,oBAAoB,aAAa,IAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC",
  "names": ["quantityEvents", "callback", "listener", "newQuantity", "FrameshopAddToCart", "props", "shopId", "frameshop_article_id", "productName", "price", "productImage", "buttonText", "showIcon", "iconPosition", "buttonBackgroundColor", "buttonTextColor", "buttonFontSize", "buttonFontFamily", "buttonFontWeight", "isButtonBorderRadiusMixed", "buttonTopLeftRadius", "buttonTopRightRadius", "buttonBottomRightRadius", "buttonBottomLeftRadius", "buttonBorderRadius", "isPaddingMixed", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "buttonPadding", "showBorders", "buttonBorderColor", "isBorderWidthMixed", "borderTopWidth", "borderRightWidth", "borderBottomWidth", "borderLeftWidth", "buttonBorderWidth", "outOfStockText", "confirmationMessage", "toastBackgroundColor", "toastTextColor", "toastFontSize", "toastFontFamily", "toastFontWeight", "toastLineHeight", "stockQuantity", "setStockQuantity", "ye", "loadingStock", "setLoadingStock", "errorStock", "setErrorStock", "showNotification", "setShowNotification", "quantity", "setQuantity", "ue", "loadGoogleFont", "font", "linkId", "link", "fetchStock", "response", "data", "err", "handleQuantityUpdate", "newQuantity", "quantityEvents", "AddToCart", "cart", "item", "cartUpdateEvents", "containerStyle", "iconStyle", "u", "p", "e", "toastStyle", "addPropertyControls", "ControlType"]
}
