@posiwise/smart-crm 0.0.70 → 0.0.72
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.
- package/fesm2022/posiwise-smart-crm.mjs +611 -309
- package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
- package/package.json +5 -5
- package/types/posiwise-smart-crm.d.ts +2506 -0
- package/index.d.ts +0 -49
- package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +0 -61
- package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +0 -73
- package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +0 -175
- package/lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component.d.ts +0 -28
- package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -109
- package/lib/private/components/smart-crm-actions/smart-crm-actions.component.d.ts +0 -75
- package/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.d.ts +0 -5
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +0 -37
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +0 -58
- package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts +0 -11
- 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
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +0 -56
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +0 -28
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +0 -53
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +0 -34
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +0 -62
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +0 -36
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +0 -59
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +0 -54
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +0 -127
- package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +0 -91
- package/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.d.ts +0 -5
- package/lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component.d.ts +0 -101
- package/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.d.ts +0 -56
- package/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.d.ts +0 -64
- package/lib/private/components/smart-crm-insight/smart-crm-insight.component.d.ts +0 -9
- package/lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component.d.ts +0 -53
- package/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.d.ts +0 -82
- package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +0 -54
- package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +0 -64
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +0 -50
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +0 -65
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +0 -62
- 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
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.d.ts +0 -8
- package/lib/private/components/smart-crm-media/smart-crm-social-media/smart-crm-social-media.component.d.ts +0 -5
- package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +0 -66
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +0 -74
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +0 -123
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +0 -84
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.d.ts +0 -5
- package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +0 -10
- package/lib/private/smart-crm-private.module.d.ts +0 -66
- package/lib/private/smart-crm-private.routing.module.d.ts +0 -7
- package/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.d.ts +0 -18
- package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +0 -17
- package/lib/public/components/smart-crm-signup/smart-crm-signup.component.d.ts +0 -15
- package/lib/public/smart-crm-public.module.d.ts +0 -14
- package/lib/public/smart-crm-public.routing.module.d.ts +0 -7
- package/lib/shared/interface/crm-account.interface.d.ts +0 -61
- package/lib/shared/interface/crm-action.interface.d.ts +0 -15
- package/lib/shared/interface/crm-contact.interface.d.ts +0 -30
- package/lib/shared/interface/crm-lead.interface.d.ts +0 -27
- package/lib/shared/interface/crm-newsletter.interface.d.ts +0 -59
- package/lib/shared/interface/crm-opportunity.interface.d.ts +0 -63
- package/lib/shared/interface/crm-source.interface.d.ts +0 -11
- package/lib/shared/interface/crm-stages.interface.d.ts +0 -14
- package/lib/shared/interface/crm-widget.interface.d.ts +0 -14
- package/lib/shared/interface/smart-crm-module.interface.d.ts +0 -171
- package/lib/shared/models/smart-crm.model.d.ts +0 -16
- package/lib/shared/routers/routers.d.ts +0 -22
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Paging, Subscription } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
6
|
-
import { CrmActionResponse } from '../../../../shared/interface/crm-action.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmActionsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
|
-
private readonly crmService;
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
private page;
|
|
12
|
-
data: CrmActionResponse;
|
|
13
|
-
subscription: Subscription;
|
|
14
|
-
subscriptionId: number;
|
|
15
|
-
userId: number;
|
|
16
|
-
searchText: string;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
hasAccess: boolean;
|
|
19
|
-
isLoaded: boolean;
|
|
20
|
-
routers: {
|
|
21
|
-
accounts: string;
|
|
22
|
-
contacts: string;
|
|
23
|
-
accountContacts: string;
|
|
24
|
-
accountInfo: string;
|
|
25
|
-
addAccount: string;
|
|
26
|
-
contactInfo: string;
|
|
27
|
-
contactAdd: string;
|
|
28
|
-
contactDetails: string;
|
|
29
|
-
opportunityAdd: string;
|
|
30
|
-
opportunities: string;
|
|
31
|
-
opportunityInfo: string;
|
|
32
|
-
configurationDetails: string;
|
|
33
|
-
configurations: string;
|
|
34
|
-
leadsDetails: string;
|
|
35
|
-
marketingDetails: string;
|
|
36
|
-
marketing: string;
|
|
37
|
-
categoryDetails: string;
|
|
38
|
-
sourceDetails: string;
|
|
39
|
-
stageDetails: string;
|
|
40
|
-
widgetsDetails: string;
|
|
41
|
-
};
|
|
42
|
-
actionNames: string[];
|
|
43
|
-
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
ngAfterViewChecked(): void;
|
|
46
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
47
|
-
shouldShowTableContent(): boolean;
|
|
48
|
-
/** Function to get and show all the actions */
|
|
49
|
-
private getActions;
|
|
50
|
-
getActionName(id: number): string;
|
|
51
|
-
invokeGetActions(paging: Paging): void;
|
|
52
|
-
buildDefaultActions(): void;
|
|
53
|
-
/** Function to delete existing setting */
|
|
54
|
-
onDelete(id: number): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmActionsComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmActionsComponent, "pw-smart-crm-actions", never, {}, {}, never, never, false, never>;
|
|
58
|
-
}
|
package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SmartCrmConfigurationComponent extends AppBaseComponent implements OnInit {
|
|
5
|
-
activeTab: string;
|
|
6
|
-
constructor(injector: Injector);
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
onTabChange(event: any): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmConfigurationComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmConfigurationComponent, "pw-configuration", never, {}, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1,31 +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 { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { CrmOpportunityCategory } from '../../../../../shared/interface/crm-opportunity.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmOpportunityCategoriesDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
|
-
private readonly crmService;
|
|
10
|
-
form: UntypedFormGroup;
|
|
11
|
-
id: number;
|
|
12
|
-
subscriptionId: number;
|
|
13
|
-
data: CrmOpportunityCategory;
|
|
14
|
-
categories$: Observable<string>;
|
|
15
|
-
submitted: boolean;
|
|
16
|
-
buttonBusy: boolean;
|
|
17
|
-
isLoading: boolean;
|
|
18
|
-
constructor(injector: Injector, crmService: CrmService);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
/** Function to get opportunity Details */
|
|
21
|
-
private getOpportunityDetails;
|
|
22
|
-
/** Function to get form controls */
|
|
23
|
-
get f(): {
|
|
24
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
25
|
-
};
|
|
26
|
-
/** on submit the form */
|
|
27
|
-
onSave(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunityCategoriesDetailsComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunityCategoriesDetailsComponent, "pw-smart-crm-opportunity-categories-details", never, {}, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Paging, Subscription, User } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
6
|
-
import { CrmOpportunityCategoryResponse } from '../../../../shared/interface/crm-opportunity.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmOpportunityCategoriesComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
|
-
private readonly crmService;
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
private page;
|
|
12
|
-
data: CrmOpportunityCategoryResponse;
|
|
13
|
-
subscription: Subscription;
|
|
14
|
-
subscriptionId: number;
|
|
15
|
-
user: User;
|
|
16
|
-
categoryNames: any[];
|
|
17
|
-
searchText: string;
|
|
18
|
-
loading: boolean;
|
|
19
|
-
hasAccess: 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
|
-
/** Function to get all categories */
|
|
48
|
-
private getAllOpportunityCategories;
|
|
49
|
-
invokeGetAllOpportunityCategories(paging: Paging): void;
|
|
50
|
-
/** Function to delete categories */
|
|
51
|
-
onDelete(id: number): void;
|
|
52
|
-
buildCategories(): void;
|
|
53
|
-
ngOnDestroy(): void;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunityCategoriesComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunityCategoriesComponent, "pw-smart-crm-opportunity-categories", never, {}, {}, never, never, false, never>;
|
|
56
|
-
}
|
|
@@ -1,28 +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 { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { CrmSource } from '../../../../../shared/interface/crm-source.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SmartCrmSourceDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
|
-
private readonly crmService;
|
|
9
|
-
subscriptionId: number;
|
|
10
|
-
submitted: boolean;
|
|
11
|
-
buttonBusy: boolean;
|
|
12
|
-
isLoading: boolean;
|
|
13
|
-
sourceForm: UntypedFormGroup;
|
|
14
|
-
data: CrmSource;
|
|
15
|
-
sourceId: number;
|
|
16
|
-
constructor(injector: Injector, crmService: CrmService);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
/** Function to get source details */
|
|
19
|
-
private getSourceDetails;
|
|
20
|
-
onSave(): void;
|
|
21
|
-
/** Function to get form controls */
|
|
22
|
-
get f(): {
|
|
23
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
24
|
-
};
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSourceDetailsComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSourceDetailsComponent, "pw-smart-crm-source-details", never, {}, {}, never, never, false, never>;
|
|
28
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Paging, Subscription } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
6
|
-
import { CrmSourceResponse } from '../../../../shared/interface/crm-source.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmCompanySourceComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
|
-
private readonly crmService;
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
private page;
|
|
12
|
-
data: CrmSourceResponse;
|
|
13
|
-
subscription: Subscription;
|
|
14
|
-
subscriptionId: number;
|
|
15
|
-
searchText: string;
|
|
16
|
-
loading: boolean;
|
|
17
|
-
hasAccess: boolean;
|
|
18
|
-
isLoaded: boolean;
|
|
19
|
-
routers: {
|
|
20
|
-
accounts: string;
|
|
21
|
-
contacts: string;
|
|
22
|
-
accountContacts: string;
|
|
23
|
-
accountInfo: string;
|
|
24
|
-
addAccount: string;
|
|
25
|
-
contactInfo: string;
|
|
26
|
-
contactAdd: string;
|
|
27
|
-
contactDetails: string;
|
|
28
|
-
opportunityAdd: string;
|
|
29
|
-
opportunities: string;
|
|
30
|
-
opportunityInfo: string;
|
|
31
|
-
configurationDetails: string;
|
|
32
|
-
configurations: string;
|
|
33
|
-
leadsDetails: string;
|
|
34
|
-
marketingDetails: string;
|
|
35
|
-
marketing: string;
|
|
36
|
-
categoryDetails: string;
|
|
37
|
-
sourceDetails: string;
|
|
38
|
-
stageDetails: string;
|
|
39
|
-
widgetsDetails: string;
|
|
40
|
-
};
|
|
41
|
-
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
ngAfterViewChecked(): void;
|
|
44
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
45
|
-
/** Function to all account source */
|
|
46
|
-
getAllSource(paging: Paging): void;
|
|
47
|
-
buildAccountSource(): void;
|
|
48
|
-
/** Function to delete account source */
|
|
49
|
-
onDelete(id: any): void;
|
|
50
|
-
ngOnDestroy(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanySourceComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanySourceComponent, "pw-smart-crm-source", never, {}, {}, never, never, false, never>;
|
|
53
|
-
}
|
|
@@ -1,34 +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 { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { CrmStage } from '../../../../../shared/interface/crm-stages.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmStageDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
|
-
private readonly crmService;
|
|
10
|
-
form: UntypedFormGroup;
|
|
11
|
-
id: number;
|
|
12
|
-
subscriptionId: number;
|
|
13
|
-
data: CrmStage;
|
|
14
|
-
stages$: Observable<string>;
|
|
15
|
-
categories: any[];
|
|
16
|
-
hasAccess: boolean;
|
|
17
|
-
submitted: boolean;
|
|
18
|
-
buttonBusy: boolean;
|
|
19
|
-
isLoading: boolean;
|
|
20
|
-
constructor(injector: Injector, crmService: CrmService);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
/** Function to get stage tDetails */
|
|
23
|
-
private getStageDetails;
|
|
24
|
-
/** Function to get form controls */
|
|
25
|
-
get f(): {
|
|
26
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
27
|
-
};
|
|
28
|
-
onSave(): void;
|
|
29
|
-
/** Function to get all categories */
|
|
30
|
-
private getAllOpportunityCategories;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmStageDetailsComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmStageDetailsComponent, "pw-smart-crm-stage-details", never, {}, {}, never, never, false, never>;
|
|
34
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Paging, Subscription } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
6
|
-
import { CrmStageResponse } from '../../../../shared/interface/crm-stages.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmStagesComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
|
-
private readonly crmService;
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
private page;
|
|
12
|
-
data: CrmStageResponse;
|
|
13
|
-
subscription: Subscription;
|
|
14
|
-
subscriptionId: number;
|
|
15
|
-
filterByCategory: any[];
|
|
16
|
-
stageNames: any[];
|
|
17
|
-
categories: any[];
|
|
18
|
-
availableCategories: any[];
|
|
19
|
-
searchText: string;
|
|
20
|
-
loading: boolean;
|
|
21
|
-
hasAccess: boolean;
|
|
22
|
-
isLoaded: boolean;
|
|
23
|
-
routers: {
|
|
24
|
-
accounts: string;
|
|
25
|
-
contacts: string;
|
|
26
|
-
accountContacts: string;
|
|
27
|
-
accountInfo: string;
|
|
28
|
-
addAccount: string;
|
|
29
|
-
contactInfo: string;
|
|
30
|
-
contactAdd: string;
|
|
31
|
-
contactDetails: string;
|
|
32
|
-
opportunityAdd: string;
|
|
33
|
-
opportunities: string;
|
|
34
|
-
opportunityInfo: string;
|
|
35
|
-
configurationDetails: string;
|
|
36
|
-
configurations: string;
|
|
37
|
-
leadsDetails: string;
|
|
38
|
-
marketingDetails: string;
|
|
39
|
-
marketing: string;
|
|
40
|
-
categoryDetails: string;
|
|
41
|
-
sourceDetails: string;
|
|
42
|
-
stageDetails: string;
|
|
43
|
-
widgetsDetails: string;
|
|
44
|
-
};
|
|
45
|
-
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
46
|
-
ngOnInit(): void;
|
|
47
|
-
ngAfterViewChecked(): void;
|
|
48
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
49
|
-
/** Function to get all stages */
|
|
50
|
-
getAllStages(paging: Paging): void;
|
|
51
|
-
getMappedAllStages(paging: Paging): void;
|
|
52
|
-
private sortByPreviousStageId;
|
|
53
|
-
buildDefaultStages(): void;
|
|
54
|
-
/** Function to delete stage */
|
|
55
|
-
onDelete(id: number): void;
|
|
56
|
-
/** Function to get all categories */
|
|
57
|
-
private getAllOpportunityCategories;
|
|
58
|
-
onSearchOptionChange(event: any): void;
|
|
59
|
-
ngOnDestroy(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmStagesComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmStagesComponent, "pw-smart-crm-stages", never, {}, {}, never, never, false, never>;
|
|
62
|
-
}
|
|
@@ -1,36 +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 { User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
import { CrmWidget } from '../../../../../shared/interface/crm-widget.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SmartCrmWidgetsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
|
-
private readonly crmService;
|
|
11
|
-
private widgetId;
|
|
12
|
-
form: UntypedFormGroup;
|
|
13
|
-
subscriptionId: number;
|
|
14
|
-
user: User;
|
|
15
|
-
data: CrmWidget;
|
|
16
|
-
positions$: Observable<string>;
|
|
17
|
-
allWidgets$: Observable<string>;
|
|
18
|
-
hasAccess: boolean;
|
|
19
|
-
submitted: boolean;
|
|
20
|
-
buttonBusy: boolean;
|
|
21
|
-
isLoading: boolean;
|
|
22
|
-
constructor(injector: Injector, crmService: CrmService);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
private getUserInfo;
|
|
25
|
-
/** Function to get widgetDetails */
|
|
26
|
-
private getWidgetDetails;
|
|
27
|
-
/** Function to get form controls */
|
|
28
|
-
get f(): {
|
|
29
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
30
|
-
};
|
|
31
|
-
/** Function on submit the form */
|
|
32
|
-
onSave(): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmWidgetsDetailsComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmWidgetsDetailsComponent, "pw-smart-crm-widgets-details", never, {}, {}, never, never, false, never>;
|
|
36
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { FilteredData } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
6
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
7
|
-
import { CrmWidgetResponse } from '../../../../shared/interface/crm-widget.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SmartCrmWidgetsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
10
|
-
private readonly crmService;
|
|
11
|
-
private readonly cdr;
|
|
12
|
-
private page;
|
|
13
|
-
data: CrmWidgetResponse;
|
|
14
|
-
subscription: Subscription;
|
|
15
|
-
subscriptionId: number;
|
|
16
|
-
allWidgets: FilteredData[];
|
|
17
|
-
positions: any[];
|
|
18
|
-
searchText: string;
|
|
19
|
-
loading: boolean;
|
|
20
|
-
hasAccess: boolean;
|
|
21
|
-
isLoaded: boolean;
|
|
22
|
-
routers: {
|
|
23
|
-
accounts: string;
|
|
24
|
-
contacts: string;
|
|
25
|
-
accountContacts: string;
|
|
26
|
-
accountInfo: string;
|
|
27
|
-
addAccount: string;
|
|
28
|
-
contactInfo: string;
|
|
29
|
-
contactAdd: string;
|
|
30
|
-
contactDetails: string;
|
|
31
|
-
opportunityAdd: string;
|
|
32
|
-
opportunities: string;
|
|
33
|
-
opportunityInfo: string;
|
|
34
|
-
configurationDetails: string;
|
|
35
|
-
configurations: string;
|
|
36
|
-
leadsDetails: string;
|
|
37
|
-
marketingDetails: string;
|
|
38
|
-
marketing: string;
|
|
39
|
-
categoryDetails: string;
|
|
40
|
-
sourceDetails: string;
|
|
41
|
-
stageDetails: string;
|
|
42
|
-
widgetsDetails: string;
|
|
43
|
-
};
|
|
44
|
-
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
ngAfterViewChecked(): void;
|
|
47
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
48
|
-
/** Function to get all widgets */
|
|
49
|
-
private getAllSubscriptionWidgets;
|
|
50
|
-
/** Function to get all widgets */
|
|
51
|
-
private getAllWidgets;
|
|
52
|
-
/** Function to delete widget */
|
|
53
|
-
onDelete(id: number): void;
|
|
54
|
-
/** Function to get positions */
|
|
55
|
-
private getWidgetPositions;
|
|
56
|
-
ngOnDestroy(): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmWidgetsComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmWidgetsComponent, "pw-smart-crm-widgets", never, {}, {}, never, never, false, never>;
|
|
59
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { CommonService, GeoService } from '@posiwise/common-services';
|
|
5
|
-
import { Country, User } from '@posiwise/common-utilities';
|
|
6
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
|
-
import { CrmAccount } from '../../../../shared/interface/crm-account.interface';
|
|
9
|
-
import { CrmContact } from '../../../../shared/interface/crm-contact.interface';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class SmartCrmContactDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
|
-
private readonly commonService;
|
|
13
|
-
private readonly crmService;
|
|
14
|
-
private readonly cdr;
|
|
15
|
-
private readonly geoService;
|
|
16
|
-
private countries$;
|
|
17
|
-
form: UntypedFormGroup;
|
|
18
|
-
id: number;
|
|
19
|
-
subscriptionId: number;
|
|
20
|
-
accountId: number;
|
|
21
|
-
user: User;
|
|
22
|
-
data: CrmContact;
|
|
23
|
-
accounts: CrmAccount[];
|
|
24
|
-
countryNames: any[];
|
|
25
|
-
filteredCountries: Country[];
|
|
26
|
-
filteredAccounts: CrmAccount[];
|
|
27
|
-
departments$: Observable<string>;
|
|
28
|
-
crmSources$: Observable<unknown>;
|
|
29
|
-
potentials: any[];
|
|
30
|
-
labels: any[];
|
|
31
|
-
submitted: boolean;
|
|
32
|
-
buttonBusy: boolean;
|
|
33
|
-
isLoading: boolean;
|
|
34
|
-
/** Function to get form controls */
|
|
35
|
-
get f(): {
|
|
36
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
37
|
-
};
|
|
38
|
-
constructor(commonService: CommonService, crmService: CrmService, cdr: ChangeDetectorRef, geoService: GeoService, injector: Injector);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
handleAddressChange(event: any): void;
|
|
41
|
-
onSearchCountry(event: any): void;
|
|
42
|
-
/** Function to get the list of accounts by subscriptionId */
|
|
43
|
-
private getAccountsBySubscription;
|
|
44
|
-
/** Function to execute on form submission */
|
|
45
|
-
onSave(): void;
|
|
46
|
-
/** Function to get the specific contact details on edit form */
|
|
47
|
-
private getContactDetails;
|
|
48
|
-
/** search accounts */
|
|
49
|
-
search(event: any): void;
|
|
50
|
-
getDefaultValues(id: any): void;
|
|
51
|
-
ngOnDestroy(): void;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactDetailsComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactDetailsComponent, "pw-smart-crm-contact-details", never, {}, {}, never, never, false, never>;
|
|
54
|
-
}
|
|
@@ -1,127 +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, GeoService } from '@posiwise/common-services';
|
|
5
|
-
import { Country, Subscription } 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 { CrmContact } from 'libs/smart-crm/src/lib/shared/interface/crm-contact.interface';
|
|
9
|
-
import { SmartCrmAction } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
10
|
-
import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
|
|
11
|
-
import { Observable } from 'rxjs';
|
|
12
|
-
import { NgbCalendar, NgbDateStruct, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class SmartCrmContactInfoComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
15
|
-
private readonly crmService;
|
|
16
|
-
private readonly calendar;
|
|
17
|
-
private readonly modalService;
|
|
18
|
-
private readonly authService;
|
|
19
|
-
private readonly geoService;
|
|
20
|
-
private readonly document;
|
|
21
|
-
countries$: Observable<Country[]>;
|
|
22
|
-
actionControls: UntypedFormGroup;
|
|
23
|
-
aboutControls: UntypedFormGroup;
|
|
24
|
-
contactId: number;
|
|
25
|
-
accountId: number;
|
|
26
|
-
userId: number;
|
|
27
|
-
subscriptionId: number;
|
|
28
|
-
data: CrmContact;
|
|
29
|
-
subscription: Subscription;
|
|
30
|
-
actions: SmartCrmAction[];
|
|
31
|
-
filteredAccounts: CrmAccount[];
|
|
32
|
-
accounts: any[];
|
|
33
|
-
contactComments: any[];
|
|
34
|
-
contactVersioning: any[];
|
|
35
|
-
model: NgbDateStruct;
|
|
36
|
-
date: {
|
|
37
|
-
year: number;
|
|
38
|
-
month: number;
|
|
39
|
-
};
|
|
40
|
-
options: UploaderOptions;
|
|
41
|
-
uploadInput: EventEmitter<UploadInput>;
|
|
42
|
-
files: UploadFile[];
|
|
43
|
-
token: string;
|
|
44
|
-
potentials: string[];
|
|
45
|
-
labels: any[];
|
|
46
|
-
submitted: boolean;
|
|
47
|
-
buttonBusy: boolean;
|
|
48
|
-
isDisabled: boolean;
|
|
49
|
-
isFormEdit: boolean;
|
|
50
|
-
isLoaded: boolean;
|
|
51
|
-
isDataLoaded: boolean;
|
|
52
|
-
hasAccess: boolean;
|
|
53
|
-
updating: boolean;
|
|
54
|
-
buttonDisable: boolean;
|
|
55
|
-
dangerColor: boolean;
|
|
56
|
-
showFullComment: boolean;
|
|
57
|
-
submitAction: boolean;
|
|
58
|
-
dragOver: boolean;
|
|
59
|
-
actionId: number;
|
|
60
|
-
commentId: number;
|
|
61
|
-
routers: {
|
|
62
|
-
accounts: string;
|
|
63
|
-
contacts: string;
|
|
64
|
-
accountContacts: string;
|
|
65
|
-
accountInfo: string;
|
|
66
|
-
addAccount: string;
|
|
67
|
-
contactInfo: string;
|
|
68
|
-
contactAdd: string;
|
|
69
|
-
contactDetails: string;
|
|
70
|
-
opportunityAdd: string;
|
|
71
|
-
opportunities: string;
|
|
72
|
-
opportunityInfo: string;
|
|
73
|
-
configurationDetails: string;
|
|
74
|
-
configurations: string;
|
|
75
|
-
leadsDetails: string;
|
|
76
|
-
marketingDetails: string;
|
|
77
|
-
marketing: string;
|
|
78
|
-
categoryDetails: string;
|
|
79
|
-
sourceDetails: string;
|
|
80
|
-
stageDetails: string;
|
|
81
|
-
widgetsDetails: string;
|
|
82
|
-
};
|
|
83
|
-
constructor(injector: Injector, crmService: CrmService, calendar: NgbCalendar, modalService: NgbModal, authService: AuthService, geoService: GeoService, document: Document);
|
|
84
|
-
ngOnInit(): void;
|
|
85
|
-
handleAddressChange(event: any): void;
|
|
86
|
-
getDefaultValues(id: any): void;
|
|
87
|
-
/** Function to get contact versions */
|
|
88
|
-
private getContactVersion;
|
|
89
|
-
showEditControls(event: any): void;
|
|
90
|
-
updateComment(item: any): void;
|
|
91
|
-
showDatePicker(event: any, id: any): void;
|
|
92
|
-
/**
|
|
93
|
-
* Function to get the list of accounts by subscriptionId
|
|
94
|
-
*/
|
|
95
|
-
private getAccountsBySubscription;
|
|
96
|
-
get f(): {
|
|
97
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
98
|
-
};
|
|
99
|
-
get actionFormControls(): {
|
|
100
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
101
|
-
};
|
|
102
|
-
updateContactInfo(): void;
|
|
103
|
-
private getContactComments;
|
|
104
|
-
onSave(): void;
|
|
105
|
-
onDateSelected(): void;
|
|
106
|
-
/** Function to get and show all the actions */
|
|
107
|
-
getActions(): void;
|
|
108
|
-
/** Function to get the contact details by Id */
|
|
109
|
-
getUserInfo(): void;
|
|
110
|
-
/** Function to set the action as completed */
|
|
111
|
-
setAsCompletedOrUncompleted(id: any, action: any, completedOrUncompleted: any): Promise<void>;
|
|
112
|
-
/** Function to set the action as cancelled */
|
|
113
|
-
setAsCancelled(id: any, action: any): Promise<void>;
|
|
114
|
-
/** Function to show DatePicker */
|
|
115
|
-
showDatePickerUpdate(actionId: any): void;
|
|
116
|
-
/** Function to update the date */
|
|
117
|
-
onDateSelect(event: any, action: any): void;
|
|
118
|
-
/** search accounts */
|
|
119
|
-
search(event: any): void;
|
|
120
|
-
openModal(content: any): void;
|
|
121
|
-
onClose(): void;
|
|
122
|
-
onUploadOutput(output: UploadOutput): void;
|
|
123
|
-
navigateToOpportunities(): void;
|
|
124
|
-
ngOnDestroy(): void;
|
|
125
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactInfoComponent, never>;
|
|
126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactInfoComponent, "pw-smart-crm-contact-info", never, {}, {}, never, never, false, never>;
|
|
127
|
-
}
|