@posiwise/public-modules 0.1.24 → 0.1.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/public-modules",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.2.0",
6
6
  "@angular/core": "^22.2.0",
@@ -999,6 +999,13 @@ interface SupportContact {
999
999
  declare function buildAddress(company: SupportCompany | null | undefined): string;
1000
1000
  declare function toTelHref(phone: string): string;
1001
1001
  declare function buildSupportContact(company: SupportCompany | null | undefined): SupportContact;
1002
+ interface ServiceStatus {
1003
+ state: 'checking' | 'operational' | 'incidents' | 'unknown';
1004
+ count: number;
1005
+ }
1006
+ declare function serviceStatusFrom(res: {
1007
+ open_incidents?: unknown[];
1008
+ } | null): ServiceStatus;
1002
1009
  interface HelpPath {
1003
1010
  icon: string;
1004
1011
  key: string;
@@ -1015,10 +1022,12 @@ export declare class SupportPublicComponent extends AppBaseComponent {
1015
1022
  readonly checklist: string[];
1016
1023
  contact: SupportContact;
1017
1024
  copied: boolean;
1025
+ status: ServiceStatus;
1018
1026
  private readonly cdr;
1019
1027
  private copiedTimer;
1020
1028
  constructor(injector: Injector);
1021
1029
  get mailto(): string;
1030
+ private setStatus;
1022
1031
  copyEmail(): void;
1023
1032
  static ɵfac: i0.ɵɵFactoryDeclaration<SupportPublicComponent, never>;
1024
1033
  static ɵcmp: i0.ɵɵComponentDeclaration<SupportPublicComponent, "pw-support-public", never, {}, {}, never, never, true, never>;