{"version":3,"sources":["webpack:///./src/components/box/system/attachment/index.js","webpack:///./src/components/box/system/attachment/boxAttachment.vue","webpack:///src/components/box/system/attachment/boxAttachment.vue","webpack:///./src/components/box/system/attachment/boxAttachment.vue?1bb9","webpack:///./src/components/box/system/attachment/boxAttachment.vue?35ce"],"names":["boxAttachment","render","_vm","this","_c","_self","staticClass","staticStyle","boxSetting","hideToolbar","_e","_v","_s","box","nm","attachmentsCount","attrs","pager","perPage","on","pageChanged","model","value","current","callback","$$v","$set","expression","id","$event","fileUploaded","slot","showFinder","_m","style","concat","listSetting","height","_l","attachments","f","i","key","activeFileId","mediaDropdown","unLinkPrompt","onSetting","$emit","busy","scopedSlots","_u","fn","processing","ref","unLink","proxy","mediaFinder","show","fileAttached","fileSetting","boxId","staticRenderFns","components","simpleUploader","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","fileItem","fileSettings","props","parentTask","type","Object","default","prms","detailSettingProp","data","hideAddButton","hideEmptyTemplate","hideFooter","disableDetail","processingId","obj","mounted","require","undefined","_bxs","init","methods","e","_this","request","params","size","page","api","method","url","store","$store","then","res","count","map","ext","_this2","attachmentId","_this3","toString","addItem"],"mappings":"mIAAA,uBACeA,2B,kECDf,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,uBAAuBC,YAAY,CAAC,IAAM,IAAI,OAAS,IAAI,SAAW,YAAY,CAAGL,EAAIM,WAAWC,YAAu4CP,EAAIQ,KAA93CN,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACF,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,MAAM,GAAG,CAACF,EAAIS,GAAGT,EAAIU,GAAGV,EAAIW,IAAIC,OAAOV,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAAEJ,EAAIa,iBAAmB,EAAGX,EAAG,eAAe,CAACE,YAAY,UAAUC,YAAY,CAAC,gBAAgB,KAAKS,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kD,EAAAjE,GAAA,KAAAe,aAAAkD,EAAAjE,GACA,KAAAe,aAAA,GAEAG,UAAA,SAAA+C,GACA,KAAAlC,YAAAC,MAAA,KAAA/C,IAAAe,GACA,KAAA+B,YAAA/B,GAAAiE,EAAAjE,GACA,KAAA+B,YAAA2B,IAAAO,KC1amY,I,YCO/X7B,EAAY,eACd,EACA/D,EACA4D,GACA,EACA,KACA,KACA,MAIa,aAAAG,E","file":"js/chunk-2b76f103.e115ec7b.js","sourcesContent":["import boxAttachment from \"./boxAttachment.vue\";\nexport default boxAttachment;\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"filemgr-content-body\",staticStyle:{\"top\":\"0\",\"bottom\":\"0\",\"position\":\"inherit\"}},[(!_vm.boxSetting.hideToolbar)?_c('div',{staticClass:\"detail-content-header\"},[_c('nav',{staticClass:\"navbar wd-100p pd-0\"},[_c('div',{},[_vm._v(_vm._s(_vm.box.nm))]),_c('div',{staticClass:\"mg-l-auto d-flex\"},[(_vm.attachmentsCount > 0)?_c('b-pagination',{staticClass:\"mg-r-20\",staticStyle:{\"margin-bottom\":\"0\"},attrs:{\"size\":\"sm\",\"align\":\"center\",\"total-rows\":_vm.attachmentsCount,\"per-page\":_vm.pager.perPage},on:{\"change\":_vm.pageChanged},model:{value:(_vm.pager.current),callback:function ($$v) {_vm.$set(_vm.pager, \"current\", $$v)},expression:\"pager.current\"}}):_vm._e(),_c('div',{staticClass:\"dropdown dropleft\"},[_c('button',{staticClass:\"btn btn-xs btn-success btn-uppercase dropdown-toggle\",attrs:{\"id\":\"dropdownMenuAttach\",\"data-toggle\":\"dropdown\"}},[_c('feather',{attrs:{\"type\":\"plus-square\"}}),_vm._v(\" Файл хуулах \")],1),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuAttach\"}},[_c('simple-uploader',{staticClass:\"wd-100p\",attrs:{\"boxId\":_vm.box.id,\"propObjectId\":6,\"propObjectTypeId\":6},on:{\"on-success\":function($event){return _vm.fileUploaded($event)}}},[_c('div',{staticClass:\"wd-100p\",attrs:{\"slot\":\"trigger\"},slot:\"trigger\"},[_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"}},[_vm._v(\"Компютероос хуулах\")])])]),_c('a',{staticClass:\"dropdown-item\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.showFinder()}}},[_vm._v(\"Динамик драйваас сонгох\")])],1)])],1)])]):_vm._e(),(_vm.attachmentsCount == 0)?_c('div',{staticClass:\"container d-flex justify-content-center ht-100p\"},[_vm._m(0)]):_c('div',{staticClass:\"pd-x-10\",style:(`height: ${_vm.boxSetting.listSetting.height=='auto'?'auto':'calc(100vh - 180px)'}`)},[_c('div',{staticClass:\"row row-xs\"},_vm._l((_vm.attachments),function(f,i){return _c('file-item',{key:i,attrs:{\"boxId\":_vm.box.id,\"activeId\":_vm.activeFileId,\"role\":\"button\",\"obj\":f},on:{\"on-dropdown\":_vm.mediaDropdown,\"un-link\":_vm.unLinkPrompt,\"on-setting\":_vm.onSetting,\"update:activeId\":function($event){_vm.activeFileId=$event},\"update:active-id\":function($event){_vm.activeFileId=$event},\"on-attach\":function($event){return _vm.$emit('on-attach', $event)}}})}),1),_c('b-overlay',{attrs:{\"show\":_vm.busy,\"no-wrap\":\"\"},scopedSlots:_vm._u([{key:\"overlay\",fn:function(){return [(_vm.processing)?_c('div',{staticClass:\"text-center p-4 bg-secondary text-light rounded\"},[_c('b-icon',{attrs:{\"icon\":\"info\",\"font-scale\":\"4\"}}),_c('div',{staticClass:\"mb-3\"},[_vm._v(\"Түр хүлээнэ үү...\")]),_c('b-progress',{staticClass:\"mx-n4 rounded-0\",attrs:{\"min\":\"1\",\"max\":\"20\",\"value\":18,\"variant\":\"warning\",\"height\":\"5px\"}})],1):_c('div',{ref:\"dialog\",staticClass:\"text-center p-3\",attrs:{\"tabindex\":\"-1\",\"role\":\"dialog\",\"aria-modal\":\"false\",\"aria-labelledby\":\"form-confirm-label\"}},[_c('p',[_c('strong',{attrs:{\"id\":\"form-confirm-label\"}},[_vm._v(\"Итгэлтэй байна уу?\")])]),_c('div',{staticClass:\"d-flex\"},[_c('b-button',{staticClass:\"mr-3\",attrs:{\"variant\":\"outline-danger\"},on:{\"click\":function($event){_vm.busy = false}}},[_vm._v(\" Үгүй \")]),_c('b-button',{attrs:{\"variant\":\"outline-success\"},on:{\"click\":function($event){return _vm.unLink()}}},[_vm._v(\"Тийм\")])],1)])]},proxy:true}])})],1),(_vm.mediaFinder.show > 0)?_c('media-finder',{on:{\"on-attach\":_vm.fileAttached,\"on-task-close\":function($event){_vm.mediaFinder.show = 0}}}):_vm._e(),_c('file-settings',{attrs:{\"id\":_vm.fileSetting.id,\"boxId\":_vm.fileSetting.boxId},on:{\"on-close\":function($event){_vm.activeFileId = 0;\n _vm.fileSetting.id = null;}}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"mx-wd-300 wd-sm-450 d-flex flex-column align-items-center justify-content-center pd-t-100\",staticStyle:{\"height\":\"calc(100vh - 220px)\"}},[_c('div',{staticClass:\"wd-80p wd-sm-300 mg-b-15\"},[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":\"assets/svg/folder.svg\",\"alt\":\"\"}})]),_c('p',{staticClass:\"tx-color-03 mg-b-30 tx-center\"},[_vm._v(\"Файл хуулаагүй байна.\")])])\n}]\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n {{ box.nm }}\n \n 0\"\n class=\"mg-r-20\"\n size=\"sm\"\n align=\"center\"\n v-model=\"pager.current\"\n :total-rows=\"attachmentsCount\"\n :per-page=\"pager.perPage\"\n @change=\"pageChanged\"\n style=\"margin-bottom: 0\"\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 \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 0\"\n @on-attach=\"fileAttached\"\n @on-task-close=\"mediaFinder.show = 0\"\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!./boxAttachment.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!./boxAttachment.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./boxAttachment.vue?vue&type=template&id=7dc5dc16\"\nimport script from \"./boxAttachment.vue?vue&type=script&lang=js\"\nexport * from \"./boxAttachment.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":""}
Файл хуулаагүй байна.
Итгэлтэй байна уу?