arco-support-request 0.0.61 → 0.0.62

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 (28) 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 +918 -25
  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/service/entity-type-setup.service.js +6 -3
  9. package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +276 -0
  10. package/esm2015/lib/support-request/case-list/case-list.component.js +72 -8
  11. package/esm2015/lib/support-request/request-flow/request-flow.component.js +2 -2
  12. package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +18 -5
  13. package/esm2015/lib/support-request/support-request.module.js +10 -2
  14. package/esm2015/lib/templates/Pipe/translate.pipe.js +31 -0
  15. package/esm2015/lib/templates/grid/grid-datatype/grid-datatype.component.js +37 -0
  16. package/esm2015/lib/templates/grid/grid.component.js +436 -0
  17. package/esm2015/lib/templates/grid/inner-grid/inner-grid.component.js +15 -0
  18. package/fesm2015/arco-support-request.js +876 -15
  19. package/fesm2015/arco-support-request.js.map +1 -1
  20. package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +1 -1
  21. package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +66 -0
  22. package/lib/support-request/case-list/case-list.component.d.ts +15 -3
  23. package/lib/support-request/support-request-details/support-request-details.component.d.ts +1 -0
  24. package/lib/templates/Pipe/translate.pipe.d.ts +7 -0
  25. package/lib/templates/grid/grid-datatype/grid-datatype.component.d.ts +11 -0
  26. package/lib/templates/grid/grid.component.d.ts +155 -0
  27. package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +5 -0
  28. package/package.json +1 -1
@@ -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, processStageId?: 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>;
@@ -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,17 +1,19 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DynamicWfActionDataVm, EntityTypeFormVM, EntityTypeSetUpVM } from '../../entity-type-setup/interface/entityTypeInterface';
3
3
  import { EntityTypeSetupService } from '../../entity-type-setup/service/entity-type-setup.service';
4
- import { E_GridSearchType } from '../../templates/interface_enum/common-enum';
4
+ import { E_GridSearchType, E_SelectMode } from '../../templates/interface_enum/common-enum';
5
5
  import { IColumnDef, ISearchCriteria, ISortingField } from '../../templates/interface_enum/common-Interface';
6
6
  import { SupportRequestService } from '../support-request.service';
7
7
  import { GlobalService } from '../../core/global.service';
8
8
  import { TranslatePipe } from '../../Pipe/translate.pipe';
9
+ import { GridServiceService } from '../../templates/grid/grid-service.service';
9
10
  export declare class CaseListComponent implements OnInit {
10
11
  supportService: SupportRequestService;
11
12
  private entityTypeSetup;
12
13
  globalService: GlobalService;
14
+ private gridServiceService;
13
15
  private document;
14
- constructor(supportService: SupportRequestService, entityTypeSetup: EntityTypeSetupService, globalService: GlobalService, document: any);
16
+ constructor(supportService: SupportRequestService, entityTypeSetup: EntityTypeSetupService, globalService: GlobalService, gridServiceService: GridServiceService, document: any);
15
17
  ngOnInit(): void;
16
18
  EntityTypeId: number;
17
19
  RequesterTypeId: string;
@@ -35,17 +37,27 @@ export declare class CaseListComponent implements OnInit {
35
37
  pageSize: number;
36
38
  SortingField: ISortingField;
37
39
  Searchcriteria: ISearchCriteria;
40
+ columnDefs: IColumnDef[];
38
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;
39
51
  wfStatusFields: any[];
40
52
  action: number;
41
53
  getStatusField(data: DynamicWfActionDataVm): void;
42
54
  backtoCard(): void;
43
55
  pageTitle: string;
56
+ selectMode: E_SelectMode;
44
57
  EntityTypeDetail: EntityTypeSetUpVM;
45
58
  getEntityTypeDetails(): void;
46
59
  ActiveEntityTypeForm: EntityTypeFormVM;
47
60
  getActiveEntityForm(): void;
48
- columnDefs: IColumnDef[];
49
61
  getFormList(): void;
50
62
  CreateItemId: number;
51
63
  openPopupCreatePage(): void;
@@ -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;
@@ -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.61",
7
+ "version": "0.0.62",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^11.2.14",
10
10
  "@angular/core": "^11.2.14"