ps-toolkit-ui 1.9.49 → 1.9.51
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 +13 -9
- 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/classes/modal.class.js +5 -1
- package/esm2015/lib/components/form/vehicle/search/form.vehicle.search.component.js +10 -10
- package/fesm2015/ps-toolkit-ui.js +13 -9
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3168,6 +3168,7 @@
|
|
|
3168
3168
|
$__namespace('body').removeClass('open-modal');
|
|
3169
3169
|
$__namespace('#' + this.id + 'Modal').fadeOut(300, function () {
|
|
3170
3170
|
if (_this.form && _this.form.name !== 'Confirm' && _this.form.name !== 'Alert') {
|
|
3171
|
+
_this.form.clear();
|
|
3171
3172
|
if (_this.form.onHideModal) {
|
|
3172
3173
|
_this.form.onHideModal();
|
|
3173
3174
|
}
|
|
@@ -3175,6 +3176,9 @@
|
|
|
3175
3176
|
if (_this.table && _this.table.form) {
|
|
3176
3177
|
_this.table.form.clear();
|
|
3177
3178
|
}
|
|
3179
|
+
if (_this.onHide) {
|
|
3180
|
+
_this.onHide();
|
|
3181
|
+
}
|
|
3178
3182
|
});
|
|
3179
3183
|
};
|
|
3180
3184
|
return ModalClass;
|
|
@@ -6923,15 +6927,15 @@
|
|
|
6923
6927
|
return true;
|
|
6924
6928
|
};
|
|
6925
6929
|
this.inp.clear = function () {
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6930
|
+
// this.inp.error = null;
|
|
6931
|
+
// this.inp.setValue(null, false);
|
|
6932
|
+
// this.changeType(VehicleType.Car);
|
|
6933
|
+
// this.car.clear();
|
|
6934
|
+
// this.motor.clear();
|
|
6935
|
+
// this.carF.clear();
|
|
6936
|
+
// this.carG.clear();
|
|
6937
|
+
// this.driver.clear();
|
|
6938
|
+
// this.fingerprint.clear();
|
|
6935
6939
|
};
|
|
6936
6940
|
this.inp.data = function () {
|
|
6937
6941
|
var d = { Type: _this.type };
|