ps-toolkit-ui 1.4.82 → 1.4.83
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 -3
- 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 +3 -3
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +3 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/modal.class.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2892,7 +2892,7 @@
|
|
|
2892
2892
|
_this.table.form.inputs.filter(function (x) { return !x.inEditVisible; }).forEach(function (x) { return x.visible = false; });
|
|
2893
2893
|
_this.table.form.inputs.forEach(function (x) { return x.required = x.inEditRequired; });
|
|
2894
2894
|
if (_this.table.modal) {
|
|
2895
|
-
_this.table.modal.show();
|
|
2895
|
+
_this.table.modal.show(true);
|
|
2896
2896
|
}
|
|
2897
2897
|
});
|
|
2898
2898
|
}
|
|
@@ -2939,10 +2939,11 @@
|
|
|
2939
2939
|
this.id = this.name;
|
|
2940
2940
|
this.class = cls;
|
|
2941
2941
|
}
|
|
2942
|
-
ModalClass.prototype.show = function () {
|
|
2942
|
+
ModalClass.prototype.show = function (isEdit) {
|
|
2943
2943
|
var _this = this;
|
|
2944
|
+
if (isEdit === void 0) { isEdit = false; }
|
|
2944
2945
|
if (this.onShow) {
|
|
2945
|
-
this.onShow();
|
|
2946
|
+
this.onShow(isEdit);
|
|
2946
2947
|
}
|
|
2947
2948
|
$__namespace('body').addClass('open-modal');
|
|
2948
2949
|
$__namespace('#' + this.id + 'Modal').fadeIn(300, function () {
|