ps-toolkit-ui 1.14.27 → 1.14.28

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