@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,97 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '../../style/theming';
|
|
4
|
+
|
|
5
|
+
// MARK: Variables
|
|
6
|
+
$icon-spacing: 6px;
|
|
7
|
+
$hint-opacity: 0.8;
|
|
8
|
+
$mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
|
|
9
|
+
|
|
10
|
+
// MARK: Mixin
|
|
11
|
+
@mixin core() {
|
|
12
|
+
|
|
13
|
+
.dbx-small,
|
|
14
|
+
.dbx-clear-hint {
|
|
15
|
+
font-size: 0.8em;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.text-center,
|
|
19
|
+
.dbx-text-center {
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dbx-text-no-overflow {
|
|
24
|
+
white-space: pre-wrap !important;
|
|
25
|
+
overflow: visible !important;
|
|
26
|
+
text-overflow: unset !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.dbx-icon-spacer {
|
|
30
|
+
margin-right: $icon-spacing;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin color($theme-config) {
|
|
36
|
+
$color-config: theming.get-color-config($theme-config);
|
|
37
|
+
$accent: map.get($color-config, 'accent');
|
|
38
|
+
$warn: map.get($color-config, 'warn');
|
|
39
|
+
|
|
40
|
+
$ok-color: color.scale(blue, $lightness: 30%);
|
|
41
|
+
$success-color: green;
|
|
42
|
+
$notice-color: #f28600;
|
|
43
|
+
|
|
44
|
+
.dbx-hint,
|
|
45
|
+
.dbx-clear-hint {
|
|
46
|
+
opacity: $hint-opacity;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.dbx-success {
|
|
50
|
+
color: $success-color;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.dbx-ok {
|
|
54
|
+
color: $ok-color;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.dbx-label,
|
|
58
|
+
.dbx-sublabel,
|
|
59
|
+
.dbx-chip-sublabel {
|
|
60
|
+
opacity: $mat-hint-opacity;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.dbx-notice {
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
color: $notice-color;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@mixin typography($typography-config) {
|
|
71
|
+
|
|
72
|
+
.dbx-label,
|
|
73
|
+
.dbx-sublabel,
|
|
74
|
+
.dbx-chip-sublabel {
|
|
75
|
+
font-size: theming.font-size($typography-config, 'caption');
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.dbx-chip-sublabel {
|
|
79
|
+
margin-left: $icon-spacing;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@mixin theme($theme-config) {
|
|
85
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-text') {
|
|
86
|
+
$color: theming.get-color-config($theme-config);
|
|
87
|
+
$typography: theming.get-typography-config($theme-config);
|
|
88
|
+
|
|
89
|
+
@if $color !=null {
|
|
90
|
+
@include color($theme-config);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@if $typography !=null {
|
|
94
|
+
@include typography($typography);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
/**
|
|
5
5
|
* Used to "linkify" the input text.
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class DbxLinkifyComponent implements OnDestroy {
|
|
8
8
|
private readonly sanitizer;
|
|
9
9
|
private _text;
|
|
10
10
|
readonly linkifiedText$: import("rxjs").Observable<string>;
|
|
@@ -13,6 +13,6 @@ export declare class DbNgxLinkifyComponent implements OnDestroy {
|
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
get text(): string;
|
|
15
15
|
set text(text: string);
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxLinkifyComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxLinkifyComponent, "dbx-linkify", never, { "text": "text"; }, {}, never, never>;
|
|
18
18
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Maybe } from '@dereekb/util';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface TextChip<T = any> {
|
|
4
|
+
text: string;
|
|
5
|
+
tooltip?: string;
|
|
6
|
+
color?: 'primary' | 'accent';
|
|
7
|
+
data?: T;
|
|
8
|
+
}
|
|
9
|
+
export declare class DbxTextChipsComponent<T = any> {
|
|
10
|
+
chips?: Maybe<TextChip<T>[]>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextChipsComponent<any>, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxTextChipsComponent<any>, "dbx-text-chips", never, { "chips": "chips"; }, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./note.component";
|
|
3
|
+
import * as i2 from "./notice.component";
|
|
4
|
+
import * as i3 from "./success.component";
|
|
5
|
+
import * as i4 from "./warn.component";
|
|
6
|
+
import * as i5 from "./hint.component";
|
|
7
|
+
import * as i6 from "./label.component";
|
|
8
|
+
import * as i7 from "./linkify.component";
|
|
9
|
+
import * as i8 from "./ok.component";
|
|
10
|
+
import * as i9 from "./text.chips.component";
|
|
11
|
+
import * as i10 from "@angular/common";
|
|
12
|
+
import * as i11 from "@angular/material/chips";
|
|
13
|
+
import * as i12 from "@angular/material/tooltip";
|
|
14
|
+
import * as i13 from "@angular/material/icon";
|
|
15
|
+
export declare class DbxTextModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTextModule, [typeof i1.DbxNoteComponent, typeof i2.DbxNoticeComponent, typeof i3.DbxSuccessComponent, typeof i4.DbxWarnComponent, typeof i5.DbxHintComponent, typeof i6.DbxLabelComponent, typeof i7.DbxLinkifyComponent, typeof i8.DbxOkComponent, typeof i9.DbxTextChipsComponent], [typeof i10.CommonModule, typeof i11.MatChipsModule, typeof i12.MatTooltipModule, typeof i13.MatIconModule], [typeof i1.DbxNoteComponent, typeof i2.DbxNoticeComponent, typeof i3.DbxSuccessComponent, typeof i4.DbxWarnComponent, typeof i5.DbxHintComponent, typeof i6.DbxLabelComponent, typeof i7.DbxLinkifyComponent, typeof i8.DbxOkComponent, typeof i9.DbxTextChipsComponent]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxTextModule>;
|
|
19
|
+
}
|
|
@@ -6,7 +6,7 @@ import { ErrorInput, Maybe } from '@dereekb/util';
|
|
|
6
6
|
import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* DbxBasicLoadingComponent loading state.
|
|
10
10
|
*/
|
|
11
11
|
export declare enum LoadingComponentState {
|
|
12
12
|
NONE = -1,
|
|
@@ -17,7 +17,7 @@ export declare enum LoadingComponentState {
|
|
|
17
17
|
/**
|
|
18
18
|
* Basic loading component.
|
|
19
19
|
*/
|
|
20
|
-
export declare class
|
|
20
|
+
export declare class DbxBasicLoadingComponent implements OnDestroy {
|
|
21
21
|
private _loading;
|
|
22
22
|
private _show;
|
|
23
23
|
private _error;
|
|
@@ -41,6 +41,6 @@ export declare class DbNgxBasicLoadingComponent implements OnDestroy {
|
|
|
41
41
|
set error(error: Maybe<ErrorInput>);
|
|
42
42
|
set customErrorContent(customErrorContent: Maybe<ElementRef>);
|
|
43
43
|
set customLoadingContent(customLoadingContent: Maybe<ElementRef>);
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxBasicLoadingComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxBasicLoadingComponent, "dbx-basic-loading", never, { "diameter": "diameter"; "mode": "mode"; "color": "color"; "text": "text"; "linear": "linear"; "show": "show"; "loading": "loading"; "error": "error"; }, {}, never, ["*", "[loading]", "[error]", "[errorAction]"]>;
|
|
46
46
|
}
|
|
@@ -7,7 +7,7 @@ export declare const DEFAULT_LOADING_PROGRESS_DIAMETER = 96;
|
|
|
7
7
|
/**
|
|
8
8
|
* Basic loading progress component.
|
|
9
9
|
*/
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class DbxLoadingProgressComponent {
|
|
11
11
|
private _diameter;
|
|
12
12
|
text?: Maybe<string>;
|
|
13
13
|
linear?: Maybe<boolean>;
|
|
@@ -19,6 +19,6 @@ export declare class DbNgxLoadingProgressComponent {
|
|
|
19
19
|
set diameter(diameter: Maybe<number>);
|
|
20
20
|
get bmode(): ProgressBarMode;
|
|
21
21
|
get smode(): ProgressSpinnerMode;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxLoadingProgressComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxLoadingProgressComponent, "dbx-loading-progress", never, { "text": "text"; "linear": "linear"; "mode": "mode"; "color": "color"; "value": "value"; "bufferValue": "bufferValue"; "diameter": "diameter"; }, {}, never, never>;
|
|
24
24
|
}
|
|
@@ -5,18 +5,18 @@ import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
|
5
5
|
import { LoadingContext } from '@dereekb/rxjs';
|
|
6
6
|
import { ErrorInput, Maybe } from '@dereekb/util';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export interface
|
|
8
|
+
export interface DbxLoadingComponentState {
|
|
9
9
|
loading: boolean;
|
|
10
10
|
error: Maybe<ErrorInput>;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Loading View component that provides content sections for loading, error, and an error action.
|
|
14
14
|
*/
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class DbxLoadingComponent implements OnDestroy {
|
|
16
16
|
private _context;
|
|
17
17
|
private _inputLoading;
|
|
18
18
|
private _inputError;
|
|
19
|
-
readonly state$: Observable<
|
|
19
|
+
readonly state$: Observable<DbxLoadingComponentState>;
|
|
20
20
|
readonly loading$: Observable<boolean>;
|
|
21
21
|
readonly error$: Observable<Maybe<ErrorInput>>;
|
|
22
22
|
show?: Maybe<boolean>;
|
|
@@ -32,6 +32,6 @@ export declare class DbNgxLoadingComponent implements OnDestroy {
|
|
|
32
32
|
set loading(loading: Maybe<boolean>);
|
|
33
33
|
get error(): Maybe<ErrorInput>;
|
|
34
34
|
set error(error: Maybe<ErrorInput>);
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxLoadingComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxLoadingComponent, "dbx-loading", never, { "show": "show"; "text": "text"; "mode": "mode"; "color": "color"; "diameter": "diameter"; "linear": "linear"; "context": "context"; "loading": "loading"; "error": "error"; }, {}, never, ["[loading]", "*", "[error]", "[errorAction]"]>;
|
|
37
37
|
}
|
|
@@ -2,12 +2,12 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./loading.component";
|
|
3
3
|
import * as i2 from "./basic-loading.component";
|
|
4
4
|
import * as i3 from "./loading-progress.component";
|
|
5
|
-
import * as i4 from "@angular/
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "../error/error.module";
|
|
7
7
|
import * as i6 from "@angular/material/progress-spinner";
|
|
8
8
|
import * as i7 from "@angular/material/progress-bar";
|
|
9
|
-
export declare class
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
9
|
+
export declare class DbxLoadingModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxLoadingModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxLoadingModule, [typeof i1.DbxLoadingComponent, typeof i2.DbxBasicLoadingComponent, typeof i3.DbxLoadingProgressComponent], [typeof i4.CommonModule, typeof i5.DbxReadableErrorModule, typeof i6.MatProgressSpinnerModule, typeof i7.MatProgressBarModule], [typeof i1.DbxLoadingComponent, typeof i2.DbxBasicLoadingComponent, typeof i3.DbxLoadingProgressComponent, typeof i6.MatProgressSpinnerModule, typeof i7.MatProgressBarModule]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxLoadingModule>;
|
|
13
13
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@use './layout/anchor/anchor';
|
|
2
|
+
@use './layout/anchorlist/anchorlist';
|
|
3
|
+
@use './layout/navbar/navbar';
|
|
4
|
+
@use './layout/sidenav/sidenav';
|
|
5
|
+
|
|
6
|
+
@mixin all-router-core() {
|
|
7
|
+
@include anchor.core();
|
|
8
|
+
@include anchorlist.core();
|
|
9
|
+
@include navbar.core();
|
|
10
|
+
@include sidenav.core();
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin all-router-typography($typography-config) {
|
|
14
|
+
@include anchor.typography($typography-config);
|
|
15
|
+
@include anchorlist.typography($typography-config);
|
|
16
|
+
@include navbar.typography($typography-config);
|
|
17
|
+
@include sidenav.typography($typography-config);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@mixin all-router-theme($theme-config) {
|
|
21
|
+
@include anchor.theme($theme-config);
|
|
22
|
+
@include anchorlist.theme($theme-config);
|
|
23
|
+
@include navbar.theme($theme-config);
|
|
24
|
+
@include sidenav.theme($theme-config);
|
|
25
|
+
}
|
package/lib/router/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './layout';
|
|
2
2
|
export * from './provider';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@use '../../../style/theming';
|
|
2
|
+
|
|
3
|
+
// MARK: Variables
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// MARK: Mixin
|
|
7
|
+
@mixin core() {
|
|
8
|
+
|
|
9
|
+
.dbx-anchor a {
|
|
10
|
+
color: inherit;
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
|
|
13
|
+
&.dbx-anchor-block {
|
|
14
|
+
display: block;
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
.dbx-anchor-a {
|
|
18
|
+
display: block;
|
|
19
|
+
width: 100%
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dbx-link {
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin color($theme-config) {}
|
|
32
|
+
|
|
33
|
+
@mixin typography($typography-config) {}
|
|
34
|
+
|
|
35
|
+
@mixin theme($theme-config) {
|
|
36
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchor') {}
|
|
37
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AbstractDbxAnchorDirective, DbxInjectedComponentConfig } from '@dereekb/dbx-core';
|
|
3
3
|
import { Maybe } from '@dereekb/util';
|
|
4
|
-
import {
|
|
4
|
+
import { DbxRouterWebProviderConfig } from '../../provider/router.provider.config';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Component that renders an anchor element depending on the input.
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
10
10
|
private readonly dbNgxRouterWebProviderConfig;
|
|
11
11
|
private _templateRef;
|
|
12
12
|
readonly templateRef$: import("rxjs").Observable<Maybe<TemplateRef<any>>>;
|
|
@@ -15,10 +15,9 @@ export declare class DbNgxAnchorComponent extends AbstractDbNgxAnchorDirective {
|
|
|
15
15
|
set templateRef(templateRef: Maybe<TemplateRef<any>>);
|
|
16
16
|
readonly url$: import("rxjs").Observable<string | undefined>;
|
|
17
17
|
readonly target$: import("rxjs").Observable<string | undefined>;
|
|
18
|
-
constructor(dbNgxRouterWebProviderConfig:
|
|
19
|
-
get srefAnchorConfig():
|
|
20
|
-
get anchorBlockClass(): string;
|
|
18
|
+
constructor(dbNgxRouterWebProviderConfig: DbxRouterWebProviderConfig);
|
|
19
|
+
get srefAnchorConfig(): DbxInjectedComponentConfig;
|
|
21
20
|
clickAnchor(event?: Maybe<MouseEvent>): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAnchorComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxAnchorComponent, "dbx-anchor, [dbx-anchor]", never, { "block": "block"; }, {}, never, ["*"]>;
|
|
24
23
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClickableIconAnchorLink } from '@dereekb/dbx-core';
|
|
2
|
+
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Component that displays an anchor and a mat-button.
|
|
6
|
+
*/
|
|
7
|
+
export declare class DbxAnchorIconComponent {
|
|
8
|
+
anchor: Maybe<ClickableIconAnchorLink>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAnchorIconComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxAnchorIconComponent, "dbx-anchor-icon", never, { "anchor": "anchor"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ClickableAnchor } from '@dereekb/dbx-core';
|
|
2
|
+
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Pre-styled text that can link to either a website or a ref using a dbx-anchor.
|
|
6
|
+
*/
|
|
7
|
+
export declare class DbxAnchorLinkComponent {
|
|
8
|
+
anchor?: ClickableAnchor;
|
|
9
|
+
set ref(ref: Maybe<string>);
|
|
10
|
+
set href(href: Maybe<string>);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAnchorLinkComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxAnchorLinkComponent, "dbx-link", never, { "anchor": "anchor"; "ref": "ref"; "href": "href"; }, {}, never, ["*"]>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./anchor.component";
|
|
3
|
+
import * as i2 from "./anchor.icon.component";
|
|
4
|
+
import * as i3 from "./anchor.link.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@angular/material/button";
|
|
8
|
+
import * as i7 from "@dereekb/dbx-core";
|
|
9
|
+
export declare class DbxAnchorModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAnchorModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxAnchorModule, [typeof i1.DbxAnchorComponent, typeof i2.DbxAnchorIconComponent, typeof i3.DbxAnchorLinkComponent], [typeof i4.CommonModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.DbxInjectedComponentModule], [typeof i1.DbxAnchorComponent, typeof i2.DbxAnchorIconComponent, typeof i3.DbxAnchorLinkComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxAnchorModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DbxInjectedTemplateConfig } from "@dereekb/dbx-core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { DbxAnchorComponent } from "./anchor.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Abstract implementation
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class AbstractDbxSegueAnchorDirective {
|
|
9
|
+
readonly parent: DbxAnchorComponent;
|
|
10
|
+
readonly target$: Observable<string | undefined>;
|
|
11
|
+
readonly ref$: Observable<any>;
|
|
12
|
+
readonly refParams$: Observable<import("@dereekb/dbx-core").SegueRefRawSegueParams | undefined>;
|
|
13
|
+
readonly refOptions$: Observable<any>;
|
|
14
|
+
constructor(parent: DbxAnchorComponent);
|
|
15
|
+
readonly template$: Observable<DbxInjectedTemplateConfig>;
|
|
16
|
+
get anchor(): import("../../../../../../../dist/packages/util/src").Maybe<import("@dereekb/dbx-core").ClickableAnchor>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxSegueAnchorDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxSegueAnchorDirective, never, never, {}, {}, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '../../../style/theming';
|
|
4
|
+
|
|
5
|
+
// MARK: Variables
|
|
6
|
+
$active-root-item-left-padding: 2px;
|
|
7
|
+
$active-child-item-left-padding: 5px;
|
|
8
|
+
|
|
9
|
+
// MARK: Mixin
|
|
10
|
+
@mixin core() {}
|
|
11
|
+
|
|
12
|
+
@mixin color($theme-config) {
|
|
13
|
+
$color-config: theming.get-color-config($theme-config);
|
|
14
|
+
$background: map.get($color-config, 'background');
|
|
15
|
+
$background-hover-color: theming.get-color-from-palette($background, 'hover');
|
|
16
|
+
|
|
17
|
+
.dbx-anchor-list.mat-nav-list {
|
|
18
|
+
|
|
19
|
+
// MARK: Muting
|
|
20
|
+
// items that are not active are muted
|
|
21
|
+
.mat-list-item {
|
|
22
|
+
opacity: 0.74;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// active route as a parent
|
|
26
|
+
.dbx-anchor-active {
|
|
27
|
+
.mat-list-item {
|
|
28
|
+
opacity: 0.9;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// active route
|
|
33
|
+
.dbx-anchor-active-eq {
|
|
34
|
+
.mat-list-item {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
background: color.scale($color:$background-hover-color, $alpha: 25%);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// MARK: Anchor Tree
|
|
41
|
+
/*
|
|
42
|
+
.dbx-anchor-list-root {
|
|
43
|
+
// nothing
|
|
44
|
+
}
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
.dbx-anchor-list-child {
|
|
48
|
+
background: color.scale($background-hover-color, $alpha: 10%);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@mixin typography($typography-config) {
|
|
56
|
+
|
|
57
|
+
.dbx-anchor-list.mat-nav-list {
|
|
58
|
+
|
|
59
|
+
.mat-list-item .mat-list-icon {
|
|
60
|
+
font-size: 28px;
|
|
61
|
+
width: 28px;
|
|
62
|
+
height: 28px;
|
|
63
|
+
padding: $active-root-item-left-padding;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// MARK: Anchor Tree
|
|
67
|
+
.dbx-anchor-list-child {
|
|
68
|
+
font-size: 0.875em;
|
|
69
|
+
|
|
70
|
+
.mat-list-icon {
|
|
71
|
+
font-size: 22px;
|
|
72
|
+
width: 22px;
|
|
73
|
+
height: 22px;
|
|
74
|
+
padding: $active-child-item-left-padding;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@mixin theme($theme-config) {
|
|
83
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchorlist') {
|
|
84
|
+
$color: theming.get-color-config($theme-config);
|
|
85
|
+
$typography: theming.get-typography-config($theme-config);
|
|
86
|
+
|
|
87
|
+
@if $color !=null {
|
|
88
|
+
@include color($theme-config);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@if $typography !=null {
|
|
92
|
+
@include typography($typography);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { ClickableAnchorLinkTree } from '@dereekb/dbx-core';
|
|
3
|
+
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Component that displays a list of ClickableAnchorLink values within a MatNavList.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DbxAnchorListComponent implements OnDestroy {
|
|
9
|
+
private _anchors;
|
|
10
|
+
readonly expandedAnchors$: import("rxjs").Observable<import("@dereekb/dbx-core").ExpandedClickableAnchorLinkTree[]>;
|
|
11
|
+
set anchors(anchors: Maybe<ClickableAnchorLinkTree[]>);
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAnchorListComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxAnchorListComponent, "dbx-anchor-list", never, { "anchors": "anchors"; }, {}, never, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./anchorlist.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/list";
|
|
8
|
+
import * as i7 from "@angular/material/menu";
|
|
9
|
+
import * as i8 from "../anchor/anchor.module";
|
|
10
|
+
export declare class DbxAnchorListModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAnchorListModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxAnchorListModule, [typeof i1.DbxAnchorListComponent], [typeof i2.CommonModule, typeof i3.MatTabsModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.MatListModule, typeof i7.MatMenuModule, typeof i8.DbxAnchorModule], [typeof i1.DbxAnchorListComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxAnchorListModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./anchor/anchor.module";
|
|
3
|
+
import * as i2 from "./anchorlist/anchorlist.module";
|
|
4
|
+
import * as i3 from "./navbar/navbar.module";
|
|
5
|
+
import * as i4 from "./sidenav/sidenav.module";
|
|
6
|
+
export declare class DbxRouterLayoutModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxRouterLayoutModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxRouterLayoutModule, never, never, [typeof i1.DbxAnchorModule, typeof i2.DbxAnchorListModule, typeof i3.DbxNavbarModule, typeof i4.DbxSidenavModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxRouterLayoutModule>;
|
|
10
|
+
}
|