"use strict";var helpers=require("../../common/helpers.js");const SettingUIV1=[{type:"control",label:{en:"Custom text"},layout:"vertical",setting:{id:"customText"},options:{tooltip:{icon:"info-line-16",content:"Apply customized text before estimate days",iconClass:"text-[#757575] hover:text-[#F9F9F9]",enableTeleport:!0,containerClass:"!w-fit",contentStyle:{width:"164px !important"}}}},{type:"group",label:{en:"Estimate days"},controls:[{type:"control",label:{en:"Type"},setting:{id:"typeEstimate"}},{type:"control",label:{en:"Min estimate"},setting:{id:"minEstimate"},condition:`typeEstimate === "${helpers.ESTIMATE_DAYS.RANGE}"`,options:{tooltip:{icon:"info-line-16",content:"Minimum days from the day buyer visit the page",iconClass:"text-[#757575] hover:text-[#F9F9F9]",containerClass:"!w-fit",contentStyle:{width:"164px !important"}}}},{type:"control",label:{en:"Max estimate"},setting:{id:"maxEstimate"},condition:`typeEstimate === "${helpers.ESTIMATE_DAYS.RANGE}"`,options:{tooltip:{icon:"info-line-16",content:"Maximum days from the day buyer visit the page",iconClass:"text-[#757575] hover:text-[#F9F9F9]",containerClass:"!w-fit",contentStyle:{width:"164px !important"}}}},{type:"control",label:{en:"Estimate"},setting:{id:"estimateTime"},condition:`typeEstimate === "${helpers.ESTIMATE_DAYS.SPECIFIC}"`,options:{tooltip:{icon:"info-line-16",content:"Count from the day buyer visit the page",iconClass:"text-[#757575] hover:text-[#F9F9F9]",containerClass:"!w-fit",contentStyle:{width:"164px !important"}}}}]},{type:"group",label:{en:"Date format"},controls:[{type:"control",label:{en:"Type"},setting:{id:"typeFormat"},options:{tooltip:{icon:"info-line-16",content:"Precise date is displayed based on buyer time zone",iconClass:"text-[#757575] hover:text-[#F9F9F9]",containerClass:"!w-fit",contentStyle:{width:"164px !important"}}}},{type:"control",condition:"typeFormat === 'Custom'",label:{en:"Custom format"},setting:{id:"customFormat"}},{type:"control",condition:"typeFormat === 'Custom'",info:{en:'<div style="font-style: normal; color: #AAAAAA">You can follow Shopify’s date format <a style="text-decoration: none; color: #7190FF" href="https://www.shopify.com/partners/blog/liquid-date-format" target="_blank">here.</a> </div>'},setting:{id:"moreFormat"}}]},{type:"group",layout:"vertical",setting:{id:"visibilityContainer"},controls:[{type:"control",layout:"vertical",label:{en:"Visibility"},setting:{id:"visibility"},options:{tooltip:{icon:"info-line-16",content:"Hide on live page when product or selected variant is out of stock",iconClass:"text-[#757575] hover:text-[#F9F9F9]",containerClass:"!w-fit",contentStyle:{width:"164px !important"}},label:"large"},onlyShowInTags:["Product"]},{type:"control",label:{en:"If out of stock"},setting:{id:"ifOutOfStock"}}],onlyShowInTags:["Product"]},{type:"control",label:{en:"Custom text"},setting:{id:"typoCustom"},layout:"vertical"},{type:"control",label:{en:"Date text"},setting:{id:"typoDate"},layout:"vertical"},{type:"group",label:{en:"Size"},controls:[{type:"control",setting:{id:"globalSize"},layout:"vertical"}]},{type:"control",label:{en:"Background"},options:{label:"large",styleLabel:{marginBottom:"4px"}},setting:{id:"background"},layout:"vertical"},{type:"control",label:{en:"Align"},condition:"globalSize.width !== '100%'",options:{label:"large"},setting:{id:"align"}}];exports.SettingUIV1=SettingUIV1;
