tango-app-ui-manage-settings 3.0.12-dev → 3.0.14-dev
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/components/activity-logs/activity-logs.component.mjs +3 -3
- package/esm2022/lib/components/brand-details/billing-details/billing-details.component.mjs +10 -9
- package/esm2022/lib/components/brand-details/brand-info/brand-info.component.mjs +10 -7
- package/esm2022/lib/components/brand-details/signatory-details/signatory-details.component.mjs +10 -9
- package/esm2022/lib/components/configurations/audit-configuration/audit-configuration.component.mjs +11 -8
- package/esm2022/lib/components/configurations/configurations.component.mjs +17 -13
- package/esm2022/lib/components/configurations/domain-details/domain-details.component.mjs +10 -9
- package/esm2022/lib/components/configurations/feature-configuration/feature-configuration.component.mjs +10 -9
- package/esm2022/lib/components/configurations/report-configuration/report-configuration.component.mjs +10 -7
- package/esm2022/lib/components/configurations/ticket-configuration/ticket-configuration.component.mjs +10 -9
- package/esm2022/lib/components/configurations/user-configuration/user-configuration.component.mjs +11 -8
- package/esm2022/lib/components/contact-directory/contact-directory.component.mjs +17 -10
- package/esm2022/lib/components/documents/documents.component.mjs +10 -7
- package/esm2022/lib/components/payments-subscription/payments-subscription.component.mjs +764 -166
- package/esm2022/lib/components/payments-subscription/subscription-popups/add-stepprice/add-stepprice.component.mjs +8 -4
- package/esm2022/lib/components/payments-subscription/subscription-popups/credit-note/credit-note.component.mjs +146 -9
- package/esm2022/lib/components/payments-subscription/subscription-popups/multidropdown/multidropdown.component.mjs +125 -72
- package/esm2022/lib/components/payments-subscription/subscription-popups/need-help/need-help.component.mjs +75 -39
- package/esm2022/lib/components/payments-subscription/subscription-popups/pricing-revised/pricing-revised.component.mjs +28 -22
- package/esm2022/lib/components/payments-subscription/subscription-popups/product-confirmation/product-confirmation.component.mjs +119 -18
- package/esm2022/lib/components/payments-subscription/subscription-popups/subscription-approval/subscription-approval.component.mjs +75 -25
- package/esm2022/lib/components/payments-subscription/subscription-popups/successfull-subscription/successfull-subscription.component.mjs +15 -6
- package/esm2022/lib/components/payments-subscription/subscription-popups/trail-settings/trail-settings.component.mjs +8 -9
- package/esm2022/lib/components/payments-subscription/subscription-popups/update/update.component.mjs +52 -19
- package/esm2022/lib/components/payments-subscription/subscription-popups/upgrade-plan/upgrade-plan.component.mjs +124 -35
- package/esm2022/lib/components/tango-manage-settings/tango-manage-settings.component.mjs +8 -6
- package/esm2022/lib/guards/activity-log.guard.mjs +33 -0
- package/esm2022/lib/guards/brand-detail.guard.mjs +33 -0
- package/esm2022/lib/guards/configuration.guard.mjs +33 -0
- package/esm2022/lib/guards/contact-directory.guard.mjs +33 -0
- package/esm2022/lib/guards/documents.guard.mjs +33 -0
- package/esm2022/lib/guards/payment-subscriptions.guard.mjs +33 -0
- package/esm2022/lib/services/payment-subscription.service.mjs +141 -4
- package/esm2022/lib/tango-manage-settings-routing.module.mjs +24 -7
- package/esm2022/lib/tango-manage-settings.module.mjs +6 -2
- package/fesm2022/tango-app-ui-manage-settings.mjs +1970 -538
- package/fesm2022/tango-app-ui-manage-settings.mjs.map +1 -1
- package/lib/components/brand-details/billing-details/billing-details.component.d.ts +4 -3
- package/lib/components/brand-details/brand-info/brand-info.component.d.ts +3 -1
- package/lib/components/brand-details/signatory-details/signatory-details.component.d.ts +4 -3
- package/lib/components/configurations/audit-configuration/audit-configuration.component.d.ts +3 -1
- package/lib/components/configurations/configurations.component.d.ts +3 -1
- package/lib/components/configurations/domain-details/domain-details.component.d.ts +4 -3
- package/lib/components/configurations/feature-configuration/feature-configuration.component.d.ts +4 -3
- package/lib/components/configurations/report-configuration/report-configuration.component.d.ts +3 -1
- package/lib/components/configurations/ticket-configuration/ticket-configuration.component.d.ts +4 -3
- package/lib/components/configurations/user-configuration/user-configuration.component.d.ts +3 -1
- package/lib/components/contact-directory/contact-directory.component.d.ts +5 -1
- package/lib/components/documents/documents.component.d.ts +3 -1
- package/lib/components/payments-subscription/payments-subscription.component.d.ts +85 -20
- package/lib/components/payments-subscription/subscription-popups/credit-note/credit-note.component.d.ts +32 -4
- package/lib/components/payments-subscription/subscription-popups/multidropdown/multidropdown.component.d.ts +14 -4
- package/lib/components/payments-subscription/subscription-popups/need-help/need-help.component.d.ts +23 -4
- package/lib/components/payments-subscription/subscription-popups/pricing-revised/pricing-revised.component.d.ts +6 -2
- package/lib/components/payments-subscription/subscription-popups/product-confirmation/product-confirmation.component.d.ts +19 -10
- package/lib/components/payments-subscription/subscription-popups/subscription-approval/subscription-approval.component.d.ts +14 -8
- package/lib/components/payments-subscription/subscription-popups/successfull-subscription/successfull-subscription.component.d.ts +5 -1
- package/lib/components/payments-subscription/subscription-popups/update/update.component.d.ts +19 -5
- package/lib/components/payments-subscription/subscription-popups/upgrade-plan/upgrade-plan.component.d.ts +28 -7
- package/lib/components/tango-manage-settings/tango-manage-settings.component.d.ts +3 -2
- package/lib/guards/activity-log.guard.d.ts +2 -0
- package/lib/guards/brand-detail.guard.d.ts +2 -0
- package/lib/guards/configuration.guard.d.ts +2 -0
- package/lib/guards/contact-directory.guard.d.ts +2 -0
- package/lib/guards/documents.guard.d.ts +2 -0
- package/lib/guards/payment-subscriptions.guard.d.ts +2 -0
- package/lib/services/payment-subscription.service.d.ts +34 -3
- package/lib/tango-manage-settings.module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BillingDetailsComponent implements OnDestroy {
|
|
6
7
|
private fb;
|
|
7
8
|
private apiService;
|
|
8
|
-
|
|
9
|
+
gs: GlobalStateService;
|
|
9
10
|
billingDetailsForm: FormGroup;
|
|
10
11
|
uploadInput: ElementRef<HTMLElement>;
|
|
11
12
|
gstForm: string;
|
|
12
13
|
private readonly destroy$;
|
|
13
14
|
gstFile: File;
|
|
14
|
-
constructor(fb: FormBuilder, apiService: ClientApiService,
|
|
15
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService);
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
17
|
initForm(): void;
|
|
17
18
|
patchForm(data: any): void;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BrandInfoComponent implements OnDestroy {
|
|
6
7
|
private fb;
|
|
7
8
|
private apiService;
|
|
8
9
|
private cd;
|
|
10
|
+
gs: GlobalStateService;
|
|
9
11
|
brandInfoForm: FormGroup;
|
|
10
12
|
uploadInput: ElementRef<HTMLElement>;
|
|
11
13
|
brandLogo: any;
|
|
12
14
|
countryList: any;
|
|
13
15
|
private readonly destroy$;
|
|
14
16
|
logoFile: File;
|
|
15
|
-
constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef);
|
|
17
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, gs: GlobalStateService);
|
|
16
18
|
ngOnDestroy(): void;
|
|
17
19
|
initForm(): void;
|
|
18
20
|
getCountryCodes(): void;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class SignatoryDetailsComponent implements OnDestroy {
|
|
6
7
|
private fb;
|
|
7
8
|
private apiService;
|
|
8
|
-
|
|
9
|
+
gs: GlobalStateService;
|
|
9
10
|
signatoryDetailsForm: FormGroup;
|
|
10
11
|
private readonly destroy$;
|
|
11
|
-
constructor(fb: FormBuilder, apiService: ClientApiService,
|
|
12
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService);
|
|
12
13
|
ngOnDestroy(): void;
|
|
13
14
|
initForm(): void;
|
|
14
15
|
patchForm(data: any): void;
|
package/lib/components/configurations/audit-configuration/audit-configuration.component.d.ts
CHANGED
|
@@ -2,12 +2,14 @@ import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
4
4
|
import { ToastService } from 'tango-app-ui-shared';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class AuditConfigurationComponent implements OnDestroy {
|
|
7
8
|
private fb;
|
|
8
9
|
private apiService;
|
|
9
10
|
private cd;
|
|
10
11
|
private toast;
|
|
12
|
+
gs: GlobalStateService;
|
|
11
13
|
auditConfigForm: FormGroup;
|
|
12
14
|
isMultiple: boolean;
|
|
13
15
|
bulkUploadInput: ElementRef<HTMLElement>;
|
|
@@ -18,7 +20,7 @@ export declare class AuditConfigurationComponent implements OnDestroy {
|
|
|
18
20
|
selectedStore: any;
|
|
19
21
|
private readonly destroy$;
|
|
20
22
|
clientId: string;
|
|
21
|
-
constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, toast: ToastService);
|
|
23
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, toast: ToastService, gs: GlobalStateService);
|
|
22
24
|
ngOnDestroy(): void;
|
|
23
25
|
initForm(): void;
|
|
24
26
|
getStoresList(clientId: string): void;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { ClientApiService } from '../../services/client-api.service';
|
|
3
3
|
import { ToastService } from 'tango-app-ui-shared';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ConfigurationsComponent implements OnDestroy {
|
|
6
7
|
private clientApi;
|
|
7
8
|
private toaster;
|
|
9
|
+
gs: GlobalStateService;
|
|
8
10
|
clientData: any;
|
|
9
11
|
private readonly destroy$;
|
|
10
12
|
ticketConfigPrevValues: any;
|
|
11
13
|
featureConfigPrevValues: any;
|
|
12
14
|
domainConfigPrevValues: any;
|
|
13
15
|
userConfigPrevValues: any;
|
|
14
|
-
constructor(clientApi: ClientApiService, toaster: ToastService);
|
|
16
|
+
constructor(clientApi: ClientApiService, toaster: ToastService, gs: GlobalStateService);
|
|
15
17
|
ngOnDestroy(): void;
|
|
16
18
|
openItem(): void;
|
|
17
19
|
populateTicketConfiguration(data: any): void;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class DomainDetailsComponent implements AfterViewInit, OnDestroy {
|
|
7
8
|
private fb;
|
|
8
9
|
private apiService;
|
|
9
|
-
|
|
10
|
+
gs: GlobalStateService;
|
|
10
11
|
domainDetailsForm: FormGroup;
|
|
11
12
|
allowedDomains: any;
|
|
12
13
|
$domainNameInterrupt: BehaviorSubject<string>;
|
|
13
14
|
private readonly destroy$;
|
|
14
|
-
constructor(fb: FormBuilder, apiService: ClientApiService,
|
|
15
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService);
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
17
|
ngAfterViewInit(): void;
|
|
17
18
|
initForm(): void;
|
package/lib/components/configurations/feature-configuration/feature-configuration.component.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FeatureConfigurationComponent implements OnDestroy {
|
|
6
7
|
private fb;
|
|
7
8
|
private apiService;
|
|
8
|
-
|
|
9
|
+
gs: GlobalStateService;
|
|
9
10
|
featureConfigurationForm: FormGroup;
|
|
10
11
|
missedOpportunityStartTime: string;
|
|
11
12
|
missedOpportunityEndTime: string;
|
|
12
13
|
private readonly destroy$;
|
|
13
|
-
constructor(fb: FormBuilder, apiService: ClientApiService,
|
|
14
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService);
|
|
14
15
|
ngOnDestroy(): void;
|
|
15
16
|
initForm(): void;
|
|
16
17
|
patchForm(data: any): void;
|
package/lib/components/configurations/report-configuration/report-configuration.component.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
4
4
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
5
5
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
6
|
import { ToastService } from 'tango-app-ui-shared';
|
|
7
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ReportConfigurationComponent implements AfterViewInit, OnDestroy {
|
|
9
10
|
private fb;
|
|
@@ -11,6 +12,7 @@ export declare class ReportConfigurationComponent implements AfterViewInit, OnDe
|
|
|
11
12
|
private modalService;
|
|
12
13
|
private toaster;
|
|
13
14
|
private cd;
|
|
15
|
+
gs: GlobalStateService;
|
|
14
16
|
reportConfigurationForm: FormGroup;
|
|
15
17
|
emailList: any;
|
|
16
18
|
reportList: any;
|
|
@@ -18,7 +20,7 @@ export declare class ReportConfigurationComponent implements AfterViewInit, OnDe
|
|
|
18
20
|
clientId: string;
|
|
19
21
|
selectedReport: any;
|
|
20
22
|
private readonly destroy$;
|
|
21
|
-
constructor(fb: FormBuilder, apiService: ClientApiService, modalService: NgbModal, toaster: ToastService, cd: ChangeDetectorRef);
|
|
23
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, modalService: NgbModal, toaster: ToastService, cd: ChangeDetectorRef, gs: GlobalStateService);
|
|
22
24
|
ngOnDestroy(): void;
|
|
23
25
|
ngAfterViewInit(): void;
|
|
24
26
|
initForm(): void;
|
package/lib/components/configurations/ticket-configuration/ticket-configuration.component.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class TicketConfigurationComponent implements OnDestroy {
|
|
6
7
|
private fb;
|
|
7
8
|
private apiService;
|
|
8
|
-
|
|
9
|
+
gs: GlobalStateService;
|
|
9
10
|
ticketConfigurationForm: FormGroup;
|
|
10
11
|
private readonly destroy$;
|
|
11
|
-
constructor(fb: FormBuilder, apiService: ClientApiService,
|
|
12
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService);
|
|
12
13
|
ngOnDestroy(): void;
|
|
13
14
|
initForm(): void;
|
|
14
15
|
patchForm(data: any): void;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../../services/client-api.service';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class UserConfigurationComponent implements OnDestroy {
|
|
6
7
|
private fb;
|
|
7
8
|
private apiService;
|
|
8
9
|
private cd;
|
|
10
|
+
gs: GlobalStateService;
|
|
9
11
|
userConfigurationForm: FormGroup;
|
|
10
12
|
csmUserList: any;
|
|
11
13
|
opsUserList: any;
|
|
@@ -13,7 +15,7 @@ export declare class UserConfigurationComponent implements OnDestroy {
|
|
|
13
15
|
selectedOps: any;
|
|
14
16
|
private readonly destroy$;
|
|
15
17
|
clienId: string;
|
|
16
|
-
constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef);
|
|
18
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, gs: GlobalStateService);
|
|
17
19
|
ngOnDestroy(): void;
|
|
18
20
|
initForm(): void;
|
|
19
21
|
patchForm(data: any): void;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ClientApiService } from '../../services/client-api.service';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
4
|
import { FormControl } from '@angular/forms';
|
|
4
5
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
5
6
|
import { ToastService } from 'tango-app-ui-shared';
|
|
7
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
export declare class ContactDirectoryComponent implements OnDestroy {
|
|
8
10
|
private clientService;
|
|
9
11
|
private cd;
|
|
10
12
|
private modalService;
|
|
11
13
|
private toast;
|
|
14
|
+
gs: GlobalStateService;
|
|
12
15
|
countryList: any;
|
|
13
16
|
stateList: any;
|
|
14
17
|
cityList: any;
|
|
@@ -28,7 +31,8 @@ export declare class ContactDirectoryComponent implements OnDestroy {
|
|
|
28
31
|
pageSize: number;
|
|
29
32
|
searchInput: FormControl<any>;
|
|
30
33
|
private readonly destroy$;
|
|
31
|
-
|
|
34
|
+
pageState$: BehaviorSubject<"loaded" | "loading">;
|
|
35
|
+
constructor(clientService: ClientApiService, cd: ChangeDetectorRef, modalService: NgbModal, toast: ToastService, gs: GlobalStateService);
|
|
32
36
|
ngOnDestroy(): void;
|
|
33
37
|
getAllCountries(): void;
|
|
34
38
|
getAllStates(country: string): void;
|
|
@@ -2,12 +2,14 @@ import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
3
|
import { ClientApiService } from '../../services/client-api.service';
|
|
4
4
|
import { ToastService } from 'tango-app-ui-shared';
|
|
5
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class DocumentsComponent implements OnDestroy {
|
|
7
8
|
private fb;
|
|
8
9
|
private apiService;
|
|
9
10
|
private cd;
|
|
10
11
|
private toaster;
|
|
12
|
+
gs: GlobalStateService;
|
|
11
13
|
documentsForm: FormGroup;
|
|
12
14
|
clientData: any;
|
|
13
15
|
gstFormInput: ElementRef<HTMLElement>;
|
|
@@ -20,7 +22,7 @@ export declare class DocumentsComponent implements OnDestroy {
|
|
|
20
22
|
panFile: File;
|
|
21
23
|
cinFile: File;
|
|
22
24
|
docPrevValues: any;
|
|
23
|
-
constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, toaster: ToastService);
|
|
25
|
+
constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, toaster: ToastService, gs: GlobalStateService);
|
|
24
26
|
ngOnDestroy(): void;
|
|
25
27
|
initForm(): void;
|
|
26
28
|
patchForm(data: any): void;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
4
4
|
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
5
5
|
import { BehaviorSubject } from 'rxjs';
|
|
6
6
|
import { PaymentSubscriptionService } from '../../services/payment-subscription.service';
|
|
7
7
|
import { ToastService } from 'tango-app-ui-shared';
|
|
8
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class PaymentsSubscriptionComponent {
|
|
10
|
+
export declare class PaymentsSubscriptionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
10
11
|
modalService: NgbModal;
|
|
11
12
|
private fb;
|
|
12
13
|
private PaymentSubscriptionService;
|
|
13
14
|
private changeDetector;
|
|
14
15
|
private toast;
|
|
16
|
+
gs: GlobalStateService;
|
|
17
|
+
private elementRef;
|
|
15
18
|
clientinfo: any;
|
|
16
19
|
list: any[];
|
|
17
20
|
select: string;
|
|
@@ -25,13 +28,14 @@ export declare class PaymentsSubscriptionComponent {
|
|
|
25
28
|
daysCount: any;
|
|
26
29
|
currentplanform: FormGroup;
|
|
27
30
|
paymentinvoiceform: FormGroup;
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
paymentallowedList: any;
|
|
32
|
+
generateinvoiceList: any;
|
|
30
33
|
$generateinvoiceInterrupt: BehaviorSubject<string>;
|
|
31
34
|
$sendpaymentInterrupt: BehaviorSubject<string>;
|
|
32
35
|
openaccordian: boolean;
|
|
33
36
|
brandName: string;
|
|
34
|
-
|
|
37
|
+
searchInput: any;
|
|
38
|
+
gstNumber: string;
|
|
35
39
|
billingAddress: string;
|
|
36
40
|
pricingplan: string;
|
|
37
41
|
dropDown: boolean;
|
|
@@ -52,27 +56,59 @@ export declare class PaymentsSubscriptionComponent {
|
|
|
52
56
|
currencyIssue: any;
|
|
53
57
|
viewplanIssue: any;
|
|
54
58
|
producttrailIssue: any;
|
|
59
|
+
priceValueDetails: any;
|
|
60
|
+
originalPriceValue: any;
|
|
61
|
+
productList: any;
|
|
62
|
+
storeList: any;
|
|
63
|
+
dataObject: any;
|
|
64
|
+
totalCount: number;
|
|
65
|
+
dynamicData: any;
|
|
66
|
+
selectAll: boolean;
|
|
67
|
+
selectedStoreList: any;
|
|
68
|
+
storeProduct: any;
|
|
69
|
+
notificationDetails: any;
|
|
70
|
+
currentPlan: string;
|
|
71
|
+
paymentinvoiceinfo: any;
|
|
72
|
+
requestData: any;
|
|
73
|
+
isExport: boolean;
|
|
74
|
+
itemsPerPage: number;
|
|
75
|
+
currentPage: number;
|
|
76
|
+
totalItems: number;
|
|
77
|
+
paginationSizes: number[];
|
|
78
|
+
pageSize: number;
|
|
79
|
+
isFilter: string;
|
|
80
|
+
searchValue: string | null;
|
|
81
|
+
invoiceList: any;
|
|
82
|
+
extendPaymentPeriodDays: 0;
|
|
83
|
+
paymentinvoiceshow: boolean;
|
|
84
|
+
radiobutton: boolean;
|
|
85
|
+
radiooptions: any;
|
|
86
|
+
clientId: string;
|
|
87
|
+
auth: boolean;
|
|
88
|
+
loading: boolean;
|
|
89
|
+
noData: boolean;
|
|
90
|
+
priceNoData: boolean;
|
|
91
|
+
priceLoading: boolean;
|
|
92
|
+
private readonly destroy$;
|
|
93
|
+
constructor(modalService: NgbModal, fb: FormBuilder, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, toast: ToastService, gs: GlobalStateService, elementRef: ElementRef);
|
|
94
|
+
ngOnInit(): void;
|
|
95
|
+
ngAfterViewInit(): void;
|
|
96
|
+
ngOnDestroy(): void;
|
|
97
|
+
receiveData(data: any): void;
|
|
98
|
+
selectPlan(plan: string): void;
|
|
99
|
+
selectPricePlan(pricingplan: string): void;
|
|
100
|
+
getColorClass(product: string): string;
|
|
55
101
|
selectItem(value: any): void;
|
|
56
102
|
invoiceItem(invoicevalue: any): void;
|
|
57
103
|
paymentItem(paymentvalue: any): void;
|
|
58
104
|
currencyItem(currencyvalue: any): void;
|
|
59
|
-
producttrailItem(producttrailvalue: any): void;
|
|
105
|
+
producttrailItem(producttrailvalue: any, data: any): void;
|
|
60
106
|
viewplanItem(viewplanvalue: any): void;
|
|
61
|
-
dataObject: any;
|
|
62
|
-
constructor(modalService: NgbModal, fb: FormBuilder, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, toast: ToastService);
|
|
63
|
-
selectPlan(plan: string): void;
|
|
64
|
-
selectPricePlan(pricingplan: string): void;
|
|
65
|
-
ngOnInit(): void;
|
|
66
|
-
ngAfterViewInit(): void;
|
|
67
107
|
update(): void;
|
|
68
108
|
needhelp(): void;
|
|
69
109
|
upgradeplan(): void;
|
|
70
110
|
creditnote(): void;
|
|
71
111
|
pricingrevised(): void;
|
|
72
|
-
decreseCount(): any;
|
|
73
|
-
increaseCount(): any;
|
|
74
|
-
onSubmit(): void;
|
|
75
|
-
Submit(): void;
|
|
76
112
|
pricingType(event: any, pricing: string): void;
|
|
77
113
|
onKeyDown(event: any): void;
|
|
78
114
|
removeChip(i: number): void;
|
|
@@ -84,11 +120,40 @@ export declare class PaymentsSubscriptionComponent {
|
|
|
84
120
|
paymenttypeDropdown(event: MouseEvent): void;
|
|
85
121
|
currencyDropdown(event: MouseEvent): void;
|
|
86
122
|
viewplanDropdown(event: MouseEvent): void;
|
|
87
|
-
producttrailDropdown(event: MouseEvent): void;
|
|
123
|
+
producttrailDropdown(event: MouseEvent, index: any): void;
|
|
88
124
|
skiptrail(): void;
|
|
89
|
-
addstepprice(data: any): void;
|
|
90
|
-
|
|
91
|
-
|
|
125
|
+
addstepprice(data: any, product?: any, index?: any): void;
|
|
126
|
+
approvetrial(data: any, type: string): void;
|
|
127
|
+
approveUnsubscribe(data: any, type: any): void;
|
|
128
|
+
updateCircleChart(data: any, index: any): void;
|
|
129
|
+
getPricing(data: any): void;
|
|
130
|
+
calculate(index: any, type: any): void;
|
|
131
|
+
getpaymentinvoice(id: any): void;
|
|
132
|
+
onpaymentSubmit(): void;
|
|
133
|
+
onpaymentCancel(): void;
|
|
134
|
+
onpaymentedit(): void;
|
|
135
|
+
invoiceTableData(): void;
|
|
136
|
+
onExport(): void;
|
|
137
|
+
onPageSizeChange(pageSize: any): void;
|
|
138
|
+
onPageChange(pageOffset: any): void;
|
|
139
|
+
searchField(): void;
|
|
140
|
+
revertOriginalPrice(): void;
|
|
141
|
+
getProductList(): void;
|
|
142
|
+
getStoreList(): void;
|
|
143
|
+
onStorePageChange(event: any): void;
|
|
144
|
+
onStorePageSizeChange(event: any): void;
|
|
145
|
+
filterList(): void;
|
|
146
|
+
searchRecords(event: any): void;
|
|
147
|
+
selectAllStore(event: any): void;
|
|
148
|
+
getStores(): any;
|
|
149
|
+
updateCheck(event: any, storeId: any): void;
|
|
150
|
+
getProduct(): any;
|
|
151
|
+
notificationList(): void;
|
|
152
|
+
cancelUnsubscribe(data: any, type: any): void;
|
|
153
|
+
approveCancelUnsubscribe(data: any): void;
|
|
154
|
+
reload(event: any): void;
|
|
155
|
+
convertUpper(data: string): string;
|
|
156
|
+
onDocumentClick(event: MouseEvent): void;
|
|
92
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentsSubscriptionComponent, never>;
|
|
93
158
|
static ɵcmp: i0.ɵɵComponentDeclaration<PaymentsSubscriptionComponent, "lib-payments-subscription", never, {}, {}, never, never, false, never>;
|
|
94
159
|
}
|
|
@@ -1,11 +1,39 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
|
|
4
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CreditNoteComponent {
|
|
7
|
+
export declare class CreditNoteComponent implements OnInit, OnDestroy {
|
|
5
8
|
activeModal: NgbActiveModal;
|
|
9
|
+
private PaymentSubscriptionService;
|
|
10
|
+
private changeDetector;
|
|
11
|
+
private fb;
|
|
12
|
+
private toast;
|
|
13
|
+
clientId: any;
|
|
14
|
+
invoiceIssue: any;
|
|
15
|
+
invoicetype: {
|
|
16
|
+
name: string;
|
|
17
|
+
value: string;
|
|
18
|
+
}[];
|
|
19
|
+
invoicetypedropDown: boolean;
|
|
20
|
+
creditnoteform: FormGroup;
|
|
21
|
+
totalAmount: number;
|
|
22
|
+
discount: any;
|
|
23
|
+
revisedAmount: number;
|
|
24
|
+
moreThanTenPercent: boolean;
|
|
6
25
|
passEntry: EventEmitter<any>;
|
|
7
|
-
|
|
26
|
+
invoiceitem: any;
|
|
27
|
+
private readonly destroy$;
|
|
28
|
+
constructor(activeModal: NgbActiveModal, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, fb: FormBuilder, toast: ToastService);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
get revisedamount(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
31
|
+
get discounts(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
creditnote(): void;
|
|
34
|
+
invoiceItem(invoicevalue: any): void;
|
|
35
|
+
invoicetypeDropdown(event: MouseEvent): void;
|
|
8
36
|
successcredit(): void;
|
|
9
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreditNoteComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CreditNoteComponent, "lib-credit-note", never, {}, { "passEntry": "passEntry"; }, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreditNoteComponent, "lib-credit-note", never, { "clientId": { "alias": "clientId"; "required": false; }; }, { "passEntry": "passEntry"; }, never, never, false, never>;
|
|
11
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
|
|
4
4
|
import { GlobalStateService, LayoutService } from 'tango-app-ui-global';
|
|
@@ -8,13 +8,23 @@ export declare class MultidropdownComponent implements OnInit, OnDestroy {
|
|
|
8
8
|
private globalService;
|
|
9
9
|
private modalService;
|
|
10
10
|
private PaymentSubscriptionService;
|
|
11
|
+
private changeDetector;
|
|
11
12
|
text: string;
|
|
13
|
+
product: any;
|
|
14
|
+
productList: any;
|
|
15
|
+
type: string;
|
|
16
|
+
stores: any;
|
|
17
|
+
clientId: string;
|
|
18
|
+
selectAll: boolean;
|
|
19
|
+
clientProduct: any;
|
|
20
|
+
data: EventEmitter<any>;
|
|
12
21
|
private unsubscribe;
|
|
22
|
+
private readonly destroy$;
|
|
13
23
|
dataObject: any;
|
|
14
24
|
dummyArray: any;
|
|
15
25
|
noFilter: boolean;
|
|
16
26
|
responseArray: any;
|
|
17
|
-
constructor(layout: LayoutService, globalService: GlobalStateService, modalService: NgbModal, PaymentSubscriptionService: PaymentSubscriptionService);
|
|
27
|
+
constructor(layout: LayoutService, globalService: GlobalStateService, modalService: NgbModal, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef);
|
|
18
28
|
ngOnDestroy(): void;
|
|
19
29
|
Opendropdown: boolean;
|
|
20
30
|
permission: {
|
|
@@ -31,8 +41,8 @@ export declare class MultidropdownComponent implements OnInit, OnDestroy {
|
|
|
31
41
|
Dropdown(value: any, index: number, event: MouseEvent): void;
|
|
32
42
|
toggleCheckbox(issue: string, index: number): void;
|
|
33
43
|
Reset(): void;
|
|
34
|
-
Apply(): void;
|
|
35
44
|
productconfirmation(): void;
|
|
45
|
+
convertUpper(data: any): string;
|
|
36
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultidropdownComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultidropdownComponent, "lib-multidropdown", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultidropdownComponent, "lib-multidropdown", never, { "text": { "alias": "text"; "required": false; }; "product": { "alias": "product"; "required": false; }; "productList": { "alias": "productList"; "required": false; }; "type": { "alias": "type"; "required": false; }; "stores": { "alias": "stores"; "required": false; }; "clientId": { "alias": "clientId"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "clientProduct": { "alias": "clientProduct"; "required": false; }; }, { "data": "data"; }, never, never, false, never>;
|
|
38
48
|
}
|
package/lib/components/payments-subscription/subscription-popups/need-help/need-help.component.d.ts
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
1
3
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
|
|
5
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
2
6
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NeedHelpComponent {
|
|
7
|
+
export declare class NeedHelpComponent implements OnInit, OnDestroy {
|
|
4
8
|
activeModal: NgbActiveModal;
|
|
9
|
+
private PaymentSubscriptionService;
|
|
10
|
+
private changeDetector;
|
|
11
|
+
private fb;
|
|
12
|
+
private toast;
|
|
13
|
+
clientId: string;
|
|
5
14
|
showHelp: boolean;
|
|
6
15
|
showsubscription: boolean;
|
|
7
16
|
showExtendTrail: boolean;
|
|
@@ -10,16 +19,26 @@ export declare class NeedHelpComponent {
|
|
|
10
19
|
trailextenddropDown: boolean;
|
|
11
20
|
datalist: never[];
|
|
12
21
|
cancellingtype: any[];
|
|
13
|
-
trailextendtype:
|
|
22
|
+
trailextendtype: {
|
|
23
|
+
name: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}[];
|
|
14
26
|
cancellingIssue: any;
|
|
27
|
+
cancellingDescription: any;
|
|
15
28
|
trailextendIssue: any;
|
|
29
|
+
extendtrailform: FormGroup;
|
|
30
|
+
trailextenditem: any;
|
|
16
31
|
cancellingItem(cancellingvalue: any): void;
|
|
17
32
|
trailextendItem(trailextendvalue: any): void;
|
|
18
|
-
|
|
33
|
+
private readonly destroy$;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
constructor(activeModal: NgbActiveModal, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, fb: FormBuilder, toast: ToastService);
|
|
36
|
+
ngOnInit(): void;
|
|
19
37
|
unscubscribed(): void;
|
|
20
38
|
extendtrail(): void;
|
|
21
39
|
cancellingDropdown(event: MouseEvent): void;
|
|
22
40
|
trailextendDropdown(event: MouseEvent): void;
|
|
41
|
+
trailextend(id: any): void;
|
|
23
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<NeedHelpComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NeedHelpComponent, "lib-need-help", never, {}, {}, never, never, false, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NeedHelpComponent, "lib-need-help", never, { "clientId": { "alias": "clientId"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
44
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
1
2
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PricingRevisedComponent {
|
|
4
|
+
export declare class PricingRevisedComponent implements OnInit {
|
|
4
5
|
activeModal: NgbActiveModal;
|
|
6
|
+
productNewDetails: any;
|
|
7
|
+
productOldDetails: any;
|
|
5
8
|
constructor(activeModal: NgbActiveModal);
|
|
9
|
+
ngOnInit(): void;
|
|
6
10
|
revised(): void;
|
|
7
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingRevisedComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PricingRevisedComponent, "lib-pricing-revised", never, {}, {}, never, never, false, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PricingRevisedComponent, "lib-pricing-revised", never, { "productNewDetails": { "alias": "productNewDetails"; "required": false; }; "productOldDetails": { "alias": "productOldDetails"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
13
|
}
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef } from '@angular/core';
|
|
1
2
|
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
3
|
import { ToastService } from 'tango-app-ui-shared';
|
|
4
|
+
import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProductConfirmationComponent {
|
|
6
|
+
export declare class ProductConfirmationComponent implements OnInit {
|
|
5
7
|
private modalService;
|
|
6
|
-
|
|
8
|
+
activeModal: NgbActiveModal;
|
|
7
9
|
private toast;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
private PaymentSubscriptionService;
|
|
11
|
+
private cd;
|
|
12
|
+
productList: any;
|
|
13
|
+
updatedProduct: any;
|
|
14
|
+
type: any;
|
|
15
|
+
stores: any;
|
|
16
|
+
clientId: any;
|
|
17
|
+
clientProduct: any;
|
|
18
|
+
products: any;
|
|
19
|
+
constructor(modalService: NgbModal, activeModal: NgbActiveModal, toast: ToastService, PaymentSubscriptionService: PaymentSubscriptionService, cd: ChangeDetectorRef);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
updateproduct(): void;
|
|
22
|
+
updateType(index: any, type: any): void;
|
|
23
|
+
updateStore(): void;
|
|
15
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfirmationComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfirmationComponent, "lib-product-confirmation", never, {}, {}, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfirmationComponent, "lib-product-confirmation", never, { "productList": { "alias": "productList"; "required": false; }; "updatedProduct": { "alias": "updatedProduct"; "required": false; }; "type": { "alias": "type"; "required": false; }; "stores": { "alias": "stores"; "required": false; }; "clientId": { "alias": "clientId"; "required": false; }; "clientProduct": { "alias": "clientProduct"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
26
|
}
|