ps-toolkit-ui 1.7.13 → 1.7.16
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 +17 -10
- 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/plaque/select/form.plaque.select.component.js +11 -11
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +8 -1
- package/fesm2015/ps-toolkit-ui.js +17 -10
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4394,23 +4394,23 @@
|
|
|
4394
4394
|
var p = s ? s.split('_') : null;
|
|
4395
4395
|
if (p && p.length === 4) {
|
|
4396
4396
|
setTimeout(function () {
|
|
4397
|
-
_this.part1.
|
|
4398
|
-
_this.part2.
|
|
4399
|
-
_this.part3.
|
|
4400
|
-
_this.part4.
|
|
4397
|
+
_this.part1.setValue(p[0], false);
|
|
4398
|
+
_this.part2.setValue(p[1], false);
|
|
4399
|
+
_this.part3.setValue(p[2], false);
|
|
4400
|
+
_this.part4.setValue(p[3], false);
|
|
4401
4401
|
}, 100);
|
|
4402
4402
|
}
|
|
4403
4403
|
else if (p && p.length === 2) {
|
|
4404
4404
|
setTimeout(function () {
|
|
4405
|
-
_this.part1.
|
|
4406
|
-
_this.part3.
|
|
4405
|
+
_this.part1.setValue(p[0], false);
|
|
4406
|
+
_this.part3.setValue(p[1], false);
|
|
4407
4407
|
}, 100);
|
|
4408
4408
|
}
|
|
4409
4409
|
else {
|
|
4410
|
-
_this.part1.
|
|
4411
|
-
_this.part2.
|
|
4412
|
-
_this.part3.
|
|
4413
|
-
_this.part4.
|
|
4410
|
+
_this.part1.setValue('', false);
|
|
4411
|
+
_this.part2.setValue('', false);
|
|
4412
|
+
_this.part3.setValue('', false);
|
|
4413
|
+
_this.part4.setValue('', false);
|
|
4414
4414
|
}
|
|
4415
4415
|
};
|
|
4416
4416
|
this.inp.focus = function () {
|
|
@@ -5861,6 +5861,10 @@
|
|
|
5861
5861
|
var _this = this;
|
|
5862
5862
|
this.inp.setValue = function (v) {
|
|
5863
5863
|
_this.inp.value = v != null ? v.toString() : '';
|
|
5864
|
+
_this.cValue = _this.inp.value;
|
|
5865
|
+
console.log(_this.inp.name);
|
|
5866
|
+
console.log(_this.cValue);
|
|
5867
|
+
console.log(_this.inp.value);
|
|
5864
5868
|
};
|
|
5865
5869
|
this.inp.focus = function (changeIndex) {
|
|
5866
5870
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
@@ -5991,6 +5995,9 @@
|
|
|
5991
5995
|
this.inp.onKeyUp(this.inp);
|
|
5992
5996
|
}
|
|
5993
5997
|
if (this.inp.onChange) {
|
|
5998
|
+
console.log(this.cValue);
|
|
5999
|
+
console.log(e.target.value);
|
|
6000
|
+
console.log(this.cValue !== e.target.value);
|
|
5994
6001
|
if (this.cValue !== e.target.value) {
|
|
5995
6002
|
this.inp.onChange(e.target.value);
|
|
5996
6003
|
this.cValue = e.target.value;
|