import{aa as n}from"./_applist-tangy-colts-beg-36.js";import{_ as a}from"./main-tangy-colts-beg.js";import{h as o,s as r}from"./machine.-tangy-colts-beg-869.js";import{a as c}from"./machineh-tangy-colts-beg-234.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const m=n(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:a("The ID of the contact to add the list to."),id:"contact-id",label:a("Contact ID"),onChange:"HANDLE_CONTACT_ID",path:"contact_id",render:!0,required:!0,value:void 0},{componentName:e.componentName.select,helperText:a("Select one or more tags to add the contact to."),id:"tags",label:a("Select Tags"),mode:"multiple",onChange:"SELECT_TAGS",onRefetch:"REFETCH_TAGS",options:[],path:"tags",render:!0,required:!0,value:void 0}]},actions:{HANDLE_CONTACT_ID:o("contactId"),SELECT_TAGS:o("tags"),ON_MACHINE_LOAD:({$:t})=>{r(t,[{db:"contactId",id:"contact-id"},{db:"tags",id:"tags"}]),c(t)},REFETCH_TAGS:({$:t})=>{c(t)}}}));export{m as a};
