@spartan-ng/brain 0.0.1-alpha.562 → 0.0.1-alpha.564
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.
- package/accordion/index.d.ts +125 -10
- package/alert-dialog/index.d.ts +40 -13
- package/autocomplete/index.d.ts +113 -15
- package/avatar/index.d.ts +40 -8
- package/button/index.d.ts +15 -3
- package/calendar/index.d.ts +465 -29
- package/checkbox/index.d.ts +156 -3
- package/collapsible/index.d.ts +70 -8
- package/command/index.d.ts +147 -16
- package/core/index.d.ts +153 -11
- package/date-time/index.d.ts +321 -3
- package/date-time-luxon/index.d.ts +32 -1
- package/dialog/index.d.ts +225 -21
- package/fesm2022/spartan-ng-brain-accordion.mjs +12 -12
- package/fesm2022/spartan-ng-brain-accordion.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-alert-dialog.mjs +18 -18
- package/fesm2022/spartan-ng-brain-alert-dialog.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-autocomplete.mjs +18 -18
- package/fesm2022/spartan-ng-brain-autocomplete.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-avatar.mjs +12 -12
- package/fesm2022/spartan-ng-brain-avatar.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-button.mjs +3 -3
- package/fesm2022/spartan-ng-brain-button.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-calendar.mjs +42 -42
- package/fesm2022/spartan-ng-brain-calendar.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-checkbox.mjs +5 -5
- package/fesm2022/spartan-ng-brain-checkbox.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-collapsible.mjs +9 -9
- package/fesm2022/spartan-ng-brain-collapsible.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-command.mjs +29 -34
- package/fesm2022/spartan-ng-brain-command.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-core.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-date-time-luxon.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-date-time.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-dialog.mjs +24 -24
- package/fesm2022/spartan-ng-brain-dialog.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-form-field.mjs +3 -3
- package/fesm2022/spartan-ng-brain-form-field.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-forms.mjs +6 -6
- package/fesm2022/spartan-ng-brain-forms.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-hover-card.mjs +12 -12
- package/fesm2022/spartan-ng-brain-hover-card.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-input-otp.mjs +6 -6
- package/fesm2022/spartan-ng-brain-input-otp.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-label.mjs +3 -3
- package/fesm2022/spartan-ng-brain-label.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-menu.mjs +24 -24
- package/fesm2022/spartan-ng-brain-menu.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-navigation-menu.mjs +21 -21
- package/fesm2022/spartan-ng-brain-navigation-menu.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-popover.mjs +12 -12
- package/fesm2022/spartan-ng-brain-popover.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-progress.mjs +6 -6
- package/fesm2022/spartan-ng-brain-progress.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-radio-group.mjs +6 -6
- package/fesm2022/spartan-ng-brain-radio-group.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-resizable.mjs +10 -11
- package/fesm2022/spartan-ng-brain-resizable.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-select.mjs +33 -33
- package/fesm2022/spartan-ng-brain-select.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-separator.mjs +3 -3
- package/fesm2022/spartan-ng-brain-separator.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-sheet.mjs +21 -21
- package/fesm2022/spartan-ng-brain-sheet.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-slider.mjs +17 -17
- package/fesm2022/spartan-ng-brain-slider.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-switch.mjs +8 -8
- package/fesm2022/spartan-ng-brain-switch.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-tabs.mjs +15 -15
- package/fesm2022/spartan-ng-brain-tabs.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-toggle-group.mjs +6 -6
- package/fesm2022/spartan-ng-brain-toggle-group.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-toggle.mjs +3 -3
- package/fesm2022/spartan-ng-brain-toggle.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-tooltip.mjs +14 -14
- package/fesm2022/spartan-ng-brain-tooltip.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain.mjs.map +1 -1
- package/form-field/index.d.ts +14 -1
- package/forms/index.d.ts +35 -3
- package/hover-card/index.d.ts +86 -5
- package/index.d.ts +2 -2
- package/input-otp/index.d.ts +82 -5
- package/label/index.d.ts +20 -3
- package/menu/index.d.ts +79 -17
- package/navigation-menu/index.d.ts +185 -13
- package/package.json +24 -24
- package/popover/index.d.ts +39 -9
- package/progress/index.d.ts +39 -6
- package/radio-group/index.d.ts +124 -6
- package/resizable/index.d.ts +103 -3
- package/select/index.d.ts +217 -21
- package/separator/index.d.ts +27 -4
- package/sheet/index.d.ts +51 -15
- package/slider/index.d.ts +100 -12
- package/switch/index.d.ts +141 -5
- package/tabs/index.d.ts +276 -10
- package/toggle/index.d.ts +30 -3
- package/toggle-group/index.d.ts +108 -6
- package/tooltip/index.d.ts +261 -10
- package/accordion/lib/brn-accordion-content.d.ts +0 -20
- package/accordion/lib/brn-accordion-item.d.ts +0 -28
- package/accordion/lib/brn-accordion-token.d.ts +0 -19
- package/accordion/lib/brn-accordion-trigger.d.ts +0 -16
- package/accordion/lib/brn-accordion.d.ts +0 -39
- package/alert-dialog/lib/brn-alert-dialog-content.d.ts +0 -6
- package/alert-dialog/lib/brn-alert-dialog-description.d.ts +0 -6
- package/alert-dialog/lib/brn-alert-dialog-overlay.d.ts +0 -6
- package/alert-dialog/lib/brn-alert-dialog-title.d.ts +0 -6
- package/alert-dialog/lib/brn-alert-dialog-trigger.d.ts +0 -10
- package/alert-dialog/lib/brn-alert-dialog.d.ts +0 -7
- package/autocomplete/lib/brn-autocomplete-empty.d.ts +0 -11
- package/autocomplete/lib/brn-autocomplete-group.d.ts +0 -8
- package/autocomplete/lib/brn-autocomplete-item.d.ts +0 -32
- package/autocomplete/lib/brn-autocomplete-item.token.d.ts +0 -4
- package/autocomplete/lib/brn-autocomplete-list.d.ts +0 -8
- package/autocomplete/lib/brn-autocomplete-search-input.d.ts +0 -13
- package/autocomplete/lib/brn-autocomplete.d.ts +0 -30
- package/autocomplete/lib/brn-autocomplete.token.d.ts +0 -5
- package/avatar/lib/brn-avatar.d.ts +0 -7
- package/avatar/lib/fallback/brn-avatar-fallback.d.ts +0 -9
- package/avatar/lib/fallback/index.d.ts +0 -1
- package/avatar/lib/image/brn-avatar-image.d.ts +0 -9
- package/avatar/lib/image/index.d.ts +0 -1
- package/avatar/lib/util/hex-color-for.d.ts +0 -1
- package/avatar/lib/util/index.d.ts +0 -3
- package/avatar/lib/util/initials.pipe.d.ts +0 -7
- package/avatar/lib/util/is-bright.d.ts +0 -1
- package/button/lib/brn-button.d.ts +0 -10
- package/calendar/lib/brn-calendar-cell-button.d.ts +0 -62
- package/calendar/lib/brn-calendar-cell.d.ts +0 -5
- package/calendar/lib/brn-calendar-grid.d.ts +0 -7
- package/calendar/lib/brn-calendar-header.d.ts +0 -7
- package/calendar/lib/brn-calendar-month-select.d.ts +0 -17
- package/calendar/lib/brn-calendar-next-button.d.ts +0 -13
- package/calendar/lib/brn-calendar-previous-button.d.ts +0 -13
- package/calendar/lib/brn-calendar-week.d.ts +0 -25
- package/calendar/lib/brn-calendar-weekday.d.ts +0 -28
- package/calendar/lib/brn-calendar-year-select.d.ts +0 -16
- package/calendar/lib/brn-calendar.d.ts +0 -74
- package/calendar/lib/brn-calendar.token.d.ts +0 -22
- package/calendar/lib/i18n/calendar-i18n.d.ts +0 -32
- package/calendar/lib/mode/brn-calendar-multiple.d.ts +0 -77
- package/calendar/lib/mode/brn-calendar-range.d.ts +0 -79
- package/checkbox/lib/brn-checkbox.d.ts +0 -151
- package/collapsible/lib/brn-collapsible-content.d.ts +0 -15
- package/collapsible/lib/brn-collapsible-token.d.ts +0 -16
- package/collapsible/lib/brn-collapsible-trigger.d.ts +0 -9
- package/collapsible/lib/brn-collapsible.d.ts +0 -24
- package/command/lib/brn-command-empty.d.ts +0 -11
- package/command/lib/brn-command-group.d.ts +0 -12
- package/command/lib/brn-command-item.d.ts +0 -42
- package/command/lib/brn-command-item.token.d.ts +0 -4
- package/command/lib/brn-command-list.d.ts +0 -8
- package/command/lib/brn-command-search-input.d.ts +0 -24
- package/command/lib/brn-command-search-input.token.d.ts +0 -4
- package/command/lib/brn-command.d.ts +0 -29
- package/command/lib/brn-command.token.d.ts +0 -11
- package/core/helpers/computed-previous.d.ts +0 -36
- package/core/helpers/create-hover-observable.d.ts +0 -7
- package/core/helpers/create-injection-token.d.ts +0 -20
- package/core/helpers/custom-element-class-settable.d.ts +0 -12
- package/core/helpers/debounced-signal.d.ts +0 -9
- package/core/helpers/dev-mode.d.ts +0 -5
- package/core/helpers/exposes-side.d.ts +0 -13
- package/core/helpers/exposes-state.d.ts +0 -13
- package/core/helpers/measure-dimensions.d.ts +0 -5
- package/core/helpers/table-classes-settable.d.ts +0 -16
- package/core/helpers/wait-for-element-animations.d.ts +0 -5
- package/core/helpers/zone-free.d.ts +0 -10
- package/date-time/lib/date-adapter.d.ts +0 -186
- package/date-time/lib/native-date-adapter.d.ts +0 -103
- package/date-time/lib/utc-date-adapter.d.ts +0 -28
- package/date-time-luxon/lib/date-adapter.d.ts +0 -29
- package/dialog/lib/brn-dialog-close.d.ts +0 -8
- package/dialog/lib/brn-dialog-content.d.ts +0 -12
- package/dialog/lib/brn-dialog-description.d.ts +0 -8
- package/dialog/lib/brn-dialog-options.d.ts +0 -26
- package/dialog/lib/brn-dialog-overlay.d.ts +0 -9
- package/dialog/lib/brn-dialog-ref.d.ts +0 -24
- package/dialog/lib/brn-dialog-state.d.ts +0 -1
- package/dialog/lib/brn-dialog-title.d.ts +0 -8
- package/dialog/lib/brn-dialog-token.d.ts +0 -29
- package/dialog/lib/brn-dialog-trigger.d.ts +0 -18
- package/dialog/lib/brn-dialog-utils.d.ts +0 -1
- package/dialog/lib/brn-dialog.d.ts +0 -61
- package/dialog/lib/brn-dialog.service.d.ts +0 -23
- package/form-field/lib/brn-form-field-control.d.ts +0 -11
- package/forms/lib/control-value-accessor.d.ts +0 -2
- package/forms/lib/error-options.d.ts +0 -14
- package/forms/lib/error-state-tracker.d.ts +0 -15
- package/hover-card/lib/brn-hover-card-content.service.d.ts +0 -72
- package/hover-card/lib/brn-hover-card.d.ts +0 -9
- package/input-otp/lib/brn-input-otp-slot.d.ts +0 -15
- package/input-otp/lib/brn-input-otp.d.ts +0 -61
- package/input-otp/lib/brn-input-otp.token.d.ts +0 -5
- package/label/lib/brn-label.d.ts +0 -15
- package/menu/lib/brn-context-menu-trigger.d.ts +0 -14
- package/menu/lib/brn-menu-align.d.ts +0 -4
- package/menu/lib/brn-menu-bar.d.ts +0 -6
- package/menu/lib/brn-menu-group.d.ts +0 -6
- package/menu/lib/brn-menu-item-checkbox.d.ts +0 -11
- package/menu/lib/brn-menu-item-radio.d.ts +0 -11
- package/menu/lib/brn-menu-item.d.ts +0 -10
- package/menu/lib/brn-menu-trigger.d.ts +0 -11
- package/menu/lib/brn-menu.d.ts +0 -11
- package/navigation-menu/lib/brn-navigation-menu-content.d.ts +0 -22
- package/navigation-menu/lib/brn-navigation-menu-content.service.d.ts +0 -44
- package/navigation-menu/lib/brn-navigation-menu-item-focusable.token.d.ts +0 -4
- package/navigation-menu/lib/brn-navigation-menu-item.d.ts +0 -23
- package/navigation-menu/lib/brn-navigation-menu-item.token.d.ts +0 -5
- package/navigation-menu/lib/brn-navigation-menu-link.d.ts +0 -22
- package/navigation-menu/lib/brn-navigation-menu-list.d.ts +0 -7
- package/navigation-menu/lib/brn-navigation-menu-trigger.d.ts +0 -44
- package/navigation-menu/lib/brn-navigation-menu.d.ts +0 -61
- package/navigation-menu/lib/brn-navigation-menu.token.d.ts +0 -5
- package/navigation-menu/lib/brn-parent-nav-menu.token.d.ts +0 -8
- package/popover/lib/brn-popover-close.d.ts +0 -6
- package/popover/lib/brn-popover-content.d.ts +0 -6
- package/popover/lib/brn-popover-trigger.d.ts +0 -10
- package/popover/lib/brn-popover.d.ts +0 -15
- package/progress/lib/brn-progress-indicator.d.ts +0 -6
- package/progress/lib/brn-progress.d.ts +0 -24
- package/progress/lib/brn-progress.token.d.ts +0 -4
- package/radio-group/lib/brn-radio-group.d.ts +0 -59
- package/radio-group/lib/brn-radio-group.token.d.ts +0 -4
- package/radio-group/lib/brn-radio.d.ts +0 -58
- package/resizable/lib/brn-resizable-group.d.ts +0 -37
- package/resizable/lib/brn-resizable-handle.d.ts +0 -26
- package/resizable/lib/brn-resizable-panel.d.ts +0 -39
- package/select/lib/brn-select-content.d.ts +0 -48
- package/select/lib/brn-select-content.token.d.ts +0 -4
- package/select/lib/brn-select-group.d.ts +0 -6
- package/select/lib/brn-select-label.d.ts +0 -9
- package/select/lib/brn-select-option.d.ts +0 -25
- package/select/lib/brn-select-placeholder.d.ts +0 -8
- package/select/lib/brn-select-trigger.d.ts +0 -24
- package/select/lib/brn-select-value-template.d.ts +0 -11
- package/select/lib/brn-select-value.d.ts +0 -18
- package/select/lib/brn-select.d.ts +0 -69
- package/select/lib/brn-select.token.d.ts +0 -4
- package/separator/lib/brn-separator.d.ts +0 -14
- package/separator/lib/brn-separator.token.d.ts +0 -7
- package/sheet/lib/brn-sheet-close.d.ts +0 -6
- package/sheet/lib/brn-sheet-content.d.ts +0 -8
- package/sheet/lib/brn-sheet-description.d.ts +0 -6
- package/sheet/lib/brn-sheet-overlay.d.ts +0 -6
- package/sheet/lib/brn-sheet-title.d.ts +0 -6
- package/sheet/lib/brn-sheet-trigger.d.ts +0 -10
- package/sheet/lib/brn-sheet.d.ts +0 -10
- package/slider/lib/brn-slider-range.d.ts +0 -7
- package/slider/lib/brn-slider-thumb.d.ts +0 -24
- package/slider/lib/brn-slider-tick.d.ts +0 -12
- package/slider/lib/brn-slider-track.d.ts +0 -12
- package/slider/lib/brn-slider-track.token.d.ts +0 -5
- package/slider/lib/brn-slider.d.ts +0 -39
- package/slider/lib/brn-slider.token.d.ts +0 -4
- package/switch/lib/brn-switch-thumb.d.ts +0 -5
- package/switch/lib/brn-switch.d.ts +0 -131
- package/tabs/lib/brn-tabs-content.d.ts +0 -15
- package/tabs/lib/brn-tabs-list.d.ts +0 -17
- package/tabs/lib/brn-tabs-paginated-list.d.ts +0 -196
- package/tabs/lib/brn-tabs-trigger.d.ts +0 -21
- package/tabs/lib/brn-tabs.d.ts +0 -38
- package/toggle/lib/brn-toggle.d.ts +0 -25
- package/toggle-group/lib/brn-toggle-group.d.ts +0 -68
- package/toggle-group/lib/brn-toggle-group.token.d.ts +0 -4
- package/toggle-group/lib/brn-toggle-item.d.ts +0 -31
- package/tooltip/lib/brn-tooltip-content-template.d.ts +0 -8
- package/tooltip/lib/brn-tooltip-content.d.ts +0 -73
- package/tooltip/lib/brn-tooltip-trigger.d.ts +0 -141
- package/tooltip/lib/brn-tooltip.d.ts +0 -7
- package/tooltip/lib/brn-tooltip.token.d.ts +0 -28
|
@@ -138,10 +138,10 @@ class BrnCalendarCellButton {
|
|
|
138
138
|
focus() {
|
|
139
139
|
this._elementRef.nativeElement.focus();
|
|
140
140
|
}
|
|
141
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
142
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
141
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarCellButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
142
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.7", 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": "outside() && (!end() && !start())? '' : null", "attr.data-today": "today() && !selected() ? '' : null", "attr.data-selected": "selected() ? '' : null", "attr.data-disabled": "disabled() ? '' : null", "attr.aria-selected": "selected() ? 'true' : null", "attr.aria-disabled": "disabled() ? 'true' : null", "attr.data-range-start": "start() ? \"\" : null", "attr.data-range-end": "end() ? \"\" : null", "attr.data-range-between": "betweenRange() ? \"\" : null", "disabled": "disabled()" } }, ngImport: i0 });
|
|
143
143
|
}
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarCellButton, decorators: [{
|
|
145
145
|
type: Directive,
|
|
146
146
|
args: [{
|
|
147
147
|
selector: 'button[brnCalendarCellButton]',
|
|
@@ -176,10 +176,10 @@ let uniqueId = 0;
|
|
|
176
176
|
class BrnCalendarHeader {
|
|
177
177
|
/** The unique id for the header */
|
|
178
178
|
id = input(`brn-calendar-header-${++uniqueId}`);
|
|
179
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
180
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
179
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
180
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.7", 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 });
|
|
181
181
|
}
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarHeader, decorators: [{
|
|
183
183
|
type: Directive,
|
|
184
184
|
args: [{
|
|
185
185
|
selector: '[brnCalendarHeader]',
|
|
@@ -248,10 +248,10 @@ class BrnCalendarI18nService {
|
|
|
248
248
|
use(config) {
|
|
249
249
|
this._config.set({ ...this.config(), ...config });
|
|
250
250
|
}
|
|
251
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
252
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
251
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarI18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
252
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarI18nService, providedIn: 'root' });
|
|
253
253
|
}
|
|
254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarI18nService, decorators: [{
|
|
255
255
|
type: Injectable,
|
|
256
256
|
args: [{ providedIn: 'root' }]
|
|
257
257
|
}] });
|
|
@@ -423,10 +423,10 @@ class BrnCalendar {
|
|
|
423
423
|
isBetweenRange(_) {
|
|
424
424
|
return false;
|
|
425
425
|
}
|
|
426
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
427
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
426
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
427
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.0.7", type: BrnCalendar, isStandalone: true, selector: "[brnCalendar]", 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 }, 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" }, providers: [provideBrnCalendar(BrnCalendar)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }, { propertyName: "_cells", predicate: BrnCalendarCellButton, descendants: true, isSignal: true }], ngImport: i0 });
|
|
428
428
|
}
|
|
429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendar, decorators: [{
|
|
430
430
|
type: Directive,
|
|
431
431
|
args: [{
|
|
432
432
|
selector: '[brnCalendar]',
|
|
@@ -435,10 +435,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
|
435
435
|
}] });
|
|
436
436
|
|
|
437
437
|
class BrnCalendarCell {
|
|
438
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
439
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
438
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarCell, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
439
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: BrnCalendarCell, isStandalone: true, selector: "[brnCalendarCell]", host: { attributes: { "role": "presentation" } }, ngImport: i0 });
|
|
440
440
|
}
|
|
441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarCell, decorators: [{
|
|
442
442
|
type: Directive,
|
|
443
443
|
args: [{
|
|
444
444
|
selector: '[brnCalendarCell]',
|
|
@@ -451,10 +451,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
|
451
451
|
class BrnCalendarGrid {
|
|
452
452
|
/** Access the calendar component */
|
|
453
453
|
_calendar = injectBrnCalendar();
|
|
454
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
455
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
454
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarGrid, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
455
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: BrnCalendarGrid, isStandalone: true, selector: "[brnCalendarGrid]", host: { attributes: { "role": "grid" }, properties: { "attr.aria-labelledby": "_calendar.header()?.id()" } }, ngImport: i0 });
|
|
456
456
|
}
|
|
457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarGrid, decorators: [{
|
|
458
458
|
type: Directive,
|
|
459
459
|
args: [{
|
|
460
460
|
selector: '[brnCalendarGrid]',
|
|
@@ -491,10 +491,10 @@ class BrnCalendarMonthSelect {
|
|
|
491
491
|
const targetDate = this._dateAdapter.set(this._calendar.focusedDate(), { month });
|
|
492
492
|
this._calendar.focusedDate.set(targetDate);
|
|
493
493
|
}
|
|
494
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
495
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
494
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarMonthSelect, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
495
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: BrnCalendarMonthSelect, isStandalone: true, selector: "brn-select[brnCalendarMonthSelect]", host: { listeners: { "valueChange": "monthSelected($event)" } }, ngImport: i0 });
|
|
496
496
|
}
|
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarMonthSelect, decorators: [{
|
|
498
498
|
type: Directive,
|
|
499
499
|
args: [{
|
|
500
500
|
selector: 'brn-select[brnCalendarMonthSelect]',
|
|
@@ -523,10 +523,10 @@ class BrnCalendarNextButton {
|
|
|
523
523
|
}
|
|
524
524
|
this._calendar.focusedDate.set(targetDate);
|
|
525
525
|
}
|
|
526
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
527
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
526
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarNextButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
527
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: BrnCalendarNextButton, isStandalone: true, selector: "[brnCalendarNextButton]", host: { attributes: { "type": "button" }, listeners: { "click": "focusPreviousMonth()" }, properties: { "attr.aria-label": "_i18n.config().labelNext()" } }, ngImport: i0 });
|
|
528
528
|
}
|
|
529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarNextButton, decorators: [{
|
|
530
530
|
type: Directive,
|
|
531
531
|
args: [{
|
|
532
532
|
selector: '[brnCalendarNextButton]',
|
|
@@ -557,10 +557,10 @@ class BrnCalendarPreviousButton {
|
|
|
557
557
|
}
|
|
558
558
|
this._calendar.focusedDate.set(targetDate);
|
|
559
559
|
}
|
|
560
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
561
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
560
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarPreviousButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
561
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: BrnCalendarPreviousButton, isStandalone: true, selector: "[brnCalendarPreviousButton]", host: { attributes: { "type": "button" }, listeners: { "click": "focusPreviousMonth()" }, properties: { "attr.aria-label": "_i18n.config().labelPrevious()" } }, ngImport: i0 });
|
|
562
562
|
}
|
|
563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarPreviousButton, decorators: [{
|
|
564
564
|
type: Directive,
|
|
565
565
|
args: [{
|
|
566
566
|
selector: '[brnCalendarPreviousButton]',
|
|
@@ -625,10 +625,10 @@ class BrnCalendarWeek {
|
|
|
625
625
|
viewRef.destroy();
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
629
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
628
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarWeek, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
629
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: BrnCalendarWeek, isStandalone: true, selector: "[brnCalendarWeek]", ngImport: i0 });
|
|
630
630
|
}
|
|
631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarWeek, decorators: [{
|
|
632
632
|
type: Directive,
|
|
633
633
|
args: [{
|
|
634
634
|
selector: '[brnCalendarWeek]',
|
|
@@ -685,10 +685,10 @@ class BrnCalendarWeekday {
|
|
|
685
685
|
viewRef.destroy();
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
689
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
688
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarWeekday, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
689
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: BrnCalendarWeekday, isStandalone: true, selector: "[brnCalendarWeekday]", ngImport: i0 });
|
|
690
690
|
}
|
|
691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarWeekday, decorators: [{
|
|
692
692
|
type: Directive,
|
|
693
693
|
args: [{
|
|
694
694
|
selector: '[brnCalendarWeekday]',
|
|
@@ -714,10 +714,10 @@ class BrnCalendarYearSelect {
|
|
|
714
714
|
const targetDate = this._dateAdapter.set(this._calendar.focusedDate(), { year });
|
|
715
715
|
this._calendar.focusedDate.set(targetDate);
|
|
716
716
|
}
|
|
717
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
718
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
717
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarYearSelect, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
718
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: BrnCalendarYearSelect, isStandalone: true, selector: "brn-select[brnCalendarYearSelect]", host: { listeners: { "valueChange": "yearSelected($event)" } }, ngImport: i0 });
|
|
719
719
|
}
|
|
720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarYearSelect, decorators: [{
|
|
721
721
|
type: Directive,
|
|
722
722
|
args: [{
|
|
723
723
|
selector: 'brn-select[brnCalendarYearSelect]',
|
|
@@ -915,10 +915,10 @@ class BrnCalendarMulti {
|
|
|
915
915
|
// we must update the view to ensure the focused cell is visible.
|
|
916
916
|
this._changeDetector.detectChanges();
|
|
917
917
|
}
|
|
918
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
919
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
918
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarMulti, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
919
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.0.7", type: BrnCalendarMulti, isStandalone: true, selector: "[brnCalendarMulti]", inputs: { 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" }, providers: [provideBrnCalendar(BrnCalendarMulti)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }, { propertyName: "_cells", predicate: BrnCalendarCellButton, descendants: true, isSignal: true }], ngImport: i0 });
|
|
920
920
|
}
|
|
921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarMulti, decorators: [{
|
|
922
922
|
type: Directive,
|
|
923
923
|
args: [{
|
|
924
924
|
selector: '[brnCalendarMulti]',
|
|
@@ -1128,10 +1128,10 @@ class BrnCalendarRange {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
return this._dateAdapter.isAfter(date, start) && this._dateAdapter.isBefore(date, end);
|
|
1130
1130
|
}
|
|
1131
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1132
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
1131
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarRange, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1132
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.0.7", type: BrnCalendarRange, isStandalone: true, selector: "[brnCalendarRange]", 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 }, 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: { startDate: "startDateChange", endDate: "endDateChange" }, providers: [provideBrnCalendar(BrnCalendarRange)], queries: [{ propertyName: "header", first: true, predicate: BrnCalendarHeader, descendants: true, isSignal: true }, { propertyName: "_cells", predicate: BrnCalendarCellButton, descendants: true, isSignal: true }], ngImport: i0 });
|
|
1133
1133
|
}
|
|
1134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BrnCalendarRange, decorators: [{
|
|
1135
1135
|
type: Directive,
|
|
1136
1136
|
args: [{
|
|
1137
1137
|
selector: '[brnCalendarRange]',
|