@zeedhi/vuetify 1.67.0 → 1.69.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/zd-vuetify.esm.js +1725 -1764
- package/dist/zd-vuetify.umd.js +1759 -1793
- package/package.json +3 -2
- package/types/components/public.d.ts +8 -3
- package/types/components/zd-component/ZdComponent.d.ts +1 -0
- package/types/components/zd-dashboard/ZdDashboard.d.ts +1 -0
- package/types/components/zd-form/ZdForm.d.ts +9 -0
- package/types/components/zd-grid/ZdGrid.d.ts +7 -1
- package/types/components/zd-grid/ZdGridEditable.d.ts +5 -0
- package/types/components/zd-grid/subcomponents/ZdGridFooter.d.ts +6 -0
- package/types/components/zd-grid/subcomponents/ZdGridTop.d.ts +6 -0
- package/types/components/zd-grid/subcomponents/cell/ZdGridAction.d.ts +12 -0
- package/types/components/zd-grid/subcomponents/cell/ZdGridCell.d.ts +15 -0
- package/types/components/zd-grid/subcomponents/cell/ZdGridCellContent.d.ts +20 -0
- package/types/components/zd-grid/subcomponents/cell/ZdGridCellEdit.d.ts +17 -0
- package/types/components/zd-input/ZdInput.d.ts +0 -1
- package/types/components/zd-menu/ZdMenu.d.ts +1 -0
- package/types/components/zd-textarea/ZdTextarea.d.ts +5 -0
- package/types/components/zd-tooltip/ZdTooltip.d.ts +1 -0
- package/types/components/zd-tree-grid/ZdTreeGrid.d.ts +2 -1
- package/types/components/zd-tree-grid/ZdTreeGridEditable.d.ts +5 -0
- package/types/components/zd-tree-grid/cell/ZdTreeGridCellContent.d.ts +10 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zeedhi/vuetify",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.69.0",
|
4
4
|
"description": "Zeedhi Components based on Vuetify",
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
6
6
|
"license": "ISC",
|
@@ -32,6 +32,7 @@
|
|
32
32
|
"sortablejs": "^1.13.0",
|
33
33
|
"vue-apexcharts": "^1.6.0",
|
34
34
|
"vue-class-component": "^7.2.6",
|
35
|
+
"vue-grid-layout": "^2.4.0",
|
35
36
|
"vue-property-decorator": "^9.1.2",
|
36
37
|
"vuetify": "^2.6.2"
|
37
38
|
},
|
@@ -50,5 +51,5 @@
|
|
50
51
|
"@types/prismjs": "^1.16.2",
|
51
52
|
"@types/sortablejs": "^1.10.6"
|
52
53
|
},
|
53
|
-
"gitHead": "
|
54
|
+
"gitHead": "95cc7b23c32718a39fb631fab1288fa15eebcbb4"
|
54
55
|
}
|
@@ -28,9 +28,14 @@ import ZdForm from './zd-form/ZdForm';
|
|
28
28
|
import ZdFrame from './zd-frame/ZdFrame';
|
29
29
|
import ZdFramePage from './zd-frame-page/ZdFramePage';
|
30
30
|
import ZdGrid from './zd-grid/ZdGrid';
|
31
|
-
import ZdGridFooter from './zd-grid/ZdGridFooter';
|
31
|
+
import ZdGridFooter from './zd-grid/subcomponents/ZdGridFooter';
|
32
32
|
import ZdIterableNoData from './zd-iterable/zd-iterable-no-data/ZdIterableNoData';
|
33
|
-
import ZdGridTop from './zd-grid/ZdGridTop';
|
33
|
+
import ZdGridTop from './zd-grid/subcomponents/ZdGridTop';
|
34
|
+
import ZdGridAction from './zd-grid/subcomponents/cell/ZdGridAction';
|
35
|
+
import ZdGridCell from './zd-grid/subcomponents/cell/ZdGridCell';
|
36
|
+
import ZdGridCellContent from './zd-grid/subcomponents/cell/ZdGridCellContent';
|
37
|
+
import ZdGridCellEdit from './zd-grid/subcomponents/cell/ZdGridCellEdit';
|
38
|
+
import ZdTreeGridCellContent from './zd-tree-grid/cell/ZdTreeGridCellContent';
|
34
39
|
import ZdGridEditable from './zd-grid/ZdGridEditable';
|
35
40
|
import ZdHeader from './zd-header/ZdHeader';
|
36
41
|
import ZdImage from './zd-image/ZdImage';
|
@@ -84,4 +89,4 @@ import ZdTooltip from './zd-tooltip/ZdTooltip';
|
|
84
89
|
import ZdTree from './zd-tree/ZdTree';
|
85
90
|
import ZdTreeGrid from './zd-tree-grid/ZdTreeGrid';
|
86
91
|
import ZdTreeGridEditable from './zd-tree-grid/ZdTreeGridEditable';
|
87
|
-
export { ZdAlert, ZdApexChart, ZdBadge, ZdBreadcrumbs, ZdButton, ZdButtonGroup, ZdCard, ZdCarousel, ZdCheckbox, ZdCheckboxMultiple, ZdChip, ZdCodeEditor, ZdCol, ZdCollapseCard, ZdComponent, ZdComponentRender, ZdContainer, ZdCurrency, ZdDashboard, ZdDate, ZdDateRange, ZdDialog, ZdDivider, ZdDropdown, ZdFileInput, ZdFooter, ZdForm, ZdFrame, ZdFramePage, ZdGrid, ZdGridFooter, ZdGridEditable, ZdIterableNoData, ZdGridTop, ZdHeader, ZdImage, ZdIncrement, ZdInput, ZdIterable, ZdIterableComponentRender, ZdIterableColumnsButton, ZdIterablePagination, ZdIterablePageSize, ZdIterablePageInfo, ZdList, ZdListItem, ZdListGroup, ZdLoading, ZdLogin, ZdLoginButton, ZdMasterDetail, ZdMenu, ZdMenuLink, ZdMenuGroup, ZdMenuButton, ZdMenuSeparator, ZdModal, ZdModalCloseButton, ZdMonth, ZdNumber, ZdPassword, ZdProgress, ZdRadio, ZdRangeSlider, ZdRow, ZdSearch, ZdSelectableList, ZdSelect, ZdSelectTree, ZdSelectTreeMultiple, ZdSpeedDial, ZdSteppers, ZdSvgMap, ZdSwitch, ZdTable, ZdTabs, ZdTag, ZdText, ZdTextarea, ZdTextInput, ZdTime, ZdToggleable, ZdTooltip, ZdTree, ZdTreeGrid, ZdTreeGridEditable, };
|
92
|
+
export { ZdAlert, ZdApexChart, ZdBadge, ZdBreadcrumbs, ZdButton, ZdButtonGroup, ZdCard, ZdCarousel, ZdCheckbox, ZdCheckboxMultiple, ZdChip, ZdCodeEditor, ZdCol, ZdCollapseCard, ZdComponent, ZdComponentRender, ZdContainer, ZdCurrency, ZdDashboard, ZdDate, ZdDateRange, ZdDialog, ZdDivider, ZdDropdown, ZdFileInput, ZdFooter, ZdForm, ZdFrame, ZdFramePage, ZdGrid, ZdGridFooter, ZdGridEditable, ZdIterableNoData, ZdGridTop, ZdGridAction, ZdGridCell, ZdGridCellContent, ZdGridCellEdit, ZdTreeGridCellContent, ZdHeader, ZdImage, ZdIncrement, ZdInput, ZdIterable, ZdIterableComponentRender, ZdIterableColumnsButton, ZdIterablePagination, ZdIterablePageSize, ZdIterablePageInfo, ZdList, ZdListItem, ZdListGroup, ZdLoading, ZdLogin, ZdLoginButton, ZdMasterDetail, ZdMenu, ZdMenuLink, ZdMenuGroup, ZdMenuButton, ZdMenuSeparator, ZdModal, ZdModalCloseButton, ZdMonth, ZdNumber, ZdPassword, ZdProgress, ZdRadio, ZdRangeSlider, ZdRow, ZdSearch, ZdSelectableList, ZdSelect, ZdSelectTree, ZdSelectTreeMultiple, ZdSpeedDial, ZdSteppers, ZdSvgMap, ZdSwitch, ZdTable, ZdTabs, ZdTag, ZdText, ZdTextarea, ZdTextInput, ZdTime, ZdToggleable, ZdTooltip, ZdTree, ZdTreeGrid, ZdTreeGridEditable, };
|
@@ -7,6 +7,7 @@ export default class ZdDashboard extends ZdComponentRender {
|
|
7
7
|
cards: IDashboard[];
|
8
8
|
editingMode: boolean | string;
|
9
9
|
moveMode: boolean | string;
|
10
|
+
showEditHeader: boolean | string;
|
10
11
|
overrideNamedProps: object;
|
11
12
|
removePadding: boolean | string;
|
12
13
|
height: number | string;
|
@@ -11,8 +11,17 @@ export default class ZdForm extends ZdComponentRender {
|
|
11
11
|
value: IDictionary<any>;
|
12
12
|
instance: Form;
|
13
13
|
instanceType: typeof Form;
|
14
|
+
/**
|
15
|
+
* Height of the form rows, excluding the fillHeight row
|
16
|
+
*/
|
17
|
+
inputHeight: number;
|
14
18
|
private form;
|
19
|
+
private row;
|
15
20
|
mounted(): void;
|
21
|
+
destroyed(): void;
|
22
|
+
onResize(): void;
|
23
|
+
updateFillHeight(): void;
|
24
|
+
get hasFillHeight(): boolean;
|
16
25
|
submit(event: Event): void;
|
17
26
|
isChildVisible(childProps: IComponent): boolean;
|
18
27
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Grid, IComponentRender, GridColumn, Column } from '@zeedhi/common';
|
1
|
+
import { Grid, IComponentRender, GridColumn, Column, IComponent } from '@zeedhi/common';
|
2
2
|
import { IDictionary } from '@zeedhi/core';
|
3
3
|
import ZdIterable from '../zd-iterable/ZdIterable';
|
4
4
|
/**
|
@@ -58,6 +58,7 @@ export default class ZdGrid extends ZdIterable {
|
|
58
58
|
private resizeMouseUpHandler;
|
59
59
|
getParentsPadding(element: HTMLElement): number;
|
60
60
|
getElementFullHeight(element: HTMLElement | any): number;
|
61
|
+
getActionComponent(actionComponent: IComponent, column: GridColumn, row: IDictionary): IComponent;
|
61
62
|
rowClick(row: IDictionary<any>, event: Event): void;
|
62
63
|
selectRowClick(row: IDictionary<any>, isSelected: boolean, event: Event): void;
|
63
64
|
selectAllClick(isSelected: boolean, event: Event): void;
|
@@ -78,4 +79,9 @@ export default class ZdGrid extends ZdIterable {
|
|
78
79
|
};
|
79
80
|
checkOverflow(event: MouseEvent, columnOverflow: number | string): void;
|
80
81
|
removeTooltip(): void;
|
82
|
+
getWidthStyle(column: Column): {
|
83
|
+
width: string;
|
84
|
+
'min-width': string;
|
85
|
+
'max-width': string;
|
86
|
+
};
|
81
87
|
}
|
@@ -39,4 +39,9 @@ export default class ZdGridEditable extends ZdGrid {
|
|
39
39
|
private navigateUp;
|
40
40
|
private navigateDown;
|
41
41
|
hasToggleIcon(column: Column, row: IDictionary<any>): boolean;
|
42
|
+
getWidthStyle(column: Column): {
|
43
|
+
width: string;
|
44
|
+
'min-width': string;
|
45
|
+
'max-width': string;
|
46
|
+
};
|
42
47
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import Vue from 'vue';
|
2
|
+
import { GridColumn } from '@zeedhi/common';
|
3
|
+
import { IDictionary } from '@zeedhi/core';
|
4
|
+
/**
|
5
|
+
* Grid action component
|
6
|
+
*/
|
7
|
+
export default class ZdGridAction extends Vue {
|
8
|
+
column?: GridColumn;
|
9
|
+
row?: IDictionary<any>;
|
10
|
+
getActionComponent?: Function;
|
11
|
+
rowKey?: string | number;
|
12
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import Vue from 'vue';
|
2
|
+
import { Column } from '@zeedhi/common';
|
3
|
+
import { IDictionary } from '@zeedhi/core';
|
4
|
+
/**
|
5
|
+
* Grid cell component
|
6
|
+
*/
|
7
|
+
export default class ZdGridCell extends Vue {
|
8
|
+
column?: Column;
|
9
|
+
rowStyle?: IDictionary<any>;
|
10
|
+
cellsApplied?: IDictionary<any>;
|
11
|
+
cellClass?: (IDictionary<boolean> | string)[];
|
12
|
+
cellStyle?: IDictionary[];
|
13
|
+
click(event: Event): void;
|
14
|
+
get cellProps(): {};
|
15
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import Vue from 'vue';
|
2
|
+
import { Column } from '@zeedhi/common';
|
3
|
+
import { IDictionary } from '@zeedhi/core';
|
4
|
+
/**
|
5
|
+
* Grid cell content component
|
6
|
+
*/
|
7
|
+
export default class ZdGridCellContent extends Vue {
|
8
|
+
column: Column;
|
9
|
+
rowStyle: IDictionary<any>;
|
10
|
+
cellsApplied: IDictionary<any>;
|
11
|
+
cssClass: (IDictionary<boolean> | string)[];
|
12
|
+
row: IDictionary<any>;
|
13
|
+
getWidthStyle: Function;
|
14
|
+
mouseenter(event: Event): void;
|
15
|
+
mouseleave(event: Event): void;
|
16
|
+
get cellProps(): {
|
17
|
+
[x: string]: any;
|
18
|
+
};
|
19
|
+
get formattedValue(): any;
|
20
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import Vue from 'vue';
|
2
|
+
import { Column } from '@zeedhi/common';
|
3
|
+
import { IDictionary } from '@zeedhi/core';
|
4
|
+
/**
|
5
|
+
* Grid cell Edit component
|
6
|
+
*/
|
7
|
+
export default class ZdGridCellEdit extends Vue {
|
8
|
+
column?: Column;
|
9
|
+
rowStyle?: IDictionary<any>;
|
10
|
+
cellsApplied?: IDictionary<any>;
|
11
|
+
isEdited?: boolean;
|
12
|
+
isValid?: boolean;
|
13
|
+
row?: IDictionary<any>;
|
14
|
+
getEditableComponent?: Function;
|
15
|
+
getWidthStyle?: Function;
|
16
|
+
get cellProps(): {};
|
17
|
+
}
|
@@ -5,6 +5,7 @@ import ZdComponentRender from '../zd-component/ZdComponentRender';
|
|
5
5
|
*/
|
6
6
|
export default class ZdMenu extends ZdComponentRender {
|
7
7
|
app: boolean | string;
|
8
|
+
absolute: boolean | string;
|
8
9
|
clipped: boolean | string;
|
9
10
|
fixed: boolean | string;
|
10
11
|
floating: boolean | string;
|
@@ -15,8 +15,13 @@ export default class ZdTextarea extends ZdTextInput {
|
|
15
15
|
rounded: boolean;
|
16
16
|
rowHeight: number | string;
|
17
17
|
rows: number | string;
|
18
|
+
height: string | number;
|
19
|
+
fillHeight: string | number | boolean;
|
18
20
|
instance: Textarea;
|
19
21
|
instanceType: typeof Textarea;
|
20
22
|
mounted(): void;
|
21
23
|
blur(event: Event): void;
|
24
|
+
get cssVars(): {
|
25
|
+
'--zd-textarea-height': string | number;
|
26
|
+
};
|
22
27
|
}
|
@@ -13,6 +13,7 @@ export default class ZdTooltip extends ZdComponentRender {
|
|
13
13
|
minWidth: number | string;
|
14
14
|
nudge: number | string;
|
15
15
|
openOnClick: boolean | string;
|
16
|
+
openOnFocus: boolean | string;
|
16
17
|
openOnHover: boolean | string;
|
17
18
|
right: boolean | string;
|
18
19
|
top: boolean | string;
|
@@ -9,11 +9,12 @@ export default class ZdTreeGrid extends ZdGrid {
|
|
9
9
|
openLevelOnLoad: string | number | boolean;
|
10
10
|
fetchOnDemand: string | boolean;
|
11
11
|
flat: string | boolean;
|
12
|
+
detach: boolean;
|
12
13
|
footerSlot: IComponentRender[];
|
13
14
|
instance: TreeGrid;
|
14
15
|
instanceType: typeof TreeGrid;
|
15
16
|
mounted(): void;
|
16
|
-
|
17
|
+
toggleExpand(row: IDictionary, rowIndex: number): Promise<void>;
|
17
18
|
checkSome(row: IDictionary<any>): boolean;
|
18
19
|
checkEvery(row: IDictionary<any>): any;
|
19
20
|
selectClick(index: number, isSelected: boolean, event: Event): void;
|
@@ -39,4 +39,9 @@ export default class ZdTreeGridEditable extends ZdTreeGrid {
|
|
39
39
|
private navigateUp;
|
40
40
|
private navigateDown;
|
41
41
|
hasToggleIcon(column: Column, row: IDictionary<any>): boolean;
|
42
|
+
getWidthStyle(column: Column): {
|
43
|
+
width: string;
|
44
|
+
'min-width': string;
|
45
|
+
'max-width': string;
|
46
|
+
};
|
42
47
|
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import ZdGridCellContent from '../../zd-grid/subcomponents/cell/ZdGridCellContent.vue';
|
2
|
+
export default class ZdTreeGridCellContent extends ZdGridCellContent {
|
3
|
+
headerIndex?: number;
|
4
|
+
selectable?: boolean;
|
5
|
+
toggleExpand?: Function;
|
6
|
+
rowIndex?: number;
|
7
|
+
search?: string;
|
8
|
+
expandClass?: string;
|
9
|
+
formatSearchResult(text: string): string;
|
10
|
+
}
|