@posiwise/smart-crm 0.0.69 → 0.0.71

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 (66) hide show
  1. package/fesm2022/posiwise-smart-crm.mjs +611 -309
  2. package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
  3. package/package.json +5 -5
  4. package/types/posiwise-smart-crm.d.ts +2506 -0
  5. package/index.d.ts +0 -49
  6. package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +0 -61
  7. package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +0 -73
  8. package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +0 -175
  9. package/lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component.d.ts +0 -28
  10. package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -109
  11. package/lib/private/components/smart-crm-actions/smart-crm-actions.component.d.ts +0 -75
  12. package/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.d.ts +0 -5
  13. package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +0 -37
  14. package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +0 -58
  15. package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts +0 -11
  16. package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.d.ts +0 -31
  17. package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +0 -56
  18. package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +0 -28
  19. package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +0 -53
  20. package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +0 -34
  21. package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +0 -62
  22. package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +0 -36
  23. package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +0 -59
  24. package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +0 -54
  25. package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +0 -127
  26. package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +0 -91
  27. package/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.d.ts +0 -5
  28. package/lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component.d.ts +0 -101
  29. package/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.d.ts +0 -56
  30. package/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.d.ts +0 -64
  31. package/lib/private/components/smart-crm-insight/smart-crm-insight.component.d.ts +0 -9
  32. package/lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component.d.ts +0 -53
  33. package/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.d.ts +0 -82
  34. package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +0 -54
  35. package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +0 -64
  36. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +0 -50
  37. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +0 -65
  38. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +0 -62
  39. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.d.ts +0 -23
  40. package/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.d.ts +0 -8
  41. package/lib/private/components/smart-crm-media/smart-crm-social-media/smart-crm-social-media.component.d.ts +0 -5
  42. package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +0 -66
  43. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +0 -74
  44. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +0 -123
  45. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +0 -84
  46. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.d.ts +0 -5
  47. package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +0 -10
  48. package/lib/private/smart-crm-private.module.d.ts +0 -66
  49. package/lib/private/smart-crm-private.routing.module.d.ts +0 -7
  50. package/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.d.ts +0 -18
  51. package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +0 -17
  52. package/lib/public/components/smart-crm-signup/smart-crm-signup.component.d.ts +0 -15
  53. package/lib/public/smart-crm-public.module.d.ts +0 -14
  54. package/lib/public/smart-crm-public.routing.module.d.ts +0 -7
  55. package/lib/shared/interface/crm-account.interface.d.ts +0 -61
  56. package/lib/shared/interface/crm-action.interface.d.ts +0 -15
  57. package/lib/shared/interface/crm-contact.interface.d.ts +0 -30
  58. package/lib/shared/interface/crm-lead.interface.d.ts +0 -27
  59. package/lib/shared/interface/crm-newsletter.interface.d.ts +0 -59
  60. package/lib/shared/interface/crm-opportunity.interface.d.ts +0 -63
  61. package/lib/shared/interface/crm-source.interface.d.ts +0 -11
  62. package/lib/shared/interface/crm-stages.interface.d.ts +0 -14
  63. package/lib/shared/interface/crm-widget.interface.d.ts +0 -14
  64. package/lib/shared/interface/smart-crm-module.interface.d.ts +0 -171
  65. package/lib/shared/models/smart-crm.model.d.ts +0 -16
  66. package/lib/shared/routers/routers.d.ts +0 -22
@@ -1,65 +0,0 @@
1
- import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { CommonService } from '@posiwise/common-services';
5
- import { Product, User } from '@posiwise/common-utilities';
6
- import { CrmService } from '@posiwise/smart-crm-shared';
7
- import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
8
- import * as i0 from "@angular/core";
9
- export declare class SmartCrmCommunicationsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit {
10
- private readonly crmService;
11
- private readonly commonService;
12
- form: UntypedFormGroup;
13
- subscriptionId: number;
14
- user: User;
15
- id: number;
16
- data: CrmNewsLetter;
17
- crmProduct: Product;
18
- status: any[];
19
- priority: any[];
20
- source: any[];
21
- organizationSizes: any[];
22
- featureKeys: any[];
23
- labels: any[];
24
- contactSource: any[];
25
- potentials: {
26
- label: string;
27
- value: string;
28
- }[];
29
- allCommunications: any[];
30
- editorConfig: any;
31
- userNameSyntax: string;
32
- submitted: boolean;
33
- buttonBusy: boolean;
34
- isLoading: boolean;
35
- daysToNewsletterField: boolean;
36
- hasAccess: boolean;
37
- constructor(injector: Injector, crmService: CrmService, commonService: CommonService);
38
- ngAfterViewInit(): void;
39
- ngOnInit(): void;
40
- private getAllCrmNewsletters;
41
- private getUserInfo;
42
- /** Function to get form controls */
43
- get f(): {
44
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
45
- };
46
- onSave(): void;
47
- /** Function to get edit communication details */
48
- private getCommunicationDetails;
49
- /** Function to execute on location select */
50
- handleAddressChange(event: any): void;
51
- /** Function for toggle */
52
- onChange(event: boolean, formControlName: string): void;
53
- /** Function to call Crm products */
54
- private getAllCrmProducts;
55
- /** Function to call account Default Values */
56
- private accountDefaultValues;
57
- /** Function to call account size */
58
- private getAccountSize;
59
- getDefaultValues(id: number): void;
60
- /** Function on select previous newsletter */
61
- onNewsletterSelect(event: any): void;
62
- ngOnDestroy(): void;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationsDetailsComponent, never>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationsDetailsComponent, "pw-smart-crm-communications-details", never, {}, {}, never, never, false, never>;
65
- }
@@ -1,62 +0,0 @@
1
- import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { Plotly, Subscription, User } from '@posiwise/common-utilities';
4
- import { CrmService } from '@posiwise/smart-crm-shared';
5
- import { LazyLoadEvent } from 'primeng/api';
6
- import { CrmNewsLetter, CrmNewsLetterResponse } from '../../../../shared/interface/crm-newsletter.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class SmartCrmCommunicationsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
9
- private readonly crmService;
10
- private readonly cdr;
11
- private page;
12
- subscription: Subscription;
13
- subscriptionId: number;
14
- user: User;
15
- data: CrmNewsLetterResponse;
16
- communicationsInsight: any;
17
- communicationEngagement: Plotly.Figure;
18
- searchText: string;
19
- loading: boolean;
20
- isLoaded: boolean;
21
- routers: {
22
- accounts: string;
23
- contacts: string;
24
- accountContacts: string;
25
- accountInfo: string;
26
- addAccount: string;
27
- contactInfo: string;
28
- contactAdd: string;
29
- contactDetails: string;
30
- opportunityAdd: string;
31
- opportunities: string;
32
- opportunityInfo: string;
33
- configurationDetails: string;
34
- configurations: string;
35
- leadsDetails: string;
36
- marketingDetails: string;
37
- marketing: string;
38
- categoryDetails: string;
39
- sourceDetails: string;
40
- stageDetails: string;
41
- widgetsDetails: string;
42
- };
43
- constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
44
- ngOnInit(): void;
45
- ngAfterViewChecked(): void;
46
- onLazyLoad(event: LazyLoadEvent): void;
47
- private getUserInfo;
48
- /** Function to call all communications */
49
- private getAllCommunications;
50
- onNavigate(subscription: any, item: any): void;
51
- /** Function to delete communication */
52
- onDelete(id: number): void;
53
- /** Function to send mail */
54
- sendTestEmail(item: CrmNewsLetter): void;
55
- /** Function to call communication insight */
56
- private getCommunicationInsight;
57
- /** Function to call communication engagement */
58
- private getCommunicationEngagement;
59
- ngOnDestroy(): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationsComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationsComponent, "pw-smart-crm-communications", never, {}, {}, never, never, false, never>;
62
- }
@@ -1,23 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { CrmService } from '@posiwise/smart-crm-shared';
5
- import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
6
- import * as i0 from "@angular/core";
7
- export declare class SmartCrmCommunicationViewDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
8
- private readonly crmService;
9
- private readonly sanitizer;
10
- id: number;
11
- subscriptionId: number;
12
- isLoaded: boolean;
13
- communicationDetails: CrmNewsLetter;
14
- constructor(injector: Injector, crmService: CrmService, sanitizer: DomSanitizer);
15
- ngOnInit(): void;
16
- /**subscriptionId */
17
- getSubscription(): void;
18
- /** Function to get edit communication details */
19
- private getCommunicationDetails;
20
- ngOnDestroy(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationViewDetailsComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationViewDetailsComponent, "pw-smart-crm-communication-view-details", never, {}, {}, never, never, false, never>;
23
- }
@@ -1,8 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import * as i0 from "@angular/core";
4
- export declare class SmartCrmMarketingViewComponent extends AppBaseComponent {
5
- constructor(injector: Injector);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmMarketingViewComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmMarketingViewComponent, "pw-smart-crm-marketing-view", never, {}, {}, never, never, false, never>;
8
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SmartCrmSocialMediaComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSocialMediaComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSocialMediaComponent, "pw-smart-crm-social-media", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,66 +0,0 @@
1
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
- import { Injector, OnDestroy, OnInit } from '@angular/core';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { Subscription } from '@posiwise/common-utilities';
5
- import { CrmService } from '@posiwise/smart-crm-shared';
6
- import { CrmOpportunity } from '../../../../shared/interface/crm-opportunity.interface';
7
- import { CrmStage } from '../../../../shared/interface/crm-stages.interface';
8
- import * as i0 from "@angular/core";
9
- export declare class SmartCrmBoardComponent extends AppBaseComponent implements OnInit, OnDestroy {
10
- private readonly crmService;
11
- private draggedOpportunity;
12
- private changedStage;
13
- private availableOpportunities;
14
- private readonly pageSize;
15
- subscription: Subscription;
16
- stages: CrmStage[];
17
- masterStages: CrmStage[];
18
- allOpportunities: CrmOpportunity[];
19
- opportunitiesGroup: any[];
20
- categories: any[];
21
- selectedCategoryId: number;
22
- totalCount: number;
23
- isLoaded: boolean;
24
- routers: {
25
- accounts: string;
26
- contacts: string;
27
- accountContacts: string;
28
- accountInfo: string;
29
- addAccount: string;
30
- contactInfo: string;
31
- contactAdd: string;
32
- contactDetails: string;
33
- opportunityAdd: string;
34
- opportunities: string;
35
- opportunityInfo: string;
36
- configurationDetails: string;
37
- configurations: string;
38
- leadsDetails: string;
39
- marketingDetails: string;
40
- marketing: string;
41
- categoryDetails: string;
42
- sourceDetails: string;
43
- stageDetails: string;
44
- widgetsDetails: string;
45
- };
46
- constructor(crmService: CrmService, injector: Injector);
47
- ngOnInit(): void;
48
- private getAllOpportunityCategories;
49
- private getStages;
50
- private getAllOpportunities;
51
- private buildStageTree;
52
- private flatten;
53
- private opportunitiesGroups;
54
- handleImageError(event: Event, fallbackPath: any): void;
55
- onChangeCategory(event: any): void;
56
- onColumnScroll(columnIndex: number): void;
57
- getFirstCurrency(opportunities: any): string;
58
- dropItem(event: CdkDragDrop<object[]>): void;
59
- getConnectedList(): string[];
60
- dropGroup(event: CdkDragDrop<string[]>): void;
61
- toggleColumn(event: any, group: any): void;
62
- hasStages(): boolean;
63
- ngOnDestroy(): void;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmBoardComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmBoardComponent, "pw-smart-crm-board", never, {}, {}, never, never, false, never>;
66
- }
@@ -1,74 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { ProductService } from '@posiwise/common-services';
5
- import { User } from '@posiwise/common-utilities';
6
- import { CrmService } from '@posiwise/smart-crm-shared';
7
- import { CrmAccount } from 'libs/smart-crm/src/lib/shared/interface/crm-account.interface';
8
- import { CrmOpportunityContact } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
9
- import * as i0 from "@angular/core";
10
- export declare class SmartCrmOpportunitiesDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
11
- private readonly crmService;
12
- private readonly productService;
13
- form: UntypedFormGroup;
14
- id: number;
15
- subscriptionId: number;
16
- contactId: number;
17
- account_id: number;
18
- user: User;
19
- isUserSubscriptionSuperAdmin: boolean;
20
- data: any;
21
- private opportunityData;
22
- allContacts: CrmOpportunityContact[];
23
- filteredUsers: CrmOpportunityContact[];
24
- opportunities: any[];
25
- masterProductId: number;
26
- accounts: any[];
27
- filteredAccounts: CrmAccount[];
28
- stages: any[];
29
- masterStages: any[];
30
- categories: any[];
31
- featureKeys: any[];
32
- currencies: any[];
33
- winChance: number[];
34
- accountValueCount: number;
35
- currentAccountId: any;
36
- searchText: string;
37
- onEdit: boolean;
38
- isContactChange: boolean;
39
- TrialStartField: boolean;
40
- WonField: boolean;
41
- LostField: boolean;
42
- cancelledTrue: boolean;
43
- submitted: boolean;
44
- buttonBusy: boolean;
45
- isLoading: boolean;
46
- /** Function to get form controls */
47
- get f(): {
48
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
49
- };
50
- constructor(injector: Injector, crmService: CrmService, productService: ProductService);
51
- ngOnInit(): void;
52
- private getAvailableOpportunityStages;
53
- private getUserInfo;
54
- /** Function to call accounts */
55
- private getAllAccounts;
56
- private getFeatureKeys;
57
- /** Function to call contacts */
58
- private getAccountContacts;
59
- /** Function to get opportunities data */
60
- private getOpportunityDetails;
61
- private accountDefaultValues;
62
- /** Function to execute on submit opportunities form */
63
- onSave(): void;
64
- /** Function to get all categories */
65
- private getAllOpportunityCategories;
66
- private getValues;
67
- search(event: any): void;
68
- searchAccount(event: any): void;
69
- onCategoryChange(event: any): void;
70
- private toggleStageField;
71
- ngOnDestroy(): void;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesDetailsComponent, never>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesDetailsComponent, "pw-smart-crm-opportunities-details", never, {}, {}, never, never, false, never>;
74
- }
@@ -1,123 +0,0 @@
1
- import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { AuthService } from '@posiwise/common-services';
5
- import { Subscription } from '@posiwise/common-utilities';
6
- import { CrmService } from '@posiwise/smart-crm-shared';
7
- import { OpportunityComment, OpportunityContact, OpportunityData } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
8
- import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
9
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
10
- import { CrmAccount } from '../../../../../shared/interface/crm-account.interface';
11
- import { CrmAction } from '../../../../../shared/interface/crm-action.interface';
12
- import { CrmVersion } from '../../../../../shared/interface/crm-opportunity.interface';
13
- import * as i0 from "@angular/core";
14
- export declare class SmartCrmOpportunitiesInfoComponent extends AppBaseComponent implements OnInit, OnDestroy {
15
- private readonly crmService;
16
- private readonly modalService;
17
- private readonly authService;
18
- private readonly document;
19
- subscription: Subscription;
20
- subscriptionId: number;
21
- userId: number;
22
- opportunitiesId: number;
23
- data: OpportunityData;
24
- accounts: CrmAccount[];
25
- filteredAccounts: CrmAccount[];
26
- actions: CrmAction[];
27
- actionId: number;
28
- allContacts: OpportunityContact[];
29
- filteredContacts: OpportunityContact[];
30
- opportunitiesComments: OpportunityComment[];
31
- opportunitiesVersioning: CrmVersion[];
32
- contactId: number;
33
- accountId: number;
34
- aboutControls: UntypedFormGroup;
35
- actionControls: UntypedFormGroup;
36
- options: UploaderOptions;
37
- uploadInput: EventEmitter<UploadInput>;
38
- files: UploadFile[];
39
- token: string;
40
- isLoaded: boolean;
41
- isFormEdit: boolean;
42
- hasAccess: boolean;
43
- isDisabled: boolean;
44
- updating: boolean;
45
- showFullComment: boolean;
46
- submitAction: boolean;
47
- buttonDisable: boolean;
48
- buttonBusy: boolean;
49
- submitted: boolean;
50
- dangerColor: boolean;
51
- dragOver: boolean;
52
- commentId: number;
53
- routers: {
54
- accounts: string;
55
- contacts: string;
56
- accountContacts: string;
57
- accountInfo: string;
58
- addAccount: string;
59
- contactInfo: string;
60
- contactAdd: string;
61
- contactDetails: string;
62
- opportunityAdd: string;
63
- opportunities: string;
64
- opportunityInfo: string;
65
- configurationDetails: string;
66
- configurations: string;
67
- leadsDetails: string;
68
- marketingDetails: string;
69
- marketing: string;
70
- categoryDetails: string;
71
- sourceDetails: string;
72
- stageDetails: string;
73
- widgetsDetails: string;
74
- };
75
- constructor(injector: Injector, crmService: CrmService, modalService: NgbModal, authService: AuthService, document: Document);
76
- ngOnInit(): void;
77
- /** Function to call user info */
78
- private userInfo;
79
- /** Function to get opportunities details */
80
- getOpportunityDetails(): void;
81
- /** Function to update opportunities */
82
- updateOpportunities(): void;
83
- /** Function to save comment */
84
- onCommentSave(): void;
85
- showDatePicker(event: any, id: any): void;
86
- onDateSelected(): void;
87
- /** Function to get all comments */
88
- private getOpportunitiesComments;
89
- get f(): {
90
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
91
- };
92
- get actionFormControls(): {
93
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
94
- };
95
- /** Function to get the list of accounts by subscriptionId */
96
- getAccountsBySubscription(): void;
97
- /** Function to get and show all the actions */
98
- private getActions;
99
- showEditControls(event: any): void;
100
- /** Function to update the date */
101
- onDateSelect(event: any, action: any): void;
102
- /** Function to show DatePicker */
103
- showDatePickerUpdate(actionId: any): void;
104
- /** Function to set the action as completed */
105
- setAsCompletedOrUncompleted(id: any, action: any, completedOrUncompleted: any): Promise<void>;
106
- /** Function to update comment */
107
- updateComment(item: any): void;
108
- /** Function to set the action as cancelled */
109
- setAsCancelled(id: any, action: any): Promise<void>;
110
- /** Function to call contacts */
111
- getAllContacts(): void;
112
- /** search accounts */
113
- accountSearch(event: any): void;
114
- onContactSearch(event: any): void;
115
- openModal(content: any): void;
116
- onClose(): void;
117
- /** Function to get opportunities versions */
118
- private getContactVersion;
119
- onUploadOutput(output: UploadOutput): void;
120
- ngOnDestroy(): void;
121
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesInfoComponent, never>;
122
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesInfoComponent, "pw-smart-crm-opportunities-info", never, {}, {}, never, never, false, never>;
123
- }
@@ -1,84 +0,0 @@
1
- import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { ProductService } from '@posiwise/common-services';
4
- import { Plotly, Subscription, User } from '@posiwise/common-utilities';
5
- import { CrmService } from '@posiwise/smart-crm-shared';
6
- import { OpportunityInsight } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
7
- import { LazyLoadEvent } from 'primeng/api';
8
- import { CrmOpportunityResponse } from '../../../../shared/interface/crm-opportunity.interface';
9
- import * as i0 from "@angular/core";
10
- export declare class SmartCrmOpportunitiesListComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
11
- private readonly crmService;
12
- private readonly cdr;
13
- private readonly productService;
14
- subscription: Subscription;
15
- subscriptionId: number;
16
- user: User;
17
- userId: number;
18
- data: CrmOpportunityResponse;
19
- totals: {
20
- total_mrr: number;
21
- };
22
- opportunitiesInsight: OpportunityInsight[];
23
- opportunitiesGeography: Plotly.Figure;
24
- id: string;
25
- searchText: string;
26
- searchStages: object[];
27
- searchCategories: object[];
28
- filterByStages: string[];
29
- filterByCategories: any[];
30
- page: number;
31
- stages: any[];
32
- categories: any[];
33
- loading: boolean;
34
- isLoaded: boolean;
35
- hasAccess: boolean;
36
- canViewMrr: boolean;
37
- routers: {
38
- accounts: string;
39
- contacts: string;
40
- accountContacts: string;
41
- accountInfo: string;
42
- addAccount: string;
43
- contactInfo: string;
44
- contactAdd: string;
45
- contactDetails: string;
46
- opportunityAdd: string;
47
- opportunities: string;
48
- opportunityInfo: string;
49
- configurationDetails: string;
50
- configurations: string;
51
- leadsDetails: string;
52
- marketingDetails: string;
53
- marketing: string;
54
- categoryDetails: string;
55
- sourceDetails: string;
56
- stageDetails: string;
57
- widgetsDetails: string;
58
- };
59
- constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, productService: ProductService);
60
- ngOnInit(): void;
61
- ngAfterViewChecked(): void;
62
- onLazyLoad(event: LazyLoadEvent): void;
63
- /** Function to get user details */
64
- private getUserInfo;
65
- private getAllStages;
66
- onSearchOptionChange(event: any, filterBy: string): void;
67
- clearFilters(): void;
68
- private getAllOpportunities;
69
- isPastDate(date: string | Date): boolean;
70
- onDelete(id: number): void;
71
- /** Function to get available opportunities */
72
- private getAvailableOpportunityStages;
73
- /** Function to get all categories */
74
- private getAllOpportunityCategories;
75
- /** Function to call opportunities insight */
76
- private getOpportunitiesInsight;
77
- /** Function to call contact geography */
78
- private getContactGeography;
79
- checkPermission(permission: string): boolean;
80
- getMainCurrency(): string;
81
- ngOnDestroy(): void;
82
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesListComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesListComponent, "pw-smart-crm-opportunities-list", never, {}, {}, never, never, false, never>;
84
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SmartCrmOpportunitiesComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesComponent, "pw-smart-crm-opportunities", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,10 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { MenuItem } from 'primeng/api';
4
- import * as i0 from "@angular/core";
5
- export declare class SmartCrmTabsComponent extends AppBaseComponent {
6
- items: MenuItem[];
7
- constructor(injector: Injector);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmTabsComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmTabsComponent, "pw-smart-crm-private-tabs", never, {}, {}, never, never, false, never>;
10
- }
@@ -1,66 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./components/smart-crm-tabs/smart-crm-tabs.component";
3
- import * as i2 from "./components/smart-crm-accounts/smart-crm-accounts.component";
4
- import * as i3 from "./components/smart-crm-contacts/smart-crm-contacts.component";
5
- import * as i4 from "./components/smart-crm-configuration/smart-crm-configuration.component";
6
- import * as i5 from "./components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component";
7
- import * as i6 from "./components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component";
8
- import * as i7 from "./components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component";
9
- import * as i8 from "./components/smart-crm-insight/smart-crm-insight.component";
10
- import * as i9 from "./components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component";
11
- import * as i10 from "./components/smart-crm-leads/smart-crm-leads.component";
12
- import * as i11 from "./components/smart-crm-opportunities/smart-crm-opportunities.component";
13
- import * as i12 from "./components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component";
14
- import * as i13 from "./components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component";
15
- import * as i14 from "./components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component";
16
- import * as i15 from "./components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component";
17
- import * as i16 from "./components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component";
18
- import * as i17 from "./components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component";
19
- import * as i18 from "./components/smart-crm-configuration/smart-crm-source/smart-crm-source.component";
20
- import * as i19 from "./components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component";
21
- import * as i20 from "./components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component";
22
- import * as i21 from "./components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component";
23
- import * as i22 from "./components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component";
24
- import * as i23 from "./components/smart-crm-media/smart-crm-social-media/smart-crm-social-media.component";
25
- import * as i24 from "./components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component";
26
- import * as i25 from "./components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component";
27
- import * as i26 from "./components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component";
28
- import * as i27 from "./components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component";
29
- import * as i28 from "./components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component";
30
- import * as i29 from "./components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component";
31
- import * as i30 from "./components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component";
32
- import * as i31 from "./components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component";
33
- import * as i32 from "./components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component";
34
- import * as i33 from "./components/smart-crm-actions/smart-crm-actions.component";
35
- import * as i34 from "./components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component";
36
- import * as i35 from "./components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component";
37
- import * as i36 from "./components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component";
38
- import * as i37 from "./components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component";
39
- import * as i38 from "./components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component";
40
- import * as i39 from "./components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component";
41
- import * as i40 from "./components/smart-crm-marketing/smart-crm-marketing.component";
42
- import * as i41 from "./components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component";
43
- import * as i42 from "./components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component";
44
- import * as i43 from "@angular/common";
45
- import * as i44 from "@angular/forms";
46
- import * as i45 from "ngx-pagination";
47
- import * as i46 from "@posiwise/pipes";
48
- import * as i47 from "primeng/inputtext";
49
- import * as i48 from "@ng-bootstrap/ng-bootstrap";
50
- import * as i49 from "ngx-ui-switch";
51
- import * as i50 from "@posiwise/directives";
52
- import * as i51 from "angular-plotly.js";
53
- import * as i52 from "@angular-magic/ngx-gp-autocomplete";
54
- import * as i53 from "./smart-crm-private.routing.module";
55
- import * as i54 from "@posiwise/shared-components";
56
- import * as i55 from "@posiwise/core-transloco";
57
- import * as i56 from "@angular/cdk/drag-drop";
58
- import * as i57 from "ngx-quill";
59
- import * as i58 from "ngx-uploader";
60
- import * as i59 from "ngx-infinite-scroll";
61
- import * as i60 from "primeng/select";
62
- export declare class SmartCrmPrivateModule {
63
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmPrivateModule, never>;
64
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartCrmPrivateModule, [typeof i1.SmartCrmTabsComponent, typeof i2.SmartCrmCompaniesComponent, typeof i3.SmartCrmContactComponent, typeof i4.SmartCrmConfigurationComponent, typeof i5.SmartCrmSettingsDetailsComponent, typeof i6.SmartCrmContactDetailsComponent, typeof i7.SmartCrmCompanyDetailsComponent, typeof i8.SmartCrmInsightComponent, typeof i9.SmartCrmContactInfoComponent, typeof i10.SmartCrmLeadsComponent, typeof i11.SmartCrmOpportunitiesComponent, typeof i12.SmartCrmOpportunitiesDetailsComponent, typeof i13.SmartCrmBoardComponent, typeof i14.SmartCrmCommunicationsComponent, typeof i15.SmartCrmCommunicationsInsightComponent, typeof i16.SmartCrmAnalysisComponent, typeof i17.SmartCrmCompanyInfoComponent, typeof i18.SmartCrmCompanySourceComponent, typeof i19.SmartCrmCompanyFilesComponent, typeof i20.SmartCrmCompanyAccountInvoiceComponent, typeof i21.SmartCrmWidgetsComponent, typeof i22.SmartCrmCustomerSuccessComponent, typeof i23.SmartCrmSocialMediaComponent, typeof i24.SmartCrmCompetitionComponent, typeof i25.SmartCrmOpportunitiesInfoComponent, typeof i26.SmartCrmSourceDetailsComponent, typeof i27.SmartCrmWidgetsDetailsComponent, typeof i28.SmartCrmActionsComponent, typeof i29.SmartCrmOpportunitiesListComponent, typeof i30.SmartCrmContactInsightComponent, typeof i31.SmartCrmOpportunitiesInsightComponent, typeof i32.SmartCrmAccountInsightComponent, typeof i33.CrmActionsComponent, typeof i34.SmartCrmCommunicationsDetailsComponent, typeof i35.SmartCrmCommunicationViewDetailsComponent, typeof i36.SmartCrmLeadsDetailsComponent, typeof i37.SmartCrmMarketingUsersListComponent, typeof i38.SmartCrmStagesComponent, typeof i39.SmartCrmStageDetailsComponent, typeof i40.SmartCrmMarketingViewComponent, typeof i41.SmartCrmOpportunityCategoriesComponent, typeof i42.SmartCrmOpportunityCategoriesDetailsComponent], [typeof i43.CommonModule, typeof i44.FormsModule, typeof i45.NgxPaginationModule, typeof i46.PipesModule, typeof i47.InputTextModule, typeof i48.NgbTooltipModule, typeof i49.UiSwitchModule, typeof i50.DirectivesModule, typeof i44.ReactiveFormsModule, typeof i51.PlotlyViaCDNModule, typeof i52.NgxGpAutocompleteModule, typeof i53.SmartCrmPrivateRoutingModule, typeof i54.SharedComponentsModule, typeof i55.CoreTranslocoModule, typeof i56.DragDropModule, typeof i57.QuillModule, typeof i58.NgxUploaderModule, typeof i59.InfiniteScrollModule, typeof i60.SelectModule, typeof i48.NgbNavModule, typeof i48.NgbDatepickerModule], [typeof i1.SmartCrmTabsComponent, typeof i2.SmartCrmCompaniesComponent, typeof i3.SmartCrmContactComponent, typeof i4.SmartCrmConfigurationComponent, typeof i5.SmartCrmSettingsDetailsComponent, typeof i6.SmartCrmContactDetailsComponent, typeof i7.SmartCrmCompanyDetailsComponent, typeof i8.SmartCrmInsightComponent, typeof i30.SmartCrmContactInsightComponent, typeof i31.SmartCrmOpportunitiesInsightComponent, typeof i32.SmartCrmAccountInsightComponent, typeof i16.SmartCrmAnalysisComponent, typeof i9.SmartCrmContactInfoComponent, typeof i10.SmartCrmLeadsComponent, typeof i11.SmartCrmOpportunitiesComponent, typeof i12.SmartCrmOpportunitiesDetailsComponent, typeof i13.SmartCrmBoardComponent, typeof i14.SmartCrmCommunicationsComponent, typeof i15.SmartCrmCommunicationsInsightComponent, typeof i17.SmartCrmCompanyInfoComponent, typeof i18.SmartCrmCompanySourceComponent, typeof i20.SmartCrmCompanyAccountInvoiceComponent, typeof i19.SmartCrmCompanyFilesComponent, typeof i21.SmartCrmWidgetsComponent, typeof i22.SmartCrmCustomerSuccessComponent, typeof i23.SmartCrmSocialMediaComponent, typeof i24.SmartCrmCompetitionComponent, typeof i25.SmartCrmOpportunitiesInfoComponent, typeof i26.SmartCrmSourceDetailsComponent, typeof i27.SmartCrmWidgetsDetailsComponent, typeof i28.SmartCrmActionsComponent, typeof i29.SmartCrmOpportunitiesListComponent, typeof i33.CrmActionsComponent, typeof i34.SmartCrmCommunicationsDetailsComponent, typeof i35.SmartCrmCommunicationViewDetailsComponent, typeof i36.SmartCrmLeadsDetailsComponent, typeof i37.SmartCrmMarketingUsersListComponent, typeof i38.SmartCrmStagesComponent, typeof i39.SmartCrmStageDetailsComponent, typeof i40.SmartCrmMarketingViewComponent, typeof i41.SmartCrmOpportunityCategoriesComponent, typeof i42.SmartCrmOpportunityCategoriesDetailsComponent]>;
65
- static ɵinj: i0.ɵɵInjectorDeclaration<SmartCrmPrivateModule>;
66
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/router";
3
- export declare class SmartCrmPrivateRoutingModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmPrivateRoutingModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartCrmPrivateRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<SmartCrmPrivateRoutingModule>;
7
- }
@@ -1,18 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { CrmService } from '@posiwise/smart-crm-shared';
4
- import * as i0 from "@angular/core";
5
- export declare class CrmNewsletterConfirmationComponent implements OnInit {
6
- private readonly route;
7
- private readonly crmService;
8
- token: string;
9
- email: string;
10
- message: string;
11
- errorMsg: string;
12
- error: boolean;
13
- constructor(route: ActivatedRoute, crmService: CrmService);
14
- ngOnInit(): void;
15
- getNewsletterConfirmation(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<CrmNewsletterConfirmationComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<CrmNewsletterConfirmationComponent, "pw-crm-newsletter-confirmation", never, {}, {}, never, never, false, never>;
18
- }