@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,205 +0,0 @@
1
- import { NgTemplateOutlet } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { model, signal, viewChild, output, effect, ChangeDetectionStrategy, Component, inject, TemplateRef, input, isSignal, untracked, Directive } from '@angular/core';
4
- import * as i1 from '@angular/forms';
5
- import { FormsModule } from '@angular/forms';
6
- import { BsRovingFocusDirective, BsRovingFocusItemDirective } from '@mintplayer/ng-bootstrap/a11y';
7
- import { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';
8
- import { BsDropdownDirective, BsDropdownMenuDirective, BsComboboxDirective } from '@mintplayer/ng-bootstrap/dropdown';
9
- import { BsDropdownMenuComponent, BsDropdownItemComponent } from '@mintplayer/ng-bootstrap/dropdown-menu';
10
- import { BsInListPipe } from '@mintplayer/ng-bootstrap/in-list';
11
-
12
- class BsSelect2Component {
13
- constructor() {
14
- this.isOpen = model(false, ...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
15
- this.isLoading = signal(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []));
16
- this.suggestions = model([], ...(ngDevMode ? [{ debugName: "suggestions" }] : /* istanbul ignore next */ []));
17
- this.defaultItemTemplate = viewChild.required('defaultItemTemplate');
18
- this.searchBox = viewChild.required('searchBox');
19
- this.itemsBox = viewChild.required('itemsBox');
20
- this.rovingFocus = viewChild(BsRovingFocusDirective, ...(ngDevMode ? [{ debugName: "rovingFocus" }] : /* istanbul ignore next */ []));
21
- this.searchterm = model('', ...(ngDevMode ? [{ debugName: "searchterm" }] : /* istanbul ignore next */ []));
22
- this.provideSuggestions = output();
23
- this.isFocused = signal(false, ...(ngDevMode ? [{ debugName: "isFocused" }] : /* istanbul ignore next */ []));
24
- this.selectedItems = model([], ...(ngDevMode ? [{ debugName: "selectedItems" }] : /* istanbul ignore next */ []));
25
- this.charWidth = 10;
26
- this.searchWidth = signal(20, ...(ngDevMode ? [{ debugName: "searchWidth" }] : /* istanbul ignore next */ []));
27
- this.itemTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []));
28
- this.suggestionTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "suggestionTemplate" }] : /* istanbul ignore next */ []));
29
- effect(() => {
30
- const suggestions = this.suggestions();
31
- if (suggestions) {
32
- this.isLoading.set(false);
33
- }
34
- });
35
- }
36
- onProvideSuggestions(value) {
37
- this.searchterm.set(value);
38
- this.searchWidth.set(this.charWidth * (value.length + 2));
39
- if (value === '') {
40
- this.isOpen.set(false);
41
- }
42
- else {
43
- this.isLoading.set(true);
44
- this.isOpen.set(true);
45
- this.provideSuggestions.emit(value);
46
- }
47
- }
48
- onSuggestionClicked(suggestion) {
49
- this.searchterm.set('');
50
- this.isOpen.set(false);
51
- const currentItems = this.selectedItems();
52
- const existing = currentItems.find((value, index) => value.id === suggestion.id);
53
- if (existing === undefined) {
54
- this.selectedItems.set([...currentItems, suggestion]);
55
- }
56
- else {
57
- this.selectedItems.set(currentItems.filter(item => item.id !== suggestion.id));
58
- }
59
- this.searchBox().nativeElement.focus();
60
- }
61
- onActivate() {
62
- const rf = this.rovingFocus();
63
- if (!rf)
64
- return;
65
- const suggestion = this.suggestions()[rf.activeIndex()];
66
- if (suggestion) {
67
- this.onSuggestionClicked(suggestion);
68
- }
69
- }
70
- onRemoveItem(item, event) {
71
- event.stopPropagation();
72
- const currentItems = this.selectedItems();
73
- this.selectedItems.set(currentItems.filter(i => i.id !== item.id));
74
- this.focus();
75
- }
76
- focus() {
77
- this.searchBox().nativeElement.focus();
78
- }
79
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSelect2Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
80
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: BsSelect2Component, isStandalone: true, selector: "bs-select2", 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 }, selectedItems: { classPropertyName: "selectedItems", publicName: "selectedItems", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isOpen: "isOpenChange", suggestions: "suggestionsChange", searchterm: "searchtermChange", provideSuggestions: "provideSuggestions", selectedItems: "selectedItemsChange" }, host: { listeners: { "click": "focus()" }, properties: { "class.focus": "isFocused()" } }, viewQueries: [{ propertyName: "defaultItemTemplate", first: true, predicate: ["defaultItemTemplate"], descendants: true, isSignal: true }, { propertyName: "searchBox", first: true, predicate: ["searchBox"], descendants: true, isSignal: true }, { propertyName: "itemsBox", first: true, predicate: ["itemsBox"], descendants: true, isSignal: true }, { propertyName: "rovingFocus", first: true, predicate: BsRovingFocusDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<bs-has-overlay></bs-has-overlay>\n<div bsDropdown popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\" #itemsBox class=\"items-box text-wrap\">\n @for (item of selectedItems(); track item) {\n <ng-container *ngTemplateOutlet=\"itemTemplate() ?? defaultItemTemplate; context: { $implicit: item, select2: this }\"></ng-container>\n }\n\n <input type=\"text\" autocomplete=\"off\"\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n (focus)=\"isFocused.set(true)\"\n (blur)=\"isFocused.set(false)\"\n [style.width.px]=\"searchWidth()\"\n bsCombobox\n (activate)=\"onActivate()\"\n #searchBox />\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\" [maxHeight]=\"200\">\n @for (suggestion of suggestions(); track $index) {\n <bs-dropdown-item bsRovingFocusItem (click)=\"onSuggestionClicked(suggestion)\" [isSelected]=\"selectedItems() | bsInList:suggestion.id\">\n <ng-container *ngTemplateOutlet=\"suggestionTemplate() ?? defaultSuggestionTemplate; context: { $implicit: suggestion, select2: this }\"></ng-container>\n </bs-dropdown-item>\n }\n </bs-dropdown-menu>\n</div>\n\n<ng-template #defaultItemTemplate let-item let-select2=\"select2\">\n <span class=\"select2-item\">\n <button type=\"button\" (click)=\"select2.onRemoveItem(item,$event)\" aria-label=\"Remove item\" class=\"btn-close-inline\">\u00D7</button>\n {{ item.text }}\n </span>\n</ng-template>\n\n<ng-template #defaultSuggestionTemplate let-suggestion let-select2=\"select2\">\n {{ suggestion.text }}\n</ng-template>\n", styles: [".items-box{min-height:38px;padding:0 5px 3px;cursor:text;border:1px solid #ccc}.items-box .select2-item{display:inline-block;background-color:#e4e4e4;color:#1a1a1a;border:1px solid #aaa;border-radius:4px;margin-top:5px;margin-right:5px;padding:0 5px;cursor:default;user-select:none;-webkit-user-select:none}.items-box .select2-item>span{cursor:pointer;color:#999}.items-box .select2-item>span:hover{color:#333}.items-box .select2-item>button{background:none;border:none;padding:0;cursor:pointer;color:#999}.items-box .select2-item>button:hover{color:#333}.items-box input{border:none;outline:0;margin:5px 0 2px;background:none}:host{display:block;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}:host.focus{color:#495057;background-color:#fff;border-color:#80bdff!important;outline:0;box-shadow:0 0 0 .2rem #007bff40}ul{max-height:200px;overflow-y:auto}ul>li{padding:10px;cursor:pointer}ul>li.selected{background:#ddd}ul>li:hover{color:#fff;background-color:#5897fb}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: BsHasOverlayComponent, selector: "bs-has-overlay" }, { 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: "pipe", type: BsInListPipe, name: "bsInList" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
81
- }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSelect2Component, decorators: [{
83
- type: Component,
84
- args: [{ selector: 'bs-select2', imports: [
85
- NgTemplateOutlet,
86
- FormsModule,
87
- BsHasOverlayComponent,
88
- BsDropdownDirective,
89
- BsDropdownMenuDirective,
90
- BsDropdownMenuComponent,
91
- BsDropdownItemComponent,
92
- BsComboboxDirective,
93
- BsRovingFocusDirective,
94
- BsRovingFocusItemDirective,
95
- BsInListPipe,
96
- ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
97
- '[class.focus]': 'isFocused()',
98
- '(click)': 'focus()',
99
- }, template: "<bs-has-overlay></bs-has-overlay>\n<div bsDropdown popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\" #itemsBox class=\"items-box text-wrap\">\n @for (item of selectedItems(); track item) {\n <ng-container *ngTemplateOutlet=\"itemTemplate() ?? defaultItemTemplate; context: { $implicit: item, select2: this }\"></ng-container>\n }\n\n <input type=\"text\" autocomplete=\"off\"\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n (focus)=\"isFocused.set(true)\"\n (blur)=\"isFocused.set(false)\"\n [style.width.px]=\"searchWidth()\"\n bsCombobox\n (activate)=\"onActivate()\"\n #searchBox />\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\" [maxHeight]=\"200\">\n @for (suggestion of suggestions(); track $index) {\n <bs-dropdown-item bsRovingFocusItem (click)=\"onSuggestionClicked(suggestion)\" [isSelected]=\"selectedItems() | bsInList:suggestion.id\">\n <ng-container *ngTemplateOutlet=\"suggestionTemplate() ?? defaultSuggestionTemplate; context: { $implicit: suggestion, select2: this }\"></ng-container>\n </bs-dropdown-item>\n }\n </bs-dropdown-menu>\n</div>\n\n<ng-template #defaultItemTemplate let-item let-select2=\"select2\">\n <span class=\"select2-item\">\n <button type=\"button\" (click)=\"select2.onRemoveItem(item,$event)\" aria-label=\"Remove item\" class=\"btn-close-inline\">\u00D7</button>\n {{ item.text }}\n </span>\n</ng-template>\n\n<ng-template #defaultSuggestionTemplate let-suggestion let-select2=\"select2\">\n {{ suggestion.text }}\n</ng-template>\n", styles: [".items-box{min-height:38px;padding:0 5px 3px;cursor:text;border:1px solid #ccc}.items-box .select2-item{display:inline-block;background-color:#e4e4e4;color:#1a1a1a;border:1px solid #aaa;border-radius:4px;margin-top:5px;margin-right:5px;padding:0 5px;cursor:default;user-select:none;-webkit-user-select:none}.items-box .select2-item>span{cursor:pointer;color:#999}.items-box .select2-item>span:hover{color:#333}.items-box .select2-item>button{background:none;border:none;padding:0;cursor:pointer;color:#999}.items-box .select2-item>button:hover{color:#333}.items-box input{border:none;outline:0;margin:5px 0 2px;background:none}:host{display:block;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}:host.focus{color:#495057;background-color:#fff;border-color:#80bdff!important;outline:0;box-shadow:0 0 0 .2rem #007bff40}ul{max-height:200px;overflow-y:auto}ul>li{padding:10px;cursor:pointer}ul>li.selected{background:#ddd}ul>li:hover{color:#fff;background-color:#5897fb}\n"] }]
100
- }], 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 }] }, { type: i0.Output, args: ["suggestionsChange"] }], defaultItemTemplate: [{ type: i0.ViewChild, args: ['defaultItemTemplate', { isSignal: true }] }], searchBox: [{ type: i0.ViewChild, args: ['searchBox', { isSignal: true }] }], itemsBox: [{ type: i0.ViewChild, args: ['itemsBox', { 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"] }], provideSuggestions: [{ type: i0.Output, args: ["provideSuggestions"] }], selectedItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedItems", required: false }] }, { type: i0.Output, args: ["selectedItemsChange"] }] } });
101
-
102
- class BsItemTemplateDirective {
103
- constructor() {
104
- this.select2component = inject(BsSelect2Component);
105
- this.templateRef = inject(TemplateRef);
106
- this.bsItemTemplateOf = input(undefined, ...(ngDevMode ? [{ debugName: "bsItemTemplateOf" }] : /* istanbul ignore next */ []));
107
- this.select2component.itemTemplate.set(this.templateRef);
108
- // Sync input value to component
109
- effect(() => {
110
- const value = this.bsItemTemplateOf();
111
- if (value) {
112
- if (isSignal(value)) {
113
- // Store the signal reference for two-way binding
114
- this.sourceSignal = value;
115
- this.lastSourceValue = value();
116
- this.select2component.selectedItems.set(value());
117
- }
118
- else {
119
- // Plain array - one-way binding (backward compatible)
120
- this.sourceSignal = undefined;
121
- this.select2component.selectedItems.set(value);
122
- }
123
- }
124
- });
125
- // Sync changes from component back to source signal
126
- effect(() => {
127
- const componentValue = this.select2component.selectedItems();
128
- if (this.sourceSignal) {
129
- const sourceValue = untracked(() => this.sourceSignal());
130
- if (componentValue !== sourceValue) {
131
- this.sourceSignal.set(componentValue);
132
- }
133
- }
134
- });
135
- // Sync changes from source signal to component
136
- effect(() => {
137
- if (this.sourceSignal) {
138
- const sourceValue = this.sourceSignal();
139
- if (sourceValue !== this.lastSourceValue) {
140
- this.lastSourceValue = sourceValue;
141
- const componentValue = untracked(() => this.select2component.selectedItems());
142
- if (sourceValue !== componentValue) {
143
- this.select2component.selectedItems.set(sourceValue);
144
- }
145
- }
146
- }
147
- });
148
- }
149
- static ngTemplateContextGuard(dir, ctx) {
150
- return true;
151
- }
152
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsItemTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
153
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: BsItemTemplateDirective, isStandalone: true, selector: "[bsItemTemplate]", inputs: { bsItemTemplateOf: { classPropertyName: "bsItemTemplateOf", publicName: "bsItemTemplateOf", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
154
- }
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsItemTemplateDirective, decorators: [{
156
- type: Directive,
157
- args: [{
158
- selector: '[bsItemTemplate]',
159
- }]
160
- }], ctorParameters: () => [], propDecorators: { bsItemTemplateOf: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsItemTemplateOf", required: false }] }] } });
161
- class BsItemTemplateContext {
162
- constructor() {
163
- this.$implicit = null;
164
- this.select2 = null;
165
- }
166
- }
167
-
168
- class BsSuggestionTemplateDirective {
169
- constructor() {
170
- this.select2component = inject(BsSelect2Component);
171
- this.bsSuggestionTemplateOf = input(undefined, ...(ngDevMode ? [{ debugName: "bsSuggestionTemplateOf" }] : /* istanbul ignore next */ []));
172
- const templateRef = inject(TemplateRef);
173
- this.select2component.suggestionTemplate.set(templateRef);
174
- effect(() => {
175
- const value = this.bsSuggestionTemplateOf();
176
- if (value) {
177
- this.select2component.suggestions.set(value);
178
- }
179
- });
180
- }
181
- static ngTemplateContextGuard(dir, ctx) {
182
- return true;
183
- }
184
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSuggestionTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
185
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: BsSuggestionTemplateDirective, isStandalone: true, selector: "[bsSuggestionTemplate]", inputs: { bsSuggestionTemplateOf: { classPropertyName: "bsSuggestionTemplateOf", publicName: "bsSuggestionTemplateOf", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
186
- }
187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSuggestionTemplateDirective, decorators: [{
188
- type: Directive,
189
- args: [{
190
- selector: '[bsSuggestionTemplate]',
191
- }]
192
- }], ctorParameters: () => [], propDecorators: { bsSuggestionTemplateOf: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsSuggestionTemplateOf", required: false }] }] } });
193
- class BsSuggestionTemplateContext {
194
- constructor() {
195
- this.$implicit = null;
196
- this.select2 = null;
197
- }
198
- }
199
-
200
- /**
201
- * Generated bundle index. Do not edit.
202
- */
203
-
204
- export { BsItemTemplateContext, BsItemTemplateDirective, BsSelect2Component, BsSuggestionTemplateContext, BsSuggestionTemplateDirective };
205
- //# sourceMappingURL=mintplayer-ng-bootstrap-select2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-select2.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/select2/src/component/select2.component.ts","../../../../libs/mintplayer-ng-bootstrap/select2/src/component/select2.component.html","../../../../libs/mintplayer-ng-bootstrap/select2/src/directive/item-template/item-template.directive.ts","../../../../libs/mintplayer-ng-bootstrap/select2/src/directive/suggestion-template/suggestion-template.directive.ts","../../../../libs/mintplayer-ng-bootstrap/select2/mintplayer-ng-bootstrap-select2.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, effect, ElementRef, input, model, output, signal, TemplateRef, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { BsRovingFocusDirective, BsRovingFocusItemDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { HasId } from '@mintplayer/ng-bootstrap/has-id';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsComboboxDirective, BsDropdownDirective, BsDropdownMenuDirective } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuComponent, BsDropdownItemComponent } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsInListPipe } from '@mintplayer/ng-bootstrap/in-list';\n\n@Component({\n selector: 'bs-select2',\n templateUrl: './select2.component.html',\n styleUrls: ['./select2.component.scss'],\n imports: [\n NgTemplateOutlet,\n FormsModule,\n BsHasOverlayComponent,\n BsDropdownDirective,\n BsDropdownMenuDirective,\n BsDropdownMenuComponent,\n BsDropdownItemComponent,\n BsComboboxDirective,\n BsRovingFocusDirective,\n BsRovingFocusItemDirective,\n BsInListPipe,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.focus]': 'isFocused()',\n '(click)': 'focus()',\n },\n})\nexport class BsSelect2Component<T extends HasId<U>, U> {\n\n isOpen = model(false);\n isLoading = signal<boolean>(false);\n\n suggestions = model<T[]>([]);\n\n readonly defaultItemTemplate = viewChild.required<TemplateRef<any>>('defaultItemTemplate');\n readonly searchBox = viewChild.required<ElementRef<HTMLInputElement>>('searchBox');\n readonly itemsBox = viewChild.required<ElementRef<HTMLDivElement>>('itemsBox');\n readonly rovingFocus = viewChild(BsRovingFocusDirective);\n searchterm = model('');\n provideSuggestions = output<string>();\n isFocused = signal(false);\n\n selectedItems = model<T[]>([]);\n\n private readonly charWidth = 10;\n searchWidth = signal(20);\n readonly itemTemplate = signal<TemplateRef<T> | undefined>(undefined);\n readonly suggestionTemplate = signal<TemplateRef<T> | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const suggestions = this.suggestions();\n if (suggestions) {\n this.isLoading.set(false);\n }\n });\n }\n\n onProvideSuggestions(value: string) {\n this.searchterm.set(value);\n this.searchWidth.set(this.charWidth * (value.length + 2));\n if (value === '') {\n this.isOpen.set(false);\n } else {\n this.isLoading.set(true);\n this.isOpen.set(true);\n this.provideSuggestions.emit(value);\n }\n }\n\n onSuggestionClicked(suggestion: T) {\n this.searchterm.set('');\n this.isOpen.set(false);\n\n const currentItems = this.selectedItems();\n const existing = currentItems.find((value, index) => value.id === suggestion.id);\n if (existing === undefined) {\n this.selectedItems.set([...currentItems, suggestion]);\n } else {\n this.selectedItems.set(currentItems.filter(item => item.id !== suggestion.id));\n }\n\n this.searchBox().nativeElement.focus();\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.onSuggestionClicked(suggestion);\n }\n }\n\n onRemoveItem(item: T, event: MouseEvent) {\n event.stopPropagation();\n const currentItems = this.selectedItems();\n this.selectedItems.set(currentItems.filter(i => i.id !== item.id));\n this.focus();\n }\n\n public focus() {\n this.searchBox().nativeElement.focus();\n }\n}\n","<bs-has-overlay></bs-has-overlay>\n<div bsDropdown popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\" #itemsBox class=\"items-box text-wrap\">\n @for (item of selectedItems(); track item) {\n <ng-container *ngTemplateOutlet=\"itemTemplate() ?? defaultItemTemplate; context: { $implicit: item, select2: this }\"></ng-container>\n }\n\n <input type=\"text\" autocomplete=\"off\"\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n (focus)=\"isFocused.set(true)\"\n (blur)=\"isFocused.set(false)\"\n [style.width.px]=\"searchWidth()\"\n bsCombobox\n (activate)=\"onActivate()\"\n #searchBox />\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\" [maxHeight]=\"200\">\n @for (suggestion of suggestions(); track $index) {\n <bs-dropdown-item bsRovingFocusItem (click)=\"onSuggestionClicked(suggestion)\" [isSelected]=\"selectedItems() | bsInList:suggestion.id\">\n <ng-container *ngTemplateOutlet=\"suggestionTemplate() ?? defaultSuggestionTemplate; context: { $implicit: suggestion, select2: this }\"></ng-container>\n </bs-dropdown-item>\n }\n </bs-dropdown-menu>\n</div>\n\n<ng-template #defaultItemTemplate let-item let-select2=\"select2\">\n <span class=\"select2-item\">\n <button type=\"button\" (click)=\"select2.onRemoveItem(item,$event)\" aria-label=\"Remove item\" class=\"btn-close-inline\">×</button>\n {{ item.text }}\n </span>\n</ng-template>\n\n<ng-template #defaultSuggestionTemplate let-suggestion let-select2=\"select2\">\n {{ suggestion.text }}\n</ng-template>\n","import { Directive, effect, inject, input, isSignal, TemplateRef, untracked, WritableSignal } from '@angular/core';\nimport { BsSelect2Component } from '../../component/select2.component';\nimport { HasId } from '@mintplayer/ng-bootstrap/has-id';\n\n@Directive({\n selector: '[bsItemTemplate]',\n})\nexport class BsItemTemplateDirective<T extends HasId<U>, U> {\n private select2component = inject<BsSelect2Component<T, U>>(BsSelect2Component);\n private templateRef = inject<TemplateRef<T>>(TemplateRef);\n private sourceSignal?: WritableSignal<T[]>;\n private lastSourceValue?: T[];\n\n constructor() {\n this.select2component.itemTemplate.set(this.templateRef);\n\n // Sync input value to component\n effect(() => {\n const value = this.bsItemTemplateOf();\n if (value) {\n if (isSignal(value)) {\n // Store the signal reference for two-way binding\n this.sourceSignal = value as WritableSignal<T[]>;\n this.lastSourceValue = value();\n this.select2component.selectedItems.set(value());\n } else {\n // Plain array - one-way binding (backward compatible)\n this.sourceSignal = undefined;\n this.select2component.selectedItems.set(value as T[]);\n }\n }\n });\n\n // Sync changes from component back to source signal\n effect(() => {\n const componentValue = this.select2component.selectedItems();\n if (this.sourceSignal) {\n const sourceValue = untracked(() => this.sourceSignal!());\n if (componentValue !== sourceValue) {\n this.sourceSignal.set(componentValue);\n }\n }\n });\n\n // Sync changes from source signal to component\n effect(() => {\n if (this.sourceSignal) {\n const sourceValue = this.sourceSignal();\n if (sourceValue !== this.lastSourceValue) {\n this.lastSourceValue = sourceValue;\n const componentValue = untracked(() => this.select2component.selectedItems());\n if (sourceValue !== componentValue) {\n this.select2component.selectedItems.set(sourceValue);\n }\n }\n }\n });\n }\n\n public static ngTemplateContextGuard<T extends HasId<U>, U>(dir: BsItemTemplateDirective<T, U>, ctx: any): ctx is BsItemTemplateContext<Exclude<T, false | 0 | '' | null | undefined>, U> {\n return true;\n }\n\n readonly bsItemTemplateOf = input<T[] | WritableSignal<T[]> | undefined>(undefined);\n}\n\nexport class BsItemTemplateContext<T extends HasId<U>, U> {\n $implicit: T = null!;\n select2: BsSelect2Component<T, U> = null!;\n}","import { Directive, effect, inject, input, TemplateRef } from '@angular/core';\nimport { BsSelect2Component } from '../../component/select2.component';\nimport { HasId } from '@mintplayer/ng-bootstrap/has-id';\n\n@Directive({\n selector: '[bsSuggestionTemplate]',\n})\nexport class BsSuggestionTemplateDirective<T extends HasId<U>, U> {\n private select2component = inject<BsSelect2Component<T, U>>(BsSelect2Component);\n\n constructor() {\n const templateRef = inject<TemplateRef<T>>(TemplateRef);\n this.select2component.suggestionTemplate.set(templateRef);\n\n effect(() => {\n const value = this.bsSuggestionTemplateOf();\n if (value) {\n this.select2component.suggestions.set(value);\n }\n });\n }\n\n public static ngTemplateContextGuard<T extends HasId<U>, U>(dir: BsSuggestionTemplateDirective<T, U>, ctx: any): ctx is BsSuggestionTemplateContext<Exclude<T, false | 0 | '' | null | undefined>, U> {\n return true;\n }\n\n readonly bsSuggestionTemplateOf = input<T[] | undefined>(undefined);\n}\n\nexport class BsSuggestionTemplateContext<T extends HasId<U>, U> {\n $implicit: T = null!;\n select2: BsSelect2Component<T, U> = null!;\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAiCa,kBAAkB,CAAA;AAsB7B,IAAA,WAAA,GAAA;AApBA,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,KAAK,6EAAC;AACrB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAU,KAAK,gFAAC;AAElC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAM,EAAE,kFAAC;AAEnB,QAAA,IAAA,CAAA,mBAAmB,GAAG,SAAS,CAAC,QAAQ,CAAmB,qBAAqB,CAAC;AACjF,QAAA,IAAA,CAAA,SAAS,GAAG,SAAS,CAAC,QAAQ,CAA+B,WAAW,CAAC;AACzE,QAAA,IAAA,CAAA,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAA6B,UAAU,CAAC;AACrE,QAAA,IAAA,CAAA,WAAW,GAAG,SAAS,CAAC,sBAAsB,kFAAC;AACxD,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,EAAE,iFAAC;QACtB,IAAA,CAAA,kBAAkB,GAAG,MAAM,EAAU;AACrC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,KAAK,gFAAC;AAEzB,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAM,EAAE,oFAAC;QAEb,IAAA,CAAA,SAAS,GAAG,EAAE;AAC/B,QAAA,IAAA,C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AAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,sBAAA,EAAA,EAAA,iBAAA,EAAA,wBAAA,EAAA,UAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AACnC,iBAAA;;MAuBY,2BAA2B,CAAA;AAAxC,IAAA,WAAA,GAAA;QACE,IAAA,CAAA,SAAS,GAAM,IAAK;QACpB,IAAA,CAAA,OAAO,GAA6B,IAAK;IAC3C;AAAC;;AChCD;;AAEG;;;;"}
@@ -1,52 +0,0 @@
1
- import { NgTemplateOutlet } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { signal, viewChild, input, computed, ChangeDetectionStrategy, Component, inject, TemplateRef, Directive } from '@angular/core';
4
-
5
- class BsShellComponent {
6
- constructor() {
7
- this.sidebarTemplate = signal(null, ...(ngDevMode ? [{ debugName: "sidebarTemplate" }] : /* istanbul ignore next */ []));
8
- this.rootElement = viewChild.required('root');
9
- this.state = input('auto', ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
10
- this.breakpoint = input('md', ...(ngDevMode ? [{ debugName: "breakpoint" }] : /* istanbul ignore next */ []));
11
- this.stateClass = computed(() => {
12
- const state = this.state();
13
- if (state === 'auto')
14
- return null;
15
- else
16
- return state;
17
- }, ...(ngDevMode ? [{ debugName: "stateClass" }] : /* istanbul ignore next */ []));
18
- this.breakpointClass = computed(() => `shell-${this.breakpoint()}`, ...(ngDevMode ? [{ debugName: "breakpointClass" }] : /* istanbul ignore next */ []));
19
- }
20
- setSize(size) {
21
- this.rootElement().nativeElement.style.setProperty('--size', size);
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.11", type: BsShellComponent, isStandalone: true, selector: "bs-shell", inputs: { state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, breakpoint: { classPropertyName: "breakpoint", publicName: "breakpoint", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "rootElement", first: true, predicate: ["root"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"sidebar-root\" [class]=\"[stateClass(), breakpointClass()]\" #root>\n <div class=\"sidebar position-fixed pe-none\">\n <div class=\"sidebar-body d-flex flex-column pe-all\">\n <ng-container *ngTemplateOutlet=\"sidebarTemplate()\"></ng-container>\n </div>\n </div>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".pe-all{pointer-events:all!important}.sidebar-root{--size: 15rem;transition:margin-left .3s ease-in-out}.sidebar-root .sidebar{top:0;bottom:0;left:0;width:var(--size);z-index:500;transition:margin-left .3s,width .3s}.sidebar-root .sidebar .sidebar-body{background:#333}.sidebar-root.shell-xs.show{margin-left:0}.sidebar-root.shell-xs.show .sidebar{width:100%;margin-left:0}.sidebar-root.shell-xs.show{margin-left:var(--size)}.sidebar-root.shell-xs.show .sidebar{width:var(--size);margin-left:0}.sidebar-root.shell-xs.hide .sidebar{width:100%;margin-left:-100%}.sidebar-root.shell-xs.hide{margin-left:0}.sidebar-root.shell-xs.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}.sidebar-root.shell-xs:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-xs:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}.sidebar-root.shell-xs:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-xs:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}@media(max-width:575.98px){.sidebar-root.shell-sm.show{margin-left:0}.sidebar-root.shell-sm.show .sidebar{width:100%;margin-left:0}}@media(min-width:576px){.sidebar-root.shell-sm.show{margin-left:var(--size)}.sidebar-root.shell-sm.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:575.98px){.sidebar-root.shell-sm.hide{margin-left:0}.sidebar-root.shell-sm.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:576px){.sidebar-root.shell-sm.hide{margin-left:0}.sidebar-root.shell-sm.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:575.98px){.sidebar-root.shell-sm:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-sm:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:576px){.sidebar-root.shell-sm:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-sm:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}@media(max-width:767.98px){.sidebar-root.shell-md.show{margin-left:0}.sidebar-root.shell-md.show .sidebar{width:100%;margin-left:0}}@media(min-width:768px){.sidebar-root.shell-md.show{margin-left:var(--size)}.sidebar-root.shell-md.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:767.98px){.sidebar-root.shell-md.hide{margin-left:0}.sidebar-root.shell-md.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:768px){.sidebar-root.shell-md.hide{margin-left:0}.sidebar-root.shell-md.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:767.98px){.sidebar-root.shell-md:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-md:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:768px){.sidebar-root.shell-md:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-md:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}@media(max-width:991.98px){.sidebar-root.shell-lg.show{margin-left:0}.sidebar-root.shell-lg.show .sidebar{width:100%;margin-left:0}}@media(min-width:992px){.sidebar-root.shell-lg.show{margin-left:var(--size)}.sidebar-root.shell-lg.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:991.98px){.sidebar-root.shell-lg.hide{margin-left:0}.sidebar-root.shell-lg.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:992px){.sidebar-root.shell-lg.hide{margin-left:0}.sidebar-root.shell-lg.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:991.98px){.sidebar-root.shell-lg:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-lg:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:992px){.sidebar-root.shell-lg:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-lg:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}@media(max-width:1199.98px){.sidebar-root.shell-xl.show{margin-left:0}.sidebar-root.shell-xl.show .sidebar{width:100%;margin-left:0}}@media(min-width:1200px){.sidebar-root.shell-xl.show{margin-left:var(--size)}.sidebar-root.shell-xl.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:1199.98px){.sidebar-root.shell-xl.hide{margin-left:0}.sidebar-root.shell-xl.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:1200px){.sidebar-root.shell-xl.hide{margin-left:0}.sidebar-root.shell-xl.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:1199.98px){.sidebar-root.shell-xl:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-xl:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:1200px){.sidebar-root.shell-xl:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-xl:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}@media(max-width:1399.98px){.sidebar-root.shell-xxl.show{margin-left:0}.sidebar-root.shell-xxl.show .sidebar{width:100%;margin-left:0}}@media(min-width:1400px){.sidebar-root.shell-xxl.show{margin-left:var(--size)}.sidebar-root.shell-xxl.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:1399.98px){.sidebar-root.shell-xxl.hide{margin-left:0}.sidebar-root.shell-xxl.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:1400px){.sidebar-root.shell-xxl.hide{margin-left:0}.sidebar-root.shell-xxl.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:1399.98px){.sidebar-root.shell-xxl:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-xxl:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:1400px){.sidebar-root.shell-xxl:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-xxl:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsShellComponent, decorators: [{
27
- type: Component,
28
- args: [{ selector: 'bs-shell', imports: [NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"sidebar-root\" [class]=\"[stateClass(), breakpointClass()]\" #root>\n <div class=\"sidebar position-fixed pe-none\">\n <div class=\"sidebar-body d-flex flex-column pe-all\">\n <ng-container *ngTemplateOutlet=\"sidebarTemplate()\"></ng-container>\n </div>\n </div>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".pe-all{pointer-events:all!important}.sidebar-root{--size: 15rem;transition:margin-left .3s ease-in-out}.sidebar-root .sidebar{top:0;bottom:0;left:0;width:var(--size);z-index:500;transition:margin-left .3s,width .3s}.sidebar-root .sidebar .sidebar-body{background:#333}.sidebar-root.shell-xs.show{margin-left:0}.sidebar-root.shell-xs.show .sidebar{width:100%;margin-left:0}.sidebar-root.shell-xs.show{margin-left:var(--size)}.sidebar-root.shell-xs.show .sidebar{width:var(--size);margin-left:0}.sidebar-root.shell-xs.hide .sidebar{width:100%;margin-left:-100%}.sidebar-root.shell-xs.hide{margin-left:0}.sidebar-root.shell-xs.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}.sidebar-root.shell-xs:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-xs:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}.sidebar-root.shell-xs:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-xs:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}@media(max-width:575.98px){.sidebar-root.shell-sm.show{margin-left:0}.sidebar-root.shell-sm.show .sidebar{width:100%;margin-left:0}}@media(min-width:576px){.sidebar-root.shell-sm.show{margin-left:var(--size)}.sidebar-root.shell-sm.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:575.98px){.sidebar-root.shell-sm.hide{margin-left:0}.sidebar-root.shell-sm.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:576px){.sidebar-root.shell-sm.hide{margin-left:0}.sidebar-root.shell-sm.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:575.98px){.sidebar-root.shell-sm:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-sm:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:576px){.sidebar-root.shell-sm:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-sm:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}@media(max-width:767.98px){.sidebar-root.shell-md.show{margin-left:0}.sidebar-root.shell-md.show .sidebar{width:100%;margin-left:0}}@media(min-width:768px){.sidebar-root.shell-md.show{margin-left:var(--size)}.sidebar-root.shell-md.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:767.98px){.sidebar-root.shell-md.hide{margin-left:0}.sidebar-root.shell-md.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:768px){.sidebar-root.shell-md.hide{margin-left:0}.sidebar-root.shell-md.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:767.98px){.sidebar-root.shell-md:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-md:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:768px){.sidebar-root.shell-md:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-md:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}@media(max-width:991.98px){.sidebar-root.shell-lg.show{margin-left:0}.sidebar-root.shell-lg.show .sidebar{width:100%;margin-left:0}}@media(min-width:992px){.sidebar-root.shell-lg.show{margin-left:var(--size)}.sidebar-root.shell-lg.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:991.98px){.sidebar-root.shell-lg.hide{margin-left:0}.sidebar-root.shell-lg.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:992px){.sidebar-root.shell-lg.hide{margin-left:0}.sidebar-root.shell-lg.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:991.98px){.sidebar-root.shell-lg:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-lg:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:992px){.sidebar-root.shell-lg:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-lg:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}@media(max-width:1199.98px){.sidebar-root.shell-xl.show{margin-left:0}.sidebar-root.shell-xl.show .sidebar{width:100%;margin-left:0}}@media(min-width:1200px){.sidebar-root.shell-xl.show{margin-left:var(--size)}.sidebar-root.shell-xl.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:1199.98px){.sidebar-root.shell-xl.hide{margin-left:0}.sidebar-root.shell-xl.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:1200px){.sidebar-root.shell-xl.hide{margin-left:0}.sidebar-root.shell-xl.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:1199.98px){.sidebar-root.shell-xl:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-xl:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:1200px){.sidebar-root.shell-xl:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-xl:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}@media(max-width:1399.98px){.sidebar-root.shell-xxl.show{margin-left:0}.sidebar-root.shell-xxl.show .sidebar{width:100%;margin-left:0}}@media(min-width:1400px){.sidebar-root.shell-xxl.show{margin-left:var(--size)}.sidebar-root.shell-xxl.show .sidebar{width:var(--size);margin-left:0}}@media(max-width:1399.98px){.sidebar-root.shell-xxl.hide{margin-left:0}.sidebar-root.shell-xxl.hide .sidebar{width:100%;margin-left:-100%}}@media(min-width:1400px){.sidebar-root.shell-xxl.hide{margin-left:0}.sidebar-root.shell-xxl.hide .sidebar{width:var(--size);margin-left:calc(-1 * var(--size))}}@media(max-width:1399.98px){.sidebar-root.shell-xxl:not(.show):not(.hide){margin-left:0}.sidebar-root.shell-xxl:not(.show):not(.hide) .sidebar{width:100%;margin-left:-100%}}@media(min-width:1400px){.sidebar-root.shell-xxl:not(.show):not(.hide){margin-left:var(--size)}.sidebar-root.shell-xxl:not(.show):not(.hide) .sidebar{width:var(--size);margin-left:0}}\n"] }]
29
- }], propDecorators: { rootElement: [{ type: i0.ViewChild, args: ['root', { isSignal: true }] }], state: [{ type: i0.Input, args: [{ isSignal: true, alias: "state", required: false }] }], breakpoint: [{ type: i0.Input, args: [{ isSignal: true, alias: "breakpoint", required: false }] }] } });
30
-
31
- class BsShellSidebarDirective {
32
- constructor() {
33
- const shell = inject(BsShellComponent);
34
- const template = inject(TemplateRef);
35
- shell.sidebarTemplate.set(template);
36
- }
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsShellSidebarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
38
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.11", type: BsShellSidebarDirective, isStandalone: true, selector: "[bsShellSidebar]", ngImport: i0 }); }
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsShellSidebarDirective, decorators: [{
41
- type: Directive,
42
- args: [{
43
- selector: '[bsShellSidebar]',
44
- }]
45
- }], ctorParameters: () => [] });
46
-
47
- /**
48
- * Generated bundle index. Do not edit.
49
- */
50
-
51
- export { BsShellComponent, BsShellSidebarDirective };
52
- //# sourceMappingURL=mintplayer-ng-bootstrap-shell.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-shell.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/shell/src/shell/shell.component.ts","../../../../libs/mintplayer-ng-bootstrap/shell/src/shell/shell.component.html","../../../../libs/mintplayer-ng-bootstrap/shell/src/shell-sidebar/shell-sidebar.directive.ts","../../../../libs/mintplayer-ng-bootstrap/shell/mintplayer-ng-bootstrap-shell.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, ElementRef, input, signal, TemplateRef, viewChild } from '@angular/core';\nimport { BsShellState } from '../shell-state';\nimport { Breakpoint } from '@mintplayer/ng-bootstrap';\n\n@Component({\n selector: 'bs-shell',\n templateUrl: './shell.component.html',\n styleUrl: './shell.component.scss',\n imports: [NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsShellComponent {\n\n sidebarTemplate = signal<TemplateRef<any> | null>(null);\n readonly rootElement = viewChild.required<ElementRef<HTMLDivElement>>('root');\n\n state = input<BsShellState>('auto');\n breakpoint = input<Breakpoint>('md');\n\n stateClass = computed(() => {\n const state = this.state();\n if (state === 'auto') return null;\n else return state;\n });\n\n breakpointClass = computed(() => `shell-${this.breakpoint()}`);\n\n public setSize(size: string) {\n this.rootElement().nativeElement.style.setProperty('--size', size);\n }\n}\n","<div class=\"sidebar-root\" [class]=\"[stateClass(), breakpointClass()]\" #root>\n <div class=\"sidebar position-fixed pe-none\">\n <div class=\"sidebar-body d-flex flex-column pe-all\">\n <ng-container *ngTemplateOutlet=\"sidebarTemplate()\"></ng-container>\n </div>\n </div>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n","import { Directive, inject, TemplateRef } from '@angular/core';\nimport { BsShellComponent } from '../shell/shell.component';\n\n@Directive({\n selector: '[bsShellSidebar]',\n})\nexport class BsShellSidebarDirective {\n constructor() {\n const shell = inject(BsShellComponent);\n const template = inject(TemplateRef);\n shell.sidebarTemplate.set(template);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAYa,gBAAgB,CAAA;AAP7B,IAAA,WAAA,GAAA;AASE,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAA0B,IAAI,sFAAC;AAC9C,QAAA,IAAA,CAAA,WAAW,GAAG,SAAS,CAAC,QAAQ,CAA6B,MAAM,CAAC;AAE7E,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAe,MAAM,4EAAC;AACnC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAa,IAAI,iFAAC;AAEpC,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,MAAK;AACzB,YAAA,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;YAC1B,IAAI,KAAK,KAAK,MAAM;AAAE,gBAAA,OAAO,IAAI;;AAC5B,gBAAA,OAAO,KAAK;AACnB,QAAA,CAAC,iFAAC;AAEF,QAAA,IAAA,CAAA,eAAe,GAAG,QAAQ,CAAC,MAAM,CAAA,MAAA,EAAS,IAAI,CAAC,UAAU,EAAE,CAAA,CAAE,sFAAC;AAK/D,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core';
2
- import { model, input, signal, viewChild, ChangeDetectionStrategy, Component } from '@angular/core';
3
-
4
- class BsSignaturePadComponent {
5
- constructor() {
6
- this.signature = model({ strokes: [] }, ...(ngDevMode ? [{ debugName: "signature" }] : /* istanbul ignore next */ []));
7
- this.width = input(500, ...(ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []));
8
- this.height = input(300, ...(ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []));
9
- this.ariaLabel = input('Signature pad', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
10
- this.minHeight = 5;
11
- this.isDrawing = signal(false, ...(ngDevMode ? [{ debugName: "isDrawing" }] : /* istanbul ignore next */ []));
12
- this.canvas = viewChild.required('canvas');
13
- this.context = null;
14
- }
15
- ngAfterViewInit() {
16
- if (typeof window !== 'undefined') {
17
- this.context = this.canvas().nativeElement.getContext('2d', { willReadFrequently: true });
18
- }
19
- }
20
- onTouchMove(ev) {
21
- if (this.isDrawing()) {
22
- ev.preventDefault();
23
- ev.stopPropagation();
24
- }
25
- }
26
- onPointerStart(ev) {
27
- ev.preventDefault();
28
- this.isDrawing.set(true);
29
- if (this.context) {
30
- const sig = this.signature();
31
- sig.strokes.push({
32
- points: [{ x: ev.offsetX, y: ev.offsetY }]
33
- });
34
- this.signature.set({ ...sig });
35
- this.context.fillStyle = 'black';
36
- this.context.beginPath();
37
- this.context.moveTo(ev.offsetX, ev.offsetY);
38
- }
39
- }
40
- onPointerMove(ev) {
41
- if (this.isDrawing() && this.context) {
42
- ev.preventDefault();
43
- const sig = this.signature();
44
- sig.strokes.at(-1)?.points.push({ x: ev.offsetX, y: ev.offsetY });
45
- this.signature.set({ ...sig });
46
- this.context.lineTo(ev.offsetX, ev.offsetY);
47
- this.context.stroke();
48
- }
49
- }
50
- onPointerEnd(ev) {
51
- if (this.isDrawing()) {
52
- ev.preventDefault();
53
- this.isDrawing.set(false);
54
- }
55
- }
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSignaturePadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
57
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.11", type: BsSignaturePadComponent, isStandalone: true, selector: "bs-signature-pad", inputs: { signature: { classPropertyName: "signature", publicName: "signature", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { signature: "signatureChange" }, host: { listeners: { "touchmove": "onTouchMove($event)", "pointerdown": "onPointerStart($event)", "pointermove": "onPointerMove($event)", "window:pointerup": "onPointerEnd($event)" }, properties: { "style.min-height.rem": "minHeight" }, classAttribute: "border d-inline-block" }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }], ngImport: i0, template: "<canvas [width]=\"width()\" [height]=\"height()\" class=\"d-block\" role=\"img\" [attr.aria-label]=\"ariaLabel()\" #canvas></canvas>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
58
- }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSignaturePadComponent, decorators: [{
60
- type: Component,
61
- args: [{ selector: 'bs-signature-pad', changeDetection: ChangeDetectionStrategy.OnPush, host: {
62
- 'class': 'border d-inline-block',
63
- '[style.min-height.rem]': 'minHeight',
64
- '(touchmove)': 'onTouchMove($event)',
65
- '(pointerdown)': 'onPointerStart($event)',
66
- '(pointermove)': 'onPointerMove($event)',
67
- '(window:pointerup)': 'onPointerEnd($event)',
68
- }, template: "<canvas [width]=\"width()\" [height]=\"height()\" class=\"d-block\" role=\"img\" [attr.aria-label]=\"ariaLabel()\" #canvas></canvas>\n" }]
69
- }], propDecorators: { signature: [{ type: i0.Input, args: [{ isSignal: true, alias: "signature", required: false }] }, { type: i0.Output, args: ["signatureChange"] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], canvas: [{ type: i0.ViewChild, args: ['canvas', { isSignal: true }] }] } });
70
-
71
- /**
72
- * Generated bundle index. Do not edit.
73
- */
74
-
75
- export { BsSignaturePadComponent };
76
- //# sourceMappingURL=mintplayer-ng-bootstrap-signature-pad.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-signature-pad.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/signature-pad/src/component/signature-pad.component.ts","../../../../libs/mintplayer-ng-bootstrap/signature-pad/src/component/signature-pad.component.html","../../../../libs/mintplayer-ng-bootstrap/signature-pad/mintplayer-ng-bootstrap-signature-pad.ts"],"sourcesContent":["import { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, input, model, signal, viewChild } from '@angular/core';\nimport { Signature } from '../interfaces/signature';\n\n@Component({\n selector: 'bs-signature-pad',\n templateUrl: './signature-pad.component.html',\n styleUrls: ['./signature-pad.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'border d-inline-block',\n '[style.min-height.rem]': 'minHeight',\n '(touchmove)': 'onTouchMove($event)',\n '(pointerdown)': 'onPointerStart($event)',\n '(pointermove)': 'onPointerMove($event)',\n '(window:pointerup)': 'onPointerEnd($event)',\n },\n})\nexport class BsSignaturePadComponent implements AfterViewInit {\n\n signature = model<Signature>({ strokes: [] });\n width = input(500);\n height = input(300);\n ariaLabel = input<string>('Signature pad');\n\n readonly minHeight = 5;\n readonly isDrawing = signal<boolean>(false);\n readonly canvas = viewChild.required<ElementRef<HTMLCanvasElement>>('canvas');\n context: CanvasRenderingContext2D | null = null;\n\n ngAfterViewInit() {\n if (typeof window !== 'undefined') {\n this.context = this.canvas().nativeElement.getContext('2d', { willReadFrequently: true });\n }\n }\n\n onTouchMove(ev: TouchEvent) {\n if (this.isDrawing()) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n }\n\n onPointerStart(ev: PointerEvent) {\n ev.preventDefault();\n this.isDrawing.set(true);\n if (this.context) {\n const sig = this.signature();\n sig.strokes.push({\n points: [{ x: ev.offsetX, y: ev.offsetY }]\n });\n this.signature.set({ ...sig });\n\n this.context.fillStyle = 'black';\n this.context.beginPath();\n this.context.moveTo(ev.offsetX, ev.offsetY);\n }\n }\n\n onPointerMove(ev: PointerEvent) {\n if (this.isDrawing() && this.context) {\n ev.preventDefault();\n\n const sig = this.signature();\n sig.strokes.at(-1)?.points.push({ x: ev.offsetX, y: ev.offsetY });\n this.signature.set({ ...sig });\n\n this.context.lineTo(ev.offsetX, ev.offsetY);\n this.context.stroke();\n }\n }\n\n onPointerEnd(ev: PointerEvent) {\n if (this.isDrawing()) {\n ev.preventDefault();\n this.isDrawing.set(false);\n }\n }\n}\n","<canvas [width]=\"width()\" [height]=\"height()\" class=\"d-block\" role=\"img\" [attr.aria-label]=\"ariaLabel()\" #canvas></canvas>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAiBa,uBAAuB,CAAA;AAdpC,IAAA,WAAA,GAAA;QAgBE,IAAA,CAAA,SAAS,GAAG,KAAK,CAAY,EAAE,OAAO,EAAE,EAAE,EAAE,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;AAC7C,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,GAAG,4EAAC;AAClB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,GAAG,6EAAC;AACnB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,eAAe,gFAA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A,EAAA,CAAA;kBAdnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,EAAA,eAAA,EAGX,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,OAAO,EAAE,uBAAuB;AAChC,wBAAA,wBAAwB,EAAE,WAAW;AACrC,wBAAA,aAAa,EAAE,qBAAqB;AACpC,wBAAA,eAAe,EAAE,wBAAwB;AACzC,wBAAA,eAAe,EAAE,uBAAuB;AACxC,wBAAA,oBAAoB,EAAE,sBAAsB;AAC7C,qBAAA,EAAA,QAAA,EAAA,wIAAA,EAAA;8eAWmE,QAAQ,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE1B9E;;AAEG;;;;"}
@@ -1,30 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
-
4
- class BsSlugifyPipe {
5
- transform(value) {
6
- return value.toString().toLowerCase()
7
- .replace(/\s+/g, '-') // Replace spaces with -
8
- .normalize("NFD").replace(/[\u0300-\u036f]/g, "") // Remove diacritics
9
- .replace(/[^\w\-]+/g, '') // Remove all non-word chars
10
- .replace(/\-\-+/g, '-') // Replace multiple - with single -
11
- .replace(/^-+/, '') // Trim - from start of text
12
- .replace(/-+$/, ''); // Trim - from end of text
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSlugifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
15
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.11", ngImport: i0, type: BsSlugifyPipe, isStandalone: true, name: "bsSlugify" }); }
16
- }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSlugifyPipe, decorators: [{
18
- type: Pipe,
19
- args: [{
20
- name: 'bsSlugify',
21
- pure: true,
22
- }]
23
- }] });
24
-
25
- /**
26
- * Generated bundle index. Do not edit.
27
- */
28
-
29
- export { BsSlugifyPipe };
30
- //# sourceMappingURL=mintplayer-ng-bootstrap-slugify.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-slugify.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/slugify/src/slugify.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/slugify/mintplayer-ng-bootstrap-slugify.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsSlugify',\n pure: true,\n})\nexport class BsSlugifyPipe implements PipeTransform {\n transform(value: string) {\n return value.toString().toLowerCase()\n .replace(/\\s+/g, '-') // Replace spaces with -\n .normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\") // Remove diacritics\n .replace(/[^\\w\\-]+/g, '') // Remove all non-word chars\n .replace(/\\-\\-+/g, '-') // Replace multiple - with single -\n .replace(/^-+/, '') // Trim - from start of text\n .replace(/-+$/, ''); // Trim - from end of text\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,EAAA;AACrB,QAAA,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC,WAAW;AAChC,aAAA,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;aACpB,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;AAChD,aAAA,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC;AACxB,aAAA,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;AACtB,aAAA,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;AAClB,aAAA,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACxB;+GATW,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,26 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { Color } from '@mintplayer/ng-bootstrap';
4
-
5
- class BsSpinnerComponent {
6
- constructor() {
7
- this.colors = Color;
8
- this.type = input('border', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
9
- this.color = input(Color.dark, ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
10
- this.spinnerClass = computed(() => `spinner-${this.type()}`, ...(ngDevMode ? [{ debugName: "spinnerClass" }] : /* istanbul ignore next */ []));
11
- this.colorClass = computed(() => `text-${this.colors[this.color()]}`, ...(ngDevMode ? [{ debugName: "colorClass" }] : /* istanbul ignore next */ []));
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.11", type: BsSpinnerComponent, isStandalone: true, selector: "bs-spinner", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;flex-shrink:0;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSpinnerComponent, decorators: [{
17
- type: Component,
18
- args: [{ selector: 'bs-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;flex-shrink:0;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}\n"] }]
19
- }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
20
-
21
- /**
22
- * Generated bundle index. Do not edit.
23
- */
24
-
25
- export { BsSpinnerComponent };
26
- //# sourceMappingURL=mintplayer-ng-bootstrap-spinner.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-spinner.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.ts","../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.html","../../../../libs/mintplayer-ng-bootstrap/spinner/mintplayer-ng-bootstrap-spinner.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n\n@Component({\n selector: 'bs-spinner',\n templateUrl: './spinner.component.html',\n styleUrls: ['./spinner.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSpinnerComponent {\n readonly colors = Color;\n\n type = input<'border' | 'grow'>('border');\n color = input<Color>(Color.dark);\n\n spinnerClass = computed(() => `spinner-${this.type()}`);\n colorClass = computed(() => `text-${this.colors[this.color()]}`);\n}\n","<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;QAOW,IAAA,CAAA,MAAM,GAAG,KAAK;AAEvB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAoB,QAAQ,2EAAC;AACzC,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAQ,KAAK,CAAC,IAAI,4EAAC;AAEhC,QAAA,IAAA,CAAA,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAA,QAAA,EAAW,IAAI,CAAC,IAAI,EAAE,CAAA,CAAE,mFAAC;AACvD,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,QAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAA,CAAE,iFAAC;AACjE,IAAA;+GARY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,+TCT/B,mIAGA,EAAA,MAAA,EAAA,CAAA,09CAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FDMa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;+BACE,YAAY,EAAA,eAAA,EAGL,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mIAAA,EAAA,MAAA,EAAA,CAAA,09CAAA,CAAA,EAAA;;;AEPjD;;AAEG;;;;"}
@@ -1,25 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
-
4
- class BsSplitStringPipe {
5
- transform(value, seperator = '\n', removeEmptyEntries = true) {
6
- return value.split(seperator)
7
- .filter(line => !removeEmptyEntries || (line !== ''));
8
- }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSplitStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.11", ngImport: i0, type: BsSplitStringPipe, isStandalone: true, name: "bsSplitString" }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsSplitStringPipe, decorators: [{
13
- type: Pipe,
14
- args: [{
15
- name: 'bsSplitString',
16
- pure: true,
17
- }]
18
- }] });
19
-
20
- /**
21
- * Generated bundle index. Do not edit.
22
- */
23
-
24
- export { BsSplitStringPipe };
25
- //# sourceMappingURL=mintplayer-ng-bootstrap-split-string.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-split-string.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/split-string/src/split-string.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/split-string/mintplayer-ng-bootstrap-split-string.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsSplitString',\n pure: true,\n})\nexport class BsSplitStringPipe implements PipeTransform {\n transform(value: string, seperator = '\\n', removeEmptyEntries = true): string[] {\n return value.split(seperator)\n .filter(line => !removeEmptyEntries || (line !== ''));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,iBAAiB,CAAA;IAC5B,SAAS,CAAC,KAAa,EAAE,SAAS,GAAG,IAAI,EAAE,kBAAkB,GAAG,IAAI,EAAA;AAClE,QAAA,OAAO,KAAK,CAAC,KAAK,CAAC,SAAS;AACzB,aAAA,MAAM,CAAC,IAAI,IAAI,CAAC,kBAAkB,KAAK,IAAI,KAAK,EAAE,CAAC,CAAC;IACzD;+GAJW,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,eAAe;AACrB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;;;ACLD;;AAEG;;;;"}