import{C as r}from"./index-058acbdf.js";import{n as s}from"./index-009d300e.js";import"./vuedraggable.umd-b2447fd7.js";const n={props:{value:{type:Object,default:()=>r.defaultFilter("string"),required:!0},items:{type:Array,default:()=>[],required:!0}},data(){return{valid:!1,rules:{match:[t=>this.validateRegex(t)]}}},methods:{change(){this.$emit("change",this.value,this.valid)},validateRegex(t){let e;try{e=!!new RegExp(t)}catch(a){e=a.message}return e}}};var i=function(){var e=this,a=e._self._c;return a("v-card-text",[a("v-form",{model:{value:e.valid,callback:function(l){e.valid=l},expression:"valid"}},[a("v-row",[a("v-col",[a("v-text-field",{attrs:{label:"Search",hint:"Supports regular expressions",rules:e.rules.match,clearable:""},on:{change:e.change},model:{value:e.value.match,callback:function(l){e.$set(e.value,"match",l)},expression:"value.match"}})],1)],1),a("v-row",[a("v-col",[a("v-select",{attrs:{items:e.items,label:"Values",clearable:"",chips:"",deletableChips:"",dense:"",multiple:""},on:{change:e.change},model:{value:e.value.values,callback:function(l){e.$set(e.value,"values",l)},expression:"value.values"}})],1)],1)],1)],1)},u=[],c=s(n,i,u,!1,null,null,null,null);const d=c.exports;export{d as default};
