barsa-calendar 1.0.340 → 1.0.341

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.
@@ -1319,7 +1319,7 @@ class CalendarSelectionDaysComponent extends BaseComponent {
1319
1319
  const { endDay, startDay } = this.getStartAndEndDay(monthInfo, day);
1320
1320
  this.startSelectedDayIndex = startDay?.index;
1321
1321
  this.endSelectedDayIndex = endDay?.index;
1322
- console.log('-move-', this.startSelectedDay?.index, this.endSelectedDay?.index);
1322
+ // console.log('-move-', this.startSelectedDay?.index, this.endSelectedDay?.index);
1323
1323
  }
1324
1324
  }
1325
1325
  onDayMouseDown(day) {
@@ -1370,7 +1370,7 @@ class CalendarSelectionDaysComponent extends BaseComponent {
1370
1370
  endDay = this.endSelectedDay;
1371
1371
  }
1372
1372
  }
1373
- console.log('-2-', startDay, endDay);
1373
+ // console.log('-2-', startDay, endDay);
1374
1374
  if (startDay && endDay) {
1375
1375
  const diff = Math.abs(startDay.momentOfDate.diff(endDay.momentOfDate, 'day'));
1376
1376
  if (diff > 6) {
@@ -1381,13 +1381,13 @@ class CalendarSelectionDaysComponent extends BaseComponent {
1381
1381
  // indexEnd++;
1382
1382
  // }
1383
1383
  endDay = monthInfo.days[indexEnd * 7 - 1];
1384
- console.log('-3-', startDay, endDay);
1384
+ // console.log('-3-', startDay, endDay);
1385
1385
  }
1386
1386
  }
1387
1387
  return { endDay, startDay };
1388
1388
  }
1389
1389
  _setFirstAndEndDay(monthInfo, popover) {
1390
- console.log('-finish-', this.startSelectedDay, this.endSelectedDay);
1390
+ // console.log('-finish-', this.startSelectedDay, this.endSelectedDay);
1391
1391
  if (this.startSelectedDay && this.endSelectedDay) {
1392
1392
  if (popover) {
1393
1393
  popover.close();