tango-app-ui-manage-settings 3.0.11-dev → 3.0.13-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.
Files changed (31) hide show
  1. package/esm2022/lib/components/payments-subscription/payments-subscription.component.mjs +720 -165
  2. package/esm2022/lib/components/payments-subscription/subscription-popups/add-stepprice/add-stepprice.component.mjs +8 -4
  3. package/esm2022/lib/components/payments-subscription/subscription-popups/credit-note/credit-note.component.mjs +146 -9
  4. package/esm2022/lib/components/payments-subscription/subscription-popups/multidropdown/multidropdown.component.mjs +124 -72
  5. package/esm2022/lib/components/payments-subscription/subscription-popups/need-help/need-help.component.mjs +76 -39
  6. package/esm2022/lib/components/payments-subscription/subscription-popups/pricing-revised/pricing-revised.component.mjs +29 -22
  7. package/esm2022/lib/components/payments-subscription/subscription-popups/product-confirmation/product-confirmation.component.mjs +116 -18
  8. package/esm2022/lib/components/payments-subscription/subscription-popups/subscription-approval/subscription-approval.component.mjs +76 -25
  9. package/esm2022/lib/components/payments-subscription/subscription-popups/successfull-subscription/successfull-subscription.component.mjs +15 -6
  10. package/esm2022/lib/components/payments-subscription/subscription-popups/trail-settings/trail-settings.component.mjs +8 -8
  11. package/esm2022/lib/components/payments-subscription/subscription-popups/update/update.component.mjs +52 -19
  12. package/esm2022/lib/components/payments-subscription/subscription-popups/upgrade-plan/upgrade-plan.component.mjs +125 -35
  13. package/esm2022/lib/components/tango-manage-settings/tango-manage-settings.component.mjs +2 -2
  14. package/esm2022/lib/services/payment-subscription.service.mjs +141 -4
  15. package/esm2022/lib/tango-manage-settings.module.mjs +6 -2
  16. package/fesm2022/tango-app-ui-manage-settings.mjs +1613 -430
  17. package/fesm2022/tango-app-ui-manage-settings.mjs.map +1 -1
  18. package/lib/components/payments-subscription/payments-subscription.component.d.ts +83 -20
  19. package/lib/components/payments-subscription/subscription-popups/credit-note/credit-note.component.d.ts +32 -4
  20. package/lib/components/payments-subscription/subscription-popups/multidropdown/multidropdown.component.d.ts +14 -4
  21. package/lib/components/payments-subscription/subscription-popups/need-help/need-help.component.d.ts +23 -4
  22. package/lib/components/payments-subscription/subscription-popups/pricing-revised/pricing-revised.component.d.ts +6 -2
  23. package/lib/components/payments-subscription/subscription-popups/product-confirmation/product-confirmation.component.d.ts +19 -10
  24. package/lib/components/payments-subscription/subscription-popups/subscription-approval/subscription-approval.component.d.ts +14 -8
  25. package/lib/components/payments-subscription/subscription-popups/successfull-subscription/successfull-subscription.component.d.ts +5 -1
  26. package/lib/components/payments-subscription/subscription-popups/update/update.component.d.ts +19 -5
  27. package/lib/components/payments-subscription/subscription-popups/upgrade-plan/upgrade-plan.component.d.ts +28 -7
  28. package/lib/components/tango-manage-settings/tango-manage-settings.component.d.ts +1 -1
  29. package/lib/services/payment-subscription.service.d.ts +34 -3
  30. package/lib/tango-manage-settings.module.d.ts +1 -1
  31. package/package.json +1 -1
@@ -1,17 +1,19 @@
1
- import { ChangeDetectorRef } from '@angular/core';
1
+ import { 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
+ private gs;
15
17
  clientinfo: any;
16
18
  list: any[];
17
19
  select: string;
@@ -25,13 +27,14 @@ export declare class PaymentsSubscriptionComponent {
25
27
  daysCount: any;
26
28
  currentplanform: FormGroup;
27
29
  paymentinvoiceform: FormGroup;
28
- allowedDomains: any;
29
- paymentallowedDomains: any;
30
+ paymentallowedList: any;
31
+ generateinvoiceList: any;
30
32
  $generateinvoiceInterrupt: BehaviorSubject<string>;
31
33
  $sendpaymentInterrupt: BehaviorSubject<string>;
32
34
  openaccordian: boolean;
33
35
  brandName: string;
34
- gstNo: string;
36
+ searchInput: any;
37
+ gstNumber: string;
35
38
  billingAddress: string;
36
39
  pricingplan: string;
37
40
  dropDown: boolean;
@@ -52,27 +55,59 @@ export declare class PaymentsSubscriptionComponent {
52
55
  currencyIssue: any;
53
56
  viewplanIssue: any;
54
57
  producttrailIssue: any;
58
+ priceValueDetails: any;
59
+ originalPriceValue: any;
60
+ productList: any;
61
+ storeList: any;
62
+ dataObject: any;
63
+ totalCount: number;
64
+ dynamicData: any;
65
+ selectAll: boolean;
66
+ selectedStoreList: any;
67
+ storeProduct: any;
68
+ notificationDetails: any;
69
+ currentPlan: string;
70
+ paymentinvoiceinfo: any;
71
+ requestData: any;
72
+ isExport: boolean;
73
+ itemsPerPage: number;
74
+ currentPage: number;
75
+ totalItems: number;
76
+ paginationSizes: number[];
77
+ pageSize: number;
78
+ isFilter: string;
79
+ searchValue: string | null;
80
+ invoiceList: any;
81
+ extendPaymentPeriodDays: 0;
82
+ paymentinvoiceshow: boolean;
83
+ radiobutton: boolean;
84
+ radiooptions: any;
85
+ clientId: string;
86
+ auth: boolean;
87
+ loading: boolean;
88
+ noData: boolean;
89
+ priceNoData: boolean;
90
+ priceLoading: boolean;
91
+ private readonly destroy$;
92
+ constructor(modalService: NgbModal, fb: FormBuilder, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, toast: ToastService, gs: GlobalStateService);
93
+ ngOnInit(): void;
94
+ ngAfterViewInit(): void;
95
+ ngOnDestroy(): void;
96
+ receiveData(data: any): void;
97
+ selectPlan(plan: string): void;
98
+ selectPricePlan(pricingplan: string): void;
99
+ getColorClass(product: string): string;
55
100
  selectItem(value: any): void;
56
101
  invoiceItem(invoicevalue: any): void;
57
102
  paymentItem(paymentvalue: any): void;
58
103
  currencyItem(currencyvalue: any): void;
59
- producttrailItem(producttrailvalue: any): void;
104
+ producttrailItem(producttrailvalue: any, data: any): void;
60
105
  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
106
  update(): void;
68
107
  needhelp(): void;
69
108
  upgradeplan(): void;
70
109
  creditnote(): void;
71
110
  pricingrevised(): void;
72
- decreseCount(): any;
73
- increaseCount(): any;
74
- onSubmit(): void;
75
- Submit(): void;
76
111
  pricingType(event: any, pricing: string): void;
77
112
  onKeyDown(event: any): void;
78
113
  removeChip(i: number): void;
@@ -84,11 +119,39 @@ export declare class PaymentsSubscriptionComponent {
84
119
  paymenttypeDropdown(event: MouseEvent): void;
85
120
  currencyDropdown(event: MouseEvent): void;
86
121
  viewplanDropdown(event: MouseEvent): void;
87
- producttrailDropdown(event: MouseEvent): void;
122
+ producttrailDropdown(event: MouseEvent, index: any): void;
88
123
  skiptrail(): void;
89
- addstepprice(data: any): void;
90
- approvetrail(): void;
91
- unsubscribe(): void;
124
+ addstepprice(data: any, product?: any, index?: any): void;
125
+ approvetrial(data: any, type: string): void;
126
+ approveUnsubscribe(data: any, type: any): void;
127
+ updateCircleChart(data: any, index: any): void;
128
+ getPricing(data: any): void;
129
+ calculate(index: any, type: any): void;
130
+ getpaymentinvoice(id: any): void;
131
+ onpaymentSubmit(): void;
132
+ onpaymentCancel(): void;
133
+ onpaymentedit(): void;
134
+ invoiceTableData(): void;
135
+ onExport(): void;
136
+ onPageSizeChange(pageSize: any): void;
137
+ onPageChange(pageOffset: any): void;
138
+ searchField(): void;
139
+ revertOriginalPrice(): void;
140
+ getProductList(): void;
141
+ getStoreList(): void;
142
+ onStorePageChange(event: any): void;
143
+ onStorePageSizeChange(event: any): void;
144
+ filterList(): void;
145
+ searchRecords(event: any): void;
146
+ selectAllStore(event: any): void;
147
+ getStores(): any;
148
+ updateCheck(event: any, storeId: any): void;
149
+ getProduct(): any;
150
+ notificationList(): void;
151
+ cancelUnsubscribe(data: any, type: any): void;
152
+ approveCancelUnsubscribe(data: any): void;
153
+ reload(event: any): void;
154
+ convertUpper(data: string): string;
92
155
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentsSubscriptionComponent, never>;
93
156
  static ɵcmp: i0.ɵɵComponentDeclaration<PaymentsSubscriptionComponent, "lib-payments-subscription", never, {}, {}, never, never, false, never>;
94
157
  }
@@ -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
- constructor(activeModal: NgbActiveModal);
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
  }
@@ -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: any;
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
- constructor(activeModal: NgbActiveModal);
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
- private activeModal;
8
+ activeModal: NgbActiveModal;
7
9
  private toast;
8
- select: string;
9
- trailselect: string;
10
- supportselect: string;
11
- constructor(modalService: NgbModal, activeModal: NgbActiveModal, toast: ToastService);
12
- onTrail(event: any, continuetrail: string): void;
13
- TrailExpired(event: any, subscribenow: string): void;
14
- support(event: any, daystrail: string): void;
10
+ private PaymentSubscriptionService;
11
+ private cd;
12
+ productList: any;
13
+ updatedProduct: any;
14
+ type: any;
15
+ stores: any;
16
+ clientId: any;
17
+ products: any;
18
+ clientProduct: 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; }; }, {}, never, never, false, never>;
17
26
  }
@@ -1,20 +1,26 @@
1
+ import { OnInit, OnDestroy } 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 SubscriptionApprovalComponent {
6
+ export declare class SubscriptionApprovalComponent implements OnInit, OnDestroy {
5
7
  private modalService;
6
- private activeModel;
8
+ activeModel: NgbActiveModal;
7
9
  private toast;
10
+ private PaymentSubscriptionService;
11
+ products: any;
12
+ clientInfo: any;
13
+ productList: any;
8
14
  select: string;
9
15
  trailselect: string;
10
16
  supportselect: string;
11
17
  gifVisible: boolean;
12
- constructor(modalService: NgbModal, activeModel: NgbActiveModal, toast: ToastService);
18
+ private readonly destroy$;
19
+ constructor(modalService: NgbModal, activeModel: NgbActiveModal, toast: ToastService, PaymentSubscriptionService: PaymentSubscriptionService);
20
+ ngOnInit(): void;
21
+ ngOnDestroy(): void;
13
22
  suscribed(): void;
14
- showGif(): void;
15
- onTrail(event: any, continuetrail: string): void;
16
- TrailExpired(event: any, subscribenow: string): void;
17
- support(event: any, daystrail: string): void;
23
+ updateProduct(index: number, type: string): void;
18
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionApprovalComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionApprovalComponent, "lib-subscription-approval", never, {}, {}, never, never, false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionApprovalComponent, "lib-subscription-approval", never, { "products": { "alias": "products"; "required": false; }; "clientInfo": { "alias": "clientInfo"; "required": false; }; }, {}, never, never, false, never>;
20
26
  }
@@ -1,5 +1,9 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class SuccessfullSubscriptionComponent {
4
+ activeModel: NgbActiveModal;
5
+ products: any;
6
+ constructor(activeModel: NgbActiveModal);
3
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SuccessfullSubscriptionComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SuccessfullSubscriptionComponent, "lib-successfull-subscription", never, {}, {}, never, never, false, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuccessfullSubscriptionComponent, "lib-successfull-subscription", never, { "products": { "alias": "products"; "required": false; }; }, {}, never, never, false, never>;
5
9
  }
@@ -1,19 +1,33 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { OnInit, EventEmitter, ChangeDetectorRef, OnDestroy } from '@angular/core';
2
2
  import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
3
3
  import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
4
+ import { FormBuilder, FormGroup } from '@angular/forms';
5
+ import { ToastService } from 'tango-app-ui-shared';
4
6
  import * as i0 from "@angular/core";
5
- export declare class UpdateComponent {
7
+ export declare class UpdateComponent implements OnInit, OnDestroy {
6
8
  activeModal: NgbActiveModal;
7
9
  private modalService;
8
10
  private PaymentSubscriptionService;
11
+ private fb;
12
+ private cd;
13
+ private toast;
9
14
  brandName: string;
10
- gstNo: string;
15
+ gstNumber: string;
11
16
  billingAddress: string;
17
+ updateForm: FormGroup;
18
+ modalData: any;
12
19
  passEntry: EventEmitter<any>;
13
- constructor(activeModal: NgbActiveModal, modalService: NgbModal, PaymentSubscriptionService: PaymentSubscriptionService);
20
+ private readonly destroy$;
21
+ constructor(activeModal: NgbActiveModal, modalService: NgbModal, PaymentSubscriptionService: PaymentSubscriptionService, fb: FormBuilder, cd: ChangeDetectorRef, toast: ToastService);
14
22
  ngOnInit(): void;
23
+ ngOnDestroy(): void;
24
+ initForm(): void;
25
+ get gstnumber(): import("@angular/forms").AbstractControl<any, any> | null;
26
+ get billingaddress(): import("@angular/forms").AbstractControl<any, any> | null;
27
+ patchForm(): void;
15
28
  closeModal(): void;
29
+ onSubmit(): void;
16
30
  submitUpdate(): void;
17
31
  static ɵfac: i0.ɵɵFactoryDeclaration<UpdateComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<UpdateComponent, "lib-update", never, {}, { "passEntry": "passEntry"; }, never, never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<UpdateComponent, "lib-update", never, { "modalData": { "alias": "modalData"; "required": false; }; }, { "passEntry": "passEntry"; }, never, never, false, never>;
19
33
  }
@@ -1,21 +1,36 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } 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 UpgradePlanComponent {
6
+ export declare class UpgradePlanComponent implements OnDestroy, OnInit {
5
7
  private modalService;
6
8
  private activeModel;
7
9
  private toast;
10
+ private PaymentSubscriptionService;
11
+ private changeDetector;
12
+ clientId: string;
8
13
  noofstoresdropDown: boolean;
9
14
  AvgstoresdropDown: boolean;
10
15
  noofstorestype: any[];
11
16
  Avgstorestype: any[];
12
- noofstoresIssue: any;
13
- AvgstoresIssue: any;
14
17
  plan: string;
15
18
  showNavGroup: boolean;
16
- noofstoresItem(noofstoresvalue: any): void;
17
- AvgstoresItem(Avgstoresvalue: any): void;
18
- constructor(modalService: NgbModal, activeModel: NgbActiveModal, toast: ToastService);
19
+ noofstoresitem: any;
20
+ noofstoresIssue: any;
21
+ Avgstoresitem: any;
22
+ AvgstoresIssue: any;
23
+ updateinfo: any;
24
+ active: boolean;
25
+ clientInfo: any;
26
+ price: any;
27
+ originalPrice: any;
28
+ oldProducts: any;
29
+ disableBtn: boolean;
30
+ private readonly destroy$;
31
+ constructor(modalService: NgbModal, activeModel: NgbActiveModal, toast: ToastService, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef);
32
+ ngOnInit(): void;
33
+ ngOnDestroy(): void;
19
34
  selectPlan(plan: string): void;
20
35
  update(): void;
21
36
  trailexpired(): void;
@@ -23,6 +38,12 @@ export declare class UpgradePlanComponent {
23
38
  toggleNavGroup(): void;
24
39
  noofstoresDropdown(event: MouseEvent): void;
25
40
  AvgstoresDropdown(event: MouseEvent): void;
41
+ updatesubscription(id: any): void;
42
+ basePricing(): void;
43
+ updateProduct(event: any, data: string): void;
44
+ noofstoresdata(noofstoresvalue: any): void;
45
+ Avgstoresdata(Avgstoresvalue: any): void;
46
+ getColorClass(toolTip: string): "" | "badge badge-light-success mx-1" | "badge badge-light-warning mx-1" | "badge badge-light-primary mx-1";
26
47
  static ɵfac: i0.ɵɵFactoryDeclaration<UpgradePlanComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<UpgradePlanComponent, "lib-upgrade-plan", never, {}, {}, never, never, false, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<UpgradePlanComponent, "lib-upgrade-plan", never, { "clientId": { "alias": "clientId"; "required": false; }; }, {}, never, never, false, never>;
28
49
  }
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { PageInfoService } from 'tango-app-ui-metronics';
2
+ import { PageInfoService } from 'tango-app-ui-global';
3
3
  import { ClientApiService } from '../../services/client-api.service';
4
4
  import { BehaviorSubject } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -1,15 +1,46 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
3
4
  import { GlobalStateService } from 'tango-app-ui-global';
4
5
  import * as i0 from "@angular/core";
5
- export declare class PaymentSubscriptionService {
6
+ export declare class PaymentSubscriptionService implements OnDestroy {
6
7
  private http;
7
8
  private gs;
8
- paymentSubscriptionApiUrl: string;
9
+ paymentSubscriptionApiUrl: any;
10
+ paymentinvoiceFormData: BehaviorSubject<any>;
9
11
  constructor(http: HttpClient, gs: GlobalStateService);
12
+ exportAsExcelFile(json: any[], excelFileName: string): void;
13
+ saveAsExcelFile(buffer: any, fileName: string): void;
14
+ saveAsTemplate(buffer: any, fileName: string): void;
15
+ private readonly destroy$;
16
+ ngOnDestroy(): void;
10
17
  clientBillingInfo(params?: any): Observable<any>;
11
18
  updateaddbilling(billingBodyReq: any): Observable<any>;
12
19
  addstepprice(billingBodyReq: any): Observable<any>;
20
+ getpaymentinvoice(params?: any): Observable<any>;
21
+ invoiceTableData(data: any): Observable<any>;
22
+ invoiceTableDataExport(data: any): Observable<any>;
23
+ pendinginvoicelist(data: any): Observable<any>;
24
+ getinvoice(id?: any): Observable<any>;
25
+ getextendtrail(clientId: string): Observable<any>;
26
+ trailapproval(data: any): Observable<any>;
27
+ unsubscribe(data: any): Observable<any>;
28
+ invoiceupdate(data: any, id: any): Observable<any>;
29
+ creditnoteupdate(data: any): Observable<any>;
30
+ getPriceDetails(data: any): Observable<any>;
31
+ updatePricing(data: any): Observable<any>;
32
+ getProductList(data: any): Observable<any>;
33
+ getStoreList(data: any): Observable<any>;
34
+ getFilterDetails(data: any): Observable<any>;
35
+ updateProduct(data: any): Observable<any>;
36
+ updateStore(data: any): Observable<any>;
37
+ storeProduct(data: any): Observable<any>;
38
+ unsubscribeApproval(data: any): Observable<any>;
39
+ getNotification(id: any): Observable<any>;
40
+ trialExtentApproval(data: any): Observable<any>;
41
+ approveTrial(data: any): Observable<any>;
42
+ basePricing(data: any): Observable<any>;
43
+ updateSubscription(data: any): Observable<any>;
13
44
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentSubscriptionService, never>;
14
45
  static ɵprov: i0.ɵɵInjectableDeclaration<PaymentSubscriptionService>;
15
46
  }
@@ -47,6 +47,6 @@ import * as i45 from "tango-app-ui-shared";
47
47
  import * as i46 from "ngx-daterangepicker-material";
48
48
  export declare class TangoManageSettingsModule {
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageSettingsModule, never>;
50
- static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageSettingsModule, [typeof i1.TangoManageSettingsComponent, typeof i2.PaymentsSubscriptionComponent, typeof i3.UpdateComponent, typeof i4.NeedHelpComponent, typeof i5.SuccessfullSubscriptionComponent, typeof i6.BrandDetailsComponent, typeof i7.BrandInfoComponent, typeof i8.BillingDetailsComponent, typeof i9.SignatoryDetailsComponent, typeof i10.UpgradePlanComponent, typeof i11.TrailExpiredComponent, typeof i12.SuspendedComponent, typeof i13.CreditNoteComponent, typeof i14.PricingRevisedComponent, typeof i15.ConfigurationsComponent, typeof i16.AuditConfigurationComponent, typeof i17.TicketConfigurationComponent, typeof i18.ReportConfigurationComponent, typeof i19.UserConfigurationComponent, typeof i20.DomainDetailsComponent, typeof i21.FeatureConfigurationComponent, typeof i22.MultidropdownComponent, typeof i23.DocumentsComponent, typeof i24.DndDirective, typeof i25.AddReportComponent, typeof i26.ContactDirectoryComponent, typeof i27.EditSpocComponent, typeof i28.DeteleSpocComponent, typeof i29.AddSteppriceComponent, typeof i30.SkipTrailComponent, typeof i31.TrailSettingsComponent, typeof i32.UnsubscribeRequestComponent, typeof i33.SubscriptionApprovalComponent, typeof i34.ProductConfirmationComponent, typeof i35.ActivityLogsComponent], [typeof i36.CommonModule, typeof i37.TangoManageSettingsRoutingModule, typeof i38.NgbAccordionModule, typeof i38.NgbModule, typeof i39.ReactiveFormsModule, typeof i39.FormsModule, typeof i40.MatAutocompleteModule, typeof i41.MatChipsModule, typeof i42.MatIconModule, typeof i43.MatFormFieldModule, typeof i44.HttpClientModule, typeof i39.ReactiveFormsModule, typeof i39.FormsModule, typeof i45.CommonSharedModule, typeof i46.NgxDaterangepickerMd], never>;
50
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageSettingsModule, [typeof i1.TangoManageSettingsComponent, typeof i2.PaymentsSubscriptionComponent, typeof i3.UpdateComponent, typeof i4.NeedHelpComponent, typeof i5.SuccessfullSubscriptionComponent, typeof i6.BrandDetailsComponent, typeof i7.BrandInfoComponent, typeof i8.BillingDetailsComponent, typeof i9.SignatoryDetailsComponent, typeof i10.UpgradePlanComponent, typeof i11.TrailExpiredComponent, typeof i12.SuspendedComponent, typeof i13.CreditNoteComponent, typeof i14.PricingRevisedComponent, typeof i15.ConfigurationsComponent, typeof i16.AuditConfigurationComponent, typeof i17.TicketConfigurationComponent, typeof i18.ReportConfigurationComponent, typeof i19.UserConfigurationComponent, typeof i20.DomainDetailsComponent, typeof i21.FeatureConfigurationComponent, typeof i22.MultidropdownComponent, typeof i23.DocumentsComponent, typeof i24.DndDirective, typeof i25.AddReportComponent, typeof i26.ContactDirectoryComponent, typeof i27.EditSpocComponent, typeof i28.DeteleSpocComponent, typeof i29.AddSteppriceComponent, typeof i30.SkipTrailComponent, typeof i31.TrailSettingsComponent, typeof i32.UnsubscribeRequestComponent, typeof i33.SubscriptionApprovalComponent, typeof i34.ProductConfirmationComponent, typeof i35.ActivityLogsComponent], [typeof i36.CommonModule, typeof i37.TangoManageSettingsRoutingModule, typeof i38.NgbAccordionModule, typeof i38.NgbModule, typeof i39.ReactiveFormsModule, typeof i39.FormsModule, typeof i40.MatAutocompleteModule, typeof i41.MatChipsModule, typeof i42.MatIconModule, typeof i43.MatFormFieldModule, typeof i44.HttpClientModule, typeof i39.ReactiveFormsModule, typeof i39.FormsModule, typeof i45.CommonSharedModule, typeof i38.NgbTooltipModule, typeof i46.NgxDaterangepickerMd], never>;
51
51
  static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageSettingsModule>;
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-manage-settings",
3
- "version": "3.0.11-dev",
3
+ "version": "3.0.13-dev",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"