import{aa as i,ab as c}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as t,s as r}from"./machine.-tangy-colts-beg-869.js";import{h as m,c as h}from"./commons.-tangy-colts-beg-359.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 _=i(({helpers:o})=>({states:{components:[h(o),{componentName:o.componentName.mixInput,fieldType:"config",helperText:n("The name of the shared drive to create."),id:"drive-name",label:n("Name"),onChange:"SET_DRIVE_NAME",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{SET_CONNECTION:({$:e,e:a})=>{t("connectionId")({$:e,e:a})},CONNECTION_ADD_CHANGE:m,IF_CONNECTION_SELECTED:({$:e})=>{var a;return c((a=e.getComponent("connection-id"))==null?void 0:a.value)},SET_DRIVE_NAME:t("driveName"),ON_MACHINE_LOAD:({$:e})=>{r(e,[{db:"connectionId",id:"connection-id"},{db:"driveName",id:"drive-name"}])}}}));export{_ as default};
