tango-app-ui-manage-settings 3.0.18-dev → 3.0.19-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 (32) hide show
  1. package/esm2022/lib/components/brand-details/billing-details/billing-details.component.mjs +4 -3
  2. package/esm2022/lib/components/brand-details/brand-details.component.mjs +10 -5
  3. package/esm2022/lib/components/brand-details/brand-info/brand-info.component.mjs +35 -3
  4. package/esm2022/lib/components/configurations/configurations.component.mjs +10 -5
  5. package/esm2022/lib/components/configurations/feature-configuration/feature-configuration.component.mjs +73 -10
  6. package/esm2022/lib/components/configurations/report-configuration/report-configuration.component.mjs +3 -1
  7. package/esm2022/lib/components/configurations/ticket-configuration/ticket-configuration.component.mjs +22 -3
  8. package/esm2022/lib/components/configurations/user-configuration/user-configuration.component.mjs +11 -7
  9. package/esm2022/lib/components/contact-directory/contact-directory.component.mjs +7 -6
  10. package/esm2022/lib/components/contact-directory/edit-spoc/edit-spoc.component.mjs +12 -6
  11. package/esm2022/lib/components/documents/documents.component.mjs +8 -4
  12. package/esm2022/lib/components/payments-subscription/payments-subscription.component.mjs +11 -12
  13. package/esm2022/lib/components/payments-subscription/subscription-popups/multidropdown/multidropdown.component.mjs +26 -12
  14. package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +80 -0
  15. package/esm2022/lib/components/tango-manage-settings/tango-manage-settings.component.mjs +2 -2
  16. package/esm2022/lib/tango-manage-settings.module.mjs +6 -3
  17. package/fesm2022/tango-app-ui-manage-settings.mjs +293 -64
  18. package/fesm2022/tango-app-ui-manage-settings.mjs.map +1 -1
  19. package/lib/components/brand-details/billing-details/billing-details.component.d.ts +1 -1
  20. package/lib/components/brand-details/brand-details.component.d.ts +1 -0
  21. package/lib/components/brand-details/brand-info/brand-info.component.d.ts +12 -0
  22. package/lib/components/configurations/configurations.component.d.ts +1 -0
  23. package/lib/components/configurations/feature-configuration/feature-configuration.component.d.ts +40 -2
  24. package/lib/components/configurations/ticket-configuration/ticket-configuration.component.d.ts +8 -0
  25. package/lib/components/configurations/user-configuration/user-configuration.component.d.ts +3 -1
  26. package/lib/components/contact-directory/edit-spoc/edit-spoc.component.d.ts +3 -1
  27. package/lib/components/documents/documents.component.d.ts +4 -4
  28. package/lib/components/payments-subscription/payments-subscription.component.d.ts +0 -1
  29. package/lib/components/payments-subscription/subscription-popups/multidropdown/multidropdown.component.d.ts +3 -2
  30. package/lib/components/reactive-select/reactive-select.component.d.ts +23 -0
  31. package/lib/tango-manage-settings.module.d.ts +13 -12
  32. package/package.json +1 -1
@@ -11,7 +11,7 @@ export declare class BillingDetailsComponent implements OnDestroy {
11
11
  uploadInput: ElementRef<HTMLElement>;
12
12
  gstForm: string;
13
13
  private readonly destroy$;
14
- gstFile: File;
14
+ gstFile: File | null;
15
15
  constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService);
16
16
  ngOnDestroy(): void;
17
17
  initForm(): void;
@@ -10,6 +10,7 @@ export declare class BrandDetailsComponent implements OnDestroy {
10
10
  branInfoPrevValues: any;
11
11
  billingDetailsPrevValues: any;
12
12
  signatoryDetailPrevValues: any;
13
+ accordion: any;
13
14
  constructor(clientApi: ClientApiService, toast: ToastService);
14
15
  ngOnDestroy(): void;
15
16
  openItem(event: string): void;
@@ -14,6 +14,18 @@ export declare class BrandInfoComponent implements OnDestroy {
14
14
  countryList: any;
15
15
  private readonly destroy$;
16
16
  logoFile: File;
17
+ industry: {
18
+ value: string;
19
+ label: string;
20
+ }[];
21
+ clientType: {
22
+ value: string;
23
+ label: string;
24
+ }[];
25
+ status: {
26
+ value: string;
27
+ label: string;
28
+ }[];
17
29
  constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, gs: GlobalStateService);
18
30
  ngOnDestroy(): void;
19
31
  initForm(): void;
@@ -13,6 +13,7 @@ export declare class ConfigurationsComponent implements OnDestroy {
13
13
  featureConfigPrevValues: any;
14
14
  domainConfigPrevValues: any;
15
15
  userConfigPrevValues: any;
16
+ accordion: any;
16
17
  constructor(clientApi: ClientApiService, toaster: ToastService, gs: GlobalStateService);
17
18
  ngOnDestroy(): void;
18
19
  openItem(): void;
@@ -1,4 +1,4 @@
1
- import { OnDestroy } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { ClientApiService } from '../../../services/client-api.service';
4
4
  import { GlobalStateService } from 'tango-app-ui-global';
@@ -7,16 +7,54 @@ export declare class FeatureConfigurationComponent implements OnDestroy {
7
7
  private fb;
8
8
  private apiService;
9
9
  gs: GlobalStateService;
10
+ private cd;
10
11
  featureConfigurationForm: FormGroup;
11
12
  missedOpportunityStartTime: string;
12
13
  missedOpportunityEndTime: string;
13
14
  private readonly destroy$;
14
- constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService);
15
+ infraAlertValue: {
16
+ value: number;
17
+ label: string;
18
+ }[];
19
+ infraAlertCondition: {
20
+ value: string;
21
+ label: string;
22
+ }[];
23
+ bouncedLimitCondition: {
24
+ value: string;
25
+ label: string;
26
+ }[];
27
+ bouncedLimitValue: {
28
+ value: number;
29
+ label: string;
30
+ }[];
31
+ conversionCondition: {
32
+ value: string;
33
+ label: string;
34
+ }[];
35
+ conversionValue: {
36
+ value: number;
37
+ label: string;
38
+ }[];
39
+ billableCalculation: {
40
+ value: string;
41
+ label: string;
42
+ }[];
43
+ missedOpportunityCalculation: {
44
+ value: string;
45
+ label: string;
46
+ }[];
47
+ conversionCalculation: {
48
+ value: string;
49
+ label: string;
50
+ }[];
51
+ constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService, cd: ChangeDetectorRef);
15
52
  ngOnDestroy(): void;
16
53
  initForm(): void;
17
54
  patchForm(data: any): void;
18
55
  bouncedConfigTimeChange(value: number): void;
19
56
  conversionConfigTimeChange(value: number): void;
57
+ setConversionCalculation(conversionVal: number): void;
20
58
  onCancel(): void;
21
59
  onSubmit(): void;
22
60
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureConfigurationComponent, never>;
@@ -9,6 +9,14 @@ export declare class TicketConfigurationComponent implements OnDestroy {
9
9
  gs: GlobalStateService;
10
10
  ticketConfigurationForm: FormGroup;
11
11
  private readonly destroy$;
12
+ downTimeType: {
13
+ value: number;
14
+ label: string;
15
+ }[];
16
+ infraDownTime: {
17
+ value: number;
18
+ label: string;
19
+ }[];
12
20
  constructor(fb: FormBuilder, apiService: ClientApiService, gs: GlobalStateService);
13
21
  ngOnDestroy(): void;
14
22
  initForm(): void;
@@ -2,12 +2,14 @@ import { ChangeDetectorRef, OnDestroy } from '@angular/core';
2
2
  import { FormGroup, FormBuilder } from '@angular/forms';
3
3
  import { ClientApiService } from '../../../services/client-api.service';
4
4
  import { GlobalStateService } from 'tango-app-ui-global';
5
+ import { ToastService } from 'tango-app-ui-shared';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class UserConfigurationComponent implements OnDestroy {
7
8
  private fb;
8
9
  private apiService;
9
10
  private cd;
10
11
  gs: GlobalStateService;
12
+ private toast;
11
13
  userConfigurationForm: FormGroup;
12
14
  csmUserList: any;
13
15
  opsUserList: any;
@@ -15,7 +17,7 @@ export declare class UserConfigurationComponent implements OnDestroy {
15
17
  selectedOps: any;
16
18
  private readonly destroy$;
17
19
  clienId: string;
18
- constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, gs: GlobalStateService);
20
+ constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, gs: GlobalStateService, toast: ToastService);
19
21
  ngOnDestroy(): void;
20
22
  initForm(): void;
21
23
  patchForm(data: any): void;
@@ -2,16 +2,18 @@ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormGroup, FormBuilder } from '@angular/forms';
3
3
  import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
4
4
  import { ClientApiService } from '../../../services/client-api.service';
5
+ import { ToastService } from 'tango-app-ui-shared';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class EditSpocComponent implements OnInit, OnDestroy {
7
8
  private fb;
8
9
  private apiService;
9
10
  private activeModal;
11
+ private toaster;
10
12
  editSpocForm: FormGroup;
11
13
  spocId: string;
12
14
  storeId: string;
13
15
  private readonly destroy$;
14
- constructor(fb: FormBuilder, apiService: ClientApiService, activeModal: NgbActiveModal);
16
+ constructor(fb: FormBuilder, apiService: ClientApiService, activeModal: NgbActiveModal, toaster: ToastService);
15
17
  ngOnDestroy(): void;
16
18
  ngOnInit(): void;
17
19
  getSpocData(): void;
@@ -17,10 +17,10 @@ export declare class DocumentsComponent implements OnDestroy {
17
17
  panFormInput: ElementRef<HTMLElement>;
18
18
  cinFormInput: ElementRef<HTMLElement>;
19
19
  private readonly destroy$;
20
- gstFile: File;
21
- addressFile: File;
22
- panFile: File;
23
- cinFile: File;
20
+ gstFile: File | null;
21
+ addressFile: File | null;
22
+ panFile: File | null;
23
+ cinFile: File | null;
24
24
  docPrevValues: any;
25
25
  constructor(fb: FormBuilder, apiService: ClientApiService, cd: ChangeDetectorRef, toaster: ToastService, gs: GlobalStateService);
26
26
  ngOnDestroy(): void;
@@ -163,7 +163,6 @@ export declare class PaymentsSubscriptionComponent implements OnInit, AfterViewI
163
163
  reload(event: any): void;
164
164
  convertUpper(data: string): string;
165
165
  onDocumentClick(event: MouseEvent): void;
166
- increaseCount(): void;
167
166
  sortStoreSize(): void;
168
167
  getPriceError(value: any): "" | "error";
169
168
  downloadInvoice(data: any): void;
@@ -20,6 +20,7 @@ export declare class MultidropdownComponent implements OnInit, OnDestroy {
20
20
  selectAll: boolean;
21
21
  clientProduct: any;
22
22
  disabled: boolean;
23
+ index: number;
23
24
  data: EventEmitter<any>;
24
25
  private unsubscribe;
25
26
  private readonly destroy$;
@@ -41,12 +42,12 @@ export declare class MultidropdownComponent implements OnInit, OnDestroy {
41
42
  selectedFilters: any;
42
43
  ngOnInit(): void;
43
44
  onClick(event: MouseEvent): void;
44
- opendropdown(e: MouseEvent): void;
45
45
  Dropdown(value: any, index: number, event: MouseEvent): void;
46
46
  toggleCheckbox(issue: string, index: number): void;
47
47
  Reset(): void;
48
48
  productconfirmation(): void;
49
49
  convertUpper(data: any): string;
50
+ getClass(): string;
50
51
  static ɵfac: i0.ɵɵFactoryDeclaration<MultidropdownComponent, never>;
51
- 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; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "data": "data"; }, never, never, false, never>;
52
+ 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; }; "disabled": { "alias": "disabled"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, { "data": "data"; }, never, never, false, never>;
52
53
  }
@@ -0,0 +1,23 @@
1
+ import { ControlValueAccessor } from '@angular/forms';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ReactiveSelectComponent implements ControlValueAccessor {
4
+ private onTouched;
5
+ private onChanged;
6
+ protected isDisabled: boolean;
7
+ idField: string;
8
+ nameField: string;
9
+ label: string;
10
+ data: any;
11
+ protected isOpened: boolean;
12
+ protected selected: Record<string, any> | null;
13
+ protected selectedId: string | number;
14
+ writeValue(val: string | number): void;
15
+ registerOnChange(fn: any): void;
16
+ registerOnTouched(fn: any): void;
17
+ setDisabledState?(isDisabled: boolean): void;
18
+ onSelect(item: Record<string, any>): void;
19
+ onClick(event: MouseEvent): void;
20
+ isComponentClicked(targetElement: HTMLElement): boolean;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReactiveSelectComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReactiveSelectComponent, "lib-reactive-select", never, { "idField": { "alias": "idField"; "required": false; }; "nameField": { "alias": "nameField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
23
+ }
@@ -35,19 +35,20 @@ import * as i33 from "./components/payments-subscription/subscription-popups/sub
35
35
  import * as i34 from "./components/payments-subscription/subscription-popups/product-confirmation/product-confirmation.component";
36
36
  import * as i35 from "./components/activity-logs/activity-logs.component";
37
37
  import * as i36 from "./components/payments-subscription/subscription-popups/model-content/model-content.component";
38
- import * as i37 from "@angular/common";
39
- import * as i38 from "./tango-manage-settings-routing.module";
40
- import * as i39 from "@ng-bootstrap/ng-bootstrap";
41
- import * as i40 from "@angular/forms";
42
- import * as i41 from "@angular/material/autocomplete";
43
- import * as i42 from "@angular/material/chips";
44
- import * as i43 from "@angular/material/icon";
45
- import * as i44 from "@angular/material/form-field";
46
- import * as i45 from "@angular/common/http";
47
- import * as i46 from "tango-app-ui-shared";
48
- import * as i47 from "ngx-daterangepicker-material";
38
+ import * as i37 from "./components/reactive-select/reactive-select.component";
39
+ import * as i38 from "@angular/common";
40
+ import * as i39 from "./tango-manage-settings-routing.module";
41
+ import * as i40 from "@ng-bootstrap/ng-bootstrap";
42
+ import * as i41 from "@angular/forms";
43
+ import * as i42 from "@angular/material/autocomplete";
44
+ import * as i43 from "@angular/material/chips";
45
+ import * as i44 from "@angular/material/icon";
46
+ import * as i45 from "@angular/material/form-field";
47
+ import * as i46 from "@angular/common/http";
48
+ import * as i47 from "tango-app-ui-shared";
49
+ import * as i48 from "ngx-daterangepicker-material";
49
50
  export declare class TangoManageSettingsModule {
50
51
  static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageSettingsModule, never>;
51
- 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.CommonModule, typeof i38.TangoManageSettingsRoutingModule, typeof i39.NgbAccordionModule, typeof i39.NgbModule, typeof i40.ReactiveFormsModule, typeof i40.FormsModule, typeof i41.MatAutocompleteModule, typeof i42.MatChipsModule, typeof i43.MatIconModule, typeof i44.MatFormFieldModule, typeof i45.HttpClientModule, typeof i40.ReactiveFormsModule, typeof i40.FormsModule, typeof i46.CommonSharedModule, typeof i39.NgbTooltipModule, typeof i47.NgxDaterangepickerMd], never>;
52
+ 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.CommonModule, typeof i39.TangoManageSettingsRoutingModule, typeof i40.NgbAccordionModule, typeof i40.NgbModule, typeof i41.ReactiveFormsModule, typeof i41.FormsModule, typeof i42.MatAutocompleteModule, typeof i43.MatChipsModule, typeof i44.MatIconModule, typeof i45.MatFormFieldModule, typeof i46.HttpClientModule, typeof i41.ReactiveFormsModule, typeof i41.FormsModule, typeof i47.CommonSharedModule, typeof i40.NgbTooltipModule, typeof i48.NgxDaterangepickerMd], never>;
52
53
  static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageSettingsModule>;
53
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-manage-settings",
3
- "version": "3.0.18-dev",
3
+ "version": "3.0.19-dev",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"