ps-toolkit-ui 1.3.92 → 1.3.93
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 +9 -12
- 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/car/search/form.car.search.component.js +6 -9
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +5 -5
- package/fesm2015/ps-toolkit-ui.js +9 -12
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4262,11 +4262,11 @@
|
|
|
4262
4262
|
this.inp.data = function () {
|
|
4263
4263
|
return _this.inp.value;
|
|
4264
4264
|
};
|
|
4265
|
-
this.part1 = new InputClass(this.inp.environment, this.inp.l, 'Part1', null, exports.InputType.Number, 'plaque-part-1 plaque-part-item',
|
|
4266
|
-
this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item',
|
|
4265
|
+
this.part1 = new InputClass(this.inp.environment, this.inp.l, 'Part1', null, exports.InputType.Number, 'plaque-part-1 plaque-part-item', null, true);
|
|
4266
|
+
this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item', null, true);
|
|
4267
4267
|
this.part2.options = this.alphas.map(function (x) { return new OptionClass(x, x); });
|
|
4268
|
-
this.part3 = new InputClass(this.inp.environment, this.inp.l, 'Part3', null, exports.InputType.Number, 'plaque-part-3 plaque-part-item',
|
|
4269
|
-
this.part4 = new InputClass(this.inp.environment, this.inp.l, 'Part4', null, exports.InputType.Number, 'plaque-part-4 plaque-part-item',
|
|
4268
|
+
this.part3 = new InputClass(this.inp.environment, this.inp.l, 'Part3', null, exports.InputType.Number, 'plaque-part-3 plaque-part-item', null, true);
|
|
4269
|
+
this.part4 = new InputClass(this.inp.environment, this.inp.l, 'Part4', null, exports.InputType.Number, 'plaque-part-4 plaque-part-item', null, true, 10, 99);
|
|
4270
4270
|
if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueM) {
|
|
4271
4271
|
this.part1.minLength = 100;
|
|
4272
4272
|
this.part1.maxLength = 999;
|
|
@@ -6666,16 +6666,13 @@
|
|
|
6666
6666
|
};
|
|
6667
6667
|
}
|
|
6668
6668
|
this.car.url = this.motor.url = this.carF.url = this.driver.url = this.inp.url.replace('_{}', '_' + this.type);
|
|
6669
|
+
this.onFocusIn();
|
|
6669
6670
|
};
|
|
6670
6671
|
FormCarSearchComponent.prototype.onFocusIn = function () {
|
|
6671
|
-
if (this.type === 'Car') {
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
this.motor.focus();
|
|
6676
|
-
}
|
|
6677
|
-
else if (this.type === 'CarF') {
|
|
6678
|
-
this.carF.focus();
|
|
6672
|
+
if (this.type === 'Car' || this.type === 'Motor' || this.type === 'CarF') {
|
|
6673
|
+
setTimeout(function () {
|
|
6674
|
+
$('#Part1Input .control').focus();
|
|
6675
|
+
}, 100);
|
|
6679
6676
|
}
|
|
6680
6677
|
else if (this.type === 'Driver') {
|
|
6681
6678
|
this.driver.focus();
|