eoss-ui 0.6.33 → 0.6.34
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.
- package/lib/eoss-ui.common.js +39 -27
- package/lib/index.js +1 -1
- package/lib/main.js +33 -21
- package/package.json +2 -2
- package/packages/main/src/default/index.vue +1 -1
- package/packages/main/src/main.vue +2 -2
- package/packages/main/src/simplicity/index.vue +21 -5
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -45275,8 +45275,8 @@ login_src_main.install = function (Vue) {
|
|
|
45275
45275
|
};
|
|
45276
45276
|
|
|
45277
45277
|
/* harmony default export */ var login = (login_src_main);
|
|
45278
|
-
// 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=
|
|
45279
|
-
var
|
|
45278
|
+
// 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=774e8f3b&
|
|
45279
|
+
var mainvue_type_template_id_774e8f3b_render = function () {
|
|
45280
45280
|
var _vm = this
|
|
45281
45281
|
var _h = _vm.$createElement
|
|
45282
45282
|
var _c = _vm._self._c || _h
|
|
@@ -45369,14 +45369,14 @@ var mainvue_type_template_id_43324a71_render = function () {
|
|
|
45369
45369
|
)
|
|
45370
45370
|
: _vm._e()
|
|
45371
45371
|
}
|
|
45372
|
-
var
|
|
45373
|
-
|
|
45372
|
+
var mainvue_type_template_id_774e8f3b_staticRenderFns = []
|
|
45373
|
+
mainvue_type_template_id_774e8f3b_render._withStripped = true
|
|
45374
45374
|
|
|
45375
45375
|
|
|
45376
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
45376
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=774e8f3b&
|
|
45377
45377
|
|
|
45378
|
-
// 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=
|
|
45379
|
-
var
|
|
45378
|
+
// 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=00d9126a&scoped=true&
|
|
45379
|
+
var simplicityvue_type_template_id_00d9126a_scoped_true_render = function () {
|
|
45380
45380
|
var _vm = this
|
|
45381
45381
|
var _h = _vm.$createElement
|
|
45382
45382
|
var _c = _vm._self._c || _h
|
|
@@ -46012,11 +46012,11 @@ var simplicityvue_type_template_id_9473ec14_scoped_true_render = function () {
|
|
|
46012
46012
|
),
|
|
46013
46013
|
])
|
|
46014
46014
|
}
|
|
46015
|
-
var
|
|
46016
|
-
|
|
46015
|
+
var simplicityvue_type_template_id_00d9126a_scoped_true_staticRenderFns = []
|
|
46016
|
+
simplicityvue_type_template_id_00d9126a_scoped_true_render._withStripped = true
|
|
46017
46017
|
|
|
46018
46018
|
|
|
46019
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
46019
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=00d9126a&scoped=true&
|
|
46020
46020
|
|
|
46021
46021
|
// 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=e722b45c&scoped=true&
|
|
46022
46022
|
var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
|
|
@@ -51267,6 +51267,8 @@ var search_component = normalizeComponent(
|
|
|
51267
51267
|
|
|
51268
51268
|
/* harmony default export */ var public_search = (search_component.exports);
|
|
51269
51269
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=script&lang=js&
|
|
51270
|
+
var simplicityvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
51271
|
+
|
|
51270
51272
|
var simplicityvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
51271
51273
|
|
|
51272
51274
|
//
|
|
@@ -52398,7 +52400,7 @@ var events = [function (tabs, index, that) {
|
|
|
52398
52400
|
if (item[key] === res) {
|
|
52399
52401
|
return item;
|
|
52400
52402
|
}
|
|
52401
|
-
} else if (item.url === res || item.id === res) {
|
|
52403
|
+
} else if (item.url === res || item.id === res || item.appCode && item.appCode === res) {
|
|
52402
52404
|
return item;
|
|
52403
52405
|
}
|
|
52404
52406
|
if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
|
|
@@ -53097,8 +53099,12 @@ var events = [function (tabs, index, that) {
|
|
|
53097
53099
|
},
|
|
53098
53100
|
jumpMenu: function jumpMenu(res, close) {
|
|
53099
53101
|
var apps = res;
|
|
53102
|
+
var param = null;
|
|
53100
53103
|
if (typeof res === 'string') {
|
|
53101
53104
|
apps = res.split(',');
|
|
53105
|
+
} else if ((typeof res === 'undefined' ? 'undefined' : simplicityvue_type_script_lang_js_typeof(res)) === 'object') {
|
|
53106
|
+
apps = res.appCode.split(',');
|
|
53107
|
+
param = res.param;
|
|
53102
53108
|
}
|
|
53103
53109
|
var obj = this.getMenu(this.menus, apps[apps.length - 1]);
|
|
53104
53110
|
if (obj) {
|
|
@@ -53108,16 +53114,22 @@ var events = [function (tabs, index, that) {
|
|
|
53108
53114
|
this.activeName = obj.id;
|
|
53109
53115
|
if (i == -1) {
|
|
53110
53116
|
var tab = this.setIframeType(obj);
|
|
53117
|
+
this.$set(tab, 'url', utils_util["a" /* default */].handlerUrl(tab.url, param));
|
|
53111
53118
|
this.tabs.splice(n + 1, 0, tab);
|
|
53112
53119
|
} else {
|
|
53113
53120
|
var _tab7 = this.tabs[i];
|
|
53114
53121
|
if (_tab7.method === 'iframe') {
|
|
53115
|
-
this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url));
|
|
53122
|
+
this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url, param));
|
|
53116
53123
|
}
|
|
53117
53124
|
if (_tab7.method === 'wujie' && _tab7.appCode) {
|
|
53118
|
-
|
|
53125
|
+
if (param) {
|
|
53126
|
+
window.document.querySelector('iframe[name=' + _tab7.appCode + ']').contentWindow.location.href = utils_util["a" /* default */].handlerUrl(_tab7.url, param);
|
|
53127
|
+
} else {
|
|
53128
|
+
window.document.querySelector('iframe[name=' + _tab7.appCode + ']').contentWindow.location.reload(true);
|
|
53129
|
+
}
|
|
53119
53130
|
}
|
|
53120
53131
|
if (_tab7.method === 'router') {
|
|
53132
|
+
this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url, param));
|
|
53121
53133
|
this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
|
|
53122
53134
|
}
|
|
53123
53135
|
}
|
|
@@ -53178,18 +53190,18 @@ var events = [function (tabs, index, that) {
|
|
|
53178
53190
|
|
|
53179
53191
|
var simplicity_component = normalizeComponent(
|
|
53180
53192
|
src_simplicityvue_type_script_lang_js_,
|
|
53181
|
-
|
|
53182
|
-
|
|
53193
|
+
simplicityvue_type_template_id_00d9126a_scoped_true_render,
|
|
53194
|
+
simplicityvue_type_template_id_00d9126a_scoped_true_staticRenderFns,
|
|
53183
53195
|
false,
|
|
53184
53196
|
null,
|
|
53185
|
-
"
|
|
53197
|
+
"00d9126a",
|
|
53186
53198
|
null
|
|
53187
53199
|
|
|
53188
53200
|
)
|
|
53189
53201
|
|
|
53190
53202
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
53191
|
-
// 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=
|
|
53192
|
-
var
|
|
53203
|
+
// 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=3e631434&
|
|
53204
|
+
var defaultvue_type_template_id_3e631434_render = function () {
|
|
53193
53205
|
var _vm = this
|
|
53194
53206
|
var _h = _vm.$createElement
|
|
53195
53207
|
var _c = _vm._self._c || _h
|
|
@@ -53586,11 +53598,11 @@ var defaultvue_type_template_id_0e385525_render = function () {
|
|
|
53586
53598
|
1
|
|
53587
53599
|
)
|
|
53588
53600
|
}
|
|
53589
|
-
var
|
|
53590
|
-
|
|
53601
|
+
var defaultvue_type_template_id_3e631434_staticRenderFns = []
|
|
53602
|
+
defaultvue_type_template_id_3e631434_render._withStripped = true
|
|
53591
53603
|
|
|
53592
53604
|
|
|
53593
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
53605
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=3e631434&
|
|
53594
53606
|
|
|
53595
53607
|
// 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=b6520920&
|
|
53596
53608
|
var userinfovue_type_template_id_b6520920_render = function () {
|
|
@@ -55830,7 +55842,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
55830
55842
|
}
|
|
55831
55843
|
for (var i = 0; i < menus.length; i++) {
|
|
55832
55844
|
var item = menus[i];
|
|
55833
|
-
if (item.id === url) {
|
|
55845
|
+
if (item.id === url || item.appCode && item.appCode === url) {
|
|
55834
55846
|
if (item.url) {
|
|
55835
55847
|
if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
|
|
55836
55848
|
var id = this.getId(item.children, item.url);
|
|
@@ -56819,8 +56831,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
56819
56831
|
|
|
56820
56832
|
var default_component = normalizeComponent(
|
|
56821
56833
|
src_defaultvue_type_script_lang_js_,
|
|
56822
|
-
|
|
56823
|
-
|
|
56834
|
+
defaultvue_type_template_id_3e631434_render,
|
|
56835
|
+
defaultvue_type_template_id_3e631434_staticRenderFns,
|
|
56824
56836
|
false,
|
|
56825
56837
|
null,
|
|
56826
56838
|
null,
|
|
@@ -57240,8 +57252,8 @@ var default_component = normalizeComponent(
|
|
|
57240
57252
|
|
|
57241
57253
|
var main_src_main_component = normalizeComponent(
|
|
57242
57254
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
57243
|
-
|
|
57244
|
-
|
|
57255
|
+
mainvue_type_template_id_774e8f3b_render,
|
|
57256
|
+
mainvue_type_template_id_774e8f3b_staticRenderFns,
|
|
57245
57257
|
false,
|
|
57246
57258
|
null,
|
|
57247
57259
|
null,
|
|
@@ -77651,7 +77663,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
77651
77663
|
}
|
|
77652
77664
|
|
|
77653
77665
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
77654
|
-
version: '0.6.
|
|
77666
|
+
version: '0.6.34',
|
|
77655
77667
|
install: install,
|
|
77656
77668
|
Button: packages_button,
|
|
77657
77669
|
ButtonGroup: button_group,
|