@ebuilding/runtime 3.1.2 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,43 @@
1
+ import { OnInit, ElementRef } from '@angular/core';
2
+ import { UserCenterMessageItem, UserCenterNoticeItem, UserCenterWaitingItem } from '@ebuilding/base/shared.srv/user-center.service';
3
+ import { UserCenterType } from './user-center.constants';
4
+ import * as i0 from "@angular/core";
5
+ type UserCenterListItem = UserCenterMessageItem | UserCenterWaitingItem | UserCenterNoticeItem;
6
+ export declare class UserCenterMainComponent implements OnInit {
7
+ elementRef: ElementRef;
8
+ private readonly dialogService;
9
+ private readonly route;
10
+ private readonly router;
11
+ private readonly userCenter;
12
+ private readonly message;
13
+ readonly tabs: readonly UserCenterType[];
14
+ activeType: UserCenterType;
15
+ selectedIndex: number;
16
+ unreadOnly: boolean;
17
+ loading: boolean;
18
+ list: UserCenterListItem[];
19
+ keyWord: string;
20
+ pageIndex: number;
21
+ listTotal: number;
22
+ pageSize: number;
23
+ constructor(elementRef: ElementRef);
24
+ ngOnInit(): void;
25
+ deonTableContentHG: any;
26
+ resize(): void;
27
+ resizeTable(): void;
28
+ tabLabel(type: UserCenterType): string;
29
+ tabChanged(index: number): void;
30
+ unreadChanged(): void;
31
+ pageChanged(pageIndex: number): void;
32
+ queryClick(): void;
33
+ listPageIndexChange(pageIndex: number): void;
34
+ listPageSizeChange(pageSize: number): void;
35
+ displayContent(item: UserCenterListItem): string;
36
+ displayTime(item: UserCenterListItem): string | undefined;
37
+ openDetail(id: string): void;
38
+ private loadPage;
39
+ private isUserCenterType;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserCenterMainComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserCenterMainComponent, "user-center-main", never, {}, {}, never, never, true, never>;
42
+ }
43
+ export {};
@@ -0,0 +1,6 @@
1
+ export type UserCenterType = 'message' | 'waiting' | 'notice';
2
+ export interface UserCenterDefinition {
3
+ label: string;
4
+ }
5
+ export declare const USER_CENTER_DEFINITIONS: Record<UserCenterType, UserCenterDefinition>;
6
+ export declare const USER_CENTER_ORDER: readonly UserCenterType[];
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ import * as i2 from "./user-center-main.component";
4
+ export declare class UserCenterModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserCenterModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UserCenterModule, never, [typeof i1.RouterModule, typeof i2.UserCenterMainComponent], [typeof i1.RouterModule]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<UserCenterModule>;
8
+ }