@dereekb/dbx-web 5.0.0 → 5.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 (250) hide show
  1. package/_index.scss +7 -9
  2. package/esm2020/lib/action/action.confirm.directive.mjs +1 -1
  3. package/esm2020/lib/action/action.module.mjs +6 -45
  4. package/esm2020/lib/action/action.progress.component.mjs +2 -2
  5. package/esm2020/lib/action/key.trigger.directive.mjs +2 -2
  6. package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +9 -7
  7. package/esm2020/lib/action/snackbar/action.snackbar.default.mjs +9 -9
  8. package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +5 -3
  9. package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +2 -2
  10. package/esm2020/lib/action/snackbar/action.snackbar.mjs +1 -1
  11. package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +6 -33
  12. package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +6 -6
  13. package/esm2020/lib/action/transition/action.transition.module.mjs +6 -28
  14. package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +1 -1
  15. package/esm2020/lib/action/transition/transition.safety.directive.mjs +7 -4
  16. package/esm2020/lib/button/button.component.mjs +8 -6
  17. package/esm2020/lib/button/button.module.mjs +6 -26
  18. package/esm2020/lib/button/button.spacer.component.mjs +1 -1
  19. package/esm2020/lib/button/progress/bar.button.component.mjs +3 -3
  20. package/esm2020/lib/button/progress/base.progress.button.directive.mjs +3 -3
  21. package/esm2020/lib/button/progress/button.progress.config.mjs +1 -1
  22. package/esm2020/lib/button/progress/button.progress.module.mjs +10 -35
  23. package/esm2020/lib/button/progress/spinner.button.component.mjs +3 -3
  24. package/esm2020/lib/dbx-web.module.mjs +4 -12
  25. package/esm2020/lib/error/error.action.directive.mjs +1 -1
  26. package/esm2020/lib/error/error.api.mjs +1 -1
  27. package/esm2020/lib/error/error.component.mjs +1 -1
  28. package/esm2020/lib/error/error.loading.directive.mjs +1 -1
  29. package/esm2020/lib/error/error.module.mjs +6 -22
  30. package/esm2020/lib/error/state.mjs +2 -2
  31. package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +1 -1
  32. package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +1 -1
  33. package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +2 -2
  34. package/esm2020/lib/interaction/dialog/dialog.module.mjs +6 -21
  35. package/esm2020/lib/interaction/filter/filter.module.mjs +5 -17
  36. package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +1 -1
  37. package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +1 -1
  38. package/esm2020/lib/interaction/filter/filter.popover.component.mjs +1 -1
  39. package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +1 -1
  40. package/esm2020/lib/interaction/interaction.module.mjs +4 -18
  41. package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +1 -1
  42. package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +1 -1
  43. package/esm2020/lib/interaction/popover/popover.action.directive.mjs +2 -2
  44. package/esm2020/lib/interaction/popover/popover.component.mjs +21 -15
  45. package/esm2020/lib/interaction/popover/popover.content.component.mjs +13 -13
  46. package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +2 -2
  47. package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +9 -9
  48. package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +1 -1
  49. package/esm2020/lib/interaction/popover/popover.header.component.mjs +21 -15
  50. package/esm2020/lib/interaction/popover/popover.mjs +1 -1
  51. package/esm2020/lib/interaction/popover/popover.module.mjs +7 -72
  52. package/esm2020/lib/interaction/popover/popover.position.strategy.mjs +9 -10
  53. package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +8 -4
  54. package/esm2020/lib/interaction/popover/popover.service.mjs +2 -2
  55. package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +1 -1
  56. package/esm2020/lib/interaction/popup/popup.component.mjs +21 -15
  57. package/esm2020/lib/interaction/popup/popup.content.component.mjs +3 -3
  58. package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +4 -4
  59. package/esm2020/lib/interaction/popup/popup.controls.component.mjs +2 -2
  60. package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +8 -8
  61. package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +1 -1
  62. package/esm2020/lib/interaction/popup/popup.module.mjs +7 -55
  63. package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +1 -1
  64. package/esm2020/lib/interaction/popup/popup.service.mjs +2 -2
  65. package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +8 -4
  66. package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +3 -3
  67. package/esm2020/lib/interaction/prompt/prompt.component.mjs +1 -1
  68. package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +1 -1
  69. package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +1 -1
  70. package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +1 -1
  71. package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +5 -3
  72. package/esm2020/lib/interaction/prompt/prompt.module.mjs +6 -60
  73. package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +2 -2
  74. package/esm2020/lib/keypress/keydown.listener.directive.mjs +1 -1
  75. package/esm2020/lib/keypress/keypress.module.mjs +5 -13
  76. package/esm2020/lib/layout/bar/bar.directive.mjs +2 -2
  77. package/esm2020/lib/layout/bar/bar.header.component.mjs +4 -4
  78. package/esm2020/lib/layout/bar/bar.layout.module.mjs +6 -28
  79. package/esm2020/lib/layout/bar/bar.mjs +1 -1
  80. package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
  81. package/esm2020/lib/layout/block/block.layout.module.mjs +6 -20
  82. package/esm2020/lib/layout/block/two.block.component.mjs +16 -16
  83. package/esm2020/lib/layout/card/card.box.component.mjs +27 -21
  84. package/esm2020/lib/layout/card/card.box.container.component.mjs +7 -7
  85. package/esm2020/lib/layout/card/card.box.layout.module.mjs +6 -21
  86. package/esm2020/lib/layout/column/column.layout.module.mjs +4 -9
  87. package/esm2020/lib/layout/column/one/one.column.component.mjs +1 -1
  88. package/esm2020/lib/layout/column/one/one.column.module.mjs +6 -17
  89. package/esm2020/lib/layout/column/two/index.mjs +1 -1
  90. package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +1 -1
  91. package/esm2020/lib/layout/column/two/two.column.component.mjs +6 -7
  92. package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +1 -1
  93. package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +2 -2
  94. package/esm2020/lib/layout/column/two/two.column.head.component.mjs +3 -3
  95. package/esm2020/lib/layout/column/two/two.column.module.mjs +6 -50
  96. package/esm2020/lib/layout/column/two/two.column.right.component.mjs +4 -3
  97. package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +1 -1
  98. package/esm2020/lib/layout/column/two/two.column.store.mjs +7 -5
  99. package/esm2020/lib/layout/compact/compact.directive.mjs +2 -2
  100. package/esm2020/lib/layout/compact/compact.layout.module.mjs +5 -13
  101. package/esm2020/lib/layout/compact/compact.mjs +3 -3
  102. package/esm2020/lib/layout/compact/compact.store.mjs +2 -2
  103. package/esm2020/lib/layout/content/content.border.directive.mjs +2 -2
  104. package/esm2020/lib/layout/content/content.box.directive.mjs +2 -2
  105. package/esm2020/lib/layout/content/content.container.directive.mjs +2 -2
  106. package/esm2020/lib/layout/content/content.directive.mjs +2 -2
  107. package/esm2020/lib/layout/content/content.elevate.directive.mjs +2 -2
  108. package/esm2020/lib/layout/content/content.layout.module.mjs +6 -34
  109. package/esm2020/lib/layout/content/content.page.directive.mjs +2 -2
  110. package/esm2020/lib/layout/flag/flag.component.mjs +2 -2
  111. package/esm2020/lib/layout/flag/flag.layout.module.mjs +6 -21
  112. package/esm2020/lib/layout/flag/flag.prompt.component.mjs +2 -2
  113. package/esm2020/lib/layout/flex/flex.group.directive.mjs +2 -2
  114. package/esm2020/lib/layout/flex/flex.layout.module.mjs +6 -18
  115. package/esm2020/lib/layout/flex/flex.mjs +1 -1
  116. package/esm2020/lib/layout/flex/flex.size.directive.mjs +1 -1
  117. package/esm2020/lib/layout/item/item.icon.component.mjs +19 -19
  118. package/esm2020/lib/layout/item/item.layout.module.mjs +6 -17
  119. package/esm2020/lib/layout/layout.module.mjs +4 -45
  120. package/esm2020/lib/layout/list/list.component.mjs +15 -13
  121. package/esm2020/lib/layout/list/list.content.empty.component.mjs +2 -2
  122. package/esm2020/lib/layout/list/list.directive.mjs +2 -2
  123. package/esm2020/lib/layout/list/list.layout.module.mjs +6 -62
  124. package/esm2020/lib/layout/list/list.view.directive.mjs +1 -1
  125. package/esm2020/lib/layout/list/list.view.mjs +7 -4
  126. package/esm2020/lib/layout/list/list.view.selection.directive.mjs +3 -3
  127. package/esm2020/lib/layout/list/list.view.value.component.mjs +3 -3
  128. package/esm2020/lib/layout/list/list.view.value.directive.mjs +9 -10
  129. package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +3 -3
  130. package/esm2020/lib/layout/list/list.view.value.mjs +12 -8
  131. package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +4 -4
  132. package/esm2020/lib/layout/list/list.view.value.modifier.mjs +7 -5
  133. package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +4 -4
  134. package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +7 -7
  135. package/esm2020/lib/layout/list/list.wrapper.mjs +6 -4
  136. package/esm2020/lib/layout/section/section.component.mjs +2 -2
  137. package/esm2020/lib/layout/section/section.header.component.mjs +5 -3
  138. package/esm2020/lib/layout/section/section.intro.component.mjs +25 -25
  139. package/esm2020/lib/layout/section/section.layout.module.mjs +6 -42
  140. package/esm2020/lib/layout/section/section.mjs +1 -1
  141. package/esm2020/lib/layout/section/section.page.component.mjs +11 -11
  142. package/esm2020/lib/layout/section/subsection.component.mjs +15 -15
  143. package/esm2020/lib/layout/step/step.component.mjs +3 -3
  144. package/esm2020/lib/layout/step/step.layout.module.mjs +6 -17
  145. package/esm2020/lib/layout/style/spacer.directive.mjs +2 -2
  146. package/esm2020/lib/layout/style/style.body.directive.mjs +1 -1
  147. package/esm2020/lib/layout/style/style.directive.mjs +1 -1
  148. package/esm2020/lib/layout/style/style.layout.module.mjs +6 -26
  149. package/esm2020/lib/layout/style/style.service.mjs +3 -3
  150. package/esm2020/lib/layout/style/style.set.directive.mjs +2 -2
  151. package/esm2020/lib/layout/text/hint.component.mjs +8 -4
  152. package/esm2020/lib/layout/text/icon.spacer.component.mjs +1 -1
  153. package/esm2020/lib/layout/text/label.component.mjs +8 -4
  154. package/esm2020/lib/layout/text/linkify.component.mjs +9 -5
  155. package/esm2020/lib/layout/text/note.component.mjs +8 -4
  156. package/esm2020/lib/layout/text/notice.component.mjs +8 -4
  157. package/esm2020/lib/layout/text/ok.component.mjs +8 -4
  158. package/esm2020/lib/layout/text/success.component.mjs +8 -4
  159. package/esm2020/lib/layout/text/text.chips.component.mjs +11 -11
  160. package/esm2020/lib/layout/text/text.module.mjs +6 -59
  161. package/esm2020/lib/layout/text/warn.component.mjs +8 -4
  162. package/esm2020/lib/loading/basic-loading.component.mjs +7 -6
  163. package/esm2020/lib/loading/loading-progress.component.mjs +15 -15
  164. package/esm2020/lib/loading/loading.action.directive.mjs +1 -1
  165. package/esm2020/lib/loading/loading.component.mjs +16 -16
  166. package/esm2020/lib/loading/loading.module.mjs +6 -40
  167. package/esm2020/lib/router/layout/anchor/anchor.component.mjs +5 -5
  168. package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +13 -7
  169. package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +13 -9
  170. package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +4 -4
  171. package/esm2020/lib/router/layout/anchor/anchor.module.mjs +6 -35
  172. package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +8 -8
  173. package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +4 -4
  174. package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +6 -32
  175. package/esm2020/lib/router/layout/layout.module.mjs +4 -18
  176. package/esm2020/lib/router/layout/list/list.module.mjs +3 -7
  177. package/esm2020/lib/router/layout/list/router.list.directive.mjs +4 -4
  178. package/esm2020/lib/router/layout/navbar/navbar.component.mjs +5 -5
  179. package/esm2020/lib/router/layout/navbar/navbar.module.mjs +6 -29
  180. package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +8 -8
  181. package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
  182. package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +6 -62
  183. package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +2 -2
  184. package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +1 -1
  185. package/esm2020/lib/router/provider/index.mjs +1 -1
  186. package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +1 -1
  187. package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +4 -14
  188. package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
  189. package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +4 -4
  190. package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -14
  191. package/esm2020/lib/screen/screen.mjs +6 -6
  192. package/esm2020/lib/screen/screen.module.mjs +1 -1
  193. package/esm2020/lib/screen/screen.service.mjs +4 -4
  194. package/fesm2015/dereekb-dbx-web.mjs +726 -1606
  195. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  196. package/fesm2020/dereekb-dbx-web.mjs +726 -1606
  197. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  198. package/lib/action/snackbar/_snackbar.scss +4 -5
  199. package/lib/action/snackbar/action.snackbar.d.ts +4 -4
  200. package/lib/action/snackbar/action.snackbar.generator.d.ts +3 -3
  201. package/lib/action/snackbar/action.snackbar.service.d.ts +5 -5
  202. package/lib/button/_button.scss +4 -4
  203. package/lib/button/progress/bar.button.component.scss +1 -1
  204. package/lib/button/progress/spinner.button.component.scss +5 -5
  205. package/lib/error/_error.scss +6 -4
  206. package/lib/interaction/dialog/_dialog.scss +4 -6
  207. package/lib/interaction/filter/_filter.scss +6 -3
  208. package/lib/interaction/popover/_popover.scss +2 -5
  209. package/lib/interaction/popover/popover.d.ts +2 -2
  210. package/lib/interaction/popup/_popup.scss +1 -5
  211. package/lib/interaction/prompt/_prompt.scss +5 -6
  212. package/lib/interaction/style/_style.scss +6 -5
  213. package/lib/layout/bar/_bar.scss +0 -5
  214. package/lib/layout/block/_block.scss +4 -4
  215. package/lib/layout/card/_card.scss +6 -4
  216. package/lib/layout/column/_column.scss +2 -7
  217. package/lib/layout/content/_content.scss +2 -9
  218. package/lib/layout/flag/_flag.scss +6 -4
  219. package/lib/layout/flex/_flex.scss +7 -8
  220. package/lib/layout/item/_item.scss +6 -4
  221. package/lib/layout/list/_list.scss +4 -8
  222. package/lib/layout/list/list.directive.d.ts +3 -3
  223. package/lib/layout/list/list.view.d.ts +2 -2
  224. package/lib/layout/list/list.view.value.d.ts +4 -4
  225. package/lib/layout/list/list.view.value.directive.d.ts +6 -6
  226. package/lib/layout/list/list.view.value.item.directive.d.ts +1 -1
  227. package/lib/layout/list/list.view.value.modifier.d.ts +5 -5
  228. package/lib/layout/list/list.view.value.modifier.directive.d.ts +2 -2
  229. package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +5 -5
  230. package/lib/layout/list/list.wrapper.d.ts +2 -2
  231. package/lib/layout/section/_section.scss +7 -18
  232. package/lib/layout/step/_step.scss +6 -4
  233. package/lib/layout/style/_style.scss +3 -7
  234. package/lib/layout/text/_text.scss +0 -5
  235. package/lib/router/layout/anchor/_anchor.scss +8 -8
  236. package/lib/router/layout/anchor/anchor.segue.directive.d.ts +3 -3
  237. package/lib/router/layout/anchorlist/_anchorlist.scss +3 -9
  238. package/lib/router/layout/list/router.list.directive.d.ts +6 -6
  239. package/lib/router/layout/navbar/_navbar.scss +7 -5
  240. package/lib/router/layout/sidenav/_sidenav.scss +3 -6
  241. package/lib/router/provider/router.provider.config.d.ts +1 -1
  242. package/lib/screen/screen.service.d.ts +3 -3
  243. package/lib/style/_config.scss +43 -25
  244. package/lib/style/_core.scss +1 -1
  245. package/lib/style/_function.scss +0 -1
  246. package/lib/style/_mixin.scss +4 -7
  247. package/lib/style/_root-variables.scss +0 -2
  248. package/lib/style/_theming.scss +2 -12
  249. package/lib/style/_variables.scss +10 -3
  250. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
- import { ListLoadingState, ListLoadingStateContext } from "@dereekb/rxjs";
3
- import { EventEmitter, Provider, Type } from "@angular/core";
2
+ import { ListLoadingState, ListLoadingStateContext } from '@dereekb/rxjs';
3
+ import { EventEmitter, Provider, Type } from '@angular/core';
4
4
  import { Maybe } from '@dereekb/util';
5
5
  export declare type DbxListSelectionMode = 'select' | 'view';
6
6
  export interface ListSelectionStateItem<T> {
@@ -1,6 +1,6 @@
1
- import { InjectionToken, Provider, Type } from "@angular/core";
2
- import { ClickableAnchor, DbxInjectionComponentConfig } from "@dereekb/dbx-core";
3
- import { Observable } from "rxjs";
1
+ import { InjectionToken, Provider, Type } from '@angular/core';
2
+ import { ClickableAnchor, DbxInjectionComponentConfig } from '@dereekb/dbx-core';
3
+ import { Observable } from 'rxjs';
4
4
  import { Maybe } from '@dereekb/util';
5
5
  export declare const DBX_VALUE_LIST_VIEW_ITEM: InjectionToken<unknown>;
6
6
  export interface DbxValueListItem<T> {
@@ -32,6 +32,6 @@ export declare function mapValuesToValuesListItemConfigObs<T, I extends DbxValue
32
32
  */
33
33
  export declare function addConfigToValueListItems<T, I extends DbxValueListItem<T>, V = unknown>(listViewConfig: AbstractDbxValueListViewConfig<T, I, V>, listItems: I[]): DbxValueListItemConfig<T, I, V>[];
34
34
  export declare abstract class DbxValueListView<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
35
- readonly abstract items$: Observable<I[]>;
35
+ abstract readonly items$: Observable<I[]>;
36
36
  }
37
37
  export declare function provideDbxValueListView<V extends DbxValueListView<unknown>>(sourceType: Type<V>): Provider[];
@@ -1,9 +1,9 @@
1
- import { Maybe, ModifierFunction } from "@dereekb/util";
2
- import { OnDestroy } from "@angular/core";
3
- import { Observable } from "rxjs";
4
- import { DbxListView } from "./list.view";
5
- import { AbstractDbxValueListViewConfig, DbxValueListItem, DbxValueListItemConfig, DbxValueListView } from "./list.view.value";
6
- import { DbxValueListItemModifier } from "./list.view.value.modifier";
1
+ import { Maybe, ModifierFunction } from '@dereekb/util';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+ import { DbxListView } from './list.view';
5
+ import { AbstractDbxValueListViewConfig, DbxValueListItem, DbxValueListItemConfig, DbxValueListView } from './list.view.value';
6
+ import { DbxValueListItemModifier } from './list.view.value.modifier';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Abstract list directive that takes in items and a AbstractDbxValueItemListViewConfig configuration.
@@ -1,4 +1,4 @@
1
- import { DbxValueListItem } from "./list.view.value";
1
+ import { DbxValueListItem } from './list.view.value';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare abstract class AbstractDbxValueListViewItemComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
4
4
  readonly item: I;
@@ -1,9 +1,9 @@
1
- import { Provider, Type } from "@angular/core";
2
- import { ArrayOrValue, Modifier, ModifierFunction, ModifierMap } from "@dereekb/util";
3
- import { Observable } from "rxjs";
4
- import { DbxValueListItem } from "./list.view.value";
1
+ import { Provider, Type } from '@angular/core';
2
+ import { ArrayOrValue, Modifier, ModifierFunction, ModifierMap } from '@dereekb/util';
3
+ import { Observable } from 'rxjs';
4
+ import { DbxValueListItem } from './list.view.value';
5
5
  export declare abstract class DbxValueListItemModifier<T = unknown, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
6
- readonly abstract modifiers$: Observable<ModifierMap<I>>;
6
+ abstract readonly modifiers$: Observable<ModifierMap<I>>;
7
7
  abstract addModifiers(modifiers: ArrayOrValue<Modifier<I>>): void;
8
8
  abstract removeModifiers(modifiers: ArrayOrValue<Modifier<I>>): void;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
- import { OnDestroy, OnInit } from "@angular/core";
3
- import { DbxValueListItem } from "./list.view.value";
2
+ import { OnDestroy, OnInit } from '@angular/core';
3
+ import { DbxValueListItem } from './list.view.value';
4
4
  import { ArrayOrValue, Maybe, Modifier } from '@dereekb/util';
5
5
  import { DbxValueListItemModifier } from './list.view.value.modifier';
6
6
  import * as i0 from "@angular/core";
@@ -1,8 +1,8 @@
1
- import { OnDestroy } from "@angular/core";
2
- import { Maybe, ArrayOrValue, Modifier } from "@dereekb/util";
3
- import { Observable } from "rxjs";
4
- import { DbxValueListItem } from "./list.view.value";
5
- import { AbstractDbxValueListItemModifierDirective } from "./list.view.value.modifier.directive";
1
+ import { OnDestroy } from '@angular/core';
2
+ import { Maybe, ArrayOrValue, Modifier } from '@dereekb/util';
3
+ import { Observable } from 'rxjs';
4
+ import { DbxValueListItem } from './list.view.value';
5
+ import { AbstractDbxValueListItemModifierDirective } from './list.view.value.modifier.directive';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare type DisableRippleForValueFunction<T> = (item: DbxValueListItem<T>) => boolean;
8
8
  export declare const DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY = "disable_ripple_anchor";
@@ -1,6 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
- import { ListLoadingState } from "@dereekb/rxjs";
3
- import { Provider, Type } from "@angular/core";
2
+ import { ListLoadingState } from '@dereekb/rxjs';
3
+ import { Provider, Type } from '@angular/core';
4
4
  import { Maybe } from '@dereekb/util';
5
5
  /**
6
6
  * Common interface for views that may wrap a DbxListView, and pass values through to it.
@@ -13,14 +13,12 @@ $header-left-reserved-space-small-screen: 120px;
13
13
 
14
14
  // MARK: Mixin
15
15
  @mixin core() {
16
-
17
16
  // MARK: Header
18
17
  .dbx-section-header {
19
18
  padding: 0 0 $header-bottom-padding;
20
19
  box-sizing: border-box;
21
20
 
22
21
  .dbx-section-header-content {
23
-
24
22
  h1,
25
23
  h2,
26
24
  h3,
@@ -43,8 +41,7 @@ $header-left-reserved-space-small-screen: 120px;
43
41
 
44
42
  // MARK: Page
45
43
  .dbx-section-page {
46
-
47
- >.dbx-section-header>.dbx-section-header-content {
44
+ > .dbx-section-header > .dbx-section-header-content {
48
45
  height: $content-navbar-height;
49
46
  max-height: $content-navbar-height;
50
47
  overflow-x: auto;
@@ -62,43 +59,35 @@ $header-left-reserved-space-small-screen: 120px;
62
59
  margin-right: 4px;
63
60
  }
64
61
 
65
- >.title-text {
62
+ > .title-text {
66
63
  @include theming.limit-text();
67
64
  }
68
65
  }
69
66
  }
70
-
71
67
  }
72
68
 
73
69
  // MARK: Subsection
74
70
  .dbx-subsection {
75
-
76
- >.dbx-section-header>.dbx-section-header-content {}
77
-
71
+ > .dbx-section-header > .dbx-section-header-content {
72
+ }
78
73
  }
79
-
80
74
  }
81
75
 
82
76
  @mixin color($theme-config) {
83
-
84
77
  // MARK: Page
85
78
  .dbx-section-page {
86
-
87
- >.dbx-section-header>.dbx-section-header-content {
79
+ > .dbx-section-header > .dbx-section-header-content {
88
80
  .dbx-section-header-content-title {
89
-
90
81
  @include theming.if-small-screen($theme-config) {
91
82
  max-width: calc(80% - #{$header-left-reserved-space-small-screen});
92
83
  }
93
-
94
84
  }
95
85
  }
96
-
97
86
  }
98
-
99
87
  }
100
88
 
101
- @mixin typography($typography-config) {}
89
+ @mixin typography($typography-config) {
90
+ }
102
91
 
103
92
  @mixin theme($theme-config) {
104
93
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-section') {
@@ -2,13 +2,15 @@
2
2
 
3
3
  // MARK: Variables
4
4
 
5
-
6
5
  // MARK: Mixin
7
- @mixin core() {}
6
+ @mixin core() {
7
+ }
8
8
 
9
- @mixin color($theme-config) {}
9
+ @mixin color($theme-config) {
10
+ }
10
11
 
11
- @mixin typography($typography-config) {}
12
+ @mixin typography($typography-config) {
13
+ }
12
14
 
13
15
  @mixin theme($theme-config) {
14
16
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-step') {
@@ -4,7 +4,6 @@
4
4
 
5
5
  // Sections
6
6
  @mixin core() {
7
-
8
7
  .dbx-spacer,
9
8
  .spacer {
10
9
  flex: 1 1 auto;
@@ -22,9 +21,7 @@
22
21
  padding: 0 !important;
23
22
  }
24
23
 
25
- @each $i,
26
- $padding in theming.$padding-map {
27
-
24
+ @each $i, $padding in theming.$padding-map {
28
25
  .pad-#{$i},
29
26
  .padding-#{$i} {
30
27
  padding: $padding;
@@ -47,7 +44,6 @@
47
44
  .d-fiflex {
48
45
  display: inline-flex !important;
49
46
  }
50
-
51
47
  }
52
48
 
53
49
  @mixin color($theme-config) {
@@ -91,10 +87,10 @@
91
87
  background: $warn-color;
92
88
  color: $warn-color-contrast;
93
89
  }
94
-
95
90
  }
96
91
 
97
- @mixin typography($typography-config) {}
92
+ @mixin typography($typography-config) {
93
+ }
98
94
 
99
95
  @mixin theme($theme-config) {
100
96
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-style') {
@@ -10,7 +10,6 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
10
10
 
11
11
  // MARK: Mixin
12
12
  @mixin core() {
13
-
14
13
  .dbx-small,
15
14
  .dbx-clear-hint {
16
15
  font-size: 0.8em;
@@ -34,7 +33,6 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
34
33
  .dbx-icon-spacer {
35
34
  margin-right: $icon-spacing;
36
35
  }
37
-
38
36
  }
39
37
 
40
38
  @mixin color($theme-config) {
@@ -73,11 +71,9 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
73
71
  .dbx-note {
74
72
  opacity: $note-opacity;
75
73
  }
76
-
77
74
  }
78
75
 
79
76
  @mixin typography($typography-config) {
80
-
81
77
  .dbx-label,
82
78
  .dbx-sublabel,
83
79
  .dbx-chip-sublabel {
@@ -87,7 +83,6 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
87
83
  .dbx-chip-sublabel {
88
84
  margin-left: $icon-spacing;
89
85
  }
90
-
91
86
  }
92
87
 
93
88
  @mixin theme($theme-config) {
@@ -2,10 +2,8 @@
2
2
 
3
3
  // MARK: Variables
4
4
 
5
-
6
5
  // MARK: Mixin
7
6
  @mixin core() {
8
-
9
7
  .dbx-anchor a {
10
8
  color: inherit;
11
9
  text-decoration: none;
@@ -16,7 +14,7 @@
16
14
 
17
15
  .dbx-anchor-a {
18
16
  display: block;
19
- width: 100%
17
+ width: 100%;
20
18
  }
21
19
  }
22
20
  }
@@ -27,7 +25,7 @@
27
25
  }
28
26
 
29
27
  .dbx-link-spacer:before {
30
- content: "|";
28
+ content: '|';
31
29
  margin: 0 8px;
32
30
  }
33
31
 
@@ -35,13 +33,15 @@
35
33
  display: flex;
36
34
  align-items: center;
37
35
  }
38
-
39
36
  }
40
37
 
41
- @mixin color($theme-config) {}
38
+ @mixin color($theme-config) {
39
+ }
42
40
 
43
- @mixin typography($typography-config) {}
41
+ @mixin typography($typography-config) {
42
+ }
44
43
 
45
44
  @mixin theme($theme-config) {
46
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchor') {}
45
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchor') {
46
+ }
47
47
  }
@@ -1,6 +1,6 @@
1
- import { DbxInjectionTemplateConfig } from "@dereekb/dbx-core";
2
- import { Observable } from "rxjs";
3
- import { DbxAnchorComponent } from "./anchor.component";
1
+ import { DbxInjectionTemplateConfig } from '@dereekb/dbx-core';
2
+ import { Observable } from 'rxjs';
3
+ import { DbxAnchorComponent } from './anchor.component';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * Abstract implementation
@@ -8,7 +8,8 @@ $active-root-item-left-padding: 2px;
8
8
  $active-child-item-left-padding: 5px;
9
9
 
10
10
  // MARK: Mixin
11
- @mixin core() {}
11
+ @mixin core() {
12
+ }
12
13
 
13
14
  @mixin color($theme-config) {
14
15
  $color-config: theming.get-color-config($theme-config);
@@ -17,7 +18,6 @@ $active-child-item-left-padding: 5px;
17
18
  $background-disabled-color: theming.get-color-from-palette($background, 'contrast');
18
19
 
19
20
  .dbx-anchor-list.mat-nav-list {
20
-
21
21
  // MARK: Muting
22
22
  // items that are not active are muted
23
23
  .mat-list-item {
@@ -40,7 +40,7 @@ $active-child-item-left-padding: 5px;
40
40
  .dbx-anchor-active-eq {
41
41
  .mat-list-item {
42
42
  opacity: 1;
43
- background: color.scale($color:$background-hover-color, $alpha: 25%);
43
+ background: color.scale($color: $background-hover-color, $alpha: 25%);
44
44
  }
45
45
  }
46
46
 
@@ -54,15 +54,11 @@ $active-child-item-left-padding: 5px;
54
54
  .dbx-anchor-list-child {
55
55
  background: color.scale($background-hover-color, $alpha: 10%);
56
56
  }
57
-
58
57
  }
59
-
60
58
  }
61
59
 
62
60
  @mixin typography($typography-config) {
63
-
64
61
  .dbx-anchor-list.mat-nav-list {
65
-
66
62
  .mat-list-item .mat-list-icon {
67
63
  font-size: 28px;
68
64
  width: 28px;
@@ -81,9 +77,7 @@ $active-child-item-left-padding: 5px;
81
77
  padding: $active-child-item-left-padding;
82
78
  }
83
79
  }
84
-
85
80
  }
86
-
87
81
  }
88
82
 
89
83
  @mixin theme($theme-config) {
@@ -1,9 +1,9 @@
1
- import { OnDestroy } from "@angular/core";
2
- import { ClickableAnchor } from "@dereekb/dbx-core";
3
- import { ArrayOrValue, Maybe, Modifier } from "@dereekb/util";
4
- import { Observable } from "rxjs";
5
- import { DbxValueListItem } from "../../../layout/list/list.view.value";
6
- import { AbstractDbxValueListItemModifierDirective } from "../../../layout/list/list.view.value.modifier.directive";
1
+ import { OnDestroy } from '@angular/core';
2
+ import { ClickableAnchor } from '@dereekb/dbx-core';
3
+ import { ArrayOrValue, Maybe, Modifier } from '@dereekb/util';
4
+ import { Observable } from 'rxjs';
5
+ import { DbxValueListItem } from '../../../layout/list/list.view.value';
6
+ import { AbstractDbxValueListItemModifierDirective } from '../../../layout/list/list.view.value.modifier.directive';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare type AnchorForValueFunction<T> = (value: T, item: DbxValueListItem<T>) => Maybe<ClickableAnchor>;
9
9
  export declare const DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY = "router_anchor";
@@ -4,13 +4,15 @@
4
4
 
5
5
  // MARK: Variables
6
6
 
7
-
8
7
  // MARK: Mixin
9
- @mixin core() {}
8
+ @mixin core() {
9
+ }
10
10
 
11
- @mixin color($theme-config) {}
12
-
13
- @mixin typography($typography-config) {}
11
+ @mixin color($theme-config) {
12
+ }
13
+
14
+ @mixin typography($typography-config) {
15
+ }
14
16
 
15
17
  @mixin theme($theme-config) {
16
18
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-navbar') {
@@ -13,7 +13,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
13
13
 
14
14
  // MARK: Mixin
15
15
  @mixin core() {
16
-
17
16
  .dbx-sidenav {
18
17
  height: 100%;
19
18
 
@@ -53,7 +52,7 @@ $dbx-sidenav-nav-bottom-padding: 24px;
53
52
  }
54
53
 
55
54
  .mat-sidenav .mat-drawer-inner-container {
56
- overflow-y: scroll !important
55
+ overflow-y: scroll !important;
57
56
  }
58
57
 
59
58
  .dbx-sidenav-nav {
@@ -65,7 +64,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
65
64
  .mat-nav-list.dbx-anchor-list {
66
65
  padding-top: 0;
67
66
  }
68
-
69
67
  }
70
68
 
71
69
  .dbx-sidenav-page {
@@ -77,7 +75,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
77
75
  overflow: auto;
78
76
  }
79
77
  }
80
-
81
78
  }
82
79
 
83
80
  @mixin color($theme-config) {
@@ -110,7 +107,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
110
107
  }
111
108
 
112
109
  .dbx-anchor-active-eq {
113
-
114
110
  .mat-list-item {
115
111
  border-left: $active-border-left-width solid $active-icon-color;
116
112
 
@@ -171,7 +167,8 @@ $dbx-sidenav-nav-bottom-padding: 24px;
171
167
  */
172
168
  }
173
169
 
174
- @mixin typography($typography-config) {}
170
+ @mixin typography($typography-config) {
171
+ }
175
172
 
176
173
  @mixin theme($theme-config) {
177
174
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-sidenav') {
@@ -1,4 +1,4 @@
1
- import { DbxInjectionComponentConfig } from "@dereekb/dbx-core";
1
+ import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
2
2
  export declare abstract class DbxRouterWebProviderConfig {
3
3
  /**
4
4
  * Component used by the Anchor component to render a SegueRef link.
@@ -1,8 +1,8 @@
1
1
  import { Destroyable } from '@dereekb/util';
2
- import { MediaMatcher } from "@angular/cdk/layout";
2
+ import { MediaMatcher } from '@angular/cdk/layout';
3
3
  import { ObservableOrValue } from '@dereekb/rxjs';
4
- import { Observable } from "rxjs";
5
- import { ScreenMediaWidthType, ScreenMediaHeightType } from "./screen";
4
+ import { Observable } from 'rxjs';
5
+ import { ScreenMediaWidthType, ScreenMediaHeightType } from './screen';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * ScreenMediaService configuration.
@@ -1,17 +1,18 @@
1
- @use "sass:map";
1
+ @use 'sass:map';
2
2
  @use './variables';
3
3
 
4
4
  // convenience
5
5
  @function quick-define-dbx-config-via-banners($top-banner: 0px, $bottom-banner: 0px) {
6
- @return ('layout': (
7
- 'top-banner-height': $top-banner,
8
- 'bottom-banner-height': $bottom-banner,
9
- ));
6
+ @return (
7
+ 'layout': (
8
+ 'top-banner-height': $top-banner,
9
+ 'bottom-banner-height': $bottom-banner
10
+ )
11
+ );
10
12
  }
11
13
 
12
14
  // theme
13
15
  @function define-dbx-theme-config($theme-config, $input-dbx-theme-config: null) {
14
-
15
16
  @if ($input-dbx-theme-config == null) {
16
17
  $input-dbx-theme-config: ();
17
18
  }
@@ -27,9 +28,12 @@
27
28
  'layout': $dbx-layout
28
29
  );
29
30
 
30
- @return map.merge($theme-config, (
31
- 'dbx': $dbx-theme-config
32
- ));
31
+ @return map.merge(
32
+ $theme-config,
33
+ (
34
+ 'dbx': $dbx-theme-config
35
+ )
36
+ );
33
37
  }
34
38
 
35
39
  @function get-dbx-theme-config($theme-config) {
@@ -39,11 +43,15 @@
39
43
  // screen
40
44
  @function define-dbx-screen-config($input-dbx-theme-screen-config: null) {
41
45
  $dbx-screen-config: (
42
- 'mobile': 360px, // 0-360px
43
- 'small': 520px, //361-520px
44
- 'medium': 768px, //521-768px
45
- 'large': 1280px, //769-1280px
46
- 'tiny-vertical': 280px //0-280px
46
+ 'mobile': 360px,
47
+ // 0-360px
48
+ 'small': 520px,
49
+ //361-520px
50
+ 'medium': 768px,
51
+ //521-768px
52
+ 'large': 1280px,
53
+ //769-1280px
54
+ 'tiny-vertical': 280px //0-280px
47
55
  );
48
56
 
49
57
  @if ($input-dbx-theme-screen-config != null) {
@@ -64,18 +72,28 @@
64
72
  'top-banner-height': 0px,
65
73
  'bottom-banner-height': 0px,
66
74
  // navbars
67
- 'page-navbar-height': 42px, // initial main navbar height
68
- 'content-navbar-height': 54px, // initial content navbar height
75
+ 'page-navbar-height': 42px,
76
+ // initial main navbar height
77
+ 'content-navbar-height': 54px,
78
+ // initial content navbar height
69
79
  // content
70
- 'box-max-width': 600px, // initial max width of box content, such as popups.
71
- 'content-max-width': 1200px, // initial max width of restricted-width content
80
+ 'box-max-width': 600px,
81
+ // initial max width of box content, such as popups.
82
+ 'content-max-width': 1200px,
83
+ // initial max width of restricted-width content
72
84
  // padding
73
- 'padding-0': 0px, // initial padding-0
74
- 'padding-1': 2px, // initial padding-1
75
- 'padding-2': 6px, // initial padding-2
76
- 'padding-3': 12px, // initial padding-3
77
- 'padding-4': 18px, // initial padding-4
78
- 'padding-5': 24px, // initial padding-5
85
+ 'padding-0': 0px,
86
+ // initial padding-0
87
+ 'padding-1': 2px,
88
+ // initial padding-1
89
+ 'padding-2': 6px,
90
+ // initial padding-2
91
+ 'padding-3': 12px,
92
+ // initial padding-3
93
+ 'padding-4': 18px,
94
+ // initial padding-4
95
+ 'padding-5': 24px,
96
+ // initial padding-5
79
97
  // layout
80
98
  'two-column-left-width': 320px
81
99
  );
@@ -120,7 +138,7 @@
120
138
  }
121
139
 
122
140
  @function get-dbx-layout-padding($theme-config, $padding-level) {
123
- @return get-dbx-layout-config-var($theme-config, 'padding-'+ $padding-level);
141
+ @return get-dbx-layout-config-var($theme-config, 'padding-' + $padding-level);
124
142
  }
125
143
 
126
144
  @function get-dbx-two-column-left-width($theme-config) {
@@ -1,4 +1,4 @@
1
- @use "sass:map";
1
+ @use 'sass:map';
2
2
  @use './all-core';
3
3
  @use './all-typography';
4
4
  @use './root-variables';
@@ -1,4 +1,3 @@
1
-
2
1
  @function vh($from100: 100) {
3
2
  @return calc(var(--vh100) * ($from100 / 100));
4
3
  }
@@ -1,4 +1,4 @@
1
- @use "sass:map";
1
+ @use 'sass:map';
2
2
  @use './config';
3
3
  @use './variables';
4
4
 
@@ -53,8 +53,7 @@
53
53
  @mixin app-height($additionalOffset: 0) {
54
54
  @if $additionalOffset !=0 {
55
55
  height: calc(variables.$app-height - #{$additionalOffset});
56
- }
57
- @else {
56
+ } @else {
58
57
  height: variables.$app-height;
59
58
  }
60
59
  }
@@ -65,8 +64,7 @@
65
64
  @mixin page-height($additionalOffset: 0) {
66
65
  @if $additionalOffset !=0 {
67
66
  height: calc(variables.$page-height - #{$additionalOffset});
68
- }
69
- @else {
67
+ } @else {
70
68
  height: variables.$page-height;
71
69
  }
72
70
  }
@@ -77,8 +75,7 @@
77
75
  @mixin content-height($additionalOffset: 0) {
78
76
  @if $additionalOffset !=0 {
79
77
  height: calc(variables.$content-height - #{$additionalOffset});
80
- }
81
- @else {
78
+ } @else {
82
79
  height: variables.$content-height;
83
80
  }
84
81
  }
@@ -6,7 +6,6 @@
6
6
  $initial-bottom-banner-height: theming.get-dbx-layout-bottom-banner-height($theme-config);
7
7
 
8
8
  #{$root-selector} {
9
-
10
9
  // variables
11
10
  #{theming.$top-banner-height-var}: $initial-top-banner-height;
12
11
  #{theming.$bottom-banner-height-var}: $initial-bottom-banner-height;
@@ -33,5 +32,4 @@
33
32
  overflow: hidden;
34
33
  }
35
34
  }
36
-
37
35
  }