@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
package/index.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
export * from './lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component';
|
|
2
|
-
export * from './lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component';
|
|
3
|
-
export * from './lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component';
|
|
4
|
-
export * from './lib/private/components/smart-crm-accounts/smart-crm-accounts.component';
|
|
5
|
-
export * from './lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component';
|
|
6
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component';
|
|
7
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component';
|
|
8
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-configuration.component';
|
|
9
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component';
|
|
10
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component';
|
|
11
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component';
|
|
12
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component';
|
|
13
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component';
|
|
14
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component';
|
|
15
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component';
|
|
16
|
-
export * from './lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component';
|
|
17
|
-
export * from './lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component';
|
|
18
|
-
export * from './lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component';
|
|
19
|
-
export * from './lib/private/components/smart-crm-contacts/smart-crm-contacts.component';
|
|
20
|
-
export * from './lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component';
|
|
21
|
-
export * from './lib/private/components/smart-crm-media/smart-crm-social-media/smart-crm-social-media.component';
|
|
22
|
-
export * from './lib/private/components/smart-crm-insight/smart-crm-insight.component';
|
|
23
|
-
export * from './lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component';
|
|
24
|
-
export * from './lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component';
|
|
25
|
-
export * from './lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component';
|
|
26
|
-
export * from './lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component';
|
|
27
|
-
export * from './lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component';
|
|
28
|
-
export * from './lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component';
|
|
29
|
-
export * from './lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component';
|
|
30
|
-
export * from './lib/private/components/smart-crm-leads/smart-crm-leads.component';
|
|
31
|
-
export * from './lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component';
|
|
32
|
-
export * from './lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component';
|
|
33
|
-
export * from './lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component';
|
|
34
|
-
export * from './lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component';
|
|
35
|
-
export * from './lib/private/components/smart-crm-marketing/smart-crm-marketing.component';
|
|
36
|
-
export * from './lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component';
|
|
37
|
-
export * from './lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component';
|
|
38
|
-
export * from './lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component';
|
|
39
|
-
export * from './lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component';
|
|
40
|
-
export * from './lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component';
|
|
41
|
-
export * from './lib/private/components/smart-crm-actions/smart-crm-actions.component';
|
|
42
|
-
export * from './lib/private/components/smart-crm-tabs/smart-crm-tabs.component';
|
|
43
|
-
export * from './lib/private/smart-crm-private.routing.module';
|
|
44
|
-
export * from './lib/private/smart-crm-private.module';
|
|
45
|
-
export * from './lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component';
|
|
46
|
-
export * from './lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component';
|
|
47
|
-
export * from './lib/public/components/smart-crm-signup/smart-crm-signup.component';
|
|
48
|
-
export * from './lib/public/smart-crm-public.routing.module';
|
|
49
|
-
export * from './lib/public/smart-crm-public.module';
|
|
@@ -1,61 +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 { CommonService, GeoService, SubscriptionService } from '@posiwise/common-services';
|
|
5
|
-
import { Country, Subscription, User } from '@posiwise/common-utilities';
|
|
6
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
7
|
-
import { OrganizationIndustry, OrganizationSize, OrganizationType, SubscriptionMember } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
8
|
-
import { Observable } from 'rxjs';
|
|
9
|
-
import { CrmAccount } from '../../../../shared/interface/crm-account.interface';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class SmartCrmCompanyDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
|
-
private readonly subscriptionService;
|
|
13
|
-
private readonly crmService;
|
|
14
|
-
private readonly commonService;
|
|
15
|
-
private readonly geoService;
|
|
16
|
-
private countries$;
|
|
17
|
-
private countryNames;
|
|
18
|
-
form: UntypedFormGroup;
|
|
19
|
-
user: User;
|
|
20
|
-
subscription: Subscription;
|
|
21
|
-
subscriptionId: number;
|
|
22
|
-
id: number;
|
|
23
|
-
data: CrmAccount;
|
|
24
|
-
allSubscriptionMembers: SubscriptionMember[];
|
|
25
|
-
subscriptionMembers: [];
|
|
26
|
-
filteredOwners: SubscriptionMember[];
|
|
27
|
-
organizationSizes$: Observable<OrganizationSize[]>;
|
|
28
|
-
organizationTypes$: Observable<OrganizationType[]>;
|
|
29
|
-
organizationIndustries$: Observable<OrganizationIndustry[]>;
|
|
30
|
-
filteredCountries: Country[];
|
|
31
|
-
status: any[];
|
|
32
|
-
priority: any[];
|
|
33
|
-
source: any[];
|
|
34
|
-
hasAccess: boolean;
|
|
35
|
-
isLoading: boolean;
|
|
36
|
-
onEdit: boolean;
|
|
37
|
-
submitted: boolean;
|
|
38
|
-
buttonBusy: boolean;
|
|
39
|
-
constructor(injector: Injector, subscriptionService: SubscriptionService, crmService: CrmService, commonService: CommonService, geoService: GeoService);
|
|
40
|
-
onSearchOwner(event: any): void;
|
|
41
|
-
ngOnInit(): void;
|
|
42
|
-
/** Function to call account default values */
|
|
43
|
-
private accountDefaultValues;
|
|
44
|
-
/** Function to get subscription members */
|
|
45
|
-
private getAllSubscriptionMembers;
|
|
46
|
-
private getUserInfo;
|
|
47
|
-
/** Function to get form controls */
|
|
48
|
-
get f(): {
|
|
49
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
50
|
-
};
|
|
51
|
-
/** Function to execute on form submit */
|
|
52
|
-
onSave(): void;
|
|
53
|
-
/** Function to execute on location select */
|
|
54
|
-
handleAddressChange(event: any): void;
|
|
55
|
-
/** Function to get account detail on edit form */
|
|
56
|
-
private getAccountDetail;
|
|
57
|
-
onSearchCountry(event: any): void;
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanyDetailsComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanyDetailsComponent, "pw-company-details", never, {}, {}, never, never, false, never>;
|
|
61
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { AuthService } from '@posiwise/common-services';
|
|
4
|
-
import { Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
6
|
-
import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
|
|
7
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
8
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class SmartCrmCompanyFilesComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
11
|
-
private readonly crmService;
|
|
12
|
-
private readonly modalService;
|
|
13
|
-
private readonly authService;
|
|
14
|
-
private readonly cdr;
|
|
15
|
-
accountId: number;
|
|
16
|
-
contactId: number;
|
|
17
|
-
opportunityId: number;
|
|
18
|
-
private page;
|
|
19
|
-
user: User;
|
|
20
|
-
userId: number;
|
|
21
|
-
subscription: Subscription;
|
|
22
|
-
hasAccess: boolean;
|
|
23
|
-
isLoaded: boolean;
|
|
24
|
-
loading: boolean;
|
|
25
|
-
searchText: string;
|
|
26
|
-
totalRecordsUnFiltered: number;
|
|
27
|
-
totalRecords: number;
|
|
28
|
-
options: UploaderOptions;
|
|
29
|
-
uploadInput: EventEmitter<UploadInput>;
|
|
30
|
-
files: UploadFile[];
|
|
31
|
-
allFiles: string[];
|
|
32
|
-
token: string;
|
|
33
|
-
dragOver: boolean;
|
|
34
|
-
Done: boolean;
|
|
35
|
-
routers: {
|
|
36
|
-
accounts: string;
|
|
37
|
-
contacts: string;
|
|
38
|
-
accountContacts: string;
|
|
39
|
-
accountInfo: string;
|
|
40
|
-
addAccount: string;
|
|
41
|
-
contactInfo: string;
|
|
42
|
-
contactAdd: string;
|
|
43
|
-
contactDetails: string;
|
|
44
|
-
opportunityAdd: string;
|
|
45
|
-
opportunities: string;
|
|
46
|
-
opportunityInfo: string;
|
|
47
|
-
configurationDetails: string;
|
|
48
|
-
configurations: string;
|
|
49
|
-
leadsDetails: string;
|
|
50
|
-
marketingDetails: string;
|
|
51
|
-
marketing: string;
|
|
52
|
-
categoryDetails: string;
|
|
53
|
-
sourceDetails: string;
|
|
54
|
-
stageDetails: string;
|
|
55
|
-
widgetsDetails: string;
|
|
56
|
-
};
|
|
57
|
-
constructor(injector: Injector, crmService: CrmService, modalService: NgbModal, authService: AuthService, cdr: ChangeDetectorRef);
|
|
58
|
-
ngOnInit(): void;
|
|
59
|
-
ngAfterViewChecked(): void;
|
|
60
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
61
|
-
/** Function to get user details */
|
|
62
|
-
private getUserInfo;
|
|
63
|
-
/** Function to get all account files */
|
|
64
|
-
private getAllFiles;
|
|
65
|
-
/** Function to delete file */
|
|
66
|
-
onDelete(id: number): void;
|
|
67
|
-
openModal(content: any): void;
|
|
68
|
-
onClose(): void;
|
|
69
|
-
onUploadOutput(output: UploadOutput): void;
|
|
70
|
-
ngOnDestroy(): void;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanyFilesComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanyFilesComponent, "pw-smart-crm-company-files", never, { "accountId": { "alias": "accountId"; "required": false; }; "contactId": { "alias": "contactId"; "required": false; }; "opportunityId": { "alias": "opportunityId"; "required": false; }; }, {}, never, never, false, never>;
|
|
73
|
-
}
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { AuthService, CommonService, GeoService, LogoCacheService, SubscriptionService } from '@posiwise/common-services';
|
|
5
|
-
import { Country, Subscription, 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, CrmOwner, FilteredCrmComment, FilteredData, OrganizationIndustry, OrganizationSize, OrganizationType, SmartCrmAction } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
9
|
-
import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
|
|
10
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
11
|
-
import { Observable } from 'rxjs';
|
|
12
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
interface SubscriptionMember {
|
|
15
|
-
id: number;
|
|
16
|
-
first_name: string;
|
|
17
|
-
last_name: string;
|
|
18
|
-
email: string;
|
|
19
|
-
}
|
|
20
|
-
export declare class SmartCrmCompanyInfoComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
21
|
-
private readonly crmService;
|
|
22
|
-
private readonly subscriptionService;
|
|
23
|
-
private readonly geoService;
|
|
24
|
-
private readonly commonService;
|
|
25
|
-
private readonly modalService;
|
|
26
|
-
private readonly authService;
|
|
27
|
-
private readonly cdr;
|
|
28
|
-
private readonly logoCacheService;
|
|
29
|
-
private readonly document;
|
|
30
|
-
private page;
|
|
31
|
-
private totalContacts;
|
|
32
|
-
private isContactValid;
|
|
33
|
-
subscription: Subscription;
|
|
34
|
-
subscriptionId: number;
|
|
35
|
-
actionControls: UntypedFormGroup;
|
|
36
|
-
aboutControls: UntypedFormGroup;
|
|
37
|
-
user: User;
|
|
38
|
-
userId: number;
|
|
39
|
-
accountId: number;
|
|
40
|
-
contactId: number;
|
|
41
|
-
data: CrmAccount;
|
|
42
|
-
allSubscriptionMembers: SubscriptionMember[];
|
|
43
|
-
filteredOwner: SubscriptionMember[];
|
|
44
|
-
filteredContact: {
|
|
45
|
-
displayName: string;
|
|
46
|
-
}[];
|
|
47
|
-
filteredContactComment: FilteredCrmComment[];
|
|
48
|
-
contacts: CrmOpportunityContact[];
|
|
49
|
-
owner: CrmOwner;
|
|
50
|
-
actions: SmartCrmAction[];
|
|
51
|
-
accountComments: any[];
|
|
52
|
-
accountVersioning: string[];
|
|
53
|
-
organizationSizes$: Observable<OrganizationSize[]>;
|
|
54
|
-
organizationIndustries$: Observable<OrganizationIndustry[]>;
|
|
55
|
-
organizationTypes$: Observable<OrganizationType[]>;
|
|
56
|
-
countries$: Observable<Country[]>;
|
|
57
|
-
status: string[];
|
|
58
|
-
priority: FilteredData[];
|
|
59
|
-
source: FilteredData[];
|
|
60
|
-
potential: string[];
|
|
61
|
-
filterByPotentials: string;
|
|
62
|
-
options: UploaderOptions;
|
|
63
|
-
uploadInput: EventEmitter<UploadInput>;
|
|
64
|
-
files: UploadFile[];
|
|
65
|
-
token: string;
|
|
66
|
-
selector: string;
|
|
67
|
-
searchText: string;
|
|
68
|
-
totalRecords: number;
|
|
69
|
-
totalRecordsUnFiltered: number;
|
|
70
|
-
currentPage: number;
|
|
71
|
-
actionId: number;
|
|
72
|
-
commentId: number;
|
|
73
|
-
hasAccess: boolean;
|
|
74
|
-
isDataLoaded: boolean;
|
|
75
|
-
isLoaded: boolean;
|
|
76
|
-
loading: boolean;
|
|
77
|
-
isFormEdit: boolean;
|
|
78
|
-
submitted: boolean;
|
|
79
|
-
editComment: boolean;
|
|
80
|
-
showFullComment: boolean;
|
|
81
|
-
submitAction: boolean;
|
|
82
|
-
buttonDisable: boolean;
|
|
83
|
-
isDisabled: boolean;
|
|
84
|
-
buttonBusy: boolean;
|
|
85
|
-
dangerColor: boolean;
|
|
86
|
-
updating: boolean;
|
|
87
|
-
dragOver: boolean;
|
|
88
|
-
Done: boolean;
|
|
89
|
-
direction: string;
|
|
90
|
-
routers: {
|
|
91
|
-
accounts: string;
|
|
92
|
-
contacts: string;
|
|
93
|
-
accountContacts: string;
|
|
94
|
-
accountInfo: string;
|
|
95
|
-
addAccount: string;
|
|
96
|
-
contactInfo: string;
|
|
97
|
-
contactAdd: string;
|
|
98
|
-
contactDetails: string;
|
|
99
|
-
opportunityAdd: string;
|
|
100
|
-
opportunities: string;
|
|
101
|
-
opportunityInfo: string;
|
|
102
|
-
configurationDetails: string;
|
|
103
|
-
configurations: string;
|
|
104
|
-
leadsDetails: string;
|
|
105
|
-
marketingDetails: string;
|
|
106
|
-
marketing: string;
|
|
107
|
-
categoryDetails: string;
|
|
108
|
-
sourceDetails: string;
|
|
109
|
-
stageDetails: string;
|
|
110
|
-
widgetsDetails: string;
|
|
111
|
-
};
|
|
112
|
-
canViewContactsTab(): boolean;
|
|
113
|
-
lastSeenAtTextClass(value?: string | null): string;
|
|
114
|
-
constructor(injector: Injector, crmService: CrmService, subscriptionService: SubscriptionService, geoService: GeoService, commonService: CommonService, modalService: NgbModal, authService: AuthService, cdr: ChangeDetectorRef, logoCacheService: LogoCacheService, document: Document);
|
|
115
|
-
ngOnInit(): void;
|
|
116
|
-
ngAfterViewChecked(): void;
|
|
117
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
118
|
-
/** Function to call account default values */
|
|
119
|
-
private accountDefaultValues;
|
|
120
|
-
handleImageError(event: Event, fallbackPath: any): void;
|
|
121
|
-
/** Function to call account by ID */
|
|
122
|
-
getAccountDetails(): void;
|
|
123
|
-
get f(): {
|
|
124
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
125
|
-
};
|
|
126
|
-
updateAccountInfo(): void;
|
|
127
|
-
onScrollTimeline(): void;
|
|
128
|
-
/** Function to save comment */
|
|
129
|
-
onSave(): void;
|
|
130
|
-
showDatePicker(event: any, id: any): void;
|
|
131
|
-
/** Function to get comments */
|
|
132
|
-
private getAllComments;
|
|
133
|
-
/** Function to update comment */
|
|
134
|
-
updateComment(item: any): void;
|
|
135
|
-
/** Function to execute on location select */
|
|
136
|
-
handleAddressChange(event: any): void;
|
|
137
|
-
/** Function to get subscription members */
|
|
138
|
-
getAllSubscriptionMembers(): void;
|
|
139
|
-
/** Function to show edit comment section */
|
|
140
|
-
showEditControls(event: any, action: any): void;
|
|
141
|
-
/** Function to get and show all the actions */
|
|
142
|
-
getActions(): void;
|
|
143
|
-
/** Function to set the action as completed */
|
|
144
|
-
setAsCompletedOrUncompleted(id: number, action: any, completedOrUncompleted: boolean): Promise<void>;
|
|
145
|
-
/** Function to set the action as cancelled */
|
|
146
|
-
setAsCancelled(id: number, action: any): Promise<void>;
|
|
147
|
-
/** Function to update the date */
|
|
148
|
-
onDateSelect(event: any, action: any): void;
|
|
149
|
-
/** Function to show DatePicker */
|
|
150
|
-
showDatePickerUpdate(actionId: any): void;
|
|
151
|
-
/** Function to get the contacts related to account */
|
|
152
|
-
private getAccountContacts;
|
|
153
|
-
/** Function when auto-complete dropdown selected */
|
|
154
|
-
onDropdownClick(): void;
|
|
155
|
-
/** search owner */
|
|
156
|
-
search(event: any): void;
|
|
157
|
-
searchContact(event: any): void;
|
|
158
|
-
selectContact(event: any): void;
|
|
159
|
-
OnContactBlur(): void;
|
|
160
|
-
searchContactInComment(event: any): void;
|
|
161
|
-
selectCommentContact(event: any): void;
|
|
162
|
-
/** Function to delete contact */
|
|
163
|
-
onDeleteContact(id: number): void;
|
|
164
|
-
/** Function to get contact versions */
|
|
165
|
-
private getContactVersion;
|
|
166
|
-
openModal(content: any): void;
|
|
167
|
-
onClose(): void;
|
|
168
|
-
onUploadOutput(output: UploadOutput): void;
|
|
169
|
-
getAccountLogo(url: string): string;
|
|
170
|
-
navigateToAddOpportunities(): void;
|
|
171
|
-
ngOnDestroy(): void;
|
|
172
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanyInfoComponent, never>;
|
|
173
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanyInfoComponent, "pw-smart-crm-company-info", never, {}, {}, never, never, false, never>;
|
|
174
|
-
}
|
|
175
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Paging } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SmartCrmCompanyAccountInvoiceComponent extends AppBaseComponent implements OnDestroy {
|
|
8
|
-
private readonly crmService;
|
|
9
|
-
accountId: number;
|
|
10
|
-
private page;
|
|
11
|
-
subscription: any;
|
|
12
|
-
subscriptionId: any;
|
|
13
|
-
userId: number;
|
|
14
|
-
intervalTimer: import("rxjs").Observable<number>;
|
|
15
|
-
invoices: any[];
|
|
16
|
-
invoiceFrequency: string[];
|
|
17
|
-
searchText: string;
|
|
18
|
-
totalRecordsUnFiltered: number;
|
|
19
|
-
totalRecords: number;
|
|
20
|
-
isLoaded: boolean;
|
|
21
|
-
buttonBusy: boolean;
|
|
22
|
-
constructor(injector: Injector, crmService: CrmService);
|
|
23
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
24
|
-
fetchInvoices(paging: Paging): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanyAccountInvoiceComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanyAccountInvoiceComponent, "pw-smart-crm-account-invoices", never, { "accountId": { "alias": "accountId"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { CommonService, LogoCacheService } from '@posiwise/common-services';
|
|
4
|
-
import { Plotly, Subscription } from '@posiwise/common-utilities';
|
|
5
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
6
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
7
|
-
import { CrmAccountResponse } from '../../../shared/interface/crm-account.interface';
|
|
8
|
-
import { OpportunityCategory, UserAccount } from '../../../shared/interface/smart-crm-module.interface';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class SmartCrmCompaniesComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
11
|
-
private readonly crmService;
|
|
12
|
-
private readonly commonService;
|
|
13
|
-
private readonly logoCacheService;
|
|
14
|
-
private readonly cdr;
|
|
15
|
-
private page;
|
|
16
|
-
private allIndustries;
|
|
17
|
-
private filterByLocation;
|
|
18
|
-
data: CrmAccountResponse;
|
|
19
|
-
totals: {
|
|
20
|
-
total_mrr: number;
|
|
21
|
-
sessions_last_month: number;
|
|
22
|
-
sessions_last_quarter: number;
|
|
23
|
-
};
|
|
24
|
-
subscription: Subscription;
|
|
25
|
-
subscriptionId: number;
|
|
26
|
-
userId: number;
|
|
27
|
-
organizationSizes: any[];
|
|
28
|
-
searchOptions: OpportunityCategory[];
|
|
29
|
-
filterByIndustries: any[];
|
|
30
|
-
status: any[];
|
|
31
|
-
priority: any[];
|
|
32
|
-
source: any[];
|
|
33
|
-
filterBySource: any[];
|
|
34
|
-
filterByStatus: any[];
|
|
35
|
-
filterByPriority: any[];
|
|
36
|
-
filterBySizeId: any[];
|
|
37
|
-
searchText: string;
|
|
38
|
-
searchLocationText: string;
|
|
39
|
-
accountGeography: Plotly.Figure;
|
|
40
|
-
accountActivities: any[];
|
|
41
|
-
loading: boolean;
|
|
42
|
-
hasAccess: boolean;
|
|
43
|
-
canViewMrr: boolean;
|
|
44
|
-
isLoaded: boolean;
|
|
45
|
-
routers: {
|
|
46
|
-
accounts: string;
|
|
47
|
-
contacts: string;
|
|
48
|
-
accountContacts: string;
|
|
49
|
-
accountInfo: string;
|
|
50
|
-
addAccount: string;
|
|
51
|
-
contactInfo: string;
|
|
52
|
-
contactAdd: string;
|
|
53
|
-
contactDetails: string;
|
|
54
|
-
opportunityAdd: string;
|
|
55
|
-
opportunities: string;
|
|
56
|
-
opportunityInfo: string;
|
|
57
|
-
configurationDetails: string;
|
|
58
|
-
configurations: string;
|
|
59
|
-
leadsDetails: string;
|
|
60
|
-
marketingDetails: string;
|
|
61
|
-
marketing: string;
|
|
62
|
-
categoryDetails: string;
|
|
63
|
-
sourceDetails: string;
|
|
64
|
-
stageDetails: string;
|
|
65
|
-
widgetsDetails: string;
|
|
66
|
-
};
|
|
67
|
-
actionNames: any[];
|
|
68
|
-
productFeatureKeys: any[];
|
|
69
|
-
lastSeenAtTextClass(value?: string | null): string;
|
|
70
|
-
constructor(crmService: CrmService, commonService: CommonService, logoCacheService: LogoCacheService, injector: Injector, cdr: ChangeDetectorRef);
|
|
71
|
-
ngOnInit(): void;
|
|
72
|
-
ngAfterViewChecked(): void;
|
|
73
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
74
|
-
/** Function to get user details */
|
|
75
|
-
private getUserInfo;
|
|
76
|
-
handleImageError(event: Event, fallbackPath: any): void;
|
|
77
|
-
/** Function to call account default values */
|
|
78
|
-
private accountDefaultValues;
|
|
79
|
-
/** Function to get the accounts list */
|
|
80
|
-
private getAllAccounts;
|
|
81
|
-
/** Function to call accounts size */
|
|
82
|
-
private getAllOrganizationSize;
|
|
83
|
-
/** Function to get organization industries */
|
|
84
|
-
private getIndustries;
|
|
85
|
-
/** Function to execute on delete button click */
|
|
86
|
-
onDelete(id: number, subscription_id: number): void;
|
|
87
|
-
/** filtering accounts */
|
|
88
|
-
onSearchOptionChange(event: any, filterBy: string): void;
|
|
89
|
-
/** Function to execute on location select */
|
|
90
|
-
handleAddressChange(event: any): void;
|
|
91
|
-
/** Location filter while keyup */
|
|
92
|
-
locationSearch(event: any): void;
|
|
93
|
-
/** Function to clear all filters */
|
|
94
|
-
clearFilters(): void;
|
|
95
|
-
/** Function to call account geography */
|
|
96
|
-
private getAccountGeography;
|
|
97
|
-
getUserAccountInfo(account: UserAccount): {
|
|
98
|
-
message: string;
|
|
99
|
-
iconClass: string;
|
|
100
|
-
};
|
|
101
|
-
/** Function to call account activities */
|
|
102
|
-
private getAccountActivities;
|
|
103
|
-
getCountryFromLocation(location: string): string;
|
|
104
|
-
getAccountLogo(url: string): string;
|
|
105
|
-
getMainCurrency(): string;
|
|
106
|
-
ngOnDestroy(): void;
|
|
107
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompaniesComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompaniesComponent, "pw-smart-crm-companies", never, {}, {}, never, never, false, never>;
|
|
109
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { 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 * as i0 from "@angular/core";
|
|
6
|
-
export declare class CrmActionsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
-
private readonly crmService;
|
|
8
|
-
private readonly document;
|
|
9
|
-
private totalPendingActions;
|
|
10
|
-
subscription: Subscription;
|
|
11
|
-
contactId: number;
|
|
12
|
-
userId: number;
|
|
13
|
-
actionId: number;
|
|
14
|
-
commentId: number;
|
|
15
|
-
p: number;
|
|
16
|
-
p1: number;
|
|
17
|
-
currentPage: number;
|
|
18
|
-
contactActions: any[];
|
|
19
|
-
contactActionsAll: any[];
|
|
20
|
-
accountActionSuggested: any[];
|
|
21
|
-
allSubscriptionMembers: any[];
|
|
22
|
-
selector: string;
|
|
23
|
-
suggestedActionsSelector: string;
|
|
24
|
-
isLoaded: boolean;
|
|
25
|
-
isLoadedSuggested: boolean;
|
|
26
|
-
showFullComment: boolean;
|
|
27
|
-
showFilter: boolean;
|
|
28
|
-
updating: boolean;
|
|
29
|
-
dangerColor: boolean;
|
|
30
|
-
routers: {
|
|
31
|
-
accounts: string;
|
|
32
|
-
contacts: string;
|
|
33
|
-
accountContacts: string;
|
|
34
|
-
accountInfo: string;
|
|
35
|
-
addAccount: string;
|
|
36
|
-
contactInfo: string;
|
|
37
|
-
contactAdd: string;
|
|
38
|
-
contactDetails: string;
|
|
39
|
-
opportunityAdd: string;
|
|
40
|
-
opportunities: string;
|
|
41
|
-
opportunityInfo: string;
|
|
42
|
-
configurationDetails: string;
|
|
43
|
-
configurations: string;
|
|
44
|
-
leadsDetails: string;
|
|
45
|
-
marketingDetails: string;
|
|
46
|
-
marketing: string;
|
|
47
|
-
categoryDetails: string;
|
|
48
|
-
sourceDetails: string;
|
|
49
|
-
stageDetails: string;
|
|
50
|
-
widgetsDetails: string;
|
|
51
|
-
};
|
|
52
|
-
constructor(crmService: CrmService, injector: Injector, document: Document);
|
|
53
|
-
ngOnInit(): void;
|
|
54
|
-
onScrollPendingActions(): void;
|
|
55
|
-
/** Function to get all actions */
|
|
56
|
-
private getAccountActions;
|
|
57
|
-
handleImageError(event: Event, fallbackPath: any): void;
|
|
58
|
-
/** Function to get account action suggested */
|
|
59
|
-
private getAccountActionSuggested;
|
|
60
|
-
editComment(event: any): void;
|
|
61
|
-
updateComment(action: any): void;
|
|
62
|
-
/** Function to set the action as completed */
|
|
63
|
-
setAsCompleted(id: number, action: any, index: number): Promise<void>;
|
|
64
|
-
/** Function to set the action as cancelled */
|
|
65
|
-
setAsCancelled(id: number, action: any, index: number): Promise<void>;
|
|
66
|
-
/** Function to show DatePicker */
|
|
67
|
-
showDatePicker(actionId: number): void;
|
|
68
|
-
/** Function to update the date */
|
|
69
|
-
onDateSelect(event: any, action: any): void;
|
|
70
|
-
/** Function to filter the data by user */
|
|
71
|
-
filterByUser(userId: any): void;
|
|
72
|
-
ngOnDestroy(): void;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CrmActionsComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CrmActionsComponent, "pw-crm-actions", never, {}, {}, never, never, false, never>;
|
|
75
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SmartCrmCompetitionComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompetitionComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompetitionComponent, "pw-smart-crm-competition", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
@@ -1,37 +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 { Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
import { CrmAction } from '../../../../../shared/interface/crm-action.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SmartCrmSettingsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
|
-
private readonly crmService;
|
|
11
|
-
form: UntypedFormGroup;
|
|
12
|
-
id: number;
|
|
13
|
-
subscriptionId: number;
|
|
14
|
-
user: User;
|
|
15
|
-
data: CrmAction;
|
|
16
|
-
subscription: Subscription;
|
|
17
|
-
actions$: Observable<string>;
|
|
18
|
-
targetWeek: any[];
|
|
19
|
-
targetWeekMin: any[];
|
|
20
|
-
submitted: boolean;
|
|
21
|
-
buttonBusy: boolean;
|
|
22
|
-
isLoading: boolean;
|
|
23
|
-
constructor(crmService: CrmService, injector: Injector);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
/** Function to get form controls */
|
|
26
|
-
get f(): {
|
|
27
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
28
|
-
};
|
|
29
|
-
/** Function to get action details on edit form */
|
|
30
|
-
private getActionDetails;
|
|
31
|
-
/** Function to update existing action */
|
|
32
|
-
onSave(): void;
|
|
33
|
-
onChange(event: any): void;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSettingsDetailsComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSettingsDetailsComponent, "pw-smart-crm-settings-details", never, {}, {}, never, never, false, never>;
|
|
37
|
-
}
|