ps-toolkit-ui 1.18.32 → 1.18.34
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 -2
- 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/table/table.component.js +5 -3
- package/fesm2015/ps-toolkit-ui.js +4 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3963,13 +3963,13 @@
|
|
|
3963
3963
|
var s = new InputClass(this.table.environment, this.table.l, 'Search', 'fad fa-magnifying-glass', exports.InputType.Submit, 'blue');
|
|
3964
3964
|
s.style = { position: 'absolute', bottom: '20px', left: '0' };
|
|
3965
3965
|
this.table.searchForm.inputs.push(s);
|
|
3966
|
-
console.log(s, 'ssssssss');
|
|
3967
3966
|
}
|
|
3968
3967
|
this.table.searchForm.inputs.forEach(function (x) {
|
|
3969
3968
|
x.required = false;
|
|
3970
3969
|
x.displayLabel = _this.table.expertSearch;
|
|
3971
3970
|
x.class = x.class + ' search-form-inp';
|
|
3972
|
-
console.log(_this.table.searchForm.inputs
|
|
3971
|
+
console.log(_this.table.searchForm.inputs);
|
|
3972
|
+
console.log(_this.table.searchForm.inputs.some(function (s) { return s.type === exports.InputType.Submit; }));
|
|
3973
3973
|
if (!_this.table.searchForm.inputs.some(function (s) { return s.type === exports.InputType.Submit; })) {
|
|
3974
3974
|
if (x.onChange == null) {
|
|
3975
3975
|
x.onChange = function () {
|
|
@@ -3981,9 +3981,11 @@
|
|
|
3981
3981
|
if (x.type === exports.InputType.Submit) {
|
|
3982
3982
|
x.onClick = function () {
|
|
3983
3983
|
_this.table.load(x);
|
|
3984
|
+
$__namespace(_this.tableDiv.nativeElement).removeClass('show-expert-search');
|
|
3984
3985
|
};
|
|
3985
3986
|
_this.table.searchForm.submit = function () {
|
|
3986
3987
|
_this.table.load(x);
|
|
3988
|
+
$__namespace(_this.tableDiv.nativeElement).removeClass('show-expert-search');
|
|
3987
3989
|
};
|
|
3988
3990
|
}
|
|
3989
3991
|
});
|