@smallwei/avue 3.2.13 → 3.2.14

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 v3.2.13
2
+ * Avue.js v3.2.14
3
3
  * (c) 2017-2023 Smallwei
4
4
  * Released under the MIT License.
5
5
  *
@@ -700,7 +700,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
700
700
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
701
701
 
702
702
  "use strict";
703
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"./node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n name: \"dynamic\",\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 reload: Math.random(),\n hoverList: []\n };\n },\n props: {\n uploadBefore: Function,\n uploadAfter: Function,\n uploadDelete: Function,\n uploadPreview: Function,\n uploadError: Function,\n uploadExceed: Function,\n max: Number,\n boxType: String,\n columnSlot: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n children: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n }\n },\n computed: {\n isAdd: function isAdd() {\n return this.boxType === \"add\";\n },\n isEdit: function isEdit() {\n return this.boxType === \"edit\";\n },\n isView: function isView() {\n return this.boxType === \"view\";\n },\n textLen: function textLen() {\n return this.text.length;\n },\n maxFlag: function maxFlag() {\n if (this.max) {\n return !(this.text.length == this.max);\n }\n return true;\n },\n showIndex: function showIndex() {\n return this.validData(this.children.index, true);\n },\n showType: function showType() {\n return this.children.type || 'crud';\n },\n isForm: function isForm() {\n return this.showType === 'form';\n },\n isCrud: function isCrud() {\n return this.showType === 'crud';\n },\n selectionChange: function selectionChange() {\n return this.children.selectionChange;\n },\n sortableChange: function sortableChange() {\n return this.children.sortableChange;\n },\n rowAdd: function rowAdd() {\n return this.children.rowAdd;\n },\n rowDel: function rowDel() {\n return this.children.rowDel;\n },\n viewBtn: function viewBtn() {\n return this.children.viewBtn === false;\n },\n addBtn: function addBtn() {\n return this.children.addBtn === false;\n },\n delBtn: function delBtn() {\n return this.children.delBtn === false;\n },\n valueOption: function valueOption() {\n var result = {};\n this.columnOption.forEach(function (ele) {\n if (ele.value) {\n result[ele.prop] = ele.value;\n }\n });\n return result;\n },\n rulesOption: function rulesOption() {\n var rules = {};\n this.columnOption.forEach(function (ele) {\n if (ele.rules) {\n rules[ele.prop] = ele.rules;\n }\n });\n return rules;\n },\n columnOption: function columnOption() {\n return this.deepClone(this.children.column) || [];\n },\n option: function option() {\n var _this = this;\n return Object.assign({\n boxType: this.boxType,\n border: true,\n header: false,\n menu: false,\n size: this.size,\n disabled: this.disabled,\n readonly: this.readonly,\n emptyBtn: false,\n submitBtn: false\n }, function () {\n var option = _this.deepClone(_this.children);\n delete option.column;\n return option;\n }(), function () {\n var list = [{\n label: _this.children.indexLabel || '#',\n prop: '_index',\n display: _this.showIndex,\n hide: !_this.showIndex,\n fixed: true,\n align: 'center',\n headerAlign: 'center',\n span: 24,\n width: 60\n }];\n _this.columnOption.forEach(function (ele) {\n list.push(Object.assign(ele, {\n hide: _this.vaildData(ele.hide, !_this.vaildParams(ele, 'display', true)),\n disabled: _this.vaildParams(ele, 'disabled', false),\n detail: _this.vaildParams(ele, 'detail', false),\n cell: _this.validData(ele.cell, _this.isCrud)\n }));\n });\n return {\n column: list\n };\n }());\n }\n },\n mounted: function mounted() {\n this.initData();\n },\n methods: {\n vaildParams: function vaildParams(column, type, value) {\n function replaceStr(str) {\n // 正则法\n str = str.toLowerCase();\n var reg = /\\b(\\w)|\\s(\\w)/g; // \\b判断边界\\s判断空格\n return str.replace(reg, function (m) {\n return m.toUpperCase();\n });\n }\n var key,\n caseKey = replaceStr(type);\n if (!this.validatenull(column[type])) {\n key = type;\n } else if (this.isAdd) {\n key = 'add' + caseKey;\n } else if (this.isEdit) {\n key = 'edit' + caseKey;\n } else if (this.isView) {\n key = 'view' + caseKey;\n }\n return this.vaildData(column[key], value);\n },\n handleTextValue: function handleTextValue(val) {\n this.initData();\n },\n handleSelectionChange: function handleSelectionChange(val) {\n this.selectionChange && this.selectionChange(val);\n },\n handleSortableChange: function handleSortableChange(oldindex, newindex, row, list) {\n this.sortableChange && this.sortableChange(oldindex, newindex, row, list);\n },\n cellMouseenter: function cellMouseenter(row) {\n var index = row.$index;\n this.mouseoverRow(index);\n },\n cellMouseLeave: function cellMouseLeave(row, column, cell, event) {\n var index = row.$index;\n this.mouseoutRow(index);\n },\n initData: function initData() {\n this.text.forEach(function (ele, index) {\n ele = Object.assign(ele, {\n $cellEdit: true,\n $index: index\n });\n });\n },\n mouseoverRow: function mouseoverRow(index) {\n if (this.delBtn) return;\n this.flagList();\n this.hoverList[index] = true;\n },\n mouseoutRow: function mouseoutRow(index) {\n if (this.delBtn) return;\n this.flagList();\n this.hoverList[index] = false;\n },\n flagList: function flagList() {\n this.hoverList.forEach(function (ele, index) {\n ele = false;\n });\n },\n delRow: function delRow(index) {\n var _this2 = this;\n var callback = function callback() {\n var list = _this2.deepClone(_this2.text);\n list.splice(index, 1);\n _this2.text = list;\n _this2.reload = Math.random();\n };\n if (typeof this.rowDel === 'function') {\n this.rowDel(this.text[index], callback);\n } else {\n callback();\n }\n },\n addRow: function addRow() {\n var _this3 = this;\n var callback = function callback() {\n var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var row = _this3.deepClone(_objectSpread(_objectSpread(_objectSpread({}, _this3.valueOption), obj), {\n $index: _this3.textLen\n }));\n if (_this3.isCrud) {\n _this3.$refs.main.rowCellAdd(row);\n } else if (_this3.isForm) {\n _this3.text.push(row);\n }\n };\n if (typeof this.rowAdd === 'function') {\n this.rowAdd(callback);\n } else {\n callback();\n }\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/dynamic/index.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--1");
703
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"./node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n name: \"dynamic\",\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 reload: Math.random(),\n hoverList: []\n };\n },\n props: {\n uploadBefore: Function,\n uploadAfter: Function,\n uploadDelete: Function,\n uploadPreview: Function,\n uploadError: Function,\n uploadExceed: Function,\n max: Number,\n boxType: String,\n columnSlot: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n children: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n }\n },\n computed: {\n isAdd: function isAdd() {\n return this.boxType === \"add\";\n },\n isEdit: function isEdit() {\n return this.boxType === \"edit\";\n },\n isView: function isView() {\n return this.boxType === \"view\";\n },\n textLen: function textLen() {\n return this.text.length;\n },\n maxFlag: function maxFlag() {\n if (this.max) {\n return !(this.text.length == this.max);\n }\n return true;\n },\n showIndex: function showIndex() {\n return this.validData(this.children.index, true);\n },\n showType: function showType() {\n return this.children.type || 'crud';\n },\n isForm: function isForm() {\n return this.showType === 'form';\n },\n isCrud: function isCrud() {\n return this.showType === 'crud';\n },\n selectionChange: function selectionChange() {\n return this.children.selectionChange;\n },\n sortableChange: function sortableChange() {\n return this.children.sortableChange;\n },\n rowAdd: function rowAdd() {\n return this.children.rowAdd;\n },\n rowDel: function rowDel() {\n return this.children.rowDel;\n },\n viewBtn: function viewBtn() {\n return this.children.viewBtn === false;\n },\n addBtn: function addBtn() {\n return this.children.addBtn === false;\n },\n delBtn: function delBtn() {\n return this.children.delBtn === false;\n },\n valueOption: function valueOption() {\n var result = {};\n this.columnOption.forEach(function (ele) {\n if (ele.value) {\n result[ele.prop] = ele.value;\n }\n });\n return result;\n },\n rulesOption: function rulesOption() {\n var rules = {};\n this.columnOption.forEach(function (ele) {\n if (ele.rules) {\n rules[ele.prop] = ele.rules;\n }\n });\n return rules;\n },\n columnOption: function columnOption() {\n return this.deepClone(this.children.column) || [];\n },\n option: function option() {\n var _this = this;\n return Object.assign({\n boxType: this.boxType,\n border: true,\n header: false,\n menu: false,\n size: this.size,\n disabled: this.disabled,\n readonly: this.readonly,\n emptyBtn: false,\n submitBtn: false\n }, function () {\n var option = _this.deepClone(_this.children);\n delete option.column;\n return option;\n }(), function () {\n var list = [{\n label: _this.children.indexLabel || '#',\n prop: '_index',\n display: _this.showIndex,\n hide: !_this.showIndex,\n fixed: true,\n align: 'center',\n headerAlign: 'center',\n span: 24,\n width: 60\n }];\n _this.columnOption.forEach(function (ele) {\n list.push(Object.assign(ele, {\n hide: _this.validData(ele.hide, !_this.validParams(ele, 'display', true)),\n disabled: _this.validParams(ele, 'disabled', false),\n detail: _this.validParams(ele, 'detail', false),\n cell: _this.validData(ele.cell, _this.isCrud)\n }));\n });\n return {\n column: list\n };\n }());\n }\n },\n mounted: function mounted() {\n this.initData();\n },\n methods: {\n validParams: function validParams(column, type, value) {\n function replaceStr(str) {\n // 正则法\n str = str.toLowerCase();\n var reg = /\\b(\\w)|\\s(\\w)/g; // \\b判断边界\\s判断空格\n return str.replace(reg, function (m) {\n return m.toUpperCase();\n });\n }\n var key,\n caseKey = replaceStr(type);\n if (!this.validatenull(column[type])) {\n key = type;\n } else if (this.isAdd) {\n key = 'add' + caseKey;\n } else if (this.isEdit) {\n key = 'edit' + caseKey;\n } else if (this.isView) {\n key = 'view' + caseKey;\n }\n return this.validData(column[key], value);\n },\n handleTextValue: function handleTextValue(val) {\n this.initData();\n },\n handleSelectionChange: function handleSelectionChange(val) {\n this.selectionChange && this.selectionChange(val);\n },\n handleSortableChange: function handleSortableChange(oldindex, newindex, row, list) {\n this.sortableChange && this.sortableChange(oldindex, newindex, row, list);\n },\n cellMouseenter: function cellMouseenter(row) {\n var index = row.$index;\n this.mouseoverRow(index);\n },\n cellMouseLeave: function cellMouseLeave(row, column, cell, event) {\n var index = row.$index;\n this.mouseoutRow(index);\n },\n initData: function initData() {\n this.text.forEach(function (ele, index) {\n ele = Object.assign(ele, {\n $cellEdit: true,\n $index: index\n });\n });\n },\n mouseoverRow: function mouseoverRow(index) {\n if (this.delBtn) return;\n this.flagList();\n this.hoverList[index] = true;\n },\n mouseoutRow: function mouseoutRow(index) {\n if (this.delBtn) return;\n this.flagList();\n this.hoverList[index] = false;\n },\n flagList: function flagList() {\n this.hoverList.forEach(function (ele, index) {\n ele = false;\n });\n },\n delRow: function delRow(index) {\n var _this2 = this;\n var callback = function callback() {\n var list = _this2.deepClone(_this2.text);\n list.splice(index, 1);\n _this2.text = list;\n _this2.reload = Math.random();\n };\n if (typeof this.rowDel === 'function') {\n this.rowDel(this.text[index], callback);\n } else {\n callback();\n }\n },\n addRow: function addRow() {\n var _this3 = this;\n var callback = function callback() {\n var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var row = _this3.deepClone(_objectSpread(_objectSpread(_objectSpread({}, _this3.valueOption), obj), {\n $index: _this3.textLen\n }));\n if (_this3.isCrud) {\n _this3.$refs.main.rowCellAdd(row);\n } else if (_this3.isForm) {\n _this3.text.push(row);\n }\n };\n if (typeof this.rowAdd === 'function') {\n this.rowAdd(callback);\n } else {\n callback();\n }\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/dynamic/index.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--1");
704
704
 
705
705
  /***/ }),
706
706
 
@@ -1394,7 +1394,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
1394
1394
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1395
1395
 
1396
1396
  "use strict";
1397
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_column_dynamic = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"column-dynamic\", true)\n const _component_column_slot = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"column-slot\")\n const _component_el_table_column = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"el-table-column\")\n\n return (_ctx.getColumnProp($props.columnOption,'hide'))\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_table_column, {\n key: 0,\n prop: $props.columnOption.prop,\n label: $props.columnOption.label,\n \"class-name\": _ctx.column.className,\n \"label-class-name\": _ctx.column.labelClassName,\n \"filter-placement\": \"bottom-end\",\n filters: _ctx.getColumnProp($props.columnOption,'filters'),\n \"filter-method\": _ctx.getColumnProp($props.columnOption,'filterMethod')?_ctx.handleFilterMethod:undefined,\n \"filter-multiple\": _ctx.validData($props.columnOption.filterMultiple,true),\n \"show-overflow-tooltip\": $props.columnOption.overHidden,\n \"min-width\": $props.columnOption.minWidth,\n sortable: _ctx.getColumnProp($props.columnOption,'sortable'),\n \"render-header\": $props.columnOption.renderHeader,\n align: $props.columnOption.align || $options.crud.tableOption.align,\n \"header-align\": $props.columnOption.headerAlign || $options.crud.tableOption.headerAlign,\n width: _ctx.getColumnProp($props.columnOption,'width'),\n fixed: _ctx.getColumnProp($props.columnOption,'fixed')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => [\n (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])($props.columnOption.children, (column) => {\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, [\n (column.children && column.children.length>0)\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_column_dynamic, {\n key: column.label,\n columnOption: column\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createSlots\"])({ _: 2 /* DYNAMIC */ }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])($options.crud.mainSlot, (item) => {\n return {\n name: item,\n fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])((scope) => [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, item, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeProps\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"guardReactiveProps\"])(scope)))\n ])\n }\n })\n ]), 1032 /* PROPS, DYNAMIC_SLOTS */, [\"columnOption\"]))\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_column_slot, {\n key: 1,\n column: column,\n \"column-option\": $props.columnOption.children\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createSlots\"])({ _: 2 /* DYNAMIC */ }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])($options.crud.mainSlot, (item) => {\n return {\n name: item,\n fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])((scope) => [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, item, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeProps\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"guardReactiveProps\"])(scope)))\n ])\n }\n })\n ]), 1032 /* PROPS, DYNAMIC_SLOTS */, [\"column\", \"column-option\"]))\n ], 64 /* STABLE_FRAGMENT */))\n }), 256 /* UNKEYED_FRAGMENT */))\n ]),\n _: 3 /* FORWARDED */\n }, 8 /* PROPS */, [\"prop\", \"label\", \"class-name\", \"label-class-name\", \"filters\", \"filter-method\", \"filter-multiple\", \"show-overflow-tooltip\", \"min-width\", \"sortable\", \"render-header\", \"align\", \"header-align\", \"width\", \"fixed\"]))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n}\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/crud/column/column-dynamic.vue?./node_modules/vue-loader/dist/templateLoader.js??ref--5!./node_modules/vue-loader/dist??ref--1");
1397
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_column_dynamic = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"column-dynamic\", true)\n const _component_column_slot = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"column-slot\")\n const _component_el_table_column = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"el-table-column\")\n\n return (_ctx.getColumnProp($props.columnOption,'hide'))\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_table_column, {\n key: 0,\n prop: $props.columnOption.prop,\n label: $props.columnOption.label,\n \"class-name\": $props.columnOption.className,\n \"label-class-name\": $props.columnOption.labelClassName,\n \"filter-placement\": \"bottom-end\",\n filters: _ctx.getColumnProp($props.columnOption,'filters'),\n \"filter-method\": _ctx.getColumnProp($props.columnOption,'filterMethod')?_ctx.handleFilterMethod:undefined,\n \"filter-multiple\": _ctx.validData($props.columnOption.filterMultiple,true),\n \"show-overflow-tooltip\": $props.columnOption.overHidden,\n \"min-width\": $props.columnOption.minWidth,\n sortable: _ctx.getColumnProp($props.columnOption,'sortable'),\n \"render-header\": $props.columnOption.renderHeader,\n align: $props.columnOption.align || $options.crud.tableOption.align,\n \"header-align\": $props.columnOption.headerAlign || $options.crud.tableOption.headerAlign,\n width: _ctx.getColumnProp($props.columnOption,'width'),\n fixed: _ctx.getColumnProp($props.columnOption,'fixed')\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => [\n (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])($props.columnOption.children, (column) => {\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, [\n (column.children && column.children.length>0)\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_column_dynamic, {\n key: column.label,\n columnOption: column\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createSlots\"])({ _: 2 /* DYNAMIC */ }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])($options.crud.mainSlot, (item) => {\n return {\n name: item,\n fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])((scope) => [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, item, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeProps\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"guardReactiveProps\"])(scope)))\n ])\n }\n })\n ]), 1032 /* PROPS, DYNAMIC_SLOTS */, [\"columnOption\"]))\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_column_slot, {\n key: 1,\n column: column,\n \"column-option\": $props.columnOption.children\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createSlots\"])({ _: 2 /* DYNAMIC */ }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])($options.crud.mainSlot, (item) => {\n return {\n name: item,\n fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])((scope) => [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, item, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeProps\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"guardReactiveProps\"])(scope)))\n ])\n }\n })\n ]), 1032 /* PROPS, DYNAMIC_SLOTS */, [\"column\", \"column-option\"]))\n ], 64 /* STABLE_FRAGMENT */))\n }), 256 /* UNKEYED_FRAGMENT */))\n ]),\n _: 3 /* FORWARDED */\n }, 8 /* PROPS */, [\"prop\", \"label\", \"class-name\", \"label-class-name\", \"filters\", \"filter-method\", \"filter-multiple\", \"show-overflow-tooltip\", \"min-width\", \"sortable\", \"render-header\", \"align\", \"header-align\", \"width\", \"fixed\"]))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n}\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/crud/column/column-dynamic.vue?./node_modules/vue-loader/dist/templateLoader.js??ref--5!./node_modules/vue-loader/dist??ref--1");
1398
1398
 
1399
1399
  /***/ }),
1400
1400
 
@@ -4850,7 +4850,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
4850
4850
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4851
4851
 
4852
4852
  "use strict";
4853
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nvar version = '3.2.13';\n\n//# sourceURL=webpack://AVUE/./src/version.js?");
4853
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nvar version = '3.2.14';\n\n//# sourceURL=webpack://AVUE/./src/version.js?");
4854
4854
 
4855
4855
  /***/ }),
4856
4856