arco-support-request 0.0.52 → 0.0.55

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.
Files changed (29) hide show
  1. package/arco-support-request.metadata.json +1 -1
  2. package/bundles/arco-support-request.umd.js +2118 -1245
  3. package/bundles/arco-support-request.umd.js.map +1 -1
  4. package/bundles/arco-support-request.umd.min.js +1 -1
  5. package/bundles/arco-support-request.umd.min.js.map +1 -1
  6. package/esm2015/lib/core/global.service.js +1654 -1161
  7. package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +77 -7
  8. package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.js +2 -2
  9. package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.js +267 -11
  10. package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +1 -1
  11. package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +66 -61
  12. package/esm2015/lib/support-request/request-flow/request-flow.component.js +12 -6
  13. package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +4 -4
  14. package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +12 -2
  15. package/esm2015/lib/templates/interface_enum/common-Interface.js +1 -1
  16. package/esm2015/lib/templates/interface_enum/common-enum.js +16 -1
  17. package/fesm2015/arco-support-request.js +2101 -1246
  18. package/fesm2015/arco-support-request.js.map +1 -1
  19. package/lib/core/global.service.d.ts +5 -4
  20. package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts +6 -1
  21. package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +8 -3
  22. package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +85 -2
  23. package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +3 -0
  24. package/lib/support-request/request-flow/request-flow.component.d.ts +1 -0
  25. package/lib/support-request/support-request-create/support-request-create.component.d.ts +1 -0
  26. package/lib/support-request/support-request-details/support-request-details.component.d.ts +1 -0
  27. package/lib/templates/interface_enum/common-Interface.d.ts +7 -3
  28. package/lib/templates/interface_enum/common-enum.d.ts +15 -3
  29. 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;
@@ -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;
@@ -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;
@@ -28,6 +28,7 @@ export declare class EntityDynamicViewComponent implements OnInit {
28
28
  ParameterData: any;
29
29
  closePopup(): void;
30
30
  _submitFormValue(): void;
31
+ OnSaveRules: any;
31
32
  EntityTypeForm: EntityTypeFormVM;
32
33
  pageGroups: PageDetailsRow[];
33
34
  defaultPageGroups: PageDetailsRow[];
@@ -48,12 +49,15 @@ export declare class EntityDynamicViewComponent implements OnInit {
48
49
  createFormGroup(fields: EntityTypeFieldVM[]): FormGroup;
49
50
  BindDesignFormData(): void;
50
51
  FieldChangeEvent(FieldData: EntityTypeFieldVM, RestData: any): void;
51
- _fieldrulesImplement(rulesData: any, RestData: any): void;
52
+ _fieldrulesImplement(rulesData: any, RestData: any, FieldData: any): void;
53
+ onFormSave(FormData: any): void;
52
54
  onFormInit(FormData: any, RestData?: any): void;
53
55
  OnRulesApply(rulesData: any, RestData: any): void;
56
+ getDatasoureData(EntityFormId: any, Fields: any, Triggr: any): void;
54
57
  AllRules: any;
55
58
  getAllRules(EntityTypeId: any): void;
56
- hanbleBarHtml(_code: any, data: any): string;
59
+ hanbleBarHtml(_code: any, data?: any): any;
60
+ get Cookies(): {};
57
61
  setValidationOnField(Field: any, ValidationMessage: any, ValidationMessageAr: any, Type: any): void;
58
62
  setDDLFieldDesc(Field: any, value: any): void;
59
63
  setReadOnlyOnField(Field: any, IsReadonly: boolean): void;
@@ -61,3 +65,4 @@ export declare class EntityDynamicViewComponent implements OnInit {
61
65
  fieldValidation: FieldValidators[];
62
66
  translatePipe: TranslatePipe;
63
67
  }
68
+ export declare function registerHandlebarHelperMethodsNew(): 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: number;
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
+ }
@@ -13,6 +13,7 @@ export declare class EntityTypeSetupService {
13
13
  constructor(http: HttpClient, globalService: GlobalService);
14
14
  onPlaceHolderSelect: BehaviorSubject<{
15
15
  placeholder: any;
16
+ Type: any;
16
17
  }>;
17
18
  IsPopupOpen: boolean;
18
19
  serverURL: string;
@@ -258,6 +259,7 @@ export declare class EntityTypeSetupService {
258
259
  dynamicTaskGet(criteriastr: ISearchCriteria, filterStatusId: any, StausId?: any): Observable<Object>;
259
260
  getDynamicAllActivity(criteriastr: ISearchCriteria, entityTypeRecId: any, ActivityTypeId: number): Observable<Object>;
260
261
  getDynamicActivityByRefRecid(criteriastr: ISearchCriteria, entityTypeRecId: any, ActivityTypeId: number, RefRecid: any): Observable<Object>;
262
+ getActivityUploadFile(RefRecId: number, EntityTypeId: number, ActivityTypeId: number): Observable<Object>;
261
263
  getDynamicByEntityRefrecid(entityTypeRecId: number, RefTypeId: number, criteriastr: any, ActivityId?: number): Observable<Object>;
262
264
  getAllCategoryTypeTeams(criteriastr: ISearchCriteria, CategoryId: any): Observable<Object>;
263
265
  getCategoryTypeTeamsByRecId(RecId: number): Observable<Object>;
@@ -531,6 +533,7 @@ export declare const dynamic: {
531
533
  dynamicTaskGetByStausIdAndfilterStatus: (filterStatusId: any, StatusId: any) => string;
532
534
  getDynamicAllActivity: (entityTypeRecId: number, ActivityTypeId: number) => string;
533
535
  getDynamicActivityByRefRecid: (entityTypeRecId: number, ActivityTypeId: number, RefRecid: number) => string;
536
+ getActivityUploadFile: (RefRecId: number, EntityTypeId: number, ActivityTypeId: number) => string;
534
537
  getDynamicById: (entityTypeRecId: number, RecId: number) => string;
535
538
  insertDynamic: (EntityData: any) => string;
536
539
  updateDynamic: (EntityData: any) => string;
@@ -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;
@@ -36,6 +36,7 @@ export declare class SupportRequestCreateComponent implements OnInit {
36
36
  ChannelAr: any;
37
37
  RequestField: any;
38
38
  RequesterId: any;
39
+ RequesterIdEn: any;
39
40
  closeCreate: EventEmitter<{
40
41
  Type: any;
41
42
  Data?: any;
@@ -55,6 +55,7 @@ export declare class SupportRequestDetailsComponent implements OnInit, OnDestroy
55
55
  Searchcriteria: ISearchCriteria;
56
56
  ActivityFields: any[];
57
57
  getActivity(): void;
58
+ getActivityFileUploads(item: any): void;
58
59
  addEvents(data: any): void;
59
60
  displayPopupCreateView: boolean;
60
61
  CreateItemId: number;
@@ -62,8 +62,8 @@ export interface IDropDown {
62
62
  DescriptionAr?: any | null;
63
63
  }
64
64
  export interface IRestConfig {
65
- textField: string;
66
- valueField: string;
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,6 @@ export interface INameVal {
79
83
  }
80
84
  export interface INameTypeVal {
81
85
  Name: string;
82
- Type: string;
86
+ Type?: string;
83
87
  Value: string;
84
88
  }
@@ -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
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "arco-support-request",
5
5
  "FTS-support-request"
6
6
  ],
7
- "version": "0.0.52",
7
+ "version": "0.0.55",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^11.2.14",
10
10
  "@angular/core": "^11.2.14"