element-ui-root 2.1.2 → 2.1.5
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/dist/index.common.js +24 -27
- package/dist/index.umd.js +24 -27
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -18379,10 +18379,6 @@ module.exports = _default;
|
|
|
18379
18379
|
|
|
18380
18380
|
"use strict";
|
|
18381
18381
|
__webpack_require__.r(__webpack_exports__);
|
|
18382
|
-
// import Aupload from '@/components/Aupload/Icon';
|
|
18383
|
-
// import Aeditor from '@/components/Aeditor/WangEditor';
|
|
18384
|
-
// const AiconSelect = () => import('@/components/AiconSelect');
|
|
18385
|
-
// const Aupload = () => import('@/components/Aupload/Icon');
|
|
18386
18382
|
const AiconSelect = a => Promise.resolve(/* AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("db3d")]; (a).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);
|
|
18387
18383
|
|
|
18388
18384
|
const Aupload = a => Promise.resolve(/* AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("7d0e")]; (a).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);
|
|
@@ -18624,13 +18620,13 @@ const Aupload = a => Promise.resolve(/* AMD require */).then(function() { var __
|
|
|
18624
18620
|
"key": b,
|
|
18625
18621
|
"attrs": {
|
|
18626
18622
|
"label": labels(a),
|
|
18627
|
-
"value": values(a)
|
|
18623
|
+
"value": `${values(a)}`
|
|
18628
18624
|
}
|
|
18629
18625
|
})) : this.option.map((a, b) => h("el-option", {
|
|
18630
18626
|
"key": b,
|
|
18631
18627
|
"attrs": {
|
|
18632
18628
|
"label": labels(a),
|
|
18633
|
-
"value": values(a)
|
|
18629
|
+
"value": `${values(a)}`
|
|
18634
18630
|
}
|
|
18635
18631
|
}))]);
|
|
18636
18632
|
|
|
@@ -132744,25 +132740,26 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132744
132740
|
|
|
132745
132741
|
format(a, b) {
|
|
132746
132742
|
const h = this.$createElement;
|
|
132743
|
+
const { ...r
|
|
132744
|
+
} = this.config[a];
|
|
132745
|
+
const rule = {
|
|
132746
|
+
required: true,
|
|
132747
|
+
trigger: 'blur',
|
|
132748
|
+
message: `${r['text']}不能为空`
|
|
132749
|
+
};
|
|
132750
|
+
const rules = r['rule'] ? r['rule'] : r['must'] || this.must ? [{ ...rule
|
|
132751
|
+
}] : {};
|
|
132747
132752
|
return h("el-form-item", {
|
|
132748
132753
|
"key": b,
|
|
132749
132754
|
"attrs": {
|
|
132750
|
-
"prop":
|
|
132751
|
-
"
|
|
132752
|
-
"
|
|
132753
|
-
required: true,
|
|
132754
|
-
trigger: 'blur',
|
|
132755
|
-
message: `${this.config[a]['text']}不能为空`
|
|
132756
|
-
}] : this.must ? [{
|
|
132757
|
-
required: true,
|
|
132758
|
-
trigger: 'blur',
|
|
132759
|
-
message: `${this.config[a]['text']}不能为空`
|
|
132760
|
-
}] : {}
|
|
132755
|
+
"prop": a,
|
|
132756
|
+
"rules": rules,
|
|
132757
|
+
"label": this.label ? r.type && r.type == 'checkbox' ? '' : r.text || r.label || r.title : ''
|
|
132761
132758
|
},
|
|
132762
132759
|
"style": {
|
|
132763
|
-
width:
|
|
132760
|
+
width: r.width ? r.width : this.itemWidth
|
|
132764
132761
|
}
|
|
132765
|
-
}, [
|
|
132762
|
+
}, [r.hint ? h("el-row", {
|
|
132766
132763
|
"attrs": {
|
|
132767
132764
|
"gutter": 20
|
|
132768
132765
|
}
|
|
@@ -132774,10 +132771,10 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132774
132771
|
"attrs": {
|
|
132775
132772
|
"config": {
|
|
132776
132773
|
form: this.form,
|
|
132777
|
-
size:
|
|
132778
|
-
field:
|
|
132774
|
+
size: r.size ? r.size : this.size,
|
|
132775
|
+
field: a,
|
|
132779
132776
|
disabled: this.loading,
|
|
132780
|
-
...
|
|
132777
|
+
...r
|
|
132781
132778
|
}
|
|
132782
132779
|
}
|
|
132783
132780
|
})]), h("el-col", {
|
|
@@ -132786,14 +132783,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132786
132783
|
}
|
|
132787
132784
|
}, [h("span", {
|
|
132788
132785
|
"class": "hint"
|
|
132789
|
-
}, [`(${
|
|
132786
|
+
}, [`(${r.hint})`])])]) : h(AformItem, {
|
|
132790
132787
|
"attrs": {
|
|
132791
132788
|
"config": {
|
|
132792
132789
|
form: this.form,
|
|
132793
|
-
size:
|
|
132794
|
-
field:
|
|
132790
|
+
size: r.size ? r.size : this.size,
|
|
132791
|
+
field: a,
|
|
132795
132792
|
disabled: this.loading,
|
|
132796
|
-
...
|
|
132793
|
+
...r
|
|
132797
132794
|
}
|
|
132798
132795
|
}
|
|
132799
132796
|
})]);
|
|
@@ -165847,7 +165844,7 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165847
165844
|
},
|
|
165848
165845
|
cols: {
|
|
165849
165846
|
type: String,
|
|
165850
|
-
default: () => '
|
|
165847
|
+
default: () => '6'
|
|
165851
165848
|
},
|
|
165852
165849
|
labelWidth: {
|
|
165853
165850
|
type: String,
|
package/dist/index.umd.js
CHANGED
|
@@ -18388,10 +18388,6 @@ module.exports = _default;
|
|
|
18388
18388
|
|
|
18389
18389
|
"use strict";
|
|
18390
18390
|
__webpack_require__.r(__webpack_exports__);
|
|
18391
|
-
// import Aupload from '@/components/Aupload/Icon';
|
|
18392
|
-
// import Aeditor from '@/components/Aeditor/WangEditor';
|
|
18393
|
-
// const AiconSelect = () => import('@/components/AiconSelect');
|
|
18394
|
-
// const Aupload = () => import('@/components/Aupload/Icon');
|
|
18395
18391
|
const AiconSelect = a => Promise.resolve(/* AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("db3d")]; (a).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);
|
|
18396
18392
|
|
|
18397
18393
|
const Aupload = a => Promise.resolve(/* AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("7d0e")]; (a).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);
|
|
@@ -18633,13 +18629,13 @@ const Aupload = a => Promise.resolve(/* AMD require */).then(function() { var __
|
|
|
18633
18629
|
"key": b,
|
|
18634
18630
|
"attrs": {
|
|
18635
18631
|
"label": labels(a),
|
|
18636
|
-
"value": values(a)
|
|
18632
|
+
"value": `${values(a)}`
|
|
18637
18633
|
}
|
|
18638
18634
|
})) : this.option.map((a, b) => h("el-option", {
|
|
18639
18635
|
"key": b,
|
|
18640
18636
|
"attrs": {
|
|
18641
18637
|
"label": labels(a),
|
|
18642
|
-
"value": values(a)
|
|
18638
|
+
"value": `${values(a)}`
|
|
18643
18639
|
}
|
|
18644
18640
|
}))]);
|
|
18645
18641
|
|
|
@@ -132753,25 +132749,26 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132753
132749
|
|
|
132754
132750
|
format(a, b) {
|
|
132755
132751
|
const h = this.$createElement;
|
|
132752
|
+
const { ...r
|
|
132753
|
+
} = this.config[a];
|
|
132754
|
+
const rule = {
|
|
132755
|
+
required: true,
|
|
132756
|
+
trigger: 'blur',
|
|
132757
|
+
message: `${r['text']}不能为空`
|
|
132758
|
+
};
|
|
132759
|
+
const rules = r['rule'] ? r['rule'] : r['must'] || this.must ? [{ ...rule
|
|
132760
|
+
}] : {};
|
|
132756
132761
|
return h("el-form-item", {
|
|
132757
132762
|
"key": b,
|
|
132758
132763
|
"attrs": {
|
|
132759
|
-
"prop":
|
|
132760
|
-
"
|
|
132761
|
-
"
|
|
132762
|
-
required: true,
|
|
132763
|
-
trigger: 'blur',
|
|
132764
|
-
message: `${this.config[a]['text']}不能为空`
|
|
132765
|
-
}] : this.must ? [{
|
|
132766
|
-
required: true,
|
|
132767
|
-
trigger: 'blur',
|
|
132768
|
-
message: `${this.config[a]['text']}不能为空`
|
|
132769
|
-
}] : {}
|
|
132764
|
+
"prop": a,
|
|
132765
|
+
"rules": rules,
|
|
132766
|
+
"label": this.label ? r.type && r.type == 'checkbox' ? '' : r.text || r.label || r.title : ''
|
|
132770
132767
|
},
|
|
132771
132768
|
"style": {
|
|
132772
|
-
width:
|
|
132769
|
+
width: r.width ? r.width : this.itemWidth
|
|
132773
132770
|
}
|
|
132774
|
-
}, [
|
|
132771
|
+
}, [r.hint ? h("el-row", {
|
|
132775
132772
|
"attrs": {
|
|
132776
132773
|
"gutter": 20
|
|
132777
132774
|
}
|
|
@@ -132783,10 +132780,10 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132783
132780
|
"attrs": {
|
|
132784
132781
|
"config": {
|
|
132785
132782
|
form: this.form,
|
|
132786
|
-
size:
|
|
132787
|
-
field:
|
|
132783
|
+
size: r.size ? r.size : this.size,
|
|
132784
|
+
field: a,
|
|
132788
132785
|
disabled: this.loading,
|
|
132789
|
-
...
|
|
132786
|
+
...r
|
|
132790
132787
|
}
|
|
132791
132788
|
}
|
|
132792
132789
|
})]), h("el-col", {
|
|
@@ -132795,14 +132792,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132795
132792
|
}
|
|
132796
132793
|
}, [h("span", {
|
|
132797
132794
|
"class": "hint"
|
|
132798
|
-
}, [`(${
|
|
132795
|
+
}, [`(${r.hint})`])])]) : h(AformItem, {
|
|
132799
132796
|
"attrs": {
|
|
132800
132797
|
"config": {
|
|
132801
132798
|
form: this.form,
|
|
132802
|
-
size:
|
|
132803
|
-
field:
|
|
132799
|
+
size: r.size ? r.size : this.size,
|
|
132800
|
+
field: a,
|
|
132804
132801
|
disabled: this.loading,
|
|
132805
|
-
...
|
|
132802
|
+
...r
|
|
132806
132803
|
}
|
|
132807
132804
|
}
|
|
132808
132805
|
})]);
|
|
@@ -165856,7 +165853,7 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165856
165853
|
},
|
|
165857
165854
|
cols: {
|
|
165858
165855
|
type: String,
|
|
165859
|
-
default: () => '
|
|
165856
|
+
default: () => '6'
|
|
165860
165857
|
},
|
|
165861
165858
|
labelWidth: {
|
|
165862
165859
|
type: String,
|