@yelon/bis 15.2.4 → 16.0.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/LICENSE +21 -21
- package/README.md +23 -23
- package/{esm2020 → esm2022}/bis.mjs +4 -4
- package/{esm2020 → esm2022}/index.mjs +1 -1
- package/{esm2020 → esm2022}/layout/bis.config.mjs +10 -10
- package/{esm2020 → esm2022}/layout/html-names.mjs +32 -32
- package/{esm2020 → esm2022}/layout/icon/style-icons.mjs +795 -795
- package/{esm2020 → esm2022}/layout/layout-basic/index.mjs +2 -2
- package/{esm2020 → esm2022}/layout/layout-basic/interface.mjs +6 -6
- package/{esm2020 → esm2022}/layout/layout-basic/layout-basic.component.mjs +356 -356
- package/{esm2020 → esm2022}/layout/layout-nav/index.mjs +4 -4
- package/esm2022/layout/layout-nav/layout-nav-application.component.mjs +328 -0
- package/{esm2020 → esm2022}/layout/layout-nav/layout-nav-group.component.mjs +125 -124
- package/esm2022/layout/layout-nav/layout-nav-tile.component.mjs +16 -0
- package/{esm2020 → esm2022}/layout/layout-nav/types.mjs +1 -1
- package/{esm2020 → esm2022}/layout/layout.mjs +4 -4
- package/{esm2020 → esm2022}/layout/public_api.mjs +12 -12
- package/{esm2020 → esm2022}/layout/widgets/index.mjs +6 -6
- package/esm2022/layout/widgets/yunzai-clear-storage.component.mjs +46 -0
- package/esm2022/layout/widgets/yunzai-fullscreen.component.mjs +46 -0
- package/{esm2020 → esm2022}/layout/widgets/yunzai-i18n.component.mjs +147 -146
- package/esm2022/layout/widgets/yunzai-notify.component.mjs +184 -0
- package/esm2022/layout/widgets/yunzai-theme-btn.component.mjs +202 -0
- package/esm2022/layout/widgets/yunzai-user.component.mjs +131 -0
- package/esm2022/layout/yunzai-act.guard.mjs +108 -0
- package/esm2022/layout/yunzai-auth.service.mjs +174 -0
- package/{esm2020 → esm2022}/layout/yunzai-default.interceptor.mjs +209 -209
- package/{esm2020 → esm2022}/layout/yunzai-i18n.service.mjs +131 -131
- package/{esm2020 → esm2022}/layout/yunzai-lang.mjs +113 -113
- package/esm2022/layout/yunzai-layout.module.mjs +77 -0
- package/{esm2020 → esm2022}/layout/yunzai-startup.service.mjs +157 -157
- package/{esm2020 → esm2022}/public_api.mjs +1 -1
- package/{fesm2015 → fesm2022}/bis.mjs +6 -6
- package/{fesm2020 → fesm2022}/layout.mjs +3245 -3226
- package/fesm2022/layout.mjs.map +1 -0
- 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 +39 -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/esm2020/layout/layout-nav/layout-nav-application.component.mjs +0 -327
- package/esm2020/layout/layout-nav/layout-nav-tile.component.mjs +0 -15
- package/esm2020/layout/widgets/yunzai-clear-storage.component.mjs +0 -45
- package/esm2020/layout/widgets/yunzai-fullscreen.component.mjs +0 -45
- package/esm2020/layout/widgets/yunzai-notify.component.mjs +0 -183
- package/esm2020/layout/widgets/yunzai-theme-btn.component.mjs +0 -201
- package/esm2020/layout/widgets/yunzai-user.component.mjs +0 -130
- package/esm2020/layout/yunzai-act.guard.mjs +0 -107
- package/esm2020/layout/yunzai-auth.service.mjs +0 -155
- package/esm2020/layout/yunzai-layout.module.mjs +0 -76
- package/fesm2015/layout.mjs +0 -3218
- package/fesm2015/layout.mjs.map +0 -1
- package/fesm2020/bis.mjs +0 -6
- package/fesm2020/bis.mjs.map +0 -1
- package/fesm2020/layout.mjs.map +0 -1
- /package/{fesm2015 → fesm2022}/bis.mjs.map +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { LayoutDefaultOptions } from '@yelon/theme/layout-default';
|
|
3
|
-
export declare enum NavType {
|
|
4
|
-
APPLICATION = "application",
|
|
5
|
-
GROUP = "group",
|
|
6
|
-
TILE = "tile"
|
|
7
|
-
}
|
|
8
|
-
export interface LayoutBasicAside {
|
|
9
|
-
name: string;
|
|
10
|
-
intro: string;
|
|
11
|
-
icon: string;
|
|
12
|
-
}
|
|
13
|
-
export interface LayoutBasicDisplay {
|
|
14
|
-
nav: boolean;
|
|
15
|
-
reusetab: boolean;
|
|
16
|
-
aside: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface LayoutBasicState {
|
|
19
|
-
options: LayoutDefaultOptions;
|
|
20
|
-
aside: LayoutBasicAside;
|
|
21
|
-
display: LayoutBasicDisplay;
|
|
22
|
-
navType: NavType;
|
|
23
|
-
destroy$: Subject<unknown>;
|
|
24
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { LayoutDefaultOptions } from '@yelon/theme/layout-default';
|
|
3
|
+
export declare enum NavType {
|
|
4
|
+
APPLICATION = "application",
|
|
5
|
+
GROUP = "group",
|
|
6
|
+
TILE = "tile"
|
|
7
|
+
}
|
|
8
|
+
export interface LayoutBasicAside {
|
|
9
|
+
name: string;
|
|
10
|
+
intro: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
}
|
|
13
|
+
export interface LayoutBasicDisplay {
|
|
14
|
+
nav: boolean;
|
|
15
|
+
reusetab: boolean;
|
|
16
|
+
aside: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface LayoutBasicState {
|
|
19
|
+
options: LayoutDefaultOptions;
|
|
20
|
+
aside: LayoutBasicAside;
|
|
21
|
+
display: LayoutBasicDisplay;
|
|
22
|
+
navType: NavType;
|
|
23
|
+
destroy$: Subject<unknown>;
|
|
24
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CacheService } from '@yelon/cache';
|
|
3
|
-
import { StompService } from '@yelon/socket';
|
|
4
|
-
import { LayoutDefaultOptions, LayoutDisplayService } from '@yelon/theme/layout-default';
|
|
5
|
-
import { LayoutBasicAside, NavType } from './interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
declare class YunzaiLayoutBasicComponent implements OnInit, OnDestroy {
|
|
8
|
-
private layoutDisplayService;
|
|
9
|
-
private cacheService;
|
|
10
|
-
private stompService;
|
|
11
|
-
private win;
|
|
12
|
-
NavType: typeof NavType;
|
|
13
|
-
private state;
|
|
14
|
-
get options(): LayoutDefaultOptions;
|
|
15
|
-
get navType(): NavType;
|
|
16
|
-
get aside(): LayoutBasicAside;
|
|
17
|
-
get displayReusetab(): boolean;
|
|
18
|
-
get reusetabCSS(): any;
|
|
19
|
-
constructor(layoutDisplayService: LayoutDisplayService, cacheService: CacheService, stompService: StompService, win: typeof window);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
initFavicon(): void;
|
|
22
|
-
initAside(): void;
|
|
23
|
-
initLogo(): void;
|
|
24
|
-
initNavType(): void;
|
|
25
|
-
toIndex(): void;
|
|
26
|
-
onNavTypeChange(type: NavType): void;
|
|
27
|
-
addLayoutDisplayListener(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutBasicComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutBasicComponent, "yz-layout-basic", never, {}, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
32
|
-
export { YunzaiLayoutBasicComponent as YzLayoutBasicComponent, YunzaiLayoutBasicComponent };
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { CacheService } from '@yelon/cache';
|
|
3
|
+
import { StompService } from '@yelon/socket';
|
|
4
|
+
import { LayoutDefaultOptions, LayoutDisplayService } from '@yelon/theme/layout-default';
|
|
5
|
+
import { LayoutBasicAside, NavType } from './interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
declare class YunzaiLayoutBasicComponent implements OnInit, OnDestroy {
|
|
8
|
+
private layoutDisplayService;
|
|
9
|
+
private cacheService;
|
|
10
|
+
private stompService;
|
|
11
|
+
private win;
|
|
12
|
+
NavType: typeof NavType;
|
|
13
|
+
private state;
|
|
14
|
+
get options(): LayoutDefaultOptions;
|
|
15
|
+
get navType(): NavType;
|
|
16
|
+
get aside(): LayoutBasicAside;
|
|
17
|
+
get displayReusetab(): boolean;
|
|
18
|
+
get reusetabCSS(): any;
|
|
19
|
+
constructor(layoutDisplayService: LayoutDisplayService, cacheService: CacheService, stompService: StompService, win: typeof window);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
initFavicon(): void;
|
|
22
|
+
initAside(): void;
|
|
23
|
+
initLogo(): void;
|
|
24
|
+
initNavType(): void;
|
|
25
|
+
toIndex(): void;
|
|
26
|
+
onNavTypeChange(type: NavType): void;
|
|
27
|
+
addLayoutDisplayListener(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutBasicComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutBasicComponent, "yz-layout-basic", never, {}, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
32
|
+
export { YunzaiLayoutBasicComponent as YzLayoutBasicComponent, YunzaiLayoutBasicComponent };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './layout-nav-application.component';
|
|
2
|
-
export * from './layout-nav-group.component';
|
|
3
|
-
export * from './layout-nav-tile.component';
|
|
4
|
-
export * from './types';
|
|
1
|
+
export * from './layout-nav-application.component';
|
|
2
|
+
export * from './layout-nav-group.component';
|
|
3
|
+
export * from './layout-nav-tile.component';
|
|
4
|
+
export * from './types';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CacheService, YunzaiNavTopic } from '@yelon/cache';
|
|
3
|
-
import { _HttpClient } from '@yelon/theme';
|
|
4
|
-
import { YunzaiI18NService } from '../yunzai-i18n.service';
|
|
5
|
-
import { LayoutNavApplicationState } from './types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class LayoutNavApplicationComponent implements OnInit, OnDestroy {
|
|
8
|
-
private cacheService;
|
|
9
|
-
private i18n;
|
|
10
|
-
private http;
|
|
11
|
-
private inject;
|
|
12
|
-
state: LayoutNavApplicationState;
|
|
13
|
-
constructor(cacheService: CacheService, i18n: YunzaiI18NService, http: _HttpClient, inject: Injector);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
fetchAllTopic(): void;
|
|
16
|
-
attachNav(type: 'all' | 'mine' | 'other', topic?: YunzaiNavTopic): void;
|
|
17
|
-
clearSearch(): void;
|
|
18
|
-
displayAllNav(): void;
|
|
19
|
-
displayMineNav(): void;
|
|
20
|
-
displayOtherNav(topic: YunzaiNavTopic): void;
|
|
21
|
-
diffChange(flag?: boolean): void;
|
|
22
|
-
open(topic: YunzaiNavTopic): void;
|
|
23
|
-
onSearch(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavApplicationComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavApplicationComponent, "layout-nav-application", never, {}, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { CacheService, YunzaiNavTopic } from '@yelon/cache';
|
|
3
|
+
import { _HttpClient } from '@yelon/theme';
|
|
4
|
+
import { YunzaiI18NService } from '../yunzai-i18n.service';
|
|
5
|
+
import { LayoutNavApplicationState } from './types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class LayoutNavApplicationComponent implements OnInit, OnDestroy {
|
|
8
|
+
private cacheService;
|
|
9
|
+
private i18n;
|
|
10
|
+
private http;
|
|
11
|
+
private inject;
|
|
12
|
+
state: LayoutNavApplicationState;
|
|
13
|
+
constructor(cacheService: CacheService, i18n: YunzaiI18NService, http: _HttpClient, inject: Injector);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
fetchAllTopic(): void;
|
|
16
|
+
attachNav(type: 'all' | 'mine' | 'other', topic?: YunzaiNavTopic): void;
|
|
17
|
+
clearSearch(): void;
|
|
18
|
+
displayAllNav(): void;
|
|
19
|
+
displayMineNav(): void;
|
|
20
|
+
displayOtherNav(topic: YunzaiNavTopic): void;
|
|
21
|
+
diffChange(flag?: boolean): void;
|
|
22
|
+
open(topic: YunzaiNavTopic): void;
|
|
23
|
+
onSearch(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavApplicationComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavApplicationComponent, "layout-nav-application", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CacheService, YunzaiNavTopic } from '@yelon/cache';
|
|
3
|
-
import { _HttpClient } from '@yelon/theme';
|
|
4
|
-
import { LayoutNavGroupState } from './types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LayoutNavGroupComponent implements OnInit, OnDestroy {
|
|
7
|
-
private inject;
|
|
8
|
-
private cacheService;
|
|
9
|
-
private http;
|
|
10
|
-
state: LayoutNavGroupState;
|
|
11
|
-
constructor(inject: Injector, cacheService: CacheService, http: _HttpClient);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
open(topic: YunzaiNavTopic): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavGroupComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavGroupComponent, "layout-nav-group", never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { CacheService, YunzaiNavTopic } from '@yelon/cache';
|
|
3
|
+
import { _HttpClient } from '@yelon/theme';
|
|
4
|
+
import { LayoutNavGroupState } from './types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LayoutNavGroupComponent implements OnInit, OnDestroy {
|
|
7
|
+
private inject;
|
|
8
|
+
private cacheService;
|
|
9
|
+
private http;
|
|
10
|
+
state: LayoutNavGroupState;
|
|
11
|
+
constructor(inject: Injector, cacheService: CacheService, http: _HttpClient);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
open(topic: YunzaiNavTopic): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavGroupComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavGroupComponent, "layout-nav-group", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -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,15 +1,15 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { YunzaiNavTopic } from '@yelon/cache';
|
|
3
|
-
export interface LayoutNavApplicationState {
|
|
4
|
-
active: boolean;
|
|
5
|
-
type: 'all' | 'mine' | 'other';
|
|
6
|
-
topic?: YunzaiNavTopic;
|
|
7
|
-
topics: YunzaiNavTopic[];
|
|
8
|
-
list: YunzaiNavTopic[];
|
|
9
|
-
search: string | null;
|
|
10
|
-
destroy$: Subject<any>;
|
|
11
|
-
}
|
|
12
|
-
export interface LayoutNavGroupState {
|
|
13
|
-
topics: YunzaiNavTopic[];
|
|
14
|
-
destroy$: Subject<any>;
|
|
15
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { YunzaiNavTopic } from '@yelon/cache';
|
|
3
|
+
export interface LayoutNavApplicationState {
|
|
4
|
+
active: boolean;
|
|
5
|
+
type: 'all' | 'mine' | 'other';
|
|
6
|
+
topic?: YunzaiNavTopic;
|
|
7
|
+
topics: YunzaiNavTopic[];
|
|
8
|
+
list: YunzaiNavTopic[];
|
|
9
|
+
search: string | null;
|
|
10
|
+
destroy$: Subject<any>;
|
|
11
|
+
}
|
|
12
|
+
export interface LayoutNavGroupState {
|
|
13
|
+
topics: YunzaiNavTopic[];
|
|
14
|
+
destroy$: Subject<any>;
|
|
15
|
+
}
|
package/layout/public_api.d.ts
CHANGED
|
@@ -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';
|
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
|
+
}
|