const e="columnOptions",r=["nbtw","btw","in","nin","contains_all","contains_any","not_contains"],c=["time_gt_now","time_lt_now"],o=(t,n="column")=>(t==null?void 0:t.map(s=>({...s,key:s[n],disabled:!!s.children,children:o(s.children,n)})))||[],a=[{validator(t,n){return!n||n&&!n.length||!n.some(s=>s.actions&&s.actions.length)?Promise.reject("至少配置一个执行动作"):Promise.resolve()}}];export{e as C,r as a,c as b,o as h,a as t};
