ps-toolkit-ui 1.16.79 → 1.16.80
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 +3 -8
- 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/date/form.date.component.js +4 -9
- package/fesm2015/ps-toolkit-ui.js +3 -8
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4609,20 +4609,15 @@
|
|
|
4609
4609
|
$__namespace(this.inputBase.nativeElement).blur();
|
|
4610
4610
|
}
|
|
4611
4611
|
}
|
|
4612
|
-
if (this.inp.type === exports.InputType.Month) {
|
|
4613
|
-
e.preventDefault();
|
|
4614
|
-
return;
|
|
4615
|
-
}
|
|
4616
4612
|
};
|
|
4617
4613
|
FormDateComponent.prototype.onKeyUp = function (e) {
|
|
4618
|
-
if (this.inp.type === exports.InputType.Month) {
|
|
4619
|
-
e.preventDefault();
|
|
4620
|
-
return;
|
|
4621
|
-
}
|
|
4622
4614
|
if (this.cSearch !== e.target.value) {
|
|
4623
4615
|
this.inp.error = null;
|
|
4624
4616
|
this.inp.value = null;
|
|
4625
4617
|
this.cSearch = e.target.value;
|
|
4618
|
+
if (this.inp.type === exports.InputType.Month) {
|
|
4619
|
+
return;
|
|
4620
|
+
}
|
|
4626
4621
|
if (this.inp.search !== '' && this.inp.search !== null) {
|
|
4627
4622
|
var v = moment__namespace(this.inp.search, 'jYYYY/jMM/jDD');
|
|
4628
4623
|
if (v.isValid() && this.inp.search.length <= 10) {
|