"use strict";const t=require("./main-BB7fFseo.cjs");require("./index-YwS-u3iG.cjs");const i=require("./NumRange-CHt46J7W.cjs"),m=t.defineComponent({__name:"LengthRangeOption",setup(l){const s=t.computed({get:()=>{var e;return((e=t.activeWidgetAttrs.value)==null?void 0:e.minLength)??null},set:e=>{typeof e=="number"?t.setMinLength(Math.abs(e)):t.setMinLength(null)}}),u=t.computed({get:()=>{var e;return((e=t.activeWidgetAttrs.value)==null?void 0:e.maxLength)??null},set:e=>{typeof e=="number"?t.setMaxLength(Math.abs(e)):t.setMaxLength(null)}});return(e,n)=>(t.openBlock(),t.createBlock(t.unref(i.NumRangeRow),{label:"字数限制",min:s.value,"onUpdate:min":n[0]||(n[0]=a=>s.value=a),max:u.value,"onUpdate:max":n[1]||(n[1]=a=>u.value=a)},null,8,["min","max"]))}});exports._sfc_main=m;
