@agnos-ui/angular-bootstrap 0.4.0-next.0 → 0.4.0-next.1
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/components/modal/modal.component.d.ts +7 -7
- package/components/modal/modal.gen.d.ts +12 -12
- package/components/pagination/pagination.component.d.ts +13 -13
- package/components/pagination/pagination.gen.d.ts +24 -24
- package/components/progressbar/progressbar.component.d.ts +2 -2
- package/components/progressbar/progressbar.gen.d.ts +2 -2
- package/esm2022/components/modal/modal.component.mjs +28 -28
- package/esm2022/components/modal/modal.gen.mjs +1 -1
- package/esm2022/components/pagination/pagination.component.mjs +44 -44
- package/esm2022/components/pagination/pagination.gen.mjs +1 -1
- package/esm2022/components/progressbar/progressbar.component.mjs +8 -8
- package/esm2022/components/progressbar/progressbar.gen.mjs +1 -1
- package/fesm2022/agnos-ui-angular-bootstrap.mjs +77 -77
- package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3NiYXIuZ2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJvZ3Jlc3NiYXIvcHJvZ3Jlc3NiYXIuZ2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7V2lkZ2V0U2xvdENvbnRleHQsIFNsb3RDb250ZW50LCBXaWRnZXQsIERpcmVjdGl2ZX0gZnJvbSAnQGFnbm9zLXVpL2FuZ3VsYXItaGVhZGxlc3MnO1xuaW1wb3J0IHR5cGUge0JTQ29udGV4dHVhbENsYXNzfSBmcm9tICdA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bWF0ZXMgYSBzdHJpcGVkIHByb2dyZXNzYmFyLlxuXHQgKiBUYWtlcyBlZmZlY3Qgb25seSBmb3IgYnJvd3NlcnMgc3VwcG9ydGluZyBDU1MzIGFuaW1hdGlvbnMsIGFuZCBpZiBgc3RyaXBlZGAgaXMgYHRydWVgLlxuXHQgKi9cblx0YW5pbWF0ZWQ6IGJvb2xlYW47XG5cdC8qKlxuXHQgKiBUeXBlIG9mIHRoZSBwcm9ncmVzc2JhciwgZm9sbG93aW5nIGJvb3RzdHJhcCB0eXBlcy5cblx0ICovXG5cdHR5cGU6IEJTQ29udGV4dHVhbENsYXNzIHwgdW5kZWZpbmVkO1xufVxuXG5leHBvcnQgdHlwZSBQcm9ncmVzc2JhcldpZGdldCA9IFdpZGdldDxQcm9ncmVzc2JhclByb3BzLCBQcm9ncmVzc2JhclN0YXRlLCBQcm9ncmVzc2JhckFwaSwgb2JqZWN0LCBQcm9ncmVzc2JhckRpcmVjdGl2ZXM+O1xuXG5leHBvcnQgaW50ZXJmYWNlIFByb2dyZXNzYmFyRGlyZWN0aXZlcyB7XG5cdC8qKlxuXHQgKiBBIGRpcmVjdGl2ZSB0byBiZSBhcHBsaWVkIHRvIHRoZSBtYWluIGNvbnRhaW5lciB0aGF0IGhhbmRsZXMgYXJpYSBhdHRyaWJ1dGVzLlxuXHQgKi9cblx0YXJpYURpcmVjdGl2ZTogRGlyZWN0aXZlO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIFByb2dyZXNzYmFyQXBpIHtcbn1cblxuIl19
|
|
@@ -44,7 +44,7 @@ function ModalDefaultSlotsComponent_ng_template_0_Template(rf, ctx) { if (rf & 1
|
|
|
44
44
|
const state_r2 = ctx.state;
|
|
45
45
|
const widget_r1 = ctx.widget;
|
|
46
46
|
i0.ɵɵadvance();
|
|
47
|
-
i0.ɵɵproperty("auSlot", state_r2.
|
|
47
|
+
i0.ɵɵproperty("auSlot", state_r2.title)("auSlotProps", i0.ɵɵpureFunction2(3, _c2$8, state_r2, widget_r1));
|
|
48
48
|
i0.ɵɵadvance();
|
|
49
49
|
i0.ɵɵconditional(state_r2.closeButton ? 2 : -1);
|
|
50
50
|
} }
|
|
@@ -58,7 +58,7 @@ function ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template(rf, ctx
|
|
|
58
58
|
const state_r4 = ctx_r2.state;
|
|
59
59
|
const widget_r5 = ctx_r2.widget;
|
|
60
60
|
i0.ɵɵadvance();
|
|
61
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
61
|
+
i0.ɵɵproperty("auSlot", state_r4.header)("auSlotProps", i0.ɵɵpureFunction2(2, _c2$8, state_r4, widget_r5));
|
|
62
62
|
} }
|
|
63
63
|
function ModalDefaultSlotsComponent_ng_template_2_ng_template_2_Template(rf, ctx) { }
|
|
64
64
|
function ModalDefaultSlotsComponent_ng_template_2_Conditional_3_ng_template_1_Template(rf, ctx) { }
|
|
@@ -71,7 +71,7 @@ function ModalDefaultSlotsComponent_ng_template_2_Conditional_3_Template(rf, ctx
|
|
|
71
71
|
const state_r4 = ctx_r2.state;
|
|
72
72
|
const widget_r5 = ctx_r2.widget;
|
|
73
73
|
i0.ɵɵadvance();
|
|
74
|
-
i0.ɵɵproperty("auSlot", state_r4.
|
|
74
|
+
i0.ɵɵproperty("auSlot", state_r4.footer)("auSlotProps", i0.ɵɵpureFunction2(2, _c2$8, state_r4, widget_r5));
|
|
75
75
|
} }
|
|
76
76
|
function ModalDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
77
77
|
i0.ɵɵtemplate(0, ModalDefaultSlotsComponent_ng_template_2_Conditional_0_Template, 2, 5, "div", 7);
|
|
@@ -82,11 +82,11 @@ function ModalDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1
|
|
|
82
82
|
} if (rf & 2) {
|
|
83
83
|
const state_r4 = ctx.state;
|
|
84
84
|
const widget_r5 = ctx.widget;
|
|
85
|
-
i0.ɵɵconditional(state_r4.
|
|
85
|
+
i0.ɵɵconditional(state_r4.title ? 0 : -1);
|
|
86
86
|
i0.ɵɵadvance(2);
|
|
87
87
|
i0.ɵɵproperty("auSlot", state_r4.children)("auSlotProps", i0.ɵɵpureFunction2(4, _c2$8, state_r4, widget_r5));
|
|
88
88
|
i0.ɵɵadvance();
|
|
89
|
-
i0.ɵɵconditional(state_r4.
|
|
89
|
+
i0.ɵɵconditional(state_r4.footer ? 3 : -1);
|
|
90
90
|
} }
|
|
91
91
|
const _c3$7 = ["auModal", ""];
|
|
92
92
|
const _c4$3 = ["*"];
|
|
@@ -111,7 +111,7 @@ function ModalComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
111
111
|
i0.ɵɵadvance();
|
|
112
112
|
i0.ɵɵclassMapInterpolate1("modal-dialog ", ctx_r0.state().fullscreen ? "modal-fullscreen" : "", "");
|
|
113
113
|
i0.ɵɵadvance(2);
|
|
114
|
-
i0.ɵɵproperty("auSlot", ctx_r0.state().
|
|
114
|
+
i0.ɵɵproperty("auSlot", ctx_r0.state().structure)("auSlotProps", i0.ɵɵpureFunction2(9, _c2$8, ctx_r0.state(), ctx_r0.widget));
|
|
115
115
|
} }
|
|
116
116
|
/**
|
|
117
117
|
* Directive to provide the slot structure for the modal widget.
|
|
@@ -223,24 +223,24 @@ class ModalDefaultSlotsComponent {
|
|
|
223
223
|
template: `
|
|
224
224
|
<ng-template auModalHeader #header let-state="state" let-widget="widget">
|
|
225
225
|
<h5 class="modal-title">
|
|
226
|
-
<ng-template [auSlot]="state.
|
|
226
|
+
<ng-template [auSlot]="state.title" [auSlotProps]="{state, widget}"></ng-template>
|
|
227
227
|
</h5>
|
|
228
228
|
@if (state.closeButton) {
|
|
229
229
|
<button class="btn-close" [auUse]="widget.directives.closeButtonDirective"></button>
|
|
230
230
|
}
|
|
231
231
|
</ng-template>
|
|
232
232
|
<ng-template auModalStructure #structure let-state="state" let-widget="widget">
|
|
233
|
-
@if (state.
|
|
233
|
+
@if (state.title) {
|
|
234
234
|
<div class="modal-header">
|
|
235
|
-
<ng-template [auSlot]="state.
|
|
235
|
+
<ng-template [auSlot]="state.header" [auSlotProps]="{state, widget}"></ng-template>
|
|
236
236
|
</div>
|
|
237
237
|
}
|
|
238
238
|
<div class="modal-body">
|
|
239
239
|
<ng-template [auSlot]="state.children" [auSlotProps]="{state, widget}"></ng-template>
|
|
240
240
|
</div>
|
|
241
|
-
@if (state.
|
|
241
|
+
@if (state.footer) {
|
|
242
242
|
<div class="modal-footer">
|
|
243
|
-
<ng-template [auSlot]="state.
|
|
243
|
+
<ng-template [auSlot]="state.footer" [auSlotProps]="{state, widget}"></ng-template>
|
|
244
244
|
</div>
|
|
245
245
|
}
|
|
246
246
|
</ng-template>
|
|
@@ -263,8 +263,8 @@ const modalDefaultSlotHeader = new ComponentTemplate(ModalDefaultSlotsComponent,
|
|
|
263
263
|
*/
|
|
264
264
|
const modalDefaultSlotStructure = new ComponentTemplate(ModalDefaultSlotsComponent, 'structure');
|
|
265
265
|
const defaultConfig$6 = {
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
header: modalDefaultSlotHeader,
|
|
267
|
+
structure: modalDefaultSlotStructure,
|
|
268
268
|
};
|
|
269
269
|
/**
|
|
270
270
|
* Modal component.
|
|
@@ -304,10 +304,10 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
304
304
|
ngAfterContentChecked() {
|
|
305
305
|
this._widget.patchSlots({
|
|
306
306
|
children: this.slotDefaultFromContent?.templateRef,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
307
|
+
footer: this.slotFooterFromContent?.templateRef,
|
|
308
|
+
header: this.slotHeaderFromContent?.templateRef,
|
|
309
|
+
structure: this.slotStructureFromContent?.templateRef,
|
|
310
|
+
title: this.slotTitleFromContent?.templateRef,
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵModalComponent_BaseFactory; return function ModalComponent_Factory(t) { return (ɵModalComponent_BaseFactory || (ɵModalComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ModalComponent)))(t || ModalComponent); }; })(); }
|
|
@@ -324,7 +324,7 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
324
324
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotTitleFromContent = _t.first);
|
|
325
325
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotDefaultFromContent = _t.first);
|
|
326
326
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotFooterFromContent = _t.first);
|
|
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],
|
|
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], structure: [0, "auStructure", "structure"], header: [0, "auHeader", "header"], title: [0, "auTitle", "title"], children: [0, "auChildren", "children"], footer: [0, "auFooter", "footer"], contentData: [0, "auContentData", "contentData"] }, outputs: { visibleChange: "auVisibleChange", beforeClose: "auBeforeClose", hidden: "auHidden", shown: "auShown" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _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) {
|
|
328
328
|
i0.ɵɵprojectionDef();
|
|
329
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);
|
|
330
330
|
} if (rf & 2) {
|
|
@@ -351,7 +351,7 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
351
351
|
<div class="modal d-block" [auUseMulti]="[widget.directives.modalPortalDirective, widget.directives.modalDirective]">
|
|
352
352
|
<div class="modal-dialog {{ state().fullscreen ? 'modal-fullscreen' : '' }}">
|
|
353
353
|
<div class="modal-content">
|
|
354
|
-
<ng-template [auSlot]="state().
|
|
354
|
+
<ng-template [auSlot]="state().structure" [auSlotProps]="{state: state(), widget}"></ng-template>
|
|
355
355
|
</div>
|
|
356
356
|
</div>
|
|
357
357
|
</div>
|
|
@@ -394,21 +394,21 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
394
394
|
}], fullscreen: [{
|
|
395
395
|
type: Input,
|
|
396
396
|
args: [{ alias: 'auFullscreen', transform: auBooleanAttribute }]
|
|
397
|
-
}],
|
|
397
|
+
}], structure: [{
|
|
398
398
|
type: Input,
|
|
399
|
-
args: ['
|
|
399
|
+
args: ['auStructure']
|
|
400
400
|
}], slotStructureFromContent: [{
|
|
401
401
|
type: ContentChild,
|
|
402
402
|
args: [ModalStructureDirective, { static: false }]
|
|
403
|
-
}],
|
|
403
|
+
}], header: [{
|
|
404
404
|
type: Input,
|
|
405
|
-
args: ['
|
|
405
|
+
args: ['auHeader']
|
|
406
406
|
}], slotHeaderFromContent: [{
|
|
407
407
|
type: ContentChild,
|
|
408
408
|
args: [ModalHeaderDirective, { static: false }]
|
|
409
|
-
}],
|
|
409
|
+
}], title: [{
|
|
410
410
|
type: Input,
|
|
411
|
-
args: ['
|
|
411
|
+
args: ['auTitle']
|
|
412
412
|
}], slotTitleFromContent: [{
|
|
413
413
|
type: ContentChild,
|
|
414
414
|
args: [ModalTitleDirective, { static: false }]
|
|
@@ -418,9 +418,9 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
418
418
|
}], slotDefaultFromContent: [{
|
|
419
419
|
type: ContentChild,
|
|
420
420
|
args: [ModalBodyDirective, { static: false }]
|
|
421
|
-
}],
|
|
421
|
+
}], footer: [{
|
|
422
422
|
type: Input,
|
|
423
|
-
args: ['
|
|
423
|
+
args: ['auFooter']
|
|
424
424
|
}], slotFooterFromContent: [{
|
|
425
425
|
type: ContentChild,
|
|
426
426
|
args: [ModalFooterDirective, { static: false }]
|
|
@@ -465,7 +465,7 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_1_Templ
|
|
|
465
465
|
const state_r2 = ctx_r0.state;
|
|
466
466
|
const widget_r3 = ctx_r0.widget;
|
|
467
467
|
i0.ɵɵadvance();
|
|
468
|
-
i0.ɵɵproperty("auSlot", state_r2.
|
|
468
|
+
i0.ɵɵproperty("auSlot", state_r2.ellipsisLabel)("auSlotProps", i0.ɵɵpureFunction2(3, _c2$7, state_r2, widget_r3));
|
|
469
469
|
i0.ɵɵadvance(2);
|
|
470
470
|
i0.ɵɵtextInterpolate(state_r2.ariaEllipsisLabel);
|
|
471
471
|
} }
|
|
@@ -490,7 +490,7 @@ function PaginationDefaultSlotsComponent_ng_template_0_For_1_Conditional_2_Templ
|
|
|
490
490
|
const widget_r3 = ctx_r0.widget;
|
|
491
491
|
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(6, _c4$2, widget_r3.directives.pageLink, i0.ɵɵpureFunction1(4, _c3$6, page_r4)));
|
|
492
492
|
i0.ɵɵadvance();
|
|
493
|
-
i0.ɵɵproperty("auSlot", state_r2.
|
|
493
|
+
i0.ɵɵproperty("auSlot", state_r2.numberLabel)("auSlotProps", i0.ɵɵpureFunction3(9, _c5$1, state_r2, widget_r3, page_r4));
|
|
494
494
|
i0.ɵɵadvance();
|
|
495
495
|
i0.ɵɵconditional(state_r2.page === page_r4 ? 2 : -1);
|
|
496
496
|
} }
|
|
@@ -524,7 +524,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_1_Template(rf
|
|
|
524
524
|
i0.ɵɵadvance();
|
|
525
525
|
i0.ɵɵproperty("auUse", widget_r7.directives.pageFirst);
|
|
526
526
|
i0.ɵɵadvance(2);
|
|
527
|
-
i0.ɵɵproperty("auSlot", state_r6.
|
|
527
|
+
i0.ɵɵproperty("auSlot", state_r6.firstPageLabel)("auSlotProps", i0.ɵɵpureFunction2(5, _c6$1, widget_r7, state_r6));
|
|
528
528
|
} }
|
|
529
529
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_ng_template_3_Template(rf, ctx) { }
|
|
530
530
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -539,7 +539,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_2_Template(rf
|
|
|
539
539
|
i0.ɵɵadvance();
|
|
540
540
|
i0.ɵɵproperty("auUse", widget_r7.directives.pagePrev);
|
|
541
541
|
i0.ɵɵadvance(2);
|
|
542
|
-
i0.ɵɵproperty("auSlot", state_r6.
|
|
542
|
+
i0.ɵɵproperty("auSlot", state_r6.previousPageLabel)("auSlotProps", i0.ɵɵpureFunction2(5, _c6$1, widget_r7, state_r6));
|
|
543
543
|
} }
|
|
544
544
|
function PaginationDefaultSlotsComponent_ng_template_2_ng_template_3_Template(rf, ctx) { }
|
|
545
545
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_ng_template_3_Template(rf, ctx) { }
|
|
@@ -555,7 +555,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_4_Template(rf
|
|
|
555
555
|
i0.ɵɵadvance();
|
|
556
556
|
i0.ɵɵproperty("auUse", widget_r7.directives.pageNext);
|
|
557
557
|
i0.ɵɵadvance(2);
|
|
558
|
-
i0.ɵɵproperty("auSlot", state_r6.
|
|
558
|
+
i0.ɵɵproperty("auSlot", state_r6.nextPageLabel)("auSlotProps", i0.ɵɵpureFunction2(5, _c6$1, widget_r7, state_r6));
|
|
559
559
|
} }
|
|
560
560
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_ng_template_3_Template(rf, ctx) { }
|
|
561
561
|
function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -570,7 +570,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Conditional_5_Template(rf
|
|
|
570
570
|
i0.ɵɵadvance();
|
|
571
571
|
i0.ɵɵproperty("auUse", widget_r7.directives.pageLast);
|
|
572
572
|
i0.ɵɵadvance(2);
|
|
573
|
-
i0.ɵɵproperty("auSlot", state_r6.
|
|
573
|
+
i0.ɵɵproperty("auSlot", state_r6.lastPageLabel)("auSlotProps", i0.ɵɵpureFunction2(5, _c6$1, widget_r7, state_r6));
|
|
574
574
|
} }
|
|
575
575
|
function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
576
576
|
i0.ɵɵelementStart(0, "ul");
|
|
@@ -588,7 +588,7 @@ function PaginationDefaultSlotsComponent_ng_template_2_Template(rf, ctx) { if (r
|
|
|
588
588
|
i0.ɵɵadvance();
|
|
589
589
|
i0.ɵɵconditional(state_r6.directionLinks ? 2 : -1);
|
|
590
590
|
i0.ɵɵadvance();
|
|
591
|
-
i0.ɵɵproperty("auSlot", state_r6.
|
|
591
|
+
i0.ɵɵproperty("auSlot", state_r6.pagesDisplay)("auSlotProps", i0.ɵɵpureFunction2(9, _c6$1, widget_r7, state_r6));
|
|
592
592
|
i0.ɵɵadvance();
|
|
593
593
|
i0.ɵɵconditional(state_r6.directionLinks ? 4 : -1);
|
|
594
594
|
i0.ɵɵadvance();
|
|
@@ -759,12 +759,12 @@ class PaginationDefaultSlotsComponent {
|
|
|
759
759
|
<li class="page-item" [class.active]="page === state.page" [class.disabled]="page === -1 || state.disabled">
|
|
760
760
|
@if (page === -1) {
|
|
761
761
|
<div class="page-link au-ellipsis" aria-hidden="true">
|
|
762
|
-
<ng-template [auSlot]="state.
|
|
762
|
+
<ng-template [auSlot]="state.ellipsisLabel" [auSlotProps]="{state, widget}"></ng-template>
|
|
763
763
|
</div>
|
|
764
764
|
<span class="visually-hidden">{{ state.ariaEllipsisLabel }}</span>
|
|
765
765
|
} @else {
|
|
766
766
|
<a class="page-link" [auUse]="[widget.directives.pageLink, {page}]">
|
|
767
|
-
<ng-template [auSlot]="state.
|
|
767
|
+
<ng-template [auSlot]="state.numberLabel" [auSlotProps]="{state, widget, displayedPage: page}"></ng-template>
|
|
768
768
|
@if (state.page === page) {
|
|
769
769
|
<span class="visually-hidden">{{ state.activeLabel }}</span>
|
|
770
770
|
}
|
|
@@ -779,7 +779,7 @@ class PaginationDefaultSlotsComponent {
|
|
|
779
779
|
<li class="page-item" [class.disabled]="state.previousDisabled">
|
|
780
780
|
<a class="page-link" [auUse]="widget.directives.pageFirst">
|
|
781
781
|
<span aria-hidden="true">
|
|
782
|
-
<ng-template [auSlot]="state.
|
|
782
|
+
<ng-template [auSlot]="state.firstPageLabel" [auSlotProps]="{widget, state}"></ng-template>
|
|
783
783
|
</span>
|
|
784
784
|
</a>
|
|
785
785
|
</li>
|
|
@@ -788,17 +788,17 @@ class PaginationDefaultSlotsComponent {
|
|
|
788
788
|
<li class="page-item" [class.disabled]="state.previousDisabled">
|
|
789
789
|
<a class="page-link" [auUse]="widget.directives.pagePrev">
|
|
790
790
|
<span aria-hidden="true">
|
|
791
|
-
<ng-template [auSlot]="state.
|
|
791
|
+
<ng-template [auSlot]="state.previousPageLabel" [auSlotProps]="{widget, state}"></ng-template>
|
|
792
792
|
</span>
|
|
793
793
|
</a>
|
|
794
794
|
</li>
|
|
795
795
|
}
|
|
796
|
-
<ng-template [auSlot]="state.
|
|
796
|
+
<ng-template [auSlot]="state.pagesDisplay" [auSlotProps]="{widget, state}"></ng-template>
|
|
797
797
|
@if (state.directionLinks) {
|
|
798
798
|
<li class="page-item" [class.disabled]="state.nextDisabled">
|
|
799
799
|
<a class="page-link" [auUse]="widget.directives.pageNext">
|
|
800
800
|
<span aria-hidden="true">
|
|
801
|
-
<ng-template [auSlot]="state.
|
|
801
|
+
<ng-template [auSlot]="state.nextPageLabel" [auSlotProps]="{widget, state}"></ng-template>
|
|
802
802
|
</span>
|
|
803
803
|
</a>
|
|
804
804
|
</li>
|
|
@@ -807,7 +807,7 @@ class PaginationDefaultSlotsComponent {
|
|
|
807
807
|
<li class="page-item" [class.disabled]="state.nextDisabled">
|
|
808
808
|
<a class="page-link" [auUse]="widget.directives.pageLast">
|
|
809
809
|
<span aria-hidden="true">
|
|
810
|
-
<ng-template [auSlot]="state.
|
|
810
|
+
<ng-template [auSlot]="state.lastPageLabel" [auSlotProps]="{widget, state}"></ng-template>
|
|
811
811
|
</span>
|
|
812
812
|
</a>
|
|
813
813
|
</li>
|
|
@@ -834,8 +834,8 @@ const paginationDefaultSlotPages = new ComponentTemplate(PaginationDefaultSlotsC
|
|
|
834
834
|
*/
|
|
835
835
|
const paginationDefaultSlotStructure = new ComponentTemplate(PaginationDefaultSlotsComponent, 'structure');
|
|
836
836
|
const defaultConfig$5 = {
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
structure: paginationDefaultSlotStructure,
|
|
838
|
+
pagesDisplay: paginationDefaultSlotPages,
|
|
839
839
|
};
|
|
840
840
|
class PaginationComponent extends BaseWidgetDirective {
|
|
841
841
|
constructor() {
|
|
@@ -859,14 +859,14 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
859
859
|
}
|
|
860
860
|
ngAfterContentChecked() {
|
|
861
861
|
this._widget.patchSlots({
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
862
|
+
structure: this.slotStructureFromContent?.templateRef,
|
|
863
|
+
ellipsisLabel: this.slotEllipsisFromContent?.templateRef,
|
|
864
|
+
firstPageLabel: this.slotFirstFromContent?.templateRef,
|
|
865
|
+
previousPageLabel: this.slotPreviousFromContent?.templateRef,
|
|
866
|
+
nextPageLabel: this.slotNextFromContent?.templateRef,
|
|
867
|
+
lastPageLabel: this.slotLastFromContent?.templateRef,
|
|
868
|
+
pagesDisplay: this.slotPagesFromContent?.templateRef,
|
|
869
|
+
numberLabel: this.slotNumberLabelFromContent?.templateRef,
|
|
870
870
|
});
|
|
871
871
|
}
|
|
872
872
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵPaginationComponent_BaseFactory; return function PaginationComponent_Factory(t) { return (ɵPaginationComponent_BaseFactory || (ɵPaginationComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PaginationComponent)))(t || PaginationComponent); }; })(); }
|
|
@@ -891,10 +891,10 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
891
891
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
892
892
|
} }, hostVars: 1, hostBindings: function PaginationComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
893
893
|
i0.ɵɵattribute("aria-label", ctx.state().ariaLabel);
|
|
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"],
|
|
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"], ellipsisLabel: [0, "auEllipsisLabel", "ellipsisLabel"], firstPageLabel: [0, "auFirstPageLabel", "firstPageLabel"], previousPageLabel: [0, "auPreviousPageLabel", "previousPageLabel"], nextPageLabel: [0, "auNextPageLabel", "nextPageLabel"], lastPageLabel: [0, "auLastPageLabel", "lastPageLabel"], pagesDisplay: [0, "auPagesDisplay", "pagesDisplay"], numberLabel: [0, "auNumberLabel", "numberLabel"], structure: [0, "auStructure", "structure"], disabled: [2, "auDisabled", "disabled", auBooleanAttribute], boundaryLinks: [2, "auBoundaryLinks", "boundaryLinks", auBooleanAttribute], directionLinks: [2, "auDirectionLinks", "directionLinks", auBooleanAttribute], collectionSize: [2, "auCollectionSize", "collectionSize", auNumberAttribute], page: [2, "auPage", "page", auNumberAttribute], pageSize: [2, "auPageSize", "pageSize", auNumberAttribute], size: [0, "auSize", "size"], pagesFactory: [0, "auPagesFactory", "pagesFactory"], className: [0, "auClassName", "className"] }, outputs: { pageChange: "auPageChange" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c7$1, decls: 1, vars: 5, consts: [[3, "auSlotProps", "auSlot"]], template: function PaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
895
895
|
i0.ɵɵtemplate(0, PaginationComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
896
896
|
} if (rf & 2) {
|
|
897
|
-
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction2(2, _c2$7, ctx.state(), ctx.widget))("auSlot", ctx.state().
|
|
897
|
+
i0.ɵɵproperty("auSlotProps", i0.ɵɵpureFunction2(2, _c2$7, ctx.state(), ctx.widget))("auSlot", ctx.state().structure);
|
|
898
898
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
899
899
|
}
|
|
900
900
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
@@ -908,7 +908,7 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
908
908
|
'[attr.aria-label]': 'state().ariaLabel',
|
|
909
909
|
},
|
|
910
910
|
encapsulation: ViewEncapsulation.None,
|
|
911
|
-
template: `<ng-template [auSlotProps]="{state: state(), widget}" [auSlot]="state().
|
|
911
|
+
template: `<ng-template [auSlotProps]="{state: state(), widget}" [auSlot]="state().structure"></ng-template>`,
|
|
912
912
|
}]
|
|
913
913
|
}], null, { ariaPageLabel: [{
|
|
914
914
|
type: Input,
|
|
@@ -940,51 +940,51 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
940
940
|
}], pageLink: [{
|
|
941
941
|
type: Input,
|
|
942
942
|
args: ['auPageLink']
|
|
943
|
-
}],
|
|
943
|
+
}], ellipsisLabel: [{
|
|
944
944
|
type: Input,
|
|
945
|
-
args: ['
|
|
945
|
+
args: ['auEllipsisLabel']
|
|
946
946
|
}], slotEllipsisFromContent: [{
|
|
947
947
|
type: ContentChild,
|
|
948
948
|
args: [PaginationEllipsisDirective, { static: false }]
|
|
949
|
-
}],
|
|
949
|
+
}], firstPageLabel: [{
|
|
950
950
|
type: Input,
|
|
951
|
-
args: ['
|
|
951
|
+
args: ['auFirstPageLabel']
|
|
952
952
|
}], slotFirstFromContent: [{
|
|
953
953
|
type: ContentChild,
|
|
954
954
|
args: [PaginationFirstDirective, { static: false }]
|
|
955
|
-
}],
|
|
955
|
+
}], previousPageLabel: [{
|
|
956
956
|
type: Input,
|
|
957
|
-
args: ['
|
|
957
|
+
args: ['auPreviousPageLabel']
|
|
958
958
|
}], slotPreviousFromContent: [{
|
|
959
959
|
type: ContentChild,
|
|
960
960
|
args: [PaginationPreviousDirective, { static: false }]
|
|
961
|
-
}],
|
|
961
|
+
}], nextPageLabel: [{
|
|
962
962
|
type: Input,
|
|
963
|
-
args: ['
|
|
963
|
+
args: ['auNextPageLabel']
|
|
964
964
|
}], slotNextFromContent: [{
|
|
965
965
|
type: ContentChild,
|
|
966
966
|
args: [PaginationNextDirective, { static: false }]
|
|
967
|
-
}],
|
|
967
|
+
}], lastPageLabel: [{
|
|
968
968
|
type: Input,
|
|
969
|
-
args: ['
|
|
969
|
+
args: ['auLastPageLabel']
|
|
970
970
|
}], slotLastFromContent: [{
|
|
971
971
|
type: ContentChild,
|
|
972
972
|
args: [PaginationLastDirective, { static: false }]
|
|
973
|
-
}],
|
|
973
|
+
}], pagesDisplay: [{
|
|
974
974
|
type: Input,
|
|
975
|
-
args: ['
|
|
975
|
+
args: ['auPagesDisplay']
|
|
976
976
|
}], slotPagesFromContent: [{
|
|
977
977
|
type: ContentChild,
|
|
978
978
|
args: [PaginationPagesDirective, { static: false }]
|
|
979
|
-
}],
|
|
979
|
+
}], numberLabel: [{
|
|
980
980
|
type: Input,
|
|
981
|
-
args: ['
|
|
981
|
+
args: ['auNumberLabel']
|
|
982
982
|
}], slotNumberLabelFromContent: [{
|
|
983
983
|
type: ContentChild,
|
|
984
984
|
args: [PaginationNumberDirective, { static: false }]
|
|
985
|
-
}],
|
|
985
|
+
}], structure: [{
|
|
986
986
|
type: Input,
|
|
987
|
-
args: ['
|
|
987
|
+
args: ['auStructure']
|
|
988
988
|
}], slotStructureFromContent: [{
|
|
989
989
|
type: ContentChild,
|
|
990
990
|
args: [PaginationStructureDirective, { static: false }]
|
|
@@ -2768,7 +2768,7 @@ class ProgressbarDefaultSlotsComponent {
|
|
|
2768
2768
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProgressbarDefaultSlotsComponent, { className: "ProgressbarDefaultSlotsComponent", filePath: "components/progressbar/progressbar.component.ts", lineNumber: 49 }); })();
|
|
2769
2769
|
const progressbarDefaultSlotStructure = new ComponentTemplate(ProgressbarDefaultSlotsComponent, 'structure');
|
|
2770
2770
|
const defaultConfig$1 = {
|
|
2771
|
-
|
|
2771
|
+
structure: progressbarDefaultSlotStructure,
|
|
2772
2772
|
};
|
|
2773
2773
|
class ProgressbarComponent extends BaseWidgetDirective {
|
|
2774
2774
|
constructor() {
|
|
@@ -2786,7 +2786,7 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2786
2786
|
ngAfterContentChecked() {
|
|
2787
2787
|
this._widget.patchSlots({
|
|
2788
2788
|
children: undefined,
|
|
2789
|
-
|
|
2789
|
+
structure: this.slotStructureFromContent?.templateRef,
|
|
2790
2790
|
});
|
|
2791
2791
|
}
|
|
2792
2792
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵProgressbarComponent_BaseFactory; return function ProgressbarComponent_Factory(t) { return (ɵProgressbarComponent_BaseFactory || (ɵProgressbarComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ProgressbarComponent)))(t || ProgressbarComponent); }; })(); }
|
|
@@ -2797,13 +2797,13 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2797
2797
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.slotStructureFromContent = _t.first);
|
|
2798
2798
|
} }, hostVars: 2, hostBindings: function ProgressbarComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
2799
2799
|
i0.ɵɵclassMap(ctx.state().className);
|
|
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"],
|
|
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"], structure: [0, "auStructure", "structure"], height: [0, "auHeight", "height"], animated: [2, "auAnimated", "animated", auBooleanAttribute], striped: [2, "auStriped", "striped", auBooleanAttribute], ariaValueTextFn: [0, "auAriaValueTextFn", "ariaValueTextFn"], type: [0, "auType", "type"] }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c2$1, ngContentSelectors: _c3$1, decls: 2, vars: 6, consts: [[3, "auContentAsSlot"], [3, "auSlot", "auSlotProps"]], template: function ProgressbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2801
2801
|
i0.ɵɵprojectionDef();
|
|
2802
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);
|
|
2803
2803
|
} if (rf & 2) {
|
|
2804
2804
|
i0.ɵɵproperty("auContentAsSlot", ctx.defaultSlots);
|
|
2805
2805
|
i0.ɵɵadvance();
|
|
2806
|
-
i0.ɵɵproperty("auSlot", ctx.state().
|
|
2806
|
+
i0.ɵɵproperty("auSlot", ctx.state().structure)("auSlotProps", i0.ɵɵpureFunction2(3, _c1$1, ctx.state(), ctx.widget));
|
|
2807
2807
|
} }, dependencies: [SlotDirective, ContentAsSlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
2808
2808
|
}
|
|
2809
2809
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressbarComponent, [{
|
|
@@ -2818,7 +2818,7 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2818
2818
|
},
|
|
2819
2819
|
template: `
|
|
2820
2820
|
<ng-template [auContentAsSlot]="defaultSlots"><ng-content></ng-content></ng-template>
|
|
2821
|
-
<ng-template [auSlot]="state().
|
|
2821
|
+
<ng-template [auSlot]="state().structure" [auSlotProps]="{state: state(), widget}"></ng-template>
|
|
2822
2822
|
`,
|
|
2823
2823
|
}]
|
|
2824
2824
|
}], null, { ariaLabel: [{
|
|
@@ -2839,9 +2839,9 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2839
2839
|
}], children: [{
|
|
2840
2840
|
type: Input,
|
|
2841
2841
|
args: ['auChildren']
|
|
2842
|
-
}],
|
|
2842
|
+
}], structure: [{
|
|
2843
2843
|
type: Input,
|
|
2844
|
-
args: ['
|
|
2844
|
+
args: ['auStructure']
|
|
2845
2845
|
}], slotStructureFromContent: [{
|
|
2846
2846
|
type: ContentChild,
|
|
2847
2847
|
args: [ProgressbarStructureDirective, { static: false }]
|