@basis-ng/primitives 0.0.1-alpha.2 → 0.0.1-alpha.4
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/core/components/alert/alert.component.d.ts +1 -1
- package/core/components/attached-box/attached-box.component.d.ts +1 -1
- package/core/components/badge/badge.component.d.ts +1 -1
- package/core/components/bottom-sheet/bottom-sheet.component.d.ts +1 -1
- package/core/components/button/button.component.d.ts +6 -1
- package/core/components/button-group/button-group.component.d.ts +1 -1
- package/core/components/checkbox/checkbox.component.d.ts +1 -1
- package/core/components/color-picker/color-picker.component.d.ts +1 -1
- package/core/components/icon/icon.component.d.ts +1 -1
- package/core/components/input/input.component.d.ts +1 -1
- package/core/components/input-group/input-group.component.d.ts +1 -1
- package/core/components/menu/menu.component.d.ts +1 -6
- package/core/components/menu/shared/components/menu-item/menu-item.component.d.ts +1 -1
- package/core/components/menu/shared/components/menu-item-checkbox/menu-item-checkbox.component.d.ts +1 -1
- package/core/components/menu/shared/components/menu-item-radio/menu-item-radio.component.d.ts +1 -1
- package/core/components/menu/shared/components/menu-label/menu-label.component.d.ts +1 -1
- package/core/components/range/range.component.d.ts +1 -1
- package/core/components/search/search.component.d.ts +1 -1
- package/core/components/select/select-content.component.d.ts +39 -0
- package/core/components/select/select.component.d.ts +43 -25
- package/core/components/side-sheet/side-sheet.component.d.ts +2 -2
- package/core/components/spinner/spinner.component.d.ts +1 -1
- package/core/components/switch/switch.component.d.ts +1 -1
- package/core/components/table/components/row/components/row-item/row-item.component.d.ts +1 -1
- package/core/components/table/components/row/row.component.d.ts +1 -1
- package/core/components/table/table.component.d.ts +1 -1
- package/core/components/tabs/components/tab/tab.component.d.ts +1 -1
- package/core/components/tabs/tabs.component.d.ts +1 -1
- package/core/components/textarea/textarea.component.d.ts +1 -1
- package/core/components/tooltip/tooltip.component.d.ts +1 -1
- package/core/components/tree/shared/components/tree-node/tree-node.component.d.ts +1 -1
- package/core/components/tree/tree.component.d.ts +1 -1
- package/core/directives/in-viewport.directive.d.ts +1 -1
- package/fesm2022/basis-ng-primitives.mjs +297 -140
- package/fesm2022/basis-ng-primitives.mjs.map +1 -1
- package/package.json +1 -1
- package/shared/components/label/label.component.d.ts +2 -6
- package/shared/components/option/option.component.d.ts +1 -1
- package/shared/directives/lazy-content.directive.d.ts +1 -1
|
@@ -16,5 +16,5 @@ export declare class Alert {
|
|
|
16
16
|
readonly colorForeground: import("@angular/core").Signal<string>;
|
|
17
17
|
dismiss(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<Alert, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Alert, "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Alert, "b-alert", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; }, never, ["*"], true, never>;
|
|
20
20
|
}
|
|
@@ -121,5 +121,5 @@ export declare class AttachedBox {
|
|
|
121
121
|
*/
|
|
122
122
|
private adjustSecondaryAlignment;
|
|
123
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachedBox, never>;
|
|
124
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AttachedBox, "
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachedBox, "b-attached-box", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, { "position": "positionChange"; "gap": "gapChange"; }, never, ["[b-attached-box-trigger]", "[b-attached-box-content]"], true, never>;
|
|
125
125
|
}
|
|
@@ -5,5 +5,5 @@ export declare class Badge {
|
|
|
5
5
|
/** The size of the badge. */
|
|
6
6
|
readonly size: import("@angular/core").InputSignal<"small" | "default">;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "span[
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "span[b-badge]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
9
9
|
}
|
|
@@ -56,5 +56,5 @@ export declare class BottomSheet {
|
|
|
56
56
|
*/
|
|
57
57
|
snapToOpenOrClose(): void;
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheet, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BottomSheet, "
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BottomSheet, "b-bottom-sheet", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "closeThreshold": { "alias": "closeThreshold"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; "closeSheet": "closeSheet"; }, never, ["*"], true, never>;
|
|
60
60
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class Button {
|
|
3
4
|
/** The variant of the button. */
|
|
@@ -12,6 +13,10 @@ export declare class Button {
|
|
|
12
13
|
readonly toggle: import("@angular/core").InputSignal<boolean>;
|
|
13
14
|
/** The value of the button when it is toggled. */
|
|
14
15
|
readonly isToggled: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
/** Whether the button active animation is enabled. */
|
|
17
|
+
readonly activeEnabled: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
/** The element reference of the button. */
|
|
19
|
+
el: ElementRef<any>;
|
|
15
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<Button, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Button, "button[
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Button, "button[b-button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "equalPadding": { "alias": "equalPadding"; "required": false; "isSignal": true; }; "toggle": { "alias": "toggle"; "required": false; "isSignal": true; }; "isToggled": { "alias": "isToggled"; "required": false; "isSignal": true; }; "activeEnabled": { "alias": "activeEnabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
17
22
|
}
|
|
@@ -5,5 +5,5 @@ export declare class ButtonGroup {
|
|
|
5
5
|
*/
|
|
6
6
|
readonly spaced: import("@angular/core").InputSignal<boolean>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroup, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroup, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroup, "b-button-group", never, { "spaced": { "alias": "spaced"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
9
9
|
}
|
|
@@ -22,5 +22,5 @@ export declare class Checkbox implements AfterViewInit {
|
|
|
22
22
|
*/
|
|
23
23
|
toggleValue(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<Checkbox, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Checkbox, "input[
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Checkbox, "input[b-checkbox]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
26
26
|
}
|
|
@@ -57,5 +57,5 @@ export declare class ColorPicker implements AfterViewInit {
|
|
|
57
57
|
*/
|
|
58
58
|
calculateColorMix(color1: string, color2: string, percentage: number): string;
|
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPicker, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPicker, "input[
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPicker, "input[b-color-picker]", never, { "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "showColor": { "alias": "showColor"; "required": false; "isSignal": true; }; }, {}, ["ngModel"], never, true, never>;
|
|
61
61
|
}
|
|
@@ -25,5 +25,5 @@ export declare class Icon {
|
|
|
25
25
|
*/
|
|
26
26
|
readonly iconSvg: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml>;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<Icon, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Icon, "i[
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Icon, "i[b-icon]", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
29
|
}
|
|
@@ -74,5 +74,5 @@ export declare class Input implements AfterViewInit {
|
|
|
74
74
|
*/
|
|
75
75
|
formatNumber(value: string | null): string | null;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<Input, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Input, "input[
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Input, "input[b-input]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "numberType": { "alias": "numberType"; "required": false; "isSignal": true; }; }, { "invalid": "invalidChange"; "disabled": "disabledChange"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
78
78
|
}
|
|
@@ -9,5 +9,5 @@ export declare class InputGroup {
|
|
|
9
9
|
*/
|
|
10
10
|
readonly maxWidth: import("@angular/core").InputSignal<string>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputGroup, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputGroup, "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputGroup, "b-input-group", never, { "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
13
|
}
|
|
@@ -4,11 +4,6 @@ import * as i1 from "@angular/cdk/menu";
|
|
|
4
4
|
* Represents a menu component that can optionally float.
|
|
5
5
|
*/
|
|
6
6
|
export declare class Menu {
|
|
7
|
-
/**
|
|
8
|
-
* Determines whether the menu is floating.
|
|
9
|
-
* @default false
|
|
10
|
-
*/
|
|
11
|
-
readonly floating: import("@angular/core").InputSignal<boolean>;
|
|
12
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "b-menu", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.CdkMenu; inputs: {}; outputs: {}; }]>;
|
|
14
9
|
}
|
|
@@ -5,5 +5,5 @@ import * as i1 from "@angular/cdk/menu";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class MenuItemComponent {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "b-menu-item", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.CdkMenuItem; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuitemTypeaheadLabel": "typeaheadLabel"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
|
|
9
9
|
}
|
package/core/components/menu/shared/components/menu-item-checkbox/menu-item-checkbox.component.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ import * as i1 from "@angular/cdk/menu";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class MenuItemCheckboxComponent {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemCheckboxComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemCheckboxComponent, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemCheckboxComponent, "b-menu-item-checkbox", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.CdkMenuItemCheckbox; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuitemTypeaheadLabel": "typeaheadLabel"; "cdkMenuItemChecked": "active"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
|
|
9
9
|
}
|
package/core/components/menu/shared/components/menu-item-radio/menu-item-radio.component.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ import * as i1 from "@angular/cdk/menu";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class MenuItemRadioComponent {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemRadioComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemRadioComponent, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemRadioComponent, "b-menu-item-radio", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.CdkMenuItemRadio; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuitemTypeaheadLabel": "typeaheadLabel"; "cdkMenuItemChecked": "active"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
|
|
9
9
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class MenuLabel {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuLabel, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuLabel, "
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuLabel, "b-menu-label", never, {}, {}, never, ["*"], true, never>;
|
|
8
8
|
}
|
|
@@ -22,5 +22,5 @@ export declare class Range implements AfterViewInit {
|
|
|
22
22
|
*/
|
|
23
23
|
onInput(event: Event): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<Range, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Range, "input[
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Range, "input[b-range]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
26
26
|
}
|
|
@@ -117,5 +117,5 @@ export declare class Search {
|
|
|
117
117
|
*/
|
|
118
118
|
handleIconClick(): void;
|
|
119
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<Search, never>;
|
|
120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Search, "
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Search, "b-search", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searching": { "alias": "searching"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "searching": "searchingChange"; "invalid": "invalidChange"; "disabled": "disabledChange"; "selectedValue": "selectedValueChange"; "searchValue": "searchValueChange"; "searchChange": "searchChange"; }, ["options"], ["*"], true, never>;
|
|
121
121
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/cdk/listbox";
|
|
4
|
+
/**
|
|
5
|
+
* Component representing the content of a select dropdown.
|
|
6
|
+
* It integrates with Angular CDK Listbox for managing options and their selection.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SelectContentComponent {
|
|
9
|
+
/**
|
|
10
|
+
* Signal representing the selected values in the listbox.
|
|
11
|
+
*/
|
|
12
|
+
readonly value: import("@angular/core").WritableSignal<string[]>;
|
|
13
|
+
/**
|
|
14
|
+
* Signal representing the content of the selected option.
|
|
15
|
+
*/
|
|
16
|
+
readonly content: import("@angular/core").WritableSignal<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Event emitter triggered when the dropdown should close.
|
|
19
|
+
*/
|
|
20
|
+
closeEmitter: import("@angular/core").OutputEmitterRef<void>;
|
|
21
|
+
/**
|
|
22
|
+
* Reference to the host element of the component.
|
|
23
|
+
*/
|
|
24
|
+
el: ElementRef<any>;
|
|
25
|
+
/**
|
|
26
|
+
* Input for setting the maximum height of the dropdown.
|
|
27
|
+
* Defaults to '300px'.
|
|
28
|
+
*/
|
|
29
|
+
readonly maxHeight: import("@angular/core").InputSignal<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Handles changes to the selected value in the listbox.
|
|
32
|
+
* Updates the `value` and `content` signals and emits the `closeEmitter` event.
|
|
33
|
+
*
|
|
34
|
+
* @param $event - The event object containing the new value and option details.
|
|
35
|
+
*/
|
|
36
|
+
handleValueChange($event: any): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectContentComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectContentComponent, "ul[b-select-content]", never, { "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, { "closeEmitter": "closeEmitter"; }, never, ["*"], true, [{ directive: typeof i1.CdkListbox; inputs: { "cdkListboxValue": "cdkListboxValue"; }; outputs: { "cdkListboxValueChange": "cdkListboxValueChange"; }; }]>;
|
|
39
|
+
}
|
|
@@ -1,48 +1,66 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SelectContentComponent } from './select-content.component';
|
|
2
|
+
import { Button } from '../button/button.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Component representing a custom select dropdown.
|
|
6
|
+
* It provides a button to toggle the dropdown and displays the selected option.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SelectComponent {
|
|
4
9
|
/**
|
|
5
|
-
*
|
|
10
|
+
* Placeholder text displayed when no option is selected.
|
|
11
|
+
* Defaults to 'Select an option'.
|
|
6
12
|
*/
|
|
7
|
-
readonly
|
|
13
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
8
14
|
/**
|
|
9
|
-
*
|
|
15
|
+
* Signal indicating whether the dropdown is open.
|
|
10
16
|
*/
|
|
11
|
-
readonly
|
|
17
|
+
readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
12
18
|
/**
|
|
13
|
-
*
|
|
19
|
+
* Reference to the button element used to toggle the dropdown.
|
|
14
20
|
*/
|
|
15
|
-
readonly
|
|
21
|
+
readonly button: import("@angular/core").Signal<Button | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Reference to the content component of the dropdown.
|
|
24
|
+
*/
|
|
25
|
+
readonly listBox: import("@angular/core").Signal<SelectContentComponent | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Computed signal representing the selected values from the dropdown.
|
|
28
|
+
*/
|
|
29
|
+
readonly value: import("@angular/core").Signal<string[] | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Computed signal representing the content of the selected option.
|
|
32
|
+
*/
|
|
33
|
+
readonly content: import("@angular/core").Signal<string | undefined>;
|
|
16
34
|
/**
|
|
17
|
-
*
|
|
35
|
+
* Input for setting the maximum width of the dropdown.
|
|
36
|
+
* Defaults to '100%'.
|
|
18
37
|
*/
|
|
19
38
|
readonly maxWidth: import("@angular/core").InputSignal<string>;
|
|
20
39
|
/**
|
|
21
|
-
*
|
|
40
|
+
* Computed signal for the width of the button element.
|
|
22
41
|
*/
|
|
23
|
-
|
|
42
|
+
readonly buttonWidth: import("@angular/core").Signal<any>;
|
|
24
43
|
/**
|
|
25
|
-
*
|
|
44
|
+
* Model indicating whether the select component is invalid.
|
|
26
45
|
*/
|
|
27
|
-
readonly
|
|
46
|
+
readonly invalid: import("@angular/core").ModelSignal<boolean>;
|
|
28
47
|
/**
|
|
29
|
-
*
|
|
48
|
+
* Model indicating whether the select component is disabled.
|
|
30
49
|
*/
|
|
31
|
-
readonly
|
|
50
|
+
readonly disabled: import("@angular/core").ModelSignal<boolean>;
|
|
51
|
+
constructor();
|
|
32
52
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @private
|
|
53
|
+
* Handles changes to the selected value by subscribing to the close event of the listbox.
|
|
35
54
|
*/
|
|
36
|
-
|
|
55
|
+
handleSelectedValueChange(): void;
|
|
37
56
|
/**
|
|
38
|
-
*
|
|
57
|
+
* Opens the dropdown and focuses the listbox.
|
|
39
58
|
*/
|
|
40
|
-
|
|
59
|
+
open(): void;
|
|
41
60
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @param value - The value of the select.
|
|
61
|
+
* Closes the dropdown and focuses the button.
|
|
44
62
|
*/
|
|
45
|
-
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
63
|
+
close(): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "b-select", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "invalid": "invalidChange"; "disabled": "disabledChange"; }, ["listBox"], ["*"], true, never>;
|
|
48
66
|
}
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
* A sliding sheet component that can be positioned on either side of the screen.
|
|
4
4
|
* The sheet slides in from the left or right edge and includes an overlay backdrop.
|
|
5
5
|
*
|
|
6
|
-
* @selector
|
|
6
|
+
* @selector b-side-sheet
|
|
7
7
|
*/
|
|
8
8
|
export declare class SideSheet {
|
|
9
9
|
/**
|
|
@@ -42,5 +42,5 @@ export declare class SideSheet {
|
|
|
42
42
|
*/
|
|
43
43
|
closeOnOutsideClick(event: Event): void;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheet, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideSheet, "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideSheet, "b-side-sheet", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; "closeSheet": "closeSheet"; }, never, ["*"], true, never>;
|
|
46
46
|
}
|
|
@@ -5,5 +5,5 @@ export declare class Spinner {
|
|
|
5
5
|
readonly backgroundColor: import("@angular/core").InputSignal<string>;
|
|
6
6
|
readonly size: import("@angular/core").InputSignal<number>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<Spinner, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Spinner, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Spinner, "b-spinner", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -31,5 +31,5 @@ export declare class Switch implements AfterViewInit {
|
|
|
31
31
|
*/
|
|
32
32
|
setValue(newValue: boolean): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<Switch, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Switch, "input[
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Switch, "input[b-switch]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
35
35
|
}
|
|
@@ -8,5 +8,5 @@ export declare class RowItem {
|
|
|
8
8
|
justifyContent: string;
|
|
9
9
|
}>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<RowItem, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowItem, "
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowItem, "b-row-item", never, { "widthPx": { "alias": "widthPx"; "required": false; "isSignal": true; }; "alignedLeft": { "alias": "alignedLeft"; "required": false; "isSignal": true; }; "isHeader": { "alias": "isHeader"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
12
|
}
|
|
@@ -5,5 +5,5 @@ export declare class Row {
|
|
|
5
5
|
readonly clickable: import("@angular/core").InputSignal<boolean>;
|
|
6
6
|
readonly highlighted: import("@angular/core").InputSignal<boolean>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<Row, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Row, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Row, "b-row", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "subheader": { "alias": "subheader"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class Table {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Table, "
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Table, "b-table", never, {}, {}, never, ["[b-row-header]", "[b-row-subheader]", "*"], true, never>;
|
|
5
5
|
}
|
|
@@ -21,5 +21,5 @@ export declare class Tab {
|
|
|
21
21
|
*/
|
|
22
22
|
onMouseLeave(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<Tab, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Tab, "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Tab, "b-tab", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selectEmitter": "selectEmitter"; }, never, ["*"], true, never>;
|
|
25
25
|
}
|
|
@@ -56,5 +56,5 @@ export declare class Tabs {
|
|
|
56
56
|
*/
|
|
57
57
|
scrollToTab(index: number, behavior: string): void;
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<Tabs, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Tabs, "
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Tabs, "b-tabs", never, { "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; }, { "selectedValue": "selectedValueChange"; "changesEmitter": "changesEmitter"; }, ["tabs"], ["*"], true, never>;
|
|
60
60
|
}
|
|
@@ -44,5 +44,5 @@ export declare class Textarea {
|
|
|
44
44
|
*/
|
|
45
45
|
onInput(event: Event): void;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<Textarea, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Textarea, "textarea[
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Textarea, "textarea[b-textarea]", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "invalid": "invalidChange"; "disabled": "disabledChange"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
48
48
|
}
|
|
@@ -32,5 +32,5 @@ export declare class TooltipComponent {
|
|
|
32
32
|
*/
|
|
33
33
|
readonly size: import("@angular/core").InputSignal<"small" | "default">;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "b-tooltip", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[b-tooltip-content]"], true, never>;
|
|
36
36
|
}
|
|
@@ -39,5 +39,5 @@ export declare class TreeNode implements OnInit {
|
|
|
39
39
|
*/
|
|
40
40
|
handleExtension(): void;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNode, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeNode, "
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeNode, "b-tree-node", never, { "extended": { "alias": "extended"; "required": false; "isSignal": true; }; }, { "extended": "extendedChange"; "closeEmitter": "closeEmitter"; }, ["nestedTree"], ["*", "b-tree"], true, [{ directive: typeof i1.CdkDrag; inputs: { "cdkDragDisabled": "disabled"; }; outputs: {}; }]>;
|
|
43
43
|
}
|
|
@@ -52,5 +52,5 @@ export declare class Tree implements OnInit {
|
|
|
52
52
|
*/
|
|
53
53
|
closeNestedNodes(): void;
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<Tree, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Tree, "
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Tree, "b-tree", never, { "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "closeRecursively": { "alias": "closeRecursively"; "required": false; "isSignal": true; }; }, { "dropEmitter": "dropEmitter"; }, ["nestedNodes"], ["*"], true, [{ directive: typeof i1.CdkDropList; inputs: { "id": "id"; "cdkDropListConnectedTo": "connectedTo"; }; outputs: { "cdkDropListDropped": "cdkDropListDropped"; }; }, { directive: typeof i1.CdkDropListGroup; inputs: {}; outputs: {}; }]>;
|
|
56
56
|
}
|
|
@@ -9,5 +9,5 @@ export declare class InViewportDirective implements OnDestroy {
|
|
|
9
9
|
constructor();
|
|
10
10
|
ngOnDestroy(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InViewportDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<InViewportDirective, "[
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InViewportDirective, "[b-in-viewport]", never, { "inViewportId": { "alias": "inViewportId"; "required": true; "isSignal": true; }; "inViewportInitialVisibility": { "alias": "inViewportInitialVisibility"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|