element-ui-root 2.1.0 → 2.1.4

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.
@@ -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": `${a}`,
132751
- "label": this.label ? this.config[a].type && this.config[a].type == 'checkbox' ? '' : this.config[a].text || this.config[a].label || this.config[a].title : '',
132752
- "rules": this.config[a]['rule'] ? this.config[a]['rule'] : this.config[a]['must'] ? [{
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: this.config[a].width ? this.config[a].width : this.itemWidth
132760
+ width: r.width ? r.width : this.itemWidth
132764
132761
  }
132765
- }, [this.config[a].hint ? h("el-row", {
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: this.config[a].size ? this.config[a].size : this.size,
132778
- field: `${a}`,
132774
+ size: r.size ? r.size : this.size,
132775
+ field: a,
132779
132776
  disabled: this.loading,
132780
- ...this.config[a]
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
- }, [`(${this.config[a].hint})`])])]) : h(AformItem, {
132786
+ }, [`(${r.hint})`])])]) : h(AformItem, {
132790
132787
  "attrs": {
132791
132788
  "config": {
132792
132789
  form: this.form,
132793
- size: this.config[a].size ? this.config[a].size : this.size,
132794
- field: `${a}`,
132790
+ size: r.size ? r.size : this.size,
132791
+ field: a,
132795
132792
  disabled: this.loading,
132796
- ...this.config[a]
132793
+ ...r
132797
132794
  }
132798
132795
  }
132799
132796
  })]);
@@ -157254,7 +157251,7 @@ __webpack_require__.r(__webpack_exports__);
157254
157251
  },
157255
157252
  height: {
157256
157253
  type: String,
157257
- default: () => '68vh'
157254
+ default: () => '64vh'
157258
157255
  },
157259
157256
  verify: {
157260
157257
  type: Boolean,
@@ -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: () => '4'
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": `${a}`,
132760
- "label": this.label ? this.config[a].type && this.config[a].type == 'checkbox' ? '' : this.config[a].text || this.config[a].label || this.config[a].title : '',
132761
- "rules": this.config[a]['rule'] ? this.config[a]['rule'] : this.config[a]['must'] ? [{
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: this.config[a].width ? this.config[a].width : this.itemWidth
132769
+ width: r.width ? r.width : this.itemWidth
132773
132770
  }
132774
- }, [this.config[a].hint ? h("el-row", {
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: this.config[a].size ? this.config[a].size : this.size,
132787
- field: `${a}`,
132783
+ size: r.size ? r.size : this.size,
132784
+ field: a,
132788
132785
  disabled: this.loading,
132789
- ...this.config[a]
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
- }, [`(${this.config[a].hint})`])])]) : h(AformItem, {
132795
+ }, [`(${r.hint})`])])]) : h(AformItem, {
132799
132796
  "attrs": {
132800
132797
  "config": {
132801
132798
  form: this.form,
132802
- size: this.config[a].size ? this.config[a].size : this.size,
132803
- field: `${a}`,
132799
+ size: r.size ? r.size : this.size,
132800
+ field: a,
132804
132801
  disabled: this.loading,
132805
- ...this.config[a]
132802
+ ...r
132806
132803
  }
132807
132804
  }
132808
132805
  })]);
@@ -157263,7 +157260,7 @@ __webpack_require__.r(__webpack_exports__);
157263
157260
  },
157264
157261
  height: {
157265
157262
  type: String,
157266
- default: () => '68vh'
157263
+ default: () => '64vh'
157267
157264
  },
157268
157265
  verify: {
157269
157266
  type: Boolean,
@@ -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: () => '4'
165856
+ default: () => '6'
165860
165857
  },
165861
165858
  labelWidth: {
165862
165859
  type: String,