import{aa as n}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as o,s as c}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(e,i){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,i),i)}};const p=n(({helpers:e})=>({states:{components:[{allowClear:!0,componentName:e.componentName.select,fieldType:"config",helperText:t("Select the group where you want to add the post."),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 post the activity."),id:"author-email",label:t("Author Email"),onChange:"HANDLE_AUTHOR_EMAIL",path:"author_email",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Enter the content of the activity post."),id:"activity-content",label:t("Activity Content"),onChange:"HANDLE_ACTIVITY_CONTENT",path:"activity_content",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Enter the action text for the activity (optional)."),id:"activity-action",label:t("Activity Action"),onChange:"HANDLE_ACTIVITY_ACTION",path:"activity_action",render:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Enter the primary link URL for the activity (optional)."),id:"activity-action-link",label:t("Activity Action Link"),onChange:"HANDLE_ACTIVITY_ACTION_LINK",path:"activity_action_link",render:!0,value:void 0},{componentName:e.componentName.switch,helperText:t("Hide this activity from the sitewide activity feed."),id:"hide-sitewide",label:t("Hide Sitewide"),onChange:"HANDLE_HIDE_SITEWIDE",path:"hide_sitewide",render:!0,value:!1}]},actions:{HANDLE_ACTIVITY_ACTION:o("activityAction"),HANDLE_ACTIVITY_ACTION_LINK:o("activityActionLink"),HANDLE_ACTIVITY_CONTENT:o("activityContent"),HANDLE_AUTHOR_EMAIL:o("authorEmail"),HANDLE_GROUP:o("group"),HANDLE_HIDE_SITEWIDE:o("hideSitewide"),REFETCH_GROUPS:({$:i})=>a(i),ON_MACHINE_LOAD:({$:i})=>{c(i,[{db:"group",id:"group"},{db:"authorEmail",id:"author-email"},{db:"activityContent",id:"activity-content"},{db:"activityAction",id:"activity-action"},{db:"activityActionLink",id:"activity-action-link"},{db:"hideSitewide",id:"hide-sitewide"}]),a(i)}}}));export{p as default};
