ps-toolkit-ui 1.16.81 → 1.16.83
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 +6 -5
- 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 +7 -6
- package/fesm2015/ps-toolkit-ui.js +6 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4611,17 +4611,16 @@
|
|
|
4611
4611
|
}
|
|
4612
4612
|
};
|
|
4613
4613
|
FormDateComponent.prototype.onKeyUp = function (e) {
|
|
4614
|
-
if (this.cSearch !== e.target.value) {
|
|
4614
|
+
if (this.cSearch !== e.target.value && this.inp.type !== exports.InputType.Month) {
|
|
4615
|
+
console.log(1111111);
|
|
4615
4616
|
this.inp.error = null;
|
|
4616
4617
|
this.inp.value = null;
|
|
4617
4618
|
this.cSearch = e.target.value;
|
|
4618
|
-
if (this.inp.type === exports.InputType.Month) {
|
|
4619
|
-
this.inp.onChange(this.inp);
|
|
4620
|
-
return;
|
|
4621
|
-
}
|
|
4622
4619
|
if (this.inp.search !== '' && this.inp.search !== null) {
|
|
4620
|
+
console.log(2222222);
|
|
4623
4621
|
var v = moment__namespace(this.inp.search, 'jYYYY/jMM/jDD');
|
|
4624
4622
|
if (v.isValid() && this.inp.search.length <= 10) {
|
|
4623
|
+
console.log(33333333);
|
|
4625
4624
|
this.active = v;
|
|
4626
4625
|
this.inp.value = this.active.format('jYYYY/jMM/jDD');
|
|
4627
4626
|
this.setDate();
|
|
@@ -4630,10 +4629,12 @@
|
|
|
4630
4629
|
}
|
|
4631
4630
|
}
|
|
4632
4631
|
else {
|
|
4632
|
+
console.log(444444);
|
|
4633
4633
|
this.setDate();
|
|
4634
4634
|
}
|
|
4635
4635
|
}
|
|
4636
4636
|
else {
|
|
4637
|
+
console.log(5555555);
|
|
4637
4638
|
this.setDate();
|
|
4638
4639
|
if (this.inp.onChange) {
|
|
4639
4640
|
this.inp.onChange(this.inp);
|