@dereekb/dbx-web 0.0.1 → 1.2.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 (473) hide show
  1. package/README.md +4 -5
  2. package/_index.scss +27 -0
  3. package/esm2020/index.mjs +1 -2
  4. package/esm2020/lib/action/action.confirm.directive.mjs +5 -5
  5. package/esm2020/lib/action/action.module.mjs +35 -35
  6. package/esm2020/lib/action/action.snackbar.component.mjs +10 -11
  7. package/esm2020/lib/action/key.trigger.directive.mjs +5 -5
  8. package/esm2020/lib/action/transition/action.transition.module.mjs +29 -29
  9. package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +18 -18
  10. package/esm2020/lib/action/transition/transition.safety.directive.mjs +20 -38
  11. package/esm2020/lib/button/button.component.mjs +19 -19
  12. package/esm2020/lib/button/button.module.mjs +21 -27
  13. package/esm2020/lib/button/button.spacer.component.mjs +6 -7
  14. package/esm2020/lib/dbx-web.module.mjs +28 -30
  15. package/esm2020/lib/error/error.action.directive.mjs +7 -7
  16. package/esm2020/lib/error/error.component.mjs +5 -5
  17. package/esm2020/lib/error/error.loading.directive.mjs +7 -7
  18. package/esm2020/lib/error/error.module.mjs +19 -19
  19. package/esm2020/lib/index.mjs +3 -2
  20. package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +20 -11
  21. package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +25 -0
  22. package/esm2020/lib/interaction/dialog/dialog.module.mjs +33 -0
  23. package/esm2020/lib/interaction/dialog/index.mjs +3 -1
  24. package/esm2020/lib/interaction/filter/filter.module.mjs +62 -0
  25. package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +32 -0
  26. package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +38 -0
  27. package/esm2020/lib/interaction/filter/filter.popover.component.mjs +90 -0
  28. package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +33 -0
  29. package/esm2020/lib/interaction/filter/index.mjs +6 -0
  30. package/esm2020/lib/interaction/index.mjs +3 -1
  31. package/esm2020/lib/interaction/interaction.module.mjs +33 -0
  32. package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +8 -8
  33. package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +6 -6
  34. package/esm2020/lib/interaction/popover/index.mjs +3 -2
  35. package/esm2020/lib/interaction/popover/popover.action.button.directive.mjs +10 -10
  36. package/esm2020/lib/interaction/popover/popover.action.directive.mjs +5 -5
  37. package/esm2020/lib/interaction/popover/popover.component.mjs +24 -35
  38. package/esm2020/lib/interaction/popover/popover.content.component.mjs +13 -21
  39. package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +28 -0
  40. package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +8 -8
  41. package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +5 -5
  42. package/esm2020/lib/interaction/popover/popover.header.component.mjs +10 -11
  43. package/esm2020/lib/interaction/popover/popover.mjs +2 -2
  44. package/esm2020/lib/interaction/popover/popover.module.mjs +71 -63
  45. package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +12 -18
  46. package/esm2020/lib/interaction/popover/popover.service.mjs +7 -7
  47. package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +6 -6
  48. package/esm2020/lib/interaction/popup/index.mjs +2 -1
  49. package/esm2020/lib/interaction/popup/popup.component.mjs +27 -42
  50. package/esm2020/lib/interaction/popup/popup.content.component.mjs +13 -15
  51. package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +13 -15
  52. package/esm2020/lib/interaction/popup/popup.controls.component.mjs +9 -11
  53. package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +9 -10
  54. package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +5 -5
  55. package/esm2020/lib/interaction/popup/popup.mjs +8 -8
  56. package/esm2020/lib/interaction/popup/popup.module.mjs +54 -46
  57. package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +8 -12
  58. package/esm2020/lib/interaction/popup/popup.service.mjs +9 -8
  59. package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +10 -22
  60. package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +9 -9
  61. package/esm2020/lib/interaction/prompt/prompt.component.mjs +24 -9
  62. package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +11 -11
  63. package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +40 -15
  64. package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +14 -24
  65. package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +6 -5
  66. package/esm2020/lib/interaction/prompt/prompt.module.mjs +61 -52
  67. package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +20 -22
  68. package/esm2020/lib/keypress/keydown.listener.directive.mjs +5 -5
  69. package/esm2020/lib/keypress/keypress.module.mjs +9 -9
  70. package/esm2020/lib/layout/bar/bar.directive.mjs +24 -0
  71. package/esm2020/lib/layout/bar/bar.header.component.mjs +39 -0
  72. package/esm2020/lib/layout/bar/bar.layout.module.mjs +47 -0
  73. package/esm2020/lib/layout/bar/bar.mjs +2 -0
  74. package/esm2020/lib/layout/bar/index.mjs +5 -0
  75. package/esm2020/lib/layout/bar/pagebar.component.mjs +15 -0
  76. package/esm2020/lib/layout/block/block.layout.module.mjs +14 -14
  77. package/esm2020/lib/layout/block/two.block.component.mjs +5 -5
  78. package/esm2020/lib/layout/card/card.box.component.mjs +5 -5
  79. package/esm2020/lib/layout/card/card.box.container.component.mjs +5 -5
  80. package/esm2020/lib/layout/card/card.box.layout.module.mjs +15 -15
  81. package/esm2020/lib/layout/column/column.layout.module.mjs +12 -12
  82. package/esm2020/lib/layout/column/one/one.column.component.mjs +6 -6
  83. package/esm2020/lib/layout/column/one/one.column.module.mjs +13 -13
  84. package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +6 -6
  85. package/esm2020/lib/layout/column/two/two.column.component.mjs +5 -5
  86. package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +6 -6
  87. package/esm2020/lib/layout/column/two/two.column.head.component.mjs +5 -5
  88. package/esm2020/lib/layout/column/two/two.column.module.mjs +42 -42
  89. package/esm2020/lib/layout/column/two/two.column.right.component.mjs +6 -6
  90. package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +6 -6
  91. package/esm2020/lib/layout/column/two/two.column.store.mjs +3 -3
  92. package/esm2020/lib/layout/compact/compact.directive.mjs +5 -5
  93. package/esm2020/lib/layout/compact/compact.layout.module.mjs +9 -9
  94. package/esm2020/lib/layout/compact/compact.store.mjs +3 -3
  95. package/esm2020/lib/layout/content/content.border.directive.mjs +19 -0
  96. package/esm2020/lib/layout/content/content.box.directive.mjs +25 -0
  97. package/esm2020/lib/layout/content/content.container.directive.mjs +28 -0
  98. package/esm2020/lib/layout/content/content.directive.mjs +19 -0
  99. package/esm2020/lib/layout/content/content.elevate.directive.mjs +19 -0
  100. package/esm2020/lib/layout/content/content.layout.module.mjs +34 -24
  101. package/esm2020/lib/layout/content/content.page.directive.mjs +19 -0
  102. package/esm2020/lib/layout/content/index.mjs +7 -5
  103. package/esm2020/lib/layout/flag/flag.component.mjs +5 -5
  104. package/esm2020/lib/layout/flag/flag.layout.module.mjs +15 -15
  105. package/esm2020/lib/layout/flag/flag.prompt.component.mjs +6 -6
  106. package/esm2020/lib/layout/flex/flex.group.directive.mjs +53 -0
  107. package/esm2020/lib/layout/flex/flex.layout.module.mjs +31 -0
  108. package/esm2020/lib/layout/flex/flex.mjs +2 -0
  109. package/esm2020/lib/layout/flex/flex.size.directive.mjs +25 -0
  110. package/esm2020/lib/layout/flex/index.mjs +5 -0
  111. package/esm2020/lib/layout/index.mjs +5 -2
  112. package/esm2020/lib/layout/item/item.icon.component.mjs +5 -5
  113. package/esm2020/lib/layout/item/item.layout.module.mjs +10 -10
  114. package/esm2020/lib/layout/layout.module.mjs +60 -48
  115. package/esm2020/lib/layout/list/index.mjs +12 -2
  116. package/esm2020/lib/layout/list/list.component.mjs +232 -0
  117. package/esm2020/lib/layout/list/list.content.empty.component.mjs +26 -0
  118. package/esm2020/lib/layout/list/list.directive.mjs +78 -0
  119. package/esm2020/lib/layout/list/list.layout.module.mjs +56 -11
  120. package/esm2020/lib/layout/list/list.view.directive.mjs +50 -0
  121. package/esm2020/lib/layout/list/list.view.mjs +13 -0
  122. package/esm2020/lib/layout/list/list.view.selection.directive.mjs +32 -0
  123. package/esm2020/lib/layout/list/list.view.value.component.mjs +61 -0
  124. package/esm2020/lib/layout/list/list.view.value.directive.mjs +35 -0
  125. package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +20 -0
  126. package/esm2020/lib/layout/list/list.view.value.mjs +30 -0
  127. package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +88 -0
  128. package/esm2020/lib/layout/section/index.mjs +3 -4
  129. package/esm2020/lib/layout/section/section.component.mjs +21 -32
  130. package/esm2020/lib/layout/section/section.header.component.mjs +79 -0
  131. package/esm2020/lib/layout/section/section.intro.component.mjs +7 -8
  132. package/esm2020/lib/layout/section/section.layout.module.mjs +34 -44
  133. package/esm2020/lib/layout/section/section.mjs +2 -0
  134. package/esm2020/lib/layout/section/section.page.component.mjs +17 -30
  135. package/esm2020/lib/layout/section/subsection.component.mjs +16 -14
  136. package/esm2020/lib/layout/step/step.component.mjs +5 -5
  137. package/esm2020/lib/layout/step/step.layout.module.mjs +10 -10
  138. package/esm2020/lib/layout/style/index.mjs +7 -0
  139. package/esm2020/lib/layout/style/spacer.directive.mjs +16 -0
  140. package/esm2020/lib/layout/style/style.body.directive.mjs +35 -0
  141. package/esm2020/lib/layout/style/style.directive.mjs +32 -0
  142. package/esm2020/lib/layout/style/style.layout.module.mjs +41 -0
  143. package/esm2020/lib/layout/style/style.service.mjs +76 -0
  144. package/esm2020/lib/layout/style/style.set.directive.mjs +69 -0
  145. package/esm2020/lib/layout/text/hint.component.mjs +17 -0
  146. package/esm2020/lib/layout/text/index.mjs +11 -0
  147. package/esm2020/lib/layout/text/label.component.mjs +17 -0
  148. package/esm2020/lib/layout/text/linkify.component.mjs +47 -0
  149. package/esm2020/lib/layout/text/note.component.mjs +17 -0
  150. package/esm2020/lib/layout/text/notice.component.mjs +17 -0
  151. package/esm2020/lib/layout/text/ok.component.mjs +17 -0
  152. package/esm2020/lib/layout/text/success.component.mjs +17 -0
  153. package/esm2020/lib/layout/text/text.chips.component.mjs +31 -0
  154. package/esm2020/lib/layout/text/text.module.mjs +78 -0
  155. package/esm2020/lib/layout/text/warn.component.mjs +17 -0
  156. package/esm2020/lib/loading/basic-loading.component.mjs +6 -6
  157. package/esm2020/lib/loading/loading-progress.component.mjs +5 -5
  158. package/esm2020/lib/loading/loading.component.mjs +6 -6
  159. package/esm2020/lib/loading/loading.module.mjs +27 -27
  160. package/esm2020/lib/router/index.mjs +2 -2
  161. package/esm2020/lib/router/layout/anchor/anchor.component.mjs +50 -0
  162. package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +30 -0
  163. package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +49 -0
  164. package/esm2020/lib/router/layout/anchor/anchor.module.mjs +48 -0
  165. package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +29 -0
  166. package/esm2020/lib/router/layout/anchor/index.mjs +6 -0
  167. package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +34 -0
  168. package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +50 -0
  169. package/esm2020/lib/router/layout/anchorlist/index.mjs +3 -0
  170. package/esm2020/lib/router/layout/index.mjs +6 -0
  171. package/esm2020/lib/router/layout/layout.module.mjs +29 -0
  172. package/esm2020/lib/router/layout/navbar/index.mjs +3 -0
  173. package/esm2020/lib/router/layout/navbar/navbar.component.mjs +75 -0
  174. package/esm2020/lib/router/layout/navbar/navbar.module.mjs +46 -0
  175. package/esm2020/lib/router/layout/sidenav/index.mjs +9 -0
  176. package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +39 -0
  177. package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +133 -0
  178. package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +89 -0
  179. package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +59 -0
  180. package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +39 -0
  181. package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +7 -7
  182. package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +17 -17
  183. package/esm2020/lib/router/provider/router.provider.config.mjs +2 -2
  184. package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +7 -7
  185. package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +17 -17
  186. package/esm2020/lib/screen/index.mjs +4 -0
  187. package/esm2020/lib/screen/screen.mjs +22 -0
  188. package/esm2020/lib/screen/screen.module.mjs +24 -0
  189. package/esm2020/lib/screen/screen.service.mjs +94 -0
  190. package/fesm2015/dereekb-dbx-web.mjs +5517 -3691
  191. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  192. package/fesm2020/dereekb-dbx-web.mjs +5565 -3740
  193. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  194. package/index.d.ts +0 -1
  195. package/lib/action/_action.scss +40 -0
  196. package/lib/action/action.confirm.directive.d.ts +5 -5
  197. package/lib/action/action.module.d.ts +4 -4
  198. package/lib/action/action.snackbar.component.d.ts +7 -7
  199. package/lib/action/key.trigger.directive.d.ts +3 -3
  200. package/lib/action/transition/action.transition.module.d.ts +5 -5
  201. package/lib/action/transition/transition.safety.dialog.component.d.ts +7 -7
  202. package/lib/action/transition/transition.safety.directive.d.ts +14 -23
  203. package/lib/button/_button.scss +32 -0
  204. package/lib/button/button.component.d.ts +6 -6
  205. package/lib/button/button.module.d.ts +6 -8
  206. package/lib/button/button.spacer.component.d.ts +3 -3
  207. package/lib/dbx-web.module.d.ts +15 -10
  208. package/lib/error/_error.scss +26 -0
  209. package/lib/error/error.action.directive.d.ts +6 -6
  210. package/lib/error/error.component.d.ts +3 -3
  211. package/lib/error/error.loading.directive.d.ts +6 -6
  212. package/lib/error/error.module.d.ts +4 -4
  213. package/lib/index.d.ts +2 -1
  214. package/lib/interaction/_interaction.scss +33 -0
  215. package/lib/interaction/dialog/_dialog.scss +26 -0
  216. package/lib/interaction/dialog/abstract.dialog.directive.d.ts +7 -5
  217. package/lib/interaction/dialog/dialog.content.component.d.ts +10 -0
  218. package/lib/interaction/dialog/dialog.module.d.ts +12 -0
  219. package/lib/interaction/dialog/index.d.ts +2 -0
  220. package/lib/interaction/filter/_filter.scss +25 -0
  221. package/lib/interaction/filter/filter.module.d.ts +15 -0
  222. package/lib/interaction/filter/filter.popover.button.component.d.ts +9 -0
  223. package/lib/interaction/filter/filter.popover.button.directive.d.ts +17 -0
  224. package/lib/interaction/filter/filter.popover.component.d.ts +53 -0
  225. package/lib/interaction/filter/filter.wrapper.component.d.ts +14 -0
  226. package/lib/interaction/filter/index.d.ts +5 -0
  227. package/lib/interaction/index.d.ts +2 -0
  228. package/lib/interaction/interaction.module.d.ts +11 -0
  229. package/lib/interaction/popover/_popover.scss +110 -0
  230. package/lib/interaction/popover/abstract.popover.directive.d.ts +6 -6
  231. package/lib/interaction/popover/index.d.ts +2 -1
  232. package/lib/interaction/popover/popover.action.button.directive.d.ts +8 -8
  233. package/lib/interaction/popover/popover.action.directive.d.ts +8 -8
  234. package/lib/interaction/popover/popover.component.d.ts +15 -17
  235. package/lib/interaction/popover/popover.content.component.d.ts +3 -4
  236. package/lib/interaction/popover/popover.controls.directive.d.ts +10 -0
  237. package/lib/interaction/popover/popover.coordinator.component.d.ts +6 -6
  238. package/lib/interaction/popover/popover.coordinator.service.d.ts +8 -8
  239. package/lib/interaction/popover/popover.d.ts +3 -3
  240. package/lib/interaction/popover/popover.header.component.d.ts +5 -5
  241. package/lib/interaction/popover/popover.module.d.ts +11 -9
  242. package/lib/interaction/popover/popover.scroll.content.component.d.ts +6 -6
  243. package/lib/interaction/popover/popover.service.d.ts +6 -6
  244. package/lib/interaction/popup/_popup.scss +82 -0
  245. package/lib/interaction/popup/abstract.popup.directive.d.ts +4 -4
  246. package/lib/interaction/popup/index.d.ts +1 -0
  247. package/lib/interaction/popup/popup.component.d.ts +15 -18
  248. package/lib/interaction/popup/popup.content.component.d.ts +5 -5
  249. package/lib/interaction/popup/popup.controls.buttons.component.d.ts +5 -5
  250. package/lib/interaction/popup/popup.controls.component.d.ts +3 -3
  251. package/lib/interaction/popup/popup.coordinator.component.d.ts +6 -6
  252. package/lib/interaction/popup/popup.coordinator.service.d.ts +8 -8
  253. package/lib/interaction/popup/popup.d.ts +5 -5
  254. package/lib/interaction/popup/popup.module.d.ts +9 -7
  255. package/lib/interaction/popup/popup.position.strategy.d.ts +1 -5
  256. package/lib/interaction/popup/popup.service.d.ts +6 -6
  257. package/lib/interaction/prompt/_prompt.scss +46 -0
  258. package/lib/interaction/prompt/prompt.box.component.d.ts +3 -5
  259. package/lib/interaction/prompt/prompt.button.confirm.directive.d.ts +8 -8
  260. package/lib/interaction/prompt/prompt.component.d.ts +3 -4
  261. package/lib/interaction/prompt/prompt.confirm.component.d.ts +8 -8
  262. package/lib/interaction/prompt/prompt.confirm.d.ts +2 -2
  263. package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +17 -6
  264. package/lib/interaction/prompt/prompt.confirm.directive.d.ts +11 -14
  265. package/lib/interaction/prompt/prompt.module.d.ts +9 -7
  266. package/lib/interaction/prompt/prompt.page.component.d.ts +3 -3
  267. package/lib/interaction/style/_style.scss +47 -0
  268. package/lib/keypress/keydown.listener.directive.d.ts +3 -3
  269. package/lib/keypress/keypress.module.d.ts +4 -4
  270. package/lib/layout/_layout.scss +61 -0
  271. package/lib/layout/bar/_bar.scss +81 -0
  272. package/lib/layout/bar/bar.d.ts +1 -0
  273. package/lib/layout/bar/bar.directive.d.ts +11 -0
  274. package/lib/layout/bar/bar.header.component.d.ts +13 -0
  275. package/lib/layout/bar/bar.layout.module.d.ts +15 -0
  276. package/lib/layout/bar/index.d.ts +4 -0
  277. package/lib/layout/bar/pagebar.component.d.ts +8 -0
  278. package/lib/layout/block/_block.scss +39 -0
  279. package/lib/layout/block/block.layout.module.d.ts +5 -5
  280. package/lib/layout/block/two.block.component.d.ts +3 -3
  281. package/lib/layout/card/_card.scss +26 -0
  282. package/lib/layout/card/card.box.component.d.ts +3 -3
  283. package/lib/layout/card/card.box.container.component.d.ts +3 -3
  284. package/lib/layout/card/card.box.layout.module.d.ts +4 -4
  285. package/lib/layout/column/_column.scss +26 -0
  286. package/lib/layout/column/column.layout.module.d.ts +4 -4
  287. package/lib/layout/column/one/one.column.component.d.ts +3 -3
  288. package/lib/layout/column/one/one.column.module.d.ts +4 -4
  289. package/lib/layout/column/two/two.column.back.directive.d.ts +4 -4
  290. package/lib/layout/column/two/two.column.component.d.ts +3 -3
  291. package/lib/layout/column/two/two.column.full.left.directive.d.ts +4 -4
  292. package/lib/layout/column/two/two.column.head.component.d.ts +3 -3
  293. package/lib/layout/column/two/two.column.module.d.ts +5 -5
  294. package/lib/layout/column/two/two.column.right.component.d.ts +3 -3
  295. package/lib/layout/column/two/two.column.sref.directive.d.ts +4 -4
  296. package/lib/layout/column/two.scss +114 -0
  297. package/lib/layout/compact/compact.directive.d.ts +3 -3
  298. package/lib/layout/compact/compact.layout.module.d.ts +4 -4
  299. package/lib/layout/content/_content.scss +136 -0
  300. package/lib/layout/content/content.border.directive.d.ts +8 -0
  301. package/lib/layout/content/content.box.directive.d.ts +9 -0
  302. package/lib/layout/content/content.container.directive.d.ts +12 -0
  303. package/lib/layout/content/content.directive.d.ts +8 -0
  304. package/lib/layout/content/content.elevate.directive.d.ts +8 -0
  305. package/lib/layout/content/content.layout.module.d.ts +11 -9
  306. package/lib/layout/content/content.page.directive.d.ts +8 -0
  307. package/lib/layout/content/index.d.ts +6 -4
  308. package/lib/layout/flag/_flag.scss +26 -0
  309. package/lib/layout/flag/flag.component.d.ts +3 -3
  310. package/lib/layout/flag/flag.layout.module.d.ts +4 -4
  311. package/lib/layout/flag/flag.prompt.component.d.ts +3 -3
  312. package/lib/layout/flex/_flex.scss +76 -0
  313. package/lib/layout/flex/flex.d.ts +4 -0
  314. package/lib/layout/flex/flex.group.directive.d.ts +24 -0
  315. package/lib/layout/flex/flex.layout.module.d.ts +9 -0
  316. package/lib/layout/flex/flex.size.directive.d.ts +10 -0
  317. package/lib/layout/flex/index.d.ts +4 -0
  318. package/lib/layout/index.d.ts +4 -1
  319. package/lib/layout/item/_item.scss +26 -0
  320. package/lib/layout/item/item.icon.component.d.ts +3 -3
  321. package/lib/layout/item/item.layout.module.d.ts +4 -4
  322. package/lib/layout/layout.module.d.ts +17 -14
  323. package/lib/layout/list/_list.scss +72 -0
  324. package/lib/layout/list/index.d.ts +11 -1
  325. package/lib/layout/list/list.component.d.ts +115 -0
  326. package/lib/layout/list/list.content.empty.component.d.ts +8 -0
  327. package/lib/layout/list/list.directive.d.ts +35 -0
  328. package/lib/layout/list/list.layout.module.d.ts +15 -6
  329. package/lib/layout/list/list.view.d.ts +45 -0
  330. package/lib/layout/list/list.view.directive.d.ts +26 -0
  331. package/lib/layout/list/list.view.selection.directive.d.ts +15 -0
  332. package/lib/layout/list/list.view.value.component.d.ts +15 -0
  333. package/lib/layout/list/list.view.value.d.ts +21 -0
  334. package/lib/layout/list/list.view.value.directive.d.ts +21 -0
  335. package/lib/layout/list/list.view.value.item.directive.d.ts +9 -0
  336. package/lib/layout/list/list.view.value.selection.component.d.ts +32 -0
  337. package/lib/layout/section/_section.scss +116 -0
  338. package/lib/layout/section/index.d.ts +2 -3
  339. package/lib/layout/section/section.component.d.ts +5 -7
  340. package/lib/layout/section/section.d.ts +1 -0
  341. package/lib/layout/section/section.header.component.d.ts +14 -0
  342. package/lib/layout/section/section.intro.component.d.ts +4 -4
  343. package/lib/layout/section/section.layout.module.d.ts +14 -16
  344. package/lib/layout/section/section.page.component.d.ts +4 -5
  345. package/lib/layout/section/subsection.component.d.ts +5 -5
  346. package/lib/layout/step/_step.scss +59 -0
  347. package/lib/layout/step/step.component.d.ts +3 -3
  348. package/lib/layout/step/step.layout.module.d.ts +4 -4
  349. package/lib/layout/style/_style.scss +101 -0
  350. package/lib/layout/style/index.d.ts +6 -0
  351. package/lib/layout/style/spacer.directive.d.ts +5 -0
  352. package/lib/layout/style/style.body.directive.d.ts +16 -0
  353. package/lib/layout/style/style.directive.d.ts +15 -0
  354. package/lib/layout/style/style.layout.module.d.ts +11 -0
  355. package/lib/layout/style/style.service.d.ts +37 -0
  356. package/lib/layout/style/style.set.directive.d.ts +31 -0
  357. package/lib/layout/text/_text.scss +97 -0
  358. package/lib/layout/text/hint.component.d.ts +5 -0
  359. package/lib/{text → layout/text}/index.d.ts +0 -2
  360. package/lib/layout/text/label.component.d.ts +5 -0
  361. package/lib/{text → layout/text}/linkify.component.d.ts +3 -3
  362. package/lib/layout/text/note.component.d.ts +5 -0
  363. package/lib/layout/text/notice.component.d.ts +5 -0
  364. package/lib/layout/text/ok.component.d.ts +5 -0
  365. package/lib/layout/text/success.component.d.ts +5 -0
  366. package/lib/layout/text/text.chips.component.d.ts +13 -0
  367. package/lib/layout/text/text.module.d.ts +19 -0
  368. package/lib/layout/text/warn.component.d.ts +5 -0
  369. package/lib/loading/basic-loading.component.d.ts +4 -4
  370. package/lib/loading/loading-progress.component.d.ts +3 -3
  371. package/lib/loading/loading.component.d.ts +5 -5
  372. package/lib/loading/loading.module.d.ts +5 -5
  373. package/lib/router/_router.scss +25 -0
  374. package/lib/router/index.d.ts +1 -1
  375. package/lib/router/layout/anchor/_anchor.scss +37 -0
  376. package/lib/router/{anchor → layout/anchor}/anchor.component.d.ts +7 -8
  377. package/lib/router/layout/anchor/anchor.icon.component.d.ts +11 -0
  378. package/lib/router/layout/anchor/anchor.link.component.d.ts +13 -0
  379. package/lib/router/layout/anchor/anchor.module.d.ts +13 -0
  380. package/lib/router/layout/anchor/anchor.segue.directive.d.ts +19 -0
  381. package/lib/router/{anchor → layout/anchor}/index.d.ts +1 -0
  382. package/lib/router/layout/anchorlist/_anchorlist.scss +95 -0
  383. package/lib/router/layout/anchorlist/anchorlist.component.d.ts +15 -0
  384. package/lib/router/layout/anchorlist/anchorlist.module.d.ts +14 -0
  385. package/lib/router/layout/anchorlist/index.d.ts +2 -0
  386. package/lib/router/layout/index.d.ts +5 -0
  387. package/lib/router/layout/layout.module.d.ts +10 -0
  388. package/lib/router/layout/navbar/_navbar.scss +27 -0
  389. package/lib/router/layout/navbar/index.d.ts +2 -0
  390. package/lib/router/layout/navbar/navbar.component.d.ts +37 -0
  391. package/lib/router/layout/navbar/navbar.module.d.ts +13 -0
  392. package/lib/router/layout/sidenav/_sidenav.scss +189 -0
  393. package/lib/router/layout/sidenav/index.d.ts +5 -0
  394. package/lib/router/layout/sidenav/sidenav.button.component.d.ts +14 -0
  395. package/lib/router/layout/sidenav/sidenav.component.d.ts +42 -0
  396. package/lib/router/layout/sidenav/sidenav.module.d.ts +23 -0
  397. package/lib/router/layout/sidenav/sidenav.page.component.d.ts +20 -0
  398. package/lib/router/layout/sidenav/sidenav.pagebar.component.d.ts +9 -0
  399. package/lib/router/provider/ngrouter/anchor.component.d.ts +4 -4
  400. package/lib/router/provider/ngrouter/angular.router.module.d.ts +5 -5
  401. package/lib/router/provider/router.provider.config.d.ts +3 -3
  402. package/lib/router/provider/uirouter/anchor.component.d.ts +4 -4
  403. package/lib/router/provider/uirouter/uirouter.router.module.d.ts +5 -5
  404. package/lib/screen/index.d.ts +3 -0
  405. package/lib/screen/screen.d.ts +36 -0
  406. package/lib/screen/screen.module.d.ts +9 -0
  407. package/lib/screen/screen.service.d.ts +60 -0
  408. package/lib/style/_all-core.scss +14 -0
  409. package/lib/style/_all-theme.scss +15 -0
  410. package/lib/style/_all-typography.scss +15 -0
  411. package/lib/style/_config.scss +122 -0
  412. package/lib/style/_core.scss +17 -0
  413. package/lib/style/_mixin.scss +99 -0
  414. package/lib/style/_root-variables.scss +35 -0
  415. package/lib/style/_theming.scss +19 -0
  416. package/lib/style/_variables.scss +45 -0
  417. package/package.json +35 -34
  418. package/esm2020/lib/interaction/popover/popover.controls.component.mjs +0 -35
  419. package/esm2020/lib/layout/content/content.bordered.component.mjs +0 -26
  420. package/esm2020/lib/layout/content/content.component.mjs +0 -32
  421. package/esm2020/lib/layout/content/content.container.component.mjs +0 -66
  422. package/esm2020/lib/layout/content/content.container.fullwidth.component.mjs +0 -26
  423. package/esm2020/lib/layout/dialog/dialog.content.component.mjs +0 -37
  424. package/esm2020/lib/layout/dialog/dialog.layout.module.mjs +0 -29
  425. package/esm2020/lib/layout/dialog/index.mjs +0 -3
  426. package/esm2020/lib/layout/list/list.empty.component.mjs +0 -26
  427. package/esm2020/lib/layout/section/section.box.anchor.component.mjs +0 -39
  428. package/esm2020/lib/layout/section/section.box.component.mjs +0 -32
  429. package/esm2020/lib/layout/section/section.elevated.component.mjs +0 -26
  430. package/esm2020/lib/router/anchor/anchor.component.mjs +0 -50
  431. package/esm2020/lib/router/anchor/anchor.icon.component.mjs +0 -30
  432. package/esm2020/lib/router/anchor/anchor.module.mjs +0 -43
  433. package/esm2020/lib/router/anchor/anchor.segue.directive.mjs +0 -32
  434. package/esm2020/lib/router/anchor/index.mjs +0 -5
  435. package/esm2020/lib/text/hint.component.mjs +0 -15
  436. package/esm2020/lib/text/index.mjs +0 -13
  437. package/esm2020/lib/text/label.bar.component.mjs +0 -32
  438. package/esm2020/lib/text/label.component.mjs +0 -18
  439. package/esm2020/lib/text/link.component.mjs +0 -36
  440. package/esm2020/lib/text/linkify.component.mjs +0 -48
  441. package/esm2020/lib/text/note.component.mjs +0 -15
  442. package/esm2020/lib/text/notice.component.mjs +0 -15
  443. package/esm2020/lib/text/ok.component.mjs +0 -15
  444. package/esm2020/lib/text/success.component.mjs +0 -15
  445. package/esm2020/lib/text/text.chips.component.mjs +0 -32
  446. package/esm2020/lib/text/text.module.mjs +0 -92
  447. package/esm2020/lib/text/warn.component.mjs +0 -15
  448. package/lib/interaction/popover/popover.controls.component.d.ts +0 -10
  449. package/lib/layout/content/content.bordered.component.d.ts +0 -8
  450. package/lib/layout/content/content.component.d.ts +0 -9
  451. package/lib/layout/content/content.container.component.d.ts +0 -34
  452. package/lib/layout/content/content.container.fullwidth.component.d.ts +0 -8
  453. package/lib/layout/dialog/dialog.content.component.d.ts +0 -13
  454. package/lib/layout/dialog/dialog.layout.module.d.ts +0 -11
  455. package/lib/layout/dialog/index.d.ts +0 -2
  456. package/lib/layout/list/list.empty.component.d.ts +0 -8
  457. package/lib/layout/section/section.box.anchor.component.d.ts +0 -11
  458. package/lib/layout/section/section.box.component.d.ts +0 -9
  459. package/lib/layout/section/section.elevated.component.d.ts +0 -8
  460. package/lib/router/anchor/anchor.icon.component.d.ts +0 -11
  461. package/lib/router/anchor/anchor.module.d.ts +0 -12
  462. package/lib/router/anchor/anchor.segue.directive.d.ts +0 -20
  463. package/lib/text/hint.component.d.ts +0 -5
  464. package/lib/text/label.bar.component.d.ts +0 -10
  465. package/lib/text/label.component.d.ts +0 -8
  466. package/lib/text/link.component.d.ts +0 -9
  467. package/lib/text/note.component.d.ts +0 -5
  468. package/lib/text/notice.component.d.ts +0 -5
  469. package/lib/text/ok.component.d.ts +0 -5
  470. package/lib/text/success.component.d.ts +0 -5
  471. package/lib/text/text.chips.component.d.ts +0 -13
  472. package/lib/text/text.module.d.ts +0 -22
  473. package/lib/text/warn.component.d.ts +0 -5
@@ -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 DbNgxTwoColumnsColumnHeadComponent {
5
+ export declare class DbxTwoColumnsColumnHeadComponent {
6
6
  block?: boolean;
7
7
  full?: boolean;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxTwoColumnsColumnHeadComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxTwoColumnsColumnHeadComponent, "dbx-two-columns-head", never, { "block": "block"; "full": "full"; }, {}, never, ["*"]>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnsColumnHeadComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxTwoColumnsColumnHeadComponent, "dbx-two-columns-head", never, { "block": "block"; "full": "full"; }, {}, never, ["*"]>;
10
10
  }
@@ -8,10 +8,10 @@ import * as i6 from "./two.column.full.left.directive";
8
8
  import * as i7 from "@angular/common";
9
9
  import * as i8 from "@angular/material/icon";
10
10
  import * as i9 from "@angular/material/button";
11
- import * as i10 from "../../../router/anchor/anchor.module";
11
+ import * as i10 from "../../../router/layout/anchor/anchor.module";
12
12
  import * as i11 from "../../content/content.layout.module";
13
- export declare class DbNgxTwoColumnLayoutModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxTwoColumnLayoutModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxTwoColumnLayoutModule, [typeof i1.DbNgxTwoColumnsComponent, typeof i2.DbNgxTwoColumnsRightComponent, typeof i3.DbNgxTwoColumnsColumnHeadComponent, typeof i4.DbNgxTwoColumnsSrefDirective, typeof i5.DbNgxTwoColumnsBackDirective, typeof i6.DbNgxTwoColumnsFullLeftDirective], [typeof i7.CommonModule, typeof i8.MatIconModule, typeof i9.MatButtonModule, typeof i10.DbNgxAnchorModule, typeof i11.DbNgxContentLayoutModule], [typeof i1.DbNgxTwoColumnsComponent, typeof i2.DbNgxTwoColumnsRightComponent, typeof i3.DbNgxTwoColumnsColumnHeadComponent, typeof i4.DbNgxTwoColumnsSrefDirective, typeof i5.DbNgxTwoColumnsBackDirective, typeof i6.DbNgxTwoColumnsFullLeftDirective]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxTwoColumnLayoutModule>;
13
+ export declare class DbxTwoColumnLayoutModule {
14
+ 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 ɵinj: i0.ɵɵInjectorDeclaration<DbxTwoColumnLayoutModule>;
17
17
  }
@@ -7,7 +7,7 @@ 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
9
  */
10
- export declare class DbNgxTwoColumnsRightComponent implements AfterViewInit, OnDestroy {
10
+ export declare class DbxTwoColumnsRightComponent implements AfterViewInit, OnDestroy {
11
11
  private readonly twoColumnsContextStore;
12
12
  private _showBack;
13
13
  header?: string;
@@ -19,6 +19,6 @@ export declare class DbNgxTwoColumnsRightComponent implements AfterViewInit, OnD
19
19
  get showBack(): boolean;
20
20
  set showBack(showBack: boolean);
21
21
  backClicked(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxTwoColumnsRightComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxTwoColumnsRightComponent, "dbx-two-columns-right", never, { "header": "header"; "showBack": "showBack"; }, {}, never, ["[nav]", "*"]>;
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
24
  }
@@ -2,13 +2,13 @@ import { SegueRef } 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 DbNgxTwoColumnsComponent to set the backRef of the TwoColumnsContextStore.
5
+ * Used with a DbxTwoColumnsComponent to set the backRef of the TwoColumnsContextStore.
6
6
  */
7
- export declare class DbNgxTwoColumnsSrefDirective {
7
+ export declare class DbxTwoColumnsSrefDirective {
8
8
  private readonly _twoColumnsContextStore;
9
9
  constructor(_twoColumnsContextStore: TwoColumnsContextStore);
10
10
  set refString(ref: string);
11
11
  set ref(ref: SegueRef);
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxTwoColumnsSrefDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbNgxTwoColumnsSrefDirective, "[dbxTwoColumnsSref]", never, { "refString": "dbxTwoColumnsSref"; "ref": "ref"; }, {}, never>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTwoColumnsSrefDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTwoColumnsSrefDirective, "[dbxTwoColumnsSref]", never, { "refString": "dbxTwoColumnsSref"; "ref": "ref"; }, {}, never>;
14
14
  }
@@ -0,0 +1,114 @@
1
+ @import 'shared';
2
+
3
+ .two-column {
4
+ height: 100%;
5
+ max-width: 100%;
6
+ display: flex;
7
+ flex-direction: row;
8
+ overflow-x: hidden;
9
+ }
10
+
11
+ .left-column,
12
+ .right-column {
13
+ @include fillContentHeight(1, 0);
14
+
15
+ .dbx-section-page-two & {
16
+ @include fillContentWithAppPageHeaderHeight();
17
+ }
18
+ }
19
+
20
+ .left-column {
21
+ @include mat-elevation(1);
22
+
23
+ width: $two-left-column-width;
24
+ flex: 0 0 auto;
25
+
26
+ overflow: auto;
27
+ // background: red;
28
+
29
+ .two-column-reverse-sizing & {
30
+ width: calc(100% - #{$two-left-column-width});
31
+ overflow: hidden;
32
+ }
33
+
34
+ .full-left & {
35
+ width: 100% !important;
36
+
37
+ .right-shown & {
38
+ width: $two-left-column-width;
39
+ }
40
+ }
41
+
42
+ @include if-small-screen {
43
+ width: 100% !important;
44
+
45
+ .right-shown & {
46
+ display: none !important;
47
+ }
48
+ }
49
+ }
50
+
51
+ .right-column {
52
+ flex: 1 1 auto;
53
+ max-width: calc(100% - #{$two-left-column-width});
54
+ overflow: hidden;
55
+ // background: green;
56
+
57
+ .two-column-reverse-sizing & {
58
+ max-width: $two-left-column-width;
59
+ }
60
+
61
+ @include if-small-screen {
62
+ max-width: 100% !important;
63
+ width: 100% !important;
64
+ padding-left: 0 !important;
65
+ }
66
+ }
67
+
68
+ .dbx-two-columns-head {
69
+ padding: 0 6px;
70
+ border-bottom: 1px solid rgba(0, 0, 0, 0.14);
71
+ height: $second-navbar-height;
72
+
73
+ display: flex;
74
+ align-items: center;
75
+ overflow-y: hidden;
76
+
77
+ &.block {
78
+ display: block;
79
+ }
80
+
81
+ &.full {
82
+ padding: 0;
83
+ }
84
+ }
85
+
86
+ .two-columns-right {
87
+ height: 100%;
88
+
89
+ .two-columns-right-content {
90
+ height: calc(100% - #{$second-navbar-height});
91
+ overflow-x: hidden;
92
+ overflow-y: auto;
93
+ }
94
+
95
+ .two-columns-right-content-bottom {
96
+ min-height: 12px;
97
+ height: 3vh;
98
+ }
99
+
100
+ $two-columns-right-padding-size: 6px;
101
+
102
+ .back-button {
103
+ margin-right: $two-columns-right-padding-size;
104
+ }
105
+
106
+ .right-spacer {
107
+ padding-right: 5vw;
108
+ }
109
+
110
+ .side-spacer {
111
+ padding-left: $two-columns-right-padding-size;
112
+ }
113
+
114
+ }
@@ -4,11 +4,11 @@ import * as i0 from "@angular/core";
4
4
  /**
5
5
  * CompactContextStore provider.
6
6
  */
7
- export declare class DbNgxCompactDirective {
7
+ export declare class DbxCompactDirective {
8
8
  readonly compactContextStore: CompactContextStore;
9
9
  mode$: import("rxjs").Observable<CompactMode>;
10
10
  constructor(compactContextStore: CompactContextStore);
11
11
  set mode(mode: CompactMode | boolean);
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxCompactDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbNgxCompactDirective, "[dbxCompact]", ["compact"], { "mode": "dbxCompact"; }, {}, never>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxCompactDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxCompactDirective, "[dbxCompact]", ["compact"], { "mode": "dbxCompact"; }, {}, never>;
14
14
  }
@@ -4,8 +4,8 @@ import * as i2 from "@angular/common";
4
4
  /**
5
5
  * Module for block components.
6
6
  */
7
- export declare class DbNgxCompactLayoutModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxCompactLayoutModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxCompactLayoutModule, [typeof i1.DbNgxCompactDirective], [typeof i2.CommonModule], [typeof i1.DbNgxCompactDirective]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxCompactLayoutModule>;
7
+ export declare class DbxCompactLayoutModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxCompactLayoutModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxCompactLayoutModule, [typeof i1.DbxCompactDirective], [typeof i2.CommonModule], [typeof i1.DbxCompactDirective]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbxCompactLayoutModule>;
11
11
  }
@@ -0,0 +1,136 @@
1
+ @use 'sass:map';
2
+ @use 'sass:color';
3
+ @use '../../style/theming';
4
+
5
+ $content-max-width: theming.$content-max-width;
6
+ $content-border-inner-padding: theming.$padding-3;
7
+
8
+ $box-bottom-margin: 2vh;
9
+ $box-padding: theming.$padding-4;
10
+ $box-max-width: theming.$box-max-width;
11
+
12
+ $max-small-content-container-width: calc($content-max-width / 3);
13
+ $max-medium-content-container-width: calc($content-max-width / 2);
14
+ $max-content-container-width: $content-max-width;
15
+
16
+ $content-container-padding: theming.$padding-4;
17
+ $content-container-padding-small-screen: theming.$padding-2;
18
+
19
+ @mixin core() {
20
+
21
+ .dbx-content-border {
22
+ padding: $content-border-inner-padding;
23
+ }
24
+
25
+ .dbx-content-elevate {
26
+ padding: $content-border-inner-padding;
27
+ @include theming.elevation(2);
28
+ }
29
+
30
+ .dbx-content-box {
31
+ margin: auto;
32
+ padding: $box-padding;
33
+ margin-bottom: $box-bottom-margin;
34
+ max-width: $box-max-width;
35
+ }
36
+
37
+ .dbx-content,
38
+ .dbx-content-page { //dbx-content page always has page height
39
+ @include theming.page-height();
40
+ }
41
+
42
+ .dbx-content .dbx-content, // if a child of another dbx-content, give it content height instead of page height.
43
+ .dbx-content-page .dbx-content,
44
+ .dbx-content-without-content-navbar {
45
+ @include theming.content-height();
46
+ }
47
+
48
+ .dbx-content-scroll-lock {
49
+ height: 100%;
50
+ overflow: hidden;
51
+ padding: 0 2px; // Override padding
52
+ }
53
+
54
+ .dbx-content-container {
55
+ margin: auto;
56
+ padding: 0 $content-container-padding;
57
+
58
+ // NOTE: the order of these classes matters.
59
+
60
+ // padding
61
+ &.container-padding-none {
62
+ padding: 0;
63
+ }
64
+
65
+ &.container-padding-min {
66
+ padding: 0 2px;
67
+ }
68
+
69
+ &.container-padding-small {
70
+ padding: 0 calc($content-container-padding / 3);
71
+ }
72
+
73
+ // width
74
+ &.container-small {
75
+ max-width: $max-small-content-container-width;
76
+ }
77
+
78
+ &.container-medium {
79
+ max-width: $max-medium-content-container-width;
80
+ }
81
+
82
+ &.container-wide {
83
+ max-width: $max-content-container-width;
84
+ }
85
+
86
+ // type
87
+ &.normal-container-type {
88
+ // No restriction.
89
+ }
90
+
91
+ &.content-container-type {
92
+ // @include fillContentWithAppPageHeaderHeight();
93
+ overflow-x: hidden;
94
+ overflow-y: auto;
95
+ }
96
+
97
+ }
98
+
99
+ }
100
+
101
+ @mixin color($theme-config) {
102
+ $color-config: theming.get-color-config($theme-config);
103
+ $background: map.get($color-config, 'background');
104
+ $content-border-background: theming.get-color-from-palette($background, 'hover');
105
+
106
+ .dbx-content-border {
107
+ // border-radius: 6px;
108
+ border: 3px dashed $content-border-background;
109
+ }
110
+
111
+ .dbx-content-container {
112
+
113
+ @include theming.if-small-screen($theme-config) {
114
+ padding: 0 $content-container-padding-small-screen;
115
+ }
116
+
117
+ }
118
+
119
+ }
120
+
121
+ @mixin typography($typography-config) {}
122
+
123
+ @mixin theme($theme-config) {
124
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-content') {
125
+ $color: theming.get-color-config($theme-config);
126
+ $typography: theming.get-typography-config($theme-config);
127
+
128
+ @if $color !=null {
129
+ @include color($theme-config);
130
+ }
131
+
132
+ @if $typography !=null {
133
+ @include typography($typography);
134
+ }
135
+ }
136
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Section used to wrap content in a border with internal padding.
4
+ */
5
+ export declare class DbxContentBorderDirective {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentBorderDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentBorderDirective, "dbx-content-border,[dbx-content-border]", never, {}, {}, never>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Component used to wrap content in a box with optionally elevation.
4
+ */
5
+ export declare class DbxContentBoxDirective {
6
+ elevated: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentBoxDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentBoxDirective, "dbx-content-box, [dbx-content-box]", never, { "elevated": "elevated"; }, {}, never>;
9
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare type DbxContentContainerPadding = 'none' | 'min' | 'small' | 'normal';
3
+ export declare type DbxContentContainerWidth = 'small' | 'medium' | 'wide' | 'full';
4
+ /**
5
+ * Component that limits the max-width of the content.
6
+ */
7
+ export declare class DbxContentContainerDirective {
8
+ grow: string;
9
+ padding: string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentContainerDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentContainerDirective, "dbx-content-container,[dbx-content-container],.dbx-content-container", never, { "grow": "grow"; "padding": "padding"; }, {}, never>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Directive that sets the height of it's content to fill the page.
4
+ */
5
+ export declare class DbxContentDirective {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentDirective, "dbx-content,[dbx-content]", never, {}, {}, never>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Section used to elevate content in a pre-configured manner.
4
+ */
5
+ export declare class DbxContentElevateDirective {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentElevateDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentElevateDirective, "dbx-content-elevate,[dbx-content-elevate]", never, {}, {}, never>;
8
+ }
@@ -1,14 +1,16 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./content.component";
3
- import * as i2 from "./content.container.component";
4
- import * as i3 from "./content.bordered.component";
5
- import * as i4 from "./content.container.fullwidth.component";
6
- import * as i5 from "@angular/common";
2
+ import * as i1 from "./content.directive";
3
+ import * as i2 from "./content.container.directive";
4
+ import * as i3 from "./content.border.directive";
5
+ import * as i4 from "./content.elevate.directive";
6
+ import * as i5 from "./content.box.directive";
7
+ import * as i6 from "./content.page.directive";
8
+ import * as i7 from "@angular/common";
7
9
  /**
8
10
  * Module for container-type components.
9
11
  */
10
- export declare class DbNgxContentLayoutModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxContentLayoutModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxContentLayoutModule, [typeof i1.DbNgxContentComponent, typeof i2.DbNgxContentContainerComponent, typeof i3.DbNgxBorderedContentComponent, typeof i4.DbNgxFullWidthContentContainerComponent], [typeof i5.CommonModule], [typeof i1.DbNgxContentComponent, typeof i2.DbNgxContentContainerComponent, typeof i3.DbNgxBorderedContentComponent, typeof i4.DbNgxFullWidthContentContainerComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxContentLayoutModule>;
12
+ export declare class DbxContentLayoutModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentLayoutModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxContentLayoutModule, [typeof i1.DbxContentDirective, typeof i2.DbxContentContainerDirective, typeof i3.DbxContentBorderDirective, typeof i4.DbxContentElevateDirective, typeof i5.DbxContentBoxDirective, typeof i6.DbxContentPageDirective], [typeof i7.CommonModule], [typeof i1.DbxContentDirective, typeof i2.DbxContentContainerDirective, typeof i3.DbxContentBorderDirective, typeof i4.DbxContentElevateDirective, typeof i5.DbxContentBoxDirective, typeof i6.DbxContentPageDirective]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbxContentLayoutModule>;
14
16
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Directive that sets the height of it's content to fill the page.
4
+ */
5
+ export declare class DbxContentPageDirective {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxContentPageDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxContentPageDirective, "dbx-content-page,[dbx-content-page]", never, {}, {}, never>;
8
+ }
@@ -1,5 +1,7 @@
1
+ export * from './content.border.directive';
2
+ export * from './content.box.directive';
3
+ export * from './content.directive';
4
+ export * from './content.container.directive';
5
+ export * from './content.elevate.directive';
1
6
  export * from './content.layout.module';
2
- export * from './content.bordered.component';
3
- export * from './content.component';
4
- export * from './content.container.component';
5
- export * from './content.container.fullwidth.component';
7
+ export * from './content.page.directive';
@@ -0,0 +1,26 @@
1
+ @use '../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-flag') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Toolbar-like component that wraps content. Generally sits at the top of a page.
5
5
  */
6
- export declare class DbNgxFlagComponent {
6
+ export declare class DbxFlagComponent {
7
7
  color: ThemePalette;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxFlagComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxFlagComponent, "dbx-flag", never, { "color": "color"; }, {}, never, ["*"]>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFlagComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxFlagComponent, "dbx-flag", never, { "color": "color"; }, {}, never, ["*"]>;
10
10
  }
@@ -6,8 +6,8 @@ import * as i4 from "@angular/material/toolbar";
6
6
  /**
7
7
  * Module for block components.
8
8
  */
9
- export declare class DbNgxFlagLayoutModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxFlagLayoutModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxFlagLayoutModule, [typeof i1.DbNgxFlagComponent, typeof i2.DbNgxFlagPromptComponent], [typeof i3.CommonModule, typeof i4.MatToolbarModule], [typeof i1.DbNgxFlagComponent, typeof i2.DbNgxFlagPromptComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxFlagLayoutModule>;
9
+ export declare class DbxFlagLayoutModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFlagLayoutModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFlagLayoutModule, [typeof i1.DbxFlagComponent, typeof i2.DbxFlagPromptComponent], [typeof i3.CommonModule, typeof i4.MatToolbarModule], [typeof i1.DbxFlagComponent, typeof i2.DbxFlagPromptComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbxFlagLayoutModule>;
13
13
  }
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Pre-configured dbx-flag prompt to do something.
5
5
  */
6
- export declare class DbNgxFlagPromptComponent {
6
+ export declare class DbxFlagPromptComponent {
7
7
  color: ThemePalette;
8
8
  text?: string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxFlagPromptComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxFlagPromptComponent, "dbx-flag-prompt", never, { "color": "color"; "text": "text"; }, {}, never, ["*"]>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFlagPromptComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxFlagPromptComponent, "dbx-flag-prompt", never, { "color": "color"; "text": "text"; }, {}, never, ["*"]>;
11
11
  }
@@ -0,0 +1,76 @@
1
+ @use '../../style/theming';
2
+
3
+ // MARK: Variables
4
+ $dbx-flex-group-padding: 8px;
5
+ $dbx-flex-group-columns-count: 6;
6
+
7
+ // MARK: Mixin
8
+ @mixin core() {
9
+
10
+ .dbx-flex-group {
11
+ display: flex;
12
+ flex-wrap: wrap;
13
+ flex-direction: row;
14
+ align-content: stretch;
15
+ box-sizing: border-box;
16
+
17
+ // padding: $dbx-flex-group-padding;
18
+ margin: 0 #{-$dbx-flex-group-padding} #{-$dbx-flex-group-padding} 0;
19
+ // padding: 0 $dbx-flex-group-padding $dbx-flex-group-padding 0;
20
+
21
+ >* {
22
+ box-sizing: border-box;
23
+ padding: 0 $dbx-flex-group-padding $dbx-flex-group-padding 0;
24
+ }
25
+
26
+ @for $i from 1 through 6 {
27
+ .dbx-flex-#{$i} {
28
+ box-sizing: border-box;
29
+ padding: 0 $dbx-flex-group-padding $dbx-flex-group-padding 0;
30
+ flex: 1 1 calc((100% * (#{$i}/#{$dbx-flex-group-columns-count})));
31
+ max-width: calc((100% * (#{$i}/#{$dbx-flex-group-columns-count})));
32
+ }
33
+ }
34
+
35
+ }
36
+
37
+ .dbx-flex-group-relative>.dbx-flex-group,
38
+ .dbx-flex-group.dbx-flex-group-relative {
39
+ @for $i from 1 through 6 {
40
+ .dbx-flex-#{$i} {
41
+ max-width: unset;
42
+ }
43
+ }
44
+ }
45
+
46
+ .dbx-flex-group-small>.dbx-flex-group,
47
+ .dbx-flex-group.dbx-flex-group-small {
48
+ @for $i from 1 through 5 {
49
+ .dbx-flex-#{$i} {
50
+ box-sizing: border-box;
51
+ flex: 1 1 calc(100%);
52
+ max-width: 100%;
53
+ }
54
+ }
55
+ }
56
+
57
+ }
58
+
59
+ @mixin color($theme-config) {}
60
+
61
+ @mixin typography($typography-config) {}
62
+
63
+ @mixin theme($theme-config) {
64
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-flex') {
65
+ $color: theming.get-color-config($theme-config);
66
+ $typography: theming.get-typography-config($theme-config);
67
+
68
+ @if $color !=null {
69
+ @include color($theme-config);
70
+ }
71
+
72
+ @if $typography !=null {
73
+ @include typography($typography);
74
+ }
75
+ }
76
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Size from 1 to 6. A flex size of 6 will take up the entire space/row, while a flex of 1 will take up 1/6th of the space/row.
3
+ */
4
+ export declare type DbxFlexSize = 1 | 2 | 3 | 4 | 5 | 6;
@@ -0,0 +1,24 @@
1
+ import { ScreenMediaWidthType } from '../../screen/screen';
2
+ import { DbxScreenMediaService } from '../../screen/screen.service';
3
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
4
+ import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
5
+ import { Maybe } from '@dereekb/util';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Used to declare a dbxFlexGroup.
9
+ */
10
+ export declare class DbxFlexGroupDirective extends AbstractSubscriptionDirective implements OnInit {
11
+ private readonly _dbxScreenMediaService;
12
+ readonly cdRef: ChangeDetectorRef;
13
+ content: boolean;
14
+ relative: boolean;
15
+ private _small;
16
+ private _breakpoint;
17
+ readonly isSmallScreen$: import("rxjs").Observable<boolean>;
18
+ get small(): boolean;
19
+ constructor(_dbxScreenMediaService: DbxScreenMediaService, cdRef: ChangeDetectorRef);
20
+ ngOnInit(): void;
21
+ set breakpoint(breakpoint: Maybe<ScreenMediaWidthType>);
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFlexGroupDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFlexGroupDirective, "[dbxFlexGroup]", never, { "content": "content"; "relative": "relative"; "breakpoint": "breakpoint"; }, {}, never>;
24
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./flex.group.directive";
3
+ import * as i2 from "./flex.size.directive";
4
+ import * as i3 from "@angular/common";
5
+ export declare class DbxFlexLayoutModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFlexLayoutModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFlexLayoutModule, [typeof i1.DbxFlexGroupDirective, typeof i2.DbxFlexSizeDirective], [typeof i3.CommonModule], [typeof i1.DbxFlexGroupDirective, typeof i2.DbxFlexSizeDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbxFlexLayoutModule>;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { DbxFlexSize } from './flex';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Applies the proper dbx-flex size class based on the input.
5
+ */
6
+ export declare class DbxFlexSizeDirective {
7
+ size: DbxFlexSize;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFlexSizeDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFlexSizeDirective, "[dbxFlexSize]", never, { "size": "dbxFlexSize"; }, {}, never>;
10
+ }
@@ -0,0 +1,4 @@
1
+ export * from './flex.group.directive';
2
+ export * from './flex.size.directive';
3
+ export * from './flex.layout.module';
4
+ export * from './flex';