@posiwise/smart-crm 0.0.42 → 0.0.44

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 (16) hide show
  1. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +3 -3
  2. package/esm2022/lib/private/components/smart-crm-actions/smart-crm-actions.component.mjs +3 -3
  3. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.mjs +2 -2
  4. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.mjs +3 -3
  5. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component.mjs +3 -3
  6. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.mjs +3 -3
  7. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.mjs +3 -3
  8. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component.mjs +3 -3
  9. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.mjs +3 -3
  10. package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +30 -20
  11. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.mjs +3 -3
  12. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.mjs +3 -3
  13. package/fesm2022/posiwise-smart-crm.mjs +41 -33
  14. package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
  15. package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +6 -1
  16. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { AppBaseComponent } from '@posiwise/app-base-component';
3
+ import { GeoService } from '@posiwise/common-services';
3
4
  import { Subscription } from '@posiwise/common-utilities';
4
5
  import { CrmService } from '@posiwise/smart-crm-shared';
5
6
  import { LazyLoadEvent } from 'primeng/api';
@@ -8,9 +9,12 @@ import * as i0 from "@angular/core";
8
9
  export declare class SmartCrmLeadsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
9
10
  private readonly crmService;
10
11
  private readonly cdr;
12
+ private readonly geoService;
11
13
  subscription: Subscription;
14
+ countries$: any;
12
15
  subscriptionId: number;
13
16
  userId: number;
17
+ countryData: any;
14
18
  data: CrmLeadResponse;
15
19
  allSource: any[];
16
20
  crmSources: any[];
@@ -42,8 +46,9 @@ export declare class SmartCrmLeadsComponent extends AppBaseComponent implements
42
46
  stageDetails: string;
43
47
  widgetsDetails: string;
44
48
  };
45
- constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
49
+ constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, geoService: GeoService);
46
50
  ngOnInit(): void;
51
+ getCountryName(code: string): string;
47
52
  ngAfterViewChecked(): void;
48
53
  private getUserInfo;
49
54
  onLazyLoad(event: LazyLoadEvent): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/smart-crm",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11"