@agnos-ui/angular-bootstrap 0.8.0-next.0 → 0.8.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/agnos-ui-angular.module.d.ts +5 -3
- package/components/carousel/carousel.component.d.ts +205 -0
- package/components/carousel/carousel.gen.d.ts +358 -0
- package/components/carousel/index.d.ts +2 -0
- package/components/toast/index.d.ts +2 -0
- package/components/toast/toast.gen.d.ts +85 -0
- package/components/toast/toaster.component.d.ts +17 -0
- package/components/toast/toaster.service.d.ts +7 -0
- package/config.gen.d.ts +5 -0
- package/fesm2022/agnos-ui-angular-bootstrap.mjs +755 -205
- package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
- package/index.d.ts +5 -0
- package/package.json +5 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { widgetsConfigFactory, SlotDirective, UseDirective, ComponentTemplate, BaseWidgetDirective, auBooleanAttribute, UseMultiDirective, auNumberAttribute, useDirectiveForHost, callWidgetFactory as callWidgetFactory$1 } from '@agnos-ui/angular-headless';
|
|
1
|
+
import { widgetsConfigFactory, SlotDirective, UseDirective, ComponentTemplate, BaseWidgetDirective, auBooleanAttribute, UseMultiDirective, auNumberAttribute, useDirectiveForHost, callWidgetFactory as callWidgetFactory$1, ToasterService as ToasterService$1 } from '@agnos-ui/angular-headless';
|
|
2
2
|
export * from '@agnos-ui/angular-headless';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, inject, TemplateRef, Directive, viewChild,
|
|
4
|
+
import { InjectionToken, inject, TemplateRef, Directive, viewChild, ChangeDetectionStrategy, Component, input, contentChild, output, ViewEncapsulation, forwardRef, Injector, runInInjectionContext, Injectable, computed, effect, NgModule, ApplicationRef, createComponent, EnvironmentInjector, OutputEmitterRef } from '@angular/core';
|
|
5
5
|
import { getModalDefaultConfig, createModal, modalOutsideClick, modalCloseButtonClick } from '@agnos-ui/core-bootstrap/components/modal';
|
|
6
6
|
import { getPaginationDefaultConfig, createPagination } from '@agnos-ui/core-bootstrap/components/pagination';
|
|
7
7
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
@@ -12,9 +12,10 @@ import { NgTemplateOutlet, NgClass } from '@angular/common';
|
|
|
12
12
|
import { getAccordionDefaultConfig, createAccordionItem, createAccordion, factoryCreateAccordion } from '@agnos-ui/core-bootstrap/components/accordion';
|
|
13
13
|
import { getSliderDefaultConfig, createSlider } from '@agnos-ui/core-bootstrap/components/slider';
|
|
14
14
|
import { getProgressbarDefaultConfig, createProgressbar } from '@agnos-ui/core-bootstrap/components/progressbar';
|
|
15
|
-
import { getToastDefaultConfig, createToast } from '@agnos-ui/core-bootstrap/components/toast';
|
|
15
|
+
import { getToastDefaultConfig, createToast, toastPositions, defaultToasterProps } from '@agnos-ui/core-bootstrap/components/toast';
|
|
16
16
|
import { createCollapse, getCollapseDefaultConfig } from '@agnos-ui/core-bootstrap/components/collapse';
|
|
17
17
|
import { getTreeDefaultConfig, createTree } from '@agnos-ui/core-bootstrap/components/tree';
|
|
18
|
+
import { getCarouselDefaultConfig, createCarousel } from '@agnos-ui/core-bootstrap/components/carousel';
|
|
18
19
|
export * from '@agnos-ui/core-bootstrap/services/transitions';
|
|
19
20
|
export * from '@agnos-ui/core-bootstrap/types';
|
|
20
21
|
|
|
@@ -59,9 +60,9 @@ const widgetFactories = widgetsConfigFactory(new InjectionToken('bootstrapWidget
|
|
|
59
60
|
*/
|
|
60
61
|
const { widgetsConfigInjectionToken, provideWidgetsConfig, injectWidgetConfig, injectWidgetsConfig, callWidgetFactory } = widgetFactories;
|
|
61
62
|
|
|
62
|
-
const _c0$
|
|
63
|
-
const _c1$
|
|
64
|
-
const _c2$
|
|
63
|
+
const _c0$b = ["header"];
|
|
64
|
+
const _c1$b = ["structure"];
|
|
65
|
+
const _c2$a = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
65
66
|
function ModalDefaultSlotsComponent_ng_template_0_ng_template_1_Template(rf, ctx) { }
|
|
66
67
|
function ModalDefaultSlotsComponent_ng_template_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
67
68
|
i0.ɵɵelement(0, "button", 6);
|
|
@@ -79,7 +80,7 @@ function ModalDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
79
80
|
const api_r3 = ctx.api;
|
|
80
81
|
const directives_r1 = ctx.directives;
|
|
81
82
|
i0.ɵɵadvance();
|
|
82
|
-
i0.ɵɵproperty("auSlot", state_r2.title())("auSlotProps", i0.ɵɵpureFunction3(3, _c2$
|
|
83
|
+
i0.ɵɵproperty("auSlot", state_r2.title())("auSlotProps", i0.ɵɵpureFunction3(3, _c2$a, state_r2, api_r3, directives_r1));
|
|
83
84
|
i0.ɵɵadvance();
|
|
84
85
|
i0.ɵɵconditional(state_r2.closeButton() ? 2 : -1);
|
|
85
86
|
} }
|
|
@@ -94,7 +95,7 @@ function ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template(rf, ctx
|
|
|
94
95
|
const api_r6 = ctx_r3.api;
|
|
95
96
|
const directives_r7 = ctx_r3.directives;
|
|
96
97
|
i0.ɵɵadvance();
|
|
97
|
-
i0.ɵɵproperty("auSlot", state_r5.header())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$
|
|
98
|
+
i0.ɵɵproperty("auSlot", state_r5.header())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$a, state_r5, api_r6, directives_r7));
|
|
98
99
|
} }
|
|
99
100
|
function ModalDefaultSlotsComponent_ng_template_2_ng_template_2_Template(rf, ctx) { }
|
|
100
101
|
function ModalDefaultSlotsComponent_ng_template_2_Conditional_3_ng_template_1_Template(rf, ctx) { }
|
|
@@ -108,7 +109,7 @@ function ModalDefaultSlotsComponent_ng_template_2_Conditional_3_Template(rf, ctx
|
|
|
108
109
|
const api_r6 = ctx_r3.api;
|
|
109
110
|
const directives_r7 = ctx_r3.directives;
|
|
110
111
|
i0.ɵɵadvance();
|
|
111
|
-
i0.ɵɵproperty("auSlot", state_r5.footer())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$
|
|
112
|
+
i0.ɵɵproperty("auSlot", state_r5.footer())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$a, state_r5, api_r6, directives_r7));
|
|
112
113
|
} }
|
|
113
114
|
function ModalDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
114
115
|
i0.ɵɵtemplate(0, ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template, 2, 6, "div", 7);
|
|
@@ -122,13 +123,13 @@ function ModalDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1
|
|
|
122
123
|
const directives_r7 = ctx.directives;
|
|
123
124
|
i0.ɵɵconditional(state_r5.title() ? 0 : -1);
|
|
124
125
|
i0.ɵɵadvance(2);
|
|
125
|
-
i0.ɵɵproperty("auSlot", state_r5.children())("auSlotProps", i0.ɵɵpureFunction3(4, _c2$
|
|
126
|
+
i0.ɵɵproperty("auSlot", state_r5.children())("auSlotProps", i0.ɵɵpureFunction3(4, _c2$a, state_r5, api_r6, directives_r7));
|
|
126
127
|
i0.ɵɵadvance();
|
|
127
128
|
i0.ɵɵconditional(state_r5.footer() ? 3 : -1);
|
|
128
129
|
} }
|
|
129
|
-
const _c3$
|
|
130
|
-
const _c4$
|
|
131
|
-
const _c5$
|
|
130
|
+
const _c3$9 = ["content"];
|
|
131
|
+
const _c4$8 = ["auModal", ""];
|
|
132
|
+
const _c5$6 = ["*"];
|
|
132
133
|
const _c6$3 = (a0, a1) => [a0, a1];
|
|
133
134
|
function ModalComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
134
135
|
i0.ɵɵprojection(0);
|
|
@@ -150,7 +151,7 @@ function ModalComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
150
151
|
i0.ɵɵadvance();
|
|
151
152
|
i0.ɵɵclassMapInterpolate1("modal-dialog ", ctx_r0.state.fullscreen() ? "modal-fullscreen" : "", "");
|
|
152
153
|
i0.ɵɵadvance(2);
|
|
153
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$
|
|
154
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$a, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
|
|
154
155
|
} }
|
|
155
156
|
/**
|
|
156
157
|
* Directive to provide the slot structure for the modal widget.
|
|
@@ -252,8 +253,8 @@ class ModalDefaultSlotsComponent {
|
|
|
252
253
|
}
|
|
253
254
|
static { this.ɵfac = function ModalDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalDefaultSlotsComponent)(); }; }
|
|
254
255
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModalDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function ModalDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
255
|
-
i0.ɵɵviewQuerySignal(ctx.header, _c0$
|
|
256
|
-
i0.ɵɵviewQuerySignal(ctx.structure, _c1$
|
|
256
|
+
i0.ɵɵviewQuerySignal(ctx.header, _c0$b, 5);
|
|
257
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c1$b, 5);
|
|
257
258
|
} if (rf & 2) {
|
|
258
259
|
i0.ɵɵqueryAdvance(2);
|
|
259
260
|
} }, decls: 4, vars: 0, consts: [["header", ""], ["structure", ""], ["auModalHeader", ""], ["auModalStructure", ""], [1, "modal-title"], [3, "auSlot", "auSlotProps"], [1, "btn-close", 3, "auUse"], [1, "modal-header"], [1, "modal-body"], [1, "modal-footer"]], template: function ModalDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -488,10 +489,10 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
488
489
|
} if (rf & 2) {
|
|
489
490
|
i0.ɵɵqueryAdvance(5);
|
|
490
491
|
} }, viewQuery: function ModalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
491
|
-
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c3$
|
|
492
|
+
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c3$9, 5);
|
|
492
493
|
} if (rf & 2) {
|
|
493
494
|
i0.ɵɵqueryAdvance();
|
|
494
|
-
} }, 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$
|
|
495
|
+
} }, 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) {
|
|
495
496
|
i0.ɵɵprojectionDef();
|
|
496
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);
|
|
497
498
|
} if (rf & 2) {
|
|
@@ -538,12 +539,12 @@ const export_getPaginationDefaultConfig = getPaginationDefaultConfig;
|
|
|
538
539
|
*/
|
|
539
540
|
const export_createPagination = createPagination;
|
|
540
541
|
|
|
541
|
-
const _c0$
|
|
542
|
-
const _c1$
|
|
543
|
-
const _c2$
|
|
544
|
-
const _c3$
|
|
545
|
-
const _c4$
|
|
546
|
-
const _c5$
|
|
542
|
+
const _c0$a = ["pages"];
|
|
543
|
+
const _c1$a = ["structure"];
|
|
544
|
+
const _c2$9 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
545
|
+
const _c3$8 = a0 => ({ page: a0 });
|
|
546
|
+
const _c4$7 = (a0, a1) => [a0, a1];
|
|
547
|
+
const _c5$5 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, displayedPage: a3 });
|
|
547
548
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_ng_template_1_Template(rf, ctx) { }
|
|
548
549
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
549
550
|
i0.ɵɵelementStart(0, "div", 7);
|
|
@@ -558,7 +559,7 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Templ
|
|
|
558
559
|
const api_r3 = ctx_r0.api;
|
|
559
560
|
const directives_r4 = ctx_r0.directives;
|
|
560
561
|
i0.ɵɵadvance();
|
|
561
|
-
i0.ɵɵproperty("auSlot", state_r2.ellipsisLabel())("auSlotProps", i0.ɵɵpureFunction3(3, _c2$
|
|
562
|
+
i0.ɵɵproperty("auSlot", state_r2.ellipsisLabel())("auSlotProps", i0.ɵɵpureFunction3(3, _c2$9, state_r2, api_r3, directives_r4));
|
|
562
563
|
i0.ɵɵadvance(2);
|
|
563
564
|
i0.ɵɵtextInterpolate(state_r2.ariaEllipsisLabel());
|
|
564
565
|
} }
|
|
@@ -582,9 +583,9 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Templ
|
|
|
582
583
|
const state_r2 = ctx_r0.state;
|
|
583
584
|
const api_r3 = ctx_r0.api;
|
|
584
585
|
const directives_r4 = ctx_r0.directives;
|
|
585
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4$
|
|
586
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4$7, directives_r4.pageLink, i0.ɵɵpureFunction1(4, _c3$8, page_r5)));
|
|
586
587
|
i0.ɵɵadvance();
|
|
587
|
-
i0.ɵɵproperty("auSlot", state_r2.numberLabel())("auSlotProps", i0.ɵɵpureFunction4(9, _c5$
|
|
588
|
+
i0.ɵɵproperty("auSlot", state_r2.numberLabel())("auSlotProps", i0.ɵɵpureFunction4(9, _c5$5, state_r2, api_r3, directives_r4, page_r5));
|
|
588
589
|
i0.ɵɵadvance();
|
|
589
590
|
i0.ɵɵconditional(state_r2.page() === page_r5 ? 2 : -1);
|
|
590
591
|
} }
|
|
@@ -619,7 +620,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template(rf
|
|
|
619
620
|
i0.ɵɵadvance();
|
|
620
621
|
i0.ɵɵproperty("auUse", directives_r9.pageFirst);
|
|
621
622
|
i0.ɵɵadvance(2);
|
|
622
|
-
i0.ɵɵproperty("auSlot", state_r7.firstPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$
|
|
623
|
+
i0.ɵɵproperty("auSlot", state_r7.firstPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$9, state_r7, api_r8, directives_r9));
|
|
623
624
|
} }
|
|
624
625
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_ng_template_3_Template(rf, ctx) { }
|
|
625
626
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -635,7 +636,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template(rf
|
|
|
635
636
|
i0.ɵɵadvance();
|
|
636
637
|
i0.ɵɵproperty("auUse", directives_r9.pagePrev);
|
|
637
638
|
i0.ɵɵadvance(2);
|
|
638
|
-
i0.ɵɵproperty("auSlot", state_r7.previousPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$
|
|
639
|
+
i0.ɵɵproperty("auSlot", state_r7.previousPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$9, state_r7, api_r8, directives_r9));
|
|
639
640
|
} }
|
|
640
641
|
function PaginationDefaultSlotsComponent_ng_template_2_ng_template_3_Template(rf, ctx) { }
|
|
641
642
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_ng_template_3_Template(rf, ctx) { }
|
|
@@ -652,7 +653,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_Template(rf
|
|
|
652
653
|
i0.ɵɵadvance();
|
|
653
654
|
i0.ɵɵproperty("auUse", directives_r9.pageNext);
|
|
654
655
|
i0.ɵɵadvance(2);
|
|
655
|
-
i0.ɵɵproperty("auSlot", state_r7.nextPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$
|
|
656
|
+
i0.ɵɵproperty("auSlot", state_r7.nextPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$9, state_r7, api_r8, directives_r9));
|
|
656
657
|
} }
|
|
657
658
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_ng_template_3_Template(rf, ctx) { }
|
|
658
659
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -668,7 +669,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf
|
|
|
668
669
|
i0.ɵɵadvance();
|
|
669
670
|
i0.ɵɵproperty("auUse", directives_r9.pageLast);
|
|
670
671
|
i0.ɵɵadvance(2);
|
|
671
|
-
i0.ɵɵproperty("auSlot", state_r7.lastPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$
|
|
672
|
+
i0.ɵɵproperty("auSlot", state_r7.lastPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$9, state_r7, api_r8, directives_r9));
|
|
672
673
|
} }
|
|
673
674
|
function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
674
675
|
i0.ɵɵelementStart(0, "ul");
|
|
@@ -687,7 +688,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (r
|
|
|
687
688
|
i0.ɵɵadvance();
|
|
688
689
|
i0.ɵɵconditional(state_r7.directionLinks() ? 2 : -1);
|
|
689
690
|
i0.ɵɵadvance();
|
|
690
|
-
i0.ɵɵproperty("auSlot", state_r7.pagesDisplay())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$
|
|
691
|
+
i0.ɵɵproperty("auSlot", state_r7.pagesDisplay())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$9, state_r7, api_r8, directives_r9));
|
|
691
692
|
i0.ɵɵadvance();
|
|
692
693
|
i0.ɵɵconditional(state_r7.directionLinks() ? 4 : -1);
|
|
693
694
|
i0.ɵɵadvance();
|
|
@@ -848,8 +849,8 @@ class PaginationDefaultSlotsComponent {
|
|
|
848
849
|
}
|
|
849
850
|
static { this.ɵfac = function PaginationDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaginationDefaultSlotsComponent)(); }; }
|
|
850
851
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginationDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function PaginationDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
851
|
-
i0.ɵɵviewQuerySignal(ctx.pages, _c0$
|
|
852
|
-
i0.ɵɵviewQuerySignal(ctx.structure, _c1$
|
|
852
|
+
i0.ɵɵviewQuerySignal(ctx.pages, _c0$a, 5);
|
|
853
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c1$a, 5);
|
|
853
854
|
} if (rf & 2) {
|
|
854
855
|
i0.ɵɵqueryAdvance(2);
|
|
855
856
|
} }, decls: 4, vars: 0, consts: [["pages", ""], ["structure", ""], ["auPaginationPages", ""], ["auPaginationStructure", ""], [1, "page-item", 3, "active", "disabled"], [1, "page-item"], [1, "page-link", 3, "auUse"], ["aria-hidden", "true", 1, "page-link", "au-ellipsis"], [3, "auSlot", "auSlotProps"], [1, "visually-hidden"], [1, "page-item", 3, "disabled"], ["aria-live", "polite", 1, "visually-hidden"], ["aria-hidden", "true"]], template: function PaginationDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1257,7 +1258,7 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
1257
1258
|
} }, inputs: { ariaPageLabel: [1, "auAriaPageLabel", "ariaPageLabel"], ariaLiveLabel: [1, "auAriaLiveLabel", "ariaLiveLabel"], ariaLabel: [1, "auAriaLabel", "ariaLabel"], activeLabel: [1, "auActiveLabel", "activeLabel"], ariaFirstLabel: [1, "auAriaFirstLabel", "ariaFirstLabel"], ariaPreviousLabel: [1, "auAriaPreviousLabel", "ariaPreviousLabel"], ariaNextLabel: [1, "auAriaNextLabel", "ariaNextLabel"], ariaLastLabel: [1, "auAriaLastLabel", "ariaLastLabel"], ariaEllipsisLabel: [1, "auAriaEllipsisLabel", "ariaEllipsisLabel"], pageLink: [1, "auPageLink", "pageLink"], ellipsisLabel: [1, "auEllipsisLabel", "ellipsisLabel"], firstPageLabel: [1, "auFirstPageLabel", "firstPageLabel"], previousPageLabel: [1, "auPreviousPageLabel", "previousPageLabel"], nextPageLabel: [1, "auNextPageLabel", "nextPageLabel"], lastPageLabel: [1, "auLastPageLabel", "lastPageLabel"], pagesDisplay: [1, "auPagesDisplay", "pagesDisplay"], numberLabel: [1, "auNumberLabel", "numberLabel"], structure: [1, "auStructure", "structure"], disabled: [1, "auDisabled", "disabled"], boundaryLinks: [1, "auBoundaryLinks", "boundaryLinks"], directionLinks: [1, "auDirectionLinks", "directionLinks"], collectionSize: [1, "auCollectionSize", "collectionSize"], page: [1, "auPage", "page"], pageSize: [1, "auPageSize", "pageSize"], size: [1, "auSize", "size"], pagesFactory: [1, "auPagesFactory", "pagesFactory"], className: [1, "auClassName", "className"] }, outputs: { pageChange: "auPageChange" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c6$2, decls: 1, vars: 6, consts: [[3, "auSlotProps", "auSlot"]], template: function PaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1258
1259
|
i0.ɵɵtemplate(0, PaginationComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
1259
1260
|
} if (rf & 2) {
|
|
1260
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(2, _c2$
|
|
1261
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(2, _c2$9, ctx.state, ctx.api, ctx.directives))("auSlot", ctx.state.structure());
|
|
1261
1262
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
1262
1263
|
}
|
|
1263
1264
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
@@ -1287,9 +1288,9 @@ const export_getRatingDefaultConfig = getRatingDefaultConfig;
|
|
|
1287
1288
|
*/
|
|
1288
1289
|
const export_createRating = createRating;
|
|
1289
1290
|
|
|
1290
|
-
const _c0$
|
|
1291
|
-
const _c1$
|
|
1292
|
-
const _c2$
|
|
1291
|
+
const _c0$9 = ["auRating", ""];
|
|
1292
|
+
const _c1$9 = a0 => ({ index: a0 });
|
|
1293
|
+
const _c2$8 = (a0, a1) => [a0, a1];
|
|
1293
1294
|
function RatingComponent_For_1_ng_template_3_Template(rf, ctx) { }
|
|
1294
1295
|
function RatingComponent_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
1295
1296
|
i0.ɵɵelementStart(0, "span", 0);
|
|
@@ -1304,7 +1305,7 @@ function RatingComponent_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1304
1305
|
i0.ɵɵadvance();
|
|
1305
1306
|
i0.ɵɵtextInterpolate1("(", ɵ$index_1_r1 < ctx_r1.state.visibleRating() ? "*" : " ", ")");
|
|
1306
1307
|
i0.ɵɵadvance();
|
|
1307
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c2$
|
|
1308
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c2$8, ctx_r1.directives.starDirective, i0.ɵɵpureFunction1(4, _c1$9, ɵ$index_1_r1)));
|
|
1308
1309
|
i0.ɵɵadvance();
|
|
1309
1310
|
i0.ɵɵproperty("auSlot", ctx_r1.state.star())("auSlotProps", ctx_r1.state.stars()[ɵ$index_1_r1]);
|
|
1310
1311
|
} }
|
|
@@ -1487,7 +1488,7 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1487
1488
|
i0.ɵɵqueryAdvance();
|
|
1488
1489
|
} }, hostAttrs: [1, "d-inline-flex"], hostBindings: function RatingComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1489
1490
|
i0.ɵɵlistener("blur", function RatingComponent_blur_HostBindingHandler() { return ctx.onTouched(); });
|
|
1490
|
-
} }, inputs: { ariaValueTextFn: [1, "auAriaValueTextFn", "ariaValueTextFn"], disabled: [1, "auDisabled", "disabled"], maxRating: [1, "auMaxRating", "maxRating"], rating: [1, "auRating", "rating"], readonly: [1, "auReadonly", "readonly"], resettable: [1, "auResettable", "resettable"], star: [1, "auStar", "star"], tabindex: [1, "auTabindex", "tabindex"], className: [1, "auClassName", "className"], ariaLabel: [1, "auAriaLabel", "ariaLabel"], ariaLabelledBy: [1, "auAriaLabelledBy", "ariaLabelledBy"] }, outputs: { hover: "auHover", leave: "auLeave", ratingChange: "auRatingChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RatingComponent), multi: true }]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
1491
|
+
} }, inputs: { ariaValueTextFn: [1, "auAriaValueTextFn", "ariaValueTextFn"], disabled: [1, "auDisabled", "disabled"], maxRating: [1, "auMaxRating", "maxRating"], rating: [1, "auRating", "rating"], readonly: [1, "auReadonly", "readonly"], resettable: [1, "auResettable", "resettable"], star: [1, "auStar", "star"], tabindex: [1, "auTabindex", "tabindex"], className: [1, "auClassName", "className"], ariaLabel: [1, "auAriaLabel", "ariaLabel"], ariaLabelledBy: [1, "auAriaLabelledBy", "ariaLabelledBy"] }, outputs: { hover: "auHover", leave: "auLeave", ratingChange: "auRatingChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RatingComponent), multi: true }]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$9, decls: 2, vars: 0, consts: [[1, "visually-hidden"], [3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function RatingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1491
1492
|
i0.ɵɵrepeaterCreate(0, RatingComponent_For_1_Template, 4, 9, null, null, ctx.trackByIndex, true);
|
|
1492
1493
|
} if (rf & 2) {
|
|
1493
1494
|
i0.ɵɵrepeater(ctx.state.stars());
|
|
@@ -1529,10 +1530,10 @@ const export_getSelectDefaultConfig = getSelectDefaultConfig;
|
|
|
1529
1530
|
*/
|
|
1530
1531
|
const export_createSelect = createSelect;
|
|
1531
1532
|
|
|
1532
|
-
const _c0$
|
|
1533
|
-
const _c1$
|
|
1534
|
-
const _c2$
|
|
1535
|
-
const _c3$
|
|
1533
|
+
const _c0$8 = ["auSelect", ""];
|
|
1534
|
+
const _c1$8 = (a0, a1) => [a0, a1];
|
|
1535
|
+
const _c2$7 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, itemContext: a3 });
|
|
1536
|
+
const _c3$7 = (a0, a1, a2) => [a0, a1, a2];
|
|
1536
1537
|
function SelectComponent_Conditional_1_For_1_ng_template_1_Template(rf, ctx) { }
|
|
1537
1538
|
function SelectComponent_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
1538
1539
|
i0.ɵɵelementStart(0, "div", 3);
|
|
@@ -1541,9 +1542,9 @@ function SelectComponent_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1541
1542
|
} if (rf & 2) {
|
|
1542
1543
|
const itemContext_r1 = ctx.$implicit;
|
|
1543
1544
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1544
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c1$
|
|
1545
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c1$8, ctx_r1.directives.badgeAttributesDirective, itemContext_r1));
|
|
1545
1546
|
i0.ɵɵadvance();
|
|
1546
|
-
i0.ɵɵproperty("auSlot", ctx_r1.state.badgeLabel())("auSlotProps", i0.ɵɵpureFunction4(6, _c2$
|
|
1547
|
+
i0.ɵɵproperty("auSlot", ctx_r1.state.badgeLabel())("auSlotProps", i0.ɵɵpureFunction4(6, _c2$7, ctx_r1.state, ctx_r1.api, ctx_r1.directives, itemContext_r1));
|
|
1547
1548
|
} }
|
|
1548
1549
|
function SelectComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1549
1550
|
i0.ɵɵrepeaterCreate(0, SelectComponent_Conditional_1_For_1_Template, 2, 11, "div", 3, i0.ɵɵcomponentInstance().itemCtxTrackBy, true);
|
|
@@ -1559,9 +1560,9 @@ function SelectComponent_Conditional_3_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1559
1560
|
const itemContext_r3 = ctx.$implicit;
|
|
1560
1561
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1561
1562
|
i0.ɵɵclassProp("text-bg-primary", itemContext_r3 === ctx_r1.state.highlighted());
|
|
1562
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c1$
|
|
1563
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c1$8, ctx_r1.directives.itemAttributesDirective, itemContext_r3));
|
|
1563
1564
|
i0.ɵɵadvance();
|
|
1564
|
-
i0.ɵɵproperty("auSlot", ctx_r1.state.itemLabel())("auSlotProps", i0.ɵɵpureFunction4(8, _c2$
|
|
1565
|
+
i0.ɵɵproperty("auSlot", ctx_r1.state.itemLabel())("auSlotProps", i0.ɵɵpureFunction4(8, _c2$7, ctx_r1.state, ctx_r1.api, ctx_r1.directives, itemContext_r3));
|
|
1565
1566
|
} }
|
|
1566
1567
|
function SelectComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
1567
1568
|
i0.ɵɵelementStart(0, "ul", 2);
|
|
@@ -1569,7 +1570,7 @@ function SelectComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
1569
1570
|
i0.ɵɵelementEnd();
|
|
1570
1571
|
} if (rf & 2) {
|
|
1571
1572
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1572
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(1, _c3$
|
|
1573
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(1, _c3$7, ctx_r1.directives.hasFocusDirective, ctx_r1.directives.floatingDirective, ctx_r1.directives.menuAttributesDirective));
|
|
1573
1574
|
i0.ɵɵadvance();
|
|
1574
1575
|
i0.ɵɵrepeater(ctx_r1.state.visibleItems());
|
|
1575
1576
|
} }
|
|
@@ -1805,7 +1806,7 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1805
1806
|
i0.ɵɵqueryAdvance(2);
|
|
1806
1807
|
} }, hostVars: 2, hostBindings: function SelectComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
1807
1808
|
i0.ɵɵclassMap("au-select dropdown border border-1 p-1 mb-3 d-block" + ctx.state.className());
|
|
1808
|
-
} }, 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$
|
|
1809
|
+
} }, 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) {
|
|
1809
1810
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1810
1811
|
i0.ɵɵtemplate(1, SelectComponent_Conditional_1_Template, 2, 0);
|
|
1811
1812
|
i0.ɵɵelement(2, "input", 1);
|
|
@@ -1813,7 +1814,7 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1813
1814
|
i0.ɵɵtemplate(3, SelectComponent_Conditional_3_Template, 3, 5, "ul", 2);
|
|
1814
1815
|
} if (rf & 2) {
|
|
1815
1816
|
let tmp_1_0;
|
|
1816
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(5, _c1$
|
|
1817
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(5, _c1$8, ctx.directives.hasFocusDirective, ctx.directives.inputContainerDirective));
|
|
1817
1818
|
i0.ɵɵadvance();
|
|
1818
1819
|
i0.ɵɵconditional((tmp_1_0 = ctx.state.selectedContexts()) ? 1 : -1, tmp_1_0);
|
|
1819
1820
|
i0.ɵɵadvance();
|
|
@@ -1872,8 +1873,8 @@ const export_getAlertDefaultConfig = getAlertDefaultConfig;
|
|
|
1872
1873
|
*/
|
|
1873
1874
|
const export_createAlert = createAlert;
|
|
1874
1875
|
|
|
1875
|
-
const _c0$
|
|
1876
|
-
const _c1$
|
|
1876
|
+
const _c0$7 = ["structure"];
|
|
1877
|
+
const _c1$7 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
1877
1878
|
function AlertDefaultSlotsComponent_ng_template_0_ng_template_1_Template(rf, ctx) { }
|
|
1878
1879
|
function AlertDefaultSlotsComponent_ng_template_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
1879
1880
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -1894,13 +1895,13 @@ function AlertDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
1894
1895
|
const api_r2 = ctx.api;
|
|
1895
1896
|
const directives_r4 = ctx.directives;
|
|
1896
1897
|
i0.ɵɵadvance();
|
|
1897
|
-
i0.ɵɵproperty("auSlot", state_r3.children())("auSlotProps", i0.ɵɵpureFunction3(3, _c1$
|
|
1898
|
+
i0.ɵɵproperty("auSlot", state_r3.children())("auSlotProps", i0.ɵɵpureFunction3(3, _c1$7, state_r3, api_r2, directives_r4));
|
|
1898
1899
|
i0.ɵɵadvance();
|
|
1899
1900
|
i0.ɵɵconditional(state_r3.dismissible() ? 2 : -1);
|
|
1900
1901
|
} }
|
|
1901
|
-
const _c2$
|
|
1902
|
-
const _c3$
|
|
1903
|
-
const _c4$
|
|
1902
|
+
const _c2$6 = ["content"];
|
|
1903
|
+
const _c3$6 = ["auAlert", ""];
|
|
1904
|
+
const _c4$6 = ["*"];
|
|
1904
1905
|
function AlertComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1905
1906
|
i0.ɵɵprojection(0);
|
|
1906
1907
|
} }
|
|
@@ -1914,7 +1915,7 @@ function AlertComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1914
1915
|
i0.ɵɵclassMapInterpolate3("au-alert alert alert-", ctx_r0.state.type(), " ", ctx_r0.state.className(), " ", ctx_r0.state.dismissible() ? "alert-dismissible" : "", "");
|
|
1915
1916
|
i0.ɵɵproperty("auUse", ctx_r0.directives.transitionDirective);
|
|
1916
1917
|
i0.ɵɵadvance();
|
|
1917
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(8, _c1$
|
|
1918
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(8, _c1$7, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
|
|
1918
1919
|
} }
|
|
1919
1920
|
/**
|
|
1920
1921
|
* Directive to be used as a structural directive for the body of an alert component.
|
|
@@ -1960,7 +1961,7 @@ class AlertDefaultSlotsComponent {
|
|
|
1960
1961
|
}
|
|
1961
1962
|
static { this.ɵfac = function AlertDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertDefaultSlotsComponent)(); }; }
|
|
1962
1963
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function AlertDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1963
|
-
i0.ɵɵviewQuerySignal(ctx.structure, _c0$
|
|
1964
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c0$7, 5);
|
|
1964
1965
|
} if (rf & 2) {
|
|
1965
1966
|
i0.ɵɵqueryAdvance();
|
|
1966
1967
|
} }, decls: 2, vars: 0, consts: [["structure", ""], ["auAlertStructure", ""], [1, "alert-body"], [3, "auSlot", "auSlotProps"], ["type", "button", 1, "btn-close"], ["type", "button", 1, "btn-close", 3, "click"]], template: function AlertDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2117,10 +2118,10 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
2117
2118
|
} if (rf & 2) {
|
|
2118
2119
|
i0.ɵɵqueryAdvance(2);
|
|
2119
2120
|
} }, viewQuery: function AlertComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2120
|
-
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c2$
|
|
2121
|
+
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c2$6, 5);
|
|
2121
2122
|
} if (rf & 2) {
|
|
2122
2123
|
i0.ɵɵqueryAdvance();
|
|
2123
|
-
} }, 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$
|
|
2124
|
+
} }, 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) {
|
|
2124
2125
|
i0.ɵɵprojectionDef();
|
|
2125
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);
|
|
2126
2127
|
} if (rf & 2) {
|
|
@@ -2179,8 +2180,8 @@ const export_createAccordion = createAccordion;
|
|
|
2179
2180
|
*/
|
|
2180
2181
|
const export_factoryCreateAccordion = factoryCreateAccordion;
|
|
2181
2182
|
|
|
2182
|
-
const _c0$
|
|
2183
|
-
const _c1$
|
|
2183
|
+
const _c0$6 = ["structure"];
|
|
2184
|
+
const _c1$6 = (a0, a1, a2) => ({ state: a0, directives: a1, api: a2 });
|
|
2184
2185
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_0_Template(rf, ctx) { if (rf & 1) {
|
|
2185
2186
|
i0.ɵɵelementContainer(0, 9);
|
|
2186
2187
|
} if (rf & 2) {
|
|
@@ -2314,7 +2315,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_19_Templat
|
|
|
2314
2315
|
const directives_r7 = ctx_r8.directives;
|
|
2315
2316
|
i0.ɵɵproperty("auUse", directives_r7.buttonDirective);
|
|
2316
2317
|
i0.ɵɵadvance();
|
|
2317
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(3, _c1$
|
|
2318
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(3, _c1$6, state_r10, directives_r7, api_r11))("auSlot", state_r10.header());
|
|
2318
2319
|
} }
|
|
2319
2320
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_ng_template_2_Template(rf, ctx) { }
|
|
2320
2321
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2330,7 +2331,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Templat
|
|
|
2330
2331
|
i0.ɵɵadvance();
|
|
2331
2332
|
i0.ɵɵproperty("auUse", directives_r7.bodyDirective);
|
|
2332
2333
|
i0.ɵɵadvance();
|
|
2333
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(4, _c1$
|
|
2334
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(4, _c1$6, state_r10, directives_r7, api_r11))("auSlot", state_r10.children());
|
|
2334
2335
|
} }
|
|
2335
2336
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2336
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);
|
|
@@ -2341,10 +2342,10 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if
|
|
|
2341
2342
|
i0.ɵɵadvance(21);
|
|
2342
2343
|
i0.ɵɵconditional(state_r10.shouldBeInDOM() ? 21 : -1);
|
|
2343
2344
|
} }
|
|
2344
|
-
const _c2$
|
|
2345
|
-
const _c3$
|
|
2346
|
-
const _c4$
|
|
2347
|
-
const _c5$
|
|
2345
|
+
const _c2$5 = ["content"];
|
|
2346
|
+
const _c3$5 = ["auAccordionItem", ""];
|
|
2347
|
+
const _c4$5 = ["*"];
|
|
2348
|
+
const _c5$4 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
2348
2349
|
function AccordionItemComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2349
2350
|
i0.ɵɵprojection(0);
|
|
2350
2351
|
} }
|
|
@@ -2413,7 +2414,7 @@ class AccordionItemDefaultSlotsComponent {
|
|
|
2413
2414
|
}
|
|
2414
2415
|
static { this.ɵfac = function AccordionItemDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AccordionItemDefaultSlotsComponent)(); }; }
|
|
2415
2416
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AccordionItemDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function AccordionItemDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2416
|
-
i0.ɵɵviewQuerySignal(ctx.structure, _c0$
|
|
2417
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c0$6, 5);
|
|
2417
2418
|
} if (rf & 2) {
|
|
2418
2419
|
i0.ɵɵqueryAdvance();
|
|
2419
2420
|
} }, decls: 2, vars: 0, consts: [["structure", ""], ["h1", ""], ["h2", ""], ["h3", ""], ["h4", ""], ["h5", ""], ["h6", ""], ["button", ""], ["auAccordionItemStructure", ""], [3, "ngTemplateOutlet"], [1, "accordion-collapse", 3, "auUse"], [1, "accordion-header", 3, "auUse"], [1, "accordion-button", 3, "auUse"], [3, "auSlotProps", "auSlot"], [1, "accordion-body", 3, "auUse"]], template: function AccordionItemDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2635,15 +2636,15 @@ class AccordionItemComponent extends BaseWidgetDirective {
|
|
|
2635
2636
|
} if (rf & 2) {
|
|
2636
2637
|
i0.ɵɵqueryAdvance(3);
|
|
2637
2638
|
} }, viewQuery: function AccordionItemComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2638
|
-
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c2$
|
|
2639
|
+
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c2$5, 5);
|
|
2639
2640
|
} if (rf & 2) {
|
|
2640
2641
|
i0.ɵɵqueryAdvance();
|
|
2641
|
-
} }, hostAttrs: [1, "accordion-item"], inputs: { header: [1, "auHeader", "header"], children: [1, "auChildren", "children"], structure: [1, "auStructure", "structure"], id: [1, "auId", "id"], transition: [1, "auTransition", "transition"], className: [1, "auClassName", "className"], destroyOnHide: [1, "auDestroyOnHide", "destroyOnHide"], disabled: [1, "auDisabled", "disabled"], visible: [1, "auVisible", "visible"], animated: [1, "auAnimated", "animated"], headerClassName: [1, "auHeaderClassName", "headerClassName"], buttonClassName: [1, "auButtonClassName", "buttonClassName"], bodyContainerClassName: [1, "auBodyContainerClassName", "bodyContainerClassName"], bodyClassName: [1, "auBodyClassName", "bodyClassName"], headingTag: [1, "auHeadingTag", "headingTag"] }, outputs: { shown: "auShown", hidden: "auHidden", visibleChange: "auVisibleChange" }, exportAs: ["auAccordionItem"], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c3$
|
|
2642
|
+
} }, hostAttrs: [1, "accordion-item"], inputs: { header: [1, "auHeader", "header"], children: [1, "auChildren", "children"], structure: [1, "auStructure", "structure"], id: [1, "auId", "id"], transition: [1, "auTransition", "transition"], className: [1, "auClassName", "className"], destroyOnHide: [1, "auDestroyOnHide", "destroyOnHide"], disabled: [1, "auDisabled", "disabled"], visible: [1, "auVisible", "visible"], animated: [1, "auAnimated", "animated"], headerClassName: [1, "auHeaderClassName", "headerClassName"], buttonClassName: [1, "auButtonClassName", "buttonClassName"], bodyContainerClassName: [1, "auBodyContainerClassName", "bodyContainerClassName"], bodyClassName: [1, "auBodyClassName", "bodyClassName"], headingTag: [1, "auHeadingTag", "headingTag"] }, outputs: { shown: "auShown", hidden: "auHidden", visibleChange: "auVisibleChange" }, exportAs: ["auAccordionItem"], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c3$5, ngContentSelectors: _c4$5, decls: 3, vars: 6, consts: [["content", ""], [3, "auSlotProps", "auSlot"]], template: function AccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2642
2643
|
i0.ɵɵprojectionDef();
|
|
2643
2644
|
i0.ɵɵtemplate(0, AccordionItemComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, AccordionItemComponent_ng_template_2_Template, 0, 0, "ng-template", 1);
|
|
2644
2645
|
} if (rf & 2) {
|
|
2645
2646
|
i0.ɵɵadvance(2);
|
|
2646
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(2, _c5$
|
|
2647
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(2, _c5$4, ctx.state, ctx.api, ctx.directives))("auSlot", ctx.state.structure());
|
|
2647
2648
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
2648
2649
|
}
|
|
2649
2650
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionItemComponent, [{
|
|
@@ -2811,22 +2812,21 @@ const export_getSliderDefaultConfig = getSliderDefaultConfig;
|
|
|
2811
2812
|
*/
|
|
2812
2813
|
const export_createSlider = createSlider;
|
|
2813
2814
|
|
|
2814
|
-
const _c0$
|
|
2815
|
-
const _c1$
|
|
2816
|
-
const _c2$
|
|
2815
|
+
const _c0$5 = ["handle"];
|
|
2816
|
+
const _c1$5 = a0 => ({ item: a0 });
|
|
2817
|
+
const _c2$4 = (a0, a1) => [a0, a1];
|
|
2817
2818
|
function SliderDefaultHandleSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2818
2819
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2819
2820
|
i0.ɵɵelementStart(0, "button", 2);
|
|
2820
2821
|
i0.ɵɵlistener("keydown", function SliderDefaultHandleSlotComponent_ng_template_0_Template_button_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onKeyDown($event)); });
|
|
2821
|
-
i0.ɵɵtext(1, "\u00A0");
|
|
2822
2822
|
i0.ɵɵelementEnd();
|
|
2823
2823
|
} if (rf & 2) {
|
|
2824
2824
|
const directives_r3 = ctx.directives;
|
|
2825
2825
|
const item_r4 = ctx.item;
|
|
2826
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$
|
|
2826
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$4, directives_r3.handleDirective, i0.ɵɵpureFunction1(1, _c1$5, item_r4)));
|
|
2827
2827
|
} }
|
|
2828
|
-
const _c3$
|
|
2829
|
-
const _c4$
|
|
2828
|
+
const _c3$4 = ["tick"];
|
|
2829
|
+
const _c4$4 = a0 => ({ tick: a0 });
|
|
2830
2830
|
function SliderDefaultTickSlotComponent_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
2831
2831
|
i0.ɵɵelementStart(0, "span", 2);
|
|
2832
2832
|
i0.ɵɵtext(1);
|
|
@@ -2835,58 +2835,48 @@ function SliderDefaultTickSlotComponent_ng_template_0_Conditional_0_Template(rf,
|
|
|
2835
2835
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
2836
2836
|
const directives_r2 = ctx_r0.directives;
|
|
2837
2837
|
const tick_r3 = ctx_r0.tick;
|
|
2838
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(4, _c2$
|
|
2838
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(4, _c2$4, directives_r2.tickLabelDirective, i0.ɵɵpureFunction1(2, _c4$4, tick_r3)));
|
|
2839
2839
|
i0.ɵɵadvance();
|
|
2840
2840
|
i0.ɵɵtextInterpolate1(" ", tick_r3.value, " ");
|
|
2841
2841
|
} }
|
|
2842
|
-
function
|
|
2842
|
+
function SliderDefaultTickSlotComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
2843
2843
|
i0.ɵɵnamespaceSVG();
|
|
2844
|
-
i0.ɵɵ
|
|
2845
|
-
i0.ɵɵelement(1, "circle", 4);
|
|
2846
|
-
i0.ɵɵelementEnd();
|
|
2847
|
-
} if (rf & 2) {
|
|
2848
|
-
const state_r4 = i0.ɵɵnextContext().state;
|
|
2849
|
-
i0.ɵɵadvance();
|
|
2850
|
-
i0.ɵɵattribute("stroke", state_r4.disabled() ? "var(--bs-slider-tick-disabled-color)" : "var(--bs-slider-tick-neutral-color)");
|
|
2851
|
-
} }
|
|
2852
|
-
function SliderDefaultTickSlotComponent_ng_template_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
2853
|
-
i0.ɵɵnamespaceSVG();
|
|
2854
|
-
i0.ɵɵelementStart(0, "svg", 3);
|
|
2855
|
-
i0.ɵɵelement(1, "circle", 5)(2, "circle", 6);
|
|
2856
|
-
i0.ɵɵelementEnd();
|
|
2857
|
-
} if (rf & 2) {
|
|
2858
|
-
const state_r4 = i0.ɵɵnextContext().state;
|
|
2859
|
-
i0.ɵɵadvance();
|
|
2860
|
-
i0.ɵɵattribute("fill", state_r4.disabled() ? "var(--bs-slider-tick-disabled-color)" : "var(--bs-slider-tick-selected-color)");
|
|
2844
|
+
i0.ɵɵelement(0, "circle", 5);
|
|
2861
2845
|
} }
|
|
2862
2846
|
function SliderDefaultTickSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2863
2847
|
i0.ɵɵtemplate(0, SliderDefaultTickSlotComponent_ng_template_0_Conditional_0_Template, 2, 7, "span", 2);
|
|
2864
2848
|
i0.ɵɵelementStart(1, "span", 2);
|
|
2865
|
-
i0.ɵɵ
|
|
2866
|
-
i0.ɵɵ
|
|
2849
|
+
i0.ɵɵnamespaceSVG();
|
|
2850
|
+
i0.ɵɵelementStart(2, "svg", 3);
|
|
2851
|
+
i0.ɵɵelement(3, "circle", 4);
|
|
2852
|
+
i0.ɵɵtemplate(4, SliderDefaultTickSlotComponent_ng_template_0_Conditional_4_Template, 1, 0, ":svg:circle", 5);
|
|
2853
|
+
i0.ɵɵelementEnd()();
|
|
2867
2854
|
} if (rf & 2) {
|
|
2855
|
+
const state_r4 = ctx.state;
|
|
2868
2856
|
const directives_r2 = ctx.directives;
|
|
2869
2857
|
const tick_r3 = ctx.tick;
|
|
2870
2858
|
i0.ɵɵconditional(tick_r3.displayLabel ? 0 : -1);
|
|
2871
2859
|
i0.ɵɵadvance();
|
|
2872
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(
|
|
2860
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(9, _c2$4, directives_r2.tickDirective, i0.ɵɵpureFunction1(7, _c4$4, tick_r3)));
|
|
2861
|
+
i0.ɵɵadvance(2);
|
|
2862
|
+
i0.ɵɵclassProp("au-slider-tick-disabled", state_r4.disabled())("au-slider-tick-selected", tick_r3.selected);
|
|
2873
2863
|
i0.ɵɵadvance();
|
|
2874
|
-
i0.ɵɵconditional(
|
|
2864
|
+
i0.ɵɵconditional(tick_r3.selected ? 4 : -1);
|
|
2875
2865
|
} }
|
|
2876
|
-
const _c5$
|
|
2866
|
+
const _c5$3 = ["structure"];
|
|
2877
2867
|
const _c6$1 = a0 => ({ option: a0 });
|
|
2878
2868
|
const _c7$1 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, value: a3 });
|
|
2879
2869
|
const _c8$1 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, tick: a3 });
|
|
2880
2870
|
const _c9 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, item: a3 });
|
|
2881
2871
|
const _c10 = a0 => ({ index: a0 });
|
|
2882
|
-
const _forTrack0 = ($index, $item) => $item.id;
|
|
2872
|
+
const _forTrack0$2 = ($index, $item) => $item.id;
|
|
2883
2873
|
const _forTrack1 = ($index, $item) => $item.position;
|
|
2884
2874
|
function SliderDefaultStructureSlotComponent_ng_template_0_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
2885
2875
|
i0.ɵɵelement(0, "div", 2);
|
|
2886
2876
|
} if (rf & 2) {
|
|
2887
2877
|
const option_r1 = ctx.$implicit;
|
|
2888
2878
|
const directives_r2 = i0.ɵɵnextContext().directives;
|
|
2889
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$
|
|
2879
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$4, directives_r2.progressDisplayDirective, i0.ɵɵpureFunction1(1, _c6$1, option_r1)));
|
|
2890
2880
|
} }
|
|
2891
2881
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_ng_template_1_Template(rf, ctx) { }
|
|
2892
2882
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_ng_template_3_Template(rf, ctx) { }
|
|
@@ -2975,7 +2965,7 @@ function SliderDefaultStructureSlotComponent_ng_template_0_For_8_Conditional_1_T
|
|
|
2975
2965
|
const state_r4 = ctx_r2.state;
|
|
2976
2966
|
const directives_r2 = ctx_r2.directives;
|
|
2977
2967
|
const api_r5 = ctx_r2.api;
|
|
2978
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c2$
|
|
2968
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c2$4, directives_r2.handleLabelDisplayDirective, i0.ɵɵpureFunction1(3, _c10, ɵ$index_35_r7)));
|
|
2979
2969
|
i0.ɵɵadvance();
|
|
2980
2970
|
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(8, _c7$1, state_r4, api_r5, directives_r2, state_r4.values()[ɵ$index_35_r7]));
|
|
2981
2971
|
} }
|
|
@@ -2992,11 +2982,11 @@ function SliderDefaultStructureSlotComponent_ng_template_0_For_8_Template(rf, ct
|
|
|
2992
2982
|
i0.ɵɵconditional(state_r4.showValueLabels() && !state_r4.combinedLabelDisplay() ? 1 : -1);
|
|
2993
2983
|
} }
|
|
2994
2984
|
function SliderDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2995
|
-
i0.ɵɵrepeaterCreate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_1_Template, 1, 6, "div", 2, _forTrack0);
|
|
2985
|
+
i0.ɵɵrepeaterCreate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_1_Template, 1, 6, "div", 2, _forTrack0$2);
|
|
2996
2986
|
i0.ɵɵelement(2, "div", 2);
|
|
2997
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);
|
|
2998
2988
|
i0.ɵɵrepeaterCreate(5, SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template, 1, 7, null, 3, _forTrack1);
|
|
2999
|
-
i0.ɵɵrepeaterCreate(7, SliderDefaultStructureSlotComponent_ng_template_0_For_8_Template, 2, 8, null, null, _forTrack0);
|
|
2989
|
+
i0.ɵɵrepeaterCreate(7, SliderDefaultStructureSlotComponent_ng_template_0_For_8_Template, 2, 8, null, null, _forTrack0$2);
|
|
3000
2990
|
} if (rf & 2) {
|
|
3001
2991
|
const state_r4 = ctx.state;
|
|
3002
2992
|
const directives_r2 = ctx.directives;
|
|
@@ -3056,18 +3046,6 @@ class SliderHandleDirective {
|
|
|
3056
3046
|
class SliderDefaultHandleSlotComponent {
|
|
3057
3047
|
constructor() {
|
|
3058
3048
|
this.handle = viewChild.required('handle');
|
|
3059
|
-
/**
|
|
3060
|
-
* When the element moves up the DOM Angluar removes the focus
|
|
3061
|
-
* To avoid this we need to manually focus the element by calling the HTMLElement.focus
|
|
3062
|
-
* after the change, afterRenderEffect is executed after each render of the component
|
|
3063
|
-
* and when the signal inside is changed. On each key stroke we set the `refocus` signal
|
|
3064
|
-
* to the element that needs to be focused and we put the `equal` function to always return
|
|
3065
|
-
* `false` in order to trigger the change even when the element is the same
|
|
3066
|
-
*/
|
|
3067
|
-
this.refocus = signal(undefined, { equal: () => false });
|
|
3068
|
-
afterRenderEffect(() => {
|
|
3069
|
-
this.refocus()?.focus();
|
|
3070
|
-
});
|
|
3071
3049
|
}
|
|
3072
3050
|
/**
|
|
3073
3051
|
* Key handler that sets the refocus element only on the key strokes that move
|
|
@@ -3082,19 +3060,25 @@ class SliderDefaultHandleSlotComponent {
|
|
|
3082
3060
|
case 'ArrowUp':
|
|
3083
3061
|
case 'ArrowRight':
|
|
3084
3062
|
case 'End':
|
|
3085
|
-
this.
|
|
3063
|
+
clearTimeout(this.updateTimeout);
|
|
3064
|
+
this.updateTimeout = setTimeout(() => {
|
|
3065
|
+
event.target?.focus();
|
|
3066
|
+
});
|
|
3086
3067
|
break;
|
|
3087
3068
|
default:
|
|
3088
3069
|
break;
|
|
3089
3070
|
}
|
|
3090
3071
|
}
|
|
3072
|
+
ngOnDestroy() {
|
|
3073
|
+
clearTimeout(this.updateTimeout);
|
|
3074
|
+
}
|
|
3091
3075
|
static { this.ɵfac = function SliderDefaultHandleSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderDefaultHandleSlotComponent)(); }; }
|
|
3092
3076
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderDefaultHandleSlotComponent, selectors: [["ng-component"]], viewQuery: function SliderDefaultHandleSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3093
|
-
i0.ɵɵviewQuerySignal(ctx.handle, _c0$
|
|
3077
|
+
i0.ɵɵviewQuerySignal(ctx.handle, _c0$5, 5);
|
|
3094
3078
|
} if (rf & 2) {
|
|
3095
3079
|
i0.ɵɵqueryAdvance();
|
|
3096
3080
|
} }, decls: 2, vars: 0, consts: [["handle", ""], ["auSliderHandle", ""], [3, "keydown", "auUse"]], template: function SliderDefaultHandleSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3097
|
-
i0.ɵɵtemplate(0, SliderDefaultHandleSlotComponent_ng_template_0_Template,
|
|
3081
|
+
i0.ɵɵtemplate(0, SliderDefaultHandleSlotComponent_ng_template_0_Template, 1, 6, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
3098
3082
|
} }, dependencies: [UseDirective, SliderHandleDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3099
3083
|
}
|
|
3100
3084
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderDefaultHandleSlotComponent, [{
|
|
@@ -3104,12 +3088,12 @@ class SliderDefaultHandleSlotComponent {
|
|
|
3104
3088
|
imports: [UseDirective, SliderHandleDirective],
|
|
3105
3089
|
template: `
|
|
3106
3090
|
<ng-template auSliderHandle #handle let-state="state" let-directives="directives" let-item="item">
|
|
3107
|
-
<button [auUse]="[directives.handleDirective, {item}]" (keydown)="onKeyDown($event)"
|
|
3091
|
+
<button [auUse]="[directives.handleDirective, {item}]" (keydown)="onKeyDown($event)"></button>
|
|
3108
3092
|
</ng-template>
|
|
3109
3093
|
`,
|
|
3110
3094
|
}]
|
|
3111
|
-
}],
|
|
3112
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultHandleSlotComponent, { className: "SliderDefaultHandleSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
3095
|
+
}], null, null); })();
|
|
3096
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultHandleSlotComponent, { className: "SliderDefaultHandleSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber: 64 }); })();
|
|
3113
3097
|
/**
|
|
3114
3098
|
* A constant representing the default slot handle for the slider component.
|
|
3115
3099
|
*/
|
|
@@ -3139,11 +3123,11 @@ class SliderDefaultTickSlotComponent {
|
|
|
3139
3123
|
}
|
|
3140
3124
|
static { this.ɵfac = function SliderDefaultTickSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderDefaultTickSlotComponent)(); }; }
|
|
3141
3125
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderDefaultTickSlotComponent, selectors: [["ng-component"]], viewQuery: function SliderDefaultTickSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3142
|
-
i0.ɵɵviewQuerySignal(ctx.tick, _c3$
|
|
3126
|
+
i0.ɵɵviewQuerySignal(ctx.tick, _c3$4, 5);
|
|
3143
3127
|
} if (rf & 2) {
|
|
3144
3128
|
i0.ɵɵqueryAdvance();
|
|
3145
|
-
} }, decls: 2, vars: 0, consts: [["tick", ""], ["auSliderTick", ""], [3, "auUse"], ["xmlns", "http://www.w3.org/2000/svg",
|
|
3146
|
-
i0.ɵɵtemplate(0, SliderDefaultTickSlotComponent_ng_template_0_Template,
|
|
3129
|
+
} }, decls: 2, vars: 0, consts: [["tick", ""], ["auSliderTick", ""], [3, "auUse"], ["xmlns", "http://www.w3.org/2000/svg"], [1, "au-slider-tick-outer"], [1, "au-slider-tick-inner", "au-slider-tick-selected"]], template: function SliderDefaultTickSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3130
|
+
i0.ɵɵtemplate(0, SliderDefaultTickSlotComponent_ng_template_0_Template, 5, 12, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
3147
3131
|
} }, dependencies: [UseDirective, SliderTickDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3148
3132
|
}
|
|
3149
3133
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderDefaultTickSlotComponent, [{
|
|
@@ -3159,42 +3143,18 @@ class SliderDefaultTickSlotComponent {
|
|
|
3159
3143
|
</span>
|
|
3160
3144
|
}
|
|
3161
3145
|
<span [auUse]="[directives.tickDirective, {tick}]">
|
|
3162
|
-
|
|
3163
|
-
<
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
<circle
|
|
3169
|
-
cx="50%"
|
|
3170
|
-
cy="50%"
|
|
3171
|
-
r="45%"
|
|
3172
|
-
fill="white"
|
|
3173
|
-
[attr.stroke]="state.disabled() ? 'var(--bs-slider-tick-disabled-color)' : 'var(--bs-slider-tick-neutral-color)'"
|
|
3174
|
-
stroke-width="1.5"
|
|
3175
|
-
/>
|
|
3176
|
-
</svg>
|
|
3177
|
-
} @else {
|
|
3178
|
-
<svg
|
|
3179
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3180
|
-
style="width: var(--bs-slider-tick-secondary-size); height: var(--bs-slider-tick-primary-size);"
|
|
3181
|
-
fill="none"
|
|
3182
|
-
>
|
|
3183
|
-
<circle
|
|
3184
|
-
cx="50%"
|
|
3185
|
-
cy="50%"
|
|
3186
|
-
r="50%"
|
|
3187
|
-
[attr.fill]="state.disabled() ? 'var(--bs-slider-tick-disabled-color)' : 'var(--bs-slider-tick-selected-color)'"
|
|
3188
|
-
/>
|
|
3189
|
-
<circle cx="50%" cy="50%" r="25%" fill="white" />
|
|
3190
|
-
</svg>
|
|
3191
|
-
}
|
|
3146
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
|
3147
|
+
<circle class="au-slider-tick-outer" [class.au-slider-tick-disabled]="state.disabled()" [class.au-slider-tick-selected]="tick.selected" />
|
|
3148
|
+
@if (tick.selected) {
|
|
3149
|
+
<circle class="au-slider-tick-inner au-slider-tick-selected" />
|
|
3150
|
+
}
|
|
3151
|
+
</svg>
|
|
3192
3152
|
</span>
|
|
3193
3153
|
</ng-template>
|
|
3194
3154
|
`,
|
|
3195
3155
|
}]
|
|
3196
3156
|
}], null, null); })();
|
|
3197
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultTickSlotComponent, { className: "SliderDefaultTickSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
3157
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultTickSlotComponent, { className: "SliderDefaultTickSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber: 136 }); })();
|
|
3198
3158
|
/**
|
|
3199
3159
|
* A constant representing the default slot tick for the slider component.
|
|
3200
3160
|
*/
|
|
@@ -3224,7 +3184,7 @@ class SliderDefaultStructureSlotComponent {
|
|
|
3224
3184
|
}
|
|
3225
3185
|
static { this.ɵfac = function SliderDefaultStructureSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderDefaultStructureSlotComponent)(); }; }
|
|
3226
3186
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderDefaultStructureSlotComponent, selectors: [["ng-component"]], viewQuery: function SliderDefaultStructureSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3227
|
-
i0.ɵɵviewQuerySignal(ctx.structure, _c5$
|
|
3187
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c5$3, 5);
|
|
3228
3188
|
} if (rf & 2) {
|
|
3229
3189
|
i0.ɵɵqueryAdvance();
|
|
3230
3190
|
} }, decls: 2, vars: 0, consts: [["structure", ""], ["auSliderStructure", ""], [3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function SliderDefaultStructureSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -3276,7 +3236,7 @@ class SliderDefaultStructureSlotComponent {
|
|
|
3276
3236
|
`,
|
|
3277
3237
|
}]
|
|
3278
3238
|
}], null, null); })();
|
|
3279
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultStructureSlotComponent, { className: "SliderDefaultStructureSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
3239
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultStructureSlotComponent, { className: "SliderDefaultStructureSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber: 200 }); })();
|
|
3280
3240
|
/**
|
|
3281
3241
|
* Represents the default slot structure for the slider component.
|
|
3282
3242
|
*/
|
|
@@ -3527,7 +3487,7 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
3527
3487
|
template: ` <ng-template [auSlot]="state.structure()" [auSlotProps]="{state, api, directives}" /> `,
|
|
3528
3488
|
}]
|
|
3529
3489
|
}], () => [], null); })();
|
|
3530
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderComponent, { className: "SliderComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
3490
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderComponent, { className: "SliderComponent", filePath: "components/slider/slider.component.ts", lineNumber: 225 }); })();
|
|
3531
3491
|
|
|
3532
3492
|
/**
|
|
3533
3493
|
* Retrieve a shallow copy of the default Progressbar config
|
|
@@ -3541,8 +3501,8 @@ const export_getProgressbarDefaultConfig = getProgressbarDefaultConfig;
|
|
|
3541
3501
|
*/
|
|
3542
3502
|
const export_createProgressbar = createProgressbar;
|
|
3543
3503
|
|
|
3544
|
-
const _c0$
|
|
3545
|
-
const _c1$
|
|
3504
|
+
const _c0$4 = ["structure"];
|
|
3505
|
+
const _c1$4 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
3546
3506
|
function ProgressbarDefaultSlotsComponent_ng_template_0_ng_template_2_Template(rf, ctx) { }
|
|
3547
3507
|
function ProgressbarDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3548
3508
|
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3);
|
|
@@ -3558,11 +3518,11 @@ function ProgressbarDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (
|
|
|
3558
3518
|
i0.ɵɵclassProp("progress-bar-striped", state_r1.striped())("progress-bar-animated", state_r1.animated());
|
|
3559
3519
|
i0.ɵɵproperty("ngClass", state_r1.type() ? "text-bg-" + state_r1.type() : undefined);
|
|
3560
3520
|
i0.ɵɵadvance();
|
|
3561
|
-
i0.ɵɵproperty("auSlot", state_r1.children())("auSlotProps", i0.ɵɵpureFunction3(11, _c1$
|
|
3521
|
+
i0.ɵɵproperty("auSlot", state_r1.children())("auSlotProps", i0.ɵɵpureFunction3(11, _c1$4, state_r1, api_r2, directives_r3));
|
|
3562
3522
|
} }
|
|
3563
|
-
const _c2$
|
|
3564
|
-
const _c3$
|
|
3565
|
-
const _c4$
|
|
3523
|
+
const _c2$3 = ["content"];
|
|
3524
|
+
const _c3$3 = ["auProgressbar", ""];
|
|
3525
|
+
const _c4$3 = ["*"];
|
|
3566
3526
|
function ProgressbarComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3567
3527
|
i0.ɵɵprojection(0);
|
|
3568
3528
|
} }
|
|
@@ -3610,7 +3570,7 @@ class ProgressbarDefaultSlotsComponent {
|
|
|
3610
3570
|
}
|
|
3611
3571
|
static { this.ɵfac = function ProgressbarDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProgressbarDefaultSlotsComponent)(); }; }
|
|
3612
3572
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProgressbarDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function ProgressbarDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3613
|
-
i0.ɵɵviewQuerySignal(ctx.structure, _c0$
|
|
3573
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c0$4, 5);
|
|
3614
3574
|
} if (rf & 2) {
|
|
3615
3575
|
i0.ɵɵqueryAdvance();
|
|
3616
3576
|
} }, decls: 2, vars: 0, consts: [["structure", ""], ["auProgressbarStructure", ""], [1, "progress"], [1, "progress-bar", 3, "ngClass"], [3, "auSlot", "auSlotProps"]], template: function ProgressbarDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -3749,17 +3709,17 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
3749
3709
|
} if (rf & 2) {
|
|
3750
3710
|
i0.ɵɵqueryAdvance(2);
|
|
3751
3711
|
} }, viewQuery: function ProgressbarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3752
|
-
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c2$
|
|
3712
|
+
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c2$3, 5);
|
|
3753
3713
|
} if (rf & 2) {
|
|
3754
3714
|
i0.ɵɵqueryAdvance();
|
|
3755
3715
|
} }, hostVars: 2, hostBindings: function ProgressbarComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
3756
3716
|
i0.ɵɵclassMap(ctx.state.className());
|
|
3757
|
-
} }, inputs: { ariaLabel: [1, "auAriaLabel", "ariaLabel"], min: [1, "auMin", "min"], max: [1, "auMax", "max"], value: [1, "auValue", "value"], className: [1, "auClassName", "className"], children: [1, "auChildren", "children"], structure: [1, "auStructure", "structure"], height: [1, "auHeight", "height"], animated: [1, "auAnimated", "animated"], striped: [1, "auStriped", "striped"], ariaValueTextFn: [1, "auAriaValueTextFn", "ariaValueTextFn"], type: [1, "auType", "type"] }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c3$
|
|
3717
|
+
} }, inputs: { ariaLabel: [1, "auAriaLabel", "ariaLabel"], min: [1, "auMin", "min"], max: [1, "auMax", "max"], value: [1, "auValue", "value"], className: [1, "auClassName", "className"], children: [1, "auChildren", "children"], structure: [1, "auStructure", "structure"], height: [1, "auHeight", "height"], animated: [1, "auAnimated", "animated"], striped: [1, "auStriped", "striped"], ariaValueTextFn: [1, "auAriaValueTextFn", "ariaValueTextFn"], type: [1, "auType", "type"] }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c3$3, ngContentSelectors: _c4$3, decls: 3, vars: 6, consts: [["content", ""], [3, "auSlot", "auSlotProps"]], template: function ProgressbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3758
3718
|
i0.ɵɵprojectionDef();
|
|
3759
3719
|
i0.ɵɵtemplate(0, ProgressbarComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, ProgressbarComponent_ng_template_2_Template, 0, 0, "ng-template", 1);
|
|
3760
3720
|
} if (rf & 2) {
|
|
3761
3721
|
i0.ɵɵadvance(2);
|
|
3762
|
-
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2, _c1$
|
|
3722
|
+
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2, _c1$4, ctx.state, ctx.api, ctx.directives));
|
|
3763
3723
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3764
3724
|
}
|
|
3765
3725
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressbarComponent, [{
|
|
@@ -3790,9 +3750,24 @@ const export_getToastDefaultConfig = getToastDefaultConfig;
|
|
|
3790
3750
|
* @returns an ToastWidget
|
|
3791
3751
|
*/
|
|
3792
3752
|
const export_createToast = createToast;
|
|
3753
|
+
/**
|
|
3754
|
+
* A mapping of toast position keys to their corresponding CSS class strings of bootstrap.
|
|
3755
|
+
* These classes define the positioning of toast notifications on the screen.
|
|
3756
|
+
*
|
|
3757
|
+
* The keys represent various positions on the screen, such as top-left, top-center,
|
|
3758
|
+
* middle-right, etc., and the values are the CSS classes of bootstrap that apply the respective
|
|
3759
|
+
* positioning styles.
|
|
3760
|
+
*
|
|
3761
|
+
* Example usage:
|
|
3762
|
+
* ```typescript
|
|
3763
|
+
* const positionClass = toastPositions.topLeft; // "top-0 start-0"
|
|
3764
|
+
* ```
|
|
3765
|
+
*/
|
|
3766
|
+
const export_toastPositions = toastPositions;
|
|
3767
|
+
const export_defaultToasterProps = defaultToasterProps;
|
|
3793
3768
|
|
|
3794
|
-
const _c0$
|
|
3795
|
-
const _c1$
|
|
3769
|
+
const _c0$3 = ["structure"];
|
|
3770
|
+
const _c1$3 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
3796
3771
|
function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_ng_template_1_Template(rf, ctx) { }
|
|
3797
3772
|
function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
3798
3773
|
i0.ɵɵelement(0, "button", 6);
|
|
@@ -3810,7 +3785,7 @@ function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Template(rf, ctx
|
|
|
3810
3785
|
const api_r4 = ctx_r1.api;
|
|
3811
3786
|
const directives_r1 = ctx_r1.directives;
|
|
3812
3787
|
i0.ɵɵadvance();
|
|
3813
|
-
i0.ɵɵproperty("auSlot", state_r3.header())("auSlotProps", i0.ɵɵpureFunction3(3, _c1$
|
|
3788
|
+
i0.ɵɵproperty("auSlot", state_r3.header())("auSlotProps", i0.ɵɵpureFunction3(3, _c1$3, state_r3, api_r4, directives_r1));
|
|
3814
3789
|
i0.ɵɵadvance();
|
|
3815
3790
|
i0.ɵɵconditional(state_r3.dismissible() ? 2 : -1);
|
|
3816
3791
|
} }
|
|
@@ -3833,14 +3808,14 @@ function ToastDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
3833
3808
|
const directives_r1 = ctx.directives;
|
|
3834
3809
|
i0.ɵɵconditional(state_r3.header() ? 0 : -1);
|
|
3835
3810
|
i0.ɵɵadvance(2);
|
|
3836
|
-
i0.ɵɵproperty("auSlot", state_r3.children())("auSlotProps", i0.ɵɵpureFunction3(4, _c1$
|
|
3811
|
+
i0.ɵɵproperty("auSlot", state_r3.children())("auSlotProps", i0.ɵɵpureFunction3(4, _c1$3, state_r3, api_r4, directives_r1));
|
|
3837
3812
|
i0.ɵɵadvance();
|
|
3838
3813
|
i0.ɵɵconditional(state_r3.dismissible() && !state_r3.header() ? 3 : -1);
|
|
3839
3814
|
} }
|
|
3840
|
-
const _c2$
|
|
3841
|
-
const _c3$
|
|
3842
|
-
const _c4$
|
|
3843
|
-
const _c5$
|
|
3815
|
+
const _c2$2 = ["content"];
|
|
3816
|
+
const _c3$2 = ["auToast", ""];
|
|
3817
|
+
const _c4$2 = ["*"];
|
|
3818
|
+
const _c5$2 = (a0, a1, a2) => [a0, a1, a2];
|
|
3844
3819
|
function ToastComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3845
3820
|
i0.ɵɵprojection(0);
|
|
3846
3821
|
} }
|
|
@@ -3852,9 +3827,9 @@ function ToastComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
3852
3827
|
} if (rf & 2) {
|
|
3853
3828
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
3854
3829
|
i0.ɵɵclassProp("d-flex", !ctx_r0.state.header())("toast-dismissible", ctx_r0.state.dismissible());
|
|
3855
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(7, _c5$
|
|
3830
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(7, _c5$2, ctx_r0.directives.autoHideDirective, ctx_r0.directives.transitionDirective, ctx_r0.directives.bodyDirective));
|
|
3856
3831
|
i0.ɵɵadvance();
|
|
3857
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(11, _c1$
|
|
3832
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(11, _c1$3, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
|
|
3858
3833
|
} }
|
|
3859
3834
|
/**
|
|
3860
3835
|
* Directive to represent the body of a toast notification.
|
|
@@ -3916,7 +3891,7 @@ class ToastDefaultSlotsComponent {
|
|
|
3916
3891
|
}
|
|
3917
3892
|
static { this.ɵfac = function ToastDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToastDefaultSlotsComponent)(); }; }
|
|
3918
3893
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToastDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function ToastDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3919
|
-
i0.ɵɵviewQuerySignal(ctx.structure, _c0$
|
|
3894
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c0$3, 5);
|
|
3920
3895
|
} if (rf & 2) {
|
|
3921
3896
|
i0.ɵɵqueryAdvance();
|
|
3922
3897
|
} }, decls: 2, vars: 0, consts: [["structure", ""], ["auToastStructure", ""], [1, "toast-header"], [1, "toast-body"], [3, "auSlot", "auSlotProps"], [1, "btn-close", "btn-close-white", "me-2", "m-auto", 3, "auUse"], [1, "btn-close", "me-0", "ms-auto", 3, "auUse"]], template: function ToastDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4091,10 +4066,10 @@ class ToastComponent extends BaseWidgetDirective {
|
|
|
4091
4066
|
} if (rf & 2) {
|
|
4092
4067
|
i0.ɵɵqueryAdvance(3);
|
|
4093
4068
|
} }, viewQuery: function ToastComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4094
|
-
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c2$
|
|
4069
|
+
i0.ɵɵviewQuerySignal(ctx.slotChildren, _c2$2, 5);
|
|
4095
4070
|
} if (rf & 2) {
|
|
4096
4071
|
i0.ɵɵqueryAdvance();
|
|
4097
|
-
} }, 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$
|
|
4072
|
+
} }, 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) {
|
|
4098
4073
|
i0.ɵɵprojectionDef();
|
|
4099
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);
|
|
4100
4075
|
} if (rf & 2) {
|
|
@@ -4261,8 +4236,8 @@ const export_getTreeDefaultConfig = getTreeDefaultConfig;
|
|
|
4261
4236
|
*/
|
|
4262
4237
|
const export_createTree = createTree;
|
|
4263
4238
|
|
|
4264
|
-
const _c0 = ["structure"];
|
|
4265
|
-
const _c1 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, item: a3 });
|
|
4239
|
+
const _c0$2 = ["structure"];
|
|
4240
|
+
const _c1$2 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, item: a3 });
|
|
4266
4241
|
function TreeDefaultStructureSlotComponent_ng_template_0_For_2_ng_template_0_Template(rf, ctx) { }
|
|
4267
4242
|
function TreeDefaultStructureSlotComponent_ng_template_0_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
4268
4243
|
i0.ɵɵtemplate(0, TreeDefaultStructureSlotComponent_ng_template_0_For_2_ng_template_0_Template, 0, 0, "ng-template", 3);
|
|
@@ -4272,7 +4247,7 @@ function TreeDefaultStructureSlotComponent_ng_template_0_For_2_Template(rf, ctx)
|
|
|
4272
4247
|
const state_r3 = ctx_r1.state;
|
|
4273
4248
|
const directives_r4 = ctx_r1.directives;
|
|
4274
4249
|
const api_r5 = ctx_r1.api;
|
|
4275
|
-
i0.ɵɵproperty("auSlot", state_r3.item())("auSlotProps", i0.ɵɵpureFunction4(2, _c1, state_r3, api_r5, directives_r4, node_r1));
|
|
4250
|
+
i0.ɵɵproperty("auSlot", state_r3.item())("auSlotProps", i0.ɵɵpureFunction4(2, _c1$2, state_r3, api_r5, directives_r4, node_r1));
|
|
4276
4251
|
} }
|
|
4277
4252
|
function TreeDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
4278
4253
|
i0.ɵɵelementStart(0, "ul", 2);
|
|
@@ -4286,9 +4261,9 @@ function TreeDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { if
|
|
|
4286
4261
|
i0.ɵɵadvance();
|
|
4287
4262
|
i0.ɵɵrepeater(state_r3.normalizedNodes());
|
|
4288
4263
|
} }
|
|
4289
|
-
const _c2 = ["toggle"];
|
|
4290
|
-
const _c3 = a0 => ({ item: a0 });
|
|
4291
|
-
const _c4 = (a0, a1) => [a0, a1];
|
|
4264
|
+
const _c2$1 = ["toggle"];
|
|
4265
|
+
const _c3$1 = a0 => ({ item: a0 });
|
|
4266
|
+
const _c4$1 = (a0, a1) => [a0, a1];
|
|
4292
4267
|
function TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
4293
4268
|
i0.ɵɵelementStart(0, "button", 2);
|
|
4294
4269
|
i0.ɵɵelement(1, "span", 4);
|
|
@@ -4297,7 +4272,7 @@ function TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_0_Template
|
|
|
4297
4272
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4298
4273
|
const directives_r2 = ctx_r0.directives;
|
|
4299
4274
|
const item_r3 = ctx_r0.item;
|
|
4300
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c4, directives_r2.itemToggleDirective, i0.ɵɵpureFunction1(1, _c3, item_r3)));
|
|
4275
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c4$1, directives_r2.itemToggleDirective, i0.ɵɵpureFunction1(1, _c3$1, item_r3)));
|
|
4301
4276
|
} }
|
|
4302
4277
|
function TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4303
4278
|
i0.ɵɵelement(0, "span", 3);
|
|
@@ -4308,7 +4283,7 @@ function TreeDefaultItemToggleSlotComponent_ng_template_0_Template(rf, ctx) { if
|
|
|
4308
4283
|
const item_r3 = ctx.item;
|
|
4309
4284
|
i0.ɵɵconditional(item_r3.children.length > 0 ? 0 : 1);
|
|
4310
4285
|
} }
|
|
4311
|
-
const _c5 = ["treeItemContent"];
|
|
4286
|
+
const _c5$1 = ["treeItemContent"];
|
|
4312
4287
|
function TreeDefaultItemContentSlotComponent_ng_template_0_ng_template_1_Template(rf, ctx) { }
|
|
4313
4288
|
function TreeDefaultItemContentSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
4314
4289
|
i0.ɵɵelementStart(0, "span", 2);
|
|
@@ -4321,7 +4296,7 @@ function TreeDefaultItemContentSlotComponent_ng_template_0_Template(rf, ctx) { i
|
|
|
4321
4296
|
const item_r3 = ctx.item;
|
|
4322
4297
|
const api_r4 = ctx.api;
|
|
4323
4298
|
i0.ɵɵadvance();
|
|
4324
|
-
i0.ɵɵproperty("auSlot", state_r1.itemToggle())("auSlotProps", i0.ɵɵpureFunction4(3, _c1, state_r1, api_r4, directives_r2, item_r3));
|
|
4299
|
+
i0.ɵɵproperty("auSlot", state_r1.itemToggle())("auSlotProps", i0.ɵɵpureFunction4(3, _c1$2, state_r1, api_r4, directives_r2, item_r3));
|
|
4325
4300
|
i0.ɵɵadvance();
|
|
4326
4301
|
i0.ɵɵtextInterpolate1(" ", item_r3.label, " ");
|
|
4327
4302
|
} }
|
|
@@ -4336,7 +4311,7 @@ function TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_For_2_Template
|
|
|
4336
4311
|
const state_r3 = ctx_r1.state;
|
|
4337
4312
|
const directives_r4 = ctx_r1.directives;
|
|
4338
4313
|
const api_r5 = ctx_r1.api;
|
|
4339
|
-
i0.ɵɵproperty("auSlot", state_r3.item())("auSlotProps", i0.ɵɵpureFunction4(2, _c1, state_r3, api_r5, directives_r4, child_r1));
|
|
4314
|
+
i0.ɵɵproperty("auSlot", state_r3.item())("auSlotProps", i0.ɵɵpureFunction4(2, _c1$2, state_r3, api_r5, directives_r4, child_r1));
|
|
4340
4315
|
} }
|
|
4341
4316
|
function TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4342
4317
|
i0.ɵɵelementStart(0, "ul", 4);
|
|
@@ -4356,9 +4331,9 @@ function TreeDefaultItemSlotComponent_ng_template_0_Template(rf, ctx) { if (rf &
|
|
|
4356
4331
|
const directives_r4 = ctx.directives;
|
|
4357
4332
|
const item_r6 = ctx.item;
|
|
4358
4333
|
const api_r5 = ctx.api;
|
|
4359
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4, directives_r4.itemAttributesDirective, i0.ɵɵpureFunction1(4, _c3, item_r6)));
|
|
4334
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4$1, directives_r4.itemAttributesDirective, i0.ɵɵpureFunction1(4, _c3$1, item_r6)));
|
|
4360
4335
|
i0.ɵɵadvance();
|
|
4361
|
-
i0.ɵɵproperty("auSlot", state_r3.itemContent())("auSlotProps", i0.ɵɵpureFunction4(9, _c1, state_r3, api_r5, directives_r4, item_r6));
|
|
4336
|
+
i0.ɵɵproperty("auSlot", state_r3.itemContent())("auSlotProps", i0.ɵɵpureFunction4(9, _c1$2, state_r3, api_r5, directives_r4, item_r6));
|
|
4362
4337
|
i0.ɵɵadvance();
|
|
4363
4338
|
i0.ɵɵconditional(state_r3.expandedMap().get(item_r6) ? 2 : -1);
|
|
4364
4339
|
} }
|
|
@@ -4393,7 +4368,7 @@ class TreeDefaultStructureSlotComponent {
|
|
|
4393
4368
|
}
|
|
4394
4369
|
static { this.ɵfac = function TreeDefaultStructureSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeDefaultStructureSlotComponent)(); }; }
|
|
4395
4370
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeDefaultStructureSlotComponent, selectors: [["ng-component"]], viewQuery: function TreeDefaultStructureSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4396
|
-
i0.ɵɵviewQuerySignal(ctx.structure, _c0, 5);
|
|
4371
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c0$2, 5);
|
|
4397
4372
|
} if (rf & 2) {
|
|
4398
4373
|
i0.ɵɵqueryAdvance();
|
|
4399
4374
|
} }, decls: 2, vars: 0, consts: [["structure", ""], ["auTreeStructure", ""], ["role", "tree", 3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function TreeDefaultStructureSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4446,7 +4421,7 @@ class TreeDefaultItemToggleSlotComponent {
|
|
|
4446
4421
|
}
|
|
4447
4422
|
static { this.ɵfac = function TreeDefaultItemToggleSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeDefaultItemToggleSlotComponent)(); }; }
|
|
4448
4423
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeDefaultItemToggleSlotComponent, selectors: [["ng-component"]], viewQuery: function TreeDefaultItemToggleSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4449
|
-
i0.ɵɵviewQuerySignal(ctx.toggle, _c2, 5);
|
|
4424
|
+
i0.ɵɵviewQuerySignal(ctx.toggle, _c2$1, 5);
|
|
4450
4425
|
} if (rf & 2) {
|
|
4451
4426
|
i0.ɵɵqueryAdvance();
|
|
4452
4427
|
} }, decls: 2, vars: 0, consts: [["toggle", ""], ["auTreeItemToggle", ""], [3, "auUse"], [1, "au-tree-expand-icon-placeholder"], [1, "au-tree-expand-icon-svg"]], template: function TreeDefaultItemToggleSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4501,7 +4476,7 @@ class TreeDefaultItemContentSlotComponent {
|
|
|
4501
4476
|
}
|
|
4502
4477
|
static { this.ɵfac = function TreeDefaultItemContentSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeDefaultItemContentSlotComponent)(); }; }
|
|
4503
4478
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeDefaultItemContentSlotComponent, selectors: [["ng-component"]], viewQuery: function TreeDefaultItemContentSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4504
|
-
i0.ɵɵviewQuerySignal(ctx.treeItemContent, _c5, 5);
|
|
4479
|
+
i0.ɵɵviewQuerySignal(ctx.treeItemContent, _c5$1, 5);
|
|
4505
4480
|
} if (rf & 2) {
|
|
4506
4481
|
i0.ɵɵqueryAdvance();
|
|
4507
4482
|
} }, decls: 2, vars: 0, consts: [["treeItemContent", ""], ["auTreeItemContent", ""], [1, "au-tree-item"], [3, "auSlot", "auSlotProps"]], template: function TreeDefaultItemContentSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4711,6 +4686,566 @@ class TreeComponent extends BaseWidgetDirective {
|
|
|
4711
4686
|
}], () => [], null); })();
|
|
4712
4687
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeComponent, { className: "TreeComponent", filePath: "components/tree/tree.component.ts", lineNumber: 176 }); })();
|
|
4713
4688
|
|
|
4689
|
+
/**
|
|
4690
|
+
* Retrieve a shallow copy of the default Carousel config
|
|
4691
|
+
* @returns the default Carousel config
|
|
4692
|
+
*/
|
|
4693
|
+
const export_getCarouselDefaultConfig = getCarouselDefaultConfig;
|
|
4694
|
+
/**
|
|
4695
|
+
* Create a Carousel with given config props
|
|
4696
|
+
*
|
|
4697
|
+
* @template SlideData - The type of the data for each slide.
|
|
4698
|
+
* @param config - an optional carousel config
|
|
4699
|
+
* @returns a CarouselWidget
|
|
4700
|
+
*/
|
|
4701
|
+
const export_createCarousel = createCarousel;
|
|
4702
|
+
|
|
4703
|
+
const _c0$1 = ["structure"];
|
|
4704
|
+
const _c1$1 = ["navigation"];
|
|
4705
|
+
const _c2 = (a0, a1) => ({ index: a0, id: a1 });
|
|
4706
|
+
const _c3 = (a0, a1) => [a0, a1];
|
|
4707
|
+
const _c4 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
4708
|
+
const _forTrack0$1 = ($index, $item) => $item.id;
|
|
4709
|
+
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");
|
|
4713
|
+
i0.ɵɵelementEnd();
|
|
4714
|
+
} if (rf & 2) {
|
|
4715
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
4716
|
+
const state_r2 = ctx_r0.state;
|
|
4717
|
+
const directives_r3 = ctx_r0.directives;
|
|
4718
|
+
const prevBtnClassPrefix_r4 = state_r2.direction() === "rtl" ? "carousel-control-next" : "carousel-control-prev";
|
|
4719
|
+
i0.ɵɵadvance();
|
|
4720
|
+
i0.ɵɵclassMap(prevBtnClassPrefix_r4);
|
|
4721
|
+
i0.ɵɵproperty("auUse", directives_r3.scrollPrev);
|
|
4722
|
+
i0.ɵɵadvance();
|
|
4723
|
+
i0.ɵɵclassMapInterpolate1("", prevBtnClassPrefix_r4, "-icon");
|
|
4724
|
+
} }
|
|
4725
|
+
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");
|
|
4729
|
+
i0.ɵɵelementEnd();
|
|
4730
|
+
} if (rf & 2) {
|
|
4731
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
4732
|
+
const state_r2 = ctx_r0.state;
|
|
4733
|
+
const directives_r3 = ctx_r0.directives;
|
|
4734
|
+
const nextBtnClassPrefix_r5 = state_r2.direction() === "ltr" ? "carousel-control-next" : "carousel-control-prev";
|
|
4735
|
+
i0.ɵɵadvance();
|
|
4736
|
+
i0.ɵɵclassMap(nextBtnClassPrefix_r5);
|
|
4737
|
+
i0.ɵɵproperty("auUse", directives_r3.scrollNext);
|
|
4738
|
+
i0.ɵɵadvance();
|
|
4739
|
+
i0.ɵɵclassMapInterpolate1("", nextBtnClassPrefix_r5, "-icon");
|
|
4740
|
+
} }
|
|
4741
|
+
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);
|
|
4743
|
+
} if (rf & 2) {
|
|
4744
|
+
const state_r2 = i0.ɵɵnextContext().state;
|
|
4745
|
+
i0.ɵɵconditional(state_r2.canScrollPrev() ? 0 : -1);
|
|
4746
|
+
i0.ɵɵadvance();
|
|
4747
|
+
i0.ɵɵconditional(state_r2.canScrollNext() ? 1 : -1);
|
|
4748
|
+
} }
|
|
4749
|
+
function CarouselDefaultSlotsComponent_ng_template_0_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
4750
|
+
i0.ɵɵelement(0, "button", 7);
|
|
4751
|
+
} if (rf & 2) {
|
|
4752
|
+
const slideData_r6 = ctx.$implicit;
|
|
4753
|
+
const ɵ$index_19_r7 = ctx.$index;
|
|
4754
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
4755
|
+
const state_r2 = ctx_r0.state;
|
|
4756
|
+
const directives_r3 = ctx_r0.directives;
|
|
4757
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c3, directives_r3.tabIndicator, i0.ɵɵpureFunction2(2, _c2, ɵ$index_19_r7, slideData_r6.id)));
|
|
4758
|
+
i0.ɵɵattribute("class", state_r2.selectedScrollSnap() === ɵ$index_19_r7 ? "active" : undefined);
|
|
4759
|
+
} }
|
|
4760
|
+
function CarouselDefaultSlotsComponent_ng_template_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
4761
|
+
i0.ɵɵelementStart(0, "div", 4);
|
|
4762
|
+
i0.ɵɵrepeaterCreate(1, CarouselDefaultSlotsComponent_ng_template_0_Conditional_1_For_2_Template, 1, 8, "button", 7, _forTrack0$1);
|
|
4763
|
+
i0.ɵɵelementEnd();
|
|
4764
|
+
} if (rf & 2) {
|
|
4765
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4766
|
+
const state_r2 = ctx_r0.state;
|
|
4767
|
+
const directives_r3 = ctx_r0.directives;
|
|
4768
|
+
i0.ɵɵproperty("auUse", directives_r3.tabList);
|
|
4769
|
+
i0.ɵɵadvance();
|
|
4770
|
+
i0.ɵɵrepeater(state_r2.slidesData());
|
|
4771
|
+
} }
|
|
4772
|
+
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);
|
|
4774
|
+
} if (rf & 2) {
|
|
4775
|
+
const state_r2 = ctx.state;
|
|
4776
|
+
i0.ɵɵconditional(state_r2.showNavigationArrows() ? 0 : -1);
|
|
4777
|
+
i0.ɵɵadvance();
|
|
4778
|
+
i0.ɵɵconditional(state_r2.showNavigationIndicators() ? 1 : -1);
|
|
4779
|
+
} }
|
|
4780
|
+
function CarouselDefaultSlotsComponent_ng_template_2_ng_template_0_Template(rf, ctx) { }
|
|
4781
|
+
function CarouselDefaultSlotsComponent_ng_template_2_For_3_ng_template_1_Template(rf, ctx) { }
|
|
4782
|
+
function CarouselDefaultSlotsComponent_ng_template_2_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
4783
|
+
i0.ɵɵelementStart(0, "div", 6);
|
|
4784
|
+
i0.ɵɵtemplate(1, CarouselDefaultSlotsComponent_ng_template_2_For_3_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
4785
|
+
i0.ɵɵelementEnd();
|
|
4786
|
+
} if (rf & 2) {
|
|
4787
|
+
const slideData_r8 = ctx.$implicit;
|
|
4788
|
+
const ɵ$index_28_r9 = ctx.$index;
|
|
4789
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
4790
|
+
const state_r11 = ctx_r9.state;
|
|
4791
|
+
const api_r12 = ctx_r9.api;
|
|
4792
|
+
const directives_r13 = ctx_r9.directives;
|
|
4793
|
+
const ctx_r13 = i0.ɵɵnextContext();
|
|
4794
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c3, directives_r13.slide, i0.ɵɵpureFunction2(3, _c2, ɵ$index_28_r9, slideData_r8.id)));
|
|
4795
|
+
i0.ɵɵadvance();
|
|
4796
|
+
i0.ɵɵproperty("auSlot", state_r11.slide())("auSlotProps", ctx_r13.toSlideContext(slideData_r8, i0.ɵɵpureFunction3(9, _c4, state_r11, api_r12, directives_r13)));
|
|
4797
|
+
} }
|
|
4798
|
+
function CarouselDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
4799
|
+
i0.ɵɵtemplate(0, CarouselDefaultSlotsComponent_ng_template_2_ng_template_0_Template, 0, 0, "ng-template", 8);
|
|
4800
|
+
i0.ɵɵelementStart(1, "div", 6);
|
|
4801
|
+
i0.ɵɵrepeaterCreate(2, CarouselDefaultSlotsComponent_ng_template_2_For_3_Template, 2, 13, "div", 6, _forTrack0$1);
|
|
4802
|
+
i0.ɵɵelementEnd();
|
|
4803
|
+
} if (rf & 2) {
|
|
4804
|
+
const state_r11 = ctx.state;
|
|
4805
|
+
const api_r12 = ctx.api;
|
|
4806
|
+
const directives_r13 = ctx.directives;
|
|
4807
|
+
i0.ɵɵproperty("auSlot", state_r11.navigation())("auSlotProps", i0.ɵɵpureFunction3(3, _c4, state_r11, api_r12, directives_r13));
|
|
4808
|
+
i0.ɵɵadvance();
|
|
4809
|
+
i0.ɵɵproperty("auUse", directives_r13.container);
|
|
4810
|
+
i0.ɵɵadvance();
|
|
4811
|
+
i0.ɵɵrepeater(state_r11.slidesData());
|
|
4812
|
+
} }
|
|
4813
|
+
const _c5 = ["auCarousel", ""];
|
|
4814
|
+
function CarouselComponent_ng_template_0_Template(rf, ctx) { }
|
|
4815
|
+
/**
|
|
4816
|
+
* Directive that provides a template reference for the carousel structure using the {@link CarouselContext}.
|
|
4817
|
+
*/
|
|
4818
|
+
class CarouselStructureDirective {
|
|
4819
|
+
constructor() {
|
|
4820
|
+
this.templateRef = inject((TemplateRef));
|
|
4821
|
+
}
|
|
4822
|
+
static ngTemplateContextGuard(_dir, context) {
|
|
4823
|
+
return true;
|
|
4824
|
+
}
|
|
4825
|
+
static { this.ɵfac = function CarouselStructureDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CarouselStructureDirective)(); }; }
|
|
4826
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselStructureDirective, selectors: [["ng-template", "auCarouselStructure", ""]] }); }
|
|
4827
|
+
}
|
|
4828
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CarouselStructureDirective, [{
|
|
4829
|
+
type: Directive,
|
|
4830
|
+
args: [{ selector: 'ng-template[auCarouselStructure]' }]
|
|
4831
|
+
}], null, null); })();
|
|
4832
|
+
/**
|
|
4833
|
+
* Directive that provides a template reference for the carousel navigation using the {@link CarouselContext}.
|
|
4834
|
+
*/
|
|
4835
|
+
class CarouselNavigationDirective {
|
|
4836
|
+
constructor() {
|
|
4837
|
+
this.templateRef = inject((TemplateRef));
|
|
4838
|
+
}
|
|
4839
|
+
static ngTemplateContextGuard(_dir, context) {
|
|
4840
|
+
return true;
|
|
4841
|
+
}
|
|
4842
|
+
static { this.ɵfac = function CarouselNavigationDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CarouselNavigationDirective)(); }; }
|
|
4843
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselNavigationDirective, selectors: [["ng-template", "auCarouselNavigation", ""]] }); }
|
|
4844
|
+
}
|
|
4845
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CarouselNavigationDirective, [{
|
|
4846
|
+
type: Directive,
|
|
4847
|
+
args: [{ selector: 'ng-template[auCarouselNavigation]' }]
|
|
4848
|
+
}], null, null); })();
|
|
4849
|
+
/**
|
|
4850
|
+
* Directive that provides a template reference for the carousel slide using the {@link CarouselSlideContext}.
|
|
4851
|
+
*/
|
|
4852
|
+
class CarouselSlideDirective {
|
|
4853
|
+
constructor() {
|
|
4854
|
+
this.templateRef = inject((TemplateRef));
|
|
4855
|
+
}
|
|
4856
|
+
static ngTemplateContextGuard(_dir, context) {
|
|
4857
|
+
return true;
|
|
4858
|
+
}
|
|
4859
|
+
static { this.ɵfac = function CarouselSlideDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CarouselSlideDirective)(); }; }
|
|
4860
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CarouselSlideDirective, selectors: [["ng-template", "auCarouselSlide", ""]] }); }
|
|
4861
|
+
}
|
|
4862
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CarouselSlideDirective, [{
|
|
4863
|
+
type: Directive,
|
|
4864
|
+
args: [{ selector: 'ng-template[auCarouselSlide]' }]
|
|
4865
|
+
}], null, null); })();
|
|
4866
|
+
class CarouselDefaultSlotsComponent {
|
|
4867
|
+
constructor() {
|
|
4868
|
+
this.structure = viewChild.required('structure');
|
|
4869
|
+
this.navigation = viewChild.required('navigation');
|
|
4870
|
+
}
|
|
4871
|
+
toSlideContext(slideData, carouselContext) {
|
|
4872
|
+
return {
|
|
4873
|
+
...slideData,
|
|
4874
|
+
...carouselContext,
|
|
4875
|
+
};
|
|
4876
|
+
}
|
|
4877
|
+
static { this.ɵfac = function CarouselDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CarouselDefaultSlotsComponent)(); }; }
|
|
4878
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CarouselDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function CarouselDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4879
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c0$1, 5);
|
|
4880
|
+
i0.ɵɵviewQuerySignal(ctx.navigation, _c1$1, 5);
|
|
4881
|
+
} if (rf & 2) {
|
|
4882
|
+
i0.ɵɵqueryAdvance(2);
|
|
4883
|
+
} }, decls: 4, vars: 0, consts: [["navigation", ""], ["structure", ""], ["auCarouselNavigation", ""], ["auCarouselStructure", ""], [1, "carousel-indicators", 3, "auUse"], [3, "class", "auUse"], [3, "auUse"], ["data-bs-target", "true", 3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function CarouselDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4884
|
+
i0.ɵɵtemplate(0, CarouselDefaultSlotsComponent_ng_template_0_Template, 2, 2, "ng-template", 2, 0, i0.ɵɵtemplateRefExtractor)(2, CarouselDefaultSlotsComponent_ng_template_2_Template, 4, 7, "ng-template", 3, 1, i0.ɵɵtemplateRefExtractor);
|
|
4885
|
+
} }, dependencies: [SlotDirective, CarouselStructureDirective, CarouselNavigationDirective, UseDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
4886
|
+
}
|
|
4887
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CarouselDefaultSlotsComponent, [{
|
|
4888
|
+
type: Component,
|
|
4889
|
+
args: [{
|
|
4890
|
+
imports: [SlotDirective, CarouselStructureDirective, CarouselNavigationDirective, UseDirective],
|
|
4891
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4892
|
+
template: `
|
|
4893
|
+
<ng-template auCarouselNavigation #navigation let-state="state" let-api="api" let-directives="directives">
|
|
4894
|
+
@if (state.showNavigationArrows()) {
|
|
4895
|
+
@if (state.canScrollPrev()) {
|
|
4896
|
+
@let prevBtnClassPrefix = state.direction() === 'rtl' ? 'carousel-control-next' : 'carousel-control-prev';
|
|
4897
|
+
<button class="{{ prevBtnClassPrefix }}" [auUse]="directives.scrollPrev">
|
|
4898
|
+
<span class="{{ prevBtnClassPrefix }}-icon"></span>
|
|
4899
|
+
</button>
|
|
4900
|
+
}
|
|
4901
|
+
@if (state.canScrollNext()) {
|
|
4902
|
+
@let nextBtnClassPrefix = state.direction() === 'ltr' ? 'carousel-control-next' : 'carousel-control-prev';
|
|
4903
|
+
<button class="{{ nextBtnClassPrefix }}" [auUse]="directives.scrollNext">
|
|
4904
|
+
<span class="{{ nextBtnClassPrefix }}-icon"></span>
|
|
4905
|
+
</button>
|
|
4906
|
+
}
|
|
4907
|
+
}
|
|
4908
|
+
@if (state.showNavigationIndicators()) {
|
|
4909
|
+
<div class="carousel-indicators" [auUse]="directives.tabList">
|
|
4910
|
+
@for (slideData of state.slidesData(); track slideData.id; let index = $index) {
|
|
4911
|
+
<button
|
|
4912
|
+
data-bs-target="true"
|
|
4913
|
+
[attr.class]="state.selectedScrollSnap() === index ? 'active' : undefined"
|
|
4914
|
+
[auUse]="[directives.tabIndicator, {index, id: slideData.id}]"
|
|
4915
|
+
></button>
|
|
4916
|
+
}
|
|
4917
|
+
</div>
|
|
4918
|
+
}
|
|
4919
|
+
</ng-template>
|
|
4920
|
+
<ng-template auCarouselStructure #structure let-state="state" let-api="api" let-directives="directives">
|
|
4921
|
+
<ng-template [auSlot]="state.navigation()" [auSlotProps]="{state, api, directives}" />
|
|
4922
|
+
<div [auUse]="directives.container">
|
|
4923
|
+
@for (slideData of state.slidesData(); track slideData.id; let index = $index) {
|
|
4924
|
+
<div [auUse]="[directives.slide, {index, id: slideData.id}]">
|
|
4925
|
+
<ng-template [auSlot]="state.slide()" [auSlotProps]="toSlideContext(slideData, {state, api, directives})" />
|
|
4926
|
+
</div>
|
|
4927
|
+
}
|
|
4928
|
+
</div>
|
|
4929
|
+
</ng-template>
|
|
4930
|
+
`,
|
|
4931
|
+
}]
|
|
4932
|
+
}], null, null); })();
|
|
4933
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CarouselDefaultSlotsComponent, { className: "CarouselDefaultSlotsComponent", filePath: "components/carousel/carousel.component.ts", lineNumber: 107 }); })();
|
|
4934
|
+
/**
|
|
4935
|
+
* The default slot for the structure
|
|
4936
|
+
*/
|
|
4937
|
+
const carouselDefaultSlotStructure = new ComponentTemplate(CarouselDefaultSlotsComponent, 'structure');
|
|
4938
|
+
/**
|
|
4939
|
+
* The default slot for the navigation
|
|
4940
|
+
*/
|
|
4941
|
+
const carouselDefaultSlotNavigation = new ComponentTemplate(CarouselDefaultSlotsComponent, 'navigation');
|
|
4942
|
+
/**
|
|
4943
|
+
* CarouselComponent is an Angular Component that extends {@link BaseWidgetDirective}<{@link CarouselWidget}>
|
|
4944
|
+
* to create a customizable carousel widget. It provides various inputs (see {@link CarouselProps})
|
|
4945
|
+
* to configure the appearance and behavior of the carousel.
|
|
4946
|
+
*/
|
|
4947
|
+
class CarouselComponent extends BaseWidgetDirective {
|
|
4948
|
+
constructor() {
|
|
4949
|
+
super(callWidgetFactory({
|
|
4950
|
+
factory: export_createCarousel,
|
|
4951
|
+
widgetName: 'carousel',
|
|
4952
|
+
afterInit: (widget) => useDirectiveForHost(widget.directives.root),
|
|
4953
|
+
defaultConfig: {
|
|
4954
|
+
structure: carouselDefaultSlotStructure,
|
|
4955
|
+
navigation: carouselDefaultSlotNavigation,
|
|
4956
|
+
},
|
|
4957
|
+
slotTemplates: () => ({
|
|
4958
|
+
slide: this.slotSlideFromContent()?.templateRef,
|
|
4959
|
+
structure: this.slotStructureFromContent()?.templateRef,
|
|
4960
|
+
navigation: this.slotNavigationFromContent()?.templateRef,
|
|
4961
|
+
}),
|
|
4962
|
+
}));
|
|
4963
|
+
/**
|
|
4964
|
+
* Aria label for navigation indicators
|
|
4965
|
+
*/
|
|
4966
|
+
this.ariaIndicatorLabel = input(undefined, { alias: 'auAriaIndicatorLabel' });
|
|
4967
|
+
/**
|
|
4968
|
+
* Aria label for previous button
|
|
4969
|
+
*/
|
|
4970
|
+
this.ariaPrevLabel = input(undefined, { alias: 'auAriaPrevLabel' });
|
|
4971
|
+
/**
|
|
4972
|
+
* Aria label for next button
|
|
4973
|
+
*/
|
|
4974
|
+
this.ariaNextLabel = input(undefined, { alias: 'auAriaNextLabel' });
|
|
4975
|
+
/**
|
|
4976
|
+
* Choose content direction between `ltr` and `rtl`
|
|
4977
|
+
*
|
|
4978
|
+
* @see {@link https://www.embla-carousel.com/api/options/#direction}
|
|
4979
|
+
* @defaultValue `'ltr'`
|
|
4980
|
+
*/
|
|
4981
|
+
this.direction = input(undefined, { alias: 'auDirection' });
|
|
4982
|
+
/**
|
|
4983
|
+
* Enables momentum scrolling
|
|
4984
|
+
*
|
|
4985
|
+
* @see {@link https://www.embla-carousel.com/api/options/#dragFree}
|
|
4986
|
+
* @defaultValue `false`
|
|
4987
|
+
*/
|
|
4988
|
+
this.dragFree = input(undefined, { alias: 'auDragFree', transform: auBooleanAttribute });
|
|
4989
|
+
/**
|
|
4990
|
+
* Drag threshold in pixels
|
|
4991
|
+
*
|
|
4992
|
+
* @see {@link https://www.embla-carousel.com/api/options/#dragThreshold}
|
|
4993
|
+
* @defaultValue `10`
|
|
4994
|
+
*/
|
|
4995
|
+
this.dragThreshold = input(undefined, { alias: 'auDragThreshold', transform: auNumberAttribute });
|
|
4996
|
+
/**
|
|
4997
|
+
* Set scroll duration when triggered by any of the API methods
|
|
4998
|
+
*
|
|
4999
|
+
* @see {@link https://www.embla-carousel.com/api/options/#duration}
|
|
5000
|
+
* @defaultValue `25`
|
|
5001
|
+
*/
|
|
5002
|
+
this.duration = input(undefined, { alias: 'auDuration', transform: auNumberAttribute });
|
|
5003
|
+
/**
|
|
5004
|
+
* Enables infinite looping
|
|
5005
|
+
*
|
|
5006
|
+
* @see {@link https://www.embla-carousel.com/api/options/#loop}
|
|
5007
|
+
* @defaultValue `false`
|
|
5008
|
+
*/
|
|
5009
|
+
this.loop = input(undefined, { alias: 'auLoop', transform: auBooleanAttribute });
|
|
5010
|
+
/**
|
|
5011
|
+
* Allow the carousel to skip scroll snaps if it's dragged vigorously
|
|
5012
|
+
*
|
|
5013
|
+
* @see {@link https://www.embla-carousel.com/api/options/#skipsnaps}
|
|
5014
|
+
* @defaultValue `false`
|
|
5015
|
+
*/
|
|
5016
|
+
this.skipSnaps = input(undefined, { alias: 'auSkipSnaps', transform: auBooleanAttribute });
|
|
5017
|
+
/**
|
|
5018
|
+
* If `true`, 'previous' and 'next' navigation arrows will be visible.
|
|
5019
|
+
*/
|
|
5020
|
+
this.showNavigationArrows = input(undefined, { alias: 'auShowNavigationArrows', transform: auBooleanAttribute });
|
|
5021
|
+
/**
|
|
5022
|
+
* If `true`, navigation indicators at the bottom of the slide will be visible.
|
|
5023
|
+
*/
|
|
5024
|
+
this.showNavigationIndicators = input(undefined, { alias: 'auShowNavigationIndicators', transform: auBooleanAttribute });
|
|
5025
|
+
/**
|
|
5026
|
+
* Plugins to extend the carousel with additional features
|
|
5027
|
+
* @defaultValue `[]`
|
|
5028
|
+
*/
|
|
5029
|
+
this.plugins = input(undefined, { alias: 'auPlugins' });
|
|
5030
|
+
/**
|
|
5031
|
+
* Align the slides relative to the carousel viewport
|
|
5032
|
+
*
|
|
5033
|
+
* @see {@link https://www.embla-carousel.com/api/options/#align}
|
|
5034
|
+
* @defaultValue `'center'`
|
|
5035
|
+
*/
|
|
5036
|
+
this.align = input(undefined, { alias: 'auAlign' });
|
|
5037
|
+
/**
|
|
5038
|
+
* 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.
|
|
5039
|
+
*
|
|
5040
|
+
* @see {@link https://www.embla-carousel.com/api/options/#container}
|
|
5041
|
+
*/
|
|
5042
|
+
this.container = input(undefined, { alias: 'auContainer' });
|
|
5043
|
+
/**
|
|
5044
|
+
* Clear leading and trailing empty space that causes excessive scrolling
|
|
5045
|
+
*
|
|
5046
|
+
* @see {@link https://www.embla-carousel.com/api/options/#containScroll}
|
|
5047
|
+
* @defaultValue `'trimSnaps'`
|
|
5048
|
+
*/
|
|
5049
|
+
this.containScroll = input(undefined, { alias: 'auContainScroll' });
|
|
5050
|
+
/**
|
|
5051
|
+
* CSS classes to be applied on the widget main container
|
|
5052
|
+
*
|
|
5053
|
+
* @defaultValue `''`
|
|
5054
|
+
*/
|
|
5055
|
+
this.className = input(undefined, { alias: 'auClassName' });
|
|
5056
|
+
/**
|
|
5057
|
+
* Class name to apply to the container of the carousel.
|
|
5058
|
+
*
|
|
5059
|
+
* @defaultValue `''`
|
|
5060
|
+
*/
|
|
5061
|
+
this.containerClass = input(undefined, { alias: 'auContainerClass' });
|
|
5062
|
+
/**
|
|
5063
|
+
* Class name to apply to each slide in the carousel.
|
|
5064
|
+
*
|
|
5065
|
+
* @defaultValue `''`
|
|
5066
|
+
*/
|
|
5067
|
+
this.slideClass = input(undefined, { alias: 'auSlideClass' });
|
|
5068
|
+
/**
|
|
5069
|
+
* The aria-live attribute value for the carousel container.
|
|
5070
|
+
*
|
|
5071
|
+
* @defaultValue `'polite'`
|
|
5072
|
+
*/
|
|
5073
|
+
this.ariaLive = input(undefined, { alias: 'auAriaLive' });
|
|
5074
|
+
/**
|
|
5075
|
+
* The data for each slide in the carousel.
|
|
5076
|
+
*
|
|
5077
|
+
* @defaultValue `[]`
|
|
5078
|
+
*/
|
|
5079
|
+
this.slidesData = input(undefined, { alias: 'auSlidesData' });
|
|
5080
|
+
/**
|
|
5081
|
+
* The structure of the carousel.
|
|
5082
|
+
*
|
|
5083
|
+
* @defaultValue `undefined`
|
|
5084
|
+
*/
|
|
5085
|
+
this.structure = input(undefined, { alias: 'auStructure' });
|
|
5086
|
+
/**
|
|
5087
|
+
* The navigation layer of the carousel.
|
|
5088
|
+
*
|
|
5089
|
+
* @defaultValue `undefined`
|
|
5090
|
+
*/
|
|
5091
|
+
this.navigation = input(undefined, { alias: 'auNavigation' });
|
|
5092
|
+
/**
|
|
5093
|
+
* The content of each slide in the carousel.
|
|
5094
|
+
*
|
|
5095
|
+
* @defaultValue `undefined`
|
|
5096
|
+
*/
|
|
5097
|
+
this.slide = input(undefined, { alias: 'auSlide' });
|
|
5098
|
+
this.slotSlideFromContent = contentChild((CarouselSlideDirective));
|
|
5099
|
+
this.slotStructureFromContent = contentChild((CarouselStructureDirective));
|
|
5100
|
+
this.slotNavigationFromContent = contentChild((CarouselNavigationDirective));
|
|
5101
|
+
}
|
|
5102
|
+
static { this.ɵfac = function CarouselComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CarouselComponent)(); }; }
|
|
5103
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CarouselComponent, selectors: [["", "auCarousel", ""]], contentQueries: function CarouselComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
5104
|
+
i0.ɵɵcontentQuerySignal(dirIndex, ctx.slotSlideFromContent, (CarouselSlideDirective), 5);
|
|
5105
|
+
i0.ɵɵcontentQuerySignal(dirIndex, ctx.slotStructureFromContent, (CarouselStructureDirective), 5);
|
|
5106
|
+
i0.ɵɵcontentQuerySignal(dirIndex, ctx.slotNavigationFromContent, (CarouselNavigationDirective), 5);
|
|
5107
|
+
} if (rf & 2) {
|
|
5108
|
+
i0.ɵɵqueryAdvance(3);
|
|
5109
|
+
} }, inputs: { ariaIndicatorLabel: [1, "auAriaIndicatorLabel", "ariaIndicatorLabel"], ariaPrevLabel: [1, "auAriaPrevLabel", "ariaPrevLabel"], ariaNextLabel: [1, "auAriaNextLabel", "ariaNextLabel"], direction: [1, "auDirection", "direction"], dragFree: [1, "auDragFree", "dragFree"], dragThreshold: [1, "auDragThreshold", "dragThreshold"], duration: [1, "auDuration", "duration"], loop: [1, "auLoop", "loop"], skipSnaps: [1, "auSkipSnaps", "skipSnaps"], showNavigationArrows: [1, "auShowNavigationArrows", "showNavigationArrows"], showNavigationIndicators: [1, "auShowNavigationIndicators", "showNavigationIndicators"], plugins: [1, "auPlugins", "plugins"], align: [1, "auAlign", "align"], container: [1, "auContainer", "container"], containScroll: [1, "auContainScroll", "containScroll"], className: [1, "auClassName", "className"], containerClass: [1, "auContainerClass", "containerClass"], slideClass: [1, "auSlideClass", "slideClass"], ariaLive: [1, "auAriaLive", "ariaLive"], slidesData: [1, "auSlidesData", "slidesData"], structure: [1, "auStructure", "structure"], navigation: [1, "auNavigation", "navigation"], slide: [1, "auSlide", "slide"] }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c5, decls: 1, vars: 6, consts: [[3, "auSlot", "auSlotProps"]], template: function CarouselComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5110
|
+
i0.ɵɵtemplate(0, CarouselComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
5111
|
+
} if (rf & 2) {
|
|
5112
|
+
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2, _c4, ctx.state, ctx.api, ctx.directives));
|
|
5113
|
+
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
5114
|
+
}
|
|
5115
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CarouselComponent, [{
|
|
5116
|
+
type: Component,
|
|
5117
|
+
args: [{
|
|
5118
|
+
selector: '[auCarousel]',
|
|
5119
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5120
|
+
imports: [SlotDirective],
|
|
5121
|
+
template: ` <ng-template [auSlot]="state.structure()" [auSlotProps]="{state, api, directives}" /> `,
|
|
5122
|
+
}]
|
|
5123
|
+
}], () => [], null); })();
|
|
5124
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CarouselComponent, { className: "CarouselComponent", filePath: "components/carousel/carousel.component.ts", lineNumber: 138 }); })();
|
|
5125
|
+
|
|
5126
|
+
class ToasterService extends ToasterService$1 {
|
|
5127
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵToasterService_BaseFactory; return function ToasterService_Factory(__ngFactoryType__) { return (ɵToasterService_BaseFactory || (ɵToasterService_BaseFactory = i0.ɵɵgetInheritedFactory(ToasterService)))(__ngFactoryType__ || ToasterService); }; })(); }
|
|
5128
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ToasterService, factory: ToasterService.ɵfac, providedIn: 'root' }); }
|
|
5129
|
+
}
|
|
5130
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToasterService, [{
|
|
5131
|
+
type: Injectable,
|
|
5132
|
+
args: [{
|
|
5133
|
+
providedIn: 'root',
|
|
5134
|
+
}]
|
|
5135
|
+
}], null, null); })();
|
|
5136
|
+
|
|
5137
|
+
const _c0 = ["auToaster", ""];
|
|
5138
|
+
const _c1 = (a0, a1) => [a0, a1];
|
|
5139
|
+
const _forTrack0 = ($index, $item) => $item.id;
|
|
5140
|
+
function ToasterComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
5141
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
5142
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "button", 2);
|
|
5143
|
+
i0.ɵɵlistener("click", function ToasterComponent_Conditional_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toasterService.closeAll()); });
|
|
5144
|
+
i0.ɵɵtext(2);
|
|
5145
|
+
i0.ɵɵelementEnd()();
|
|
5146
|
+
} if (rf & 2) {
|
|
5147
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
5148
|
+
i0.ɵɵadvance(2);
|
|
5149
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.toasterService.options().closeAllLabel || "Close all", " ");
|
|
5150
|
+
} }
|
|
5151
|
+
function ToasterComponent_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
5152
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
5153
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "au-component", 3);
|
|
5154
|
+
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
|
+
i0.ɵɵelementEnd()();
|
|
5156
|
+
} if (rf & 2) {
|
|
5157
|
+
let tmp_11_0;
|
|
5158
|
+
const toast_r4 = ctx.$implicit;
|
|
5159
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
5160
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(9, _c1, ctx_r1.toasterService.eventsDirective, toast_r4.id));
|
|
5161
|
+
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);
|
|
5163
|
+
} }
|
|
5164
|
+
class ToasterComponent {
|
|
5165
|
+
constructor() {
|
|
5166
|
+
this.toasterService = inject(ToasterService);
|
|
5167
|
+
this.auDismissible = input(this.toasterService.options().dismissible);
|
|
5168
|
+
this.auDuration = input(this.toasterService.options().duration);
|
|
5169
|
+
this.auPosition = input(this.toasterService.options().position);
|
|
5170
|
+
this.auLimit = input(this.toasterService.options().limit);
|
|
5171
|
+
this.auPauseOnHover = input(this.toasterService.options().pauseOnHover);
|
|
5172
|
+
this.auCloseAll = input(this.toasterService.options().closeAll);
|
|
5173
|
+
this.auCloseAllLabel = input(this.toasterService.options().closeAllLabel);
|
|
5174
|
+
this.positionClass = computed(() => export_toastPositions[this.toasterService.options().position]);
|
|
5175
|
+
effect(() => {
|
|
5176
|
+
this.toasterService.options.update((options) => ({
|
|
5177
|
+
...options,
|
|
5178
|
+
dismissible: this.auDismissible(),
|
|
5179
|
+
duration: this.auDuration(),
|
|
5180
|
+
position: this.auPosition(),
|
|
5181
|
+
limit: this.auLimit(),
|
|
5182
|
+
pauseOnHover: this.auPauseOnHover(),
|
|
5183
|
+
closeAll: this.auCloseAll(),
|
|
5184
|
+
closeAllLabel: this.auCloseAllLabel(),
|
|
5185
|
+
}));
|
|
5186
|
+
});
|
|
5187
|
+
}
|
|
5188
|
+
handleHidden(toast) {
|
|
5189
|
+
this.toasterService.removeToast(toast.id);
|
|
5190
|
+
toast.props.onHidden?.();
|
|
5191
|
+
}
|
|
5192
|
+
static { this.ɵfac = function ToasterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToasterComponent)(); }; }
|
|
5193
|
+
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
|
+
i0.ɵɵelementStart(0, "div");
|
|
5195
|
+
i0.ɵɵtemplate(1, ToasterComponent_Conditional_1_Template, 3, 1, "div", 0);
|
|
5196
|
+
i0.ɵɵrepeaterCreate(2, ToasterComponent_For_3_Template, 2, 12, "div", 1, _forTrack0);
|
|
5197
|
+
i0.ɵɵelementEnd();
|
|
5198
|
+
} if (rf & 2) {
|
|
5199
|
+
i0.ɵɵclassMap("au-toaster-container toast-container " + ctx.positionClass());
|
|
5200
|
+
i0.ɵɵadvance();
|
|
5201
|
+
i0.ɵɵconditional(ctx.toasterService.options().closeAll && ctx.toasterService.toasts().length > 1 ? 1 : -1);
|
|
5202
|
+
i0.ɵɵadvance();
|
|
5203
|
+
i0.ɵɵrepeater(ctx.toasterService.toasts());
|
|
5204
|
+
} }, dependencies: [UseDirective, ToastComponent], encapsulation: 2, changeDetection: 0 }); }
|
|
5205
|
+
}
|
|
5206
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToasterComponent, [{
|
|
5207
|
+
type: Component,
|
|
5208
|
+
args: [{
|
|
5209
|
+
selector: '[auToaster]',
|
|
5210
|
+
imports: [UseDirective, ToastComponent],
|
|
5211
|
+
host: {
|
|
5212
|
+
class: 'au-toaster',
|
|
5213
|
+
'aria-live': 'polite',
|
|
5214
|
+
'aria-atomic': 'true',
|
|
5215
|
+
},
|
|
5216
|
+
template: `
|
|
5217
|
+
<div [class]="'au-toaster-container toast-container ' + positionClass()">
|
|
5218
|
+
@if (toasterService.options().closeAll && toasterService.toasts().length > 1) {
|
|
5219
|
+
<div class="d-flex position-relative align-items-end pb-2">
|
|
5220
|
+
<button class="au-toaster-closeAll btn btn-secondary me-0 ms-auto pe-auto" (click)="toasterService.closeAll()">
|
|
5221
|
+
{{ toasterService.options().closeAllLabel || 'Close all' }}
|
|
5222
|
+
</button>
|
|
5223
|
+
</div>
|
|
5224
|
+
}
|
|
5225
|
+
@for (toast of toasterService.toasts(); track toast.id) {
|
|
5226
|
+
<div [auUse]="[toasterService.eventsDirective, toast.id]">
|
|
5227
|
+
<au-component
|
|
5228
|
+
auToast
|
|
5229
|
+
[auDismissible]="toast.props.dismissible ?? toasterService.options().dismissible"
|
|
5230
|
+
[auAnimated]="toast.props.animated"
|
|
5231
|
+
[auAutoHide]="false"
|
|
5232
|
+
[auClassName]="toast.props.className"
|
|
5233
|
+
[auAriaCloseButtonLabel]="toast.props.ariaCloseButtonLabel"
|
|
5234
|
+
[auStructure]="toast.props.structure"
|
|
5235
|
+
(auHidden)="handleHidden(toast)"
|
|
5236
|
+
(auVisibleChange)="(toast.props.onVisibleChange)"
|
|
5237
|
+
[auChildren]="toast.props.children"
|
|
5238
|
+
[auHeader]="toast.props.header"
|
|
5239
|
+
/>
|
|
5240
|
+
</div>
|
|
5241
|
+
}
|
|
5242
|
+
</div>
|
|
5243
|
+
`,
|
|
5244
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5245
|
+
}]
|
|
5246
|
+
}], () => [], null); })();
|
|
5247
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToasterComponent, { className: "ToasterComponent", filePath: "components/toast/toaster.component.ts", lineNumber: 45 }); })();
|
|
5248
|
+
|
|
4714
5249
|
/* istanbul ignore next */
|
|
4715
5250
|
const components = [
|
|
4716
5251
|
SlotDirective,
|
|
@@ -4756,6 +5291,7 @@ const components = [
|
|
|
4756
5291
|
ToastStructureDirective,
|
|
4757
5292
|
ToastBodyDirective,
|
|
4758
5293
|
ToastHeaderDirective,
|
|
5294
|
+
ToasterComponent,
|
|
4759
5295
|
CollapseDirective,
|
|
4760
5296
|
CollapseTriggerDirective,
|
|
4761
5297
|
TreeComponent,
|
|
@@ -4763,6 +5299,10 @@ const components = [
|
|
|
4763
5299
|
TreeItemToggleDirective,
|
|
4764
5300
|
TreeItemContentDirective,
|
|
4765
5301
|
TreeItemDirective,
|
|
5302
|
+
CarouselComponent,
|
|
5303
|
+
CarouselSlideDirective,
|
|
5304
|
+
CarouselStructureDirective,
|
|
5305
|
+
CarouselNavigationDirective,
|
|
4766
5306
|
];
|
|
4767
5307
|
class AgnosUIAngularModule {
|
|
4768
5308
|
static { this.ɵfac = function AgnosUIAngularModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AgnosUIAngularModule)(); }; }
|
|
@@ -4820,13 +5360,18 @@ class AgnosUIAngularModule {
|
|
|
4820
5360
|
ToastStructureDirective,
|
|
4821
5361
|
ToastBodyDirective,
|
|
4822
5362
|
ToastHeaderDirective,
|
|
5363
|
+
ToasterComponent,
|
|
4823
5364
|
CollapseDirective,
|
|
4824
5365
|
CollapseTriggerDirective,
|
|
4825
5366
|
TreeComponent,
|
|
4826
5367
|
TreeStructureDirective,
|
|
4827
5368
|
TreeItemToggleDirective,
|
|
4828
5369
|
TreeItemContentDirective,
|
|
4829
|
-
TreeItemDirective
|
|
5370
|
+
TreeItemDirective,
|
|
5371
|
+
CarouselComponent,
|
|
5372
|
+
CarouselSlideDirective,
|
|
5373
|
+
CarouselStructureDirective,
|
|
5374
|
+
CarouselNavigationDirective], exports: [SlotDirective,
|
|
4830
5375
|
SelectComponent,
|
|
4831
5376
|
SelectBadgeLabelDirective,
|
|
4832
5377
|
SelectItemLabelDirective,
|
|
@@ -4869,13 +5414,18 @@ class AgnosUIAngularModule {
|
|
|
4869
5414
|
ToastStructureDirective,
|
|
4870
5415
|
ToastBodyDirective,
|
|
4871
5416
|
ToastHeaderDirective,
|
|
5417
|
+
ToasterComponent,
|
|
4872
5418
|
CollapseDirective,
|
|
4873
5419
|
CollapseTriggerDirective,
|
|
4874
5420
|
TreeComponent,
|
|
4875
5421
|
TreeStructureDirective,
|
|
4876
5422
|
TreeItemToggleDirective,
|
|
4877
5423
|
TreeItemContentDirective,
|
|
4878
|
-
TreeItemDirective
|
|
5424
|
+
TreeItemDirective,
|
|
5425
|
+
CarouselComponent,
|
|
5426
|
+
CarouselSlideDirective,
|
|
5427
|
+
CarouselStructureDirective,
|
|
5428
|
+
CarouselNavigationDirective] }); })();
|
|
4879
5429
|
|
|
4880
5430
|
/**
|
|
4881
5431
|
* Service to handle the opening and management of modal components.
|
|
@@ -4939,5 +5489,5 @@ class ModalService {
|
|
|
4939
5489
|
* Generated bundle index. Do not edit.
|
|
4940
5490
|
*/
|
|
4941
5491
|
|
|
4942
|
-
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertStructureDirective, 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, TreeComponent, TreeItemContentDirective, TreeItemDirective, TreeItemToggleDirective, TreeStructureDirective, accordionItemDefaultSlotStructure, alertDefaultSlotStructure, callWidgetFactory, export_createAccordion as createAccordion, export_createAccordionItem as createAccordionItem, export_createAlert as createAlert, 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_factoryCreateAccordion as factoryCreateAccordion, export_getAccordionDefaultConfig as getAccordionDefaultConfig, export_getAlertDefaultConfig as getAlertDefaultConfig, 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, treeDefaultItemToggle, treeDefaultSlotItem, treeDefaultSlotItemContent, treeDefaultSlotStructure, widgetsConfigInjectionToken };
|
|
5492
|
+
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 };
|
|
4943
5493
|
//# sourceMappingURL=agnos-ui-angular-bootstrap.mjs.map
|