@posiwise/shared-components 0.0.108 → 0.0.110
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/esm2022/lib/ab-test/ab-test-container/ab-test-container.component.mjs +1 -1
- package/esm2022/lib/autheticator/authenticator.component.mjs +1 -2
- package/esm2022/lib/custom-uploader/custom-uploader.component.mjs +4 -4
- package/esm2022/lib/geo-template/geo-template.component.mjs +1 -1
- package/esm2022/lib/header/header.component.mjs +4 -4
- package/esm2022/lib/image-cropper/image-cropper.component.mjs +3 -3
- package/esm2022/lib/input-container/input-container.component.mjs +5 -5
- package/esm2022/lib/label-management/entity-group/entity-group.component.mjs +5 -7
- package/esm2022/lib/label-management/group-definition/group-definition.component.mjs +4 -6
- package/esm2022/lib/label-management/groups/groups.component.mjs +4 -6
- package/esm2022/lib/landing-page-footer-b/landing-page-footer-b.component.mjs +3 -3
- package/esm2022/lib/no-data/no-data.component.mjs +4 -4
- package/esm2022/lib/number-picker/number-picker.component.mjs +24 -27
- package/esm2022/lib/password-validation/password-validation.component.mjs +1 -1
- package/esm2022/lib/permission-tree/permission-tree.component.mjs +4 -6
- package/esm2022/lib/privacy-and-tos/privacy-and-tos.component.mjs +27 -18
- package/esm2022/lib/privacy-policy/privacy-policy.component.mjs +2 -2
- package/esm2022/lib/splash/splash.component.mjs +1 -1
- package/esm2022/lib/terms-conditions/terms-conditions.component.mjs +3 -3
- package/fesm2022/posiwise-shared-components.mjs +80 -77
- package/fesm2022/posiwise-shared-components.mjs.map +1 -1
- package/lib/ab-test/ab-test-container/ab-test-container.component.d.ts +1 -1
- package/lib/autheticator/authenticator.component.d.ts +1 -1
- package/lib/custom-uploader/custom-uploader.component.d.ts +2 -2
- package/lib/geo-template/geo-template.component.d.ts +1 -1
- package/lib/header/header.component.d.ts +1 -1
- package/lib/image-cropper/image-cropper.component.d.ts +1 -1
- package/lib/input-container/input-container.component.d.ts +1 -1
- package/lib/label-management/entity-group/entity-group.component.d.ts +5 -7
- package/lib/label-management/group-definition/group-definition.component.d.ts +6 -8
- package/lib/label-management/groups/groups.component.d.ts +6 -9
- package/lib/landing-page-footer-b/landing-page-footer-b.component.d.ts +1 -1
- package/lib/number-picker/number-picker.component.d.ts +1 -2
- package/lib/password-validation/password-validation.component.d.ts +1 -1
- package/lib/permission-tree/permission-tree.component.d.ts +1 -1
- package/lib/privacy-and-tos/privacy-and-tos.component.d.ts +5 -3
- package/lib/terms-conditions/terms-conditions.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { Experiment } from '../ab-test.interface';
|
|
|
3
3
|
import { AbTestService } from '@posiwise/common-services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AbTestContainerComponent implements OnInit {
|
|
6
|
-
private service;
|
|
6
|
+
private readonly service;
|
|
7
7
|
experimentName: string;
|
|
8
8
|
serviceInput: string;
|
|
9
9
|
data: Experiment;
|
|
@@ -3,7 +3,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
3
3
|
import { AuthService } from '@posiwise/common-services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AuthenticatorComponent extends AppBaseComponent implements OnInit {
|
|
6
|
-
private authService;
|
|
6
|
+
private readonly authService;
|
|
7
7
|
token: string;
|
|
8
8
|
constructor(authService: AuthService, injector: Injector);
|
|
9
9
|
ngOnInit(): void;
|
|
@@ -3,8 +3,8 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CustomUploaderComponent extends AppBaseComponent {
|
|
6
|
-
private modalService;
|
|
7
|
-
private document;
|
|
6
|
+
private readonly modalService;
|
|
7
|
+
private readonly document;
|
|
8
8
|
saveEvent: EventEmitter<{
|
|
9
9
|
file: string;
|
|
10
10
|
name: string;
|
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { GeoService } from '@posiwise/common-services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GeoTemplateComponent implements OnInit {
|
|
5
|
-
private geoService;
|
|
5
|
+
private readonly geoService;
|
|
6
6
|
data: object;
|
|
7
7
|
constructor(geoService: GeoService);
|
|
8
8
|
ngOnInit(): void;
|
|
@@ -3,7 +3,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
3
3
|
import { AuthService } from '@posiwise/common-services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class HeaderComponent extends AppBaseComponent {
|
|
6
|
-
private authService;
|
|
6
|
+
private readonly authService;
|
|
7
7
|
loggedIn: boolean;
|
|
8
8
|
constructor(injector: Injector, authService: AuthService);
|
|
9
9
|
landing: boolean;
|
|
@@ -2,7 +2,7 @@ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { ImageCroppedEvent, ImageTransform } from 'ngx-image-cropper';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ProfileImageCropperComponent {
|
|
5
|
-
private cdr;
|
|
5
|
+
private readonly cdr;
|
|
6
6
|
imageChangedEvent: Event | string;
|
|
7
7
|
croppedImage: string;
|
|
8
8
|
imageSelectionEvent: EventEmitter<string>;
|
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl, ControlContainer } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class InputContainerComponent implements OnInit {
|
|
5
|
-
private controlContainer;
|
|
5
|
+
private readonly controlContainer;
|
|
6
6
|
control: AbstractControl;
|
|
7
7
|
name: string;
|
|
8
8
|
label: string;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
5
|
-
import { User } from '@posiwise/common-utilities';
|
|
6
|
-
import { GroupService } from '@posiwise/common-services';
|
|
7
|
-
import { SubscriptionService } from '@posiwise/common-services';
|
|
8
4
|
import { EnrolledUser, SharedModalContext } from '../../shared/shared-component.interface';
|
|
5
|
+
import { Subscription, User } from '@posiwise/common-utilities';
|
|
6
|
+
import { GroupService, SubscriptionService } from '@posiwise/common-services';
|
|
9
7
|
import * as i0 from "@angular/core";
|
|
10
8
|
export declare class EntityGroupComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
11
|
-
private groupService;
|
|
12
|
-
private subscriptionService;
|
|
13
|
-
private modalService;
|
|
9
|
+
private readonly groupService;
|
|
10
|
+
private readonly subscriptionService;
|
|
11
|
+
private readonly modalService;
|
|
14
12
|
content: TemplateRef<SharedModalContext>;
|
|
15
13
|
entityId: number;
|
|
16
14
|
selectedGroup: {
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
3
|
import { User } from '@posiwise/common-utilities';
|
|
5
|
-
import {
|
|
6
|
-
import { GroupService } from '@posiwise/common-services';
|
|
7
|
-
import { SubscriptionService } from '@posiwise/common-services';
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { SubscriptionService, GroupService, DataService } from '@posiwise/common-services';
|
|
8
6
|
import { EnrolledUser } from '../../shared/shared-component.interface';
|
|
9
7
|
import * as i0 from "@angular/core";
|
|
10
8
|
export declare class GroupDefinitionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
11
|
-
private groupService;
|
|
12
|
-
private fb;
|
|
13
|
-
private subscriptionService;
|
|
14
|
-
private data;
|
|
9
|
+
private readonly groupService;
|
|
10
|
+
private readonly fb;
|
|
11
|
+
private readonly subscriptionService;
|
|
12
|
+
private readonly data;
|
|
15
13
|
subscriptions: any[];
|
|
16
14
|
message: number;
|
|
17
15
|
groupDefinition: object[];
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
5
|
-
import {
|
|
6
|
-
import { DataService } from '@posiwise/common-services';
|
|
7
|
-
import { GroupService } from '@posiwise/common-services';
|
|
8
|
-
import { SubscriptionService } from '@posiwise/common-services';
|
|
4
|
+
import { Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
+
import { GroupService, DataService, SubscriptionService } from '@posiwise/common-services';
|
|
9
6
|
import { Group } from '../../shared/shared-component.interface';
|
|
10
7
|
import * as i0 from "@angular/core";
|
|
11
8
|
export declare class GroupsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
|
-
private fb;
|
|
13
|
-
private groupService;
|
|
14
|
-
private subscriptionService;
|
|
15
|
-
private dataService;
|
|
9
|
+
private readonly fb;
|
|
10
|
+
private readonly groupService;
|
|
11
|
+
private readonly subscriptionService;
|
|
12
|
+
private readonly dataService;
|
|
16
13
|
message: number;
|
|
17
14
|
submitted: boolean;
|
|
18
15
|
isGroupOperations: boolean;
|
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { AuthService } from '@posiwise/common-services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LandingPageFooterBComponent implements OnInit {
|
|
5
|
-
private authService;
|
|
5
|
+
private readonly authService;
|
|
6
6
|
isBrowserAccess: boolean;
|
|
7
7
|
currentDate: Date;
|
|
8
8
|
constructor(authService: AuthService);
|
|
@@ -3,7 +3,7 @@ import { CustomClasses, buttonsOrientationType, sizeType } from './number-picker
|
|
|
3
3
|
import { NumberPickerService } from '@posiwise/common-services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NumberPickerComponent implements OnInit {
|
|
6
|
-
private numberPickerService;
|
|
6
|
+
private readonly numberPickerService;
|
|
7
7
|
private precision;
|
|
8
8
|
private eventHolder;
|
|
9
9
|
private countInterval;
|
|
@@ -57,7 +57,6 @@ export declare class NumberPickerComponent implements OnInit {
|
|
|
57
57
|
private afterMouseUp;
|
|
58
58
|
private afterPick;
|
|
59
59
|
private clearTimers;
|
|
60
|
-
private afterArrowKeysPressed;
|
|
61
60
|
private parseVal;
|
|
62
61
|
private getPrecision;
|
|
63
62
|
private round;
|
|
@@ -4,7 +4,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
4
4
|
import { SharedModalContext } from '../shared/shared-component.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PasswordValidationComponent extends AppBaseComponent {
|
|
7
|
-
private modal;
|
|
7
|
+
private readonly modal;
|
|
8
8
|
content: TemplateRef<SharedModalContext>;
|
|
9
9
|
successEvent: EventEmitter<boolean>;
|
|
10
10
|
password: string;
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/co
|
|
|
2
2
|
import { PermissionTreeData } from '../shared/shared-component.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PermissionTreeComponent implements AfterViewInit, OnChanges {
|
|
5
|
-
private _element;
|
|
5
|
+
private readonly _element;
|
|
6
6
|
data: PermissionTreeData;
|
|
7
7
|
private _$tree;
|
|
8
8
|
private _createdTreeBefore;
|
|
@@ -5,9 +5,9 @@ import { User } from '@posiwise/common-utilities';
|
|
|
5
5
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class PrivacyAndTosComponent extends AppBaseComponent implements OnInit {
|
|
8
|
-
private adminService;
|
|
9
|
-
private document;
|
|
10
|
-
private sanitizer;
|
|
8
|
+
private readonly adminService;
|
|
9
|
+
private readonly document;
|
|
10
|
+
private readonly sanitizer;
|
|
11
11
|
productId: number;
|
|
12
12
|
isPublic: boolean;
|
|
13
13
|
id: string;
|
|
@@ -28,6 +28,8 @@ export declare class PrivacyAndTosComponent extends AppBaseComponent implements
|
|
|
28
28
|
constructor(adminService: AdminService, injector: Injector, document: Document, sanitizer: DomSanitizer);
|
|
29
29
|
ngOnInit(): void;
|
|
30
30
|
private getSubscribedProduct;
|
|
31
|
+
fetchUserSubscriptions(userId: any, id?: any): void;
|
|
32
|
+
private findRequiredProducts;
|
|
31
33
|
private getTosDetails;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyAndTosComponent, never>;
|
|
33
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyAndTosComponent, "pw-privacy-and-tos", never, { "productId": { "alias": "productId"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { AppConfigService } from '@posiwise/app-config-service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TermsConditionsComponent implements OnInit {
|
|
5
|
-
private appConfigService;
|
|
5
|
+
private readonly appConfigService;
|
|
6
6
|
isPublic: boolean;
|
|
7
7
|
company_name: string;
|
|
8
8
|
company_number: string;
|