eoss-ui 0.5.81-beta13 → 0.5.81-beta14

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 (68) hide show
  1. package/lib/eoss-ui.common.js +31 -26
  2. package/lib/index.js +1 -1
  3. package/lib/main.js +25 -20
  4. package/package.json +1 -1
  5. package/packages/main/src/default/index.vue +3 -1
  6. package/packages/main/src/main.vue +2 -1
  7. package/packages/main/src/simplicity/index.vue +3 -1
  8. package/packages/theme-chalk/gulpfile.js +25 -0
  9. package/src/index.js +1 -1
  10. package/packages/theme-chalk/lib/base.css +0 -1
  11. package/packages/theme-chalk/lib/button-group.css +0 -1
  12. package/packages/theme-chalk/lib/button.css +0 -1
  13. package/packages/theme-chalk/lib/calendar.css +0 -1
  14. package/packages/theme-chalk/lib/card.css +0 -1
  15. package/packages/theme-chalk/lib/cascader.css +0 -0
  16. package/packages/theme-chalk/lib/checkbox-group.css +0 -1
  17. package/packages/theme-chalk/lib/clients.css +0 -1
  18. package/packages/theme-chalk/lib/data-table-form.css +0 -1
  19. package/packages/theme-chalk/lib/data-table.css +0 -1
  20. package/packages/theme-chalk/lib/date-picker.css +0 -1
  21. package/packages/theme-chalk/lib/dialog.css +0 -1
  22. package/packages/theme-chalk/lib/enterprise.css +0 -1
  23. package/packages/theme-chalk/lib/error-page.css +0 -1
  24. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  25. package/packages/theme-chalk/lib/flow-group.css +0 -1
  26. package/packages/theme-chalk/lib/flow-list.css +0 -1
  27. package/packages/theme-chalk/lib/flow.css +0 -1
  28. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  29. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  30. package/packages/theme-chalk/lib/form.css +0 -1
  31. package/packages/theme-chalk/lib/handle-user.css +0 -1
  32. package/packages/theme-chalk/lib/handler.css +0 -1
  33. package/packages/theme-chalk/lib/icon.css +0 -1
  34. package/packages/theme-chalk/lib/icons.css +0 -1
  35. package/packages/theme-chalk/lib/index.css +0 -1
  36. package/packages/theme-chalk/lib/input-number.css +0 -0
  37. package/packages/theme-chalk/lib/input.css +0 -1
  38. package/packages/theme-chalk/lib/label.css +0 -1
  39. package/packages/theme-chalk/lib/layout.css +0 -1
  40. package/packages/theme-chalk/lib/login.css +0 -1
  41. package/packages/theme-chalk/lib/main.css +0 -1
  42. package/packages/theme-chalk/lib/menu.css +0 -1
  43. package/packages/theme-chalk/lib/nav.css +0 -1
  44. package/packages/theme-chalk/lib/notify.css +0 -0
  45. package/packages/theme-chalk/lib/page.css +0 -1
  46. package/packages/theme-chalk/lib/pagination.css +0 -1
  47. package/packages/theme-chalk/lib/player.css +0 -1
  48. package/packages/theme-chalk/lib/qr-code.css +0 -1
  49. package/packages/theme-chalk/lib/radio-group.css +0 -1
  50. package/packages/theme-chalk/lib/retrial-auth.css +0 -1
  51. package/packages/theme-chalk/lib/select-ganged.css +0 -1
  52. package/packages/theme-chalk/lib/select.css +0 -1
  53. package/packages/theme-chalk/lib/selector-panel.css +0 -1
  54. package/packages/theme-chalk/lib/selector.css +0 -1
  55. package/packages/theme-chalk/lib/simplicity.css +0 -1
  56. package/packages/theme-chalk/lib/sizer.css +0 -1
  57. package/packages/theme-chalk/lib/steps.css +0 -1
  58. package/packages/theme-chalk/lib/switch.css +0 -1
  59. package/packages/theme-chalk/lib/table-form.css +0 -0
  60. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  61. package/packages/theme-chalk/lib/tabs.css +0 -1
  62. package/packages/theme-chalk/lib/tips.css +0 -1
  63. package/packages/theme-chalk/lib/toolbar.css +0 -1
  64. package/packages/theme-chalk/lib/tree-group.css +0 -1
  65. package/packages/theme-chalk/lib/tree.css +0 -1
  66. package/packages/theme-chalk/lib/upload.css +0 -1
  67. package/packages/theme-chalk/lib/wujie.css +0 -0
  68. package/packages/theme-chalk/lib/wxlogin.css +0 -1
@@ -51024,8 +51024,8 @@ login_src_main.install = function (Vue) {
51024
51024
  };
51025
51025
 
51026
51026
  /* harmony default export */ var login = (login_src_main);
51027
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
51028
- var mainvue_type_template_id_6aa3a502_render = function () {
51027
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=2a102c10&
51028
+ var mainvue_type_template_id_2a102c10_render = function () {
51029
51029
  var _vm = this
51030
51030
  var _h = _vm.$createElement
51031
51031
  var _c = _vm._self._c || _h
@@ -51057,14 +51057,14 @@ var mainvue_type_template_id_6aa3a502_render = function () {
51057
51057
  1
51058
51058
  )
51059
51059
  }
51060
- var mainvue_type_template_id_6aa3a502_staticRenderFns = []
51061
- mainvue_type_template_id_6aa3a502_render._withStripped = true
51060
+ var mainvue_type_template_id_2a102c10_staticRenderFns = []
51061
+ mainvue_type_template_id_2a102c10_render._withStripped = true
51062
51062
 
51063
51063
 
51064
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
51064
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=2a102c10&
51065
51065
 
51066
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=1e45fa38&scoped=true&
51067
- var simplicityvue_type_template_id_1e45fa38_scoped_true_render = function () {
51066
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=0c73c422&scoped=true&
51067
+ var simplicityvue_type_template_id_0c73c422_scoped_true_render = function () {
51068
51068
  var _vm = this
51069
51069
  var _h = _vm.$createElement
51070
51070
  var _c = _vm._self._c || _h
@@ -51673,11 +51673,11 @@ var simplicityvue_type_template_id_1e45fa38_scoped_true_render = function () {
51673
51673
  ),
51674
51674
  ])
51675
51675
  }
51676
- var simplicityvue_type_template_id_1e45fa38_scoped_true_staticRenderFns = []
51677
- simplicityvue_type_template_id_1e45fa38_scoped_true_render._withStripped = true
51676
+ var simplicityvue_type_template_id_0c73c422_scoped_true_staticRenderFns = []
51677
+ simplicityvue_type_template_id_0c73c422_scoped_true_render._withStripped = true
51678
51678
 
51679
51679
 
51680
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=1e45fa38&scoped=true&
51680
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=0c73c422&scoped=true&
51681
51681
 
51682
51682
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=1560e8bf&scoped=true&
51683
51683
  var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
@@ -56166,7 +56166,9 @@ var events = [function (tabs, index, that) {
56166
56166
  var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
56167
56167
  if (mainConfig) {
56168
56168
  var results = JSON.parse(mainConfig);
56169
- this.init(results);
56169
+ if (Object.keys(results).length) {
56170
+ this.init(results);
56171
+ }
56170
56172
  }
56171
56173
  this.doorIndex = sessionStorage.getItem('doorIndex');
56172
56174
  },
@@ -57299,18 +57301,18 @@ var events = [function (tabs, index, that) {
57299
57301
 
57300
57302
  var simplicity_component = normalizeComponent(
57301
57303
  src_simplicityvue_type_script_lang_js_,
57302
- simplicityvue_type_template_id_1e45fa38_scoped_true_render,
57303
- simplicityvue_type_template_id_1e45fa38_scoped_true_staticRenderFns,
57304
+ simplicityvue_type_template_id_0c73c422_scoped_true_render,
57305
+ simplicityvue_type_template_id_0c73c422_scoped_true_staticRenderFns,
57304
57306
  false,
57305
57307
  null,
57306
- "1e45fa38",
57308
+ "0c73c422",
57307
57309
  null
57308
57310
 
57309
57311
  )
57310
57312
 
57311
57313
  /* harmony default export */ var simplicity = (simplicity_component.exports);
57312
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=491b8224&
57313
- var defaultvue_type_template_id_491b8224_render = function () {
57314
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=07b2b3d0&
57315
+ var defaultvue_type_template_id_07b2b3d0_render = function () {
57314
57316
  var _vm = this
57315
57317
  var _h = _vm.$createElement
57316
57318
  var _c = _vm._self._c || _h
@@ -57693,11 +57695,11 @@ var defaultvue_type_template_id_491b8224_render = function () {
57693
57695
  1
57694
57696
  )
57695
57697
  }
57696
- var defaultvue_type_template_id_491b8224_staticRenderFns = []
57697
- defaultvue_type_template_id_491b8224_render._withStripped = true
57698
+ var defaultvue_type_template_id_07b2b3d0_staticRenderFns = []
57699
+ defaultvue_type_template_id_07b2b3d0_render._withStripped = true
57698
57700
 
57699
57701
 
57700
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=491b8224&
57702
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=07b2b3d0&
57701
57703
 
57702
57704
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=bd3da0e0&
57703
57705
  var userinfovue_type_template_id_bd3da0e0_render = function () {
@@ -60047,7 +60049,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
60047
60049
  var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
60048
60050
  if (mainConfig) {
60049
60051
  var results = JSON.parse(mainConfig);
60050
- this.init(results);
60052
+ if (Object.keys(results).length) {
60053
+ this.init(results);
60054
+ }
60051
60055
  }
60052
60056
  },
60053
60057
  mounted: function mounted() {
@@ -61425,8 +61429,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
61425
61429
 
61426
61430
  var default_component = normalizeComponent(
61427
61431
  src_defaultvue_type_script_lang_js_,
61428
- defaultvue_type_template_id_491b8224_render,
61429
- defaultvue_type_template_id_491b8224_staticRenderFns,
61432
+ defaultvue_type_template_id_07b2b3d0_render,
61433
+ defaultvue_type_template_id_07b2b3d0_staticRenderFns,
61430
61434
  false,
61431
61435
  null,
61432
61436
  null,
@@ -61501,7 +61505,8 @@ var default_component = normalizeComponent(
61501
61505
  if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
61502
61506
  return false;
61503
61507
  }
61504
- if (!utils_util["a" /* default */].getStorage('mainConfig')) {
61508
+ var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
61509
+ if (!mainConfig || mainConfig == '{}') {
61505
61510
  utils_util["a" /* default */].getMainConfig(function (res) {
61506
61511
  _this.$refs.main.init(res);
61507
61512
  });
@@ -61522,8 +61527,8 @@ var default_component = normalizeComponent(
61522
61527
 
61523
61528
  var main_src_main_component = normalizeComponent(
61524
61529
  packages_main_src_mainvue_type_script_lang_js_,
61525
- mainvue_type_template_id_6aa3a502_render,
61526
- mainvue_type_template_id_6aa3a502_staticRenderFns,
61530
+ mainvue_type_template_id_2a102c10_render,
61531
+ mainvue_type_template_id_2a102c10_staticRenderFns,
61527
61532
  false,
61528
61533
  null,
61529
61534
  null,
@@ -81774,7 +81779,7 @@ if (typeof window !== 'undefined' && window.Vue) {
81774
81779
  }
81775
81780
 
81776
81781
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
81777
- version: '0.5.81-beta13',
81782
+ version: '0.5.81-beta14',
81778
81783
  install: install,
81779
81784
  Button: packages_button,
81780
81785
  ButtonGroup: button_group,