@yelon/bis 19.1.0 → 20.0.0-beta.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/config/index.d.ts +6 -5
- package/fesm2022/bis.mjs +36 -51
- package/fesm2022/bis.mjs.map +1 -1
- package/fesm2022/config.mjs.map +1 -1
- package/fesm2022/layout.mjs +19 -19
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/yunzai-widgets.mjs +21 -21
- package/fesm2022/yunzai-widgets.mjs.map +1 -1
- package/index.d.ts +146 -5
- package/layout/index.d.ts +113 -5
- package/package.json +12 -12
- package/yunzai-widgets/index.d.ts +97 -5
- package/config/bis.config.d.ts +0 -3
- package/config/public_api.d.ts +0 -1
- package/layout/layout-basic.component.d.ts +0 -53
- package/layout/layout-nav-application.component.d.ts +0 -26
- package/layout/layout-nav-group.component.d.ts +0 -14
- package/layout/layout-nav-tile.component.d.ts +0 -5
- package/layout/layout.module.d.ts +0 -18
- package/layout/public_api.d.ts +0 -5
- package/public_api.d.ts +0 -10
- package/src/bis.module.d.ts +0 -8
- package/src/helper.d.ts +0 -11
- package/src/provide.d.ts +0 -2
- package/src/refresh-token.d.ts +0 -5
- package/src/startup.service.d.ts +0 -27
- package/src/website/layout-website-01.component.d.ts +0 -25
- package/src/website/layout-website-02.component.d.ts +0 -28
- package/src/yunzai-act.guard.d.ts +0 -20
- package/src/yunzai-analysis-addon.guard.d.ts +0 -25
- package/src/yunzai-default.interceptor.d.ts +0 -2
- package/yunzai-widgets/public_api.d.ts +0 -6
- package/yunzai-widgets/yunzai-clear-storage.component.d.ts +0 -8
- package/yunzai-widgets/yunzai-fullscreen.component.d.ts +0 -8
- package/yunzai-widgets/yunzai-i18n.component.d.ts +0 -19
- package/yunzai-widgets/yunzai-notify.component.d.ts +0 -25
- package/yunzai-widgets/yunzai-user.component.d.ts +0 -22
- package/yunzai-widgets/yunzai-widget.module.d.ts +0 -18
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { LayoutNavApplicationState, YunzaiNavTopic } from '@yelon/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class YunzaiNavApplicationComponent implements OnInit, OnDestroy {
|
|
5
|
-
private readonly config;
|
|
6
|
-
private readonly http;
|
|
7
|
-
private readonly win;
|
|
8
|
-
private readonly i18n;
|
|
9
|
-
private readonly destroy$;
|
|
10
|
-
state: LayoutNavApplicationState;
|
|
11
|
-
get showAllMenu(): boolean;
|
|
12
|
-
get showMineMenu(): boolean;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
fetchAllTopic(): void;
|
|
15
|
-
attachNav(type: 'all' | 'mine' | 'other', topic?: YunzaiNavTopic): void;
|
|
16
|
-
clearSearch(): void;
|
|
17
|
-
displayAllNav(): void;
|
|
18
|
-
displayMineNav(): void;
|
|
19
|
-
displayOtherNav(topic: YunzaiNavTopic): void;
|
|
20
|
-
diffChange(flag?: boolean): void;
|
|
21
|
-
open(topic: YunzaiNavTopic): void;
|
|
22
|
-
onSearch(): void;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiNavApplicationComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiNavApplicationComponent, "yunzai-layout-nav-application", never, {}, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { LayoutNavGroupState, YunzaiNavTopic } from '@yelon/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class YunzaiLayoutNavGroupComponent implements OnInit, OnDestroy {
|
|
5
|
-
private readonly http;
|
|
6
|
-
private destroy$;
|
|
7
|
-
private readonly win;
|
|
8
|
-
state: LayoutNavGroupState;
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
open(topic: YunzaiNavTopic): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutNavGroupComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutNavGroupComponent, "yunzai-layout-nav-group", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class YunzaiLayoutNavTileComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutNavTileComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutNavTileComponent, "yunzai-layout-nav-tile", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@yelon/theme";
|
|
3
|
-
import * as i2 from "@angular/forms";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/form";
|
|
5
|
-
import * as i4 from "ng-zorro-antd/input";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "ng-zorro-antd/grid";
|
|
8
|
-
import * as i7 from "ng-zorro-antd/icon";
|
|
9
|
-
import * as i8 from "ng-zorro-antd/dropdown";
|
|
10
|
-
import * as i9 from "ng-zorro-antd/tabs";
|
|
11
|
-
import * as i10 from "./layout-nav-tile.component";
|
|
12
|
-
import * as i11 from "./layout-nav-group.component";
|
|
13
|
-
import * as i12 from "./layout-basic.component";
|
|
14
|
-
export declare class YunzaiLayoutModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, never, [typeof i1.I18nPipe, typeof i2.FormsModule, typeof i3.NzFormModule, typeof i4.NzInputModule, typeof i5.CommonModule, typeof i6.NzGridModule, typeof i7.NzIconModule, typeof i8.NzDropDownModule, typeof i9.NzTabsModule, typeof i10.YunzaiLayoutNavTileComponent, typeof i11.YunzaiLayoutNavGroupComponent, typeof i12.YunzaiLayoutBasicComponent], [typeof i10.YunzaiLayoutNavTileComponent, typeof i11.YunzaiLayoutNavGroupComponent, typeof i12.YunzaiLayoutBasicComponent]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiLayoutModule>;
|
|
18
|
-
}
|
package/layout/public_api.d.ts
DELETED
package/public_api.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './src/provide';
|
|
2
|
-
export * from './src/bis.module';
|
|
3
|
-
export * from './src/helper';
|
|
4
|
-
export * from './src/yunzai-default.interceptor';
|
|
5
|
-
export * from './src/refresh-token';
|
|
6
|
-
export * from './src/startup.service';
|
|
7
|
-
export * from './src/yunzai-analysis-addon.guard';
|
|
8
|
-
export * from './src/yunzai-act.guard';
|
|
9
|
-
export * from './src/website/layout-website-01.component';
|
|
10
|
-
export * from './src/website/layout-website-02.component';
|
package/src/bis.module.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@yelon/bis/layout";
|
|
3
|
-
import * as i2 from "@yelon/bis/yunzai-widgets";
|
|
4
|
-
export declare class BisModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BisModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BisModule, never, [typeof i1.YunzaiLayoutModule, typeof i2.YunzaiWidgetsModule], [typeof i1.YunzaiLayoutModule, typeof i2.YunzaiWidgetsModule]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BisModule>;
|
|
8
|
-
}
|
package/src/helper.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { HttpHeaders, HttpResponseBase } from '@angular/common/http';
|
|
2
|
-
import { Injector } from '@angular/core';
|
|
3
|
-
export declare const CODEMESSAGE: Record<number, string>;
|
|
4
|
-
export declare function getAdditionalHeaders(headers?: HttpHeaders): Record<string, string>;
|
|
5
|
-
export declare function checkStatus(injector: Injector, ev: HttpResponseBase): void;
|
|
6
|
-
export interface ReThrowHttpError {
|
|
7
|
-
body: any;
|
|
8
|
-
_throw: true;
|
|
9
|
-
}
|
|
10
|
-
export declare function goTo(injector: Injector, url: string): void;
|
|
11
|
-
export declare function toLogin(injector: Injector): void;
|
package/src/provide.d.ts
DELETED
package/src/refresh-token.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerFn, HttpRequest, HttpResponseBase } from '@angular/common/http';
|
|
2
|
-
import { Injector, Provider } from '@angular/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
export declare const tryRefreshToken: (injector: Injector, ev: HttpResponseBase, req: HttpRequest<any>, next: HttpHandlerFn) => Observable<any>;
|
|
5
|
-
export declare function provideYunzaiBindAuthRefresh(): Provider[];
|
package/src/startup.service.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EnvironmentProviders, Provider } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ITokenModel } from '@yelon/auth';
|
|
4
|
-
import { YunzaiMenu } from '@yelon/util';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface LoadParam {
|
|
7
|
-
force?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare function provideYunzaiStartup(): Array<Provider | EnvironmentProviders>;
|
|
10
|
-
export declare class YunzaiStartupService {
|
|
11
|
-
private readonly config;
|
|
12
|
-
private readonly menuService;
|
|
13
|
-
private readonly aclService;
|
|
14
|
-
private readonly titleService;
|
|
15
|
-
private readonly tokenService;
|
|
16
|
-
private readonly httpClient;
|
|
17
|
-
private readonly settingService;
|
|
18
|
-
private readonly i18n;
|
|
19
|
-
private readonly win;
|
|
20
|
-
private readonly configService;
|
|
21
|
-
load(param?: LoadParam): Observable<void>;
|
|
22
|
-
token(param?: LoadParam): Observable<ITokenModel | boolean>;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiStartupService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiStartupService>;
|
|
25
|
-
}
|
|
26
|
-
export declare function mapYzSideToYelonMenu(menus: YunzaiMenu[]): void;
|
|
27
|
-
export declare function generateAbility(menus: YunzaiMenu[], abilities: string[], prefix: string): void;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { YunzaiProfile } from '@yelon/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class YunzaiLayoutWebsite01Component {
|
|
5
|
-
logoSrc?: string | any;
|
|
6
|
-
logoAlt?: string;
|
|
7
|
-
slogan?: string;
|
|
8
|
-
contentTpl?: TemplateRef<void> | any;
|
|
9
|
-
private readonly tokenService;
|
|
10
|
-
private readonly configService;
|
|
11
|
-
private readonly startupSrv;
|
|
12
|
-
private readonly win;
|
|
13
|
-
get _logoSrc(): string | any;
|
|
14
|
-
get _logoAlt(): string;
|
|
15
|
-
get _slogan(): string;
|
|
16
|
-
get _contentTpl(): TemplateRef<void> | any;
|
|
17
|
-
get _username(): string;
|
|
18
|
-
get isLogin(): boolean;
|
|
19
|
-
get _links(): YunzaiProfile[];
|
|
20
|
-
login(): void;
|
|
21
|
-
logout(): void;
|
|
22
|
-
to(url?: string): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutWebsite01Component, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutWebsite01Component, "yunzai-layout-website-01", never, { "logoSrc": { "alias": "logoSrc"; "required": false; }; "logoAlt": { "alias": "logoAlt"; "required": false; }; "slogan": { "alias": "slogan"; "required": false; }; "contentTpl": { "alias": "contentTpl"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { YunzaiProfile } from '@yelon/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class YunzaiLayoutWebsite02Component {
|
|
5
|
-
logoSrc?: string | any;
|
|
6
|
-
logoAlt?: string;
|
|
7
|
-
userMenuShow?: boolean;
|
|
8
|
-
slogan?: TemplateRef<void> | any;
|
|
9
|
-
contentTpl?: TemplateRef<void> | any;
|
|
10
|
-
private readonly tokenService;
|
|
11
|
-
private readonly configService;
|
|
12
|
-
private readonly startupSrv;
|
|
13
|
-
private readonly win;
|
|
14
|
-
get _logoSrc(): string | any;
|
|
15
|
-
get _logoAlt(): string;
|
|
16
|
-
get _userMenuShow(): boolean;
|
|
17
|
-
get _slogan(): TemplateRef<void> | any;
|
|
18
|
-
get _contentTpl(): TemplateRef<void> | any;
|
|
19
|
-
get _username(): string;
|
|
20
|
-
get _avatar(): string | undefined;
|
|
21
|
-
get isLogin(): boolean;
|
|
22
|
-
get _links(): YunzaiProfile[];
|
|
23
|
-
login(): void;
|
|
24
|
-
logout(): void;
|
|
25
|
-
to(url?: string): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutWebsite02Component, never>;
|
|
27
|
-
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>;
|
|
28
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CanActivateChildFn, CanActivateFn, Router } from '@angular/router';
|
|
2
|
-
import { Menu } from '@yelon/theme';
|
|
3
|
-
import { YunzaiConfigService, PathToRegexpService } from '@yelon/util';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ActGuardService {
|
|
6
|
-
private configService;
|
|
7
|
-
private pathToRegexp;
|
|
8
|
-
private router;
|
|
9
|
-
private bis;
|
|
10
|
-
private menus;
|
|
11
|
-
private links;
|
|
12
|
-
constructor(configService: YunzaiConfigService, pathToRegexp: PathToRegexpService, router: Router);
|
|
13
|
-
process(url: string): boolean;
|
|
14
|
-
preHandle(url: string): boolean;
|
|
15
|
-
getAllLinks(menu: Menu[], links: string[]): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActGuardService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ActGuardService>;
|
|
18
|
-
}
|
|
19
|
-
export declare const actGuardCanActive: CanActivateFn;
|
|
20
|
-
export declare const actGuardCanActiveChild: CanActivateChildFn;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CanActivateChildFn, CanActivateFn } from '@angular/router';
|
|
2
|
-
import { ITokenService } from '@yelon/auth';
|
|
3
|
-
import { Menu } from '@yelon/theme';
|
|
4
|
-
import { PathToRegexpService, YunzaiConfigService } from '@yelon/util';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class YunzaiAnalysisAddonGuardService {
|
|
7
|
-
private configService;
|
|
8
|
-
private pathToRegexp;
|
|
9
|
-
private win;
|
|
10
|
-
private tokenService;
|
|
11
|
-
private bis;
|
|
12
|
-
private menus;
|
|
13
|
-
private links;
|
|
14
|
-
private value;
|
|
15
|
-
constructor(configService: YunzaiConfigService, pathToRegexp: PathToRegexpService, win: any, tokenService: ITokenService);
|
|
16
|
-
process(url: string): boolean;
|
|
17
|
-
getAllLinks(menu: Menu[], links: Array<{
|
|
18
|
-
title: string;
|
|
19
|
-
link: string;
|
|
20
|
-
}>): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiAnalysisAddonGuardService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiAnalysisAddonGuardService>;
|
|
23
|
-
}
|
|
24
|
-
export declare const analysisAddonCanActive: CanActivateFn;
|
|
25
|
-
export declare const analysisAddonCanActiveChild: CanActivateChildFn;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './yunzai-clear-storage.component';
|
|
2
|
-
export * from './yunzai-fullscreen.component';
|
|
3
|
-
export * from './yunzai-notify.component';
|
|
4
|
-
export * from './yunzai-i18n.component';
|
|
5
|
-
export * from './yunzai-user.component';
|
|
6
|
-
export * from './yunzai-widget.module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class YunzaiHeaderClearStorageComponent {
|
|
3
|
-
private readonly modalSrv;
|
|
4
|
-
private readonly messageSrv;
|
|
5
|
-
_click(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderClearStorageComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderClearStorageComponent, "yunzai-header-clear-storage", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class YunzaiHeaderFullScreenComponent {
|
|
3
|
-
status: boolean;
|
|
4
|
-
_resize(): void;
|
|
5
|
-
_click(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderFullScreenComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderFullScreenComponent, "yunzai-header-fullscreen", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { YunzaiI18NType } from '@yelon/theme';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class YunzaiHeaderI18nComponent implements OnInit, OnDestroy {
|
|
5
|
-
private readonly settings;
|
|
6
|
-
private readonly i18n;
|
|
7
|
-
private readonly doc;
|
|
8
|
-
langs: YunzaiI18NType[];
|
|
9
|
-
private destroy$;
|
|
10
|
-
/** Whether to display language text */
|
|
11
|
-
showLangText: boolean;
|
|
12
|
-
get curLangCode(): string;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
change(lang: string): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderI18nComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderI18nComponent, "yunzai-header-i18n", never, { "showLangText": { "alias": "showLangText"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
-
static ngAcceptInputType_showLangText: unknown;
|
|
19
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Observable, Subscription } from 'rxjs';
|
|
3
|
-
import { NoticeIconSelect, NoticeItem } from '@yelon/abc/notice-icon';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class YunzaiHeaderNotifyComponent implements OnInit, OnDestroy {
|
|
6
|
-
private readonly i18n;
|
|
7
|
-
private readonly msg;
|
|
8
|
-
private readonly nzI18n;
|
|
9
|
-
private readonly cdr;
|
|
10
|
-
private readonly http;
|
|
11
|
-
private readonly win;
|
|
12
|
-
loading: boolean;
|
|
13
|
-
count: number;
|
|
14
|
-
subs: Subscription[];
|
|
15
|
-
data: NoticeItem[];
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
loadData(): void;
|
|
18
|
-
loadMessage(): Observable<void>;
|
|
19
|
-
loadTodo(): Observable<void>;
|
|
20
|
-
clear(type: string): void;
|
|
21
|
-
select(res: NoticeIconSelect): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderNotifyComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderNotifyComponent, "yunzai-header-notify", never, {}, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface UserLink {
|
|
4
|
-
icon: string;
|
|
5
|
-
name: string;
|
|
6
|
-
url: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class YunzaiHeaderUserComponent implements OnInit {
|
|
9
|
-
private readonly msg;
|
|
10
|
-
private readonly tokenService;
|
|
11
|
-
private readonly configService;
|
|
12
|
-
private readonly config;
|
|
13
|
-
private readonly win;
|
|
14
|
-
icon: string;
|
|
15
|
-
username: string;
|
|
16
|
-
menus: UserLink[];
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
logout(): void;
|
|
19
|
-
to(href: string): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderUserComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderUserComponent, "yunzai-header-user", never, {}, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "ng-zorro-antd/avatar";
|
|
3
|
-
import * as i2 from "@angular/router";
|
|
4
|
-
import * as i3 from "@yelon/abc/notice-icon";
|
|
5
|
-
import * as i4 from "ng-zorro-antd/dropdown";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "ng-zorro-antd/icon";
|
|
8
|
-
import * as i7 from "@yelon/theme";
|
|
9
|
-
import * as i8 from "./yunzai-clear-storage.component";
|
|
10
|
-
import * as i9 from "./yunzai-fullscreen.component";
|
|
11
|
-
import * as i10 from "./yunzai-notify.component";
|
|
12
|
-
import * as i11 from "./yunzai-i18n.component";
|
|
13
|
-
import * as i12 from "./yunzai-user.component";
|
|
14
|
-
export declare class YunzaiWidgetsModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiWidgetsModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiWidgetsModule, never, [typeof i1.NzAvatarModule, typeof i2.RouterModule, typeof i3.NoticeIconModule, typeof i4.NzDropDownModule, typeof i5.CommonModule, typeof i6.NzIconModule, typeof i7.I18nPipe, typeof i8.YunzaiHeaderClearStorageComponent, typeof i9.YunzaiHeaderFullScreenComponent, typeof i10.YunzaiHeaderNotifyComponent, typeof i11.YunzaiHeaderI18nComponent, typeof i12.YunzaiHeaderUserComponent], [typeof i8.YunzaiHeaderClearStorageComponent, typeof i9.YunzaiHeaderFullScreenComponent, typeof i10.YunzaiHeaderNotifyComponent, typeof i11.YunzaiHeaderI18nComponent, typeof i12.YunzaiHeaderUserComponent]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiWidgetsModule>;
|
|
18
|
-
}
|