ps-toolkit-ui 1.3.87 → 1.3.88
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 +2 -2
- 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/form.car.component.js +2 -2
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +2 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2843,7 +2843,7 @@
|
|
|
2843
2843
|
'<div class="part4">' + parts[3] + '</div>' +
|
|
2844
2844
|
'</div>';
|
|
2845
2845
|
}
|
|
2846
|
-
else if (parts.length === 2 && parts.
|
|
2846
|
+
else if (parts.length === 2 && parts.every(function (x) { return /^[0-9]+$/.test(x); })) {
|
|
2847
2847
|
return '<div class="plaque plaque-m">' +
|
|
2848
2848
|
'<div class="part1">' + parts[0] + '</div>' +
|
|
2849
2849
|
'<div class="part2">' + parts[1] + '</div>' +
|
|
@@ -6637,7 +6637,7 @@
|
|
|
6637
6637
|
this.car.displayLabel = this.carF.displayLabel = this.motor.displayLabel = false;
|
|
6638
6638
|
this.inp.setValue = function (v) {
|
|
6639
6639
|
if (v != null) {
|
|
6640
|
-
if (v.split('_').length === 2 && v.split('_').
|
|
6640
|
+
if (v.split('_').length === 2 && v.split('_').every(function (x) { return /^[0-9]+$/.test(x); })) {
|
|
6641
6641
|
_this.type = exports.VehicleType.Motorcycle;
|
|
6642
6642
|
setTimeout(function () {
|
|
6643
6643
|
_this.motor.setValue(v, false);
|