ps-toolkit-ui 1.19.48 → 1.19.50
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 +0 -4
- 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 +1 -2
- package/esm2015/lib/classes/table.class.js +1 -2
- package/esm2015/lib/components/table/row/table.row.component.js +1 -3
- package/fesm2015/ps-toolkit-ui.js +0 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2291,7 +2291,6 @@
|
|
|
2291
2291
|
_this.submit(onSubmit);
|
|
2292
2292
|
};
|
|
2293
2293
|
save.disabled = !insertAccess;
|
|
2294
|
-
console.log(save, save.disabled, this.name);
|
|
2295
2294
|
if (!cls.includes('only-icon')) {
|
|
2296
2295
|
this.inputs.push(br);
|
|
2297
2296
|
}
|
|
@@ -3449,7 +3448,6 @@
|
|
|
3449
3448
|
inp.tooltip = option.Name;
|
|
3450
3449
|
inp.onChange = function () {
|
|
3451
3450
|
_this.row.Data[option.Action] = !inp.data();
|
|
3452
|
-
console.log(_this.table.getOptionUrl(option.Url, _this.table.permissions.RelatedId, _this.row.Data.Id));
|
|
3453
3451
|
new RequestClass(_this.table.environment, _this.table.l).send(_this.table.getOptionUrl(option.Url, _this.table.permissions.RelatedId, _this.row.Data.Id), exports.Method.Post, null, null, function () {
|
|
3454
3452
|
_this.table.load();
|
|
3455
3453
|
}, function () { });
|
|
@@ -3836,7 +3834,6 @@
|
|
|
3836
3834
|
return this.row.Statuses && this.row.Statuses.includes(exports.TableRowStatus.Unread) ? 'unread ' : '';
|
|
3837
3835
|
};
|
|
3838
3836
|
TableRowComponent.prototype.selectRow = function (e) {
|
|
3839
|
-
console.log(this.table.withSelect);
|
|
3840
3837
|
if (this.table.withSelect) {
|
|
3841
3838
|
if ($__namespace(e.target).closest('.handle-con').hasClass('handle-con') || $__namespace(e.target).closest('.options-cell').hasClass('options-cell')) {
|
|
3842
3839
|
return;
|
|
@@ -9647,7 +9644,6 @@
|
|
|
9647
9644
|
finally { if (e_4) throw e_4.error; }
|
|
9648
9645
|
}
|
|
9649
9646
|
if (this.form) {
|
|
9650
|
-
console.log(this.form, this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }));
|
|
9651
9647
|
this.form.addButtons('Save', this.permissions.Type === exports.PermissionTypeEnum.Form ? 'green w-10 only-icon f-l' : 'green', this.permissions.Type !== exports.PermissionTypeEnum.Form, this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }), this.permissions.Type === exports.PermissionTypeEnum.Form ? function (data) {
|
|
9652
9648
|
_this.onTopFormSubmit(data, changeRows);
|
|
9653
9649
|
} : null);
|