ngx-bootstrap 20.0.2 → 21.0.0

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.
Files changed (74) hide show
  1. package/accordion/fesm2022/ngx-bootstrap-accordion.mjs +15 -15
  2. package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -1
  3. package/alert/fesm2022/ngx-bootstrap-alert.mjs +12 -12
  4. package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -1
  5. package/buttons/fesm2022/ngx-bootstrap-buttons.mjs +25 -16
  6. package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -1
  7. package/buttons/{index.d.ts → types/ngx-bootstrap-buttons.d.ts} +3 -3
  8. package/carousel/fesm2022/ngx-bootstrap-carousel.mjs +15 -15
  9. package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -1
  10. package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -1
  11. package/collapse/fesm2022/ngx-bootstrap-collapse.mjs +7 -7
  12. package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -1
  13. package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs +3 -3
  14. package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs.map +1 -1
  15. package/datepicker/bs-datepicker.css +42 -14
  16. package/datepicker/bs-datepicker.css.map +1 -1
  17. package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs +362 -302
  18. package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -1
  19. package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs +37 -26
  20. package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -1
  21. package/dropdown/{index.d.ts → types/ngx-bootstrap-dropdown.d.ts} +2 -2
  22. package/fesm2022/ngx-bootstrap.mjs.map +1 -1
  23. package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs +19 -19
  24. package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -1
  25. package/locale/fesm2022/ngx-bootstrap-locale.mjs.map +1 -1
  26. package/mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs.map +1 -1
  27. package/modal/fesm2022/ngx-bootstrap-modal.mjs +52 -28
  28. package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -1
  29. package/modal/{index.d.ts → types/ngx-bootstrap-modal.d.ts} +6 -6
  30. package/package.json +7 -7
  31. package/pagination/fesm2022/ngx-bootstrap-pagination.mjs +15 -15
  32. package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -1
  33. package/popover/fesm2022/ngx-bootstrap-popover.mjs +17 -17
  34. package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -1
  35. package/positioning/fesm2022/ngx-bootstrap-positioning.mjs +3 -3
  36. package/positioning/fesm2022/ngx-bootstrap-positioning.mjs.map +1 -1
  37. package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs +14 -15
  38. package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -1
  39. package/rating/fesm2022/ngx-bootstrap-rating.mjs +12 -12
  40. package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -1
  41. package/schematics/utils/current_dependency_versions.json +1 -1
  42. package/sortable/fesm2022/ngx-bootstrap-sortable.mjs +65 -61
  43. package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -1
  44. package/tabs/fesm2022/ngx-bootstrap-tabs.mjs +21 -21
  45. package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -1
  46. package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs +17 -18
  47. package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -1
  48. package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs +13 -13
  49. package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -1
  50. package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs +20 -19
  51. package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -1
  52. package/utils/fesm2022/ngx-bootstrap-utils.mjs.map +1 -1
  53. /package/accordion/{index.d.ts → types/ngx-bootstrap-accordion.d.ts} +0 -0
  54. /package/alert/{index.d.ts → types/ngx-bootstrap-alert.d.ts} +0 -0
  55. /package/carousel/{index.d.ts → types/ngx-bootstrap-carousel.d.ts} +0 -0
  56. /package/chronos/{index.d.ts → types/ngx-bootstrap-chronos.d.ts} +0 -0
  57. /package/collapse/{index.d.ts → types/ngx-bootstrap-collapse.d.ts} +0 -0
  58. /package/component-loader/{index.d.ts → types/ngx-bootstrap-component-loader.d.ts} +0 -0
  59. /package/datepicker/{index.d.ts → types/ngx-bootstrap-datepicker.d.ts} +0 -0
  60. /package/focus-trap/{index.d.ts → types/ngx-bootstrap-focus-trap.d.ts} +0 -0
  61. /package/locale/{index.d.ts → types/ngx-bootstrap-locale.d.ts} +0 -0
  62. /package/mini-ngrx/{index.d.ts → types/ngx-bootstrap-mini-ngrx.d.ts} +0 -0
  63. /package/pagination/{index.d.ts → types/ngx-bootstrap-pagination.d.ts} +0 -0
  64. /package/popover/{index.d.ts → types/ngx-bootstrap-popover.d.ts} +0 -0
  65. /package/positioning/{index.d.ts → types/ngx-bootstrap-positioning.d.ts} +0 -0
  66. /package/progressbar/{index.d.ts → types/ngx-bootstrap-progressbar.d.ts} +0 -0
  67. /package/rating/{index.d.ts → types/ngx-bootstrap-rating.d.ts} +0 -0
  68. /package/sortable/{index.d.ts → types/ngx-bootstrap-sortable.d.ts} +0 -0
  69. /package/tabs/{index.d.ts → types/ngx-bootstrap-tabs.d.ts} +0 -0
  70. /package/timepicker/{index.d.ts → types/ngx-bootstrap-timepicker.d.ts} +0 -0
  71. /package/tooltip/{index.d.ts → types/ngx-bootstrap-tooltip.d.ts} +0 -0
  72. /package/typeahead/{index.d.ts → types/ngx-bootstrap-typeahead.d.ts} +0 -0
  73. /package/{index.d.ts → types/ngx-bootstrap.d.ts} +0 -0
  74. /package/utils/{index.d.ts → types/ngx-bootstrap-utils.d.ts} +0 -0
@@ -9,9 +9,9 @@ import { TimepickerModule } from 'ngx-bootstrap/timepicker';
9
9
  import { trigger, state, transition, style, animate } from '@angular/animations';
10
10
  import { Subscription, BehaviorSubject, combineLatest, Subject } from 'rxjs';
11
11
  import { MiniStore, MiniState } from 'ngx-bootstrap/mini-ngrx';
12
- import { NgFor, NgIf, NgClass, NgSwitch, NgSwitchCase, AsyncPipe, CommonModule } from '@angular/common';
13
12
  import * as i2 from 'ngx-bootstrap/tooltip';
14
13
  import { TooltipModule } from 'ngx-bootstrap/tooltip';
14
+ import { NgClass, AsyncPipe, NgIf, NgSwitch, NgSwitchCase, NgFor, CommonModule } from '@angular/common';
15
15
  import * as i2$1 from 'ngx-bootstrap/component-loader';
16
16
  import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
17
17
  import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
@@ -105,10 +105,10 @@ class BsDatepickerConfig {
105
105
  * */
106
106
  this.keepDatesOutOfRules = false;
107
107
  }
108
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
109
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerConfig, providedIn: 'root' }); }
108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
109
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerConfig, providedIn: 'root' }); }
110
110
  }
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerConfig, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerConfig, decorators: [{
112
112
  type: Injectable,
113
113
  args: [{
114
114
  providedIn: 'root'
@@ -338,10 +338,10 @@ class BsDatepickerActions {
338
338
  payload: locale
339
339
  };
340
340
  }
341
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerActions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
342
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerActions, providedIn: 'platform' }); }
341
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerActions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
342
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerActions, providedIn: 'platform' }); }
343
343
  }
344
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerActions, decorators: [{
344
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerActions, decorators: [{
345
345
  type: Injectable,
346
346
  args: [{ providedIn: 'platform' }]
347
347
  }] });
@@ -367,10 +367,10 @@ class BsLocaleService {
367
367
  }
368
368
  this._locale.next(locale);
369
369
  }
370
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsLocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
371
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsLocaleService, providedIn: 'platform' }); }
370
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsLocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
371
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsLocaleService, providedIn: 'platform' }); }
372
372
  }
373
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsLocaleService, decorators: [{
373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsLocaleService, decorators: [{
374
374
  type: Injectable,
375
375
  args: [{ providedIn: 'platform' }]
376
376
  }] });
@@ -541,10 +541,10 @@ class BsDatepickerEffects {
541
541
  sub.unsubscribe();
542
542
  }
543
543
  }
544
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerEffects, deps: [{ token: BsDatepickerActions }, { token: BsLocaleService }], target: i0.ɵɵFactoryTarget.Injectable }); }
545
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerEffects, providedIn: 'platform' }); }
544
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerEffects, deps: [{ token: BsDatepickerActions }, { token: BsLocaleService }], target: i0.ɵɵFactoryTarget.Injectable }); }
545
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerEffects, providedIn: 'platform' }); }
546
546
  }
547
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerEffects, decorators: [{
547
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerEffects, decorators: [{
548
548
  type: Injectable,
549
549
  args: [{ providedIn: 'platform' }]
550
550
  }], ctorParameters: () => [{ type: BsDatepickerActions }, { type: BsLocaleService }] });
@@ -1369,10 +1369,10 @@ class BsDatepickerStore extends MiniStore {
1369
1369
  const state = new MiniState(initialDatepickerState, _dispatcher, bsDatepickerReducer);
1370
1370
  super(_dispatcher, bsDatepickerReducer, state);
1371
1371
  }
1372
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1373
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerStore, providedIn: 'platform' }); }
1372
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1373
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerStore, providedIn: 'platform' }); }
1374
1374
  }
1375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerStore, decorators: [{
1375
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerStore, decorators: [{
1376
1376
  type: Injectable,
1377
1377
  args: [{ providedIn: 'platform' }]
1378
1378
  }], ctorParameters: () => [] });
@@ -1387,37 +1387,41 @@ class BsCustomDatesViewComponent {
1387
1387
  compareRanges(range) {
1388
1388
  return JSON.stringify(range?.value) === JSON.stringify(this.selectedRange);
1389
1389
  }
1390
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsCustomDatesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1391
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsCustomDatesViewComponent, isStandalone: true, selector: "bs-custom-date-view", inputs: { ranges: "ranges", selectedRange: "selectedRange", customRangeLabel: "customRangeLabel" }, outputs: { onSelect: "onSelect" }, ngImport: i0, template: `
1390
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsCustomDatesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1391
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsCustomDatesViewComponent, isStandalone: true, selector: "bs-custom-date-view", inputs: { ranges: "ranges", selectedRange: "selectedRange", customRangeLabel: "customRangeLabel" }, outputs: { onSelect: "onSelect" }, ngImport: i0, template: `
1392
1392
  <div class="bs-datepicker-predefined-btns">
1393
- <button *ngFor="let range of ranges"
1394
- type="button"
1395
- class="btn"
1396
- (click)="selectFromRanges(range)"
1397
- [class.selected]="compareRanges(range)">
1398
- {{ range.label }}
1399
- </button>
1393
+ @for (range of ranges; track range) {
1394
+ <button
1395
+ type="button"
1396
+ class="btn"
1397
+ (click)="selectFromRanges(range)"
1398
+ [class.selected]="compareRanges(range)">
1399
+ {{ range.label }}
1400
+ </button>
1401
+ }
1400
1402
  </div>
1401
- `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1403
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1402
1404
  }
1403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsCustomDatesViewComponent, decorators: [{
1405
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsCustomDatesViewComponent, decorators: [{
1404
1406
  type: Component,
1405
1407
  args: [{
1406
1408
  selector: 'bs-custom-date-view',
1407
1409
  template: `
1408
1410
  <div class="bs-datepicker-predefined-btns">
1409
- <button *ngFor="let range of ranges"
1410
- type="button"
1411
- class="btn"
1412
- (click)="selectFromRanges(range)"
1413
- [class.selected]="compareRanges(range)">
1414
- {{ range.label }}
1415
- </button>
1411
+ @for (range of ranges; track range) {
1412
+ <button
1413
+ type="button"
1414
+ class="btn"
1415
+ (click)="selectFromRanges(range)"
1416
+ [class.selected]="compareRanges(range)">
1417
+ {{ range.label }}
1418
+ </button>
1419
+ }
1416
1420
  </div>
1417
- `,
1421
+ `,
1418
1422
  changeDetection: ChangeDetectionStrategy.OnPush,
1419
1423
  standalone: true,
1420
- imports: [NgFor]
1424
+ imports: []
1421
1425
  }]
1422
1426
  }], propDecorators: { ranges: [{
1423
1427
  type: Input
@@ -1453,101 +1457,99 @@ class BsDatepickerNavigationViewComponent {
1453
1457
  }
1454
1458
  this.onViewMode.emit(viewMode);
1455
1459
  }
1456
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerNavigationViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1457
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsDatepickerNavigationViewComponent, isStandalone: true, selector: "bs-datepicker-navigation-view", inputs: { calendar: "calendar", isDisabled: "isDisabled" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode" }, ngImport: i0, template: `
1460
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerNavigationViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1461
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsDatepickerNavigationViewComponent, isStandalone: true, selector: "bs-datepicker-navigation-view", inputs: { calendar: "calendar", isDisabled: "isDisabled" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode" }, ngImport: i0, template: `
1458
1462
  <button class="previous"
1459
- [disabled]="calendar.disableLeftArrow"
1460
- [style.visibility]="calendar.hideLeftArrow ? 'hidden' : 'visible'"
1461
- type="button"
1462
- (click)="navTo(true)">
1463
+ [disabled]="calendar.disableLeftArrow"
1464
+ [style.visibility]="calendar.hideLeftArrow ? 'hidden' : 'visible'"
1465
+ type="button"
1466
+ (click)="navTo(true)">
1463
1467
  <span>&lsaquo;</span>
1464
1468
  </button>
1465
-
1466
- <ng-container *ngIf="calendar && calendar.monthTitle">
1469
+
1470
+ @if (calendar && calendar.monthTitle) {
1467
1471
  &#8203; <!-- zero-width space needed for correct alignment
1468
- with preserveWhitespaces: false in Angular -->
1469
-
1472
+ with preserveWhitespaces: false in Angular -->
1470
1473
  <button class="current"
1471
- type="button"
1472
- (click)="view('month')"
1473
- [disabled]="isDisabled"
1474
- ><span>{{ calendar.monthTitle }}</span>
1474
+ type="button"
1475
+ (click)="view('month')"
1476
+ [disabled]="isDisabled"
1477
+ ><span>{{ calendar.monthTitle }}</span>
1475
1478
  </button>
1476
- </ng-container>
1477
-
1479
+ }
1480
+
1478
1481
  &#8203; <!-- zero-width space needed for correct alignment
1479
- with preserveWhitespaces: false in Angular -->
1480
-
1482
+ with preserveWhitespaces: false in Angular -->
1483
+
1481
1484
  <button
1482
1485
  class="current"
1483
1486
  (click)="view('year')"
1484
1487
  type="button"
1485
1488
  [disabled]="isDisabled"
1486
- >
1489
+ >
1487
1490
  <span>{{ calendar.yearTitle }}</span>
1488
1491
  </button>
1489
-
1492
+
1490
1493
  &#8203; <!-- zero-width space needed for correct alignment
1491
- with preserveWhitespaces: false in Angular -->
1492
-
1494
+ with preserveWhitespaces: false in Angular -->
1495
+
1493
1496
  <button class="next"
1494
- [disabled]="calendar.disableRightArrow"
1495
- [style.visibility]="calendar.hideRightArrow ? 'hidden' : 'visible'"
1496
- type="button"
1497
- (click)="navTo(false)"><span>&rsaquo;</span>
1497
+ [disabled]="calendar.disableRightArrow"
1498
+ [style.visibility]="calendar.hideRightArrow ? 'hidden' : 'visible'"
1499
+ type="button"
1500
+ (click)="navTo(false)"><span>&rsaquo;</span>
1498
1501
  </button>
1499
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1502
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1500
1503
  }
1501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerNavigationViewComponent, decorators: [{
1504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerNavigationViewComponent, decorators: [{
1502
1505
  type: Component,
1503
1506
  args: [{
1504
1507
  selector: 'bs-datepicker-navigation-view',
1505
1508
  changeDetection: ChangeDetectionStrategy.OnPush,
1506
1509
  template: `
1507
1510
  <button class="previous"
1508
- [disabled]="calendar.disableLeftArrow"
1509
- [style.visibility]="calendar.hideLeftArrow ? 'hidden' : 'visible'"
1510
- type="button"
1511
- (click)="navTo(true)">
1511
+ [disabled]="calendar.disableLeftArrow"
1512
+ [style.visibility]="calendar.hideLeftArrow ? 'hidden' : 'visible'"
1513
+ type="button"
1514
+ (click)="navTo(true)">
1512
1515
  <span>&lsaquo;</span>
1513
1516
  </button>
1514
-
1515
- <ng-container *ngIf="calendar && calendar.monthTitle">
1517
+
1518
+ @if (calendar && calendar.monthTitle) {
1516
1519
  &#8203; <!-- zero-width space needed for correct alignment
1517
- with preserveWhitespaces: false in Angular -->
1518
-
1520
+ with preserveWhitespaces: false in Angular -->
1519
1521
  <button class="current"
1520
- type="button"
1521
- (click)="view('month')"
1522
- [disabled]="isDisabled"
1523
- ><span>{{ calendar.monthTitle }}</span>
1522
+ type="button"
1523
+ (click)="view('month')"
1524
+ [disabled]="isDisabled"
1525
+ ><span>{{ calendar.monthTitle }}</span>
1524
1526
  </button>
1525
- </ng-container>
1526
-
1527
+ }
1528
+
1527
1529
  &#8203; <!-- zero-width space needed for correct alignment
1528
- with preserveWhitespaces: false in Angular -->
1529
-
1530
+ with preserveWhitespaces: false in Angular -->
1531
+
1530
1532
  <button
1531
1533
  class="current"
1532
1534
  (click)="view('year')"
1533
1535
  type="button"
1534
1536
  [disabled]="isDisabled"
1535
- >
1537
+ >
1536
1538
  <span>{{ calendar.yearTitle }}</span>
1537
1539
  </button>
1538
-
1540
+
1539
1541
  &#8203; <!-- zero-width space needed for correct alignment
1540
- with preserveWhitespaces: false in Angular -->
1541
-
1542
+ with preserveWhitespaces: false in Angular -->
1543
+
1542
1544
  <button class="next"
1543
- [disabled]="calendar.disableRightArrow"
1544
- [style.visibility]="calendar.hideRightArrow ? 'hidden' : 'visible'"
1545
- type="button"
1546
- (click)="navTo(false)"><span>&rsaquo;</span>
1545
+ [disabled]="calendar.disableRightArrow"
1546
+ [style.visibility]="calendar.hideRightArrow ? 'hidden' : 'visible'"
1547
+ type="button"
1548
+ (click)="navTo(false)"><span>&rsaquo;</span>
1547
1549
  </button>
1548
- `,
1550
+ `,
1549
1551
  standalone: true,
1550
- imports: [NgIf]
1552
+ imports: []
1551
1553
  }]
1552
1554
  }], propDecorators: { calendar: [{
1553
1555
  type: Input
@@ -1565,8 +1567,8 @@ class BsTimepickerViewComponent {
1565
1567
  this.hours = 0;
1566
1568
  this.minutes = 0;
1567
1569
  }
1568
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsTimepickerViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1569
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsTimepickerViewComponent, isStandalone: true, selector: "bs-timepicker", ngImport: i0, template: `
1570
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsTimepickerViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1571
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: BsTimepickerViewComponent, isStandalone: true, selector: "bs-timepicker", ngImport: i0, template: `
1570
1572
  <div class="bs-timepicker-container">
1571
1573
  <div class="bs-timepicker-controls">
1572
1574
  <button class="bs-decrease" type="button">-</button>
@@ -1586,7 +1588,7 @@ class BsTimepickerViewComponent {
1586
1588
  </div>
1587
1589
  `, isInline: true }); }
1588
1590
  }
1589
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsTimepickerViewComponent, decorators: [{
1591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsTimepickerViewComponent, decorators: [{
1590
1592
  type: Component,
1591
1593
  args: [{
1592
1594
  selector: 'bs-timepicker',
@@ -1614,10 +1616,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
1614
1616
  }] });
1615
1617
 
1616
1618
  class BsCurrentDateViewComponent {
1617
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsCurrentDateViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1618
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsCurrentDateViewComponent, isStandalone: true, selector: "bs-current-date", inputs: { title: "title" }, ngImport: i0, template: `<div class="current-timedate"><span>{{ title }}</span></div>`, isInline: true }); }
1619
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsCurrentDateViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1620
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: BsCurrentDateViewComponent, isStandalone: true, selector: "bs-current-date", inputs: { title: "title" }, ngImport: i0, template: `<div class="current-timedate"><span>{{ title }}</span></div>`, isInline: true }); }
1619
1621
  }
1620
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsCurrentDateViewComponent, decorators: [{
1622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsCurrentDateViewComponent, decorators: [{
1621
1623
  type: Component,
1622
1624
  args: [{
1623
1625
  selector: 'bs-current-date',
@@ -1629,46 +1631,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
1629
1631
  }] } });
1630
1632
 
1631
1633
  class BsCalendarLayoutComponent {
1632
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsCalendarLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1633
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsCalendarLayoutComponent, isStandalone: true, selector: "bs-calendar-layout", ngImport: i0, template: `
1634
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsCalendarLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1635
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsCalendarLayoutComponent, isStandalone: true, selector: "bs-calendar-layout", ngImport: i0, template: `
1634
1636
  <!-- current date, will be added in nearest releases -->
1635
- <bs-current-date title="hey there" *ngIf="false"></bs-current-date>
1636
-
1637
+ @if (false) {
1638
+ <bs-current-date title="hey there"></bs-current-date>
1639
+ }
1640
+
1637
1641
  <!--navigation-->
1638
1642
  <div class="bs-datepicker-head">
1639
1643
  <ng-content select="bs-datepicker-navigation-view"></ng-content>
1640
1644
  </div>
1641
-
1645
+
1642
1646
  <div class="bs-datepicker-body">
1643
1647
  <ng-content></ng-content>
1644
1648
  </div>
1645
-
1649
+
1646
1650
  <!--timepicker-->
1647
- <bs-timepicker *ngIf="false"></bs-timepicker>
1648
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: BsCurrentDateViewComponent, selector: "bs-current-date", inputs: ["title"] }, { kind: "component", type: BsTimepickerViewComponent, selector: "bs-timepicker" }] }); }
1651
+ @if (false) {
1652
+ <bs-timepicker></bs-timepicker>
1653
+ }
1654
+ `, isInline: true, dependencies: [{ kind: "component", type: BsCurrentDateViewComponent, selector: "bs-current-date", inputs: ["title"] }, { kind: "component", type: BsTimepickerViewComponent, selector: "bs-timepicker" }] }); }
1649
1655
  }
1650
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsCalendarLayoutComponent, decorators: [{
1656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsCalendarLayoutComponent, decorators: [{
1651
1657
  type: Component,
1652
1658
  args: [{
1653
1659
  selector: 'bs-calendar-layout',
1654
1660
  template: `
1655
1661
  <!-- current date, will be added in nearest releases -->
1656
- <bs-current-date title="hey there" *ngIf="false"></bs-current-date>
1657
-
1662
+ @if (false) {
1663
+ <bs-current-date title="hey there"></bs-current-date>
1664
+ }
1665
+
1658
1666
  <!--navigation-->
1659
1667
  <div class="bs-datepicker-head">
1660
1668
  <ng-content select="bs-datepicker-navigation-view"></ng-content>
1661
1669
  </div>
1662
-
1670
+
1663
1671
  <div class="bs-datepicker-body">
1664
1672
  <ng-content></ng-content>
1665
1673
  </div>
1666
-
1674
+
1667
1675
  <!--timepicker-->
1668
- <bs-timepicker *ngIf="false"></bs-timepicker>
1669
- `,
1676
+ @if (false) {
1677
+ <bs-timepicker></bs-timepicker>
1678
+ }
1679
+ `,
1670
1680
  standalone: true,
1671
- imports: [NgIf, BsCurrentDateViewComponent, BsTimepickerViewComponent]
1681
+ imports: [BsCurrentDateViewComponent, BsTimepickerViewComponent]
1672
1682
  }]
1673
1683
  }] });
1674
1684
 
@@ -1692,33 +1702,37 @@ class BsYearsCalendarViewComponent {
1692
1702
  changeViewMode(event) {
1693
1703
  this.onViewMode.emit(event);
1694
1704
  }
1695
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsYearsCalendarViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1696
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsYearsCalendarViewComponent, isStandalone: true, selector: "bs-years-calendar-view", inputs: { calendar: "calendar" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover" }, ngImport: i0, template: `
1705
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsYearsCalendarViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1706
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsYearsCalendarViewComponent, isStandalone: true, selector: "bs-years-calendar-view", inputs: { calendar: "calendar" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover" }, ngImport: i0, template: `
1697
1707
  <bs-calendar-layout>
1698
1708
  <bs-datepicker-navigation-view
1699
1709
  [calendar]="calendar"
1700
1710
  (onNavigate)="navigateTo($event)"
1701
1711
  (onViewMode)="changeViewMode($event)"
1702
1712
  ></bs-datepicker-navigation-view>
1703
-
1713
+
1704
1714
  <table role="grid" class="years">
1705
1715
  <tbody>
1706
- <tr *ngFor="let row of calendar?.years">
1707
- <td *ngFor="let year of row" role="gridcell"
1708
- (click)="viewYear(year)"
1709
- (mouseenter)="hoverYear(year, true)"
1710
- (mouseleave)="hoverYear(year, false)"
1711
- [class.disabled]="year.isDisabled"
1712
- [class.is-highlighted]="year.isHovered">
1713
- <span [class.selected]="year.isSelected">{{ year.label }}</span>
1714
- </td>
1715
- </tr>
1716
+ @for (row of calendar?.years; track row) {
1717
+ <tr>
1718
+ @for (year of row; track year) {
1719
+ <td role="gridcell"
1720
+ (click)="viewYear(year)"
1721
+ (mouseenter)="hoverYear(year, true)"
1722
+ (mouseleave)="hoverYear(year, false)"
1723
+ [class.disabled]="year.isDisabled"
1724
+ [class.is-highlighted]="year.isHovered">
1725
+ <span [class.selected]="year.isSelected">{{ year.label }}</span>
1726
+ </td>
1727
+ }
1728
+ </tr>
1729
+ }
1716
1730
  </tbody>
1717
1731
  </table>
1718
1732
  </bs-calendar-layout>
1719
- `, isInline: true, dependencies: [{ kind: "component", type: BsCalendarLayoutComponent, selector: "bs-calendar-layout" }, { kind: "component", type: BsDatepickerNavigationViewComponent, selector: "bs-datepicker-navigation-view", inputs: ["calendar", "isDisabled"], outputs: ["onNavigate", "onViewMode"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
1733
+ `, isInline: true, dependencies: [{ kind: "component", type: BsCalendarLayoutComponent, selector: "bs-calendar-layout" }, { kind: "component", type: BsDatepickerNavigationViewComponent, selector: "bs-datepicker-navigation-view", inputs: ["calendar", "isDisabled"], outputs: ["onNavigate", "onViewMode"] }] }); }
1720
1734
  }
1721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsYearsCalendarViewComponent, decorators: [{
1735
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsYearsCalendarViewComponent, decorators: [{
1722
1736
  type: Component,
1723
1737
  args: [{
1724
1738
  selector: 'bs-years-calendar-view',
@@ -1729,25 +1743,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
1729
1743
  (onNavigate)="navigateTo($event)"
1730
1744
  (onViewMode)="changeViewMode($event)"
1731
1745
  ></bs-datepicker-navigation-view>
1732
-
1746
+
1733
1747
  <table role="grid" class="years">
1734
1748
  <tbody>
1735
- <tr *ngFor="let row of calendar?.years">
1736
- <td *ngFor="let year of row" role="gridcell"
1737
- (click)="viewYear(year)"
1738
- (mouseenter)="hoverYear(year, true)"
1739
- (mouseleave)="hoverYear(year, false)"
1740
- [class.disabled]="year.isDisabled"
1741
- [class.is-highlighted]="year.isHovered">
1742
- <span [class.selected]="year.isSelected">{{ year.label }}</span>
1743
- </td>
1744
- </tr>
1749
+ @for (row of calendar?.years; track row) {
1750
+ <tr>
1751
+ @for (year of row; track year) {
1752
+ <td role="gridcell"
1753
+ (click)="viewYear(year)"
1754
+ (mouseenter)="hoverYear(year, true)"
1755
+ (mouseleave)="hoverYear(year, false)"
1756
+ [class.disabled]="year.isDisabled"
1757
+ [class.is-highlighted]="year.isHovered">
1758
+ <span [class.selected]="year.isSelected">{{ year.label }}</span>
1759
+ </td>
1760
+ }
1761
+ </tr>
1762
+ }
1745
1763
  </tbody>
1746
1764
  </table>
1747
1765
  </bs-calendar-layout>
1748
- `,
1766
+ `,
1749
1767
  standalone: true,
1750
- imports: [BsCalendarLayoutComponent, BsDatepickerNavigationViewComponent, NgFor]
1768
+ imports: [BsCalendarLayoutComponent, BsDatepickerNavigationViewComponent]
1751
1769
  }]
1752
1770
  }], propDecorators: { calendar: [{
1753
1771
  type: Input
@@ -1781,33 +1799,37 @@ class BsMonthCalendarViewComponent {
1781
1799
  changeViewMode(event) {
1782
1800
  this.onViewMode.emit(event);
1783
1801
  }
1784
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsMonthCalendarViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1785
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsMonthCalendarViewComponent, isStandalone: true, selector: "bs-month-calendar-view", inputs: { calendar: "calendar" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover" }, ngImport: i0, template: `
1802
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsMonthCalendarViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1803
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsMonthCalendarViewComponent, isStandalone: true, selector: "bs-month-calendar-view", inputs: { calendar: "calendar" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover" }, ngImport: i0, template: `
1786
1804
  <bs-calendar-layout>
1787
1805
  <bs-datepicker-navigation-view
1788
1806
  [calendar]="calendar"
1789
1807
  (onNavigate)="navigateTo($event)"
1790
1808
  (onViewMode)="changeViewMode($event)"
1791
1809
  ></bs-datepicker-navigation-view>
1792
-
1810
+
1793
1811
  <table role="grid" class="months">
1794
1812
  <tbody>
1795
- <tr *ngFor="let row of calendar?.months">
1796
- <td *ngFor="let month of row" role="gridcell"
1797
- (click)="viewMonth(month)"
1798
- (mouseenter)="hoverMonth(month, true)"
1799
- (mouseleave)="hoverMonth(month, false)"
1800
- [class.disabled]="month.isDisabled"
1801
- [class.is-highlighted]="month.isHovered">
1802
- <span [class.selected]="month.isSelected">{{ month.label }}</span>
1803
- </td>
1804
- </tr>
1813
+ @for (row of calendar?.months; track row) {
1814
+ <tr>
1815
+ @for (month of row; track month) {
1816
+ <td role="gridcell"
1817
+ (click)="viewMonth(month)"
1818
+ (mouseenter)="hoverMonth(month, true)"
1819
+ (mouseleave)="hoverMonth(month, false)"
1820
+ [class.disabled]="month.isDisabled"
1821
+ [class.is-highlighted]="month.isHovered">
1822
+ <span [class.selected]="month.isSelected">{{ month.label }}</span>
1823
+ </td>
1824
+ }
1825
+ </tr>
1826
+ }
1805
1827
  </tbody>
1806
1828
  </table>
1807
1829
  </bs-calendar-layout>
1808
- `, isInline: true, dependencies: [{ kind: "component", type: BsCalendarLayoutComponent, selector: "bs-calendar-layout" }, { kind: "component", type: BsDatepickerNavigationViewComponent, selector: "bs-datepicker-navigation-view", inputs: ["calendar", "isDisabled"], outputs: ["onNavigate", "onViewMode"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
1830
+ `, isInline: true, dependencies: [{ kind: "component", type: BsCalendarLayoutComponent, selector: "bs-calendar-layout" }, { kind: "component", type: BsDatepickerNavigationViewComponent, selector: "bs-datepicker-navigation-view", inputs: ["calendar", "isDisabled"], outputs: ["onNavigate", "onViewMode"] }] }); }
1809
1831
  }
1810
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsMonthCalendarViewComponent, decorators: [{
1832
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsMonthCalendarViewComponent, decorators: [{
1811
1833
  type: Component,
1812
1834
  args: [{
1813
1835
  selector: 'bs-month-calendar-view',
@@ -1818,25 +1840,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
1818
1840
  (onNavigate)="navigateTo($event)"
1819
1841
  (onViewMode)="changeViewMode($event)"
1820
1842
  ></bs-datepicker-navigation-view>
1821
-
1843
+
1822
1844
  <table role="grid" class="months">
1823
1845
  <tbody>
1824
- <tr *ngFor="let row of calendar?.months">
1825
- <td *ngFor="let month of row" role="gridcell"
1826
- (click)="viewMonth(month)"
1827
- (mouseenter)="hoverMonth(month, true)"
1828
- (mouseleave)="hoverMonth(month, false)"
1829
- [class.disabled]="month.isDisabled"
1830
- [class.is-highlighted]="month.isHovered">
1831
- <span [class.selected]="month.isSelected">{{ month.label }}</span>
1832
- </td>
1833
- </tr>
1846
+ @for (row of calendar?.months; track row) {
1847
+ <tr>
1848
+ @for (month of row; track month) {
1849
+ <td role="gridcell"
1850
+ (click)="viewMonth(month)"
1851
+ (mouseenter)="hoverMonth(month, true)"
1852
+ (mouseleave)="hoverMonth(month, false)"
1853
+ [class.disabled]="month.isDisabled"
1854
+ [class.is-highlighted]="month.isHovered">
1855
+ <span [class.selected]="month.isSelected">{{ month.label }}</span>
1856
+ </td>
1857
+ }
1858
+ </tr>
1859
+ }
1834
1860
  </tbody>
1835
1861
  </table>
1836
1862
  </bs-calendar-layout>
1837
- `,
1863
+ `,
1838
1864
  standalone: true,
1839
- imports: [BsCalendarLayoutComponent, BsDatepickerNavigationViewComponent, NgFor]
1865
+ imports: [BsCalendarLayoutComponent, BsDatepickerNavigationViewComponent]
1840
1866
  }]
1841
1867
  }], propDecorators: { calendar: [{
1842
1868
  type: Input
@@ -1869,10 +1895,10 @@ class BsDatepickerDayDecoratorComponent {
1869
1895
  });
1870
1896
  }
1871
1897
  }
1872
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerDayDecoratorComponent, deps: [{ token: BsDatepickerConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1873
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsDatepickerDayDecoratorComponent, isStandalone: true, selector: "[bsDatepickerDayDecorator]", inputs: { day: "day" }, host: { properties: { "class.disabled": "day.isDisabled", "class.is-highlighted": "day.isHovered", "class.is-other-month": "day.isOtherMonth", "class.is-active-other-month": "day.isOtherMonthHovered", "class.in-range": "day.isInRange", "class.select-start": "day.isSelectionStart", "class.select-end": "day.isSelectionEnd", "class.selected": "day.isSelected" } }, ngImport: i0, template: `{{ day && day.label || '' }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1898
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerDayDecoratorComponent, deps: [{ token: BsDatepickerConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1899
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: BsDatepickerDayDecoratorComponent, isStandalone: true, selector: "[bsDatepickerDayDecorator]", inputs: { day: "day" }, host: { properties: { "class.disabled": "day.isDisabled", "class.is-highlighted": "day.isHovered", "class.is-other-month": "day.isOtherMonth", "class.is-active-other-month": "day.isOtherMonthHovered", "class.in-range": "day.isInRange", "class.select-start": "day.isSelectionStart", "class.select-end": "day.isSelectionEnd", "class.selected": "day.isSelected" } }, ngImport: i0, template: `{{ day && day.label || '' }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1874
1900
  }
1875
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerDayDecoratorComponent, decorators: [{
1901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerDayDecoratorComponent, decorators: [{
1876
1902
  type: Component,
1877
1903
  args: [{
1878
1904
  selector: '[bsDatepickerDayDecorator]',
@@ -1977,8 +2003,8 @@ class BsDaysCalendarViewComponent {
1977
2003
  }
1978
2004
  this.onHover.emit({ cell, isHovered });
1979
2005
  }
1980
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaysCalendarViewComponent, deps: [{ token: BsDatepickerConfig }], target: i0.ɵɵFactoryTarget.Component }); }
1981
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsDaysCalendarViewComponent, isStandalone: true, selector: "bs-days-calendar-view", inputs: { calendar: "calendar", options: "options", isDisabled: "isDisabled" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover", onHoverWeek: "onHoverWeek" }, ngImport: i0, template: `
2006
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaysCalendarViewComponent, deps: [{ token: BsDatepickerConfig }], target: i0.ɵɵFactoryTarget.Component }); }
2007
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsDaysCalendarViewComponent, isStandalone: true, selector: "bs-days-calendar-view", inputs: { calendar: "calendar", options: "options", isDisabled: "isDisabled" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover", onHoverWeek: "onHoverWeek" }, ngImport: i0, template: `
1982
2008
  <bs-calendar-layout>
1983
2009
  <bs-datepicker-navigation-view
1984
2010
  [calendar]="calendar"
@@ -1989,52 +2015,70 @@ class BsDaysCalendarViewComponent {
1989
2015
  <!--days matrix-->
1990
2016
  <table role="grid" class="days weeks">
1991
2017
  <thead>
1992
- <tr>
1993
- <!--if show weeks-->
1994
- <th *ngIf="options && options.showWeekNumbers"></th>
1995
- <th *ngFor="let weekday of calendar.weekdays; let i = index"
1996
- aria-label="weekday">{{ calendar.weekdays[i] }}
1997
- </th>
1998
- </tr>
2018
+ <tr>
2019
+ <!--if show weeks-->
2020
+ @if (options && options.showWeekNumbers) {
2021
+ <th></th>
2022
+ }
2023
+ @for (weekday of calendar.weekdays; track weekday; let i = $index) {
2024
+ <th
2025
+ aria-label="weekday">{{ calendar.weekdays[i] }}
2026
+ </th>
2027
+ }
2028
+ </tr>
1999
2029
  </thead>
2000
2030
  <tbody>
2001
- <tr *ngFor="let week of calendar.weeks; let i = index">
2002
- <td class="week" [class.active-week]="isWeekHovered" *ngIf="options && options.showWeekNumbers">
2003
- <span *ngIf="isiOS" (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
2004
- <span *ngIf="!isiOS"
2005
- (click)="selectWeek(week)"
2006
- (mouseenter)="weekHoverHandler(week, true)"
2007
- (mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
2008
- </td>
2009
- <td *ngFor="let day of week.days" role="gridcell">
2010
-
2011
- <!-- When we want to show tooltips for dates -->
2012
- <span *ngIf="!isiOS && isShowTooltip" bsDatepickerDayDecorator
2013
- [day]="day"
2014
- (click)="selectDay(day)"
2015
- tooltip="{{day.tooltipText}}"
2016
- (mouseenter)="hoverDay(day, true)"
2017
- (mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
2018
- <!-- When tooltips for dates are disabled -->
2019
- <span *ngIf="!isiOS && !isShowTooltip" bsDatepickerDayDecorator
2020
- [day]="day"
2021
- (click)="selectDay(day)"
2022
- (mouseenter)="hoverDay(day, true)"
2023
- (mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
2024
-
2025
- <!-- For mobile iOS view, tooltips are not needed -->
2026
- <span *ngIf="isiOS" bsDatepickerDayDecorator
2027
- [day]="day"
2028
- (click)="selectDay(day)">{{ day.label }} 1</span>
2029
- </td>
2030
- </tr>
2031
+ @for (week of calendar.weeks; track week; let i = $index) {
2032
+ <tr>
2033
+ @if (options && options.showWeekNumbers) {
2034
+ <td class="week" [class.active-week]="isWeekHovered" >
2035
+ @if (isiOS) {
2036
+ <span (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
2037
+ }
2038
+ @if (!isiOS) {
2039
+ <span
2040
+ (click)="selectWeek(week)"
2041
+ (mouseenter)="weekHoverHandler(week, true)"
2042
+ (mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
2043
+ }
2044
+ </td>
2045
+ }
2046
+ @for (day of week.days; track day) {
2047
+ <td role="gridcell">
2048
+ <!-- When we want to show tooltips for dates -->
2049
+ @if (!isiOS && isShowTooltip) {
2050
+ <span bsDatepickerDayDecorator
2051
+ [day]="day"
2052
+ (click)="selectDay(day)"
2053
+ tooltip="{{day.tooltipText}}"
2054
+ (mouseenter)="hoverDay(day, true)"
2055
+ (mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
2056
+ }
2057
+ <!-- When tooltips for dates are disabled -->
2058
+ @if (!isiOS && !isShowTooltip) {
2059
+ <span bsDatepickerDayDecorator
2060
+ [day]="day"
2061
+ (click)="selectDay(day)"
2062
+ (mouseenter)="hoverDay(day, true)"
2063
+ (mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
2064
+ }
2065
+ <!-- For mobile iOS view, tooltips are not needed -->
2066
+ @if (isiOS) {
2067
+ <span bsDatepickerDayDecorator
2068
+ [day]="day"
2069
+ (click)="selectDay(day)">{{ day.label }} 1</span>
2070
+ }
2071
+ </td>
2072
+ }
2073
+ </tr>
2074
+ }
2031
2075
  </tbody>
2032
2076
  </table>
2033
-
2077
+
2034
2078
  </bs-calendar-layout>
2035
- `, isInline: true, dependencies: [{ kind: "component", type: BsCalendarLayoutComponent, selector: "bs-calendar-layout" }, { kind: "component", type: BsDatepickerNavigationViewComponent, selector: "bs-datepicker-navigation-view", inputs: ["calendar", "isDisabled"], outputs: ["onNavigate", "onViewMode"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: BsDatepickerDayDecoratorComponent, selector: "[bsDatepickerDayDecorator]", inputs: ["day"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.TooltipDirective, selector: "[tooltip], [tooltipHtml]", inputs: ["adaptivePosition", "tooltip", "placement", "triggers", "container", "containerClass", "boundariesElement", "isOpen", "isDisabled", "delay", "tooltipHtml", "tooltipPlacement", "tooltipIsOpen", "tooltipEnable", "tooltipAppendToBody", "tooltipAnimation", "tooltipClass", "tooltipContext", "tooltipPopupDelay", "tooltipFadeDuration", "tooltipTrigger"], outputs: ["tooltipChange", "onShown", "onHidden", "tooltipStateChanged"], exportAs: ["bs-tooltip"] }] }); }
2079
+ `, isInline: true, dependencies: [{ kind: "component", type: BsCalendarLayoutComponent, selector: "bs-calendar-layout" }, { kind: "component", type: BsDatepickerNavigationViewComponent, selector: "bs-datepicker-navigation-view", inputs: ["calendar", "isDisabled"], outputs: ["onNavigate", "onViewMode"] }, { kind: "component", type: BsDatepickerDayDecoratorComponent, selector: "[bsDatepickerDayDecorator]", inputs: ["day"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.TooltipDirective, selector: "[tooltip], [tooltipHtml]", inputs: ["adaptivePosition", "tooltip", "placement", "triggers", "container", "containerClass", "boundariesElement", "isOpen", "isDisabled", "delay", "tooltipHtml", "tooltipPlacement", "tooltipIsOpen", "tooltipEnable", "tooltipAppendToBody", "tooltipAnimation", "tooltipClass", "tooltipContext", "tooltipPopupDelay", "tooltipFadeDuration", "tooltipTrigger"], outputs: ["tooltipChange", "onShown", "onHidden", "tooltipStateChanged"], exportAs: ["bs-tooltip"] }] }); }
2036
2080
  }
2037
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaysCalendarViewComponent, decorators: [{
2081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaysCalendarViewComponent, decorators: [{
2038
2082
  type: Component,
2039
2083
  args: [{
2040
2084
  selector: 'bs-days-calendar-view',
@@ -2050,52 +2094,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
2050
2094
  <!--days matrix-->
2051
2095
  <table role="grid" class="days weeks">
2052
2096
  <thead>
2053
- <tr>
2054
- <!--if show weeks-->
2055
- <th *ngIf="options && options.showWeekNumbers"></th>
2056
- <th *ngFor="let weekday of calendar.weekdays; let i = index"
2057
- aria-label="weekday">{{ calendar.weekdays[i] }}
2058
- </th>
2059
- </tr>
2097
+ <tr>
2098
+ <!--if show weeks-->
2099
+ @if (options && options.showWeekNumbers) {
2100
+ <th></th>
2101
+ }
2102
+ @for (weekday of calendar.weekdays; track weekday; let i = $index) {
2103
+ <th
2104
+ aria-label="weekday">{{ calendar.weekdays[i] }}
2105
+ </th>
2106
+ }
2107
+ </tr>
2060
2108
  </thead>
2061
2109
  <tbody>
2062
- <tr *ngFor="let week of calendar.weeks; let i = index">
2063
- <td class="week" [class.active-week]="isWeekHovered" *ngIf="options && options.showWeekNumbers">
2064
- <span *ngIf="isiOS" (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
2065
- <span *ngIf="!isiOS"
2066
- (click)="selectWeek(week)"
2067
- (mouseenter)="weekHoverHandler(week, true)"
2068
- (mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
2069
- </td>
2070
- <td *ngFor="let day of week.days" role="gridcell">
2071
-
2072
- <!-- When we want to show tooltips for dates -->
2073
- <span *ngIf="!isiOS && isShowTooltip" bsDatepickerDayDecorator
2074
- [day]="day"
2075
- (click)="selectDay(day)"
2076
- tooltip="{{day.tooltipText}}"
2077
- (mouseenter)="hoverDay(day, true)"
2078
- (mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
2079
- <!-- When tooltips for dates are disabled -->
2080
- <span *ngIf="!isiOS && !isShowTooltip" bsDatepickerDayDecorator
2081
- [day]="day"
2082
- (click)="selectDay(day)"
2083
- (mouseenter)="hoverDay(day, true)"
2084
- (mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
2085
-
2086
- <!-- For mobile iOS view, tooltips are not needed -->
2087
- <span *ngIf="isiOS" bsDatepickerDayDecorator
2088
- [day]="day"
2089
- (click)="selectDay(day)">{{ day.label }} 1</span>
2090
- </td>
2091
- </tr>
2110
+ @for (week of calendar.weeks; track week; let i = $index) {
2111
+ <tr>
2112
+ @if (options && options.showWeekNumbers) {
2113
+ <td class="week" [class.active-week]="isWeekHovered" >
2114
+ @if (isiOS) {
2115
+ <span (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
2116
+ }
2117
+ @if (!isiOS) {
2118
+ <span
2119
+ (click)="selectWeek(week)"
2120
+ (mouseenter)="weekHoverHandler(week, true)"
2121
+ (mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
2122
+ }
2123
+ </td>
2124
+ }
2125
+ @for (day of week.days; track day) {
2126
+ <td role="gridcell">
2127
+ <!-- When we want to show tooltips for dates -->
2128
+ @if (!isiOS && isShowTooltip) {
2129
+ <span bsDatepickerDayDecorator
2130
+ [day]="day"
2131
+ (click)="selectDay(day)"
2132
+ tooltip="{{day.tooltipText}}"
2133
+ (mouseenter)="hoverDay(day, true)"
2134
+ (mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
2135
+ }
2136
+ <!-- When tooltips for dates are disabled -->
2137
+ @if (!isiOS && !isShowTooltip) {
2138
+ <span bsDatepickerDayDecorator
2139
+ [day]="day"
2140
+ (click)="selectDay(day)"
2141
+ (mouseenter)="hoverDay(day, true)"
2142
+ (mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
2143
+ }
2144
+ <!-- For mobile iOS view, tooltips are not needed -->
2145
+ @if (isiOS) {
2146
+ <span bsDatepickerDayDecorator
2147
+ [day]="day"
2148
+ (click)="selectDay(day)">{{ day.label }} 1</span>
2149
+ }
2150
+ </td>
2151
+ }
2152
+ </tr>
2153
+ }
2092
2154
  </tbody>
2093
2155
  </table>
2094
-
2156
+
2095
2157
  </bs-calendar-layout>
2096
- `,
2158
+ `,
2097
2159
  standalone: true,
2098
- imports: [BsCalendarLayoutComponent, BsDatepickerNavigationViewComponent, NgIf, NgFor, BsDatepickerDayDecoratorComponent, TooltipModule]
2160
+ imports: [BsCalendarLayoutComponent, BsDatepickerNavigationViewComponent, BsDatepickerDayDecoratorComponent, TooltipModule]
2099
2161
  }]
2100
2162
  }], ctorParameters: () => [{ type: BsDatepickerConfig }], propDecorators: { calendar: [{
2101
2163
  type: Input
@@ -2266,19 +2328,17 @@ class BsDatepickerContainerComponent extends BsDatepickerAbstractComponent {
2266
2328
  this.selectedTimeSub.unsubscribe();
2267
2329
  this._effects?.destroy();
2268
2330
  }
2269
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerContainerComponent, deps: [{ token: i0.Renderer2 }, { token: BsDatepickerConfig }, { token: BsDatepickerStore }, { token: i0.ElementRef }, { token: BsDatepickerActions }, { token: BsDatepickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component }); }
2270
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsDatepickerContainerComponent, isStandalone: true, selector: "bs-datepicker-container", host: { attributes: { "role": "dialog", "aria-label": "calendar" }, listeners: { "click": "_stopPropagation($event)" }, properties: { "attr.disabled": "this.isDatepickerDisabled", "attr.readonly": "this.isDatepickerReadonly" }, classAttribute: "bottom" }, providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], viewQueries: [{ propertyName: "startTimepicker", first: true, predicate: ["startTP"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <ng-container *ngSwitchCase=\"'day'\">\n <div class=\"bs-media-container\">\n <bs-days-calendar-view\n *ngFor=\"let calendar of daysCalendar$ | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n </div>\n <div *ngIf=\"withTimepicker\" class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n <timepicker #endTP *ngIf=\"isRangePicker\" [disabled]=\"isDatePickerDisabled\"></timepicker>\n </div>\n </ng-container>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <bs-month-calendar-view\n *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <bs-years-calendar-view\n *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"false\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges && customRanges.length > 0\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: BsDaysCalendarViewComponent, selector: "bs-days-calendar-view", inputs: ["calendar", "options", "isDisabled"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "ngmodule", type: TimepickerModule }, { kind: "component", type: i6.TimepickerComponent, selector: "timepicker", inputs: ["hourStep", "minuteStep", "secondsStep", "readonlyInput", "disabled", "mousewheel", "arrowkeys", "showSpinners", "showMeridian", "showMinutes", "showSeconds", "meridians", "min", "max", "hoursPlaceholder", "minutesPlaceholder", "secondsPlaceholder"], outputs: ["isValid", "meridianChange"] }, { kind: "component", type: BsMonthCalendarViewComponent, selector: "bs-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsYearsCalendarViewComponent, selector: "bs-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsCustomDatesViewComponent, selector: "bs-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [datepickerAnimation] }); }
2331
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerContainerComponent, deps: [{ token: i0.Renderer2 }, { token: BsDatepickerConfig }, { token: BsDatepickerStore }, { token: i0.ElementRef }, { token: BsDatepickerActions }, { token: BsDatepickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component }); }
2332
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsDatepickerContainerComponent, isStandalone: true, selector: "bs-datepicker-container", host: { attributes: { "role": "dialog", "aria-label": "calendar" }, listeners: { "click": "_stopPropagation($event)" }, properties: { "attr.disabled": "this.isDatepickerDisabled", "attr.readonly": "this.isDatepickerReadonly" }, classAttribute: "bottom" }, providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], viewQueries: [{ propertyName: "startTimepicker", first: true, predicate: ["startTP"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n@if (viewMode | async) {\n <div class=\"bs-datepicker\" [ngClass]=\"containerClass\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" role=\"application\">\n @switch (viewMode | async) {\n <!--days calendar-->\n @case ('day') {\n <div class=\"bs-media-container\">\n @for (calendar of daysCalendar$ | async; track calendar) {\n <bs-days-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n }\n </div>\n @if (withTimepicker) {\n <div class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n @if (isRangePicker) {\n <timepicker #endTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n }\n </div>\n }\n }\n <!--months calendar-->\n @case ('month') {\n <div class=\"bs-media-container\">\n @for (calendar of monthsCalendar | async; track calendar) {\n <bs-month-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n }\n </div>\n }\n <!--years calendar-->\n @case ('year') {\n <div class=\"bs-media-container\">\n @for (calendar of yearsCalendar | async; track calendar) {\n <bs-years-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n }\n </div>\n }\n }\n </div>\n <!--applycancel buttons-->\n @if (false) {\n <div class=\"bs-datepicker-buttons\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n }\n @if (showTodayBtn || showClearBtn) {\n <div class=\"bs-datepicker-buttons\">\n @if (showTodayBtn) {\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n }\n @if (showClearBtn) {\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n }\n </div>\n }\n </div>\n <!--custom dates or date ranges picker-->\n @if (customRanges && customRanges.length > 0) {\n <div class=\"bs-datepicker-custom-range\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n }\n </div>\n}\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BsDaysCalendarViewComponent, selector: "bs-days-calendar-view", inputs: ["calendar", "options", "isDisabled"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "ngmodule", type: TimepickerModule }, { kind: "component", type: i6.TimepickerComponent, selector: "timepicker", inputs: ["hourStep", "minuteStep", "secondsStep", "readonlyInput", "disabled", "mousewheel", "arrowkeys", "showSpinners", "showMeridian", "showMinutes", "showSeconds", "meridians", "min", "max", "hoursPlaceholder", "minutesPlaceholder", "secondsPlaceholder"], outputs: ["isValid", "meridianChange"] }, { kind: "component", type: BsMonthCalendarViewComponent, selector: "bs-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsYearsCalendarViewComponent, selector: "bs-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsCustomDatesViewComponent, selector: "bs-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [datepickerAnimation] }); }
2271
2333
  }
2272
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerContainerComponent, decorators: [{
2334
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerContainerComponent, decorators: [{
2273
2335
  type: Component,
2274
2336
  args: [{ selector: 'bs-datepicker-container', providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], host: {
2275
2337
  class: 'bottom',
2276
2338
  '(click)': '_stopPropagation($event)',
2277
2339
  role: 'dialog',
2278
2340
  'aria-label': 'calendar'
2279
- }, animations: [datepickerAnimation], standalone: true, imports: [NgIf, NgClass, NgSwitch, NgSwitchCase, NgFor, BsDaysCalendarViewComponent, TimepickerModule,
2280
- BsMonthCalendarViewComponent, BsYearsCalendarViewComponent, BsCustomDatesViewComponent, AsyncPipe
2281
- ], template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <ng-container *ngSwitchCase=\"'day'\">\n <div class=\"bs-media-container\">\n <bs-days-calendar-view\n *ngFor=\"let calendar of daysCalendar$ | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n </div>\n <div *ngIf=\"withTimepicker\" class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n <timepicker #endTP *ngIf=\"isRangePicker\" [disabled]=\"isDatePickerDisabled\"></timepicker>\n </div>\n </ng-container>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <bs-month-calendar-view\n *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <bs-years-calendar-view\n *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"false\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges && customRanges.length > 0\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n</div>\n" }]
2341
+ }, animations: [datepickerAnimation], standalone: true, imports: [NgClass, BsDaysCalendarViewComponent, TimepickerModule, BsMonthCalendarViewComponent, BsYearsCalendarViewComponent, BsCustomDatesViewComponent, AsyncPipe], template: "<!-- days calendar view mode -->\n@if (viewMode | async) {\n <div class=\"bs-datepicker\" [ngClass]=\"containerClass\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" role=\"application\">\n @switch (viewMode | async) {\n <!--days calendar-->\n @case ('day') {\n <div class=\"bs-media-container\">\n @for (calendar of daysCalendar$ | async; track calendar) {\n <bs-days-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n }\n </div>\n @if (withTimepicker) {\n <div class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n @if (isRangePicker) {\n <timepicker #endTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n }\n </div>\n }\n }\n <!--months calendar-->\n @case ('month') {\n <div class=\"bs-media-container\">\n @for (calendar of monthsCalendar | async; track calendar) {\n <bs-month-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n }\n </div>\n }\n <!--years calendar-->\n @case ('year') {\n <div class=\"bs-media-container\">\n @for (calendar of yearsCalendar | async; track calendar) {\n <bs-years-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n }\n </div>\n }\n }\n </div>\n <!--applycancel buttons-->\n @if (false) {\n <div class=\"bs-datepicker-buttons\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n }\n @if (showTodayBtn || showClearBtn) {\n <div class=\"bs-datepicker-buttons\">\n @if (showTodayBtn) {\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n }\n @if (showClearBtn) {\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n }\n </div>\n }\n </div>\n <!--custom dates or date ranges picker-->\n @if (customRanges && customRanges.length > 0) {\n <div class=\"bs-datepicker-custom-range\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n }\n </div>\n}\n" }]
2282
2342
  }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: BsDatepickerConfig }, { type: BsDatepickerStore }, { type: i0.ElementRef }, { type: BsDatepickerActions }, { type: BsDatepickerEffects }, { type: i5.PositioningService }], propDecorators: { startTimepicker: [{
2283
2343
  type: ViewChild,
2284
2344
  args: ['startTP']
@@ -2528,10 +2588,10 @@ class BsDatepickerDirective {
2528
2588
  }
2529
2589
  this.unsubscribeSubscriptions();
2530
2590
  }
2531
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerDirective, deps: [{ token: BsDatepickerConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i2$1.ComponentLoaderFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
2532
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.2", type: BsDatepickerDirective, isStandalone: true, selector: "[bsDatepicker]", inputs: { placement: "placement", triggers: "triggers", outsideClick: "outsideClick", container: "container", outsideEsc: "outsideEsc", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", ignoreMinMaxErrors: "ignoreMinMaxErrors", minMode: "minMode", daysDisabled: "daysDisabled", datesDisabled: "datesDisabled", datesEnabled: "datesEnabled", dateCustomClasses: "dateCustomClasses", dateTooltipTexts: "dateTooltipTexts", isOpen: "isOpen", bsValue: "bsValue", bsConfig: "bsConfig" }, outputs: { onShown: "onShown", onHidden: "onHidden", bsValueChange: "bsValueChange" }, host: { properties: { "attr.readonly": "this.readonlyValue" } }, providers: [ComponentLoaderFactory, PositioningService], exportAs: ["bsDatepicker"], usesOnChanges: true, ngImport: i0 }); }
2591
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerDirective, deps: [{ token: BsDatepickerConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i2$1.ComponentLoaderFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
2592
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsDatepickerDirective, isStandalone: true, selector: "[bsDatepicker]", inputs: { placement: "placement", triggers: "triggers", outsideClick: "outsideClick", container: "container", outsideEsc: "outsideEsc", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", ignoreMinMaxErrors: "ignoreMinMaxErrors", minMode: "minMode", daysDisabled: "daysDisabled", datesDisabled: "datesDisabled", datesEnabled: "datesEnabled", dateCustomClasses: "dateCustomClasses", dateTooltipTexts: "dateTooltipTexts", isOpen: "isOpen", bsValue: "bsValue", bsConfig: "bsConfig" }, outputs: { onShown: "onShown", onHidden: "onHidden", bsValueChange: "bsValueChange" }, host: { properties: { "attr.readonly": "this.readonlyValue" } }, providers: [ComponentLoaderFactory, PositioningService], exportAs: ["bsDatepicker"], usesOnChanges: true, ngImport: i0 }); }
2533
2593
  }
2534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerDirective, decorators: [{
2594
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerDirective, decorators: [{
2535
2595
  type: Directive,
2536
2596
  args: [{
2537
2597
  selector: '[bsDatepicker]',
@@ -2587,10 +2647,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
2587
2647
  }] } });
2588
2648
 
2589
2649
  class BsDatepickerInlineConfig extends BsDatepickerConfig {
2590
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInlineConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2591
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInlineConfig, providedIn: 'root' }); }
2650
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInlineConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2651
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInlineConfig, providedIn: 'root' }); }
2592
2652
  }
2593
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInlineConfig, decorators: [{
2653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInlineConfig, decorators: [{
2594
2654
  type: Injectable,
2595
2655
  args: [{
2596
2656
  providedIn: 'root'
@@ -2609,14 +2669,14 @@ class BsDatepickerInlineContainerComponent extends BsDatepickerContainerComponen
2609
2669
  _renderer.setStyle(_element.nativeElement, 'display', 'inline-block');
2610
2670
  _renderer.setStyle(_element.nativeElement, 'position', 'static');
2611
2671
  }
2612
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInlineContainerComponent, deps: [{ token: i0.Renderer2 }, { token: BsDatepickerConfig }, { token: BsDatepickerStore }, { token: i0.ElementRef }, { token: BsDatepickerActions }, { token: BsDatepickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component }); }
2613
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsDatepickerInlineContainerComponent, isStandalone: true, selector: "bs-datepicker-inline-container", host: { listeners: { "click": "_stopPropagation($event)" }, properties: { "attr.disabled": "this.disabledValue", "attr.readonly": "this.readonlyValue" } }, providers: [BsDatepickerStore, BsDatepickerEffects], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <ng-container *ngSwitchCase=\"'day'\">\n <div class=\"bs-media-container\">\n <bs-days-calendar-view\n *ngFor=\"let calendar of daysCalendar$ | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n </div>\n <div *ngIf=\"withTimepicker\" class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n <timepicker #endTP *ngIf=\"isRangePicker\" [disabled]=\"isDatePickerDisabled\"></timepicker>\n </div>\n </ng-container>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <bs-month-calendar-view\n *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <bs-years-calendar-view\n *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"false\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges && customRanges.length > 0\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: BsDaysCalendarViewComponent, selector: "bs-days-calendar-view", inputs: ["calendar", "options", "isDisabled"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "ngmodule", type: TimepickerModule }, { kind: "component", type: i6.TimepickerComponent, selector: "timepicker", inputs: ["hourStep", "minuteStep", "secondsStep", "readonlyInput", "disabled", "mousewheel", "arrowkeys", "showSpinners", "showMeridian", "showMinutes", "showSeconds", "meridians", "min", "max", "hoursPlaceholder", "minutesPlaceholder", "secondsPlaceholder"], outputs: ["isValid", "meridianChange"] }, { kind: "component", type: BsMonthCalendarViewComponent, selector: "bs-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsYearsCalendarViewComponent, selector: "bs-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsCustomDatesViewComponent, selector: "bs-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [datepickerAnimation] }); }
2672
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInlineContainerComponent, deps: [{ token: i0.Renderer2 }, { token: BsDatepickerConfig }, { token: BsDatepickerStore }, { token: i0.ElementRef }, { token: BsDatepickerActions }, { token: BsDatepickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component }); }
2673
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsDatepickerInlineContainerComponent, isStandalone: true, selector: "bs-datepicker-inline-container", host: { listeners: { "click": "_stopPropagation($event)" }, properties: { "attr.disabled": "this.disabledValue", "attr.readonly": "this.readonlyValue" } }, providers: [BsDatepickerStore, BsDatepickerEffects], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n@if (viewMode | async) {\n <div class=\"bs-datepicker\" [ngClass]=\"containerClass\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" role=\"application\">\n @switch (viewMode | async) {\n <!--days calendar-->\n @case ('day') {\n <div class=\"bs-media-container\">\n @for (calendar of daysCalendar$ | async; track calendar) {\n <bs-days-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n }\n </div>\n @if (withTimepicker) {\n <div class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n @if (isRangePicker) {\n <timepicker #endTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n }\n </div>\n }\n }\n <!--months calendar-->\n @case ('month') {\n <div class=\"bs-media-container\">\n @for (calendar of monthsCalendar | async; track calendar) {\n <bs-month-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n }\n </div>\n }\n <!--years calendar-->\n @case ('year') {\n <div class=\"bs-media-container\">\n @for (calendar of yearsCalendar | async; track calendar) {\n <bs-years-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n }\n </div>\n }\n }\n </div>\n <!--applycancel buttons-->\n @if (false) {\n <div class=\"bs-datepicker-buttons\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n }\n @if (showTodayBtn || showClearBtn) {\n <div class=\"bs-datepicker-buttons\">\n @if (showTodayBtn) {\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n }\n @if (showClearBtn) {\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n }\n </div>\n }\n </div>\n <!--custom dates or date ranges picker-->\n @if (customRanges && customRanges.length > 0) {\n <div class=\"bs-datepicker-custom-range\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n }\n </div>\n}\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BsDaysCalendarViewComponent, selector: "bs-days-calendar-view", inputs: ["calendar", "options", "isDisabled"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "ngmodule", type: TimepickerModule }, { kind: "component", type: i6.TimepickerComponent, selector: "timepicker", inputs: ["hourStep", "minuteStep", "secondsStep", "readonlyInput", "disabled", "mousewheel", "arrowkeys", "showSpinners", "showMeridian", "showMinutes", "showSeconds", "meridians", "min", "max", "hoursPlaceholder", "minutesPlaceholder", "secondsPlaceholder"], outputs: ["isValid", "meridianChange"] }, { kind: "component", type: BsMonthCalendarViewComponent, selector: "bs-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsYearsCalendarViewComponent, selector: "bs-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsCustomDatesViewComponent, selector: "bs-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [datepickerAnimation] }); }
2614
2674
  }
2615
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInlineContainerComponent, decorators: [{
2675
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInlineContainerComponent, decorators: [{
2616
2676
  type: Component,
2617
2677
  args: [{ selector: 'bs-datepicker-inline-container', providers: [BsDatepickerStore, BsDatepickerEffects], host: {
2618
2678
  '(click)': '_stopPropagation($event)'
2619
- }, animations: [datepickerAnimation], standalone: true, imports: [NgIf, NgClass, NgSwitch, NgSwitchCase, NgFor, BsDaysCalendarViewComponent, TimepickerModule, BsMonthCalendarViewComponent, BsYearsCalendarViewComponent, BsCustomDatesViewComponent, AsyncPipe], template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <ng-container *ngSwitchCase=\"'day'\">\n <div class=\"bs-media-container\">\n <bs-days-calendar-view\n *ngFor=\"let calendar of daysCalendar$ | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n </div>\n <div *ngIf=\"withTimepicker\" class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n <timepicker #endTP *ngIf=\"isRangePicker\" [disabled]=\"isDatePickerDisabled\"></timepicker>\n </div>\n </ng-container>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <bs-month-calendar-view\n *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <bs-years-calendar-view\n *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"false\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges && customRanges.length > 0\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n</div>\n" }]
2679
+ }, animations: [datepickerAnimation], standalone: true, imports: [NgClass, BsDaysCalendarViewComponent, TimepickerModule, BsMonthCalendarViewComponent, BsYearsCalendarViewComponent, BsCustomDatesViewComponent, AsyncPipe], template: "<!-- days calendar view mode -->\n@if (viewMode | async) {\n <div class=\"bs-datepicker\" [ngClass]=\"containerClass\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" role=\"application\">\n @switch (viewMode | async) {\n <!--days calendar-->\n @case ('day') {\n <div class=\"bs-media-container\">\n @for (calendar of daysCalendar$ | async; track calendar) {\n <bs-days-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n }\n </div>\n @if (withTimepicker) {\n <div class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n @if (isRangePicker) {\n <timepicker #endTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n }\n </div>\n }\n }\n <!--months calendar-->\n @case ('month') {\n <div class=\"bs-media-container\">\n @for (calendar of monthsCalendar | async; track calendar) {\n <bs-month-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n }\n </div>\n }\n <!--years calendar-->\n @case ('year') {\n <div class=\"bs-media-container\">\n @for (calendar of yearsCalendar | async; track calendar) {\n <bs-years-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n }\n </div>\n }\n }\n </div>\n <!--applycancel buttons-->\n @if (false) {\n <div class=\"bs-datepicker-buttons\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n }\n @if (showTodayBtn || showClearBtn) {\n <div class=\"bs-datepicker-buttons\">\n @if (showTodayBtn) {\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n }\n @if (showClearBtn) {\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n }\n </div>\n }\n </div>\n <!--custom dates or date ranges picker-->\n @if (customRanges && customRanges.length > 0) {\n <div class=\"bs-datepicker-custom-range\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n }\n </div>\n}\n" }]
2620
2680
  }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: BsDatepickerConfig }, { type: BsDatepickerStore }, { type: i0.ElementRef }, { type: BsDatepickerActions }, { type: BsDatepickerEffects }, { type: i5.PositioningService }], propDecorators: { disabledValue: [{
2621
2681
  type: HostBinding,
2622
2682
  args: ['attr.disabled']
@@ -2745,10 +2805,10 @@ class BsDatepickerInlineDirective {
2745
2805
  this._datepicker.dispose();
2746
2806
  this.unsubscribeSubscriptions();
2747
2807
  }
2748
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInlineDirective, deps: [{ token: BsDatepickerInlineConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i2$1.ComponentLoaderFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
2749
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.2", type: BsDatepickerInlineDirective, isStandalone: true, selector: "bs-datepicker-inline", inputs: { bsConfig: "bsConfig", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", dateCustomClasses: "dateCustomClasses", dateTooltipTexts: "dateTooltipTexts", datesEnabled: "datesEnabled", datesDisabled: "datesDisabled", bsValue: "bsValue" }, outputs: { bsValueChange: "bsValueChange" }, providers: [ComponentLoaderFactory, PositioningService], exportAs: ["bsDatepickerInline"], usesOnChanges: true, ngImport: i0 }); }
2808
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInlineDirective, deps: [{ token: BsDatepickerInlineConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i2$1.ComponentLoaderFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
2809
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsDatepickerInlineDirective, isStandalone: true, selector: "bs-datepicker-inline", inputs: { bsConfig: "bsConfig", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", dateCustomClasses: "dateCustomClasses", dateTooltipTexts: "dateTooltipTexts", datesEnabled: "datesEnabled", datesDisabled: "datesDisabled", bsValue: "bsValue" }, outputs: { bsValueChange: "bsValueChange" }, providers: [ComponentLoaderFactory, PositioningService], exportAs: ["bsDatepickerInline"], usesOnChanges: true, ngImport: i0 }); }
2750
2810
  }
2751
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInlineDirective, decorators: [{
2811
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInlineDirective, decorators: [{
2752
2812
  type: Directive,
2753
2813
  args: [{
2754
2814
  selector: 'bs-datepicker-inline',
@@ -2786,10 +2846,10 @@ class BsDaterangepickerInlineConfig extends BsDatepickerConfig {
2786
2846
  /** turn on/off animation */
2787
2847
  this.isAnimated = false;
2788
2848
  }
2789
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInlineConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2790
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInlineConfig, providedIn: 'root' }); }
2849
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInlineConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2850
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInlineConfig, providedIn: 'root' }); }
2791
2851
  }
2792
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInlineConfig, decorators: [{
2852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInlineConfig, decorators: [{
2793
2853
  type: Injectable,
2794
2854
  args: [{
2795
2855
  providedIn: 'root'
@@ -3009,10 +3069,10 @@ class BsDaterangepickerContainerComponent extends BsDatepickerAbstractComponent
3009
3069
  }
3010
3070
  this._effects?.setMaxDate(maxDateRange);
3011
3071
  }
3012
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerContainerComponent, deps: [{ token: i0.Renderer2 }, { token: BsDatepickerConfig }, { token: BsDatepickerStore }, { token: i0.ElementRef }, { token: BsDatepickerActions }, { token: BsDatepickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component }); }
3013
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsDaterangepickerContainerComponent, isStandalone: true, selector: "bs-daterangepicker-container", host: { attributes: { "role": "dialog", "aria-label": "calendar" }, listeners: { "click": "_stopPropagation($event)" }, properties: { "attr.disabled": "this.isDatepickerDisabled", "attr.readonly": "this.isDatepickerReadonly" }, classAttribute: "bottom" }, providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], viewQueries: [{ propertyName: "startTimepicker", first: true, predicate: ["startTP"], descendants: true }, { propertyName: "endTimepicker", first: true, predicate: ["endTP"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <ng-container *ngSwitchCase=\"'day'\">\n <div class=\"bs-media-container\">\n <bs-days-calendar-view\n *ngFor=\"let calendar of daysCalendar$ | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n </div>\n <div *ngIf=\"withTimepicker\" class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n <timepicker #endTP *ngIf=\"isRangePicker\" [disabled]=\"isDatePickerDisabled\"></timepicker>\n </div>\n </ng-container>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <bs-month-calendar-view\n *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <bs-years-calendar-view\n *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"false\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges && customRanges.length > 0\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: BsDaysCalendarViewComponent, selector: "bs-days-calendar-view", inputs: ["calendar", "options", "isDisabled"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "ngmodule", type: TimepickerModule }, { kind: "component", type: i6.TimepickerComponent, selector: "timepicker", inputs: ["hourStep", "minuteStep", "secondsStep", "readonlyInput", "disabled", "mousewheel", "arrowkeys", "showSpinners", "showMeridian", "showMinutes", "showSeconds", "meridians", "min", "max", "hoursPlaceholder", "minutesPlaceholder", "secondsPlaceholder"], outputs: ["isValid", "meridianChange"] }, { kind: "component", type: BsMonthCalendarViewComponent, selector: "bs-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsYearsCalendarViewComponent, selector: "bs-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsCustomDatesViewComponent, selector: "bs-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [datepickerAnimation] }); }
3072
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerContainerComponent, deps: [{ token: i0.Renderer2 }, { token: BsDatepickerConfig }, { token: BsDatepickerStore }, { token: i0.ElementRef }, { token: BsDatepickerActions }, { token: BsDatepickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component }); }
3073
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsDaterangepickerContainerComponent, isStandalone: true, selector: "bs-daterangepicker-container", host: { attributes: { "role": "dialog", "aria-label": "calendar" }, listeners: { "click": "_stopPropagation($event)" }, properties: { "attr.disabled": "this.isDatepickerDisabled", "attr.readonly": "this.isDatepickerReadonly" }, classAttribute: "bottom" }, providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], viewQueries: [{ propertyName: "startTimepicker", first: true, predicate: ["startTP"], descendants: true }, { propertyName: "endTimepicker", first: true, predicate: ["endTP"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n@if (viewMode | async) {\n <div class=\"bs-datepicker\" [ngClass]=\"containerClass\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" role=\"application\">\n @switch (viewMode | async) {\n <!--days calendar-->\n @case ('day') {\n <div class=\"bs-media-container\">\n @for (calendar of daysCalendar$ | async; track calendar) {\n <bs-days-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n }\n </div>\n @if (withTimepicker) {\n <div class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n @if (isRangePicker) {\n <timepicker #endTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n }\n </div>\n }\n }\n <!--months calendar-->\n @case ('month') {\n <div class=\"bs-media-container\">\n @for (calendar of monthsCalendar | async; track calendar) {\n <bs-month-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n }\n </div>\n }\n <!--years calendar-->\n @case ('year') {\n <div class=\"bs-media-container\">\n @for (calendar of yearsCalendar | async; track calendar) {\n <bs-years-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n }\n </div>\n }\n }\n </div>\n <!--applycancel buttons-->\n @if (false) {\n <div class=\"bs-datepicker-buttons\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n }\n @if (showTodayBtn || showClearBtn) {\n <div class=\"bs-datepicker-buttons\">\n @if (showTodayBtn) {\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n }\n @if (showClearBtn) {\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n }\n </div>\n }\n </div>\n <!--custom dates or date ranges picker-->\n @if (customRanges && customRanges.length > 0) {\n <div class=\"bs-datepicker-custom-range\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n }\n </div>\n}\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BsDaysCalendarViewComponent, selector: "bs-days-calendar-view", inputs: ["calendar", "options", "isDisabled"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "ngmodule", type: TimepickerModule }, { kind: "component", type: i6.TimepickerComponent, selector: "timepicker", inputs: ["hourStep", "minuteStep", "secondsStep", "readonlyInput", "disabled", "mousewheel", "arrowkeys", "showSpinners", "showMeridian", "showMinutes", "showSeconds", "meridians", "min", "max", "hoursPlaceholder", "minutesPlaceholder", "secondsPlaceholder"], outputs: ["isValid", "meridianChange"] }, { kind: "component", type: BsMonthCalendarViewComponent, selector: "bs-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsYearsCalendarViewComponent, selector: "bs-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsCustomDatesViewComponent, selector: "bs-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [datepickerAnimation] }); }
3014
3074
  }
3015
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerContainerComponent, decorators: [{
3075
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerContainerComponent, decorators: [{
3016
3076
  type: Component,
3017
3077
  args: [{ selector: 'bs-daterangepicker-container', providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], host: {
3018
3078
  class: 'bottom',
@@ -3031,7 +3091,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
3031
3091
  BsYearsCalendarViewComponent,
3032
3092
  BsCustomDatesViewComponent,
3033
3093
  AsyncPipe
3034
- ], template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <ng-container *ngSwitchCase=\"'day'\">\n <div class=\"bs-media-container\">\n <bs-days-calendar-view\n *ngFor=\"let calendar of daysCalendar$ | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n </div>\n <div *ngIf=\"withTimepicker\" class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n <timepicker #endTP *ngIf=\"isRangePicker\" [disabled]=\"isDatePickerDisabled\"></timepicker>\n </div>\n </ng-container>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <bs-month-calendar-view\n *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <bs-years-calendar-view\n *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"false\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges && customRanges.length > 0\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n</div>\n" }]
3094
+ ], template: "<!-- days calendar view mode -->\n@if (viewMode | async) {\n <div class=\"bs-datepicker\" [ngClass]=\"containerClass\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" role=\"application\">\n @switch (viewMode | async) {\n <!--days calendar-->\n @case ('day') {\n <div class=\"bs-media-container\">\n @for (calendar of daysCalendar$ | async; track calendar) {\n <bs-days-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n }\n </div>\n @if (withTimepicker) {\n <div class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n @if (isRangePicker) {\n <timepicker #endTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n }\n </div>\n }\n }\n <!--months calendar-->\n @case ('month') {\n <div class=\"bs-media-container\">\n @for (calendar of monthsCalendar | async; track calendar) {\n <bs-month-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n }\n </div>\n }\n <!--years calendar-->\n @case ('year') {\n <div class=\"bs-media-container\">\n @for (calendar of yearsCalendar | async; track calendar) {\n <bs-years-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n }\n </div>\n }\n }\n </div>\n <!--applycancel buttons-->\n @if (false) {\n <div class=\"bs-datepicker-buttons\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n }\n @if (showTodayBtn || showClearBtn) {\n <div class=\"bs-datepicker-buttons\">\n @if (showTodayBtn) {\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n }\n @if (showClearBtn) {\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n }\n </div>\n }\n </div>\n <!--custom dates or date ranges picker-->\n @if (customRanges && customRanges.length > 0) {\n <div class=\"bs-datepicker-custom-range\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n }\n </div>\n}\n" }]
3035
3095
  }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: BsDatepickerConfig }, { type: BsDatepickerStore }, { type: i0.ElementRef }, { type: BsDatepickerActions }, { type: BsDatepickerEffects }, { type: i5.PositioningService }], propDecorators: { startTimepicker: [{
3036
3096
  type: ViewChild,
3037
3097
  args: ['startTP']
@@ -3058,14 +3118,14 @@ class BsDaterangepickerInlineContainerComponent extends BsDaterangepickerContain
3058
3118
  _renderer.setStyle(_element.nativeElement, 'display', 'inline-block');
3059
3119
  _renderer.setStyle(_element.nativeElement, 'position', 'static');
3060
3120
  }
3061
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInlineContainerComponent, deps: [{ token: i0.Renderer2 }, { token: BsDatepickerConfig }, { token: BsDatepickerStore }, { token: i0.ElementRef }, { token: BsDatepickerActions }, { token: BsDatepickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component }); }
3062
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.2", type: BsDaterangepickerInlineContainerComponent, isStandalone: true, selector: "bs-daterangepicker-inline-container", host: { listeners: { "click": "_stopPropagation($event)" }, properties: { "attr.disabled": "this.disabledValue", "attr.readonly": "this.readonlyValue" } }, providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <ng-container *ngSwitchCase=\"'day'\">\n <div class=\"bs-media-container\">\n <bs-days-calendar-view\n *ngFor=\"let calendar of daysCalendar$ | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n </div>\n <div *ngIf=\"withTimepicker\" class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n <timepicker #endTP *ngIf=\"isRangePicker\" [disabled]=\"isDatePickerDisabled\"></timepicker>\n </div>\n </ng-container>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <bs-month-calendar-view\n *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <bs-years-calendar-view\n *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"false\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges && customRanges.length > 0\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: BsDaysCalendarViewComponent, selector: "bs-days-calendar-view", inputs: ["calendar", "options", "isDisabled"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "ngmodule", type: TimepickerModule }, { kind: "component", type: i6.TimepickerComponent, selector: "timepicker", inputs: ["hourStep", "minuteStep", "secondsStep", "readonlyInput", "disabled", "mousewheel", "arrowkeys", "showSpinners", "showMeridian", "showMinutes", "showSeconds", "meridians", "min", "max", "hoursPlaceholder", "minutesPlaceholder", "secondsPlaceholder"], outputs: ["isValid", "meridianChange"] }, { kind: "component", type: BsMonthCalendarViewComponent, selector: "bs-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsYearsCalendarViewComponent, selector: "bs-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsCustomDatesViewComponent, selector: "bs-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [datepickerAnimation] }); }
3121
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInlineContainerComponent, deps: [{ token: i0.Renderer2 }, { token: BsDatepickerConfig }, { token: BsDatepickerStore }, { token: i0.ElementRef }, { token: BsDatepickerActions }, { token: BsDatepickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component }); }
3122
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: BsDaterangepickerInlineContainerComponent, isStandalone: true, selector: "bs-daterangepicker-inline-container", host: { listeners: { "click": "_stopPropagation($event)" }, properties: { "attr.disabled": "this.disabledValue", "attr.readonly": "this.readonlyValue" } }, providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n@if (viewMode | async) {\n <div class=\"bs-datepicker\" [ngClass]=\"containerClass\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" role=\"application\">\n @switch (viewMode | async) {\n <!--days calendar-->\n @case ('day') {\n <div class=\"bs-media-container\">\n @for (calendar of daysCalendar$ | async; track calendar) {\n <bs-days-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n }\n </div>\n @if (withTimepicker) {\n <div class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n @if (isRangePicker) {\n <timepicker #endTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n }\n </div>\n }\n }\n <!--months calendar-->\n @case ('month') {\n <div class=\"bs-media-container\">\n @for (calendar of monthsCalendar | async; track calendar) {\n <bs-month-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n }\n </div>\n }\n <!--years calendar-->\n @case ('year') {\n <div class=\"bs-media-container\">\n @for (calendar of yearsCalendar | async; track calendar) {\n <bs-years-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n }\n </div>\n }\n }\n </div>\n <!--applycancel buttons-->\n @if (false) {\n <div class=\"bs-datepicker-buttons\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n }\n @if (showTodayBtn || showClearBtn) {\n <div class=\"bs-datepicker-buttons\">\n @if (showTodayBtn) {\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n }\n @if (showClearBtn) {\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n }\n </div>\n }\n </div>\n <!--custom dates or date ranges picker-->\n @if (customRanges && customRanges.length > 0) {\n <div class=\"bs-datepicker-custom-range\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n }\n </div>\n}\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BsDaysCalendarViewComponent, selector: "bs-days-calendar-view", inputs: ["calendar", "options", "isDisabled"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "ngmodule", type: TimepickerModule }, { kind: "component", type: i6.TimepickerComponent, selector: "timepicker", inputs: ["hourStep", "minuteStep", "secondsStep", "readonlyInput", "disabled", "mousewheel", "arrowkeys", "showSpinners", "showMeridian", "showMinutes", "showSeconds", "meridians", "min", "max", "hoursPlaceholder", "minutesPlaceholder", "secondsPlaceholder"], outputs: ["isValid", "meridianChange"] }, { kind: "component", type: BsMonthCalendarViewComponent, selector: "bs-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsYearsCalendarViewComponent, selector: "bs-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: BsCustomDatesViewComponent, selector: "bs-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [datepickerAnimation] }); }
3063
3123
  }
3064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInlineContainerComponent, decorators: [{
3124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInlineContainerComponent, decorators: [{
3065
3125
  type: Component,
3066
3126
  args: [{ selector: 'bs-daterangepicker-inline-container', providers: [BsDatepickerStore, BsDatepickerEffects, BsDatepickerActions], host: {
3067
3127
  '(click)': '_stopPropagation($event)'
3068
- }, animations: [datepickerAnimation], standalone: true, imports: [NgIf, NgClass, NgSwitch, NgSwitchCase, NgFor, BsDaysCalendarViewComponent, TimepickerModule, BsMonthCalendarViewComponent, BsYearsCalendarViewComponent, BsCustomDatesViewComponent, AsyncPipe], template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <ng-container *ngSwitchCase=\"'day'\">\n <div class=\"bs-media-container\">\n <bs-days-calendar-view\n *ngFor=\"let calendar of daysCalendar$ | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n </div>\n <div *ngIf=\"withTimepicker\" class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n <timepicker #endTP *ngIf=\"isRangePicker\" [disabled]=\"isDatePickerDisabled\"></timepicker>\n </div>\n </ng-container>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <bs-month-calendar-view\n *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <bs-years-calendar-view\n *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"false\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges && customRanges.length > 0\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n</div>\n" }]
3128
+ }, animations: [datepickerAnimation], standalone: true, imports: [NgIf, NgClass, NgSwitch, NgSwitchCase, NgFor, BsDaysCalendarViewComponent, TimepickerModule, BsMonthCalendarViewComponent, BsYearsCalendarViewComponent, BsCustomDatesViewComponent, AsyncPipe], template: "<!-- days calendar view mode -->\n@if (viewMode | async) {\n <div class=\"bs-datepicker\" [ngClass]=\"containerClass\">\n <div class=\"bs-datepicker-container\"\n [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" role=\"application\">\n @switch (viewMode | async) {\n <!--days calendar-->\n @case ('day') {\n <div class=\"bs-media-container\">\n @for (calendar of daysCalendar$ | async; track calendar) {\n <bs-days-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n [isDisabled]=\"isDatePickerDisabled\"\n [options]=\"options$ | async\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\"\n (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </bs-days-calendar-view>\n }\n </div>\n @if (withTimepicker) {\n <div class=\"bs-timepicker-in-datepicker-container\">\n <timepicker #startTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n @if (isRangePicker) {\n <timepicker #endTP [disabled]=\"isDatePickerDisabled\"></timepicker>\n }\n </div>\n }\n }\n <!--months calendar-->\n @case ('month') {\n <div class=\"bs-media-container\">\n @for (calendar of monthsCalendar | async; track calendar) {\n <bs-month-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </bs-month-calendar-view>\n }\n </div>\n }\n <!--years calendar-->\n @case ('year') {\n <div class=\"bs-media-container\">\n @for (calendar of yearsCalendar | async; track calendar) {\n <bs-years-calendar-view\n [class.bs-datepicker-multiple]=\"multipleCalendars\"\n [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\"\n (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </bs-years-calendar-view>\n }\n </div>\n }\n }\n </div>\n <!--applycancel buttons-->\n @if (false) {\n <div class=\"bs-datepicker-buttons\">\n <button class=\"btn btn-success\" type=\"button\">Apply</button>\n <button class=\"btn btn-default\" type=\"button\">Cancel</button>\n </div>\n }\n @if (showTodayBtn || showClearBtn) {\n <div class=\"bs-datepicker-buttons\">\n @if (showTodayBtn) {\n <div class=\"btn-today-wrapper\"\n [class.today-left]=\"todayPos === 'left'\"\n [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n }\n @if (showClearBtn) {\n <div class=\"btn-clear-wrapper\"\n [class.clear-left]=\"clearPos === 'left'\"\n [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\"\n >\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n }\n </div>\n }\n </div>\n <!--custom dates or date ranges picker-->\n @if (customRanges && customRanges.length > 0) {\n <div class=\"bs-datepicker-custom-range\">\n <bs-custom-date-view\n [selectedRange]=\"chosenRange\"\n [ranges]=\"customRanges\"\n [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </bs-custom-date-view>\n </div>\n }\n </div>\n}\n" }]
3069
3129
  }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: BsDatepickerConfig }, { type: BsDatepickerStore }, { type: i0.ElementRef }, { type: BsDatepickerActions }, { type: BsDatepickerEffects }, { type: i5.PositioningService }], propDecorators: { disabledValue: [{
3070
3130
  type: HostBinding,
3071
3131
  args: ['attr.disabled']
@@ -3196,10 +3256,10 @@ class BsDaterangepickerInlineDirective {
3196
3256
  this._datepicker.dispose();
3197
3257
  this.unsubscribeSubscriptions();
3198
3258
  }
3199
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInlineDirective, deps: [{ token: BsDaterangepickerInlineConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i2$1.ComponentLoaderFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
3200
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.2", type: BsDaterangepickerInlineDirective, isStandalone: true, selector: "bs-daterangepicker-inline", inputs: { bsValue: "bsValue", bsConfig: "bsConfig", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", dateCustomClasses: "dateCustomClasses", daysDisabled: "daysDisabled", datesDisabled: "datesDisabled", datesEnabled: "datesEnabled" }, outputs: { bsValueChange: "bsValueChange" }, providers: [ComponentLoaderFactory, PositioningService], exportAs: ["bsDaterangepickerInline"], usesOnChanges: true, ngImport: i0 }); }
3259
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInlineDirective, deps: [{ token: BsDaterangepickerInlineConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i2$1.ComponentLoaderFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
3260
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsDaterangepickerInlineDirective, isStandalone: true, selector: "bs-daterangepicker-inline", inputs: { bsValue: "bsValue", bsConfig: "bsConfig", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", dateCustomClasses: "dateCustomClasses", daysDisabled: "daysDisabled", datesDisabled: "datesDisabled", datesEnabled: "datesEnabled" }, outputs: { bsValueChange: "bsValueChange" }, providers: [ComponentLoaderFactory, PositioningService], exportAs: ["bsDaterangepickerInline"], usesOnChanges: true, ngImport: i0 }); }
3201
3261
  }
3202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInlineDirective, decorators: [{
3262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInlineDirective, decorators: [{
3203
3263
  type: Directive,
3204
3264
  args: [{
3205
3265
  selector: 'bs-daterangepicker-inline',
@@ -3359,13 +3419,13 @@ class BsDatepickerInputDirective {
3359
3419
  registerOnTouched(fn) {
3360
3420
  this._onTouched = fn;
3361
3421
  }
3362
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInputDirective, deps: [{ token: BsDatepickerDirective, host: true }, { token: BsLocaleService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3363
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.2", type: BsDatepickerInputDirective, isStandalone: true, selector: "input[bsDatepicker]", host: { listeners: { "change": "onChange($event)", "blur": "onBlur()", "keyup.esc": "hide()", "keydown.enter": "hide()" } }, providers: [
3422
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInputDirective, deps: [{ token: BsDatepickerDirective, host: true }, { token: BsLocaleService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3423
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsDatepickerInputDirective, isStandalone: true, selector: "input[bsDatepicker]", host: { listeners: { "change": "onChange($event)", "blur": "onBlur()", "keyup.esc": "hide()", "keydown.enter": "hide()" } }, providers: [
3364
3424
  BS_DATEPICKER_VALUE_ACCESSOR,
3365
3425
  BS_DATEPICKER_VALIDATOR
3366
3426
  ], ngImport: i0 }); }
3367
3427
  }
3368
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerInputDirective, decorators: [{
3428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerInputDirective, decorators: [{
3369
3429
  type: Directive,
3370
3430
  args: [{
3371
3431
  selector: `input[bsDatepicker]`,
@@ -3397,10 +3457,10 @@ class BsDaterangepickerConfig extends BsDatepickerConfig {
3397
3457
  // DatepickerRenderOptions
3398
3458
  this.displayMonths = 2;
3399
3459
  }
3400
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
3401
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerConfig, providedIn: 'root' }); }
3460
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
3461
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerConfig, providedIn: 'root' }); }
3402
3462
  }
3403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerConfig, decorators: [{
3463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerConfig, decorators: [{
3404
3464
  type: Injectable,
3405
3465
  args: [{
3406
3466
  providedIn: 'root'
@@ -3642,10 +3702,10 @@ class BsDaterangepickerDirective {
3642
3702
  }
3643
3703
  this.unsubscribeSubscriptions();
3644
3704
  }
3645
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerDirective, deps: [{ token: BsDaterangepickerConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i2$1.ComponentLoaderFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
3646
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.2", type: BsDaterangepickerDirective, isStandalone: true, selector: "[bsDaterangepicker]", inputs: { placement: "placement", triggers: "triggers", outsideClick: "outsideClick", container: "container", outsideEsc: "outsideEsc", isOpen: "isOpen", bsValue: "bsValue", bsConfig: "bsConfig", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", dateCustomClasses: "dateCustomClasses", daysDisabled: "daysDisabled", datesDisabled: "datesDisabled", datesEnabled: "datesEnabled" }, outputs: { onShown: "onShown", onHidden: "onHidden", bsValueChange: "bsValueChange" }, host: { properties: { "attr.readonly": "this.isDatepickerReadonly" } }, providers: [ComponentLoaderFactory, PositioningService], exportAs: ["bsDaterangepicker"], usesOnChanges: true, ngImport: i0 }); }
3705
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerDirective, deps: [{ token: BsDaterangepickerConfig }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i2$1.ComponentLoaderFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
3706
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsDaterangepickerDirective, isStandalone: true, selector: "[bsDaterangepicker]", inputs: { placement: "placement", triggers: "triggers", outsideClick: "outsideClick", container: "container", outsideEsc: "outsideEsc", isOpen: "isOpen", bsValue: "bsValue", bsConfig: "bsConfig", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", dateCustomClasses: "dateCustomClasses", daysDisabled: "daysDisabled", datesDisabled: "datesDisabled", datesEnabled: "datesEnabled" }, outputs: { onShown: "onShown", onHidden: "onHidden", bsValueChange: "bsValueChange" }, host: { properties: { "attr.readonly": "this.isDatepickerReadonly" } }, providers: [ComponentLoaderFactory, PositioningService], exportAs: ["bsDaterangepicker"], usesOnChanges: true, ngImport: i0 }); }
3647
3707
  }
3648
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerDirective, decorators: [{
3708
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerDirective, decorators: [{
3649
3709
  type: Directive,
3650
3710
  args: [{
3651
3711
  selector: '[bsDaterangepicker]',
@@ -3872,13 +3932,13 @@ class BsDaterangepickerInputDirective {
3872
3932
  this._renderer.selectRootElement(this._elRef.nativeElement).focus();
3873
3933
  }
3874
3934
  }
3875
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInputDirective, deps: [{ token: BsDaterangepickerDirective, host: true }, { token: BsLocaleService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3876
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.2", type: BsDaterangepickerInputDirective, isStandalone: true, selector: "input[bsDaterangepicker]", host: { listeners: { "change": "onChange($event)", "keyup.esc": "hide()", "keydown": "onKeydownEvent($event)", "blur": "onBlur()" } }, providers: [
3935
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInputDirective, deps: [{ token: BsDaterangepickerDirective, host: true }, { token: BsLocaleService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3936
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsDaterangepickerInputDirective, isStandalone: true, selector: "input[bsDaterangepicker]", host: { listeners: { "change": "onChange($event)", "keyup.esc": "hide()", "keydown": "onKeydownEvent($event)", "blur": "onBlur()" } }, providers: [
3877
3937
  BS_DATERANGEPICKER_VALUE_ACCESSOR,
3878
3938
  BS_DATERANGEPICKER_VALIDATOR
3879
3939
  ], ngImport: i0 }); }
3880
3940
  }
3881
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDaterangepickerInputDirective, decorators: [{
3941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDaterangepickerInputDirective, decorators: [{
3882
3942
  type: Directive,
3883
3943
  args: [{
3884
3944
  selector: `input[bsDaterangepicker]`,
@@ -3906,8 +3966,8 @@ class BsDatepickerModule {
3906
3966
  providers: []
3907
3967
  };
3908
3968
  }
3909
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3910
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerModule, imports: [CommonModule, TooltipModule, TimepickerModule, BsCalendarLayoutComponent,
3969
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3970
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerModule, imports: [CommonModule, TooltipModule, TimepickerModule, BsCalendarLayoutComponent,
3911
3971
  BsCurrentDateViewComponent,
3912
3972
  BsCustomDatesViewComponent,
3913
3973
  BsDatepickerDayDecoratorComponent,
@@ -3935,14 +3995,14 @@ class BsDatepickerModule {
3935
3995
  BsDaterangepickerInlineContainerComponent,
3936
3996
  BsDaterangepickerInlineDirective,
3937
3997
  BsDaterangepickerInputDirective] }); }
3938
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerModule, imports: [CommonModule, TooltipModule, TimepickerModule,
3998
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerModule, imports: [CommonModule, TooltipModule, TimepickerModule,
3939
3999
  BsDaysCalendarViewComponent,
3940
4000
  BsDatepickerContainerComponent,
3941
4001
  BsDatepickerInlineContainerComponent,
3942
4002
  BsDaterangepickerContainerComponent,
3943
4003
  BsDaterangepickerInlineContainerComponent] }); }
3944
4004
  }
3945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: BsDatepickerModule, decorators: [{
4005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsDatepickerModule, decorators: [{
3946
4006
  type: NgModule,
3947
4007
  args: [{
3948
4008
  imports: [CommonModule, TooltipModule, TimepickerModule, BsCalendarLayoutComponent,