ps-toolkit-ui 1.14.28 → 1.14.30

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.
@@ -4190,7 +4190,6 @@
4190
4190
  if (this.inp.allowed != null) {
4191
4191
  isActive = this.isActive(this.active, i);
4192
4192
  }
4193
- console.log(isActive);
4194
4193
  days.push(new DayClass(i, this.isToday(this.active, i), this.isSelected(this.active, i), isActive));
4195
4194
  }
4196
4195
  var end = (days.length + previousDays.length) % 7;
@@ -4215,11 +4214,14 @@
4215
4214
  var start = (_b = (_a = this.inp.allowed.start) === null || _a === void 0 ? void 0 : _a.locale('fa')) !== null && _b !== void 0 ? _b : null;
4216
4215
  var end = (_d = (_c = this.inp.allowed.end) === null || _c === void 0 ? void 0 : _c.locale('fa')) !== null && _d !== void 0 ? _d : null;
4217
4216
  if (start !== null && (parseInt(start.format('jYYYY'), 10) < year || parseInt(start.format('jMM'), 10) < month || parseInt(start.format('jDD'), 10) < d)) {
4217
+ console.log('start', false, parseInt(start.format('jYYYY'), 10), parseInt(start.format('jMM'), 10), parseInt(start.format('jDD'), 10), year, month, d);
4218
4218
  return false;
4219
4219
  }
4220
4220
  if (end !== null && (parseInt(end.format('jYYYY'), 10) > year || parseInt(end.format('jMM'), 10) > month || parseInt(end.format('jDD'), 10) > d)) {
4221
+ console.log('end', false, parseInt(end.format('jYYYY'), 10), parseInt(end.format('jMM'), 10), parseInt(end.format('jDD'), 10), year, month, d);
4221
4222
  return false;
4222
4223
  }
4224
+ console.log(true, parseInt(end.format('jYYYY'), 10), parseInt(end.format('jMM'), 10), parseInt(end.format('jDD'), 10), year, month, d);
4223
4225
  return true;
4224
4226
  };
4225
4227
  FormDateComponent.prototype.isSelected = function (m, d) {