@zeedhi/vuetify 1.95.0 → 1.96.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/vuetify",
3
- "version": "1.95.0",
3
+ "version": "1.96.1",
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": "63968f5b293d5d5c7af642ecf41f99b081bfd997"
54
+ "gitHead": "fffb093bed02b6caaeb295033b4a66d81bf2cb8b"
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, };
@@ -25,6 +25,7 @@ export default class ZdFileInput extends ZdTextInput {
25
25
  private dragArea;
26
26
  private dragAreaRect;
27
27
  mounted(): void;
28
+ getFileSizes(): object;
28
29
  blur(event: Event): void;
29
30
  focus(event: Event): void;
30
31
  inputFileClick(event: MouseEvent): void;
@@ -41,7 +41,7 @@ export default class ZdGridEditableCell extends ZdGridCell {
41
41
  * this is needed to avoid reactivity to crosstab editedRows,
42
42
  * which can cause unnecessary rerenders
43
43
  */
44
- forceUpdate(): void;
44
+ forceUpdate(checkValue?: boolean): void;
45
45
  rowChange(): void;
46
46
  editing: boolean;
47
47
  enterEdit(event?: Event): void;
@@ -41,7 +41,7 @@ export default class ZdGridEditableCellContent extends Vue {
41
41
  * this is needed to avoid reactivity to crosstab editedRows,
42
42
  * which can cause unnecessary rerenders
43
43
  */
44
- forceUpdate(): void;
44
+ forceUpdate(checkValue?: boolean): void;
45
45
  rowChange(): void;
46
46
  editing: boolean;
47
47
  enterEdit(): 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
+ }
@@ -0,0 +1,8 @@
1
+ import Vue from 'vue';
2
+ import { ColumnAlign } from '@zeedhi/common';
3
+ export default class ZdGridSortIcon extends Vue {
4
+ columnAlign: ColumnAlign;
5
+ orderIndex: number;
6
+ get margin(): "zd-ml-1" | "zd-mr-1";
7
+ click(): void;
8
+ }
@@ -0,0 +1,4 @@
1
+ import Vue from 'vue';
2
+ export default class ZdGridHelper extends Vue {
3
+ helperText: string;
4
+ }
@@ -31,7 +31,7 @@ export default class ZdSelect extends ZdTextInput {
31
31
  /**
32
32
  * Vue component refs
33
33
  */
34
- private componentRef;
34
+ protected componentRef: any;
35
35
  private originalOnScroll;
36
36
  mounted(): void;
37
37
  protected applyAutofocus(): void;
@@ -9,13 +9,15 @@ export default class ZdSelectMultiple extends ZdSelect {
9
9
  showSelectAll: boolean;
10
10
  maxRows: string | number | undefined;
11
11
  limit: number | null;
12
+ showCheckboxAll: boolean;
13
+ checkboxAll: boolean;
12
14
  instance: SelectMultiple;
13
15
  instanceType: typeof SelectMultiple;
14
16
  expandedMode: boolean;
15
17
  rows: number;
16
18
  lastDisplayedChip: number;
17
19
  hasHiddenRows: boolean;
18
- private componentRef;
20
+ protected componentRef: any;
19
21
  private element;
20
22
  private initialHeight;
21
23
  private listener;
@@ -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;
@@ -48,12 +48,17 @@ export default class EditableMixin extends Vue {
48
48
  enterEdit(component: IUpdatableComponent): void;
49
49
  isCellEditable(row: IDictionary, column: GridColumnEditable, canEdit: boolean): boolean;
50
50
  isEdited(column: IGridColumnEditable, row: IDictionary): boolean;
51
- isValid(column: IGridColumnEditable, row: IDictionary): boolean;
51
+ isValid(column: IGridColumnEditable, row: IDictionary): string | boolean;
52
52
  getEditableComponent(column: IGridColumnEditable, row: IDictionary<any>, cellProps: IDictionary<any>): {
53
53
  name: string;
54
54
  parent: GridEditable;
55
55
  align: "left" | "center" | "right" | undefined;
56
56
  showLabel: boolean;
57
+ /**
58
+ * Makes
59
+ * a component enter edit mode, also making the previous editing component
60
+ * leave edit mode
61
+ */
57
62
  showHelper: boolean;
58
63
  dense: boolean;
59
64
  value: any;