tango-app-ui-manage-settings 3.0.65-dev → 3.3.0-alpha.1

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 (77) hide show
  1. package/esm2022/lib/components/activity-logs/activity-logs.component.mjs +4 -4
  2. package/esm2022/lib/components/brand-details/billing-details/billing-details.component.mjs +4 -4
  3. package/esm2022/lib/components/brand-details/brand-details.component.mjs +4 -4
  4. package/esm2022/lib/components/brand-details/brand-info/brand-info.component.mjs +4 -4
  5. package/esm2022/lib/components/brand-details/signatory-details/signatory-details.component.mjs +4 -4
  6. package/esm2022/lib/components/configurations/audit-configuration/audit-configuration.component.mjs +4 -4
  7. package/esm2022/lib/components/configurations/configurations.component.mjs +4 -6
  8. package/esm2022/lib/components/configurations/domain-details/domain-details.component.mjs +4 -4
  9. package/esm2022/lib/components/configurations/email-configuration/email-configuration.component.mjs +4 -4
  10. package/esm2022/lib/components/configurations/employee-training/employee-training.component.mjs +4 -4
  11. package/esm2022/lib/components/configurations/feature-configuration/feature-configuration.component.mjs +5 -7
  12. package/esm2022/lib/components/configurations/report-configuration/add-report/add-report.component.mjs +4 -4
  13. package/esm2022/lib/components/configurations/report-configuration/report-configuration.component.mjs +4 -4
  14. package/esm2022/lib/components/configurations/ticket-configuration/ticket-configuration.component.mjs +4 -4
  15. package/esm2022/lib/components/configurations/user-configuration/user-configuration.component.mjs +4 -4
  16. package/esm2022/lib/components/contact-directory/contact-directory.component.mjs +4 -4
  17. package/esm2022/lib/components/contact-directory/detele-spoc/detele-spoc.component.mjs +4 -4
  18. package/esm2022/lib/components/contact-directory/edit-spoc/edit-spoc.component.mjs +4 -4
  19. package/esm2022/lib/components/documents/documents.component.mjs +4 -4
  20. package/esm2022/lib/components/payments-subscription/billing/billing-group-form/billing-group-form.component.mjs +448 -0
  21. package/esm2022/lib/components/payments-subscription/billing/billing-group-view/billing-group-view.component.mjs +20 -0
  22. package/esm2022/lib/components/payments-subscription/billing/billing.component.mjs +200 -0
  23. package/esm2022/lib/components/payments-subscription/billing/request-confirmation/request-confirmation.component.mjs +22 -0
  24. package/esm2022/lib/components/payments-subscription/invoice-credits/invoice-credits.component.mjs +340 -0
  25. package/esm2022/lib/components/payments-subscription/invoice-credits/paynow/paynow.component.mjs +127 -0
  26. package/esm2022/lib/components/payments-subscription/payments-subscription.component.mjs +63 -16
  27. package/esm2022/lib/components/payments-subscription/request-popups/starttrailrequest/starttrailrequest.component.mjs +25 -0
  28. package/esm2022/lib/components/payments-subscription/request-popups/subscribe-request/subscribe-request.component.mjs +25 -0
  29. package/esm2022/lib/components/payments-subscription/subscription-popups/add-stepprice/add-stepprice.component.mjs +4 -4
  30. package/esm2022/lib/components/payments-subscription/subscription-popups/credit-note/credit-note.component.mjs +11 -5
  31. package/esm2022/lib/components/payments-subscription/subscription-popups/model-content/model-content.component.mjs +4 -4
  32. package/esm2022/lib/components/payments-subscription/subscription-popups/multidropdown/multidropdown.component.mjs +8 -8
  33. package/esm2022/lib/components/payments-subscription/subscription-popups/need-help/need-help.component.mjs +4 -4
  34. package/esm2022/lib/components/payments-subscription/subscription-popups/needhelp/needhelp.component.mjs +23 -0
  35. package/esm2022/lib/components/payments-subscription/subscription-popups/pricing-revised/pricing-revised.component.mjs +4 -4
  36. package/esm2022/lib/components/payments-subscription/subscription-popups/product-confirmation/product-confirmation.component.mjs +4 -4
  37. package/esm2022/lib/components/payments-subscription/subscription-popups/skip-trail/skip-trail.component.mjs +4 -4
  38. package/esm2022/lib/components/payments-subscription/subscription-popups/subscription-approval/subscription-approval.component.mjs +4 -4
  39. package/esm2022/lib/components/payments-subscription/subscription-popups/successfull-subscription/successfull-subscription.component.mjs +4 -4
  40. package/esm2022/lib/components/payments-subscription/subscription-popups/suspended/suspended.component.mjs +4 -4
  41. package/esm2022/lib/components/payments-subscription/subscription-popups/trail-expired/trail-expired.component.mjs +4 -4
  42. package/esm2022/lib/components/payments-subscription/subscription-popups/trail-settings/trail-settings.component.mjs +4 -4
  43. package/esm2022/lib/components/payments-subscription/subscription-popups/unsubscribe-request/unsubscribe-request.component.mjs +10 -7
  44. package/esm2022/lib/components/payments-subscription/subscription-popups/unsubscribeproduct/unsubscribeproduct.component.mjs +22 -0
  45. package/esm2022/lib/components/payments-subscription/subscription-popups/update/update.component.mjs +4 -4
  46. package/esm2022/lib/components/payments-subscription/subscription-popups/upgrade-plan/upgrade-plan.component.mjs +336 -9
  47. package/esm2022/lib/components/payments-subscription/subscription-popups/viewstores/viewstores.component.mjs +299 -0
  48. package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +4 -4
  49. package/esm2022/lib/components/tango-manage-settings/tango-manage-settings.component.mjs +315 -12
  50. package/esm2022/lib/directives/dnd.directive.mjs +4 -4
  51. package/esm2022/lib/services/client-api.service.mjs +4 -4
  52. package/esm2022/lib/services/payment-subscription.service.mjs +67 -6
  53. package/esm2022/lib/services/util.mjs +46 -0
  54. package/esm2022/lib/tango-manage-settings-routing.module.mjs +5 -5
  55. package/esm2022/lib/tango-manage-settings.module.mjs +52 -7
  56. package/fesm2022/tango-app-ui-manage-settings.mjs +4127 -1843
  57. package/fesm2022/tango-app-ui-manage-settings.mjs.map +1 -1
  58. package/lib/components/payments-subscription/billing/billing-group-form/billing-group-form.component.d.ts +65 -0
  59. package/lib/components/payments-subscription/billing/billing-group-view/billing-group-view.component.d.ts +9 -0
  60. package/lib/components/payments-subscription/billing/billing.component.d.ts +42 -0
  61. package/lib/components/payments-subscription/billing/request-confirmation/request-confirmation.component.d.ts +10 -0
  62. package/lib/components/payments-subscription/invoice-credits/invoice-credits.component.d.ts +80 -0
  63. package/lib/components/payments-subscription/invoice-credits/paynow/paynow.component.d.ts +29 -0
  64. package/lib/components/payments-subscription/payments-subscription.component.d.ts +8 -0
  65. package/lib/components/payments-subscription/request-popups/starttrailrequest/starttrailrequest.component.d.ts +11 -0
  66. package/lib/components/payments-subscription/request-popups/subscribe-request/subscribe-request.component.d.ts +11 -0
  67. package/lib/components/payments-subscription/subscription-popups/credit-note/credit-note.component.d.ts +3 -1
  68. package/lib/components/payments-subscription/subscription-popups/needhelp/needhelp.component.d.ts +10 -0
  69. package/lib/components/payments-subscription/subscription-popups/unsubscribe-request/unsubscribe-request.component.d.ts +3 -2
  70. package/lib/components/payments-subscription/subscription-popups/unsubscribeproduct/unsubscribeproduct.component.d.ts +10 -0
  71. package/lib/components/payments-subscription/subscription-popups/upgrade-plan/upgrade-plan.component.d.ts +43 -1
  72. package/lib/components/payments-subscription/subscription-popups/viewstores/viewstores.component.d.ts +44 -0
  73. package/lib/components/tango-manage-settings/tango-manage-settings.component.d.ts +34 -3
  74. package/lib/services/payment-subscription.service.d.ts +21 -0
  75. package/lib/services/util.d.ts +14 -0
  76. package/lib/tango-manage-settings.module.d.ts +23 -12
  77. package/package.json +1 -1
@@ -0,0 +1,65 @@
1
+ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
2
+ import { FormArray, FormBuilder, FormControl, FormGroup } from '@angular/forms';
3
+ import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
4
+ import { BehaviorSubject } from 'rxjs';
5
+ import { NgbAccordionDirective, NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
+ import { ToastService } from 'tango-app-ui-shared';
7
+ import * as i0 from "@angular/core";
8
+ export declare class BillingGroupFormComponent implements AfterViewInit, OnDestroy, OnInit {
9
+ private fb;
10
+ private paymentService;
11
+ private modalService;
12
+ modalRef: NgbActiveModal;
13
+ private toastService;
14
+ clientId: string;
15
+ groupId: string;
16
+ currentTab: string;
17
+ billingForm: FormGroup;
18
+ submitted: boolean;
19
+ filterData: Record<string, any>[];
20
+ subscribedStoreList: any[];
21
+ filterCountries: any[];
22
+ filterStates: any[];
23
+ filterCities: any[];
24
+ searchInput: FormControl<string | null>;
25
+ searchTerm: string;
26
+ sortedColumn: string;
27
+ sortDirection: number;
28
+ subscribedStoresApiState: BehaviorSubject<"loaded" | "loading" | "initial">;
29
+ private readonly destroy$;
30
+ accordion: NgbAccordionDirective;
31
+ itemsPerPage: number;
32
+ currentPage: number;
33
+ totalItems: number;
34
+ paginationSizes: number[];
35
+ pageSize: number;
36
+ constructor(fb: FormBuilder, paymentService: PaymentSubscriptionService, modalService: NgbModal, modalRef: NgbActiveModal, toastService: ToastService);
37
+ ngOnInit(): void;
38
+ ngAfterViewInit(): void;
39
+ ngOnDestroy(): void;
40
+ createForm(): void;
41
+ getBillingGroups(): void;
42
+ patchFormItem({ groupName, groupTag, registeredCompanyName, gst, addressLineOne, addressLineTwo, city, state, country, pinCode, placeOfSupply, po, stores, proRata, paymentCategory, currency, isInstallationOneTime, installationFee, paymentCycle, paymentTerm, generateInvoiceTo, attachAnnexure, isPrimary, _id }: Record<string, any>): void;
43
+ addFormItem({ isPrimary, groupName }: Record<string, boolean | string>): void;
44
+ get billingGroups(): FormArray<any>;
45
+ onTabChange(idx: number, val: string): void;
46
+ onDeleteGroup(idx: number): void;
47
+ getSubscribedStores({ getFilters }: Record<string, boolean>): void;
48
+ onStoreCheck(event: any, formArrayIndex: number, storeId: string): void;
49
+ onSelectAllStores(event: any, formArrayIndex: number): void;
50
+ isStoreSelectedInGroup(formArrayIndex: number, storeId: string): any;
51
+ isAllStoresSelectedInGroup(formArrayIndex: number): number | false;
52
+ onPageChange(event: number): void;
53
+ onPageSizeChange(event: number): void;
54
+ applyFilters(event: any): void;
55
+ onEmailKeyDown(event: any, formArrayIndex: number): void;
56
+ removeEmailChip(email: string, formArrayIndex: number): void;
57
+ onSort(column: string): void;
58
+ navigate(formArrayIndex: number): void;
59
+ addBillingGroup(): void;
60
+ onSubmit(formValues: any): void;
61
+ onCancel(idx: number): void;
62
+ preventEnter(event: any): void;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<BillingGroupFormComponent, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<BillingGroupFormComponent, "lib-billing-group-form", never, { "clientId": { "alias": "clientId"; "required": false; }; "groupId": { "alias": "groupId"; "required": false; }; "currentTab": { "alias": "currentTab"; "required": false; }; }, {}, never, never, false, never>;
65
+ }
@@ -0,0 +1,9 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BillingGroupViewComponent {
4
+ modalRef: NgbActiveModal;
5
+ groupDetails: any;
6
+ constructor(modalRef: NgbActiveModal);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BillingGroupViewComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BillingGroupViewComponent, "lib-billing-group-view", never, { "groupDetails": { "alias": "groupDetails"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,42 @@
1
+ import { AfterViewInit, OnDestroy } from '@angular/core';
2
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
3
+ import { ClientApiService } from '../../../services/client-api.service';
4
+ import { FormControl } from '@angular/forms';
5
+ import { BehaviorSubject } from 'rxjs';
6
+ import { PaymentSubscriptionService } from '../../../services/payment-subscription.service';
7
+ import dayjs from "dayjs";
8
+ import * as i0 from "@angular/core";
9
+ export declare class BillingComponent implements AfterViewInit, OnDestroy {
10
+ private modalService;
11
+ private clientService;
12
+ private paymentService;
13
+ clientId: string;
14
+ searchInput: FormControl<string | null>;
15
+ billingGroupsApiState: BehaviorSubject<"loaded" | "loading" | "initial">;
16
+ private readonly destroy$;
17
+ billingGroups: any[];
18
+ dayjs: typeof dayjs;
19
+ allItems: number;
20
+ accountDetails: any;
21
+ itemsPerPage: number;
22
+ currentPage: number;
23
+ totalItems: number;
24
+ paginationSizes: number[];
25
+ pageSize: number;
26
+ searchTerm: string;
27
+ sortedColumn: string;
28
+ sortDirection: number;
29
+ constructor(modalService: NgbModal, clientService: ClientApiService, paymentService: PaymentSubscriptionService);
30
+ ngAfterViewInit(): void;
31
+ ngOnDestroy(): void;
32
+ getVirtualAccount(): void;
33
+ manageBilling(groupId?: string, tab?: string): void;
34
+ getBillingGroups(): void;
35
+ onExport(): void;
36
+ onPageChange(event: number): void;
37
+ onPageSizeChange(event: number): void;
38
+ onSort(column: string): void;
39
+ viewBilling(groupDetails: any): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<BillingComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<BillingComponent, "lib-billing", never, {}, {}, never, never, false, never>;
42
+ }
@@ -0,0 +1,10 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RequestConfirmationComponent {
4
+ activeModal: NgbActiveModal;
5
+ title: string;
6
+ description: string;
7
+ constructor(activeModal: NgbActiveModal);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RequestConfirmationComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<RequestConfirmationComponent, "lib-request-confirmation", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, never, never, false, never>;
10
+ }
@@ -0,0 +1,80 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { ClientApiService } from '../../../services/client-api.service';
4
+ import { PaymentSubscriptionService } from '../../../services/payment-subscription.service';
5
+ import dayjs from "dayjs";
6
+ import { FormControl } from '@angular/forms';
7
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
8
+ import * as i0 from "@angular/core";
9
+ export declare class InvoiceCreditsComponent implements OnDestroy {
10
+ private clientService;
11
+ private paymentService;
12
+ private modalService;
13
+ selectedTab: 'invoice' | 'credit-transactions';
14
+ invoiceList: any[];
15
+ transactionList: any[];
16
+ invoiceListApiState: BehaviorSubject<"loaded" | "loading" | "initial">;
17
+ transactionListApiState: BehaviorSubject<"loaded" | "loading" | "initial">;
18
+ clientId: string;
19
+ private readonly destroy$;
20
+ invoiceExpandedRowIndex: any;
21
+ dayjs: typeof dayjs;
22
+ invoiceFilterObject: {
23
+ Description: string;
24
+ type: string;
25
+ Issues: {
26
+ id: string;
27
+ text: string;
28
+ }[];
29
+ }[];
30
+ transactionFilterObject: {
31
+ Description: string;
32
+ type: string;
33
+ Issues: {
34
+ id: string;
35
+ text: string;
36
+ }[];
37
+ }[];
38
+ invoiceItemsPerPage: number;
39
+ invoiceCurrentPage: number;
40
+ invoiceTotalItems: number;
41
+ invoicePaginationSizes: number[];
42
+ invoicePageSize: number;
43
+ invoiceSearchControl: FormControl<any>;
44
+ invoiceSearchTerm: string;
45
+ invoiceSortedColumn: string;
46
+ invoiceSortDirection: number;
47
+ invoiceFilter: 'current' | 'prev' | 'last';
48
+ transactionItemsPerPage: number;
49
+ transactionCurrentPage: number;
50
+ transactionTotalItems: number;
51
+ transactionPaginationSizes: number[];
52
+ transactionPageSize: number;
53
+ transactionSearchControl: FormControl<any>;
54
+ transactionSearchTerm: string;
55
+ transactionSortedColumn: string;
56
+ transactionSortDirection: number;
57
+ transactionFilter: 'current' | 'prev' | 'last';
58
+ constructor(clientService: ClientApiService, paymentService: PaymentSubscriptionService, modalService: NgbModal);
59
+ ngOnDestroy(): void;
60
+ changeTab(selectedTab: 'invoice' | 'credit-transactions'): void;
61
+ showProduct(data: any): any;
62
+ onInvoicePageChange(event: number): void;
63
+ onTransactionPageChange(event: number): void;
64
+ oninvoicePageSizeChange(event: number): void;
65
+ onTransactionPageSizeChange(event: number): void;
66
+ onInvoiceSort(column: string): void;
67
+ onTransactionSort(column: string): void;
68
+ getInvoiceList(): void;
69
+ getTransactionList(): void;
70
+ onInvoiceListExport(): void;
71
+ onTransactionListExport(): void;
72
+ toggleRow(index: number): void;
73
+ downloadInvoice(data: any): void;
74
+ roundNumber(num: number): number;
75
+ payNow(invoice: string): void;
76
+ applyInvoiceFilters(event: any): void;
77
+ applyTransactionFilters(event: any): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceCreditsComponent, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceCreditsComponent, "lib-invoice-credits", never, {}, {}, never, never, false, never>;
80
+ }
@@ -0,0 +1,29 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
3
+ import { ToastService } from 'tango-app-ui-shared';
4
+ import { ExternalLibraryService } from '../../../../services/util';
5
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
6
+ import * as i0 from "@angular/core";
7
+ export declare class PaynowComponent implements OnInit {
8
+ private paymentService;
9
+ private toastService;
10
+ private razorpayService;
11
+ private activeModal;
12
+ clientId: string;
13
+ invoice: string;
14
+ private readonly destroy$;
15
+ accountDetails: any;
16
+ enableValletPayment: boolean;
17
+ constructor(paymentService: PaymentSubscriptionService, toastService: ToastService, razorpayService: ExternalLibraryService, activeModal: NgbActiveModal);
18
+ ngOnInit(): void;
19
+ RAZORPAY_OPTIONS: Record<string, any>;
20
+ payUsingRazorpay({ key, amount, order_id, name, email, contact }: Record<string, any>): void;
21
+ razorPaySuccessHandler(response: any): void;
22
+ getVirtualAccount(): void;
23
+ enablePayment(event: any): void;
24
+ payUsingWallet(): void;
25
+ generateRazorOrder(): void;
26
+ verifyPayment(response: any): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaynowComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaynowComponent, "lib-paynow", never, { "clientId": { "alias": "clientId"; "required": false; }; "invoice": { "alias": "invoice"; "required": false; }; }, {}, never, never, false, never>;
29
+ }
@@ -23,6 +23,7 @@ export declare class PaymentsSubscriptionComponent implements OnInit, AfterViewI
23
23
  plan: string;
24
24
  showNavGroup: boolean;
25
25
  PricingshowNav: boolean;
26
+ invoicetransaction: boolean;
26
27
  sublevelview: boolean;
27
28
  count: number;
28
29
  daysCount: any;
@@ -39,6 +40,7 @@ export declare class PaymentsSubscriptionComponent implements OnInit, AfterViewI
39
40
  gstNumber: string;
40
41
  billingAddress: string;
41
42
  pricingplan: string;
43
+ invoiceplans: string;
42
44
  dropDown: boolean;
43
45
  invoicedropDown: boolean;
44
46
  paymenttypedropDown: boolean;
@@ -99,6 +101,9 @@ export declare class PaymentsSubscriptionComponent implements OnInit, AfterViewI
99
101
  disabledAddIcon: boolean;
100
102
  private readonly destroy$;
101
103
  generateinvoiceCCList: any;
104
+ editMode: boolean;
105
+ planDetails: any;
106
+ priceType: string;
102
107
  constructor(modalService: NgbModal, fb: FormBuilder, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, toast: ToastService, gs: GlobalStateService, elementRef: ElementRef);
103
108
  ngOnInit(): void;
104
109
  ngAfterViewInit(): void;
@@ -106,6 +111,7 @@ export declare class PaymentsSubscriptionComponent implements OnInit, AfterViewI
106
111
  receiveData(data: any): void;
107
112
  selectPlan(plan: string): void;
108
113
  selectPricePlan(pricingplan: string): void;
114
+ selectInvoicePlan(invoiceplans: string): void;
109
115
  getColorClass(product: string): string;
110
116
  selectItem(value: any): void;
111
117
  invoiceItem(invoicevalue: any): void;
@@ -172,6 +178,8 @@ export declare class PaymentsSubscriptionComponent implements OnInit, AfterViewI
172
178
  downloadInvoice(data: any): void;
173
179
  showProduct(data: string): string;
174
180
  omit_special_char(event: any): boolean;
181
+ viewstores(): void;
182
+ toggleEditMode(): void;
175
183
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentsSubscriptionComponent, never>;
176
184
  static ɵcmp: i0.ɵɵComponentDeclaration<PaymentsSubscriptionComponent, "lib-payments-subscription", never, {}, {}, never, never, false, never>;
177
185
  }
@@ -0,0 +1,11 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class StarttrailrequestComponent {
4
+ activeModal: NgbActiveModal;
5
+ productName: string;
6
+ constructor(activeModal: NgbActiveModal);
7
+ starttrialproduct(): void;
8
+ closeModal(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<StarttrailrequestComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<StarttrailrequestComponent, "lib-starttrailrequest", never, { "productName": { "alias": "productName"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SubscribeRequestComponent {
4
+ activeModal: NgbActiveModal;
5
+ productName: string;
6
+ constructor(activeModal: NgbActiveModal);
7
+ subscribeproduct(): void;
8
+ closeModal(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubscribeRequestComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubscribeRequestComponent, "lib-subscribe-request", never, { "productName": { "alias": "productName"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -22,6 +22,8 @@ export declare class CreditNoteComponent implements OnInit, OnDestroy {
22
22
  discount: any;
23
23
  revisedAmount: number;
24
24
  moreThanTenPercent: boolean;
25
+ count: number;
26
+ transactionvalue: string;
25
27
  passEntry: EventEmitter<any>;
26
28
  invoiceitem: any;
27
29
  private readonly destroy$;
@@ -36,5 +38,5 @@ export declare class CreditNoteComponent implements OnInit, OnDestroy {
36
38
  successcredit(): void;
37
39
  onDocumentClick(event: MouseEvent): void;
38
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CreditNoteComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<CreditNoteComponent, "lib-credit-note", never, { "clientId": { "alias": "clientId"; "required": false; }; }, { "passEntry": "passEntry"; }, never, never, false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreditNoteComponent, "lib-credit-note", never, { "clientId": { "alias": "clientId"; "required": false; }; "transactionvalue": { "alias": "transactionvalue"; "required": false; }; }, { "passEntry": "passEntry"; }, never, never, false, never>;
40
42
  }
@@ -0,0 +1,10 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NeedhelpComponent {
4
+ activeModal: NgbActiveModal;
5
+ csmDetails: any;
6
+ constructor(activeModal: NgbActiveModal);
7
+ closePopupAndReloadData(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NeedhelpComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<NeedhelpComponent, "lib-needhelp", never, {}, {}, never, never, false, never>;
10
+ }
@@ -5,9 +5,10 @@ export declare class UnsubscribeRequestComponent {
5
5
  activeModal: NgbActiveModal;
6
6
  private modalService;
7
7
  private PaymentSubscriptionService;
8
- clientName: string;
8
+ productName: string;
9
9
  constructor(activeModal: NgbActiveModal, modalService: NgbModal, PaymentSubscriptionService: PaymentSubscriptionService);
10
10
  unsubscribed(): void;
11
+ closeModal(): void;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<UnsubscribeRequestComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<UnsubscribeRequestComponent, "lib-unsubscribe-request", never, { "clientName": { "alias": "clientName"; "required": false; }; }, {}, never, never, false, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<UnsubscribeRequestComponent, "lib-unsubscribe-request", never, { "productName": { "alias": "productName"; "required": false; }; }, {}, never, never, false, never>;
13
14
  }
@@ -0,0 +1,10 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class UnsubscribeproductComponent {
4
+ activeModal: NgbActiveModal;
5
+ clientName: string;
6
+ constructor(activeModal: NgbActiveModal);
7
+ unsubscribed(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<UnsubscribeproductComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<UnsubscribeproductComponent, "lib-unsubscribeproduct", never, { "clientName": { "alias": "clientName"; "required": false; }; }, {}, never, never, false, never>;
10
+ }
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
3
3
  import { ToastService } from 'tango-app-ui-shared';
4
4
  import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
5
+ import { GlobalStateService } from 'tango-app-ui-global';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class UpgradePlanComponent implements OnDestroy, OnInit {
7
8
  private modalService;
@@ -9,6 +10,7 @@ export declare class UpgradePlanComponent implements OnDestroy, OnInit {
9
10
  private toast;
10
11
  private PaymentSubscriptionService;
11
12
  private changeDetector;
13
+ gs: GlobalStateService;
12
14
  clientId: string;
13
15
  noofstoresdropDown: boolean;
14
16
  AvgstoresdropDown: boolean;
@@ -33,7 +35,34 @@ export declare class UpgradePlanComponent implements OnDestroy, OnInit {
33
35
  confirmedProducts: any;
34
36
  private readonly destroy$;
35
37
  clientinfo: any;
36
- constructor(modalService: NgbModal, activeModel: NgbActiveModal, toast: ToastService, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef);
38
+ sortBy: number;
39
+ dataObject: any[];
40
+ $headerFilters: any;
41
+ availableStores: any[];
42
+ dummyArray: any;
43
+ selectedText: string;
44
+ selectedValuesArray: any[];
45
+ searchValue: any;
46
+ showStoreSelection: boolean;
47
+ showPopuptrail: boolean;
48
+ showPopupsubscribed: boolean;
49
+ showMainContent: boolean;
50
+ loading: boolean;
51
+ noData: boolean;
52
+ productList: any;
53
+ dynamicData: any;
54
+ userType: any;
55
+ storeList: any;
56
+ selectedStoreList: any;
57
+ totalCount: number;
58
+ storeProduct: any;
59
+ selectAll: boolean;
60
+ showsubscription: boolean;
61
+ showSubscribe: boolean;
62
+ notificationDetails: any;
63
+ message: any;
64
+ selectedProduct: string;
65
+ constructor(modalService: NgbModal, activeModel: NgbActiveModal, toast: ToastService, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, gs: GlobalStateService);
37
66
  ngOnInit(): void;
38
67
  ngOnDestroy(): void;
39
68
  selectPlan(plan: string): void;
@@ -53,6 +82,19 @@ export declare class UpgradePlanComponent implements OnDestroy, OnInit {
53
82
  showInfo(data: any): void;
54
83
  closePopupAndReloadData(): void;
55
84
  clientBillingInfo(id: any): void;
85
+ sortStoreSize(): void;
86
+ Dropdown(value: any, index: number, event: MouseEvent): void;
87
+ getStoreList(): void;
88
+ getStores(): any;
89
+ getProduct(): any;
90
+ getAvailableStores(): void;
91
+ loadSelectedStores(stores: any[]): void;
92
+ toggleCheckbox(event: any, store: any, index: number, subIndex: number): void;
93
+ searchData(stores: any, i: any): any;
94
+ startTrial(data: any, type: any): void;
95
+ convertUpper(data: string): string;
96
+ subscribeproduct(data: any, type: any): void;
97
+ notificationList(): void;
56
98
  static ɵfac: i0.ɵɵFactoryDeclaration<UpgradePlanComponent, never>;
57
99
  static ɵcmp: i0.ɵɵComponentDeclaration<UpgradePlanComponent, "lib-upgrade-plan", never, { "clientId": { "alias": "clientId"; "required": false; }; }, {}, never, never, false, never>;
58
100
  }
@@ -0,0 +1,44 @@
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { PaymentSubscriptionService } from '../../../../services/payment-subscription.service';
3
+ import { GlobalStateService } from 'tango-app-ui-global';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ViewstoresComponent implements OnInit {
6
+ private PaymentSubscriptionService;
7
+ private changeDetector;
8
+ gs: GlobalStateService;
9
+ productList: any;
10
+ loading: boolean;
11
+ noData: boolean;
12
+ clientId: string;
13
+ sortBy: number;
14
+ selectAll: boolean;
15
+ selectedStoreList: any;
16
+ storeProduct: any;
17
+ disabledAddIcon: boolean;
18
+ private readonly destroy$;
19
+ dataObject: any;
20
+ dynamicData: any;
21
+ totalCount: number;
22
+ notificationDetails: any;
23
+ currentPlan: string;
24
+ storeList: any;
25
+ constructor(PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, gs: GlobalStateService);
26
+ ngOnInit(): void;
27
+ ngOnDestroy(): void;
28
+ getProductList(): void;
29
+ filterList(): void;
30
+ reload(event: any): void;
31
+ notificationList(): void;
32
+ searchRecords(event: any): void;
33
+ selectAllStore(event: any): void;
34
+ getStores(): any;
35
+ updateCheck(event: any, storeId: any): void;
36
+ getProduct(): any;
37
+ getStoreList(): void;
38
+ receiveData(data: any): void;
39
+ showProduct(data: string): string;
40
+ onStorePageChange(event: any): void;
41
+ onStorePageSizeChange(event: any): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewstoresComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewstoresComponent, "lib-viewstores", never, {}, {}, never, never, false, never>;
44
+ }
@@ -1,21 +1,52 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
3
3
  import { ClientApiService } from '../../services/client-api.service';
4
4
  import { BehaviorSubject } from 'rxjs';
5
+ import { PaymentSubscriptionService } from '../../services/payment-subscription.service';
6
+ import { ToastService } from 'tango-app-ui-shared';
7
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
5
8
  import * as i0 from "@angular/core";
6
9
  export declare class TangoManageSettingsComponent implements OnInit, OnDestroy {
7
10
  private pageInfo;
8
11
  private clientApi;
9
12
  gs: GlobalStateService;
13
+ private PaymentSubscriptionService;
14
+ private changeDetector;
15
+ private toast;
16
+ modalService: NgbModal;
10
17
  clientData: any;
11
18
  private readonly destroy$;
12
19
  pageState$: BehaviorSubject<"loaded" | "loading">;
13
- billingDisabled: any;
14
- constructor(pageInfo: PageInfoService, clientApi: ClientApiService, gs: GlobalStateService);
20
+ notificationDetails: any;
21
+ clientId: string;
22
+ currentPlan: string;
23
+ dynamicData: any;
24
+ userType: any;
25
+ loading: boolean;
26
+ sortBy: number;
27
+ noData: boolean;
28
+ productList: any;
29
+ clientinfo: any;
30
+ producttrailtype: any[];
31
+ producttrailIssue: any;
32
+ producttraildropDown: boolean;
33
+ type: string;
34
+ constructor(pageInfo: PageInfoService, clientApi: ClientApiService, gs: GlobalStateService, PaymentSubscriptionService: PaymentSubscriptionService, changeDetector: ChangeDetectorRef, toast: ToastService, modalService: NgbModal);
15
35
  ngOnDestroy(): void;
16
36
  ngOnInit(): void;
17
37
  setPageData(): void;
18
38
  getClientData(): void;
39
+ producttrailDropdown(event: MouseEvent, index: any): void;
40
+ notificationList(): void;
41
+ approvetrial(data: any, type: string): void;
42
+ getProductList(): void;
43
+ cancelUnsubscribe(data: any, type: any): void;
44
+ approveCancelUnsubscribe(data: any): void;
45
+ Subscribe(producttrailvalue: any, data: any): void;
46
+ subscribeproduct(data: any, type: any): void;
47
+ updateCircleChart(data: any, index: any): void;
48
+ producttrailItem(producttrailvalue: any, data: any, type: any): void;
49
+ onDocumentClick(event: MouseEvent): void;
19
50
  static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageSettingsComponent, never>;
20
51
  static ɵcmp: i0.ɵɵComponentDeclaration<TangoManageSettingsComponent, "lib-tango-manage-settings", never, {}, {}, never, never, false, never>;
21
52
  }
@@ -7,8 +7,12 @@ export declare class PaymentSubscriptionService implements OnDestroy {
7
7
  private http;
8
8
  private gs;
9
9
  paymentSubscriptionApiUrl: any;
10
+ billingApiUrl: string;
11
+ paymentApiUrl: string;
12
+ invoiceApiUrl: string;
10
13
  private reloadDataSubject;
11
14
  reloadData$: Observable<boolean>;
15
+ private storeApiUrl;
12
16
  paymentinvoiceFormData: BehaviorSubject<any>;
13
17
  constructor(http: HttpClient, gs: GlobalStateService);
14
18
  triggerReload(): void;
@@ -45,6 +49,23 @@ export declare class PaymentSubscriptionService implements OnDestroy {
45
49
  basePricing(data: any): Observable<any>;
46
50
  updateSubscription(data: any): Observable<any>;
47
51
  invoiceDownload(data: any): Observable<any>;
52
+ getStores(req: any): Observable<any>;
53
+ private handleError;
54
+ getSubscribedStores(data: any): Observable<any>;
55
+ getAllBillingGroups(clientId: string): Observable<any>;
56
+ createBillingGroups(data: any): Observable<any>;
57
+ updateBillingGroups(data: any): Observable<any>;
58
+ deleteBillingGroups(_id: string): Observable<any>;
59
+ getBillingGroups(data: any): Observable<any>;
60
+ getInvoiceList(data: any): Observable<any>;
61
+ getTransactionList(data: any): Observable<any>;
62
+ exportBillingGroups(data: any): Observable<any>;
63
+ exportInvoiceList(data: any): Observable<any>;
64
+ exportTransactionList(data: any): Observable<any>;
65
+ getVirtualAccount(clientId: string): Observable<any>;
66
+ payUsingWallet(invoice: string): Observable<any>;
67
+ generateRazorOrder(invoice: string): Observable<any>;
68
+ verifyPayment(invoice: string, data: any): Observable<any>;
48
69
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentSubscriptionService, never>;
49
70
  static ɵprov: i0.ɵɵInjectableDeclaration<PaymentSubscriptionService>;
50
71
  }
@@ -0,0 +1,14 @@
1
+ import { Observable } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Handled loading the external library ondemand into our app
5
+ */
6
+ export declare class ExternalLibraryService {
7
+ private readonly document;
8
+ private _loadedLibraries;
9
+ constructor(document: any);
10
+ lazyLoadLibrary(resourceURL: string): Observable<any>;
11
+ private loadScript;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExternalLibraryService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExternalLibraryService>;
14
+ }
@@ -38,19 +38,30 @@ import * as i36 from "./components/payments-subscription/subscription-popups/mod
38
38
  import * as i37 from "./components/reactive-select/reactive-select.component";
39
39
  import * as i38 from "./components/configurations/email-configuration/email-configuration.component";
40
40
  import * as i39 from "./components/configurations/employee-training/employee-training.component";
41
- import * as i40 from "@angular/common";
42
- import * as i41 from "./tango-manage-settings-routing.module";
43
- import * as i42 from "@ng-bootstrap/ng-bootstrap";
44
- import * as i43 from "@angular/forms";
45
- import * as i44 from "@angular/material/autocomplete";
46
- import * as i45 from "@angular/material/chips";
47
- import * as i46 from "@angular/material/icon";
48
- import * as i47 from "@angular/material/form-field";
49
- import * as i48 from "@angular/common/http";
50
- import * as i49 from "tango-app-ui-shared";
51
- import * as i50 from "ngx-daterangepicker-material";
41
+ import * as i40 from "./components/payments-subscription/billing/billing.component";
42
+ import * as i41 from "./components/payments-subscription/billing/billing-group-form/billing-group-form.component";
43
+ import * as i42 from "./components/payments-subscription/billing/request-confirmation/request-confirmation.component";
44
+ import * as i43 from "./components/payments-subscription/billing/billing-group-view/billing-group-view.component";
45
+ import * as i44 from "./components/payments-subscription/subscription-popups/viewstores/viewstores.component";
46
+ import * as i45 from "./components/payments-subscription/subscription-popups/needhelp/needhelp.component";
47
+ import * as i46 from "./components/payments-subscription/subscription-popups/unsubscribeproduct/unsubscribeproduct.component";
48
+ import * as i47 from "./components/payments-subscription/invoice-credits/invoice-credits.component";
49
+ import * as i48 from "./components/payments-subscription/invoice-credits/paynow/paynow.component";
50
+ import * as i49 from "./components/payments-subscription/request-popups/subscribe-request/subscribe-request.component";
51
+ import * as i50 from "./components/payments-subscription/request-popups/starttrailrequest/starttrailrequest.component";
52
+ import * as i51 from "@angular/common";
53
+ import * as i52 from "./tango-manage-settings-routing.module";
54
+ import * as i53 from "@ng-bootstrap/ng-bootstrap";
55
+ import * as i54 from "@angular/forms";
56
+ import * as i55 from "@angular/material/autocomplete";
57
+ import * as i56 from "@angular/material/chips";
58
+ import * as i57 from "@angular/material/icon";
59
+ import * as i58 from "@angular/material/form-field";
60
+ import * as i59 from "@angular/common/http";
61
+ import * as i60 from "tango-app-ui-shared";
62
+ import * as i61 from "ngx-daterangepicker-material";
52
63
  export declare class TangoManageSettingsModule {
53
64
  static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageSettingsModule, never>;
54
- 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.ModalContentComponent, typeof i37.ReactiveSelectComponent, typeof i38.EmailConfigurationComponent, typeof i39.EmployeeTrainingComponent], [typeof i40.CommonModule, typeof i41.TangoManageSettingsRoutingModule, typeof i42.NgbAccordionModule, typeof i42.NgbModule, typeof i43.ReactiveFormsModule, typeof i43.FormsModule, typeof i44.MatAutocompleteModule, typeof i45.MatChipsModule, typeof i46.MatIconModule, typeof i47.MatFormFieldModule, typeof i48.HttpClientModule, typeof i43.ReactiveFormsModule, typeof i43.FormsModule, typeof i49.CommonSharedModule, typeof i42.NgbTooltipModule, typeof i50.NgxDaterangepickerMd], never>;
65
+ 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.ModalContentComponent, typeof i37.ReactiveSelectComponent, typeof i38.EmailConfigurationComponent, typeof i39.EmployeeTrainingComponent, typeof i40.BillingComponent, typeof i41.BillingGroupFormComponent, typeof i42.RequestConfirmationComponent, typeof i43.BillingGroupViewComponent, typeof i44.ViewstoresComponent, typeof i45.NeedhelpComponent, typeof i45.NeedhelpComponent, typeof i46.UnsubscribeproductComponent, typeof i47.InvoiceCreditsComponent, typeof i48.PaynowComponent, typeof i40.BillingComponent, typeof i41.BillingGroupFormComponent, typeof i42.RequestConfirmationComponent, typeof i43.BillingGroupViewComponent, typeof i39.EmployeeTrainingComponent, typeof i49.SubscribeRequestComponent, typeof i50.StarttrailrequestComponent], [typeof i51.CommonModule, typeof i52.TangoManageSettingsRoutingModule, typeof i53.NgbAccordionModule, typeof i53.NgbModule, typeof i54.ReactiveFormsModule, typeof i54.FormsModule, typeof i55.MatAutocompleteModule, typeof i56.MatChipsModule, typeof i57.MatIconModule, typeof i58.MatFormFieldModule, typeof i59.HttpClientModule, typeof i54.ReactiveFormsModule, typeof i54.FormsModule, typeof i60.CommonSharedModule, typeof i53.NgbTooltipModule, typeof i61.NgxDaterangepickerMd], never>;
55
66
  static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageSettingsModule>;
56
67
  }