@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
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxPopoverComponentConfig } from './popover.component';
|
|
2
2
|
import { Injector } from '@angular/core';
|
|
3
3
|
import { NgPopoverRef } from 'ng-overlay-container';
|
|
4
4
|
import { Overlay } from '@angular/cdk/overlay';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface
|
|
6
|
+
export interface DbxPopoverConfig<O, I, T> extends DbxPopoverComponentConfig<O, I, T> {
|
|
7
7
|
injector?: Injector;
|
|
8
8
|
height?: string;
|
|
9
9
|
width?: string;
|
|
@@ -11,12 +11,12 @@ export interface DbNgxPopoverConfig<I, O, T> extends DbNgxPopoverComponentConfig
|
|
|
11
11
|
/**
|
|
12
12
|
* Used for displaying a popover.
|
|
13
13
|
*/
|
|
14
|
-
export declare class
|
|
14
|
+
export declare class DbxPopoverService {
|
|
15
15
|
private _overlay;
|
|
16
16
|
private _injector;
|
|
17
17
|
private _overlayContainerService;
|
|
18
18
|
constructor(_overlay: Overlay, _injector: Injector);
|
|
19
|
-
open<
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
19
|
+
open<O, I, T>(config: DbxPopoverConfig<O, I, T>): NgPopoverRef<DbxPopoverComponentConfig<O, I, T>, O>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopoverService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbxPopoverService>;
|
|
22
22
|
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '../../style/theming';
|
|
4
|
+
|
|
5
|
+
// MARK: Variables
|
|
6
|
+
$dbx-popup-controls-height: 33px;
|
|
7
|
+
$dbx-popup-content-padding: 8px;
|
|
8
|
+
$dbx-popup-content-padding-top: 2px;
|
|
9
|
+
|
|
10
|
+
$dbx-popup-container-margin: 16px;
|
|
11
|
+
$dbx-popup-controls-vertical-padding: 4px;
|
|
12
|
+
$dbx-popup-border-radius: 4px;
|
|
13
|
+
|
|
14
|
+
// MARK: Mixin
|
|
15
|
+
@mixin core() {
|
|
16
|
+
|
|
17
|
+
.dbx-popup-content {
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
max-height: theming.$app-height;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dbx-popup-content-container {
|
|
24
|
+
max-height: calc(theming.$app-height - #{ $dbx-popup-controls-height });
|
|
25
|
+
padding: $dbx-popup-content-padding;
|
|
26
|
+
padding-top: $dbx-popup-content-padding-top;
|
|
27
|
+
overflow: auto;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.dbx-popup-controls {
|
|
32
|
+
height: $dbx-popup-controls-height;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
padding: $dbx-popup-controls-vertical-padding $dbx-popup-content-padding;
|
|
37
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.dbx-popup-control-buttons {
|
|
42
|
+
min-width: 220px;
|
|
43
|
+
display: inline-block;
|
|
44
|
+
text-align: right;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin color($theme-config) {
|
|
50
|
+
$color-config: theming.get-color-config($theme-config);
|
|
51
|
+
$background: map.get($color-config, 'background');
|
|
52
|
+
$controls-bg-color: theming.get-color-from-palette($background);
|
|
53
|
+
$controls-text-color: theming.get-color-from-palette($background, 'contrast');
|
|
54
|
+
|
|
55
|
+
.dbx-popup-controls {
|
|
56
|
+
color: $controls-text-color;
|
|
57
|
+
background: $controls-bg-color;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@mixin typography($typography-config) {
|
|
62
|
+
|
|
63
|
+
.dbx-popup-controls-header {
|
|
64
|
+
@include theming.limit-text();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@mixin theme($theme-config) {
|
|
70
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-interaction-popup') {
|
|
71
|
+
$color: theming.get-color-config($theme-config);
|
|
72
|
+
$typography: theming.get-typography-config($theme-config);
|
|
73
|
+
|
|
74
|
+
@if $color !=null {
|
|
75
|
+
@include color($theme-config);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@if $typography !=null {
|
|
79
|
+
@include typography($typography);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxPopupComponent } from './popup.component';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Abstract popup directive.
|
|
5
5
|
*/
|
|
6
|
-
export declare abstract class AbstractPopupDirective<
|
|
7
|
-
readonly popup:
|
|
8
|
-
constructor(popup:
|
|
6
|
+
export declare abstract class AbstractPopupDirective<O = any, I = any, T = any> {
|
|
7
|
+
readonly popup: DbxPopupComponent<O, I, T>;
|
|
8
|
+
constructor(popup: DbxPopupComponent<O, I, T>);
|
|
9
9
|
closePopup(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPopupDirective<any, any, any>, never>;
|
|
11
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPopupDirective<any, any, any>, never, never, {}, {}, never>;
|
|
@@ -1,53 +1,50 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NgZone, Type, OnDestroy } from '@angular/core';
|
|
2
2
|
import { NgPopoverRef } from 'ng-overlay-container';
|
|
3
3
|
import { Maybe } from '@dereekb/util';
|
|
4
4
|
import { CompactContextStore } from '../../layout';
|
|
5
5
|
import { PopupPosition, PopupPositionOffset } from './popup.position.strategy';
|
|
6
|
-
import { AbstractTransitionWatcherDirective,
|
|
7
|
-
import {
|
|
6
|
+
import { AbstractTransitionWatcherDirective, DbxInjectedComponentConfig, DbxRouterTransitionService } from '@dereekb/dbx-core';
|
|
7
|
+
import { DbxPopupController, DbxPopupKey, DbxPopupWindowState } from './popup';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare const APP_POPUP_NORMAL_WIDTH = "700px";
|
|
10
10
|
export declare const APP_POPUP_MINIMIZED_WIDTH = "300px";
|
|
11
11
|
export declare const APP_POPUP_NORMAL_HEIGHT = "auto";
|
|
12
|
-
export declare abstract class
|
|
12
|
+
export declare abstract class DbxPopupComponentController<O, I> extends DbxPopupController<O, I> {
|
|
13
13
|
getClosingValueFn?: (value?: I) => Promise<O>;
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface DbxPopupComponentConfig<O, I, T> {
|
|
16
16
|
/**
|
|
17
17
|
* Key used for uniquely identifying a limited instance.
|
|
18
18
|
*
|
|
19
19
|
* Only one popup should exist at a time given a certain key.
|
|
20
20
|
*/
|
|
21
|
-
key:
|
|
21
|
+
key: DbxPopupKey;
|
|
22
22
|
position?: PopupPosition;
|
|
23
23
|
offset?: PopupPositionOffset;
|
|
24
24
|
closeOnTransition?: boolean;
|
|
25
25
|
componentClass: Type<T>;
|
|
26
26
|
data?: I;
|
|
27
27
|
isDraggable?: boolean;
|
|
28
|
-
init?: (component: T, controller:
|
|
28
|
+
init?: (component: T, controller: DbxPopupController<O, I>) => void;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Popup component.
|
|
32
32
|
*/
|
|
33
|
-
export declare class
|
|
33
|
+
export declare class DbxPopupComponent<O = any, I = any, T = any> extends AbstractTransitionWatcherDirective implements DbxPopupController<O, I>, OnDestroy {
|
|
34
34
|
private popoverRef;
|
|
35
35
|
private compactContextState;
|
|
36
|
-
private resolver;
|
|
37
36
|
private _position;
|
|
38
|
-
|
|
39
|
-
private _componentRef?;
|
|
37
|
+
readonly contentConfig: DbxInjectedComponentConfig;
|
|
40
38
|
private readonly closing;
|
|
41
39
|
readonly isClosing$: import("rxjs").Observable<boolean>;
|
|
42
40
|
readonly closing$: import("rxjs").Observable<boolean>;
|
|
43
41
|
private readonly _windowState;
|
|
44
|
-
readonly windowState$: import("rxjs").Observable<
|
|
42
|
+
readonly windowState$: import("rxjs").Observable<DbxPopupWindowState>;
|
|
45
43
|
getClosingValueFn?: (value?: I) => Promise<O>;
|
|
46
|
-
constructor(popoverRef: NgPopoverRef<
|
|
47
|
-
get config():
|
|
48
|
-
get key():
|
|
44
|
+
constructor(popoverRef: NgPopoverRef<DbxPopupComponentConfig<O, I, T>, O>, compactContextState: CompactContextStore, dbNgxRouterTransitionService: DbxRouterTransitionService, ngZone: NgZone);
|
|
45
|
+
get config(): DbxPopupComponentConfig<O, I, T>;
|
|
46
|
+
get key(): DbxPopupKey;
|
|
49
47
|
get data(): Maybe<I>;
|
|
50
|
-
ngOnInit(): void;
|
|
51
48
|
ngOnDestroy(): void;
|
|
52
49
|
protected updateForSuccessfulTransition(): void;
|
|
53
50
|
close(): void;
|
|
@@ -55,6 +52,6 @@ export declare class DbNgxPopupComponent<I = any, O = any, T = any> extends Abst
|
|
|
55
52
|
minimize(): void;
|
|
56
53
|
normalscreen(): void;
|
|
57
54
|
fullscreen(): void;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupComponent<any, any, any>, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPopupComponent<any, any, any>, "ng-component", never, {}, {}, never, never>;
|
|
60
57
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxPopupController } from './popup';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Popup content wrapper component.
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class DbxPopupContentComponent {
|
|
7
7
|
private appPopupController;
|
|
8
8
|
readonly showContent$: import("rxjs").Observable<boolean>;
|
|
9
|
-
constructor(appPopupController:
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
9
|
+
constructor(appPopupController: DbxPopupController);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupContentComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPopupContentComponent, "dbx-popup-content", never, {}, {}, never, ["[controls]", "*"]>;
|
|
12
12
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxPopupController } from './popup';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Popup Control Buttons.
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class DbxPopupControlButtonsComponent {
|
|
7
7
|
private appPopupController;
|
|
8
8
|
readonly isMinimized$: import("rxjs").Observable<boolean>;
|
|
9
9
|
readonly isFullscreen$: import("rxjs").Observable<boolean>;
|
|
10
|
-
constructor(appPopupController:
|
|
10
|
+
constructor(appPopupController: DbxPopupController);
|
|
11
11
|
minimizeClicked(): void;
|
|
12
12
|
maximizeClicked(): void;
|
|
13
13
|
fullscreenClicked(): void;
|
|
14
14
|
normalscreenClicked(): void;
|
|
15
15
|
closeClicked(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupControlButtonsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPopupControlButtonsComponent, "dbx-popup-control-buttons", never, {}, {}, never, never>;
|
|
18
18
|
}
|
|
@@ -2,8 +2,8 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
/**
|
|
3
3
|
* Popup Controls
|
|
4
4
|
*/
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class DbxPopupControlsComponent {
|
|
6
6
|
header?: string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupControlsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPopupControlsComponent, "dbx-popup-controls", never, { "header": "header"; }, {}, never, never>;
|
|
9
9
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxPopupController } from './popup';
|
|
2
2
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { DbxPopupCoordinatorService } from './popup.coordinator.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Used for coordinating popups and closing/replacing existing ones when a new popup of the same name appears.
|
|
7
7
|
*/
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class DbxPopupCoordinatorComponent implements OnInit, OnDestroy {
|
|
9
9
|
private readonly service;
|
|
10
10
|
private readonly popup;
|
|
11
11
|
readonly isPopupForKey$: import("rxjs").Observable<boolean>;
|
|
12
12
|
readonly show$: import("rxjs").Observable<boolean>;
|
|
13
|
-
constructor(service:
|
|
13
|
+
constructor(service: DbxPopupCoordinatorService, popup: DbxPopupController);
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupCoordinatorComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPopupCoordinatorComponent, "dbx-popup-coordinator", never, {}, {}, never, ["*"]>;
|
|
18
18
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxPopupKey, DbxPopupController } from './popup';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Used for coordinating popups and closing/replacing existing ones when a new popup of the same name appears.
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class DbxPopupCoordinatorService {
|
|
7
7
|
private _popups;
|
|
8
|
-
readonly popups$: import("rxjs").Observable<Map<string,
|
|
8
|
+
readonly popups$: import("rxjs").Observable<Map<string, DbxPopupController<any, any>>>;
|
|
9
9
|
constructor();
|
|
10
|
-
get popups(): Map<
|
|
11
|
-
addPopup(popup:
|
|
12
|
-
removePopup(key:
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
10
|
+
get popups(): Map<DbxPopupKey, DbxPopupController>;
|
|
11
|
+
addPopup(popup: DbxPopupController): void;
|
|
12
|
+
removePopup(key: DbxPopupKey, popup?: DbxPopupController): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupCoordinatorService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbxPopupCoordinatorService>;
|
|
15
15
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Maybe } from '@dereekb/util';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
export declare type
|
|
4
|
-
export declare enum
|
|
3
|
+
export declare type DbxPopupKey = string;
|
|
4
|
+
export declare enum DbxPopupWindowState {
|
|
5
5
|
NORMAL = "normal",
|
|
6
6
|
MINIMIZED = "minimized",
|
|
7
7
|
FULLSCREEN = "fullscreen"
|
|
8
8
|
}
|
|
9
|
-
export declare abstract class
|
|
10
|
-
abstract readonly key:
|
|
9
|
+
export declare abstract class DbxPopupController<O = any, I = any> {
|
|
10
|
+
abstract readonly key: DbxPopupKey;
|
|
11
11
|
abstract readonly data?: Maybe<I>;
|
|
12
|
-
abstract readonly windowState$: Observable<
|
|
12
|
+
abstract readonly windowState$: Observable<DbxPopupWindowState>;
|
|
13
13
|
abstract readonly closing$: Observable<boolean>;
|
|
14
14
|
/**
|
|
15
15
|
* Signals for the popup to close.
|
|
@@ -9,12 +9,14 @@ import * as i6 from "@angular/common";
|
|
|
9
9
|
import * as i7 from "@angular/material/icon";
|
|
10
10
|
import * as i8 from "@angular/material/button";
|
|
11
11
|
import * as i9 from "../../button/button.module";
|
|
12
|
-
import * as i10 from "../../router/anchor/anchor.module";
|
|
12
|
+
import * as i10 from "../../router/layout/anchor/anchor.module";
|
|
13
13
|
import * as i11 from "../../action/action.module";
|
|
14
|
-
import * as i12 from "
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
static
|
|
19
|
-
static
|
|
14
|
+
import * as i12 from "../../layout/style/style.layout.module";
|
|
15
|
+
import * as i13 from "@dereekb/dbx-core";
|
|
16
|
+
import * as i14 from "ng-overlay-container";
|
|
17
|
+
export declare class DbxPopupInteractionModule {
|
|
18
|
+
static forRoot(): ModuleWithProviders<DbxPopupInteractionModule>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupInteractionModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPopupInteractionModule, [typeof i1.DbxPopupComponent, typeof i2.DbxPopupCoordinatorComponent, typeof i3.DbxPopupContentComponent, typeof i4.DbxPopupControlsComponent, typeof i5.DbxPopupControlButtonsComponent], [typeof i6.CommonModule, typeof i7.MatIconModule, typeof i8.MatButtonModule, typeof i9.DbxButtonModule, typeof i10.DbxAnchorModule, typeof i11.DbxActionModule, typeof i12.DbxStyleLayoutModule, typeof i13.DbxInjectedComponentModule, typeof i14.NgOverlayContainerModule], [typeof i3.DbxPopupContentComponent, typeof i4.DbxPopupControlsComponent, typeof i5.DbxPopupControlButtonsComponent]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxPopupInteractionModule>;
|
|
20
22
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { GlobalPositionStrategy } from '@angular/cdk/overlay';
|
|
2
|
-
export declare
|
|
3
|
-
CENTERED = "centered",
|
|
4
|
-
BOTTOM_LEFT = "bottom_left",
|
|
5
|
-
BOTTOM_RIGHT = "bottom_right"
|
|
6
|
-
}
|
|
2
|
+
export declare type PopupPosition = 'center' | 'bottom_left' | 'bottom_right';
|
|
7
3
|
export interface PopupPositionOffset {
|
|
8
4
|
x?: string;
|
|
9
5
|
y?: string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxPopupComponentConfig } from './popup.component';
|
|
2
2
|
import { Injector } from '@angular/core';
|
|
3
3
|
import { NgPopoverRef } from 'ng-overlay-container';
|
|
4
4
|
import { Overlay } from '@angular/cdk/overlay';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface
|
|
6
|
+
export interface DbxPopupConfig<O, I, T> extends DbxPopupComponentConfig<O, I, T> {
|
|
7
7
|
injector?: Injector;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Used for displaying a popup.
|
|
11
11
|
*/
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class DbxPopupService {
|
|
13
13
|
private _overlay;
|
|
14
14
|
private _injector;
|
|
15
15
|
private _overlayContainerService;
|
|
16
16
|
constructor(_overlay: Overlay, _injector: Injector);
|
|
17
|
-
open<
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
17
|
+
open<O, I, T>(config: DbxPopupConfig<O, I, T>): NgPopoverRef<DbxPopupComponentConfig<O, I, T>, O>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbxPopupService>;
|
|
20
20
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use '../../style/theming';
|
|
2
|
+
|
|
3
|
+
// MARK: Variables
|
|
4
|
+
$box-max-width: theming.$box-max-width;
|
|
5
|
+
$dbx-popup-controls-height: 33px;
|
|
6
|
+
|
|
7
|
+
// MARK: Mixin
|
|
8
|
+
@mixin core() {
|
|
9
|
+
|
|
10
|
+
.dbx-prompt-page {
|
|
11
|
+
.dbx-prompt-page-content-wrap {
|
|
12
|
+
padding-top: calc(theming.$app-height * .2)
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.dbx-prompt-box {
|
|
17
|
+
margin: auto;
|
|
18
|
+
padding: 40px;
|
|
19
|
+
max-width: $box-max-width;
|
|
20
|
+
|
|
21
|
+
&.elevated {
|
|
22
|
+
@include theming.elevation(2);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin color($theme-config) {}
|
|
30
|
+
|
|
31
|
+
@mixin typography($typography-config) {}
|
|
32
|
+
|
|
33
|
+
@mixin theme($theme-config) {
|
|
34
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-interaction-prompt') {
|
|
35
|
+
$color: theming.get-color-config($theme-config);
|
|
36
|
+
$typography: theming.get-typography-config($theme-config);
|
|
37
|
+
|
|
38
|
+
@if $color !=null {
|
|
39
|
+
@include color($theme-config);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@if $typography !=null {
|
|
43
|
+
@include typography($typography);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class DbxPromptBoxComponent {
|
|
3
3
|
elevated: boolean;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptBoxComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPromptBoxComponent, "dbx-prompt-box", never, { "elevated": "elevated"; "fullWidth": "fullWidth"; "noPadding": "noPadding"; }, {}, never, ["*"]>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPromptBoxComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPromptBoxComponent, "dbx-prompt-box", never, { "elevated": "elevated"; }, {}, never, ["*"]>;
|
|
8
6
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxButtonDirective, DbxButtonInterceptor } from '@dereekb/dbx-core';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
4
|
+
import { DbxPromptConfirm } from './prompt.confirm';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Directive that binds together a confirm dialog with the button.
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
10
|
-
readonly appButton:
|
|
11
|
-
readonly prompt:
|
|
9
|
+
export declare class DbxPromptConfirmButtonDirective implements OnInit, DbxButtonInterceptor {
|
|
10
|
+
readonly appButton: DbxButtonDirective;
|
|
11
|
+
readonly prompt: DbxPromptConfirm;
|
|
12
12
|
readonly interceptButtonClick: () => Observable<boolean>;
|
|
13
|
-
constructor(appButton:
|
|
13
|
+
constructor(appButton: DbxButtonDirective, prompt: DbxPromptConfirm);
|
|
14
14
|
ngOnInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPromptConfirmButtonDirective, [{ host: true; }, { host: true; }]>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxPromptConfirmButtonDirective, "[dbxPromptConfirmButton]", never, {}, {}, never>;
|
|
17
17
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Maybe } from '@dereekb/util';
|
|
2
|
-
import { DbNgxPromptBoxComponent } from './prompt.box.component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* Pre-configured prompt.
|
|
6
5
|
*/
|
|
7
|
-
export declare class
|
|
6
|
+
export declare class DbxPromptComponent {
|
|
8
7
|
header?: Maybe<string>;
|
|
9
8
|
prompt?: Maybe<string>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPromptComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPromptComponent, "dbx-prompt", never, { "header": "header"; "prompt": "prompt"; }, {}, never, ["[hero]", "*"]>;
|
|
12
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Maybe } from '@dereekb/util';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare enum
|
|
4
|
+
export declare enum DbxPromptConfirmTypes {
|
|
5
5
|
/**
|
|
6
6
|
* Dialog is for yes/no.
|
|
7
7
|
*/
|
|
@@ -11,8 +11,8 @@ export declare enum DbNgxPromptConfirmTypes {
|
|
|
11
11
|
*/
|
|
12
12
|
DELETE = "delete"
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
15
|
-
type?:
|
|
14
|
+
export interface DbxPromptConfirmConfig {
|
|
15
|
+
type?: DbxPromptConfirmTypes;
|
|
16
16
|
title?: string;
|
|
17
17
|
prompt?: string;
|
|
18
18
|
confirmText?: string;
|
|
@@ -21,14 +21,14 @@ export interface DbNgxPromptConfirmConfig {
|
|
|
21
21
|
/**
|
|
22
22
|
* Displays a confirmation dialog.
|
|
23
23
|
*/
|
|
24
|
-
export declare class
|
|
24
|
+
export declare class DbxPromptConfirmComponent {
|
|
25
25
|
private _config;
|
|
26
26
|
confirm: EventEmitter<void>;
|
|
27
27
|
cancel: EventEmitter<void>;
|
|
28
|
-
get config():
|
|
29
|
-
set config(config: Maybe<
|
|
28
|
+
get config(): DbxPromptConfirmConfig;
|
|
29
|
+
set config(config: Maybe<DbxPromptConfirmConfig>);
|
|
30
30
|
onConfirm(): void;
|
|
31
31
|
onCancel(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPromptConfirmComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPromptConfirmComponent, "dbx-prompt-confirm", never, { "config": "config"; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, ["*"]>;
|
|
34
34
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Provider, Type } from '@angular/core';
|
|
2
2
|
import { Maybe } from '@dereekb/util';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
export declare abstract class
|
|
4
|
+
export declare abstract class DbxPromptConfirm {
|
|
5
5
|
abstract showDialog(): Observable<Maybe<boolean>>;
|
|
6
6
|
}
|
|
7
|
-
export declare function
|
|
7
|
+
export declare function ProvideDbxPromptConfirm<S>(sourceType: Type<S>): Provider[];
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { DbxInjectedComponentConfig } from '@dereekb/dbx-core';
|
|
1
3
|
import { OnInit } from '@angular/core';
|
|
4
|
+
import { AbstractDialogDirective } from '../dialog/abstract.dialog.directive';
|
|
5
|
+
import { DbxPromptConfirmConfig, DbxPromptConfirmTypes } from './prompt.confirm.component';
|
|
2
6
|
import { Maybe } from '@dereekb/util';
|
|
3
|
-
import { AbstractDialogDirective } from '../../interaction/dialog/abstract.dialog.directive';
|
|
4
|
-
import { DbNgxPromptConfirmConfig } from './prompt.confirm.component';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare
|
|
7
|
-
|
|
8
|
+
export declare const DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG: {
|
|
9
|
+
title: string;
|
|
10
|
+
type: DbxPromptConfirmTypes;
|
|
11
|
+
};
|
|
12
|
+
export interface DbxPromptConfirmDialogConfig extends DbxPromptConfirmConfig {
|
|
13
|
+
component?: DbxInjectedComponentConfig;
|
|
14
|
+
}
|
|
15
|
+
export declare class DbxPromptConfirmDialogComponent extends AbstractDialogDirective<boolean, DbxPromptConfirmDialogConfig> implements OnInit {
|
|
16
|
+
get config(): DbxPromptConfirmDialogConfig;
|
|
17
|
+
get injectedConfig(): Maybe<DbxInjectedComponentConfig>;
|
|
18
|
+
static openDialog(matDialog: MatDialog, config?: DbxPromptConfirmDialogConfig): MatDialogRef<DbxPromptConfirmDialogComponent, boolean>;
|
|
8
19
|
confirm(): void;
|
|
9
20
|
cancel(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPromptConfirmDialogComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPromptConfirmDialogComponent, "ng-component", never, {}, {}, never, never>;
|
|
12
23
|
}
|