ps-toolkit-ui 1.12.54 → 1.12.56
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 -10
- 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/helper.class.js +2 -2
- package/esm2015/lib/components/confirm/confirm.component.js +2 -8
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +1 -2
- package/fesm2015/ps-toolkit-ui.js +2 -9
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/confirm/confirm.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1220,7 +1220,7 @@
|
|
|
1220
1220
|
d.fadeOut(300, function () {
|
|
1221
1221
|
d.remove();
|
|
1222
1222
|
});
|
|
1223
|
-
},
|
|
1223
|
+
}, 20000);
|
|
1224
1224
|
};
|
|
1225
1225
|
HelperClass.checkCartDigit = function (code) {
|
|
1226
1226
|
var l = code.length;
|
|
@@ -3900,7 +3900,6 @@
|
|
|
3900
3900
|
};
|
|
3901
3901
|
this.inp.setValue = function (v) {
|
|
3902
3902
|
_this.inp.value = v;
|
|
3903
|
-
_this.onChange();
|
|
3904
3903
|
};
|
|
3905
3904
|
this.inp.focus = function () {
|
|
3906
3905
|
_this.onFocusIn();
|
|
@@ -6780,9 +6779,8 @@
|
|
|
6780
6779
|
];
|
|
6781
6780
|
this.confirm.form.addButtons('Accept', 'blue', false);
|
|
6782
6781
|
};
|
|
6783
|
-
ConfirmComponent.prototype.show = function (l, url, data, accept
|
|
6782
|
+
ConfirmComponent.prototype.show = function (l, url, data, accept) {
|
|
6784
6783
|
var _this = this;
|
|
6785
|
-
if (failed === void 0) { failed = null; }
|
|
6786
6784
|
this.confirmLabel.value = l;
|
|
6787
6785
|
this.confirm.form.url = url;
|
|
6788
6786
|
this.confirm.form.data = function () {
|
|
@@ -6792,12 +6790,6 @@
|
|
|
6792
6790
|
_this.confirm.hide();
|
|
6793
6791
|
accept(result);
|
|
6794
6792
|
};
|
|
6795
|
-
if (failed != null) {
|
|
6796
|
-
this.confirm.form.onFailed = function (result) {
|
|
6797
|
-
_this.confirm.hide();
|
|
6798
|
-
failed(result);
|
|
6799
|
-
};
|
|
6800
|
-
}
|
|
6801
6793
|
this.confirm.show();
|
|
6802
6794
|
};
|
|
6803
6795
|
return ConfirmComponent;
|