import{aa as i}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as a,s}from"./machine.-tangy-colts-beg-869.js";import{f as r}from"./machineh-tangy-colts-beg-426.js";import"./lodash-tangy-colts-beg-516.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 p=i(({helpers:o})=>({states:{components:[{componentName:o.componentName.mixInput,helperText:t("Enter the email address of the user you want to add to the group."),id:"user-email",label:t("User Email"),onChange:"HANDLE_USER_EMAIL",path:"user_email",render:!0,required:!0,value:void 0},{allowClear:!0,componentName:o.componentName.select,fieldType:"config",helperText:t("Select the group(s) to which you want to add the user."),id:"group",label:t("Select Group(s)"),mode:"multiple",onChange:"HANDLE_GROUP_SELECT",onRefetch:"REFETCH_GROUPS",options:[],render:!0,required:!0,value:void 0}]},actions:{HANDLE_GROUP_SELECT:a("group"),HANDLE_USER_EMAIL:a("userEmail"),REFETCH_GROUPS:({$:e})=>r(e),ON_MACHINE_LOAD:({$:e})=>{s(e,[{db:"userEmail",id:"user-email"},{db:"group",id:"group"}]),r(e)}}}));export{p as default};
