{"version":3,"sources":["webpack:///./src/components/modules/media/preview.vue","webpack:///src/components/modules/media/preview.vue","webpack:///./src/components/modules/media/preview.vue?84b4","webpack:///./src/components/modules/media/preview.vue?2529"],"names":["render","_vm","this","_c","_self","style","concat","zindex","attrs","swd","on","visibleChanged","model","value","showSidebar","callback","$$v","expression","ready","staticClass","staticStyle","_v","_s","fileInf","title","hasOneOf","$store","state","user","access","canEdit","docExt","$event","editDoc","_e","makeTemplate","shareToMessenger","downloadFile","changeFilePublic","isPublic","showMention","showPermission","key","loaderKey","id","prms","undefined","avator","fullName","_f","date","shareToMessengerModal","show","$set","modalTemplate","scopedSlots","_u","fn","modalTemplateTitleTemp","savedoctheme","proxy","directives","name","rawName","modalTemplateTitle","domProps","target","composing","ref","projectEdit","projectMention","module","fileUsersLdeHhh","staticRenderFns","components","loader","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","mentionUsers","fileUsers","props","type","String","default","Number","Boolean","data","objectId","objectTypeId","modalTemplateID","redner","mode","mounted","fileDetail","methods","_objectSpread","mapActions","tarr","arr","hasPermission","perrArr","_this","length","request","api","method","url","fileId","store","then","res","$bvToast","toast","autoHideDelay","appendToast","variant","_h","screen","availHeight","_w","availWidth","window","open","_this2","filePreData","params","getFileMode","file","extension","filePreviewDetail","_this3","toaster","userInfo","groupId","link","Math","floor","random","e","$emit","$refs","fleUsrs","init","computed","courseid","watch","val"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,YAAY,CAACE,MAAK,GAAAC,OAAiB,IAAZL,EAAIM,OAAY,WAAWN,EAAIM,OAAO,cAAc,IAAMC,MAAM,CAAC,OAAS,GAAG,MAAQ,GAAG,SAAW,GAAG,MAAQP,EAAIQ,IAAI,YAAY,IAAIC,GAAG,CAAC,OAAST,EAAIU,gBAAgBC,MAAM,CAACC,MAAOZ,EAAIa,YAAaC,SAAS,SAAUC,GAAMf,EAAIa,Y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,WACA,KAAA8B,eAAAlB,MAAA,GAEAoB,gBAAA,WAEA,KAAAyE,MAAAC,QAAAC,UAGAC,SAAA,CACAC,SAAA,WACA,YAAAjG,OAGAkG,MAAA,CACAD,SAAA,SAAAE,GACAA,GACA,KAAArD,gBC5f8W,I,YCO1WtB,EAAY,eACd,EACA5E,EACAyE,GACA,EACA,KACA,KACA,MAIa,aAAAG,E","file":"js/chunk-2d0dd7a5.4b8d4ef9.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-sidebar',{style:(`${_vm.zindex!='' ?'z-index:'+_vm.zindex+' !important':''}`),attrs:{\"shadow\":\"\",\"right\":\"\",\"backdrop\":\"\",\"width\":_vm.swd,\"no-header\":\"\"},on:{\"change\":_vm.visibleChanged},model:{value:(_vm.showSidebar),callback:function ($$v) {_vm.showSidebar=$$v},expression:\"showSidebar\"}},[(_vm.ready)?_c('div',{staticClass:\"content-header bd-b pd-0\"},[_c('nav',{staticClass:\"navbar navbar-expand-lg wd-100p\",staticStyle:{\"height\":\"59px\"}},[_c('div',{staticClass:\"dropdown\"},[_c('a',{staticClass:\"order-1 navbar-brand tx-bold tx-spacing--2\",staticStyle:{\"max-width\":\"500px\",\"overflow\":\"hidden\",\"text-overflow\":\"ellipsis\"},attrs:{\"href\":\"javascript:void(0)\",\"data-toggle\":\"dropdown\"}},[_c('a',{staticClass:\"text-white rounded-sm btn- btn-info btn-uppercase pd-x-15 pd-t-10 pd-b-8 mg-r-10\"},[_c('feather',{attrs:{\"type\":\"menu\"}}),_vm._v(\"цэс \")],1),_vm._v(\" \"+_vm._s(_vm.fileInf.title)+\" \"),_c('feather',{attrs:{\"type\":\"chevron-down\"}})],1),_c('div',{staticClass:\"dropdown-menu tx-13\"},[(\n _vm.hasOneOf(['doceditor'], _vm.$store.state.user.access) &&\n _vm.fileInf.canEdit &&\n _vm.docExt == 'document'\n )?_c('a',{staticClass:\"dropdown-item\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.editDoc()}}},[_vm._v(\"Засах\")]):_vm._e(),(\n _vm.hasOneOf(['doceditor'], _vm.$store.state.user.access) &&\n _vm.fileInf.canEdit &&\n _vm.docExt == 'document'\n )?_c('a',{staticClass:\"dropdown-item\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.makeTemplate()}}},[_vm._v(\"Загвар болгох\")]):_vm._e(),(_vm.hasOneOf(['messenger'], _vm.$store.state.user.access))?_c('a',{staticClass:\"dropdown-item\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.shareToMessenger()}}},[_vm._v(\"Мессенжерт хавсралт болгож илгээх\")]):_vm._e(),_c('a',{staticClass:\"dropdown-item\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.downloadFile()}}},[_vm._v(\"Хавсралт файлыг татах\")]),_c('a',{staticClass:\"dropdown-item\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.changeFilePublic()}}},[_vm._v(\"Төлөв солих (\"+_vm._s(_vm.fileInf.isPublic ? \"нээлттэй\" : \"цоожтой\")+\")\")]),_c('li',[_c('hr',{staticClass:\"dropdown-divider\"})]),_c('a',{staticClass:\"dropdown-item\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.showMention()}}},[_vm._v(\"Хуваалцах\")]),_c('a',{staticClass:\"dropdown-item\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.showPermission()}}},[_vm._v(\"Тохиргоо\")])])]),_c('button',{staticClass:\"order-2 navbar-toggler\",attrs:{\"type\":\"button\",\"data-toggle\":\"collapse\",\"data-target\":\"#navbarSupportedContent\",\"aria-controls\":\"navbarSupportedContent\",\"aria-expanded\":\"false\",\"aria-label\":\"Toggle navigation\"}},[_c('feather',{attrs:{\"type\":\"menu\"}})],1),_c('div',{staticClass:\"order-2 collapse navbar-collapse\",attrs:{\"id\":\"navbarSupportedContent\"}},[_c('div',{staticClass:\"pa-0 ma-0 mg-l-50\",attrs:{\"fixed\":\"\",\"grow\":\"\",\"dense\":\"\"}}),_c('button',{staticClass:\"btn btn-sm pd-x-15 btn-uppercase mg-l-auto btn-danger\",on:{\"click\":function($event){return _vm.visibleChanged(false)}}},[_c('feather',{staticClass:\"mg-r-5\",attrs:{\"type\":\"x\"}}),_vm._v(\"Хаах \")],1)])])]):_vm._e(),_c('div',{staticClass:\"bg-white\",staticStyle:{\"height\":\"calc(100vh - 115px)\"}},[(_vm.docExt != '')?_c('loader',{key:_vm.loaderKey,attrs:{\"otCompName\":_vm.docExt,\"propFileId\":_vm.id,\"prms\":_vm.prms}}):_vm._e()],1),(_vm.ready)?_c('div',{staticClass:\"bg-gray-200 d-flex align-items-center bd-t pd-x-20 ht-55\"},[_c('div',{staticClass:\"d-flex justify-content-between wd-100p\"},[_c('div',{staticClass:\"d-flex align-items-center\"},[_vm._v(\" №: \"+_vm._s(_vm.fileInf.id)+\" \"),(_vm.fileInf.isPublic)?_c('button',{staticClass:\"btn btn-xs btn-outline-success mg-l-10\",on:{\"click\":function($event){return _vm.downloadFile()}}},[_c('feather',{staticClass:\"mg-r-5\",attrs:{\"type\":\"download\"}}),_vm._v(\"татах \")],1):_vm._e()]),(_vm.fileInf.user != undefined || _vm.fileInf.user != null)?_c('div',{staticClass:\"d-flex align-items-center\"},[_c('img',{staticClass:\"wd-30 rounded-circle mg-r-15\",attrs:{\"src\":_vm.fileInf.user.avator,\"alt\":\"\"}}),_c('div',[_c('h6',{staticClass:\"tx-13 tx-inverse tx-semibold mg-b-0\"},[_vm._v(\" \"+_vm._s(_vm.fileInf.user.fullName)+\" \")]),_c('span',{staticClass:\"d-block tx-11 text-muted\"})])]):_vm._e(),_c('div',{staticClass:\"d-flex align-items-center\"},[_c('div',{staticClass:\"text-muted mg-r-10\"},[_vm._v(\"Бүртгэсэн:\")]),_c('div',{staticClass:\"text-right\"},[_c('h6',{staticClass:\"tx-13 tx-inverse tx-semibold mg-b-0\"},[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(_vm.fileInf.date,\"dddd, HH:mm\"))+\" \")]),_c('span',{staticClass:\"d-block tx-11 text-muted\"},[_vm._v(_vm._s(_vm._f(\"moment\")(_vm.fileInf.date,\"YYYY.MM.DD\")))])])])]),_c('share-to-messenger',{key:_vm.shareToMessengerModal.key,attrs:{\"isShow\":_vm.shareToMessengerModal.show,\"prms\":_vm.shareToMessengerModal.prms},on:{\"on-hide\":function($event){_vm.shareToMessengerModal.show = false},\"update:isShow\":function($event){return _vm.$set(_vm.shareToMessengerModal, \"show\", $event)},\"update:is-show\":function($event){return _vm.$set(_vm.shareToMessengerModal, \"show\", $event)},\"update:prms\":function($event){return _vm.$set(_vm.shareToMessengerModal, \"prms\", $event)}}}),_c('b-modal',{attrs:{\"title\":\"Загварын нэр оруулна уу\",\"scrollable\":\"\",\"no-fade\":\"\",\"centered\":\"\",\"size\":\"xs\"},on:{\"hide\":function($event){_vm.modalTemplate = false}},scopedSlots:_vm._u([{key:\"modal-footer\",fn:function(){return [_c('div',{staticClass:\"p-t-xs\",staticStyle:{\"color\":\"#999\",\"float\":\"left\"}},[_vm._v(\" Файл : \"+_vm._s(_vm.modalTemplateTitleTemp)+\" \")]),_c('div',{staticClass:\"btn-group\",attrs:{\"role\":\"group\",\"aria-label\":\"үйлдэл\"}},[_c('button',{staticClass:\"btn btn-light\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.modalTemplate = false}}},[_vm._v(\" Болих \")]),_c('button',{staticClass:\"btn btn-success\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.savedoctheme()}}},[_vm._v(\" Хадгалах \")])])]},proxy:true}],null,false,2352925226),model:{value:(_vm.modalTemplate),callback:function ($$v) {_vm.modalTemplate=$$v},expression:\"modalTemplate\"}},[_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"d-block\",attrs:{\"for\":\"modalTemplateTitle\"}},[_vm._v(\"Загварын нэр\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.modalTemplateTitle),expression:\"modalTemplateTitle\"}],staticClass:\"form-control\",attrs:{\"placeholder\":\"Загварын нэр...\"},domProps:{\"value\":(_vm.modalTemplateTitle)},on:{\"input\":function($event){if($event.target.composing)return;_vm.modalTemplateTitle=$event.target.value}}})])])])],1):_vm._e(),_c('file-users',{ref:\"fleUsrs\",attrs:{\"show\":_vm.projectEdit.show,\"obj\":_vm.fileInf,\"module\":\"file\"},on:{\"update:obj\":function($event){_vm.fileInf=$event},\"on-edit-close\":function($event){_vm.projectEdit.show = false},\"on-share\":_vm.showMention}}),_c('mention-users',{attrs:{\"show\":_vm.projectMention.show,\"obj\":_vm.fileInf,\"module\":_vm.projectMention.module},on:{\"update:obj\":function($event){_vm.fileInf=$event},\"on-force\":_vm.fileUsersLdeHhh,\"on-mention-close\":function($event){_vm.projectMention.show = false}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n цэс\n \n {{ fileInf.title }}\n \n \n \n \n\n Засах\n Загвар болгох\n Мессенжерт хавсралт болгож илгээх\n Хавсралт файлыг татах\n\n Төлөв солих ({{ fileInf.isPublic ? \"нээлттэй\" : \"цоожтой\" }})\n \n \n \n Хуваалцах\n Тохиргоо\n \n \n \n \n \n \n \n \n Хаах\n \n \n \n \n\n \n \n \n \n \n \n \n №: {{ fileInf.id }}\n \n татах\n \n \n \n \n \n \n {{ fileInf.user.fullName }}\n \n \n \n \n \n \n Бүртгэсэн:\n \n \n {{ fileInf.date | moment(\"dddd, HH:mm\") }}\n \n {{\n fileInf.date | moment(\"YYYY.MM.DD\")\n }}\n \n \n \n \n \n \n \n Загварын нэр\n \n \n \n \n \n \n Файл : {{ modalTemplateTitleTemp }}\n \n \n \n Болих\n \n \n Хадгалах\n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./preview.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./preview.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./preview.vue?vue&type=template&id=dfe3fba6\"\nimport script from \"./preview.vue?vue&type=script&lang=js\"\nexport * from \"./preview.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}