1 |
- {"version":3,"sources":["webpack:///./node_modules/vue-core-image-upload/dist/resize-bar.vue?727d","webpack:///./node_modules/vue-core-image-upload/dist/props.js","webpack:///./node_modules/vue-core-image-upload/dist/lib/helper.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js","webpack:///./node_modules/vue-core-image-upload/dist/lib/loading-gif.js","webpack:///./node_modules/vue-core-image-upload/dist/rotate-bar.vue?69f6","webpack:///./node_modules/@babel/runtime-corejs2/core-js/symbol.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js","webpack:///./node_modules/vue-core-image-upload/dist/lib/resize.js","webpack:///./node_modules/daycaca/dist/index.js","webpack:///./node_modules/vue-core-image-upload/dist/lib/drag.js","webpack:///./node_modules/core-image-xhr/index.js","webpack:///./node_modules/vue-core-image-upload/dist/style/style.css?6aaf","webpack:///./node_modules/vue-core-image-upload/dist/style/crop.css?4260","webpack:///./node_modules/vue-core-image-upload/dist/vue-core-image-upload.vue?8dc9","webpack:///./node_modules/vue-core-image-upload/dist/crop.vue?b67e","webpack:///./node_modules/vue-core-image-upload/dist/resize-bar.vue?da8d","webpack:///node_modules/vue-core-image-upload/dist/resize-bar.vue","webpack:///./node_modules/vue-core-image-upload/dist/resize-bar.vue?7511","webpack:///./node_modules/vue-core-image-upload/dist/resize-bar.vue","webpack:///./node_modules/vue-core-image-upload/dist/rotate-bar.vue?5df3","webpack:///node_modules/vue-core-image-upload/dist/rotate-bar.vue","webpack:///./node_modules/vue-core-image-upload/dist/rotate-bar.vue?2e87","webpack:///./node_modules/vue-core-image-upload/dist/rotate-bar.vue","webpack:///node_modules/vue-core-image-upload/dist/crop.vue","webpack:///./node_modules/vue-core-image-upload/dist/crop.vue?62b1","webpack:///./node_modules/vue-core-image-upload/dist/crop.vue","webpack:///node_modules/vue-core-image-upload/dist/vue-core-image-upload.vue","webpack:///./node_modules/vue-core-image-upload/dist/vue-core-image-upload.vue?91e9","webpack:///./node_modules/vue-core-image-upload/dist/vue-core-image-upload.vue"],"names":["_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_index_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_resize_bar_vue_vue_type_style_index_0_id_5069e800_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_index_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_resize_bar_vue_vue_type_style_index_0_id_5069e800_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","root","factory","module","exports","this","modules","installedModules","moduleId","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","__esModule","object","property","prototype","hasOwnProperty","p","s","23","default","url","type","String","text","extensions","inputOfFile","crop","Boolean","cropBtn","ok","cancel","cropRatio","resize","rotate","ResizeBtn","maxFileSize","Number","maxWidth","maxHeight","fixedWidth","fixedHeight","inputAccept","isXhr","headers","data","multiple","multipleSize","minWidth","compress","credentials","isMobile","test","navigator","userAgent","setCssText","obj","cssArr","keys","forEach","key","val","push","join","isFunction","fn","14","GIF_LOADING_SRC","_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_index_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_rotate_bar_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_index_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_rotate_bar_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","__webpack_exports__","_typeof","_core_js_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__","_core_js_symbol_iterator__WEBPACK_IMPORTED_MODULE_0___default","_core_js_symbol__WEBPACK_IMPORTED_MODULE_1__","_core_js_symbol__WEBPACK_IMPORTED_MODULE_1___default","_typeof2","a","constructor","0","22","_helper","_helper2","_interopRequireDefault","W","document","body","offsetWidth","e","el","container","coor","ratio","H","offsetHeight","ratioRemainder","dotBoxW","parseFloat","window","getComputedStyle","width","dotBoxH","height","$topH","querySelector","halfX","topH","halfY","resetX","changedTouches","clientX","resetY","clientY","elOffsetWidth","elOffsetHeight","CSSObj","w","x","h","y","style","self","Symbol","iterator","_extends","assign","target","arguments","length","source","isNumber","num","imageReg","defaultConfig","enableWebWorker","setConfig","config","_config","init","src","callback","_this","scrTypes","split","srcType","image","_createImage","replace","onload","cvs","_getCanvas","naturalWidth","naturalHeight","ctx","getContext","drawImage","newImageData","toDataURL","base64","_getSrc","_readFile","video","videoWidth","videoHeight","quality","_this2","_getSrc2","_compress","_this3","_loadImage","mimeType","_getImageType","options","_this4","_getSrc3","_crop","_this5","_this6","_getSrc4","_resize","_this7","isNeedCrop","ow","oh","aspect","Math","floor","degree","_this8","_getSrc5","_rotate","_this9","clearRect","fillStyle","fillRect","translate","PI","file","reader","FileReader","event","result","readAsDataURL","canvas","createElement","Image","crossOrigin","_isImageElement","imgSrc","Error","_isVideoElement","_isFileObject","size","tagName","_getSrc6","fileType","outputType","match","arr","exec","13","drag","currentX","currentY","left","top","minLeft","maxLeft","minTop","maxTop","undefined","XMLHttpRequest","sendAsBinary","string","bytes","Array","map","charCodeAt","send","Uint8Array","buffer","method","err","isBinary","withCredentials","r","error","console","boundary","binary","toUpperCase","json","response","JSON","parse","responseText","_e","status","statusText","headersToJSON","getAllResponseHeaders","statusCode","onerror","keyData","code","base64Code","filed","filename","atob","keyArr","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","next","done","k","indexOf","stringify","encodeURI","return","open","responseType","overrideMimeType","setRequestHeader","reg","_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_index_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_style_css_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_index_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_style_css_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_index_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_crop_css_vue_type_style_index_0_id_3422c8a2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_index_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_crop_css_vue_type_style_index_0_id_3422c8a2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","render","_vm","_h","$createElement","_c","_self","staticClass","_t","_v","_s","directives","rawName","hasImage","expression","attrs","enctype","action","disabled","uploading","accept","on","change","dragover","dragenter","dragleave","dragend","drop","ref","is-resize","is-rotate","staticStyle","display","click","doRotate","doReverseRotate","doCrop","doResize","staticRenderFns","cropvue_type_template_id_3422c8a2_scoped_true_render","touchstart",":mousedown","backgroundImage","cursor","isResize","cropCSS","bottom","right","$event","currentTarget","mousedown","resizeImage","rotateImage","cropvue_type_template_id_3422c8a2_scoped_true_staticRenderFns","resize_barvue_type_template_id_5069e800_scoped_true_render","resize_barvue_type_template_id_5069e800_scoped_true_staticRenderFns","resize_barvue_type_script_lang_js_","props","minProgress","progress","methods","setProgress","preventDefault","stopPropagation","$el","$container","parentElement","helper_default","touches","offsetLeft","offsetTop","parseInt","move","ev","newCoor","drag_default","$emit","stopMove","removeEventListener","addEventListener","dist_resize_barvue_type_script_lang_js_","component","componentNormalizer","resize_bar","rotate_barvue_type_template_id_e5a3b406_render","href","rotateLeft","viewBox","fill","rotateRight","rotate_barvue_type_template_id_e5a3b406_staticRenderFns","rotate_barvue_type_script_lang_js_","rotateDegree","dist_rotate_barvue_type_script_lang_js_","rotate_bar_component","rotate_bar","CROPBOX_PERCENT","areaWidth","innerWidth","areaHeight","innerHeight","cropvue_type_script_lang_js_","components","ResizeBar","RotateBar","minHeight","isRotate","loading_gif_default","initWidth","initHeight","setImage","originSrc","setOriginalSrc","ratioW","ratioH","ratioVal","natrualWidth","natrualHeight","setLayout","resizeBar","$refs","imgChangeRatio","degress","dist_default","rotate2","marginLeft","marginTop","R","Rs","_setStyle","ml","mt","isInit","cssText","setCropBox","$selectCropBox","__find","imageWidth","imageHeight","cropWidth","baseCropWidth","baseCropHeight","getCropData","getCropImage","str","dq","_$container","maxCoor","_getMaxCropAreaWidth","newCropStyle","resize_default","end","$cropBox","dist_cropvue_type_script_lang_js_","crop_component","overflowVal","vue_core_image_uploadvue_type_script_lang_js_","Crop","props_default","files","computed","__dispatch","res","classList","add","remove","formatSize","fileVal","fileExt","substring","lastIndexOf","extensionsArr","RegExp","toFixed","warn","__showImage","tryAjaxUpload","__readFiles","overflow","__initImage","pic","cropBox","targetImage","__setData","upload","__setUpload","esm_typeof","newCSSObj","_i","_Object$keys","btn","$input","errorUpload","log","FormData","append","core_image_xhr_default","mounted","dist_vue_core_image_uploadvue_type_script_lang_js_","vue_core_image_upload_component"],"mappings":"2IAAA,IAAAA,EAAAC,EAAA,QAAAC,E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AAAJ,KAAAwc,MAAAjU,OAAAnI,IACAgD,EAAAwb,OAAA5e,KAAAW,KAAAX,KAAAwc,MAAApc,IAEA,cAAAU,OAAAqd,EAAA,KAAArd,CAAAd,KAAAoD,MACA,QAAAwO,KAAA5R,KAAAoD,UACAyL,IAAA7O,KAAAoD,KAAAwO,IACAxO,EAAAwb,OAAAhN,EAAA5R,KAAAoD,KAAAwO,IAKAiN,IAAA,OAAA7e,KAAA4B,IAAA5B,KAAAmD,QAAAC,EAAAuO,EAAA8M,EAAA/O,EAAA1P,KAAAyD,eAGAqb,QAxRA,WAyRA9e,KAAAwe,OAAAxe,KAAAib,OAAA,WC/U8R8D,EAAA,ECQ1RC,aAAYle,OAAA6W,EAAA,KAAA7W,CACdie,EACArM,EACAqC,GACF,EACA,KACA,KACA,OAIelQ,EAAA,KAAAma","file":"h5/js/chunk-dd72976e.e84b9553.js","sourcesContent":["import mod from \"-!../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../css-loader/index.js??ref--6-oneOf-1-1!../../vue-loader/lib/loaders/stylePostLoader.js!../../postcss-loader/src/index.js??ref--6-oneOf-1-2!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./resize-bar.vue?vue&type=style&index=0&id=5069e800&scoped=true&lang=css&\"; export default mod; export * from \"-!../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../css-loader/index.js??ref--6-oneOf-1-1!../../vue-loader/lib/loaders/stylePostLoader.js!../../postcss-loader/src/index.js??ref--6-oneOf-1-2!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./resize-bar.vue?vue&type=style&index=0&id=5069e800&scoped=true&lang=css&\"","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 23);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 23:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n url: {\n type: String\n },\n text: {\n type: String,\n default: 'Upload Image'\n },\n extensions: {\n type: String,\n default: 'png,jpg,jpeg,gif,svg,webp'\n },\n inputOfFile: {\n type: String,\n default: 'files'\n },\n crop: {\n type: [String, Boolean],\n default: ''\n },\n cropBtn: {\n type: Object,\n default: function _default() {\n return {\n ok: 'Ok',\n cancel: 'Cancel'\n };\n }\n },\n cropRatio: {\n type: String,\n default: '1:1'\n },\n resize: {\n type: [String, Boolean],\n default: false\n },\n rotate: {\n type: Boolean,\n default: false\n },\n ResizeBtn: {\n type: Object,\n default: function _default() {\n return {\n ok: 'Ok',\n cancel: 'Cancel'\n };\n }\n },\n maxFileSize: {\n type: Number,\n default: 1024 * 1024 * 100\n },\n maxWidth: {\n type: Number\n },\n maxHeight: {\n type: Number\n },\n fixedWidth: {\n type: Number\n },\n fixedHeight: {\n type: Number\n },\n inputAccept: {\n type: String,\n default: 'image/jpg,image/jpeg,image/png,image/gif'\n },\n isXhr: {\n type: Boolean,\n default: true\n },\n headers: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n data: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n multiple: {\n type: Boolean,\n default: false\n },\n multipleSize: {\n type: Number,\n default: 0\n },\n minWidth: {\n type: Number,\n default: 50\n },\n compress: {\n type: [Number, String],\n default: 0\n },\n credentials: {\n type: [String, Boolean],\n default: true\n }\n};\n\n/***/ })\n\n/******/ });\n});","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nmodule.exports = {\n\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),\n\n /**\n * transform object to css text\n */\n setCssText: function setCssText(obj) {\n var cssArr = [];\n Object.keys(obj).forEach(function (key) {\n var val = obj[key];\n if (typeof val === 'number') {\n val = '' + val + 'px';\n }\n cssArr.push(key + ': ' + val + ';');\n });\n return cssArr.join('');\n },\n isFunction: function isFunction(fn) {\n return typeof fn === 'function';\n }\n};\n\n/***/ })\n/******/ ]);\n});","module.exports = require(\"core-js/library/fn/symbol/iterator\");","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 14);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 14:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar GIF_LOADING_SRC = 'data:image/gif;base64,R0lGODlhGAAYAPQAAP///3FxcePj4/v7++3t7dLS0vHx8b+/v+Dg4MfHx+jo6M7Oztvb2/f397Kysru7u9fX16qqqgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kg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CAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==';\n\nexports.default = GIF_LOADING_SRC;\n\n/***/ })\n\n/******/ });\n});","import mod from \"-!../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../css-loader/index.js??ref--6-oneOf-1-1!../../vue-loader/lib/loaders/stylePostLoader.js!../../postcss-loader/src/index.js??ref--6-oneOf-1-2!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./rotate-bar.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../css-loader/index.js??ref--6-oneOf-1-1!../../vue-loader/lib/loaders/stylePostLoader.js!../../postcss-loader/src/index.js??ref--6-oneOf-1-2!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./rotate-bar.vue?vue&type=style&index=0&lang=css&\"","module.exports = require(\"core-js/library/fn/symbol\");","import _Symbol$iterator from \"../../core-js/symbol/iterator\";\nimport _Symbol from \"../../core-js/symbol\";\n\nfunction _typeof2(obj) { if (typeof _Symbol === \"function\" && typeof _Symbol$iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof _Symbol === \"function\" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nexport default function _typeof(obj) {\n if (typeof _Symbol === \"function\" && _typeof2(_Symbol$iterator) === \"symbol\") {\n _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof _Symbol === \"function\" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n }\n\n return _typeof(obj);\n}","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 22);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nmodule.exports = {\n\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),\n\n /**\n * transform object to css text\n */\n setCssText: function setCssText(obj) {\n var cssArr = [];\n Object.keys(obj).forEach(function (key) {\n var val = obj[key];\n if (typeof val === 'number') {\n val = '' + val + 'px';\n }\n cssArr.push(key + ': ' + val + ';');\n });\n return cssArr.join('');\n },\n isFunction: function isFunction(fn) {\n return typeof fn === 'function';\n }\n};\n\n/***/ }),\n\n/***/ 22:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = resize;\n\nvar _helper = __webpack_require__(0);\n\nvar _helper2 = _interopRequireDefault(_helper);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isMobile = _helper2.default.isMobile; /** Reszie an element\n * @el dom\n * @container dom\n * @ratio string '1:1' like this\n * e events\n **/\n\nvar W = document.body.offsetWidth;\n\nfunction resize(e, el, container, coor, ratio) {\n if (!el) {\n return null;\n }\n var H = document.body.offsetHeight;\n var ratioRemainder = 1 / ratio;\n var dotBoxW = parseFloat(window.getComputedStyle(container).width);\n var dotBoxH = parseFloat(window.getComputedStyle(container).height);\n var $topH = document.querySelector('.info-aside');\n var halfX = (W - dotBoxW) / 2;\n var topH = parseFloat(window.getComputedStyle($topH).height);\n var halfY = (H - dotBoxH - topH) / 2;\n var resetX = isMobile ? e.changedTouches[0]['clientX'] : e.clientX;\n var resetY = isMobile ? e.changedTouches[0]['clientY'] : e.clientY;\n var elOffsetWidth = el.offsetWidth;\n var elOffsetHeight = el.offsetHeight;\n var CSSObj = {};\n if (ratio >= 1 && resetX <= halfX + dotBoxW) {\n if (elOffsetWidth >= dotBoxW) {\n CSSObj.width = dotBoxW;\n }\n CSSObj.width = coor.w + resetX - coor.x;\n CSSObj.height = elOffsetWidth * ratioRemainder;\n if (dotBoxW > dotBoxH) {\n if (elOffsetWidth > dotBoxH) {\n CSSObj.height = dotBoxH;\n CSSObj.width = dotBoxH * ratio;\n }\n } else if (dotBoxW < dotBoxH) {\n if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW * ratioRemainder;\n }\n } else if (elOffsetWidth >= dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW * ratioRemainder;\n }\n } else if (ratio < 1 && resetY < halfY + dotBoxH + topH) {\n CSSObj.height = coor.h + resetY - coor.y;\n CSSObj.width = elOffsetHeight * ratio;\n // 限制拖拉的范围在图片内\n if (dotBoxW > dotBoxH) {\n if (elOffsetHeight > dotBoxH) {\n CSSObj.height = dotBoxH;\n CSSObj.width = dotBoxH * ratio;\n }\n } else if (dotBoxW < dotBoxH) {\n if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW * ratioRemainder;\n }\n } else if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW * ratioRemainder;\n }\n } else if (ratio === 'auto' && resetY <= halfY + dotBoxH + topH && resetX <= halfY + dotBoxW) {\n CSSObj.height = coor.h + resetY - coor.y;\n CSSObj.width = coor.w + resetX - coor.x;\n } else if (resetX <= halfX + dotBoxW) {\n CSSObj.width = coor.w + resetX - coor.x;\n CSSObj.height = el.style.width;\n // limit the crop box area\n if (dotBoxW > dotBoxH) {\n if (elOffsetHeight > dotBoxH) {\n CSSObj.height = dotBoxH;\n CSSObj.width = dotBoxH;\n }\n } else if (dotBoxW < dotBoxH) {\n if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW;\n }\n } else if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n el.style.height = dotBoxW;\n }\n }\n return CSSObj;\n};\n\n/***/ })\n\n/******/ });\n});","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"daycaca\"] = factory();\n\telse\n\t\troot[\"daycaca\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\n// a canvas lib to compress or crop images\n\nvar isNumber = function isNumber(num) {\n return typeof num === 'number';\n};\nvar imageReg = /[./](png|jpeg|jpg|gif|bmp)/;\n\nvar defaultConfig = {\n ratio: 1,\n compress: 80,\n enableWebWorker: false\n};\n\nmodule.exports = {\n setConfig: function setConfig(config) {\n this._config = _extends(defaultConfig, config);\n },\n\n\n /**\n * init image for reset size and rotation\n */\n init: function init(src, callback) {\n var _this = this;\n\n var scrTypes = src.split(';');\n var srcType = null;\n var image = this._createImage(src);\n if (scrTypes.length > 1) {\n srcType = scrTypes[0].replace('data:', '');\n }\n image.onload = function () {\n var cvs = _this._getCanvas(image.naturalWidth, image.naturalHeight);\n var ctx = cvs.getContext('2d');\n ctx.drawImage(image, 0, 0);\n var newImageData = cvs.toDataURL(srcType);\n callback(newImageData);\n };\n },\n\n\n /**\n * encode image to base64\n * @param {Element|String} el\n * @param {Function} callback\n */\n base64: function base64(el, callback) {\n var _getSrc = this._getSrc(el),\n src = _getSrc.src,\n type = _getSrc.type;\n\n if (type === 'file') {\n return this._readFile(src, callback);\n } else if (type === 'video') {\n var video = el;\n var cvs = this._getCanvas(video.videoWidth, video.videoHeight);\n var ctx = cvs.getContext('2d');\n ctx.drawImage(video, 0, 0);\n var newImageData = cvs.toDataURL();\n callback(newImageData, cvs);\n }\n return this.init(src, callback);\n },\n\n\n /**\n * compress image\n * @param {el|String} src the source of image\n * @param {Number} the quality of image ( 100 = the highest quality)\n * @param {Function} callback\n */\n compress: function compress(source, quality, callback) {\n var _this2 = this;\n\n var _getSrc2 = this._getSrc(source),\n src = _getSrc2.src,\n type = _getSrc2.type;\n\n if (type === 'file') {\n return this._readFile(src, function (data) {\n _this2._compress(data, source, quality, callback);\n });\n }\n this._compress(src, source, quality, callback);\n },\n _compress: function _compress(src, source, quality, callback) {\n var _this3 = this;\n\n this._loadImage(src, function (image) {\n var mimeType = _this3._getImageType(source);\n var cvs = _this3._getCanvas(image.naturalWidth, image.naturalHeight);\n var ctx = cvs.getContext('2d');\n ctx.drawImage(image, 0, 0);\n var newImageData = cvs.toDataURL(mimeType, quality / 100);\n callback(newImageData);\n });\n },\n\n\n /**\n * crop image via canvas and generate data\n */\n crop: function crop(source, options, callback) {\n var _this4 = this;\n\n var _getSrc3 = this._getSrc(source),\n src = _getSrc3.src,\n type = _getSrc3.type;\n\n if (type === 'file') {\n return this._readFile(src, function (data) {\n _this4._crop(data, source, options, callback);\n });\n }\n this._crop(src, source, options, callback);\n },\n _crop: function _crop(src, source, options, callback) {\n var _this5 = this;\n\n this._loadImage(src, function (image) {\n // alias w and h props\n if (!options.w && options.width) {\n options.w = options.width;\n options.h = options.height;\n }\n\n // check crop options\n if (isNumber(options.x) && isNumber(options.y) && options.w > 0 && options.h > 0) {\n var w = options.w,\n h = options.h;\n\n if (options.maxWidth && options.maxWidth < w) {\n w = options.maxWidth;\n h = options.h * w / options.w;\n }\n if (options.maxHeight && options.maxHeight < h) {\n h = options.maxHeight;\n }\n if (options.fixedWidth && options.fixedHeight) {\n w = options.fixedWidth;\n h = options.fixedHeight;\n }\n var cvs = _this5._getCanvas(w, h);\n cvs.getContext('2d').drawImage(image, options.x, options.y, options.w, options.h, 0, 0, w, h);\n var mimeType = _this5._getImageType(source);\n var data = cvs.toDataURL(mimeType, options.compress / 100);\n callback(data);\n }\n });\n },\n resize: function resize(source, ratio, callback) {\n var _this6 = this;\n\n var _getSrc4 = this._getSrc(source),\n src = _getSrc4.src,\n type = _getSrc4.type;\n\n var options = {};\n if (typeof ratio === 'number' || typeof ratio === 'string') {\n options = {\n ratio: ratio,\n compress: defaultConfig.compress\n };\n }\n if ((typeof ratio === 'undefined' ? 'undefined' : _typeof(ratio)) === 'object') {\n options = ratio;\n }\n if (type === 'file') {\n return this._readFile(src, function (data) {\n _this6._resize(data, source, options, callback);\n });\n }\n this._resize(src, source, options, callback);\n },\n _resize: function _resize(src, source, options, callback) {\n var _this7 = this;\n\n function isNeedCrop(w, h, ow, oh) {\n return w / h === ow / oh;\n }\n this._loadImage(src, function (image) {\n var w = image.naturalWidth;\n var h = image.naturalHeight;\n var aspect = w / h;\n if (options.ratio > 0) {\n w = Math.floor(image.naturalWidth * options.ratio);\n h = Math.floor(image.naturalHeight * options.ratio);\n } else if (typeof options.width === 'number' && typeof options.height === 'number') {\n if (!isNeedCrop(options.width, options.height, w, h)) {\n w = Math.floor(options.width);\n h = Math.floor(options.height);\n } else {\n if (w > options.width || h > options.height) {\n options.x = (w - options.width) / 2;\n options.y = (h - options.height) / 2;\n return _this7._crop(src, source, options, callback);\n } else if (w < options.width) {\n w = options.width;\n h = w / aspect;\n options.x = 0;\n options.y = (h - options.height) / 2;\n return _this7._crop(src, source, options, callback);\n } else if (h < options.height) {\n h = options.height;\n w = h * aspect;\n options.y = 0;\n options.x = (w - options.width) / 2;\n return _this7._crop(src, source, options, callback);\n }\n }\n }\n var cvs = _this7._getCanvas(w, h);\n cvs.getContext('2d').drawImage(image, 0, 0, image.naturalWidth, image.naturalHeight, 0, 0, w, h);\n var mimeType = _this7._getImageType(source);\n var data = cvs.toDataURL(mimeType, options.compress / 100);\n callback(data);\n });\n },\n\n\n /**\n * rotate image\n */\n rotate: function rotate(source, degree, callback) {\n var _this8 = this;\n\n var _getSrc5 = this._getSrc(source),\n src = _getSrc5.src,\n type = _getSrc5.type;\n\n if (type === 'file') {\n return this._readFile(src, function () {\n _this8._rotate(src, source, degree, callback);\n });\n }\n if (degree % 360 === 0) {\n return callback(src);\n }\n this._rotate(src, source, degree, callback);\n },\n _rotate: function _rotate(src, source, degree, callback) {\n var _this9 = this;\n\n this._loadImage(src, function (image) {\n var w = image.naturalWidth;\n var h = image.naturalHeight;\n degree %= 360;\n if (degree === 90 || degree === 270) {\n w = image.naturalHeight;\n h = image.naturalWidth;\n }\n var cvs = _this9._getCanvas(w, h);\n var ctx = cvs.getContext('2d');\n ctx.clearRect(0, 0, w, h);\n ctx.fillStyle = 'white';\n ctx.fillRect(0, 0, w, h);\n ctx.translate(w / 2, h / 2);\n ctx.rotate(degree * Math.PI / 180);\n ctx.drawImage(image, -image.naturalWidth / 2, -image.naturalHeight / 2);\n var mimeType = _this9._getImageType(source);\n var data = cvs.toDataURL(mimeType, 1);\n callback(data, w, h);\n cvs = null;\n ctx = null;\n });\n },\n _loadImage: function _loadImage(src, callback) {\n var image = this._createImage(src);\n image.onload = function () {\n callback(image);\n };\n },\n _readFile: function _readFile(file, callback) {\n var reader = new FileReader();\n reader.onload = function (event) {\n var data = event.target.result;\n callback(data);\n };\n reader.readAsDataURL(file);\n },\n _getCanvas: function _getCanvas(width, height) {\n var canvas = document.createElement('canvas');\n canvas.width = width;\n canvas.height = height;\n return canvas;\n },\n _createImage: function _createImage(src) {\n var image = new Image();\n image.src = src;\n image.crossOrigin = 'anonymous';\n return image;\n },\n _getSrc: function _getSrc(source) {\n var src = source;\n var type = 'url';\n if (this._isImageElement(source)) {\n var imgSrc = source.src;\n if (!imgSrc) {\n throw new Error('Element must hava src');\n }\n src = imgSrc;\n type = 'element';\n } else if (this._isVideoElement(source)) {\n src = source;\n type = 'video';\n } else if (this._isFileObject(source)) {\n src = source;\n type = 'file';\n }\n return {\n src: src,\n type: type\n };\n },\n _isFileObject: function _isFileObject(file) {\n return (typeof file === 'undefined' ? 'undefined' : _typeof(file)) === 'object' && file.type && file.size > 0;\n },\n _isImageElement: function _isImageElement(el) {\n return (typeof el === 'undefined' ? 'undefined' : _typeof(el)) === 'object' && el.tagName === 'IMG';\n },\n _isVideoElement: function _isVideoElement(el) {\n return (typeof el === 'undefined' ? 'undefined' : _typeof(el)) === 'object' && el.tagName === 'VIDEO';\n },\n _getImageType: function _getImageType(source) {\n var _getSrc6 = this._getSrc(source),\n src = _getSrc6.src,\n type = _getSrc6.type;\n\n var mimeType = 'image/jpeg';\n if (type === 'file') {\n var fileType = source.type;\n var outputType = fileType.match(/(image\\/[\\w]+)\\.*/)[0];\n if (typeof outputType !== 'undefined') {\n mimeType = outputType;\n }\n } else {\n var arr = imageReg.exec(src);\n if (arr && arr[1]) {\n mimeType = 'image/' + arr[1];\n }\n }\n return mimeType;\n }\n};\n\n/***/ })\n/******/ ]);\n});","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 13);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nmodule.exports = {\n\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),\n\n /**\n * transform object to css text\n */\n setCssText: function setCssText(obj) {\n var cssArr = [];\n Object.keys(obj).forEach(function (key) {\n var val = obj[key];\n if (typeof val === 'number') {\n val = '' + val + 'px';\n }\n cssArr.push(key + ': ' + val + ';');\n });\n return cssArr.join('');\n },\n isFunction: function isFunction(fn) {\n return typeof fn === 'function';\n }\n};\n\n/***/ }),\n\n/***/ 13:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = drag;\n\nvar _helper = __webpack_require__(0);\n\nvar _helper2 = _interopRequireDefault(_helper);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isMobile = _helper2.default.isMobile; /**\n * return drag element coordinate\n */\nfunction drag(e, el, coor) {\n if (!el) {\n return;\n }\n var currentX = isMobile ? e.changedTouches[0]['clientX'] : e.clientX;\n var currentY = isMobile ? e.changedTouches[0]['clientY'] : e.clientY;\n\n var left = currentX - coor.x;\n var top = currentY - coor.y;\n if (left <= coor.minLeft) {\n left = coor.minLeft;\n }\n if (left >= coor.maxLeft) {\n left = coor.maxLeft;\n }\n if (top <= coor.minTop) {\n top = coor.minTop;\n }\n if (top >= coor.maxTop) {\n top = coor.maxTop;\n }\n return {\n left: left,\n top: top\n };\n};\n\n/***/ })\n\n/******/ });\n});","'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/**\n * simple ajax handler\n **/\n\n//ADD sendAsBinary compatibilty to older browsers\nif (XMLHttpRequest.prototype.sendAsBinary === undefined) {\n XMLHttpRequest.prototype.sendAsBinary = function (string) {\n var bytes = Array.prototype.map.call(string, function (c) {\n return c.charCodeAt(0) & 0xff;\n });\n this.send(new Uint8Array(bytes).buffer);\n };\n}\n\nmodule.exports = function (method, url, headers, data, callback, err, isBinary, withCredentials) {\n\n var r = new XMLHttpRequest();\n var error = err || function () {\n console.error('AJAX ERROR!');\n };\n var boundary = 'webcodeimageupload';\n // Binary?\n var binary = false;\n if (method === 'blob') {\n binary = method;\n method = 'GET';\n }\n method = method.toUpperCase();\n // Xhr.responseType 'json' is not supported in any of the vendors yet.\n r.onload = function () {\n var json = r.response;\n try {\n json = JSON.parse(r.responseText);\n } catch (_e) {\n if (r.status === 401) {\n json = error('access_denied', r.statusText);\n }\n }\n var headers = headersToJSON(r.getAllResponseHeaders());\n headers.statusCode = r.status;\n callback(json || (method === 'GET' ? error('empty_response', 'Could not get resource') : {}), headers);\n };\n r.onerror = function () {\n var json = r.responseText;\n try {\n json = JSON.parse(r.responseText);\n } catch (_e) {\n console.error(_e);\n }\n callback(json || error('access_denied', 'Could not get resource'));\n };\n var x = void 0;\n // Should we add the query to the URL?\n if (method === 'GET' || method === 'DELETE') {\n data = null;\n } else if (isBinary) {\n var keyData = data;\n var code = data.base64Code.replace('data:' + data.type + ';base64,', '');\n data = ['--' + boundary, 'Content-Disposition: form-data; name=\"' + data.filed + '\"; filename=\"' + data.filename + '\"', 'Content-Type: ' + data.type, '', window.atob(code), ''].join('\\r\\n');\n var keyArr = Object.keys(keyData);\n if (keyArr.length > 4) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = keyArr[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var k = _step.value;\n\n if (['filed', 'filename', 'type', 'base64Code'].indexOf(k) == -1) {\n data += ['--' + boundary, 'Content-Disposition: form-data; name=\"' + k + '\";', '', ''].join('\\r\\n');\n data += [_typeof(keyData[k]) === 'object' ? JSON.stringify(keyData[k]) : encodeURI(keyData[k]), ''].join('\\r\\n');\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n data += '--' + boundary + '--';\n }\n // Open the path, async\n r.open(method, url, true);\n if (binary) {\n if ('responseType' in r) {\n r.responseType = binary;\n } else {\n r.overrideMimeType('text/plain; charset=x-user-defined');\n }\n }\n // Set any bespoke headers\n if (headers) {\n for (x in headers) {\n r.setRequestHeader(x, headers[x]);\n }\n }\n r.withCredentials = typeof withCredentials === 'undefined' ? true : withCredentials;\n if (isBinary) {\n r.setRequestHeader('Content-Type', 'multipart/form-data; boundary=' + boundary);\n return r.sendAsBinary(data);\n }\n\n r.send(data);\n return r;\n // Headers are returned as a string\n function headersToJSON(s) {\n var o = {};\n var reg = /([a-z\\-]+):\\s?(.*);?/gi;\n var m = void 0;\n while (m = reg.exec(s)) {\n o[m[1]] = m[2];\n }\n return o;\n }\n};\n","import mod from \"-!../../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../css-loader/index.js??ref--6-oneOf-1-1!../../../vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--6-oneOf-1-2!./style.css?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../css-loader/index.js??ref--6-oneOf-1-1!../../../vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--6-oneOf-1-2!./style.css?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../css-loader/index.js??ref--6-oneOf-1-1!../../../vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--6-oneOf-1-2!./crop.css?vue&type=style&index=0&id=3422c8a2&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../css-loader/index.js??ref--6-oneOf-1-1!../../../vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--6-oneOf-1-2!./crop.css?vue&type=style&index=0&id=3422c8a2&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"g-core-image-upload-btn\"},[_vm._t(\"default\",[_vm._v(_vm._s(_vm.text))]),_c('form',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.hasImage),expression:\"!hasImage\"}],staticClass:\"g-core-image-upload-form\",attrs:{\"method\":\"post\",\"enctype\":\"multipart/form-data\",\"action\":\"\"}},[_c('input',{attrs:{\"disabled\":_vm.uploading,\"name\":_vm.name,\"multiple\":_vm.multiple,\"type\":\"file\",\"accept\":_vm.inputAccept},on:{\"change\":_vm.change,\"dragover\":_vm.dragover,\"dragenter\":_vm.dragover,\"dragleave\":_vm.dragleave,\"dragend\":_vm.dragleave,\"drop\":_vm.dragleave}})]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasImage),expression:\"hasImage\"}],staticClass:\"g-core-image-corp-container\"},[_c('crop',{ref:\"cropBox\",attrs:{\"is-resize\":_vm.resize && !_vm.crop,\"ratio\":_vm.cropRatio,\"is-rotate\":_vm.rotate}}),_c('div',{staticClass:\"info-aside\"},[_c('p',{staticClass:\"btn-groups rotate-groups\",staticStyle:{\"display\":\"none\"}},[_c('button',{staticClass:\"btn btn-rotate\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.doRotate}},[_vm._v(\"↺\")]),_c('button',{staticClass:\"btn btn-reverserotate\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.doReverseRotate}},[_vm._v(\"↻\")])]),(_vm.crop)?_c('p',{staticClass:\"btn-groups\"},[_c('button',{staticClass:\"btn btn-upload\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.doCrop}},[_vm._v(_vm._s(_vm.cropBtn.ok))]),_c('button',{staticClass:\"btn btn-cancel\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(_vm._s(_vm.cropBtn.cancel))])]):_vm._e(),(_vm.resize && !_vm.crop)?_c('p',{staticClass:\"btn-groups\"},[_c('button',{staticClass:\"btn btn-upload\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.doResize}},[_vm._v(_vm._s(_vm.ResizeBtn.ok))]),_c('button',{staticClass:\"btn btn-cancel\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(_vm._s(_vm.ResizeBtn.cancel))])]):_vm._e()])],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"image-aside\"},[_c('div',{staticClass:\"g-crop-image-box\"},[_c('div',{staticClass:\"g-crop-image-principal\",on:{\"touchstart\":_vm.drag,\":mousedown\":_vm.drag}},[_c('div',{staticClass:\"image-wrap\",style:({ width: _vm.width + 'px',height: _vm.height + 'px', left: _vm.left+ 'px', top: _vm.top + 'px', backgroundImage: 'url(' + _vm.src + ')', cursor: _vm.isResize ? 'default' : 'move'})},[_c('img',{ref:\"crop-image\",staticStyle:{\"width\":\"0\",\"height\":\"0\"},attrs:{\"src\":_vm.src}})]),(!_vm.isResize)?_c('div',{staticClass:\"image-mask\"},[_c('div',{staticClass:\"mask top\",style:({ top:0, height: _vm.cropCSS.top + 'px', left: 0, width: '100%'})}),_c('div',{staticClass:\"mask bottom\",style:({ bottom:0, top: (_vm.cropCSS.top + _vm.cropCSS.height) + 'px', left: 0, width: '100%'})}),_c('div',{staticClass:\"mask left\",style:({top: _vm.cropCSS.top + 'px', height: _vm.cropCSS.height + 'px', left:0, width: _vm.cropCSS.left + 'px'})}),_c('div',{staticClass:\"mask right\",style:({top: _vm.cropCSS.top + 'px', height: _vm.cropCSS.height + 'px', left: (_vm.cropCSS.left + _vm.cropCSS.width) + 'px', right: 0})})]):_vm._e(),(!_vm.isResize)?_c('div',{staticClass:\"crop-box\",style:({top: _vm.cropCSS.top + 'px', left: _vm.cropCSS.left + 'px', height: _vm.cropCSS.height + 'px', width: _vm.cropCSS.width + 'px'})},[_c('div',{staticClass:\"reference-line v\"}),_c('div',{staticClass:\"reference-line h\"}),_c('a',{staticClass:\"g-resize\",on:{\"touchstart\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.resize($event)},\"mousedown\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.resize($event)}}})]):_vm._e()]),(_vm.resize)?_c('resize-bar',{ref:\"resizeBar\",on:{\"resize\":_vm.resizeImage}}):_vm._e(),(_vm.isRotate)?_c('rotate-bar',{on:{\"rotate\":_vm.rotateImage}}):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"g-resize-bar\"},[_c('div',{staticClass:\"g-resize-highlight\",style:({width: _vm.left + '%',})}),_c('button',{staticClass:\"circle-btn\",style:({left: _vm.left + '%',}),on:{\"touchstart\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.drag($event)},\"mousedown\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.drag($event)}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"g-resize-bar\">\n <div class=\"g-resize-highlight\" :style=\"{width: left + '%',}\"></div>\n <button class=\"circle-btn\" @touchstart.self=\"drag\" @mousedown.self=\"drag\" :style=\"{left: left + '%',}\"></button>\n </div>\n</template>\n\n<style scoped>\n .g-resize-bar{\n position: absolute;\n bottom: 0px;\n margin: 17px auto;\n height: 6px;\n border-radius: 3px;\n width:200px;\n margin-left: -100px;\n left: 50%;\n background-color: #a8f9ca;\n box-shadow: 0 2px 3px -1px rgba(0,0,0,.3);\n }\n .g-resize-highlight{\n position: absolute;\n left: 0;\n top:0;\n height: 6px;\n background-color: #27ae60;\n border-radius: 3px;\n }\n .circle-btn{\n display: block;\n position: absolute;\n left:0;\n top: -5px;\n width: 14px;\n height: 14px;\n margin-left: -7px;\n background-color: #fff;\n border-radius: 7px;\n box-shadow: 0 2px 3px -2px rgba(0,0,0,.6), 0 -2px 3px -2px rgba(0,0,0,.55);\n border-width: 0;\n }\n</style>\n\n<script>\nimport helper from './lib/helper';\nimport drag from './lib/drag';\n\nexport default {\n props: {\n minProgress: {\n type:[Number, String],\n default: 0,\n }\n\n },\n data() {\n return {\n progress: 100,\n left: 100,\n }\n },\n\n methods: {\n setProgress(num) {\n this.left = num;\n },\n\n drag(e) {\n e.preventDefault();\n e.stopPropagation();\n const $el = e.target;\n this.el = $el;\n const $container = this.$el.parentElement;\n const self = this;\n const isMobile = helper.isMobile;\n const width = 200;\n const coor = {\n x: (isMobile ? e.touches[0]['clientX'] : e.clientX) - $el.offsetLeft,\n y: (isMobile ? e.touches[0]['clientY'] : e.clientY) - $el.offsetTop,\n maxLeft: width,\n maxTop: parseInt($container.style.height) - parseInt($el.style.height),\n minLeft: 0,\n minTop: 0,\n };\n const move = function (ev) {\n const newCoor = drag(ev, self.el, coor);\n if (newCoor) {\n if((newCoor.left / width) < self.minProgress) {\n return;\n }\n self.progress = (newCoor.left-width/2) / width;\n self.left = newCoor.left / width * 100;\n\n self.$emit('resize', self.progress);\n }\n };\n const stopMove = function (ev) {\n self.el = null;\n if (isMobile) {\n document.removeEventListener('touchmove', move, false);\n document.removeEventListener('touchend', stopMove, false);\n return;\n }\n document.removeEventListener('mousemove', move, false);\n document.removeEventListener('mouseup', stopMove, false);\n };\n if (isMobile) {\n document.addEventListener('touchmove', move, false);\n document.addEventListener('touchend', stopMove, false);\n return;\n }\n document.addEventListener('mousemove', move, false);\n document.addEventListener('mouseup', stopMove, false);\n }\n\n },\n\n\n};\n</script>\n","import mod from \"-!../../cache-loader/dist/cjs.js??ref--12-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./resize-bar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../cache-loader/dist/cjs.js??ref--12-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./resize-bar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./resize-bar.vue?vue&type=template&id=5069e800&scoped=true&\"\nimport script from \"./resize-bar.vue?vue&type=script&lang=js&\"\nexport * from \"./resize-bar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./resize-bar.vue?vue&type=style&index=0&id=5069e800&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5069e800\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"g-rotate-bar\"},[_c('a',{attrs:{\"href\":\"javascript:;\"},on:{\"click\":_vm.rotateLeft}},[_c('svg',{staticClass:\"svg-icon\",attrs:{\"viewBox\":\"0 0 481.95 481.95\"}},[_c('path',{attrs:{\"d\":\"M281.7,243.8V138.2c75.9,13.5,135.4,78.6,135.4,159.8s-59.6,146.3-135.4,159.8V512\\n c105.7-13.5,189.6-102.9,189.6-214s-84-200.5-189.6-214V0L159.8,121.9L281.7,243.8z M94.8,270.9c2.7-24.4,13.5-46.1,27.1-67.7\\n L84,165.2C59.6,197.8,46.1,233,40.6,270.9H94.8z M159.8,430.7l-37.9,37.9c32.5,24.4,67.7,37.9,105.7,43.3v-54.2\\n C203.2,455.1,181.5,444.3,159.8,430.7z M94.8,325.1H40.6c2.7,37.9,19,73.1,43.3,105.7l37.9-37.9\\n C108.4,371.1,97.5,349.5,94.8,325.1z\",\"fill\":\"#27ae60\"}})])]),_c('a',{attrs:{\"href\":\"javascript:;\"},on:{\"click\":_vm.rotateRight}},[_c('svg',{staticClass:\"svg-icon\",attrs:{\"viewBox\":\"0 0 481.95 481.95\"}},[_c('path',{attrs:{\"d\":\"M331.5,114.75L216.75,0v79.05C117.3,91.8,38.25,175.95,38.25,280.5s79.05,188.7,178.5,201.45v-51 C145.35,418.2,89.25,357,89.25,280.5s56.1-137.7,127.5-150.45v99.45L331.5,114.75z M443.7,255 c-5.101-35.7-17.851-68.85-40.8-99.45l-35.7,35.7c12.75,20.4,22.95,40.8,25.5,63.75H443.7z M267.75,430.95v51 c35.7-5.101,68.85-17.851,99.45-40.8l-35.7-35.7C311.1,418.2,290.7,428.4,267.75,430.95z M367.2,369.75l35.7,35.7 c22.949-30.601,38.25-63.75,40.8-99.45h-51C390.15,328.95,379.95,349.35,367.2,369.75z\",\"fill\":\"#27ae60\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"g-rotate-bar\">\n <a href=\"javascript:;\" @click=\"rotateLeft\">\n <svg class=\"svg-icon\" viewBox=\"0 0 481.95 481.95\">\n <path d=\"M281.7,243.8V138.2c75.9,13.5,135.4,78.6,135.4,159.8s-59.6,146.3-135.4,159.8V512\n c105.7-13.5,189.6-102.9,189.6-214s-84-200.5-189.6-214V0L159.8,121.9L281.7,243.8z M94.8,270.9c2.7-24.4,13.5-46.1,27.1-67.7\n L84,165.2C59.6,197.8,46.1,233,40.6,270.9H94.8z M159.8,430.7l-37.9,37.9c32.5,24.4,67.7,37.9,105.7,43.3v-54.2\n C203.2,455.1,181.5,444.3,159.8,430.7z M94.8,325.1H40.6c2.7,37.9,19,73.1,43.3,105.7l37.9-37.9\n C108.4,371.1,97.5,349.5,94.8,325.1z\" fill=\"#27ae60\" />\n </svg>\n </a>\n <a href=\"javascript:;\" @click=\"rotateRight\">\n <svg class=\"svg-icon\" viewBox=\"0 0 481.95 481.95\">\n \t\t<path d=\"M331.5,114.75L216.75,0v79.05C117.3,91.8,38.25,175.95,38.25,280.5s79.05,188.7,178.5,201.45v-51 C145.35,418.2,89.25,357,89.25,280.5s56.1-137.7,127.5-150.45v99.45L331.5,114.75z M443.7,255 c-5.101-35.7-17.851-68.85-40.8-99.45l-35.7,35.7c12.75,20.4,22.95,40.8,25.5,63.75H443.7z M267.75,430.95v51 c35.7-5.101,68.85-17.851,99.45-40.8l-35.7-35.7C311.1,418.2,290.7,428.4,267.75,430.95z M367.2,369.75l35.7,35.7 c22.949-30.601,38.25-63.75,40.8-99.45h-51C390.15,328.95,379.95,349.35,367.2,369.75z\" fill=\"#27ae60\"/>\n </svg>\n </a>\n </div>\n</template>\n\n<style>\n.g-rotate-bar{\n position: absolute;\n bottom: 30px;\n left: 0;\n right: 0;\n text-align: center;\n}\n.g-rotate-bar .svg-icon{\n display: inline-block;\n width: 1.2em;\n height: 1.2em;\n margin: 0 2em;\n}\n</style>\n\n<script>\nexport default {\n data() {\n return {\n rotateDegree: 0,\n }\n },\n\n methods: {\n rotateRight() {\n this.rotateDegree += 90;\n this.$emit('rotate', this.rotateDegree);\n },\n\n rotateLeft() {\n this.rotateDegree -= 90;\n this.$emit('rotate', this.rotateDegree);\n },\n }\n};\n\n</script>\n","import mod from \"-!../../cache-loader/dist/cjs.js??ref--12-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./rotate-bar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../cache-loader/dist/cjs.js??ref--12-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./rotate-bar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./rotate-bar.vue?vue&type=template&id=e5a3b406&\"\nimport script from \"./rotate-bar.vue?vue&type=script&lang=js&\"\nexport * from \"./rotate-bar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./rotate-bar.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../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","<template>\n<div class=\"image-aside\">\n <div class=\"g-crop-image-box\" >\n <div class=\"g-crop-image-principal\" @touchstart=\"drag\" @:mousedown=\"drag\">\n <div class=\"image-wrap\" :style=\"{ width: width + 'px',height: height + 'px', left: left+ 'px', top: top + 'px', backgroundImage: 'url(' + src + ')', cursor: isResize ? 'default' : 'move'}\">\n <img ref=\"crop-image\" style=\"width:0;height:0;\" :src=\"src\" />\n </div>\n <div class=\"image-mask\" v-if=\"!isResize\">\n <div class=\"mask top\" :style=\"{ top:0, height: cropCSS.top + 'px', left: 0, width: '100%'}\"></div>\n <div class=\"mask bottom\" :style=\"{ bottom:0, top: (cropCSS.top + cropCSS.height) + 'px', left: 0, width: '100%'}\"></div>\n <div class=\"mask left\" :style=\"{top: cropCSS.top + 'px', height: cropCSS.height + 'px', left:0, width: cropCSS.left + 'px'}\"></div>\n <div class=\"mask right\" :style=\"{top: cropCSS.top + 'px', height: cropCSS.height + 'px', left: (cropCSS.left + cropCSS.width) + 'px', right: 0}\"></div>\n </div>\n <div class=\"crop-box\" v-if=\"!isResize\" :style=\"{top: cropCSS.top + 'px', left: cropCSS.left + 'px', height: cropCSS.height + 'px', width: cropCSS.width + 'px'}\">\n <div class=\"reference-line v\"></div>\n <div class=\"reference-line h\"></div>\n <a class=\"g-resize\" @touchstart.self=\"resize\" @mousedown.self=\"resize\"></a>\n </div>\n </div>\n <resize-bar v-if=\"resize\" ref=\"resizeBar\" @resize=\"resizeImage\"></resize-bar>\n <rotate-bar v-if=\"isRotate\" @rotate=\"rotateImage\"></rotate-bar>\n </div>\n</div>\n</template>\n\n<style src=\"./style/crop.css\" scoped>\n</style>\n\n<script>\nimport daycaca from 'daycaca';\nimport drag from './lib/drag';\nimport resize from './lib/resize';\nimport GIF_LOADING_SRC from './lib/loading-gif';\nimport helper from './lib/helper';\nimport ResizeBar from './resize-bar.vue';\nimport RotateBar from './rotate-bar.vue';\n// set cropbox size in image\nconst CROPBOX_PERCENT = 75;\nconst isMobile = helper.isMobile;\nconst areaWidth = window.innerWidth - 60;\nconst areaHeight = window.innerHeight - 110;\nexport default {\n components: {\n ResizeBar,\n RotateBar,\n },\n props: {\n ratio: {\n type: String,\n default: '1:1'\n },\n minWidth: {\n type: Number,\n default: 50,\n },\n minHeight: {\n type: Number,\n default: 50,\n },\n isResize: {\n type: [Boolean],\n default: false,\n },\n isRotate: {\n type: [Boolean],\n default: true,\n }\n },\n\n data() {\n return {\n src: GIF_LOADING_SRC,\n width: 24,\n height: 24,\n initWidth: 24,\n initHeight: 24,\n left: 0,\n top: 0,\n cropCSS: {\n\n }\n }\n },\n\n methods: {\n setImage(src, w, h) {\n this.src = src;\n if (!this.originSrc) {\n this.setOriginalSrc(this.src);\n }\n if (this.ratio.indexOf(':') > 0) {\n this.ratioW = this.ratio.split(':')[0];\n this.ratioH = this.ratio.split(':')[1];\n this.ratioVal = this.ratioW / this.ratioH;\n } else {\n this.ratioW = 1;\n this.ratioH = 1;\n this.ratioVal = this.ratio;\n }\n this.natrualWidth = w;\n this.natrualHeight = h;\n this.setLayout(w, h);\n const resizeBar = this.$refs.resizeBar;\n if (this.isResize) {\n resizeBar.setProgress(100);\n } else {\n resizeBar.setProgress(50);\n }\n return this.imgChangeRatio;\n },\n\n setOriginalSrc(src) {\n this.originSrc = src;\n },\n\n resizeImage(progress) {\n let w,\n h;\n if (this.isResize) {\n w = this.natrualWidth * this.imgChangeRatio * progress;\n h = this.natrualHeight * this.imgChangeRatio * progress;\n } else {\n w = this.initWidth + progress * (this.natrualWidth - this.initWidth);\n h = this.initHeight + progress * (this.natrualHeight - this.initHeight);\n }\n if (w <= this.minWidth || h < this.minHeight) {\n return;\n }\n this.left += (this.width - w) / 2;\n this.top += (this.height - h) / 2;\n this.width = w;\n this.height = h;\n this.imgChangeRatio = this.width / this.natrualWidth;\n },\n\n rotateImage(degress) {\n const data = daycaca.rotate2(this.originSrc, degress, (data, w, h) => {\n this.setImage(data, w, h);\n });\n
|