@mintplayer/ng-bootstrap 16.0.1 → 16.0.2

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 (341) hide show
  1. package/calendar/src/calendar.component.d.ts +2 -4
  2. package/dock/src/dock/dock.component.d.ts +1 -2
  3. package/dropdown/src/dropdown-menu/dropdown-menu.directive.d.ts +0 -1
  4. package/esm2022/accordion/src/accordion/accordion.component.mjs +3 -3
  5. package/esm2022/accordion/src/accordion-tab/accordion-tab.component.mjs +3 -3
  6. package/esm2022/accordion/src/accordion-tab-header/accordion-tab-header.component.mjs +3 -3
  7. package/esm2022/accordion/src/accordion.module.mjs +4 -4
  8. package/esm2022/alert/src/alert/alert.component.mjs +3 -3
  9. package/esm2022/alert/src/alert-close/alert-close.component.mjs +3 -3
  10. package/esm2022/alert/src/alert.module.mjs +4 -4
  11. package/esm2022/badge/src/badge.component.mjs +3 -3
  12. package/esm2022/badge/src/badge.module.mjs +4 -4
  13. package/esm2022/breadcrumb/src/breadcrumb/breadcrumb.component.mjs +3 -3
  14. package/esm2022/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
  15. package/esm2022/breadcrumb/src/breadcrumb.module.mjs +4 -4
  16. package/esm2022/button-group/src/button-group/button-group.component.mjs +3 -3
  17. package/esm2022/button-group/src/button-group.module.mjs +4 -4
  18. package/esm2022/button-type/src/button-type/button-type.directive.mjs +3 -3
  19. package/esm2022/button-type/src/button-type/button-type.module.mjs +4 -4
  20. package/esm2022/calendar/src/calendar.component.mjs +11 -17
  21. package/esm2022/calendar/src/calendar.module.mjs +4 -4
  22. package/esm2022/calendar-month/src/pipes/month-name/month-name.module.mjs +4 -4
  23. package/esm2022/calendar-month/src/pipes/month-name/month-name.pipe.mjs +3 -3
  24. package/esm2022/calendar-month/src/pipes/weekday-name/weekday-name.module.mjs +4 -4
  25. package/esm2022/calendar-month/src/pipes/weekday-name/weekday-name.pipe.mjs +3 -3
  26. package/esm2022/calendar-month/src/service/calendar-month.service.mjs +3 -3
  27. package/esm2022/card/src/card/card.component.mjs +3 -3
  28. package/esm2022/card/src/card-header/card-header.component.mjs +3 -3
  29. package/esm2022/card/src/card.module.mjs +4 -4
  30. package/esm2022/carousel/src/carousel/carousel.component.mjs +3 -3
  31. package/esm2022/carousel/src/carousel-image/carousel-image.directive.mjs +3 -3
  32. package/esm2022/carousel/src/carousel.module.mjs +4 -4
  33. package/esm2022/close/src/close.component.mjs +3 -3
  34. package/esm2022/close/src/close.module.mjs +4 -4
  35. package/esm2022/code-snippet/src/code-snippet.component.mjs +3 -3
  36. package/esm2022/code-snippet/src/code-snippet.module.mjs +4 -4
  37. package/esm2022/context-menu/src/context-menu.directive.mjs +3 -3
  38. package/esm2022/context-menu/src/context-menu.module.mjs +4 -4
  39. package/esm2022/copy/src/copy.directive.mjs +3 -3
  40. package/esm2022/copy/src/copy.module.mjs +4 -4
  41. package/esm2022/datatable/src/datatable/datatable.component.mjs +3 -3
  42. package/esm2022/datatable/src/datatable-column/datatable-column.directive.mjs +3 -3
  43. package/esm2022/datatable/src/datatable.module.mjs +4 -4
  44. package/esm2022/datatable/src/row-template/row-template.directive.mjs +3 -3
  45. package/esm2022/datepicker/src/datepicker.component.mjs +3 -3
  46. package/esm2022/datepicker/src/datepicker.module.mjs +4 -4
  47. package/esm2022/dock/src/dock/dock.component.mjs +8 -13
  48. package/esm2022/dock/src/dock-pane-renderer/dock-pane-renderer.component.mjs +3 -3
  49. package/esm2022/dock/src/dock-panel/dock-panel.component.mjs +3 -3
  50. package/esm2022/dock/src/dock-panel-header/dock-panel-header.component.mjs +3 -3
  51. package/esm2022/dock/src/dock.module.mjs +4 -4
  52. package/esm2022/dock/src/services/dock/dock.service.mjs +3 -3
  53. package/esm2022/dropdown/src/dropdown/dropdown.directive.mjs +3 -3
  54. package/esm2022/dropdown/src/dropdown-menu/dropdown-menu.directive.mjs +8 -11
  55. package/esm2022/dropdown/src/dropdown-toggle/dropdown-toggle.directive.mjs +3 -3
  56. package/esm2022/dropdown/src/dropdown.module.mjs +4 -4
  57. package/esm2022/dropdown-divider/src/dropdown-divider.directive.mjs +3 -3
  58. package/esm2022/dropdown-divider/src/dropdown-divider.module.mjs +4 -4
  59. package/esm2022/dropdown-menu/src/dropdown-item/dropdown-item.component.mjs +3 -3
  60. package/esm2022/dropdown-menu/src/dropdown-menu/dropdown-menu.component.mjs +3 -3
  61. package/esm2022/dropdown-menu/src/dropdown-menu.module.mjs +4 -4
  62. package/esm2022/enhanced-paste/src/directive/enhanced-paste.directive.mjs +3 -3
  63. package/esm2022/enhanced-paste/src/enhanced-paste.module.mjs +4 -4
  64. package/esm2022/enum/src/service/enum.service.mjs +3 -3
  65. package/esm2022/file-upload/src/component/file-upload.component.mjs +3 -3
  66. package/esm2022/file-upload/src/directive/file-upload-template.directive.mjs +3 -3
  67. package/esm2022/file-upload/src/file-upload.module.mjs +4 -4
  68. package/esm2022/file-upload/src/pipes/format-bytes/format-bytes.pipe.mjs +3 -3
  69. package/esm2022/floating-labels/src/floating-labels/floating-label/floating-label.component.mjs +3 -3
  70. package/esm2022/floating-labels/src/floating-labels/floating-labels.module.mjs +4 -4
  71. package/esm2022/for/src/for.directive.mjs +3 -3
  72. package/esm2022/for/src/for.module.mjs +4 -4
  73. package/esm2022/form/src/form/form.component.mjs +3 -3
  74. package/esm2022/form/src/form-control/form-control.directive.mjs +3 -3
  75. package/esm2022/form/src/form-group/form-group.directive.mjs +3 -3
  76. package/esm2022/form/src/form.module.mjs +4 -4
  77. package/esm2022/grid/src/component/grid.component.mjs +3 -3
  78. package/esm2022/grid/src/directives/col-form-label/col-form-label.directive.mjs +3 -3
  79. package/esm2022/grid/src/directives/column/column.directive.mjs +10 -13
  80. package/esm2022/grid/src/directives/row/row.directive.mjs +3 -3
  81. package/esm2022/grid/src/grid.module.mjs +4 -4
  82. package/esm2022/has-overlay/src/has-overlay/has-overlay.component.mjs +3 -3
  83. package/esm2022/has-overlay/src/has-overlay/has-overlay.module.mjs +4 -4
  84. package/esm2022/icon/src/icon.component.mjs +3 -3
  85. package/esm2022/icon/src/icon.module.mjs +4 -4
  86. package/esm2022/input-group/src/input-group/input-group.component.mjs +3 -3
  87. package/esm2022/input-group/src/input-group.module.mjs +4 -4
  88. package/esm2022/instance-of/src/directives/instanceof-case.directive.mjs +3 -3
  89. package/esm2022/instance-of/src/directives/instanceof-default.directive.mjs +3 -3
  90. package/esm2022/instance-of/src/directives/instanceof.directive.mjs +3 -3
  91. package/esm2022/instance-of/src/instance-of.module.mjs +4 -4
  92. package/esm2022/instance-of/src/pipes/instance-of.pipe.mjs +3 -3
  93. package/esm2022/lazy-loading/src/lazy-load/lazy-load.directive.mjs +3 -3
  94. package/esm2022/lazy-loading/src/lazy-loading.module.mjs +4 -4
  95. package/esm2022/let/directive/let.directive.mjs +3 -3
  96. package/esm2022/let/let.module.mjs +4 -4
  97. package/esm2022/lib/pipes/font-color/font-color.module.mjs +4 -4
  98. package/esm2022/lib/pipes/font-color/font-color.pipe.mjs +3 -3
  99. package/esm2022/lib/pipes/in-list/in-list.module.mjs +4 -4
  100. package/esm2022/lib/pipes/in-list/in-list.pipe.mjs +3 -3
  101. package/esm2022/lib/pipes/uc-first/uc-first.module.mjs +4 -4
  102. package/esm2022/lib/pipes/uc-first/uc-first.pipe.mjs +3 -3
  103. package/esm2022/list-group/src/list-group/list-group.component.mjs +3 -3
  104. package/esm2022/list-group/src/list-group-item/list-group-item.component.mjs +3 -3
  105. package/esm2022/list-group/src/list-group.module.mjs +4 -4
  106. package/esm2022/markdown/src/bold/bold.pipe.mjs +3 -3
  107. package/esm2022/markdown/src/italic/italic.pipe.mjs +3 -3
  108. package/esm2022/markdown/src/markdown.module.mjs +4 -4
  109. package/esm2022/markdown/src/strikethrough/strikethrough.pipe.mjs +3 -3
  110. package/esm2022/markdown/src/underline/underline.pipe.mjs +3 -3
  111. package/esm2022/modal/src/components/modal/modal.component.mjs +3 -3
  112. package/esm2022/modal/src/components/modal-host/modal-host.component.mjs +6 -12
  113. package/esm2022/modal/src/directives/modal/modal.directive.mjs +3 -3
  114. package/esm2022/modal/src/directives/modal-body/modal-body.directive.mjs +3 -3
  115. package/esm2022/modal/src/directives/modal-close/modal-close.directive.mjs +3 -3
  116. package/esm2022/modal/src/directives/modal-footer/modal-footer.directive.mjs +3 -3
  117. package/esm2022/modal/src/directives/modal-header/modal-header.directive.mjs +3 -3
  118. package/esm2022/modal/src/modal.module.mjs +4 -4
  119. package/esm2022/multiselect/src/component/multiselect.component.mjs +3 -3
  120. package/esm2022/multiselect/src/directives/button-template/button-template.directive.mjs +3 -3
  121. package/esm2022/multiselect/src/directives/footer-template/footer-template.directive.mjs +3 -3
  122. package/esm2022/multiselect/src/directives/header-template/header-template.directive.mjs +3 -3
  123. package/esm2022/multiselect/src/multiselect.module.mjs +4 -4
  124. package/esm2022/navbar/src/dropdown-toggle/dropdown-toggle.directive.mjs +3 -3
  125. package/esm2022/navbar/src/expand-button/expand-button.directive.mjs +3 -3
  126. package/esm2022/navbar/src/nav-link/nav-link.directive.mjs +3 -3
  127. package/esm2022/navbar/src/navbar/navbar.component.mjs +8 -13
  128. package/esm2022/navbar/src/navbar-brand/navbar-brand.component.mjs +3 -3
  129. package/esm2022/navbar/src/navbar-content/navbar-content.directive.mjs +9 -17
  130. package/esm2022/navbar/src/navbar-dropdown/navbar-dropdown.component.mjs +7 -10
  131. package/esm2022/navbar/src/navbar-item/navbar-item.component.mjs +12 -22
  132. package/esm2022/navbar/src/navbar-nav/navbar-nav.component.mjs +8 -13
  133. package/esm2022/navbar/src/navbar-toggler/navbar-toggler.component.mjs +3 -3
  134. package/esm2022/navbar/src/navbar.module.mjs +4 -4
  135. package/esm2022/navigation-lock/src/directive/navigation-lock.directive.mjs +5 -9
  136. package/esm2022/navigation-lock/src/guard/navigation-lock.guard.mjs +3 -3
  137. package/esm2022/navigation-lock/src/navigation-lock.module.mjs +4 -4
  138. package/esm2022/no-noscript/src/no-noscript/no-noscript.directive.mjs +3 -3
  139. package/esm2022/no-noscript/src/no-noscript.module.mjs +4 -4
  140. package/esm2022/offcanvas/src/components/offcanvas/offcanvas.component.mjs +7 -10
  141. package/esm2022/offcanvas/src/components/offcanvas-body/offcanvas-body.component.mjs +3 -3
  142. package/esm2022/offcanvas/src/components/offcanvas-header/offcanvas-header.component.mjs +3 -3
  143. package/esm2022/offcanvas/src/components/offcanvas-host/offcanvas-host.component.mjs +21 -38
  144. package/esm2022/offcanvas/src/directives/offcanvas-close/offcanvas-close.directive.mjs +3 -3
  145. package/esm2022/offcanvas/src/directives/offcanvas-content/offcanvas-content.directive.mjs +3 -3
  146. package/esm2022/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.mjs +8 -11
  147. package/esm2022/offcanvas/src/offcanvas.module.mjs +4 -4
  148. package/esm2022/ordinal-number/src/ordinal-number/ordinal-number.pipe.mjs +3 -3
  149. package/esm2022/ordinal-number/src/ordinal-number.module.mjs +4 -4
  150. package/esm2022/pagination/src/component/pagination/pagination.component.mjs +14 -24
  151. package/esm2022/pagination/src/pagination.module.mjs +4 -4
  152. package/esm2022/placeholder/src/placeholder/placeholder.component.mjs +3 -3
  153. package/esm2022/placeholder/src/placeholder-field/placeholder-field.directive.mjs +6 -10
  154. package/esm2022/placeholder/src/placeholder.module.mjs +4 -4
  155. package/esm2022/popover/src/component/popover.component.mjs +3 -3
  156. package/esm2022/popover/src/directives/popover/popover.directive.mjs +14 -17
  157. package/esm2022/popover/src/directives/popover-body/popover-body.directive.mjs +3 -3
  158. package/esm2022/popover/src/directives/popover-header/popover-header.directive.mjs +3 -3
  159. package/esm2022/popover/src/popover.module.mjs +4 -4
  160. package/esm2022/progress-bar/src/progress/progress.component.mjs +3 -3
  161. package/esm2022/progress-bar/src/progress-bar/progress-bar.component.mjs +16 -34
  162. package/esm2022/progress-bar/src/progress-bar.module.mjs +4 -4
  163. package/esm2022/range/src/component/range.component.mjs +3 -3
  164. package/esm2022/range/src/range.module.mjs +4 -4
  165. package/esm2022/range/src/value-accessor/range-value-accessor.mjs +7 -12
  166. package/esm2022/rating/src/component/rating.component.mjs +7 -10
  167. package/esm2022/rating/src/rating.module.mjs +4 -4
  168. package/esm2022/resizable/src/resizable/resizable.component.mjs +7 -10
  169. package/esm2022/resizable/src/resizable.module.mjs +4 -4
  170. package/esm2022/resizable/src/resize-glyph/resize-glyph.directive.mjs +3 -3
  171. package/esm2022/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.mjs +6 -12
  172. package/esm2022/scheduler/src/components/scheduler/scheduler.component.mjs +10 -19
  173. package/esm2022/scheduler/src/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.mjs +3 -3
  174. package/esm2022/scheduler/src/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.mjs +3 -3
  175. package/esm2022/scheduler/src/pipes/date-offset/date-offset.pipe.mjs +3 -3
  176. package/esm2022/scheduler/src/pipes/day-of-week/day-of-week.pipe.mjs +3 -3
  177. package/esm2022/scheduler/src/scheduler.module.mjs +4 -4
  178. package/esm2022/scheduler/src/services/timeline/timeline.service.mjs +3 -3
  179. package/esm2022/scrollspy/src/component/scrollspy.component.mjs +7 -10
  180. package/esm2022/scrollspy/src/directives/scrollspy.directive.mjs +3 -3
  181. package/esm2022/scrollspy/src/scrollspy.module.mjs +4 -4
  182. package/esm2022/scrollspy/src/services/scroll-offset/scroll-offset.service.mjs +3 -3
  183. package/esm2022/select/src/component/select.component.mjs +3 -3
  184. package/esm2022/select/src/select.module.mjs +4 -4
  185. package/esm2022/select/src/value-accessors/select-value-accessor.mjs +6 -6
  186. package/esm2022/select2/src/component/select2.component.mjs +3 -3
  187. package/esm2022/select2/src/directive/item-template.directive.mjs +3 -3
  188. package/esm2022/select2/src/select2.module.mjs +4 -4
  189. package/esm2022/snackbar/src/component/snackbar.component.mjs +3 -3
  190. package/esm2022/snackbar/src/directives/snackbar-close/snackbar-close.directive.mjs +3 -3
  191. package/esm2022/snackbar/src/service/snackbar.service.mjs +3 -3
  192. package/esm2022/snackbar/src/snackbar.module.mjs +4 -4
  193. package/esm2022/spinner/src/spinner.component.mjs +3 -3
  194. package/esm2022/spinner/src/spinner.module.mjs +4 -4
  195. package/esm2022/splitter/src/element-at/element-at.pipe.mjs +3 -3
  196. package/esm2022/splitter/src/split-panel/split-panel.component.mjs +3 -3
  197. package/esm2022/splitter/src/splitter/splitter.component.mjs +3 -3
  198. package/esm2022/splitter/src/splitter.module.mjs +4 -4
  199. package/esm2022/tab-control/src/tab-control/tab-control.component.mjs +7 -10
  200. package/esm2022/tab-control/src/tab-control.module.mjs +4 -4
  201. package/esm2022/tab-control/src/tab-page/tab-page.component.mjs +3 -3
  202. package/esm2022/tab-control/src/tab-page-header/tab-page-header.directive.mjs +3 -3
  203. package/esm2022/table/src/component/table.component.mjs +3 -3
  204. package/esm2022/table/src/table.module.mjs +4 -4
  205. package/esm2022/timepicker/src/timepicker.component.mjs +3 -3
  206. package/esm2022/timepicker/src/timepicker.module.mjs +4 -4
  207. package/esm2022/toast/src/components/toast/toast.component.mjs +3 -3
  208. package/esm2022/toast/src/components/toast-body/toast-body.component.mjs +3 -3
  209. package/esm2022/toast/src/components/toast-container/toast-container.component.mjs +3 -3
  210. package/esm2022/toast/src/components/toast-header/toast-header.component.mjs +3 -3
  211. package/esm2022/toast/src/directives/toast-close/toast-close.directive.mjs +3 -3
  212. package/esm2022/toast/src/pipes/add-properties.pipe.mjs +3 -3
  213. package/esm2022/toast/src/services/toast/toast.service.mjs +3 -3
  214. package/esm2022/toast/src/toast.module.mjs +4 -4
  215. package/esm2022/toggle-button/src/component/toggle-button.component.mjs +3 -3
  216. package/esm2022/toggle-button/src/directives/toggle-button-group/toggle-button-group.directive.mjs +3 -3
  217. package/esm2022/toggle-button/src/toggle-button.module.mjs +4 -4
  218. package/esm2022/toggle-button/src/value-accessor/toggle-button-value-accessor.mjs +7 -12
  219. package/esm2022/tooltip/src/component/tooltip.component.mjs +3 -3
  220. package/esm2022/tooltip/src/directive/tooltip.directive.mjs +3 -3
  221. package/esm2022/tooltip/src/tooltip.module.mjs +4 -4
  222. package/esm2022/treeview/src/treeview/treeview.component.mjs +8 -12
  223. package/esm2022/treeview/src/treeview-item/treeview-item.component.mjs +3 -3
  224. package/esm2022/treeview/src/treeview.module.mjs +4 -4
  225. package/esm2022/typeahead/src/typeahead.component.mjs +5 -6
  226. package/esm2022/typeahead/src/typeahead.module.mjs +4 -4
  227. package/esm2022/user-agent/src/directive/user-agent.directive.mjs +3 -3
  228. package/esm2022/user-agent/src/user-agent.module.mjs +4 -4
  229. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +13 -13
  230. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +10 -10
  231. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +7 -7
  232. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +10 -10
  233. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +7 -7
  234. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +7 -7
  235. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +17 -17
  236. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +14 -20
  237. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
  238. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +10 -10
  239. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +10 -10
  240. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +7 -7
  241. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
  242. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +7 -7
  243. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +7 -7
  244. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +13 -13
  245. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +7 -7
  246. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +23 -28
  247. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  248. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +7 -7
  249. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +10 -10
  250. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +17 -20
  251. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  252. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +7 -7
  253. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +3 -3
  254. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +13 -13
  255. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +7 -7
  256. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +7 -7
  257. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +13 -13
  258. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +21 -24
  259. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  260. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +7 -7
  261. package/fesm2022/mintplayer-ng-bootstrap-icon.mjs +7 -7
  262. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +7 -7
  263. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +16 -16
  264. package/fesm2022/mintplayer-ng-bootstrap-lazy-loading.mjs +7 -7
  265. package/fesm2022/mintplayer-ng-bootstrap-let.mjs +7 -7
  266. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +10 -10
  267. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +16 -16
  268. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +27 -33
  269. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  270. package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +16 -16
  271. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +50 -84
  272. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  273. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +11 -15
  274. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -1
  275. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +7 -7
  276. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +44 -69
  277. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  278. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +7 -7
  279. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +17 -27
  280. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  281. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +13 -16
  282. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
  283. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +26 -29
  284. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  285. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +22 -40
  286. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  287. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +13 -18
  288. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  289. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +10 -13
  290. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  291. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +13 -16
  292. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
  293. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +32 -47
  294. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  295. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +16 -19
  296. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  297. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +13 -13
  298. package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +10 -10
  299. package/fesm2022/mintplayer-ng-bootstrap-snackbar.mjs +13 -13
  300. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +7 -7
  301. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +13 -13
  302. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +16 -19
  303. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  304. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +7 -7
  305. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +7 -7
  306. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +25 -25
  307. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +16 -21
  308. package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
  309. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +10 -10
  310. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +14 -18
  311. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  312. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +8 -9
  313. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  314. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +7 -7
  315. package/fesm2022/mintplayer-ng-bootstrap.mjs +21 -21
  316. package/grid/src/directives/column/column.directive.d.ts +3 -5
  317. package/modal/src/components/modal-host/modal-host.component.d.ts +0 -2
  318. package/navbar/src/navbar/navbar.component.d.ts +3 -5
  319. package/navbar/src/navbar-content/navbar-content.directive.d.ts +0 -1
  320. package/navbar/src/navbar-dropdown/navbar-dropdown.component.d.ts +2 -4
  321. package/navbar/src/navbar-item/navbar-item.component.d.ts +5 -6
  322. package/navbar/src/navbar-nav/navbar-nav.component.d.ts +2 -5
  323. package/navigation-lock/src/directive/navigation-lock.directive.d.ts +2 -5
  324. package/offcanvas/src/components/offcanvas/offcanvas.component.d.ts +3 -5
  325. package/offcanvas/src/components/offcanvas-host/offcanvas-host.component.d.ts +4 -4
  326. package/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.d.ts +2 -4
  327. package/package.json +2 -2
  328. package/pagination/src/component/pagination/pagination.component.d.ts +2 -5
  329. package/placeholder/src/placeholder-field/placeholder-field.directive.d.ts +1 -5
  330. package/popover/src/directives/popover/popover.directive.d.ts +2 -3
  331. package/progress-bar/src/progress-bar/progress-bar.component.d.ts +2 -5
  332. package/range/src/value-accessor/range-value-accessor.d.ts +2 -5
  333. package/rating/src/component/rating.component.d.ts +3 -5
  334. package/resizable/src/resizable/resizable.component.d.ts +3 -5
  335. package/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.d.ts +2 -5
  336. package/scheduler/src/components/scheduler/scheduler.component.d.ts +3 -5
  337. package/scrollspy/src/component/scrollspy.component.d.ts +2 -4
  338. package/tab-control/src/tab-control/tab-control.component.d.ts +3 -5
  339. package/toggle-button/src/value-accessor/toggle-button-value-accessor.d.ts +2 -5
  340. package/treeview/src/treeview/treeview.component.d.ts +3 -5
  341. package/typeahead/src/typeahead.component.d.ts +1 -2
@@ -2,7 +2,8 @@ import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Directive, Inject, HostBinding, Input, HostListener, forwardRef, Component, NgModule } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import { BehaviorSubject, Subject, map, takeUntil } from 'rxjs';
5
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
6
+ import { BehaviorSubject, map } from 'rxjs';
6
7
 
7
8
  const RESIZABLE = new InjectionToken('Resizable');
8
9
 
@@ -180,10 +181,10 @@ class BsResizeGlyphDirective {
180
181
  this.resizable.resizeAction = undefined;
181
182
  this.activeClass = false;
182
183
  }
183
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsResizeGlyphDirective, deps: [{ token: RESIZABLE }], target: i0.ɵɵFactoryTarget.Directive }); }
184
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: BsResizeGlyphDirective, selector: "[bsResizeGlyph]", inputs: { bsResizeGlyph: "bsResizeGlyph" }, host: { listeners: { "mousedown": "onMouseDown($event)", "touchstart": "onTouchStart($event)", "document:mousemove": "onMouseMove($event)", "touchmove": "onTouchMove($event)", "document:mouseup": "onMouseUp($event)", "touchend": "onTouchEnd($event)" }, properties: { "class": "this.positions", "class.glyph": "this.glyphClass", "class.active": "this.activeClass" } }, ngImport: i0 }); }
184
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsResizeGlyphDirective, deps: [{ token: RESIZABLE }], target: i0.ɵɵFactoryTarget.Directive }); }
185
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.1", type: BsResizeGlyphDirective, selector: "[bsResizeGlyph]", inputs: { bsResizeGlyph: "bsResizeGlyph" }, host: { listeners: { "mousedown": "onMouseDown($event)", "touchstart": "onTouchStart($event)", "document:mousemove": "onMouseMove($event)", "touchmove": "onTouchMove($event)", "document:mouseup": "onMouseUp($event)", "touchend": "onTouchEnd($event)" }, properties: { "class": "this.positions", "class.glyph": "this.glyphClass", "class.active": "this.activeClass" } }, ngImport: i0 }); }
185
186
  }
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsResizeGlyphDirective, decorators: [{
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsResizeGlyphDirective, decorators: [{
187
188
  type: Directive,
188
189
  args: [{
189
190
  selector: '[bsResizeGlyph]'
@@ -228,7 +229,6 @@ class BsResizableComponent {
228
229
  this.positioning$ = new BehaviorSubject('inline');
229
230
  this.classes = true;
230
231
  this.hostClass = null;
231
- this.destroyed$ = new Subject();
232
232
  this.element = element;
233
233
  this.hostPosition$ = this.positioning$.pipe(map((positioning) => {
234
234
  switch (positioning) {
@@ -242,7 +242,7 @@ class BsResizableComponent {
242
242
  case 'inline': return [];
243
243
  }
244
244
  }));
245
- this.hostPosition$.pipe(takeUntil(this.destroyed$))
245
+ this.hostPosition$.pipe(takeUntilDestroyed())
246
246
  .subscribe(hostPosition => this.hostClass = hostPosition);
247
247
  }
248
248
  get positioning() {
@@ -262,15 +262,12 @@ class BsResizableComponent {
262
262
  this.top = value.top;
263
263
  this.marginTop = this.marginBottom = this.marginLeft = this.marginRight = undefined;
264
264
  }
265
- ngOnDestroy() {
266
- this.destroyed$.next(true);
267
- }
268
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsResizableComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
269
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: BsResizableComponent, selector: "bs-resizable", inputs: { positioning: "positioning", presetPosition: "presetPosition" }, host: { properties: { "style.margin-left.px": "this.marginLeft", "style.margin-right.px": "this.marginRight", "style.margin-top.px": "this.marginTop", "style.margin-bottom.px": "this.marginBottom", "style.width.px": "this.width", "style.height.px": "this.height", "style.left.px": "this.left", "style.top.px": "this.top", "class.d-block": "this.classes", "class.border": "this.classes", "class": "this.hostClass" } }, providers: [
265
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsResizableComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
266
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: BsResizableComponent, selector: "bs-resizable", inputs: { positioning: "positioning", presetPosition: "presetPosition" }, host: { properties: { "style.margin-left.px": "this.marginLeft", "style.margin-right.px": "this.marginRight", "style.margin-top.px": "this.marginTop", "style.margin-bottom.px": "this.marginBottom", "style.width.px": "this.width", "style.height.px": "this.height", "style.left.px": "this.left", "style.top.px": "this.top", "class.d-block": "this.classes", "class.border": "this.classes", "class": "this.hostClass" } }, providers: [
270
267
  { provide: RESIZABLE, useExisting: forwardRef(() => BsResizableComponent) }
271
268
  ], ngImport: i0, template: "<div [class]=\"wrapperPosition$ | async\" class=\"h-100\">\n <div class=\"cursor-nw-resize\" [bsResizeGlyph]=\"['top', 'start']\"></div>\n <div class=\"cursor-n-resize\" [bsResizeGlyph]=\"['top']\"></div>\n <div class=\"cursor-ne-resize\" [bsResizeGlyph]=\"['top', 'end']\"></div>\n <div class=\"cursor-e-resize\" [bsResizeGlyph]=\"['end']\"></div>\n <div class=\"cursor-se-resize\" [bsResizeGlyph]=\"['bottom', 'end']\"></div>\n <div class=\"cursor-s-resize\" [bsResizeGlyph]=\"['bottom']\"></div>\n <div class=\"cursor-sw-resize\" [bsResizeGlyph]=\"['bottom', 'start']\"></div>\n <div class=\"cursor-w-resize\" [bsResizeGlyph]=\"['start']\"></div>\n <ng-content></ng-content>\n</div>", styles: [".glyph{position:absolute;width:8px;height:8px;transition:background-color .2s ease-in-out;border-radius:4px;z-index:20}.glyph.top{top:-4px}.glyph.start{left:-4px}.glyph.bottom{bottom:-4px}.glyph.end{right:-4px}.glyph.start:not(.top):not(.bottom),.glyph.end:not(.top):not(.bottom){top:4px;height:calc(100% - 8px)}.glyph.top:not(.start):not(.end),.glyph.bottom:not(.start):not(.end){left:4px;width:calc(100% - 8px)}.glyph:hover,.glyph.active{background-color:#1389fd}:host{min-width:2rem;min-height:2rem}\n"], dependencies: [{ kind: "directive", type: BsResizeGlyphDirective, selector: "[bsResizeGlyph]", inputs: ["bsResizeGlyph"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
272
269
  }
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsResizableComponent, decorators: [{
270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsResizableComponent, decorators: [{
274
271
  type: Component,
275
272
  args: [{ selector: 'bs-resizable', providers: [
276
273
  { provide: RESIZABLE, useExisting: forwardRef(() => BsResizableComponent) }
@@ -315,13 +312,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
315
312
  }] } });
316
313
 
317
314
  class BsResizableModule {
318
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsResizableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
319
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: BsResizableModule, declarations: [BsResizableComponent,
315
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsResizableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
316
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: BsResizableModule, declarations: [BsResizableComponent,
320
317
  BsResizeGlyphDirective], imports: [CommonModule], exports: [BsResizableComponent,
321
318
  BsResizeGlyphDirective] }); }
322
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsResizableModule, imports: [CommonModule] }); }
319
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsResizableModule, imports: [CommonModule] }); }
323
320
  }
324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsResizableModule, decorators: [{
321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsResizableModule, decorators: [{
325
322
  type: NgModule,
326
323
  args: [{
327
324
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-resizable.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/resizable/src/providers/resizable.provider.ts","../../../../libs/mintplayer-ng-bootstrap/resizable/src/resize-glyph/resize-glyph.directive.ts","../../../../libs/mintplayer-ng-bootstrap/resizable/src/resizable/resizable.component.ts","../../../../libs/mintplayer-ng-bootstrap/resizable/src/resizable/resizable.component.html","../../../../libs/mintplayer-ng-bootstrap/resizable/src/resizable.module.ts","../../../../libs/mintplayer-ng-bootstrap/resizable/mintplayer-ng-bootstrap-resizable.ts"],"sourcesContent":["import { InjectionToken } from \"@angular/core\";\nimport type { BsResizableComponent } from \"../resizable/resizable.component\";\n\nexport const RESIZABLE = new InjectionToken<BsResizableComponent>('Resizable');","import { Directive, HostBinding, HostListener, Inject, Input, forwardRef, Optional } from '@angular/core';\nimport { Position } from '@mintplayer/ng-bootstrap';\nimport type { BsResizableComponent } from '../resizable/resizable.component';\nimport { ResizeAction } from '../interfaces/resize-action';\nimport { PointerData } from '../interfaces/pointer-data';\nimport { RESIZABLE } from '../providers/resizable.provider';\n\n@Directive({\n selector: '[bsResizeGlyph]'\n})\nexport class BsResizeGlyphDirective {\n\n // Can't use typed DI because of the `import type`\n private readonly resizable: BsResizableComponent;\n constructor(@Inject(RESIZABLE) resizable: any) {\n this.resizable = resizable;\n }\n\n @HostBinding('class') positions = '';\n @HostBinding('class.glyph') glyphClass = true;\n @HostBinding('class.active') activeClass = false;\n\n @Input() set bsResizeGlyph(value: Position[]) {\n this.positions = value.join(' ');\n }\n\n @HostListener('mousedown', ['$event']) onMouseDown(ev: MouseEvent) {\n ev.preventDefault();\n this.onPointerDown()\n }\n\n @HostListener('touchstart', ['$event']) onTouchStart(ev: TouchEvent) {\n ev.preventDefault();\n this.onPointerDown();\n }\n\n @HostListener('document:mousemove', ['$event']) onMouseMove(ev: MouseEvent) {\n this.onPointerMove({ clientX: ev.clientX, clientY: ev.clientY, preventDefault: () => ev.preventDefault() });\n }\n\n @HostListener('touchmove', ['$event']) onTouchMove(ev: TouchEvent) {\n if (ev.touches.length === 1) {\n this.onPointerMove({ clientX: ev.touches[0].clientX, clientY: ev.touches[0].clientY, preventDefault: () => ev.preventDefault() });\n }\n }\n\n @HostListener('document:mouseup', ['$event']) onMouseUp(ev: Event) {\n this.onPointerUp();\n }\n\n @HostListener('touchend', ['$event']) onTouchEnd(ev: Event) {\n this.onPointerUp();\n }\n\n onPointerDown() {\n let action: ResizeAction = {\n positioning: this.resizable.positioning\n };\n const rect = this.resizable.element.nativeElement.getBoundingClientRect();\n const styles = window.getComputedStyle(this.resizable.element.nativeElement);\n\n const marginLeft = (this.resizable.positioning === 'absolute') ? undefined : parseFloat(styles.marginLeft.slice(0, -2));\n const marginRight = (this.resizable.positioning === 'absolute') ? undefined : parseFloat(styles.marginRight.slice(0, -2));\n const marginTop = (this.resizable.positioning === 'absolute') ? undefined : parseFloat(styles.marginTop.slice(0, -2));\n const marginBottom = (this.resizable.positioning === 'absolute') ? undefined : parseFloat(styles.marginBottom.slice(0, -2));\n\n if (this.positions?.includes('start')) {\n action = {\n ...action,\n end: {\n edge: rect.right,\n size: rect.width,\n margin: marginRight,\n dragMargin: marginLeft\n },\n };\n }\n if (this.positions?.includes('end')) {\n action = {\n ...action,\n start: {\n edge: rect.left,\n size: rect.width,\n margin: marginLeft,\n dragMargin: marginRight\n },\n };\n }\n if (this.positions?.includes('top')) {\n action = {\n ...action,\n bottom: {\n edge: rect.bottom,\n size: rect.height,\n margin: marginBottom,\n dragMargin: marginTop\n },\n };\n }\n if (this.positions?.includes('bottom')) {\n action = {\n ...action,\n top: {\n edge: rect.top,\n size: rect.height,\n margin: marginTop,\n dragMargin: marginBottom\n },\n };\n }\n\n this.resizable.resizeAction = action;\n this.activeClass = true;\n }\n\n private isBusy = false;\n onPointerMove(ev: PointerData) {\n if (this.resizable.resizeAction && !this.isBusy) {\n ev.preventDefault();\n this.isBusy = true;\n const rct = this.resizable.element.nativeElement.getBoundingClientRect();\n if (this.resizable.resizeAction.start && this.positions?.includes('end')) {\n // Right glyph\n const x = (ev.clientX < rct.left + 10) ? rct.left + 10 : ev.clientX;\n switch (this.resizable.positioning) {\n case 'inline': {\n const initalMargin = this.resizable.marginRight ?? 0;\n this.resizable.marginRight = initalMargin - (x - rct.right);\n } break;\n case 'absolute': {\n this.resizable.width = x - rct.left;\n } break;\n }\n } else if (this.resizable.resizeAction.end && this.positions?.includes('start')) {\n // Left glyph\n const x = (ev.clientX > rct.right - 10) ? rct.right - 10 : ev.clientX;\n switch (this.resizable.positioning) {\n case 'inline': {\n const initalMargin = this.resizable.marginLeft ?? 0;\n this.resizable.marginLeft = initalMargin + x - rct.left;\n } break;\n case 'absolute': {\n this.resizable.left = x;\n this.resizable.width = this.resizable.resizeAction.end.edge - x;\n } break;\n }\n }\n\n if (this.resizable.resizeAction.top && this.positions?.includes('bottom')) {\n // Bottom glyph\n const y = (ev.clientY < rct.top + 10) ? rct.top + 10 : ev.clientY;\n switch (this.resizable.positioning) {\n case 'inline': {\n const initalMargin = this.resizable.marginBottom ?? 0;\n this.resizable.height = y - rct.top;\n this.resizable.marginBottom = initalMargin - (y - rct.bottom);\n } break;\n case 'absolute': {\n this.resizable.height = y - rct.top;\n } break;\n }\n } else if (this.resizable.resizeAction.bottom && this.positions?.includes('top')) {\n // Top glyph\n const y = (ev.clientY > rct.bottom - 10) ? rct.bottom - 10 : ev.clientY;\n switch (this.resizable.positioning) {\n case 'inline': {\n const initalMargin = this.resizable.marginTop ?? 0;\n this.resizable.height = rct.bottom - y;\n this.resizable.marginTop = initalMargin + y - rct.top;\n } break;\n case 'absolute': {\n this.resizable.top = y;\n this.resizable.height = this.resizable.resizeAction.bottom.edge - y;\n } break;\n }\n }\n this.isBusy = false;\n }\n }\n \n onPointerUp() {\n this.resizable.resizeAction = undefined;\n this.activeClass = false;\n }\n}\n","import { Component, Directive, ElementRef, HostBinding, Input, OnDestroy, forwardRef } from '@angular/core';\nimport { BehaviorSubject, Observable, map, Subject, takeUntil } from 'rxjs';\nimport { ResizeAction } from '../interfaces/resize-action';\nimport { RESIZABLE } from '../providers/resizable.provider';\nimport { ResizablePositioning } from '../types/positioning';\nimport { PresetPosition } from '../interfaces/preset-position';\n\n@Component({\n selector: 'bs-resizable',\n templateUrl: './resizable.component.html',\n styleUrls: ['./resizable.component.scss'],\n providers: [\n { provide: RESIZABLE, useExisting: forwardRef(() => BsResizableComponent) }\n ]\n})\nexport class BsResizableComponent implements OnDestroy {\n constructor(element: ElementRef<HTMLElement>) {\n this.element = element;\n this.hostPosition$ = this.positioning$.pipe(map((positioning) => {\n switch (positioning) {\n case 'absolute': return 'position-absolute';\n case 'inline': return 'position-relative';\n }\n }));\n\n this.wrapperPosition$ = this.positioning$.pipe(map((positioning) => {\n switch (positioning) {\n case 'absolute': return ['position-relative', 'h-100']\n case 'inline': return [];\n }\n }));\n\n this.hostPosition$.pipe(takeUntil(this.destroyed$))\n .subscribe(hostPosition => this.hostClass = hostPosition);\n }\n\n resizeAction?: ResizeAction;\n element: ElementRef<HTMLElement>;\n hostPosition$: Observable<string>;\n wrapperPosition$: Observable<string[]>;\n\n //#region Positioning\n positioning$ = new BehaviorSubject<ResizablePositioning>('inline');\n public get positioning() {\n return this.positioning$.value;\n }\n @Input() public set positioning(value: ResizablePositioning) {\n this.positioning$.next(value);\n }\n //#endregion\n\n @Input() public set presetPosition(value: PresetPosition) {\n if (this.positioning === 'inline') {\n throw 'presetPosition currently only supported in absolute positioning';\n }\n this.width = value.width;\n this.height = value.height;\n this.left = value.left;\n this.top = value.top;\n this.marginTop = this.marginBottom = this.marginLeft = this.marginRight = undefined;\n }\n\n @HostBinding('style.margin-left.px') marginLeft?: number;\n @HostBinding('style.margin-right.px') marginRight?: number;\n @HostBinding('style.margin-top.px') marginTop?: number;\n @HostBinding('style.margin-bottom.px') marginBottom?: number;\n @HostBinding('style.width.px') width?: number;\n @HostBinding('style.height.px') height?: number;\n @HostBinding('style.left.px') left?: number;\n @HostBinding('style.top.px') top?: number;\n \n\n @HostBinding('class.d-block')\n @HostBinding('class.border')\n classes = true;\n\n @HostBinding('class')\n hostClass: string | null = null;\n\n destroyed$ = new Subject();\n ngOnDestroy() {\n this.destroyed$.next(true);\n }\n}\n","<div [class]=\"wrapperPosition$ | async\" class=\"h-100\">\n <div class=\"cursor-nw-resize\" [bsResizeGlyph]=\"['top', 'start']\"></div>\n <div class=\"cursor-n-resize\" [bsResizeGlyph]=\"['top']\"></div>\n <div class=\"cursor-ne-resize\" [bsResizeGlyph]=\"['top', 'end']\"></div>\n <div class=\"cursor-e-resize\" [bsResizeGlyph]=\"['end']\"></div>\n <div class=\"cursor-se-resize\" [bsResizeGlyph]=\"['bottom', 'end']\"></div>\n <div class=\"cursor-s-resize\" [bsResizeGlyph]=\"['bottom']\"></div>\n <div class=\"cursor-sw-resize\" [bsResizeGlyph]=\"['bottom', 'start']\"></div>\n <div class=\"cursor-w-resize\" [bsResizeGlyph]=\"['start']\"></div>\n <ng-content></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsResizableComponent } from './resizable/resizable.component';\nimport { BsResizeGlyphDirective } from './resize-glyph/resize-glyph.directive';\n\n@NgModule({\n declarations: [\n BsResizableComponent,\n BsResizeGlyphDirective\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsResizableComponent,\n BsResizeGlyphDirective\n ]\n})\nexport class BsResizableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsResizeGlyphDirective"],"mappings":";;;;;;MAGa,SAAS,GAAG,IAAI,cAAc,CAAuB,WAAW;;ACI7E,MAGa,sBAAsB,CAAA;AAIjC,IAAA,WAAA,CAA+B,SAAc,EAAA;QAIvB,IAAS,CAAA,SAAA,GAAG,EAAE,CAAC;QACT,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC;QACjB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QA+FzC,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AApGrB,QAAA,IAAI,CAAC,S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AAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAP1B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAOH,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAb7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,sBAAsB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,sBAAsB;AACvB,qBAAA;AACF,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-resizable.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/resizable/src/providers/resizable.provider.ts","../../../../libs/mintplayer-ng-bootstrap/resizable/src/resize-glyph/resize-glyph.directive.ts","../../../../libs/mintplayer-ng-bootstrap/resizable/src/resizable/resizable.component.ts","../../../../libs/mintplayer-ng-bootstrap/resizable/src/resizable/resizable.component.html","../../../../libs/mintplayer-ng-bootstrap/resizable/src/resizable.module.ts","../../../../libs/mintplayer-ng-bootstrap/resizable/mintplayer-ng-bootstrap-resizable.ts"],"sourcesContent":["import { InjectionToken } from \"@angular/core\";\nimport type { BsResizableComponent } from \"../resizable/resizable.component\";\n\nexport const RESIZABLE = new InjectionToken<BsResizableComponent>('Resizable');","import { Directive, HostBinding, HostListener, Inject, Input, forwardRef, Optional } from '@angular/core';\nimport { Position } from '@mintplayer/ng-bootstrap';\nimport type { BsResizableComponent } from '../resizable/resizable.component';\nimport { ResizeAction } from '../interfaces/resize-action';\nimport { PointerData } from '../interfaces/pointer-data';\nimport { RESIZABLE } from '../providers/resizable.provider';\n\n@Directive({\n selector: '[bsResizeGlyph]'\n})\nexport class BsResizeGlyphDirective {\n\n // Can't use typed DI because of the `import type`\n private readonly resizable: BsResizableComponent;\n constructor(@Inject(RESIZABLE) resizable: any) {\n this.resizable = resizable;\n }\n\n @HostBinding('class') positions = '';\n @HostBinding('class.glyph') glyphClass = true;\n @HostBinding('class.active') activeClass = false;\n\n @Input() set bsResizeGlyph(value: Position[]) {\n this.positions = value.join(' ');\n }\n\n @HostListener('mousedown', ['$event']) onMouseDown(ev: MouseEvent) {\n ev.preventDefault();\n this.onPointerDown()\n }\n\n @HostListener('touchstart', ['$event']) onTouchStart(ev: TouchEvent) {\n ev.preventDefault();\n this.onPointerDown();\n }\n\n @HostListener('document:mousemove', ['$event']) onMouseMove(ev: MouseEvent) {\n this.onPointerMove({ clientX: ev.clientX, clientY: ev.clientY, preventDefault: () => ev.preventDefault() });\n }\n\n @HostListener('touchmove', ['$event']) onTouchMove(ev: TouchEvent) {\n if (ev.touches.length === 1) {\n this.onPointerMove({ clientX: ev.touches[0].clientX, clientY: ev.touches[0].clientY, preventDefault: () => ev.preventDefault() });\n }\n }\n\n @HostListener('document:mouseup', ['$event']) onMouseUp(ev: Event) {\n this.onPointerUp();\n }\n\n @HostListener('touchend', ['$event']) onTouchEnd(ev: Event) {\n this.onPointerUp();\n }\n\n onPointerDown() {\n let action: ResizeAction = {\n positioning: this.resizable.positioning\n };\n const rect = this.resizable.element.nativeElement.getBoundingClientRect();\n const styles = window.getComputedStyle(this.resizable.element.nativeElement);\n\n const marginLeft = (this.resizable.positioning === 'absolute') ? undefined : parseFloat(styles.marginLeft.slice(0, -2));\n const marginRight = (this.resizable.positioning === 'absolute') ? undefined : parseFloat(styles.marginRight.slice(0, -2));\n const marginTop = (this.resizable.positioning === 'absolute') ? undefined : parseFloat(styles.marginTop.slice(0, -2));\n const marginBottom = (this.resizable.positioning === 'absolute') ? undefined : parseFloat(styles.marginBottom.slice(0, -2));\n\n if (this.positions?.includes('start')) {\n action = {\n ...action,\n end: {\n edge: rect.right,\n size: rect.width,\n margin: marginRight,\n dragMargin: marginLeft\n },\n };\n }\n if (this.positions?.includes('end')) {\n action = {\n ...action,\n start: {\n edge: rect.left,\n size: rect.width,\n margin: marginLeft,\n dragMargin: marginRight\n },\n };\n }\n if (this.positions?.includes('top')) {\n action = {\n ...action,\n bottom: {\n edge: rect.bottom,\n size: rect.height,\n margin: marginBottom,\n dragMargin: marginTop\n },\n };\n }\n if (this.positions?.includes('bottom')) {\n action = {\n ...action,\n top: {\n edge: rect.top,\n size: rect.height,\n margin: marginTop,\n dragMargin: marginBottom\n },\n };\n }\n\n this.resizable.resizeAction = action;\n this.activeClass = true;\n }\n\n private isBusy = false;\n onPointerMove(ev: PointerData) {\n if (this.resizable.resizeAction && !this.isBusy) {\n ev.preventDefault();\n this.isBusy = true;\n const rct = this.resizable.element.nativeElement.getBoundingClientRect();\n if (this.resizable.resizeAction.start && this.positions?.includes('end')) {\n // Right glyph\n const x = (ev.clientX < rct.left + 10) ? rct.left + 10 : ev.clientX;\n switch (this.resizable.positioning) {\n case 'inline': {\n const initalMargin = this.resizable.marginRight ?? 0;\n this.resizable.marginRight = initalMargin - (x - rct.right);\n } break;\n case 'absolute': {\n this.resizable.width = x - rct.left;\n } break;\n }\n } else if (this.resizable.resizeAction.end && this.positions?.includes('start')) {\n // Left glyph\n const x = (ev.clientX > rct.right - 10) ? rct.right - 10 : ev.clientX;\n switch (this.resizable.positioning) {\n case 'inline': {\n const initalMargin = this.resizable.marginLeft ?? 0;\n this.resizable.marginLeft = initalMargin + x - rct.left;\n } break;\n case 'absolute': {\n this.resizable.left = x;\n this.resizable.width = this.resizable.resizeAction.end.edge - x;\n } break;\n }\n }\n\n if (this.resizable.resizeAction.top && this.positions?.includes('bottom')) {\n // Bottom glyph\n const y = (ev.clientY < rct.top + 10) ? rct.top + 10 : ev.clientY;\n switch (this.resizable.positioning) {\n case 'inline': {\n const initalMargin = this.resizable.marginBottom ?? 0;\n this.resizable.height = y - rct.top;\n this.resizable.marginBottom = initalMargin - (y - rct.bottom);\n } break;\n case 'absolute': {\n this.resizable.height = y - rct.top;\n } break;\n }\n } else if (this.resizable.resizeAction.bottom && this.positions?.includes('top')) {\n // Top glyph\n const y = (ev.clientY > rct.bottom - 10) ? rct.bottom - 10 : ev.clientY;\n switch (this.resizable.positioning) {\n case 'inline': {\n const initalMargin = this.resizable.marginTop ?? 0;\n this.resizable.height = rct.bottom - y;\n this.resizable.marginTop = initalMargin + y - rct.top;\n } break;\n case 'absolute': {\n this.resizable.top = y;\n this.resizable.height = this.resizable.resizeAction.bottom.edge - y;\n } break;\n }\n }\n this.isBusy = false;\n }\n }\n \n onPointerUp() {\n this.resizable.resizeAction = undefined;\n this.activeClass = false;\n }\n}\n","import { Component, ElementRef, HostBinding, Input, forwardRef } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { BehaviorSubject, Observable, map } from 'rxjs';\nimport { ResizeAction } from '../interfaces/resize-action';\nimport { RESIZABLE } from '../providers/resizable.provider';\nimport { ResizablePositioning } from '../types/positioning';\nimport { PresetPosition } from '../interfaces/preset-position';\n\n@Component({\n selector: 'bs-resizable',\n templateUrl: './resizable.component.html',\n styleUrls: ['./resizable.component.scss'],\n providers: [\n { provide: RESIZABLE, useExisting: forwardRef(() => BsResizableComponent) }\n ]\n})\nexport class BsResizableComponent {\n constructor(element: ElementRef<HTMLElement>) {\n this.element = element;\n this.hostPosition$ = this.positioning$.pipe(map((positioning) => {\n switch (positioning) {\n case 'absolute': return 'position-absolute';\n case 'inline': return 'position-relative';\n }\n }));\n\n this.wrapperPosition$ = this.positioning$.pipe(map((positioning) => {\n switch (positioning) {\n case 'absolute': return ['position-relative', 'h-100']\n case 'inline': return [];\n }\n }));\n\n this.hostPosition$.pipe(takeUntilDestroyed())\n .subscribe(hostPosition => this.hostClass = hostPosition);\n }\n\n resizeAction?: ResizeAction;\n element: ElementRef<HTMLElement>;\n hostPosition$: Observable<string>;\n wrapperPosition$: Observable<string[]>;\n\n //#region Positioning\n positioning$ = new BehaviorSubject<ResizablePositioning>('inline');\n public get positioning() {\n return this.positioning$.value;\n }\n @Input() public set positioning(value: ResizablePositioning) {\n this.positioning$.next(value);\n }\n //#endregion\n\n @Input() public set presetPosition(value: PresetPosition) {\n if (this.positioning === 'inline') {\n throw 'presetPosition currently only supported in absolute positioning';\n }\n this.width = value.width;\n this.height = value.height;\n this.left = value.left;\n this.top = value.top;\n this.marginTop = this.marginBottom = this.marginLeft = this.marginRight = undefined;\n }\n\n @HostBinding('style.margin-left.px') marginLeft?: number;\n @HostBinding('style.margin-right.px') marginRight?: number;\n @HostBinding('style.margin-top.px') marginTop?: number;\n @HostBinding('style.margin-bottom.px') marginBottom?: number;\n @HostBinding('style.width.px') width?: number;\n @HostBinding('style.height.px') height?: number;\n @HostBinding('style.left.px') left?: number;\n @HostBinding('style.top.px') top?: number;\n \n\n @HostBinding('class.d-block')\n @HostBinding('class.border')\n classes = true;\n\n @HostBinding('class')\n hostClass: string | null = null;\n}\n","<div [class]=\"wrapperPosition$ | async\" class=\"h-100\">\n <div class=\"cursor-nw-resize\" [bsResizeGlyph]=\"['top', 'start']\"></div>\n <div class=\"cursor-n-resize\" [bsResizeGlyph]=\"['top']\"></div>\n <div class=\"cursor-ne-resize\" [bsResizeGlyph]=\"['top', 'end']\"></div>\n <div class=\"cursor-e-resize\" [bsResizeGlyph]=\"['end']\"></div>\n <div class=\"cursor-se-resize\" [bsResizeGlyph]=\"['bottom', 'end']\"></div>\n <div class=\"cursor-s-resize\" [bsResizeGlyph]=\"['bottom']\"></div>\n <div class=\"cursor-sw-resize\" [bsResizeGlyph]=\"['bottom', 'start']\"></div>\n <div class=\"cursor-w-resize\" [bsResizeGlyph]=\"['start']\"></div>\n <ng-content></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsResizableComponent } from './resizable/resizable.component';\nimport { BsResizeGlyphDirective } from './resize-glyph/resize-glyph.directive';\n\n@NgModule({\n declarations: [\n BsResizableComponent,\n BsResizeGlyphDirective\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsResizableComponent,\n BsResizeGlyphDirective\n ]\n})\nexport class BsResizableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsResizeGlyphDirective"],"mappings":";;;;;;;MAGa,SAAS,GAAG,IAAI,cAAc,CAAuB,WAAW;;ACI7E,MAGa,sBAAsB,CAAA;AAIjC,IAAA,WAAA,CAA+B,SAAc,EAAA;QAIvB,IAAS,CAAA,SAAA,GAAG,EAAE,CAAC;QACT,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC;QACjB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QA+FzC,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AApGrB,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;KAC5B;IAMD,IAAa,aAAa,CAAC,KAAiB,EAAA;QAC1C,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClC;AAEsC,IAAA,WAAW,CAAC,EAAc,EAAA;QAC/D,EAAE,CAAC,cAAc,EAAE,CAAC;QACpB,IAAI,CAAC,aAAa,EAAE,CAAA;KACrB;AAEuC,IAAA,YAAY,CAAC,EAAc,EAAA;QACjE,EAAE,CAAC,cAAc,EAAE,CAAC;QACpB,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;AAE+C,IAAA,WAAW,CAAC,EAAc,EAAA;QACxE,IAAI,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;KAC7G;AAEsC,IAAA,WAAW,CAAC,EAAc,EAAA;AAC/D,QAAA,IAAI,EAAE,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;AAC3B,YAAA,IAAI,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,O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A,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,iBAX1B,oBAAoB;YACpB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAGtB,YAAY,CAAA,EAAA,OAAA,EAAA,CAGZ,oBAAoB;YACpB,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAP1B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAOH,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAb7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,sBAAsB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,sBAAsB;AACvB,qBAAA;AACF,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable, Component, Input, Pipe, EventEmitter, ViewChildren, Output, HostListener, NgModule } from '@angular/core';
3
- import { BehaviorSubject, Subject, map, filter, take, combineLatest, takeUntil } from 'rxjs';
3
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
+ import { BehaviorSubject, map, filter, combineLatest, take } from 'rxjs';
4
5
  import * as i1 from '@mintplayer/ng-bootstrap/calendar-month';
5
6
  import * as i3 from '@angular/common';
6
7
  import { CommonModule } from '@angular/common';
@@ -74,10 +75,10 @@ class BsTimelineService {
74
75
  return false;
75
76
  }
76
77
  }
77
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsTimelineService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
78
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsTimelineService, providedIn: 'root' }); }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsTimelineService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
79
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsTimelineService, providedIn: 'root' }); }
79
80
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsTimelineService, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsTimelineService, decorators: [{
81
82
  type: Injectable,
82
83
  args: [{
83
84
  providedIn: 'root'
@@ -90,7 +91,6 @@ class ResourceGroupPresenterComponent {
90
91
  this.resourceOrGroup$ = new BehaviorSubject(null);
91
92
  this.timeSlots$ = new BehaviorSubject([]);
92
93
  this.isExpanded$ = new BehaviorSubject(false);
93
- this.destroyed$ = new Subject();
94
94
  this.data$ = this.resourceOrGroup$
95
95
  .pipe(map((resourceOrGroup) => {
96
96
  if (!resourceOrGroup) {
@@ -141,17 +141,12 @@ class ResourceGroupPresenterComponent {
141
141
  }
142
142
  //#endregion
143
143
  toggleExpanded() {
144
- this.isExpanded$.pipe(take(1)).subscribe((isExpanded) => {
145
- this.isExpanded$.next(!isExpanded);
146
- });
147
- }
148
- ngOnDestroy() {
149
- this.destroyed$.next(true);
144
+ this.isExpanded$.next(!this.isExpanded$.value);
150
145
  }
151
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: ResourceGroupPresenterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
152
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: { level: "level", resourceGroup: "resourceGroup", timeSlots: "timeSlots", isExpanded: "isExpanded" }, ngImport: i0, template: "<ng-container *ngIf=\"(data$ | async) as data\">\n\n <!-- Data is a resource group -->\n <ng-container *ngIf=\"data.resourceGroup\">\n <!-- Header -->\n <tr class=\"p-0 cursor-pointer\" *ngIf=\"(timeSlots$ | async) as timeSlots\" [title]=\"data.resourceGroup.description\">\n <ng-container *ngIf=\"(colSpan$ | async) as colspan\">\n <td class=\"p-2 cursor-pointer\" [colSpan]=\"colspan + 1\" (click)=\"toggleExpanded()\">\n <span class=\"p-2 align-middle position-sticky\">\n <bs-icon [icon]=\"'chevron-down'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"isExpanded$ | async\"></bs-icon>\n <bs-icon [icon]=\"'chevron-right'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"(isExpanded$ | async) === false\"></bs-icon>\n {{ data.resourceGroup.description }}\n </span>\n </td>\n </ng-container>\n </tr>\n\n <!-- Subgroups or resources -->\n <ng-container *ngIf=\"isExpanded$ | async\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <ng-container *ngFor=\"let child of data.resourceGroup.children\">\n <bs-resource-group-presenter [resourceGroup]=\"child\" [timeSlots]=\"timeSlots\" [level]=\"level + 1\"></bs-resource-group-presenter>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- Data is a resource -->\n <tr *ngIf=\"data.resource\" class=\"p-0 bordered\" [title]=\"data.resource.description\">\n <td class=\"p-0 bg-white\">\n <div class=\"p-2\">{{ data.resource.description }}</div>\n </td>\n <ng-container *ngFor=\"let slots of (timeSlots$ | async)\">\n <td class=\"bg-white border-1\" *ngFor=\"let slot of slots.slots\">\n <!-- {{ slot.start | date: 'dd/MM/yyyy HH:mm:ss' }} -->\n </td>\n </ng-container>\n </tr>\n</ng-container>", styles: [":host{display:contents}tr{border-bottom-width:1px}tr:not(.bordered) td span.position-sticky{left:0;right:0}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: ["level", "resourceGroup", "timeSlots", "isExpanded"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }] }); }
146
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ResourceGroupPresenterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
147
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: { level: "level", resourceGroup: "resourceGroup", timeSlots: "timeSlots", isExpanded: "isExpanded" }, ngImport: i0, template: "<ng-container *ngIf=\"(data$ | async) as data\">\n\n <!-- Data is a resource group -->\n <ng-container *ngIf=\"data.resourceGroup\">\n <!-- Header -->\n <tr class=\"p-0 cursor-pointer\" *ngIf=\"(timeSlots$ | async) as timeSlots\" [title]=\"data.resourceGroup.description\">\n <ng-container *ngIf=\"(colSpan$ | async) as colspan\">\n <td class=\"p-2 cursor-pointer\" [colSpan]=\"colspan + 1\" (click)=\"toggleExpanded()\">\n <span class=\"p-2 align-middle position-sticky\">\n <bs-icon [icon]=\"'chevron-down'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"isExpanded$ | async\"></bs-icon>\n <bs-icon [icon]=\"'chevron-right'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"(isExpanded$ | async) === false\"></bs-icon>\n {{ data.resourceGroup.description }}\n </span>\n </td>\n </ng-container>\n </tr>\n\n <!-- Subgroups or resources -->\n <ng-container *ngIf=\"isExpanded$ | async\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <ng-container *ngFor=\"let child of data.resourceGroup.children\">\n <bs-resource-group-presenter [resourceGroup]=\"child\" [timeSlots]=\"timeSlots\" [level]=\"level + 1\"></bs-resource-group-presenter>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- Data is a resource -->\n <tr *ngIf=\"data.resource\" class=\"p-0 bordered\" [title]=\"data.resource.description\">\n <td class=\"p-0 bg-white\">\n <div class=\"p-2\">{{ data.resource.description }}</div>\n </td>\n <ng-container *ngFor=\"let slots of (timeSlots$ | async)\">\n <td class=\"bg-white border-1\" *ngFor=\"let slot of slots.slots\">\n <!-- {{ slot.start | date: 'dd/MM/yyyy HH:mm:ss' }} -->\n </td>\n </ng-container>\n </tr>\n</ng-container>", styles: [":host{display:contents}tr{border-bottom-width:1px}tr:not(.bordered) td span.position-sticky{left:0;right:0}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: ["level", "resourceGroup", "timeSlots", "isExpanded"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }] }); }
153
148
  }
154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: ResourceGroupPresenterComponent, decorators: [{
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ResourceGroupPresenterComponent, decorators: [{
155
150
  type: Component,
156
151
  args: [{ selector: 'bs-resource-group-presenter', template: "<ng-container *ngIf=\"(data$ | async) as data\">\n\n <!-- Data is a resource group -->\n <ng-container *ngIf=\"data.resourceGroup\">\n <!-- Header -->\n <tr class=\"p-0 cursor-pointer\" *ngIf=\"(timeSlots$ | async) as timeSlots\" [title]=\"data.resourceGroup.description\">\n <ng-container *ngIf=\"(colSpan$ | async) as colspan\">\n <td class=\"p-2 cursor-pointer\" [colSpan]=\"colspan + 1\" (click)=\"toggleExpanded()\">\n <span class=\"p-2 align-middle position-sticky\">\n <bs-icon [icon]=\"'chevron-down'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"isExpanded$ | async\"></bs-icon>\n <bs-icon [icon]=\"'chevron-right'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"(isExpanded$ | async) === false\"></bs-icon>\n {{ data.resourceGroup.description }}\n </span>\n </td>\n </ng-container>\n </tr>\n\n <!-- Subgroups or resources -->\n <ng-container *ngIf=\"isExpanded$ | async\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <ng-container *ngFor=\"let child of data.resourceGroup.children\">\n <bs-resource-group-presenter [resourceGroup]=\"child\" [timeSlots]=\"timeSlots\" [level]=\"level + 1\"></bs-resource-group-presenter>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- Data is a resource -->\n <tr *ngIf=\"data.resource\" class=\"p-0 bordered\" [title]=\"data.resource.description\">\n <td class=\"p-0 bg-white\">\n <div class=\"p-2\">{{ data.resource.description }}</div>\n </td>\n <ng-container *ngFor=\"let slots of (timeSlots$ | async)\">\n <td class=\"bg-white border-1\" *ngFor=\"let slot of slots.slots\">\n <!-- {{ slot.start | date: 'dd/MM/yyyy HH:mm:ss' }} -->\n </td>\n </ng-container>\n </tr>\n</ng-container>", styles: [":host{display:contents}tr{border-bottom-width:1px}tr:not(.bordered) td span.position-sticky{left:0;right:0}\n"] }]
157
152
  }], ctorParameters: function () { return []; }, propDecorators: { level: [{
@@ -168,10 +163,10 @@ class BsSecondsTimespanPipe {
168
163
  transform(value) {
169
164
  return (value.end.getTime() - value.start.getTime()) / 1000;
170
165
  }
171
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSecondsTimespanPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
172
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: BsSecondsTimespanPipe, name: "bsSecondsTimespan" }); }
166
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSecondsTimespanPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
167
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: BsSecondsTimespanPipe, name: "bsSecondsTimespan" }); }
173
168
  }
174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSecondsTimespanPipe, decorators: [{
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSecondsTimespanPipe, decorators: [{
175
170
  type: Pipe,
176
171
  args: [{
177
172
  name: 'bsSecondsTimespan'
@@ -186,10 +181,10 @@ class BsSecondsTodayOffsetPipe {
186
181
  today.setSeconds(0);
187
182
  return (value.start.getTime() - today.getTime()) / 1000;
188
183
  }
189
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSecondsTodayOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
190
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" }); }
184
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSecondsTodayOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
185
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" }); }
191
186
  }
192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSecondsTodayOffsetPipe, decorators: [{
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSecondsTodayOffsetPipe, decorators: [{
193
188
  type: Pipe,
194
189
  args: [{
195
190
  name: 'bsSecondsTodayOffset'
@@ -206,10 +201,10 @@ class DayOfWeekPipe {
206
201
  return dayOfWeek;
207
202
  }
208
203
  }
209
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DayOfWeekPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
210
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: DayOfWeekPipe, name: "dayOfWeek" }); }
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DayOfWeekPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
205
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: DayOfWeekPipe, name: "dayOfWeek" }); }
211
206
  }
212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DayOfWeekPipe, decorators: [{
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DayOfWeekPipe, decorators: [{
213
208
  type: Pipe,
214
209
  args: [{
215
210
  name: 'dayOfWeek'
@@ -229,7 +224,6 @@ class BsSchedulerComponent {
229
224
  this.mouseState$ = new BehaviorSubject(false);
230
225
  this.hoveredTimeSlot$ = new BehaviorSubject(null);
231
226
  this.hoveredEvent$ = new BehaviorSubject(null);
232
- this.destroyed$ = new Subject();
233
227
  this.resourceGroupPresenterCounter = 1;
234
228
  //#region Mode
235
229
  this.modes = ESchedulerMode;
@@ -379,16 +373,10 @@ class BsSchedulerComponent {
379
373
  // For performance reasons, we're not using an observable here, but persist the timeslots in a BehaviorSubject.
380
374
  this.timeSlots$.next(timeslots);
381
375
  });
382
- this.weekOptions$
383
- .pipe(takeUntil(this.destroyed$))
384
- .subscribe((weekOptions) => {
385
- this.weekOptionsChange.emit(weekOptions);
386
- });
387
- this.timelineOptions$
388
- .pipe(takeUntil(this.destroyed$))
389
- .subscribe((timelineOptions) => {
390
- this.timelineOptionsChange.emit(timelineOptions);
391
- });
376
+ this.weekOptions$.pipe(takeUntilDestroyed())
377
+ .subscribe(weekOptions => this.weekOptionsChange.emit(weekOptions));
378
+ this.timelineOptions$.pipe(takeUntilDestroyed())
379
+ .subscribe(timelineOptions => this.timelineOptionsChange.emit(timelineOptions));
392
380
  // combineLatest([this.mode$, this.scale$])
393
381
  // .pipe(filter(([mode, scale]) => mode === ESchedulerMode.timeline))
394
382
  }
@@ -704,13 +692,10 @@ class BsSchedulerComponent {
704
692
  }
705
693
  }
706
694
  }
707
- ngOnDestroy() {
708
- this.destroyed$.next(true);
709
- }
710
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSchedulerComponent, deps: [{ token: i1.BsCalendarMonthService }, { token: BsTimelineService }], target: i0.ɵɵFactoryTarget.Component }); }
711
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: BsSchedulerComponent, selector: "bs-scheduler", inputs: { mode: "mode", weekOptions: "weekOptions", timelineOptions: "timelineOptions", maxInnerHeight: "maxInnerHeight", resources: "resources" }, outputs: { modeChange: "modeChange", weekOptionsChange: "weekOptionsChange", timelineOptionsChange: "timelineOptionsChange" }, host: { listeners: { "document:mousemove": "onMousemove($event)", "document:mouseup": "onMouseUp($event)" } }, viewQueries: [{ propertyName: "timeSlotElements", predicate: ["slot"], descendants: true }], ngImport: i0, template: "<div class=\"d-flex flex-column w-100 overflow-y-auto mb-0 week-schedule\" [style.max-height.px]=\"null\"\n *ngIf=\"(mode$ | async) === modes.week\">\n <div class=\"calendar-head\">\n <div class=\"w-100 d-flex flex-row\">\n <div class=\"d-flex calendar-left justify-content-between\">\n <button class=\"btn btn-default flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <button class=\"btn btn-default flex-end\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n <div class=\"flex-grow-1 calendar-head-cell\" *ngFor=\"let day of (shownDays$ | async)\">\n <span class=\"d-block col-form-label text-center text-nowrap\">\n <span>{{ day | date: 'dd-MM' }}</span><span class=\"d-none d-lg-inline-block\">-{{ day | date: 'yyyy' }}</span>\n </span>\n </div>\n </div>\n </div>\n <div class=\"calendar-body\" [style.height.px]=\"maxInnerHeight\">\n <div class=\"position-relative\" *ngIf=\"(timeSlots$ | async) as row\">\n <ng-container *ngIf=\"(weekOptions$ | async) as weekOptions\">\n <!-- Timeslots -->\n <div *ngFor=\"let timeslots of row; let i = index\" class=\"d-flex flex-row p-0 timeslot\" [style.height.px]=\"weekOptions.unitHeight\">\n <div class=\"calendar-cell calendar-left align-top px-2 py-0\">{{ timeslots.slots[0].start | date: 'HH:mm:ss' }}</div>\n <div class=\"calendar-cell flex-grow-1\" *ngFor=\"let slot of timeslots.slots; let j = index\" #slot (mousedown)=\"onCreateEvent($event, slot)\" [attr.data-row]=\"i\" [attr.data-column]=\"j\"></div>\n </div>\n\n <!-- Events -->\n <ng-container *ngIf=\"(timeSlotDuration$ | async) as timeSlotDuration\">\n <ng-container *ngIf=\"(timelinedEventPartsForThisWeek$ | async) as partData\">\n <div *ngFor=\"let eventPart of partData.parts\" class=\"event p-0\"\n [style.top.px]=\"(eventPart.part | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart.part | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner\" [class.hover]=\"(hoveredEvent$ | async) === eventPart.part.event\"\n [style.width]=\"'calc(100% / ' + partData.total + ')'\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.margin-left]=\"'calc(100% / ' + partData.total + ' * ' + eventPart.index + ')'\">\n\n <div class=\"event-resize top\"\n *ngIf=\"eventPart.part.start === eventPart.part.event?.start\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'top')\"></div>\n <div class=\"event-border\"></div>\n <div class=\"event-wrapper\" *ngIf=\"eventPart.part.event\"\n (mousedown)=\"onStartDragEvent(eventPart.part, $event)\"\n (mouseenter)=\"onHoverEvent(eventPart.part.event)\"\n (mouseleave)=\"onLeaveEvent(eventPart.part.event)\">\n <div class=\"event-bg\" [style.background-color]=\"eventPart.part.event.color\"></div>\n <div class=\"event-label\">{{ eventPart.part.event.description }}</div>\n </div>\n <div class=\"event-resize bottom\"\n *ngIf=\"eventPart.part.end === eventPart.part.event?.end\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'bottom')\"></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"(previewEventPartsForThisWeek$ | async) as previewPartData\">\n <div *ngFor=\"let eventPart of previewPartData\" class=\"event preview p-0\"\n [style.top.px]=\"(eventPart | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner w-100\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\">\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n<div class=\"d-flex flex-column-100 overflow-y-auto mb-0 bg-white timeline\" *ngIf=\"(mode$ | async) === modes.timeline\">\n <div class=\"calendar-head d-flex\">\n <button class=\"btn flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <div class=\"flex-grow-1 h3 py-2 mb-0 text-center\">{{ currentWeekOrMonth$ | async | date: 'MMMM yyyy' }}</div>\n <button class=\"btn flex-start\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n \n <div class=\"calendar-body table-responsive overflow-x-auto\">\n <table class=\"table mb-0\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <tr>\n <td></td>\n <td *ngFor=\"let day of timeSlots\" [attr.colspan]=\"day.slots.length\" class=\"text-center px-2\">\n <span class=\"position-sticky day-label\">{{ day.stamp | date: 'd EE' }}</span>\n </td>\n </tr>\n <tr>\n <td></td>\n <ng-container *ngIf=\"(timelineOptions$ | async) as timelineOptions\">\n <ng-container *ngFor=\"let day of timeSlots\">\n <td *ngFor=\"let slot of day.slots\">\n <span class=\"d-block p-0 text-center\" [style.width.px]=\"timelineOptions.unitWidth\">\n {{ slot.start | date: 'HH:mm' }}\n </span>\n </td>\n </ng-container>\n </ng-container>\n </tr>\n <bs-resource-group-presenter *ngFor=\"let group of (resources$ | async)\" [resourceGroup]=\"group\" [timeSlots]=\"timeSlots\"></bs-resource-group-presenter>\n </ng-container>\n </table>\n </div>\n</div>", styles: [":host{display:block;border:1px solid #333;border-top-right-radius:10px;border-top-left-radius:10px;overflow:hidden}.calendar-head{background:#F7F7F7;color:#007aff}.tabel .calendar-head{flex:0 0 auto}.tabel .calendar-body{display:block;flex:1 1 auto}.week-schedule .calendar-head>div{padding-right:18px}.week-schedule .calendar-body{overflow-y:scroll;overflow-x:hidden}.week-schedule .calendar-body .calendar-cell{border-right:1px solid #DEE2E6;border-bottom:1px solid #DEE2E6;cursor:default}.week-schedule .calendar-body .calendar-cell.hover{border-top-width:3px}.week-schedule .calendar-left{width:90px}.week-schedule .event{z-index:5;width:calc((100% - 90px) / 7);height:100px;overflow:hidden;position:absolute;-webkit-user-select:none;user-select:none;pointer-events:none}.week-schedule .event.preview{background:#666;opacity:.6}.week-schedule .event .event-border{background:black;top:0;left:0;bottom:3px;width:3px;position:absolute;z-index:10;opacity:.3}.week-schedule .event .event-inner{position:relative;inset:0 5px 5px 0;cursor:move;pointer-events:all;overflow:hidden}.week-schedule .event .event-inner .event-wrapper{width:calc(100% - 2px);margin:1px auto 1px 0;height:calc(100% - 3px)}.week-schedule .event .event-inner .event-wrapper .event-bg{opacity:.5;height:100%;transition:opacity .15s ease-in-out}.week-schedule .event .event-inner .event-wrapper .event-label{position:absolute;top:0;font-size:12px;font-weight:600;padding:4px}.week-schedule .event .event-inner .event-resize{position:absolute;cursor:ns-resize;height:4px;left:0;right:0;z-index:400}.week-schedule .event .event-inner .event-resize.top{top:0}.week-schedule .event .event-inner .event-resize.bottom{bottom:0}.week-schedule .event .event-inner .event-resize:hover{background:#DDD}.week-schedule .event .event-inner.hover .event-bg{opacity:.7!important}@media (max-width: 767px){.week-schedule.tabel .calendar-head .calendar-head-cell{text-orientation:sideways;writing-mode:vertical-rl}}.timeline.tabel{flex-flow:column}.timeline .calendar-body .tabel{background-color:#f7f7f7}.timeline .calendar-body .tabel tr:first-child td{background-color:#fff;border:1px solid #000}.timeline .calendar-body .tabel tr:first-child td:first-child{min-width:10rem}.timeline .calendar-body .tabel tr:first-child span.day-label{left:0;right:0}.timeline .calendar-body .tabel tr:nth-child(2) td{border-width:1px;border-color:inherit}.timeline .calendar-body .tabel>:not(:first-child){border-top:none!important}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: ["level", "resourceGroup", "timeSlots", "isExpanded"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.DatePipe, name: "date" }, { kind: "pipe", type: BsSecondsTimespanPipe, name: "bsSecondsTimespan" }, { kind: "pipe", type: BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" }, { kind: "pipe", type: DayOfWeekPipe, name: "dayOfWeek" }] }); }
695
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSchedulerComponent, deps: [{ token: i1.BsCalendarMonthService }, { token: BsTimelineService }], target: i0.ɵɵFactoryTarget.Component }); }
696
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: BsSchedulerComponent, selector: "bs-scheduler", inputs: { mode: "mode", weekOptions: "weekOptions", timelineOptions: "timelineOptions", maxInnerHeight: "maxInnerHeight", resources: "resources" }, outputs: { modeChange: "modeChange", weekOptionsChange: "weekOptionsChange", timelineOptionsChange: "timelineOptionsChange" }, host: { listeners: { "document:mousemove": "onMousemove($event)", "document:mouseup": "onMouseUp($event)" } }, viewQueries: [{ propertyName: "timeSlotElements", predicate: ["slot"], descendants: true }], ngImport: i0, template: "<div class=\"d-flex flex-column w-100 overflow-y-auto mb-0 week-schedule\" [style.max-height.px]=\"null\"\n *ngIf=\"(mode$ | async) === modes.week\">\n <div class=\"calendar-head\">\n <div class=\"w-100 d-flex flex-row\">\n <div class=\"d-flex calendar-left justify-content-between\">\n <button class=\"btn btn-default flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <button class=\"btn btn-default flex-end\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n <div class=\"flex-grow-1 calendar-head-cell\" *ngFor=\"let day of (shownDays$ | async)\">\n <span class=\"d-block col-form-label text-center text-nowrap\">\n <span>{{ day | date: 'dd-MM' }}</span><span class=\"d-none d-lg-inline-block\">-{{ day | date: 'yyyy' }}</span>\n </span>\n </div>\n </div>\n </div>\n <div class=\"calendar-body\" [style.height.px]=\"maxInnerHeight\">\n <div class=\"position-relative\" *ngIf=\"(timeSlots$ | async) as row\">\n <ng-container *ngIf=\"(weekOptions$ | async) as weekOptions\">\n <!-- Timeslots -->\n <div *ngFor=\"let timeslots of row; let i = index\" class=\"d-flex flex-row p-0 timeslot\" [style.height.px]=\"weekOptions.unitHeight\">\n <div class=\"calendar-cell calendar-left align-top px-2 py-0\">{{ timeslots.slots[0].start | date: 'HH:mm:ss' }}</div>\n <div class=\"calendar-cell flex-grow-1\" *ngFor=\"let slot of timeslots.slots; let j = index\" #slot (mousedown)=\"onCreateEvent($event, slot)\" [attr.data-row]=\"i\" [attr.data-column]=\"j\"></div>\n </div>\n\n <!-- Events -->\n <ng-container *ngIf=\"(timeSlotDuration$ | async) as timeSlotDuration\">\n <ng-container *ngIf=\"(timelinedEventPartsForThisWeek$ | async) as partData\">\n <div *ngFor=\"let eventPart of partData.parts\" class=\"event p-0\"\n [style.top.px]=\"(eventPart.part | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart.part | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner\" [class.hover]=\"(hoveredEvent$ | async) === eventPart.part.event\"\n [style.width]=\"'calc(100% / ' + partData.total + ')'\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.margin-left]=\"'calc(100% / ' + partData.total + ' * ' + eventPart.index + ')'\">\n\n <div class=\"event-resize top\"\n *ngIf=\"eventPart.part.start === eventPart.part.event?.start\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'top')\"></div>\n <div class=\"event-border\"></div>\n <div class=\"event-wrapper\" *ngIf=\"eventPart.part.event\"\n (mousedown)=\"onStartDragEvent(eventPart.part, $event)\"\n (mouseenter)=\"onHoverEvent(eventPart.part.event)\"\n (mouseleave)=\"onLeaveEvent(eventPart.part.event)\">\n <div class=\"event-bg\" [style.background-color]=\"eventPart.part.event.color\"></div>\n <div class=\"event-label\">{{ eventPart.part.event.description }}</div>\n </div>\n <div class=\"event-resize bottom\"\n *ngIf=\"eventPart.part.end === eventPart.part.event?.end\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'bottom')\"></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"(previewEventPartsForThisWeek$ | async) as previewPartData\">\n <div *ngFor=\"let eventPart of previewPartData\" class=\"event preview p-0\"\n [style.top.px]=\"(eventPart | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner w-100\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\">\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n<div class=\"d-flex flex-column-100 overflow-y-auto mb-0 bg-white timeline\" *ngIf=\"(mode$ | async) === modes.timeline\">\n <div class=\"calendar-head d-flex\">\n <button class=\"btn flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <div class=\"flex-grow-1 h3 py-2 mb-0 text-center\">{{ currentWeekOrMonth$ | async | date: 'MMMM yyyy' }}</div>\n <button class=\"btn flex-start\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n \n <div class=\"calendar-body table-responsive overflow-x-auto\">\n <table class=\"table mb-0\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <tr>\n <td></td>\n <td *ngFor=\"let day of timeSlots\" [attr.colspan]=\"day.slots.length\" class=\"text-center px-2\">\n <span class=\"position-sticky day-label\">{{ day.stamp | date: 'd EE' }}</span>\n </td>\n </tr>\n <tr>\n <td></td>\n <ng-container *ngIf=\"(timelineOptions$ | async) as timelineOptions\">\n <ng-container *ngFor=\"let day of timeSlots\">\n <td *ngFor=\"let slot of day.slots\">\n <span class=\"d-block p-0 text-center\" [style.width.px]=\"timelineOptions.unitWidth\">\n {{ slot.start | date: 'HH:mm' }}\n </span>\n </td>\n </ng-container>\n </ng-container>\n </tr>\n <bs-resource-group-presenter *ngFor=\"let group of (resources$ | async)\" [resourceGroup]=\"group\" [timeSlots]=\"timeSlots\"></bs-resource-group-presenter>\n </ng-container>\n </table>\n </div>\n</div>", styles: [":host{display:block;border:1px solid #333;border-top-right-radius:10px;border-top-left-radius:10px;overflow:hidden}.calendar-head{background:#F7F7F7;color:#007aff}.tabel .calendar-head{flex:0 0 auto}.tabel .calendar-body{display:block;flex:1 1 auto}.week-schedule .calendar-head>div{padding-right:18px}.week-schedule .calendar-body{overflow-y:scroll;overflow-x:hidden}.week-schedule .calendar-body .calendar-cell{border-right:1px solid #DEE2E6;border-bottom:1px solid #DEE2E6;cursor:default}.week-schedule .calendar-body .calendar-cell.hover{border-top-width:3px}.week-schedule .calendar-left{width:90px}.week-schedule .event{z-index:5;width:calc((100% - 90px) / 7);height:100px;overflow:hidden;position:absolute;-webkit-user-select:none;user-select:none;pointer-events:none}.week-schedule .event.preview{background:#666;opacity:.6}.week-schedule .event .event-border{background:black;top:0;left:0;bottom:3px;width:3px;position:absolute;z-index:10;opacity:.3}.week-schedule .event .event-inner{position:relative;inset:0 5px 5px 0;cursor:move;pointer-events:all;overflow:hidden}.week-schedule .event .event-inner .event-wrapper{width:calc(100% - 2px);margin:1px auto 1px 0;height:calc(100% - 3px)}.week-schedule .event .event-inner .event-wrapper .event-bg{opacity:.5;height:100%;transition:opacity .15s ease-in-out}.week-schedule .event .event-inner .event-wrapper .event-label{position:absolute;top:0;font-size:12px;font-weight:600;padding:4px}.week-schedule .event .event-inner .event-resize{position:absolute;cursor:ns-resize;height:4px;left:0;right:0;z-index:400}.week-schedule .event .event-inner .event-resize.top{top:0}.week-schedule .event .event-inner .event-resize.bottom{bottom:0}.week-schedule .event .event-inner .event-resize:hover{background:#DDD}.week-schedule .event .event-inner.hover .event-bg{opacity:.7!important}@media (max-width: 767px){.week-schedule.tabel .calendar-head .calendar-head-cell{text-orientation:sideways;writing-mode:vertical-rl}}.timeline.tabel{flex-flow:column}.timeline .calendar-body .tabel{background-color:#f7f7f7}.timeline .calendar-body .tabel tr:first-child td{background-color:#fff;border:1px solid #000}.timeline .calendar-body .tabel tr:first-child td:first-child{min-width:10rem}.timeline .calendar-body .tabel tr:first-child span.day-label{left:0;right:0}.timeline .calendar-body .tabel tr:nth-child(2) td{border-width:1px;border-color:inherit}.timeline .calendar-body .tabel>:not(:first-child){border-top:none!important}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: ["level", "resourceGroup", "timeSlots", "isExpanded"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.DatePipe, name: "date" }, { kind: "pipe", type: BsSecondsTimespanPipe, name: "bsSecondsTimespan" }, { kind: "pipe", type: BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" }, { kind: "pipe", type: DayOfWeekPipe, name: "dayOfWeek" }] }); }
712
697
  }
713
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSchedulerComponent, decorators: [{
698
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSchedulerComponent, decorators: [{
714
699
  type: Component,
715
700
  args: [{ selector: 'bs-scheduler', template: "<div class=\"d-flex flex-column w-100 overflow-y-auto mb-0 week-schedule\" [style.max-height.px]=\"null\"\n *ngIf=\"(mode$ | async) === modes.week\">\n <div class=\"calendar-head\">\n <div class=\"w-100 d-flex flex-row\">\n <div class=\"d-flex calendar-left justify-content-between\">\n <button class=\"btn btn-default flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <button class=\"btn btn-default flex-end\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n <div class=\"flex-grow-1 calendar-head-cell\" *ngFor=\"let day of (shownDays$ | async)\">\n <span class=\"d-block col-form-label text-center text-nowrap\">\n <span>{{ day | date: 'dd-MM' }}</span><span class=\"d-none d-lg-inline-block\">-{{ day | date: 'yyyy' }}</span>\n </span>\n </div>\n </div>\n </div>\n <div class=\"calendar-body\" [style.height.px]=\"maxInnerHeight\">\n <div class=\"position-relative\" *ngIf=\"(timeSlots$ | async) as row\">\n <ng-container *ngIf=\"(weekOptions$ | async) as weekOptions\">\n <!-- Timeslots -->\n <div *ngFor=\"let timeslots of row; let i = index\" class=\"d-flex flex-row p-0 timeslot\" [style.height.px]=\"weekOptions.unitHeight\">\n <div class=\"calendar-cell calendar-left align-top px-2 py-0\">{{ timeslots.slots[0].start | date: 'HH:mm:ss' }}</div>\n <div class=\"calendar-cell flex-grow-1\" *ngFor=\"let slot of timeslots.slots; let j = index\" #slot (mousedown)=\"onCreateEvent($event, slot)\" [attr.data-row]=\"i\" [attr.data-column]=\"j\"></div>\n </div>\n\n <!-- Events -->\n <ng-container *ngIf=\"(timeSlotDuration$ | async) as timeSlotDuration\">\n <ng-container *ngIf=\"(timelinedEventPartsForThisWeek$ | async) as partData\">\n <div *ngFor=\"let eventPart of partData.parts\" class=\"event p-0\"\n [style.top.px]=\"(eventPart.part | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart.part | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner\" [class.hover]=\"(hoveredEvent$ | async) === eventPart.part.event\"\n [style.width]=\"'calc(100% / ' + partData.total + ')'\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.margin-left]=\"'calc(100% / ' + partData.total + ' * ' + eventPart.index + ')'\">\n\n <div class=\"event-resize top\"\n *ngIf=\"eventPart.part.start === eventPart.part.event?.start\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'top')\"></div>\n <div class=\"event-border\"></div>\n <div class=\"event-wrapper\" *ngIf=\"eventPart.part.event\"\n (mousedown)=\"onStartDragEvent(eventPart.part, $event)\"\n (mouseenter)=\"onHoverEvent(eventPart.part.event)\"\n (mouseleave)=\"onLeaveEvent(eventPart.part.event)\">\n <div class=\"event-bg\" [style.background-color]=\"eventPart.part.event.color\"></div>\n <div class=\"event-label\">{{ eventPart.part.event.description }}</div>\n </div>\n <div class=\"event-resize bottom\"\n *ngIf=\"eventPart.part.end === eventPart.part.event?.end\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'bottom')\"></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"(previewEventPartsForThisWeek$ | async) as previewPartData\">\n <div *ngFor=\"let eventPart of previewPartData\" class=\"event preview p-0\"\n [style.top.px]=\"(eventPart | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner w-100\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\">\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n<div class=\"d-flex flex-column-100 overflow-y-auto mb-0 bg-white timeline\" *ngIf=\"(mode$ | async) === modes.timeline\">\n <div class=\"calendar-head d-flex\">\n <button class=\"btn flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <div class=\"flex-grow-1 h3 py-2 mb-0 text-center\">{{ currentWeekOrMonth$ | async | date: 'MMMM yyyy' }}</div>\n <button class=\"btn flex-start\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n \n <div class=\"calendar-body table-responsive overflow-x-auto\">\n <table class=\"table mb-0\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <tr>\n <td></td>\n <td *ngFor=\"let day of timeSlots\" [attr.colspan]=\"day.slots.length\" class=\"text-center px-2\">\n <span class=\"position-sticky day-label\">{{ day.stamp | date: 'd EE' }}</span>\n </td>\n </tr>\n <tr>\n <td></td>\n <ng-container *ngIf=\"(timelineOptions$ | async) as timelineOptions\">\n <ng-container *ngFor=\"let day of timeSlots\">\n <td *ngFor=\"let slot of day.slots\">\n <span class=\"d-block p-0 text-center\" [style.width.px]=\"timelineOptions.unitWidth\">\n {{ slot.start | date: 'HH:mm' }}\n </span>\n </td>\n </ng-container>\n </ng-container>\n </tr>\n <bs-resource-group-presenter *ngFor=\"let group of (resources$ | async)\" [resourceGroup]=\"group\" [timeSlots]=\"timeSlots\"></bs-resource-group-presenter>\n </ng-container>\n </table>\n </div>\n</div>", styles: [":host{display:block;border:1px solid #333;border-top-right-radius:10px;border-top-left-radius:10px;overflow:hidden}.calendar-head{background:#F7F7F7;color:#007aff}.tabel .calendar-head{flex:0 0 auto}.tabel .calendar-body{display:block;flex:1 1 auto}.week-schedule .calendar-head>div{padding-right:18px}.week-schedule .calendar-body{overflow-y:scroll;overflow-x:hidden}.week-schedule .calendar-body .calendar-cell{border-right:1px solid #DEE2E6;border-bottom:1px solid #DEE2E6;cursor:default}.week-schedule .calendar-body .calendar-cell.hover{border-top-width:3px}.week-schedule .calendar-left{width:90px}.week-schedule .event{z-index:5;width:calc((100% - 90px) / 7);height:100px;overflow:hidden;position:absolute;-webkit-user-select:none;user-select:none;pointer-events:none}.week-schedule .event.preview{background:#666;opacity:.6}.week-schedule .event .event-border{background:black;top:0;left:0;bottom:3px;width:3px;position:absolute;z-index:10;opacity:.3}.week-schedule .event .event-inner{position:relative;inset:0 5px 5px 0;cursor:move;pointer-events:all;overflow:hidden}.week-schedule .event .event-inner .event-wrapper{width:calc(100% - 2px);margin:1px auto 1px 0;height:calc(100% - 3px)}.week-schedule .event .event-inner .event-wrapper .event-bg{opacity:.5;height:100%;transition:opacity .15s ease-in-out}.week-schedule .event .event-inner .event-wrapper .event-label{position:absolute;top:0;font-size:12px;font-weight:600;padding:4px}.week-schedule .event .event-inner .event-resize{position:absolute;cursor:ns-resize;height:4px;left:0;right:0;z-index:400}.week-schedule .event .event-inner .event-resize.top{top:0}.week-schedule .event .event-inner .event-resize.bottom{bottom:0}.week-schedule .event .event-inner .event-resize:hover{background:#DDD}.week-schedule .event .event-inner.hover .event-bg{opacity:.7!important}@media (max-width: 767px){.week-schedule.tabel .calendar-head .calendar-head-cell{text-orientation:sideways;writing-mode:vertical-rl}}.timeline.tabel{flex-flow:column}.timeline .calendar-body .tabel{background-color:#f7f7f7}.timeline .calendar-body .tabel tr:first-child td{background-color:#fff;border:1px solid #000}.timeline .calendar-body .tabel tr:first-child td:first-child{min-width:10rem}.timeline .calendar-body .tabel tr:first-child span.day-label{left:0;right:0}.timeline .calendar-body .tabel tr:nth-child(2) td{border-width:1px;border-color:inherit}.timeline .calendar-body .tabel>:not(:first-child){border-top:none!important}\n"] }]
716
701
  }], ctorParameters: function () { return [{ type: i1.BsCalendarMonthService }, { type: BsTimelineService }]; }, propDecorators: { timeSlotElements: [{
@@ -760,10 +745,10 @@ class DateOffsetPipe {
760
745
  today.setSeconds(0);
761
746
  return (value.start.getTime() - today.getTime()) / 1000;
762
747
  }
763
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DateOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
764
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: DateOffsetPipe, name: "dateOffset" }); }
748
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DateOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
749
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: DateOffsetPipe, name: "dateOffset" }); }
765
750
  }
766
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DateOffsetPipe, decorators: [{
751
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DateOffsetPipe, decorators: [{
767
752
  type: Pipe,
768
753
  args: [{
769
754
  name: 'dateOffset'
@@ -771,8 +756,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
771
756
  }] });
772
757
 
773
758
  class BsSchedulerModule {
774
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
775
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: BsSchedulerModule, declarations: [BsSchedulerComponent,
759
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
760
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: BsSchedulerModule, declarations: [BsSchedulerComponent,
776
761
  BsSecondsTimespanPipe,
777
762
  BsSecondsTodayOffsetPipe,
778
763
  DateOffsetPipe,
@@ -780,10 +765,10 @@ class BsSchedulerModule {
780
765
  ResourceGroupPresenterComponent], imports: [CommonModule,
781
766
  BsIconModule], exports: [BsSchedulerComponent,
782
767
  ResourceGroupPresenterComponent] }); }
783
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSchedulerModule, imports: [CommonModule,
768
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSchedulerModule, imports: [CommonModule,
784
769
  BsIconModule] }); }
785
770
  }
786
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: BsSchedulerModule, decorators: [{
771
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BsSchedulerModule, decorators: [{
787
772
  type: NgModule,
788
773
  args: [{
789
774
  declarations: [