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

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
  */
@@ -6167,9 +6173,499 @@ declare class CarouselComponent<SlideData extends {
6167
6173
  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
6174
  }
6169
6175
 
6176
+ /**
6177
+ * Retrieve a shallow copy of the default Drawer config
6178
+ * @returns the default Drawer config
6179
+ */
6180
+ declare const export_getDrawerDefaultConfig: () => DrawerProps;
6181
+
6182
+ /**
6183
+ * Represents the context for a Drawer widget.
6184
+ * This interface is an alias for `WidgetSlotContext<DrawerWidget>`.
6185
+ */
6186
+ type DrawerContext = WidgetSlotContext<DrawerWidget>;
6187
+ /**
6188
+ * Represents the state of a Drawer component.
6189
+ */
6190
+ interface DrawerState {
6191
+ /**
6192
+ * Whether the backdrop is fully hidden. This can be true either because {@link DrawerProps.backdrop|backdrop} is false or
6193
+ * because {@link DrawerProps.visible|visible} is false and there is no current transition.
6194
+ */
6195
+ backdropHidden: boolean;
6196
+ /**
6197
+ * Flag to show whether the drawer is fully hidden.
6198
+ */
6199
+ hidden: boolean;
6200
+ /**
6201
+ * Which element should contain the drawer and backdrop DOM elements.
6202
+ * If it is not null, the drawer and backdrop DOM elements are moved to the specified container.
6203
+ * Otherwise, they stay where the widget is located.
6204
+ *
6205
+ * @defaultValue
6206
+ * ```ts
6207
+ * typeof window !== 'undefined' ? document.body : null
6208
+ * ```
6209
+ */
6210
+ container: HTMLElement | null;
6211
+ /**
6212
+ * Classes to add on the backdrop DOM element.
6213
+ *
6214
+ * @defaultValue `''`
6215
+ */
6216
+ backdropClass: string;
6217
+ /**
6218
+ * If `true`, the drawer is shown; otherwise, it is hidden.
6219
+ *
6220
+ * @defaultValue `false`
6221
+ */
6222
+ visible: boolean;
6223
+ /**
6224
+ * If `true`, the drawer can be resized by the user.
6225
+ *
6226
+ * @defaultValue `false`
6227
+ */
6228
+ resizable: boolean;
6229
+ /**
6230
+ * CSS classes to be applied on the widget main container
6231
+ *
6232
+ * @defaultValue `''`
6233
+ */
6234
+ className: string;
6235
+ /**
6236
+ * Global template for the drawer component
6237
+ */
6238
+ structure: SlotContent<DrawerContext>;
6239
+ /**
6240
+ * Template for the drawer header
6241
+ */
6242
+ header: SlotContent<DrawerContext>;
6243
+ /**
6244
+ * Template for the drawer body
6245
+ */
6246
+ children: SlotContent<DrawerContext>;
6247
+ }
6248
+ /**
6249
+ * Represents the properties for the Drawer component.
6250
+ */
6251
+ interface DrawerProps {
6252
+ /**
6253
+ * The transition function will be executed when the drawer is displayed or hidden.
6254
+ *
6255
+ * @defaultValue
6256
+ * ```ts
6257
+ * () => {}
6258
+ * ```
6259
+ */
6260
+ transition: TransitionFn;
6261
+ /**
6262
+ * The transition function for vertically positioned drawer (top, bottom) that will be executed when the drawer is displayed or hidden.
6263
+ *
6264
+ * @defaultValue
6265
+ * ```ts
6266
+ * () => {}
6267
+ * ```
6268
+ */
6269
+ verticalTransition: TransitionFn;
6270
+ /**
6271
+ * The transition to use for the backdrop behind the drawer (if present).
6272
+ *
6273
+ * @defaultValue
6274
+ * ```ts
6275
+ * () => {}
6276
+ * ```
6277
+ */
6278
+ backdropTransition: TransitionFn;
6279
+ /**
6280
+ * If `true` opening and closing will be animated.
6281
+ */
6282
+ animated: boolean;
6283
+ /**
6284
+ * aria-labelledby attribute to use for the drawer element.
6285
+ */
6286
+ ariaLabelledBy: string;
6287
+ /**
6288
+ * aria-describedby attribute to use for the drawer element.
6289
+ */
6290
+ ariaDescribedBy: string;
6291
+ /**
6292
+ * The width of the drawer in pixels.
6293
+ */
6294
+ width: number;
6295
+ /**
6296
+ * The height of the drawer in pixels.
6297
+ */
6298
+ height: number;
6299
+ /**
6300
+ * If `true` displays the backdrop element and disables the body scrolling, otherwise the body of the document is navigable
6301
+ */
6302
+ backdrop: boolean;
6303
+ /**
6304
+ * If `true` allows body scrolling when the drawer is open.
6305
+ */
6306
+ bodyScroll: boolean;
6307
+ /**
6308
+ * Event to be triggered when the transition is completed and the drawer is not visible.
6309
+ *
6310
+ * @defaultValue
6311
+ * ```ts
6312
+ * () => {}
6313
+ * ```
6314
+ */
6315
+ onHidden: () => void;
6316
+ /**
6317
+ * Event to be triggered when the transition is completed and the drawer is visible.
6318
+ *
6319
+ * @defaultValue
6320
+ * ```ts
6321
+ * () => {}
6322
+ * ```
6323
+ */
6324
+ onShown: () => void;
6325
+ /**
6326
+ * An event emitted when the width is changed.
6327
+ *
6328
+ * Event payload is equal to the newly selected width.
6329
+ *
6330
+ * @defaultValue
6331
+ * ```ts
6332
+ * () => {}
6333
+ * ```
6334
+ */
6335
+ onWidthChange: (width: number) => void;
6336
+ /**
6337
+ * An event emitted when the height is changed.
6338
+ *
6339
+ * Event payload is equal to the newly selected height.
6340
+ *
6341
+ * @defaultValue
6342
+ * ```ts
6343
+ * () => {}
6344
+ * ```
6345
+ */
6346
+ onHeightChange: (width: number) => void;
6347
+ /**
6348
+ * Event to be triggered when the visible property changes.
6349
+ *
6350
+ * @param visible - new value of the visible propery
6351
+ *
6352
+ * @defaultValue
6353
+ * ```ts
6354
+ * () => {}
6355
+ * ```
6356
+ */
6357
+ onVisibleChange: (visible: boolean) => void;
6358
+ /**
6359
+ * Which element should contain the drawer and backdrop DOM elements.
6360
+ * If it is not null, the drawer and backdrop DOM elements are moved to the specified container.
6361
+ * Otherwise, they stay where the widget is located.
6362
+ *
6363
+ * @defaultValue
6364
+ * ```ts
6365
+ * typeof window !== 'undefined' ? document.body : null
6366
+ * ```
6367
+ */
6368
+ container: HTMLElement | null;
6369
+ /**
6370
+ * Classes to add on the backdrop DOM element.
6371
+ *
6372
+ * @defaultValue `''`
6373
+ */
6374
+ backdropClass: string;
6375
+ /**
6376
+ * If `true`, the drawer is shown; otherwise, it is hidden.
6377
+ *
6378
+ * @defaultValue `false`
6379
+ */
6380
+ visible: boolean;
6381
+ /**
6382
+ * If `true`, the drawer can be resized by the user.
6383
+ *
6384
+ * @defaultValue `false`
6385
+ */
6386
+ resizable: boolean;
6387
+ /**
6388
+ * CSS classes to be applied on the widget main container
6389
+ *
6390
+ * @defaultValue `''`
6391
+ */
6392
+ className: string;
6393
+ /**
6394
+ * Global template for the drawer component
6395
+ */
6396
+ structure: SlotContent<DrawerContext>;
6397
+ /**
6398
+ * Template for the drawer header
6399
+ */
6400
+ header: SlotContent<DrawerContext>;
6401
+ /**
6402
+ * Template for the drawer body
6403
+ */
6404
+ children: SlotContent<DrawerContext>;
6405
+ }
6406
+ /**
6407
+ * Represents the directives for the Drawer component.
6408
+ */
6409
+ interface DrawerDirectives {
6410
+ /**
6411
+ * Directive to put on the drawer DOM element.
6412
+ */
6413
+ drawerDirective: Directive;
6414
+ /**
6415
+ * Directive to put on the backdrop DOM element.
6416
+ */
6417
+ backdropDirective: Directive;
6418
+ /**
6419
+ * Directive to put on the splitter DOM element.
6420
+ */
6421
+ splitterDirective: Directive;
6422
+ /**
6423
+ * Directive to put on the container DOM element in order for the drawer to size correctly.
6424
+ */
6425
+ containerDirective: Directive;
6426
+ /**
6427
+ * Portal directive to put on the drawer DOM element.
6428
+ */
6429
+ drawerPortalDirective: Directive;
6430
+ /**
6431
+ * Portal directive to put on the backdrop DOM element.
6432
+ */
6433
+ backdropPortalDirective: Directive;
6434
+ }
6435
+ /**
6436
+ * Represents a Drawer widget component.
6437
+ */
6438
+ type DrawerWidget = Widget<DrawerProps, DrawerState, DrawerApi, DrawerDirectives>;
6439
+ /**
6440
+ * Create a Drawer with given config props
6441
+ * @param config - an optional Drawer config
6442
+ * @returns a DrawerWidget
6443
+ */
6444
+ declare const export_createDrawer: WidgetFactory<DrawerWidget>;
6445
+
6446
+ /**
6447
+ * Possible values for the drawer positions
6448
+ */
6449
+ type DrawerPositions = 'inline-start' | 'inline-end' | 'block-start' | 'block-end';
6450
+ /**
6451
+ * Interface representing the API for a Drawer component.
6452
+ */
6453
+ interface DrawerApi {
6454
+ /**
6455
+ * Trigger the opening of the drawer.
6456
+ */
6457
+ open: () => void;
6458
+ /**
6459
+ * Trigger the closing of the drawer.
6460
+ */
6461
+ close: () => void;
6462
+ }
6463
+
6464
+ /**
6465
+ * Directive to define the structure of a drawer component.
6466
+ * This directive uses a template reference to render the {@link DrawerContext}.
6467
+ */
6468
+ declare class DrawerStructureDirective {
6469
+ templateRef: TemplateRef<any>;
6470
+ static ngTemplateContextGuard(_dir: DrawerStructureDirective, context: unknown): context is DrawerContext;
6471
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerStructureDirective, never>;
6472
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DrawerStructureDirective, "ng-template[auDrawerStructure]", never, {}, {}, never, never, true, never>;
6473
+ }
6474
+ /**
6475
+ * Directive representing the header of a drawer component.
6476
+ * This directive uses a template reference to render the {@link DrawerContext}.
6477
+ */
6478
+ declare class DrawerHeaderDirective {
6479
+ templateRef: TemplateRef<any>;
6480
+ static ngTemplateContextGuard(_dir: DrawerHeaderDirective, context: unknown): context is DrawerContext;
6481
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerHeaderDirective, never>;
6482
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DrawerHeaderDirective, "ng-template[auDrawerHeader]", never, {}, {}, never, never, true, never>;
6483
+ }
6484
+ /**
6485
+ * Directive to represent the body of a drawer notification.
6486
+ * This directive uses a template reference to render the {@link DrawerContext}.
6487
+ */
6488
+ declare class DrawerBodyDirective {
6489
+ templateRef: TemplateRef<any>;
6490
+ static ngTemplateContextGuard(_dir: DrawerBodyDirective, context: unknown): context is DrawerContext;
6491
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerBodyDirective, never>;
6492
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DrawerBodyDirective, "ng-template[auDrawerBody]", never, {}, {}, never, never, true, never>;
6493
+ }
6494
+ /**
6495
+ * Represents the default slot structure for the drawer component.
6496
+ */
6497
+ declare const drawerDefaultSlotStructure: SlotContent<DrawerContext>;
6498
+ /**
6499
+ * DrawerComponent is an Angular component that extends the BaseWidgetDirective
6500
+ * to provide a customizable drawer widget. This component allows for various
6501
+ * configurations and customizations through its inputs and outputs.
6502
+ */
6503
+ declare class DrawerComponent extends BaseWidgetDirective<DrawerWidget> {
6504
+ /**
6505
+ * If `true` opening and closing will be animated.
6506
+ */
6507
+ readonly animated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6508
+ /**
6509
+ * aria-labelledby attribute to use for the drawer element.
6510
+ */
6511
+ readonly ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
6512
+ /**
6513
+ * aria-describedby attribute to use for the drawer element.
6514
+ */
6515
+ readonly ariaDescribedBy: _angular_core.InputSignal<string | undefined>;
6516
+ /**
6517
+ * If `true`, the drawer is shown; otherwise, it is hidden.
6518
+ *
6519
+ * @defaultValue `false`
6520
+ */
6521
+ readonly visible: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6522
+ /**
6523
+ * The transition function for vertically positioned drawer (top, bottom) that will be executed when the drawer is displayed or hidden.
6524
+ *
6525
+ * @defaultValue
6526
+ * ```ts
6527
+ * () => {}
6528
+ * ```
6529
+ */
6530
+ readonly verticalTransition: _angular_core.InputSignal<TransitionFn | undefined>;
6531
+ /**
6532
+ * The transition function will be executed when the drawer is displayed or hidden.
6533
+ *
6534
+ * @defaultValue
6535
+ * ```ts
6536
+ * () => {}
6537
+ * ```
6538
+ */
6539
+ readonly transition: _angular_core.InputSignal<TransitionFn | undefined>;
6540
+ /**
6541
+ * The transition to use for the backdrop behind the drawer (if present).
6542
+ *
6543
+ * @defaultValue
6544
+ * ```ts
6545
+ * () => {}
6546
+ * ```
6547
+ */
6548
+ readonly backdropTransition: _angular_core.InputSignal<TransitionFn | undefined>;
6549
+ /**
6550
+ * Which element should contain the drawer and backdrop DOM elements.
6551
+ * If it is not null, the drawer and backdrop DOM elements are moved to the specified container.
6552
+ * Otherwise, they stay where the widget is located.
6553
+ *
6554
+ * @defaultValue
6555
+ * ```ts
6556
+ * typeof window !== 'undefined' ? document.body : null
6557
+ * ```
6558
+ */
6559
+ readonly container: _angular_core.InputSignal<HTMLElement | null | undefined>;
6560
+ /**
6561
+ * If `true` displays the backdrop element and disables the body scrolling, otherwise the body of the document is navigable
6562
+ */
6563
+ readonly backdrop: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6564
+ /**
6565
+ * If `true` allows body scrolling when the drawer is open.
6566
+ */
6567
+ readonly bodyScroll: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6568
+ /**
6569
+ * Classes to add on the backdrop DOM element.
6570
+ *
6571
+ * @defaultValue `''`
6572
+ */
6573
+ readonly backdropClass: _angular_core.InputSignal<string | undefined>;
6574
+ /**
6575
+ * CSS classes to be applied on the widget main container
6576
+ *
6577
+ * @defaultValue `''`
6578
+ */
6579
+ readonly className: _angular_core.InputSignal<string | undefined>;
6580
+ /**
6581
+ * If `true`, the drawer can be resized by the user.
6582
+ *
6583
+ * @defaultValue `false`
6584
+ */
6585
+ readonly resizable: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
6586
+ /**
6587
+ * The width of the drawer in pixels.
6588
+ */
6589
+ readonly width: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
6590
+ /**
6591
+ * The height of the drawer in pixels.
6592
+ */
6593
+ readonly height: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
6594
+ /**
6595
+ * An event emitted when the width is changed.
6596
+ *
6597
+ * Event payload is equal to the newly selected width.
6598
+ *
6599
+ * @defaultValue
6600
+ * ```ts
6601
+ * () => {}
6602
+ * ```
6603
+ */
6604
+ readonly widthChange: _angular_core.OutputEmitterRef<number>;
6605
+ /**
6606
+ * An event emitted when the height is changed.
6607
+ *
6608
+ * Event payload is equal to the newly selected height.
6609
+ *
6610
+ * @defaultValue
6611
+ * ```ts
6612
+ * () => {}
6613
+ * ```
6614
+ */
6615
+ readonly heightChange: _angular_core.OutputEmitterRef<number>;
6616
+ /**
6617
+ * Event to be triggered when the visible property changes.
6618
+ *
6619
+ * @param visible - new value of the visible propery
6620
+ *
6621
+ * @defaultValue
6622
+ * ```ts
6623
+ * () => {}
6624
+ * ```
6625
+ */
6626
+ readonly visibleChange: _angular_core.OutputEmitterRef<boolean>;
6627
+ /**
6628
+ * Event to be triggered when the transition is completed and the drawer is not visible.
6629
+ *
6630
+ * @defaultValue
6631
+ * ```ts
6632
+ * () => {}
6633
+ * ```
6634
+ */
6635
+ readonly hidden: _angular_core.OutputEmitterRef<void>;
6636
+ /**
6637
+ * Event to be triggered when the transition is completed and the drawer is visible.
6638
+ *
6639
+ * @defaultValue
6640
+ * ```ts
6641
+ * () => {}
6642
+ * ```
6643
+ */
6644
+ readonly shown: _angular_core.OutputEmitterRef<void>;
6645
+ constructor();
6646
+ /**
6647
+ * Global template for the drawer component
6648
+ */
6649
+ readonly structure: _angular_core.InputSignal<SlotContent<DrawerContext>>;
6650
+ readonly slotStructureFromContent: _angular_core.Signal<DrawerStructureDirective | undefined>;
6651
+ /**
6652
+ * Template for the drawer header
6653
+ */
6654
+ readonly header: _angular_core.InputSignal<SlotContent<DrawerContext>>;
6655
+ readonly slotHeaderFromContent: _angular_core.Signal<DrawerHeaderDirective | undefined>;
6656
+ /**
6657
+ * Template for the drawer body
6658
+ */
6659
+ readonly children: _angular_core.InputSignal<SlotContent<DrawerContext>>;
6660
+ readonly slotBodyFromContent: _angular_core.Signal<DrawerBodyDirective | undefined>;
6661
+ readonly slotChildren: _angular_core.Signal<TemplateRef<void> | undefined>;
6662
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerComponent, never>;
6663
+ 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>;
6664
+ }
6665
+
6170
6666
  declare class AgnosUIAngularModule {
6171
6667
  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]>;
6668
+ 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
6669
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AgnosUIAngularModule>;
6174
6670
  }
6175
6671
 
@@ -6346,6 +6842,10 @@ type WidgetsConfig = {
6346
6842
  * the collapse widget config
6347
6843
  */
6348
6844
  collapse: CollapseProps;
6845
+ /**
6846
+ * the drawer widget config
6847
+ */
6848
+ drawer: DrawerProps;
6349
6849
  /**
6350
6850
  * the modal widget config
6351
6851
  */
@@ -6482,5 +6982,5 @@ declare const callWidgetFactory: <W extends Widget<object, object, object, objec
6482
6982
  slotChildren?: () => TemplateRef<void> | undefined;
6483
6983
  }) => AngularWidget<W>;
6484
6984
 
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 };
6985
+ 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 };
6986
+ 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 };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agnos-ui/angular-bootstrap",
3
3
  "description": "Bootstrap-based component library for Angular.",
4
- "version": "0.9.3",
4
+ "version": "0.10.0-next.0",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -17,8 +17,8 @@
17
17
  "@angular/core": "^20.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@agnos-ui/angular-headless": "0.9.3",
21
- "@agnos-ui/core-bootstrap": "0.9.3",
20
+ "@agnos-ui/angular-headless": "0.10.0-next.0",
21
+ "@agnos-ui/core-bootstrap": "0.10.0-next.0",
22
22
  "tslib": "^2.8.1"
23
23
  },
24
24
  "sideEffects": false,