@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.
@@ -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",
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.3",
26
- "@yelon/auth": "^18.1.3",
27
- "@yelon/theme": "^18.1.3",
28
- "@yelon/mock": "^18.1.3",
29
- "@yelon/cache": "^18.1.3",
30
- "@yelon/chart": "^18.1.3",
31
- "@yelon/form": "^18.1.3",
32
- "@yelon/testing": "^18.1.3",
33
- "@yelon/util": "^18.1.3",
34
- "@yelon/bcs": "^18.1.3",
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
@@ -7,3 +7,4 @@ export * from './src/startup.service';
7
7
  export * from './src/yunzai-analysis-addon.guard';
8
8
  export * from './src/yunzai-act.guard';
9
9
  export * from './src/website/layout-website-01.component';
10
+ export * from './src/website/layout-website-02.component';
@@ -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
+ }
@@ -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;