ps-toolkit-ui 1.16.74 → 1.16.78
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 +7 -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/classes/table.class.js +2 -1
- package/esm2015/lib/components/form/date/form.date.component.js +6 -2
- package/esm2015/lib/components/table/table.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +7 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/table.class.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3876,7 +3876,7 @@
|
|
|
3876
3876
|
try {
|
|
3877
3877
|
for (var _b = __values(this.table.cols.filter(function (x) { return x.withSearch; })), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
3878
3878
|
var c = _c.value;
|
|
3879
|
-
c.search = new InputClass(this.table.environment, this.table.l, c.name, null, exports.InputType.Text, 'h-25 table-search');
|
|
3879
|
+
c.search = new InputClass(this.table.environment, this.table.l, c.name, null, exports.InputType.Text, 'h-25 table-search', c.searchDefault);
|
|
3880
3880
|
if (c.type === exports.TableCollType.Date || c.type === exports.TableCollType.DateTime || c.type === exports.TableCollType.DateDif || c.type === exports.TableCollType.DateRemain) {
|
|
3881
3881
|
c.search.type = exports.InputType.Date;
|
|
3882
3882
|
}
|
|
@@ -4611,7 +4611,11 @@
|
|
|
4611
4611
|
}
|
|
4612
4612
|
};
|
|
4613
4613
|
FormDateComponent.prototype.onKeyUp = function (e) {
|
|
4614
|
-
if (this.
|
|
4614
|
+
if (this.inp.type === exports.InputType.Month) {
|
|
4615
|
+
e.preventDefault();
|
|
4616
|
+
return;
|
|
4617
|
+
}
|
|
4618
|
+
if (this.cSearch !== e.target.value) {
|
|
4615
4619
|
this.inp.error = null;
|
|
4616
4620
|
this.inp.value = null;
|
|
4617
4621
|
this.cSearch = e.target.value;
|
|
@@ -9433,6 +9437,7 @@
|
|
|
9433
9437
|
this.default = null;
|
|
9434
9438
|
this.sort = true;
|
|
9435
9439
|
this.search = null;
|
|
9440
|
+
this.searchDefault = null;
|
|
9436
9441
|
this.fun = null;
|
|
9437
9442
|
this.name = name;
|
|
9438
9443
|
this.class = cls + ([exports.TableCollType.Color, exports.TableCollType.Url, exports.TableCollType.FileSize].includes(type) ? ' ltr' : '');
|