@agnos-ui/angular-bootstrap 0.8.1 → 0.9.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.
Files changed (46) hide show
  1. package/fesm2022/agnos-ui-angular-bootstrap.mjs +156 -94
  2. package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
  3. package/index.d.ts +6450 -40
  4. package/package.json +5 -5
  5. package/agnos-ui-angular.module.d.ts +0 -20
  6. package/components/accordion/accordion.component.d.ts +0 -257
  7. package/components/accordion/accordion.gen.d.ts +0 -442
  8. package/components/accordion/index.d.ts +0 -2
  9. package/components/alert/alert.component.d.ts +0 -140
  10. package/components/alert/alert.gen.d.ts +0 -191
  11. package/components/alert/index.d.ts +0 -2
  12. package/components/carousel/carousel.component.d.ts +0 -207
  13. package/components/carousel/carousel.gen.d.ts +0 -358
  14. package/components/carousel/index.d.ts +0 -2
  15. package/components/collapse/collapse.component.d.ts +0 -83
  16. package/components/collapse/collapse.gen.d.ts +0 -150
  17. package/components/collapse/index.d.ts +0 -2
  18. package/components/modal/index.d.ts +0 -3
  19. package/components/modal/modal.component.d.ts +0 -220
  20. package/components/modal/modal.gen.d.ts +0 -355
  21. package/components/modal/modal.service.d.ts +0 -21
  22. package/components/pagination/index.d.ts +0 -2
  23. package/components/pagination/pagination.component.d.ts +0 -379
  24. package/components/pagination/pagination.gen.d.ts +0 -584
  25. package/components/progressbar/index.d.ts +0 -2
  26. package/components/progressbar/progressbar.component.d.ts +0 -118
  27. package/components/progressbar/progressbar.gen.d.ts +0 -196
  28. package/components/rating/index.d.ts +0 -2
  29. package/components/rating/rating.component.d.ts +0 -144
  30. package/components/rating/rating.gen.d.ts +0 -270
  31. package/components/select/index.d.ts +0 -2
  32. package/components/select/select.component.d.ts +0 -198
  33. package/components/select/select.gen.d.ts +0 -433
  34. package/components/slider/index.d.ts +0 -2
  35. package/components/slider/slider.component.d.ts +0 -234
  36. package/components/slider/slider.gen.d.ts +0 -511
  37. package/components/toast/index.d.ts +0 -4
  38. package/components/toast/toast.component.d.ts +0 -155
  39. package/components/toast/toast.gen.d.ts +0 -308
  40. package/components/toast/toaster.component.d.ts +0 -17
  41. package/components/toast/toaster.service.d.ts +0 -7
  42. package/components/tree/index.d.ts +0 -2
  43. package/components/tree/tree.component.d.ts +0 -145
  44. package/components/tree/tree.gen.d.ts +0 -216
  45. package/config.d.ts +0 -27
  46. package/config.gen.d.ts +0 -62
@@ -41,24 +41,99 @@ const export_modalOutsideClick = modalOutsideClick;
41
41
  */
42
42
  const export_modalCloseButtonClick = modalCloseButtonClick;
43
43
 
44
+ const widgetFactories = widgetsConfigFactory(new InjectionToken('bootstrapWidgetsConfig'));
44
45
  /**
45
- * @param factory - The widget factory.
46
- * @param widgetName - The name of the widget.
47
- * @param defaultConfig - The default configuration for the widget.
48
- * @param events - The events for the widget.
49
- * @param afterInit - The function to call after initialization.
46
+ * Dependency Injection token which can be used to provide or inject the widgets default configuration store.
50
47
  */
51
- const widgetFactories = widgetsConfigFactory(new InjectionToken('bootstrapWidgetsConfig'));
48
+ const widgetsConfigInjectionToken = widgetFactories.widgetsConfigInjectionToken;
49
+ /**
50
+ * Creates a provider of widgets default configuration that inherits from any widgets default configuration already defined at an upper level
51
+ * in the Angular dependency injection system. It contains its own set of widgets configuration properties that override the same properties form
52
+ * the parent configuration.
53
+ *
54
+ * @remarks
55
+ * The configuration is computed from the parent configuration in two steps:
56
+ * - first step: the parent configuration is transformed by the adaptParentConfig function (if specified).
57
+ * If adaptParentConfig is not specified, this step is skipped.
58
+ * - second step: the configuration from step 1 is merged (2-levels deep) with the own$ store. The own$ store initially contains
59
+ * an empty object (i.e. no property from the parent is overridden). It can be changed by calling set on the store returned by
60
+ * {@link injectWidgetsConfig}.
61
+ *
62
+ * @param adaptParentConfig - optional function that receives a 2-levels copy of the widgets default configuration
63
+ * defined at an upper level in the Angular dependency injection system (or an empty object if there is none) and returns the widgets
64
+ * default configuration to be used.
65
+ * It is called only if the configuration is needed, and was not yet computed for the current value of the parent configuration.
66
+ * It is called in a tansu reactive context, so it can use any tansu store and will be called again if those stores change.
67
+ * It is also called in an Angular injection context, so it can call the Angular inject function to get and use dependencies from the
68
+ * Angular dependency injection system.
69
+ *
70
+ * @returns DI provider to be included a list of `providers` (for example at a component level or
71
+ * any other level of the Angular dependency injection system)
72
+ *
73
+ * @example
74
+ * ```typescript
75
+ * @Component({
76
+ * // ...
77
+ * providers: [
78
+ * provideWidgetsConfig((parentConfig) => {
79
+ * // first step configuration: transforms the parent configuration
80
+ * parentConfig.rating = parentConfig.rating ?? {};
81
+ * parentConfig.rating.className = `${parentConfig.rating.className ?? ''} my-rating-extra-class`
82
+ * return parentConfig;
83
+ * })
84
+ * ]
85
+ * })
86
+ * class MyComponent {
87
+ * widgetsConfig = injectWidgetsConfig();
88
+ * constructor() {
89
+ * this.widgetsConfig.set({
90
+ * // second step configuration: overrides the parent configuration
91
+ * rating: {
92
+ * slotStar: MyCustomSlotStar
93
+ * }
94
+ * });
95
+ * }
96
+ * // ...
97
+ * }
98
+ * ```
99
+ */
100
+ const provideWidgetsConfig = widgetFactories.provideWidgetsConfig;
52
101
  /**
53
- * Destructures and exports several functions and constants from the `widgetFactories` object.
102
+ * Returns the widgets default configuration store that was provided in the current injection context.
103
+ * Throws if the no widgets default configuration store was provided.
54
104
  *
55
- * @constant {InjectionToken} widgetsConfigInjectionToken - Token used for injecting widget configuration.
56
- * @function provideWidgetsConfig - Provides the widget configuration.
57
- * @function injectWidgetConfig - Injects a single widget configuration.
58
- * @function injectWidgetsConfig - Injects multiple widget configurations.
59
- * @function callWidgetFactory - Calls the widget factory function.
105
+ * @param defaultConfig - values to set as soon as the config is injected
106
+ * @remarks
107
+ * This function must be called from an injection context, such as a constructor, a factory function, a field initializer or
108
+ * a function used with {@link https://angular.io/api/core/runInInjectionContext | runInInjectionContext}.
109
+ *
110
+ * @returns the widgets default configuration store.
111
+ */
112
+ const injectWidgetsConfig = widgetFactories.injectWidgetsConfig;
113
+ /**
114
+ * Injects the configuration for a specific widget.
115
+ *
116
+ * @template N - The key of the widget configuration in the `Config` type.
117
+ * @param widgetName - The name of the widget whose configuration is to be injected.
118
+ * @returns A `ReadableSignal` that provides a partial configuration of the specified widget or `undefined` if the configuration is not available.
60
119
  */
61
- const { widgetsConfigInjectionToken, provideWidgetsConfig, injectWidgetConfig, injectWidgetsConfig, callWidgetFactory } = widgetFactories;
120
+ const injectWidgetConfig = widgetFactories.injectWidgetConfig;
121
+ /**
122
+ * Creates and initializes a widget using the provided factory and configuration options.
123
+ *
124
+ * The resulting widget can be easily hooked into the lifecycle of an Angular component through {@link BaseWidgetDirective}.
125
+ *
126
+ * @template W - The type of the widget.
127
+ * @param factory - The factory function to create the widget.
128
+ * @param options - The options for creating the widget.
129
+ * @param options.defaultConfig - The default configuration for the widget.
130
+ * @param options.events - The event handlers for the widget.
131
+ * @param options.slotTemplates - A function that returns the slot templates for the widget.
132
+ * @param options.slotChildren - A function that returns the slot children for the widget.
133
+ * @param options.afterInit - A callback function to be called after the widget is initialized.
134
+ * @returns The initialized widget.
135
+ */
136
+ const callWidgetFactory = widgetFactories.callWidgetFactory;
62
137
 
63
138
  const _c0$b = ["header"];
64
139
  const _c1$b = ["structure"];
@@ -74,7 +149,7 @@ function ModalDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
74
149
  i0.ɵɵelementStart(0, "h5", 4);
75
150
  i0.ɵɵtemplate(1, ModalDefaultSlotsComponent_ng_template_0_ng_template_1_Template, 0, 0, "ng-template", 5);
76
151
  i0.ɵɵelementEnd();
77
- i0.ɵɵtemplate(2, ModalDefaultSlotsComponent_ng_template_0_Conditional_2_Template, 1, 1, "button", 6);
152
+ i0.ɵɵconditionalCreate(2, ModalDefaultSlotsComponent_ng_template_0_Conditional_2_Template, 1, 1, "button", 6);
78
153
  } if (rf & 2) {
79
154
  const state_r2 = ctx.state;
80
155
  const api_r3 = ctx.api;
@@ -112,11 +187,11 @@ function ModalDefaultSlotsComponent_ng_template_2_Conditional_3_Template(rf, ctx
112
187
  i0.ɵɵproperty("auSlot", state_r5.footer())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$a, state_r5, api_r6, directives_r7));
113
188
  } }
114
189
  function ModalDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
115
- i0.ɵɵtemplate(0, ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template, 2, 6, "div", 7);
190
+ i0.ɵɵconditionalCreate(0, ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template, 2, 6, "div", 7);
116
191
  i0.ɵɵelementStart(1, "div", 8);
117
192
  i0.ɵɵtemplate(2, ModalDefaultSlotsComponent_ng_template_2_ng_template_2_Template, 0, 0, "ng-template", 5);
118
193
  i0.ɵɵelementEnd();
119
- i0.ɵɵtemplate(3, ModalDefaultSlotsComponent_ng_template_2_Conditional_3_Template, 2, 6, "div", 9);
194
+ i0.ɵɵconditionalCreate(3, ModalDefaultSlotsComponent_ng_template_2_Conditional_3_Template, 2, 6, "div", 9);
120
195
  } if (rf & 2) {
121
196
  const state_r5 = ctx.state;
122
197
  const api_r6 = ctx.api;
@@ -149,7 +224,7 @@ function ModalComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
149
224
  const ctx_r0 = i0.ɵɵnextContext();
150
225
  i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(6, _c6$3, ctx_r0.directives.modalPortalDirective, ctx_r0.directives.modalDirective));
151
226
  i0.ɵɵadvance();
152
- i0.ɵɵclassMapInterpolate1("modal-dialog ", ctx_r0.state.fullscreen() ? "modal-fullscreen" : "", "");
227
+ i0.ɵɵclassMap(i0.ɵɵinterpolate1("modal-dialog ", ctx_r0.state.fullscreen() ? "modal-fullscreen" : ""));
153
228
  i0.ɵɵadvance(2);
154
229
  i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$a, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
155
230
  } }
@@ -307,9 +382,7 @@ const modalDefaultSlotStructure = new ComponentTemplate(ModalDefaultSlotsCompone
307
382
  */
308
383
  class ModalComponent extends BaseWidgetDirective {
309
384
  constructor() {
310
- super(callWidgetFactory({
311
- factory: export_createModal,
312
- widgetName: 'modal',
385
+ super(callWidgetFactory(export_createModal, {
313
386
  defaultConfig: {
314
387
  header: modalDefaultSlotHeader,
315
388
  structure: modalDefaultSlotStructure,
@@ -494,7 +567,9 @@ class ModalComponent extends BaseWidgetDirective {
494
567
  i0.ɵɵqueryAdvance();
495
568
  } }, inputs: { animated: [1, "auAnimated", "animated"], backdropTransition: [1, "auBackdropTransition", "backdropTransition"], modalTransition: [1, "auModalTransition", "modalTransition"], visible: [1, "auVisible", "visible"], backdrop: [1, "auBackdrop", "backdrop"], closeOnOutsideClick: [1, "auCloseOnOutsideClick", "closeOnOutsideClick"], container: [1, "auContainer", "container"], ariaCloseButtonLabel: [1, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], backdropClass: [1, "auBackdropClass", "backdropClass"], closeButton: [1, "auCloseButton", "closeButton"], className: [1, "auClassName", "className"], fullscreen: [1, "auFullscreen", "fullscreen"], structure: [1, "auStructure", "structure"], header: [1, "auHeader", "header"], title: [1, "auTitle", "title"], children: [1, "auChildren", "children"], footer: [1, "auFooter", "footer"], contentData: [1, "auContentData", "contentData"] }, outputs: { visibleChange: "auVisibleChange", beforeClose: "auBeforeClose", hidden: "auHidden", shown: "auShown" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c4$8, ngContentSelectors: _c5$6, decls: 4, vars: 2, consts: [["content", ""], [1, "modal-backdrop", 3, "auUseMulti"], [1, "modal", "d-block", 3, "auUseMulti"], [1, "modal-content"], [3, "auSlot", "auSlotProps"]], template: function ModalComponent_Template(rf, ctx) { if (rf & 1) {
496
569
  i0.ɵɵprojectionDef();
497
- i0.ɵɵtemplate(0, ModalComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, ModalComponent_Conditional_2_Template, 1, 4, "div", 1)(3, ModalComponent_Conditional_3_Template, 4, 13, "div", 2);
570
+ i0.ɵɵtemplate(0, ModalComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
571
+ i0.ɵɵconditionalCreate(2, ModalComponent_Conditional_2_Template, 1, 4, "div", 1);
572
+ i0.ɵɵconditionalCreate(3, ModalComponent_Conditional_3_Template, 4, 13, "div", 2);
498
573
  } if (rf & 2) {
499
574
  i0.ɵɵadvance(2);
500
575
  i0.ɵɵconditional(!ctx.state.backdropHidden() ? 2 : -1);
@@ -575,7 +650,8 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Condi
575
650
  } }
576
651
  function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
577
652
  i0.ɵɵelementStart(0, "a", 6);
578
- i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_ng_template_1_Template, 0, 0, "ng-template", 8)(2, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Conditional_2_Template, 2, 1, "span", 9);
653
+ i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_ng_template_1_Template, 0, 0, "ng-template", 8);
654
+ i0.ɵɵconditionalCreate(2, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Conditional_2_Template, 2, 1, "span", 9);
579
655
  i0.ɵɵelementEnd();
580
656
  } if (rf & 2) {
581
657
  const page_r5 = i0.ɵɵnextContext().$implicit;
@@ -591,7 +667,7 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Templ
591
667
  } }
592
668
  function PaginationDefaultSlotsComponent_ng_template_0_For_1_Template(rf, ctx) { if (rf & 1) {
593
669
  i0.ɵɵelementStart(0, "li", 5);
594
- i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Template, 4, 7)(2, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Template, 3, 14, "a", 6);
670
+ i0.ɵɵconditionalCreate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Template, 4, 7)(2, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Template, 3, 14, "a", 6);
595
671
  i0.ɵɵelementEnd();
596
672
  } if (rf & 2) {
597
673
  const page_r5 = ctx.$implicit;
@@ -673,7 +749,11 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf
673
749
  } }
674
750
  function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
675
751
  i0.ɵɵelementStart(0, "ul");
676
- i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template, 4, 9, "li", 10)(2, PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template, 4, 9, "li", 10)(3, PaginationDefaultSlotsComponent_ng_template_2_ng_template_3_Template, 0, 0, "ng-template", 8)(4, PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_Template, 4, 9, "li", 10)(5, PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template, 4, 9, "li", 10);
752
+ i0.ɵɵconditionalCreate(1, PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template, 4, 9, "li", 10);
753
+ i0.ɵɵconditionalCreate(2, PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template, 4, 9, "li", 10);
754
+ i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_ng_template_3_Template, 0, 0, "ng-template", 8);
755
+ i0.ɵɵconditionalCreate(4, PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_Template, 4, 9, "li", 10);
756
+ i0.ɵɵconditionalCreate(5, PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template, 4, 9, "li", 10);
677
757
  i0.ɵɵelementEnd();
678
758
  i0.ɵɵelementStart(6, "div", 11);
679
759
  i0.ɵɵtext(7);
@@ -943,9 +1023,7 @@ const paginationDefaultSlotStructure = new ComponentTemplate(PaginationDefaultSl
943
1023
  */
944
1024
  class PaginationComponent extends BaseWidgetDirective {
945
1025
  constructor() {
946
- super(callWidgetFactory({
947
- factory: export_createPagination,
948
- widgetName: 'pagination',
1026
+ super(callWidgetFactory(export_createPagination, {
949
1027
  defaultConfig: {
950
1028
  structure: paginationDefaultSlotStructure,
951
1029
  pagesDisplay: paginationDefaultSlotPages,
@@ -1346,9 +1424,7 @@ class RatingComponent extends BaseWidgetDirective {
1346
1424
  this['_widget'].patch({ disabled });
1347
1425
  }
1348
1426
  constructor() {
1349
- super(callWidgetFactory({
1350
- factory: export_createRating,
1351
- widgetName: 'rating',
1427
+ super(callWidgetFactory(export_createRating, {
1352
1428
  events: {
1353
1429
  onHover: (event) => this.hover.emit(event),
1354
1430
  onLeave: (event) => this.leave.emit(event),
@@ -1626,9 +1702,7 @@ class SelectItemLabelDirective {
1626
1702
  */
1627
1703
  class SelectComponent extends BaseWidgetDirective {
1628
1704
  constructor() {
1629
- super(callWidgetFactory({
1630
- factory: export_createSelect,
1631
- widgetName: 'select',
1705
+ super(callWidgetFactory(export_createSelect, {
1632
1706
  events: {
1633
1707
  onOpenChange: (event) => this.openChange.emit(event),
1634
1708
  onSelectedChange: (event) => this.selectedChange.emit(event),
@@ -1808,10 +1882,10 @@ class SelectComponent extends BaseWidgetDirective {
1808
1882
  i0.ɵɵclassMap("au-select dropdown border border-1 p-1 mb-3 d-block" + ctx.state.className());
1809
1883
  } }, inputs: { ariaLabel: [1, "auAriaLabel", "ariaLabel"], id: [1, "auId", "id"], items: [1, "auItems", "items"], allowedPlacements: [1, "auAllowedPlacements", "allowedPlacements"], open: [1, "auOpen", "open"], filterText: [1, "auFilterText", "filterText"], className: [1, "auClassName", "className"], disabled: [1, "auDisabled", "disabled"], selected: [1, "auSelected", "selected"], loading: [1, "auLoading", "loading"], itemIdFn: [1, "auItemIdFn", "itemIdFn"], menuClassName: [1, "auMenuClassName", "menuClassName"], badgeLabel: [1, "auBadgeLabel", "badgeLabel"], itemLabel: [1, "auItemLabel", "itemLabel"], menuItemClassName: [1, "auMenuItemClassName", "menuItemClassName"], badgeClassName: [1, "auBadgeClassName", "badgeClassName"], navSelector: [1, "auNavSelector", "navSelector"] }, outputs: { filterTextChange: "auFilterTextChange", selectedChange: "auSelectedChange", openChange: "auOpenChange" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 4, vars: 8, consts: [[1, "d-flex", "align-items-center", "flex-wrap", "gap-1", 3, "auUseMulti"], [3, "auUse", "value"], [1, "dropdown-menu", "show", 3, "auUseMulti"], [3, "auUse"], [3, "auSlot", "auSlotProps"], [1, "dropdown-item", "position-relative", 3, "auUse", "text-bg-primary"], [1, "dropdown-item", "position-relative", 3, "auUse"]], template: function SelectComponent_Template(rf, ctx) { if (rf & 1) {
1810
1884
  i0.ɵɵelementStart(0, "div", 0);
1811
- i0.ɵɵtemplate(1, SelectComponent_Conditional_1_Template, 2, 0);
1885
+ i0.ɵɵconditionalCreate(1, SelectComponent_Conditional_1_Template, 2, 0);
1812
1886
  i0.ɵɵelement(2, "input", 1);
1813
1887
  i0.ɵɵelementEnd();
1814
- i0.ɵɵtemplate(3, SelectComponent_Conditional_3_Template, 3, 5, "ul", 2);
1888
+ i0.ɵɵconditionalCreate(3, SelectComponent_Conditional_3_Template, 3, 5, "ul", 2);
1815
1889
  } if (rf & 2) {
1816
1890
  let tmp_1_0;
1817
1891
  i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(5, _c1$8, ctx.directives.hasFocusDirective, ctx.directives.inputContainerDirective));
@@ -1889,7 +1963,7 @@ function AlertDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
1889
1963
  i0.ɵɵelementStart(0, "div", 2);
1890
1964
  i0.ɵɵtemplate(1, AlertDefaultSlotsComponent_ng_template_0_ng_template_1_Template, 0, 0, "ng-template", 3);
1891
1965
  i0.ɵɵelementEnd();
1892
- i0.ɵɵtemplate(2, AlertDefaultSlotsComponent_ng_template_0_Conditional_2_Template, 1, 1, "button", 4);
1966
+ i0.ɵɵconditionalCreate(2, AlertDefaultSlotsComponent_ng_template_0_Conditional_2_Template, 1, 1, "button", 4);
1893
1967
  } if (rf & 2) {
1894
1968
  const state_r3 = ctx.state;
1895
1969
  const api_r2 = ctx.api;
@@ -1912,7 +1986,7 @@ function AlertComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
1912
1986
  i0.ɵɵelementEnd();
1913
1987
  } if (rf & 2) {
1914
1988
  const ctx_r0 = i0.ɵɵnextContext();
1915
- i0.ɵɵclassMapInterpolate3("au-alert alert alert-", ctx_r0.state.type(), " ", ctx_r0.state.className(), " ", ctx_r0.state.dismissible() ? "alert-dismissible" : "", "");
1989
+ i0.ɵɵclassMap(i0.ɵɵinterpolate3("au-alert alert alert-", ctx_r0.state.type(), " ", ctx_r0.state.className(), " ", ctx_r0.state.dismissible() ? "alert-dismissible" : ""));
1916
1990
  i0.ɵɵproperty("auUse", ctx_r0.directives.transitionDirective);
1917
1991
  i0.ɵɵadvance();
1918
1992
  i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(8, _c1$7, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
@@ -1998,9 +2072,7 @@ const alertDefaultSlotStructure = new ComponentTemplate(AlertDefaultSlotsCompone
1998
2072
  */
1999
2073
  class AlertComponent extends BaseWidgetDirective {
2000
2074
  constructor() {
2001
- super(callWidgetFactory({
2002
- factory: export_createAlert,
2003
- widgetName: 'alert',
2075
+ super(callWidgetFactory(export_createAlert, {
2004
2076
  defaultConfig: {
2005
2077
  structure: alertDefaultSlotStructure,
2006
2078
  },
@@ -2123,7 +2195,8 @@ class AlertComponent extends BaseWidgetDirective {
2123
2195
  i0.ɵɵqueryAdvance();
2124
2196
  } }, inputs: { type: [1, "auType", "type"], dismissible: [1, "auDismissible", "dismissible"], transition: [1, "auTransition", "transition"], visible: [1, "auVisible", "visible"], animatedOnInit: [1, "auAnimatedOnInit", "animatedOnInit"], animated: [1, "auAnimated", "animated"], ariaCloseButtonLabel: [1, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], children: [1, "auChildren", "children"], structure: [1, "auStructure", "structure"], className: [1, "auClassName", "className"] }, outputs: { visibleChange: "auVisibleChange", hidden: "auHidden", shown: "auShown" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c3$6, ngContentSelectors: _c4$6, decls: 3, vars: 1, consts: [["content", ""], ["role", "alert", 3, "auUse", "class"], ["role", "alert", 3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
2125
2197
  i0.ɵɵprojectionDef();
2126
- i0.ɵɵtemplate(0, AlertComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, AlertComponent_Conditional_2_Template, 2, 12, "div", 1);
2198
+ i0.ɵɵtemplate(0, AlertComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
2199
+ i0.ɵɵconditionalCreate(2, AlertComponent_Conditional_2_Template, 2, 12, "div", 1);
2127
2200
  } if (rf & 2) {
2128
2201
  i0.ɵɵadvance(2);
2129
2202
  i0.ɵɵconditional(!ctx.state.hidden() ? 2 : -1);
@@ -2334,7 +2407,9 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Templat
2334
2407
  i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(4, _c1$6, state_r10, directives_r7, api_r11))("auSlot", state_r10.children());
2335
2408
  } }
2336
2409
  function AccordionItemDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
2337
- i0.ɵɵtemplate(0, AccordionItemDefaultSlotsComponent_ng_template_0_Case_0_Template, 1, 1, "ng-container", 9)(1, AccordionItemDefaultSlotsComponent_ng_template_0_Case_1_Template, 1, 1, "ng-container", 9)(2, AccordionItemDefaultSlotsComponent_ng_template_0_Case_2_Template, 1, 1, "ng-container", 9)(3, AccordionItemDefaultSlotsComponent_ng_template_0_Case_3_Template, 1, 1, "ng-container", 9)(4, AccordionItemDefaultSlotsComponent_ng_template_0_Case_4_Template, 1, 1, "ng-container", 9)(5, AccordionItemDefaultSlotsComponent_ng_template_0_Case_5_Template, 1, 1, "ng-container", 9)(6, AccordionItemDefaultSlotsComponent_ng_template_0_Case_6_Template, 1, 1, "ng-container", 9)(7, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_7_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(9, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_9_Template, 2, 2, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(11, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_11_Template, 2, 2, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(13, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_13_Template, 2, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor)(15, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_15_Template, 2, 2, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor)(17, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_17_Template, 2, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor)(19, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_19_Template, 2, 7, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor)(21, AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Template, 3, 8, "div", 10);
2410
+ i0.ɵɵconditionalCreate(0, AccordionItemDefaultSlotsComponent_ng_template_0_Case_0_Template, 1, 1, "ng-container", 9)(1, AccordionItemDefaultSlotsComponent_ng_template_0_Case_1_Template, 1, 1, "ng-container", 9)(2, AccordionItemDefaultSlotsComponent_ng_template_0_Case_2_Template, 1, 1, "ng-container", 9)(3, AccordionItemDefaultSlotsComponent_ng_template_0_Case_3_Template, 1, 1, "ng-container", 9)(4, AccordionItemDefaultSlotsComponent_ng_template_0_Case_4_Template, 1, 1, "ng-container", 9)(5, AccordionItemDefaultSlotsComponent_ng_template_0_Case_5_Template, 1, 1, "ng-container", 9)(6, AccordionItemDefaultSlotsComponent_ng_template_0_Case_6_Template, 1, 1, "ng-container", 9);
2411
+ i0.ɵɵtemplate(7, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_7_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(9, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_9_Template, 2, 2, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(11, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_11_Template, 2, 2, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(13, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_13_Template, 2, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor)(15, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_15_Template, 2, 2, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor)(17, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_17_Template, 2, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor)(19, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_19_Template, 2, 7, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
2412
+ i0.ɵɵconditionalCreate(21, AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Template, 3, 8, "div", 10);
2338
2413
  } if (rf & 2) {
2339
2414
  let tmp_12_0;
2340
2415
  const state_r10 = ctx.state;
@@ -2513,8 +2588,7 @@ const accordionItemDefaultSlotStructure = new ComponentTemplate(AccordionItemDef
2513
2588
  */
2514
2589
  class AccordionItemComponent extends BaseWidgetDirective {
2515
2590
  constructor() {
2516
- super(callWidgetFactory({
2517
- factory: (arg) => inject(AccordionDirective).api.registerItem(arg),
2591
+ super(callWidgetFactory((arg) => inject(AccordionDirective).api.registerItem(arg), {
2518
2592
  defaultConfig: {
2519
2593
  structure: accordionItemDefaultSlotStructure,
2520
2594
  },
@@ -2673,9 +2747,7 @@ class AccordionItemComponent extends BaseWidgetDirective {
2673
2747
  */
2674
2748
  class AccordionDirective extends BaseWidgetDirective {
2675
2749
  constructor() {
2676
- super(callWidgetFactory({
2677
- factory: export_createAccordion,
2678
- widgetName: 'accordion',
2750
+ super(callWidgetFactory(export_createAccordion, {
2679
2751
  events: {
2680
2752
  onItemShown: (id) => this.itemShown.emit(id),
2681
2753
  onItemHidden: (id) => this.itemHidden.emit(id),
@@ -2844,12 +2916,12 @@ function SliderDefaultTickSlotComponent_ng_template_0_Conditional_4_Template(rf,
2844
2916
  i0.ɵɵelement(0, "circle", 5);
2845
2917
  } }
2846
2918
  function SliderDefaultTickSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
2847
- i0.ɵɵtemplate(0, SliderDefaultTickSlotComponent_ng_template_0_Conditional_0_Template, 2, 7, "span", 2);
2919
+ i0.ɵɵconditionalCreate(0, SliderDefaultTickSlotComponent_ng_template_0_Conditional_0_Template, 2, 7, "span", 2);
2848
2920
  i0.ɵɵelementStart(1, "span", 2);
2849
2921
  i0.ɵɵnamespaceSVG();
2850
2922
  i0.ɵɵelementStart(2, "svg", 3);
2851
2923
  i0.ɵɵelement(3, "circle", 4);
2852
- i0.ɵɵtemplate(4, SliderDefaultTickSlotComponent_ng_template_0_Conditional_4_Template, 1, 0, ":svg:circle", 5);
2924
+ i0.ɵɵconditionalCreate(4, SliderDefaultTickSlotComponent_ng_template_0_Conditional_4_Template, 1, 0, ":svg:circle", 5);
2853
2925
  i0.ɵɵelementEnd()();
2854
2926
  } if (rf & 2) {
2855
2927
  const state_r4 = ctx.state;
@@ -2932,7 +3004,7 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditi
2932
3004
  } }
2933
3005
  function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
2934
3006
  i0.ɵɵelementStart(0, "div", 2);
2935
- i0.ɵɵtemplate(1, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_1_Template, 3, 14)(2, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_2_Template, 3, 14);
3007
+ i0.ɵɵconditionalCreate(1, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_1_Template, 3, 14)(2, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_2_Template, 3, 14);
2936
3008
  i0.ɵɵelementEnd();
2937
3009
  } if (rf & 2) {
2938
3010
  const ctx_r2 = i0.ɵɵnextContext();
@@ -2970,7 +3042,8 @@ function SliderDefaultStructureSlotComponent_ng_template_0_For_8_Conditional_1_T
2970
3042
  i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(8, _c7$1, state_r4, api_r5, directives_r2, state_r4.values()[ɵ$index_35_r7]));
2971
3043
  } }
2972
3044
  function SliderDefaultStructureSlotComponent_ng_template_0_For_8_Template(rf, ctx) { if (rf & 1) {
2973
- i0.ɵɵtemplate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_8_ng_template_0_Template, 0, 0, "ng-template", 3)(1, SliderDefaultStructureSlotComponent_ng_template_0_For_8_Conditional_1_Template, 2, 13, "div", 2);
3045
+ i0.ɵɵtemplate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_8_ng_template_0_Template, 0, 0, "ng-template", 3);
3046
+ i0.ɵɵconditionalCreate(1, SliderDefaultStructureSlotComponent_ng_template_0_For_8_Conditional_1_Template, 2, 13, "div", 2);
2974
3047
  } if (rf & 2) {
2975
3048
  const item_r8 = ctx.$implicit;
2976
3049
  const ctx_r2 = i0.ɵɵnextContext();
@@ -2984,7 +3057,8 @@ function SliderDefaultStructureSlotComponent_ng_template_0_For_8_Template(rf, ct
2984
3057
  function SliderDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
2985
3058
  i0.ɵɵrepeaterCreate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_1_Template, 1, 6, "div", 2, _forTrack0$2);
2986
3059
  i0.ɵɵelement(2, "div", 2);
2987
- i0.ɵɵtemplate(3, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_Template, 4, 16)(4, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Template, 3, 2, "div", 2);
3060
+ i0.ɵɵconditionalCreate(3, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_Template, 4, 16);
3061
+ i0.ɵɵconditionalCreate(4, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Template, 3, 2, "div", 2);
2988
3062
  i0.ɵɵrepeaterCreate(5, SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template, 1, 7, null, 3, _forTrack1);
2989
3063
  i0.ɵɵrepeaterCreate(7, SliderDefaultStructureSlotComponent_ng_template_0_For_8_Template, 2, 8, null, null, _forTrack0$2);
2990
3064
  } if (rf & 2) {
@@ -3248,9 +3322,7 @@ const sliderDefaultSlotStructure = new ComponentTemplate(SliderDefaultStructureS
3248
3322
  */
3249
3323
  class SliderComponent extends BaseWidgetDirective {
3250
3324
  constructor() {
3251
- super(callWidgetFactory({
3252
- factory: export_createSlider,
3253
- widgetName: 'slider',
3325
+ super(callWidgetFactory(export_createSlider, {
3254
3326
  defaultConfig: {
3255
3327
  structure: sliderDefaultSlotStructure,
3256
3328
  handle: sliderDefaultSlotHandle,
@@ -3612,9 +3684,7 @@ const progressbarDefaultSlotStructure = new ComponentTemplate(ProgressbarDefault
3612
3684
  */
3613
3685
  class ProgressbarComponent extends BaseWidgetDirective {
3614
3686
  constructor() {
3615
- super(callWidgetFactory({
3616
- factory: export_createProgressbar,
3617
- widgetName: 'progressbar',
3687
+ super(callWidgetFactory(export_createProgressbar, {
3618
3688
  defaultConfig: {
3619
3689
  structure: progressbarDefaultSlotStructure,
3620
3690
  },
@@ -3777,7 +3847,8 @@ function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_2_Te
3777
3847
  } }
3778
3848
  function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
3779
3849
  i0.ɵɵelementStart(0, "div", 2);
3780
- i0.ɵɵtemplate(1, ToastDefaultSlotsComponent_ng_template_0_Conditional_0_ng_template_1_Template, 0, 0, "ng-template", 4)(2, ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_2_Template, 1, 1, "button", 6);
3850
+ i0.ɵɵtemplate(1, ToastDefaultSlotsComponent_ng_template_0_Conditional_0_ng_template_1_Template, 0, 0, "ng-template", 4);
3851
+ i0.ɵɵconditionalCreate(2, ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_2_Template, 1, 1, "button", 6);
3781
3852
  i0.ɵɵelementEnd();
3782
3853
  } if (rf & 2) {
3783
3854
  const ctx_r1 = i0.ɵɵnextContext();
@@ -3797,11 +3868,11 @@ function ToastDefaultSlotsComponent_ng_template_0_Conditional_3_Template(rf, ctx
3797
3868
  i0.ɵɵproperty("auUse", directives_r1.closeButtonDirective);
3798
3869
  } }
3799
3870
  function ToastDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
3800
- i0.ɵɵtemplate(0, ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Template, 3, 7, "div", 2);
3871
+ i0.ɵɵconditionalCreate(0, ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Template, 3, 7, "div", 2);
3801
3872
  i0.ɵɵelementStart(1, "div", 3);
3802
3873
  i0.ɵɵtemplate(2, ToastDefaultSlotsComponent_ng_template_0_ng_template_2_Template, 0, 0, "ng-template", 4);
3803
3874
  i0.ɵɵelementEnd();
3804
- i0.ɵɵtemplate(3, ToastDefaultSlotsComponent_ng_template_0_Conditional_3_Template, 1, 1, "button", 5);
3875
+ i0.ɵɵconditionalCreate(3, ToastDefaultSlotsComponent_ng_template_0_Conditional_3_Template, 1, 1, "button", 5);
3805
3876
  } if (rf & 2) {
3806
3877
  const state_r3 = ctx.state;
3807
3878
  const api_r4 = ctx.api;
@@ -3933,9 +4004,7 @@ const toastDefaultSlotStructure = new ComponentTemplate(ToastDefaultSlotsCompone
3933
4004
  */
3934
4005
  class ToastComponent extends BaseWidgetDirective {
3935
4006
  constructor() {
3936
- super(callWidgetFactory({
3937
- factory: export_createToast,
3938
- widgetName: 'toast',
4007
+ super(callWidgetFactory(export_createToast, {
3939
4008
  defaultConfig: {
3940
4009
  structure: toastDefaultSlotStructure,
3941
4010
  },
@@ -4071,7 +4140,8 @@ class ToastComponent extends BaseWidgetDirective {
4071
4140
  i0.ɵɵqueryAdvance();
4072
4141
  } }, inputs: { dismissible: [1, "auDismissible", "dismissible"], transition: [1, "auTransition", "transition"], visible: [1, "auVisible", "visible"], animatedOnInit: [1, "auAnimatedOnInit", "animatedOnInit"], animated: [1, "auAnimated", "animated"], autoHide: [1, "auAutoHide", "autoHide"], delay: [1, "auDelay", "delay"], ariaCloseButtonLabel: [1, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], children: [1, "auChildren", "children"], structure: [1, "auStructure", "structure"], header: [1, "auHeader", "header"], className: [1, "auClassName", "className"] }, outputs: { visibleChange: "auVisibleChange", hidden: "auHidden", shown: "auShown" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c3$2, ngContentSelectors: _c4$2, decls: 3, vars: 1, consts: [["content", ""], [3, "d-flex", "toast-dismissible", "auUseMulti"], [3, "auUseMulti"], [3, "auSlot", "auSlotProps"]], template: function ToastComponent_Template(rf, ctx) { if (rf & 1) {
4073
4142
  i0.ɵɵprojectionDef();
4074
- i0.ɵɵtemplate(0, ToastComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, ToastComponent_Conditional_2_Template, 2, 15, "div", 1);
4143
+ i0.ɵɵtemplate(0, ToastComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
4144
+ i0.ɵɵconditionalCreate(2, ToastComponent_Conditional_2_Template, 2, 15, "div", 1);
4075
4145
  } if (rf & 2) {
4076
4146
  i0.ɵɵadvance(2);
4077
4147
  i0.ɵɵconditional(!ctx.state.hidden() ? 2 : -1);
@@ -4104,9 +4174,7 @@ class ToastComponent extends BaseWidgetDirective {
4104
4174
  */
4105
4175
  class CollapseDirective extends BaseWidgetDirective {
4106
4176
  constructor() {
4107
- super(callWidgetFactory({
4108
- factory: createCollapse,
4109
- widgetName: 'collapse',
4177
+ super(callWidgetFactory(createCollapse, {
4110
4178
  events: {
4111
4179
  onVisibleChange: (event) => this.visibleChange.emit(event),
4112
4180
  onShown: () => this.shown.emit(),
@@ -4256,7 +4324,7 @@ function TreeDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { if
4256
4324
  } if (rf & 2) {
4257
4325
  const state_r3 = ctx.state;
4258
4326
  const directives_r4 = ctx.directives;
4259
- i0.ɵɵclassMapInterpolate1("au-tree ", state_r3.className(), "");
4327
+ i0.ɵɵclassMap(i0.ɵɵinterpolate1("au-tree ", state_r3.className()));
4260
4328
  i0.ɵɵproperty("auUse", directives_r4.navigationDirective);
4261
4329
  i0.ɵɵadvance();
4262
4330
  i0.ɵɵrepeater(state_r3.normalizedNodes());
@@ -4278,7 +4346,7 @@ function TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_1_Template
4278
4346
  i0.ɵɵelement(0, "span", 3);
4279
4347
  } }
4280
4348
  function TreeDefaultItemToggleSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
4281
- i0.ɵɵtemplate(0, TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_0_Template, 2, 6, "button", 2)(1, TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_1_Template, 1, 0, "span", 3);
4349
+ i0.ɵɵconditionalCreate(0, TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_0_Template, 2, 6, "button", 2)(1, TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_1_Template, 1, 0, "span", 3);
4282
4350
  } if (rf & 2) {
4283
4351
  const item_r3 = ctx.item;
4284
4352
  i0.ɵɵconditional(item_r3.children.length > 0 ? 0 : 1);
@@ -4324,7 +4392,8 @@ function TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_Template(rf, c
4324
4392
  } }
4325
4393
  function TreeDefaultItemSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
4326
4394
  i0.ɵɵelementStart(0, "li", 2);
4327
- i0.ɵɵtemplate(1, TreeDefaultItemSlotComponent_ng_template_0_ng_template_1_Template, 0, 0, "ng-template", 3)(2, TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_Template, 3, 0, "ul", 4);
4395
+ i0.ɵɵtemplate(1, TreeDefaultItemSlotComponent_ng_template_0_ng_template_1_Template, 0, 0, "ng-template", 3);
4396
+ i0.ɵɵconditionalCreate(2, TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_Template, 3, 0, "ul", 4);
4328
4397
  i0.ɵɵelementEnd();
4329
4398
  } if (rf & 2) {
4330
4399
  const state_r3 = ctx.state;
@@ -4571,9 +4640,7 @@ const treeDefaultSlotItem = new ComponentTemplate(TreeDefaultItemSlotComponent,
4571
4640
  */
4572
4641
  class TreeComponent extends BaseWidgetDirective {
4573
4642
  constructor() {
4574
- super(callWidgetFactory$1({
4575
- factory: export_createTree,
4576
- widgetName: 'tree',
4643
+ super(callWidgetFactory$1(export_createTree, {
4577
4644
  defaultConfig: {
4578
4645
  structure: treeDefaultSlotStructure,
4579
4646
  item: treeDefaultSlotItem,
@@ -4707,39 +4774,36 @@ const _c3 = (a0, a1) => [a0, a1];
4707
4774
  const _c4 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
4708
4775
  const _forTrack0$1 = ($index, $item) => $item.id;
4709
4776
  function CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
4710
- i0.ɵɵdeclareLet(0);
4711
- i0.ɵɵelementStart(1, "button", 6);
4712
- i0.ɵɵelement(2, "span");
4777
+ i0.ɵɵelementStart(0, "button", 6);
4778
+ i0.ɵɵelement(1, "span");
4713
4779
  i0.ɵɵelementEnd();
4714
4780
  } if (rf & 2) {
4715
4781
  const ctx_r0 = i0.ɵɵnextContext(2);
4716
4782
  const state_r2 = ctx_r0.state;
4717
4783
  const directives_r3 = ctx_r0.directives;
4718
4784
  const prevBtnClassPrefix_r4 = state_r2.direction() === "rtl" ? "carousel-control-next" : "carousel-control-prev";
4719
- i0.ɵɵadvance();
4720
4785
  i0.ɵɵclassMap(prevBtnClassPrefix_r4);
4721
4786
  i0.ɵɵproperty("auUse", directives_r3.scrollPrev);
4722
4787
  i0.ɵɵadvance();
4723
- i0.ɵɵclassMapInterpolate1("", prevBtnClassPrefix_r4, "-icon");
4788
+ i0.ɵɵclassMap(i0.ɵɵinterpolate1("", prevBtnClassPrefix_r4, "-icon"));
4724
4789
  } }
4725
4790
  function CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
4726
- i0.ɵɵdeclareLet(0);
4727
- i0.ɵɵelementStart(1, "button", 6);
4728
- i0.ɵɵelement(2, "span");
4791
+ i0.ɵɵelementStart(0, "button", 6);
4792
+ i0.ɵɵelement(1, "span");
4729
4793
  i0.ɵɵelementEnd();
4730
4794
  } if (rf & 2) {
4731
4795
  const ctx_r0 = i0.ɵɵnextContext(2);
4732
4796
  const state_r2 = ctx_r0.state;
4733
4797
  const directives_r3 = ctx_r0.directives;
4734
4798
  const nextBtnClassPrefix_r5 = state_r2.direction() === "ltr" ? "carousel-control-next" : "carousel-control-prev";
4735
- i0.ɵɵadvance();
4736
4799
  i0.ɵɵclassMap(nextBtnClassPrefix_r5);
4737
4800
  i0.ɵɵproperty("auUse", directives_r3.scrollNext);
4738
4801
  i0.ɵɵadvance();
4739
- i0.ɵɵclassMapInterpolate1("", nextBtnClassPrefix_r5, "-icon");
4802
+ i0.ɵɵclassMap(i0.ɵɵinterpolate1("", nextBtnClassPrefix_r5, "-icon"));
4740
4803
  } }
4741
4804
  function CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
4742
- i0.ɵɵtemplate(0, CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_0_Template, 3, 7, "button", 5)(1, CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_1_Template, 3, 7, "button", 5);
4805
+ i0.ɵɵconditionalCreate(0, CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_0_Template, 2, 6, "button", 5);
4806
+ i0.ɵɵconditionalCreate(1, CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_1_Template, 2, 6, "button", 5);
4743
4807
  } if (rf & 2) {
4744
4808
  const state_r2 = i0.ɵɵnextContext().state;
4745
4809
  i0.ɵɵconditional(state_r2.canScrollPrev() ? 0 : -1);
@@ -4770,7 +4834,8 @@ function CarouselDefaultSlotsComponent_ng_template_0_Conditional_1_Template(rf,
4770
4834
  i0.ɵɵrepeater(state_r2.slidesData());
4771
4835
  } }
4772
4836
  function CarouselDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
4773
- i0.ɵɵtemplate(0, CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Template, 2, 2)(1, CarouselDefaultSlotsComponent_ng_template_0_Conditional_1_Template, 3, 1, "div", 4);
4837
+ i0.ɵɵconditionalCreate(0, CarouselDefaultSlotsComponent_ng_template_0_Conditional_0_Template, 2, 2);
4838
+ i0.ɵɵconditionalCreate(1, CarouselDefaultSlotsComponent_ng_template_0_Conditional_1_Template, 3, 1, "div", 4);
4774
4839
  } if (rf & 2) {
4775
4840
  const state_r2 = ctx.state;
4776
4841
  i0.ɵɵconditional(state_r2.showNavigationArrows() ? 0 : -1);
@@ -4930,7 +4995,7 @@ class CarouselDefaultSlotsComponent {
4930
4995
  `,
4931
4996
  }]
4932
4997
  }], null, null); })();
4933
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CarouselDefaultSlotsComponent, { className: "CarouselDefaultSlotsComponent", filePath: "components/carousel/carousel.component.ts", lineNumber: 108 }); })();
4998
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CarouselDefaultSlotsComponent, { className: "CarouselDefaultSlotsComponent", filePath: "components/carousel/carousel.component.ts", lineNumber: 107 }); })();
4934
4999
  /**
4935
5000
  * The default slot for the structure
4936
5001
  */
@@ -4946,9 +5011,7 @@ const carouselDefaultSlotNavigation = new ComponentTemplate(CarouselDefaultSlots
4946
5011
  */
4947
5012
  class CarouselComponent extends BaseWidgetDirective {
4948
5013
  constructor() {
4949
- super(callWidgetFactory({
4950
- factory: export_createCarousel,
4951
- widgetName: 'carousel',
5014
+ super(callWidgetFactory(export_createCarousel, {
4952
5015
  afterInit: (widget) => useDirectiveForHost(widget.directives.root),
4953
5016
  defaultConfig: {
4954
5017
  structure: carouselDefaultSlotStructure,
@@ -5121,7 +5184,7 @@ class CarouselComponent extends BaseWidgetDirective {
5121
5184
  template: ` <ng-template [auSlot]="state.structure()" [auSlotProps]="{state, api, directives}" /> `,
5122
5185
  }]
5123
5186
  }], () => [], null); })();
5124
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CarouselComponent, { className: "CarouselComponent", filePath: "components/carousel/carousel.component.ts", lineNumber: 139 }); })();
5187
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CarouselComponent, { className: "CarouselComponent", filePath: "components/carousel/carousel.component.ts", lineNumber: 138 }); })();
5125
5188
 
5126
5189
  class ToasterService extends ToasterService$1 {
5127
5190
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵToasterService_BaseFactory; return function ToasterService_Factory(__ngFactoryType__) { return (ɵToasterService_BaseFactory || (ɵToasterService_BaseFactory = i0.ɵɵgetInheritedFactory(ToasterService)))(__ngFactoryType__ || ToasterService); }; })(); }
@@ -5154,12 +5217,11 @@ function ToasterComponent_For_3_Template(rf, ctx) { if (rf & 1) {
5154
5217
  i0.ɵɵlistener("auHidden", function ToasterComponent_For_3_Template_au_component_auHidden_1_listener() { const toast_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleHidden(toast_r4)); })("auVisibleChange", function ToasterComponent_For_3_Template_au_component_auVisibleChange_1_listener() { const toast_r4 = i0.ɵɵrestoreView(_r3).$implicit; return i0.ɵɵresetView(toast_r4.props.onVisibleChange); });
5155
5218
  i0.ɵɵelementEnd()();
5156
5219
  } if (rf & 2) {
5157
- let tmp_11_0;
5158
5220
  const toast_r4 = ctx.$implicit;
5159
5221
  const ctx_r1 = i0.ɵɵnextContext();
5160
5222
  i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(9, _c1, ctx_r1.toasterService.eventsDirective, toast_r4.id));
5161
5223
  i0.ɵɵadvance();
5162
- i0.ɵɵproperty("auDismissible", (tmp_11_0 = toast_r4.props.dismissible) !== null && tmp_11_0 !== undefined ? tmp_11_0 : ctx_r1.toasterService.options().dismissible)("auAnimated", toast_r4.props.animated)("auAutoHide", false)("auClassName", toast_r4.props.className)("auAriaCloseButtonLabel", toast_r4.props.ariaCloseButtonLabel)("auStructure", toast_r4.props.structure)("auChildren", toast_r4.props.children)("auHeader", toast_r4.props.header);
5224
+ i0.ɵɵproperty("auDismissible", toast_r4.props.dismissible ?? ctx_r1.toasterService.options().dismissible)("auAnimated", toast_r4.props.animated)("auAutoHide", false)("auClassName", toast_r4.props.className)("auAriaCloseButtonLabel", toast_r4.props.ariaCloseButtonLabel)("auStructure", toast_r4.props.structure)("auChildren", toast_r4.props.children)("auHeader", toast_r4.props.header);
5163
5225
  } }
5164
5226
  class ToasterComponent {
5165
5227
  constructor() {
@@ -5192,7 +5254,7 @@ class ToasterComponent {
5192
5254
  static { this.ɵfac = function ToasterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToasterComponent)(); }; }
5193
5255
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToasterComponent, selectors: [["", "auToaster", ""]], hostAttrs: ["aria-live", "polite", "aria-atomic", "true", 1, "au-toaster"], inputs: { auDismissible: [1, "auDismissible"], auDuration: [1, "auDuration"], auPosition: [1, "auPosition"], auLimit: [1, "auLimit"], auPauseOnHover: [1, "auPauseOnHover"], auCloseAll: [1, "auCloseAll"], auCloseAllLabel: [1, "auCloseAllLabel"] }, attrs: _c0, decls: 4, vars: 3, consts: [[1, "d-flex", "position-relative", "align-items-end", "pb-2"], [3, "auUse"], [1, "au-toaster-closeAll", "btn", "btn-secondary", "me-0", "ms-auto", "pe-auto", 3, "click"], ["auToast", "", 3, "auHidden", "auVisibleChange", "auDismissible", "auAnimated", "auAutoHide", "auClassName", "auAriaCloseButtonLabel", "auStructure", "auChildren", "auHeader"]], template: function ToasterComponent_Template(rf, ctx) { if (rf & 1) {
5194
5256
  i0.ɵɵelementStart(0, "div");
5195
- i0.ɵɵtemplate(1, ToasterComponent_Conditional_1_Template, 3, 1, "div", 0);
5257
+ i0.ɵɵconditionalCreate(1, ToasterComponent_Conditional_1_Template, 3, 1, "div", 0);
5196
5258
  i0.ɵɵrepeaterCreate(2, ToasterComponent_For_3_Template, 2, 12, "div", 1, _forTrack0);
5197
5259
  i0.ɵɵelementEnd();
5198
5260
  } if (rf & 2) {