1import{a,m as n,j as i}from"./-W1VOijv.js";import{C as m}from"./DAZ5B5UQ.js";import{bg as c,b3 as p,J as u,a5 as f,bC as l}from"./PW_UF68a.js";import"./Bz2dEcw7.js";import"./CIhhRri8.js";import"./Bs5_TFWz.js";import"./B_aewNsK.js";import"./fgnZjpTr.js";import"./CH7vd0UB.js";import"./206wqFYJ.js";import"./CBI4HadU.js";const h=f({name:"Create",components:{CreateForm:m},async mounted(){await this.getTenant();const e=(this.$auth?.user?.roles||[]).some(r=>r.name==="Super Admin"),o=!!(this.tenant?.has_form_permission||this.tenant?.hasFormPermission);if(!e&&!o)return this.$router.push("/");this.initializeComponent()},computed:{...i("tenant",["tenant"])},methods:{...n("resources",["createResource","clearState","getTenant"]),async initializeComponent(){this.clearState({scope:"forms",val:{}}),await this.createResource("forms")}},setup(){l({title:"AdaugÄ Formular"})}});function _(t,e,o,r,d,C){const s=c("create-form");return p(),u(s,{"form-subtitle":t.$t("form_subtitle.create"),"form-title":t.$t("form.create_form_title")},null,8,["form-subtitle","form-title"])}const z=a(h,[["render",_]]);export{z as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.