@dereekb/dbx-web 0.0.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +18 -9
- 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 +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 +4 -4
- 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 +11 -21
- 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/compact/compact.directive.mjs +5 -5
- package/esm2020/lib/layout/compact/compact.layout.module.mjs +9 -9
- 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 +5513 -3687
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +5491 -3666
- 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
package/index.d.ts
CHANGED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@use '../style/theming';
|
|
2
|
+
|
|
3
|
+
// MARK: Variables
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// MARK: Mixin
|
|
7
|
+
@mixin core() {}
|
|
8
|
+
|
|
9
|
+
@mixin color($theme-config) {}
|
|
10
|
+
|
|
11
|
+
@mixin typography($typography-config) {}
|
|
12
|
+
|
|
13
|
+
@mixin theme($theme-config) {
|
|
14
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-action') {
|
|
15
|
+
$color: theming.get-color-config($theme-config);
|
|
16
|
+
$typography: theming.get-typography-config($theme-config);
|
|
17
|
+
|
|
18
|
+
@if $color !=null {
|
|
19
|
+
@include color($theme-config);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@if $typography !=null {
|
|
23
|
+
@include typography($typography);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// TODO:
|
|
29
|
+
.dbx-action-snackbar {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
|
|
33
|
+
&.dbx-action-snackbar-success {
|
|
34
|
+
// background: $success-color;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.dbx-action-snackbar-error {
|
|
38
|
+
// background: red;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
3
|
import { AbstractPromptConfirmDirective } from '../interaction/prompt/prompt.confirm.directive';
|
|
4
|
-
import {
|
|
4
|
+
import { DbxPromptConfirmConfig } from '../interaction/prompt/prompt.confirm.component';
|
|
5
5
|
import { ActionContextStoreSourceInstance } from '@dereekb/dbx-core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
@@ -10,14 +10,14 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* This only works to pass a ready value or reject through, not to work with a button.
|
|
11
11
|
* For button usage, use an appPromptConfirmButton directive.
|
|
12
12
|
*/
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class DbxActionConfirmDirective<T, O> extends AbstractPromptConfirmDirective implements OnInit, OnDestroy {
|
|
14
14
|
readonly source: ActionContextStoreSourceInstance<T, O>;
|
|
15
|
-
config?:
|
|
15
|
+
config?: DbxPromptConfirmConfig;
|
|
16
16
|
private _sourceSubscription;
|
|
17
17
|
constructor(source: ActionContextStoreSourceInstance<T, O>, dialog: MatDialog);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
protected _handleDialogResult(result: boolean): boolean;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionConfirmDirective<any, any>, [{ host: true; }, null]>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionConfirmDirective<any, any>, "[dbxActionConfirm]", never, { "config": "dbxActionConfirm"; }, {}, never>;
|
|
23
23
|
}
|
|
@@ -9,8 +9,8 @@ import * as i7 from "@angular/material/snack-bar";
|
|
|
9
9
|
import * as i8 from "@angular/material/dialog";
|
|
10
10
|
import * as i9 from "@angular/material/button";
|
|
11
11
|
import * as i10 from "../interaction/prompt/prompt.module";
|
|
12
|
-
export declare class
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
12
|
+
export declare class DbxActionModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxActionModule, [typeof i1.DbxActionKeyTriggerDirective, typeof i2.DbxActionSnackbarComponent, typeof i3.DbxActionConfirmDirective], [typeof i4.CommonModule, typeof i5.DbxCoreActionModule, typeof i6.DbxButtonModule, typeof i7.MatSnackBarModule, typeof i8.MatDialogModule, typeof i9.MatButtonModule, typeof i10.DbxPromptModule], [typeof i5.DbxCoreActionModule, typeof i1.DbxActionKeyTriggerDirective, typeof i2.DbxActionSnackbarComponent, typeof i3.DbxActionConfirmDirective]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxActionModule>;
|
|
16
16
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
3
3
|
import { Maybe } from '@dereekb/util';
|
|
4
|
-
import { ActionContextStoreSourceInstance,
|
|
4
|
+
import { ActionContextStoreSourceInstance, DbxActionSnackbarComponentConfig } from '@dereekb/dbx-core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Component for a snackbar that contains an action.
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
10
|
-
readonly snackbar: MatSnackBarRef<
|
|
11
|
-
readonly data:
|
|
12
|
-
constructor(snackbar: MatSnackBarRef<
|
|
9
|
+
export declare class DbxActionSnackbarComponent {
|
|
10
|
+
readonly snackbar: MatSnackBarRef<DbxActionSnackbarComponent>;
|
|
11
|
+
readonly data: DbxActionSnackbarComponentConfig;
|
|
12
|
+
constructor(snackbar: MatSnackBarRef<DbxActionSnackbarComponent>, data: DbxActionSnackbarComponentConfig);
|
|
13
13
|
readonly complete$: Observable<boolean>;
|
|
14
14
|
readonly snackbarStatusClass$: Observable<string>;
|
|
15
15
|
get message(): Maybe<string>;
|
|
@@ -17,6 +17,6 @@ export declare class DbNgxActionSnackbarComponent {
|
|
|
17
17
|
get actionSourceInstance(): ActionContextStoreSourceInstance;
|
|
18
18
|
dismissEarly: () => void;
|
|
19
19
|
dismiss: () => void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionSnackbarComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxActionSnackbarComponent, "ng-component", never, {}, {}, never, never>;
|
|
22
22
|
}
|
|
@@ -6,12 +6,12 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*
|
|
7
7
|
* Events/Keys to respond to should be lowercase.
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class DbxActionKeyTriggerDirective<T = any, O = any> {
|
|
10
10
|
readonly source: ActionContextStoreSourceInstance<T, O>;
|
|
11
11
|
inputKey: Maybe<string>;
|
|
12
12
|
constructor(source: ActionContextStoreSourceInstance<T, O>);
|
|
13
13
|
get key(): string;
|
|
14
14
|
onKeyupHandler(event: KeyboardEvent): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionKeyTriggerDirective<any, any>, [{ host: true; }]>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionKeyTriggerDirective<any, any>, "[dbxActionKeyTrigger]", never, { "inputKey": "dbxActionKeyTrigger"; }, {}, never>;
|
|
17
17
|
}
|
|
@@ -7,12 +7,12 @@ import * as i5 from "../../interaction/prompt/prompt.module";
|
|
|
7
7
|
import * as i6 from "../../button/button.module";
|
|
8
8
|
import * as i7 from "../../error/error.module";
|
|
9
9
|
/**
|
|
10
|
-
* Provides the
|
|
10
|
+
* Provides the DbxActionUIRouterTransitionSafetyDirective.
|
|
11
11
|
*
|
|
12
12
|
* NOTE: Only works with UIRouter
|
|
13
13
|
*/
|
|
14
|
-
export declare class
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
14
|
+
export declare class DbxActionUIRouterTransitionModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionUIRouterTransitionModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxActionUIRouterTransitionModule, [typeof i1.DbxActionTransitionSafetyDirective, typeof i2.DbxActionUIRouterTransitionSafetyDialogComponent], [typeof i3.CommonModule, typeof i4.DbxCoreActionModule, typeof i5.DbxPromptModule, typeof i6.DbxButtonModule, typeof i7.DbxReadableErrorModule], [typeof i1.DbxActionTransitionSafetyDirective]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxActionUIRouterTransitionModule>;
|
|
18
18
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { DbxPromptConfirmConfig, AbstractDialogDirective } from '../../interaction';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare enum
|
|
4
|
+
export declare enum DbxActionTransitionSafetyDialogResult {
|
|
5
5
|
SUCCESS = 0,
|
|
6
6
|
STAY = 1,
|
|
7
7
|
DISCARD = 2,
|
|
8
8
|
NONE = 3
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* Dialog that is shown/triggered as part of the
|
|
11
|
+
* Dialog that is shown/triggered as part of the DbxActionTransitionSafety
|
|
12
12
|
*/
|
|
13
|
-
export declare class
|
|
14
|
-
config:
|
|
13
|
+
export declare class DbxActionUIRouterTransitionSafetyDialogComponent extends AbstractDialogDirective implements OnInit {
|
|
14
|
+
config: DbxPromptConfirmConfig;
|
|
15
15
|
confirm(): void;
|
|
16
16
|
cancel(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionUIRouterTransitionSafetyDialogComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxActionUIRouterTransitionSafetyDialogComponent, "ng-component", never, {}, {}, never, never>;
|
|
19
19
|
}
|
|
@@ -4,24 +4,15 @@ import { HookResult, Transition, TransitionService } from '@uirouter/core';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { ActionContextStoreSourceInstance } from '@dereekb/dbx-core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Try to auto-trigger if in a triggerable state.
|
|
18
|
-
*
|
|
19
|
-
* If it is modified but in a non-triggerable state show a dialog.
|
|
20
|
-
*
|
|
21
|
-
* Should be used in conjuction with the auto-saver.
|
|
22
|
-
*/
|
|
23
|
-
AUTO_TRIGGER = "auto"
|
|
24
|
-
}
|
|
7
|
+
/**
|
|
8
|
+
* How to handle transitions.
|
|
9
|
+
*
|
|
10
|
+
* Values:
|
|
11
|
+
* - none: Nothing occurs.
|
|
12
|
+
* - dialog: Always show a dialog and act based on the result.
|
|
13
|
+
* - auto: Try to auto-trigger if in a triggerable state. If it is modified but in a non-triggerable state, show a dialog. Should be used in conjuction with the auto-saver.
|
|
14
|
+
*/
|
|
15
|
+
export declare type DbxActionTransitionSafetyType = 'none' | 'dialog' | 'auto';
|
|
25
16
|
/**
|
|
26
17
|
* Context used for preventing a transition from occuring if the action is not complete or is in a modified state.
|
|
27
18
|
*
|
|
@@ -29,16 +20,16 @@ export declare enum DbNgxActionTransitionSafetyType {
|
|
|
29
20
|
*
|
|
30
21
|
* NOTE: This dialog only works for uirouter.
|
|
31
22
|
*/
|
|
32
|
-
export declare class
|
|
23
|
+
export declare class DbxActionTransitionSafetyDirective<T, O> implements OnInit, OnDestroy {
|
|
33
24
|
readonly source: ActionContextStoreSourceInstance<T, O>;
|
|
34
25
|
protected readonly transitionService: TransitionService;
|
|
35
26
|
protected readonly viewContainerRef: ViewContainerRef;
|
|
36
27
|
protected readonly dialog: MatDialog;
|
|
37
|
-
inputSafetyType?:
|
|
28
|
+
inputSafetyType?: DbxActionTransitionSafetyType;
|
|
38
29
|
private _dialogRef?;
|
|
39
30
|
private stopWatchingTransition?;
|
|
40
31
|
constructor(source: ActionContextStoreSourceInstance<T, O>, transitionService: TransitionService, viewContainerRef: ViewContainerRef, dialog: MatDialog);
|
|
41
|
-
get safetyType():
|
|
32
|
+
get safetyType(): DbxActionTransitionSafetyType;
|
|
42
33
|
private get _destroyed();
|
|
43
34
|
ngOnInit(): void;
|
|
44
35
|
ngOnDestroy(): void;
|
|
@@ -47,6 +38,6 @@ export declare class DbNgxActionTransitionSafetyDirective<T, O> implements OnIni
|
|
|
47
38
|
private _autoTrigger;
|
|
48
39
|
private _showDialog;
|
|
49
40
|
private _closeDialog;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
51
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionTransitionSafetyDirective<any, any>, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionTransitionSafetyDirective<any, any>, "[dbxActionTransitionSafety]", never, { "inputSafetyType": "dbxActionTransitionSafety"; }, {}, never>;
|
|
52
43
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use '../style/theming';
|
|
2
|
+
|
|
3
|
+
// MARK: Variables
|
|
4
|
+
$button-spacer-width: 6px;
|
|
5
|
+
|
|
6
|
+
// MARK: Mixin
|
|
7
|
+
@mixin core() {
|
|
8
|
+
|
|
9
|
+
.dbx-button-spacer {
|
|
10
|
+
padding-right: $button-spacer-width;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin color($theme-config) {}
|
|
16
|
+
|
|
17
|
+
@mixin typography($typography-config) {}
|
|
18
|
+
|
|
19
|
+
@mixin theme($theme-config) {
|
|
20
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-button') {
|
|
21
|
+
$color: theming.get-color-config($theme-config);
|
|
22
|
+
$typography: theming.get-typography-config($theme-config);
|
|
23
|
+
|
|
24
|
+
@if $color !=null {
|
|
25
|
+
@include color($theme-config);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@if $typography !=null {
|
|
29
|
+
@include typography($typography);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ThemePalette } from '@angular/material/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AbstractDbxButtonDirective } from '@dereekb/dbx-core';
|
|
3
3
|
import { MatProgressButtonOptions } from 'mat-progress-buttons';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare enum
|
|
5
|
+
export declare enum DbxButtonDisplayType {
|
|
6
6
|
RAISED = 0,
|
|
7
7
|
STROKED = 1,
|
|
8
8
|
FLAT = 2
|
|
@@ -10,8 +10,8 @@ export declare enum DbNgxButtonDisplayType {
|
|
|
10
10
|
/**
|
|
11
11
|
* Complex button that supports loading states.
|
|
12
12
|
*/
|
|
13
|
-
export declare class
|
|
14
|
-
type?:
|
|
13
|
+
export declare class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
14
|
+
type?: DbxButtonDisplayType;
|
|
15
15
|
get raised(): boolean;
|
|
16
16
|
set raised(raised: boolean);
|
|
17
17
|
get stroked(): boolean;
|
|
@@ -20,6 +20,6 @@ export declare class DbNgxButtonComponent extends AbstractDbNgxButtonDirective {
|
|
|
20
20
|
set flat(flat: boolean);
|
|
21
21
|
color: ThemePalette;
|
|
22
22
|
get btnOptions(): MatProgressButtonOptions;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxButtonComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxButtonComponent, "dbx-button", never, { "type": "type"; "raised": "raised"; "stroked": "stroked"; "flat": "flat"; "color": "color"; }, {}, never, never>;
|
|
25
25
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./button.component";
|
|
3
3
|
import * as i2 from "./button.spacer.component";
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
static
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxButtonModule, [typeof i1.DbNgxButtonComponent, typeof i2.DbNgxButtonSpacerComponent], [typeof i3.BrowserModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatProgressButtonsModule], [typeof i1.DbNgxButtonComponent, typeof i2.DbNgxButtonSpacerComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxButtonModule>;
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "mat-progress-buttons";
|
|
6
|
+
export declare class DbxButtonModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxButtonModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxButtonModule, [typeof i1.DbxButtonComponent, typeof i2.DbxButtonSpacerComponent], [typeof i3.CommonModule, typeof i4.MatProgressButtonsModule], [typeof i4.MatProgressButtonsModule, typeof i1.DbxButtonComponent, typeof i2.DbxButtonSpacerComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxButtonModule>;
|
|
12
10
|
}
|
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
/**
|
|
3
3
|
* Button spacer component.
|
|
4
4
|
*/
|
|
5
|
-
export declare class
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
5
|
+
export declare class DbxButtonSpacerComponent {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxButtonSpacerComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxButtonSpacerComponent, "dbx-button-spacer", never, {}, {}, never, never>;
|
|
8
8
|
}
|
package/lib/dbx-web.module.d.ts
CHANGED
|
@@ -2,15 +2,20 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./button/button.module";
|
|
3
3
|
import * as i2 from "./action/action.module";
|
|
4
4
|
import * as i3 from "./loading/loading.module";
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
static
|
|
9
|
-
static
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxWebModule>;
|
|
5
|
+
import * as i4 from "mat-progress-buttons";
|
|
6
|
+
export declare class DbxWebModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxWebModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxWebModule, never, never, [typeof i1.DbxButtonModule, typeof i2.DbxActionModule, typeof i3.DbxLoadingModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxWebModule>;
|
|
11
10
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Should only be imported once in the root app.
|
|
13
|
+
*
|
|
14
|
+
* Pre-configures the following modules:
|
|
15
|
+
* - MatProgressButtonsModule
|
|
16
|
+
*/
|
|
17
|
+
export declare class DbxWebRootModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxWebRootModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxWebRootModule, never, [typeof i4.MatProgressButtonsModule], never>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxWebRootModule>;
|
|
16
21
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@use '../style/theming';
|
|
2
|
+
|
|
3
|
+
// MARK: Variables
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// MARK: Mixin
|
|
7
|
+
@mixin core() {}
|
|
8
|
+
|
|
9
|
+
@mixin color($theme-config) {}
|
|
10
|
+
|
|
11
|
+
@mixin typography($typography-config) {}
|
|
12
|
+
|
|
13
|
+
@mixin theme($theme-config) {
|
|
14
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-error') {
|
|
15
|
+
$color: theming.get-color-config($theme-config);
|
|
16
|
+
$typography: theming.get-typography-config($theme-config);
|
|
17
|
+
|
|
18
|
+
@if $color !=null {
|
|
19
|
+
@include color($theme-config);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@if $typography !=null {
|
|
23
|
+
@include typography($typography);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ActionContextStoreSourceInstance, AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
3
|
-
import {
|
|
3
|
+
import { DbxReadableErrorComponent } from './error.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Context used for linking an ReadableErrorComponent to an ActionContext.
|
|
7
7
|
*/
|
|
8
|
-
export declare class
|
|
9
|
-
readonly error:
|
|
8
|
+
export declare class DbxActionErrorDirective extends AbstractSubscriptionDirective implements OnInit {
|
|
9
|
+
readonly error: DbxReadableErrorComponent;
|
|
10
10
|
readonly source: ActionContextStoreSourceInstance;
|
|
11
|
-
constructor(error:
|
|
11
|
+
constructor(error: DbxReadableErrorComponent, source: ActionContextStoreSourceInstance);
|
|
12
12
|
ngOnInit(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionErrorDirective, [{ host: true; }, null]>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionErrorDirective, "[dbxActionError]", never, {}, {}, never>;
|
|
15
15
|
}
|
|
@@ -4,11 +4,11 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
/**
|
|
5
5
|
* Basic error component.
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class DbxReadableErrorComponent {
|
|
8
8
|
private _error?;
|
|
9
9
|
get error(): Maybe<ReadableError>;
|
|
10
10
|
set error(error: Maybe<ErrorInput | ReadableError>);
|
|
11
11
|
get message(): Maybe<string>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxReadableErrorComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxReadableErrorComponent, "dbx-error", never, { "error": "error"; }, {}, never, never>;
|
|
14
14
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { LoadingContext } from '@dereekb/rxjs';
|
|
2
2
|
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
3
|
-
import {
|
|
3
|
+
import { DbxReadableErrorComponent } from './error.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Context used for linking an ReadableErrorComponent to a LoadingContext.
|
|
7
7
|
*
|
|
8
8
|
* The error from the context is given to the app error when available.
|
|
9
9
|
*/
|
|
10
|
-
export declare class
|
|
11
|
-
readonly error:
|
|
12
|
-
constructor(error:
|
|
10
|
+
export declare class DbxLoadingErrorDirective extends AbstractSubscriptionDirective {
|
|
11
|
+
readonly error: DbxReadableErrorComponent;
|
|
12
|
+
constructor(error: DbxReadableErrorComponent);
|
|
13
13
|
/**
|
|
14
14
|
* Sets a LoadingContext that is watched for the loading state.
|
|
15
15
|
*/
|
|
16
16
|
set context(context: LoadingContext);
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxLoadingErrorDirective, [{ host: true; }]>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxLoadingErrorDirective, "[dbxLoadingError]", never, { "context": "dbxLoadingError"; }, {}, never>;
|
|
19
19
|
}
|
|
@@ -3,8 +3,8 @@ import * as i1 from "./error.component";
|
|
|
3
3
|
import * as i2 from "./error.loading.directive";
|
|
4
4
|
import * as i3 from "./error.action.directive";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
|
-
export declare class
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
6
|
+
export declare class DbxReadableErrorModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxReadableErrorModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxReadableErrorModule, [typeof i1.DbxReadableErrorComponent, typeof i2.DbxLoadingErrorDirective, typeof i3.DbxActionErrorDirective], [typeof i4.CommonModule], [typeof i1.DbxReadableErrorComponent, typeof i2.DbxLoadingErrorDirective, typeof i3.DbxActionErrorDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxReadableErrorModule>;
|
|
10
10
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use './dialog/dialog';
|
|
2
|
+
@use './filter/filter';
|
|
3
|
+
@use './popover/popover';
|
|
4
|
+
@use './popup/popup';
|
|
5
|
+
@use './prompt/prompt';
|
|
6
|
+
@use './style/style';
|
|
7
|
+
|
|
8
|
+
@mixin all-interaction-core() {
|
|
9
|
+
@include dialog.core();
|
|
10
|
+
@include filter.core();
|
|
11
|
+
@include popover.core();
|
|
12
|
+
@include popup.core();
|
|
13
|
+
@include prompt.core();
|
|
14
|
+
@include style.core();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin all-interaction-typography($typography-config) {
|
|
18
|
+
@include dialog.typography($typography-config);
|
|
19
|
+
@include filter.typography($typography-config);
|
|
20
|
+
@include popover.typography($typography-config);
|
|
21
|
+
@include popup.typography($typography-config);
|
|
22
|
+
@include prompt.typography($typography-config);
|
|
23
|
+
@include style.typography($typography-config);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin all-interaction-theme($theme-config) {
|
|
27
|
+
@include dialog.theme($theme-config);
|
|
28
|
+
@include filter.theme($theme-config);
|
|
29
|
+
@include popover.theme($theme-config);
|
|
30
|
+
@include popup.theme($theme-config);
|
|
31
|
+
@include prompt.theme($theme-config);
|
|
32
|
+
@include style.theme($theme-config);
|
|
33
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@use '../../style/theming';
|
|
2
|
+
|
|
3
|
+
// MARK: Variables
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// MARK: Mixin
|
|
7
|
+
@mixin core() {}
|
|
8
|
+
|
|
9
|
+
@mixin color($theme-config) {}
|
|
10
|
+
|
|
11
|
+
@mixin typography($typography-config) {}
|
|
12
|
+
|
|
13
|
+
@mixin theme($theme-config) {
|
|
14
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-interaction-dialog') {
|
|
15
|
+
$color: theming.get-color-config($theme-config);
|
|
16
|
+
$typography: theming.get-typography-config($theme-config);
|
|
17
|
+
|
|
18
|
+
@if $color !=null {
|
|
19
|
+
@include color($theme-config);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@if $typography !=null {
|
|
23
|
+
@include typography($typography);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { NgZone } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { AbstractTransitionWatcherDirective,
|
|
3
|
+
import { AbstractTransitionWatcherDirective, DbxRouterTransitionService } from '@dereekb/dbx-core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Abstract dialog component that closes when a transition is successful.
|
|
7
7
|
*/
|
|
8
|
-
export declare abstract class AbstractDialogDirective<
|
|
8
|
+
export declare abstract class AbstractDialogDirective<R = any, D = any, T = any> extends AbstractTransitionWatcherDirective {
|
|
9
|
+
readonly data: D;
|
|
9
10
|
readonly dialogRef: MatDialogRef<T, R>;
|
|
10
|
-
constructor(dialogRef: MatDialogRef<T, R>, dbNgxRouterTransitionService:
|
|
11
|
+
constructor(data: D, dialogRef: MatDialogRef<T, R>, dbNgxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
|
|
11
12
|
protected updateForSuccessfulTransition(): void;
|
|
12
|
-
|
|
13
|
-
static
|
|
13
|
+
close(value?: R): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialogDirective<any, any, any>, [{ optional: true; }, null, null, null]>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDialogDirective<any, any, any>, never, never, {}, {}, never>;
|
|
14
16
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare type DbxDialogContentContainerWidth = 'normal' | 'wide';
|
|
3
|
+
/**
|
|
4
|
+
* Component used to style a dialog.
|
|
5
|
+
*/
|
|
6
|
+
export declare class DbxDialogContentDirective {
|
|
7
|
+
width: string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDialogContentDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxDialogContentDirective, "dbx-dialog-content,.dbx-dialog-content", never, { "width": "width"; }, {}, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dialog.content.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../layout/style/style.layout.module";
|
|
5
|
+
/**
|
|
6
|
+
* Module for block components.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DbxDialogInteractionModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDialogInteractionModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxDialogInteractionModule, [typeof i1.DbxDialogContentDirective], [typeof i2.CommonModule, typeof i3.DbxStyleLayoutModule], [typeof i1.DbxDialogContentDirective]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxDialogInteractionModule>;
|
|
12
|
+
}
|