@spartan-ng/brain 1.7.0 → 1.8.0-beta.2

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 (94) hide show
  1. package/fesm2022/spartan-ng-brain-accordion.mjs +6 -3
  2. package/fesm2022/spartan-ng-brain-accordion.mjs.map +1 -1
  3. package/fesm2022/spartan-ng-brain-alert-dialog.mjs +10 -5
  4. package/fesm2022/spartan-ng-brain-alert-dialog.mjs.map +1 -1
  5. package/fesm2022/spartan-ng-brain-autocomplete.mjs +24 -13
  6. package/fesm2022/spartan-ng-brain-autocomplete.mjs.map +1 -1
  7. package/fesm2022/spartan-ng-brain-avatar.mjs +2 -1
  8. package/fesm2022/spartan-ng-brain-avatar.mjs.map +1 -1
  9. package/fesm2022/spartan-ng-brain-button.mjs +2 -1
  10. package/fesm2022/spartan-ng-brain-button.mjs.map +1 -1
  11. package/fesm2022/spartan-ng-brain-calendar.mjs +40 -20
  12. package/fesm2022/spartan-ng-brain-calendar.mjs.map +1 -1
  13. package/fesm2022/spartan-ng-brain-checkbox.mjs +11 -4
  14. package/fesm2022/spartan-ng-brain-checkbox.mjs.map +1 -1
  15. package/fesm2022/spartan-ng-brain-collapsible.mjs +4 -2
  16. package/fesm2022/spartan-ng-brain-collapsible.mjs.map +1 -1
  17. package/fesm2022/spartan-ng-brain-combobox.mjs +42 -22
  18. package/fesm2022/spartan-ng-brain-combobox.mjs.map +1 -1
  19. package/fesm2022/spartan-ng-brain-command.mjs +14 -7
  20. package/fesm2022/spartan-ng-brain-command.mjs.map +1 -1
  21. package/fesm2022/spartan-ng-brain-dialog.mjs +10 -5
  22. package/fesm2022/spartan-ng-brain-dialog.mjs.map +1 -1
  23. package/fesm2022/spartan-ng-brain-drawer.mjs +14 -7
  24. package/fesm2022/spartan-ng-brain-drawer.mjs.map +1 -1
  25. package/fesm2022/spartan-ng-brain-field.mjs +4 -2
  26. package/fesm2022/spartan-ng-brain-field.mjs.map +1 -1
  27. package/fesm2022/spartan-ng-brain-hover-card.mjs +2 -1
  28. package/fesm2022/spartan-ng-brain-hover-card.mjs.map +1 -1
  29. package/fesm2022/spartan-ng-brain-input-otp.mjs +4 -2
  30. package/fesm2022/spartan-ng-brain-input-otp.mjs.map +1 -1
  31. package/fesm2022/spartan-ng-brain-input.mjs +2 -1
  32. package/fesm2022/spartan-ng-brain-input.mjs.map +1 -1
  33. package/fesm2022/spartan-ng-brain-label.mjs +2 -1
  34. package/fesm2022/spartan-ng-brain-label.mjs.map +1 -1
  35. package/fesm2022/spartan-ng-brain-navigation-menu.mjs +12 -6
  36. package/fesm2022/spartan-ng-brain-navigation-menu.mjs.map +1 -1
  37. package/fesm2022/spartan-ng-brain-overlay.mjs +93 -10
  38. package/fesm2022/spartan-ng-brain-overlay.mjs.map +1 -1
  39. package/fesm2022/spartan-ng-brain-popover.mjs +4 -2
  40. package/fesm2022/spartan-ng-brain-popover.mjs.map +1 -1
  41. package/fesm2022/spartan-ng-brain-progress.mjs +2 -1
  42. package/fesm2022/spartan-ng-brain-progress.mjs.map +1 -1
  43. package/fesm2022/spartan-ng-brain-radio-group.mjs +2 -1
  44. package/fesm2022/spartan-ng-brain-radio-group.mjs.map +1 -1
  45. package/fesm2022/spartan-ng-brain-select.mjs +30 -15
  46. package/fesm2022/spartan-ng-brain-select.mjs.map +1 -1
  47. package/fesm2022/spartan-ng-brain-separator.mjs +2 -1
  48. package/fesm2022/spartan-ng-brain-separator.mjs.map +1 -1
  49. package/fesm2022/spartan-ng-brain-sheet.mjs +12 -6
  50. package/fesm2022/spartan-ng-brain-sheet.mjs.map +1 -1
  51. package/fesm2022/spartan-ng-brain-slider.mjs +8 -4
  52. package/fesm2022/spartan-ng-brain-slider.mjs.map +1 -1
  53. package/fesm2022/spartan-ng-brain-sonner.mjs +9 -6
  54. package/fesm2022/spartan-ng-brain-sonner.mjs.map +1 -1
  55. package/fesm2022/spartan-ng-brain-switch.mjs +12 -6
  56. package/fesm2022/spartan-ng-brain-switch.mjs.map +1 -1
  57. package/fesm2022/spartan-ng-brain-textarea.mjs +2 -1
  58. package/fesm2022/spartan-ng-brain-textarea.mjs.map +1 -1
  59. package/fesm2022/spartan-ng-brain-toggle-group.mjs +2 -1
  60. package/fesm2022/spartan-ng-brain-toggle-group.mjs.map +1 -1
  61. package/fesm2022/spartan-ng-brain-toggle.mjs +2 -1
  62. package/fesm2022/spartan-ng-brain-toggle.mjs.map +1 -1
  63. package/package.json +1 -1
  64. package/types/spartan-ng-brain-accordion.d.ts +3 -3
  65. package/types/spartan-ng-brain-alert-dialog.d.ts +5 -5
  66. package/types/spartan-ng-brain-autocomplete.d.ts +12 -12
  67. package/types/spartan-ng-brain-avatar.d.ts +1 -1
  68. package/types/spartan-ng-brain-button.d.ts +1 -1
  69. package/types/spartan-ng-brain-calendar.d.ts +20 -20
  70. package/types/spartan-ng-brain-checkbox.d.ts +4 -2
  71. package/types/spartan-ng-brain-collapsible.d.ts +2 -2
  72. package/types/spartan-ng-brain-combobox.d.ts +21 -21
  73. package/types/spartan-ng-brain-command.d.ts +7 -7
  74. package/types/spartan-ng-brain-dialog.d.ts +5 -5
  75. package/types/spartan-ng-brain-drawer.d.ts +7 -7
  76. package/types/spartan-ng-brain-field.d.ts +2 -2
  77. package/types/spartan-ng-brain-hover-card.d.ts +1 -1
  78. package/types/spartan-ng-brain-input-otp.d.ts +2 -2
  79. package/types/spartan-ng-brain-input.d.ts +1 -1
  80. package/types/spartan-ng-brain-label.d.ts +1 -1
  81. package/types/spartan-ng-brain-navigation-menu.d.ts +6 -6
  82. package/types/spartan-ng-brain-overlay.d.ts +13 -2
  83. package/types/spartan-ng-brain-popover.d.ts +2 -2
  84. package/types/spartan-ng-brain-progress.d.ts +1 -1
  85. package/types/spartan-ng-brain-radio-group.d.ts +1 -1
  86. package/types/spartan-ng-brain-select.d.ts +15 -15
  87. package/types/spartan-ng-brain-separator.d.ts +1 -1
  88. package/types/spartan-ng-brain-sheet.d.ts +6 -6
  89. package/types/spartan-ng-brain-slider.d.ts +4 -4
  90. package/types/spartan-ng-brain-sonner.d.ts +1 -1
  91. package/types/spartan-ng-brain-switch.d.ts +5 -3
  92. package/types/spartan-ng-brain-textarea.d.ts +1 -1
  93. package/types/spartan-ng-brain-toggle-group.d.ts +1 -1
  94. package/types/spartan-ng-brain-toggle.d.ts +1 -1
@@ -9,12 +9,13 @@ class BrnCalendarHeader {
9
9
  /** The unique id for the header */
10
10
  id = input(`brn-calendar-header-${++uniqueId$1}`, ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
11
11
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnCalendarHeader, isStandalone: true, selector: "[brnCalendarHeader]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-live": "polite", "role": "presentation" }, properties: { "id": "id()" } }, ngImport: i0 });
12
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnCalendarHeader, isStandalone: true, selector: "[brnCalendarHeader]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-live": "polite", "role": "presentation" }, properties: { "id": "id()" } }, exportAs: ["brnCalendarHeader"], ngImport: i0 });
13
13
  }
14
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarHeader, decorators: [{
15
15
  type: Directive,
16
16
  args: [{
17
17
  selector: '[brnCalendarHeader]',
18
+ exportAs: 'brnCalendarHeader',
18
19
  host: {
19
20
  '[id]': 'id()',
20
21
  'aria-live': 'polite',
@@ -291,24 +292,26 @@ class BrnCalendar {
291
292
  this._cells.push(cell);
292
293
  }
293
294
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
294
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnCalendar, isStandalone: true, selector: "[brnCalendar]", inputs: { highlightDays: { classPropertyName: "highlightDays", publicName: "highlightDays", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, dateDisabled: { classPropertyName: "dateDisabled", publicName: "dateDisabled", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedDate: { classPropertyName: "defaultFocusedDate", publicName: "defaultFocusedDate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { date: "dateChange", focusedDateChange: "focusedDateChange" }, providers: [provideBrnCalendar(BrnCalendar)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }], ngImport: i0 });
295
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnCalendar, isStandalone: true, selector: "[brnCalendar]", inputs: { highlightDays: { classPropertyName: "highlightDays", publicName: "highlightDays", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, dateDisabled: { classPropertyName: "dateDisabled", publicName: "dateDisabled", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedDate: { classPropertyName: "defaultFocusedDate", publicName: "defaultFocusedDate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { date: "dateChange", focusedDateChange: "focusedDateChange" }, providers: [provideBrnCalendar(BrnCalendar)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }], exportAs: ["brnCalendar"], ngImport: i0 });
295
296
  }
296
297
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendar, decorators: [{
297
298
  type: Directive,
298
299
  args: [{
299
300
  selector: '[brnCalendar]',
301
+ exportAs: 'brnCalendar',
300
302
  providers: [provideBrnCalendar(BrnCalendar)],
301
303
  }]
302
304
  }], propDecorators: { highlightDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlightDays", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: false }] }, { type: i0.Output, args: ["dateChange"] }], dateDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dateDisabled", required: false }] }], weekStartsOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekStartsOn", required: false }] }], defaultFocusedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultFocusedDate", required: false }] }], header: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BrnCalendarHeader), { isSignal: true }] }], focusedDateChange: [{ type: i0.Output, args: ["focusedDateChange"] }] } });
303
305
 
304
306
  class BrnCalendarCell {
305
307
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarCell, deps: [], target: i0.ɵɵFactoryTarget.Directive });
306
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarCell, isStandalone: true, selector: "[brnCalendarCell]", host: { attributes: { "role": "presentation" } }, ngImport: i0 });
308
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarCell, isStandalone: true, selector: "[brnCalendarCell]", host: { attributes: { "role": "presentation" } }, exportAs: ["brnCalendarCell"], ngImport: i0 });
307
309
  }
308
310
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarCell, decorators: [{
309
311
  type: Directive,
310
312
  args: [{
311
313
  selector: '[brnCalendarCell]',
314
+ exportAs: 'brnCalendarCell',
312
315
  host: {
313
316
  role: 'presentation',
314
317
  },
@@ -446,12 +449,13 @@ class BrnCalendarCellButton {
446
449
  this._elementRef.nativeElement.focus();
447
450
  }
448
451
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarCellButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
449
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnCalendarCellButton, isStandalone: true, selector: "button[brnCalendarCellButton]", inputs: { date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "gridcell", "type": "button" }, listeners: { "click": "_calendar.selectDate(date())", "keydown.arrowLeft": "focusPrevious($event)", "keydown.arrowRight": "focusNext($event)", "keydown.arrowUp": "focusAbove($event)", "keydown.arrowDown": "focusBelow($event)", "keydown.home": "focusFirst($event)", "keydown.end": "focusLast($event)", "keydown.pageUp": "focusPreviousMonth($event)", "keydown.pageDown": "focusNextMonth($event)" }, properties: { "tabindex": "focusable() ? 0 : -1", "attr.data-outside": "!selected() && outside() && (!end() && !start())? true : null", "attr.data-today": "today() && !selected() ? true : null", "attr.data-selected-single": "selected() && !start() && !end() && !betweenRange() ? true : null", "attr.data-disabled": "disabled() ? true : null", "attr.aria-selected": "selected() ? true : null", "attr.aria-disabled": "disabled() ? true : null", "attr.data-range-start": "start() ? true : null", "attr.data-range-end": "end() ? true : null", "attr.data-highlighted": "highlighted() ? true : null", "attr.data-range-middle": "betweenRange() ? true : null", "disabled": "disabled()" } }, ngImport: i0 });
452
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnCalendarCellButton, isStandalone: true, selector: "button[brnCalendarCellButton]", inputs: { date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "gridcell", "type": "button" }, listeners: { "click": "_calendar.selectDate(date())", "keydown.arrowLeft": "focusPrevious($event)", "keydown.arrowRight": "focusNext($event)", "keydown.arrowUp": "focusAbove($event)", "keydown.arrowDown": "focusBelow($event)", "keydown.home": "focusFirst($event)", "keydown.end": "focusLast($event)", "keydown.pageUp": "focusPreviousMonth($event)", "keydown.pageDown": "focusNextMonth($event)" }, properties: { "tabindex": "focusable() ? 0 : -1", "attr.data-outside": "!selected() && outside() && (!end() && !start())? true : null", "attr.data-today": "today() && !selected() ? true : null", "attr.data-selected-single": "selected() && !start() && !end() && !betweenRange() ? true : null", "attr.data-disabled": "disabled() ? true : null", "attr.aria-selected": "selected() ? true : null", "attr.aria-disabled": "disabled() ? true : null", "attr.data-range-start": "start() ? true : null", "attr.data-range-end": "end() ? true : null", "attr.data-highlighted": "highlighted() ? true : null", "attr.data-range-middle": "betweenRange() ? true : null", "disabled": "disabled()" } }, exportAs: ["brnCalendarCellButton"], ngImport: i0 });
450
453
  }
451
454
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarCellButton, decorators: [{
452
455
  type: Directive,
453
456
  args: [{
454
457
  selector: 'button[brnCalendarCellButton]',
458
+ exportAs: 'brnCalendarCellButton',
455
459
  host: {
456
460
  role: 'gridcell',
457
461
  '[tabindex]': 'focusable() ? 0 : -1',
@@ -484,12 +488,13 @@ class BrnCalendarGrid {
484
488
  /** Access the calendar component */
485
489
  _calendar = injectBrnCalendar();
486
490
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarGrid, deps: [], target: i0.ɵɵFactoryTarget.Directive });
487
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarGrid, isStandalone: true, selector: "[brnCalendarGrid]", host: { attributes: { "role": "grid" }, properties: { "attr.aria-labelledby": "_calendar.header()?.id()" } }, ngImport: i0 });
491
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarGrid, isStandalone: true, selector: "[brnCalendarGrid]", host: { attributes: { "role": "grid" }, properties: { "attr.aria-labelledby": "_calendar.header()?.id()" } }, exportAs: ["brnCalendarGrid"], ngImport: i0 });
488
492
  }
489
493
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarGrid, decorators: [{
490
494
  type: Directive,
491
495
  args: [{
492
496
  selector: '[brnCalendarGrid]',
497
+ exportAs: 'brnCalendarGrid',
493
498
  host: {
494
499
  role: 'grid',
495
500
  '[attr.aria-labelledby]': '_calendar.header()?.id()',
@@ -539,12 +544,13 @@ class BrnCalendarMonthSelect {
539
544
  this._calendar.setFocusedDate(this._dateAdapter.set(targetDate, { day }));
540
545
  }
541
546
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarMonthSelect, deps: [], target: i0.ɵɵFactoryTarget.Directive });
542
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarMonthSelect, isStandalone: true, selector: "brnSelect[brnCalendarMonthSelect],hlm-select[brnCalendarMonthSelect]", ngImport: i0 });
547
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarMonthSelect, isStandalone: true, selector: "brnSelect[brnCalendarMonthSelect],hlm-select[brnCalendarMonthSelect]", exportAs: ["brnCalendarMonthSelect"], ngImport: i0 });
543
548
  }
544
549
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarMonthSelect, decorators: [{
545
550
  type: Directive,
546
551
  args: [{
547
552
  selector: 'brnSelect[brnCalendarMonthSelect],hlm-select[brnCalendarMonthSelect]',
553
+ exportAs: 'brnCalendarMonthSelect',
548
554
  }]
549
555
  }], ctorParameters: () => [] });
550
556
 
@@ -594,12 +600,13 @@ class BrnCalendarNextButton {
594
600
  return { targetDate, possibleDate: this._calendar.constrainDate(targetDate) };
595
601
  }
596
602
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarNextButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
597
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarNextButton, isStandalone: true, selector: "button[brnCalendarNextButton]", host: { attributes: { "type": "button", "data-slot": "calendar-next-button" }, listeners: { "click": "focusNextMonth()" }, properties: { "attr.aria-label": "_i18n.config().labelNext()", "attr.aria-disabled": "_disabled() ? true : null", "disabled": "_disabled()" } }, ngImport: i0 });
603
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarNextButton, isStandalone: true, selector: "button[brnCalendarNextButton]", host: { attributes: { "type": "button", "data-slot": "calendar-next-button" }, listeners: { "click": "focusNextMonth()" }, properties: { "attr.aria-label": "_i18n.config().labelNext()", "attr.aria-disabled": "_disabled() ? true : null", "disabled": "_disabled()" } }, exportAs: ["brnCalendarNextButton"], ngImport: i0 });
598
604
  }
599
605
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarNextButton, decorators: [{
600
606
  type: Directive,
601
607
  args: [{
602
608
  selector: 'button[brnCalendarNextButton]',
609
+ exportAs: 'brnCalendarNextButton',
603
610
  host: {
604
611
  type: 'button',
605
612
  'data-slot': 'calendar-next-button',
@@ -657,12 +664,13 @@ class BrnCalendarPreviousButton {
657
664
  return { targetDate, possibleDate: this._calendar.constrainDate(targetDate) };
658
665
  }
659
666
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarPreviousButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
660
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarPreviousButton, isStandalone: true, selector: "button[brnCalendarPreviousButton]", host: { attributes: { "type": "button", "data-slot": "calendar-previous-button" }, listeners: { "click": "focusPreviousMonth()" }, properties: { "attr.aria-label": "_i18n.config().labelPrevious()", "attr.aria-disabled": "_disabled() ? true : null", "disabled": "_disabled()" } }, ngImport: i0 });
667
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarPreviousButton, isStandalone: true, selector: "button[brnCalendarPreviousButton]", host: { attributes: { "type": "button", "data-slot": "calendar-previous-button" }, listeners: { "click": "focusPreviousMonth()" }, properties: { "attr.aria-label": "_i18n.config().labelPrevious()", "attr.aria-disabled": "_disabled() ? true : null", "disabled": "_disabled()" } }, exportAs: ["brnCalendarPreviousButton"], ngImport: i0 });
661
668
  }
662
669
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarPreviousButton, decorators: [{
663
670
  type: Directive,
664
671
  args: [{
665
672
  selector: 'button[brnCalendarPreviousButton]',
673
+ exportAs: 'brnCalendarPreviousButton',
666
674
  host: {
667
675
  type: 'button',
668
676
  'data-slot': 'calendar-previous-button',
@@ -728,12 +736,13 @@ class BrnCalendarWeek {
728
736
  }
729
737
  }
730
738
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarWeek, deps: [], target: i0.ɵɵFactoryTarget.Directive });
731
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarWeek, isStandalone: true, selector: "[brnCalendarWeek]", ngImport: i0 });
739
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarWeek, isStandalone: true, selector: "[brnCalendarWeek]", exportAs: ["brnCalendarWeek"], ngImport: i0 });
732
740
  }
733
741
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarWeek, decorators: [{
734
742
  type: Directive,
735
743
  args: [{
736
744
  selector: '[brnCalendarWeek]',
745
+ exportAs: 'brnCalendarWeek',
737
746
  }]
738
747
  }], ctorParameters: () => [] });
739
748
 
@@ -788,12 +797,13 @@ class BrnCalendarWeekday {
788
797
  }
789
798
  }
790
799
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarWeekday, deps: [], target: i0.ɵɵFactoryTarget.Directive });
791
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarWeekday, isStandalone: true, selector: "[brnCalendarWeekday]", ngImport: i0 });
800
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarWeekday, isStandalone: true, selector: "[brnCalendarWeekday]", exportAs: ["brnCalendarWeekday"], ngImport: i0 });
792
801
  }
793
802
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarWeekday, decorators: [{
794
803
  type: Directive,
795
804
  args: [{
796
805
  selector: '[brnCalendarWeekday]',
806
+ exportAs: 'brnCalendarWeekday',
797
807
  }]
798
808
  }], ctorParameters: () => [] });
799
809
 
@@ -832,12 +842,13 @@ class BrnCalendarYearSelect {
832
842
  this._calendar.setFocusedDate(this._dateAdapter.set(targetDate, { day }));
833
843
  }
834
844
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarYearSelect, deps: [], target: i0.ɵɵFactoryTarget.Directive });
835
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarYearSelect, isStandalone: true, selector: "brnSelect[brnCalendarYearSelect],hlm-select[brnCalendarYearSelect]", ngImport: i0 });
845
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnCalendarYearSelect, isStandalone: true, selector: "brnSelect[brnCalendarYearSelect],hlm-select[brnCalendarYearSelect]", exportAs: ["brnCalendarYearSelect"], ngImport: i0 });
836
846
  }
837
847
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarYearSelect, decorators: [{
838
848
  type: Directive,
839
849
  args: [{
840
850
  selector: 'brnSelect[brnCalendarYearSelect],hlm-select[brnCalendarYearSelect]',
851
+ exportAs: 'brnCalendarYearSelect',
841
852
  }]
842
853
  }], ctorParameters: () => [] });
843
854
 
@@ -1035,12 +1046,13 @@ class BrnCalendarMulti {
1035
1046
  this._cells.push(cell);
1036
1047
  }
1037
1048
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarMulti, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1038
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnCalendarMulti, isStandalone: true, selector: "[brnCalendarMulti]", inputs: { highlightDays: { classPropertyName: "highlightDays", publicName: "highlightDays", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, minSelection: { classPropertyName: "minSelection", publicName: "minSelection", isSignal: true, isRequired: false, transformFunction: null }, maxSelection: { classPropertyName: "maxSelection", publicName: "maxSelection", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, dateDisabled: { classPropertyName: "dateDisabled", publicName: "dateDisabled", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedDate: { classPropertyName: "defaultFocusedDate", publicName: "defaultFocusedDate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { date: "dateChange", focusedDateChange: "focusedDateChange" }, providers: [provideBrnCalendar(BrnCalendarMulti)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }], ngImport: i0 });
1049
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnCalendarMulti, isStandalone: true, selector: "[brnCalendarMulti]", inputs: { highlightDays: { classPropertyName: "highlightDays", publicName: "highlightDays", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, minSelection: { classPropertyName: "minSelection", publicName: "minSelection", isSignal: true, isRequired: false, transformFunction: null }, maxSelection: { classPropertyName: "maxSelection", publicName: "maxSelection", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, dateDisabled: { classPropertyName: "dateDisabled", publicName: "dateDisabled", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedDate: { classPropertyName: "defaultFocusedDate", publicName: "defaultFocusedDate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { date: "dateChange", focusedDateChange: "focusedDateChange" }, providers: [provideBrnCalendar(BrnCalendarMulti)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }], exportAs: ["brnCalendarMulti"], ngImport: i0 });
1039
1050
  }
1040
1051
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarMulti, decorators: [{
1041
1052
  type: Directive,
1042
1053
  args: [{
1043
1054
  selector: '[brnCalendarMulti]',
1055
+ exportAs: 'brnCalendarMulti',
1044
1056
  providers: [provideBrnCalendar(BrnCalendarMulti)],
1045
1057
  }]
1046
1058
  }], propDecorators: { highlightDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlightDays", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], minSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "minSelection", required: false }] }], maxSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSelection", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: false }] }, { type: i0.Output, args: ["dateChange"] }], dateDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dateDisabled", required: false }] }], weekStartsOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekStartsOn", required: false }] }], defaultFocusedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultFocusedDate", required: false }] }], header: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BrnCalendarHeader), { isSignal: true }] }], focusedDateChange: [{ type: i0.Output, args: ["focusedDateChange"] }] } });
@@ -1260,12 +1272,13 @@ class BrnCalendarRange {
1260
1272
  this._cells.push(cell);
1261
1273
  }
1262
1274
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarRange, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1263
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnCalendarRange, isStandalone: true, selector: "[brnCalendarRange]", inputs: { highlightDays: { classPropertyName: "highlightDays", publicName: "highlightDays", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, dateDisabled: { classPropertyName: "dateDisabled", publicName: "dateDisabled", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedDate: { classPropertyName: "defaultFocusedDate", publicName: "defaultFocusedDate", isSignal: true, isRequired: false, transformFunction: null }, startDate: { classPropertyName: "startDate", publicName: "startDate", isSignal: true, isRequired: false, transformFunction: null }, endDate: { classPropertyName: "endDate", publicName: "endDate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { focusedDateChange: "focusedDateChange", startDate: "startDateChange", endDate: "endDateChange" }, providers: [provideBrnCalendar(BrnCalendarRange)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }], ngImport: i0 });
1275
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnCalendarRange, isStandalone: true, selector: "[brnCalendarRange]", inputs: { highlightDays: { classPropertyName: "highlightDays", publicName: "highlightDays", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, dateDisabled: { classPropertyName: "dateDisabled", publicName: "dateDisabled", isSignal: true, isRequired: false, transformFunction: null }, weekStartsOn: { classPropertyName: "weekStartsOn", publicName: "weekStartsOn", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedDate: { classPropertyName: "defaultFocusedDate", publicName: "defaultFocusedDate", isSignal: true, isRequired: false, transformFunction: null }, startDate: { classPropertyName: "startDate", publicName: "startDate", isSignal: true, isRequired: false, transformFunction: null }, endDate: { classPropertyName: "endDate", publicName: "endDate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { focusedDateChange: "focusedDateChange", startDate: "startDateChange", endDate: "endDateChange" }, providers: [provideBrnCalendar(BrnCalendarRange)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }], exportAs: ["brnCalendarRange"], ngImport: i0 });
1264
1276
  }
1265
1277
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnCalendarRange, decorators: [{
1266
1278
  type: Directive,
1267
1279
  args: [{
1268
1280
  selector: '[brnCalendarRange]',
1281
+ exportAs: 'brnCalendarRange',
1269
1282
  providers: [provideBrnCalendar(BrnCalendarRange)],
1270
1283
  }]
1271
1284
  }], propDecorators: { highlightDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlightDays", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], dateDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dateDisabled", required: false }] }], weekStartsOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekStartsOn", required: false }] }], defaultFocusedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultFocusedDate", required: false }] }], header: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BrnCalendarHeader), { isSignal: true }] }], focusedDateChange: [{ type: i0.Output, args: ["focusedDateChange"] }], startDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "startDate", required: false }] }, { type: i0.Output, args: ["startDateChange"] }], endDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "endDate", required: false }] }, { type: i0.Output, args: ["endDateChange"] }] } });
@@ -1287,12 +1300,13 @@ class BrnMonthYearCalendarHeader {
1287
1300
  id = input(`brn-month-year-header-${++uniqueId}`, ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
1288
1301
  _monthYear = injectBrnMonthYearCalendar();
1289
1302
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1290
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnMonthYearCalendarHeader, isStandalone: true, selector: "button[brnMonthYearCalendarHeader]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_monthYear.view.set(\"year\")" }, properties: { "id": "id()", "disabled": "_monthYear.disabled() || _monthYear.view() === \"year\"" } }, ngImport: i0 });
1303
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnMonthYearCalendarHeader, isStandalone: true, selector: "button[brnMonthYearCalendarHeader]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_monthYear.view.set(\"year\")" }, properties: { "id": "id()", "disabled": "_monthYear.disabled() || _monthYear.view() === \"year\"" } }, exportAs: ["brnMonthYearCalendarHeader"], ngImport: i0 });
1291
1304
  }
1292
1305
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarHeader, decorators: [{
1293
1306
  type: Directive,
1294
1307
  args: [{
1295
1308
  selector: 'button[brnMonthYearCalendarHeader]',
1309
+ exportAs: 'brnMonthYearCalendarHeader',
1296
1310
  host: {
1297
1311
  '[id]': 'id()',
1298
1312
  '[disabled]': '_monthYear.disabled() || _monthYear.view() === "year"',
@@ -1517,12 +1531,13 @@ class BrnMonthYearCalendar {
1517
1531
  }
1518
1532
  }
1519
1533
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1520
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnMonthYearCalendar, isStandalone: true, selector: "[brnMonthYearCalendar]", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedDate: { classPropertyName: "defaultFocusedDate", publicName: "defaultFocusedDate", isSignal: true, isRequired: false, transformFunction: null }, viewInput: { classPropertyName: "viewInput", publicName: "view", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { date: "dateChange", focusedDateChange: "focusedDateChange" }, providers: [provideBrnMonthYearCalendar(BrnMonthYearCalendar)], queries: [{ propertyName: "header", first: true, predicate: BrnMonthYearCalendarHeader, descendants: true, isSignal: true }], ngImport: i0 });
1534
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.16", type: BrnMonthYearCalendar, isStandalone: true, selector: "[brnMonthYearCalendar]", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedDate: { classPropertyName: "defaultFocusedDate", publicName: "defaultFocusedDate", isSignal: true, isRequired: false, transformFunction: null }, viewInput: { classPropertyName: "viewInput", publicName: "view", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { date: "dateChange", focusedDateChange: "focusedDateChange" }, providers: [provideBrnMonthYearCalendar(BrnMonthYearCalendar)], queries: [{ propertyName: "header", first: true, predicate: BrnMonthYearCalendarHeader, descendants: true, isSignal: true }], exportAs: ["brnMonthYearCalendar"], ngImport: i0 });
1521
1535
  }
1522
1536
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendar, decorators: [{
1523
1537
  type: Directive,
1524
1538
  args: [{
1525
1539
  selector: '[brnMonthYearCalendar]',
1540
+ exportAs: 'brnMonthYearCalendar',
1526
1541
  providers: [provideBrnMonthYearCalendar(BrnMonthYearCalendar)],
1527
1542
  }]
1528
1543
  }], propDecorators: { min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: false }] }, { type: i0.Output, args: ["dateChange"] }], defaultFocusedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultFocusedDate", required: false }] }], viewInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "view", required: false }] }], header: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BrnMonthYearCalendarHeader), { isSignal: true }] }], focusedDateChange: [{ type: i0.Output, args: ["focusedDateChange"] }] } });
@@ -1531,12 +1546,13 @@ class BrnMonthYearCalendarGrid {
1531
1546
  /** Access the month/year selector */
1532
1547
  _monthYear = injectBrnMonthYearCalendar();
1533
1548
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarGrid, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1534
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnMonthYearCalendarGrid, isStandalone: true, selector: "[brnMonthYearCalendarGrid]", host: { attributes: { "role": "grid" }, properties: { "attr.aria-labelledby": "_monthYear.header()?.id()" } }, ngImport: i0 });
1549
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnMonthYearCalendarGrid, isStandalone: true, selector: "[brnMonthYearCalendarGrid]", host: { attributes: { "role": "grid" }, properties: { "attr.aria-labelledby": "_monthYear.header()?.id()" } }, exportAs: ["brnMonthYearCalendarGrid"], ngImport: i0 });
1535
1550
  }
1536
1551
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarGrid, decorators: [{
1537
1552
  type: Directive,
1538
1553
  args: [{
1539
1554
  selector: '[brnMonthYearCalendarGrid]',
1555
+ exportAs: 'brnMonthYearCalendarGrid',
1540
1556
  host: {
1541
1557
  role: 'grid',
1542
1558
  '[attr.aria-labelledby]': '_monthYear.header()?.id()',
@@ -1587,12 +1603,13 @@ class BrnMonthYearCalendarMonthButton {
1587
1603
  this._elementRef.nativeElement.focus();
1588
1604
  }
1589
1605
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarMonthButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1590
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnMonthYearCalendarMonthButton, isStandalone: true, selector: "button[brnMonthYearCalendarMonthButton]", inputs: { date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "gridcell", "type": "button" }, listeners: { "click": "_monthYear.selectMonth(date())", "keydown.arrowLeft": "focusOffset($event, getDirection() === \"rtl\" ? 1 : -1)", "keydown.arrowRight": "focusOffset($event, getDirection() === \"rtl\" ? -1 : 1)", "keydown.arrowUp": "focusOffset($event, -4)", "keydown.arrowDown": "focusOffset($event, 4)", "keydown.home": "focusMonth($event, 0)", "keydown.end": "focusMonth($event, 11)", "keydown.pageUp": "focusYearOffset($event, -1)", "keydown.pageDown": "focusYearOffset($event, 1)" }, properties: { "tabindex": "focusable() ? 0 : -1", "attr.data-selected": "selected() ? true : null", "attr.data-today": "today() && !selected() ? true : null", "attr.data-focused": "focusable() ? true : null", "attr.data-disabled": "disabled() ? true : null", "attr.aria-selected": "selected() ? true : null", "attr.aria-disabled": "disabled() ? true : null", "disabled": "disabled()" } }, ngImport: i0 });
1606
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnMonthYearCalendarMonthButton, isStandalone: true, selector: "button[brnMonthYearCalendarMonthButton]", inputs: { date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "gridcell", "type": "button" }, listeners: { "click": "_monthYear.selectMonth(date())", "keydown.arrowLeft": "focusOffset($event, getDirection() === \"rtl\" ? 1 : -1)", "keydown.arrowRight": "focusOffset($event, getDirection() === \"rtl\" ? -1 : 1)", "keydown.arrowUp": "focusOffset($event, -4)", "keydown.arrowDown": "focusOffset($event, 4)", "keydown.home": "focusMonth($event, 0)", "keydown.end": "focusMonth($event, 11)", "keydown.pageUp": "focusYearOffset($event, -1)", "keydown.pageDown": "focusYearOffset($event, 1)" }, properties: { "tabindex": "focusable() ? 0 : -1", "attr.data-selected": "selected() ? true : null", "attr.data-today": "today() && !selected() ? true : null", "attr.data-focused": "focusable() ? true : null", "attr.data-disabled": "disabled() ? true : null", "attr.aria-selected": "selected() ? true : null", "attr.aria-disabled": "disabled() ? true : null", "disabled": "disabled()" } }, exportAs: ["brnMonthYearCalendarMonthButton"], ngImport: i0 });
1591
1607
  }
1592
1608
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarMonthButton, decorators: [{
1593
1609
  type: Directive,
1594
1610
  args: [{
1595
1611
  selector: 'button[brnMonthYearCalendarMonthButton]',
1612
+ exportAs: 'brnMonthYearCalendarMonthButton',
1596
1613
  host: {
1597
1614
  role: 'gridcell',
1598
1615
  type: 'button',
@@ -1623,12 +1640,13 @@ class BrnMonthYearCalendarNextButton {
1623
1640
  _disabled = computed(() => this._monthYear.isNextDisabled(), ...(ngDevMode ? [{ debugName: "_disabled" }] : /* istanbul ignore next */ []));
1624
1641
  _label = computed(() => this._monthYear.view() === 'month' ? 'Go to the next year' : 'Go to the next years', ...(ngDevMode ? [{ debugName: "_label" }] : /* istanbul ignore next */ []));
1625
1642
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarNextButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1626
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnMonthYearCalendarNextButton, isStandalone: true, selector: "button[brnMonthYearCalendarNextButton]", host: { attributes: { "type": "button", "data-slot": "month-year-next-button" }, listeners: { "click": "_monthYear.goToNext()" }, properties: { "attr.aria-label": "_label()", "attr.aria-disabled": "_disabled() ? true : null", "disabled": "_disabled()" } }, ngImport: i0 });
1643
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnMonthYearCalendarNextButton, isStandalone: true, selector: "button[brnMonthYearCalendarNextButton]", host: { attributes: { "type": "button", "data-slot": "month-year-next-button" }, listeners: { "click": "_monthYear.goToNext()" }, properties: { "attr.aria-label": "_label()", "attr.aria-disabled": "_disabled() ? true : null", "disabled": "_disabled()" } }, exportAs: ["brnMonthYearCalendarNextButton"], ngImport: i0 });
1627
1644
  }
1628
1645
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarNextButton, decorators: [{
1629
1646
  type: Directive,
1630
1647
  args: [{
1631
1648
  selector: 'button[brnMonthYearCalendarNextButton]',
1649
+ exportAs: 'brnMonthYearCalendarNextButton',
1632
1650
  host: {
1633
1651
  type: 'button',
1634
1652
  'data-slot': 'month-year-next-button',
@@ -1646,12 +1664,13 @@ class BrnMonthYearCalendarPreviousButton {
1646
1664
  _disabled = computed(() => this._monthYear.isPreviousDisabled(), ...(ngDevMode ? [{ debugName: "_disabled" }] : /* istanbul ignore next */ []));
1647
1665
  _label = computed(() => this._monthYear.view() === 'month' ? 'Go to the previous year' : 'Go to the previous years', ...(ngDevMode ? [{ debugName: "_label" }] : /* istanbul ignore next */ []));
1648
1666
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarPreviousButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1649
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnMonthYearCalendarPreviousButton, isStandalone: true, selector: "button[brnMonthYearCalendarPreviousButton]", host: { attributes: { "type": "button", "data-slot": "month-year-previous-button" }, listeners: { "click": "_monthYear.goToPrevious()" }, properties: { "attr.aria-label": "_label()", "attr.aria-disabled": "_disabled() ? true : null", "disabled": "_disabled()" } }, ngImport: i0 });
1667
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: BrnMonthYearCalendarPreviousButton, isStandalone: true, selector: "button[brnMonthYearCalendarPreviousButton]", host: { attributes: { "type": "button", "data-slot": "month-year-previous-button" }, listeners: { "click": "_monthYear.goToPrevious()" }, properties: { "attr.aria-label": "_label()", "attr.aria-disabled": "_disabled() ? true : null", "disabled": "_disabled()" } }, exportAs: ["brnMonthYearCalendarPreviousButton"], ngImport: i0 });
1650
1668
  }
1651
1669
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarPreviousButton, decorators: [{
1652
1670
  type: Directive,
1653
1671
  args: [{
1654
1672
  selector: 'button[brnMonthYearCalendarPreviousButton]',
1673
+ exportAs: 'brnMonthYearCalendarPreviousButton',
1655
1674
  host: {
1656
1675
  type: 'button',
1657
1676
  'data-slot': 'month-year-previous-button',
@@ -1701,12 +1720,13 @@ class BrnMonthYearCalendarYearButton {
1701
1720
  this._elementRef.nativeElement.focus();
1702
1721
  }
1703
1722
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarYearButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1704
- /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnMonthYearCalendarYearButton, isStandalone: true, selector: "button[brnMonthYearCalendarYearButton]", inputs: { date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "gridcell", "type": "button" }, listeners: { "click": "_monthYear.selectYear(date())", "keydown.arrowLeft": "focusOffset($event, getDirection() === \"rtl\" ? 1 : -1)", "keydown.arrowRight": "focusOffset($event, getDirection() === \"rtl\" ? -1 : 1)", "keydown.arrowUp": "focusOffset($event, -4)", "keydown.arrowDown": "focusOffset($event, 4)", "keydown.home": "focusYear($event, _monthYear.yearRange().start)", "keydown.end": "focusYear($event, _monthYear.yearRange().end)", "keydown.pageUp": "focusOffset($event, -_yearsPerPage)", "keydown.pageDown": "focusOffset($event, _yearsPerPage)" }, properties: { "tabindex": "focusable() ? 0 : -1", "attr.data-selected": "selected() ? true : null", "attr.data-today": "today() && !selected() ? true : null", "attr.data-focused": "focusable() ? true : null", "attr.data-disabled": "disabled() ? true : null", "attr.aria-selected": "selected() ? true : null", "attr.aria-disabled": "disabled() ? true : null", "disabled": "disabled()" } }, ngImport: i0 });
1723
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: BrnMonthYearCalendarYearButton, isStandalone: true, selector: "button[brnMonthYearCalendarYearButton]", inputs: { date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "gridcell", "type": "button" }, listeners: { "click": "_monthYear.selectYear(date())", "keydown.arrowLeft": "focusOffset($event, getDirection() === \"rtl\" ? 1 : -1)", "keydown.arrowRight": "focusOffset($event, getDirection() === \"rtl\" ? -1 : 1)", "keydown.arrowUp": "focusOffset($event, -4)", "keydown.arrowDown": "focusOffset($event, 4)", "keydown.home": "focusYear($event, _monthYear.yearRange().start)", "keydown.end": "focusYear($event, _monthYear.yearRange().end)", "keydown.pageUp": "focusOffset($event, -_yearsPerPage)", "keydown.pageDown": "focusOffset($event, _yearsPerPage)" }, properties: { "tabindex": "focusable() ? 0 : -1", "attr.data-selected": "selected() ? true : null", "attr.data-today": "today() && !selected() ? true : null", "attr.data-focused": "focusable() ? true : null", "attr.data-disabled": "disabled() ? true : null", "attr.aria-selected": "selected() ? true : null", "attr.aria-disabled": "disabled() ? true : null", "disabled": "disabled()" } }, exportAs: ["brnMonthYearCalendarYearButton"], ngImport: i0 });
1705
1724
  }
1706
1725
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: BrnMonthYearCalendarYearButton, decorators: [{
1707
1726
  type: Directive,
1708
1727
  args: [{
1709
1728
  selector: 'button[brnMonthYearCalendarYearButton]',
1729
+ exportAs: 'brnMonthYearCalendarYearButton',
1710
1730
  host: {
1711
1731
  role: 'gridcell',
1712
1732
  type: 'button',