@mintplayer/ng-bootstrap 22.27.0 → 22.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/_bootstrap.scss +4 -101
  2. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +62 -30
  3. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
  4. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +71 -64
  5. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  6. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +50 -46
  7. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +65 -94
  9. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +122 -97
  11. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +80 -133
  13. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -19
  15. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +41 -46
  17. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
  18. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +76 -37
  19. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +37 -82
  21. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
  22. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +1 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +150 -813
  25. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  26. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +172 -118
  27. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +180 -142
  29. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +66 -116
  31. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +41 -46
  33. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +80 -204
  35. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +2 -2
  37. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  38. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +2 -2
  39. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +32 -17
  41. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +220 -20
  43. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +98 -129
  45. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +144 -265
  47. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +133 -217
  49. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +46 -25
  51. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +166 -93
  53. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +148 -231
  55. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  56. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +133 -94
  57. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +2 -2
  59. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  60. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +76 -7
  61. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +766 -812
  63. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +206 -180
  65. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +202 -141
  67. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  68. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +113 -59
  69. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +133 -76
  71. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +60 -87
  73. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +86 -83
  75. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  76. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +1 -2
  77. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +38 -34
  79. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +177 -147
  81. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
  82. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +200 -94
  83. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
  84. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +186 -233
  85. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +58 -136
  87. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  88. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +22 -16
  89. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  90. package/package.json +11 -9
  91. package/types/mintplayer-ng-bootstrap-a11y.d.ts +40 -21
  92. package/types/mintplayer-ng-bootstrap-accordion.d.ts +36 -33
  93. package/types/mintplayer-ng-bootstrap-calendar.d.ts +39 -16
  94. package/types/mintplayer-ng-bootstrap-card.d.ts +25 -33
  95. package/types/mintplayer-ng-bootstrap-carousel.d.ts +70 -55
  96. package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +65 -45
  97. package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +12 -3
  98. package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +34 -19
  99. package/types/mintplayer-ng-bootstrap-checkbox.d.ts +34 -8
  100. package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +32 -59
  101. package/types/mintplayer-ng-bootstrap-datatable.d.ts +217 -416
  102. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +77 -29
  103. package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +83 -51
  104. package/types/mintplayer-ng-bootstrap-dock.d.ts +57 -38
  105. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +25 -30
  106. package/types/mintplayer-ng-bootstrap-file-manager.d.ts +61 -81
  107. package/types/mintplayer-ng-bootstrap-input-group.d.ts +17 -12
  108. package/types/mintplayer-ng-bootstrap-machine.d.ts +112 -4
  109. package/types/mintplayer-ng-bootstrap-multi-range.d.ts +53 -27
  110. package/types/mintplayer-ng-bootstrap-navbar.d.ts +88 -164
  111. package/types/mintplayer-ng-bootstrap-otp-input.d.ts +63 -30
  112. package/types/mintplayer-ng-bootstrap-pagination.d.ts +23 -7
  113. package/types/mintplayer-ng-bootstrap-phone-input.d.ts +77 -47
  114. package/types/mintplayer-ng-bootstrap-query-builder.d.ts +95 -98
  115. package/types/mintplayer-ng-bootstrap-radio.d.ts +68 -35
  116. package/types/mintplayer-ng-bootstrap-rating.d.ts +27 -2
  117. package/types/mintplayer-ng-bootstrap-ribbon.d.ts +546 -220
  118. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +82 -197
  119. package/types/mintplayer-ng-bootstrap-select.d.ts +113 -53
  120. package/types/mintplayer-ng-bootstrap-shell.d.ts +59 -33
  121. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +63 -27
  122. package/types/mintplayer-ng-bootstrap-splitter.d.ts +45 -56
  123. package/types/mintplayer-ng-bootstrap-tab-control.d.ts +47 -26
  124. package/types/mintplayer-ng-bootstrap-table.d.ts +1 -2
  125. package/types/mintplayer-ng-bootstrap-theming.d.ts +19 -18
  126. package/types/mintplayer-ng-bootstrap-timeline.d.ts +287 -117
  127. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +100 -27
  128. package/types/mintplayer-ng-bootstrap-tree-select.d.ts +188 -94
  129. package/types/mintplayer-ng-bootstrap-treeview.d.ts +74 -59
  130. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +3 -0
  131. package/src/styles/utilities/cursor.scss +0 -12
  132. package/src/styles/utilities/overflow.scss +0 -12
  133. package/src/styles/utilities/white-space.scss +0 -12
  134. package/src/styles/utilities/width.scss +0 -14
@@ -1,127 +1,152 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, model, output, viewChild, computed, afterNextRender, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';
2
+ import { Directive, contentChildren, inject, ElementRef, input, booleanAttribute, numberAttribute, model, output, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { useCore, useScopedStyles, MpPropsDirective } from '@mintplayer/ng-bootstrap/machine';
4
+ import { carouselCore, carouselScopedStyles, carouselItemCore } from '@mintplayer/ui-core/carousel';
4
5
 
6
+ /*
7
+ * The carousel's slide count for the server render (PRD #437 D10). The parent
8
+ * template renders one radio, indicator and control pair per slide BEFORE its
9
+ * content, so it needs N from the declaration, not from the DOM.
10
+ */
11
+ /** Marks a `bs-carousel-item` (its extension's host directive). */
12
+ class BsCarouselSlideDirective {
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselSlideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsCarouselSlideDirective, isStandalone: true, selector: "[bsCarouselSlide]", ngImport: i0 }); }
15
+ }
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselSlideDirective, decorators: [{
17
+ type: Directive,
18
+ args: [{ selector: '[bsCarouselSlide]' }]
19
+ }] });
20
+ /** On `bs-carousel`: counts its own items (not a nested carousel's). */
21
+ class BsCarouselSlidesDirective {
22
+ constructor() {
23
+ this.slides = contentChildren(BsCarouselSlideDirective, /* @ts-ignore */
24
+ ...(ngDevMode ? [{ debugName: "slides" }] : /* istanbul ignore next */ []));
25
+ }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselSlidesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
27
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.0.8", type: BsCarouselSlidesDirective, isStandalone: true, selector: "[bsCarouselSlides]", queries: [{ propertyName: "slides", predicate: BsCarouselSlideDirective, isSignal: true }], ngImport: i0 }); }
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselSlidesDirective, decorators: [{
30
+ type: Directive,
31
+ args: [{ selector: '[bsCarouselSlides]' }]
32
+ }], propDecorators: { slides: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => BsCarouselSlideDirective), { isSignal: true }] }] } });
33
+
34
+ /*
35
+ * The Angular extension of the generated `bs-carousel` (PRD #437 D10): the
36
+ * slide count comes from the content query, so the server render has a radio,
37
+ * indicator and control pair per slide.
38
+ */
39
+ const hostDirectives$1 = [BsCarouselSlidesDirective];
40
+ function extendInputs(inputs) {
41
+ const slides = inject(BsCarouselSlidesDirective, { self: true });
42
+ return () => ({ ...inputs(), slideCount: slides.slides().length });
43
+ }
44
+
45
+ // GENERATED from the carousel manifest (carousel) by @mintplayer/nx-component-compiler. Do not edit.
5
46
  /**
6
- * `<bs-carousel>` — Angular wrapper around the `<mp-carousel>` web component.
7
- *
8
- * Slides are plain content children (no structural directive):
9
- *
10
- * <bs-carousel animation="fade" [indicators]="true" [interval]="4000" aria-label="Photos">
11
- * <img src="a.png" alt="…">
12
- * <img src="b.png" alt="…">
13
- * </bs-carousel>
14
- *
15
- * Track layout, gestures, keyboard, ARIA, the radio-driven no-JS tier and the
16
- * height contract all live in the WC (single source of UI truth); this wrapper
17
- * only bridges inputs to attributes and re-emits the WC's typed events. A
18
- * custom play/pause control can be projected with `slot="play-pause"` — wire
19
- * it to `togglePaused()` (or listen to `pausedChange`).
47
+ * A deck of slides shown one at a time, with optional indicators, autoplay, touch swipe and keyboard.
20
48
  *
21
- * The WC is registered **client-side only** (`afterNextRender`); on the server
22
- * Angular emits a bare `<mp-carousel>` tag and the SSR layer injects its
23
- * Declarative Shadow DOM (see `injectMpCarouselDsd`), so the carousel renders
24
- * — and navigates — with JS off.
49
+ * Put carousel items inside. A radio per slide holds the index, so the server render navigates with
50
+ * JavaScript off (indicators, prev/next with wrap-around, the radio group arrow keys). Slides are
51
+ * grid-stacked: the deck is as tall as its tallest slide. An `aria-label` names the region.
25
52
  */
26
53
  class BsCarouselComponent {
54
+ #core;
27
55
  constructor() {
28
- /** Slide transition: `slide` (default), `fade`, or `none`. */
56
+ /** The host element. */
57
+ this.elementRef = inject(ElementRef);
29
58
  this.animation = input('slide', /* @ts-ignore */
30
59
  ...(ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []));
31
- /** Slide axis; vertical also pins every slide to the tallest one. */
32
60
  this.orientation = input('horizontal', /* @ts-ignore */
33
61
  ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
34
- /** Show the indicator dots. */
35
- this.indicators = input(false, /* @ts-ignore */
36
- ...(ngDevMode ? [{ debugName: "indicators" }] : /* istanbul ignore next */ []));
37
- /** Auto-advance interval in ms; `null`/`0` disables autoplay. */
38
- this.interval = input(null, /* @ts-ignore */
39
- ...(ngDevMode ? [{ debugName: "interval" }] : /* istanbul ignore next */ []));
40
- /** Wrap around at the ends (buttons, keyboard AND swipe). */
41
- this.wrap = input(true, /* @ts-ignore */
42
- ...(ngDevMode ? [{ debugName: "wrap" }] : /* istanbul ignore next */ []));
43
- /** Arrow/Home/End navigation on the focused viewport. */
44
- this.keyboardEvents = input(true, /* @ts-ignore */
45
- ...(ngDevMode ? [{ debugName: "keyboardEvents" }] : /* istanbul ignore next */ []));
46
- /** Two-way: whether autoplay is paused. */
62
+ this.indicators = input(false, { ...(ngDevMode ? { debugName: "indicators" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
63
+ this.interval = input(null, { ...(ngDevMode ? { debugName: "interval" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
64
+ this.wrap = input(true, { ...(ngDevMode ? { debugName: "wrap" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
65
+ this.keyboardEvents = input(true, { ...(ngDevMode ? { debugName: "keyboardEvents" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
47
66
  this.paused = model(false, /* @ts-ignore */
48
67
  ...(ngDevMode ? [{ debugName: "paused" }] : /* istanbul ignore next */ []));
49
- /** The committed slide index changed. */
50
- this.slideChange = output();
51
- this.animationStart = output();
52
- this.animationEnd = output();
53
- // Deliberately NOT viewChild.required: public methods read it, and a caller that reaches
54
- // this component through DI (a child's constructor, say) can call one before this
55
- // component's view exists. There, NG0951 would throw where the guard is a no-op.
56
- this.element = viewChild('element', /* @ts-ignore */
57
- ...(ngDevMode ? [{ debugName: "element" }] : /* istanbul ignore next */ []));
58
- /** Presence/string-or-absent attributes derived once via signals. */
59
- this.indicatorsAttr = computed(() => (this.indicators() ? '' : null), /* @ts-ignore */
60
- ...(ngDevMode ? [{ debugName: "indicatorsAttr" }] : /* istanbul ignore next */ []));
61
- this.intervalAttr = computed(() => {
62
- const value = this.interval();
63
- return value && value > 0 ? String(value) : null;
64
- }, /* @ts-ignore */
65
- ...(ngDevMode ? [{ debugName: "intervalAttr" }] : /* istanbul ignore next */ []));
66
- this.wrapAttr = computed(() => (this.wrap() ? null : 'false'), /* @ts-ignore */
67
- ...(ngDevMode ? [{ debugName: "wrapAttr" }] : /* istanbul ignore next */ []));
68
- this.keyboardEventsAttr = computed(() => (this.keyboardEvents() ? null : 'false'), /* @ts-ignore */
69
- ...(ngDevMode ? [{ debugName: "keyboardEventsAttr" }] : /* istanbul ignore next */ []));
70
- this.pausedAttr = computed(() => (this.paused() ? '' : null), /* @ts-ignore */
71
- ...(ngDevMode ? [{ debugName: "pausedAttr" }] : /* istanbul ignore next */ []));
72
- this.togglePaused = () => {
73
- this.paused.set(!this.paused());
74
- };
75
- afterNextRender(() => {
76
- // Side-effect import registers <mp-carousel>; client-only so SSR stays
77
- // a bare tag for DSD injection.
78
- import('@mintplayer/web-components/carousel');
79
- });
68
+ this.inputLabel = input(null, /* @ts-ignore */
69
+ ...(ngDevMode ? [{ debugName: "inputLabel" }] : /* istanbul ignore next */ []));
70
+ this.labels = input(null, /* @ts-ignore */
71
+ ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
72
+ /** The committed slide changed. */
73
+ this.slidechange = output();
74
+ /** Autoplay was paused or resumed from the play/pause button or a method. */
75
+ this.pausedchange = output();
76
+ /** A slide transition started. */
77
+ this.slidestart = output();
78
+ /** A slide transition ended. */
79
+ this.slideend = output();
80
+ this.#core = useCore(carouselCore, { inputs: extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.slidechange, pausedChange: this.pausedchange, slideStart: this.slidestart, slideEnd: this.slideend }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }), models: { paused: this.paused } });
81
+ /** The template's props. */
82
+ this.props = this.#core.props;
83
+ useScopedStyles('carousel', carouselScopedStyles);
80
84
  }
81
- previous() {
82
- this.element()?.nativeElement.previous?.();
85
+ /** Go to the previous slide. */
86
+ previous(...args) {
87
+ return this.#core.call('previous', args);
83
88
  }
84
- next() {
85
- this.element()?.nativeElement.next?.();
89
+ /** Go to the next slide. */
90
+ next(...args) {
91
+ return this.#core.call('next', args);
86
92
  }
87
- goto(index) {
88
- this.element()?.nativeElement.goto?.(index);
93
+ /** Go to a slide by index. */
94
+ goto(...args) {
95
+ return this.#core.call('goto', args);
89
96
  }
90
- play() {
91
- this.paused.set(false);
97
+ /** Resume autoplay. */
98
+ play(...args) {
99
+ return this.#core.call('play', args);
92
100
  }
93
- pause() {
94
- this.paused.set(true);
101
+ /** Pause autoplay. */
102
+ pause(...args) {
103
+ return this.#core.call('pause', args);
95
104
  }
96
- onSlideChange(event) {
97
- // stopPropagation so the composed WC event doesn't ALSO fire the
98
- // consumer's binding on the <bs-carousel> host with the raw CustomEvent.
99
- event.stopPropagation();
100
- this.slideChange.emit(event.detail.index);
101
- }
102
- onPausedChange(event) {
103
- event.stopPropagation();
104
- this.paused.set(event.detail.paused);
105
- }
106
- onAnimationStart(event) {
107
- event.stopPropagation();
108
- this.animationStart.emit();
109
- }
110
- onAnimationEnd(event) {
111
- event.stopPropagation();
112
- this.animationEnd.emit();
105
+ /** Toggle autoplay. */
106
+ togglePaused(...args) {
107
+ return this.#core.call('togglePaused', args);
113
108
  }
114
109
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
115
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: BsCarouselComponent, isStandalone: true, selector: "bs-carousel", inputs: { animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, indicators: { classPropertyName: "indicators", publicName: "indicators", isSignal: true, isRequired: false, transformFunction: null }, interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, keyboardEvents: { classPropertyName: "keyboardEvents", publicName: "keyboardEvents", isSignal: true, isRequired: false, transformFunction: null }, paused: { classPropertyName: "paused", publicName: "paused", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { paused: "pausedChange", slideChange: "slideChange", animationStart: "animationStart", animationEnd: "animationEnd" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, isSignal: true }], ngImport: i0, template: "<mp-carousel bsForwardAria\n #element\n [attr.animation]=\"animation()\"\n [attr.orientation]=\"orientation()\"\n [attr.indicators]=\"indicatorsAttr()\"\n [attr.interval]=\"intervalAttr()\"\n [attr.wrap]=\"wrapAttr()\"\n [attr.keyboard-events]=\"keyboardEventsAttr()\"\n [attr.paused]=\"pausedAttr()\"\n (slide-change)=\"onSlideChange($event)\"\n (paused-change)=\"onPausedChange($event)\"\n (animation-start)=\"onAnimationStart($event)\"\n (animation-end)=\"onAnimationEnd($event)\">\n <ng-content></ng-content>\n</mp-carousel>\n", dependencies: [{ kind: "directive", type: BsForwardAriaDirective, selector: "[bsForwardAria]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
110
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsCarouselComponent, isStandalone: true, selector: "bs-carousel", inputs: { animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, indicators: { classPropertyName: "indicators", publicName: "indicators", isSignal: true, isRequired: false, transformFunction: null }, interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, keyboardEvents: { classPropertyName: "keyboardEvents", publicName: "keyboardEvents", isSignal: true, isRequired: false, transformFunction: null }, paused: { classPropertyName: "paused", publicName: "paused", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { paused: "pausedChange", slidechange: "slidechange", pausedchange: "pausedchange", slidestart: "slidestart", slideend: "slideend" }, hostDirectives: [{ directive: BsCarouselSlidesDirective }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
116
111
  }
117
112
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselComponent, decorators: [{
118
113
  type: Component,
119
- args: [{ selector: 'bs-carousel', imports: [BsForwardAriaDirective], changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<mp-carousel bsForwardAria\n #element\n [attr.animation]=\"animation()\"\n [attr.orientation]=\"orientation()\"\n [attr.indicators]=\"indicatorsAttr()\"\n [attr.interval]=\"intervalAttr()\"\n [attr.wrap]=\"wrapAttr()\"\n [attr.keyboard-events]=\"keyboardEventsAttr()\"\n [attr.paused]=\"pausedAttr()\"\n (slide-change)=\"onSlideChange($event)\"\n (paused-change)=\"onPausedChange($event)\"\n (animation-start)=\"onAnimationStart($event)\"\n (animation-end)=\"onAnimationEnd($event)\">\n <ng-content></ng-content>\n</mp-carousel>\n" }]
120
- }], ctorParameters: () => [], propDecorators: { animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], indicators: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicators", required: false }] }], interval: [{ type: i0.Input, args: [{ isSignal: true, alias: "interval", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], keyboardEvents: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyboardEvents", required: false }] }], paused: [{ type: i0.Input, args: [{ isSignal: true, alias: "paused", required: false }] }, { type: i0.Output, args: ["pausedChange"] }], slideChange: [{ type: i0.Output, args: ["slideChange"] }], animationStart: [{ type: i0.Output, args: ["animationStart"] }], animationEnd: [{ type: i0.Output, args: ["animationEnd"] }], element: [{ type: i0.ViewChild, args: ['element', { isSignal: true }] }] } });
114
+ args: [{ selector: 'bs-carousel', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: hostDirectives$1, template: "<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n" }]
115
+ }], ctorParameters: () => [], propDecorators: { animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], indicators: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicators", required: false }] }], interval: [{ type: i0.Input, args: [{ isSignal: true, alias: "interval", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], keyboardEvents: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyboardEvents", required: false }] }], paused: [{ type: i0.Input, args: [{ isSignal: true, alias: "paused", required: false }] }, { type: i0.Output, args: ["pausedChange"] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], slidechange: [{ type: i0.Output, args: ["slidechange"] }], pausedchange: [{ type: i0.Output, args: ["pausedchange"] }], slidestart: [{ type: i0.Output, args: ["slidestart"] }], slideend: [{ type: i0.Output, args: ["slideend"] }] } });
116
+
117
+ /*
118
+ * The Angular extension of the generated `bs-carousel-item` (PRD #437 D10):
119
+ * the marker its carousel counts.
120
+ */
121
+ const hostDirectives = [BsCarouselSlideDirective];
122
+
123
+ // GENERATED from the carousel manifest (carousel-item) by @mintplayer/nx-component-compiler. Do not edit.
124
+ /** One slide of a carousel. Its content is the slide. */
125
+ class BsCarouselItemComponent {
126
+ #core;
127
+ constructor() {
128
+ /** The host element. */
129
+ this.elementRef = inject(ElementRef);
130
+ this.#core = useCore(carouselItemCore, { inputs: () => ({}), idPrefix: 'bs-carousel-item', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }) });
131
+ /** The template's props. */
132
+ this.props = this.#core.props;
133
+ useScopedStyles('carousel', carouselScopedStyles);
134
+ }
135
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
136
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCarouselItemComponent, isStandalone: true, selector: "bs-carousel-item", hostDirectives: [{ directive: BsCarouselSlideDirective }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
137
+ }
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselItemComponent, decorators: [{
139
+ type: Component,
140
+ args: [{ selector: 'bs-carousel-item', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: hostDirectives, template: "<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
141
+ }], ctorParameters: () => [] });
142
+
143
+ // GENERATED from the carousel manifest by @mintplayer/nx-component-compiler. Do not edit.
144
+
145
+ // The carousel is generated from @mintplayer/ui-core/carousel (PRD #437 D10).
121
146
 
122
147
  /**
123
148
  * Generated bundle index. Do not edit.
124
149
  */
125
150
 
126
- export { BsCarouselComponent };
151
+ export { BsCarouselComponent, BsCarouselItemComponent, BsCarouselSlideDirective, BsCarouselSlidesDirective };
127
152
  //# sourceMappingURL=mintplayer-ng-bootstrap-carousel.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-carousel.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel/carousel.component.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel/carousel.component.html","../../../../libs/mintplayer-ng-bootstrap/carousel/mintplayer-ng-bootstrap-carousel.ts"],"sourcesContent":["import {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n ElementRef,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport type {\n CarouselAnimation,\n CarouselOrientation,\n CarouselPausedChangeEventDetail,\n CarouselSlideChangeEventDetail,\n MpCarousel,\n} from '@mintplayer/web-components/carousel';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n/**\n * `<bs-carousel>` — Angular wrapper around the `<mp-carousel>` web component.\n *\n * Slides are plain content children (no structural directive):\n *\n * <bs-carousel animation=\"fade\" [indicators]=\"true\" [interval]=\"4000\" aria-label=\"Photos\">\n * <img src=\"a.png\" alt=\"…\">\n * <img src=\"b.png\" alt=\"…\">\n * </bs-carousel>\n *\n * Track layout, gestures, keyboard, ARIA, the radio-driven no-JS tier and the\n * height contract all live in the WC (single source of UI truth); this wrapper\n * only bridges inputs to attributes and re-emits the WC's typed events. A\n * custom play/pause control can be projected with `slot=\"play-pause\"` — wire\n * it to `togglePaused()` (or listen to `pausedChange`).\n *\n * The WC is registered **client-side only** (`afterNextRender`); on the server\n * Angular emits a bare `<mp-carousel>` tag and the SSR layer injects its\n * Declarative Shadow DOM (see `injectMpCarouselDsd`), so the carousel renders\n * — and navigates — with JS off.\n */\n@Component({\n selector: 'bs-carousel',\n templateUrl: './carousel.component.html',\n imports: [BsForwardAriaDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BsCarouselComponent {\n /** Slide transition: `slide` (default), `fade`, or `none`. */\n readonly animation = input<CarouselAnimation>('slide');\n /** Slide axis; vertical also pins every slide to the tallest one. */\n readonly orientation = input<CarouselOrientation>('horizontal');\n /** Show the indicator dots. */\n readonly indicators = input(false);\n /** Auto-advance interval in ms; `null`/`0` disables autoplay. */\n readonly interval = input<number | null>(null);\n /** Wrap around at the ends (buttons, keyboard AND swipe). */\n readonly wrap = input(true);\n /** Arrow/Home/End navigation on the focused viewport. */\n readonly keyboardEvents = input(true);\n /** Two-way: whether autoplay is paused. */\n readonly paused = model(false);\n\n /** The committed slide index changed. */\n readonly slideChange = output<number>();\n readonly animationStart = output<void>();\n readonly animationEnd = output<void>();\n\n // Deliberately NOT viewChild.required: public methods read it, and a caller that reaches\n // this component through DI (a child's constructor, say) can call one before this\n // component's view exists. There, NG0951 would throw where the guard is a no-op.\n protected readonly element = viewChild<ElementRef<MpCarousel>>('element');\n\n /** Presence/string-or-absent attributes derived once via signals. */\n protected readonly indicatorsAttr = computed(() => (this.indicators() ? '' : null));\n protected readonly intervalAttr = computed(() => {\n const value = this.interval();\n return value && value > 0 ? String(value) : null;\n });\n protected readonly wrapAttr = computed(() => (this.wrap() ? null : 'false'));\n protected readonly keyboardEventsAttr = computed(() => (this.keyboardEvents() ? null : 'false'));\n protected readonly pausedAttr = computed(() => (this.paused() ? '' : null));\n\n constructor() {\n afterNextRender(() => {\n // Side-effect import registers <mp-carousel>; client-only so SSR stays\n // a bare tag for DSD injection.\n import('@mintplayer/web-components/carousel');\n });\n }\n\n previous(): void {\n this.element()?.nativeElement.previous?.();\n }\n\n next(): void {\n this.element()?.nativeElement.next?.();\n }\n\n goto(index: number): void {\n this.element()?.nativeElement.goto?.(index);\n }\n\n play(): void {\n this.paused.set(false);\n }\n\n pause(): void {\n this.paused.set(true);\n }\n\n togglePaused = (): void => {\n this.paused.set(!this.paused());\n };\n\n protected onSlideChange(event: Event) {\n // stopPropagation so the composed WC event doesn't ALSO fire the\n // consumer's binding on the <bs-carousel> host with the raw CustomEvent.\n event.stopPropagation();\n this.slideChange.emit((event as CustomEvent<CarouselSlideChangeEventDetail>).detail.index);\n }\n\n protected onPausedChange(event: Event) {\n event.stopPropagation();\n this.paused.set((event as CustomEvent<CarouselPausedChangeEventDetail>).detail.paused);\n }\n\n protected onAnimationStart(event: Event) {\n event.stopPropagation();\n this.animationStart.emit();\n }\n\n protected onAnimationEnd(event: Event) {\n event.stopPropagation();\n this.animationEnd.emit();\n }\n}\n","<mp-carousel bsForwardAria\n #element\n [attr.animation]=\"animation()\"\n [attr.orientation]=\"orientation()\"\n [attr.indicators]=\"indicatorsAttr()\"\n [attr.interval]=\"intervalAttr()\"\n [attr.wrap]=\"wrapAttr()\"\n [attr.keyboard-events]=\"keyboardEventsAttr()\"\n [attr.paused]=\"pausedAttr()\"\n (slide-change)=\"onSlideChange($event)\"\n (paused-change)=\"onPausedChange($event)\"\n (animation-start)=\"onAnimationStart($event)\"\n (animation-end)=\"onAnimationEnd($event)\">\n <ng-content></ng-content>\n</mp-carousel>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAqBA;;;;;;;;;;;;;;;;;;;;AAoBG;MAQU,mBAAmB,CAAA;AAoC9B,IAAA,WAAA,GAAA;;QAlCS,IAAA,CAAA,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A,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,cAAA,EAAA,WAAA,EAAA,aAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,SAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,SAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjDhC,2jBAeA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED8BY,sBAAsB,EAAA,QAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIrB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;+BACE,aAAa,EAAA,OAAA,EAEd,CAAC,sBAAsB,CAAC,EAAA,eAAA,EAChB,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,2jBAAA,EAAA;i/BA0B8B,SAAS,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEzE1E;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-carousel.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-slide.directive.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-item.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/mintplayer-ng-bootstrap-carousel.ts"],"sourcesContent":["import { Directive, contentChildren } from '@angular/core';\n\n/*\n * The carousel's slide count for the server render (PRD #437 D10). The parent\n * template renders one radio, indicator and control pair per slide BEFORE its\n * content, so it needs N from the declaration, not from the DOM.\n */\n\n/** Marks a `bs-carousel-item` (its extension's host directive). */\n@Directive({ selector: '[bsCarouselSlide]' })\nexport class BsCarouselSlideDirective {}\n\n/** On `bs-carousel`: counts its own items (not a nested carousel's). */\n@Directive({ selector: '[bsCarouselSlides]' })\nexport class BsCarouselSlidesDirective {\n readonly slides = contentChildren(BsCarouselSlideDirective);\n}\n","import { inject } from '@angular/core';\nimport type { CarouselInputs } from '@mintplayer/ui-core/carousel';\nimport { BsCarouselSlidesDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel` (PRD #437 D10): the\n * slide count comes from the content query, so the server render has a radio,\n * indicator and control pair per slide.\n */\nexport const hostDirectives = [BsCarouselSlidesDirective];\n\nexport function extendInputs(inputs: () => CarouselInputs): () => CarouselInputs {\n const slides = inject(BsCarouselSlidesDirective, { self: true });\n return () => ({ ...inputs(), slideCount: slides.slides().length });\n}\n","// GENERATED from the carousel manifest (carousel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselCore, type CarouselInputs, type CarouselMethods, carouselScopedStyles, type CarouselSlideChangeEventDetail } from '@mintplayer/ui-core/carousel';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../carousel.angular';\n\n/**\n * A deck of slides shown one at a time, with optional indicators, autoplay, touch swipe and keyboard.\n *\n * Put carousel items inside. A radio per slide holds the index, so the server render navigates with\n * JavaScript off (indicators, prev/next with wrap-around, the radio group arrow keys). Slides are\n * grid-stacked: the deck is as tall as its tallest slide. An `aria-label` names the region.\n */\n@Component({\n selector: 'bs-carousel',\n templateUrl: './carousel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly animation = input<CarouselInputs['animation']>('slide');\n readonly orientation = input<CarouselInputs['orientation']>('horizontal');\n readonly indicators = input<CarouselInputs['indicators'], unknown>(false, { transform: booleanAttribute });\n readonly interval = input<CarouselInputs['interval'], unknown>(null, { transform: (v: unknown) => numberAttribute(v) as CarouselInputs['interval'] });\n readonly wrap = input<CarouselInputs['wrap'], unknown>(true, { transform: booleanAttribute });\n readonly keyboardEvents = input<CarouselInputs['keyboardEvents'], unknown>(true, { transform: booleanAttribute });\n readonly paused = model<CarouselInputs['paused']>(false);\n readonly inputLabel = input<CarouselInputs['inputLabel']>(null);\n readonly labels = input<CarouselInputs['labels']>(null);\n /** The committed slide changed. */\n readonly slidechange = output<CarouselSlideChangeEventDetail>();\n /** Autoplay was paused or resumed from the play/pause button or a method. */\n readonly pausedchange = output<boolean>();\n /** A slide transition started. */\n readonly slidestart = output<void>();\n /** A slide transition ended. */\n readonly slideend = output<void>();\n\n readonly #core = useCore(carouselCore, { inputs: ext_extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.slidechange, pausedChange: this.pausedchange, slideStart: this.slidestart, slideEnd: this.slideend }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }), models: { paused: this.paused } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('carousel', carouselScopedStyles);\n }\n\n /** Go to the previous slide. */\n previous(...args: Parameters<CarouselMethods['previous']>): ReturnType<CarouselMethods['previous']> {\n return this.#core.call('previous', args) as ReturnType<CarouselMethods['previous']>;\n }\n\n /** Go to the next slide. */\n next(...args: Parameters<CarouselMethods['next']>): ReturnType<CarouselMethods['next']> {\n return this.#core.call('next', args) as ReturnType<CarouselMethods['next']>;\n }\n\n /** Go to a slide by index. */\n goto(...args: Parameters<CarouselMethods['goto']>): ReturnType<CarouselMethods['goto']> {\n return this.#core.call('goto', args) as ReturnType<CarouselMethods['goto']>;\n }\n\n /** Resume autoplay. */\n play(...args: Parameters<CarouselMethods['play']>): ReturnType<CarouselMethods['play']> {\n return this.#core.call('play', args) as ReturnType<CarouselMethods['play']>;\n }\n\n /** Pause autoplay. */\n pause(...args: Parameters<CarouselMethods['pause']>): ReturnType<CarouselMethods['pause']> {\n return this.#core.call('pause', args) as ReturnType<CarouselMethods['pause']>;\n }\n\n /** Toggle autoplay. */\n togglePaused(...args: Parameters<CarouselMethods['togglePaused']>): ReturnType<CarouselMethods['togglePaused']> {\n return this.#core.call('togglePaused', args) as ReturnType<CarouselMethods['togglePaused']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n","import { BsCarouselSlideDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel-item` (PRD #437 D10):\n * the marker its carousel counts.\n */\nexport const hostDirectives = [BsCarouselSlideDirective];\n","// GENERATED from the carousel manifest (carousel-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselItemCore, carouselScopedStyles } from '@mintplayer/ui-core/carousel';\nimport { hostDirectives as ext_hostDirectives } from '../carousel-item.angular';\n\n/** One slide of a carousel. Its content is the slide. */\n@Component({\n selector: 'bs-carousel-item',\n templateUrl: './carousel-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(carouselItemCore, { inputs: () => ({ }), idPrefix: 'bs-carousel-item', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('carousel', carouselScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the carousel manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsCarouselComponent } from './carousel.component.generated';\nexport { BsCarouselItemComponent } from './carousel-item.component.generated';\n","// The carousel is generated from @mintplayer/ui-core/carousel (PRD #437 D10).\nexport * from './generated';\nexport * from './carousel-slide.directive';\nexport type {\n CarouselAnimation,\n CarouselLabels,\n CarouselOrientation,\n CarouselSlideChangeEventDetail,\n} from '@mintplayer/ui-core/carousel';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["hostDirectives","ext_extendInputs","i1.BsCarouselSlidesDirective","ext_hostDirectives"],"mappings":";;;;;AAEA;;;;AAIG;AAEH;MAEa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,SAAS;mBAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE;;AAG5C;MAEa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;QAEW,IAAA,CAAA,MAAM,GAAG,eAAe,CAAC,wBAAwB;mFAAC;AAC5D,IAAA;8GAFY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAA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