@dereekb/dbx-web 4.1.0 → 5.1.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/LICENSE +21 -0
- package/_index.scss +7 -9
- package/esm2020/lib/action/action.confirm.directive.mjs +1 -1
- package/esm2020/lib/action/action.module.mjs +6 -45
- package/esm2020/lib/action/action.progress.component.mjs +2 -2
- package/esm2020/lib/action/key.trigger.directive.mjs +2 -2
- package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +11 -10
- package/esm2020/lib/action/snackbar/action.snackbar.default.mjs +9 -9
- package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +5 -3
- package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +2 -2
- package/esm2020/lib/action/snackbar/action.snackbar.mjs +1 -1
- package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +6 -33
- package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +6 -6
- package/esm2020/lib/action/transition/action.transition.module.mjs +6 -28
- package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +2 -2
- package/esm2020/lib/action/transition/transition.safety.directive.mjs +9 -7
- package/esm2020/lib/button/button.component.mjs +14 -12
- package/esm2020/lib/button/button.module.mjs +6 -26
- package/esm2020/lib/button/button.spacer.component.mjs +3 -3
- package/esm2020/lib/button/progress/bar.button.component.mjs +3 -3
- package/esm2020/lib/button/progress/base.progress.button.directive.mjs +7 -8
- package/esm2020/lib/button/progress/button.progress.config.mjs +1 -1
- package/esm2020/lib/button/progress/button.progress.module.mjs +10 -35
- package/esm2020/lib/button/progress/spinner.button.component.mjs +3 -3
- package/esm2020/lib/dbx-web.module.mjs +4 -12
- package/esm2020/lib/error/error.action.directive.mjs +1 -1
- package/esm2020/lib/error/error.api.mjs +16 -12
- package/esm2020/lib/error/error.component.mjs +3 -3
- package/esm2020/lib/error/error.loading.directive.mjs +1 -1
- package/esm2020/lib/error/error.module.mjs +6 -22
- package/esm2020/lib/error/state.mjs +8 -4
- package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +1 -1
- package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +1 -1
- package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +4 -4
- package/esm2020/lib/interaction/dialog/dialog.module.mjs +6 -21
- package/esm2020/lib/interaction/filter/filter.module.mjs +5 -17
- package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.popover.component.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +1 -1
- package/esm2020/lib/interaction/interaction.module.mjs +4 -18
- package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +1 -1
- package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +4 -4
- package/esm2020/lib/interaction/popover/popover.action.directive.mjs +3 -4
- package/esm2020/lib/interaction/popover/popover.component.mjs +27 -21
- package/esm2020/lib/interaction/popover/popover.content.component.mjs +14 -15
- package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +4 -4
- package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +10 -10
- package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +1 -1
- package/esm2020/lib/interaction/popover/popover.header.component.mjs +21 -15
- package/esm2020/lib/interaction/popover/popover.mjs +1 -1
- package/esm2020/lib/interaction/popover/popover.module.mjs +7 -72
- package/esm2020/lib/interaction/popover/popover.position.strategy.mjs +9 -10
- package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +8 -4
- package/esm2020/lib/interaction/popover/popover.service.mjs +2 -2
- package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.component.mjs +23 -18
- package/esm2020/lib/interaction/popup/popup.content.component.mjs +4 -4
- package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +6 -6
- package/esm2020/lib/interaction/popup/popup.controls.component.mjs +2 -2
- package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +9 -9
- package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +2 -2
- package/esm2020/lib/interaction/popup/popup.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.module.mjs +7 -55
- package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.service.mjs +2 -2
- package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +8 -4
- package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +4 -4
- package/esm2020/lib/interaction/prompt/prompt.component.mjs +1 -1
- package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +2 -2
- package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +2 -2
- package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +4 -4
- package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +6 -4
- package/esm2020/lib/interaction/prompt/prompt.module.mjs +6 -60
- package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +3 -3
- package/esm2020/lib/keypress/keydown.listener.directive.mjs +2 -3
- package/esm2020/lib/keypress/keypress.module.mjs +5 -13
- package/esm2020/lib/layout/bar/bar.directive.mjs +4 -4
- package/esm2020/lib/layout/bar/bar.header.component.mjs +4 -4
- package/esm2020/lib/layout/bar/bar.layout.module.mjs +6 -28
- package/esm2020/lib/layout/bar/bar.mjs +1 -1
- package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
- package/esm2020/lib/layout/block/block.layout.module.mjs +6 -20
- package/esm2020/lib/layout/block/two.block.component.mjs +16 -16
- package/esm2020/lib/layout/card/card.box.component.mjs +27 -21
- package/esm2020/lib/layout/card/card.box.container.component.mjs +7 -7
- package/esm2020/lib/layout/card/card.box.layout.module.mjs +6 -21
- package/esm2020/lib/layout/column/column.layout.module.mjs +4 -9
- package/esm2020/lib/layout/column/one/one.column.component.mjs +1 -1
- package/esm2020/lib/layout/column/one/one.column.module.mjs +6 -17
- package/esm2020/lib/layout/column/two/index.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.component.mjs +7 -10
- package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +5 -6
- package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.head.component.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.module.mjs +6 -50
- package/esm2020/lib/layout/column/two/two.column.right.component.mjs +5 -5
- package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.store.mjs +10 -9
- package/esm2020/lib/layout/compact/compact.directive.mjs +2 -2
- package/esm2020/lib/layout/compact/compact.layout.module.mjs +5 -13
- package/esm2020/lib/layout/compact/compact.mjs +4 -5
- package/esm2020/lib/layout/compact/compact.store.mjs +3 -3
- package/esm2020/lib/layout/content/content.border.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.box.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.container.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.elevate.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.layout.module.mjs +6 -34
- package/esm2020/lib/layout/content/content.page.directive.mjs +4 -4
- package/esm2020/lib/layout/flag/flag.component.mjs +2 -2
- package/esm2020/lib/layout/flag/flag.layout.module.mjs +6 -21
- package/esm2020/lib/layout/flag/flag.prompt.component.mjs +2 -2
- package/esm2020/lib/layout/flex/flex.group.directive.mjs +2 -2
- package/esm2020/lib/layout/flex/flex.layout.module.mjs +6 -18
- package/esm2020/lib/layout/flex/flex.mjs +1 -1
- package/esm2020/lib/layout/flex/flex.size.directive.mjs +1 -1
- package/esm2020/lib/layout/item/item.icon.component.mjs +19 -19
- package/esm2020/lib/layout/item/item.layout.module.mjs +6 -17
- package/esm2020/lib/layout/layout.module.mjs +4 -45
- package/esm2020/lib/layout/list/list.component.mjs +27 -21
- package/esm2020/lib/layout/list/list.content.empty.component.mjs +2 -2
- package/esm2020/lib/layout/list/list.directive.mjs +2 -2
- package/esm2020/lib/layout/list/list.layout.module.mjs +6 -62
- package/esm2020/lib/layout/list/list.view.directive.mjs +3 -4
- package/esm2020/lib/layout/list/list.view.mjs +9 -5
- package/esm2020/lib/layout/list/list.view.selection.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.component.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.directive.mjs +9 -10
- package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.mjs +13 -9
- package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +8 -8
- package/esm2020/lib/layout/list/list.view.value.modifier.mjs +8 -6
- package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +5 -6
- package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +7 -7
- package/esm2020/lib/layout/list/list.wrapper.mjs +7 -5
- package/esm2020/lib/layout/section/section.component.mjs +3 -3
- package/esm2020/lib/layout/section/section.header.component.mjs +7 -5
- package/esm2020/lib/layout/section/section.intro.component.mjs +25 -25
- package/esm2020/lib/layout/section/section.layout.module.mjs +6 -42
- package/esm2020/lib/layout/section/section.mjs +1 -1
- package/esm2020/lib/layout/section/section.page.component.mjs +12 -12
- package/esm2020/lib/layout/section/subsection.component.mjs +16 -16
- package/esm2020/lib/layout/step/step.component.mjs +3 -3
- package/esm2020/lib/layout/step/step.layout.module.mjs +6 -17
- package/esm2020/lib/layout/style/spacer.directive.mjs +4 -4
- package/esm2020/lib/layout/style/style.body.directive.mjs +1 -1
- package/esm2020/lib/layout/style/style.directive.mjs +3 -3
- package/esm2020/lib/layout/style/style.layout.module.mjs +6 -26
- package/esm2020/lib/layout/style/style.service.mjs +3 -3
- package/esm2020/lib/layout/style/style.set.directive.mjs +3 -4
- package/esm2020/lib/layout/text/hint.component.mjs +8 -4
- package/esm2020/lib/layout/text/icon.spacer.component.mjs +3 -3
- package/esm2020/lib/layout/text/label.component.mjs +8 -4
- package/esm2020/lib/layout/text/linkify.component.mjs +10 -7
- package/esm2020/lib/layout/text/note.component.mjs +8 -4
- package/esm2020/lib/layout/text/notice.component.mjs +8 -4
- package/esm2020/lib/layout/text/ok.component.mjs +8 -4
- package/esm2020/lib/layout/text/success.component.mjs +8 -4
- package/esm2020/lib/layout/text/text.chips.component.mjs +11 -11
- package/esm2020/lib/layout/text/text.module.mjs +6 -59
- package/esm2020/lib/layout/text/warn.component.mjs +8 -4
- package/esm2020/lib/loading/basic-loading.component.mjs +8 -8
- package/esm2020/lib/loading/loading-progress.component.mjs +16 -16
- package/esm2020/lib/loading/loading.action.directive.mjs +1 -1
- package/esm2020/lib/loading/loading.component.mjs +16 -16
- package/esm2020/lib/loading/loading.module.mjs +6 -40
- package/esm2020/lib/router/layout/anchor/anchor.component.mjs +6 -7
- package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +13 -7
- package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +13 -9
- package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +4 -4
- package/esm2020/lib/router/layout/anchor/anchor.module.mjs +6 -35
- package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +8 -8
- package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +5 -5
- package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +6 -32
- package/esm2020/lib/router/layout/layout.module.mjs +4 -18
- package/esm2020/lib/router/layout/list/list.module.mjs +3 -7
- package/esm2020/lib/router/layout/list/router.list.directive.mjs +4 -4
- package/esm2020/lib/router/layout/navbar/navbar.component.mjs +7 -7
- package/esm2020/lib/router/layout/navbar/navbar.module.mjs +6 -29
- package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +9 -9
- package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
- package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +6 -62
- package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +2 -2
- package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +2 -2
- package/esm2020/lib/router/provider/index.mjs +1 -1
- package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +4 -5
- package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +4 -14
- package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
- package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +9 -3
- package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -14
- package/esm2020/lib/screen/screen.mjs +6 -6
- package/esm2020/lib/screen/screen.module.mjs +1 -1
- package/esm2020/lib/screen/screen.service.mjs +6 -7
- package/fesm2015/dereekb-dbx-web.mjs +866 -1730
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +866 -1730
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/key.trigger.directive.d.ts +1 -1
- package/lib/action/snackbar/_snackbar.scss +4 -5
- package/lib/action/snackbar/action.snackbar.component.d.ts +3 -4
- package/lib/action/snackbar/action.snackbar.d.ts +9 -9
- package/lib/action/snackbar/action.snackbar.directive.d.ts +6 -6
- package/lib/action/snackbar/action.snackbar.generator.d.ts +10 -10
- package/lib/action/snackbar/action.snackbar.service.d.ts +8 -8
- package/lib/button/_button.scss +4 -4
- package/lib/button/button.spacer.component.d.ts +1 -1
- package/lib/button/progress/bar.button.component.scss +1 -1
- package/lib/button/progress/base.progress.button.directive.d.ts +2 -3
- package/lib/button/progress/button.progress.config.d.ts +1 -1
- package/lib/button/progress/spinner.button.component.scss +5 -5
- package/lib/error/_error.scss +6 -4
- package/lib/error/error.api.d.ts +2 -2
- package/lib/error/error.component.d.ts +2 -3
- package/lib/error/state.d.ts +3 -3
- package/lib/interaction/dialog/_dialog.scss +4 -6
- package/lib/interaction/dialog/abstract.dialog.directive.d.ts +1 -1
- package/lib/interaction/dialog/dialog.action.directive.d.ts +4 -4
- package/lib/interaction/dialog/dialog.content.component.d.ts +1 -1
- package/lib/interaction/filter/_filter.scss +6 -3
- package/lib/interaction/filter/filter.popover.button.component.d.ts +1 -1
- package/lib/interaction/filter/filter.popover.button.directive.d.ts +1 -2
- package/lib/interaction/filter/filter.popover.component.d.ts +6 -6
- package/lib/interaction/popover/_popover.scss +2 -5
- package/lib/interaction/popover/abstract.popover.directive.d.ts +1 -1
- package/lib/interaction/popover/abstract.popover.ref.directive.d.ts +3 -4
- package/lib/interaction/popover/popover.action.directive.d.ts +4 -4
- package/lib/interaction/popover/popover.component.d.ts +2 -2
- package/lib/interaction/popover/popover.controls.directive.d.ts +1 -1
- package/lib/interaction/popover/popover.coordinator.service.d.ts +1 -1
- package/lib/interaction/popover/popover.d.ts +3 -3
- package/lib/interaction/popup/_popup.scss +1 -5
- package/lib/interaction/popup/abstract.popup.directive.d.ts +1 -1
- package/lib/interaction/popup/popup.component.d.ts +1 -1
- package/lib/interaction/popup/popup.coordinator.service.d.ts +1 -2
- package/lib/interaction/popup/popup.d.ts +1 -1
- package/lib/interaction/prompt/_prompt.scss +5 -6
- package/lib/interaction/prompt/prompt.confirm.d.ts +1 -1
- package/lib/interaction/prompt/prompt.confirm.directive.d.ts +3 -3
- package/lib/interaction/style/_style.scss +6 -5
- package/lib/layout/bar/_bar.scss +0 -5
- package/lib/layout/bar/bar.directive.d.ts +1 -1
- package/lib/layout/block/_block.scss +4 -4
- package/lib/layout/card/_card.scss +6 -4
- package/lib/layout/column/_column.scss +2 -7
- package/lib/layout/column/two/two.column.component.d.ts +1 -2
- package/lib/layout/column/two/two.column.context.directive.d.ts +1 -2
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +2 -3
- package/lib/layout/column/two/two.column.store.d.ts +3 -3
- package/lib/layout/content/_content.scss +2 -9
- package/lib/layout/content/content.border.directive.d.ts +1 -1
- package/lib/layout/content/content.box.directive.d.ts +1 -1
- package/lib/layout/content/content.container.directive.d.ts +1 -1
- package/lib/layout/content/content.directive.d.ts +1 -1
- package/lib/layout/content/content.elevate.directive.d.ts +1 -1
- package/lib/layout/content/content.page.directive.d.ts +1 -1
- package/lib/layout/flag/_flag.scss +6 -4
- package/lib/layout/flex/_flex.scss +7 -8
- package/lib/layout/flex/flex.group.directive.d.ts +2 -2
- package/lib/layout/item/_item.scss +6 -4
- package/lib/layout/list/_list.scss +4 -8
- package/lib/layout/list/list.component.d.ts +5 -5
- package/lib/layout/list/list.directive.d.ts +6 -8
- package/lib/layout/list/list.view.d.ts +3 -3
- package/lib/layout/list/list.view.directive.d.ts +0 -1
- package/lib/layout/list/list.view.value.component.d.ts +2 -2
- package/lib/layout/list/list.view.value.d.ts +11 -11
- package/lib/layout/list/list.view.value.directive.d.ts +7 -7
- package/lib/layout/list/list.view.value.item.directive.d.ts +1 -1
- package/lib/layout/list/list.view.value.modifier.d.ts +7 -7
- package/lib/layout/list/list.view.value.modifier.directive.d.ts +2 -3
- package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +6 -6
- package/lib/layout/list/list.view.value.selection.component.d.ts +2 -2
- package/lib/layout/list/list.wrapper.d.ts +4 -4
- package/lib/layout/section/_section.scss +7 -18
- package/lib/layout/section/section.header.component.d.ts +1 -1
- package/lib/layout/section/section.intro.component.d.ts +1 -2
- package/lib/layout/step/_step.scss +6 -4
- package/lib/layout/style/_style.scss +3 -7
- package/lib/layout/style/spacer.directive.d.ts +1 -1
- package/lib/layout/style/style.directive.d.ts +1 -1
- package/lib/layout/style/style.service.d.ts +1 -2
- package/lib/layout/style/style.set.directive.d.ts +1 -1
- package/lib/layout/text/_text.scss +0 -5
- package/lib/layout/text/icon.spacer.component.d.ts +1 -1
- package/lib/layout/text/text.chips.component.d.ts +2 -2
- package/lib/loading/basic-loading.component.d.ts +1 -2
- package/lib/loading/loading.action.directive.d.ts +1 -1
- package/lib/router/layout/anchor/_anchor.scss +8 -8
- package/lib/router/layout/anchor/anchor.component.d.ts +3 -3
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +5 -5
- package/lib/router/layout/anchorlist/_anchorlist.scss +3 -9
- package/lib/router/layout/list/router.list.directive.d.ts +6 -6
- package/lib/router/layout/navbar/_navbar.scss +7 -5
- package/lib/router/layout/sidenav/_sidenav.scss +3 -6
- package/lib/router/provider/router.provider.config.d.ts +1 -1
- package/lib/router/provider/uirouter/anchor.component.d.ts +4 -0
- package/lib/screen/screen.service.d.ts +3 -3
- package/lib/style/_config.scss +43 -25
- package/lib/style/_core.scss +1 -1
- package/lib/style/_function.scss +0 -1
- package/lib/style/_mixin.scss +4 -7
- package/lib/style/_root-variables.scss +0 -2
- package/lib/style/_theming.scss +2 -12
- package/lib/style/_variables.scss +10 -3
- package/package.json +6 -5
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
// MARK: Variables
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
// MARK: Mixin
|
|
7
6
|
@mixin core() {
|
|
8
|
-
|
|
9
7
|
.dbx-list {
|
|
10
8
|
overflow: hidden;
|
|
11
9
|
height: 100%;
|
|
@@ -27,7 +25,6 @@
|
|
|
27
25
|
&.dbx-list-content-hidden {
|
|
28
26
|
display: none;
|
|
29
27
|
}
|
|
30
|
-
|
|
31
28
|
}
|
|
32
29
|
|
|
33
30
|
.dbx-list-content-box {
|
|
@@ -35,7 +32,6 @@
|
|
|
35
32
|
}
|
|
36
33
|
|
|
37
34
|
.dbx-list-view {
|
|
38
|
-
|
|
39
35
|
.mat-list-base .dbx-list-view-item.mat-list-item {
|
|
40
36
|
height: unset;
|
|
41
37
|
|
|
@@ -46,15 +42,15 @@
|
|
|
46
42
|
min-height: 56px;
|
|
47
43
|
}
|
|
48
44
|
}
|
|
49
|
-
|
|
50
45
|
}
|
|
51
46
|
}
|
|
52
|
-
|
|
53
47
|
}
|
|
54
48
|
|
|
55
|
-
@mixin color($theme-config) {
|
|
49
|
+
@mixin color($theme-config) {
|
|
50
|
+
}
|
|
56
51
|
|
|
57
|
-
@mixin typography($typography-config) {
|
|
52
|
+
@mixin typography($typography-config) {
|
|
53
|
+
}
|
|
58
54
|
|
|
59
55
|
@mixin theme($theme-config) {
|
|
60
56
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-list') {
|
|
@@ -18,7 +18,7 @@ export declare type DbxListLoadMoreHandler = () => Observable<void> | void;
|
|
|
18
18
|
/**
|
|
19
19
|
* DbxListComponent configuration.
|
|
20
20
|
*/
|
|
21
|
-
export interface DbxListConfig<T =
|
|
21
|
+
export interface DbxListConfig<T = unknown, V extends DbxListView<T> = DbxListView<T>> extends DbxInjectionComponentConfig<V> {
|
|
22
22
|
/**
|
|
23
23
|
* Whether or not to hide the list content when it is an empty list.
|
|
24
24
|
*/
|
|
@@ -57,7 +57,7 @@ export interface DbxListConfig<T = any, V extends DbxListView<T> = DbxListView<T
|
|
|
57
57
|
*
|
|
58
58
|
* This component is generally wrapped by another component that provides this one configuration.
|
|
59
59
|
*/
|
|
60
|
-
export declare class DbxListComponent<T =
|
|
60
|
+
export declare class DbxListComponent<T = unknown, V extends DbxListView<T> = DbxListView<T>, S extends ListLoadingState<T> = ListLoadingState<T>> implements OnDestroy {
|
|
61
61
|
readonly cdRef: ChangeDetectorRef;
|
|
62
62
|
readonly DEFAULT_SCROLL_DISTANCE = 1.5;
|
|
63
63
|
readonly DEFAULT_THROTTLE_SCROLL = 50;
|
|
@@ -116,9 +116,9 @@ export declare class DbxListComponent<T = any, V extends DbxListView<T> = DbxLis
|
|
|
116
116
|
export declare class DbxListInternalContentDirective {
|
|
117
117
|
private readonly parent;
|
|
118
118
|
readonly elementRef: ElementRef;
|
|
119
|
-
hide: Maybe<
|
|
119
|
+
hide: Maybe<boolean>;
|
|
120
120
|
constructor(parent: DbxListComponent, elementRef: ElementRef);
|
|
121
|
-
onScrollEvent($event:
|
|
121
|
+
onScrollEvent($event: Event): void;
|
|
122
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxListInternalContentDirective, never>;
|
|
123
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxListInternalContentDirective, "[
|
|
123
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxListInternalContentDirective, "[dbxListInternalContent]", never, { "hide": "hide"; }, {}, never>;
|
|
124
124
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { ListLoadingState, ObservableOrValue } from '@dereekb/rxjs';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { EventEmitter, OnInit, OnDestroy } from
|
|
4
|
-
import { DbxListConfig } from
|
|
5
|
-
import { DbxListSelectionMode, DbxListView, ListSelectionState } from
|
|
3
|
+
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
4
|
+
import { DbxListConfig } from './list.component';
|
|
5
|
+
import { DbxListSelectionMode, DbxListView, ListSelectionState } from './list.view';
|
|
6
6
|
import { Maybe } from '@dereekb/util';
|
|
7
7
|
import { DbxListViewWrapper } from './list.wrapper';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare const DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE = "\n<dbx-list [config]=\"config\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n</dbx-list>\n";
|
|
10
10
|
export declare const DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE = "\n<dbx-list [state$]=\"state$\" [config]=\"config$ | async\" [disabled]=\"disabled\" [selectionMode]=\"selectionMode\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n</dbx-list>\n";
|
|
11
|
-
export
|
|
12
|
-
}
|
|
11
|
+
export declare type DbxListWrapperConfig<T, V extends DbxListView<T> = DbxListView<T>> = Omit<DbxListConfig<T, V>, 'onClick' | 'loadMore'>;
|
|
13
12
|
export declare abstract class AbstractDbxListWrapperDirective<T, V extends DbxListView<T> = DbxListView<T>, C extends DbxListWrapperConfig<T, V> = DbxListWrapperConfig<T, V>, S extends ListLoadingState<T> = ListLoadingState<T>> implements OnInit, OnDestroy, DbxListViewWrapper<T, S> {
|
|
14
13
|
readonly initConfig: ObservableOrValue<C>;
|
|
15
14
|
private readonly _init;
|
|
@@ -26,9 +25,8 @@ export declare abstract class AbstractDbxListWrapperDirective<T, V extends DbxLi
|
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxListWrapperDirective<any, any, any, any>, never>;
|
|
27
26
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxListWrapperDirective<any, any, any, any>, never, never, { "disabled": "disabled"; "selectionMode": "selectionMode"; "state$": "state$"; }, { "clickItem": "clickItem"; "loadMore": "loadMore"; }, never>;
|
|
28
27
|
}
|
|
29
|
-
export
|
|
30
|
-
|
|
31
|
-
export declare abstract class AbstractDbxSelectionListWrapperDirective<T, V extends DbxListView<T> = DbxListView<T>, C extends DbxSelectionListWrapperConfig<T, V> = DbxSelectionListWrapperConfig<T, V>, S extends ListLoadingState<T> = ListLoadingState<T>> extends AbstractDbxListWrapperDirective<T, V, C, S> {
|
|
28
|
+
export declare type DbxSelectionListWrapperConfig<T, V extends DbxListView<T> = DbxListView<T>> = Omit<DbxListWrapperConfig<T, V>, 'onSelectionChange'>;
|
|
29
|
+
export declare abstract class AbstractDbxSelectionListWrapperDirective<T, V extends DbxListView<T> = DbxListView<T>, C extends DbxSelectionListWrapperConfig<T, V> = DbxSelectionListWrapperConfig<T, V>, S extends ListLoadingState<T> = ListLoadingState<T>> extends AbstractDbxListWrapperDirective<T, V, C, S> implements OnDestroy {
|
|
32
30
|
selectionChange: EventEmitter<ListSelectionState<T>>;
|
|
33
31
|
ngOnDestroy(): void;
|
|
34
32
|
protected _buildListConfig(config: C): DbxListConfig<T, V>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { ListLoadingState, ListLoadingStateContext } from
|
|
3
|
-
import { EventEmitter, Provider, Type } from
|
|
2
|
+
import { ListLoadingState, ListLoadingStateContext } from '@dereekb/rxjs';
|
|
3
|
+
import { EventEmitter, Provider, Type } from '@angular/core';
|
|
4
4
|
import { Maybe } from '@dereekb/util';
|
|
5
5
|
export declare type DbxListSelectionMode = 'select' | 'view';
|
|
6
6
|
export interface ListSelectionStateItem<T> {
|
|
@@ -52,4 +52,4 @@ export declare abstract class DbxListView<T, S extends ListLoadingState<T> = Lis
|
|
|
52
52
|
*/
|
|
53
53
|
abstract setSelectionMode(selectionMode: Maybe<DbxListSelectionMode>): void;
|
|
54
54
|
}
|
|
55
|
-
export declare function
|
|
55
|
+
export declare function provideDbxListView<V extends DbxListView<any>>(sourceType: Type<V>): Provider[];
|
|
@@ -15,7 +15,6 @@ export declare abstract class AbstractDbxListViewDirective<T> implements DbxList
|
|
|
15
15
|
readonly disabled$: Observable<boolean>;
|
|
16
16
|
readonly selectionMode$: Observable<Maybe<DbxListSelectionMode>>;
|
|
17
17
|
clickValue: EventEmitter<T>;
|
|
18
|
-
constructor();
|
|
19
18
|
set valueArray(values: Maybe<T[]>);
|
|
20
19
|
set values(values: Maybe<Observable<T[]>>);
|
|
21
20
|
ngOnDestroy(): void;
|
|
@@ -3,13 +3,13 @@ import { AbstractDbxValueListViewDirective } from './list.view.value.directive';
|
|
|
3
3
|
import { DbxListView } from './list.view';
|
|
4
4
|
import { Maybe } from '@dereekb/util';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface DbxValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V =
|
|
6
|
+
export interface DbxValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> extends AbstractDbxValueListViewConfig<T, I, V> {
|
|
7
7
|
emitAllClicks?: boolean;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Renders a list view using input configuration. Requires a parent DbxListView.
|
|
11
11
|
*/
|
|
12
|
-
export declare class DbxValueListViewComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V =
|
|
12
|
+
export declare class DbxValueListViewComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown, C extends DbxValueListViewConfig<T, I, V> = DbxValueListViewConfig<T, I, V>> extends AbstractDbxValueListViewDirective<T, I, V, C> {
|
|
13
13
|
readonly emitAllClicks$: import("rxjs").Observable<boolean | undefined>;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxValueListViewComponent<any, any, any, any>, never>;
|
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxValueListViewComponent<any, any, any, any>, "dbx-list-view", never, {}, {}, never, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InjectionToken, Provider, Type } from
|
|
2
|
-
import { ClickableAnchor, DbxInjectionComponentConfig } from
|
|
3
|
-
import { Observable } from
|
|
1
|
+
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
|
+
import { ClickableAnchor, DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
4
|
import { Maybe } from '@dereekb/util';
|
|
5
|
-
export declare const DBX_VALUE_LIST_VIEW_ITEM: InjectionToken<
|
|
5
|
+
export declare const DBX_VALUE_LIST_VIEW_ITEM: InjectionToken<unknown>;
|
|
6
6
|
export interface DbxValueListItem<T> {
|
|
7
7
|
itemValue: T;
|
|
8
8
|
icon?: string;
|
|
@@ -15,14 +15,14 @@ export interface DbxValueListItem<T> {
|
|
|
15
15
|
* Special type used with values that contain all the items of DbxValueListItem internally.
|
|
16
16
|
*/
|
|
17
17
|
export declare type DbxValueAsListItem<T> = T & Omit<DbxValueListItem<DbxValueListItem<T>>, 'itemValue'>;
|
|
18
|
-
export interface AbstractDbxValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V =
|
|
18
|
+
export interface AbstractDbxValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> extends DbxInjectionComponentConfig<V> {
|
|
19
19
|
mapValuesToItemValues?(values: T[]): Observable<I[]>;
|
|
20
20
|
}
|
|
21
21
|
export declare const DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES: <T, I extends DbxValueListItem<T>>(itemValues: T[]) => Observable<I[]>;
|
|
22
|
-
export declare type DbxValueListItemConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T
|
|
23
|
-
config: DbxInjectionComponentConfig
|
|
22
|
+
export declare type DbxValueListItemConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> = I & {
|
|
23
|
+
config: DbxInjectionComponentConfig<V>;
|
|
24
24
|
};
|
|
25
|
-
export declare function mapValuesToValuesListItemConfigObs<T, I extends DbxValueListItem<T
|
|
25
|
+
export declare function mapValuesToValuesListItemConfigObs<T, I extends DbxValueListItem<T>, V = unknown>(listViewConfig: AbstractDbxValueListViewConfig<T, I, V>, itemValues: T[]): Observable<DbxValueListItemConfig<T, I, V>[]>;
|
|
26
26
|
/**
|
|
27
27
|
* Adds config to the input value list items.
|
|
28
28
|
*
|
|
@@ -30,8 +30,8 @@ export declare function mapValuesToValuesListItemConfigObs<T, I extends DbxValue
|
|
|
30
30
|
* @param listItems
|
|
31
31
|
* @returns
|
|
32
32
|
*/
|
|
33
|
-
export declare function addConfigToValueListItems<T, I extends DbxValueListItem<T
|
|
33
|
+
export declare function addConfigToValueListItems<T, I extends DbxValueListItem<T>, V = unknown>(listViewConfig: AbstractDbxValueListViewConfig<T, I, V>, listItems: I[]): DbxValueListItemConfig<T, I, V>[];
|
|
34
34
|
export declare abstract class DbxValueListView<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
|
|
35
|
-
readonly
|
|
35
|
+
abstract readonly items$: Observable<I[]>;
|
|
36
36
|
}
|
|
37
|
-
export declare function
|
|
37
|
+
export declare function provideDbxValueListView<V extends DbxValueListView<unknown>>(sourceType: Type<V>): Provider[];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Maybe, ModifierFunction } from
|
|
2
|
-
import { OnDestroy } from
|
|
3
|
-
import { Observable } from
|
|
4
|
-
import { DbxListView } from
|
|
5
|
-
import { AbstractDbxValueListViewConfig, DbxValueListItem, DbxValueListItemConfig, DbxValueListView } from
|
|
6
|
-
import { DbxValueListItemModifier } from
|
|
1
|
+
import { Maybe, ModifierFunction } from '@dereekb/util';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { DbxListView } from './list.view';
|
|
5
|
+
import { AbstractDbxValueListViewConfig, DbxValueListItem, DbxValueListItemConfig, DbxValueListView } from './list.view.value';
|
|
6
|
+
import { DbxValueListItemModifier } from './list.view.value.modifier';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Abstract list directive that takes in items and a AbstractDbxValueItemListViewConfig configuration.
|
|
10
10
|
*/
|
|
11
|
-
export declare abstract class AbstractDbxValueListViewDirective<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V =
|
|
11
|
+
export declare abstract class AbstractDbxValueListViewDirective<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown, C extends AbstractDbxValueListViewConfig<T, I, V> = AbstractDbxValueListViewConfig<T, I, V>> implements DbxValueListView<T, I>, OnDestroy {
|
|
12
12
|
readonly dbxListView: DbxListView<T>;
|
|
13
13
|
readonly dbxValueListViewModifier: DbxValueListItemModifier<T, I>;
|
|
14
14
|
private _config;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DbxValueListItem } from
|
|
1
|
+
import { DbxValueListItem } from './list.view.value';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare abstract class AbstractDbxValueListViewItemComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
|
|
4
4
|
readonly item: I;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Provider, Type } from
|
|
2
|
-
import { ArrayOrValue, Modifier, ModifierFunction, ModifierMap } from
|
|
3
|
-
import { Observable } from
|
|
4
|
-
import { DbxValueListItem } from
|
|
5
|
-
export declare abstract class DbxValueListItemModifier<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
|
|
6
|
-
readonly
|
|
1
|
+
import { Provider, Type } from '@angular/core';
|
|
2
|
+
import { ArrayOrValue, Modifier, ModifierFunction, ModifierMap } from '@dereekb/util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { DbxValueListItem } from './list.view.value';
|
|
5
|
+
export declare abstract class DbxValueListItemModifier<T = unknown, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
|
|
6
|
+
abstract readonly modifiers$: Observable<ModifierMap<I>>;
|
|
7
7
|
abstract addModifiers(modifiers: ArrayOrValue<Modifier<I>>): void;
|
|
8
8
|
abstract removeModifiers(modifiers: ArrayOrValue<Modifier<I>>): void;
|
|
9
9
|
}
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function provideDbxValueListViewModifier<V extends DbxValueListItemModifier>(sourceType: Type<V>): Provider[];
|
|
11
11
|
export declare type ListItemModifier<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> = Modifier<I>;
|
|
12
12
|
export declare function listItemModifier<T, I extends DbxValueListItem<T> = DbxValueListItem<T>>(key: string, modify: ModifierFunction<I>): ListItemModifier<T, I>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { OnDestroy, OnInit } from
|
|
3
|
-
import { DbxValueListItem } from
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { DbxValueListItem } from './list.view.value';
|
|
4
4
|
import { ArrayOrValue, Maybe, Modifier } from '@dereekb/util';
|
|
5
5
|
import { DbxValueListItemModifier } from './list.view.value.modifier';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -11,7 +11,6 @@ export declare class DbxValueListItemModifierDirective<T, I extends DbxValueList
|
|
|
11
11
|
private _modifiers;
|
|
12
12
|
private _inputModifiers;
|
|
13
13
|
readonly modifiers$: Observable<Map<string, Modifier<I>>>;
|
|
14
|
-
constructor();
|
|
15
14
|
ngOnDestroy(): void;
|
|
16
15
|
addModifiers(modifiers: ArrayOrValue<Modifier<I>>): void;
|
|
17
16
|
removeModifiers(modifiers: ArrayOrValue<Modifier<I>>): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { OnDestroy } from
|
|
2
|
-
import { Maybe, ArrayOrValue, Modifier } from
|
|
3
|
-
import { Observable } from
|
|
4
|
-
import { DbxValueListItem } from
|
|
5
|
-
import { AbstractDbxValueListItemModifierDirective } from
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Maybe, ArrayOrValue, Modifier } from '@dereekb/util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { DbxValueListItem } from './list.view.value';
|
|
5
|
+
import { AbstractDbxValueListItemModifierDirective } from './list.view.value.modifier.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare type DisableRippleForValueFunction<T> = (item: DbxValueListItem<T>) => boolean;
|
|
8
8
|
export declare const DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY = "disable_ripple_anchor";
|
|
9
|
-
export declare const DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION: DisableRippleForValueFunction<
|
|
9
|
+
export declare const DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION: DisableRippleForValueFunction<unknown>;
|
|
10
10
|
export declare class DbxListItemDisableRippleModifierDirective<T> extends AbstractDbxValueListItemModifierDirective<T> implements OnDestroy {
|
|
11
11
|
private _disableRippleForItem;
|
|
12
12
|
readonly modifiers$: Observable<Maybe<ArrayOrValue<Modifier<DbxValueListItem<T>>>>>;
|
|
@@ -6,13 +6,13 @@ import { AbstractDbxValueListViewDirective } from './list.view.value.directive';
|
|
|
6
6
|
import { Maybe } from '@dereekb/util';
|
|
7
7
|
import { DbxValueListItemViewComponent } from './list.view.value.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export interface DbxSelectionValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V =
|
|
9
|
+
export interface DbxSelectionValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> extends AbstractDbxValueListViewConfig<T, I, V> {
|
|
10
10
|
multiple?: boolean;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Renders a selection list view using input configuration. Requires a parent DbxListView.
|
|
14
14
|
*/
|
|
15
|
-
export declare class DbxSelectionValueListViewComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V =
|
|
15
|
+
export declare class DbxSelectionValueListViewComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> extends AbstractDbxValueListViewDirective<T, I, V, DbxSelectionValueListViewConfig<T, I, V>> {
|
|
16
16
|
readonly selectionMode$: Observable<DbxListSelectionMode>;
|
|
17
17
|
readonly multiple$: Observable<boolean>;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSelectionValueListViewComponent<any, any, any>, never>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { ListLoadingState } from
|
|
3
|
-
import { Provider, Type } from
|
|
2
|
+
import { ListLoadingState } from '@dereekb/rxjs';
|
|
3
|
+
import { Provider, Type } from '@angular/core';
|
|
4
4
|
import { Maybe } from '@dereekb/util';
|
|
5
5
|
/**
|
|
6
6
|
* Common interface for views that may wrap a DbxListView, and pass values through to it.
|
|
7
7
|
*/
|
|
8
|
-
export declare abstract class DbxListViewWrapper<T, S extends ListLoadingState<T> = ListLoadingState<T>> {
|
|
8
|
+
export declare abstract class DbxListViewWrapper<T = unknown, S extends ListLoadingState<T> = ListLoadingState<T>> {
|
|
9
9
|
state$?: Maybe<Observable<S>>;
|
|
10
10
|
}
|
|
11
|
-
export declare function
|
|
11
|
+
export declare function provideDbxListViewWrapper<V extends DbxListViewWrapper>(sourceType: Type<V>): Provider[];
|
|
@@ -13,14 +13,12 @@ $header-left-reserved-space-small-screen: 120px;
|
|
|
13
13
|
|
|
14
14
|
// MARK: Mixin
|
|
15
15
|
@mixin core() {
|
|
16
|
-
|
|
17
16
|
// MARK: Header
|
|
18
17
|
.dbx-section-header {
|
|
19
18
|
padding: 0 0 $header-bottom-padding;
|
|
20
19
|
box-sizing: border-box;
|
|
21
20
|
|
|
22
21
|
.dbx-section-header-content {
|
|
23
|
-
|
|
24
22
|
h1,
|
|
25
23
|
h2,
|
|
26
24
|
h3,
|
|
@@ -43,8 +41,7 @@ $header-left-reserved-space-small-screen: 120px;
|
|
|
43
41
|
|
|
44
42
|
// MARK: Page
|
|
45
43
|
.dbx-section-page {
|
|
46
|
-
|
|
47
|
-
>.dbx-section-header>.dbx-section-header-content {
|
|
44
|
+
> .dbx-section-header > .dbx-section-header-content {
|
|
48
45
|
height: $content-navbar-height;
|
|
49
46
|
max-height: $content-navbar-height;
|
|
50
47
|
overflow-x: auto;
|
|
@@ -62,43 +59,35 @@ $header-left-reserved-space-small-screen: 120px;
|
|
|
62
59
|
margin-right: 4px;
|
|
63
60
|
}
|
|
64
61
|
|
|
65
|
-
|
|
62
|
+
> .title-text {
|
|
66
63
|
@include theming.limit-text();
|
|
67
64
|
}
|
|
68
65
|
}
|
|
69
66
|
}
|
|
70
|
-
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
// MARK: Subsection
|
|
74
70
|
.dbx-subsection {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
> .dbx-section-header > .dbx-section-header-content {
|
|
72
|
+
}
|
|
78
73
|
}
|
|
79
|
-
|
|
80
74
|
}
|
|
81
75
|
|
|
82
76
|
@mixin color($theme-config) {
|
|
83
|
-
|
|
84
77
|
// MARK: Page
|
|
85
78
|
.dbx-section-page {
|
|
86
|
-
|
|
87
|
-
>.dbx-section-header>.dbx-section-header-content {
|
|
79
|
+
> .dbx-section-header > .dbx-section-header-content {
|
|
88
80
|
.dbx-section-header-content-title {
|
|
89
|
-
|
|
90
81
|
@include theming.if-small-screen($theme-config) {
|
|
91
82
|
max-width: calc(80% - #{$header-left-reserved-space-small-screen});
|
|
92
83
|
}
|
|
93
|
-
|
|
94
84
|
}
|
|
95
85
|
}
|
|
96
|
-
|
|
97
86
|
}
|
|
98
|
-
|
|
99
87
|
}
|
|
100
88
|
|
|
101
|
-
@mixin typography($typography-config) {
|
|
89
|
+
@mixin typography($typography-config) {
|
|
90
|
+
}
|
|
102
91
|
|
|
103
92
|
@mixin theme($theme-config) {
|
|
104
93
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-section') {
|
|
@@ -11,5 +11,5 @@ export declare class DbxSectionHeaderComponent {
|
|
|
11
11
|
hint?: Maybe<string>;
|
|
12
12
|
get showTitle(): boolean;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSectionHeaderComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSectionHeaderComponent, "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSectionHeaderComponent, "dbx-section-header,.dbx-section-header", never, { "h": "h"; "header": "header"; "icon": "icon"; "hint": "hint"; }, {}, never, ["*"]>;
|
|
15
15
|
}
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
// MARK: Variables
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
// MARK: Mixin
|
|
7
|
-
@mixin core() {
|
|
6
|
+
@mixin core() {
|
|
7
|
+
}
|
|
8
8
|
|
|
9
|
-
@mixin color($theme-config) {
|
|
9
|
+
@mixin color($theme-config) {
|
|
10
|
+
}
|
|
10
11
|
|
|
11
|
-
@mixin typography($typography-config) {
|
|
12
|
+
@mixin typography($typography-config) {
|
|
13
|
+
}
|
|
12
14
|
|
|
13
15
|
@mixin theme($theme-config) {
|
|
14
16
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-step') {
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
// Sections
|
|
6
6
|
@mixin core() {
|
|
7
|
-
|
|
8
7
|
.dbx-spacer,
|
|
9
8
|
.spacer {
|
|
10
9
|
flex: 1 1 auto;
|
|
@@ -22,9 +21,7 @@
|
|
|
22
21
|
padding: 0 !important;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
|
-
@each $i,
|
|
26
|
-
$padding in theming.$padding-map {
|
|
27
|
-
|
|
24
|
+
@each $i, $padding in theming.$padding-map {
|
|
28
25
|
.pad-#{$i},
|
|
29
26
|
.padding-#{$i} {
|
|
30
27
|
padding: $padding;
|
|
@@ -47,7 +44,6 @@
|
|
|
47
44
|
.d-fiflex {
|
|
48
45
|
display: inline-flex !important;
|
|
49
46
|
}
|
|
50
|
-
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
@mixin color($theme-config) {
|
|
@@ -91,10 +87,10 @@
|
|
|
91
87
|
background: $warn-color;
|
|
92
88
|
color: $warn-color-contrast;
|
|
93
89
|
}
|
|
94
|
-
|
|
95
90
|
}
|
|
96
91
|
|
|
97
|
-
@mixin typography($typography-config) {
|
|
92
|
+
@mixin typography($typography-config) {
|
|
93
|
+
}
|
|
98
94
|
|
|
99
95
|
@mixin theme($theme-config) {
|
|
100
96
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-style') {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class DbxSpacerDirective {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSpacerDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxSpacerDirective, "dbx-spacer, [
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxSpacerDirective, "dbx-spacer, [dbxSpacer]", never, {}, {}, never>;
|
|
5
5
|
}
|
|
@@ -11,5 +11,5 @@ export declare class DbxStyleDirective extends AbstractSubscriptionDirective {
|
|
|
11
11
|
style: string;
|
|
12
12
|
constructor(styleService: DbxStyleService, cdRef: ChangeDetectorRef);
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxStyleDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxStyleDirective, "dbx-style, [
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxStyleDirective, "dbx-style, [dbxStyle], .dbx-style", never, {}, {}, never>;
|
|
15
15
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Destroyable } from '@dereekb/util';
|
|
1
|
+
import { Destroyable, Maybe } from '@dereekb/util';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { InjectionToken } from '@angular/core';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare const DBX_STYLE_DEFAULT_CONFIG_TOKEN: InjectionToken<unknown>;
|
|
7
6
|
export interface DbxStyleConfig {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Maybe } from '@dereekb/util';
|
|
1
2
|
import { Observable } from 'rxjs';
|
|
2
3
|
import { OnDestroy, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
4
4
|
import { DbxStyleConfig, DbxStyleService } from './style.service';
|
|
5
5
|
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -10,7 +10,6 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
|
|
|
10
10
|
|
|
11
11
|
// MARK: Mixin
|
|
12
12
|
@mixin core() {
|
|
13
|
-
|
|
14
13
|
.dbx-small,
|
|
15
14
|
.dbx-clear-hint {
|
|
16
15
|
font-size: 0.8em;
|
|
@@ -34,7 +33,6 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
|
|
|
34
33
|
.dbx-icon-spacer {
|
|
35
34
|
margin-right: $icon-spacing;
|
|
36
35
|
}
|
|
37
|
-
|
|
38
36
|
}
|
|
39
37
|
|
|
40
38
|
@mixin color($theme-config) {
|
|
@@ -73,11 +71,9 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
|
|
|
73
71
|
.dbx-note {
|
|
74
72
|
opacity: $note-opacity;
|
|
75
73
|
}
|
|
76
|
-
|
|
77
74
|
}
|
|
78
75
|
|
|
79
76
|
@mixin typography($typography-config) {
|
|
80
|
-
|
|
81
77
|
.dbx-label,
|
|
82
78
|
.dbx-sublabel,
|
|
83
79
|
.dbx-chip-sublabel {
|
|
@@ -87,7 +83,6 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
|
|
|
87
83
|
.dbx-chip-sublabel {
|
|
88
84
|
margin-left: $icon-spacing;
|
|
89
85
|
}
|
|
90
|
-
|
|
91
86
|
}
|
|
92
87
|
|
|
93
88
|
@mixin theme($theme-config) {
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class DbxIconSpacerDirective {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxIconSpacerDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxIconSpacerDirective, "dbx-icon-spacer,dbxIconSpacer", never, {}, {}, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxIconSpacerDirective, "dbx-icon-spacer,[dbxIconSpacer]", never, {}, {}, never>;
|
|
8
8
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Maybe } from '@dereekb/util';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export interface TextChip<T =
|
|
3
|
+
export interface TextChip<T = unknown> {
|
|
4
4
|
text: string;
|
|
5
5
|
tooltip?: string;
|
|
6
6
|
color?: 'primary' | 'accent';
|
|
7
7
|
data?: T;
|
|
8
8
|
}
|
|
9
|
-
export declare class DbxTextChipsComponent<T =
|
|
9
|
+
export declare class DbxTextChipsComponent<T = unknown> {
|
|
10
10
|
chips?: Maybe<TextChip<T>[]>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextChipsComponent<any>, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxTextChipsComponent<any>, "dbx-text-chips", never, { "chips": "chips"; }, {}, never, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { OnDestroy, ElementRef } from '@angular/core';
|
|
3
2
|
import { ThemePalette } from '@angular/material/core';
|
|
4
3
|
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
5
4
|
import { ErrorInput, Maybe } from '@dereekb/util';
|
|
@@ -11,7 +11,7 @@ export declare class DbxActionLoadingContextDirective implements OnInit, OnDestr
|
|
|
11
11
|
readonly source: DbxActionContextStoreSourceInstance;
|
|
12
12
|
private _context;
|
|
13
13
|
constructor(loadingComponent: DbxLoadingComponent, source: DbxActionContextStoreSourceInstance);
|
|
14
|
-
get context(): LoadingStateContextInstance<
|
|
14
|
+
get context(): LoadingStateContextInstance<unknown, import("@dereekb/rxjs").LoadingState<unknown>>;
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionLoadingContextDirective, [{ host: true; }, null]>;
|