"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var AliReviews=require("../../configs/AliReviews.js"),uiV2=require("./uiV2.js"),helpers=require("../../common/helpers.js");const WidgetOptions=[{value:"starRating",label:"Star Rating"},{value:"reviewBox",label:"Review box"}],config={tag:AliReviews.default.tag,label:AliReviews.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AliReviews.default.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:AliReviews.default.id,name:AliReviews.default.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="${AliReviews.default.logoUrl}?width=22&height=22">
          <span class="preset-item-title">${AliReviews.default.label}</span>
        </div>
      `},components:[{tag:AliReviews.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"ali-reviews-kudosi-reviews"}),appName:AliReviews.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/ali-reviews",appName:AliReviews.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"starRating",options:WidgetOptions},{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:uiV2.default};exports.WidgetOptions=WidgetOptions,exports.default=config;
