import e from"../../configs/Growave.js";import l from"./uiV2.js";import{get3rdPartyInstallLink as a}from"../../common/helpers.js";let config={tag:e.tag,label:e.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`
        <div class="w-full flex flex-col items-center">
          <img class="w-24 border border-dark-200 rounded-medium" src="${e.logoUrl}?width=22&height=22">
          <span class="preset-item-title">${e.label}</span>
        </div>
      `},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:a({handle:"growave-v7"}),appName:e.label},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:"https://admin.shopify.com/?redirect=/apps/socialshopwave",appName:e.label},{id:"version",label:"Choose version",type:"select",default:"v1",options:[{label:"v1",value:"v1"},{label:"v2",value:"v2"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"reviews",options:[{label:"Reviews",value:"reviews"},{label:"Star Badge",value:"badge"},{label:"Product List Badge",value:"productListBadge"},{label:"Wish List",value:"wishList"},{label:"Social Share",value:"socialShare"},{label:"Favorite Icon",value:"favorite"}]},{id:"widgetTypeV2",label:"Choose widget",type:"select",default:"block.product.reviewWidget",options:[{label:"Reviews",value:"block.product.reviewWidget"},{label:"Review mini slider",value:"v2.product.reviewsMiniSlider"},{label:"Star Badge",value:"block.product.reviewAvgProfile"},{label:"Wish List",value:"block.product.faveButton"}]},{id:"socialShare",info:'<a href="#" class="reference">Attention</a>: Only avalable on Growth and higher plans of Growave app.',type:"group"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l};export{config as default};
