@zeedhi/teknisa-components-vuetify 1.15.0 → 1.35.1
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/dist/tek-components-vuetify.esm.js +1586 -642
- package/dist/tek-components-vuetify.umd.js +1588 -644
- package/package.json +2 -2
- package/types/components/tek-grid/TekGrid.d.ts +3 -4
- package/types/components/tek-grid/TekGridColumnsButton.d.ts +2 -0
- package/types/components/tek-grid/TekGridColumnsOptionsController.d.ts +60 -0
- package/types/components/tek-grid/TekGridColumnsOptionsModal.d.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-components-vuetify",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.1",
|
|
4
4
|
"description": "Teknisa Components based on Vuetify",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"vue": "^2.6.12",
|
|
36
36
|
"vuetify": "^2.4.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "dfd234a35b5161eb50a265cedb46054831b30a75"
|
|
39
39
|
}
|
|
@@ -10,6 +10,7 @@ export default class TekGrid extends ZdGridEditable {
|
|
|
10
10
|
addButton: boolean | string;
|
|
11
11
|
deleteButton: 'none' | 'currentRow' | 'selection';
|
|
12
12
|
columnsButton: boolean | string;
|
|
13
|
+
columnsButtonIgnore: string[] | string;
|
|
13
14
|
filterButton: boolean | string;
|
|
14
15
|
columnFilterButton: boolean | string;
|
|
15
16
|
actions: IComponentRender[];
|
|
@@ -29,12 +30,9 @@ export default class TekGrid extends ZdGridEditable {
|
|
|
29
30
|
calcScrollData: (() => void) | undefined;
|
|
30
31
|
scrollData: any;
|
|
31
32
|
renderedData: any;
|
|
32
|
-
created(): void;
|
|
33
33
|
mounted(): void;
|
|
34
|
+
minimumColumnWidth(column?: TekGridColumn): any;
|
|
34
35
|
private onChangeLayout;
|
|
35
|
-
calcWidth(width: string): string;
|
|
36
|
-
calcColumnLabelWidth(column: TekGridColumn): string;
|
|
37
|
-
minimumColumnWidth: number;
|
|
38
36
|
getFilterActivatorEvents(on: any): any;
|
|
39
37
|
private debouncedDatasourceGet;
|
|
40
38
|
getFilterItemChange(prop: keyof IDynamicFilterItem, column: TekGridColumn, index: number): (__3: IEventParam<Select>) => void;
|
|
@@ -49,5 +47,6 @@ export default class TekGrid extends ZdGridEditable {
|
|
|
49
47
|
isCurrentRow(row: IDictionary<any>): boolean;
|
|
50
48
|
getVisibleData(): any;
|
|
51
49
|
getData(): any;
|
|
50
|
+
rowClick(row: IDictionary<any>, event: Event): void;
|
|
52
51
|
}
|
|
53
52
|
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Modal, Select } from '@zeedhi/common';
|
|
2
|
+
import { IDictionary, IEventParam } from '@zeedhi/core';
|
|
3
|
+
import { TekGridColumnsButton } from '@zeedhi/teknisa-components-common';
|
|
4
|
+
export default class TekGridColumnsOptionsController {
|
|
5
|
+
modal: Modal;
|
|
6
|
+
columnData: IDictionary<any>;
|
|
7
|
+
visibleColumns: IDictionary<any>[];
|
|
8
|
+
groupedColumns: IDictionary<any>[];
|
|
9
|
+
otherColumns: IDictionary<any>[];
|
|
10
|
+
aggregationData: IDictionary<any>[];
|
|
11
|
+
selectedColumnNames: string[];
|
|
12
|
+
searchValue: string;
|
|
13
|
+
private selectedColumnsAlignment?;
|
|
14
|
+
private selectedColumnsAggregation?;
|
|
15
|
+
private iterableComponent;
|
|
16
|
+
private instanceValue;
|
|
17
|
+
constructor(modal: Modal);
|
|
18
|
+
private updateArrays;
|
|
19
|
+
set instance(instance: TekGridColumnsButton);
|
|
20
|
+
private getAggregationText;
|
|
21
|
+
private columnInSearch;
|
|
22
|
+
get visibleColumnData(): any;
|
|
23
|
+
set visibleColumnData(_data: any);
|
|
24
|
+
get groupedColumnData(): any;
|
|
25
|
+
set groupedColumnData(_data: any);
|
|
26
|
+
get otherColumnData(): any;
|
|
27
|
+
set otherColumnData(_data: any);
|
|
28
|
+
get hasSelectedColumn(): boolean;
|
|
29
|
+
get hasNoSelectedColumn(): boolean;
|
|
30
|
+
get detailColumnName(): string;
|
|
31
|
+
get hasNoVisibleColumns(): boolean;
|
|
32
|
+
get hasNoGroupedColumns(): boolean;
|
|
33
|
+
get hasNoOtherColumns(): boolean;
|
|
34
|
+
get hasNoSingleSelection(): boolean;
|
|
35
|
+
get selectedColumnLabel(): string;
|
|
36
|
+
set selectedColumnLabel(value: string);
|
|
37
|
+
private getSameValue;
|
|
38
|
+
private setSameValue;
|
|
39
|
+
get groupInSelection(): boolean;
|
|
40
|
+
get notGroupInSelection(): boolean;
|
|
41
|
+
get selectedColumnGroupOpened(): any;
|
|
42
|
+
set selectedColumnGroupOpened(value: any);
|
|
43
|
+
selectMounted({ component }: IEventParam<Select>): void;
|
|
44
|
+
private updatingSelect;
|
|
45
|
+
selectChange({ component }: IEventParam<Select>): void;
|
|
46
|
+
private updateSelects;
|
|
47
|
+
private updateSelect;
|
|
48
|
+
private columnRemoveClick;
|
|
49
|
+
columnVisibleRemoveClick({ element }: IEventParam<any>): void;
|
|
50
|
+
columnGroupedRemoveClick({ element }: IEventParam<any>): void;
|
|
51
|
+
private isMacPlatform;
|
|
52
|
+
private isMobilePlatform;
|
|
53
|
+
columnClick({ element, event }: IEventParam<any>): void;
|
|
54
|
+
private removeFromSourceList;
|
|
55
|
+
private onDragEnd;
|
|
56
|
+
columnContainerMounted({ element }: IEventParam<Modal>): void;
|
|
57
|
+
selectAll({ component }: IEventParam<any>): void;
|
|
58
|
+
cancelChanges(): void;
|
|
59
|
+
applyChanges({ event, element }: IEventParam<any>): void;
|
|
60
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TekGridColumnsButton } from '@zeedhi/teknisa-components-common';
|
|
2
|
+
export default class TekGridColumnsOptionsModal {
|
|
3
|
+
private static controllerName;
|
|
4
|
+
private static modalDef;
|
|
5
|
+
private static modal;
|
|
6
|
+
private static controller;
|
|
7
|
+
static show(instance: TekGridColumnsButton): void;
|
|
8
|
+
static hide(): void;
|
|
9
|
+
}
|