import{aa as a}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as n,s as r}from"./machine.-tangy-colts-beg-869.js";import{f as i}from"./machineh-tangy-colts-beg-426.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,o){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,o),o)}};const s=a(({helpers:e})=>({states:{components:[{allowClear:!0,componentName:e.componentName.select,fieldType:"config",helperText:t("Select the group whose members will receive the notification."),id:"group",label:t("Select Group"),onChange:"HANDLE_GROUP",onRefetch:"REFETCH_GROUPS",options:[],render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Enter the email address of the user who will send the message."),id:"sender-email",label:t("Sender Email"),onChange:"HANDLE_SENDER_EMAIL",path:"sender_email",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Enter the content of the notification."),id:"notification-content",label:t("Notification Content"),onChange:"HANDLE_NOTIFICATION_CONTENT",path:"notification_content",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Enter the link of the notification."),id:"notification-link",label:t("Notification Link"),onChange:"HANDLE_NOTIFICATION_LINK",path:"notification_link",render:!0,value:void 0}]},actions:{HANDLE_GROUP:n("group"),HANDLE_NOTIFICATION_CONTENT:n("notificationContent"),HANDLE_NOTIFICATION_LINK:n("notificationLink"),HANDLE_SENDER_EMAIL:n("senderEmail"),REFETCH_GROUPS:({$:o})=>i(o),ON_MACHINE_LOAD:({$:o})=>{r(o,[{db:"group",id:"group"},{db:"senderEmail",id:"sender-email"},{db:"notificationContent",id:"notification-content"},{db:"notificationLink",id:"notification-link"}]),i(o)}}}));export{s as default};
