1import{_ as l}from"./Element.js";import{_ as s}from"./app.js";import"./StructuredForm.js";import"./swiper.js";const c={name:"CmmsFormElementFile",extends:l,computed:{accept(){const e="attributes"in this.element&&"accept"in this.element.attributes?this.element.attributes.accept:"*/*";return e.constructor===Array?e.join(", "):e}},methods:{update(e){this.$emit("update:modelValue",e.files[0]||null)}}},m=window.Vue.resolveComponent,i=window.Vue.createVNode,a=window.Vue.createElementVNode,d=window.Vue.openBlock,p=window.Vue.createElementBlock,u=["id","required","disabled","accept"];function _(e,t,f,w,V,n){const o=m("CmmsFormLabel");return d(),p("p",null,[i(o,{element:e.element},null,8,["element"]),a("input",{type:"file",class:"theme__input",id:e.element.id,required:e.element.required,disabled:e.disabled,accept:n.accept,onInput:t[0]||(t[0]=r=>n.update(r.target))},null,40,u)])}const F=s(c,[["render",_]]);export{F 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.