@mintplayer/ng-bootstrap 21.32.0 → 21.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 (283) hide show
  1. package/package.json +1 -377
  2. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +0 -455
  3. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +0 -1
  4. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +0 -94
  5. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +0 -1
  6. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +0 -45
  7. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +0 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +0 -24
  9. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +0 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +0 -35
  11. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +0 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +0 -21
  13. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +0 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +0 -36
  15. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +0 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
  17. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
  18. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +0 -210
  19. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +0 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +0 -33
  21. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +0 -1
  22. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +0 -270
  23. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +0 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +0 -25
  25. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +0 -1
  26. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +0 -44
  27. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +0 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +0 -654
  29. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +0 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
  31. package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +0 -88
  33. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +0 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +0 -46
  35. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +0 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +0 -181
  37. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +0 -1
  38. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +0 -30
  39. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +0 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +0 -4101
  41. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +0 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -23
  43. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -195
  45. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +0 -326
  47. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +0 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +0 -62
  49. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +0 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +0 -38
  51. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +0 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +0 -135
  53. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +0 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +0 -25
  55. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +0 -1
  56. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +0 -34
  57. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +0 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +0 -41
  59. package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +0 -1
  60. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +0 -59
  61. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +0 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +0 -122
  63. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +0 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs +0 -4
  65. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs.map +0 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
  67. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
  68. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +0 -23
  69. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +0 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +0 -23
  71. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +0 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +0 -18
  73. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +0 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +0 -183
  75. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +0 -1
  76. package/fesm2022/mintplayer-ng-bootstrap-let.mjs +0 -46
  77. package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +0 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +0 -28
  79. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +0 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +0 -33
  81. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +0 -1
  82. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +0 -118
  83. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +0 -1
  84. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +0 -21
  85. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +0 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +0 -240
  87. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +0 -1
  88. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +0 -693
  89. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +0 -1
  90. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +0 -136
  91. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +0 -1
  92. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +0 -29
  93. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +0 -1
  94. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +0 -629
  95. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +0 -1
  96. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +0 -205
  97. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +0 -1
  98. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
  99. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
  100. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +0 -366
  101. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +0 -1
  102. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +0 -36
  103. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +0 -1
  104. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +0 -188
  105. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +0 -1
  106. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +0 -26
  107. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +0 -1
  108. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +0 -64
  109. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +0 -1
  110. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +0 -29
  111. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +0 -1
  112. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +0 -246
  113. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +0 -1
  114. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +0 -250
  115. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +0 -1
  116. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +0 -68
  117. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +0 -1
  118. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +0 -75
  119. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +0 -1
  120. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +0 -79
  121. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +0 -1
  122. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +0 -59
  123. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +0 -1
  124. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +0 -387
  125. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +0 -1
  126. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +0 -5016
  127. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +0 -1
  128. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +0 -237
  129. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +0 -1
  130. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +0 -120
  131. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +0 -1
  132. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +0 -194
  133. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +0 -1
  134. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +0 -213
  135. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +0 -1
  136. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +0 -205
  137. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +0 -1
  138. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +0 -52
  139. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +0 -1
  140. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +0 -76
  141. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +0 -1
  142. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +0 -30
  143. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +0 -1
  144. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +0 -26
  145. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +0 -1
  146. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +0 -25
  147. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +0 -1
  148. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +0 -46
  149. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +0 -1
  150. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +0 -124
  151. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +0 -1
  152. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +0 -40
  153. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +0 -1
  154. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +0 -1446
  155. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +0 -1
  156. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +0 -104
  157. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +0 -1
  158. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +0 -163
  159. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +0 -1
  160. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +0 -236
  161. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +0 -1
  162. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +0 -174
  163. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +0 -1
  164. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +0 -100
  165. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +0 -1
  166. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +0 -28
  167. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +0 -1
  168. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +0 -111
  169. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +0 -1
  170. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +0 -24
  171. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +0 -1
  172. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +0 -94
  173. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +0 -1
  174. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +0 -48
  175. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs.map +0 -1
  176. package/fesm2022/mintplayer-ng-bootstrap-virtual-datatable.mjs +0 -282
  177. package/fesm2022/mintplayer-ng-bootstrap-virtual-datatable.mjs.map +0 -1
  178. package/fesm2022/mintplayer-ng-bootstrap-web-components-a11y.mjs +0 -74
  179. package/fesm2022/mintplayer-ng-bootstrap-web-components-a11y.mjs.map +0 -1
  180. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler-core.mjs +0 -1356
  181. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler-core.mjs.map +0 -1
  182. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler.mjs +0 -5224
  183. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler.mjs.map +0 -1
  184. package/fesm2022/mintplayer-ng-bootstrap-web-components-splitter.mjs +0 -923
  185. package/fesm2022/mintplayer-ng-bootstrap-web-components-splitter.mjs.map +0 -1
  186. package/fesm2022/mintplayer-ng-bootstrap-web-components-tab-control.mjs +0 -553
  187. package/fesm2022/mintplayer-ng-bootstrap-web-components-tab-control.mjs.map +0 -1
  188. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +0 -34
  189. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +0 -1
  190. package/types/mintplayer-ng-bootstrap-a11y.d.ts +0 -196
  191. package/types/mintplayer-ng-bootstrap-accordion.d.ts +0 -39
  192. package/types/mintplayer-ng-bootstrap-alert.d.ts +0 -21
  193. package/types/mintplayer-ng-bootstrap-badge.d.ts +0 -12
  194. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +0 -14
  195. package/types/mintplayer-ng-bootstrap-button-group.d.ts +0 -9
  196. package/types/mintplayer-ng-bootstrap-button-type.d.ts +0 -12
  197. package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
  198. package/types/mintplayer-ng-bootstrap-calendar.d.ts +0 -57
  199. package/types/mintplayer-ng-bootstrap-card.d.ts +0 -15
  200. package/types/mintplayer-ng-bootstrap-carousel.d.ts +0 -121
  201. package/types/mintplayer-ng-bootstrap-close.d.ts +0 -10
  202. package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +0 -20
  203. package/types/mintplayer-ng-bootstrap-color-picker.d.ts +0 -236
  204. package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
  205. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +0 -21
  206. package/types/mintplayer-ng-bootstrap-copy.d.ts +0 -12
  207. package/types/mintplayer-ng-bootstrap-datatable.d.ts +0 -63
  208. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +0 -13
  209. package/types/mintplayer-ng-bootstrap-dock.d.ts +0 -419
  210. package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -8
  211. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -66
  212. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +0 -102
  213. package/types/mintplayer-ng-bootstrap-enhanced-paste.d.ts +0 -20
  214. package/types/mintplayer-ng-bootstrap-enum.d.ts +0 -17
  215. package/types/mintplayer-ng-bootstrap-file-upload.d.ts +0 -51
  216. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +0 -9
  217. package/types/mintplayer-ng-bootstrap-font-color.d.ts +0 -10
  218. package/types/mintplayer-ng-bootstrap-for.d.ts +0 -13
  219. package/types/mintplayer-ng-bootstrap-form.d.ts +0 -24
  220. package/types/mintplayer-ng-bootstrap-grid.d.ts +0 -50
  221. package/types/mintplayer-ng-bootstrap-has-id.d.ts +0 -5
  222. package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
  223. package/types/mintplayer-ng-bootstrap-has-property.d.ts +0 -10
  224. package/types/mintplayer-ng-bootstrap-in-list.d.ts +0 -11
  225. package/types/mintplayer-ng-bootstrap-input-group.d.ts +0 -8
  226. package/types/mintplayer-ng-bootstrap-instance-of.d.ts +0 -74
  227. package/types/mintplayer-ng-bootstrap-let.d.ts +0 -44
  228. package/types/mintplayer-ng-bootstrap-linify.d.ts +0 -10
  229. package/types/mintplayer-ng-bootstrap-list-group.d.ts +0 -14
  230. package/types/mintplayer-ng-bootstrap-markdown.d.ts +0 -33
  231. package/types/mintplayer-ng-bootstrap-marquee.d.ts +0 -9
  232. package/types/mintplayer-ng-bootstrap-modal.d.ts +0 -82
  233. package/types/mintplayer-ng-bootstrap-multi-range.d.ts +0 -170
  234. package/types/mintplayer-ng-bootstrap-multiselect.d.ts +0 -58
  235. package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +0 -13
  236. package/types/mintplayer-ng-bootstrap-navbar.d.ts +0 -189
  237. package/types/mintplayer-ng-bootstrap-navigation-lock.d.ts +0 -117
  238. package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
  239. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +0 -106
  240. package/types/mintplayer-ng-bootstrap-ordinal-number.d.ts +0 -12
  241. package/types/mintplayer-ng-bootstrap-pagination.d.ts +0 -40
  242. package/types/mintplayer-ng-bootstrap-parallax.d.ts +0 -11
  243. package/types/mintplayer-ng-bootstrap-placeholder.d.ts +0 -23
  244. package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +0 -13
  245. package/types/mintplayer-ng-bootstrap-popover.d.ts +0 -67
  246. package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +0 -64
  247. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +0 -27
  248. package/types/mintplayer-ng-bootstrap-range.d.ts +0 -28
  249. package/types/mintplayer-ng-bootstrap-rating.d.ts +0 -20
  250. package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +0 -36
  251. package/types/mintplayer-ng-bootstrap-resizable.d.ts +0 -89
  252. package/types/mintplayer-ng-bootstrap-ribbon.d.ts +0 -958
  253. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +0 -171
  254. package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +0 -36
  255. package/types/mintplayer-ng-bootstrap-searchbox.d.ts +0 -65
  256. package/types/mintplayer-ng-bootstrap-select.d.ts +0 -65
  257. package/types/mintplayer-ng-bootstrap-select2.d.ts +0 -61
  258. package/types/mintplayer-ng-bootstrap-shell.d.ts +0 -26
  259. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +0 -36
  260. package/types/mintplayer-ng-bootstrap-slugify.d.ts +0 -10
  261. package/types/mintplayer-ng-bootstrap-spinner.d.ts +0 -14
  262. package/types/mintplayer-ng-bootstrap-split-string.d.ts +0 -10
  263. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +0 -21
  264. package/types/mintplayer-ng-bootstrap-tab-control.d.ts +0 -50
  265. package/types/mintplayer-ng-bootstrap-table.d.ts +0 -24
  266. package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +0 -304
  267. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +0 -26
  268. package/types/mintplayer-ng-bootstrap-toast.d.ts +0 -67
  269. package/types/mintplayer-ng-bootstrap-toggle-button.d.ts +0 -57
  270. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +0 -29
  271. package/types/mintplayer-ng-bootstrap-treeview.d.ts +0 -44
  272. package/types/mintplayer-ng-bootstrap-trust-html.d.ts +0 -12
  273. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +0 -34
  274. package/types/mintplayer-ng-bootstrap-uc-first.d.ts +0 -10
  275. package/types/mintplayer-ng-bootstrap-user-agent.d.ts +0 -27
  276. package/types/mintplayer-ng-bootstrap-viewport.d.ts +0 -16
  277. package/types/mintplayer-ng-bootstrap-virtual-datatable.d.ts +0 -68
  278. package/types/mintplayer-ng-bootstrap-web-components-a11y.d.ts +0 -34
  279. package/types/mintplayer-ng-bootstrap-web-components-scheduler-core.d.ts +0 -914
  280. package/types/mintplayer-ng-bootstrap-web-components-scheduler.d.ts +0 -600
  281. package/types/mintplayer-ng-bootstrap-web-components-splitter.d.ts +0 -223
  282. package/types/mintplayer-ng-bootstrap-web-components-tab-control.d.ts +0 -95
  283. package/types/mintplayer-ng-bootstrap-word-count.d.ts +0 -10
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-navbar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar/navbar.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar/navbar.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-brand/navbar-brand.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-brand/navbar-brand.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-nav/navbar-nav.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-nav/navbar-nav.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-item/navbar-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-item/navbar-item.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-content/navbar-content.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-trigger/navbar-trigger.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/expand-button/expand-button.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/dropdown-toggle/dropdown-toggle.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/nav-link/nav-link.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/mintplayer-ng-bootstrap-navbar.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, PLATFORM_ID, signal, TemplateRef, viewChild } from '@angular/core';\nimport { isPlatformServer, NgTemplateOutlet } from '@angular/common';\nimport { BsContainerComponent } from '@mintplayer/ng-bootstrap/container';\nimport { BsUserAgentDirective } from '@mintplayer/ng-bootstrap/user-agent';\nimport { BsNoNoscriptDirective } from '@mintplayer/ng-bootstrap/no-noscript';\nimport { Breakpoint, Color } from '@mintplayer/ng-bootstrap';\nimport { BsIdService } from '@mintplayer/ng-bootstrap/a11y';\n\n@Component({\n selector: 'bs-navbar',\n templateUrl: './navbar.component.html',\n styleUrls: ['./navbar.component.scss'],\n imports: [NgTemplateOutlet, BsContainerComponent, BsUserAgentDirective, BsNoNoscriptDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(window:resize)': 'onWindowResize()',\n },\n})\nexport class BsNavbarComponent {\n\n private resizeTimeout: ReturnType<typeof setTimeout> | null = null;\n private ids = inject(BsIdService);\n private platformId = inject(PLATFORM_ID);\n\n /** True only during SSR — drives the noscript-friendly checkbox+label\n * toggler in the template. In the browser, even during hydration, this is\n * false so the original <button> renders.\n */\n readonly isServerSide = isPlatformServer(this.platformId);\n\n constructor() {\n this.onWindowResize();\n }\n\n onWindowResize() {\n this.isResizing.set(true);\n if (typeof window !== 'undefined') {\n this.windowWidth.set(window.innerWidth);\n }\n\n // Clear any existing timeout to debounce\n if (this.resizeTimeout) {\n clearTimeout(this.resizeTimeout);\n }\n\n // Reset isResizing after debounce period\n this.resizeTimeout = setTimeout(() => {\n this.isResizing.set(false);\n }, 300);\n }\n\n readonly nav = viewChild.required<ElementRef>('nav');\n autoclose = input(true);\n ariaLabel = input<string>('Main navigation');\n collapseId = input<string>(this.ids.next('bs-navbar-collapse'));\n /** Stable id for the noscript-friendly toggler-checkbox (label[for] target). */\n readonly togglerCheckboxId = this.ids.next('bs-navbar-toggler');\n\n expandButtonTemplate = signal<TemplateRef<any> | null>(null);\n\n isExpanded = signal<boolean>(false);\n windowWidth = signal<number | null>(null);\n isResizing = signal<boolean>(false);\n\n color = input<Color | null>(null);\n breakpoint = input<Breakpoint | null>('md');\n\n expandAt = computed(() => {\n const breakpoint = this.breakpoint();\n switch (breakpoint) {\n case 'xxl': return 1400;\n case 'xl': return 1200;\n case 'lg': return 992;\n case 'md': return 768;\n case 'sm': return 576;\n case 'xs': return 0;\n default: return null;\n }\n });\n\n isSmallMode = computed(() => {\n const expandAt = this.expandAt();\n const windowWidth = this.windowWidth();\n if (windowWidth === null) {\n return true;\n } else if (!expandAt) {\n return true;\n } else if (windowWidth >= expandAt) {\n return false;\n } else {\n return true;\n }\n });\n\n expandClass = computed(() => {\n const breakpoint = this.breakpoint();\n if (breakpoint === null) {\n return null;\n } else {\n return `navbar-expand-${breakpoint}`;\n }\n });\n\n wAutoClass = computed(() => {\n const breakpoint = this.breakpoint();\n if (breakpoint === null) {\n return null;\n } else {\n return `w-${breakpoint}-auto`;\n }\n });\n\n dNoneClass = computed(() => {\n const breakpoint = this.breakpoint();\n if (breakpoint === null) {\n return null;\n } else {\n return `d-${breakpoint}-none`;\n }\n });\n\n backgroundColorClass = computed(() => {\n const color = this.color();\n switch (color) {\n case Color.light:\n case null:\n return ['navbar-light'];\n default:\n return ['navbar-dark', `bg-${Color[color]}`];\n }\n });\n\n navClassList = computed(() => {\n const expandClass = this.expandClass();\n const backgroundColorClass = this.backgroundColorClass();\n const result: string[] = [];\n return result.concat(expandClass ?? [], ...backgroundColorClass);\n });\n\n toggleExpanded() {\n this.isExpanded.update(v => !v);\n }\n}\n","<bs-container>\n <nav #nav class=\"navbar position-fixed\" [class]=\"navClassList()\" bsUserAgent bsNoNoscript [attr.aria-label]=\"ariaLabel()\">\n <div class=\"container-fluid nav-wrapper\">\n <div class=\"d-flex w-100\" [class]=\"wAutoClass()\">\n <ng-content select=\"bs-navbar-brand\"></ng-content>\n <div class=\"flex-end d-flex tw\" [class]=\"dNoneClass()\">\n @if (isServerSide) {\n <!--\n SSR-only toggler: hidden checkbox + visible label.\n Works as a CSS-only toggle in noscript because:\n - The label[for=…] toggles the checkbox on click,\n regardless of browser focus-on-click behavior\n (Safari + macOS Chrome don't focus buttons on\n click, so a plain :focus-within rule fails).\n - The input is focusable (Tab + Space toggles it),\n so keyboard users get the same behavior.\n - The checkbox's :checked state drives a CSS rule\n on .navbar.noscript that overrides the SSR-baked\n height:0 the @slideUpDown void state emits.\n In the browser, isServerSide is false even during\n hydration so the @else branch's plain <button>\n renders and the JS click handler does the work.\n -->\n <input type=\"checkbox\"\n [id]=\"togglerCheckboxId\"\n class=\"navbar-toggler-checkbox visually-hidden\"\n [checked]=\"isExpanded()\"\n aria-label=\"Toggle navigation\"\n [attr.aria-expanded]=\"isExpanded()\"\n [attr.aria-controls]=\"collapseId()\" />\n <label\n [attr.for]=\"togglerCheckboxId\"\n class=\"align-self-center cursor-pointer mb-0\"\n [class.navbar-toggler]=\"!expandButtonTemplate()\"\n [class.bg-transparent]=\"expandButtonTemplate()\"\n [class.shadow-none]=\"expandButtonTemplate()\"\n [class.border-0]=\"expandButtonTemplate()\"\n aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"expandButtonTemplate() ?? defaultExpandButton; context: { $implicit: isExpanded() }\"></ng-container>\n </label>\n } @else {\n <button (click)=\"toggleExpanded()\"\n class=\"align-self-center\"\n [class.navbar-toggler]=\"!expandButtonTemplate()\"\n [class.bg-transparent]=\"expandButtonTemplate()\"\n [class.shadow-none]=\"expandButtonTemplate()\"\n [class.border-0]=\"expandButtonTemplate()\"\n type=\"button\"\n aria-label=\"Toggle navigation\"\n [attr.aria-expanded]=\"isExpanded()\"\n [attr.aria-controls]=\"collapseId()\">\n <ng-container *ngTemplateOutlet=\"expandButtonTemplate() ?? defaultExpandButton; context: { $implicit: isExpanded() }\"></ng-container>\n </button>\n }\n </div>\n </div>\n <div [id]=\"collapseId()\" style=\"display: contents;\">\n <ng-content></ng-content>\n </div>\n </div>\n </nav>\n</bs-container>\n\n<ng-template #defaultExpandButton>\n <span class=\"navbar-toggler-icon\" aria-hidden=\"true\"></span>\n</ng-template>\n","import { AfterContentChecked, Component, ElementRef, inject, input, ChangeDetectionStrategy} from '@angular/core';\n\n@Component({\n selector: 'bs-navbar-brand',\n templateUrl: './navbar-brand.component.html',\n styleUrls: ['./navbar-brand.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.mx-auto]': 'true',\n },\n})\nexport class BsNavbarBrandComponent implements AfterContentChecked {\n private element = inject(ElementRef);\n readonly routerLink = input<any[]>([]);\n\n ngAfterContentChecked() {\n const anchor = this.element.nativeElement.querySelector('a');\n if (anchor) {\n anchor.classList.add('nav-link');\n }\n }\n}\n","<span class=\"navbar-brand mx-auto mx-md-unset\">\n <ng-content></ng-content>\n</span>","import { ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { SlideUpDownAnimation } from '@mintplayer/ng-animations';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n@Component({\n selector: 'bs-navbar-nav',\n templateUrl: './navbar-nav.component.html',\n styleUrls: ['./navbar-nav.component.scss'],\n animations: [SlideUpDownAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(window:resize)': 'onWindowResize()',\n },\n})\nexport class BsNavbarNavComponent {\n\n bsNavbar = inject(BsNavbarComponent);\n\n windowWidth = signal<number | null>(null);\n isResizing = signal<boolean>(false);\n collapse = input<boolean>(true);\n\n private resizeTimeout: ReturnType<typeof setTimeout> | null = null;\n\n showNavs = computed(() => {\n const isExpanded = this.bsNavbar.isExpanded();\n const expandAt = this.bsNavbar.expandAt();\n const windowWidth = this.windowWidth();\n\n if (windowWidth === null) {\n return false;\n } else if (expandAt === null) {\n return isExpanded;\n } else if (windowWidth >= expandAt) {\n return true;\n } else {\n return isExpanded;\n }\n });\n\n constructor() {\n this.onWindowResize();\n }\n\n onWindowResize() {\n this.isResizing.set(true);\n if (typeof window !== 'undefined') {\n this.windowWidth.set(window.innerWidth);\n }\n\n // Clear any existing timeout to debounce\n if (this.resizeTimeout) {\n clearTimeout(this.resizeTimeout);\n }\n\n // Reset isResizing after debounce period\n this.resizeTimeout = setTimeout(() => {\n this.isResizing.set(false);\n }, 300);\n }\n}\n","<div class=\"navbar-collapse w-100 show\" [class.collapse]=\"collapse()\" [@slideUpDown]=\"showNavs()\" [@.disabled]=\"isResizing()\">\n <ul class=\"navbar-nav mr-auto\">\n <ng-content></ng-content>\n </ul>\n</div>\n","import { AfterContentChecked, AfterContentInit, ChangeDetectionStrategy, Component, computed, contentChildren, DestroyRef, effect, ElementRef, forwardRef, inject, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\nimport { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';\n\n/** Duration of the navbar collapse animation in milliseconds */\nconst NAVBAR_ANIMATION_DURATION = 300;\n\n@Component({\n selector: 'bs-navbar-item',\n templateUrl: './navbar-item.component.html',\n styleUrls: ['./navbar-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarItemComponent implements AfterContentInit, AfterContentChecked {\n\n private navbar = inject(BsNavbarComponent);\n element = inject(ElementRef);\n private destroy = inject(DestroyRef);\n private platformId = inject(PLATFORM_ID);\n private router = inject(Router);\n parentDropdown = inject(forwardRef(() => BsNavbarDropdownComponent), { optional: true });\n\n readonly hasDropdown = computed(() => this.dropdowns().length > 0);\n anchorTag: HTMLAnchorElement | null = null;\n readonly dropdowns = contentChildren<BsNavbarDropdownComponent>(forwardRef(() => BsNavbarDropdownComponent));\n\n constructor() {\n // Effect handles future isSmallMode changes after content is initialized\n effect(() => {\n const isSmallMode = this.navbar.isSmallMode();\n this.dropdowns().forEach((dropdown) => {\n dropdown.showInOverlay = !isSmallMode;\n });\n });\n }\n\n ngAfterContentInit() {\n // Set initial showInOverlay state after content children are resolved\n // This is needed because the effect runs before @ContentChildren is populated\n const isSmallMode = this.navbar.isSmallMode();\n this.dropdowns().forEach((dropdown) => {\n dropdown.showInOverlay = !isSmallMode;\n });\n }\n\n ngAfterContentChecked() {\n this.anchorTag = this.element.nativeElement.querySelector('li a');\n\n // Add nav-link or dropdown-item class (previously done by NavLinkDirective)\n if (this.anchorTag && !this.anchorTag.getAttribute('nav-link-class-added')) {\n if (this.parentDropdown === null) {\n this.anchorTag.classList.add('nav-link');\n } else {\n this.anchorTag.classList.add('dropdown-item');\n }\n this.anchorTag.classList.add('cursor-pointer');\n this.anchorTag.setAttribute('nav-link-class-added', 'true');\n }\n\n if (this.hasDropdown()) {\n if (this.anchorTag) {\n this.anchorTag.classList.add('dropdown-toggle');\n\n if (isPlatformServer(this.platformId)) {\n this.anchorTag.href = 'javascript:;';\n }\n\n if (!this.anchorTag.getAttribute('close-init-b')) {\n this.anchorTag.setAttribute('close-init-b', '1');\n this.anchorTag.addEventListener('click', (ev: MouseEvent) => {\n ev.preventDefault();\n this.dropdowns().forEach((dropdown) => {\n const newVisible = !dropdown.isVisible();\n dropdown.isVisible.set(newVisible);\n if (!newVisible) {\n dropdown.childDropdowns().forEach((child) => child.isVisible.set(false));\n }\n });\n return false;\n });\n }\n }\n } else {\n\n if ((this.dropdowns().length === 0) && this.anchorTag && !this.anchorTag.getAttribute('close-init-a')) {\n this.anchorTag.setAttribute('close-init-a', '1');\n this.anchorTag.addEventListener('click', (ev: MouseEvent) => {\n let d = this.parentDropdown;\n while (d && d.autoclose()) {\n d.isVisible.set(false);\n d = d.parentDropdown;\n }\n if (this.navbar.autoclose()) {\n // Get the fragment from the link's href\n const href = this.anchorTag?.getAttribute('href') ?? '';\n const fragmentMatch = href.match(/#(.+)$/);\n const fragment = fragmentMatch ? fragmentMatch[1] : null;\n\n // Always collapse the navbar\n this.navbar.isExpanded.set(false);\n\n // If in small mode with a fragment, prevent default navigation and\n // navigate after the collapse animation completes to avoid double scroll\n if (this.navbar.isSmallMode() && fragment) {\n ev.preventDefault();\n\n // After the collapse animation completes, navigate to the anchor\n // This ensures correct scroll position since navbar height is stable\n setTimeout(() => {\n this.router.navigateByUrl(href);\n }, NAVBAR_ANIMATION_DURATION);\n }\n }\n });\n }\n\n }\n }\n}\n","<li [class.nav-item]=\"parentDropdown === null\" [class.dropdown]=\"(dropdowns().length > 0) && (parentDropdown === null)\" [class.dropend]=\"(dropdowns().length > 0) && (parentDropdown !== null)\">\n <ng-content></ng-content>\n</li>","import { DOCUMENT, isPlatformServer } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, contentChildren, computed, DestroyRef, effect, ElementRef, forwardRef, inject, Injector, input, OnDestroy, PLATFORM_ID, signal, SkipSelf, viewChild } from '@angular/core';\nimport { ClickOutsideDirective } from '@mintplayer/ng-click-outside';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsNoNoscriptDirective } from '@mintplayer/ng-bootstrap/no-noscript';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\nimport { BsNavbarItemComponent } from '../navbar-item/navbar-item.component';\nimport { DomPortal } from '@angular/cdk/portal';\nimport { OverlayRef } from '@angular/cdk/overlay';\n\n@Component({\n selector: 'bs-navbar-dropdown',\n templateUrl: './navbar-dropdown.component.html',\n styleUrls: ['./navbar-dropdown.component.scss'],\n imports: [BsHasOverlayComponent, BsNoNoscriptDirective, ClickOutsideDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarDropdownComponent implements OnDestroy {\n\n private navbar = inject(BsNavbarComponent);\n parentDropdown = inject(BsNavbarDropdownComponent, { skipSelf: true, optional: true });\n navbarItem = inject(forwardRef(() => BsNavbarItemComponent), { host: true });\n element = inject<ElementRef<HTMLElement>>(ElementRef);\n private injector = inject(Injector);\n private document = inject(DOCUMENT);\n private platformId = inject(PLATFORM_ID);\n\n private readonly isAttached = signal<boolean>(false);\n private readonly isDestroyed = signal<boolean>(false);\n private domPortal?: DomPortal;\n private overlay?: OverlayRef;\n private pendingShowInOverlay: boolean | null = null;\n\n autoclose = input(true);\n readonly dropdownElement = viewChild.required<ElementRef<HTMLDivElement>>('dd');\n isBrowser = !isPlatformServer(this.platformId);\n\n isVisible = signal<boolean>(false);\n topPos = signal<number | null>(null);\n\n /**\n * Top-level dropdowns render in-place; only nested submenus go through the\n * CDK overlay. The visible-flash bug only affects the overlay path.\n */\n private readonly isOverlayMounted = computed(() => !!this.parentDropdown && this.isBrowser);\n\n /**\n * `.show` is gated on this for overlay-mounted submenus so the user never\n * sees the menu at its stale top-left position. False until updatePosition\n * has run at least once for the current open cycle; reset on close.\n */\n private readonly isPositioned = signal<boolean>(false);\n\n /** What `[class.show]` actually binds to. */\n readonly showClass = computed(() =>\n this.isOverlayMounted()\n ? this.isVisible() && this.isPositioned()\n : this.isVisible()\n );\n\n maxHeight = computed(() => {\n const topPos = this.topPos();\n const w: Window | null = this.document.defaultView;\n if (!topPos) {\n return null;\n } else if (w && this.dropdownElement()) {\n const style = w.getComputedStyle(this.dropdownElement().nativeElement);\n return `calc(100vh - ${topPos}px - ${style.getPropertyValue('padding-top')} - ${style.getPropertyValue('padding-bottom')})`;\n } else {\n return null;\n }\n });\n\n maxHeightOrNull = computed(() => {\n const maxHeight = this.maxHeight();\n const isSmallMode = this.navbar.isSmallMode();\n if (isSmallMode) {\n return null;\n } else if (isPlatformServer(this.platformId)) {\n return this.parentDropdown ? null : maxHeight;\n } else {\n return maxHeight;\n }\n });\n\n constructor() {\n effect(() => {\n const isVisible = this.isVisible();\n if (isVisible) {\n // Overlay was attached at ngAfterContentInit when the connected\n // navbar-item was still inside a closed parent dropdown — its\n // getBoundingClientRect was (0, 0) and the overlay cached top-left.\n // Compute the real position now, before .show flips on, so the user\n // never sees the menu painted at the stale top-left.\n try { this.overlay?.updatePosition(); }\n catch (ex) { }\n this.isPositioned.set(true);\n this.topPos.set(this.element.nativeElement.offsetTop);\n } else {\n this.isPositioned.set(false);\n this.topPos.set(null);\n }\n });\n\n if (!!this.parentDropdown && this.isBrowser) {\n import('@angular/cdk/overlay').then(({ Overlay }) => {\n // Guard against accessing injector after component is destroyed\n if (this.isDestroyed()) {\n return;\n }\n const overlayService = this.injector.get(Overlay);\n this.domPortal = new DomPortal(this.element);\n this.overlay = overlayService.create({\n positionStrategy: overlayService.position()\n .flexibleConnectedTo(this.navbarItem.element)\n .withPositions([\n { originX: 'end', originY: 'top', overlayX: 'start', overlayY: 'top', offsetX: -9, offsetY: -9 }\n ])\n });\n\n // Apply pending showInOverlay state if it was set before overlay was ready\n if (this.pendingShowInOverlay !== null) {\n const pending = this.pendingShowInOverlay;\n this.pendingShowInOverlay = null;\n this.showInOverlay = pending;\n }\n });\n }\n }\n\n ngOnDestroy() {\n this.isDestroyed.set(true);\n this.overlay?.dispose();\n }\n\n public set showInOverlay(value: boolean) {\n if (this.overlay && this.domPortal) {\n if (value && !this.isAttached()) {\n this.overlay.attach(this.domPortal);\n this.isAttached.set(true);\n }\n if (!value && this.isAttached()) {\n this.overlay.detach();\n this.isAttached.set(false);\n }\n } else {\n // Store the value to apply once the overlay is ready\n this.pendingShowInOverlay = value;\n }\n }\n\n get elementsToExclude() {\n return [this.navbarItem.anchorTag].filter((a) => a).map((a) => <HTMLElement>a);\n }\n\n readonly childDropdowns = contentChildren<BsNavbarDropdownComponent>(forwardRef(() => BsNavbarDropdownComponent), { descendants: true });\n}\n","<bs-has-overlay></bs-has-overlay>\n<ul #dd class=\"dropdown-menu me-3\" [class.show]=\"showClass()\" [class.submenu]=\"!!parentDropdown\" [class.overflow-y-auto]=\"isBrowser\" [style.max-height]=\"maxHeightOrNull()\" bsNoNoscript (clickOutside)=\"isVisible.set(false)\" [exclude]=\"elementsToExclude\" aria-labelledby=\"navbarDropdown\">\n <ng-content></ng-content>\n</ul>\n\n<!--\n - Working demo: https://codepen.io/agop/pen/VwwMGR\n - Location must be set through javascript\n - bsNoScript => If noscript, 2nd-level submenus must be shown inside the 1st-level submenu\n -->\n <!--\n - Another option: https://stackblitz.com/edit/web-platform-vmsr4l?file=index.html\n - But this doesn't seem to work here\n -->\n","import { isPlatformServer } from '@angular/common';\nimport { AfterViewInit, Directive, effect, ElementRef, inject, input, OnDestroy, PLATFORM_ID, signal } from '@angular/core';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n@Directive({\n selector: '[bsNavbarContent]',\n})\nexport class BsNavbarContentDirective implements AfterViewInit, OnDestroy {\n\n private element = inject(ElementRef);\n private platformId = inject(PLATFORM_ID);\n\n navbar = input<BsNavbarComponent | undefined>(undefined, { alias: 'bsNavbarContent' });\n private viewInit = signal<boolean>(false);\n resizeObserver: ResizeObserver | null = null;\n initialPadding = 0;\n\n constructor() {\n effect(() => {\n const viewInit = this.viewInit();\n const navbar = this.navbar();\n\n if (viewInit && navbar) {\n if (isPlatformServer(this.platformId)) {\n this.element.nativeElement.style.paddingTop = (this.initialPadding + 58) + 'px';\n } else {\n this.resizeObserver = new ResizeObserver((entries) => {\n const height = navbar.nav().nativeElement.offsetHeight;\n this.element.nativeElement.style.paddingTop = (this.initialPadding + height) + 'px';\n });\n\n const px = getComputedStyle(this.element.nativeElement).getPropertyValue('padding-top');\n const pt = parseInt(px.replace(/px$/, ''));\n this.initialPadding = isNaN(pt) ? 0 : pt;\n if (this.resizeObserver && navbar) {\n this.resizeObserver.observe(navbar.nav().nativeElement);\n }\n }\n }\n });\n }\n\n ngAfterViewInit() {\n this.viewInit.set(true);\n }\n\n ngOnDestroy() {\n const navbar = this.navbar();\n if (navbar) {\n this.resizeObserver?.unobserve(navbar.nav().nativeElement);\n }\n }\n}\n","import { Directive, computed, inject, input, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NavigationEnd, Router } from '@angular/router';\nimport { filter } from 'rxjs/operators';\n\n/**\n * Marks a navbar dropdown trigger anchor. Replaces both `routerLink` and\n * `routerLinkActive` on a trigger element: toggles the active CSS class when a\n * sub-route under the bound URL is active, but does NOT navigate on click\n * (which `routerLink` would do via its own host listener, even when other\n * click handlers `preventDefault`).\n *\n * @example\n * ```html\n * <a bsNavbarTrigger=\"/overlays\">Overlays</a>\n * ```\n *\n * Items inside the dropdown panel still use real `[routerLink]`s for\n * navigation. Use this directive only for the trigger anchor that opens the\n * dropdown panel.\n */\n@Directive({\n selector: '[bsNavbarTrigger]',\n host: {\n 'href': 'javascript:void(0)',\n '[class.active]': 'isActive()',\n '(click)': '$event.preventDefault()',\n },\n})\nexport class BsNavbarTriggerDirective {\n private router = inject(Router);\n\n readonly bsNavbarTrigger = input.required<string | readonly string[]>();\n\n private currentUrl = signal(this.router.url);\n\n private targetUrl = computed(() => {\n const v = this.bsNavbarTrigger();\n if (Array.isArray(v)) {\n // join with '/', collapse double slashes; ensure leading slash\n const joined = (v as readonly string[]).join('/').replace(/\\/+/g, '/');\n return joined.startsWith('/') ? joined : '/' + joined;\n }\n return v as string;\n });\n\n readonly isActive = computed(() => {\n const url = this.currentUrl();\n const target = this.targetUrl();\n return url === target || url.startsWith(target + '/');\n });\n\n constructor() {\n this.router.events.pipe(\n filter(ev => ev instanceof NavigationEnd),\n takeUntilDestroyed(),\n ).subscribe(() => this.currentUrl.set(this.router.url));\n }\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n@Directive({\n selector: '[bsExpandButton]',\n})\nexport class BsExpandButtonDirective {\n\n constructor() {\n const navbar = inject(BsNavbarComponent);\n const templateRef = inject(TemplateRef);\n navbar.expandButtonTemplate.set(templateRef);\n }\n \n public static ngTemplateContextGuard(\n dir: BsExpandButtonDirective,\n ctx: any\n ): ctx is BsExpandButtonContext {\n return true;\n }\n\n}\n\nexport class BsExpandButtonContext {\n public $implicit: boolean = null!;\n}","import { ContentChildren, Directive, ElementRef, forwardRef, inject, QueryList } from '@angular/core';\nimport { BsNavbarItemComponent } from '../navbar-item/navbar-item.component';\nimport { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';\n\n@Directive({\n // selector: 'bs-navbar-item > a[routerLink]',\n selector: 'bs-navbar-item',\n queries: {\n childDropdowns: new ContentChildren(forwardRef(() => BsNavbarDropdownComponent))\n },\n})\nexport class DropdownToggleDirective {\n\n private elementRef = inject<ElementRef<HTMLAnchorElement>>(ElementRef);\n private bsNavbarItem = inject<BsNavbarItemComponent>(forwardRef(() => BsNavbarItemComponent));\n\n childDropdowns!: QueryList<BsNavbarDropdownComponent>;\n}","import { Directive, ElementRef, forwardRef, inject } from '@angular/core';\nimport { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n@Directive({\n selector: 'bs-navbar-item > li > a',\n // Below selector doesn't work well either (does not select the github link)\n // selector: 'bs-navbar-item > a[routerLink]'\n // Below selector seems to target other a's that aren't even remotely inside a bs-navbar-item\n // selector: 'bs-navbar-item:first-child > a'\n host: {\n '[class.cursor-pointer]': 'cursorPointer',\n },\n})\nexport class NavLinkDirective {\n\n private elementRef = inject<ElementRef<HTMLAnchorElement>>(ElementRef);\n private parentNavbar = inject(BsNavbarComponent, { optional: true });\n private parentDropdown = inject<BsNavbarDropdownComponent>(forwardRef(() => BsNavbarDropdownComponent), { optional: true });\n\n cursorPointer: boolean;\n\n constructor() {\n if (this.parentNavbar) {\n if (this.parentDropdown == null) {\n this.elementRef.nativeElement.classList.add('nav-link');\n } else {\n this.elementRef.nativeElement.classList.add('dropdown-item');\n }\n }\n this.cursorPointer = !!this.parentNavbar;\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAkBa,iBAAiB,CAAA;AAY5B,IAAA,WAAA,GAAA;QAVQ,IAAA,CAAA,aAAa,GAAyC,IAAI;AAC1D,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,WAAW,CAAC;AACzB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAExC;;;AAGG;AACM,QAAA,IAAA,CAAA,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC;AAuBhD,QAAA,IAAA,CAAA,GAAG,GAAG,SAAS,CAAC,QAAQ,CAAa,KAAK,CAAC;AACpD,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,IAAI,gFAAC;AACvB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,iBAAiB,gFAAC;AAC5C,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,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC5D,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAA4B,UAAU,CAAC,MAAM,yBAAyB,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAKzH,QAAA,IAAI,IAAI,CAAC,YAAY,EAAE;AACrB,YAAA,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;gBAC/B,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC;YACzD;iBAAO;gBACL,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC;YAC9D;QACF;QACA,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,YAAY;IAC1C;+GAjBW,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sBAAA,EAAA,eAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAV5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yBAAyB;;;;;AAKnC,oBAAA,IAAI,EAAE;AACJ,wBAAA,wBAAwB,EAAE,eAAe;AAC1C,qBAAA;AACF,iBAAA;;;ACbD;;AAEG;;;;"}
@@ -1,205 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, PLATFORM_ID, DestroyRef, isDevMode, Injectable, input, Directive, makeEnvironmentProviders } from '@angular/core';
3
- import { isPlatformBrowser } from '@angular/common';
4
- import { ROUTER_CONFIGURATION, provideRouter, withRouterConfig } from '@angular/router';
5
- import { isObservable, firstValueFrom, take, defaultIfEmpty } from 'rxjs';
6
-
7
- /** Confirm hook used by the directive's fallback path (canExit undefined + exitMessage set). */
8
- const BS_NAVIGATION_LOCK_CONFIRM = new InjectionToken('BS_NAVIGATION_LOCK_CONFIRM', {
9
- providedIn: 'root',
10
- factory: () => (message) => typeof window === 'undefined' ? true : window.confirm(message),
11
- });
12
- class BsNavigationLockService {
13
- constructor() {
14
- this.platformId = inject(PLATFORM_ID);
15
- this.destroy = inject(DestroyRef);
16
- this.locks = new Set();
17
- this.pending = null;
18
- if (isDevMode()) {
19
- // canceledNavigationResolution is needed to restore the history stack
20
- // on popstate-cancel. Default 'replace' loses the popped entry. The
21
- // value is set via ROUTER_CONFIGURATION (typically through
22
- // withRouterConfig in provideRouter); read it directly from the token
23
- // since Router.options is private in the public type.
24
- const config = inject(ROUTER_CONFIGURATION, { optional: true });
25
- if (config?.canceledNavigationResolution !== 'computed') {
26
- console.warn('[BsNavigationLockService] Router.canceledNavigationResolution is not "computed". ' +
27
- 'Pass withRouterConfig({ canceledNavigationResolution: "computed" }) to provideRouter ' +
28
- 'so popstate cancellations restore the history stack correctly.');
29
- }
30
- }
31
- if (isPlatformBrowser(this.platformId)) {
32
- const handler = (ev) => this.onBeforeUnload(ev);
33
- window.addEventListener('beforeunload', handler);
34
- this.destroy.onDestroy(() => window.removeEventListener('beforeunload', handler));
35
- }
36
- }
37
- /** Internal — called by directive on init. */
38
- register(lock) {
39
- this.locks.add(lock);
40
- }
41
- /** Internal — called by directive on destroy. */
42
- unregister(lock) {
43
- this.locks.delete(lock);
44
- }
45
- /**
46
- * Programmatic check: ask every active lock if exit is OK.
47
- * Resolves true only when every lock allows exit. Short-circuits on first false.
48
- *
49
- * Re-entrant calls while a check is already in flight return the same Promise
50
- * — only the first `reason` is consulted. This dedups both router-driven
51
- * fires (e.g. `canMatch` running once) and programmatic call sites that
52
- * might invoke `requestExit` multiple times in the same tick.
53
- */
54
- requestExit(reason) {
55
- if (this.pending)
56
- return this.pending;
57
- this.pending = this.doRequestExit(reason);
58
- return this.pending;
59
- }
60
- async doRequestExit(reason) {
61
- try {
62
- for (const lock of this.locks) {
63
- const ok = await this.normalise(lock.requestCanExit(reason));
64
- if (!ok)
65
- return false;
66
- }
67
- return true;
68
- }
69
- finally {
70
- this.pending = null;
71
- }
72
- }
73
- onBeforeUnload(ev) {
74
- // PRD §5.4 — sync-first, browser does NOT await async results.
75
- for (const lock of this.locks) {
76
- const result = lock.requestCanExit();
77
- if (typeof result === 'boolean') {
78
- if (!result) {
79
- ev.preventDefault();
80
- ev.returnValue = '';
81
- return;
82
- }
83
- continue;
84
- }
85
- // Promise / Observable — safe default: prompt the browser confirm.
86
- ev.preventDefault();
87
- ev.returnValue = '';
88
- return;
89
- }
90
- }
91
- normalise(r) {
92
- if (typeof r === 'boolean')
93
- return Promise.resolve(r);
94
- if (isObservable(r))
95
- return firstValueFrom(r.pipe(take(1), defaultIfEmpty(true)));
96
- return r;
97
- }
98
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsNavigationLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
99
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsNavigationLockService, providedIn: 'root' }); }
100
- }
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsNavigationLockService, decorators: [{
102
- type: Injectable,
103
- args: [{ providedIn: 'root' }]
104
- }], ctorParameters: () => [] });
105
-
106
- /**
107
- * Marks the host as a navigation-blocker. Drop `[bsNavigationLock]` on a real
108
- * element (typically the form). Set `[canExit]` to a boolean, function, or
109
- * Observable. The service consults every active lock on Router navigation
110
- * (via `bsNavigationLockGuard` registered at the root) and on `beforeunload`.
111
- *
112
- * Fallback: if `canExit` is not set but `exitMessage` is, the directive uses
113
- * the injected `BS_NAVIGATION_LOCK_CONFIRM` hook with that message.
114
- */
115
- class BsNavigationLockDirective {
116
- constructor() {
117
- this.destroy = inject(DestroyRef);
118
- this.service = inject(BsNavigationLockService);
119
- this.confirmFn = inject(BS_NAVIGATION_LOCK_CONFIRM);
120
- this.canExit = input(undefined, ...(ngDevMode ? [{ debugName: "canExit" }] : /* istanbul ignore next */ []));
121
- this.exitMessage = input(undefined, ...(ngDevMode ? [{ debugName: "exitMessage" }] : /* istanbul ignore next */ []));
122
- this.service.register(this);
123
- this.destroy.onDestroy(() => this.service.unregister(this));
124
- }
125
- requestCanExit(reason) {
126
- const canExit = this.canExit();
127
- if (canExit === undefined) {
128
- const msg = this.exitMessage();
129
- if (msg)
130
- return Promise.resolve(this.confirmFn(msg));
131
- return true;
132
- }
133
- if (typeof canExit === 'boolean')
134
- return canExit;
135
- if (typeof canExit === 'function')
136
- return canExit(reason);
137
- return canExit; // Observable<boolean>
138
- }
139
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsNavigationLockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
140
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: BsNavigationLockDirective, isStandalone: true, selector: "[bsNavigationLock]", inputs: { canExit: { classPropertyName: "canExit", publicName: "canExit", isSignal: true, isRequired: false, transformFunction: null }, exitMessage: { classPropertyName: "exitMessage", publicName: "exitMessage", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["bsNavigationLock"], ngImport: i0 }); }
141
- }
142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsNavigationLockDirective, decorators: [{
143
- type: Directive,
144
- args: [{
145
- selector: '[bsNavigationLock]',
146
- exportAs: 'bsNavigationLock',
147
- }]
148
- }], ctorParameters: () => [], propDecorators: { canExit: [{ type: i0.Input, args: [{ isSignal: true, alias: "canExit", required: false }] }], exitMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "exitMessage", required: false }] }] } });
149
-
150
- /**
151
- * Functional `canMatch` guard the consumer registers ONCE at the root route:
152
- *
153
- * ```ts
154
- * { path: '', canMatch: [bsNavigationLockGuard], children: [...] }
155
- * ```
156
- *
157
- * `canMatch` is the right Angular guard for "should this navigation be allowed
158
- * to start": it runs once per route-match attempt, regardless of how deeply
159
- * nested the destination is. (`canActivateChild` would fire once per descendant
160
- * activation — N prompts for an N-deep destination.)
161
- *
162
- * Note: when `canMatch` returns false the router treats the route as not
163
- * matching; if a sibling route or wildcard fallback matches the destination URL,
164
- * the user lands there instead of staying put. Most apps don't have a `**`
165
- * redirect that conflicts; if yours does, additionally guard the wildcard.
166
- *
167
- * Programmatic call sites that need a `reason` argument should call
168
- * `BsNavigationLockService.requestExit(reason)` directly.
169
- */
170
- const bsNavigationLockGuard = () => {
171
- return inject(BsNavigationLockService).requestExit();
172
- };
173
-
174
- /**
175
- * Optional provider. Without it, the service is still root-provided and
176
- * uses `window.confirm` as the default fallback confirm UI.
177
- */
178
- function provideNavigationLock(opts) {
179
- return makeEnvironmentProviders([
180
- ...(opts?.confirm
181
- ? [{ provide: BS_NAVIGATION_LOCK_CONFIRM, useValue: opts.confirm }]
182
- : []),
183
- ]);
184
- }
185
- /**
186
- * One-call router setup for navigation-lock. Wraps `routes` in a root
187
- * `{ path: '', canMatch: [bsNavigationLockGuard], children }` entry and
188
- * applies `canceledNavigationResolution: 'computed'` (required for
189
- * popstate-cancel to restore the history stack). Pass any additional router
190
- * features (`withPreloading`, `withInMemoryScrolling`, …) as extra arguments.
191
- *
192
- * If you also pass your own `withRouterConfig`, make sure it includes
193
- * `canceledNavigationResolution: 'computed'` — the dev-mode warning from
194
- * `BsNavigationLockService` will fire otherwise.
195
- */
196
- function provideNavigationLockRouter(routes, ...features) {
197
- return provideRouter([{ path: '', canMatch: [bsNavigationLockGuard], children: routes }], withRouterConfig({ canceledNavigationResolution: 'computed' }), ...features);
198
- }
199
-
200
- /**
201
- * Generated bundle index. Do not edit.
202
- */
203
-
204
- export { BS_NAVIGATION_LOCK_CONFIRM, BsNavigationLockDirective, BsNavigationLockService, bsNavigationLockGuard, provideNavigationLock, provideNavigationLockRouter };
205
- //# sourceMappingURL=mintplayer-ng-bootstrap-navigation-lock.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-navigation-lock.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navigation-lock/src/service/navigation-lock.service.ts","../../../../libs/mintplayer-ng-bootstrap/navigation-lock/src/directive/navigation-lock.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navigation-lock/src/guard/navigation-lock.guard.ts","../../../../libs/mintplayer-ng-bootstrap/navigation-lock/src/providers/navigation-lock.provider.ts","../../../../libs/mintplayer-ng-bootstrap/navigation-lock/mintplayer-ng-bootstrap-navigation-lock.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { DestroyRef, inject, Injectable, InjectionToken, isDevMode, PLATFORM_ID } from '@angular/core';\nimport { ROUTER_CONFIGURATION } from '@angular/router';\nimport { defaultIfEmpty, firstValueFrom, isObservable, Observable, take } from 'rxjs';\nimport { BsNavigationLockHandle } from './navigation-lock-handle';\n\n/** Confirm hook used by the directive's fallback path (canExit undefined + exitMessage set). */\nexport const BS_NAVIGATION_LOCK_CONFIRM = new InjectionToken<\n (message: string) => boolean | Promise<boolean>\n>('BS_NAVIGATION_LOCK_CONFIRM', {\n providedIn: 'root',\n factory: () => (message: string) =>\n typeof window === 'undefined' ? true : window.confirm(message),\n});\n\n@Injectable({ providedIn: 'root' })\nexport class BsNavigationLockService {\n private readonly platformId = inject(PLATFORM_ID);\n private readonly destroy = inject(DestroyRef);\n private readonly locks = new Set<BsNavigationLockHandle>();\n private pending: Promise<boolean> | null = null;\n\n constructor() {\n if (isDevMode()) {\n // canceledNavigationResolution is needed to restore the history stack\n // on popstate-cancel. Default 'replace' loses the popped entry. The\n // value is set via ROUTER_CONFIGURATION (typically through\n // withRouterConfig in provideRouter); read it directly from the token\n // since Router.options is private in the public type.\n const config = inject(ROUTER_CONFIGURATION, { optional: true });\n if (config?.canceledNavigationResolution !== 'computed') {\n console.warn(\n '[BsNavigationLockService] Router.canceledNavigationResolution is not \"computed\". ' +\n 'Pass withRouterConfig({ canceledNavigationResolution: \"computed\" }) to provideRouter ' +\n 'so popstate cancellations restore the history stack correctly.',\n );\n }\n }\n\n if (isPlatformBrowser(this.platformId)) {\n const handler = (ev: BeforeUnloadEvent) => this.onBeforeUnload(ev);\n window.addEventListener('beforeunload', handler);\n this.destroy.onDestroy(() => window.removeEventListener('beforeunload', handler));\n }\n }\n\n /** Internal — called by directive on init. */\n register(lock: BsNavigationLockHandle): void {\n this.locks.add(lock);\n }\n\n /** Internal — called by directive on destroy. */\n unregister(lock: BsNavigationLockHandle): void {\n this.locks.delete(lock);\n }\n\n /**\n * Programmatic check: ask every active lock if exit is OK.\n * Resolves true only when every lock allows exit. Short-circuits on first false.\n *\n * Re-entrant calls while a check is already in flight return the same Promise\n * — only the first `reason` is consulted. This dedups both router-driven\n * fires (e.g. `canMatch` running once) and programmatic call sites that\n * might invoke `requestExit` multiple times in the same tick.\n */\n requestExit(reason?: string): Promise<boolean> {\n if (this.pending) return this.pending;\n this.pending = this.doRequestExit(reason);\n return this.pending;\n }\n\n private async doRequestExit(reason?: string): Promise<boolean> {\n try {\n for (const lock of this.locks) {\n const ok = await this.normalise(lock.requestCanExit(reason));\n if (!ok) return false;\n }\n return true;\n } finally {\n this.pending = null;\n }\n }\n\n private onBeforeUnload(ev: BeforeUnloadEvent): void {\n // PRD §5.4 — sync-first, browser does NOT await async results.\n for (const lock of this.locks) {\n const result = lock.requestCanExit();\n if (typeof result === 'boolean') {\n if (!result) { ev.preventDefault(); ev.returnValue = ''; return; }\n continue;\n }\n // Promise / Observable — safe default: prompt the browser confirm.\n ev.preventDefault();\n ev.returnValue = '';\n return;\n }\n }\n\n private normalise(r: boolean | Promise<boolean> | Observable<boolean>): Promise<boolean> {\n if (typeof r === 'boolean') return Promise.resolve(r);\n if (isObservable(r)) return firstValueFrom(r.pipe(take(1), defaultIfEmpty(true)));\n return r;\n }\n}\n","import { DestroyRef, Directive, inject, input } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { BS_NAVIGATION_LOCK_CONFIRM, BsNavigationLockService } from '../service/navigation-lock.service';\nimport { BsNavigationLockHandle } from '../service/navigation-lock-handle';\n\n/**\n * Marks the host as a navigation-blocker. Drop `[bsNavigationLock]` on a real\n * element (typically the form). Set `[canExit]` to a boolean, function, or\n * Observable. The service consults every active lock on Router navigation\n * (via `bsNavigationLockGuard` registered at the root) and on `beforeunload`.\n *\n * Fallback: if `canExit` is not set but `exitMessage` is, the directive uses\n * the injected `BS_NAVIGATION_LOCK_CONFIRM` hook with that message.\n */\n@Directive({\n selector: '[bsNavigationLock]',\n exportAs: 'bsNavigationLock',\n})\nexport class BsNavigationLockDirective implements BsNavigationLockHandle {\n private readonly destroy = inject(DestroyRef);\n private readonly service = inject(BsNavigationLockService);\n private readonly confirmFn = inject(BS_NAVIGATION_LOCK_CONFIRM);\n\n readonly canExit = input<\n | boolean\n | ((reason?: string) => boolean | Promise<boolean> | Observable<boolean>)\n | Observable<boolean>\n | undefined\n >(undefined);\n readonly exitMessage = input<string | undefined>(undefined);\n\n constructor() {\n this.service.register(this);\n this.destroy.onDestroy(() => this.service.unregister(this));\n }\n\n requestCanExit(reason?: string): boolean | Promise<boolean> | Observable<boolean> {\n const canExit = this.canExit();\n if (canExit === undefined) {\n const msg = this.exitMessage();\n if (msg) return Promise.resolve(this.confirmFn(msg));\n return true;\n }\n if (typeof canExit === 'boolean') return canExit;\n if (typeof canExit === 'function') return canExit(reason);\n return canExit; // Observable<boolean>\n }\n}\n","import { inject } from '@angular/core';\nimport { CanMatchFn } from '@angular/router';\nimport { BsNavigationLockService } from '../service/navigation-lock.service';\n\n/**\n * Functional `canMatch` guard the consumer registers ONCE at the root route:\n *\n * ```ts\n * { path: '', canMatch: [bsNavigationLockGuard], children: [...] }\n * ```\n *\n * `canMatch` is the right Angular guard for \"should this navigation be allowed\n * to start\": it runs once per route-match attempt, regardless of how deeply\n * nested the destination is. (`canActivateChild` would fire once per descendant\n * activation — N prompts for an N-deep destination.)\n *\n * Note: when `canMatch` returns false the router treats the route as not\n * matching; if a sibling route or wildcard fallback matches the destination URL,\n * the user lands there instead of staying put. Most apps don't have a `**`\n * redirect that conflicts; if yours does, additionally guard the wildcard.\n *\n * Programmatic call sites that need a `reason` argument should call\n * `BsNavigationLockService.requestExit(reason)` directly.\n */\nexport const bsNavigationLockGuard: CanMatchFn = () => {\n return inject(BsNavigationLockService).requestExit();\n};\n","import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';\nimport { provideRouter, RouterFeatures, Routes, withRouterConfig } from '@angular/router';\nimport { bsNavigationLockGuard } from '../guard/navigation-lock.guard';\nimport { BS_NAVIGATION_LOCK_CONFIRM } from '../service/navigation-lock.service';\n\nexport interface NavigationLockOptions {\n confirm?: (message: string) => boolean | Promise<boolean>;\n}\n\n/**\n * Optional provider. Without it, the service is still root-provided and\n * uses `window.confirm` as the default fallback confirm UI.\n */\nexport function provideNavigationLock(opts?: NavigationLockOptions): EnvironmentProviders {\n return makeEnvironmentProviders([\n ...(opts?.confirm\n ? [{ provide: BS_NAVIGATION_LOCK_CONFIRM, useValue: opts.confirm }]\n : []),\n ]);\n}\n\n/**\n * One-call router setup for navigation-lock. Wraps `routes` in a root\n * `{ path: '', canMatch: [bsNavigationLockGuard], children }` entry and\n * applies `canceledNavigationResolution: 'computed'` (required for\n * popstate-cancel to restore the history stack). Pass any additional router\n * features (`withPreloading`, `withInMemoryScrolling`, …) as extra arguments.\n *\n * If you also pass your own `withRouterConfig`, make sure it includes\n * `canceledNavigationResolution: 'computed'` — the dev-mode warning from\n * `BsNavigationLockService` will fire otherwise.\n */\nexport function provideNavigationLockRouter(\n routes: Routes,\n ...features: RouterFeatures[]\n): EnvironmentProviders {\n return provideRouter(\n [{ path: '', canMatch: [bsNavigationLockGuard], children: routes }],\n withRouterConfig({ canceledNavigationResolution: 'computed' }),\n ...features,\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAMA;MACa,0BAA0B,GAAG,IAAI,cAAc,CAE1D,4BAA4B,EAAE;AAC9B,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAM,CAAC,OAAe,KAC7B,OAAO,MAAM,KAAK,WAAW,GAAG,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;AACjE,CAAA;MAGY,uBAAuB,CAAA;AAMlC,IAAA,WAAA,GAAA;AALiB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC;AAC5B,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,GAAG,EAA0B;QAClD,IAAA,CAAA,OAAO,GAA4B,IAAI;QAG7C,IAAI,SAAS,EAAE,EAAE;;;;;;AAMf,YAAA,MAAM,MAAM,GAAG,MAAM,CAAC,oBAAoB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC/D,YAAA,IAAI,MAAM,EAAE,4BAA4B,KAAK,UAAU,EAAE;gBACvD,OAAO,CAAC,IAAI,CACV,mFAAmF;oBACnF,uFAAuF;AACvF,oBAAA,gEAAgE,CACjE;YACH;QACF;AAEA,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;AACtC,YAAA,MAAM,OAAO,GAAG,CAAC,EAAqB,KAAK,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;AAClE,YAAA,MAAM,CAAC,gBAAgB,CAAC,cAAc,EAAE,OAAO,CAAC;AAChD,YAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,MAAM,CAAC,mBAAmB,CAAC,cA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Q,EAAE,oBAAoB;AAC9B,oBAAA,QAAQ,EAAE,kBAAkB;AAC7B,iBAAA;;;ACbD;;;;;;;;;;;;;;;;;;;AAmBG;AACI,MAAM,qBAAqB,GAAe,MAAK;AACpD,IAAA,OAAO,MAAM,CAAC,uBAAuB,CAAC,CAAC,WAAW,EAAE;AACtD;;ACjBA;;;AAGG;AACG,SAAU,qBAAqB,CAAC,IAA4B,EAAA;AAChE,IAAA,OAAO,wBAAwB,CAAC;QAC9B,IAAI,IAAI,EAAE;AACR,cAAE,CAAC,EAAE,OAAO,EAAE,0BAA0B,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE;cAChE,EAAE,CAAC;AACR,KAAA,CAAC;AACJ;AAEA;;;;;;;;;;AAUG;SACa,2BAA2B,CACzC,MAAc,EACd,GAAG,QAA0B,EAAA;AAE7B,IAAA,OAAO,aAAa,CAClB,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,qBAAqB,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,EACnE,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,UAAU,EAAE,CAAC,EAC9D,GAAG,QAAQ,CACZ;AACH;;ACzCA;;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: "21.2.11", ngImport: i0, type: BsNoNoscriptDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.11", type: BsNoNoscriptDirective, isStandalone: true, selector: "[bsNoNoscript]", host: { properties: { "class.noscript": "isNoScript" } }, ngImport: i0 }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", 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;+GAPW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAArB,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;;4FAArB,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;;;;"}