ps-toolkit-ui 1.9.65 → 1.9.66
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 +4 -0
- 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/form.class.js +2 -1
- package/esm2015/lib/classes/modal.class.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +4 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/form.class.d.ts +1 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1679,6 +1679,7 @@
|
|
|
1679
1679
|
this.onLoad = null;
|
|
1680
1680
|
this.onBeforeSubmit = null;
|
|
1681
1681
|
this.onHideModal = null;
|
|
1682
|
+
this.onShowModal = null;
|
|
1682
1683
|
this.environment = environment;
|
|
1683
1684
|
this.l = l;
|
|
1684
1685
|
this.url = url;
|
|
@@ -3158,6 +3159,9 @@
|
|
|
3158
3159
|
$__namespace('body').addClass('open-modal');
|
|
3159
3160
|
$__namespace('#' + this.id + 'Modal').fadeIn(300, function () {
|
|
3160
3161
|
if (_this.form != null) {
|
|
3162
|
+
if (_this.form.onShowModal) {
|
|
3163
|
+
_this.form.onShowModal();
|
|
3164
|
+
}
|
|
3161
3165
|
_this.form.focus();
|
|
3162
3166
|
}
|
|
3163
3167
|
});
|