eoss-ui 0.5.96 → 0.5.97

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.
@@ -44550,81 +44550,83 @@ login_src_main.install = function (Vue) {
44550
44550
  };
44551
44551
 
44552
44552
  /* harmony default export */ var login = (login_src_main);
44553
- // 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=f52b5d68&
44554
- var mainvue_type_template_id_f52b5d68_render = function () {
44553
+ // 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=c342434c&
44554
+ var mainvue_type_template_id_c342434c_render = function () {
44555
44555
  var _vm = this
44556
44556
  var _h = _vm.$createElement
44557
44557
  var _c = _vm._self._c || _h
44558
- return _c(
44559
- "div",
44560
- { staticClass: "es-main-box" },
44561
- [
44562
- _vm.type == "simplicity"
44563
- ? _c(
44564
- "simplicity",
44565
- _vm._g(
44566
- _vm._b(
44567
- { ref: "main", attrs: { appCode: _vm.appCode } },
44558
+ return _vm.isLogin
44559
+ ? _c(
44560
+ "div",
44561
+ { staticClass: "es-main-box" },
44562
+ [
44563
+ _vm.type == "simplicity"
44564
+ ? _c(
44568
44565
  "simplicity",
44569
- _vm.$attrs,
44566
+ _vm._g(
44567
+ _vm._b(
44568
+ { ref: "main", attrs: { appCode: _vm.appCode } },
44569
+ "simplicity",
44570
+ _vm.$attrs,
44571
+ false
44572
+ ),
44573
+ _vm.$listeners
44574
+ )
44575
+ )
44576
+ : _c(
44577
+ "main-default",
44578
+ _vm._g(
44579
+ _vm._b({ ref: "main" }, "main-default", _vm.$attrs, false),
44580
+ _vm.$listeners
44581
+ )
44582
+ ),
44583
+ _vm._l(_vm.dialogs, function (item, index) {
44584
+ return _c(
44585
+ "es-dialog",
44586
+ _vm._b(
44587
+ {
44588
+ key: item.id || item.name || index,
44589
+ attrs: { visible: _vm.visibles[index], size: "md" },
44590
+ on: {
44591
+ "update:visible": function ($event) {
44592
+ _vm.$set(_vm.visibles, index, $event)
44593
+ },
44594
+ closed: function ($event) {
44595
+ _vm.handleClosed(item, index)
44596
+ },
44597
+ },
44598
+ },
44599
+ "es-dialog",
44600
+ _vm.exclAttribute({
44601
+ data: item,
44602
+ attrs: ["visible", "url"],
44603
+ }),
44570
44604
  false
44571
44605
  ),
44572
- _vm.$listeners
44573
- )
44574
- )
44575
- : _c(
44576
- "main-default",
44577
- _vm._g(
44578
- _vm._b({ ref: "main" }, "main-default", _vm.$attrs, false),
44579
- _vm.$listeners
44606
+ [
44607
+ _vm.visibles[index]
44608
+ ? _c("iframe", {
44609
+ attrs: {
44610
+ width: "100%",
44611
+ height: "100%",
44612
+ frameborder: "0",
44613
+ src: item.url,
44614
+ },
44615
+ })
44616
+ : _vm._e(),
44617
+ ]
44580
44618
  )
44581
- ),
44582
- _vm._l(_vm.dialogs, function (item, index) {
44583
- return _c(
44584
- "es-dialog",
44585
- _vm._b(
44586
- {
44587
- key: item.id || item.name || index,
44588
- attrs: { visible: _vm.visibles[index], size: "md" },
44589
- on: {
44590
- "update:visible": function ($event) {
44591
- _vm.$set(_vm.visibles, index, $event)
44592
- },
44593
- closed: function ($event) {
44594
- _vm.handleClosed(item, index)
44595
- },
44596
- },
44597
- },
44598
- "es-dialog",
44599
- _vm.exclAttribute({
44600
- data: item,
44601
- attrs: ["visible", "url"],
44602
- }),
44603
- false
44604
- ),
44605
- [
44606
- _vm.visibles[index]
44607
- ? _c("iframe", {
44608
- attrs: {
44609
- width: "100%",
44610
- height: "100%",
44611
- frameborder: "0",
44612
- src: item.url,
44613
- },
44614
- })
44615
- : _vm._e(),
44616
- ]
44617
- )
44618
- }),
44619
- ],
44620
- 2
44621
- )
44619
+ }),
44620
+ ],
44621
+ 2
44622
+ )
44623
+ : _vm._e()
44622
44624
  }
44623
- var mainvue_type_template_id_f52b5d68_staticRenderFns = []
44624
- mainvue_type_template_id_f52b5d68_render._withStripped = true
44625
+ var mainvue_type_template_id_c342434c_staticRenderFns = []
44626
+ mainvue_type_template_id_c342434c_render._withStripped = true
44625
44627
 
44626
44628
 
44627
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=f52b5d68&
44629
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=c342434c&
44628
44630
 
44629
44631
  // 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=03f1f7f2&scoped=true&
44630
44632
  var simplicityvue_type_template_id_03f1f7f2_scoped_true_render = function () {
@@ -56047,7 +56049,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56047
56049
  appCode: '',
56048
56050
  params: {},
56049
56051
  dialogs: [],
56050
- visibles: []
56052
+ visibles: [],
56053
+ isLogin: false
56051
56054
  };
56052
56055
  },
56053
56056
  created: function created() {
@@ -56201,6 +56204,7 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56201
56204
  var _this3 = this;
56202
56205
 
56203
56206
  var token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
56207
+ this.isLogin = token ? true : false;
56204
56208
  if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
56205
56209
  return false;
56206
56210
  }
@@ -56282,8 +56286,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56282
56286
 
56283
56287
  var main_src_main_component = normalizeComponent(
56284
56288
  packages_main_src_mainvue_type_script_lang_js_,
56285
- mainvue_type_template_id_f52b5d68_render,
56286
- mainvue_type_template_id_f52b5d68_staticRenderFns,
56289
+ mainvue_type_template_id_c342434c_render,
56290
+ mainvue_type_template_id_c342434c_staticRenderFns,
56287
56291
  false,
56288
56292
  null,
56289
56293
  null,
@@ -76680,7 +76684,7 @@ if (typeof window !== 'undefined' && window.Vue) {
76680
76684
  }
76681
76685
 
76682
76686
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
76683
- version: '0.5.96',
76687
+ version: '0.5.97',
76684
76688
  install: install,
76685
76689
  Button: packages_button,
76686
76690
  ButtonGroup: button_group,