ps-toolkit-ui 1.22.24 → 1.22.26

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.
@@ -2600,7 +2600,7 @@
2600
2600
  exports.InputType.PostalCode, exports.InputType.Date, exports.InputType.Time, exports.InputType.BillNumber, exports.InputType.Username, exports.InputType.Url].includes(type) ? ' ltr' : '');
2601
2601
  this.type = type;
2602
2602
  this.value = value;
2603
- this.default = value == null ? null : (typeof value === 'number' || typeof value === 'string' ? _.cloneDeep(value) : HelperClass.clone(value));
2603
+ this.default = value == null ? null : typeof value === 'boolean' ? (value === true) : (typeof value === 'number' || typeof value === 'string' ? _.cloneDeep(value) : HelperClass.clone(value));
2604
2604
  this.baseRequired = required;
2605
2605
  this.required = required;
2606
2606
  this.inEditRequired = required;
@@ -3788,8 +3788,6 @@
3788
3788
  if (this.form && this.form.onTop) {
3789
3789
  this.form.displayLabel = false;
3790
3790
  }
3791
- console.log(11, this.permissions.getAccesses());
3792
- console.log(22, this.permissions.getAccesses().filter(function (x) { return x.InputAction !== exports.PermissionInputActionEnum.None; }));
3793
3791
  var _loop_1 = function (access) {
3794
3792
  if (this_1.buttons.filter(function (x) { return x.name === access.Name; }).length > 0) {
3795
3793
  return "continue";
@@ -3836,9 +3834,6 @@
3836
3834
  };
3837
3835
  }
3838
3836
  else if (access.InputAction === exports.PermissionInputActionEnum.Modal) {
3839
- console.log(33, access.Action);
3840
- console.log(44, this_1.optionsActions);
3841
- console.log(55, this_1.optionsActions.find(function (x) { return x.name === access.Action; }));
3842
3837
  accessInp.modal = this_1.optionsActions.find(function (x) { return x.name === access.Action; });
3843
3838
  accessInp.onClick = function () {
3844
3839
  if (accessInp.modal.table) {