ps-toolkit-ui 1.18.64 → 1.18.66
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/bundles/ps-toolkit-ui.umd.js +11 -7
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/tree/form.tree.component.js +3 -1
- package/esm2015/lib/components/table/table.component.js +10 -8
- package/fesm2015/ps-toolkit-ui.js +11 -7
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3980,19 +3980,21 @@
|
|
|
3980
3980
|
}
|
|
3981
3981
|
if (x.type === exports.InputType.Submit) {
|
|
3982
3982
|
x.onClick = function () {
|
|
3983
|
+
console.log('x.onClick');
|
|
3983
3984
|
if (_this.table.searchForm.onBeforeSubmit && !_this.table.searchForm.onBeforeSubmit()) {
|
|
3984
3985
|
return;
|
|
3985
3986
|
}
|
|
3986
3987
|
_this.table.load(x);
|
|
3987
3988
|
$__namespace(_this.tableDiv.nativeElement).removeClass('show-expert-search');
|
|
3988
3989
|
};
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3990
|
+
// this.table.searchForm.submit = () => {
|
|
3991
|
+
// console.log('this.table.searchForm.submit');
|
|
3992
|
+
// if (this.table.searchForm.onBeforeSubmit && !this.table.searchForm.onBeforeSubmit()){
|
|
3993
|
+
// return;
|
|
3994
|
+
// }
|
|
3995
|
+
// this.table.load(x);
|
|
3996
|
+
// $(this.tableDiv.nativeElement).removeClass('show-expert-search');
|
|
3997
|
+
// };
|
|
3996
3998
|
}
|
|
3997
3999
|
});
|
|
3998
4000
|
}
|
|
@@ -7160,6 +7162,7 @@
|
|
|
7160
7162
|
_this.setValue(v.map(String));
|
|
7161
7163
|
};
|
|
7162
7164
|
this.inp.clear = function () {
|
|
7165
|
+
_this.inp.error = null;
|
|
7163
7166
|
_this.inp.setValue([], false);
|
|
7164
7167
|
};
|
|
7165
7168
|
if (this.inp.default != null) {
|
|
@@ -7249,6 +7252,7 @@
|
|
|
7249
7252
|
if (this.inp.onChange) {
|
|
7250
7253
|
this.inp.onChange(this.inp);
|
|
7251
7254
|
}
|
|
7255
|
+
this.inp.error = null;
|
|
7252
7256
|
};
|
|
7253
7257
|
FormTreeComponent.prototype.check = function (c) {
|
|
7254
7258
|
if (this.inp.type === exports.InputType.Tree) {
|