arco-support-request 0.0.70 → 0.0.73
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/arco-support-request.metadata.json +1 -1
- package/bundles/arco-support-request.umd.js +794 -329
- package/bundles/arco-support-request.umd.js.map +1 -1
- package/bundles/arco-support-request.umd.min.js +1 -1
- package/bundles/arco-support-request.umd.min.js.map +1 -1
- package/esm2015/lib/core/handlebar-helper-register.js +12 -6
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +1 -1
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.js +64 -24
- package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +1 -1
- package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +30 -2
- package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +96 -28
- package/esm2015/lib/support-request/case-list/case-list.component.js +94 -40
- package/esm2015/lib/support-request/request-flow/request-flow.component.js +1 -1
- package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +1 -1
- package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +2 -2
- package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +77 -16
- package/esm2015/lib/templates/grid/grid-service.service.js +71 -4
- package/esm2015/lib/templates/grid/grid.component.js +196 -26
- package/esm2015/lib/templates/interface_enum/common-Interface.js +1 -1
- package/esm2015/lib/templates/interface_enum/common-enum.js +2 -1
- package/fesm2015/arco-support-request.js +783 -323
- package/fesm2015/arco-support-request.js.map +1 -1
- package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +1 -0
- package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +1 -0
- package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +5 -0
- package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +22 -2
- package/lib/support-request/case-list/case-list.component.d.ts +10 -3
- package/lib/support-request/support-request-details/support-request-details.component.d.ts +10 -0
- package/lib/templates/grid/grid-service.service.d.ts +7 -2
- package/lib/templates/grid/grid.component.d.ts +68 -5
- package/lib/templates/interface_enum/common-Interface.d.ts +6 -0
- package/lib/templates/interface_enum/common-enum.d.ts +2 -1
- package/package.json +1 -1
- package/esm2015/lib/templates/Pipe/translate.pipe.js +0 -31
- package/lib/templates/Pipe/translate.pipe.d.ts +0 -7
|
@@ -227,6 +227,7 @@ export declare class EntityTypeSetupService {
|
|
|
227
227
|
urlGetDynamicTicketSingleByRecId(recId: number): Observable<any>;
|
|
228
228
|
urlGetDynamicTicketJoinSingleByRecId(recId: number, entityTypeRecId: number): Observable<any>;
|
|
229
229
|
urlPostTicketWfAction(RecIds: number, stageId: any, action: any, comments: any, updateFileds: any, updateFieldsObject: any, EntityTypeId: any): Observable<Object>;
|
|
230
|
+
urlPostTicketWfActionMultiple(RecIds: number[], stageId: any, action: any, comments: any, updateFileds: any, updateFieldsObject: any, EntityTypeId: any): Observable<Object>;
|
|
230
231
|
urlPostTaskWfAction(RecIds: number, stageId: any, action: any, comments: any, updateFileds: any, updateFieldsObject: any, EntityTypeId: any): Observable<Object>;
|
|
231
232
|
getWfInsProcessStageComments(criteriastr: ISearchCriteria, EntityTypeId: any, refRecId: any): Observable<IEntityWFstageVM[]>;
|
|
232
233
|
postTicketComments(file: any, values: any): Observable<Object>;
|
|
@@ -326,6 +327,7 @@ export declare class EntityTypeSetupService {
|
|
|
326
327
|
createIssueCrud(data: any): Observable<Object>;
|
|
327
328
|
updateIssueCrud(data: any): Observable<Object>;
|
|
328
329
|
deleteIssueCrud(RecIds: number[]): Observable<Object>;
|
|
330
|
+
getExportAllGridData(Url: string, columnDef: string, filename: string, QueryString: string): Observable<Blob>;
|
|
329
331
|
}
|
|
330
332
|
export declare const EntityWfStage: {
|
|
331
333
|
Getwfstage: (EntityTypeId: any, showallpending?: any) => string;
|
|
@@ -602,3 +604,6 @@ export declare const IssueCrud: {
|
|
|
602
604
|
export declare const loginauth: {
|
|
603
605
|
validatetoken: (Token: string) => string;
|
|
604
606
|
};
|
|
607
|
+
export declare const ExportGrid: {
|
|
608
|
+
getExportAllGridData: (Url: string, columnDef: string, filename: string, QueryString: string) => string;
|
|
609
|
+
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { GlobalService } from '../../core/global.service';
|
|
3
4
|
import { E_DataType } from '../../templates/interface_enum/common-enum';
|
|
4
5
|
import { IColumnDef } from '../../templates/interface_enum/common-Interface';
|
|
5
6
|
import { WorkflowStageCompletePopup } from '../interface/entityTypeInterface';
|
|
6
7
|
import { PageForm } from '../page-form-instance';
|
|
7
8
|
import { EntityTypeSetupService } from '../service/entity-type-setup.service';
|
|
9
|
+
import { TranslatePipe } from '../../Pipe/translate.pipe';
|
|
8
10
|
export declare class WorkflowDynamicPopupComponent implements OnInit {
|
|
9
11
|
private fb;
|
|
10
12
|
entityTypeService: EntityTypeSetupService;
|
|
13
|
+
globalService: GlobalService;
|
|
11
14
|
currentStage: any;
|
|
12
15
|
ProcessId: any;
|
|
13
16
|
showWorkflowPopups: boolean;
|
|
@@ -15,6 +18,10 @@ export declare class WorkflowDynamicPopupComponent implements OnInit {
|
|
|
15
18
|
pageForm: PageForm;
|
|
16
19
|
columnDefs: IColumnDef[];
|
|
17
20
|
caller: WorkflowStageCompletePopup;
|
|
21
|
+
Type: any;
|
|
22
|
+
EntityFormId: any;
|
|
23
|
+
EntityTypeId: any;
|
|
24
|
+
PageGroupValues: any;
|
|
18
25
|
getWorkflowActionComments: EventEmitter<{
|
|
19
26
|
comments: any;
|
|
20
27
|
updateFileds?: any;
|
|
@@ -23,7 +30,7 @@ export declare class WorkflowDynamicPopupComponent implements OnInit {
|
|
|
23
30
|
updateFileds: any;
|
|
24
31
|
submitted: boolean;
|
|
25
32
|
dynamicFormGroup: FormGroup;
|
|
26
|
-
constructor(fb: FormBuilder, entityTypeService: EntityTypeSetupService);
|
|
33
|
+
constructor(fb: FormBuilder, entityTypeService: EntityTypeSetupService, globalService: GlobalService);
|
|
27
34
|
fieldConfig: any[];
|
|
28
35
|
ActionCondition: any;
|
|
29
36
|
isFileAttach: boolean;
|
|
@@ -36,7 +43,6 @@ export declare class WorkflowDynamicPopupComponent implements OnInit {
|
|
|
36
43
|
workflowComments: any;
|
|
37
44
|
ngOnInit(): void;
|
|
38
45
|
getFieldFormGroup(): FormGroup;
|
|
39
|
-
closepopUp(): void;
|
|
40
46
|
onSubmit(): void;
|
|
41
47
|
closePopup(): void;
|
|
42
48
|
getType(_dataType: E_DataType | number): "time" | "text" | "number" | "date" | "file" | "checkbox" | "datetime-local";
|
|
@@ -55,6 +61,20 @@ export declare class WorkflowDynamicPopupComponent implements OnInit {
|
|
|
55
61
|
shortkey: any;
|
|
56
62
|
selectShortKey(item: any): boolean;
|
|
57
63
|
showShortKey(item: any): void;
|
|
64
|
+
ParameterData: {
|
|
65
|
+
Channel: number;
|
|
66
|
+
ChannelEn: string;
|
|
67
|
+
Source: string;
|
|
68
|
+
CreatedByUserType: any;
|
|
69
|
+
UserType: string;
|
|
70
|
+
CustomerId: any;
|
|
71
|
+
};
|
|
72
|
+
getActiveEntityForm(): void;
|
|
73
|
+
workflowFormAllFieldData: any;
|
|
74
|
+
workflowFormData: {};
|
|
75
|
+
workflowpageForm: any;
|
|
76
|
+
emitSubmitForm(CreateData: any, pageForm: any, forms?: any, CurrentFormPageGroupObjects?: any): void;
|
|
77
|
+
translatePipe: TranslatePipe;
|
|
58
78
|
}
|
|
59
79
|
export interface IUploadFile {
|
|
60
80
|
lastModified: number;
|
|
@@ -48,9 +48,6 @@ export declare class CaseListComponent implements OnInit {
|
|
|
48
48
|
selectedIndex: number;
|
|
49
49
|
viewTypeData: number;
|
|
50
50
|
viewType(data: any, index: any): void;
|
|
51
|
-
wfStatusFields: any[];
|
|
52
|
-
action: number;
|
|
53
|
-
getStatusField(data: DynamicWfActionDataVm): void;
|
|
54
51
|
backtoCard(): void;
|
|
55
52
|
pageTitle: string;
|
|
56
53
|
selectMode: E_SelectMode;
|
|
@@ -77,6 +74,7 @@ export declare class CaseListComponent implements OnInit {
|
|
|
77
74
|
Id: number;
|
|
78
75
|
Name: string;
|
|
79
76
|
Field: string;
|
|
77
|
+
FieldAr: string;
|
|
80
78
|
}[];
|
|
81
79
|
SearchBox: any;
|
|
82
80
|
searchData(event: any): void;
|
|
@@ -85,7 +83,16 @@ export declare class CaseListComponent implements OnInit {
|
|
|
85
83
|
getWorkflowStatusWithStage(): void;
|
|
86
84
|
StatusId: any;
|
|
87
85
|
selectedStage: number;
|
|
86
|
+
selectedStageobj: number;
|
|
88
87
|
selectStage(item: any): void;
|
|
89
88
|
wfActionData: DynamicWfActionDataVm[];
|
|
90
89
|
getWfStageAction(EntityTypeId: any, StageId: any): void;
|
|
90
|
+
workflowEntityFormId: any;
|
|
91
|
+
wfStatusFields: any[];
|
|
92
|
+
action: number;
|
|
93
|
+
getStatusField(data: DynamicWfActionDataVm): void;
|
|
94
|
+
showWorkflowPopup: boolean;
|
|
95
|
+
GridCheckedData: any[];
|
|
96
|
+
getgridCheckedData(item: any): void;
|
|
97
|
+
getWorkflowActionComments(comments: any, updateFileds: any, updateFieldsObject: any): void;
|
|
91
98
|
}
|
|
@@ -68,6 +68,14 @@ export declare class SupportRequestDetailsComponent implements OnInit, OnDestroy
|
|
|
68
68
|
TotalActivity: number;
|
|
69
69
|
openPopupCreatePage(item: any): void;
|
|
70
70
|
closePopupCreateView(Type?: any): void;
|
|
71
|
+
StatusAndStageList: any[];
|
|
72
|
+
storeCriteria: ISearchCriteria;
|
|
73
|
+
getWorkflowStatusWithStage(): void;
|
|
74
|
+
showStageDetails: boolean;
|
|
75
|
+
selectedProcess: any;
|
|
76
|
+
selectedProcessList: any[];
|
|
77
|
+
selectProcess(item: any): void;
|
|
78
|
+
closeProcess(): void;
|
|
71
79
|
tabDisplayView: number;
|
|
72
80
|
gridChangeTabs(data: any): void;
|
|
73
81
|
loadMoreActivities(): void;
|
|
@@ -78,6 +86,7 @@ export declare class SupportRequestDetailsComponent implements OnInit, OnDestroy
|
|
|
78
86
|
ProcessStageList: any;
|
|
79
87
|
TimelineList: any[];
|
|
80
88
|
setTimeline(): void;
|
|
89
|
+
GetPageList(Criteria: ISearchCriteria): void;
|
|
81
90
|
fileList: any;
|
|
82
91
|
fileChange(event: any): void;
|
|
83
92
|
TaskCommentFile: any;
|
|
@@ -94,6 +103,7 @@ export declare class SupportRequestDetailsComponent implements OnInit, OnDestroy
|
|
|
94
103
|
wfStatusFields: any[];
|
|
95
104
|
action: number;
|
|
96
105
|
showWorkflowPopup: boolean;
|
|
106
|
+
workflowEntityFormId: any;
|
|
97
107
|
getStatusField(data: any): void;
|
|
98
108
|
backToList(): void;
|
|
99
109
|
ngOnDestroy(): void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import {
|
|
2
|
+
import { EntityTypeSetupService } from '../../entity-type-setup/service/entity-type-setup.service';
|
|
3
|
+
import { IGridExport, INameVal, ISearchCriteria } from '../interface_enum/common-Interface';
|
|
3
4
|
export declare class GridServiceService {
|
|
4
|
-
|
|
5
|
+
private entitytypesetup;
|
|
6
|
+
constructor(entitytypesetup: EntityTypeSetupService);
|
|
5
7
|
onGridRefresh: BehaviorSubject<{
|
|
6
8
|
isTrue: boolean;
|
|
7
9
|
list: any[];
|
|
@@ -36,5 +38,8 @@ export declare class GridServiceService {
|
|
|
36
38
|
comment: boolean;
|
|
37
39
|
}>;
|
|
38
40
|
loadGrid(data: any, TotalRecord: number): void;
|
|
41
|
+
ExportGrid(GridDynamicExportData: IGridExport): void;
|
|
42
|
+
downloadFile(blob: any, type: string, filename: string): void;
|
|
39
43
|
}
|
|
40
44
|
export declare function CriteriaBuilder(criteria: ISearchCriteria): {};
|
|
45
|
+
export declare function GenerateCriteriaForExport(criteria: ISearchCriteria): INameVal[];
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { GlobalService } from '../../core/global.service';
|
|
3
|
-
import {
|
|
3
|
+
import { EntityTypeSetupService } from '../../entity-type-setup/service/entity-type-setup.service';
|
|
4
|
+
import { TranslatePipe } from '../../Pipe/translate.pipe';
|
|
4
5
|
import { E_DataType, E_FieldType, E_GridSearchType, E_SelectMode } from '../interface_enum/common-enum';
|
|
5
|
-
import { IActionDef, IColumnDef, ISearchCriteria, ISelectOptions, ISortingField } from '../interface_enum/common-Interface';
|
|
6
|
+
import { IActionDef, IColumnDef, IGridExport, ISearchCriteria, ISelectOptions, ISortingField } from '../interface_enum/common-Interface';
|
|
6
7
|
import { GridServiceService } from './grid-service.service';
|
|
7
8
|
export declare class GridComponent implements OnInit {
|
|
8
9
|
globalService: GlobalService;
|
|
9
10
|
private gridServiceService;
|
|
10
|
-
|
|
11
|
+
private entitytypesetup;
|
|
12
|
+
constructor(globalService: GlobalService, gridServiceService: GridServiceService, entitytypesetup: EntityTypeSetupService);
|
|
11
13
|
ngOnInit(): void;
|
|
12
14
|
grid: number;
|
|
13
15
|
GridTitle: string;
|
|
16
|
+
InnerGridTitle: string;
|
|
14
17
|
GridDescription: string;
|
|
15
18
|
selectMode: E_SelectMode;
|
|
16
19
|
gridSelectOptions: ISelectOptions[];
|
|
@@ -30,20 +33,34 @@ export declare class GridComponent implements OnInit {
|
|
|
30
33
|
gridData: any;
|
|
31
34
|
}>;
|
|
32
35
|
columnDefs: IColumnDef[];
|
|
36
|
+
InnerColumnDefs: IColumnDef[];
|
|
33
37
|
gridSelectOption: boolean;
|
|
34
38
|
IsCreate: boolean;
|
|
35
39
|
IsEdit: boolean;
|
|
36
40
|
IsDelete: boolean;
|
|
41
|
+
IsSorting: boolean;
|
|
42
|
+
IsRefresh: boolean;
|
|
43
|
+
IsSearch: boolean;
|
|
44
|
+
IsthSize: boolean;
|
|
45
|
+
IsActive: boolean;
|
|
46
|
+
IsDuplicate: boolean;
|
|
37
47
|
RowInsideGrid: boolean;
|
|
38
48
|
IsDetails: boolean;
|
|
39
49
|
IsBack: boolean;
|
|
40
50
|
IsAttach: boolean;
|
|
41
51
|
IsDynamicListpage: boolean;
|
|
42
52
|
IsAssign: boolean;
|
|
53
|
+
IsInnerGrid: boolean;
|
|
54
|
+
IsShowDetailsGo: boolean;
|
|
43
55
|
IsExport: boolean;
|
|
44
56
|
IsTicketGroupAssign: boolean;
|
|
45
57
|
GridSearchType: E_GridSearchType;
|
|
46
58
|
IsClientPagination: boolean;
|
|
59
|
+
IsCategorySetupView: boolean;
|
|
60
|
+
IsInnerGridCreate: boolean;
|
|
61
|
+
IsInnerGridEdit: boolean;
|
|
62
|
+
IsInnerGridDelete: boolean;
|
|
63
|
+
IsHidden: boolean;
|
|
47
64
|
translatePipe: TranslatePipe;
|
|
48
65
|
columnDataType: typeof E_DataType;
|
|
49
66
|
columnFieldType: typeof E_FieldType;
|
|
@@ -55,6 +72,10 @@ export declare class GridComponent implements OnInit {
|
|
|
55
72
|
getPageList: EventEmitter<{
|
|
56
73
|
Criteria: any;
|
|
57
74
|
}>;
|
|
75
|
+
getInnerPageList: EventEmitter<{
|
|
76
|
+
Criteria: any;
|
|
77
|
+
data: any;
|
|
78
|
+
}>;
|
|
58
79
|
goToDetails: EventEmitter<{
|
|
59
80
|
data: any;
|
|
60
81
|
}>;
|
|
@@ -73,6 +94,11 @@ export declare class GridComponent implements OnInit {
|
|
|
73
94
|
data: any;
|
|
74
95
|
col: IColumnDef;
|
|
75
96
|
}>;
|
|
97
|
+
copyTextEvent: EventEmitter<{
|
|
98
|
+
data: any;
|
|
99
|
+
Type: number;
|
|
100
|
+
Field: any;
|
|
101
|
+
}>;
|
|
76
102
|
gridSelectOptionsData: EventEmitter<{
|
|
77
103
|
data: any;
|
|
78
104
|
}>;
|
|
@@ -91,6 +117,12 @@ export declare class GridComponent implements OnInit {
|
|
|
91
117
|
editMethod: EventEmitter<{
|
|
92
118
|
data: any;
|
|
93
119
|
}>;
|
|
120
|
+
ActiveMethod: EventEmitter<{
|
|
121
|
+
data: any;
|
|
122
|
+
}>;
|
|
123
|
+
DuplicateMethod: EventEmitter<{
|
|
124
|
+
data: any;
|
|
125
|
+
}>;
|
|
94
126
|
rowInsideMethod: EventEmitter<{
|
|
95
127
|
data: any;
|
|
96
128
|
}>;
|
|
@@ -106,6 +138,18 @@ export declare class GridComponent implements OnInit {
|
|
|
106
138
|
GetListView: EventEmitter<{
|
|
107
139
|
data: any;
|
|
108
140
|
}>;
|
|
141
|
+
categorySetupView: EventEmitter<{
|
|
142
|
+
data: any;
|
|
143
|
+
}>;
|
|
144
|
+
openCreatePopupInnerGrid: EventEmitter<{
|
|
145
|
+
type: any;
|
|
146
|
+
}>;
|
|
147
|
+
editMethodInnerGrid: EventEmitter<{
|
|
148
|
+
data: any;
|
|
149
|
+
}>;
|
|
150
|
+
deleteMethodInnerGrid: EventEmitter<{
|
|
151
|
+
data: any;
|
|
152
|
+
}>;
|
|
109
153
|
GridCheckedData: any;
|
|
110
154
|
_getGridAction(item: IActionDef): void;
|
|
111
155
|
GridFormData: any;
|
|
@@ -116,8 +160,11 @@ export declare class GridComponent implements OnInit {
|
|
|
116
160
|
insertSelectField(value: boolean): void;
|
|
117
161
|
_getGridCheckedData(): void;
|
|
118
162
|
_openCreatePopup(): void;
|
|
163
|
+
_openCreatePopupInnerGrid(): void;
|
|
119
164
|
_gridEditmethod(): void;
|
|
120
165
|
_gridDeleteMethod(): void;
|
|
166
|
+
_innerGridEditmethod(): void;
|
|
167
|
+
_innerGridDeleteMethod(): void;
|
|
121
168
|
_gotoBackToList(item: any): void;
|
|
122
169
|
_gridSelectOptions(item?: any): void;
|
|
123
170
|
_goToDetails(item: any): void;
|
|
@@ -125,13 +172,20 @@ export declare class GridComponent implements OnInit {
|
|
|
125
172
|
_callButtonEvent(item: any, col: IColumnDef): void;
|
|
126
173
|
_callIconEvent(item: any, col: IColumnDef): void;
|
|
127
174
|
_callOnOffEvent(item: any, col: IColumnDef): void;
|
|
175
|
+
_copyTextEvent(item: any, Type: number, Field: any): void;
|
|
128
176
|
_assignmentMethod(item: any): void;
|
|
129
177
|
_listpage(item: any): void;
|
|
130
178
|
_ticketGroupAssignmentMethod(item: any): void;
|
|
131
179
|
_rowInsideMethod(item: any): void;
|
|
180
|
+
_Activemethod(item: any): void;
|
|
181
|
+
_DuplicateMethod(item: any): void;
|
|
132
182
|
_editmethod(item: any): void;
|
|
133
183
|
_deleteMethod(item: any): void;
|
|
184
|
+
InnerGridEditData: any;
|
|
185
|
+
_innerGrideditmethod(item: any): void;
|
|
186
|
+
_innerGriddeleteMethod(item: any): void;
|
|
134
187
|
_attachmentMethod(item: any): void;
|
|
188
|
+
_categorySetupView(item: any): void;
|
|
135
189
|
totalCount: number;
|
|
136
190
|
totalRecordCount: number;
|
|
137
191
|
pageCount: number;
|
|
@@ -144,12 +198,21 @@ export declare class GridComponent implements OnInit {
|
|
|
144
198
|
GridCondition: any;
|
|
145
199
|
IsFilter: boolean;
|
|
146
200
|
toggleFilter(): void;
|
|
147
|
-
getGridSearch(event: any): void;
|
|
201
|
+
getGridSearch(event: any, datatype?: any): void;
|
|
148
202
|
getGridSearchTextChange(event: any): void;
|
|
149
|
-
setSearchData(): void;
|
|
203
|
+
setSearchData(datatype?: any): void;
|
|
150
204
|
getGridsorting(event: any): void;
|
|
151
205
|
removeGridSorting(): void;
|
|
206
|
+
_goDetailsPage(): void;
|
|
152
207
|
_getPageList(): void;
|
|
208
|
+
_getInnerPageList(Criteria: any): void;
|
|
153
209
|
getPaginationListData(pageNo: any, pageSize?: any): void;
|
|
154
210
|
getPageCount(): void;
|
|
211
|
+
selectedStageId: number;
|
|
212
|
+
gridSelectedValue: any;
|
|
213
|
+
innerGridShow(values: any): void;
|
|
214
|
+
getDateDDMMYYYY(date: any): any;
|
|
215
|
+
GridDynamicExportData: IGridExport;
|
|
216
|
+
IsDynamicExport: boolean;
|
|
217
|
+
ExportGridData(): void;
|
|
155
218
|
}
|
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import { GlobalService } from '../../core/global.service';
|
|
3
|
-
export class TranslatePipe {
|
|
4
|
-
constructor(globalService) {
|
|
5
|
-
this.globalService = globalService;
|
|
6
|
-
}
|
|
7
|
-
transform(value) {
|
|
8
|
-
//
|
|
9
|
-
if (this.globalService.ArabicWord == null || this.globalService.ArabicWord == undefined || this.globalService.EnglishWord == null || this.globalService.EnglishWord == undefined) {
|
|
10
|
-
return value;
|
|
11
|
-
}
|
|
12
|
-
if (this.globalService.CurrentLanguage == "Eng") {
|
|
13
|
-
return value;
|
|
14
|
-
}
|
|
15
|
-
else if (this.globalService.CurrentLanguage == "Ar") {
|
|
16
|
-
return this.globalService.ArabicWord[value] ? this.globalService.ArabicWord[value] : value;
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
return value;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
TranslatePipe.decorators = [
|
|
24
|
-
{ type: Pipe, args: [{
|
|
25
|
-
name: 'translate'
|
|
26
|
-
},] }
|
|
27
|
-
];
|
|
28
|
-
TranslatePipe.ctorParameters = () => [
|
|
29
|
-
{ type: GlobalService }
|
|
30
|
-
];
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRlLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hcmNvLXN1cHBvcnQtcmVxdWVzdC9zcmMvbGliL3RlbXBsYXRlcy9QaXBlL3RyYW5zbGF0ZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCL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XJuIHZhbHVlO1xyXG4gICAgfVxyXG5cclxuICB9XHJcblxyXG5cclxufVxyXG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { GlobalService } from '../../core/global.service';
|
|
3
|
-
export declare class TranslatePipe implements PipeTransform {
|
|
4
|
-
private globalService;
|
|
5
|
-
constructor(globalService: GlobalService);
|
|
6
|
-
transform(value: any): any;
|
|
7
|
-
}
|