ps-toolkit-ui 1.8.38 → 1.8.39
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 +12 -6
- 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/textbox/form.textbox.component.js +9 -7
- package/esm2015/lib/components/form/vehicle/form.vehicle.component.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +11 -6
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6002,13 +6002,16 @@
|
|
|
6002
6002
|
}
|
|
6003
6003
|
};
|
|
6004
6004
|
FormTextboxComponent.prototype.onFocusIn = function (changeIndex) {
|
|
6005
|
+
var _this = this;
|
|
6005
6006
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6007
|
+
setTimeout(function () {
|
|
6008
|
+
if (changeIndex) {
|
|
6009
|
+
_this.inputBase.nativeElement.select();
|
|
6010
|
+
}
|
|
6011
|
+
else {
|
|
6012
|
+
_this.inputBase.nativeElement.focus();
|
|
6013
|
+
}
|
|
6014
|
+
});
|
|
6012
6015
|
};
|
|
6013
6016
|
FormTextboxComponent.prototype.onFocusOut = function (e) {
|
|
6014
6017
|
if (this.inp.onFocusOut !== null) {
|
|
@@ -7043,6 +7046,9 @@
|
|
|
7043
7046
|
this.onFocusIn();
|
|
7044
7047
|
};
|
|
7045
7048
|
FormVehicleComponent.prototype.onFocusIn = function () {
|
|
7049
|
+
setTimeout(function () {
|
|
7050
|
+
$('#Part1TextInput .control').focus();
|
|
7051
|
+
}, 100);
|
|
7046
7052
|
};
|
|
7047
7053
|
return FormVehicleComponent;
|
|
7048
7054
|
}());
|