@mintplayer/ng-bootstrap 22.32.0 → 22.33.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 +4 -8
  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 +6 -8
  18. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -8
  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 +5 -5
  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 +5 -5
  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 +12 -24
  36. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +5 -9
  38. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +5 -7
  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 +199 -16
  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 +9 -11
  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 +7 -15
  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 +47 -63
  104. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  105. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +14 -22
  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 +8 -8
  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 +5 -7
  114. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  115. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +6 -6
  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 +9 -13
  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 +9 -11
  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 +95 -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,169 +0,0 @@
1
- import { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';
2
- import * as i0 from '@angular/core';
3
- import { InjectionToken, input, output, viewChild, signal, computed, inject, DestroyRef, afterNextRender, ChangeDetectionStrategy, Component, ElementRef, effect, Directive } from '@angular/core';
4
- import { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';
5
- import { useBootstrap, useScopedStyles, MpPropsDirective } from '@mintplayer/ng-bootstrap/machine';
6
- import { connectDropdownMenu, DROPDOWN_MENU_SCOPE, dropdownMenuScopedStyles, attachDropdownMenu } from '@mintplayer/ui-core/dropdown-menu';
7
-
8
- /**
9
- * DI marker meaning "this content is authored inside a dropdown menu".
10
- *
11
- * Provided by `BsDropdownMenuComponent` and `BsNavbarDropdownComponent`;
12
- * optionally injected by context-aware children (`bs-navbar-item`) to render
13
- * their `.dropdown-item` shape instead of their nav-link shape, so the same
14
- * item element works at every nesting level of a navbar.
15
- *
16
- * Element injectors follow the CONSUMER template's nesting (not the projection
17
- * site), so any `<bs-navbar-item>` written between the tags of either provider
18
- * sees the token — including content projected through `<ng-content>`.
19
- */
20
- const BS_DROPDOWN_MENU_CONTEXT = new InjectionToken('BS_DROPDOWN_MENU_CONTEXT');
21
-
22
- /**
23
- * `<bs-dropdown-menu>` — a Bootstrap `.dropdown-menu` list (#437). Used
24
- * standalone, projected through `*bsDropdownMenu` by the `[bsDropdown]`
25
- * trigger stack. Menu only: the typeahead renders its own listbox, and the
26
- * navbar renders its own navigation panels.
27
- *
28
- * Renders the markup of `@mintplayer/ui-core/dropdown-menu` in its own
29
- * template: a `<ul>` around the projected `[bsDropdownItem]` /
30
- * `[bsDropdownDivider]` / `[bsDropdownHeader]` `<li>`s. Once hydrated, the
31
- * core's attachment adds the menu roles, the roving tabindex, the arrow keys
32
- * and the `select` output; the server output is a plain list of links, which
33
- * is valid and works with JavaScript off.
34
- *
35
- * A consumer's `aria-*`, `role` and `id` on `bs-dropdown-menu` reach the list.
36
- */
37
- class BsDropdownMenuComponent {
38
- constructor() {
39
- /** Pixel cap on the menu height; scrolls beyond. */
40
- this.maxHeight = input(/* @ts-ignore */
41
- ...(ngDevMode ? [undefined, { debugName: "maxHeight" }] : /* istanbul ignore next */ []));
42
- /** Fires when an enabled item is activated. */
43
- this.select = output();
44
- this.menu = viewChild.required('menu', /* @ts-ignore */
45
- ...(ngDevMode ? [{ debugName: "menu" }] : /* istanbul ignore next */ []));
46
- this.hydrated = signal(false, /* @ts-ignore */
47
- ...(ngDevMode ? [{ debugName: "hydrated" }] : /* istanbul ignore next */ []));
48
- this.bag = computed(() => connectDropdownMenu({ hydrated: this.hydrated() }), /* @ts-ignore */
49
- ...(ngDevMode ? [{ debugName: "bag" }] : /* istanbul ignore next */ []));
50
- this.maxHeightCss = computed(() => {
51
- const value = this.maxHeight();
52
- return value === undefined ? null : `${value}px`;
53
- }, /* @ts-ignore */
54
- ...(ngDevMode ? [{ debugName: "maxHeightCss" }] : /* istanbul ignore next */ []));
55
- useBootstrap(bootstrapDropdown);
56
- useScopedStyles(DROPDOWN_MENU_SCOPE, dropdownMenuScopedStyles);
57
- const destroyRef = inject(DestroyRef);
58
- afterNextRender(() => {
59
- this.hydrated.set(true);
60
- const dispose = attachDropdownMenu(this.menu().nativeElement, {
61
- onSelect: (detail) => this.select.emit(detail),
62
- });
63
- destroyRef.onDestroy(dispose);
64
- });
65
- }
66
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
67
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: BsDropdownMenuComponent, isStandalone: true, selector: "bs-dropdown-menu", inputs: { maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { select: "select" }, providers: [{ provide: BS_DROPDOWN_MENU_CONTEXT, useValue: true }], viewQueries: [{ propertyName: "menu", first: true, predicate: ["menu"], descendants: true, isSignal: true }], ngImport: i0, template: "<ul #menu bsForwardAria data-mps=\"dropdown-menu\" [mpProps]=\"bag()\" [style.--mp-dropdown-max-height]=\"maxHeightCss()\">\n <ng-content></ng-content>\n</ul>\n", dependencies: [{ kind: "directive", type: BsForwardAriaDirective, selector: "[bsForwardAria]" }, { kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
68
- }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownMenuComponent, decorators: [{
70
- type: Component,
71
- args: [{ selector: 'bs-dropdown-menu', imports: [BsForwardAriaDirective, MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: BS_DROPDOWN_MENU_CONTEXT, useValue: true }], template: "<ul #menu bsForwardAria data-mps=\"dropdown-menu\" [mpProps]=\"bag()\" [style.--mp-dropdown-max-height]=\"maxHeightCss()\">\n <ng-content></ng-content>\n</ul>\n" }]
72
- }], ctorParameters: () => [], propDecorators: { maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], select: [{ type: i0.Output, args: ["select"] }], menu: [{ type: i0.ViewChild, args: ['menu', { isSignal: true }] }] } });
73
-
74
- /**
75
- * `[bsDropdownItem]` — marks a plain `<li>` as a Bootstrap `.dropdown-item`
76
- * inside a `<bs-dropdown-menu>`. Bootstrap styles the box; a nested `<a>` /
77
- * `<button>` (e.g. a `routerLink`) fills it through the menu's scoped sheet.
78
- *
79
- * Usage: `<li bsDropdownItem><a routerLink="/x">Action</a></li>`.
80
- *
81
- * Inputs:
82
- * - `active` — Bootstrap `.active` appearance.
83
- * - `disabled` — non-interactive; removed from the menu's roving order.
84
- * - `value` — opaque value carried in the menu's `select` event detail;
85
- * written to the host `<li>` as its `dropdownValue` property, which the menu
86
- * reads. Not the `value` property: `HTMLLIElement.value` is a native long
87
- * that turns an object or a string into 0.
88
- */
89
- class BsDropdownItemDirective {
90
- constructor() {
91
- this.active = input(false, /* @ts-ignore */
92
- ...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
93
- this.disabled = input(false, /* @ts-ignore */
94
- ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
95
- /** Opaque value carried in the menu's `select` event detail. */
96
- this.value = input(/* @ts-ignore */
97
- ...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
98
- const el = inject(ElementRef);
99
- effect(() => {
100
- el.nativeElement.dropdownValue = this.value();
101
- });
102
- }
103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
104
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownItemDirective, isStandalone: true, selector: "[bsDropdownItem]", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-mps": "dropdown-menu" }, properties: { "class.dropdown-item": "true", "class.active": "active()", "class.disabled": "disabled()", "attr.aria-disabled": "disabled() ? 'true' : null" } }, ngImport: i0 }); }
105
- }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownItemDirective, decorators: [{
107
- type: Directive,
108
- args: [{
109
- selector: '[bsDropdownItem]',
110
- host: {
111
- '[class.dropdown-item]': 'true',
112
- // The menu's scope: the dropdown part matches only DOM a component stamped (#452).
113
- 'data-mps': 'dropdown-menu',
114
- '[class.active]': 'active()',
115
- '[class.disabled]': 'disabled()',
116
- '[attr.aria-disabled]': "disabled() ? 'true' : null",
117
- },
118
- }]
119
- }], ctorParameters: () => [], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
120
-
121
- /**
122
- * `[bsDropdownDivider]` — marks an element (typically an `<li>`) as a Bootstrap
123
- * `.dropdown-divider` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.
124
- * Usage: `<li bsDropdownDivider></li>`.
125
- */
126
- class BsDropdownDividerDirective {
127
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
128
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsDropdownDividerDirective, isStandalone: true, selector: "[bsDropdownDivider]", host: { attributes: { "data-mps": "dropdown-menu", "role": "separator" }, properties: { "class.dropdown-divider": "true" } }, ngImport: i0 }); }
129
- }
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownDividerDirective, decorators: [{
131
- type: Directive,
132
- args: [{
133
- selector: '[bsDropdownDivider]',
134
- host: {
135
- '[class.dropdown-divider]': 'true',
136
- // The menu's scope: the dropdown part matches only DOM a component stamped (#452).
137
- 'data-mps': 'dropdown-menu',
138
- role: 'separator',
139
- },
140
- }]
141
- }] });
142
-
143
- /**
144
- * `[bsDropdownHeader]` — marks an element (an `<li>` or a heading) as a Bootstrap
145
- * `.dropdown-header` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.
146
- * Usage: `<li bsDropdownHeader>Section</li>`.
147
- */
148
- class BsDropdownHeaderDirective {
149
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
150
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsDropdownHeaderDirective, isStandalone: true, selector: "[bsDropdownHeader]", host: { attributes: { "data-mps": "dropdown-menu" }, properties: { "class.dropdown-header": "true" } }, ngImport: i0 }); }
151
- }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownHeaderDirective, decorators: [{
153
- type: Directive,
154
- args: [{
155
- selector: '[bsDropdownHeader]',
156
- host: {
157
- '[class.dropdown-header]': 'true',
158
- // The menu's scope: the dropdown part matches only DOM a component stamped (#452).
159
- 'data-mps': 'dropdown-menu',
160
- },
161
- }]
162
- }] });
163
-
164
- /**
165
- * Generated bundle index. Do not edit.
166
- */
167
-
168
- export { BS_DROPDOWN_MENU_CONTEXT, BsDropdownDividerDirective, BsDropdownHeaderDirective, BsDropdownItemDirective, BsDropdownMenuComponent };
169
- //# sourceMappingURL=mintplayer-ng-bootstrap-dropdown-menu.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-dropdown-menu.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/tokens/menu-context.token.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/dropdown-menu/dropdown-menu.component.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/dropdown-menu/dropdown-menu.component.html","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/directives/dropdown-item.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/directives/dropdown-divider.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/directives/dropdown-header.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/mintplayer-ng-bootstrap-dropdown-menu.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\n/**\n * DI marker meaning \"this content is authored inside a dropdown menu\".\n *\n * Provided by `BsDropdownMenuComponent` and `BsNavbarDropdownComponent`;\n * optionally injected by context-aware children (`bs-navbar-item`) to render\n * their `.dropdown-item` shape instead of their nav-link shape, so the same\n * item element works at every nesting level of a navbar.\n *\n * Element injectors follow the CONSUMER template's nesting (not the projection\n * site), so any `<bs-navbar-item>` written between the tags of either provider\n * sees the token — including content projected through `<ng-content>`.\n */\nexport const BS_DROPDOWN_MENU_CONTEXT = new InjectionToken<boolean>('BS_DROPDOWN_MENU_CONTEXT');\n","import { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { afterNextRender, ChangeDetectionStrategy, Component, computed, DestroyRef, ElementRef, inject, input, output, signal, viewChild } from '@angular/core';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { MpPropsDirective, useBootstrap, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport {\n DROPDOWN_MENU_SCOPE,\n attachDropdownMenu,\n connectDropdownMenu,\n dropdownMenuScopedStyles,\n type DropdownSelectEventDetail,\n} from '@mintplayer/ui-core/dropdown-menu';\nimport { BS_DROPDOWN_MENU_CONTEXT } from '../tokens/menu-context.token';\n\n/**\n * `<bs-dropdown-menu>` — a Bootstrap `.dropdown-menu` list (#437). Used\n * standalone, projected through `*bsDropdownMenu` by the `[bsDropdown]`\n * trigger stack. Menu only: the typeahead renders its own listbox, and the\n * navbar renders its own navigation panels.\n *\n * Renders the markup of `@mintplayer/ui-core/dropdown-menu` in its own\n * template: a `<ul>` around the projected `[bsDropdownItem]` /\n * `[bsDropdownDivider]` / `[bsDropdownHeader]` `<li>`s. Once hydrated, the\n * core's attachment adds the menu roles, the roving tabindex, the arrow keys\n * and the `select` output; the server output is a plain list of links, which\n * is valid and works with JavaScript off.\n *\n * A consumer's `aria-*`, `role` and `id` on `bs-dropdown-menu` reach the list.\n */\n@Component({\n selector: 'bs-dropdown-menu',\n templateUrl: './dropdown-menu.component.html',\n imports: [BsForwardAriaDirective, MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n // Marks content authored between these tags as \"inside a menu\" so\n // context-aware children render their dropdown-item shape.\n providers: [{ provide: BS_DROPDOWN_MENU_CONTEXT, useValue: true }],\n})\nexport class BsDropdownMenuComponent {\n /** Pixel cap on the menu height; scrolls beyond. */\n readonly maxHeight = input<number>();\n\n /** Fires when an enabled item is activated. */\n readonly select = output<DropdownSelectEventDetail>();\n\n private readonly menu = viewChild.required<ElementRef<HTMLElement>>('menu');\n private readonly hydrated = signal(false);\n\n protected readonly bag = computed(() => connectDropdownMenu({ hydrated: this.hydrated() }));\n protected readonly maxHeightCss = computed(() => {\n const value = this.maxHeight();\n return value === undefined ? null : `${value}px`;\n });\n\n constructor() {\n useBootstrap(bootstrapDropdown);\n useScopedStyles(DROPDOWN_MENU_SCOPE, dropdownMenuScopedStyles);\n const destroyRef = inject(DestroyRef);\n afterNextRender(() => {\n this.hydrated.set(true);\n const dispose = attachDropdownMenu(this.menu().nativeElement, {\n onSelect: (detail) => this.select.emit(detail),\n });\n destroyRef.onDestroy(dispose);\n });\n }\n}\n","<ul #menu bsForwardAria data-mps=\"dropdown-menu\" [mpProps]=\"bag()\" [style.--mp-dropdown-max-height]=\"maxHeightCss()\">\n <ng-content></ng-content>\n</ul>\n","import { Directive, ElementRef, effect, inject, input } from '@angular/core';\nimport type { DropdownItemElement } from '@mintplayer/ui-core/dropdown-menu';\n\n/**\n * `[bsDropdownItem]` — marks a plain `<li>` as a Bootstrap `.dropdown-item`\n * inside a `<bs-dropdown-menu>`. Bootstrap styles the box; a nested `<a>` /\n * `<button>` (e.g. a `routerLink`) fills it through the menu's scoped sheet.\n *\n * Usage: `<li bsDropdownItem><a routerLink=\"/x\">Action</a></li>`.\n *\n * Inputs:\n * - `active` — Bootstrap `.active` appearance.\n * - `disabled` — non-interactive; removed from the menu's roving order.\n * - `value` — opaque value carried in the menu's `select` event detail;\n * written to the host `<li>` as its `dropdownValue` property, which the menu\n * reads. Not the `value` property: `HTMLLIElement.value` is a native long\n * that turns an object or a string into 0.\n */\n@Directive({\n selector: '[bsDropdownItem]',\n host: {\n '[class.dropdown-item]': 'true',\n // The menu's scope: the dropdown part matches only DOM a component stamped (#452).\n 'data-mps': 'dropdown-menu',\n '[class.active]': 'active()',\n '[class.disabled]': 'disabled()',\n '[attr.aria-disabled]': \"disabled() ? 'true' : null\",\n },\n})\nexport class BsDropdownItemDirective {\n readonly active = input(false);\n readonly disabled = input(false);\n /** Opaque value carried in the menu's `select` event detail. */\n readonly value = input<unknown>();\n\n constructor() {\n const el = inject<ElementRef<DropdownItemElement>>(ElementRef);\n effect(() => {\n el.nativeElement.dropdownValue = this.value();\n });\n }\n}\n","import { Directive } from '@angular/core';\n\n/**\n * `[bsDropdownDivider]` — marks an element (typically an `<li>`) as a Bootstrap\n * `.dropdown-divider` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.\n * Usage: `<li bsDropdownDivider></li>`.\n */\n@Directive({\n selector: '[bsDropdownDivider]',\n host: {\n '[class.dropdown-divider]': 'true',\n // The menu's scope: the dropdown part matches only DOM a component stamped (#452).\n 'data-mps': 'dropdown-menu',\n role: 'separator',\n },\n})\nexport class BsDropdownDividerDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * `[bsDropdownHeader]` — marks an element (an `<li>` or a heading) as a Bootstrap\n * `.dropdown-header` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.\n * Usage: `<li bsDropdownHeader>Section</li>`.\n */\n@Directive({\n selector: '[bsDropdownHeader]',\n host: {\n '[class.dropdown-header]': 'true',\n // The menu's scope: the dropdown part matches only DOM a component stamped (#452).\n 'data-mps': 'dropdown-menu',\n },\n})\nexport class BsDropdownHeaderDirective {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEA;;;;;;;;;;;AAWG;MACU,wBAAwB,GAAG,IAAI,cAAc,CAAU,0BAA0B;;ACD9F;;;;;;;;;;;;;;AAcG;MAUU,uBAAuB,CAAA;AAgBlC,IAAA,WAAA,GAAA;;AAdS,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK;iGAAU;;QAG3B,IAAA,CAAA,MAAM,GAAG,MAAM,EAA6B;AAEpC,QAAA,IAAA,CAAA,IAAI,GAAG,SAAS,C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M;;AAEjC,wBAAA,UAAU,EAAE,eAAe;AAC5B,qBAAA;AACF,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -1,32 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, Component } from '@angular/core';
3
-
4
- /**
5
- * Marker component whose only job is to pull in @angular/cdk/overlay-prebuilt
6
- * CSS via its SCSS (::ng-deep import). The template is intentionally empty;
7
- * placing <bs-has-overlay></bs-has-overlay> inside any component that opens a
8
- * CDK overlay (modal, offcanvas, popover, dropdown-based pickers, etc.)
9
- * guarantees the overlay container's positioning styles ship with the component
10
- * bundle, regardless of whether the host app pulled them in globally.
11
- *
12
- * The audit (docs/prd/aria-accessibility-audit.md §5.1) flagged this as
13
- * "empty, purpose unclear" and suggested it should hide background content
14
- * via aria-hidden/inert when an overlay is open. That responsibility lives in
15
- * BsOverlayFocus + each per-component overlay logic (modal hides app-root,
16
- * popover doesn't), not here. has-overlay is and remains a CSS-injection marker.
17
- */
18
- class BsHasOverlayComponent {
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsHasOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsHasOverlayComponent, isStandalone: true, selector: "bs-has-overlay", ngImport: i0, template: "", styles: ["::ng-deep .cdk-overlay-container,::ng-deep .cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}::ng-deep .cdk-overlay-container{position:fixed;z-index:1000}::ng-deep .cdk-overlay-container:empty{display:none}::ng-deep .cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}::ng-deep .cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}::ng-deep .cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){::ng-deep .cdk-overlay-backdrop{transition-duration:1ms}}::ng-deep .cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){::ng-deep .cdk-overlay-backdrop-showing{opacity:.6}}::ng-deep .cdk-overlay-dark-backdrop{background:#00000052}::ng-deep .cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}::ng-deep .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,::ng-deep .cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}::ng-deep .cdk-overlay-backdrop-noop-animation{transition:none}::ng-deep .cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}::ng-deep .cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}::ng-deep .cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}::ng-deep .cdk-overlay-popover::backdrop{display:none}::ng-deep .cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsHasOverlayComponent, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'bs-has-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "", styles: ["::ng-deep .cdk-overlay-container,::ng-deep .cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}::ng-deep .cdk-overlay-container{position:fixed;z-index:1000}::ng-deep .cdk-overlay-container:empty{display:none}::ng-deep .cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}::ng-deep .cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}::ng-deep .cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){::ng-deep .cdk-overlay-backdrop{transition-duration:1ms}}::ng-deep .cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){::ng-deep .cdk-overlay-backdrop-showing{opacity:.6}}::ng-deep .cdk-overlay-dark-backdrop{background:#00000052}::ng-deep .cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}::ng-deep .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,::ng-deep .cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}::ng-deep .cdk-overlay-backdrop-noop-animation{transition:none}::ng-deep .cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}::ng-deep .cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}::ng-deep .cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}::ng-deep .cdk-overlay-popover::backdrop{display:none}::ng-deep .cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n"] }]
25
- }] });
26
-
27
- /**
28
- * Generated bundle index. Do not edit.
29
- */
30
-
31
- export { BsHasOverlayComponent };
32
- //# sourceMappingURL=mintplayer-ng-bootstrap-has-overlay.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-has-overlay.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/has-overlay/src/has-overlay/has-overlay.component.ts","../../../../libs/mintplayer-ng-bootstrap/has-overlay/src/has-overlay/has-overlay.component.html","../../../../libs/mintplayer-ng-bootstrap/has-overlay/mintplayer-ng-bootstrap-has-overlay.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n/**\n * Marker component whose only job is to pull in @angular/cdk/overlay-prebuilt\n * CSS via its SCSS (::ng-deep import). The template is intentionally empty;\n * placing <bs-has-overlay></bs-has-overlay> inside any component that opens a\n * CDK overlay (modal, offcanvas, popover, dropdown-based pickers, etc.)\n * guarantees the overlay container's positioning styles ship with the component\n * bundle, regardless of whether the host app pulled them in globally.\n *\n * The audit (docs/prd/aria-accessibility-audit.md §5.1) flagged this as\n * \"empty, purpose unclear\" and suggested it should hide background content\n * via aria-hidden/inert when an overlay is open. That responsibility lives in\n * BsOverlayFocus + each per-component overlay logic (modal hides app-root,\n * popover doesn't), not here. has-overlay is and remains a CSS-injection marker.\n */\n@Component({\n selector: 'bs-has-overlay',\n templateUrl: './has-overlay.component.html',\n styleUrls: ['./has-overlay.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsHasOverlayComponent {}\n","","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;AAaG;MAOU,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,0ECtBlC,EAAA,EAAA,MAAA,EAAA,CAAA,23DAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDsBa,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;+BACE,gBAAgB,EAAA,eAAA,EAGT,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,EAAA,EAAA,MAAA,EAAA,CAAA,23DAAA,CAAA,EAAA;;;AEpBjD;;AAEG;;;;"}
@@ -1,31 +0,0 @@
1
- import { isPlatformServer } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, PLATFORM_ID, Directive } from '@angular/core';
4
-
5
- class BsNoNoscriptDirective {
6
- constructor() {
7
- this.platformId = inject(PLATFORM_ID);
8
- this.isNoScript = false;
9
- if (isPlatformServer(this.platformId)) {
10
- this.isNoScript = true;
11
- }
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNoNoscriptDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsNoNoscriptDirective, isStandalone: true, selector: "[bsNoNoscript]", host: { properties: { "class.noscript": "isNoScript" } }, ngImport: i0 }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNoNoscriptDirective, decorators: [{
17
- type: Directive,
18
- args: [{
19
- selector: '[bsNoNoscript]',
20
- host: {
21
- '[class.noscript]': 'isNoScript',
22
- },
23
- }]
24
- }], ctorParameters: () => [] });
25
-
26
- /**
27
- * Generated bundle index. Do not edit.
28
- */
29
-
30
- export { BsNoNoscriptDirective };
31
- //# sourceMappingURL=mintplayer-ng-bootstrap-no-noscript.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-no-noscript.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/no-noscript/src/no-noscript/no-noscript.directive.ts","../../../../libs/mintplayer-ng-bootstrap/no-noscript/mintplayer-ng-bootstrap-no-noscript.ts"],"sourcesContent":["import { isPlatformServer } from '@angular/common';\nimport { Directive, inject, PLATFORM_ID } from '@angular/core';\n\n@Directive({\n selector: '[bsNoNoscript]',\n host: {\n '[class.noscript]': 'isNoScript',\n },\n})\nexport class BsNoNoscriptDirective {\n private platformId = inject(PLATFORM_ID);\n\n constructor() {\n if (isPlatformServer(this.platformId)) {\n this.isNoScript = true;\n }\n }\n\n isNoScript = false;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,qBAAqB,CAAA;AAGhC,IAAA,WAAA,GAAA;AAFQ,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;QAQxC,IAAA,CAAA,UAAU,GAAG,KAAK;AALhB,QAAA,IAAI,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;AACrC,YAAA,IAAI,CAAC,UAAU,GAAG,IAAI;QACxB;IACF;8GAPW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,IAAI,EAAE;AACJ,wBAAA,kBAAkB,EAAE,YAAY;AACjC,qBAAA;AACF,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs",
3
- "typings": "../types/mintplayer-ng-bootstrap-has-overlay.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs",
3
- "typings": "../types/mintplayer-ng-bootstrap-no-noscript.d.ts"
4
- }
@@ -1,54 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { PipeTransform } from '@angular/core';
3
-
4
- interface DateDayOfMonth {
5
- date: Date;
6
- dayOfMonth: number;
7
- isInMonth: boolean;
8
- }
9
-
10
- interface Week {
11
- number: number;
12
- days: (DateDayOfMonth | null)[];
13
- }
14
-
15
- interface FirstAndLastDate {
16
- first: Date;
17
- last: Date;
18
- }
19
-
20
- declare class BsCalendarMonthService {
21
- getWeeks(month: Date): Week[];
22
- generateList(count: number): number[];
23
- dayOfWeekMondayBased(date: Date): number;
24
- weekOfYear(date: Date): number;
25
- getFirstAndLastDayOfMonth(date: Date): FirstAndLastDate;
26
- dateDiff(date1: Date, date2: Date): number;
27
- dayOfYear(date: Date): number;
28
- toUTC(date: Date): number;
29
- chunk<T>(items: T[], size: number): T[][];
30
- getMondayBefore(date: Date): Date;
31
- getSundayAfter(date: Date): Date;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<BsCalendarMonthService, never>;
33
- static ɵprov: i0.ɵɵInjectableDeclaration<BsCalendarMonthService>;
34
- }
35
-
36
- interface WeekDay {
37
- short: string;
38
- long: string;
39
- }
40
-
41
- declare class BsMonthNamePipe implements PipeTransform {
42
- transform(date: Date | null): string;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<BsMonthNamePipe, never>;
44
- static ɵpipe: i0.ɵɵPipeDeclaration<BsMonthNamePipe, "monthName", true>;
45
- }
46
-
47
- declare class BsWeekdayNamePipe implements PipeTransform {
48
- transform(date: Date): unknown;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<BsWeekdayNamePipe, never>;
50
- static ɵpipe: i0.ɵɵPipeDeclaration<BsWeekdayNamePipe, "weekdayName", true>;
51
- }
52
-
53
- export { BsCalendarMonthService, BsMonthNamePipe, BsWeekdayNamePipe };
54
- export type { DateDayOfMonth, FirstAndLastDate, Week, WeekDay };
@@ -1,9 +0,0 @@
1
- import * as i0 from '@angular/core';
2
-
3
- declare class BsDropdownDividerDirective {
4
- constructor();
5
- static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownDividerDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDividerDirective, "[bsDropdownDivider]", never, {}, {}, never, never, true, never>;
7
- }
8
-
9
- export { BsDropdownDividerDirective };
@@ -1,94 +0,0 @@
1
- import * as _mintplayer_ui_core_dropdown_menu from '@mintplayer/ui-core/dropdown-menu';
2
- import { DropdownSelectEventDetail } from '@mintplayer/ui-core/dropdown-menu';
3
- import * as i0 from '@angular/core';
4
- import { InjectionToken } from '@angular/core';
5
-
6
- /**
7
- * `<bs-dropdown-menu>` — a Bootstrap `.dropdown-menu` list (#437). Used
8
- * standalone, projected through `*bsDropdownMenu` by the `[bsDropdown]`
9
- * trigger stack. Menu only: the typeahead renders its own listbox, and the
10
- * navbar renders its own navigation panels.
11
- *
12
- * Renders the markup of `@mintplayer/ui-core/dropdown-menu` in its own
13
- * template: a `<ul>` around the projected `[bsDropdownItem]` /
14
- * `[bsDropdownDivider]` / `[bsDropdownHeader]` `<li>`s. Once hydrated, the
15
- * core's attachment adds the menu roles, the roving tabindex, the arrow keys
16
- * and the `select` output; the server output is a plain list of links, which
17
- * is valid and works with JavaScript off.
18
- *
19
- * A consumer's `aria-*`, `role` and `id` on `bs-dropdown-menu` reach the list.
20
- */
21
- declare class BsDropdownMenuComponent {
22
- /** Pixel cap on the menu height; scrolls beyond. */
23
- readonly maxHeight: i0.InputSignal<number | undefined>;
24
- /** Fires when an enabled item is activated. */
25
- readonly select: i0.OutputEmitterRef<DropdownSelectEventDetail>;
26
- private readonly menu;
27
- private readonly hydrated;
28
- protected readonly bag: i0.Signal<_mintplayer_ui_core_dropdown_menu.DropdownMenuBag>;
29
- protected readonly maxHeightCss: i0.Signal<string | null>;
30
- constructor();
31
- static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownMenuComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<BsDropdownMenuComponent, "bs-dropdown-menu", never, { "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, { "select": "select"; }, never, ["*"], true, never>;
33
- }
34
-
35
- /**
36
- * DI marker meaning "this content is authored inside a dropdown menu".
37
- *
38
- * Provided by `BsDropdownMenuComponent` and `BsNavbarDropdownComponent`;
39
- * optionally injected by context-aware children (`bs-navbar-item`) to render
40
- * their `.dropdown-item` shape instead of their nav-link shape, so the same
41
- * item element works at every nesting level of a navbar.
42
- *
43
- * Element injectors follow the CONSUMER template's nesting (not the projection
44
- * site), so any `<bs-navbar-item>` written between the tags of either provider
45
- * sees the token — including content projected through `<ng-content>`.
46
- */
47
- declare const BS_DROPDOWN_MENU_CONTEXT: InjectionToken<boolean>;
48
-
49
- /**
50
- * `[bsDropdownItem]` — marks a plain `<li>` as a Bootstrap `.dropdown-item`
51
- * inside a `<bs-dropdown-menu>`. Bootstrap styles the box; a nested `<a>` /
52
- * `<button>` (e.g. a `routerLink`) fills it through the menu's scoped sheet.
53
- *
54
- * Usage: `<li bsDropdownItem><a routerLink="/x">Action</a></li>`.
55
- *
56
- * Inputs:
57
- * - `active` — Bootstrap `.active` appearance.
58
- * - `disabled` — non-interactive; removed from the menu's roving order.
59
- * - `value` — opaque value carried in the menu's `select` event detail;
60
- * written to the host `<li>` as its `dropdownValue` property, which the menu
61
- * reads. Not the `value` property: `HTMLLIElement.value` is a native long
62
- * that turns an object or a string into 0.
63
- */
64
- declare class BsDropdownItemDirective {
65
- readonly active: i0.InputSignal<boolean>;
66
- readonly disabled: i0.InputSignal<boolean>;
67
- /** Opaque value carried in the menu's `select` event detail. */
68
- readonly value: i0.InputSignal<unknown>;
69
- constructor();
70
- static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownItemDirective, never>;
71
- static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownItemDirective, "[bsDropdownItem]", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
72
- }
73
-
74
- /**
75
- * `[bsDropdownDivider]` — marks an element (typically an `<li>`) as a Bootstrap
76
- * `.dropdown-divider` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.
77
- * Usage: `<li bsDropdownDivider></li>`.
78
- */
79
- declare class BsDropdownDividerDirective {
80
- static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownDividerDirective, never>;
81
- static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDividerDirective, "[bsDropdownDivider]", never, {}, {}, never, never, true, never>;
82
- }
83
-
84
- /**
85
- * `[bsDropdownHeader]` — marks an element (an `<li>` or a heading) as a Bootstrap
86
- * `.dropdown-header` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.
87
- * Usage: `<li bsDropdownHeader>Section</li>`.
88
- */
89
- declare class BsDropdownHeaderDirective {
90
- static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownHeaderDirective, never>;
91
- static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownHeaderDirective, "[bsDropdownHeader]", never, {}, {}, never, never, true, never>;
92
- }
93
-
94
- export { BS_DROPDOWN_MENU_CONTEXT, BsDropdownDividerDirective, BsDropdownHeaderDirective, BsDropdownItemDirective, BsDropdownMenuComponent };
@@ -1,22 +0,0 @@
1
- import * as i0 from '@angular/core';
2
-
3
- /**
4
- * Marker component whose only job is to pull in @angular/cdk/overlay-prebuilt
5
- * CSS via its SCSS (::ng-deep import). The template is intentionally empty;
6
- * placing <bs-has-overlay></bs-has-overlay> inside any component that opens a
7
- * CDK overlay (modal, offcanvas, popover, dropdown-based pickers, etc.)
8
- * guarantees the overlay container's positioning styles ship with the component
9
- * bundle, regardless of whether the host app pulled them in globally.
10
- *
11
- * The audit (docs/prd/aria-accessibility-audit.md §5.1) flagged this as
12
- * "empty, purpose unclear" and suggested it should hide background content
13
- * via aria-hidden/inert when an overlay is open. That responsibility lives in
14
- * BsOverlayFocus + each per-component overlay logic (modal hides app-root,
15
- * popover doesn't), not here. has-overlay is and remains a CSS-injection marker.
16
- */
17
- declare class BsHasOverlayComponent {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<BsHasOverlayComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<BsHasOverlayComponent, "bs-has-overlay", never, {}, {}, never, never, true, never>;
20
- }
21
-
22
- export { BsHasOverlayComponent };
@@ -1,11 +0,0 @@
1
- import * as i0 from '@angular/core';
2
-
3
- declare class BsNoNoscriptDirective {
4
- private platformId;
5
- constructor();
6
- isNoScript: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<BsNoNoscriptDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<BsNoNoscriptDirective, "[bsNoNoscript]", never, {}, {}, never, never, true, never>;
9
- }
10
-
11
- export { BsNoNoscriptDirective };