eoss-ui 0.6.51 → 0.6.53

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 (76) hide show
  1. package/lib/button-group.js +58 -55
  2. package/lib/button.js +58 -55
  3. package/lib/checkbox-group.js +61 -58
  4. package/lib/data-table-form.js +58 -55
  5. package/lib/data-table.js +65 -62
  6. package/lib/date-picker.js +58 -55
  7. package/lib/dialog.js +58 -55
  8. package/lib/eoss-ui.common.js +422 -335
  9. package/lib/flow-group.js +58 -55
  10. package/lib/flow-list.js +87 -61
  11. package/lib/flow.js +187 -144
  12. package/lib/form.js +62 -59
  13. package/lib/handle-user.js +58 -55
  14. package/lib/handler.js +58 -55
  15. package/lib/icon.js +58 -55
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +58 -55
  18. package/lib/input.js +59 -56
  19. package/lib/login.js +61 -58
  20. package/lib/main.js +126 -103
  21. package/lib/menu.js +1 -1
  22. package/lib/nav.js +61 -58
  23. package/lib/page.js +58 -55
  24. package/lib/pagination.js +58 -55
  25. package/lib/player.js +58 -55
  26. package/lib/qr-code.js +58 -55
  27. package/lib/radio-group.js +61 -58
  28. package/lib/retrial-auth.js +58 -55
  29. package/lib/select-ganged.js +59 -56
  30. package/lib/select.js +61 -57
  31. package/lib/selector-panel.js +61 -58
  32. package/lib/selector.js +58 -55
  33. package/lib/sizer.js +58 -55
  34. package/lib/steps.js +61 -58
  35. package/lib/switch.js +58 -55
  36. package/lib/table-form.js +58 -55
  37. package/lib/tabs.js +58 -55
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/upload.css +1 -1
  40. package/lib/tips.js +61 -58
  41. package/lib/tree-group.js +58 -55
  42. package/lib/tree.js +61 -58
  43. package/lib/upload.js +72 -69
  44. package/lib/utils/util.js +54 -51
  45. package/lib/wujie.js +58 -55
  46. package/lib/wxlogin.js +58 -55
  47. package/package.json +2 -2
  48. package/packages/checkbox-group/src/main.vue +2 -2
  49. package/packages/data-table/src/main.vue +3 -3
  50. package/packages/flow/src/reset.vue +4 -6
  51. package/packages/flow/src/startTaskRead.vue +180 -136
  52. package/packages/flow-list/src/main.vue +25 -2
  53. package/packages/form/src/main.vue +3 -3
  54. package/packages/input/src/main.vue +2 -2
  55. package/packages/login/src/main.vue +2 -2
  56. package/packages/main/src/default/index.vue +7 -1
  57. package/packages/main/src/main.vue +4 -1
  58. package/packages/main/src/public/search.vue +8 -3
  59. package/packages/main/src/simplicity/apps.vue +2 -2
  60. package/packages/main/src/simplicity/index.vue +3 -3
  61. package/packages/main/src/simplicity/user.vue +2 -2
  62. package/packages/menu/src/main.vue +2 -2
  63. package/packages/nav/src/main.vue +2 -2
  64. package/packages/radio-group/src/main.vue +2 -2
  65. package/packages/select/src/main.vue +4 -3
  66. package/packages/select-ganged/src/main.vue +2 -2
  67. package/packages/selector-panel/src/main.vue +2 -2
  68. package/packages/steps/src/main.vue +2 -2
  69. package/packages/theme-chalk/lib/index.css +1 -1
  70. package/packages/theme-chalk/lib/upload.css +1 -1
  71. package/packages/theme-chalk/src/upload.scss +1 -0
  72. package/packages/tips/src/main.vue +2 -2
  73. package/packages/tree/src/main.vue +2 -2
  74. package/packages/upload/src/main.vue +18 -10
  75. package/src/index.js +1 -1
  76. package/src/utils/util.js +15 -12
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import { debounce } from 'throttle-debounce';
2
+ import { throttle } from 'throttle-debounce';
3
3
  export default {
4
4
  name: 'EsMenu',
5
5
  inheritAttrs: false,
@@ -82,7 +82,7 @@ export default {
82
82
  };
83
83
  },
84
84
  beforeCreate() {
85
- this.getMaxWidth = debounce(500, () => {
85
+ this.getMaxWidth = throttle(500, () => {
86
86
  this.getWidth();
87
87
  });
88
88
  },
@@ -89,7 +89,7 @@
89
89
  </template>
90
90
  <script>
91
91
  import util from 'eoss-ui/src/utils/util';
92
- import { debounce } from 'throttle-debounce';
92
+ import { throttle } from 'throttle-debounce';
93
93
  export default {
94
94
  name: 'EsNav',
95
95
  inheritAttrs: false,
@@ -278,7 +278,7 @@ export default {
278
278
  };
279
279
  },
280
280
  beforeCreate() {
281
- this.getHeight = debounce(500, () => {
281
+ this.getHeight = throttle(500, () => {
282
282
  this.resetHeight();
283
283
  });
284
284
  },
@@ -56,7 +56,7 @@
56
56
 
57
57
  <script>
58
58
  import { findSysCode, getDictList } from 'eoss-ui/src/config/api.js';
59
- import { debounce } from 'throttle-debounce';
59
+ import { throttle } from 'throttle-debounce';
60
60
  import store from 'eoss-ui/src/utils/store';
61
61
  import util from 'eoss-ui/src/utils/util';
62
62
  export default {
@@ -229,7 +229,7 @@ export default {
229
229
  }
230
230
  },
231
231
  beforeCreate() {
232
- this.getData = debounce(500, (url, sysCode) => {
232
+ this.getData = throttle(500, (url, sysCode) => {
233
233
  this.getDatas(url, sysCode);
234
234
  });
235
235
  },
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { findSysCode, getDictList } from 'eoss-ui/src/config/api.js';
3
- import { debounce } from 'throttle-debounce';
3
+ import { throttle } from 'throttle-debounce';
4
4
  import store from 'eoss-ui/src/utils/store';
5
5
  import util from 'eoss-ui/src/utils/util';
6
6
  export default {
@@ -229,7 +229,7 @@ export default {
229
229
  }
230
230
  },
231
231
  beforeCreate() {
232
- this.getData = debounce(500, (sysCode, param, reload) => {
232
+ this.getData = throttle(500, (sysCode, param, reload) => {
233
233
  this.getDatas(sysCode, param, reload);
234
234
  });
235
235
  },
@@ -327,7 +327,8 @@ export default {
327
327
  label: item[this.label] || item.label,
328
328
  value: this.isObject ? item : item[this.valKey],
329
329
  disabled: item.disabled
330
- }
330
+ },
331
+ style: item.style
331
332
  },
332
333
  content
333
334
  )
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { findSysCode, getDictList } from 'eoss-ui/src/config/api.js';
3
- import { debounce } from 'throttle-debounce';
3
+ import { throttle } from 'throttle-debounce';
4
4
  import util from 'eoss-ui/src/utils/util';
5
5
  export default {
6
6
  name: 'EsSelectGanged',
@@ -235,7 +235,7 @@ export default {
235
235
  }
236
236
  },
237
237
  beforeCreate() {
238
- this.getData = debounce(500, () => {
238
+ this.getData = throttle(500, () => {
239
239
  this.getDatas();
240
240
  });
241
241
  },
@@ -114,7 +114,7 @@ import {
114
114
  getSelectorOrgTree,
115
115
  getSelectorOrgDetail
116
116
  } from 'eoss-ui/src/config/api.js';
117
- import { debounce } from 'throttle-debounce';
117
+ import { throttle } from 'throttle-debounce';
118
118
  import util from 'eoss-ui/src/utils/util.js';
119
119
  export default {
120
120
  name: 'EsSelectorPanel',
@@ -621,7 +621,7 @@ export default {
621
621
  }
622
622
  },
623
623
  beforeCreate() {
624
- this.ajaxActive = debounce(500, (active) => {
624
+ this.ajaxActive = throttle(500, (active) => {
625
625
  this.getAjaxActive(active);
626
626
  });
627
627
  },
@@ -66,7 +66,7 @@
66
66
  </template>
67
67
  <script>
68
68
  import util from 'eoss-ui/src/utils/util.js';
69
- import { debounce } from 'throttle-debounce';
69
+ import { throttle } from 'throttle-debounce';
70
70
  export default {
71
71
  name: 'EsSteps',
72
72
  inheritAttrs: false,
@@ -130,7 +130,7 @@ export default {
130
130
  }
131
131
  },
132
132
  beforeCreate() {
133
- this.getData = debounce(500, () => {
133
+ this.getData = throttle(500, () => {
134
134
  this.getDatas();
135
135
  });
136
136
  },