@yelon/bis 18.1.3 → 18.1.4
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/esm2022/layout/layout-basic.component.mjs +3 -3
- package/esm2022/layout/layout-nav-application.component.mjs +3 -3
- package/esm2022/layout/layout-nav-group.component.mjs +3 -3
- package/esm2022/layout/layout-nav-tile.component.mjs +3 -3
- package/esm2022/layout/layout.module.mjs +4 -4
- package/esm2022/public_api.mjs +2 -1
- package/esm2022/src/bis.module.mjs +4 -4
- package/esm2022/src/startup.service.mjs +3 -3
- package/esm2022/src/website/layout-website-01.component.mjs +6 -7
- package/esm2022/src/website/layout-website-02.component.mjs +204 -0
- package/esm2022/src/yunzai-act.guard.mjs +3 -3
- package/esm2022/src/yunzai-analysis-addon.guard.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-clear-storage.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-fullscreen.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-i18n.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-notify.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-user.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-widget.module.mjs +4 -4
- package/fesm2022/bis.mjs +209 -20
- package/fesm2022/bis.mjs.map +1 -1
- package/fesm2022/layout.mjs +16 -16
- package/fesm2022/yunzai-widgets.mjs +19 -19
- package/index.less +1 -0
- package/layout/style/layout-website-02.less +83 -0
- package/package.json +11 -11
- package/public_api.d.ts +1 -0
- package/src/website/layout-website-02.component.d.ts +29 -0
- package/theme-default.less +17 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.yz-layout-website-02 {
|
|
2
|
+
min-height: 100%;
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
&-inner-content {
|
|
6
|
+
max-width: @yz-layout-website-02-inner-content-max-width;
|
|
7
|
+
height: 100%;
|
|
8
|
+
padding: @yz-layout-website-02-inner-content-padding;
|
|
9
|
+
margin: 0 auto;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&-nav {
|
|
16
|
+
position: relative;
|
|
17
|
+
background: @yz-layout-website-02-nav-background;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
height: @yz-layout-website-02-nav-height;
|
|
20
|
+
|
|
21
|
+
&__logo {
|
|
22
|
+
max-height: @yz-layout-website-02-nav-logo-max-height;
|
|
23
|
+
max-width: @yz-layout-website-02-nav-logo-max-width;
|
|
24
|
+
|
|
25
|
+
&__full {
|
|
26
|
+
color: @yz-layout-website-02-nav-logo-full-color;
|
|
27
|
+
font-size: @yz-layout-website-02-nav-logo-full-font-size;
|
|
28
|
+
font-weight: @yz-layout-website-02-nav-logo-full-font-weight;
|
|
29
|
+
line-height: @yz-layout-website-02-nav-logo-full-line-height;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-right {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-link {
|
|
40
|
+
color: @yz-layout-website-02-link-color !important;
|
|
41
|
+
font-size: @yz-layout-website-02-link-font-size;
|
|
42
|
+
margin-left: @yz-layout-website-02-link-margin-left;
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
|
|
46
|
+
b {
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
display: inline-block;
|
|
51
|
+
max-width: @yz-layout-website-02-link-username-max-width;
|
|
52
|
+
margin: 0 8px;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
span {
|
|
57
|
+
margin-right: 8px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
color: @yz-layout-website-02-link-hover-color !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&[disabled] {
|
|
65
|
+
cursor: auto;
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
color: @yz-layout-website-02-link-color !important;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&__li {
|
|
73
|
+
text-align: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media screen and (max-width: 768px) {
|
|
80
|
+
.yz-layout-website-02-nav__slogan {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
83
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yelon/bis",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.4",
|
|
4
4
|
"author": "devcui<devcui@outlook.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"ng-zorro-antd": "^18.1.1",
|
|
25
|
-
"@yelon/acl": "^18.1.
|
|
26
|
-
"@yelon/auth": "^18.1.
|
|
27
|
-
"@yelon/theme": "^18.1.
|
|
28
|
-
"@yelon/mock": "^18.1.
|
|
29
|
-
"@yelon/cache": "^18.1.
|
|
30
|
-
"@yelon/chart": "^18.1.
|
|
31
|
-
"@yelon/form": "^18.1.
|
|
32
|
-
"@yelon/testing": "^18.1.
|
|
33
|
-
"@yelon/util": "^18.1.
|
|
34
|
-
"@yelon/bcs": "^18.1.
|
|
25
|
+
"@yelon/acl": "^18.1.4",
|
|
26
|
+
"@yelon/auth": "^18.1.4",
|
|
27
|
+
"@yelon/theme": "^18.1.4",
|
|
28
|
+
"@yelon/mock": "^18.1.4",
|
|
29
|
+
"@yelon/cache": "^18.1.4",
|
|
30
|
+
"@yelon/chart": "^18.1.4",
|
|
31
|
+
"@yelon/form": "^18.1.4",
|
|
32
|
+
"@yelon/testing": "^18.1.4",
|
|
33
|
+
"@yelon/util": "^18.1.4",
|
|
34
|
+
"@yelon/bcs": "^18.1.4",
|
|
35
35
|
"tslib": "^2.3.0"
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/bis.mjs",
|
package/public_api.d.ts
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { YunzaiProfile } from '@yelon/util';
|
|
3
|
+
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class YunzaiLayoutWebsite02Component {
|
|
6
|
+
logoSrc?: string | NzSafeAny;
|
|
7
|
+
logoAlt?: string;
|
|
8
|
+
userMenuShow?: boolean;
|
|
9
|
+
slogan?: TemplateRef<void> | NzSafeAny;
|
|
10
|
+
contentTpl?: TemplateRef<void> | NzSafeAny;
|
|
11
|
+
private readonly tokenService;
|
|
12
|
+
private readonly configService;
|
|
13
|
+
private readonly startupSrv;
|
|
14
|
+
private readonly win;
|
|
15
|
+
get _logoSrc(): string | NzSafeAny;
|
|
16
|
+
get _logoAlt(): string;
|
|
17
|
+
get _userMenuShow(): boolean;
|
|
18
|
+
get _slogan(): TemplateRef<void> | NzSafeAny;
|
|
19
|
+
get _contentTpl(): TemplateRef<void> | NzSafeAny;
|
|
20
|
+
get _username(): string;
|
|
21
|
+
get _avatar(): string | undefined;
|
|
22
|
+
get isLogin(): boolean;
|
|
23
|
+
get _links(): YunzaiProfile[];
|
|
24
|
+
login(): void;
|
|
25
|
+
logout(): void;
|
|
26
|
+
to(url?: string): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutWebsite02Component, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutWebsite02Component, "yunzai-layout-website-02", never, { "logoSrc": { "alias": "logoSrc"; "required": false; }; "logoAlt": { "alias": "logoAlt"; "required": false; }; "userMenuShow": { "alias": "userMenuShow"; "required": false; }; "slogan": { "alias": "slogan"; "required": false; }; "contentTpl": { "alias": "contentTpl"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
package/theme-default.less
CHANGED
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
@yz-application-list-item-li-hover-color: #fff;
|
|
48
48
|
@yz-application-list-item-li-hover-bgColor: @yz-application-list-ul-a-hover-bgColor;
|
|
49
49
|
// website layout
|
|
50
|
+
// layout-website-01
|
|
50
51
|
@yz-layout-website-01-linear-bg: #94080b;
|
|
51
52
|
@yz-layout-website-01-linear-bg-percent: 3%;
|
|
52
53
|
@yz-layout-website-01-linear-min-height: 1000px;
|
|
@@ -65,3 +66,19 @@
|
|
|
65
66
|
@yz-layout-website-01-nav-slogan-font-size: 44px;
|
|
66
67
|
@yz-layout-website-01-nav-slogan-font-weight: 600;
|
|
67
68
|
@yz-layout-website-01-nav-slogan-margin-right: 50px;
|
|
69
|
+
// layout-website-02
|
|
70
|
+
@yz-layout-website-02-inner-content-max-width: 1500px;
|
|
71
|
+
@yz-layout-website-02-inner-content-padding: 0 20px;
|
|
72
|
+
@yz-layout-website-02-nav-background: #891616;
|
|
73
|
+
@yz-layout-website-02-nav-height: 90px;
|
|
74
|
+
@yz-layout-website-02-nav-logo-max-height: 60px;
|
|
75
|
+
@yz-layout-website-02-nav-logo-max-width: 50%;
|
|
76
|
+
@yz-layout-website-02-nav-logo-full-color: #fff;
|
|
77
|
+
@yz-layout-website-02-nav-logo-full-font-size: 40px;
|
|
78
|
+
@yz-layout-website-02-nav-logo-full-font-weight: 600;
|
|
79
|
+
@yz-layout-website-02-nav-logo-full-line-height: 40px;
|
|
80
|
+
@yz-layout-website-02-link-color: #fff;
|
|
81
|
+
@yz-layout-website-02-link-font-size: 14px;
|
|
82
|
+
@yz-layout-website-02-link-margin-left: 20px;
|
|
83
|
+
@yz-layout-website-02-link-username-max-width: 150px;
|
|
84
|
+
@yz-layout-website-02-link-hover-color: #d98910;
|