@ebuilding/runtime 3.1.7 → 3.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.
@@ -1,4 +1,4 @@
1
- import { UserCenterMessageItem, UserCenterNoticeItem, UserCenterWaitingItem } from '@ebuilding/base/shared.srv/user-center.service';
1
+ import { UserCenterMessageItem, UserCenterNoticeItem, UserCenterWaitingItem, UserCenterAttachment } from '@ebuilding/base/shared.srv/user-center.service';
2
2
  import { UserCenterType } from '../user-center.constants';
3
3
  import * as i0 from "@angular/core";
4
4
  type UserCenterDetail = UserCenterMessageItem & Partial<UserCenterWaitingItem> & Partial<UserCenterNoticeItem>;
@@ -15,15 +15,22 @@ export declare class UserCenterDetailComponent {
15
15
  acknowledging: boolean;
16
16
  detail: UserCenterDetail | null;
17
17
  detailType: UserCenterType;
18
+ loadError: string;
18
19
  set config(value: UserCenterDetailConfig | null);
19
20
  content(): string;
20
21
  isRichContent(): boolean;
21
22
  time(): string | undefined;
22
23
  needAcknowledge(): boolean;
24
+ attachments(): UserCenterAttachment[];
25
+ downloadAttachment(attachment: UserCenterAttachment): void;
23
26
  acknowledge(): void;
24
27
  hasActionUrl(): boolean;
25
28
  goToBusiness(): void;
26
29
  private load;
30
+ private loadMessage;
31
+ private validateSourceNotice;
32
+ private completeLoad;
33
+ private showLoadError;
27
34
  private recordRead;
28
35
  private internalRoute;
29
36
  static ɵfac: i0.ɵɵFactoryDeclaration<UserCenterDetailComponent, never>;