@zeedhi/teknisa-components-common 1.105.1 → 1.105.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.
Files changed (28) hide show
  1. package/coverage/clover.xml +50 -50
  2. package/coverage/coverage-final.json +45 -45
  3. package/coverage/lcov-report/index.html +3 -3
  4. package/coverage/lcov-report/tests/__helpers__/component-event-helper.ts.html +1 -1
  5. package/coverage/lcov-report/tests/__helpers__/flush-promises-helper.ts.html +1 -1
  6. package/coverage/lcov-report/tests/__helpers__/get-child-helper.ts.html +1 -1
  7. package/coverage/lcov-report/tests/__helpers__/index.html +1 -1
  8. package/coverage/lcov-report/tests/__helpers__/index.ts.html +1 -1
  9. package/coverage/lcov-report/tests/__helpers__/mock-created-helper.ts.html +1 -1
  10. package/coverage/lcov.info +63 -61
  11. package/dist/tek-components-common.esm.js +2 -2
  12. package/dist/tek-components-common.umd.js +2 -2
  13. package/package.json +2 -2
  14. package/types/components/tek-grid/grid.d.ts +1 -1
  15. package/types/components/tek-ag-grid/default-icons.d.ts +0 -53
  16. package/types/components/tek-ag-grid/interfaces.d.ts +0 -9
  17. package/types/components/tek-ag-grid/tek-ag-grid.d.ts +0 -35
  18. package/types/components/tek-datasource/datasource.d.ts +0 -94
  19. package/types/components/tek-grid/default-icons.d.ts +0 -53
  20. package/types/components/tek-grid/filter-dynamic-values.d.ts +0 -9
  21. package/types/components/tek-grid/grid-controller.d.ts +0 -19
  22. package/types/components/tek-grid/grid_column.d.ts +0 -14
  23. package/types/components/tek-grid/grid_controller.d.ts +0 -15
  24. package/types/components/tek-grid/tek-grid.d.ts +0 -35
  25. package/types/components/tek-login/interfaces.d.ts +0 -3
  26. package/types/components/tek-login/login-children.d.ts +0 -3
  27. package/types/components/tek-login/login.d.ts +0 -58
  28. package/types/components/tek-login/login_children.d.ts +0 -3
@@ -32,7 +32,7 @@
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">100% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>717/717</span>
35
+ <span class='fraction'>719/719</span>
36
36
  </div>
37
37
 
38
38
 
@@ -191,7 +191,7 @@
191
191
  <td data-value="100" class="pct high">100%</td>
192
192
  <td data-value="781" class="abs high">781/781</td>
193
193
  <td data-value="100" class="pct high">100%</td>
194
- <td data-value="343" class="abs high">343/343</td>
194
+ <td data-value="345" class="abs high">345/345</td>
195
195
  <td data-value="100" class="pct high">100%</td>
196
196
  <td data-value="167" class="abs high">167/167</td>
197
197
  <td data-value="100" class="pct high">100%</td>
@@ -416,7 +416,7 @@
416
416
  <div class='footer quiet pad2 space-top1 center small'>
417
417
  Code coverage generated by
418
418
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
419
- at 2025-03-19T19:53:27.466Z
419
+ at 2025-03-20T20:02:53.098Z
420
420
  </div>
421
421
  <script src="prettify.js"></script>
422
422
  <script>
@@ -85,7 +85,7 @@ export { setClick };
85
85
  <div class='footer quiet pad2 space-top1 center small'>
86
86
  Code coverage generated by
87
87
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
88
- at 2025-03-19T19:53:27.466Z
88
+ at 2025-03-20T20:02:53.098Z
89
89
  </div>
90
90
  <script src="../../prettify.js"></script>
91
91
  <script>
@@ -79,7 +79,7 @@ export { flushPromises };
79
79
  <div class='footer quiet pad2 space-top1 center small'>
80
80
  Code coverage generated by
81
81
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
82
- at 2025-03-19T19:53:27.466Z
82
+ at 2025-03-20T20:02:53.098Z
83
83
  </div>
84
84
  <script src="../../prettify.js"></script>
85
85
  <script>
@@ -151,7 +151,7 @@ export { getChild };
151
151
  <div class='footer quiet pad2 space-top1 center small'>
152
152
  Code coverage generated by
153
153
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
154
- at 2025-03-19T19:53:27.466Z
154
+ at 2025-03-20T20:02:53.098Z
155
155
  </div>
156
156
  <script src="../../prettify.js"></script>
157
157
  <script>
@@ -161,7 +161,7 @@
161
161
  <div class='footer quiet pad2 space-top1 center small'>
162
162
  Code coverage generated by
163
163
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
164
- at 2025-03-19T19:53:27.466Z
164
+ at 2025-03-20T20:02:53.098Z
165
165
  </div>
166
166
  <script src="../../prettify.js"></script>
167
167
  <script>
@@ -79,7 +79,7 @@ export * from './mock-created-helper';
79
79
  <div class='footer quiet pad2 space-top1 center small'>
80
80
  Code coverage generated by
81
81
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
82
- at 2025-03-19T19:53:27.466Z
82
+ at 2025-03-20T20:02:53.098Z
83
83
  </div>
84
84
  <script src="../../prettify.js"></script>
85
85
  <script>
@@ -106,7 +106,7 @@ export { mockCreated };
106
106
  <div class='footer quiet pad2 space-top1 center small'>
107
107
  Code coverage generated by
108
108
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
109
- at 2025-03-19T19:53:27.466Z
109
+ at 2025-03-20T20:02:53.098Z
110
110
  </div>
111
111
  <script src="../../prettify.js"></script>
112
112
  <script>
@@ -2148,70 +2148,72 @@ BRDA:897,65,0,22
2148
2148
  BRDA:897,65,1,22
2149
2149
  BRDA:897,65,2,18
2150
2150
  BRDA:906,66,0,20
2151
- BRDA:928,67,0,39
2152
- BRDA:928,67,1,12
2153
- BRDA:928,67,2,12
2154
- BRDA:934,68,0,8
2155
- BRDA:939,69,0,1
2156
- BRDA:939,70,0,16
2157
- BRDA:939,70,1,1
2158
- BRDA:945,71,0,2
2159
- BRDA:945,72,0,15
2160
- BRDA:945,72,1,15
2161
- BRDA:948,73,0,5
2162
- BRDA:948,73,1,8
2163
- BRDA:951,74,0,12
2164
- BRDA:952,75,0,12
2165
- BRDA:952,75,1,6
2166
- BRDA:954,76,0,22
2167
- BRDA:954,76,1,15
2168
- BRDA:959,77,0,7
2169
- BRDA:959,78,0,13
2170
- BRDA:959,78,1,11
2171
- BRDA:959,78,2,6
2172
- BRDA:968,79,0,4
2173
- BRDA:973,80,0,1
2174
- BRDA:973,81,0,11
2175
- BRDA:973,81,1,1
2176
- BRDA:979,82,0,1
2177
- BRDA:979,83,0,10
2178
- BRDA:979,83,1,10
2179
- BRDA:983,84,0,5
2180
- BRDA:983,84,1,4
2181
- BRDA:986,85,0,6
2182
- BRDA:987,86,0,6
2183
- BRDA:987,86,1,3
2184
- BRDA:989,87,0,10
2185
- BRDA:989,87,1,7
2186
- BRDA:992,88,0,1
2187
- BRDA:996,89,0,6
2188
- BRDA:996,90,0,9
2189
- BRDA:996,90,1,8
2190
- BRDA:996,90,2,3
2191
- BRDA:1006,91,0,1
2192
- BRDA:1006,92,0,3
2193
- BRDA:1006,92,1,1
2194
- BRDA:1011,93,0,1
2195
- BRDA:1011,94,0,2
2196
- BRDA:1011,94,1,2
2151
+ BRDA:914,67,0,3
2152
+ BRDA:914,68,0,5
2153
+ BRDA:928,69,0,39
2154
+ BRDA:928,69,1,12
2155
+ BRDA:928,69,2,12
2156
+ BRDA:934,70,0,8
2157
+ BRDA:939,71,0,1
2158
+ BRDA:939,72,0,16
2159
+ BRDA:939,72,1,1
2160
+ BRDA:945,73,0,2
2161
+ BRDA:945,74,0,15
2162
+ BRDA:945,74,1,15
2163
+ BRDA:948,75,0,5
2164
+ BRDA:948,75,1,8
2165
+ BRDA:951,76,0,12
2166
+ BRDA:952,77,0,12
2167
+ BRDA:952,77,1,6
2168
+ BRDA:954,78,0,22
2169
+ BRDA:954,78,1,15
2170
+ BRDA:959,79,0,7
2171
+ BRDA:959,80,0,13
2172
+ BRDA:959,80,1,11
2173
+ BRDA:959,80,2,6
2174
+ BRDA:968,81,0,4
2175
+ BRDA:973,82,0,1
2176
+ BRDA:973,83,0,11
2177
+ BRDA:973,83,1,1
2178
+ BRDA:979,84,0,1
2179
+ BRDA:979,85,0,10
2180
+ BRDA:979,85,1,10
2181
+ BRDA:983,86,0,5
2182
+ BRDA:983,86,1,4
2183
+ BRDA:986,87,0,6
2184
+ BRDA:987,88,0,6
2185
+ BRDA:987,88,1,3
2186
+ BRDA:989,89,0,10
2187
+ BRDA:989,89,1,7
2188
+ BRDA:992,90,0,1
2189
+ BRDA:996,91,0,6
2190
+ BRDA:996,92,0,9
2191
+ BRDA:996,92,1,8
2192
+ BRDA:996,92,2,3
2193
+ BRDA:1006,93,0,1
2194
+ BRDA:1006,94,0,3
2195
+ BRDA:1006,94,1,1
2197
2196
  BRDA:1011,95,0,1
2198
- BRDA:1011,95,1,1
2199
2197
  BRDA:1011,96,0,2
2200
2198
  BRDA:1011,96,1,2
2201
- BRDA:1022,97,0,2
2202
- BRDA:1022,98,0,3
2203
- BRDA:1022,98,1,2
2204
- BRDA:1037,99,0,1
2205
- BRDA:1052,100,0,1
2206
- BRDA:1077,101,0,1
2207
- BRDA:1094,102,0,1
2208
- BRDA:1119,103,0,1
2209
- BRDA:1119,103,1,1
2210
- BRDA:1147,104,0,12
2211
- BRDA:1147,104,1,10
2212
- BRDA:1147,104,2,2
2213
- BRF:164
2214
- BRH:164
2199
+ BRDA:1011,97,0,1
2200
+ BRDA:1011,97,1,1
2201
+ BRDA:1011,98,0,2
2202
+ BRDA:1011,98,1,2
2203
+ BRDA:1022,99,0,2
2204
+ BRDA:1022,100,0,3
2205
+ BRDA:1022,100,1,2
2206
+ BRDA:1037,101,0,1
2207
+ BRDA:1052,102,0,1
2208
+ BRDA:1077,103,0,1
2209
+ BRDA:1094,104,0,1
2210
+ BRDA:1119,105,0,1
2211
+ BRDA:1119,105,1,1
2212
+ BRDA:1147,106,0,12
2213
+ BRDA:1147,106,1,10
2214
+ BRDA:1147,106,2,2
2215
+ BRF:166
2216
+ BRH:166
2215
2217
  end_of_record
2216
2218
  TN:
2217
2219
  SF:src/components/tek-grid/interfaces.ts
@@ -2769,8 +2769,8 @@ class TekGrid extends GridEditable {
2769
2769
  const groupValue = groupColumn.formatterByRow(row, cellProps);
2770
2770
  return groupValue;
2771
2771
  }
2772
- getEditedRows() {
2773
- return super.getEditedRows().map((row) => {
2772
+ getEditedRows(revalidate = false, silent = false) {
2773
+ return super.getEditedRows(revalidate, silent).map((row) => {
2774
2774
  const cleanRow = Object.assign({}, row);
2775
2775
  delete cleanRow.groupHeaders;
2776
2776
  return cleanRow;
@@ -2773,8 +2773,8 @@
2773
2773
  const groupValue = groupColumn.formatterByRow(row, cellProps);
2774
2774
  return groupValue;
2775
2775
  }
2776
- getEditedRows() {
2777
- return super.getEditedRows().map((row) => {
2776
+ getEditedRows(revalidate = false, silent = false) {
2777
+ return super.getEditedRows(revalidate, silent).map((row) => {
2778
2778
  const cleanRow = Object.assign({}, row);
2779
2779
  delete cleanRow.groupHeaders;
2780
2780
  return cleanRow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/teknisa-components-common",
3
- "version": "1.105.1",
3
+ "version": "1.105.2",
4
4
  "description": "Teknisa Components Common",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -32,5 +32,5 @@
32
32
  "peerDependencies": {
33
33
  "@zeedhi/core": "^1.97.0"
34
34
  },
35
- "gitHead": "846a17a12144e941bec933012885c3ee7d495ee6"
35
+ "gitHead": "c024289c41951feb0777d9bc1dee1a532cc78a1b"
36
36
  }
@@ -138,7 +138,7 @@ export declare class TekGrid extends GridEditable implements ITekGrid {
138
138
  openGroup(group: IDictionary<any>): void;
139
139
  isItemVisible(row: IDictionary<any>): any;
140
140
  private getGroupValue;
141
- getEditedRows(): {
141
+ getEditedRows(revalidate?: boolean, silent?: boolean): {
142
142
  [x: string]: any;
143
143
  }[];
144
144
  setSearch(search: string): Promise<any>;
@@ -1,53 +0,0 @@
1
- declare const defaultIcons: {
2
- columnGroupOpened: string;
3
- columnGroupClosed: string;
4
- columnSelectClosed: string;
5
- columnSelectOpen: string;
6
- columnSelectIndeterminate: string;
7
- columnMovePin: string;
8
- columnMoveHide: string;
9
- columnMoveMove: string;
10
- columnMoveLeft: string;
11
- columnMoveRight: string;
12
- columnMoveGroup: string;
13
- columnMoveValue: string;
14
- dropNotAllowed: string;
15
- groupContracted: string;
16
- groupExpanded: string;
17
- chart: string;
18
- close: string;
19
- cancel: string;
20
- check: string;
21
- first: string;
22
- previous: string;
23
- next: string;
24
- last: string;
25
- linked: string;
26
- unlinked: string;
27
- colorPicker: string;
28
- groupLoading: string;
29
- menu: string;
30
- filter: string;
31
- columns: string;
32
- maximize: string;
33
- minimize: string;
34
- menuPin: string;
35
- menuValue: string;
36
- menuAddRowGroup: string;
37
- menuRemoveRowGroup: string;
38
- clipboardCopy: string;
39
- clipboardPaste: string;
40
- rowGroupPanel: string;
41
- valuePanel: string;
42
- columnDrag: string;
43
- rowDrag: string;
44
- save: string;
45
- smallDown: string;
46
- smallLeft: string;
47
- smallRight: string;
48
- smallUp: string;
49
- sortAscending: string;
50
- sortDescending: string;
51
- sortUnSort: string;
52
- };
53
- export default defaultIcons;
@@ -1,9 +0,0 @@
1
- import { IIterable } from '@zeedhi/common';
2
- import { IDictionary } from '@zeedhi/core';
3
- export interface ITekAgGrid extends IIterable {
4
- dense?: boolean;
5
- frameworkComponents?: IDictionary;
6
- gridOptions?: IDictionary;
7
- height?: string | number;
8
- icons?: IDictionary<string>;
9
- }
@@ -1,35 +0,0 @@
1
- import { Iterable } from '@zeedhi/common';
2
- import { IDictionary } from '@zeedhi/core';
3
- import { ITekAgGrid } from './interfaces';
4
- /** Grid Component */
5
- export declare class TekAgGrid extends Iterable implements ITekAgGrid {
6
- cssClass: string;
7
- dense: boolean;
8
- frameworkComponents: IDictionary;
9
- gridOptions: IDictionary;
10
- height: string | number;
11
- icons: IDictionary<string>;
12
- gridComponent: any;
13
- /**
14
- * Creates a new AgGrid.
15
- * @param props AgGrid properties
16
- */
17
- constructor(props: ITekAgGrid);
18
- private createOptionsAccessors;
19
- private setAccessor;
20
- /**
21
- * Reload dataset
22
- */
23
- reload(): Promise<any>;
24
- /**
25
- * Compares two dates
26
- * @param date1
27
- * @param date2
28
- * @param format
29
- * @returns -1 if date1 after date2
30
- * @returns 0 if date1 equal date2
31
- * @returns 1 if date1 before date2
32
- */
33
- dateComparator(date1: string | Date, date2: string | Date, format?: string): 1 | -1 | 0;
34
- private getDateAsString;
35
- }
@@ -1,94 +0,0 @@
1
- import { IDatasource, IDictionary, RestDatasource } from '@zeedhi/core';
2
- import { IDynamicFilterItem, ITekRestDatasource } from './interfaces';
3
- export declare class TekRestDatasource extends RestDatasource implements ITekRestDatasource {
4
- /** Dynamic filter data */
5
- dynamicFilter: IDictionary<IDynamicFilterItem[]>;
6
- /** Search Join data */
7
- searchJoin: IDictionary<Array<string | number>>;
8
- /**
9
- * URL reserved keys
10
- */
11
- protected reservedKeys: IDictionary<boolean>;
12
- /**
13
- * Dynamic Filter Operations
14
- */
15
- dynamicFilterOperations: IDictionary<boolean>;
16
- /**
17
- * Dynamic Filter Relations
18
- */
19
- dynamicFilterRelations: IDictionary<boolean>;
20
- /**
21
- * Dynamic Filter applied flag
22
- */
23
- protected dynamicFilterApplied: string;
24
- /**
25
- * Create new datasource
26
- * @param props Datasource properties
27
- */
28
- constructor(props: ITekRestDatasource);
29
- protected updateInternalProperties(datasource?: IDatasource): void;
30
- protected getEncodedParam(urlParam: string, datasourceParam?: IDictionary<any>): IDictionary<any>;
31
- protected getQueryStringValues(): IDictionary<any>;
32
- protected getUrlQueryString(): string;
33
- /**
34
- * Adds a new dynamic filter position or replace if exists
35
- * @param column Dynamic Filter column name
36
- * @param value Dynamic Filter value
37
- * @returns Promise with data collection
38
- */
39
- addDynamicFilter(column: string, value: any): Promise<any>;
40
- /**
41
- * Removes a dynamic filter position
42
- * @param column Dynamic Filter column name
43
- * @returns Promise with data collection
44
- */
45
- removeDynamicFilter(column: string): Promise<any>;
46
- /**
47
- * Sets new dynamic filter value
48
- * @param filter Dynamic Filter value
49
- * @returns Promise with data collection
50
- */
51
- setDynamicFilter(filter: IDictionary<any>): Promise<any>;
52
- /**
53
- * Clears Dynamic filter value
54
- * @returns Promise with data collection
55
- */
56
- clearDynamicFilter(): Promise<any>;
57
- /**
58
- * Resets page and selected rows and tries to update the url
59
- * @returns Promise with data collection
60
- */
61
- protected updateDynamicFilter(): Promise<any>;
62
- /**
63
- * Checks if a filter value is valid
64
- * @param value Filter value
65
- * @returns Is valid filter value
66
- */
67
- protected isValidDynamicFilterValue(column: string, value?: IDictionary<any>[]): boolean | undefined;
68
- /**
69
- * Retrieves request params
70
- */
71
- protected getRequestParams(): any;
72
- clone(): {
73
- dynamicFilter: IDictionary<IDynamicFilterItem[]>;
74
- searchJoin: IDictionary<(string | number)[]>;
75
- type: string;
76
- route?: string | undefined;
77
- lazyLoad?: boolean | undefined;
78
- arrayFormat?: "indices" | "brackets" | "repeat" | "comma" | undefined;
79
- find?: IDictionary<any> | undefined;
80
- currentRow?: IDictionary<any> | undefined;
81
- data?: IDictionary<any>[] | undefined;
82
- filter?: IDictionary<any> | undefined;
83
- limit?: string | number | undefined;
84
- loadAll?: boolean | undefined;
85
- loading?: boolean | undefined;
86
- order?: string[] | undefined;
87
- page?: string | number | undefined;
88
- search?: string | undefined;
89
- searchIn?: string[] | undefined;
90
- uniqueKey?: string | undefined;
91
- watchUrl?: boolean | undefined;
92
- events?: import("@zeedhi/core").IDatasourceEvents<import("@zeedhi/core").IEventParam<any>> | undefined;
93
- };
94
- }
@@ -1,53 +0,0 @@
1
- declare const defaultIcons: {
2
- columnGroupOpened: string;
3
- columnGroupClosed: string;
4
- columnSelectClosed: string;
5
- columnSelectOpen: string;
6
- columnSelectIndeterminate: string;
7
- columnMovePin: string;
8
- columnMoveHide: string;
9
- columnMoveMove: string;
10
- columnMoveLeft: string;
11
- columnMoveRight: string;
12
- columnMoveGroup: string;
13
- columnMoveValue: string;
14
- dropNotAllowed: string;
15
- groupContracted: string;
16
- groupExpanded: string;
17
- chart: string;
18
- close: string;
19
- cancel: string;
20
- check: string;
21
- first: string;
22
- previous: string;
23
- next: string;
24
- last: string;
25
- linked: string;
26
- unlinked: string;
27
- colorPicker: string;
28
- groupLoading: string;
29
- menu: string;
30
- filter: string;
31
- columns: string;
32
- maximize: string;
33
- minimize: string;
34
- menuPin: string;
35
- menuValue: string;
36
- menuAddRowGroup: string;
37
- menuRemoveRowGroup: string;
38
- clipboardCopy: string;
39
- clipboardPaste: string;
40
- rowGroupPanel: string;
41
- valuePanel: string;
42
- columnDrag: string;
43
- rowDrag: string;
44
- save: string;
45
- smallDown: string;
46
- smallLeft: string;
47
- smallRight: string;
48
- smallUp: string;
49
- sortAscending: string;
50
- sortDescending: string;
51
- sortUnSort: string;
52
- };
53
- export default defaultIcons;
@@ -1,9 +0,0 @@
1
- import { TekGridColumn } from '..';
2
- export declare class TekFilterDynamicValues {
3
- private static values;
4
- private static formatDate;
5
- static getLabel(name: string): string;
6
- static getValue(name: string, column: TekGridColumn): string | string[];
7
- static register(name: string, label: string, fn: () => Date | [Date, Date]): void;
8
- static unregister(name: string): void;
9
- }
@@ -1,19 +0,0 @@
1
- import { TekGrid } from './grid';
2
- export declare class TekGridController {
3
- private grid;
4
- constructor(grid: TekGrid);
5
- get gridTitle(): string;
6
- get showAddButton(): boolean;
7
- get showDeleteButton(): boolean;
8
- get showFilterButton(): boolean;
9
- get showColumnsButton(): boolean;
10
- get columnsButtonIgnore(): string[];
11
- get showLayoutOptions(): boolean;
12
- get showFirstDivider(): boolean;
13
- get showActionsButton(): boolean;
14
- get showExportButton(): boolean;
15
- get showActionAndExportButton(): boolean;
16
- get isEditing(): boolean;
17
- get isNotEditing(): boolean;
18
- get disableDeleteButton(): boolean;
19
- }
@@ -1,14 +0,0 @@
1
- import { GridColumnEditable } from '@zeedhi/common';
2
- import { ITekGridColumn } from './interfaces';
3
- /**
4
- * Base class for Grid column
5
- */
6
- export declare class TekGridColumn extends GridColumnEditable implements ITekGridColumn {
7
- filterProps: any;
8
- filterable: boolean;
9
- /**
10
- * Creates a new TekGrid Column.
11
- * @param props TekGrid column properties
12
- */
13
- constructor(props: ITekGridColumn);
14
- }
@@ -1,15 +0,0 @@
1
- import { TekGrid } from './grid';
2
- export declare class TekGridController {
3
- private grid;
4
- constructor(grid: TekGrid);
5
- get gridTitle(): string;
6
- get showAddButton(): boolean;
7
- get showDeleteButton(): boolean;
8
- get showFilterButton(): boolean;
9
- get showColumnsButton(): boolean;
10
- get showFirstDivider(): boolean;
11
- get showActionsButton(): boolean;
12
- get isEditing(): boolean;
13
- get isNotEditing(): boolean;
14
- get disableDeleteButton(): boolean;
15
- }
@@ -1,35 +0,0 @@
1
- import { Iterable } from '@zeedhi/common';
2
- import { IDictionary } from '@zeedhi/core';
3
- import { ITekGrid } from './interfaces';
4
- /** Grid Component */
5
- export declare class TekGrid extends Iterable implements ITekGrid {
6
- cssClass: string;
7
- dense: boolean;
8
- frameworkComponents: IDictionary;
9
- gridOptions: IDictionary;
10
- height: string | number;
11
- icons: IDictionary<string>;
12
- gridComponent: any;
13
- /**
14
- * Creates a new Grid.
15
- * @param props Grid properties
16
- */
17
- constructor(props: ITekGrid);
18
- private createOptionsAccessors;
19
- private setAccessor;
20
- /**
21
- * Reload dataset
22
- */
23
- reload(): Promise<any>;
24
- /**
25
- * Compares two dates
26
- * @param date1
27
- * @param date2
28
- * @param format
29
- * @returns -1 if date1 after date2
30
- * @returns 0 if date1 equal date2
31
- * @returns 1 if date1 before date2
32
- */
33
- dateComparator(date1: string | Date, date2: string | Date, format?: string): 1 | -1 | 0;
34
- private getDateAsString;
35
- }
@@ -1,3 +0,0 @@
1
- import { ILogin } from '@zeedhi/common';
2
- export interface ITekLogin extends ILogin {
3
- }
@@ -1,3 +0,0 @@
1
- import { IComponentRender } from '@zeedhi/common';
2
- import { TekLogin } from './login';
3
- export declare function getChildren(login: TekLogin): IComponentRender[];