@spartan-ng/brain 0.0.1-alpha.492 → 0.0.1-alpha.494
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 +8 -8
- package/accordion/lib/{brn-accordion-content.component.d.ts → brn-accordion-content.d.ts} +3 -3
- package/accordion/lib/{brn-accordion.directive.d.ts → brn-accordion.d.ts} +11 -11
- package/alert-dialog/index.d.ts +20 -20
- package/alert-dialog/lib/brn-alert-dialog-content.d.ts +6 -0
- package/alert-dialog/lib/brn-alert-dialog-description.d.ts +6 -0
- package/alert-dialog/lib/brn-alert-dialog-overlay.d.ts +6 -0
- package/alert-dialog/lib/brn-alert-dialog-title.d.ts +6 -0
- package/alert-dialog/lib/brn-alert-dialog-trigger.d.ts +9 -0
- package/alert-dialog/lib/brn-alert-dialog.d.ts +7 -0
- package/avatar/index.d.ts +9 -9
- package/avatar/lib/brn-avatar.d.ts +7 -0
- package/avatar/lib/fallback/brn-avatar-fallback.d.ts +9 -0
- package/avatar/lib/fallback/index.d.ts +1 -1
- package/avatar/lib/image/brn-avatar-image.d.ts +9 -0
- package/avatar/lib/image/index.d.ts +1 -1
- package/calendar/index.d.ts +32 -32
- package/calendar/lib/{brn-calendar-cell-button.directive.d.ts → brn-calendar-cell-button.d.ts} +4 -4
- package/calendar/lib/brn-calendar-cell.d.ts +5 -0
- package/calendar/lib/brn-calendar-grid.d.ts +7 -0
- package/calendar/lib/brn-calendar-header.d.ts +7 -0
- package/calendar/lib/{brn-calendar-next-button.directive.d.ts → brn-calendar-next-button.d.ts} +3 -3
- package/calendar/lib/{brn-calendar-previous-button.directive.d.ts → brn-calendar-previous-button.d.ts} +3 -3
- package/calendar/lib/{brn-calendar-week.directive.d.ts → brn-calendar-week.d.ts} +4 -4
- package/calendar/lib/{brn-calendar-weekday.directive.d.ts → brn-calendar-weekday.d.ts} +4 -4
- package/calendar/lib/{brn-calendar.directive.d.ts → brn-calendar.d.ts} +8 -8
- package/calendar/lib/brn-calendar.token.d.ts +6 -6
- package/calendar/lib/mode/{brn-calendar-multiple.directive.d.ts → brn-calendar-multiple.d.ts} +9 -9
- package/checkbox/index.d.ts +5 -5
- package/checkbox/lib/{brn-checkbox.component.d.ts → brn-checkbox.d.ts} +3 -3
- package/collapsible/index.d.ts +11 -11
- package/collapsible/lib/{brn-collapsible-content.component.d.ts → brn-collapsible-content.d.ts} +5 -5
- package/collapsible/lib/brn-collapsible-trigger.d.ts +9 -0
- package/collapsible/lib/{brn-collapsible.component.d.ts → brn-collapsible.d.ts} +3 -3
- package/command/index.d.ts +20 -20
- package/command/lib/brn-command-empty.d.ts +11 -0
- package/command/lib/{brn-command-group.directive.d.ts → brn-command-group.d.ts} +3 -3
- package/command/lib/{brn-command-item.directive.d.ts → brn-command-item.d.ts} +3 -3
- package/command/lib/brn-command-item.token.d.ts +3 -3
- package/command/lib/brn-command-list.d.ts +8 -0
- package/command/lib/{brn-command-search-input.directive.d.ts → brn-command-search-input.d.ts} +3 -3
- package/command/lib/brn-command-search-input.token.d.ts +3 -3
- package/command/lib/{brn-command.directive.d.ts → brn-command.d.ts} +5 -5
- package/command/lib/brn-command.token.d.ts +4 -4
- package/dialog/index.d.ts +23 -23
- package/dialog/lib/brn-dialog-close.d.ts +8 -0
- package/dialog/lib/brn-dialog-content.d.ts +12 -0
- package/dialog/lib/{brn-dialog-description.directive.d.ts → brn-dialog-description.d.ts} +3 -3
- package/dialog/lib/brn-dialog-overlay.d.ts +9 -0
- package/dialog/lib/brn-dialog-title.d.ts +8 -0
- package/dialog/lib/brn-dialog-trigger.d.ts +18 -0
- package/dialog/lib/{brn-dialog.component.d.ts → brn-dialog.d.ts} +3 -3
- package/fesm2022/spartan-ng-brain-accordion.mjs +25 -36
- package/fesm2022/spartan-ng-brain-accordion.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-alert-dialog.mjs +79 -79
- package/fesm2022/spartan-ng-brain-alert-dialog.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-avatar.mjs +16 -16
- package/fesm2022/spartan-ng-brain-avatar.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-calendar.mjs +239 -239
- package/fesm2022/spartan-ng-brain-calendar.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-checkbox.mjs +8 -8
- package/fesm2022/spartan-ng-brain-checkbox.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-collapsible.mjs +17 -25
- package/fesm2022/spartan-ng-brain-collapsible.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-command.mjs +195 -195
- package/fesm2022/spartan-ng-brain-command.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-dialog.mjs +98 -98
- package/fesm2022/spartan-ng-brain-dialog.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-form-field.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-forms.mjs +3 -2
- package/fesm2022/spartan-ng-brain-forms.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-hover-card.mjs +21 -29
- package/fesm2022/spartan-ng-brain-hover-card.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-input-otp.mjs +44 -44
- package/fesm2022/spartan-ng-brain-input-otp.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-label.mjs +8 -8
- package/fesm2022/spartan-ng-brain-label.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-menu.mjs +102 -131
- package/fesm2022/spartan-ng-brain-menu.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-popover.mjs +75 -86
- package/fesm2022/spartan-ng-brain-popover.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-progress.mjs +28 -28
- package/fesm2022/spartan-ng-brain-progress.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-radio-group.mjs +17 -17
- package/fesm2022/spartan-ng-brain-radio-group.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-select.mjs +277 -277
- package/fesm2022/spartan-ng-brain-select.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-separator.mjs +8 -8
- package/fesm2022/spartan-ng-brain-separator.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-sheet.mjs +69 -69
- package/fesm2022/spartan-ng-brain-sheet.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-slider.mjs +136 -142
- package/fesm2022/spartan-ng-brain-slider.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-switch.mjs +26 -26
- package/fesm2022/spartan-ng-brain-switch.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-tabs.mjs +28 -39
- package/fesm2022/spartan-ng-brain-tabs.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-toggle-group.mjs +18 -18
- package/fesm2022/spartan-ng-brain-toggle-group.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-toggle.mjs +9 -9
- package/fesm2022/spartan-ng-brain-toggle.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-tooltip.mjs +31 -42
- package/fesm2022/spartan-ng-brain-tooltip.mjs.map +1 -1
- package/form-field/lib/brn-form-field-control.d.ts +2 -2
- package/forms/lib/error-options.d.ts +1 -1
- package/hover-card/index.d.ts +6 -6
- package/hover-card/lib/brn-hover-card-content.service.d.ts +9 -9
- package/hover-card/lib/brn-hover-card.d.ts +9 -0
- package/input-otp/index.d.ts +8 -8
- package/input-otp/lib/{brn-input-otp-slot.component.d.ts → brn-input-otp-slot.d.ts} +4 -4
- package/input-otp/lib/{brn-input-otp.component.d.ts → brn-input-otp.d.ts} +3 -3
- package/input-otp/lib/brn-input-otp.token.d.ts +4 -4
- package/label/index.d.ts +3 -3
- package/label/lib/{brn-label.directive.d.ts → brn-label.d.ts} +3 -3
- package/menu/index.d.ts +32 -32
- package/menu/lib/{brn-context-menu-trigger.directive.d.ts → brn-context-menu-trigger.d.ts} +3 -3
- package/menu/lib/brn-menu-bar.d.ts +6 -0
- package/menu/lib/brn-menu-group.d.ts +6 -0
- package/menu/lib/brn-menu-item-checkbox.d.ts +11 -0
- package/menu/lib/brn-menu-item-radio.d.ts +11 -0
- package/menu/lib/brn-menu-item.d.ts +10 -0
- package/menu/lib/brn-menu-trigger.d.ts +10 -0
- package/menu/lib/{brn-menu.directive.d.ts → brn-menu.d.ts} +3 -3
- package/package.json +1 -1
- package/popover/index.d.ts +14 -14
- package/popover/lib/brn-popover-close.d.ts +6 -0
- package/popover/lib/brn-popover-content.d.ts +6 -0
- package/popover/lib/brn-popover-trigger.d.ts +10 -0
- package/popover/lib/brn-popover.d.ts +12 -0
- package/progress/index.d.ts +8 -8
- package/progress/lib/{brn-progress-indicator.component.d.ts → brn-progress-indicator.d.ts} +4 -4
- package/progress/lib/{brn-progress.component.d.ts → brn-progress.d.ts} +3 -3
- package/progress/lib/brn-progress.token.d.ts +3 -3
- package/radio-group/index.d.ts +8 -8
- package/radio-group/lib/{brn-radio-group.directive.d.ts → brn-radio-group.d.ts} +6 -6
- package/radio-group/lib/brn-radio-group.token.d.ts +3 -3
- package/radio-group/lib/{brn-radio.component.d.ts → brn-radio.d.ts} +6 -6
- package/select/index.d.ts +29 -29
- package/select/lib/{brn-select-content.component.d.ts → brn-select-content.d.ts} +15 -15
- package/select/lib/brn-select-content.token.d.ts +3 -3
- package/select/lib/brn-select-group.d.ts +6 -0
- package/select/lib/brn-select-label.d.ts +9 -0
- package/select/lib/{brn-select-option.directive.d.ts → brn-select-option.d.ts} +5 -5
- package/select/lib/{brn-select-placeholder.directive.d.ts → brn-select-placeholder.d.ts} +3 -3
- package/select/lib/{brn-select-trigger.directive.d.ts → brn-select-trigger.d.ts} +4 -4
- package/select/lib/brn-select-value-template.d.ts +11 -0
- package/select/lib/{brn-select-value.component.d.ts → brn-select-value.d.ts} +8 -8
- package/select/lib/{brn-select.component.d.ts → brn-select.d.ts} +12 -12
- package/select/lib/brn-select.token.d.ts +3 -3
- package/separator/index.d.ts +3 -3
- package/separator/lib/{brn-separator.component.d.ts → brn-separator.d.ts} +3 -3
- package/sheet/index.d.ts +23 -23
- package/sheet/lib/brn-sheet-close.d.ts +6 -0
- package/sheet/lib/brn-sheet-content.d.ts +8 -0
- package/sheet/lib/brn-sheet-description.d.ts +6 -0
- package/sheet/lib/brn-sheet-overlay.d.ts +6 -0
- package/sheet/lib/brn-sheet-title.d.ts +6 -0
- package/sheet/lib/brn-sheet-trigger.d.ts +9 -0
- package/sheet/lib/brn-sheet.d.ts +10 -0
- package/slider/index.d.ts +11 -11
- package/slider/lib/brn-slider-range.d.ts +7 -0
- package/slider/lib/{brn-slider-thumb.directive.d.ts → brn-slider-thumb.d.ts} +4 -4
- package/slider/lib/brn-slider-tick.d.ts +12 -0
- package/slider/lib/{brn-slider-track.directive.d.ts → brn-slider-track.d.ts} +4 -4
- package/slider/lib/brn-slider-track.token.d.ts +4 -4
- package/slider/lib/{brn-slider.directive.d.ts → brn-slider.d.ts} +5 -5
- package/slider/lib/brn-slider.token.d.ts +3 -3
- package/switch/index.d.ts +8 -8
- package/switch/lib/brn-switch-thumb.d.ts +5 -0
- package/switch/lib/{brn-switch.component.d.ts → brn-switch.d.ts} +3 -3
- package/tabs/index.d.ts +15 -15
- package/tabs/lib/{brn-tabs-content.directive.d.ts → brn-tabs-content.d.ts} +3 -3
- package/tabs/lib/{brn-tabs-list.directive.d.ts → brn-tabs-list.d.ts} +6 -6
- package/tabs/lib/{brn-tabs-paginated-list.directive.d.ts → brn-tabs-paginated-list.d.ts} +3 -3
- package/tabs/lib/{brn-tabs-trigger.directive.d.ts → brn-tabs-trigger.d.ts} +4 -4
- package/tabs/lib/{brn-tabs.directive.d.ts → brn-tabs.d.ts} +9 -9
- package/toggle/index.d.ts +3 -3
- package/toggle/lib/{brn-toggle.directive.d.ts → brn-toggle.d.ts} +3 -3
- package/toggle-group/index.d.ts +6 -6
- package/toggle-group/lib/{brn-toggle-group.component.d.ts → brn-toggle-group.d.ts} +8 -8
- package/toggle-group/lib/brn-toggle-group.token.d.ts +3 -3
- package/toggle-group/lib/{brn-toggle-item.directive.d.ts → brn-toggle-item.d.ts} +4 -4
- package/tooltip/index.d.ts +14 -14
- package/tooltip/lib/brn-tooltip-content-template.d.ts +8 -0
- package/tooltip/lib/{brn-tooltip-content.component.d.ts → brn-tooltip-content.d.ts} +3 -3
- package/tooltip/lib/{brn-tooltip-trigger.directive.d.ts → brn-tooltip-trigger.d.ts} +3 -3
- package/tooltip/lib/brn-tooltip.d.ts +7 -0
- package/tooltip/lib/brn-tooltip.token.d.ts +1 -1
- package/alert-dialog/lib/brn-alert-dialog-content.directive.d.ts +0 -6
- package/alert-dialog/lib/brn-alert-dialog-description.directive.d.ts +0 -6
- package/alert-dialog/lib/brn-alert-dialog-overlay.component.d.ts +0 -6
- package/alert-dialog/lib/brn-alert-dialog-title.directive.d.ts +0 -6
- package/alert-dialog/lib/brn-alert-dialog-trigger.directive.d.ts +0 -9
- package/alert-dialog/lib/brn-alert-dialog.component.d.ts +0 -7
- package/avatar/lib/brn-avatar.component.d.ts +0 -7
- package/avatar/lib/fallback/brn-avatar-fallback.directive.d.ts +0 -9
- package/avatar/lib/image/brn-avatar-image.directive.d.ts +0 -9
- package/calendar/lib/brn-calendar-cell.directive.d.ts +0 -5
- package/calendar/lib/brn-calendar-grid.directive.d.ts +0 -7
- package/calendar/lib/brn-calendar-header.directive.d.ts +0 -7
- package/collapsible/lib/brn-collapsible-trigger.directive.d.ts +0 -9
- package/command/lib/brn-command-empty.directive.d.ts +0 -11
- package/command/lib/brn-command-list.directive.d.ts +0 -8
- package/dialog/lib/brn-dialog-close.directive.d.ts +0 -8
- package/dialog/lib/brn-dialog-content.directive.d.ts +0 -12
- package/dialog/lib/brn-dialog-overlay.component.d.ts +0 -9
- package/dialog/lib/brn-dialog-title.directive.d.ts +0 -8
- package/dialog/lib/brn-dialog-trigger.directive.d.ts +0 -18
- package/hover-card/lib/brn-hover-card.component.d.ts +0 -9
- package/menu/lib/brn-menu-bar.directive.d.ts +0 -6
- package/menu/lib/brn-menu-group.directive.d.ts +0 -6
- package/menu/lib/brn-menu-item-checkbox.directive.d.ts +0 -11
- package/menu/lib/brn-menu-item-radio.directive.d.ts +0 -11
- package/menu/lib/brn-menu-item.directive.d.ts +0 -10
- package/menu/lib/brn-menu-trigger.directive.d.ts +0 -10
- package/popover/lib/brn-popover-close.directive.d.ts +0 -6
- package/popover/lib/brn-popover-content.directive.d.ts +0 -6
- package/popover/lib/brn-popover-trigger.directive.d.ts +0 -10
- package/popover/lib/brn-popover.component.d.ts +0 -12
- package/select/lib/brn-select-group.directive.d.ts +0 -6
- package/select/lib/brn-select-label.directive.d.ts +0 -9
- package/select/lib/brn-select-value.directive.d.ts +0 -11
- package/sheet/lib/brn-sheet-close.directive.d.ts +0 -6
- package/sheet/lib/brn-sheet-content.directive.d.ts +0 -8
- package/sheet/lib/brn-sheet-description.directive.d.ts +0 -6
- package/sheet/lib/brn-sheet-overlay.component.d.ts +0 -6
- package/sheet/lib/brn-sheet-title.directive.d.ts +0 -6
- package/sheet/lib/brn-sheet-trigger.directive.d.ts +0 -9
- package/sheet/lib/brn-sheet.component.d.ts +0 -10
- package/slider/lib/brn-slider-range.directive.d.ts +0 -7
- package/slider/lib/brn-slider-tick.directive.d.ts +0 -12
- package/switch/lib/brn-switch-thumb.component.d.ts +0 -5
- package/tooltip/lib/brn-tooltip-content.directive.d.ts +0 -8
- package/tooltip/lib/brn-tooltip.directive.d.ts +0 -7
package/accordion/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BrnAccordion, BrnAccordionItem, BrnAccordionTrigger } from './lib/brn-accordion';
|
|
2
|
+
import { BrnAccordionContent } from './lib/brn-accordion-content';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./lib/brn-accordion
|
|
5
|
-
import * as i2 from "./lib/brn-accordion-content
|
|
6
|
-
export * from './lib/brn-accordion
|
|
7
|
-
export * from './lib/brn-accordion
|
|
8
|
-
export declare const BrnAccordionImports: readonly [typeof
|
|
4
|
+
import * as i1 from "./lib/brn-accordion";
|
|
5
|
+
import * as i2 from "./lib/brn-accordion-content";
|
|
6
|
+
export * from './lib/brn-accordion';
|
|
7
|
+
export * from './lib/brn-accordion-content';
|
|
8
|
+
export declare const BrnAccordionImports: readonly [typeof BrnAccordion, typeof BrnAccordionContent, typeof BrnAccordionItem, typeof BrnAccordionTrigger];
|
|
9
9
|
export declare class BrnAccordionModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAccordionModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnAccordionModule, never, [typeof i1.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnAccordionModule, never, [typeof i1.BrnAccordion, typeof i2.BrnAccordionContent, typeof i1.BrnAccordionItem, typeof i1.BrnAccordionTrigger], [typeof i1.BrnAccordion, typeof i2.BrnAccordionContent, typeof i1.BrnAccordionItem, typeof i1.BrnAccordionTrigger]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnAccordionModule>;
|
|
13
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CustomElementClassSettable } from '@spartan-ng/brain/core';
|
|
2
2
|
import type { ClassValue } from 'clsx';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class BrnAccordionContent implements CustomElementClassSettable {
|
|
5
5
|
private readonly _item;
|
|
6
6
|
readonly state: import("@angular/core").Signal<"open" | "closed">;
|
|
7
7
|
readonly id: string;
|
|
@@ -14,6 +14,6 @@ export declare class BrnAccordionContentComponent implements CustomElementClassS
|
|
|
14
14
|
protected readonly _contentClass: import("@angular/core").WritableSignal<ClassValue>;
|
|
15
15
|
constructor();
|
|
16
16
|
setClassToCustomElement(classes: ClassValue): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAccordionContent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnAccordionContent, "brn-accordion-content", never, { "contentClass": { "alias": "contentClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
19
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { type AfterContentInit, type OnDestroy } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class BrnAccordionItem {
|
|
5
5
|
private static _itemIdGenerator;
|
|
6
6
|
private readonly _accordion;
|
|
7
7
|
/**
|
|
@@ -12,10 +12,10 @@ export declare class BrnAccordionItemDirective {
|
|
|
12
12
|
readonly id: number;
|
|
13
13
|
readonly state: import("@angular/core").Signal<"open" | "closed">;
|
|
14
14
|
constructor();
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAccordionItem, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAccordionItem, "[brnAccordionItem]", ["brnAccordionItem"], { "isOpened": { "alias": "isOpened"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
18
|
-
export declare class
|
|
18
|
+
export declare class BrnAccordionTrigger {
|
|
19
19
|
private readonly _accordion;
|
|
20
20
|
private readonly _item;
|
|
21
21
|
private readonly _elementRef;
|
|
@@ -25,10 +25,10 @@ export declare class BrnAccordionTriggerDirective {
|
|
|
25
25
|
constructor();
|
|
26
26
|
protected toggle(event: Event): void;
|
|
27
27
|
focus(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAccordionTrigger, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAccordionTrigger, "[brnAccordionTrigger]", never, {}, {}, never, never, true, never>;
|
|
30
30
|
}
|
|
31
|
-
export declare class
|
|
31
|
+
export declare class BrnAccordion implements AfterContentInit, OnDestroy {
|
|
32
32
|
private readonly _el;
|
|
33
33
|
private _keyManager?;
|
|
34
34
|
private readonly _focusMonitor;
|
|
@@ -36,7 +36,7 @@ export declare class BrnAccordionDirective implements AfterContentInit, OnDestro
|
|
|
36
36
|
private readonly _openItemIds;
|
|
37
37
|
readonly openItemIds: import("@angular/core").Signal<number[]>;
|
|
38
38
|
readonly state: import("@angular/core").Signal<"open" | "closed">;
|
|
39
|
-
triggers: import("@angular/core").Signal<readonly
|
|
39
|
+
triggers: import("@angular/core").Signal<readonly BrnAccordionTrigger[]>;
|
|
40
40
|
/**
|
|
41
41
|
* Whether the accordion is in single or multiple mode.
|
|
42
42
|
* @default 'single'
|
|
@@ -54,11 +54,11 @@ export declare class BrnAccordionDirective implements AfterContentInit, OnDestro
|
|
|
54
54
|
readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
55
55
|
ngAfterContentInit(): void;
|
|
56
56
|
ngOnDestroy(): void;
|
|
57
|
-
setActiveItem(item:
|
|
57
|
+
setActiveItem(item: BrnAccordionTrigger): void;
|
|
58
58
|
toggleItem(id: number): void;
|
|
59
59
|
openItem(id: number): void;
|
|
60
60
|
closeItem(id: number): void;
|
|
61
61
|
private preventDefaultEvents;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
63
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAccordion, never>;
|
|
63
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAccordion, "[brnAccordion]", ["brnAccordion"], { "type": { "alias": "type"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, ["triggers"], never, true, never>;
|
|
64
64
|
}
|
package/alert-dialog/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { BrnAlertDialog } from './lib/brn-alert-dialog';
|
|
2
|
+
import { BrnAlertDialogContent } from './lib/brn-alert-dialog-content';
|
|
3
|
+
import { BrnAlertDialogDescription } from './lib/brn-alert-dialog-description';
|
|
4
|
+
import { BrnAlertDialogOverlay } from './lib/brn-alert-dialog-overlay';
|
|
5
|
+
import { BrnAlertDialogTitle } from './lib/brn-alert-dialog-title';
|
|
6
|
+
import { BrnAlertDialogTrigger } from './lib/brn-alert-dialog-trigger';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "./lib/brn-alert-dialog
|
|
9
|
-
import * as i2 from "./lib/brn-alert-dialog-overlay
|
|
10
|
-
import * as i3 from "./lib/brn-alert-dialog-trigger
|
|
11
|
-
import * as i4 from "./lib/brn-alert-dialog-content
|
|
12
|
-
import * as i5 from "./lib/brn-alert-dialog-title
|
|
13
|
-
import * as i6 from "./lib/brn-alert-dialog-description
|
|
14
|
-
export * from './lib/brn-alert-dialog
|
|
15
|
-
export * from './lib/brn-alert-dialog-
|
|
16
|
-
export * from './lib/brn-alert-dialog-
|
|
17
|
-
export * from './lib/brn-alert-dialog-
|
|
18
|
-
export * from './lib/brn-alert-dialog-
|
|
19
|
-
export * from './lib/brn-alert-dialog
|
|
20
|
-
export declare const BrnAlertDialogImports: readonly [typeof
|
|
8
|
+
import * as i1 from "./lib/brn-alert-dialog";
|
|
9
|
+
import * as i2 from "./lib/brn-alert-dialog-overlay";
|
|
10
|
+
import * as i3 from "./lib/brn-alert-dialog-trigger";
|
|
11
|
+
import * as i4 from "./lib/brn-alert-dialog-content";
|
|
12
|
+
import * as i5 from "./lib/brn-alert-dialog-title";
|
|
13
|
+
import * as i6 from "./lib/brn-alert-dialog-description";
|
|
14
|
+
export * from './lib/brn-alert-dialog';
|
|
15
|
+
export * from './lib/brn-alert-dialog-content';
|
|
16
|
+
export * from './lib/brn-alert-dialog-description';
|
|
17
|
+
export * from './lib/brn-alert-dialog-overlay';
|
|
18
|
+
export * from './lib/brn-alert-dialog-title';
|
|
19
|
+
export * from './lib/brn-alert-dialog-trigger';
|
|
20
|
+
export declare const BrnAlertDialogImports: readonly [typeof BrnAlertDialog, typeof BrnAlertDialogOverlay, typeof BrnAlertDialogTrigger, typeof BrnAlertDialogContent, typeof BrnAlertDialogTitle, typeof BrnAlertDialogDescription];
|
|
21
21
|
export declare class BrnAlertDialogModule {
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnAlertDialogModule, never, [typeof i1.
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnAlertDialogModule, never, [typeof i1.BrnAlertDialog, typeof i2.BrnAlertDialogOverlay, typeof i3.BrnAlertDialogTrigger, typeof i4.BrnAlertDialogContent, typeof i5.BrnAlertDialogTitle, typeof i6.BrnAlertDialogDescription], [typeof i1.BrnAlertDialog, typeof i2.BrnAlertDialogOverlay, typeof i3.BrnAlertDialogTrigger, typeof i4.BrnAlertDialogContent, typeof i5.BrnAlertDialogTitle, typeof i6.BrnAlertDialogDescription]>;
|
|
24
24
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnAlertDialogModule>;
|
|
25
25
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogContent } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnAlertDialogContent<T> extends BrnDialogContent<T> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogContent<any>, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAlertDialogContent<any>, "[brnAlertDialogContent]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogDescription } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnAlertDialogDescription extends BrnDialogDescription {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogDescription, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAlertDialogDescription, "[brnAlertDialogDescription]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogOverlay } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnAlertDialogOverlay extends BrnDialogOverlay {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogOverlay, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnAlertDialogOverlay, "brn-alert-dialog-overlay", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogTitle } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnAlertDialogTitle extends BrnDialogTitle {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogTitle, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAlertDialogTitle, "[brnAlertDialogTitle]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BrnDialogTrigger } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import type { BrnAlertDialog } from './brn-alert-dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BrnAlertDialogTrigger extends BrnDialogTrigger {
|
|
5
|
+
readonly brnAlertDialogTriggerFor: import("@angular/core").InputSignal<BrnAlertDialog | undefined>;
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogTrigger, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAlertDialogTrigger, "button[brnAlertDialogTrigger],button[brnAlertDialogTriggerFor]", never, { "brnAlertDialogTriggerFor": { "alias": "brnAlertDialogTriggerFor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BrnDialog, BrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const BRN_ALERT_DIALOG_DEFAULT_OPTIONS: Partial<BrnDialogDefaultOptions>;
|
|
4
|
+
export declare class BrnAlertDialog extends BrnDialog {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialog, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnAlertDialog, "brn-alert-dialog", ["brnAlertDialog"], {}, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
package/avatar/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { BrnAvatar } from './lib/brn-avatar';
|
|
2
|
+
import { BrnAvatarFallback } from './lib/fallback';
|
|
3
|
+
import { BrnAvatarImage } from './lib/image';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./lib/brn-avatar
|
|
6
|
-
import * as i2 from "./lib/fallback/brn-avatar-fallback
|
|
7
|
-
import * as i3 from "./lib/image/brn-avatar-image
|
|
8
|
-
export * from './lib/brn-avatar
|
|
5
|
+
import * as i1 from "./lib/brn-avatar";
|
|
6
|
+
import * as i2 from "./lib/fallback/brn-avatar-fallback";
|
|
7
|
+
import * as i3 from "./lib/image/brn-avatar-image";
|
|
8
|
+
export * from './lib/brn-avatar';
|
|
9
9
|
export * from './lib/fallback';
|
|
10
10
|
export * from './lib/image';
|
|
11
11
|
export * from './lib/util';
|
|
12
|
-
export declare const BrnAvatarImports: readonly [typeof
|
|
12
|
+
export declare const BrnAvatarImports: readonly [typeof BrnAvatar, typeof BrnAvatarFallback, typeof BrnAvatarImage];
|
|
13
13
|
export declare class BrnAvatarModule {
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAvatarModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnAvatarModule, never, [typeof i1.
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnAvatarModule, never, [typeof i1.BrnAvatar, typeof i2.BrnAvatarFallback, typeof i3.BrnAvatarImage], [typeof i1.BrnAvatar, typeof i2.BrnAvatarFallback, typeof i3.BrnAvatarImage]>;
|
|
16
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnAvatarModule>;
|
|
17
17
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BrnAvatarImage } from './image';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnAvatar {
|
|
4
|
+
protected readonly _image: import("@angular/core").Signal<BrnAvatarImage | undefined>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAvatar, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnAvatar, "brn-avatar", never, {}, {}, ["_image"], ["[brnAvatarImage]", "[brnAvatarFallback]"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ClassValue } from 'clsx';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnAvatarFallback {
|
|
4
|
+
private readonly _element;
|
|
5
|
+
readonly userClass: import("@angular/core").InputSignal<ClassValue>;
|
|
6
|
+
getTextContent(): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAvatarFallback, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAvatarFallback, "[brnAvatarFallback]", ["avatarFallback"], { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './brn-avatar-fallback
|
|
1
|
+
export * from './brn-avatar-fallback';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnAvatarImage {
|
|
3
|
+
private readonly _loaded;
|
|
4
|
+
private onError;
|
|
5
|
+
private onLoad;
|
|
6
|
+
canShow: import("@angular/core").Signal<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAvatarImage, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAvatarImage, "img[brnAvatarImage]", ["avatarImage"], {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './brn-avatar-image
|
|
1
|
+
export * from './brn-avatar-image';
|
package/calendar/index.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { BrnCalendar } from './lib/brn-calendar';
|
|
2
|
+
import { BrnCalendarCell } from './lib/brn-calendar-cell';
|
|
3
|
+
import { BrnCalendarCellButton } from './lib/brn-calendar-cell-button';
|
|
4
|
+
import { BrnCalendarGrid } from './lib/brn-calendar-grid';
|
|
5
|
+
import { BrnCalendarHeader } from './lib/brn-calendar-header';
|
|
6
|
+
import { BrnCalendarNextButton } from './lib/brn-calendar-next-button';
|
|
7
|
+
import { BrnCalendarPreviousButton } from './lib/brn-calendar-previous-button';
|
|
8
|
+
import { BrnCalendarWeek } from './lib/brn-calendar-week';
|
|
9
|
+
import { BrnCalendarWeekday } from './lib/brn-calendar-weekday';
|
|
10
|
+
import { BrnCalendarMulti } from './lib/mode/brn-calendar-multiple';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "./lib/brn-calendar-cell-button
|
|
13
|
-
import * as i2 from "./lib/brn-calendar-grid
|
|
14
|
-
import * as i3 from "./lib/brn-calendar-header
|
|
15
|
-
import * as i4 from "./lib/brn-calendar-next-button
|
|
16
|
-
import * as i5 from "./lib/brn-calendar-previous-button
|
|
17
|
-
import * as i6 from "./lib/brn-calendar-week
|
|
18
|
-
import * as i7 from "./lib/brn-calendar-weekday
|
|
19
|
-
import * as i8 from "./lib/brn-calendar
|
|
20
|
-
import * as i9 from "./lib/brn-calendar-cell
|
|
21
|
-
import * as i10 from "./lib/mode/brn-calendar-multiple
|
|
22
|
-
export * from './lib/brn-calendar
|
|
23
|
-
export * from './lib/brn-calendar-cell
|
|
24
|
-
export * from './lib/brn-calendar-
|
|
25
|
-
export * from './lib/brn-calendar-
|
|
26
|
-
export * from './lib/brn-calendar-
|
|
27
|
-
export * from './lib/brn-calendar-
|
|
28
|
-
export * from './lib/brn-calendar-
|
|
29
|
-
export * from './lib/brn-calendar-
|
|
30
|
-
export * from './lib/brn-calendar
|
|
12
|
+
import * as i1 from "./lib/brn-calendar-cell-button";
|
|
13
|
+
import * as i2 from "./lib/brn-calendar-grid";
|
|
14
|
+
import * as i3 from "./lib/brn-calendar-header";
|
|
15
|
+
import * as i4 from "./lib/brn-calendar-next-button";
|
|
16
|
+
import * as i5 from "./lib/brn-calendar-previous-button";
|
|
17
|
+
import * as i6 from "./lib/brn-calendar-week";
|
|
18
|
+
import * as i7 from "./lib/brn-calendar-weekday";
|
|
19
|
+
import * as i8 from "./lib/brn-calendar";
|
|
20
|
+
import * as i9 from "./lib/brn-calendar-cell";
|
|
21
|
+
import * as i10 from "./lib/mode/brn-calendar-multiple";
|
|
22
|
+
export * from './lib/brn-calendar';
|
|
23
|
+
export * from './lib/brn-calendar-cell';
|
|
24
|
+
export * from './lib/brn-calendar-cell-button';
|
|
25
|
+
export * from './lib/brn-calendar-grid';
|
|
26
|
+
export * from './lib/brn-calendar-header';
|
|
27
|
+
export * from './lib/brn-calendar-next-button';
|
|
28
|
+
export * from './lib/brn-calendar-previous-button';
|
|
29
|
+
export * from './lib/brn-calendar-week';
|
|
30
|
+
export * from './lib/brn-calendar-weekday';
|
|
31
31
|
export * from './lib/brn-calendar.token';
|
|
32
32
|
export * from './lib/i18n/calendar-i18n';
|
|
33
|
-
export * from './lib/mode/brn-calendar-multiple
|
|
34
|
-
export declare const BrnCalendarImports: readonly [typeof
|
|
33
|
+
export * from './lib/mode/brn-calendar-multiple';
|
|
34
|
+
export declare const BrnCalendarImports: readonly [typeof BrnCalendarCellButton, typeof BrnCalendarGrid, typeof BrnCalendarHeader, typeof BrnCalendarNextButton, typeof BrnCalendarPreviousButton, typeof BrnCalendarWeek, typeof BrnCalendarWeekday, typeof BrnCalendar, typeof BrnCalendarCell, typeof BrnCalendarMulti];
|
|
35
35
|
export declare class BrnCalendarModule {
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnCalendarModule, never, [typeof i1.
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnCalendarModule, never, [typeof i1.BrnCalendarCellButton, typeof i2.BrnCalendarGrid, typeof i3.BrnCalendarHeader, typeof i4.BrnCalendarNextButton, typeof i5.BrnCalendarPreviousButton, typeof i6.BrnCalendarWeek, typeof i7.BrnCalendarWeekday, typeof i8.BrnCalendar, typeof i9.BrnCalendarCell, typeof i10.BrnCalendarMulti], [typeof i1.BrnCalendarCellButton, typeof i2.BrnCalendarGrid, typeof i3.BrnCalendarHeader, typeof i4.BrnCalendarNextButton, typeof i5.BrnCalendarPreviousButton, typeof i6.BrnCalendarWeek, typeof i7.BrnCalendarWeekday, typeof i8.BrnCalendar, typeof i9.BrnCalendarCell, typeof i10.BrnCalendarMulti]>;
|
|
38
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnCalendarModule>;
|
|
39
39
|
}
|
package/calendar/lib/{brn-calendar-cell-button.directive.d.ts → brn-calendar-cell-button.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class BrnCalendarCellButton<T> {
|
|
3
3
|
/** Access the date adapter */
|
|
4
4
|
protected readonly _dateAdapter: import("@spartan-ng/brain/date-time").BrnDateAdapter<T>;
|
|
5
5
|
/** Access the calendar component */
|
|
6
|
-
protected readonly _calendar: import("./brn-calendar.token").
|
|
6
|
+
protected readonly _calendar: import("./brn-calendar.token").BrnCalendarBase<T>;
|
|
7
7
|
/** Access the element ref */
|
|
8
8
|
private readonly _elementRef;
|
|
9
9
|
/** The date this cell represents */
|
|
@@ -54,6 +54,6 @@ export declare class BrnCalendarCellButtonDirective<T> {
|
|
|
54
54
|
*/
|
|
55
55
|
private getDirection;
|
|
56
56
|
focus(): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarCellButton<any>, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendarCellButton<any>, "button[brnCalendarCellButton]", never, { "date": { "alias": "date"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
59
59
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnCalendarGrid<T> {
|
|
3
|
+
/** Access the calendar component */
|
|
4
|
+
protected readonly _calendar: import("./brn-calendar.token").BrnCalendarBase<T>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarGrid<any>, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendarGrid<any>, "[brnCalendarGrid]", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnCalendarHeader {
|
|
3
|
+
/** The unique id for the header */
|
|
4
|
+
readonly id: import("@angular/core").InputSignal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarHeader, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendarHeader, "[brnCalendarHeader]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
package/calendar/lib/{brn-calendar-next-button.directive.d.ts → brn-calendar-next-button.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class BrnCalendarNextButton {
|
|
3
3
|
/** Access the calendar */
|
|
4
4
|
private readonly _calendar;
|
|
5
5
|
/** Access the date adapter */
|
|
@@ -8,6 +8,6 @@ export declare class BrnCalendarNextButtonDirective {
|
|
|
8
8
|
protected readonly _i18n: import("./i18n/calendar-i18n").BrnCalendarI18n;
|
|
9
9
|
/** Focus the previous month */
|
|
10
10
|
protected focusPreviousMonth(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarNextButton, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendarNextButton, "[brnCalendarNextButton]", never, {}, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class BrnCalendarPreviousButton {
|
|
3
3
|
/** Access the calendar */
|
|
4
4
|
private readonly _calendar;
|
|
5
5
|
/** Access the date adapter */
|
|
@@ -8,6 +8,6 @@ export declare class BrnCalendarPreviousButtonDirective {
|
|
|
8
8
|
protected readonly _i18n: import("./i18n/calendar-i18n").BrnCalendarI18n;
|
|
9
9
|
/** Focus the previous month */
|
|
10
10
|
protected focusPreviousMonth(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarPreviousButton, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendarPreviousButton, "[brnCalendarPreviousButton]", never, {}, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BrnCalendarWeek<T> implements OnDestroy {
|
|
4
4
|
/** Access the calendar */
|
|
5
5
|
private readonly _calendar;
|
|
6
6
|
/** Access the view container ref */
|
|
@@ -12,12 +12,12 @@ export declare class BrnCalendarWeekDirective<T> implements OnDestroy {
|
|
|
12
12
|
protected readonly _weeks: import("@angular/core").Signal<T[][]>;
|
|
13
13
|
/** Store the view refs */
|
|
14
14
|
private _viewRefs;
|
|
15
|
-
static ngTemplateContextGuard<T>(_:
|
|
15
|
+
static ngTemplateContextGuard<T>(_: BrnCalendarWeek<T>, ctx: unknown): ctx is BrnWeekContext<T>;
|
|
16
16
|
constructor();
|
|
17
17
|
private _renderWeeks;
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarWeek<any>, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendarWeek<any>, "[brnCalendarWeek]", never, {}, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
22
22
|
interface BrnWeekContext<T> {
|
|
23
23
|
$implicit: T[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BrnCalendarWeekday<T> implements OnDestroy {
|
|
4
4
|
/** Access the calendar */
|
|
5
5
|
private readonly _calendar;
|
|
6
6
|
/** Access the date time adapter */
|
|
@@ -15,12 +15,12 @@ export declare class BrnCalendarWeekdayDirective<T> implements OnDestroy {
|
|
|
15
15
|
protected readonly _weekdays: import("@angular/core").Signal<T[]>;
|
|
16
16
|
/** Store the view refs */
|
|
17
17
|
private _viewRefs;
|
|
18
|
-
static ngTemplateContextGuard<T>(_:
|
|
18
|
+
static ngTemplateContextGuard<T>(_: BrnCalendarWeekday<T>, ctx: unknown): ctx is BrnWeekdayContext;
|
|
19
19
|
constructor();
|
|
20
20
|
private _renderWeekdays;
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarWeekday<any>, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendarWeekday<any>, "[brnCalendarWeekday]", never, {}, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
25
25
|
interface BrnWeekdayContext {
|
|
26
26
|
$implicit: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { BrnCalendarCellButton } from './brn-calendar-cell-button';
|
|
3
|
+
import { BrnCalendarHeader } from './brn-calendar-header';
|
|
4
|
+
import { BrnCalendarBase } from './brn-calendar.token';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class BrnCalendar<T> implements BrnCalendarBase<T> {
|
|
7
7
|
/** Access the date adapter */
|
|
8
8
|
protected readonly _dateAdapter: import("@spartan-ng/brain/date-time").BrnDateAdapter<T>;
|
|
9
9
|
/** Access the change detector */
|
|
@@ -25,9 +25,9 @@ export declare class BrnCalendarDirective<T> implements BrnCalendar<T> {
|
|
|
25
25
|
/** The default focused date. */
|
|
26
26
|
readonly defaultFocusedDate: import("@angular/core").InputSignal<T | undefined>;
|
|
27
27
|
/** @internal Access the header */
|
|
28
|
-
readonly header: import("@angular/core").Signal<
|
|
28
|
+
readonly header: import("@angular/core").Signal<BrnCalendarHeader | undefined>;
|
|
29
29
|
/** Store the cells */
|
|
30
|
-
protected readonly _cells: import("@angular/core").Signal<readonly
|
|
30
|
+
protected readonly _cells: import("@angular/core").Signal<readonly BrnCalendarCellButton<T>[]>;
|
|
31
31
|
/**
|
|
32
32
|
* @internal
|
|
33
33
|
* The internal state of the component.
|
|
@@ -52,7 +52,7 @@ export declare class BrnCalendarDirective<T> implements BrnCalendar<T> {
|
|
|
52
52
|
selectDate(date: T): void;
|
|
53
53
|
/** @internal Set the focused date */
|
|
54
54
|
setFocusedDate(date: T): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendar<any>, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendar<any>, "[brnCalendar]", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "dateDisabled": { "alias": "dateDisabled"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "defaultFocusedDate": { "alias": "defaultFocusedDate"; "required": false; "isSignal": true; }; }, { "date": "dateChange"; }, ["header", "_cells"], never, true, never>;
|
|
57
57
|
}
|
|
58
58
|
export type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExistingProvider, InjectionToken, Signal, Type, WritableSignal } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
2
|
+
import { BrnCalendarHeader } from './brn-calendar-header';
|
|
3
|
+
export interface BrnCalendarBase<T> {
|
|
4
4
|
isSelected: (date: T) => boolean;
|
|
5
5
|
selectDate: (date: T) => void;
|
|
6
6
|
constrainDate: (date: T) => T;
|
|
@@ -8,15 +8,15 @@ export interface BrnCalendar<T> {
|
|
|
8
8
|
setFocusedDate: (date: T) => void;
|
|
9
9
|
disabled: Signal<boolean>;
|
|
10
10
|
focusedDate: Signal<T>;
|
|
11
|
-
header: Signal<
|
|
11
|
+
header: Signal<BrnCalendarHeader | undefined>;
|
|
12
12
|
state: Signal<{
|
|
13
13
|
focusedDate: WritableSignal<T>;
|
|
14
14
|
}>;
|
|
15
15
|
days: Signal<T[]>;
|
|
16
16
|
}
|
|
17
|
-
export declare const BrnCalendarToken: InjectionToken<
|
|
18
|
-
export declare function provideBrnCalendar<T>(instance: Type<
|
|
17
|
+
export declare const BrnCalendarToken: InjectionToken<BrnCalendarBase<unknown>>;
|
|
18
|
+
export declare function provideBrnCalendar<T>(instance: Type<BrnCalendarBase<T>>): ExistingProvider;
|
|
19
19
|
/**
|
|
20
20
|
* Inject the calendar component.
|
|
21
21
|
*/
|
|
22
|
-
export declare function injectBrnCalendar<T>():
|
|
22
|
+
export declare function injectBrnCalendar<T>(): BrnCalendarBase<T>;
|
package/calendar/lib/mode/{brn-calendar-multiple.directive.d.ts → brn-calendar-multiple.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { Weekday } from '../brn-calendar';
|
|
3
|
+
import { BrnCalendarCellButton } from '../brn-calendar-cell-button';
|
|
4
|
+
import { BrnCalendarHeader } from '../brn-calendar-header';
|
|
5
|
+
import { BrnCalendarBase } from '../brn-calendar.token';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class BrnCalendarMulti<T> implements BrnCalendarBase<T> {
|
|
8
8
|
protected readonly _dateAdapter: import("@spartan-ng/brain/date-time").BrnDateAdapter<T>;
|
|
9
9
|
/** Access the change detector */
|
|
10
10
|
private readonly _changeDetector;
|
|
@@ -29,9 +29,9 @@ export declare class BrnCalendarMultiDirective<T> implements BrnCalendar<T> {
|
|
|
29
29
|
/** The default focused date. */
|
|
30
30
|
readonly defaultFocusedDate: import("@angular/core").InputSignal<T | undefined>;
|
|
31
31
|
/** @internal Access the header */
|
|
32
|
-
readonly header: import("@angular/core").Signal<
|
|
32
|
+
readonly header: import("@angular/core").Signal<BrnCalendarHeader | undefined>;
|
|
33
33
|
/** Store the cells */
|
|
34
|
-
protected readonly _cells: import("@angular/core").Signal<readonly
|
|
34
|
+
protected readonly _cells: import("@angular/core").Signal<readonly BrnCalendarCellButton<T>[]>;
|
|
35
35
|
/**
|
|
36
36
|
* @internal
|
|
37
37
|
* The internal state of the component.
|
|
@@ -56,6 +56,6 @@ export declare class BrnCalendarMultiDirective<T> implements BrnCalendar<T> {
|
|
|
56
56
|
isDateDisabled(date: T): boolean;
|
|
57
57
|
/** @internal Set the focused date */
|
|
58
58
|
setFocusedDate(date: T): void;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
60
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCalendarMulti<any>, never>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCalendarMulti<any>, "[brnCalendarMulti]", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "minSelection": { "alias": "minSelection"; "required": false; "isSignal": true; }; "maxSelection": { "alias": "maxSelection"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "dateDisabled": { "alias": "dateDisabled"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "defaultFocusedDate": { "alias": "defaultFocusedDate"; "required": false; "isSignal": true; }; }, { "date": "dateChange"; }, ["header", "_cells"], never, true, never>;
|
|
61
61
|
}
|