mmhglobal-dynamicform 1.1.44 → 1.2.2

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.
@@ -1,47 +0,0 @@
1
- /********** Angular **********/
2
- import { OnInit, OnDestroy } from "@angular/core";
3
- /********** Ionic **********/
4
- /********** Plugin **********/
5
- import { Observable, Subject } from "rxjs";
6
- import { DataBindingDirective, DataStateChangeEvent } from "@progress/kendo-angular-grid";
7
- import { State } from "@progress/kendo-data-query";
8
- /********** Component & Service **********/
9
- import { AuthService, WebApiService, ZField, ZGridPostApiParams, ZGridStatePersistingService, ZGroup, StorageSessionService } from "mmhglobal-zcore";
10
- export declare class ZGridCalendarBindingDirective extends DataBindingDirective implements OnInit, OnDestroy {
11
- private webapiService;
12
- private authService;
13
- private storageService;
14
- private zGridStatePersistingService;
15
- private serviceSubscription;
16
- zgridcalendarbinding: {
17
- data: ZField;
18
- group: ZGroup;
19
- params: ZGridPostApiParams;
20
- gridSubject: Subject<any>;
21
- };
22
- state: State;
23
- gridColumns: any[];
24
- usableColumns: any[];
25
- resourceURL: any;
26
- paginationApiPostUrl: any;
27
- dataSource: any;
28
- get field(): ZField;
29
- get grp(): ZGroup;
30
- get gridSubject(): Subject<any>;
31
- get params(): ZGridPostApiParams;
32
- get getData(): any[] | import("@progress/kendo-angular-grid").GridDataResult;
33
- constructor(grid: any, webapiService: WebApiService, authService: AuthService, storageService: StorageSessionService, zGridStatePersistingService: ZGridStatePersistingService);
34
- ngOnInit(): void;
35
- ngOnDestroy(): void;
36
- generateGridColumns(): void;
37
- getDataBinding(): void;
38
- clearData(): void;
39
- private getFilterParamsColumns;
40
- private getGrantType;
41
- dataStateChange(state: DataStateChangeEvent): void;
42
- private mapFilterOperator;
43
- private getGridSettings;
44
- private setHiddenColumn;
45
- beforeGridGetData(group: ZGroup, me: any): Observable<any>;
46
- getGridSessionFilter(group: ZGroup, me: any): Promise<any>;
47
- }
@@ -1,111 +0,0 @@
1
- /********** Angular **********/
2
- import { OnInit, OnDestroy } from "@angular/core";
3
- import { FormGroup, FormBuilder } from '@angular/forms';
4
- import { ActivatedRoute, Router } from "@angular/router";
5
- /********** Ionic **********/
6
- /********** Plugin **********/
7
- import { Observable, Subject, Subscription } from "rxjs";
8
- import { ExcelExportData } from '@progress/kendo-angular-excel-export';
9
- import { SelectableSettings } from '@progress/kendo-angular-grid';
10
- import { State } from "@progress/kendo-data-query";
11
- import { GridDataResult, DataStateChangeEvent, CellClickEvent, RowArgs, ColumnReorderEvent } from "@progress/kendo-angular-grid";
12
- /********** Component & Service **********/
13
- import { ZGridCalendarBindingDirective } from "./zgridcalendar.binding.directive";
14
- import { AuthService, WebApiService, ToastService, ZField, ZGroup, ZComponent, ZComponentProperties, ZComponentOutputEvent, ZCoreService, ZGridStatePersistingService, ZGridPostApiParams, ZGridCustomColumn } from 'mmhglobal-zcore';
15
- export interface ZGridcalendar {
16
- params: ZGridPostApiParams;
17
- state: State;
18
- columns: any[];
19
- paginationApiPostUrl: string;
20
- data: ZField;
21
- group: ZGroup;
22
- zgrid: ZGridCalendarBindingDirective;
23
- inlineEditedFormGroups: FormGroup;
24
- getGridData: () => any[];
25
- getData: () => void;
26
- clearData: () => void;
27
- setData: (data: any) => void;
28
- setColumns: (columnFieldsName: string, columns: Array<ZGridCustomColumn>) => void;
29
- }
30
- export declare class ZgridcalendarComponent implements ZComponent, OnInit, OnDestroy {
31
- private activatedRoute;
32
- private router;
33
- private formBuilder;
34
- private authService;
35
- private webApiService;
36
- private zGridStatePersistingService;
37
- private toastService;
38
- private zcoreService;
39
- data: ZField;
40
- group: ZGroup;
41
- form: FormGroup;
42
- zgrid: any;
43
- oauthUrl: string;
44
- gridData: GridDataResult;
45
- selectableSettings: SelectableSettings;
46
- mySelection: any[];
47
- inlineEditedFormGroups: FormGroup;
48
- componentProperties: ZComponentProperties;
49
- _state: State;
50
- params: ZGridPostApiParams;
51
- gridSubject: Subject<any>;
52
- private widthReduce;
53
- private heightReduce;
54
- private gData;
55
- columns: any[];
56
- editableColumns: any[];
57
- subscription: Subscription;
58
- pageSizes: boolean | any[];
59
- isLoading: boolean;
60
- constructor(activatedRoute: ActivatedRoute, router: Router, formBuilder: FormBuilder, authService: AuthService, webApiService: WebApiService, zGridStatePersistingService: ZGridStatePersistingService, toastService: ToastService, zcoreService: ZCoreService);
61
- ngOnInit(): void;
62
- ngOnDestroy(): void;
63
- getGridStyle(): {
64
- "height.px": number;
65
- "width.px": number;
66
- };
67
- isSelectOption(): boolean;
68
- private getGridHeight;
69
- getData(): void;
70
- getGridData(): any;
71
- getFormControl(rowIndex: number, property: string): import("@angular/forms").AbstractControl;
72
- private createFormControls;
73
- get state(): State;
74
- dataStateChange(state: DataStateChangeEvent): void;
75
- filterChange(event: any): void;
76
- getGroupValue(value: string, group: ZGroup): any;
77
- setEnable: (status: boolean) => void;
78
- setVisible: (status: boolean) => void;
79
- setRequire: (status: boolean) => void;
80
- onBtnClick(event: any, colSetting: any, rowData: any, cellData: string): void;
81
- cellClickHandler(event: CellClickEvent): void;
82
- editCellCloseHandler(args: any): void;
83
- createFormGroup(dataItem: any, fieldName: any): FormGroup;
84
- onNavigateTo(event: any, clickAction: any, rowData: any, cellData: string): void;
85
- setData: (gData: any) => void;
86
- setColumns(columnName: string, columns: Array<ZGridCustomColumn>): void;
87
- private wrapColumnNamesInFieldElement;
88
- private generateGridColumns;
89
- rowSelectionKey(context: RowArgs): any;
90
- getSeletectedValues(): any;
91
- refreshGrid(event: ZComponentOutputEvent, group: ZGroup, me: any): void;
92
- refreshData(): void;
93
- clearData(): void;
94
- allResults(): Observable<ExcelExportData>;
95
- columnsOrderChanged(event: ColumnReorderEvent): void;
96
- saveGridSettings(): void;
97
- restoreGridSettings(): void;
98
- private postGridSetting;
99
- getClass(dataItem: any, col: any): string;
100
- getInlineField(value: any): any;
101
- getInlineForm(rowIndex: number): import("@angular/forms").AbstractControl;
102
- getFormat(col: any, defaultFormat?: any): string;
103
- setHeaderText(columnName: string, newHeaderTitle: string): void;
104
- inCellCheckBoxOnChange(event: any, rowIndex: any, column: any): void;
105
- setGridIsLoading(triggered: boolean): void;
106
- filterable(value: any): boolean;
107
- sortable(value: any): boolean;
108
- locked(colSetting: any): boolean;
109
- stateExist(): boolean;
110
- setGridSessionKey(group: ZGroup): void;
111
- }