import e from"../../configs/LaiProductReviews.js";import a from"./uiV1.js";import l from"./uiV2.js";import{get3rdPartyInstallLink as i}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:{en: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:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"lai-reviews"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/smart-aliexpress-reviews",appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",default:"advanced_widget",options:[{label:"Star Ratings",value:"star_ratings",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_STATIC","GP_INDEX"],flowTag:["Product","ProductList","ProductListV3"],condition:"or"},{label:"Product Review Sections",value:"reviews_widget",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_STATIC","GP_INDEX"],flowTag:["Product","ProductList","ProductListV3"],condition:"or"},{label:"Advanced Widget",value:"advanced_widget"},{label:"Hom Page Reviews",value:"homepage_reviews",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_STATIC","GP_INDEX","GP_COLLECTION","GP_PRODUCT"]},{label:"Happy Customer Reviews",value:"happy_customer_reviews",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_STATIC","GP_INDEX","GP_COLLECTION","GP_PRODUCT"]},{label:"Star Ratings in the List",value:"star_ratings_in_list",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_STATIC","GP_INDEX","GP_COLLECTION","GP_PRODUCT"]}]},{id:"advancedWidgetType",label:"Choose widget",type:"select",default:"mediaGallery",options:[{label:"Media Gallery",value:"mediaGallery"},{label:"Testimonial Garousel",value:"testimonialCarousel"},{label:"Card Carousel",value:"cardCarousel"},{label:"Card Grid",value:"cardGrid"}]},{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:a,uiV2:l};export{config as default};
