arco-support-request 0.0.53 → 0.0.56
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 +2073 -1190
- 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/global.service.js +1654 -1161
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +78 -8
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.js +2 -2
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.js +273 -11
- package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +1 -1
- package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +3 -4
- package/esm2015/lib/support-request/request-flow/request-flow.component.js +12 -6
- package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +4 -4
- package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +1 -2
- package/esm2015/lib/templates/interface_enum/common-Interface.js +1 -1
- package/esm2015/lib/templates/interface_enum/common-enum.js +16 -1
- package/fesm2015/arco-support-request.js +2035 -1190
- package/fesm2015/arco-support-request.js.map +1 -1
- package/lib/core/global.service.d.ts +5 -4
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts +6 -1
- package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +9 -3
- package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +85 -2
- package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +1 -0
- package/lib/support-request/request-flow/request-flow.component.d.ts +1 -0
- package/lib/support-request/support-request-create/support-request-create.component.d.ts +1 -0
- package/lib/templates/interface_enum/common-Interface.d.ts +8 -3
- package/lib/templates/interface_enum/common-enum.d.ts +15 -3
- package/package.json +1 -1
|
@@ -12,12 +12,12 @@ export declare class GlobalService {
|
|
|
12
12
|
onFavRecChange: BehaviorSubject<{
|
|
13
13
|
isUpdate: boolean;
|
|
14
14
|
}>;
|
|
15
|
-
onLangChange: BehaviorSubject<{
|
|
16
|
-
CurrentLanguage: any;
|
|
17
|
-
}>;
|
|
18
15
|
onHostUrlChange: BehaviorSubject<{
|
|
19
16
|
Url: any;
|
|
20
17
|
}>;
|
|
18
|
+
onLangChange: BehaviorSubject<{
|
|
19
|
+
CurrentLanguage: any;
|
|
20
|
+
}>;
|
|
21
21
|
IsSupportRequestDashboard: boolean;
|
|
22
22
|
SupportRequestUser: any;
|
|
23
23
|
IsLogin: boolean;
|
|
@@ -38,12 +38,13 @@ export declare class GlobalService {
|
|
|
38
38
|
LoginUserToken: string;
|
|
39
39
|
SetValue(value: boolean): void;
|
|
40
40
|
SetLocalValues(): void;
|
|
41
|
-
getLanguageValues(): import("rxjs").Observable<Object>;
|
|
42
41
|
CurrentLanguage: any;
|
|
43
42
|
TranslateWords: [];
|
|
44
43
|
EnglishWord: any;
|
|
45
44
|
ArabicWord: any;
|
|
45
|
+
getCurrentLang(): void;
|
|
46
46
|
setLanguage(lang: any): void;
|
|
47
|
+
getLanguageValues(): import("rxjs").Observable<Object>;
|
|
47
48
|
appId: string;
|
|
48
49
|
getAppId(): void;
|
|
49
50
|
saveAppId(): void;
|
package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export declare class EntityDynamicFieldComponent implements OnInit {
|
|
|
59
59
|
selectDropDownRow(row: any, field: EntityTypeFieldVM): void;
|
|
60
60
|
showTable(item: any): void;
|
|
61
61
|
activeInputId: any;
|
|
62
|
-
clks(item: any): boolean;
|
|
62
|
+
clks(item: any, Type: any): boolean;
|
|
63
63
|
typeInTextarea(el: any, newText: any): boolean;
|
|
64
64
|
searchValue: any;
|
|
65
65
|
customSearchFn(term: string, item: any): void;
|
|
@@ -74,6 +74,11 @@ export declare class EntityDynamicFieldComponent implements OnInit {
|
|
|
74
74
|
shortkey: any;
|
|
75
75
|
selectShortKey(item: any): boolean;
|
|
76
76
|
showShortKey(item: any): void;
|
|
77
|
+
FiedlListData$: any;
|
|
78
|
+
getListFieldData(): void;
|
|
79
|
+
addnewList(field: EntityTypeFieldVM): void;
|
|
80
|
+
removeList(field: EntityTypeFieldVM, index: any): void;
|
|
81
|
+
changeFiledList(field: EntityTypeFieldVM, item: any, index: any): void;
|
|
77
82
|
translatePipe: TranslatePipe;
|
|
78
83
|
FilterPipe: FilterPipe;
|
|
79
84
|
UniqueFilterPipe: UniqueFilterPipe;
|
package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { EntityTypeFieldVM, EntityTypeFormVM, FieldValidators } from '../../inte
|
|
|
6
6
|
import { PageForm } from '../../page-form-instance';
|
|
7
7
|
import { PageDetailsRow } from '../../page.interface.classes';
|
|
8
8
|
import { EntityTypeSetupService } from '../../service/entity-type-setup.service';
|
|
9
|
-
import { TranslatePipe } from '../../../Pipe/translate.pipe';
|
|
10
9
|
import { GlobalService } from '../../../core/global.service';
|
|
10
|
+
import { TranslatePipe } from '../../../Pipe/translate.pipe';
|
|
11
11
|
export declare class EntityDynamicViewComponent implements OnInit {
|
|
12
12
|
private entityTypeSetup;
|
|
13
13
|
private router;
|
|
@@ -16,6 +16,7 @@ export declare class EntityDynamicViewComponent implements OnInit {
|
|
|
16
16
|
private globalService;
|
|
17
17
|
constructor(entityTypeSetup: EntityTypeSetupService, router: Router, fb: FormBuilder, route: ActivatedRoute, globalService: GlobalService);
|
|
18
18
|
ngOnInit(): void;
|
|
19
|
+
_handlebars: any;
|
|
19
20
|
RequestorField: any;
|
|
20
21
|
RequestorFieldValue: any;
|
|
21
22
|
EntityFormId: number;
|
|
@@ -28,6 +29,7 @@ export declare class EntityDynamicViewComponent implements OnInit {
|
|
|
28
29
|
ParameterData: any;
|
|
29
30
|
closePopup(): void;
|
|
30
31
|
_submitFormValue(): void;
|
|
32
|
+
OnSaveRules: any;
|
|
31
33
|
EntityTypeForm: EntityTypeFormVM;
|
|
32
34
|
pageGroups: PageDetailsRow[];
|
|
33
35
|
defaultPageGroups: PageDetailsRow[];
|
|
@@ -48,12 +50,15 @@ export declare class EntityDynamicViewComponent implements OnInit {
|
|
|
48
50
|
createFormGroup(fields: EntityTypeFieldVM[]): FormGroup;
|
|
49
51
|
BindDesignFormData(): void;
|
|
50
52
|
FieldChangeEvent(FieldData: EntityTypeFieldVM, RestData: any): void;
|
|
51
|
-
_fieldrulesImplement(rulesData: any, RestData: any): void;
|
|
53
|
+
_fieldrulesImplement(rulesData: any, RestData: any, FieldData: any): void;
|
|
54
|
+
onFormSave(FormData: any): void;
|
|
52
55
|
onFormInit(FormData: any, RestData?: any): void;
|
|
53
56
|
OnRulesApply(rulesData: any, RestData: any): void;
|
|
57
|
+
getDatasoureData(EntityFormId: any, Fields: any, Triggr: any): void;
|
|
54
58
|
AllRules: any;
|
|
55
59
|
getAllRules(EntityTypeId: any): void;
|
|
56
|
-
hanbleBarHtml(_code: any, data
|
|
60
|
+
hanbleBarHtml(_code: any, data?: any): any;
|
|
61
|
+
get Cookies(): {};
|
|
57
62
|
setValidationOnField(Field: any, ValidationMessage: any, ValidationMessageAr: any, Type: any): void;
|
|
58
63
|
setDDLFieldDesc(Field: any, value: any): void;
|
|
59
64
|
setReadOnlyOnField(Field: any, IsReadonly: boolean): void;
|
|
@@ -61,3 +66,4 @@ export declare class EntityDynamicViewComponent implements OnInit {
|
|
|
61
66
|
fieldValidation: FieldValidators[];
|
|
62
67
|
translatePipe: TranslatePipe;
|
|
63
68
|
}
|
|
69
|
+
export declare function registerHandlebarHelperMethodsNew(handlebarObj: any): void;
|
|
@@ -45,6 +45,7 @@ export interface EntityTypeSetUpCVM {
|
|
|
45
45
|
IsActive: boolean;
|
|
46
46
|
ImageUrl?: string;
|
|
47
47
|
Version?: number;
|
|
48
|
+
Prefix?: string;
|
|
48
49
|
}
|
|
49
50
|
export interface EntityTypeSetUpUVM extends EntityTypeSetUpCVM {
|
|
50
51
|
RecId: number;
|
|
@@ -54,12 +55,12 @@ export interface EntityTypeSetUpVM extends EntityTypeSetUpUVM {
|
|
|
54
55
|
TemplateIdEn?: string;
|
|
55
56
|
}
|
|
56
57
|
export interface EntityTypeFieldCVM {
|
|
57
|
-
EntityTypeId
|
|
58
|
+
EntityTypeId?: number;
|
|
58
59
|
EntityTypeRecId?: number;
|
|
59
60
|
Label: string;
|
|
60
61
|
LabelAr?: string;
|
|
61
62
|
Description: string;
|
|
62
|
-
DataType: number;
|
|
63
|
+
DataType: number | any;
|
|
63
64
|
FieldData?: string;
|
|
64
65
|
FieldTypeId?: number;
|
|
65
66
|
LookupData?: string;
|
|
@@ -69,6 +70,8 @@ export interface EntityTypeFieldCVM {
|
|
|
69
70
|
IsReadonly?: boolean;
|
|
70
71
|
IsMandatory?: boolean;
|
|
71
72
|
IsUiField?: boolean;
|
|
73
|
+
IsTableField?: boolean;
|
|
74
|
+
showDetilsForm?: boolean;
|
|
72
75
|
}
|
|
73
76
|
export interface EntityTypeFieldUVM extends EntityTypeFieldCVM {
|
|
74
77
|
RecId: number;
|
|
@@ -81,6 +84,12 @@ export interface EntityTypeFieldVM extends EntityTypeFieldUVM {
|
|
|
81
84
|
showSelectedValues?: any;
|
|
82
85
|
showSearchBox?: boolean;
|
|
83
86
|
ValidationMessage?: any[];
|
|
87
|
+
CurrentValues?: any;
|
|
88
|
+
OldValues?: any;
|
|
89
|
+
CurrentValuesSendGrid?: any;
|
|
90
|
+
OldValuesSendGrid?: any;
|
|
91
|
+
DataValues?: any;
|
|
92
|
+
DataValuesSendGrid?: any;
|
|
84
93
|
}
|
|
85
94
|
export interface EntityTypeFormCVM {
|
|
86
95
|
EntityTypeId?: number;
|
|
@@ -99,6 +108,8 @@ export interface EntityTypeFormCVM {
|
|
|
99
108
|
Placeholder?: string;
|
|
100
109
|
Status?: number;
|
|
101
110
|
StatusEn?: string;
|
|
111
|
+
DataSource?: string;
|
|
112
|
+
FormName?: string;
|
|
102
113
|
}
|
|
103
114
|
export interface EntityTypeFormUVM extends EntityTypeFormCVM {
|
|
104
115
|
RecId: number;
|
|
@@ -153,6 +164,7 @@ export interface DynamicTaskVm {
|
|
|
153
164
|
WFInsRefRecId: number;
|
|
154
165
|
WFInsReferenceFields: any;
|
|
155
166
|
uploadFiles: any;
|
|
167
|
+
TaskId: string;
|
|
156
168
|
}
|
|
157
169
|
export interface DynamicTicketVm {
|
|
158
170
|
AssignedTo: string;
|
|
@@ -194,6 +206,9 @@ export interface DynamicTicketVm {
|
|
|
194
206
|
AssignedTo_Desc: string;
|
|
195
207
|
TicketChannelId_Desc: string;
|
|
196
208
|
StatusIdEn: string;
|
|
209
|
+
Channel: number;
|
|
210
|
+
Channel_Desc: string;
|
|
211
|
+
CaseId: string;
|
|
197
212
|
}
|
|
198
213
|
export interface MyAssignedCasesVM {
|
|
199
214
|
AssignTo: string;
|
|
@@ -245,6 +260,10 @@ export interface MyAssignedCasesVM {
|
|
|
245
260
|
Priority: any;
|
|
246
261
|
SLAStatusEn: any;
|
|
247
262
|
CaseTypeId: any;
|
|
263
|
+
StatusIdEn: any;
|
|
264
|
+
RefRecId: any;
|
|
265
|
+
CaseId: string;
|
|
266
|
+
MobileNumber?: any;
|
|
248
267
|
}
|
|
249
268
|
export interface DynamicWfActionDataVm {
|
|
250
269
|
Action: number;
|
|
@@ -486,6 +505,9 @@ export interface IActionCVM {
|
|
|
486
505
|
ConditionRecId: string;
|
|
487
506
|
ActivityTemplateRecId: number;
|
|
488
507
|
Language: number;
|
|
508
|
+
ActivityFormData?: any;
|
|
509
|
+
IsTemplate?: boolean;
|
|
510
|
+
IsActive?: boolean;
|
|
489
511
|
}
|
|
490
512
|
export interface IPlaceHolders {
|
|
491
513
|
PlaceHolders: any;
|
|
@@ -526,6 +548,7 @@ export interface ISlaLineCVM {
|
|
|
526
548
|
}
|
|
527
549
|
export interface IEntityTypeWFProcessStageStatusUVM extends IEntityTypeWFProcessStageStatusCVM {
|
|
528
550
|
RecId: number;
|
|
551
|
+
ActionRules?: string;
|
|
529
552
|
}
|
|
530
553
|
export interface IEntityTypeWFProcessStageStatusVM extends IEntityTypeWFProcessStageStatusUVM {
|
|
531
554
|
}
|
|
@@ -683,6 +706,7 @@ export interface IEntityCategoryVM {
|
|
|
683
706
|
RequesterType: string;
|
|
684
707
|
RecId?: number;
|
|
685
708
|
ImageUrl?: string;
|
|
709
|
+
IssueType?: any;
|
|
686
710
|
}
|
|
687
711
|
export interface CategoryTypeCVM {
|
|
688
712
|
CategoryId: string;
|
|
@@ -830,3 +854,62 @@ export interface IssueAssignUVM extends IssueAssignCVM {
|
|
|
830
854
|
}
|
|
831
855
|
export interface IssueAssignVM extends IssueAssignUVM {
|
|
832
856
|
}
|
|
857
|
+
export interface CategoryAssignment {
|
|
858
|
+
RelationId: string;
|
|
859
|
+
CategoryIds: string[];
|
|
860
|
+
}
|
|
861
|
+
export interface IssueGroupAssignmentRequestertype {
|
|
862
|
+
TicketGroupID: number;
|
|
863
|
+
IsTicketGroup: number;
|
|
864
|
+
TicketGroupNameEN: string;
|
|
865
|
+
TicketGroupNameAr: string;
|
|
866
|
+
AssingnmentRecId: number;
|
|
867
|
+
IsSelected?: boolean;
|
|
868
|
+
}
|
|
869
|
+
export interface IssueGroupAssignmentCVM {
|
|
870
|
+
RequesterType: string;
|
|
871
|
+
IssueGroupIds: string[];
|
|
872
|
+
}
|
|
873
|
+
export interface TicketTypeAssignmentCVM {
|
|
874
|
+
RequesterType: string;
|
|
875
|
+
IssueGroupIds: string[];
|
|
876
|
+
}
|
|
877
|
+
export interface TicketTypeAssignment {
|
|
878
|
+
TicketGroupID: number;
|
|
879
|
+
IsTicketGroup: number;
|
|
880
|
+
TicketGroupNameEN: string;
|
|
881
|
+
TicketGroupNameAr: string;
|
|
882
|
+
AssingnmentRecId: number;
|
|
883
|
+
IsSelected?: boolean;
|
|
884
|
+
}
|
|
885
|
+
export interface ActionGroupActionVM {
|
|
886
|
+
RecId: number;
|
|
887
|
+
Name: string;
|
|
888
|
+
CaseType?: any;
|
|
889
|
+
Config: any;
|
|
890
|
+
EventVersion: number;
|
|
891
|
+
ActionType: number | string;
|
|
892
|
+
EventName: string;
|
|
893
|
+
EventRecId: number | string;
|
|
894
|
+
ConditionRecId: number;
|
|
895
|
+
ActivityTemplateRecId: number | string;
|
|
896
|
+
Language: string;
|
|
897
|
+
IsTemplate: boolean;
|
|
898
|
+
ActivityFormData: ActivityFormData;
|
|
899
|
+
}
|
|
900
|
+
export interface ActionGroupVM {
|
|
901
|
+
RecId: number;
|
|
902
|
+
RefRecId: number;
|
|
903
|
+
Type: string;
|
|
904
|
+
ActionGroupName: string;
|
|
905
|
+
CaseType: number;
|
|
906
|
+
ConditionData: any;
|
|
907
|
+
action: ActionGroupActionVM[];
|
|
908
|
+
show: boolean;
|
|
909
|
+
}
|
|
910
|
+
export interface ActivityFormData {
|
|
911
|
+
PageGroup: [];
|
|
912
|
+
defaultPageGroups: [];
|
|
913
|
+
PageGroupValues: any;
|
|
914
|
+
EntityFormId: number;
|
|
915
|
+
}
|
|
@@ -16,6 +16,7 @@ export declare class RequestFlowComponent implements OnInit {
|
|
|
16
16
|
private document;
|
|
17
17
|
constructor(supportService: SupportRequestService, fb: FormBuilder, entityTypeSetup: EntityTypeSetupService, globalService: GlobalService, document: any);
|
|
18
18
|
RequesterTypeId: string;
|
|
19
|
+
RequesterTypeIdEn: string;
|
|
19
20
|
RequesterId: string;
|
|
20
21
|
RequesterField: string;
|
|
21
22
|
Language: string;
|
|
@@ -62,8 +62,8 @@ export interface IDropDown {
|
|
|
62
62
|
DescriptionAr?: any | null;
|
|
63
63
|
}
|
|
64
64
|
export interface IRestConfig {
|
|
65
|
-
textField
|
|
66
|
-
valueField
|
|
65
|
+
textField?: string;
|
|
66
|
+
valueField?: string;
|
|
67
67
|
URL: string;
|
|
68
68
|
Method: string;
|
|
69
69
|
Headers: INameTypeVal[];
|
|
@@ -72,6 +72,10 @@ export interface IRestConfig {
|
|
|
72
72
|
Path: any;
|
|
73
73
|
Havecriteria?: boolean;
|
|
74
74
|
TextboxShowData?: any[];
|
|
75
|
+
ResponseView?: any;
|
|
76
|
+
DeserializeResponse?: boolean;
|
|
77
|
+
AllowFile?: boolean;
|
|
78
|
+
FileObjectName?: string;
|
|
75
79
|
}
|
|
76
80
|
export interface INameVal {
|
|
77
81
|
Name: string;
|
|
@@ -79,6 +83,7 @@ export interface INameVal {
|
|
|
79
83
|
}
|
|
80
84
|
export interface INameTypeVal {
|
|
81
85
|
Name: string;
|
|
82
|
-
Type
|
|
86
|
+
Type?: string;
|
|
83
87
|
Value: string;
|
|
88
|
+
IsNullable?: boolean;
|
|
84
89
|
}
|
|
@@ -24,7 +24,8 @@ export declare enum E_DataType {
|
|
|
24
24
|
Enumerations = 18,
|
|
25
25
|
HtmlEditor = 19,
|
|
26
26
|
isIcon = 20,
|
|
27
|
-
IsOnOff = 30
|
|
27
|
+
IsOnOff = 30,
|
|
28
|
+
List = 40
|
|
28
29
|
}
|
|
29
30
|
export declare enum E_FieldType {
|
|
30
31
|
details = 1,
|
|
@@ -32,7 +33,8 @@ export declare enum E_FieldType {
|
|
|
32
33
|
button = 3,
|
|
33
34
|
text = 4,
|
|
34
35
|
icon = 5,
|
|
35
|
-
onOff = 6
|
|
36
|
+
onOff = 6,
|
|
37
|
+
copyText = 7
|
|
36
38
|
}
|
|
37
39
|
export declare enum E_Gender {
|
|
38
40
|
Male = 1,
|
|
@@ -113,5 +115,15 @@ export declare enum E_FormStatus {
|
|
|
113
115
|
}
|
|
114
116
|
export declare enum E_FormType {
|
|
115
117
|
List = 1,
|
|
116
|
-
Details = 2
|
|
118
|
+
Details = 2,
|
|
119
|
+
Datasource = 3
|
|
120
|
+
}
|
|
121
|
+
export declare enum E_Language {
|
|
122
|
+
English = "English",
|
|
123
|
+
Arabic = "Arabic"
|
|
124
|
+
}
|
|
125
|
+
export declare enum E_ActivityActionType {
|
|
126
|
+
Sms = 1,
|
|
127
|
+
Email = 2,
|
|
128
|
+
Api = 3
|
|
117
129
|
}
|