ps-toolkit-ui 1.6.70 → 1.6.71
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 -4
- 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/vehicle/form.vehicle.component.js +2 -3
- package/esm2015/lib/components/form/vehicle/search/form.vehicle.search.component.js +2 -3
- package/fesm2015/ps-toolkit-ui.js +2 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6848,14 +6848,13 @@
|
|
|
6848
6848
|
_this.fingerprint.clear();
|
|
6849
6849
|
};
|
|
6850
6850
|
this.inp.data = function () {
|
|
6851
|
-
var d = {};
|
|
6851
|
+
var d = { Type: _this.type };
|
|
6852
6852
|
d[_this.inp.name] = _this.type === exports.VehicleType.Car ? _this.car.data() :
|
|
6853
6853
|
_this.type === exports.VehicleType.Motorcycle ? _this.motor.data() :
|
|
6854
6854
|
_this.type === exports.VehicleType.CarF ? _this.carF.data() :
|
|
6855
6855
|
_this.type === exports.VehicleType.CarG ? _this.carG.data() :
|
|
6856
6856
|
_this.type === exports.VehicleType.Driver ? _this.driver.data() :
|
|
6857
6857
|
_this.type === exports.VehicleType.Fingerprint ? _this.fingerprint.data() : null;
|
|
6858
|
-
d[_this.inp.name + 'Type'] = _this.type;
|
|
6859
6858
|
return d;
|
|
6860
6859
|
};
|
|
6861
6860
|
};
|
|
@@ -7004,12 +7003,11 @@
|
|
|
7004
7003
|
_this.carG.clear();
|
|
7005
7004
|
};
|
|
7006
7005
|
this.inp.data = function () {
|
|
7007
|
-
var d = {};
|
|
7006
|
+
var d = { Type: _this.type };
|
|
7008
7007
|
d[_this.inp.name] = _this.type === exports.VehicleType.Car ? _this.car.data() :
|
|
7009
7008
|
_this.type === exports.VehicleType.Motorcycle ? _this.motor.data() :
|
|
7010
7009
|
_this.type === exports.VehicleType.CarF ? _this.carF.data() :
|
|
7011
7010
|
_this.type === exports.VehicleType.CarG ? _this.carG.data() : null;
|
|
7012
|
-
d[_this.inp.name + 'Type'] = _this.type;
|
|
7013
7011
|
return d;
|
|
7014
7012
|
};
|
|
7015
7013
|
};
|