eoss-ui 0.4.27 → 0.4.29

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.
@@ -2726,7 +2726,10 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
2726
2726
  message: [Object, Boolean],
2727
2727
  alert: [Object, Boolean],
2728
2728
  mapFields: Object,
2729
- useCaseCode: String
2729
+ useCaseCode: String,
2730
+ closed: Function,
2731
+ stop: Boolean,
2732
+ syncKeys: Object
2730
2733
  },
2731
2734
  data: function data() {
2732
2735
  return {};
@@ -2739,21 +2742,23 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
2739
2742
  if (this.open && this.link) {
2740
2743
  var windows = void 0;
2741
2744
  var fields = [];
2742
- var param = {};
2745
+ var param = this.param ? this.param : {};
2743
2746
  evt.stopPropagation();
2744
2747
  evt.preventDefault();
2745
2748
  var width = utils_util["a" /* default */].win.top.screen.availWidth - 10;
2746
2749
  var height = utils_util["a" /* default */].win.top.screen.availHeight - 60;
2750
+ var flag = true;
2747
2751
  if (this.esForm) {
2748
2752
  var params = utils_util["a" /* default */].getParams({ url: this.link });
2749
2753
  var modal = this.esForm.models;
2750
2754
  var models = utils_util["a" /* default */].extend({}, params || {}, modal);
2751
- var flag = true;
2752
2755
  if (this.required) {
2753
2756
  if (Array.isArray(this.required)) {
2754
2757
  this.esForm.validateField(this.required, function (res) {
2755
2758
  if (res) {
2756
2759
  flag = false;
2760
+ } else {
2761
+ flag = true;
2757
2762
  }
2758
2763
  });
2759
2764
  if (flag) {
@@ -2770,12 +2775,16 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
2770
2775
  this.esForm.validateField(fields, function (res) {
2771
2776
  if (res) {
2772
2777
  flag = false;
2778
+ } else {
2779
+ flag = true;
2773
2780
  }
2774
2781
  });
2775
2782
  } else {
2776
2783
  this.esForm.validateField(this.required, function (res) {
2777
2784
  if (res) {
2778
2785
  flag = false;
2786
+ } else {
2787
+ flag = true;
2779
2788
  }
2780
2789
  });
2781
2790
  if (flag) {
@@ -2847,39 +2856,41 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
2847
2856
  }
2848
2857
  }
2849
2858
  }
2850
- if (flag) {
2851
- if (this.specs) {
2852
- if (typeof this.specs === 'boolean') {
2853
- windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
2854
- } else {
2855
- windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, this.specs);
2856
- }
2857
- } else {
2858
- windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }));
2859
+ }
2860
+ if (this.btnGroup && this.syncKeys) {
2861
+ var data = this.btnGroup.data;
2862
+ if (data && Object.keys(data).length && Object.keys(this.syncKeys).length) {
2863
+ for (var _i2 in this.syncKeys) {
2864
+ param[_i2] = data[this.syncKeys[_i2]];
2859
2865
  }
2860
2866
  }
2861
- } else {
2867
+ }
2868
+ if (flag) {
2862
2869
  if (this.specs) {
2863
2870
  if (typeof this.specs === 'boolean') {
2864
- windows = utils_util["a" /* default */].win.top.open(this.link, this.name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
2871
+ windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
2865
2872
  } else {
2866
- windows = utils_util["a" /* default */].win.top.open(this.link, this.name, this.specs);
2873
+ windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, this.specs);
2867
2874
  }
2868
2875
  } else {
2869
- windows = utils_util["a" /* default */].win.top.open(this.link);
2876
+ windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }));
2870
2877
  }
2871
2878
  }
2872
2879
  if (windows) {
2873
- if (this.reload) {
2874
- var times = setInterval(function () {
2875
- if (windows.closed) {
2876
- clearInterval(times);
2880
+ var times = setInterval(function () {
2881
+ if (windows.closed) {
2882
+ clearInterval(times);
2883
+ _this.closed && _this.closed(param);
2884
+ if (_this.reload) {
2877
2885
  _this.esSelect && _this.esSelect.reload(null, param, true);
2878
2886
  _this.esTable && _this.esTable.reload(param);
2879
2887
  }
2880
- }, 1000);
2881
- }
2888
+ }
2889
+ }, 1000);
2882
2890
  }
2891
+ } else if (this.stop) {
2892
+ evt.stopPropagation();
2893
+ evt.preventDefault();
2883
2894
  }
2884
2895
  this.$emit('click', evt);
2885
2896
  }
@@ -3041,8 +3052,8 @@ main.install = function (Vue) {
3041
3052
  };
3042
3053
 
3043
3054
  /* harmony default export */ var packages_button = (main);
3044
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=332093dd&
3045
- var mainvue_type_template_id_332093dd_render = function () {
3055
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=0753b411&
3056
+ var mainvue_type_template_id_0753b411_render = function () {
3046
3057
  var _vm = this
3047
3058
  var _h = _vm.$createElement
3048
3059
  var _c = _vm._self._c || _h
@@ -3058,7 +3069,7 @@ var mainvue_type_template_id_332093dd_render = function () {
3058
3069
  _vm._b(
3059
3070
  {
3060
3071
  key: index,
3061
- attrs: { size: _vm.size, type: item.type },
3072
+ attrs: { stop: _vm.stop, size: _vm.size, type: item.type },
3062
3073
  on: {
3063
3074
  click: function ($event) {
3064
3075
  _vm.handleClick({ row: _vm.data, handle: item })
@@ -3108,11 +3119,11 @@ var mainvue_type_template_id_332093dd_render = function () {
3108
3119
  2
3109
3120
  )
3110
3121
  }
3111
- var mainvue_type_template_id_332093dd_staticRenderFns = []
3112
- mainvue_type_template_id_332093dd_render._withStripped = true
3122
+ var mainvue_type_template_id_0753b411_staticRenderFns = []
3123
+ mainvue_type_template_id_0753b411_render._withStripped = true
3113
3124
 
3114
3125
 
3115
- // CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=332093dd&
3126
+ // CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=0753b411&
3116
3127
 
3117
3128
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=script&lang=js&
3118
3129
  //
@@ -3150,6 +3161,7 @@ mainvue_type_template_id_332093dd_render._withStripped = true
3150
3161
  //
3151
3162
  //
3152
3163
  //
3164
+ //
3153
3165
 
3154
3166
 
3155
3167
  /* harmony default export */ var button_group_src_mainvue_type_script_lang_js_ = ({
@@ -3169,6 +3181,7 @@ mainvue_type_template_id_332093dd_render._withStripped = true
3169
3181
  default: 3
3170
3182
  },
3171
3183
  rules: Function,
3184
+ stop: Boolean,
3172
3185
  trigger: {
3173
3186
  type: String,
3174
3187
  default: 'click'
@@ -3254,8 +3267,8 @@ mainvue_type_template_id_332093dd_render._withStripped = true
3254
3267
 
3255
3268
  var src_main_component = normalizeComponent(
3256
3269
  packages_button_group_src_mainvue_type_script_lang_js_,
3257
- mainvue_type_template_id_332093dd_render,
3258
- mainvue_type_template_id_332093dd_staticRenderFns,
3270
+ mainvue_type_template_id_0753b411_render,
3271
+ mainvue_type_template_id_0753b411_staticRenderFns,
3259
3272
  false,
3260
3273
  null,
3261
3274
  null,
@@ -4466,8 +4479,8 @@ clients_src_main.install = function (Vue) {
4466
4479
  };
4467
4480
 
4468
4481
  /* harmony default export */ var clients = (clients_src_main);
4469
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=02ca227b&
4470
- var mainvue_type_template_id_02ca227b_render = function () {
4482
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=ac61a5d4&
4483
+ var mainvue_type_template_id_ac61a5d4_render = function () {
4471
4484
  var _vm = this
4472
4485
  var _h = _vm.$createElement
4473
4486
  var _c = _vm._self._c || _h
@@ -4548,7 +4561,7 @@ var mainvue_type_template_id_02ca227b_render = function () {
4548
4561
  "el-table",
4549
4562
  Object.assign({}, _vm.$attrs, {
4550
4563
  data: _vm.datas,
4551
- emptyText: _vm.text || _vm.emptyText,
4564
+ emptyText: _vm.emptyText,
4552
4565
  showSummary: _vm.showTotal,
4553
4566
  sumText: _vm.sumText || _vm.totalText,
4554
4567
  totalRow: _vm.restotalRow || _vm.totalRow,
@@ -4800,11 +4813,11 @@ var mainvue_type_template_id_02ca227b_render = function () {
4800
4813
  1
4801
4814
  )
4802
4815
  }
4803
- var mainvue_type_template_id_02ca227b_staticRenderFns = []
4804
- mainvue_type_template_id_02ca227b_render._withStripped = true
4816
+ var mainvue_type_template_id_ac61a5d4_staticRenderFns = []
4817
+ mainvue_type_template_id_ac61a5d4_render._withStripped = true
4805
4818
 
4806
4819
 
4807
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=02ca227b&
4820
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=ac61a5d4&
4808
4821
 
4809
4822
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=796433ee&
4810
4823
  var childrenvue_type_template_id_796433ee_render = function () {
@@ -4854,8 +4867,8 @@ childrenvue_type_template_id_796433ee_render._withStripped = true
4854
4867
 
4855
4868
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=796433ee&
4856
4869
 
4857
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=1f31fcc6&
4858
- var columnvue_type_template_id_1f31fcc6_render = function () {
4870
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=5fcbf848&
4871
+ var columnvue_type_template_id_5fcbf848_render = function () {
4859
4872
  var _vm = this
4860
4873
  var _h = _vm.$createElement
4861
4874
  var _c = _vm._self._c || _h
@@ -5716,6 +5729,7 @@ var columnvue_type_template_id_1f31fcc6_render = function () {
5716
5729
  _vm.item.type === "handle" && !scope.row.hideHandle
5717
5730
  ? _c("es-button-group", {
5718
5731
  attrs: {
5732
+ stop: "",
5719
5733
  contents: _vm.item.contents || _vm.item.events,
5720
5734
  data: scope.row,
5721
5735
  },
@@ -5815,11 +5829,11 @@ var columnvue_type_template_id_1f31fcc6_render = function () {
5815
5829
  2
5816
5830
  )
5817
5831
  }
5818
- var columnvue_type_template_id_1f31fcc6_staticRenderFns = []
5819
- columnvue_type_template_id_1f31fcc6_render._withStripped = true
5832
+ var columnvue_type_template_id_5fcbf848_staticRenderFns = []
5833
+ columnvue_type_template_id_5fcbf848_render._withStripped = true
5820
5834
 
5821
5835
 
5822
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=1f31fcc6&
5836
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=5fcbf848&
5823
5837
 
5824
5838
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5825
5839
  var regenerator_ = __webpack_require__(2);
@@ -6384,6 +6398,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6384
6398
  //
6385
6399
  //
6386
6400
  //
6401
+ //
6387
6402
 
6388
6403
 
6389
6404
 
@@ -6715,8 +6730,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6715
6730
 
6716
6731
  var column_component = normalizeComponent(
6717
6732
  src_columnvue_type_script_lang_js_,
6718
- columnvue_type_template_id_1f31fcc6_render,
6719
- columnvue_type_template_id_1f31fcc6_staticRenderFns,
6733
+ columnvue_type_template_id_5fcbf848_render,
6734
+ columnvue_type_template_id_5fcbf848_staticRenderFns,
6720
6735
  false,
6721
6736
  null,
6722
6737
  null,
@@ -7338,11 +7353,6 @@ var mainvue_type_script_lang_js_components;
7338
7353
  default: true
7339
7354
  },
7340
7355
  // 无数据时显示的文本
7341
- text: {
7342
- type: String,
7343
- default: ''
7344
- },
7345
- // 无数据时显示的文本
7346
7356
  emptyText: {
7347
7357
  type: String,
7348
7358
  default: ''
@@ -8229,8 +8239,8 @@ var mainvue_type_script_lang_js_components;
8229
8239
 
8230
8240
  var data_table_src_main_component = normalizeComponent(
8231
8241
  packages_data_table_src_mainvue_type_script_lang_js_,
8232
- mainvue_type_template_id_02ca227b_render,
8233
- mainvue_type_template_id_02ca227b_staticRenderFns,
8242
+ mainvue_type_template_id_ac61a5d4_render,
8243
+ mainvue_type_template_id_ac61a5d4_staticRenderFns,
8234
8244
  false,
8235
8245
  null,
8236
8246
  null,
@@ -11642,8 +11652,8 @@ error_page_src_main.install = function (Vue) {
11642
11652
  };
11643
11653
 
11644
11654
  /* harmony default export */ var error_page = (error_page_src_main);
11645
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=7a35ebf6&
11646
- var mainvue_type_template_id_7a35ebf6_render = function () {
11655
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=094c1062&
11656
+ var mainvue_type_template_id_094c1062_render = function () {
11647
11657
  var _vm = this
11648
11658
  var _h = _vm.$createElement
11649
11659
  var _c = _vm._self._c || _h
@@ -13066,7 +13076,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
13066
13076
  ]
13067
13077
  : item.type === "icon"
13068
13078
  ? _c(
13069
- "es-icon",
13079
+ "es-icons",
13070
13080
  _vm._b(
13071
13081
  {
13072
13082
  attrs: {
@@ -13107,7 +13117,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
13107
13117
  "models[item.name]",
13108
13118
  },
13109
13119
  },
13110
- "es-icon",
13120
+ "es-icons",
13111
13121
  _vm.handleExclAttribute(
13112
13122
  {
13113
13123
  data: item,
@@ -13615,7 +13625,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
13615
13625
  : inline.type ===
13616
13626
  "icon"
13617
13627
  ? _c(
13618
- "es-icon",
13628
+ "es-icons",
13619
13629
  _vm._b(
13620
13630
  {
13621
13631
  attrs:
@@ -13662,7 +13672,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
13662
13672
  "models[inline.name]",
13663
13673
  },
13664
13674
  },
13665
- "es-icon",
13675
+ "es-icons",
13666
13676
  _vm.handleExclAttribute(
13667
13677
  {
13668
13678
  data: inline,
@@ -14225,7 +14235,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
14225
14235
  .type ===
14226
14236
  "icon"
14227
14237
  ? _c(
14228
- "es-icon",
14238
+ "es-icons",
14229
14239
  _vm._b(
14230
14240
  {
14231
14241
  attrs: {
@@ -14279,7 +14289,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
14279
14289
  "models[item.inline.name]",
14280
14290
  },
14281
14291
  },
14282
- "es-icon",
14292
+ "es-icons",
14283
14293
  _vm.handleExclAttribute(
14284
14294
  {
14285
14295
  data: item.inline,
@@ -15242,7 +15252,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
15242
15252
  ]
15243
15253
  : item.type === "icon"
15244
15254
  ? _c(
15245
- "es-icon",
15255
+ "es-icons",
15246
15256
  _vm._b(
15247
15257
  {
15248
15258
  attrs: {
@@ -15278,7 +15288,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
15278
15288
  "models[item.name]",
15279
15289
  },
15280
15290
  },
15281
- "es-icon",
15291
+ "es-icons",
15282
15292
  _vm.handleExclAttribute({
15283
15293
  data: item,
15284
15294
  attrs: ["value"],
@@ -15764,7 +15774,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
15764
15774
  : inline.type ===
15765
15775
  "icon"
15766
15776
  ? _c(
15767
- "es-icon",
15777
+ "es-icons",
15768
15778
  _vm._b(
15769
15779
  {
15770
15780
  attrs: {
@@ -15809,7 +15819,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
15809
15819
  "models[inline.name]",
15810
15820
  },
15811
15821
  },
15812
- "es-icon",
15822
+ "es-icons",
15813
15823
  _vm.handleExclAttribute(
15814
15824
  {
15815
15825
  data: inline,
@@ -16306,7 +16316,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
16306
16316
  : item.inline.type ===
16307
16317
  "icon"
16308
16318
  ? _c(
16309
- "es-icon",
16319
+ "es-icons",
16310
16320
  _vm._b(
16311
16321
  {
16312
16322
  attrs: {
@@ -16360,7 +16370,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
16360
16370
  "models[item.inline.name]",
16361
16371
  },
16362
16372
  },
16363
- "es-icon",
16373
+ "es-icons",
16364
16374
  _vm.handleExclAttribute(
16365
16375
  {
16366
16376
  data: item.inline,
@@ -17696,7 +17706,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
17696
17706
  ]
17697
17707
  : item.type === "icon"
17698
17708
  ? _c(
17699
- "es-icon",
17709
+ "es-icons",
17700
17710
  _vm._b(
17701
17711
  {
17702
17712
  attrs: {
@@ -17732,7 +17742,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
17732
17742
  "models[item.name]",
17733
17743
  },
17734
17744
  },
17735
- "es-icon",
17745
+ "es-icons",
17736
17746
  _vm.handleExclAttribute({
17737
17747
  data: item,
17738
17748
  attrs: ["value"],
@@ -18214,7 +18224,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
18214
18224
  : inline.type ===
18215
18225
  "icon"
18216
18226
  ? _c(
18217
- "es-icon",
18227
+ "es-icons",
18218
18228
  _vm._b(
18219
18229
  {
18220
18230
  attrs: {
@@ -18259,7 +18269,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
18259
18269
  "models[inline.name]",
18260
18270
  },
18261
18271
  },
18262
- "es-icon",
18272
+ "es-icons",
18263
18273
  _vm.handleExclAttribute(
18264
18274
  {
18265
18275
  data: inline,
@@ -18756,7 +18766,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
18756
18766
  : item.inline.type ===
18757
18767
  "icon"
18758
18768
  ? _c(
18759
- "es-icon",
18769
+ "es-icons",
18760
18770
  _vm._b(
18761
18771
  {
18762
18772
  attrs: {
@@ -18810,7 +18820,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
18810
18820
  "models[item.inline.name]",
18811
18821
  },
18812
18822
  },
18813
- "es-icon",
18823
+ "es-icons",
18814
18824
  _vm.handleExclAttribute(
18815
18825
  {
18816
18826
  data: item.inline,
@@ -19709,7 +19719,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
19709
19719
  ]
19710
19720
  : item.type === "icon"
19711
19721
  ? _c(
19712
- "es-icon",
19722
+ "es-icons",
19713
19723
  _vm._b(
19714
19724
  {
19715
19725
  attrs: {
@@ -19742,7 +19752,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
19742
19752
  "models[item.name]",
19743
19753
  },
19744
19754
  },
19745
- "es-icon",
19755
+ "es-icons",
19746
19756
  _vm.handleExclAttribute({
19747
19757
  data: item,
19748
19758
  attrs: ["value"],
@@ -20211,7 +20221,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
20211
20221
  : inline.type ===
20212
20222
  "icon"
20213
20223
  ? _c(
20214
- "es-icon",
20224
+ "es-icons",
20215
20225
  _vm._b(
20216
20226
  {
20217
20227
  attrs: {
@@ -20256,7 +20266,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
20256
20266
  "models[inline.name]",
20257
20267
  },
20258
20268
  },
20259
- "es-icon",
20269
+ "es-icons",
20260
20270
  _vm.handleExclAttribute(
20261
20271
  {
20262
20272
  data: inline,
@@ -20733,7 +20743,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
20733
20743
  : item.inline.type ===
20734
20744
  "icon"
20735
20745
  ? _c(
20736
- "es-icon",
20746
+ "es-icons",
20737
20747
  _vm._b(
20738
20748
  {
20739
20749
  attrs: {
@@ -20783,7 +20793,7 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
20783
20793
  "models[item.inline.name]",
20784
20794
  },
20785
20795
  },
20786
- "es-icon",
20796
+ "es-icons",
20787
20797
  _vm.handleExclAttribute(
20788
20798
  {
20789
20799
  data: item.inline,
@@ -21009,11 +21019,11 @@ var mainvue_type_template_id_7a35ebf6_render = function () {
21009
21019
  2
21010
21020
  )
21011
21021
  }
21012
- var mainvue_type_template_id_7a35ebf6_staticRenderFns = []
21013
- mainvue_type_template_id_7a35ebf6_render._withStripped = true
21022
+ var mainvue_type_template_id_094c1062_staticRenderFns = []
21023
+ mainvue_type_template_id_094c1062_render._withStripped = true
21014
21024
 
21015
21025
 
21016
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=7a35ebf6&
21026
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=094c1062&
21017
21027
 
21018
21028
  // CONCATENATED MODULE: ./src/utils/rules.js
21019
21029
  // 手机号
@@ -25758,8 +25768,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
25758
25768
 
25759
25769
  var form_src_main_component = normalizeComponent(
25760
25770
  packages_form_src_mainvue_type_script_lang_js_,
25761
- mainvue_type_template_id_7a35ebf6_render,
25762
- mainvue_type_template_id_7a35ebf6_staticRenderFns,
25771
+ mainvue_type_template_id_094c1062_render,
25772
+ mainvue_type_template_id_094c1062_staticRenderFns,
25763
25773
  false,
25764
25774
  null,
25765
25775
  null,
@@ -39899,8 +39909,8 @@ handler_src_main.install = function (Vue) {
39899
39909
  };
39900
39910
 
39901
39911
  /* harmony default export */ var packages_handler = (handler_src_main);
39902
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=2cc93981&
39903
- var mainvue_type_template_id_2cc93981_render = function () {
39912
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/main.vue?vue&type=template&id=32c03886&
39913
+ var mainvue_type_template_id_32c03886_render = function () {
39904
39914
  var _vm = this
39905
39915
  var _h = _vm.$createElement
39906
39916
  var _c = _vm._self._c || _h
@@ -40007,16 +40017,16 @@ var mainvue_type_template_id_2cc93981_render = function () {
40007
40017
  1
40008
40018
  )
40009
40019
  }
40010
- var mainvue_type_template_id_2cc93981_staticRenderFns = []
40011
- mainvue_type_template_id_2cc93981_render._withStripped = true
40020
+ var mainvue_type_template_id_32c03886_staticRenderFns = []
40021
+ mainvue_type_template_id_32c03886_render._withStripped = true
40012
40022
 
40013
40023
 
40014
- // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=2cc93981&
40024
+ // CONCATENATED MODULE: ./packages/icons/src/main.vue?vue&type=template&id=32c03886&
40015
40025
 
40016
- // EXTERNAL MODULE: ./packages/icon/src/icon.json
40026
+ // EXTERNAL MODULE: ./packages/icons/src/icon.json
40017
40027
  var icon = __webpack_require__(13);
40018
40028
 
40019
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=script&lang=js&
40029
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/main.vue?vue&type=script&lang=js&
40020
40030
  //
40021
40031
  //
40022
40032
  //
@@ -40049,8 +40059,8 @@ var icon = __webpack_require__(13);
40049
40059
  //
40050
40060
 
40051
40061
 
40052
- /* harmony default export */ var icon_src_mainvue_type_script_lang_js_ = ({
40053
- name: 'EsIcon',
40062
+ /* harmony default export */ var icons_src_mainvue_type_script_lang_js_ = ({
40063
+ name: 'EsIcons',
40054
40064
  inheritAttrs: false,
40055
40065
  props: {
40056
40066
  value: String,
@@ -40058,6 +40068,7 @@ var icon = __webpack_require__(13);
40058
40068
  type: String,
40059
40069
  default: '请选择图标'
40060
40070
  },
40071
+ label: '',
40061
40072
  readonly: Boolean
40062
40073
  },
40063
40074
  computed: {
@@ -40097,9 +40108,9 @@ var icon = __webpack_require__(13);
40097
40108
  }
40098
40109
  }
40099
40110
  });
40100
- // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=script&lang=js&
40101
- /* harmony default export */ var packages_icon_src_mainvue_type_script_lang_js_ = (icon_src_mainvue_type_script_lang_js_);
40102
- // CONCATENATED MODULE: ./packages/icon/src/main.vue
40111
+ // CONCATENATED MODULE: ./packages/icons/src/main.vue?vue&type=script&lang=js&
40112
+ /* harmony default export */ var packages_icons_src_mainvue_type_script_lang_js_ = (icons_src_mainvue_type_script_lang_js_);
40113
+ // CONCATENATED MODULE: ./packages/icons/src/main.vue
40103
40114
 
40104
40115
 
40105
40116
 
@@ -40107,10 +40118,10 @@ var icon = __webpack_require__(13);
40107
40118
 
40108
40119
  /* normalize component */
40109
40120
 
40110
- var icon_src_main_component = normalizeComponent(
40111
- packages_icon_src_mainvue_type_script_lang_js_,
40112
- mainvue_type_template_id_2cc93981_render,
40113
- mainvue_type_template_id_2cc93981_staticRenderFns,
40121
+ var icons_src_main_component = normalizeComponent(
40122
+ packages_icons_src_mainvue_type_script_lang_js_,
40123
+ mainvue_type_template_id_32c03886_render,
40124
+ mainvue_type_template_id_32c03886_staticRenderFns,
40114
40125
  false,
40115
40126
  null,
40116
40127
  null,
@@ -40118,15 +40129,15 @@ var icon_src_main_component = normalizeComponent(
40118
40129
 
40119
40130
  )
40120
40131
 
40121
- /* harmony default export */ var icon_src_main = (icon_src_main_component.exports);
40122
- // CONCATENATED MODULE: ./packages/icon/index.js
40132
+ /* harmony default export */ var icons_src_main = (icons_src_main_component.exports);
40133
+ // CONCATENATED MODULE: ./packages/icons/index.js
40123
40134
 
40124
40135
 
40125
- icon_src_main.install = function (Vue) {
40126
- return Vue.component(icon_src_main.name, icon_src_main);
40136
+ icons_src_main.install = function (Vue) {
40137
+ return Vue.component(icons_src_main.name, icons_src_main);
40127
40138
  };
40128
40139
 
40129
- /* harmony default export */ var packages_icon = (icon_src_main);
40140
+ /* harmony default export */ var icons = (icons_src_main);
40130
40141
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/main.vue?vue&type=script&lang=js&
40131
40142
  var input_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
40132
40143
 
@@ -63023,8 +63034,8 @@ toolbar_src_main.install = function (Vue) {
63023
63034
  };
63024
63035
 
63025
63036
  /* harmony default export */ var packages_toolbar = (toolbar_src_main);
63026
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=9709df68&
63027
- var tablevue_type_template_id_9709df68_render = function () {
63037
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=cb7a9bf0&
63038
+ var tablevue_type_template_id_cb7a9bf0_render = function () {
63028
63039
  var _vm = this
63029
63040
  var _h = _vm.$createElement
63030
63041
  var _c = _vm._self._c || _h
@@ -63928,7 +63939,7 @@ var tablevue_type_template_id_9709df68_render = function () {
63928
63939
  )
63929
63940
  : item.type === "icon"
63930
63941
  ? _c(
63931
- "es-icon",
63942
+ "es-icons",
63932
63943
  _vm._b(
63933
63944
  {
63934
63945
  attrs: {
@@ -63971,7 +63982,7 @@ var tablevue_type_template_id_9709df68_render = function () {
63971
63982
  "models[item.name]",
63972
63983
  },
63973
63984
  },
63974
- "es-icon",
63985
+ "es-icons",
63975
63986
  _vm.handleExclAttribute(
63976
63987
  {
63977
63988
  data: item,
@@ -64594,7 +64605,7 @@ var tablevue_type_template_id_9709df68_render = function () {
64594
64605
  : inline.type ===
64595
64606
  "icon"
64596
64607
  ? _c(
64597
- "es-icon",
64608
+ "es-icons",
64598
64609
  _vm._b(
64599
64610
  {
64600
64611
  attrs:
@@ -64641,7 +64652,7 @@ var tablevue_type_template_id_9709df68_render = function () {
64641
64652
  "models[inline.name]",
64642
64653
  },
64643
64654
  },
64644
- "es-icon",
64655
+ "es-icons",
64645
64656
  _vm.handleExclAttribute(
64646
64657
  {
64647
64658
  data: inline,
@@ -65166,7 +65177,7 @@ var tablevue_type_template_id_9709df68_render = function () {
65166
65177
  .type ===
65167
65178
  "icon"
65168
65179
  ? _c(
65169
- "es-icon",
65180
+ "es-icons",
65170
65181
  _vm._b(
65171
65182
  {
65172
65183
  attrs:
@@ -65222,7 +65233,7 @@ var tablevue_type_template_id_9709df68_render = function () {
65222
65233
  "models[item.inline.name]",
65223
65234
  },
65224
65235
  },
65225
- "es-icon",
65236
+ "es-icons",
65226
65237
  _vm.handleExclAttribute(
65227
65238
  {
65228
65239
  data: item.inline,
@@ -65558,11 +65569,11 @@ var tablevue_type_template_id_9709df68_render = function () {
65558
65569
  2
65559
65570
  )
65560
65571
  }
65561
- var tablevue_type_template_id_9709df68_staticRenderFns = []
65562
- tablevue_type_template_id_9709df68_render._withStripped = true
65572
+ var tablevue_type_template_id_cb7a9bf0_staticRenderFns = []
65573
+ tablevue_type_template_id_cb7a9bf0_render._withStripped = true
65563
65574
 
65564
65575
 
65565
- // CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=9709df68&
65576
+ // CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=cb7a9bf0&
65566
65577
 
65567
65578
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=script&lang=js&
65568
65579
  //
@@ -66817,8 +66828,8 @@ tablevue_type_template_id_9709df68_render._withStripped = true
66817
66828
 
66818
66829
  var form_src_table_component = normalizeComponent(
66819
66830
  packages_form_src_tablevue_type_script_lang_js_,
66820
- tablevue_type_template_id_9709df68_render,
66821
- tablevue_type_template_id_9709df68_staticRenderFns,
66831
+ tablevue_type_template_id_cb7a9bf0_render,
66832
+ tablevue_type_template_id_cb7a9bf0_staticRenderFns,
66822
66833
  false,
66823
66834
  null,
66824
66835
  null,
@@ -66835,8 +66846,8 @@ form_src_table.install = function (Vue) {
66835
66846
  };
66836
66847
 
66837
66848
  /* harmony default export */ var table_form = (form_src_table);
66838
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=386254b4&
66839
- var mainvue_type_template_id_386254b4_render = function () {
66849
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=0f78a687&
66850
+ var mainvue_type_template_id_0f78a687_render = function () {
66840
66851
  var _vm = this
66841
66852
  var _h = _vm.$createElement
66842
66853
  var _c = _vm._self._c || _h
@@ -67169,11 +67180,11 @@ var mainvue_type_template_id_386254b4_render = function () {
67169
67180
  2
67170
67181
  )
67171
67182
  }
67172
- var mainvue_type_template_id_386254b4_staticRenderFns = []
67173
- mainvue_type_template_id_386254b4_render._withStripped = true
67183
+ var mainvue_type_template_id_0f78a687_staticRenderFns = []
67184
+ mainvue_type_template_id_0f78a687_render._withStripped = true
67174
67185
 
67175
67186
 
67176
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=386254b4&
67187
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=0f78a687&
67177
67188
 
67178
67189
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
67179
67190
  /* harmony default export */ var picture = ({
@@ -67946,9 +67957,7 @@ var mainvue_type_script_lang_js_props;
67946
67957
  text = '附件总';
67947
67958
  }
67948
67959
  }
67949
- if (flag) {
67950
- this.filesTotalSize += se;
67951
- } else {
67960
+ if (!flag) {
67952
67961
  this.$message.error('\u4E0A\u4F20' + text + '\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7' + size + 'KB!');
67953
67962
  }
67954
67963
  return flag;
@@ -67995,6 +68004,8 @@ var mainvue_type_script_lang_js_props;
67995
68004
  }
67996
68005
  }).then(function (res) {
67997
68006
  if (res.rCode === 0) {
68007
+ var se = _this6.filesTotalSize - Math.ceil(file.size / 1024 * 100) / 100;
68008
+ _this6.filesTotalSize = se;
67998
68009
  _this6.$message.success(res.msg);
67999
68010
  resolve();
68000
68011
  } else {
@@ -68099,6 +68110,8 @@ var mainvue_type_script_lang_js_props;
68099
68110
  this.$message.success(response.msg);
68100
68111
  }
68101
68112
  }
68113
+ var se = this.filesTotalSize + Math.ceil(file.size / 1024 * 100) / 100;
68114
+ this.filesTotalSize = se;
68102
68115
  this.onSuccess && this.onSuccess(response, file, fileList);
68103
68116
  this.$emit('success', response, file, fileList);
68104
68117
  if (this.resultFile) {
@@ -68153,8 +68166,8 @@ var mainvue_type_script_lang_js_props;
68153
68166
 
68154
68167
  var upload_src_main_component = normalizeComponent(
68155
68168
  packages_upload_src_mainvue_type_script_lang_js_,
68156
- mainvue_type_template_id_386254b4_render,
68157
- mainvue_type_template_id_386254b4_staticRenderFns,
68169
+ mainvue_type_template_id_0f78a687_render,
68170
+ mainvue_type_template_id_0f78a687_staticRenderFns,
68158
68171
  false,
68159
68172
  null,
68160
68173
  null,
@@ -68617,7 +68630,7 @@ wxlogin_src_main.install = function (Vue) {
68617
68630
 
68618
68631
 
68619
68632
 
68620
- var components = [packages_button, button_group, checkbox_group, card, cascader, clients, data_table, data_table_form, date_picker, packages_dialog, enterprise, error_page, packages_form, packages_flow, flow_group, flow_list, handle_user, packages_handler, packages_icon, packages_input, input_number, packages_label, login, packages_main, mainComp, menu, nav, packages_notify, pagination, packages_page, player, qr_code, radio_group, packages_select, select_ganged, selector, selector_panel, packages_sizer, steps, packages_switch, packages_tabs, tabs_panel, tips, packages_tree, tree_group, packages_toolbar, table_form, upload, wujie, wxlogin];
68633
+ var components = [packages_button, button_group, checkbox_group, card, cascader, clients, data_table, data_table_form, date_picker, packages_dialog, enterprise, error_page, packages_form, packages_flow, flow_group, flow_list, handle_user, packages_handler, icons, packages_input, input_number, packages_label, login, packages_main, mainComp, menu, nav, packages_notify, pagination, packages_page, player, qr_code, radio_group, packages_select, select_ganged, selector, selector_panel, packages_sizer, steps, packages_switch, packages_tabs, tabs_panel, tips, packages_tree, tree_group, packages_toolbar, table_form, upload, wujie, wxlogin];
68621
68634
 
68622
68635
  var install = function install(Vue) {
68623
68636
  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -68632,7 +68645,7 @@ if (typeof window !== 'undefined' && window.Vue) {
68632
68645
  }
68633
68646
 
68634
68647
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
68635
- version: '0.4.27',
68648
+ version: '0.4.29',
68636
68649
  install: install,
68637
68650
  Button: packages_button,
68638
68651
  ButtonGroup: button_group,
@@ -68652,7 +68665,7 @@ if (typeof window !== 'undefined' && window.Vue) {
68652
68665
  FlowList: flow_list,
68653
68666
  HandleUser: handle_user,
68654
68667
  Handler: packages_handler,
68655
- Icon: packages_icon,
68668
+ Icons: icons,
68656
68669
  Input: packages_input,
68657
68670
  InputNumber: input_number,
68658
68671
  Label: packages_label,