@zeedhi/teknisa-components-vuetify 1.97.1 → 1.97.4
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.
|
@@ -1153,9 +1153,10 @@ let TekGrid$1 = class TekGrid extends ZdGridEditable {
|
|
|
1153
1153
|
this.instanceType = TekGrid$3;
|
|
1154
1154
|
this.visibleRowsLength = 0;
|
|
1155
1155
|
this.debouncedDatasourceGet = debounce((instance) => {
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1156
|
+
const event = new Event('change', { cancelable: true });
|
|
1157
|
+
instance.callEvent('beforeApplyFilter', { component: instance, event });
|
|
1158
|
+
if (event.defaultPrevented)
|
|
1159
|
+
return;
|
|
1159
1160
|
const { datasource } = instance;
|
|
1160
1161
|
if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
|
|
1161
1162
|
datasource.updateDynamicFilter();
|
|
@@ -1153,9 +1153,10 @@
|
|
|
1153
1153
|
this.instanceType = teknisaComponentsCommon.TekGrid;
|
|
1154
1154
|
this.visibleRowsLength = 0;
|
|
1155
1155
|
this.debouncedDatasourceGet = debounce__default["default"]((instance) => {
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1156
|
+
const event = new Event('change', { cancelable: true });
|
|
1157
|
+
instance.callEvent('beforeApplyFilter', { component: instance, event });
|
|
1158
|
+
if (event.defaultPrevented)
|
|
1159
|
+
return;
|
|
1159
1160
|
const { datasource } = instance;
|
|
1160
1161
|
if (datasource instanceof teknisaComponentsCommon.TekRestDatasource || datasource instanceof teknisaComponentsCommon.TekMemoryDatasource) {
|
|
1161
1162
|
datasource.updateDynamicFilter();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-components-vuetify",
|
|
3
|
-
"version": "1.97.
|
|
3
|
+
"version": "1.97.4",
|
|
4
4
|
"description": "Teknisa Components based on Vuetify",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"vue": "2.7.*",
|
|
45
45
|
"vuetify": "2.6.*"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "475571183785cf1f8da262e91596db8148d8f972"
|
|
48
48
|
}
|