@mintplayer/ng-bootstrap 21.32.0 → 21.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/package.json +1 -377
  2. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +0 -455
  3. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +0 -1
  4. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +0 -94
  5. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +0 -1
  6. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +0 -45
  7. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +0 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +0 -24
  9. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +0 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +0 -35
  11. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +0 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +0 -21
  13. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +0 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +0 -36
  15. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +0 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
  17. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
  18. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +0 -210
  19. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +0 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +0 -33
  21. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +0 -1
  22. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +0 -270
  23. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +0 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +0 -25
  25. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +0 -1
  26. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +0 -44
  27. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +0 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +0 -654
  29. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +0 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
  31. package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +0 -88
  33. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +0 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +0 -46
  35. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +0 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +0 -181
  37. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +0 -1
  38. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +0 -30
  39. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +0 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +0 -4101
  41. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +0 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -23
  43. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -195
  45. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +0 -326
  47. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +0 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +0 -62
  49. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +0 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +0 -38
  51. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +0 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +0 -135
  53. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +0 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +0 -25
  55. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +0 -1
  56. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +0 -34
  57. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +0 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +0 -41
  59. package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +0 -1
  60. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +0 -59
  61. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +0 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +0 -122
  63. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +0 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs +0 -4
  65. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs.map +0 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
  67. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
  68. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +0 -23
  69. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +0 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +0 -23
  71. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +0 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +0 -18
  73. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +0 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +0 -183
  75. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +0 -1
  76. package/fesm2022/mintplayer-ng-bootstrap-let.mjs +0 -46
  77. package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +0 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +0 -28
  79. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +0 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +0 -33
  81. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +0 -1
  82. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +0 -118
  83. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +0 -1
  84. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +0 -21
  85. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +0 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +0 -240
  87. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +0 -1
  88. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +0 -693
  89. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +0 -1
  90. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +0 -136
  91. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +0 -1
  92. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +0 -29
  93. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +0 -1
  94. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +0 -629
  95. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +0 -1
  96. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +0 -205
  97. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +0 -1
  98. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
  99. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
  100. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +0 -366
  101. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +0 -1
  102. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +0 -36
  103. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +0 -1
  104. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +0 -188
  105. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +0 -1
  106. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +0 -26
  107. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +0 -1
  108. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +0 -64
  109. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +0 -1
  110. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +0 -29
  111. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +0 -1
  112. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +0 -246
  113. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +0 -1
  114. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +0 -250
  115. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +0 -1
  116. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +0 -68
  117. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +0 -1
  118. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +0 -75
  119. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +0 -1
  120. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +0 -79
  121. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +0 -1
  122. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +0 -59
  123. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +0 -1
  124. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +0 -387
  125. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +0 -1
  126. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +0 -5016
  127. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +0 -1
  128. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +0 -237
  129. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +0 -1
  130. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +0 -120
  131. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +0 -1
  132. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +0 -194
  133. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +0 -1
  134. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +0 -213
  135. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +0 -1
  136. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +0 -205
  137. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +0 -1
  138. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +0 -52
  139. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +0 -1
  140. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +0 -76
  141. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +0 -1
  142. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +0 -30
  143. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +0 -1
  144. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +0 -26
  145. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +0 -1
  146. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +0 -25
  147. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +0 -1
  148. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +0 -46
  149. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +0 -1
  150. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +0 -124
  151. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +0 -1
  152. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +0 -40
  153. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +0 -1
  154. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +0 -1446
  155. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +0 -1
  156. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +0 -104
  157. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +0 -1
  158. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +0 -163
  159. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +0 -1
  160. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +0 -236
  161. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +0 -1
  162. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +0 -174
  163. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +0 -1
  164. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +0 -100
  165. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +0 -1
  166. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +0 -28
  167. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +0 -1
  168. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +0 -111
  169. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +0 -1
  170. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +0 -24
  171. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +0 -1
  172. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +0 -94
  173. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +0 -1
  174. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +0 -48
  175. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs.map +0 -1
  176. package/fesm2022/mintplayer-ng-bootstrap-virtual-datatable.mjs +0 -282
  177. package/fesm2022/mintplayer-ng-bootstrap-virtual-datatable.mjs.map +0 -1
  178. package/fesm2022/mintplayer-ng-bootstrap-web-components-a11y.mjs +0 -74
  179. package/fesm2022/mintplayer-ng-bootstrap-web-components-a11y.mjs.map +0 -1
  180. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler-core.mjs +0 -1356
  181. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler-core.mjs.map +0 -1
  182. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler.mjs +0 -5224
  183. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler.mjs.map +0 -1
  184. package/fesm2022/mintplayer-ng-bootstrap-web-components-splitter.mjs +0 -923
  185. package/fesm2022/mintplayer-ng-bootstrap-web-components-splitter.mjs.map +0 -1
  186. package/fesm2022/mintplayer-ng-bootstrap-web-components-tab-control.mjs +0 -553
  187. package/fesm2022/mintplayer-ng-bootstrap-web-components-tab-control.mjs.map +0 -1
  188. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +0 -34
  189. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +0 -1
  190. package/types/mintplayer-ng-bootstrap-a11y.d.ts +0 -196
  191. package/types/mintplayer-ng-bootstrap-accordion.d.ts +0 -39
  192. package/types/mintplayer-ng-bootstrap-alert.d.ts +0 -21
  193. package/types/mintplayer-ng-bootstrap-badge.d.ts +0 -12
  194. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +0 -14
  195. package/types/mintplayer-ng-bootstrap-button-group.d.ts +0 -9
  196. package/types/mintplayer-ng-bootstrap-button-type.d.ts +0 -12
  197. package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
  198. package/types/mintplayer-ng-bootstrap-calendar.d.ts +0 -57
  199. package/types/mintplayer-ng-bootstrap-card.d.ts +0 -15
  200. package/types/mintplayer-ng-bootstrap-carousel.d.ts +0 -121
  201. package/types/mintplayer-ng-bootstrap-close.d.ts +0 -10
  202. package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +0 -20
  203. package/types/mintplayer-ng-bootstrap-color-picker.d.ts +0 -236
  204. package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
  205. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +0 -21
  206. package/types/mintplayer-ng-bootstrap-copy.d.ts +0 -12
  207. package/types/mintplayer-ng-bootstrap-datatable.d.ts +0 -63
  208. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +0 -13
  209. package/types/mintplayer-ng-bootstrap-dock.d.ts +0 -419
  210. package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -8
  211. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -66
  212. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +0 -102
  213. package/types/mintplayer-ng-bootstrap-enhanced-paste.d.ts +0 -20
  214. package/types/mintplayer-ng-bootstrap-enum.d.ts +0 -17
  215. package/types/mintplayer-ng-bootstrap-file-upload.d.ts +0 -51
  216. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +0 -9
  217. package/types/mintplayer-ng-bootstrap-font-color.d.ts +0 -10
  218. package/types/mintplayer-ng-bootstrap-for.d.ts +0 -13
  219. package/types/mintplayer-ng-bootstrap-form.d.ts +0 -24
  220. package/types/mintplayer-ng-bootstrap-grid.d.ts +0 -50
  221. package/types/mintplayer-ng-bootstrap-has-id.d.ts +0 -5
  222. package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
  223. package/types/mintplayer-ng-bootstrap-has-property.d.ts +0 -10
  224. package/types/mintplayer-ng-bootstrap-in-list.d.ts +0 -11
  225. package/types/mintplayer-ng-bootstrap-input-group.d.ts +0 -8
  226. package/types/mintplayer-ng-bootstrap-instance-of.d.ts +0 -74
  227. package/types/mintplayer-ng-bootstrap-let.d.ts +0 -44
  228. package/types/mintplayer-ng-bootstrap-linify.d.ts +0 -10
  229. package/types/mintplayer-ng-bootstrap-list-group.d.ts +0 -14
  230. package/types/mintplayer-ng-bootstrap-markdown.d.ts +0 -33
  231. package/types/mintplayer-ng-bootstrap-marquee.d.ts +0 -9
  232. package/types/mintplayer-ng-bootstrap-modal.d.ts +0 -82
  233. package/types/mintplayer-ng-bootstrap-multi-range.d.ts +0 -170
  234. package/types/mintplayer-ng-bootstrap-multiselect.d.ts +0 -58
  235. package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +0 -13
  236. package/types/mintplayer-ng-bootstrap-navbar.d.ts +0 -189
  237. package/types/mintplayer-ng-bootstrap-navigation-lock.d.ts +0 -117
  238. package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
  239. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +0 -106
  240. package/types/mintplayer-ng-bootstrap-ordinal-number.d.ts +0 -12
  241. package/types/mintplayer-ng-bootstrap-pagination.d.ts +0 -40
  242. package/types/mintplayer-ng-bootstrap-parallax.d.ts +0 -11
  243. package/types/mintplayer-ng-bootstrap-placeholder.d.ts +0 -23
  244. package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +0 -13
  245. package/types/mintplayer-ng-bootstrap-popover.d.ts +0 -67
  246. package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +0 -64
  247. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +0 -27
  248. package/types/mintplayer-ng-bootstrap-range.d.ts +0 -28
  249. package/types/mintplayer-ng-bootstrap-rating.d.ts +0 -20
  250. package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +0 -36
  251. package/types/mintplayer-ng-bootstrap-resizable.d.ts +0 -89
  252. package/types/mintplayer-ng-bootstrap-ribbon.d.ts +0 -958
  253. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +0 -171
  254. package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +0 -36
  255. package/types/mintplayer-ng-bootstrap-searchbox.d.ts +0 -65
  256. package/types/mintplayer-ng-bootstrap-select.d.ts +0 -65
  257. package/types/mintplayer-ng-bootstrap-select2.d.ts +0 -61
  258. package/types/mintplayer-ng-bootstrap-shell.d.ts +0 -26
  259. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +0 -36
  260. package/types/mintplayer-ng-bootstrap-slugify.d.ts +0 -10
  261. package/types/mintplayer-ng-bootstrap-spinner.d.ts +0 -14
  262. package/types/mintplayer-ng-bootstrap-split-string.d.ts +0 -10
  263. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +0 -21
  264. package/types/mintplayer-ng-bootstrap-tab-control.d.ts +0 -50
  265. package/types/mintplayer-ng-bootstrap-table.d.ts +0 -24
  266. package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +0 -304
  267. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +0 -26
  268. package/types/mintplayer-ng-bootstrap-toast.d.ts +0 -67
  269. package/types/mintplayer-ng-bootstrap-toggle-button.d.ts +0 -57
  270. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +0 -29
  271. package/types/mintplayer-ng-bootstrap-treeview.d.ts +0 -44
  272. package/types/mintplayer-ng-bootstrap-trust-html.d.ts +0 -12
  273. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +0 -34
  274. package/types/mintplayer-ng-bootstrap-uc-first.d.ts +0 -10
  275. package/types/mintplayer-ng-bootstrap-user-agent.d.ts +0 -27
  276. package/types/mintplayer-ng-bootstrap-viewport.d.ts +0 -16
  277. package/types/mintplayer-ng-bootstrap-virtual-datatable.d.ts +0 -68
  278. package/types/mintplayer-ng-bootstrap-web-components-a11y.d.ts +0 -34
  279. package/types/mintplayer-ng-bootstrap-web-components-scheduler-core.d.ts +0 -914
  280. package/types/mintplayer-ng-bootstrap-web-components-scheduler.d.ts +0 -600
  281. package/types/mintplayer-ng-bootstrap-web-components-splitter.d.ts +0 -223
  282. package/types/mintplayer-ng-bootstrap-web-components-tab-control.d.ts +0 -95
  283. package/types/mintplayer-ng-bootstrap-word-count.d.ts +0 -10
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-dropdown.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dropdown/src/dropdown-menu/dropdown-menu.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/dropdown-toggle/dropdown-toggle.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/dropdown/dropdown.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/combobox/combobox.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/mintplayer-ng-bootstrap-dropdown.ts"],"sourcesContent":["import { DestroyRef, Directive, effect, forwardRef, inject, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ClickOutsideDirective } from '@mintplayer/ng-click-outside';\nimport { BS_DEVELOPMENT } from '@mintplayer/ng-bootstrap';\nimport { BsOverlayStackService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsDropdownDirective } from '../dropdown/dropdown.directive';\n\n@Directive({\n selector: '[bsDropdownMenu]',\n host: {\n '(clickOutside)': 'clickedOutside($event)',\n '(document:keydown.escape)': 'onEscape($event)',\n },\n})\nexport class BsDropdownMenuDirective extends ClickOutsideDirective {\n\n private dropdown = inject(forwardRef(() => BsDropdownDirective));\n private viewContainerRef = inject(ViewContainerRef);\n private templateRef = inject(TemplateRef);\n private overlay = inject(Overlay);\n private destroy = inject(DestroyRef);\n private bsDevelopment = inject(BS_DEVELOPMENT, { optional: true });\n private overlayStack = inject(BsOverlayStackService);\n\n private wait = false;\n private overlayRef: OverlayRef | null = null;\n private templatePortal: TemplatePortal<any> | null = null;\n private stackToken: symbol | null = null;\n\n constructor() {\n super();\n\n effect(() => {\n const isOpen = this.dropdown.isOpen();\n if (isOpen && this.stackToken === null) {\n this.stackToken = this.overlayStack.push();\n } else if (!isOpen && this.stackToken !== null) {\n this.overlayStack.release(this.stackToken);\n this.stackToken = null;\n }\n\n if (isOpen) {\n // Prevent creating duplicate overlays if effect re-runs while still open\n if (this.overlayRef) {\n return;\n }\n\n this.wait = true;\n setTimeout(() => this.wait = false, 100);\n\n this.overlayRef = this.overlay.create({\n hasBackdrop: this.dropdown.hasBackdrop(),\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy: this.overlay.position()\n .flexibleConnectedTo(!this.dropdown.toggle() ? this.dropdown.elementRef : this.dropdown.toggle()!.toggleButton)\n .withPositions([\n { originX: \"start\", originY: \"bottom\", overlayX: \"start\", overlayY: \"top\", offsetY: 0 },\n { originX: \"start\", originY: \"top\", overlayX: \"start\", overlayY: \"bottom\", offsetY: 0 },\n ]),\n });\n\n if (this.dropdown.hasBackdrop() && this.dropdown.closeOnClickOutside()) {\n this.overlayRef.backdropClick().subscribe(() => {\n this.dropdown.isOpen.set(false);\n });\n }\n\n this.templatePortal = new TemplatePortal(this.templateRef, this.viewContainerRef);\n const view = this.overlayRef.attach(this.templatePortal);\n\n if (this.dropdown.sameDropdownWidth()) {\n const width = this.dropdown.elementRef.nativeElement.offsetWidth;\n view.rootNodes[0].style.width = width + 'px';\n }\n } else {\n if (this.overlayRef) {\n this.overlayRef.detach();\n this.overlayRef.dispose();\n this.overlayRef = null;\n }\n }\n });\n }\n\n clickedOutside(event: Event) {\n const ev = event as MouseEvent;\n if (!this.bsDevelopment) {\n if (!this.wait) {\n if (this.dropdown.elementRef.nativeElement.contains(ev.target as Node)) {\n return;\n }\n if (!this.overlayRef?.overlayElement.contains(<any>ev.target)) {\n this.doClose();\n }\n }\n }\n }\n\n onEscape(event: Event) {\n if (this.stackToken !== null && this.overlayStack.isTop(this.stackToken)) {\n this.doClose();\n }\n }\n\n private doClose() {\n const isOpen = this.dropdown.isOpen();\n if (isOpen && !this.dropdown.hasBackdrop() && this.dropdown.closeOnClickOutside()) {\n this.dropdown.isOpen.set(false);\n }\n }\n}\n","import { Directive, ElementRef } from '@angular/core';\nimport { BsDropdownDirective } from '../dropdown/dropdown.directive';\n\n@Directive({\n selector: '[bsDropdownToggle]',\n host: {\n '[attr.aria-haspopup]': 'dropdown.popupRole()',\n '[attr.aria-expanded]': 'dropdown.isOpen()',\n '[attr.aria-controls]': 'dropdown.menuId() || null',\n '(click)': 'onClick()',\n },\n})\nexport class BsDropdownToggleDirective {\n\n constructor(\n public dropdown: BsDropdownDirective,\n toggleButton: ElementRef) {\n this.toggleButton = toggleButton;\n }\n\n toggleButton: ElementRef;\n\n onClick() {\n this.dropdown.isOpen.set(!this.dropdown.isOpen());\n }\n}\n","import { afterNextRender, contentChild, Directive, ElementRef, inject, input, model, signal } from '@angular/core';\nimport { BS_DEVELOPMENT } from '@mintplayer/ng-bootstrap';\nimport { BsIdService, BsRovingFocusDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsDropdownMenuDirective } from '../dropdown-menu/dropdown-menu.directive';\nimport { BsDropdownToggleDirective } from '../dropdown-toggle/dropdown-toggle.directive';\n\nexport type BsDropdownPopupRole = 'menu' | 'listbox';\n\n@Directive({\n selector: '[bsDropdown]',\n exportAs: 'bsDropdown',\n host: {\n '(window:blur)': 'onBlur()',\n },\n})\nexport class BsDropdownDirective {\n\n elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private bsDevelopment = inject(BS_DEVELOPMENT, { optional: true });\n private ids = inject(BsIdService);\n\n readonly menu = contentChild.required(BsDropdownMenuDirective);\n readonly toggle = contentChild(BsDropdownToggleDirective);\n readonly rovingFocus = contentChild(BsRovingFocusDirective, { descendants: true });\n\n hasBackdrop = input(false);\n sameWidth = input(false);\n closeOnClickOutside = input(true);\n sameDropdownWidth = input(false);\n isOpen = model<boolean>(false);\n readonly popupRole = input<BsDropdownPopupRole>('menu');\n\n /** Reactive id used for the menu's host id and for the toggle's aria-controls. Empty until afterNextRender resolves the host's static id (or generates one), so sibling host bindings on the wrapper element get a chance to land first. */\n private _menuId = signal<string>('');\n readonly menuId = this._menuId.asReadonly();\n\n constructor() {\n afterNextRender(() => {\n const hostId = this.elementRef.nativeElement.id;\n this._menuId.set(hostId ? `${hostId}-menu` : this.ids.next('bs-dropdown-menu'));\n });\n }\n\n onBlur() {\n if (this.closeOnClickOutside() && !this.bsDevelopment) {\n this.isOpen.set(false);\n }\n }\n}\n","import { computed, Directive, inject, input, output } from '@angular/core';\nimport { BsDropdownDirective } from '../dropdown/dropdown.directive';\n\nexport type BsComboboxAutocomplete = 'none' | 'list' | 'inline' | 'both';\nexport type BsComboboxNavigateDirection = 'next' | 'prev' | 'first' | 'last';\n\n/**\n * APG Combobox pattern — turns a plain `<input>` into a combobox that drives\n * an adjacent `bsDropdown` popup (typeahead, select2, multiselect, searchbox).\n *\n * The directive owns the input-side ARIA wiring:\n * - `role=\"combobox\"` on the host\n * - `aria-expanded` / `aria-controls` derived from the parent dropdown\n * - `aria-activedescendant` mirroring the dropdown's `bsRovingFocus` active id\n * - `aria-autocomplete` (defaults to `\"list\"`)\n *\n * Keyboard model:\n * - **ArrowUp/Down/Home/End** — opens the popup if closed; once open,\n * forwards to the dropdown's `bsRovingFocus` (or emits a `navigate` event\n * if no roving-focus is found, so consumers can manage navigation manually).\n * - **Enter** — fires `activate` so the consumer can commit the highlighted\n * option. `stopImmediatePropagation` is called to keep sibling\n * `(keydown.enter)` listeners on the same input (e.g. \"submit free-text\n * search\") from also firing on the same Enter.\n * - **Escape** — closes the popup and fires `cancel`.\n * - **Tab** — hybrid behaviour: while the popup is open and a roving-focus\n * is present, Tab advances the active descendant; at the boundary, Tab\n * closes the popup and falls through to the browser's default tab order.\n */\n@Directive({\n selector: 'input[bsCombobox]',\n exportAs: 'bsCombobox',\n host: {\n 'role': 'combobox',\n '[attr.aria-autocomplete]': 'autocomplete()',\n '[attr.aria-haspopup]': '\"listbox\"',\n '[attr.aria-expanded]': 'expanded()',\n '[attr.aria-controls]': 'controls()',\n '[attr.aria-activedescendant]': 'resolvedActiveDescendant()',\n '(keydown)': 'onKeydown($event)',\n },\n})\nexport class BsComboboxDirective {\n private dropdown = inject(BsDropdownDirective, { optional: true });\n\n /** Aliased to bsComboboxAutocomplete to avoid colliding with the host input's native HTML autocomplete attribute. */\n readonly autocomplete = input<BsComboboxAutocomplete>('list', { alias: 'bsComboboxAutocomplete' });\n /** Override the auto-derived activeDescendant. Defaults to dropdown.rovingFocus()'s id when present. */\n readonly activeDescendant = input<string | null>(null);\n\n readonly expanded = computed(() => this.dropdown?.isOpen() ?? false);\n readonly controls = computed(() => this.dropdown?.menuId() || null);\n readonly resolvedActiveDescendant = computed(() =>\n this.activeDescendant() ?? this.dropdown?.rovingFocus()?.activeDescendantId() ?? null);\n\n /** Fires only when no BsRovingFocus is found inside the parent dropdown — otherwise arrow keys are forwarded automatically. */\n readonly navigate = output<BsComboboxNavigateDirection>();\n readonly activate = output<KeyboardEvent>();\n readonly cancel = output<KeyboardEvent>();\n\n onKeydown(event: KeyboardEvent): void {\n // Skip browser/OS chords on the navigation keys; Tab is exempt because Shift+Tab is a legit chord\n // and Ctrl/Alt/Meta+Tab don't reach JS in any browser.\n if (event.key !== 'Tab' && (event.altKey || event.ctrlKey || event.metaKey)) return;\n const isOpen = this.expanded();\n const rf = this.dropdown?.rovingFocus();\n switch (event.key) {\n case 'ArrowDown':\n if (!isOpen) this.dropdown?.isOpen.set(true);\n else if (rf) rf.next();\n else this.navigate.emit('next');\n event.preventDefault();\n break;\n case 'ArrowUp':\n if (!isOpen) this.dropdown?.isOpen.set(true);\n else if (rf) rf.prev();\n else this.navigate.emit('prev');\n event.preventDefault();\n break;\n case 'Home':\n if (isOpen) {\n if (rf) rf.focusFirst();\n else this.navigate.emit('first');\n event.preventDefault();\n }\n break;\n case 'End':\n if (isOpen) {\n if (rf) rf.focusLast();\n else this.navigate.emit('last');\n event.preventDefault();\n }\n break;\n case 'Escape':\n if (isOpen) {\n this.dropdown?.isOpen.set(false);\n this.cancel.emit(event);\n event.preventDefault();\n }\n break;\n case 'Enter':\n if (isOpen) {\n this.activate.emit(event);\n event.preventDefault();\n // Sibling listeners on the same input (e.g. a host-template\n // (keydown.enter) for \"submit free-text search\") must not also\n // fire when this Enter activated a suggestion — otherwise the\n // queued keyup of the alert-dismiss Enter would re-trigger them.\n event.stopImmediatePropagation();\n }\n break;\n case 'Tab':\n // Hybrid combobox TAB: when the popup is open and a roving-focus is\n // present, TAB advances the active descendant (focus stays in the\n // input). At the boundary, close the popup and fall through to the\n // browser's default tab traversal so focus exits the combobox.\n if (!isOpen || !rf) break;\n if (event.shiftKey) {\n if (rf.activeIndex() <= rf.firstEnabledIndex()) {\n this.dropdown?.isOpen.set(false);\n } else {\n rf.prev();\n event.preventDefault();\n }\n } else {\n if (rf.activeIndex() >= rf.lastEnabledIndex()) {\n this.dropdown?.isOpen.set(false);\n } else {\n rf.next();\n event.preventDefault();\n }\n }\n break;\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsDropdownDirective"],"mappings":";;;;;;;;AAeM,MAAO,uBAAwB,SAAQ,qBAAqB,CAAA;AAehE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QAdD,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,MAAM,mBAAmB,CAAC,CAAC;AACxD,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC3C,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;AACjC,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AACzB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC;QAC5B,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC1D,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,qBAAqB,CAAC;QAE5C,IAAA,CAAA,IAAI,GAAG,KAAK;QACZ,IAAA,CAAA,UAAU,GAAsB,IAAI;QACp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1,62 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ElementRef, output, Directive } from '@angular/core';
3
- import { NgModel } from '@angular/forms';
4
-
5
- class EnhancedPasteDirective {
6
- constructor() {
7
- this.element = inject(ElementRef);
8
- this.model = inject(NgModel);
9
- this.numberOverflow = output();
10
- }
11
- onPaste(event) {
12
- // Prevent the default paste event
13
- event.preventDefault();
14
- // Get data from clipboard
15
- const data = event.clipboardData || window.clipboardData;
16
- const contents = data.getData('text');
17
- // Get min and max from input
18
- const min = parseFloat(this.element.nativeElement.min);
19
- const max = parseFloat(this.element.nativeElement.max);
20
- const filtered = this.filterInput(contents, min, max);
21
- if (filtered) {
22
- this.numberOverflow.emit(filtered);
23
- if (filtered.boundaryValue) {
24
- // Update NgModel
25
- this.model.control.setValue(filtered?.boundaryValue, { emitEvent: false, onlySelf: true });
26
- }
27
- }
28
- }
29
- filterInput(value, min, max) {
30
- const val = parseInt(value);
31
- if (isNaN(val)) {
32
- return { boundary: 'invalid' };
33
- }
34
- else if (val > max) {
35
- return { boundary: 'max', inputValue: val, boundaryValue: max };
36
- }
37
- else if (val < min) {
38
- return { boundary: 'min', inputValue: val, boundaryValue: min };
39
- }
40
- else {
41
- return null;
42
- }
43
- }
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: EnhancedPasteDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
45
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.11", type: EnhancedPasteDirective, isStandalone: true, selector: "input[type=\"number\"][bsEnhancedPaste]", outputs: { numberOverflow: "numberOverflow" }, host: { listeners: { "paste": "onPaste($event)" } }, ngImport: i0 }); }
46
- }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: EnhancedPasteDirective, decorators: [{
48
- type: Directive,
49
- args: [{
50
- selector: 'input[type="number"][bsEnhancedPaste]',
51
- host: {
52
- '(paste)': 'onPaste($event)',
53
- },
54
- }]
55
- }], propDecorators: { numberOverflow: [{ type: i0.Output, args: ["numberOverflow"] }] } });
56
-
57
- /**
58
- * Generated bundle index. Do not edit.
59
- */
60
-
61
- export { EnhancedPasteDirective };
62
- //# sourceMappingURL=mintplayer-ng-bootstrap-enhanced-paste.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-enhanced-paste.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/enhanced-paste/src/directive/enhanced-paste.directive.ts","../../../../libs/mintplayer-ng-bootstrap/enhanced-paste/mintplayer-ng-bootstrap-enhanced-paste.ts"],"sourcesContent":["import { Directive, ElementRef, inject, output } from '@angular/core';\nimport { NgModel } from '@angular/forms';\nimport { NumberOverflow } from '../interfaces/number-overflow';\n\n@Directive({\n selector: 'input[type=\"number\"][bsEnhancedPaste]',\n host: {\n '(paste)': 'onPaste($event)',\n },\n})\nexport class EnhancedPasteDirective {\n private element = inject<ElementRef<HTMLInputElement>>(ElementRef);\n private model = inject(NgModel);\n\n readonly numberOverflow = output<NumberOverflow>();\n\n onPaste(event: ClipboardEvent) {\n // Prevent the default paste event\n event.preventDefault();\n \n // Get data from clipboard\n const data = event.clipboardData || (<any>window).clipboardData;\n const contents = data.getData('text');\n\n // Get min and max from input\n const min = parseFloat(this.element.nativeElement.min);\n const max = parseFloat(this.element.nativeElement.max);\n\n const filtered = this.filterInput(contents, min, max);\n if (filtered) {\n this.numberOverflow.emit(filtered);\n if (filtered.boundaryValue) {\n // Update NgModel\n this.model.control.setValue(filtered?.boundaryValue, { emitEvent: false, onlySelf: true });\n }\n }\n\n }\n\n filterInput(value: any, min: number, max: number): NumberOverflow | null {\n const val = parseInt(value);\n if (isNaN(val)) {\n return { boundary: 'invalid' };\n } else if (val > max) {\n return { boundary: 'max', inputValue: val, boundaryValue: max };\n } else if (val < min) {\n return { boundary: 'min', inputValue: val, boundaryValue: min };\n } else {\n return null;\n }\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AAE;AACd,YAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE;QAChC;AAAO,aAAA,IAAI,GAAG,GAAG,GAAG,EAAE;AACpB,YAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE;QACjE;AAAO,aAAA,IAAI,GAAG,GAAG,GAAG,EAAE;AACpB,YAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE;QACjE;aAAO;AACL,YAAA,OAAO,IAAI;QACb;IACF;+GAxCW,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yCAAA,EAAA,OAAA,EAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,uCAAuC;AACjD,oBAAA,IAAI,EAAE;AACJ,wBAAA,SAAS,EAAE,iBAAiB;AAC7B,qBAAA;AACF,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -1,38 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable } from '@angular/core';
3
-
4
- class EnumService {
5
- getKeys(en) {
6
- const items = Object.keys(en);
7
- const halfLength = items.length / 2;
8
- return items.slice(halfLength);
9
- }
10
- getValues(en) {
11
- const items = Object.keys(en);
12
- const halfLength = items.length / 2;
13
- return items.slice(0, halfLength);
14
- }
15
- getItems(en) {
16
- return this.getKeys(en).map((key) => {
17
- return {
18
- key,
19
- value: en[key],
20
- };
21
- });
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: EnumService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: EnumService, providedIn: 'root' }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: EnumService, decorators: [{
27
- type: Injectable,
28
- args: [{
29
- providedIn: 'root'
30
- }]
31
- }] });
32
-
33
- /**
34
- * Generated bundle index. Do not edit.
35
- */
36
-
37
- export { EnumService };
38
- //# sourceMappingURL=mintplayer-ng-bootstrap-enum.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-enum.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/enum/src/service/enum.service.ts","../../../../libs/mintplayer-ng-bootstrap/enum/mintplayer-ng-bootstrap-enum.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { EnumItem } from '../interfaces/enum-item';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class EnumService {\n\n public getKeys(en: Record<string, unknown>) {\n const items = Object.keys(en);\n const halfLength = items.length / 2;\n return items.slice(halfLength);\n }\n \n public getValues(en: Record<string, unknown>) {\n const items = Object.keys(en);\n const halfLength = items.length / 2;\n return items.slice(0, halfLength);\n }\n\n public getItems(en: Record<string, unknown>) {\n return this.getKeys(en).map((key) => {\n return <EnumItem>{\n key,\n value: en[key],\n }\n });\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,WAAW,CAAA;AAEf,IAAA,OAAO,CAAC,EAA2B,EAAA;QACxC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;AAC7B,QAAA,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC;AACnC,QAAA,OAAO,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC;IAChC;AAEO,IAAA,SAAS,CAAC,EAA2B,EAAA;QAC1C,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;AAC7B,QAAA,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC;QACnC,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;IACnC;AAEO,IAAA,QAAQ,CAAC,EAA2B,EAAA;AACzC,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,KAAI;YAClC,OAAiB;gBACf,GAAG;AACH,gBAAA,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC;aACf;AACH,QAAA,CAAC,CAAC;IACJ;+GArBW,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAX,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,cAFV,MAAM,EAAA,CAAA,CAAA;;4FAEP,WAAW,EAAA,UAAA,EAAA,CAAA;kBAHvB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -1,135 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe, inject, input, signal, model, output, ChangeDetectionStrategy, Component, TemplateRef, Directive } from '@angular/core';
3
- import { NgTemplateOutlet } from '@angular/common';
4
- import { BsLiveAnnouncerService } from '@mintplayer/ng-bootstrap/a11y';
5
- import { BsForDirective } from '@mintplayer/ng-bootstrap/for';
6
- import { BsListGroupComponent, BsListGroupItemComponent } from '@mintplayer/ng-bootstrap/list-group';
7
- import { BsProgressComponent, BsProgressBarComponent } from '@mintplayer/ng-bootstrap/progress-bar';
8
- import { Color } from '@mintplayer/ng-bootstrap';
9
-
10
- class BsFormatBytesPipe {
11
- transform(value, decimals = 2) {
12
- if (value === 0) {
13
- return "0 Bytes";
14
- }
15
- const k = 1024;
16
- const dm = decimals <= 0 ? 0 : decimals;
17
- const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
18
- const i = Math.floor(Math.log(value) / Math.log(k));
19
- return parseFloat((value / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
20
- }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFormatBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
22
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.11", ngImport: i0, type: BsFormatBytesPipe, isStandalone: true, name: "bsFormatBytes" }); }
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFormatBytesPipe, decorators: [{
25
- type: Pipe,
26
- args: [{
27
- name: 'bsFormatBytes',
28
- pure: true,
29
- }]
30
- }] });
31
-
32
- class BsFileUploadComponent {
33
- constructor() {
34
- this.announcer = inject(BsLiveAnnouncerService);
35
- this.dropFilesCaption = input('Drop your files here', ...(ngDevMode ? [{ debugName: "dropFilesCaption" }] : /* istanbul ignore next */ []));
36
- this.browseFilesCaption = input('Browse for files', ...(ngDevMode ? [{ debugName: "browseFilesCaption" }] : /* istanbul ignore next */ []));
37
- this.placeholder = input('Drop files to upload', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
38
- this.ariaLabel = input('File upload drop zone', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
39
- this.inputAriaLabel = input('Choose files to upload', ...(ngDevMode ? [{ debugName: "inputAriaLabel" }] : /* istanbul ignore next */ []));
40
- this.colors = Color;
41
- this.isDraggingFile = signal(false, ...(ngDevMode ? [{ debugName: "isDraggingFile" }] : /* istanbul ignore next */ []));
42
- this.fileTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "fileTemplate" }] : /* istanbul ignore next */ []));
43
- this.files = model([], ...(ngDevMode ? [{ debugName: "files" }] : /* istanbul ignore next */ []));
44
- this.filesDropped = output();
45
- }
46
- onChange(event) {
47
- if (!event.target)
48
- return;
49
- if (!('files' in event.target))
50
- return;
51
- if (!event.target['files'])
52
- return;
53
- const files = event.target.files;
54
- if (!files)
55
- return;
56
- this.processDroppedFiles(files);
57
- }
58
- onDragOver(event) {
59
- event.preventDefault();
60
- event.stopPropagation();
61
- if (event.dataTransfer) {
62
- this.isDraggingFile.set(true);
63
- event.dataTransfer.effectAllowed = "copy";
64
- }
65
- }
66
- onDragLeave(event) {
67
- event.preventDefault();
68
- event.stopPropagation();
69
- this.isDraggingFile.set(false);
70
- }
71
- onDrop(event) {
72
- event.preventDefault();
73
- event.stopPropagation();
74
- this.isDraggingFile.set(false);
75
- if (event.dataTransfer && event.dataTransfer.files) {
76
- this.processDroppedFiles(event.dataTransfer.files);
77
- }
78
- }
79
- processDroppedFiles(fileList) {
80
- const newFiles = [...Array(fileList.length).keys()]
81
- .map(i => fileList.item(i))
82
- .filter(f => !!f)
83
- .map((file, index) => ({ file, progress: 0, index: this.files().length + index }));
84
- this.files.update(f => [...f, ...newFiles]);
85
- this.filesDropped.emit(newFiles);
86
- if (newFiles.length === 1) {
87
- this.announcer.announce(`Added ${newFiles[0].file.name}`);
88
- }
89
- else if (newFiles.length > 1) {
90
- this.announcer.announce(`Added ${newFiles.length} files`);
91
- }
92
- }
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFileUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
94
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: BsFileUploadComponent, isStandalone: true, selector: "bs-file-upload", inputs: { dropFilesCaption: { classPropertyName: "dropFilesCaption", publicName: "dropFilesCaption", isSignal: true, isRequired: false, transformFunction: null }, browseFilesCaption: { classPropertyName: "browseFilesCaption", publicName: "browseFilesCaption", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, inputAriaLabel: { classPropertyName: "inputAriaLabel", publicName: "inputAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { files: "filesChange", filesDropped: "filesDropped" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "onDrop($event)" } }, ngImport: i0, template: "<div class=\"dropzone border position-relative p-5\" role=\"region\" [attr.aria-label]=\"ariaLabel()\" [class.dragging]=\"isDraggingFile()\">\n <input type=\"file\" multiple #fileUpload (change)=\"onChange($event)\" [title]=\"placeholder()\" [placeholder]=\"placeholder()\" [attr.aria-label]=\"inputAriaLabel()\" class=\"position-absolute w-100 h-100\">\n <!-- <img src=\"/assets/ic-file-upload.svg\" [alt]=\"placeholder()\"> -->\n <span class=\"h3 d-block\" aria-hidden=\"true\">{{ dropFilesCaption() }}</span>\n <label class=\"btn btn-primary position-relative\" [bsFor]=\"fileUpload\">{{ browseFilesCaption() }}</label>\n</div>\n<bs-list-group class=\"files-list\">\n @for (upload of files(); track upload.index) {\n <bs-list-group-item>\n <ng-container *ngTemplateOutlet=\"fileTemplate() ?? defaultFileTemplate; context: { $implicit: upload }\"></ng-container>\n </bs-list-group-item>\n }\n</bs-list-group>\n\n<ng-template #defaultFileTemplate let-upload>\n <div class=\"d-flex flex-row mx-auto\">\n <div class=\"file-img\" aria-hidden=\"true\"></div>\n <div class=\"flex-grow-1 text-start px-2\">\n <span class=\"d-block text-truncate text-secondary\">{{ upload.file.name }}</span>\n <span class=\"d-block text-grey mb-0\">{{ upload.file.size | bsFormatBytes }}</span>\n <bs-progress [height]=\"4\">\n <bs-progress-bar [minimum]=\"0\" [maximum]=\"upload.file.size\" [value]=\"upload.progress\" [ariaLabel]=\"'Upload progress for ' + upload.file.name\"></bs-progress-bar>\n </bs-progress>\n </div>\n </div>\n</ng-template>\n", styles: [".dropzone{z-index:1}.dropzone.dragging{border:4px solid #CB1535!important;background:#dc88a8;margin:-3px -3px -4px}.dropzone input{opacity:0;z-index:2;top:0;left:0}.dropzone .btn{z-index:5}.files-list{margin-top:-1px}.files-list .d-flex{max-width:400px}.text-grey{color:#999}.list-group span{margin:-5px auto}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: BsForDirective, selector: "label[bsFor]", inputs: ["bsFor"] }, { kind: "component", type: BsListGroupComponent, selector: "bs-list-group" }, { kind: "component", type: BsListGroupItemComponent, selector: "bs-list-group-item" }, { kind: "component", type: BsProgressComponent, selector: "bs-progress", inputs: ["height", "isIndeterminate", "ariaLabel"] }, { kind: "component", type: BsProgressBarComponent, selector: "bs-progress-bar", inputs: ["minimum", "maximum", "value", "color", "striped", "animated", "ariaLabel"] }, { kind: "pipe", type: BsFormatBytesPipe, name: "bsFormatBytes" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
95
- }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFileUploadComponent, decorators: [{
97
- type: Component,
98
- args: [{ selector: 'bs-file-upload', imports: [NgTemplateOutlet, BsForDirective, BsListGroupComponent, BsListGroupItemComponent, BsProgressComponent, BsProgressBarComponent, BsFormatBytesPipe], changeDetection: ChangeDetectionStrategy.OnPush, host: {
99
- '(dragover)': 'onDragOver($event)',
100
- '(dragleave)': 'onDragLeave($event)',
101
- '(drop)': 'onDrop($event)',
102
- }, template: "<div class=\"dropzone border position-relative p-5\" role=\"region\" [attr.aria-label]=\"ariaLabel()\" [class.dragging]=\"isDraggingFile()\">\n <input type=\"file\" multiple #fileUpload (change)=\"onChange($event)\" [title]=\"placeholder()\" [placeholder]=\"placeholder()\" [attr.aria-label]=\"inputAriaLabel()\" class=\"position-absolute w-100 h-100\">\n <!-- <img src=\"/assets/ic-file-upload.svg\" [alt]=\"placeholder()\"> -->\n <span class=\"h3 d-block\" aria-hidden=\"true\">{{ dropFilesCaption() }}</span>\n <label class=\"btn btn-primary position-relative\" [bsFor]=\"fileUpload\">{{ browseFilesCaption() }}</label>\n</div>\n<bs-list-group class=\"files-list\">\n @for (upload of files(); track upload.index) {\n <bs-list-group-item>\n <ng-container *ngTemplateOutlet=\"fileTemplate() ?? defaultFileTemplate; context: { $implicit: upload }\"></ng-container>\n </bs-list-group-item>\n }\n</bs-list-group>\n\n<ng-template #defaultFileTemplate let-upload>\n <div class=\"d-flex flex-row mx-auto\">\n <div class=\"file-img\" aria-hidden=\"true\"></div>\n <div class=\"flex-grow-1 text-start px-2\">\n <span class=\"d-block text-truncate text-secondary\">{{ upload.file.name }}</span>\n <span class=\"d-block text-grey mb-0\">{{ upload.file.size | bsFormatBytes }}</span>\n <bs-progress [height]=\"4\">\n <bs-progress-bar [minimum]=\"0\" [maximum]=\"upload.file.size\" [value]=\"upload.progress\" [ariaLabel]=\"'Upload progress for ' + upload.file.name\"></bs-progress-bar>\n </bs-progress>\n </div>\n </div>\n</ng-template>\n", styles: [".dropzone{z-index:1}.dropzone.dragging{border:4px solid #CB1535!important;background:#dc88a8;margin:-3px -3px -4px}.dropzone input{opacity:0;z-index:2;top:0;left:0}.dropzone .btn{z-index:5}.files-list{margin-top:-1px}.files-list .d-flex{max-width:400px}.text-grey{color:#999}.list-group span{margin:-5px auto}\n"] }]
103
- }], propDecorators: { dropFilesCaption: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropFilesCaption", required: false }] }], browseFilesCaption: [{ type: i0.Input, args: [{ isSignal: true, alias: "browseFilesCaption", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], inputAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputAriaLabel", required: false }] }], files: [{ type: i0.Input, args: [{ isSignal: true, alias: "files", required: false }] }, { type: i0.Output, args: ["filesChange"] }], filesDropped: [{ type: i0.Output, args: ["filesDropped"] }] } });
104
-
105
- class BsFileUploadTemplateDirective {
106
- constructor() {
107
- this.fileUploadComponent = inject(BsFileUploadComponent);
108
- this.bsFileUploadTemplateOf = input(undefined, ...(ngDevMode ? [{ debugName: "bsFileUploadTemplateOf" }] : /* istanbul ignore next */ []));
109
- const templateRef = inject(TemplateRef);
110
- this.fileUploadComponent.fileTemplate.set(templateRef);
111
- }
112
- static ngTemplateContextGuard(dir, ctx) {
113
- return true;
114
- }
115
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFileUploadTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
116
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: BsFileUploadTemplateDirective, isStandalone: true, selector: "[bsFileUploadTemplate]", inputs: { bsFileUploadTemplateOf: { classPropertyName: "bsFileUploadTemplateOf", publicName: "bsFileUploadTemplateOf", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
117
- }
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFileUploadTemplateDirective, decorators: [{
119
- type: Directive,
120
- args: [{
121
- selector: '[bsFileUploadTemplate]',
122
- }]
123
- }], ctorParameters: () => [], propDecorators: { bsFileUploadTemplateOf: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsFileUploadTemplateOf", required: false }] }] } });
124
- class BsFileUploadTemplateContext {
125
- constructor() {
126
- this.$implicit = null;
127
- }
128
- }
129
-
130
- /**
131
- * Generated bundle index. Do not edit.
132
- */
133
-
134
- export { BsFileUploadComponent, BsFileUploadTemplateContext, BsFileUploadTemplateDirective, BsFormatBytesPipe };
135
- //# sourceMappingURL=mintplayer-ng-bootstrap-file-upload.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-file-upload.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/file-upload/src/pipes/format-bytes/format-bytes.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/component/file-upload.component.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/component/file-upload.component.html","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/directive/file-upload-template.directive.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/mintplayer-ng-bootstrap-file-upload.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsFormatBytes',\n pure: true,\n})\nexport class BsFormatBytesPipe implements PipeTransform {\n\n transform(value: number, decimals = 2) {\n if (value === 0) {\n return \"0 Bytes\";\n }\n\n const k = 1024;\n const dm = decimals <= 0 ? 0 : decimals;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n const i = Math.floor(Math.log(value) / Math.log(k));\n\n return parseFloat((value / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\n }\n\n}\n","import { Component, inject, input, model, output, signal, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { BsLiveAnnouncerService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsForDirective } from '@mintplayer/ng-bootstrap/for';\nimport { BsListGroupComponent } from '@mintplayer/ng-bootstrap/list-group';\nimport { BsListGroupItemComponent } from '@mintplayer/ng-bootstrap/list-group';\nimport { BsProgressComponent, BsProgressBarComponent } from '@mintplayer/ng-bootstrap/progress-bar';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { FileUpload } from '../file-upload';\nimport { BsFormatBytesPipe } from '../pipes/format-bytes/format-bytes.pipe';\n\n@Component({\n selector: 'bs-file-upload',\n templateUrl: './file-upload.component.html',\n styleUrls: ['./file-upload.component.scss'],\n imports: [NgTemplateOutlet, BsForDirective, BsListGroupComponent, BsListGroupItemComponent, BsProgressComponent, BsProgressBarComponent, BsFormatBytesPipe],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(dragover)': 'onDragOver($event)',\n '(dragleave)': 'onDragLeave($event)',\n '(drop)': 'onDrop($event)',\n },\n})\nexport class BsFileUploadComponent {\n private announcer = inject(BsLiveAnnouncerService);\n\n readonly dropFilesCaption = input('Drop your files here');\n readonly browseFilesCaption = input('Browse for files');\n readonly placeholder = input('Drop files to upload');\n readonly ariaLabel = input<string>('File upload drop zone');\n readonly inputAriaLabel = input<string>('Choose files to upload');\n\n readonly colors = Color;\n isDraggingFile = signal(false);\n readonly fileTemplate = signal<TemplateRef<FileUpload> | undefined>(undefined);\n readonly files = model<FileUpload[]>([]);\n readonly filesDropped = output<FileUpload[]>();\n\n onChange(event: Event) {\n if (!event.target) return;\n if (!('files' in event.target)) return;\n if (!event.target['files']) return;\n\n const files = (<HTMLInputElement>event.target).files;\n if (!files) return;\n\n this.processDroppedFiles(files);\n }\n\n onDragOver(event: DragEvent) {\n event.preventDefault();\n event.stopPropagation();\n\n if (event.dataTransfer) {\n this.isDraggingFile.set(true);\n event.dataTransfer.effectAllowed = \"copy\";\n }\n }\n\n onDragLeave(event: DragEvent) {\n event.preventDefault();\n event.stopPropagation();\n this.isDraggingFile.set(false);\n }\n\n onDrop(event: DragEvent) {\n event.preventDefault();\n event.stopPropagation();\n this.isDraggingFile.set(false);\n if (event.dataTransfer && event.dataTransfer.files) {\n this.processDroppedFiles(event.dataTransfer.files);\n }\n }\n\n private processDroppedFiles(fileList: FileList) {\n const newFiles = [...Array(fileList.length).keys()]\n .map(i => fileList.item(i))\n .filter(f => !!f)\n .map((file, index) => <FileUpload>{ file, progress: 0, index: this.files().length + index });\n\n this.files.update(f => [...f, ...newFiles]);\n this.filesDropped.emit(newFiles);\n\n if (newFiles.length === 1) {\n this.announcer.announce(`Added ${newFiles[0].file.name}`);\n } else if (newFiles.length > 1) {\n this.announcer.announce(`Added ${newFiles.length} files`);\n }\n }\n}\n","<div class=\"dropzone border position-relative p-5\" role=\"region\" [attr.aria-label]=\"ariaLabel()\" [class.dragging]=\"isDraggingFile()\">\n <input type=\"file\" multiple #fileUpload (change)=\"onChange($event)\" [title]=\"placeholder()\" [placeholder]=\"placeholder()\" [attr.aria-label]=\"inputAriaLabel()\" class=\"position-absolute w-100 h-100\">\n <!-- <img src=\"/assets/ic-file-upload.svg\" [alt]=\"placeholder()\"> -->\n <span class=\"h3 d-block\" aria-hidden=\"true\">{{ dropFilesCaption() }}</span>\n <label class=\"btn btn-primary position-relative\" [bsFor]=\"fileUpload\">{{ browseFilesCaption() }}</label>\n</div>\n<bs-list-group class=\"files-list\">\n @for (upload of files(); track upload.index) {\n <bs-list-group-item>\n <ng-container *ngTemplateOutlet=\"fileTemplate() ?? defaultFileTemplate; context: { $implicit: upload }\"></ng-container>\n </bs-list-group-item>\n }\n</bs-list-group>\n\n<ng-template #defaultFileTemplate let-upload>\n <div class=\"d-flex flex-row mx-auto\">\n <div class=\"file-img\" aria-hidden=\"true\"></div>\n <div class=\"flex-grow-1 text-start px-2\">\n <span class=\"d-block text-truncate text-secondary\">{{ upload.file.name }}</span>\n <span class=\"d-block text-grey mb-0\">{{ upload.file.size | bsFormatBytes }}</span>\n <bs-progress [height]=\"4\">\n <bs-progress-bar [minimum]=\"0\" [maximum]=\"upload.file.size\" [value]=\"upload.progress\" [ariaLabel]=\"'Upload progress for ' + upload.file.name\"></bs-progress-bar>\n </bs-progress>\n </div>\n </div>\n</ng-template>\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport { BsFileUploadComponent } from '../component/file-upload.component';\nimport { FileUpload } from '../file-upload';\n\n@Directive({\n selector: '[bsFileUploadTemplate]',\n})\nexport class BsFileUploadTemplateDirective {\n private fileUploadComponent = inject(BsFileUploadComponent);\n\n constructor() {\n const templateRef = inject(TemplateRef);\n this.fileUploadComponent.fileTemplate.set(templateRef);\n }\n\n readonly bsFileUploadTemplateOf = input<FileUpload[] | undefined>(undefined);\n\n static ngTemplateContextGuard(dir: BsFileUploadTemplateDirective, ctx: any): ctx is BsFileUploadTemplateContext {\n return true;\n }\n\n}\n\nexport class BsFileUploadTemplateContext {\n $implicit: FileUpload = null!;\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAMa,iBAAiB,CAAA;AAE5B,IAAA,SAAS,CAAC,KAAa,EAAE,QAAQ,GAAG,CAAC,EAAA;AACnC,QAAA,IAAI,KAAK,KAAK,CAAC,EAAE;AACf,YAAA,OAAO,SAAS;QAClB;QAEA,MAAM,CAAC,GAAG,IAAI;AACd,QAAA,MAAM,EAAE,GAAG,QAAQ,IAAI,CAAC,GAAG,CAAC,GAAG,QAAQ;QACvC,MAAM,KAAK,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;QACvE,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAEnD,OAAO,UAAU,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE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EAAA;AACxE,QAAA,OAAO,IAAI;IACb;+GAZW,6BAA6B,EAAA,IAAA,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;;MAiBY,2BAA2B,CAAA;AAAxC,IAAA,WAAA,GAAA;QACE,IAAA,CAAA,SAAS,GAAe,IAAK;IAC/B;AAAC;;ACzBD;;AAEG;;;;"}
@@ -1,25 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { BsFormComponent } from '@mintplayer/ng-bootstrap/form';
4
-
5
- class BsFloatingLabelComponent {
6
- constructor() {
7
- const bsForm = inject(BsFormComponent, { optional: true });
8
- if (!bsForm) {
9
- throw '<bs-floating-label> must be inside a <bs-form>';
10
- }
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFloatingLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.11", type: BsFloatingLabelComponent, isStandalone: true, selector: "bs-floating-label", ngImport: i0, template: "<div class=\"form-floating\">\n <ng-content select=\"input\"></ng-content>\n <ng-content select=\"label\"></ng-content>\n</div>", styles: [":host ::ng-deep .form-floating{position:relative}:host ::ng-deep .form-floating>.form-control,:host ::ng-deep .form-floating>.form-control-plaintext,:host ::ng-deep .form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}:host ::ng-deep .form-floating>label{position:absolute;top:0;left:0;z-index:2;max-width:100%;height:100%;padding:1rem .75rem;overflow:hidden;color:rgba(var(--bs-body-color-rgb),.65);text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .form-floating>label{transition:none}}:host ::ng-deep .form-floating>.form-control,:host ::ng-deep .form-floating>.form-control-plaintext{padding:1rem .75rem}:host ::ng-deep .form-floating>.form-control::placeholder,:host ::ng-deep .form-floating>.form-control-plaintext::placeholder{color:transparent}:host ::ng-deep .form-floating>.form-control:focus,:host ::ng-deep .form-floating>.form-control:not(:placeholder-shown),:host ::ng-deep .form-floating>.form-control-plaintext:focus,:host ::ng-deep .form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}:host ::ng-deep .form-floating>.form-control:-webkit-autofill,:host ::ng-deep .form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}:host ::ng-deep .form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem;padding-left:.75rem}:host ::ng-deep .form-floating>.form-control:focus~label,:host ::ng-deep .form-floating>.form-control:not(:placeholder-shown)~label,:host ::ng-deep .form-floating>.form-control-plaintext~label,:host ::ng-deep .form-floating>.form-select~label{transform:scale(.85) translateY(-.5rem) translate(.15rem)}:host ::ng-deep .form-floating>.form-control:-webkit-autofill~label{transform:scale(.85) translateY(-.5rem) translate(.15rem)}:host ::ng-deep .form-floating>textarea:focus~label:after,:host ::ng-deep .form-floating>textarea:not(:placeholder-shown)~label:after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:\"\";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}:host ::ng-deep .form-floating>textarea:disabled~label:after{background-color:var(--bs-secondary-bg)}:host ::ng-deep .form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}:host ::ng-deep .form-floating>:disabled~label,:host ::ng-deep .form-floating>.form-control:disabled~label{color:#6c757d}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFloatingLabelComponent, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'bs-floating-label', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"form-floating\">\n <ng-content select=\"input\"></ng-content>\n <ng-content select=\"label\"></ng-content>\n</div>", styles: [":host ::ng-deep .form-floating{position:relative}:host ::ng-deep .form-floating>.form-control,:host ::ng-deep .form-floating>.form-control-plaintext,:host ::ng-deep .form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}:host ::ng-deep .form-floating>label{position:absolute;top:0;left:0;z-index:2;max-width:100%;height:100%;padding:1rem .75rem;overflow:hidden;color:rgba(var(--bs-body-color-rgb),.65);text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .form-floating>label{transition:none}}:host ::ng-deep .form-floating>.form-control,:host ::ng-deep .form-floating>.form-control-plaintext{padding:1rem .75rem}:host ::ng-deep .form-floating>.form-control::placeholder,:host ::ng-deep .form-floating>.form-control-plaintext::placeholder{color:transparent}:host ::ng-deep .form-floating>.form-control:focus,:host ::ng-deep .form-floating>.form-control:not(:placeholder-shown),:host ::ng-deep .form-floating>.form-control-plaintext:focus,:host ::ng-deep .form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}:host ::ng-deep .form-floating>.form-control:-webkit-autofill,:host ::ng-deep .form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}:host ::ng-deep .form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem;padding-left:.75rem}:host ::ng-deep .form-floating>.form-control:focus~label,:host ::ng-deep .form-floating>.form-control:not(:placeholder-shown)~label,:host ::ng-deep .form-floating>.form-control-plaintext~label,:host ::ng-deep .form-floating>.form-select~label{transform:scale(.85) translateY(-.5rem) translate(.15rem)}:host ::ng-deep .form-floating>.form-control:-webkit-autofill~label{transform:scale(.85) translateY(-.5rem) translate(.15rem)}:host ::ng-deep .form-floating>textarea:focus~label:after,:host ::ng-deep .form-floating>textarea:not(:placeholder-shown)~label:after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:\"\";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}:host ::ng-deep .form-floating>textarea:disabled~label:after{background-color:var(--bs-secondary-bg)}:host ::ng-deep .form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}:host ::ng-deep .form-floating>:disabled~label,:host ::ng-deep .form-floating>.form-control:disabled~label{color:#6c757d}\n"] }]
18
- }], ctorParameters: () => [] });
19
-
20
- /**
21
- * Generated bundle index. Do not edit.
22
- */
23
-
24
- export { BsFloatingLabelComponent };
25
- //# sourceMappingURL=mintplayer-ng-bootstrap-floating-labels.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-floating-labels.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/floating-labels/src/floating-label/floating-label.component.ts","../../../../libs/mintplayer-ng-bootstrap/floating-labels/src/floating-label/floating-label.component.html","../../../../libs/mintplayer-ng-bootstrap/floating-labels/mintplayer-ng-bootstrap-floating-labels.ts"],"sourcesContent":["import { Component, inject, ChangeDetectionStrategy} from '@angular/core';\nimport { BsFormComponent } from '@mintplayer/ng-bootstrap/form';\n\n@Component({\n selector: 'bs-floating-label',\n templateUrl: './floating-label.component.html',\n styleUrls: ['./floating-label.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsFloatingLabelComponent {\n constructor() {\n const bsForm = inject(BsFormComponent, { optional: true });\n if (!bsForm) {\n throw '<bs-floating-label> must be inside a <bs-form>';\n }\n }\n}\n","<div class=\"form-floating\">\n <ng-content select=\"input\"></ng-content>\n <ng-content select=\"label\"></ng-content>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,wBAAwB,CAAA;AACnC,IAAA,WAAA,GAAA;AACE,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAC1D,IAAI,CAAC,MAAM,EAAE;AACX,YAAA,MAAM,gDAAgD;QACxD;IACF;+GANW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,6ECTrC,uIAGM,EAAA,MAAA,EAAA,CAAA,soFAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FDMO,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;+BACE,mBAAmB,EAAA,eAAA,EAGZ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,uIAAA,EAAA,MAAA,EAAA,CAAA,soFAAA,CAAA,EAAA;;;AEPjD;;AAEG;;;;"}
@@ -1,34 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
-
4
- class BsFontColorPipe {
5
- transform(color_hex, defaultColor = '#FFFFFF') {
6
- if (color_hex === undefined || color_hex === null || color_hex.length < 7 || typeof (color_hex) !== 'string') {
7
- return defaultColor;
8
- }
9
- const R_HEX = color_hex.substr(1, 2);
10
- const G_HEX = color_hex.substr(3, 2);
11
- const B_HEX = color_hex.substr(5, 2);
12
- const R_DEC = parseInt(R_HEX, 16);
13
- const G_DEC = parseInt(G_HEX, 16);
14
- const B_DEC = parseInt(B_HEX, 16);
15
- const CONTRAST_HEX = R_DEC * 0.299 + G_DEC * 0.587 + B_DEC * 0.114 > 186 ? '#000000' : '#FFFFFF';
16
- return CONTRAST_HEX;
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFontColorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
19
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.11", ngImport: i0, type: BsFontColorPipe, isStandalone: true, name: "bsFontColor" }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsFontColorPipe, decorators: [{
22
- type: Pipe,
23
- args: [{
24
- name: 'bsFontColor',
25
- pure: true,
26
- }]
27
- }] });
28
-
29
- /**
30
- * Generated bundle index. Do not edit.
31
- */
32
-
33
- export { BsFontColorPipe };
34
- //# sourceMappingURL=mintplayer-ng-bootstrap-font-color.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-font-color.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/font-color/src/font-color.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/font-color/mintplayer-ng-bootstrap-font-color.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsFontColor',\n pure: true,\n})\nexport class BsFontColorPipe implements PipeTransform {\n\n transform(color_hex: any, defaultColor = '#FFFFFF'): any {\n if (color_hex === undefined || color_hex === null || color_hex.length < 7 || typeof (color_hex) !== 'string') {\n return defaultColor;\n }\n const R_HEX: string = color_hex.substr(1, 2);\n const G_HEX: string = color_hex.substr(3, 2);\n const B_HEX: string = color_hex.substr(5, 2);\n const R_DEC: number = parseInt(R_HEX, 16);\n const G_DEC: number = parseInt(G_HEX, 16);\n const B_DEC: number = parseInt(B_HEX, 16);\n const CONTRAST_HEX: string = R_DEC * 0.299 + G_DEC * 0.587 + B_DEC * 0.114 > 186 ? '#000000' : '#FFFFFF';\n return CONTRAST_HEX;\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,eAAe,CAAA;AAE1B,IAAA,SAAS,CAAC,SAAc,EAAE,YAAY,GAAG,SAAS,EAAA;QAChD,IAAI,SAAS,KAAK,SAAS,IAAI,SAAS,KAAK,IAAI,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,QAAQ,SAAS,CAAC,KAAK,QAAQ,EAAE;AAC5G,YAAA,OAAO,YAAY;QACrB;QACA,MAAM,KAAK,GAAW,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAW,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAW,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAW,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC;QACzC,MAAM,KAAK,GAAW,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC;QACzC,MAAM,KAAK,GAAW,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC;QACzC,MAAM,YAAY,GAAW,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,GAAG,GAAG,SAAS,GAAG,SAAS;AACxG,QAAA,OAAO,YAAY;IACrB;+GAdW,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;;;ACLD;;AAEG;;;;"}
@@ -1,41 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, effect, Directive } from '@angular/core';
3
-
4
- class BsForDirective {
5
- static { this.counter = 1; }
6
- constructor() {
7
- this.bsFor = input(undefined, ...(ngDevMode ? [{ debugName: "bsFor" }] : /* istanbul ignore next */ []));
8
- effect(() => {
9
- const value = this.bsFor();
10
- if (value !== undefined) {
11
- this.target = value;
12
- if (this.target instanceof HTMLElement) {
13
- if (!this.target.id) {
14
- const count = BsForDirective.counter++;
15
- this.target.id = `for-target-${count}`;
16
- }
17
- this.forValue = this.target.id;
18
- }
19
- }
20
- });
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsForDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
23
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: BsForDirective, isStandalone: true, selector: "label[bsFor]", inputs: { bsFor: { classPropertyName: "bsFor", publicName: "bsFor", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.cursor-default": "true", "attr.for": "forValue" } }, ngImport: i0 }); }
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsForDirective, decorators: [{
26
- type: Directive,
27
- args: [{
28
- selector: 'label[bsFor]',
29
- host: {
30
- '[class.cursor-default]': 'true',
31
- '[attr.for]': 'forValue',
32
- },
33
- }]
34
- }], ctorParameters: () => [], propDecorators: { bsFor: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsFor", required: false }] }] } });
35
-
36
- /**
37
- * Generated bundle index. Do not edit.
38
- */
39
-
40
- export { BsForDirective };
41
- //# sourceMappingURL=mintplayer-ng-bootstrap-for.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-for.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/for/src/for.directive.ts","../../../../libs/mintplayer-ng-bootstrap/for/mintplayer-ng-bootstrap-for.ts"],"sourcesContent":["import { Directive, effect, input } from '@angular/core';\n\n@Directive({\n selector: 'label[bsFor]',\n host: {\n '[class.cursor-default]': 'true',\n '[attr.for]': 'forValue',\n },\n})\nexport class BsForDirective {\n\n static counter = 1;\n private target: any;\n readonly bsFor = input<any>(undefined);\n\n constructor() {\n effect(() => {\n const value = this.bsFor();\n if (value !== undefined) {\n this.target = value;\n if (this.target instanceof HTMLElement) {\n if (!this.target.id) {\n const count = BsForDirective.counter++;\n this.target.id = `for-target-${count}`;\n }\n this.forValue = this.target.id;\n }\n }\n });\n }\n\n forValue?: string;\n\n // @HostListener('click') onMouseClick() {\n // if (!('tagName' in this.target)) {\n // // Not a form-control, let's just assume the class has some \"focus\" method\n // this.target.focus();\n // } else if (this.target.tagName.toLowerCase() !== 'input') {\n // // HTML element, but not an input, probably a textarea\n // this.target.focus();\n // } else if (this.target.type.toLowerCase() === 'file') {\n // // HtmlInputElement for a file\n // this.target.click();\n // } else {\n // // HtmlInputElement\n // this.target.focus();\n // }\n // }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MASa,cAAc,CAAA;aAElB,IAAA,CAAA,OAAO,GAAG,CAAH,CAAK;AAInB,IAAA,WAAA,GAAA;AAFS,QAAA,IAAA,CA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