@smallwei/avue 2.12.3 → 2.12.4

Sign up to get free protection for your applications and to get access to all the features.
package/lib/avue.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Avue.js v2.12.3
2
+ * Avue.js v2.12.4
3
3
  * (c) 2017-2024 Smallwei
4
4
  * Released under the MIT License.
5
5
  *
@@ -1046,7 +1046,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var glob
1046
1046
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1047
1047
 
1048
1048
  "use strict";
1049
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/create */ \"./src/core/create.js\");\n/* harmony import */ var common_common_props_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/common/props.js */ \"./packages/core/common/props.js\");\n/* harmony import */ var common_common_event_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/common/event.js */ \"./packages/core/common/event.js\");\n/* harmony import */ var core_locale__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core/locale */ \"./src/core/locale.js\");\n/* harmony import */ var utils_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! utils/util */ \"./src/utils/util.js\");\n/* harmony import */ var plugin_canvas___WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! plugin/canvas/ */ \"./src/plugin/canvas/index.js\");\n/* harmony import */ var plugin_qiniu___WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! plugin/qiniu/ */ \"./src/plugin/qiniu/index.js\");\n/* harmony import */ var plugin_ali___WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! plugin/ali/ */ \"./src/plugin/ali/index.js\");\n/* harmony import */ var core_packages__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core/packages */ \"./src/core/packages.js\");\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n\n\n\n\n\n\n\n\n\nfunction getFileUrl(home) {\n var uri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n return uri.match(/(^http:\\/\\/|^https:\\/\\/|^\\/\\/|data:image\\/)/) ? uri : home + uri;\n}\n;\nvar FILE_STATUS_READY = 'ready';\nvar FILE_STATUS_DONE = 'done';\nfunction isFileReady(file) {\n return file.status === FILE_STATUS_READY;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n name: \"upload\",\n mixins: [Object(common_common_props_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(), Object(common_common_event_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), core_locale__WEBPACK_IMPORTED_MODULE_3__[\"default\"]],\n data: function data() {\n return {\n uploadCacheList: [],\n uploadList: [],\n res: '',\n menu: false,\n reload: Math.random()\n };\n },\n props: {\n qiniu: Object,\n ali: Object,\n data: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n paramsList: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n showFileList: {\n type: Boolean,\n \"default\": true\n },\n fileText: String,\n fileType: {\n type: String\n },\n oss: {\n type: String\n },\n limit: {\n type: Number\n },\n headers: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n accept: {\n type: [String, Array],\n \"default\": \"\"\n },\n canvasOption: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n cropperOption: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n fileSize: {\n type: Number\n },\n dragFile: {\n type: Boolean,\n \"default\": false\n },\n drag: {\n type: Boolean,\n \"default\": false\n },\n loadText: {\n type: String,\n \"default\": \"Loading...\"\n },\n action: {\n type: String,\n \"default\": \"\"\n },\n uploadSized: Function,\n uploadBefore: Function,\n uploadAfter: Function,\n uploadDelete: Function,\n uploadPreview: Function,\n uploadError: Function,\n uploadExceed: Function,\n httpRequest: Function\n },\n computed: {\n isObject: function isObject() {\n var obj = this.text[0];\n return _typeof(obj) === 'object' || this.dataType == 'object' || this.isJson;\n },\n acceptList: function acceptList() {\n if (Array.isArray(this.accept)) {\n return this.accept.join(',');\n }\n return this.accept;\n },\n homeUrl: function homeUrl() {\n return this.propsHttp.home || '';\n },\n fileName: function fileName() {\n return this.propsHttp.fileName || 'file';\n },\n isCosOss: function isCosOss() {\n return this.oss === \"cos\";\n },\n isAliOss: function isAliOss() {\n return this.oss === \"ali\";\n },\n isQiniuOss: function isQiniuOss() {\n return this.oss === \"qiniu\";\n },\n isPictureImg: function isPictureImg() {\n return this.listType === \"picture-img\";\n },\n firstFile: function firstFile() {\n return this.fileList[0] || {};\n },\n fileList: function fileList() {\n var _this = this;\n var list = [];\n var parseFile = function parseFile(ele) {\n var name, url, type;\n if (_this.isObject) {\n name = ele[_this.labelKey];\n url = ele[_this.valueKey];\n type = ele[_this.typeKey] || _this.isMediaType(url);\n } else {\n name = ele.substring(ele.lastIndexOf('/') + 1);\n url = ele;\n type = _this.isMediaType(url);\n }\n url = getFileUrl(_this.homeUrl, url);\n return {\n name: name,\n url: url,\n type: type\n };\n };\n this.text.forEach(function (ele, index) {\n if (ele) {\n var _parseFile = parseFile(ele),\n name = _parseFile.name,\n url = _parseFile.url,\n type = _parseFile.type;\n list.push({\n uid: index + '',\n status: FILE_STATUS_DONE,\n type: type,\n name: name,\n url: url\n });\n }\n });\n return list.concat(this.uploadList);\n }\n },\n mounted: function mounted() {\n if (this.drag) {\n this.setSort();\n }\n },\n methods: {\n handleMouseover: function handleMouseover() {\n this.menu = true;\n },\n handleMouseout: function handleMouseout() {\n this.menu = false;\n },\n showProgress: function showProgress(file) {\n return isFileReady(file) && !this.oss;\n },\n isMediaType: function isMediaType(url) {\n return Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"isMediaType\"])(url, this.fileType);\n },\n setSort: function setSort() {\n var _this2 = this;\n if (!window.Sortable) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs('Sortable');\n return;\n }\n var el = this.$el.querySelectorAll('.avue-upload > ul')[0];\n window.Sortable.create(el, {\n animation: 100,\n onEnd: function onEnd(evt) {\n var targetRow = _this2.text.splice(evt.oldIndex, 1)[0];\n _this2.text.splice(evt.newIndex, 0, targetRow);\n _this2.reload = Math.random();\n _this2.$nextTick(function () {\n return _this2.setSort();\n });\n }\n });\n },\n handleError: function handleError(msg) {\n if (msg) this.uploadError && this.uploadError(error, this.column);\n },\n handleSuccess: function handleSuccess(file) {\n if (this.isObject) {\n var obj = _defineProperty(_defineProperty(_defineProperty({}, this.labelKey, file[this.nameKey]), this.valueKey, file[this.urlKey]), this.typeKey, file[this.fileTypeKey]);\n this.paramsList.forEach(function (ele) {\n return obj[ele.label] = file[ele.value];\n });\n this.text.push(obj);\n } else {\n this.text.push(file[this.urlKey]);\n }\n },\n handleRemove: function handleRemove(file) {\n var _this3 = this;\n if (isFileReady(file)) {\n var index = this.uploadList.findIndex(function (ele) {\n return ele.raw == file;\n });\n this.uploadList.splice(index, 1);\n } else {\n this.beforeRemove(file).then(function () {\n _this3.text.forEach(function (ele, index) {\n var url = _this3.isObject ? ele[_this3.valueKey] : ele;\n if (getFileUrl(_this3.homeUrl, url) === file.url) {\n _this3.text.splice(index, 1);\n }\n });\n });\n }\n },\n handleFileChange: function handleFileChange(file, fileList) {\n fileList.pop();\n this.uploadCacheList.push(file);\n },\n httpUpload: function httpUpload(config) {\n var _this4 = this;\n var file = config.file;\n var fileIndex = this.uploadCacheList.findIndex(function (ele) {\n return ele.raw === file;\n });\n var fileState = this.uploadCacheList[fileIndex] || {};\n var deleteUploadCacheFile = function deleteUploadCacheFile() {\n var cacheIndex = _this4.uploadCacheList.findIndex(function (ele) {\n return ele.raw === file;\n });\n var index = _this4.uploadList.findIndex(function (ele) {\n return ele.raw === file;\n });\n if (cacheIndex !== -1) _this4.uploadCacheList.splice(cacheIndex, 1);\n if (index !== -1) _this4.uploadList.splice(index, 1);\n };\n var show = function show(data) {\n deleteUploadCacheFile();\n _this4.res = data || _this4.res;\n _this4.handleSuccess(_this4.res);\n };\n var hide = function hide(msg) {\n deleteUploadCacheFile();\n _this4.handleError(msg);\n };\n if (typeof this.httpRequest === \"function\") {\n deleteUploadCacheFile();\n this.httpRequest(config);\n return;\n }\n var fileSize = file.size / 1024;\n if (!this.validatenull(fileSize) && fileSize > this.fileSize) {\n deleteUploadCacheFile();\n this.handleSized(file, this.text);\n return;\n }\n var headers = _objectSpread(_objectSpread({}, this.headers), {}, {\n \"Content-Type\": \"multipart/form-data\"\n });\n //oss配置属性\n var oss,\n oss_config = {};\n var client = {};\n var param = new FormData();\n var done = function done() {\n _this4.oss ? fileState.loading = true : fileState.percentage = 0;\n var url = _this4.action;\n //附加属性\n for (var o in _this4.data) {\n param.append(o, _this4.data[o]);\n }\n var uploadFile;\n var handleUploadResult = function handleUploadResult(res) {\n _this4.res = {};\n if (_this4.isQiniuOss) {\n var key = res.data.key;\n res.data.url = oss_config.url + key;\n res.data.name = key;\n }\n _this4.res = Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"getAsVal\"])(_this4.isAliOss ? res : res.data, _this4.resKey);\n if (typeof _this4.uploadAfter === \"function\") {\n _this4.uploadAfter(_this4.res, show, hide, _this4.column);\n } else {\n show();\n }\n };\n var handleUploadError = function handleUploadError(error) {\n hide(error);\n };\n var uploadToDefault = function uploadToDefault() {\n _this4.$axios({\n url: url,\n method: \"post\",\n data: param,\n headers: headers,\n onUploadProgress: function onUploadProgress(progressEvent) {\n var complete = progressEvent.loaded / progressEvent.total * 100 | 0;\n if (fileState) fileState.percentage = complete;\n }\n }).then(handleUploadResult)[\"catch\"](handleUploadError);\n };\n var uploadToCos = function uploadToCos() {\n if (!window.COS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs(\"COS\");\n hide();\n return;\n }\n oss_config = _this4.cos || _this4.$AVUE.cos;\n oss = new COS({\n SecretId: oss_config.SecretId,\n SecretKey: oss_config.SecretKey\n });\n oss.uploadFile({\n Bucket: oss_config.Bucket,\n Region: oss_config.Region,\n Key: uploadFile.name,\n Body: uploadFile\n }, function (err, data) {\n if (err) {\n handleUploadError(err);\n } else {\n handleUploadResult({\n data: {\n name: data.ETag,\n url: location.protocol + '//' + data.Location\n }\n });\n }\n });\n };\n var uploadToQiniu = function uploadToQiniu() {\n if (!window.CryptoJS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs(\"CryptoJS\");\n hide();\n return;\n }\n oss_config = _this4.qiniu || _this4.$AVUE.qiniu;\n var token = Object(plugin_qiniu___WEBPACK_IMPORTED_MODULE_6__[\"getToken\"])(oss_config.AK, oss_config.SK, {\n scope: oss_config.scope,\n deadline: new Date().getTime() + oss_config.deadline * 3600\n });\n param.append(\"token\", token);\n url = oss_config.bucket;\n uploadToDefault();\n };\n var uploadToAliOss = function uploadToAliOss() {\n if (!window.OSS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs(\"AliOSS\");\n hide();\n return;\n }\n oss_config = _this4.ali || _this4.$AVUE.ali;\n client = Object(plugin_ali___WEBPACK_IMPORTED_MODULE_7__[\"getClient\"])(oss_config);\n client.put(uploadFile.name, uploadFile, {\n headers: _this4.headers\n }).then(handleUploadResult)[\"catch\"](handleUploadError);\n };\n var callback = function callback(newFile) {\n fileIndex = _this4.uploadCacheList.findIndex(function (ele) {\n return ele.raw === fileState;\n });\n if (fileIndex !== -1) {\n var list = _this4.uploadCacheList.splice(fileIndex, 1);\n _this4.uploadList = _this4.uploadList.concat(list);\n }\n uploadFile = newFile || file;\n param.append(_this4.fileName, uploadFile);\n if (_this4.isCosOss) {\n uploadToCos();\n } else if (_this4.isQiniuOss) {\n uploadToQiniu();\n } else if (_this4.isAliOss) {\n uploadToAliOss();\n } else {\n uploadToDefault();\n }\n };\n if (typeof _this4.uploadBefore === \"function\") {\n _this4.uploadBefore(file, callback, hide, _this4.column);\n } else {\n callback();\n }\n };\n if (Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"isMediaType\"])(file.name) != 'img') {\n done();\n } else {\n //处理水印图片\n var canvasDone = function canvasDone() {\n if (!_this4.validatenull(_this4.canvasOption)) {\n Object(plugin_canvas___WEBPACK_IMPORTED_MODULE_5__[\"detailImg\"])(file, _this4.canvasOption).then(function (res) {\n file = res;\n done();\n });\n } else {\n done();\n }\n };\n //处理图片剪裁\n var canvasCrop = function canvasCrop() {\n Object(plugin_canvas___WEBPACK_IMPORTED_MODULE_5__[\"fileToBase64\"])(file, function (res) {\n var option = Object.assign(_this4.cropperOption, {\n img: res,\n type: 'file',\n callback: function callback(res) {\n file = res;\n canvasDone();\n },\n cancel: function cancel() {\n if (fileState) _this4.uploadList.splice(fileIndex, 1);\n }\n });\n _this4.$ImageCropper(option);\n });\n };\n if (!this.validatenull(this.cropperOption)) {\n canvasCrop();\n } else {\n canvasDone();\n }\n }\n },\n handleSized: function handleSized(files, fileList) {\n this.uploadSized && this.uploadSized(this.fileSize, files, fileList, this.column);\n this.handleError('size');\n },\n handleExceed: function handleExceed(files, fileList) {\n this.uploadExceed && this.uploadExceed(this.limit, files, fileList, this.column);\n this.handleError('exceed');\n },\n handlePreview: function handlePreview(file) {\n var _this5 = this;\n if (isFileReady(file)) return;\n var callback = function callback() {\n var index = _this5.fileList.findIndex(function (ele) {\n return ele.url === file.url;\n });\n _this5.$ImagePreview(_this5.fileList, index);\n };\n if (typeof this.uploadPreview === \"function\") {\n this.uploadPreview(file, this.column, callback);\n } else {\n callback();\n }\n },\n beforeRemove: function beforeRemove(file) {\n if (typeof this.uploadDelete === \"function\") {\n return this.uploadDelete(file, this.column);\n } else {\n return Promise.resolve();\n }\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/upload/index.vue?./node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.24.0_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options");
1049
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/create */ \"./src/core/create.js\");\n/* harmony import */ var common_common_props_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! common/common/props.js */ \"./packages/core/common/props.js\");\n/* harmony import */ var common_common_event_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/common/event.js */ \"./packages/core/common/event.js\");\n/* harmony import */ var core_locale__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core/locale */ \"./src/core/locale.js\");\n/* harmony import */ var utils_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! utils/util */ \"./src/utils/util.js\");\n/* harmony import */ var plugin_canvas___WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! plugin/canvas/ */ \"./src/plugin/canvas/index.js\");\n/* harmony import */ var plugin_qiniu___WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! plugin/qiniu/ */ \"./src/plugin/qiniu/index.js\");\n/* harmony import */ var plugin_ali___WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! plugin/ali/ */ \"./src/plugin/ali/index.js\");\n/* harmony import */ var core_packages__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core/packages */ \"./src/core/packages.js\");\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n\n\n\n\n\n\n\n\n\nfunction getFileUrl(home) {\n var uri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n return uri.match(/(^http:\\/\\/|^https:\\/\\/|^\\/\\/|data:image\\/)/) ? uri : home + uri;\n}\n;\nvar FILE_STATUS_READY = 'ready';\nvar FILE_STATUS_DONE = 'done';\nfunction isFileReady(file) {\n return file.status === FILE_STATUS_READY;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n name: 'upload',\n mixins: [Object(common_common_props_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(), Object(common_common_event_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), core_locale__WEBPACK_IMPORTED_MODULE_3__[\"default\"]],\n data: function data() {\n return {\n uploadCacheList: [],\n uploadList: [],\n res: '',\n menu: false,\n reload: Math.random()\n };\n },\n props: {\n qiniu: Object,\n ali: Object,\n data: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n paramsList: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n showFileList: {\n type: Boolean,\n \"default\": true\n },\n fileText: String,\n fileType: {\n type: String\n },\n oss: {\n type: String\n },\n limit: {\n type: Number\n },\n headers: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n accept: {\n type: [String, Array],\n \"default\": ''\n },\n canvasOption: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n cropperOption: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n fileSize: {\n type: Number\n },\n dragFile: {\n type: Boolean,\n \"default\": false\n },\n drag: {\n type: Boolean,\n \"default\": false\n },\n loadText: {\n type: String,\n \"default\": 'Loading...'\n },\n action: {\n type: String,\n \"default\": ''\n },\n uploadSized: Function,\n uploadBefore: Function,\n uploadAfter: Function,\n uploadDelete: Function,\n uploadPreview: Function,\n uploadError: Function,\n uploadExceed: Function,\n httpRequest: Function\n },\n computed: {\n isObject: function isObject() {\n var obj = this.text[0];\n return _typeof(obj) === 'object' || this.dataType == 'object' || this.isJson;\n },\n acceptList: function acceptList() {\n if (Array.isArray(this.accept)) {\n return this.accept.join(',');\n }\n return this.accept;\n },\n homeUrl: function homeUrl() {\n return this.propsHttp.home || '';\n },\n fileName: function fileName() {\n return this.propsHttp.fileName || 'file';\n },\n isCosOss: function isCosOss() {\n return this.oss === 'cos';\n },\n isAliOss: function isAliOss() {\n return this.oss === 'ali';\n },\n isQiniuOss: function isQiniuOss() {\n return this.oss === 'qiniu';\n },\n isPictureImg: function isPictureImg() {\n return this.listType === 'picture-img';\n },\n firstFile: function firstFile() {\n return this.fileList[0] || {};\n },\n fileList: function fileList() {\n var _this = this;\n var list = [];\n var parseFile = function parseFile(ele) {\n var name, url, type;\n if (_this.isObject) {\n name = ele[_this.labelKey];\n url = ele[_this.valueKey];\n type = ele[_this.typeKey] || _this.isMediaType(url);\n } else {\n name = ele.substring(ele.lastIndexOf('/') + 1);\n url = ele;\n type = _this.isMediaType(url);\n }\n url = getFileUrl(_this.homeUrl, url);\n return {\n name: name,\n url: url,\n type: type\n };\n };\n this.text.forEach(function (ele, index) {\n if (ele) {\n var _parseFile = parseFile(ele),\n name = _parseFile.name,\n url = _parseFile.url,\n type = _parseFile.type;\n list.push({\n uid: index + '',\n status: FILE_STATUS_DONE,\n type: type,\n name: name,\n url: url\n });\n }\n });\n return list.concat(this.uploadList);\n }\n },\n mounted: function mounted() {\n if (this.drag) {\n this.setSort();\n }\n },\n methods: {\n handleMouseover: function handleMouseover() {\n this.menu = true;\n },\n handleMouseout: function handleMouseout() {\n this.menu = false;\n },\n showProgress: function showProgress(file) {\n return isFileReady(file) && !this.oss;\n },\n isMediaType: function isMediaType(url) {\n return Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"isMediaType\"])(url, this.fileType);\n },\n setSort: function setSort() {\n var _this2 = this;\n if (!window.Sortable) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs('Sortable');\n return;\n }\n var el = this.$el.querySelectorAll('.avue-upload > ul')[0];\n window.Sortable.create(el, {\n animation: 100,\n onEnd: function onEnd(evt) {\n var targetRow = _this2.text.splice(evt.oldIndex, 1)[0];\n _this2.text.splice(evt.newIndex, 0, targetRow);\n _this2.reload = Math.random();\n _this2.$nextTick(function () {\n return _this2.setSort();\n });\n }\n });\n },\n handleError: function handleError(error) {\n if (error) this.uploadError && this.uploadError(error, this.column);\n },\n handleSuccess: function handleSuccess(file) {\n if (this.isObject) {\n var obj = _defineProperty(_defineProperty(_defineProperty({}, this.labelKey, file[this.nameKey]), this.valueKey, file[this.urlKey]), this.typeKey, file[this.fileTypeKey]);\n this.paramsList.forEach(function (ele) {\n return obj[ele.label] = file[ele.value];\n });\n this.text.push(obj);\n } else {\n this.text.push(file[this.urlKey]);\n }\n },\n handleRemove: function handleRemove(file) {\n var _this3 = this;\n if (isFileReady(file)) {\n var index = this.uploadList.findIndex(function (ele) {\n return ele.raw == file;\n });\n this.uploadList.splice(index, 1);\n } else {\n this.beforeRemove(file).then(function () {\n _this3.text.forEach(function (ele, index) {\n var url = _this3.isObject ? ele[_this3.valueKey] : ele;\n if (getFileUrl(_this3.homeUrl, url) === file.url) {\n _this3.text.splice(index, 1);\n }\n });\n });\n }\n },\n handleFileChange: function handleFileChange(file, fileList) {\n fileList.pop();\n this.uploadCacheList.push(file);\n },\n httpUpload: function httpUpload(config) {\n var _this4 = this;\n var file = config.file;\n var fileIndex = this.uploadCacheList.findIndex(function (ele) {\n return ele.raw === file;\n });\n var fileState = this.uploadCacheList[fileIndex] || {};\n var deleteUploadCacheFile = function deleteUploadCacheFile() {\n var cacheIndex = _this4.uploadCacheList.findIndex(function (ele) {\n return ele.raw === file;\n });\n var index = _this4.uploadList.findIndex(function (ele) {\n return ele.raw === file;\n });\n if (cacheIndex !== -1) _this4.uploadCacheList.splice(cacheIndex, 1);\n if (index !== -1) _this4.uploadList.splice(index, 1);\n };\n var show = function show(data) {\n deleteUploadCacheFile();\n _this4.res = data || _this4.res;\n _this4.handleSuccess(_this4.res);\n };\n var hide = function hide(msg) {\n deleteUploadCacheFile();\n _this4.handleError(msg);\n };\n if (typeof this.httpRequest === 'function') {\n deleteUploadCacheFile();\n this.httpRequest(config);\n return;\n }\n var fileSize = file.size / 1024;\n if (!this.validatenull(fileSize) && fileSize > this.fileSize) {\n deleteUploadCacheFile();\n this.handleSized(file, this.text);\n return;\n }\n var headers = _objectSpread(_objectSpread({}, this.headers), {}, {\n 'Content-Type': 'multipart/form-data'\n });\n // oss配置属性\n var oss,\n oss_config = {};\n var client = {};\n var param = new FormData();\n var done = function done() {\n _this4.oss ? fileState.loading = true : fileState.percentage = 0;\n var url = _this4.action;\n // 附加属性\n for (var o in _this4.data) {\n param.append(o, _this4.data[o]);\n }\n var uploadFile;\n var handleUploadResult = function handleUploadResult(res) {\n _this4.res = {};\n if (_this4.isQiniuOss) {\n var key = res.data.key;\n res.data.url = oss_config.url + key;\n res.data.name = key;\n }\n _this4.res = Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"getAsVal\"])(_this4.isAliOss ? res : res.data, _this4.resKey);\n if (typeof _this4.uploadAfter === 'function') {\n _this4.uploadAfter(_this4.res, show, hide, _this4.column);\n } else {\n show();\n }\n };\n var handleUploadError = function handleUploadError(error) {\n hide(error);\n };\n var uploadToDefault = function uploadToDefault() {\n _this4.$axios({\n url: url,\n method: 'post',\n data: param,\n headers: headers,\n onUploadProgress: function onUploadProgress(progressEvent) {\n var complete = progressEvent.loaded / progressEvent.total * 100 | 0;\n if (fileState) fileState.percentage = complete;\n }\n }).then(handleUploadResult)[\"catch\"](handleUploadError);\n };\n var uploadToCos = function uploadToCos() {\n if (!window.COS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs('COS');\n hide();\n return;\n }\n oss_config = _this4.cos || _this4.$AVUE.cos;\n oss = new COS({\n SecretId: oss_config.SecretId,\n SecretKey: oss_config.SecretKey\n });\n oss.uploadFile({\n Bucket: oss_config.Bucket,\n Region: oss_config.Region,\n Key: uploadFile.name,\n Body: uploadFile\n }, function (err, data) {\n if (err) {\n handleUploadError(err);\n } else {\n handleUploadResult({\n data: {\n name: data.ETag,\n url: location.protocol + '//' + data.Location\n }\n });\n }\n });\n };\n var uploadToQiniu = function uploadToQiniu() {\n if (!window.CryptoJS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs('CryptoJS');\n hide();\n return;\n }\n oss_config = _this4.qiniu || _this4.$AVUE.qiniu;\n var token = Object(plugin_qiniu___WEBPACK_IMPORTED_MODULE_6__[\"getToken\"])(oss_config.AK, oss_config.SK, {\n scope: oss_config.scope,\n deadline: new Date().getTime() + oss_config.deadline * 3600\n });\n param.append('token', token);\n url = oss_config.bucket;\n uploadToDefault();\n };\n var uploadToAliOss = function uploadToAliOss() {\n if (!window.OSS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs('AliOSS');\n hide();\n return;\n }\n oss_config = _this4.ali || _this4.$AVUE.ali;\n client = Object(plugin_ali___WEBPACK_IMPORTED_MODULE_7__[\"getClient\"])(oss_config);\n client.put(uploadFile.name, uploadFile, {\n headers: _this4.headers\n }).then(handleUploadResult)[\"catch\"](handleUploadError);\n };\n var callback = function callback(newFile) {\n fileIndex = _this4.uploadCacheList.findIndex(function (ele) {\n return ele.raw === file;\n });\n if (fileIndex !== -1) {\n var list = _this4.uploadCacheList.splice(fileIndex, 1);\n _this4.uploadList = _this4.uploadList.concat(list);\n }\n uploadFile = newFile || file;\n param.append(_this4.fileName, uploadFile);\n if (_this4.isCosOss) {\n uploadToCos();\n } else if (_this4.isQiniuOss) {\n uploadToQiniu();\n } else if (_this4.isAliOss) {\n uploadToAliOss();\n } else {\n uploadToDefault();\n }\n };\n if (typeof _this4.uploadBefore === 'function') {\n _this4.uploadBefore(file, callback, hide, _this4.column);\n } else {\n callback();\n }\n };\n if (Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"isMediaType\"])(file.name) != 'img') {\n done();\n } else {\n // 处理水印图片\n var canvasDone = function canvasDone() {\n if (!_this4.validatenull(_this4.canvasOption)) {\n Object(plugin_canvas___WEBPACK_IMPORTED_MODULE_5__[\"detailImg\"])(file, _this4.canvasOption).then(function (res) {\n file = res;\n done();\n });\n } else {\n done();\n }\n };\n // 处理图片剪裁\n var canvasCrop = function canvasCrop() {\n Object(plugin_canvas___WEBPACK_IMPORTED_MODULE_5__[\"fileToBase64\"])(file, function (res) {\n var option = Object.assign(_this4.cropperOption, {\n img: res,\n type: 'file',\n callback: function callback(res) {\n file = res;\n canvasDone();\n },\n cancel: function cancel() {\n deleteUploadCacheFile();\n }\n });\n _this4.$ImageCropper(option);\n });\n };\n if (!this.validatenull(this.cropperOption)) {\n canvasCrop();\n } else {\n canvasDone();\n }\n }\n },\n handleSized: function handleSized(files, fileList) {\n this.uploadSized && this.uploadSized(this.fileSize, files, fileList, this.column);\n this.handleError('size');\n },\n handleExceed: function handleExceed(files, fileList) {\n this.uploadExceed && this.uploadExceed(this.limit, files, fileList, this.column);\n this.handleError('exceed');\n },\n handlePreview: function handlePreview(file) {\n var _this5 = this;\n if (isFileReady(file)) return;\n var callback = function callback() {\n var index = _this5.fileList.findIndex(function (ele) {\n return ele.url === file.url;\n });\n _this5.$ImagePreview(_this5.fileList, index);\n };\n if (typeof this.uploadPreview === 'function') {\n this.uploadPreview(file, this.column, callback);\n } else {\n callback();\n }\n },\n beforeRemove: function beforeRemove(file) {\n if (typeof this.uploadDelete === 'function') {\n return this.uploadDelete(file, this.column);\n } else {\n return Promise.resolve();\n }\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/upload/index.vue?./node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.24.0_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options");
1050
1050
 
1051
1051
  /***/ }),
1052
1052
 
@@ -2042,9 +2042,9 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
2042
2042
 
2043
2043
  /***/ }),
2044
2044
 
2045
- /***/ "./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/index.js?!./packages/element-ui/upload/index.vue?vue&type=template&id=129ee0ec":
2045
+ /***/ "./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/index.js?!./packages/element-ui/upload/index.vue?vue&type=template&id=76cdee7d":
2046
2046
  /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
2047
- !*** ./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/upload/index.vue?vue&type=template&id=129ee0ec ***!
2047
+ !*** ./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/upload/index.vue?vue&type=template&id=76cdee7d ***!
2048
2048
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************/
2049
2049
  /*! exports provided: render, staticRenderFns */
2050
2050
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -5038,7 +5038,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
5038
5038
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5039
5039
 
5040
5040
  "use strict";
5041
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _index_vue_vue_type_template_id_129ee0ec__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=129ee0ec */ \"./packages/element-ui/upload/index.vue?vue&type=template&id=129ee0ec\");\n/* harmony import */ var _index_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js */ \"./packages/element-ui/upload/index.vue?vue&type=script&lang=js\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _index_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _index_vue_vue_type_template_id_129ee0ec__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _index_vue_vue_type_template_id_129ee0ec__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n null,\n null\n \n)\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/upload/index.vue?");
5041
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _index_vue_vue_type_template_id_76cdee7d__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=76cdee7d */ \"./packages/element-ui/upload/index.vue?vue&type=template&id=76cdee7d\");\n/* harmony import */ var _index_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js */ \"./packages/element-ui/upload/index.vue?vue&type=script&lang=js\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _index_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _index_vue_vue_type_template_id_76cdee7d__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _index_vue_vue_type_template_id_76cdee7d__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n null,\n null\n \n)\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/upload/index.vue?");
5042
5042
 
5043
5043
  /***/ }),
5044
5044
 
@@ -5054,15 +5054,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
5054
5054
 
5055
5055
  /***/ }),
5056
5056
 
5057
- /***/ "./packages/element-ui/upload/index.vue?vue&type=template&id=129ee0ec":
5057
+ /***/ "./packages/element-ui/upload/index.vue?vue&type=template&id=76cdee7d":
5058
5058
  /*!****************************************************************************!*\
5059
- !*** ./packages/element-ui/upload/index.vue?vue&type=template&id=129ee0ec ***!
5059
+ !*** ./packages/element-ui/upload/index.vue?vue&type=template&id=76cdee7d ***!
5060
5060
  \****************************************************************************/
5061
5061
  /*! exports provided: render, staticRenderFns */
5062
5062
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5063
5063
 
5064
5064
  "use strict";
5065
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_129ee0ec__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=template&id=129ee0ec */ \"./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/index.js?!./packages/element-ui/upload/index.vue?vue&type=template&id=129ee0ec\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_129ee0ec__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_129ee0ec__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/upload/index.vue?");
5065
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_76cdee7d__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=template&id=76cdee7d */ \"./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@5.2.7_webpack@4.47.0/node_modules/vue-loader/lib/index.js?!./packages/element-ui/upload/index.vue?vue&type=template&id=76cdee7d\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_76cdee7d__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_pnpm_vue_loader_15_11_1_css_loader_5_2_7_webpack_4_47_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_76cdee7d__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/upload/index.vue?");
5066
5066
 
5067
5067
  /***/ }),
5068
5068
 
@@ -5542,7 +5542,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
5542
5542
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5543
5543
 
5544
5544
  "use strict";
5545
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nvar version = '2.12.3';\n\n//# sourceURL=webpack://AVUE/./src/version.js?");
5545
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nvar version = '2.12.4';\n\n//# sourceURL=webpack://AVUE/./src/version.js?");
5546
5546
 
5547
5547
  /***/ }),
5548
5548