@mintplayer/ng-bootstrap 21.32.0 → 21.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/_bootstrap.scss +28 -0
  2. package/package.json +1 -377
  3. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +0 -455
  4. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +0 -1
  5. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +0 -94
  6. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +0 -1
  7. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +0 -45
  8. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +0 -1
  9. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +0 -24
  10. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +0 -1
  11. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +0 -35
  12. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +0 -1
  13. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +0 -21
  14. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +0 -1
  15. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +0 -36
  16. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +0 -1
  17. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
  18. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +0 -210
  20. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +0 -1
  21. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +0 -33
  22. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +0 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +0 -270
  24. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +0 -1
  25. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +0 -25
  26. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +0 -1
  27. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +0 -44
  28. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +0 -1
  29. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +0 -654
  30. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +0 -1
  31. package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
  32. package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
  33. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +0 -88
  34. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +0 -1
  35. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +0 -46
  36. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +0 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +0 -181
  38. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +0 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +0 -30
  40. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +0 -1
  41. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +0 -4101
  42. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +0 -1
  43. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -23
  44. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
  45. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -195
  46. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
  47. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +0 -326
  48. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +0 -1
  49. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +0 -62
  50. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +0 -1
  51. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +0 -38
  52. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +0 -1
  53. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +0 -135
  54. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +0 -1
  55. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +0 -25
  56. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +0 -1
  57. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +0 -34
  58. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +0 -1
  59. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +0 -41
  60. package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +0 -1
  61. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +0 -59
  62. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +0 -1
  63. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +0 -122
  64. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +0 -1
  65. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs +0 -4
  66. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs.map +0 -1
  67. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
  68. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
  69. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +0 -23
  70. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +0 -1
  71. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +0 -23
  72. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +0 -1
  73. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +0 -18
  74. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +0 -1
  75. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +0 -183
  76. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +0 -1
  77. package/fesm2022/mintplayer-ng-bootstrap-let.mjs +0 -46
  78. package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +0 -1
  79. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +0 -28
  80. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +0 -1
  81. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +0 -33
  82. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +0 -1
  83. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +0 -118
  84. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +0 -1
  85. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +0 -21
  86. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +0 -1
  87. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +0 -240
  88. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +0 -1
  89. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +0 -693
  90. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +0 -1
  91. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +0 -136
  92. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +0 -1
  93. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +0 -29
  94. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +0 -1
  95. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +0 -629
  96. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +0 -1
  97. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +0 -205
  98. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +0 -1
  99. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
  100. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
  101. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +0 -366
  102. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +0 -1
  103. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +0 -36
  104. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +0 -1
  105. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +0 -188
  106. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +0 -1
  107. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +0 -26
  108. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +0 -1
  109. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +0 -64
  110. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +0 -1
  111. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +0 -29
  112. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +0 -1
  113. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +0 -246
  114. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +0 -1
  115. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +0 -250
  116. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +0 -1
  117. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +0 -68
  118. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +0 -1
  119. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +0 -75
  120. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +0 -1
  121. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +0 -79
  122. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +0 -1
  123. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +0 -59
  124. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +0 -1
  125. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +0 -387
  126. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +0 -1
  127. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +0 -5016
  128. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +0 -1
  129. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +0 -237
  130. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +0 -1
  131. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +0 -120
  132. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +0 -1
  133. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +0 -194
  134. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +0 -1
  135. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +0 -213
  136. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +0 -1
  137. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +0 -205
  138. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +0 -1
  139. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +0 -52
  140. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +0 -1
  141. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +0 -76
  142. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +0 -1
  143. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +0 -30
  144. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +0 -1
  145. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +0 -26
  146. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +0 -1
  147. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +0 -25
  148. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +0 -1
  149. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +0 -46
  150. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +0 -1
  151. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +0 -124
  152. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +0 -1
  153. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +0 -40
  154. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +0 -1
  155. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +0 -1446
  156. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +0 -1
  157. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +0 -104
  158. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +0 -1
  159. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +0 -163
  160. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +0 -1
  161. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +0 -236
  162. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +0 -1
  163. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +0 -174
  164. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +0 -1
  165. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +0 -100
  166. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +0 -1
  167. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +0 -28
  168. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +0 -1
  169. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +0 -111
  170. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +0 -1
  171. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +0 -24
  172. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +0 -1
  173. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +0 -94
  174. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +0 -1
  175. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +0 -48
  176. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs.map +0 -1
  177. package/fesm2022/mintplayer-ng-bootstrap-virtual-datatable.mjs +0 -282
  178. package/fesm2022/mintplayer-ng-bootstrap-virtual-datatable.mjs.map +0 -1
  179. package/fesm2022/mintplayer-ng-bootstrap-web-components-a11y.mjs +0 -74
  180. package/fesm2022/mintplayer-ng-bootstrap-web-components-a11y.mjs.map +0 -1
  181. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler-core.mjs +0 -1356
  182. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler-core.mjs.map +0 -1
  183. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler.mjs +0 -5224
  184. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler.mjs.map +0 -1
  185. package/fesm2022/mintplayer-ng-bootstrap-web-components-splitter.mjs +0 -923
  186. package/fesm2022/mintplayer-ng-bootstrap-web-components-splitter.mjs.map +0 -1
  187. package/fesm2022/mintplayer-ng-bootstrap-web-components-tab-control.mjs +0 -553
  188. package/fesm2022/mintplayer-ng-bootstrap-web-components-tab-control.mjs.map +0 -1
  189. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +0 -34
  190. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +0 -1
  191. package/types/mintplayer-ng-bootstrap-a11y.d.ts +0 -196
  192. package/types/mintplayer-ng-bootstrap-accordion.d.ts +0 -39
  193. package/types/mintplayer-ng-bootstrap-alert.d.ts +0 -21
  194. package/types/mintplayer-ng-bootstrap-badge.d.ts +0 -12
  195. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +0 -14
  196. package/types/mintplayer-ng-bootstrap-button-group.d.ts +0 -9
  197. package/types/mintplayer-ng-bootstrap-button-type.d.ts +0 -12
  198. package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
  199. package/types/mintplayer-ng-bootstrap-calendar.d.ts +0 -57
  200. package/types/mintplayer-ng-bootstrap-card.d.ts +0 -15
  201. package/types/mintplayer-ng-bootstrap-carousel.d.ts +0 -121
  202. package/types/mintplayer-ng-bootstrap-close.d.ts +0 -10
  203. package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +0 -20
  204. package/types/mintplayer-ng-bootstrap-color-picker.d.ts +0 -236
  205. package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
  206. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +0 -21
  207. package/types/mintplayer-ng-bootstrap-copy.d.ts +0 -12
  208. package/types/mintplayer-ng-bootstrap-datatable.d.ts +0 -63
  209. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +0 -13
  210. package/types/mintplayer-ng-bootstrap-dock.d.ts +0 -419
  211. package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -8
  212. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -66
  213. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +0 -102
  214. package/types/mintplayer-ng-bootstrap-enhanced-paste.d.ts +0 -20
  215. package/types/mintplayer-ng-bootstrap-enum.d.ts +0 -17
  216. package/types/mintplayer-ng-bootstrap-file-upload.d.ts +0 -51
  217. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +0 -9
  218. package/types/mintplayer-ng-bootstrap-font-color.d.ts +0 -10
  219. package/types/mintplayer-ng-bootstrap-for.d.ts +0 -13
  220. package/types/mintplayer-ng-bootstrap-form.d.ts +0 -24
  221. package/types/mintplayer-ng-bootstrap-grid.d.ts +0 -50
  222. package/types/mintplayer-ng-bootstrap-has-id.d.ts +0 -5
  223. package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
  224. package/types/mintplayer-ng-bootstrap-has-property.d.ts +0 -10
  225. package/types/mintplayer-ng-bootstrap-in-list.d.ts +0 -11
  226. package/types/mintplayer-ng-bootstrap-input-group.d.ts +0 -8
  227. package/types/mintplayer-ng-bootstrap-instance-of.d.ts +0 -74
  228. package/types/mintplayer-ng-bootstrap-let.d.ts +0 -44
  229. package/types/mintplayer-ng-bootstrap-linify.d.ts +0 -10
  230. package/types/mintplayer-ng-bootstrap-list-group.d.ts +0 -14
  231. package/types/mintplayer-ng-bootstrap-markdown.d.ts +0 -33
  232. package/types/mintplayer-ng-bootstrap-marquee.d.ts +0 -9
  233. package/types/mintplayer-ng-bootstrap-modal.d.ts +0 -82
  234. package/types/mintplayer-ng-bootstrap-multi-range.d.ts +0 -170
  235. package/types/mintplayer-ng-bootstrap-multiselect.d.ts +0 -58
  236. package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +0 -13
  237. package/types/mintplayer-ng-bootstrap-navbar.d.ts +0 -189
  238. package/types/mintplayer-ng-bootstrap-navigation-lock.d.ts +0 -117
  239. package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
  240. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +0 -106
  241. package/types/mintplayer-ng-bootstrap-ordinal-number.d.ts +0 -12
  242. package/types/mintplayer-ng-bootstrap-pagination.d.ts +0 -40
  243. package/types/mintplayer-ng-bootstrap-parallax.d.ts +0 -11
  244. package/types/mintplayer-ng-bootstrap-placeholder.d.ts +0 -23
  245. package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +0 -13
  246. package/types/mintplayer-ng-bootstrap-popover.d.ts +0 -67
  247. package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +0 -64
  248. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +0 -27
  249. package/types/mintplayer-ng-bootstrap-range.d.ts +0 -28
  250. package/types/mintplayer-ng-bootstrap-rating.d.ts +0 -20
  251. package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +0 -36
  252. package/types/mintplayer-ng-bootstrap-resizable.d.ts +0 -89
  253. package/types/mintplayer-ng-bootstrap-ribbon.d.ts +0 -958
  254. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +0 -171
  255. package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +0 -36
  256. package/types/mintplayer-ng-bootstrap-searchbox.d.ts +0 -65
  257. package/types/mintplayer-ng-bootstrap-select.d.ts +0 -65
  258. package/types/mintplayer-ng-bootstrap-select2.d.ts +0 -61
  259. package/types/mintplayer-ng-bootstrap-shell.d.ts +0 -26
  260. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +0 -36
  261. package/types/mintplayer-ng-bootstrap-slugify.d.ts +0 -10
  262. package/types/mintplayer-ng-bootstrap-spinner.d.ts +0 -14
  263. package/types/mintplayer-ng-bootstrap-split-string.d.ts +0 -10
  264. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +0 -21
  265. package/types/mintplayer-ng-bootstrap-tab-control.d.ts +0 -50
  266. package/types/mintplayer-ng-bootstrap-table.d.ts +0 -24
  267. package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +0 -304
  268. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +0 -26
  269. package/types/mintplayer-ng-bootstrap-toast.d.ts +0 -67
  270. package/types/mintplayer-ng-bootstrap-toggle-button.d.ts +0 -57
  271. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +0 -29
  272. package/types/mintplayer-ng-bootstrap-treeview.d.ts +0 -44
  273. package/types/mintplayer-ng-bootstrap-trust-html.d.ts +0 -12
  274. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +0 -34
  275. package/types/mintplayer-ng-bootstrap-uc-first.d.ts +0 -10
  276. package/types/mintplayer-ng-bootstrap-user-agent.d.ts +0 -27
  277. package/types/mintplayer-ng-bootstrap-viewport.d.ts +0 -16
  278. package/types/mintplayer-ng-bootstrap-virtual-datatable.d.ts +0 -68
  279. package/types/mintplayer-ng-bootstrap-web-components-a11y.d.ts +0 -34
  280. package/types/mintplayer-ng-bootstrap-web-components-scheduler-core.d.ts +0 -914
  281. package/types/mintplayer-ng-bootstrap-web-components-scheduler.d.ts +0 -600
  282. package/types/mintplayer-ng-bootstrap-web-components-splitter.d.ts +0 -223
  283. package/types/mintplayer-ng-bootstrap-web-components-tab-control.d.ts +0 -95
  284. package/types/mintplayer-ng-bootstrap-word-count.d.ts +0 -10
@@ -1,100 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, computed, model, signal, ChangeDetectionStrategy, Component, DestroyRef, contentChild } from '@angular/core';
3
- import { SlideUpDownAnimation } from '@mintplayer/ng-animations';
4
- import { BsListGroupComponent, BsListGroupItemComponent } from '@mintplayer/ng-bootstrap/list-group';
5
- import { DomSanitizer } from '@angular/platform-browser';
6
-
7
- class BsTreeviewComponent {
8
- constructor() {
9
- this.parent = inject(BsTreeviewComponent, { skipSelf: true, optional: true });
10
- this.level = computed(() => !this.parent ? 0 : this.parent.level() + 1, ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
11
- this.indentation = computed(() => this.level() * 30, ...(ngDevMode ? [{ debugName: "indentation" }] : /* istanbul ignore next */ []));
12
- this.isExpanded = model(!this.parent, ...(ngDevMode ? [{ debugName: "isExpanded" }] : /* istanbul ignore next */ []));
13
- /**
14
- * Direct-child items of THIS tree (not descendants). Used to compute
15
- * aria-setsize and aria-posinset for each item among its siblings.
16
- */
17
- this.items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
18
- /** Roving tabindex tracking — only stored on the root tree. */
19
- this.focusedItem = signal(null, ...(ngDevMode ? [{ debugName: "focusedItem" }] : /* istanbul ignore next */ []));
20
- }
21
- getRootTree() {
22
- return this.parent ? this.parent.getRootTree() : this;
23
- }
24
- registerItem(item) {
25
- this.items.update((items) => [...items, item]);
26
- // First item gets focus by default (root-level state)
27
- const root = this.getRootTree();
28
- if (root.focusedItem() === null) {
29
- root.focusedItem.set(item);
30
- }
31
- }
32
- unregisterItem(item) {
33
- this.items.update((items) => items.filter(i => i !== item));
34
- const root = this.getRootTree();
35
- if (root.focusedItem() === item) {
36
- const remaining = this.items();
37
- root.focusedItem.set(remaining.length > 0 ? remaining[0] : null);
38
- }
39
- }
40
- setFocusedItem(item) {
41
- this.getRootTree().focusedItem.set(item);
42
- }
43
- isFocusedItem(item) {
44
- return this.getRootTree().focusedItem() === item;
45
- }
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTreeviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
47
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.11", type: BsTreeviewComponent, isStandalone: true, selector: "bs-treeview", inputs: { isExpanded: { classPropertyName: "isExpanded", publicName: "isExpanded", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isExpanded: "isExpandedChange" }, ngImport: i0, template: "<bs-list-group [@slideUpDown]=\"isExpanded()\" class=\"d-block overflow-y-hidden\" [attr.role]=\"level() === 0 ? 'tree' : 'group'\">\n <ng-content></ng-content>\n</bs-list-group>\n", styles: [":host{margin-top:-1px}\n"], dependencies: [{ kind: "component", type: BsListGroupComponent, selector: "bs-list-group" }], animations: [SlideUpDownAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
48
- }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTreeviewComponent, decorators: [{
50
- type: Component,
51
- args: [{ selector: 'bs-treeview', imports: [BsListGroupComponent], animations: [SlideUpDownAnimation], changeDetection: ChangeDetectionStrategy.OnPush, template: "<bs-list-group [@slideUpDown]=\"isExpanded()\" class=\"d-block overflow-y-hidden\" [attr.role]=\"level() === 0 ? 'tree' : 'group'\">\n <ng-content></ng-content>\n</bs-list-group>\n", styles: [":host{margin-top:-1px}\n"] }]
52
- }], propDecorators: { isExpanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isExpanded", required: false }] }, { type: i0.Output, args: ["isExpandedChange"] }] } });
53
-
54
- /// <reference types="../types" />
55
- class BsTreeviewItemComponent {
56
- constructor() {
57
- this.parent = inject(BsTreeviewComponent);
58
- this.sanitizer = inject(DomSanitizer);
59
- this.destroyRef = inject(DestroyRef);
60
- this.childTree = contentChild(BsTreeviewComponent, { ...(ngDevMode ? { debugName: "childTree" } : /* istanbul ignore next */ {}), descendants: false });
61
- this.chevronRight = signal(undefined, ...(ngDevMode ? [{ debugName: "chevronRight" }] : /* istanbul ignore next */ []));
62
- // Roving tabindex: only the focused item has tabindex 0
63
- this.tabIndex = computed(() => this.parent.isFocusedItem(this) ? 0 : -1, ...(ngDevMode ? [{ debugName: "tabIndex" }] : /* istanbul ignore next */ []));
64
- /** APG tree pattern: 1-based depth. Root tree has level=0; items inside it are level=1. */
65
- this.ariaLevel = computed(() => this.parent.level() + 1, ...(ngDevMode ? [{ debugName: "ariaLevel" }] : /* istanbul ignore next */ []));
66
- /** Total siblings at this level (within this immediate tree). */
67
- this.ariaSetSize = computed(() => this.parent.items().length, ...(ngDevMode ? [{ debugName: "ariaSetSize" }] : /* istanbul ignore next */ []));
68
- /** 1-based position within siblings. */
69
- this.ariaPosInSet = computed(() => this.parent.items().indexOf(this) + 1, ...(ngDevMode ? [{ debugName: "ariaPosInSet" }] : /* istanbul ignore next */ []));
70
- import('bootstrap-icons/icons/chevron-right.svg').then((icon) => {
71
- this.chevronRight.set(this.sanitizer.bypassSecurityTrustHtml(icon.default));
72
- });
73
- // Register this item with the tree
74
- this.parent.registerItem(this);
75
- this.destroyRef.onDestroy(() => {
76
- this.parent.unregisterItem(this);
77
- });
78
- }
79
- onClick(ev) {
80
- // Set this item as focused when clicked
81
- this.parent.setFocusedItem(this);
82
- const childTree = this.childTree();
83
- if (childTree) {
84
- childTree.isExpanded.update(v => !v);
85
- }
86
- }
87
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTreeviewItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
88
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.11", type: BsTreeviewItemComponent, isStandalone: true, selector: "bs-treeview-item", queries: [{ propertyName: "childTree", first: true, predicate: BsTreeviewComponent, isSignal: true }], ngImport: i0, template: "<bs-list-group-item (click)=\"onClick($event)\"\n class=\"d-block cursor-pointer list-group-item-action\"\n role=\"treeitem\"\n [attr.aria-expanded]=\"childTree() ? childTree()!.isExpanded() : null\"\n [attr.aria-level]=\"ariaLevel()\"\n [attr.aria-setsize]=\"ariaSetSize()\"\n [attr.aria-posinset]=\"ariaPosInSet()\"\n [attr.tabindex]=\"tabIndex()\">\n <span [style.padding-left.px]=\"parent.indentation()\">\n <span [innerHTML]=\"chevronRight()\" [class.open]=\"childTree()?.isExpanded()\" [class.invisible]=\"!childTree()\" class=\"d-inline-block me-2\" aria-hidden=\"true\"></span>\n <ng-content></ng-content>\n </span>\n</bs-list-group-item>\n<ng-content select=\"bs-treeview\"></ng-content>\n", styles: ["bs-list-group-item{margin-bottom:-1px}bs-icon{transition:transform .2s}bs-icon.open{transform:rotate(90deg)}\n"], dependencies: [{ kind: "component", type: BsListGroupItemComponent, selector: "bs-list-group-item" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
89
- }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTreeviewItemComponent, decorators: [{
91
- type: Component,
92
- args: [{ selector: 'bs-treeview-item', imports: [BsListGroupItemComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<bs-list-group-item (click)=\"onClick($event)\"\n class=\"d-block cursor-pointer list-group-item-action\"\n role=\"treeitem\"\n [attr.aria-expanded]=\"childTree() ? childTree()!.isExpanded() : null\"\n [attr.aria-level]=\"ariaLevel()\"\n [attr.aria-setsize]=\"ariaSetSize()\"\n [attr.aria-posinset]=\"ariaPosInSet()\"\n [attr.tabindex]=\"tabIndex()\">\n <span [style.padding-left.px]=\"parent.indentation()\">\n <span [innerHTML]=\"chevronRight()\" [class.open]=\"childTree()?.isExpanded()\" [class.invisible]=\"!childTree()\" class=\"d-inline-block me-2\" aria-hidden=\"true\"></span>\n <ng-content></ng-content>\n </span>\n</bs-list-group-item>\n<ng-content select=\"bs-treeview\"></ng-content>\n", styles: ["bs-list-group-item{margin-bottom:-1px}bs-icon{transition:transform .2s}bs-icon.open{transform:rotate(90deg)}\n"] }]
93
- }], ctorParameters: () => [], propDecorators: { childTree: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeviewComponent), { ...{ descendants: false }, isSignal: true }] }] } });
94
-
95
- /**
96
- * Generated bundle index. Do not edit.
97
- */
98
-
99
- export { BsTreeviewComponent, BsTreeviewItemComponent };
100
- //# sourceMappingURL=mintplayer-ng-bootstrap-treeview.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-treeview.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview/treeview.component.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview/treeview.component.html","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview-item/treeview-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview-item/treeview-item.component.html","../../../../libs/mintplayer-ng-bootstrap/treeview/mintplayer-ng-bootstrap-treeview.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, inject, model, signal } from '@angular/core';\nimport { SlideUpDownAnimation } from '@mintplayer/ng-animations';\nimport { BsListGroupComponent } from '@mintplayer/ng-bootstrap/list-group';\nimport type { BsTreeviewItemComponent } from '../treeview-item/treeview-item.component';\n\n@Component({\n selector: 'bs-treeview',\n templateUrl: './treeview.component.html',\n styleUrls: ['./treeview.component.scss'],\n imports: [BsListGroupComponent],\n animations: [SlideUpDownAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTreeviewComponent {\n\n private parent = inject(BsTreeviewComponent, { skipSelf: true, optional: true });\n\n level = computed<number>((): number => !this.parent ? 0 : this.parent.level() + 1);\n indentation = computed(() => this.level() * 30);\n isExpanded = model<boolean>(!this.parent);\n\n /**\n * Direct-child items of THIS tree (not descendants). Used to compute\n * aria-setsize and aria-posinset for each item among its siblings.\n */\n items = signal<BsTreeviewItemComponent[]>([]);\n /** Roving tabindex tracking — only stored on the root tree. */\n focusedItem = signal<BsTreeviewItemComponent | null>(null);\n\n private getRootTree(): BsTreeviewComponent {\n return this.parent ? this.parent.getRootTree() : this;\n }\n\n registerItem(item: BsTreeviewItemComponent) {\n this.items.update((items: BsTreeviewItemComponent[]) => [...items, item]);\n // First item gets focus by default (root-level state)\n const root = this.getRootTree();\n if (root.focusedItem() === null) {\n root.focusedItem.set(item);\n }\n }\n\n unregisterItem(item: BsTreeviewItemComponent) {\n this.items.update((items: BsTreeviewItemComponent[]) => items.filter(i => i !== item));\n const root = this.getRootTree();\n if (root.focusedItem() === item) {\n const remaining = this.items();\n root.focusedItem.set(remaining.length > 0 ? remaining[0] : null);\n }\n }\n\n setFocusedItem(item: BsTreeviewItemComponent) {\n this.getRootTree().focusedItem.set(item);\n }\n\n isFocusedItem(item: BsTreeviewItemComponent): boolean {\n return this.getRootTree().focusedItem() === item;\n }\n}\n","<bs-list-group [@slideUpDown]=\"isExpanded()\" class=\"d-block overflow-y-hidden\" [attr.role]=\"level() === 0 ? 'tree' : 'group'\">\n <ng-content></ng-content>\n</bs-list-group>\n","/// <reference types=\"../types\" />\n\nimport { ChangeDetectionStrategy, Component, computed, contentChild, DestroyRef, inject, signal } from '@angular/core';\nimport { BsListGroupItemComponent } from '@mintplayer/ng-bootstrap/list-group';\nimport { BsTreeviewComponent } from '../treeview/treeview.component';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Component({\n selector: 'bs-treeview-item',\n templateUrl: './treeview-item.component.html',\n styleUrls: ['./treeview-item.component.scss'],\n imports: [BsListGroupItemComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTreeviewItemComponent {\n\n readonly parent = inject(BsTreeviewComponent);\n private sanitizer = inject(DomSanitizer);\n private destroyRef = inject(DestroyRef);\n\n readonly childTree = contentChild(BsTreeviewComponent, { descendants: false });\n chevronRight = signal<SafeHtml | undefined>(undefined);\n\n // Roving tabindex: only the focused item has tabindex 0\n tabIndex = computed(() => this.parent.isFocusedItem(this) ? 0 : -1);\n\n /** APG tree pattern: 1-based depth. Root tree has level=0; items inside it are level=1. */\n ariaLevel = computed(() => this.parent.level() + 1);\n /** Total siblings at this level (within this immediate tree). */\n ariaSetSize = computed(() => this.parent.items().length);\n /** 1-based position within siblings. */\n ariaPosInSet = computed(() => this.parent.items().indexOf(this) + 1);\n\n constructor() {\n import('bootstrap-icons/icons/chevron-right.svg').then((icon) => {\n this.chevronRight.set(this.sanitizer.bypassSecurityTrustHtml(icon.default));\n });\n\n // Register this item with the tree\n this.parent.registerItem(this);\n this.destroyRef.onDestroy(() => {\n this.parent.unregisterItem(this);\n });\n }\n\n onClick(ev: MouseEvent) {\n // Set this item as focused when clicked\n this.parent.setFocusedItem(this);\n\n const childTree = this.childTree();\n if (childTree) {\n childTree.isExpanded.update(v => !v);\n }\n }\n}\n","<bs-list-group-item (click)=\"onClick($event)\"\n class=\"d-block cursor-pointer list-group-item-action\"\n role=\"treeitem\"\n [attr.aria-expanded]=\"childTree() ? childTree()!.isExpanded() : null\"\n [attr.aria-level]=\"ariaLevel()\"\n [attr.aria-setsize]=\"ariaSetSize()\"\n [attr.aria-posinset]=\"ariaPosInSet()\"\n [attr.tabindex]=\"tabIndex()\">\n <span [style.padding-left.px]=\"parent.indentation()\">\n <span [innerHTML]=\"chevronRight()\" [class.open]=\"childTree()?.isExpanded()\" [class.invisible]=\"!childTree()\" class=\"d-inline-block me-2\" aria-hidden=\"true\"></span>\n <ng-content></ng-content>\n </span>\n</bs-list-group-item>\n<ng-content select=\"bs-treeview\"></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAaa,mBAAmB,CAAA;AARhC,IAAA,WAAA,GAAA;AAUU,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IA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B,CAAC,MAAM,EAAA,QAAA,EAAA,quBAAA,EAAA,MAAA,EAAA,CAAA,gHAAA,CAAA,EAAA;AAQb,SAAA,CAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,cAAA,EAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,mBAAmB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEpB/E;;AAEG;;;;"}
@@ -1,28 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { DomSanitizer } from '@angular/platform-browser';
4
-
5
- class BsTrustHtmlPipe {
6
- constructor() {
7
- this.sanitizer = inject(DomSanitizer);
8
- }
9
- transform(value) {
10
- return this.sanitizer.bypassSecurityTrustHtml(value);
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTrustHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.11", ngImport: i0, type: BsTrustHtmlPipe, isStandalone: true, name: "bsTrustHtml" }); }
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTrustHtmlPipe, decorators: [{
16
- type: Pipe,
17
- args: [{
18
- name: 'bsTrustHtml',
19
- pure: true,
20
- }]
21
- }] });
22
-
23
- /**
24
- * Generated bundle index. Do not edit.
25
- */
26
-
27
- export { BsTrustHtmlPipe };
28
- //# sourceMappingURL=mintplayer-ng-bootstrap-trust-html.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-trust-html.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/trust-html/src/trust-html.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/trust-html/mintplayer-ng-bootstrap-trust-html.ts"],"sourcesContent":["import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n@Pipe({\n name: 'bsTrustHtml',\n pure: true,\n})\nexport class BsTrustHtmlPipe implements PipeTransform {\n private sanitizer = inject(DomSanitizer);\n\n transform(value: string) {\n return this.sanitizer.bypassSecurityTrustHtml(value);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,eAAe,CAAA;AAJ5B,IAAA,WAAA,GAAA;AAKU,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC;AAKzC,IAAA;AAHC,IAAA,SAAS,CAAC,KAAa,EAAA;QACrB,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC;IACtD;+GALW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,aAAa;AACnB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;;;ACND;;AAEG;;;;"}
@@ -1,111 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, model, input, signal, computed, viewChild, output, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1 from '@angular/forms';
4
- import { FormsModule } from '@angular/forms';
5
- import { BsLiveAnnouncerService, BsRovingFocusDirective, BsRovingFocusItemDirective } from '@mintplayer/ng-bootstrap/a11y';
6
- import { BsDropdownDirective, BsDropdownMenuDirective, BsComboboxDirective } from '@mintplayer/ng-bootstrap/dropdown';
7
- import { BsDropdownMenuComponent, BsDropdownItemComponent } from '@mintplayer/ng-bootstrap/dropdown-menu';
8
- import { BsFormComponent, BsFormControlDirective } from '@mintplayer/ng-bootstrap/form';
9
- import { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';
10
- import { BsProgressComponent } from '@mintplayer/ng-bootstrap/progress-bar';
11
-
12
- class BsTypeaheadComponent {
13
- constructor() {
14
- this.announcer = inject(BsLiveAnnouncerService);
15
- this.isOpen = model(false, ...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
16
- this.suggestions = input([], ...(ngDevMode ? [{ debugName: "suggestions" }] : /* istanbul ignore next */ []));
17
- this.isLoading = signal(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []));
18
- this.showNoSuggestions = computed(() => this.suggestions().length === 0, ...(ngDevMode ? [{ debugName: "showNoSuggestions" }] : /* istanbul ignore next */ []));
19
- this.textbox = viewChild.required('textbox');
20
- this.rovingFocus = viewChild(BsRovingFocusDirective, ...(ngDevMode ? [{ debugName: "rovingFocus" }] : /* istanbul ignore next */ []));
21
- this.searchterm = model('', ...(ngDevMode ? [{ debugName: "searchterm" }] : /* istanbul ignore next */ []));
22
- this.isLoadingText = input('Loading...', ...(ngDevMode ? [{ debugName: "isLoadingText" }] : /* istanbul ignore next */ []));
23
- this.noSuggestionsText = input('No suggestions found', ...(ngDevMode ? [{ debugName: "noSuggestionsText" }] : /* istanbul ignore next */ []));
24
- this.resultsAnnouncementSingular = input('1 result found', ...(ngDevMode ? [{ debugName: "resultsAnnouncementSingular" }] : /* istanbul ignore next */ []));
25
- this.resultsAnnouncementPlural = input((count) => `${count} results found`, ...(ngDevMode ? [{ debugName: "resultsAnnouncementPlural" }] : /* istanbul ignore next */ []));
26
- this.provideSuggestions = output();
27
- this.suggestionSelected = output();
28
- this.submitted = output();
29
- this.requestInFlight = false;
30
- effect(() => {
31
- const suggestions = this.suggestions();
32
- if (suggestions) {
33
- this.isLoading.set(false);
34
- if (this.requestInFlight) {
35
- this.requestInFlight = false;
36
- this.announceResults(suggestions.length);
37
- }
38
- }
39
- });
40
- }
41
- announceResults(count) {
42
- if (count === 0) {
43
- this.announcer.announce(this.noSuggestionsText());
44
- }
45
- else if (count === 1) {
46
- this.announcer.announce(this.resultsAnnouncementSingular());
47
- }
48
- else {
49
- this.announcer.announce(this.resultsAnnouncementPlural()(count));
50
- }
51
- }
52
- onProvideSuggestions(value) {
53
- this.searchterm.set(value);
54
- if (value === '') {
55
- this.isOpen.set(false);
56
- this.requestInFlight = false;
57
- }
58
- else {
59
- this.requestInFlight = true;
60
- this.isLoading.set(true);
61
- this.isOpen.set(true);
62
- this.provideSuggestions.emit(value);
63
- }
64
- }
65
- suggestionClicked(suggestion) {
66
- this.searchterm.set(suggestion.text);
67
- this.isOpen.set(false);
68
- this.suggestionSelected.emit(suggestion);
69
- }
70
- onActivate() {
71
- const rf = this.rovingFocus();
72
- if (!rf)
73
- return;
74
- const suggestion = this.suggestions()[rf.activeIndex()];
75
- if (suggestion) {
76
- this.suggestionClicked(suggestion);
77
- }
78
- }
79
- onCancel() {
80
- // dropdown was already closed by bsCombobox; no extra work needed
81
- }
82
- onSubmit(event) {
83
- // Suppress browser form-submit; we own the Enter semantics here.
84
- event?.preventDefault();
85
- this.isOpen.set(false);
86
- this.submitted.emit(this.searchterm());
87
- }
88
- focus() {
89
- this.textbox().nativeElement.focus();
90
- }
91
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTypeaheadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
92
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: BsTypeaheadComponent, isStandalone: true, selector: "bs-typeahead", inputs: { isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, searchterm: { classPropertyName: "searchterm", publicName: "searchterm", isSignal: true, isRequired: false, transformFunction: null }, isLoadingText: { classPropertyName: "isLoadingText", publicName: "isLoadingText", isSignal: true, isRequired: false, transformFunction: null }, noSuggestionsText: { classPropertyName: "noSuggestionsText", publicName: "noSuggestionsText", isSignal: true, isRequired: false, transformFunction: null }, resultsAnnouncementSingular: { classPropertyName: "resultsAnnouncementSingular", publicName: "resultsAnnouncementSingular", isSignal: true, isRequired: false, transformFunction: null }, resultsAnnouncementPlural: { classPropertyName: "resultsAnnouncementPlural", publicName: "resultsAnnouncementPlural", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isOpen: "isOpenChange", searchterm: "searchtermChange", provideSuggestions: "provideSuggestions", suggestionSelected: "suggestionSelected", submitted: "submitted" }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true, isSignal: true }, { propertyName: "rovingFocus", first: true, predicate: BsRovingFocusDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"\n #textbox\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n bsCombobox\n (activate)=\"onActivate()\"\n (cancel)=\"onCancel()\"\n (keydown.enter)=\"onSubmit($event)\"\n autocomplete=\"off\" />\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item bsRovingFocusItem (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n", styles: ["bs-progress{margin-top:-8px;margin-bottom:6px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: BsFormComponent, selector: "bs-form", inputs: ["action", "method"], outputs: ["submitted"] }, { kind: "directive", type: BsFormControlDirective, selector: "bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)" }, { kind: "directive", type: BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "sameDropdownWidth", "isOpen", "popupRole"], outputs: ["isOpenChange"], exportAs: ["bsDropdown"] }, { kind: "directive", type: BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }, { kind: "component", type: BsDropdownMenuComponent, selector: "bs-dropdown-menu", inputs: ["maxHeight"] }, { kind: "component", type: BsDropdownItemComponent, selector: "bs-dropdown-item", inputs: ["isSelected", "disabled"] }, { kind: "directive", type: BsComboboxDirective, selector: "input[bsCombobox]", inputs: ["bsComboboxAutocomplete", "activeDescendant"], outputs: ["navigate", "activate", "cancel"], exportAs: ["bsCombobox"] }, { kind: "directive", type: BsRovingFocusDirective, selector: "[bsRovingFocus]", inputs: ["orientation", "mode", "wrap"], exportAs: ["bsRovingFocus"] }, { kind: "directive", type: BsRovingFocusItemDirective, selector: "[bsRovingFocusItem]", inputs: ["disabled"], exportAs: ["bsRovingFocusItem"] }, { kind: "component", type: BsProgressComponent, selector: "bs-progress", inputs: ["height", "isIndeterminate", "ariaLabel"] }, { kind: "component", type: BsHasOverlayComponent, selector: "bs-has-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
93
- }
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTypeaheadComponent, decorators: [{
95
- type: Component,
96
- args: [{ selector: 'bs-typeahead', imports: [
97
- FormsModule,
98
- BsFormComponent, BsFormControlDirective,
99
- BsDropdownDirective, BsDropdownMenuDirective, BsDropdownMenuComponent, BsDropdownItemComponent,
100
- BsComboboxDirective,
101
- BsRovingFocusDirective, BsRovingFocusItemDirective,
102
- BsProgressComponent, BsHasOverlayComponent,
103
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"\n #textbox\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n bsCombobox\n (activate)=\"onActivate()\"\n (cancel)=\"onCancel()\"\n (keydown.enter)=\"onSubmit($event)\"\n autocomplete=\"off\" />\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item bsRovingFocusItem (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n", styles: ["bs-progress{margin-top:-8px;margin-bottom:6px}\n"] }]
104
- }], ctorParameters: () => [], propDecorators: { isOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOpen", required: false }] }, { type: i0.Output, args: ["isOpenChange"] }], suggestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "suggestions", required: false }] }], textbox: [{ type: i0.ViewChild, args: ['textbox', { isSignal: true }] }], rovingFocus: [{ type: i0.ViewChild, args: [i0.forwardRef(() => BsRovingFocusDirective), { isSignal: true }] }], searchterm: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchterm", required: false }] }, { type: i0.Output, args: ["searchtermChange"] }], isLoadingText: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoadingText", required: false }] }], noSuggestionsText: [{ type: i0.Input, args: [{ isSignal: true, alias: "noSuggestionsText", required: false }] }], resultsAnnouncementSingular: [{ type: i0.Input, args: [{ isSignal: true, alias: "resultsAnnouncementSingular", required: false }] }], resultsAnnouncementPlural: [{ type: i0.Input, args: [{ isSignal: true, alias: "resultsAnnouncementPlural", required: false }] }], provideSuggestions: [{ type: i0.Output, args: ["provideSuggestions"] }], suggestionSelected: [{ type: i0.Output, args: ["suggestionSelected"] }], submitted: [{ type: i0.Output, args: ["submitted"] }] } });
105
-
106
- /**
107
- * Generated bundle index. Do not edit.
108
- */
109
-
110
- export { BsTypeaheadComponent };
111
- //# sourceMappingURL=mintplayer-ng-bootstrap-typeahead.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-typeahead.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.html","../../../../libs/mintplayer-ng-bootstrap/typeahead/mintplayer-ng-bootstrap-typeahead.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, model, output, signal, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { BsLiveAnnouncerService, BsRovingFocusDirective, BsRovingFocusItemDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsComboboxDirective, BsDropdownDirective, BsDropdownMenuDirective } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuComponent, BsDropdownItemComponent } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsFormComponent, BsFormControlDirective } from '@mintplayer/ng-bootstrap/form';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsProgressComponent } from '@mintplayer/ng-bootstrap/progress-bar';\n\n@Component({\n selector: 'bs-typeahead',\n templateUrl: './typeahead.component.html',\n styleUrls: ['./typeahead.component.scss'],\n imports: [\n FormsModule,\n BsFormComponent, BsFormControlDirective,\n BsDropdownDirective, BsDropdownMenuDirective, BsDropdownMenuComponent, BsDropdownItemComponent,\n BsComboboxDirective,\n BsRovingFocusDirective, BsRovingFocusItemDirective,\n BsProgressComponent, BsHasOverlayComponent,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTypeaheadComponent {\n private announcer = inject(BsLiveAnnouncerService);\n\n isOpen = model(false);\n\n suggestions = input<any[]>([]);\n isLoading = signal<boolean>(false);\n showNoSuggestions = computed(() => this.suggestions().length === 0);\n\n readonly textbox = viewChild.required<ElementRef<HTMLInputElement>>('textbox');\n readonly rovingFocus = viewChild(BsRovingFocusDirective);\n searchterm = model('');\n isLoadingText = input('Loading...');\n noSuggestionsText = input('No suggestions found');\n resultsAnnouncementSingular = input<string>('1 result found');\n resultsAnnouncementPlural = input<(count: number) => string>((count) => `${count} results found`);\n provideSuggestions = output<string>();\n suggestionSelected = output<any>();\n submitted = output<string>();\n\n private requestInFlight = false;\n\n constructor() {\n effect(() => {\n const suggestions = this.suggestions();\n if (suggestions) {\n this.isLoading.set(false);\n if (this.requestInFlight) {\n this.requestInFlight = false;\n this.announceResults(suggestions.length);\n }\n }\n });\n }\n\n private announceResults(count: number) {\n if (count === 0) {\n this.announcer.announce(this.noSuggestionsText());\n } else if (count === 1) {\n this.announcer.announce(this.resultsAnnouncementSingular());\n } else {\n this.announcer.announce(this.resultsAnnouncementPlural()(count));\n }\n }\n\n onProvideSuggestions(value: string) {\n this.searchterm.set(value);\n if (value === '') {\n this.isOpen.set(false);\n this.requestInFlight = false;\n } else {\n this.requestInFlight = true;\n this.isLoading.set(true);\n this.isOpen.set(true);\n this.provideSuggestions.emit(value);\n }\n }\n\n suggestionClicked(suggestion: any) {\n this.searchterm.set(suggestion.text);\n this.isOpen.set(false);\n this.suggestionSelected.emit(suggestion);\n }\n\n onActivate() {\n const rf = this.rovingFocus();\n if (!rf) return;\n const suggestion = this.suggestions()[rf.activeIndex()];\n if (suggestion) {\n this.suggestionClicked(suggestion);\n }\n }\n\n onCancel() {\n // dropdown was already closed by bsCombobox; no extra work needed\n }\n\n onSubmit(event?: Event) {\n // Suppress browser form-submit; we own the Enter semantics here.\n event?.preventDefault();\n this.isOpen.set(false);\n this.submitted.emit(this.searchterm());\n }\n\n public focus() {\n this.textbox().nativeElement.focus();\n }\n}\n","<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"\n #textbox\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n bsCombobox\n (activate)=\"onActivate()\"\n (cancel)=\"onCancel()\"\n (keydown.enter)=\"onSubmit($event)\"\n autocomplete=\"off\" />\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item [disabled]=\"true\">\n {{ isLoadingText() }}\n </bs-dropdown-item>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <bs-dropdown-item [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </bs-dropdown-item>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <bs-dropdown-item bsRovingFocusItem (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAuBa,oBAAoB,CAAA;AAsB/B,IAAA,WAAA,GAAA;AArBQ,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAElD,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,KAAK,6EAAC;AAErB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAQ,EAAE,kFAAC;AAC9B,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAU,KAAK,gFAAC;AAClC,QAAA,IAAA,CAAA,iBAAiB,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,MAAM,KAAK,CAAC,wFAAC;AAE1D,QAAA,IAAA,CAAA,OAAO,GAAG,SAAS,CAAC,QAAQ,CAA+B,SAAS,CAAC;AACrE,QAAA,IAAA,CAAA,WAAW,GAAG,SAAS,CAAC,sBAAsB,kFAAC;AACxD,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,EAAE,iFAAC;AACtB,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,YAAY,oFAAC;AACnC,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAC,sBAAsB,wFAAC;AACjD,QAAA,IAAA,CAAA,2BAA2B,GAAG,KAAK,CAAS,gBAAgB,kGAAC;AAC7D,QAAA,IAAA,CAAA,yBAAyB,GAAG,KAAK,CAA4B,CAAC,KAAK,KAAK,CAAA,EAAG,KAAK,CAAA,cAAA,CAAgB,EAAA,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,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEjCzD;;AAEG;;;;"}
@@ -1,24 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
-
4
- class BsUcFirstPipe {
5
- transform(value, ...args) {
6
- return value[0].toUpperCase() + value.slice(1);
7
- }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsUcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.11", ngImport: i0, type: BsUcFirstPipe, isStandalone: true, name: "bsUcFirst" }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsUcFirstPipe, decorators: [{
12
- type: Pipe,
13
- args: [{
14
- name: 'bsUcFirst',
15
- pure: true,
16
- }]
17
- }] });
18
-
19
- /**
20
- * Generated bundle index. Do not edit.
21
- */
22
-
23
- export { BsUcFirstPipe };
24
- //# sourceMappingURL=mintplayer-ng-bootstrap-uc-first.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-uc-first.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/uc-first/src/uc-first.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/uc-first/mintplayer-ng-bootstrap-uc-first.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsUcFirst',\n pure: true,\n})\nexport class BsUcFirstPipe implements PipeTransform {\n transform(value: string, ...args: any[]) {\n return value[0].toUpperCase() + value.slice(1);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,aAAa,CAAA;AACxB,IAAA,SAAS,CAAC,KAAa,EAAE,GAAG,IAAW,EAAA;AACrC,QAAA,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAChD;+GAHW,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -1,94 +0,0 @@
1
- import { isPlatformServer } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, PLATFORM_ID, output, Directive } from '@angular/core';
4
-
5
- class BsUserAgentDirective {
6
- constructor() {
7
- this.platformId = inject(PLATFORM_ID);
8
- this.detected = output();
9
- }
10
- get isAndroid() {
11
- return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/Android/i);
12
- }
13
- get isIos() {
14
- return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/iPhone|iPad|iPod/i);
15
- }
16
- get isWindows() {
17
- return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/Windows/i);
18
- }
19
- get browserClass() {
20
- const browser = this.getBrowser();
21
- if (!browser) {
22
- return null;
23
- }
24
- else {
25
- return `browser-${browser.toLowerCase()}`;
26
- }
27
- }
28
- getBrowser() {
29
- if (!isPlatformServer(this.platformId) && !!navigator) {
30
- const userAgent = navigator.userAgent;
31
- if (userAgent.match(/opr\//i)) {
32
- return 'Opera';
33
- }
34
- else if (userAgent.match(/edg/i)) {
35
- return 'Edge';
36
- }
37
- else if (userAgent.match(/chrome|chromium|crios/i)) {
38
- return 'Chrome';
39
- }
40
- else if (userAgent.match(/firefox|fxios/i)) {
41
- return 'Firefox';
42
- }
43
- else if (userAgent.match(/safari/i)) {
44
- return 'Safari';
45
- }
46
- else {
47
- return undefined;
48
- }
49
- }
50
- else {
51
- return undefined;
52
- }
53
- }
54
- ngAfterViewInit() {
55
- setTimeout(() => {
56
- let os;
57
- let webbrowser = this.getBrowser();
58
- if (this.isAndroid) {
59
- os = 'Android';
60
- }
61
- else if (this.isIos) {
62
- os = 'iOS';
63
- }
64
- else if (this.isWindows) {
65
- os = 'Windows';
66
- }
67
- else {
68
- os = undefined;
69
- }
70
- this.detected.emit({ os, webbrowser });
71
- });
72
- }
73
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsUserAgentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
74
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.11", type: BsUserAgentDirective, isStandalone: true, selector: "[bsUserAgent]", outputs: { detected: "detected" }, host: { properties: { "class.os-android": "isAndroid", "class.os-ios": "isIos", "class.os-windows": "isWindows", "class": "browserClass" } }, ngImport: i0 }); }
75
- }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsUserAgentDirective, decorators: [{
77
- type: Directive,
78
- args: [{
79
- selector: '[bsUserAgent]',
80
- host: {
81
- '[class.os-android]': 'isAndroid',
82
- '[class.os-ios]': 'isIos',
83
- '[class.os-windows]': 'isWindows',
84
- '[class]': 'browserClass',
85
- },
86
- }]
87
- }], propDecorators: { detected: [{ type: i0.Output, args: ["detected"] }] } });
88
-
89
- /**
90
- * Generated bundle index. Do not edit.
91
- */
92
-
93
- export { BsUserAgentDirective };
94
- //# sourceMappingURL=mintplayer-ng-bootstrap-user-agent.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-user-agent.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/user-agent/src/directive/user-agent.directive.ts","../../../../libs/mintplayer-ng-bootstrap/user-agent/mintplayer-ng-bootstrap-user-agent.ts"],"sourcesContent":["import { isPlatformServer } from '@angular/common';\nimport { AfterViewInit, Directive, inject, output, PLATFORM_ID } from '@angular/core';\nimport { BsUserAgent } from '../interfaces/user-agent';\nimport { BsOperatingSystem } from '../types/operating-system.type';\nimport { BsWebbrowser } from '../types/webbrowser.type';\n\n@Directive({\n selector: '[bsUserAgent]',\n host: {\n '[class.os-android]': 'isAndroid',\n '[class.os-ios]': 'isIos',\n '[class.os-windows]': 'isWindows',\n '[class]': 'browserClass',\n },\n})\nexport class BsUserAgentDirective implements AfterViewInit {\n private platformId = inject(PLATFORM_ID);\n\n get isAndroid() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/Android/i);\n }\n\n get isIos() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/iPhone|iPad|iPod/i);\n }\n\n get isWindows() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/Windows/i);\n }\n\n get browserClass() {\n const browser = this.getBrowser();\n if (!browser) {\n return null;\n } else {\n return `browser-${browser.toLowerCase()}`;\n }\n }\n\n private getBrowser(): BsWebbrowser | undefined {\n if (!isPlatformServer(this.platformId) && !!navigator) {\n const userAgent = navigator.userAgent;\n if(userAgent.match(/opr\\//i)) {\n return 'Opera';\n } else if(userAgent.match(/edg/i)) {\n return 'Edge';\n } else if (userAgent.match(/chrome|chromium|crios/i)) {\n return 'Chrome';\n } else if(userAgent.match(/firefox|fxios/i)) {\n return 'Firefox';\n } else if(userAgent.match(/safari/i)) {\n return 'Safari';\n } else {\n return undefined;\n }\n } else {\n return undefined;\n }\n }\n\n ngAfterViewInit() {\n setTimeout(() => {\n let os: BsOperatingSystem | undefined;\n let webbrowser = this.getBrowser();\n\n if (this.isAndroid) {\n os = 'Android';\n } else if (this.isIos) {\n os = 'iOS';\n } else if (this.isWindows) {\n os = 'Windows';\n } else {\n os = undefined;\n }\n\n this.detected.emit({ os, webbrowser });\n });\n }\n\n readonly detected = output<BsUserAgent>();\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAea,oBAAoB,CAAA;AATjC,IAAA,WAAA,GAAA;AAUU,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;QA+D/B,IAAA,CAAA,QAAQ,GAAG,MAAM,EAAe;AAC1C,IAAA;AA9DC,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC;IACrG;AAEA,IAAA,IAAI,KAAK,GAAA;QACP,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,mBAAmB,CAAC;IAC9G;AAEA,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC;IACrG;AAEA,IAAA,IAAI,YAAY,GAAA;AACd,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE;QACjC,IAAI,CAAC,OAAO,EAAE;AACZ,YAAA,OAAO,IAAI;QACb;aAAO;AACL,YAAA,OAAO,WAAW,OAAO,CAAC,WAAW,EAAE,EAAE;QAC3C;IACF;IAEQ,UAA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EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,kBAAA,EAAA,WAAA,EAAA,cAAA,EAAA,OAAA,EAAA,kBAAA,EAAA,WAAA,EAAA,OAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAThC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,IAAI,EAAE;AACJ,wBAAA,oBAAoB,EAAE,WAAW;AACjC,wBAAA,gBAAgB,EAAE,OAAO;AACzB,wBAAA,oBAAoB,EAAE,WAAW;AACjC,wBAAA,SAAS,EAAE,cAAc;AAC1B,qBAAA;AACF,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -1,48 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ElementRef, PLATFORM_ID, output, Directive } from '@angular/core';
3
- import { isPlatformServer } from '@angular/common';
4
-
5
- class BsInViewportDirective {
6
- constructor() {
7
- this.elementRef = inject(ElementRef);
8
- this.platformId = inject(PLATFORM_ID);
9
- this.observer = null;
10
- this.isDestroyed = false;
11
- this.bsInViewport = output();
12
- }
13
- ngAfterViewInit() {
14
- if (isPlatformServer(this.platformId)) {
15
- return;
16
- }
17
- this.observer = new IntersectionObserver((entries) => {
18
- if (!this.isDestroyed) {
19
- for (const entry of entries) {
20
- this.bsInViewport.emit(entry.isIntersecting);
21
- }
22
- }
23
- });
24
- this.observer.observe(this.elementRef.nativeElement);
25
- }
26
- ngOnDestroy() {
27
- this.isDestroyed = true;
28
- if (this.observer) {
29
- this.observer.disconnect();
30
- this.observer = null;
31
- }
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsInViewportDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.11", type: BsInViewportDirective, isStandalone: true, selector: "[bsInViewport]", outputs: { bsInViewport: "bsInViewport" }, ngImport: i0 }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsInViewportDirective, decorators: [{
37
- type: Directive,
38
- args: [{
39
- selector: '[bsInViewport]',
40
- }]
41
- }], propDecorators: { bsInViewport: [{ type: i0.Output, args: ["bsInViewport"] }] } });
42
-
43
- /**
44
- * Generated bundle index. Do not edit.
45
- */
46
-
47
- export { BsInViewportDirective };
48
- //# sourceMappingURL=mintplayer-ng-bootstrap-viewport.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-viewport.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/viewport/src/viewport/viewport.directive.ts","../../../../libs/mintplayer-ng-bootstrap/viewport/mintplayer-ng-bootstrap-viewport.ts"],"sourcesContent":["import { AfterViewInit, Directive, ElementRef, inject, OnDestroy, output, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\n\n@Directive({\n selector: '[bsInViewport]',\n})\nexport class BsInViewportDirective implements AfterViewInit, OnDestroy {\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly platformId = inject(PLATFORM_ID);\n private observer: IntersectionObserver | null = null;\n private isDestroyed = false;\n\n readonly bsInViewport = output<boolean>();\n\n ngAfterViewInit() {\n if (isPlatformServer(this.platformId)) {\n return;\n }\n\n this.observer = new IntersectionObserver((entries) => {\n if (!this.isDestroyed) {\n for (const entry of entries) {\n this.bsInViewport.emit(entry.isIntersecting);\n }\n }\n });\n\n this.observer.observe(this.elementRef.nativeElement);\n }\n\n ngOnDestroy() {\n this.isDestroyed = true;\n if (this.observer) {\n this.observer.disconnect();\n this.observer = null;\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,qBAAqB,CAAA;AAHlC,IAAA,WAAA,GAAA;AAImB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;AACxD,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;QACzC,IAAA,CAAA,QAAQ,GAAgC,IAAI;QAC5C,IAAA,CAAA,WAAW,GAAG,KAAK;QAElB,IAAA,CAAA,YAAY,GAAG,MAAM,EAAW;AAyB1C,IAAA;IAvBC,eAAe,GAAA;AACb,QAAA,IAAI,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YACrC;QACF;QAEA,IAAI,CAAC,QAAQ,GAAG,IAAI,oBAAoB,CAAC,CAAC,OAAO,KAAI;AACnD,YAAA,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;AACrB,gBAAA,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE;oBAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC;gBAC9C;YACF;AACF,QAAA,CAAC,CAAC;QAEF,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;IACtD;IAEA,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,WAAW,GAAG,IAAI;AACvB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,YAAA,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE;AAC1B,YAAA,IAAI,CAAC,QAAQ,GAAG,IAAI;QACtB;IACF;+GA9BW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAArB,q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