@adlfe/campaign-management-library 2.12.0 → 2.13.2
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/adlfe-campaign-management-library.d.ts +11 -14
- package/adlfe-campaign-management-library.metadata.json +1 -1
- package/bundles/adlfe-campaign-management-library.umd.js +453 -343
- package/bundles/adlfe-campaign-management-library.umd.js.map +1 -1
- package/bundles/adlfe-campaign-management-library.umd.min.js +2 -2
- package/bundles/adlfe-campaign-management-library.umd.min.js.map +1 -1
- package/esm2015/adlfe-campaign-management-library.js +12 -15
- package/esm2015/lib/campaign-management/components/input-numeric/input-numeric.component.js +8 -2
- package/esm2015/lib/campaign-management/models/contact-category-dto.model.js +1 -1
- package/esm2015/lib/campaign-management/models/general-information-wa-req.model.js +37 -9
- package/esm2015/lib/campaign-management/models/template-wa.model.js +1 -1
- package/esm2015/lib/campaign-management/modules/campaign-index/component/filter-in-list-of-campaign/filter-in-list-of-campaign.component.js +1 -1
- package/esm2015/lib/campaign-management/modules/new-campaign/components/general-information-wa/general-information-wa.component.js +329 -267
- package/esm2015/lib/campaign-management/modules/new-campaign/general-information/general-information.component.js +6 -12
- package/esm2015/lib/campaign-management/modules/new-campaign/new-campaign.component.js +14 -9
- package/esm2015/lib/campaign-management/modules/new-campaign/new-number-bases/new-number-bases.component.js +34 -38
- package/esm2015/lib/core/const/validation-message.const.js +2 -1
- package/esm2015/public-api.js +6 -1
- package/esm5/adlfe-campaign-management-library.js +12 -15
- package/esm5/lib/campaign-management/components/input-numeric/input-numeric.component.js +8 -2
- package/esm5/lib/campaign-management/models/contact-category-dto.model.js +1 -1
- package/esm5/lib/campaign-management/models/general-information-wa-req.model.js +38 -9
- package/esm5/lib/campaign-management/models/template-wa.model.js +1 -1
- package/esm5/lib/campaign-management/modules/campaign-index/component/filter-in-list-of-campaign/filter-in-list-of-campaign.component.js +1 -1
- package/esm5/lib/campaign-management/modules/new-campaign/components/general-information-wa/general-information-wa.component.js +342 -268
- package/esm5/lib/campaign-management/modules/new-campaign/general-information/general-information.component.js +6 -12
- package/esm5/lib/campaign-management/modules/new-campaign/new-campaign.component.js +18 -9
- package/esm5/lib/campaign-management/modules/new-campaign/new-number-bases/new-number-bases.component.js +35 -41
- package/esm5/lib/core/const/validation-message.const.js +2 -1
- package/esm5/public-api.js +6 -1
- package/fesm2015/adlfe-campaign-management-library.js +423 -329
- package/fesm2015/adlfe-campaign-management-library.js.map +1 -1
- package/fesm5/adlfe-campaign-management-library.js +440 -332
- package/fesm5/adlfe-campaign-management-library.js.map +1 -1
- package/lib/campaign-management/components/input-numeric/input-numeric.component.d.ts +2 -0
- package/lib/campaign-management/models/contact-category-dto.model.d.ts +0 -1
- package/lib/campaign-management/models/general-information-wa-req.model.d.ts +5 -0
- package/lib/campaign-management/modules/new-campaign/components/general-information-wa/general-information-wa.component.d.ts +10 -6
- package/lib/campaign-management/modules/new-campaign/new-campaign.component.d.ts +1 -0
- package/lib/core/const/validation-message.const.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -22,6 +22,7 @@ export declare class GeneralInformationWAReqModel {
|
|
|
22
22
|
header: any;
|
|
23
23
|
data: any[];
|
|
24
24
|
button: any;
|
|
25
|
+
buttonParams: string[];
|
|
25
26
|
};
|
|
26
27
|
list: {
|
|
27
28
|
button: string;
|
|
@@ -39,6 +40,10 @@ export declare class GeneralInformationWAReqModel {
|
|
|
39
40
|
id: string;
|
|
40
41
|
title: string;
|
|
41
42
|
}[];
|
|
43
|
+
buttonParams: {
|
|
44
|
+
label: string;
|
|
45
|
+
payload: string;
|
|
46
|
+
}[];
|
|
42
47
|
category: string;
|
|
43
48
|
isNeedSave: boolean;
|
|
44
49
|
ttlSeconds: number;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { MapsAPILoader } from '@agm/core';
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
5
|
-
import { FormGroup } from '@angular/forms';
|
|
5
|
+
import { AbstractControl, FormArray, FormGroup } from '@angular/forms';
|
|
6
6
|
import { ToastrService } from 'ngx-toastr';
|
|
7
7
|
import { BaseOptionModel } from '../../../../../core/models';
|
|
8
8
|
import { ApiAdapterServiceService } from '../../../../../core/services';
|
|
9
9
|
import { TemplateWAModel, WhatsAppAccountDto } from '../../../../models';
|
|
10
10
|
interface IMaps {
|
|
11
11
|
zoom: number;
|
|
12
|
-
latitude: number;
|
|
13
|
-
longitude: number;
|
|
12
|
+
latitude: number | null;
|
|
13
|
+
longitude: number | null;
|
|
14
14
|
isDraggable: boolean;
|
|
15
15
|
isDoubleClickZoom: boolean;
|
|
16
16
|
}
|
|
@@ -47,7 +47,6 @@ export declare class GeneralInformationWAComponent implements OnInit, OnDestroy
|
|
|
47
47
|
isReadOnlyMode: boolean;
|
|
48
48
|
set isTouchedForm(status: boolean);
|
|
49
49
|
mapSearchRef: ElementRef;
|
|
50
|
-
isUtility: boolean;
|
|
51
50
|
isCheckUtility: boolean;
|
|
52
51
|
constructor(ngZone: NgZone, mapsAPILoader: MapsAPILoader, apiAdapterService: ApiAdapterServiceService, toastr: ToastrService, httpClient: HttpClient);
|
|
53
52
|
ngOnInit(): void;
|
|
@@ -57,10 +56,9 @@ export declare class GeneralInformationWAComponent implements OnInit, OnDestroy
|
|
|
57
56
|
private initEdit;
|
|
58
57
|
private initValidation;
|
|
59
58
|
formReset(_isMediaType?: boolean): void;
|
|
59
|
+
private getControl;
|
|
60
60
|
private initParam;
|
|
61
61
|
private getAccountOptionService;
|
|
62
|
-
private listenBodyChange;
|
|
63
|
-
private validateText;
|
|
64
62
|
getTemplateOptionService(event?: string, filter?: string, isInfinite?: boolean): void;
|
|
65
63
|
private initParameter;
|
|
66
64
|
get getParamHeader(): FormGroup[];
|
|
@@ -81,6 +79,8 @@ export declare class GeneralInformationWAComponent implements OnInit, OnDestroy
|
|
|
81
79
|
templateSelectedDisplay(attribute1: TemplateWAModel, attribute2: TemplateWAModel): string;
|
|
82
80
|
onFileSelected(event: Event): void;
|
|
83
81
|
private uploadMediaService;
|
|
82
|
+
get buttonParamsControls(): AbstractControl[];
|
|
83
|
+
get isUsingExcelBulk(): boolean;
|
|
84
84
|
updateTemplate(template: TemplateWAModel): void;
|
|
85
85
|
updateMediaType(_mediaType: string): void;
|
|
86
86
|
private fileTypeChange;
|
|
@@ -92,6 +92,10 @@ export declare class GeneralInformationWAComponent implements OnInit, OnDestroy
|
|
|
92
92
|
updateDownloadCSV(isChecked: boolean): void;
|
|
93
93
|
handleChangeTemplate(useExisting: boolean): void;
|
|
94
94
|
handleChangeFrom(value: any): void;
|
|
95
|
+
get variables(): FormArray;
|
|
96
|
+
addVariable(): void;
|
|
97
|
+
removeVariable(index: number): void;
|
|
98
|
+
updateVariableDownloadXLS(isChecked: boolean): void;
|
|
95
99
|
ngOnDestroy(): void;
|
|
96
100
|
}
|
|
97
101
|
export {};
|
|
@@ -51,6 +51,7 @@ export declare class NewCampaignComponent implements OnInit, OnDestroy {
|
|
|
51
51
|
get getBody(): string;
|
|
52
52
|
onCheckTwilioCounterValid: () => boolean;
|
|
53
53
|
private saveGeneralInformationService;
|
|
54
|
+
private saveGeneralInformation;
|
|
54
55
|
private saveFailoverMechanismService;
|
|
55
56
|
private saveNumberBasesService;
|
|
56
57
|
private saveSchedulerService;
|
|
@@ -49,6 +49,10 @@ export declare const GeneralInformationWAMessageValidationConst: {
|
|
|
49
49
|
type: string;
|
|
50
50
|
message: string;
|
|
51
51
|
}[];
|
|
52
|
+
paramName: {
|
|
53
|
+
type: string;
|
|
54
|
+
message: string;
|
|
55
|
+
}[];
|
|
52
56
|
};
|
|
53
57
|
export declare const GeneralInformationEmailMessageValidationConst: {
|
|
54
58
|
channel: {
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -8,3 +8,8 @@ export * from './lib/global/confirmation/confirmation';
|
|
|
8
8
|
export * from './lib/global/confirmation/confirmation.module';
|
|
9
9
|
export * from './lib/global/confirmation/confirmation/confirmation.component';
|
|
10
10
|
export * from './lib/global/search/search.module';
|
|
11
|
+
export * from './lib/campaign-management/modules/new-campaign/summary/summary.component';
|
|
12
|
+
export * from './lib/campaign-management/modules/campaign-index/campaign-index.component';
|
|
13
|
+
export * from './lib/core/directives/mat-select-infinite-scroll';
|
|
14
|
+
export * from './lib/campaign-management/modules/dashboard/dashboard.component';
|
|
15
|
+
export * from './lib/global/search/search/search.component';
|