import{co as b,cp as o}from"./index-B4XbvW4T.js";const r="https://dashboard.jetprintapp.com",k=b({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,P){const $={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:P};return await o.post(`${r}/shopapi/blankProduct/detail`,$)},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)},async customProductPage(t){return await o.post(`${r}/shopapi/custom/product/page`,t)},async canBindFittingList(t){return await o.post(`${r}/shopapi/custom/product/can_bind_fittings_list`,t)}}});export{k as p};