@agnos-ui/angular-bootstrap 0.10.0-next.0 → 0.10.0-next.2
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/package.json
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnos-ui/angular-bootstrap",
|
|
3
3
|
"description": "Bootstrap-based component library for Angular.",
|
|
4
|
-
"version": "0.10.0-next.
|
|
4
|
+
"version": "0.10.0-next.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
|
-
"types": "./
|
|
9
|
-
"esm2022": "./esm2022/agnos-ui-angular-bootstrap.mjs",
|
|
10
|
-
"esm": "./esm2022/agnos-ui-angular-bootstrap.mjs",
|
|
8
|
+
"types": "./types/agnos-ui-angular-bootstrap.d.ts",
|
|
11
9
|
"default": "./fesm2022/agnos-ui-angular-bootstrap.mjs"
|
|
12
10
|
}
|
|
13
11
|
},
|
|
14
12
|
"peerDependencies": {
|
|
15
13
|
"@amadeus-it-group/tansu": "^2.0.0",
|
|
16
|
-
"@angular/common": "^
|
|
17
|
-
"@angular/core": "^
|
|
14
|
+
"@angular/common": "^21.0.0",
|
|
15
|
+
"@angular/core": "^21.0.0"
|
|
18
16
|
},
|
|
19
17
|
"dependencies": {
|
|
20
|
-
"@agnos-ui/angular-headless": "0.10.0-next.
|
|
21
|
-
"@agnos-ui/core-bootstrap": "0.10.0-next.
|
|
18
|
+
"@agnos-ui/angular-headless": "0.10.0-next.2",
|
|
19
|
+
"@agnos-ui/core-bootstrap": "0.10.0-next.2",
|
|
22
20
|
"tslib": "^2.8.1"
|
|
23
21
|
},
|
|
24
22
|
"sideEffects": false,
|
|
@@ -3028,11 +3028,11 @@ interface AccordionProps {
|
|
|
3028
3028
|
*/
|
|
3029
3029
|
itemBodyClassName: string;
|
|
3030
3030
|
/**
|
|
3031
|
-
* The html
|
|
3031
|
+
* The html heading level to use for the accordion-item-header.
|
|
3032
3032
|
*
|
|
3033
|
-
* @defaultValue `
|
|
3033
|
+
* @defaultValue `2`
|
|
3034
3034
|
*/
|
|
3035
|
-
|
|
3035
|
+
itemHeadingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
3036
3036
|
/**
|
|
3037
3037
|
* CSS classes to be applied on the widget main container
|
|
3038
3038
|
*
|
|
@@ -3093,9 +3093,9 @@ interface AccordionItemState {
|
|
|
3093
3093
|
*/
|
|
3094
3094
|
bodyClassName: string;
|
|
3095
3095
|
/**
|
|
3096
|
-
* The html
|
|
3096
|
+
* The html heading level to use for the accordion-item-header.
|
|
3097
3097
|
*/
|
|
3098
|
-
|
|
3098
|
+
headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
3099
3099
|
/**
|
|
3100
3100
|
* CSS classes to be applied on the widget main container
|
|
3101
3101
|
*
|
|
@@ -3185,9 +3185,9 @@ interface AccordionItemProps {
|
|
|
3185
3185
|
*/
|
|
3186
3186
|
bodyClassName: string;
|
|
3187
3187
|
/**
|
|
3188
|
-
* The html
|
|
3188
|
+
* The html heading level to use for the accordion-item-header.
|
|
3189
3189
|
*/
|
|
3190
|
-
|
|
3190
|
+
headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
3191
3191
|
/**
|
|
3192
3192
|
* CSS classes to be applied on the widget main container
|
|
3193
3193
|
*
|
|
@@ -3235,7 +3235,7 @@ declare const export_createAccordionItem: WidgetFactory<AccordionItemWidget>;
|
|
|
3235
3235
|
declare const export_createAccordion: WidgetFactory<AccordionWidget>;
|
|
3236
3236
|
|
|
3237
3237
|
/**
|
|
3238
|
-
* Create an accordion WidgetFactory based on
|
|
3238
|
+
* Create an accordion WidgetFactory based on an item factory and the list of item props that should inherit from the parent accordion
|
|
3239
3239
|
*
|
|
3240
3240
|
* @param itemFactory - the item factory
|
|
3241
3241
|
* @param accordionItemProps - the list of item props
|
|
@@ -3465,9 +3465,9 @@ declare class AccordionItemComponent extends BaseWidgetDirective<AccordionItemWi
|
|
|
3465
3465
|
*/
|
|
3466
3466
|
readonly bodyClassName: _angular_core.InputSignal<string | undefined>;
|
|
3467
3467
|
/**
|
|
3468
|
-
* The html
|
|
3468
|
+
* The html heading level to use for the accordion-item-header.
|
|
3469
3469
|
*/
|
|
3470
|
-
readonly
|
|
3470
|
+
readonly headingLevel: _angular_core.InputSignal<1 | 2 | 3 | 4 | 5 | 6 | undefined>;
|
|
3471
3471
|
/**
|
|
3472
3472
|
* An event fired when an item is shown.
|
|
3473
3473
|
*/
|
|
@@ -3486,7 +3486,7 @@ declare class AccordionItemComponent extends BaseWidgetDirective<AccordionItemWi
|
|
|
3486
3486
|
constructor();
|
|
3487
3487
|
ngAfterViewInit(): void;
|
|
3488
3488
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
3489
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemComponent, "[auAccordionItem]", ["auAccordionItem"], { "header": { "alias": "auHeader"; "required": false; "isSignal": true; }; "children": { "alias": "auChildren"; "required": false; "isSignal": true; }; "structure": { "alias": "auStructure"; "required": false; "isSignal": true; }; "id": { "alias": "auId"; "required": false; "isSignal": true; }; "transition": { "alias": "auTransition"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "destroyOnHide": { "alias": "auDestroyOnHide"; "required": false; "isSignal": true; }; "disabled": { "alias": "auDisabled"; "required": false; "isSignal": true; }; "visible": { "alias": "auVisible"; "required": false; "isSignal": true; }; "animated": { "alias": "auAnimated"; "required": false; "isSignal": true; }; "headerClassName": { "alias": "auHeaderClassName"; "required": false; "isSignal": true; }; "buttonClassName": { "alias": "auButtonClassName"; "required": false; "isSignal": true; }; "bodyContainerClassName": { "alias": "auBodyContainerClassName"; "required": false; "isSignal": true; }; "bodyClassName": { "alias": "auBodyClassName"; "required": false; "isSignal": true; }; "
|
|
3489
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemComponent, "[auAccordionItem]", ["auAccordionItem"], { "header": { "alias": "auHeader"; "required": false; "isSignal": true; }; "children": { "alias": "auChildren"; "required": false; "isSignal": true; }; "structure": { "alias": "auStructure"; "required": false; "isSignal": true; }; "id": { "alias": "auId"; "required": false; "isSignal": true; }; "transition": { "alias": "auTransition"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "destroyOnHide": { "alias": "auDestroyOnHide"; "required": false; "isSignal": true; }; "disabled": { "alias": "auDisabled"; "required": false; "isSignal": true; }; "visible": { "alias": "auVisible"; "required": false; "isSignal": true; }; "animated": { "alias": "auAnimated"; "required": false; "isSignal": true; }; "headerClassName": { "alias": "auHeaderClassName"; "required": false; "isSignal": true; }; "buttonClassName": { "alias": "auButtonClassName"; "required": false; "isSignal": true; }; "bodyContainerClassName": { "alias": "auBodyContainerClassName"; "required": false; "isSignal": true; }; "bodyClassName": { "alias": "auBodyClassName"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "auHeadingLevel"; "required": false; "isSignal": true; }; }, { "shown": "auShown"; "hidden": "auHidden"; "visibleChange": "auVisibleChange"; }, ["slotHeaderFromContent", "slotBodyFromContent", "slotStructureFromContent"], ["*"], true, never>;
|
|
3490
3490
|
}
|
|
3491
3491
|
/**
|
|
3492
3492
|
* Directive for creating an accordion component.
|
|
@@ -3592,14 +3592,14 @@ declare class AccordionDirective extends BaseWidgetDirective<AccordionWidget> {
|
|
|
3592
3592
|
*/
|
|
3593
3593
|
readonly itemBodyClassName: _angular_core.InputSignal<string | undefined>;
|
|
3594
3594
|
/**
|
|
3595
|
-
* The html
|
|
3595
|
+
* The html heading level to use for the accordion-item-header.
|
|
3596
3596
|
*
|
|
3597
|
-
* @defaultValue `
|
|
3597
|
+
* @defaultValue `2`
|
|
3598
3598
|
*/
|
|
3599
|
-
readonly
|
|
3599
|
+
readonly itemHeadingLevel: _angular_core.InputSignal<1 | 2 | 3 | 4 | 5 | 6 | undefined>;
|
|
3600
3600
|
constructor();
|
|
3601
3601
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionDirective, never>;
|
|
3602
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AccordionDirective, "[auAccordion]", ["auAccordion"], { "closeOthers": { "alias": "auCloseOthers"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "itemDestroyOnHide": { "alias": "auItemDestroyOnHide"; "required": false; "isSignal": true; }; "itemAnimated": { "alias": "auItemAnimated"; "required": false; "isSignal": true; }; "itemTransition": { "alias": "auItemTransition"; "required": false; "isSignal": true; }; "itemStructure": { "alias": "auItemStructure"; "required": false; "isSignal": true; }; "itemClassName": { "alias": "auItemClassName"; "required": false; "isSignal": true; }; "itemHeaderClassName": { "alias": "auItemHeaderClassName"; "required": false; "isSignal": true; }; "itemButtonClassName": { "alias": "auItemButtonClassName"; "required": false; "isSignal": true; }; "itemBodyContainerClassName": { "alias": "auItemBodyContainerClassName"; "required": false; "isSignal": true; }; "itemBodyClassName": { "alias": "auItemBodyClassName"; "required": false; "isSignal": true; }; "
|
|
3602
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AccordionDirective, "[auAccordion]", ["auAccordion"], { "closeOthers": { "alias": "auCloseOthers"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "itemDestroyOnHide": { "alias": "auItemDestroyOnHide"; "required": false; "isSignal": true; }; "itemAnimated": { "alias": "auItemAnimated"; "required": false; "isSignal": true; }; "itemTransition": { "alias": "auItemTransition"; "required": false; "isSignal": true; }; "itemStructure": { "alias": "auItemStructure"; "required": false; "isSignal": true; }; "itemClassName": { "alias": "auItemClassName"; "required": false; "isSignal": true; }; "itemHeaderClassName": { "alias": "auItemHeaderClassName"; "required": false; "isSignal": true; }; "itemButtonClassName": { "alias": "auItemButtonClassName"; "required": false; "isSignal": true; }; "itemBodyContainerClassName": { "alias": "auItemBodyContainerClassName"; "required": false; "isSignal": true; }; "itemBodyClassName": { "alias": "auItemBodyClassName"; "required": false; "isSignal": true; }; "itemHeadingLevel": { "alias": "auItemHeadingLevel"; "required": false; "isSignal": true; }; }, { "itemShown": "auItemShown"; "itemHidden": "auItemHidden"; }, never, never, true, never>;
|
|
3603
3603
|
}
|
|
3604
3604
|
|
|
3605
3605
|
/**
|
|
@@ -3816,7 +3816,7 @@ interface SliderProps {
|
|
|
3816
3816
|
*
|
|
3817
3817
|
* @defaultValue
|
|
3818
3818
|
* ```ts
|
|
3819
|
-
* (
|
|
3819
|
+
* () => ''
|
|
3820
3820
|
* ```
|
|
3821
3821
|
*/
|
|
3822
3822
|
ariaValueText: (value: number, sortedIndex: number) => string;
|
|
@@ -3848,21 +3848,21 @@ interface SliderProps {
|
|
|
3848
3848
|
* Minimum distance between two values.
|
|
3849
3849
|
* When set to 0, no minimum distance constraint is applied.
|
|
3850
3850
|
*
|
|
3851
|
-
* @defaultValue 0
|
|
3851
|
+
* @defaultValue `0`
|
|
3852
3852
|
*/
|
|
3853
3853
|
minRange: number;
|
|
3854
3854
|
/**
|
|
3855
3855
|
* Maximum distance between two values
|
|
3856
3856
|
* When set to 0, no maximum distance constraint is applied.
|
|
3857
3857
|
*
|
|
3858
|
-
* @defaultValue 0
|
|
3858
|
+
* @defaultValue `0`
|
|
3859
3859
|
*/
|
|
3860
3860
|
maxRange: number;
|
|
3861
3861
|
/**
|
|
3862
3862
|
* When true, if moving a value would break the minRange or maxRange constraint,
|
|
3863
3863
|
* it will instead push or pull the neighboring values to keep the allowed range rather than just stopping.
|
|
3864
3864
|
*
|
|
3865
|
-
* @defaultValue false
|
|
3865
|
+
* @defaultValue `false`
|
|
3866
3866
|
*/
|
|
3867
3867
|
pushRange: boolean;
|
|
3868
3868
|
/**
|
|
@@ -4222,21 +4222,21 @@ declare class SliderComponent extends BaseWidgetDirective<SliderWidget> implemen
|
|
|
4222
4222
|
* Minimum distance between two values.
|
|
4223
4223
|
* When set to 0, no minimum distance constraint is applied.
|
|
4224
4224
|
*
|
|
4225
|
-
* @defaultValue 0
|
|
4225
|
+
* @defaultValue `0`
|
|
4226
4226
|
*/
|
|
4227
4227
|
readonly minRange: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
4228
4228
|
/**
|
|
4229
4229
|
* Maximum distance between two values
|
|
4230
4230
|
* When set to 0, no maximum distance constraint is applied.
|
|
4231
4231
|
*
|
|
4232
|
-
* @defaultValue 0
|
|
4232
|
+
* @defaultValue `0`
|
|
4233
4233
|
*/
|
|
4234
4234
|
readonly maxRange: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
4235
4235
|
/**
|
|
4236
4236
|
* When true, if moving a value would break the minRange or maxRange constraint,
|
|
4237
4237
|
* it will instead push or pull the neighboring values to keep the allowed range rather than just stopping.
|
|
4238
4238
|
*
|
|
4239
|
-
* @defaultValue false
|
|
4239
|
+
* @defaultValue `false`
|
|
4240
4240
|
*/
|
|
4241
4241
|
readonly pushRange: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
4242
4242
|
/**
|
|
@@ -4296,7 +4296,7 @@ declare class SliderComponent extends BaseWidgetDirective<SliderWidget> implemen
|
|
|
4296
4296
|
*
|
|
4297
4297
|
* @defaultValue
|
|
4298
4298
|
* ```ts
|
|
4299
|
-
* (
|
|
4299
|
+
* () => ''
|
|
4300
4300
|
* ```
|
|
4301
4301
|
*/
|
|
4302
4302
|
readonly ariaValueText: _angular_core.InputSignal<((value: number, sortedIndex: number) => string) | undefined>;
|
|
@@ -5206,7 +5206,7 @@ declare class CollapseDirective extends BaseWidgetDirective<CollapseWidget$1> {
|
|
|
5206
5206
|
/**
|
|
5207
5207
|
* If `true` the collapse is visible to the user
|
|
5208
5208
|
*
|
|
5209
|
-
* @defaultValue `
|
|
5209
|
+
* @defaultValue `false`
|
|
5210
5210
|
*/
|
|
5211
5211
|
readonly visible: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
5212
5212
|
/**
|
|
@@ -5287,12 +5287,6 @@ interface TreeState {
|
|
|
5287
5287
|
expandedMap: {
|
|
5288
5288
|
get(item: NormalizedTreeItem): boolean | undefined;
|
|
5289
5289
|
};
|
|
5290
|
-
/**
|
|
5291
|
-
* Optional accessibility label for the tree if there is no explicit label
|
|
5292
|
-
*
|
|
5293
|
-
* @defaultValue `''`
|
|
5294
|
-
*/
|
|
5295
|
-
ariaLabel?: string;
|
|
5296
5290
|
/**
|
|
5297
5291
|
* CSS classes to be applied on the widget main container
|
|
5298
5292
|
*
|
|
@@ -5358,12 +5352,6 @@ interface TreeProps {
|
|
|
5358
5352
|
* ```
|
|
5359
5353
|
*/
|
|
5360
5354
|
ariaLabelToggleFn: (label: string) => string;
|
|
5361
|
-
/**
|
|
5362
|
-
* Optional accessibility label for the tree if there is no explicit label
|
|
5363
|
-
*
|
|
5364
|
-
* @defaultValue `''`
|
|
5365
|
-
*/
|
|
5366
|
-
ariaLabel?: string;
|
|
5367
5355
|
/**
|
|
5368
5356
|
* CSS classes to be applied on the widget main container
|
|
5369
5357
|
*
|
|
@@ -5538,12 +5526,6 @@ declare const treeDefaultSlotItem: SlotContent<TreeSlotItemContext>;
|
|
|
5538
5526
|
*/
|
|
5539
5527
|
declare class TreeComponent extends BaseWidgetDirective<TreeWidget> {
|
|
5540
5528
|
constructor();
|
|
5541
|
-
/**
|
|
5542
|
-
* Optional accessibility label for the tree if there is no explicit label
|
|
5543
|
-
*
|
|
5544
|
-
* @defaultValue `''`
|
|
5545
|
-
*/
|
|
5546
|
-
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
5547
5529
|
/**
|
|
5548
5530
|
* Array of the tree nodes to display
|
|
5549
5531
|
*
|
|
@@ -5609,7 +5591,7 @@ declare class TreeComponent extends BaseWidgetDirective<TreeWidget> {
|
|
|
5609
5591
|
readonly item: _angular_core.InputSignal<SlotContent<TreeSlotItemContext>>;
|
|
5610
5592
|
readonly slotItemFromContent: _angular_core.Signal<TreeItemDirective | undefined>;
|
|
5611
5593
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeComponent, never>;
|
|
5612
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "[auTree]", never, { "
|
|
5594
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "[auTree]", never, { "nodes": { "alias": "auNodes"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "navSelector": { "alias": "auNavSelector"; "required": false; "isSignal": true; }; "ariaLabelToggleFn": { "alias": "auAriaLabelToggleFn"; "required": false; "isSignal": true; }; "itemContent": { "alias": "auItemContent"; "required": false; "isSignal": true; }; "structure": { "alias": "auStructure"; "required": false; "isSignal": true; }; "itemToggle": { "alias": "auItemToggle"; "required": false; "isSignal": true; }; "item": { "alias": "auItem"; "required": false; "isSignal": true; }; }, { "expandToggle": "auExpandToggle"; }, ["slotItemContentFromContent", "slotStructureFromContent", "slotItemToggleFromContent", "slotItemFromContent"], never, true, never>;
|
|
5613
5595
|
}
|
|
5614
5596
|
|
|
5615
5597
|
/**
|
|
@@ -5664,10 +5646,14 @@ interface CarouselState<SlideData extends {
|
|
|
5664
5646
|
initialized: boolean;
|
|
5665
5647
|
/**
|
|
5666
5648
|
* If `true`, 'previous' and 'next' navigation arrows will be visible.
|
|
5649
|
+
*
|
|
5650
|
+
* @defaultValue `true`
|
|
5667
5651
|
*/
|
|
5668
5652
|
showNavigationArrows: boolean;
|
|
5669
5653
|
/**
|
|
5670
5654
|
* If `true`, navigation indicators at the bottom of the slide will be visible.
|
|
5655
|
+
*
|
|
5656
|
+
* @defaultValue `true`
|
|
5671
5657
|
*/
|
|
5672
5658
|
showNavigationIndicators: boolean;
|
|
5673
5659
|
/**
|
|
@@ -5707,20 +5693,14 @@ interface CarouselState<SlideData extends {
|
|
|
5707
5693
|
slidesData: SlideData[];
|
|
5708
5694
|
/**
|
|
5709
5695
|
* The structure of the carousel.
|
|
5710
|
-
*
|
|
5711
|
-
* @defaultValue `undefined`
|
|
5712
5696
|
*/
|
|
5713
5697
|
structure: SlotContent<CarouselContext<SlideData>>;
|
|
5714
5698
|
/**
|
|
5715
5699
|
* The navigation layer of the carousel.
|
|
5716
|
-
*
|
|
5717
|
-
* @defaultValue `undefined`
|
|
5718
5700
|
*/
|
|
5719
5701
|
navigation: SlotContent<CarouselContext<SlideData>>;
|
|
5720
5702
|
/**
|
|
5721
5703
|
* The content of each slide in the carousel.
|
|
5722
|
-
*
|
|
5723
|
-
* @defaultValue `undefined`
|
|
5724
5704
|
*/
|
|
5725
5705
|
slide: SlotContent<CarouselSlideContext<SlideData>>;
|
|
5726
5706
|
/**
|
|
@@ -5745,14 +5725,23 @@ interface CarouselProps<SlideData extends {
|
|
|
5745
5725
|
plugins: EmblaPluginType[];
|
|
5746
5726
|
/**
|
|
5747
5727
|
* Aria label for navigation indicators
|
|
5728
|
+
*
|
|
5729
|
+
* @defaultValue
|
|
5730
|
+
* ```ts
|
|
5731
|
+
* (index: number) => `Select slide ${index + 1}`
|
|
5732
|
+
* ```
|
|
5748
5733
|
*/
|
|
5749
5734
|
ariaIndicatorLabel: (index: number) => string;
|
|
5750
5735
|
/**
|
|
5751
5736
|
* Aria label for previous button
|
|
5737
|
+
*
|
|
5738
|
+
* @defaultValue `'Select previous slide'`
|
|
5752
5739
|
*/
|
|
5753
5740
|
ariaPrevLabel: string;
|
|
5754
5741
|
/**
|
|
5755
5742
|
* Aria label for next button
|
|
5743
|
+
*
|
|
5744
|
+
* @defaultValue `'Select next slide'`
|
|
5756
5745
|
*/
|
|
5757
5746
|
ariaNextLabel: string;
|
|
5758
5747
|
/**
|
|
@@ -5766,6 +5755,8 @@ interface CarouselProps<SlideData extends {
|
|
|
5766
5755
|
* Enables choosing a custom container element which holds the slides. By default, Embla will choose the first direct child element of the root element. Provide a valid CSS selector string.
|
|
5767
5756
|
*
|
|
5768
5757
|
* @see {@link https://www.embla-carousel.com/api/options/#container}
|
|
5758
|
+
*
|
|
5759
|
+
* @defaultValue `null`
|
|
5769
5760
|
*/
|
|
5770
5761
|
container: string | null;
|
|
5771
5762
|
/**
|
|
@@ -5819,10 +5810,14 @@ interface CarouselProps<SlideData extends {
|
|
|
5819
5810
|
skipSnaps: boolean;
|
|
5820
5811
|
/**
|
|
5821
5812
|
* If `true`, 'previous' and 'next' navigation arrows will be visible.
|
|
5813
|
+
*
|
|
5814
|
+
* @defaultValue `true`
|
|
5822
5815
|
*/
|
|
5823
5816
|
showNavigationArrows: boolean;
|
|
5824
5817
|
/**
|
|
5825
5818
|
* If `true`, navigation indicators at the bottom of the slide will be visible.
|
|
5819
|
+
*
|
|
5820
|
+
* @defaultValue `true`
|
|
5826
5821
|
*/
|
|
5827
5822
|
showNavigationIndicators: boolean;
|
|
5828
5823
|
/**
|
|
@@ -5855,20 +5850,14 @@ interface CarouselProps<SlideData extends {
|
|
|
5855
5850
|
slidesData: SlideData[];
|
|
5856
5851
|
/**
|
|
5857
5852
|
* The structure of the carousel.
|
|
5858
|
-
*
|
|
5859
|
-
* @defaultValue `undefined`
|
|
5860
5853
|
*/
|
|
5861
5854
|
structure: SlotContent<CarouselContext<SlideData>>;
|
|
5862
5855
|
/**
|
|
5863
5856
|
* The navigation layer of the carousel.
|
|
5864
|
-
*
|
|
5865
|
-
* @defaultValue `undefined`
|
|
5866
5857
|
*/
|
|
5867
5858
|
navigation: SlotContent<CarouselContext<SlideData>>;
|
|
5868
5859
|
/**
|
|
5869
5860
|
* The content of each slide in the carousel.
|
|
5870
|
-
*
|
|
5871
|
-
* @defaultValue `undefined`
|
|
5872
5861
|
*/
|
|
5873
5862
|
slide: SlotContent<CarouselSlideContext<SlideData>>;
|
|
5874
5863
|
/**
|
|
@@ -6028,14 +6017,23 @@ declare class CarouselComponent<SlideData extends {
|
|
|
6028
6017
|
}> extends BaseWidgetDirective<CarouselWidget<SlideData>> {
|
|
6029
6018
|
/**
|
|
6030
6019
|
* Aria label for navigation indicators
|
|
6020
|
+
*
|
|
6021
|
+
* @defaultValue
|
|
6022
|
+
* ```ts
|
|
6023
|
+
* (index: number) => `Select slide ${index + 1}`
|
|
6024
|
+
* ```
|
|
6031
6025
|
*/
|
|
6032
6026
|
readonly ariaIndicatorLabel: InputSignal<((index: number) => string) | undefined>;
|
|
6033
6027
|
/**
|
|
6034
6028
|
* Aria label for previous button
|
|
6029
|
+
*
|
|
6030
|
+
* @defaultValue `'Select previous slide'`
|
|
6035
6031
|
*/
|
|
6036
6032
|
readonly ariaPrevLabel: InputSignal<string | undefined>;
|
|
6037
6033
|
/**
|
|
6038
6034
|
* Aria label for next button
|
|
6035
|
+
*
|
|
6036
|
+
* @defaultValue `'Select next slide'`
|
|
6039
6037
|
*/
|
|
6040
6038
|
readonly ariaNextLabel: InputSignal<string | undefined>;
|
|
6041
6039
|
/**
|
|
@@ -6082,10 +6080,14 @@ declare class CarouselComponent<SlideData extends {
|
|
|
6082
6080
|
readonly skipSnaps: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
6083
6081
|
/**
|
|
6084
6082
|
* If `true`, 'previous' and 'next' navigation arrows will be visible.
|
|
6083
|
+
*
|
|
6084
|
+
* @defaultValue `true`
|
|
6085
6085
|
*/
|
|
6086
6086
|
readonly showNavigationArrows: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
6087
6087
|
/**
|
|
6088
6088
|
* If `true`, navigation indicators at the bottom of the slide will be visible.
|
|
6089
|
+
*
|
|
6090
|
+
* @defaultValue `true`
|
|
6089
6091
|
*/
|
|
6090
6092
|
readonly showNavigationIndicators: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
6091
6093
|
/**
|
|
@@ -6104,6 +6106,8 @@ declare class CarouselComponent<SlideData extends {
|
|
|
6104
6106
|
* Enables choosing a custom container element which holds the slides. By default, Embla will choose the first direct child element of the root element. Provide a valid CSS selector string.
|
|
6105
6107
|
*
|
|
6106
6108
|
* @see {@link https://www.embla-carousel.com/api/options/#container}
|
|
6109
|
+
*
|
|
6110
|
+
* @defaultValue `null`
|
|
6107
6111
|
*/
|
|
6108
6112
|
readonly container: InputSignal<string | null | undefined>;
|
|
6109
6113
|
/**
|
|
@@ -6149,20 +6153,14 @@ declare class CarouselComponent<SlideData extends {
|
|
|
6149
6153
|
readonly slidesData: InputSignal<SlideData[] | undefined>;
|
|
6150
6154
|
/**
|
|
6151
6155
|
* The structure of the carousel.
|
|
6152
|
-
*
|
|
6153
|
-
* @defaultValue `undefined`
|
|
6154
6156
|
*/
|
|
6155
6157
|
readonly structure: InputSignal<SlotContent<CarouselContext<SlideData>>>;
|
|
6156
6158
|
/**
|
|
6157
6159
|
* The navigation layer of the carousel.
|
|
6158
|
-
*
|
|
6159
|
-
* @defaultValue `undefined`
|
|
6160
6160
|
*/
|
|
6161
6161
|
readonly navigation: InputSignal<SlotContent<CarouselContext<SlideData>>>;
|
|
6162
6162
|
/**
|
|
6163
6163
|
* The content of each slide in the carousel.
|
|
6164
|
-
*
|
|
6165
|
-
* @defaultValue `undefined`
|
|
6166
6164
|
*/
|
|
6167
6165
|
readonly slide: InputSignal<SlotContent<CarouselSlideContext<SlideData>>>;
|
|
6168
6166
|
readonly slotSlideFromContent: _angular_core.Signal<CarouselSlideDirective<any> | undefined>;
|
|
@@ -6197,6 +6195,12 @@ interface DrawerState {
|
|
|
6197
6195
|
* Flag to show whether the drawer is fully hidden.
|
|
6198
6196
|
*/
|
|
6199
6197
|
hidden: boolean;
|
|
6198
|
+
/**
|
|
6199
|
+
* CSS classes to be applied on the widget main container
|
|
6200
|
+
*
|
|
6201
|
+
* @defaultValue `'w-full'`
|
|
6202
|
+
*/
|
|
6203
|
+
className: string;
|
|
6200
6204
|
/**
|
|
6201
6205
|
* Which element should contain the drawer and backdrop DOM elements.
|
|
6202
6206
|
* If it is not null, the drawer and backdrop DOM elements are moved to the specified container.
|
|
@@ -6226,12 +6230,6 @@ interface DrawerState {
|
|
|
6226
6230
|
* @defaultValue `false`
|
|
6227
6231
|
*/
|
|
6228
6232
|
resizable: boolean;
|
|
6229
|
-
/**
|
|
6230
|
-
* CSS classes to be applied on the widget main container
|
|
6231
|
-
*
|
|
6232
|
-
* @defaultValue `''`
|
|
6233
|
-
*/
|
|
6234
|
-
className: string;
|
|
6235
6233
|
/**
|
|
6236
6234
|
* Global template for the drawer component
|
|
6237
6235
|
*/
|
|
@@ -6254,7 +6252,7 @@ interface DrawerProps {
|
|
|
6254
6252
|
*
|
|
6255
6253
|
* @defaultValue
|
|
6256
6254
|
* ```ts
|
|
6257
|
-
*
|
|
6255
|
+
* collapseHorizontalTransition
|
|
6258
6256
|
* ```
|
|
6259
6257
|
*/
|
|
6260
6258
|
transition: TransitionFn;
|
|
@@ -6263,45 +6261,56 @@ interface DrawerProps {
|
|
|
6263
6261
|
*
|
|
6264
6262
|
* @defaultValue
|
|
6265
6263
|
* ```ts
|
|
6266
|
-
*
|
|
6264
|
+
* collapseVerticalTransition
|
|
6267
6265
|
* ```
|
|
6268
6266
|
*/
|
|
6269
6267
|
verticalTransition: TransitionFn;
|
|
6270
6268
|
/**
|
|
6271
6269
|
* The transition to use for the backdrop behind the drawer (if present).
|
|
6272
6270
|
*
|
|
6273
|
-
* @defaultValue
|
|
6274
|
-
* ```ts
|
|
6275
|
-
* () => {}
|
|
6276
|
-
* ```
|
|
6271
|
+
* @defaultValue `fadeTransition`
|
|
6277
6272
|
*/
|
|
6278
6273
|
backdropTransition: TransitionFn;
|
|
6279
6274
|
/**
|
|
6280
6275
|
* If `true` opening and closing will be animated.
|
|
6276
|
+
*
|
|
6277
|
+
* @defaultValue `true`
|
|
6281
6278
|
*/
|
|
6282
6279
|
animated: boolean;
|
|
6283
6280
|
/**
|
|
6284
6281
|
* aria-labelledby attribute to use for the drawer element.
|
|
6282
|
+
*
|
|
6283
|
+
* @defaultValue `''`
|
|
6285
6284
|
*/
|
|
6286
6285
|
ariaLabelledBy: string;
|
|
6287
6286
|
/**
|
|
6288
6287
|
* aria-describedby attribute to use for the drawer element.
|
|
6288
|
+
*
|
|
6289
|
+
* @defaultValue `''`
|
|
6289
6290
|
*/
|
|
6290
6291
|
ariaDescribedBy: string;
|
|
6291
6292
|
/**
|
|
6292
6293
|
* The width of the drawer in pixels.
|
|
6294
|
+
*
|
|
6295
|
+
* @defaultValue `200`
|
|
6293
6296
|
*/
|
|
6294
6297
|
width: number;
|
|
6295
6298
|
/**
|
|
6296
6299
|
* The height of the drawer in pixels.
|
|
6300
|
+
*
|
|
6301
|
+
* @defaultValue `200`
|
|
6297
6302
|
*/
|
|
6298
6303
|
height: number;
|
|
6299
6304
|
/**
|
|
6300
6305
|
* If `true` displays the backdrop element and disables the body scrolling, otherwise the body of the document is navigable
|
|
6306
|
+
*
|
|
6307
|
+
* @defaultValue `true`
|
|
6301
6308
|
*/
|
|
6302
6309
|
backdrop: boolean;
|
|
6303
6310
|
/**
|
|
6304
6311
|
* If `true` allows body scrolling when the drawer is open.
|
|
6312
|
+
*
|
|
6313
|
+
* @defaultValue `false`
|
|
6305
6314
|
*/
|
|
6306
6315
|
bodyScroll: boolean;
|
|
6307
6316
|
/**
|
|
@@ -6355,6 +6364,12 @@ interface DrawerProps {
|
|
|
6355
6364
|
* ```
|
|
6356
6365
|
*/
|
|
6357
6366
|
onVisibleChange: (visible: boolean) => void;
|
|
6367
|
+
/**
|
|
6368
|
+
* CSS classes to be applied on the widget main container
|
|
6369
|
+
*
|
|
6370
|
+
* @defaultValue `'w-full'`
|
|
6371
|
+
*/
|
|
6372
|
+
className: string;
|
|
6358
6373
|
/**
|
|
6359
6374
|
* Which element should contain the drawer and backdrop DOM elements.
|
|
6360
6375
|
* If it is not null, the drawer and backdrop DOM elements are moved to the specified container.
|
|
@@ -6384,12 +6399,6 @@ interface DrawerProps {
|
|
|
6384
6399
|
* @defaultValue `false`
|
|
6385
6400
|
*/
|
|
6386
6401
|
resizable: boolean;
|
|
6387
|
-
/**
|
|
6388
|
-
* CSS classes to be applied on the widget main container
|
|
6389
|
-
*
|
|
6390
|
-
* @defaultValue `''`
|
|
6391
|
-
*/
|
|
6392
|
-
className: string;
|
|
6393
6402
|
/**
|
|
6394
6403
|
* Global template for the drawer component
|
|
6395
6404
|
*/
|
|
@@ -6503,14 +6512,20 @@ declare const drawerDefaultSlotStructure: SlotContent<DrawerContext>;
|
|
|
6503
6512
|
declare class DrawerComponent extends BaseWidgetDirective<DrawerWidget> {
|
|
6504
6513
|
/**
|
|
6505
6514
|
* If `true` opening and closing will be animated.
|
|
6515
|
+
*
|
|
6516
|
+
* @defaultValue `true`
|
|
6506
6517
|
*/
|
|
6507
6518
|
readonly animated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
6508
6519
|
/**
|
|
6509
6520
|
* aria-labelledby attribute to use for the drawer element.
|
|
6521
|
+
*
|
|
6522
|
+
* @defaultValue `''`
|
|
6510
6523
|
*/
|
|
6511
6524
|
readonly ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
|
|
6512
6525
|
/**
|
|
6513
6526
|
* aria-describedby attribute to use for the drawer element.
|
|
6527
|
+
*
|
|
6528
|
+
* @defaultValue `''`
|
|
6514
6529
|
*/
|
|
6515
6530
|
readonly ariaDescribedBy: _angular_core.InputSignal<string | undefined>;
|
|
6516
6531
|
/**
|
|
@@ -6524,7 +6539,7 @@ declare class DrawerComponent extends BaseWidgetDirective<DrawerWidget> {
|
|
|
6524
6539
|
*
|
|
6525
6540
|
* @defaultValue
|
|
6526
6541
|
* ```ts
|
|
6527
|
-
*
|
|
6542
|
+
* collapseVerticalTransition
|
|
6528
6543
|
* ```
|
|
6529
6544
|
*/
|
|
6530
6545
|
readonly verticalTransition: _angular_core.InputSignal<TransitionFn | undefined>;
|
|
@@ -6533,17 +6548,14 @@ declare class DrawerComponent extends BaseWidgetDirective<DrawerWidget> {
|
|
|
6533
6548
|
*
|
|
6534
6549
|
* @defaultValue
|
|
6535
6550
|
* ```ts
|
|
6536
|
-
*
|
|
6551
|
+
* collapseHorizontalTransition
|
|
6537
6552
|
* ```
|
|
6538
6553
|
*/
|
|
6539
6554
|
readonly transition: _angular_core.InputSignal<TransitionFn | undefined>;
|
|
6540
6555
|
/**
|
|
6541
6556
|
* The transition to use for the backdrop behind the drawer (if present).
|
|
6542
6557
|
*
|
|
6543
|
-
* @defaultValue
|
|
6544
|
-
* ```ts
|
|
6545
|
-
* () => {}
|
|
6546
|
-
* ```
|
|
6558
|
+
* @defaultValue `fadeTransition`
|
|
6547
6559
|
*/
|
|
6548
6560
|
readonly backdropTransition: _angular_core.InputSignal<TransitionFn | undefined>;
|
|
6549
6561
|
/**
|
|
@@ -6559,10 +6571,14 @@ declare class DrawerComponent extends BaseWidgetDirective<DrawerWidget> {
|
|
|
6559
6571
|
readonly container: _angular_core.InputSignal<HTMLElement | null | undefined>;
|
|
6560
6572
|
/**
|
|
6561
6573
|
* If `true` displays the backdrop element and disables the body scrolling, otherwise the body of the document is navigable
|
|
6574
|
+
*
|
|
6575
|
+
* @defaultValue `true`
|
|
6562
6576
|
*/
|
|
6563
6577
|
readonly backdrop: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
6564
6578
|
/**
|
|
6565
6579
|
* If `true` allows body scrolling when the drawer is open.
|
|
6580
|
+
*
|
|
6581
|
+
* @defaultValue `false`
|
|
6566
6582
|
*/
|
|
6567
6583
|
readonly bodyScroll: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
6568
6584
|
/**
|
|
@@ -6574,7 +6590,7 @@ declare class DrawerComponent extends BaseWidgetDirective<DrawerWidget> {
|
|
|
6574
6590
|
/**
|
|
6575
6591
|
* CSS classes to be applied on the widget main container
|
|
6576
6592
|
*
|
|
6577
|
-
* @defaultValue `''`
|
|
6593
|
+
* @defaultValue `'w-full'`
|
|
6578
6594
|
*/
|
|
6579
6595
|
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
6580
6596
|
/**
|
|
@@ -6585,10 +6601,14 @@ declare class DrawerComponent extends BaseWidgetDirective<DrawerWidget> {
|
|
|
6585
6601
|
readonly resizable: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
6586
6602
|
/**
|
|
6587
6603
|
* The width of the drawer in pixels.
|
|
6604
|
+
*
|
|
6605
|
+
* @defaultValue `200`
|
|
6588
6606
|
*/
|
|
6589
6607
|
readonly width: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
6590
6608
|
/**
|
|
6591
6609
|
* The height of the drawer in pixels.
|
|
6610
|
+
*
|
|
6611
|
+
* @defaultValue `200`
|
|
6592
6612
|
*/
|
|
6593
6613
|
readonly height: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
6594
6614
|
/**
|
|
@@ -6728,7 +6748,7 @@ interface CollapseProps {
|
|
|
6728
6748
|
/**
|
|
6729
6749
|
* If `true` the collapse is visible to the user
|
|
6730
6750
|
*
|
|
6731
|
-
* @defaultValue `
|
|
6751
|
+
* @defaultValue `false`
|
|
6732
6752
|
*/
|
|
6733
6753
|
visible: boolean;
|
|
6734
6754
|
/**
|
|
@@ -6771,7 +6791,7 @@ interface CollapseState {
|
|
|
6771
6791
|
/**
|
|
6772
6792
|
* If `true` the collapse is visible to the user
|
|
6773
6793
|
*
|
|
6774
|
-
* @defaultValue `
|
|
6794
|
+
* @defaultValue `false`
|
|
6775
6795
|
*/
|
|
6776
6796
|
visible: boolean;
|
|
6777
6797
|
}
|