ps-toolkit-ui 1.18.52 → 1.18.53
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 +2 -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 +3 -3
- package/fesm2015/ps-toolkit-ui.js +2 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3961,7 +3961,7 @@
|
|
|
3961
3961
|
this.table.searchForm.class = (this.table.searchForm.class ? this.table.searchForm.class : '') + (this.table.expertSearch ? '' : ' p-0');
|
|
3962
3962
|
if (this.table.expertSearch) {
|
|
3963
3963
|
var s = new InputClass(this.table.environment, this.table.l, 'Search', 'fad fa-magnifying-glass', exports.InputType.Submit, 'blue h-30');
|
|
3964
|
-
s.style = { top: '20px', left: '5px', position: 'absolute', width: '50%'
|
|
3964
|
+
s.style = { top: '20px', left: '5px', position: 'absolute', width: '50%' };
|
|
3965
3965
|
this.table.searchForm.inputs.push(s);
|
|
3966
3966
|
this.table.searchForm.name = 'ExpertSearch';
|
|
3967
3967
|
}
|
|
@@ -3969,7 +3969,7 @@
|
|
|
3969
3969
|
var hasSubmit = _this.table.searchForm.inputs.some(function (s) { return s.type === exports.InputType.Submit; });
|
|
3970
3970
|
x.required = false;
|
|
3971
3971
|
x.displayLabel = _this.table.expertSearch;
|
|
3972
|
-
x.class = x.class + ' search-form-inp' + (_this.table.expertSearch ? ' p-0' : '');
|
|
3972
|
+
x.class = x.class + ' search-form-inp' + (_this.table.expertSearch && x.type !== exports.InputType.Submit ? ' p-0' : '');
|
|
3973
3973
|
x.withClear = !hasSubmit || _this.table.expertSearch;
|
|
3974
3974
|
if (!hasSubmit) {
|
|
3975
3975
|
if (x.onChange == null) {
|