"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("lodash-unified"),r=require("vue"),n="SELECTABLE_ALL_VALUE_KEY",s=t=>{const o=r.ref(t?.options||[]);function u(e){!e||!i.isArray(e)||(o.value=[...e])}return r.watch(()=>t.options,e=>{u(e)},{deep:!0}),{options:o,updateOptions:u}};exports.SELECT_ALL_VALUE_KEY=n;exports.default=s;exports.useSelectOptions=s;
