@spartan-ng/brain 0.0.1-alpha.493 → 0.0.1-alpha.495
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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type AfterContentInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnHoverCard implements AfterContentInit {
|
|
4
|
+
private readonly _trigger;
|
|
5
|
+
private readonly _content;
|
|
6
|
+
ngAfterContentInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnHoverCard, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnHoverCard, "brn-hover-card", never, {}, {}, ["_trigger", "_content"], ["*"], true, never>;
|
|
9
|
+
}
|
package/input-otp/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BrnInputOtp } from './lib/brn-input-otp';
|
|
2
|
+
import { BrnInputOtpSlot } from './lib/brn-input-otp-slot';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./lib/brn-input-otp
|
|
5
|
-
import * as i2 from "./lib/brn-input-otp-slot
|
|
6
|
-
export * from './lib/brn-input-otp
|
|
7
|
-
export * from './lib/brn-input-otp
|
|
8
|
-
export declare const BrnInputOtpImports: readonly [typeof
|
|
4
|
+
import * as i1 from "./lib/brn-input-otp";
|
|
5
|
+
import * as i2 from "./lib/brn-input-otp-slot";
|
|
6
|
+
export * from './lib/brn-input-otp';
|
|
7
|
+
export * from './lib/brn-input-otp-slot';
|
|
8
|
+
export declare const BrnInputOtpImports: readonly [typeof BrnInputOtp, typeof BrnInputOtpSlot];
|
|
9
9
|
export declare class BrnInputOtpModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnInputOtpModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnInputOtpModule, never, [typeof i1.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnInputOtpModule, never, [typeof i1.BrnInputOtp, typeof i2.BrnInputOtpSlot], [typeof i1.BrnInputOtp, typeof i2.BrnInputOtpSlot]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnInputOtpModule>;
|
|
13
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { NumberInput } from '@angular/cdk/coercion';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BrnInputOtpSlot {
|
|
4
4
|
/** Access the input-otp component */
|
|
5
|
-
protected readonly _inputOtp: import("@spartan-ng/brain/input-otp").
|
|
5
|
+
protected readonly _inputOtp: import("@spartan-ng/brain/input-otp").BrnInputOtp;
|
|
6
6
|
/** The index of the slot to render the char or a fake caret */
|
|
7
7
|
readonly index: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
|
8
8
|
protected readonly _slot: import("@angular/core").Signal<{
|
|
@@ -10,6 +10,6 @@ export declare class BrnInputOtpSlotComponent {
|
|
|
10
10
|
isActive: boolean;
|
|
11
11
|
hasFakeCaret: boolean;
|
|
12
12
|
}>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnInputOtpSlot, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnInputOtpSlot, "brn-input-otp-slot", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
15
15
|
}
|
|
@@ -9,7 +9,7 @@ export declare const BRN_INPUT_OTP_VALUE_ACCESSOR: {
|
|
|
9
9
|
multi: boolean;
|
|
10
10
|
};
|
|
11
11
|
export type InputMode = 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class BrnInputOtp implements ControlValueAccessor {
|
|
13
13
|
/** Whether the input has focus. */
|
|
14
14
|
protected readonly _focused: import("@angular/core").WritableSignal<boolean>;
|
|
15
15
|
/** Styles applied to the host element. */
|
|
@@ -56,6 +56,6 @@ export declare class BrnInputOtpComponent implements ControlValueAccessor {
|
|
|
56
56
|
setDisabledState(isDisabled: boolean): void;
|
|
57
57
|
private isCompleted;
|
|
58
58
|
private updateValue;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnInputOtp, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnInputOtp, "brn-input-otp", never, { "hostStyles": { "alias": "hostStyles"; "required": false; "isSignal": true; }; "inputStyles": { "alias": "inputStyles"; "required": false; "isSignal": true; }; "containerStyles": { "alias": "containerStyles"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": true; "isSignal": true; }; "inputMode": { "alias": "inputMode"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "transformPaste": { "alias": "transformPaste"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "completed": "completed"; }, never, ["*"], true, never>;
|
|
61
61
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExistingProvider, InjectionToken, Type } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const BrnInputOtpToken: InjectionToken<
|
|
4
|
-
export declare function injectBrnInputOtp():
|
|
5
|
-
export declare function provideBrnInputOtp(inputOtp: Type<
|
|
2
|
+
import { BrnInputOtp } from './brn-input-otp';
|
|
3
|
+
export declare const BrnInputOtpToken: InjectionToken<BrnInputOtp>;
|
|
4
|
+
export declare function injectBrnInputOtp(): BrnInputOtp;
|
|
5
|
+
export declare function provideBrnInputOtp(inputOtp: Type<BrnInputOtp>): ExistingProvider;
|
package/label/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./lib/brn-label
|
|
3
|
-
export * from './lib/brn-label
|
|
2
|
+
import * as i1 from "./lib/brn-label";
|
|
3
|
+
export * from './lib/brn-label';
|
|
4
4
|
export declare class BrnLabelModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnLabelModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnLabelModule, never, [typeof i1.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnLabelModule, never, [typeof i1.BrnLabel], [typeof i1.BrnLabel]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnLabelModule>;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type OnInit } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class BrnLabel implements OnInit {
|
|
5
5
|
protected readonly _ngControl: NgControl | null;
|
|
6
6
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
7
7
|
private readonly _isBrowser;
|
|
@@ -10,6 +10,6 @@ export declare class BrnLabelDirective implements OnInit {
|
|
|
10
10
|
private readonly _dataDisabled;
|
|
11
11
|
readonly dataDisabled: import("@angular/core").Signal<boolean | "auto">;
|
|
12
12
|
ngOnInit(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnLabel, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnLabel, "[brnLabel]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
15
|
}
|
package/menu/index.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { BrnContextMenuTrigger } from './lib/brn-context-menu-trigger';
|
|
2
|
+
import { BrnMenu } from './lib/brn-menu';
|
|
3
|
+
import { BrnMenuBar } from './lib/brn-menu-bar';
|
|
4
|
+
import { BrnMenuGroup } from './lib/brn-menu-group';
|
|
5
|
+
import { BrnMenuItem } from './lib/brn-menu-item';
|
|
6
|
+
import { BrnMenuItemCheckbox } from './lib/brn-menu-item-checkbox';
|
|
7
|
+
import { BrnMenuItemRadio } from './lib/brn-menu-item-radio';
|
|
8
|
+
import { BrnMenuTrigger } from './lib/brn-menu-trigger';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "./lib/brn-menu-group
|
|
11
|
-
import * as i2 from "./lib/brn-menu-item
|
|
12
|
-
import * as i3 from "./lib/brn-menu-item-radio
|
|
13
|
-
import * as i4 from "./lib/brn-menu-item-checkbox
|
|
14
|
-
import * as i5 from "./lib/brn-menu-trigger
|
|
15
|
-
import * as i6 from "./lib/brn-menu
|
|
16
|
-
import * as i7 from "./lib/brn-menu-bar
|
|
17
|
-
import * as i8 from "./lib/brn-context-menu-trigger
|
|
18
|
-
export * from './lib/brn-context-menu-trigger
|
|
19
|
-
export * from './lib/brn-menu
|
|
20
|
-
export * from './lib/brn-menu-
|
|
21
|
-
export * from './lib/brn-menu-
|
|
22
|
-
export * from './lib/brn-menu-item
|
|
23
|
-
export * from './lib/brn-menu-item
|
|
24
|
-
export * from './lib/brn-menu-
|
|
25
|
-
export * from './lib/brn-menu
|
|
26
|
-
export declare const BrnMenuItemImports: readonly [typeof
|
|
27
|
-
export declare const BrnMenuImports: readonly [typeof
|
|
28
|
-
export declare const BrnMenuBarImports: readonly [typeof
|
|
29
|
-
export declare const BrnContextMenuImports: readonly [typeof
|
|
10
|
+
import * as i1 from "./lib/brn-menu-group";
|
|
11
|
+
import * as i2 from "./lib/brn-menu-item";
|
|
12
|
+
import * as i3 from "./lib/brn-menu-item-radio";
|
|
13
|
+
import * as i4 from "./lib/brn-menu-item-checkbox";
|
|
14
|
+
import * as i5 from "./lib/brn-menu-trigger";
|
|
15
|
+
import * as i6 from "./lib/brn-menu";
|
|
16
|
+
import * as i7 from "./lib/brn-menu-bar";
|
|
17
|
+
import * as i8 from "./lib/brn-context-menu-trigger";
|
|
18
|
+
export * from './lib/brn-context-menu-trigger';
|
|
19
|
+
export * from './lib/brn-menu';
|
|
20
|
+
export * from './lib/brn-menu-bar';
|
|
21
|
+
export * from './lib/brn-menu-group';
|
|
22
|
+
export * from './lib/brn-menu-item';
|
|
23
|
+
export * from './lib/brn-menu-item-checkbox';
|
|
24
|
+
export * from './lib/brn-menu-item-radio';
|
|
25
|
+
export * from './lib/brn-menu-trigger';
|
|
26
|
+
export declare const BrnMenuItemImports: readonly [typeof BrnMenuGroup, typeof BrnMenuItem, typeof BrnMenuItemRadio, typeof BrnMenuItemCheckbox];
|
|
27
|
+
export declare const BrnMenuImports: readonly [typeof BrnMenuTrigger, typeof BrnMenu, typeof BrnMenuGroup, typeof BrnMenuItem, typeof BrnMenuItemRadio, typeof BrnMenuItemCheckbox];
|
|
28
|
+
export declare const BrnMenuBarImports: readonly [typeof BrnMenuTrigger, typeof BrnMenu, typeof BrnMenuGroup, typeof BrnMenuItem, typeof BrnMenuItemRadio, typeof BrnMenuItemCheckbox, typeof BrnMenuBar];
|
|
29
|
+
export declare const BrnContextMenuImports: readonly [typeof BrnMenuTrigger, typeof BrnMenu, typeof BrnMenuGroup, typeof BrnMenuItem, typeof BrnMenuItemRadio, typeof BrnMenuItemCheckbox, typeof BrnContextMenuTrigger];
|
|
30
30
|
export declare class BrnMenuItemModule {
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuItemModule, never>;
|
|
32
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnMenuItemModule, never, [typeof i1.
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnMenuItemModule, never, [typeof i1.BrnMenuGroup, typeof i2.BrnMenuItem, typeof i3.BrnMenuItemRadio, typeof i4.BrnMenuItemCheckbox], [typeof i1.BrnMenuGroup, typeof i2.BrnMenuItem, typeof i3.BrnMenuItemRadio, typeof i4.BrnMenuItemCheckbox]>;
|
|
33
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnMenuItemModule>;
|
|
34
34
|
}
|
|
35
35
|
export declare class BrnMenuModule {
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnMenuModule, never, [typeof i5.
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnMenuModule, never, [typeof i5.BrnMenuTrigger, typeof i6.BrnMenu, typeof i1.BrnMenuGroup, typeof i2.BrnMenuItem, typeof i3.BrnMenuItemRadio, typeof i4.BrnMenuItemCheckbox], [typeof i5.BrnMenuTrigger, typeof i6.BrnMenu, typeof i1.BrnMenuGroup, typeof i2.BrnMenuItem, typeof i3.BrnMenuItemRadio, typeof i4.BrnMenuItemCheckbox]>;
|
|
38
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnMenuModule>;
|
|
39
39
|
}
|
|
40
40
|
export declare class BrnMenuBarModule {
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuBarModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnMenuBarModule, never, [typeof i5.
|
|
42
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnMenuBarModule, never, [typeof i5.BrnMenuTrigger, typeof i6.BrnMenu, typeof i1.BrnMenuGroup, typeof i2.BrnMenuItem, typeof i3.BrnMenuItemRadio, typeof i4.BrnMenuItemCheckbox, typeof i7.BrnMenuBar], [typeof i5.BrnMenuTrigger, typeof i6.BrnMenu, typeof i1.BrnMenuGroup, typeof i2.BrnMenuItem, typeof i3.BrnMenuItemRadio, typeof i4.BrnMenuItemCheckbox, typeof i7.BrnMenuBar]>;
|
|
43
43
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnMenuBarModule>;
|
|
44
44
|
}
|
|
45
45
|
export declare class BrnContextMenuModule {
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnContextMenuModule, never>;
|
|
47
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnContextMenuModule, never, [typeof i5.
|
|
47
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnContextMenuModule, never, [typeof i5.BrnMenuTrigger, typeof i6.BrnMenu, typeof i1.BrnMenuGroup, typeof i2.BrnMenuItem, typeof i3.BrnMenuItemRadio, typeof i4.BrnMenuItemCheckbox, typeof i8.BrnContextMenuTrigger], [typeof i5.BrnMenuTrigger, typeof i6.BrnMenu, typeof i1.BrnMenuGroup, typeof i2.BrnMenuItem, typeof i3.BrnMenuItemRadio, typeof i4.BrnMenuItemCheckbox, typeof i8.BrnContextMenuTrigger]>;
|
|
48
48
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnContextMenuModule>;
|
|
49
49
|
}
|
|
@@ -2,12 +2,12 @@ import { type TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { BrnMenuAlign } from './brn-menu-align';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/cdk/menu";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class BrnContextMenuTrigger {
|
|
6
6
|
private readonly _cdkTrigger;
|
|
7
7
|
readonly brnCtxMenuTriggerFor: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
8
8
|
readonly brnCtxMenuTriggerData: import("@angular/core").InputSignal<unknown>;
|
|
9
9
|
readonly align: import("@angular/core").InputSignal<BrnMenuAlign>;
|
|
10
10
|
constructor();
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnContextMenuTrigger, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnContextMenuTrigger, "[brnCtxMenuTriggerFor]", never, { "brnCtxMenuTriggerFor": { "alias": "brnCtxMenuTriggerFor"; "required": false; "isSignal": true; }; "brnCtxMenuTriggerData": { "alias": "brnCtxMenuTriggerData"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkContextMenuTrigger; inputs: {}; outputs: {}; }]>;
|
|
13
13
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/menu";
|
|
3
|
+
export declare class BrnMenuBar {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuBar, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnMenuBar, "[brnMenuBar]", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkMenuBar; inputs: {}; outputs: {}; }]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/menu";
|
|
3
|
+
export declare class BrnMenuGroup {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuGroup, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnMenuGroup, "[brnMenuGroup]", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkMenuGroup; inputs: {}; outputs: {}; }]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/menu";
|
|
3
|
+
export declare class BrnMenuItemCheckbox {
|
|
4
|
+
private readonly _cdkMenuItem;
|
|
5
|
+
readonly checked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
6
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7
|
+
readonly triggered: import("@angular/core").OutputRef<void>;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuItemCheckbox, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnMenuItemCheckbox, "[brnMenuItemCheckbox]", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "triggered": "triggered"; }, never, never, true, [{ directive: typeof i1.CdkMenuItemCheckbox; inputs: {}; outputs: {}; }]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/menu";
|
|
3
|
+
export declare class BrnMenuItemRadio {
|
|
4
|
+
private readonly _cdkMenuItem;
|
|
5
|
+
readonly checked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
6
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7
|
+
readonly triggered: import("@angular/core").OutputRef<void>;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuItemRadio, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnMenuItemRadio, "[brnMenuItemRadio]", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "triggered": "triggered"; }, never, never, true, [{ directive: typeof i1.CdkMenuItemRadio; inputs: {}; outputs: {}; }]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/menu";
|
|
3
|
+
export declare class BrnMenuItem {
|
|
4
|
+
private readonly _cdkMenuItem;
|
|
5
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
6
|
+
readonly triggered: import("@angular/core").OutputRef<void>;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuItem, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnMenuItem, "[brnMenuItem]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "triggered": "triggered"; }, never, never, true, [{ directive: typeof i1.CdkMenuItem; inputs: {}; outputs: {}; }]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BrnMenuAlign } from './brn-menu-align';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/cdk/menu";
|
|
4
|
+
export declare class BrnMenuTrigger {
|
|
5
|
+
private readonly _cdkTrigger;
|
|
6
|
+
readonly align: import("@angular/core").InputSignal<BrnMenuAlign>;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenuTrigger, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnMenuTrigger, "[brnMenuTriggerFor]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "brnMenuTriggerFor"; "cdkMenuTriggerData": "brnMenuTriggerData"; }; outputs: { "cdkMenuOpened": "brnMenuOpened"; "cdkMenuClosed": "brnMenuClosed"; }; }]>;
|
|
10
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@angular/cdk/menu";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BrnMenu {
|
|
4
4
|
private readonly _host;
|
|
5
5
|
protected readonly _state: import("@angular/core").WritableSignal<string>;
|
|
6
6
|
protected readonly _side: import("@angular/core").WritableSignal<string>;
|
|
7
7
|
constructor();
|
|
8
8
|
private setSideWithDarkMagic;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnMenu, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnMenu, "[brnMenu],[brnSubMenu]", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkMenu; inputs: {}; outputs: {}; }]>;
|
|
11
11
|
}
|
package/package.json
CHANGED
package/popover/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { BrnPopover } from './lib/brn-popover';
|
|
2
|
+
import { BrnPopoverClose } from './lib/brn-popover-close';
|
|
3
|
+
import { BrnPopoverContent } from './lib/brn-popover-content';
|
|
4
|
+
import { BrnPopoverTrigger } from './lib/brn-popover-trigger';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./lib/brn-popover
|
|
7
|
-
import * as i2 from "./lib/brn-popover-trigger
|
|
8
|
-
import * as i3 from "./lib/brn-popover-close
|
|
9
|
-
import * as i4 from "./lib/brn-popover-content
|
|
10
|
-
export * from './lib/brn-popover
|
|
11
|
-
export * from './lib/brn-popover-
|
|
12
|
-
export * from './lib/brn-popover-
|
|
13
|
-
export * from './lib/brn-popover
|
|
14
|
-
export declare const BrnPopoverImports: readonly [typeof
|
|
6
|
+
import * as i1 from "./lib/brn-popover";
|
|
7
|
+
import * as i2 from "./lib/brn-popover-trigger";
|
|
8
|
+
import * as i3 from "./lib/brn-popover-close";
|
|
9
|
+
import * as i4 from "./lib/brn-popover-content";
|
|
10
|
+
export * from './lib/brn-popover';
|
|
11
|
+
export * from './lib/brn-popover-close';
|
|
12
|
+
export * from './lib/brn-popover-content';
|
|
13
|
+
export * from './lib/brn-popover-trigger';
|
|
14
|
+
export declare const BrnPopoverImports: readonly [typeof BrnPopover, typeof BrnPopoverTrigger, typeof BrnPopoverClose, typeof BrnPopoverContent];
|
|
15
15
|
export declare class BrnPopoverModule {
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnPopoverModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnPopoverModule, never, [typeof i1.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnPopoverModule, never, [typeof i1.BrnPopover, typeof i2.BrnPopoverTrigger, typeof i3.BrnPopoverClose, typeof i4.BrnPopoverContent], [typeof i1.BrnPopover, typeof i2.BrnPopoverTrigger, typeof i3.BrnPopoverClose, typeof i4.BrnPopoverContent]>;
|
|
18
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnPopoverModule>;
|
|
19
19
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogClose } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnPopoverClose extends BrnDialogClose {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnPopoverClose, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnPopoverClose, "button[brnPopoverClose]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogContent } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnPopoverContent<T> extends BrnDialogContent<T> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnPopoverContent<any>, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnPopoverContent<any>, "[brnPopoverContent]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BrnDialogTrigger } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import type { BrnPopover } from './brn-popover';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BrnPopoverTrigger extends BrnDialogTrigger {
|
|
5
|
+
private readonly _host;
|
|
6
|
+
readonly brnPopoverTriggerFor: import("@angular/core").InputSignal<BrnPopover | undefined>;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnPopoverTrigger, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnPopoverTrigger, "button[brnPopoverTrigger],button[brnPopoverTriggerFor]", never, { "brnPopoverTriggerFor": { "alias": "brnPopoverTriggerFor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BrnDialog, BrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const BRN_POPOVER_DIALOG_DEFAULT_OPTIONS: Partial<BrnDialogDefaultOptions>;
|
|
4
|
+
export type BrnPopoverAlign = 'start' | 'center' | 'end';
|
|
5
|
+
export declare class BrnPopover extends BrnDialog {
|
|
6
|
+
readonly align: import("@angular/core").InputSignal<BrnPopoverAlign>;
|
|
7
|
+
readonly sideOffset: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
8
|
+
constructor();
|
|
9
|
+
private applySideOffset;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnPopover, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnPopover, "brn-popover", ["brnPopover"], { "align": { "alias": "align"; "required": false; "isSignal": true; }; "sideOffset": { "alias": "sideOffset"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
package/progress/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BrnProgress } from './lib/brn-progress';
|
|
2
|
+
import { BrnProgressIndicator } from './lib/brn-progress-indicator';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./lib/brn-progress
|
|
5
|
-
import * as i2 from "./lib/brn-progress-indicator
|
|
4
|
+
import * as i1 from "./lib/brn-progress";
|
|
5
|
+
import * as i2 from "./lib/brn-progress-indicator";
|
|
6
6
|
export { injectBrnProgress } from './lib/brn-progress.token';
|
|
7
|
-
export * from './lib/brn-progress
|
|
8
|
-
export * from './lib/brn-progress
|
|
9
|
-
export declare const BrnProgressImports: readonly [typeof
|
|
7
|
+
export * from './lib/brn-progress';
|
|
8
|
+
export * from './lib/brn-progress-indicator';
|
|
9
|
+
export declare const BrnProgressImports: readonly [typeof BrnProgress, typeof BrnProgressIndicator];
|
|
10
10
|
export declare class BrnProgressModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnProgressModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnProgressModule, never, [typeof i1.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnProgressModule, never, [typeof i1.BrnProgress, typeof i2.BrnProgressIndicator], [typeof i1.BrnProgress, typeof i2.BrnProgressIndicator]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnProgressModule>;
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
3
|
-
protected readonly _progress: import("@spartan-ng/brain/progress").
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
2
|
+
export declare class BrnProgressIndicator {
|
|
3
|
+
protected readonly _progress: import("@spartan-ng/brain/progress").BrnProgress;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnProgressIndicator, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnProgressIndicator, "brn-progress-indicator", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type NumberInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class BrnProgress implements OnChanges {
|
|
5
5
|
readonly value: import("@angular/core").InputSignalWithTransform<number | null | undefined, NumberInput>;
|
|
6
6
|
readonly max: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
|
7
7
|
readonly getValueLabel: import("@angular/core").InputSignal<BrnProgressLabelFn>;
|
|
@@ -9,7 +9,7 @@ export declare class BrnProgressComponent implements OnChanges {
|
|
|
9
9
|
readonly state: import("@angular/core").Signal<"indeterminate" | "complete" | "loading">;
|
|
10
10
|
ngOnChanges(changes: SimpleChanges): void;
|
|
11
11
|
private validate;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnProgress, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnProgress, "brn-progress", ["brnProgress"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "getValueLabel": { "alias": "getValueLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
14
14
|
}
|
|
15
15
|
export type BrnProgressLabelFn = (value: number, max: number) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ExistingProvider, Type } from '@angular/core';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function provideBrnProgress(progress: Type<
|
|
4
|
-
export declare function injectBrnProgress():
|
|
2
|
+
import type { BrnProgress } from './brn-progress';
|
|
3
|
+
export declare function provideBrnProgress(progress: Type<BrnProgress>): ExistingProvider;
|
|
4
|
+
export declare function injectBrnProgress(): BrnProgress;
|
package/radio-group/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BrnRadio } from './lib/brn-radio';
|
|
2
|
+
import { BrnRadioGroup } from './lib/brn-radio-group';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./lib/brn-radio-group
|
|
5
|
-
import * as i2 from "./lib/brn-radio
|
|
6
|
-
export * from './lib/brn-radio
|
|
7
|
-
export * from './lib/brn-radio
|
|
8
|
-
export declare const BrnRadioGroupImports: readonly [typeof
|
|
4
|
+
import * as i1 from "./lib/brn-radio-group";
|
|
5
|
+
import * as i2 from "./lib/brn-radio";
|
|
6
|
+
export * from './lib/brn-radio';
|
|
7
|
+
export * from './lib/brn-radio-group';
|
|
8
|
+
export declare const BrnRadioGroupImports: readonly [typeof BrnRadioGroup, typeof BrnRadio];
|
|
9
9
|
export declare class BrnRadioGroupModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnRadioGroupModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnRadioGroupModule, never, [typeof i1.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnRadioGroupModule, never, [typeof i1.BrnRadioGroup, typeof i2.BrnRadio], [typeof i1.BrnRadioGroup, typeof i2.BrnRadio]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnRadioGroupModule>;
|
|
13
13
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
|
|
4
|
-
import {
|
|
4
|
+
import { BrnRadio, BrnRadioChange } from './brn-radio';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const BRN_RADIO_GROUP_CONTROL_VALUE_ACCESSOR: {
|
|
7
7
|
provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
|
|
8
8
|
useExisting: import("@angular/core").Type<any>;
|
|
9
9
|
multi: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class BrnRadioGroup<T = unknown> implements ControlValueAccessor {
|
|
12
12
|
private static _nextUniqueId;
|
|
13
13
|
protected onChange: ChangeFn<T>;
|
|
14
14
|
protected onTouched: TouchFn;
|
|
@@ -42,7 +42,7 @@ export declare class BrnRadioGroupDirective<T = unknown> implements ControlValue
|
|
|
42
42
|
* Access the radio buttons within the group.
|
|
43
43
|
* @internal
|
|
44
44
|
*/
|
|
45
|
-
readonly radioButtons: import("@angular/core").Signal<readonly
|
|
45
|
+
readonly radioButtons: import("@angular/core").Signal<readonly BrnRadio<any>[]>;
|
|
46
46
|
writeValue(value: T): void;
|
|
47
47
|
registerOnChange(fn: ChangeFn<T>): void;
|
|
48
48
|
registerOnTouched(fn: TouchFn): void;
|
|
@@ -51,7 +51,7 @@ export declare class BrnRadioGroupDirective<T = unknown> implements ControlValue
|
|
|
51
51
|
* Select a radio button.
|
|
52
52
|
* @internal
|
|
53
53
|
*/
|
|
54
|
-
select(radioButton:
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
54
|
+
select(radioButton: BrnRadio<T>, value: T): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnRadioGroup<any>, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnRadioGroup<any>, "[brnRadioGroup]", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "change": "change"; }, ["radioButtons"], never, true, never>;
|
|
57
57
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ExistingProvider, Type } from '@angular/core';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function provideBrnRadioGroupToken<T>(directive: Type<
|
|
4
|
-
export declare function injectBrnRadioGroup<T = unknown>():
|
|
2
|
+
import type { BrnRadioGroup } from './brn-radio-group';
|
|
3
|
+
export declare function provideBrnRadioGroupToken<T>(directive: Type<BrnRadioGroup<T>>): ExistingProvider;
|
|
4
|
+
export declare function injectBrnRadioGroup<T = unknown>(): BrnRadioGroup<T>;
|
|
@@ -2,15 +2,15 @@ import { BooleanInput } from '@angular/cdk/coercion';
|
|
|
2
2
|
import { ElementRef, type OnDestroy } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class BrnRadioChange<T> {
|
|
5
|
-
source:
|
|
5
|
+
source: BrnRadio<T>;
|
|
6
6
|
value: T;
|
|
7
|
-
constructor(source:
|
|
7
|
+
constructor(source: BrnRadio<T>, value: T);
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class BrnRadio<T = unknown> implements OnDestroy {
|
|
10
10
|
private static _nextUniqueId;
|
|
11
11
|
private readonly _focusMonitor;
|
|
12
12
|
private readonly _elementRef;
|
|
13
|
-
protected readonly _radioGroup: import("@spartan-ng/brain/radio-group").
|
|
13
|
+
protected readonly _radioGroup: import("@spartan-ng/brain/radio-group").BrnRadioGroup<T>;
|
|
14
14
|
/**
|
|
15
15
|
* Whether the radio button is disabled.
|
|
16
16
|
*/
|
|
@@ -53,6 +53,6 @@ export declare class BrnRadioComponent<T = unknown> implements OnDestroy {
|
|
|
53
53
|
protected onInputInteraction(event: Event): void;
|
|
54
54
|
/** Triggered when the user clicks on the touch target. */
|
|
55
55
|
protected onTouchTargetClick(event: Event): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnRadio<any>, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnRadio<any>, "brn-radio", ["brnRadio"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "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; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, ["[target],[indicator]", "*"], true, never>;
|
|
58
58
|
}
|