@agnos-ui/angular-bootstrap 0.9.3 → 0.10.0-next.1

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/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import * as _angular_core from '@angular/core';
5
5
  import { TemplateRef, AfterViewInit, OnInit, InputSignal, Injector, InjectionToken, FactoryProvider } from '@angular/core';
6
6
  import { Placement } from '@floating-ui/dom';
7
7
  import { ControlValueAccessor } from '@angular/forms';
8
- import { modalCloseButtonClick, modalOutsideClick } from '@agnos-ui/core-bootstrap/components/modal';
8
+ import { modalCloseButtonClick, modalOutsideClick, modalCloseEscape } from '@agnos-ui/core-bootstrap/components/modal';
9
9
  import { BSContextualClass } from '@agnos-ui/core-bootstrap/types';
10
10
  export * from '@agnos-ui/core-bootstrap/types';
11
11
  import { CollapseWidget as CollapseWidget$1 } from '@agnos-ui/core-bootstrap/components/collapse';
@@ -2315,6 +2315,12 @@ declare const export_modalOutsideClick: typeof modalOutsideClick;
2315
2315
  */
2316
2316
  declare const export_modalCloseButtonClick: typeof modalCloseButtonClick;
2317
2317
 
2318
+ /**
2319
+ * Value present in the {@link ModalBeforeCloseEvent.result|result} property of the {@link ModalProps.onBeforeClose|onBeforeClose} event
2320
+ * and returned by the {@link ModalApi.open|open} method, when the modal is closed by pressing the Escape key.
2321
+ */
2322
+ declare const export_modalCloseEscape: typeof modalCloseEscape;
2323
+
2318
2324
  /**
2319
2325
  * Type of the parameter of {@link ModalProps.onBeforeClose|onBeforeClose}.
2320
2326
  */
@@ -3022,11 +3028,11 @@ interface AccordionProps {
3022
3028
  */
3023
3029
  itemBodyClassName: string;
3024
3030
  /**
3025
- * The html tag to use for the accordion-item-header.
3031
+ * The html heading level to use for the accordion-item-header.
3026
3032
  *
3027
- * @defaultValue `''`
3033
+ * @defaultValue `2`
3028
3034
  */
3029
- itemHeadingTag: string;
3035
+ itemHeadingLevel: 1 | 2 | 3 | 4 | 5 | 6;
3030
3036
  /**
3031
3037
  * CSS classes to be applied on the widget main container
3032
3038
  *
@@ -3087,9 +3093,9 @@ interface AccordionItemState {
3087
3093
  */
3088
3094
  bodyClassName: string;
3089
3095
  /**
3090
- * The html tag to use for the accordion-item-header.
3096
+ * The html heading level to use for the accordion-item-header.
3091
3097
  */
3092
- headingTag: string;
3098
+ headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
3093
3099
  /**
3094
3100
  * CSS classes to be applied on the widget main container
3095
3101
  *
@@ -3179,9 +3185,9 @@ interface AccordionItemProps {
3179
3185
  */
3180
3186
  bodyClassName: string;
3181
3187
  /**
3182
- * The html tag to use for the accordion-item-header.
3188
+ * The html heading level to use for the accordion-item-header.
3183
3189
  */
3184
- headingTag: string;
3190
+ headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
3185
3191
  /**
3186
3192
  * CSS classes to be applied on the widget main container
3187
3193
  *
@@ -3229,7 +3235,7 @@ declare const export_createAccordionItem: WidgetFactory<AccordionItemWidget>;
3229
3235
  declare const export_createAccordion: WidgetFactory<AccordionWidget>;
3230
3236
 
3231
3237
  /**
3232
- * Create an accordion WidgetFactory based on a item factory and the list of item props that should inherit from the parent accordion
3238
+ * Create an accordion WidgetFactory based on an item factory and the list of item props that should inherit from the parent accordion
3233
3239
  *
3234
3240
  * @param itemFactory - the item factory
3235
3241
  * @param accordionItemProps - the list of item props
@@ -3459,9 +3465,9 @@ declare class AccordionItemComponent extends BaseWidgetDirective<AccordionItemWi
3459
3465
  */
3460
3466
  readonly bodyClassName: _angular_core.InputSignal<string | undefined>;
3461
3467
  /**
3462
- * The html tag to use for the accordion-item-header.
3468
+ * The html heading level to use for the accordion-item-header.
3463
3469
  */
3464
- readonly headingTag: _angular_core.InputSignal<string | undefined>;
3470
+ readonly headingLevel: _angular_core.InputSignal<1 | 2 | 3 | 4 | 5 | 6 | undefined>;
3465
3471
  /**
3466
3472
  * An event fired when an item is shown.
3467
3473
  */
@@ -3480,7 +3486,7 @@ declare class AccordionItemComponent extends BaseWidgetDirective<AccordionItemWi
3480
3486
  constructor();
3481
3487
  ngAfterViewInit(): void;
3482
3488
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
3483
- 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; }; "headingTag": { "alias": "auHeadingTag"; "required": false; "isSignal": true; }; }, { "shown": "auShown"; "hidden": "auHidden"; "visibleChange": "auVisibleChange"; }, ["slotHeaderFromContent", "slotBodyFromContent", "slotStructureFromContent"], ["*"], true, 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; }; "headingLevel": { "alias": "auHeadingLevel"; "required": false; "isSignal": true; }; }, { "shown": "auShown"; "hidden": "auHidden"; "visibleChange": "auVisibleChange"; }, ["slotHeaderFromContent", "slotBodyFromContent", "slotStructureFromContent"], ["*"], true, never>;
3484
3490
  }
3485
3491
  /**
3486
3492
  * Directive for creating an accordion component.
@@ -3586,14 +3592,14 @@ declare class AccordionDirective extends BaseWidgetDirective<AccordionWidget> {
3586
3592
  */
3587
3593
  readonly itemBodyClassName: _angular_core.InputSignal<string | undefined>;
3588
3594
  /**
3589
- * The html tag to use for the accordion-item-header.
3595
+ * The html heading level to use for the accordion-item-header.
3590
3596
  *
3591
- * @defaultValue `''`
3597
+ * @defaultValue `2`
3592
3598
  */
3593
- readonly itemHeadingTag: _angular_core.InputSignal<string | undefined>;
3599
+ readonly itemHeadingLevel: _angular_core.InputSignal<1 | 2 | 3 | 4 | 5 | 6 | undefined>;
3594
3600
  constructor();
3595
3601
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionDirective, never>;
3596
- 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; }; "itemHeadingTag": { "alias": "auItemHeadingTag"; "required": false; "isSignal": true; }; }, { "itemShown": "auItemShown"; "itemHidden": "auItemHidden"; }, never, never, true, 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; }; "itemHeadingLevel": { "alias": "auItemHeadingLevel"; "required": false; "isSignal": true; }; }, { "itemShown": "auItemShown"; "itemHidden": "auItemHidden"; }, never, never, true, never>;
3597
3603
  }
3598
3604
 
3599
3605
  /**
@@ -3810,7 +3816,7 @@ interface SliderProps {
3810
3816
  *
3811
3817
  * @defaultValue
3812
3818
  * ```ts
3813
- * (value: number) => ''
3819
+ * () => ''
3814
3820
  * ```
3815
3821
  */
3816
3822
  ariaValueText: (value: number, sortedIndex: number) => string;
@@ -3842,21 +3848,21 @@ interface SliderProps {
3842
3848
  * Minimum distance between two values.
3843
3849
  * When set to 0, no minimum distance constraint is applied.
3844
3850
  *
3845
- * @defaultValue 0
3851
+ * @defaultValue `0`
3846
3852
  */
3847
3853
  minRange: number;
3848
3854
  /**
3849
3855
  * Maximum distance between two values
3850
3856
  * When set to 0, no maximum distance constraint is applied.
3851
3857
  *
3852
- * @defaultValue 0
3858
+ * @defaultValue `0`
3853
3859
  */
3854
3860
  maxRange: number;
3855
3861
  /**
3856
3862
  * When true, if moving a value would break the minRange or maxRange constraint,
3857
3863
  * it will instead push or pull the neighboring values to keep the allowed range rather than just stopping.
3858
3864
  *
3859
- * @defaultValue false
3865
+ * @defaultValue `false`
3860
3866
  */
3861
3867
  pushRange: boolean;
3862
3868
  /**
@@ -4216,21 +4222,21 @@ declare class SliderComponent extends BaseWidgetDirective<SliderWidget> implemen
4216
4222
  * Minimum distance between two values.
4217
4223
  * When set to 0, no minimum distance constraint is applied.
4218
4224
  *
4219
- * @defaultValue 0
4225
+ * @defaultValue `0`
4220
4226
  */
4221
4227
  readonly minRange: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
4222
4228
  /**
4223
4229
  * Maximum distance between two values
4224
4230
  * When set to 0, no maximum distance constraint is applied.
4225
4231
  *
4226
- * @defaultValue 0
4232
+ * @defaultValue `0`
4227
4233
  */
4228
4234
  readonly maxRange: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
4229
4235
  /**
4230
4236
  * When true, if moving a value would break the minRange or maxRange constraint,
4231
4237
  * it will instead push or pull the neighboring values to keep the allowed range rather than just stopping.
4232
4238
  *
4233
- * @defaultValue false
4239
+ * @defaultValue `false`
4234
4240
  */
4235
4241
  readonly pushRange: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
4236
4242
  /**
@@ -4290,7 +4296,7 @@ declare class SliderComponent extends BaseWidgetDirective<SliderWidget> implemen
4290
4296
  *
4291
4297
  * @defaultValue
4292
4298
  * ```ts
4293
- * (value: number) => ''
4299
+ * () => ''
4294
4300
  * ```
4295
4301
  */
4296
4302
  readonly ariaValueText: _angular_core.InputSignal<((value: number, sortedIndex: number) => string) | undefined>;
@@ -5200,7 +5206,7 @@ declare class CollapseDirective extends BaseWidgetDirective<CollapseWidget$1> {
5200
5206
  /**
5201
5207
  * If `true` the collapse is visible to the user
5202
5208
  *
5203
- * @defaultValue `true`
5209
+ * @defaultValue `false`
5204
5210
  */
5205
5211
  readonly visible: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
5206
5212
  /**
@@ -5281,12 +5287,6 @@ interface TreeState {
5281
5287
  expandedMap: {
5282
5288
  get(item: NormalizedTreeItem): boolean | undefined;
5283
5289
  };
5284
- /**
5285
- * Optional accessibility label for the tree if there is no explicit label
5286
- *
5287
- * @defaultValue `''`
5288
- */
5289
- ariaLabel?: string;
5290
5290
  /**
5291
5291
  * CSS classes to be applied on the widget main container
5292
5292
  *
@@ -5352,12 +5352,6 @@ interface TreeProps {
5352
5352
  * ```
5353
5353
  */
5354
5354
  ariaLabelToggleFn: (label: string) => string;
5355
- /**
5356
- * Optional accessibility label for the tree if there is no explicit label
5357
- *
5358
- * @defaultValue `''`
5359
- */
5360
- ariaLabel?: string;
5361
5355
  /**
5362
5356
  * CSS classes to be applied on the widget main container
5363
5357
  *
@@ -5532,12 +5526,6 @@ declare const treeDefaultSlotItem: SlotContent<TreeSlotItemContext>;
5532
5526
  */
5533
5527
  declare class TreeComponent extends BaseWidgetDirective<TreeWidget> {
5534
5528
  constructor();
5535
- /**
5536
- * Optional accessibility label for the tree if there is no explicit label
5537
- *
5538
- * @defaultValue `''`
5539
- */
5540
- readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
5541
5529
  /**
5542
5530
  * Array of the tree nodes to display
5543
5531
  *
@@ -5603,7 +5591,7 @@ declare class TreeComponent extends BaseWidgetDirective<TreeWidget> {
5603
5591
  readonly item: _angular_core.InputSignal<SlotContent<TreeSlotItemContext>>;
5604
5592
  readonly slotItemFromContent: _angular_core.Signal<TreeItemDirective | undefined>;
5605
5593
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeComponent, never>;
5606
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "[auTree]", never, { "ariaLabel": { "alias": "auAriaLabel"; "required": false; "isSignal": true; }; "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>;
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>;
5607
5595
  }
5608
5596
 
5609
5597
  /**
@@ -5658,10 +5646,14 @@ interface CarouselState<SlideData extends {
5658
5646
  initialized: boolean;
5659
5647
  /**
5660
5648
  * If `true`, 'previous' and 'next' navigation arrows will be visible.
5649
+ *
5650
+ * @defaultValue `true`
5661
5651
  */
5662
5652
  showNavigationArrows: boolean;
5663
5653
  /**
5664
5654
  * If `true`, navigation indicators at the bottom of the slide will be visible.
5655
+ *
5656
+ * @defaultValue `true`
5665
5657
  */
5666
5658
  showNavigationIndicators: boolean;
5667
5659
  /**
@@ -5701,20 +5693,14 @@ interface CarouselState<SlideData extends {
5701
5693
  slidesData: SlideData[];
5702
5694
  /**
5703
5695
  * The structure of the carousel.
5704
- *
5705
- * @defaultValue `undefined`
5706
5696
  */
5707
5697
  structure: SlotContent<CarouselContext<SlideData>>;
5708
5698
  /**
5709
5699
  * The navigation layer of the carousel.
5710
- *
5711
- * @defaultValue `undefined`
5712
5700
  */
5713
5701
  navigation: SlotContent<CarouselContext<SlideData>>;
5714
5702
  /**
5715
5703
  * The content of each slide in the carousel.
5716
- *
5717
- * @defaultValue `undefined`
5718
5704
  */
5719
5705
  slide: SlotContent<CarouselSlideContext<SlideData>>;
5720
5706
  /**
@@ -5739,14 +5725,23 @@ interface CarouselProps<SlideData extends {
5739
5725
  plugins: EmblaPluginType[];
5740
5726
  /**
5741
5727
  * Aria label for navigation indicators
5728
+ *
5729
+ * @defaultValue
5730
+ * ```ts
5731
+ * (index: number) => `Select slide ${index + 1}`
5732
+ * ```
5742
5733
  */
5743
5734
  ariaIndicatorLabel: (index: number) => string;
5744
5735
  /**
5745
5736
  * Aria label for previous button
5737
+ *
5738
+ * @defaultValue `'Select previous slide'`
5746
5739
  */
5747
5740
  ariaPrevLabel: string;
5748
5741
  /**
5749
5742
  * Aria label for next button
5743
+ *
5744
+ * @defaultValue `'Select next slide'`
5750
5745
  */
5751
5746
  ariaNextLabel: string;
5752
5747
  /**
@@ -5760,6 +5755,8 @@ interface CarouselProps<SlideData extends {
5760
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.
5761
5756
  *
5762
5757
  * @see {@link https://www.embla-carousel.com/api/options/#container}
5758
+ *
5759
+ * @defaultValue `null`
5763
5760
  */
5764
5761
  container: string | null;
5765
5762
  /**
@@ -5813,10 +5810,14 @@ interface CarouselProps<SlideData extends {
5813
5810
  skipSnaps: boolean;
5814
5811
  /**
5815
5812
  * If `true`, 'previous' and 'next' navigation arrows will be visible.
5813
+ *
5814
+ * @defaultValue `true`
5816
5815
  */
5817
5816
  showNavigationArrows: boolean;
5818
5817
  /**
5819
5818
  * If `true`, navigation indicators at the bottom of the slide will be visible.
5819
+ *
5820
+ * @defaultValue `true`
5820
5821
  */
5821
5822
  showNavigationIndicators: boolean;
5822
5823
  /**
@@ -5849,20 +5850,14 @@ interface CarouselProps<SlideData extends {
5849
5850
  slidesData: SlideData[];
5850
5851
  /**
5851
5852
  * The structure of the carousel.
5852
- *
5853
- * @defaultValue `undefined`
5854
5853
  */
5855
5854
  structure: SlotContent<CarouselContext<SlideData>>;
5856
5855
  /**
5857
5856
  * The navigation layer of the carousel.
5858
- *
5859
- * @defaultValue `undefined`
5860
5857
  */
5861
5858
  navigation: SlotContent<CarouselContext<SlideData>>;
5862
5859
  /**
5863
5860
  * The content of each slide in the carousel.
5864
- *
5865
- * @defaultValue `undefined`
5866
5861
  */
5867
5862
  slide: SlotContent<CarouselSlideContext<SlideData>>;
5868
5863
  /**
@@ -6022,14 +6017,23 @@ declare class CarouselComponent<SlideData extends {
6022
6017
  }> extends BaseWidgetDirective<CarouselWidget<SlideData>> {
6023
6018
  /**
6024
6019
  * Aria label for navigation indicators
6020
+ *
6021
+ * @defaultValue
6022
+ * ```ts
6023
+ * (index: number) => `Select slide ${index + 1}`
6024
+ * ```
6025
6025
  */
6026
6026
  readonly ariaIndicatorLabel: InputSignal<((index: number) => string) | undefined>;
6027
6027
  /**
6028
6028
  * Aria label for previous button
6029
+ *
6030
+ * @defaultValue `'Select previous slide'`
6029
6031
  */
6030
6032
  readonly ariaPrevLabel: InputSignal<string | undefined>;
6031
6033
  /**
6032
6034
  * Aria label for next button
6035
+ *
6036
+ * @defaultValue `'Select next slide'`
6033
6037
  */
6034
6038
  readonly ariaNextLabel: InputSignal<string | undefined>;
6035
6039
  /**
@@ -6076,10 +6080,14 @@ declare class CarouselComponent<SlideData extends {
6076
6080
  readonly skipSnaps: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6077
6081
  /**
6078
6082
  * If `true`, 'previous' and 'next' navigation arrows will be visible.
6083
+ *
6084
+ * @defaultValue `true`
6079
6085
  */
6080
6086
  readonly showNavigationArrows: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6081
6087
  /**
6082
6088
  * If `true`, navigation indicators at the bottom of the slide will be visible.
6089
+ *
6090
+ * @defaultValue `true`
6083
6091
  */
6084
6092
  readonly showNavigationIndicators: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6085
6093
  /**
@@ -6098,6 +6106,8 @@ declare class CarouselComponent<SlideData extends {
6098
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.
6099
6107
  *
6100
6108
  * @see {@link https://www.embla-carousel.com/api/options/#container}
6109
+ *
6110
+ * @defaultValue `null`
6101
6111
  */
6102
6112
  readonly container: InputSignal<string | null | undefined>;
6103
6113
  /**
@@ -6143,20 +6153,14 @@ declare class CarouselComponent<SlideData extends {
6143
6153
  readonly slidesData: InputSignal<SlideData[] | undefined>;
6144
6154
  /**
6145
6155
  * The structure of the carousel.
6146
- *
6147
- * @defaultValue `undefined`
6148
6156
  */
6149
6157
  readonly structure: InputSignal<SlotContent<CarouselContext<SlideData>>>;
6150
6158
  /**
6151
6159
  * The navigation layer of the carousel.
6152
- *
6153
- * @defaultValue `undefined`
6154
6160
  */
6155
6161
  readonly navigation: InputSignal<SlotContent<CarouselContext<SlideData>>>;
6156
6162
  /**
6157
6163
  * The content of each slide in the carousel.
6158
- *
6159
- * @defaultValue `undefined`
6160
6164
  */
6161
6165
  readonly slide: InputSignal<SlotContent<CarouselSlideContext<SlideData>>>;
6162
6166
  readonly slotSlideFromContent: _angular_core.Signal<CarouselSlideDirective<any> | undefined>;
@@ -6167,9 +6171,521 @@ declare class CarouselComponent<SlideData extends {
6167
6171
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CarouselComponent<any>, "[auCarousel]", never, { "ariaIndicatorLabel": { "alias": "auAriaIndicatorLabel"; "required": false; "isSignal": true; }; "ariaPrevLabel": { "alias": "auAriaPrevLabel"; "required": false; "isSignal": true; }; "ariaNextLabel": { "alias": "auAriaNextLabel"; "required": false; "isSignal": true; }; "direction": { "alias": "auDirection"; "required": false; "isSignal": true; }; "dragFree": { "alias": "auDragFree"; "required": false; "isSignal": true; }; "dragThreshold": { "alias": "auDragThreshold"; "required": false; "isSignal": true; }; "duration": { "alias": "auDuration"; "required": false; "isSignal": true; }; "loop": { "alias": "auLoop"; "required": false; "isSignal": true; }; "skipSnaps": { "alias": "auSkipSnaps"; "required": false; "isSignal": true; }; "showNavigationArrows": { "alias": "auShowNavigationArrows"; "required": false; "isSignal": true; }; "showNavigationIndicators": { "alias": "auShowNavigationIndicators"; "required": false; "isSignal": true; }; "plugins": { "alias": "auPlugins"; "required": false; "isSignal": true; }; "align": { "alias": "auAlign"; "required": false; "isSignal": true; }; "container": { "alias": "auContainer"; "required": false; "isSignal": true; }; "containScroll": { "alias": "auContainScroll"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "containerClass": { "alias": "auContainerClass"; "required": false; "isSignal": true; }; "slideClass": { "alias": "auSlideClass"; "required": false; "isSignal": true; }; "ariaLive": { "alias": "auAriaLive"; "required": false; "isSignal": true; }; "slidesData": { "alias": "auSlidesData"; "required": false; "isSignal": true; }; "structure": { "alias": "auStructure"; "required": false; "isSignal": true; }; "navigation": { "alias": "auNavigation"; "required": false; "isSignal": true; }; "slide": { "alias": "auSlide"; "required": false; "isSignal": true; }; }, {}, ["slotSlideFromContent", "slotStructureFromContent", "slotNavigationFromContent"], never, true, never>;
6168
6172
  }
6169
6173
 
6174
+ /**
6175
+ * Retrieve a shallow copy of the default Drawer config
6176
+ * @returns the default Drawer config
6177
+ */
6178
+ declare const export_getDrawerDefaultConfig: () => DrawerProps;
6179
+
6180
+ /**
6181
+ * Represents the context for a Drawer widget.
6182
+ * This interface is an alias for `WidgetSlotContext<DrawerWidget>`.
6183
+ */
6184
+ type DrawerContext = WidgetSlotContext<DrawerWidget>;
6185
+ /**
6186
+ * Represents the state of a Drawer component.
6187
+ */
6188
+ interface DrawerState {
6189
+ /**
6190
+ * Whether the backdrop is fully hidden. This can be true either because {@link DrawerProps.backdrop|backdrop} is false or
6191
+ * because {@link DrawerProps.visible|visible} is false and there is no current transition.
6192
+ */
6193
+ backdropHidden: boolean;
6194
+ /**
6195
+ * Flag to show whether the drawer is fully hidden.
6196
+ */
6197
+ hidden: boolean;
6198
+ /**
6199
+ * CSS classes to be applied on the widget main container
6200
+ *
6201
+ * @defaultValue `'w-full'`
6202
+ */
6203
+ className: string;
6204
+ /**
6205
+ * Which element should contain the drawer and backdrop DOM elements.
6206
+ * If it is not null, the drawer and backdrop DOM elements are moved to the specified container.
6207
+ * Otherwise, they stay where the widget is located.
6208
+ *
6209
+ * @defaultValue
6210
+ * ```ts
6211
+ * typeof window !== 'undefined' ? document.body : null
6212
+ * ```
6213
+ */
6214
+ container: HTMLElement | null;
6215
+ /**
6216
+ * Classes to add on the backdrop DOM element.
6217
+ *
6218
+ * @defaultValue `''`
6219
+ */
6220
+ backdropClass: string;
6221
+ /**
6222
+ * If `true`, the drawer is shown; otherwise, it is hidden.
6223
+ *
6224
+ * @defaultValue `false`
6225
+ */
6226
+ visible: boolean;
6227
+ /**
6228
+ * If `true`, the drawer can be resized by the user.
6229
+ *
6230
+ * @defaultValue `false`
6231
+ */
6232
+ resizable: boolean;
6233
+ /**
6234
+ * Global template for the drawer component
6235
+ */
6236
+ structure: SlotContent<DrawerContext>;
6237
+ /**
6238
+ * Template for the drawer header
6239
+ */
6240
+ header: SlotContent<DrawerContext>;
6241
+ /**
6242
+ * Template for the drawer body
6243
+ */
6244
+ children: SlotContent<DrawerContext>;
6245
+ }
6246
+ /**
6247
+ * Represents the properties for the Drawer component.
6248
+ */
6249
+ interface DrawerProps {
6250
+ /**
6251
+ * The transition function will be executed when the drawer is displayed or hidden.
6252
+ *
6253
+ * @defaultValue
6254
+ * ```ts
6255
+ * collapseHorizontalTransition
6256
+ * ```
6257
+ */
6258
+ transition: TransitionFn;
6259
+ /**
6260
+ * The transition function for vertically positioned drawer (top, bottom) that will be executed when the drawer is displayed or hidden.
6261
+ *
6262
+ * @defaultValue
6263
+ * ```ts
6264
+ * collapseVerticalTransition
6265
+ * ```
6266
+ */
6267
+ verticalTransition: TransitionFn;
6268
+ /**
6269
+ * The transition to use for the backdrop behind the drawer (if present).
6270
+ *
6271
+ * @defaultValue `fadeTransition`
6272
+ */
6273
+ backdropTransition: TransitionFn;
6274
+ /**
6275
+ * If `true` opening and closing will be animated.
6276
+ *
6277
+ * @defaultValue `true`
6278
+ */
6279
+ animated: boolean;
6280
+ /**
6281
+ * aria-labelledby attribute to use for the drawer element.
6282
+ *
6283
+ * @defaultValue `''`
6284
+ */
6285
+ ariaLabelledBy: string;
6286
+ /**
6287
+ * aria-describedby attribute to use for the drawer element.
6288
+ *
6289
+ * @defaultValue `''`
6290
+ */
6291
+ ariaDescribedBy: string;
6292
+ /**
6293
+ * The width of the drawer in pixels.
6294
+ *
6295
+ * @defaultValue `200`
6296
+ */
6297
+ width: number;
6298
+ /**
6299
+ * The height of the drawer in pixels.
6300
+ *
6301
+ * @defaultValue `200`
6302
+ */
6303
+ height: number;
6304
+ /**
6305
+ * If `true` displays the backdrop element and disables the body scrolling, otherwise the body of the document is navigable
6306
+ *
6307
+ * @defaultValue `true`
6308
+ */
6309
+ backdrop: boolean;
6310
+ /**
6311
+ * If `true` allows body scrolling when the drawer is open.
6312
+ *
6313
+ * @defaultValue `false`
6314
+ */
6315
+ bodyScroll: boolean;
6316
+ /**
6317
+ * Event to be triggered when the transition is completed and the drawer is not visible.
6318
+ *
6319
+ * @defaultValue
6320
+ * ```ts
6321
+ * () => {}
6322
+ * ```
6323
+ */
6324
+ onHidden: () => void;
6325
+ /**
6326
+ * Event to be triggered when the transition is completed and the drawer is visible.
6327
+ *
6328
+ * @defaultValue
6329
+ * ```ts
6330
+ * () => {}
6331
+ * ```
6332
+ */
6333
+ onShown: () => void;
6334
+ /**
6335
+ * An event emitted when the width is changed.
6336
+ *
6337
+ * Event payload is equal to the newly selected width.
6338
+ *
6339
+ * @defaultValue
6340
+ * ```ts
6341
+ * () => {}
6342
+ * ```
6343
+ */
6344
+ onWidthChange: (width: number) => void;
6345
+ /**
6346
+ * An event emitted when the height is changed.
6347
+ *
6348
+ * Event payload is equal to the newly selected height.
6349
+ *
6350
+ * @defaultValue
6351
+ * ```ts
6352
+ * () => {}
6353
+ * ```
6354
+ */
6355
+ onHeightChange: (width: number) => void;
6356
+ /**
6357
+ * Event to be triggered when the visible property changes.
6358
+ *
6359
+ * @param visible - new value of the visible propery
6360
+ *
6361
+ * @defaultValue
6362
+ * ```ts
6363
+ * () => {}
6364
+ * ```
6365
+ */
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;
6373
+ /**
6374
+ * Which element should contain the drawer and backdrop DOM elements.
6375
+ * If it is not null, the drawer and backdrop DOM elements are moved to the specified container.
6376
+ * Otherwise, they stay where the widget is located.
6377
+ *
6378
+ * @defaultValue
6379
+ * ```ts
6380
+ * typeof window !== 'undefined' ? document.body : null
6381
+ * ```
6382
+ */
6383
+ container: HTMLElement | null;
6384
+ /**
6385
+ * Classes to add on the backdrop DOM element.
6386
+ *
6387
+ * @defaultValue `''`
6388
+ */
6389
+ backdropClass: string;
6390
+ /**
6391
+ * If `true`, the drawer is shown; otherwise, it is hidden.
6392
+ *
6393
+ * @defaultValue `false`
6394
+ */
6395
+ visible: boolean;
6396
+ /**
6397
+ * If `true`, the drawer can be resized by the user.
6398
+ *
6399
+ * @defaultValue `false`
6400
+ */
6401
+ resizable: boolean;
6402
+ /**
6403
+ * Global template for the drawer component
6404
+ */
6405
+ structure: SlotContent<DrawerContext>;
6406
+ /**
6407
+ * Template for the drawer header
6408
+ */
6409
+ header: SlotContent<DrawerContext>;
6410
+ /**
6411
+ * Template for the drawer body
6412
+ */
6413
+ children: SlotContent<DrawerContext>;
6414
+ }
6415
+ /**
6416
+ * Represents the directives for the Drawer component.
6417
+ */
6418
+ interface DrawerDirectives {
6419
+ /**
6420
+ * Directive to put on the drawer DOM element.
6421
+ */
6422
+ drawerDirective: Directive;
6423
+ /**
6424
+ * Directive to put on the backdrop DOM element.
6425
+ */
6426
+ backdropDirective: Directive;
6427
+ /**
6428
+ * Directive to put on the splitter DOM element.
6429
+ */
6430
+ splitterDirective: Directive;
6431
+ /**
6432
+ * Directive to put on the container DOM element in order for the drawer to size correctly.
6433
+ */
6434
+ containerDirective: Directive;
6435
+ /**
6436
+ * Portal directive to put on the drawer DOM element.
6437
+ */
6438
+ drawerPortalDirective: Directive;
6439
+ /**
6440
+ * Portal directive to put on the backdrop DOM element.
6441
+ */
6442
+ backdropPortalDirective: Directive;
6443
+ }
6444
+ /**
6445
+ * Represents a Drawer widget component.
6446
+ */
6447
+ type DrawerWidget = Widget<DrawerProps, DrawerState, DrawerApi, DrawerDirectives>;
6448
+ /**
6449
+ * Create a Drawer with given config props
6450
+ * @param config - an optional Drawer config
6451
+ * @returns a DrawerWidget
6452
+ */
6453
+ declare const export_createDrawer: WidgetFactory<DrawerWidget>;
6454
+
6455
+ /**
6456
+ * Possible values for the drawer positions
6457
+ */
6458
+ type DrawerPositions = 'inline-start' | 'inline-end' | 'block-start' | 'block-end';
6459
+ /**
6460
+ * Interface representing the API for a Drawer component.
6461
+ */
6462
+ interface DrawerApi {
6463
+ /**
6464
+ * Trigger the opening of the drawer.
6465
+ */
6466
+ open: () => void;
6467
+ /**
6468
+ * Trigger the closing of the drawer.
6469
+ */
6470
+ close: () => void;
6471
+ }
6472
+
6473
+ /**
6474
+ * Directive to define the structure of a drawer component.
6475
+ * This directive uses a template reference to render the {@link DrawerContext}.
6476
+ */
6477
+ declare class DrawerStructureDirective {
6478
+ templateRef: TemplateRef<any>;
6479
+ static ngTemplateContextGuard(_dir: DrawerStructureDirective, context: unknown): context is DrawerContext;
6480
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerStructureDirective, never>;
6481
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DrawerStructureDirective, "ng-template[auDrawerStructure]", never, {}, {}, never, never, true, never>;
6482
+ }
6483
+ /**
6484
+ * Directive representing the header of a drawer component.
6485
+ * This directive uses a template reference to render the {@link DrawerContext}.
6486
+ */
6487
+ declare class DrawerHeaderDirective {
6488
+ templateRef: TemplateRef<any>;
6489
+ static ngTemplateContextGuard(_dir: DrawerHeaderDirective, context: unknown): context is DrawerContext;
6490
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerHeaderDirective, never>;
6491
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DrawerHeaderDirective, "ng-template[auDrawerHeader]", never, {}, {}, never, never, true, never>;
6492
+ }
6493
+ /**
6494
+ * Directive to represent the body of a drawer notification.
6495
+ * This directive uses a template reference to render the {@link DrawerContext}.
6496
+ */
6497
+ declare class DrawerBodyDirective {
6498
+ templateRef: TemplateRef<any>;
6499
+ static ngTemplateContextGuard(_dir: DrawerBodyDirective, context: unknown): context is DrawerContext;
6500
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerBodyDirective, never>;
6501
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DrawerBodyDirective, "ng-template[auDrawerBody]", never, {}, {}, never, never, true, never>;
6502
+ }
6503
+ /**
6504
+ * Represents the default slot structure for the drawer component.
6505
+ */
6506
+ declare const drawerDefaultSlotStructure: SlotContent<DrawerContext>;
6507
+ /**
6508
+ * DrawerComponent is an Angular component that extends the BaseWidgetDirective
6509
+ * to provide a customizable drawer widget. This component allows for various
6510
+ * configurations and customizations through its inputs and outputs.
6511
+ */
6512
+ declare class DrawerComponent extends BaseWidgetDirective<DrawerWidget> {
6513
+ /**
6514
+ * If `true` opening and closing will be animated.
6515
+ *
6516
+ * @defaultValue `true`
6517
+ */
6518
+ readonly animated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6519
+ /**
6520
+ * aria-labelledby attribute to use for the drawer element.
6521
+ *
6522
+ * @defaultValue `''`
6523
+ */
6524
+ readonly ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
6525
+ /**
6526
+ * aria-describedby attribute to use for the drawer element.
6527
+ *
6528
+ * @defaultValue `''`
6529
+ */
6530
+ readonly ariaDescribedBy: _angular_core.InputSignal<string | undefined>;
6531
+ /**
6532
+ * If `true`, the drawer is shown; otherwise, it is hidden.
6533
+ *
6534
+ * @defaultValue `false`
6535
+ */
6536
+ readonly visible: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6537
+ /**
6538
+ * The transition function for vertically positioned drawer (top, bottom) that will be executed when the drawer is displayed or hidden.
6539
+ *
6540
+ * @defaultValue
6541
+ * ```ts
6542
+ * collapseVerticalTransition
6543
+ * ```
6544
+ */
6545
+ readonly verticalTransition: _angular_core.InputSignal<TransitionFn | undefined>;
6546
+ /**
6547
+ * The transition function will be executed when the drawer is displayed or hidden.
6548
+ *
6549
+ * @defaultValue
6550
+ * ```ts
6551
+ * collapseHorizontalTransition
6552
+ * ```
6553
+ */
6554
+ readonly transition: _angular_core.InputSignal<TransitionFn | undefined>;
6555
+ /**
6556
+ * The transition to use for the backdrop behind the drawer (if present).
6557
+ *
6558
+ * @defaultValue `fadeTransition`
6559
+ */
6560
+ readonly backdropTransition: _angular_core.InputSignal<TransitionFn | undefined>;
6561
+ /**
6562
+ * Which element should contain the drawer and backdrop DOM elements.
6563
+ * If it is not null, the drawer and backdrop DOM elements are moved to the specified container.
6564
+ * Otherwise, they stay where the widget is located.
6565
+ *
6566
+ * @defaultValue
6567
+ * ```ts
6568
+ * typeof window !== 'undefined' ? document.body : null
6569
+ * ```
6570
+ */
6571
+ readonly container: _angular_core.InputSignal<HTMLElement | null | undefined>;
6572
+ /**
6573
+ * If `true` displays the backdrop element and disables the body scrolling, otherwise the body of the document is navigable
6574
+ *
6575
+ * @defaultValue `true`
6576
+ */
6577
+ readonly backdrop: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6578
+ /**
6579
+ * If `true` allows body scrolling when the drawer is open.
6580
+ *
6581
+ * @defaultValue `false`
6582
+ */
6583
+ readonly bodyScroll: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6584
+ /**
6585
+ * Classes to add on the backdrop DOM element.
6586
+ *
6587
+ * @defaultValue `''`
6588
+ */
6589
+ readonly backdropClass: _angular_core.InputSignal<string | undefined>;
6590
+ /**
6591
+ * CSS classes to be applied on the widget main container
6592
+ *
6593
+ * @defaultValue `'w-full'`
6594
+ */
6595
+ readonly className: _angular_core.InputSignal<string | undefined>;
6596
+ /**
6597
+ * If `true`, the drawer can be resized by the user.
6598
+ *
6599
+ * @defaultValue `false`
6600
+ */
6601
+ readonly resizable: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6602
+ /**
6603
+ * The width of the drawer in pixels.
6604
+ *
6605
+ * @defaultValue `200`
6606
+ */
6607
+ readonly width: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
6608
+ /**
6609
+ * The height of the drawer in pixels.
6610
+ *
6611
+ * @defaultValue `200`
6612
+ */
6613
+ readonly height: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
6614
+ /**
6615
+ * An event emitted when the width is changed.
6616
+ *
6617
+ * Event payload is equal to the newly selected width.
6618
+ *
6619
+ * @defaultValue
6620
+ * ```ts
6621
+ * () => {}
6622
+ * ```
6623
+ */
6624
+ readonly widthChange: _angular_core.OutputEmitterRef<number>;
6625
+ /**
6626
+ * An event emitted when the height is changed.
6627
+ *
6628
+ * Event payload is equal to the newly selected height.
6629
+ *
6630
+ * @defaultValue
6631
+ * ```ts
6632
+ * () => {}
6633
+ * ```
6634
+ */
6635
+ readonly heightChange: _angular_core.OutputEmitterRef<number>;
6636
+ /**
6637
+ * Event to be triggered when the visible property changes.
6638
+ *
6639
+ * @param visible - new value of the visible propery
6640
+ *
6641
+ * @defaultValue
6642
+ * ```ts
6643
+ * () => {}
6644
+ * ```
6645
+ */
6646
+ readonly visibleChange: _angular_core.OutputEmitterRef<boolean>;
6647
+ /**
6648
+ * Event to be triggered when the transition is completed and the drawer is not visible.
6649
+ *
6650
+ * @defaultValue
6651
+ * ```ts
6652
+ * () => {}
6653
+ * ```
6654
+ */
6655
+ readonly hidden: _angular_core.OutputEmitterRef<void>;
6656
+ /**
6657
+ * Event to be triggered when the transition is completed and the drawer is visible.
6658
+ *
6659
+ * @defaultValue
6660
+ * ```ts
6661
+ * () => {}
6662
+ * ```
6663
+ */
6664
+ readonly shown: _angular_core.OutputEmitterRef<void>;
6665
+ constructor();
6666
+ /**
6667
+ * Global template for the drawer component
6668
+ */
6669
+ readonly structure: _angular_core.InputSignal<SlotContent<DrawerContext>>;
6670
+ readonly slotStructureFromContent: _angular_core.Signal<DrawerStructureDirective | undefined>;
6671
+ /**
6672
+ * Template for the drawer header
6673
+ */
6674
+ readonly header: _angular_core.InputSignal<SlotContent<DrawerContext>>;
6675
+ readonly slotHeaderFromContent: _angular_core.Signal<DrawerHeaderDirective | undefined>;
6676
+ /**
6677
+ * Template for the drawer body
6678
+ */
6679
+ readonly children: _angular_core.InputSignal<SlotContent<DrawerContext>>;
6680
+ readonly slotBodyFromContent: _angular_core.Signal<DrawerBodyDirective | undefined>;
6681
+ readonly slotChildren: _angular_core.Signal<TemplateRef<void> | undefined>;
6682
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerComponent, never>;
6683
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "[auDrawer]", never, { "animated": { "alias": "auAnimated"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "auAriaLabelledBy"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "auAriaDescribedBy"; "required": false; "isSignal": true; }; "visible": { "alias": "auVisible"; "required": false; "isSignal": true; }; "verticalTransition": { "alias": "auVerticalTransition"; "required": false; "isSignal": true; }; "transition": { "alias": "auTransition"; "required": false; "isSignal": true; }; "backdropTransition": { "alias": "auBackdropTransition"; "required": false; "isSignal": true; }; "container": { "alias": "auContainer"; "required": false; "isSignal": true; }; "backdrop": { "alias": "auBackdrop"; "required": false; "isSignal": true; }; "bodyScroll": { "alias": "auBodyScroll"; "required": false; "isSignal": true; }; "backdropClass": { "alias": "auBackdropClass"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "resizable": { "alias": "auResizable"; "required": false; "isSignal": true; }; "width": { "alias": "auWidth"; "required": false; "isSignal": true; }; "height": { "alias": "auHeight"; "required": false; "isSignal": true; }; "structure": { "alias": "auStructure"; "required": false; "isSignal": true; }; "header": { "alias": "auHeader"; "required": false; "isSignal": true; }; "children": { "alias": "auChildren"; "required": false; "isSignal": true; }; }, { "widthChange": "auWidthChange"; "heightChange": "auHeightChange"; "visibleChange": "auVisibleChange"; "hidden": "auHidden"; "shown": "auShown"; }, ["slotStructureFromContent", "slotHeaderFromContent", "slotBodyFromContent"], ["*"], true, never>;
6684
+ }
6685
+
6170
6686
  declare class AgnosUIAngularModule {
6171
6687
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AgnosUIAngularModule, never>;
6172
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AgnosUIAngularModule, never, [typeof i1.SlotDirective, typeof SelectComponent, typeof SelectBadgeLabelDirective, typeof SelectItemLabelDirective, typeof i1.UseDirective, typeof i1.UseMultiDirective, typeof RatingComponent, typeof RatingStarDirective, typeof PaginationComponent, typeof PaginationEllipsisDirective, typeof PaginationFirstDirective, typeof PaginationLastDirective, typeof PaginationNextDirective, typeof PaginationNumberDirective, typeof PaginationPreviousDirective, typeof PaginationPagesDirective, typeof PaginationStructureDirective, typeof ModalComponent, typeof ModalStructureDirective, typeof ModalHeaderDirective, typeof ModalTitleDirective, typeof ModalBodyDirective, typeof ModalFooterDirective, typeof AlertComponent, typeof AlertStructureDirective, typeof AlertBodyDirective, typeof AccordionDirective, typeof AccordionItemComponent, typeof AccordionHeaderDirective, typeof AccordionBodyDirective, typeof AccordionItemStructureDirective, typeof SliderComponent, typeof SliderHandleDirective, typeof SliderLabelDirective, typeof SliderStructureDirective, typeof SliderTickDirective, typeof ProgressbarComponent, typeof ProgressbarStructureDirective, typeof ProgressbarBodyDirective, typeof ToastComponent, typeof ToastStructureDirective, typeof ToastBodyDirective, typeof ToastHeaderDirective, typeof ToasterComponent, typeof CollapseDirective, typeof CollapseTriggerDirective, typeof TreeComponent, typeof TreeStructureDirective, typeof TreeItemToggleDirective, typeof TreeItemContentDirective, typeof TreeItemDirective, typeof CarouselComponent, typeof CarouselSlideDirective, typeof CarouselStructureDirective, typeof CarouselNavigationDirective], [typeof i1.SlotDirective, typeof SelectComponent, typeof SelectBadgeLabelDirective, typeof SelectItemLabelDirective, typeof i1.UseDirective, typeof i1.UseMultiDirective, typeof RatingComponent, typeof RatingStarDirective, typeof PaginationComponent, typeof PaginationEllipsisDirective, typeof PaginationFirstDirective, typeof PaginationLastDirective, typeof PaginationNextDirective, typeof PaginationNumberDirective, typeof PaginationPreviousDirective, typeof PaginationPagesDirective, typeof PaginationStructureDirective, typeof ModalComponent, typeof ModalStructureDirective, typeof ModalHeaderDirective, typeof ModalTitleDirective, typeof ModalBodyDirective, typeof ModalFooterDirective, typeof AlertComponent, typeof AlertStructureDirective, typeof AlertBodyDirective, typeof AccordionDirective, typeof AccordionItemComponent, typeof AccordionHeaderDirective, typeof AccordionBodyDirective, typeof AccordionItemStructureDirective, typeof SliderComponent, typeof SliderHandleDirective, typeof SliderLabelDirective, typeof SliderStructureDirective, typeof SliderTickDirective, typeof ProgressbarComponent, typeof ProgressbarStructureDirective, typeof ProgressbarBodyDirective, typeof ToastComponent, typeof ToastStructureDirective, typeof ToastBodyDirective, typeof ToastHeaderDirective, typeof ToasterComponent, typeof CollapseDirective, typeof CollapseTriggerDirective, typeof TreeComponent, typeof TreeStructureDirective, typeof TreeItemToggleDirective, typeof TreeItemContentDirective, typeof TreeItemDirective, typeof CarouselComponent, typeof CarouselSlideDirective, typeof CarouselStructureDirective, typeof CarouselNavigationDirective]>;
6688
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AgnosUIAngularModule, never, [typeof i1.SlotDirective, typeof SelectComponent, typeof SelectBadgeLabelDirective, typeof SelectItemLabelDirective, typeof i1.UseDirective, typeof i1.UseMultiDirective, typeof RatingComponent, typeof RatingStarDirective, typeof PaginationComponent, typeof PaginationEllipsisDirective, typeof PaginationFirstDirective, typeof PaginationLastDirective, typeof PaginationNextDirective, typeof PaginationNumberDirective, typeof PaginationPreviousDirective, typeof PaginationPagesDirective, typeof PaginationStructureDirective, typeof ModalComponent, typeof ModalStructureDirective, typeof ModalHeaderDirective, typeof ModalTitleDirective, typeof ModalBodyDirective, typeof ModalFooterDirective, typeof AlertComponent, typeof AlertStructureDirective, typeof AlertBodyDirective, typeof AccordionDirective, typeof AccordionItemComponent, typeof AccordionHeaderDirective, typeof AccordionBodyDirective, typeof AccordionItemStructureDirective, typeof SliderComponent, typeof SliderHandleDirective, typeof SliderLabelDirective, typeof SliderStructureDirective, typeof SliderTickDirective, typeof ProgressbarComponent, typeof ProgressbarStructureDirective, typeof ProgressbarBodyDirective, typeof ToastComponent, typeof ToastStructureDirective, typeof ToastBodyDirective, typeof ToastHeaderDirective, typeof ToasterComponent, typeof CollapseDirective, typeof CollapseTriggerDirective, typeof TreeComponent, typeof TreeStructureDirective, typeof TreeItemToggleDirective, typeof TreeItemContentDirective, typeof TreeItemDirective, typeof CarouselComponent, typeof CarouselSlideDirective, typeof CarouselStructureDirective, typeof CarouselNavigationDirective, typeof DrawerComponent, typeof DrawerStructureDirective, typeof DrawerHeaderDirective, typeof DrawerBodyDirective], [typeof i1.SlotDirective, typeof SelectComponent, typeof SelectBadgeLabelDirective, typeof SelectItemLabelDirective, typeof i1.UseDirective, typeof i1.UseMultiDirective, typeof RatingComponent, typeof RatingStarDirective, typeof PaginationComponent, typeof PaginationEllipsisDirective, typeof PaginationFirstDirective, typeof PaginationLastDirective, typeof PaginationNextDirective, typeof PaginationNumberDirective, typeof PaginationPreviousDirective, typeof PaginationPagesDirective, typeof PaginationStructureDirective, typeof ModalComponent, typeof ModalStructureDirective, typeof ModalHeaderDirective, typeof ModalTitleDirective, typeof ModalBodyDirective, typeof ModalFooterDirective, typeof AlertComponent, typeof AlertStructureDirective, typeof AlertBodyDirective, typeof AccordionDirective, typeof AccordionItemComponent, typeof AccordionHeaderDirective, typeof AccordionBodyDirective, typeof AccordionItemStructureDirective, typeof SliderComponent, typeof SliderHandleDirective, typeof SliderLabelDirective, typeof SliderStructureDirective, typeof SliderTickDirective, typeof ProgressbarComponent, typeof ProgressbarStructureDirective, typeof ProgressbarBodyDirective, typeof ToastComponent, typeof ToastStructureDirective, typeof ToastBodyDirective, typeof ToastHeaderDirective, typeof ToasterComponent, typeof CollapseDirective, typeof CollapseTriggerDirective, typeof TreeComponent, typeof TreeStructureDirective, typeof TreeItemToggleDirective, typeof TreeItemContentDirective, typeof TreeItemDirective, typeof CarouselComponent, typeof CarouselSlideDirective, typeof CarouselStructureDirective, typeof CarouselNavigationDirective, typeof DrawerComponent, typeof DrawerStructureDirective, typeof DrawerHeaderDirective, typeof DrawerBodyDirective]>;
6173
6689
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AgnosUIAngularModule>;
6174
6690
  }
6175
6691
 
@@ -6232,7 +6748,7 @@ interface CollapseProps {
6232
6748
  /**
6233
6749
  * If `true` the collapse is visible to the user
6234
6750
  *
6235
- * @defaultValue `true`
6751
+ * @defaultValue `false`
6236
6752
  */
6237
6753
  visible: boolean;
6238
6754
  /**
@@ -6275,7 +6791,7 @@ interface CollapseState {
6275
6791
  /**
6276
6792
  * If `true` the collapse is visible to the user
6277
6793
  *
6278
- * @defaultValue `true`
6794
+ * @defaultValue `false`
6279
6795
  */
6280
6796
  visible: boolean;
6281
6797
  }
@@ -6346,6 +6862,10 @@ type WidgetsConfig = {
6346
6862
  * the collapse widget config
6347
6863
  */
6348
6864
  collapse: CollapseProps;
6865
+ /**
6866
+ * the drawer widget config
6867
+ */
6868
+ drawer: DrawerProps;
6349
6869
  /**
6350
6870
  * the modal widget config
6351
6871
  */
@@ -6482,5 +7002,5 @@ declare const callWidgetFactory: <W extends Widget<object, object, object, objec
6482
7002
  slotChildren?: () => TemplateRef<void> | undefined;
6483
7003
  }) => AngularWidget<W>;
6484
7004
 
6485
- export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertStructureDirective, CarouselComponent, CarouselNavigationDirective, CarouselSlideDirective, CarouselStructureDirective, CollapseDirective, CollapseTriggerDirective, ModalBodyDirective, ModalComponent, ModalFooterDirective, ModalHeaderDirective, ModalService, ModalStructureDirective, ModalTitleDirective, PaginationComponent, PaginationEllipsisDirective, PaginationFirstDirective, PaginationLastDirective, PaginationNextDirective, PaginationNumberDirective, PaginationPagesDirective, PaginationPreviousDirective, PaginationStructureDirective, ProgressbarBodyDirective, ProgressbarComponent, ProgressbarStructureDirective, RatingComponent, RatingStarDirective, SelectBadgeLabelDirective, SelectComponent, SelectItemLabelDirective, SliderComponent, SliderHandleDirective, SliderLabelDirective, SliderStructureDirective, SliderTickDirective, ToastBodyDirective, ToastComponent, ToastHeaderDirective, ToastStructureDirective, ToasterComponent, ToasterService, TreeComponent, TreeItemContentDirective, TreeItemDirective, TreeItemToggleDirective, TreeStructureDirective, accordionItemDefaultSlotStructure, alertDefaultSlotStructure, callWidgetFactory, carouselDefaultSlotNavigation, carouselDefaultSlotStructure, export_createAccordion as createAccordion, export_createAccordionItem as createAccordionItem, export_createAlert as createAlert, export_createCarousel as createCarousel, export_createCollapse as createCollapse, export_createModal as createModal, export_createPagination as createPagination, export_createProgressbar as createProgressbar, export_createRating as createRating, export_createSelect as createSelect, export_createSlider as createSlider, export_createToast as createToast, export_createTree as createTree, export_defaultToasterProps as defaultToasterProps, export_factoryCreateAccordion as factoryCreateAccordion, export_getAccordionDefaultConfig as getAccordionDefaultConfig, export_getAlertDefaultConfig as getAlertDefaultConfig, export_getCarouselDefaultConfig as getCarouselDefaultConfig, export_getCollapseDefaultConfig as getCollapseDefaultConfig, export_getModalDefaultConfig as getModalDefaultConfig, export_getPaginationDefaultConfig as getPaginationDefaultConfig, export_getProgressbarDefaultConfig as getProgressbarDefaultConfig, export_getRatingDefaultConfig as getRatingDefaultConfig, export_getSelectDefaultConfig as getSelectDefaultConfig, export_getSliderDefaultConfig as getSliderDefaultConfig, export_getToastDefaultConfig as getToastDefaultConfig, export_getTreeDefaultConfig as getTreeDefaultConfig, injectWidgetConfig, injectWidgetsConfig, export_modalCloseButtonClick as modalCloseButtonClick, modalDefaultSlotHeader, modalDefaultSlotStructure, export_modalOutsideClick as modalOutsideClick, paginationDefaultSlotPages, paginationDefaultSlotStructure, progressbarDefaultSlotStructure, provideWidgetsConfig, sliderDefaultSlotHandle, sliderDefaultSlotStructure, sliderDefaultSlotTick, toastDefaultSlotStructure, export_toastPositions as toastPositions, treeDefaultItemToggle, treeDefaultSlotItem, treeDefaultSlotItemContent, treeDefaultSlotStructure, widgetsConfigInjectionToken };
6486
- export type { AccordionApi, AccordionDirectives, AccordionItemApi, AccordionItemContext, AccordionItemDirectives, AccordionItemProps, AccordionItemState, AccordionItemWidget, AccordionProps, AccordionState, AccordionWidget, AlertApi, AlertContext, AlertDirectives, AlertProps, AlertState, AlertWidget, CarouselApi, CarouselContext, CarouselDirectives, CarouselProps, CarouselSlideContext, CarouselState, CarouselWidget, CollapseApi, CollapseDirectives, CollapseProps, CollapseState, CollapseWidget, DirectionsHrefs, HandleDisplayOptions, ItemContext, ModalApi, ModalBeforeCloseEvent, ModalContext, ModalDirectives, ModalProps, ModalState, ModalWidget, NormalizedTreeItem, PaginationApi, PaginationContext, PaginationDirectives, PaginationNumberContext, PaginationProps, PaginationState, PaginationWidget, ProgressDisplayOptions, ProgressbarContext, ProgressbarDirectives, ProgressbarProps, ProgressbarState, ProgressbarWidget, RatingApi, RatingDirectives, RatingProps, RatingState, RatingWidget, SelectApi, SelectContext, SelectDirectives, SelectItemContext, SelectProps, SelectState, SelectWidget, SliderContext, SliderDirectives, SliderHandle, SliderProps, SliderSlotHandleContext, SliderSlotLabelContext, SliderSlotTickContext, SliderState, SliderTick, SliderWidget, StarContext, ToastApi, ToastContext, ToastDirectives, ToastPositions, ToastProps, ToastState, ToastWidget, ToasterProps, ToasterTimer, ToasterToast, TreeApi, TreeContext, TreeDirectives, TreeItem, TreeProps, TreeSlotItemContext, TreeState, TreeWidget, WidgetsConfig };
7005
+ export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertStructureDirective, CarouselComponent, CarouselNavigationDirective, CarouselSlideDirective, CarouselStructureDirective, CollapseDirective, CollapseTriggerDirective, DrawerBodyDirective, DrawerComponent, DrawerHeaderDirective, DrawerStructureDirective, ModalBodyDirective, ModalComponent, ModalFooterDirective, ModalHeaderDirective, ModalService, ModalStructureDirective, ModalTitleDirective, PaginationComponent, PaginationEllipsisDirective, PaginationFirstDirective, PaginationLastDirective, PaginationNextDirective, PaginationNumberDirective, PaginationPagesDirective, PaginationPreviousDirective, PaginationStructureDirective, ProgressbarBodyDirective, ProgressbarComponent, ProgressbarStructureDirective, RatingComponent, RatingStarDirective, SelectBadgeLabelDirective, SelectComponent, SelectItemLabelDirective, SliderComponent, SliderHandleDirective, SliderLabelDirective, SliderStructureDirective, SliderTickDirective, ToastBodyDirective, ToastComponent, ToastHeaderDirective, ToastStructureDirective, ToasterComponent, ToasterService, TreeComponent, TreeItemContentDirective, TreeItemDirective, TreeItemToggleDirective, TreeStructureDirective, accordionItemDefaultSlotStructure, alertDefaultSlotStructure, callWidgetFactory, carouselDefaultSlotNavigation, carouselDefaultSlotStructure, export_createAccordion as createAccordion, export_createAccordionItem as createAccordionItem, export_createAlert as createAlert, export_createCarousel as createCarousel, export_createCollapse as createCollapse, export_createDrawer as createDrawer, export_createModal as createModal, export_createPagination as createPagination, export_createProgressbar as createProgressbar, export_createRating as createRating, export_createSelect as createSelect, export_createSlider as createSlider, export_createToast as createToast, export_createTree as createTree, export_defaultToasterProps as defaultToasterProps, drawerDefaultSlotStructure, export_factoryCreateAccordion as factoryCreateAccordion, export_getAccordionDefaultConfig as getAccordionDefaultConfig, export_getAlertDefaultConfig as getAlertDefaultConfig, export_getCarouselDefaultConfig as getCarouselDefaultConfig, export_getCollapseDefaultConfig as getCollapseDefaultConfig, export_getDrawerDefaultConfig as getDrawerDefaultConfig, export_getModalDefaultConfig as getModalDefaultConfig, export_getPaginationDefaultConfig as getPaginationDefaultConfig, export_getProgressbarDefaultConfig as getProgressbarDefaultConfig, export_getRatingDefaultConfig as getRatingDefaultConfig, export_getSelectDefaultConfig as getSelectDefaultConfig, export_getSliderDefaultConfig as getSliderDefaultConfig, export_getToastDefaultConfig as getToastDefaultConfig, export_getTreeDefaultConfig as getTreeDefaultConfig, injectWidgetConfig, injectWidgetsConfig, export_modalCloseButtonClick as modalCloseButtonClick, export_modalCloseEscape as modalCloseEscape, modalDefaultSlotHeader, modalDefaultSlotStructure, export_modalOutsideClick as modalOutsideClick, paginationDefaultSlotPages, paginationDefaultSlotStructure, progressbarDefaultSlotStructure, provideWidgetsConfig, sliderDefaultSlotHandle, sliderDefaultSlotStructure, sliderDefaultSlotTick, toastDefaultSlotStructure, export_toastPositions as toastPositions, treeDefaultItemToggle, treeDefaultSlotItem, treeDefaultSlotItemContent, treeDefaultSlotStructure, widgetsConfigInjectionToken };
7006
+ export type { AccordionApi, AccordionDirectives, AccordionItemApi, AccordionItemContext, AccordionItemDirectives, AccordionItemProps, AccordionItemState, AccordionItemWidget, AccordionProps, AccordionState, AccordionWidget, AlertApi, AlertContext, AlertDirectives, AlertProps, AlertState, AlertWidget, CarouselApi, CarouselContext, CarouselDirectives, CarouselProps, CarouselSlideContext, CarouselState, CarouselWidget, CollapseApi, CollapseDirectives, CollapseProps, CollapseState, CollapseWidget, DirectionsHrefs, DrawerApi, DrawerContext, DrawerDirectives, DrawerPositions, DrawerProps, DrawerState, DrawerWidget, HandleDisplayOptions, ItemContext, ModalApi, ModalBeforeCloseEvent, ModalContext, ModalDirectives, ModalProps, ModalState, ModalWidget, NormalizedTreeItem, PaginationApi, PaginationContext, PaginationDirectives, PaginationNumberContext, PaginationProps, PaginationState, PaginationWidget, ProgressDisplayOptions, ProgressbarContext, ProgressbarDirectives, ProgressbarProps, ProgressbarState, ProgressbarWidget, RatingApi, RatingDirectives, RatingProps, RatingState, RatingWidget, SelectApi, SelectContext, SelectDirectives, SelectItemContext, SelectProps, SelectState, SelectWidget, SliderContext, SliderDirectives, SliderHandle, SliderProps, SliderSlotHandleContext, SliderSlotLabelContext, SliderSlotTickContext, SliderState, SliderTick, SliderWidget, StarContext, ToastApi, ToastContext, ToastDirectives, ToastPositions, ToastProps, ToastState, ToastWidget, ToasterProps, ToasterTimer, ToasterToast, TreeApi, TreeContext, TreeDirectives, TreeItem, TreeProps, TreeSlotItemContext, TreeState, TreeWidget, WidgetsConfig };