@yelon/bis 15.2.0 → 15.2.1
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/LICENSE +21 -21
- package/README.md +23 -23
- package/esm2020/bis.mjs +4 -4
- package/esm2020/index.mjs +1 -1
- package/esm2020/layout/bis.config.mjs +10 -10
- package/esm2020/layout/html-names.mjs +32 -32
- package/esm2020/layout/icon/style-icons.mjs +795 -795
- package/esm2020/layout/layout-basic/index.mjs +2 -2
- package/esm2020/layout/layout-basic/interface.mjs +6 -6
- package/esm2020/layout/layout-basic/layout-basic.component.mjs +355 -355
- package/esm2020/layout/layout-nav/index.mjs +4 -4
- package/esm2020/layout/layout-nav/layout-nav-application.component.mjs +326 -326
- package/esm2020/layout/layout-nav/layout-nav-group.component.mjs +123 -123
- package/esm2020/layout/layout-nav/layout-nav-tile.component.mjs +14 -14
- package/esm2020/layout/layout-nav/types.mjs +1 -1
- package/esm2020/layout/layout.mjs +4 -4
- package/esm2020/layout/public_api.mjs +12 -12
- package/esm2020/layout/widgets/index.mjs +6 -6
- package/esm2020/layout/widgets/yunzai-clear-storage.component.mjs +44 -44
- package/esm2020/layout/widgets/yunzai-fullscreen.component.mjs +44 -44
- package/esm2020/layout/widgets/yunzai-i18n.component.mjs +145 -145
- package/esm2020/layout/widgets/yunzai-notify.component.mjs +182 -182
- package/esm2020/layout/widgets/yunzai-theme-btn.component.mjs +200 -200
- package/esm2020/layout/widgets/yunzai-user.component.mjs +129 -129
- package/esm2020/layout/yunzai-act.guard.mjs +106 -106
- package/esm2020/layout/yunzai-auth.service.mjs +169 -167
- package/esm2020/layout/yunzai-default.interceptor.mjs +208 -208
- package/esm2020/layout/yunzai-i18n.service.mjs +130 -130
- package/esm2020/layout/yunzai-lang.mjs +113 -113
- package/esm2020/layout/yunzai-layout.module.mjs +75 -75
- package/esm2020/layout/yunzai-startup.service.mjs +156 -156
- package/esm2020/public_api.mjs +1 -1
- package/fesm2015/bis.mjs +6 -6
- package/fesm2015/layout.mjs +3232 -3230
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2020/bis.mjs +6 -6
- package/fesm2020/layout.mjs +3240 -3238
- package/fesm2020/layout.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/index.less +1 -1
- package/layout/bis.config.d.ts +3 -3
- package/layout/html-names.d.ts +31 -31
- package/layout/icon/style-icons.d.ts +1 -1
- package/layout/index.d.ts +5 -5
- package/layout/layout-basic/index.d.ts +2 -2
- package/layout/layout-basic/interface.d.ts +24 -24
- package/layout/layout-basic/layout-basic.component.d.ts +32 -32
- package/layout/layout-nav/index.d.ts +4 -4
- package/layout/layout-nav/layout-nav-application.component.d.ts +27 -27
- package/layout/layout-nav/layout-nav-group.component.d.ts +17 -17
- package/layout/layout-nav/layout-nav-tile.component.d.ts +6 -6
- package/layout/layout-nav/types.d.ts +15 -15
- package/layout/public_api.d.ts +12 -12
- package/layout/style/index.less +154 -154
- package/layout/widgets/index.d.ts +6 -6
- package/layout/widgets/yunzai-clear-storage.component.d.ts +11 -11
- package/layout/widgets/yunzai-fullscreen.component.d.ts +8 -8
- package/layout/widgets/yunzai-i18n.component.d.ts +21 -21
- package/layout/widgets/yunzai-notify.component.d.ts +30 -30
- package/layout/widgets/yunzai-theme-btn.component.d.ts +32 -32
- package/layout/widgets/yunzai-user.component.d.ts +28 -28
- package/layout/yunzai-act.guard.d.ts +22 -22
- package/layout/yunzai-auth.service.d.ts +21 -21
- package/layout/yunzai-default.interceptor.d.ts +27 -27
- package/layout/yunzai-i18n.service.d.ts +33 -33
- package/layout/yunzai-lang.d.ts +11 -11
- package/layout/yunzai-layout.module.d.ts +21 -21
- package/layout/yunzai-startup.service.d.ts +37 -37
- package/package.json +47 -47
- package/public_api.d.ts +2 -2
- package/theme-compact.less +3 -3
- package/theme-dark.less +46 -46
- package/theme-default.less +46 -46
package/layout/style/index.less
CHANGED
|
@@ -1,154 +1,154 @@
|
|
|
1
|
-
@import '../../../theme/theme-default.less';
|
|
2
|
-
|
|
3
|
-
.yz-application {
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: @yz-application-top;
|
|
6
|
-
left: 0;
|
|
7
|
-
width: @yz-application-width;
|
|
8
|
-
height: @yz-application-height;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
background-color: @yz-application-bgColor;
|
|
11
|
-
box-shadow: 10px 10px 10px 0 @yz-application-border-shadow;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.yz-application-topic {
|
|
15
|
-
background-color: @yz-application-topic-bgColor;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.yz-application-text {
|
|
19
|
-
display: block;
|
|
20
|
-
margin-left: -12px;
|
|
21
|
-
padding: 3px 40px;
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
color: @yz-application-topic-text-color;
|
|
24
|
-
font-weight: @yz-application-topic-text-font-weight;
|
|
25
|
-
line-height: @yz-application-topic-text-line-height;
|
|
26
|
-
white-space: nowrap;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
transition: 0.2s 0.2s 0.2s 0.2s;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.yz-application-text:hover {
|
|
32
|
-
color: @yz-application-topic-text-hover-color;
|
|
33
|
-
font-weight: bold;
|
|
34
|
-
background: @yz-application-topic-text-hover-bgColor;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.yz-application-container {
|
|
38
|
-
height: @yz-application-height;
|
|
39
|
-
overflow: auto;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.yz-application-list {
|
|
43
|
-
padding: @yz-application-list-padding;
|
|
44
|
-
|
|
45
|
-
ul {
|
|
46
|
-
width: @yz-application-list-ul-width;
|
|
47
|
-
padding: @yz-application-list-ul-padding;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
column-count: 4;
|
|
50
|
-
|
|
51
|
-
li {
|
|
52
|
-
float: left;
|
|
53
|
-
width: @yz-application-list-ul-li-width;
|
|
54
|
-
margin-bottom: @yz-application-list-ul-li-margin-bottom;
|
|
55
|
-
padding: @yz-application-list-ul-li-padding;
|
|
56
|
-
list-style: none;
|
|
57
|
-
-webkit-column-break-inside: avoid;
|
|
58
|
-
break-inside: avoid;
|
|
59
|
-
|
|
60
|
-
h5 {
|
|
61
|
-
margin-top: @yz-application-list-ul-h5-margin-top;
|
|
62
|
-
color: @yz-application-list-ul-h5-color;
|
|
63
|
-
font-weight: @yz-application-list-ul-h5-font-weight;
|
|
64
|
-
font-size: @yz-application-list-ul-h5-font-size;
|
|
65
|
-
line-height: @yz-application-list-ul-h5-line-height;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
a {
|
|
69
|
-
display: @yz-application-list-ul-a-display;
|
|
70
|
-
padding: @yz-application-list-ul-a-padding;
|
|
71
|
-
overflow: @yz-application-list-ul-a-overflow;
|
|
72
|
-
color: @yz-application-list-ul-a-color;
|
|
73
|
-
font-size: @yz-application-list-ul-a-font-size;
|
|
74
|
-
line-height: @yz-application-list-ul-a-line-height;
|
|
75
|
-
white-space: @yz-application-list-ul-a-white-space;
|
|
76
|
-
text-overflow: @yz-application-list-ul-a-text-overflow;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
a:hover {
|
|
80
|
-
color: @yz-application-list-ul-a-hover-color;
|
|
81
|
-
background: @yz-application-list-ul-a-hover-bgColor;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.yz-application-list-search {
|
|
88
|
-
margin: @yz-application-list-search-margin;
|
|
89
|
-
padding: @yz-application-list-search-padding;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.yz-application-list-item {
|
|
93
|
-
h4,
|
|
94
|
-
p {
|
|
95
|
-
margin: @yz-application-list-item-h4p-margin;
|
|
96
|
-
overflow: @yz-application-list-item-h4p-overflow;
|
|
97
|
-
color: @yz-application-list-item-h4p-color;
|
|
98
|
-
white-space: @yz-application-list-item-h4p-white-space;
|
|
99
|
-
text-overflow: @yz-application-list-item-h4p-text-overflow;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
h4 {
|
|
103
|
-
font-weight: @yz-application-list-item-h4-font-weight;
|
|
104
|
-
line-height: @yz-application-list-item-h4-line-height;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
p {
|
|
108
|
-
line-height: @yz-application-list-item-p-line-height;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
li:hover {
|
|
112
|
-
p {
|
|
113
|
-
color: @yz-application-list-item-li-hover-color;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
h4 {
|
|
117
|
-
color: @yz-application-list-item-li-hover-color;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
background: @yz-application-list-item-li-hover-bgColor;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.yz-application-group {
|
|
125
|
-
.ant-dropdown-link {
|
|
126
|
-
color: @yz-application-topic-text-color;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.ant-tabs-nav-operations {
|
|
130
|
-
color: @yz-application-topic-text-color;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.ant-tabs-top > .ant-tabs-nav::before {
|
|
134
|
-
border: none;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.ant-tabs-top > .ant-tabs-nav {
|
|
138
|
-
margin: 0;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
padding: 0 10px;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.yz-application-dropdown {
|
|
145
|
-
max-height: 80vh;
|
|
146
|
-
overflow-y: auto;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.yz-user-name {
|
|
150
|
-
width: 92px;
|
|
151
|
-
overflow: hidden;
|
|
152
|
-
white-space: nowrap;
|
|
153
|
-
text-overflow: ellipsis;
|
|
154
|
-
}
|
|
1
|
+
@import '../../../theme/theme-default.less';
|
|
2
|
+
|
|
3
|
+
.yz-application {
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: @yz-application-top;
|
|
6
|
+
left: 0;
|
|
7
|
+
width: @yz-application-width;
|
|
8
|
+
height: @yz-application-height;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
background-color: @yz-application-bgColor;
|
|
11
|
+
box-shadow: 10px 10px 10px 0 @yz-application-border-shadow;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.yz-application-topic {
|
|
15
|
+
background-color: @yz-application-topic-bgColor;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.yz-application-text {
|
|
19
|
+
display: block;
|
|
20
|
+
margin-left: -12px;
|
|
21
|
+
padding: 3px 40px;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
color: @yz-application-topic-text-color;
|
|
24
|
+
font-weight: @yz-application-topic-text-font-weight;
|
|
25
|
+
line-height: @yz-application-topic-text-line-height;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
transition: 0.2s 0.2s 0.2s 0.2s;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.yz-application-text:hover {
|
|
32
|
+
color: @yz-application-topic-text-hover-color;
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
background: @yz-application-topic-text-hover-bgColor;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.yz-application-container {
|
|
38
|
+
height: @yz-application-height;
|
|
39
|
+
overflow: auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.yz-application-list {
|
|
43
|
+
padding: @yz-application-list-padding;
|
|
44
|
+
|
|
45
|
+
ul {
|
|
46
|
+
width: @yz-application-list-ul-width;
|
|
47
|
+
padding: @yz-application-list-ul-padding;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
column-count: 4;
|
|
50
|
+
|
|
51
|
+
li {
|
|
52
|
+
float: left;
|
|
53
|
+
width: @yz-application-list-ul-li-width;
|
|
54
|
+
margin-bottom: @yz-application-list-ul-li-margin-bottom;
|
|
55
|
+
padding: @yz-application-list-ul-li-padding;
|
|
56
|
+
list-style: none;
|
|
57
|
+
-webkit-column-break-inside: avoid;
|
|
58
|
+
break-inside: avoid;
|
|
59
|
+
|
|
60
|
+
h5 {
|
|
61
|
+
margin-top: @yz-application-list-ul-h5-margin-top;
|
|
62
|
+
color: @yz-application-list-ul-h5-color;
|
|
63
|
+
font-weight: @yz-application-list-ul-h5-font-weight;
|
|
64
|
+
font-size: @yz-application-list-ul-h5-font-size;
|
|
65
|
+
line-height: @yz-application-list-ul-h5-line-height;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
a {
|
|
69
|
+
display: @yz-application-list-ul-a-display;
|
|
70
|
+
padding: @yz-application-list-ul-a-padding;
|
|
71
|
+
overflow: @yz-application-list-ul-a-overflow;
|
|
72
|
+
color: @yz-application-list-ul-a-color;
|
|
73
|
+
font-size: @yz-application-list-ul-a-font-size;
|
|
74
|
+
line-height: @yz-application-list-ul-a-line-height;
|
|
75
|
+
white-space: @yz-application-list-ul-a-white-space;
|
|
76
|
+
text-overflow: @yz-application-list-ul-a-text-overflow;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
a:hover {
|
|
80
|
+
color: @yz-application-list-ul-a-hover-color;
|
|
81
|
+
background: @yz-application-list-ul-a-hover-bgColor;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.yz-application-list-search {
|
|
88
|
+
margin: @yz-application-list-search-margin;
|
|
89
|
+
padding: @yz-application-list-search-padding;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.yz-application-list-item {
|
|
93
|
+
h4,
|
|
94
|
+
p {
|
|
95
|
+
margin: @yz-application-list-item-h4p-margin;
|
|
96
|
+
overflow: @yz-application-list-item-h4p-overflow;
|
|
97
|
+
color: @yz-application-list-item-h4p-color;
|
|
98
|
+
white-space: @yz-application-list-item-h4p-white-space;
|
|
99
|
+
text-overflow: @yz-application-list-item-h4p-text-overflow;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
h4 {
|
|
103
|
+
font-weight: @yz-application-list-item-h4-font-weight;
|
|
104
|
+
line-height: @yz-application-list-item-h4-line-height;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
p {
|
|
108
|
+
line-height: @yz-application-list-item-p-line-height;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
li:hover {
|
|
112
|
+
p {
|
|
113
|
+
color: @yz-application-list-item-li-hover-color;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
h4 {
|
|
117
|
+
color: @yz-application-list-item-li-hover-color;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
background: @yz-application-list-item-li-hover-bgColor;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.yz-application-group {
|
|
125
|
+
.ant-dropdown-link {
|
|
126
|
+
color: @yz-application-topic-text-color;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ant-tabs-nav-operations {
|
|
130
|
+
color: @yz-application-topic-text-color;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ant-tabs-top > .ant-tabs-nav::before {
|
|
134
|
+
border: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.ant-tabs-top > .ant-tabs-nav {
|
|
138
|
+
margin: 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
padding: 0 10px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.yz-application-dropdown {
|
|
145
|
+
max-height: 80vh;
|
|
146
|
+
overflow-y: auto;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.yz-user-name {
|
|
150
|
+
width: 92px;
|
|
151
|
+
overflow: hidden;
|
|
152
|
+
white-space: nowrap;
|
|
153
|
+
text-overflow: ellipsis;
|
|
154
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './yunzai-clear-storage.component';
|
|
2
|
-
export * from './yunzai-fullscreen.component';
|
|
3
|
-
export * from './yunzai-i18n.component';
|
|
4
|
-
export * from './yunzai-notify.component';
|
|
5
|
-
export * from './yunzai-theme-btn.component';
|
|
6
|
-
export * from './yunzai-user.component';
|
|
1
|
+
export * from './yunzai-clear-storage.component';
|
|
2
|
+
export * from './yunzai-fullscreen.component';
|
|
3
|
+
export * from './yunzai-i18n.component';
|
|
4
|
+
export * from './yunzai-notify.component';
|
|
5
|
+
export * from './yunzai-theme-btn.component';
|
|
6
|
+
export * from './yunzai-user.component';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
2
|
-
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class YunzaiClearStorageComponent {
|
|
5
|
-
private modalSrv;
|
|
6
|
-
private messageSrv;
|
|
7
|
-
constructor(modalSrv: NzModalService, messageSrv: NzMessageService);
|
|
8
|
-
_click(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiClearStorageComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiClearStorageComponent, "yunzai-clearstorage", never, {}, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
1
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
2
|
+
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class YunzaiClearStorageComponent {
|
|
5
|
+
private modalSrv;
|
|
6
|
+
private messageSrv;
|
|
7
|
+
constructor(modalSrv: NzModalService, messageSrv: NzMessageService);
|
|
8
|
+
_click(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiClearStorageComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiClearStorageComponent, "yunzai-clearstorage", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class YunzaiFullScreenComponent {
|
|
3
|
-
status: boolean;
|
|
4
|
-
_resize(): void;
|
|
5
|
-
_click(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiFullScreenComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiFullScreenComponent, "yunzai-fullscreen", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class YunzaiFullScreenComponent {
|
|
3
|
+
status: boolean;
|
|
4
|
+
_resize(): void;
|
|
5
|
+
_click(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiFullScreenComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiFullScreenComponent, "yunzai-fullscreen", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { SettingsService, YunzaiI18NType } from '@yelon/theme';
|
|
3
|
-
import { BooleanInput } from '@yelon/util/decorator';
|
|
4
|
-
import { YunzaiI18NService } from '../yunzai-i18n.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class YunzaiI18NComponent implements OnDestroy {
|
|
7
|
-
private settings;
|
|
8
|
-
private i18n;
|
|
9
|
-
private doc;
|
|
10
|
-
static ngAcceptInputType_showLangText: BooleanInput;
|
|
11
|
-
private destroy$;
|
|
12
|
-
/** Whether to display language text */
|
|
13
|
-
showLangText: boolean;
|
|
14
|
-
langs: YunzaiI18NType[];
|
|
15
|
-
get curLangCode(): string;
|
|
16
|
-
constructor(settings: SettingsService, i18n: YunzaiI18NService, doc: any);
|
|
17
|
-
change(lang: string): void;
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiI18NComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiI18NComponent, "yunzai-i18n", never, { "showLangText": "showLangText"; }, {}, never, never, false, never>;
|
|
21
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { SettingsService, YunzaiI18NType } from '@yelon/theme';
|
|
3
|
+
import { BooleanInput } from '@yelon/util/decorator';
|
|
4
|
+
import { YunzaiI18NService } from '../yunzai-i18n.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class YunzaiI18NComponent implements OnDestroy {
|
|
7
|
+
private settings;
|
|
8
|
+
private i18n;
|
|
9
|
+
private doc;
|
|
10
|
+
static ngAcceptInputType_showLangText: BooleanInput;
|
|
11
|
+
private destroy$;
|
|
12
|
+
/** Whether to display language text */
|
|
13
|
+
showLangText: boolean;
|
|
14
|
+
langs: YunzaiI18NType[];
|
|
15
|
+
get curLangCode(): string;
|
|
16
|
+
constructor(settings: SettingsService, i18n: YunzaiI18NService, doc: any);
|
|
17
|
+
change(lang: string): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiI18NComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiI18NComponent, "yunzai-i18n", never, { "showLangText": "showLangText"; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Observable, Subscription } from 'rxjs';
|
|
3
|
-
import { NoticeIconSelect, NoticeItem } from '@yelon/abc/notice-icon';
|
|
4
|
-
import { _HttpClient } from '@yelon/theme';
|
|
5
|
-
import { NzI18nService } from 'ng-zorro-antd/i18n';
|
|
6
|
-
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
7
|
-
import { YunzaiI18NService } from '../yunzai-i18n.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class YunzaiNotifyComponent implements OnInit, OnDestroy {
|
|
10
|
-
private injector;
|
|
11
|
-
private msg;
|
|
12
|
-
private y18n;
|
|
13
|
-
private nzI18n;
|
|
14
|
-
private cdr;
|
|
15
|
-
private httpClient;
|
|
16
|
-
data: NoticeItem[];
|
|
17
|
-
loading: boolean;
|
|
18
|
-
count: number;
|
|
19
|
-
subs: Subscription[];
|
|
20
|
-
constructor(injector: Injector, msg: NzMessageService, y18n: YunzaiI18NService, nzI18n: NzI18nService, cdr: ChangeDetectorRef, httpClient: _HttpClient);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
loadData(): void;
|
|
23
|
-
loadMessage(): Observable<void>;
|
|
24
|
-
loadTodo(): Observable<void>;
|
|
25
|
-
clear(type: string): void;
|
|
26
|
-
select(res: NoticeIconSelect): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiNotifyComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiNotifyComponent, "yunzai-notify", never, {}, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable, Subscription } from 'rxjs';
|
|
3
|
+
import { NoticeIconSelect, NoticeItem } from '@yelon/abc/notice-icon';
|
|
4
|
+
import { _HttpClient } from '@yelon/theme';
|
|
5
|
+
import { NzI18nService } from 'ng-zorro-antd/i18n';
|
|
6
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
7
|
+
import { YunzaiI18NService } from '../yunzai-i18n.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class YunzaiNotifyComponent implements OnInit, OnDestroy {
|
|
10
|
+
private injector;
|
|
11
|
+
private msg;
|
|
12
|
+
private y18n;
|
|
13
|
+
private nzI18n;
|
|
14
|
+
private cdr;
|
|
15
|
+
private httpClient;
|
|
16
|
+
data: NoticeItem[];
|
|
17
|
+
loading: boolean;
|
|
18
|
+
count: number;
|
|
19
|
+
subs: Subscription[];
|
|
20
|
+
constructor(injector: Injector, msg: NzMessageService, y18n: YunzaiI18NService, nzI18n: NzI18nService, cdr: ChangeDetectorRef, httpClient: _HttpClient);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
loadData(): void;
|
|
23
|
+
loadMessage(): Observable<void>;
|
|
24
|
+
loadTodo(): Observable<void>;
|
|
25
|
+
clear(type: string): void;
|
|
26
|
+
select(res: NoticeIconSelect): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiNotifyComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiNotifyComponent, "yunzai-notify", never, {}, {}, never, never, false, never>;
|
|
30
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Direction, Directionality } from '@angular/cdk/bidi';
|
|
2
|
-
import { Platform } from '@angular/cdk/platform';
|
|
3
|
-
import { OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
4
|
-
import { ThemeBtnType } from '@yelon/theme/theme-btn';
|
|
5
|
-
import { YunzaiConfigService } from '@yelon/util/config';
|
|
6
|
-
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export interface YunzaiThemeBtnType extends ThemeBtnType {
|
|
9
|
-
color?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class YunzaiThemBtnComponent implements OnInit, OnDestroy {
|
|
12
|
-
private renderer;
|
|
13
|
-
private configSrv;
|
|
14
|
-
private platform;
|
|
15
|
-
private doc;
|
|
16
|
-
private directionality;
|
|
17
|
-
private KEYS;
|
|
18
|
-
private theme;
|
|
19
|
-
types: YunzaiThemeBtnType[];
|
|
20
|
-
devTips: string;
|
|
21
|
-
deployUrl: string;
|
|
22
|
-
private destroy$;
|
|
23
|
-
dir: Direction;
|
|
24
|
-
constructor(renderer: Renderer2, configSrv: YunzaiConfigService, platform: Platform, doc: NzSafeAny, directionality: Directionality, KEYS: string);
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
private initTheme;
|
|
27
|
-
private updateChartTheme;
|
|
28
|
-
onThemeChange(theme: string): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiThemBtnComponent, [null, null, null, null, { optional: true; }, null]>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiThemBtnComponent, "yunzai-theme-btn", never, { "types": "types"; "devTips": "devTips"; "deployUrl": "deployUrl"; }, {}, never, never, false, never>;
|
|
32
|
-
}
|
|
1
|
+
import { Direction, Directionality } from '@angular/cdk/bidi';
|
|
2
|
+
import { Platform } from '@angular/cdk/platform';
|
|
3
|
+
import { OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
4
|
+
import { ThemeBtnType } from '@yelon/theme/theme-btn';
|
|
5
|
+
import { YunzaiConfigService } from '@yelon/util/config';
|
|
6
|
+
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export interface YunzaiThemeBtnType extends ThemeBtnType {
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class YunzaiThemBtnComponent implements OnInit, OnDestroy {
|
|
12
|
+
private renderer;
|
|
13
|
+
private configSrv;
|
|
14
|
+
private platform;
|
|
15
|
+
private doc;
|
|
16
|
+
private directionality;
|
|
17
|
+
private KEYS;
|
|
18
|
+
private theme;
|
|
19
|
+
types: YunzaiThemeBtnType[];
|
|
20
|
+
devTips: string;
|
|
21
|
+
deployUrl: string;
|
|
22
|
+
private destroy$;
|
|
23
|
+
dir: Direction;
|
|
24
|
+
constructor(renderer: Renderer2, configSrv: YunzaiConfigService, platform: Platform, doc: NzSafeAny, directionality: Directionality, KEYS: string);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
private initTheme;
|
|
27
|
+
private updateChartTheme;
|
|
28
|
+
onThemeChange(theme: string): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiThemBtnComponent, [null, null, null, null, { optional: true; }, null]>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiThemBtnComponent, "yunzai-theme-btn", never, { "types": "types"; "devTips": "devTips"; "deployUrl": "deployUrl"; }, {}, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { ITokenService } from '@yelon/auth';
|
|
3
|
-
import { CacheService } from '@yelon/cache';
|
|
4
|
-
import { YunzaiConfigService } from '@yelon/util';
|
|
5
|
-
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface UserLink {
|
|
8
|
-
icon: string;
|
|
9
|
-
name: string;
|
|
10
|
-
url: string;
|
|
11
|
-
}
|
|
12
|
-
export declare class YunzaiUserComponent implements OnInit {
|
|
13
|
-
private injector;
|
|
14
|
-
private msg;
|
|
15
|
-
private tokenService;
|
|
16
|
-
private configService;
|
|
17
|
-
private cacheService;
|
|
18
|
-
private config;
|
|
19
|
-
constructor(injector: Injector, msg: NzMessageService, tokenService: ITokenService, configService: YunzaiConfigService, cacheService: CacheService);
|
|
20
|
-
icon: string;
|
|
21
|
-
username: string;
|
|
22
|
-
menus: UserLink[];
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
logout(): void;
|
|
25
|
-
to(href: string): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiUserComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiUserComponent, "yunzai-user", never, {}, {}, never, never, false, never>;
|
|
28
|
-
}
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { ITokenService } from '@yelon/auth';
|
|
3
|
+
import { CacheService } from '@yelon/cache';
|
|
4
|
+
import { YunzaiConfigService } from '@yelon/util';
|
|
5
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface UserLink {
|
|
8
|
+
icon: string;
|
|
9
|
+
name: string;
|
|
10
|
+
url: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class YunzaiUserComponent implements OnInit {
|
|
13
|
+
private injector;
|
|
14
|
+
private msg;
|
|
15
|
+
private tokenService;
|
|
16
|
+
private configService;
|
|
17
|
+
private cacheService;
|
|
18
|
+
private config;
|
|
19
|
+
constructor(injector: Injector, msg: NzMessageService, tokenService: ITokenService, configService: YunzaiConfigService, cacheService: CacheService);
|
|
20
|
+
icon: string;
|
|
21
|
+
username: string;
|
|
22
|
+
menus: UserLink[];
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
logout(): void;
|
|
25
|
+
to(href: string): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiUserComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiUserComponent, "yunzai-user", never, {}, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { CacheService } from '@yelon/cache';
|
|
4
|
-
import { Menu } from '@yelon/theme';
|
|
5
|
-
import { YunzaiConfigService, PathToRegexpService } from '@yelon/util';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ActGuard implements CanActivate, CanActivateChild {
|
|
8
|
-
private configService;
|
|
9
|
-
private cacheService;
|
|
10
|
-
private pathToRegexp;
|
|
11
|
-
private router;
|
|
12
|
-
private bis;
|
|
13
|
-
private menus;
|
|
14
|
-
private links;
|
|
15
|
-
constructor(configService: YunzaiConfigService, cacheService: CacheService, pathToRegexp: PathToRegexpService, router: Router);
|
|
16
|
-
canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
17
|
-
canActivateChild(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
18
|
-
preHandle(state: RouterStateSnapshot): boolean;
|
|
19
|
-
getAllLinks(menu: Menu[], links: string[]): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActGuard, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ActGuard>;
|
|
22
|
-
}
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CacheService } from '@yelon/cache';
|
|
4
|
+
import { Menu } from '@yelon/theme';
|
|
5
|
+
import { YunzaiConfigService, PathToRegexpService } from '@yelon/util';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ActGuard implements CanActivate, CanActivateChild {
|
|
8
|
+
private configService;
|
|
9
|
+
private cacheService;
|
|
10
|
+
private pathToRegexp;
|
|
11
|
+
private router;
|
|
12
|
+
private bis;
|
|
13
|
+
private menus;
|
|
14
|
+
private links;
|
|
15
|
+
constructor(configService: YunzaiConfigService, cacheService: CacheService, pathToRegexp: PathToRegexpService, router: Router);
|
|
16
|
+
canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
17
|
+
canActivateChild(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
18
|
+
preHandle(state: RouterStateSnapshot): boolean;
|
|
19
|
+
getAllLinks(menu: Menu[], links: string[]): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActGuard, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ActGuard>;
|
|
22
|
+
}
|