"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-BB7fFseo.cjs"),n=require("./index-YwS-u3iG.cjs"),s=require("./Column.vue_vue_type_script_setup_true_lang-tJ9seOIk.cjs"),m=e.defineComponent({__name:"AppointSettings",setup(r){const a=e.ref([{label:"单选项目",value:0},{label:"多选项目",value:1}]),u=e.computed({get:()=>{var t;return((t=e.activeWidgetAttrs.value)==null?void 0:t.multiplyAppoint)??0},set:t=>{e.setMultiplyAppoint(t)}}),i=e.computed({get:()=>{var t;return((t=e.activeWidgetAttrs.value)==null?void 0:t.multiplyQuota)??0},set:t=>{e.setMultiplyQuota(t)}}),p=e.computed({get:()=>{var t;return((t=e.activeWidgetAttrs.value)==null?void 0:t.multiplyAvail)??0},set:t=>{e.setMultiplyAvail(t)}});return(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(s._sfc_main),{label:"题型选择",options:a.value,modelValue:u.value,"onUpdate:modelValue":l[0]||(l[0]=o=>u.value=o)},null,8,["options","modelValue"]),e.createVNode(e.unref(n.SwitchRow),{label:"单次预约可选择多个名额",modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=o=>i.value=o)},null,8,["modelValue"]),e.createVNode(e.unref(n.SwitchRow),{label:"支持填表者选择多个日期/时间段",modelValue:p.value,"onUpdate:modelValue":l[2]||(l[2]=o=>p.value=o)},null,8,["modelValue"])],64))}}),d=e.defineComponent({__name:"AppointConfig",setup(r){return(a,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(n.TitleRow),null,{default:e.withCtx(()=>[e.createTextVNode("字段设置")]),_:1}),e.createVNode(m)],64))}});exports.default=d;
