@zeedhi/vuetify 1.96.0 → 1.96.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.
- package/dist/zd-vuetify.esm.js +1398 -2012
- package/dist/zd-vuetify.umd.js +1438 -2049
- package/package.json +2 -2
- package/types/components/public.d.ts +4 -1
- package/types/components/zd-grid/ZdGrid.d.ts +2 -0
- package/types/components/zd-grid/subcomponents/cell/ZdGridCell.d.ts +5 -1
- package/types/components/zd-grid/subcomponents/cell/ZdGridEditableCell.d.ts +1 -6
- package/types/components/zd-grid/subcomponents/column-header/ZdGridColumnHeader.d.ts +19 -0
- package/types/components/zd-grid/subcomponents/column-header/ZdGridSortIcon.d.ts +8 -0
- package/types/components/zd-grid/subcomponents/helper/ZdGridHelper.d.ts +4 -0
- package/types/components/zd-number/ZdNumber.d.ts +1 -0
- package/types/components/zd-text-input/ZdTextInput.d.ts +2 -0
- package/types/mixins/editable-mixin/EditableMixin.d.ts +4 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zeedhi/vuetify",
|
3
|
-
"version": "1.96.
|
3
|
+
"version": "1.96.2",
|
4
4
|
"description": "Zeedhi Components based on Vuetify",
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
6
6
|
"license": "ISC",
|
@@ -51,5 +51,5 @@
|
|
51
51
|
"@types/prismjs": "1.26.*",
|
52
52
|
"@types/sortablejs": "1.15.*"
|
53
53
|
},
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "9ad36804413b4e2e3a98762448e8f70bad80f4b7"
|
55
55
|
}
|
@@ -37,6 +37,9 @@ import ZdGridCellContent from './zd-grid/subcomponents/cell/ZdGridCellContent';
|
|
37
37
|
import ZdGridCellEdit from './zd-grid/subcomponents/cell/ZdGridCellEdit';
|
38
38
|
import ZdGridEditableCell from './zd-grid/subcomponents/cell/ZdGridEditableCell';
|
39
39
|
import ZdGridEditableCellContent from './zd-grid/subcomponents/cell/ZdGridEditableCellContent';
|
40
|
+
import ZdGridHelper from './zd-grid/subcomponents/helper/ZdGridHelper';
|
41
|
+
import ZdGridColumnHeader from './zd-grid/subcomponents/column-header/ZdGridColumnHeader';
|
42
|
+
import ZdGridSortIcon from './zd-grid/subcomponents/column-header/ZdGridSortIcon';
|
40
43
|
import ZdGridRow from './zd-grid/subcomponents/cell/ZdGridRow';
|
41
44
|
import ZdGridCheckbox from './zd-grid/subcomponents/cell/ZdGridCheckbox';
|
42
45
|
import ZdTreeGridCellContent from './zd-tree-grid/cell/ZdTreeGridCellContent';
|
@@ -93,4 +96,4 @@ import ZdTooltip from './zd-tooltip/ZdTooltip';
|
|
93
96
|
import ZdTree from './zd-tree/ZdTree';
|
94
97
|
import ZdTreeGrid from './zd-tree-grid/ZdTreeGrid';
|
95
98
|
import ZdTreeGridEditable from './zd-tree-grid/ZdTreeGridEditable';
|
96
|
-
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, ZdGridEditableCell, ZdGridEditableCellContent, ZdGridRow, ZdGridCheckbox, 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, };
|
99
|
+
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, ZdGridEditableCell, ZdGridEditableCellContent, ZdGridHelper, ZdGridColumnHeader, ZdGridSortIcon, ZdGridRow, ZdGridCheckbox, 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, };
|
@@ -84,6 +84,8 @@ export default class ZdGrid extends ZdIterable {
|
|
84
84
|
selectAllClick(isSelected: boolean, event: Event): void;
|
85
85
|
cellClick(row: IDictionary<any>, column: GridColumn, event: Event): void;
|
86
86
|
cellFocus(row: IDictionary<any>, column: GridColumn): void;
|
87
|
+
protected currentCell: any;
|
88
|
+
cellFocusIn(params: any): void;
|
87
89
|
isCurrentRow(row: IDictionary<any>): boolean;
|
88
90
|
changeData(): void;
|
89
91
|
protected calcScrollData(): void;
|
@@ -5,7 +5,8 @@ import { IDictionary } from '@zeedhi/core';
|
|
5
5
|
* Grid cell component
|
6
6
|
*/
|
7
7
|
export default class ZdGridCell extends Vue {
|
8
|
-
|
8
|
+
row: IDictionary<any>;
|
9
|
+
column: Column;
|
9
10
|
rowStyle?: IDictionary<any>;
|
10
11
|
cellsApplied?: IDictionary<any>;
|
11
12
|
cellClass?: (IDictionary<boolean> | string)[];
|
@@ -17,4 +18,7 @@ export default class ZdGridCell extends Vue {
|
|
17
18
|
focusout(event: FocusEvent): void;
|
18
19
|
click(event: Event): void;
|
19
20
|
get cellProps(): {};
|
21
|
+
unsetAsCurrent(): void;
|
22
|
+
setAsCurrent(): void;
|
23
|
+
rowChange(): void;
|
20
24
|
}
|
@@ -1,14 +1,9 @@
|
|
1
|
-
import { Column } from '@zeedhi/common';
|
2
1
|
import { IDictionary } from '@zeedhi/core';
|
3
2
|
import ZdGridCell from './ZdGridCell';
|
4
3
|
/**
|
5
4
|
* Grid editable cell component
|
6
5
|
*/
|
7
6
|
export default class ZdGridEditableCell extends ZdGridCell {
|
8
|
-
column: Column;
|
9
|
-
rowStyle?: IDictionary<any>;
|
10
|
-
cellsApplied?: IDictionary<any>;
|
11
|
-
row: IDictionary<any>;
|
12
7
|
rowKey: string | number;
|
13
8
|
getEditableComponent: Function;
|
14
9
|
getWidthStyle: Function;
|
@@ -20,7 +15,6 @@ export default class ZdGridEditableCell extends ZdGridCell {
|
|
20
15
|
isCellEditable: Function;
|
21
16
|
canEdit: boolean;
|
22
17
|
cssClass: (IDictionary<boolean> | string)[];
|
23
|
-
cellSelection: boolean;
|
24
18
|
get cellProps(): {};
|
25
19
|
get editable(): any;
|
26
20
|
get tabindex(): 0 | "";
|
@@ -46,6 +40,7 @@ export default class ZdGridEditableCell extends ZdGridCell {
|
|
46
40
|
editing: boolean;
|
47
41
|
enterEdit(event?: Event): void;
|
48
42
|
leaveEdit(): void;
|
43
|
+
mousedown(event: Event): void;
|
49
44
|
click(event: Event): void;
|
50
45
|
focus(event: Event): void;
|
51
46
|
focusInput(): void;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import Vue from 'vue';
|
2
|
+
import { ColumnAlign } from '@zeedhi/common';
|
3
|
+
import { IDictionary } from '@zeedhi/core';
|
4
|
+
export default class ZdGridColumnHeader extends Vue {
|
5
|
+
action: boolean;
|
6
|
+
overflow: string | number;
|
7
|
+
helperText: string;
|
8
|
+
label: string;
|
9
|
+
columnAlign: ColumnAlign;
|
10
|
+
orderIndex: number;
|
11
|
+
showSort: boolean;
|
12
|
+
cssStyle: IDictionary;
|
13
|
+
resizeColumns: boolean;
|
14
|
+
click(event: Event): void;
|
15
|
+
labelMouseenter(event: Event): void;
|
16
|
+
labelMouseleave(event: Event): void;
|
17
|
+
resizeMousedown(event: Event): void;
|
18
|
+
resizeClick(event: Event): void;
|
19
|
+
}
|
@@ -6,6 +6,7 @@ import ZdInput from '../zd-input/ZdInput';
|
|
6
6
|
export default class ZdTextInput extends ZdInput {
|
7
7
|
appendIcon: string;
|
8
8
|
appendOuterIcon: string;
|
9
|
+
focusOnOuterIconClick: string;
|
9
10
|
prefix: string;
|
10
11
|
prependIcon: string;
|
11
12
|
prependOuterIcon: string;
|
@@ -29,4 +30,5 @@ export default class ZdTextInput extends ZdInput {
|
|
29
30
|
setBlur(): void;
|
30
31
|
getIconClickEvents(): any;
|
31
32
|
setPlaceholder(htmlElment?: string): void;
|
33
|
+
getInputAutocompleteValue(): "on" | "one-time-code" | "off";
|
32
34
|
}
|
@@ -21,6 +21,8 @@ export default class EditableMixin extends Vue {
|
|
21
21
|
* Variable to store the ids of the cells to be forced update
|
22
22
|
*/
|
23
23
|
currentUpdatingIds: string[];
|
24
|
+
mounted(): void;
|
25
|
+
viewEnterEdit(rowKey: string, columnName: string): void;
|
24
26
|
get editedRows(): IDictionary<any>[];
|
25
27
|
/**
|
26
28
|
* Watches editedRows and decides which cells should be forced update
|
@@ -64,6 +66,8 @@ export default class EditableMixin extends Vue {
|
|
64
66
|
cellClick(row: IDictionary<any>, column: GridColumnEditable, event: Event, canEdit?: boolean, componentId?: string): void;
|
65
67
|
callCellClick(row: IDictionary<any>, column: GridColumnEditable, event: Event, canEdit: boolean, componentId: string): void;
|
66
68
|
editableCellFocus(component: IUpdatableComponent, id: string, row: IDictionary<any>, column: GridColumn): void;
|
69
|
+
mousedownCalled: boolean;
|
70
|
+
editableMousedown(): void;
|
67
71
|
getVisibleValue(row: IDictionary, column: GridColumnEditable): any;
|
68
72
|
cellFocus(row: IDictionary<any>, column: GridColumn): void;
|
69
73
|
fieldFocusout({ event, component }: ICellEvent): void;
|