arco-support-request 0.0.60 → 0.0.63

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 (35) hide show
  1. package/arco-support-request.d.ts +13 -9
  2. package/arco-support-request.metadata.json +1 -1
  3. package/bundles/arco-support-request.umd.js +1196 -96
  4. package/bundles/arco-support-request.umd.js.map +1 -1
  5. package/bundles/arco-support-request.umd.min.js +1 -1
  6. package/bundles/arco-support-request.umd.min.js.map +1 -1
  7. package/esm2015/arco-support-request.js +14 -10
  8. package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +1 -1
  9. package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +76 -71
  10. package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +276 -0
  11. package/esm2015/lib/support-request/case-list/case-list.component.js +263 -9
  12. package/esm2015/lib/support-request/request-flow/request-flow.component.js +2 -2
  13. package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +12 -3
  14. package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +1 -1
  15. package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +18 -5
  16. package/esm2015/lib/support-request/support-request.module.js +10 -2
  17. package/esm2015/lib/support-request/support-request.service.js +2 -1
  18. package/esm2015/lib/templates/Pipe/translate.pipe.js +31 -0
  19. package/esm2015/lib/templates/grid/grid-datatype/grid-datatype.component.js +37 -0
  20. package/esm2015/lib/templates/grid/grid.component.js +436 -0
  21. package/esm2015/lib/templates/grid/inner-grid/inner-grid.component.js +15 -0
  22. package/fesm2015/arco-support-request.js +1148 -85
  23. package/fesm2015/arco-support-request.js.map +1 -1
  24. package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +1 -0
  25. package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +5 -4
  26. package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +66 -0
  27. package/lib/support-request/case-list/case-list.component.d.ts +51 -3
  28. package/lib/support-request/self-service-flow/self-service-flow.component.d.ts +6 -0
  29. package/lib/support-request/support-request-details/support-request-details.component.d.ts +1 -0
  30. package/lib/support-request/support-request.service.d.ts +1 -0
  31. package/lib/templates/Pipe/translate.pipe.d.ts +7 -0
  32. package/lib/templates/grid/grid-datatype/grid-datatype.component.d.ts +11 -0
  33. package/lib/templates/grid/grid.component.d.ts +155 -0
  34. package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +5 -0
  35. package/package.json +1 -1
@@ -72,6 +72,7 @@ export interface EntityTypeFieldCVM {
72
72
  IsUiField?: boolean;
73
73
  IsTableField?: boolean;
74
74
  showDetilsForm?: boolean;
75
+ IsIdentity?: boolean;
75
76
  }
76
77
  export interface EntityTypeFieldUVM extends EntityTypeFieldCVM {
77
78
  RecId: number;
@@ -69,7 +69,7 @@ export declare class EntityTypeSetupService {
69
69
  getAssignmentByStageId(criteriastr: ISearchCriteria, stageRecId: any): Observable<IEntityWFstageVM[]>;
70
70
  getAssignmentByEntityTypeId(criteriastr: ISearchCriteria, EntityTypeId: any): Observable<IEntityWFstageVM[]>;
71
71
  getShortKeyCannedResponse(searchterm?: string): Observable<Object>;
72
- getAllWfStage(criteriastr: ISearchCriteria, EntityTypeId: any): Observable<IEntityWFstageVM[]>;
72
+ getAllWfStage(criteriastr: ISearchCriteria, EntityTypeId: any, showallpending?: any): Observable<IEntityWFstageVM[]>;
73
73
  getWfStageEnumdropdown(enumname: string): Observable<Object>;
74
74
  getWfStage(EntityTypeId: number, recordStatus: number): Observable<Object>;
75
75
  postWfStage(data: IEntityWFstageCVM): Observable<Object>;
@@ -249,7 +249,7 @@ export declare class EntityTypeSetupService {
249
249
  createFieldType(data: any): Observable<Object>;
250
250
  updateFieldType(data: any): Observable<Object>;
251
251
  deleteFieldType(RecId: number[]): Observable<Object>;
252
- getDynamicAll(criteriastr: ISearchCriteria, entityTypeRecId: any): Observable<Object>;
252
+ getDynamicAll(criteriastr: ISearchCriteria, entityTypeRecId: any, processStageId?: any, CustomerId?: any): Observable<Object>;
253
253
  getDynamicAllForSupportReq(criteriastr: ISearchCriteria, entityTypeRecId: any): Observable<Object>;
254
254
  dynamicGet(criteriastr: ISearchCriteria, entityTypeRecId: any, filterStatusId: any): Observable<Object>;
255
255
  dynamicTaskGetByEntityTypeId(criteriastr: ISearchCriteria, EntityTypeId: any, StausId?: any): Observable<Object>;
@@ -328,7 +328,7 @@ export declare class EntityTypeSetupService {
328
328
  deleteIssueCrud(RecIds: number[]): Observable<Object>;
329
329
  }
330
330
  export declare const EntityWfStage: {
331
- Getwfstage: (EntityTypeId: any) => string;
331
+ Getwfstage: (EntityTypeId: any, showallpending?: any) => string;
332
332
  getWfStageEnumdropdown: (enumname: string, domainmodule: string) => string;
333
333
  getWfStages: (EntityTypeId: number, recordstatus: number) => string;
334
334
  GetwfprocessstageassignmentByStageRecId: (stageRecId: any) => string;
@@ -524,10 +524,11 @@ export declare const EntityTypeMyAssignedCases: {
524
524
  deleteMyAssignedCases: (RecIds: number[]) => string;
525
525
  };
526
526
  export declare const dynamic: {
527
- getDynamicAll: (entityTypeRecId: number) => string;
527
+ getDynamicAll: (entityTypeRecId: number, processStageId?: any) => string;
528
528
  getDynamicAllForSupportReq: (entityTypeRecId: number) => string;
529
529
  dynamicTaskGet: (filterStatusId: any, StausId: any) => string;
530
530
  dynamicTaskGetByEntityTypeRecId: (EntityTypeRecId: any, StatusId: any) => string;
531
+ dynamicTaskGetByCreatedSource: (SourceId: any, SourceEntityTypeId: any, SourceType: any) => string;
531
532
  dynamicGet: (entityTypeRecId: number, filterStatusId: any) => string;
532
533
  dynamicTaskGetByEntityTypeRecIdAndStatusId: (EntityTypeRecId: any, StatusId: any) => string;
533
534
  dynamicTaskGetByStausId: (StatusId: any) => string;
@@ -0,0 +1,66 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { E_DataType } from '../../templates/interface_enum/common-enum';
4
+ import { IColumnDef } from '../../templates/interface_enum/common-Interface';
5
+ import { WorkflowStageCompletePopup } from '../interface/entityTypeInterface';
6
+ import { PageForm } from '../page-form-instance';
7
+ import { EntityTypeSetupService } from '../service/entity-type-setup.service';
8
+ export declare class WorkflowDynamicPopupComponent implements OnInit {
9
+ private fb;
10
+ entityTypeService: EntityTypeSetupService;
11
+ currentStage: any;
12
+ ProcessId: any;
13
+ showWorkflowPopups: boolean;
14
+ isUpdateFields: boolean;
15
+ pageForm: PageForm;
16
+ columnDefs: IColumnDef[];
17
+ caller: WorkflowStageCompletePopup;
18
+ getWorkflowActionComments: EventEmitter<{
19
+ comments: any;
20
+ updateFileds?: any;
21
+ updateFieldsObject?: any;
22
+ }>;
23
+ updateFileds: any;
24
+ submitted: boolean;
25
+ dynamicFormGroup: FormGroup;
26
+ constructor(fb: FormBuilder, entityTypeService: EntityTypeSetupService);
27
+ fieldConfig: any[];
28
+ ActionCondition: any;
29
+ isFileAttach: boolean;
30
+ MenuRecId: number;
31
+ GridRecId: number;
32
+ pageAttachList: any[];
33
+ SelectedFiles: File;
34
+ DocumentItem: any;
35
+ isFileUpload: boolean;
36
+ workflowComments: any;
37
+ ngOnInit(): void;
38
+ getFieldFormGroup(): FormGroup;
39
+ closepopUp(): void;
40
+ onSubmit(): void;
41
+ closePopup(): void;
42
+ getType(_dataType: E_DataType | number): "time" | "text" | "number" | "date" | "file" | "checkbox" | "datetime-local";
43
+ dropDown$: any;
44
+ generateDropDownFields(): void;
45
+ uploadFile(event: any): void;
46
+ changeFile(files: FileList, item: any): void;
47
+ activeInputId: any;
48
+ typeInTextarea(el: any, newText: any): boolean;
49
+ showshortcode: boolean;
50
+ shortcode: any[];
51
+ shortcutkey: any;
52
+ getShortCodeCannedResponse(event?: any): void;
53
+ closeShortCanned: boolean;
54
+ closeShortKey(): void;
55
+ shortkey: any;
56
+ selectShortKey(item: any): boolean;
57
+ showShortKey(item: any): void;
58
+ }
59
+ export interface IUploadFile {
60
+ lastModified: number;
61
+ lastModifiedDate: Date;
62
+ name: string;
63
+ size: number;
64
+ type: string;
65
+ webkitRelativePath: any;
66
+ }
@@ -1,18 +1,30 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { DynamicWfActionDataVm, EntityTypeFormVM, EntityTypeSetUpVM } from '../../entity-type-setup/interface/entityTypeInterface';
2
3
  import { EntityTypeSetupService } from '../../entity-type-setup/service/entity-type-setup.service';
3
- import { E_GridSearchType } from '../../templates/interface_enum/common-enum';
4
- import { ISearchCriteria, ISortingField } from '../../templates/interface_enum/common-Interface';
4
+ import { E_GridSearchType, E_SelectMode } from '../../templates/interface_enum/common-enum';
5
+ import { IColumnDef, ISearchCriteria, ISortingField } from '../../templates/interface_enum/common-Interface';
5
6
  import { SupportRequestService } from '../support-request.service';
6
7
  import { GlobalService } from '../../core/global.service';
7
8
  import { TranslatePipe } from '../../Pipe/translate.pipe';
9
+ import { GridServiceService } from '../../templates/grid/grid-service.service';
8
10
  export declare class CaseListComponent implements OnInit {
9
11
  supportService: SupportRequestService;
10
12
  private entityTypeSetup;
11
13
  globalService: GlobalService;
14
+ private gridServiceService;
12
15
  private document;
13
- constructor(supportService: SupportRequestService, entityTypeSetup: EntityTypeSetupService, globalService: GlobalService, document: any);
16
+ constructor(supportService: SupportRequestService, entityTypeSetup: EntityTypeSetupService, globalService: GlobalService, gridServiceService: GridServiceService, document: any);
14
17
  ngOnInit(): void;
15
18
  EntityTypeId: number;
19
+ RequesterTypeId: string;
20
+ RequesterTypeIdEn: string;
21
+ RequesterId: string;
22
+ RequesterField: string;
23
+ IssueType: number;
24
+ Source: string;
25
+ Channel: string;
26
+ ChannelEn: string;
27
+ ChannelAr: string;
16
28
  translatePipe: TranslatePipe;
17
29
  selfServiceRequestData: any[];
18
30
  CurrentSortingField: string;
@@ -25,7 +37,31 @@ export declare class CaseListComponent implements OnInit {
25
37
  pageSize: number;
26
38
  SortingField: ISortingField;
27
39
  Searchcriteria: ISearchCriteria;
40
+ columnDefs: IColumnDef[];
28
41
  getListDatas(Criteria: ISearchCriteria): void;
42
+ loadGrid(data: any, TotalRecord: number): void;
43
+ viewTypes: {
44
+ id: number;
45
+ name: string;
46
+ class: string;
47
+ }[];
48
+ selectedIndex: number;
49
+ viewTypeData: number;
50
+ viewType(data: any, index: any): void;
51
+ wfStatusFields: any[];
52
+ action: number;
53
+ getStatusField(data: DynamicWfActionDataVm): void;
54
+ backtoCard(): void;
55
+ pageTitle: string;
56
+ selectMode: E_SelectMode;
57
+ EntityTypeDetail: EntityTypeSetUpVM;
58
+ getEntityTypeDetails(): void;
59
+ ActiveEntityTypeForm: EntityTypeFormVM;
60
+ getActiveEntityForm(): void;
61
+ getFormList(): void;
62
+ CreateItemId: number;
63
+ openPopupCreatePage(): void;
64
+ closePopupCreateView(Type?: any, Data?: any): void;
29
65
  getPaginationListData(pageNo: any, pageSize?: any): void;
30
66
  getPageCount(): void;
31
67
  detailsRecId: number;
@@ -37,7 +73,19 @@ export declare class CaseListComponent implements OnInit {
37
73
  closePopupDetailView(): void;
38
74
  SortGridData(item: any): void;
39
75
  SortDirection(direction: any): void;
76
+ FieldListDDL: {
77
+ Id: number;
78
+ Name: string;
79
+ Field: string;
80
+ }[];
40
81
  SearchBox: any;
41
82
  searchData(event: any): void;
42
83
  isShowCreateRequest: boolean;
84
+ StatusAndStageList: any[];
85
+ getWorkflowStatusWithStage(): void;
86
+ StatusId: any;
87
+ selectedStage: number;
88
+ selectStage(item: any): void;
89
+ wfActionData: DynamicWfActionDataVm[];
90
+ getWfStageAction(EntityTypeId: any, StageId: any): void;
43
91
  }
@@ -14,7 +14,13 @@ export declare class SelfServiceFlowComponent implements OnInit {
14
14
  ngOnInit(): void;
15
15
  RequesterTypeId: string;
16
16
  RequesterTypeIdEn: string;
17
+ RequesterId: string;
18
+ RequesterField: string;
17
19
  IssueType: number;
20
+ Source: string;
21
+ Channel: string;
22
+ ChannelEn: string;
23
+ ChannelAr: string;
18
24
  IssueAllList: any[];
19
25
  IssueCaseList: any[];
20
26
  translatePipe: TranslatePipe;
@@ -25,6 +25,7 @@ export declare class SupportRequestDetailsComponent implements OnInit, OnDestroy
25
25
  EntityTypeRecId: number;
26
26
  RecId: number;
27
27
  ViewFrom: any;
28
+ IsWfAction: boolean;
28
29
  environment: any;
29
30
  ngOnInit(): void;
30
31
  HistoryListCriteria: ISearchCriteria;
@@ -8,6 +8,7 @@ export declare class SupportRequestService {
8
8
  constructor(http: HttpClient, globalService: GlobalService);
9
9
  RequesterTypeId: string;
10
10
  displayListPopUp: boolean;
11
+ IsShowBackBtn: boolean;
11
12
  getAllEntityCategory(criteriastr?: ISearchCriteria): import("rxjs").Observable<Object>;
12
13
  getGroupData(): import("rxjs").Observable<TicketGroupVM[]>;
13
14
  getListbyRequester(): import("rxjs").Observable<TicketGroupVM[]>;
@@ -0,0 +1,7 @@
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
+ }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { E_DataType, E_FieldType, E_FormStatus } from '../../interface_enum/common-enum';
3
+ export declare class GridDatatypeComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ list: any;
7
+ col: any;
8
+ columnDataType: typeof E_DataType;
9
+ columnFieldType: typeof E_FieldType;
10
+ columnFormStatus: typeof E_FormStatus;
11
+ }
@@ -0,0 +1,155 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { GlobalService } from '../../core/global.service';
3
+ import { TranslatePipe } from '../Pipe/translate.pipe';
4
+ 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 { GridServiceService } from './grid-service.service';
7
+ export declare class GridComponent implements OnInit {
8
+ globalService: GlobalService;
9
+ private gridServiceService;
10
+ constructor(globalService: GlobalService, gridServiceService: GridServiceService);
11
+ ngOnInit(): void;
12
+ grid: number;
13
+ GridTitle: string;
14
+ GridDescription: string;
15
+ selectMode: E_SelectMode;
16
+ gridSelectOptions: ISelectOptions[];
17
+ gridActionList: IActionDef[];
18
+ gridActionStatus: IActionDef[];
19
+ gridCurrentStatus: number;
20
+ IsGridActionList: boolean;
21
+ IsGridActionForm: boolean;
22
+ getGridAction: EventEmitter<{
23
+ item: any;
24
+ gridData: any;
25
+ }>;
26
+ getGridStatusAction: EventEmitter<{
27
+ item: any;
28
+ }>;
29
+ getGridCheckedData: EventEmitter<{
30
+ gridData: any;
31
+ }>;
32
+ columnDefs: IColumnDef[];
33
+ gridSelectOption: boolean;
34
+ IsCreate: boolean;
35
+ IsEdit: boolean;
36
+ IsDelete: boolean;
37
+ RowInsideGrid: boolean;
38
+ IsDetails: boolean;
39
+ IsBack: boolean;
40
+ IsAttach: boolean;
41
+ IsDynamicListpage: boolean;
42
+ IsAssign: boolean;
43
+ IsExport: boolean;
44
+ IsTicketGroupAssign: boolean;
45
+ GridSearchType: E_GridSearchType;
46
+ IsClientPagination: boolean;
47
+ translatePipe: TranslatePipe;
48
+ columnDataType: typeof E_DataType;
49
+ columnFieldType: typeof E_FieldType;
50
+ gridData: any[];
51
+ tempgridData: any[];
52
+ openCreatePopup: EventEmitter<{
53
+ type: any;
54
+ }>;
55
+ getPageList: EventEmitter<{
56
+ Criteria: any;
57
+ }>;
58
+ goToDetails: EventEmitter<{
59
+ data: any;
60
+ }>;
61
+ goToAction: EventEmitter<{
62
+ data: any;
63
+ }>;
64
+ callButtonEvent: EventEmitter<{
65
+ data: any;
66
+ col: IColumnDef;
67
+ }>;
68
+ callIconEvent: EventEmitter<{
69
+ data: any;
70
+ col: IColumnDef;
71
+ }>;
72
+ callOnOffEvent: EventEmitter<{
73
+ data: any;
74
+ col: IColumnDef;
75
+ }>;
76
+ gridSelectOptionsData: EventEmitter<{
77
+ data: any;
78
+ }>;
79
+ assignmentMethod: EventEmitter<{
80
+ data: any;
81
+ }>;
82
+ ticketGroupAssignmentMethod: EventEmitter<{
83
+ data: any;
84
+ }>;
85
+ attachMethod: EventEmitter<{
86
+ data: any;
87
+ }>;
88
+ gotoBackToList: EventEmitter<{
89
+ data: any;
90
+ }>;
91
+ editMethod: EventEmitter<{
92
+ data: any;
93
+ }>;
94
+ rowInsideMethod: EventEmitter<{
95
+ data: any;
96
+ }>;
97
+ deleteMethod: EventEmitter<{
98
+ data: any;
99
+ }>;
100
+ multipleDeleteMethod: EventEmitter<{
101
+ gridData: any;
102
+ }>;
103
+ GetDetailsList: EventEmitter<{
104
+ Criteria: any;
105
+ }>;
106
+ GetListView: EventEmitter<{
107
+ data: any;
108
+ }>;
109
+ GridCheckedData: any;
110
+ _getGridAction(item: IActionDef): void;
111
+ GridFormData: any;
112
+ _getGridActionForm(item: IActionDef): void;
113
+ GridCheckAll: boolean;
114
+ getCheckboxChecked(event?: any, index?: number): void;
115
+ getGridCheckAll(event: any): void;
116
+ insertSelectField(value: boolean): void;
117
+ _getGridCheckedData(): void;
118
+ _openCreatePopup(): void;
119
+ _gridEditmethod(): void;
120
+ _gridDeleteMethod(): void;
121
+ _gotoBackToList(item: any): void;
122
+ _gridSelectOptions(item?: any): void;
123
+ _goToDetails(item: any): void;
124
+ _goToAction(item: any): void;
125
+ _callButtonEvent(item: any, col: IColumnDef): void;
126
+ _callIconEvent(item: any, col: IColumnDef): void;
127
+ _callOnOffEvent(item: any, col: IColumnDef): void;
128
+ _assignmentMethod(item: any): void;
129
+ _listpage(item: any): void;
130
+ _ticketGroupAssignmentMethod(item: any): void;
131
+ _rowInsideMethod(item: any): void;
132
+ _editmethod(item: any): void;
133
+ _deleteMethod(item: any): void;
134
+ _attachmentMethod(item: any): void;
135
+ totalCount: number;
136
+ totalRecordCount: number;
137
+ pageCount: number;
138
+ pageNo: number;
139
+ pageSize: number;
140
+ SortingField: ISortingField;
141
+ Searchcriteria: ISearchCriteria;
142
+ GridSort: any;
143
+ GridFilter: any;
144
+ GridCondition: any;
145
+ IsFilter: boolean;
146
+ toggleFilter(): void;
147
+ getGridSearch(event: any): void;
148
+ getGridSearchTextChange(event: any): void;
149
+ setSearchData(): void;
150
+ getGridsorting(event: any): void;
151
+ removeGridSorting(): void;
152
+ _getPageList(): void;
153
+ getPaginationListData(pageNo: any, pageSize?: any): void;
154
+ getPageCount(): void;
155
+ }
@@ -0,0 +1,5 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class InnerGridComponent implements OnInit {
3
+ constructor();
4
+ ngOnInit(): void;
5
+ }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "arco-support-request",
5
5
  "FTS-support-request"
6
6
  ],
7
- "version": "0.0.60",
7
+ "version": "0.0.63",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^11.2.14",
10
10
  "@angular/core": "^11.2.14"