ps-toolkit-ui 1.19.46 → 1.19.48

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.
@@ -2291,6 +2291,7 @@
2291
2291
  _this.submit(onSubmit);
2292
2292
  };
2293
2293
  save.disabled = !insertAccess;
2294
+ console.log(save, save.disabled, this.name);
2294
2295
  if (!cls.includes('only-icon')) {
2295
2296
  this.inputs.push(br);
2296
2297
  }
@@ -9646,10 +9647,7 @@
9646
9647
  finally { if (e_4) throw e_4.error; }
9647
9648
  }
9648
9649
  if (this.form) {
9649
- console.log(this.permissions.Name);
9650
- console.log(this.permissions.getAccesses(), 111);
9651
- console.log(this.permissions.getAccesses().find(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }), 222);
9652
- console.log(this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }), 333);
9650
+ console.log(this.form, this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }));
9653
9651
  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) {
9654
9652
  _this.onTopFormSubmit(data, changeRows);
9655
9653
  } : null);