eoss-ui 0.5.61 → 0.5.63

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 (87) hide show
  1. package/lib/button-group.js +147 -129
  2. package/lib/button.js +14 -8
  3. package/lib/checkbox-group.js +14 -8
  4. package/lib/data-table-form.js +14 -8
  5. package/lib/data-table.js +129 -104
  6. package/lib/date-picker.js +14 -8
  7. package/lib/dialog.js +17 -11
  8. package/lib/eoss-ui.common.js +688 -545
  9. package/lib/flow-group.js +14 -8
  10. package/lib/flow-list.js +14 -8
  11. package/lib/flow.js +17 -11
  12. package/lib/form.js +14 -8
  13. package/lib/handle-user.js +14 -8
  14. package/lib/handler.js +17 -11
  15. package/lib/icon.js +19 -15
  16. package/lib/icons.js +2 -2
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +14 -8
  19. package/lib/input.js +14 -8
  20. package/lib/label.js +2 -2
  21. package/lib/login.js +139 -68
  22. package/lib/main.js +208 -164
  23. package/lib/menu.js +2 -2
  24. package/lib/nav.js +14 -8
  25. package/lib/page.js +14 -8
  26. package/lib/player.js +18 -12
  27. package/lib/qr-code.js +16 -10
  28. package/lib/radio-group.js +14 -8
  29. package/lib/retrial-auth.js +14 -8
  30. package/lib/select-ganged.js +14 -8
  31. package/lib/select.js +14 -8
  32. package/lib/selector-panel.js +17 -11
  33. package/lib/selector.js +18 -23
  34. package/lib/sizer.js +14 -8
  35. package/lib/steps.js +14 -8
  36. package/lib/switch.js +14 -8
  37. package/lib/table-form.js +14 -8
  38. package/lib/tabs.js +14 -8
  39. package/lib/theme-chalk/base.css +1 -1
  40. package/lib/theme-chalk/card.css +1 -1
  41. package/lib/theme-chalk/form.css +1 -1
  42. package/lib/theme-chalk/icon.css +1 -1
  43. package/lib/theme-chalk/index.css +1 -1
  44. package/lib/theme-chalk/login.css +1 -1
  45. package/lib/theme-chalk/main.css +1 -1
  46. package/lib/theme-chalk/menu.css +1 -1
  47. package/lib/theme-chalk/sizer.css +1 -1
  48. package/lib/theme-chalk/upload.css +1 -1
  49. package/lib/tips.js +14 -8
  50. package/lib/toolbar.js +4 -1
  51. package/lib/tree-group.js +28 -11
  52. package/lib/tree.js +14 -8
  53. package/lib/upload.js +17 -11
  54. package/lib/utils/util.js +14 -8
  55. package/lib/wujie.js +14 -8
  56. package/lib/wxlogin.js +14 -8
  57. package/package.json +3 -2
  58. package/packages/button-group/src/main.vue +71 -58
  59. package/packages/data-table/src/main.vue +11 -2
  60. package/packages/flow/src/main.vue +1 -1
  61. package/packages/handler/src/main.vue +1 -1
  62. package/packages/icon/src/main.vue +2 -2
  63. package/packages/label/src/main.vue +2 -2
  64. package/packages/login/src/main.vue +63 -35
  65. package/packages/main/src/main.vue +19 -11
  66. package/packages/main/src/userinfo.vue +165 -150
  67. package/packages/menu/src/main.vue +2 -2
  68. package/packages/selector/src/main.vue +0 -1
  69. package/packages/theme-chalk/lib/base.css +1 -1
  70. package/packages/theme-chalk/lib/card.css +1 -1
  71. package/packages/theme-chalk/lib/form.css +1 -1
  72. package/packages/theme-chalk/lib/icon.css +1 -1
  73. package/packages/theme-chalk/lib/index.css +1 -1
  74. package/packages/theme-chalk/lib/login.css +1 -1
  75. package/packages/theme-chalk/lib/main.css +1 -1
  76. package/packages/theme-chalk/lib/menu.css +1 -1
  77. package/packages/theme-chalk/lib/sizer.css +1 -1
  78. package/packages/theme-chalk/lib/upload.css +1 -1
  79. package/packages/theme-chalk/src/card.scss +2 -2
  80. package/packages/theme-chalk/src/form.scss +5 -3
  81. package/packages/theme-chalk/src/icon.scss +3 -3
  82. package/packages/theme-chalk/src/login.scss +6 -0
  83. package/packages/theme-chalk/src/menu.scss +1 -1
  84. package/packages/toolbar/src/main.vue +4 -1
  85. package/packages/tree-group/src/main.vue +12 -1
  86. package/src/index.js +1 -1
  87. package/src/utils/util.js +14 -9
package/lib/flow-group.js CHANGED
@@ -370,7 +370,7 @@ var ajax = function ajax(_ref) {
370
370
  error.message = '未授权,请重新登录';
371
371
  break;
372
372
  case 403:
373
- error.message = '登录过期,请重新登录';
373
+ error.message = '服务器错误';
374
374
  break;
375
375
  case 404:
376
376
  error.message = '网络请求不存在';
@@ -382,7 +382,7 @@ var ajax = function ajax(_ref) {
382
382
  error.message = '请求超时';
383
383
  break;
384
384
  case 500:
385
- error.message = '服务器端出错';
385
+ error.message = '服务器错误';
386
386
  break;
387
387
  case 501:
388
388
  error.message = '网络未实现';
@@ -738,18 +738,23 @@ var dayOfMonth = function dayOfMonth(date) {
738
738
  * @desc:添加js内容
739
739
  * @author huangbo
740
740
  * @date 2022年5月7日
741
- * @param {Function} [fn] - 函数
741
+ * @param {Function} [callback] - 函数
742
742
  * @param {Number} [wait] - 延迟毫秒数
743
743
  * @param {Boolean} [immediate] - 是否首次触发执行
744
744
  **/
745
745
 
746
- var debounce = function debounce(callback, delay) {
747
- var timeout = null;
746
+ var debounce = function debounce(callback, wait) {
747
+ var timeout = void 0;
748
748
  return function () {
749
- clearTimeout(timeout);
750
- timeout = setTimeout(callback, delay ? delay : 500);
749
+ var context = this;
750
+ var args = arguments;
751
+ if (timeout) clearTimeout(timeout);
752
+ timeout = setTimeout(function () {
753
+ callback.apply(context, args);
754
+ }, wait || 500);
751
755
  };
752
756
  };
757
+
753
758
  /**
754
759
  * delUrlParam
755
760
  * @desc:删除url指定参数
@@ -2886,7 +2891,8 @@ var toFunction = function toFunction(str) {
2886
2891
  * @param {string} [$color] - 颜色值
2887
2892
  **/
2888
2893
  var updateTheme = function updateTheme(color, send) {
2889
- color = color ? color : '#409eff';
2894
+ color = color && startWith(color, '#') ? color : '#409eff';
2895
+
2890
2896
  if (send === undefined) {
2891
2897
  send = true;
2892
2898
  }
package/lib/flow-list.js CHANGED
@@ -370,7 +370,7 @@ var ajax = function ajax(_ref) {
370
370
  error.message = '未授权,请重新登录';
371
371
  break;
372
372
  case 403:
373
- error.message = '登录过期,请重新登录';
373
+ error.message = '服务器错误';
374
374
  break;
375
375
  case 404:
376
376
  error.message = '网络请求不存在';
@@ -382,7 +382,7 @@ var ajax = function ajax(_ref) {
382
382
  error.message = '请求超时';
383
383
  break;
384
384
  case 500:
385
- error.message = '服务器端出错';
385
+ error.message = '服务器错误';
386
386
  break;
387
387
  case 501:
388
388
  error.message = '网络未实现';
@@ -738,18 +738,23 @@ var dayOfMonth = function dayOfMonth(date) {
738
738
  * @desc:添加js内容
739
739
  * @author huangbo
740
740
  * @date 2022年5月7日
741
- * @param {Function} [fn] - 函数
741
+ * @param {Function} [callback] - 函数
742
742
  * @param {Number} [wait] - 延迟毫秒数
743
743
  * @param {Boolean} [immediate] - 是否首次触发执行
744
744
  **/
745
745
 
746
- var debounce = function debounce(callback, delay) {
747
- var timeout = null;
746
+ var debounce = function debounce(callback, wait) {
747
+ var timeout = void 0;
748
748
  return function () {
749
- clearTimeout(timeout);
750
- timeout = setTimeout(callback, delay ? delay : 500);
749
+ var context = this;
750
+ var args = arguments;
751
+ if (timeout) clearTimeout(timeout);
752
+ timeout = setTimeout(function () {
753
+ callback.apply(context, args);
754
+ }, wait || 500);
751
755
  };
752
756
  };
757
+
753
758
  /**
754
759
  * delUrlParam
755
760
  * @desc:删除url指定参数
@@ -2886,7 +2891,8 @@ var toFunction = function toFunction(str) {
2886
2891
  * @param {string} [$color] - 颜色值
2887
2892
  **/
2888
2893
  var updateTheme = function updateTheme(color, send) {
2889
- color = color ? color : '#409eff';
2894
+ color = color && startWith(color, '#') ? color : '#409eff';
2895
+
2890
2896
  if (send === undefined) {
2891
2897
  send = true;
2892
2898
  }
package/lib/flow.js CHANGED
@@ -369,7 +369,7 @@ var ajax = function ajax(_ref) {
369
369
  error.message = '未授权,请重新登录';
370
370
  break;
371
371
  case 403:
372
- error.message = '登录过期,请重新登录';
372
+ error.message = '服务器错误';
373
373
  break;
374
374
  case 404:
375
375
  error.message = '网络请求不存在';
@@ -381,7 +381,7 @@ var ajax = function ajax(_ref) {
381
381
  error.message = '请求超时';
382
382
  break;
383
383
  case 500:
384
- error.message = '服务器端出错';
384
+ error.message = '服务器错误';
385
385
  break;
386
386
  case 501:
387
387
  error.message = '网络未实现';
@@ -737,18 +737,23 @@ var dayOfMonth = function dayOfMonth(date) {
737
737
  * @desc:添加js内容
738
738
  * @author huangbo
739
739
  * @date 2022年5月7日
740
- * @param {Function} [fn] - 函数
740
+ * @param {Function} [callback] - 函数
741
741
  * @param {Number} [wait] - 延迟毫秒数
742
742
  * @param {Boolean} [immediate] - 是否首次触发执行
743
743
  **/
744
744
 
745
- var debounce = function debounce(callback, delay) {
746
- var timeout = null;
745
+ var debounce = function debounce(callback, wait) {
746
+ var timeout = void 0;
747
747
  return function () {
748
- clearTimeout(timeout);
749
- timeout = setTimeout(callback, delay ? delay : 500);
748
+ var context = this;
749
+ var args = arguments;
750
+ if (timeout) clearTimeout(timeout);
751
+ timeout = setTimeout(function () {
752
+ callback.apply(context, args);
753
+ }, wait || 500);
750
754
  };
751
755
  };
756
+
752
757
  /**
753
758
  * delUrlParam
754
759
  * @desc:删除url指定参数
@@ -2885,7 +2890,8 @@ var toFunction = function toFunction(str) {
2885
2890
  * @param {string} [$color] - 颜色值
2886
2891
  **/
2887
2892
  var updateTheme = function updateTheme(color, send) {
2888
- color = color ? color : '#409eff';
2893
+ color = color && startWith(color, '#') ? color : '#409eff';
2894
+
2889
2895
  if (send === undefined) {
2890
2896
  send = true;
2891
2897
  }
@@ -3962,7 +3968,7 @@ var component = Object(componentNormalizer["a" /* default */])(
3962
3968
  // ESM COMPAT FLAG
3963
3969
  __webpack_require__.r(__webpack_exports__);
3964
3970
 
3965
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=66b44e7f&
3971
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=4080350e&
3966
3972
  var render = function () {
3967
3973
  var _vm = this
3968
3974
  var _h = _vm.$createElement
@@ -5687,7 +5693,7 @@ var staticRenderFns = []
5687
5693
  render._withStripped = true
5688
5694
 
5689
5695
 
5690
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=66b44e7f&
5696
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=4080350e&
5691
5697
 
5692
5698
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5693
5699
  var regenerator_ = __webpack_require__(12);
@@ -14161,7 +14167,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14161
14167
  var _this20 = this;
14162
14168
 
14163
14169
  if (this.beforeSubmit != undefined) {
14164
- this.beforeSubmit().then(function (next) {
14170
+ this.beforeSubmit(0).then(function (next) {
14165
14171
  _this20.taskReadType = 'transfer';
14166
14172
  _this20.showTaskRead = true;
14167
14173
  }).catch(function (e) {});
package/lib/form.js CHANGED
@@ -370,7 +370,7 @@ var ajax = function ajax(_ref) {
370
370
  error.message = '未授权,请重新登录';
371
371
  break;
372
372
  case 403:
373
- error.message = '登录过期,请重新登录';
373
+ error.message = '服务器错误';
374
374
  break;
375
375
  case 404:
376
376
  error.message = '网络请求不存在';
@@ -382,7 +382,7 @@ var ajax = function ajax(_ref) {
382
382
  error.message = '请求超时';
383
383
  break;
384
384
  case 500:
385
- error.message = '服务器端出错';
385
+ error.message = '服务器错误';
386
386
  break;
387
387
  case 501:
388
388
  error.message = '网络未实现';
@@ -738,18 +738,23 @@ var dayOfMonth = function dayOfMonth(date) {
738
738
  * @desc:添加js内容
739
739
  * @author huangbo
740
740
  * @date 2022年5月7日
741
- * @param {Function} [fn] - 函数
741
+ * @param {Function} [callback] - 函数
742
742
  * @param {Number} [wait] - 延迟毫秒数
743
743
  * @param {Boolean} [immediate] - 是否首次触发执行
744
744
  **/
745
745
 
746
- var debounce = function debounce(callback, delay) {
747
- var timeout = null;
746
+ var debounce = function debounce(callback, wait) {
747
+ var timeout = void 0;
748
748
  return function () {
749
- clearTimeout(timeout);
750
- timeout = setTimeout(callback, delay ? delay : 500);
749
+ var context = this;
750
+ var args = arguments;
751
+ if (timeout) clearTimeout(timeout);
752
+ timeout = setTimeout(function () {
753
+ callback.apply(context, args);
754
+ }, wait || 500);
751
755
  };
752
756
  };
757
+
753
758
  /**
754
759
  * delUrlParam
755
760
  * @desc:删除url指定参数
@@ -2886,7 +2891,8 @@ var toFunction = function toFunction(str) {
2886
2891
  * @param {string} [$color] - 颜色值
2887
2892
  **/
2888
2893
  var updateTheme = function updateTheme(color, send) {
2889
- color = color ? color : '#409eff';
2894
+ color = color && startWith(color, '#') ? color : '#409eff';
2895
+
2890
2896
  if (send === undefined) {
2891
2897
  send = true;
2892
2898
  }
@@ -370,7 +370,7 @@ var ajax = function ajax(_ref) {
370
370
  error.message = '未授权,请重新登录';
371
371
  break;
372
372
  case 403:
373
- error.message = '登录过期,请重新登录';
373
+ error.message = '服务器错误';
374
374
  break;
375
375
  case 404:
376
376
  error.message = '网络请求不存在';
@@ -382,7 +382,7 @@ var ajax = function ajax(_ref) {
382
382
  error.message = '请求超时';
383
383
  break;
384
384
  case 500:
385
- error.message = '服务器端出错';
385
+ error.message = '服务器错误';
386
386
  break;
387
387
  case 501:
388
388
  error.message = '网络未实现';
@@ -738,18 +738,23 @@ var dayOfMonth = function dayOfMonth(date) {
738
738
  * @desc:添加js内容
739
739
  * @author huangbo
740
740
  * @date 2022年5月7日
741
- * @param {Function} [fn] - 函数
741
+ * @param {Function} [callback] - 函数
742
742
  * @param {Number} [wait] - 延迟毫秒数
743
743
  * @param {Boolean} [immediate] - 是否首次触发执行
744
744
  **/
745
745
 
746
- var debounce = function debounce(callback, delay) {
747
- var timeout = null;
746
+ var debounce = function debounce(callback, wait) {
747
+ var timeout = void 0;
748
748
  return function () {
749
- clearTimeout(timeout);
750
- timeout = setTimeout(callback, delay ? delay : 500);
749
+ var context = this;
750
+ var args = arguments;
751
+ if (timeout) clearTimeout(timeout);
752
+ timeout = setTimeout(function () {
753
+ callback.apply(context, args);
754
+ }, wait || 500);
751
755
  };
752
756
  };
757
+
753
758
  /**
754
759
  * delUrlParam
755
760
  * @desc:删除url指定参数
@@ -2886,7 +2891,8 @@ var toFunction = function toFunction(str) {
2886
2891
  * @param {string} [$color] - 颜色值
2887
2892
  **/
2888
2893
  var updateTheme = function updateTheme(color, send) {
2889
- color = color ? color : '#409eff';
2894
+ color = color && startWith(color, '#') ? color : '#409eff';
2895
+
2890
2896
  if (send === undefined) {
2891
2897
  send = true;
2892
2898
  }
package/lib/handler.js CHANGED
@@ -370,7 +370,7 @@ var ajax = function ajax(_ref) {
370
370
  error.message = '未授权,请重新登录';
371
371
  break;
372
372
  case 403:
373
- error.message = '登录过期,请重新登录';
373
+ error.message = '服务器错误';
374
374
  break;
375
375
  case 404:
376
376
  error.message = '网络请求不存在';
@@ -382,7 +382,7 @@ var ajax = function ajax(_ref) {
382
382
  error.message = '请求超时';
383
383
  break;
384
384
  case 500:
385
- error.message = '服务器端出错';
385
+ error.message = '服务器错误';
386
386
  break;
387
387
  case 501:
388
388
  error.message = '网络未实现';
@@ -738,18 +738,23 @@ var dayOfMonth = function dayOfMonth(date) {
738
738
  * @desc:添加js内容
739
739
  * @author huangbo
740
740
  * @date 2022年5月7日
741
- * @param {Function} [fn] - 函数
741
+ * @param {Function} [callback] - 函数
742
742
  * @param {Number} [wait] - 延迟毫秒数
743
743
  * @param {Boolean} [immediate] - 是否首次触发执行
744
744
  **/
745
745
 
746
- var debounce = function debounce(callback, delay) {
747
- var timeout = null;
746
+ var debounce = function debounce(callback, wait) {
747
+ var timeout = void 0;
748
748
  return function () {
749
- clearTimeout(timeout);
750
- timeout = setTimeout(callback, delay ? delay : 500);
749
+ var context = this;
750
+ var args = arguments;
751
+ if (timeout) clearTimeout(timeout);
752
+ timeout = setTimeout(function () {
753
+ callback.apply(context, args);
754
+ }, wait || 500);
751
755
  };
752
756
  };
757
+
753
758
  /**
754
759
  * delUrlParam
755
760
  * @desc:删除url指定参数
@@ -2886,7 +2891,8 @@ var toFunction = function toFunction(str) {
2886
2891
  * @param {string} [$color] - 颜色值
2887
2892
  **/
2888
2893
  var updateTheme = function updateTheme(color, send) {
2889
- color = color ? color : '#409eff';
2894
+ color = color && startWith(color, '#') ? color : '#409eff';
2895
+
2890
2896
  if (send === undefined) {
2891
2897
  send = true;
2892
2898
  }
@@ -3615,7 +3621,7 @@ module.exports = require("qs");
3615
3621
  // ESM COMPAT FLAG
3616
3622
  __webpack_require__.r(__webpack_exports__);
3617
3623
 
3618
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=6f2ac1fb&
3624
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=352a790a&
3619
3625
  var render = function () {
3620
3626
  var _vm = this
3621
3627
  var _h = _vm.$createElement
@@ -3733,7 +3739,7 @@ var render = function () {
3733
3739
  class: [
3734
3740
  _vm.unicode(ele.icons)
3735
3741
  ? ele.icons
3736
- : "es-icons",
3742
+ : "es-icon",
3737
3743
  "es-sub-system-icon",
3738
3744
  {
3739
3745
  "es-icon-yingyong": !ele.icons,
@@ -3818,7 +3824,7 @@ var staticRenderFns = []
3818
3824
  render._withStripped = true
3819
3825
 
3820
3826
 
3821
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=6f2ac1fb&
3827
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=352a790a&
3822
3828
 
3823
3829
  // EXTERNAL MODULE: ./src/config/api.js
3824
3830
  var api = __webpack_require__(1);
package/lib/icon.js CHANGED
@@ -370,7 +370,7 @@ var ajax = function ajax(_ref) {
370
370
  error.message = '未授权,请重新登录';
371
371
  break;
372
372
  case 403:
373
- error.message = '登录过期,请重新登录';
373
+ error.message = '服务器错误';
374
374
  break;
375
375
  case 404:
376
376
  error.message = '网络请求不存在';
@@ -382,7 +382,7 @@ var ajax = function ajax(_ref) {
382
382
  error.message = '请求超时';
383
383
  break;
384
384
  case 500:
385
- error.message = '服务器端出错';
385
+ error.message = '服务器错误';
386
386
  break;
387
387
  case 501:
388
388
  error.message = '网络未实现';
@@ -738,18 +738,23 @@ var dayOfMonth = function dayOfMonth(date) {
738
738
  * @desc:添加js内容
739
739
  * @author huangbo
740
740
  * @date 2022年5月7日
741
- * @param {Function} [fn] - 函数
741
+ * @param {Function} [callback] - 函数
742
742
  * @param {Number} [wait] - 延迟毫秒数
743
743
  * @param {Boolean} [immediate] - 是否首次触发执行
744
744
  **/
745
745
 
746
- var debounce = function debounce(callback, delay) {
747
- var timeout = null;
746
+ var debounce = function debounce(callback, wait) {
747
+ var timeout = void 0;
748
748
  return function () {
749
- clearTimeout(timeout);
750
- timeout = setTimeout(callback, delay ? delay : 500);
749
+ var context = this;
750
+ var args = arguments;
751
+ if (timeout) clearTimeout(timeout);
752
+ timeout = setTimeout(function () {
753
+ callback.apply(context, args);
754
+ }, wait || 500);
751
755
  };
752
756
  };
757
+
753
758
  /**
754
759
  * delUrlParam
755
760
  * @desc:删除url指定参数
@@ -2886,7 +2891,8 @@ var toFunction = function toFunction(str) {
2886
2891
  * @param {string} [$color] - 颜色值
2887
2892
  **/
2888
2893
  var updateTheme = function updateTheme(color, send) {
2889
- color = color ? color : '#409eff';
2894
+ color = color && startWith(color, '#') ? color : '#409eff';
2895
+
2890
2896
  if (send === undefined) {
2891
2897
  send = true;
2892
2898
  }
@@ -3622,7 +3628,7 @@ module.exports = require("axios");
3622
3628
  // ESM COMPAT FLAG
3623
3629
  __webpack_require__.r(__webpack_exports__);
3624
3630
 
3625
- // 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=520397d3&
3631
+ // 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=94173c5a&
3626
3632
  var render = function () {
3627
3633
  var _vm = this
3628
3634
  var _h = _vm.$createElement
@@ -3631,20 +3637,18 @@ var render = function () {
3631
3637
  "i",
3632
3638
  _vm._g(
3633
3639
  {
3634
- staticClass: "es-icon",
3635
3640
  class: [_vm.className, { "es-pointer": Object.keys(_vm.event).length }],
3641
+ domProps: { innerHTML: _vm._s(_vm.code) },
3636
3642
  },
3637
3643
  _vm.event
3638
- ),
3639
- [_vm._t("default", [_vm._v(_vm._s(_vm.code))])],
3640
- 2
3644
+ )
3641
3645
  )
3642
3646
  }
3643
3647
  var staticRenderFns = []
3644
3648
  render._withStripped = true
3645
3649
 
3646
3650
 
3647
- // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=520397d3&
3651
+ // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=94173c5a&
3648
3652
 
3649
3653
  // EXTERNAL MODULE: ./src/utils/util.js
3650
3654
  var util = __webpack_require__(0);
@@ -3658,7 +3662,6 @@ var util = __webpack_require__(0);
3658
3662
  //
3659
3663
  //
3660
3664
  //
3661
- //
3662
3665
 
3663
3666
 
3664
3667
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
@@ -3676,6 +3679,7 @@ var util = __webpack_require__(0);
3676
3679
  if (typeof val == 'string') {
3677
3680
  if (util["a" /* default */].startWith(val, '&#')) {
3678
3681
  this.code = val;
3682
+ this.className = 'es-icon';
3679
3683
  } else {
3680
3684
  this.className = val;
3681
3685
  }
package/lib/icons.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 20:
90
+ /***/ 21:
91
91
  /***/ (function(module) {
92
92
 
93
93
  module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\"]");
@@ -321,7 +321,7 @@ render._withStripped = true
321
321
  // CONCATENATED MODULE: ./packages/icons/src/main.vue?vue&type=template&id=32c03886&
322
322
 
323
323
  // EXTERNAL MODULE: ./packages/icons/src/icon.json
324
- var icon = __webpack_require__(20);
324
+ var icon = __webpack_require__(21);
325
325
 
326
326
  // 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&
327
327
  //