import{aa as r}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as a,s as c}from"./machine.-tangy-colts-beg-869.js";import{a as s}from"./machineh-tangy-colts-beg-701.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(o,e){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,e),e)}};const u=r(({helpers:o})=>({states:{components:[{componentName:o.componentName.mixInput,helperText:t("Enter the email address of the user you want to integrate to access groups."),id:"email",label:t("User Email Address"),onChange:"HANDLE_EMAIL",path:"email",render:!0,required:!0,value:void 0},{componentName:o.componentName.select,helperText:t("Select one or more access groups to integrate the user into."),id:"access-groups",label:t("Select Access Groups"),mode:"multiple",onChange:"SELECT_ACCESS_GROUPS",onRefetch:"REFETCH_ACCESS_GROUPS",options:[],path:"groupIds",render:!0,required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:e})=>{c(e,[{db:"email",id:"email"},{db:"groupIds",id:"access-groups"}]),s(e)},HANDLE_EMAIL:a("email"),SELECT_ACCESS_GROUPS:a("groupIds"),REFETCH_ACCESS_GROUPS:({$:e})=>{s(e)}}}));export{u};
