@agnos-ui/angular-bootstrap 0.7.1 → 0.8.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/agnos-ui-angular.module.d.ts +1 -1
- package/components/collapse/collapse.component.d.ts +8 -0
- package/components/collapse/collapse.gen.d.ts +4 -0
- package/components/slider/slider.component.d.ts +44 -4
- package/components/slider/slider.gen.d.ts +87 -0
- package/fesm2022/agnos-ui-angular-bootstrap.mjs +253 -95
- package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { widgetsConfigFactory, SlotDirective, UseDirective, ComponentTemplate, BaseWidgetDirective, auBooleanAttribute, UseMultiDirective, auNumberAttribute, useDirectiveForHost, callWidgetFactory as callWidgetFactory$1 } from '@agnos-ui/angular-headless';
|
|
2
2
|
export * from '@agnos-ui/angular-headless';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, inject, TemplateRef, Directive, viewChild,
|
|
4
|
+
import { InjectionToken, inject, TemplateRef, Directive, viewChild, ChangeDetectionStrategy, Component, input, contentChild, output, ViewEncapsulation, forwardRef, Injector, runInInjectionContext, NgModule, ApplicationRef, createComponent, EnvironmentInjector, OutputEmitterRef, Injectable } from '@angular/core';
|
|
5
5
|
import { getModalDefaultConfig, createModal, modalOutsideClick, modalCloseButtonClick } from '@agnos-ui/core-bootstrap/components/modal';
|
|
6
6
|
import { getPaginationDefaultConfig, createPagination } from '@agnos-ui/core-bootstrap/components/pagination';
|
|
7
7
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
@@ -168,7 +168,7 @@ class ModalStructureDirective {
|
|
|
168
168
|
}
|
|
169
169
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalStructureDirective, [{
|
|
170
170
|
type: Directive,
|
|
171
|
-
args: [{ selector: 'ng-template[auModalStructure]'
|
|
171
|
+
args: [{ selector: 'ng-template[auModalStructure]' }]
|
|
172
172
|
}], null, null); })();
|
|
173
173
|
/**
|
|
174
174
|
* Directive to provide the slot header for the modal widget.
|
|
@@ -186,7 +186,7 @@ class ModalHeaderDirective {
|
|
|
186
186
|
}
|
|
187
187
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalHeaderDirective, [{
|
|
188
188
|
type: Directive,
|
|
189
|
-
args: [{ selector: 'ng-template[auModalHeader]'
|
|
189
|
+
args: [{ selector: 'ng-template[auModalHeader]' }]
|
|
190
190
|
}], null, null); })();
|
|
191
191
|
/**
|
|
192
192
|
* Directive to provide the slot title for the modal widget.
|
|
@@ -204,7 +204,7 @@ class ModalTitleDirective {
|
|
|
204
204
|
}
|
|
205
205
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalTitleDirective, [{
|
|
206
206
|
type: Directive,
|
|
207
|
-
args: [{ selector: 'ng-template[auModalTitle]'
|
|
207
|
+
args: [{ selector: 'ng-template[auModalTitle]' }]
|
|
208
208
|
}], null, null); })();
|
|
209
209
|
/**
|
|
210
210
|
* Directive to provide the default slot for the modal widget.
|
|
@@ -222,7 +222,7 @@ class ModalBodyDirective {
|
|
|
222
222
|
}
|
|
223
223
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalBodyDirective, [{
|
|
224
224
|
type: Directive,
|
|
225
|
-
args: [{ selector: 'ng-template[auModalBody]'
|
|
225
|
+
args: [{ selector: 'ng-template[auModalBody]' }]
|
|
226
226
|
}], null, null); })();
|
|
227
227
|
/**
|
|
228
228
|
* Directive to provide the slot footer for the modal widget.
|
|
@@ -240,7 +240,7 @@ class ModalFooterDirective {
|
|
|
240
240
|
}
|
|
241
241
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalFooterDirective, [{
|
|
242
242
|
type: Directive,
|
|
243
|
-
args: [{ selector: 'ng-template[auModalFooter]'
|
|
243
|
+
args: [{ selector: 'ng-template[auModalFooter]' }]
|
|
244
244
|
}], null, null); })();
|
|
245
245
|
/**
|
|
246
246
|
* Component containing the default slots for the modal.
|
|
@@ -713,7 +713,7 @@ class PaginationEllipsisDirective {
|
|
|
713
713
|
}
|
|
714
714
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationEllipsisDirective, [{
|
|
715
715
|
type: Directive,
|
|
716
|
-
args: [{ selector: 'ng-template[auPaginationEllipsis]'
|
|
716
|
+
args: [{ selector: 'ng-template[auPaginationEllipsis]' }]
|
|
717
717
|
}], null, null); })();
|
|
718
718
|
/**
|
|
719
719
|
* A directive to use to give the 'first' link template to the pagination component
|
|
@@ -731,7 +731,7 @@ class PaginationFirstDirective {
|
|
|
731
731
|
}
|
|
732
732
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationFirstDirective, [{
|
|
733
733
|
type: Directive,
|
|
734
|
-
args: [{ selector: 'ng-template[auPaginationFirst]'
|
|
734
|
+
args: [{ selector: 'ng-template[auPaginationFirst]' }]
|
|
735
735
|
}], null, null); })();
|
|
736
736
|
/**
|
|
737
737
|
* A directive to use to give the 'last' link template to the pagination component
|
|
@@ -749,7 +749,7 @@ class PaginationLastDirective {
|
|
|
749
749
|
}
|
|
750
750
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationLastDirective, [{
|
|
751
751
|
type: Directive,
|
|
752
|
-
args: [{ selector: 'ng-template[auPaginationLast]'
|
|
752
|
+
args: [{ selector: 'ng-template[auPaginationLast]' }]
|
|
753
753
|
}], null, null); })();
|
|
754
754
|
/**
|
|
755
755
|
* A directive to use to give the 'next' link template to the pagination component
|
|
@@ -767,7 +767,7 @@ class PaginationNextDirective {
|
|
|
767
767
|
}
|
|
768
768
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationNextDirective, [{
|
|
769
769
|
type: Directive,
|
|
770
|
-
args: [{ selector: 'ng-template[auPaginationNext]'
|
|
770
|
+
args: [{ selector: 'ng-template[auPaginationNext]' }]
|
|
771
771
|
}], null, null); })();
|
|
772
772
|
/**
|
|
773
773
|
* A directive to use to give the page 'number' template to the pagination component
|
|
@@ -785,7 +785,7 @@ class PaginationNumberDirective {
|
|
|
785
785
|
}
|
|
786
786
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationNumberDirective, [{
|
|
787
787
|
type: Directive,
|
|
788
|
-
args: [{ selector: 'ng-template[auPaginationNumber]'
|
|
788
|
+
args: [{ selector: 'ng-template[auPaginationNumber]' }]
|
|
789
789
|
}], null, null); })();
|
|
790
790
|
/**
|
|
791
791
|
* A directive to use to give the 'previous' link template to the pagination component
|
|
@@ -803,7 +803,7 @@ class PaginationPreviousDirective {
|
|
|
803
803
|
}
|
|
804
804
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationPreviousDirective, [{
|
|
805
805
|
type: Directive,
|
|
806
|
-
args: [{ selector: 'ng-template[auPaginationPrevious]'
|
|
806
|
+
args: [{ selector: 'ng-template[auPaginationPrevious]' }]
|
|
807
807
|
}], null, null); })();
|
|
808
808
|
/**
|
|
809
809
|
* A directive to use to give the 'Pages' template for the Pages slot
|
|
@@ -821,7 +821,7 @@ class PaginationPagesDirective {
|
|
|
821
821
|
}
|
|
822
822
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationPagesDirective, [{
|
|
823
823
|
type: Directive,
|
|
824
|
-
args: [{ selector: 'ng-template[auPaginationPages]'
|
|
824
|
+
args: [{ selector: 'ng-template[auPaginationPages]' }]
|
|
825
825
|
}], null, null); })();
|
|
826
826
|
/**
|
|
827
827
|
* Directive to provide the slot structure for the pagination widget.
|
|
@@ -839,7 +839,7 @@ class PaginationStructureDirective {
|
|
|
839
839
|
}
|
|
840
840
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationStructureDirective, [{
|
|
841
841
|
type: Directive,
|
|
842
|
-
args: [{ selector: 'ng-template[auPaginationStructure]'
|
|
842
|
+
args: [{ selector: 'ng-template[auPaginationStructure]' }]
|
|
843
843
|
}], null, null); })();
|
|
844
844
|
class PaginationDefaultSlotsComponent {
|
|
845
845
|
constructor() {
|
|
@@ -1325,7 +1325,7 @@ class RatingStarDirective {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RatingStarDirective, [{
|
|
1327
1327
|
type: Directive,
|
|
1328
|
-
args: [{ selector: 'ng-template[auRatingStar]'
|
|
1328
|
+
args: [{ selector: 'ng-template[auRatingStar]' }]
|
|
1329
1329
|
}], null, null); })();
|
|
1330
1330
|
/**
|
|
1331
1331
|
* The `RatingComponent` is an Angular component that allows users to provide a rating.
|
|
@@ -1592,7 +1592,7 @@ class SelectBadgeLabelDirective {
|
|
|
1592
1592
|
}
|
|
1593
1593
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectBadgeLabelDirective, [{
|
|
1594
1594
|
type: Directive,
|
|
1595
|
-
args: [{ selector: 'ng-template[auSelectBadgeLabel]'
|
|
1595
|
+
args: [{ selector: 'ng-template[auSelectBadgeLabel]' }]
|
|
1596
1596
|
}], null, null); })();
|
|
1597
1597
|
/**
|
|
1598
1598
|
* Directive to provide a custom label template for select items.
|
|
@@ -1616,7 +1616,7 @@ class SelectItemLabelDirective {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectItemLabelDirective, [{
|
|
1618
1618
|
type: Directive,
|
|
1619
|
-
args: [{ selector: 'ng-template[auSelectItemLabel]'
|
|
1619
|
+
args: [{ selector: 'ng-template[auSelectItemLabel]' }]
|
|
1620
1620
|
}], null, null); })();
|
|
1621
1621
|
/**
|
|
1622
1622
|
* A component that represents a customizable select dropdown widget.
|
|
@@ -1933,7 +1933,7 @@ class AlertBodyDirective {
|
|
|
1933
1933
|
}
|
|
1934
1934
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertBodyDirective, [{
|
|
1935
1935
|
type: Directive,
|
|
1936
|
-
args: [{ selector: 'ng-template[auAlertBody]'
|
|
1936
|
+
args: [{ selector: 'ng-template[auAlertBody]' }]
|
|
1937
1937
|
}], null, null); })();
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Directive to define the structure of an alert component.
|
|
@@ -1952,7 +1952,7 @@ class AlertStructureDirective {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertStructureDirective, [{
|
|
1954
1954
|
type: Directive,
|
|
1955
|
-
args: [{ selector: 'ng-template[auAlertStructure]'
|
|
1955
|
+
args: [{ selector: 'ng-template[auAlertStructure]' }]
|
|
1956
1956
|
}], null, null); })();
|
|
1957
1957
|
class AlertDefaultSlotsComponent {
|
|
1958
1958
|
constructor() {
|
|
@@ -2366,7 +2366,7 @@ class AccordionBodyDirective {
|
|
|
2366
2366
|
}
|
|
2367
2367
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionBodyDirective, [{
|
|
2368
2368
|
type: Directive,
|
|
2369
|
-
args: [{ selector: 'ng-template[auAccordionItemBody]'
|
|
2369
|
+
args: [{ selector: 'ng-template[auAccordionItemBody]' }]
|
|
2370
2370
|
}], null, null); })();
|
|
2371
2371
|
/**
|
|
2372
2372
|
* Directive to be used as an accordion header.
|
|
@@ -2385,7 +2385,7 @@ class AccordionHeaderDirective {
|
|
|
2385
2385
|
}
|
|
2386
2386
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionHeaderDirective, [{
|
|
2387
2387
|
type: Directive,
|
|
2388
|
-
args: [{ selector: 'ng-template[auAccordionItemHeader]'
|
|
2388
|
+
args: [{ selector: 'ng-template[auAccordionItemHeader]' }]
|
|
2389
2389
|
}], null, null); })();
|
|
2390
2390
|
/**
|
|
2391
2391
|
* Directive that represents the structure of an accordion item.
|
|
@@ -2405,7 +2405,7 @@ class AccordionItemStructureDirective {
|
|
|
2405
2405
|
}
|
|
2406
2406
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionItemStructureDirective, [{
|
|
2407
2407
|
type: Directive,
|
|
2408
|
-
args: [{ selector: 'ng-template[auAccordionItemStructure]'
|
|
2408
|
+
args: [{ selector: 'ng-template[auAccordionItemStructure]' }]
|
|
2409
2409
|
}], null, null); })();
|
|
2410
2410
|
class AccordionItemDefaultSlotsComponent {
|
|
2411
2411
|
constructor() {
|
|
@@ -2793,7 +2793,6 @@ class AccordionDirective extends BaseWidgetDirective {
|
|
|
2793
2793
|
args: [{
|
|
2794
2794
|
selector: '[auAccordion]',
|
|
2795
2795
|
exportAs: 'auAccordion',
|
|
2796
|
-
standalone: true,
|
|
2797
2796
|
host: {
|
|
2798
2797
|
class: 'accordion',
|
|
2799
2798
|
},
|
|
@@ -2826,18 +2825,58 @@ function SliderDefaultHandleSlotComponent_ng_template_0_Template(rf, ctx) { if (
|
|
|
2826
2825
|
const item_r4 = ctx.item;
|
|
2827
2826
|
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$3, directives_r3.handleDirective, i0.ɵɵpureFunction1(1, _c1$3, item_r4)));
|
|
2828
2827
|
} }
|
|
2829
|
-
const _c3$3 = ["
|
|
2828
|
+
const _c3$3 = ["tick"];
|
|
2829
|
+
const _c4$3 = a0 => ({ tick: a0 });
|
|
2830
|
+
function SliderDefaultTickSlotComponent_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
2831
|
+
i0.ɵɵelementStart(0, "span", 2);
|
|
2832
|
+
i0.ɵɵtext(1);
|
|
2833
|
+
i0.ɵɵelementEnd();
|
|
2834
|
+
} if (rf & 2) {
|
|
2835
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
2836
|
+
const directives_r2 = ctx_r0.directives;
|
|
2837
|
+
const tick_r3 = ctx_r0.tick;
|
|
2838
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(4, _c2$3, directives_r2.tickLabelDirective, i0.ɵɵpureFunction1(2, _c4$3, tick_r3)));
|
|
2839
|
+
i0.ɵɵadvance();
|
|
2840
|
+
i0.ɵɵtextInterpolate1(" ", tick_r3.value, " ");
|
|
2841
|
+
} }
|
|
2842
|
+
function SliderDefaultTickSlotComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
2843
|
+
i0.ɵɵnamespaceSVG();
|
|
2844
|
+
i0.ɵɵelement(0, "circle", 5);
|
|
2845
|
+
} }
|
|
2846
|
+
function SliderDefaultTickSlotComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
2847
|
+
i0.ɵɵtemplate(0, SliderDefaultTickSlotComponent_ng_template_0_Conditional_0_Template, 2, 7, "span", 2);
|
|
2848
|
+
i0.ɵɵelementStart(1, "span", 2);
|
|
2849
|
+
i0.ɵɵnamespaceSVG();
|
|
2850
|
+
i0.ɵɵelementStart(2, "svg", 3);
|
|
2851
|
+
i0.ɵɵelement(3, "circle", 4);
|
|
2852
|
+
i0.ɵɵtemplate(4, SliderDefaultTickSlotComponent_ng_template_0_Conditional_4_Template, 1, 0, ":svg:circle", 5);
|
|
2853
|
+
i0.ɵɵelementEnd()();
|
|
2854
|
+
} if (rf & 2) {
|
|
2855
|
+
const state_r4 = ctx.state;
|
|
2856
|
+
const directives_r2 = ctx.directives;
|
|
2857
|
+
const tick_r3 = ctx.tick;
|
|
2858
|
+
i0.ɵɵconditional(tick_r3.displayLabel ? 0 : -1);
|
|
2859
|
+
i0.ɵɵadvance();
|
|
2860
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(9, _c2$3, directives_r2.tickDirective, i0.ɵɵpureFunction1(7, _c4$3, tick_r3)));
|
|
2861
|
+
i0.ɵɵadvance(2);
|
|
2862
|
+
i0.ɵɵclassProp("au-slider-tick-disabled", state_r4.disabled())("au-slider-tick-selected", tick_r3.selected);
|
|
2863
|
+
i0.ɵɵadvance();
|
|
2864
|
+
i0.ɵɵconditional(tick_r3.selected ? 4 : -1);
|
|
2865
|
+
} }
|
|
2866
|
+
const _c5$2 = ["structure"];
|
|
2867
|
+
const _c6$1 = a0 => ({ option: a0 });
|
|
2868
|
+
const _c7$1 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, value: a3 });
|
|
2869
|
+
const _c8$1 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, tick: a3 });
|
|
2870
|
+
const _c9 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, item: a3 });
|
|
2871
|
+
const _c10 = a0 => ({ index: a0 });
|
|
2830
2872
|
const _forTrack0 = ($index, $item) => $item.id;
|
|
2831
|
-
const
|
|
2832
|
-
const _c5$2 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, value: a3 });
|
|
2833
|
-
const _c6$1 = (a0, a1, a2, a3) => ({ state: a0, api: a1, directives: a2, item: a3 });
|
|
2834
|
-
const _c7$1 = a0 => ({ index: a0 });
|
|
2873
|
+
const _forTrack1 = ($index, $item) => $item.position;
|
|
2835
2874
|
function SliderDefaultStructureSlotComponent_ng_template_0_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
2836
2875
|
i0.ɵɵelement(0, "div", 2);
|
|
2837
2876
|
} if (rf & 2) {
|
|
2838
2877
|
const option_r1 = ctx.$implicit;
|
|
2839
2878
|
const directives_r2 = i0.ɵɵnextContext().directives;
|
|
2840
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$3, directives_r2.progressDisplayDirective, i0.ɵɵpureFunction1(1,
|
|
2879
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(3, _c2$3, directives_r2.progressDisplayDirective, i0.ɵɵpureFunction1(1, _c6$1, option_r1)));
|
|
2841
2880
|
} }
|
|
2842
2881
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_ng_template_1_Template(rf, ctx) { }
|
|
2843
2882
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_ng_template_3_Template(rf, ctx) { }
|
|
@@ -2855,11 +2894,11 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_Templat
|
|
|
2855
2894
|
const api_r5 = ctx_r2.api;
|
|
2856
2895
|
i0.ɵɵproperty("auUse", directives_r2.minLabelDirective);
|
|
2857
2896
|
i0.ɵɵadvance();
|
|
2858
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(6,
|
|
2897
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(6, _c7$1, state_r4, api_r5, directives_r2, state_r4.min()));
|
|
2859
2898
|
i0.ɵɵadvance();
|
|
2860
2899
|
i0.ɵɵproperty("auUse", directives_r2.maxLabelDirective);
|
|
2861
2900
|
i0.ɵɵadvance();
|
|
2862
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(11,
|
|
2901
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(11, _c7$1, state_r4, api_r5, directives_r2, state_r4.max()));
|
|
2863
2902
|
} }
|
|
2864
2903
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_1_ng_template_0_Template(rf, ctx) { }
|
|
2865
2904
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_1_ng_template_2_Template(rf, ctx) { }
|
|
@@ -2872,9 +2911,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditi
|
|
|
2872
2911
|
const state_r4 = ctx_r2.state;
|
|
2873
2912
|
const directives_r2 = ctx_r2.directives;
|
|
2874
2913
|
const api_r5 = ctx_r2.api;
|
|
2875
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(4,
|
|
2914
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(4, _c7$1, state_r4, api_r5, directives_r2, state_r4.sortedValues()[1]));
|
|
2876
2915
|
i0.ɵɵadvance(2);
|
|
2877
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(9,
|
|
2916
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(9, _c7$1, state_r4, api_r5, directives_r2, state_r4.sortedValues()[0]));
|
|
2878
2917
|
} }
|
|
2879
2918
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_2_ng_template_0_Template(rf, ctx) { }
|
|
2880
2919
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditional_2_ng_template_2_Template(rf, ctx) { }
|
|
@@ -2887,9 +2926,9 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Conditi
|
|
|
2887
2926
|
const state_r4 = ctx_r2.state;
|
|
2888
2927
|
const directives_r2 = ctx_r2.directives;
|
|
2889
2928
|
const api_r5 = ctx_r2.api;
|
|
2890
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(4,
|
|
2929
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(4, _c7$1, state_r4, api_r5, directives_r2, state_r4.sortedValues()[0]));
|
|
2891
2930
|
i0.ɵɵadvance(2);
|
|
2892
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(9,
|
|
2931
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(9, _c7$1, state_r4, api_r5, directives_r2, state_r4.sortedValues()[1]));
|
|
2893
2932
|
} }
|
|
2894
2933
|
function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
2895
2934
|
i0.ɵɵelementStart(0, "div", 2);
|
|
@@ -2904,30 +2943,41 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Templat
|
|
|
2904
2943
|
i0.ɵɵconditional(state_r4.rtl() ? 1 : 2);
|
|
2905
2944
|
} }
|
|
2906
2945
|
function SliderDefaultStructureSlotComponent_ng_template_0_For_6_ng_template_0_Template(rf, ctx) { }
|
|
2907
|
-
function
|
|
2908
|
-
|
|
2946
|
+
function SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
2947
|
+
i0.ɵɵtemplate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_6_ng_template_0_Template, 0, 0, "ng-template", 3);
|
|
2948
|
+
} if (rf & 2) {
|
|
2949
|
+
const tick_r6 = ctx.$implicit;
|
|
2950
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2951
|
+
const state_r4 = ctx_r2.state;
|
|
2952
|
+
const directives_r2 = ctx_r2.directives;
|
|
2953
|
+
const api_r5 = ctx_r2.api;
|
|
2954
|
+
i0.ɵɵproperty("auSlot", state_r4.tick())("auSlotProps", i0.ɵɵpureFunction4(2, _c8$1, state_r4, api_r5, directives_r2, tick_r6));
|
|
2955
|
+
} }
|
|
2956
|
+
function SliderDefaultStructureSlotComponent_ng_template_0_For_8_ng_template_0_Template(rf, ctx) { }
|
|
2957
|
+
function SliderDefaultStructureSlotComponent_ng_template_0_For_8_Conditional_1_ng_template_1_Template(rf, ctx) { }
|
|
2958
|
+
function SliderDefaultStructureSlotComponent_ng_template_0_For_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
2909
2959
|
i0.ɵɵelementStart(0, "div", 2);
|
|
2910
|
-
i0.ɵɵtemplate(1,
|
|
2960
|
+
i0.ɵɵtemplate(1, SliderDefaultStructureSlotComponent_ng_template_0_For_8_Conditional_1_ng_template_1_Template, 0, 0, "ng-template", 3);
|
|
2911
2961
|
i0.ɵɵelementEnd();
|
|
2912
2962
|
} if (rf & 2) {
|
|
2913
|
-
const ɵ$
|
|
2963
|
+
const ɵ$index_35_r7 = i0.ɵɵnextContext().$index;
|
|
2914
2964
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
2915
2965
|
const state_r4 = ctx_r2.state;
|
|
2916
2966
|
const directives_r2 = ctx_r2.directives;
|
|
2917
2967
|
const api_r5 = ctx_r2.api;
|
|
2918
|
-
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c2$3, directives_r2.handleLabelDisplayDirective, i0.ɵɵpureFunction1(3,
|
|
2968
|
+
i0.ɵɵproperty("auUse", i0.ɵɵpureFunction2(5, _c2$3, directives_r2.handleLabelDisplayDirective, i0.ɵɵpureFunction1(3, _c10, ɵ$index_35_r7)));
|
|
2919
2969
|
i0.ɵɵadvance();
|
|
2920
|
-
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(8,
|
|
2970
|
+
i0.ɵɵproperty("auSlot", state_r4.label())("auSlotProps", i0.ɵɵpureFunction4(8, _c7$1, state_r4, api_r5, directives_r2, state_r4.values()[ɵ$index_35_r7]));
|
|
2921
2971
|
} }
|
|
2922
|
-
function
|
|
2923
|
-
i0.ɵɵtemplate(0,
|
|
2972
|
+
function SliderDefaultStructureSlotComponent_ng_template_0_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
2973
|
+
i0.ɵɵtemplate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_8_ng_template_0_Template, 0, 0, "ng-template", 3)(1, SliderDefaultStructureSlotComponent_ng_template_0_For_8_Conditional_1_Template, 2, 13, "div", 2);
|
|
2924
2974
|
} if (rf & 2) {
|
|
2925
|
-
const
|
|
2975
|
+
const item_r8 = ctx.$implicit;
|
|
2926
2976
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
2927
2977
|
const state_r4 = ctx_r2.state;
|
|
2928
2978
|
const directives_r2 = ctx_r2.directives;
|
|
2929
2979
|
const api_r5 = ctx_r2.api;
|
|
2930
|
-
i0.ɵɵproperty("auSlot", state_r4.handle())("auSlotProps", i0.ɵɵpureFunction4(3,
|
|
2980
|
+
i0.ɵɵproperty("auSlot", state_r4.handle())("auSlotProps", i0.ɵɵpureFunction4(3, _c9, state_r4, api_r5, directives_r2, item_r8));
|
|
2931
2981
|
i0.ɵɵadvance();
|
|
2932
2982
|
i0.ɵɵconditional(state_r4.showValueLabels() && !state_r4.combinedLabelDisplay() ? 1 : -1);
|
|
2933
2983
|
} }
|
|
@@ -2935,7 +2985,8 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { i
|
|
|
2935
2985
|
i0.ɵɵrepeaterCreate(0, SliderDefaultStructureSlotComponent_ng_template_0_For_1_Template, 1, 6, "div", 2, _forTrack0);
|
|
2936
2986
|
i0.ɵɵelement(2, "div", 2);
|
|
2937
2987
|
i0.ɵɵtemplate(3, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_3_Template, 4, 16)(4, SliderDefaultStructureSlotComponent_ng_template_0_Conditional_4_Template, 3, 2, "div", 2);
|
|
2938
|
-
i0.ɵɵrepeaterCreate(5, SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template,
|
|
2988
|
+
i0.ɵɵrepeaterCreate(5, SliderDefaultStructureSlotComponent_ng_template_0_For_6_Template, 1, 7, null, 3, _forTrack1);
|
|
2989
|
+
i0.ɵɵrepeaterCreate(7, SliderDefaultStructureSlotComponent_ng_template_0_For_8_Template, 2, 8, null, null, _forTrack0);
|
|
2939
2990
|
} if (rf & 2) {
|
|
2940
2991
|
const state_r4 = ctx.state;
|
|
2941
2992
|
const directives_r2 = ctx.directives;
|
|
@@ -2947,10 +2998,12 @@ function SliderDefaultStructureSlotComponent_ng_template_0_Template(rf, ctx) { i
|
|
|
2947
2998
|
i0.ɵɵadvance();
|
|
2948
2999
|
i0.ɵɵconditional(state_r4.showValueLabels() && state_r4.combinedLabelDisplay() ? 4 : -1);
|
|
2949
3000
|
i0.ɵɵadvance();
|
|
3001
|
+
i0.ɵɵrepeater(state_r4.ticks());
|
|
3002
|
+
i0.ɵɵadvance(2);
|
|
2950
3003
|
i0.ɵɵrepeater(state_r4.sortedHandles());
|
|
2951
3004
|
} }
|
|
2952
|
-
const
|
|
2953
|
-
const
|
|
3005
|
+
const _c11 = ["auSlider", ""];
|
|
3006
|
+
const _c12 = (a0, a1, a2) => ({ state: a0, api: a1, directives: a2 });
|
|
2954
3007
|
function SliderComponent_ng_template_0_Template(rf, ctx) { }
|
|
2955
3008
|
/**
|
|
2956
3009
|
* Directive to provide a template reference for slider labels.
|
|
@@ -2969,12 +3022,12 @@ class SliderLabelDirective {
|
|
|
2969
3022
|
}
|
|
2970
3023
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderLabelDirective, [{
|
|
2971
3024
|
type: Directive,
|
|
2972
|
-
args: [{ selector: 'ng-template[auSliderLabel]'
|
|
3025
|
+
args: [{ selector: 'ng-template[auSliderLabel]' }]
|
|
2973
3026
|
}], null, null); })();
|
|
2974
3027
|
/**
|
|
2975
3028
|
* Directive representing a handle for a slider component.
|
|
2976
3029
|
*
|
|
2977
|
-
* This directive uses a template reference to render the {@link
|
|
3030
|
+
* This directive uses a template reference to render the {@link SliderSlotHandleContext}.
|
|
2978
3031
|
*/
|
|
2979
3032
|
class SliderHandleDirective {
|
|
2980
3033
|
constructor() {
|
|
@@ -2988,23 +3041,11 @@ class SliderHandleDirective {
|
|
|
2988
3041
|
}
|
|
2989
3042
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderHandleDirective, [{
|
|
2990
3043
|
type: Directive,
|
|
2991
|
-
args: [{ selector: 'ng-template[auSliderHandle]'
|
|
3044
|
+
args: [{ selector: 'ng-template[auSliderHandle]' }]
|
|
2992
3045
|
}], null, null); })();
|
|
2993
3046
|
class SliderDefaultHandleSlotComponent {
|
|
2994
3047
|
constructor() {
|
|
2995
3048
|
this.handle = viewChild.required('handle');
|
|
2996
|
-
/**
|
|
2997
|
-
* When the element moves up the DOM Angluar removes the focus
|
|
2998
|
-
* To avoid this we need to manually focus the element by calling the HTMLElement.focus
|
|
2999
|
-
* after the change, afterRenderEffect is executed after each render of the component
|
|
3000
|
-
* and when the signal inside is changed. On each key stroke we set the `refocus` signal
|
|
3001
|
-
* to the element that needs to be focused and we put the `equal` function to always return
|
|
3002
|
-
* `false` in order to trigger the change even when the element is the same
|
|
3003
|
-
*/
|
|
3004
|
-
this.refocus = signal(undefined, { equal: () => false });
|
|
3005
|
-
afterRenderEffect(() => {
|
|
3006
|
-
this.refocus()?.focus();
|
|
3007
|
-
});
|
|
3008
3049
|
}
|
|
3009
3050
|
/**
|
|
3010
3051
|
* Key handler that sets the refocus element only on the key strokes that move
|
|
@@ -3019,12 +3060,18 @@ class SliderDefaultHandleSlotComponent {
|
|
|
3019
3060
|
case 'ArrowUp':
|
|
3020
3061
|
case 'ArrowRight':
|
|
3021
3062
|
case 'End':
|
|
3022
|
-
this.
|
|
3063
|
+
clearTimeout(this.updateTimeout);
|
|
3064
|
+
this.updateTimeout = setTimeout(() => {
|
|
3065
|
+
event.target?.focus();
|
|
3066
|
+
});
|
|
3023
3067
|
break;
|
|
3024
3068
|
default:
|
|
3025
3069
|
break;
|
|
3026
3070
|
}
|
|
3027
3071
|
}
|
|
3072
|
+
ngOnDestroy() {
|
|
3073
|
+
clearTimeout(this.updateTimeout);
|
|
3074
|
+
}
|
|
3028
3075
|
static { this.ɵfac = function SliderDefaultHandleSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderDefaultHandleSlotComponent)(); }; }
|
|
3029
3076
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderDefaultHandleSlotComponent, selectors: [["ng-component"]], viewQuery: function SliderDefaultHandleSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3030
3077
|
i0.ɵɵviewQuerySignal(ctx.handle, _c0$3, 5);
|
|
@@ -3045,12 +3092,73 @@ class SliderDefaultHandleSlotComponent {
|
|
|
3045
3092
|
</ng-template>
|
|
3046
3093
|
`,
|
|
3047
3094
|
}]
|
|
3048
|
-
}],
|
|
3049
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultHandleSlotComponent, { className: "SliderDefaultHandleSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
3095
|
+
}], null, null); })();
|
|
3096
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultHandleSlotComponent, { className: "SliderDefaultHandleSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber: 64 }); })();
|
|
3050
3097
|
/**
|
|
3051
3098
|
* A constant representing the default slot handle for the slider component.
|
|
3052
3099
|
*/
|
|
3053
3100
|
const sliderDefaultSlotHandle = new ComponentTemplate(SliderDefaultHandleSlotComponent, 'handle');
|
|
3101
|
+
/**
|
|
3102
|
+
* Directive representing a tick for a slider component.
|
|
3103
|
+
*
|
|
3104
|
+
* This directive uses a template reference to render the {@link SliderSlotTickContext}.
|
|
3105
|
+
*/
|
|
3106
|
+
class SliderTickDirective {
|
|
3107
|
+
constructor() {
|
|
3108
|
+
this.templateRef = inject((TemplateRef));
|
|
3109
|
+
}
|
|
3110
|
+
static ngTemplateContextGuard(_dir, context) {
|
|
3111
|
+
return true;
|
|
3112
|
+
}
|
|
3113
|
+
static { this.ɵfac = function SliderTickDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderTickDirective)(); }; }
|
|
3114
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SliderTickDirective, selectors: [["ng-template", "auSliderTick", ""]] }); }
|
|
3115
|
+
}
|
|
3116
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderTickDirective, [{
|
|
3117
|
+
type: Directive,
|
|
3118
|
+
args: [{ selector: 'ng-template[auSliderTick]' }]
|
|
3119
|
+
}], null, null); })();
|
|
3120
|
+
class SliderDefaultTickSlotComponent {
|
|
3121
|
+
constructor() {
|
|
3122
|
+
this.tick = viewChild.required('tick');
|
|
3123
|
+
}
|
|
3124
|
+
static { this.ɵfac = function SliderDefaultTickSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderDefaultTickSlotComponent)(); }; }
|
|
3125
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderDefaultTickSlotComponent, selectors: [["ng-component"]], viewQuery: function SliderDefaultTickSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3126
|
+
i0.ɵɵviewQuerySignal(ctx.tick, _c3$3, 5);
|
|
3127
|
+
} if (rf & 2) {
|
|
3128
|
+
i0.ɵɵqueryAdvance();
|
|
3129
|
+
} }, decls: 2, vars: 0, consts: [["tick", ""], ["auSliderTick", ""], [3, "auUse"], ["xmlns", "http://www.w3.org/2000/svg"], [1, "au-slider-tick-outer"], [1, "au-slider-tick-inner", "au-slider-tick-selected"]], template: function SliderDefaultTickSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3130
|
+
i0.ɵɵtemplate(0, SliderDefaultTickSlotComponent_ng_template_0_Template, 5, 12, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
3131
|
+
} }, dependencies: [UseDirective, SliderTickDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3132
|
+
}
|
|
3133
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderDefaultTickSlotComponent, [{
|
|
3134
|
+
type: Component,
|
|
3135
|
+
args: [{
|
|
3136
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3137
|
+
imports: [UseDirective, SliderTickDirective],
|
|
3138
|
+
template: `
|
|
3139
|
+
<ng-template auSliderTick #tick let-state="state" let-directives="directives" let-tick="tick">
|
|
3140
|
+
@if (tick.displayLabel) {
|
|
3141
|
+
<span [auUse]="[directives.tickLabelDirective, {tick}]">
|
|
3142
|
+
{{ tick.value }}
|
|
3143
|
+
</span>
|
|
3144
|
+
}
|
|
3145
|
+
<span [auUse]="[directives.tickDirective, {tick}]">
|
|
3146
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
|
3147
|
+
<circle class="au-slider-tick-outer" [class.au-slider-tick-disabled]="state.disabled()" [class.au-slider-tick-selected]="tick.selected" />
|
|
3148
|
+
@if (tick.selected) {
|
|
3149
|
+
<circle class="au-slider-tick-inner au-slider-tick-selected" />
|
|
3150
|
+
}
|
|
3151
|
+
</svg>
|
|
3152
|
+
</span>
|
|
3153
|
+
</ng-template>
|
|
3154
|
+
`,
|
|
3155
|
+
}]
|
|
3156
|
+
}], null, null); })();
|
|
3157
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultTickSlotComponent, { className: "SliderDefaultTickSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber: 136 }); })();
|
|
3158
|
+
/**
|
|
3159
|
+
* A constant representing the default slot tick for the slider component.
|
|
3160
|
+
*/
|
|
3161
|
+
const sliderDefaultSlotTick = new ComponentTemplate(SliderDefaultTickSlotComponent, 'tick');
|
|
3054
3162
|
/**
|
|
3055
3163
|
* Directive that provides structure for the slider component.
|
|
3056
3164
|
*
|
|
@@ -3068,7 +3176,7 @@ class SliderStructureDirective {
|
|
|
3068
3176
|
}
|
|
3069
3177
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderStructureDirective, [{
|
|
3070
3178
|
type: Directive,
|
|
3071
|
-
args: [{ selector: 'ng-template[auSliderStructure]'
|
|
3179
|
+
args: [{ selector: 'ng-template[auSliderStructure]' }]
|
|
3072
3180
|
}], null, null); })();
|
|
3073
3181
|
class SliderDefaultStructureSlotComponent {
|
|
3074
3182
|
constructor() {
|
|
@@ -3076,11 +3184,11 @@ class SliderDefaultStructureSlotComponent {
|
|
|
3076
3184
|
}
|
|
3077
3185
|
static { this.ɵfac = function SliderDefaultStructureSlotComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderDefaultStructureSlotComponent)(); }; }
|
|
3078
3186
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderDefaultStructureSlotComponent, selectors: [["ng-component"]], viewQuery: function SliderDefaultStructureSlotComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3079
|
-
i0.ɵɵviewQuerySignal(ctx.structure,
|
|
3187
|
+
i0.ɵɵviewQuerySignal(ctx.structure, _c5$2, 5);
|
|
3080
3188
|
} if (rf & 2) {
|
|
3081
3189
|
i0.ɵɵqueryAdvance();
|
|
3082
3190
|
} }, decls: 2, vars: 0, consts: [["structure", ""], ["auSliderStructure", ""], [3, "auUse"], [3, "auSlot", "auSlotProps"]], template: function SliderDefaultStructureSlotComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3083
|
-
i0.ɵɵtemplate(0, SliderDefaultStructureSlotComponent_ng_template_0_Template,
|
|
3191
|
+
i0.ɵɵtemplate(0, SliderDefaultStructureSlotComponent_ng_template_0_Template, 9, 3, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
3084
3192
|
} }, dependencies: [SlotDirective, SliderStructureDirective, UseDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3085
3193
|
}
|
|
3086
3194
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderDefaultStructureSlotComponent, [{
|
|
@@ -3113,6 +3221,9 @@ class SliderDefaultStructureSlotComponent {
|
|
|
3113
3221
|
}
|
|
3114
3222
|
</div>
|
|
3115
3223
|
}
|
|
3224
|
+
@for (tick of state.ticks(); track tick.position) {
|
|
3225
|
+
<ng-template [auSlot]="state.tick()" [auSlotProps]="{state, api, directives, tick}" />
|
|
3226
|
+
}
|
|
3116
3227
|
@for (item of state.sortedHandles(); track item.id; let i = $index) {
|
|
3117
3228
|
<ng-template [auSlot]="state.handle()" [auSlotProps]="{state, api, directives, item}" />
|
|
3118
3229
|
@if (state.showValueLabels() && !state.combinedLabelDisplay()) {
|
|
@@ -3125,7 +3236,7 @@ class SliderDefaultStructureSlotComponent {
|
|
|
3125
3236
|
`,
|
|
3126
3237
|
}]
|
|
3127
3238
|
}], null, null); })();
|
|
3128
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultStructureSlotComponent, { className: "SliderDefaultStructureSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
3239
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderDefaultStructureSlotComponent, { className: "SliderDefaultStructureSlotComponent", filePath: "components/slider/slider.component.ts", lineNumber: 200 }); })();
|
|
3129
3240
|
/**
|
|
3130
3241
|
* Represents the default slot structure for the slider component.
|
|
3131
3242
|
*/
|
|
@@ -3143,6 +3254,7 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
3143
3254
|
defaultConfig: {
|
|
3144
3255
|
structure: sliderDefaultSlotStructure,
|
|
3145
3256
|
handle: sliderDefaultSlotHandle,
|
|
3257
|
+
tick: sliderDefaultSlotTick,
|
|
3146
3258
|
},
|
|
3147
3259
|
events: {
|
|
3148
3260
|
onValuesChange: (event) => {
|
|
@@ -3158,6 +3270,7 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
3158
3270
|
structure: this.slotStructureFromContent()?.templateRef,
|
|
3159
3271
|
handle: this.slotHandleFromContent()?.templateRef,
|
|
3160
3272
|
label: this.slotLabelFromContent()?.templateRef,
|
|
3273
|
+
tick: this.slotTickFromContent()?.templateRef,
|
|
3161
3274
|
}),
|
|
3162
3275
|
}));
|
|
3163
3276
|
/**
|
|
@@ -3257,6 +3370,25 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
3257
3370
|
* @defaultValue `false`
|
|
3258
3371
|
*/
|
|
3259
3372
|
this.vertical = input(undefined, { alias: 'auVertical', transform: auBooleanAttribute });
|
|
3373
|
+
/**
|
|
3374
|
+
* If `true` the ticks are displayed on the slider
|
|
3375
|
+
*
|
|
3376
|
+
* @defaultValue `false`
|
|
3377
|
+
*/
|
|
3378
|
+
this.showTicks = input(undefined, { alias: 'auShowTicks', transform: auBooleanAttribute });
|
|
3379
|
+
/**
|
|
3380
|
+
* Unit value between the ticks
|
|
3381
|
+
* If value is set to `0` the {@link stepSize} is used to space the ticks
|
|
3382
|
+
*
|
|
3383
|
+
* @defaultValue `0`
|
|
3384
|
+
*/
|
|
3385
|
+
this.tickInterval = input(undefined, { alias: 'auTickInterval', transform: auNumberAttribute });
|
|
3386
|
+
/**
|
|
3387
|
+
* If `true` the tick values are displayed on the slider
|
|
3388
|
+
*
|
|
3389
|
+
* @defaultValue `true`
|
|
3390
|
+
*/
|
|
3391
|
+
this.showTickValues = input(undefined, { alias: 'auShowTickValues', transform: auBooleanAttribute });
|
|
3260
3392
|
/**
|
|
3261
3393
|
* An event emitted when slider values are changed
|
|
3262
3394
|
*
|
|
@@ -3288,6 +3420,11 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
3288
3420
|
*/
|
|
3289
3421
|
this.handle = input(undefined, { alias: 'auHandle' });
|
|
3290
3422
|
this.slotHandleFromContent = contentChild(SliderHandleDirective);
|
|
3423
|
+
/**
|
|
3424
|
+
* Slot to change the ticks
|
|
3425
|
+
*/
|
|
3426
|
+
this.tick = input(undefined, { alias: 'auTick' });
|
|
3427
|
+
this.slotTickFromContent = contentChild(SliderTickDirective);
|
|
3291
3428
|
/**
|
|
3292
3429
|
* Control value accessor methods
|
|
3293
3430
|
*/
|
|
@@ -3325,14 +3462,15 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
3325
3462
|
i0.ɵɵcontentQuerySignal(dirIndex, ctx.slotLabelFromContent, SliderLabelDirective, 5);
|
|
3326
3463
|
i0.ɵɵcontentQuerySignal(dirIndex, ctx.slotStructureFromContent, SliderStructureDirective, 5);
|
|
3327
3464
|
i0.ɵɵcontentQuerySignal(dirIndex, ctx.slotHandleFromContent, SliderHandleDirective, 5);
|
|
3465
|
+
i0.ɵɵcontentQuerySignal(dirIndex, ctx.slotTickFromContent, SliderTickDirective, 5);
|
|
3328
3466
|
} if (rf & 2) {
|
|
3329
|
-
i0.ɵɵqueryAdvance(
|
|
3467
|
+
i0.ɵɵqueryAdvance(4);
|
|
3330
3468
|
} }, hostBindings: function SliderComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
3331
3469
|
i0.ɵɵlistener("blur", function SliderComponent_blur_HostBindingHandler() { return ctx.handleBlur(); });
|
|
3332
|
-
} }, inputs: { className: [1, "auClassName", "className"], min: [1, "auMin", "min"], max: [1, "auMax", "max"], stepSize: [1, "auStepSize", "stepSize"], values: [1, "auValues", "values"], rtl: [1, "auRtl", "rtl"], showValueLabels: [1, "auShowValueLabels", "showValueLabels"], showMinMaxLabels: [1, "auShowMinMaxLabels", "showMinMaxLabels"], ariaLabel: [1, "auAriaLabel", "ariaLabel"], ariaLabelledBy: [1, "auAriaLabelledBy", "ariaLabelledBy"], ariaValueText: [1, "auAriaValueText", "ariaValueText"], readonly: [1, "auReadonly", "readonly"], disabled: [1, "auDisabled", "disabled"], vertical: [1, "auVertical", "vertical"], label: [1, "auLabel", "label"], structure: [1, "auStructure", "structure"], handle: [1, "auHandle", "handle"] }, outputs: { valuesChange: "auValuesChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent), multi: true }]), i0.ɵɵInheritDefinitionFeature], attrs:
|
|
3470
|
+
} }, inputs: { className: [1, "auClassName", "className"], min: [1, "auMin", "min"], max: [1, "auMax", "max"], stepSize: [1, "auStepSize", "stepSize"], values: [1, "auValues", "values"], rtl: [1, "auRtl", "rtl"], showValueLabels: [1, "auShowValueLabels", "showValueLabels"], showMinMaxLabels: [1, "auShowMinMaxLabels", "showMinMaxLabels"], ariaLabel: [1, "auAriaLabel", "ariaLabel"], ariaLabelledBy: [1, "auAriaLabelledBy", "ariaLabelledBy"], ariaValueText: [1, "auAriaValueText", "ariaValueText"], readonly: [1, "auReadonly", "readonly"], disabled: [1, "auDisabled", "disabled"], vertical: [1, "auVertical", "vertical"], showTicks: [1, "auShowTicks", "showTicks"], tickInterval: [1, "auTickInterval", "tickInterval"], showTickValues: [1, "auShowTickValues", "showTickValues"], label: [1, "auLabel", "label"], structure: [1, "auStructure", "structure"], handle: [1, "auHandle", "handle"], tick: [1, "auTick", "tick"] }, outputs: { valuesChange: "auValuesChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent), multi: true }]), i0.ɵɵInheritDefinitionFeature], attrs: _c11, decls: 1, vars: 6, consts: [[3, "auSlot", "auSlotProps"]], template: function SliderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3333
3471
|
i0.ɵɵtemplate(0, SliderComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
|
|
3334
3472
|
} if (rf & 2) {
|
|
3335
|
-
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2,
|
|
3473
|
+
i0.ɵɵproperty("auSlot", ctx.state.structure())("auSlotProps", i0.ɵɵpureFunction3(2, _c12, ctx.state, ctx.api, ctx.directives));
|
|
3336
3474
|
} }, dependencies: [SlotDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
3337
3475
|
}
|
|
3338
3476
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderComponent, [{
|
|
@@ -3349,7 +3487,7 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
3349
3487
|
template: ` <ng-template [auSlot]="state.structure()" [auSlotProps]="{state, api, directives}" /> `,
|
|
3350
3488
|
}]
|
|
3351
3489
|
}], () => [], null); })();
|
|
3352
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderComponent, { className: "SliderComponent", filePath: "components/slider/slider.component.ts", lineNumber:
|
|
3490
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderComponent, { className: "SliderComponent", filePath: "components/slider/slider.component.ts", lineNumber: 225 }); })();
|
|
3353
3491
|
|
|
3354
3492
|
/**
|
|
3355
3493
|
* Retrieve a shallow copy of the default Progressbar config
|
|
@@ -3405,7 +3543,7 @@ class ProgressbarBodyDirective {
|
|
|
3405
3543
|
}
|
|
3406
3544
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressbarBodyDirective, [{
|
|
3407
3545
|
type: Directive,
|
|
3408
|
-
args: [{ selector: 'ng-template[auProgressbarBody]'
|
|
3546
|
+
args: [{ selector: 'ng-template[auProgressbarBody]' }]
|
|
3409
3547
|
}], null, null); })();
|
|
3410
3548
|
/**
|
|
3411
3549
|
* Directive to define the structure of a progress bar.
|
|
@@ -3424,7 +3562,7 @@ class ProgressbarStructureDirective {
|
|
|
3424
3562
|
}
|
|
3425
3563
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressbarStructureDirective, [{
|
|
3426
3564
|
type: Directive,
|
|
3427
|
-
args: [{ selector: 'ng-template[auProgressbarStructure]'
|
|
3565
|
+
args: [{ selector: 'ng-template[auProgressbarStructure]' }]
|
|
3428
3566
|
}], null, null); })();
|
|
3429
3567
|
class ProgressbarDefaultSlotsComponent {
|
|
3430
3568
|
constructor() {
|
|
@@ -3694,7 +3832,7 @@ class ToastBodyDirective {
|
|
|
3694
3832
|
}
|
|
3695
3833
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToastBodyDirective, [{
|
|
3696
3834
|
type: Directive,
|
|
3697
|
-
args: [{ selector: 'ng-template[auToastBody]'
|
|
3835
|
+
args: [{ selector: 'ng-template[auToastBody]' }]
|
|
3698
3836
|
}], null, null); })();
|
|
3699
3837
|
/**
|
|
3700
3838
|
* Directive to define the structure of a toast component.
|
|
@@ -3712,7 +3850,7 @@ class ToastStructureDirective {
|
|
|
3712
3850
|
}
|
|
3713
3851
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToastStructureDirective, [{
|
|
3714
3852
|
type: Directive,
|
|
3715
|
-
args: [{ selector: 'ng-template[auToastStructure]'
|
|
3853
|
+
args: [{ selector: 'ng-template[auToastStructure]' }]
|
|
3716
3854
|
}], null, null); })();
|
|
3717
3855
|
/**
|
|
3718
3856
|
* Directive representing the header of a toast component.
|
|
@@ -3730,7 +3868,7 @@ class ToastHeaderDirective {
|
|
|
3730
3868
|
}
|
|
3731
3869
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToastHeaderDirective, [{
|
|
3732
3870
|
type: Directive,
|
|
3733
|
-
args: [{ selector: 'ng-template[auToastHeader]'
|
|
3871
|
+
args: [{ selector: 'ng-template[auToastHeader]' }]
|
|
3734
3872
|
}], null, null); })();
|
|
3735
3873
|
class ToastDefaultSlotsComponent {
|
|
3736
3874
|
constructor() {
|
|
@@ -4035,10 +4173,29 @@ class CollapseDirective extends BaseWidgetDirective {
|
|
|
4035
4173
|
type: Directive,
|
|
4036
4174
|
args: [{
|
|
4037
4175
|
selector: '[auCollapse]',
|
|
4038
|
-
standalone: true,
|
|
4039
4176
|
exportAs: 'auCollapse',
|
|
4040
4177
|
}]
|
|
4041
4178
|
}], () => [], null); })();
|
|
4179
|
+
class CollapseTriggerDirective {
|
|
4180
|
+
constructor() {
|
|
4181
|
+
this.auCollapseTrigger = input.required();
|
|
4182
|
+
this.injector = inject(Injector);
|
|
4183
|
+
}
|
|
4184
|
+
async ngOnInit() {
|
|
4185
|
+
await this.auCollapseTrigger()['_widget'].initialized;
|
|
4186
|
+
runInInjectionContext(this.injector, () => {
|
|
4187
|
+
useDirectiveForHost(this.auCollapseTrigger().directives.triggerDirective);
|
|
4188
|
+
});
|
|
4189
|
+
}
|
|
4190
|
+
static { this.ɵfac = function CollapseTriggerDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CollapseTriggerDirective)(); }; }
|
|
4191
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CollapseTriggerDirective, selectors: [["", "auCollapseTrigger", ""]], inputs: { auCollapseTrigger: [1, "auCollapseTrigger"] } }); }
|
|
4192
|
+
}
|
|
4193
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollapseTriggerDirective, [{
|
|
4194
|
+
type: Directive,
|
|
4195
|
+
args: [{
|
|
4196
|
+
selector: '[auCollapseTrigger]',
|
|
4197
|
+
}]
|
|
4198
|
+
}], null, null); })();
|
|
4042
4199
|
|
|
4043
4200
|
/**
|
|
4044
4201
|
* Retrieve a shallow copy of the default collapse config
|
|
@@ -4185,7 +4342,7 @@ class TreeStructureDirective {
|
|
|
4185
4342
|
}
|
|
4186
4343
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeStructureDirective, [{
|
|
4187
4344
|
type: Directive,
|
|
4188
|
-
args: [{ selector: 'ng-template[auTreeStructure]'
|
|
4345
|
+
args: [{ selector: 'ng-template[auTreeStructure]' }]
|
|
4189
4346
|
}], null, null); })();
|
|
4190
4347
|
class TreeDefaultStructureSlotComponent {
|
|
4191
4348
|
constructor() {
|
|
@@ -4206,7 +4363,6 @@ class TreeDefaultStructureSlotComponent {
|
|
|
4206
4363
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeDefaultStructureSlotComponent, [{
|
|
4207
4364
|
type: Component,
|
|
4208
4365
|
args: [{
|
|
4209
|
-
standalone: true,
|
|
4210
4366
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4211
4367
|
imports: [UseDirective, TreeStructureDirective, SlotDirective],
|
|
4212
4368
|
template: `
|
|
@@ -4220,7 +4376,7 @@ class TreeDefaultStructureSlotComponent {
|
|
|
4220
4376
|
`,
|
|
4221
4377
|
}]
|
|
4222
4378
|
}], null, null); })();
|
|
4223
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultStructureSlotComponent, { className: "TreeDefaultStructureSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber:
|
|
4379
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultStructureSlotComponent, { className: "TreeDefaultStructureSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber: 33 }); })();
|
|
4224
4380
|
/**
|
|
4225
4381
|
* A constant representing the default slot for tree structure.
|
|
4226
4382
|
*/
|
|
@@ -4242,7 +4398,7 @@ class TreeItemToggleDirective {
|
|
|
4242
4398
|
}
|
|
4243
4399
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeItemToggleDirective, [{
|
|
4244
4400
|
type: Directive,
|
|
4245
|
-
args: [{ selector: 'ng-template[auTreeItemToggle]'
|
|
4401
|
+
args: [{ selector: 'ng-template[auTreeItemToggle]' }]
|
|
4246
4402
|
}], null, null); })();
|
|
4247
4403
|
class TreeDefaultItemToggleSlotComponent {
|
|
4248
4404
|
constructor() {
|
|
@@ -4260,7 +4416,6 @@ class TreeDefaultItemToggleSlotComponent {
|
|
|
4260
4416
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeDefaultItemToggleSlotComponent, [{
|
|
4261
4417
|
type: Component,
|
|
4262
4418
|
args: [{
|
|
4263
|
-
standalone: true,
|
|
4264
4419
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4265
4420
|
imports: [UseDirective, TreeItemToggleDirective],
|
|
4266
4421
|
template: `
|
|
@@ -4276,7 +4431,7 @@ class TreeDefaultItemToggleSlotComponent {
|
|
|
4276
4431
|
`,
|
|
4277
4432
|
}]
|
|
4278
4433
|
}], null, null); })();
|
|
4279
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemToggleSlotComponent, { className: "TreeDefaultItemToggleSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber:
|
|
4434
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemToggleSlotComponent, { className: "TreeDefaultItemToggleSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber: 74 }); })();
|
|
4280
4435
|
/**
|
|
4281
4436
|
* A constant representing the default slot for tree item toggle.
|
|
4282
4437
|
*/
|
|
@@ -4298,7 +4453,7 @@ class TreeItemContentDirective {
|
|
|
4298
4453
|
}
|
|
4299
4454
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeItemContentDirective, [{
|
|
4300
4455
|
type: Directive,
|
|
4301
|
-
args: [{ selector: 'ng-template[auTreeItemContent]'
|
|
4456
|
+
args: [{ selector: 'ng-template[auTreeItemContent]' }]
|
|
4302
4457
|
}], null, null); })();
|
|
4303
4458
|
class TreeDefaultItemContentSlotComponent {
|
|
4304
4459
|
constructor() {
|
|
@@ -4316,7 +4471,6 @@ class TreeDefaultItemContentSlotComponent {
|
|
|
4316
4471
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeDefaultItemContentSlotComponent, [{
|
|
4317
4472
|
type: Component,
|
|
4318
4473
|
args: [{
|
|
4319
|
-
standalone: true,
|
|
4320
4474
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4321
4475
|
imports: [SlotDirective, TreeItemContentDirective],
|
|
4322
4476
|
template: `
|
|
@@ -4329,7 +4483,7 @@ class TreeDefaultItemContentSlotComponent {
|
|
|
4329
4483
|
`,
|
|
4330
4484
|
}]
|
|
4331
4485
|
}], null, null); })();
|
|
4332
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemContentSlotComponent, { className: "TreeDefaultItemContentSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber:
|
|
4486
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemContentSlotComponent, { className: "TreeDefaultItemContentSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber: 108 }); })();
|
|
4333
4487
|
/**
|
|
4334
4488
|
* A constant representing the default slot for tree item.
|
|
4335
4489
|
*/
|
|
@@ -4351,7 +4505,7 @@ class TreeItemDirective {
|
|
|
4351
4505
|
}
|
|
4352
4506
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeItemDirective, [{
|
|
4353
4507
|
type: Directive,
|
|
4354
|
-
args: [{ selector: 'ng-template[auTreeItem]'
|
|
4508
|
+
args: [{ selector: 'ng-template[auTreeItem]' }]
|
|
4355
4509
|
}], null, null); })();
|
|
4356
4510
|
class TreeDefaultItemSlotComponent {
|
|
4357
4511
|
constructor() {
|
|
@@ -4372,7 +4526,6 @@ class TreeDefaultItemSlotComponent {
|
|
|
4372
4526
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeDefaultItemSlotComponent, [{
|
|
4373
4527
|
type: Component,
|
|
4374
4528
|
args: [{
|
|
4375
|
-
standalone: true,
|
|
4376
4529
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4377
4530
|
imports: [UseDirective, SlotDirective, TreeItemDirective],
|
|
4378
4531
|
template: `
|
|
@@ -4391,7 +4544,7 @@ class TreeDefaultItemSlotComponent {
|
|
|
4391
4544
|
`,
|
|
4392
4545
|
}]
|
|
4393
4546
|
}], null, null); })();
|
|
4394
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemSlotComponent, { className: "TreeDefaultItemSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber:
|
|
4547
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeDefaultItemSlotComponent, { className: "TreeDefaultItemSlotComponent", filePath: "components/tree/tree.component.ts", lineNumber: 151 }); })();
|
|
4395
4548
|
/**
|
|
4396
4549
|
* A constant representing the default slot for tree item.
|
|
4397
4550
|
*/
|
|
@@ -4512,12 +4665,11 @@ class TreeComponent extends BaseWidgetDirective {
|
|
|
4512
4665
|
args: [{
|
|
4513
4666
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4514
4667
|
selector: '[auTree]',
|
|
4515
|
-
standalone: true,
|
|
4516
4668
|
imports: [SlotDirective],
|
|
4517
4669
|
template: ` <ng-template [auSlot]="state.structure()" [auSlotProps]="{state, api, directives}" /> `,
|
|
4518
4670
|
}]
|
|
4519
4671
|
}], () => [], null); })();
|
|
4520
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeComponent, { className: "TreeComponent", filePath: "components/tree/tree.component.ts", lineNumber:
|
|
4672
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeComponent, { className: "TreeComponent", filePath: "components/tree/tree.component.ts", lineNumber: 176 }); })();
|
|
4521
4673
|
|
|
4522
4674
|
/* istanbul ignore next */
|
|
4523
4675
|
const components = [
|
|
@@ -4556,6 +4708,7 @@ const components = [
|
|
|
4556
4708
|
SliderHandleDirective,
|
|
4557
4709
|
SliderLabelDirective,
|
|
4558
4710
|
SliderStructureDirective,
|
|
4711
|
+
SliderTickDirective,
|
|
4559
4712
|
ProgressbarComponent,
|
|
4560
4713
|
ProgressbarStructureDirective,
|
|
4561
4714
|
ProgressbarBodyDirective,
|
|
@@ -4564,6 +4717,7 @@ const components = [
|
|
|
4564
4717
|
ToastBodyDirective,
|
|
4565
4718
|
ToastHeaderDirective,
|
|
4566
4719
|
CollapseDirective,
|
|
4720
|
+
CollapseTriggerDirective,
|
|
4567
4721
|
TreeComponent,
|
|
4568
4722
|
TreeStructureDirective,
|
|
4569
4723
|
TreeItemToggleDirective,
|
|
@@ -4618,6 +4772,7 @@ class AgnosUIAngularModule {
|
|
|
4618
4772
|
SliderHandleDirective,
|
|
4619
4773
|
SliderLabelDirective,
|
|
4620
4774
|
SliderStructureDirective,
|
|
4775
|
+
SliderTickDirective,
|
|
4621
4776
|
ProgressbarComponent,
|
|
4622
4777
|
ProgressbarStructureDirective,
|
|
4623
4778
|
ProgressbarBodyDirective,
|
|
@@ -4626,6 +4781,7 @@ class AgnosUIAngularModule {
|
|
|
4626
4781
|
ToastBodyDirective,
|
|
4627
4782
|
ToastHeaderDirective,
|
|
4628
4783
|
CollapseDirective,
|
|
4784
|
+
CollapseTriggerDirective,
|
|
4629
4785
|
TreeComponent,
|
|
4630
4786
|
TreeStructureDirective,
|
|
4631
4787
|
TreeItemToggleDirective,
|
|
@@ -4665,6 +4821,7 @@ class AgnosUIAngularModule {
|
|
|
4665
4821
|
SliderHandleDirective,
|
|
4666
4822
|
SliderLabelDirective,
|
|
4667
4823
|
SliderStructureDirective,
|
|
4824
|
+
SliderTickDirective,
|
|
4668
4825
|
ProgressbarComponent,
|
|
4669
4826
|
ProgressbarStructureDirective,
|
|
4670
4827
|
ProgressbarBodyDirective,
|
|
@@ -4673,6 +4830,7 @@ class AgnosUIAngularModule {
|
|
|
4673
4830
|
ToastBodyDirective,
|
|
4674
4831
|
ToastHeaderDirective,
|
|
4675
4832
|
CollapseDirective,
|
|
4833
|
+
CollapseTriggerDirective,
|
|
4676
4834
|
TreeComponent,
|
|
4677
4835
|
TreeStructureDirective,
|
|
4678
4836
|
TreeItemToggleDirective,
|
|
@@ -4741,5 +4899,5 @@ class ModalService {
|
|
|
4741
4899
|
* Generated bundle index. Do not edit.
|
|
4742
4900
|
*/
|
|
4743
4901
|
|
|
4744
|
-
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertStructureDirective, CollapseDirective, ModalBodyDirective, ModalComponent, ModalFooterDirective, ModalHeaderDirective, ModalService, ModalStructureDirective, ModalTitleDirective, PaginationComponent, PaginationEllipsisDirective, PaginationFirstDirective, PaginationLastDirective, PaginationNextDirective, PaginationNumberDirective, PaginationPagesDirective, PaginationPreviousDirective, PaginationStructureDirective, ProgressbarBodyDirective, ProgressbarComponent, ProgressbarStructureDirective, RatingComponent, RatingStarDirective, SelectBadgeLabelDirective, SelectComponent, SelectItemLabelDirective, SliderComponent, SliderHandleDirective, SliderLabelDirective, SliderStructureDirective, ToastBodyDirective, ToastComponent, ToastHeaderDirective, ToastStructureDirective, TreeComponent, TreeItemContentDirective, TreeItemDirective, TreeItemToggleDirective, TreeStructureDirective, accordionItemDefaultSlotStructure, alertDefaultSlotStructure, callWidgetFactory, export_createAccordion as createAccordion, export_createAccordionItem as createAccordionItem, export_createAlert as createAlert, export_createCollapse as createCollapse, export_createModal as createModal, export_createPagination as createPagination, export_createProgressbar as createProgressbar, export_createRating as createRating, export_createSelect as createSelect, export_createSlider as createSlider, export_createToast as createToast, export_createTree as createTree, export_factoryCreateAccordion as factoryCreateAccordion, export_getAccordionDefaultConfig as getAccordionDefaultConfig, export_getAlertDefaultConfig as getAlertDefaultConfig, export_getCollapseDefaultConfig as getCollapseDefaultConfig, export_getModalDefaultConfig as getModalDefaultConfig, export_getPaginationDefaultConfig as getPaginationDefaultConfig, export_getProgressbarDefaultConfig as getProgressbarDefaultConfig, export_getRatingDefaultConfig as getRatingDefaultConfig, export_getSelectDefaultConfig as getSelectDefaultConfig, export_getSliderDefaultConfig as getSliderDefaultConfig, export_getToastDefaultConfig as getToastDefaultConfig, export_getTreeDefaultConfig as getTreeDefaultConfig, injectWidgetConfig, injectWidgetsConfig, export_modalCloseButtonClick as modalCloseButtonClick, modalDefaultSlotHeader, modalDefaultSlotStructure, export_modalOutsideClick as modalOutsideClick, paginationDefaultSlotPages, paginationDefaultSlotStructure, progressbarDefaultSlotStructure, provideWidgetsConfig, sliderDefaultSlotHandle, sliderDefaultSlotStructure, toastDefaultSlotStructure, treeDefaultItemToggle, treeDefaultSlotItem, treeDefaultSlotItemContent, treeDefaultSlotStructure, widgetsConfigInjectionToken };
|
|
4902
|
+
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertStructureDirective, CollapseDirective, CollapseTriggerDirective, ModalBodyDirective, ModalComponent, ModalFooterDirective, ModalHeaderDirective, ModalService, ModalStructureDirective, ModalTitleDirective, PaginationComponent, PaginationEllipsisDirective, PaginationFirstDirective, PaginationLastDirective, PaginationNextDirective, PaginationNumberDirective, PaginationPagesDirective, PaginationPreviousDirective, PaginationStructureDirective, ProgressbarBodyDirective, ProgressbarComponent, ProgressbarStructureDirective, RatingComponent, RatingStarDirective, SelectBadgeLabelDirective, SelectComponent, SelectItemLabelDirective, SliderComponent, SliderHandleDirective, SliderLabelDirective, SliderStructureDirective, SliderTickDirective, ToastBodyDirective, ToastComponent, ToastHeaderDirective, ToastStructureDirective, TreeComponent, TreeItemContentDirective, TreeItemDirective, TreeItemToggleDirective, TreeStructureDirective, accordionItemDefaultSlotStructure, alertDefaultSlotStructure, callWidgetFactory, export_createAccordion as createAccordion, export_createAccordionItem as createAccordionItem, export_createAlert as createAlert, export_createCollapse as createCollapse, export_createModal as createModal, export_createPagination as createPagination, export_createProgressbar as createProgressbar, export_createRating as createRating, export_createSelect as createSelect, export_createSlider as createSlider, export_createToast as createToast, export_createTree as createTree, export_factoryCreateAccordion as factoryCreateAccordion, export_getAccordionDefaultConfig as getAccordionDefaultConfig, export_getAlertDefaultConfig as getAlertDefaultConfig, export_getCollapseDefaultConfig as getCollapseDefaultConfig, export_getModalDefaultConfig as getModalDefaultConfig, export_getPaginationDefaultConfig as getPaginationDefaultConfig, export_getProgressbarDefaultConfig as getProgressbarDefaultConfig, export_getRatingDefaultConfig as getRatingDefaultConfig, export_getSelectDefaultConfig as getSelectDefaultConfig, export_getSliderDefaultConfig as getSliderDefaultConfig, export_getToastDefaultConfig as getToastDefaultConfig, export_getTreeDefaultConfig as getTreeDefaultConfig, injectWidgetConfig, injectWidgetsConfig, export_modalCloseButtonClick as modalCloseButtonClick, modalDefaultSlotHeader, modalDefaultSlotStructure, export_modalOutsideClick as modalOutsideClick, paginationDefaultSlotPages, paginationDefaultSlotStructure, progressbarDefaultSlotStructure, provideWidgetsConfig, sliderDefaultSlotHandle, sliderDefaultSlotStructure, sliderDefaultSlotTick, toastDefaultSlotStructure, treeDefaultItemToggle, treeDefaultSlotItem, treeDefaultSlotItemContent, treeDefaultSlotStructure, widgetsConfigInjectionToken };
|
|
4745
4903
|
//# sourceMappingURL=agnos-ui-angular-bootstrap.mjs.map
|