@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,290 +1,79 @@
1
- import { NgTemplateOutlet } from '@angular/common';
2
1
  import * as i0 from '@angular/core';
3
- import { InjectionToken, signal, Injectable, inject, Injector, input, computed, ChangeDetectionStrategy, Component, TemplateRef, ElementRef, effect, Directive } from '@angular/core';
4
- import { useBootstrap } from '@mintplayer/ng-bootstrap/machine';
5
- import { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';
2
+ import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
3
+ import { useCore, useScopedStyles, MpPropsDirective, anchorElement, useOverlayComponent } from '@mintplayer/ng-bootstrap/machine';
4
+ import { popoverPanelCore, popoverScopedStyles, popoverCore } from '@mintplayer/ui-core/popover';
6
5
  import { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';
7
- import { FadeInOutAnimation } from '@mintplayer/ng-animations';
8
- import { BsOverlayFocusDirective, BsIdService, BsOverlayStackService } from '@mintplayer/ng-bootstrap/a11y';
9
- import { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';
10
- import { Overlay } from '@angular/cdk/overlay';
11
- import { ComponentPortal } from '@angular/cdk/portal';
12
-
13
- const POPOVER_CONTENT = new InjectionToken('PopoverContent');
14
-
15
- /** The dom id assigned to the rendered popover dialog so the trigger can point at it via aria-controls. */
16
- const POPOVER_ID = new InjectionToken('POPOVER_ID');
17
-
18
- /**
19
- * Component-scoped state shared between BsPopoverComponent (the dialog renderer)
20
- * and the bsPopoverHeader / bsPopoverBody directives applied to the user's
21
- * template. Provides the ids for aria-labelledby and aria-describedby.
22
- */
23
- class BsPopoverContextService {
24
- constructor() {
25
- this.headerId = signal(null, /* @ts-ignore */
26
- ...(ngDevMode ? [{ debugName: "headerId" }] : /* istanbul ignore next */ []));
27
- this.bodyId = signal(null, /* @ts-ignore */
28
- ...(ngDevMode ? [{ debugName: "bodyId" }] : /* istanbul ignore next */ []));
29
- }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
31
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverContextService }); }
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverContextService, decorators: [{
34
- type: Injectable
35
- }] });
6
+ import { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';
36
7
 
37
- class BsPopoverComponent {
8
+ // GENERATED from the popover manifest (popover-panel) by @mintplayer/nx-component-compiler. Do not edit.
9
+ /** Bootstrap's popover panel, as the popover directive renders it; not used on its own. */
10
+ class BsPopoverPanelComponent {
11
+ #core;
38
12
  constructor() {
39
- this.template = inject(POPOVER_CONTENT);
40
- this.popoverId = inject(POPOVER_ID);
41
- this.context = inject(BsPopoverContextService);
42
- this.injector = inject(Injector);
43
- this.position = input('bottom', /* @ts-ignore */
44
- ...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
45
- this.isVisible = input(false, /* @ts-ignore */
46
- ...(ngDevMode ? [{ debugName: "isVisible" }] : /* istanbul ignore next */ []));
47
- this.marginClass = computed(() => {
48
- switch (this.position()) {
49
- case 'top': return 'mb-2';
50
- case 'start': return 'me-2';
51
- case 'end': return 'ms-2';
52
- default: return 'mt-2';
53
- }
54
- }, /* @ts-ignore */
55
- ...(ngDevMode ? [{ debugName: "marginClass" }] : /* istanbul ignore next */ []));
56
- this.positionClass = computed(() => `bs-popover-${this.position()}`, /* @ts-ignore */
57
- ...(ngDevMode ? [{ debugName: "positionClass" }] : /* istanbul ignore next */ []));
58
- // #452: the popover and transitions partials ship with this component, scoped to the elements it stamps (data-mps="popover").
59
- useBootstrap(bootstrapPopover, bootstrapTransitions);
13
+ /** The host element. */
14
+ this.elementRef = inject(ElementRef);
15
+ /** The panel's id, which the trigger's `aria-controls` names. */
16
+ this.overlayId = input('', /* @ts-ignore */
17
+ ...(ngDevMode ? [{ debugName: "overlayId" }] : /* istanbul ignore next */ []));
18
+ this.side = input('bottom', /* @ts-ignore */
19
+ ...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
20
+ this.shown = input(false, { ...(ngDevMode ? { debugName: "shown" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
21
+ this.heading = input(null, /* @ts-ignore */
22
+ ...(ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []));
23
+ /** The trigger's id, naming the dialog when there is no title. */
24
+ this.triggerId = input(null, /* @ts-ignore */
25
+ ...(ngDevMode ? [{ debugName: "triggerId" }] : /* istanbul ignore next */ []));
26
+ this.#core = useCore(popoverPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), shown: this.shown(), heading: this.heading(), triggerId: this.triggerId() }), idPrefix: 'bs-popover-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'popover' }) });
27
+ /** The template's props. */
28
+ this.props = this.#core.props;
29
+ useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order });
30
+ useScopedStyles(bootstrapPopover.key, bootstrapPopover.css, { order: bootstrapPopover.order });
31
+ useScopedStyles('popover', popoverScopedStyles);
60
32
  }
61
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
62
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsPopoverComponent, isStandalone: true, selector: "bs-popover", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, isVisible: { classPropertyName: "isVisible", publicName: "isVisible", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.position-relative": "true" } }, providers: [BsPopoverContextService], ngImport: i0, template: "@if (isVisible()) {\n <div data-mps=\"popover\" class=\"popover position-relative fade show\"\n role=\"dialog\"\n [bsOverlayFocus]=\"isVisible()\"\n tabindex=\"-1\"\n [id]=\"popoverId\"\n [attr.aria-labelledby]=\"context.headerId()\"\n [attr.aria-describedby]=\"context.bodyId()\"\n [class]=\"[marginClass(), positionClass()]\"\n [@fadeInOut]>\n <ng-container *ngTemplateOutlet=\"template; injector: injector\"></ng-container>\n <div data-mps=\"popover\" class=\"popover-arrow position-absolute\" aria-hidden=\"true\"></div>\n <bs-has-overlay></bs-has-overlay>\n </div>\n}\n", styles: [".popover.bs-popover-top>.popover-arrow,.popover.bs-popover-bottom>.popover-arrow{left:50%;transform:translate(-50%)}.popover.bs-popover-start>.popover-arrow,.popover.bs-popover-end>.popover-arrow{top:50%;transform:translateY(-50%)}.popover:not(.show){pointer-events:none}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: BsHasOverlayComponent, selector: "bs-has-overlay" }, { kind: "directive", type: BsOverlayFocusDirective, selector: "[bsOverlayFocus]", inputs: ["bsOverlayFocus", "initialFocus", "returnFocus"], exportAs: ["bsOverlayFocus"] }], animations: [FadeInOutAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsPopoverPanelComponent, isStandalone: true, selector: "bs-popover-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, shown: { classPropertyName: "shown", publicName: "shown", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, triggerId: { classPropertyName: "triggerId", publicName: "triggerId", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/popover/src/templates/popover-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"popover\" [mpProps]=\"p_view.arrow\"></div>\n@if (p_view.header) {\n <h3 data-mps=\"popover\" [mpProps]=\"p_view.header\">\n {{ p_view.title }}\n </h3>\n}\n<div data-mps=\"popover\" [mpProps]=\"p_view.body\">\n <ng-content />\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
63
35
  }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverComponent, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverPanelComponent, decorators: [{
65
37
  type: Component,
66
- args: [{ selector: 'bs-popover', imports: [NgTemplateOutlet, BsHasOverlayComponent, BsOverlayFocusDirective], animations: [FadeInOutAnimation], changeDetection: ChangeDetectionStrategy.OnPush, providers: [BsPopoverContextService], host: {
67
- '[class.position-relative]': 'true',
68
- }, template: "@if (isVisible()) {\n <div data-mps=\"popover\" class=\"popover position-relative fade show\"\n role=\"dialog\"\n [bsOverlayFocus]=\"isVisible()\"\n tabindex=\"-1\"\n [id]=\"popoverId\"\n [attr.aria-labelledby]=\"context.headerId()\"\n [attr.aria-describedby]=\"context.bodyId()\"\n [class]=\"[marginClass(), positionClass()]\"\n [@fadeInOut]>\n <ng-container *ngTemplateOutlet=\"template; injector: injector\"></ng-container>\n <div data-mps=\"popover\" class=\"popover-arrow position-absolute\" aria-hidden=\"true\"></div>\n <bs-has-overlay></bs-has-overlay>\n </div>\n}\n", styles: [".popover.bs-popover-top>.popover-arrow,.popover.bs-popover-bottom>.popover-arrow{left:50%;transform:translate(-50%)}.popover.bs-popover-start>.popover-arrow,.popover.bs-popover-end>.popover-arrow{top:50%;transform:translateY(-50%)}.popover:not(.show){pointer-events:none}\n"] }]
69
- }], ctorParameters: () => [], propDecorators: { position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], isVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "isVisible", required: false }] }] } });
70
-
71
- const PORTAL_FACTORY = new InjectionToken('PopoverPortalFactory');
38
+ args: [{ selector: 'bs-popover-panel', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/popover/src/templates/popover-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"popover\" [mpProps]=\"p_view.arrow\"></div>\n@if (p_view.header) {\n <h3 data-mps=\"popover\" [mpProps]=\"p_view.header\">\n {{ p_view.title }}\n </h3>\n}\n<div data-mps=\"popover\" [mpProps]=\"p_view.body\">\n <ng-content />\n</div>\n" }]
39
+ }], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], shown: [{ type: i0.Input, args: [{ isSignal: true, alias: "shown", required: false }] }], heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], triggerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerId", required: false }] }] } });
72
40
 
41
+ // GENERATED from the popover manifest (popover) by @mintplayer/nx-component-compiler. Do not edit.
42
+ /**
43
+ * A popover on the element: a click (or Enter / Space) toggles a non-modal dialog beside it. Escape, a press
44
+ * outside it or focus leaving it closes it.
45
+ */
73
46
  class BsPopoverDirective {
47
+ /** The element the template sits in: the trigger. */
48
+ #anchor;
74
49
  constructor() {
75
- this.overlay = inject(Overlay);
76
- this.templateRef = inject((TemplateRef));
77
- this.parentInjector = inject(Injector);
78
- this.portalFactory = inject(PORTAL_FACTORY);
79
- this.parent = inject(ElementRef, { host: true, skipSelf: true });
80
- this.ids = inject(BsIdService);
81
- this.overlayStack = inject(BsOverlayStackService);
82
- this.popoverId = this.ids.next('bs-popover');
83
- this.stackToken = null;
84
- this.bsPopover = input('bottom', /* @ts-ignore */
85
- ...(ngDevMode ? [{ debugName: "bsPopover" }] : /* istanbul ignore next */ []));
86
- this.updatePosition = input(false, /* @ts-ignore */
87
- ...(ngDevMode ? [{ debugName: "updatePosition" }] : /* istanbul ignore next */ []));
88
- this.localInjector = null;
89
- this.portal = null;
90
- this.overlayRef = null;
91
- this.component = null;
92
- this.isVisible = signal(false, /* @ts-ignore */
93
- ...(ngDevMode ? [{ debugName: "isVisible" }] : /* istanbul ignore next */ []));
94
- this.connectedPosition = computed(() => {
95
- const position = this.bsPopover();
96
- switch (position) {
97
- case 'top':
98
- return {
99
- originX: "center",
100
- originY: "top",
101
- overlayX: "center",
102
- overlayY: "bottom"
103
- };
104
- case 'start':
105
- return {
106
- originX: "start",
107
- originY: "center",
108
- overlayX: "end",
109
- overlayY: "center",
110
- };
111
- case 'end':
112
- return {
113
- originX: "end",
114
- originY: "center",
115
- overlayX: "start",
116
- overlayY: "center"
117
- };
118
- default:
119
- return {
120
- originX: "center",
121
- originY: "bottom",
122
- overlayX: "center",
123
- overlayY: "top"
124
- };
125
- }
126
- }, /* @ts-ignore */
127
- ...(ngDevMode ? [{ debugName: "connectedPosition" }] : /* istanbul ignore next */ []));
128
- effect(() => {
129
- const position = this.bsPopover();
130
- if (this.component) {
131
- this.component.setInput('position', position);
132
- }
133
- });
134
- effect(() => {
135
- const isVisible = this.isVisible();
136
- if (this.component) {
137
- this.component.setInput('isVisible', isVisible);
138
- }
139
- this.parent.nativeElement.setAttribute('aria-expanded', isVisible ? 'true' : 'false');
140
- if (isVisible && this.stackToken === null) {
141
- this.stackToken = this.overlayStack.push();
142
- }
143
- else if (!isVisible && this.stackToken !== null) {
144
- this.overlayStack.release(this.stackToken);
145
- this.stackToken = null;
146
- }
147
- });
148
- effect(() => {
149
- const connectedPosition = this.connectedPosition();
150
- if (this.overlayRef) {
151
- setTimeout(() => {
152
- this.overlayRef?.updatePositionStrategy(this.overlay.position()
153
- .flexibleConnectedTo(this.parent)
154
- .withPositions([connectedPosition]));
155
- }, 20);
156
- }
157
- });
158
- }
159
- ngAfterViewInit() {
160
- const connectedPosition = this.connectedPosition();
161
- this.localInjector = Injector.create({
162
- providers: [
163
- { provide: POPOVER_CONTENT, useValue: this.templateRef },
164
- { provide: POPOVER_ID, useValue: this.popoverId },
165
- ],
166
- parent: this.parentInjector
167
- });
168
- this.portal = this.portalFactory(this.localInjector);
169
- this.overlayRef = this.overlay.create({
170
- scrollStrategy: this.overlay.scrollStrategies.reposition(),
171
- positionStrategy: this.overlay.position()
172
- .flexibleConnectedTo(this.parent)
173
- .withPositions([connectedPosition]),
174
- });
175
- this.component = this.overlayRef.attach(this.portal);
176
- this.component.setInput('position', this.bsPopover());
177
- // Trigger ARIA: identifies the trigger as a disclosure that opens a dialog.
178
- this.parent.nativeElement.setAttribute('aria-haspopup', 'dialog');
179
- this.parent.nativeElement.setAttribute('aria-controls', this.popoverId);
180
- this.parent.nativeElement.setAttribute('aria-expanded', 'false');
181
- /* addEventListener rather than the .onclick property — the property write
182
- silently CLOBBERED any click handler the consumer had on their trigger. */
183
- const toggle = () => {
184
- if (this.updatePosition()) {
185
- this.overlayRef?.updatePosition();
186
- }
187
- this.isVisible.set(!this.isVisible());
188
- };
189
- this.parent.nativeElement.addEventListener('click', toggle);
190
- // A popover trigger on a non-focusable element (span, div, icon) could not
191
- // be opened by keyboard at all. Make it a real button-like control; native
192
- // buttons/links are left exactly as they are.
193
- const el = this.parent.nativeElement;
194
- const nativelyFocusable = el.matches('button, a[href], input, select, textarea, [tabindex]');
195
- if (!nativelyFocusable) {
196
- el.setAttribute('tabindex', '0');
197
- if (!el.hasAttribute('role'))
198
- el.setAttribute('role', 'button');
199
- el.addEventListener('keydown', (ev) => {
200
- if (ev.key === 'Enter' || ev.key === ' ') {
201
- ev.preventDefault();
202
- toggle();
203
- }
204
- });
205
- }
206
- }
207
- onEscape() {
208
- if (this.isVisible() && this.stackToken !== null && this.overlayStack.isTop(this.stackToken)) {
209
- this.isVisible.set(false);
210
- }
211
- }
212
- ngOnDestroy() {
213
- if (this.stackToken !== null) {
214
- this.overlayStack.release(this.stackToken);
215
- this.stackToken = null;
216
- }
217
- if (this.overlayRef) {
218
- this.overlayRef.detach();
219
- this.overlayRef.dispose();
220
- this.overlayRef = null;
221
- }
50
+ /** The side of the element it shows on; it flips when it does not fit. */
51
+ this.position = input('bottom', { ...(ngDevMode ? { debugName: "position" } : /* istanbul ignore next */ {}), transform: (v) => (v === '' ? 'bottom' : v), alias: 'bsPopover' });
52
+ /** The heading; it names the dialog. */
53
+ this.title = input(null, { ...(ngDevMode ? { debugName: "title" } : /* istanbul ignore next */ {}), alias: 'bsPopoverTitle' });
54
+ /** The element the template sits in: the trigger. */
55
+ this.#anchor = anchorElement();
56
+ this.core = useCore(popoverCore, { inputs: () => ({ position: this.position(), title: this.title() }), idPrefix: 'bs-popover', element: this.#anchor, hostBag: (props) => props.anchor });
57
+ useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order });
58
+ useScopedStyles(bootstrapPopover.key, bootstrapPopover.css, { order: bootstrapPopover.order });
59
+ useScopedStyles('popover', popoverScopedStyles);
60
+ useOverlayComponent(BsPopoverPanelComponent, () => this.core.props().overlay, this.#anchor);
222
61
  }
223
62
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
224
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsPopoverDirective, isStandalone: true, selector: "*[bsPopover]", inputs: { bsPopover: { classPropertyName: "bsPopover", publicName: "bsPopover", isSignal: true, isRequired: false, transformFunction: null }, updatePosition: { classPropertyName: "updatePosition", publicName: "updatePosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "document:keydown.escape": "onEscape()" } }, providers: [{
225
- provide: PORTAL_FACTORY,
226
- useValue: (injector) => {
227
- return new ComponentPortal(BsPopoverComponent, null, injector);
228
- }
229
- }], ngImport: i0 }); }
63
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsPopoverDirective, isStandalone: true, selector: "[bsPopover]", inputs: { position: { classPropertyName: "position", publicName: "bsPopover", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "bsPopoverTitle", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
230
64
  }
231
65
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverDirective, decorators: [{
232
66
  type: Directive,
233
- args: [{
234
- selector: '*[bsPopover]',
235
- providers: [{
236
- provide: PORTAL_FACTORY,
237
- useValue: (injector) => {
238
- return new ComponentPortal(BsPopoverComponent, null, injector);
239
- }
240
- }],
241
- host: {
242
- '(document:keydown.escape)': 'onEscape()',
243
- },
244
- }]
245
- }], ctorParameters: () => [], propDecorators: { bsPopover: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsPopover", required: false }] }], updatePosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "updatePosition", required: false }] }] } });
67
+ args: [{ selector: '[bsPopover]' }]
68
+ }], ctorParameters: () => [], propDecorators: { position: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsPopover", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsPopoverTitle", required: false }] }] } });
246
69
 
247
- class BsPopoverBodyDirective {
248
- constructor() {
249
- // #452: the popover partial ships with this component, scoped to the elements it stamps (data-mps="popover").
250
- useBootstrap(bootstrapPopover);
251
- }
252
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
253
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsPopoverBodyDirective, isStandalone: true, selector: "[bsPopoverBody]", host: { properties: { "attr.data-mps": "\"popover\"", "class.popover-body": "true" } }, ngImport: i0 }); }
254
- }
255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverBodyDirective, decorators: [{
256
- type: Directive,
257
- args: [{
258
- selector: '[bsPopoverBody]',
259
- host: {
260
- '[attr.data-mps]': '"popover"',
261
- '[class.popover-body]': 'true',
262
- },
263
- }]
264
- }], ctorParameters: () => [] });
70
+ // GENERATED from the popover manifest by @mintplayer/nx-component-compiler. Do not edit.
265
71
 
266
- class BsPopoverHeaderDirective {
267
- constructor() {
268
- // #452: the popover partial ships with this component, scoped to the elements it stamps (data-mps="popover").
269
- useBootstrap(bootstrapPopover);
270
- }
271
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
272
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsPopoverHeaderDirective, isStandalone: true, selector: "[bsPopoverHeader]", host: { properties: { "attr.data-mps": "\"popover\"", "class.popover-header": "true" } }, ngImport: i0 }); }
273
- }
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverHeaderDirective, decorators: [{
275
- type: Directive,
276
- args: [{
277
- selector: '[bsPopoverHeader]',
278
- host: {
279
- '[attr.data-mps]': '"popover"',
280
- '[class.popover-header]': 'true',
281
- },
282
- }]
283
- }], ctorParameters: () => [] });
72
+ // Generated from @mintplayer/ui-core/popover (#458 D10).
284
73
 
285
74
  /**
286
75
  * Generated bundle index. Do not edit.
287
76
  */
288
77
 
289
- export { BsPopoverBodyDirective, BsPopoverComponent, BsPopoverDirective, BsPopoverHeaderDirective };
78
+ export { BsPopoverDirective, BsPopoverPanelComponent };
290
79
  //# sourceMappingURL=mintplayer-ng-bootstrap-popover.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-popover.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/popover/src/providers/popover-content.provider.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/providers/popover-id.provider.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/services/popover-context.service.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/component/popover.component.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/component/popover.component.html","../../../../libs/mintplayer-ng-bootstrap/popover/src/providers/portal-factory.provider.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/directives/popover/popover.directive.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/directives/popover-body/popover-body.directive.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/directives/popover-header/popover-header.directive.ts","../../../../libs/mintplayer-ng-bootstrap/popover/mintplayer-ng-bootstrap-popover.ts"],"sourcesContent":["import { InjectionToken, TemplateRef } from \"@angular/core\";\n\nexport const POPOVER_CONTENT = new InjectionToken<TemplateRef<any>>('PopoverContent');","import { InjectionToken } from '@angular/core';\n\n/** The dom id assigned to the rendered popover dialog so the trigger can point at it via aria-controls. */\nexport const POPOVER_ID = new InjectionToken<string>('POPOVER_ID');\n","import { Injectable, signal } from '@angular/core';\n\n/**\n * Component-scoped state shared between BsPopoverComponent (the dialog renderer)\n * and the bsPopoverHeader / bsPopoverBody directives applied to the user's\n * template. Provides the ids for aria-labelledby and aria-describedby.\n */\n@Injectable()\nexport class BsPopoverContextService {\n readonly headerId = signal<string | null>(null);\n readonly bodyId = signal<string | null>(null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, Injector, input, TemplateRef } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { FadeInOutAnimation } from '@mintplayer/ng-animations';\nimport { Position } from '@mintplayer/ng-bootstrap';\nimport { BsOverlayFocusDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { POPOVER_CONTENT } from '../providers/popover-content.provider';\nimport { POPOVER_ID } from '../providers/popover-id.provider';\nimport { BsPopoverContextService } from '../services/popover-context.service';\n\n@Component({\n selector: 'bs-popover',\n templateUrl: './popover.component.html',\n styleUrls: ['./popover.component.scss'],\n imports: [NgTemplateOutlet, BsHasOverlayComponent, BsOverlayFocusDirective],\n animations: [FadeInOutAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [BsPopoverContextService],\n host: {\n '[class.position-relative]': 'true',\n },\n})\nexport class BsPopoverComponent {\n constructor() {\n // #452: the popover and transitions partials ship with this component, scoped to the elements it stamps (data-mps=\"popover\").\n useBootstrap(bootstrapPopover, bootstrapTransitions);\n }\n\n template = inject<TemplateRef<any>>(POPOVER_CONTENT);\n popoverId = inject(POPOVER_ID);\n context = inject(BsPopoverContextService);\n injector = inject(Injector);\n\n position = input<Position>('bottom');\n isVisible = input<boolean>(false);\n\n marginClass = computed(() => {\n switch (this.position()) {\n case 'top': return 'mb-2';\n case 'start': return 'me-2';\n case 'end': return 'ms-2';\n default: return 'mt-2';\n }\n });\n\n positionClass = computed(() => `bs-popover-${this.position()}`);\n}\n","@if (isVisible()) {\n <div data-mps=\"popover\" class=\"popover position-relative fade show\"\n role=\"dialog\"\n [bsOverlayFocus]=\"isVisible()\"\n tabindex=\"-1\"\n [id]=\"popoverId\"\n [attr.aria-labelledby]=\"context.headerId()\"\n [attr.aria-describedby]=\"context.bodyId()\"\n [class]=\"[marginClass(), positionClass()]\"\n [@fadeInOut]>\n <ng-container *ngTemplateOutlet=\"template; injector: injector\"></ng-container>\n <div data-mps=\"popover\" class=\"popover-arrow position-absolute\" aria-hidden=\"true\"></div>\n <bs-has-overlay></bs-has-overlay>\n </div>\n}\n","import { ComponentPortal } from \"@angular/cdk/portal\";\nimport { InjectionToken, Injector } from \"@angular/core\";\n\nexport const PORTAL_FACTORY = new InjectionToken<(injector: Injector) => ComponentPortal<any>>('PopoverPortalFactory');","import { ConnectedPosition, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { Position } from '@mintplayer/ng-bootstrap';\nimport { AfterViewInit, ComponentRef, Directive, ElementRef, Host, inject, Injector, input, OnDestroy, signal, SkipSelf, TemplateRef, computed, effect } from '@angular/core';\nimport { BsIdService, BsOverlayStackService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsPopoverComponent } from '../../component/popover.component';\nimport { POPOVER_CONTENT } from '../../providers/popover-content.provider';\nimport { POPOVER_ID } from '../../providers/popover-id.provider';\nimport { PORTAL_FACTORY } from '../../providers/portal-factory.provider';\n\n@Directive({\n selector: '*[bsPopover]',\n providers: [{\n provide: PORTAL_FACTORY,\n useValue: (injector: Injector) => {\n return new ComponentPortal(BsPopoverComponent, null, injector);\n }\n }],\n host: {\n '(document:keydown.escape)': 'onEscape()',\n },\n})\nexport class BsPopoverDirective implements AfterViewInit, OnDestroy {\n\n private overlay = inject(Overlay);\n private templateRef = inject(TemplateRef<any>);\n private parentInjector = inject(Injector);\n private portalFactory = inject(PORTAL_FACTORY);\n private parent = inject(ElementRef, { host: true, skipSelf: true });\n private ids = inject(BsIdService);\n private overlayStack = inject(BsOverlayStackService);\n private readonly popoverId = this.ids.next('bs-popover');\n private stackToken: symbol | null = null;\n\n bsPopover = input<Position>('bottom');\n updatePosition = input(false);\n\n private localInjector: Injector | null = null;\n private portal: ComponentPortal<any> | null = null;\n private overlayRef: OverlayRef | null = null;\n private component: ComponentRef<BsPopoverComponent> | null = null;\n isVisible = signal<boolean>(false);\n\n connectedPosition = computed<ConnectedPosition>(() => {\n const position = this.bsPopover();\n switch (position) {\n case 'top':\n return {\n originX: \"center\",\n originY: \"top\",\n overlayX: \"center\",\n overlayY: \"bottom\"\n };\n case 'start':\n return {\n originX: \"start\",\n originY: \"center\",\n overlayX: \"end\",\n overlayY: \"center\",\n };\n case 'end':\n return {\n originX: \"end\",\n originY: \"center\",\n overlayX: \"start\",\n overlayY: \"center\"\n };\n default:\n return {\n originX: \"center\",\n originY: \"bottom\",\n overlayX: \"center\",\n overlayY: \"top\"\n };\n }\n });\n\n constructor() {\n effect(() => {\n const position = this.bsPopover();\n if (this.component) {\n this.component.setInput('position', position);\n }\n });\n\n effect(() => {\n const isVisible = this.isVisible();\n if (this.component) {\n this.component.setInput('isVisible', isVisible);\n }\n this.parent.nativeElement.setAttribute('aria-expanded', isVisible ? 'true' : 'false');\n\n if (isVisible && this.stackToken === null) {\n this.stackToken = this.overlayStack.push();\n } else if (!isVisible && this.stackToken !== null) {\n this.overlayStack.release(this.stackToken);\n this.stackToken = null;\n }\n });\n\n effect(() => {\n const connectedPosition = this.connectedPosition();\n if (this.overlayRef) {\n setTimeout(() => {\n this.overlayRef?.updatePositionStrategy(this.overlay.position()\n .flexibleConnectedTo(this.parent)\n .withPositions([connectedPosition]));\n }, 20);\n }\n });\n }\n\n ngAfterViewInit() {\n const connectedPosition = this.connectedPosition();\n this.localInjector = Injector.create({\n providers: [\n { provide: POPOVER_CONTENT, useValue: this.templateRef },\n { provide: POPOVER_ID, useValue: this.popoverId },\n ],\n parent: this.parentInjector\n });\n this.portal = this.portalFactory(this.localInjector);\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy: this.overlay.position()\n .flexibleConnectedTo(this.parent)\n .withPositions([connectedPosition]),\n });\n this.component = this.overlayRef.attach<BsPopoverComponent>(this.portal);\n this.component.setInput('position', this.bsPopover());\n\n // Trigger ARIA: identifies the trigger as a disclosure that opens a dialog.\n this.parent.nativeElement.setAttribute('aria-haspopup', 'dialog');\n this.parent.nativeElement.setAttribute('aria-controls', this.popoverId);\n this.parent.nativeElement.setAttribute('aria-expanded', 'false');\n\n /* addEventListener rather than the .onclick property — the property write\n silently CLOBBERED any click handler the consumer had on their trigger. */\n const toggle = () => {\n if (this.updatePosition()) {\n this.overlayRef?.updatePosition();\n }\n this.isVisible.set(!this.isVisible());\n };\n this.parent.nativeElement.addEventListener('click', toggle);\n\n // A popover trigger on a non-focusable element (span, div, icon) could not\n // be opened by keyboard at all. Make it a real button-like control; native\n // buttons/links are left exactly as they are.\n const el = this.parent.nativeElement as HTMLElement;\n const nativelyFocusable = el.matches('button, a[href], input, select, textarea, [tabindex]');\n if (!nativelyFocusable) {\n el.setAttribute('tabindex', '0');\n if (!el.hasAttribute('role')) el.setAttribute('role', 'button');\n el.addEventListener('keydown', (ev: KeyboardEvent) => {\n if (ev.key === 'Enter' || ev.key === ' ') {\n ev.preventDefault();\n toggle();\n }\n });\n }\n }\n\n onEscape() {\n if (this.isVisible() && this.stackToken !== null && this.overlayStack.isTop(this.stackToken)) {\n this.isVisible.set(false);\n }\n }\n\n ngOnDestroy() {\n if (this.stackToken !== null) {\n this.overlayStack.release(this.stackToken);\n this.stackToken = null;\n }\n if (this.overlayRef) {\n this.overlayRef.detach();\n this.overlayRef.dispose();\n this.overlayRef = null;\n }\n }\n}\n","import { Directive } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';\n\n@Directive({\n selector: '[bsPopoverBody]',\n host: {\n '[attr.data-mps]': '\"popover\"',\n '[class.popover-body]': 'true',\n },\n})\nexport class BsPopoverBodyDirective {\n constructor() {\n // #452: the popover partial ships with this component, scoped to the elements it stamps (data-mps=\"popover\").\n useBootstrap(bootstrapPopover);\n }\n\n}\n","import { Directive } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';\n\n@Directive({\n selector: '[bsPopoverHeader]',\n host: {\n '[attr.data-mps]': '\"popover\"',\n '[class.popover-header]': 'true',\n },\n})\nexport class BsPopoverHeaderDirective {\n constructor() {\n // #452: the popover partial ships with this component, scoped to the elements it stamps (data-mps=\"popover\").\n useBootstrap(bootstrapPopover);\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAEO,MAAM,eAAe,GAAG,IAAI,cAAc,CAAmB,gBAAgB,CAAC;;ACArF;AACO,MAAM,UAAU,GAAG,IAAI,cAAc,CAAS,YAAY,CAAC;;ACDlE;;;;AAIG;MAEU,uBAAuB,CAAA;AADpC,IAAA,WAAA,GAAA;QAEW,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAgB,IAAI;qFAAC;QACtC,IAAA,CAAA,MAAM,GAAG,MAAM,CAAgB,IAAI;mFAAC;AAC9C,IAAA;8GAHY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAvB,uBAAuB,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC;;;MCkBY,kBAAkB,CAAA;AAC7B,IAAA,WAAA,GAAA;AAKA,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAmB,eAAe,CAAC;AACpD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,UAAU,CAAC;AAC9B,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,uBAAuB,CAAC;AACzC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAE3B,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAW,QAAQ;qFAAC;QACpC,IAAA,CAAA,SAAS,GAAG,KAAK,CAAU,KAAK;sFAAC;AAEjC,QAAA,IAAA,CAAA,WAAW,GAAG,QAAQ,CAAC,MAAK;AAC1B,YAAA,QA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AxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,IAAI,EAAE;AACJ,wBAAA,iBAAiB,EAAE,WAAW;AAC9B,wBAAA,wBAAwB,EAAE,MAAM;AACjC,qBAAA;AACF,iBAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-popover.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/popover/mintplayer-ng-bootstrap-popover.ts"],"sourcesContent":["// GENERATED from the popover manifest (popover-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { popoverPanelCore, type PopoverPanelInputs, popoverScopedStyles } from '@mintplayer/ui-core/popover';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';\n\n/** Bootstrap's popover panel, as the popover directive renders it; not used on its own. */\n@Component({\n selector: 'bs-popover-panel',\n templateUrl: './popover-panel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsPopoverPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The panel's id, which the trigger's `aria-controls` names. */\n readonly overlayId = input<PopoverPanelInputs['overlayId']>('');\n readonly side = input<PopoverPanelInputs['side']>('bottom');\n readonly shown = input<PopoverPanelInputs['shown'], unknown>(false, { transform: booleanAttribute });\n readonly heading = input<PopoverPanelInputs['heading']>(null);\n /** The trigger's id, naming the dialog when there is no title. */\n readonly triggerId = input<PopoverPanelInputs['triggerId']>(null);\n\n readonly #core = useCore(popoverPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), shown: this.shown(), heading: this.heading(), triggerId: this.triggerId() }), idPrefix: 'bs-popover-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'popover' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order }); useScopedStyles(bootstrapPopover.key, bootstrapPopover.css, { order: bootstrapPopover.order }); useScopedStyles('popover', popoverScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/popover/src/templates/popover-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"popover\" [mpProps]=\"p_view.arrow\"></div>\n@if (p_view.header) {\n <h3 data-mps=\"popover\" [mpProps]=\"p_view.header\">\n {{ p_view.title }}\n </h3>\n}\n<div data-mps=\"popover\" [mpProps]=\"p_view.body\">\n <ng-content />\n</div>\n","// GENERATED from the popover manifest (popover) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, input } from '@angular/core';\nimport { anchorElement, useCore, useOverlayComponent, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { popoverCore, type PopoverInputs, popoverScopedStyles } from '@mintplayer/ui-core/popover';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';\nimport { BsPopoverPanelComponent } from './popover-panel.component.generated';\n\n/**\n * A popover on the element: a click (or Enter / Space) toggles a non-modal dialog beside it. Escape, a press\n * outside it or focus leaving it closes it.\n */\n@Directive({ selector: '[bsPopover]' })\nexport class BsPopoverDirective {\n /** The side of the element it shows on; it flips when it does not fit. */\n readonly position = input<PopoverInputs['position'], PopoverInputs['position'] | ''>('bottom', { transform: (v: PopoverInputs['position'] | '') => (v === '' ? 'bottom' : v), alias: 'bsPopover' });\n /** The heading; it names the dialog. */\n readonly title = input<PopoverInputs['title']>(null, { alias: 'bsPopoverTitle' });\n\n /** The element the template sits in: the trigger. */\n readonly #anchor = anchorElement();\n protected readonly core = useCore(popoverCore, { inputs: () => ({ position: this.position(), title: this.title() }), idPrefix: 'bs-popover', element: this.#anchor, hostBag: (props) => props.anchor });\n\n constructor() {\n useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order }); useScopedStyles(bootstrapPopover.key, bootstrapPopover.css, { order: bootstrapPopover.order }); useScopedStyles('popover', popoverScopedStyles);\n useOverlayComponent(BsPopoverPanelComponent, () => this.core.props().overlay, this.#anchor);\n }\n}\n","// GENERATED from the popover manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsPopoverPanelComponent } from './popover-panel.component.generated';\nexport { BsPopoverDirective } from './popover.directive.generated';\n","// Generated from @mintplayer/ui-core/popover (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAOA;MAOa,uBAAuB,CAAA;AAYzB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAdS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAkC,EAAE;sFAAC;QACtD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA6B,QAAQ;iFAAC;QAClD,IAAA,CAAA,KAAK,GAAG,KAAK,CAAuC,KAAK,6EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC3F,IAAA,CAAA,OAAO,GAAG,KAAK,CAAgC,IAAI;oFAAC;;QAEpD,IAAA,CAAA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