ps-toolkit-ui 1.8.80 → 1.8.82
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 +5 -5
- 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/form/icon/form.icon.component.js +2 -2
- package/esm2015/lib/components/form/select/form.select.component.js +1 -1
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +4 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/modal.class.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3084,7 +3084,7 @@
|
|
|
3084
3084
|
_this.table.form.inputs.filter(function (x) { return !x.inEditVisible; }).forEach(function (x) { return x.visible = false; });
|
|
3085
3085
|
_this.table.form.inputs.forEach(function (x) { return x.required = x.inEditRequired; });
|
|
3086
3086
|
if (_this.table.modal) {
|
|
3087
|
-
_this.table.modal.show(
|
|
3087
|
+
_this.table.modal.show(_this.row.Data);
|
|
3088
3088
|
}
|
|
3089
3089
|
if (_this.table.form.onLoad) {
|
|
3090
3090
|
_this.table.form.onLoad(result);
|
|
@@ -3134,11 +3134,11 @@
|
|
|
3134
3134
|
this.id = this.name;
|
|
3135
3135
|
this.class = cls;
|
|
3136
3136
|
}
|
|
3137
|
-
ModalClass.prototype.show = function (
|
|
3137
|
+
ModalClass.prototype.show = function (data) {
|
|
3138
3138
|
var _this = this;
|
|
3139
|
-
if (
|
|
3139
|
+
if (data === void 0) { data = null; }
|
|
3140
3140
|
if (this.onShow) {
|
|
3141
|
-
this.onShow(
|
|
3141
|
+
this.onShow(data);
|
|
3142
3142
|
}
|
|
3143
3143
|
$__namespace('body').addClass('open-modal');
|
|
3144
3144
|
$__namespace('#' + this.id + 'Modal').fadeIn(300, function () {
|
|
@@ -4278,7 +4278,7 @@
|
|
|
4278
4278
|
if (this.inp.row) {
|
|
4279
4279
|
this.inp.modal.relatedId = this.inp.row.Id;
|
|
4280
4280
|
}
|
|
4281
|
-
this.inp.modal.show();
|
|
4281
|
+
this.inp.modal.show(this.inp.row.Data);
|
|
4282
4282
|
if (this.inp.modal.form) {
|
|
4283
4283
|
this.inp.modal.form.onSuccessBase = function () {
|
|
4284
4284
|
_this.inp.modal.hide();
|