@zeedhi/teknisa-components-common 1.43.0 → 1.44.0
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.
- package/coverage/clover.xml +527 -511
- package/coverage/coverage-final.json +7 -7
- package/coverage/lcov-report/index.html +15 -15
- package/coverage/lcov.info +1035 -982
- package/dist/tek-components-common.esm.js +47 -9
- package/dist/tek-components-common.umd.js +47 -9
- package/package.json +2 -2
- package/tests/unit/components/tek-grid/grid.spec.ts +95 -0
- package/tests/unit/utils/grid-base/grid-controller.spec.ts +106 -3
- package/types/components/tek-grid/grid-column.d.ts +4 -1
- package/types/components/tek-grid/grid.d.ts +1 -0
- package/types/components/tek-grid/interfaces.d.ts +2 -0
- package/types/components/tek-tree-grid/interfaces.d.ts +1 -0
- package/types/components/tek-tree-grid/tree-grid.d.ts +1 -0
- package/types/utils/grid-base/grid-base.d.ts +16 -31
- package/types/utils/grid-base/grid-controller.d.ts +7 -3
|
@@ -11,6 +11,7 @@ export declare class TekTreeGrid extends TreeGridEditable implements ITekTreeGri
|
|
|
11
11
|
deleteButton: 'none' | 'currentRow' | 'selection';
|
|
12
12
|
actions: IComponentRender[];
|
|
13
13
|
filterButton: boolean;
|
|
14
|
+
showSearch?: boolean;
|
|
14
15
|
columnFilterButton: boolean;
|
|
15
16
|
columnsButton: boolean;
|
|
16
17
|
columnsButtonIgnore: string[];
|
|
@@ -112,26 +112,6 @@ export declare class GridBase {
|
|
|
112
112
|
children?: undefined;
|
|
113
113
|
offsetY?: undefined;
|
|
114
114
|
activator?: undefined;
|
|
115
|
-
} | {
|
|
116
|
-
name: string;
|
|
117
|
-
component: string;
|
|
118
|
-
label: string;
|
|
119
|
-
bottom: boolean;
|
|
120
|
-
children: {
|
|
121
|
-
name: string;
|
|
122
|
-
component: string;
|
|
123
|
-
icon: boolean;
|
|
124
|
-
iconName: string;
|
|
125
|
-
isVisible: boolean;
|
|
126
|
-
events: {
|
|
127
|
-
click: () => void;
|
|
128
|
-
};
|
|
129
|
-
}[];
|
|
130
|
-
cssClass?: undefined;
|
|
131
|
-
vertical?: undefined;
|
|
132
|
-
isVisible?: undefined;
|
|
133
|
-
offsetY?: undefined;
|
|
134
|
-
activator?: undefined;
|
|
135
115
|
} | {
|
|
136
116
|
name: string;
|
|
137
117
|
component: string;
|
|
@@ -178,17 +158,6 @@ export declare class GridBase {
|
|
|
178
158
|
bottom?: undefined;
|
|
179
159
|
vertical?: undefined;
|
|
180
160
|
isVisible?: undefined;
|
|
181
|
-
} | {
|
|
182
|
-
name: string;
|
|
183
|
-
component: string;
|
|
184
|
-
cssClass: string;
|
|
185
|
-
vertical: boolean;
|
|
186
|
-
label?: undefined;
|
|
187
|
-
bottom?: undefined;
|
|
188
|
-
children?: undefined;
|
|
189
|
-
isVisible?: undefined;
|
|
190
|
-
offsetY?: undefined;
|
|
191
|
-
activator?: undefined;
|
|
192
161
|
})[];
|
|
193
162
|
cssClass?: undefined;
|
|
194
163
|
text?: undefined;
|
|
@@ -232,6 +201,21 @@ export declare class GridBase {
|
|
|
232
201
|
cssStyle?: undefined;
|
|
233
202
|
children?: undefined;
|
|
234
203
|
bottom?: undefined;
|
|
204
|
+
} | {
|
|
205
|
+
name: string;
|
|
206
|
+
component: string;
|
|
207
|
+
isVisible: string;
|
|
208
|
+
cssClass?: undefined;
|
|
209
|
+
tag?: undefined;
|
|
210
|
+
text?: undefined;
|
|
211
|
+
title?: undefined;
|
|
212
|
+
cssStyle?: undefined;
|
|
213
|
+
children?: undefined;
|
|
214
|
+
label?: undefined;
|
|
215
|
+
small?: undefined;
|
|
216
|
+
events?: undefined;
|
|
217
|
+
outline?: undefined;
|
|
218
|
+
bottom?: undefined;
|
|
235
219
|
} | {
|
|
236
220
|
name: string;
|
|
237
221
|
component: string;
|
|
@@ -266,6 +250,7 @@ export declare class GridBase {
|
|
|
266
250
|
private filterModal?;
|
|
267
251
|
private createFilterFromColumns;
|
|
268
252
|
hideFilterModal(): void;
|
|
253
|
+
private sortFilterIndex;
|
|
269
254
|
private getFilterModalComponents;
|
|
270
255
|
private getHelperValueComponent;
|
|
271
256
|
private createHelperValueOptions;
|
|
@@ -7,13 +7,17 @@ export declare class GridController {
|
|
|
7
7
|
get showAddButton(): boolean;
|
|
8
8
|
get showDeleteButton(): boolean;
|
|
9
9
|
get showFilterButton(): boolean;
|
|
10
|
+
get showSearchInput(): boolean | undefined;
|
|
11
|
+
get showReloadButton(): boolean;
|
|
12
|
+
get showDivider2(): boolean | undefined;
|
|
10
13
|
get showColumnsButton(): boolean;
|
|
11
14
|
get columnsButtonIgnore(): string[];
|
|
12
|
-
get
|
|
13
|
-
get
|
|
15
|
+
get showLayoutOptionsButton(): boolean;
|
|
16
|
+
get showDivider1(): boolean | undefined;
|
|
14
17
|
get showActionsButton(): boolean;
|
|
15
18
|
get showExportButton(): boolean;
|
|
16
|
-
get showActionAndExportButton(): boolean;
|
|
19
|
+
get showActionAndExportButton(): boolean | undefined;
|
|
20
|
+
get showDivider3(): boolean | undefined;
|
|
17
21
|
get isEditing(): boolean;
|
|
18
22
|
get isNotEditing(): boolean;
|
|
19
23
|
get disableDeleteButton(): boolean;
|