{"version":3,"sources":["webpack:///./src/views/admin/ImageCroper/Image.vue","webpack:///src/views/admin/ImageCroper/Image.vue","webpack:///./src/views/admin/ImageCroper/Image.vue?6238","webpack:///./src/views/admin/ImageCroper/Image.vue?24f3","webpack:///./src/views/admin/ImageCroper/Image.vue?7bd3"],"names":["render","_vm","this","_c","_self","staticClass","attrs","mData","fileUploadOption","Anh","limit","accept","fn_uploadChangeAlbumAnh","dialogVisible","on","$event","model","value","myCroppa","callback","$$v","expression","imageSrc","slot","_v","uploadCroppedImage","staticRenderFns","name","data","imgURL","ExtensionService","urlImg","dialogImageUrl","fileList","methods","a","generateDataUrl","console","log","file","_this","fileName","upload","then","res","result","catch","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,YAAY,CAACG,MAAM,CAAC,OAAS,GAAG,eAAc,EAAM,kBAAiB,EAAM,YAAY,eAAe,MAAQL,EAAIM,MAAMC,iBAAiBC,IAAIC,MAAM,OAAST,EAAIM,MAAMC,iBAAiBC,IAAIE,OAAO,YAAYV,EAAIW,0BAA0B,CAACT,EAAG,IAAI,CAACE,YAAY,mBAAmBF,EAAG,YAAY,CAACE,YAAY,iBAAiBC,MAAM,CAAC,MAAQ,OAAO,QAAUL,EAAIY,eAAeC,GAAG,CAAC,iBAAiB,SAASC,GAAQd,EAAIY,cAAcE,KAAU,CAACZ,EAAG,MAAM,CAACA,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,IAAI,OAAS,IAAI,YAAc,kBAAkB,wBAAwB,EAAE,UAAW,EAAM,uBAAsB,EAAK,sBAAqB,GAAOU,MAAM,CAACC,MAAOhB,EAAIiB,SAAUC,SAAS,SAAUC,GAAMnB,EAAIiB,SAASE,GAAKC,WAAW,aAAa,CAAClB,EAAG,MAAM,CAACG,MAAM,CAAC,KAAO,UAAU,YAAc,YAAY,IAAML,EAAIqB,UAAUC,KAAK,YAAYpB,EAAG,IAAI,CAACF,EAAIuB,GAAG,yCAAyC,GAAGrB,EAAG,OAAO,CAACE,YAAY,gBAAgBC,MAAM,CAAC,KAAO,UAAUiB,KAAK,UAAU,CAACpB,EAAG,YAAY,CAACW,GAAG,CAAC,MAAQ,SAASC,GAAQd,EAAIY,eAAgB,KAAS,CAACZ,EAAIuB,GAAG,YAAYrB,EAAG,YAAY,CAACG,MAAM,CAAC,KAAO,WAAWQ,GAAG,CAAC,MAAQb,EAAIwB,qBAAqB,CAACxB,EAAIuB,GAAG,WAAW,MAAM,QAE/yCE,EAAkB,G,wBCiDP,G,UAAA,CACfC,KAAA,QACAC,KAAA,WACA,OACAC,OAAAC,OAAAC,OACAT,SAAA,GACAJ,SAAA,GACAL,eAAA,EACAN,MAAA,CACAC,iBAAA,CACAC,IAAA,CACAC,MAAA,KACAC,OAAA,sCACAqB,eAAA,GACAnB,eAAA,EACAoB,SAAA,QAMAC,QAAA,CACAT,mBAAA,WACA,IAAAU,EAAA,KAAAjB,SAAAkB,gBAAA,cACAC,QAAAC,IAAA,uBAAAH,IAEAvB,wBAAA,SAAA2B,GAAA,IAAAC,EAAA,KACAC,EAAAF,EAAAZ,KACAG,OAAAY,OAAAH,EAAA,YACAI,MAAA,SAAAC,GACAJ,EAAAlB,SAAAkB,EAAAX,OAAAe,EAAAC,OACAR,QAAAC,IAAA,gBAAAG,GACAD,EAAA3B,eAAA,KAEAiC,OAAA,iBAGAC,QAAA,WACAV,QAAAC,IAAA,KAAApB,aCzF6W,I,wBCQzW8B,EAAY,eACd,EACAhD,EACA0B,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E,2CCnBf,W","file":"js/chunk-0163ea26.ab5af588.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"animated fadeIn\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('el-upload',{attrs:{\"action\":\"\",\"auto-upload\":false,\"show-file-list\":false,\"list-type\":\"picture-card\",\"limit\":_vm.mData.fileUploadOption.Anh.limit,\"accept\":_vm.mData.fileUploadOption.Anh.accept,\"on-change\":_vm.fn_uploadChangeAlbumAnh}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('el-dialog',{staticClass:\"cropper-dialog\",attrs:{\"title\":\"Tips\",\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('div',[_c('croppa',{attrs:{\"width\":400,\"height\":500,\"placeholder\":\"Choose an image\",\"placeholder-font-size\":0,\"disabled\":false,\"prevent-white-space\":true,\"show-remove-button\":false},model:{value:(_vm.myCroppa),callback:function ($$v) {_vm.myCroppa=$$v},expression:\"myCroppa\"}},[_c('img',{attrs:{\"slot\":\"initial\",\"crossOrigin\":\"anonymous\",\"src\":_vm.imageSrc},slot:\"initial\"}),_c('p',[_vm._v(\"Kéo ảnh vừa với khung để tải lên\")])])],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"Cancel\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.uploadCroppedImage}},[_vm._v(\"Save\")])],1)])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Kéo ảnh vừa với khung để tải lên\r\n \r\n \r\n \r\n Cancel\r\n Save\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\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!./Image.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!./Image.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Image.vue?vue&type=template&id=6de8818f&scoped=true&\"\nimport script from \"./Image.vue?vue&type=script&lang=js&\"\nexport * from \"./Image.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Image.vue?vue&type=style&index=0&id=6de8818f&prod&scoped=true&lang=css&\"\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 \"6de8818f\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Image.vue?vue&type=style&index=0&id=6de8818f&prod&scoped=true&lang=css&\""],"sourceRoot":""}
Kéo ảnh vừa với khung để tải lên