@dereekb/dbx-web 10.1.30 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (454) hide show
  1. package/calendar/esm2022/lib/calendar.base.component.mjs +27 -30
  2. package/calendar/esm2022/lib/calendar.component.mjs +21 -24
  3. package/calendar/esm2022/lib/calendar.module.mjs +9 -9
  4. package/calendar/esm2022/lib/calendar.store.mjs +89 -89
  5. package/calendar/fesm2022/dereekb-dbx-web-calendar.mjs +137 -141
  6. package/calendar/fesm2022/dereekb-dbx-web-calendar.mjs.map +1 -1
  7. package/calendar/lib/calendar.base.component.d.ts +0 -1
  8. package/calendar/lib/calendar.component.d.ts +1 -2
  9. package/calendar/package.json +1 -1
  10. package/esm2022/calendar/lib/calendar.base.component.mjs +27 -30
  11. package/esm2022/calendar/lib/calendar.component.mjs +21 -24
  12. package/esm2022/calendar/lib/calendar.module.mjs +9 -9
  13. package/esm2022/calendar/lib/calendar.store.mjs +89 -89
  14. package/esm2022/lib/action/action.confirm.directive.mjs +8 -15
  15. package/esm2022/lib/action/action.module.mjs +4 -4
  16. package/esm2022/lib/action/key.trigger.directive.mjs +7 -11
  17. package/esm2022/lib/action/snackbar/action.snackbar.component.mjs +40 -48
  18. package/esm2022/lib/action/snackbar/action.snackbar.directive.mjs +10 -14
  19. package/esm2022/lib/action/snackbar/action.snackbar.module.mjs +4 -4
  20. package/esm2022/lib/action/snackbar/action.snackbar.service.mjs +14 -21
  21. package/esm2022/lib/action/transition/action.transition.module.mjs +4 -4
  22. package/esm2022/lib/action/transition/transition.safety.dialog.component.mjs +11 -14
  23. package/esm2022/lib/action/transition/transition.safety.directive.mjs +15 -20
  24. package/esm2022/lib/button/button.component.mjs +10 -9
  25. package/esm2022/lib/button/button.module.mjs +4 -4
  26. package/esm2022/lib/button/button.spacer.component.mjs +3 -3
  27. package/esm2022/lib/button/icon/icon.button.component.mjs +4 -4
  28. package/esm2022/lib/button/icon/icon.button.module.mjs +6 -6
  29. package/esm2022/lib/button/progress/bar.button.component.mjs +4 -7
  30. package/esm2022/lib/button/progress/base.progress.button.directive.mjs +45 -53
  31. package/esm2022/lib/button/progress/button.progress.module.mjs +4 -4
  32. package/esm2022/lib/button/progress/spinner.button.component.mjs +15 -17
  33. package/esm2022/lib/dbx-web.module.mjs +4 -4
  34. package/esm2022/lib/error/default.error.widget.component.mjs +4 -4
  35. package/esm2022/lib/error/error.action.directive.mjs +7 -14
  36. package/esm2022/lib/error/error.component.mjs +57 -62
  37. package/esm2022/lib/error/error.details.component.mjs +5 -4
  38. package/esm2022/lib/error/error.loading.directive.mjs +6 -12
  39. package/esm2022/lib/error/error.module.mjs +5 -5
  40. package/esm2022/lib/error/error.popover.component.mjs +4 -4
  41. package/esm2022/lib/error/error.snackbar.action.directive.mjs +8 -12
  42. package/esm2022/lib/error/error.snackbar.component.mjs +16 -22
  43. package/esm2022/lib/error/error.snackbar.service.mjs +12 -15
  44. package/esm2022/lib/error/error.view.component.mjs +12 -7
  45. package/esm2022/lib/error/error.widget.component.mjs +33 -36
  46. package/esm2022/lib/error/error.widget.directive.mjs +6 -11
  47. package/esm2022/lib/error/error.widget.service.mjs +4 -4
  48. package/esm2022/lib/extension/download/text/download.text.component.mjs +79 -82
  49. package/esm2022/lib/extension/download/text/download.text.module.mjs +6 -6
  50. package/esm2022/lib/extension/model/model.module.mjs +11 -11
  51. package/esm2022/lib/extension/model/model.state.service.mjs +6 -9
  52. package/esm2022/lib/extension/model/model.tracker.service.mjs +11 -13
  53. package/esm2022/lib/extension/model/model.tracker.view.storage.mjs +13 -13
  54. package/esm2022/lib/extension/model/model.types.service.mjs +34 -36
  55. package/esm2022/lib/extension/model/state/effects/tracker.effects.mjs +13 -17
  56. package/esm2022/lib/extension/structure/structure.body.directive.mjs +4 -4
  57. package/esm2022/lib/extension/structure/structure.module.mjs +6 -6
  58. package/esm2022/lib/extension/structure/structure.structure.directive.mjs +8 -10
  59. package/esm2022/lib/extension/widget/widget.component.mjs +22 -25
  60. package/esm2022/lib/extension/widget/widget.directive.mjs +6 -11
  61. package/esm2022/lib/extension/widget/widget.list.component.mjs +17 -20
  62. package/esm2022/lib/extension/widget/widget.module.mjs +6 -6
  63. package/esm2022/lib/extension/widget/widget.service.mjs +4 -6
  64. package/esm2022/lib/interaction/dialog/abstract.dialog.directive.mjs +8 -21
  65. package/esm2022/lib/interaction/dialog/dialog.action.directive.mjs +11 -10
  66. package/esm2022/lib/interaction/dialog/dialog.content.close.component.mjs +6 -8
  67. package/esm2022/lib/interaction/dialog/dialog.content.component.mjs +4 -6
  68. package/esm2022/lib/interaction/dialog/dialog.content.footer.component.mjs +7 -9
  69. package/esm2022/lib/interaction/dialog/dialog.module.mjs +4 -4
  70. package/esm2022/lib/interaction/filter/filter.module.mjs +6 -6
  71. package/esm2022/lib/interaction/filter/filter.partial.list.component.mjs +4 -4
  72. package/esm2022/lib/interaction/filter/filter.partial.menu.component.mjs +6 -9
  73. package/esm2022/lib/interaction/filter/filter.partial.mjs +24 -27
  74. package/esm2022/lib/interaction/filter/filter.popover.button.component.mjs +7 -8
  75. package/esm2022/lib/interaction/filter/filter.popover.button.directive.mjs +7 -10
  76. package/esm2022/lib/interaction/filter/filter.popover.component.mjs +52 -57
  77. package/esm2022/lib/interaction/filter/filter.preset.directive.mjs +90 -0
  78. package/esm2022/lib/interaction/filter/filter.preset.list.component.mjs +6 -6
  79. package/esm2022/lib/interaction/filter/filter.preset.menu.component.mjs +8 -11
  80. package/esm2022/lib/interaction/filter/filter.wrapper.component.mjs +15 -15
  81. package/esm2022/lib/interaction/interaction.module.mjs +4 -4
  82. package/esm2022/lib/interaction/popover/abstract.popover.directive.mjs +6 -9
  83. package/esm2022/lib/interaction/popover/abstract.popover.ref.directive.mjs +8 -10
  84. package/esm2022/lib/interaction/popover/popover.action.directive.mjs +11 -10
  85. package/esm2022/lib/interaction/popover/popover.close.component.mjs +9 -12
  86. package/esm2022/lib/interaction/popover/popover.component.mjs +27 -27
  87. package/esm2022/lib/interaction/popover/popover.content.component.mjs +8 -10
  88. package/esm2022/lib/interaction/popover/popover.content.module.mjs +4 -4
  89. package/esm2022/lib/interaction/popover/popover.controls.directive.mjs +9 -11
  90. package/esm2022/lib/interaction/popover/popover.coordinator.component.mjs +14 -17
  91. package/esm2022/lib/interaction/popover/popover.coordinator.service.mjs +5 -7
  92. package/esm2022/lib/interaction/popover/popover.header.component.mjs +15 -15
  93. package/esm2022/lib/interaction/popover/popover.module.mjs +4 -4
  94. package/esm2022/lib/interaction/popover/popover.scroll.content.component.mjs +7 -10
  95. package/esm2022/lib/interaction/popover/popover.service.mjs +8 -11
  96. package/esm2022/lib/interaction/popup/abstract.popup.directive.mjs +6 -9
  97. package/esm2022/lib/interaction/popup/popup.component.mjs +25 -24
  98. package/esm2022/lib/interaction/popup/popup.content.component.mjs +9 -12
  99. package/esm2022/lib/interaction/popup/popup.controls.buttons.component.mjs +17 -20
  100. package/esm2022/lib/interaction/popup/popup.controls.component.mjs +5 -4
  101. package/esm2022/lib/interaction/popup/popup.coordinator.component.mjs +13 -17
  102. package/esm2022/lib/interaction/popup/popup.coordinator.service.mjs +5 -7
  103. package/esm2022/lib/interaction/popup/popup.module.mjs +4 -4
  104. package/esm2022/lib/interaction/popup/popup.position.strategy.mjs +3 -2
  105. package/esm2022/lib/interaction/popup/popup.service.mjs +8 -11
  106. package/esm2022/lib/interaction/prompt/prompt.box.component.mjs +5 -7
  107. package/esm2022/lib/interaction/prompt/prompt.button.confirm.directive.mjs +12 -20
  108. package/esm2022/lib/interaction/prompt/prompt.component.mjs +6 -4
  109. package/esm2022/lib/interaction/prompt/prompt.confirm.component.mjs +6 -8
  110. package/esm2022/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +4 -4
  111. package/esm2022/lib/interaction/prompt/prompt.confirm.directive.mjs +12 -15
  112. package/esm2022/lib/interaction/prompt/prompt.module.mjs +4 -4
  113. package/esm2022/lib/interaction/prompt/prompt.page.component.mjs +4 -4
  114. package/esm2022/lib/keypress/keydown.listener.directive.mjs +6 -7
  115. package/esm2022/lib/keypress/keypress.module.mjs +4 -4
  116. package/esm2022/lib/layout/bar/bar.directive.mjs +4 -3
  117. package/esm2022/lib/layout/bar/bar.header.component.mjs +7 -4
  118. package/esm2022/lib/layout/bar/bar.layout.module.mjs +4 -4
  119. package/esm2022/lib/layout/bar/pagebar.component.mjs +4 -3
  120. package/esm2022/lib/layout/block/block.layout.module.mjs +4 -4
  121. package/esm2022/lib/layout/block/two.block.component.mjs +9 -10
  122. package/esm2022/lib/layout/card/card.box.component.mjs +6 -4
  123. package/esm2022/lib/layout/card/card.box.container.component.mjs +4 -4
  124. package/esm2022/lib/layout/card/card.box.layout.module.mjs +4 -4
  125. package/esm2022/lib/layout/column/column.layout.module.mjs +4 -4
  126. package/esm2022/lib/layout/column/one/one.column.component.mjs +10 -14
  127. package/esm2022/lib/layout/column/one/one.column.module.mjs +4 -4
  128. package/esm2022/lib/layout/column/two/two.column.back.directive.mjs +7 -11
  129. package/esm2022/lib/layout/column/two/two.column.component.mjs +17 -21
  130. package/esm2022/lib/layout/column/two/two.column.context.directive.mjs +7 -10
  131. package/esm2022/lib/layout/column/two/two.column.full.left.directive.mjs +7 -10
  132. package/esm2022/lib/layout/column/two/two.column.head.component.mjs +6 -4
  133. package/esm2022/lib/layout/column/two/two.column.module.mjs +4 -4
  134. package/esm2022/lib/layout/column/two/two.column.right.component.mjs +15 -19
  135. package/esm2022/lib/layout/column/two/two.column.sref.directive.mjs +6 -9
  136. package/esm2022/lib/layout/column/two/two.column.sref.showright.directive.mjs +10 -15
  137. package/esm2022/lib/layout/column/two/two.column.store.mjs +81 -81
  138. package/esm2022/lib/layout/compact/compact.directive.mjs +7 -10
  139. package/esm2022/lib/layout/compact/compact.layout.module.mjs +4 -4
  140. package/esm2022/lib/layout/compact/compact.store.mjs +6 -6
  141. package/esm2022/lib/layout/content/content.border.directive.mjs +4 -6
  142. package/esm2022/lib/layout/content/content.box.directive.mjs +5 -7
  143. package/esm2022/lib/layout/content/content.container.directive.mjs +6 -8
  144. package/esm2022/lib/layout/content/content.directive.mjs +3 -3
  145. package/esm2022/lib/layout/content/content.elevate.directive.mjs +4 -6
  146. package/esm2022/lib/layout/content/content.layout.module.mjs +5 -5
  147. package/esm2022/lib/layout/content/content.page.directive.mjs +3 -3
  148. package/esm2022/lib/layout/content/content.pit.directive.mjs +4 -3
  149. package/esm2022/lib/layout/flag/flag.component.mjs +5 -7
  150. package/esm2022/lib/layout/flag/flag.layout.module.mjs +4 -4
  151. package/esm2022/lib/layout/flag/flag.prompt.component.mjs +6 -7
  152. package/esm2022/lib/layout/flex/flex.group.directive.mjs +14 -15
  153. package/esm2022/lib/layout/flex/flex.layout.module.mjs +4 -4
  154. package/esm2022/lib/layout/flex/flex.size.directive.mjs +4 -6
  155. package/esm2022/lib/layout/item/item.icon.component.mjs +6 -4
  156. package/esm2022/lib/layout/item/item.layout.module.mjs +4 -4
  157. package/esm2022/lib/layout/layout.module.mjs +4 -4
  158. package/esm2022/lib/layout/list/list.component.mjs +102 -103
  159. package/esm2022/lib/layout/list/list.content.empty.component.mjs +4 -4
  160. package/esm2022/lib/layout/list/list.directive.mjs +14 -15
  161. package/esm2022/lib/layout/list/list.grid.view.component.mjs +27 -39
  162. package/esm2022/lib/layout/list/list.grid.view.directive.mjs +3 -3
  163. package/esm2022/lib/layout/list/list.layout.module.mjs +5 -5
  164. package/esm2022/lib/layout/list/list.view.directive.mjs +11 -12
  165. package/esm2022/lib/layout/list/list.view.meta.icon.component.mjs +9 -19
  166. package/esm2022/lib/layout/list/list.view.selection.directive.mjs +4 -7
  167. package/esm2022/lib/layout/list/list.view.value.component.mjs +36 -43
  168. package/esm2022/lib/layout/list/list.view.value.directive.mjs +11 -17
  169. package/esm2022/lib/layout/list/list.view.value.group.title.directive.mjs +57 -59
  170. package/esm2022/lib/layout/list/list.view.value.item.directive.mjs +6 -11
  171. package/esm2022/lib/layout/list/list.view.value.modifier.directive.mjs +15 -19
  172. package/esm2022/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +14 -17
  173. package/esm2022/lib/layout/list/list.view.value.modifier.selection.directive.mjs +13 -16
  174. package/esm2022/lib/layout/list/list.view.value.selection.component.mjs +20 -29
  175. package/esm2022/lib/layout/list/list.wrapper.mjs +3 -1
  176. package/esm2022/lib/layout/section/section.component.mjs +5 -8
  177. package/esm2022/lib/layout/section/section.header.component.mjs +12 -7
  178. package/esm2022/lib/layout/section/section.intro.component.mjs +7 -8
  179. package/esm2022/lib/layout/section/section.layout.module.mjs +4 -4
  180. package/esm2022/lib/layout/section/section.page.component.mjs +6 -9
  181. package/esm2022/lib/layout/section/subsection.component.mjs +4 -4
  182. package/esm2022/lib/layout/step/step.component.mjs +7 -3
  183. package/esm2022/lib/layout/step/step.layout.module.mjs +4 -4
  184. package/esm2022/lib/layout/style/spacer.directive.mjs +3 -3
  185. package/esm2022/lib/layout/style/style.body.directive.mjs +14 -15
  186. package/esm2022/lib/layout/style/style.color.directive.mjs +4 -6
  187. package/esm2022/lib/layout/style/style.directive.mjs +15 -13
  188. package/esm2022/lib/layout/style/style.layout.module.mjs +4 -4
  189. package/esm2022/lib/layout/style/style.service.mjs +18 -26
  190. package/esm2022/lib/layout/style/style.set.directive.mjs +15 -16
  191. package/esm2022/lib/layout/text/address.component.mjs +5 -4
  192. package/esm2022/lib/layout/text/compat/form.description.component.mjs +19 -0
  193. package/esm2022/lib/layout/text/compat/hint.component.mjs +19 -0
  194. package/esm2022/lib/layout/text/compat/index.mjs +10 -0
  195. package/esm2022/lib/layout/text/compat/label.component.mjs +19 -0
  196. package/esm2022/lib/layout/text/compat/note.component.mjs +19 -0
  197. package/esm2022/lib/layout/text/compat/notice.component.mjs +19 -0
  198. package/esm2022/lib/layout/text/compat/ok.component.mjs +19 -0
  199. package/esm2022/lib/layout/text/compat/success.component.mjs +19 -0
  200. package/esm2022/lib/layout/text/compat/text.compat.module.mjs +32 -0
  201. package/esm2022/lib/layout/text/compat/warn.component.mjs +19 -0
  202. package/esm2022/lib/layout/text/detail.block.component.mjs +6 -4
  203. package/esm2022/lib/layout/text/detail.block.header.component.mjs +6 -4
  204. package/esm2022/lib/layout/text/icon.spacer.component.mjs +3 -3
  205. package/esm2022/lib/layout/text/index.mjs +2 -9
  206. package/esm2022/lib/layout/text/label.block.component.mjs +7 -7
  207. package/esm2022/lib/layout/text/linkify.component.mjs +20 -23
  208. package/esm2022/lib/layout/text/text.chip.directive.mjs +5 -3
  209. package/esm2022/lib/layout/text/text.chips.component.mjs +6 -4
  210. package/esm2022/lib/layout/text/text.module.mjs +5 -13
  211. package/esm2022/lib/loading/basic-loading.component.mjs +33 -33
  212. package/esm2022/lib/loading/loading-progress.component.mjs +11 -10
  213. package/esm2022/lib/loading/loading.action.directive.mjs +8 -14
  214. package/esm2022/lib/loading/loading.component.mjs +33 -27
  215. package/esm2022/lib/loading/loading.module.mjs +4 -4
  216. package/esm2022/lib/router/layout/anchor/anchor.component.mjs +14 -17
  217. package/esm2022/lib/router/layout/anchor/anchor.content.component.mjs +14 -19
  218. package/esm2022/lib/router/layout/anchor/anchor.icon.component.mjs +5 -4
  219. package/esm2022/lib/router/layout/anchor/anchor.link.component.mjs +5 -4
  220. package/esm2022/lib/router/layout/anchor/anchor.module.mjs +4 -4
  221. package/esm2022/lib/router/layout/anchor/anchor.segue.directive.mjs +13 -16
  222. package/esm2022/lib/router/layout/anchorlist/anchorlist.component.mjs +8 -10
  223. package/esm2022/lib/router/layout/anchorlist/anchorlist.module.mjs +4 -4
  224. package/esm2022/lib/router/layout/layout.module.mjs +4 -4
  225. package/esm2022/lib/router/layout/list/list.module.mjs +4 -4
  226. package/esm2022/lib/router/layout/list/router.list.directive.mjs +16 -19
  227. package/esm2022/lib/router/layout/navbar/navbar.component.mjs +65 -70
  228. package/esm2022/lib/router/layout/navbar/navbar.module.mjs +6 -6
  229. package/esm2022/lib/router/layout/sidenav/sidenav.button.component.mjs +13 -16
  230. package/esm2022/lib/router/layout/sidenav/sidenav.component.mjs +54 -57
  231. package/esm2022/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.mjs +10 -14
  232. package/esm2022/lib/router/layout/sidenav/sidenav.module.mjs +4 -4
  233. package/esm2022/lib/router/layout/sidenav/sidenav.page.component.mjs +13 -14
  234. package/esm2022/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +5 -4
  235. package/esm2022/lib/router/provider/ngrouter/anchor.component.mjs +3 -3
  236. package/esm2022/lib/router/provider/ngrouter/angular.router.module.mjs +4 -4
  237. package/esm2022/lib/router/provider/uirouter/anchor.component.mjs +5 -8
  238. package/esm2022/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -4
  239. package/esm2022/lib/screen/screen.module.mjs +4 -4
  240. package/esm2022/lib/screen/screen.service.mjs +19 -12
  241. package/esm2022/mapbox/lib/mapbox.change.service.mjs +15 -18
  242. package/esm2022/mapbox/lib/mapbox.injection.component.mjs +10 -14
  243. package/esm2022/mapbox/lib/mapbox.injection.store.mjs +8 -8
  244. package/esm2022/mapbox/lib/mapbox.injection.store.provide.mjs +8 -13
  245. package/esm2022/mapbox/lib/mapbox.layout.component.mjs +47 -46
  246. package/esm2022/mapbox/lib/mapbox.layout.drawer.component.mjs +9 -12
  247. package/esm2022/mapbox/lib/mapbox.layout.resize.sync.directive.mjs +17 -23
  248. package/esm2022/mapbox/lib/mapbox.marker.component.mjs +13 -17
  249. package/esm2022/mapbox/lib/mapbox.markers.component.mjs +14 -16
  250. package/esm2022/mapbox/lib/mapbox.menu.component.mjs +14 -21
  251. package/esm2022/mapbox/lib/mapbox.module.mjs +6 -6
  252. package/esm2022/mapbox/lib/mapbox.service.mjs +10 -10
  253. package/esm2022/mapbox/lib/mapbox.store.map.directive.mjs +9 -22
  254. package/esm2022/mapbox/lib/mapbox.store.mjs +395 -399
  255. package/esm2022/mapbox/lib/mapbox.store.provide.mjs +8 -13
  256. package/esm2022/table/lib/date/date.table.column.header.component.mjs +8 -8
  257. package/esm2022/table/lib/date/daterange.table.cell.input.component.mjs +37 -43
  258. package/esm2022/table/lib/date/table.date.module.mjs +6 -6
  259. package/esm2022/table/lib/table.cell.action.component.mjs +10 -13
  260. package/esm2022/table/lib/table.cell.input.component.mjs +10 -13
  261. package/esm2022/table/lib/table.cell.summaryend.component.mjs +10 -13
  262. package/esm2022/table/lib/table.cell.summarystart.component.mjs +10 -13
  263. package/esm2022/table/lib/table.column.directive.mjs +8 -11
  264. package/esm2022/table/lib/table.column.footer.component.mjs +13 -16
  265. package/esm2022/table/lib/table.column.header.component.mjs +13 -16
  266. package/esm2022/table/lib/table.component.mjs +35 -38
  267. package/esm2022/table/lib/table.directive.mjs +6 -9
  268. package/esm2022/table/lib/table.item.action.component.mjs +13 -16
  269. package/esm2022/table/lib/table.item.cell.component.mjs +7 -10
  270. package/esm2022/table/lib/table.item.directive.mjs +8 -11
  271. package/esm2022/table/lib/table.item.header.component.mjs +5 -8
  272. package/esm2022/table/lib/table.module.mjs +6 -6
  273. package/esm2022/table/lib/table.store.mjs +36 -36
  274. package/fesm2022/dereekb-dbx-web-calendar.mjs +137 -141
  275. package/fesm2022/dereekb-dbx-web-calendar.mjs.map +1 -1
  276. package/fesm2022/dereekb-dbx-web-mapbox.mjs +552 -594
  277. package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
  278. package/fesm2022/dereekb-dbx-web-table.mjs +197 -232
  279. package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
  280. package/fesm2022/dereekb-dbx-web.mjs +2243 -2460
  281. package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
  282. package/lib/action/action.confirm.directive.d.ts +1 -3
  283. package/lib/action/key.trigger.directive.d.ts +1 -2
  284. package/lib/action/snackbar/action.snackbar.component.d.ts +4 -5
  285. package/lib/action/snackbar/action.snackbar.directive.d.ts +2 -3
  286. package/lib/action/snackbar/action.snackbar.service.d.ts +1 -2
  287. package/lib/action/transition/transition.safety.directive.d.ts +1 -2
  288. package/lib/button/progress/base.progress.button.directive.d.ts +7 -8
  289. package/lib/error/error.action.directive.d.ts +2 -3
  290. package/lib/error/error.component.d.ts +2 -3
  291. package/lib/error/error.loading.directive.d.ts +1 -2
  292. package/lib/error/error.snackbar.action.directive.d.ts +1 -2
  293. package/lib/error/error.snackbar.component.d.ts +2 -3
  294. package/lib/error/error.snackbar.service.d.ts +0 -1
  295. package/lib/error/error.widget.component.d.ts +0 -1
  296. package/lib/error/error.widget.directive.d.ts +0 -1
  297. package/lib/extension/download/text/download.text.component.d.ts +3 -6
  298. package/lib/extension/model/model.module.d.ts +3 -3
  299. package/lib/extension/model/model.state.service.d.ts +1 -3
  300. package/lib/extension/model/model.tracker.service.d.ts +1 -3
  301. package/lib/extension/model/model.tracker.view.storage.d.ts +5 -3
  302. package/lib/extension/model/model.types.service.d.ts +2 -3
  303. package/lib/extension/model/state/effects/tracker.effects.d.ts +0 -3
  304. package/lib/extension/structure/structure.structure.directive.d.ts +1 -2
  305. package/lib/extension/widget/widget.component.d.ts +0 -1
  306. package/lib/extension/widget/widget.directive.d.ts +0 -1
  307. package/lib/interaction/dialog/abstract.dialog.directive.d.ts +3 -5
  308. package/lib/interaction/dialog/dialog.action.directive.d.ts +3 -3
  309. package/lib/interaction/filter/filter.partial.d.ts +1 -2
  310. package/lib/interaction/filter/filter.popover.button.directive.d.ts +0 -2
  311. package/lib/interaction/filter/filter.popover.component.d.ts +0 -2
  312. package/lib/interaction/filter/{filter.preset.d.ts → filter.preset.directive.d.ts} +5 -6
  313. package/lib/interaction/filter/filter.preset.list.component.d.ts +2 -2
  314. package/lib/interaction/filter/filter.preset.menu.component.d.ts +2 -2
  315. package/lib/interaction/filter/filter.wrapper.component.d.ts +3 -3
  316. package/lib/interaction/popover/abstract.popover.directive.d.ts +0 -1
  317. package/lib/interaction/popover/popover.action.directive.d.ts +3 -3
  318. package/lib/interaction/popover/popover.close.component.d.ts +1 -2
  319. package/lib/interaction/popover/popover.component.d.ts +6 -7
  320. package/lib/interaction/popover/popover.controls.directive.d.ts +3 -2
  321. package/lib/interaction/popover/popover.coordinator.component.d.ts +3 -5
  322. package/lib/interaction/popover/popover.header.component.d.ts +5 -3
  323. package/lib/interaction/popover/popover.scroll.content.component.d.ts +0 -1
  324. package/lib/interaction/popover/popover.service.d.ts +0 -2
  325. package/lib/interaction/popup/abstract.popup.directive.d.ts +0 -1
  326. package/lib/interaction/popup/popup.component.d.ts +3 -5
  327. package/lib/interaction/popup/popup.content.component.d.ts +1 -3
  328. package/lib/interaction/popup/popup.controls.buttons.component.d.ts +1 -3
  329. package/lib/interaction/popup/popup.coordinator.component.d.ts +2 -5
  330. package/lib/interaction/popup/popup.service.d.ts +0 -2
  331. package/lib/interaction/prompt/prompt.button.confirm.directive.d.ts +3 -4
  332. package/lib/interaction/prompt/prompt.confirm.component.d.ts +2 -2
  333. package/lib/interaction/prompt/prompt.confirm.directive.d.ts +1 -3
  334. package/lib/layout/column/one/one.column.component.d.ts +1 -1
  335. package/lib/layout/column/two/two.column.back.directive.d.ts +0 -1
  336. package/lib/layout/column/two/two.column.component.d.ts +4 -4
  337. package/lib/layout/column/two/two.column.context.directive.d.ts +0 -1
  338. package/lib/layout/column/two/two.column.full.left.directive.d.ts +0 -2
  339. package/lib/layout/column/two/two.column.right.component.d.ts +1 -2
  340. package/lib/layout/column/two/two.column.sref.directive.d.ts +0 -2
  341. package/lib/layout/column/two/two.column.sref.showright.directive.d.ts +1 -3
  342. package/lib/layout/compact/compact.directive.d.ts +1 -2
  343. package/lib/layout/flex/flex.group.directive.d.ts +2 -3
  344. package/lib/layout/list/list.component.d.ts +3 -4
  345. package/lib/layout/list/list.directive.d.ts +4 -5
  346. package/lib/layout/list/list.grid.view.component.d.ts +3 -5
  347. package/lib/layout/list/list.view.directive.d.ts +1 -1
  348. package/lib/layout/list/list.view.meta.icon.component.d.ts +3 -2
  349. package/lib/layout/list/list.view.selection.directive.d.ts +1 -1
  350. package/lib/layout/list/list.view.value.component.d.ts +4 -5
  351. package/lib/layout/list/list.view.value.directive.d.ts +3 -4
  352. package/lib/layout/list/list.view.value.group.title.directive.d.ts +7 -3
  353. package/lib/layout/list/list.view.value.item.directive.d.ts +0 -1
  354. package/lib/layout/list/list.view.value.modifier.directive.d.ts +0 -1
  355. package/lib/layout/list/list.view.value.selection.component.d.ts +3 -4
  356. package/lib/layout/section/section.intro.component.d.ts +1 -1
  357. package/lib/layout/style/style.body.directive.d.ts +4 -4
  358. package/lib/layout/style/style.directive.d.ts +4 -5
  359. package/lib/layout/style/style.service.d.ts +1 -2
  360. package/lib/layout/style/style.set.directive.d.ts +3 -3
  361. package/lib/layout/text/compat/index.d.ts +9 -0
  362. package/lib/layout/text/compat/text.compat.module.d.ts +21 -0
  363. package/lib/layout/text/index.d.ts +1 -8
  364. package/lib/layout/text/linkify.component.d.ts +0 -2
  365. package/lib/layout/text/text.module.d.ts +9 -17
  366. package/lib/loading/loading.action.directive.d.ts +3 -4
  367. package/lib/loading/loading.component.d.ts +0 -1
  368. package/lib/router/layout/anchor/anchor.component.d.ts +0 -2
  369. package/lib/router/layout/anchor/anchor.content.component.d.ts +3 -4
  370. package/lib/router/layout/anchor/anchor.segue.directive.d.ts +0 -1
  371. package/lib/router/layout/navbar/navbar.component.d.ts +2 -4
  372. package/lib/router/layout/sidenav/sidenav.button.component.d.ts +0 -1
  373. package/lib/router/layout/sidenav/sidenav.component.d.ts +2 -4
  374. package/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.d.ts +2 -3
  375. package/lib/router/layout/sidenav/sidenav.page.component.d.ts +0 -1
  376. package/lib/screen/screen.service.d.ts +1 -2
  377. package/mapbox/esm2022/lib/mapbox.change.service.mjs +15 -18
  378. package/mapbox/esm2022/lib/mapbox.injection.component.mjs +10 -14
  379. package/mapbox/esm2022/lib/mapbox.injection.store.mjs +8 -8
  380. package/mapbox/esm2022/lib/mapbox.injection.store.provide.mjs +8 -13
  381. package/mapbox/esm2022/lib/mapbox.layout.component.mjs +47 -46
  382. package/mapbox/esm2022/lib/mapbox.layout.drawer.component.mjs +9 -12
  383. package/mapbox/esm2022/lib/mapbox.layout.resize.sync.directive.mjs +17 -23
  384. package/mapbox/esm2022/lib/mapbox.marker.component.mjs +13 -17
  385. package/mapbox/esm2022/lib/mapbox.markers.component.mjs +14 -16
  386. package/mapbox/esm2022/lib/mapbox.menu.component.mjs +14 -21
  387. package/mapbox/esm2022/lib/mapbox.module.mjs +6 -6
  388. package/mapbox/esm2022/lib/mapbox.service.mjs +10 -10
  389. package/mapbox/esm2022/lib/mapbox.store.map.directive.mjs +9 -22
  390. package/mapbox/esm2022/lib/mapbox.store.mjs +395 -399
  391. package/mapbox/esm2022/lib/mapbox.store.provide.mjs +8 -13
  392. package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs +552 -594
  393. package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
  394. package/mapbox/lib/mapbox.change.service.d.ts +0 -1
  395. package/mapbox/lib/mapbox.injection.component.d.ts +0 -3
  396. package/mapbox/lib/mapbox.injection.store.provide.d.ts +1 -2
  397. package/mapbox/lib/mapbox.layout.component.d.ts +10 -11
  398. package/mapbox/lib/mapbox.layout.drawer.component.d.ts +0 -1
  399. package/mapbox/lib/mapbox.layout.resize.sync.directive.d.ts +3 -4
  400. package/mapbox/lib/mapbox.marker.component.d.ts +2 -4
  401. package/mapbox/lib/mapbox.menu.component.d.ts +4 -5
  402. package/mapbox/lib/mapbox.service.d.ts +1 -2
  403. package/mapbox/lib/mapbox.store.d.ts +1 -2
  404. package/mapbox/lib/mapbox.store.map.directive.d.ts +2 -3
  405. package/mapbox/lib/mapbox.store.provide.d.ts +1 -2
  406. package/mapbox/package.json +1 -1
  407. package/package.json +1 -1
  408. package/table/esm2022/lib/date/date.table.column.header.component.mjs +8 -8
  409. package/table/esm2022/lib/date/daterange.table.cell.input.component.mjs +37 -43
  410. package/table/esm2022/lib/date/table.date.module.mjs +6 -6
  411. package/table/esm2022/lib/table.cell.action.component.mjs +10 -13
  412. package/table/esm2022/lib/table.cell.input.component.mjs +10 -13
  413. package/table/esm2022/lib/table.cell.summaryend.component.mjs +10 -13
  414. package/table/esm2022/lib/table.cell.summarystart.component.mjs +10 -13
  415. package/table/esm2022/lib/table.column.directive.mjs +8 -11
  416. package/table/esm2022/lib/table.column.footer.component.mjs +13 -16
  417. package/table/esm2022/lib/table.column.header.component.mjs +13 -16
  418. package/table/esm2022/lib/table.component.mjs +35 -38
  419. package/table/esm2022/lib/table.directive.mjs +6 -9
  420. package/table/esm2022/lib/table.item.action.component.mjs +13 -16
  421. package/table/esm2022/lib/table.item.cell.component.mjs +7 -10
  422. package/table/esm2022/lib/table.item.directive.mjs +8 -11
  423. package/table/esm2022/lib/table.item.header.component.mjs +5 -8
  424. package/table/esm2022/lib/table.module.mjs +6 -6
  425. package/table/esm2022/lib/table.store.mjs +36 -36
  426. package/table/fesm2022/dereekb-dbx-web-table.mjs +197 -232
  427. package/table/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
  428. package/table/lib/date/daterange.table.cell.input.component.d.ts +3 -6
  429. package/table/lib/table.cell.action.component.d.ts +1 -2
  430. package/table/lib/table.cell.input.component.d.ts +1 -2
  431. package/table/lib/table.cell.summaryend.component.d.ts +1 -2
  432. package/table/lib/table.cell.summarystart.component.d.ts +1 -2
  433. package/table/lib/table.column.directive.d.ts +1 -2
  434. package/table/lib/table.component.d.ts +0 -1
  435. package/table/lib/table.directive.d.ts +0 -1
  436. package/table/lib/table.item.directive.d.ts +0 -1
  437. package/table/package.json +1 -1
  438. package/esm2022/lib/interaction/filter/filter.preset.mjs +0 -94
  439. package/esm2022/lib/layout/text/form.description.component.mjs +0 -19
  440. package/esm2022/lib/layout/text/hint.component.mjs +0 -19
  441. package/esm2022/lib/layout/text/label.component.mjs +0 -19
  442. package/esm2022/lib/layout/text/note.component.mjs +0 -19
  443. package/esm2022/lib/layout/text/notice.component.mjs +0 -19
  444. package/esm2022/lib/layout/text/ok.component.mjs +0 -19
  445. package/esm2022/lib/layout/text/success.component.mjs +0 -19
  446. package/esm2022/lib/layout/text/warn.component.mjs +0 -19
  447. /package/lib/layout/text/{form.description.component.d.ts → compat/form.description.component.d.ts} +0 -0
  448. /package/lib/layout/text/{hint.component.d.ts → compat/hint.component.d.ts} +0 -0
  449. /package/lib/layout/text/{label.component.d.ts → compat/label.component.d.ts} +0 -0
  450. /package/lib/layout/text/{note.component.d.ts → compat/note.component.d.ts} +0 -0
  451. /package/lib/layout/text/{notice.component.d.ts → compat/notice.component.d.ts} +0 -0
  452. /package/lib/layout/text/{ok.component.d.ts → compat/ok.component.d.ts} +0 -0
  453. /package/lib/layout/text/{success.component.d.ts → compat/success.component.d.ts} +0 -0
  454. /package/lib/layout/text/{warn.component.d.ts → compat/warn.component.d.ts} +0 -0
@@ -1,50 +1,50 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Injectable, NgModule, Directive, Input } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Injectable, inject, NgModule, Directive, Input } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import { isSameDateDay } from '@dereekb/date';
6
6
  import { filterMaybe, beginLoading, valueFromLoadingState, SubscriptionObject, loadingStateContext } from '@dereekb/rxjs';
7
7
  import { ComponentStore } from '@ngrx/component-store';
8
8
  import { switchMap, first, tap, map, distinctUntilChanged, shareReplay, combineLatest, of, BehaviorSubject, startWith, filter, throttleTime } from 'rxjs';
9
- import * as i4 from '@angular/material/datepicker';
9
+ import * as i2$1 from '@angular/material/datepicker';
10
10
  import { DateRange, MAT_DATE_RANGE_SELECTION_STRATEGY, MatDatepickerModule } from '@angular/material/datepicker';
11
- import * as i1 from '@angular/material/core';
12
- import * as i3 from '@angular/forms';
11
+ import { DateAdapter } from '@angular/material/core';
12
+ import * as i1 from '@angular/forms';
13
13
  import { FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
14
14
  import { format, addDays } from 'date-fns';
15
- import * as i5 from '@angular/material/button';
15
+ import * as i3 from '@angular/material/button';
16
16
  import { MatButtonModule } from '@angular/material/button';
17
17
  import { MatIconModule } from '@angular/material/icon';
18
- import * as i3$1 from '@dereekb/dbx-web';
18
+ import * as i2$2 from '@dereekb/dbx-web';
19
19
  import { DbxLoadingModule } from '@dereekb/dbx-web';
20
- import * as i4$1 from '@angular/material/table';
20
+ import * as i3$1 from '@angular/material/table';
21
21
  import { MatTableModule } from '@angular/material/table';
22
22
  import * as i1$1 from '@dereekb/dbx-core';
23
23
  import { DbxInjectionComponentModule } from '@dereekb/dbx-core';
24
- import * as i5$1 from 'ngx-infinite-scroll';
24
+ import * as i4 from 'ngx-infinite-scroll';
25
25
  import { InfiniteScrollModule } from 'ngx-infinite-scroll';
26
26
 
27
27
  /**
28
28
  * A table header component used for rendering date values on the header.
29
29
  */
30
30
  class DbxTableDateHeaderComponent {
31
- constructor() {
32
- this.left = 'E';
33
- this.right = 'MMM d';
34
- }
31
+ left = 'E';
32
+ right = 'MMM d';
33
+ _date;
34
+ constructor() { }
35
35
  get date() {
36
36
  return this._date;
37
37
  }
38
38
  set date(date) {
39
39
  this._date = date;
40
40
  }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableDateHeaderComponent, selector: "ng-component", ngImport: i0, template: `
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableDateHeaderComponent, selector: "ng-component", ngImport: i0, template: `
43
43
  <div *ngIf="date" class="dbx-table-date-column-header">
44
44
  <span class="dbx-table-date-column-header-left">{{ date | date: left }}</span>
45
45
  <span>{{ date | date: right }}</span>
46
46
  </div>
47
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
47
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
48
48
  }
49
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateHeaderComponent, decorators: [{
50
50
  type: Component,
@@ -77,52 +77,50 @@ class DbxTableStore extends ComponentStore {
77
77
  dataDelegate: null,
78
78
  viewDelegate: null
79
79
  });
80
- // MARK: Effects
81
- this.loadMore = this.effect((input) => {
82
- return input.pipe(switchMap(() => this.data$.pipe(first(), tap((x) => {
83
- if (x.loadMore) {
84
- x.loadMore();
85
- }
86
- }))));
87
- });
88
- // MARK: Accessors
89
- this.input$ = this.state$.pipe(map((x) => x.input), distinctUntilChanged(), shareReplay(1));
90
- this.dataDelegate$ = this.state$.pipe(map((x) => x.dataDelegate), distinctUntilChanged(), shareReplay(1));
91
- this.currentViewDelegate$ = this.state$.pipe(map((x) => x.viewDelegate), distinctUntilChanged(), shareReplay(1));
92
- this.viewDelegate$ = this.currentViewDelegate$.pipe(filterMaybe());
93
- this.dataState$ = combineLatest([this.input$, this.dataDelegate$]).pipe(switchMap(([input, dataDelegate]) => {
94
- let obs;
95
- if (input && dataDelegate) {
96
- obs = dataDelegate.loadData(input);
97
- }
98
- else {
99
- obs = of(beginLoading());
100
- }
101
- return obs;
102
- }), shareReplay(1));
103
- this.data$ = this.dataState$.pipe(
104
- //
105
- valueFromLoadingState(), distinctUntilChanged(), shareReplay(1));
106
- this.columns$ = this.data$.pipe(map((x) => x.columns), shareReplay(1));
107
- this.itemsState$ = this.data$.pipe(switchMap((x) => x.items$), shareReplay(1));
108
- this.items$ = this.itemsState$.pipe(valueFromLoadingState(), shareReplay(1));
109
- // MARK: State Changes
110
- this.setInput = this.updater((state, input) => ({ ...state, input }));
111
- this.setDataDelegate = this.updater((state, dataDelegate) => ({ ...state, dataDelegate }));
112
- this.setViewDelegate = this.updater((state, viewDelegate) => ({ ...state, viewDelegate }));
113
80
  }
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
115
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableStore }); }
81
+ // MARK: Effects
82
+ loadMore = this.effect((input) => {
83
+ return input.pipe(switchMap(() => this.data$.pipe(first(), tap((x) => {
84
+ if (x.loadMore) {
85
+ x.loadMore();
86
+ }
87
+ }))));
88
+ });
89
+ // MARK: Accessors
90
+ input$ = this.state$.pipe(map((x) => x.input), distinctUntilChanged(), shareReplay(1));
91
+ dataDelegate$ = this.state$.pipe(map((x) => x.dataDelegate), distinctUntilChanged(), shareReplay(1));
92
+ currentViewDelegate$ = this.state$.pipe(map((x) => x.viewDelegate), distinctUntilChanged(), shareReplay(1));
93
+ viewDelegate$ = this.currentViewDelegate$.pipe(filterMaybe());
94
+ dataState$ = combineLatest([this.input$, this.dataDelegate$]).pipe(switchMap(([input, dataDelegate]) => {
95
+ let obs;
96
+ if (input && dataDelegate) {
97
+ obs = dataDelegate.loadData(input);
98
+ }
99
+ else {
100
+ obs = of(beginLoading());
101
+ }
102
+ return obs;
103
+ }), shareReplay(1));
104
+ data$ = this.dataState$.pipe(
105
+ //
106
+ valueFromLoadingState(), distinctUntilChanged(), shareReplay(1));
107
+ columns$ = this.data$.pipe(map((x) => x.columns), shareReplay(1));
108
+ itemsState$ = this.data$.pipe(switchMap((x) => x.items$), shareReplay(1));
109
+ items$ = this.itemsState$.pipe(valueFromLoadingState(), shareReplay(1));
110
+ // MARK: State Changes
111
+ setInput = this.updater((state, input) => ({ ...state, input }));
112
+ setDataDelegate = this.updater((state, dataDelegate) => ({ ...state, dataDelegate }));
113
+ setViewDelegate = this.updater((state, viewDelegate) => ({ ...state, viewDelegate }));
114
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
115
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableStore });
116
116
  }
117
117
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableStore, decorators: [{
118
118
  type: Injectable
119
119
  }], ctorParameters: function () { return []; } });
120
120
 
121
121
  class DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy {
122
- constructor(_dateAdapter, dbxTableDateRangeDayDistanceInputCellInputComponent) {
123
- this._dateAdapter = _dateAdapter;
124
- this.dbxTableDateRangeDayDistanceInputCellInputComponent = dbxTableDateRangeDayDistanceInputCellInputComponent;
125
- }
122
+ _dateAdapter = inject((DateAdapter));
123
+ dbxTableDateRangeDayDistanceInputCellInputComponent = inject(DbxTableDateRangeDayDistanceInputCellInputComponent);
126
124
  selectionFinished(date) {
127
125
  return this._createFiveDayRange(date);
128
126
  }
@@ -137,42 +135,40 @@ class DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy {
137
135
  }
138
136
  return new DateRange(null, null);
139
137
  }
140
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy, deps: [{ token: i1.DateAdapter }, { token: DbxTableDateRangeDayDistanceInputCellInputComponent }], target: i0.ɵɵFactoryTarget.Injectable }); }
141
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy }); }
138
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
139
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy });
142
140
  }
143
141
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy, decorators: [{
144
142
  type: Injectable
145
- }], ctorParameters: function () { return [{ type: i1.DateAdapter }, { type: DbxTableDateRangeDayDistanceInputCellInputComponent }]; } });
143
+ }] });
146
144
  const DEFAULT_DBX_TABLE_DATE_RANGE_DAY_DISTIANCE_INPUT_CELL_COMPONENT_CONFIG = { daysDistance: 6 };
147
145
  const DEFAULT_DBX_TABLE_DATE_RANGE_DAY_BUTTON_FORMAT = 'MMM dd';
148
146
  /**
149
147
  * Cell input for a DateRangeDayDistanceInput value.
150
148
  */
151
149
  class DbxTableDateRangeDayDistanceInputCellInputComponent {
152
- constructor(tableStore) {
153
- this.tableStore = tableStore;
154
- this._syncSub = new SubscriptionObject();
155
- this._valueSub = new SubscriptionObject();
156
- this._pickerOpened = new BehaviorSubject(false);
157
- this._config = new BehaviorSubject(DEFAULT_DBX_TABLE_DATE_RANGE_DAY_DISTIANCE_INPUT_CELL_COMPONENT_CONFIG);
158
- this.range = new FormGroup({
159
- start: new FormControl(null),
160
- end: new FormControl(null)
161
- });
162
- this.pickerOpened$ = this._pickerOpened.asObservable();
163
- this.minDate$ = this._config.pipe(map((x) => x.minDate));
164
- this.maxDate$ = this._config.pipe(map((x) => x.maxDate));
165
- this.buttonFormat$ = this._config.pipe(map((x) => x.buttonFormat ?? DEFAULT_DBX_TABLE_DATE_RANGE_DAY_BUTTON_FORMAT));
166
- this.rangeValue$ = this.range.valueChanges.pipe(startWith(this.range.value));
167
- this.dateRangeString$ = combineLatest([this.buttonFormat$, this.rangeValue$]).pipe(map(([buttonFormat, { start, end }]) => {
168
- if (start && end) {
169
- return `${format(start, buttonFormat)} - ${format(end, buttonFormat)}`;
170
- }
171
- else {
172
- return `Select Date`;
173
- }
174
- }), distinctUntilChanged(), shareReplay(1));
175
- }
150
+ tableStore = inject((DbxTableStore));
151
+ _syncSub = new SubscriptionObject();
152
+ _valueSub = new SubscriptionObject();
153
+ _pickerOpened = new BehaviorSubject(false);
154
+ _config = new BehaviorSubject(DEFAULT_DBX_TABLE_DATE_RANGE_DAY_DISTIANCE_INPUT_CELL_COMPONENT_CONFIG);
155
+ range = new FormGroup({
156
+ start: new FormControl(null),
157
+ end: new FormControl(null)
158
+ });
159
+ pickerOpened$ = this._pickerOpened.asObservable();
160
+ minDate$ = this._config.pipe(map((x) => x.minDate));
161
+ maxDate$ = this._config.pipe(map((x) => x.maxDate));
162
+ buttonFormat$ = this._config.pipe(map((x) => x.buttonFormat ?? DEFAULT_DBX_TABLE_DATE_RANGE_DAY_BUTTON_FORMAT));
163
+ rangeValue$ = this.range.valueChanges.pipe(startWith(this.range.value));
164
+ dateRangeString$ = combineLatest([this.buttonFormat$, this.rangeValue$]).pipe(map(([buttonFormat, { start, end }]) => {
165
+ if (start && end) {
166
+ return `${format(start, buttonFormat)} - ${format(end, buttonFormat)}`;
167
+ }
168
+ else {
169
+ return `Select Date`;
170
+ }
171
+ }), distinctUntilChanged(), shareReplay(1));
176
172
  ngOnInit() {
177
173
  this._syncSub.subscription = this.tableStore.input$.subscribe((x) => {
178
174
  const start = x?.date ?? null;
@@ -220,8 +216,8 @@ class DbxTableDateRangeDayDistanceInputCellInputComponent {
220
216
  pickerClosed() {
221
217
  this._pickerOpened.next(false);
222
218
  }
223
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputComponent, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Component }); }
224
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableDateRangeDayDistanceInputCellInputComponent, selector: "ng-component", providers: [
219
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
220
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableDateRangeDayDistanceInputCellInputComponent, selector: "ng-component", providers: [
225
221
  {
226
222
  provide: MAT_DATE_RANGE_SELECTION_STRATEGY,
227
223
  useClass: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy
@@ -235,7 +231,7 @@ class DbxTableDateRangeDayDistanceInputCellInputComponent {
235
231
  <button mat-stroked-button color="primary" (click)="picker.open()">{{ dateRangeString$ | async }}</button>
236
232
  <mat-date-range-picker #picker (opened)="pickerOpened()" (closed)="pickerClosed()"></mat-date-range-picker>
237
233
  </div>
238
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i4.MatStartDate, selector: "input[matStartDate]", inputs: ["errorStateMatcher"], outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i4.MatEndDate, selector: "input[matEndDate]", inputs: ["errorStateMatcher"], outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i4.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
234
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2$1.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i2$1.MatStartDate, selector: "input[matStartDate]", inputs: ["errorStateMatcher"], outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i2$1.MatEndDate, selector: "input[matEndDate]", inputs: ["errorStateMatcher"], outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i2$1.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
239
235
  }
240
236
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputComponent, decorators: [{
241
237
  type: Component,
@@ -258,7 +254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
258
254
  ],
259
255
  changeDetection: ChangeDetectionStrategy.OnPush
260
256
  }]
261
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; } });
257
+ }] });
262
258
  function dbxTableDateRangeDayDistanceInputCellInput(componentConfig) {
263
259
  const config = {
264
260
  componentClass: DbxTableDateRangeDayDistanceInputCellInputComponent,
@@ -275,8 +271,8 @@ const declarations = [
275
271
  DbxTableDateRangeDayDistanceInputCellInputComponent
276
272
  ];
277
273
  class DbxTableDateModule {
278
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
279
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateModule, declarations: [
274
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
275
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateModule, declarations: [
280
276
  //
281
277
  DbxTableDateHeaderComponent,
282
278
  DbxTableDateRangeDayDistanceInputCellInputComponent], imports: [
@@ -292,8 +288,8 @@ class DbxTableDateModule {
292
288
  MatTableModule], exports: [
293
289
  //
294
290
  DbxTableDateHeaderComponent,
295
- DbxTableDateRangeDayDistanceInputCellInputComponent] }); }
296
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateModule, imports: [
291
+ DbxTableDateRangeDayDistanceInputCellInputComponent] });
292
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateModule, imports: [
297
293
  //
298
294
  CommonModule,
299
295
  DbxLoadingModule,
@@ -303,7 +299,7 @@ class DbxTableDateModule {
303
299
  MatIconModule,
304
300
  MatDatepickerModule,
305
301
  MatButtonModule,
306
- MatTableModule] }); }
302
+ MatTableModule] });
307
303
  }
308
304
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateModule, decorators: [{
309
305
  type: NgModule,
@@ -326,14 +322,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
326
322
  }] });
327
323
 
328
324
  class DbxTableActionCellComponent {
329
- constructor(tableStore) {
330
- this.tableStore = tableStore;
331
- this.config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowEnd), distinctUntilChanged());
332
- }
333
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableActionCellComponent, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Component }); }
334
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableActionCellComponent, selector: "dbx-table-action-cell", ngImport: i0, template: `
325
+ tableStore = inject(DbxTableStore);
326
+ config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowEnd), distinctUntilChanged());
327
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableActionCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
328
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableActionCellComponent, selector: "dbx-table-action-cell", ngImport: i0, template: `
335
329
  <dbx-injection [config]="config$ | async"></dbx-injection>
336
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
330
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
337
331
  }
338
332
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableActionCellComponent, decorators: [{
339
333
  type: Component,
@@ -344,20 +338,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
344
338
  `,
345
339
  changeDetection: ChangeDetectionStrategy.OnPush
346
340
  }]
347
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; } });
341
+ }] });
348
342
 
349
343
  /**
350
344
  * A table header component used for injecting the input picker view.
351
345
  */
352
346
  class DbxTableInputCellComponent {
353
- constructor(tableStore) {
354
- this.tableStore = tableStore;
355
- this.config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.inputHeader), distinctUntilChanged());
356
- }
357
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableInputCellComponent, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Component }); }
358
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableInputCellComponent, selector: "dbx-table-input-cell", ngImport: i0, template: `
347
+ tableStore = inject(DbxTableStore);
348
+ config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.inputHeader), distinctUntilChanged());
349
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableInputCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
350
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableInputCellComponent, selector: "dbx-table-input-cell", ngImport: i0, template: `
359
351
  <dbx-injection [config]="config$ | async"></dbx-injection>
360
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
352
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
361
353
  }
362
354
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableInputCellComponent, decorators: [{
363
355
  type: Component,
@@ -368,17 +360,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
368
360
  `,
369
361
  changeDetection: ChangeDetectionStrategy.OnPush
370
362
  }]
371
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; } });
363
+ }] });
372
364
 
373
365
  class DbxTableSummaryEndCellComponent {
374
- constructor(tableStore) {
375
- this.tableStore = tableStore;
376
- this.config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowEnd), distinctUntilChanged());
377
- }
378
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableSummaryEndCellComponent, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Component }); }
379
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableSummaryEndCellComponent, selector: "dbx-table-summary-end-cell", ngImport: i0, template: `
366
+ tableStore = inject(DbxTableStore);
367
+ config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowEnd), distinctUntilChanged());
368
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableSummaryEndCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
369
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableSummaryEndCellComponent, selector: "dbx-table-summary-end-cell", ngImport: i0, template: `
380
370
  <dbx-injection [config]="config$ | async"></dbx-injection>
381
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
371
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
382
372
  }
383
373
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableSummaryEndCellComponent, decorators: [{
384
374
  type: Component,
@@ -389,20 +379,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
389
379
  `,
390
380
  changeDetection: ChangeDetectionStrategy.OnPush
391
381
  }]
392
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; } });
382
+ }] });
393
383
 
394
384
  /**
395
385
  * A table header component used for injecting the input picker view.
396
386
  */
397
387
  class DbxTableSummaryStartCellComponent {
398
- constructor(tableStore) {
399
- this.tableStore = tableStore;
400
- this.config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowHeader), distinctUntilChanged());
401
- }
402
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableSummaryStartCellComponent, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Component }); }
403
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableSummaryStartCellComponent, selector: "dbx-table-summary-start-cell", ngImport: i0, template: `
388
+ tableStore = inject(DbxTableStore);
389
+ config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowHeader), distinctUntilChanged());
390
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableSummaryStartCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
391
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableSummaryStartCellComponent, selector: "dbx-table-summary-start-cell", ngImport: i0, template: `
404
392
  <dbx-injection [config]="config$ | async"></dbx-injection>
405
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
393
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
406
394
  }
407
395
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableSummaryStartCellComponent, decorators: [{
408
396
  type: Component,
@@ -413,49 +401,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
413
401
  `,
414
402
  changeDetection: ChangeDetectionStrategy.OnPush
415
403
  }]
416
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; } });
404
+ }] });
417
405
 
418
406
  /**
419
407
  * Abstract directive that has a column input.
420
408
  */
421
409
  class AbstractDbxTableColumnDirective {
422
- constructor(tableStore) {
423
- this.tableStore = tableStore;
424
- this._column = new BehaviorSubject(undefined);
425
- this.column$ = this._column.pipe(filterMaybe(), distinctUntilChanged());
426
- }
410
+ tableStore = inject((DbxTableStore));
411
+ _column = new BehaviorSubject(undefined);
412
+ column$ = this._column.pipe(filterMaybe(), distinctUntilChanged());
427
413
  set column(column) {
428
414
  this._column.next(column);
429
415
  }
430
416
  ngOnDestroy() {
431
417
  this._column.complete();
432
418
  }
433
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractDbxTableColumnDirective, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Directive }); }
434
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AbstractDbxTableColumnDirective, inputs: { column: "column" }, ngImport: i0 }); }
419
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractDbxTableColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
420
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AbstractDbxTableColumnDirective, inputs: { column: "column" }, ngImport: i0 });
435
421
  }
436
422
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractDbxTableColumnDirective, decorators: [{
437
423
  type: Directive
438
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; }, propDecorators: { column: [{
424
+ }], propDecorators: { column: [{
439
425
  type: Input
440
426
  }] } });
441
427
 
442
428
  class DbxTableColumnHeaderComponent extends AbstractDbxTableColumnDirective {
443
- constructor() {
444
- super(...arguments);
445
- this.config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => {
446
- const columnHeader = viewDelegate.columnHeader;
447
- if (columnHeader) {
448
- return this.column$.pipe(map((x) => columnHeader(x)));
449
- }
450
- else {
451
- return of(undefined);
452
- }
453
- }), distinctUntilChanged());
454
- }
455
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableColumnHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
456
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableColumnHeaderComponent, selector: "dbx-table-column-header", usesInheritance: true, ngImport: i0, template: `
429
+ config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => {
430
+ const columnHeader = viewDelegate.columnHeader;
431
+ if (columnHeader) {
432
+ return this.column$.pipe(map((x) => columnHeader(x)));
433
+ }
434
+ else {
435
+ return of(undefined);
436
+ }
437
+ }), distinctUntilChanged());
438
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableColumnHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
439
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableColumnHeaderComponent, selector: "dbx-table-column-header", usesInheritance: true, ngImport: i0, template: `
457
440
  <dbx-injection [config]="config$ | async"></dbx-injection>
458
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
441
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
459
442
  }
460
443
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableColumnHeaderComponent, decorators: [{
461
444
  type: Component,
@@ -469,22 +452,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
469
452
  }] });
470
453
 
471
454
  class DbxTableColumnFooterComponent extends AbstractDbxTableColumnDirective {
472
- constructor() {
473
- super(...arguments);
474
- this.config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => {
475
- const columnFooter = viewDelegate.columnFooter;
476
- if (columnFooter) {
477
- return this.column$.pipe(map((x) => columnFooter(x)));
478
- }
479
- else {
480
- return of(undefined);
481
- }
482
- }), distinctUntilChanged());
483
- }
484
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableColumnFooterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
485
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableColumnFooterComponent, selector: "dbx-table-column-footer", usesInheritance: true, ngImport: i0, template: `
455
+ config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => {
456
+ const columnFooter = viewDelegate.columnFooter;
457
+ if (columnFooter) {
458
+ return this.column$.pipe(map((x) => columnFooter(x)));
459
+ }
460
+ else {
461
+ return of(undefined);
462
+ }
463
+ }), distinctUntilChanged());
464
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableColumnFooterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
465
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableColumnFooterComponent, selector: "dbx-table-column-footer", usesInheritance: true, ngImport: i0, template: `
486
466
  <dbx-injection [config]="config$ | async"></dbx-injection>
487
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
467
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
488
468
  }
489
469
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableColumnFooterComponent, decorators: [{
490
470
  type: Component,
@@ -501,33 +481,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
501
481
  * Abstract directive that has an element input.
502
482
  */
503
483
  class AbstractDbxTableElementDirective {
504
- constructor(tableStore) {
505
- this.tableStore = tableStore;
506
- this._element = new BehaviorSubject(undefined);
507
- this.element$ = this._element.pipe(filterMaybe(), distinctUntilChanged());
508
- }
484
+ tableStore = inject((DbxTableStore));
485
+ _element = new BehaviorSubject(undefined);
486
+ element$ = this._element.pipe(filterMaybe(), distinctUntilChanged());
509
487
  set element(element) {
510
488
  this._element.next(element);
511
489
  }
512
490
  ngOnDestroy() {
513
491
  this._element.complete();
514
492
  }
515
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractDbxTableElementDirective, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Directive }); }
516
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AbstractDbxTableElementDirective, inputs: { element: "element" }, ngImport: i0 }); }
493
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractDbxTableElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
494
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AbstractDbxTableElementDirective, inputs: { element: "element" }, ngImport: i0 });
517
495
  }
518
496
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractDbxTableElementDirective, decorators: [{
519
497
  type: Directive
520
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; }, propDecorators: { element: [{
498
+ }], propDecorators: { element: [{
521
499
  type: Input
522
500
  }] } });
523
501
 
524
502
  class DbxTableItemCellComponent extends AbstractDbxTableElementDirective {
525
- constructor() {
526
- super(...arguments);
527
- this._column = new BehaviorSubject(undefined);
528
- this.column$ = this._column.pipe(filterMaybe(), distinctUntilChanged());
529
- this.config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => combineLatest([this.column$, this.element$]).pipe(map(([column, element]) => viewDelegate.itemCell(column, element)))), distinctUntilChanged());
530
- }
503
+ _column = new BehaviorSubject(undefined);
504
+ column$ = this._column.pipe(filterMaybe(), distinctUntilChanged());
505
+ config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => combineLatest([this.column$, this.element$]).pipe(map(([column, element]) => viewDelegate.itemCell(column, element)))), distinctUntilChanged());
531
506
  set column(column) {
532
507
  this._column.next(column);
533
508
  }
@@ -535,10 +510,10 @@ class DbxTableItemCellComponent extends AbstractDbxTableElementDirective {
535
510
  super.ngOnDestroy();
536
511
  this._column.complete();
537
512
  }
538
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
539
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableItemCellComponent, selector: "dbx-table-item-cell", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: `
513
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
514
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableItemCellComponent, selector: "dbx-table-item-cell", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: `
540
515
  <dbx-injection [config]="config$ | async"></dbx-injection>
541
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
516
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
542
517
  }
543
518
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemCellComponent, decorators: [{
544
519
  type: Component,
@@ -554,14 +529,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
554
529
  }] } });
555
530
 
556
531
  class DbxTableItemHeaderComponent extends AbstractDbxTableElementDirective {
557
- constructor() {
558
- super(...arguments);
559
- this.config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => this.element$.pipe(map((x) => viewDelegate.itemHeader(x)))), distinctUntilChanged());
560
- }
561
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
562
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableItemHeaderComponent, selector: "dbx-table-item-header", usesInheritance: true, ngImport: i0, template: `
532
+ config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => this.element$.pipe(map((x) => viewDelegate.itemHeader(x)))), distinctUntilChanged());
533
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
534
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableItemHeaderComponent, selector: "dbx-table-item-header", usesInheritance: true, ngImport: i0, template: `
563
535
  <dbx-injection [config]="config$ | async"></dbx-injection>
564
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
536
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
565
537
  }
566
538
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemHeaderComponent, decorators: [{
567
539
  type: Component,
@@ -575,22 +547,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
575
547
  }] });
576
548
 
577
549
  class DbxTableItemActionComponent extends AbstractDbxTableElementDirective {
578
- constructor() {
579
- super(...arguments);
580
- this.config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => {
581
- const itemAction = viewDelegate.itemAction;
582
- if (itemAction) {
583
- return this.element$.pipe(map((x) => itemAction(x)));
584
- }
585
- else {
586
- return of(undefined);
587
- }
588
- }), distinctUntilChanged());
589
- }
590
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemActionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
591
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableItemActionComponent, selector: "dbx-table-item-action", usesInheritance: true, ngImport: i0, template: `
550
+ config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => {
551
+ const itemAction = viewDelegate.itemAction;
552
+ if (itemAction) {
553
+ return this.element$.pipe(map((x) => itemAction(x)));
554
+ }
555
+ else {
556
+ return of(undefined);
557
+ }
558
+ }), distinctUntilChanged());
559
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemActionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
560
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableItemActionComponent, selector: "dbx-table-item-action", usesInheritance: true, ngImport: i0, template: `
592
561
  <dbx-injection [config]="config$ | async"></dbx-injection>
593
- `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
562
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
594
563
  }
595
564
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemActionComponent, decorators: [{
596
565
  type: Component,
@@ -609,46 +578,42 @@ const DBX_TABLE_ACTIONS_COLUMN_NAME = '_actions';
609
578
  * A table with fixed content
610
579
  */
611
580
  class DbxTableViewComponent {
612
- constructor(tableStore) {
613
- this.tableStore = tableStore;
614
- this.DEFAULT_TRACK_BY_FUNCTION = (index) => {
615
- return index;
616
- };
617
- this.scrollDistance = 0.5;
618
- this.throttleScroll = 50;
619
- this.itemsColumnName = DBX_TABLE_ITEMS_COLUMN_NAME;
620
- this.actionsColumnName = DBX_TABLE_ACTIONS_COLUMN_NAME;
621
- this.innerColumns$ = this.tableStore.columns$;
622
- this.innerColumnNames$ = this.innerColumns$.pipe(map((x) => x.map((y) => y.columnName)), shareReplay(1));
623
- this.elements$ = this.tableStore.items$;
624
- this.displayedColumns$ = this.innerColumnNames$.pipe(map((columnNames) => {
625
- return [this.itemsColumnName, ...columnNames, this.actionsColumnName];
626
- }), shareReplay(1));
627
- this.trackByFunction$ = this.tableStore.viewDelegate$.pipe(map((x) => x.trackBy ?? this.DEFAULT_TRACK_BY_FUNCTION), shareReplay(1));
628
- this.context = loadingStateContext({ obs: this.tableStore.dataState$ });
629
- this.dataLoadingContext = loadingStateContext({ obs: this.tableStore.itemsState$ });
630
- }
581
+ tableStore = inject((DbxTableStore));
582
+ DEFAULT_TRACK_BY_FUNCTION = (index) => {
583
+ return index;
584
+ };
585
+ scrollDistance = 0.5;
586
+ throttleScroll = 50;
587
+ itemsColumnName = DBX_TABLE_ITEMS_COLUMN_NAME;
588
+ actionsColumnName = DBX_TABLE_ACTIONS_COLUMN_NAME;
589
+ innerColumns$ = this.tableStore.columns$;
590
+ innerColumnNames$ = this.innerColumns$.pipe(map((x) => x.map((y) => y.columnName)), shareReplay(1));
591
+ elements$ = this.tableStore.items$;
592
+ displayedColumns$ = this.innerColumnNames$.pipe(map((columnNames) => {
593
+ return [this.itemsColumnName, ...columnNames, this.actionsColumnName];
594
+ }), shareReplay(1));
595
+ trackByFunction$ = this.tableStore.viewDelegate$.pipe(map((x) => x.trackBy ?? this.DEFAULT_TRACK_BY_FUNCTION), shareReplay(1));
596
+ context = loadingStateContext({ obs: this.tableStore.dataState$ });
597
+ dataLoadingContext = loadingStateContext({ obs: this.tableStore.itemsState$ });
631
598
  ngOnDestroy() {
632
599
  this.context.destroy();
633
600
  }
634
601
  onScrollDown() {
635
602
  this.tableStore.loadMore();
636
603
  }
637
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableViewComponent, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Component }); }
638
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableViewComponent, selector: "dbx-table-view", ngImport: i0, template: "<dbx-loading [context]=\"context\">\n <dbx-loading class=\"dbx-table-view-loading\" [linear]=\"true\" [context]=\"dataLoadingContext\"></dbx-loading>\n <section class=\"dbx-table-view\" infinite-scroll [infiniteScrollDistance]=\"scrollDistance\" [infiniteScrollThrottle]=\"throttleScroll\" [scrollWindow]=\"false\" (scrolled)=\"onScrollDown()\">\n <table class=\"dbx-table-view-table\" mat-table [dataSource]=\"elements$\" [trackBy]=\"(trackByFunction$ | async) || DEFAULT_TRACK_BY_FUNCTION\">\n <!-- Header/Item column -->\n <ng-container [matColumnDef]=\"itemsColumnName\" [sticky]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-input-cell></dbx-table-input-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-header [element]=\"element\"></dbx-table-item-header>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-start-cell></dbx-table-summary-start-cell>\n </td>\n </ng-container>\n\n <!-- Column Definitions -->\n <ng-container [matColumnDef]=\"column.columnName\" [sticky]=\"false\" *ngFor=\"let column of innerColumns$ | async\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-column-header [column]=\"column\"></dbx-table-column-header>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-cell [element]=\"element\" [column]=\"column\"></dbx-table-item-cell>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-column-footer [column]=\"column\"></dbx-table-column-footer>\n </td>\n </ng-container>\n\n <!-- Tail/Action column -->\n <ng-container [matColumnDef]=\"actionsColumnName\" [stickyEnd]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-action-cell></dbx-table-action-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-action [element]=\"element\"></dbx-table-item-action>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-end-cell></dbx-table-summary-end-cell>\n </td>\n </ng-container>\n\n <!-- Table View -->\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns$ | async; sticky: true\"></tr>\n\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns$ | async\"></tr>\n\n <tr mat-footer-row *matFooterRowDef=\"displayedColumns$ | async; sticky: true\"></tr>\n </table>\n </section>\n</dbx-loading>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$1.DbxLoadingComponent, selector: "dbx-loading", inputs: ["show", "text", "mode", "color", "diameter", "linear", "padding", "context", "loading", "error"] }, { kind: "component", type: i4$1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i4$1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i4$1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i4$1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i4$1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i4$1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i4$1.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i4$1.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i4$1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i4$1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i4$1.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i4$1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i4$1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4$1.MatFooterRow, selector: "mat-footer-row, tr[mat-footer-row]", exportAs: ["matFooterRow"] }, { kind: "directive", type: i5$1.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "component", type: DbxTableColumnHeaderComponent, selector: "dbx-table-column-header" }, { kind: "component", type: DbxTableColumnFooterComponent, selector: "dbx-table-column-footer" }, { kind: "component", type: DbxTableInputCellComponent, selector: "dbx-table-input-cell" }, { kind: "component", type: DbxTableActionCellComponent, selector: "dbx-table-action-cell" }, { kind: "component", type: DbxTableItemCellComponent, selector: "dbx-table-item-cell", inputs: ["column"] }, { kind: "component", type: DbxTableItemHeaderComponent, selector: "dbx-table-item-header" }, { kind: "component", type: DbxTableItemActionComponent, selector: "dbx-table-item-action" }, { kind: "component", type: DbxTableSummaryStartCellComponent, selector: "dbx-table-summary-start-cell" }, { kind: "component", type: DbxTableSummaryEndCellComponent, selector: "dbx-table-summary-end-cell" }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
604
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
605
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableViewComponent, selector: "dbx-table-view", ngImport: i0, template: "<dbx-loading [context]=\"context\">\n <dbx-loading class=\"dbx-table-view-loading\" [linear]=\"true\" [context]=\"dataLoadingContext\"></dbx-loading>\n <section class=\"dbx-table-view\" infinite-scroll [infiniteScrollDistance]=\"scrollDistance\" [infiniteScrollThrottle]=\"throttleScroll\" [scrollWindow]=\"false\" (scrolled)=\"onScrollDown()\">\n <table class=\"dbx-table-view-table\" mat-table [dataSource]=\"elements$\" [trackBy]=\"(trackByFunction$ | async) || DEFAULT_TRACK_BY_FUNCTION\">\n <!-- Header/Item column -->\n <ng-container [matColumnDef]=\"itemsColumnName\" [sticky]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-input-cell></dbx-table-input-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-header [element]=\"element\"></dbx-table-item-header>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-start-cell></dbx-table-summary-start-cell>\n </td>\n </ng-container>\n\n <!-- Column Definitions -->\n <ng-container [matColumnDef]=\"column.columnName\" [sticky]=\"false\" *ngFor=\"let column of innerColumns$ | async\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-column-header [column]=\"column\"></dbx-table-column-header>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-cell [element]=\"element\" [column]=\"column\"></dbx-table-item-cell>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-column-footer [column]=\"column\"></dbx-table-column-footer>\n </td>\n </ng-container>\n\n <!-- Tail/Action column -->\n <ng-container [matColumnDef]=\"actionsColumnName\" [stickyEnd]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-action-cell></dbx-table-action-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-action [element]=\"element\"></dbx-table-item-action>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-end-cell></dbx-table-summary-end-cell>\n </td>\n </ng-container>\n\n <!-- Table View -->\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns$ | async; sticky: true\"></tr>\n\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns$ | async\"></tr>\n\n <tr mat-footer-row *matFooterRowDef=\"displayedColumns$ | async; sticky: true\"></tr>\n </table>\n </section>\n</dbx-loading>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2$2.DbxLoadingComponent, selector: "dbx-loading", inputs: ["show", "text", "mode", "color", "diameter", "linear", "padding", "context", "loading", "error"] }, { kind: "component", type: i3$1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3$1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3$1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3$1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i3$1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3$1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3$1.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i3$1.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i3$1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3$1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i3$1.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i3$1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3$1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i3$1.MatFooterRow, selector: "mat-footer-row, tr[mat-footer-row]", exportAs: ["matFooterRow"] }, { kind: "directive", type: i4.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "component", type: DbxTableColumnHeaderComponent, selector: "dbx-table-column-header" }, { kind: "component", type: DbxTableColumnFooterComponent, selector: "dbx-table-column-footer" }, { kind: "component", type: DbxTableInputCellComponent, selector: "dbx-table-input-cell" }, { kind: "component", type: DbxTableActionCellComponent, selector: "dbx-table-action-cell" }, { kind: "component", type: DbxTableItemCellComponent, selector: "dbx-table-item-cell", inputs: ["column"] }, { kind: "component", type: DbxTableItemHeaderComponent, selector: "dbx-table-item-header" }, { kind: "component", type: DbxTableItemActionComponent, selector: "dbx-table-item-action" }, { kind: "component", type: DbxTableSummaryStartCellComponent, selector: "dbx-table-summary-start-cell" }, { kind: "component", type: DbxTableSummaryEndCellComponent, selector: "dbx-table-summary-end-cell" }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
639
606
  }
640
607
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableViewComponent, decorators: [{
641
608
  type: Component,
642
609
  args: [{ selector: 'dbx-table-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<dbx-loading [context]=\"context\">\n <dbx-loading class=\"dbx-table-view-loading\" [linear]=\"true\" [context]=\"dataLoadingContext\"></dbx-loading>\n <section class=\"dbx-table-view\" infinite-scroll [infiniteScrollDistance]=\"scrollDistance\" [infiniteScrollThrottle]=\"throttleScroll\" [scrollWindow]=\"false\" (scrolled)=\"onScrollDown()\">\n <table class=\"dbx-table-view-table\" mat-table [dataSource]=\"elements$\" [trackBy]=\"(trackByFunction$ | async) || DEFAULT_TRACK_BY_FUNCTION\">\n <!-- Header/Item column -->\n <ng-container [matColumnDef]=\"itemsColumnName\" [sticky]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-input-cell></dbx-table-input-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-header [element]=\"element\"></dbx-table-item-header>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-start-cell></dbx-table-summary-start-cell>\n </td>\n </ng-container>\n\n <!-- Column Definitions -->\n <ng-container [matColumnDef]=\"column.columnName\" [sticky]=\"false\" *ngFor=\"let column of innerColumns$ | async\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-column-header [column]=\"column\"></dbx-table-column-header>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-cell [element]=\"element\" [column]=\"column\"></dbx-table-item-cell>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-column-footer [column]=\"column\"></dbx-table-column-footer>\n </td>\n </ng-container>\n\n <!-- Tail/Action column -->\n <ng-container [matColumnDef]=\"actionsColumnName\" [stickyEnd]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-action-cell></dbx-table-action-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-action [element]=\"element\"></dbx-table-item-action>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-end-cell></dbx-table-summary-end-cell>\n </td>\n </ng-container>\n\n <!-- Table View -->\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns$ | async; sticky: true\"></tr>\n\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns$ | async\"></tr>\n\n <tr mat-footer-row *matFooterRowDef=\"displayedColumns$ | async; sticky: true\"></tr>\n </table>\n </section>\n</dbx-loading>\n" }]
643
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; } });
610
+ }] });
644
611
 
645
612
  /**
646
613
  * Directive for providing and configuring a DbxTableStore
647
614
  */
648
615
  class DbxTableDirective {
649
- constructor(tableStore) {
650
- this.tableStore = tableStore;
651
- }
616
+ tableStore = inject((DbxTableStore));
652
617
  set dbxTableInput(input) {
653
618
  this.tableStore.setInput(input);
654
619
  }
@@ -658,8 +623,8 @@ class DbxTableDirective {
658
623
  set dbxTableDataDelegate(dbxTableDataDelegate) {
659
624
  this.tableStore.setDataDelegate(dbxTableDataDelegate);
660
625
  }
661
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDirective, deps: [{ token: DbxTableStore }], target: i0.ɵɵFactoryTarget.Directive }); }
662
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableDirective, selector: "[dbxTable]", inputs: { dbxTableInput: "dbxTableInput", dbxTableViewDelegate: "dbxTableViewDelegate", dbxTableDataDelegate: "dbxTableDataDelegate" }, providers: [DbxTableStore], ngImport: i0 }); }
626
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
627
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableDirective, selector: "[dbxTable]", inputs: { dbxTableInput: "dbxTableInput", dbxTableViewDelegate: "dbxTableViewDelegate", dbxTableDataDelegate: "dbxTableDataDelegate" }, providers: [DbxTableStore], ngImport: i0 });
663
628
  }
664
629
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDirective, decorators: [{
665
630
  type: Directive,
@@ -667,7 +632,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
667
632
  selector: '[dbxTable]',
668
633
  providers: [DbxTableStore]
669
634
  }]
670
- }], ctorParameters: function () { return [{ type: DbxTableStore }]; }, propDecorators: { dbxTableInput: [{
635
+ }], propDecorators: { dbxTableInput: [{
671
636
  type: Input
672
637
  }], dbxTableViewDelegate: [{
673
638
  type: Input
@@ -689,8 +654,8 @@ const internalDeclarations = [
689
654
  DbxTableSummaryEndCellComponent
690
655
  ];
691
656
  class DbxTableModule {
692
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
693
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxTableModule, declarations: [DbxTableDirective, DbxTableViewComponent,
657
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
658
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxTableModule, declarations: [DbxTableDirective, DbxTableViewComponent,
694
659
  //
695
660
  DbxTableColumnHeaderComponent,
696
661
  DbxTableColumnFooterComponent,
@@ -706,14 +671,14 @@ class DbxTableModule {
706
671
  DbxLoadingModule,
707
672
  DbxInjectionComponentModule,
708
673
  MatTableModule,
709
- InfiniteScrollModule], exports: [DbxTableDirective, DbxTableViewComponent] }); }
710
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableModule, imports: [
674
+ InfiniteScrollModule], exports: [DbxTableDirective, DbxTableViewComponent] });
675
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableModule, imports: [
711
676
  //
712
677
  CommonModule,
713
678
  DbxLoadingModule,
714
679
  DbxInjectionComponentModule,
715
680
  MatTableModule,
716
- InfiniteScrollModule] }); }
681
+ InfiniteScrollModule] });
717
682
  }
718
683
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableModule, decorators: [{
719
684
  type: NgModule,