ps-toolkit-ui 1.18.64 → 1.18.65
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 +4 -0
- 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 +3 -1
- package/fesm2015/ps-toolkit-ui.js +4 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3980,6 +3980,7 @@
|
|
|
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
|
}
|
|
@@ -3987,6 +3988,7 @@
|
|
|
3987
3988
|
$__namespace(_this.tableDiv.nativeElement).removeClass('show-expert-search');
|
|
3988
3989
|
};
|
|
3989
3990
|
_this.table.searchForm.submit = function () {
|
|
3991
|
+
console.log('this.table.searchForm.submit');
|
|
3990
3992
|
if (_this.table.searchForm.onBeforeSubmit && !_this.table.searchForm.onBeforeSubmit()) {
|
|
3991
3993
|
return;
|
|
3992
3994
|
}
|
|
@@ -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) {
|