@spartan-ng/brain 0.0.1-alpha.488 → 0.0.1-alpha.490

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/avatar/lib/brn-avatar.component.d.ts +2 -2
  2. package/calendar/lib/brn-calendar-cell-button.directive.d.ts +2 -2
  3. package/calendar/lib/brn-calendar-grid.directive.d.ts +1 -1
  4. package/calendar/lib/brn-calendar-next-button.directive.d.ts +1 -1
  5. package/calendar/lib/brn-calendar-previous-button.directive.d.ts +1 -1
  6. package/calendar/lib/brn-calendar-week.directive.d.ts +1 -1
  7. package/calendar/lib/brn-calendar-weekday.directive.d.ts +1 -1
  8. package/calendar/lib/brn-calendar.directive.d.ts +3 -3
  9. package/calendar/lib/mode/brn-calendar-multiple.directive.d.ts +3 -3
  10. package/checkbox/lib/brn-checkbox.component.d.ts +3 -3
  11. package/collapsible/lib/brn-collapsible-content.component.d.ts +3 -3
  12. package/collapsible/lib/brn-collapsible-trigger.directive.d.ts +1 -1
  13. package/command/lib/brn-command-group.directive.d.ts +1 -1
  14. package/command/lib/brn-command-item.directive.d.ts +1 -1
  15. package/dialog/lib/brn-dialog-description.directive.d.ts +1 -1
  16. package/dialog/lib/brn-dialog-title.directive.d.ts +1 -1
  17. package/dialog/lib/brn-dialog.component.d.ts +1 -1
  18. package/fesm2022/spartan-ng-brain-avatar.mjs +4 -4
  19. package/fesm2022/spartan-ng-brain-avatar.mjs.map +1 -1
  20. package/fesm2022/spartan-ng-brain-calendar.mjs +80 -80
  21. package/fesm2022/spartan-ng-brain-calendar.mjs.map +1 -1
  22. package/fesm2022/spartan-ng-brain-checkbox.mjs +30 -30
  23. package/fesm2022/spartan-ng-brain-checkbox.mjs.map +1 -1
  24. package/fesm2022/spartan-ng-brain-collapsible.mjs +22 -22
  25. package/fesm2022/spartan-ng-brain-collapsible.mjs.map +1 -1
  26. package/fesm2022/spartan-ng-brain-command.mjs +10 -9
  27. package/fesm2022/spartan-ng-brain-command.mjs.map +1 -1
  28. package/fesm2022/spartan-ng-brain-dialog.mjs.map +1 -1
  29. package/fesm2022/spartan-ng-brain-hover-card.mjs.map +1 -1
  30. package/fesm2022/spartan-ng-brain-input-otp.mjs +18 -18
  31. package/fesm2022/spartan-ng-brain-input-otp.mjs.map +1 -1
  32. package/fesm2022/spartan-ng-brain-menu.mjs.map +1 -1
  33. package/fesm2022/spartan-ng-brain-progress.mjs +8 -8
  34. package/fesm2022/spartan-ng-brain-progress.mjs.map +1 -1
  35. package/fesm2022/spartan-ng-brain-radio-group.mjs +36 -33
  36. package/fesm2022/spartan-ng-brain-radio-group.mjs.map +1 -1
  37. package/fesm2022/spartan-ng-brain-select.mjs +44 -43
  38. package/fesm2022/spartan-ng-brain-select.mjs.map +1 -1
  39. package/fesm2022/spartan-ng-brain-separator.mjs +5 -5
  40. package/fesm2022/spartan-ng-brain-separator.mjs.map +1 -1
  41. package/fesm2022/spartan-ng-brain-sheet.mjs.map +1 -1
  42. package/fesm2022/spartan-ng-brain-slider.mjs +34 -35
  43. package/fesm2022/spartan-ng-brain-slider.mjs.map +1 -1
  44. package/fesm2022/spartan-ng-brain-switch.mjs +28 -28
  45. package/fesm2022/spartan-ng-brain-switch.mjs.map +1 -1
  46. package/fesm2022/spartan-ng-brain-tabs.mjs +51 -50
  47. package/fesm2022/spartan-ng-brain-tabs.mjs.map +1 -1
  48. package/fesm2022/spartan-ng-brain-toggle-group.mjs +13 -13
  49. package/fesm2022/spartan-ng-brain-toggle-group.mjs.map +1 -1
  50. package/fesm2022/spartan-ng-brain-toggle.mjs +4 -4
  51. package/fesm2022/spartan-ng-brain-toggle.mjs.map +1 -1
  52. package/fesm2022/spartan-ng-brain-tooltip.mjs +31 -31
  53. package/fesm2022/spartan-ng-brain-tooltip.mjs.map +1 -1
  54. package/hover-card/lib/brn-hover-card-content.service.d.ts +5 -5
  55. package/input-otp/lib/brn-input-otp-slot.component.d.ts +2 -2
  56. package/input-otp/lib/brn-input-otp.component.d.ts +2 -2
  57. package/menu/lib/brn-context-menu-trigger.directive.d.ts +2 -2
  58. package/package.json +1 -1
  59. package/progress/lib/brn-progress-indicator.component.d.ts +1 -1
  60. package/progress/lib/brn-progress.component.d.ts +2 -2
  61. package/radio-group/lib/brn-radio-group.directive.d.ts +1 -1
  62. package/radio-group/lib/brn-radio.component.d.ts +6 -6
  63. package/select/lib/brn-select-content.component.d.ts +6 -6
  64. package/select/lib/brn-select-value.component.d.ts +4 -4
  65. package/select/lib/brn-select.component.d.ts +4 -4
  66. package/separator/lib/brn-separator.component.d.ts +2 -2
  67. package/sheet/lib/brn-sheet-trigger.directive.d.ts +1 -1
  68. package/slider/lib/brn-slider-range.directive.d.ts +1 -1
  69. package/slider/lib/brn-slider-thumb.directive.d.ts +2 -2
  70. package/slider/lib/brn-slider-track.directive.d.ts +1 -1
  71. package/slider/lib/brn-slider.directive.d.ts +3 -3
  72. package/switch/lib/brn-switch.component.d.ts +6 -5
  73. package/tabs/lib/brn-tabs-content.directive.d.ts +2 -2
  74. package/tabs/lib/brn-tabs-paginated-list.directive.d.ts +12 -12
  75. package/tabs/lib/brn-tabs-trigger.directive.d.ts +2 -2
  76. package/tabs/lib/brn-tabs.directive.d.ts +2 -2
  77. package/toggle/lib/brn-toggle.directive.d.ts +1 -1
  78. package/toggle-group/lib/brn-toggle-item.directive.d.ts +2 -2
  79. package/tooltip/lib/brn-tooltip-content.component.d.ts +5 -5
  80. package/tooltip/lib/brn-tooltip-trigger.directive.d.ts +5 -5
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/cdk/menu";
5
5
  export declare class BrnContextMenuTriggerDirective {
6
6
  private readonly _cdkTrigger;
7
- brnCtxMenuTriggerFor: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
8
- brnCtxMenuTriggerData: import("@angular/core").InputSignal<unknown>;
7
+ readonly brnCtxMenuTriggerFor: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
8
+ readonly brnCtxMenuTriggerData: import("@angular/core").InputSignal<unknown>;
9
9
  readonly align: import("@angular/core").InputSignal<BrnMenuAlign>;
10
10
  constructor();
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnContextMenuTriggerDirective, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spartan-ng/brain",
3
- "version": "0.0.1-alpha.488",
3
+ "version": "0.0.1-alpha.490",
4
4
  "sideEffects": false,
5
5
  "exports": {
6
6
  "./hlm-tailwind-preset": {
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BrnProgressIndicatorComponent {
3
- protected readonly progress: import("@spartan-ng/brain/progress").BrnProgressComponent;
3
+ protected readonly _progress: import("@spartan-ng/brain/progress").BrnProgressComponent;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnProgressIndicatorComponent, never>;
5
5
  static ɵcmp: i0.ɵɵComponentDeclaration<BrnProgressIndicatorComponent, "brn-progress-indicator", never, {}, {}, never, never, true, never>;
6
6
  }
@@ -5,8 +5,8 @@ export declare class BrnProgressComponent 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>;
8
- protected readonly label: import("@angular/core").Signal<string | undefined>;
9
- protected readonly state: import("@angular/core").Signal<"indeterminate" | "complete" | "loading">;
8
+ protected readonly _label: import("@angular/core").Signal<string | undefined>;
9
+ readonly state: import("@angular/core").Signal<"indeterminate" | "complete" | "loading">;
10
10
  ngOnChanges(changes: SimpleChanges): void;
11
11
  private validate;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnProgressComponent, never>;
@@ -20,7 +20,7 @@ export declare class BrnRadioGroupDirective<T = unknown> implements ControlValue
20
20
  /**
21
21
  * Whether the radio group is disabled.
22
22
  */
23
- disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
23
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
24
24
  /**
25
25
  * Whether the radio group should be required.
26
26
  */
@@ -10,7 +10,7 @@ export declare class BrnRadioComponent<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").BrnRadioGroupDirective<T>;
13
+ protected readonly _radioGroup: import("@spartan-ng/brain/radio-group").BrnRadioGroupDirective<T>;
14
14
  /**
15
15
  * Whether the radio button is disabled.
16
16
  */
@@ -18,12 +18,12 @@ export declare class BrnRadioComponent<T = unknown> implements OnDestroy {
18
18
  /**
19
19
  * Whether the radio button is disabled or the radio group is disabled.
20
20
  */
21
- protected readonly disabledState: import("@angular/core").Signal<boolean>;
21
+ protected readonly _disabledState: import("@angular/core").Signal<boolean>;
22
22
  /**
23
23
  * Whether the radio button is checked.
24
24
  */
25
- protected readonly checked: import("@angular/core").Signal<boolean>;
26
- protected readonly tabIndex: import("@angular/core").Signal<0 | -1>;
25
+ protected readonly _checked: import("@angular/core").Signal<boolean>;
26
+ protected readonly _tabIndex: import("@angular/core").Signal<0 | -1>;
27
27
  /**
28
28
  * The unique ID for the radio button input. If none is supplied, it will be auto-generated.
29
29
  */
@@ -43,8 +43,8 @@ export declare class BrnRadioComponent<T = unknown> implements OnDestroy {
43
43
  * Event emitted when the checked state of this radio button changes.
44
44
  */
45
45
  readonly change: import("@angular/core").OutputEmitterRef<BrnRadioChange<T>>;
46
- protected readonly hostId: import("@angular/core").Signal<string | undefined>;
47
- protected readonly inputElement: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
46
+ protected readonly _hostId: import("@angular/core").Signal<string>;
47
+ protected readonly _inputElement: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
48
48
  constructor();
49
49
  ngOnDestroy(): void;
50
50
  /** Dispatch change event with current value. */
@@ -26,11 +26,11 @@ export declare class BrnSelectContentComponent<T> implements AfterContentInit {
26
26
  private readonly _elementRef;
27
27
  private readonly _injector;
28
28
  protected readonly _select: import("@spartan-ng/brain/select").BrnSelectComponent<T>;
29
- protected readonly canScrollUp: import("@angular/core").WritableSignal<boolean>;
30
- protected readonly canScrollDown: import("@angular/core").WritableSignal<boolean>;
31
- protected readonly viewport: import("@angular/core").Signal<ElementRef<HTMLElement>>;
32
- protected readonly scrollUpBtn: import("@angular/core").Signal<BrnSelectScrollUpDirective | undefined>;
33
- protected readonly scrollDownBtn: import("@angular/core").Signal<BrnSelectScrollDownDirective | undefined>;
29
+ protected readonly _canScrollUp: import("@angular/core").WritableSignal<boolean>;
30
+ protected readonly _canScrollDown: import("@angular/core").WritableSignal<boolean>;
31
+ protected readonly _viewport: import("@angular/core").Signal<ElementRef<HTMLElement>>;
32
+ protected readonly _scrollUpBtn: import("@angular/core").Signal<BrnSelectScrollUpDirective | undefined>;
33
+ protected readonly _scrollDownBtn: import("@angular/core").Signal<BrnSelectScrollDownDirective | undefined>;
34
34
  private readonly _options;
35
35
  /** @internal */
36
36
  keyManager: ActiveDescendantKeyManager<BrnSelectOptionDirective<T>> | null;
@@ -44,5 +44,5 @@ export declare class BrnSelectContentComponent<T> implements AfterContentInit {
44
44
  setActiveOption(option: BrnSelectOptionDirective<T>): void;
45
45
  protected selectActiveItem(event: KeyboardEvent): void;
46
46
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectContentComponent<any>, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelectContentComponent<any>, "brn-select-content, hlm-select-content:not(noHlm)", never, {}, {}, ["scrollUpBtn", "scrollDownBtn", "_options"], ["hlm-select-scroll-up", "brnSelectScrollUp", "*", "brnSelectScrollDown", "hlm-select-scroll-down"], true, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelectContentComponent<any>, "brn-select-content, hlm-select-content:not(noHlm)", never, {}, {}, ["_scrollUpBtn", "_scrollDownBtn", "_options"], ["hlm-select-scroll-up", "brnSelectScrollUp", "*", "brnSelectScrollDown", "hlm-select-scroll-down"], true, never>;
48
48
  }
@@ -7,12 +7,12 @@ export declare class BrnSelectValueComponent<T> {
7
7
  readonly placeholder: import("@angular/core").Signal<string>;
8
8
  protected readonly _showPlaceholder: import("@angular/core").Signal<boolean>;
9
9
  /** Allow a custom value template */
10
- protected readonly customValueTemplate: import("@angular/core").Signal<BrnSelectValueDirective<any> | undefined>;
11
- protected readonly customPlaceholderTemplate: import("@angular/core").Signal<BrnSelectPlaceholderDirective | undefined>;
12
- protected readonly value: import("@angular/core").Signal<any>;
10
+ protected readonly _customValueTemplate: import("@angular/core").Signal<BrnSelectValueDirective<any> | undefined>;
11
+ protected readonly _customPlaceholderTemplate: import("@angular/core").Signal<BrnSelectPlaceholderDirective | undefined>;
12
+ protected readonly _value: import("@angular/core").Signal<any>;
13
13
  /** Normalize the values as an array */
14
14
  protected readonly _values: import("@angular/core").Signal<T[]>;
15
15
  readonly transformFn: import("@angular/core").InputSignal<(values: (string | undefined)[]) => any>;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectValueComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelectValueComponent<any>, "brn-select-value, hlm-select-value", never, { "transformFn": { "alias": "transformFn"; "required": false; "isSignal": true; }; }, {}, ["customValueTemplate", "customPlaceholderTemplate"], never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelectValueComponent<any>, "brn-select-value, hlm-select-value", never, { "transformFn": { "alias": "transformFn"; "required": false; "isSignal": true; }; }, {}, ["_customValueTemplate", "_customPlaceholderTemplate"], never, true, never>;
18
18
  }
@@ -27,11 +27,11 @@ export declare class BrnSelectComponent<T = unknown> implements ControlValueAcce
27
27
  readonly open: import("@angular/core").ModelSignal<boolean>;
28
28
  readonly value: import("@angular/core").ModelSignal<T | T[] | undefined>;
29
29
  readonly compareWith: import("@angular/core").InputSignal<(o1: T, o2: T) => boolean>;
30
- readonly _formDisabled: import("@angular/core").WritableSignal<boolean>;
30
+ readonly formDisabled: import("@angular/core").WritableSignal<boolean>;
31
31
  /** Label provided by the consumer. */
32
- protected readonly selectLabel: Signal<BrnLabelDirective | undefined>;
32
+ protected readonly _selectLabel: Signal<BrnLabelDirective | undefined>;
33
33
  /** Overlay pane containing the options. */
34
- protected readonly selectContent: Signal<BrnSelectContentComponent<any>>;
34
+ protected readonly _selectContent: Signal<BrnSelectContentComponent<any>>;
35
35
  /** @internal */
36
36
  readonly options: Signal<readonly BrnSelectOptionDirective<any>[]>;
37
37
  /** @internal Derive the selected options to filter out the unselected options */
@@ -64,5 +64,5 @@ export declare class BrnSelectComponent<T = unknown> implements ControlValueAcce
64
64
  toggleSelect(value: T): void;
65
65
  isSelected(value: T): boolean;
66
66
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectComponent<any>, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelectComponent<any>, "brn-select, hlm-select", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "closeDelay": { "alias": "closeDelay"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "value": "valueChange"; }, ["selectLabel", "selectContent", "options"], ["label[hlmLabel],label[brnLabel]", "hlm-select-trigger,[brnSelectTrigger]", "*"], true, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelectComponent<any>, "brn-select, hlm-select", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "closeDelay": { "alias": "closeDelay"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "value": "valueChange"; }, ["_selectLabel", "_selectContent", "options"], ["label[hlmLabel],label[brnLabel]", "hlm-select-trigger,[brnSelectTrigger]", "*"], true, never>;
68
68
  }
@@ -4,8 +4,8 @@ export type BrnSeparatorOrientation = 'horizontal' | 'vertical';
4
4
  export declare class BrnSeparatorComponent {
5
5
  readonly orientation: import("@angular/core").InputSignal<BrnSeparatorOrientation>;
6
6
  readonly decorative: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
7
- protected readonly role: import("@angular/core").Signal<"none" | "separator">;
8
- protected readonly ariaOrientation: import("@angular/core").Signal<"vertical" | undefined>;
7
+ protected readonly _role: import("@angular/core").Signal<"none" | "separator">;
8
+ protected readonly _ariaOrientation: import("@angular/core").Signal<"vertical" | undefined>;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnSeparatorComponent, never>;
10
10
  static ɵcmp: i0.ɵɵComponentDeclaration<BrnSeparatorComponent, "brn-separator", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
11
11
  }
@@ -2,7 +2,7 @@ import { BrnDialogTriggerDirective } from '@spartan-ng/brain/dialog';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BrnSheetTriggerDirective extends BrnDialogTriggerDirective {
4
4
  private readonly _sheet;
5
- side: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right" | undefined>;
5
+ readonly side: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right" | undefined>;
6
6
  open(): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheetTriggerDirective, never>;
8
8
  static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSheetTriggerDirective, "button[brnSheetTrigger]", never, { "side": { "alias": "side"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BrnSliderRangeDirective {
3
3
  /** Access the slider */
4
- protected readonly slider: import("@spartan-ng/brain/slider").BrnSliderDirective;
4
+ protected readonly _slider: import("@spartan-ng/brain/slider").BrnSliderDirective;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnSliderRangeDirective, never>;
6
6
  static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSliderRangeDirective, "[brnSliderRange]", never, {}, {}, never, never, true, never>;
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BrnSliderThumbDirective {
3
- protected readonly slider: import("@spartan-ng/brain/slider").BrnSliderDirective;
3
+ protected readonly _slider: import("@spartan-ng/brain/slider").BrnSliderDirective;
4
4
  private readonly _document;
5
5
  private readonly _elementRef;
6
6
  private readonly _platform;
@@ -9,7 +9,7 @@ export declare class BrnSliderThumbDirective {
9
9
  * within the bounds of the slider when reaching the edges.
10
10
  * Based on https://github.com/radix-ui/primitives/blob/main/packages/react/slider/src/slider.tsx
11
11
  */
12
- protected readonly thumbOffset: import("@angular/core").Signal<string>;
12
+ protected readonly _thumbOffset: import("@angular/core").Signal<string>;
13
13
  constructor();
14
14
  /** @internal */
15
15
  private dragThumb;
@@ -2,7 +2,7 @@ import { ElementRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BrnSliderTrackDirective {
4
4
  /** Access the slider */
5
- protected readonly slider: import("@spartan-ng/brain/slider").BrnSliderDirective;
5
+ protected readonly _slider: import("@spartan-ng/brain/slider").BrnSliderDirective;
6
6
  /** @internal Access the slider track */
7
7
  readonly elementRef: ElementRef<HTMLElement>;
8
8
  constructor();
@@ -11,13 +11,13 @@ export declare class BrnSliderDirective implements ControlValueAccessor, OnInit
11
11
  readonly min: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
12
12
  readonly max: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
13
13
  readonly step: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
14
- readonly _disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
14
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
15
15
  /** Whether we should show tick marks */
16
16
  readonly showTicks: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
17
17
  /** @internal */
18
18
  readonly ticks: import("@angular/core").Signal<any[]>;
19
19
  /** @internal */
20
- readonly disabled: import("@angular/core").WritableSignal<boolean>;
20
+ readonly mutableDisabled: import("@angular/core").WritableSignal<boolean>;
21
21
  /** @internal */
22
22
  readonly percentage: import("@angular/core").Signal<number>;
23
23
  /** @internal Store the on change callback */
@@ -33,5 +33,5 @@ export declare class BrnSliderDirective implements ControlValueAccessor, OnInit
33
33
  writeValue(value: number): void;
34
34
  setValue(value: number): void;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnSliderDirective, never>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSliderDirective, "[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>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSliderDirective, "[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,13 +1,14 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { type AfterContentInit, ElementRef, type OnDestroy } from '@angular/core';
3
+ import { ControlValueAccessor } from '@angular/forms';
3
4
  import { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare const BRN_SWITCH_VALUE_ACCESSOR: {
6
- provide: import("@angular/core").InjectionToken<readonly import("@angular/forms").ControlValueAccessor[]>;
7
+ provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
7
8
  useExisting: import("@angular/core").Type<any>;
8
9
  multi: boolean;
9
10
  };
10
- export declare class BrnSwitchComponent implements AfterContentInit, OnDestroy {
11
+ export declare class BrnSwitchComponent implements AfterContentInit, OnDestroy, ControlValueAccessor {
11
12
  private readonly _destroyRef;
12
13
  private readonly _renderer;
13
14
  private readonly _isBrowser;
@@ -15,8 +16,8 @@ export declare class BrnSwitchComponent implements AfterContentInit, OnDestroy {
15
16
  private readonly _focusMonitor;
16
17
  private readonly _cdr;
17
18
  private readonly _document;
18
- protected readonly focusVisible: import("@angular/core").WritableSignal<boolean>;
19
- protected readonly focused: import("@angular/core").WritableSignal<boolean>;
19
+ protected readonly _focusVisible: import("@angular/core").WritableSignal<boolean>;
20
+ protected readonly _focused: import("@angular/core").WritableSignal<boolean>;
20
21
  /**
21
22
  * Whether switch is checked/toggled on.
22
23
  * Can be bound with [(checked)] for two-way binding.
@@ -79,7 +80,7 @@ export declare class BrnSwitchComponent implements AfterContentInit, OnDestroy {
79
80
  protected _onChange: ChangeFn<boolean>;
80
81
  private _onTouched;
81
82
  readonly switch: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
82
- protected readonly state: import("@angular/core").Signal<{
83
+ protected readonly _state: import("@angular/core").Signal<{
83
84
  disabled: import("@angular/core").WritableSignal<boolean>;
84
85
  name: string | null;
85
86
  id: string | null;
@@ -5,8 +5,8 @@ export declare class BrnTabsContentDirective implements OnDestroy {
5
5
  private readonly _elementRef;
6
6
  readonly contentFor: import("@angular/core").InputSignal<string>;
7
7
  protected readonly _isSelected: import("@angular/core").Signal<boolean>;
8
- protected contentId: import("@angular/core").Signal<string>;
9
- protected labelId: import("@angular/core").Signal<string>;
8
+ protected readonly _contentId: import("@angular/core").Signal<string>;
9
+ protected readonly _labelId: import("@angular/core").Signal<string>;
10
10
  constructor();
11
11
  focus(): void;
12
12
  ngOnDestroy(): void;
@@ -30,13 +30,13 @@ export type BrnPaginatedTabHeaderItem = FocusableOption & {
30
30
  * @docs-private
31
31
  */
32
32
  export declare abstract class BrnTabsPaginatedListDirective implements AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy {
33
- abstract _items: Signal<ReadonlyArray<BrnPaginatedTabHeaderItem>>;
34
- abstract _itemsChanges: Observable<ReadonlyArray<BrnPaginatedTabHeaderItem>>;
35
- abstract _tabListContainer: Signal<ElementRef<HTMLElement>>;
36
- abstract _tabList: Signal<ElementRef<HTMLElement>>;
37
- abstract _tabListInner: Signal<ElementRef<HTMLElement>>;
38
- abstract _nextPaginator: Signal<ElementRef<HTMLElement>>;
39
- abstract _previousPaginator: Signal<ElementRef<HTMLElement>>;
33
+ abstract items: Signal<ReadonlyArray<BrnPaginatedTabHeaderItem>>;
34
+ abstract itemsChanges: Observable<ReadonlyArray<BrnPaginatedTabHeaderItem>>;
35
+ abstract tabListContainer: Signal<ElementRef<HTMLElement>>;
36
+ abstract tabList: Signal<ElementRef<HTMLElement>>;
37
+ abstract tabListInner: Signal<ElementRef<HTMLElement>>;
38
+ abstract nextPaginator: Signal<ElementRef<HTMLElement>>;
39
+ abstract previousPaginator: Signal<ElementRef<HTMLElement>>;
40
40
  /** The distance in pixels that the tab labels should be translated to the left. */
41
41
  private _scrollDistance;
42
42
  /** Whether the header should scroll to the selected index after the view has been checked. */
@@ -47,11 +47,11 @@ export declare abstract class BrnTabsPaginatedListDirective implements AfterCont
47
47
  /** Emits when the component is destroyed. */
48
48
  protected readonly _destroyed: Subject<void>;
49
49
  /** Whether the controls for pagination should be displayed */
50
- _showPaginationControls: import("@angular/core").WritableSignal<boolean>;
50
+ showPaginationControls: import("@angular/core").WritableSignal<boolean>;
51
51
  /** Whether the tab list can be scrolled more towards the end of the tab label list. */
52
- _disableScrollAfter: boolean;
52
+ disableScrollAfter: boolean;
53
53
  /** Whether the tab list can be scrolled more towards the beginning of the tab label list. */
54
- _disableScrollBefore: boolean;
54
+ disableScrollBefore: boolean;
55
55
  /**
56
56
  * The number of tab labels that are displayed on the header. When this changes, the header
57
57
  * should re-evaluate the scroll position.
@@ -69,7 +69,7 @@ export declare abstract class BrnTabsPaginatedListDirective implements AfterCont
69
69
  * Whether pagination should be disabled. This can be used to avoid unnecessary
70
70
  * layout recalculations if it's known that pagination won't be required.
71
71
  */
72
- disablePagination: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
72
+ readonly disablePagination: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
73
73
  /** The index of the active tab. */
74
74
  private readonly _selectedIndex;
75
75
  /** Event emitted when the option is selected. */
@@ -84,7 +84,7 @@ export declare abstract class BrnTabsPaginatedListDirective implements AfterCont
84
84
  private readonly _dir;
85
85
  private readonly _ngZone;
86
86
  private readonly _platform;
87
- _animationMode: "NoopAnimations" | "BrowserAnimations" | null;
87
+ readonly animationMode: "NoopAnimations" | "BrowserAnimations" | null;
88
88
  constructor();
89
89
  /** Called when the user has selected an item via the keyboard. */
90
90
  protected abstract _itemSelected(event: KeyboardEvent): void;
@@ -7,8 +7,8 @@ export declare class BrnTabsTriggerDirective implements OnDestroy {
7
7
  protected readonly _orientation: import("@angular/core").InputSignal<import("./brn-tabs.directive").BrnTabsOrientation>;
8
8
  readonly triggerFor: import("@angular/core").InputSignal<string>;
9
9
  readonly selected: import("@angular/core").Signal<boolean>;
10
- protected readonly contentId: import("@angular/core").Signal<string>;
11
- protected readonly labelId: import("@angular/core").Signal<string>;
10
+ protected readonly _contentId: import("@angular/core").Signal<string>;
11
+ protected readonly _labelId: import("@angular/core").Signal<string>;
12
12
  readonly _disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
13
13
  get disabled(): boolean | undefined;
14
14
  constructor();
@@ -15,7 +15,7 @@ export declare class BrnTabsDirective {
15
15
  readonly direction: import("@angular/core").InputSignal<BrnTabsDirection>;
16
16
  /** internal **/
17
17
  $direction: import("@angular/core").InputSignal<BrnTabsDirection>;
18
- readonly _activeTab: import("@angular/core").ModelSignal<string | undefined>;
18
+ readonly activeTab: import("@angular/core").ModelSignal<string | undefined>;
19
19
  /** internal **/
20
20
  $activeTab: import("@angular/core").Signal<string | undefined>;
21
21
  readonly activationMode: import("@angular/core").InputSignal<BrnActivationMode>;
@@ -34,5 +34,5 @@ export declare class BrnTabsDirective {
34
34
  emitTabActivated(key: string): void;
35
35
  setActiveTab(key: string): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnTabsDirective, never>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTabsDirective, "[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>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTabsDirective, "[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
  }
@@ -14,7 +14,7 @@ export declare class BrnToggleDirective<T> {
14
14
  /** Whether the toggle is responds to click events. */
15
15
  readonly disableToggleClick: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
16
16
  /** Whether the toggle is in the on state. */
17
- protected readonly isOn: import("@angular/core").Signal<boolean>;
17
+ protected readonly _isOn: import("@angular/core").Signal<boolean>;
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;
@@ -4,7 +4,7 @@ export declare class BrnToggleGroupItemDirective<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").BrnToggleGroupComponent<T> | null;
7
+ protected readonly _group: import("@spartan-ng/brain/toggle-group").BrnToggleGroupComponent<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. */
@@ -16,7 +16,7 @@ export declare class BrnToggleGroupItemDirective<T> {
16
16
  /** Whether the toggle is responds to click events. */
17
17
  readonly disableToggleClick: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
18
18
  /** Whether the toggle is in the on state. */
19
- protected readonly isOn: import("@angular/core").Signal<boolean>;
19
+ protected readonly _isOn: import("@angular/core").Signal<boolean>;
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;
@@ -9,7 +9,7 @@ export declare class BrnTooltipContentComponent implements OnDestroy {
9
9
  private readonly _isBrowser;
10
10
  private readonly _renderer2;
11
11
  protected readonly _contentHovered: import("@angular/core").WritableSignal<boolean>;
12
- readonly _tooltipClasses: import("@angular/core").WritableSignal<string>;
12
+ readonly tooltipClasses: import("@angular/core").WritableSignal<string>;
13
13
  readonly side: import("@angular/core").WritableSignal<string>;
14
14
  /** Message to display in the tooltip */
15
15
  content: string | TemplateRef<unknown> | null;
@@ -20,13 +20,13 @@ export declare class BrnTooltipContentComponent implements OnDestroy {
20
20
  /** The timeout ID of any current timer set to animate the tooltip */
21
21
  private _animateTimeoutId;
22
22
  /** Element that caused the tooltip to open. */
23
- _triggerElement?: HTMLElement;
23
+ triggerElement?: HTMLElement;
24
24
  /** Amount of milliseconds to delay the closing sequence. */
25
- _mouseLeaveHideDelay: number;
25
+ mouseLeaveHideDelay: number;
26
26
  /** Amount of milliseconds of closing animation. */
27
- _exitAnimationDuration: number;
27
+ exitAnimationDuration: number;
28
28
  /** Reference to the internal tooltip element. */
29
- _tooltip: import("@angular/core").Signal<ElementRef<any> | undefined>;
29
+ readonly tooltip: import("@angular/core").Signal<ElementRef<any> | undefined>;
30
30
  /** Whether interactions on the page should close the tooltip */
31
31
  private _closeOnInteraction;
32
32
  /** Whether the tooltip is currently visible. */
@@ -51,8 +51,8 @@ export declare class BrnTooltipTriggerDirective implements OnDestroy, AfterViewI
51
51
  /** The default duration in ms that exit animation takes before hiding */
52
52
  readonly exitAnimationDuration: import("@angular/core").InputSignalWithTransform<number, unknown>;
53
53
  /** The default delay in ms before hiding the tooltip after hide is called */
54
- readonly _tooltipContentClasses: import("@angular/core").InputSignal<string>;
55
- readonly tooltipContentClasses: import("@angular/core").Signal<import("@angular/core").WritableSignal<string>>;
54
+ readonly tooltipContentClasses: import("@angular/core").InputSignal<string>;
55
+ readonly computedTooltipContentClasses: import("@angular/core").Signal<import("@angular/core").WritableSignal<string>>;
56
56
  /**
57
57
  * How touch gestures should be handled by the tooltip. On touch devices the tooltip directive
58
58
  * uses a long press gesture to show and hide, however it can conflict with the native browser
@@ -69,8 +69,8 @@ export declare class BrnTooltipTriggerDirective implements OnDestroy, AfterViewI
69
69
  */
70
70
  readonly touchGestures: import("@angular/core").InputSignal<TooltipTouchGestures>;
71
71
  /** The message to be used to describe the aria in the tooltip */
72
- readonly _ariaDescribedBy: import("@angular/core").InputSignal<string>;
73
- readonly ariaDescribedBy: import("@angular/core").Signal<import("@angular/core").WritableSignal<string>>;
72
+ readonly ariaDescribedBy: import("@angular/core").InputSignal<string>;
73
+ readonly computedAriaDescribedBy: import("@angular/core").Signal<import("@angular/core").WritableSignal<string>>;
74
74
  readonly ariaDescribedByPrevious: import("@angular/core").Signal<import("@angular/core").WritableSignal<string>>;
75
75
  /** The content to be displayed in the tooltip */
76
76
  readonly brnTooltipTrigger: import("@angular/core").InputSignal<string | TemplateRef<unknown> | null>;
@@ -137,5 +137,5 @@ export declare class BrnTooltipTriggerDirective implements OnDestroy, AfterViewI
137
137
  /** Disables the native browser gestures, based on how the tooltip has been configured. */
138
138
  private _disableNativeGesturesIfNecessary;
139
139
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnTooltipTriggerDirective, never>;
140
- static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTooltipTriggerDirective, "[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>;
140
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTooltipTriggerDirective, "[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
  }