@mintplayer/ng-bootstrap 21.32.0 → 21.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/_bootstrap.scss +28 -0
  2. package/package.json +1 -377
  3. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +0 -455
  4. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +0 -1
  5. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +0 -94
  6. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +0 -1
  7. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +0 -45
  8. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +0 -1
  9. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +0 -24
  10. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +0 -1
  11. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +0 -35
  12. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +0 -1
  13. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +0 -21
  14. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +0 -1
  15. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +0 -36
  16. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +0 -1
  17. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
  18. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +0 -210
  20. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +0 -1
  21. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +0 -33
  22. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +0 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +0 -270
  24. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +0 -1
  25. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +0 -25
  26. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +0 -1
  27. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +0 -44
  28. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +0 -1
  29. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +0 -654
  30. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +0 -1
  31. package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
  32. package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
  33. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +0 -88
  34. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +0 -1
  35. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +0 -46
  36. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +0 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +0 -181
  38. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +0 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +0 -30
  40. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +0 -1
  41. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +0 -4101
  42. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +0 -1
  43. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -23
  44. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
  45. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -195
  46. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
  47. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +0 -326
  48. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +0 -1
  49. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +0 -62
  50. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +0 -1
  51. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +0 -38
  52. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +0 -1
  53. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +0 -135
  54. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +0 -1
  55. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +0 -25
  56. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +0 -1
  57. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +0 -34
  58. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +0 -1
  59. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +0 -41
  60. package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +0 -1
  61. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +0 -59
  62. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +0 -1
  63. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +0 -122
  64. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +0 -1
  65. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs +0 -4
  66. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs.map +0 -1
  67. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
  68. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
  69. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +0 -23
  70. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +0 -1
  71. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +0 -23
  72. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +0 -1
  73. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +0 -18
  74. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +0 -1
  75. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +0 -183
  76. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +0 -1
  77. package/fesm2022/mintplayer-ng-bootstrap-let.mjs +0 -46
  78. package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +0 -1
  79. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +0 -28
  80. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +0 -1
  81. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +0 -33
  82. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +0 -1
  83. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +0 -118
  84. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +0 -1
  85. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +0 -21
  86. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +0 -1
  87. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +0 -240
  88. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +0 -1
  89. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +0 -693
  90. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +0 -1
  91. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +0 -136
  92. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +0 -1
  93. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +0 -29
  94. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +0 -1
  95. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +0 -629
  96. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +0 -1
  97. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +0 -205
  98. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +0 -1
  99. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
  100. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
  101. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +0 -366
  102. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +0 -1
  103. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +0 -36
  104. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +0 -1
  105. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +0 -188
  106. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +0 -1
  107. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +0 -26
  108. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +0 -1
  109. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +0 -64
  110. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +0 -1
  111. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +0 -29
  112. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +0 -1
  113. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +0 -246
  114. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +0 -1
  115. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +0 -250
  116. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +0 -1
  117. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +0 -68
  118. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +0 -1
  119. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +0 -75
  120. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +0 -1
  121. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +0 -79
  122. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +0 -1
  123. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +0 -59
  124. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +0 -1
  125. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +0 -387
  126. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +0 -1
  127. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +0 -5016
  128. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +0 -1
  129. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +0 -237
  130. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +0 -1
  131. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +0 -120
  132. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +0 -1
  133. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +0 -194
  134. package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +0 -1
  135. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +0 -213
  136. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +0 -1
  137. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +0 -205
  138. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +0 -1
  139. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +0 -52
  140. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +0 -1
  141. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +0 -76
  142. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +0 -1
  143. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +0 -30
  144. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +0 -1
  145. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +0 -26
  146. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +0 -1
  147. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +0 -25
  148. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +0 -1
  149. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +0 -46
  150. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +0 -1
  151. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +0 -124
  152. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +0 -1
  153. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +0 -40
  154. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +0 -1
  155. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +0 -1446
  156. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +0 -1
  157. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +0 -104
  158. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +0 -1
  159. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +0 -163
  160. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +0 -1
  161. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +0 -236
  162. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +0 -1
  163. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +0 -174
  164. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +0 -1
  165. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +0 -100
  166. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +0 -1
  167. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +0 -28
  168. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +0 -1
  169. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +0 -111
  170. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +0 -1
  171. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +0 -24
  172. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +0 -1
  173. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +0 -94
  174. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +0 -1
  175. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +0 -48
  176. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs.map +0 -1
  177. package/fesm2022/mintplayer-ng-bootstrap-virtual-datatable.mjs +0 -282
  178. package/fesm2022/mintplayer-ng-bootstrap-virtual-datatable.mjs.map +0 -1
  179. package/fesm2022/mintplayer-ng-bootstrap-web-components-a11y.mjs +0 -74
  180. package/fesm2022/mintplayer-ng-bootstrap-web-components-a11y.mjs.map +0 -1
  181. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler-core.mjs +0 -1356
  182. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler-core.mjs.map +0 -1
  183. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler.mjs +0 -5224
  184. package/fesm2022/mintplayer-ng-bootstrap-web-components-scheduler.mjs.map +0 -1
  185. package/fesm2022/mintplayer-ng-bootstrap-web-components-splitter.mjs +0 -923
  186. package/fesm2022/mintplayer-ng-bootstrap-web-components-splitter.mjs.map +0 -1
  187. package/fesm2022/mintplayer-ng-bootstrap-web-components-tab-control.mjs +0 -553
  188. package/fesm2022/mintplayer-ng-bootstrap-web-components-tab-control.mjs.map +0 -1
  189. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +0 -34
  190. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +0 -1
  191. package/types/mintplayer-ng-bootstrap-a11y.d.ts +0 -196
  192. package/types/mintplayer-ng-bootstrap-accordion.d.ts +0 -39
  193. package/types/mintplayer-ng-bootstrap-alert.d.ts +0 -21
  194. package/types/mintplayer-ng-bootstrap-badge.d.ts +0 -12
  195. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +0 -14
  196. package/types/mintplayer-ng-bootstrap-button-group.d.ts +0 -9
  197. package/types/mintplayer-ng-bootstrap-button-type.d.ts +0 -12
  198. package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
  199. package/types/mintplayer-ng-bootstrap-calendar.d.ts +0 -57
  200. package/types/mintplayer-ng-bootstrap-card.d.ts +0 -15
  201. package/types/mintplayer-ng-bootstrap-carousel.d.ts +0 -121
  202. package/types/mintplayer-ng-bootstrap-close.d.ts +0 -10
  203. package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +0 -20
  204. package/types/mintplayer-ng-bootstrap-color-picker.d.ts +0 -236
  205. package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
  206. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +0 -21
  207. package/types/mintplayer-ng-bootstrap-copy.d.ts +0 -12
  208. package/types/mintplayer-ng-bootstrap-datatable.d.ts +0 -63
  209. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +0 -13
  210. package/types/mintplayer-ng-bootstrap-dock.d.ts +0 -419
  211. package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -8
  212. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -66
  213. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +0 -102
  214. package/types/mintplayer-ng-bootstrap-enhanced-paste.d.ts +0 -20
  215. package/types/mintplayer-ng-bootstrap-enum.d.ts +0 -17
  216. package/types/mintplayer-ng-bootstrap-file-upload.d.ts +0 -51
  217. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +0 -9
  218. package/types/mintplayer-ng-bootstrap-font-color.d.ts +0 -10
  219. package/types/mintplayer-ng-bootstrap-for.d.ts +0 -13
  220. package/types/mintplayer-ng-bootstrap-form.d.ts +0 -24
  221. package/types/mintplayer-ng-bootstrap-grid.d.ts +0 -50
  222. package/types/mintplayer-ng-bootstrap-has-id.d.ts +0 -5
  223. package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
  224. package/types/mintplayer-ng-bootstrap-has-property.d.ts +0 -10
  225. package/types/mintplayer-ng-bootstrap-in-list.d.ts +0 -11
  226. package/types/mintplayer-ng-bootstrap-input-group.d.ts +0 -8
  227. package/types/mintplayer-ng-bootstrap-instance-of.d.ts +0 -74
  228. package/types/mintplayer-ng-bootstrap-let.d.ts +0 -44
  229. package/types/mintplayer-ng-bootstrap-linify.d.ts +0 -10
  230. package/types/mintplayer-ng-bootstrap-list-group.d.ts +0 -14
  231. package/types/mintplayer-ng-bootstrap-markdown.d.ts +0 -33
  232. package/types/mintplayer-ng-bootstrap-marquee.d.ts +0 -9
  233. package/types/mintplayer-ng-bootstrap-modal.d.ts +0 -82
  234. package/types/mintplayer-ng-bootstrap-multi-range.d.ts +0 -170
  235. package/types/mintplayer-ng-bootstrap-multiselect.d.ts +0 -58
  236. package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +0 -13
  237. package/types/mintplayer-ng-bootstrap-navbar.d.ts +0 -189
  238. package/types/mintplayer-ng-bootstrap-navigation-lock.d.ts +0 -117
  239. package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
  240. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +0 -106
  241. package/types/mintplayer-ng-bootstrap-ordinal-number.d.ts +0 -12
  242. package/types/mintplayer-ng-bootstrap-pagination.d.ts +0 -40
  243. package/types/mintplayer-ng-bootstrap-parallax.d.ts +0 -11
  244. package/types/mintplayer-ng-bootstrap-placeholder.d.ts +0 -23
  245. package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +0 -13
  246. package/types/mintplayer-ng-bootstrap-popover.d.ts +0 -67
  247. package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +0 -64
  248. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +0 -27
  249. package/types/mintplayer-ng-bootstrap-range.d.ts +0 -28
  250. package/types/mintplayer-ng-bootstrap-rating.d.ts +0 -20
  251. package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +0 -36
  252. package/types/mintplayer-ng-bootstrap-resizable.d.ts +0 -89
  253. package/types/mintplayer-ng-bootstrap-ribbon.d.ts +0 -958
  254. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +0 -171
  255. package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +0 -36
  256. package/types/mintplayer-ng-bootstrap-searchbox.d.ts +0 -65
  257. package/types/mintplayer-ng-bootstrap-select.d.ts +0 -65
  258. package/types/mintplayer-ng-bootstrap-select2.d.ts +0 -61
  259. package/types/mintplayer-ng-bootstrap-shell.d.ts +0 -26
  260. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +0 -36
  261. package/types/mintplayer-ng-bootstrap-slugify.d.ts +0 -10
  262. package/types/mintplayer-ng-bootstrap-spinner.d.ts +0 -14
  263. package/types/mintplayer-ng-bootstrap-split-string.d.ts +0 -10
  264. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +0 -21
  265. package/types/mintplayer-ng-bootstrap-tab-control.d.ts +0 -50
  266. package/types/mintplayer-ng-bootstrap-table.d.ts +0 -24
  267. package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +0 -304
  268. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +0 -26
  269. package/types/mintplayer-ng-bootstrap-toast.d.ts +0 -67
  270. package/types/mintplayer-ng-bootstrap-toggle-button.d.ts +0 -57
  271. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +0 -29
  272. package/types/mintplayer-ng-bootstrap-treeview.d.ts +0 -44
  273. package/types/mintplayer-ng-bootstrap-trust-html.d.ts +0 -12
  274. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +0 -34
  275. package/types/mintplayer-ng-bootstrap-uc-first.d.ts +0 -10
  276. package/types/mintplayer-ng-bootstrap-user-agent.d.ts +0 -27
  277. package/types/mintplayer-ng-bootstrap-viewport.d.ts +0 -16
  278. package/types/mintplayer-ng-bootstrap-virtual-datatable.d.ts +0 -68
  279. package/types/mintplayer-ng-bootstrap-web-components-a11y.d.ts +0 -34
  280. package/types/mintplayer-ng-bootstrap-web-components-scheduler-core.d.ts +0 -914
  281. package/types/mintplayer-ng-bootstrap-web-components-scheduler.d.ts +0 -600
  282. package/types/mintplayer-ng-bootstrap-web-components-splitter.d.ts +0 -223
  283. package/types/mintplayer-ng-bootstrap-web-components-tab-control.d.ts +0 -95
  284. package/types/mintplayer-ng-bootstrap-word-count.d.ts +0 -10
@@ -1,1446 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, output, viewChild, ChangeDetectionStrategy, Component, contentChildren, computed, effect, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3
- import { NgTemplateOutlet } from '@angular/common';
4
- import { html, unsafeCSS, LitElement, nothing } from 'lit';
5
- import { LiveAnnouncerController } from '@mintplayer/ng-bootstrap/web-components/a11y';
6
-
7
- /**
8
- * One tile inside a `<bs-tile-manager>`.
9
- *
10
- * The component captures two `TemplateRef`s — one for the header (a child
11
- * `<bs-tile-header>`) and one for the body (everything else) — which the
12
- * manager projects into named slots on the underlying `<mp-tile-manager>`
13
- * web component (`${id}-header` and `${id}-content`).
14
- */
15
- class BsTileComponent {
16
- constructor() {
17
- this.id = input.required(...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
18
- this.position = input.required(...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
19
- this.disableMove = input(false, ...(ngDevMode ? [{ debugName: "disableMove" }] : /* istanbul ignore next */ []));
20
- this.disableResize = input(false, ...(ngDevMode ? [{ debugName: "disableResize" }] : /* istanbul ignore next */ []));
21
- this.label = input(null, ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
22
- this.positionChange = output();
23
- this.headerTpl = viewChild.required('headerTpl');
24
- this.contentTpl = viewChild.required('contentTpl');
25
- }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.11", type: BsTileComponent, isStandalone: true, selector: "bs-tile", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: true, transformFunction: null }, disableMove: { classPropertyName: "disableMove", publicName: "disableMove", isSignal: true, isRequired: false, transformFunction: null }, disableResize: { classPropertyName: "disableResize", publicName: "disableResize", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { positionChange: "positionChange" }, viewQueries: [{ propertyName: "headerTpl", first: true, predicate: ["headerTpl"], descendants: true, isSignal: true }, { propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }], ngImport: i0, template: `
28
- <ng-template #headerTpl>
29
- <ng-content select="bs-tile-header"></ng-content>
30
- </ng-template>
31
- <ng-template #contentTpl>
32
- <ng-content></ng-content>
33
- </ng-template>
34
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTileComponent, decorators: [{
37
- type: Component,
38
- args: [{
39
- selector: 'bs-tile',
40
- template: `
41
- <ng-template #headerTpl>
42
- <ng-content select="bs-tile-header"></ng-content>
43
- </ng-template>
44
- <ng-template #contentTpl>
45
- <ng-content></ng-content>
46
- </ng-template>
47
- `,
48
- changeDetection: ChangeDetectionStrategy.OnPush,
49
- }]
50
- }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: true }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: true }] }], disableMove: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableMove", required: false }] }], disableResize: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableResize", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], positionChange: [{ type: i0.Output, args: ["positionChange"] }], headerTpl: [{ type: i0.ViewChild, args: ['headerTpl', { isSignal: true }] }], contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }] } });
51
-
52
- class BsTileManagerComponent {
53
- constructor() {
54
- this.columnCount = input(null, ...(ngDevMode ? [{ debugName: "columnCount" }] : /* istanbul ignore next */ []));
55
- this.minColumnWidth = input('200px', ...(ngDevMode ? [{ debugName: "minColumnWidth" }] : /* istanbul ignore next */ []));
56
- this.minRowHeight = input('8rem', ...(ngDevMode ? [{ debugName: "minRowHeight" }] : /* istanbul ignore next */ []));
57
- this.gap = input('0.5rem', ...(ngDevMode ? [{ debugName: "gap" }] : /* istanbul ignore next */ []));
58
- this.dragMode = input('header', ...(ngDevMode ? [{ debugName: "dragMode" }] : /* istanbul ignore next */ []));
59
- this.resizeMode = input('hover', ...(ngDevMode ? [{ debugName: "resizeMode" }] : /* istanbul ignore next */ []));
60
- this.animateReflow = input(true, ...(ngDevMode ? [{ debugName: "animateReflow" }] : /* istanbul ignore next */ []));
61
- this.label = input(null, ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
62
- this.layoutChange = output();
63
- this.gestureBlocked = output();
64
- this.tiles = contentChildren(BsTileComponent, ...(ngDevMode ? [{ debugName: "tiles" }] : /* istanbul ignore next */ []));
65
- this.managerRef = viewChild('manager', ...(ngDevMode ? [{ debugName: "managerRef" }] : /* istanbul ignore next */ []));
66
- this.columnCountAttr = computed(() => {
67
- const c = this.columnCount();
68
- return c && c > 0 ? String(c) : null;
69
- }, ...(ngDevMode ? [{ debugName: "columnCountAttr" }] : /* istanbul ignore next */ []));
70
- // Snapshot of Angular tile state, derived from contentChildren signals.
71
- // Re-runs whenever any tile's id, position, disableMove, disableResize, or label changes.
72
- // contentChildren() can surface a child before Angular has finished binding its
73
- // required inputs; reading them then throws NG0950. flatMap-with-try lets us
74
- // skip the not-yet-bound entry — the effect re-runs once binding completes.
75
- this.tilesSnapshot = computed(() => this.tiles().flatMap((t) => {
76
- try {
77
- return [{
78
- id: t.id(),
79
- position: t.position(),
80
- disableMove: t.disableMove(),
81
- disableResize: t.disableResize(),
82
- label: t.label(),
83
- }];
84
- }
85
- catch {
86
- return [];
87
- }
88
- }), ...(ngDevMode ? [{ debugName: "tilesSnapshot" }] : /* istanbul ignore next */ []));
89
- effect(() => {
90
- const snapshot = this.tilesSnapshot();
91
- const ref = this.managerRef();
92
- if (!ref)
93
- return;
94
- ref.nativeElement.tiles = snapshot;
95
- });
96
- }
97
- ngAfterViewInit() {
98
- // First push happens via the constructor effect once the view is alive.
99
- }
100
- /** Returns the current layout. Mirrors `BsDockManagerComponent.captureLayout()`. */
101
- captureLayout() {
102
- const ref = this.managerRef();
103
- if (!ref)
104
- return [];
105
- return Array.from(ref.nativeElement.tiles ?? []).map((t) => ({
106
- id: t.id,
107
- position: { ...t.position },
108
- }));
109
- }
110
- onLayoutChange(event) {
111
- const detail = event.detail;
112
- if (detail)
113
- this.layoutChange.emit(detail);
114
- }
115
- onPositionChange(event) {
116
- const detail = event.detail;
117
- if (!detail)
118
- return;
119
- const tile = this.tiles().find((t) => t.id() === detail.id);
120
- tile?.positionChange.emit(detail.position);
121
- }
122
- onGestureBlocked(event) {
123
- const detail = event.detail;
124
- if (detail)
125
- this.gestureBlocked.emit(detail);
126
- }
127
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTileManagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
128
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: BsTileManagerComponent, isStandalone: true, selector: "bs-tile-manager", inputs: { columnCount: { classPropertyName: "columnCount", publicName: "columnCount", isSignal: true, isRequired: false, transformFunction: null }, minColumnWidth: { classPropertyName: "minColumnWidth", publicName: "minColumnWidth", isSignal: true, isRequired: false, transformFunction: null }, minRowHeight: { classPropertyName: "minRowHeight", publicName: "minRowHeight", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null }, dragMode: { classPropertyName: "dragMode", publicName: "dragMode", isSignal: true, isRequired: false, transformFunction: null }, resizeMode: { classPropertyName: "resizeMode", publicName: "resizeMode", isSignal: true, isRequired: false, transformFunction: null }, animateReflow: { classPropertyName: "animateReflow", publicName: "animateReflow", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layoutChange: "layoutChange", gestureBlocked: "gestureBlocked" }, queries: [{ propertyName: "tiles", predicate: BsTileComponent, isSignal: true }], viewQueries: [{ propertyName: "managerRef", first: true, predicate: ["manager"], descendants: true, isSignal: true }], ngImport: i0, template: `
129
- <mp-tile-manager
130
- #manager
131
- class="bs-tile-manager"
132
- [attr.column-count]="columnCountAttr()"
133
- [attr.min-column-width]="minColumnWidth()"
134
- [attr.min-row-height]="minRowHeight()"
135
- [attr.gap]="gap()"
136
- [attr.drag-mode]="dragMode()"
137
- [attr.resize-mode]="resizeMode()"
138
- [attr.animate-reflow]="animateReflow() ? '' : null"
139
- [attr.label]="label()"
140
- (tilelayoutchange)="onLayoutChange($event)"
141
- (tilepositionchange)="onPositionChange($event)"
142
- (tilegestureblocked)="onGestureBlocked($event)"
143
- >
144
- @for (tile of tiles(); track tile.id()) {
145
- <div [attr.slot]="tile.id() + '-header'" class="bs-tile-slot">
146
- <ng-container *ngTemplateOutlet="tile.headerTpl()"></ng-container>
147
- </div>
148
- <div [attr.slot]="tile.id() + '-content'" class="bs-tile-slot">
149
- <ng-container *ngTemplateOutlet="tile.contentTpl()"></ng-container>
150
- </div>
151
- }
152
- </mp-tile-manager>
153
- `, isInline: true, styles: [":host{display:block;width:100%}.bs-tile-manager{display:block;width:100%}.bs-tile-slot{display:contents}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
154
- }
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTileManagerComponent, decorators: [{
156
- type: Component,
157
- args: [{ selector: 'bs-tile-manager', template: `
158
- <mp-tile-manager
159
- #manager
160
- class="bs-tile-manager"
161
- [attr.column-count]="columnCountAttr()"
162
- [attr.min-column-width]="minColumnWidth()"
163
- [attr.min-row-height]="minRowHeight()"
164
- [attr.gap]="gap()"
165
- [attr.drag-mode]="dragMode()"
166
- [attr.resize-mode]="resizeMode()"
167
- [attr.animate-reflow]="animateReflow() ? '' : null"
168
- [attr.label]="label()"
169
- (tilelayoutchange)="onLayoutChange($event)"
170
- (tilepositionchange)="onPositionChange($event)"
171
- (tilegestureblocked)="onGestureBlocked($event)"
172
- >
173
- @for (tile of tiles(); track tile.id()) {
174
- <div [attr.slot]="tile.id() + '-header'" class="bs-tile-slot">
175
- <ng-container *ngTemplateOutlet="tile.headerTpl()"></ng-container>
176
- </div>
177
- <div [attr.slot]="tile.id() + '-content'" class="bs-tile-slot">
178
- <ng-container *ngTemplateOutlet="tile.contentTpl()"></ng-container>
179
- </div>
180
- }
181
- </mp-tile-manager>
182
- `, imports: [NgTemplateOutlet], schemas: [CUSTOM_ELEMENTS_SCHEMA], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;width:100%}.bs-tile-manager{display:block;width:100%}.bs-tile-slot{display:contents}\n"] }]
183
- }], ctorParameters: () => [], propDecorators: { columnCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnCount", required: false }] }], minColumnWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "minColumnWidth", required: false }] }], minRowHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "minRowHeight", required: false }] }], gap: [{ type: i0.Input, args: [{ isSignal: true, alias: "gap", required: false }] }], dragMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "dragMode", required: false }] }], resizeMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizeMode", required: false }] }], animateReflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "animateReflow", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], layoutChange: [{ type: i0.Output, args: ["layoutChange"] }], gestureBlocked: [{ type: i0.Output, args: ["gestureBlocked"] }], tiles: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => BsTileComponent), { isSignal: true }] }], managerRef: [{ type: i0.ViewChild, args: ['manager', { isSignal: true }] }] } });
184
-
185
- class BsTileHeaderComponent {
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTileHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
187
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.11", type: BsTileHeaderComponent, isStandalone: true, selector: "bs-tile-header", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;font-weight:500;color:var(--bs-body-color, inherit);background:linear-gradient(to bottom,rgba(var(--bs-primary-rgb, 13, 110, 253),.1),rgba(var(--bs-primary-rgb, 13, 110, 253),.04));border-bottom:1px solid var(--bs-border-color, #dee2e6);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
188
- }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: BsTileHeaderComponent, decorators: [{
190
- type: Component,
191
- args: [{ selector: 'bs-tile-header', template: `<ng-content></ng-content>`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;font-weight:500;color:var(--bs-body-color, inherit);background:linear-gradient(to bottom,rgba(var(--bs-primary-rgb, 13, 110, 253),.1),rgba(var(--bs-primary-rgb, 13, 110, 253),.04));border-bottom:1px solid var(--bs-border-color, #dee2e6);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}\n"] }]
192
- }] });
193
-
194
- function rectsOverlap(a, b) {
195
- return (a.colStart < b.colStart + b.colSpan &&
196
- b.colStart < a.colStart + a.colSpan &&
197
- a.rowStart < b.rowStart + b.rowSpan &&
198
- b.rowStart < a.rowStart + a.rowSpan);
199
- }
200
-
201
- /**
202
- * Vertical-compact packer. The pinned tile's rect is the user's gesture; all
203
- * other tiles flow around it (locked tiles stay put; movable tiles get pushed
204
- * out of the way and gravity-compacted upward).
205
- *
206
- * Returns `blocked: true` if the pinned rect overlaps a locked tile or no
207
- * valid layout exists; the caller should snap back and not commit.
208
- */
209
- function pack(tiles, pinned, columnCount) {
210
- const pinnedTile = tiles.find((t) => t.id === pinned.id);
211
- if (!pinnedTile) {
212
- throw new Error(`pack: pinned tile "${pinned.id}" is not in the tiles array`);
213
- }
214
- const pinnedPlacement = { id: pinned.id, position: { ...pinned.rect } };
215
- const lockedPlacements = tiles
216
- .filter((t) => t.locked && t.id !== pinned.id)
217
- .map((t) => ({ id: t.id, position: { ...t.position } }));
218
- const lockedOverlap = lockedPlacements.some((l) => rectsOverlap(l.position, pinnedPlacement.position));
219
- if (lockedOverlap) {
220
- return { layout: snapshotFromInput(tiles), blocked: true };
221
- }
222
- const fixed = [pinnedPlacement, ...lockedPlacements];
223
- const movables = tiles
224
- .filter((t) => !t.locked && t.id !== pinned.id)
225
- .slice()
226
- .sort((a, b) => {
227
- const dRow = a.position.rowStart - b.position.rowStart;
228
- return dRow !== 0 ? dRow : a.position.colStart - b.position.colStart;
229
- });
230
- const placedMovables = movables.reduce((acc, t) => {
231
- const all = [...fixed, ...acc];
232
- const placed = placeTile(t, all, columnCount);
233
- return placed ? [...acc, placed] : acc;
234
- }, []);
235
- if (placedMovables.length !== movables.length) {
236
- return { layout: snapshotFromInput(tiles), blocked: true };
237
- }
238
- const compacted = compactStable(placedMovables, fixed, columnCount);
239
- const placementById = new Map([pinnedPlacement, ...lockedPlacements, ...compacted].map((p) => [p.id, p.position]));
240
- // Preserve the input tile order in the output snapshot — keeps layout
241
- // identity stable across pack() calls with the same input.
242
- const layout = tiles.map((t) => ({
243
- id: t.id,
244
- position: placementById.get(t.id) ?? { ...t.position },
245
- }));
246
- return { layout, blocked: false };
247
- }
248
- function snapshotFromInput(tiles) {
249
- return tiles.map((t) => ({ id: t.id, position: { ...t.position } }));
250
- }
251
- function placeTile(tile, obstacles, columnCount) {
252
- const { colSpan, rowSpan } = tile.position;
253
- if (colSpan > columnCount)
254
- return null;
255
- const inPlaceFits = !obstacles.some((o) => rectsOverlap(tile.position, o.position));
256
- if (inPlaceFits) {
257
- return { id: tile.id, position: { ...tile.position } };
258
- }
259
- const candidate = firstFit({ colSpan, rowSpan }, obstacles, columnCount);
260
- return candidate ? { id: tile.id, position: candidate } : null;
261
- }
262
- function firstFit(size, obstacles, columnCount) {
263
- const lastRow = obstacles.reduce((max, o) => Math.max(max, o.position.rowStart + o.position.rowSpan - 1), 0);
264
- // Worst case: stack right after the bottommost obstacle.
265
- const rowsToTry = lastRow + size.rowSpan;
266
- const cols = columnCount - size.colSpan + 1;
267
- if (cols < 1)
268
- return null;
269
- // Imperative loops here are deliberate — this runs on every pointermove
270
- // during a drag (live reflow) and the array-allocation patterns previously
271
- // used here generated GC pressure visible as drag jank.
272
- for (let rowStart = 1; rowStart <= rowsToTry; rowStart++) {
273
- for (let c = 0; c < cols; c++) {
274
- const colStart = c + 1;
275
- let collides = false;
276
- for (let i = 0; i < obstacles.length; i++) {
277
- if (rectsOverlap({ rowStart, colStart, colSpan: size.colSpan, rowSpan: size.rowSpan }, obstacles[i].position)) {
278
- collides = true;
279
- break;
280
- }
281
- }
282
- if (!collides) {
283
- return { rowStart, colStart, colSpan: size.colSpan, rowSpan: size.rowSpan };
284
- }
285
- }
286
- }
287
- return null;
288
- }
289
- function compactStable(placements, fixed, columnCount) {
290
- return iterate(placements, fixed, columnCount, 10);
291
- }
292
- function iterate(placements, fixed, columnCount, iterations) {
293
- if (iterations <= 0)
294
- return placements;
295
- const { result, changed } = compactOnce(placements, fixed, columnCount);
296
- return changed ? iterate(result, fixed, columnCount, iterations - 1) : result;
297
- }
298
- function compactOnce(placements, fixed, columnCount) {
299
- // Process in current visual order: top-to-bottom, then left-to-right.
300
- const ordered = placements
301
- .slice()
302
- .sort((a, b) => {
303
- const dRow = a.position.rowStart - b.position.rowStart;
304
- return dRow !== 0 ? dRow : a.position.colStart - b.position.colStart;
305
- });
306
- return ordered.reduce((acc, p) => {
307
- const others = [...fixed, ...acc.result.filter((r) => r.id !== p.id)];
308
- const slid = slideUp(p.position, others);
309
- const changed = slid.rowStart !== p.position.rowStart;
310
- return {
311
- result: [...acc.result, { id: p.id, position: slid }],
312
- changed: acc.changed || changed,
313
- };
314
- }, { result: [], changed: false });
315
- }
316
- function slideUp(pos, others) {
317
- if (pos.rowStart <= 1)
318
- return pos;
319
- // Same hot path as firstFit — keep imperative for GC-pressure reasons.
320
- for (let rowStart = 1; rowStart < pos.rowStart; rowStart++) {
321
- let collides = false;
322
- for (let i = 0; i < others.length; i++) {
323
- if (rectsOverlap({ ...pos, rowStart }, others[i].position)) {
324
- collides = true;
325
- break;
326
- }
327
- }
328
- if (!collides)
329
- return { ...pos, rowStart };
330
- }
331
- return pos;
332
- }
333
-
334
- // AUTO-GENERATED — do not edit by hand.
335
- // Source: mint-tile-manager.element.html + mint-tile-manager.element.scss
336
- // Regenerate with the codegen-wc Nx target.
337
- const template = html `<!-- Tile shells are rendered dynamically by render(). This file exists so the
338
- codegen-wc target produces a \`styles\` export from the sibling .scss; the
339
- \`template\` export it generates is intentionally unused. -->`;
340
- const styles = unsafeCSS(`:host {
341
- display: block;
342
- position: relative;
343
- box-sizing: border-box;
344
- width: 100%;
345
- contain: layout paint style;
346
- --bs-tile-radius: 0.5rem;
347
- --bs-tile-bg: var(--bs-body-bg, #fff);
348
- --bs-tile-border: var(--bs-border-color, #dee2e6);
349
- --bs-tile-shadow: var(--bs-box-shadow-sm, 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075));
350
- --bs-tile-handle-color: var(--bs-secondary, #6c757d);
351
- --bs-tile-blocked-color: var(--bs-danger, #dc3545);
352
- }
353
-
354
- .tile-grid {
355
- display: grid;
356
- grid-auto-rows: var(--mp-tile-row-height, 8rem);
357
- gap: var(--mp-tile-gap, 0.5rem);
358
- width: 100%;
359
- position: relative;
360
- }
361
-
362
- .tile {
363
- position: relative;
364
- display: flex;
365
- flex-direction: column;
366
- background: var(--bs-tile-bg);
367
- border: 1px solid var(--bs-tile-border);
368
- border-radius: var(--bs-tile-radius);
369
- box-shadow: var(--bs-tile-shadow);
370
- overflow: hidden;
371
- min-width: 0;
372
- min-height: 0;
373
- transition: transform 150ms cubic-bezier(0.2, 0, 0, 1);
374
- will-change: transform;
375
- }
376
-
377
- .tile[data-dragging=true] {
378
- z-index: 5;
379
- cursor: grabbing;
380
- box-shadow: var(--bs-box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));
381
- transition: none;
382
- }
383
-
384
- .tile[data-resizing=true] {
385
- z-index: 4;
386
- transition: width 150ms cubic-bezier(0.2, 0, 0, 1), height 150ms cubic-bezier(0.2, 0, 0, 1);
387
- }
388
-
389
- .tile[data-blocked=true] {
390
- outline: 2px solid var(--bs-tile-blocked-color);
391
- outline-offset: -2px;
392
- animation: tile-shake 200ms ease-in-out;
393
- }
394
-
395
- @keyframes tile-shake {
396
- 0%, 100% {
397
- transform: translateX(0);
398
- }
399
- 25% {
400
- transform: translateX(-3px);
401
- }
402
- 75% {
403
- transform: translateX(3px);
404
- }
405
- }
406
- .tile[data-pressing=true] {
407
- filter: brightness(0.96);
408
- transition: filter 100ms ease-out;
409
- }
410
-
411
- .tile__header-shell {
412
- flex: 0 0 auto;
413
- user-select: none;
414
- -webkit-user-select: none;
415
- -webkit-touch-callout: none;
416
- cursor: grab;
417
- }
418
-
419
- .tile[data-drag-mode=off] .tile__header-shell,
420
- .tile[data-locked-move=true] .tile__header-shell {
421
- cursor: default;
422
- }
423
-
424
- .tile__content-shell {
425
- flex: 1 1 auto;
426
- min-width: 0;
427
- min-height: 0;
428
- overflow: auto;
429
- }
430
-
431
- .tile__resize-side,
432
- .tile__resize-bottom,
433
- .tile__resize-corner {
434
- position: absolute;
435
- z-index: 2;
436
- background: transparent;
437
- touch-action: none;
438
- -webkit-user-select: none;
439
- user-select: none;
440
- opacity: 0;
441
- transition: opacity 120ms ease-out;
442
- }
443
-
444
- .tile:hover .tile__resize-side,
445
- .tile:hover .tile__resize-bottom,
446
- .tile:hover .tile__resize-corner,
447
- :host([resize-mode=always]) .tile__resize-side,
448
- :host([resize-mode=always]) .tile__resize-bottom,
449
- :host([resize-mode=always]) .tile__resize-corner {
450
- opacity: 1;
451
- }
452
-
453
- @media (pointer: coarse) {
454
- .tile__resize-side,
455
- .tile__resize-bottom,
456
- .tile__resize-corner {
457
- opacity: 1;
458
- }
459
- }
460
- .tile__resize-side {
461
- right: -2px;
462
- top: 25%;
463
- bottom: 25%;
464
- width: 6px;
465
- cursor: ew-resize;
466
- }
467
-
468
- .tile__resize-bottom {
469
- left: 25%;
470
- right: 25%;
471
- bottom: -2px;
472
- height: 6px;
473
- cursor: ns-resize;
474
- }
475
-
476
- .tile__resize-corner {
477
- right: -2px;
478
- bottom: -2px;
479
- width: 14px;
480
- height: 14px;
481
- cursor: nwse-resize;
482
- }
483
-
484
- .tile__resize-corner::before {
485
- content: "";
486
- position: absolute;
487
- right: 3px;
488
- bottom: 3px;
489
- width: 8px;
490
- height: 8px;
491
- border-right: 2px solid var(--bs-tile-handle-color);
492
- border-bottom: 2px solid var(--bs-tile-handle-color);
493
- border-bottom-right-radius: 2px;
494
- }
495
-
496
- :host([resize-mode=off]) .tile__resize-side,
497
- :host([resize-mode=off]) .tile__resize-bottom,
498
- :host([resize-mode=off]) .tile__resize-corner {
499
- display: none;
500
- }
501
-
502
- .tile[data-locked-resize=true] .tile__resize-side,
503
- .tile[data-locked-resize=true] .tile__resize-bottom,
504
- .tile[data-locked-resize=true] .tile__resize-corner {
505
- display: none;
506
- }
507
-
508
- .tile-grid__live-region,
509
- .tile-grid__sr-only {
510
- position: absolute;
511
- width: 1px;
512
- height: 1px;
513
- margin: -1px;
514
- padding: 0;
515
- overflow: hidden;
516
- clip: rect(0, 0, 0, 0);
517
- white-space: nowrap;
518
- border: 0;
519
- }
520
-
521
- @media (prefers-reduced-motion: reduce) {
522
- .tile {
523
- transition: none !important;
524
- }
525
- .tile[data-blocked=true] {
526
- animation: none;
527
- }
528
- }
529
- :host(:focus-visible) {
530
- outline: 2px solid var(--bs-primary, #0d6efd);
531
- outline-offset: 2px;
532
- }
533
-
534
- .tile:focus-visible {
535
- outline: 2px solid var(--bs-primary, #0d6efd);
536
- outline-offset: -2px;
537
- }`);
538
-
539
- const TILE_INSTRUCTIONS = 'Press M to enter move mode. In move mode, arrow keys move the tile, Shift with arrow keys resize it, Enter commits, Escape cancels.';
540
- let tileManagerInstanceCounter = 0;
541
- const TOUCH_LONG_PRESS_MS = 600;
542
- const TOUCH_LONG_PRESS_SLOP_PX = 10;
543
- const TOUCH_PRESS_FEEDBACK_DELAY_MS = 150;
544
- const POINTER_DRAG_THRESHOLD_PX = 5;
545
- class MintTileManagerElement extends LitElement {
546
- constructor() {
547
- super(...arguments);
548
- this.tiles = [];
549
- this.columnCount = null;
550
- this.minColumnWidth = '200px';
551
- this.minRowHeight = '8rem';
552
- this.gap = '0.5rem';
553
- this.dragMode = 'header';
554
- this.resizeMode = 'hover';
555
- this.animateReflow = true;
556
- this.label = null;
557
- this.gestureState = { kind: 'idle' };
558
- this.keyboardState = { kind: 'idle' };
559
- // State-tracked redraw triggers (Lit re-renders when these change).
560
- this.previewLayout = null;
561
- this.gestureKind = 'idle';
562
- this.blocked = false;
563
- this.effectiveColumnCount = 1;
564
- this.focusedTileId = null;
565
- this.liveAnnouncer = new LiveAnnouncerController(this);
566
- this.instanceId = `mp-tile-manager-${++tileManagerInstanceCounter}`;
567
- this.hostResizeObserver = null;
568
- this.flipPreviousRects = new Map();
569
- // Cached layout metrics. Refreshed lazily in updated()/firstUpdated() and on
570
- // ResizeObserver ticks — never from render(), so the per-tile pointer-move
571
- // path stays free of getComputedStyle / getBoundingClientRect calls.
572
- this.cellMetrics = { width: 0, height: 0, gapX: 0, gapY: 0 };
573
- // Bound handlers — created once so add/remove pair correctly.
574
- this.onWindowPointerMove = (e) => this.handlePointerMove(e);
575
- this.onWindowPointerUp = (e) => this.handlePointerUp(e);
576
- this.onWindowPointerCancel = (e) => this.handlePointerCancel(e);
577
- this.onWindowKeyDown = (e) => this.handleEscapeKey(e);
578
- this.onVisibilityChange = () => {
579
- if (document.visibilityState === 'hidden')
580
- this.cancelGesture();
581
- };
582
- // ---------------- Pointer entry points ----------------
583
- this.lastPointerPosition = null;
584
- }
585
- static { this.styles = [styles]; }
586
- static get observedAttributes() {
587
- return [
588
- ...(super.observedAttributes ?? []),
589
- 'column-count',
590
- 'min-column-width',
591
- 'min-row-height',
592
- 'gap',
593
- 'drag-mode',
594
- 'resize-mode',
595
- 'animate-reflow',
596
- 'label',
597
- ];
598
- }
599
- static { this.properties = {
600
- tiles: { attribute: false },
601
- columnCount: { attribute: 'column-count', type: Number },
602
- minColumnWidth: { attribute: 'min-column-width', type: String },
603
- minRowHeight: { attribute: 'min-row-height', type: String },
604
- gap: { attribute: 'gap', type: String },
605
- dragMode: { attribute: 'drag-mode', type: String, reflect: true },
606
- resizeMode: { attribute: 'resize-mode', type: String, reflect: true },
607
- animateReflow: { attribute: 'animate-reflow', type: Boolean },
608
- label: { attribute: 'label', type: String },
609
- previewLayout: { state: true },
610
- gestureKind: { state: true },
611
- blocked: { state: true },
612
- effectiveColumnCount: { state: true },
613
- keyboardMode: { state: true },
614
- focusedTileId: { state: true },
615
- }; }
616
- get instructionsId() {
617
- return `${this.instanceId}-instructions`;
618
- }
619
- render() {
620
- const layoutSource = this.previewLayout ?? this.tiles.map((t) => ({ id: t.id, position: t.position }));
621
- const tileById = new Map(this.tiles.map((t) => [t.id, t]));
622
- const gridStyle = this.computeGridStyle();
623
- // role="region" + button-per-tile (PRD §10 Q1): a tile board's dimensions
624
- // change under user reflow, so the static grid contract (rowindex/colindex)
625
- // is a poor fit. Tiles are activatable buttons whose move/resize is
626
- // discoverable through aria-describedby's instructions string.
627
- return html `
628
- <div
629
- class="tile-grid"
630
- role="region"
631
- aria-label=${this.label ?? 'Tile board'}
632
- aria-describedby=${this.instructionsId}
633
- style=${gridStyle}
634
- >
635
- ${layoutSource.map((entry) => {
636
- const tile = tileById.get(entry.id);
637
- if (!tile)
638
- return nothing;
639
- return this.renderTile(tile, entry.position);
640
- })}
641
- </div>
642
- <div id=${this.instructionsId} class="tile-grid__sr-only">${TILE_INSTRUCTIONS}</div>
643
- ${this.liveAnnouncer.template()}
644
- `;
645
- }
646
- renderTile(tile, pos) {
647
- const isDragging = this.gestureKind === 'drag' && this.activeTileId() === tile.id;
648
- const isResizing = this.gestureKind === 'resize' && this.activeTileId() === tile.id;
649
- const isBlocked = (isDragging || isResizing) && this.blocked;
650
- const isPressing = this.gestureKind === 'arming-touch-drag' && this.activeTileId() === tile.id;
651
- const transform = this.computeActiveTransform(tile.id);
652
- // Inline width/height during a pointer-resize gesture so the tile pixel
653
- // size can ride a CSS transition between span states. The grid still
654
- // allocates the new span area instantly; the active tile's visible size
655
- // lags 150ms behind. Without this, grid-column/grid-row span changes are
656
- // not animatable in CSS and the tile snaps. Reduced-motion is gated by
657
- // the global `@media (prefers-reduced-motion: reduce)` rule in SCSS.
658
- const cell = this.cellMetrics;
659
- const inlineSize = isResizing && cell.width > 0
660
- ? {
661
- width: pos.colSpan * cell.width + (pos.colSpan - 1) * cell.gapX,
662
- height: pos.rowSpan * cell.height + (pos.rowSpan - 1) * cell.gapY,
663
- }
664
- : null;
665
- const style = [
666
- `grid-column: ${pos.colStart} / span ${pos.colSpan}`,
667
- `grid-row: ${pos.rowStart} / span ${pos.rowSpan}`,
668
- transform ? `transform: ${transform}` : '',
669
- inlineSize ? `width: ${inlineSize.width}px` : '',
670
- inlineSize ? `height: ${inlineSize.height}px` : '',
671
- ]
672
- .filter(Boolean)
673
- .join('; ');
674
- const isFocusableStop = this.resolveFocusableTileId() === tile.id;
675
- return html `
676
- <div
677
- class="tile"
678
- role="button"
679
- tabindex=${isFocusableStop ? '0' : '-1'}
680
- data-tile-id=${tile.id}
681
- data-dragging=${isDragging ? 'true' : 'false'}
682
- data-resizing=${isResizing ? 'true' : 'false'}
683
- data-blocked=${isBlocked ? 'true' : 'false'}
684
- data-pressing=${isPressing ? 'true' : 'false'}
685
- data-drag-mode=${this.dragMode}
686
- data-locked-move=${tile.disableMove ? 'true' : 'false'}
687
- data-locked-resize=${tile.disableResize ? 'true' : 'false'}
688
- aria-label=${tile.label ?? nothing}
689
- style=${style}
690
- @pointerdown=${(e) => this.onTilePointerDown(e, tile)}
691
- @keydown=${(e) => this.onTileKeyDown(e, tile)}
692
- @focus=${() => this.onTileFocus(tile)}
693
- >
694
- <div class="tile__header-shell">
695
- <slot name=${`${tile.id}-header`}></slot>
696
- </div>
697
- <div class="tile__content-shell">
698
- <slot name=${`${tile.id}-content`}></slot>
699
- </div>
700
- ${tile.disableResize || this.resizeMode === 'off'
701
- ? nothing
702
- : html `
703
- <div class="tile__resize-side" data-resize="side"
704
- @pointerdown=${(e) => this.onResizeHandlePointerDown(e, tile, 'side')}></div>
705
- <div class="tile__resize-bottom" data-resize="bottom"
706
- @pointerdown=${(e) => this.onResizeHandlePointerDown(e, tile, 'bottom')}></div>
707
- <div class="tile__resize-corner" data-resize="corner"
708
- @pointerdown=${(e) => this.onResizeHandlePointerDown(e, tile, 'corner')}></div>
709
- `}
710
- </div>
711
- `;
712
- }
713
- computeGridStyle() {
714
- const tracks = this.columnCount && this.columnCount > 0
715
- ? `repeat(${this.columnCount}, minmax(0, 1fr))`
716
- : `repeat(auto-fit, minmax(${this.minColumnWidth}, 1fr))`;
717
- return [
718
- `grid-template-columns: ${tracks}`,
719
- `--mp-tile-row-height: ${this.minRowHeight}`,
720
- `--mp-tile-gap: ${this.gap}`,
721
- ].join('; ');
722
- }
723
- /**
724
- * Refresh the cached layout metrics by reading layout / computed-style state
725
- * once. Called from firstUpdated, the ResizeObserver tick, and updated()
726
- * when an input that affects metrics changes — never from render().
727
- */
728
- updateLayoutCache() {
729
- const grid = this.shadowRoot?.querySelector('.tile-grid');
730
- if (!grid) {
731
- this.effectiveColumnCount =
732
- this.columnCount && this.columnCount > 0 ? this.columnCount : 1;
733
- return;
734
- }
735
- const cs = getComputedStyle(grid);
736
- if (this.columnCount && this.columnCount > 0) {
737
- this.effectiveColumnCount = this.columnCount;
738
- }
739
- else {
740
- const tracks = cs.gridTemplateColumns.split(/\s+/).filter(Boolean);
741
- this.effectiveColumnCount = Math.max(1, tracks.length);
742
- }
743
- const rect = grid.getBoundingClientRect();
744
- const cols = this.effectiveColumnCount;
745
- const gapX = parseFloat(cs.columnGap) || 0;
746
- const gapY = parseFloat(cs.rowGap) || 0;
747
- const width = (rect.width - (cols - 1) * gapX) / cols;
748
- const height = parseFloat(cs.gridAutoRows) || rect.width / cols;
749
- this.cellMetrics = { width, height, gapX, gapY };
750
- }
751
- computeActiveTransform(id) {
752
- const g = this.gestureState;
753
- if (g.kind !== 'drag' || g.tileId !== id)
754
- return null;
755
- const pointer = this.lastPointerPosition;
756
- if (!pointer)
757
- return null;
758
- const grid = this.shadowRoot?.querySelector('.tile-grid');
759
- if (!grid)
760
- return null;
761
- // Cached cellMetrics is stale by at most one frame after a resize — fine
762
- // for the visual translate. gridRect read here is unavoidable: we need
763
- // the live grid origin to convert pointer (viewport coords) into
764
- // grid-relative space. One read per render, not one per tile.
765
- const gridRect = grid.getBoundingClientRect();
766
- const cell = this.cellMetrics;
767
- const snapped = g.currentRect;
768
- const desiredLeft = pointer.x - gridRect.left - g.pointerOffset.dx;
769
- const desiredTop = pointer.y - gridRect.top - g.pointerOffset.dy;
770
- const snappedLeft = (snapped.colStart - 1) * (cell.width + cell.gapX);
771
- const snappedTop = (snapped.rowStart - 1) * (cell.height + cell.gapY);
772
- return `translate(${Math.round(desiredLeft - snappedLeft)}px, ${Math.round(desiredTop - snappedTop)}px)`;
773
- }
774
- // ---------------- Lifecycle ----------------
775
- connectedCallback() {
776
- super.connectedCallback();
777
- document.addEventListener('visibilitychange', this.onVisibilityChange);
778
- }
779
- disconnectedCallback() {
780
- this.cancelGesture();
781
- this.detachWindowListeners();
782
- document.removeEventListener('visibilitychange', this.onVisibilityChange);
783
- this.hostResizeObserver?.disconnect();
784
- this.hostResizeObserver = null;
785
- super.disconnectedCallback();
786
- }
787
- firstUpdated() {
788
- // Seed the layout cache once the shadow DOM is in place. Subsequent
789
- // refreshes happen on host resize and on relevant property changes.
790
- this.updateLayoutCache();
791
- let scheduled = false;
792
- this.hostResizeObserver = new ResizeObserver(() => {
793
- if (scheduled)
794
- return;
795
- scheduled = true;
796
- // Defer to the next frame so we never write reactive state from inside
797
- // the observer's callback — that path produces "ResizeObserver loop
798
- // completed with undelivered notifications" warnings.
799
- requestAnimationFrame(() => {
800
- scheduled = false;
801
- this.updateLayoutCache();
802
- });
803
- });
804
- this.hostResizeObserver.observe(this);
805
- }
806
- attributeChangedCallback(name, oldValue, newValue) {
807
- super.attributeChangedCallback(name, oldValue, newValue);
808
- if (name === 'animate-reflow') {
809
- this.animateReflow = !(newValue === null || newValue === 'false' || newValue === '0');
810
- }
811
- }
812
- // ---------------- FLIP animator ----------------
813
- willUpdate(_changed) {
814
- if (!this.shouldAnimate()) {
815
- this.flipPreviousRects.clear();
816
- return;
817
- }
818
- const grid = this.shadowRoot?.querySelector('.tile-grid');
819
- if (!grid)
820
- return;
821
- this.flipPreviousRects.clear();
822
- grid.querySelectorAll('.tile').forEach((el) => {
823
- const id = el.dataset['tileId'];
824
- if (id)
825
- this.flipPreviousRects.set(id, el.getBoundingClientRect());
826
- });
827
- }
828
- updated(changed) {
829
- // Refresh cached layout metrics when an input that determines them changes.
830
- // Reading layout in updated() is safe — the new style is already applied.
831
- if (changed.has('columnCount') ||
832
- changed.has('minColumnWidth') ||
833
- changed.has('minRowHeight') ||
834
- changed.has('gap')) {
835
- this.updateLayoutCache();
836
- }
837
- if (!this.shouldAnimate() || this.flipPreviousRects.size === 0)
838
- return;
839
- const grid = this.shadowRoot?.querySelector('.tile-grid');
840
- if (!grid)
841
- return;
842
- const activeId = this.activeTileId();
843
- grid.querySelectorAll('.tile').forEach((el) => {
844
- const id = el.dataset['tileId'];
845
- if (!id || id === activeId)
846
- return;
847
- const prev = this.flipPreviousRects.get(id);
848
- if (!prev)
849
- return;
850
- const next = el.getBoundingClientRect();
851
- const dx = prev.left - next.left;
852
- const dy = prev.top - next.top;
853
- if (Math.abs(dx) < 0.5 && Math.abs(dy) < 0.5)
854
- return;
855
- // Invert: jump back to old position with no transition…
856
- const previous = el.style.transition;
857
- el.style.transition = 'none';
858
- el.style.transform = `translate(${dx}px, ${dy}px)`;
859
- // …then play forward on the next frame, restoring the transition.
860
- requestAnimationFrame(() => {
861
- el.style.transition = previous;
862
- el.style.transform = '';
863
- });
864
- });
865
- this.flipPreviousRects.clear();
866
- }
867
- shouldAnimate() {
868
- if (!this.animateReflow)
869
- return false;
870
- if (typeof window === 'undefined' || typeof window.matchMedia !== 'function')
871
- return false;
872
- return !window.matchMedia('(prefers-reduced-motion: reduce)').matches;
873
- }
874
- onTilePointerDown(event, tile) {
875
- if (event.button !== 0 && event.pointerType === 'mouse')
876
- return;
877
- if (this.gestureState.kind !== 'idle')
878
- return;
879
- if (this.dragMode === 'off' || tile.disableMove)
880
- return;
881
- // Resize handles consume their own pointerdown via stopPropagation; if we
882
- // got here it's a drag-surface candidate.
883
- if (this.dragMode === 'header' || event.pointerType === 'touch') {
884
- // Header-only: only proceed if the click originated inside the header
885
- // shell. The slotted (light-DOM) target won't find shadow-DOM ancestors
886
- // via closest(), so walk the composed path instead.
887
- const inHeader = event
888
- .composedPath()
889
- .some((node) => node instanceof HTMLElement && node.classList?.contains('tile__header-shell'));
890
- if (!inHeader)
891
- return;
892
- }
893
- if (event.pointerType === 'touch') {
894
- this.armTouchDrag(event, tile);
895
- }
896
- else {
897
- this.armPointerDrag(event, tile);
898
- }
899
- }
900
- onResizeHandlePointerDown(event, tile, mode) {
901
- if (event.button !== 0 && event.pointerType === 'mouse')
902
- return;
903
- if (tile.disableResize || this.resizeMode === 'off')
904
- return;
905
- if (this.gestureState.kind !== 'idle')
906
- return;
907
- event.stopPropagation();
908
- event.preventDefault();
909
- this.beginResize(event, tile, mode);
910
- }
911
- // ---------------- Drag arming ----------------
912
- armPointerDrag(event, tile) {
913
- // Mouse / pen: arm immediately past the 5 px threshold. We track the
914
- // pointer ourselves and convert to a real drag when distance exceeds
915
- // POINTER_DRAG_THRESHOLD_PX.
916
- const startX = event.clientX;
917
- const startY = event.clientY;
918
- const onMove = (e) => {
919
- if (e.pointerId !== event.pointerId)
920
- return;
921
- const dx = e.clientX - startX;
922
- const dy = e.clientY - startY;
923
- if (Math.hypot(dx, dy) >= POINTER_DRAG_THRESHOLD_PX) {
924
- window.removeEventListener('pointermove', onMove);
925
- window.removeEventListener('pointerup', onCancel);
926
- window.removeEventListener('pointercancel', onCancel);
927
- this.beginDrag(e, tile);
928
- }
929
- };
930
- const onCancel = (e) => {
931
- if (e.pointerId !== event.pointerId)
932
- return;
933
- window.removeEventListener('pointermove', onMove);
934
- window.removeEventListener('pointerup', onCancel);
935
- window.removeEventListener('pointercancel', onCancel);
936
- };
937
- window.addEventListener('pointermove', onMove);
938
- window.addEventListener('pointerup', onCancel);
939
- window.addEventListener('pointercancel', onCancel);
940
- }
941
- armTouchDrag(event, tile) {
942
- const startX = event.clientX;
943
- const startY = event.clientY;
944
- const pointerId = event.pointerId;
945
- const pressingTimer = window.setTimeout(() => {
946
- // Visual feedback only — gesture not yet armed.
947
- if (this.gestureState.kind === 'arming-touch-drag' && this.gestureState.pointerId === pointerId) {
948
- // Force a re-render to flip data-pressing.
949
- this.requestUpdate();
950
- }
951
- }, TOUCH_PRESS_FEEDBACK_DELAY_MS);
952
- const armTimer = window.setTimeout(() => {
953
- if (this.gestureState.kind !== 'arming-touch-drag' || this.gestureState.pointerId !== pointerId)
954
- return;
955
- this.cleanupTouchArming();
956
- try {
957
- navigator.vibrate?.(10);
958
- }
959
- catch {
960
- // Silently ignore; vibrate isn't available everywhere.
961
- }
962
- this.beginDragFromTouchArm(tile, startX, startY, pointerId);
963
- }, TOUCH_LONG_PRESS_MS);
964
- this.gestureState = {
965
- kind: 'arming-touch-drag',
966
- pointerId,
967
- tileId: tile.id,
968
- startX,
969
- startY,
970
- timer: armTimer,
971
- pressingTimer,
972
- };
973
- this.gestureKind = 'arming-touch-drag';
974
- const onMove = (e) => {
975
- if (e.pointerId !== pointerId)
976
- return;
977
- if (this.gestureState.kind !== 'arming-touch-drag')
978
- return;
979
- const dx = e.clientX - startX;
980
- const dy = e.clientY - startY;
981
- if (Math.hypot(dx, dy) > TOUCH_LONG_PRESS_SLOP_PX) {
982
- this.cleanupTouchArming();
983
- window.removeEventListener('pointermove', onMove);
984
- window.removeEventListener('pointerup', onCancel);
985
- window.removeEventListener('pointercancel', onCancel);
986
- }
987
- };
988
- const onCancel = (e) => {
989
- if (e.pointerId !== pointerId)
990
- return;
991
- if (this.gestureState.kind === 'arming-touch-drag') {
992
- this.cleanupTouchArming();
993
- }
994
- window.removeEventListener('pointermove', onMove);
995
- window.removeEventListener('pointerup', onCancel);
996
- window.removeEventListener('pointercancel', onCancel);
997
- };
998
- window.addEventListener('pointermove', onMove);
999
- window.addEventListener('pointerup', onCancel);
1000
- window.addEventListener('pointercancel', onCancel);
1001
- }
1002
- cleanupTouchArming() {
1003
- if (this.gestureState.kind !== 'arming-touch-drag')
1004
- return;
1005
- const { timer, pressingTimer } = this.gestureState;
1006
- if (timer !== null)
1007
- window.clearTimeout(timer);
1008
- if (pressingTimer !== null)
1009
- window.clearTimeout(pressingTimer);
1010
- this.gestureState = { kind: 'idle' };
1011
- this.gestureKind = 'idle';
1012
- this.requestUpdate();
1013
- }
1014
- beginDragFromTouchArm(tile, startX, startY, pointerId) {
1015
- // Synthesize the same begin call as for mouse, with a fake pointer event.
1016
- // Refresh the layout cache once at gesture start — guarantees fresh metrics
1017
- // even if the grid has resized since the last cache tick.
1018
- this.updateLayoutCache();
1019
- const grid = this.shadowRoot?.querySelector('.tile-grid');
1020
- if (!grid)
1021
- return;
1022
- const cell = this.cellMetrics;
1023
- const gridRect = grid.getBoundingClientRect();
1024
- const tileLeft = gridRect.left + (tile.position.colStart - 1) * (cell.width + cell.gapX);
1025
- const tileTop = gridRect.top + (tile.position.rowStart - 1) * (cell.height + cell.gapY);
1026
- this.gestureState = {
1027
- kind: 'drag',
1028
- pointerId,
1029
- tileId: tile.id,
1030
- pointerOffset: { dx: startX - tileLeft, dy: startY - tileTop },
1031
- currentRect: { ...tile.position },
1032
- blocked: false,
1033
- };
1034
- this.gestureKind = 'drag';
1035
- this.lastPointerPosition = { x: startX, y: startY };
1036
- this.attachWindowListeners();
1037
- this.announceDragBegin(tile);
1038
- this.requestUpdate();
1039
- }
1040
- beginDrag(event, tile) {
1041
- this.updateLayoutCache();
1042
- const grid = this.shadowRoot?.querySelector('.tile-grid');
1043
- if (!grid)
1044
- return;
1045
- const cell = this.cellMetrics;
1046
- const gridRect = grid.getBoundingClientRect();
1047
- const tileLeft = gridRect.left + (tile.position.colStart - 1) * (cell.width + cell.gapX);
1048
- const tileTop = gridRect.top + (tile.position.rowStart - 1) * (cell.height + cell.gapY);
1049
- this.gestureState = {
1050
- kind: 'drag',
1051
- pointerId: event.pointerId,
1052
- tileId: tile.id,
1053
- pointerOffset: { dx: event.clientX - tileLeft, dy: event.clientY - tileTop },
1054
- currentRect: { ...tile.position },
1055
- blocked: false,
1056
- };
1057
- this.gestureKind = 'drag';
1058
- this.lastPointerPosition = { x: event.clientX, y: event.clientY };
1059
- this.attachWindowListeners();
1060
- this.announceDragBegin(tile);
1061
- this.runPackerForCurrentGesture();
1062
- }
1063
- beginResize(event, tile, mode) {
1064
- this.gestureState = {
1065
- kind: 'resize',
1066
- pointerId: event.pointerId,
1067
- tileId: tile.id,
1068
- mode,
1069
- startPointer: { x: event.clientX, y: event.clientY },
1070
- startSpans: { colSpan: tile.position.colSpan, rowSpan: tile.position.rowSpan },
1071
- currentRect: { ...tile.position },
1072
- blocked: false,
1073
- };
1074
- this.gestureKind = 'resize';
1075
- this.lastPointerPosition = { x: event.clientX, y: event.clientY };
1076
- this.attachWindowListeners();
1077
- this.announceResizeBegin(tile);
1078
- this.runPackerForCurrentGesture();
1079
- }
1080
- announceDragBegin(tile) {
1081
- const label = tile.label ?? `tile at row ${tile.position.rowStart}, column ${tile.position.colStart}`;
1082
- this.liveAnnouncer.announce(`Dragging ${label}.`);
1083
- }
1084
- announceResizeBegin(tile) {
1085
- const label = tile.label ?? `tile at row ${tile.position.rowStart}, column ${tile.position.colStart}`;
1086
- this.liveAnnouncer.announce(`Resizing ${label}.`);
1087
- }
1088
- attachWindowListeners() {
1089
- window.addEventListener('pointermove', this.onWindowPointerMove);
1090
- window.addEventListener('pointerup', this.onWindowPointerUp);
1091
- window.addEventListener('pointercancel', this.onWindowPointerCancel);
1092
- window.addEventListener('keydown', this.onWindowKeyDown);
1093
- }
1094
- detachWindowListeners() {
1095
- window.removeEventListener('pointermove', this.onWindowPointerMove);
1096
- window.removeEventListener('pointerup', this.onWindowPointerUp);
1097
- window.removeEventListener('pointercancel', this.onWindowPointerCancel);
1098
- window.removeEventListener('keydown', this.onWindowKeyDown);
1099
- }
1100
- handleEscapeKey(e) {
1101
- if (e.key === 'Escape' && this.gestureState.kind !== 'idle') {
1102
- e.preventDefault();
1103
- this.cancelGesture();
1104
- }
1105
- }
1106
- // ---------------- Pointer move / up / cancel ----------------
1107
- handlePointerMove(event) {
1108
- const g = this.gestureState;
1109
- if (g.kind === 'idle' || g.kind === 'arming-touch-drag')
1110
- return;
1111
- if (event.pointerId !== g.pointerId)
1112
- return;
1113
- this.lastPointerPosition = { x: event.clientX, y: event.clientY };
1114
- this.runPackerForCurrentGesture();
1115
- }
1116
- handlePointerUp(event) {
1117
- const g = this.gestureState;
1118
- if (g.kind === 'idle' || g.kind === 'arming-touch-drag')
1119
- return;
1120
- if (event.pointerId !== g.pointerId)
1121
- return;
1122
- if (g.blocked) {
1123
- this.cancelGesture('blocked');
1124
- return;
1125
- }
1126
- this.commitGesture();
1127
- }
1128
- handlePointerCancel(event) {
1129
- const g = this.gestureState;
1130
- if (g.kind === 'idle')
1131
- return;
1132
- if (g.kind !== 'arming-touch-drag' && event.pointerId !== g.pointerId)
1133
- return;
1134
- this.cancelGesture();
1135
- }
1136
- // ---------------- Packer integration ----------------
1137
- runPackerForCurrentGesture() {
1138
- const g = this.gestureState;
1139
- if (g.kind !== 'drag' && g.kind !== 'resize')
1140
- return;
1141
- const tile = this.tiles.find((t) => t.id === g.tileId);
1142
- if (!tile) {
1143
- this.cancelGesture();
1144
- return;
1145
- }
1146
- const rect = g.kind === 'drag' ? this.computeDragRect(g, tile) : this.computeResizeRect(g, tile);
1147
- if (!rect)
1148
- return;
1149
- g.currentRect = rect;
1150
- const cols = this.effectiveColumnCount;
1151
- const result = pack(this.tiles.map((t) => ({ id: t.id, position: t.position, locked: t.disableMove })), { id: tile.id, rect }, cols);
1152
- this.previewLayout = result.layout;
1153
- const wasBlocked = g.blocked;
1154
- g.blocked = result.blocked;
1155
- if (result.blocked && !wasBlocked) {
1156
- this.liveAnnouncer.announce('Move blocked by a locked tile.');
1157
- }
1158
- this.blocked = result.blocked;
1159
- this.requestUpdate();
1160
- }
1161
- computeDragRect(g, tile) {
1162
- const grid = this.shadowRoot?.querySelector('.tile-grid');
1163
- if (!grid)
1164
- return null;
1165
- const cell = this.cellMetrics;
1166
- const cols = this.effectiveColumnCount;
1167
- const pointer = this.lastPointerPosition;
1168
- if (!pointer)
1169
- return null;
1170
- const gridRect = grid.getBoundingClientRect();
1171
- // Pointer position relative to grid origin, minus the where-on-the-tile offset.
1172
- const localX = pointer.x - gridRect.left - g.pointerOffset.dx;
1173
- const localY = pointer.y - gridRect.top - g.pointerOffset.dy;
1174
- const colStart = Math.round(localX / (cell.width + cell.gapX)) + 1;
1175
- const rowStart = Math.round(localY / (cell.height + cell.gapY)) + 1;
1176
- return {
1177
- colStart: Math.max(1, Math.min(colStart, cols - tile.position.colSpan + 1)),
1178
- rowStart: Math.max(1, rowStart),
1179
- colSpan: tile.position.colSpan,
1180
- rowSpan: tile.position.rowSpan,
1181
- };
1182
- }
1183
- computeResizeRect(g, tile) {
1184
- const cell = this.cellMetrics;
1185
- const cols = this.effectiveColumnCount;
1186
- const pointer = this.lastPointerPosition;
1187
- if (!pointer)
1188
- return null;
1189
- const dx = pointer.x - g.startPointer.x;
1190
- const dy = pointer.y - g.startPointer.y;
1191
- const colDelta = Math.round(dx / (cell.width + cell.gapX));
1192
- const rowDelta = Math.round(dy / (cell.height + cell.gapY));
1193
- const colSpan = g.mode === 'bottom'
1194
- ? g.startSpans.colSpan
1195
- : Math.max(1, Math.min(g.startSpans.colSpan + colDelta, cols - tile.position.colStart + 1));
1196
- const rowSpan = g.mode === 'side' ? g.startSpans.rowSpan : Math.max(1, g.startSpans.rowSpan + rowDelta);
1197
- return {
1198
- colStart: tile.position.colStart,
1199
- rowStart: tile.position.rowStart,
1200
- colSpan,
1201
- rowSpan,
1202
- };
1203
- }
1204
- // ---------------- Commit / cancel ----------------
1205
- commitGesture() {
1206
- const g = this.gestureState;
1207
- if (g.kind !== 'drag' && g.kind !== 'resize')
1208
- return;
1209
- const finalLayout = this.previewLayout;
1210
- if (!finalLayout) {
1211
- this.cleanupGesture();
1212
- return;
1213
- }
1214
- const previousById = new Map(this.tiles.map((t) => [t.id, t.position]));
1215
- const newTiles = this.tiles.map((t) => {
1216
- const placed = finalLayout.find((p) => p.id === t.id);
1217
- return placed ? { ...t, position: placed.position } : t;
1218
- });
1219
- this.tiles = newTiles;
1220
- // Dispatch per-tile change events.
1221
- finalLayout.forEach((entry) => {
1222
- const prev = previousById.get(entry.id);
1223
- if (!prev || !this.positionsEqual(prev, entry.position)) {
1224
- this.dispatchEvent(new CustomEvent('tilepositionchange', {
1225
- detail: { id: entry.id, position: entry.position },
1226
- bubbles: false,
1227
- composed: true,
1228
- }));
1229
- }
1230
- });
1231
- this.dispatchEvent(new CustomEvent('tilelayoutchange', {
1232
- detail: this.cloneSnapshot(finalLayout),
1233
- bubbles: false,
1234
- composed: true,
1235
- }));
1236
- const movedTile = finalLayout.find((p) => p.id === g.tileId);
1237
- if (movedTile) {
1238
- this.liveAnnouncer.announce(g.kind === 'drag'
1239
- ? `Tile moved to row ${movedTile.position.rowStart}, column ${movedTile.position.colStart}`
1240
- : `Tile resized to ${movedTile.position.colSpan} columns by ${movedTile.position.rowSpan} rows`);
1241
- }
1242
- this.cleanupGesture();
1243
- }
1244
- cancelGesture(reason = 'cancel') {
1245
- const g = this.gestureState;
1246
- if (reason === 'blocked' && (g.kind === 'drag' || g.kind === 'resize')) {
1247
- this.dispatchEvent(new CustomEvent('tilegestureblocked', {
1248
- detail: { id: g.tileId, reason: 'locked-overlap' },
1249
- bubbles: false,
1250
- composed: true,
1251
- }));
1252
- }
1253
- this.cleanupGesture();
1254
- }
1255
- cleanupGesture() {
1256
- if (this.gestureState.kind === 'arming-touch-drag')
1257
- this.cleanupTouchArming();
1258
- this.detachWindowListeners();
1259
- this.gestureState = { kind: 'idle' };
1260
- this.gestureKind = 'idle';
1261
- this.previewLayout = null;
1262
- this.blocked = false;
1263
- this.lastPointerPosition = null;
1264
- this.requestUpdate();
1265
- }
1266
- positionsEqual(a, b) {
1267
- return (a.colStart === b.colStart &&
1268
- a.rowStart === b.rowStart &&
1269
- a.colSpan === b.colSpan &&
1270
- a.rowSpan === b.rowSpan);
1271
- }
1272
- cloneSnapshot(s) {
1273
- return s.map((p) => ({ id: p.id, position: { ...p.position } }));
1274
- }
1275
- activeTileId() {
1276
- const g = this.gestureState;
1277
- if (g.kind === 'drag' || g.kind === 'resize' || g.kind === 'arming-touch-drag')
1278
- return g.tileId;
1279
- return null;
1280
- }
1281
- // ---------------- Public API ----------------
1282
- /** Read-only snapshot of the current layout. Mirrors `BsDockManagerComponent.captureLayout()`. */
1283
- captureLayout() {
1284
- return this.tiles.map((t) => ({ id: t.id, position: { ...t.position } }));
1285
- }
1286
- /**
1287
- * True while a drag or resize is in flight. The Angular wrapper uses this to
1288
- * avoid clobbering `tiles` mid-gesture. Touch long-press arming does NOT
1289
- * count — the WC isn't yet owning the layout during the hold.
1290
- */
1291
- get isGestureActive() {
1292
- return this.gestureState.kind === 'drag' || this.gestureState.kind === 'resize';
1293
- }
1294
- // ---------------- Keyboard ----------------
1295
- onTileKeyDown(event, tile) {
1296
- const km = this.keyboardState;
1297
- if (km.kind === 'idle') {
1298
- // Outside move mode: arrow keys traverse focus between tiles, Home/End
1299
- // jump to first/last, M enters move mode if the tile allows it.
1300
- if (event.key === 'm' || event.key === 'M') {
1301
- if (tile.disableMove && tile.disableResize)
1302
- return;
1303
- event.preventDefault();
1304
- this.keyboardState = { kind: 'move', tileId: tile.id };
1305
- this.liveAnnouncer.announce('Move mode enabled. Use arrow keys to move, Shift with arrow keys to resize, Enter to commit, Escape to cancel.');
1306
- return;
1307
- }
1308
- if (this.handleFocusNavigation(event, tile))
1309
- return;
1310
- return;
1311
- }
1312
- if (km.tileId !== tile.id)
1313
- return;
1314
- if (event.key === 'Escape' || event.key === 'Enter') {
1315
- event.preventDefault();
1316
- this.keyboardState = { kind: 'idle' };
1317
- this.liveAnnouncer.announce(event.key === 'Enter' ? 'Move committed.' : 'Move cancelled.');
1318
- return;
1319
- }
1320
- if (event.key.startsWith('Arrow')) {
1321
- event.preventDefault();
1322
- const isResize = event.shiftKey;
1323
- this.applyKeyboardStep(tile, event.key, isResize);
1324
- }
1325
- }
1326
- /**
1327
- * Outside move mode, arrow keys move *focus* between tiles (row-major
1328
- * order — top-to-bottom, left-to-right by gridcell position). Home/End
1329
- * jump to first/last enabled tile. Returns true if the event was handled.
1330
- */
1331
- handleFocusNavigation(event, current) {
1332
- const navKey = event.key === 'ArrowUp' || event.key === 'ArrowDown' ||
1333
- event.key === 'ArrowLeft' || event.key === 'ArrowRight' ||
1334
- event.key === 'Home' || event.key === 'End';
1335
- if (!navKey)
1336
- return false;
1337
- if (this.tiles.length <= 1)
1338
- return false;
1339
- const ordered = [...this.tiles].sort((a, b) => {
1340
- if (a.position.rowStart !== b.position.rowStart)
1341
- return a.position.rowStart - b.position.rowStart;
1342
- return a.position.colStart - b.position.colStart;
1343
- });
1344
- const idx = ordered.findIndex((t) => t.id === current.id);
1345
- if (idx < 0)
1346
- return false;
1347
- let nextIdx = idx;
1348
- if (event.key === 'Home')
1349
- nextIdx = 0;
1350
- else if (event.key === 'End')
1351
- nextIdx = ordered.length - 1;
1352
- else if (event.key === 'ArrowRight' || event.key === 'ArrowDown')
1353
- nextIdx = (idx + 1) % ordered.length;
1354
- else
1355
- nextIdx = (idx - 1 + ordered.length) % ordered.length;
1356
- if (nextIdx === idx)
1357
- return true;
1358
- event.preventDefault();
1359
- const target = ordered[nextIdx];
1360
- this.focusedTileId = target.id;
1361
- this.requestUpdate();
1362
- queueMicrotask(() => {
1363
- const el = this.shadowRoot?.querySelector(`.tile[data-tile-id="${target.id}"]`);
1364
- el?.focus();
1365
- });
1366
- return true;
1367
- }
1368
- onTileFocus(tile) {
1369
- if (this.focusedTileId !== tile.id) {
1370
- this.focusedTileId = tile.id;
1371
- this.requestUpdate();
1372
- }
1373
- }
1374
- /**
1375
- * The single tile that should carry `tabindex="0"` to act as the board's
1376
- * tab stop. Defaults to the previously-focused tile, then the first tile in
1377
- * row-major order. All other tiles render with `tabindex="-1"` so Tab from
1378
- * outside the board lands on exactly one tile.
1379
- */
1380
- resolveFocusableTileId() {
1381
- if (this.tiles.length === 0)
1382
- return null;
1383
- if (this.focusedTileId && this.tiles.some((t) => t.id === this.focusedTileId)) {
1384
- return this.focusedTileId;
1385
- }
1386
- const ordered = [...this.tiles].sort((a, b) => {
1387
- if (a.position.rowStart !== b.position.rowStart)
1388
- return a.position.rowStart - b.position.rowStart;
1389
- return a.position.colStart - b.position.colStart;
1390
- });
1391
- return ordered[0]?.id ?? null;
1392
- }
1393
- applyKeyboardStep(tile, key, isResize) {
1394
- const cols = this.effectiveColumnCount;
1395
- const dx = key === 'ArrowLeft' ? -1 : key === 'ArrowRight' ? 1 : 0;
1396
- const dy = key === 'ArrowUp' ? -1 : key === 'ArrowDown' ? 1 : 0;
1397
- const newRect = isResize
1398
- ? {
1399
- colStart: tile.position.colStart,
1400
- rowStart: tile.position.rowStart,
1401
- colSpan: Math.max(1, Math.min(tile.position.colSpan + dx, cols - tile.position.colStart + 1)),
1402
- rowSpan: Math.max(1, tile.position.rowSpan + dy),
1403
- }
1404
- : {
1405
- colStart: Math.max(1, Math.min(tile.position.colStart + dx, cols - tile.position.colSpan + 1)),
1406
- rowStart: Math.max(1, tile.position.rowStart + dy),
1407
- colSpan: tile.position.colSpan,
1408
- rowSpan: tile.position.rowSpan,
1409
- };
1410
- const result = pack(this.tiles.map((t) => ({ id: t.id, position: t.position, locked: t.disableMove })), { id: tile.id, rect: newRect }, cols);
1411
- if (result.blocked) {
1412
- this.liveAnnouncer.announce('Move blocked.');
1413
- return;
1414
- }
1415
- const newTiles = this.tiles.map((t) => {
1416
- const placed = result.layout.find((p) => p.id === t.id);
1417
- return placed ? { ...t, position: placed.position } : t;
1418
- });
1419
- this.tiles = newTiles;
1420
- this.dispatchEvent(new CustomEvent('tilelayoutchange', {
1421
- detail: this.cloneSnapshot(result.layout),
1422
- bubbles: false,
1423
- composed: true,
1424
- }));
1425
- result.layout.forEach((entry) => {
1426
- this.dispatchEvent(new CustomEvent('tilepositionchange', {
1427
- detail: { id: entry.id, position: entry.position },
1428
- bubbles: false,
1429
- composed: true,
1430
- }));
1431
- });
1432
- this.liveAnnouncer.announce(isResize
1433
- ? `Tile resized to ${newRect.colSpan} columns by ${newRect.rowSpan} rows`
1434
- : `Tile moved to row ${newRect.rowStart}, column ${newRect.colStart}`);
1435
- }
1436
- }
1437
- if (typeof customElements !== 'undefined' && !customElements.get('mp-tile-manager')) {
1438
- customElements.define('mp-tile-manager', MintTileManagerElement);
1439
- }
1440
-
1441
- /**
1442
- * Generated bundle index. Do not edit.
1443
- */
1444
-
1445
- export { BsTileComponent, BsTileHeaderComponent, BsTileManagerComponent, MintTileManagerElement, rectsOverlap };
1446
- //# sourceMappingURL=mintplayer-ng-bootstrap-tile-manager.mjs.map