eoss-ui 0.5.78 → 0.5.80

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.
Files changed (66) hide show
  1. package/lib/button-group.js +1 -1
  2. package/lib/button.js +1 -1
  3. package/lib/checkbox-group.js +1 -1
  4. package/lib/clients.js +99 -86
  5. package/lib/data-table-form.js +1 -1
  6. package/lib/data-table.js +16 -11
  7. package/lib/date-picker.js +1 -1
  8. package/lib/dialog.js +1 -1
  9. package/lib/eoss-ui.common.js +377 -246
  10. package/lib/flow-group.js +1 -1
  11. package/lib/flow-list.js +1 -1
  12. package/lib/flow.js +1 -1
  13. package/lib/form.js +109 -29
  14. package/lib/handle-user.js +1 -1
  15. package/lib/handler.js +1 -1
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +1 -1
  18. package/lib/input.js +1 -5
  19. package/lib/login.js +3 -5
  20. package/lib/main.js +61 -49
  21. package/lib/nav.js +1 -1
  22. package/lib/page.js +1 -1
  23. package/lib/player.js +1 -1
  24. package/lib/qr-code.js +1 -1
  25. package/lib/radio-group.js +1 -1
  26. package/lib/retrial-auth.js +1 -1
  27. package/lib/select-ganged.js +1 -1
  28. package/lib/select.js +1 -1
  29. package/lib/selector-panel.js +1 -1
  30. package/lib/selector.js +1 -1
  31. package/lib/sizer.js +1 -1
  32. package/lib/steps.js +1 -1
  33. package/lib/switch.js +1 -1
  34. package/lib/table-form.js +1 -1
  35. package/lib/tabs.js +1 -1
  36. package/lib/theme-chalk/clients.css +1 -1
  37. package/lib/theme-chalk/data-table.css +1 -1
  38. package/lib/theme-chalk/form.css +1 -1
  39. package/lib/theme-chalk/index.css +1 -1
  40. package/lib/theme-chalk/login.css +1 -1
  41. package/lib/tips.js +1 -1
  42. package/lib/tree-group.js +1 -1
  43. package/lib/tree.js +1 -1
  44. package/lib/upload.js +68 -41
  45. package/lib/utils/util.js +1 -1
  46. package/lib/wujie.js +1 -1
  47. package/lib/wxlogin.js +1 -1
  48. package/package.json +2 -2
  49. package/packages/clients/src/main.vue +49 -44
  50. package/packages/data-table/src/main.vue +16 -5
  51. package/packages/form/src/main.vue +27 -13
  52. package/packages/input/src/main.vue +0 -4
  53. package/packages/login/src/main.vue +0 -1
  54. package/packages/main/src/main.vue +55 -51
  55. package/packages/theme-chalk/lib/clients.css +1 -1
  56. package/packages/theme-chalk/lib/data-table.css +1 -1
  57. package/packages/theme-chalk/lib/form.css +1 -1
  58. package/packages/theme-chalk/lib/index.css +1 -1
  59. package/packages/theme-chalk/lib/login.css +1 -1
  60. package/packages/theme-chalk/src/clients.scss +1 -1
  61. package/packages/theme-chalk/src/data-table.scss +3 -0
  62. package/packages/theme-chalk/src/form.scss +2 -2
  63. package/packages/theme-chalk/src/login.scss +8 -5
  64. package/packages/upload/src/main.vue +126 -72
  65. package/src/index.js +1 -1
  66. package/src/utils/util.js +1 -1
package/lib/flow-group.js CHANGED
@@ -351,7 +351,7 @@ var ajax = function ajax(_ref) {
351
351
  }, 1000);
352
352
  }
353
353
  // eslint-disable-next-line no-undef
354
- return Promise.resolve(response.data);
354
+ return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
355
355
  }
356
356
  }, function (error) {
357
357
  loading && loading.close();
package/lib/flow-list.js CHANGED
@@ -351,7 +351,7 @@ var ajax = function ajax(_ref) {
351
351
  }, 1000);
352
352
  }
353
353
  // eslint-disable-next-line no-undef
354
- return Promise.resolve(response.data);
354
+ return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
355
355
  }
356
356
  }, function (error) {
357
357
  loading && loading.close();
package/lib/flow.js CHANGED
@@ -350,7 +350,7 @@ var ajax = function ajax(_ref) {
350
350
  }, 1000);
351
351
  }
352
352
  // eslint-disable-next-line no-undef
353
- return Promise.resolve(response.data);
353
+ return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
354
354
  }
355
355
  }, function (error) {
356
356
  loading && loading.close();
package/lib/form.js CHANGED
@@ -350,7 +350,7 @@ var ajax = function ajax(_ref) {
350
350
  }, 1000);
351
351
  }
352
352
  // eslint-disable-next-line no-undef
353
- return Promise.resolve(response.data);
353
+ return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
354
354
  }
355
355
  }, function (error) {
356
356
  loading && loading.close();
@@ -3949,7 +3949,7 @@ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message:
3949
3949
  // ESM COMPAT FLAG
3950
3950
  __webpack_require__.r(__webpack_exports__);
3951
3951
 
3952
- // 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=32a172fb&
3952
+ // 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=3b85e994&
3953
3953
  var render = function () {
3954
3954
  var _vm = this
3955
3955
  var _h = _vm.$createElement
@@ -4063,33 +4063,40 @@ var render = function () {
4063
4063
  !items.hide
4064
4064
  ? _c(
4065
4065
  "el-collapse-item",
4066
- {
4067
- directives: [
4068
- {
4069
- name: "show",
4070
- rawName: "v-show",
4071
- value: items.show !== false,
4072
- expression:
4073
- "items.show !== false",
4066
+ _vm._b(
4067
+ {
4068
+ directives: [
4069
+ {
4070
+ name: "show",
4071
+ rawName: "v-show",
4072
+ value: items.show !== false,
4073
+ expression:
4074
+ "items.show !== false",
4075
+ },
4076
+ ],
4077
+ key: indexs,
4078
+ staticClass: "es-collapse-item",
4079
+ class: {
4080
+ "es-collapse-readonly":
4081
+ _vm.accordion
4082
+ ? false
4083
+ : !_vm.collapse,
4084
+ "es-collapse-caption":
4085
+ items.caption,
4074
4086
  },
4075
- ],
4076
- key: indexs,
4077
- staticClass: "es-collapse-item",
4078
- class: {
4079
- "es-collapse-readonly":
4080
- _vm.accordion
4087
+ attrs: {
4088
+ "show-title": items.showTitle,
4089
+ name:
4090
+ items.name || String(indexs),
4091
+ readonly: _vm.accordion
4081
4092
  ? false
4082
4093
  : !_vm.collapse,
4083
- "es-collapse-caption":
4084
- items.caption,
4085
- },
4086
- attrs: {
4087
- name: items.name || String(indexs),
4088
- readonly: _vm.accordion
4089
- ? false
4090
- : !_vm.collapse,
4094
+ },
4091
4095
  },
4092
- },
4096
+ "el-collapse-item",
4097
+ items.config,
4098
+ false
4099
+ ),
4093
4100
  [
4094
4101
  _c(
4095
4102
  "div",
@@ -5742,6 +5749,7 @@ var render = function () {
5742
5749
  attrs:
5743
5750
  [
5744
5751
  "value",
5752
+ "type",
5745
5753
  ],
5746
5754
  }
5747
5755
  ),
@@ -5921,6 +5929,11 @@ var render = function () {
5921
5929
  _c(
5922
5930
  "el-form-item",
5923
5931
  {
5932
+ class:
5933
+ {
5934
+ "fixed-width":
5935
+ inline.width,
5936
+ },
5924
5937
  attrs:
5925
5938
  {
5926
5939
  "label-width":
@@ -6414,6 +6427,7 @@ var render = function () {
6414
6427
  attrs:
6415
6428
  [
6416
6429
  "value",
6430
+ "type",
6417
6431
  ],
6418
6432
  }
6419
6433
  ),
@@ -6552,6 +6566,13 @@ var render = function () {
6552
6566
  _c(
6553
6567
  "el-form-item",
6554
6568
  {
6569
+ class:
6570
+ {
6571
+ "fixed-width":
6572
+ item
6573
+ .inline
6574
+ .width,
6575
+ },
6555
6576
  attrs:
6556
6577
  {
6557
6578
  "label-width":
@@ -7145,6 +7166,7 @@ var render = function () {
7145
7166
  attrs:
7146
7167
  [
7147
7168
  "value",
7169
+ "type",
7148
7170
  ],
7149
7171
  }
7150
7172
  ),
@@ -8340,7 +8362,10 @@ var render = function () {
8340
8362
  _vm.handleExclAttribute(
8341
8363
  {
8342
8364
  data: item,
8343
- attrs: ["value"],
8365
+ attrs: [
8366
+ "value",
8367
+ "type",
8368
+ ],
8344
8369
  }
8345
8370
  ),
8346
8371
  false
@@ -8509,6 +8534,11 @@ var render = function () {
8509
8534
  _c(
8510
8535
  "el-form-item",
8511
8536
  {
8537
+ class:
8538
+ {
8539
+ "fixed-width":
8540
+ inline.width,
8541
+ },
8512
8542
  attrs:
8513
8543
  {
8514
8544
  "label-width":
@@ -9002,6 +9032,7 @@ var render = function () {
9002
9032
  attrs:
9003
9033
  [
9004
9034
  "value",
9035
+ "type",
9005
9036
  ],
9006
9037
  }
9007
9038
  ),
@@ -9136,6 +9167,11 @@ var render = function () {
9136
9167
  _c(
9137
9168
  "el-form-item",
9138
9169
  {
9170
+ class: {
9171
+ "fixed-width":
9172
+ item.inline
9173
+ .width,
9174
+ },
9139
9175
  attrs: {
9140
9176
  "label-width":
9141
9177
  "0",
@@ -9657,6 +9693,7 @@ var render = function () {
9657
9693
  attrs:
9658
9694
  [
9659
9695
  "value",
9696
+ "type",
9660
9697
  ],
9661
9698
  }
9662
9699
  ),
@@ -11433,6 +11470,7 @@ var render = function () {
11433
11470
  data: item,
11434
11471
  attrs: [
11435
11472
  "value",
11473
+ "type",
11436
11474
  ],
11437
11475
  }
11438
11476
  ),
@@ -11611,6 +11649,11 @@ var render = function () {
11611
11649
  _c(
11612
11650
  "el-form-item",
11613
11651
  {
11652
+ class:
11653
+ {
11654
+ "fixed-width":
11655
+ inline.width,
11656
+ },
11614
11657
  attrs:
11615
11658
  {
11616
11659
  "label-width":
@@ -12104,6 +12147,7 @@ var render = function () {
12104
12147
  attrs:
12105
12148
  [
12106
12149
  "value",
12150
+ "type",
12107
12151
  ],
12108
12152
  }
12109
12153
  ),
@@ -12241,6 +12285,13 @@ var render = function () {
12241
12285
  _c(
12242
12286
  "el-form-item",
12243
12287
  {
12288
+ class:
12289
+ {
12290
+ "fixed-width":
12291
+ item
12292
+ .inline
12293
+ .width,
12294
+ },
12244
12295
  attrs:
12245
12296
  {
12246
12297
  "label-width":
@@ -12781,6 +12832,7 @@ var render = function () {
12781
12832
  attrs:
12782
12833
  [
12783
12834
  "value",
12835
+ "type",
12784
12836
  ],
12785
12837
  }
12786
12838
  ),
@@ -13861,7 +13913,10 @@ var render = function () {
13861
13913
  "component",
13862
13914
  _vm.handleExclAttribute({
13863
13915
  data: item,
13864
- attrs: ["value"],
13916
+ attrs: [
13917
+ "value",
13918
+ "type",
13919
+ ],
13865
13920
  }),
13866
13921
  false
13867
13922
  ),
@@ -14038,6 +14093,11 @@ var render = function () {
14038
14093
  _c(
14039
14094
  "el-form-item",
14040
14095
  {
14096
+ class:
14097
+ {
14098
+ "fixed-width":
14099
+ inline.width,
14100
+ },
14041
14101
  attrs:
14042
14102
  {
14043
14103
  "label-width":
@@ -14531,6 +14591,7 @@ var render = function () {
14531
14591
  attrs:
14532
14592
  [
14533
14593
  "value",
14594
+ "type",
14534
14595
  ],
14535
14596
  }
14536
14597
  ),
@@ -14665,6 +14726,11 @@ var render = function () {
14665
14726
  _c(
14666
14727
  "el-form-item",
14667
14728
  {
14729
+ class: {
14730
+ "fixed-width":
14731
+ item.inline
14732
+ .width,
14733
+ },
14668
14734
  attrs: {
14669
14735
  "label-width":
14670
14736
  "0",
@@ -15168,6 +15234,7 @@ var render = function () {
15168
15234
  attrs:
15169
15235
  [
15170
15236
  "value",
15237
+ "type",
15171
15238
  ],
15172
15239
  }
15173
15240
  ),
@@ -15410,7 +15477,7 @@ var staticRenderFns = []
15410
15477
  render._withStripped = true
15411
15478
 
15412
15479
 
15413
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=32a172fb&
15480
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=3b85e994&
15414
15481
 
15415
15482
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
15416
15483
  var regenerator_ = __webpack_require__(13);
@@ -19439,6 +19506,19 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19439
19506
  //
19440
19507
  //
19441
19508
  //
19509
+ //
19510
+ //
19511
+ //
19512
+ //
19513
+ //
19514
+ //
19515
+ //
19516
+ //
19517
+ //
19518
+ //
19519
+ //
19520
+ //
19521
+ //
19442
19522
 
19443
19523
 
19444
19524
 
@@ -19932,7 +20012,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19932
20012
 
19933
20013
  this.$nextTick(function () {
19934
20014
  !_this4.height && _this4.getHeight();
19935
- _this4.$refs.esForm.$el.addEventListener('keyup', _this4.handleEnter);
20015
+ _this4.$refs.esForm && _this4.$refs.esForm.$el.addEventListener('keyup', _this4.handleEnter);
19936
20016
  });
19937
20017
  },
19938
20018
 
@@ -351,7 +351,7 @@ var ajax = function ajax(_ref) {
351
351
  }, 1000);
352
352
  }
353
353
  // eslint-disable-next-line no-undef
354
- return Promise.resolve(response.data);
354
+ return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
355
355
  }
356
356
  }, function (error) {
357
357
  loading && loading.close();
package/lib/handler.js CHANGED
@@ -351,7 +351,7 @@ var ajax = function ajax(_ref) {
351
351
  }, 1000);
352
352
  }
353
353
  // eslint-disable-next-line no-undef
354
- return Promise.resolve(response.data);
354
+ return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
355
355
  }
356
356
  }, function (error) {
357
357
  loading && loading.close();