import{av as $,aI as o}from"./index-CW_ph8U7.js";const r="https://dashboard.jetprintapp.com",g=$({id:"product",state:()=>({user:JSON.parse(localStorage.getItem("user")),returnUrl:null}),actions:{async blankProductDetail(t,s,a,e,c,n,p,i,u,d,l,m,h,y,b){const P={id:t,blankProductInfo:s,skuInfos:a,skuMap:e,shippingRateInfos:c,showImageList:n,blankContent:p,blankDescToC:i,skuTree:u,blankSpecMetric:d,blankSpecImperial:l,blankPattern:m,shippingMethodInfos:h,inputBoxList:y,imageBoxList:b};return await o.post(`${r}/shopapi/blankProduct/detail`,P)},async blankProductDetail2(t){return await o.post(`${r}/shopapi/blankProduct/detail`,t)},async blankProductTypeTree(t){const s={blankProductTypeCategory:t};return await o.post(`${r}/shopapi/blankProduct/type/tree`,s)},async blankProductPage(t){return await o.post(`${r}/shopapi/blankProduct/page`,t)},async blankProductFavorite(t){const s={blankProductId:t,contentType:"application/json;charset=UTF-8"};return await o.post(`${r}/shopapi/blankProduct/favorite`,s)},async blankProductUnFavorite(t){const s={blankProductId:t,contentType:"application/json;charset=UTF-8"};return await o.post(`${r}/shopapi/blankProduct/unnfavorite`,s)},async countryGroupsApi(){return await o.post(`${r}/shopapi/common/countryGroups`,{})},async customProductDetail(t){return await o.post(`${r}/shopapi/custom/product/detail`,t)},async fittingsRemove(t){return await o.post(`${r}/shopapi/custom/product/fittings/remove`,t)},async serverLogisticsMethods(t){return await o.post(`${r}/shopapi/custom/product/serverLogisticsMethods`,t)},async productModify(t){return await o.post(`${r}/shopapi/custom/product/modify`,t)},async customCollectionList(t){return await o.post(`${r}/shopapi/custom/product/customCollectionList`,t)},async logisticsMethods(t){return await o.post(`${r}/shopapi/common/logisticsMethods`,t)}}});export{g as p};