ps-toolkit-ui 1.12.54 → 1.12.55
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 -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/helper.class.js +2 -2
- package/esm2015/lib/components/confirm/confirm.component.js +2 -8
- package/fesm2015/ps-toolkit-ui.js +2 -8
- 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;
|
|
@@ -6780,9 +6780,8 @@
|
|
|
6780
6780
|
];
|
|
6781
6781
|
this.confirm.form.addButtons('Accept', 'blue', false);
|
|
6782
6782
|
};
|
|
6783
|
-
ConfirmComponent.prototype.show = function (l, url, data, accept
|
|
6783
|
+
ConfirmComponent.prototype.show = function (l, url, data, accept) {
|
|
6784
6784
|
var _this = this;
|
|
6785
|
-
if (failed === void 0) { failed = null; }
|
|
6786
6785
|
this.confirmLabel.value = l;
|
|
6787
6786
|
this.confirm.form.url = url;
|
|
6788
6787
|
this.confirm.form.data = function () {
|
|
@@ -6792,12 +6791,6 @@
|
|
|
6792
6791
|
_this.confirm.hide();
|
|
6793
6792
|
accept(result);
|
|
6794
6793
|
};
|
|
6795
|
-
if (failed != null) {
|
|
6796
|
-
this.confirm.form.onFailed = function (result) {
|
|
6797
|
-
_this.confirm.hide();
|
|
6798
|
-
failed(result);
|
|
6799
|
-
};
|
|
6800
|
-
}
|
|
6801
6794
|
this.confirm.show();
|
|
6802
6795
|
};
|
|
6803
6796
|
return ConfirmComponent;
|