@zeedhi/vuetify 1.107.0 → 1.107.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
CHANGED
@@ -46069,7 +46069,7 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
|
|
46069
46069
|
}
|
46070
46070
|
});
|
46071
46071
|
if (pageSelectionCount === 0)
|
46072
|
-
return 0;
|
46072
|
+
return selectedRows.length ? 2 : 0;
|
46073
46073
|
if (pageSelectionCount < datasource.data.length - disabledCount)
|
46074
46074
|
return 2;
|
46075
46075
|
return 1;
|
@@ -46325,10 +46325,16 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
|
|
46325
46325
|
changeSelection({ item, currentItem, value }) {
|
46326
46326
|
this.instance.selectRow(item || currentItem, value);
|
46327
46327
|
}
|
46328
|
+
/**
|
46329
|
+
* Realiza a seleção/desseleção de linhas na instância e dispara o evento correspondente
|
46330
|
+
* @param {boolean} isSelected Indica se as linhas foram selecionadas ou não
|
46331
|
+
* @param {Event} event Mouse click event
|
46332
|
+
*/
|
46328
46333
|
selectAllClick(isSelected, event) {
|
46329
46334
|
this.$nextTick(() => {
|
46330
|
-
this.instance.selectAll(isSelected)
|
46331
|
-
|
46335
|
+
this.instance.selectAll(isSelected).then(() => {
|
46336
|
+
this.instance.selectAllClick(isSelected, event, this.$el);
|
46337
|
+
});
|
46332
46338
|
});
|
46333
46339
|
}
|
46334
46340
|
cellClick(row, column, event) {
|
package/dist/zd-vuetify.umd.js
CHANGED
@@ -46068,7 +46068,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46068
46068
|
}
|
46069
46069
|
});
|
46070
46070
|
if (pageSelectionCount === 0)
|
46071
|
-
return 0;
|
46071
|
+
return selectedRows.length ? 2 : 0;
|
46072
46072
|
if (pageSelectionCount < datasource.data.length - disabledCount)
|
46073
46073
|
return 2;
|
46074
46074
|
return 1;
|
@@ -46324,10 +46324,16 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46324
46324
|
changeSelection({ item, currentItem, value }) {
|
46325
46325
|
this.instance.selectRow(item || currentItem, value);
|
46326
46326
|
}
|
46327
|
+
/**
|
46328
|
+
* Realiza a seleção/desseleção de linhas na instância e dispara o evento correspondente
|
46329
|
+
* @param {boolean} isSelected Indica se as linhas foram selecionadas ou não
|
46330
|
+
* @param {Event} event Mouse click event
|
46331
|
+
*/
|
46327
46332
|
selectAllClick(isSelected, event) {
|
46328
46333
|
this.$nextTick(() => {
|
46329
|
-
this.instance.selectAll(isSelected)
|
46330
|
-
|
46334
|
+
this.instance.selectAll(isSelected).then(() => {
|
46335
|
+
this.instance.selectAllClick(isSelected, event, this.$el);
|
46336
|
+
});
|
46331
46337
|
});
|
46332
46338
|
}
|
46333
46339
|
cellClick(row, column, event) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zeedhi/vuetify",
|
3
|
-
"version": "1.107.
|
3
|
+
"version": "1.107.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": "de6ca3eb8592ff0cf7c5ef5e13a62980970c85d7"
|
55
55
|
}
|
@@ -91,6 +91,11 @@ export default class ZdGrid extends ZdIterable {
|
|
91
91
|
currentItem: any;
|
92
92
|
value: boolean;
|
93
93
|
}): void;
|
94
|
+
/**
|
95
|
+
* Realiza a seleção/desseleção de linhas na instância e dispara o evento correspondente
|
96
|
+
* @param {boolean} isSelected Indica se as linhas foram selecionadas ou não
|
97
|
+
* @param {Event} event Mouse click event
|
98
|
+
*/
|
94
99
|
selectAllClick(isSelected: boolean, event: Event): void;
|
95
100
|
cellClick(row: IDictionary<any>, column: GridColumn, event: Event): void;
|
96
101
|
cellFocus(row: IDictionary<any>, column: GridColumn): void;
|