@agnos-ui/angular-bootstrap 0.3.1 → 0.4.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 +1 -1
- package/components/accordion/accordion.component.d.ts +63 -97
- package/components/accordion/accordion.d.ts +5 -10
- package/components/accordion/accordion.gen.d.ts +342 -0
- package/components/alert/alert.component.d.ts +11 -5
- package/components/alert/alert.d.ts +4 -6
- package/components/alert/alert.gen.d.ts +118 -0
- package/components/modal/modal.component.d.ts +24 -8
- package/components/modal/modal.d.ts +5 -8
- package/components/modal/modal.gen.d.ts +238 -0
- package/components/pagination/pagination.component.d.ts +42 -0
- package/components/pagination/pagination.d.ts +4 -7
- package/components/pagination/pagination.gen.d.ts +394 -0
- package/components/progressbar/progressbar.component.d.ts +8 -2
- package/components/progressbar/progressbar.d.ts +4 -6
- package/components/progressbar/progressbar.gen.d.ts +126 -0
- package/components/rating/rating.component.d.ts +6 -3
- package/components/rating/rating.d.ts +4 -5
- package/components/rating/rating.gen.d.ts +179 -0
- package/components/select/select.component.d.ts +16 -8
- package/components/select/select.d.ts +4 -7
- package/components/select/select.gen.d.ts +291 -0
- package/components/slider/slider.component.d.ts +13 -4
- package/components/slider/slider.d.ts +4 -8
- package/components/slider/slider.gen.d.ts +293 -0
- package/components/toast/toast.component.d.ts +15 -6
- package/components/toast/toast.d.ts +4 -6
- package/components/toast/toast.gen.d.ts +145 -0
- package/config.d.ts +3 -5
- package/config.gen.d.ts +47 -0
- package/esm2022/agnos-ui-angular.module.mjs +5 -5
- package/esm2022/components/accordion/accordion.component.mjs +121 -155
- package/esm2022/components/accordion/accordion.gen.mjs +2 -0
- package/esm2022/components/accordion/accordion.mjs +4 -3
- package/esm2022/components/alert/alert.component.mjs +20 -20
- package/esm2022/components/alert/alert.gen.mjs +2 -0
- package/esm2022/components/alert/alert.mjs +3 -3
- package/esm2022/components/modal/modal.component.mjs +18 -18
- package/esm2022/components/modal/modal.gen.mjs +2 -0
- package/esm2022/components/modal/modal.mjs +4 -3
- package/esm2022/components/pagination/pagination.component.mjs +25 -25
- package/esm2022/components/pagination/pagination.gen.mjs +2 -0
- package/esm2022/components/pagination/pagination.mjs +3 -3
- package/esm2022/components/progressbar/progressbar.component.mjs +12 -12
- package/esm2022/components/progressbar/progressbar.gen.mjs +2 -0
- package/esm2022/components/progressbar/progressbar.mjs +3 -3
- package/esm2022/components/rating/rating.component.mjs +11 -12
- package/esm2022/components/rating/rating.gen.mjs +2 -0
- package/esm2022/components/rating/rating.mjs +3 -3
- package/esm2022/components/select/select.component.mjs +24 -24
- package/esm2022/components/select/select.gen.mjs +2 -0
- package/esm2022/components/select/select.mjs +3 -3
- package/esm2022/components/slider/slider.component.mjs +42 -42
- package/esm2022/components/slider/slider.gen.mjs +2 -0
- package/esm2022/components/slider/slider.mjs +3 -3
- package/esm2022/components/toast/toast.component.mjs +31 -31
- package/esm2022/components/toast/toast.gen.mjs +2 -0
- package/esm2022/components/toast/toast.mjs +3 -3
- package/esm2022/config.gen.mjs +2 -0
- package/esm2022/config.mjs +1 -1
- package/esm2022/index.mjs +1 -1
- package/fesm2022/agnos-ui-angular-bootstrap.mjs +319 -362
- package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
- package/index.d.ts +9 -9
- package/package.json +7 -7
|
@@ -1,42 +1,26 @@
|
|
|
1
|
-
import { widgetsConfigFactory, SlotDirective, UseDirective, ComponentTemplate, BaseWidgetDirective, auBooleanAttribute, UseMultiDirective,
|
|
1
|
+
import { widgetsConfigFactory, SlotDirective, UseDirective, ComponentTemplate, BaseWidgetDirective, auBooleanAttribute, UseMultiDirective, ContentAsSlotDirective, auNumberAttribute, useDirectiveForHost } from '@agnos-ui/angular-headless';
|
|
2
2
|
export * from '@agnos-ui/angular-headless';
|
|
3
|
+
export { modalCloseButtonClick, modalOutsideClick } from '@agnos-ui/angular-headless';
|
|
3
4
|
import * as i0 from '@angular/core';
|
|
4
5
|
import { InjectionToken, inject, TemplateRef, Directive, Component, ChangeDetectionStrategy, ViewChild, EventEmitter, Input, ContentChild, Output, ViewEncapsulation, forwardRef, NgZone, NgModule, Injector, ApplicationRef, createComponent, EnvironmentInjector, Injectable } from '@angular/core';
|
|
5
|
-
import { createModal as createModal$1 } from '@agnos-ui/core-bootstrap/components/modal';
|
|
6
|
-
export * from '@agnos-ui/core-bootstrap/components/modal';
|
|
7
|
-
export { getModalDefaultConfig } from '@agnos-ui/core-bootstrap/components/modal';
|
|
6
|
+
import { createModal as createModal$1, getModalDefaultConfig as getModalDefaultConfig$1 } from '@agnos-ui/core-bootstrap/components/modal';
|
|
8
7
|
import { writable } from '@amadeus-it-group/tansu';
|
|
9
|
-
import { createPagination as createPagination$1 } from '@agnos-ui/core-bootstrap/components/pagination';
|
|
10
|
-
export * from '@agnos-ui/core-bootstrap/components/pagination';
|
|
11
|
-
export { getPaginationDefaultConfig } from '@agnos-ui/core-bootstrap/components/pagination';
|
|
8
|
+
import { createPagination as createPagination$1, getPaginationDefaultConfig as getPaginationDefaultConfig$1 } from '@agnos-ui/core-bootstrap/components/pagination';
|
|
12
9
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
13
|
-
import { createRating as createRating$1 } from '@agnos-ui/core-bootstrap/components/rating';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { createSelect as createSelect$1 } from '@agnos-ui/core-bootstrap/components/select';
|
|
17
|
-
export * from '@agnos-ui/core-bootstrap/components/select';
|
|
18
|
-
export { getSelectDefaultConfig } from '@agnos-ui/core-bootstrap/components/select';
|
|
19
|
-
import { createAlert as createAlert$1 } from '@agnos-ui/core-bootstrap/components/alert';
|
|
20
|
-
export * from '@agnos-ui/core-bootstrap/components/alert';
|
|
21
|
-
export { getAlertDefaultConfig } from '@agnos-ui/core-bootstrap/components/alert';
|
|
10
|
+
import { createRating as createRating$1, getRatingDefaultConfig as getRatingDefaultConfig$1 } from '@agnos-ui/core-bootstrap/components/rating';
|
|
11
|
+
import { createSelect as createSelect$1, getSelectDefaultConfig as getSelectDefaultConfig$1 } from '@agnos-ui/core-bootstrap/components/select';
|
|
12
|
+
import { createAlert as createAlert$1, getAlertDefaultConfig as getAlertDefaultConfig$1 } from '@agnos-ui/core-bootstrap/components/alert';
|
|
22
13
|
import { NgTemplateOutlet, NgClass } from '@angular/common';
|
|
23
|
-
import { createAccordion as createAccordion$1 } from '@agnos-ui/core-bootstrap/components/accordion';
|
|
24
|
-
export * from '@agnos-ui/core-bootstrap/components/accordion';
|
|
25
|
-
export { createAccordionItem, getAccordionDefaultConfig } from '@agnos-ui/core-bootstrap/components/accordion';
|
|
14
|
+
import { createAccordion as createAccordion$1, getAccordionDefaultConfig as getAccordionDefaultConfig$1, createAccordionItem as createAccordionItem$1 } from '@agnos-ui/core-bootstrap/components/accordion';
|
|
26
15
|
import { take } from 'rxjs';
|
|
27
|
-
import { createSlider as createSlider$1 } from '@agnos-ui/core-bootstrap/components/slider';
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
import { createProgressbar as createProgressbar$1 } from '@agnos-ui/core-bootstrap/components/progressbar';
|
|
31
|
-
export * from '@agnos-ui/core-bootstrap/components/progressbar';
|
|
32
|
-
export { getProgressbarDefaultConfig } from '@agnos-ui/core-bootstrap/components/progressbar';
|
|
33
|
-
import { createToast as createToast$1 } from '@agnos-ui/core-bootstrap/components/toast';
|
|
34
|
-
export * from '@agnos-ui/core-bootstrap/components/toast';
|
|
35
|
-
export { getToastDefaultConfig } from '@agnos-ui/core-bootstrap/components/toast';
|
|
16
|
+
import { createSlider as createSlider$1, getSliderDefaultConfig as getSliderDefaultConfig$1 } from '@agnos-ui/core-bootstrap/components/slider';
|
|
17
|
+
import { createProgressbar as createProgressbar$1, getProgressbarDefaultConfig as getProgressbarDefaultConfig$1 } from '@agnos-ui/core-bootstrap/components/progressbar';
|
|
18
|
+
import { createToast as createToast$1, getToastDefaultConfig as getToastDefaultConfig$1 } from '@agnos-ui/core-bootstrap/components/toast';
|
|
36
19
|
export * from '@agnos-ui/core-bootstrap/services/transitions';
|
|
37
20
|
export * from '@agnos-ui/core-bootstrap/types';
|
|
38
21
|
|
|
39
22
|
const createModal = createModal$1;
|
|
23
|
+
const getModalDefaultConfig = getModalDefaultConfig$1;
|
|
40
24
|
|
|
41
25
|
const widgetFactories = widgetsConfigFactory(new InjectionToken('bootstrapWidgetsConfig'));
|
|
42
26
|
const { widgetsConfigInjectionToken, provideWidgetsConfig, injectWidgetConfig, injectWidgetsConfig, callWidgetFactory } = widgetFactories;
|
|
@@ -62,7 +46,7 @@ function ModalDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
62
46
|
i0.ɵɵadvance();
|
|
63
47
|
i0.ɵɵproperty("auSlot", state_r2.slotTitle)("auSlotProps", i0.ɵɵpureFunction2(3, _c2$8, state_r2, widget_r1));
|
|
64
48
|
i0.ɵɵadvance();
|
|
65
|
-
i0.ɵɵconditional(
|
|
49
|
+
i0.ɵɵconditional(state_r2.closeButton ? 2 : -1);
|
|
66
50
|
} }
|
|
67
51
|
function ModalDefaultSlotsComponent_ng_template_2_Conditional_0_ng_template_1_Template(rf, ctx) { }
|
|
68
52
|
function ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -98,13 +82,13 @@ function ModalDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1
|
|
|
98
82
|
} if (rf & 2) {
|
|
99
83
|
const state_r4 = ctx.state;
|
|
100
84
|
const widget_r5 = ctx.widget;
|
|
101
|
-
i0.ɵɵconditional(
|
|
85
|
+
i0.ɵɵconditional(state_r4.slotTitle ? 0 : -1);
|
|
102
86
|
i0.ɵɵadvance(2);
|
|
103
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
87
|
+
i0.ɵɵproperty("auSlot", state_r4.children)("auSlotProps", i0.ɵɵpureFunction2(4, _c2$8, state_r4, widget_r5));
|
|
104
88
|
i0.ɵɵadvance();
|
|
105
|
-
i0.ɵɵconditional(
|
|
89
|
+
i0.ɵɵconditional(state_r4.slotFooter ? 3 : -1);
|
|
106
90
|
} }
|
|
107
|
-
const _c3$
|
|
91
|
+
const _c3$7 = ["auModal", ""];
|
|
108
92
|
const _c4$3 = ["*"];
|
|
109
93
|
const _c5$2 = (a0, a1) => [a0, a1];
|
|
110
94
|
function ModalComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -252,7 +236,7 @@ class ModalDefaultSlotsComponent {
|
|
|
252
236
|
</div>
|
|
253
237
|
}
|
|
254
238
|
<div class="modal-body">
|
|
255
|
-
<ng-template [auSlot]="state.
|
|
239
|
+
<ng-template [auSlot]="state.children" [auSlotProps]="{state, widget}"></ng-template>
|
|
256
240
|
</div>
|
|
257
241
|
@if (state.slotFooter) {
|
|
258
242
|
<div class="modal-footer">
|
|
@@ -293,7 +277,7 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
293
277
|
*/
|
|
294
278
|
this.visibleChange = new EventEmitter();
|
|
295
279
|
/**
|
|
296
|
-
* Event to be triggered when the modal is about to be closed (i.e. the
|
|
280
|
+
* Event to be triggered when the modal is about to be closed (i.e. the ModalApi.closeclose method was called).
|
|
297
281
|
*/
|
|
298
282
|
this.beforeClose = new EventEmitter();
|
|
299
283
|
/**
|
|
@@ -319,7 +303,7 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
319
303
|
}
|
|
320
304
|
ngAfterContentChecked() {
|
|
321
305
|
this._widget.patchSlots({
|
|
322
|
-
|
|
306
|
+
children: this.slotDefaultFromContent?.templateRef,
|
|
323
307
|
slotFooter: this.slotFooterFromContent?.templateRef,
|
|
324
308
|
slotHeader: this.slotHeaderFromContent?.templateRef,
|
|
325
309
|
slotStructure: this.slotStructureFromContent?.templateRef,
|
|
@@ -340,16 +324,16 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
340
324
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotTitleFromContent = _t.first);
|
|
341
325
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotDefaultFromContent = _t.first);
|
|
342
326
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotFooterFromContent = _t.first);
|
|
343
|
-
} }, inputs: { animated: [
|
|
327
|
+
} }, 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], slotStructure: [0, "auSlotStructure", "slotStructure"], slotHeader: [0, "auSlotHeader", "slotHeader"], slotTitle: [0, "auSlotTitle", "slotTitle"], children: [0, "auChildren", "children"], slotFooter: [0, "auSlotFooter", "slotFooter"], contentData: [0, "auContentData", "contentData"] }, outputs: { visibleChange: "auVisibleChange", beforeClose: "auBeforeClose", hidden: "auHidden", shown: "auShown" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c3$7, ngContentSelectors: _c4$3, decls: 3, vars: 3, consts: [[3, "auContentAsSlot"], [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) {
|
|
344
328
|
i0.ɵɵprojectionDef();
|
|
345
329
|
i0.ɵɵtemplate(0, ModalComponent_ng_template_0_Template, 1, 0, "ng-template", 0)(1, ModalComponent_Conditional_1_Template, 1, 4, "div", 1)(2, ModalComponent_Conditional_2_Template, 4, 12, "div", 2);
|
|
346
330
|
} if (rf & 2) {
|
|
347
|
-
i0.ɵɵproperty("
|
|
331
|
+
i0.ɵɵproperty("auContentAsSlot", ctx.defaultSlots);
|
|
348
332
|
i0.ɵɵadvance();
|
|
349
|
-
i0.ɵɵconditional(
|
|
333
|
+
i0.ɵɵconditional(!ctx.state().backdropHidden ? 1 : -1);
|
|
350
334
|
i0.ɵɵadvance();
|
|
351
|
-
i0.ɵɵconditional(
|
|
352
|
-
} }, dependencies: [UseMultiDirective, SlotDirective,
|
|
335
|
+
i0.ɵɵconditional(!ctx.state().hidden ? 2 : -1);
|
|
336
|
+
} }, dependencies: [UseMultiDirective, SlotDirective, ContentAsSlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
353
337
|
}
|
|
354
338
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalComponent, [{
|
|
355
339
|
type: Component,
|
|
@@ -357,9 +341,9 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
357
341
|
selector: '[auModal]',
|
|
358
342
|
standalone: true,
|
|
359
343
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
360
|
-
imports: [UseMultiDirective, SlotDirective,
|
|
344
|
+
imports: [UseMultiDirective, SlotDirective, ContentAsSlotDirective],
|
|
361
345
|
template: `
|
|
362
|
-
<ng-template [
|
|
346
|
+
<ng-template [auContentAsSlot]="defaultSlots"><ng-content></ng-content></ng-template>
|
|
363
347
|
@if (!state().backdropHidden) {
|
|
364
348
|
<div class="modal-backdrop" [auUseMulti]="[widget.directives.backdropPortalDirective, widget.directives.backdropDirective]"></div>
|
|
365
349
|
}
|
|
@@ -428,9 +412,9 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
428
412
|
}], slotTitleFromContent: [{
|
|
429
413
|
type: ContentChild,
|
|
430
414
|
args: [ModalTitleDirective, { static: false }]
|
|
431
|
-
}],
|
|
415
|
+
}], children: [{
|
|
432
416
|
type: Input,
|
|
433
|
-
args: ['
|
|
417
|
+
args: ['auChildren']
|
|
434
418
|
}], slotDefaultFromContent: [{
|
|
435
419
|
type: ContentChild,
|
|
436
420
|
args: [ModalBodyDirective, { static: false }]
|
|
@@ -459,20 +443,21 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
459
443
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModalComponent, { className: "ModalComponent", filePath: "components/modal/modal.component.ts", lineNumber: 161 }); })();
|
|
460
444
|
|
|
461
445
|
const createPagination = createPagination$1;
|
|
446
|
+
const getPaginationDefaultConfig = getPaginationDefaultConfig$1;
|
|
462
447
|
|
|
463
448
|
const _c0$7 = ["pages"];
|
|
464
449
|
const _c1$7 = ["structure"];
|
|
465
450
|
const _c2$7 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
466
|
-
const _c3$
|
|
451
|
+
const _c3$6 = a0 => ({ page: a0 });
|
|
467
452
|
const _c4$2 = (a0, a1) => [a0, a1];
|
|
468
453
|
const _c5$1 = (a0, a1, a2) => ({ state: a0, widget: a1, displayedPage: a2 });
|
|
469
454
|
const _c6$1 = (a0, a1) => ({ widget: a0, state: a1 });
|
|
470
455
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_ng_template_1_Template(rf, ctx) { }
|
|
471
456
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
472
|
-
i0.ɵɵelementStart(0, "div",
|
|
473
|
-
i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
457
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
458
|
+
i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
474
459
|
i0.ɵɵelementEnd();
|
|
475
|
-
i0.ɵɵelementStart(2, "span",
|
|
460
|
+
i0.ɵɵelementStart(2, "span", 9);
|
|
476
461
|
i0.ɵɵtext(3);
|
|
477
462
|
i0.ɵɵelementEnd();
|
|
478
463
|
} if (rf & 2) {
|
|
@@ -486,7 +471,7 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Templ
|
|
|
486
471
|
} }
|
|
487
472
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_ng_template_1_Template(rf, ctx) { }
|
|
488
473
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
489
|
-
i0.ɵɵelementStart(0, "span",
|
|
474
|
+
i0.ɵɵelementStart(0, "span", 9);
|
|
490
475
|
i0.ɵɵtext(1);
|
|
491
476
|
i0.ɵɵelementEnd();
|
|
492
477
|
} if (rf & 2) {
|
|
@@ -495,30 +480,30 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Condi
|
|
|
495
480
|
i0.ɵɵtextInterpolate(state_r2.activeLabel);
|
|
496
481
|
} }
|
|
497
482
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
498
|
-
i0.ɵɵelementStart(0, "a",
|
|
499
|
-
i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_ng_template_1_Template, 0, 0, "ng-template",
|
|
483
|
+
i0.ɵɵelementStart(0, "a", 6);
|
|
484
|
+
i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_ng_template_1_Template, 0, 0, "ng-template", 8)(2, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Conditional_2_Template, 2, 1, "span", 9);
|
|
500
485
|
i0.ɵɵelementEnd();
|
|
501
486
|
} if (rf & 2) {
|
|
502
487
|
const page_r4 = i0.ɵɵnextContext().$implicit;
|
|
503
488
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
504
489
|
const state_r2 = ctx_r0.state;
|
|
505
490
|
const widget_r3 = ctx_r0.widget;
|
|
506
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4$2, widget_r3.directives.pageLink, i0.ɵɵpureFunction1(4, _c3$
|
|
491
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4$2, widget_r3.directives.pageLink, i0.ɵɵpureFunction1(4, _c3$6, page_r4)));
|
|
507
492
|
i0.ɵɵadvance();
|
|
508
493
|
i0.ɵɵproperty("auSlot", state_r2.slotNumberLabel)("auSlotProps", i0.ɵɵpureFunction3(9, _c5$1, state_r2, widget_r3, page_r4));
|
|
509
494
|
i0.ɵɵadvance();
|
|
510
|
-
i0.ɵɵconditional(
|
|
495
|
+
i0.ɵɵconditional(state_r2.page === page_r4 ? 2 : -1);
|
|
511
496
|
} }
|
|
512
497
|
function PaginationDefaultSlotsComponent_ng_template_0_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
513
498
|
i0.ɵɵelementStart(0, "li", 5);
|
|
514
|
-
i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Template, 4, 6)(2, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Template, 3, 13);
|
|
499
|
+
i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Template, 4, 6)(2, PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Template, 3, 13, "a", 6);
|
|
515
500
|
i0.ɵɵelementEnd();
|
|
516
501
|
} if (rf & 2) {
|
|
517
502
|
const page_r4 = ctx.$implicit;
|
|
518
503
|
const state_r2 = i0.ɵɵnextContext().state;
|
|
519
504
|
i0.ɵɵclassProp("active", page_r4 === state_r2.page)("disabled", page_r4 === -1 || state_r2.disabled);
|
|
520
505
|
i0.ɵɵadvance();
|
|
521
|
-
i0.ɵɵconditional(
|
|
506
|
+
i0.ɵɵconditional(page_r4 === -1 ? 1 : 2);
|
|
522
507
|
} }
|
|
523
508
|
function PaginationDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
524
509
|
i0.ɵɵrepeaterCreate(0, PaginationDefaultSlotsComponent_ng_template_0_For_1_Template, 3, 5, "li", 4, i0.ɵɵrepeaterTrackByIdentity);
|
|
@@ -528,8 +513,8 @@ function PaginationDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (r
|
|
|
528
513
|
} }
|
|
529
514
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_ng_template_3_Template(rf, ctx) { }
|
|
530
515
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
531
|
-
i0.ɵɵelementStart(0, "li", 5)(1, "a",
|
|
532
|
-
i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_ng_template_3_Template, 0, 0, "ng-template",
|
|
516
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6)(2, "span", 12);
|
|
517
|
+
i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_ng_template_3_Template, 0, 0, "ng-template", 8);
|
|
533
518
|
i0.ɵɵelementEnd()()();
|
|
534
519
|
} if (rf & 2) {
|
|
535
520
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
@@ -543,8 +528,8 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template(rf
|
|
|
543
528
|
} }
|
|
544
529
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_ng_template_3_Template(rf, ctx) { }
|
|
545
530
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
546
|
-
i0.ɵɵelementStart(0, "li", 5)(1, "a",
|
|
547
|
-
i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_ng_template_3_Template, 0, 0, "ng-template",
|
|
531
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6)(2, "span", 12);
|
|
532
|
+
i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_ng_template_3_Template, 0, 0, "ng-template", 8);
|
|
548
533
|
i0.ɵɵelementEnd()()();
|
|
549
534
|
} if (rf & 2) {
|
|
550
535
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
@@ -559,8 +544,8 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template(rf
|
|
|
559
544
|
function PaginationDefaultSlotsComponent_ng_template_2_ng_template_3_Template(rf, ctx) { }
|
|
560
545
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_ng_template_3_Template(rf, ctx) { }
|
|
561
546
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
562
|
-
i0.ɵɵelementStart(0, "li", 5)(1, "a",
|
|
563
|
-
i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_ng_template_3_Template, 0, 0, "ng-template",
|
|
547
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6)(2, "span", 12);
|
|
548
|
+
i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_ng_template_3_Template, 0, 0, "ng-template", 8);
|
|
564
549
|
i0.ɵɵelementEnd()()();
|
|
565
550
|
} if (rf & 2) {
|
|
566
551
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
@@ -574,8 +559,8 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_Template(rf
|
|
|
574
559
|
} }
|
|
575
560
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_ng_template_3_Template(rf, ctx) { }
|
|
576
561
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
577
|
-
i0.ɵɵelementStart(0, "li", 5)(1, "a",
|
|
578
|
-
i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_ng_template_3_Template, 0, 0, "ng-template",
|
|
562
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6)(2, "span", 12);
|
|
563
|
+
i0.ɵɵtemplate(3, PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_ng_template_3_Template, 0, 0, "ng-template", 8);
|
|
579
564
|
i0.ɵɵelementEnd()()();
|
|
580
565
|
} if (rf & 2) {
|
|
581
566
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
@@ -589,7 +574,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf
|
|
|
589
574
|
} }
|
|
590
575
|
function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
591
576
|
i0.ɵɵelementStart(0, "ul");
|
|
592
|
-
i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template, 4, 8, "li", 10)(2, PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template, 4, 8, "li", 10)(3, PaginationDefaultSlotsComponent_ng_template_2_ng_template_3_Template, 0, 0, "ng-template",
|
|
577
|
+
i0.ɵɵtemplate(1, PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template, 4, 8, "li", 10)(2, PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template, 4, 8, "li", 10)(3, PaginationDefaultSlotsComponent_ng_template_2_ng_template_3_Template, 0, 0, "ng-template", 8)(4, PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_Template, 4, 8, "li", 10)(5, PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template, 4, 8, "li", 10);
|
|
593
578
|
i0.ɵɵelementEnd();
|
|
594
579
|
i0.ɵɵelementStart(6, "div", 11);
|
|
595
580
|
i0.ɵɵtext(7);
|
|
@@ -599,15 +584,15 @@ function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (r
|
|
|
599
584
|
const widget_r7 = ctx.widget;
|
|
600
585
|
i0.ɵɵclassMap("au-pagination pagination" + (state_r6.size ? " pagination-" + state_r6.size : "") + " " + state_r6.className);
|
|
601
586
|
i0.ɵɵadvance();
|
|
602
|
-
i0.ɵɵconditional(
|
|
587
|
+
i0.ɵɵconditional(state_r6.boundaryLinks ? 1 : -1);
|
|
603
588
|
i0.ɵɵadvance();
|
|
604
|
-
i0.ɵɵconditional(
|
|
589
|
+
i0.ɵɵconditional(state_r6.directionLinks ? 2 : -1);
|
|
605
590
|
i0.ɵɵadvance();
|
|
606
591
|
i0.ɵɵproperty("auSlot", state_r6.slotPages)("auSlotProps", i0.ɵɵpureFunction2(9, _c6$1, widget_r7, state_r6));
|
|
607
592
|
i0.ɵɵadvance();
|
|
608
|
-
i0.ɵɵconditional(
|
|
593
|
+
i0.ɵɵconditional(state_r6.directionLinks ? 4 : -1);
|
|
609
594
|
i0.ɵɵadvance();
|
|
610
|
-
i0.ɵɵconditional(
|
|
595
|
+
i0.ɵɵconditional(state_r6.boundaryLinks ? 5 : -1);
|
|
611
596
|
i0.ɵɵadvance(2);
|
|
612
597
|
i0.ɵɵtextInterpolate(state_r6.ariaLiveLabelText);
|
|
613
598
|
} }
|
|
@@ -758,7 +743,7 @@ class PaginationDefaultSlotsComponent {
|
|
|
758
743
|
let _t;
|
|
759
744
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pages = _t.first);
|
|
760
745
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.structure = _t.first);
|
|
761
|
-
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 4, vars: 0, consts: [["pages", ""], ["structure", ""], ["auPaginationPages", ""], ["auPaginationStructure", ""], [1, "page-item", 3, "active", "disabled"], [1, "page-item"], ["aria-hidden", "true", 1, "page-link", "au-ellipsis"], [3, "auSlot", "auSlotProps"], [1, "visually-hidden"], [1, "page-
|
|
746
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 4, vars: 0, consts: [["pages", ""], ["structure", ""], ["auPaginationPages", ""], ["auPaginationStructure", ""], [1, "page-item", 3, "active", "disabled"], [1, "page-item"], [1, "page-link", 3, "auUse"], ["aria-hidden", "true", 1, "page-link", "au-ellipsis"], [3, "auSlot", "auSlotProps"], [1, "visually-hidden"], [1, "page-item", 3, "disabled"], ["aria-live", "polite", 1, "visually-hidden"], ["aria-hidden", "true"]], template: function PaginationDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
762
747
|
i0.ɵɵtemplate(0, PaginationDefaultSlotsComponent_ng_template_0_Template, 2, 0, "ng-template", 2, 0, i0.ɵɵtemplateRefExtractor)(2, PaginationDefaultSlotsComponent_ng_template_2_Template, 8, 12, "ng-template", 3, 1, i0.ɵɵtemplateRefExtractor);
|
|
763
748
|
} }, dependencies: [SlotDirective, PaginationPagesDirective, PaginationStructureDirective, UseDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
764
749
|
}
|
|
@@ -906,7 +891,7 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
906
891
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
907
892
|
} }, hostVars: 1, hostBindings: function PaginationComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
908
893
|
i0.ɵɵattribute("aria-label", ctx.state().ariaLabel);
|
|
909
|
-
} }, inputs: { ariaPageLabel: [
|
|
894
|
+
} }, 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"], slotEllipsis: [0, "auSlotEllipsis", "slotEllipsis"], slotFirst: [0, "auSlotFirst", "slotFirst"], slotPrevious: [0, "auSlotPrevious", "slotPrevious"], slotNext: [0, "auSlotNext", "slotNext"], slotLast: [0, "auSlotLast", "slotLast"], slotPages: [0, "auSlotPages", "slotPages"], slotNumberLabel: [0, "auSlotNumberLabel", "slotNumberLabel"], slotStructure: [0, "auSlotStructure", "slotStructure"], 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: _c7$1, decls: 1, vars: 5, consts: [[3, "auSlotProps", "auSlot"]], template: function PaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
910
895
|
i0.ɵɵtemplate(0, PaginationComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
911
896
|
} if (rf & 2) {
|
|
912
897
|
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction2(2, _c2$7, ctx.state(), ctx.widget))("auSlot", ctx.state().slotStructure);
|
|
@@ -1037,9 +1022,9 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
1037
1022
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "components/pagination/pagination.component.ts", lineNumber: 206 }); })();
|
|
1038
1023
|
|
|
1039
1024
|
const createRating = createRating$1;
|
|
1025
|
+
const getRatingDefaultConfig = getRatingDefaultConfig$1;
|
|
1040
1026
|
|
|
1041
1027
|
const _c0$6 = ["auRating", ""];
|
|
1042
|
-
function _forTrack0$1($index, $item) { return this.trackByIndex($index); }
|
|
1043
1028
|
const _c1$6 = a0 => ({ index: a0 });
|
|
1044
1029
|
const _c2$6 = (a0, a1) => [a0, a1];
|
|
1045
1030
|
function RatingComponent_For_1_ng_template_3_Template(rf, ctx) { }
|
|
@@ -1051,14 +1036,14 @@ function RatingComponent_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1051
1036
|
i0.ɵɵtemplate(3, RatingComponent_For_1_ng_template_3_Template, 0, 0, "ng-template", 2);
|
|
1052
1037
|
i0.ɵɵelementEnd();
|
|
1053
1038
|
} if (rf & 2) {
|
|
1054
|
-
const
|
|
1039
|
+
const ɵ$index_1_r1 = ctx.$index;
|
|
1055
1040
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1056
1041
|
i0.ɵɵadvance();
|
|
1057
|
-
i0.ɵɵtextInterpolate1("(",
|
|
1042
|
+
i0.ɵɵtextInterpolate1("(", ɵ$index_1_r1 < ctx_r1.state().visibleRating ? "*" : " ", ")");
|
|
1058
1043
|
i0.ɵɵadvance();
|
|
1059
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c2$6, ctx_r1._widget.directives.starDirective, i0.ɵɵpureFunction1(4, _c1$6,
|
|
1044
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c2$6, ctx_r1._widget.directives.starDirective, i0.ɵɵpureFunction1(4, _c1$6, ɵ$index_1_r1)));
|
|
1060
1045
|
i0.ɵɵadvance();
|
|
1061
|
-
i0.ɵɵproperty("auSlot", ctx_r1.state().
|
|
1046
|
+
i0.ɵɵproperty("auSlot", ctx_r1.state().star)("auSlotProps", ctx_r1.state().stars[ɵ$index_1_r1]);
|
|
1062
1047
|
} }
|
|
1063
1048
|
class RatingStarDirective {
|
|
1064
1049
|
constructor() {
|
|
@@ -1127,7 +1112,7 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1127
1112
|
}
|
|
1128
1113
|
ngAfterContentChecked() {
|
|
1129
1114
|
this._widget.patchSlots({
|
|
1130
|
-
|
|
1115
|
+
star: this.slotStarFromContent?.templateRef,
|
|
1131
1116
|
});
|
|
1132
1117
|
}
|
|
1133
1118
|
trackByIndex(index) {
|
|
@@ -1141,8 +1126,8 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1141
1126
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStarFromContent = _t.first);
|
|
1142
1127
|
} }, hostAttrs: [1, "d-inline-flex"], hostBindings: function RatingComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1143
1128
|
i0.ɵɵlistener("blur", function RatingComponent_blur_HostBindingHandler() { return ctx.onTouched(); });
|
|
1144
|
-
} }, inputs: { ariaValueTextFn: [
|
|
1145
|
-
i0.ɵɵrepeaterCreate(0, RatingComponent_For_1_Template, 4, 9, null, null,
|
|
1129
|
+
} }, 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$6, decls: 2, vars: 0, consts: [[1, "visually-hidden"], [3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function RatingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1130
|
+
i0.ɵɵrepeaterCreate(0, RatingComponent_For_1_Template, 4, 9, null, null, ctx.trackByIndex, true);
|
|
1146
1131
|
} if (rf & 2) {
|
|
1147
1132
|
i0.ɵɵrepeater(ctx.state().stars);
|
|
1148
1133
|
} }, dependencies: [UseDirective, SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
@@ -1163,7 +1148,7 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1163
1148
|
@for (item of state().stars; track trackByIndex(index); let index = $index) {
|
|
1164
1149
|
<span class="visually-hidden">({{ index < state().visibleRating ? '*' : ' ' }})</span>
|
|
1165
1150
|
<span [auUse]="[_widget.directives.starDirective, {index}]">
|
|
1166
|
-
<ng-template [auSlot]="state().
|
|
1151
|
+
<ng-template [auSlot]="state().star" [auSlotProps]="state().stars[index]"></ng-template>
|
|
1167
1152
|
</span>
|
|
1168
1153
|
}
|
|
1169
1154
|
`,
|
|
@@ -1187,9 +1172,9 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1187
1172
|
}], resettable: [{
|
|
1188
1173
|
type: Input,
|
|
1189
1174
|
args: [{ alias: 'auResettable', transform: auBooleanAttribute }]
|
|
1190
|
-
}],
|
|
1175
|
+
}], star: [{
|
|
1191
1176
|
type: Input,
|
|
1192
|
-
args: ['
|
|
1177
|
+
args: ['auStar']
|
|
1193
1178
|
}], slotStarFromContent: [{
|
|
1194
1179
|
type: ContentChild,
|
|
1195
1180
|
args: [RatingStarDirective, { static: false }]
|
|
@@ -1218,11 +1203,12 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1218
1203
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RatingComponent, { className: "RatingComponent", filePath: "components/rating/rating.component.ts", lineNumber: 58 }); })();
|
|
1219
1204
|
|
|
1220
1205
|
const createSelect = createSelect$1;
|
|
1206
|
+
const getSelectDefaultConfig = getSelectDefaultConfig$1;
|
|
1221
1207
|
|
|
1222
1208
|
const _c0$5 = ["auSelect", ""];
|
|
1223
1209
|
const _c1$5 = (a0, a1) => [a0, a1];
|
|
1224
1210
|
const _c2$5 = (a0, a1, a2) => ({ state: a0, widget: a1, itemContext: a2 });
|
|
1225
|
-
const _c3$
|
|
1211
|
+
const _c3$5 = (a0, a1, a2) => [a0, a1, a2];
|
|
1226
1212
|
function SelectComponent_Conditional_0_Conditional_1_For_1_ng_template_1_Template(rf, ctx) { }
|
|
1227
1213
|
function SelectComponent_Conditional_0_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
1228
1214
|
i0.ɵɵelementStart(0, "div", 3);
|
|
@@ -1234,7 +1220,7 @@ function SelectComponent_Conditional_0_Conditional_1_For_1_Template(rf, ctx) { i
|
|
|
1234
1220
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
1235
1221
|
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c1$5, ctx_r3._widget.directives.badgeAttributesDirective, itemContext_r2));
|
|
1236
1222
|
i0.ɵɵadvance();
|
|
1237
|
-
i0.ɵɵproperty("auSlot", state_r3.
|
|
1223
|
+
i0.ɵɵproperty("auSlot", state_r3.badgeLabel)("auSlotProps", i0.ɵɵpureFunction3(6, _c2$5, state_r3, ctx_r3.widget, itemContext_r2));
|
|
1238
1224
|
} }
|
|
1239
1225
|
function SelectComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1240
1226
|
i0.ɵɵrepeaterCreate(0, SelectComponent_Conditional_0_Conditional_1_For_1_Template, 2, 10, "div", 3, i0.ɵɵcomponentInstance().itemCtxTrackBy, true);
|
|
@@ -1253,7 +1239,7 @@ function SelectComponent_Conditional_0_Conditional_3_For_2_Template(rf, ctx) { i
|
|
|
1253
1239
|
i0.ɵɵclassProp("text-bg-primary", itemContext_r5 === state_r3.highlighted);
|
|
1254
1240
|
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c1$5, ctx_r3._widget.directives.itemAttributesDirective, itemContext_r5));
|
|
1255
1241
|
i0.ɵɵadvance();
|
|
1256
|
-
i0.ɵɵproperty("auSlot", state_r3.
|
|
1242
|
+
i0.ɵɵproperty("auSlot", state_r3.itemLabel)("auSlotProps", i0.ɵɵpureFunction3(8, _c2$5, state_r3, ctx_r3.widget, itemContext_r5));
|
|
1257
1243
|
} }
|
|
1258
1244
|
function SelectComponent_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
1259
1245
|
i0.ɵɵelementStart(0, "ul", 2);
|
|
@@ -1262,7 +1248,7 @@ function SelectComponent_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf
|
|
|
1262
1248
|
} if (rf & 2) {
|
|
1263
1249
|
const state_r3 = i0.ɵɵnextContext();
|
|
1264
1250
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
1265
|
-
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(1, _c3$
|
|
1251
|
+
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(1, _c3$5, ctx_r3.widget.directives.hasFocusDirective, ctx_r3.widget.directives.floatingDirective, ctx_r3.widget.directives.menuAttributesDirective));
|
|
1266
1252
|
i0.ɵɵadvance();
|
|
1267
1253
|
i0.ɵɵrepeater(state_r3.visibleItems);
|
|
1268
1254
|
} }
|
|
@@ -1280,12 +1266,12 @@ function SelectComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
1280
1266
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
1281
1267
|
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction2(6, _c1$5, ctx_r3.widget.directives.hasFocusDirective, ctx_r3.widget.directives.inputContainerDirective));
|
|
1282
1268
|
i0.ɵɵadvance();
|
|
1283
|
-
i0.ɵɵconditional(
|
|
1269
|
+
i0.ɵɵconditional((tmp_3_0 = state_r3.selectedContexts) ? 1 : -1, tmp_3_0);
|
|
1284
1270
|
i0.ɵɵadvance();
|
|
1285
1271
|
i0.ɵɵproperty("value", state_r3.filterText);
|
|
1286
1272
|
i0.ɵɵattribute("id", state_r3.id)("aria-label", state_r3.ariaLabel);
|
|
1287
1273
|
i0.ɵɵadvance();
|
|
1288
|
-
i0.ɵɵconditional(
|
|
1274
|
+
i0.ɵɵconditional(state_r3.open && state_r3.visibleItems.length ? 3 : -1);
|
|
1289
1275
|
} }
|
|
1290
1276
|
class SelectBadgeLabelDirective {
|
|
1291
1277
|
constructor() {
|
|
@@ -1301,19 +1287,19 @@ class SelectBadgeLabelDirective {
|
|
|
1301
1287
|
type: Directive,
|
|
1302
1288
|
args: [{ selector: 'ng-template[auSelectBadgeLabel]', standalone: true }]
|
|
1303
1289
|
}], null, null); })();
|
|
1304
|
-
class
|
|
1290
|
+
class SelectItemLabelDirective {
|
|
1305
1291
|
constructor() {
|
|
1306
1292
|
this.templateRef = inject((TemplateRef));
|
|
1307
1293
|
}
|
|
1308
1294
|
static ngTemplateContextGuard(_dir, context) {
|
|
1309
1295
|
return true;
|
|
1310
1296
|
}
|
|
1311
|
-
static { this.ɵfac = function
|
|
1312
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type:
|
|
1297
|
+
static { this.ɵfac = function SelectItemLabelDirective_Factory(t) { return new (t || SelectItemLabelDirective)(); }; }
|
|
1298
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SelectItemLabelDirective, selectors: [["ng-template", "auSelectItemLabel", ""]], standalone: true }); }
|
|
1313
1299
|
}
|
|
1314
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
1300
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectItemLabelDirective, [{
|
|
1315
1301
|
type: Directive,
|
|
1316
|
-
args: [{ selector: 'ng-template[
|
|
1302
|
+
args: [{ selector: 'ng-template[auSelectItemLabel]', standalone: true }]
|
|
1317
1303
|
}], null, null); })();
|
|
1318
1304
|
class SelectComponent extends BaseWidgetDirective {
|
|
1319
1305
|
constructor() {
|
|
@@ -1348,25 +1334,25 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1348
1334
|
}
|
|
1349
1335
|
ngAfterContentChecked() {
|
|
1350
1336
|
this._widget.patchSlots({
|
|
1351
|
-
|
|
1352
|
-
|
|
1337
|
+
badgeLabel: this.slotSelectBadgeLabelFromContent?.templateRef,
|
|
1338
|
+
itemLabel: this.slotSelectItemLabelFromContent?.templateRef,
|
|
1353
1339
|
});
|
|
1354
1340
|
}
|
|
1355
1341
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSelectComponent_BaseFactory; return function SelectComponent_Factory(t) { return (ɵSelectComponent_BaseFactory || (ɵSelectComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SelectComponent)))(t || SelectComponent); }; })(); }
|
|
1356
1342
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectComponent, selectors: [["", "auSelect", ""]], contentQueries: function SelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1357
1343
|
i0.ɵɵcontentQuery(dirIndex, SelectBadgeLabelDirective, 5);
|
|
1358
|
-
i0.ɵɵcontentQuery(dirIndex,
|
|
1344
|
+
i0.ɵɵcontentQuery(dirIndex, SelectItemLabelDirective, 5);
|
|
1359
1345
|
} if (rf & 2) {
|
|
1360
1346
|
let _t;
|
|
1361
1347
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotSelectBadgeLabelFromContent = _t.first);
|
|
1362
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
|
1348
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotSelectItemLabelFromContent = _t.first);
|
|
1363
1349
|
} }, hostVars: 2, hostBindings: function SelectComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
1364
1350
|
i0.ɵɵclassMap("au-select dropdown border border-1 p-1 mb-3 d-block" + ctx.state().className);
|
|
1365
|
-
} }, inputs: { ariaLabel: [
|
|
1351
|
+
} }, 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$5, decls: 1, vars: 1, consts: [[1, "d-flex", "align-items-center", "flex-wrap", "gap-1", 3, "auUseMulti"], ["type", "text", "aria-autocomplete", "list", "autoCorrect", "off", "autoCapitalize", "none", "autoComplete", "off", 1, "au-select-input", "flex-grow-1", "border-0", 3, "input", "keydown", "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) {
|
|
1366
1352
|
i0.ɵɵtemplate(0, SelectComponent_Conditional_0_Template, 4, 9);
|
|
1367
1353
|
} if (rf & 2) {
|
|
1368
1354
|
let tmp_0_0;
|
|
1369
|
-
i0.ɵɵconditional(
|
|
1355
|
+
i0.ɵɵconditional((tmp_0_0 = ctx.state()) ? 0 : -1, tmp_0_0);
|
|
1370
1356
|
} }, dependencies: [UseMultiDirective, SlotDirective, UseDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
1371
1357
|
}
|
|
1372
1358
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
|
|
@@ -1388,7 +1374,7 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1388
1374
|
@if (state.selectedContexts; as selectedContexts) {
|
|
1389
1375
|
@for (itemContext of selectedContexts; track itemCtxTrackBy($index, itemContext)) {
|
|
1390
1376
|
<div [auUse]="[_widget.directives.badgeAttributesDirective, itemContext]">
|
|
1391
|
-
<ng-template [auSlot]="state.
|
|
1377
|
+
<ng-template [auSlot]="state.badgeLabel" [auSlotProps]="{state, widget, itemContext}"></ng-template>
|
|
1392
1378
|
</div>
|
|
1393
1379
|
}
|
|
1394
1380
|
}
|
|
@@ -1417,7 +1403,7 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1417
1403
|
[auUse]="[_widget.directives.itemAttributesDirective, itemContext]"
|
|
1418
1404
|
[class.text-bg-primary]="itemContext === state.highlighted"
|
|
1419
1405
|
>
|
|
1420
|
-
<ng-template [auSlot]="state.
|
|
1406
|
+
<ng-template [auSlot]="state.itemLabel" [auSlotProps]="{state, widget, itemContext}"></ng-template>
|
|
1421
1407
|
</li>
|
|
1422
1408
|
}
|
|
1423
1409
|
</ul>
|
|
@@ -1461,18 +1447,18 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1461
1447
|
}], menuClassName: [{
|
|
1462
1448
|
type: Input,
|
|
1463
1449
|
args: ['auMenuClassName']
|
|
1464
|
-
}],
|
|
1450
|
+
}], badgeLabel: [{
|
|
1465
1451
|
type: Input,
|
|
1466
|
-
args: ['
|
|
1452
|
+
args: ['auBadgeLabel']
|
|
1467
1453
|
}], slotSelectBadgeLabelFromContent: [{
|
|
1468
1454
|
type: ContentChild,
|
|
1469
1455
|
args: [SelectBadgeLabelDirective, { static: false }]
|
|
1470
|
-
}],
|
|
1456
|
+
}], itemLabel: [{
|
|
1471
1457
|
type: Input,
|
|
1472
|
-
args: ['
|
|
1473
|
-
}],
|
|
1458
|
+
args: ['auItemLabel']
|
|
1459
|
+
}], slotSelectItemLabelFromContent: [{
|
|
1474
1460
|
type: ContentChild,
|
|
1475
|
-
args: [
|
|
1461
|
+
args: [SelectItemLabelDirective, { static: false }]
|
|
1476
1462
|
}], filterTextChange: [{
|
|
1477
1463
|
type: Output,
|
|
1478
1464
|
args: ['auFilterTextChange']
|
|
@@ -1495,6 +1481,7 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1495
1481
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "components/select/select.component.ts", lineNumber: 87 }); })();
|
|
1496
1482
|
|
|
1497
1483
|
const createAlert = createAlert$1;
|
|
1484
|
+
const getAlertDefaultConfig = getAlertDefaultConfig$1;
|
|
1498
1485
|
|
|
1499
1486
|
const _c0$4 = ["structure"];
|
|
1500
1487
|
const _c1$4 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
@@ -1517,12 +1504,12 @@ function AlertDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
1517
1504
|
const state_r3 = ctx.state;
|
|
1518
1505
|
const widget_r2 = ctx.widget;
|
|
1519
1506
|
i0.ɵɵadvance();
|
|
1520
|
-
i0.ɵɵproperty("auSlot", state_r3.
|
|
1507
|
+
i0.ɵɵproperty("auSlot", state_r3.children)("auSlotProps", i0.ɵɵpureFunction2(3, _c1$4, state_r3, widget_r2));
|
|
1521
1508
|
i0.ɵɵadvance();
|
|
1522
|
-
i0.ɵɵconditional(
|
|
1509
|
+
i0.ɵɵconditional(state_r3.dismissible ? 2 : -1);
|
|
1523
1510
|
} }
|
|
1524
1511
|
const _c2$4 = ["auAlert", ""];
|
|
1525
|
-
const _c3$
|
|
1512
|
+
const _c3$4 = ["*"];
|
|
1526
1513
|
function AlertComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1527
1514
|
i0.ɵɵprojection(0);
|
|
1528
1515
|
} }
|
|
@@ -1536,7 +1523,7 @@ function AlertComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1536
1523
|
i0.ɵɵclassMapInterpolate3("au-alert alert alert-", ctx_r0.state().type, " ", ctx_r0.state().className, " ", ctx_r0.state().dismissible ? "alert-dismissible" : "", "");
|
|
1537
1524
|
i0.ɵɵproperty("auUse", ctx_r0.widget.directives.transitionDirective);
|
|
1538
1525
|
i0.ɵɵadvance();
|
|
1539
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state().
|
|
1526
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state().structure)("auSlotProps", i0.ɵɵpureFunction2(8, _c1$4, ctx_r0.state(), ctx_r0.widget));
|
|
1540
1527
|
} }
|
|
1541
1528
|
class AlertBodyDirective {
|
|
1542
1529
|
constructor() {
|
|
@@ -1585,7 +1572,7 @@ class AlertDefaultSlotsComponent {
|
|
|
1585
1572
|
imports: [SlotDirective, AlertStructureDirective],
|
|
1586
1573
|
template: ` <ng-template auAlertStructure #structure let-state="state" let-widget="widget">
|
|
1587
1574
|
<div class="alert-body">
|
|
1588
|
-
<ng-template [auSlot]="state.
|
|
1575
|
+
<ng-template [auSlot]="state.children" [auSlotProps]="{state, widget}"></ng-template>
|
|
1589
1576
|
</div>
|
|
1590
1577
|
@if (state.dismissible) {
|
|
1591
1578
|
<button type="button" class="btn-close" (click)="widget.api.close()" [attr.aria-label]="state.ariaCloseButtonLabel"></button>
|
|
@@ -1599,7 +1586,7 @@ class AlertDefaultSlotsComponent {
|
|
|
1599
1586
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AlertDefaultSlotsComponent, { className: "AlertDefaultSlotsComponent", filePath: "components/alert/alert.component.ts", lineNumber: 57 }); })();
|
|
1600
1587
|
const alertDefaultSlotStructure = new ComponentTemplate(AlertDefaultSlotsComponent, 'structure');
|
|
1601
1588
|
const defaultConfig$4 = {
|
|
1602
|
-
|
|
1589
|
+
structure: alertDefaultSlotStructure,
|
|
1603
1590
|
};
|
|
1604
1591
|
class AlertComponent extends BaseWidgetDirective {
|
|
1605
1592
|
constructor() {
|
|
@@ -1630,8 +1617,8 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1630
1617
|
}
|
|
1631
1618
|
ngAfterContentChecked() {
|
|
1632
1619
|
this._widget.patchSlots({
|
|
1633
|
-
|
|
1634
|
-
|
|
1620
|
+
children: this.slotDefaultFromContent?.templateRef,
|
|
1621
|
+
structure: this.slotStructureFromContent?.templateRef,
|
|
1635
1622
|
});
|
|
1636
1623
|
}
|
|
1637
1624
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAlertComponent_BaseFactory; return function AlertComponent_Factory(t) { return (ɵAlertComponent_BaseFactory || (ɵAlertComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AlertComponent)))(t || AlertComponent); }; })(); }
|
|
@@ -1642,14 +1629,14 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1642
1629
|
let _t;
|
|
1643
1630
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotDefaultFromContent = _t.first);
|
|
1644
1631
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
1645
|
-
} }, inputs: { type: [
|
|
1632
|
+
} }, 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: _c2$4, ngContentSelectors: _c3$4, decls: 2, vars: 2, consts: [[3, "auContentAsSlot"], ["role", "alert", 3, "auUse", "class"], ["role", "alert", 3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1646
1633
|
i0.ɵɵprojectionDef();
|
|
1647
1634
|
i0.ɵɵtemplate(0, AlertComponent_ng_template_0_Template, 1, 0, "ng-template", 0)(1, AlertComponent_Conditional_1_Template, 2, 11, "div", 1);
|
|
1648
1635
|
} if (rf & 2) {
|
|
1649
|
-
i0.ɵɵproperty("
|
|
1636
|
+
i0.ɵɵproperty("auContentAsSlot", ctx.defaultSlots);
|
|
1650
1637
|
i0.ɵɵadvance();
|
|
1651
|
-
i0.ɵɵconditional(
|
|
1652
|
-
} }, dependencies: [SlotDirective, UseDirective,
|
|
1638
|
+
i0.ɵɵconditional(!ctx.state().hidden ? 1 : -1);
|
|
1639
|
+
} }, dependencies: [SlotDirective, UseDirective, ContentAsSlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
1653
1640
|
}
|
|
1654
1641
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertComponent, [{
|
|
1655
1642
|
type: Component,
|
|
@@ -1657,8 +1644,8 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1657
1644
|
selector: '[auAlert]',
|
|
1658
1645
|
standalone: true,
|
|
1659
1646
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1660
|
-
imports: [SlotDirective, UseDirective,
|
|
1661
|
-
template: ` <ng-template [
|
|
1647
|
+
imports: [SlotDirective, UseDirective, ContentAsSlotDirective],
|
|
1648
|
+
template: ` <ng-template [auContentAsSlot]="defaultSlots">
|
|
1662
1649
|
<ng-content></ng-content>
|
|
1663
1650
|
</ng-template>
|
|
1664
1651
|
|
|
@@ -1668,7 +1655,7 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1668
1655
|
class="au-alert alert alert-{{ state().type }} {{ state().className }} {{ state().dismissible ? 'alert-dismissible' : '' }}"
|
|
1669
1656
|
role="alert"
|
|
1670
1657
|
>
|
|
1671
|
-
<ng-template [auSlot]="state().
|
|
1658
|
+
<ng-template [auSlot]="state().structure" [auSlotProps]="{state: state(), widget}"></ng-template>
|
|
1672
1659
|
</div>
|
|
1673
1660
|
}`,
|
|
1674
1661
|
}]
|
|
@@ -1693,15 +1680,15 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1693
1680
|
}], ariaCloseButtonLabel: [{
|
|
1694
1681
|
type: Input,
|
|
1695
1682
|
args: ['auAriaCloseButtonLabel']
|
|
1696
|
-
}],
|
|
1683
|
+
}], children: [{
|
|
1697
1684
|
type: Input,
|
|
1698
|
-
args: ['
|
|
1685
|
+
args: ['auChildren']
|
|
1699
1686
|
}], slotDefaultFromContent: [{
|
|
1700
1687
|
type: ContentChild,
|
|
1701
1688
|
args: [AlertBodyDirective, { static: false }]
|
|
1702
|
-
}],
|
|
1689
|
+
}], structure: [{
|
|
1703
1690
|
type: Input,
|
|
1704
|
-
args: ['
|
|
1691
|
+
args: ['auStructure']
|
|
1705
1692
|
}], slotStructureFromContent: [{
|
|
1706
1693
|
type: ContentChild,
|
|
1707
1694
|
args: [AlertStructureDirective, { static: false }]
|
|
@@ -1721,53 +1708,55 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1721
1708
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AlertComponent, { className: "AlertComponent", filePath: "components/alert/alert.component.ts", lineNumber: 87 }); })();
|
|
1722
1709
|
|
|
1723
1710
|
const createAccordion = createAccordion$1;
|
|
1711
|
+
const getAccordionDefaultConfig = getAccordionDefaultConfig$1;
|
|
1712
|
+
const createAccordionItem = createAccordionItem$1;
|
|
1724
1713
|
|
|
1725
1714
|
const _c0$3 = ["structure"];
|
|
1726
1715
|
const _c1$3 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
1727
1716
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_0_Template(rf, ctx) { if (rf & 1) {
|
|
1728
|
-
i0.ɵɵelementContainer(0,
|
|
1717
|
+
i0.ɵɵelementContainer(0, 8);
|
|
1729
1718
|
} if (rf & 2) {
|
|
1730
1719
|
i0.ɵɵnextContext();
|
|
1731
1720
|
const h1_r1 = i0.ɵɵreference(8);
|
|
1732
1721
|
i0.ɵɵproperty("ngTemplateOutlet", h1_r1);
|
|
1733
1722
|
} }
|
|
1734
1723
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_1_Template(rf, ctx) { if (rf & 1) {
|
|
1735
|
-
i0.ɵɵelementContainer(0,
|
|
1724
|
+
i0.ɵɵelementContainer(0, 8);
|
|
1736
1725
|
} if (rf & 2) {
|
|
1737
1726
|
i0.ɵɵnextContext();
|
|
1738
1727
|
const h2_r2 = i0.ɵɵreference(10);
|
|
1739
1728
|
i0.ɵɵproperty("ngTemplateOutlet", h2_r2);
|
|
1740
1729
|
} }
|
|
1741
1730
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_2_Template(rf, ctx) { if (rf & 1) {
|
|
1742
|
-
i0.ɵɵelementContainer(0,
|
|
1731
|
+
i0.ɵɵelementContainer(0, 8);
|
|
1743
1732
|
} if (rf & 2) {
|
|
1744
1733
|
i0.ɵɵnextContext();
|
|
1745
1734
|
const h3_r3 = i0.ɵɵreference(12);
|
|
1746
1735
|
i0.ɵɵproperty("ngTemplateOutlet", h3_r3);
|
|
1747
1736
|
} }
|
|
1748
1737
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_3_Template(rf, ctx) { if (rf & 1) {
|
|
1749
|
-
i0.ɵɵelementContainer(0,
|
|
1738
|
+
i0.ɵɵelementContainer(0, 8);
|
|
1750
1739
|
} if (rf & 2) {
|
|
1751
1740
|
i0.ɵɵnextContext();
|
|
1752
1741
|
const h4_r4 = i0.ɵɵreference(14);
|
|
1753
1742
|
i0.ɵɵproperty("ngTemplateOutlet", h4_r4);
|
|
1754
1743
|
} }
|
|
1755
1744
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_4_Template(rf, ctx) { if (rf & 1) {
|
|
1756
|
-
i0.ɵɵelementContainer(0,
|
|
1745
|
+
i0.ɵɵelementContainer(0, 8);
|
|
1757
1746
|
} if (rf & 2) {
|
|
1758
1747
|
i0.ɵɵnextContext();
|
|
1759
1748
|
const h5_r5 = i0.ɵɵreference(16);
|
|
1760
1749
|
i0.ɵɵproperty("ngTemplateOutlet", h5_r5);
|
|
1761
1750
|
} }
|
|
1762
1751
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_5_Template(rf, ctx) { if (rf & 1) {
|
|
1763
|
-
i0.ɵɵelementContainer(0,
|
|
1752
|
+
i0.ɵɵelementContainer(0, 8);
|
|
1764
1753
|
} if (rf & 2) {
|
|
1765
1754
|
i0.ɵɵnextContext();
|
|
1766
1755
|
const h6_r6 = i0.ɵɵreference(18);
|
|
1767
1756
|
i0.ɵɵproperty("ngTemplateOutlet", h6_r6);
|
|
1768
1757
|
} }
|
|
1769
1758
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Case_6_Template(rf, ctx) { if (rf & 1) {
|
|
1770
|
-
i0.ɵɵelementContainer(0,
|
|
1759
|
+
i0.ɵɵelementContainer(0, 8);
|
|
1771
1760
|
} if (rf & 2) {
|
|
1772
1761
|
i0.ɵɵnextContext();
|
|
1773
1762
|
const h2_r2 = i0.ɵɵreference(10);
|
|
@@ -1776,7 +1765,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_Case_6_Template(rf, ct
|
|
|
1776
1765
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_7_ng_template_1_Template(rf, ctx) { }
|
|
1777
1766
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1778
1767
|
i0.ɵɵelementStart(0, "h1", 10);
|
|
1779
|
-
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_7_ng_template_1_Template, 0, 0, "ng-template",
|
|
1768
|
+
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_7_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
1780
1769
|
i0.ɵɵelementEnd();
|
|
1781
1770
|
} if (rf & 2) {
|
|
1782
1771
|
const widget_r7 = i0.ɵɵnextContext().widget;
|
|
@@ -1788,7 +1777,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_7_Template
|
|
|
1788
1777
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_9_ng_template_1_Template(rf, ctx) { }
|
|
1789
1778
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
1790
1779
|
i0.ɵɵelementStart(0, "h2", 10);
|
|
1791
|
-
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_9_ng_template_1_Template, 0, 0, "ng-template",
|
|
1780
|
+
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_9_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
1792
1781
|
i0.ɵɵelementEnd();
|
|
1793
1782
|
} if (rf & 2) {
|
|
1794
1783
|
const widget_r7 = i0.ɵɵnextContext().widget;
|
|
@@ -1800,7 +1789,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_9_Template
|
|
|
1800
1789
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_11_ng_template_1_Template(rf, ctx) { }
|
|
1801
1790
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
1802
1791
|
i0.ɵɵelementStart(0, "h3", 10);
|
|
1803
|
-
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_11_ng_template_1_Template, 0, 0, "ng-template",
|
|
1792
|
+
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_11_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
1804
1793
|
i0.ɵɵelementEnd();
|
|
1805
1794
|
} if (rf & 2) {
|
|
1806
1795
|
const widget_r7 = i0.ɵɵnextContext().widget;
|
|
@@ -1812,7 +1801,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_11_Templat
|
|
|
1812
1801
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_13_ng_template_1_Template(rf, ctx) { }
|
|
1813
1802
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_13_Template(rf, ctx) { if (rf & 1) {
|
|
1814
1803
|
i0.ɵɵelementStart(0, "h4", 10);
|
|
1815
|
-
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_13_ng_template_1_Template, 0, 0, "ng-template",
|
|
1804
|
+
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_13_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
1816
1805
|
i0.ɵɵelementEnd();
|
|
1817
1806
|
} if (rf & 2) {
|
|
1818
1807
|
const widget_r7 = i0.ɵɵnextContext().widget;
|
|
@@ -1824,7 +1813,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_13_Templat
|
|
|
1824
1813
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_15_ng_template_1_Template(rf, ctx) { }
|
|
1825
1814
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
1826
1815
|
i0.ɵɵelementStart(0, "h5", 10);
|
|
1827
|
-
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_15_ng_template_1_Template, 0, 0, "ng-template",
|
|
1816
|
+
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_15_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
1828
1817
|
i0.ɵɵelementEnd();
|
|
1829
1818
|
} if (rf & 2) {
|
|
1830
1819
|
const widget_r7 = i0.ɵɵnextContext().widget;
|
|
@@ -1836,7 +1825,7 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_15_Templat
|
|
|
1836
1825
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_17_ng_template_1_Template(rf, ctx) { }
|
|
1837
1826
|
function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_17_Template(rf, ctx) { if (rf & 1) {
|
|
1838
1827
|
i0.ɵɵelementStart(0, "h6", 10);
|
|
1839
|
-
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_17_ng_template_1_Template, 0, 0, "ng-template",
|
|
1828
|
+
i0.ɵɵtemplate(1, AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_17_ng_template_1_Template, 0, 0, "ng-template", 8);
|
|
1840
1829
|
i0.ɵɵelementEnd();
|
|
1841
1830
|
} if (rf & 2) {
|
|
1842
1831
|
const widget_r7 = i0.ɵɵnextContext().widget;
|
|
@@ -1856,11 +1845,11 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_ng_template_19_Templat
|
|
|
1856
1845
|
const widget_r7 = ctx_r8.widget;
|
|
1857
1846
|
i0.ɵɵproperty("auUse", widget_r7.directives.buttonDirective);
|
|
1858
1847
|
i0.ɵɵadvance();
|
|
1859
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction2(3, _c1$3, state_r10, widget_r7))("auSlot", state_r10.
|
|
1848
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction2(3, _c1$3, state_r10, widget_r7))("auSlot", state_r10.header);
|
|
1860
1849
|
} }
|
|
1861
1850
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_ng_template_2_Template(rf, ctx) { }
|
|
1862
1851
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
1863
|
-
i0.ɵɵelementStart(0, "div",
|
|
1852
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 13);
|
|
1864
1853
|
i0.ɵɵtemplate(2, AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_ng_template_2_Template, 0, 0, "ng-template", 12);
|
|
1865
1854
|
i0.ɵɵelementEnd()();
|
|
1866
1855
|
} if (rf & 2) {
|
|
@@ -1871,19 +1860,23 @@ function AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Templat
|
|
|
1871
1860
|
i0.ɵɵadvance();
|
|
1872
1861
|
i0.ɵɵproperty("auUse", widget_r7.directives.bodyDirective);
|
|
1873
1862
|
i0.ɵɵadvance();
|
|
1874
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction2(4, _c1$3, state_r10, widget_r7))("auSlot", state_r10.
|
|
1863
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction2(4, _c1$3, state_r10, widget_r7))("auSlot", state_r10.children);
|
|
1875
1864
|
} }
|
|
1876
1865
|
function AccordionItemDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1877
|
-
i0.ɵɵtemplate(0, AccordionItemDefaultSlotsComponent_ng_template_0_Case_0_Template, 1, 1)(1, AccordionItemDefaultSlotsComponent_ng_template_0_Case_1_Template, 1, 1)(2, AccordionItemDefaultSlotsComponent_ng_template_0_Case_2_Template, 1, 1)(3, AccordionItemDefaultSlotsComponent_ng_template_0_Case_3_Template, 1, 1)(4, AccordionItemDefaultSlotsComponent_ng_template_0_Case_4_Template, 1, 1)(5, AccordionItemDefaultSlotsComponent_ng_template_0_Case_5_Template, 1, 1)(6, AccordionItemDefaultSlotsComponent_ng_template_0_Case_6_Template, 1, 1)(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, 6, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor)(21, AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Template, 3, 7, "div",
|
|
1866
|
+
i0.ɵɵtemplate(0, AccordionItemDefaultSlotsComponent_ng_template_0_Case_0_Template, 1, 1, "ng-container", 8)(1, AccordionItemDefaultSlotsComponent_ng_template_0_Case_1_Template, 1, 1, "ng-container", 8)(2, AccordionItemDefaultSlotsComponent_ng_template_0_Case_2_Template, 1, 1, "ng-container", 8)(3, AccordionItemDefaultSlotsComponent_ng_template_0_Case_3_Template, 1, 1, "ng-container", 8)(4, AccordionItemDefaultSlotsComponent_ng_template_0_Case_4_Template, 1, 1, "ng-container", 8)(5, AccordionItemDefaultSlotsComponent_ng_template_0_Case_5_Template, 1, 1, "ng-container", 8)(6, AccordionItemDefaultSlotsComponent_ng_template_0_Case_6_Template, 1, 1, "ng-container", 8)(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, 6, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor)(21, AccordionItemDefaultSlotsComponent_ng_template_0_Conditional_21_Template, 3, 7, "div", 9);
|
|
1878
1867
|
} if (rf & 2) {
|
|
1879
1868
|
let tmp_11_0;
|
|
1880
1869
|
const state_r10 = ctx.state;
|
|
1881
|
-
i0.ɵɵconditional(
|
|
1870
|
+
i0.ɵɵconditional((tmp_11_0 = state_r10.itemHeadingTag) === "h1" ? 0 : tmp_11_0 === "h2" ? 1 : tmp_11_0 === "h3" ? 2 : tmp_11_0 === "h4" ? 3 : tmp_11_0 === "h5" ? 4 : tmp_11_0 === "h6" ? 5 : 6);
|
|
1882
1871
|
i0.ɵɵadvance(21);
|
|
1883
|
-
i0.ɵɵconditional(
|
|
1872
|
+
i0.ɵɵconditional(state_r10.shouldBeInDOM ? 21 : -1);
|
|
1884
1873
|
} }
|
|
1885
1874
|
const _c2$3 = ["auAccordionItem", ""];
|
|
1886
|
-
|
|
1875
|
+
const _c3$3 = ["*"];
|
|
1876
|
+
function AccordionItemComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1877
|
+
i0.ɵɵprojection(0);
|
|
1878
|
+
} }
|
|
1879
|
+
function AccordionItemComponent_ng_template_1_Template(rf, ctx) { }
|
|
1887
1880
|
class AccordionBodyDirective {
|
|
1888
1881
|
constructor() {
|
|
1889
1882
|
this.templateRef = inject((TemplateRef));
|
|
@@ -1933,7 +1926,7 @@ class AccordionItemDefaultSlotsComponent {
|
|
|
1933
1926
|
} if (rf & 2) {
|
|
1934
1927
|
let _t;
|
|
1935
1928
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.structure = _t.first);
|
|
1936
|
-
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 0, consts: [["structure", ""], ["h1", ""], ["h2", ""], ["h3", ""], ["h4", ""], ["h5", ""], ["h6", ""], ["button", ""], [
|
|
1929
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 0, consts: [["structure", ""], ["h1", ""], ["h2", ""], ["h3", ""], ["h4", ""], ["h5", ""], ["h6", ""], ["button", ""], [3, "ngTemplateOutlet"], [1, "accordion-collapse", 3, "auUse"], [1, "accordion-header", 3, "auUse"], [1, "accordion-button", 3, "auUse"], [3, "auSlotProps", "auSlot"], [1, "accordion-body", 3, "auUse"]], template: function AccordionItemDefaultSlotsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1937
1930
|
i0.ɵɵtemplate(0, AccordionItemDefaultSlotsComponent_ng_template_0_Template, 22, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
1938
1931
|
} }, dependencies: [UseDirective, SlotDirective, NgTemplateOutlet], encapsulation: 2, changeDetection: 0 }); }
|
|
1939
1932
|
}
|
|
@@ -2006,13 +1999,13 @@ class AccordionItemDefaultSlotsComponent {
|
|
|
2006
1999
|
|
|
2007
2000
|
<ng-template #button>
|
|
2008
2001
|
<button class="accordion-button " [auUse]="widget.directives.buttonDirective">
|
|
2009
|
-
<ng-template [auSlotProps]="{state, widget}" [auSlot]="state.
|
|
2002
|
+
<ng-template [auSlotProps]="{state, widget}" [auSlot]="state.header"></ng-template>
|
|
2010
2003
|
</button>
|
|
2011
2004
|
</ng-template>
|
|
2012
2005
|
@if (state.shouldBeInDOM) {
|
|
2013
2006
|
<div [auUse]="widget.directives.bodyContainerDirective" class="accordion-collapse">
|
|
2014
2007
|
<div class="accordion-body" [auUse]="widget.directives.bodyDirective">
|
|
2015
|
-
<ng-template [auSlotProps]="{state, widget}" [auSlot]="state.
|
|
2008
|
+
<ng-template [auSlotProps]="{state, widget}" [auSlot]="state.children"></ng-template>
|
|
2016
2009
|
</div>
|
|
2017
2010
|
</div>
|
|
2018
2011
|
}
|
|
@@ -2023,10 +2016,10 @@ class AccordionItemDefaultSlotsComponent {
|
|
|
2023
2016
|
type: ViewChild,
|
|
2024
2017
|
args: ['structure', { static: true }]
|
|
2025
2018
|
}] }); })();
|
|
2026
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccordionItemDefaultSlotsComponent, { className: "AccordionItemDefaultSlotsComponent", filePath: "components/accordion/accordion.component.ts", lineNumber:
|
|
2019
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccordionItemDefaultSlotsComponent, { className: "AccordionItemDefaultSlotsComponent", filePath: "components/accordion/accordion.component.ts", lineNumber: 134 }); })();
|
|
2027
2020
|
const accordionItemDefaultSlotItemStructure = new ComponentTemplate(AccordionItemDefaultSlotsComponent, 'structure');
|
|
2028
2021
|
const defaultConfig$3 = {
|
|
2029
|
-
|
|
2022
|
+
structure: accordionItemDefaultSlotItemStructure,
|
|
2030
2023
|
};
|
|
2031
2024
|
class AccordionItemComponent extends BaseWidgetDirective {
|
|
2032
2025
|
constructor() {
|
|
@@ -2034,36 +2027,37 @@ class AccordionItemComponent extends BaseWidgetDirective {
|
|
|
2034
2027
|
/**
|
|
2035
2028
|
* An event fired when an item is shown.
|
|
2036
2029
|
*/
|
|
2037
|
-
this.
|
|
2030
|
+
this.shown = new EventEmitter();
|
|
2038
2031
|
/**
|
|
2039
2032
|
* An event fired when an item is hidden.
|
|
2040
2033
|
*/
|
|
2041
|
-
this.
|
|
2034
|
+
this.hidden = new EventEmitter();
|
|
2042
2035
|
/**
|
|
2043
2036
|
* An event fired when the `visible` value changes.
|
|
2044
2037
|
*
|
|
2045
2038
|
* Event payload is the new value of visible.
|
|
2046
2039
|
*/
|
|
2047
|
-
this.
|
|
2040
|
+
this.visibleChange = new EventEmitter();
|
|
2048
2041
|
this.ad = inject(AccordionDirective);
|
|
2042
|
+
this.defaultSlots = writable(defaultConfig$3);
|
|
2049
2043
|
this._widget = callWidgetFactory({
|
|
2050
2044
|
factory: ((arg) => this.ad.api.registerItem(arg)),
|
|
2051
|
-
defaultConfig:
|
|
2045
|
+
defaultConfig: this.defaultSlots,
|
|
2052
2046
|
events: {
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2047
|
+
onVisibleChange: (visible) => this.visibleChange.emit(visible),
|
|
2048
|
+
onHidden: () => this.hidden.emit(),
|
|
2049
|
+
onShown: () => this.shown.emit(),
|
|
2056
2050
|
},
|
|
2057
2051
|
afterInit: () => {
|
|
2058
|
-
useDirectiveForHost(this._widget.directives.
|
|
2052
|
+
useDirectiveForHost(this._widget.directives.itemDirective);
|
|
2059
2053
|
},
|
|
2060
2054
|
});
|
|
2061
2055
|
}
|
|
2062
2056
|
ngAfterContentChecked() {
|
|
2063
2057
|
this._widget.patchSlots({
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2058
|
+
structure: this.slotStructureFromContent?.templateRef,
|
|
2059
|
+
header: this.slotHeaderFromContent?.templateRef,
|
|
2060
|
+
children: this.slotBodyFromContent?.templateRef,
|
|
2067
2061
|
});
|
|
2068
2062
|
}
|
|
2069
2063
|
ngAfterViewInit() {
|
|
@@ -2076,14 +2070,17 @@ class AccordionItemComponent extends BaseWidgetDirective {
|
|
|
2076
2070
|
i0.ɵɵcontentQuery(dirIndex, AccordionItemStructureDirective, 5);
|
|
2077
2071
|
} if (rf & 2) {
|
|
2078
2072
|
let _t;
|
|
2079
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
|
2080
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
|
2081
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
|
2082
|
-
} }, hostAttrs: [1, "accordion-item"], inputs: {
|
|
2083
|
-
i0.ɵɵ
|
|
2073
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotHeaderFromContent = _t.first);
|
|
2074
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotBodyFromContent = _t.first);
|
|
2075
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
2076
|
+
} }, 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: _c2$3, ngContentSelectors: _c3$3, decls: 2, vars: 6, consts: [[3, "auContentAsSlot"], [3, "auSlotProps", "auSlot"]], template: function AccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2077
|
+
i0.ɵɵprojectionDef();
|
|
2078
|
+
i0.ɵɵtemplate(0, AccordionItemComponent_ng_template_0_Template, 1, 0, "ng-template", 0)(1, AccordionItemComponent_ng_template_1_Template, 0, 0, "ng-template", 1);
|
|
2084
2079
|
} if (rf & 2) {
|
|
2085
|
-
i0.ɵɵproperty("
|
|
2086
|
-
|
|
2080
|
+
i0.ɵɵproperty("auContentAsSlot", ctx.defaultSlots);
|
|
2081
|
+
i0.ɵɵadvance();
|
|
2082
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction2(3, _c1$3, ctx.state(), ctx.widget))("auSlot", ctx.state().structure);
|
|
2083
|
+
} }, dependencies: [SlotDirective, ContentAsSlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
2087
2084
|
}
|
|
2088
2085
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionItemComponent, [{
|
|
2089
2086
|
type: Component,
|
|
@@ -2095,74 +2092,79 @@ class AccordionItemComponent extends BaseWidgetDirective {
|
|
|
2095
2092
|
host: {
|
|
2096
2093
|
class: 'accordion-item',
|
|
2097
2094
|
},
|
|
2098
|
-
imports: [SlotDirective, UseDirective],
|
|
2099
|
-
template: `
|
|
2095
|
+
imports: [SlotDirective, UseDirective, ContentAsSlotDirective],
|
|
2096
|
+
template: `
|
|
2097
|
+
<ng-template [auContentAsSlot]="defaultSlots">
|
|
2098
|
+
<ng-content></ng-content>
|
|
2099
|
+
</ng-template>
|
|
2100
|
+
<ng-template [auSlotProps]="{state: state(), widget}" [auSlot]="state().structure"></ng-template>
|
|
2101
|
+
`,
|
|
2100
2102
|
}]
|
|
2101
|
-
}], null, {
|
|
2103
|
+
}], null, { header: [{
|
|
2102
2104
|
type: Input,
|
|
2103
|
-
args: ['
|
|
2104
|
-
}],
|
|
2105
|
+
args: ['auHeader']
|
|
2106
|
+
}], slotHeaderFromContent: [{
|
|
2105
2107
|
type: ContentChild,
|
|
2106
2108
|
args: [AccordionHeaderDirective, { static: false }]
|
|
2107
|
-
}],
|
|
2109
|
+
}], children: [{
|
|
2108
2110
|
type: Input,
|
|
2109
|
-
args: ['
|
|
2110
|
-
}],
|
|
2111
|
+
args: ['auChildren']
|
|
2112
|
+
}], slotBodyFromContent: [{
|
|
2111
2113
|
type: ContentChild,
|
|
2112
2114
|
args: [AccordionBodyDirective, { static: false }]
|
|
2113
|
-
}],
|
|
2115
|
+
}], structure: [{
|
|
2114
2116
|
type: Input,
|
|
2115
|
-
args: ['
|
|
2116
|
-
}],
|
|
2117
|
+
args: ['auStructure']
|
|
2118
|
+
}], slotStructureFromContent: [{
|
|
2117
2119
|
type: ContentChild,
|
|
2118
2120
|
args: [AccordionItemStructureDirective, { static: false }]
|
|
2119
|
-
}],
|
|
2121
|
+
}], id: [{
|
|
2120
2122
|
type: Input,
|
|
2121
|
-
args: ['
|
|
2122
|
-
}],
|
|
2123
|
+
args: ['auId']
|
|
2124
|
+
}], transition: [{
|
|
2123
2125
|
type: Input,
|
|
2124
|
-
args: ['
|
|
2125
|
-
}],
|
|
2126
|
+
args: ['auTransition']
|
|
2127
|
+
}], className: [{
|
|
2126
2128
|
type: Input,
|
|
2127
|
-
args: ['
|
|
2128
|
-
}],
|
|
2129
|
+
args: ['auClassName']
|
|
2130
|
+
}], destroyOnHide: [{
|
|
2129
2131
|
type: Input,
|
|
2130
|
-
args: [{ alias: '
|
|
2131
|
-
}],
|
|
2132
|
+
args: [{ alias: 'auDestroyOnHide', transform: auBooleanAttribute }]
|
|
2133
|
+
}], disabled: [{
|
|
2132
2134
|
type: Input,
|
|
2133
|
-
args: [{ alias: '
|
|
2134
|
-
}],
|
|
2135
|
+
args: [{ alias: 'auDisabled', transform: auBooleanAttribute }]
|
|
2136
|
+
}], visible: [{
|
|
2135
2137
|
type: Input,
|
|
2136
|
-
args: [{ alias: '
|
|
2137
|
-
}],
|
|
2138
|
+
args: [{ alias: 'auVisible', transform: auBooleanAttribute }]
|
|
2139
|
+
}], animated: [{
|
|
2138
2140
|
type: Input,
|
|
2139
|
-
args: [{ alias: '
|
|
2140
|
-
}],
|
|
2141
|
+
args: [{ alias: 'auAnimated', transform: auBooleanAttribute }]
|
|
2142
|
+
}], headerClassName: [{
|
|
2141
2143
|
type: Input,
|
|
2142
|
-
args: ['
|
|
2143
|
-
}],
|
|
2144
|
+
args: ['auHeaderClassName']
|
|
2145
|
+
}], buttonClassName: [{
|
|
2144
2146
|
type: Input,
|
|
2145
|
-
args: ['
|
|
2146
|
-
}],
|
|
2147
|
+
args: ['auButtonClassName']
|
|
2148
|
+
}], bodyContainerClassName: [{
|
|
2147
2149
|
type: Input,
|
|
2148
|
-
args: ['
|
|
2149
|
-
}],
|
|
2150
|
+
args: ['auBodyContainerClassName']
|
|
2151
|
+
}], bodyClassName: [{
|
|
2150
2152
|
type: Input,
|
|
2151
|
-
args: ['
|
|
2152
|
-
}],
|
|
2153
|
+
args: ['auBodyClassName']
|
|
2154
|
+
}], headingTag: [{
|
|
2153
2155
|
type: Input,
|
|
2154
|
-
args: ['
|
|
2155
|
-
}],
|
|
2156
|
+
args: ['auHeadingTag']
|
|
2157
|
+
}], shown: [{
|
|
2156
2158
|
type: Output,
|
|
2157
|
-
args: ['
|
|
2158
|
-
}],
|
|
2159
|
+
args: ['auShown']
|
|
2160
|
+
}], hidden: [{
|
|
2159
2161
|
type: Output,
|
|
2160
|
-
args: ['
|
|
2161
|
-
}],
|
|
2162
|
+
args: ['auHidden']
|
|
2163
|
+
}], visibleChange: [{
|
|
2162
2164
|
type: Output,
|
|
2163
|
-
args: ['
|
|
2165
|
+
args: ['auVisibleChange']
|
|
2164
2166
|
}] }); })();
|
|
2165
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccordionItemComponent, { className: "AccordionItemComponent", filePath: "components/accordion/accordion.component.ts", lineNumber:
|
|
2167
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccordionItemComponent, { className: "AccordionItemComponent", filePath: "components/accordion/accordion.component.ts", lineNumber: 159 }); })();
|
|
2166
2168
|
class AccordionDirective extends BaseWidgetDirective {
|
|
2167
2169
|
constructor() {
|
|
2168
2170
|
super(...arguments);
|
|
@@ -2171,43 +2173,19 @@ class AccordionDirective extends BaseWidgetDirective {
|
|
|
2171
2173
|
*
|
|
2172
2174
|
* Event payload is the id of the item.
|
|
2173
2175
|
*/
|
|
2174
|
-
this.shown = new EventEmitter();
|
|
2175
|
-
/**
|
|
2176
|
-
* An event fired when an item is hidden.
|
|
2177
|
-
*
|
|
2178
|
-
* Event payload is the id of the item.
|
|
2179
|
-
*/
|
|
2180
|
-
this.hidden = new EventEmitter();
|
|
2181
|
-
//should not be documented
|
|
2182
|
-
/**
|
|
2183
|
-
* An event fired when an item is shown.
|
|
2184
|
-
*
|
|
2185
|
-
* It is a prop of the accordion-item.
|
|
2186
|
-
*/
|
|
2187
2176
|
this.itemShown = new EventEmitter();
|
|
2188
2177
|
/**
|
|
2189
2178
|
* An event fired when an item is hidden.
|
|
2190
2179
|
*
|
|
2191
|
-
*
|
|
2180
|
+
* Event payload is the id of the item.
|
|
2192
2181
|
*/
|
|
2193
2182
|
this.itemHidden = new EventEmitter();
|
|
2194
|
-
/**
|
|
2195
|
-
* An event fired when the `visible` value changes.
|
|
2196
|
-
*
|
|
2197
|
-
* Event payload is the new value of visible.
|
|
2198
|
-
*
|
|
2199
|
-
* It is a prop of the accordion-item.
|
|
2200
|
-
*/
|
|
2201
|
-
this.itemVisibleChange = new EventEmitter();
|
|
2202
2183
|
this._widget = callWidgetFactory({
|
|
2203
2184
|
factory: createAccordion,
|
|
2204
2185
|
widgetName: 'accordion',
|
|
2205
2186
|
events: {
|
|
2206
|
-
|
|
2207
|
-
onItemHidden: () => this.itemHidden.emit(),
|
|
2208
|
-
onItemShown: () => this.itemShown.emit(),
|
|
2209
|
-
onShown: (id) => this.shown.emit(id),
|
|
2210
|
-
onHidden: (id) => this.hidden.emit(id),
|
|
2187
|
+
onItemShown: (id) => this.itemShown.emit(id),
|
|
2188
|
+
onItemHidden: (id) => this.itemHidden.emit(id),
|
|
2211
2189
|
},
|
|
2212
2190
|
afterInit: () => {
|
|
2213
2191
|
useDirectiveForHost(this._widget.directives.accordionDirective);
|
|
@@ -2215,7 +2193,7 @@ class AccordionDirective extends BaseWidgetDirective {
|
|
|
2215
2193
|
});
|
|
2216
2194
|
}
|
|
2217
2195
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAccordionDirective_BaseFactory; return function AccordionDirective_Factory(t) { return (ɵAccordionDirective_BaseFactory || (ɵAccordionDirective_BaseFactory = i0.ɵɵgetInheritedFactory(AccordionDirective)))(t || AccordionDirective); }; })(); }
|
|
2218
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AccordionDirective, selectors: [["", "auAccordion", ""]], hostAttrs: [1, "accordion"], inputs: { closeOthers: [
|
|
2196
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AccordionDirective, selectors: [["", "auAccordion", ""]], hostAttrs: [1, "accordion"], inputs: { closeOthers: [2, "auCloseOthers", "closeOthers", auBooleanAttribute], className: [0, "auClassName", "className"], itemDestroyOnHide: [2, "auItemDestroyOnHide", "itemDestroyOnHide", auBooleanAttribute], itemAnimated: [2, "auItemAnimated", "itemAnimated", auBooleanAttribute], itemTransition: [0, "auItemTransition", "itemTransition"], itemStructure: [0, "auItemStructure", "itemStructure"], itemClassName: [0, "auItemClassName", "itemClassName"], itemHeaderClassName: [0, "auItemHeaderClassName", "itemHeaderClassName"], itemButtonClassName: [0, "auItemButtonClassName", "itemButtonClassName"], itemBodyContainerClassName: [0, "auItemBodyContainerClassName", "itemBodyContainerClassName"], itemBodyClassName: [0, "auItemBodyClassName", "itemBodyClassName"], itemHeadingTag: [0, "auItemHeadingTag", "itemHeadingTag"] }, outputs: { itemShown: "auItemShown", itemHidden: "auItemHidden" }, exportAs: ["auAccordion"], standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature] }); }
|
|
2219
2197
|
}
|
|
2220
2198
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionDirective, [{
|
|
2221
2199
|
type: Directive,
|
|
@@ -2233,69 +2211,46 @@ class AccordionDirective extends BaseWidgetDirective {
|
|
|
2233
2211
|
}], className: [{
|
|
2234
2212
|
type: Input,
|
|
2235
2213
|
args: ['auClassName']
|
|
2236
|
-
}],
|
|
2214
|
+
}], itemShown: [{
|
|
2237
2215
|
type: Output,
|
|
2238
|
-
args: ['
|
|
2239
|
-
}],
|
|
2216
|
+
args: ['auItemShown']
|
|
2217
|
+
}], itemHidden: [{
|
|
2240
2218
|
type: Output,
|
|
2241
|
-
args: ['
|
|
2242
|
-
}], itemId: [{
|
|
2243
|
-
type: Input,
|
|
2244
|
-
args: ['auItemId']
|
|
2219
|
+
args: ['auItemHidden']
|
|
2245
2220
|
}], itemDestroyOnHide: [{
|
|
2246
2221
|
type: Input,
|
|
2247
2222
|
args: [{ alias: 'auItemDestroyOnHide', transform: auBooleanAttribute }]
|
|
2248
|
-
}], itemDisabled: [{
|
|
2249
|
-
type: Input,
|
|
2250
|
-
args: [{ alias: 'auItemDisabled', transform: auBooleanAttribute }]
|
|
2251
|
-
}], itemVisible: [{
|
|
2252
|
-
type: Input,
|
|
2253
|
-
args: [{ alias: 'auItemVisible', transform: auBooleanAttribute }]
|
|
2254
2223
|
}], itemAnimated: [{
|
|
2255
2224
|
type: Input,
|
|
2256
2225
|
args: [{ alias: 'auItemAnimated', transform: auBooleanAttribute }]
|
|
2257
2226
|
}], itemTransition: [{
|
|
2258
2227
|
type: Input,
|
|
2259
2228
|
args: ['auItemTransition']
|
|
2260
|
-
}],
|
|
2261
|
-
type: Input,
|
|
2262
|
-
args: ['auSlotItemStructure']
|
|
2263
|
-
}], slotItemBody: [{
|
|
2229
|
+
}], itemStructure: [{
|
|
2264
2230
|
type: Input,
|
|
2265
|
-
args: ['
|
|
2266
|
-
}],
|
|
2231
|
+
args: ['auItemStructure']
|
|
2232
|
+
}], itemClassName: [{
|
|
2267
2233
|
type: Input,
|
|
2268
|
-
args: ['
|
|
2269
|
-
}],
|
|
2234
|
+
args: ['auItemClassName']
|
|
2235
|
+
}], itemHeaderClassName: [{
|
|
2270
2236
|
type: Input,
|
|
2271
|
-
args: ['
|
|
2272
|
-
}],
|
|
2237
|
+
args: ['auItemHeaderClassName']
|
|
2238
|
+
}], itemButtonClassName: [{
|
|
2273
2239
|
type: Input,
|
|
2274
|
-
args: ['
|
|
2275
|
-
}],
|
|
2240
|
+
args: ['auItemButtonClassName']
|
|
2241
|
+
}], itemBodyContainerClassName: [{
|
|
2276
2242
|
type: Input,
|
|
2277
|
-
args: ['
|
|
2278
|
-
}],
|
|
2243
|
+
args: ['auItemBodyContainerClassName']
|
|
2244
|
+
}], itemBodyClassName: [{
|
|
2279
2245
|
type: Input,
|
|
2280
|
-
args: ['
|
|
2281
|
-
}], itemBodyClass: [{
|
|
2282
|
-
type: Input,
|
|
2283
|
-
args: ['auItemBodyClass']
|
|
2246
|
+
args: ['auItemBodyClassName']
|
|
2284
2247
|
}], itemHeadingTag: [{
|
|
2285
2248
|
type: Input,
|
|
2286
2249
|
args: ['auItemHeadingTag']
|
|
2287
|
-
}], itemShown: [{
|
|
2288
|
-
type: Output,
|
|
2289
|
-
args: ['auItemShown']
|
|
2290
|
-
}], itemHidden: [{
|
|
2291
|
-
type: Output,
|
|
2292
|
-
args: ['auItemHidden']
|
|
2293
|
-
}], itemVisibleChange: [{
|
|
2294
|
-
type: Output,
|
|
2295
|
-
args: ['auItemVisibleChange']
|
|
2296
2250
|
}] }); })();
|
|
2297
2251
|
|
|
2298
2252
|
const createSlider = createSlider$1;
|
|
2253
|
+
const getSliderDefaultConfig = getSliderDefaultConfig$1;
|
|
2299
2254
|
|
|
2300
2255
|
const _c0$2 = ["handle"];
|
|
2301
2256
|
const _c1$2 = a0 => ({ item: a0 });
|
|
@@ -2337,11 +2292,11 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_Templat
|
|
|
2337
2292
|
const widget_r2 = ctx_r2.widget;
|
|
2338
2293
|
i0.ɵɵproperty("auUse", widget_r2.directives.minLabelDirective);
|
|
2339
2294
|
i0.ɵɵadvance();
|
|
2340
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
2295
|
+
i0.ɵɵproperty("auSlot", state_r4.label)("auSlotProps", i0.ɵɵpureFunction3(6, _c5, state_r4, widget_r2, state_r4.min));
|
|
2341
2296
|
i0.ɵɵadvance();
|
|
2342
2297
|
i0.ɵɵproperty("auUse", widget_r2.directives.maxLabelDirective);
|
|
2343
2298
|
i0.ɵɵadvance();
|
|
2344
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
2299
|
+
i0.ɵɵproperty("auSlot", state_r4.label)("auSlotProps", i0.ɵɵpureFunction3(10, _c5, state_r4, widget_r2, state_r4.max));
|
|
2345
2300
|
} }
|
|
2346
2301
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_1_ng_template_0_Template(rf, ctx) { }
|
|
2347
2302
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_1_ng_template_2_Template(rf, ctx) { }
|
|
@@ -2353,9 +2308,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditi
|
|
|
2353
2308
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
2354
2309
|
const state_r4 = ctx_r2.state;
|
|
2355
2310
|
const widget_r2 = ctx_r2.widget;
|
|
2356
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
2311
|
+
i0.ɵɵproperty("auSlot", state_r4.label)("auSlotProps", i0.ɵɵpureFunction3(4, _c5, state_r4, widget_r2, state_r4.sortedValues[1]));
|
|
2357
2312
|
i0.ɵɵadvance(2);
|
|
2358
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
2313
|
+
i0.ɵɵproperty("auSlot", state_r4.label)("auSlotProps", i0.ɵɵpureFunction3(8, _c5, state_r4, widget_r2, state_r4.sortedValues[0]));
|
|
2359
2314
|
} }
|
|
2360
2315
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_2_ng_template_0_Template(rf, ctx) { }
|
|
2361
2316
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_2_ng_template_2_Template(rf, ctx) { }
|
|
@@ -2367,9 +2322,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditi
|
|
|
2367
2322
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
2368
2323
|
const state_r4 = ctx_r2.state;
|
|
2369
2324
|
const widget_r2 = ctx_r2.widget;
|
|
2370
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
2325
|
+
i0.ɵɵproperty("auSlot", state_r4.label)("auSlotProps", i0.ɵɵpureFunction3(4, _c5, state_r4, widget_r2, state_r4.sortedValues[0]));
|
|
2371
2326
|
i0.ɵɵadvance(2);
|
|
2372
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
2327
|
+
i0.ɵɵproperty("auSlot", state_r4.label)("auSlotProps", i0.ɵɵpureFunction3(8, _c5, state_r4, widget_r2, state_r4.sortedValues[1]));
|
|
2373
2328
|
} }
|
|
2374
2329
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
2375
2330
|
i0.ɵɵelementStart(0, "div", 2);
|
|
@@ -2381,7 +2336,7 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Templat
|
|
|
2381
2336
|
const widget_r2 = ctx_r2.widget;
|
|
2382
2337
|
i0.ɵɵproperty("auUse", widget_r2.directives.combinedHandleLabelDisplayDirective);
|
|
2383
2338
|
i0.ɵɵadvance();
|
|
2384
|
-
i0.ɵɵconditional(
|
|
2339
|
+
i0.ɵɵconditional(state_r4.rtl ? 1 : 2);
|
|
2385
2340
|
} }
|
|
2386
2341
|
function SliderDefaultStructureSlotComponent_ng_template_0_For_6_ng_template_0_Template(rf, ctx) { }
|
|
2387
2342
|
function SliderDefaultStructureSlotComponent_ng_template_0_For_6_Conditional_1_ng_template_1_Template(rf, ctx) { }
|
|
@@ -2390,13 +2345,13 @@ function SliderDefaultStructureSlotComponent_ng_template_0_For_6_Conditional_1_T
|
|
|
2390
2345
|
i0.ɵɵtemplate(1, SliderDefaultStructureSlotComponent_ng_template_0_For_6_Conditional_1_ng_template_1_Template, 0, 0, "ng-template", 3);
|
|
2391
2346
|
i0.ɵɵelementEnd();
|
|
2392
2347
|
} if (rf & 2) {
|
|
2393
|
-
const
|
|
2348
|
+
const ɵ$index_32_r5 = i0.ɵɵnextContext().$index;
|
|
2394
2349
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
2395
2350
|
const state_r4 = ctx_r2.state;
|
|
2396
2351
|
const widget_r2 = ctx_r2.widget;
|
|
2397
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c2$2, widget_r2.directives.handleLabelDisplayDirective, i0.ɵɵpureFunction1(3, _c7,
|
|
2352
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c2$2, widget_r2.directives.handleLabelDisplayDirective, i0.ɵɵpureFunction1(3, _c7, ɵ$index_32_r5)));
|
|
2398
2353
|
i0.ɵɵadvance();
|
|
2399
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
2354
|
+
i0.ɵɵproperty("auSlot", state_r4.label)("auSlotProps", i0.ɵɵpureFunction3(8, _c5, state_r4, widget_r2, state_r4.values[ɵ$index_32_r5]));
|
|
2400
2355
|
} }
|
|
2401
2356
|
function SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
2402
2357
|
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, 12, "div", 2);
|
|
@@ -2405,9 +2360,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template(rf, ct
|
|
|
2405
2360
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
2406
2361
|
const state_r4 = ctx_r2.state;
|
|
2407
2362
|
const widget_r2 = ctx_r2.widget;
|
|
2408
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
2363
|
+
i0.ɵɵproperty("auSlot", state_r4.handle)("auSlotProps", i0.ɵɵpureFunction3(3, _c6, state_r4, widget_r2, item_r6));
|
|
2409
2364
|
i0.ɵɵadvance();
|
|
2410
|
-
i0.ɵɵconditional(
|
|
2365
|
+
i0.ɵɵconditional(state_r4.showValueLabels && !state_r4.combinedLabelDisplay ? 1 : -1);
|
|
2411
2366
|
} }
|
|
2412
2367
|
function SliderDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2413
2368
|
i0.ɵɵrepeaterCreate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_1_Template, 1, 6, "div", 2, i0.ɵɵrepeaterTrackByIdentity);
|
|
@@ -2421,9 +2376,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { i
|
|
|
2421
2376
|
i0.ɵɵadvance(2);
|
|
2422
2377
|
i0.ɵɵproperty("auUse", widget_r2.directives.clickableAreaDirective);
|
|
2423
2378
|
i0.ɵɵadvance();
|
|
2424
|
-
i0.ɵɵconditional(
|
|
2379
|
+
i0.ɵɵconditional(state_r4.showMinMaxLabels ? 3 : -1);
|
|
2425
2380
|
i0.ɵɵadvance();
|
|
2426
|
-
i0.ɵɵconditional(
|
|
2381
|
+
i0.ɵɵconditional(state_r4.showValueLabels && state_r4.combinedLabelDisplay ? 4 : -1);
|
|
2427
2382
|
i0.ɵɵadvance();
|
|
2428
2383
|
i0.ɵɵrepeater(state_r4.sortedHandles);
|
|
2429
2384
|
} }
|
|
@@ -2494,7 +2449,7 @@ class SliderDefaultHandleSlotComponent {
|
|
|
2494
2449
|
type: ViewChild,
|
|
2495
2450
|
args: ['handle', { static: true }]
|
|
2496
2451
|
}] }); })();
|
|
2497
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultHandleSlotComponent, { className: "SliderDefaultHandleSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
2452
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultHandleSlotComponent, { className: "SliderDefaultHandleSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber: 60 }); })();
|
|
2498
2453
|
const sliderDefaultSlotHandle = new ComponentTemplate(SliderDefaultHandleSlotComponent, 'handle');
|
|
2499
2454
|
class SliderStructureDirective {
|
|
2500
2455
|
constructor() {
|
|
@@ -2535,28 +2490,28 @@ class SliderDefaultStructureSlotComponent {
|
|
|
2535
2490
|
<div [auUse]="widget.directives.clickableAreaDirective"></div>
|
|
2536
2491
|
@if (state.showMinMaxLabels) {
|
|
2537
2492
|
<div [auUse]="widget.directives.minLabelDirective">
|
|
2538
|
-
<ng-template [auSlot]="state.
|
|
2493
|
+
<ng-template [auSlot]="state.label" [auSlotProps]="{state, widget, value: state.min}"></ng-template>
|
|
2539
2494
|
</div>
|
|
2540
2495
|
<div [auUse]="widget.directives.maxLabelDirective">
|
|
2541
|
-
<ng-template [auSlot]="state.
|
|
2496
|
+
<ng-template [auSlot]="state.label" [auSlotProps]="{state, widget, value: state.max}"></ng-template>
|
|
2542
2497
|
</div>
|
|
2543
2498
|
}
|
|
2544
2499
|
@if (state.showValueLabels && state.combinedLabelDisplay) {
|
|
2545
2500
|
<div [auUse]="widget.directives.combinedHandleLabelDisplayDirective">
|
|
2546
2501
|
@if (state.rtl) {
|
|
2547
|
-
<ng-template [auSlot]="state.
|
|
2548
|
-
<ng-template [auSlot]="state.
|
|
2502
|
+
<ng-template [auSlot]="state.label" [auSlotProps]="{state, widget, value: state.sortedValues[1]}"></ng-template> -
|
|
2503
|
+
<ng-template [auSlot]="state.label" [auSlotProps]="{state, widget, value: state.sortedValues[0]}"></ng-template>
|
|
2549
2504
|
} @else {
|
|
2550
|
-
<ng-template [auSlot]="state.
|
|
2551
|
-
<ng-template [auSlot]="state.
|
|
2505
|
+
<ng-template [auSlot]="state.label" [auSlotProps]="{state, widget, value: state.sortedValues[0]}"></ng-template> -
|
|
2506
|
+
<ng-template [auSlot]="state.label" [auSlotProps]="{state, widget, value: state.sortedValues[1]}"></ng-template>
|
|
2552
2507
|
}
|
|
2553
2508
|
</div>
|
|
2554
2509
|
}
|
|
2555
2510
|
@for (item of state.sortedHandles; track item.id; let i = $index) {
|
|
2556
|
-
<ng-template [auSlot]="state.
|
|
2511
|
+
<ng-template [auSlot]="state.handle" [auSlotProps]="{state, widget, item}"></ng-template>
|
|
2557
2512
|
@if (state.showValueLabels && !state.combinedLabelDisplay) {
|
|
2558
2513
|
<div [auUse]="[widget.directives.handleLabelDisplayDirective, {index: i}]">
|
|
2559
|
-
<ng-template [auSlot]="state.
|
|
2514
|
+
<ng-template [auSlot]="state.label" [auSlotProps]="{state, widget, value: state.values[i]}"></ng-template>
|
|
2560
2515
|
</div>
|
|
2561
2516
|
}
|
|
2562
2517
|
}
|
|
@@ -2567,11 +2522,11 @@ class SliderDefaultStructureSlotComponent {
|
|
|
2567
2522
|
type: ViewChild,
|
|
2568
2523
|
args: ['structure', { static: true }]
|
|
2569
2524
|
}] }); })();
|
|
2570
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultStructureSlotComponent, { className: "SliderDefaultStructureSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
2525
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultStructureSlotComponent, { className: "SliderDefaultStructureSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber: 123 }); })();
|
|
2571
2526
|
const sliderDefaultSlotStructure = new ComponentTemplate(SliderDefaultStructureSlotComponent, 'structure');
|
|
2572
2527
|
const defaultConfig$2 = {
|
|
2573
|
-
|
|
2574
|
-
|
|
2528
|
+
structure: sliderDefaultSlotStructure,
|
|
2529
|
+
handle: sliderDefaultSlotHandle,
|
|
2575
2530
|
};
|
|
2576
2531
|
class SliderComponent extends BaseWidgetDirective {
|
|
2577
2532
|
constructor() {
|
|
@@ -2632,9 +2587,9 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
2632
2587
|
}
|
|
2633
2588
|
ngAfterContentChecked() {
|
|
2634
2589
|
this._widget.patchSlots({
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2590
|
+
structure: this.slotStructureFromContent?.templateRef,
|
|
2591
|
+
handle: this.slotHandleFromContent?.templateRef,
|
|
2592
|
+
label: this.slotLabelFromContent?.templateRef,
|
|
2638
2593
|
});
|
|
2639
2594
|
}
|
|
2640
2595
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSliderComponent_BaseFactory; return function SliderComponent_Factory(t) { return (ɵSliderComponent_BaseFactory || (ɵSliderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SliderComponent)))(t || SliderComponent); }; })(); }
|
|
@@ -2649,10 +2604,10 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
2649
2604
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotHandleFromContent = _t.first);
|
|
2650
2605
|
} }, hostBindings: function SliderComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
2651
2606
|
i0.ɵɵlistener("blur", function SliderComponent_blur_HostBindingHandler() { return ctx.handleBlur(); });
|
|
2652
|
-
} }, inputs: { className: [
|
|
2607
|
+
} }, 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: 5, consts: [[3, "auSlot", "auSlotProps"]], template: function SliderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2653
2608
|
i0.ɵɵtemplate(0, SliderComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
2654
2609
|
} if (rf & 2) {
|
|
2655
|
-
i0.ɵɵproperty("auSlot", ctx.state().
|
|
2610
|
+
i0.ɵɵproperty("auSlot", ctx.state().structure)("auSlotProps", i0.ɵɵpureFunction2(2, _c9, ctx.state(), ctx.widget));
|
|
2656
2611
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
2657
2612
|
}
|
|
2658
2613
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderComponent, [{
|
|
@@ -2663,11 +2618,11 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
2663
2618
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2664
2619
|
encapsulation: ViewEncapsulation.None,
|
|
2665
2620
|
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent), multi: true }],
|
|
2666
|
-
imports: [SlotDirective
|
|
2621
|
+
imports: [SlotDirective],
|
|
2667
2622
|
host: {
|
|
2668
2623
|
'(blur)': 'handleBlur()',
|
|
2669
2624
|
},
|
|
2670
|
-
template: ` <ng-template [auSlot]="state().
|
|
2625
|
+
template: ` <ng-template [auSlot]="state().structure" [auSlotProps]="{state: state(), widget}"></ng-template> `,
|
|
2671
2626
|
}]
|
|
2672
2627
|
}], null, { className: [{
|
|
2673
2628
|
type: Input,
|
|
@@ -2711,28 +2666,29 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
2711
2666
|
}], valuesChange: [{
|
|
2712
2667
|
type: Output,
|
|
2713
2668
|
args: ['auValuesChange']
|
|
2714
|
-
}],
|
|
2669
|
+
}], label: [{
|
|
2715
2670
|
type: Input,
|
|
2716
|
-
args: ['
|
|
2671
|
+
args: ['auLabel']
|
|
2717
2672
|
}], slotLabelFromContent: [{
|
|
2718
2673
|
type: ContentChild,
|
|
2719
2674
|
args: [SliderLabelDirective, { static: false }]
|
|
2720
|
-
}],
|
|
2675
|
+
}], structure: [{
|
|
2721
2676
|
type: Input,
|
|
2722
|
-
args: ['
|
|
2677
|
+
args: ['auStructure']
|
|
2723
2678
|
}], slotStructureFromContent: [{
|
|
2724
2679
|
type: ContentChild,
|
|
2725
2680
|
args: [SliderStructureDirective, { static: false }]
|
|
2726
|
-
}],
|
|
2681
|
+
}], handle: [{
|
|
2727
2682
|
type: Input,
|
|
2728
|
-
args: ['
|
|
2683
|
+
args: ['auHandle']
|
|
2729
2684
|
}], slotHandleFromContent: [{
|
|
2730
2685
|
type: ContentChild,
|
|
2731
2686
|
args: [SliderHandleDirective, { static: false }]
|
|
2732
2687
|
}] }); })();
|
|
2733
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderComponent, { className: "SliderComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
2688
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderComponent, { className: "SliderComponent", filePath: "components/slider/slider.component.ts", lineNumber: 147 }); })();
|
|
2734
2689
|
|
|
2735
2690
|
const createProgressbar = createProgressbar$1;
|
|
2691
|
+
const getProgressbarDefaultConfig = getProgressbarDefaultConfig$1;
|
|
2736
2692
|
|
|
2737
2693
|
const _c0$1 = ["structure"];
|
|
2738
2694
|
const _c1$1 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
@@ -2750,7 +2706,7 @@ function ProgressbarDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (
|
|
|
2750
2706
|
i0.ɵɵclassProp("progress-bar-striped", state_r1.striped)("progress-bar-animated", state_r1.animated);
|
|
2751
2707
|
i0.ɵɵproperty("ngClass", state_r1.type ? "text-bg-" + state_r1.type : undefined);
|
|
2752
2708
|
i0.ɵɵadvance();
|
|
2753
|
-
i0.ɵɵproperty("auSlot", state_r1.
|
|
2709
|
+
i0.ɵɵproperty("auSlot", state_r1.children)("auSlotProps", i0.ɵɵpureFunction2(11, _c1$1, state_r1, widget_r2));
|
|
2754
2710
|
} }
|
|
2755
2711
|
const _c2$1 = ["auProgressbar", ""];
|
|
2756
2712
|
const _c3$1 = ["*"];
|
|
@@ -2799,7 +2755,7 @@ class ProgressbarDefaultSlotsComponent {
|
|
|
2799
2755
|
[ngClass]="state.type ? 'text-bg-' + state.type : undefined"
|
|
2800
2756
|
[style.width.%]="state.percentage"
|
|
2801
2757
|
>
|
|
2802
|
-
<ng-template [auSlot]="state.
|
|
2758
|
+
<ng-template [auSlot]="state.children" [auSlotProps]="{state, widget}"></ng-template>
|
|
2803
2759
|
</div>
|
|
2804
2760
|
</div>
|
|
2805
2761
|
</ng-template>
|
|
@@ -2829,7 +2785,7 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2829
2785
|
}
|
|
2830
2786
|
ngAfterContentChecked() {
|
|
2831
2787
|
this._widget.patchSlots({
|
|
2832
|
-
|
|
2788
|
+
children: undefined,
|
|
2833
2789
|
slotStructure: this.slotStructureFromContent?.templateRef,
|
|
2834
2790
|
});
|
|
2835
2791
|
}
|
|
@@ -2841,27 +2797,27 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2841
2797
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
2842
2798
|
} }, hostVars: 2, hostBindings: function ProgressbarComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
2843
2799
|
i0.ɵɵclassMap(ctx.state().className);
|
|
2844
|
-
} }, inputs: { ariaLabel: [
|
|
2800
|
+
} }, 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"], slotStructure: [0, "auSlotStructure", "slotStructure"], 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: _c2$1, ngContentSelectors: _c3$1, decls: 2, vars: 6, consts: [[3, "auContentAsSlot"], [3, "auSlot", "auSlotProps"]], template: function ProgressbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2845
2801
|
i0.ɵɵprojectionDef();
|
|
2846
2802
|
i0.ɵɵtemplate(0, ProgressbarComponent_ng_template_0_Template, 1, 0, "ng-template", 0)(1, ProgressbarComponent_ng_template_1_Template, 0, 0, "ng-template", 1);
|
|
2847
2803
|
} if (rf & 2) {
|
|
2848
|
-
i0.ɵɵproperty("
|
|
2804
|
+
i0.ɵɵproperty("auContentAsSlot", ctx.defaultSlots);
|
|
2849
2805
|
i0.ɵɵadvance();
|
|
2850
2806
|
i0.ɵɵproperty("auSlot", ctx.state().slotStructure)("auSlotProps", i0.ɵɵpureFunction2(3, _c1$1, ctx.state(), ctx.widget));
|
|
2851
|
-
} }, dependencies: [SlotDirective,
|
|
2807
|
+
} }, dependencies: [SlotDirective, ContentAsSlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
2852
2808
|
}
|
|
2853
2809
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressbarComponent, [{
|
|
2854
2810
|
type: Component,
|
|
2855
2811
|
args: [{
|
|
2856
2812
|
selector: '[auProgressbar]',
|
|
2857
2813
|
standalone: true,
|
|
2858
|
-
imports: [SlotDirective,
|
|
2814
|
+
imports: [SlotDirective, ContentAsSlotDirective],
|
|
2859
2815
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2860
2816
|
host: {
|
|
2861
2817
|
'[class]': 'state().className',
|
|
2862
2818
|
},
|
|
2863
2819
|
template: `
|
|
2864
|
-
<ng-template [
|
|
2820
|
+
<ng-template [auContentAsSlot]="defaultSlots"><ng-content></ng-content></ng-template>
|
|
2865
2821
|
<ng-template [auSlot]="state().slotStructure" [auSlotProps]="{state: state(), widget}"></ng-template>
|
|
2866
2822
|
`,
|
|
2867
2823
|
}]
|
|
@@ -2880,9 +2836,9 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2880
2836
|
}], className: [{
|
|
2881
2837
|
type: Input,
|
|
2882
2838
|
args: ['auClassName']
|
|
2883
|
-
}],
|
|
2839
|
+
}], children: [{
|
|
2884
2840
|
type: Input,
|
|
2885
|
-
args: ['
|
|
2841
|
+
args: ['auChildren']
|
|
2886
2842
|
}], slotStructure: [{
|
|
2887
2843
|
type: Input,
|
|
2888
2844
|
args: ['auSlotStructure']
|
|
@@ -2908,6 +2864,7 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2908
2864
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProgressbarComponent, { className: "ProgressbarComponent", filePath: "components/progressbar/progressbar.component.ts", lineNumber: 73 }); })();
|
|
2909
2865
|
|
|
2910
2866
|
const createToast = createToast$1;
|
|
2867
|
+
const getToastDefaultConfig = getToastDefaultConfig$1;
|
|
2911
2868
|
|
|
2912
2869
|
const _c0 = ["structure"];
|
|
2913
2870
|
const _c1 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
@@ -2927,9 +2884,9 @@ function ToastDefaultSlotsComponent_ng_template_0_Conditional_0_Template(rf, ctx
|
|
|
2927
2884
|
const state_r3 = ctx_r1.state;
|
|
2928
2885
|
const widget_r1 = ctx_r1.widget;
|
|
2929
2886
|
i0.ɵɵadvance();
|
|
2930
|
-
i0.ɵɵproperty("auSlot", state_r3.
|
|
2887
|
+
i0.ɵɵproperty("auSlot", state_r3.header)("auSlotProps", i0.ɵɵpureFunction2(3, _c1, state_r3, widget_r1));
|
|
2931
2888
|
i0.ɵɵadvance();
|
|
2932
|
-
i0.ɵɵconditional(
|
|
2889
|
+
i0.ɵɵconditional(state_r3.dismissible ? 2 : -1);
|
|
2933
2890
|
} }
|
|
2934
2891
|
function ToastDefaultSlotsComponent_ng_template_0_ng_template_2_Template(rf, ctx) { }
|
|
2935
2892
|
function ToastDefaultSlotsComponent_ng_template_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2947,11 +2904,11 @@ function ToastDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
2947
2904
|
} if (rf & 2) {
|
|
2948
2905
|
const state_r3 = ctx.state;
|
|
2949
2906
|
const widget_r1 = ctx.widget;
|
|
2950
|
-
i0.ɵɵconditional(
|
|
2907
|
+
i0.ɵɵconditional(state_r3.header ? 0 : -1);
|
|
2951
2908
|
i0.ɵɵadvance(2);
|
|
2952
|
-
i0.ɵɵproperty("auSlot", state_r3.
|
|
2909
|
+
i0.ɵɵproperty("auSlot", state_r3.children)("auSlotProps", i0.ɵɵpureFunction2(4, _c1, state_r3, widget_r1));
|
|
2953
2910
|
i0.ɵɵadvance();
|
|
2954
|
-
i0.ɵɵconditional(
|
|
2911
|
+
i0.ɵɵconditional(state_r3.dismissible && !state_r3.header ? 3 : -1);
|
|
2955
2912
|
} }
|
|
2956
2913
|
const _c2 = ["auToast", ""];
|
|
2957
2914
|
const _c3 = ["*"];
|
|
@@ -2966,10 +2923,10 @@ function ToastComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
2966
2923
|
i0.ɵɵelementEnd();
|
|
2967
2924
|
} if (rf & 2) {
|
|
2968
2925
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
2969
|
-
i0.ɵɵclassProp("d-flex", !ctx_r0.state().
|
|
2926
|
+
i0.ɵɵclassProp("d-flex", !ctx_r0.state().header)("toast-dismissible", ctx_r0.state().dismissible);
|
|
2970
2927
|
i0.ɵɵproperty("auUseMulti", i0.ɵɵpureFunction3(7, _c4, ctx_r0.widget.directives.autoHideDirective, ctx_r0.widget.directives.transitionDirective, ctx_r0.widget.directives.bodyDirective));
|
|
2971
2928
|
i0.ɵɵadvance();
|
|
2972
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state().
|
|
2929
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state().structure)("auSlotProps", i0.ɵɵpureFunction2(11, _c1, ctx_r0.state(), ctx_r0.widget));
|
|
2973
2930
|
} }
|
|
2974
2931
|
class ToastBodyDirective {
|
|
2975
2932
|
constructor() {
|
|
@@ -3031,18 +2988,18 @@ class ToastDefaultSlotsComponent {
|
|
|
3031
2988
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3032
2989
|
imports: [SlotDirective, ToastStructureDirective, UseDirective],
|
|
3033
2990
|
template: ` <ng-template auToastStructure #structure let-state="state" let-widget="widget">
|
|
3034
|
-
@if (state.
|
|
2991
|
+
@if (state.header) {
|
|
3035
2992
|
<div class="toast-header">
|
|
3036
|
-
<ng-template [auSlot]="state.
|
|
2993
|
+
<ng-template [auSlot]="state.header" [auSlotProps]="{state, widget}"></ng-template>
|
|
3037
2994
|
@if (state.dismissible) {
|
|
3038
2995
|
<button class="btn-close me-0 ms-auto" [auUse]="widget.directives.closeButtonDirective"></button>
|
|
3039
2996
|
}
|
|
3040
2997
|
</div>
|
|
3041
2998
|
}
|
|
3042
2999
|
<div class="toast-body">
|
|
3043
|
-
<ng-template [auSlot]="state.
|
|
3000
|
+
<ng-template [auSlot]="state.children" [auSlotProps]="{state, widget}"></ng-template>
|
|
3044
3001
|
</div>
|
|
3045
|
-
@if (state.dismissible && !state.
|
|
3002
|
+
@if (state.dismissible && !state.header) {
|
|
3046
3003
|
<button class="btn-close btn-close-white me-2 m-auto" [auUse]="widget.directives.closeButtonDirective"></button>
|
|
3047
3004
|
}
|
|
3048
3005
|
</ng-template>`,
|
|
@@ -3054,7 +3011,7 @@ class ToastDefaultSlotsComponent {
|
|
|
3054
3011
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToastDefaultSlotsComponent, { className: "ToastDefaultSlotsComponent", filePath: "components/toast/toast.component.ts", lineNumber: 76 }); })();
|
|
3055
3012
|
const toastDefaultSlotStructure = new ComponentTemplate(ToastDefaultSlotsComponent, 'structure');
|
|
3056
3013
|
const defaultConfig = {
|
|
3057
|
-
|
|
3014
|
+
structure: toastDefaultSlotStructure,
|
|
3058
3015
|
};
|
|
3059
3016
|
class ToastComponent extends BaseWidgetDirective {
|
|
3060
3017
|
constructor() {
|
|
@@ -3085,9 +3042,9 @@ class ToastComponent extends BaseWidgetDirective {
|
|
|
3085
3042
|
}
|
|
3086
3043
|
ngAfterContentChecked() {
|
|
3087
3044
|
this._widget.patchSlots({
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3045
|
+
children: this.slotDefaultFromContent?.templateRef,
|
|
3046
|
+
structure: this.slotStructureFromContent?.templateRef,
|
|
3047
|
+
header: this.slotHeaderFromContent?.templateRef,
|
|
3091
3048
|
});
|
|
3092
3049
|
}
|
|
3093
3050
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵToastComponent_BaseFactory; return function ToastComponent_Factory(t) { return (ɵToastComponent_BaseFactory || (ɵToastComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ToastComponent)))(t || ToastComponent); }; })(); }
|
|
@@ -3100,14 +3057,14 @@ class ToastComponent extends BaseWidgetDirective {
|
|
|
3100
3057
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotDefaultFromContent = _t.first);
|
|
3101
3058
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
3102
3059
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotHeaderFromContent = _t.first);
|
|
3103
|
-
} }, inputs: { dismissible: [
|
|
3060
|
+
} }, 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: _c2, ngContentSelectors: _c3, decls: 2, vars: 2, consts: [[3, "auContentAsSlot"], [1, "toast", 3, "d-flex", "toast-dismissible", "auUseMulti"], [1, "toast", 3, "auUseMulti"], [3, "auSlot", "auSlotProps"]], template: function ToastComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3104
3061
|
i0.ɵɵprojectionDef();
|
|
3105
3062
|
i0.ɵɵtemplate(0, ToastComponent_ng_template_0_Template, 1, 0, "ng-template", 0)(1, ToastComponent_Conditional_1_Template, 2, 14, "div", 1);
|
|
3106
3063
|
} if (rf & 2) {
|
|
3107
|
-
i0.ɵɵproperty("
|
|
3064
|
+
i0.ɵɵproperty("auContentAsSlot", ctx.defaultSlots);
|
|
3108
3065
|
i0.ɵɵadvance();
|
|
3109
|
-
i0.ɵɵconditional(
|
|
3110
|
-
} }, dependencies: [SlotDirective, UseMultiDirective,
|
|
3066
|
+
i0.ɵɵconditional(!ctx.state().hidden ? 1 : -1);
|
|
3067
|
+
} }, dependencies: [SlotDirective, UseMultiDirective, ContentAsSlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3111
3068
|
}
|
|
3112
3069
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToastComponent, [{
|
|
3113
3070
|
type: Component,
|
|
@@ -3115,18 +3072,18 @@ class ToastComponent extends BaseWidgetDirective {
|
|
|
3115
3072
|
selector: '[auToast]',
|
|
3116
3073
|
standalone: true,
|
|
3117
3074
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3118
|
-
imports: [SlotDirective, UseMultiDirective,
|
|
3119
|
-
template: ` <ng-template [
|
|
3075
|
+
imports: [SlotDirective, UseMultiDirective, ContentAsSlotDirective],
|
|
3076
|
+
template: ` <ng-template [auContentAsSlot]="defaultSlots">
|
|
3120
3077
|
<ng-content></ng-content>
|
|
3121
3078
|
</ng-template>
|
|
3122
3079
|
@if (!state().hidden) {
|
|
3123
3080
|
<div
|
|
3124
3081
|
class="toast"
|
|
3125
|
-
[class.d-flex]="!state().
|
|
3082
|
+
[class.d-flex]="!state().header"
|
|
3126
3083
|
[class.toast-dismissible]="state().dismissible"
|
|
3127
3084
|
[auUseMulti]="[widget.directives.autoHideDirective, widget.directives.transitionDirective, widget.directives.bodyDirective]"
|
|
3128
3085
|
>
|
|
3129
|
-
<ng-template [auSlot]="state().
|
|
3086
|
+
<ng-template [auSlot]="state().structure" [auSlotProps]="{state: state(), widget}"></ng-template>
|
|
3130
3087
|
</div>
|
|
3131
3088
|
}`,
|
|
3132
3089
|
}]
|
|
@@ -3154,21 +3111,21 @@ class ToastComponent extends BaseWidgetDirective {
|
|
|
3154
3111
|
}], ariaCloseButtonLabel: [{
|
|
3155
3112
|
type: Input,
|
|
3156
3113
|
args: ['auAriaCloseButtonLabel']
|
|
3157
|
-
}],
|
|
3114
|
+
}], children: [{
|
|
3158
3115
|
type: Input,
|
|
3159
|
-
args: ['
|
|
3116
|
+
args: ['auChildren']
|
|
3160
3117
|
}], slotDefaultFromContent: [{
|
|
3161
3118
|
type: ContentChild,
|
|
3162
3119
|
args: [ToastBodyDirective, { static: false }]
|
|
3163
|
-
}],
|
|
3120
|
+
}], structure: [{
|
|
3164
3121
|
type: Input,
|
|
3165
|
-
args: ['
|
|
3122
|
+
args: ['auStructure']
|
|
3166
3123
|
}], slotStructureFromContent: [{
|
|
3167
3124
|
type: ContentChild,
|
|
3168
3125
|
args: [ToastStructureDirective, { static: false }]
|
|
3169
|
-
}],
|
|
3126
|
+
}], header: [{
|
|
3170
3127
|
type: Input,
|
|
3171
|
-
args: ['
|
|
3128
|
+
args: ['auHeader']
|
|
3172
3129
|
}], slotHeaderFromContent: [{
|
|
3173
3130
|
type: ContentChild,
|
|
3174
3131
|
args: [ToastHeaderDirective, { static: false }]
|
|
@@ -3192,7 +3149,7 @@ const components = [
|
|
|
3192
3149
|
SlotDirective,
|
|
3193
3150
|
SelectComponent,
|
|
3194
3151
|
SelectBadgeLabelDirective,
|
|
3195
|
-
|
|
3152
|
+
SelectItemLabelDirective,
|
|
3196
3153
|
UseDirective,
|
|
3197
3154
|
UseMultiDirective,
|
|
3198
3155
|
RatingComponent,
|
|
@@ -3247,7 +3204,7 @@ class AgnosUIAngularModule {
|
|
|
3247
3204
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AgnosUIAngularModule, { imports: [SlotDirective,
|
|
3248
3205
|
SelectComponent,
|
|
3249
3206
|
SelectBadgeLabelDirective,
|
|
3250
|
-
|
|
3207
|
+
SelectItemLabelDirective,
|
|
3251
3208
|
UseDirective,
|
|
3252
3209
|
UseMultiDirective,
|
|
3253
3210
|
RatingComponent,
|
|
@@ -3287,7 +3244,7 @@ class AgnosUIAngularModule {
|
|
|
3287
3244
|
ToastHeaderDirective], exports: [SlotDirective,
|
|
3288
3245
|
SelectComponent,
|
|
3289
3246
|
SelectBadgeLabelDirective,
|
|
3290
|
-
|
|
3247
|
+
SelectItemLabelDirective,
|
|
3291
3248
|
UseDirective,
|
|
3292
3249
|
UseMultiDirective,
|
|
3293
3250
|
RatingComponent,
|
|
@@ -3378,5 +3335,5 @@ class ModalService {
|
|
|
3378
3335
|
* Generated bundle index. Do not edit.
|
|
3379
3336
|
*/
|
|
3380
3337
|
|
|
3381
|
-
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemDefaultSlotsComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertDefaultSlotsComponent, AlertStructureDirective, ModalBodyDirective, ModalComponent, ModalDefaultSlotsComponent, ModalFooterDirective, ModalHeaderDirective, ModalService, ModalStructureDirective, ModalTitleDirective, PaginationComponent, PaginationDefaultSlotsComponent, PaginationEllipsisDirective, PaginationFirstDirective, PaginationLastDirective, PaginationNextDirective, PaginationNumberDirective, PaginationPagesDirective, PaginationPreviousDirective, PaginationStructureDirective, ProgressbarComponent, ProgressbarDefaultSlotsComponent, ProgressbarStructureDirective, RatingComponent, RatingStarDirective, SelectBadgeLabelDirective, SelectComponent,
|
|
3338
|
+
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemDefaultSlotsComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertDefaultSlotsComponent, AlertStructureDirective, ModalBodyDirective, ModalComponent, ModalDefaultSlotsComponent, ModalFooterDirective, ModalHeaderDirective, ModalService, ModalStructureDirective, ModalTitleDirective, PaginationComponent, PaginationDefaultSlotsComponent, PaginationEllipsisDirective, PaginationFirstDirective, PaginationLastDirective, PaginationNextDirective, PaginationNumberDirective, PaginationPagesDirective, PaginationPreviousDirective, PaginationStructureDirective, ProgressbarComponent, ProgressbarDefaultSlotsComponent, ProgressbarStructureDirective, RatingComponent, RatingStarDirective, SelectBadgeLabelDirective, SelectComponent, SelectItemLabelDirective, SliderComponent, SliderDefaultHandleSlotComponent, SliderDefaultStructureSlotComponent, SliderHandleDirective, SliderLabelDirective, SliderStructureDirective, ToastBodyDirective, ToastComponent, ToastDefaultSlotsComponent, ToastHeaderDirective, ToastStructureDirective, accordionItemDefaultSlotItemStructure, alertDefaultSlotStructure, callWidgetFactory, createAccordion, createAccordionItem, createAlert, createModal, createPagination, createProgressbar, createRating, createSelect, createSlider, createToast, getAccordionDefaultConfig, getAlertDefaultConfig, getModalDefaultConfig, getPaginationDefaultConfig, getProgressbarDefaultConfig, getRatingDefaultConfig, getSelectDefaultConfig, getSliderDefaultConfig, getToastDefaultConfig, injectWidgetConfig, injectWidgetsConfig, modalDefaultSlotHeader, modalDefaultSlotStructure, paginationDefaultSlotPages, paginationDefaultSlotStructure, progressbarDefaultSlotStructure, provideWidgetsConfig, sliderDefaultSlotHandle, sliderDefaultSlotStructure, toastDefaultSlotStructure, widgetsConfigInjectionToken };
|
|
3382
3339
|
//# sourceMappingURL=agnos-ui-angular-bootstrap.mjs.map
|