@yelon/bis 16.2.4 → 16.2.5-68d194e

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.
Files changed (68) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +23 -23
  3. package/esm2022/bis.mjs +4 -4
  4. package/esm2022/index.mjs +1 -1
  5. package/esm2022/layout/bis.config.mjs +14 -14
  6. package/esm2022/layout/html-names.mjs +32 -32
  7. package/esm2022/layout/icon/style-icons.mjs +795 -795
  8. package/esm2022/layout/layout-basic/index.mjs +2 -2
  9. package/esm2022/layout/layout-basic/interface.mjs +1 -1
  10. package/esm2022/layout/layout-basic/layout-basic.component.mjs +372 -372
  11. package/esm2022/layout/layout-nav/index.mjs +3 -3
  12. package/esm2022/layout/layout-nav/layout-nav-application.component.mjs +364 -364
  13. package/esm2022/layout/layout-nav/layout-nav-group.component.mjs +122 -122
  14. package/esm2022/layout/layout-nav/layout-nav-tile.component.mjs +14 -14
  15. package/esm2022/layout/layout.mjs +4 -4
  16. package/esm2022/layout/public_api.mjs +12 -12
  17. package/esm2022/layout/widgets/index.mjs +6 -6
  18. package/esm2022/layout/widgets/yunzai-clear-storage.component.mjs +44 -44
  19. package/esm2022/layout/widgets/yunzai-fullscreen.component.mjs +44 -44
  20. package/esm2022/layout/widgets/yunzai-i18n.component.mjs +145 -145
  21. package/esm2022/layout/widgets/yunzai-notify.component.mjs +182 -182
  22. package/esm2022/layout/widgets/yunzai-theme-btn.component.mjs +199 -199
  23. package/esm2022/layout/widgets/yunzai-user.component.mjs +129 -129
  24. package/esm2022/layout/yunzai-act.guard.mjs +106 -106
  25. package/esm2022/layout/yunzai-auth.service.mjs +107 -107
  26. package/esm2022/layout/yunzai-default.interceptor.mjs +200 -200
  27. package/esm2022/layout/yunzai-i18n.service.mjs +102 -129
  28. package/esm2022/layout/yunzai-lang.mjs +113 -113
  29. package/esm2022/layout/yunzai-layout.module.mjs +76 -76
  30. package/esm2022/layout/yunzai-startup.service.mjs +152 -152
  31. package/esm2022/public_api.mjs +1 -1
  32. package/fesm2022/bis.mjs +6 -6
  33. package/fesm2022/layout.mjs +3198 -3224
  34. package/fesm2022/layout.mjs.map +1 -1
  35. package/index.d.ts +1 -1
  36. package/index.less +1 -1
  37. package/layout/bis.config.d.ts +3 -3
  38. package/layout/html-names.d.ts +31 -31
  39. package/layout/icon/style-icons.d.ts +1 -1
  40. package/layout/index.d.ts +5 -5
  41. package/layout/layout-basic/index.d.ts +2 -2
  42. package/layout/layout-basic/interface.d.ts +8 -8
  43. package/layout/layout-basic/layout-basic.component.d.ts +28 -28
  44. package/layout/layout-nav/index.d.ts +3 -3
  45. package/layout/layout-nav/layout-nav-application.component.d.ts +31 -31
  46. package/layout/layout-nav/layout-nav-group.component.d.ts +16 -16
  47. package/layout/layout-nav/layout-nav-tile.component.d.ts +6 -6
  48. package/layout/public_api.d.ts +12 -12
  49. package/layout/style/index.less +154 -154
  50. package/layout/widgets/index.d.ts +6 -6
  51. package/layout/widgets/yunzai-clear-storage.component.d.ts +11 -11
  52. package/layout/widgets/yunzai-fullscreen.component.d.ts +8 -8
  53. package/layout/widgets/yunzai-i18n.component.d.ts +21 -21
  54. package/layout/widgets/yunzai-notify.component.d.ts +30 -30
  55. package/layout/widgets/yunzai-theme-btn.component.d.ts +32 -32
  56. package/layout/widgets/yunzai-user.component.d.ts +26 -26
  57. package/layout/yunzai-act.guard.d.ts +20 -20
  58. package/layout/yunzai-auth.service.d.ts +19 -19
  59. package/layout/yunzai-default.interceptor.d.ts +27 -27
  60. package/layout/yunzai-i18n.service.d.ts +26 -30
  61. package/layout/yunzai-lang.d.ts +11 -11
  62. package/layout/yunzai-layout.module.d.ts +22 -22
  63. package/layout/yunzai-startup.service.d.ts +34 -34
  64. package/package.json +39 -39
  65. package/public_api.d.ts +2 -2
  66. package/theme-compact.less +3 -3
  67. package/theme-dark.less +46 -46
  68. package/theme-default.less +46 -46
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './public_api';
1
+ export * from './public_api';
package/index.less CHANGED
@@ -1 +1 @@
1
- @import './layout/style/index.less';
1
+ @import './layout/style/index.less';
@@ -1,3 +1,3 @@
1
- import { YunzaiBusinessConfig, YunzaiConfigService } from '@yelon/util';
2
- export declare const BUSINESS_DEFAULT_CONFIG: YunzaiBusinessConfig;
3
- export declare function mergeBisConfig(srv: YunzaiConfigService): YunzaiBusinessConfig;
1
+ import { YunzaiBusinessConfig, YunzaiConfigService } from '@yelon/util';
2
+ export declare const BUSINESS_DEFAULT_CONFIG: YunzaiBusinessConfig;
3
+ export declare function mergeBisConfig(srv: YunzaiConfigService): YunzaiBusinessConfig;
@@ -1,31 +1,31 @@
1
- export declare const HTML_NAMES_MAPPING: {
2
- _route_icon: string;
3
- _route_link: string;
4
- _route_toggle: string;
5
- _route_group: string;
6
- _route_user: string;
7
- _route_backhome: string;
8
- _nav_search: string;
9
- _nav_topic: string;
10
- _nav_item: string;
11
- _nav_notify: string;
12
- _nav_msg: string;
13
- _nav_todo: string;
14
- _nav_notice: string;
15
- _nav_clear_msg: string;
16
- _nav_clear_todo: string;
17
- _nav_clear_notice: string;
18
- _nav_theme: string;
19
- _nav_settings: string;
20
- _nav_user: string;
21
- _nav_lang: string;
22
- _nav_logo: string;
23
- _nav_toggle: string;
24
- _nav_app: string;
25
- _reusetab: string;
26
- _reusetab_refresh: string;
27
- _reusetab_close: string;
28
- _reusetab_closeOther: string;
29
- _reusetab_closeRight: string;
30
- _reusetab_custom: string;
31
- };
1
+ export declare const HTML_NAMES_MAPPING: {
2
+ _route_icon: string;
3
+ _route_link: string;
4
+ _route_toggle: string;
5
+ _route_group: string;
6
+ _route_user: string;
7
+ _route_backhome: string;
8
+ _nav_search: string;
9
+ _nav_topic: string;
10
+ _nav_item: string;
11
+ _nav_notify: string;
12
+ _nav_msg: string;
13
+ _nav_todo: string;
14
+ _nav_notice: string;
15
+ _nav_clear_msg: string;
16
+ _nav_clear_todo: string;
17
+ _nav_clear_notice: string;
18
+ _nav_theme: string;
19
+ _nav_settings: string;
20
+ _nav_user: string;
21
+ _nav_lang: string;
22
+ _nav_logo: string;
23
+ _nav_toggle: string;
24
+ _nav_app: string;
25
+ _reusetab: string;
26
+ _reusetab_refresh: string;
27
+ _reusetab_close: string;
28
+ _reusetab_closeOther: string;
29
+ _reusetab_closeRight: string;
30
+ _reusetab_custom: string;
31
+ };
@@ -1 +1 @@
1
- export declare const ICONS: import("@ant-design/icons-angular").IconDefinition[];
1
+ export declare const ICONS: import("@ant-design/icons-angular").IconDefinition[];
package/layout/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@yelon/bis/layout" />
5
- export * from './public_api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@yelon/bis/layout" />
5
+ export * from './public_api';
@@ -1,2 +1,2 @@
1
- export * from './interface';
2
- export * from './layout-basic.component';
1
+ export * from './interface';
2
+ export * from './layout-basic.component';
@@ -1,8 +1,8 @@
1
- import { LayoutDefaultOptions } from '@yelon/theme/layout-default';
2
- import { LayoutBasicAside, LayoutBasicDisplay, NavType } from '@yelon/util';
3
- export interface LayoutBasicState {
4
- options: LayoutDefaultOptions;
5
- aside: LayoutBasicAside;
6
- display: LayoutBasicDisplay;
7
- navType: NavType;
8
- }
1
+ import { LayoutDefaultOptions } from '@yelon/theme/layout-default';
2
+ import { LayoutBasicAside, LayoutBasicDisplay, NavType } from '@yelon/util';
3
+ export interface LayoutBasicState {
4
+ options: LayoutDefaultOptions;
5
+ aside: LayoutBasicAside;
6
+ display: LayoutBasicDisplay;
7
+ navType: NavType;
8
+ }
@@ -1,28 +1,28 @@
1
- import { OnInit } from '@angular/core';
2
- import { StompService } from '@yelon/socket';
3
- import { LayoutDefaultOptions, LayoutDisplayService } from '@yelon/theme/layout-default';
4
- import { NavType, LayoutBasicAside } from '@yelon/util';
5
- import * as i0 from "@angular/core";
6
- export declare class YunzaiLayoutBasicComponent implements OnInit {
7
- private layoutDisplayService;
8
- private stompService;
9
- private win;
10
- NavType: typeof NavType;
11
- private state;
12
- get options(): LayoutDefaultOptions;
13
- get navType(): NavType;
14
- get aside(): LayoutBasicAside;
15
- get displayReusetab(): boolean;
16
- get reusetabCSS(): any;
17
- constructor(layoutDisplayService: LayoutDisplayService, stompService: StompService, win: typeof window);
18
- ngOnInit(): void;
19
- initFavicon(): void;
20
- initAside(): void;
21
- initLogo(): void;
22
- initNavType(): void;
23
- toIndex(): void;
24
- onNavTypeChange(type: NavType): void;
25
- addLayoutDisplayListener(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutBasicComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutBasicComponent, "yz-layout-basic", never, {}, {}, never, never, false, never>;
28
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { StompService } from '@yelon/socket';
3
+ import { LayoutDefaultOptions, LayoutDisplayService } from '@yelon/theme/layout-default';
4
+ import { NavType, LayoutBasicAside } from '@yelon/util';
5
+ import * as i0 from "@angular/core";
6
+ export declare class YunzaiLayoutBasicComponent implements OnInit {
7
+ private layoutDisplayService;
8
+ private stompService;
9
+ private win;
10
+ NavType: typeof NavType;
11
+ private state;
12
+ get options(): LayoutDefaultOptions;
13
+ get navType(): NavType;
14
+ get aside(): LayoutBasicAside;
15
+ get displayReusetab(): boolean;
16
+ get reusetabCSS(): any;
17
+ constructor(layoutDisplayService: LayoutDisplayService, stompService: StompService, win: typeof window);
18
+ ngOnInit(): void;
19
+ initFavicon(): void;
20
+ initAside(): void;
21
+ initLogo(): void;
22
+ initNavType(): void;
23
+ toIndex(): void;
24
+ onNavTypeChange(type: NavType): void;
25
+ addLayoutDisplayListener(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutBasicComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutBasicComponent, "yz-layout-basic", never, {}, {}, never, never, false, never>;
28
+ }
@@ -1,3 +1,3 @@
1
- export * from './layout-nav-application.component';
2
- export * from './layout-nav-group.component';
3
- export * from './layout-nav-tile.component';
1
+ export * from './layout-nav-application.component';
2
+ export * from './layout-nav-group.component';
3
+ export * from './layout-nav-tile.component';
@@ -1,31 +1,31 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { _HttpClient } from '@yelon/theme';
3
- import { LayoutNavApplicationState, YunzaiConfigService, YunzaiNavTopic } from '@yelon/util';
4
- import { YunzaiI18NService } from '../yunzai-i18n.service';
5
- import * as i0 from "@angular/core";
6
- export declare class LayoutNavApplicationComponent implements OnInit, OnDestroy {
7
- private i18n;
8
- private http;
9
- private inject;
10
- private configService;
11
- private win;
12
- private bis;
13
- private $destroy;
14
- state: LayoutNavApplicationState;
15
- get showAllMenu(): boolean;
16
- get showMineMenu(): boolean;
17
- constructor(i18n: YunzaiI18NService, http: _HttpClient, inject: Injector, configService: YunzaiConfigService, win: any);
18
- ngOnInit(): void;
19
- fetchAllTopic(): void;
20
- attachNav(type: 'all' | 'mine' | 'other', topic?: YunzaiNavTopic): void;
21
- clearSearch(): void;
22
- displayAllNav(): void;
23
- displayMineNav(): void;
24
- displayOtherNav(topic: YunzaiNavTopic): void;
25
- diffChange(flag?: boolean): void;
26
- open(topic: YunzaiNavTopic): void;
27
- onSearch(): void;
28
- ngOnDestroy(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavApplicationComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavApplicationComponent, "layout-nav-application", never, {}, {}, never, never, false, never>;
31
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { _HttpClient } from '@yelon/theme';
3
+ import { LayoutNavApplicationState, YunzaiConfigService, YunzaiNavTopic } from '@yelon/util';
4
+ import { YunzaiI18NService } from '../yunzai-i18n.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class LayoutNavApplicationComponent implements OnInit, OnDestroy {
7
+ private i18n;
8
+ private http;
9
+ private inject;
10
+ private configService;
11
+ private win;
12
+ private bis;
13
+ private $destroy;
14
+ state: LayoutNavApplicationState;
15
+ get showAllMenu(): boolean;
16
+ get showMineMenu(): boolean;
17
+ constructor(i18n: YunzaiI18NService, http: _HttpClient, inject: Injector, configService: YunzaiConfigService, win: any);
18
+ ngOnInit(): void;
19
+ fetchAllTopic(): void;
20
+ attachNav(type: 'all' | 'mine' | 'other', topic?: YunzaiNavTopic): void;
21
+ clearSearch(): void;
22
+ displayAllNav(): void;
23
+ displayMineNav(): void;
24
+ displayOtherNav(topic: YunzaiNavTopic): void;
25
+ diffChange(flag?: boolean): void;
26
+ open(topic: YunzaiNavTopic): void;
27
+ onSearch(): void;
28
+ ngOnDestroy(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavApplicationComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavApplicationComponent, "layout-nav-application", never, {}, {}, never, never, false, never>;
31
+ }
@@ -1,16 +1,16 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { _HttpClient } from '@yelon/theme';
3
- import { LayoutNavGroupState, YunzaiNavTopic } from '@yelon/util';
4
- import * as i0 from "@angular/core";
5
- export declare class LayoutNavGroupComponent implements OnInit, OnDestroy {
6
- private inject;
7
- private http;
8
- private $destroy;
9
- state: LayoutNavGroupState;
10
- constructor(inject: Injector, http: _HttpClient);
11
- ngOnInit(): void;
12
- open(topic: YunzaiNavTopic): void;
13
- ngOnDestroy(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavGroupComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavGroupComponent, "layout-nav-group", never, {}, {}, never, never, false, never>;
16
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { _HttpClient } from '@yelon/theme';
3
+ import { LayoutNavGroupState, YunzaiNavTopic } from '@yelon/util';
4
+ import * as i0 from "@angular/core";
5
+ export declare class LayoutNavGroupComponent implements OnInit, OnDestroy {
6
+ private inject;
7
+ private http;
8
+ private $destroy;
9
+ state: LayoutNavGroupState;
10
+ constructor(inject: Injector, http: _HttpClient);
11
+ ngOnInit(): void;
12
+ open(topic: YunzaiNavTopic): void;
13
+ ngOnDestroy(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavGroupComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavGroupComponent, "layout-nav-group", never, {}, {}, never, never, false, never>;
16
+ }
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LayoutNavTileComponent {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavTileComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavTileComponent, "layout-nav-tile", never, {}, {}, never, never, false, never>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class LayoutNavTileComponent {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavTileComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavTileComponent, "layout-nav-tile", never, {}, {}, never, never, false, never>;
6
+ }
@@ -1,12 +1,12 @@
1
- export * from './layout-basic';
2
- export * from './layout-nav';
3
- export * from './widgets';
4
- export * from './bis.config';
5
- export * from './yunzai-act.guard';
6
- export * from './yunzai-auth.service';
7
- export * from './yunzai-default.interceptor';
8
- export * from './yunzai-i18n.service';
9
- export * from './yunzai-lang';
10
- export * from './yunzai-layout.module';
11
- export * from './yunzai-startup.service';
12
- export * from './html-names';
1
+ export * from './layout-basic';
2
+ export * from './layout-nav';
3
+ export * from './widgets';
4
+ export * from './bis.config';
5
+ export * from './yunzai-act.guard';
6
+ export * from './yunzai-auth.service';
7
+ export * from './yunzai-default.interceptor';
8
+ export * from './yunzai-i18n.service';
9
+ export * from './yunzai-lang';
10
+ export * from './yunzai-layout.module';
11
+ export * from './yunzai-startup.service';
12
+ export * from './html-names';
@@ -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';