eoss-ui 0.7.34 → 0.7.36

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 (71) hide show
  1. package/lib/button-group.js +2 -0
  2. package/lib/button.js +2 -0
  3. package/lib/calogin.js +2 -0
  4. package/lib/checkbox-group.js +2 -0
  5. package/lib/data-table-form.js +2 -0
  6. package/lib/data-table.js +2 -0
  7. package/lib/date-picker.js +2 -0
  8. package/lib/dialog.js +6 -4
  9. package/lib/eoss-ui.common.js +273 -134
  10. package/lib/flow-group.js +2 -0
  11. package/lib/flow-list.js +2 -0
  12. package/lib/flow.js +2 -0
  13. package/lib/form.js +2 -0
  14. package/lib/handle-user.js +2 -0
  15. package/lib/handler.js +2 -0
  16. package/lib/icon.js +2 -0
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +2 -0
  19. package/lib/input.js +2 -0
  20. package/lib/login.js +15 -5
  21. package/lib/main.js +231 -102
  22. package/lib/nav.js +2 -0
  23. package/lib/page.js +2 -0
  24. package/lib/pagination.js +2 -0
  25. package/lib/player.js +2 -0
  26. package/lib/qr-code.js +2 -0
  27. package/lib/radio-group.js +2 -0
  28. package/lib/retrial-auth.js +2 -0
  29. package/lib/select-ganged.js +2 -0
  30. package/lib/select.js +2 -0
  31. package/lib/selector-panel.js +2 -0
  32. package/lib/selector.js +2 -0
  33. package/lib/sizer.js +2 -0
  34. package/lib/steps.js +2 -0
  35. package/lib/switch.js +2 -0
  36. package/lib/table-form.js +2 -0
  37. package/lib/tabs.js +2 -0
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/main.css +1 -1
  40. package/lib/theme-chalk/simplicity.css +1 -1
  41. package/lib/tips.js +2 -0
  42. package/lib/tree-group.js +2 -0
  43. package/lib/tree.js +2 -0
  44. package/lib/upload.js +9 -5
  45. package/lib/utils/util.js +2 -0
  46. package/lib/wujie.js +2 -0
  47. package/lib/wxlogin.js +2 -0
  48. package/package.json +1 -1
  49. package/packages/.DS_Store +0 -0
  50. package/packages/dialog/.DS_Store +0 -0
  51. package/packages/dialog/src/main.vue +2 -2
  52. package/packages/login/.DS_Store +0 -0
  53. package/packages/login/src/main.vue +13 -3
  54. package/packages/main/.DS_Store +0 -0
  55. package/packages/main/src/.DS_Store +0 -0
  56. package/packages/main/src/main.vue +11 -1
  57. package/packages/main/src/public/online.vue +1 -1
  58. package/packages/main/src/simplicity/handler.vue +17 -3
  59. package/packages/main/src/simplicity/index.vue +10 -6
  60. package/packages/main/src/simplicity/message.vue +27 -0
  61. package/packages/main/src/simplicity/notice.vue +26 -0
  62. package/packages/main/src/simplicity/sub-menu.vue +11 -3
  63. package/packages/theme-chalk/lib/index.css +1 -1
  64. package/packages/theme-chalk/lib/main.css +1 -1
  65. package/packages/theme-chalk/lib/simplicity.css +1 -1
  66. package/packages/theme-chalk/src/simplicity.scss +11 -1
  67. package/packages/upload/.DS_Store +0 -0
  68. package/packages/upload/src/main.vue +1 -0
  69. package/src/.DS_Store +0 -0
  70. package/src/index.js +1 -1
  71. package/src/utils/util.js +2 -0
@@ -693,6 +693,8 @@ var busEmit = function busEmit(that, _ref3) {
693
693
  }
694
694
  return;
695
695
  }
696
+ console.log('busEmit', method, args);
697
+
696
698
  var _bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
697
699
  _bus && (Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args));
698
700
  }
package/lib/input.js CHANGED
@@ -693,6 +693,8 @@ var busEmit = function busEmit(that, _ref3) {
693
693
  }
694
694
  return;
695
695
  }
696
+ console.log('busEmit', method, args);
697
+
696
698
  var _bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
697
699
  _bus && (Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args));
698
700
  }
package/lib/login.js CHANGED
@@ -692,6 +692,8 @@ var busEmit = function busEmit(that, _ref3) {
692
692
  }
693
693
  return;
694
694
  }
695
+ console.log('busEmit', method, args);
696
+
695
697
  var _bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
696
698
  _bus && (Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args));
697
699
  }
@@ -4551,7 +4553,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4551
4553
  // ESM COMPAT FLAG
4552
4554
  __webpack_require__.r(__webpack_exports__);
4553
4555
 
4554
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=89269c7e&
4556
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=58cef266&
4555
4557
  var render = function () {
4556
4558
  var _vm = this
4557
4559
  var _h = _vm.$createElement
@@ -5845,7 +5847,7 @@ var staticRenderFns = [
5845
5847
  render._withStripped = true
5846
5848
 
5847
5849
 
5848
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=89269c7e&
5850
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=58cef266&
5849
5851
 
5850
5852
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5851
5853
  var regenerator_ = __webpack_require__(4);
@@ -7194,7 +7196,11 @@ var mainvue_type_script_lang_js_params = util["a" /* default */].getParams();
7194
7196
  },
7195
7197
  caModel: String,
7196
7198
  caInstallPath: String,
7197
- showKeySelect: Boolean
7199
+ showKeySelect: Boolean,
7200
+ alertCallback: {
7201
+ type: Function,
7202
+ default: function _default() {}
7203
+ }
7198
7204
  },
7199
7205
  computed: {
7200
7206
  transform: function transform() {
@@ -7906,8 +7912,12 @@ var mainvue_type_script_lang_js_params = util["a" /* default */].getParams();
7906
7912
  _this7.$alert(content, title, mainvue_type_script_lang_js_extends({
7907
7913
  dangerouslyUseHTMLString: isMarkdown,
7908
7914
  setHeight: isMarkdown,
7909
- showConfirmButton: false
7910
- }, config)).catch(function () {});
7915
+ customClass: 'es-login-alert'
7916
+ }, config)).then(function () {
7917
+ _this7.alertCallback(1, mainvue_type_script_lang_js_extends({ content: content, title: title }, config));
7918
+ }).catch(function () {
7919
+ _this7.alertCallback(0, mainvue_type_script_lang_js_extends({ content: content, title: title }, config));
7920
+ });
7911
7921
 
7912
7922
  case 9:
7913
7923
  case 'end':