eoss-ui 0.5.99 → 0.6.0
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 +32 -23
- package/lib/index.js +1 -1
- package/lib/main.js +31 -22
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/package.json +2 -2
- package/packages/.DS_Store +0 -0
- package/packages/handler/.DS_Store +0 -0
- package/packages/login/.DS_Store +0 -0
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +1 -1
- package/packages/main/src/simplicity/index.vue +17 -4
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/login.scss +6 -0
- package/src/index.js +1 -1
package/lib/main.js
CHANGED
|
@@ -4086,8 +4086,8 @@ render._withStripped = true
|
|
|
4086
4086
|
// EXTERNAL MODULE: ./src/config/image.js
|
|
4087
4087
|
var config_image = __webpack_require__(18);
|
|
4088
4088
|
|
|
4089
|
-
// 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=
|
|
4090
|
-
var
|
|
4089
|
+
// 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=2c8bf964&scoped=true&
|
|
4090
|
+
var simplicityvue_type_template_id_2c8bf964_scoped_true_render = function () {
|
|
4091
4091
|
var _vm = this
|
|
4092
4092
|
var _h = _vm.$createElement
|
|
4093
4093
|
var _c = _vm._self._c || _h
|
|
@@ -4717,11 +4717,11 @@ var simplicityvue_type_template_id_e9f89944_scoped_true_render = function () {
|
|
|
4717
4717
|
),
|
|
4718
4718
|
])
|
|
4719
4719
|
}
|
|
4720
|
-
var
|
|
4721
|
-
|
|
4720
|
+
var simplicityvue_type_template_id_2c8bf964_scoped_true_staticRenderFns = []
|
|
4721
|
+
simplicityvue_type_template_id_2c8bf964_scoped_true_render._withStripped = true
|
|
4722
4722
|
|
|
4723
4723
|
|
|
4724
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
4724
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=2c8bf964&scoped=true&
|
|
4725
4725
|
|
|
4726
4726
|
// 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&
|
|
4727
4727
|
var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
|
|
@@ -10590,18 +10590,22 @@ var events = [function (tabs, index, that) {
|
|
|
10590
10590
|
}
|
|
10591
10591
|
var pathname = url.substring(url.indexOf('#/') + 1);
|
|
10592
10592
|
pathname = pathname.split('?')[0];
|
|
10593
|
+
var _code = void 0;
|
|
10593
10594
|
if (res.path !== '/' && pathname == _path) {
|
|
10594
10595
|
if (res.components) {
|
|
10595
|
-
if (!res.components[
|
|
10596
|
-
console.error('
|
|
10596
|
+
if (!res.components[_code]) {
|
|
10597
|
+
console.error('路由“命名视图”规范属性名称与菜单appCode不一致', res, _code);
|
|
10598
|
+
_code = Object.keys(res.components).filter(function (item) {
|
|
10599
|
+
return item !== 'default';
|
|
10600
|
+
})[0];
|
|
10597
10601
|
}
|
|
10598
10602
|
} else {
|
|
10599
|
-
console.error('
|
|
10603
|
+
console.error('请根据路由“命名视图”规范,正确添加components属性名称', res);
|
|
10600
10604
|
}
|
|
10601
|
-
return pathname;
|
|
10605
|
+
return _code ? { path: pathname, appCode: _code } : pathname;
|
|
10602
10606
|
}
|
|
10603
10607
|
if (res && Object.prototype.hasOwnProperty.call(res, 'children')) {
|
|
10604
|
-
var _path2 = this.hasRouter(res.children, url,
|
|
10608
|
+
var _path2 = this.hasRouter(res.children, url, _code);
|
|
10605
10609
|
if (_path2) {
|
|
10606
10610
|
return _path2;
|
|
10607
10611
|
}
|
|
@@ -10941,7 +10945,12 @@ var events = [function (tabs, index, that) {
|
|
|
10941
10945
|
var path = this.hasRouter(routes, urls[0], res.appCode);
|
|
10942
10946
|
if (path && this.routeType !== 'wujie') {
|
|
10943
10947
|
res.method = 'router';
|
|
10944
|
-
|
|
10948
|
+
if (typeof path === 'string') {
|
|
10949
|
+
res.path = path;
|
|
10950
|
+
} else {
|
|
10951
|
+
res.path = path.path;
|
|
10952
|
+
res.appCode = path.appCode;
|
|
10953
|
+
}
|
|
10945
10954
|
res.keys = util["a" /* default */].uuid();
|
|
10946
10955
|
} else {
|
|
10947
10956
|
var urlopenmode = util["a" /* default */].getParams({
|
|
@@ -11739,18 +11748,18 @@ var events = [function (tabs, index, that) {
|
|
|
11739
11748
|
|
|
11740
11749
|
var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
11741
11750
|
src_simplicityvue_type_script_lang_js_,
|
|
11742
|
-
|
|
11743
|
-
|
|
11751
|
+
simplicityvue_type_template_id_2c8bf964_scoped_true_render,
|
|
11752
|
+
simplicityvue_type_template_id_2c8bf964_scoped_true_staticRenderFns,
|
|
11744
11753
|
false,
|
|
11745
11754
|
null,
|
|
11746
|
-
"
|
|
11755
|
+
"2c8bf964",
|
|
11747
11756
|
null
|
|
11748
11757
|
|
|
11749
11758
|
)
|
|
11750
11759
|
|
|
11751
11760
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
11752
|
-
// 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=
|
|
11753
|
-
var
|
|
11761
|
+
// 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=215ab02a&
|
|
11762
|
+
var defaultvue_type_template_id_215ab02a_render = function () {
|
|
11754
11763
|
var _vm = this
|
|
11755
11764
|
var _h = _vm.$createElement
|
|
11756
11765
|
var _c = _vm._self._c || _h
|
|
@@ -12138,11 +12147,11 @@ var defaultvue_type_template_id_48dad2d4_render = function () {
|
|
|
12138
12147
|
1
|
|
12139
12148
|
)
|
|
12140
12149
|
}
|
|
12141
|
-
var
|
|
12142
|
-
|
|
12150
|
+
var defaultvue_type_template_id_215ab02a_staticRenderFns = []
|
|
12151
|
+
defaultvue_type_template_id_215ab02a_render._withStripped = true
|
|
12143
12152
|
|
|
12144
12153
|
|
|
12145
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
12154
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=215ab02a&
|
|
12146
12155
|
|
|
12147
12156
|
// 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=d207c2e8&
|
|
12148
12157
|
var userinfovue_type_template_id_d207c2e8_render = function () {
|
|
@@ -13813,7 +13822,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
13813
13822
|
set: !this.showSet,
|
|
13814
13823
|
index: this.doorIndex ? false : true,
|
|
13815
13824
|
system: true,
|
|
13816
|
-
home: this.homePage ? false :
|
|
13825
|
+
home: this.homePage ? false : true
|
|
13817
13826
|
};
|
|
13818
13827
|
|
|
13819
13828
|
if (this.layout === 'subsystem' || this.application) {
|
|
@@ -15328,8 +15337,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15328
15337
|
|
|
15329
15338
|
var default_component = Object(componentNormalizer["a" /* default */])(
|
|
15330
15339
|
src_defaultvue_type_script_lang_js_,
|
|
15331
|
-
|
|
15332
|
-
|
|
15340
|
+
defaultvue_type_template_id_215ab02a_render,
|
|
15341
|
+
defaultvue_type_template_id_215ab02a_staticRenderFns,
|
|
15333
15342
|
false,
|
|
15334
15343
|
null,
|
|
15335
15344
|
null,
|