@agnos-ui/angular-bootstrap 0.5.0 → 0.6.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agnos-ui-angular.module.d.ts +2 -1
- package/components/modal/modal.service.d.ts +9 -5
- package/components/select/select.gen.d.ts +6 -0
- package/components/tree/index.d.ts +2 -0
- package/components/tree/tree.component.d.ts +145 -0
- package/components/tree/tree.gen.d.ts +216 -0
- package/config.gen.d.ts +5 -0
- package/esm2022/agnos-ui-angular.module.mjs +19 -3
- package/esm2022/components/modal/modal.service.mjs +10 -2
- package/esm2022/components/select/select.gen.mjs +1 -1
- package/esm2022/components/tree/index.mjs +3 -0
- package/esm2022/components/tree/tree.component.mjs +445 -0
- package/esm2022/components/tree/tree.gen.mjs +15 -0
- package/esm2022/config.gen.mjs +1 -1
- package/esm2022/index.mjs +3 -1
- package/fesm2022/agnos-ui-angular-bootstrap.mjs +603 -126
- package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
- package/index.d.ts +3 -0
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { widgetsConfigFactory, SlotDirective, UseDirective, ComponentTemplate, BaseWidgetDirective, auBooleanAttribute, UseMultiDirective, auNumberAttribute, useDirectiveForHost } from '@agnos-ui/angular-headless';
|
|
1
|
+
import { widgetsConfigFactory, SlotDirective, UseDirective, ComponentTemplate, BaseWidgetDirective, auBooleanAttribute, UseMultiDirective, auNumberAttribute, useDirectiveForHost, callWidgetFactory as callWidgetFactory$1 } from '@agnos-ui/angular-headless';
|
|
2
2
|
export * from '@agnos-ui/angular-headless';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, inject, TemplateRef, Directive, Component, ChangeDetectionStrategy, ViewChild, EventEmitter, Input, ContentChild, Output, ViewEncapsulation, forwardRef, NgModule, Injector, ApplicationRef, createComponent, EnvironmentInjector, Injectable } from '@angular/core';
|
|
@@ -14,6 +14,7 @@ import { getSliderDefaultConfig, createSlider } from '@agnos-ui/core-bootstrap/c
|
|
|
14
14
|
import { getProgressbarDefaultConfig, createProgressbar } from '@agnos-ui/core-bootstrap/components/progressbar';
|
|
15
15
|
import { getToastDefaultConfig, createToast } from '@agnos-ui/core-bootstrap/components/toast';
|
|
16
16
|
import { createCollapse, getCollapseDefaultConfig } from '@agnos-ui/core-bootstrap/components/collapse';
|
|
17
|
+
import { getTreeDefaultConfig, createTree } from '@agnos-ui/core-bootstrap/components/tree';
|
|
17
18
|
export * from '@agnos-ui/core-bootstrap/services/transitions';
|
|
18
19
|
export * from '@agnos-ui/core-bootstrap/types';
|
|
19
20
|
|
|
@@ -58,9 +59,9 @@ const widgetFactories = widgetsConfigFactory(new InjectionToken('bootstrapWidget
|
|
|
58
59
|
*/
|
|
59
60
|
const { widgetsConfigInjectionToken, provideWidgetsConfig, injectWidgetConfig, injectWidgetsConfig, callWidgetFactory } = widgetFactories;
|
|
60
61
|
|
|
61
|
-
const _c0$
|
|
62
|
-
const _c1$
|
|
63
|
-
const _c2$
|
|
62
|
+
const _c0$9 = ["header"];
|
|
63
|
+
const _c1$9 = ["structure"];
|
|
64
|
+
const _c2$9 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
64
65
|
function ModalDefaultSlotsComponent_ng_template_0_ng_template_1_Template(rf, ctx) { }
|
|
65
66
|
function ModalDefaultSlotsComponent_ng_template_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
66
67
|
i0.ɵɵelement(0, "button", 6);
|
|
@@ -78,7 +79,7 @@ function ModalDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
78
79
|
const api_r3 = ctx.api;
|
|
79
80
|
const directives_r1 = ctx.directives;
|
|
80
81
|
i0.ɵɵadvance();
|
|
81
|
-
i0.ɵɵproperty("auSlot", state_r2.title())("auSlotProps", i0.ɵɵpureFunction3(3, _c2$
|
|
82
|
+
i0.ɵɵproperty("auSlot", state_r2.title())("auSlotProps", i0.ɵɵpureFunction3(3, _c2$9, state_r2, api_r3, directives_r1));
|
|
82
83
|
i0.ɵɵadvance();
|
|
83
84
|
i0.ɵɵconditional(state_r2.closeButton() ? 2 : -1);
|
|
84
85
|
} }
|
|
@@ -93,7 +94,7 @@ function ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template(rf, ctx
|
|
|
93
94
|
const api_r6 = ctx_r3.api;
|
|
94
95
|
const directives_r7 = ctx_r3.directives;
|
|
95
96
|
i0.ɵɵadvance();
|
|
96
|
-
i0.ɵɵproperty("auSlot", state_r5.header())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$
|
|
97
|
+
i0.ɵɵproperty("auSlot", state_r5.header())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$9, state_r5, api_r6, directives_r7));
|
|
97
98
|
} }
|
|
98
99
|
function ModalDefaultSlotsComponent_ng_template_2_ng_template_2_Template(rf, ctx) { }
|
|
99
100
|
function ModalDefaultSlotsComponent_ng_template_2_Conditional_3_ng_template_1_Template(rf, ctx) { }
|
|
@@ -107,7 +108,7 @@ function ModalDefaultSlotsComponent_ng_template_2_Conditional_3_Template(rf, ctx
|
|
|
107
108
|
const api_r6 = ctx_r3.api;
|
|
108
109
|
const directives_r7 = ctx_r3.directives;
|
|
109
110
|
i0.ɵɵadvance();
|
|
110
|
-
i0.ɵɵproperty("auSlot", state_r5.footer())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$
|
|
111
|
+
i0.ɵɵproperty("auSlot", state_r5.footer())("auSlotProps", i0.ɵɵpureFunction3(2, _c2$9, state_r5, api_r6, directives_r7));
|
|
111
112
|
} }
|
|
112
113
|
function ModalDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
113
114
|
i0.ɵɵtemplate(0, ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template, 2, 6, "div", 7);
|
|
@@ -121,14 +122,14 @@ function ModalDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1
|
|
|
121
122
|
const directives_r7 = ctx.directives;
|
|
122
123
|
i0.ɵɵconditional(state_r5.title() ? 0 : -1);
|
|
123
124
|
i0.ɵɵadvance(2);
|
|
124
|
-
i0.ɵɵproperty("auSlot", state_r5.children())("auSlotProps", i0.ɵɵpureFunction3(4, _c2$
|
|
125
|
+
i0.ɵɵproperty("auSlot", state_r5.children())("auSlotProps", i0.ɵɵpureFunction3(4, _c2$9, state_r5, api_r6, directives_r7));
|
|
125
126
|
i0.ɵɵadvance();
|
|
126
127
|
i0.ɵɵconditional(state_r5.footer() ? 3 : -1);
|
|
127
128
|
} }
|
|
128
|
-
const _c3$
|
|
129
|
-
const _c4$
|
|
130
|
-
const _c5$
|
|
131
|
-
const _c6$
|
|
129
|
+
const _c3$8 = ["content"];
|
|
130
|
+
const _c4$7 = ["auModal", ""];
|
|
131
|
+
const _c5$5 = ["*"];
|
|
132
|
+
const _c6$3 = (a0, a1) => [a0, a1];
|
|
132
133
|
function ModalComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
133
134
|
i0.ɵɵprojection(0);
|
|
134
135
|
} }
|
|
@@ -136,7 +137,7 @@ function ModalComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
136
137
|
i0.ɵɵelement(0, "div", 1);
|
|
137
138
|
} if (rf & 2) {
|
|
138
139
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
139
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(1, _c6$
|
|
140
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(1, _c6$3, ctx_r0.directives.backdropPortalDirective, ctx_r0.directives.backdropDirective));
|
|
140
141
|
} }
|
|
141
142
|
function ModalComponent_Conditional_3_ng_template_3_Template(rf, ctx) { }
|
|
142
143
|
function ModalComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -145,11 +146,11 @@ function ModalComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
145
146
|
i0.ɵɵelementEnd()()();
|
|
146
147
|
} if (rf & 2) {
|
|
147
148
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
148
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(6, _c6$
|
|
149
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(6, _c6$3, ctx_r0.directives.modalPortalDirective, ctx_r0.directives.modalDirective));
|
|
149
150
|
i0.ɵɵadvance();
|
|
150
151
|
i0.ɵɵclassMapInterpolate1("modal-dialog ", ctx_r0.state.fullscreen() ? "modal-fullscreen" : "", "");
|
|
151
152
|
i0.ɵɵadvance(2);
|
|
152
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$
|
|
153
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$9, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
|
|
153
154
|
} }
|
|
154
155
|
/**
|
|
155
156
|
* Directive to provide the slot structure for the modal widget.
|
|
@@ -247,8 +248,8 @@ class ModalFooterDirective {
|
|
|
247
248
|
class ModalDefaultSlotsComponent {
|
|
248
249
|
static { this.ɵfac = function ModalDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalDefaultSlotsComponent)(); }; }
|
|
249
250
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModalDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function ModalDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
250
|
-
i0.ɵɵviewQuery(_c0$
|
|
251
|
-
i0.ɵɵviewQuery(_c1$
|
|
251
|
+
i0.ɵɵviewQuery(_c0$9, 7);
|
|
252
|
+
i0.ɵɵviewQuery(_c1$9, 7);
|
|
252
253
|
} if (rf & 2) {
|
|
253
254
|
let _t;
|
|
254
255
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.header = _t.first);
|
|
@@ -389,11 +390,11 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
389
390
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotDefaultFromContent = _t.first);
|
|
390
391
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotFooterFromContent = _t.first);
|
|
391
392
|
} }, viewQuery: function ModalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
392
|
-
i0.ɵɵviewQuery(_c3$
|
|
393
|
+
i0.ɵɵviewQuery(_c3$8, 7);
|
|
393
394
|
} if (rf & 2) {
|
|
394
395
|
let _t;
|
|
395
396
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotChildren = _t.first);
|
|
396
|
-
} }, inputs: { animated: [2, "auAnimated", "animated", auBooleanAttribute], backdropTransition: [0, "auBackdropTransition", "backdropTransition"], modalTransition: [0, "auModalTransition", "modalTransition"], visible: [2, "auVisible", "visible", auBooleanAttribute], backdrop: [2, "auBackdrop", "backdrop", auBooleanAttribute], closeOnOutsideClick: [2, "auCloseOnOutsideClick", "closeOnOutsideClick", auBooleanAttribute], container: [0, "auContainer", "container"], ariaCloseButtonLabel: [0, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], backdropClass: [0, "auBackdropClass", "backdropClass"], closeButton: [2, "auCloseButton", "closeButton", auBooleanAttribute], className: [0, "auClassName", "className"], fullscreen: [2, "auFullscreen", "fullscreen", auBooleanAttribute], structure: [0, "auStructure", "structure"], header: [0, "auHeader", "header"], title: [0, "auTitle", "title"], children: [0, "auChildren", "children"], footer: [0, "auFooter", "footer"], contentData: [0, "auContentData", "contentData"] }, outputs: { visibleChange: "auVisibleChange", beforeClose: "auBeforeClose", hidden: "auHidden", shown: "auShown" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c4$
|
|
397
|
+
} }, inputs: { animated: [2, "auAnimated", "animated", auBooleanAttribute], backdropTransition: [0, "auBackdropTransition", "backdropTransition"], modalTransition: [0, "auModalTransition", "modalTransition"], visible: [2, "auVisible", "visible", auBooleanAttribute], backdrop: [2, "auBackdrop", "backdrop", auBooleanAttribute], closeOnOutsideClick: [2, "auCloseOnOutsideClick", "closeOnOutsideClick", auBooleanAttribute], container: [0, "auContainer", "container"], ariaCloseButtonLabel: [0, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], backdropClass: [0, "auBackdropClass", "backdropClass"], closeButton: [2, "auCloseButton", "closeButton", auBooleanAttribute], className: [0, "auClassName", "className"], fullscreen: [2, "auFullscreen", "fullscreen", auBooleanAttribute], structure: [0, "auStructure", "structure"], header: [0, "auHeader", "header"], title: [0, "auTitle", "title"], children: [0, "auChildren", "children"], footer: [0, "auFooter", "footer"], contentData: [0, "auContentData", "contentData"] }, outputs: { visibleChange: "auVisibleChange", beforeClose: "auBeforeClose", hidden: "auHidden", shown: "auShown" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c4$7, ngContentSelectors: _c5$5, 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) {
|
|
397
398
|
i0.ɵɵprojectionDef();
|
|
398
399
|
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);
|
|
399
400
|
} if (rf & 2) {
|
|
@@ -525,12 +526,12 @@ const export_getPaginationDefaultConfig = getPaginationDefaultConfig;
|
|
|
525
526
|
*/
|
|
526
527
|
const export_createPagination = createPagination;
|
|
527
528
|
|
|
528
|
-
const _c0$
|
|
529
|
-
const _c1$
|
|
530
|
-
const _c2$
|
|
531
|
-
const _c3$
|
|
532
|
-
const _c4$
|
|
533
|
-
const _c5$
|
|
529
|
+
const _c0$8 = ["pages"];
|
|
530
|
+
const _c1$8 = ["structure"];
|
|
531
|
+
const _c2$8 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
532
|
+
const _c3$7 = a0 => ({ page: a0 });
|
|
533
|
+
const _c4$6 = (a0, a1) => [a0, a1];
|
|
534
|
+
const _c5$4 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, displayedPage: a3 });
|
|
534
535
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_ng_template_1_Template(rf, ctx) { }
|
|
535
536
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
536
537
|
i0.ɵɵelementStart(0, "div", 7);
|
|
@@ -545,7 +546,7 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Templ
|
|
|
545
546
|
const api_r3 = ctx_r0.api;
|
|
546
547
|
const directives_r4 = ctx_r0.directives;
|
|
547
548
|
i0.ɵɵadvance();
|
|
548
|
-
i0.ɵɵproperty("auSlot", state_r2.ellipsisLabel())("auSlotProps", i0.ɵɵpureFunction3(3, _c2$
|
|
549
|
+
i0.ɵɵproperty("auSlot", state_r2.ellipsisLabel())("auSlotProps", i0.ɵɵpureFunction3(3, _c2$8, state_r2, api_r3, directives_r4));
|
|
549
550
|
i0.ɵɵadvance(2);
|
|
550
551
|
i0.ɵɵtextInterpolate(state_r2.ariaEllipsisLabel());
|
|
551
552
|
} }
|
|
@@ -569,9 +570,9 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Templ
|
|
|
569
570
|
const state_r2 = ctx_r0.state;
|
|
570
571
|
const api_r3 = ctx_r0.api;
|
|
571
572
|
const directives_r4 = ctx_r0.directives;
|
|
572
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4$
|
|
573
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4$6, directives_r4.pageLink, i0.ɵɵpureFunction1(4, _c3$7, page_r5)));
|
|
573
574
|
i0.ɵɵadvance();
|
|
574
|
-
i0.ɵɵproperty("auSlot", state_r2.numberLabel())("auSlotProps", i0.ɵɵpureFunction4(9, _c5$
|
|
575
|
+
i0.ɵɵproperty("auSlot", state_r2.numberLabel())("auSlotProps", i0.ɵɵpureFunction4(9, _c5$4, state_r2, api_r3, directives_r4, page_r5));
|
|
575
576
|
i0.ɵɵadvance();
|
|
576
577
|
i0.ɵɵconditional(state_r2.page() === page_r5 ? 2 : -1);
|
|
577
578
|
} }
|
|
@@ -606,7 +607,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template(rf
|
|
|
606
607
|
i0.ɵɵadvance();
|
|
607
608
|
i0.ɵɵproperty("auUse", directives_r9.pageFirst);
|
|
608
609
|
i0.ɵɵadvance(2);
|
|
609
|
-
i0.ɵɵproperty("auSlot", state_r7.firstPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$
|
|
610
|
+
i0.ɵɵproperty("auSlot", state_r7.firstPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$8, state_r7, api_r8, directives_r9));
|
|
610
611
|
} }
|
|
611
612
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_ng_template_3_Template(rf, ctx) { }
|
|
612
613
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -622,7 +623,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template(rf
|
|
|
622
623
|
i0.ɵɵadvance();
|
|
623
624
|
i0.ɵɵproperty("auUse", directives_r9.pagePrev);
|
|
624
625
|
i0.ɵɵadvance(2);
|
|
625
|
-
i0.ɵɵproperty("auSlot", state_r7.previousPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$
|
|
626
|
+
i0.ɵɵproperty("auSlot", state_r7.previousPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$8, state_r7, api_r8, directives_r9));
|
|
626
627
|
} }
|
|
627
628
|
function PaginationDefaultSlotsComponent_ng_template_2_ng_template_3_Template(rf, ctx) { }
|
|
628
629
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_ng_template_3_Template(rf, ctx) { }
|
|
@@ -639,7 +640,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_Template(rf
|
|
|
639
640
|
i0.ɵɵadvance();
|
|
640
641
|
i0.ɵɵproperty("auUse", directives_r9.pageNext);
|
|
641
642
|
i0.ɵɵadvance(2);
|
|
642
|
-
i0.ɵɵproperty("auSlot", state_r7.nextPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$
|
|
643
|
+
i0.ɵɵproperty("auSlot", state_r7.nextPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$8, state_r7, api_r8, directives_r9));
|
|
643
644
|
} }
|
|
644
645
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_ng_template_3_Template(rf, ctx) { }
|
|
645
646
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -655,7 +656,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf
|
|
|
655
656
|
i0.ɵɵadvance();
|
|
656
657
|
i0.ɵɵproperty("auUse", directives_r9.pageLast);
|
|
657
658
|
i0.ɵɵadvance(2);
|
|
658
|
-
i0.ɵɵproperty("auSlot", state_r7.lastPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$
|
|
659
|
+
i0.ɵɵproperty("auSlot", state_r7.lastPageLabel())("auSlotProps", i0.ɵɵpureFunction3(5, _c2$8, state_r7, api_r8, directives_r9));
|
|
659
660
|
} }
|
|
660
661
|
function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
661
662
|
i0.ɵɵelementStart(0, "ul");
|
|
@@ -674,7 +675,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (r
|
|
|
674
675
|
i0.ɵɵadvance();
|
|
675
676
|
i0.ɵɵconditional(state_r7.directionLinks() ? 2 : -1);
|
|
676
677
|
i0.ɵɵadvance();
|
|
677
|
-
i0.ɵɵproperty("auSlot", state_r7.pagesDisplay())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$
|
|
678
|
+
i0.ɵɵproperty("auSlot", state_r7.pagesDisplay())("auSlotProps", i0.ɵɵpureFunction3(9, _c2$8, state_r7, api_r8, directives_r9));
|
|
678
679
|
i0.ɵɵadvance();
|
|
679
680
|
i0.ɵɵconditional(state_r7.directionLinks() ? 4 : -1);
|
|
680
681
|
i0.ɵɵadvance();
|
|
@@ -682,7 +683,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (r
|
|
|
682
683
|
i0.ɵɵadvance(2);
|
|
683
684
|
i0.ɵɵtextInterpolate(state_r7.ariaLiveLabelText());
|
|
684
685
|
} }
|
|
685
|
-
const _c6$
|
|
686
|
+
const _c6$2 = ["auPagination", ""];
|
|
686
687
|
function PaginationComponent_ng_template_0_Template(rf, ctx) { }
|
|
687
688
|
/**
|
|
688
689
|
* A directive to use to give the 'ellipsis' link template to the pagination component
|
|
@@ -831,8 +832,8 @@ class PaginationStructureDirective {
|
|
|
831
832
|
class PaginationDefaultSlotsComponent {
|
|
832
833
|
static { this.ɵfac = function PaginationDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaginationDefaultSlotsComponent)(); }; }
|
|
833
834
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginationDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function PaginationDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
834
|
-
i0.ɵɵviewQuery(_c0$
|
|
835
|
-
i0.ɵɵviewQuery(_c1$
|
|
835
|
+
i0.ɵɵviewQuery(_c0$8, 7);
|
|
836
|
+
i0.ɵɵviewQuery(_c1$8, 7);
|
|
836
837
|
} if (rf & 2) {
|
|
837
838
|
let _t;
|
|
838
839
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pages = _t.first);
|
|
@@ -990,10 +991,10 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
990
991
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
991
992
|
} }, hostVars: 1, hostBindings: function PaginationComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
992
993
|
i0.ɵɵattribute("aria-label", ctx.state.ariaLabel());
|
|
993
|
-
} }, inputs: { ariaPageLabel: [0, "auAriaPageLabel", "ariaPageLabel"], ariaLiveLabel: [0, "auAriaLiveLabel", "ariaLiveLabel"], ariaLabel: [0, "auAriaLabel", "ariaLabel"], activeLabel: [0, "auActiveLabel", "activeLabel"], ariaFirstLabel: [0, "auAriaFirstLabel", "ariaFirstLabel"], ariaPreviousLabel: [0, "auAriaPreviousLabel", "ariaPreviousLabel"], ariaNextLabel: [0, "auAriaNextLabel", "ariaNextLabel"], ariaLastLabel: [0, "auAriaLastLabel", "ariaLastLabel"], ariaEllipsisLabel: [0, "auAriaEllipsisLabel", "ariaEllipsisLabel"], pageLink: [0, "auPageLink", "pageLink"], ellipsisLabel: [0, "auEllipsisLabel", "ellipsisLabel"], firstPageLabel: [0, "auFirstPageLabel", "firstPageLabel"], previousPageLabel: [0, "auPreviousPageLabel", "previousPageLabel"], nextPageLabel: [0, "auNextPageLabel", "nextPageLabel"], lastPageLabel: [0, "auLastPageLabel", "lastPageLabel"], pagesDisplay: [0, "auPagesDisplay", "pagesDisplay"], numberLabel: [0, "auNumberLabel", "numberLabel"], structure: [0, "auStructure", "structure"], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], boundaryLinks: [2, "auBoundaryLinks", "boundaryLinks", auBooleanAttribute], directionLinks: [2, "auDirectionLinks", "directionLinks", auBooleanAttribute], collectionSize: [2, "auCollectionSize", "collectionSize", auNumberAttribute], page: [2, "auPage", "page", auNumberAttribute], pageSize: [2, "auPageSize", "pageSize", auNumberAttribute], size: [0, "auSize", "size"], pagesFactory: [0, "auPagesFactory", "pagesFactory"], className: [0, "auClassName", "className"] }, outputs: { pageChange: "auPageChange" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c6$
|
|
994
|
+
} }, inputs: { ariaPageLabel: [0, "auAriaPageLabel", "ariaPageLabel"], ariaLiveLabel: [0, "auAriaLiveLabel", "ariaLiveLabel"], ariaLabel: [0, "auAriaLabel", "ariaLabel"], activeLabel: [0, "auActiveLabel", "activeLabel"], ariaFirstLabel: [0, "auAriaFirstLabel", "ariaFirstLabel"], ariaPreviousLabel: [0, "auAriaPreviousLabel", "ariaPreviousLabel"], ariaNextLabel: [0, "auAriaNextLabel", "ariaNextLabel"], ariaLastLabel: [0, "auAriaLastLabel", "ariaLastLabel"], ariaEllipsisLabel: [0, "auAriaEllipsisLabel", "ariaEllipsisLabel"], pageLink: [0, "auPageLink", "pageLink"], ellipsisLabel: [0, "auEllipsisLabel", "ellipsisLabel"], firstPageLabel: [0, "auFirstPageLabel", "firstPageLabel"], previousPageLabel: [0, "auPreviousPageLabel", "previousPageLabel"], nextPageLabel: [0, "auNextPageLabel", "nextPageLabel"], lastPageLabel: [0, "auLastPageLabel", "lastPageLabel"], pagesDisplay: [0, "auPagesDisplay", "pagesDisplay"], numberLabel: [0, "auNumberLabel", "numberLabel"], structure: [0, "auStructure", "structure"], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], boundaryLinks: [2, "auBoundaryLinks", "boundaryLinks", auBooleanAttribute], directionLinks: [2, "auDirectionLinks", "directionLinks", auBooleanAttribute], collectionSize: [2, "auCollectionSize", "collectionSize", auNumberAttribute], page: [2, "auPage", "page", auNumberAttribute], pageSize: [2, "auPageSize", "pageSize", auNumberAttribute], size: [0, "auSize", "size"], pagesFactory: [0, "auPagesFactory", "pagesFactory"], className: [0, "auClassName", "className"] }, outputs: { pageChange: "auPageChange" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c6$2, decls: 1, vars: 6, consts: [[3, "auSlotProps", "auSlot"]], template: function PaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
994
995
|
i0.ɵɵtemplate(0, PaginationComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
995
996
|
} if (rf & 2) {
|
|
996
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(2, _c2$
|
|
997
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(2, _c2$8, ctx.state, ctx.api, ctx.directives))("auSlot", ctx.state.structure());
|
|
997
998
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
998
999
|
}
|
|
999
1000
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
@@ -1132,9 +1133,9 @@ const export_getRatingDefaultConfig = getRatingDefaultConfig;
|
|
|
1132
1133
|
*/
|
|
1133
1134
|
const export_createRating = createRating;
|
|
1134
1135
|
|
|
1135
|
-
const _c0$
|
|
1136
|
-
const _c1$
|
|
1137
|
-
const _c2$
|
|
1136
|
+
const _c0$7 = ["auRating", ""];
|
|
1137
|
+
const _c1$7 = a0 => ({ index: a0 });
|
|
1138
|
+
const _c2$7 = (a0, a1) => [a0, a1];
|
|
1138
1139
|
function RatingComponent_For_1_ng_template_3_Template(rf, ctx) { }
|
|
1139
1140
|
function RatingComponent_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
1140
1141
|
i0.ɵɵelementStart(0, "span", 0);
|
|
@@ -1149,7 +1150,7 @@ function RatingComponent_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1149
1150
|
i0.ɵɵadvance();
|
|
1150
1151
|
i0.ɵɵtextInterpolate1("(", ɵ$index_1_r1 < ctx_r1.state.visibleRating() ? "*" : " ", ")");
|
|
1151
1152
|
i0.ɵɵadvance();
|
|
1152
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c2$
|
|
1153
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c2$7, ctx_r1.directives.starDirective, i0.ɵɵpureFunction1(4, _c1$7, ɵ$index_1_r1)));
|
|
1153
1154
|
i0.ɵɵadvance();
|
|
1154
1155
|
i0.ɵɵproperty("auSlot", ctx_r1.state.star())("auSlotProps", ctx_r1.state.stars()[ɵ$index_1_r1]);
|
|
1155
1156
|
} }
|
|
@@ -1255,7 +1256,7 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1255
1256
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStarFromContent = _t.first);
|
|
1256
1257
|
} }, hostAttrs: [1, "d-inline-flex"], hostBindings: function RatingComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1257
1258
|
i0.ɵɵlistener("blur", function RatingComponent_blur_HostBindingHandler() { return ctx.onTouched(); });
|
|
1258
|
-
} }, inputs: { ariaValueTextFn: [0, "auAriaValueTextFn", "ariaValueTextFn"], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], maxRating: [2, "auMaxRating", "maxRating", auNumberAttribute], rating: [2, "auRating", "rating", auNumberAttribute], readonly: [2, "auReadonly", "readonly", auBooleanAttribute], resettable: [2, "auResettable", "resettable", auBooleanAttribute], star: [0, "auStar", "star"], tabindex: [2, "auTabindex", "tabindex", auNumberAttribute], className: [0, "auClassName", "className"], ariaLabel: [0, "auAriaLabel", "ariaLabel"], ariaLabelledBy: [0, "auAriaLabelledBy", "ariaLabelledBy"] }, outputs: { hover: "auHover", leave: "auLeave", ratingChange: "auRatingChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RatingComponent), multi: true }]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c0$
|
|
1259
|
+
} }, inputs: { ariaValueTextFn: [0, "auAriaValueTextFn", "ariaValueTextFn"], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], maxRating: [2, "auMaxRating", "maxRating", auNumberAttribute], rating: [2, "auRating", "rating", auNumberAttribute], readonly: [2, "auReadonly", "readonly", auBooleanAttribute], resettable: [2, "auResettable", "resettable", auBooleanAttribute], star: [0, "auStar", "star"], tabindex: [2, "auTabindex", "tabindex", auNumberAttribute], className: [0, "auClassName", "className"], ariaLabel: [0, "auAriaLabel", "ariaLabel"], ariaLabelledBy: [0, "auAriaLabelledBy", "ariaLabelledBy"] }, outputs: { hover: "auHover", leave: "auLeave", ratingChange: "auRatingChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RatingComponent), multi: true }]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c0$7, decls: 2, vars: 0, consts: [[1, "visually-hidden"], [3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function RatingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1259
1260
|
i0.ɵɵrepeaterCreate(0, RatingComponent_For_1_Template, 4, 9, null, null, ctx.trackByIndex, true);
|
|
1260
1261
|
} if (rf & 2) {
|
|
1261
1262
|
i0.ɵɵrepeater(ctx.state.stars());
|
|
@@ -1343,10 +1344,10 @@ const export_getSelectDefaultConfig = getSelectDefaultConfig;
|
|
|
1343
1344
|
*/
|
|
1344
1345
|
const export_createSelect = createSelect;
|
|
1345
1346
|
|
|
1346
|
-
const _c0$
|
|
1347
|
-
const _c1$
|
|
1348
|
-
const _c2$
|
|
1349
|
-
const _c3$
|
|
1347
|
+
const _c0$6 = ["auSelect", ""];
|
|
1348
|
+
const _c1$6 = (a0, a1) => [a0, a1];
|
|
1349
|
+
const _c2$6 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, itemContext: a3 });
|
|
1350
|
+
const _c3$6 = (a0, a1, a2) => [a0, a1, a2];
|
|
1350
1351
|
function SelectComponent_Conditional_1_For_1_ng_template_1_Template(rf, ctx) { }
|
|
1351
1352
|
function SelectComponent_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
1352
1353
|
i0.ɵɵelementStart(0, "div", 3);
|
|
@@ -1355,9 +1356,9 @@ function SelectComponent_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1355
1356
|
} if (rf & 2) {
|
|
1356
1357
|
const itemContext_r1 = ctx.$implicit;
|
|
1357
1358
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1358
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c1$
|
|
1359
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c1$6, ctx_r1.directives.badgeAttributesDirective, itemContext_r1));
|
|
1359
1360
|
i0.ɵɵadvance();
|
|
1360
|
-
i0.ɵɵproperty("auSlot", ctx_r1.state.badgeLabel())("auSlotProps", i0.ɵɵpureFunction4(6, _c2$
|
|
1361
|
+
i0.ɵɵproperty("auSlot", ctx_r1.state.badgeLabel())("auSlotProps", i0.ɵɵpureFunction4(6, _c2$6, ctx_r1.state, ctx_r1.api, ctx_r1.directives, itemContext_r1));
|
|
1361
1362
|
} }
|
|
1362
1363
|
function SelectComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1363
1364
|
i0.ɵɵrepeaterCreate(0, SelectComponent_Conditional_1_For_1_Template, 2, 11, "div", 3, i0.ɵɵcomponentInstance().itemCtxTrackBy, true);
|
|
@@ -1373,9 +1374,9 @@ function SelectComponent_Conditional_3_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1373
1374
|
const itemContext_r3 = ctx.$implicit;
|
|
1374
1375
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1375
1376
|
i0.ɵɵclassProp("text-bg-primary", itemContext_r3 === ctx_r1.state.highlighted());
|
|
1376
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c1$
|
|
1377
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c1$6, ctx_r1.directives.itemAttributesDirective, itemContext_r3));
|
|
1377
1378
|
i0.ɵɵadvance();
|
|
1378
|
-
i0.ɵɵproperty("auSlot", ctx_r1.state.itemLabel())("auSlotProps", i0.ɵɵpureFunction4(8, _c2$
|
|
1379
|
+
i0.ɵɵproperty("auSlot", ctx_r1.state.itemLabel())("auSlotProps", i0.ɵɵpureFunction4(8, _c2$6, ctx_r1.state, ctx_r1.api, ctx_r1.directives, itemContext_r3));
|
|
1379
1380
|
} }
|
|
1380
1381
|
function SelectComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
1381
1382
|
i0.ɵɵelementStart(0, "ul", 2);
|
|
@@ -1383,7 +1384,7 @@ function SelectComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
1383
1384
|
i0.ɵɵelementEnd();
|
|
1384
1385
|
} if (rf & 2) {
|
|
1385
1386
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1386
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(1, _c3$
|
|
1387
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(1, _c3$6, ctx_r1.directives.hasFocusDirective, ctx_r1.directives.floatingDirective, ctx_r1.directives.menuAttributesDirective));
|
|
1387
1388
|
i0.ɵɵadvance();
|
|
1388
1389
|
i0.ɵɵrepeater(ctx_r1.state.visibleItems());
|
|
1389
1390
|
} }
|
|
@@ -1498,7 +1499,7 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1498
1499
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotSelectItemLabelFromContent = _t.first);
|
|
1499
1500
|
} }, hostVars: 2, hostBindings: function SelectComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
1500
1501
|
i0.ɵɵclassMap("au-select dropdown border border-1 p-1 mb-3 d-block" + ctx.state.className());
|
|
1501
|
-
} }, inputs: { ariaLabel: [0, "auAriaLabel", "ariaLabel"], id: [0, "auId", "id"], items: [0, "auItems", "items"], allowedPlacements: [0, "auAllowedPlacements", "allowedPlacements"], open: [2, "auOpen", "open", auBooleanAttribute], filterText: [0, "auFilterText", "filterText"], className: [0, "auClassName", "className"], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], selected: [0, "auSelected", "selected"], loading: [2, "auLoading", "loading", auBooleanAttribute], itemIdFn: [0, "auItemIdFn", "itemIdFn"], menuClassName: [0, "auMenuClassName", "menuClassName"], badgeLabel: [0, "auBadgeLabel", "badgeLabel"], itemLabel: [0, "auItemLabel", "itemLabel"], menuItemClassName: [0, "auMenuItemClassName", "menuItemClassName"], badgeClassName: [0, "auBadgeClassName", "badgeClassName"], navSelector: [0, "auNavSelector", "navSelector"] }, outputs: { filterTextChange: "auFilterTextChange", selectedChange: "auSelectedChange", openChange: "auOpenChange" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c0$
|
|
1502
|
+
} }, inputs: { ariaLabel: [0, "auAriaLabel", "ariaLabel"], id: [0, "auId", "id"], items: [0, "auItems", "items"], allowedPlacements: [0, "auAllowedPlacements", "allowedPlacements"], open: [2, "auOpen", "open", auBooleanAttribute], filterText: [0, "auFilterText", "filterText"], className: [0, "auClassName", "className"], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], selected: [0, "auSelected", "selected"], loading: [2, "auLoading", "loading", auBooleanAttribute], itemIdFn: [0, "auItemIdFn", "itemIdFn"], menuClassName: [0, "auMenuClassName", "menuClassName"], badgeLabel: [0, "auBadgeLabel", "badgeLabel"], itemLabel: [0, "auItemLabel", "itemLabel"], menuItemClassName: [0, "auMenuItemClassName", "menuItemClassName"], badgeClassName: [0, "auBadgeClassName", "badgeClassName"], navSelector: [0, "auNavSelector", "navSelector"] }, outputs: { filterTextChange: "auFilterTextChange", selectedChange: "auSelectedChange", openChange: "auOpenChange" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c0$6, 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) {
|
|
1502
1503
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1503
1504
|
i0.ɵɵtemplate(1, SelectComponent_Conditional_1_Template, 2, 0);
|
|
1504
1505
|
i0.ɵɵelement(2, "input", 1);
|
|
@@ -1506,7 +1507,7 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1506
1507
|
i0.ɵɵtemplate(3, SelectComponent_Conditional_3_Template, 3, 5, "ul", 2);
|
|
1507
1508
|
} if (rf & 2) {
|
|
1508
1509
|
let tmp_1_0;
|
|
1509
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(5, _c1$
|
|
1510
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(5, _c1$6, ctx.directives.hasFocusDirective, ctx.directives.inputContainerDirective));
|
|
1510
1511
|
i0.ɵɵadvance();
|
|
1511
1512
|
i0.ɵɵconditional((tmp_1_0 = ctx.state.selectedContexts()) ? 1 : -1, tmp_1_0);
|
|
1512
1513
|
i0.ɵɵadvance();
|
|
@@ -1632,8 +1633,8 @@ const export_getAlertDefaultConfig = getAlertDefaultConfig;
|
|
|
1632
1633
|
*/
|
|
1633
1634
|
const export_createAlert = createAlert;
|
|
1634
1635
|
|
|
1635
|
-
const _c0$
|
|
1636
|
-
const _c1$
|
|
1636
|
+
const _c0$5 = ["structure"];
|
|
1637
|
+
const _c1$5 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
1637
1638
|
function AlertDefaultSlotsComponent_ng_template_0_ng_template_1_Template(rf, ctx) { }
|
|
1638
1639
|
function AlertDefaultSlotsComponent_ng_template_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
1639
1640
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -1654,13 +1655,13 @@ function AlertDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
1654
1655
|
const api_r2 = ctx.api;
|
|
1655
1656
|
const directives_r4 = ctx.directives;
|
|
1656
1657
|
i0.ɵɵadvance();
|
|
1657
|
-
i0.ɵɵproperty("auSlot", state_r3.children())("auSlotProps", i0.ɵɵpureFunction3(3, _c1$
|
|
1658
|
+
i0.ɵɵproperty("auSlot", state_r3.children())("auSlotProps", i0.ɵɵpureFunction3(3, _c1$5, state_r3, api_r2, directives_r4));
|
|
1658
1659
|
i0.ɵɵadvance();
|
|
1659
1660
|
i0.ɵɵconditional(state_r3.dismissible() ? 2 : -1);
|
|
1660
1661
|
} }
|
|
1661
|
-
const _c2$
|
|
1662
|
-
const _c3$
|
|
1663
|
-
const _c4$
|
|
1662
|
+
const _c2$5 = ["content"];
|
|
1663
|
+
const _c3$5 = ["auAlert", ""];
|
|
1664
|
+
const _c4$5 = ["*"];
|
|
1664
1665
|
function AlertComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1665
1666
|
i0.ɵɵprojection(0);
|
|
1666
1667
|
} }
|
|
@@ -1674,7 +1675,7 @@ function AlertComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1674
1675
|
i0.ɵɵclassMapInterpolate3("au-alert alert alert-", ctx_r0.state.type(), " ", ctx_r0.state.className(), " ", ctx_r0.state.dismissible() ? "alert-dismissible" : "", "");
|
|
1675
1676
|
i0.ɵɵproperty("auUse", ctx_r0.directives.transitionDirective);
|
|
1676
1677
|
i0.ɵɵadvance();
|
|
1677
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(8, _c1$
|
|
1678
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(8, _c1$5, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
|
|
1678
1679
|
} }
|
|
1679
1680
|
/**
|
|
1680
1681
|
* Directive to be used as a structural directive for the body of an alert component.
|
|
@@ -1717,7 +1718,7 @@ class AlertStructureDirective {
|
|
|
1717
1718
|
class AlertDefaultSlotsComponent {
|
|
1718
1719
|
static { this.ɵfac = function AlertDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertDefaultSlotsComponent)(); }; }
|
|
1719
1720
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function AlertDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1720
|
-
i0.ɵɵviewQuery(_c0$
|
|
1721
|
+
i0.ɵɵviewQuery(_c0$5, 7);
|
|
1721
1722
|
} if (rf & 2) {
|
|
1722
1723
|
let _t;
|
|
1723
1724
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.structure = _t.first);
|
|
@@ -1813,11 +1814,11 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1813
1814
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotDefaultFromContent = _t.first);
|
|
1814
1815
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
1815
1816
|
} }, viewQuery: function AlertComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1816
|
-
i0.ɵɵviewQuery(_c2$
|
|
1817
|
+
i0.ɵɵviewQuery(_c2$5, 7);
|
|
1817
1818
|
} if (rf & 2) {
|
|
1818
1819
|
let _t;
|
|
1819
1820
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotChildren = _t.first);
|
|
1820
|
-
} }, inputs: { type: [0, "auType", "type"], dismissible: [2, "auDismissible", "dismissible", auBooleanAttribute], transition: [0, "auTransition", "transition"], visible: [2, "auVisible", "visible", auBooleanAttribute], animatedOnInit: [2, "auAnimatedOnInit", "animatedOnInit", auBooleanAttribute], animated: [2, "auAnimated", "animated", auBooleanAttribute], ariaCloseButtonLabel: [0, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], children: [0, "auChildren", "children"], structure: [0, "auStructure", "structure"], className: [0, "auClassName", "className"] }, outputs: { visibleChange: "auVisibleChange", hidden: "auHidden", shown: "auShown" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3$
|
|
1821
|
+
} }, inputs: { type: [0, "auType", "type"], dismissible: [2, "auDismissible", "dismissible", auBooleanAttribute], transition: [0, "auTransition", "transition"], visible: [2, "auVisible", "visible", auBooleanAttribute], animatedOnInit: [2, "auAnimatedOnInit", "animatedOnInit", auBooleanAttribute], animated: [2, "auAnimated", "animated", auBooleanAttribute], ariaCloseButtonLabel: [0, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], children: [0, "auChildren", "children"], structure: [0, "auStructure", "structure"], className: [0, "auClassName", "className"] }, outputs: { visibleChange: "auVisibleChange", hidden: "auHidden", shown: "auShown" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3$5, ngContentSelectors: _c4$5, 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) {
|
|
1821
1822
|
i0.ɵɵprojectionDef();
|
|
1822
1823
|
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);
|
|
1823
1824
|
} if (rf & 2) {
|
|
@@ -1925,8 +1926,8 @@ const export_createAccordion = createAccordion;
|
|
|
1925
1926
|
*/
|
|
1926
1927
|
const export_factoryCreateAccordion = factoryCreateAccordion;
|
|
1927
1928
|
|
|
1928
|
-
const _c0$
|
|
1929
|
-
const _c1$
|
|
1929
|
+
const _c0$4 = ["structure"];
|
|
1930
|
+
const _c1$4 = (a0, a1, a2) => ({ state: a0, directives: a1, api: a2 });
|
|
1930
1931
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_0_Template(rf, ctx) { if (rf & 1) {
|
|
1931
1932
|
i0.ɵɵelementContainer(0, 9);
|
|
1932
1933
|
} if (rf & 2) {
|
|
@@ -2060,7 +2061,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_19_Templat
|
|
|
2060
2061
|
const directives_r7 = ctx_r8.directives;
|
|
2061
2062
|
i0.ɵɵproperty("auUse", directives_r7.buttonDirective);
|
|
2062
2063
|
i0.ɵɵadvance();
|
|
2063
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(3, _c1$
|
|
2064
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(3, _c1$4, state_r10, directives_r7, api_r11))("auSlot", state_r10.header());
|
|
2064
2065
|
} }
|
|
2065
2066
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_ng_template_2_Template(rf, ctx) { }
|
|
2066
2067
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2076,7 +2077,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Templat
|
|
|
2076
2077
|
i0.ɵɵadvance();
|
|
2077
2078
|
i0.ɵɵproperty("auUse", directives_r7.bodyDirective);
|
|
2078
2079
|
i0.ɵɵadvance();
|
|
2079
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(4, _c1$
|
|
2080
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(4, _c1$4, state_r10, directives_r7, api_r11))("auSlot", state_r10.children());
|
|
2080
2081
|
} }
|
|
2081
2082
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2082
2083
|
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);
|
|
@@ -2087,10 +2088,10 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if
|
|
|
2087
2088
|
i0.ɵɵadvance(21);
|
|
2088
2089
|
i0.ɵɵconditional(state_r10.shouldBeInDOM() ? 21 : -1);
|
|
2089
2090
|
} }
|
|
2090
|
-
const _c2$
|
|
2091
|
-
const _c3$
|
|
2092
|
-
const _c4$
|
|
2093
|
-
const _c5$
|
|
2091
|
+
const _c2$4 = ["content"];
|
|
2092
|
+
const _c3$4 = ["auAccordionItem", ""];
|
|
2093
|
+
const _c4$4 = ["*"];
|
|
2094
|
+
const _c5$3 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
2094
2095
|
function AccordionItemComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2095
2096
|
i0.ɵɵprojection(0);
|
|
2096
2097
|
} }
|
|
@@ -2156,7 +2157,7 @@ class AccordionItemStructureDirective {
|
|
|
2156
2157
|
class AccordionItemDefaultSlotsComponent {
|
|
2157
2158
|
static { this.ɵfac = function AccordionItemDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AccordionItemDefaultSlotsComponent)(); }; }
|
|
2158
2159
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AccordionItemDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function AccordionItemDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2159
|
-
i0.ɵɵviewQuery(_c0$
|
|
2160
|
+
i0.ɵɵviewQuery(_c0$4, 7);
|
|
2160
2161
|
} if (rf & 2) {
|
|
2161
2162
|
let _t;
|
|
2162
2163
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.structure = _t.first);
|
|
@@ -2309,16 +2310,16 @@ class AccordionItemComponent extends BaseWidgetDirective {
|
|
|
2309
2310
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotBodyFromContent = _t.first);
|
|
2310
2311
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
2311
2312
|
} }, viewQuery: function AccordionItemComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2312
|
-
i0.ɵɵviewQuery(_c2$
|
|
2313
|
+
i0.ɵɵviewQuery(_c2$4, 7);
|
|
2313
2314
|
} if (rf & 2) {
|
|
2314
2315
|
let _t;
|
|
2315
2316
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotChildren = _t.first);
|
|
2316
|
-
} }, hostAttrs: [1, "accordion-item"], inputs: { header: [0, "auHeader", "header"], children: [0, "auChildren", "children"], structure: [0, "auStructure", "structure"], id: [0, "auId", "id"], transition: [0, "auTransition", "transition"], className: [0, "auClassName", "className"], destroyOnHide: [2, "auDestroyOnHide", "destroyOnHide", auBooleanAttribute], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], visible: [2, "auVisible", "visible", auBooleanAttribute], animated: [2, "auAnimated", "animated", auBooleanAttribute], headerClassName: [0, "auHeaderClassName", "headerClassName"], buttonClassName: [0, "auButtonClassName", "buttonClassName"], bodyContainerClassName: [0, "auBodyContainerClassName", "bodyContainerClassName"], bodyClassName: [0, "auBodyClassName", "bodyClassName"], headingTag: [0, "auHeadingTag", "headingTag"] }, outputs: { shown: "auShown", hidden: "auHidden", visibleChange: "auVisibleChange" }, exportAs: ["auAccordionItem"], standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3$
|
|
2317
|
+
} }, hostAttrs: [1, "accordion-item"], inputs: { header: [0, "auHeader", "header"], children: [0, "auChildren", "children"], structure: [0, "auStructure", "structure"], id: [0, "auId", "id"], transition: [0, "auTransition", "transition"], className: [0, "auClassName", "className"], destroyOnHide: [2, "auDestroyOnHide", "destroyOnHide", auBooleanAttribute], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], visible: [2, "auVisible", "visible", auBooleanAttribute], animated: [2, "auAnimated", "animated", auBooleanAttribute], headerClassName: [0, "auHeaderClassName", "headerClassName"], buttonClassName: [0, "auButtonClassName", "buttonClassName"], bodyContainerClassName: [0, "auBodyContainerClassName", "bodyContainerClassName"], bodyClassName: [0, "auBodyClassName", "bodyClassName"], headingTag: [0, "auHeadingTag", "headingTag"] }, outputs: { shown: "auShown", hidden: "auHidden", visibleChange: "auVisibleChange" }, exportAs: ["auAccordionItem"], standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3$4, ngContentSelectors: _c4$4, decls: 3, vars: 6, consts: [["content", ""], [3, "auSlotProps", "auSlot"]], template: function AccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2317
2318
|
i0.ɵɵprojectionDef();
|
|
2318
2319
|
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);
|
|
2319
2320
|
} if (rf & 2) {
|
|
2320
2321
|
i0.ɵɵadvance(2);
|
|
2321
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(2, _c5$
|
|
2322
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction3(2, _c5$3, ctx.state, ctx.api, ctx.directives))("auSlot", ctx.state.structure());
|
|
2322
2323
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
2323
2324
|
}
|
|
2324
2325
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionItemComponent, [{
|
|
@@ -2517,9 +2518,9 @@ const export_getSliderDefaultConfig = getSliderDefaultConfig;
|
|
|
2517
2518
|
*/
|
|
2518
2519
|
const export_createSlider = createSlider;
|
|
2519
2520
|
|
|
2520
|
-
const _c0$
|
|
2521
|
-
const _c1$
|
|
2522
|
-
const _c2$
|
|
2521
|
+
const _c0$3 = ["handle"];
|
|
2522
|
+
const _c1$3 = a0 => ({ item: a0 });
|
|
2523
|
+
const _c2$3 = (a0, a1) => [a0, a1];
|
|
2523
2524
|
function SliderDefaultHandleSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2524
2525
|
i0.ɵɵelementStart(0, "button", 2);
|
|
2525
2526
|
i0.ɵɵtext(1, "\u00A0");
|
|
@@ -2527,20 +2528,20 @@ function SliderDefaultHandleSlotComponent_ng_template_0_Template(rf, ctx) { if (
|
|
|
2527
2528
|
} if (rf & 2) {
|
|
2528
2529
|
const directives_r1 = ctx.directives;
|
|
2529
2530
|
const item_r2 = ctx.item;
|
|
2530
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$
|
|
2531
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$3, directives_r1.handleDirective, i0.ɵɵpureFunction1(1, _c1$3, item_r2)));
|
|
2531
2532
|
} }
|
|
2532
|
-
const _c3$
|
|
2533
|
+
const _c3$3 = ["structure"];
|
|
2533
2534
|
const _forTrack0 = ($index, $item) => $item.id;
|
|
2534
|
-
const _c4$
|
|
2535
|
-
const _c5$
|
|
2536
|
-
const _c6 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, item: a3 });
|
|
2537
|
-
const _c7 = a0 => ({ index: a0 });
|
|
2535
|
+
const _c4$3 = a0 => ({ option: a0 });
|
|
2536
|
+
const _c5$2 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, value: a3 });
|
|
2537
|
+
const _c6$1 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, item: a3 });
|
|
2538
|
+
const _c7$1 = a0 => ({ index: a0 });
|
|
2538
2539
|
function SliderDefaultStructureSlotComponent_ng_template_0_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
2539
2540
|
i0.ɵɵelement(0, "div", 2);
|
|
2540
2541
|
} if (rf & 2) {
|
|
2541
2542
|
const option_r1 = ctx.$implicit;
|
|
2542
2543
|
const directives_r2 = i0.ɵɵnextContext().directives;
|
|
2543
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$
|
|
2544
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$3, directives_r2.progressDisplayDirective, i0.ɵɵpureFunction1(1, _c4$3, option_r1)));
|
|
2544
2545
|
} }
|
|
2545
2546
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_ng_template_1_Template(rf, ctx) { }
|
|
2546
2547
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_ng_template_3_Template(rf, ctx) { }
|
|
@@ -2558,11 +2559,11 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_Templat
|
|
|
2558
2559
|
const api_r5 = ctx_r2.api;
|
|
2559
2560
|
i0.ɵɵproperty("auUse", directives_r2.minLabelDirective);
|
|
2560
2561
|
i0.ɵɵadvance();
|
|
2561
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(6, _c5$
|
|
2562
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(6, _c5$2, state_r4, api_r5, directives_r2, state_r4.min()));
|
|
2562
2563
|
i0.ɵɵadvance();
|
|
2563
2564
|
i0.ɵɵproperty("auUse", directives_r2.maxLabelDirective);
|
|
2564
2565
|
i0.ɵɵadvance();
|
|
2565
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(11, _c5$
|
|
2566
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(11, _c5$2, state_r4, api_r5, directives_r2, state_r4.max()));
|
|
2566
2567
|
} }
|
|
2567
2568
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_1_ng_template_0_Template(rf, ctx) { }
|
|
2568
2569
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_1_ng_template_2_Template(rf, ctx) { }
|
|
@@ -2575,9 +2576,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditi
|
|
|
2575
2576
|
const state_r4 = ctx_r2.state;
|
|
2576
2577
|
const directives_r2 = ctx_r2.directives;
|
|
2577
2578
|
const api_r5 = ctx_r2.api;
|
|
2578
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(4, _c5$
|
|
2579
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(4, _c5$2, state_r4, api_r5, directives_r2, state_r4.sortedValues()[1]));
|
|
2579
2580
|
i0.ɵɵadvance(2);
|
|
2580
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(9, _c5$
|
|
2581
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(9, _c5$2, state_r4, api_r5, directives_r2, state_r4.sortedValues()[0]));
|
|
2581
2582
|
} }
|
|
2582
2583
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_2_ng_template_0_Template(rf, ctx) { }
|
|
2583
2584
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_2_ng_template_2_Template(rf, ctx) { }
|
|
@@ -2590,9 +2591,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditi
|
|
|
2590
2591
|
const state_r4 = ctx_r2.state;
|
|
2591
2592
|
const directives_r2 = ctx_r2.directives;
|
|
2592
2593
|
const api_r5 = ctx_r2.api;
|
|
2593
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(4, _c5$
|
|
2594
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(4, _c5$2, state_r4, api_r5, directives_r2, state_r4.sortedValues()[0]));
|
|
2594
2595
|
i0.ɵɵadvance(2);
|
|
2595
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(9, _c5$
|
|
2596
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(9, _c5$2, state_r4, api_r5, directives_r2, state_r4.sortedValues()[1]));
|
|
2596
2597
|
} }
|
|
2597
2598
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
2598
2599
|
i0.ɵɵelementStart(0, "div", 2);
|
|
@@ -2618,9 +2619,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_For_6_Conditional_1_T
|
|
|
2618
2619
|
const state_r4 = ctx_r2.state;
|
|
2619
2620
|
const directives_r2 = ctx_r2.directives;
|
|
2620
2621
|
const api_r5 = ctx_r2.api;
|
|
2621
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c2$
|
|
2622
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c2$3, directives_r2.handleLabelDisplayDirective, i0.ɵɵpureFunction1(3, _c7$1, ɵ$index_32_r6)));
|
|
2622
2623
|
i0.ɵɵadvance();
|
|
2623
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(8, _c5$
|
|
2624
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(8, _c5$2, state_r4, api_r5, directives_r2, state_r4.values()[ɵ$index_32_r6]));
|
|
2624
2625
|
} }
|
|
2625
2626
|
function SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
2626
2627
|
i0.ɵɵtemplate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_6_ng_template_0_Template, 0, 0, "ng-template", 3)(1, SliderDefaultStructureSlotComponent_ng_template_0_For_6_Conditional_1_Template, 2, 13, "div", 2);
|
|
@@ -2630,7 +2631,7 @@ function SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template(rf, ct
|
|
|
2630
2631
|
const state_r4 = ctx_r2.state;
|
|
2631
2632
|
const directives_r2 = ctx_r2.directives;
|
|
2632
2633
|
const api_r5 = ctx_r2.api;
|
|
2633
|
-
i0.ɵɵproperty("auSlot", state_r4.handle())("auSlotProps", i0.ɵɵpureFunction4(3, _c6, state_r4, api_r5, directives_r2, item_r7));
|
|
2634
|
+
i0.ɵɵproperty("auSlot", state_r4.handle())("auSlotProps", i0.ɵɵpureFunction4(3, _c6$1, state_r4, api_r5, directives_r2, item_r7));
|
|
2634
2635
|
i0.ɵɵadvance();
|
|
2635
2636
|
i0.ɵɵconditional(state_r4.showValueLabels() && !state_r4.combinedLabelDisplay() ? 1 : -1);
|
|
2636
2637
|
} }
|
|
@@ -2652,7 +2653,7 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { i
|
|
|
2652
2653
|
i0.ɵɵadvance();
|
|
2653
2654
|
i0.ɵɵrepeater(state_r4.sortedHandles());
|
|
2654
2655
|
} }
|
|
2655
|
-
const _c8 = ["auSlider", ""];
|
|
2656
|
+
const _c8$1 = ["auSlider", ""];
|
|
2656
2657
|
const _c9 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
2657
2658
|
function SliderComponent_ng_template_0_Template(rf, ctx) { }
|
|
2658
2659
|
/**
|
|
@@ -2696,7 +2697,7 @@ class SliderHandleDirective {
|
|
|
2696
2697
|
class SliderDefaultHandleSlotComponent {
|
|
2697
2698
|
static { this.ɵfac = function SliderDefaultHandleSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderDefaultHandleSlotComponent)(); }; }
|
|
2698
2699
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderDefaultHandleSlotComponent, selectors: [["ng-component"]], viewQuery: function SliderDefaultHandleSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2699
|
-
i0.ɵɵviewQuery(_c0$
|
|
2700
|
+
i0.ɵɵviewQuery(_c0$3, 7);
|
|
2700
2701
|
} if (rf & 2) {
|
|
2701
2702
|
let _t;
|
|
2702
2703
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.handle = _t.first);
|
|
@@ -2747,7 +2748,7 @@ class SliderStructureDirective {
|
|
|
2747
2748
|
class SliderDefaultStructureSlotComponent {
|
|
2748
2749
|
static { this.ɵfac = function SliderDefaultStructureSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderDefaultStructureSlotComponent)(); }; }
|
|
2749
2750
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderDefaultStructureSlotComponent, selectors: [["ng-component"]], viewQuery: function SliderDefaultStructureSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2750
|
-
i0.ɵɵviewQuery(_c3$
|
|
2751
|
+
i0.ɵɵviewQuery(_c3$3, 7);
|
|
2751
2752
|
} if (rf & 2) {
|
|
2752
2753
|
let _t;
|
|
2753
2754
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.structure = _t.first);
|
|
@@ -2891,7 +2892,7 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
2891
2892
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotHandleFromContent = _t.first);
|
|
2892
2893
|
} }, hostBindings: function SliderComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
2893
2894
|
i0.ɵɵlistener("blur", function SliderComponent_blur_HostBindingHandler() { return ctx.handleBlur(); });
|
|
2894
|
-
} }, inputs: { className: [0, "auClassName", "className"], min: [2, "auMin", "min", auNumberAttribute], max: [2, "auMax", "max", auNumberAttribute], stepSize: [2, "auStepSize", "stepSize", auNumberAttribute], values: [0, "auValues", "values"], rtl: [2, "auRtl", "rtl", auBooleanAttribute], showValueLabels: [2, "auShowValueLabels", "showValueLabels", auBooleanAttribute], showMinMaxLabels: [2, "auShowMinMaxLabels", "showMinMaxLabels", auBooleanAttribute], ariaLabelHandle: [0, "auAriaLabelHandle", "ariaLabelHandle"], ariaValueText: [0, "auAriaValueText", "ariaValueText"], readonly: [2, "auReadonly", "readonly", auBooleanAttribute], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], vertical: [2, "auVertical", "vertical", auBooleanAttribute], label: [0, "auLabel", "label"], structure: [0, "auStructure", "structure"], handle: [0, "auHandle", "handle"] }, outputs: { valuesChange: "auValuesChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent), multi: true }]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c8, decls: 1, vars: 6, consts: [[3, "auSlot", "auSlotProps"]], template: function SliderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2895
|
+
} }, inputs: { className: [0, "auClassName", "className"], min: [2, "auMin", "min", auNumberAttribute], max: [2, "auMax", "max", auNumberAttribute], stepSize: [2, "auStepSize", "stepSize", auNumberAttribute], values: [0, "auValues", "values"], rtl: [2, "auRtl", "rtl", auBooleanAttribute], showValueLabels: [2, "auShowValueLabels", "showValueLabels", auBooleanAttribute], showMinMaxLabels: [2, "auShowMinMaxLabels", "showMinMaxLabels", auBooleanAttribute], ariaLabelHandle: [0, "auAriaLabelHandle", "ariaLabelHandle"], ariaValueText: [0, "auAriaValueText", "ariaValueText"], readonly: [2, "auReadonly", "readonly", auBooleanAttribute], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], vertical: [2, "auVertical", "vertical", auBooleanAttribute], label: [0, "auLabel", "label"], structure: [0, "auStructure", "structure"], handle: [0, "auHandle", "handle"] }, outputs: { valuesChange: "auValuesChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent), multi: true }]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c8$1, decls: 1, vars: 6, consts: [[3, "auSlot", "auSlotProps"]], template: function SliderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2895
2896
|
i0.ɵɵtemplate(0, SliderComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
2896
2897
|
} if (rf & 2) {
|
|
2897
2898
|
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2, _c9, ctx.state, ctx.api, ctx.directives));
|
|
@@ -2986,8 +2987,8 @@ const export_getProgressbarDefaultConfig = getProgressbarDefaultConfig;
|
|
|
2986
2987
|
*/
|
|
2987
2988
|
const export_createProgressbar = createProgressbar;
|
|
2988
2989
|
|
|
2989
|
-
const _c0$
|
|
2990
|
-
const _c1$
|
|
2990
|
+
const _c0$2 = ["structure"];
|
|
2991
|
+
const _c1$2 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
2991
2992
|
function ProgressbarDefaultSlotsComponent_ng_template_0_ng_template_2_Template(rf, ctx) { }
|
|
2992
2993
|
function ProgressbarDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2993
2994
|
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3);
|
|
@@ -3003,11 +3004,11 @@ function ProgressbarDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (
|
|
|
3003
3004
|
i0.ɵɵclassProp("progress-bar-striped", state_r1.striped())("progress-bar-animated", state_r1.animated());
|
|
3004
3005
|
i0.ɵɵproperty("ngClass", state_r1.type() ? "text-bg-" + state_r1.type() : undefined);
|
|
3005
3006
|
i0.ɵɵadvance();
|
|
3006
|
-
i0.ɵɵproperty("auSlot", state_r1.children())("auSlotProps", i0.ɵɵpureFunction3(11, _c1$
|
|
3007
|
+
i0.ɵɵproperty("auSlot", state_r1.children())("auSlotProps", i0.ɵɵpureFunction3(11, _c1$2, state_r1, api_r2, directives_r3));
|
|
3007
3008
|
} }
|
|
3008
|
-
const _c2$
|
|
3009
|
-
const _c3$
|
|
3010
|
-
const _c4$
|
|
3009
|
+
const _c2$2 = ["content"];
|
|
3010
|
+
const _c3$2 = ["auProgressbar", ""];
|
|
3011
|
+
const _c4$2 = ["*"];
|
|
3011
3012
|
function ProgressbarComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3012
3013
|
i0.ɵɵprojection(0);
|
|
3013
3014
|
} }
|
|
@@ -3052,7 +3053,7 @@ class ProgressbarStructureDirective {
|
|
|
3052
3053
|
class ProgressbarDefaultSlotsComponent {
|
|
3053
3054
|
static { this.ɵfac = function ProgressbarDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProgressbarDefaultSlotsComponent)(); }; }
|
|
3054
3055
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProgressbarDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function ProgressbarDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3055
|
-
i0.ɵɵviewQuery(_c0$
|
|
3056
|
+
i0.ɵɵviewQuery(_c0$2, 7);
|
|
3056
3057
|
} if (rf & 2) {
|
|
3057
3058
|
let _t;
|
|
3058
3059
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.structure = _t.first);
|
|
@@ -3122,18 +3123,18 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
3122
3123
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotDefaultFromContent = _t.first);
|
|
3123
3124
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
3124
3125
|
} }, viewQuery: function ProgressbarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3125
|
-
i0.ɵɵviewQuery(_c2$
|
|
3126
|
+
i0.ɵɵviewQuery(_c2$2, 7);
|
|
3126
3127
|
} if (rf & 2) {
|
|
3127
3128
|
let _t;
|
|
3128
3129
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotChildren = _t.first);
|
|
3129
3130
|
} }, hostVars: 2, hostBindings: function ProgressbarComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
3130
3131
|
i0.ɵɵclassMap(ctx.state.className());
|
|
3131
|
-
} }, inputs: { ariaLabel: [0, "auAriaLabel", "ariaLabel"], min: [2, "auMin", "min", auNumberAttribute], max: [2, "auMax", "max", auNumberAttribute], value: [2, "auValue", "value", auNumberAttribute], className: [0, "auClassName", "className"], children: [0, "auChildren", "children"], structure: [0, "auStructure", "structure"], height: [0, "auHeight", "height"], animated: [2, "auAnimated", "animated", auBooleanAttribute], striped: [2, "auStriped", "striped", auBooleanAttribute], ariaValueTextFn: [0, "auAriaValueTextFn", "ariaValueTextFn"], type: [0, "auType", "type"] }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3$
|
|
3132
|
+
} }, inputs: { ariaLabel: [0, "auAriaLabel", "ariaLabel"], min: [2, "auMin", "min", auNumberAttribute], max: [2, "auMax", "max", auNumberAttribute], value: [2, "auValue", "value", auNumberAttribute], className: [0, "auClassName", "className"], children: [0, "auChildren", "children"], structure: [0, "auStructure", "structure"], height: [0, "auHeight", "height"], animated: [2, "auAnimated", "animated", auBooleanAttribute], striped: [2, "auStriped", "striped", auBooleanAttribute], ariaValueTextFn: [0, "auAriaValueTextFn", "ariaValueTextFn"], type: [0, "auType", "type"] }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3$2, ngContentSelectors: _c4$2, decls: 3, vars: 6, consts: [["content", ""], [3, "auSlot", "auSlotProps"]], template: function ProgressbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3132
3133
|
i0.ɵɵprojectionDef();
|
|
3133
3134
|
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);
|
|
3134
3135
|
} if (rf & 2) {
|
|
3135
3136
|
i0.ɵɵadvance(2);
|
|
3136
|
-
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2, _c1$
|
|
3137
|
+
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2, _c1$2, ctx.state, ctx.api, ctx.directives));
|
|
3137
3138
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3138
3139
|
}
|
|
3139
3140
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressbarComponent, [{
|
|
@@ -3211,8 +3212,8 @@ const export_getToastDefaultConfig = getToastDefaultConfig;
|
|
|
3211
3212
|
*/
|
|
3212
3213
|
const export_createToast = createToast;
|
|
3213
3214
|
|
|
3214
|
-
const _c0 = ["structure"];
|
|
3215
|
-
const _c1 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
3215
|
+
const _c0$1 = ["structure"];
|
|
3216
|
+
const _c1$1 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
3216
3217
|
function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_ng_template_1_Template(rf, ctx) { }
|
|
3217
3218
|
function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
3218
3219
|
i0.ɵɵelement(0, "button", 6);
|
|
@@ -3230,7 +3231,7 @@ function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Template(rf, ctx
|
|
|
3230
3231
|
const api_r4 = ctx_r1.api;
|
|
3231
3232
|
const directives_r1 = ctx_r1.directives;
|
|
3232
3233
|
i0.ɵɵadvance();
|
|
3233
|
-
i0.ɵɵproperty("auSlot", state_r3.header())("auSlotProps", i0.ɵɵpureFunction3(3, _c1, state_r3, api_r4, directives_r1));
|
|
3234
|
+
i0.ɵɵproperty("auSlot", state_r3.header())("auSlotProps", i0.ɵɵpureFunction3(3, _c1$1, state_r3, api_r4, directives_r1));
|
|
3234
3235
|
i0.ɵɵadvance();
|
|
3235
3236
|
i0.ɵɵconditional(state_r3.dismissible() ? 2 : -1);
|
|
3236
3237
|
} }
|
|
@@ -3253,14 +3254,14 @@ function ToastDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
3253
3254
|
const directives_r1 = ctx.directives;
|
|
3254
3255
|
i0.ɵɵconditional(state_r3.header() ? 0 : -1);
|
|
3255
3256
|
i0.ɵɵadvance(2);
|
|
3256
|
-
i0.ɵɵproperty("auSlot", state_r3.children())("auSlotProps", i0.ɵɵpureFunction3(4, _c1, state_r3, api_r4, directives_r1));
|
|
3257
|
+
i0.ɵɵproperty("auSlot", state_r3.children())("auSlotProps", i0.ɵɵpureFunction3(4, _c1$1, state_r3, api_r4, directives_r1));
|
|
3257
3258
|
i0.ɵɵadvance();
|
|
3258
3259
|
i0.ɵɵconditional(state_r3.dismissible() && !state_r3.header() ? 3 : -1);
|
|
3259
3260
|
} }
|
|
3260
|
-
const _c2 = ["content"];
|
|
3261
|
-
const _c3 = ["auToast", ""];
|
|
3262
|
-
const _c4 = ["*"];
|
|
3263
|
-
const _c5 = (a0, a1, a2) => [a0, a1, a2];
|
|
3261
|
+
const _c2$1 = ["content"];
|
|
3262
|
+
const _c3$1 = ["auToast", ""];
|
|
3263
|
+
const _c4$1 = ["*"];
|
|
3264
|
+
const _c5$1 = (a0, a1, a2) => [a0, a1, a2];
|
|
3264
3265
|
function ToastComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3265
3266
|
i0.ɵɵprojection(0);
|
|
3266
3267
|
} }
|
|
@@ -3272,9 +3273,9 @@ function ToastComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
3272
3273
|
} if (rf & 2) {
|
|
3273
3274
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
3274
3275
|
i0.ɵɵclassProp("d-flex", !ctx_r0.state.header())("toast-dismissible", ctx_r0.state.dismissible());
|
|
3275
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(7, _c5, ctx_r0.directives.autoHideDirective, ctx_r0.directives.transitionDirective, ctx_r0.directives.bodyDirective));
|
|
3276
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(7, _c5$1, ctx_r0.directives.autoHideDirective, ctx_r0.directives.transitionDirective, ctx_r0.directives.bodyDirective));
|
|
3276
3277
|
i0.ɵɵadvance();
|
|
3277
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(11, _c1, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
|
|
3278
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state.structure())("auSlotProps", i0.ɵɵpureFunction3(11, _c1$1, ctx_r0.state, ctx_r0.api, ctx_r0.directives));
|
|
3278
3279
|
} }
|
|
3279
3280
|
/**
|
|
3280
3281
|
* Directive to represent the body of a toast notification.
|
|
@@ -3333,7 +3334,7 @@ class ToastHeaderDirective {
|
|
|
3333
3334
|
class ToastDefaultSlotsComponent {
|
|
3334
3335
|
static { this.ɵfac = function ToastDefaultSlotsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToastDefaultSlotsComponent)(); }; }
|
|
3335
3336
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToastDefaultSlotsComponent, selectors: [["ng-component"]], viewQuery: function ToastDefaultSlotsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3336
|
-
i0.ɵɵviewQuery(_c0, 7);
|
|
3337
|
+
i0.ɵɵviewQuery(_c0$1, 7);
|
|
3337
3338
|
} if (rf & 2) {
|
|
3338
3339
|
let _t;
|
|
3339
3340
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.structure = _t.first);
|
|
@@ -3437,11 +3438,11 @@ class ToastComponent extends BaseWidgetDirective {
|
|
|
3437
3438
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
3438
3439
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotHeaderFromContent = _t.first);
|
|
3439
3440
|
} }, viewQuery: function ToastComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3440
|
-
i0.ɵɵviewQuery(_c2, 7);
|
|
3441
|
+
i0.ɵɵviewQuery(_c2$1, 7);
|
|
3441
3442
|
} if (rf & 2) {
|
|
3442
3443
|
let _t;
|
|
3443
3444
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotChildren = _t.first);
|
|
3444
|
-
} }, inputs: { dismissible: [2, "auDismissible", "dismissible", auBooleanAttribute], transition: [0, "auTransition", "transition"], visible: [2, "auVisible", "visible", auBooleanAttribute], animatedOnInit: [2, "auAnimatedOnInit", "animatedOnInit", auBooleanAttribute], animated: [2, "auAnimated", "animated", auBooleanAttribute], autoHide: [2, "auAutoHide", "autoHide", auBooleanAttribute], delay: [2, "auDelay", "delay", auNumberAttribute], ariaCloseButtonLabel: [0, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], children: [0, "auChildren", "children"], structure: [0, "auStructure", "structure"], header: [0, "auHeader", "header"], className: [0, "auClassName", "className"] }, outputs: { visibleChange: "auVisibleChange", hidden: "auHidden", shown: "auShown" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3, ngContentSelectors: _c4, decls: 3, vars: 1, consts: [["content", ""], [1, "toast", 3, "d-flex", "toast-dismissible", "auUseMulti"], [1, "toast", 3, "auUseMulti"], [3, "auSlot", "auSlotProps"]], template: function ToastComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3445
|
+
} }, inputs: { dismissible: [2, "auDismissible", "dismissible", auBooleanAttribute], transition: [0, "auTransition", "transition"], visible: [2, "auVisible", "visible", auBooleanAttribute], animatedOnInit: [2, "auAnimatedOnInit", "animatedOnInit", auBooleanAttribute], animated: [2, "auAnimated", "animated", auBooleanAttribute], autoHide: [2, "auAutoHide", "autoHide", auBooleanAttribute], delay: [2, "auDelay", "delay", auNumberAttribute], ariaCloseButtonLabel: [0, "auAriaCloseButtonLabel", "ariaCloseButtonLabel"], children: [0, "auChildren", "children"], structure: [0, "auStructure", "structure"], header: [0, "auHeader", "header"], className: [0, "auClassName", "className"] }, outputs: { visibleChange: "auVisibleChange", hidden: "auHidden", shown: "auShown" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3$1, ngContentSelectors: _c4$1, decls: 3, vars: 1, consts: [["content", ""], [1, "toast", 3, "d-flex", "toast-dismissible", "auUseMulti"], [1, "toast", 3, "auUseMulti"], [3, "auSlot", "auSlotProps"]], template: function ToastComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3445
3446
|
i0.ɵɵprojectionDef();
|
|
3446
3447
|
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);
|
|
3447
3448
|
} if (rf & 2) {
|
|
@@ -3626,6 +3627,459 @@ const export_getCollapseDefaultConfig = getCollapseDefaultConfig;
|
|
|
3626
3627
|
*/
|
|
3627
3628
|
const export_createCollapse = createCollapse;
|
|
3628
3629
|
|
|
3630
|
+
/**
|
|
3631
|
+
* Retrieve a shallow copy of the default Tree config
|
|
3632
|
+
* @returns the default Tree config
|
|
3633
|
+
*/
|
|
3634
|
+
const export_getTreeDefaultConfig = getTreeDefaultConfig;
|
|
3635
|
+
/**
|
|
3636
|
+
* Create a Tree with given config props
|
|
3637
|
+
* @param config - an optional tree config
|
|
3638
|
+
* @returns a TreeWidget
|
|
3639
|
+
*/
|
|
3640
|
+
const export_createTree = createTree;
|
|
3641
|
+
|
|
3642
|
+
const _c0 = ["structure"];
|
|
3643
|
+
const _c1 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, item: a3 });
|
|
3644
|
+
function TreeDefaultStructureSlotComponent_ng_template_0_For_2_ng_template_0_Template(rf, ctx) { }
|
|
3645
|
+
function TreeDefaultStructureSlotComponent_ng_template_0_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
3646
|
+
i0.ɵɵtemplate(0, TreeDefaultStructureSlotComponent_ng_template_0_For_2_ng_template_0_Template, 0, 0, "ng-template", 3);
|
|
3647
|
+
} if (rf & 2) {
|
|
3648
|
+
const node_r1 = ctx.$implicit;
|
|
3649
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
3650
|
+
const state_r3 = ctx_r1.state;
|
|
3651
|
+
const directives_r4 = ctx_r1.directives;
|
|
3652
|
+
const api_r5 = ctx_r1.api;
|
|
3653
|
+
i0.ɵɵproperty("auSlot", state_r3.item())("auSlotProps", i0.ɵɵpureFunction4(2, _c1, state_r3, api_r5, directives_r4, node_r1));
|
|
3654
|
+
} }
|
|
3655
|
+
function TreeDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3656
|
+
i0.ɵɵelementStart(0, "ul", 2);
|
|
3657
|
+
i0.ɵɵrepeaterCreate(1, TreeDefaultStructureSlotComponent_ng_template_0_For_2_Template, 1, 7, null, 3, i0.ɵɵcomponentInstance().trackNode, true);
|
|
3658
|
+
i0.ɵɵelementEnd();
|
|
3659
|
+
} if (rf & 2) {
|
|
3660
|
+
const state_r3 = ctx.state;
|
|
3661
|
+
const directives_r4 = ctx.directives;
|
|
3662
|
+
i0.ɵɵclassMapInterpolate1("au-tree ", state_r3.className(), "");
|
|
3663
|
+
i0.ɵɵproperty("auUse", directives_r4.navigationDirective);
|
|
3664
|
+
i0.ɵɵadvance();
|
|
3665
|
+
i0.ɵɵrepeater(state_r3.normalizedNodes());
|
|
3666
|
+
} }
|
|
3667
|
+
const _c2 = ["toggle"];
|
|
3668
|
+
const _c3 = a0 => ({ item: a0 });
|
|
3669
|
+
const _c4 = (a0, a1) => [a0, a1];
|
|
3670
|
+
function TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
3671
|
+
i0.ɵɵelement(0, "button", 2);
|
|
3672
|
+
} if (rf & 2) {
|
|
3673
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3674
|
+
const directives_r2 = ctx_r0.directives;
|
|
3675
|
+
const item_r3 = ctx_r0.item;
|
|
3676
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c4, directives_r2.itemToggleDirective, i0.ɵɵpureFunction1(1, _c3, item_r3)));
|
|
3677
|
+
} }
|
|
3678
|
+
function TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
3679
|
+
i0.ɵɵelement(0, "span", 3);
|
|
3680
|
+
} }
|
|
3681
|
+
function TreeDefaultItemToggleSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3682
|
+
i0.ɵɵtemplate(0, TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_0_Template, 1, 6, "button", 2)(1, TreeDefaultItemToggleSlotComponent_ng_template_0_Conditional_1_Template, 1, 0, "span", 3);
|
|
3683
|
+
} if (rf & 2) {
|
|
3684
|
+
const item_r3 = ctx.item;
|
|
3685
|
+
i0.ɵɵconditional(item_r3.children.length > 0 ? 0 : 1);
|
|
3686
|
+
} }
|
|
3687
|
+
const _c5 = ["treeItemContent"];
|
|
3688
|
+
function TreeDefaultItemContentSlotComponent_ng_template_0_ng_template_1_Template(rf, ctx) { }
|
|
3689
|
+
function TreeDefaultItemContentSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3690
|
+
i0.ɵɵelementStart(0, "span", 2);
|
|
3691
|
+
i0.ɵɵtemplate(1, TreeDefaultItemContentSlotComponent_ng_template_0_ng_template_1_Template, 0, 0, "ng-template", 3);
|
|
3692
|
+
i0.ɵɵtext(2);
|
|
3693
|
+
i0.ɵɵelementEnd();
|
|
3694
|
+
} if (rf & 2) {
|
|
3695
|
+
const state_r1 = ctx.state;
|
|
3696
|
+
const directives_r2 = ctx.directives;
|
|
3697
|
+
const item_r3 = ctx.item;
|
|
3698
|
+
const api_r4 = ctx.api;
|
|
3699
|
+
i0.ɵɵadvance();
|
|
3700
|
+
i0.ɵɵproperty("auSlot", state_r1.itemToggle())("auSlotProps", i0.ɵɵpureFunction4(3, _c1, state_r1, api_r4, directives_r2, item_r3));
|
|
3701
|
+
i0.ɵɵadvance();
|
|
3702
|
+
i0.ɵɵtextInterpolate1(" ", item_r3.label, " ");
|
|
3703
|
+
} }
|
|
3704
|
+
const _c6 = ["treeItem"];
|
|
3705
|
+
function TreeDefaultItemSlotComponent_ng_template_0_ng_template_1_Template(rf, ctx) { }
|
|
3706
|
+
function TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_For_2_ng_template_0_Template(rf, ctx) { }
|
|
3707
|
+
function TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
3708
|
+
i0.ɵɵtemplate(0, TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_For_2_ng_template_0_Template, 0, 0, "ng-template", 3);
|
|
3709
|
+
} if (rf & 2) {
|
|
3710
|
+
const child_r1 = ctx.$implicit;
|
|
3711
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
3712
|
+
const state_r3 = ctx_r1.state;
|
|
3713
|
+
const directives_r4 = ctx_r1.directives;
|
|
3714
|
+
const api_r5 = ctx_r1.api;
|
|
3715
|
+
i0.ɵɵproperty("auSlot", state_r3.item())("auSlotProps", i0.ɵɵpureFunction4(2, _c1, state_r3, api_r5, directives_r4, child_r1));
|
|
3716
|
+
} }
|
|
3717
|
+
function TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
3718
|
+
i0.ɵɵelementStart(0, "ul", 4);
|
|
3719
|
+
i0.ɵɵrepeaterCreate(1, TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_For_2_Template, 1, 7, null, 3, i0.ɵɵcomponentInstance().trackNode, true);
|
|
3720
|
+
i0.ɵɵelementEnd();
|
|
3721
|
+
} if (rf & 2) {
|
|
3722
|
+
const item_r6 = i0.ɵɵnextContext().item;
|
|
3723
|
+
i0.ɵɵadvance();
|
|
3724
|
+
i0.ɵɵrepeater(item_r6.children);
|
|
3725
|
+
} }
|
|
3726
|
+
function TreeDefaultItemSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
3727
|
+
i0.ɵɵelementStart(0, "li", 2);
|
|
3728
|
+
i0.ɵɵtemplate(1, TreeDefaultItemSlotComponent_ng_template_0_ng_template_1_Template, 0, 0, "ng-template", 3)(2, TreeDefaultItemSlotComponent_ng_template_0_Conditional_2_Template, 3, 0, "ul", 4);
|
|
3729
|
+
i0.ɵɵelementEnd();
|
|
3730
|
+
} if (rf & 2) {
|
|
3731
|
+
const state_r3 = ctx.state;
|
|
3732
|
+
const directives_r4 = ctx.directives;
|
|
3733
|
+
const item_r6 = ctx.item;
|
|
3734
|
+
const api_r5 = ctx.api;
|
|
3735
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4, directives_r4.itemAttributesDirective, i0.ɵɵpureFunction1(4, _c3, item_r6)));
|
|
3736
|
+
i0.ɵɵadvance();
|
|
3737
|
+
i0.ɵɵproperty("auSlot", state_r3.itemContent())("auSlotProps", i0.ɵɵpureFunction4(9, _c1, state_r3, api_r5, directives_r4, item_r6));
|
|
3738
|
+
i0.ɵɵadvance();
|
|
3739
|
+
i0.ɵɵconditional(state_r3.expandedMap().get(item_r6) ? 2 : -1);
|
|
3740
|
+
} }
|
|
3741
|
+
const _c7 = ["auTree", ""];
|
|
3742
|
+
const _c8 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
3743
|
+
function TreeComponent_ng_template_0_Template(rf, ctx) { }
|
|
3744
|
+
/**
|
|
3745
|
+
* Directive to provide a template reference for tree structure.
|
|
3746
|
+
*
|
|
3747
|
+
* This directive uses a template reference to render the {@link TreeContext}.
|
|
3748
|
+
*/
|
|
3749
|
+
class TreeStructureDirective {
|
|
3750
|
+
constructor() {
|
|
3751
|
+
this.templateRef = inject((TemplateRef));
|
|
3752
|
+
}
|
|
3753
|
+
static ngTemplateContextGuard(_dir, context) {
|
|
3754
|
+
return true;
|
|
3755
|
+
}
|
|
3756
|
+
static { this.ɵfac = function TreeStructureDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeStructureDirective)(); }; }
|
|
3757
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TreeStructureDirective, selectors: [["ng-template", "auTreeStructure", ""]], standalone: true }); }
|
|
3758
|
+
}
|
|
3759
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeStructureDirective, [{
|
|
3760
|
+
type: Directive,
|
|
3761
|
+
args: [{ selector: 'ng-template[auTreeStructure]', standalone: true }]
|
|
3762
|
+
}], null, null); })();
|
|
3763
|
+
class TreeDefaultStructureSlotComponent {
|
|
3764
|
+
trackNode(index, node) {
|
|
3765
|
+
return node.label + node.level + index;
|
|
3766
|
+
}
|
|
3767
|
+
static { this.ɵfac = function TreeDefaultStructureSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeDefaultStructureSlotComponent)(); }; }
|
|
3768
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeDefaultStructureSlotComponent, selectors: [["ng-component"]], viewQuery: function TreeDefaultStructureSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3769
|
+
i0.ɵɵviewQuery(_c0, 7);
|
|
3770
|
+
} if (rf & 2) {
|
|
3771
|
+
let _t;
|
|
3772
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.structure = _t.first);
|
|
3773
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 0, consts: [["structure", ""], ["auTreeStructure", ""], ["role", "tree", 3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function TreeDefaultStructureSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3774
|
+
i0.ɵɵtemplate(0, TreeDefaultStructureSlotComponent_ng_template_0_Template, 3, 4, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
3775
|
+
} }, dependencies: [UseDirective, TreeStructureDirective, SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3776
|
+
}
|
|
3777
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeDefaultStructureSlotComponent, [{
|
|
3778
|
+
type: Component,
|
|
3779
|
+
args: [{
|
|
3780
|
+
standalone: true,
|
|
3781
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3782
|
+
imports: [UseDirective, TreeStructureDirective, SlotDirective],
|
|
3783
|
+
template: `
|
|
3784
|
+
<ng-template auTreeStructure #structure let-state="state" let-directives="directives" let-api="api">
|
|
3785
|
+
<ul role="tree" class="au-tree {{ state.className() }}" [auUse]="directives.navigationDirective">
|
|
3786
|
+
@for (node of state.normalizedNodes(); track trackNode($index, node)) {
|
|
3787
|
+
<ng-template [auSlot]="state.item()" [auSlotProps]="{state, api, directives, item: node}"></ng-template>
|
|
3788
|
+
}
|
|
3789
|
+
</ul>
|
|
3790
|
+
</ng-template>
|
|
3791
|
+
`,
|
|
3792
|
+
}]
|
|
3793
|
+
}], null, { structure: [{
|
|
3794
|
+
type: ViewChild,
|
|
3795
|
+
args: ['structure', { static: true }]
|
|
3796
|
+
}] }); })();
|
|
3797
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultStructureSlotComponent, { className: "TreeDefaultStructureSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber: 45 }); })();
|
|
3798
|
+
/**
|
|
3799
|
+
* A constant representing the default slot for tree structure.
|
|
3800
|
+
*/
|
|
3801
|
+
const treeDefaultSlotStructure = new ComponentTemplate(TreeDefaultStructureSlotComponent, 'structure');
|
|
3802
|
+
/**
|
|
3803
|
+
* Directive to provide a template reference for tree item toggle.
|
|
3804
|
+
*
|
|
3805
|
+
* This directive uses a template reference to render the {@link TreeSlotItemContext}.
|
|
3806
|
+
*/
|
|
3807
|
+
class TreeItemToggleDirective {
|
|
3808
|
+
constructor() {
|
|
3809
|
+
this.templateRef = inject((TemplateRef));
|
|
3810
|
+
}
|
|
3811
|
+
static ngTemplateContextGuard(_dir, context) {
|
|
3812
|
+
return true;
|
|
3813
|
+
}
|
|
3814
|
+
static { this.ɵfac = function TreeItemToggleDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeItemToggleDirective)(); }; }
|
|
3815
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TreeItemToggleDirective, selectors: [["ng-template", "auTreeItemToggle", ""]], standalone: true }); }
|
|
3816
|
+
}
|
|
3817
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeItemToggleDirective, [{
|
|
3818
|
+
type: Directive,
|
|
3819
|
+
args: [{ selector: 'ng-template[auTreeItemToggle]', standalone: true }]
|
|
3820
|
+
}], null, null); })();
|
|
3821
|
+
class TreeDefaultItemToggleSlotComponent {
|
|
3822
|
+
static { this.ɵfac = function TreeDefaultItemToggleSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeDefaultItemToggleSlotComponent)(); }; }
|
|
3823
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeDefaultItemToggleSlotComponent, selectors: [["ng-component"]], viewQuery: function TreeDefaultItemToggleSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3824
|
+
i0.ɵɵviewQuery(_c2, 7);
|
|
3825
|
+
} if (rf & 2) {
|
|
3826
|
+
let _t;
|
|
3827
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.toggle = _t.first);
|
|
3828
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 0, consts: [["toggle", ""], ["auTreeItemToggle", ""], [3, "auUse"], [1, "au-tree-expand-icon-placeholder"]], template: function TreeDefaultItemToggleSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3829
|
+
i0.ɵɵtemplate(0, TreeDefaultItemToggleSlotComponent_ng_template_0_Template, 2, 1, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
3830
|
+
} }, dependencies: [UseDirective, TreeItemToggleDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3831
|
+
}
|
|
3832
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeDefaultItemToggleSlotComponent, [{
|
|
3833
|
+
type: Component,
|
|
3834
|
+
args: [{
|
|
3835
|
+
standalone: true,
|
|
3836
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3837
|
+
imports: [UseDirective, TreeItemToggleDirective],
|
|
3838
|
+
template: `
|
|
3839
|
+
<ng-template auTreeItemToggle #toggle let-directives="directives" let-item="item">
|
|
3840
|
+
@if (item.children.length > 0) {
|
|
3841
|
+
<button [auUse]="[directives.itemToggleDirective, {item}]"></button>
|
|
3842
|
+
} @else {
|
|
3843
|
+
<span class="au-tree-expand-icon-placeholder"></span>
|
|
3844
|
+
}
|
|
3845
|
+
</ng-template>
|
|
3846
|
+
`,
|
|
3847
|
+
}]
|
|
3848
|
+
}], null, { toggle: [{
|
|
3849
|
+
type: ViewChild,
|
|
3850
|
+
args: ['toggle', { static: true }]
|
|
3851
|
+
}] }); })();
|
|
3852
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemToggleSlotComponent, { className: "TreeDefaultItemToggleSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber: 85 }); })();
|
|
3853
|
+
/**
|
|
3854
|
+
* A constant representing the default slot for tree item toggle.
|
|
3855
|
+
*/
|
|
3856
|
+
const treeDefaultItemToggle = new ComponentTemplate(TreeDefaultItemToggleSlotComponent, 'toggle');
|
|
3857
|
+
/**
|
|
3858
|
+
* Directive to provide a template reference for tree item content.
|
|
3859
|
+
*
|
|
3860
|
+
* This directive uses a template reference to render the {@link TreeSlotItemContext}.
|
|
3861
|
+
*/
|
|
3862
|
+
class TreeItemContentDirective {
|
|
3863
|
+
constructor() {
|
|
3864
|
+
this.templateRef = inject((TemplateRef));
|
|
3865
|
+
}
|
|
3866
|
+
static ngTemplateContextGuard(_dir, context) {
|
|
3867
|
+
return true;
|
|
3868
|
+
}
|
|
3869
|
+
static { this.ɵfac = function TreeItemContentDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeItemContentDirective)(); }; }
|
|
3870
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TreeItemContentDirective, selectors: [["ng-template", "auTreeItemContent", ""]], standalone: true }); }
|
|
3871
|
+
}
|
|
3872
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeItemContentDirective, [{
|
|
3873
|
+
type: Directive,
|
|
3874
|
+
args: [{ selector: 'ng-template[auTreeItemContent]', standalone: true }]
|
|
3875
|
+
}], null, null); })();
|
|
3876
|
+
class TreeDefaultItemContentSlotComponent {
|
|
3877
|
+
static { this.ɵfac = function TreeDefaultItemContentSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeDefaultItemContentSlotComponent)(); }; }
|
|
3878
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeDefaultItemContentSlotComponent, selectors: [["ng-component"]], viewQuery: function TreeDefaultItemContentSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3879
|
+
i0.ɵɵviewQuery(_c5, 7);
|
|
3880
|
+
} if (rf & 2) {
|
|
3881
|
+
let _t;
|
|
3882
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.treeItemContent = _t.first);
|
|
3883
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 0, consts: [["treeItemContent", ""], ["auTreeItem", ""], [1, "au-tree-item"], [3, "auSlot", "auSlotProps"]], template: function TreeDefaultItemContentSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3884
|
+
i0.ɵɵtemplate(0, TreeDefaultItemContentSlotComponent_ng_template_0_Template, 3, 8, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
3885
|
+
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3886
|
+
}
|
|
3887
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeDefaultItemContentSlotComponent, [{
|
|
3888
|
+
type: Component,
|
|
3889
|
+
args: [{
|
|
3890
|
+
standalone: true,
|
|
3891
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3892
|
+
imports: [UseDirective, SlotDirective, TreeItemContentDirective],
|
|
3893
|
+
template: `
|
|
3894
|
+
<ng-template auTreeItem #treeItemContent let-state="state" let-directives="directives" let-item="item" let-api="api">
|
|
3895
|
+
<span class="au-tree-item">
|
|
3896
|
+
<ng-template [auSlot]="state.itemToggle()" [auSlotProps]="{state, api, directives, item}"></ng-template>
|
|
3897
|
+
{{ item.label }}
|
|
3898
|
+
</span>
|
|
3899
|
+
</ng-template>
|
|
3900
|
+
`,
|
|
3901
|
+
}]
|
|
3902
|
+
}], null, { treeItemContent: [{
|
|
3903
|
+
type: ViewChild,
|
|
3904
|
+
args: ['treeItemContent', { static: true }]
|
|
3905
|
+
}] }); })();
|
|
3906
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemContentSlotComponent, { className: "TreeDefaultItemContentSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber: 120 }); })();
|
|
3907
|
+
/**
|
|
3908
|
+
* A constant representing the default slot for tree item.
|
|
3909
|
+
*/
|
|
3910
|
+
const treeDefaultSlotItemContent = new ComponentTemplate(TreeDefaultItemContentSlotComponent, 'treeItemContent');
|
|
3911
|
+
/**
|
|
3912
|
+
* Directive to provide a template reference for tree item.
|
|
3913
|
+
*
|
|
3914
|
+
* This directive uses a template reference to render the {@link TreeSlotItemContext}.
|
|
3915
|
+
*/
|
|
3916
|
+
class TreeItemDirective {
|
|
3917
|
+
constructor() {
|
|
3918
|
+
this.templateRef = inject((TemplateRef));
|
|
3919
|
+
}
|
|
3920
|
+
static ngTemplateContextGuard(_dir, context) {
|
|
3921
|
+
return true;
|
|
3922
|
+
}
|
|
3923
|
+
static { this.ɵfac = function TreeItemDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeItemDirective)(); }; }
|
|
3924
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TreeItemDirective, selectors: [["ng-template", "auTreeItem", ""]], standalone: true }); }
|
|
3925
|
+
}
|
|
3926
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeItemDirective, [{
|
|
3927
|
+
type: Directive,
|
|
3928
|
+
args: [{ selector: 'ng-template[auTreeItem]', standalone: true }]
|
|
3929
|
+
}], null, null); })();
|
|
3930
|
+
class TreeDefaultItemSlotComponent {
|
|
3931
|
+
trackNode(index, node) {
|
|
3932
|
+
return node.label + node.level + index;
|
|
3933
|
+
}
|
|
3934
|
+
static { this.ɵfac = function TreeDefaultItemSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeDefaultItemSlotComponent)(); }; }
|
|
3935
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeDefaultItemSlotComponent, selectors: [["ng-component"]], viewQuery: function TreeDefaultItemSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3936
|
+
i0.ɵɵviewQuery(_c6, 7);
|
|
3937
|
+
} if (rf & 2) {
|
|
3938
|
+
let _t;
|
|
3939
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.treeItem = _t.first);
|
|
3940
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 0, consts: [["treeItem", ""], ["auTreeItem", ""], [3, "auUse"], [3, "auSlot", "auSlotProps"], ["role", "group"]], template: function TreeDefaultItemSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3941
|
+
i0.ɵɵtemplate(0, TreeDefaultItemSlotComponent_ng_template_0_Template, 3, 14, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
3942
|
+
} }, dependencies: [UseDirective, SlotDirective, TreeItemDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3943
|
+
}
|
|
3944
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeDefaultItemSlotComponent, [{
|
|
3945
|
+
type: Component,
|
|
3946
|
+
args: [{
|
|
3947
|
+
standalone: true,
|
|
3948
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3949
|
+
imports: [UseDirective, SlotDirective, TreeItemDirective],
|
|
3950
|
+
template: `
|
|
3951
|
+
<ng-template auTreeItem #treeItem let-state="state" let-directives="directives" let-item="item" let-api="api">
|
|
3952
|
+
<li [auUse]="[directives.itemAttributesDirective, {item}]">
|
|
3953
|
+
<ng-template [auSlot]="state.itemContent()" [auSlotProps]="{state, api, directives, item}"></ng-template>
|
|
3954
|
+
@if (state.expandedMap().get(item)) {
|
|
3955
|
+
<ul role="group">
|
|
3956
|
+
@for (child of item.children; track trackNode($index, child)) {
|
|
3957
|
+
<ng-template [auSlot]="state.item()" [auSlotProps]="{state, api, directives, item: child}"></ng-template>
|
|
3958
|
+
}
|
|
3959
|
+
</ul>
|
|
3960
|
+
}
|
|
3961
|
+
</li>
|
|
3962
|
+
</ng-template>
|
|
3963
|
+
`,
|
|
3964
|
+
}]
|
|
3965
|
+
}], null, { treeItem: [{
|
|
3966
|
+
type: ViewChild,
|
|
3967
|
+
args: ['treeItem', { static: true }]
|
|
3968
|
+
}] }); })();
|
|
3969
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemSlotComponent, { className: "TreeDefaultItemSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber: 164 }); })();
|
|
3970
|
+
/**
|
|
3971
|
+
* A constant representing the default slot for tree item.
|
|
3972
|
+
*/
|
|
3973
|
+
const treeDefaultSlotItem = new ComponentTemplate(TreeDefaultItemSlotComponent, 'treeItem');
|
|
3974
|
+
/**
|
|
3975
|
+
* TreeComponent is an Angular component that extends the BaseWidgetDirective
|
|
3976
|
+
* to provide a customizable tree widget. This component allows for various
|
|
3977
|
+
* configurations and customizations through its inputs and outputs.
|
|
3978
|
+
*/
|
|
3979
|
+
class TreeComponent extends BaseWidgetDirective {
|
|
3980
|
+
constructor() {
|
|
3981
|
+
super(callWidgetFactory$1({
|
|
3982
|
+
factory: export_createTree,
|
|
3983
|
+
widgetName: 'tree',
|
|
3984
|
+
defaultConfig: {
|
|
3985
|
+
structure: treeDefaultSlotStructure,
|
|
3986
|
+
item: treeDefaultSlotItem,
|
|
3987
|
+
itemContent: treeDefaultSlotItemContent,
|
|
3988
|
+
itemToggle: treeDefaultItemToggle,
|
|
3989
|
+
},
|
|
3990
|
+
events: {
|
|
3991
|
+
onExpandToggle: (item) => this.expandToggle.emit(item),
|
|
3992
|
+
},
|
|
3993
|
+
slotTemplates: () => ({
|
|
3994
|
+
structure: this.slotStructureFromContent?.templateRef,
|
|
3995
|
+
item: this.slotItemFromContent?.templateRef,
|
|
3996
|
+
itemContent: this.slotItemContentFromContent?.templateRef,
|
|
3997
|
+
itemToggle: this.slotItemToggleFromContent?.templateRef,
|
|
3998
|
+
}),
|
|
3999
|
+
}));
|
|
4000
|
+
/**
|
|
4001
|
+
* An event emitted when the user toggles the expand of the TreeItem.
|
|
4002
|
+
*
|
|
4003
|
+
* Event payload is equal to the TreeItem clicked.
|
|
4004
|
+
*
|
|
4005
|
+
* @defaultValue
|
|
4006
|
+
* ```ts
|
|
4007
|
+
* () => {}
|
|
4008
|
+
* ```
|
|
4009
|
+
*/
|
|
4010
|
+
this.expandToggle = new EventEmitter();
|
|
4011
|
+
}
|
|
4012
|
+
static { this.ɵfac = function TreeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeComponent)(); }; }
|
|
4013
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeComponent, selectors: [["", "auTree", ""]], contentQueries: function TreeComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
4014
|
+
i0.ɵɵcontentQuery(dirIndex, TreeItemContentDirective, 5);
|
|
4015
|
+
i0.ɵɵcontentQuery(dirIndex, TreeStructureDirective, 5);
|
|
4016
|
+
i0.ɵɵcontentQuery(dirIndex, TreeItemToggleDirective, 5);
|
|
4017
|
+
i0.ɵɵcontentQuery(dirIndex, TreeItemDirective, 5);
|
|
4018
|
+
} if (rf & 2) {
|
|
4019
|
+
let _t;
|
|
4020
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotItemContentFromContent = _t.first);
|
|
4021
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
4022
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotItemToggleFromContent = _t.first);
|
|
4023
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotItemFromContent = _t.first);
|
|
4024
|
+
} }, inputs: { ariaLabel: [0, "auAriaLabel", "ariaLabel"], nodes: [0, "auNodes", "nodes"], className: [0, "auClassName", "className"], navSelector: [0, "auNavSelector", "navSelector"], ariaLabelToggleFn: [0, "auAriaLabelToggleFn", "ariaLabelToggleFn"], item: [0, "auItemContent", "item"], structure: [0, "auStructure", "structure"], toggle: [0, "auToggle", "toggle"], root: [0, "auItem", "root"] }, outputs: { expandToggle: "auExpandToggle" }, standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c7, decls: 1, vars: 6, consts: [[3, "auSlot", "auSlotProps"]], template: function TreeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4025
|
+
i0.ɵɵtemplate(0, TreeComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
4026
|
+
} if (rf & 2) {
|
|
4027
|
+
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2, _c8, ctx.state, ctx.api, ctx.directives));
|
|
4028
|
+
} }, dependencies: [SlotDirective], encapsulation: 2 }); }
|
|
4029
|
+
}
|
|
4030
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeComponent, [{
|
|
4031
|
+
type: Component,
|
|
4032
|
+
args: [{
|
|
4033
|
+
selector: '[auTree]',
|
|
4034
|
+
standalone: true,
|
|
4035
|
+
imports: [SlotDirective],
|
|
4036
|
+
template: ` <ng-template [auSlot]="state.structure()" [auSlotProps]="{state, api, directives}"></ng-template> `,
|
|
4037
|
+
}]
|
|
4038
|
+
}], () => [], { ariaLabel: [{
|
|
4039
|
+
type: Input,
|
|
4040
|
+
args: ['auAriaLabel']
|
|
4041
|
+
}], nodes: [{
|
|
4042
|
+
type: Input,
|
|
4043
|
+
args: ['auNodes']
|
|
4044
|
+
}], className: [{
|
|
4045
|
+
type: Input,
|
|
4046
|
+
args: ['auClassName']
|
|
4047
|
+
}], navSelector: [{
|
|
4048
|
+
type: Input,
|
|
4049
|
+
args: ['auNavSelector']
|
|
4050
|
+
}], ariaLabelToggleFn: [{
|
|
4051
|
+
type: Input,
|
|
4052
|
+
args: ['auAriaLabelToggleFn']
|
|
4053
|
+
}], expandToggle: [{
|
|
4054
|
+
type: Output,
|
|
4055
|
+
args: ['auExpandToggle']
|
|
4056
|
+
}], item: [{
|
|
4057
|
+
type: Input,
|
|
4058
|
+
args: ['auItemContent']
|
|
4059
|
+
}], slotItemContentFromContent: [{
|
|
4060
|
+
type: ContentChild,
|
|
4061
|
+
args: [TreeItemContentDirective, { static: false }]
|
|
4062
|
+
}], structure: [{
|
|
4063
|
+
type: Input,
|
|
4064
|
+
args: ['auStructure']
|
|
4065
|
+
}], slotStructureFromContent: [{
|
|
4066
|
+
type: ContentChild,
|
|
4067
|
+
args: [TreeStructureDirective, { static: false }]
|
|
4068
|
+
}], toggle: [{
|
|
4069
|
+
type: Input,
|
|
4070
|
+
args: ['auToggle']
|
|
4071
|
+
}], slotItemToggleFromContent: [{
|
|
4072
|
+
type: ContentChild,
|
|
4073
|
+
args: [TreeItemToggleDirective, { static: false }]
|
|
4074
|
+
}], root: [{
|
|
4075
|
+
type: Input,
|
|
4076
|
+
args: ['auItem']
|
|
4077
|
+
}], slotItemFromContent: [{
|
|
4078
|
+
type: ContentChild,
|
|
4079
|
+
args: [TreeItemDirective, { static: false }]
|
|
4080
|
+
}] }); })();
|
|
4081
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeComponent, { className: "TreeComponent", filePath: "components/tree/tree.component.ts", lineNumber: 188 }); })();
|
|
4082
|
+
|
|
3629
4083
|
/* istanbul ignore next */
|
|
3630
4084
|
const components = [
|
|
3631
4085
|
SlotDirective,
|
|
@@ -3671,6 +4125,11 @@ const components = [
|
|
|
3671
4125
|
ToastBodyDirective,
|
|
3672
4126
|
ToastHeaderDirective,
|
|
3673
4127
|
CollapseDirective,
|
|
4128
|
+
TreeComponent,
|
|
4129
|
+
TreeStructureDirective,
|
|
4130
|
+
TreeItemToggleDirective,
|
|
4131
|
+
TreeItemContentDirective,
|
|
4132
|
+
TreeItemDirective,
|
|
3674
4133
|
];
|
|
3675
4134
|
class AgnosUIAngularModule {
|
|
3676
4135
|
static { this.ɵfac = function AgnosUIAngularModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AgnosUIAngularModule)(); }; }
|
|
@@ -3727,7 +4186,12 @@ class AgnosUIAngularModule {
|
|
|
3727
4186
|
ToastStructureDirective,
|
|
3728
4187
|
ToastBodyDirective,
|
|
3729
4188
|
ToastHeaderDirective,
|
|
3730
|
-
CollapseDirective
|
|
4189
|
+
CollapseDirective,
|
|
4190
|
+
TreeComponent,
|
|
4191
|
+
TreeStructureDirective,
|
|
4192
|
+
TreeItemToggleDirective,
|
|
4193
|
+
TreeItemContentDirective,
|
|
4194
|
+
TreeItemDirective], exports: [SlotDirective,
|
|
3731
4195
|
SelectComponent,
|
|
3732
4196
|
SelectBadgeLabelDirective,
|
|
3733
4197
|
SelectItemLabelDirective,
|
|
@@ -3769,7 +4233,12 @@ class AgnosUIAngularModule {
|
|
|
3769
4233
|
ToastStructureDirective,
|
|
3770
4234
|
ToastBodyDirective,
|
|
3771
4235
|
ToastHeaderDirective,
|
|
3772
|
-
CollapseDirective
|
|
4236
|
+
CollapseDirective,
|
|
4237
|
+
TreeComponent,
|
|
4238
|
+
TreeStructureDirective,
|
|
4239
|
+
TreeItemToggleDirective,
|
|
4240
|
+
TreeItemContentDirective,
|
|
4241
|
+
TreeItemDirective] }); })();
|
|
3773
4242
|
|
|
3774
4243
|
/**
|
|
3775
4244
|
* Service to handle the opening and management of modal components.
|
|
@@ -3779,7 +4248,15 @@ class ModalService {
|
|
|
3779
4248
|
this._injector = inject(Injector);
|
|
3780
4249
|
this._applicationRef = inject(ApplicationRef);
|
|
3781
4250
|
}
|
|
3782
|
-
|
|
4251
|
+
/**
|
|
4252
|
+
* Opens a modal dialog with the specified options.
|
|
4253
|
+
*
|
|
4254
|
+
* @template Data - The type of data that the modal will handle.
|
|
4255
|
+
* @param options - The options to configure the modal.
|
|
4256
|
+
* @param injector - The injector to use when creating the modal component
|
|
4257
|
+
* @returns A promise that resolves when the modal is closed.
|
|
4258
|
+
*/
|
|
4259
|
+
async open(options, injector = this._injector) {
|
|
3783
4260
|
const component = createComponent(ModalComponent, {
|
|
3784
4261
|
environmentInjector: injector.get(EnvironmentInjector),
|
|
3785
4262
|
elementInjector: injector,
|
|
@@ -3825,5 +4302,5 @@ class ModalService {
|
|
|
3825
4302
|
* Generated bundle index. Do not edit.
|
|
3826
4303
|
*/
|
|
3827
4304
|
|
|
3828
|
-
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertStructureDirective, CollapseDirective, 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, ToastBodyDirective, ToastComponent, ToastHeaderDirective, ToastStructureDirective, 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_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, injectWidgetConfig, injectWidgetsConfig, export_modalCloseButtonClick as modalCloseButtonClick, modalDefaultSlotHeader, modalDefaultSlotStructure, export_modalOutsideClick as modalOutsideClick, paginationDefaultSlotPages, paginationDefaultSlotStructure, progressbarDefaultSlotStructure, provideWidgetsConfig, sliderDefaultSlotHandle, sliderDefaultSlotStructure, toastDefaultSlotStructure, widgetsConfigInjectionToken };
|
|
4305
|
+
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertStructureDirective, CollapseDirective, 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, 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, toastDefaultSlotStructure, treeDefaultItemToggle, treeDefaultSlotItem, treeDefaultSlotItemContent, treeDefaultSlotStructure, widgetsConfigInjectionToken };
|
|
3829
4306
|
//# sourceMappingURL=agnos-ui-angular-bootstrap.mjs.map
|