@smallwei/avue 2.10.18 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/avue.js +28 -28
- package/lib/avue.min.js +3 -3
- package/lib/index.css +1 -1
- package/package.json +1 -1
- package/lib/.DS_Store +0 -0
package/lib/avue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Avue.js v2.
|
2
|
+
* Avue.js v2.11.0
|
3
3
|
* (c) 2017-2023 Smallwei
|
4
4
|
* Released under the MIT License.
|
5
5
|
*
|
@@ -758,7 +758,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
|
|
758
758
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
759
759
|
|
760
760
|
"use strict";
|
761
|
-
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\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n name: \"input-table\",\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 object:
|
761
|
+
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\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n name: \"input-table\",\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 object: [],\n active: [],\n search: {},\n page: {},\n loading: false,\n box: false,\n created: false,\n data: []\n };\n },\n props: {\n prefixIcon: {\n type: String\n },\n suffixIcon: {\n type: String\n },\n formatter: Function,\n onLoad: Function,\n children: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n dialogWidth: {\n type: String,\n \"default\": '80%'\n }\n },\n watch: {\n value: function value(val) {\n if (this.validatenull(val)) {\n this.active = [];\n this.object = [];\n }\n },\n text: function text(val) {\n var _this = this;\n if (this.created || this.validatenull(val)) return;\n if (typeof this.onLoad == 'function') {\n this.onLoad({\n value: this.text\n }, function (data) {\n var result = Array.isArray(data) ? data : [data];\n _this.active = result;\n _this.object = result;\n _this.created = true;\n });\n }\n }\n },\n computed: {\n isMultiple: function isMultiple() {\n return this.multiple;\n },\n title: function title() {\n return this.disabled || this.readonly ? \"查看\" : '选择';\n },\n labelShow: function labelShow() {\n var _this2 = this;\n if (typeof this.formatter == 'function') {\n return this.formatter(this.isMultiple ? this.object : this.object[0] || {});\n }\n return this.object.map(function (ele) {\n return ele[_this2.labelKey];\n }).join(',');\n },\n option: function option() {\n return Object.assign({\n menu: false,\n header: false,\n size: this.size,\n headerAlign: 'center',\n align: 'center',\n highlightCurrentRow: !this.isMultiple,\n reserveSelection: this.isMultiple,\n selection: this.isMultiple,\n selectable: function selectable(row, index) {\n return !row.disabled;\n }\n }, this.children);\n }\n },\n methods: {\n handleSelectionChange: function handleSelectionChange(val) {\n this.active = val;\n },\n handleClear: function handleClear() {\n this.active = [];\n this.setVal();\n },\n handleShow: function handleShow() {\n this.$refs.main.blur();\n if (this.disabled || this.readonly) return;\n this.search = {};\n this.page = {\n currentPage: 1,\n total: 0\n };\n this.data = [];\n this.box = true;\n },\n setVal: function setVal() {\n var _this3 = this;\n this.object = this.active;\n this.text = this.active.map(function (ele) {\n return ele[_this3.valueKey];\n });\n this.box = false;\n },\n handleRowClassName: function handleRowClassName(_ref) {\n var row = _ref.row,\n rowIndex = _ref.rowIndex;\n if (row[this.disabledKey]) return 'disabled';\n },\n handleCurrentRowChange: function handleCurrentRowChange(val) {\n if (this.isMultiple) {\n this.$refs.crud.setCurrentRow(null);\n } else {\n if (val[this.disabledKey]) {\n this.$refs.crud.setCurrentRow(this.active[0]);\n } else {\n this.active = [val];\n }\n }\n },\n handleSearchChange: function handleSearchChange(form, done) {\n this.page.page = 1;\n this.onList();\n done && done();\n },\n onList: function onList() {\n var _this4 = this;\n this.loading = true;\n if (typeof this.onLoad == 'function') {\n this.onLoad({\n page: this.page,\n data: this.search\n }, function (data) {\n _this4.page.total = data.total;\n _this4.data = data.data;\n _this4.loading = false;\n if (_this4.isMultiple) {\n var ids = _this4.object.map(function (ele) {\n return ele[_this4.valueKey];\n });\n var _data = _this4.data.filter(function (ele) {\n return ids.includes(ele[_this4.valueKey]);\n });\n console.log(_data);\n _this4.$nextTick(function () {\n _this4.$refs.crud.toggleSelection(_data);\n });\n } else {\n var active = _this4.data.find(function (ele) {\n return ele[_this4.valueKey] == _this4.text;\n });\n setTimeout(function () {\n return _this4.$refs.crud.setCurrentRow(active);\n });\n }\n });\n }\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/input-table/index.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options");
|
762
762
|
|
763
763
|
/***/ }),
|
764
764
|
|
@@ -890,7 +890,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
|
|
890
890
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
891
891
|
|
892
892
|
"use strict";
|
893
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_packages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/packages */ \"./src/core/packages.js\");\n/* harmony import */ var core_create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/create */ \"./src/core/create.js\");\n/* harmony import */ var common_common_props_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/common/props.js */ \"./packages/core/common/props.js\");\n/* harmony import */ var common_common_event_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/common/event.js */ \"./packages/core/common/event.js\");\n/* harmony import */ var core_dic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core/dic */ \"./src/core/dic.js\");\n/* harmony import */ var global_variable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! global/variable */ \"./src/global/variable.js\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n name: \"select\",\n mixins: [Object(common_common_props_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), Object(common_common_event_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])()],\n data: function data() {\n return {\n checked: false,\n indeterminate: false,\n created: false,\n netDic: [],\n loading: false\n };\n },\n props: {\n loadingText: {\n type: String\n },\n noMatchText: {\n type: String\n },\n noDataText: {\n type: String\n },\n drag: {\n type: Boolean,\n \"default\": false\n },\n remote: {\n type: Boolean,\n \"default\": false\n },\n tags: {\n type: Boolean,\n \"default\": false\n },\n limit: {\n type: Number,\n \"default\": 0\n },\n filterable: {\n type: Boolean,\n \"default\": false\n },\n allowCreate: {\n type: Boolean,\n \"default\": false\n },\n defaultFirstOption: {\n type: Boolean,\n \"default\": false\n },\n all: {\n type: Boolean,\n \"default\": false\n },\n popperAppendToBody: {\n type: Boolean,\n \"default\": true\n }\n },\n watch: {\n text: function text(val) {\n if (!this.validatenull(val)) {\n if (this.remote && !this.created) {\n this.created = true;\n this.handleRemoteMethod(this.multiple ? this.text.join(global_variable__WEBPACK_IMPORTED_MODULE_5__[\"DIC_SPLIT\"]) : this.text);\n }\n }\n if (this.multiple) {\n if (this.text.length == 0) {\n this.checked = false;\n this.indeterminate = false;\n } else if (this.text.length == this.netDic.length) {\n this.checked = true;\n this.indeterminate = false;\n } else {\n this.checked = false;\n this.indeterminate = true;\n }\n }\n },\n dic: {\n handler: function handler(val) {\n this.netDic = val;\n },\n immediate: true\n }\n },\n mounted: function mounted() {\n if (this.drag) {\n this.setSort();\n }\n },\n methods: {\n setSort: function setSort() {\n var _this = this;\n if (!window.Sortable) {\n core_packages__WEBPACK_IMPORTED_MODULE_0__[\"default\"].logs('Sortable');\n return;\n }\n var el = this.$refs.main.$el.querySelectorAll('.el-select__tags > span')[0];\n window.Sortable.create(el, {\n animation: 100,\n onEnd: function onEnd(evt) {\n var targetRow = _this.value.splice(evt.oldIndex, 1)[0];\n _this.value.splice(evt.newIndex, 0, targetRow);\n }\n });\n },\n handleRemoteMethod: function handleRemoteMethod(query) {\n var _this2 = this;\n this.loading = true;\n Object(core_dic__WEBPACK_IMPORTED_MODULE_4__[\"sendDic\"])({\n column: this.column,\n value: query\n }).then(function (res) {\n _this2.loading = false;\n _this2.netDic = res;\n });\n },\n checkChange: function checkChange(val) {\n var _this3 = this;\n this.text = [];\n this.checked = val;\n this.indeterminate = false;\n if (val) {\n this.text = this.netDic.map(function (ele) {\n return ele[_this3.valueKey];\n });\n }\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/select/index.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options");
|
893
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_packages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/packages */ \"./src/core/packages.js\");\n/* harmony import */ var core_create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/create */ \"./src/core/create.js\");\n/* harmony import */ var common_common_props_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/common/props.js */ \"./packages/core/common/props.js\");\n/* harmony import */ var common_common_event_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/common/event.js */ \"./packages/core/common/event.js\");\n/* harmony import */ var core_dic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core/dic */ \"./src/core/dic.js\");\n/* harmony import */ var global_variable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! global/variable */ \"./src/global/variable.js\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n name: \"select\",\n mixins: [Object(common_common_props_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), Object(common_common_event_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])()],\n data: function data() {\n return {\n checked: false,\n indeterminate: false,\n created: false,\n netDic: [],\n loading: false\n };\n },\n props: {\n loadingText: {\n type: String\n },\n noMatchText: {\n type: String\n },\n noDataText: {\n type: String\n },\n drag: {\n type: Boolean,\n \"default\": false\n },\n remote: {\n type: Boolean,\n \"default\": false\n },\n tags: {\n type: Boolean,\n \"default\": false\n },\n limit: {\n type: Number,\n \"default\": 0\n },\n filterable: {\n type: Boolean,\n \"default\": false\n },\n allowCreate: {\n type: Boolean,\n \"default\": false\n },\n defaultFirstOption: {\n type: Boolean,\n \"default\": false\n },\n all: {\n type: Boolean,\n \"default\": false\n },\n popperAppendToBody: {\n type: Boolean,\n \"default\": true\n }\n },\n computed: {\n classNameKey: function classNameKey() {\n return this.props.className || 'className';\n }\n },\n watch: {\n text: function text(val) {\n if (!this.validatenull(val)) {\n if (this.remote && !this.created) {\n this.created = true;\n this.handleRemoteMethod(this.multiple ? this.text.join(global_variable__WEBPACK_IMPORTED_MODULE_5__[\"DIC_SPLIT\"]) : this.text);\n }\n }\n if (this.multiple) {\n if (this.text.length == 0) {\n this.checked = false;\n this.indeterminate = false;\n } else if (this.text.length == this.netDic.length) {\n this.checked = true;\n this.indeterminate = false;\n } else {\n this.checked = false;\n this.indeterminate = true;\n }\n }\n },\n dic: {\n handler: function handler(val) {\n this.netDic = val;\n },\n immediate: true\n }\n },\n mounted: function mounted() {\n if (this.drag) {\n this.setSort();\n }\n },\n methods: {\n setSort: function setSort() {\n var _this = this;\n if (!window.Sortable) {\n core_packages__WEBPACK_IMPORTED_MODULE_0__[\"default\"].logs('Sortable');\n return;\n }\n var el = this.$refs.main.$el.querySelectorAll('.el-select__tags > span')[0];\n window.Sortable.create(el, {\n animation: 100,\n onEnd: function onEnd(evt) {\n var targetRow = _this.value.splice(evt.oldIndex, 1)[0];\n _this.value.splice(evt.newIndex, 0, targetRow);\n }\n });\n },\n handleRemoteMethod: function handleRemoteMethod(query) {\n var _this2 = this;\n this.loading = true;\n Object(core_dic__WEBPACK_IMPORTED_MODULE_4__[\"sendDic\"])({\n column: this.column,\n value: query\n }).then(function (res) {\n _this2.loading = false;\n _this2.netDic = res;\n });\n },\n checkChange: function checkChange(val) {\n var _this3 = this;\n this.text = [];\n this.checked = val;\n this.indeterminate = false;\n if (val) {\n this.text = this.netDic.map(function (ele) {\n return ele[_this3.valueKey];\n });\n }\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/select/index.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options");
|
894
894
|
|
895
895
|
/***/ }),
|
896
896
|
|
@@ -1010,7 +1010,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var glob
|
|
1010
1010
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1011
1011
|
|
1012
1012
|
"use strict";
|
1013
|
-
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 _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\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;\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 res: '',\n loading: false,\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 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 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';\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 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 //单个头像图片\n imgUrl: function imgUrl() {\n if (!this.validatenull(this.text)) {\n return getFileUrl(this.homeUrl, this.text[0]);\n }\n },\n fileList: function fileList() {\n var _this = this;\n var list = [];\n (this.text || []).forEach(function (ele, index) {\n if (ele) {\n var name = _this.isObject ? ele[_this.labelKey] : ele.substring(ele.lastIndexOf('/') + 1);\n var url = _this.isObject ? ele[_this.valueKey] : ele;\n url = getFileUrl(_this.homeUrl, url);\n list.push({\n uid: index + '',\n status: 'done',\n type: _this.isMediaType(url),\n name: name,\n url: url\n });\n }\n });\n return list;\n }\n },\n mounted: function mounted() {\n if (this.drag) {\n this.setSort();\n }\n },\n methods: {\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 handleSuccess: function handleSuccess(file) {\n if (this.isPictureImg) {\n this.text.splice(0, 1, file[this.urlKey]);\n } else if (this.isObject) {\n var obj = {};\n obj[this.labelKey] = file[this.nameKey];\n obj[this.valueKey] = file[this.urlKey];\n this.text.push(obj);\n } else {\n this.text.push(file[this.urlKey]);\n }\n },\n handleRemove: function handleRemove(file, fileList) {\n var _this3 = this;\n this.beforeRemove(file).then(function () {\n _this3[\"delete\"](file);\n });\n },\n handleError: function handleError(error) {\n this.uploadError && this.uploadError(error, this.column);\n },\n \"delete\": function _delete(file) {\n var _this4 = this;\n (this.text || []).forEach(function (ele, index) {\n var url = _this4.isObject ? ele[_this4.valueKey] : ele;\n if (getFileUrl(_this4.homeUrl, url) === file.url) {\n _this4.text.splice(index, 1);\n }\n });\n },\n show: function show(data) {\n this.loading = false;\n this.res = data || this.res;\n this.handleSuccess(this.res);\n },\n hide: function hide(msg) {\n this.loading = false;\n if (msg) this.handleError(msg);\n },\n handleFileChange: function handleFileChange(file, fileList) {\n fileList.splice(fileList.length - 1, 1);\n },\n httpUpload: function httpUpload(config) {\n var _this5 = this;\n if (typeof this.httpRequest === \"function\") {\n this.httpRequest(config);\n return;\n }\n this.loading = true;\n var file = config.file;\n var fileSize = file.size / 1024;\n if (!this.validatenull(fileSize) && fileSize > this.fileSize) {\n this.hide(\"文件太大不符合\");\n return;\n }\n var headers = Object.assign(this.headers, {\n \"Content-Type\": \"multipart/form-data\"\n });\n //oss配置属性\n var oss_config = {};\n var client = {};\n var param = new FormData();\n var done = function done() {\n var callback = function callback(newFile) {\n var url = _this5.action;\n //附加属性\n for (var o in _this5.data) {\n param.append(o, _this5.data[o]);\n }\n var uploadFile = newFile || file;\n param.append(_this5.fileName, uploadFile);\n //七牛云oss存储\n if (_this5.isQiniuOss) {\n if (!window.CryptoJS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs(\"CryptoJS\");\n _this5.hide();\n return;\n }\n oss_config = _this5.qiniu || _this5.$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 } else if (_this5.isAliOss) {\n if (!window.OSS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs(\"AliOSS\");\n _this5.hide();\n return;\n }\n oss_config = _this5.ali || _this5.$AVUE.ali;\n client = Object(plugin_ali___WEBPACK_IMPORTED_MODULE_7__[\"getClient\"])(oss_config);\n }\n (function () {\n if (_this5.isAliOss) {\n return client.put(uploadFile.name, uploadFile, {\n headers: _this5.headers\n });\n } else {\n return _this5.$axios.post(url, param, {\n headers: headers\n });\n }\n })().then(function (res) {\n _this5.res = {};\n if (_this5.isQiniuOss) {\n res.data.key = oss_config.url + res.data.key;\n }\n _this5.res = Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"getAsVal\"])(_this5.isAliOss ? res : res.data, _this5.resKey);\n if (typeof _this5.uploadAfter === \"function\") {\n _this5.uploadAfter(_this5.res, _this5.show, _this5.hide, _this5.column);\n } else {\n _this5.show();\n }\n })[\"catch\"](function (error) {\n _this5.hide(error);\n });\n };\n if (typeof _this5.uploadBefore === \"function\") {\n _this5.uploadBefore(file, callback, _this5.hide, _this5.column);\n } else {\n callback();\n }\n };\n if (Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"isMediaType\"])(file.name) != 'img') {\n done();\n return;\n }\n //处理水印图片\n var canvasDone = function canvasDone() {\n if (!_this5.validatenull(_this5.canvasOption)) {\n Object(plugin_canvas___WEBPACK_IMPORTED_MODULE_5__[\"detailImg\"])(file, _this5.canvasOption, function (res) {\n file = res;\n done();\n });\n } else {\n done();\n }\n };\n //处理图片剪裁\n if (!this.validatenull(this.cropperOption)) {\n Object(plugin_canvas___WEBPACK_IMPORTED_MODULE_5__[\"fileToBase64\"])(file, function (res) {\n var option = Object.assign(_this5.cropperOption, {\n img: res,\n type: 'file',\n callback: function callback(res) {\n file = res;\n canvasDone();\n },\n cancel: function cancel() {\n _this5.loading = false;\n }\n });\n _this5.$ImageCropper(option);\n });\n } else {\n canvasDone();\n }\n },\n handleExceed: function handleExceed(files, fileList) {\n this.uploadExceed && this.uploadExceed(this.limit, files, fileList, this.column);\n },\n handlePreview: function handlePreview(file) {\n var _this6 = this;\n var callback = function callback() {\n var index = _this6.fileList.findIndex(function (ele) {\n return ele.url === file.url;\n });\n _this6.$ImagePreview(_this6.fileList, index);\n };\n if (typeof this.uploadPreview === \"function\") {\n this.uploadPreview(file, this.column, callback);\n } else {\n callback();\n }\n },\n handleDelete: function handleDelete(file) {\n var _this7 = this;\n this.beforeRemove(file).then(function () {\n _this7.text = [];\n _this7.menu = false;\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/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options");
|
1013
|
+
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 _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\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;\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 res: '',\n loading: false,\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 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 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';\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 //单个头像图片\n imgUrl: function imgUrl() {\n if (!this.validatenull(this.text)) {\n return getFileUrl(this.homeUrl, this.text[0]);\n }\n },\n fileList: function fileList() {\n var _this = this;\n var list = [];\n (this.text || []).forEach(function (ele, index) {\n if (ele) {\n var name = _this.isObject ? ele[_this.labelKey] : ele.substring(ele.lastIndexOf('/') + 1);\n var url = _this.isObject ? ele[_this.valueKey] : ele;\n url = getFileUrl(_this.homeUrl, url);\n list.push({\n uid: index + '',\n status: 'done',\n type: _this.isMediaType(url),\n name: name,\n url: url\n });\n }\n });\n return list;\n }\n },\n mounted: function mounted() {\n if (this.drag) {\n this.setSort();\n }\n },\n methods: {\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 handleSuccess: function handleSuccess(file) {\n if (this.isPictureImg) {\n this.text.splice(0, 1, file[this.urlKey]);\n } else if (this.isObject) {\n var obj = {};\n obj[this.labelKey] = file[this.nameKey];\n obj[this.valueKey] = file[this.urlKey];\n this.text.push(obj);\n } else {\n this.text.push(file[this.urlKey]);\n }\n },\n handleRemove: function handleRemove(file, fileList) {\n var _this3 = this;\n this.beforeRemove(file).then(function () {\n _this3[\"delete\"](file);\n });\n },\n handleError: function handleError(error) {\n this.uploadError && this.uploadError(error, this.column);\n },\n \"delete\": function _delete(file) {\n var _this4 = this;\n (this.text || []).forEach(function (ele, index) {\n var url = _this4.isObject ? ele[_this4.valueKey] : ele;\n if (getFileUrl(_this4.homeUrl, url) === file.url) {\n _this4.text.splice(index, 1);\n }\n });\n },\n show: function show(data) {\n this.loading = false;\n this.res = data || this.res;\n this.handleSuccess(this.res);\n },\n hide: function hide(msg) {\n this.loading = false;\n if (msg) this.handleError(msg);\n },\n handleFileChange: function handleFileChange(file, fileList) {\n fileList.splice(fileList.length - 1, 1);\n },\n httpUpload: function httpUpload(config) {\n var _this5 = this;\n if (typeof this.httpRequest === \"function\") {\n this.httpRequest(config);\n return;\n }\n this.loading = true;\n var file = config.file;\n var fileSize = file.size / 1024;\n if (!this.validatenull(fileSize) && fileSize > this.fileSize) {\n this.hide(\"文件太大不符合\");\n return;\n }\n var headers = Object.assign(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 var callback = function callback(newFile) {\n var url = _this5.action;\n //附加属性\n for (var o in _this5.data) {\n param.append(o, _this5.data[o]);\n }\n var uploadFile = newFile || file;\n param.append(_this5.fileName, uploadFile);\n //腾讯云oss存储\n if (_this5.isCosOss) {\n if (!window.COS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs(\"COS\");\n _this5.hide();\n return;\n }\n oss_config = _this5.cos || _this5.$AVUE.cos;\n oss = new COS({\n SecretId: oss_config.SecretId,\n SecretKey: oss_config.SecretKey\n });\n } //七牛云oss存储\n else if (_this5.isQiniuOss) {\n if (!window.CryptoJS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs(\"CryptoJS\");\n _this5.hide();\n return;\n }\n oss_config = _this5.qiniu || _this5.$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 } else if (_this5.isAliOss) {\n if (!window.OSS) {\n core_packages__WEBPACK_IMPORTED_MODULE_8__[\"default\"].logs(\"AliOSS\");\n _this5.hide();\n return;\n }\n oss_config = _this5.ali || _this5.$AVUE.ali;\n client = Object(plugin_ali___WEBPACK_IMPORTED_MODULE_7__[\"getClient\"])(oss_config);\n }\n (function () {\n if (_this5.isCosOss) {\n return new Promise(function (resolve, reject) {\n oss.uploadFile({\n Bucket: 'avue-1253807724',\n Region: 'ap-beijing',\n Key: uploadFile.name,\n Body: uploadFile\n }, function (err, data) {\n resolve({\n data: {\n name: data.ETag,\n url: location.protocol + '//' + data.Location\n }\n });\n });\n });\n } else if (_this5.isAliOss) {\n return client.put(uploadFile.name, uploadFile, {\n headers: _this5.headers\n });\n } else {\n return _this5.$axios.post(url, param, {\n headers: headers\n });\n }\n })().then(function (res) {\n _this5.res = {};\n if (_this5.isQiniuOss) {\n var key = res.data.key;\n res.data.url = oss_config.url + key;\n res.data.name = key;\n }\n _this5.res = Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"getAsVal\"])(_this5.isAliOss ? res : res.data, _this5.resKey);\n if (typeof _this5.uploadAfter === \"function\") {\n _this5.uploadAfter(_this5.res, _this5.show, _this5.hide, _this5.column);\n } else {\n _this5.show();\n }\n })[\"catch\"](function (error) {\n _this5.hide(error);\n });\n };\n if (typeof _this5.uploadBefore === \"function\") {\n _this5.uploadBefore(file, callback, _this5.hide, _this5.column);\n } else {\n callback();\n }\n };\n if (Object(utils_util__WEBPACK_IMPORTED_MODULE_4__[\"isMediaType\"])(file.name) != 'img') {\n done();\n return;\n }\n //处理水印图片\n var canvasDone = function canvasDone() {\n if (!_this5.validatenull(_this5.canvasOption)) {\n Object(plugin_canvas___WEBPACK_IMPORTED_MODULE_5__[\"detailImg\"])(file, _this5.canvasOption, function (res) {\n file = res;\n done();\n });\n } else {\n done();\n }\n };\n //处理图片剪裁\n if (!this.validatenull(this.cropperOption)) {\n Object(plugin_canvas___WEBPACK_IMPORTED_MODULE_5__[\"fileToBase64\"])(file, function (res) {\n var option = Object.assign(_this5.cropperOption, {\n img: res,\n type: 'file',\n callback: function callback(res) {\n file = res;\n canvasDone();\n },\n cancel: function cancel() {\n _this5.loading = false;\n }\n });\n _this5.$ImageCropper(option);\n });\n } else {\n canvasDone();\n }\n },\n handleExceed: function handleExceed(files, fileList) {\n this.uploadExceed && this.uploadExceed(this.limit, files, fileList, this.column);\n },\n handlePreview: function handlePreview(file) {\n var _this6 = this;\n var callback = function callback() {\n var index = _this6.fileList.findIndex(function (ele) {\n return ele.url === file.url;\n });\n _this6.$ImagePreview(_this6.fileList, index);\n };\n if (typeof this.uploadPreview === \"function\") {\n this.uploadPreview(file, this.column, callback);\n } else {\n callback();\n }\n },\n handleDelete: function handleDelete(file) {\n var _this7 = this;\n this.beforeRemove(file).then(function () {\n _this7.text = [];\n _this7.menu = false;\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/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options");
|
1014
1014
|
|
1015
1015
|
/***/ }),
|
1016
1016
|
|
@@ -1730,15 +1730,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
1730
1730
|
|
1731
1731
|
/***/ }),
|
1732
1732
|
|
1733
|
-
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/input-table/index.vue?vue&type=template&id=
|
1733
|
+
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/input-table/index.vue?vue&type=template&id=4d4c13ef&":
|
1734
1734
|
/*!****************************************************************************************************************************************************************************************************!*\
|
1735
|
-
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/input-table/index.vue?vue&type=template&id=
|
1735
|
+
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/input-table/index.vue?vue&type=template&id=4d4c13ef& ***!
|
1736
1736
|
\****************************************************************************************************************************************************************************************************/
|
1737
1737
|
/*! exports provided: render, staticRenderFns */
|
1738
1738
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1739
1739
|
|
1740
1740
|
"use strict";
|
1741
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.b()},[_c('el-input',{ref:\"main\",attrs:{\"prefix-icon\":_vm.prefixIcon,\"suffix-icon\":_vm.suffixIcon,\"size\":_vm.size,\"value\":_vm.labelShow,\"clearable\":_vm.clearableVal,\"placeholder\":_vm.placeholder,\"disabled\":_vm.disabled},on:{\"clear\":_vm.handleClear,\"focus\":_vm.handleShow},nativeOn:{\"click\":function($event){return _vm.handleClick.apply(null, arguments)}}}),_vm._v(\" \"),(_vm.box)?_c('div',[_c('el-dialog',{staticClass:\"avue-dialog avue-dialog--none\",attrs:{\"width\":_vm.setPx(_vm.dialogWidth),\"modal-append-to-body\":_vm.$AVUE.modalAppendToBody,\"append-to-body\":_vm.$AVUE.appendToBody,\"title\":_vm.placeholder,\"visible\":_vm.box},on:{\"update:visible\":function($event){_vm.box=$event}}},[(_vm.box)?_c('avue-crud',{ref:\"crud\",class:_vm.b('crud'),attrs:{\"option\":_vm.option,\"data\":_vm.data,\"table-loading\":_vm.loading,\"search\":_vm.search,\"page\":_vm.page},on:{\"on-load\":_vm.onList,\"search-change\":_vm.handleSearchChange,\"search-reset\":_vm.handleSearchChange,\"current-row-change\":_vm.handleCurrentRowChange,\"update:search\":function($event){_vm.search=$event},\"update:page\":function($event){_vm.page=$event}}}):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":_vm.size,\"icon\":\"el-icon-check\"},on:{\"click\":_vm.setVal}},[_vm._v(_vm._s(_vm.t(\"common.submitBtn\")))])],1)],1)],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/input-table/index.vue?./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options");
|
1741
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{class:_vm.b()},[_c('el-input',{ref:\"main\",attrs:{\"prefix-icon\":_vm.prefixIcon,\"suffix-icon\":_vm.suffixIcon,\"size\":_vm.size,\"value\":_vm.labelShow,\"clearable\":_vm.clearableVal,\"placeholder\":_vm.placeholder,\"disabled\":_vm.disabled},on:{\"clear\":_vm.handleClear,\"focus\":_vm.handleShow},nativeOn:{\"click\":function($event){return _vm.handleClick.apply(null, arguments)}}}),_vm._v(\" \"),(_vm.box)?_c('div',[_c('el-dialog',{staticClass:\"avue-dialog avue-dialog--none\",class:_vm.b(),attrs:{\"width\":_vm.setPx(_vm.dialogWidth),\"modal-append-to-body\":_vm.$AVUE.modalAppendToBody,\"append-to-body\":_vm.$AVUE.appendToBody,\"title\":_vm.placeholder,\"visible\":_vm.box},on:{\"update:visible\":function($event){_vm.box=$event}}},[(_vm.box)?_c('avue-crud',{ref:\"crud\",class:_vm.b('crud'),attrs:{\"option\":_vm.option,\"data\":_vm.data,\"table-loading\":_vm.loading,\"rowClassName\":_vm.handleRowClassName,\"search\":_vm.search,\"page\":_vm.page},on:{\"on-load\":_vm.onList,\"search-change\":_vm.handleSearchChange,\"selection-change\":_vm.handleSelectionChange,\"search-reset\":_vm.handleSearchChange,\"current-row-change\":_vm.handleCurrentRowChange,\"update:search\":function($event){_vm.search=$event},\"update:page\":function($event){_vm.page=$event}}}):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":_vm.size,\"icon\":\"el-icon-check\"},on:{\"click\":_vm.setVal}},[_vm._v(_vm._s(_vm.t(\"common.submitBtn\")))])],1)],1)],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/input-table/index.vue?./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options");
|
1742
1742
|
|
1743
1743
|
/***/ }),
|
1744
1744
|
|
@@ -1862,15 +1862,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
1862
1862
|
|
1863
1863
|
/***/ }),
|
1864
1864
|
|
1865
|
-
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/select/index.vue?vue&type=template&id=
|
1865
|
+
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/select/index.vue?vue&type=template&id=5e1a5d1a&":
|
1866
1866
|
/*!***********************************************************************************************************************************************************************************************!*\
|
1867
|
-
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/select/index.vue?vue&type=template&id=
|
1867
|
+
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/select/index.vue?vue&type=template&id=5e1a5d1a& ***!
|
1868
1868
|
\***********************************************************************************************************************************************************************************************/
|
1869
1869
|
/*! exports provided: render, staticRenderFns */
|
1870
1870
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1871
1871
|
|
1872
1872
|
"use strict";
|
1873
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('el-select',{ref:\"main\",class:_vm.b(),attrs:{\"size\":_vm.size,\"loading\":_vm.loading,\"loading-text\":_vm.loadingText,\"multiple\":_vm.multiple,\"filterable\":_vm.remote?true:_vm.filterable,\"remote\":_vm.remote,\"readonly\":_vm.readonly,\"no-match-text\":_vm.noMatchText,\"no-data-text\":_vm.noDataText,\"remote-method\":_vm.remote?_vm.handleRemoteMethod:undefined,\"popper-class\":_vm.popperClass,\"popper-append-to-body\":_vm.popperAppendToBody,\"collapse-tags\":_vm.tags,\"clearable\":_vm.clearableVal,\"placeholder\":_vm.placeholder,\"multiple-limit\":_vm.limit,\"allow-create\":_vm.allowCreate,\"default-first-option\":_vm.defaultFirstOption,\"disabled\":_vm.disabled},on:{\"focus\":_vm.handleFocus,\"blur\":_vm.handleBlur},nativeOn:{\"click\":function($event){return _vm.handleClick.apply(null, arguments)}},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:\"text\"}},[(_vm.group)?_vm._l((_vm.netDic),function(item,index){return _c('el-option-group',{key:index,attrs:{\"label\":_vm.getLabelText(item)}},_vm._l((item[_vm.groupsKey]),function(citem,cindex){return _c('el-option',{key:cindex,attrs:{\"disabled\":citem[_vm.disabledKey],\"label\":_vm.getLabelText(citem),\"value\":citem[_vm.valueKey]}},[(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"label\":_vm.labelKey,\"value\":_vm.valueKey,\"item\":citem}):[_c('span',[_vm._v(_vm._s(_vm.getLabelText(citem)))]),_vm._v(\" \"),(citem[_vm.descKey])?_c('span',{class:_vm.b('desc')},[_vm._v(_vm._s(citem[_vm.descKey]))]):_vm._e()]],2)}),1)}):[(_vm.all&&_vm.multiple)?_c('el-checkbox',{class:_vm.b('check'),attrs:{\"value\":_vm.checked,\"checked\":_vm.checked,\"disabled\":_vm.disabled,\"indeterminate\":_vm.indeterminate},on:{\"change\":_vm.checkChange}},[_vm._v(\"全选\")]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.netDic),function(item,index){return _c('el-option',{key:index,attrs:{\"disabled\":item[_vm.disabledKey],\"label\":_vm.getLabelText(item),\"value\":item[_vm.valueKey]}},[(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"label\":_vm.labelKey,\"value\":_vm.valueKey,\"item\":item}):[_c('span',[_vm._v(_vm._s(_vm.getLabelText(item)))]),_vm._v(\" \"),(item[_vm.descKey])?_c('span',{class:_vm.b('desc')},[_vm._v(_vm._s(item[_vm.descKey]))]):_vm._e()]],2)})]],2)\n}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/select/index.vue?./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options");
|
1873
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('el-select',{ref:\"main\",class:_vm.b(),attrs:{\"size\":_vm.size,\"loading\":_vm.loading,\"loading-text\":_vm.loadingText,\"multiple\":_vm.multiple,\"filterable\":_vm.remote?true:_vm.filterable,\"remote\":_vm.remote,\"readonly\":_vm.readonly,\"no-match-text\":_vm.noMatchText,\"no-data-text\":_vm.noDataText,\"remote-method\":_vm.remote?_vm.handleRemoteMethod:undefined,\"popper-class\":_vm.popperClass,\"popper-append-to-body\":_vm.popperAppendToBody,\"collapse-tags\":_vm.tags,\"clearable\":_vm.clearableVal,\"placeholder\":_vm.placeholder,\"multiple-limit\":_vm.limit,\"allow-create\":_vm.allowCreate,\"default-first-option\":_vm.defaultFirstOption,\"disabled\":_vm.disabled},on:{\"focus\":_vm.handleFocus,\"blur\":_vm.handleBlur},nativeOn:{\"click\":function($event){return _vm.handleClick.apply(null, arguments)}},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:\"text\"}},[(_vm.group)?_vm._l((_vm.netDic),function(item,index){return _c('el-option-group',{key:index,attrs:{\"label\":_vm.getLabelText(item)}},_vm._l((item[_vm.groupsKey]),function(citem,cindex){return _c('el-option',{key:cindex,class:citem[_vm.classNameKey],attrs:{\"disabled\":citem[_vm.disabledKey],\"label\":_vm.getLabelText(citem),\"value\":citem[_vm.valueKey]}},[(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"label\":_vm.labelKey,\"value\":_vm.valueKey,\"item\":citem}):[_c('span',[_vm._v(_vm._s(_vm.getLabelText(citem)))]),_vm._v(\" \"),(citem[_vm.descKey])?_c('span',{class:_vm.b('desc')},[_vm._v(_vm._s(citem[_vm.descKey]))]):_vm._e()]],2)}),1)}):[(_vm.all&&_vm.multiple)?_c('el-checkbox',{class:_vm.b('check'),attrs:{\"value\":_vm.checked,\"checked\":_vm.checked,\"disabled\":_vm.disabled,\"indeterminate\":_vm.indeterminate},on:{\"change\":_vm.checkChange}},[_vm._v(\"全选\")]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.netDic),function(item,index){return _c('el-option',{key:index,class:item[_vm.classNameKey],attrs:{\"disabled\":item[_vm.disabledKey],\"label\":_vm.getLabelText(item),\"value\":item[_vm.valueKey]}},[(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"label\":_vm.labelKey,\"value\":_vm.valueKey,\"item\":item}):[_c('span',[_vm._v(_vm._s(_vm.getLabelText(item)))]),_vm._v(\" \"),(item[_vm.descKey])?_c('span',{class:_vm.b('desc')},[_vm._v(_vm._s(item[_vm.descKey]))]):_vm._e()]],2)})]],2)\n}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/select/index.vue?./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options");
|
1874
1874
|
|
1875
1875
|
/***/ }),
|
1876
1876
|
|
@@ -1982,15 +1982,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
1982
1982
|
|
1983
1983
|
/***/ }),
|
1984
1984
|
|
1985
|
-
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/upload/index.vue?vue&type=template&id=
|
1985
|
+
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/upload/index.vue?vue&type=template&id=3c2cb3d4&":
|
1986
1986
|
/*!***********************************************************************************************************************************************************************************************!*\
|
1987
|
-
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/upload/index.vue?vue&type=template&id=
|
1987
|
+
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/upload/index.vue?vue&type=template&id=3c2cb3d4& ***!
|
1988
1988
|
\***********************************************************************************************************************************************************************************************/
|
1989
1989
|
/*! exports provided: render, staticRenderFns */
|
1990
1990
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1991
1991
|
|
1992
1992
|
"use strict";
|
1993
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading.lock\",value:(_vm.loading),expression:\"loading\",modifiers:{\"lock\":true}}],class:_vm.b(),attrs:{\"element-loading-text\":_vm.loadText}},[_c('el-upload',{key:_vm.reload,ref:\"main\",class:[_vm.b({'list':_vm.listType=='picture-img','
|
1993
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading.lock\",value:(_vm.loading),expression:\"loading\",modifiers:{\"lock\":true}}],class:_vm.b(),attrs:{\"element-loading-text\":_vm.loadText}},[_c('el-upload',{key:_vm.reload,ref:\"main\",class:[_vm.b({'list':_vm.listType=='picture-img','disabled':_vm.disabled}),'avue-upload--'+_vm.listType],attrs:{\"action\":_vm.action,\"on-remove\":_vm.handleRemove,\"accept\":_vm.acceptList,\"before-remove\":_vm.beforeRemove,\"multiple\":_vm.multiple,\"on-preview\":_vm.handlePreview,\"limit\":_vm.limit,\"http-request\":_vm.httpUpload,\"readonly\":_vm.readonly,\"drag\":_vm.dragFile,\"show-file-list\":_vm.isPictureImg?false:_vm.showFileList,\"list-type\":_vm.listType,\"on-change\":_vm.handleFileChange,\"on-exceed\":_vm.handleExceed,\"disabled\":_vm.disabled,\"file-list\":_vm.fileList},nativeOn:{\"click\":function($event){return _vm.handleClick.apply(null, arguments)}},scopedSlots:_vm._u([{key:\"file\",fn:function({file}){return [(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"file\":file}):(_vm.listType==='picture-card')?_c('span',[(_vm.isMediaType(file.url))?_c(file.type,{tag:\"component\",staticClass:\"el-upload-list__item-thumbnail\",attrs:{\"src\":file.url}}):_c('i',{staticClass:\"el-icon-document\",class:_vm.b('avatar'),attrs:{\"src\":file.url}}),_vm._v(\" \"),_c('span',{staticClass:\"el-upload-list__item-actions\"},[_c('span',{staticClass:\"el-upload-list__item-preview\"},[_c('i',{staticClass:\"el-icon-zoom-in\",on:{\"click\":function($event){$event.stopPropagation();return _vm.handlePreview(file)}}})]),_vm._v(\" \"),_c('span',{staticClass:\"el-upload-list__item-delete\"},[(!_vm.disabled)?_c('i',{staticClass:\"el-icon-delete\",on:{\"click\":function($event){$event.stopPropagation();return _vm.handleRemove(file)}}}):_vm._e()])])],1):(_vm.listType==='picture')?_c('span',{on:{\"click\":function($event){$event.stopPropagation();return _vm.handlePreview(file)}}},[_c(file.type,{tag:\"component\",staticClass:\"el-upload-list__item-thumbnail\",attrs:{\"src\":file.url}}),_vm._v(\" \"),_c('a',{staticClass:\"el-upload-list__item-name\"},[_c('i',{staticClass:\"el-icon-document\"}),_vm._v(\"\\n \"+_vm._s(file.name)+\"\\n \")]),_vm._v(\" \"),_c('i',{staticClass:\"el-icon-close\",on:{\"click\":function($event){$event.stopPropagation();return _vm.handleRemove(file)}}})],1):_c('span',{on:{\"click\":function($event){$event.stopPropagation();return _vm.handlePreview(file)}}},[_c('a',{staticClass:\"el-upload-list__item-name\"},[_c('i',{staticClass:\"el-icon-document\"}),_vm._v(\"\\n \"+_vm._s(file.name)+\"\\n \")]),_vm._v(\" \"),(!_vm.disabled)?_c('i',{staticClass:\"el-icon-close\",on:{\"click\":function($event){$event.stopPropagation();return _vm.handleRemove(file)}}}):_vm._e()])]}}],null,true)},[(_vm.listType=='picture-card')?[_c('i',{staticClass:\"el-icon-plus\"})]:(_vm.listType=='picture-img')?[(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"file\":{url:_vm.imgUrl}}):[(_vm.isMediaType(_vm.imgUrl))?_c(_vm.isMediaType(_vm.imgUrl),{tag:\"component\",class:_vm.b('avatar'),attrs:{\"src\":_vm.imgUrl},on:{\"mouseover\":function($event){_vm.menu=true}}}):(_vm.imgUrl)?_c('i',{staticClass:\"el-icon-document\",class:_vm.b('avatar'),attrs:{\"src\":_vm.imgUrl},on:{\"mouseover\":function($event){_vm.menu=true}}}):_c('i',{staticClass:\"el-icon-plus\",class:_vm.b('avatar')}),_vm._v(\" \"),(_vm.menu)?_c('div',{staticClass:\"el-upload-list__item-actions\",class:_vm.b('menu'),on:{\"mouseover\":function($event){_vm.menu=true},\"mouseout\":function($event){_vm.menu=false},\"click\":function($event){$event.stopPropagation();return (()=>{return false}).apply(null, arguments)}}},[_c('i',{staticClass:\"el-icon-zoom-in\",on:{\"click\":function($event){$event.stopPropagation();return _vm.handlePreview({url:_vm.imgUrl})}}}),_vm._v(\" \"),(!_vm.disabled)?_c('i',{staticClass:\"el-icon-delete\",on:{\"click\":function($event){$event.stopPropagation();return _vm.handleDelete(_vm.imgUrl)}}}):_vm._e()]):_vm._e()]]:(_vm.dragFile)?[_c('i',{staticClass:\"el-icon-upload\"}),_vm._v(\" \"),_c('div',{staticClass:\"el-upload__text\"},[_c('em',[_vm._v(_vm._s(_vm.fileText || _vm.t('upload.upload')))])])]:[_c('el-button',{attrs:{\"icon\":\"el-icon-upload\",\"disabled\":_vm.disabled,\"size\":_vm.size,\"type\":\"primary\"}},[_vm._v(_vm._s(_vm.fileText || _vm.t('upload.upload')))])],_vm._v(\" \"),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},domProps:{\"innerHTML\":_vm._s(_vm.tip)},slot:\"tip\"})],2)],1)\n}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/upload/index.vue?./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options");
|
1994
1994
|
|
1995
1995
|
/***/ }),
|
1996
1996
|
|
@@ -4114,7 +4114,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
4114
4114
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4115
4115
|
|
4116
4116
|
"use strict";
|
4117
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
4117
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _index_vue_vue_type_template_id_4d4c13ef___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=4d4c13ef& */ \"./packages/element-ui/input-table/index.vue?vue&type=template&id=4d4c13ef&\");\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/input-table/index.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_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_4d4c13ef___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _index_vue_vue_type_template_id_4d4c13ef___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/input-table/index.vue?");
|
4118
4118
|
|
4119
4119
|
/***/ }),
|
4120
4120
|
|
@@ -4130,15 +4130,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
4130
4130
|
|
4131
4131
|
/***/ }),
|
4132
4132
|
|
4133
|
-
/***/ "./packages/element-ui/input-table/index.vue?vue&type=template&id=
|
4133
|
+
/***/ "./packages/element-ui/input-table/index.vue?vue&type=template&id=4d4c13ef&":
|
4134
4134
|
/*!**********************************************************************************!*\
|
4135
|
-
!*** ./packages/element-ui/input-table/index.vue?vue&type=template&id=
|
4135
|
+
!*** ./packages/element-ui/input-table/index.vue?vue&type=template&id=4d4c13ef& ***!
|
4136
4136
|
\**********************************************************************************/
|
4137
4137
|
/*! exports provided: render, staticRenderFns */
|
4138
4138
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4139
4139
|
|
4140
4140
|
"use strict";
|
4141
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
4141
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_4d4c13ef___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!../../../node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=template&id=4d4c13ef& */ \"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/input-table/index.vue?vue&type=template&id=4d4c13ef&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_4d4c13ef___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_4d4c13ef___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/input-table/index.vue?");
|
4142
4142
|
|
4143
4143
|
/***/ }),
|
4144
4144
|
|
@@ -4510,7 +4510,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
4510
4510
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4511
4511
|
|
4512
4512
|
"use strict";
|
4513
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
4513
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _index_vue_vue_type_template_id_5e1a5d1a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=5e1a5d1a& */ \"./packages/element-ui/select/index.vue?vue&type=template&id=5e1a5d1a&\");\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/select/index.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_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_5e1a5d1a___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _index_vue_vue_type_template_id_5e1a5d1a___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/select/index.vue?");
|
4514
4514
|
|
4515
4515
|
/***/ }),
|
4516
4516
|
|
@@ -4526,15 +4526,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
4526
4526
|
|
4527
4527
|
/***/ }),
|
4528
4528
|
|
4529
|
-
/***/ "./packages/element-ui/select/index.vue?vue&type=template&id=
|
4529
|
+
/***/ "./packages/element-ui/select/index.vue?vue&type=template&id=5e1a5d1a&":
|
4530
4530
|
/*!*****************************************************************************!*\
|
4531
|
-
!*** ./packages/element-ui/select/index.vue?vue&type=template&id=
|
4531
|
+
!*** ./packages/element-ui/select/index.vue?vue&type=template&id=5e1a5d1a& ***!
|
4532
4532
|
\*****************************************************************************/
|
4533
4533
|
/*! exports provided: render, staticRenderFns */
|
4534
4534
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4535
4535
|
|
4536
4536
|
"use strict";
|
4537
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
4537
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_5e1a5d1a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!../../../node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=template&id=5e1a5d1a& */ \"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/select/index.vue?vue&type=template&id=5e1a5d1a&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_5e1a5d1a___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_5e1a5d1a___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/select/index.vue?");
|
4538
4538
|
|
4539
4539
|
/***/ }),
|
4540
4540
|
|
@@ -4870,7 +4870,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
4870
4870
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4871
4871
|
|
4872
4872
|
"use strict";
|
4873
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
4873
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _index_vue_vue_type_template_id_3c2cb3d4___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=3c2cb3d4& */ \"./packages/element-ui/upload/index.vue?vue&type=template&id=3c2cb3d4&\");\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_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_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_3c2cb3d4___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _index_vue_vue_type_template_id_3c2cb3d4___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?");
|
4874
4874
|
|
4875
4875
|
/***/ }),
|
4876
4876
|
|
@@ -4886,15 +4886,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
4886
4886
|
|
4887
4887
|
/***/ }),
|
4888
4888
|
|
4889
|
-
/***/ "./packages/element-ui/upload/index.vue?vue&type=template&id=
|
4889
|
+
/***/ "./packages/element-ui/upload/index.vue?vue&type=template&id=3c2cb3d4&":
|
4890
4890
|
/*!*****************************************************************************!*\
|
4891
|
-
!*** ./packages/element-ui/upload/index.vue?vue&type=template&id=
|
4891
|
+
!*** ./packages/element-ui/upload/index.vue?vue&type=template&id=3c2cb3d4& ***!
|
4892
4892
|
\*****************************************************************************/
|
4893
4893
|
/*! exports provided: render, staticRenderFns */
|
4894
4894
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4895
4895
|
|
4896
4896
|
"use strict";
|
4897
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
4897
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_3c2cb3d4___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!../../../node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=template&id=3c2cb3d4& */ \"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./packages/element-ui/upload/index.vue?vue&type=template&id=3c2cb3d4&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_3c2cb3d4___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_3c2cb3d4___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/upload/index.vue?");
|
4898
4898
|
|
4899
4899
|
/***/ }),
|
4900
4900
|
|
@@ -5038,7 +5038,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var loca
|
|
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 plugin_logs___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! plugin/logs/ */ \"./src/plugin/logs/index.js\");\n\nvar list = {\n 'AliOSS': {\n url: 'https://cdn.staticfile.org/ali-oss/6.17.1/aliyun-oss-sdk.min.js',\n title: '阿里云云图片上传,需引入OSS的sdk',\n github: 'https://github.com/ali-sdk/ali-oss/'\n },\n 'Map': {\n url: 'https://webapi.amap.com/maps?v=1.4.11&key=xxxxx&plugin=AMap.PlaceSearch,https://webapi.amap.com/ui/1.0/main.js?v=1.0.11',\n title: '地图组件,需引入高德SDK'\n },\n 'MapUi': {\n url: 'https://webapi.amap.com/ui/1.0/main.js?v=1.0.11',\n title: '地图组件,需引入高德UISDK'\n },\n 'Sortable': {\n url: 'https://cdn.staticfile.org/Sortable/1.10.0-rc2/Sortable.min.js',\n title: '拖拽,需引入sortableJs',\n github: 'https://github.com/SortableJS/Sortable'\n },\n 'Screenshot': {\n url: 'https://cdn.staticfile.org/html2canvas/0.5.0-beta4/html2canvas.min.js',\n title: '需引入html2canvas依赖包',\n github: 'https://github.com/niklasvh/html2canvas/'\n },\n 'CryptoJS': {\n url: 'https://avuejs.com/cdn/CryptoJS.js',\n title: '七牛云图片上传,需引入CryptoJS'\n },\n 'hljs': {\n url: 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js',\n title: '需引入hljs框架包',\n github: 'https://github.com/highlightjs/highlight.js'\n },\n 'file-saver': {\n url: 'https://cdn.staticfile.org/FileSaver.js/2014-11-29/FileSaver.min.js',\n title: '需引入文件操作包',\n github: 'https://github.com/eligrey/FileSaver.js'\n },\n 'xlsx': {\n url: 'https://cdn.staticfile.org/xlsx/0.18.2/xlsx.full.min.js',\n title: '需引入excel操作包',\n github: 'https://github.com/protobi/js-xlsx'\n },\n 'mock': {\n url: 'https://cdn.staticfile.org/Mock.js/1.0.1-beta3/mock-min.js',\n title: '需要引入mock模拟数据包',\n github: 'https://github.com/Colingo/mock'\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ((function () {\n return {\n logs: function logs(name) {\n var obj = list[name];\n plugin_logs___WEBPACK_IMPORTED_MODULE_0__[\"default\"].capsule(name, obj.title, 'warning');\n plugin_logs___WEBPACK_IMPORTED_MODULE_0__[\"default\"].warning('CDN:' + (obj.url || '-'));\n plugin_logs___WEBPACK_IMPORTED_MODULE_0__[\"default\"].warning('GITHUB:' + (obj.github || '-'));\n }\n };\n})());\n\n//# sourceURL=webpack://AVUE/./src/core/packages.js?");
|
5041
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var plugin_logs___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! plugin/logs/ */ \"./src/plugin/logs/index.js\");\n\nvar list = {\n 'AliOSS': {\n url: 'https://cdn.staticfile.org/ali-oss/6.17.1/aliyun-oss-sdk.min.js',\n title: '阿里云云图片上传,需引入OSS的sdk',\n github: 'https://github.com/ali-sdk/ali-oss/'\n },\n 'Map': {\n url: 'https://webapi.amap.com/maps?v=1.4.11&key=xxxxx&plugin=AMap.PlaceSearch,https://webapi.amap.com/ui/1.0/main.js?v=1.0.11',\n title: '地图组件,需引入高德SDK'\n },\n 'MapUi': {\n url: 'https://webapi.amap.com/ui/1.0/main.js?v=1.0.11',\n title: '地图组件,需引入高德UISDK'\n },\n 'Sortable': {\n url: 'https://cdn.staticfile.org/Sortable/1.10.0-rc2/Sortable.min.js',\n title: '拖拽,需引入sortableJs',\n github: 'https://github.com/SortableJS/Sortable'\n },\n 'Screenshot': {\n url: 'https://cdn.staticfile.org/html2canvas/0.5.0-beta4/html2canvas.min.js',\n title: '需引入html2canvas依赖包',\n github: 'https://github.com/niklasvh/html2canvas/'\n },\n 'COS': {\n url: 'https://avuejs.com/cdn/cos-js-sdk-v5.min.js',\n title: '腾讯云云图片上传,需引入COS'\n },\n 'CryptoJS': {\n url: 'https://avuejs.com/cdn/CryptoJS.js',\n title: '七牛云图片上传,需引入CryptoJS'\n },\n 'hljs': {\n url: 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js',\n title: '需引入hljs框架包',\n github: 'https://github.com/highlightjs/highlight.js'\n },\n 'file-saver': {\n url: 'https://cdn.staticfile.org/FileSaver.js/2014-11-29/FileSaver.min.js',\n title: '需引入文件操作包',\n github: 'https://github.com/eligrey/FileSaver.js'\n },\n 'xlsx': {\n url: 'https://cdn.staticfile.org/xlsx/0.18.2/xlsx.full.min.js',\n title: '需引入excel操作包',\n github: 'https://github.com/protobi/js-xlsx'\n },\n 'mock': {\n url: 'https://cdn.staticfile.org/Mock.js/1.0.1-beta3/mock-min.js',\n title: '需要引入mock模拟数据包',\n github: 'https://github.com/Colingo/mock'\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ((function () {\n return {\n logs: function logs(name) {\n var obj = list[name];\n plugin_logs___WEBPACK_IMPORTED_MODULE_0__[\"default\"].capsule(name, obj.title, 'warning');\n plugin_logs___WEBPACK_IMPORTED_MODULE_0__[\"default\"].warning('CDN:' + (obj.url || '-'));\n plugin_logs___WEBPACK_IMPORTED_MODULE_0__[\"default\"].warning('GITHUB:' + (obj.github || '-'));\n }\n };\n})());\n\n//# sourceURL=webpack://AVUE/./src/core/packages.js?");
|
5042
5042
|
|
5043
5043
|
/***/ }),
|
5044
5044
|
|
@@ -5062,7 +5062,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */
|
|
5062
5062
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5063
5063
|
|
5064
5064
|
"use strict";
|
5065
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_COMPONENT_NAME\", function() { return KEY_COMPONENT_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIC_PROPS\", function() { return DIC_PROPS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIC_HTTP_PROPS\", function() { return DIC_HTTP_PROPS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DATE_LIST\", function() { return DATE_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CHILDREN_LIST\", function() { return CHILDREN_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INPUT_LIST\", function() { return INPUT_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ARRAY_LIST\", function() { return ARRAY_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MULTIPLE_LIST\", function() { return MULTIPLE_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RANGE_LIST\", function() { return RANGE_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ARRAY_VALUE_LIST\", function() { return ARRAY_VALUE_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SELECT_LIST\", function() { return SELECT_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIC_SHOW_SPLIT\", function() { return DIC_SHOW_SPLIT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIC_SPLIT\", function() { return DIC_SPLIT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"typeList\", function() { return typeList; });\nvar KEY_COMPONENT_NAME = 'avue-';\nvar DIC_PROPS = {\n rowKey: 'id',\n rowParentKey: \"parentId\",\n nodeKey: 'id',\n label: 'label',\n value: 'value',\n desc: 'desc',\n groups: 'groups',\n title: 'title',\n leaf: 'leaf',\n children: 'children',\n hasChildren: 'hasChildren',\n labelText: '名称',\n disabled: 'disabled'\n};\nvar DIC_HTTP_PROPS = {\n name: 'name',\n url: 'url',\n fileName: 'file',\n res: ''\n};\nvar DATE_LIST = ['dates', 'date', 'datetime', 'datetimerange', 'daterange', 'time', 'timerange', 'week', 'month', 'monthrange', 'year'];\nvar CHILDREN_LIST = ['table', 'dynamic'];\nvar INPUT_LIST = ['tree', 'number', 'icon', 'color', 'table', 'map'];\nvar ARRAY_LIST = ['img', 'array', 'url'];\nvar MULTIPLE_LIST = ['cascader', 'tree', 'select'];\nvar RANGE_LIST = ['slider'];\nvar ARRAY_VALUE_LIST = ARRAY_LIST.concat(['upload', 'dynamic', 'map', 'checkbox', 'cascader', 'timerange', 'monthrange', 'daterange', 'datetimerange', 'dates']);\nvar SELECT_LIST = DATE_LIST.concat(['select', 'checkbox', 'radio', 'cascader', 'tree', 'color', 'icon', '
|
5065
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KEY_COMPONENT_NAME\", function() { return KEY_COMPONENT_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIC_PROPS\", function() { return DIC_PROPS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIC_HTTP_PROPS\", function() { return DIC_HTTP_PROPS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DATE_LIST\", function() { return DATE_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CHILDREN_LIST\", function() { return CHILDREN_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INPUT_LIST\", function() { return INPUT_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ARRAY_LIST\", function() { return ARRAY_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MULTIPLE_LIST\", function() { return MULTIPLE_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RANGE_LIST\", function() { return RANGE_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ARRAY_VALUE_LIST\", function() { return ARRAY_VALUE_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SELECT_LIST\", function() { return SELECT_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIC_SHOW_SPLIT\", function() { return DIC_SHOW_SPLIT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIC_SPLIT\", function() { return DIC_SPLIT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"typeList\", function() { return typeList; });\nvar KEY_COMPONENT_NAME = 'avue-';\nvar DIC_PROPS = {\n rowKey: 'id',\n rowParentKey: \"parentId\",\n nodeKey: 'id',\n label: 'label',\n value: 'value',\n desc: 'desc',\n groups: 'groups',\n title: 'title',\n leaf: 'leaf',\n children: 'children',\n hasChildren: 'hasChildren',\n labelText: '名称',\n disabled: 'disabled'\n};\nvar DIC_HTTP_PROPS = {\n name: 'name',\n url: 'url',\n fileName: 'file',\n res: ''\n};\nvar DATE_LIST = ['dates', 'date', 'datetime', 'datetimerange', 'daterange', 'time', 'timerange', 'week', 'month', 'monthrange', 'year'];\nvar CHILDREN_LIST = ['table', 'dynamic'];\nvar INPUT_LIST = ['tree', 'number', 'icon', 'color', 'table', 'map'];\nvar ARRAY_LIST = ['img', 'array', 'url'];\nvar MULTIPLE_LIST = ['cascader', 'tree', 'select', 'table'];\nvar RANGE_LIST = ['slider'];\nvar ARRAY_VALUE_LIST = ARRAY_LIST.concat(['upload', 'dynamic', 'map', 'checkbox', 'cascader', 'timerange', 'monthrange', 'daterange', 'datetimerange', 'dates']);\nvar SELECT_LIST = DATE_LIST.concat(['select', 'checkbox', 'radio', 'cascader', 'tree', 'color', 'icon', 'map']);\nvar DIC_SHOW_SPLIT = ' | ';\nvar DIC_SPLIT = ',';\nvar typeList = {\n img: /\\.(gif|jpg|jpeg|png|webp|svg|GIF|JPG|JPEG|PNG|WEBP|SVG)/,\n video: /\\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|ogg|mp4)/,\n audio: /\\.(mp3|wav|MP3|WAV)/\n};\n\n//# sourceURL=webpack://AVUE/./src/global/variable.js?");
|
5066
5066
|
|
5067
5067
|
/***/ }),
|
5068
5068
|
|
@@ -5374,7 +5374,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
5374
5374
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5375
5375
|
|
5376
5376
|
"use strict";
|
5377
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nvar version = '2.
|
5377
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nvar version = '2.11.0';\n\n//# sourceURL=webpack://AVUE/./src/version.js?");
|
5378
5378
|
|
5379
5379
|
/***/ }),
|
5380
5380
|
|