@posiwise/shared-components 0.0.113 → 0.0.115
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 +2 -2
- package/esm2022/lib/clearbit-icon/clearbit-icon.component.mjs +2 -2
- package/esm2022/lib/custom-uploader/custom-uploader.component.mjs +2 -2
- package/esm2022/lib/image-cropper/image-cropper.component.mjs +1 -1
- package/esm2022/lib/label-management/entity-group/entity-group.component.mjs +4 -4
- package/esm2022/lib/label-management/group-definition/group-definition.component.mjs +4 -4
- package/esm2022/lib/label-management/groups/groups.component.mjs +11 -7
- package/esm2022/lib/no-data/no-data.component.mjs +2 -2
- package/esm2022/lib/number-picker/number-picker.component.mjs +1 -1
- package/esm2022/lib/password-validation/password-validation.component.mjs +3 -3
- package/esm2022/lib/permission-tree/permission-tree.component.mjs +1 -1
- package/esm2022/lib/privacy-and-tos/privacy-and-tos.component.mjs +2 -2
- package/esm2022/lib/privacy-policy/privacy-policy.component.mjs +1 -1
- package/esm2022/lib/pw-tabs/pw-tabs.component.mjs +2 -3
- package/esm2022/lib/range-date-picker/date-range-picker.component.mjs +1 -1
- package/esm2022/lib/shared-components.module.mjs +29 -29
- package/esm2022/lib/terms-conditions/terms-conditions.component.mjs +1 -1
- package/fesm2022/posiwise-shared-components.mjs +1009 -1006
- 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/clearbit-icon/clearbit-icon.component.d.ts +1 -1
- package/lib/custom-uploader/custom-uploader.component.d.ts +1 -1
- package/lib/image-cropper/image-cropper.component.d.ts +1 -1
- package/lib/label-management/entity-group/entity-group.component.d.ts +10 -10
- package/lib/label-management/group-definition/group-definition.component.d.ts +2 -2
- package/lib/label-management/groups/groups.component.d.ts +14 -14
- package/lib/no-data/no-data.component.d.ts +2 -1
- package/lib/number-picker/number-picker.component.d.ts +1 -1
- package/lib/password-validation/password-validation.component.d.ts +1 -1
- package/lib/privacy-and-tos/privacy-and-tos.component.d.ts +4 -4
- package/lib/pw-tabs/pw-tabs.component.d.ts +1 -1
- package/lib/range-date-picker/date-range-picker.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Experiment } from '../ab-test.interface';
|
|
3
2
|
import { AbTestService } from '@posiwise/common-services';
|
|
3
|
+
import { Experiment } from '../ab-test.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AbTestContainerComponent implements OnInit {
|
|
6
6
|
private readonly service;
|
|
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class ClearBitIconComponent implements OnChanges {
|
|
4
4
|
src: any;
|
|
5
5
|
altText: string;
|
|
6
|
-
clearBitSrc: any;
|
|
7
6
|
dummyPath: string;
|
|
7
|
+
clearBitSrc: any;
|
|
8
8
|
ngOnChanges(simple: SimpleChanges): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClearBitIconComponent, never>;
|
|
10
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClearBitIconComponent, "pw-clearbit-icon", never, { "src": { "alias": "src"; "required": false; }; "altText": { "alias": "altText"; "required": false; }; "dummyPath": { "alias": "dummyPath"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, Injector } from '@angular/core';
|
|
2
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CustomUploaderComponent extends AppBaseComponent {
|
|
6
6
|
private readonly modalService;
|
|
@@ -8,11 +8,11 @@ export declare class ProfileImageCropperComponent {
|
|
|
8
8
|
imageSelectionEvent: EventEmitter<string>;
|
|
9
9
|
closeEvent: EventEmitter<void>;
|
|
10
10
|
fileChangeEvent: EventEmitter<string>;
|
|
11
|
-
busy: boolean;
|
|
12
11
|
aspectRatio: string;
|
|
13
12
|
transform: ImageTransform;
|
|
14
13
|
canvasRotation: number;
|
|
15
14
|
showCropper: boolean;
|
|
15
|
+
busy: boolean;
|
|
16
16
|
constructor(cdr: ChangeDetectorRef);
|
|
17
17
|
onFileChange(event: Event): void;
|
|
18
18
|
imageCropped(event: ImageCroppedEvent): void;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { EnrolledUser, SharedModalContext } from '../../shared/shared-component.interface';
|
|
5
|
-
import { Subscription, User } from '@posiwise/common-utilities';
|
|
6
3
|
import { GroupService, SubscriptionService } from '@posiwise/common-services';
|
|
4
|
+
import { Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
|
+
import { EnrolledUser, SharedModalContext } from '../../shared/shared-component.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class EntityGroupComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
9
|
private readonly groupService;
|
|
10
10
|
private readonly subscriptionService;
|
|
11
11
|
private readonly modalService;
|
|
12
12
|
content: TemplateRef<SharedModalContext>;
|
|
13
|
+
subscription: Subscription;
|
|
14
|
+
subscriptionId: number;
|
|
15
|
+
user: User;
|
|
16
|
+
userId: number;
|
|
13
17
|
entityId: number;
|
|
14
18
|
selectedGroup: {
|
|
15
19
|
name: string;
|
|
16
20
|
};
|
|
17
|
-
subscriptionId: number;
|
|
18
21
|
subscriptionMembers: any[];
|
|
19
22
|
subscribedMembers: any[];
|
|
20
23
|
filteredMembers: any[];
|
|
21
24
|
selectedMembers: any[];
|
|
22
|
-
|
|
25
|
+
enrolledUsers: EnrolledUser[];
|
|
23
26
|
admins: any[];
|
|
24
27
|
subscriptionInfo: any[];
|
|
25
28
|
subscriptionOwner: number;
|
|
26
|
-
enrolledUsers: EnrolledUser[];
|
|
27
|
-
user: User;
|
|
28
|
-
userId: number;
|
|
29
|
-
isLoaded: boolean;
|
|
30
|
-
subscription: Subscription;
|
|
31
29
|
chatPermission: string;
|
|
30
|
+
isLoaded: boolean;
|
|
31
|
+
hasAccess: boolean;
|
|
32
32
|
constructor(groupService: GroupService, subscriptionService: SubscriptionService, modalService: NgbModal, injector: Injector);
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
search(event: any): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { User } from '@posiwise/common-utilities';
|
|
4
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import {
|
|
4
|
+
import { DataService, GroupService, SubscriptionService } from '@posiwise/common-services';
|
|
5
|
+
import { User } from '@posiwise/common-utilities';
|
|
6
6
|
import { EnrolledUser } from '../../shared/shared-component.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class GroupDefinitionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { DataService, GroupService, SubscriptionService } from '@posiwise/common-services';
|
|
4
5
|
import { Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { GroupService, DataService, SubscriptionService } from '@posiwise/common-services';
|
|
6
6
|
import { Group } from '../../shared/shared-component.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class GroupsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
@@ -10,17 +10,19 @@ export declare class GroupsComponent extends AppBaseComponent implements OnInit,
|
|
|
10
10
|
private readonly groupService;
|
|
11
11
|
private readonly subscriptionService;
|
|
12
12
|
private readonly dataService;
|
|
13
|
+
private groupsData;
|
|
14
|
+
subscription: Subscription;
|
|
13
15
|
message: number;
|
|
14
|
-
submitted: boolean;
|
|
15
|
-
isGroupOperations: boolean;
|
|
16
|
-
isGroupEdit: boolean;
|
|
17
|
-
form: UntypedFormGroup;
|
|
18
|
-
allGroups: Group[];
|
|
19
16
|
id: number;
|
|
17
|
+
group_id: number;
|
|
18
|
+
form: UntypedFormGroup;
|
|
20
19
|
description: string;
|
|
21
20
|
name: string;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
allGroups: Group[];
|
|
22
|
+
groupDefinition: {
|
|
23
|
+
name: string;
|
|
24
|
+
groups: IterableIterator<object>;
|
|
25
|
+
}[];
|
|
24
26
|
admins: any[];
|
|
25
27
|
subscriptionInfo: any[];
|
|
26
28
|
subscriptionOwner: number;
|
|
@@ -29,15 +31,13 @@ export declare class GroupsComponent extends AppBaseComponent implements OnInit,
|
|
|
29
31
|
id: number;
|
|
30
32
|
}[];
|
|
31
33
|
user: User;
|
|
34
|
+
submitted: boolean;
|
|
32
35
|
viewEdit: boolean;
|
|
33
36
|
buttonBusy: boolean;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}[];
|
|
38
|
-
private groupsData;
|
|
37
|
+
isGroupOperations: boolean;
|
|
38
|
+
isGroupEdit: boolean;
|
|
39
|
+
hasAccess: boolean;
|
|
39
40
|
isLoaded: boolean;
|
|
40
|
-
subscription: Subscription;
|
|
41
41
|
constructor(fb: UntypedFormBuilder, groupService: GroupService, subscriptionService: SubscriptionService, dataService: DataService, injector: Injector);
|
|
42
42
|
ngOnInit(): void;
|
|
43
43
|
/** Function to save group */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { CustomClasses, buttonsOrientationType, sizeType } from './number-picker.config';
|
|
3
2
|
import { NumberPickerService } from '@posiwise/common-services';
|
|
3
|
+
import { buttonsOrientationType, CustomClasses, sizeType } from './number-picker.config';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NumberPickerComponent implements OnInit {
|
|
6
6
|
private readonly numberPickerService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, Injector, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
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 {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
2
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
5
|
import { User } from '@posiwise/common-utilities';
|
|
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
8
|
private readonly adminService;
|
|
9
9
|
private readonly document;
|
|
10
10
|
private readonly sanitizer;
|
|
11
11
|
productId: number;
|
|
12
|
-
|
|
12
|
+
private privacyAndTos;
|
|
13
13
|
id: string;
|
|
14
14
|
data: {
|
|
15
15
|
privacy: '';
|
|
@@ -21,9 +21,9 @@ export declare class PrivacyAndTosComponent extends AppBaseComponent implements
|
|
|
21
21
|
}[];
|
|
22
22
|
}[];
|
|
23
23
|
product: string;
|
|
24
|
-
tabId: string;
|
|
25
24
|
productName: string;
|
|
26
|
-
|
|
25
|
+
tabId: string;
|
|
26
|
+
isPublic: boolean;
|
|
27
27
|
isLoaded: boolean;
|
|
28
28
|
constructor(adminService: AdminService, injector: Injector, document: Document, sanitizer: DomSanitizer);
|
|
29
29
|
ngOnInit(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
2
3
|
import { MenuItem } from 'primeng/api';
|
|
3
4
|
import { TabMenu } from 'primeng/tabmenu';
|
|
4
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PwTabsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
7
|
items: MenuItem[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import moment from 'moment';
|
|
3
3
|
import { DaterangepickerDirective } from 'ngx-daterangepicker-material';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateRangePickerComponent {
|
|
5
|
+
export declare class DateRangePickerComponent implements AfterViewInit {
|
|
6
6
|
pickerDirective: DaterangepickerDirective;
|
|
7
7
|
private initialized;
|
|
8
8
|
selectedDateRange: {
|