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