@posiwise/public-modules 0.1.7 → 0.1.9
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
|
@@ -2,25 +2,25 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnInit, AfterViewInit, ChangeDetectorRef, Injector, OnDestroy, ElementRef } from '@angular/core';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
4
|
import { AuthService, CommonService, MainApiHttpService, GeoService, CustomToastService, AbTestService } from '@posiwise/common-services';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i30 from '@angular/forms';
|
|
6
6
|
import { UntypedFormBuilder, UntypedFormGroup, NgForm } from '@angular/forms';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i38 from '@posiwise/shared-components';
|
|
8
8
|
import { ConfirmDialogService } from '@posiwise/shared-components';
|
|
9
9
|
import * as i3 from '@angular/common';
|
|
10
10
|
import { Location } from '@angular/common';
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
11
|
+
import * as i19 from 'ngx-pagination';
|
|
12
|
+
import * as i32 from '@posiwise/core-transloco';
|
|
13
|
+
import * as i33 from '@posiwise/directives';
|
|
14
|
+
import * as i35 from 'ngx-captcha';
|
|
15
|
+
import * as i24 from '@ng-bootstrap/ng-bootstrap';
|
|
16
|
+
import * as i31 from '@angular/router';
|
|
17
17
|
import { Router } from '@angular/router';
|
|
18
18
|
import { COUNTRIES_CODE, GaEvent, User } from '@posiwise/common-utilities';
|
|
19
19
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import {
|
|
23
|
-
import * as
|
|
20
|
+
import * as i34 from '@posiwise/pipes';
|
|
21
|
+
import * as i36 from '@posiwise/utils';
|
|
22
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
23
|
+
import * as i15 from '@posiwise/resource-contact-us';
|
|
24
24
|
|
|
25
25
|
declare class CareersComponent extends AppBaseComponent implements OnInit, AfterViewInit {
|
|
26
26
|
private readonly authService;
|
|
@@ -90,9 +90,23 @@ declare abstract class BaseTechFeatureComponent extends AppBaseComponent impleme
|
|
|
90
90
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseTechFeatureComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
interface Pillar {
|
|
94
|
+
idx: string;
|
|
95
|
+
label: string;
|
|
96
|
+
body: string;
|
|
97
|
+
short: string;
|
|
98
|
+
}
|
|
99
|
+
interface TrustCriterion {
|
|
100
|
+
idx: string;
|
|
101
|
+
label: string;
|
|
102
|
+
body: string;
|
|
103
|
+
}
|
|
93
104
|
declare class CoreFeaturesComponent extends BaseTechFeatureComponent {
|
|
94
105
|
protected readonly authService: AuthService;
|
|
95
|
-
|
|
106
|
+
private readonly document;
|
|
107
|
+
readonly pillars: Pillar[];
|
|
108
|
+
readonly trustCriteria: TrustCriterion[];
|
|
109
|
+
constructor(authService: AuthService, cdr: ChangeDetectorRef, injector: Injector, document: Document);
|
|
96
110
|
protected getSubjectText(): string;
|
|
97
111
|
protected getSourceId(): number;
|
|
98
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreFeaturesComponent, never>;
|
|
@@ -182,21 +196,24 @@ declare class UiBuilderComponent extends BaseTechFeatureComponent {
|
|
|
182
196
|
declare class VentureComponent extends AppBaseComponent implements OnInit, AfterViewInit {
|
|
183
197
|
private readonly authService;
|
|
184
198
|
private readonly cdr;
|
|
185
|
-
|
|
186
|
-
productKey: string;
|
|
199
|
+
private readonly document;
|
|
187
200
|
landing: boolean;
|
|
188
|
-
|
|
189
|
-
sourceId: number;
|
|
190
|
-
constructor(authService: AuthService, cdr: ChangeDetectorRef, injector: Injector);
|
|
201
|
+
constructor(authService: AuthService, cdr: ChangeDetectorRef, injector: Injector, document: Document);
|
|
191
202
|
ngOnInit(): void;
|
|
192
203
|
ngAfterViewInit(): void;
|
|
204
|
+
pitchUs(): void;
|
|
193
205
|
static ɵfac: i0.ɵɵFactoryDeclaration<VentureComponent, never>;
|
|
194
206
|
static ɵcmp: i0.ɵɵComponentDeclaration<VentureComponent, "pw-venture", never, {}, {}, never, never, false, never>;
|
|
195
207
|
}
|
|
196
208
|
|
|
197
|
-
declare class
|
|
198
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
199
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
209
|
+
declare class VenturePitchComponent {
|
|
210
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VenturePitchComponent, never>;
|
|
211
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VenturePitchComponent, "pw-venture-pitch", never, {}, {}, never, never, false, never>;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
declare class VentureMethodComponent {
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VentureMethodComponent, never>;
|
|
216
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VentureMethodComponent, "pw-venture-method", never, {}, {}, never, never, false, never>;
|
|
200
217
|
}
|
|
201
218
|
|
|
202
219
|
declare class LandingPageAboutUsComponent {
|
|
@@ -403,14 +420,7 @@ declare class LandingPageInnovateBComponent {
|
|
|
403
420
|
static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageInnovateBComponent, "pw-landing-page-innovate-b", never, {}, {}, never, never, false, never>;
|
|
404
421
|
}
|
|
405
422
|
|
|
406
|
-
declare class LandingPageOurProductsBComponent
|
|
407
|
-
private readonly document;
|
|
408
|
-
productsList: ElementRef;
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
*/
|
|
412
|
-
constructor(document: Document);
|
|
413
|
-
ngAfterViewInit(): void;
|
|
423
|
+
declare class LandingPageOurProductsBComponent {
|
|
414
424
|
static ɵfac: i0.ɵɵFactoryDeclaration<LandingPageOurProductsBComponent, never>;
|
|
415
425
|
static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageOurProductsBComponent, "pw-landing-page-our-products-b", never, {}, {}, never, never, false, never>;
|
|
416
426
|
}
|
|
@@ -454,6 +464,11 @@ declare class LandingPageTestimonialsBComponent {
|
|
|
454
464
|
static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageTestimonialsBComponent, "pw-landing-page-testimonials-b", never, {}, {}, never, never, false, never>;
|
|
455
465
|
}
|
|
456
466
|
|
|
467
|
+
declare class LandingPageWorkspacesBComponent {
|
|
468
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LandingPageWorkspacesBComponent, never>;
|
|
469
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageWorkspacesBComponent, "pw-landing-page-workspaces-b", never, {}, {}, never, never, false, never>;
|
|
470
|
+
}
|
|
471
|
+
|
|
457
472
|
declare class MainExplainerBComponent {
|
|
458
473
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainExplainerBComponent, never>;
|
|
459
474
|
static ɵcmp: i0.ɵɵComponentDeclaration<MainExplainerBComponent, "pw-main-explainer-b", never, {}, {}, never, never, false, never>;
|
|
@@ -517,13 +532,13 @@ declare class AbTestModule {
|
|
|
517
532
|
*/
|
|
518
533
|
declare class LandingPageSharedComponentsModule {
|
|
519
534
|
static ɵfac: i0.ɵɵFactoryDeclaration<LandingPageSharedComponentsModule, never>;
|
|
520
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LandingPageSharedComponentsModule, [typeof LandingPageAboutUsComponent, typeof LandingPageComponent, typeof LandingPageBannerComponent, typeof LandingPageChangeAdaptComponent, typeof LandingPageContactComponent, typeof LandingPageFooterComponent, typeof LandingPageHeaderComponent, typeof LandingPageInnovateComponent, typeof LandingPageOurProductsComponent, typeof LandingPageServicesComponent, typeof LandingPageSubscribeComponent, typeof LandingPageTeamComponent, typeof LandingPageTestimonialsComponent, typeof MainExplainerComponent, typeof LandingPageAboutUsBComponent, typeof LandingPageBannerBComponent, typeof LandingPageChangeAdaptBComponent, typeof LandingPageContactBComponent, typeof LandingPageHeaderBComponent, typeof LandingPageInnovateBComponent, typeof LandingPageOurProductsBComponent, typeof LandingPageServicesBComponent, typeof LandingPageSubscribeBComponent, typeof LandingPageTeamBComponent, typeof LandingPageTestimonialsBComponent, typeof MainExplainerBComponent, typeof GeoTemplateComponent], [typeof i3.CommonModule, typeof
|
|
535
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LandingPageSharedComponentsModule, [typeof LandingPageAboutUsComponent, typeof LandingPageComponent, typeof LandingPageBannerComponent, typeof LandingPageChangeAdaptComponent, typeof LandingPageContactComponent, typeof LandingPageFooterComponent, typeof LandingPageHeaderComponent, typeof LandingPageInnovateComponent, typeof LandingPageOurProductsComponent, typeof LandingPageServicesComponent, typeof LandingPageSubscribeComponent, typeof LandingPageTeamComponent, typeof LandingPageTestimonialsComponent, typeof MainExplainerComponent, typeof LandingPageAboutUsBComponent, typeof LandingPageBannerBComponent, typeof LandingPageChangeAdaptBComponent, typeof LandingPageContactBComponent, typeof LandingPageHeaderBComponent, typeof LandingPageInnovateBComponent, typeof LandingPageOurProductsBComponent, typeof LandingPageServicesBComponent, typeof LandingPageSubscribeBComponent, typeof LandingPageTeamBComponent, typeof LandingPageTestimonialsBComponent, typeof LandingPageWorkspacesBComponent, typeof MainExplainerBComponent, typeof GeoTemplateComponent], [typeof i3.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i31.RouterModule, typeof i32.CoreTranslocoModule, typeof i33.DirectivesModule, typeof i34.PipesModule, typeof i35.NgxCaptchaModule, typeof i36.FieldErrorDisplayModule, typeof AbTestModule, typeof i38.SharedComponentsModule], [typeof LandingPageAboutUsComponent, typeof LandingPageBannerComponent, typeof LandingPageComponent, typeof LandingPageChangeAdaptComponent, typeof LandingPageContactComponent, typeof LandingPageFooterComponent, typeof LandingPageHeaderComponent, typeof LandingPageInnovateComponent, typeof LandingPageOurProductsComponent, typeof LandingPageServicesComponent, typeof LandingPageSubscribeComponent, typeof LandingPageTeamComponent, typeof LandingPageTestimonialsComponent, typeof MainExplainerComponent, typeof LandingPageAboutUsBComponent, typeof LandingPageBannerBComponent, typeof LandingPageChangeAdaptBComponent, typeof LandingPageContactBComponent, typeof LandingPageHeaderBComponent, typeof LandingPageInnovateBComponent, typeof LandingPageOurProductsBComponent, typeof LandingPageServicesBComponent, typeof LandingPageSubscribeBComponent, typeof LandingPageTeamBComponent, typeof LandingPageTestimonialsBComponent, typeof LandingPageWorkspacesBComponent, typeof MainExplainerBComponent, typeof GeoTemplateComponent, typeof AbTestModule, typeof i31.RouterModule]>;
|
|
521
536
|
static ɵinj: i0.ɵɵInjectorDeclaration<LandingPageSharedComponentsModule>;
|
|
522
537
|
}
|
|
523
538
|
|
|
524
539
|
declare class PublicModule {
|
|
525
540
|
static ɵfac: i0.ɵɵFactoryDeclaration<PublicModule, never>;
|
|
526
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PublicModule, [typeof CareersComponent, typeof CareersContactUsComponent, typeof CareersExplainerComponent, typeof CoreFeaturesComponent, typeof CoreFeatureExplainerComponent, typeof SecurityComponent, typeof UserManagementComponent, typeof EnterpriseManagementComponent, typeof IpManagementComponent, typeof CustomerSuccessComponent, typeof PaymentsComponent, typeof CommunicationAndNotificationsComponent, typeof UiBuilderComponent, typeof VentureComponent, typeof
|
|
541
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PublicModule, [typeof CareersComponent, typeof CareersContactUsComponent, typeof CareersExplainerComponent, typeof CoreFeaturesComponent, typeof CoreFeatureExplainerComponent, typeof SecurityComponent, typeof UserManagementComponent, typeof EnterpriseManagementComponent, typeof IpManagementComponent, typeof CustomerSuccessComponent, typeof PaymentsComponent, typeof CommunicationAndNotificationsComponent, typeof UiBuilderComponent, typeof VentureComponent, typeof VenturePitchComponent, typeof VentureMethodComponent], [typeof i3.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i19.NgxPaginationModule, typeof i32.CoreTranslocoModule, typeof i33.DirectivesModule, typeof i38.SharedComponentsModule, typeof i35.NgxCaptchaModule, typeof i24.NgbNavModule, typeof LandingPageSharedComponentsModule], never>;
|
|
527
542
|
static ɵinj: i0.ɵɵInjectorDeclaration<PublicModule>;
|
|
528
543
|
}
|
|
529
544
|
|
|
@@ -536,28 +551,66 @@ declare class ErrorPageComponent implements OnInit {
|
|
|
536
551
|
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorPageComponent, "pw-error-page", never, {}, {}, never, never, false, never>;
|
|
537
552
|
}
|
|
538
553
|
|
|
554
|
+
interface IncidentLike {
|
|
555
|
+
id: number;
|
|
556
|
+
description: unknown;
|
|
557
|
+
service_impacted: string | null;
|
|
558
|
+
url_impacted: string | null;
|
|
559
|
+
started_at: string;
|
|
560
|
+
resolved_at: string | null;
|
|
561
|
+
}
|
|
562
|
+
interface HistoryGroup {
|
|
563
|
+
key: string;
|
|
564
|
+
label: string;
|
|
565
|
+
items: IncidentLike[];
|
|
566
|
+
}
|
|
567
|
+
interface DayCell {
|
|
568
|
+
date: Date;
|
|
569
|
+
iso: string;
|
|
570
|
+
impactedMinutes: number;
|
|
571
|
+
incidents: IncidentLike[];
|
|
572
|
+
severity: 'ok' | 'minor' | 'major';
|
|
573
|
+
}
|
|
574
|
+
interface UptimeStats {
|
|
575
|
+
uptimePct: number;
|
|
576
|
+
mttrMinutes: number | null;
|
|
577
|
+
lastIncidentAt: string | null;
|
|
578
|
+
totalIn90d: number;
|
|
579
|
+
incidentFreeDays: number;
|
|
580
|
+
days: DayCell[];
|
|
581
|
+
}
|
|
582
|
+
declare function calculateDuration(startedAt: string, resolvedAt: string | number): string;
|
|
583
|
+
declare function formatMttr(min: number | null): string;
|
|
584
|
+
declare function formatUptime(pct: number): string;
|
|
585
|
+
|
|
539
586
|
declare class IncidentsStatusComponent extends AppBaseComponent implements OnInit {
|
|
540
587
|
private readonly commonService;
|
|
541
588
|
private readonly authService;
|
|
542
589
|
private readonly sanitizer;
|
|
543
590
|
private readonly cdr;
|
|
591
|
+
private readonly document;
|
|
544
592
|
landing: boolean;
|
|
545
|
-
sanitizedDescription: SafeHtml;
|
|
546
593
|
logo: string;
|
|
547
594
|
openIncidents: any[];
|
|
548
595
|
pastIncidents: any[];
|
|
596
|
+
historyGroups: HistoryGroup[];
|
|
597
|
+
stats: UptimeStats | null;
|
|
549
598
|
p1: number;
|
|
550
|
-
p: number;
|
|
551
599
|
todayDate: number;
|
|
600
|
+
lastUpdated: number | null;
|
|
601
|
+
loading: boolean;
|
|
552
602
|
companyName: any;
|
|
553
603
|
loggedIn: boolean;
|
|
554
604
|
user: any;
|
|
555
605
|
product: any;
|
|
556
|
-
|
|
606
|
+
readonly calculateDuration: typeof calculateDuration;
|
|
607
|
+
readonly formatMttr: typeof formatMttr;
|
|
608
|
+
readonly formatUptime: typeof formatUptime;
|
|
609
|
+
constructor(injector: Injector, commonService: CommonService, authService: AuthService, sanitizer: DomSanitizer, cdr: ChangeDetectorRef, document: Document);
|
|
557
610
|
ngOnInit(): void;
|
|
558
611
|
getIncidents(): void;
|
|
612
|
+
get systemStatus(): 'operational' | 'investigating';
|
|
559
613
|
navigateToEdit(incident: any): void;
|
|
560
|
-
calculateDuration(startedAt: string, resolvedAt: string): string;
|
|
561
614
|
static ɵfac: i0.ɵɵFactoryDeclaration<IncidentsStatusComponent, never>;
|
|
562
615
|
static ɵcmp: i0.ɵɵComponentDeclaration<IncidentsStatusComponent, "pw-incidents-status", never, {}, {}, never, never, false, never>;
|
|
563
616
|
}
|
|
@@ -597,8 +650,8 @@ declare class ResourceMeetingsComponent extends AppBaseComponent implements OnIn
|
|
|
597
650
|
|
|
598
651
|
declare class ErrorStatusPagesModule {
|
|
599
652
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorStatusPagesModule, never>;
|
|
600
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ErrorStatusPagesModule, [typeof ErrorPageComponent, typeof IncidentsStatusComponent, typeof LockScreenPageComponent, typeof MaintenancePageComponent, typeof NotfoundPageComponent, typeof ResourceMeetingsComponent], [typeof i3.CommonModule, typeof
|
|
653
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ErrorStatusPagesModule, [typeof ErrorPageComponent, typeof IncidentsStatusComponent, typeof LockScreenPageComponent, typeof MaintenancePageComponent, typeof NotfoundPageComponent, typeof ResourceMeetingsComponent], [typeof i3.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i31.RouterModule, typeof i32.CoreTranslocoModule, typeof i19.NgxPaginationModule, typeof i24.NgbNavModule, typeof i36.ResourceHeaderModule, typeof i38.SharedComponentsModule, typeof i15.DemoCardsModule], [typeof ErrorPageComponent, typeof IncidentsStatusComponent, typeof LockScreenPageComponent, typeof MaintenancePageComponent, typeof NotfoundPageComponent, typeof ResourceMeetingsComponent]>;
|
|
601
654
|
static ɵinj: i0.ɵɵInjectorDeclaration<ErrorStatusPagesModule>;
|
|
602
655
|
}
|
|
603
656
|
|
|
604
|
-
export { AbAlternativeComponent, AbTestContainerComponent, AbTestModule, BaseContactFormComponent, BaseLandingPageComponent, CareersComponent, CareersContactUsComponent, CareersExplainerComponent, CommunicationAndNotificationsComponent, CoreFeatureExplainerComponent, CoreFeaturesComponent, CustomerSuccessComponent, EnterpriseManagementComponent, ErrorPageComponent, ErrorStatusPagesModule, GeoTemplateComponent, IncidentsStatusComponent, IpManagementComponent, LandingPageAboutUsBComponent, LandingPageAboutUsComponent, LandingPageBannerBComponent, LandingPageBannerComponent, LandingPageChangeAdaptBComponent, LandingPageChangeAdaptComponent, LandingPageComponent, LandingPageContactBComponent, LandingPageContactComponent, LandingPageFooterComponent, LandingPageHeaderBComponent, LandingPageHeaderComponent, LandingPageInnovateBComponent, LandingPageInnovateComponent, LandingPageOurProductsBComponent, LandingPageOurProductsComponent, LandingPageServicesBComponent, LandingPageServicesComponent, LandingPageSharedComponentsModule, LandingPageSubscribeBComponent, LandingPageSubscribeComponent, LandingPageTeamBComponent, LandingPageTeamComponent, LandingPageTestimonialsBComponent, LandingPageTestimonialsComponent, LockScreenPageComponent, MainExplainerBComponent, MainExplainerComponent, MaintenancePageComponent, NotfoundPageComponent, PaymentsComponent, PublicModule, ResourceMeetingsComponent, SecurityComponent, UiBuilderComponent, UserManagementComponent, VentureComponent,
|
|
657
|
+
export { AbAlternativeComponent, AbTestContainerComponent, AbTestModule, BaseContactFormComponent, BaseLandingPageComponent, CareersComponent, CareersContactUsComponent, CareersExplainerComponent, CommunicationAndNotificationsComponent, CoreFeatureExplainerComponent, CoreFeaturesComponent, CustomerSuccessComponent, EnterpriseManagementComponent, ErrorPageComponent, ErrorStatusPagesModule, GeoTemplateComponent, IncidentsStatusComponent, IpManagementComponent, LandingPageAboutUsBComponent, LandingPageAboutUsComponent, LandingPageBannerBComponent, LandingPageBannerComponent, LandingPageChangeAdaptBComponent, LandingPageChangeAdaptComponent, LandingPageComponent, LandingPageContactBComponent, LandingPageContactComponent, LandingPageFooterComponent, LandingPageHeaderBComponent, LandingPageHeaderComponent, LandingPageInnovateBComponent, LandingPageInnovateComponent, LandingPageOurProductsBComponent, LandingPageOurProductsComponent, LandingPageServicesBComponent, LandingPageServicesComponent, LandingPageSharedComponentsModule, LandingPageSubscribeBComponent, LandingPageSubscribeComponent, LandingPageTeamBComponent, LandingPageTeamComponent, LandingPageTestimonialsBComponent, LandingPageTestimonialsComponent, LandingPageWorkspacesBComponent, LockScreenPageComponent, MainExplainerBComponent, MainExplainerComponent, MaintenancePageComponent, NotfoundPageComponent, PaymentsComponent, PublicModule, ResourceMeetingsComponent, SecurityComponent, UiBuilderComponent, UserManagementComponent, VentureComponent, VentureMethodComponent, VenturePitchComponent };
|