jsy-avue 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +16 -19
- package/lib/avue.js +19 -19
- package/lib/avue.min.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,36 +1,33 @@
|
|
1
1
|
<p align="center"><a href="https://avuejs.com" target="_blank" rel="noopener noreferrer"><img width="100" src="https://avuejs.com/images/logo-bg.jpg" alt="Avue logo"></a></p>
|
2
2
|
|
3
|
-
##
|
4
|
-
Avue.js是基于现有的element-ui库进行的二次封装,从而简化一些繁琐的操作,核心理念为数据驱动视图,主要的组件库针对table表格和form表单场景,同时衍生出更多企业常用的组件,达到高复用,容易维护和扩展的框架,同时内置了丰富了数据展示组件,让开发变得更加容易.
|
3
|
+
## 本仓库为 avue v2.11.2 的 fork 版本,修复了以下 Bug
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
## 文件
|
5
|
+
- crud 组件采用阿里 oss 上传时默认不指定文件格式,否则出现文件链接在浏览器无法预览问题
|
6
|
+
- fix: valiData is not defined
|
7
|
+
- fix: 修复 validate 函数不支持 promise 问题
|
10
8
|
|
11
|
-
|
12
|
-
|-------------|----------|
|
13
|
-
| avue.min.js | 生产环境|
|
14
|
-
| avue.js | 开发环境|
|
9
|
+
## 原文介绍
|
15
10
|
|
16
|
-
|
17
|
-
|
18
|
-
要查看[Live Examples](https://avuejs.com/doc/installation)和文档,请访问[https://avuejs.com](https://avuejs.com).
|
11
|
+
Avue.js 是基于现有的 element-ui 库进行的二次封装,从而简化一些繁琐的操作,核心理念为数据驱动视图,主要的组件库针对 table 表格和 form 表单场景,同时衍生出更多企业常用的组件,达到高复用,容易维护和扩展的框架,同时内置了丰富了数据展示组件,让开发变得更加容易.
|
19
12
|
|
20
|
-
|
13
|
+
### 浏览器兼容性
|
21
14
|
|
22
|
-
|
15
|
+
支持所有符合 ES5 标准的浏览器(不支持 IE8 及以下版本).
|
23
16
|
|
24
|
-
##
|
17
|
+
## 文件
|
25
18
|
|
26
|
-
|
19
|
+
| 文件名 | 用途 |
|
20
|
+
| ----------- | -------- |
|
21
|
+
| avue.min.js | 生产环境 |
|
22
|
+
| avue.js | 开发环境 |
|
27
23
|
|
28
|
-
##
|
24
|
+
## 文档
|
29
25
|
|
30
|
-
[
|
26
|
+
要查看[Live Examples](https://avuejs.com/doc/installation)和文档,请访问[https://avuejs.com](https://avuejs.com).
|
31
27
|
|
32
28
|
## License
|
33
29
|
|
34
30
|
[MIT](http://opensource.org/licenses/MIT)
|
35
31
|
|
36
32
|
Copyright (c) 2017-present, Smallwei
|
33
|
+
|
package/lib/avue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
*
|
3
|
-
* (c) 2017-2024
|
2
|
+
* @bellacocool/avue.js v0.1.0
|
3
|
+
* (c) 2017-2024 xuexingwei
|
4
4
|
* Released under the MIT License.
|
5
5
|
*
|
6
6
|
*/
|
@@ -506,7 +506,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
|
|
506
506
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
507
507
|
|
508
508
|
"use strict";
|
509
|
-
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 _column_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./column-dynamic */ \"./packages/element-ui/crud/column-dynamic.vue\");\n/* harmony import */ var _column_slot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./column-slot */ \"./packages/element-ui/crud/column-slot.vue\");\n/* harmony import */ var utils_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! utils/util */ \"./src/utils/util.js\");\n/* harmony import */ var global_variable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! global/variable */ \"./src/global/variable.js\");\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n name:
|
509
|
+
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 _column_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./column-dynamic */ \"./packages/element-ui/crud/column-dynamic.vue\");\n/* harmony import */ var _column_slot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./column-slot */ \"./packages/element-ui/crud/column-slot.vue\");\n/* harmony import */ var utils_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! utils/util */ \"./src/utils/util.js\");\n/* harmony import */ var global_variable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! global/variable */ \"./src/global/variable.js\");\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n name: \"crud\",\n data() {\n return {};\n },\n components: {\n columnSlot: _column_slot__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n columnDynamic: _column_dynamic__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n },\n inject: [\"crud\"],\n provide() {\n return {\n crud: this.crud,\n dynamic: this\n };\n },\n props: {\n columnOption: Array\n },\n computed: {\n list() {\n let result = [...this.columnOption];\n result = Object(utils_util__WEBPACK_IMPORTED_MODULE_3__[\"arraySort\"])(result, 'index', (a, b) => {\n var _this$crud$objectOpti, _this$crud$objectOpti2;\n return ((_this$crud$objectOpti = this.crud.objectOption[a.prop]) === null || _this$crud$objectOpti === void 0 ? void 0 : _this$crud$objectOpti.index) - ((_this$crud$objectOpti2 = this.crud.objectOption[b.prop]) === null || _this$crud$objectOpti2 === void 0 ? void 0 : _this$crud$objectOpti2.index);\n });\n return result;\n }\n },\n methods: {\n //表格筛选逻辑\n handleFilterMethod(value, row, column) {\n const columnNew = this.columnOption.filter(ele => ele.prop === column.property)[0];\n if (typeof columnNew.filterMethod === \"function\") {\n return columnNew.filterMethod(value, row, columnNew);\n } else {\n return row[columnNew.prop] === value;\n }\n },\n //表格筛选字典\n handleFilters(column, flag) {\n if (flag !== true) return undefined;\n let DIC = this.crud.DIC[column.prop] || [];\n let list = [];\n if (!this.validatenull(DIC)) {\n DIC.forEach(ele => {\n const props = column.props || this.crud.tableOption.props || {};\n list.push({\n text: ele[props.label || global_variable__WEBPACK_IMPORTED_MODULE_4__[\"DIC_PROPS\"].label],\n value: ele[props.value || global_variable__WEBPACK_IMPORTED_MODULE_4__[\"DIC_PROPS\"].value]\n });\n });\n } else {\n this.crud.cellForm.list.forEach(ele => {\n if (!list.map(item => item.text).includes(ele[column.prop])) {\n list.push({\n text: ele[column.prop],\n value: ele[column.prop]\n });\n }\n });\n }\n return list;\n },\n getColumnProp(column, type) {\n let obj = this.crud.objectOption[column.prop] || {};\n if (type === 'filterMethod') return obj === null || obj === void 0 ? void 0 : obj.filters;\n if (this.crud.isMobile && ['fixed'].includes(type)) return false;\n let result = obj === null || obj === void 0 ? void 0 : obj[type];\n if (type == 'width' && result == 0) {\n return undefined;\n }\n if (type == 'filters') return this.handleFilters(column, result);\n if (type == 'hide') return (obj === null || obj === void 0 ? void 0 : obj.hide) !== true;else return result;\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/crud/column.vue?./node_modules/.store/babel-loader@8.3.0/node_modules/babel-loader/lib!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options");
|
510
510
|
|
511
511
|
/***/ }),
|
512
512
|
|
@@ -674,7 +674,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
|
|
674
674
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
675
675
|
|
676
676
|
"use strict";
|
677
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_detail__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/detail */ \"./src/core/detail.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_init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/common/init */ \"./packages/core/common/init.js\");\n/* harmony import */ var common_components_form_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/components/form/index */ \"./packages/core/components/form/index.vue\");\n/* harmony import */ var global_variable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! global/variable */ \"./src/global/variable.js\");\n/* harmony import */ var core_dataformat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core/dataformat */ \"./src/core/dataformat.js\");\n/* harmony import */ var core_dic__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core/dic */ \"./src/core/dic.js\");\n/* harmony import */ var utils_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! utils/util */ \"./src/utils/util.js\");\n/* harmony import */ var utils_mock__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! utils/mock */ \"./src/utils/mock.js\");\n/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./menu */ \"./packages/element-ui/form/menu.vue\");\n/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./config.js */ \"./packages/element-ui/form/config.js\");\n\n\n\n\n\n\n\n\n\n\n\nlet count = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n name: \"form\",\n mixins: [Object(common_common_init__WEBPACK_IMPORTED_MODULE_2__[\"default\"])()],\n components: {\n formTemp: common_components_form_index__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n formMenu: _menu__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n },\n props: {\n uploadBefore: Function,\n uploadAfter: Function,\n uploadDelete: Function,\n uploadPreview: Function,\n uploadError: Function,\n uploadExceed: Function,\n status: {\n type: Boolean,\n default: false\n },\n isCrud: {\n type: Boolean,\n default: false\n },\n value: {\n type: Object,\n required: true,\n default: () => {\n return {};\n }\n }\n },\n data() {\n return {\n config: _config_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n activeName: '',\n allDisabled: false,\n tableOption: {},\n form: {},\n formCreate: false,\n formList: [],\n formBind: {}\n };\n },\n provide() {\n return {\n formSafe: this\n };\n },\n watch: {\n value: {\n handler(val) {\n if (this.formCreate) {\n this.setForm();\n }\n },\n deep: true\n },\n form: {\n handler(val) {\n if (this.formCreate) {\n this.setLabel();\n this.setVal();\n }\n },\n deep: true\n },\n tabsActive: {\n handler(val) {\n this.activeName = this.tabsActive;\n },\n immediate: true\n },\n DIC: {\n handler() {\n this.setLabel();\n },\n deep: true,\n immediate: true\n },\n allDisabled: {\n handler(val) {\n this.$emit('update:status', val);\n },\n deep: true,\n immediate: true\n }\n },\n computed: {\n columnSlot() {\n return Object.keys(this.$scopedSlots).filter(item => !this.propOption.map(ele => ele.prop).includes(item));\n },\n labelSuffix() {\n return this.parentOption.labelSuffix || ':';\n },\n isMenu() {\n return this.columnOption.length != 1;\n },\n isDetail() {\n return this.detail === true;\n },\n isTabs() {\n return this.parentOption.tabs === true;\n },\n isAdd() {\n return this.boxType === \"add\";\n },\n isEdit() {\n return this.boxType === \"edit\";\n },\n isView() {\n return this.boxType === \"view\";\n },\n detail() {\n return this.parentOption.detail;\n },\n disabled() {\n return this.parentOption.disabled;\n },\n readonly() {\n return this.parentOption.readonly;\n },\n tabsType() {\n return this.parentOption.tabsType;\n },\n columnLen() {\n return this.columnOption.length;\n },\n dynamicOption() {\n let list = [];\n this.propOption.forEach(ele => {\n if (ele.type == 'dynamic' && this.vaildDisplay(ele)) {\n list.push(ele);\n }\n });\n return list;\n },\n propOption() {\n let list = [];\n this.columnOption.forEach(option => {\n if (option.display !== false) {\n option.column.forEach(column => {\n list.push(column);\n });\n }\n });\n return list;\n },\n parentOption() {\n return this.tableOption || {};\n },\n columnOption() {\n let tableOption = this.deepClone(this.tableOption);\n let column = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"getColumn\"])(tableOption.column);\n let group = tableOption.group || [];\n let footer = tableOption.footer || [];\n group.unshift({\n header: false,\n column: column\n });\n if (footer.length !== 0) {\n group.push({\n header: false,\n column: footer\n });\n }\n group.forEach((ele, index) => {\n ele.column = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"getColumn\"])(ele.column);\n // 循环列的全部属性\n ele.column.forEach((column, cindex) => {\n //动态计算列的位置,如果为隐藏状态则或则手机状态不计算\n if (column.display !== false && !this.isMobile) {\n column = Object(core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"calcCount\"])(column, this.config.span, cindex === 0);\n }\n });\n //处理级联属性\n ele.column = Object(core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"calcCascader\"])(ele.column);\n //根据order排序\n ele.column = ele.column.sort((a, b) => (b.order || 0) - (a.order || 0));\n });\n return group;\n },\n menuPosition: function () {\n if (this.parentOption.menuPosition) {\n return this.parentOption.menuPosition;\n } else {\n return \"center\";\n }\n },\n boxType: function () {\n return this.parentOption.boxType;\n },\n isPrint() {\n return this.vaildData(this.parentOption.printBtn, false);\n },\n tabsActive() {\n return this.vaildData(this.tableOption.tabsActive + '', '1');\n },\n isMock() {\n return this.vaildData(this.parentOption.mockBtn, false);\n }\n },\n mounted() {\n setTimeout(() => {\n this.dataFormat();\n });\n },\n methods: {\n getComponent: core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"getComponent\"],\n getPlaceholder: core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"getPlaceholder\"],\n getDisabled(column) {\n return this.vaildDetail(column) || this.isDetail || this.vaildDisabled(column) || this.allDisabled;\n },\n isGroupShow(item, index) {\n if (this.isTabs) {\n return index == this.activeName || index == 0;\n } else {\n return true;\n }\n },\n //初始化表单\n dataFormat() {\n let formDefault = Object(core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"formInitVal\"])(this.propOption).tableForm;\n let formValue = this.value;\n let form = {};\n Object.entries(Object.assign(formDefault, formValue)).forEach(ele => {\n let key = ele[0],\n value = ele[1];\n if (this.validatenull(formValue[key])) {\n form[key] = value;\n } else {\n form[key] = formValue[key];\n }\n });\n this.$set(this, 'form', form);\n this.setLabel();\n this.setControl();\n this.setVal();\n setTimeout(() => {\n this.formCreate = true;\n this.clearValidate();\n });\n },\n setControl() {\n this.propOption.forEach(column => {\n let prop = column.prop;\n let bind = column.bind;\n let control = column.control;\n let value = this.form;\n if (!this.formBind[prop]) {\n let bindList = [];\n if (bind) {\n let formProp = this.$watch('form.' + prop, (n, o) => {\n if (n != o) Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"setAsVal\"])(this.form, bind, n);\n });\n let formDeep = this.$watch('form.' + bind, (n, o) => {\n if (n != o) this.$set(this.form, prop, n);\n });\n bindList.push(formProp);\n bindList.push(formDeep);\n this.$set(this.form, prop, Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"getAsVal\"])(this.form, bind));\n }\n if (control) {\n const callback = () => {\n let controlList = control(this.form[column.prop], this.form) || {};\n Object.keys(controlList).forEach(item => {\n let ele = Object.assign(this.objectOption[item] || {}, controlList[item]);\n this.$set(this.objectOption, item, ele);\n if (controlList[item].dicData) this.DIC[item] = controlList[item].dicData;\n });\n };\n let formControl = this.$watch('form.' + prop, (n, o) => {\n callback();\n });\n bindList.push(formControl);\n callback();\n }\n this.formBind[prop] = bindList;\n }\n });\n },\n setForm() {\n Object.keys(this.value).forEach(ele => {\n this.$set(this.form, ele, this.value[ele]);\n });\n },\n setVal() {\n this.$emit('input', this.form);\n this.$emit('change', this.form);\n },\n setLabel() {\n if (this.tableOption.filterNull === true) {\n this.form = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"filterParams\"])(this.form, [''], false);\n }\n if (this.tableOption.filterDic == true) {\n this.form = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"filterParams\"])(this.form, ['$'], false);\n } else {\n this.propOption.forEach(column => {\n let result;\n let DIC = this.DIC[column.prop];\n if (this.validatenull(DIC)) return;\n result = Object(core_detail__WEBPACK_IMPORTED_MODULE_0__[\"detail\"])(this.form, column, this.tableOption, DIC);\n if (result) {\n this.$set(this.form, `$${column.prop}`, result);\n } else {\n this.$delete(this.form, `$${column.prop}`);\n }\n });\n }\n },\n handleGroupClick(activeNames) {\n this.$emit('tab-click', activeNames);\n },\n handleTabClick(tab, event) {\n this.$emit('tab-click', tab, event);\n },\n getItemParams(column, item, type, isPx) {\n let result;\n if (!this.validatenull(column[type])) {\n result = column[type];\n } else if (!this.validatenull(item[type])) {\n result = item[type];\n } else {\n result = this.parentOption[type];\n }\n result = this.vaildData(result, this.config[type]);\n return isPx ? this.setPx(result) : result;\n },\n //对部分表单字段进行校验的方法\n validateField(val) {\n return this.$refs.form.validateField(val);\n },\n validTip(column) {\n return !column.tip || column.type === 'upload';\n },\n getPropRef(prop) {\n return this.$refs[prop][0];\n },\n handleChange(list, column) {\n this.$nextTick(() => {\n const cascader = column.cascader;\n const str = cascader.join(\",\");\n cascader.forEach(item => {\n const columnNextProp = item;\n const value = this.form[column.prop];\n // 下一个节点\n const columnNext = this.findObject(list, columnNextProp);\n if (this.validatenull(columnNext)) return;\n // 如果不是首次加载则清空全部关联节点的属性值和字典值\n if (this.formList.includes(str)) {\n //清空子类字典列表和值\n cascader.forEach(ele => {\n this.form[ele] = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"blankVal\"])(this.form[ele]);\n this.$set(this.DIC, ele, []);\n });\n }\n /**\n * 1.判断当前节点是否有下级节点\n * 2.判断当前节点是否有值\n */\n if (this.validatenull(cascader) || this.validatenull(value) || this.validatenull(columnNext)) {\n return;\n }\n // 根据当前节点值获取下一个节点的字典\n Object(core_dic__WEBPACK_IMPORTED_MODULE_6__[\"sendDic\"])({\n column: columnNext,\n value: value,\n form: this.form\n }).then(res => {\n //首次加载的放入队列记录\n if (!this.formList.includes(str)) this.formList.push(str);\n // 修改字典\n const dic = res || [];\n this.$set(this.DIC, columnNextProp, dic);\n if (!this.validatenull(dic) && !this.validatenull(dic) && !this.validatenull(columnNext.cascaderIndex) && this.validatenull(this.form[columnNextProp])) {\n this.form[columnNextProp] = dic[columnNext.cascaderIndex][(columnNext.props || {}).value || global_variable__WEBPACK_IMPORTED_MODULE_4__[\"DIC_PROPS\"].value];\n }\n });\n });\n });\n },\n handlePrint() {\n this.$Print(this.$el);\n },\n propChange(option, column) {\n let key = column.prop;\n if (!count[key]) {\n if (column.cascader) this.handleChange(option, column);\n }\n count[key] = true;\n this.$nextTick(() => count[key] = false);\n },\n handleMock() {\n if (!this.isMock) return;\n this.columnOption.forEach(column => {\n const form = Object(utils_mock__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(column.column, this.DIC, this.form, this.isMock);\n if (!this.validatenull(form)) {\n Object.keys(form).forEach(ele => {\n this.form[ele] = form[ele];\n });\n }\n });\n this.$nextTick(() => {\n this.clearValidate();\n this.$emit('mock-change', this.form);\n });\n },\n vaildDetail(column) {\n let key;\n if (this.detail) return false;\n if (!this.validatenull(column.detail)) {\n key = 'detail';\n } else if (this.isAdd) {\n key = 'addDetail';\n } else if (this.isEdit) {\n key = 'editDetail';\n } else if (this.isView) {\n return false;\n }\n return this.vaildData(column[key], false);\n },\n // 验证表单是否禁止\n vaildDisabled(column) {\n let key;\n if (this.disabled) return true;\n if (!this.validatenull(column.disabled)) {\n key = 'disabled';\n } else if (this.isAdd) {\n key = 'addDisabled';\n } else if (this.isEdit) {\n key = 'editDisabled';\n } else if (this.isView) {\n return true;\n }\n return this.vaildData(column[key], false);\n },\n // 验证表单是否显隐\n vaildDisplay(column) {\n let key;\n if (!this.validatenull(column.display)) {\n key = 'display';\n } else if (this.isAdd) {\n key = 'addDisplay';\n } else if (this.isEdit) {\n key = 'editDisplay';\n } else if (this.isView) {\n key = 'viewDisplay';\n }\n return this.vaildData(column[key], true);\n },\n clearValidate(list) {\n if (this.$refs.form) this.$refs.form.clearValidate(list);\n },\n validateCellForm() {\n return new Promise(resolve => {\n this.$refs.form.validate((valid, msg) => {\n resolve(msg);\n });\n });\n },\n validate(callback) {\n this.$refs.form.validate((valid, msg) => {\n let dynamicList = [];\n let dynamicName = [];\n let dynamicError = {};\n this.dynamicOption.forEach(ele => {\n let isForm = ele.children.type === 'form';\n dynamicName.push(ele.prop);\n if (isForm) {\n if (!this.validatenull(this.$refs[ele.prop][0].$refs.temp.$refs.main)) {\n this.$refs[ele.prop][0].$refs.temp.$refs.main.forEach(ele => {\n dynamicList.push(ele.validateCellForm());\n });\n }\n } else {\n dynamicList.push(this.$refs[ele.prop][0].$refs.temp.$refs.main.validateCellForm());\n }\n });\n Promise.all(dynamicList).then(res => {\n let count = 0;\n res.forEach((error, index) => {\n if (!this.validatenull(error)) {\n dynamicError[dynamicName[index]] = error;\n }\n });\n let result = Object.assign(dynamicError, msg);\n if (this.validatenull(result)) {\n this.show();\n callback && callback(true, this.hide, result);\n } else {\n callback && callback(false, this.hide, result);\n }\n });\n });\n },\n resetForm(reset = true) {\n if (reset) {\n let propList = this.propOption.map(ele => ele.prop);\n this.form = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"clearVal\"])(this.form, propList, (this.tableOption.filterParams || []).concat([this.rowKey]));\n }\n this.$nextTick(() => {\n this.clearValidate();\n this.$emit(\"reset-change\");\n });\n },\n resetFields() {\n this.$refs.form.resetFields();\n },\n show() {\n this.allDisabled = true;\n },\n hide() {\n this.allDisabled = false;\n },\n submit() {\n this.validate((valid, hide, msg) => {\n if (valid) {\n this.$emit(\"submit\", Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"filterParams\"])(this.form, ['$']), this.hide);\n } else {\n this.$emit(\"error\", msg);\n }\n });\n }\n },\n beforeDestroy() {\n Object.keys(this.formBind).forEach(ele => {\n this.formBind[ele].forEach(unWatch => {\n unWatch();\n });\n });\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/form/index.vue?./node_modules/.store/babel-loader@8.3.0/node_modules/babel-loader/lib!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options");
|
677
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_detail__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/detail */ \"./src/core/detail.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_init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/common/init */ \"./packages/core/common/init.js\");\n/* harmony import */ var common_components_form_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/components/form/index */ \"./packages/core/components/form/index.vue\");\n/* harmony import */ var global_variable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! global/variable */ \"./src/global/variable.js\");\n/* harmony import */ var core_dataformat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core/dataformat */ \"./src/core/dataformat.js\");\n/* harmony import */ var core_dic__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core/dic */ \"./src/core/dic.js\");\n/* harmony import */ var utils_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! utils/util */ \"./src/utils/util.js\");\n/* harmony import */ var utils_mock__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! utils/mock */ \"./src/utils/mock.js\");\n/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./menu */ \"./packages/element-ui/form/menu.vue\");\n/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./config.js */ \"./packages/element-ui/form/config.js\");\n\n\n\n\n\n\n\n\n\n\n\nlet count = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n name: \"form\",\n mixins: [Object(common_common_init__WEBPACK_IMPORTED_MODULE_2__[\"default\"])()],\n components: {\n formTemp: common_components_form_index__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n formMenu: _menu__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n },\n props: {\n uploadBefore: Function,\n uploadAfter: Function,\n uploadDelete: Function,\n uploadPreview: Function,\n uploadError: Function,\n uploadExceed: Function,\n status: {\n type: Boolean,\n default: false\n },\n isCrud: {\n type: Boolean,\n default: false\n },\n value: {\n type: Object,\n required: true,\n default: () => {\n return {};\n }\n }\n },\n data() {\n return {\n config: _config_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n activeName: \"\",\n allDisabled: false,\n tableOption: {},\n form: {},\n formCreate: false,\n formList: [],\n formBind: {}\n };\n },\n provide() {\n return {\n formSafe: this\n };\n },\n watch: {\n value: {\n handler(val) {\n if (this.formCreate) {\n this.setForm();\n }\n },\n deep: true\n },\n form: {\n handler(val) {\n if (this.formCreate) {\n this.setLabel();\n this.setVal();\n }\n },\n deep: true\n },\n tabsActive: {\n handler(val) {\n this.activeName = this.tabsActive;\n },\n immediate: true\n },\n DIC: {\n handler() {\n this.setLabel();\n },\n deep: true,\n immediate: true\n },\n allDisabled: {\n handler(val) {\n this.$emit(\"update:status\", val);\n },\n deep: true,\n immediate: true\n }\n },\n computed: {\n columnSlot() {\n return Object.keys(this.$scopedSlots).filter(item => !this.propOption.map(ele => ele.prop).includes(item));\n },\n labelSuffix() {\n return this.parentOption.labelSuffix || \":\";\n },\n isMenu() {\n return this.columnOption.length != 1;\n },\n isDetail() {\n return this.detail === true;\n },\n isTabs() {\n return this.parentOption.tabs === true;\n },\n isAdd() {\n return this.boxType === \"add\";\n },\n isEdit() {\n return this.boxType === \"edit\";\n },\n isView() {\n return this.boxType === \"view\";\n },\n detail() {\n return this.parentOption.detail;\n },\n disabled() {\n return this.parentOption.disabled;\n },\n readonly() {\n return this.parentOption.readonly;\n },\n tabsType() {\n return this.parentOption.tabsType;\n },\n columnLen() {\n return this.columnOption.length;\n },\n dynamicOption() {\n let list = [];\n this.propOption.forEach(ele => {\n if (ele.type == \"dynamic\" && this.vaildDisplay(ele)) {\n list.push(ele);\n }\n });\n return list;\n },\n propOption() {\n let list = [];\n this.columnOption.forEach(option => {\n if (option.display !== false) {\n option.column.forEach(column => {\n list.push(column);\n });\n }\n });\n return list;\n },\n parentOption() {\n return this.tableOption || {};\n },\n columnOption() {\n let tableOption = this.deepClone(this.tableOption);\n let column = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"getColumn\"])(tableOption.column);\n let group = tableOption.group || [];\n let footer = tableOption.footer || [];\n group.unshift({\n header: false,\n column: column\n });\n if (footer.length !== 0) {\n group.push({\n header: false,\n column: footer\n });\n }\n group.forEach((ele, index) => {\n ele.column = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"getColumn\"])(ele.column);\n // 循环列的全部属性\n ele.column.forEach((column, cindex) => {\n //动态计算列的位置,如果为隐藏状态则或则手机状态不计算\n if (column.display !== false && !this.isMobile) {\n column = Object(core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"calcCount\"])(column, this.config.span, cindex === 0);\n }\n });\n //处理级联属性\n ele.column = Object(core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"calcCascader\"])(ele.column);\n //根据order排序\n ele.column = ele.column.sort((a, b) => (b.order || 0) - (a.order || 0));\n });\n return group;\n },\n menuPosition: function () {\n if (this.parentOption.menuPosition) {\n return this.parentOption.menuPosition;\n } else {\n return \"center\";\n }\n },\n boxType: function () {\n return this.parentOption.boxType;\n },\n isPrint() {\n return this.vaildData(this.parentOption.printBtn, false);\n },\n tabsActive() {\n return this.vaildData(this.tableOption.tabsActive + \"\", \"1\");\n },\n isMock() {\n return this.vaildData(this.parentOption.mockBtn, false);\n }\n },\n mounted() {\n setTimeout(() => {\n this.dataFormat();\n });\n },\n methods: {\n getComponent: core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"getComponent\"],\n getPlaceholder: core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"getPlaceholder\"],\n getDisabled(column) {\n return this.vaildDetail(column) || this.isDetail || this.vaildDisabled(column) || this.allDisabled;\n },\n isGroupShow(item, index) {\n if (this.isTabs) {\n return index == this.activeName || index == 0;\n } else {\n return true;\n }\n },\n //初始化表单\n dataFormat() {\n let formDefault = Object(core_dataformat__WEBPACK_IMPORTED_MODULE_5__[\"formInitVal\"])(this.propOption).tableForm;\n let formValue = this.value;\n let form = {};\n Object.entries(Object.assign(formDefault, formValue)).forEach(ele => {\n let key = ele[0],\n value = ele[1];\n if (this.validatenull(formValue[key])) {\n form[key] = value;\n } else {\n form[key] = formValue[key];\n }\n });\n this.$set(this, \"form\", form);\n this.setLabel();\n this.setControl();\n this.setVal();\n setTimeout(() => {\n this.formCreate = true;\n this.clearValidate();\n });\n },\n setControl() {\n this.propOption.forEach(column => {\n let prop = column.prop;\n let bind = column.bind;\n let control = column.control;\n let value = this.form;\n if (!this.formBind[prop]) {\n let bindList = [];\n if (bind) {\n let formProp = this.$watch(\"form.\" + prop, (n, o) => {\n if (n != o) Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"setAsVal\"])(this.form, bind, n);\n });\n let formDeep = this.$watch(\"form.\" + bind, (n, o) => {\n if (n != o) this.$set(this.form, prop, n);\n });\n bindList.push(formProp);\n bindList.push(formDeep);\n this.$set(this.form, prop, Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"getAsVal\"])(this.form, bind));\n }\n if (control) {\n const callback = () => {\n let controlList = control(this.form[column.prop], this.form) || {};\n Object.keys(controlList).forEach(item => {\n let ele = Object.assign(this.objectOption[item] || {}, controlList[item]);\n this.$set(this.objectOption, item, ele);\n if (controlList[item].dicData) this.DIC[item] = controlList[item].dicData;\n });\n };\n let formControl = this.$watch(\"form.\" + prop, (n, o) => {\n callback();\n });\n bindList.push(formControl);\n callback();\n }\n this.formBind[prop] = bindList;\n }\n });\n },\n setForm() {\n Object.keys(this.value).forEach(ele => {\n this.$set(this.form, ele, this.value[ele]);\n });\n },\n setVal() {\n this.$emit(\"input\", this.form);\n this.$emit(\"change\", this.form);\n },\n setLabel() {\n if (this.tableOption.filterNull === true) {\n this.form = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"filterParams\"])(this.form, [\"\"], false);\n }\n if (this.tableOption.filterDic == true) {\n this.form = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"filterParams\"])(this.form, [\"$\"], false);\n } else {\n this.propOption.forEach(column => {\n let result;\n let DIC = this.DIC[column.prop];\n if (this.validatenull(DIC)) return;\n result = Object(core_detail__WEBPACK_IMPORTED_MODULE_0__[\"detail\"])(this.form, column, this.tableOption, DIC);\n if (result) {\n this.$set(this.form, `$${column.prop}`, result);\n } else {\n this.$delete(this.form, `$${column.prop}`);\n }\n });\n }\n },\n handleGroupClick(activeNames) {\n this.$emit(\"tab-click\", activeNames);\n },\n handleTabClick(tab, event) {\n this.$emit(\"tab-click\", tab, event);\n },\n getItemParams(column, item, type, isPx) {\n let result;\n if (!this.validatenull(column[type])) {\n result = column[type];\n } else if (!this.validatenull(item[type])) {\n result = item[type];\n } else {\n result = this.parentOption[type];\n }\n result = this.vaildData(result, this.config[type]);\n return isPx ? this.setPx(result) : result;\n },\n //对部分表单字段进行校验的方法\n validateField(val) {\n return this.$refs.form.validateField(val);\n },\n validTip(column) {\n return !column.tip || column.type === \"upload\";\n },\n getPropRef(prop) {\n return this.$refs[prop][0];\n },\n handleChange(list, column) {\n this.$nextTick(() => {\n const cascader = column.cascader;\n const str = cascader.join(\",\");\n cascader.forEach(item => {\n const columnNextProp = item;\n const value = this.form[column.prop];\n // 下一个节点\n const columnNext = this.findObject(list, columnNextProp);\n if (this.validatenull(columnNext)) return;\n // 如果不是首次加载则清空全部关联节点的属性值和字典值\n if (this.formList.includes(str)) {\n //清空子类字典列表和值\n cascader.forEach(ele => {\n this.form[ele] = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"blankVal\"])(this.form[ele]);\n this.$set(this.DIC, ele, []);\n });\n }\n /**\n * 1.判断当前节点是否有下级节点\n * 2.判断当前节点是否有值\n */\n if (this.validatenull(cascader) || this.validatenull(value) || this.validatenull(columnNext)) {\n return;\n }\n // 根据当前节点值获取下一个节点的字典\n Object(core_dic__WEBPACK_IMPORTED_MODULE_6__[\"sendDic\"])({\n column: columnNext,\n value: value,\n form: this.form\n }).then(res => {\n //首次加载的放入队列记录\n if (!this.formList.includes(str)) this.formList.push(str);\n // 修改字典\n const dic = res || [];\n this.$set(this.DIC, columnNextProp, dic);\n if (!this.validatenull(dic) && !this.validatenull(dic) && !this.validatenull(columnNext.cascaderIndex) && this.validatenull(this.form[columnNextProp])) {\n this.form[columnNextProp] = dic[columnNext.cascaderIndex][(columnNext.props || {}).value || global_variable__WEBPACK_IMPORTED_MODULE_4__[\"DIC_PROPS\"].value];\n }\n });\n });\n });\n },\n handlePrint() {\n this.$Print(this.$el);\n },\n propChange(option, column) {\n let key = column.prop;\n if (!count[key]) {\n if (column.cascader) this.handleChange(option, column);\n }\n count[key] = true;\n this.$nextTick(() => count[key] = false);\n },\n handleMock() {\n if (!this.isMock) return;\n this.columnOption.forEach(column => {\n const form = Object(utils_mock__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(column.column, this.DIC, this.form, this.isMock);\n if (!this.validatenull(form)) {\n Object.keys(form).forEach(ele => {\n this.form[ele] = form[ele];\n });\n }\n });\n this.$nextTick(() => {\n this.clearValidate();\n this.$emit(\"mock-change\", this.form);\n });\n },\n vaildDetail(column) {\n let key;\n if (this.detail) return false;\n if (!this.validatenull(column.detail)) {\n key = \"detail\";\n } else if (this.isAdd) {\n key = \"addDetail\";\n } else if (this.isEdit) {\n key = \"editDetail\";\n } else if (this.isView) {\n return false;\n }\n return this.vaildData(column[key], false);\n },\n // 验证表单是否禁止\n vaildDisabled(column) {\n let key;\n if (this.disabled) return true;\n if (!this.validatenull(column.disabled)) {\n key = \"disabled\";\n } else if (this.isAdd) {\n key = \"addDisabled\";\n } else if (this.isEdit) {\n key = \"editDisabled\";\n } else if (this.isView) {\n return true;\n }\n return this.vaildData(column[key], false);\n },\n // 验证表单是否显隐\n vaildDisplay(column) {\n let key;\n if (!this.validatenull(column.display)) {\n key = \"display\";\n } else if (this.isAdd) {\n key = \"addDisplay\";\n } else if (this.isEdit) {\n key = \"editDisplay\";\n } else if (this.isView) {\n key = \"viewDisplay\";\n }\n return this.vaildData(column[key], true);\n },\n clearValidate(list) {\n if (this.$refs.form) this.$refs.form.clearValidate(list);\n },\n validateCellForm() {\n return new Promise(resolve => {\n this.$refs.form.validate((valid, msg) => {\n resolve(msg);\n });\n });\n },\n validate(callback) {\n return new Promise(resolve => {\n this.$refs.form.validate((valid, msg) => {\n let dynamicList = [];\n let dynamicName = [];\n let dynamicError = {};\n this.dynamicOption.forEach(ele => {\n let isForm = ele.children.type === \"form\";\n dynamicName.push(ele.prop);\n if (isForm) {\n if (!this.validatenull(this.$refs[ele.prop][0].$refs.temp.$refs.main)) {\n this.$refs[ele.prop][0].$refs.temp.$refs.main.forEach(ele => {\n dynamicList.push(ele.validateCellForm());\n });\n }\n } else {\n dynamicList.push(this.$refs[ele.prop][0].$refs.temp.$refs.main.validateCellForm());\n }\n });\n Promise.all(dynamicList).then(res => {\n let count = 0;\n res.forEach((error, index) => {\n if (!this.validatenull(error)) {\n dynamicError[dynamicName[index]] = error;\n }\n });\n let result = Object.assign(dynamicError, msg);\n if (this.validatenull(result)) {\n this.show();\n if (callback) {\n callback(true, this.hide, result);\n }\n resolve({\n valid: true,\n done: this.hide,\n msg: result\n });\n } else {\n if (callback) {\n callback(false, this.hide, result);\n }\n resolve({\n valid: false,\n done: this.hide,\n msg: result\n });\n }\n });\n });\n });\n },\n resetForm(reset = true) {\n if (reset) {\n let propList = this.propOption.map(ele => ele.prop);\n this.form = Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"clearVal\"])(this.form, propList, (this.tableOption.filterParams || []).concat([this.rowKey]));\n }\n this.$nextTick(() => {\n this.clearValidate();\n this.$emit(\"reset-change\");\n });\n },\n resetFields() {\n this.$refs.form.resetFields();\n },\n show() {\n this.allDisabled = true;\n },\n hide() {\n this.allDisabled = false;\n },\n submit() {\n this.validate((valid, hide, msg) => {\n if (valid) {\n this.$emit(\"submit\", Object(utils_util__WEBPACK_IMPORTED_MODULE_7__[\"filterParams\"])(this.form, [\"$\"]), this.hide);\n } else {\n this.$emit(\"error\", msg);\n }\n });\n }\n },\n beforeDestroy() {\n Object.keys(this.formBind).forEach(ele => {\n this.formBind[ele].forEach(unWatch => {\n unWatch();\n });\n });\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/form/index.vue?./node_modules/.store/babel-loader@8.3.0/node_modules/babel-loader/lib!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options");
|
678
678
|
|
679
679
|
/***/ }),
|
680
680
|
|
@@ -1478,15 +1478,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
1478
1478
|
|
1479
1479
|
/***/ }),
|
1480
1480
|
|
1481
|
-
/***/ "./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/index.js?!./packages/element-ui/crud/column.vue?vue&type=template&id=
|
1481
|
+
/***/ "./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/index.js?!./packages/element-ui/crud/column.vue?vue&type=template&id=76a96510":
|
1482
1482
|
/*!***************************************************************************************************************************************************************************************************************************************************************************!*\
|
1483
|
-
!*** ./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/crud/column.vue?vue&type=template&id=
|
1483
|
+
!*** ./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/crud/column.vue?vue&type=template&id=76a96510 ***!
|
1484
1484
|
\***************************************************************************************************************************************************************************************************************************************************************************/
|
1485
1485
|
/*! exports provided: render, staticRenderFns */
|
1486
1486
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1487
1487
|
|
1488
1488
|
"use strict";
|
1489
|
-
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',[_vm._t(\"header\"),_vm._v(\" \"),_vm._l((_vm.list),function(column,index){return [(column.children && column.children.length
|
1489
|
+
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',[_vm._t(\"header\"),_vm._v(\" \"),_vm._l((_vm.list),function(column,index){return [(column.children && column.children.length>0)?_c('column-dynamic',{key:column.label,attrs:{\"columnOption\":column},scopedSlots:_vm._u([_vm._l((_vm.crud.mainSlot),function(item){return {key:item,fn:function(scope){return [_vm._t(item,null,null,scope)]}}})],null,true)}):_c('column-slot',{attrs:{\"column\":column,\"column-option\":_vm.columnOption},scopedSlots:_vm._u([_vm._l((_vm.crud.mainSlot),function(item){return {key:item,fn:function(scope){return [_vm._t(item,null,null,scope)]}}})],null,true)})]}),_vm._v(\" \"),_vm._t(\"footer\")],2)\n}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/crud/column.vue?./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options");
|
1490
1490
|
|
1491
1491
|
/***/ }),
|
1492
1492
|
|
@@ -1646,15 +1646,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
1646
1646
|
|
1647
1647
|
/***/ }),
|
1648
1648
|
|
1649
|
-
/***/ "./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/index.js?!./packages/element-ui/form/index.vue?vue&type=template&id=
|
1649
|
+
/***/ "./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/index.js?!./packages/element-ui/form/index.vue?vue&type=template&id=455a06b3":
|
1650
1650
|
/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
|
1651
|
-
!*** ./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/form/index.vue?vue&type=template&id=
|
1651
|
+
!*** ./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options!./packages/element-ui/form/index.vue?vue&type=template&id=455a06b3 ***!
|
1652
1652
|
\**************************************************************************************************************************************************************************************************************************************************************************/
|
1653
1653
|
/*! exports provided: render, staticRenderFns */
|
1654
1654
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1655
1655
|
|
1656
1656
|
"use strict";
|
1657
|
-
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(),{'avue--detail':_vm.isDetail}],style:({width:_vm.setPx(_vm.parentOption.formWidth,'100%')})},[_c('el-form',{ref:\"form\",attrs:{\"status-icon\":_vm.parentOption.statusIcon,\"model\":_vm.form,\"label-suffix\":_vm.labelSuffix,\"hide-required-asterisk\":_vm.parentOption.hideRequiredAsterisk,\"size\":_vm.$AVUE.formSize || _vm.controlSize,\"label-position\":_vm.parentOption.labelPosition,\"label-width\":_vm.setPx(_vm.parentOption.labelWidth,_vm.config.labelWidth)},nativeOn:{\"submit\":function($event){$event.preventDefault();}}},[_c('el-row',{class:{'avue-form__tabs':_vm.isTabs},attrs:{\"span\":24,\"gutter\":_vm.parentOption.gutter}},[_vm._l((_vm.columnOption),function(item,index){return _c('avue-group',{key:item.prop,attrs:{\"tabs\":_vm.isTabs,\"arrow\":item.arrow,\"collapse\":item.collapse,\"display\":_vm.vaildDisplay(item),\"icon\":item.icon,\"index\":index,\"header\":!_vm.isTabs,\"active\":_vm.activeName,\"label\":item.label},on:{\"change\":_vm.handleGroupClick}},[(_vm.isTabs&&index == 1)?_c('el-tabs',{class:_vm.b('tabs'),attrs:{\"slot\":\"tabs\",\"type\":_vm.tabsType},on:{\"tab-click\":_vm.handleTabClick},slot:\"tabs\",model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:\"activeName\"}},[_vm._l((_vm.columnOption),function(tabs,index){return [(_vm.vaildDisplay(tabs) && index!=0)?_c('el-tab-pane',{key:index,attrs:{\"name\":index+''}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[(_vm.getSlotName(tabs,'H',_vm.$scopedSlots))?_vm._t(_vm.getSlotName(tabs,'H'),null,{\"column\":_vm.column}):[_c('i',{class:tabs.icon},[_vm._v(\" \")]),_vm._v(\"\\n \"+_vm._s(tabs.label)+\"\\n \")]],2)]):_vm._e()]})],2):_vm._e(),_vm._v(\" \"),(_vm.getSlotName(item,'H',_vm.$scopedSlots))?_c('template',{slot:\"header\"},[_vm._t(_vm.getSlotName(item,'H'),null,{\"column\":item})],2):_vm._e(),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isGroupShow(item,index)),expression:\"isGroupShow(item,index)\"}],class:_vm.b('group',{
|
1657
|
+
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(), { 'avue--detail': _vm.isDetail }],style:({ width: _vm.setPx(_vm.parentOption.formWidth, '100%') })},[_c('el-form',{ref:\"form\",attrs:{\"status-icon\":_vm.parentOption.statusIcon,\"model\":_vm.form,\"label-suffix\":_vm.labelSuffix,\"hide-required-asterisk\":_vm.parentOption.hideRequiredAsterisk,\"size\":_vm.$AVUE.formSize || _vm.controlSize,\"label-position\":_vm.parentOption.labelPosition,\"label-width\":_vm.setPx(_vm.parentOption.labelWidth, _vm.config.labelWidth)},nativeOn:{\"submit\":function($event){$event.preventDefault();}}},[_c('el-row',{class:{ 'avue-form__tabs': _vm.isTabs },attrs:{\"span\":24,\"gutter\":_vm.parentOption.gutter}},[_vm._l((_vm.columnOption),function(item,index){return _c('avue-group',{key:item.prop,attrs:{\"tabs\":_vm.isTabs,\"arrow\":item.arrow,\"collapse\":item.collapse,\"display\":_vm.vaildDisplay(item),\"icon\":item.icon,\"index\":index,\"header\":!_vm.isTabs,\"active\":_vm.activeName,\"label\":item.label},on:{\"change\":_vm.handleGroupClick}},[(_vm.isTabs && index == 1)?_c('el-tabs',{class:_vm.b('tabs'),attrs:{\"slot\":\"tabs\",\"type\":_vm.tabsType},on:{\"tab-click\":_vm.handleTabClick},slot:\"tabs\",model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:\"activeName\"}},[_vm._l((_vm.columnOption),function(tabs,index){return [(_vm.vaildDisplay(tabs) && index != 0)?_c('el-tab-pane',{key:index,attrs:{\"name\":index + ''}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[(_vm.getSlotName(tabs, 'H', _vm.$scopedSlots))?_vm._t(_vm.getSlotName(tabs, 'H'),null,{\"column\":_vm.column}):[_c('i',{class:tabs.icon},[_vm._v(\" \")]),_vm._v(\"\\n \"+_vm._s(tabs.label)+\"\\n \")]],2)]):_vm._e()]})],2):_vm._e(),_vm._v(\" \"),(_vm.getSlotName(item, 'H', _vm.$scopedSlots))?_c('template',{slot:\"header\"},[_vm._t(_vm.getSlotName(item, 'H'),null,{\"column\":item})],2):_vm._e(),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isGroupShow(item, index)),expression:\"isGroupShow(item, index)\"}],class:_vm.b('group', { flex: _vm.vaildData(item.flex, true) })},[_vm._l((item.column),function(column,cindex){return [(_vm.vaildDisplay(column))?_c('el-col',{key:cindex,class:[\n _vm.b('row'),\n { 'avue--detail avue--detail__column': _vm.vaildDetail(column) },\n column.className,\n ],attrs:{\"span\":_vm.getItemParams(column, item, 'span'),\"md\":_vm.getItemParams(column, item, 'span'),\"sm\":_vm.getItemParams(column, item, 'span'),\"xs\":_vm.getItemParams(column, item, 'xsSpan'),\"offset\":_vm.getItemParams(column, item, 'offset'),\"push\":_vm.getItemParams(column, item, 'push'),\"pull\":_vm.getItemParams(column, item, 'pull')}},[_c('el-form-item',{class:_vm.b(\n 'item--' +\n (column.labelPosition || item.labelPosition || '')\n ),attrs:{\"prop\":column.prop,\"label\":column.label,\"rules\":column.rules,\"label-position\":column.labelPosition ||\n item.labelPosition ||\n _vm.parentOption.labelPosition,\"label-width\":_vm.getItemParams(column, item, 'labelWidth', true)},scopedSlots:_vm._u([{key:\"error\",fn:function(scope){return (_vm.getSlotName(column, 'E', _vm.$scopedSlots))?[_vm._t(_vm.getSlotName(column, 'E'),null,null,\n Object.assign(scope, {\n column,\n value: _vm.form[column.prop],\n readonly: _vm.readonly || column.readonly,\n disabled: _vm.getDisabled(column),\n size: column.size || _vm.controlSize,\n dic: _vm.DIC[column.prop],\n })\n )]:undefined}}],null,true)},[(_vm.getSlotName(column, 'L', _vm.$scopedSlots))?_c('template',{slot:\"label\"},[_vm._t(_vm.getSlotName(column, 'L'),null,{\"column\":column,\"value\":_vm.form[column.prop],\"readonly\":column.readonly || _vm.readonly,\"disabled\":_vm.getDisabled(column),\"size\":column.size || _vm.controlSize,\"dic\":_vm.DIC[column.prop]})],2):(column.labelTip)?_c('template',{slot:\"label\"},[_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"placement\":column.labelTipPlacement || 'top-start'}},[_c('div',{attrs:{\"slot\":\"content\"},domProps:{\"innerHTML\":_vm._s(column.labelTip)},slot:\"content\"}),_vm._v(\" \"),_c('i',{staticClass:\"el-icon-info\"})]),_vm._v(\" \"),_c('span',[_vm._v(\" \"+_vm._s(column.label)+_vm._s(_vm.labelSuffix))])],1):_vm._e(),_vm._v(\" \"),_vm._v(\" \"),_c(_vm.validTip(column) ? 'div' : 'elTooltip',{tag:\"component\",attrs:{\"disabled\":_vm.validTip(column),\"content\":_vm.vaildData(column.tip, _vm.getPlaceholder(column)),\"placement\":column.tipPlacement}},[(_vm.$scopedSlots[column.prop])?_vm._t(column.prop,null,{\"value\":_vm.form[column.prop],\"column\":column,\"label\":_vm.form['$' + column.prop],\"size\":column.size || _vm.controlSize,\"readonly\":_vm.readonly || column.readonly,\"disabled\":_vm.getDisabled(column),\"dic\":_vm.DIC[column.prop]}):_c('form-temp',_vm._b({ref:column.prop,refInFor:true,attrs:{\"column\":column,\"box-type\":_vm.boxType,\"dic\":_vm.DIC[column.prop],\"props\":_vm.parentOption.props,\"propsHttp\":_vm.parentOption.propsHttp,\"disabled\":_vm.getDisabled(column),\"readonly\":column.readonly || _vm.readonly,\"enter\":_vm.parentOption.enter,\"size\":_vm.size,\"column-slot\":_vm.columnSlot},on:{\"enter\":_vm.submit,\"change\":function($event){return _vm.propChange(item.column, column)}},scopedSlots:_vm._u([_vm._l((_vm.getSlotName(column, 'T', _vm.$scopedSlots)\n ? [column]\n : []),function(item){return {key:_vm.getSlotName(column, 'T'),fn:function(scope){return [_vm._t(_vm.getSlotName(item, 'T'),null,null,scope)]}}}),_vm._l((_vm.columnSlot),function(item){return {key:item,fn:function(scope){return [_vm._t(item,null,null,scope)]}}})],null,true),model:{value:(_vm.form[column.prop]),callback:function ($$v) {_vm.$set(_vm.form, column.prop, $$v)},expression:\"form[column.prop]\"}},'form-temp',_vm.$uploadFun(column),false))],2)],2)],1):_vm._e(),_vm._v(\" \"),(\n _vm.vaildDisplay(column) &&\n column.row &&\n column.span !== 24 &&\n column.count\n )?_c('div',{key:`line${cindex}`,class:_vm.b('line'),style:({ width: (column.count / 24) * 100 + '%' })}):_vm._e()]}),_vm._v(\" \"),(!_vm.isDetail && !_vm.isMenu)?_c('form-menu',{scopedSlots:_vm._u([{key:\"menuForm\",fn:function(scope){return [_vm._t(\"menuForm\",null,null,scope)]}}],null,true)}):_vm._e()],2)],2)}),_vm._v(\" \"),(!_vm.isDetail && _vm.isMenu)?_c('form-menu',{scopedSlots:_vm._u([{key:\"menuForm\",fn:function(scope){return [_vm._t(\"menuForm\",null,null,scope)]}}],null,true)}):_vm._e()],2)],1)],1)\n}\nvar staticRenderFns = []\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/form/index.vue?./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options");
|
1658
1658
|
|
1659
1659
|
/***/ }),
|
1660
1660
|
|
@@ -3334,7 +3334,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
3334
3334
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3335
3335
|
|
3336
3336
|
"use strict";
|
3337
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
3337
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _column_vue_vue_type_template_id_76a96510__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./column.vue?vue&type=template&id=76a96510 */ \"./packages/element-ui/crud/column.vue?vue&type=template&id=76a96510\");\n/* harmony import */ var _column_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./column.vue?vue&type=script&lang=js */ \"./packages/element-ui/crud/column.vue?vue&type=script&lang=js\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _column_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _column_vue_vue_type_template_id_76a96510__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _column_vue_vue_type_template_id_76a96510__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/crud/column.vue?");
|
3338
3338
|
|
3339
3339
|
/***/ }),
|
3340
3340
|
|
@@ -3350,15 +3350,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
3350
3350
|
|
3351
3351
|
/***/ }),
|
3352
3352
|
|
3353
|
-
/***/ "./packages/element-ui/crud/column.vue?vue&type=template&id=
|
3353
|
+
/***/ "./packages/element-ui/crud/column.vue?vue&type=template&id=76a96510":
|
3354
3354
|
/*!***************************************************************************!*\
|
3355
|
-
!*** ./packages/element-ui/crud/column.vue?vue&type=template&id=
|
3355
|
+
!*** ./packages/element-ui/crud/column.vue?vue&type=template&id=76a96510 ***!
|
3356
3356
|
\***************************************************************************/
|
3357
3357
|
/*! exports provided: render, staticRenderFns */
|
3358
3358
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3359
3359
|
|
3360
3360
|
"use strict";
|
3361
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
3361
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_index_js_vue_loader_options_column_vue_vue_type_template_id_76a96510__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!../../../node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options!./column.vue?vue&type=template&id=76a96510 */ \"./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/index.js?!./packages/element-ui/crud/column.vue?vue&type=template&id=76a96510\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_index_js_vue_loader_options_column_vue_vue_type_template_id_76a96510__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_index_js_vue_loader_options_column_vue_vue_type_template_id_76a96510__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/crud/column.vue?");
|
3362
3362
|
|
3363
3363
|
/***/ }),
|
3364
3364
|
|
@@ -3862,7 +3862,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n// form配置文件\n/* harmo
|
|
3862
3862
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3863
3863
|
|
3864
3864
|
"use strict";
|
3865
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
3865
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _index_vue_vue_type_template_id_455a06b3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=455a06b3 */ \"./packages/element-ui/form/index.vue?vue&type=template&id=455a06b3\");\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/form/index.vue?vue&type=script&lang=js\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_store_vue_loader_15_11_1_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_455a06b3__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _index_vue_vue_type_template_id_455a06b3__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/form/index.vue?");
|
3866
3866
|
|
3867
3867
|
/***/ }),
|
3868
3868
|
|
@@ -3878,15 +3878,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
3878
3878
|
|
3879
3879
|
/***/ }),
|
3880
3880
|
|
3881
|
-
/***/ "./packages/element-ui/form/index.vue?vue&type=template&id=
|
3881
|
+
/***/ "./packages/element-ui/form/index.vue?vue&type=template&id=455a06b3":
|
3882
3882
|
/*!**************************************************************************!*\
|
3883
|
-
!*** ./packages/element-ui/form/index.vue?vue&type=template&id=
|
3883
|
+
!*** ./packages/element-ui/form/index.vue?vue&type=template&id=455a06b3 ***!
|
3884
3884
|
\**************************************************************************/
|
3885
3885
|
/*! exports provided: render, staticRenderFns */
|
3886
3886
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3887
3887
|
|
3888
3888
|
"use strict";
|
3889
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
3889
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_455a06b3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!../../../node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib??vue-loader-options!./index.vue?vue&type=template&id=455a06b3 */ \"./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/.store/vue-loader@15.11.1/node_modules/vue-loader/lib/index.js?!./packages/element-ui/form/index.vue?vue&type=template&id=455a06b3\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_455a06b3__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_5_node_modules_store_vue_loader_15_11_1_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_455a06b3__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/form/index.vue?");
|
3890
3890
|
|
3891
3891
|
/***/ }),
|
3892
3892
|
|
@@ -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; });\nconst version = '
|
5377
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nconst version = '0.1.0';\n\n//# sourceURL=webpack://AVUE/./src/version.js?");
|
5378
5378
|
|
5379
5379
|
/***/ }),
|
5380
5380
|
|