import{aa as m}from"./_applist-tangy-colts-beg-36.js";import{_ as r}from"./main-tangy-colts-beg.js";import{h as t,s}from"./machine.-tangy-colts-beg-869.js";import{f as a}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 h=m(({helpers:o})=>({states:{components:[{componentName:o.componentName.mixInput,helperText:r("Enter the email address of the user you want to remove from the group."),id:"user-email",label:r("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:r('Select the group(s) to remove the user from, or select "all" to remove from all groups.'),id:"group",label:r("Select Group(s)"),mode:"multiple",onChange:"HANDLE_GROUP",onRefetch:"REFETCH_GROUPS",options:[],render:!0,required:!0,value:void 0}]},actions:{HANDLE_GROUP:t("group"),HANDLE_USER_EMAIL:t("userEmail"),REFETCH_GROUPS:({$:e})=>a(e),ON_MACHINE_LOAD:({$:e})=>{s(e,[{db:"userEmail",id:"user-email"},{db:"group",id:"group"}]),a(e)}}}));export{h as default};
