@mintplayer/ng-bootstrap 22.32.0 → 22.34.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 (230) hide show
  1. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +3 -166
  2. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
  3. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +71 -140
  4. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  5. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +33 -63
  6. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  7. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +23 -30
  8. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
  9. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +37 -22
  10. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
  11. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +25 -9
  12. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
  13. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +5 -9
  14. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
  15. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +157 -219
  16. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  17. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +7 -9
  18. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +12 -14
  20. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
  21. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -40
  22. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +8 -8
  24. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
  25. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +313 -212
  26. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  27. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +25 -15
  28. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
  29. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
  30. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
  31. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +87 -676
  32. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
  33. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +52 -119
  34. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
  35. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +15 -27
  36. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +6 -10
  38. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +7 -9
  40. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
  41. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +5 -7
  42. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  43. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +201 -197
  44. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  45. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +9 -19
  46. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  47. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +64 -123
  48. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  49. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +18 -32
  50. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  51. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +52 -38
  52. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
  53. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +64 -119
  54. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  55. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +23 -38
  56. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
  57. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +44 -44
  58. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
  59. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +201 -18
  60. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
  61. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +27 -12
  62. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
  63. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +61 -261
  64. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  65. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +13 -15
  66. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
  67. package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +3 -4
  68. package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -1
  69. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +30 -18
  70. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
  71. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +20 -90
  72. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  73. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +52 -401
  74. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  75. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +7 -7
  76. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  77. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +27 -50
  78. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  79. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +21 -12
  80. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
  81. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +8 -10
  82. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
  83. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +26 -54
  84. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
  85. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +29 -15
  86. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
  87. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +56 -267
  88. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  89. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +60 -335
  90. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
  91. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +47 -63
  92. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  93. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +8 -16
  94. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  95. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +232 -169
  96. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  97. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +85 -47
  98. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  99. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +80 -137
  100. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  101. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +29 -326
  102. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
  103. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +49 -65
  104. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  105. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +16 -24
  106. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  107. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +48 -181
  108. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  109. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +9 -9
  110. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  111. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +52 -108
  112. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
  113. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +7 -9
  114. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  115. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +7 -7
  116. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
  117. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +35 -40
  118. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
  119. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -101
  120. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  121. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +29 -23
  122. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
  123. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +1 -1
  124. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
  125. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +67 -306
  126. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
  127. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +7 -9
  128. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
  129. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +13 -17
  130. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
  131. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +103 -152
  132. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  133. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +50 -157
  134. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
  135. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +10 -12
  136. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
  137. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +11 -13
  138. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  139. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +159 -234
  140. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  141. package/package.json +2 -22
  142. package/types/mintplayer-ng-bootstrap-a11y.d.ts +2 -81
  143. package/types/mintplayer-ng-bootstrap-accordion.d.ts +51 -86
  144. package/types/mintplayer-ng-bootstrap-alert.d.ts +20 -28
  145. package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -12
  146. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +29 -8
  147. package/types/mintplayer-ng-bootstrap-button-group.d.ts +14 -4
  148. package/types/mintplayer-ng-bootstrap-calendar.d.ts +1 -5
  149. package/types/mintplayer-ng-bootstrap-card.d.ts +93 -78
  150. package/types/mintplayer-ng-bootstrap-carousel.d.ts +4 -6
  151. package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +4 -6
  152. package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +24 -17
  153. package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +3 -3
  154. package/types/mintplayer-ng-bootstrap-checkbox.d.ts +143 -91
  155. package/types/mintplayer-ng-bootstrap-close.d.ts +16 -5
  156. package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +3 -3
  157. package/types/mintplayer-ng-bootstrap-color-picker.d.ts +42 -226
  158. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +35 -17
  159. package/types/mintplayer-ng-bootstrap-datatable.d.ts +23 -35
  160. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +2 -6
  161. package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +2 -4
  162. package/types/mintplayer-ng-bootstrap-dock.d.ts +6 -8
  163. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +122 -54
  164. package/types/mintplayer-ng-bootstrap-file-manager.d.ts +10 -20
  165. package/types/mintplayer-ng-bootstrap-file-upload.d.ts +62 -44
  166. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +12 -15
  167. package/types/mintplayer-ng-bootstrap-form.d.ts +32 -11
  168. package/types/mintplayer-ng-bootstrap-grid.d.ts +38 -31
  169. package/types/mintplayer-ng-bootstrap-input-group.d.ts +11 -22
  170. package/types/mintplayer-ng-bootstrap-list-group.d.ts +28 -14
  171. package/types/mintplayer-ng-bootstrap-machine.d.ts +101 -4
  172. package/types/mintplayer-ng-bootstrap-marquee.d.ts +18 -5
  173. package/types/mintplayer-ng-bootstrap-modal.d.ts +43 -86
  174. package/types/mintplayer-ng-bootstrap-multi-range.d.ts +4 -6
  175. package/types/mintplayer-ng-bootstrap-nav.d.ts +3 -3
  176. package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +21 -6
  177. package/types/mintplayer-ng-bootstrap-navbar.d.ts +15 -42
  178. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +35 -112
  179. package/types/mintplayer-ng-bootstrap-otp-input.d.ts +4 -3
  180. package/types/mintplayer-ng-bootstrap-pagination.d.ts +22 -35
  181. package/types/mintplayer-ng-bootstrap-parallax.d.ts +14 -4
  182. package/types/mintplayer-ng-bootstrap-phone-input.d.ts +5 -6
  183. package/types/mintplayer-ng-bootstrap-placeholder.d.ts +17 -16
  184. package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +22 -6
  185. package/types/mintplayer-ng-bootstrap-popover.d.ts +35 -61
  186. package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +80 -68
  187. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +34 -19
  188. package/types/mintplayer-ng-bootstrap-query-builder.d.ts +12 -20
  189. package/types/mintplayer-ng-bootstrap-radio.d.ts +112 -84
  190. package/types/mintplayer-ng-bootstrap-range.d.ts +35 -13
  191. package/types/mintplayer-ng-bootstrap-rating.d.ts +33 -42
  192. package/types/mintplayer-ng-bootstrap-resizable.d.ts +24 -114
  193. package/types/mintplayer-ng-bootstrap-ribbon.d.ts +21 -37
  194. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +19 -27
  195. package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +26 -51
  196. package/types/mintplayer-ng-bootstrap-select.d.ts +8 -7
  197. package/types/mintplayer-ng-bootstrap-shell.d.ts +40 -63
  198. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +4 -6
  199. package/types/mintplayer-ng-bootstrap-splitter.d.ts +3 -3
  200. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +23 -19
  201. package/types/mintplayer-ng-bootstrap-tab-control.d.ts +61 -57
  202. package/types/mintplayer-ng-bootstrap-table.d.ts +21 -12
  203. package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +94 -154
  204. package/types/mintplayer-ng-bootstrap-timeline.d.ts +23 -25
  205. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +3 -7
  206. package/types/mintplayer-ng-bootstrap-toast.d.ts +92 -55
  207. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +34 -33
  208. package/types/mintplayer-ng-bootstrap-tree-select.d.ts +14 -16
  209. package/types/mintplayer-ng-bootstrap-treeview.d.ts +12 -13
  210. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +109 -133
  211. package/calendar-month/package.json +0 -4
  212. package/dropdown-divider/package.json +0 -4
  213. package/dropdown-menu/package.json +0 -4
  214. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
  215. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
  216. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -30
  217. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
  218. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -169
  219. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
  220. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
  221. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
  222. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
  223. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
  224. package/has-overlay/package.json +0 -4
  225. package/no-noscript/package.json +0 -4
  226. package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
  227. package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -9
  228. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -94
  229. package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
  230. package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
@@ -1,57 +1,32 @@
1
- import * as i0 from '@angular/core';
2
- import { ElementRef, AfterViewInit, AfterContentInit } from '@angular/core';
1
+ import * as _mintplayer_ui_core_scrollspy from '@mintplayer/ui-core/scrollspy';
2
+ import * as _angular_core from '@angular/core';
3
+ import { ElementRef } from '@angular/core';
4
+ import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
3
5
 
4
- declare class BsScrollspyDirective {
5
- element: ElementRef<any>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<BsScrollspyDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<BsScrollspyDirective, "[bsScrollspy]", never, {}, {}, never, never, true, never>;
8
- }
9
-
10
- /**
11
- * The section the reader is in: the last one whose top has passed the trigger line, or the
12
- * first when none has yet. -1 when there are no sections.
13
- */
14
- declare function activeSectionIndex(sectionTops: readonly number[], triggerY: number): number;
15
6
  /**
16
- * The scroll position that puts a section's top 1px past the trigger line. The extra pixel
17
- * makes the section count as passed (see getTriggerY), so it becomes the active one.
18
- *
19
- * @param headerTop the section's current top, in viewport coordinates
20
- * @param originTop where the trigger line sits: the container's top, or the fixed offset
21
- * @param currentScroll the scroll position now
7
+ * A table of contents beside the content that follows the reader. The sections are the content's
8
+ * elements marked `data-scrollspy`; the active one is `aria-current="location"`. The list is built once
9
+ * hydrated (no-JS tier 2).
22
10
  */
23
- declare function sectionScrollTop(headerTop: number, originTop: number, currentScroll: number): number;
24
- declare class BsScrollspyComponent implements AfterViewInit, AfterContentInit {
25
- private scrollOffsetService;
26
- private hostRef;
27
- doc: Document;
28
- readonly scrollContainer: i0.InputSignal<HTMLElement | null>;
29
- /** Accessible name of the section navigation. Override to translate. */
30
- readonly ariaLabel: i0.InputSignal<string>;
31
- private viewInit;
32
- private contentInit;
33
- readonly directives: i0.Signal<readonly BsScrollspyDirective[]>;
34
- readonly anchors: i0.Signal<readonly ElementRef<HTMLButtonElement>[]>;
35
- private readonly spyNav;
36
- activeDirective: i0.WritableSignal<BsScrollspyDirective | null>;
37
- private resolvedScrollTarget;
11
+ declare class BsScrollspyComponent {
12
+ #private;
13
+ /** The host element. */
14
+ readonly elementRef: ElementRef<HTMLElement>;
15
+ /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
16
+ protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
17
+ /** Names the section navigation; a consumer `aria-label` wins. */
18
+ readonly label: _angular_core.InputSignal<string>;
19
+ /** The element that scrolls; null finds the nearest scrolling ancestor, else the window. */
20
+ readonly scrollContainer: _angular_core.InputSignal<HTMLElement | null>;
21
+ /** Pixels between the viewport top and the trigger line when the window scrolls (a fixed navbar). */
22
+ readonly offset: _angular_core.InputSignalWithTransform<number, unknown>;
23
+ /** The template's props. */
24
+ protected readonly props: _angular_core.Signal<{
25
+ view: _mintplayer_ui_core_scrollspy.ScrollspyView;
26
+ }>;
38
27
  constructor();
39
- ngAfterViewInit(): void;
40
- ngAfterContentInit(): void;
41
- setActiveDirective(): void;
42
- scrollToCurrentInSpy(): void;
43
- scrollToHeader(directive: BsScrollspyDirective): void;
44
- private getTriggerY;
45
- private findScrollableAncestor;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<BsScrollspyComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<BsScrollspyComponent, "bs-scrollspy", never, { "scrollContainer": { "alias": "scrollContainer"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, ["directives"], ["*"], true, never>;
48
- }
49
-
50
- declare class BsScrollOffsetService {
51
- private routerConfig;
52
- getScrollOffset(): [number, number];
53
- static ɵfac: i0.ɵɵFactoryDeclaration<BsScrollOffsetService, never>;
54
- static ɵprov: i0.ɵɵInjectableDeclaration<BsScrollOffsetService>;
28
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsScrollspyComponent, never>;
29
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsScrollspyComponent, "bs-scrollspy", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "scrollContainer": { "alias": "scrollContainer"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
55
30
  }
56
31
 
57
- export { BsScrollOffsetService, BsScrollspyComponent, BsScrollspyDirective, activeSectionIndex, sectionScrollTop };
32
+ export { BsScrollspyComponent };
@@ -1,8 +1,9 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { Signal, OnDestroy, ElementRef, TemplateRef } from '@angular/core';
3
3
  import * as _mintplayer_ui_core_select from '@mintplayer/ui-core/select';
4
- import { SelectChangeEventDetail, SelectOption } from '@mintplayer/ui-core/select';
4
+ import { SelectOption } from '@mintplayer/ui-core/select';
5
5
  export { SelectChangeEventDetail, SelectItem, SelectOptgroup, SelectOption, SelectSize } from '@mintplayer/ui-core/select';
6
+ import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
6
7
  import { ControlValueAccessor } from '@angular/forms';
7
8
  import * as i2 from '@mintplayer/ng-bootstrap/a11y/forms';
8
9
 
@@ -78,14 +79,14 @@ declare class BsSelectOptionDirective {
78
79
  } & {
79
80
  $implicit: {
80
81
  option: SelectOption;
81
- };
82
+ }["option"];
82
83
  }>;
83
84
  static ngTemplateContextGuard(_dir: BsSelectOptionDirective, ctx: unknown): ctx is {
84
85
  option: SelectOption;
85
86
  } & {
86
87
  $implicit: {
87
88
  option: SelectOption;
88
- };
89
+ }['option'];
89
90
  };
90
91
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsSelectOptionDirective, never>;
91
92
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsSelectOptionDirective, "[bsSelectOption]", never, {}, {}, never, never, true, never>;
@@ -101,6 +102,8 @@ declare class BsSelectComponent {
101
102
  #private;
102
103
  /** The host element. */
103
104
  readonly elementRef: ElementRef<HTMLElement>;
105
+ /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
106
+ protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
104
107
  readonly size: _angular_core.InputSignal<_mintplayer_ui_core_select.SelectSize>;
105
108
  readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
106
109
  readonly numberVisible: _angular_core.InputSignalWithTransform<number | null | undefined, unknown>;
@@ -113,8 +116,6 @@ declare class BsSelectComponent {
113
116
  readonly value: _angular_core.ModelSignal<string | null>;
114
117
  readonly values: _angular_core.ModelSignal<string[]>;
115
118
  readonly options: _angular_core.InputSignal<_mintplayer_ui_core_select.SelectItem[] | null | undefined>;
116
- /** The user picked: the value, and every value of a multiple select. */
117
- readonly valuechange: _angular_core.OutputEmitterRef<SelectChangeEventDetail>;
118
119
  private readonly optionSlot;
119
120
  /** The template's named slots. */
120
121
  protected readonly slots: _angular_core.Signal<{
@@ -123,7 +124,7 @@ declare class BsSelectComponent {
123
124
  } & {
124
125
  $implicit: {
125
126
  option: SelectOption;
126
- };
127
+ }["option"];
127
128
  }> | undefined;
128
129
  }>;
129
130
  /** The template's props. */
@@ -132,7 +133,7 @@ declare class BsSelectComponent {
132
133
  }>;
133
134
  constructor();
134
135
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsSelectComponent, never>;
135
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSelectComponent, "bs-select", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "numberVisible": { "alias": "numberVisible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "values": "valuesChange"; "valuechange": "valuechange"; }, ["optionSlot"], ["*"], true, [{ directive: typeof BsSelectValueAccessor; inputs: { "compareWith": "compareWith"; }; outputs: {}; }, { directive: typeof i2.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
136
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSelectComponent, "bs-select", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "numberVisible": { "alias": "numberVisible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "values": "valuesChange"; }, ["optionSlot"], ["*"], true, [{ directive: typeof BsSelectValueAccessor; inputs: { "compareWith": "compareWith"; }; outputs: {}; }, { directive: typeof i2.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
136
137
  }
137
138
 
138
139
  export { BsSelectComponent, BsSelectOption, BsSelectOptionDirective, BsSelectValueAccessor };
@@ -1,80 +1,57 @@
1
- import * as _mintplayer_ui_core_shell from '@mintplayer/ui-core/shell';
2
- import { ShellLabels } from '@mintplayer/ui-core/shell';
3
1
  import * as _angular_core from '@angular/core';
4
- import { TemplateRef } from '@angular/core';
5
- import { Breakpoint } from '@mintplayer/ng-bootstrap';
2
+ import { ElementRef, TemplateRef } from '@angular/core';
3
+ import * as _mintplayer_ui_core_shell from '@mintplayer/ui-core/shell';
4
+ import { ShellStateChange, ShellMethods } from '@mintplayer/ui-core/shell';
5
+ export { ShellBreakpoint, ShellLabels, ShellState, ShellStateChange } from '@mintplayer/ui-core/shell';
6
6
 
7
- type BsShellState = 'auto' | 'show' | 'hide';
8
- /** Payload of `(statechange)`: whether the sidebar is now open. */
9
- interface BsShellStateChange {
10
- open: boolean;
7
+ /** The `topbar` slot of `<bs-shell>`: `<ng-template bsShellTopbar>` or `*bsShellTopbar`. */
8
+ declare class BsShellTopbarDirective {
9
+ readonly templateRef: TemplateRef<unknown>;
10
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsShellTopbarDirective, never>;
11
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsShellTopbarDirective, "[bsShellTopbar]", never, {}, {}, never, never, true, never>;
11
12
  }
12
-
13
- /**
14
- * The shell's sidebar content, rendered inside its `<aside>`:
15
- *
16
- * <nav *bsShellSidebar>…</nav>
17
- */
13
+ /** The `sidebar` slot of `<bs-shell>`: `<ng-template bsShellSidebar>` or `*bsShellSidebar`. */
18
14
  declare class BsShellSidebarDirective {
19
- readonly template: TemplateRef<any>;
15
+ readonly templateRef: TemplateRef<unknown>;
20
16
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsShellSidebarDirective, never>;
21
17
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsShellSidebarDirective, "[bsShellSidebar]", never, {}, {}, never, never, true, never>;
22
18
  }
23
19
  /**
24
- * Content for the shell's top bar, rendered after the hamburger:
25
- *
26
- * <div *bsShellTopbar>…brand / nav…</div>
27
- */
28
- declare class BsShellTopbarDirective {
29
- readonly template: TemplateRef<any>;
30
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsShellTopbarDirective, never>;
31
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsShellTopbarDirective, "[bsShellTopbar]", never, {}, {}, never, never, true, never>;
32
- }
33
-
34
- /**
35
- * `<bs-shell>` — responsive app shell with a collapsible sidebar (#437).
36
- *
37
- * Renders the markup of `@mintplayer/ui-core/shell` in its own template, so
38
- * the server-rendered page is the working shell: the open state is a native
39
- * checkbox per viewport mode and every rule is CSS, which makes the hamburger
40
- * work with JavaScript off. The host is the `.shell` root, so a height on
41
- * `bs-shell` bounds the layout and makes the content the scroll region.
20
+ * A responsive app shell with a collapsible sidebar (#458). Tier 1 no-JS: one native checkbox per
21
+ * viewport mode is the open state, so the server-rendered page opens and closes with JavaScript off.
42
22
  *
43
- * - `*bsShellSidebar` marks the sidebar content;
44
- * - `*bsShellTopbar` fills the top bar after the hamburger;
45
- * - everything else is the main content.
23
+ * Fill the `topbar` and `sidebar` slots; the default content is the main region. `toggle()` opens
24
+ * or closes the sidebar in the current mode, and `stateChange` reports every change made through
25
+ * the shell.
46
26
  */
47
27
  declare class BsShellComponent {
48
- readonly state: _angular_core.InputSignal<BsShellState>;
49
- readonly breakpoint: _angular_core.InputSignal<Breakpoint>;
50
- /** Expanded sidebar width (any CSS length); also settable via `--mp-shell-size`. */
51
- readonly size: _angular_core.ModelSignal<string | null>;
52
- /** Hides the built-in hamburger; drive the shell through `state` or `toggle()`. */
53
- readonly externalToggle: _angular_core.InputSignal<boolean>;
54
- /** Auto-close the overlay drawer when a sidebar link is clicked (narrow mode only). */
55
- readonly dismissOnNavigate: _angular_core.InputSignal<boolean>;
56
- /** Localized accessible names; missing keys fall back to English. */
57
- readonly labels: _angular_core.InputSignal<Partial<ShellLabels> | null>;
58
- /** Fires when the sidebar opens or closes through the shell. */
59
- readonly statechange: _angular_core.OutputEmitterRef<BsShellStateChange>;
60
- protected readonly sidebar: _angular_core.Signal<BsShellSidebarDirective | undefined>;
61
- protected readonly topbar: _angular_core.Signal<BsShellTopbarDirective | undefined>;
62
- private readonly host;
63
- private readonly id;
64
- protected readonly view: _angular_core.Signal<_mintplayer_ui_core_shell.ShellView>;
65
- /** True once the listeners are attached (browser only), so e2e can wait on it. */
66
- private readonly hydrated;
28
+ #private;
29
+ /** The host element. */
30
+ readonly elementRef: ElementRef<HTMLElement>;
31
+ readonly state: _angular_core.InputSignal<_mintplayer_ui_core_shell.ShellState>;
32
+ readonly breakpoint: _angular_core.InputSignal<_mintplayer_ui_core_shell.ShellBreakpoint>;
33
+ readonly size: _angular_core.InputSignal<string | null>;
34
+ readonly externalToggle: _angular_core.InputSignalWithTransform<boolean, unknown>;
35
+ readonly dismissOnNavigate: _angular_core.InputSignalWithTransform<boolean, unknown>;
36
+ readonly labels: _angular_core.InputSignal<Partial<_mintplayer_ui_core_shell.ShellLabels> | null>;
37
+ /** The sidebar opened or closed through the shell (hamburger, toggle(), dismiss). */
38
+ readonly stateChange: _angular_core.OutputEmitterRef<ShellStateChange>;
39
+ private readonly topbarSlot;
40
+ private readonly sidebarSlot;
41
+ /** The template's named slots. */
42
+ protected readonly slots: _angular_core.Signal<{
43
+ topbar: TemplateRef<unknown> | undefined;
44
+ sidebar: TemplateRef<unknown> | undefined;
45
+ }>;
46
+ /** The template's props. */
47
+ protected readonly props: _angular_core.Signal<{
48
+ view: _mintplayer_ui_core_shell.ShellComponentView;
49
+ }>;
67
50
  constructor();
68
- /** Set the expanded sidebar width (any CSS length, e.g. `'20rem'`). */
69
- setSize(size: string): void;
70
51
  /** Open or close the sidebar in the current viewport mode. */
71
- toggle(force?: boolean): void;
72
- protected onToggleChange(event: Event): void;
73
- protected onSkip(event: Event): void;
74
- protected onClick(event: MouseEvent): void;
52
+ toggle(...args: Parameters<ShellMethods['toggle']>): ReturnType<ShellMethods['toggle']>;
75
53
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsShellComponent, never>;
76
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsShellComponent, "bs-shell", never, { "state": { "alias": "state"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "externalToggle": { "alias": "externalToggle"; "required": false; "isSignal": true; }; "dismissOnNavigate": { "alias": "dismissOnNavigate"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "size": "sizeChange"; "statechange": "statechange"; }, ["sidebar", "topbar"], ["*"], true, never>;
54
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsShellComponent, "bs-shell", never, { "state": { "alias": "state"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "externalToggle": { "alias": "externalToggle"; "required": false; "isSignal": true; }; "dismissOnNavigate": { "alias": "dismissOnNavigate"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; }, ["topbarSlot", "sidebarSlot"], ["*"], true, never>;
77
55
  }
78
56
 
79
57
  export { BsShellComponent, BsShellSidebarDirective, BsShellTopbarDirective };
80
- export type { BsShellState, BsShellStateChange };
@@ -1,8 +1,8 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnInit, ElementRef } from '@angular/core';
1
3
  import * as _mintplayer_ui_core_signature_pad from '@mintplayer/ui-core/signature-pad';
2
4
  import { Signature, SignaturePadMethods } from '@mintplayer/ui-core/signature-pad';
3
5
  export { Point, Signature, SignaturePadLabels, Stroke } from '@mintplayer/ui-core/signature-pad';
4
- import * as _angular_core from '@angular/core';
5
- import { OnInit, ElementRef } from '@angular/core';
6
6
  import { ControlValueAccessor } from '@angular/forms';
7
7
  import * as i2 from '@mintplayer/ng-bootstrap/a11y/forms';
8
8
 
@@ -43,7 +43,7 @@ declare class BsSignaturePadComponent {
43
43
  #private;
44
44
  /** The host element. */
45
45
  readonly elementRef: ElementRef<HTMLElement>;
46
- readonly signature: _angular_core.ModelSignal<Signature>;
46
+ readonly signature: _angular_core.ModelSignal<_mintplayer_ui_core_signature_pad.Signature>;
47
47
  readonly width: _angular_core.InputSignalWithTransform<number, unknown>;
48
48
  readonly height: _angular_core.InputSignalWithTransform<number, unknown>;
49
49
  readonly showAccessibilityToggle: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -53,8 +53,6 @@ declare class BsSignaturePadComponent {
53
53
  readonly errorText: _angular_core.InputSignal<string | null>;
54
54
  readonly inputLabel: _angular_core.InputSignal<string | null>;
55
55
  readonly labels: _angular_core.InputSignal<Partial<_mintplayer_ui_core_signature_pad.SignaturePadLabels> | null>;
56
- /** Every stroke point, typed character, undo and clear: the current signature. */
57
- readonly signaturechange: _angular_core.OutputEmitterRef<Signature>;
58
56
  /** The template's props. */
59
57
  protected readonly props: _angular_core.Signal<{
60
58
  view: _mintplayer_ui_core_signature_pad.SignaturePadView;
@@ -67,7 +65,7 @@ declare class BsSignaturePadComponent {
67
65
  /** Move focus to the typed field. */
68
66
  focusInput(...args: Parameters<SignaturePadMethods['focusInput']>): ReturnType<SignaturePadMethods['focusInput']>;
69
67
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsSignaturePadComponent, never>;
70
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSignaturePadComponent, "bs-signature-pad", never, { "signature": { "alias": "signature"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showAccessibilityToggle": { "alias": "showAccessibilityToggle"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "signature": "signatureChange"; "signaturechange": "signaturechange"; }, never, never, true, [{ directive: typeof BsSignaturePadValueAccessor; inputs: {}; outputs: {}; }, { directive: typeof i2.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
68
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSignaturePadComponent, "bs-signature-pad", never, { "signature": { "alias": "signature"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showAccessibilityToggle": { "alias": "showAccessibilityToggle"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "signature": "signatureChange"; }, never, never, true, [{ directive: typeof BsSignaturePadValueAccessor; inputs: {}; outputs: {}; }, { directive: typeof i2.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
71
69
  }
72
70
 
73
71
  export { BsSignaturePadComponent, BsSignaturePadValueAccessor };
@@ -18,11 +18,11 @@ declare class BsSplitterComponent {
18
18
  readonly touchMode: _angular_core.InputSignalWithTransform<boolean, unknown>;
19
19
  readonly labels: _angular_core.InputSignal<Partial<_mintplayer_ui_core_splitter.SplitterLabels> | null | undefined>;
20
20
  /** A divider drag started, with the sizes before it. */
21
- readonly resizestart: _angular_core.OutputEmitterRef<SplitterResizeEventDetail>;
21
+ readonly resizeStart: _angular_core.OutputEmitterRef<SplitterResizeEventDetail>;
22
22
  /** Every frame of a divider drag, with the sizes it previews. */
23
23
  readonly resizing: _angular_core.OutputEmitterRef<SplitterResizeEventDetail>;
24
24
  /** A drag or a key committed new sizes. */
25
- readonly resizeend: _angular_core.OutputEmitterRef<SplitterResizeEventDetail>;
25
+ readonly resizeEnd: _angular_core.OutputEmitterRef<SplitterResizeEventDetail>;
26
26
  /** The template's props. */
27
27
  protected readonly props: _angular_core.Signal<{
28
28
  view: _mintplayer_ui_core_splitter.SplitterView;
@@ -35,7 +35,7 @@ declare class BsSplitterComponent {
35
35
  /** Move a divider as its arrow, Home or End key would. */
36
36
  resizeDividerBy(...args: Parameters<SplitterMethods['resizeDividerBy']>): ReturnType<SplitterMethods['resizeDividerBy']>;
37
37
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsSplitterComponent, never>;
38
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSplitterComponent, "bs-splitter", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "minPanelSize": { "alias": "minPanelSize"; "required": false; "isSignal": true; }; "touchMode": { "alias": "touchMode"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "resizestart": "resizestart"; "resizing": "resizing"; "resizeend": "resizeend"; }, never, ["*"], true, never>;
38
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSplitterComponent, "bs-splitter", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "minPanelSize": { "alias": "minPanelSize"; "required": false; "isSignal": true; }; "touchMode": { "alias": "touchMode"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "resizeStart": "resizeStart"; "resizing": "resizing"; "resizeEnd": "resizeEnd"; }, never, ["*"], true, never>;
39
39
  }
40
40
 
41
41
  /** One panel of a splitter. Its content fills the panel. */
@@ -1,27 +1,31 @@
1
1
  import * as i0 from '@angular/core';
2
- import { AfterViewInit, Injector } from '@angular/core';
3
- import { BsObserveSizeDirective } from '@mintplayer/ng-bootstrap/observe-size';
2
+ import { ElementRef } from '@angular/core';
3
+ import * as _mintplayer_ui_core_sticky_footer from '@mintplayer/ui-core/sticky-footer';
4
+ import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
5
+ import * as _mintplayer_ui_core_component from '@mintplayer/ui-core/component';
4
6
 
5
- /**
6
- * Reserves room for the `bs-sticky-footer` inside it: a bottom margin as tall as
7
- * the footer, kept current by the footer's size observer. A signal, so the host
8
- * binding re-renders when the footer writes it (zoneless: a plain field write
9
- * schedules nothing, and the margin never appeared).
10
- */
7
+ /** A `<footer>` pinned to the bottom of its `stickyFooterParent` while the content is shorter than `--mp-sticky-footer-min-height` (default `100dvh`). */
8
+ declare class BsStickyFooterComponent {
9
+ #private;
10
+ /** The host element. */
11
+ readonly elementRef: ElementRef<HTMLElement>;
12
+ /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
13
+ protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
14
+ /** The template's props. */
15
+ protected readonly props: i0.Signal<{
16
+ view: _mintplayer_ui_core_sticky_footer.StickyFooterView;
17
+ }>;
18
+ constructor();
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsStickyFooterComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsStickyFooterComponent, "bs-sticky-footer", never, {}, {}, never, ["*"], true, never>;
21
+ }
22
+
23
+ /** Makes the element a flex column at least `--mp-sticky-footer-min-height` tall, so the sticky footer inside it ends up at the bottom. */
11
24
  declare class BsStickyFooterParentDirective {
12
- readonly marginBottom: i0.WritableSignal<number | undefined>;
25
+ protected readonly core: _mintplayer_ng_bootstrap_machine.CoreHandle<_mintplayer_ui_core_component.CoreBag, undefined>;
26
+ constructor();
13
27
  static ɵfac: i0.ɵɵFactoryDeclaration<BsStickyFooterParentDirective, never>;
14
28
  static ɵdir: i0.ɵɵDirectiveDeclaration<BsStickyFooterParentDirective, "[bsStickyFooterParent]", never, {}, {}, never, never, true, never>;
15
29
  }
16
30
 
17
- declare class BsStickyFooterComponent implements AfterViewInit {
18
- private parent;
19
- private injector;
20
- constructor(parent: BsStickyFooterParentDirective, injector: Injector);
21
- ngAfterViewInit(): void;
22
- readonly sizeObserver: i0.Signal<BsObserveSizeDirective>;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<BsStickyFooterComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<BsStickyFooterComponent, "bs-sticky-footer", never, {}, {}, never, ["*"], true, never>;
25
- }
26
-
27
31
  export { BsStickyFooterComponent, BsStickyFooterParentDirective };
@@ -1,71 +1,75 @@
1
1
  import * as _mintplayer_ui_core_tab_control from '@mintplayer/ui-core/tab-control';
2
+ export { TabControlInputs, TabPageInputs, TabsPosition } from '@mintplayer/ui-core/tab-control';
2
3
  import * as _angular_core from '@angular/core';
3
- import { TemplateRef } from '@angular/core';
4
+ import { ElementRef, TemplateRef } from '@angular/core';
4
5
 
6
+ /**
7
+ * Bootstrap nav-tabs over one native radio per page (#458). `activeTab` is two-way: the shown
8
+ * page's `tabId`, or its position.
9
+ *
10
+ * The server-rendered page is a working tab control with JavaScript off: the checked radio shows
11
+ * its pane through CSS. Once hydrated the labels become APG tabs (roving tabindex, automatic
12
+ * activation; Left/Right, Home/End) and the radios leave the tab order.
13
+ */
14
+ declare class BsTabControlComponent {
15
+ #private;
16
+ /** The host element. */
17
+ readonly elementRef: ElementRef<HTMLElement>;
18
+ readonly activeTab: _angular_core.ModelSignal<string | null>;
19
+ readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
20
+ readonly selectFirstTab: _angular_core.InputSignalWithTransform<boolean, unknown>;
21
+ readonly tabsPosition: _angular_core.InputSignal<_mintplayer_ui_core_tab_control.TabsPosition>;
22
+ private readonly query_pages;
23
+ private readonly content_pages;
24
+ /** The slots each content query's declarations lend the template (<content-slot>). */
25
+ protected readonly contentSlots: _angular_core.Signal<{
26
+ pages: ({
27
+ default: _angular_core.TemplateRef<unknown> | undefined;
28
+ header: _angular_core.TemplateRef<unknown> | undefined;
29
+ } | undefined)[];
30
+ }>;
31
+ /** The template's props. */
32
+ protected readonly props: _angular_core.Signal<{
33
+ view: _mintplayer_ui_core_tab_control.TabControlComponentView;
34
+ }>;
35
+ constructor();
36
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTabControlComponent, never>;
37
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTabControlComponent, "bs-tab-control", never, { "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "selectFirstTab": { "alias": "selectFirstTab"; "required": false; "isSignal": true; }; "tabsPosition": { "alias": "tabsPosition"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; }, ["query_pages"], ["*"], true, never>;
38
+ }
39
+
40
+ /** The `header` slot of `<bs-tab-page>`: `<ng-template bsTabPageHeader>` or `*bsTabPageHeader`. The tab's content: any markup, not just text. */
5
41
  declare class BsTabPageHeaderDirective {
6
- template: TemplateRef<any>;
42
+ readonly templateRef: TemplateRef<unknown>;
7
43
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTabPageHeaderDirective, never>;
8
44
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsTabPageHeaderDirective, "[bsTabPageHeader]", never, {}, {}, never, never, true, never>;
9
45
  }
10
-
11
46
  /**
12
- * One page of a `<bs-tab-control>`. Renders nothing itself: the control
13
- * renders every radio, tab and pane as siblings (the CSS pairs the n-th radio
14
- * with the n-th pane), so the page hands over its header and body templates.
47
+ * One page of a tab control. Its `header` slot fills the tab, its content the pane.
48
+ *
49
+ * Renders nothing itself: the parent that collects it renders its slots (default, header).
15
50
  */
16
51
  declare class BsTabPageComponent {
17
- readonly disabled: _angular_core.InputSignal<boolean>;
18
- readonly headerTemplate: _angular_core.Signal<BsTabPageHeaderDirective | undefined>;
19
- readonly body: _angular_core.Signal<TemplateRef<unknown> | undefined>;
52
+ readonly tabId: _angular_core.InputSignal<string | null>;
53
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
54
+ private readonly headerSlot;
55
+ private readonly defaultSlot;
56
+ /** The nearest parent that collects this element; a nested one of the same kind owns it, not an outer one. */
57
+ readonly contentParent: BsTabControlComponent | null;
58
+ /** What a parent's content query reads from this element. */
59
+ readonly contentChild: _angular_core.Signal<{
60
+ inputs: {
61
+ tabId: string | null;
62
+ disabled: boolean;
63
+ };
64
+ within: null;
65
+ }>;
66
+ /** The slots this element lends the parent that renders them. */
67
+ readonly contentSlots: _angular_core.Signal<{
68
+ default: TemplateRef<unknown> | undefined;
69
+ header: TemplateRef<unknown> | undefined;
70
+ }>;
20
71
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTabPageComponent, never>;
21
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTabPageComponent, "bs-tab-page", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["headerTemplate"], ["*"], true, never>;
22
- }
23
-
24
- type BsTabsPosition = 'top' | 'bottom';
25
-
26
- /**
27
- * `<bs-tab-control>` — Bootstrap nav-tabs over one native radio per tab (#437).
28
- *
29
- * <bs-tab-control [border]="true" tabsPosition="top">
30
- * <bs-tab-page [disabled]="false">
31
- * <ng-container *bsTabPageHeader>Profile</ng-container>
32
- * Page content
33
- * </bs-tab-page>
34
- * </bs-tab-control>
35
- *
36
- * Renders the markup of `@mintplayer/ui-core/tab-control` in its own
37
- * template, so the server-rendered page is a working tab control: the
38
- * checked radio shows its pane through CSS with JavaScript off. Once the
39
- * client has rendered, the labels become APG tabs (roving tabindex,
40
- * automatic activation) and the radios leave the tab order. The host is the
41
- * `.tab-control` root; each page hands over its header and body as templates.
42
- */
43
- declare class BsTabControlComponent {
44
- /** Draw the outline around the active pane. */
45
- readonly border: _angular_core.InputSignal<boolean>;
46
- /** Show the first enabled page while none is active. */
47
- readonly selectFirstTab: _angular_core.InputSignal<boolean>;
48
- readonly tabsPosition: _angular_core.InputSignal<BsTabsPosition>;
49
- readonly tabPages: _angular_core.Signal<readonly BsTabPageComponent[]>;
50
- /** The page the user picked; `checkedTab` is the one that is shown. */
51
- readonly activeTab: _angular_core.WritableSignal<BsTabPageComponent | null>;
52
- private readonly host;
53
- private readonly id;
54
- /** The client has rendered: switch from the radio tier to the tab tier. */
55
- private readonly enhanced;
56
- private readonly states;
57
- protected readonly activeIndex: _angular_core.Signal<number | null>;
58
- readonly checkedTab: _angular_core.Signal<BsTabPageComponent | null>;
59
- protected readonly bottomTabs: _angular_core.Signal<boolean>;
60
- protected readonly view: _angular_core.Signal<_mintplayer_ui_core_tab_control.TabControlView>;
61
- constructor();
62
- setActiveTab(tab: BsTabPageComponent): void;
63
- protected onTabClick(event: Event, tab: BsTabPageComponent): void;
64
- protected onTabKeydown(event: KeyboardEvent, index: number): void;
65
- protected onChange(event: Event): void;
66
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTabControlComponent, never>;
67
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTabControlComponent, "bs-tab-control", never, { "border": { "alias": "border"; "required": false; "isSignal": true; }; "selectFirstTab": { "alias": "selectFirstTab"; "required": false; "isSignal": true; }; "tabsPosition": { "alias": "tabsPosition"; "required": false; "isSignal": true; }; }, {}, ["tabPages"], ["*"], true, never>;
72
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTabPageComponent, "bs-tab-page", never, { "tabId": { "alias": "tabId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["headerSlot"], ["*"], true, never>;
68
73
  }
69
74
 
70
75
  export { BsTabControlComponent, BsTabPageComponent, BsTabPageHeaderDirective };
71
- export type { BsTabsPosition };
@@ -1,20 +1,29 @@
1
+ import * as _mintplayer_ui_core_table from '@mintplayer/ui-core/table';
1
2
  import * as _angular_core from '@angular/core';
3
+ import { ElementRef } from '@angular/core';
4
+ import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
2
5
 
6
+ /**
7
+ * Bootstrap's table: a real `<table>` around the consumer's rows. `responsive` scrolls inline instead of
8
+ * wrapping; the consumer's `aria-*` (such as `aria-rowcount`) land on the `<table>`.
9
+ */
3
10
  declare class BsTableComponent {
11
+ #private;
12
+ /** The host element. */
13
+ readonly elementRef: ElementRef<HTMLElement>;
14
+ /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
15
+ protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
16
+ readonly responsive: _angular_core.InputSignalWithTransform<boolean, unknown>;
17
+ readonly striped: _angular_core.InputSignalWithTransform<boolean, unknown>;
18
+ readonly hover: _angular_core.InputSignalWithTransform<boolean, unknown>;
19
+ readonly bordered: _angular_core.InputSignalWithTransform<boolean, unknown>;
20
+ /** The template's props. */
21
+ protected readonly props: _angular_core.Signal<{
22
+ view: _mintplayer_ui_core_table.TableView;
23
+ }>;
4
24
  constructor();
5
- isResponsive: _angular_core.InputSignal<boolean>;
6
- striped: _angular_core.InputSignal<boolean>;
7
- hover: _angular_core.InputSignal<boolean>;
8
- border: _angular_core.InputSignal<boolean>;
9
- /**
10
- * Forwards `aria-rowcount` onto the wrapped `<table>` element. Used by
11
- * virtualised consumers that need SR users to hear "row N of Y" with Y matching the full
12
- * record set, not the DOM slice. `null` (default) leaves the attribute
13
- * off entirely.
14
- */
15
- ariaRowCount: _angular_core.InputSignal<number | null>;
16
25
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTableComponent, never>;
17
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTableComponent, "bs-table", never, { "isResponsive": { "alias": "isResponsive"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "hover": { "alias": "hover"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "ariaRowCount": { "alias": "ariaRowCount"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
26
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTableComponent, "bs-table", never, { "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "hover": { "alias": "hover"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
18
27
  }
19
28
 
20
29
  export { BsTableComponent };