@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.
- package/README.md +4 -5
- package/_index.scss +27 -0
- package/esm2020/index.mjs +1 -2
- package/esm2020/lib/action/action.confirm.directive.mjs +5 -5
- package/esm2020/lib/action/action.module.mjs +35 -35
- package/esm2020/lib/action/action.snackbar.component.mjs +10 -11
- package/esm2020/lib/action/key.trigger.directive.mjs +5 -5
- package/esm2020/lib/action/transition/action.transition.module.mjs +29 -29
- package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +18 -18
- package/esm2020/lib/action/transition/transition.safety.directive.mjs +20 -38
- package/esm2020/lib/button/button.component.mjs +19 -19
- package/esm2020/lib/button/button.module.mjs +21 -27
- package/esm2020/lib/button/button.spacer.component.mjs +6 -7
- package/esm2020/lib/dbx-web.module.mjs +28 -30
- package/esm2020/lib/error/error.action.directive.mjs +7 -7
- package/esm2020/lib/error/error.component.mjs +5 -5
- package/esm2020/lib/error/error.loading.directive.mjs +7 -7
- package/esm2020/lib/error/error.module.mjs +19 -19
- package/esm2020/lib/index.mjs +3 -2
- package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +20 -11
- package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +25 -0
- package/esm2020/lib/interaction/dialog/dialog.module.mjs +33 -0
- package/esm2020/lib/interaction/dialog/index.mjs +3 -1
- package/esm2020/lib/interaction/filter/filter.module.mjs +62 -0
- package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +32 -0
- package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +38 -0
- package/esm2020/lib/interaction/filter/filter.popover.component.mjs +90 -0
- package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +33 -0
- package/esm2020/lib/interaction/filter/index.mjs +6 -0
- package/esm2020/lib/interaction/index.mjs +3 -1
- package/esm2020/lib/interaction/interaction.module.mjs +33 -0
- package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +8 -8
- package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +6 -6
- package/esm2020/lib/interaction/popover/index.mjs +3 -2
- package/esm2020/lib/interaction/popover/popover.action.button.directive.mjs +10 -10
- package/esm2020/lib/interaction/popover/popover.action.directive.mjs +5 -5
- package/esm2020/lib/interaction/popover/popover.component.mjs +24 -35
- package/esm2020/lib/interaction/popover/popover.content.component.mjs +13 -21
- package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +28 -0
- package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +8 -8
- package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +5 -5
- package/esm2020/lib/interaction/popover/popover.header.component.mjs +10 -11
- package/esm2020/lib/interaction/popover/popover.mjs +2 -2
- package/esm2020/lib/interaction/popover/popover.module.mjs +71 -63
- package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +12 -18
- package/esm2020/lib/interaction/popover/popover.service.mjs +7 -7
- package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +6 -6
- package/esm2020/lib/interaction/popup/index.mjs +2 -1
- package/esm2020/lib/interaction/popup/popup.component.mjs +27 -42
- package/esm2020/lib/interaction/popup/popup.content.component.mjs +13 -15
- package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +13 -15
- package/esm2020/lib/interaction/popup/popup.controls.component.mjs +9 -11
- package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +9 -10
- package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +5 -5
- package/esm2020/lib/interaction/popup/popup.mjs +8 -8
- package/esm2020/lib/interaction/popup/popup.module.mjs +54 -46
- package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +8 -12
- package/esm2020/lib/interaction/popup/popup.service.mjs +9 -8
- package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +10 -22
- package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +9 -9
- package/esm2020/lib/interaction/prompt/prompt.component.mjs +24 -9
- package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +11 -11
- package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +40 -15
- package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +14 -24
- package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +6 -5
- package/esm2020/lib/interaction/prompt/prompt.module.mjs +61 -52
- package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +20 -22
- package/esm2020/lib/keypress/keydown.listener.directive.mjs +5 -5
- package/esm2020/lib/keypress/keypress.module.mjs +9 -9
- package/esm2020/lib/layout/bar/bar.directive.mjs +24 -0
- package/esm2020/lib/layout/bar/bar.header.component.mjs +39 -0
- package/esm2020/lib/layout/bar/bar.layout.module.mjs +47 -0
- package/esm2020/lib/layout/bar/bar.mjs +2 -0
- package/esm2020/lib/layout/bar/index.mjs +5 -0
- package/esm2020/lib/layout/bar/pagebar.component.mjs +15 -0
- package/esm2020/lib/layout/block/block.layout.module.mjs +14 -14
- package/esm2020/lib/layout/block/two.block.component.mjs +5 -5
- package/esm2020/lib/layout/card/card.box.component.mjs +5 -5
- package/esm2020/lib/layout/card/card.box.container.component.mjs +5 -5
- package/esm2020/lib/layout/card/card.box.layout.module.mjs +15 -15
- package/esm2020/lib/layout/column/column.layout.module.mjs +12 -12
- package/esm2020/lib/layout/column/one/one.column.component.mjs +6 -6
- package/esm2020/lib/layout/column/one/one.column.module.mjs +13 -13
- package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +6 -6
- package/esm2020/lib/layout/column/two/two.column.component.mjs +5 -5
- package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +6 -6
- package/esm2020/lib/layout/column/two/two.column.head.component.mjs +5 -5
- package/esm2020/lib/layout/column/two/two.column.module.mjs +42 -42
- package/esm2020/lib/layout/column/two/two.column.right.component.mjs +6 -6
- package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +6 -6
- package/esm2020/lib/layout/column/two/two.column.store.mjs +3 -3
- package/esm2020/lib/layout/compact/compact.directive.mjs +5 -5
- package/esm2020/lib/layout/compact/compact.layout.module.mjs +9 -9
- package/esm2020/lib/layout/compact/compact.store.mjs +3 -3
- package/esm2020/lib/layout/content/content.border.directive.mjs +19 -0
- package/esm2020/lib/layout/content/content.box.directive.mjs +25 -0
- package/esm2020/lib/layout/content/content.container.directive.mjs +28 -0
- package/esm2020/lib/layout/content/content.directive.mjs +19 -0
- package/esm2020/lib/layout/content/content.elevate.directive.mjs +19 -0
- package/esm2020/lib/layout/content/content.layout.module.mjs +34 -24
- package/esm2020/lib/layout/content/content.page.directive.mjs +19 -0
- package/esm2020/lib/layout/content/index.mjs +7 -5
- package/esm2020/lib/layout/flag/flag.component.mjs +5 -5
- package/esm2020/lib/layout/flag/flag.layout.module.mjs +15 -15
- package/esm2020/lib/layout/flag/flag.prompt.component.mjs +6 -6
- package/esm2020/lib/layout/flex/flex.group.directive.mjs +53 -0
- package/esm2020/lib/layout/flex/flex.layout.module.mjs +31 -0
- package/esm2020/lib/layout/flex/flex.mjs +2 -0
- package/esm2020/lib/layout/flex/flex.size.directive.mjs +25 -0
- package/esm2020/lib/layout/flex/index.mjs +5 -0
- package/esm2020/lib/layout/index.mjs +5 -2
- package/esm2020/lib/layout/item/item.icon.component.mjs +5 -5
- package/esm2020/lib/layout/item/item.layout.module.mjs +10 -10
- package/esm2020/lib/layout/layout.module.mjs +60 -48
- package/esm2020/lib/layout/list/index.mjs +12 -2
- package/esm2020/lib/layout/list/list.component.mjs +232 -0
- package/esm2020/lib/layout/list/list.content.empty.component.mjs +26 -0
- package/esm2020/lib/layout/list/list.directive.mjs +78 -0
- package/esm2020/lib/layout/list/list.layout.module.mjs +56 -11
- package/esm2020/lib/layout/list/list.view.directive.mjs +50 -0
- package/esm2020/lib/layout/list/list.view.mjs +13 -0
- package/esm2020/lib/layout/list/list.view.selection.directive.mjs +32 -0
- package/esm2020/lib/layout/list/list.view.value.component.mjs +61 -0
- package/esm2020/lib/layout/list/list.view.value.directive.mjs +35 -0
- package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +20 -0
- package/esm2020/lib/layout/list/list.view.value.mjs +30 -0
- package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +88 -0
- package/esm2020/lib/layout/section/index.mjs +3 -4
- package/esm2020/lib/layout/section/section.component.mjs +21 -32
- package/esm2020/lib/layout/section/section.header.component.mjs +79 -0
- package/esm2020/lib/layout/section/section.intro.component.mjs +7 -8
- package/esm2020/lib/layout/section/section.layout.module.mjs +34 -44
- package/esm2020/lib/layout/section/section.mjs +2 -0
- package/esm2020/lib/layout/section/section.page.component.mjs +17 -30
- package/esm2020/lib/layout/section/subsection.component.mjs +16 -14
- package/esm2020/lib/layout/step/step.component.mjs +5 -5
- package/esm2020/lib/layout/step/step.layout.module.mjs +10 -10
- package/esm2020/lib/layout/style/index.mjs +7 -0
- package/esm2020/lib/layout/style/spacer.directive.mjs +16 -0
- package/esm2020/lib/layout/style/style.body.directive.mjs +35 -0
- package/esm2020/lib/layout/style/style.directive.mjs +32 -0
- package/esm2020/lib/layout/style/style.layout.module.mjs +41 -0
- package/esm2020/lib/layout/style/style.service.mjs +76 -0
- package/esm2020/lib/layout/style/style.set.directive.mjs +69 -0
- package/esm2020/lib/layout/text/hint.component.mjs +17 -0
- package/esm2020/lib/layout/text/index.mjs +11 -0
- package/esm2020/lib/layout/text/label.component.mjs +17 -0
- package/esm2020/lib/layout/text/linkify.component.mjs +47 -0
- package/esm2020/lib/layout/text/note.component.mjs +17 -0
- package/esm2020/lib/layout/text/notice.component.mjs +17 -0
- package/esm2020/lib/layout/text/ok.component.mjs +17 -0
- package/esm2020/lib/layout/text/success.component.mjs +17 -0
- package/esm2020/lib/layout/text/text.chips.component.mjs +31 -0
- package/esm2020/lib/layout/text/text.module.mjs +78 -0
- package/esm2020/lib/layout/text/warn.component.mjs +17 -0
- package/esm2020/lib/loading/basic-loading.component.mjs +6 -6
- package/esm2020/lib/loading/loading-progress.component.mjs +5 -5
- package/esm2020/lib/loading/loading.component.mjs +6 -6
- package/esm2020/lib/loading/loading.module.mjs +27 -27
- package/esm2020/lib/router/index.mjs +2 -2
- package/esm2020/lib/router/layout/anchor/anchor.component.mjs +50 -0
- package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +30 -0
- package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +49 -0
- package/esm2020/lib/router/layout/anchor/anchor.module.mjs +48 -0
- package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +29 -0
- package/esm2020/lib/router/layout/anchor/index.mjs +6 -0
- package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +34 -0
- package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +50 -0
- package/esm2020/lib/router/layout/anchorlist/index.mjs +3 -0
- package/esm2020/lib/router/layout/index.mjs +6 -0
- package/esm2020/lib/router/layout/layout.module.mjs +29 -0
- package/esm2020/lib/router/layout/navbar/index.mjs +3 -0
- package/esm2020/lib/router/layout/navbar/navbar.component.mjs +75 -0
- package/esm2020/lib/router/layout/navbar/navbar.module.mjs +46 -0
- package/esm2020/lib/router/layout/sidenav/index.mjs +9 -0
- package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +39 -0
- package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +133 -0
- package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +89 -0
- package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +59 -0
- package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +39 -0
- package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +7 -7
- package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +17 -17
- package/esm2020/lib/router/provider/router.provider.config.mjs +2 -2
- package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +7 -7
- package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +17 -17
- package/esm2020/lib/screen/index.mjs +4 -0
- package/esm2020/lib/screen/screen.mjs +22 -0
- package/esm2020/lib/screen/screen.module.mjs +24 -0
- package/esm2020/lib/screen/screen.service.mjs +94 -0
- package/fesm2015/dereekb-dbx-web.mjs +5517 -3691
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +5565 -3740
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/lib/action/_action.scss +40 -0
- package/lib/action/action.confirm.directive.d.ts +5 -5
- package/lib/action/action.module.d.ts +4 -4
- package/lib/action/action.snackbar.component.d.ts +7 -7
- package/lib/action/key.trigger.directive.d.ts +3 -3
- package/lib/action/transition/action.transition.module.d.ts +5 -5
- package/lib/action/transition/transition.safety.dialog.component.d.ts +7 -7
- package/lib/action/transition/transition.safety.directive.d.ts +14 -23
- package/lib/button/_button.scss +32 -0
- package/lib/button/button.component.d.ts +6 -6
- package/lib/button/button.module.d.ts +6 -8
- package/lib/button/button.spacer.component.d.ts +3 -3
- package/lib/dbx-web.module.d.ts +15 -10
- package/lib/error/_error.scss +26 -0
- package/lib/error/error.action.directive.d.ts +6 -6
- package/lib/error/error.component.d.ts +3 -3
- package/lib/error/error.loading.directive.d.ts +6 -6
- package/lib/error/error.module.d.ts +4 -4
- package/lib/index.d.ts +2 -1
- package/lib/interaction/_interaction.scss +33 -0
- package/lib/interaction/dialog/_dialog.scss +26 -0
- package/lib/interaction/dialog/abstract.dialog.directive.d.ts +7 -5
- package/lib/interaction/dialog/dialog.content.component.d.ts +10 -0
- package/lib/interaction/dialog/dialog.module.d.ts +12 -0
- package/lib/interaction/dialog/index.d.ts +2 -0
- package/lib/interaction/filter/_filter.scss +25 -0
- package/lib/interaction/filter/filter.module.d.ts +15 -0
- package/lib/interaction/filter/filter.popover.button.component.d.ts +9 -0
- package/lib/interaction/filter/filter.popover.button.directive.d.ts +17 -0
- package/lib/interaction/filter/filter.popover.component.d.ts +53 -0
- package/lib/interaction/filter/filter.wrapper.component.d.ts +14 -0
- package/lib/interaction/filter/index.d.ts +5 -0
- package/lib/interaction/index.d.ts +2 -0
- package/lib/interaction/interaction.module.d.ts +11 -0
- package/lib/interaction/popover/_popover.scss +110 -0
- package/lib/interaction/popover/abstract.popover.directive.d.ts +6 -6
- package/lib/interaction/popover/index.d.ts +2 -1
- package/lib/interaction/popover/popover.action.button.directive.d.ts +8 -8
- package/lib/interaction/popover/popover.action.directive.d.ts +8 -8
- package/lib/interaction/popover/popover.component.d.ts +15 -17
- package/lib/interaction/popover/popover.content.component.d.ts +3 -4
- package/lib/interaction/popover/popover.controls.directive.d.ts +10 -0
- package/lib/interaction/popover/popover.coordinator.component.d.ts +6 -6
- package/lib/interaction/popover/popover.coordinator.service.d.ts +8 -8
- package/lib/interaction/popover/popover.d.ts +3 -3
- package/lib/interaction/popover/popover.header.component.d.ts +5 -5
- package/lib/interaction/popover/popover.module.d.ts +11 -9
- package/lib/interaction/popover/popover.scroll.content.component.d.ts +6 -6
- package/lib/interaction/popover/popover.service.d.ts +6 -6
- package/lib/interaction/popup/_popup.scss +82 -0
- package/lib/interaction/popup/abstract.popup.directive.d.ts +4 -4
- package/lib/interaction/popup/index.d.ts +1 -0
- package/lib/interaction/popup/popup.component.d.ts +15 -18
- package/lib/interaction/popup/popup.content.component.d.ts +5 -5
- package/lib/interaction/popup/popup.controls.buttons.component.d.ts +5 -5
- package/lib/interaction/popup/popup.controls.component.d.ts +3 -3
- package/lib/interaction/popup/popup.coordinator.component.d.ts +6 -6
- package/lib/interaction/popup/popup.coordinator.service.d.ts +8 -8
- package/lib/interaction/popup/popup.d.ts +5 -5
- package/lib/interaction/popup/popup.module.d.ts +9 -7
- package/lib/interaction/popup/popup.position.strategy.d.ts +1 -5
- package/lib/interaction/popup/popup.service.d.ts +6 -6
- package/lib/interaction/prompt/_prompt.scss +46 -0
- package/lib/interaction/prompt/prompt.box.component.d.ts +3 -5
- package/lib/interaction/prompt/prompt.button.confirm.directive.d.ts +8 -8
- package/lib/interaction/prompt/prompt.component.d.ts +3 -4
- package/lib/interaction/prompt/prompt.confirm.component.d.ts +8 -8
- package/lib/interaction/prompt/prompt.confirm.d.ts +2 -2
- package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +17 -6
- package/lib/interaction/prompt/prompt.confirm.directive.d.ts +11 -14
- package/lib/interaction/prompt/prompt.module.d.ts +9 -7
- package/lib/interaction/prompt/prompt.page.component.d.ts +3 -3
- package/lib/interaction/style/_style.scss +47 -0
- package/lib/keypress/keydown.listener.directive.d.ts +3 -3
- package/lib/keypress/keypress.module.d.ts +4 -4
- package/lib/layout/_layout.scss +61 -0
- package/lib/layout/bar/_bar.scss +81 -0
- package/lib/layout/bar/bar.d.ts +1 -0
- package/lib/layout/bar/bar.directive.d.ts +11 -0
- package/lib/layout/bar/bar.header.component.d.ts +13 -0
- package/lib/layout/bar/bar.layout.module.d.ts +15 -0
- package/lib/layout/bar/index.d.ts +4 -0
- package/lib/layout/bar/pagebar.component.d.ts +8 -0
- package/lib/layout/block/_block.scss +39 -0
- package/lib/layout/block/block.layout.module.d.ts +5 -5
- package/lib/layout/block/two.block.component.d.ts +3 -3
- package/lib/layout/card/_card.scss +26 -0
- package/lib/layout/card/card.box.component.d.ts +3 -3
- package/lib/layout/card/card.box.container.component.d.ts +3 -3
- package/lib/layout/card/card.box.layout.module.d.ts +4 -4
- package/lib/layout/column/_column.scss +26 -0
- package/lib/layout/column/column.layout.module.d.ts +4 -4
- package/lib/layout/column/one/one.column.component.d.ts +3 -3
- package/lib/layout/column/one/one.column.module.d.ts +4 -4
- package/lib/layout/column/two/two.column.back.directive.d.ts +4 -4
- package/lib/layout/column/two/two.column.component.d.ts +3 -3
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +4 -4
- package/lib/layout/column/two/two.column.head.component.d.ts +3 -3
- package/lib/layout/column/two/two.column.module.d.ts +5 -5
- package/lib/layout/column/two/two.column.right.component.d.ts +3 -3
- package/lib/layout/column/two/two.column.sref.directive.d.ts +4 -4
- package/lib/layout/column/two.scss +114 -0
- package/lib/layout/compact/compact.directive.d.ts +3 -3
- package/lib/layout/compact/compact.layout.module.d.ts +4 -4
- package/lib/layout/content/_content.scss +136 -0
- package/lib/layout/content/content.border.directive.d.ts +8 -0
- package/lib/layout/content/content.box.directive.d.ts +9 -0
- package/lib/layout/content/content.container.directive.d.ts +12 -0
- package/lib/layout/content/content.directive.d.ts +8 -0
- package/lib/layout/content/content.elevate.directive.d.ts +8 -0
- package/lib/layout/content/content.layout.module.d.ts +11 -9
- package/lib/layout/content/content.page.directive.d.ts +8 -0
- package/lib/layout/content/index.d.ts +6 -4
- package/lib/layout/flag/_flag.scss +26 -0
- package/lib/layout/flag/flag.component.d.ts +3 -3
- package/lib/layout/flag/flag.layout.module.d.ts +4 -4
- package/lib/layout/flag/flag.prompt.component.d.ts +3 -3
- package/lib/layout/flex/_flex.scss +76 -0
- package/lib/layout/flex/flex.d.ts +4 -0
- package/lib/layout/flex/flex.group.directive.d.ts +24 -0
- package/lib/layout/flex/flex.layout.module.d.ts +9 -0
- package/lib/layout/flex/flex.size.directive.d.ts +10 -0
- package/lib/layout/flex/index.d.ts +4 -0
- package/lib/layout/index.d.ts +4 -1
- package/lib/layout/item/_item.scss +26 -0
- package/lib/layout/item/item.icon.component.d.ts +3 -3
- package/lib/layout/item/item.layout.module.d.ts +4 -4
- package/lib/layout/layout.module.d.ts +17 -14
- package/lib/layout/list/_list.scss +72 -0
- package/lib/layout/list/index.d.ts +11 -1
- package/lib/layout/list/list.component.d.ts +115 -0
- package/lib/layout/list/list.content.empty.component.d.ts +8 -0
- package/lib/layout/list/list.directive.d.ts +35 -0
- package/lib/layout/list/list.layout.module.d.ts +15 -6
- package/lib/layout/list/list.view.d.ts +45 -0
- package/lib/layout/list/list.view.directive.d.ts +26 -0
- package/lib/layout/list/list.view.selection.directive.d.ts +15 -0
- package/lib/layout/list/list.view.value.component.d.ts +15 -0
- package/lib/layout/list/list.view.value.d.ts +21 -0
- package/lib/layout/list/list.view.value.directive.d.ts +21 -0
- package/lib/layout/list/list.view.value.item.directive.d.ts +9 -0
- package/lib/layout/list/list.view.value.selection.component.d.ts +32 -0
- package/lib/layout/section/_section.scss +116 -0
- package/lib/layout/section/index.d.ts +2 -3
- package/lib/layout/section/section.component.d.ts +5 -7
- package/lib/layout/section/section.d.ts +1 -0
- package/lib/layout/section/section.header.component.d.ts +14 -0
- package/lib/layout/section/section.intro.component.d.ts +4 -4
- package/lib/layout/section/section.layout.module.d.ts +14 -16
- package/lib/layout/section/section.page.component.d.ts +4 -5
- package/lib/layout/section/subsection.component.d.ts +5 -5
- package/lib/layout/step/_step.scss +59 -0
- package/lib/layout/step/step.component.d.ts +3 -3
- package/lib/layout/step/step.layout.module.d.ts +4 -4
- package/lib/layout/style/_style.scss +101 -0
- package/lib/layout/style/index.d.ts +6 -0
- package/lib/layout/style/spacer.directive.d.ts +5 -0
- package/lib/layout/style/style.body.directive.d.ts +16 -0
- package/lib/layout/style/style.directive.d.ts +15 -0
- package/lib/layout/style/style.layout.module.d.ts +11 -0
- package/lib/layout/style/style.service.d.ts +37 -0
- package/lib/layout/style/style.set.directive.d.ts +31 -0
- package/lib/layout/text/_text.scss +97 -0
- package/lib/layout/text/hint.component.d.ts +5 -0
- package/lib/{text → layout/text}/index.d.ts +0 -2
- package/lib/layout/text/label.component.d.ts +5 -0
- package/lib/{text → layout/text}/linkify.component.d.ts +3 -3
- package/lib/layout/text/note.component.d.ts +5 -0
- package/lib/layout/text/notice.component.d.ts +5 -0
- package/lib/layout/text/ok.component.d.ts +5 -0
- package/lib/layout/text/success.component.d.ts +5 -0
- package/lib/layout/text/text.chips.component.d.ts +13 -0
- package/lib/layout/text/text.module.d.ts +19 -0
- package/lib/layout/text/warn.component.d.ts +5 -0
- package/lib/loading/basic-loading.component.d.ts +4 -4
- package/lib/loading/loading-progress.component.d.ts +3 -3
- package/lib/loading/loading.component.d.ts +5 -5
- package/lib/loading/loading.module.d.ts +5 -5
- package/lib/router/_router.scss +25 -0
- package/lib/router/index.d.ts +1 -1
- package/lib/router/layout/anchor/_anchor.scss +37 -0
- package/lib/router/{anchor → layout/anchor}/anchor.component.d.ts +7 -8
- package/lib/router/layout/anchor/anchor.icon.component.d.ts +11 -0
- package/lib/router/layout/anchor/anchor.link.component.d.ts +13 -0
- package/lib/router/layout/anchor/anchor.module.d.ts +13 -0
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +19 -0
- package/lib/router/{anchor → layout/anchor}/index.d.ts +1 -0
- package/lib/router/layout/anchorlist/_anchorlist.scss +95 -0
- package/lib/router/layout/anchorlist/anchorlist.component.d.ts +15 -0
- package/lib/router/layout/anchorlist/anchorlist.module.d.ts +14 -0
- package/lib/router/layout/anchorlist/index.d.ts +2 -0
- package/lib/router/layout/index.d.ts +5 -0
- package/lib/router/layout/layout.module.d.ts +10 -0
- package/lib/router/layout/navbar/_navbar.scss +27 -0
- package/lib/router/layout/navbar/index.d.ts +2 -0
- package/lib/router/layout/navbar/navbar.component.d.ts +37 -0
- package/lib/router/layout/navbar/navbar.module.d.ts +13 -0
- package/lib/router/layout/sidenav/_sidenav.scss +189 -0
- package/lib/router/layout/sidenav/index.d.ts +5 -0
- package/lib/router/layout/sidenav/sidenav.button.component.d.ts +14 -0
- package/lib/router/layout/sidenav/sidenav.component.d.ts +42 -0
- package/lib/router/layout/sidenav/sidenav.module.d.ts +23 -0
- package/lib/router/layout/sidenav/sidenav.page.component.d.ts +20 -0
- package/lib/router/layout/sidenav/sidenav.pagebar.component.d.ts +9 -0
- package/lib/router/provider/ngrouter/anchor.component.d.ts +4 -4
- package/lib/router/provider/ngrouter/angular.router.module.d.ts +5 -5
- package/lib/router/provider/router.provider.config.d.ts +3 -3
- package/lib/router/provider/uirouter/anchor.component.d.ts +4 -4
- package/lib/router/provider/uirouter/uirouter.router.module.d.ts +5 -5
- package/lib/screen/index.d.ts +3 -0
- package/lib/screen/screen.d.ts +36 -0
- package/lib/screen/screen.module.d.ts +9 -0
- package/lib/screen/screen.service.d.ts +60 -0
- package/lib/style/_all-core.scss +14 -0
- package/lib/style/_all-theme.scss +15 -0
- package/lib/style/_all-typography.scss +15 -0
- package/lib/style/_config.scss +122 -0
- package/lib/style/_core.scss +17 -0
- package/lib/style/_mixin.scss +99 -0
- package/lib/style/_root-variables.scss +35 -0
- package/lib/style/_theming.scss +19 -0
- package/lib/style/_variables.scss +45 -0
- package/package.json +35 -34
- package/esm2020/lib/interaction/popover/popover.controls.component.mjs +0 -35
- package/esm2020/lib/layout/content/content.bordered.component.mjs +0 -26
- package/esm2020/lib/layout/content/content.component.mjs +0 -32
- package/esm2020/lib/layout/content/content.container.component.mjs +0 -66
- package/esm2020/lib/layout/content/content.container.fullwidth.component.mjs +0 -26
- package/esm2020/lib/layout/dialog/dialog.content.component.mjs +0 -37
- package/esm2020/lib/layout/dialog/dialog.layout.module.mjs +0 -29
- package/esm2020/lib/layout/dialog/index.mjs +0 -3
- package/esm2020/lib/layout/list/list.empty.component.mjs +0 -26
- package/esm2020/lib/layout/section/section.box.anchor.component.mjs +0 -39
- package/esm2020/lib/layout/section/section.box.component.mjs +0 -32
- package/esm2020/lib/layout/section/section.elevated.component.mjs +0 -26
- package/esm2020/lib/router/anchor/anchor.component.mjs +0 -50
- package/esm2020/lib/router/anchor/anchor.icon.component.mjs +0 -30
- package/esm2020/lib/router/anchor/anchor.module.mjs +0 -43
- package/esm2020/lib/router/anchor/anchor.segue.directive.mjs +0 -32
- package/esm2020/lib/router/anchor/index.mjs +0 -5
- package/esm2020/lib/text/hint.component.mjs +0 -15
- package/esm2020/lib/text/index.mjs +0 -13
- package/esm2020/lib/text/label.bar.component.mjs +0 -32
- package/esm2020/lib/text/label.component.mjs +0 -18
- package/esm2020/lib/text/link.component.mjs +0 -36
- package/esm2020/lib/text/linkify.component.mjs +0 -48
- package/esm2020/lib/text/note.component.mjs +0 -15
- package/esm2020/lib/text/notice.component.mjs +0 -15
- package/esm2020/lib/text/ok.component.mjs +0 -15
- package/esm2020/lib/text/success.component.mjs +0 -15
- package/esm2020/lib/text/text.chips.component.mjs +0 -32
- package/esm2020/lib/text/text.module.mjs +0 -92
- package/esm2020/lib/text/warn.component.mjs +0 -15
- package/lib/interaction/popover/popover.controls.component.d.ts +0 -10
- package/lib/layout/content/content.bordered.component.d.ts +0 -8
- package/lib/layout/content/content.component.d.ts +0 -9
- package/lib/layout/content/content.container.component.d.ts +0 -34
- package/lib/layout/content/content.container.fullwidth.component.d.ts +0 -8
- package/lib/layout/dialog/dialog.content.component.d.ts +0 -13
- package/lib/layout/dialog/dialog.layout.module.d.ts +0 -11
- package/lib/layout/dialog/index.d.ts +0 -2
- package/lib/layout/list/list.empty.component.d.ts +0 -8
- package/lib/layout/section/section.box.anchor.component.d.ts +0 -11
- package/lib/layout/section/section.box.component.d.ts +0 -9
- package/lib/layout/section/section.elevated.component.d.ts +0 -8
- package/lib/router/anchor/anchor.icon.component.d.ts +0 -11
- package/lib/router/anchor/anchor.module.d.ts +0 -12
- package/lib/router/anchor/anchor.segue.directive.d.ts +0 -20
- package/lib/text/hint.component.d.ts +0 -5
- package/lib/text/label.bar.component.d.ts +0 -10
- package/lib/text/label.component.d.ts +0 -8
- package/lib/text/link.component.d.ts +0 -9
- package/lib/text/note.component.d.ts +0 -5
- package/lib/text/notice.component.d.ts +0 -5
- package/lib/text/ok.component.d.ts +0 -5
- package/lib/text/success.component.d.ts +0 -5
- package/lib/text/text.chips.component.d.ts +0 -13
- package/lib/text/text.module.d.ts +0 -22
- package/lib/text/warn.component.d.ts +0 -5
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '../../../style/theming';
|
|
4
|
+
|
|
5
|
+
// MARK: Variables
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
// MARK: Mixin
|
|
9
|
+
@mixin core() {}
|
|
10
|
+
|
|
11
|
+
@mixin color($theme-config) {}
|
|
12
|
+
|
|
13
|
+
@mixin typography($typography-config) {}
|
|
14
|
+
|
|
15
|
+
@mixin theme($theme-config) {
|
|
16
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-navbar') {
|
|
17
|
+
$color: theming.get-color-config($theme-config);
|
|
18
|
+
$typography: theming.get-typography-config($theme-config);
|
|
19
|
+
|
|
20
|
+
@if $color != null {
|
|
21
|
+
@include color($theme-config);
|
|
22
|
+
}
|
|
23
|
+
@if $typography != null {
|
|
24
|
+
@include typography($typography);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ScreenMediaWidthType } from './../../../screen/screen';
|
|
3
|
+
import { DbxScreenMediaService } from '../../../screen/screen.service';
|
|
4
|
+
import { Maybe } from '@dereekb/util';
|
|
5
|
+
import { OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
6
|
+
import { ClickableAnchorLink, DbxRouterService, DbxRouterTransitionService, AbstractTransitionDirective } from '@dereekb/dbx-core';
|
|
7
|
+
import { HorizontalConnectionPos } from '@angular/cdk/overlay';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
interface NavAnchorLink {
|
|
10
|
+
selected: boolean;
|
|
11
|
+
anchor: ClickableAnchorLink;
|
|
12
|
+
}
|
|
13
|
+
export declare type NavBarContentAlign = 'center' | 'left' | 'right';
|
|
14
|
+
export declare type NavbarMode = 'bar' | 'button';
|
|
15
|
+
/**
|
|
16
|
+
* Component that displays a navbar.
|
|
17
|
+
*/
|
|
18
|
+
export declare class DbxNavbarComponent extends AbstractTransitionDirective implements OnDestroy {
|
|
19
|
+
private cdRef;
|
|
20
|
+
private readonly _dbxScreenMediaService;
|
|
21
|
+
private readonly _dbxRouterService;
|
|
22
|
+
navAlign: HorizontalConnectionPos;
|
|
23
|
+
private _inputMode;
|
|
24
|
+
private _breakpoint;
|
|
25
|
+
private _anchors;
|
|
26
|
+
readonly isBreakpointActive$: Observable<boolean>;
|
|
27
|
+
readonly mode$: Observable<NavbarMode>;
|
|
28
|
+
readonly anchors$: Observable<NavAnchorLink[]>;
|
|
29
|
+
constructor(dbxRouterTransitionService: DbxRouterTransitionService, cdRef: ChangeDetectorRef, _dbxScreenMediaService: DbxScreenMediaService, _dbxRouterService: DbxRouterService);
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
set anchors(anchors: Maybe<ClickableAnchorLink[]>);
|
|
32
|
+
set mode(mode: Maybe<NavbarMode>);
|
|
33
|
+
set breakpoint(breakpoint: ScreenMediaWidthType);
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxNavbarComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxNavbarComponent, "dbx-navbar", never, { "navAlign": "navAlign"; "anchors": "anchors"; "mode": "mode"; "breakpoint": "breakpoint"; }, {}, never, never>;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./navbar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/tabs";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@angular/material/menu";
|
|
8
|
+
import * as i7 from "../anchor/anchor.module";
|
|
9
|
+
export declare class DbxNavbarModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxNavbarModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxNavbarModule, [typeof i1.DbxNavbarComponent], [typeof i2.CommonModule, typeof i3.MatTabsModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.MatMenuModule, typeof i7.DbxAnchorModule], [typeof i1.DbxNavbarComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxNavbarModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '../../../style/theming';
|
|
4
|
+
@use '../anchorlist/anchorlist';
|
|
5
|
+
|
|
6
|
+
// MARK: Variables
|
|
7
|
+
$width: 240px;
|
|
8
|
+
$mobile-width: 80vw;
|
|
9
|
+
$icon-only-width: 65px;
|
|
10
|
+
$mat-list-item-height: 48px;
|
|
11
|
+
$active-border-left-width: 2px;
|
|
12
|
+
$dbx-sidenav-nav-bottom-padding: 24px;
|
|
13
|
+
|
|
14
|
+
// MARK: Mixin
|
|
15
|
+
@mixin core() {
|
|
16
|
+
|
|
17
|
+
.dbx-sidenav {
|
|
18
|
+
height: 100%;
|
|
19
|
+
|
|
20
|
+
mat-sidenav {
|
|
21
|
+
width: $width;
|
|
22
|
+
|
|
23
|
+
.mat-drawer-inner-container {
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
padding-bottom: 24px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.dbx-sidenav-mobile {
|
|
30
|
+
mat-sidenav {
|
|
31
|
+
width: $mobile-width;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.dbx-sidenav-icon {
|
|
36
|
+
mat-sidenav {
|
|
37
|
+
width: $icon-only-width;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
mat-sidenav-content {
|
|
41
|
+
margin-left: $icon-only-width;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.dbx-sidenav-full {
|
|
46
|
+
mat-sidenav {
|
|
47
|
+
width: $width;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
mat-sidenav-content {
|
|
51
|
+
margin-left: $width;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.mat-sidenav .mat-drawer-inner-container {
|
|
56
|
+
overflow-y: scroll !important
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.dbx-sidenav-nav {
|
|
60
|
+
.dbx-sidenav-nav-end {
|
|
61
|
+
padding-bottom: $dbx-sidenav-nav-bottom-padding;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.mat-nav-list.dbx-anchor-list {
|
|
66
|
+
padding-top: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.dbx-sidenav-page {
|
|
72
|
+
height: 100%;
|
|
73
|
+
max-height: 100%;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
|
|
76
|
+
.dbx-sidenav-page-content {
|
|
77
|
+
overflow: auto;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@mixin color($theme-config) {
|
|
84
|
+
$color-config: theming.get-color-config($theme-config);
|
|
85
|
+
$primary: map.get($color-config, 'primary');
|
|
86
|
+
$accent: map.get($color-config, 'accent');
|
|
87
|
+
|
|
88
|
+
$background: map.get($color-config, 'background');
|
|
89
|
+
$inactive-text-color: theming.get-color-from-palette($primary, '800-contrast');
|
|
90
|
+
$active-icon-color: theming.get-color-from-palette($accent, 400);
|
|
91
|
+
|
|
92
|
+
.dbx-sidenav {
|
|
93
|
+
mat-sidenav {
|
|
94
|
+
background-color: theming.get-color-from-palette($primary, 800);
|
|
95
|
+
|
|
96
|
+
.mat-drawer-inner-container {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
height: 100%;
|
|
101
|
+
min-height: 320px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.dbx-anchor-list.mat-nav-list {
|
|
105
|
+
color: $inactive-text-color;
|
|
106
|
+
|
|
107
|
+
.mat-list-item {
|
|
108
|
+
color: $inactive-text-color;
|
|
109
|
+
height: $mat-list-item-height;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.dbx-anchor-active-eq {
|
|
113
|
+
|
|
114
|
+
.mat-list-item {
|
|
115
|
+
border-left: $active-border-left-width solid $active-icon-color;
|
|
116
|
+
|
|
117
|
+
.mat-list-icon {
|
|
118
|
+
color: $active-icon-color;
|
|
119
|
+
|
|
120
|
+
// Offset the added border by clearing the default padding width (4px)
|
|
121
|
+
padding-left: anchorlist.$active-root-item-left-padding - $active-border-left-width;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.dbx-anchor-list-child {
|
|
126
|
+
padding-left: anchorlist.$active-child-item-left-padding - $active-border-left-width;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/*
|
|
134
|
+
.active {
|
|
135
|
+
&.mat-list-item {
|
|
136
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
mat-icon {
|
|
140
|
+
color: $sidenav-active-color;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
$app-side-nav-bar-padding: 14px;
|
|
145
|
+
|
|
146
|
+
.app-side-nav-bar-title {
|
|
147
|
+
// text-align: center;
|
|
148
|
+
padding: $app-side-nav-bar-padding;
|
|
149
|
+
|
|
150
|
+
.app-side-nav-bar-title-header {
|
|
151
|
+
display: flex;
|
|
152
|
+
|
|
153
|
+
>img {
|
|
154
|
+
width: 32px;
|
|
155
|
+
height: 32px;
|
|
156
|
+
padding-left: 2px;
|
|
157
|
+
padding-right: 16px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
span {
|
|
161
|
+
@include mat-typography-level-to-styles($color-config, title);
|
|
162
|
+
font-weight: 300;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.app-side-nav-bar-title-content {
|
|
169
|
+
padding-top: $app-side-nav-bar-padding;
|
|
170
|
+
}
|
|
171
|
+
*/
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@mixin typography($typography-config) {}
|
|
175
|
+
|
|
176
|
+
@mixin theme($theme-config) {
|
|
177
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-sidenav') {
|
|
178
|
+
$color: theming.get-color-config($theme-config);
|
|
179
|
+
$typography: theming.get-typography-config($theme-config);
|
|
180
|
+
|
|
181
|
+
@if $color !=null {
|
|
182
|
+
@include color($theme-config);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@if $typography !=null {
|
|
186
|
+
@include typography($typography);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DbxSidenavComponent, SideNavDisplayMode } from './sidenav.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Button used to interface with a parent sidenav.
|
|
5
|
+
*/
|
|
6
|
+
export declare class DbxSidenavButtonComponent {
|
|
7
|
+
readonly parent: DbxSidenavComponent;
|
|
8
|
+
readonly mode$: import("rxjs").Observable<SideNavDisplayMode>;
|
|
9
|
+
readonly showMenuButton$: import("rxjs").Observable<boolean>;
|
|
10
|
+
constructor(parent: DbxSidenavComponent);
|
|
11
|
+
toggleNav(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSidenavButtonComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSidenavButtonComponent, "dbx-sidenav-button", never, {}, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDrawerMode, MatSidenav } from '@angular/material/sidenav';
|
|
3
|
+
import { DbxScreenMediaService } from '../../../screen';
|
|
4
|
+
import { AbstractTransitionWatcherDirective, DbxRouterTransitionService, ClickableAnchorLinkTree } from '@dereekb/dbx-core';
|
|
5
|
+
import { Maybe } from '@dereekb/util';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare enum SideNavDisplayMode {
|
|
9
|
+
NONE = "none",
|
|
10
|
+
MOBILE = "mobile",
|
|
11
|
+
ICON = "icon",
|
|
12
|
+
FULL = "full"
|
|
13
|
+
}
|
|
14
|
+
export interface DbxSidenavSidebarState {
|
|
15
|
+
mode: SideNavDisplayMode;
|
|
16
|
+
drawer: MatDrawerMode;
|
|
17
|
+
open?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Navigation component that sits at the side of an app.
|
|
21
|
+
*/
|
|
22
|
+
export declare class DbxSidenavComponent extends AbstractTransitionWatcherDirective implements OnInit, OnDestroy {
|
|
23
|
+
private _screenMediaService;
|
|
24
|
+
anchors?: Maybe<ClickableAnchorLinkTree[]>;
|
|
25
|
+
readonly sidenav: MatSidenav;
|
|
26
|
+
readonly mode$: Observable<SideNavDisplayMode>;
|
|
27
|
+
readonly disableBackdrop$: Observable<boolean>;
|
|
28
|
+
readonly sizeClass$: Observable<string>;
|
|
29
|
+
readonly state$: Observable<DbxSidenavSidebarState>;
|
|
30
|
+
readonly drawer$: Observable<MatDrawerMode>;
|
|
31
|
+
private _watcherSub;
|
|
32
|
+
private _stateSub;
|
|
33
|
+
constructor(dbxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone, _screenMediaService: DbxScreenMediaService);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
protected updateForSuccessfulTransition(): void;
|
|
37
|
+
closeNav(): void;
|
|
38
|
+
toggleNav(open?: boolean): void;
|
|
39
|
+
private _toggleNav;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSidenavComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSidenavComponent, "dbx-sidenav", ["sidenav"], { "anchors": "anchors"; }, {}, never, ["[top]", "[bottom]", "*"]>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sidenav.component";
|
|
3
|
+
import * as i2 from "./sidenav.button.component";
|
|
4
|
+
import * as i3 from "./sidenav.pagebar.component";
|
|
5
|
+
import * as i4 from "./sidenav.page.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "../../../layout/bar/bar.layout.module";
|
|
8
|
+
import * as i7 from "../anchor/anchor.module";
|
|
9
|
+
import * as i8 from "../anchorlist/anchorlist.module";
|
|
10
|
+
import * as i9 from "../../../button/button.module";
|
|
11
|
+
import * as i10 from "../../../layout/content/content.layout.module";
|
|
12
|
+
import * as i11 from "@angular/material/toolbar";
|
|
13
|
+
import * as i12 from "@angular/material/button";
|
|
14
|
+
import * as i13 from "@angular/material/icon";
|
|
15
|
+
import * as i14 from "@angular/material/sidenav";
|
|
16
|
+
import * as i15 from "@angular/material/list";
|
|
17
|
+
import * as i16 from "@angular/material/divider";
|
|
18
|
+
import * as i17 from "@uirouter/angular";
|
|
19
|
+
export declare class DbxSidenavModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSidenavModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxSidenavModule, [typeof i1.DbxSidenavComponent, typeof i2.DbxSidenavButtonComponent, typeof i3.DbxSidenavPagebarComponent, typeof i4.DbxSidenavPageComponent], [typeof i5.CommonModule, typeof i6.DbxBarLayoutModule, typeof i7.DbxAnchorModule, typeof i8.DbxAnchorListModule, typeof i9.DbxButtonModule, typeof i10.DbxContentLayoutModule, typeof i11.MatToolbarModule, typeof i12.MatButtonModule, typeof i13.MatIconModule, typeof i14.MatSidenavModule, typeof i15.MatListModule, typeof i16.MatDividerModule, typeof i17.UIRouterModule], [typeof i1.DbxSidenavComponent, typeof i2.DbxSidenavButtonComponent, typeof i3.DbxSidenavPagebarComponent, typeof i4.DbxSidenavPageComponent]>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxSidenavModule>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DbxSidenavComponent } from './sidenav.component';
|
|
2
|
+
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { DbxBarColor } from '../../../layout/bar/bar';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Pre-configured page used with DbxSidenavComponent.
|
|
7
|
+
*
|
|
8
|
+
* Can optionally be configured to only show the pagebar while in mobile mode.
|
|
9
|
+
*/
|
|
10
|
+
export declare class DbxSidenavPageComponent {
|
|
11
|
+
readonly parent: DbxSidenavComponent;
|
|
12
|
+
color?: Maybe<DbxBarColor>;
|
|
13
|
+
private _mobileOnly;
|
|
14
|
+
constructor(parent: DbxSidenavComponent);
|
|
15
|
+
readonly hidePagebar$: import("rxjs").Observable<boolean>;
|
|
16
|
+
get mobileOnly(): boolean;
|
|
17
|
+
set mobileOnly(mobileOnly: boolean);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSidenavPageComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSidenavPageComponent, "dbx-sidenav-page", never, { "color": "color"; "mobileOnly": "mobileOnly"; }, {}, never, ["[navLeft]", "[navRight]", "*"]>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DbxPagebarComponent } from '../../../layout/bar/pagebar.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Pre-configured pagebar used with DbxSidenavComponent.
|
|
5
|
+
*/
|
|
6
|
+
export declare class DbxSidenavPagebarComponent extends DbxPagebarComponent {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSidenavPagebarComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSidenavPagebarComponent, "dbx-sidenav-pagebar", never, {}, {}, never, ["*", "*"]>;
|
|
9
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractDbxSegueAnchorDirective } from '../../layout/anchor/anchor.segue.directive';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* SegueAnchor implementation for Angular Router.
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
6
|
+
export declare class DbxAngularRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAngularRouterSegueAnchorComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxAngularRouterSegueAnchorComponent, "ng-component", never, {}, {}, never, never>;
|
|
9
9
|
}
|
|
@@ -4,9 +4,9 @@ import * as i1 from "./anchor.component";
|
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
5
|
import * as i3 from "@uirouter/angular";
|
|
6
6
|
import * as i4 from "@dereekb/dbx-core";
|
|
7
|
-
export declare class
|
|
8
|
-
static forRoot(): ModuleWithProviders<
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
7
|
+
export declare class DbxWebAngularRouterModule {
|
|
8
|
+
static forRoot(): ModuleWithProviders<DbxWebAngularRouterModule>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxWebAngularRouterModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxWebAngularRouterModule, [typeof i1.DbxAngularRouterSegueAnchorComponent], [typeof i2.CommonModule, typeof i3.UIRouterModule, typeof i4.DbxInjectedComponentModule], [typeof i1.DbxAngularRouterSegueAnchorComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxWebAngularRouterModule>;
|
|
12
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare abstract class
|
|
1
|
+
import { DbxInjectedComponentConfig } from "@dereekb/dbx-core";
|
|
2
|
+
export declare abstract class DbxRouterWebProviderConfig {
|
|
3
3
|
/**
|
|
4
4
|
* Component used by the Anchor component to render a SegueRef link.
|
|
5
5
|
*/
|
|
6
|
-
abstract anchorSegueRefComponent:
|
|
6
|
+
abstract anchorSegueRefComponent: DbxInjectedComponentConfig;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractDbxSegueAnchorDirective } from '../../layout/anchor/anchor.segue.directive';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* SegueAnchor implementation for UIRouter.
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
6
|
+
export declare class DbxUIRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxUIRouterSegueAnchorComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxUIRouterSegueAnchorComponent, "ng-component", never, {}, {}, never, never>;
|
|
9
9
|
}
|
|
@@ -4,9 +4,9 @@ import * as i1 from "./anchor.component";
|
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
5
|
import * as i3 from "@uirouter/angular";
|
|
6
6
|
import * as i4 from "@dereekb/dbx-core";
|
|
7
|
-
export declare class
|
|
8
|
-
static forRoot(): ModuleWithProviders<
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
7
|
+
export declare class DbxWebUIRouterModule {
|
|
8
|
+
static forRoot(): ModuleWithProviders<DbxWebUIRouterModule>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxWebUIRouterModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxWebUIRouterModule, [typeof i1.DbxUIRouterSegueAnchorComponent], [typeof i2.CommonModule, typeof i3.UIRouterModule, typeof i4.DbxInjectedComponentModule], [typeof i1.DbxUIRouterSegueAnchorComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxWebUIRouterModule>;
|
|
12
12
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Set of screen media width types. Their pixel sizes correspond with the DbxScreenMediaService's configuration.
|
|
3
|
+
*
|
|
4
|
+
* Values:
|
|
5
|
+
* - micro: Screen is considered mobile.
|
|
6
|
+
* - small: Screen is consider small, but larger than mobile.
|
|
7
|
+
* - tablet: Screen is considered tablet size.
|
|
8
|
+
* - large: Screen is considered large than a tablet, but not full size.
|
|
9
|
+
* - full: Screen is greater than large.
|
|
10
|
+
*/
|
|
11
|
+
export declare type ScreenMediaWidthType = 'micro' | 'small' | 'tablet' | 'large' | 'full';
|
|
12
|
+
export declare const SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP: {
|
|
13
|
+
micro: number;
|
|
14
|
+
small: number;
|
|
15
|
+
tablet: number;
|
|
16
|
+
large: number;
|
|
17
|
+
full: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Describes the current screen's vertical space.
|
|
21
|
+
*
|
|
22
|
+
* Values:
|
|
23
|
+
* - tiny: Screen height is tiny, potentially the size of the navigation alone.
|
|
24
|
+
* - normal: Screen has a normal height.
|
|
25
|
+
*/
|
|
26
|
+
export declare type ScreenMediaHeightType = 'tiny' | 'normal';
|
|
27
|
+
/**
|
|
28
|
+
* Compares the breakpoint with the current width and determines if it is "active" or not.
|
|
29
|
+
*
|
|
30
|
+
* The current is considered active if it is bigger or equal to the breakpoint.
|
|
31
|
+
*
|
|
32
|
+
* @param current
|
|
33
|
+
* @param breakpoint
|
|
34
|
+
*/
|
|
35
|
+
export declare function screenMediaWidthTypeIsActive(current: ScreenMediaWidthType, breakpoint: ScreenMediaWidthType): boolean;
|
|
36
|
+
export declare function compareScreenMediaWidthTypes(a: ScreenMediaWidthType, b: ScreenMediaWidthType, compare: (a: number, b: number) => boolean): boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { DbxScreenMediaServiceConfig } from './screen.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DbxScreenModule {
|
|
5
|
+
static forRoot(config?: DbxScreenMediaServiceConfig): ModuleWithProviders<DbxScreenModule>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScreenModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxScreenModule, never, never, never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxScreenModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Destroyable } from '@dereekb/util';
|
|
2
|
+
import { MediaMatcher } from "@angular/cdk/layout";
|
|
3
|
+
import { ObservableGetter } from '@dereekb/rxjs';
|
|
4
|
+
import { Observable } from "rxjs";
|
|
5
|
+
import { ScreenMediaWidthType, ScreenMediaHeightType } from "./screen";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* ScreenMediaService configuration.
|
|
9
|
+
*/
|
|
10
|
+
export declare abstract class DbxScreenMediaServiceConfig {
|
|
11
|
+
/**
|
|
12
|
+
* The maximum size of a micro screen. Any size bigger than this is considered a small screen or larger.
|
|
13
|
+
*/
|
|
14
|
+
abstract microScreenWidthMax: number;
|
|
15
|
+
/**
|
|
16
|
+
* The maximum size of a small screen. Any size bigger than this is considered a tablet screen or larger.
|
|
17
|
+
*/
|
|
18
|
+
abstract smallScreenWidthMax: number;
|
|
19
|
+
/**
|
|
20
|
+
* The maximum size of a tablet screen. Any size bigger than this is considered a large screen or larger.
|
|
21
|
+
*/
|
|
22
|
+
abstract tabletScreenWidthMax: number;
|
|
23
|
+
/**
|
|
24
|
+
* The maximum size of a large screen. Any size bigger than this is considered full.
|
|
25
|
+
*/
|
|
26
|
+
abstract largeScreenWidthMax: number;
|
|
27
|
+
/**
|
|
28
|
+
* The maximum size of a tiny screen. Any size bigger than this is considered normal.
|
|
29
|
+
*/
|
|
30
|
+
abstract tinyScreenHeightMax: number;
|
|
31
|
+
}
|
|
32
|
+
export declare const DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG: DbxScreenMediaServiceConfig;
|
|
33
|
+
/**
|
|
34
|
+
* Service that emits the current view type based on the configuration.
|
|
35
|
+
*/
|
|
36
|
+
export declare class DbxScreenMediaService implements Destroyable {
|
|
37
|
+
private readonly _media;
|
|
38
|
+
private _microQuery;
|
|
39
|
+
private _smallQuery;
|
|
40
|
+
private _tabletQuery;
|
|
41
|
+
private _largeQuery;
|
|
42
|
+
private _tinyHeightQuery;
|
|
43
|
+
private _updateWidth;
|
|
44
|
+
private _updateHeight;
|
|
45
|
+
readonly widthType$: Observable<ScreenMediaWidthType>;
|
|
46
|
+
readonly heightType$: Observable<ScreenMediaHeightType>;
|
|
47
|
+
constructor(_media: MediaMatcher, config: DbxScreenMediaServiceConfig);
|
|
48
|
+
destroy(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Returns an observable that detects whether or no the current width is greater or equal to the given breakpoint.
|
|
51
|
+
*
|
|
52
|
+
* @param inputBreakpoint
|
|
53
|
+
* @returns
|
|
54
|
+
*/
|
|
55
|
+
isBreakpointActive(inputBreakpoint: ObservableGetter<ScreenMediaWidthType>): Observable<boolean>;
|
|
56
|
+
private _readWidthType;
|
|
57
|
+
private _readHeightType;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxScreenMediaService, never>;
|
|
59
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbxScreenMediaService>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use '../button/button';
|
|
2
|
+
@use '../error/error';
|
|
3
|
+
@use '../interaction/interaction';
|
|
4
|
+
@use '../layout/layout';
|
|
5
|
+
@use '../router/router';
|
|
6
|
+
|
|
7
|
+
// Includes all theming config
|
|
8
|
+
@mixin all-component-core() {
|
|
9
|
+
@include button.core();
|
|
10
|
+
@include error.core();
|
|
11
|
+
@include interaction.all-interaction-core();
|
|
12
|
+
@include layout.all-layout-core();
|
|
13
|
+
@include router.all-router-core();
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use './theming';
|
|
2
|
+
@use '../button/button';
|
|
3
|
+
@use '../error/error';
|
|
4
|
+
@use '../interaction/interaction';
|
|
5
|
+
@use '../layout/layout';
|
|
6
|
+
@use '../router/router';
|
|
7
|
+
|
|
8
|
+
// Includes all theming config
|
|
9
|
+
@mixin all-component-themes($theme-config) {
|
|
10
|
+
@include button.theme($theme-config);
|
|
11
|
+
@include error.theme($theme-config);
|
|
12
|
+
@include interaction.all-interaction-theme($theme-config);
|
|
13
|
+
@include layout.all-layout-theme($theme-config);
|
|
14
|
+
@include router.all-router-theme($theme-config);
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use './theming';
|
|
2
|
+
@use '../button/button';
|
|
3
|
+
@use '../error/error';
|
|
4
|
+
@use '../interaction/interaction';
|
|
5
|
+
@use '../layout/layout';
|
|
6
|
+
@use '../router/router';
|
|
7
|
+
|
|
8
|
+
// Includes all of the typographic styles.
|
|
9
|
+
@mixin all-component-typographies($typography-config) {
|
|
10
|
+
@include button.typography($typography-config);
|
|
11
|
+
@include error.typography($typography-config);
|
|
12
|
+
@include interaction.all-interaction-typography($typography-config);
|
|
13
|
+
@include layout.all-layout-typography($typography-config);
|
|
14
|
+
@include router.all-router-typography($typography-config);
|
|
15
|
+
}
|