@zeedhi/teknisa-components-vuetify 1.38.0 → 1.42.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/dist/tek-components-vuetify.esm.js +2532 -429
- package/dist/tek-components-vuetify.umd.js +2541 -437
- package/package.json +2 -2
- package/types/components/public.d.ts +2 -1
- package/types/components/tek-grid/TekGrid.d.ts +18 -3
- package/types/components/tek-grid/TekGridColumnsButton.d.ts +1 -0
- package/types/components/tek-grid/TekGridColumnsOptionsController.d.ts +1 -0
- package/types/components/tek-loading/TekLoading.d.ts +9 -0
- package/types/components/tek-tree-grid/TekTreeGrid.d.ts +62 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-components-vuetify",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.42.0",
|
|
4
4
|
"description": "Teknisa Components based on Vuetify",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"vue": "^2.6.12",
|
|
40
40
|
"vuetify": "^2.4.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "ae7f292e78e052ab64f9d03afb7a5470d1f2e097"
|
|
43
43
|
}
|
|
@@ -11,4 +11,5 @@ import TekGridLayoutOptions from './tek-grid/TekGridLayoutOptions';
|
|
|
11
11
|
import TekImage from './tek-image/TekImage';
|
|
12
12
|
import TekIterableComponentRender from './tek-iterable-component-render/TekIterableComponentRender';
|
|
13
13
|
import TekProductCard from './tek-product-card/TekProductCard';
|
|
14
|
-
|
|
14
|
+
import TekTreeGrid from './tek-tree-grid/TekTreeGrid';
|
|
15
|
+
export { TekBreadcrumbHeader, TekCardTitle, TekCrudAddButton, TekCrudCancelButton, TekCrudDeleteButton, TekCrudForm, TekCrudSaveButton, TekGrid, TekGridColumnsButton, TekGridLayoutOptions, TekImage, TekProductCard, TekIterableComponentRender, TekTreeGrid, };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="lodash" />
|
|
2
|
+
import { TekGrid as TekGridClass, TekGridColumn, ITekGridExportConfig, IDynamicFilterItem, ITekGridGroupHeader } from '@zeedhi/teknisa-components-common';
|
|
2
3
|
import { IComponentRender, Select } from '@zeedhi/common';
|
|
3
4
|
import { IDictionary, IEventParam } from '@zeedhi/core';
|
|
4
5
|
declare const ZdGridEditable: import("vue").VueConstructor<import("vue-property-decorator").Vue>;
|
|
@@ -30,20 +31,27 @@ export default class TekGrid extends ZdGridEditable {
|
|
|
30
31
|
calcScrollData: (() => void) | undefined;
|
|
31
32
|
scrollData: any;
|
|
32
33
|
renderedData: any;
|
|
34
|
+
/**
|
|
35
|
+
* Left distance for each column
|
|
36
|
+
*/
|
|
37
|
+
fixedLeft: IDictionary<string>;
|
|
33
38
|
mounted(): void;
|
|
34
39
|
minimumColumnWidth(column?: TekGridColumn): any;
|
|
35
40
|
private onChangeLayout;
|
|
36
41
|
getFilterActivatorEvents(on: any, column: TekGridColumn): any;
|
|
37
42
|
private debouncedDatasourceGet;
|
|
38
43
|
getFilterItemChange(prop: keyof IDynamicFilterItem, column: TekGridColumn, index: number): (__3: IEventParam<Select>) => void;
|
|
39
|
-
getFilterValueChange(column: TekGridColumn, index: number): (__2: IEventParam<Select>) => void
|
|
44
|
+
getFilterValueChange(column: TekGridColumn, index: number): import("lodash").DebouncedFunc<(__2: IEventParam<Select>) => void>;
|
|
40
45
|
operationList: string;
|
|
46
|
+
private isOperationArrayValues;
|
|
41
47
|
getComponentType(index: number): "" | "ZdTextInput";
|
|
42
48
|
getComponentHint(index: number): "" | "TEKGRID_MULTIPLE_VALUE_HINT";
|
|
43
49
|
filterItemChange(prop: keyof IDynamicFilterItem, column: TekGridColumn, index: number, { component, event, element }: IEventParam<Select>): void;
|
|
44
50
|
private defaultOperation;
|
|
45
51
|
private defaultRelation;
|
|
46
52
|
private lastFilter;
|
|
53
|
+
private convertToDateFormat;
|
|
54
|
+
private checkDateValueFormat;
|
|
47
55
|
filterValueChange(column: TekGridColumn, index: number, { component, event, element }: IEventParam<Select>): void;
|
|
48
56
|
private clearHelperValues;
|
|
49
57
|
getColumnFilterOptions(column: TekGridColumn): any;
|
|
@@ -55,6 +63,13 @@ export default class TekGrid extends ZdGridEditable {
|
|
|
55
63
|
private tableHeader;
|
|
56
64
|
private tableBody;
|
|
57
65
|
private updateFixedColumns;
|
|
58
|
-
|
|
66
|
+
isGroupSelected(item: ITekGridGroupHeader): boolean;
|
|
67
|
+
isGroupSelectIndeterminate(item: ITekGridGroupHeader): boolean;
|
|
68
|
+
selectGroup(item: ITekGridGroupHeader, event: Event): void;
|
|
69
|
+
private selectGroupRowClick;
|
|
70
|
+
toggleSelectAll(): void;
|
|
71
|
+
get headers(): TekGridColumn[];
|
|
72
|
+
protected getColumnsDOMOrder(): TekGridColumn[];
|
|
73
|
+
protected resizeMouseMoveHandler(event: MouseEvent): void;
|
|
59
74
|
}
|
|
60
75
|
export {};
|
|
@@ -4,6 +4,7 @@ import { TekGridColumnsButton as TekGridColumnsButtonClass } from '@zeedhi/tekni
|
|
|
4
4
|
* TekGrid Columns Button component
|
|
5
5
|
*/
|
|
6
6
|
export default class TekGridColumnsButton extends ZdIterableColumnsButton {
|
|
7
|
+
hideGroups: boolean | string;
|
|
7
8
|
instance: TekGridColumnsButtonClass;
|
|
8
9
|
instanceType: typeof TekGridColumnsButtonClass;
|
|
9
10
|
menuIsOpened: boolean;
|
|
@@ -11,6 +11,7 @@ export default class TekGridColumnsOptionsController {
|
|
|
11
11
|
aggregationData: IDictionary<any>[];
|
|
12
12
|
selectedColumnNames: string[];
|
|
13
13
|
searchValue: string;
|
|
14
|
+
showGroups: boolean;
|
|
14
15
|
private selectedColumnsAlignment?;
|
|
15
16
|
private selectedColumnsAggregation?;
|
|
16
17
|
private iterableComponent;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Loading } from '@zeedhi/teknisa-components-common';
|
|
2
|
+
import { ZdLoading } from '@zeedhi/vuetify';
|
|
3
|
+
export default class TekLoading extends ZdLoading {
|
|
4
|
+
text: string;
|
|
5
|
+
image?: string;
|
|
6
|
+
zdIndex: number | string;
|
|
7
|
+
instance: Loading;
|
|
8
|
+
instanceType: typeof Loading;
|
|
9
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
2
|
+
import { TekTreeGrid as TekTreeGridClass, TekGridColumn, ITekGridExportConfig, IDynamicFilterItem } from '@zeedhi/teknisa-components-common';
|
|
3
|
+
import { IComponentRender, Select } from '@zeedhi/common';
|
|
4
|
+
import { IDictionary, IEventParam } from '@zeedhi/core';
|
|
5
|
+
declare const ZdTreeGridEditable: import("vue").VueConstructor<import("vue-property-decorator").Vue>;
|
|
6
|
+
/**
|
|
7
|
+
* TekGrid component
|
|
8
|
+
*/
|
|
9
|
+
export default class TekGrid extends ZdTreeGridEditable {
|
|
10
|
+
title: string;
|
|
11
|
+
addButton: boolean | string;
|
|
12
|
+
deleteButton: 'none' | 'currentRow' | 'selection';
|
|
13
|
+
columnsButton: boolean | string;
|
|
14
|
+
columnsButtonIgnore: string[] | string;
|
|
15
|
+
filterButton: boolean | string;
|
|
16
|
+
columnFilterButton: boolean | string;
|
|
17
|
+
actions: IComponentRender[];
|
|
18
|
+
dragColumns: boolean | string;
|
|
19
|
+
resizeColumns: boolean | string;
|
|
20
|
+
showLayoutOptions: boolean | string;
|
|
21
|
+
showExport: boolean | string;
|
|
22
|
+
showReload: boolean | string;
|
|
23
|
+
exportConfig: ITekGridExportConfig[];
|
|
24
|
+
exportActions: IComponentRender[];
|
|
25
|
+
toolbarSlot: IComponentRender[];
|
|
26
|
+
instance: TekTreeGridClass;
|
|
27
|
+
instanceType: typeof TekTreeGridClass;
|
|
28
|
+
private originalChangeLayout?;
|
|
29
|
+
calcScrollData: (() => void) | undefined;
|
|
30
|
+
scrollData: any;
|
|
31
|
+
renderedData: any;
|
|
32
|
+
mounted(): void;
|
|
33
|
+
minimumColumnWidth(column?: TekGridColumn): number;
|
|
34
|
+
private onChangeLayout;
|
|
35
|
+
getFilterActivatorEvents(on: any, column: TekGridColumn): any;
|
|
36
|
+
private debouncedDatasourceGet;
|
|
37
|
+
getFilterItemChange(prop: keyof IDynamicFilterItem, column: TekGridColumn, index: number): (__3: IEventParam<Select>) => void;
|
|
38
|
+
getFilterValueChange(column: TekGridColumn, index: number): import("lodash").DebouncedFunc<(__2: IEventParam<Select>) => void>;
|
|
39
|
+
operationList: string;
|
|
40
|
+
private isOperationArrayValues;
|
|
41
|
+
getComponentType(index: number): "" | "ZdTextInput";
|
|
42
|
+
getComponentHint(index: number): "" | "TEKGRID_MULTIPLE_VALUE_HINT";
|
|
43
|
+
filterItemChange(prop: keyof IDynamicFilterItem, column: TekGridColumn, index: number, { component, event, element }: IEventParam<Select>): void;
|
|
44
|
+
private defaultOperation;
|
|
45
|
+
private defaultRelation;
|
|
46
|
+
private lastFilter;
|
|
47
|
+
private convertToDateFormat;
|
|
48
|
+
private checkDateValueFormat;
|
|
49
|
+
filterValueChange(column: TekGridColumn, index: number, { component, event, element }: IEventParam<Select>): void;
|
|
50
|
+
private clearHelperValues;
|
|
51
|
+
getColumnFilterOptions(column: TekGridColumn): any;
|
|
52
|
+
isCurrentRow(row: IDictionary<any>): boolean;
|
|
53
|
+
getVisibleData(): any;
|
|
54
|
+
getData(): any;
|
|
55
|
+
rowClick(row: IDictionary<any>, event: Event): void;
|
|
56
|
+
orderHeaders(headers: TekGridColumn[]): TekGridColumn[];
|
|
57
|
+
private tableHeader;
|
|
58
|
+
private tableBody;
|
|
59
|
+
private updateFixedColumns;
|
|
60
|
+
getFixedLeft(column: TekGridColumn): string;
|
|
61
|
+
}
|
|
62
|
+
export {};
|