@newview/ui 1.1.1 → 1.1.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/newview-ui.js +16 -2
- package/dist/newview-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/newview-ui.js
CHANGED
|
@@ -33929,7 +33929,14 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
|
|
|
33929
33929
|
__publicField(this, "validate", async () => {
|
|
33930
33930
|
const $table = this.xTable.value;
|
|
33931
33931
|
if ($table) {
|
|
33932
|
-
|
|
33932
|
+
const errMap = await $table.validate();
|
|
33933
|
+
if (errMap) {
|
|
33934
|
+
return false;
|
|
33935
|
+
} else {
|
|
33936
|
+
return true;
|
|
33937
|
+
}
|
|
33938
|
+
} else {
|
|
33939
|
+
return false;
|
|
33933
33940
|
}
|
|
33934
33941
|
});
|
|
33935
33942
|
this.props = props;
|
|
@@ -191686,7 +191693,14 @@ class GridInstance extends BaseInstance {
|
|
|
191686
191693
|
__publicField(this, "validate", async () => {
|
|
191687
191694
|
const $table = this.xTable.value;
|
|
191688
191695
|
if ($table) {
|
|
191689
|
-
|
|
191696
|
+
const errMap = await $table.validate();
|
|
191697
|
+
if (errMap) {
|
|
191698
|
+
return false;
|
|
191699
|
+
} else {
|
|
191700
|
+
return true;
|
|
191701
|
+
}
|
|
191702
|
+
} else {
|
|
191703
|
+
return false;
|
|
191690
191704
|
}
|
|
191691
191705
|
});
|
|
191692
191706
|
this.props = props;
|