@dereekb/dbx-web 1.2.0 → 3.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 (325) hide show
  1. package/README.md +1 -1
  2. package/_index.scss +5 -2
  3. package/esm2020/lib/action/action.confirm.directive.mjs +7 -7
  4. package/esm2020/lib/action/action.module.mjs +16 -12
  5. package/esm2020/lib/action/action.progress.component.mjs +20 -0
  6. package/esm2020/lib/action/index.mjs +3 -2
  7. package/esm2020/lib/action/key.trigger.directive.mjs +6 -6
  8. package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +95 -0
  9. package/esm2020/lib/action/snackbar/action.snackbar.default.mjs +107 -0
  10. package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +62 -0
  11. package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +44 -0
  12. package/esm2020/lib/action/snackbar/action.snackbar.mjs +2 -0
  13. package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +51 -0
  14. package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +82 -0
  15. package/esm2020/lib/action/snackbar/index.mjs +8 -0
  16. package/esm2020/lib/action/transition/action.transition.module.mjs +4 -4
  17. package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +8 -7
  18. package/esm2020/lib/action/transition/transition.safety.directive.mjs +6 -6
  19. package/esm2020/lib/button/button.component.mjs +31 -13
  20. package/esm2020/lib/button/button.module.mjs +20 -16
  21. package/esm2020/lib/button/button.spacer.component.mjs +12 -10
  22. package/esm2020/lib/button/index.mjs +2 -1
  23. package/esm2020/lib/button/progress/bar.button.component.mjs +16 -0
  24. package/esm2020/lib/button/progress/base.progress.button.directive.mjs +104 -0
  25. package/esm2020/lib/button/progress/button.progress.config.mjs +3 -0
  26. package/esm2020/lib/button/progress/button.progress.module.mjs +61 -0
  27. package/esm2020/lib/button/progress/index.mjs +5 -0
  28. package/esm2020/lib/button/progress/spinner.button.component.mjs +40 -0
  29. package/esm2020/lib/dbx-web.module.mjs +10 -17
  30. package/esm2020/lib/error/error.action.directive.mjs +6 -6
  31. package/esm2020/lib/error/error.component.mjs +5 -5
  32. package/esm2020/lib/error/error.loading.directive.mjs +3 -3
  33. package/esm2020/lib/error/error.module.mjs +4 -4
  34. package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +9 -6
  35. package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +41 -0
  36. package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +4 -4
  37. package/esm2020/lib/interaction/dialog/dialog.module.mjs +12 -7
  38. package/esm2020/lib/interaction/dialog/index.mjs +2 -1
  39. package/esm2020/lib/interaction/filter/filter.module.mjs +9 -9
  40. package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +3 -3
  41. package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +3 -3
  42. package/esm2020/lib/interaction/filter/filter.popover.component.mjs +5 -5
  43. package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +3 -3
  44. package/esm2020/lib/interaction/interaction.module.mjs +4 -4
  45. package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +3 -3
  46. package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +6 -6
  47. package/esm2020/lib/interaction/popover/index.mjs +1 -2
  48. package/esm2020/lib/interaction/popover/popover.action.directive.mjs +19 -57
  49. package/esm2020/lib/interaction/popover/popover.component.mjs +9 -9
  50. package/esm2020/lib/interaction/popover/popover.content.component.mjs +3 -3
  51. package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +3 -3
  52. package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +3 -3
  53. package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +11 -5
  54. package/esm2020/lib/interaction/popover/popover.header.component.mjs +3 -3
  55. package/esm2020/lib/interaction/popover/popover.module.mjs +17 -31
  56. package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +3 -3
  57. package/esm2020/lib/interaction/popover/popover.service.mjs +3 -3
  58. package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +3 -3
  59. package/esm2020/lib/interaction/popup/popup.component.mjs +9 -9
  60. package/esm2020/lib/interaction/popup/popup.content.component.mjs +3 -3
  61. package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +6 -6
  62. package/esm2020/lib/interaction/popup/popup.controls.component.mjs +3 -3
  63. package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +3 -3
  64. package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +11 -5
  65. package/esm2020/lib/interaction/popup/popup.module.mjs +13 -22
  66. package/esm2020/lib/interaction/popup/popup.service.mjs +3 -3
  67. package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +3 -3
  68. package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +3 -3
  69. package/esm2020/lib/interaction/prompt/prompt.component.mjs +3 -3
  70. package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +3 -3
  71. package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +8 -8
  72. package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +6 -6
  73. package/esm2020/lib/interaction/prompt/prompt.module.mjs +9 -9
  74. package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +3 -3
  75. package/esm2020/lib/keypress/keydown.listener.directive.mjs +3 -3
  76. package/esm2020/lib/keypress/keypress.module.mjs +4 -4
  77. package/esm2020/lib/layout/bar/bar.directive.mjs +3 -3
  78. package/esm2020/lib/layout/bar/bar.header.component.mjs +3 -3
  79. package/esm2020/lib/layout/bar/bar.layout.module.mjs +4 -4
  80. package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
  81. package/esm2020/lib/layout/block/block.layout.module.mjs +9 -9
  82. package/esm2020/lib/layout/block/two.block.component.mjs +22 -10
  83. package/esm2020/lib/layout/card/card.box.component.mjs +3 -3
  84. package/esm2020/lib/layout/card/card.box.container.component.mjs +3 -3
  85. package/esm2020/lib/layout/card/card.box.layout.module.mjs +4 -4
  86. package/esm2020/lib/layout/column/column.layout.module.mjs +4 -4
  87. package/esm2020/lib/layout/column/one/one.column.component.mjs +9 -9
  88. package/esm2020/lib/layout/column/one/one.column.module.mjs +4 -4
  89. package/esm2020/lib/layout/column/two/index.mjs +2 -1
  90. package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +8 -8
  91. package/esm2020/lib/layout/column/two/two.column.component.mjs +51 -14
  92. package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +36 -0
  93. package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +8 -8
  94. package/esm2020/lib/layout/column/two/two.column.head.component.mjs +8 -8
  95. package/esm2020/lib/layout/column/two/two.column.module.mjs +43 -38
  96. package/esm2020/lib/layout/column/two/two.column.right.component.mjs +11 -6
  97. package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +12 -17
  98. package/esm2020/lib/layout/column/two/two.column.store.mjs +8 -7
  99. package/esm2020/lib/layout/compact/compact.directive.mjs +3 -3
  100. package/esm2020/lib/layout/compact/compact.layout.module.mjs +4 -4
  101. package/esm2020/lib/layout/compact/compact.store.mjs +3 -3
  102. package/esm2020/lib/layout/content/content.border.directive.mjs +3 -3
  103. package/esm2020/lib/layout/content/content.box.directive.mjs +9 -5
  104. package/esm2020/lib/layout/content/content.container.directive.mjs +4 -4
  105. package/esm2020/lib/layout/content/content.directive.mjs +3 -3
  106. package/esm2020/lib/layout/content/content.elevate.directive.mjs +3 -3
  107. package/esm2020/lib/layout/content/content.layout.module.mjs +4 -4
  108. package/esm2020/lib/layout/content/content.page.directive.mjs +3 -3
  109. package/esm2020/lib/layout/flag/flag.component.mjs +3 -3
  110. package/esm2020/lib/layout/flag/flag.layout.module.mjs +4 -4
  111. package/esm2020/lib/layout/flag/flag.prompt.component.mjs +3 -3
  112. package/esm2020/lib/layout/flex/flex.group.directive.mjs +8 -4
  113. package/esm2020/lib/layout/flex/flex.layout.module.mjs +4 -4
  114. package/esm2020/lib/layout/flex/flex.size.directive.mjs +3 -3
  115. package/esm2020/lib/layout/item/item.icon.component.mjs +3 -3
  116. package/esm2020/lib/layout/item/item.layout.module.mjs +4 -4
  117. package/esm2020/lib/layout/layout.module.mjs +4 -4
  118. package/esm2020/lib/layout/list/index.mjs +5 -1
  119. package/esm2020/lib/layout/list/list.component.mjs +22 -9
  120. package/esm2020/lib/layout/list/list.content.empty.component.mjs +3 -3
  121. package/esm2020/lib/layout/list/list.directive.mjs +12 -10
  122. package/esm2020/lib/layout/list/list.layout.module.mjs +32 -18
  123. package/esm2020/lib/layout/list/list.view.directive.mjs +11 -4
  124. package/esm2020/lib/layout/list/list.view.mjs +1 -1
  125. package/esm2020/lib/layout/list/list.view.selection.directive.mjs +8 -7
  126. package/esm2020/lib/layout/list/list.view.value.component.mjs +57 -28
  127. package/esm2020/lib/layout/list/list.view.value.directive.mjs +18 -10
  128. package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +7 -7
  129. package/esm2020/lib/layout/list/list.view.value.mjs +36 -24
  130. package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +81 -0
  131. package/esm2020/lib/layout/list/list.view.value.modifier.mjs +15 -0
  132. package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +45 -0
  133. package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +57 -43
  134. package/esm2020/lib/layout/list/list.wrapper.mjs +13 -0
  135. package/esm2020/lib/layout/section/section.component.mjs +3 -3
  136. package/esm2020/lib/layout/section/section.header.component.mjs +9 -6
  137. package/esm2020/lib/layout/section/section.intro.component.mjs +3 -3
  138. package/esm2020/lib/layout/section/section.layout.module.mjs +9 -9
  139. package/esm2020/lib/layout/section/section.page.component.mjs +3 -3
  140. package/esm2020/lib/layout/section/subsection.component.mjs +3 -3
  141. package/esm2020/lib/layout/step/step.component.mjs +3 -3
  142. package/esm2020/lib/layout/step/step.layout.module.mjs +4 -4
  143. package/esm2020/lib/layout/style/spacer.directive.mjs +3 -3
  144. package/esm2020/lib/layout/style/style.body.directive.mjs +3 -3
  145. package/esm2020/lib/layout/style/style.directive.mjs +3 -3
  146. package/esm2020/lib/layout/style/style.layout.module.mjs +4 -4
  147. package/esm2020/lib/layout/style/style.service.mjs +6 -4
  148. package/esm2020/lib/layout/style/style.set.directive.mjs +5 -4
  149. package/esm2020/lib/layout/text/hint.component.mjs +3 -3
  150. package/esm2020/lib/layout/text/icon.spacer.component.mjs +19 -0
  151. package/esm2020/lib/layout/text/index.mjs +2 -1
  152. package/esm2020/lib/layout/text/label.component.mjs +3 -3
  153. package/esm2020/lib/layout/text/linkify.component.mjs +3 -3
  154. package/esm2020/lib/layout/text/note.component.mjs +3 -3
  155. package/esm2020/lib/layout/text/notice.component.mjs +3 -3
  156. package/esm2020/lib/layout/text/ok.component.mjs +3 -3
  157. package/esm2020/lib/layout/text/success.component.mjs +3 -3
  158. package/esm2020/lib/layout/text/text.chips.component.mjs +3 -3
  159. package/esm2020/lib/layout/text/text.module.mjs +14 -9
  160. package/esm2020/lib/layout/text/warn.component.mjs +3 -3
  161. package/esm2020/lib/loading/basic-loading.component.mjs +3 -3
  162. package/esm2020/lib/loading/index.mjs +2 -1
  163. package/esm2020/lib/loading/loading-progress.component.mjs +4 -4
  164. package/esm2020/lib/loading/loading.action.directive.mjs +37 -0
  165. package/esm2020/lib/loading/loading.component.mjs +3 -3
  166. package/esm2020/lib/loading/loading.module.mjs +14 -9
  167. package/esm2020/lib/router/layout/anchor/anchor.component.mjs +9 -5
  168. package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +43 -0
  169. package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +3 -3
  170. package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +3 -3
  171. package/esm2020/lib/router/layout/anchor/anchor.module.mjs +19 -14
  172. package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +4 -4
  173. package/esm2020/lib/router/layout/anchor/index.mjs +2 -1
  174. package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +5 -5
  175. package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +10 -10
  176. package/esm2020/lib/router/layout/index.mjs +2 -1
  177. package/esm2020/lib/router/layout/layout.module.mjs +23 -19
  178. package/esm2020/lib/router/layout/list/index.mjs +3 -0
  179. package/esm2020/lib/router/layout/list/list.module.mjs +21 -0
  180. package/esm2020/lib/router/layout/list/router.list.directive.mjs +42 -0
  181. package/esm2020/lib/router/layout/navbar/navbar.component.mjs +4 -4
  182. package/esm2020/lib/router/layout/navbar/navbar.module.mjs +10 -10
  183. package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +3 -3
  184. package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
  185. package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +14 -14
  186. package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +7 -4
  187. package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +5 -5
  188. package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +5 -5
  189. package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +9 -9
  190. package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
  191. package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +5 -5
  192. package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +9 -9
  193. package/esm2020/lib/screen/screen.module.mjs +4 -4
  194. package/esm2020/lib/screen/screen.service.mjs +5 -4
  195. package/fesm2015/dereekb-dbx-web.mjs +2265 -1270
  196. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  197. package/fesm2020/dereekb-dbx-web.mjs +2262 -1268
  198. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  199. package/lib/action/_action.scss +8 -35
  200. package/lib/action/action.confirm.directive.d.ts +13 -4
  201. package/lib/action/action.module.d.ts +8 -7
  202. package/lib/action/action.progress.component.d.ts +5 -0
  203. package/lib/action/index.d.ts +2 -1
  204. package/lib/action/key.trigger.directive.d.ts +3 -3
  205. package/lib/action/snackbar/_snackbar.scss +33 -0
  206. package/lib/action/snackbar/action.snackbar.component.d.ts +36 -0
  207. package/lib/action/snackbar/action.snackbar.d.ts +52 -0
  208. package/lib/action/snackbar/action.snackbar.default.d.ts +2 -0
  209. package/lib/action/snackbar/action.snackbar.directive.d.ts +25 -0
  210. package/lib/action/snackbar/action.snackbar.generator.d.ts +32 -0
  211. package/lib/action/snackbar/action.snackbar.module.d.ts +14 -0
  212. package/lib/action/snackbar/action.snackbar.service.d.ts +39 -0
  213. package/lib/action/snackbar/index.d.ts +7 -0
  214. package/lib/action/transition/transition.safety.directive.d.ts +3 -3
  215. package/lib/button/_button.scss +21 -0
  216. package/lib/button/button.component.d.ts +7 -3
  217. package/lib/button/button.module.d.ts +3 -2
  218. package/lib/button/button.spacer.component.d.ts +4 -4
  219. package/lib/button/index.d.ts +1 -0
  220. package/lib/button/progress/bar.button.component.d.ts +6 -0
  221. package/lib/button/progress/bar.button.component.scss +23 -0
  222. package/lib/button/progress/base.progress.button.directive.d.ts +37 -0
  223. package/lib/button/progress/button.progress.config.d.ts +51 -0
  224. package/lib/button/progress/button.progress.module.d.ts +17 -0
  225. package/lib/button/progress/index.d.ts +4 -0
  226. package/lib/button/progress/spinner.button.component.d.ts +9 -0
  227. package/lib/button/progress/spinner.button.component.scss +44 -0
  228. package/lib/dbx-web.module.d.ts +1 -3
  229. package/lib/error/error.action.directive.d.ts +3 -3
  230. package/lib/interaction/dialog/_dialog.scss +18 -2
  231. package/lib/interaction/dialog/abstract.dialog.directive.d.ts +2 -1
  232. package/lib/interaction/dialog/dialog.action.directive.d.ts +21 -0
  233. package/lib/interaction/dialog/dialog.module.d.ts +4 -3
  234. package/lib/interaction/dialog/index.d.ts +1 -0
  235. package/lib/interaction/filter/filter.module.d.ts +1 -1
  236. package/lib/interaction/filter/filter.popover.component.d.ts +2 -2
  237. package/lib/interaction/popover/index.d.ts +0 -1
  238. package/lib/interaction/popover/popover.action.directive.d.ts +15 -24
  239. package/lib/interaction/popover/popover.component.d.ts +3 -3
  240. package/lib/interaction/popover/popover.coordinator.service.d.ts +3 -1
  241. package/lib/interaction/popover/popover.module.d.ts +20 -23
  242. package/lib/interaction/popup/popup.component.d.ts +3 -3
  243. package/lib/interaction/popup/popup.coordinator.service.d.ts +3 -1
  244. package/lib/interaction/popup/popup.module.d.ts +1 -3
  245. package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +3 -3
  246. package/lib/interaction/prompt/prompt.module.d.ts +1 -1
  247. package/lib/layout/block/_block.scss +11 -8
  248. package/lib/layout/block/block.layout.module.d.ts +1 -1
  249. package/lib/layout/block/two.block.component.d.ts +5 -1
  250. package/lib/layout/column/_column.scss +119 -3
  251. package/lib/layout/column/two/index.d.ts +1 -0
  252. package/lib/layout/column/two/two.column.back.directive.d.ts +4 -4
  253. package/lib/layout/column/two/two.column.component.d.ts +23 -7
  254. package/lib/layout/column/two/two.column.context.directive.d.ts +18 -0
  255. package/lib/layout/column/two/two.column.full.left.directive.d.ts +4 -4
  256. package/lib/layout/column/two/two.column.head.component.d.ts +3 -3
  257. package/lib/layout/column/two/two.column.module.d.ts +7 -6
  258. package/lib/layout/column/two/two.column.right.component.d.ts +6 -4
  259. package/lib/layout/column/two/two.column.sref.directive.d.ts +6 -7
  260. package/lib/layout/column/two/two.column.store.d.ts +4 -3
  261. package/lib/layout/content/_content.scss +38 -3
  262. package/lib/layout/content/content.box.directive.d.ts +2 -1
  263. package/lib/layout/content/content.container.directive.d.ts +2 -2
  264. package/lib/layout/flex/_flex.scss +4 -0
  265. package/lib/layout/flex/flex.group.directive.d.ts +1 -0
  266. package/lib/layout/list/index.d.ts +4 -0
  267. package/lib/layout/list/list.component.d.ts +14 -5
  268. package/lib/layout/list/list.directive.d.ts +9 -7
  269. package/lib/layout/list/list.layout.module.d.ts +10 -8
  270. package/lib/layout/list/list.view.d.ts +11 -1
  271. package/lib/layout/list/list.view.directive.d.ts +4 -1
  272. package/lib/layout/list/list.view.selection.directive.d.ts +4 -3
  273. package/lib/layout/list/list.view.value.component.d.ts +18 -3
  274. package/lib/layout/list/list.view.value.d.ts +27 -11
  275. package/lib/layout/list/list.view.value.directive.d.ts +9 -6
  276. package/lib/layout/list/list.view.value.item.directive.d.ts +4 -4
  277. package/lib/layout/list/list.view.value.modifier.d.ts +12 -0
  278. package/lib/layout/list/list.view.value.modifier.directive.d.ts +37 -0
  279. package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +17 -0
  280. package/lib/layout/list/list.view.value.selection.component.d.ts +10 -11
  281. package/lib/layout/list/list.wrapper.d.ts +11 -0
  282. package/lib/layout/section/section.header.component.d.ts +1 -0
  283. package/lib/layout/section/section.layout.module.d.ts +1 -1
  284. package/lib/layout/style/_style.scss +12 -1
  285. package/lib/layout/text/_text.scss +9 -0
  286. package/lib/layout/text/icon.spacer.component.d.ts +8 -0
  287. package/lib/layout/text/index.d.ts +1 -0
  288. package/lib/layout/text/text.module.d.ts +6 -5
  289. package/lib/loading/index.d.ts +1 -0
  290. package/lib/loading/loading.action.directive.d.ts +19 -0
  291. package/lib/loading/loading.module.d.ts +6 -5
  292. package/lib/router/layout/anchor/_anchor.scss +10 -0
  293. package/lib/router/layout/anchor/anchor.component.d.ts +5 -4
  294. package/lib/router/layout/anchor/anchor.content.component.d.ts +22 -0
  295. package/lib/router/layout/anchor/anchor.module.d.ts +9 -8
  296. package/lib/router/layout/anchor/anchor.segue.directive.d.ts +2 -2
  297. package/lib/router/layout/anchor/index.d.ts +1 -0
  298. package/lib/router/layout/anchorlist/_anchorlist.scss +7 -0
  299. package/lib/router/layout/anchorlist/anchorlist.module.d.ts +4 -4
  300. package/lib/router/layout/index.d.ts +1 -0
  301. package/lib/router/layout/layout.module.d.ts +4 -3
  302. package/lib/router/layout/list/index.d.ts +2 -0
  303. package/lib/router/layout/list/list.module.d.ts +7 -0
  304. package/lib/router/layout/list/router.list.directive.d.ts +17 -0
  305. package/lib/router/layout/navbar/navbar.component.d.ts +4 -4
  306. package/lib/router/layout/navbar/navbar.module.d.ts +4 -4
  307. package/lib/router/layout/sidenav/sidenav.module.d.ts +4 -4
  308. package/lib/router/layout/sidenav/sidenav.page.component.d.ts +4 -2
  309. package/lib/router/provider/ngrouter/angular.router.module.d.ts +1 -1
  310. package/lib/router/provider/router.provider.config.d.ts +2 -2
  311. package/lib/router/provider/uirouter/uirouter.router.module.d.ts +1 -1
  312. package/lib/screen/screen.service.d.ts +2 -2
  313. package/lib/style/_all-core.scss +2 -0
  314. package/lib/style/_all-theme.scss +2 -0
  315. package/lib/style/_all-typography.scss +2 -0
  316. package/lib/style/_config.scss +7 -1
  317. package/lib/style/_function.scss +4 -0
  318. package/lib/style/_root-variables.scss +2 -0
  319. package/lib/style/_variables.scss +4 -0
  320. package/package.json +25 -44
  321. package/esm2020/lib/action/action.snackbar.component.mjs +0 -104
  322. package/esm2020/lib/interaction/popover/popover.action.button.directive.mjs +0 -29
  323. package/lib/action/action.snackbar.component.d.ts +0 -22
  324. package/lib/interaction/popover/popover.action.button.directive.d.ts +0 -14
  325. package/lib/layout/column/two.scss +0 -114
@@ -0,0 +1,17 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { DbxProgressButtonGlobalConfig } from './button.progress.config';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./spinner.button.component";
5
+ import * as i2 from "./bar.button.component";
6
+ import * as i3 from "@angular/common";
7
+ import * as i4 from "@angular/material/button";
8
+ import * as i5 from "@angular/material/progress-bar";
9
+ import * as i6 from "@angular/material/progress-spinner";
10
+ import * as i7 from "@angular/material/core";
11
+ import * as i8 from "@angular/material/icon";
12
+ export declare class DbxProgressButtonsModule {
13
+ static forRoot(config?: DbxProgressButtonGlobalConfig): ModuleWithProviders<DbxProgressButtonsModule>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxProgressButtonsModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxProgressButtonsModule, [typeof i1.DbxSpinnerButtonComponent, typeof i2.DbxBarButtonComponent], [typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i5.MatProgressBarModule, typeof i6.MatProgressSpinnerModule, typeof i7.MatRippleModule, typeof i8.MatIconModule], [typeof i1.DbxSpinnerButtonComponent, typeof i2.DbxBarButtonComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbxProgressButtonsModule>;
17
+ }
@@ -0,0 +1,4 @@
1
+ export * from './bar.button.component';
2
+ export * from './spinner.button.component';
3
+ export * from './button.progress.module';
4
+ export * from './button.progress.config';
@@ -0,0 +1,9 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { AbstractProgressButtonDirective } from './base.progress.button.directive';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DbxSpinnerButtonComponent extends AbstractProgressButtonDirective {
5
+ readonly buttonRef: ElementRef<HTMLElement>;
6
+ calcSpinnerSize(): number;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxSpinnerButtonComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxSpinnerButtonComponent, "dbx-spinner-button", never, {}, {}, never, ["*"]>;
9
+ }
@@ -0,0 +1,44 @@
1
+ :host {
2
+ button {
3
+ outline: none;
4
+ &.working {
5
+ cursor: not-allowed;
6
+ }
7
+ & ::ng-deep .mat-button-wrapper {
8
+ display:flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ }
12
+ &.fullWidth {
13
+ width: 100%;
14
+ }
15
+ .spinner {
16
+ position: absolute;
17
+ // top: 25%;
18
+ opacity:0;
19
+ transition: opacity .3s ease-in-out;
20
+ &.working {
21
+ opacity: 1;
22
+ }
23
+ }
24
+ .button-text {
25
+ opacity: 1;
26
+ transition: opacity .3s ease-in-out;
27
+ &.working {
28
+ opacity: 0;
29
+ }
30
+ }
31
+ mat-icon.mat-button-icon {
32
+ padding-right: 5px;
33
+ transition: opacity .3s ease-in-out;
34
+ &.is-mat-icon {
35
+ font-size: 18px;
36
+ position: relative;
37
+ top: 3px;
38
+ }
39
+ &.working {
40
+ opacity: 0;
41
+ }
42
+ }
43
+ }
44
+ }
@@ -2,7 +2,6 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./button/button.module";
3
3
  import * as i2 from "./action/action.module";
4
4
  import * as i3 from "./loading/loading.module";
5
- import * as i4 from "mat-progress-buttons";
6
5
  export declare class DbxWebModule {
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxWebModule, never>;
8
7
  static ɵmod: i0.ɵɵNgModuleDeclaration<DbxWebModule, never, never, [typeof i1.DbxButtonModule, typeof i2.DbxActionModule, typeof i3.DbxLoadingModule]>;
@@ -12,10 +11,9 @@ export declare class DbxWebModule {
12
11
  * Should only be imported once in the root app.
13
12
  *
14
13
  * Pre-configures the following modules:
15
- * - MatProgressButtonsModule
16
14
  */
17
15
  export declare class DbxWebRootModule {
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxWebRootModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxWebRootModule, never, [typeof i4.MatProgressButtonsModule], never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxWebRootModule, never, never, never>;
20
18
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxWebRootModule>;
21
19
  }
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { ActionContextStoreSourceInstance, AbstractSubscriptionDirective } from '@dereekb/dbx-core';
2
+ import { DbxActionContextStoreSourceInstance, AbstractSubscriptionDirective } from '@dereekb/dbx-core';
3
3
  import { DbxReadableErrorComponent } from './error.component';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
@@ -7,8 +7,8 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export declare class DbxActionErrorDirective extends AbstractSubscriptionDirective implements OnInit {
9
9
  readonly error: DbxReadableErrorComponent;
10
- readonly source: ActionContextStoreSourceInstance;
11
- constructor(error: DbxReadableErrorComponent, source: ActionContextStoreSourceInstance);
10
+ readonly source: DbxActionContextStoreSourceInstance;
11
+ constructor(error: DbxReadableErrorComponent, source: DbxActionContextStoreSourceInstance);
12
12
  ngOnInit(): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionErrorDirective, [{ host: true; }, null]>;
14
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionErrorDirective, "[dbxActionError]", never, {}, {}, never>;
@@ -1,10 +1,26 @@
1
1
  @use '../../style/theming';
2
2
 
3
3
  // MARK: Variables
4
-
4
+ $dialog-width: 400px;
5
+ $max-dialog-width: 90vw;
5
6
 
6
7
  // MARK: Mixin
7
- @mixin core() {}
8
+ @mixin core() {
9
+
10
+ .dbx-dialog-content {
11
+
12
+ &.normal-dialog-content {
13
+ width: $dialog-width;
14
+ min-width: $dialog-width;
15
+ }
16
+
17
+ &.wide-dialog-content {
18
+ width: $max-dialog-width;
19
+ }
20
+
21
+ }
22
+
23
+ }
8
24
 
9
25
  @mixin color($theme-config) {}
10
26
 
@@ -8,8 +8,9 @@ import * as i0 from "@angular/core";
8
8
  export declare abstract class AbstractDialogDirective<R = any, D = any, T = any> extends AbstractTransitionWatcherDirective {
9
9
  readonly data: D;
10
10
  readonly dialogRef: MatDialogRef<T, R>;
11
- constructor(data: D, dialogRef: MatDialogRef<T, R>, dbNgxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
11
+ constructor(data: D, dialogRef: MatDialogRef<T, R>, dbxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
12
12
  protected updateForSuccessfulTransition(): void;
13
+ returnValue(value?: R): void;
13
14
  close(value?: R): void;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialogDirective<any, any, any>, [{ optional: true; }, null, null, null]>;
15
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDialogDirective<any, any, any>, never, never, {}, {}, never>;
@@ -0,0 +1,21 @@
1
+ import { Observable } from 'rxjs';
2
+ import { OnInit, OnDestroy, ElementRef } from '@angular/core';
3
+ import { DbxActionContextStoreSourceInstance, AbstractDbxActionValueOnTriggerDirective } from '@dereekb/dbx-core';
4
+ import { IsModifiedFunction } from '@dereekb/rxjs';
5
+ import { Maybe } from '@dereekb/util';
6
+ import { MatDialogRef } from '@angular/material/dialog';
7
+ import * as i0 from "@angular/core";
8
+ export declare type DbxActionDialogFunction<T = any> = () => MatDialogRef<any, Maybe<T>>;
9
+ /**
10
+ * Action directive that is used to trigger/display a dialog, then watches that dialog for a value.
11
+ */
12
+ export declare class DbxActionDialogDirective<T = any> extends AbstractDbxActionValueOnTriggerDirective<T> implements OnInit, OnDestroy {
13
+ readonly elementRef: ElementRef;
14
+ fn?: DbxActionDialogFunction<T>;
15
+ set dbxActionDialogModified(isModifiedFunction: Maybe<IsModifiedFunction>);
16
+ constructor(elementRef: ElementRef, source: DbxActionContextStoreSourceInstance<T, any>);
17
+ protected _getDataFromDialog(): Observable<Maybe<T>>;
18
+ protected _makeDialogRef(): MatDialogRef<any, Maybe<T>>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionDialogDirective<any>, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionDialogDirective<any>, "[dbxActionDialog]", ["dbxActionDialog"], { "fn": "dbxActionDialog"; "dbxActionDialogModified": "dbxActionDialogModified"; }, {}, never>;
21
+ }
@@ -1,12 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./dialog.content.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../layout/style/style.layout.module";
3
+ import * as i2 from "./dialog.action.directive";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../../layout/style/style.layout.module";
5
6
  /**
6
7
  * Module for block components.
7
8
  */
8
9
  export declare class DbxDialogInteractionModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxDialogInteractionModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxDialogInteractionModule, [typeof i1.DbxDialogContentDirective], [typeof i2.CommonModule, typeof i3.DbxStyleLayoutModule], [typeof i1.DbxDialogContentDirective]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxDialogInteractionModule, [typeof i1.DbxDialogContentDirective, typeof i2.DbxActionDialogDirective], [typeof i3.CommonModule, typeof i4.DbxStyleLayoutModule], [typeof i1.DbxDialogContentDirective, typeof i2.DbxActionDialogDirective]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxDialogInteractionModule>;
12
13
  }
@@ -1,3 +1,4 @@
1
1
  export * from './abstract.dialog.directive';
2
2
  export * from './dialog.content.component';
3
+ export * from './dialog.action.directive';
3
4
  export * from './dialog.module';
@@ -10,6 +10,6 @@ import * as i8 from "@angular/material/icon";
10
10
  import * as i9 from "@angular/material/button";
11
11
  export declare class DbxFilterInteractionModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterInteractionModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFilterInteractionModule, [typeof i1.DbxFilterPopoverComponent, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent], [typeof i4.CommonModule, typeof i5.DbxPopoverInteractionModule, typeof i6.DbxCoreFilterModule, typeof i6.DbxInjectedComponentModule, typeof i7.FlexLayoutModule, typeof i8.MatIconModule, typeof i9.MatButtonModule], [typeof i6.DbxCoreFilterModule, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFilterInteractionModule, [typeof i1.DbxFilterPopoverComponent, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent], [typeof i4.CommonModule, typeof i5.DbxPopoverInteractionModule, typeof i6.DbxCoreFilterModule, typeof i6.DbxInjectionComponentModule, typeof i7.FlexLayoutModule, typeof i8.MatIconModule, typeof i9.MatButtonModule], [typeof i6.DbxCoreFilterModule, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxFilterInteractionModule>;
15
15
  }
@@ -1,4 +1,4 @@
1
- import { DbxInjectedComponentConfig } from '@dereekb/dbx-core';
1
+ import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
2
2
  import { ElementRef, Type, OnInit } from '@angular/core';
3
3
  import { NgPopoverRef } from 'ng-overlay-container';
4
4
  import { Observable } from 'rxjs';
@@ -40,7 +40,7 @@ export declare class DbxFilterPopoverComponent<F> extends AbstractPopoverDirecti
40
40
  readonly showSwitchButtons: boolean;
41
41
  private _showPreset;
42
42
  readonly showPreset$: Observable<boolean>;
43
- readonly config$: Observable<DbxInjectedComponentConfig>;
43
+ readonly config$: Observable<DbxInjectionComponentConfig>;
44
44
  static openPopover<F>(popupService: DbxPopoverService, { origin, initialFilterObs: inputSource, connector, customFilterComponentClass, presetFilterComponentClass }: DbxFilterPopoverComponentParams<F>, popoverKey?: DbxPopoverKey): NgPopoverRef;
45
45
  constructor(popover: DbxPopoverComponent);
46
46
  get config(): DbxFilterComponentParams<F>;
@@ -1,6 +1,5 @@
1
1
  export * from './abstract.popover.directive';
2
2
  export * from './abstract.popover.ref.directive';
3
- export * from './popover.action.button.directive';
4
3
  export * from './popover.action.directive';
5
4
  export * from './popover.component';
6
5
  export * from './popover.content.component';
@@ -1,33 +1,24 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { OnInit, OnDestroy, ElementRef } from '@angular/core';
3
- import { NgPopoverCloseEvent, NgPopoverRef } from 'ng-overlay-container';
4
- import { AbstractPopoverRefWithEventsDirective } from './abstract.popover.ref.directive';
5
- import { ActionContextStoreSourceInstance } from '@dereekb/dbx-core';
3
+ import { NgPopoverRef } from 'ng-overlay-container';
4
+ import { DbxActionContextStoreSourceInstance, AbstractDbxActionValueOnTriggerDirective } from '@dereekb/dbx-core';
5
+ import { IsModifiedFunction } from '@dereekb/rxjs';
6
+ import { Maybe } from '@dereekb/util';
6
7
  import * as i0 from "@angular/core";
7
- export interface DbxPopoverActionFnParam {
8
+ export interface DbxActionPopoverFunctionParams {
8
9
  origin: ElementRef;
9
10
  }
10
- export declare type DbxPopoverActionFn<T = object> = (params: DbxPopoverActionFnParam) => NgPopoverRef<any, T>;
11
- export declare type DbxPopoverActionModifiedFn<T = any> = (value: T) => Observable<boolean>;
11
+ export declare type DbxActionPopoverFunction<T = any> = (params: DbxActionPopoverFunctionParams) => NgPopoverRef<any, Maybe<T>>;
12
12
  /**
13
- * Action directive that is used to trigger/display a popover,
14
- * then watches that popover for a value.
15
- *
16
- * The value is passed to the isModified function (ifProvided), and if that returns true it will
13
+ * Action directive that is used to trigger/display a popover, then watches that popover for a value.
17
14
  */
18
- export declare class DbxPopoverActionDirective<T = object> extends AbstractPopoverRefWithEventsDirective<any, T> implements OnInit, OnDestroy {
15
+ export declare class DbxActionPopoverDirective<T = any> extends AbstractDbxActionValueOnTriggerDirective<T> implements OnInit, OnDestroy {
19
16
  readonly elementRef: ElementRef;
20
- readonly source: ActionContextStoreSourceInstance<T, any>;
21
- fn?: DbxPopoverActionFn<T>;
22
- appPopoverActionModified?: DbxPopoverActionModifiedFn<T>;
23
- private _popoverValue;
24
- private _triggeredSub;
25
- private _isModifiedSub;
26
- constructor(elementRef: ElementRef, source: ActionContextStoreSourceInstance<T, any>);
27
- ngOnInit(): void;
28
- ngOnDestroy(): void;
29
- protected _makePopoverRef(): NgPopoverRef<any, T>;
30
- protected _afterClosed(event: NgPopoverCloseEvent<T>): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopoverActionDirective<any>, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxPopoverActionDirective<any>, "[dbxPopoverAction]", ["popoverAction"], { "fn": "dbxPopoverAction"; "appPopoverActionModified": "appPopoverActionModified"; }, {}, never>;
17
+ fn?: DbxActionPopoverFunction<T>;
18
+ set dbxActionPopoverModified(isModifiedFunction: Maybe<IsModifiedFunction>);
19
+ constructor(elementRef: ElementRef, source: DbxActionContextStoreSourceInstance<T, any>);
20
+ protected _getDataFromPopover(): Observable<Maybe<T>>;
21
+ protected _makePopoverRef(): NgPopoverRef<any, Maybe<T>>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionPopoverDirective<any>, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionPopoverDirective<any>, "[dbxActionPopover]", ["dbxActionPopover"], { "fn": "dbxActionPopover"; "dbxActionPopoverModified": "dbxActionPopoverModified"; }, {}, never>;
33
24
  }
@@ -1,6 +1,6 @@
1
1
  import { NgZone, Type, OnInit, OnDestroy, ElementRef } from '@angular/core';
2
2
  import { NgOverlayContainerConfiguration, NgPopoverRef } from 'ng-overlay-container';
3
- import { AbstractTransitionWatcherDirective, DbxRouterTransitionService, DbxInjectedComponentConfig } from '@dereekb/dbx-core';
3
+ import { AbstractTransitionWatcherDirective, DbxRouterTransitionService, DbxInjectionComponentConfig } from '@dereekb/dbx-core';
4
4
  import { LockSet } from '@dereekb/rxjs';
5
5
  import { CompactContextStore } from '../../layout';
6
6
  import { Maybe } from '@dereekb/util';
@@ -50,14 +50,14 @@ export declare class DbxPopoverComponent<O = any, I = any, T = any> extends Abst
50
50
  private popoverRef;
51
51
  private compactContextState;
52
52
  readonly lockSet: LockSet;
53
- readonly contentConfig: DbxInjectedComponentConfig;
53
+ readonly contentConfig: DbxInjectionComponentConfig;
54
54
  private _startedClosing;
55
55
  private readonly _closing;
56
56
  private _triggerCloseKeys;
57
57
  readonly isClosing$: import("rxjs").Observable<boolean>;
58
58
  readonly closing$: import("rxjs").Observable<boolean>;
59
59
  getClosingValueFn?: (value?: I) => Promise<O>;
60
- constructor(popoverRef: NgPopoverRef<FullDbxPopoverComponentConfig<O, I, T>, O>, compactContextState: CompactContextStore, dbNgxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
60
+ constructor(popoverRef: NgPopoverRef<FullDbxPopoverComponentConfig<O, I, T>, O>, compactContextState: CompactContextStore, dbxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
61
61
  get config(): FullDbxPopoverComponentConfig<O, I, T>;
62
62
  get key(): DbxPopoverKey;
63
63
  get data(): Maybe<I>;
@@ -1,11 +1,13 @@
1
1
  import { DbxPopoverKey, DbxPopoverController } from './popover';
2
+ import { OnDestroy } from '@angular/core';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
4
5
  * Used for coordinating popovers and closing/replacing existing ones when a new popover of the same name appears.
5
6
  */
6
- export declare class DbxPopoverCoordinatorService {
7
+ export declare class DbxPopoverCoordinatorService implements OnDestroy {
7
8
  private _popovers;
8
9
  readonly popovers$: import("rxjs").Observable<Map<string, DbxPopoverController<any, any>>>;
10
+ ngOnDestroy(): void;
9
11
  get popovers(): Map<DbxPopoverKey, DbxPopoverController>;
10
12
  addPopover(popover: DbxPopoverController): void;
11
13
  removePopover(key: DbxPopoverKey, popover?: DbxPopoverController): void;
@@ -1,28 +1,25 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- import * as i1 from "./popover.action.button.directive";
4
- import * as i2 from "./popover.action.directive";
5
- import * as i3 from "./popover.component";
6
- import * as i4 from "./popover.coordinator.component";
7
- import * as i5 from "./popover.content.component";
8
- import * as i6 from "./popover.controls.directive";
9
- import * as i7 from "./popover.header.component";
10
- import * as i8 from "./popover.scroll.content.component";
11
- import * as i9 from "@angular/common";
12
- import * as i10 from "@angular/material/icon";
13
- import * as i11 from "@angular/material/button";
14
- import * as i12 from "@angular/material/divider";
15
- import * as i13 from "../../button/button.module";
16
- import * as i14 from "../../router/layout/anchor/anchor.module";
17
- import * as i15 from "../../action/action.module";
18
- import * as i16 from "../../keypress/keypress.module";
19
- import * as i17 from "../../layout/style/style.layout.module";
20
- import * as i18 from "@dereekb/dbx-core";
21
- import * as i19 from "ng-overlay-container";
22
- import * as i20 from "angular-resize-event";
2
+ import * as i1 from "./popover.action.directive";
3
+ import * as i2 from "./popover.component";
4
+ import * as i3 from "./popover.coordinator.component";
5
+ import * as i4 from "./popover.content.component";
6
+ import * as i5 from "./popover.controls.directive";
7
+ import * as i6 from "./popover.header.component";
8
+ import * as i7 from "./popover.scroll.content.component";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/material/icon";
11
+ import * as i10 from "@angular/material/button";
12
+ import * as i11 from "@angular/material/divider";
13
+ import * as i12 from "../../button/button.module";
14
+ import * as i13 from "../../router/layout/anchor/anchor.module";
15
+ import * as i14 from "../../action/action.module";
16
+ import * as i15 from "../../keypress/keypress.module";
17
+ import * as i16 from "../../layout/style/style.layout.module";
18
+ import * as i17 from "@dereekb/dbx-core";
19
+ import * as i18 from "ng-overlay-container";
20
+ import * as i19 from "angular-resize-event";
23
21
  export declare class DbxPopoverInteractionModule {
24
- static forRoot(): ModuleWithProviders<DbxPopoverInteractionModule>;
25
22
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopoverInteractionModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPopoverInteractionModule, [typeof i1.DbxPopoverActionButtonDirective, typeof i2.DbxPopoverActionDirective, typeof i3.DbxPopoverComponent, typeof i4.DbxPopoverCoordinatorComponent, typeof i5.DbxPopoverContentComponent, typeof i6.DbxPopoverControlsDirective, typeof i7.DbxPopoverHeaderComponent, typeof i8.DbxPopoverScrollContentComponent], [typeof i9.CommonModule, typeof i10.MatIconModule, typeof i11.MatButtonModule, typeof i12.MatDividerModule, typeof i13.DbxButtonModule, typeof i14.DbxAnchorModule, typeof i15.DbxActionModule, typeof i16.DbxKeypressModule, typeof i17.DbxStyleLayoutModule, typeof i18.DbxInjectedComponentModule, typeof i19.NgOverlayContainerModule, typeof i20.AngularResizeEventModule], [typeof i1.DbxPopoverActionButtonDirective, typeof i2.DbxPopoverActionDirective, typeof i5.DbxPopoverContentComponent, typeof i6.DbxPopoverControlsDirective, typeof i7.DbxPopoverHeaderComponent, typeof i8.DbxPopoverScrollContentComponent]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPopoverInteractionModule, [typeof i1.DbxActionPopoverDirective, typeof i2.DbxPopoverComponent, typeof i3.DbxPopoverCoordinatorComponent, typeof i4.DbxPopoverContentComponent, typeof i5.DbxPopoverControlsDirective, typeof i6.DbxPopoverHeaderComponent, typeof i7.DbxPopoverScrollContentComponent], [typeof i8.CommonModule, typeof i9.MatIconModule, typeof i10.MatButtonModule, typeof i11.MatDividerModule, typeof i12.DbxButtonModule, typeof i13.DbxRouterAnchorModule, typeof i14.DbxActionModule, typeof i15.DbxKeypressModule, typeof i16.DbxStyleLayoutModule, typeof i17.DbxInjectionComponentModule, typeof i18.NgOverlayContainerModule, typeof i19.AngularResizeEventModule], [typeof i1.DbxActionPopoverDirective, typeof i4.DbxPopoverContentComponent, typeof i5.DbxPopoverControlsDirective, typeof i6.DbxPopoverHeaderComponent, typeof i7.DbxPopoverScrollContentComponent]>;
27
24
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxPopoverInteractionModule>;
28
25
  }
@@ -3,7 +3,7 @@ import { NgPopoverRef } from 'ng-overlay-container';
3
3
  import { Maybe } from '@dereekb/util';
4
4
  import { CompactContextStore } from '../../layout';
5
5
  import { PopupPosition, PopupPositionOffset } from './popup.position.strategy';
6
- import { AbstractTransitionWatcherDirective, DbxInjectedComponentConfig, DbxRouterTransitionService } from '@dereekb/dbx-core';
6
+ import { AbstractTransitionWatcherDirective, DbxInjectionComponentConfig, DbxRouterTransitionService } from '@dereekb/dbx-core';
7
7
  import { DbxPopupController, DbxPopupKey, DbxPopupWindowState } from './popup';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare const APP_POPUP_NORMAL_WIDTH = "700px";
@@ -34,14 +34,14 @@ export declare class DbxPopupComponent<O = any, I = any, T = any> extends Abstra
34
34
  private popoverRef;
35
35
  private compactContextState;
36
36
  private _position;
37
- readonly contentConfig: DbxInjectedComponentConfig;
37
+ readonly contentConfig: DbxInjectionComponentConfig;
38
38
  private readonly closing;
39
39
  readonly isClosing$: import("rxjs").Observable<boolean>;
40
40
  readonly closing$: import("rxjs").Observable<boolean>;
41
41
  private readonly _windowState;
42
42
  readonly windowState$: import("rxjs").Observable<DbxPopupWindowState>;
43
43
  getClosingValueFn?: (value?: I) => Promise<O>;
44
- constructor(popoverRef: NgPopoverRef<DbxPopupComponentConfig<O, I, T>, O>, compactContextState: CompactContextStore, dbNgxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
44
+ constructor(popoverRef: NgPopoverRef<DbxPopupComponentConfig<O, I, T>, O>, compactContextState: CompactContextStore, dbxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
45
45
  get config(): DbxPopupComponentConfig<O, I, T>;
46
46
  get key(): DbxPopupKey;
47
47
  get data(): Maybe<I>;
@@ -1,12 +1,14 @@
1
1
  import { DbxPopupKey, DbxPopupController } from './popup';
2
+ import { OnDestroy } from '@angular/core';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
4
5
  * Used for coordinating popups and closing/replacing existing ones when a new popup of the same name appears.
5
6
  */
6
- export declare class DbxPopupCoordinatorService {
7
+ export declare class DbxPopupCoordinatorService implements OnDestroy {
7
8
  private _popups;
8
9
  readonly popups$: import("rxjs").Observable<Map<string, DbxPopupController<any, any>>>;
9
10
  constructor();
11
+ ngOnDestroy(): void;
10
12
  get popups(): Map<DbxPopupKey, DbxPopupController>;
11
13
  addPopup(popup: DbxPopupController): void;
12
14
  removePopup(key: DbxPopupKey, popup?: DbxPopupController): void;
@@ -1,4 +1,3 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  import * as i1 from "./popup.component";
4
3
  import * as i2 from "./popup.coordinator.component";
@@ -15,8 +14,7 @@ import * as i12 from "../../layout/style/style.layout.module";
15
14
  import * as i13 from "@dereekb/dbx-core";
16
15
  import * as i14 from "ng-overlay-container";
17
16
  export declare class DbxPopupInteractionModule {
18
- static forRoot(): ModuleWithProviders<DbxPopupInteractionModule>;
19
17
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupInteractionModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPopupInteractionModule, [typeof i1.DbxPopupComponent, typeof i2.DbxPopupCoordinatorComponent, typeof i3.DbxPopupContentComponent, typeof i4.DbxPopupControlsComponent, typeof i5.DbxPopupControlButtonsComponent], [typeof i6.CommonModule, typeof i7.MatIconModule, typeof i8.MatButtonModule, typeof i9.DbxButtonModule, typeof i10.DbxAnchorModule, typeof i11.DbxActionModule, typeof i12.DbxStyleLayoutModule, typeof i13.DbxInjectedComponentModule, typeof i14.NgOverlayContainerModule], [typeof i3.DbxPopupContentComponent, typeof i4.DbxPopupControlsComponent, typeof i5.DbxPopupControlButtonsComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPopupInteractionModule, [typeof i1.DbxPopupComponent, typeof i2.DbxPopupCoordinatorComponent, typeof i3.DbxPopupContentComponent, typeof i4.DbxPopupControlsComponent, typeof i5.DbxPopupControlButtonsComponent], [typeof i6.CommonModule, typeof i7.MatIconModule, typeof i8.MatButtonModule, typeof i9.DbxButtonModule, typeof i10.DbxRouterAnchorModule, typeof i11.DbxActionModule, typeof i12.DbxStyleLayoutModule, typeof i13.DbxInjectionComponentModule, typeof i14.NgOverlayContainerModule], [typeof i3.DbxPopupContentComponent, typeof i4.DbxPopupControlsComponent, typeof i5.DbxPopupControlButtonsComponent]>;
21
19
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxPopupInteractionModule>;
22
20
  }
@@ -1,5 +1,5 @@
1
1
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
- import { DbxInjectedComponentConfig } from '@dereekb/dbx-core';
2
+ import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
3
3
  import { OnInit } from '@angular/core';
4
4
  import { AbstractDialogDirective } from '../dialog/abstract.dialog.directive';
5
5
  import { DbxPromptConfirmConfig, DbxPromptConfirmTypes } from './prompt.confirm.component';
@@ -10,11 +10,11 @@ export declare const DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG: {
10
10
  type: DbxPromptConfirmTypes;
11
11
  };
12
12
  export interface DbxPromptConfirmDialogConfig extends DbxPromptConfirmConfig {
13
- component?: DbxInjectedComponentConfig;
13
+ component?: DbxInjectionComponentConfig;
14
14
  }
15
15
  export declare class DbxPromptConfirmDialogComponent extends AbstractDialogDirective<boolean, DbxPromptConfirmDialogConfig> implements OnInit {
16
16
  get config(): DbxPromptConfirmDialogConfig;
17
- get injectedConfig(): Maybe<DbxInjectedComponentConfig>;
17
+ get injectionConfig(): Maybe<DbxInjectionComponentConfig>;
18
18
  static openDialog(matDialog: MatDialog, config?: DbxPromptConfirmDialogConfig): MatDialogRef<DbxPromptConfirmDialogComponent, boolean>;
19
19
  confirm(): void;
20
20
  cancel(): void;
@@ -17,6 +17,6 @@ import * as i15 from "../../layout/section/section.layout.module";
17
17
  import * as i16 from "../../layout/content/content.layout.module";
18
18
  export declare class DbxPromptModule {
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxPromptModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPromptModule, [typeof i1.DbxPromptComponent, typeof i2.DbxPromptBoxComponent, typeof i3.DbxPromptPageComponent, typeof i4.DbxPromptConfirmComponent, typeof i5.DbxPromptConfirmButtonDirective, typeof i6.DbxPromptConfirmDialogComponent, typeof i7.DbxPromptConfirmDirective], [typeof i8.CommonModule, typeof i9.MatDialogModule, typeof i10.MatButtonModule, typeof i11.DbxTextModule, typeof i12.DbxButtonModule, typeof i13.DbxInjectedComponentModule, typeof i14.DbxDialogInteractionModule, typeof i15.DbxSectionLayoutModule, typeof i16.DbxContentLayoutModule], [typeof i1.DbxPromptComponent, typeof i2.DbxPromptBoxComponent, typeof i3.DbxPromptPageComponent, typeof i4.DbxPromptConfirmComponent, typeof i5.DbxPromptConfirmButtonDirective, typeof i7.DbxPromptConfirmDirective]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPromptModule, [typeof i1.DbxPromptComponent, typeof i2.DbxPromptBoxComponent, typeof i3.DbxPromptPageComponent, typeof i4.DbxPromptConfirmComponent, typeof i5.DbxPromptConfirmButtonDirective, typeof i6.DbxPromptConfirmDialogComponent, typeof i7.DbxPromptConfirmDirective], [typeof i8.CommonModule, typeof i9.MatDialogModule, typeof i10.MatButtonModule, typeof i11.DbxTextModule, typeof i12.DbxButtonModule, typeof i13.DbxInjectionComponentModule, typeof i14.DbxDialogInteractionModule, typeof i15.DbxSectionLayoutModule, typeof i16.DbxContentLayoutModule], [typeof i1.DbxPromptComponent, typeof i2.DbxPromptBoxComponent, typeof i3.DbxPromptPageComponent, typeof i4.DbxPromptConfirmComponent, typeof i5.DbxPromptConfirmButtonDirective, typeof i7.DbxPromptConfirmDirective]>;
21
21
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxPromptModule>;
22
22
  }
@@ -1,22 +1,25 @@
1
1
  @use '../../style/theming';
2
2
 
3
3
  // MARK: Variables
4
-
4
+ $two-block-top-height-init-height: 50px;
5
+ $two-block-top-height-var: --dbx-two-block-top-height;
5
6
 
6
7
  // MARK: Mixin
7
8
  @mixin core() {
8
9
 
9
- // todo
10
+ .dbx-two-block.dbx-two-block-fixed-top {
11
+ height: 100%;
12
+ }
10
13
 
11
- .two-blocks {
14
+ .dbx-two-block-content {
12
15
  height: 100%;
13
- --two-blocks-top-height: 50;
14
-
15
- .bottom-block {
16
- height: calc(100% - var(--two-blocks-top-height));
16
+ #{$two-block-top-height-var}: $two-block-top-height-init-height;
17
+
18
+ .dbx-two-block-bottom {
19
+ height: calc(100% - var($two-block-top-height-var));
17
20
  }
18
21
  }
19
-
22
+
20
23
  }
21
24
 
22
25
  @mixin color($theme-config) {}
@@ -8,6 +8,6 @@ import * as i4 from "angular-resize-event";
8
8
  */
9
9
  export declare class DbxBlockLayoutModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxBlockLayoutModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxBlockLayoutModule, [typeof i1.DbxTwoBlocksComponent], [typeof i2.CommonModule, typeof i3.DbxAnchorModule, typeof i4.AngularResizeEventModule], [typeof i1.DbxTwoBlocksComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxBlockLayoutModule, [typeof i1.DbxTwoBlocksComponent], [typeof i2.CommonModule, typeof i3.DbxRouterAnchorModule, typeof i4.AngularResizeEventModule], [typeof i1.DbxTwoBlocksComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxBlockLayoutModule>;
13
13
  }
@@ -9,8 +9,12 @@ import * as i0 from "@angular/core";
9
9
  * The height is calculated from 100%.
10
10
  */
11
11
  export declare class DbxTwoBlocksComponent {
12
+ /**
13
+ * Whether or not the top bar should be fixed in place instead of scrolling with the bottom when content is too tall.
14
+ */
15
+ fixedTop: boolean;
12
16
  twoElement: ElementRef;
13
17
  onResized(event: ResizedEvent): void;
14
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoBlocksComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoBlocksComponent, "dbx-two-block", never, {}, {}, never, ["[top]", "*"]>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoBlocksComponent, "dbx-two-block", never, { "fixedTop": "fixedTop"; }, {}, never, ["[top]", "*"]>;
16
20
  }