"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Releasit=require("../../configs/Releasit.js"),uiV2=require("./uiV2.js"),helpers=require("../../common/helpers.js");const config={tag:Releasit.default.tag,label:Releasit.default.label,icon:`<img class="w-32 mr-8 border border-dark-200 rounded-medium" src="${Releasit.default.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0},placeholder:{flowTag:["Product"]}},presets:[{id:Releasit.default.id,name:Releasit.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="${Releasit.default.logoUrl}?width=22&height=22">
          <span class="preset-item-title">${Releasit.default.label}</span>
        </div>
      `},components:[{tag:Releasit.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"productHandle",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:helpers.get3rdPartyInstallLink({handle:"v7-releasit-cod-form-upsells"}),appName:Releasit.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/releasit-cod-order-form",appName:Releasit.default.label},{id:"version",label:"Choose version",type:"select",default:"v1",options:[{label:"V1",value:"v1"},{label:"V2",value:"v2"}]},{id:"widgetTypeV2",label:"Choose widget",type:"select",default:"button-app-block",options:[{label:"Releasit button",value:"button-app-block"},{label:"Releasit embedded form",value:"form-app-block"}]},{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.default=config;
