@zeedhi/vuetify 1.96.1 → 1.97.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/vuetify",
3
- "version": "1.96.1",
3
+ "version": "1.97.0",
4
4
  "description": "Zeedhi Components based on Vuetify",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@panter/vue-i18next": "0.15.*",
23
- "@zeedhi/zd-vue-treeselect": "*",
23
+ "@zeedhi/zd-vue-treeselect": "^1.3.0",
24
24
  "apexcharts": "3.36.*",
25
25
  "hooper": "0.3.*",
26
26
  "lodash.camelcase": "4.3.*",
@@ -37,9 +37,9 @@
37
37
  "vuetify": "2.6.*"
38
38
  },
39
39
  "peerDependencies": {
40
- "@zeedhi/common": "^1.0.0-alpha.0",
41
- "@zeedhi/core": "^1.0.0-alpha.0",
42
- "@zeedhi/vue": "^1.0.0-alpha.0",
40
+ "@zeedhi/common": "~1.97.0",
41
+ "@zeedhi/core": "~1.97.0",
42
+ "@zeedhi/vue": "~1.97.0",
43
43
  "vue": "2.7.*",
44
44
  "vuetify": "2.6.*"
45
45
  },
@@ -51,5 +51,5 @@
51
51
  "@types/prismjs": "1.26.*",
52
52
  "@types/sortablejs": "1.15.*"
53
53
  },
54
- "gitHead": "fffb093bed02b6caaeb295033b4a66d81bf2cb8b"
54
+ "gitHead": "327c44931165d45f2aab6354501c9deeb07d2413"
55
55
  }
@@ -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
- column?: Column;
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;
@@ -14,4 +14,5 @@ export default class ZdNumber extends ZdTextInput {
14
14
  beforeDestroy(): void;
15
15
  numberInput(value: any): void;
16
16
  alterMask(event: KeyboardEvent): void;
17
+ getInputAutocompleteValue(): "one-time-code" | "off";
17
18
  }
@@ -11,6 +11,9 @@ export default class ZdProgress extends ZdComponentRender {
11
11
  indeterminate: boolean;
12
12
  centerSlot: IComponentRender[];
13
13
  value: number | string;
14
+ minWidth?: number | string;
15
+ maxWidth?: number | string;
16
+ width?: number | string;
14
17
  instance: Progress;
15
18
  instanceType: typeof Progress;
16
19
  }
@@ -30,4 +30,5 @@ export default class ZdTextInput extends ZdInput {
30
30
  setBlur(): void;
31
31
  getIconClickEvents(): any;
32
32
  setPlaceholder(htmlElment?: string): void;
33
+ getInputAutocompleteValue(): "one-time-code" | "off" | "on";
33
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
@@ -54,11 +56,6 @@ export default class EditableMixin extends Vue {
54
56
  parent: GridEditable;
55
57
  align: "left" | "center" | "right" | undefined;
56
58
  showLabel: boolean;
57
- /**
58
- * Makes
59
- * a component enter edit mode, also making the previous editing component
60
- * leave edit mode
61
- */
62
59
  showHelper: boolean;
63
60
  dense: boolean;
64
61
  value: any;
@@ -69,6 +66,8 @@ export default class EditableMixin extends Vue {
69
66
  cellClick(row: IDictionary<any>, column: GridColumnEditable, event: Event, canEdit?: boolean, componentId?: string): void;
70
67
  callCellClick(row: IDictionary<any>, column: GridColumnEditable, event: Event, canEdit: boolean, componentId: string): void;
71
68
  editableCellFocus(component: IUpdatableComponent, id: string, row: IDictionary<any>, column: GridColumn): void;
69
+ mousedownCalled: boolean;
70
+ editableMousedown(): void;
72
71
  getVisibleValue(row: IDictionary, column: GridColumnEditable): any;
73
72
  cellFocus(row: IDictionary<any>, column: GridColumn): void;
74
73
  fieldFocusout({ event, component }: ICellEvent): void;