@zeedhi/vuetify 1.77.1 → 1.78.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.77.1",
3
+ "version": "1.78.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": "6bd12914ce56debe7aa1ace87300d986dbd10788"
54
+ "gitHead": "27632b314cd30e8d3fb4b4d26e346a7eb2df500c"
55
55
  }
@@ -27,6 +27,7 @@ export default class ZdGrid extends ZdIterable {
27
27
  dragColumns: boolean | string;
28
28
  resizeColumns: boolean | string;
29
29
  showSelectAll: boolean | string;
30
+ selectAllPages: boolean | string;
30
31
  toolbarSlot: IComponentRender[];
31
32
  instance: Grid;
32
33
  instanceType: typeof Grid;
@@ -35,8 +36,7 @@ export default class ZdGrid extends ZdIterable {
35
36
  change(value: any): void;
36
37
  changeColumns(): void;
37
38
  changeLoading(value: boolean): void;
38
- updateStates(): void;
39
- protected allselectedState: boolean;
39
+ get allselectedState(): 1 | 0 | 2;
40
40
  /**
41
41
  * Left distance for each column
42
42
  */
@@ -67,6 +67,14 @@ export default class ZdGrid extends ZdIterable {
67
67
  getActionComponent(actionComponent: IComponent, column: GridColumn, row: IDictionary): IComponent;
68
68
  rowClick(row: IDictionary<any>, event: Event): void;
69
69
  selectRowClick(row: IDictionary<any>, isSelected: boolean, event: Event): void;
70
+ getKeysFrom(data: IDictionary[]): any[];
71
+ get selectedRows(): IDictionary[];
72
+ set selectedRows(rows: IDictionary[]);
73
+ changeSelection({ item, currentItem, value }: {
74
+ item: any;
75
+ currentItem: any;
76
+ value: boolean;
77
+ }): void;
70
78
  selectAllClick(isSelected: boolean, event: Event): void;
71
79
  cellClick(row: IDictionary<any>, column: GridColumn, event: Event): void;
72
80
  isCurrentRow(row: IDictionary<any>): boolean;
@@ -18,8 +18,12 @@ export default class ZdTreeGrid extends ZdGrid {
18
18
  mounted(): void;
19
19
  toggleExpand(row: IDictionary, rowIndex: number, event?: PointerEvent): Promise<void>;
20
20
  orderColumnVisibility(): void;
21
- checkSome(row: IDictionary<any>): boolean;
22
- checkEvery(row: IDictionary<any>): any;
21
+ /**
22
+ * Checks whether this row's selection state is indeterminate
23
+ * @param row
24
+ * @returns `true` if it is indeterminate
25
+ */
26
+ isIndeterminate(row: IDictionary<any>): boolean;
23
27
  selectClick(index: number, isSelected: boolean, event: Event): void;
24
28
  getVisibleData(): IDictionary<any>[];
25
29
  getData(): IDictionary<any>[];