import{b as s}from"./settings.consts-C6F6lZ8o.js";import{T as n}from"./Toggle-CJkQhFp2.js";import"./vendor-vueform-slider-CCH9_7pb.js";import{u as _}from"./OrderForm--Em8u8hn.js";import{T as b}from"./Tab-CaYIC5iw.js";import{O as c}from"./field-settings.constants-BwuDQrPV.js";import{d as f,f as g,i as h,x as t,j as l}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import"./admin-BM775jCq.js";import"./vendor-vue-runtime-dom-B2rky8vu.js";import"./vendor-vue-shared-DrzsEcag.js";import"./convert-case-to-camel-case.utils-CK5dBN7n.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";/* empty css               */import"./vendor-vue3-html2pdf-KR020wX8.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";import"./SidebarCollapseToolbar-DMeQTXRR.js";import"./EmbedPopup-BUj0yGgY.js";import"./useAppearanceStore-IzenP-G4.js";import"./vendor-vue-flow-CRbOssRZ.js";import"./Badge.vue_vue_type_script_setup_true_lang-D3oqtQF2.js";import"./ThemeToggle-a3yohy6x.js";/* empty css                */const V={class:"ccb-order-form-field-editor"},v={class:"ccb-field-sidebar__body"},C={class:"ccb-field-sidebar__item"},D={class:"ccb-field-sidebar__item"},F={class:"ccb-field-sidebar__item"},O={class:"ccb-field-sidebar__item"},T={class:"ccb-field-sidebar__item"},oe=f({__name:"OrderFormDatePicker",setup(k){const{stringAttribute:m,booleanAttribute:a,updateAttribute:r,fieldWidth:p,updateFieldWidth:u}=_();return(B,i)=>(h(),g("div",V,[t("div",v,[t("div",C,[l(e(n),{label:"Make this field required",modelValue:e(a)("required"),onChange:i[0]||(i[0]=(d,o)=>e(r)("required",o?"1":"0")),size:"m",weight:"medium"},null,8,["modelValue"])]),t("div",D,[l(e(s),{label:"Label",placeholder:"Enter label",modelValue:e(m)("label"),onChange:i[1]||(i[1]=(d,o)=>e(r)("label",String(o||"")))},null,8,["modelValue"])]),t("div",F,[l(e(s),{label:"Placeholder",placeholder:"Select Date",modelValue:e(m)("placeholder"),onChange:i[2]||(i[2]=(d,o)=>e(r)("placeholder",String(o||"")))},null,8,["modelValue"])]),t("div",O,[l(e(n),{label:"Range Date",size:"m",weight:"medium",modelValue:e(a)("range"),onChange:i[3]||(i[3]=(d,o)=>e(r)("range",o))},null,8,["modelValue"])]),t("div",T,[l(b,{items:e(c),modelValue:e(p),title:"Width (columns)",onChange:i[4]||(i[4]=(d,o)=>e(u)(o))},null,8,["items","modelValue"])])])]))}});export{oe as default};
//# sourceMappingURL=OrderFormDatePicker-CAiAkh4v.js.map
