@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
|
@@ -2,9 +2,9 @@ import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
|
|
5
|
-
import type {
|
|
5
|
+
import type { BrnSliderTrack } from './brn-slider-track';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class BrnSlider implements ControlValueAccessor, OnInit {
|
|
8
8
|
private readonly _changeDetectorRef;
|
|
9
9
|
private readonly _elementRef;
|
|
10
10
|
readonly value: import("@angular/core").ModelSignal<number>;
|
|
@@ -25,13 +25,13 @@ export declare class BrnSliderDirective implements ControlValueAccessor, OnInit
|
|
|
25
25
|
/** @internal Store the on touched callback */
|
|
26
26
|
protected _onTouched?: TouchFn;
|
|
27
27
|
/** @internal Store the track */
|
|
28
|
-
readonly track: import("@angular/core").WritableSignal<
|
|
28
|
+
readonly track: import("@angular/core").WritableSignal<BrnSliderTrack | null>;
|
|
29
29
|
ngOnInit(): void;
|
|
30
30
|
registerOnChange(fn: (value: number) => void): void;
|
|
31
31
|
registerOnTouched(fn: () => void): void;
|
|
32
32
|
setDisabledState(isDisabled: boolean): void;
|
|
33
33
|
writeValue(value: number): void;
|
|
34
34
|
setValue(value: number): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSlider, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSlider, "[brnSlider]", ["brnSlider"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "showTicks": { "alias": "showTicks"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
37
37
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ExistingProvider, Type } from '@angular/core';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function provideBrnSlider(slider: Type<
|
|
4
|
-
export declare function injectBrnSlider():
|
|
2
|
+
import type { BrnSlider } from './brn-slider';
|
|
3
|
+
export declare function provideBrnSlider(slider: Type<BrnSlider>): ExistingProvider;
|
|
4
|
+
export declare function injectBrnSlider(): BrnSlider;
|
package/switch/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BrnSwitch } from './lib/brn-switch';
|
|
2
|
+
import { BrnSwitchThumb } from './lib/brn-switch-thumb';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./lib/brn-switch
|
|
5
|
-
import * as i2 from "./lib/brn-switch-thumb
|
|
6
|
-
export * from './lib/brn-switch
|
|
7
|
-
export * from './lib/brn-switch
|
|
8
|
-
export declare const BrnSwitchImports: readonly [typeof
|
|
4
|
+
import * as i1 from "./lib/brn-switch";
|
|
5
|
+
import * as i2 from "./lib/brn-switch-thumb";
|
|
6
|
+
export * from './lib/brn-switch';
|
|
7
|
+
export * from './lib/brn-switch-thumb';
|
|
8
|
+
export declare const BrnSwitchImports: readonly [typeof BrnSwitch, typeof BrnSwitchThumb];
|
|
9
9
|
export declare class BrnSwitchModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSwitchModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnSwitchModule, never, [typeof i1.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnSwitchModule, never, [typeof i1.BrnSwitch, typeof i2.BrnSwitchThumb], [typeof i1.BrnSwitch, typeof i2.BrnSwitchThumb]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnSwitchModule>;
|
|
13
13
|
}
|
|
@@ -8,7 +8,7 @@ export declare const BRN_SWITCH_VALUE_ACCESSOR: {
|
|
|
8
8
|
useExisting: import("@angular/core").Type<any>;
|
|
9
9
|
multi: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class BrnSwitch implements AfterContentInit, OnDestroy, ControlValueAccessor {
|
|
12
12
|
private readonly _destroyRef;
|
|
13
13
|
private readonly _renderer;
|
|
14
14
|
private readonly _isBrowser;
|
|
@@ -129,6 +129,6 @@ export declare class BrnSwitchComponent implements AfterContentInit, OnDestroy,
|
|
|
129
129
|
* @param isDisabled - Whether switch should be disabled
|
|
130
130
|
*/
|
|
131
131
|
setDisabledState: (isDisabled: boolean) => void;
|
|
132
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
133
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
132
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSwitch, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnSwitch, "brn-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "changed": "changed"; "touched": "touched"; }, never, ["brn-switch-thumb"], true, never>;
|
|
134
134
|
}
|
package/tabs/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { BrnTabs } from './lib/brn-tabs';
|
|
2
|
+
import { BrnTabsContent } from './lib/brn-tabs-content';
|
|
3
|
+
import { BrnTabsList } from './lib/brn-tabs-list';
|
|
4
|
+
import { BrnTabsTrigger } from './lib/brn-tabs-trigger';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./lib/brn-tabs
|
|
7
|
-
import * as i2 from "./lib/brn-tabs-list
|
|
8
|
-
import * as i3 from "./lib/brn-tabs-trigger
|
|
9
|
-
import * as i4 from "./lib/brn-tabs-content
|
|
10
|
-
export * from './lib/brn-tabs
|
|
11
|
-
export * from './lib/brn-tabs-
|
|
12
|
-
export * from './lib/brn-tabs-
|
|
13
|
-
export * from './lib/brn-tabs-
|
|
14
|
-
export * from './lib/brn-tabs
|
|
15
|
-
export declare const BrnTabsImports: readonly [typeof
|
|
6
|
+
import * as i1 from "./lib/brn-tabs";
|
|
7
|
+
import * as i2 from "./lib/brn-tabs-list";
|
|
8
|
+
import * as i3 from "./lib/brn-tabs-trigger";
|
|
9
|
+
import * as i4 from "./lib/brn-tabs-content";
|
|
10
|
+
export * from './lib/brn-tabs';
|
|
11
|
+
export * from './lib/brn-tabs-content';
|
|
12
|
+
export * from './lib/brn-tabs-list';
|
|
13
|
+
export * from './lib/brn-tabs-paginated-list';
|
|
14
|
+
export * from './lib/brn-tabs-trigger';
|
|
15
|
+
export declare const BrnTabsImports: readonly [typeof BrnTabs, typeof BrnTabsList, typeof BrnTabsTrigger, typeof BrnTabsContent];
|
|
16
16
|
export declare class BrnTabsModule {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTabsModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnTabsModule, never, [typeof i1.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnTabsModule, never, [typeof i1.BrnTabs, typeof i2.BrnTabsList, typeof i3.BrnTabsTrigger, typeof i4.BrnTabsContent], [typeof i1.BrnTabs, typeof i2.BrnTabsList, typeof i3.BrnTabsTrigger, typeof i4.BrnTabsContent]>;
|
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnTabsModule>;
|
|
20
20
|
}
|
|
@@ -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 BrnTabsContent implements OnDestroy {
|
|
4
4
|
private readonly _root;
|
|
5
5
|
private readonly _elementRef;
|
|
6
6
|
readonly contentFor: import("@angular/core").InputSignal<string>;
|
|
@@ -10,6 +10,6 @@ export declare class BrnTabsContentDirective implements OnDestroy {
|
|
|
10
10
|
constructor();
|
|
11
11
|
focus(): void;
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTabsContent, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTabsContent, "[brnTabsContent]", ["brnTabsContent"], { "contentFor": { "alias": "brnTabsContent"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { type AfterContentInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { BrnTabsTrigger } from './brn-tabs-trigger';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class BrnTabsList implements AfterContentInit {
|
|
5
5
|
private readonly _root;
|
|
6
|
-
protected readonly _orientation: import("@angular/core").InputSignal<import("./brn-tabs
|
|
6
|
+
protected readonly _orientation: import("@angular/core").InputSignal<import("./brn-tabs").BrnTabsOrientation>;
|
|
7
7
|
private readonly _direction;
|
|
8
8
|
private readonly _activeTab;
|
|
9
9
|
private readonly _tabs;
|
|
10
10
|
private readonly _elementRef;
|
|
11
11
|
private readonly _keyDownListener;
|
|
12
12
|
private _keyManager?;
|
|
13
|
-
triggers: import("@angular/core").Signal<readonly
|
|
13
|
+
triggers: import("@angular/core").Signal<readonly BrnTabsTrigger[]>;
|
|
14
14
|
ngAfterContentInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTabsList, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTabsList, "[brnTabsList]", ["brnTabsList"], {}, {}, ["triggers"], never, true, never>;
|
|
17
17
|
}
|
|
@@ -29,7 +29,7 @@ export type BrnPaginatedTabHeaderItem = FocusableOption & {
|
|
|
29
29
|
* Base class for a tab header that supported pagination.
|
|
30
30
|
* @docs-private
|
|
31
31
|
*/
|
|
32
|
-
export declare abstract class
|
|
32
|
+
export declare abstract class BrnTabsPaginatedList implements AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy {
|
|
33
33
|
abstract items: Signal<ReadonlyArray<BrnPaginatedTabHeaderItem>>;
|
|
34
34
|
abstract itemsChanges: Observable<ReadonlyArray<BrnPaginatedTabHeaderItem>>;
|
|
35
35
|
abstract tabListContainer: Signal<ElementRef<HTMLElement>>;
|
|
@@ -191,6 +191,6 @@ export declare abstract class BrnTabsPaginatedListDirective implements AfterCont
|
|
|
191
191
|
* @returns Information on the current scroll distance and the maximum.
|
|
192
192
|
*/
|
|
193
193
|
private _scrollTo;
|
|
194
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
195
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTabsPaginatedList, never>;
|
|
195
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTabsPaginatedList, never, never, { "disablePagination": { "alias": "disablePagination"; "required": false; "isSignal": true; }; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, never, never, true, never>;
|
|
196
196
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class BrnTabsTrigger implements OnDestroy {
|
|
5
5
|
readonly elementRef: ElementRef<any>;
|
|
6
6
|
private readonly _root;
|
|
7
|
-
protected readonly _orientation: import("@angular/core").InputSignal<import("./brn-tabs
|
|
7
|
+
protected readonly _orientation: import("@angular/core").InputSignal<import("./brn-tabs").BrnTabsOrientation>;
|
|
8
8
|
readonly triggerFor: import("@angular/core").InputSignal<string>;
|
|
9
9
|
readonly selected: import("@angular/core").Signal<boolean>;
|
|
10
10
|
protected readonly _contentId: import("@angular/core").Signal<string>;
|
|
@@ -16,6 +16,6 @@ export declare class BrnTabsTriggerDirective implements OnDestroy {
|
|
|
16
16
|
activate(): void;
|
|
17
17
|
get key(): string | undefined;
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTabsTrigger, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTabsTrigger, "button[brnTabsTrigger]", ["brnTabsTrigger"], { "triggerFor": { "alias": "brnTabsTrigger"; "required": true; "isSignal": true; }; "_disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BrnTabsContent } from './brn-tabs-content';
|
|
2
|
+
import { BrnTabsTrigger } from './brn-tabs-trigger';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type BrnTabsOrientation = 'horizontal' | 'vertical';
|
|
5
5
|
export type BrnTabsDirection = 'ltr' | 'rtl';
|
|
6
6
|
export type BrnActivationMode = 'automatic' | 'manual';
|
|
7
7
|
export type TabEntry = {
|
|
8
|
-
trigger:
|
|
9
|
-
content:
|
|
8
|
+
trigger: BrnTabsTrigger;
|
|
9
|
+
content: BrnTabsContent;
|
|
10
10
|
};
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class BrnTabs {
|
|
12
12
|
readonly orientation: import("@angular/core").InputSignal<BrnTabsOrientation>;
|
|
13
13
|
/** internal **/
|
|
14
14
|
$orientation: import("@angular/core").InputSignal<BrnTabsOrientation>;
|
|
@@ -26,13 +26,13 @@ export declare class BrnTabsDirective {
|
|
|
26
26
|
readonly $tabs: import("@angular/core").Signal<{
|
|
27
27
|
[key: string]: TabEntry;
|
|
28
28
|
}>;
|
|
29
|
-
registerTrigger(key: string, trigger:
|
|
30
|
-
registerContent(key: string, content:
|
|
29
|
+
registerTrigger(key: string, trigger: BrnTabsTrigger): void;
|
|
30
|
+
registerContent(key: string, content: BrnTabsContent): void;
|
|
31
31
|
unregisterTrigger(key: string): void;
|
|
32
32
|
unregisterContent(key: string): void;
|
|
33
33
|
private updateEntry;
|
|
34
34
|
emitTabActivated(key: string): void;
|
|
35
35
|
setActiveTab(key: string): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTabs, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTabs, "[brnTabs]", ["brnTabs"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "activeTab": { "alias": "brnTabs"; "required": false; "isSignal": true; }; "activationMode": { "alias": "activationMode"; "required": false; "isSignal": true; }; }, { "activeTab": "brnTabsChange"; "tabActivated": "tabActivated"; }, never, never, true, never>;
|
|
38
38
|
}
|
package/toggle/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./lib/brn-toggle
|
|
3
|
-
export * from './lib/brn-toggle
|
|
2
|
+
import * as i1 from "./lib/brn-toggle";
|
|
3
|
+
export * from './lib/brn-toggle';
|
|
4
4
|
export declare class BrnToggleModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnToggleModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnToggleModule, never, [typeof i1.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnToggleModule, never, [typeof i1.BrnToggle], [typeof i1.BrnToggle]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnToggleModule>;
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BrnToggle<T> {
|
|
4
4
|
private static _uniqueId;
|
|
5
5
|
private readonly _changeDetector;
|
|
6
6
|
/** The id of the toggle. */
|
|
@@ -18,6 +18,6 @@ export declare class BrnToggleDirective<T> {
|
|
|
18
18
|
/** The current state that reflects the group state or the model state. */
|
|
19
19
|
protected readonly _state: import("@angular/core").Signal<"on" | "off">;
|
|
20
20
|
toggle(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnToggle<any>, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnToggle<any>, "button[hlmToggle], button[brnToggle]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "disableToggleClick": { "alias": "disableToggleClick"; "required": false; "isSignal": true; }; }, { "state": "stateChange"; }, never, never, true, never>;
|
|
23
23
|
}
|
package/toggle-group/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./lib/brn-toggle-item
|
|
3
|
-
import * as i2 from "./lib/brn-toggle-group
|
|
4
|
-
export * from './lib/brn-toggle-group
|
|
5
|
-
export * from './lib/brn-toggle-item
|
|
2
|
+
import * as i1 from "./lib/brn-toggle-item";
|
|
3
|
+
import * as i2 from "./lib/brn-toggle-group";
|
|
4
|
+
export * from './lib/brn-toggle-group';
|
|
5
|
+
export * from './lib/brn-toggle-item';
|
|
6
6
|
export declare class BrnToggleGroupModule {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnToggleGroupModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnToggleGroupModule, never, [typeof i1.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnToggleGroupModule, never, [typeof i1.BrnToggleGroupItem, typeof i2.BrnToggleGroup], [typeof i1.BrnToggleGroupItem, typeof i2.BrnToggleGroup]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnToggleGroupModule>;
|
|
10
10
|
}
|
|
11
11
|
export declare class BrnToggleGroupItemModule {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnToggleGroupItemModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnToggleGroupItemModule, never, [typeof i1.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnToggleGroupItemModule, never, [typeof i1.BrnToggleGroupItem], [typeof i1.BrnToggleGroupItem]>;
|
|
14
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnToggleGroupItemModule>;
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { type ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { BrnToggleGroupItem } from './brn-toggle-item';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const BRN_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR: {
|
|
6
6
|
provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
|
|
@@ -8,11 +8,11 @@ export declare const BRN_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR: {
|
|
|
8
8
|
multi: boolean;
|
|
9
9
|
};
|
|
10
10
|
export declare class BrnButtonToggleChange<T = unknown> {
|
|
11
|
-
source:
|
|
11
|
+
source: BrnToggleGroupItem<T>;
|
|
12
12
|
value: ToggleValue<T>;
|
|
13
|
-
constructor(source:
|
|
13
|
+
constructor(source: BrnToggleGroupItem<T>, value: ToggleValue<T>);
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class BrnToggleGroup<T = unknown> implements ControlValueAccessor {
|
|
16
16
|
/**
|
|
17
17
|
* The method to be called in order to update ngModel.
|
|
18
18
|
*/
|
|
@@ -48,12 +48,12 @@ export declare class BrnToggleGroupComponent<T = unknown> implements ControlValu
|
|
|
48
48
|
* @internal
|
|
49
49
|
* Selects a value.
|
|
50
50
|
*/
|
|
51
|
-
select(value: T, source:
|
|
51
|
+
select(value: T, source: BrnToggleGroupItem<T>): void;
|
|
52
52
|
/**
|
|
53
53
|
* @internal
|
|
54
54
|
* Deselects a value.
|
|
55
55
|
*/
|
|
56
|
-
deselect(value: T, source:
|
|
56
|
+
deselect(value: T, source: BrnToggleGroupItem<T>): void;
|
|
57
57
|
/**
|
|
58
58
|
* @internal
|
|
59
59
|
* Determines whether a value is selected.
|
|
@@ -61,8 +61,8 @@ export declare class BrnToggleGroupComponent<T = unknown> implements ControlValu
|
|
|
61
61
|
isSelected(value: T): boolean;
|
|
62
62
|
/** Update the value of the group */
|
|
63
63
|
private emitSelectionChange;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnToggleGroup<any>, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnToggleGroup<any>, "brn-toggle-group", ["brnToggleGroup"], { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "nullable": { "alias": "nullable"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
66
66
|
}
|
|
67
67
|
type ToggleValue<T> = T | T[] | null | undefined;
|
|
68
68
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ExistingProvider, Type } from '@angular/core';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function injectBrnToggleGroup<T>():
|
|
4
|
-
export declare function provideBrnToggleGroup<T>(value: Type<
|
|
2
|
+
import type { BrnToggleGroup } from './brn-toggle-group';
|
|
3
|
+
export declare function injectBrnToggleGroup<T>(): BrnToggleGroup<T> | null;
|
|
4
|
+
export declare function provideBrnToggleGroup<T>(value: Type<BrnToggleGroup<T>>): ExistingProvider;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BrnToggleGroupItem<T> {
|
|
4
4
|
private static _uniqueId;
|
|
5
5
|
private readonly _changeDetector;
|
|
6
6
|
/** Access the toggle group if available. */
|
|
7
|
-
protected readonly _group: import("@spartan-ng/brain/toggle-group").
|
|
7
|
+
protected readonly _group: import("@spartan-ng/brain/toggle-group").BrnToggleGroup<T> | null;
|
|
8
8
|
/** The id of the toggle. */
|
|
9
9
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
10
10
|
/** The value this toggle represents. */
|
|
@@ -20,6 +20,6 @@ export declare class BrnToggleGroupItemDirective<T> {
|
|
|
20
20
|
/** The current state that reflects the group state or the model state. */
|
|
21
21
|
protected readonly _state: import("@angular/core").Signal<"on" | "off">;
|
|
22
22
|
toggle(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnToggleGroupItem<any>, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnToggleGroupItem<any>, "button[hlmToggleGroupItem], button[brnToggleGroupItem]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "disableToggleClick": { "alias": "disableToggleClick"; "required": false; "isSignal": true; }; }, { "state": "stateChange"; }, never, never, true, never>;
|
|
25
25
|
}
|
package/tooltip/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { BrnTooltip } from './lib/brn-tooltip';
|
|
2
|
+
import { BrnTooltipContent } from './lib/brn-tooltip-content';
|
|
3
|
+
import { BrnTooltipContentTemplate } from './lib/brn-tooltip-content-template';
|
|
4
|
+
import { BrnTooltipTrigger } from './lib/brn-tooltip-trigger';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./lib/brn-tooltip
|
|
7
|
-
import * as i2 from "./lib/brn-tooltip-content
|
|
8
|
-
import * as i3 from "./lib/brn-tooltip-trigger
|
|
9
|
-
import * as i4 from "./lib/brn-tooltip-content
|
|
10
|
-
export * from './lib/brn-tooltip
|
|
11
|
-
export * from './lib/brn-tooltip-content
|
|
12
|
-
export * from './lib/brn-tooltip-
|
|
13
|
-
export * from './lib/brn-tooltip
|
|
6
|
+
import * as i1 from "./lib/brn-tooltip";
|
|
7
|
+
import * as i2 from "./lib/brn-tooltip-content-template";
|
|
8
|
+
import * as i3 from "./lib/brn-tooltip-trigger";
|
|
9
|
+
import * as i4 from "./lib/brn-tooltip-content";
|
|
10
|
+
export * from './lib/brn-tooltip';
|
|
11
|
+
export * from './lib/brn-tooltip-content';
|
|
12
|
+
export * from './lib/brn-tooltip-content-template';
|
|
13
|
+
export * from './lib/brn-tooltip-trigger';
|
|
14
14
|
export * from './lib/brn-tooltip.token';
|
|
15
|
-
export declare const BrnTooltipImports: readonly [typeof
|
|
15
|
+
export declare const BrnTooltipImports: readonly [typeof BrnTooltip, typeof BrnTooltipContentTemplate, typeof BrnTooltipTrigger, typeof BrnTooltipContent];
|
|
16
16
|
export declare class BrnTooltipModule {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTooltipModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnTooltipModule, never, [typeof i1.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnTooltipModule, never, [typeof i1.BrnTooltip, typeof i2.BrnTooltipContentTemplate, typeof i3.BrnTooltipTrigger, typeof i4.BrnTooltipContent], [typeof i1.BrnTooltip, typeof i2.BrnTooltipContentTemplate, typeof i3.BrnTooltipTrigger, typeof i4.BrnTooltipContent]>;
|
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnTooltipModule>;
|
|
20
20
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnTooltipContentTemplate {
|
|
3
|
+
private readonly _brnTooltipDirective;
|
|
4
|
+
private readonly _tpl;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTooltipContentTemplate, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTooltipContentTemplate, "[brnTooltipContent]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
* Internal component that wraps the tooltip's content.
|
|
5
5
|
* @docs-private
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class BrnTooltipContent implements OnDestroy {
|
|
8
8
|
private readonly _cdr;
|
|
9
9
|
private readonly _isBrowser;
|
|
10
10
|
private readonly _renderer2;
|
|
@@ -68,6 +68,6 @@ export declare class BrnTooltipContentComponent implements OnDestroy {
|
|
|
68
68
|
/** Toggles the visibility of the tooltip element. */
|
|
69
69
|
private _toggleVisibility;
|
|
70
70
|
private _toggleDataAttributes;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTooltipContent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnTooltipContent, "brn-tooltip-content", never, {}, {}, never, never, true, never>;
|
|
73
73
|
}
|
|
@@ -9,7 +9,7 @@ export declare function getBrnTooltipInvalidPositionError(position: string): Err
|
|
|
9
9
|
/** Injection token that determines the scroll handling while a tooltip is visible. */
|
|
10
10
|
export declare const BRN_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
11
11
|
export declare const BRN_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER: Provider;
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class BrnTooltipTrigger implements OnDestroy, AfterViewInit {
|
|
13
13
|
private readonly _tooltipDirective;
|
|
14
14
|
private readonly _tooltipComponent;
|
|
15
15
|
private readonly _cssClassPrefix;
|
|
@@ -136,6 +136,6 @@ export declare class BrnTooltipTriggerDirective implements OnDestroy, AfterViewI
|
|
|
136
136
|
private _wheelListener;
|
|
137
137
|
/** Disables the native browser gestures, based on how the tooltip has been configured. */
|
|
138
138
|
private _disableNativeGesturesIfNecessary;
|
|
139
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
140
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTooltipTrigger, never>;
|
|
140
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTooltipTrigger, "[brnTooltipTrigger]", ["brnTooltipTrigger"], { "position": { "alias": "position"; "required": false; "isSignal": true; }; "positionAtOrigin": { "alias": "positionAtOrigin"; "required": false; "isSignal": true; }; "brnTooltipDisabled": { "alias": "brnTooltipDisabled"; "required": false; "isSignal": true; }; "showDelay": { "alias": "showDelay"; "required": false; "isSignal": true; }; "hideDelay": { "alias": "hideDelay"; "required": false; "isSignal": true; }; "exitAnimationDuration": { "alias": "exitAnimationDuration"; "required": false; "isSignal": true; }; "tooltipContentClasses": { "alias": "tooltipContentClasses"; "required": false; "isSignal": true; }; "touchGestures": { "alias": "touchGestures"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "brnTooltipTrigger": { "alias": "brnTooltipTrigger"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
141
141
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnTooltip {
|
|
4
|
+
readonly tooltipTemplate: import("@angular/core").WritableSignal<TemplateRef<unknown> | null>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnTooltip, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTooltip, "[brnTooltip]", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ValueProvider } from '@angular/core';
|
|
2
|
-
import { TooltipPosition, TooltipTouchGestures } from './brn-tooltip-trigger
|
|
2
|
+
import { TooltipPosition, TooltipTouchGestures } from './brn-tooltip-trigger';
|
|
3
3
|
export interface BrnTooltipOptions {
|
|
4
4
|
/** Default delay when the tooltip is shown. */
|
|
5
5
|
showDelay: number;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BrnDialogContentDirective } from '@spartan-ng/brain/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BrnAlertDialogContentDirective<T> extends BrnDialogContentDirective<T> {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogContentDirective<any>, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAlertDialogContentDirective<any>, "[brnAlertDialogContent]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BrnDialogDescriptionDirective } from '@spartan-ng/brain/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BrnAlertDialogDescriptionDirective extends BrnDialogDescriptionDirective {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogDescriptionDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAlertDialogDescriptionDirective, "[brnAlertDialogDescription]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BrnDialogOverlayComponent } from '@spartan-ng/brain/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BrnAlertDialogOverlayComponent extends BrnDialogOverlayComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogOverlayComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BrnAlertDialogOverlayComponent, "brn-alert-dialog-overlay", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BrnDialogTitleDirective } from '@spartan-ng/brain/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BrnAlertDialogTitleDirective extends BrnDialogTitleDirective {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogTitleDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAlertDialogTitleDirective, "[brnAlertDialogTitle]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BrnDialogTriggerDirective } from '@spartan-ng/brain/dialog';
|
|
2
|
-
import type { BrnAlertDialogComponent } from './brn-alert-dialog.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BrnAlertDialogTriggerDirective extends BrnDialogTriggerDirective {
|
|
5
|
-
readonly brnAlertDialogTriggerFor: import("@angular/core").InputSignal<BrnAlertDialogComponent | undefined>;
|
|
6
|
-
constructor();
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogTriggerDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAlertDialogTriggerDirective, "button[brnAlertDialogTrigger],button[brnAlertDialogTriggerFor]", never, { "brnAlertDialogTriggerFor": { "alias": "brnAlertDialogTriggerFor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BrnDialogComponent, 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 BrnAlertDialogComponent extends BrnDialogComponent {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAlertDialogComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BrnAlertDialogComponent, "brn-alert-dialog", ["brnAlertDialog"], {}, {}, never, ["*"], true, never>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BrnAvatarImageDirective } from './image';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BrnAvatarComponent {
|
|
4
|
-
protected readonly _image: import("@angular/core").Signal<BrnAvatarImageDirective | undefined>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAvatarComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BrnAvatarComponent, "brn-avatar", never, {}, {}, ["_image"], ["[brnAvatarImage]", "[brnAvatarFallback]"], true, never>;
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ClassValue } from 'clsx';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BrnAvatarFallbackDirective {
|
|
4
|
-
private readonly _element;
|
|
5
|
-
readonly userClass: import("@angular/core").InputSignal<ClassValue>;
|
|
6
|
-
getTextContent(): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAvatarFallbackDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAvatarFallbackDirective, "[brnAvatarFallback]", ["avatarFallback"], { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BrnAvatarImageDirective {
|
|
3
|
-
private readonly _loaded;
|
|
4
|
-
private onError;
|
|
5
|
-
private onLoad;
|
|
6
|
-
canShow: import("@angular/core").Signal<boolean>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrnAvatarImageDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnAvatarImageDirective, "img[brnAvatarImage]", ["avatarImage"], {}, {}, never, never, true, never>;
|
|
9
|
-
}
|