@dereekb/dbx-web 2.0.0 → 4.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 (289) hide show
  1. package/esm2020/lib/action/action.confirm.directive.mjs +3 -3
  2. package/esm2020/lib/action/action.module.mjs +16 -7
  3. package/esm2020/lib/action/action.progress.component.mjs +20 -0
  4. package/esm2020/lib/action/index.mjs +2 -1
  5. package/esm2020/lib/action/key.trigger.directive.mjs +3 -3
  6. package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +5 -5
  7. package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +3 -3
  8. package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +5 -5
  9. package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +4 -4
  10. package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +3 -3
  11. package/esm2020/lib/action/transition/action.transition.module.mjs +4 -4
  12. package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +4 -4
  13. package/esm2020/lib/action/transition/transition.safety.directive.mjs +3 -3
  14. package/esm2020/lib/button/button.component.mjs +31 -12
  15. package/esm2020/lib/button/button.module.mjs +12 -12
  16. package/esm2020/lib/button/button.spacer.component.mjs +3 -3
  17. package/esm2020/lib/button/index.mjs +2 -1
  18. package/esm2020/lib/button/progress/bar.button.component.mjs +16 -0
  19. package/esm2020/lib/button/progress/base.progress.button.directive.mjs +104 -0
  20. package/esm2020/lib/button/progress/button.progress.config.mjs +3 -0
  21. package/esm2020/lib/button/progress/button.progress.module.mjs +61 -0
  22. package/esm2020/lib/button/progress/index.mjs +5 -0
  23. package/esm2020/lib/button/progress/spinner.button.component.mjs +40 -0
  24. package/esm2020/lib/dbx-web.module.mjs +10 -17
  25. package/esm2020/lib/error/error.action.directive.mjs +3 -3
  26. package/esm2020/lib/error/error.component.mjs +5 -5
  27. package/esm2020/lib/error/error.loading.directive.mjs +3 -3
  28. package/esm2020/lib/error/error.module.mjs +4 -4
  29. package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +9 -6
  30. package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +41 -0
  31. package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +4 -4
  32. package/esm2020/lib/interaction/dialog/dialog.module.mjs +12 -7
  33. package/esm2020/lib/interaction/dialog/index.mjs +2 -1
  34. package/esm2020/lib/interaction/filter/filter.module.mjs +9 -9
  35. package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +3 -3
  36. package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +3 -3
  37. package/esm2020/lib/interaction/filter/filter.popover.component.mjs +5 -5
  38. package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +3 -3
  39. package/esm2020/lib/interaction/interaction.module.mjs +4 -4
  40. package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +3 -3
  41. package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +6 -6
  42. package/esm2020/lib/interaction/popover/index.mjs +1 -2
  43. package/esm2020/lib/interaction/popover/popover.action.directive.mjs +18 -56
  44. package/esm2020/lib/interaction/popover/popover.component.mjs +9 -9
  45. package/esm2020/lib/interaction/popover/popover.content.component.mjs +3 -3
  46. package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +3 -3
  47. package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +3 -3
  48. package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +11 -5
  49. package/esm2020/lib/interaction/popover/popover.header.component.mjs +3 -3
  50. package/esm2020/lib/interaction/popover/popover.module.mjs +17 -31
  51. package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +3 -3
  52. package/esm2020/lib/interaction/popover/popover.service.mjs +3 -3
  53. package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +3 -3
  54. package/esm2020/lib/interaction/popup/popup.component.mjs +9 -9
  55. package/esm2020/lib/interaction/popup/popup.content.component.mjs +3 -3
  56. package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +4 -4
  57. package/esm2020/lib/interaction/popup/popup.controls.component.mjs +3 -3
  58. package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +3 -3
  59. package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +11 -5
  60. package/esm2020/lib/interaction/popup/popup.module.mjs +13 -22
  61. package/esm2020/lib/interaction/popup/popup.service.mjs +3 -3
  62. package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +3 -3
  63. package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +3 -3
  64. package/esm2020/lib/interaction/prompt/prompt.component.mjs +3 -3
  65. package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +3 -3
  66. package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +8 -8
  67. package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +6 -6
  68. package/esm2020/lib/interaction/prompt/prompt.module.mjs +9 -9
  69. package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +3 -3
  70. package/esm2020/lib/keypress/keydown.listener.directive.mjs +3 -3
  71. package/esm2020/lib/keypress/keypress.module.mjs +4 -4
  72. package/esm2020/lib/layout/bar/bar.directive.mjs +3 -3
  73. package/esm2020/lib/layout/bar/bar.header.component.mjs +3 -3
  74. package/esm2020/lib/layout/bar/bar.layout.module.mjs +4 -4
  75. package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
  76. package/esm2020/lib/layout/block/block.layout.module.mjs +9 -9
  77. package/esm2020/lib/layout/block/two.block.component.mjs +22 -10
  78. package/esm2020/lib/layout/card/card.box.component.mjs +3 -3
  79. package/esm2020/lib/layout/card/card.box.container.component.mjs +3 -3
  80. package/esm2020/lib/layout/card/card.box.layout.module.mjs +4 -4
  81. package/esm2020/lib/layout/column/column.layout.module.mjs +4 -4
  82. package/esm2020/lib/layout/column/one/one.column.component.mjs +9 -9
  83. package/esm2020/lib/layout/column/one/one.column.module.mjs +4 -4
  84. package/esm2020/lib/layout/column/two/index.mjs +2 -1
  85. package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +8 -8
  86. package/esm2020/lib/layout/column/two/two.column.component.mjs +51 -14
  87. package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +36 -0
  88. package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +8 -8
  89. package/esm2020/lib/layout/column/two/two.column.head.component.mjs +8 -8
  90. package/esm2020/lib/layout/column/two/two.column.module.mjs +43 -38
  91. package/esm2020/lib/layout/column/two/two.column.right.component.mjs +11 -6
  92. package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +12 -17
  93. package/esm2020/lib/layout/column/two/two.column.store.mjs +8 -7
  94. package/esm2020/lib/layout/compact/compact.directive.mjs +3 -3
  95. package/esm2020/lib/layout/compact/compact.layout.module.mjs +4 -4
  96. package/esm2020/lib/layout/compact/compact.store.mjs +3 -3
  97. package/esm2020/lib/layout/content/content.border.directive.mjs +3 -3
  98. package/esm2020/lib/layout/content/content.box.directive.mjs +9 -5
  99. package/esm2020/lib/layout/content/content.container.directive.mjs +4 -4
  100. package/esm2020/lib/layout/content/content.directive.mjs +3 -3
  101. package/esm2020/lib/layout/content/content.elevate.directive.mjs +3 -3
  102. package/esm2020/lib/layout/content/content.layout.module.mjs +4 -4
  103. package/esm2020/lib/layout/content/content.page.directive.mjs +3 -3
  104. package/esm2020/lib/layout/flag/flag.component.mjs +3 -3
  105. package/esm2020/lib/layout/flag/flag.layout.module.mjs +4 -4
  106. package/esm2020/lib/layout/flag/flag.prompt.component.mjs +3 -3
  107. package/esm2020/lib/layout/flex/flex.group.directive.mjs +8 -4
  108. package/esm2020/lib/layout/flex/flex.layout.module.mjs +4 -4
  109. package/esm2020/lib/layout/flex/flex.size.directive.mjs +3 -3
  110. package/esm2020/lib/layout/item/item.icon.component.mjs +3 -3
  111. package/esm2020/lib/layout/item/item.layout.module.mjs +4 -4
  112. package/esm2020/lib/layout/layout.module.mjs +4 -4
  113. package/esm2020/lib/layout/list/index.mjs +5 -1
  114. package/esm2020/lib/layout/list/list.component.mjs +22 -9
  115. package/esm2020/lib/layout/list/list.content.empty.component.mjs +3 -3
  116. package/esm2020/lib/layout/list/list.directive.mjs +12 -10
  117. package/esm2020/lib/layout/list/list.layout.module.mjs +32 -18
  118. package/esm2020/lib/layout/list/list.view.directive.mjs +11 -4
  119. package/esm2020/lib/layout/list/list.view.mjs +1 -1
  120. package/esm2020/lib/layout/list/list.view.selection.directive.mjs +8 -7
  121. package/esm2020/lib/layout/list/list.view.value.component.mjs +57 -28
  122. package/esm2020/lib/layout/list/list.view.value.directive.mjs +18 -10
  123. package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +7 -7
  124. package/esm2020/lib/layout/list/list.view.value.mjs +36 -24
  125. package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +81 -0
  126. package/esm2020/lib/layout/list/list.view.value.modifier.mjs +15 -0
  127. package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +45 -0
  128. package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +57 -43
  129. package/esm2020/lib/layout/list/list.wrapper.mjs +13 -0
  130. package/esm2020/lib/layout/section/section.component.mjs +3 -3
  131. package/esm2020/lib/layout/section/section.header.component.mjs +3 -3
  132. package/esm2020/lib/layout/section/section.intro.component.mjs +3 -3
  133. package/esm2020/lib/layout/section/section.layout.module.mjs +9 -9
  134. package/esm2020/lib/layout/section/section.page.component.mjs +3 -3
  135. package/esm2020/lib/layout/section/subsection.component.mjs +3 -3
  136. package/esm2020/lib/layout/step/step.component.mjs +3 -3
  137. package/esm2020/lib/layout/step/step.layout.module.mjs +4 -4
  138. package/esm2020/lib/layout/style/spacer.directive.mjs +3 -3
  139. package/esm2020/lib/layout/style/style.body.directive.mjs +3 -3
  140. package/esm2020/lib/layout/style/style.directive.mjs +3 -3
  141. package/esm2020/lib/layout/style/style.layout.module.mjs +4 -4
  142. package/esm2020/lib/layout/style/style.service.mjs +6 -4
  143. package/esm2020/lib/layout/style/style.set.directive.mjs +5 -4
  144. package/esm2020/lib/layout/text/hint.component.mjs +3 -3
  145. package/esm2020/lib/layout/text/icon.spacer.component.mjs +3 -3
  146. package/esm2020/lib/layout/text/label.component.mjs +3 -3
  147. package/esm2020/lib/layout/text/linkify.component.mjs +3 -3
  148. package/esm2020/lib/layout/text/note.component.mjs +3 -3
  149. package/esm2020/lib/layout/text/notice.component.mjs +3 -3
  150. package/esm2020/lib/layout/text/ok.component.mjs +3 -3
  151. package/esm2020/lib/layout/text/success.component.mjs +3 -3
  152. package/esm2020/lib/layout/text/text.chips.component.mjs +3 -3
  153. package/esm2020/lib/layout/text/text.module.mjs +4 -4
  154. package/esm2020/lib/layout/text/warn.component.mjs +3 -3
  155. package/esm2020/lib/loading/basic-loading.component.mjs +3 -3
  156. package/esm2020/lib/loading/loading-progress.component.mjs +4 -4
  157. package/esm2020/lib/loading/loading.action.directive.mjs +3 -3
  158. package/esm2020/lib/loading/loading.component.mjs +3 -3
  159. package/esm2020/lib/loading/loading.module.mjs +4 -4
  160. package/esm2020/lib/router/layout/anchor/anchor.component.mjs +9 -5
  161. package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +31 -9
  162. package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +3 -3
  163. package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +3 -3
  164. package/esm2020/lib/router/layout/anchor/anchor.module.mjs +10 -10
  165. package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +4 -4
  166. package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +5 -5
  167. package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +10 -10
  168. package/esm2020/lib/router/layout/index.mjs +2 -1
  169. package/esm2020/lib/router/layout/layout.module.mjs +23 -19
  170. package/esm2020/lib/router/layout/list/index.mjs +3 -0
  171. package/esm2020/lib/router/layout/list/list.module.mjs +21 -0
  172. package/esm2020/lib/router/layout/list/router.list.directive.mjs +42 -0
  173. package/esm2020/lib/router/layout/navbar/navbar.component.mjs +4 -4
  174. package/esm2020/lib/router/layout/navbar/navbar.module.mjs +10 -10
  175. package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +3 -3
  176. package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
  177. package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +14 -14
  178. package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +7 -4
  179. package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +4 -4
  180. package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +5 -5
  181. package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +9 -9
  182. package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
  183. package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +5 -5
  184. package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +9 -9
  185. package/esm2020/lib/screen/screen.module.mjs +4 -4
  186. package/esm2020/lib/screen/screen.service.mjs +5 -4
  187. package/fesm2015/dereekb-dbx-web.mjs +1718 -1110
  188. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  189. package/fesm2020/dereekb-dbx-web.mjs +1712 -1105
  190. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  191. package/lib/action/action.module.d.ts +10 -8
  192. package/lib/action/action.progress.component.d.ts +5 -0
  193. package/lib/action/index.d.ts +1 -0
  194. package/lib/action/snackbar/action.snackbar.generator.d.ts +5 -5
  195. package/lib/button/_button.scss +21 -0
  196. package/lib/button/button.component.d.ts +7 -3
  197. package/lib/button/button.module.d.ts +2 -2
  198. package/lib/button/index.d.ts +1 -0
  199. package/lib/button/progress/bar.button.component.d.ts +6 -0
  200. package/lib/button/progress/bar.button.component.scss +23 -0
  201. package/lib/button/progress/base.progress.button.directive.d.ts +37 -0
  202. package/lib/button/progress/button.progress.config.d.ts +51 -0
  203. package/lib/button/progress/button.progress.module.d.ts +17 -0
  204. package/lib/button/progress/index.d.ts +4 -0
  205. package/lib/button/progress/spinner.button.component.d.ts +9 -0
  206. package/lib/button/progress/spinner.button.component.scss +44 -0
  207. package/lib/dbx-web.module.d.ts +1 -3
  208. package/lib/interaction/dialog/_dialog.scss +18 -2
  209. package/lib/interaction/dialog/abstract.dialog.directive.d.ts +2 -1
  210. package/lib/interaction/dialog/dialog.action.directive.d.ts +21 -0
  211. package/lib/interaction/dialog/dialog.module.d.ts +4 -3
  212. package/lib/interaction/dialog/index.d.ts +1 -0
  213. package/lib/interaction/filter/filter.module.d.ts +1 -1
  214. package/lib/interaction/filter/filter.popover.component.d.ts +2 -2
  215. package/lib/interaction/popover/index.d.ts +0 -1
  216. package/lib/interaction/popover/popover.action.directive.d.ts +14 -23
  217. package/lib/interaction/popover/popover.component.d.ts +3 -3
  218. package/lib/interaction/popover/popover.coordinator.service.d.ts +3 -1
  219. package/lib/interaction/popover/popover.module.d.ts +20 -23
  220. package/lib/interaction/popup/popup.component.d.ts +3 -3
  221. package/lib/interaction/popup/popup.coordinator.service.d.ts +3 -1
  222. package/lib/interaction/popup/popup.module.d.ts +1 -3
  223. package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +3 -3
  224. package/lib/interaction/prompt/prompt.module.d.ts +1 -1
  225. package/lib/layout/block/_block.scss +11 -8
  226. package/lib/layout/block/block.layout.module.d.ts +1 -1
  227. package/lib/layout/block/two.block.component.d.ts +5 -1
  228. package/lib/layout/column/_column.scss +119 -3
  229. package/lib/layout/column/two/index.d.ts +1 -0
  230. package/lib/layout/column/two/two.column.back.directive.d.ts +4 -4
  231. package/lib/layout/column/two/two.column.component.d.ts +23 -7
  232. package/lib/layout/column/two/two.column.context.directive.d.ts +18 -0
  233. package/lib/layout/column/two/two.column.full.left.directive.d.ts +4 -4
  234. package/lib/layout/column/two/two.column.head.component.d.ts +3 -3
  235. package/lib/layout/column/two/two.column.module.d.ts +7 -6
  236. package/lib/layout/column/two/two.column.right.component.d.ts +6 -4
  237. package/lib/layout/column/two/two.column.sref.directive.d.ts +6 -7
  238. package/lib/layout/column/two/two.column.store.d.ts +4 -3
  239. package/lib/layout/content/_content.scss +25 -3
  240. package/lib/layout/content/content.box.directive.d.ts +2 -1
  241. package/lib/layout/content/content.container.directive.d.ts +2 -2
  242. package/lib/layout/flex/_flex.scss +4 -0
  243. package/lib/layout/flex/flex.group.directive.d.ts +1 -0
  244. package/lib/layout/list/index.d.ts +4 -0
  245. package/lib/layout/list/list.component.d.ts +14 -5
  246. package/lib/layout/list/list.directive.d.ts +9 -7
  247. package/lib/layout/list/list.layout.module.d.ts +10 -8
  248. package/lib/layout/list/list.view.d.ts +11 -1
  249. package/lib/layout/list/list.view.directive.d.ts +4 -1
  250. package/lib/layout/list/list.view.selection.directive.d.ts +4 -3
  251. package/lib/layout/list/list.view.value.component.d.ts +18 -3
  252. package/lib/layout/list/list.view.value.d.ts +27 -11
  253. package/lib/layout/list/list.view.value.directive.d.ts +9 -6
  254. package/lib/layout/list/list.view.value.item.directive.d.ts +4 -4
  255. package/lib/layout/list/list.view.value.modifier.d.ts +12 -0
  256. package/lib/layout/list/list.view.value.modifier.directive.d.ts +37 -0
  257. package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +17 -0
  258. package/lib/layout/list/list.view.value.selection.component.d.ts +10 -11
  259. package/lib/layout/list/list.wrapper.d.ts +11 -0
  260. package/lib/layout/section/section.layout.module.d.ts +1 -1
  261. package/lib/layout/style/_style.scss +12 -1
  262. package/lib/layout/text/_text.scss +9 -0
  263. package/lib/router/layout/anchor/_anchor.scss +10 -0
  264. package/lib/router/layout/anchor/anchor.component.d.ts +5 -4
  265. package/lib/router/layout/anchor/anchor.content.component.d.ts +14 -3
  266. package/lib/router/layout/anchor/anchor.module.d.ts +4 -4
  267. package/lib/router/layout/anchor/anchor.segue.directive.d.ts +2 -2
  268. package/lib/router/layout/anchorlist/_anchorlist.scss +7 -0
  269. package/lib/router/layout/anchorlist/anchorlist.module.d.ts +4 -4
  270. package/lib/router/layout/index.d.ts +1 -0
  271. package/lib/router/layout/layout.module.d.ts +4 -3
  272. package/lib/router/layout/list/index.d.ts +2 -0
  273. package/lib/router/layout/list/list.module.d.ts +7 -0
  274. package/lib/router/layout/list/router.list.directive.d.ts +17 -0
  275. package/lib/router/layout/navbar/navbar.component.d.ts +4 -4
  276. package/lib/router/layout/navbar/navbar.module.d.ts +4 -4
  277. package/lib/router/layout/sidenav/sidenav.module.d.ts +4 -4
  278. package/lib/router/layout/sidenav/sidenav.page.component.d.ts +4 -2
  279. package/lib/router/provider/ngrouter/angular.router.module.d.ts +1 -1
  280. package/lib/router/provider/router.provider.config.d.ts +2 -2
  281. package/lib/router/provider/uirouter/uirouter.router.module.d.ts +1 -1
  282. package/lib/screen/screen.service.d.ts +2 -2
  283. package/lib/style/_config.scss +7 -1
  284. package/lib/style/_root-variables.scss +2 -0
  285. package/lib/style/_variables.scss +4 -0
  286. package/package.json +25 -45
  287. package/esm2020/lib/interaction/popover/popover.action.button.directive.mjs +0 -29
  288. package/lib/interaction/popover/popover.action.button.directive.d.ts +0 -14
  289. package/lib/layout/column/two.scss +0 -114
@@ -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
  }
@@ -1,12 +1,128 @@
1
1
  @use '../../style/theming';
2
2
 
3
3
  // MARK: Variables
4
-
4
+ $two-column-left-width-var: theming.$two-column-left-width-var;
5
+ $two-column-left-width: theming.$two-column-left-width;
6
+ $two-column-navbar-height: theming.$content-navbar-height;
7
+ $two-columns-right-padding-size: 6px;
5
8
 
6
9
  // MARK: Mixin
7
- @mixin core() {}
10
+ @mixin core() {
11
+
12
+ .dbx-two-column {
13
+ height: 100%;
14
+ max-width: 100%;
15
+ display: flex;
16
+ flex-direction: row;
17
+ overflow-x: hidden;
18
+
19
+ .dbx-content-container {
20
+ margin: 0;
21
+ }
22
+
23
+ .left-column {
24
+ @include theming.elevation(1);
25
+
26
+ width: $two-column-left-width;
27
+ flex: 0 0 auto;
28
+
29
+ overflow: auto;
30
+ // background: red;
31
+
32
+ .two-column-reverse-sizing & {
33
+ width: calc(100% - #{$two-column-left-width});
34
+ overflow: hidden;
35
+ }
36
+
37
+ .full-left & {
38
+ width: 100% !important;
39
+
40
+ .right-shown & {
41
+ width: $two-column-left-width;
42
+ }
43
+ }
44
+ }
45
+
46
+
47
+ .right-column {
48
+ flex: 1 1 auto;
49
+ max-width: calc(100% - #{$two-column-left-width});
50
+ overflow: hidden;
51
+
52
+ .two-column-reverse-sizing & {
53
+ max-width: $two-column-left-width;
54
+ }
55
+ }
56
+ }
57
+
58
+ .dbx-two-column-head {
59
+ padding: 0 6px;
60
+ border-bottom: 1px solid rgba(0, 0, 0, 0.14);
61
+ height: $two-column-navbar-height;
62
+
63
+ display: flex;
64
+ align-items: center;
65
+ overflow-y: hidden;
66
+
67
+ &.block {
68
+ display: block;
69
+ }
70
+
71
+ &.full {
72
+ padding: 0;
73
+ }
74
+ }
8
75
 
9
- @mixin color($theme-config) {}
76
+ .dbx-two-column-right {
77
+ height: 100%;
78
+
79
+ .dbx-two-column-right-content {
80
+ height: calc(100% - #{$two-column-navbar-height});
81
+ overflow-x: hidden;
82
+ overflow-y: auto;
83
+ }
84
+
85
+ .back-button {
86
+ margin-right: $two-columns-right-padding-size;
87
+ }
88
+
89
+ .right-spacer {
90
+ padding-right: 5vw;
91
+ }
92
+
93
+ .side-spacer {
94
+ padding-left: $two-columns-right-padding-size;
95
+ }
96
+
97
+ }
98
+
99
+ }
100
+
101
+ @mixin color($theme-config) {
102
+
103
+ .dbx-two-column {
104
+ @include theming.if-small-screen($theme-config) {
105
+ .left-column {
106
+ width: 100% !important;
107
+ }
108
+
109
+ .right-column {
110
+ max-width: 100% !important;
111
+ width: 100% !important;
112
+ padding-left: 0 !important;
113
+ }
114
+ }
115
+ }
116
+
117
+ .dbx-two-column.right-shown {
118
+ @include theming.if-small-screen($theme-config) {
119
+ .left-column {
120
+ display: none;
121
+ }
122
+ }
123
+ }
124
+
125
+ }
10
126
 
11
127
  @mixin typography($typography-config) {}
12
128
 
@@ -1,5 +1,6 @@
1
1
  export * from './two.column.back.directive';
2
2
  export * from './two.column.component';
3
+ export * from './two.column.context.directive';
3
4
  export * from './two.column.full.left.directive';
4
5
  export * from './two.column.head.component';
5
6
  export * from './two.column.module';
@@ -3,14 +3,14 @@ import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
3
3
  import { TwoColumnsContextStore } from './two.column.store';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
- * Used with an DbxTwoColumnsComponent to help respond to a "back" function.
6
+ * Used with an DbxTwoColumnComponent to help respond to a "back" function.
7
7
  */
8
- export declare class DbxTwoColumnsBackDirective extends AbstractSubscriptionDirective implements OnInit {
8
+ export declare class DbxTwoColumnBackDirective extends AbstractSubscriptionDirective implements OnInit {
9
9
  readonly twoColumnsContextStore: TwoColumnsContextStore;
10
10
  back: EventEmitter<any>;
11
11
  constructor(twoColumnsContextStore: TwoColumnsContextStore);
12
12
  ngOnInit(): void;
13
13
  backClicked(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnsBackDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnsBackDirective, "[dbxTwoColumnsBack]", never, {}, { "back": "dbxTwoColumnsBack"; }, never>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnBackDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnBackDirective, "[dbxTwoColumnBack]", never, {}, { "back": "dbxTwoColumnBack"; }, never>;
16
16
  }
@@ -1,6 +1,15 @@
1
+ import { ChangeDetectorRef, OnDestroy } from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
+ import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
1
4
  import { Observable } from 'rxjs';
2
5
  import { TwoColumnsContextStore } from './two.column.store';
3
6
  import * as i0 from "@angular/core";
7
+ export interface DbxTwoColumnViewState {
8
+ showRight: boolean;
9
+ showFullLeft: boolean;
10
+ reverseSizing: boolean;
11
+ inSectionPage: boolean;
12
+ }
4
13
  /**
5
14
  * Responsive component meant to split a left and right column.
6
15
  *
@@ -8,14 +17,21 @@ import * as i0 from "@angular/core";
8
17
  *
9
18
  * Requires a TwoColumnsContextStore to be provided.
10
19
  */
11
- export declare class DbxTwoColumnsComponent {
20
+ export declare class DbxTwoColumnComponent extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
12
21
  readonly twoColumnsContextStore: TwoColumnsContextStore;
22
+ readonly cdRef: ChangeDetectorRef;
23
+ private _view;
24
+ private _reverseSizing;
25
+ private _inSectionPage;
13
26
  readonly showRight$: Observable<boolean>;
14
- readonly hideRight$: Observable<boolean>;
15
27
  readonly showFullLeft$: Observable<boolean>;
16
- constructor(twoColumnsContextStore: TwoColumnsContextStore);
17
- reverseSizing: boolean;
18
- inSectionPage: boolean;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnsComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoColumnsComponent, "dbx-two-columns", ["columns"], { "reverseSizing": "reverseSizing"; "inSectionPage": "inSectionPage"; }, {}, never, ["[left]", "[right]"]>;
28
+ readonly hideRight$: Observable<boolean>;
29
+ constructor(twoColumnsContextStore: TwoColumnsContextStore, cdRef: ChangeDetectorRef);
30
+ ngOnInit(): void;
31
+ ngOnDestroy(): void;
32
+ get v(): DbxTwoColumnViewState;
33
+ set reverseSizing(reverseSizing: boolean);
34
+ set inSectionPage(inSectionPage: boolean);
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoColumnComponent, "dbx-two-column", ["columns"], { "reverseSizing": "reverseSizing"; "inSectionPage": "inSectionPage"; }, {}, never, ["[left]", "[right]"]>;
21
37
  }
@@ -0,0 +1,18 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
+ import { Maybe } from '@dereekb/util';
4
+ import { TwoColumnsContextStore } from './two.column.store';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Provides a dbxTwoColumnContextStore
8
+ */
9
+ export declare class DbxTwoColumnContextDirective implements OnInit, OnDestroy {
10
+ readonly twoColumnsContextStore: TwoColumnsContextStore;
11
+ private _showRight;
12
+ constructor(twoColumnsContextStore: TwoColumnsContextStore);
13
+ ngOnInit(): void;
14
+ ngOnDestroy(): void;
15
+ set showRight(showRight: Maybe<boolean>);
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnContextDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnContextDirective, "[dbxTwoColumnContext]", never, { "showRight": "showRight"; }, {}, never>;
18
+ }
@@ -3,9 +3,9 @@ import { OnDestroy } from '@angular/core';
3
3
  import { TwoColumnsContextStore } from './two.column.store';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
- * Used with a DbxTwoColumnsComponent to set the full left to true.
6
+ * Used with a DbxTwoColumnComponent to set the full left to true.
7
7
  */
8
- export declare class DbxTwoColumnsFullLeftDirective implements OnInit, OnDestroy {
8
+ export declare class DbxTwoColumnFullLeftDirective implements OnInit, OnDestroy {
9
9
  private readonly _twoColumnsContextStore;
10
10
  private _fullLeft;
11
11
  get fullLeft(): boolean;
@@ -13,6 +13,6 @@ export declare class DbxTwoColumnsFullLeftDirective implements OnInit, OnDestroy
13
13
  constructor(_twoColumnsContextStore: TwoColumnsContextStore);
14
14
  ngOnInit(): void;
15
15
  ngOnDestroy(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnsFullLeftDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnsFullLeftDirective, "[dbxTwoColumnsFullLeft]", never, { "fullLeft": "dbxTwoColumnsFullLeft"; }, {}, never>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnFullLeftDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnFullLeftDirective, "[dbxTwoColumnFullLeft]", never, { "fullLeft": "dbxTwoColumnFullLeft"; }, {}, never>;
18
18
  }
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
2
2
  /**
3
3
  * Two Columns related component that sits at the top of the content bodies and wraps content.
4
4
  */
5
- export declare class DbxTwoColumnsColumnHeadComponent {
5
+ export declare class DbxTwoColumnColumnHeadComponent {
6
6
  block?: boolean;
7
7
  full?: boolean;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnsColumnHeadComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoColumnsColumnHeadComponent, "dbx-two-columns-head", never, { "block": "block"; "full": "full"; }, {}, never, ["*"]>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnColumnHeadComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoColumnColumnHeadComponent, "dbx-two-column-head", never, { "block": "block"; "full": "full"; }, {}, never, ["*"]>;
10
10
  }
@@ -5,13 +5,14 @@ import * as i3 from "./two.column.head.component";
5
5
  import * as i4 from "./two.column.sref.directive";
6
6
  import * as i5 from "./two.column.back.directive";
7
7
  import * as i6 from "./two.column.full.left.directive";
8
- import * as i7 from "@angular/common";
9
- import * as i8 from "@angular/material/icon";
10
- import * as i9 from "@angular/material/button";
11
- import * as i10 from "../../../router/layout/anchor/anchor.module";
12
- import * as i11 from "../../content/content.layout.module";
8
+ import * as i7 from "./two.column.context.directive";
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 "../../../router/layout/anchor/anchor.module";
13
+ import * as i12 from "../../content/content.layout.module";
13
14
  export declare class DbxTwoColumnLayoutModule {
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnLayoutModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTwoColumnLayoutModule, [typeof i1.DbxTwoColumnsComponent, typeof i2.DbxTwoColumnsRightComponent, typeof i3.DbxTwoColumnsColumnHeadComponent, typeof i4.DbxTwoColumnsSrefDirective, typeof i5.DbxTwoColumnsBackDirective, typeof i6.DbxTwoColumnsFullLeftDirective], [typeof i7.CommonModule, typeof i8.MatIconModule, typeof i9.MatButtonModule, typeof i10.DbxAnchorModule, typeof i11.DbxContentLayoutModule], [typeof i1.DbxTwoColumnsComponent, typeof i2.DbxTwoColumnsRightComponent, typeof i3.DbxTwoColumnsColumnHeadComponent, typeof i4.DbxTwoColumnsSrefDirective, typeof i5.DbxTwoColumnsBackDirective, typeof i6.DbxTwoColumnsFullLeftDirective]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTwoColumnLayoutModule, [typeof i1.DbxTwoColumnComponent, typeof i2.DbxTwoColumnRightComponent, typeof i3.DbxTwoColumnColumnHeadComponent, typeof i4.DbxTwoColumnSrefDirective, typeof i5.DbxTwoColumnBackDirective, typeof i6.DbxTwoColumnFullLeftDirective, typeof i7.DbxTwoColumnContextDirective], [typeof i8.CommonModule, typeof i9.MatIconModule, typeof i10.MatButtonModule, typeof i11.DbxRouterAnchorModule, typeof i12.DbxContentLayoutModule], [typeof i1.DbxTwoColumnComponent, typeof i2.DbxTwoColumnRightComponent, typeof i3.DbxTwoColumnColumnHeadComponent, typeof i4.DbxTwoColumnSrefDirective, typeof i5.DbxTwoColumnBackDirective, typeof i6.DbxTwoColumnFullLeftDirective, typeof i7.DbxTwoColumnContextDirective]>;
16
17
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxTwoColumnLayoutModule>;
17
18
  }
@@ -6,11 +6,13 @@ import { Maybe } from '@dereekb/util';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Optional responsive component that wraps content on the right side and shows a navigation bar.
9
+ *
10
+ * When rendered it will trigger the context to show left.
9
11
  */
10
- export declare class DbxTwoColumnsRightComponent implements AfterViewInit, OnDestroy {
12
+ export declare class DbxTwoColumnRightComponent implements AfterViewInit, OnDestroy {
11
13
  private readonly twoColumnsContextStore;
12
- private _showBack;
13
14
  header?: string;
15
+ private _showBack;
14
16
  readonly ref$: Observable<Maybe<ClickableAnchor>>;
15
17
  readonly showBack$: Observable<boolean>;
16
18
  constructor(twoColumnsContextStore: TwoColumnsContextStore);
@@ -19,6 +21,6 @@ export declare class DbxTwoColumnsRightComponent implements AfterViewInit, OnDes
19
21
  get showBack(): boolean;
20
22
  set showBack(showBack: boolean);
21
23
  backClicked(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnsRightComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoColumnsRightComponent, "dbx-two-columns-right", never, { "header": "header"; "showBack": "showBack"; }, {}, never, ["[nav]", "*"]>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnRightComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoColumnRightComponent, "dbx-two-column-right", never, { "header": "header"; "showBack": "showBack"; }, {}, never, ["[nav]", "*"]>;
24
26
  }
@@ -1,14 +1,13 @@
1
- import { SegueRef } from '@dereekb/dbx-core';
1
+ import { SegueRefOrSegueRefRouterLink } from '@dereekb/dbx-core';
2
2
  import { TwoColumnsContextStore } from './two.column.store';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
- * Used with a DbxTwoColumnsComponent to set the backRef of the TwoColumnsContextStore.
5
+ * Used with a DbxTwoColumnComponent to set the backRef of the TwoColumnsContextStore.
6
6
  */
7
- export declare class DbxTwoColumnsSrefDirective {
7
+ export declare class DbxTwoColumnSrefDirective {
8
8
  private readonly _twoColumnsContextStore;
9
9
  constructor(_twoColumnsContextStore: TwoColumnsContextStore);
10
- set refString(ref: string);
11
- set ref(ref: SegueRef);
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnsSrefDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnsSrefDirective, "[dbxTwoColumnsSref]", never, { "refString": "dbxTwoColumnsSref"; "ref": "ref"; }, {}, never>;
10
+ set ref(ref: SegueRefOrSegueRefRouterLink);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnSrefDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnSrefDirective, "[dbxTwoColumnSref]", never, { "ref": "dbxTwoColumnSref"; }, {}, never>;
14
13
  }
@@ -1,6 +1,7 @@
1
1
  import { OnDestroy, Provider } from '@angular/core';
2
2
  import { ComponentStore } from '@ngrx/component-store';
3
3
  import { SegueRef } from '@dereekb/dbx-core';
4
+ import { Maybe } from '@dereekb/util';
4
5
  import * as i0 from "@angular/core";
5
6
  export interface TwoColumnsState {
6
7
  showRight: boolean;
@@ -47,11 +48,11 @@ export declare class TwoColumnsContextStore extends ComponentStore<TwoColumnsSta
47
48
  /**
48
49
  * Changes the state to show right or not.
49
50
  */
50
- readonly setShowRight: (observableOrValue: boolean | import("rxjs").Observable<boolean>) => import("rxjs").Subscription;
51
+ readonly setShowRight: (() => void) | ((observableOrValue: Maybe<boolean> | import("rxjs").Observable<Maybe<boolean>>) => import("rxjs").Subscription);
51
52
  /**
52
- * Sets the full left.
53
+ * Sets the full left. If undefined is passed, no change occurs.
53
54
  */
54
- readonly setFullLeft: (observableOrValue: boolean | import("rxjs").Observable<boolean>) => import("rxjs").Subscription;
55
+ readonly setFullLeft: (() => void) | ((observableOrValue: Maybe<boolean> | import("rxjs").Observable<Maybe<boolean>>) => import("rxjs").Subscription);
55
56
  /**
56
57
  * Sets the new back ref.
57
58
  */
@@ -32,6 +32,10 @@ $content-container-padding-small-screen: theming.$padding-2;
32
32
  padding: $box-padding;
33
33
  margin-bottom: $box-bottom-margin;
34
34
  max-width: $box-max-width;
35
+
36
+ &.dbx-content-box-wide {
37
+ max-width: unset;
38
+ }
35
39
  }
36
40
 
37
41
  .dbx-app-page {
@@ -40,16 +44,22 @@ $content-container-padding-small-screen: theming.$padding-2;
40
44
  }
41
45
 
42
46
  .dbx-content,
43
- .dbx-content-page { //dbx-content page always has page height
47
+ .dbx-content-page {
48
+ //dbx-content page always has page height
44
49
  @include theming.page-height();
45
50
  }
46
51
 
47
- .dbx-content .dbx-content, // if a child of another dbx-content, give it content height instead of page height.
52
+ .dbx-content .dbx-content,
53
+ // if a child of another dbx-content, give it content height instead of page height.
48
54
  .dbx-content-page .dbx-content,
49
55
  .dbx-content-without-content-navbar {
50
56
  @include theming.content-height();
51
57
  }
52
58
 
59
+ .dbx-content.dbx-content-auto-height {
60
+ height: 100% !important;
61
+ }
62
+
53
63
  .dbx-content-scroll-lock {
54
64
  height: 100%;
55
65
  overflow: hidden;
@@ -124,7 +134,19 @@ $content-container-padding-small-screen: theming.$padding-2;
124
134
  .dbx-content-container {
125
135
 
126
136
  @include theming.if-small-screen($theme-config) {
127
- padding: 0 $content-container-padding-small-screen;
137
+
138
+ // reduce all paddings down.
139
+ &,
140
+ &.container-padding-min,
141
+ &.container-padding-small {
142
+ padding: 0 $content-container-padding-small-screen;
143
+ }
144
+
145
+ // no padding does not gain padding.
146
+ &.container-padding-none {
147
+ padding: 0;
148
+ }
149
+
128
150
  }
129
151
 
130
152
  }
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
4
4
  */
5
5
  export declare class DbxContentBoxDirective {
6
6
  elevated: boolean;
7
+ wide: boolean;
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentBoxDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentBoxDirective, "dbx-content-box, [dbx-content-box]", never, { "elevated": "elevated"; }, {}, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentBoxDirective, "dbx-content-box, [dbx-content-box]", never, { "elevated": "elevated"; "wide": "wide"; }, {}, never>;
9
10
  }