@posiwise/smart-crm 0.0.26 → 0.0.28

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 (23) hide show
  1. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.mjs +3 -3
  2. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.mjs +3 -3
  3. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +3 -29
  4. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.mjs +3 -3
  5. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.mjs +3 -3
  6. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.mjs +3 -3
  7. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.mjs +3 -3
  8. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.mjs +3 -3
  9. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.mjs +3 -3
  10. package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +3 -3
  11. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.mjs +3 -3
  12. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.mjs +3 -3
  13. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.mjs +3 -3
  14. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.mjs +2 -2
  15. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.mjs +23 -16
  16. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.mjs +3 -4
  17. package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.mjs +3 -3
  18. package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.mjs +18 -8
  19. package/fesm2022/posiwise-smart-crm.mjs +62 -76
  20. package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
  21. package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -6
  22. package/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.d.ts +24 -0
  23. package/package.json +1 -1
@@ -34,8 +34,6 @@ export declare class SmartCrmCompaniesComponent extends AppBaseComponent impleme
34
34
  private filterByLocation;
35
35
  accountGeography: Plotly.Figure;
36
36
  accountActivities: any[];
37
- accountLastInvoices: string[];
38
- accountInsight: string[];
39
37
  private page;
40
38
  subscription: Subscription;
41
39
  routers: {
@@ -93,10 +91,6 @@ export declare class SmartCrmCompaniesComponent extends AppBaseComponent impleme
93
91
  formatMRR(mrrInCents: number): string;
94
92
  /** Function to call account activities */
95
93
  private getAccountActivities;
96
- /** Function to call last invoice */
97
- private getAccountLastInvoices;
98
- /** Function to call account insight */
99
- private getAccountInsight;
100
94
  getCountryFromLocation(location: string): string;
101
95
  getAccountLogo(url: string): string;
102
96
  ngOnDestroy(): void;
@@ -9,6 +9,27 @@ export declare class SmartCrmSummaryOthersComponent extends AppBaseComponent imp
9
9
  activeOpportunities: activeOpportunities[];
10
10
  accountAtRisk: [];
11
11
  ContractRenewal: [];
12
+ routers: {
13
+ accounts: string;
14
+ contacts: string;
15
+ accountInfo: string;
16
+ addAccount: string;
17
+ contactInfo: string;
18
+ contactAdd: string;
19
+ contactDetails: string;
20
+ opportunityAdd: string;
21
+ opportunities: string;
22
+ opportunityInfo: string;
23
+ configurationDetails: string;
24
+ configurations: string;
25
+ leadsDetails: string;
26
+ marketingDetails: string;
27
+ marketing: string;
28
+ categoryDetails: string;
29
+ sourceDetails: string;
30
+ stageDetails: string;
31
+ widgetsDetails: string;
32
+ };
12
33
  creditCardExpiring: [];
13
34
  magicMoment: [];
14
35
  user: User;
@@ -19,6 +40,8 @@ export declare class SmartCrmSummaryOthersComponent extends AppBaseComponent imp
19
40
  creditCardExpiringDetailsLoaded: boolean;
20
41
  magicMomentLoaded: boolean;
21
42
  subscription: Subscription;
43
+ hasAccess: boolean;
44
+ userId: number;
22
45
  constructor(crmService: CrmService, injector: Injector);
23
46
  ngOnInit(): void;
24
47
  private getUserInfo;
@@ -34,6 +57,7 @@ export declare class SmartCrmSummaryOthersComponent extends AppBaseComponent imp
34
57
  private getCreditCardExpiringDetails;
35
58
  /** Function to call magic moment */
36
59
  private getMagicMoment;
60
+ checkPermission(permission: string): boolean;
37
61
  ngOnDestroy(): void;
38
62
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSummaryOthersComponent, never>;
39
63
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSummaryOthersComponent, "pw-smart-crm-summary-others", never, {}, {}, never, never, false, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/smart-crm",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11"