@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
package/select/index.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { BrnSelect } from './lib/brn-select';
|
|
2
|
+
import { BrnSelectContent, BrnSelectScrollDown, BrnSelectScrollUp } from './lib/brn-select-content';
|
|
3
|
+
import { BrnSelectGroup } from './lib/brn-select-group';
|
|
4
|
+
import { BrnSelectLabel } from './lib/brn-select-label';
|
|
5
|
+
import { BrnSelectOption } from './lib/brn-select-option';
|
|
6
|
+
import { BrnSelectPlaceholder } from './lib/brn-select-placeholder';
|
|
7
|
+
import { BrnSelectTrigger } from './lib/brn-select-trigger';
|
|
8
|
+
import { BrnSelectValue } from './lib/brn-select-value';
|
|
9
|
+
import { BrnSelectValueTemplate } from './lib/brn-select-value-template';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "./lib/brn-select
|
|
12
|
-
import * as i2 from "./lib/brn-select-content
|
|
13
|
-
import * as i3 from "./lib/brn-select-trigger
|
|
14
|
-
import * as i4 from "./lib/brn-select-option
|
|
15
|
-
import * as i5 from "./lib/brn-select-value
|
|
16
|
-
import * as i6 from "./lib/brn-select-group
|
|
17
|
-
import * as i7 from "./lib/brn-select-label
|
|
18
|
-
import * as i8 from "./lib/brn-select-value
|
|
19
|
-
import * as i9 from "./lib/brn-select-placeholder
|
|
20
|
-
export * from './lib/brn-select
|
|
21
|
-
export * from './lib/brn-select-
|
|
22
|
-
export * from './lib/brn-select-
|
|
23
|
-
export * from './lib/brn-select-
|
|
24
|
-
export * from './lib/brn-select-
|
|
25
|
-
export * from './lib/brn-select-
|
|
26
|
-
export * from './lib/brn-select-
|
|
27
|
-
export * from './lib/brn-select-value
|
|
28
|
-
export * from './lib/brn-select
|
|
29
|
-
export declare const BrnSelectImports: readonly [typeof
|
|
11
|
+
import * as i1 from "./lib/brn-select";
|
|
12
|
+
import * as i2 from "./lib/brn-select-content";
|
|
13
|
+
import * as i3 from "./lib/brn-select-trigger";
|
|
14
|
+
import * as i4 from "./lib/brn-select-option";
|
|
15
|
+
import * as i5 from "./lib/brn-select-value";
|
|
16
|
+
import * as i6 from "./lib/brn-select-group";
|
|
17
|
+
import * as i7 from "./lib/brn-select-label";
|
|
18
|
+
import * as i8 from "./lib/brn-select-value-template";
|
|
19
|
+
import * as i9 from "./lib/brn-select-placeholder";
|
|
20
|
+
export * from './lib/brn-select';
|
|
21
|
+
export * from './lib/brn-select-content';
|
|
22
|
+
export * from './lib/brn-select-group';
|
|
23
|
+
export * from './lib/brn-select-label';
|
|
24
|
+
export * from './lib/brn-select-option';
|
|
25
|
+
export * from './lib/brn-select-placeholder';
|
|
26
|
+
export * from './lib/brn-select-trigger';
|
|
27
|
+
export * from './lib/brn-select-value';
|
|
28
|
+
export * from './lib/brn-select-value-template';
|
|
29
|
+
export declare const BrnSelectImports: readonly [typeof BrnSelect, typeof BrnSelectContent, typeof BrnSelectTrigger, typeof BrnSelectOption, typeof BrnSelectValue, typeof BrnSelectScrollDown, typeof BrnSelectScrollUp, typeof BrnSelectGroup, typeof BrnSelectLabel, typeof BrnSelectValueTemplate, typeof BrnSelectPlaceholder];
|
|
30
30
|
export declare class BrnSelectModule {
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectModule, never>;
|
|
32
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnSelectModule, never, [typeof i1.
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnSelectModule, never, [typeof i1.BrnSelect, typeof i2.BrnSelectContent, typeof i3.BrnSelectTrigger, typeof i4.BrnSelectOption, typeof i5.BrnSelectValue, typeof i2.BrnSelectScrollDown, typeof i2.BrnSelectScrollUp, typeof i6.BrnSelectGroup, typeof i7.BrnSelectLabel, typeof i8.BrnSelectValueTemplate, typeof i9.BrnSelectPlaceholder], [typeof i1.BrnSelect, typeof i2.BrnSelectContent, typeof i3.BrnSelectTrigger, typeof i4.BrnSelectOption, typeof i5.BrnSelectValue, typeof i2.BrnSelectScrollDown, typeof i2.BrnSelectScrollUp, typeof i6.BrnSelectGroup, typeof i7.BrnSelectLabel, typeof i8.BrnSelectValueTemplate, typeof i9.BrnSelectPlaceholder]>;
|
|
33
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnSelectModule>;
|
|
34
34
|
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { AfterContentInit, ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { BrnSelectOption } from './brn-select-option';
|
|
3
3
|
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class BrnSelectScrollUp {
|
|
6
6
|
private readonly _el;
|
|
7
7
|
private readonly _selectContent;
|
|
8
8
|
private readonly _endReached;
|
|
9
9
|
private readonly _destroyRef;
|
|
10
10
|
startEmittingEvents(): void;
|
|
11
11
|
stopEmittingEvents(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectScrollUp, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSelectScrollUp, "[brnSelectScrollUp], brn-select-scroll-up, hlm-select-scroll-up:not(noHlm)", never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class BrnSelectScrollDown {
|
|
16
16
|
private readonly _el;
|
|
17
17
|
private readonly _selectContent;
|
|
18
18
|
private readonly _endReached;
|
|
19
19
|
private readonly _destroyRef;
|
|
20
20
|
startEmittingEvents(): void;
|
|
21
21
|
stopEmittingEvents(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectScrollDown, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSelectScrollDown, "[brnSelectScrollDown], brn-select-scroll-down, hlm-select-scroll-down:not(noHlm)", never, {}, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
25
|
-
export declare class
|
|
25
|
+
export declare class BrnSelectContent<T> implements AfterContentInit {
|
|
26
26
|
private readonly _elementRef;
|
|
27
27
|
private readonly _injector;
|
|
28
|
-
protected readonly _select: import("@spartan-ng/brain/select").
|
|
28
|
+
protected readonly _select: import("@spartan-ng/brain/select").BrnSelect<T>;
|
|
29
29
|
protected readonly _canScrollUp: import("@angular/core").WritableSignal<boolean>;
|
|
30
30
|
protected readonly _canScrollDown: import("@angular/core").WritableSignal<boolean>;
|
|
31
31
|
protected readonly _viewport: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
32
|
-
protected readonly _scrollUpBtn: import("@angular/core").Signal<
|
|
33
|
-
protected readonly _scrollDownBtn: import("@angular/core").Signal<
|
|
32
|
+
protected readonly _scrollUpBtn: import("@angular/core").Signal<BrnSelectScrollUp | undefined>;
|
|
33
|
+
protected readonly _scrollDownBtn: import("@angular/core").Signal<BrnSelectScrollDown | undefined>;
|
|
34
34
|
private readonly _options;
|
|
35
35
|
/** @internal */
|
|
36
|
-
keyManager: ActiveDescendantKeyManager<
|
|
36
|
+
keyManager: ActiveDescendantKeyManager<BrnSelectOption<T>> | null;
|
|
37
37
|
constructor();
|
|
38
38
|
ngAfterContentInit(): void;
|
|
39
39
|
updateArrowDisplay(): void;
|
|
@@ -41,8 +41,8 @@ export declare class BrnSelectContentComponent<T> implements AfterContentInit {
|
|
|
41
41
|
focusList(): void;
|
|
42
42
|
moveFocusUp(): void;
|
|
43
43
|
moveFocusDown(): void;
|
|
44
|
-
setActiveOption(option:
|
|
44
|
+
setActiveOption(option: BrnSelectOption<T>): void;
|
|
45
45
|
protected selectActiveItem(event: KeyboardEvent): void;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectContent<any>, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelectContent<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
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ExistingProvider, Type } from '@angular/core';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function injectBrnSelectContent<T>():
|
|
4
|
-
export declare function provideBrnSelectContent(select: Type<
|
|
2
|
+
import type { BrnSelectContent } from './brn-select-content';
|
|
3
|
+
export declare function injectBrnSelectContent<T>(): BrnSelectContent<T>;
|
|
4
|
+
export declare function provideBrnSelectContent(select: Type<BrnSelectContent<unknown>>): ExistingProvider;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnSelectGroup {
|
|
3
|
+
readonly labelledBy: import("@angular/core").WritableSignal<string>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectGroup, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSelectGroup, "[brnSelectGroup]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@spartan-ng/brain/label";
|
|
3
|
+
export declare class BrnSelectLabel {
|
|
4
|
+
private readonly _group;
|
|
5
|
+
private readonly _label;
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectLabel, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSelectLabel, "[brnSelectLabel]", never, {}, {}, never, never, true, [{ directive: typeof i1.BrnLabel; inputs: {}; outputs: {}; }]>;
|
|
9
|
+
}
|
|
@@ -2,9 +2,9 @@ import type { Highlightable } from '@angular/cdk/a11y';
|
|
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
3
|
import { ElementRef } from '@angular/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
6
|
-
protected readonly _select: import("@spartan-ng/brain/select").
|
|
7
|
-
protected readonly _content: import("@spartan-ng/brain/select").
|
|
5
|
+
export declare class BrnSelectOption<T> implements Highlightable {
|
|
6
|
+
protected readonly _select: import("@spartan-ng/brain/select").BrnSelect<unknown>;
|
|
7
|
+
protected readonly _content: import("@spartan-ng/brain/select").BrnSelectContent<T>;
|
|
8
8
|
readonly elementRef: ElementRef<any>;
|
|
9
9
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
10
10
|
readonly value: import("@angular/core").InputSignal<T | undefined>;
|
|
@@ -20,6 +20,6 @@ export declare class BrnSelectOptionDirective<T> implements Highlightable {
|
|
|
20
20
|
setActiveStyles(): void;
|
|
21
21
|
setInactiveStyles(): void;
|
|
22
22
|
protected activate(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectOption<any>, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSelectOption<any>, "[brnOption]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "_disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
25
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BrnSelectPlaceholder {
|
|
4
4
|
/** @internale */
|
|
5
5
|
readonly templateRef: TemplateRef<void>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectPlaceholder, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSelectPlaceholder, "[brnSelectPlaceholder], [hlmSelectPlaceholder]", never, {}, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type AfterViewInit, OnDestroy, 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 BrnSelectTrigger<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
5
5
|
private readonly _elementRef;
|
|
6
6
|
/** Access the change detector */
|
|
7
7
|
private readonly _changeDetector;
|
|
8
|
-
protected readonly _select: import("@spartan-ng/brain/select").
|
|
8
|
+
protected readonly _select: import("@spartan-ng/brain/select").BrnSelect<T>;
|
|
9
9
|
protected readonly _ngControl: NgControl | null;
|
|
10
10
|
private readonly _platform;
|
|
11
11
|
protected readonly _triggerId: import("@angular/core").Signal<string>;
|
|
@@ -19,6 +19,6 @@ export declare class BrnSelectTriggerDirective<T> implements AfterViewInit, OnDe
|
|
|
19
19
|
ngAfterViewInit(): void;
|
|
20
20
|
ngOnDestroy(): void;
|
|
21
21
|
focus(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectTrigger<any>, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSelectTrigger<any>, "[brnSelectTrigger]", never, {}, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnSelectValueTemplate<T> {
|
|
4
|
+
/** @internal */
|
|
5
|
+
readonly templateRef: TemplateRef<BrnSelectValueContext<T>>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectValueTemplate<any>, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSelectValueTemplate<any>, "[brnSelectValue], [hlmSelectValue]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
export interface BrnSelectValueContext<T> {
|
|
10
|
+
$implicit: T | T[];
|
|
11
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BrnSelectPlaceholder } from './brn-select-placeholder';
|
|
2
|
+
import { BrnSelectValueTemplate } from './brn-select-value-template';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
5
|
-
protected readonly _select: import("@spartan-ng/brain/select").
|
|
4
|
+
export declare class BrnSelectValue<T> {
|
|
5
|
+
protected readonly _select: import("@spartan-ng/brain/select").BrnSelect<T>;
|
|
6
6
|
readonly id: import("@angular/core").Signal<string>;
|
|
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<
|
|
11
|
-
protected readonly _customPlaceholderTemplate: import("@angular/core").Signal<
|
|
10
|
+
protected readonly _customValueTemplate: import("@angular/core").Signal<BrnSelectValueTemplate<any> | undefined>;
|
|
11
|
+
protected readonly _customPlaceholderTemplate: import("@angular/core").Signal<BrnSelectPlaceholder | undefined>;
|
|
12
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
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelectValue<any>, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelectValue<any>, "brn-select-value, hlm-select-value", never, { "transformFn": { "alias": "transformFn"; "required": false; "isSignal": true; }; }, {}, ["_customValueTemplate", "_customPlaceholderTemplate"], never, true, never>;
|
|
18
18
|
}
|
|
@@ -5,14 +5,14 @@ import { type ControlValueAccessor, NgControl } from '@angular/forms';
|
|
|
5
5
|
import { type ExposesSide, type ExposesState } from '@spartan-ng/brain/core';
|
|
6
6
|
import { BrnFormFieldControl } from '@spartan-ng/brain/form-field';
|
|
7
7
|
import { ChangeFn, ErrorStateTracker, TouchFn } from '@spartan-ng/brain/forms';
|
|
8
|
-
import {
|
|
8
|
+
import { BrnLabel } from '@spartan-ng/brain/label';
|
|
9
9
|
import { Subject } from 'rxjs';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import { BrnSelectContent } from './brn-select-content';
|
|
11
|
+
import { BrnSelectOption } from './brn-select-option';
|
|
12
|
+
import { BrnSelectTrigger } from './brn-select-trigger';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export type BrnReadDirection = 'ltr' | 'rtl';
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class BrnSelect<T = unknown> implements ControlValueAccessor, DoCheck, ExposesSide, ExposesState, BrnFormFieldControl {
|
|
16
16
|
private readonly _defaultErrorStateMatcher;
|
|
17
17
|
private readonly _parentForm;
|
|
18
18
|
private readonly _injector;
|
|
@@ -29,16 +29,16 @@ export declare class BrnSelectComponent<T = unknown> implements ControlValueAcce
|
|
|
29
29
|
readonly compareWith: import("@angular/core").InputSignal<(o1: T, o2: T) => boolean>;
|
|
30
30
|
readonly formDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
31
31
|
/** Label provided by the consumer. */
|
|
32
|
-
protected readonly _selectLabel: Signal<
|
|
32
|
+
protected readonly _selectLabel: Signal<BrnLabel | undefined>;
|
|
33
33
|
/** Overlay pane containing the options. */
|
|
34
|
-
protected readonly _selectContent: Signal<
|
|
34
|
+
protected readonly _selectContent: Signal<BrnSelectContent<any>>;
|
|
35
35
|
/** @internal */
|
|
36
|
-
readonly options: Signal<readonly
|
|
36
|
+
readonly options: Signal<readonly BrnSelectOption<any>[]>;
|
|
37
37
|
/** @internal Derive the selected options to filter out the unselected options */
|
|
38
|
-
readonly selectedOptions: Signal<
|
|
38
|
+
readonly selectedOptions: Signal<BrnSelectOption<any>[]>;
|
|
39
39
|
/** Overlay pane containing the options. */
|
|
40
40
|
protected readonly _overlayDir: Signal<CdkConnectedOverlay>;
|
|
41
|
-
readonly trigger: import("@angular/core").WritableSignal<
|
|
41
|
+
readonly trigger: import("@angular/core").WritableSignal<BrnSelectTrigger<T> | null>;
|
|
42
42
|
readonly triggerWidth: import("@angular/core").WritableSignal<number>;
|
|
43
43
|
protected readonly _delayedExpanded: Signal<boolean>;
|
|
44
44
|
readonly state: Signal<"open" | "closed">;
|
|
@@ -63,6 +63,6 @@ export declare class BrnSelectComponent<T = unknown> implements ControlValueAcce
|
|
|
63
63
|
deselectOption(value: T): void;
|
|
64
64
|
toggleSelect(value: T): void;
|
|
65
65
|
isSelected(value: T): boolean;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSelect<any>, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnSelect<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
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ExistingProvider, Type } from '@angular/core';
|
|
2
|
-
import type {
|
|
3
|
-
export declare function injectBrnSelect<T>():
|
|
4
|
-
export declare function provideBrnSelect(select: Type<
|
|
2
|
+
import type { BrnSelect } from './brn-select';
|
|
3
|
+
export declare function injectBrnSelect<T>(): BrnSelect<T>;
|
|
4
|
+
export declare function provideBrnSelect(select: Type<BrnSelect>): ExistingProvider;
|
package/separator/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./lib/brn-separator
|
|
3
|
-
export * from './lib/brn-separator
|
|
2
|
+
import * as i1 from "./lib/brn-separator";
|
|
3
|
+
export * from './lib/brn-separator';
|
|
4
4
|
export declare class BrnSeparatorModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSeparatorModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnSeparatorModule, never, [typeof i1.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnSeparatorModule, never, [typeof i1.BrnSeparator], [typeof i1.BrnSeparator]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnSeparatorModule>;
|
|
8
8
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type BrnSeparatorOrientation = 'horizontal' | 'vertical';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class BrnSeparator {
|
|
5
5
|
readonly orientation: import("@angular/core").InputSignal<BrnSeparatorOrientation>;
|
|
6
6
|
readonly decorative: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
7
7
|
protected readonly _role: import("@angular/core").Signal<"none" | "separator">;
|
|
8
8
|
protected readonly _ariaOrientation: import("@angular/core").Signal<"vertical" | undefined>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSeparator, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnSeparator, "brn-separator", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
package/sheet/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { BrnSheet } from './lib/brn-sheet';
|
|
2
|
+
import { BrnSheetClose } from './lib/brn-sheet-close';
|
|
3
|
+
import { BrnSheetContent } from './lib/brn-sheet-content';
|
|
4
|
+
import { BrnSheetDescription } from './lib/brn-sheet-description';
|
|
5
|
+
import { BrnSheetOverlay } from './lib/brn-sheet-overlay';
|
|
6
|
+
import { BrnSheetTitle } from './lib/brn-sheet-title';
|
|
7
|
+
import { BrnSheetTrigger } from './lib/brn-sheet-trigger';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "./lib/brn-sheet
|
|
10
|
-
import * as i2 from "./lib/brn-sheet-overlay
|
|
11
|
-
import * as i3 from "./lib/brn-sheet-trigger
|
|
12
|
-
import * as i4 from "./lib/brn-sheet-close
|
|
13
|
-
import * as i5 from "./lib/brn-sheet-content
|
|
14
|
-
import * as i6 from "./lib/brn-sheet-title
|
|
15
|
-
import * as i7 from "./lib/brn-sheet-description
|
|
16
|
-
export * from './lib/brn-sheet
|
|
17
|
-
export * from './lib/brn-sheet-
|
|
18
|
-
export * from './lib/brn-sheet-
|
|
19
|
-
export * from './lib/brn-sheet-
|
|
20
|
-
export * from './lib/brn-sheet-
|
|
21
|
-
export * from './lib/brn-sheet-
|
|
22
|
-
export * from './lib/brn-sheet
|
|
23
|
-
export declare const BrnSheetImports: readonly [typeof
|
|
9
|
+
import * as i1 from "./lib/brn-sheet";
|
|
10
|
+
import * as i2 from "./lib/brn-sheet-overlay";
|
|
11
|
+
import * as i3 from "./lib/brn-sheet-trigger";
|
|
12
|
+
import * as i4 from "./lib/brn-sheet-close";
|
|
13
|
+
import * as i5 from "./lib/brn-sheet-content";
|
|
14
|
+
import * as i6 from "./lib/brn-sheet-title";
|
|
15
|
+
import * as i7 from "./lib/brn-sheet-description";
|
|
16
|
+
export * from './lib/brn-sheet';
|
|
17
|
+
export * from './lib/brn-sheet-close';
|
|
18
|
+
export * from './lib/brn-sheet-content';
|
|
19
|
+
export * from './lib/brn-sheet-description';
|
|
20
|
+
export * from './lib/brn-sheet-overlay';
|
|
21
|
+
export * from './lib/brn-sheet-title';
|
|
22
|
+
export * from './lib/brn-sheet-trigger';
|
|
23
|
+
export declare const BrnSheetImports: readonly [typeof BrnSheet, typeof BrnSheetOverlay, typeof BrnSheetTrigger, typeof BrnSheetClose, typeof BrnSheetContent, typeof BrnSheetTitle, typeof BrnSheetDescription];
|
|
24
24
|
export declare class BrnSheetModule {
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheetModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnSheetModule, never, [typeof i1.
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnSheetModule, never, [typeof i1.BrnSheet, typeof i2.BrnSheetOverlay, typeof i3.BrnSheetTrigger, typeof i4.BrnSheetClose, typeof i5.BrnSheetContent, typeof i6.BrnSheetTitle, typeof i7.BrnSheetDescription], [typeof i1.BrnSheet, typeof i2.BrnSheetOverlay, typeof i3.BrnSheetTrigger, typeof i4.BrnSheetClose, typeof i5.BrnSheetContent, typeof i6.BrnSheetTitle, typeof i7.BrnSheetDescription]>;
|
|
27
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<BrnSheetModule>;
|
|
28
28
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogClose } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnSheetClose extends BrnDialogClose {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheetClose, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSheetClose, "button[brnSheetClose]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ExposesSide } from '@spartan-ng/brain/core';
|
|
2
|
+
import { BrnDialogContent } from '@spartan-ng/brain/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BrnSheetContent<T> extends BrnDialogContent<T> implements ExposesSide {
|
|
5
|
+
readonly side: import("@angular/core").Signal<"top" | "bottom" | "left" | "right">;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheetContent<any>, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSheetContent<any>, "[brnSheetContent]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogDescription } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnSheetDescription extends BrnDialogDescription {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheetDescription, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSheetDescription, "[brnSheetDescription]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogOverlay } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnSheetOverlay extends BrnDialogOverlay {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheetOverlay, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnSheetOverlay, "brn-sheet-overlay", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BrnDialogTitle } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnSheetTitle extends BrnDialogTitle {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheetTitle, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSheetTitle, "[brnSheetTitle]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BrnDialogTrigger } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnSheetTrigger extends BrnDialogTrigger {
|
|
4
|
+
private readonly _sheet;
|
|
5
|
+
readonly side: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right" | undefined>;
|
|
6
|
+
open(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheetTrigger, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSheetTrigger, "button[brnSheetTrigger]", never, { "side": { "alias": "side"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BrnDialog } from '@spartan-ng/brain/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnSheet extends BrnDialog {
|
|
4
|
+
readonly sideInput: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right">;
|
|
5
|
+
readonly sideInputState: import("@angular/core").Signal<import("@angular/core").WritableSignal<"top" | "bottom" | "left" | "right">>;
|
|
6
|
+
readonly side: import("@angular/core").Signal<"top" | "bottom" | "left" | "right">;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSheet, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnSheet, "brn-sheet", ["brnSheet"], { "sideInput": { "alias": "side"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
}
|
package/slider/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export * from './lib/brn-slider
|
|
7
|
-
export * from './lib/brn-slider-
|
|
8
|
-
export * from './lib/brn-slider-
|
|
9
|
-
export * from './lib/brn-slider-
|
|
10
|
-
export * from './lib/brn-slider
|
|
1
|
+
import { BrnSlider } from './lib/brn-slider';
|
|
2
|
+
import { BrnSliderRange } from './lib/brn-slider-range';
|
|
3
|
+
import { BrnSliderThumb } from './lib/brn-slider-thumb';
|
|
4
|
+
import { BrnSliderTick } from './lib/brn-slider-tick';
|
|
5
|
+
import { BrnSliderTrack } from './lib/brn-slider-track';
|
|
6
|
+
export * from './lib/brn-slider';
|
|
7
|
+
export * from './lib/brn-slider-range';
|
|
8
|
+
export * from './lib/brn-slider-thumb';
|
|
9
|
+
export * from './lib/brn-slider-tick';
|
|
10
|
+
export * from './lib/brn-slider-track';
|
|
11
11
|
export * from './lib/brn-slider.token';
|
|
12
|
-
export declare const BrnSliderImports: readonly [typeof
|
|
12
|
+
export declare const BrnSliderImports: readonly [typeof BrnSlider, typeof BrnSliderTrack, typeof BrnSliderThumb, typeof BrnSliderRange, typeof BrnSliderTick];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnSliderRange {
|
|
3
|
+
/** Access the slider */
|
|
4
|
+
protected readonly _slider: import("@spartan-ng/brain/slider").BrnSlider;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSliderRange, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSliderRange, "[brnSliderRange]", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
3
|
-
protected readonly _slider: import("@spartan-ng/brain/slider").
|
|
2
|
+
export declare class BrnSliderThumb {
|
|
3
|
+
protected readonly _slider: import("@spartan-ng/brain/slider").BrnSlider;
|
|
4
4
|
private readonly _document;
|
|
5
5
|
private readonly _elementRef;
|
|
6
6
|
private readonly _platform;
|
|
@@ -19,6 +19,6 @@ export declare class BrnSliderThumbDirective {
|
|
|
19
19
|
*/
|
|
20
20
|
protected handleKeydown(event: KeyboardEvent): void;
|
|
21
21
|
private linearScale;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSliderThumb, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSliderThumb, "[brnSliderThumb]", never, {}, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnSliderTick implements OnDestroy {
|
|
4
|
+
private readonly _slider;
|
|
5
|
+
private readonly _templateRef;
|
|
6
|
+
private readonly _viewContainer;
|
|
7
|
+
private _ticks;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSliderTick, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSliderTick, "[brnSliderTick]", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BrnSliderTrack {
|
|
4
4
|
/** Access the slider */
|
|
5
|
-
protected readonly _slider: import("@spartan-ng/brain/slider").
|
|
5
|
+
protected readonly _slider: import("@spartan-ng/brain/slider").BrnSlider;
|
|
6
6
|
/** @internal Access the slider track */
|
|
7
7
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
8
8
|
constructor();
|
|
9
9
|
protected moveThumbToPoint(event: MouseEvent): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnSliderTrack, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnSliderTrack, "[brnSliderTrack]", never, {}, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExistingProvider, InjectionToken, Type } from '@angular/core';
|
|
2
|
-
import type {
|
|
3
|
-
export declare const BrnSliderTrackToken: InjectionToken<
|
|
4
|
-
export declare function provideBrnSliderTrack(slider: Type<
|
|
5
|
-
export declare function injectBrnSliderTrack():
|
|
2
|
+
import type { BrnSliderTrack } from './brn-slider-track';
|
|
3
|
+
export declare const BrnSliderTrackToken: InjectionToken<BrnSliderTrack>;
|
|
4
|
+
export declare function provideBrnSliderTrack(slider: Type<BrnSliderTrack>): ExistingProvider;
|
|
5
|
+
export declare function injectBrnSliderTrack(): BrnSliderTrack;
|