element-ui-root 2.1.7 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -132564,7 +132564,11 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
132564
132564
  },
132565
132565
  cols: {
132566
132566
  type: String,
132567
- default: () => ''
132567
+ default: () => '1'
132568
+ },
132569
+ gutter: {
132570
+ type: String,
132571
+ default: () => '10'
132568
132572
  },
132569
132573
  config: {
132570
132574
  type: Object,
@@ -132761,7 +132765,7 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
132761
132765
  }
132762
132766
  }, [r.hint ? h("el-row", {
132763
132767
  "attrs": {
132764
- "gutter": 20
132768
+ "gutter": parseInt(this.gutter)
132765
132769
  }
132766
132770
  }, [h("el-col", {
132767
132771
  "attrs": {
@@ -132823,12 +132827,16 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
132823
132827
  model: this.form,
132824
132828
  rules: Object.keys(this.rules).length > 0 ? this.rules : {}
132825
132829
  }
132826
- }]), [Object.keys(this.config).map((a, b) => this.config[a].span && this.config[a].span != '' || this.cols != '' ? h("el-col", {
132830
+ }]), [h("el-row", {
132831
+ "attrs": {
132832
+ "gutter": this.config[a].span && this.config[a].span != '' || this.cols != '' ? parseInt(this.gutter) : 0
132833
+ }
132834
+ }, [Object.keys(this.config).map((a, b) => this.config[a].span && this.config[a].span != '' || this.cols != '' ? h("el-col", {
132827
132835
  "key": b,
132828
132836
  "attrs": {
132829
- "span": Number(this.config[a].span) || Number(this.cols)
132837
+ "span": Number(this.config[a].span) || 24 / Number(this.cols)
132830
132838
  }
132831
- }, [this.format(a, b)]) : this.format(a, b)), this.$slots.default, (finish || submit || cancel) && h("div", {
132839
+ }, [this.format(a, b)]) : this.format(a, b)), this.$slots.default]), (finish || submit || cancel) && h("div", {
132832
132840
  "class": "action"
132833
132841
  }, [h("el-form-item", [finish && h("el-button", {
132834
132842
  "attrs": {
@@ -135220,7 +135228,15 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
135220
135228
  "content": label,
135221
135229
  "placement": "top"
135222
135230
  }
135223
- }, [h("span", [label])]) : h("span", [label])])]);
135231
+ }, [h("span", {
135232
+ "attrs": {
135233
+ "title": label
135234
+ }
135235
+ }, [label])]) : h("span", {
135236
+ "attrs": {
135237
+ "title": label
135238
+ }
135239
+ }, [label])])]);
135224
135240
  }
135225
135241
  });
135226
135242
  },
@@ -165846,6 +165862,10 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
165846
165862
  type: String,
165847
165863
  default: () => '6'
165848
165864
  },
165865
+ gutter: {
165866
+ type: String,
165867
+ default: () => '10'
165868
+ },
165849
165869
  labelWidth: {
165850
165870
  type: String,
165851
165871
  default: () => 'auto'
@@ -166084,14 +166104,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
166084
166104
  "class": "column"
166085
166105
  }, [h("el-row", {
166086
166106
  "attrs": {
166087
- "gutter": 20
166107
+ "gutter": parseInt(this.gutter)
166088
166108
  },
166089
166109
  "class": "main-row"
166090
166110
  }, [Object.keys(this.config).map((a, b) => {
166091
166111
  if (b < this.cols) return this.output(a, b);
166092
166112
  })]), h("el-row", {
166093
166113
  "attrs": {
166094
- "gutter": 20
166114
+ "gutter": parseInt(this.gutter)
166095
166115
  },
166096
166116
  "class": this.opened ? 'fold-row open' : 'fold-row'
166097
166117
  }, [Object.keys(this.config).map((a, b) => {
package/dist/index.umd.js CHANGED
@@ -132573,7 +132573,11 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
132573
132573
  },
132574
132574
  cols: {
132575
132575
  type: String,
132576
- default: () => ''
132576
+ default: () => '1'
132577
+ },
132578
+ gutter: {
132579
+ type: String,
132580
+ default: () => '10'
132577
132581
  },
132578
132582
  config: {
132579
132583
  type: Object,
@@ -132770,7 +132774,7 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
132770
132774
  }
132771
132775
  }, [r.hint ? h("el-row", {
132772
132776
  "attrs": {
132773
- "gutter": 20
132777
+ "gutter": parseInt(this.gutter)
132774
132778
  }
132775
132779
  }, [h("el-col", {
132776
132780
  "attrs": {
@@ -132832,12 +132836,16 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
132832
132836
  model: this.form,
132833
132837
  rules: Object.keys(this.rules).length > 0 ? this.rules : {}
132834
132838
  }
132835
- }]), [Object.keys(this.config).map((a, b) => this.config[a].span && this.config[a].span != '' || this.cols != '' ? h("el-col", {
132839
+ }]), [h("el-row", {
132840
+ "attrs": {
132841
+ "gutter": this.config[a].span && this.config[a].span != '' || this.cols != '' ? parseInt(this.gutter) : 0
132842
+ }
132843
+ }, [Object.keys(this.config).map((a, b) => this.config[a].span && this.config[a].span != '' || this.cols != '' ? h("el-col", {
132836
132844
  "key": b,
132837
132845
  "attrs": {
132838
- "span": Number(this.config[a].span) || Number(this.cols)
132846
+ "span": Number(this.config[a].span) || 24 / Number(this.cols)
132839
132847
  }
132840
- }, [this.format(a, b)]) : this.format(a, b)), this.$slots.default, (finish || submit || cancel) && h("div", {
132848
+ }, [this.format(a, b)]) : this.format(a, b)), this.$slots.default]), (finish || submit || cancel) && h("div", {
132841
132849
  "class": "action"
132842
132850
  }, [h("el-form-item", [finish && h("el-button", {
132843
132851
  "attrs": {
@@ -135229,7 +135237,15 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
135229
135237
  "content": label,
135230
135238
  "placement": "top"
135231
135239
  }
135232
- }, [h("span", [label])]) : h("span", [label])])]);
135240
+ }, [h("span", {
135241
+ "attrs": {
135242
+ "title": label
135243
+ }
135244
+ }, [label])]) : h("span", {
135245
+ "attrs": {
135246
+ "title": label
135247
+ }
135248
+ }, [label])])]);
135233
135249
  }
135234
135250
  });
135235
135251
  },
@@ -165855,6 +165871,10 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
165855
165871
  type: String,
165856
165872
  default: () => '6'
165857
165873
  },
165874
+ gutter: {
165875
+ type: String,
165876
+ default: () => '10'
165877
+ },
165858
165878
  labelWidth: {
165859
165879
  type: String,
165860
165880
  default: () => 'auto'
@@ -166093,14 +166113,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
166093
166113
  "class": "column"
166094
166114
  }, [h("el-row", {
166095
166115
  "attrs": {
166096
- "gutter": 20
166116
+ "gutter": parseInt(this.gutter)
166097
166117
  },
166098
166118
  "class": "main-row"
166099
166119
  }, [Object.keys(this.config).map((a, b) => {
166100
166120
  if (b < this.cols) return this.output(a, b);
166101
166121
  })]), h("el-row", {
166102
166122
  "attrs": {
166103
- "gutter": 20
166123
+ "gutter": parseInt(this.gutter)
166104
166124
  },
166105
166125
  "class": this.opened ? 'fold-row open' : 'fold-row'
166106
166126
  }, [Object.keys(this.config).map((a, b) => {