import{aP as y,r as e,E as t}from"./index-iCRehgtD.js";const D=y("setup",()=>{const r=e(null),c=e("subscription"),i=t({login:"",password:""}),p=e(!1),l=e(!1),n=e(!1),u=t({disk:!0,tape:!1}),d=t({path:"/var/lib/bareos/storage",dedupable:!1,concurrentJobs:15}),f=e([]),g=e([]),v=e([]),m=e([]),b=e(!1),S=t({createDb:!0}),C=t({username:"admin",password:""}),k=e(!1),s=e(0),o=["welcome","os","repo","install","targets","disk","tape","database","passwords","summary"];function x(){s.value<o.length-1&&s.value++}function w(){s.value>0&&s.value--}function I(h){const a=o.indexOf(h);a>=0&&(s.value=a)}function T(){n.value=!1}return{osInfo:r,repoType:c,repoCredentials:i,repoAdded:p,packagesInstalled:l,storageConfigured:n,storageTargets:u,diskConfig:d,diskInventory:f,tapeChangers:g,tapeDrives:v,tapeAssignments:m,tapeTargetAutoSelected:b,dbConfig:S,adminUser:C,setupDone:k,stepIndex:s,steps:o,nextStep:x,prevStep:w,goTo:I,resetStorageConfigured:T}});export{D as u};
