@dereekb/dbx-web 11.1.7 → 12.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/calendar/lib/calendar.base.component.d.ts +10 -1
- package/calendar/lib/calendar.component.d.ts +8 -5
- package/calendar/lib/calendar.module.d.ts +4 -16
- package/calendar/lib/calendar.provider.d.ts +5 -0
- package/calendar/lib/calendar.store.d.ts +13 -9
- package/calendar/lib/index.d.ts +1 -0
- package/esm2022/calendar/lib/calendar.base.component.mjs +26 -12
- package/esm2022/calendar/lib/calendar.component.mjs +19 -17
- package/esm2022/calendar/lib/calendar.mjs +1 -1
- package/esm2022/calendar/lib/calendar.module.mjs +10 -76
- package/esm2022/calendar/lib/calendar.provider.mjs +11 -0
- package/esm2022/calendar/lib/calendar.store.mjs +19 -19
- package/esm2022/calendar/lib/index.mjs +2 -1
- package/esm2022/lib/action/action.confirm.directive.mjs +10 -12
- package/esm2022/lib/action/action.module.mjs +12 -16
- package/esm2022/lib/action/key.trigger.directive.mjs +6 -5
- package/esm2022/lib/action/snackbar/action.snackbar.component.mjs +29 -36
- package/esm2022/lib/action/snackbar/action.snackbar.directive.mjs +14 -27
- package/esm2022/lib/action/snackbar/action.snackbar.generator.mjs +1 -1
- package/esm2022/lib/action/snackbar/action.snackbar.module.mjs +8 -14
- package/esm2022/lib/action/snackbar/action.snackbar.service.mjs +4 -4
- package/esm2022/lib/action/transition/action.transition.module.mjs +14 -13
- package/esm2022/lib/action/transition/transition.safety.dialog.component.mjs +18 -24
- package/esm2022/lib/action/transition/transition.safety.directive.mjs +30 -33
- package/esm2022/lib/button/button.component.mjs +71 -104
- package/esm2022/lib/button/button.module.mjs +44 -12
- package/esm2022/lib/button/button.spacer.directive.mjs +20 -0
- package/esm2022/lib/button/icon/icon.button.component.mjs +48 -32
- package/esm2022/lib/button/icon/icon.button.module.mjs +10 -24
- package/esm2022/lib/button/index.mjs +2 -2
- package/esm2022/lib/button/progress/abstract.progress.button.directive.mjs +103 -0
- package/esm2022/lib/button/progress/bar.button.component.mjs +15 -11
- package/esm2022/lib/button/progress/button.progress.config.mjs +2 -2
- package/esm2022/lib/button/progress/button.progress.module.mjs +13 -28
- package/esm2022/lib/button/progress/button.progress.providers.mjs +18 -0
- package/esm2022/lib/button/progress/index.mjs +2 -1
- package/esm2022/lib/button/progress/spinner.button.component.mjs +66 -38
- package/esm2022/lib/dbx-web.module.mjs +4 -4
- package/esm2022/lib/error/default.error.widget.component.mjs +22 -15
- package/esm2022/lib/error/error.action.directive.mjs +9 -8
- package/esm2022/lib/error/error.api.mjs +1 -1
- package/esm2022/lib/error/error.component.mjs +56 -94
- package/esm2022/lib/error/error.details.component.mjs +15 -14
- package/esm2022/lib/error/error.loading.directive.mjs +20 -20
- package/esm2022/lib/error/error.module.mjs +21 -18
- package/esm2022/lib/error/error.popover.component.mjs +14 -17
- package/esm2022/lib/error/error.snackbar.action.directive.mjs +6 -5
- package/esm2022/lib/error/error.snackbar.component.mjs +57 -39
- package/esm2022/lib/error/error.snackbar.service.mjs +11 -10
- package/esm2022/lib/error/error.view.component.mjs +40 -33
- package/esm2022/lib/error/error.widget.component.mjs +19 -25
- package/esm2022/lib/error/error.widget.directive.mjs +3 -3
- package/esm2022/lib/error/error.widget.service.mjs +7 -7
- package/esm2022/lib/error/state.mjs +1 -1
- package/esm2022/lib/extension/download/text/download.text.component.mjs +46 -56
- package/esm2022/lib/extension/download/text/download.text.module.mjs +11 -33
- package/esm2022/lib/extension/model/index.mjs +2 -2
- package/esm2022/lib/extension/model/model.providers.mjs +42 -0
- package/esm2022/lib/extension/model/model.state.service.mjs +5 -8
- package/esm2022/lib/extension/model/model.tracker.mjs +1 -1
- package/esm2022/lib/extension/model/model.tracker.service.mjs +5 -8
- package/esm2022/lib/extension/model/model.tracker.view.storage.mjs +8 -8
- package/esm2022/lib/extension/model/model.types.mjs +1 -1
- package/esm2022/lib/extension/model/model.types.service.mjs +5 -5
- package/esm2022/lib/extension/model/state/actions/model.actions.mjs +1 -1
- package/esm2022/lib/extension/model/state/effects/tracker.effects.mjs +3 -3
- package/esm2022/lib/extension/structure/structure.body.directive.mjs +6 -5
- package/esm2022/lib/extension/structure/structure.module.mjs +11 -17
- package/esm2022/lib/extension/structure/structure.structure.directive.mjs +10 -6
- package/esm2022/lib/extension/widget/widget.component.mjs +32 -37
- package/esm2022/lib/extension/widget/widget.directive.mjs +3 -3
- package/esm2022/lib/extension/widget/widget.list.component.mjs +31 -20
- package/esm2022/lib/extension/widget/widget.module.mjs +15 -24
- package/esm2022/lib/extension/widget/widget.service.mjs +4 -4
- package/esm2022/lib/index.mjs +2 -2
- package/esm2022/lib/interaction/dialog/abstract.dialog.directive.mjs +3 -3
- package/esm2022/lib/interaction/dialog/dialog.action.directive.mjs +19 -23
- package/esm2022/lib/interaction/dialog/dialog.content.close.component.mjs +23 -22
- package/esm2022/lib/interaction/dialog/dialog.content.directive.mjs +23 -0
- package/esm2022/lib/interaction/dialog/dialog.content.footer.component.mjs +21 -29
- package/esm2022/lib/interaction/dialog/dialog.module.mjs +9 -16
- package/esm2022/lib/interaction/dialog/index.mjs +2 -2
- package/esm2022/lib/interaction/filter/filter.config.mjs +2 -0
- package/esm2022/lib/interaction/filter/filter.menu.mjs +1 -1
- package/esm2022/lib/interaction/filter/filter.module.mjs +9 -54
- package/esm2022/lib/interaction/filter/filter.partial.list.component.mjs +13 -11
- package/esm2022/lib/interaction/filter/filter.partial.menu.component.mjs +22 -29
- package/esm2022/lib/interaction/filter/filter.partial.mjs +13 -24
- package/esm2022/lib/interaction/filter/filter.popover.button.component.mjs +17 -31
- package/esm2022/lib/interaction/filter/filter.popover.button.directive.mjs +10 -12
- package/esm2022/lib/interaction/filter/filter.popover.component.mjs +25 -30
- package/esm2022/lib/interaction/filter/filter.preset.directive.mjs +17 -29
- package/esm2022/lib/interaction/filter/filter.preset.list.component.mjs +13 -11
- package/esm2022/lib/interaction/filter/filter.preset.menu.component.mjs +22 -29
- package/esm2022/lib/interaction/filter/filter.wrapper.component.mjs +23 -29
- package/esm2022/lib/interaction/filter/index.mjs +2 -1
- package/esm2022/lib/interaction/interaction.module.mjs +17 -6
- package/esm2022/lib/interaction/popover/abstract.popover.directive.mjs +3 -3
- package/esm2022/lib/interaction/popover/abstract.popover.ref.directive.mjs +13 -22
- package/esm2022/lib/interaction/popover/index.mjs +2 -2
- package/esm2022/lib/interaction/popover/popover.action.directive.mjs +20 -23
- package/esm2022/lib/interaction/popover/popover.close.component.mjs +12 -8
- package/esm2022/lib/interaction/popover/popover.component.mjs +15 -13
- package/esm2022/lib/interaction/popover/popover.content.component.mjs +20 -13
- package/esm2022/lib/interaction/popover/popover.content.module.mjs +9 -19
- package/esm2022/lib/interaction/popover/popover.controls.directive.mjs +7 -6
- package/esm2022/lib/interaction/popover/popover.coordinator.component.mjs +17 -15
- package/esm2022/lib/interaction/popover/popover.coordinator.service.mjs +4 -4
- package/esm2022/lib/interaction/popover/popover.header.component.mjs +25 -22
- package/esm2022/lib/interaction/popover/popover.module.mjs +8 -18
- package/esm2022/lib/interaction/popover/popover.scroll.content.directive.mjs +41 -0
- package/esm2022/lib/interaction/popover/popover.service.mjs +4 -4
- package/esm2022/lib/interaction/popup/abstract.popup.directive.mjs +3 -3
- package/esm2022/lib/interaction/popup/popup.component.mjs +20 -23
- package/esm2022/lib/interaction/popup/popup.content.component.mjs +21 -14
- package/esm2022/lib/interaction/popup/popup.controls.buttons.component.mjs +49 -26
- package/esm2022/lib/interaction/popup/popup.controls.component.mjs +15 -14
- package/esm2022/lib/interaction/popup/popup.coordinator.component.mjs +15 -12
- package/esm2022/lib/interaction/popup/popup.coordinator.service.mjs +4 -4
- package/esm2022/lib/interaction/popup/popup.mjs +6 -7
- package/esm2022/lib/interaction/popup/popup.module.mjs +8 -19
- package/esm2022/lib/interaction/popup/popup.position.strategy.mjs +1 -1
- package/esm2022/lib/interaction/popup/popup.service.mjs +8 -5
- package/esm2022/lib/interaction/prompt/index.mjs +2 -2
- package/esm2022/lib/interaction/prompt/prompt.box.directive.mjs +19 -0
- package/esm2022/lib/interaction/prompt/prompt.button.confirm.directive.mjs +6 -5
- package/esm2022/lib/interaction/prompt/prompt.component.mjs +16 -17
- package/esm2022/lib/interaction/prompt/prompt.confirm.component.mjs +35 -35
- package/esm2022/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +14 -13
- package/esm2022/lib/interaction/prompt/prompt.confirm.directive.mjs +28 -23
- package/esm2022/lib/interaction/prompt/prompt.module.mjs +9 -18
- package/esm2022/lib/interaction/prompt/prompt.page.component.mjs +11 -8
- package/esm2022/lib/keypress/keydown.listener.directive.mjs +6 -5
- package/esm2022/lib/keypress/keypress.module.mjs +9 -8
- package/esm2022/lib/layout/bar/bar.directive.mjs +14 -11
- package/esm2022/lib/layout/bar/bar.header.component.mjs +31 -26
- package/esm2022/lib/layout/bar/bar.layout.module.mjs +9 -12
- package/esm2022/lib/layout/bar/pagebar.component.mjs +33 -12
- package/esm2022/lib/layout/block/block.layout.module.mjs +10 -12
- package/esm2022/lib/layout/block/two.block.component.mjs +25 -32
- package/esm2022/lib/layout/card/card.box.component.mjs +27 -20
- package/esm2022/lib/layout/card/card.box.container.directive.mjs +20 -0
- package/esm2022/lib/layout/card/card.box.layout.module.mjs +10 -12
- package/esm2022/lib/layout/card/index.mjs +2 -2
- package/esm2022/lib/layout/column/column.layout.module.mjs +9 -7
- package/esm2022/lib/layout/column/one/one.column.component.mjs +16 -15
- package/esm2022/lib/layout/column/one/one.column.module.mjs +9 -9
- package/esm2022/lib/layout/column/two/index.mjs +2 -2
- package/esm2022/lib/layout/column/two/two.column.back.directive.mjs +10 -12
- package/esm2022/lib/layout/column/two/two.column.component.mjs +77 -51
- package/esm2022/lib/layout/column/two/two.column.context.directive.mjs +14 -21
- package/esm2022/lib/layout/column/two/two.column.full.left.directive.mjs +13 -28
- package/esm2022/lib/layout/column/two/two.column.head.directive.mjs +24 -0
- package/esm2022/lib/layout/column/two/two.column.module.mjs +9 -15
- package/esm2022/lib/layout/column/two/two.column.right.component.mjs +90 -49
- package/esm2022/lib/layout/column/two/two.column.sref.directive.mjs +13 -13
- package/esm2022/lib/layout/column/two/two.column.sref.showright.directive.mjs +9 -7
- package/esm2022/lib/layout/column/two/two.column.store.mjs +15 -11
- package/esm2022/lib/layout/compact/compact.directive.mjs +3 -3
- package/esm2022/lib/layout/compact/compact.layout.module.mjs +4 -4
- package/esm2022/lib/layout/compact/compact.mjs +1 -1
- package/esm2022/lib/layout/compact/compact.store.mjs +4 -4
- package/esm2022/lib/layout/content/content.border.directive.mjs +11 -11
- package/esm2022/lib/layout/content/content.box.directive.mjs +12 -15
- package/esm2022/lib/layout/content/content.container.directive.mjs +16 -17
- package/esm2022/lib/layout/content/content.directive.mjs +6 -5
- package/esm2022/lib/layout/content/content.elevate.directive.mjs +10 -11
- package/esm2022/lib/layout/content/content.layout.module.mjs +9 -11
- package/esm2022/lib/layout/content/content.page.directive.mjs +6 -5
- package/esm2022/lib/layout/content/content.pit.directive.mjs +10 -11
- package/esm2022/lib/layout/flag/flag.component.mjs +15 -14
- package/esm2022/lib/layout/flag/flag.layout.module.mjs +8 -13
- package/esm2022/lib/layout/flag/flag.prompt.component.mjs +18 -20
- package/esm2022/lib/layout/flex/flex.group.directive.mjs +21 -47
- package/esm2022/lib/layout/flex/flex.layout.module.mjs +11 -9
- package/esm2022/lib/layout/flex/flex.size.directive.mjs +11 -12
- package/esm2022/lib/layout/item/index.mjs +1 -2
- package/esm2022/lib/layout/item/item.icon.component.mjs +31 -24
- package/esm2022/lib/layout/layout.module.mjs +6 -8
- package/esm2022/lib/layout/list/grid/index.mjs +3 -0
- package/esm2022/lib/layout/list/grid/list.grid.view.component.mjs +98 -0
- package/esm2022/lib/layout/list/grid/list.grid.view.directive.mjs +34 -0
- package/esm2022/lib/layout/list/group/index.mjs +4 -0
- package/esm2022/lib/layout/list/group/list.view.value.group.mjs +32 -0
- package/esm2022/lib/layout/list/group/list.view.value.group.title.directive.mjs +70 -0
- package/esm2022/lib/layout/list/group/list.view.value.group.title.header.component.mjs +60 -0
- package/esm2022/lib/layout/list/group/list.view.value.group.title.mjs +2 -0
- package/esm2022/lib/layout/list/index.mjs +6 -10
- package/esm2022/lib/layout/list/list.component.mjs +109 -135
- package/esm2022/lib/layout/list/list.content.empty.component.mjs +9 -7
- package/esm2022/lib/layout/list/list.directive.mjs +70 -56
- package/esm2022/lib/layout/list/list.layout.module.mjs +59 -49
- package/esm2022/lib/layout/list/list.module.mjs +40 -0
- package/esm2022/lib/layout/list/list.view.directive.mjs +35 -28
- package/esm2022/lib/layout/list/list.view.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.selection.directive.mjs +26 -10
- package/esm2022/lib/layout/list/list.view.value.component.mjs +135 -143
- package/esm2022/lib/layout/list/list.view.value.directive.mjs +12 -18
- package/esm2022/lib/layout/list/list.view.value.item.directive.mjs +3 -3
- package/esm2022/lib/layout/list/list.view.value.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.value.modifier.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.value.selection.component.mjs +80 -68
- package/esm2022/lib/layout/list/list.wrapper.mjs +1 -3
- package/esm2022/lib/layout/list/meta/index.mjs +2 -0
- package/esm2022/lib/layout/list/meta/list.view.meta.icon.component.mjs +39 -0
- package/esm2022/lib/layout/list/modifier/index.mjs +5 -0
- package/esm2022/lib/layout/list/modifier/list.modifier.module.mjs +22 -0
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.directive.mjs +75 -0
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.ripple.directive.mjs +37 -0
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.selection.directive.mjs +35 -0
- package/esm2022/lib/layout/section/section.component.mjs +18 -15
- package/esm2022/lib/layout/section/section.header.component.mjs +123 -106
- package/esm2022/lib/layout/section/section.intro.component.mjs +53 -51
- package/esm2022/lib/layout/section/section.layout.module.mjs +9 -15
- package/esm2022/lib/layout/section/section.mjs +1 -1
- package/esm2022/lib/layout/section/section.page.component.mjs +22 -18
- package/esm2022/lib/layout/section/subsection.component.mjs +13 -10
- package/esm2022/lib/layout/step/step.component.mjs +56 -21
- package/esm2022/lib/layout/step/step.layout.module.mjs +11 -10
- package/esm2022/lib/layout/style/index.mjs +2 -1
- package/esm2022/lib/layout/style/spacer.directive.mjs +6 -5
- package/esm2022/lib/layout/style/style.body.directive.mjs +22 -17
- package/esm2022/lib/layout/style/style.color.directive.mjs +11 -14
- package/esm2022/lib/layout/style/style.directive.mjs +13 -17
- package/esm2022/lib/layout/style/style.layout.module.mjs +8 -10
- package/esm2022/lib/layout/style/style.mjs +4 -1
- package/esm2022/lib/layout/style/style.providers.mjs +21 -0
- package/esm2022/lib/layout/style/style.service.mjs +54 -32
- package/esm2022/lib/layout/style/style.set.directive.mjs +31 -47
- package/esm2022/lib/layout/text/address.component.mjs +43 -22
- package/esm2022/lib/layout/text/compat/form.description.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/hint.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/label.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/note.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/notice.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/ok.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/success.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/text.compat.module.mjs +4 -4
- package/esm2022/lib/layout/text/compat/warn.component.mjs +3 -3
- package/esm2022/lib/layout/text/detail.block.component.mjs +11 -8
- package/esm2022/lib/layout/text/detail.block.header.component.mjs +24 -13
- package/esm2022/lib/layout/text/icon.spacer.component.mjs +6 -5
- package/esm2022/lib/layout/text/label.block.component.mjs +9 -7
- package/esm2022/lib/layout/text/linkify.component.mjs +13 -10
- package/esm2022/lib/layout/text/text.chip.directive.mjs +6 -5
- package/esm2022/lib/layout/text/text.chips.component.mjs +34 -29
- package/esm2022/lib/layout/text/text.module.mjs +8 -13
- package/esm2022/lib/loading/basic-loading.component.mjs +31 -97
- package/esm2022/lib/loading/loading-progress.component.mjs +47 -54
- package/esm2022/lib/loading/loading.action.directive.mjs +9 -11
- package/esm2022/lib/loading/loading.component.mjs +60 -81
- package/esm2022/lib/loading/loading.module.mjs +8 -13
- package/esm2022/lib/router/layout/anchor/anchor.component.mjs +86 -36
- package/esm2022/lib/router/layout/anchor/anchor.content.component.mjs +26 -14
- package/esm2022/lib/router/layout/anchor/anchor.icon.component.mjs +10 -6
- package/esm2022/lib/router/layout/anchor/anchor.link.component.mjs +9 -7
- package/esm2022/lib/router/layout/anchor/anchor.module.mjs +17 -13
- package/esm2022/lib/router/layout/anchor/anchor.segue.directive.mjs +11 -13
- package/esm2022/lib/router/layout/anchorlist/anchorlist.component.mjs +22 -28
- package/esm2022/lib/router/layout/anchorlist/anchorlist.module.mjs +9 -15
- package/esm2022/lib/router/layout/layout.module.mjs +4 -4
- package/esm2022/lib/router/layout/list/list.module.mjs +9 -7
- package/esm2022/lib/router/layout/list/router.list.directive.mjs +16 -20
- package/esm2022/lib/router/layout/navbar/navbar.component.mjs +41 -87
- package/esm2022/lib/router/layout/navbar/navbar.module.mjs +9 -43
- package/esm2022/lib/router/layout/sidenav/sidenav.button.component.mjs +28 -24
- package/esm2022/lib/router/layout/sidenav/sidenav.component.mjs +91 -71
- package/esm2022/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.mjs +18 -23
- package/esm2022/lib/router/layout/sidenav/sidenav.module.mjs +8 -22
- package/esm2022/lib/router/layout/sidenav/sidenav.page.component.mjs +37 -46
- package/esm2022/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +18 -18
- package/esm2022/lib/router/provider/ngrouter/anchor.component.mjs +6 -7
- package/esm2022/lib/router/provider/ngrouter/angular.router.providers.mjs +23 -0
- package/esm2022/lib/router/provider/ngrouter/index.mjs +2 -2
- package/esm2022/lib/router/provider/router.provider.config.mjs +8 -1
- package/esm2022/lib/router/provider/uirouter/anchor.component.mjs +14 -12
- package/esm2022/lib/router/provider/uirouter/index.mjs +2 -2
- package/esm2022/lib/router/provider/uirouter/uirouter.router.providers.mjs +23 -0
- package/esm2022/lib/screen/index.mjs +2 -2
- package/esm2022/lib/screen/screen.providers.mjs +22 -0
- package/esm2022/lib/screen/screen.service.mjs +6 -6
- package/esm2022/lib/util/cdk.mjs +1 -1
- package/esm2022/mapbox/lib/index.mjs +3 -2
- package/esm2022/mapbox/lib/mapbox.change.service.mjs +4 -4
- package/esm2022/mapbox/lib/mapbox.injection.component.mjs +13 -12
- package/esm2022/mapbox/lib/mapbox.injection.store.mjs +5 -5
- package/esm2022/mapbox/lib/mapbox.injection.store.provide.mjs +9 -8
- package/esm2022/mapbox/lib/mapbox.layout.component.mjs +93 -117
- package/esm2022/mapbox/lib/mapbox.layout.drawer.component.mjs +8 -8
- package/esm2022/mapbox/lib/mapbox.layout.resize.sync.directive.mjs +9 -8
- package/esm2022/mapbox/lib/mapbox.marker.component.mjs +69 -72
- package/esm2022/mapbox/lib/mapbox.marker.mjs +2 -2
- package/esm2022/mapbox/lib/mapbox.markers.component.mjs +22 -36
- package/esm2022/mapbox/lib/mapbox.menu.component.mjs +33 -31
- package/esm2022/mapbox/lib/mapbox.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.module.mjs +24 -61
- package/esm2022/mapbox/lib/mapbox.options.mjs +2 -0
- package/esm2022/mapbox/lib/mapbox.providers.mjs +25 -0
- package/esm2022/mapbox/lib/mapbox.rxjs.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.service.mjs +5 -8
- package/esm2022/mapbox/lib/mapbox.store.map.directive.mjs +7 -6
- package/esm2022/mapbox/lib/mapbox.store.mjs +39 -15
- package/esm2022/mapbox/lib/mapbox.store.provide.mjs +9 -8
- package/esm2022/table/lib/date/date.table.column.header.component.mjs +27 -21
- package/esm2022/table/lib/date/daterange.table.cell.input.component.mjs +39 -46
- package/esm2022/table/lib/date/table.date.module.mjs +8 -58
- package/esm2022/table/lib/table.cell.action.component.mjs +13 -10
- package/esm2022/table/lib/table.cell.input.component.mjs +13 -10
- package/esm2022/table/lib/table.cell.summaryend.component.mjs +13 -10
- package/esm2022/table/lib/table.cell.summarystart.component.mjs +13 -10
- package/esm2022/table/lib/table.column.directive.mjs +10 -17
- package/esm2022/table/lib/table.column.footer.component.mjs +13 -10
- package/esm2022/table/lib/table.column.header.component.mjs +13 -10
- package/esm2022/table/lib/table.component.mjs +31 -24
- package/esm2022/table/lib/table.directive.mjs +16 -22
- package/esm2022/table/lib/table.item.action.component.mjs +20 -17
- package/esm2022/table/lib/table.item.cell.component.mjs +19 -26
- package/esm2022/table/lib/table.item.directive.mjs +10 -17
- package/esm2022/table/lib/table.item.header.component.mjs +15 -11
- package/esm2022/table/lib/table.module.mjs +11 -55
- package/esm2022/table/lib/table.store.mjs +8 -8
- package/fesm2022/dereekb-dbx-web-calendar.mjs +69 -110
- package/fesm2022/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-mapbox.mjs +340 -365
- package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-table.mjs +230 -317
- package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +8063 -8083
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/action.confirm.directive.d.ts +4 -5
- package/lib/action/action.module.d.ts +7 -10
- package/lib/action/key.trigger.directive.d.ts +1 -1
- package/lib/action/snackbar/_snackbar.scss +3 -3
- package/lib/action/snackbar/action.snackbar.component.d.ts +15 -14
- package/lib/action/snackbar/action.snackbar.directive.d.ts +5 -7
- package/lib/action/snackbar/action.snackbar.generator.d.ts +9 -9
- package/lib/action/snackbar/action.snackbar.module.d.ts +1 -6
- package/lib/action/transition/action.transition.module.d.ts +7 -6
- package/lib/action/transition/transition.safety.dialog.component.d.ts +5 -9
- package/lib/action/transition/transition.safety.directive.d.ts +10 -7
- package/lib/button/_button.scss +3 -3
- package/lib/button/button.component.d.ts +16 -21
- package/lib/button/button.module.d.ts +10 -7
- package/lib/button/{button.spacer.component.d.ts → button.spacer.directive.d.ts} +1 -1
- package/lib/button/icon/icon.button.component.d.ts +1 -1
- package/lib/button/icon/icon.button.module.d.ts +4 -4
- package/lib/button/index.d.ts +1 -1
- package/lib/button/progress/abstract.progress.button.directive.d.ts +25 -0
- package/lib/button/progress/bar.button.component.d.ts +5 -4
- package/lib/button/progress/bar.button.component.scss +1 -1
- package/lib/button/progress/button.progress.config.d.ts +62 -34
- package/lib/button/progress/button.progress.module.d.ts +4 -10
- package/lib/button/progress/button.progress.providers.d.ts +9 -0
- package/lib/button/progress/index.d.ts +1 -0
- package/lib/button/progress/spinner.button.component.d.ts +18 -7
- package/lib/button/progress/spinner.button.component.scss +34 -7
- package/lib/error/_error.scss +3 -3
- package/lib/error/default.error.widget.component.d.ts +3 -3
- package/lib/error/error.action.directive.d.ts +3 -3
- package/lib/error/error.component.d.ts +21 -28
- package/lib/error/error.details.component.d.ts +2 -2
- package/lib/error/error.loading.directive.d.ts +8 -8
- package/lib/error/error.module.d.ts +4 -7
- package/lib/error/error.popover.component.d.ts +6 -6
- package/lib/error/error.snackbar.action.directive.d.ts +1 -1
- package/lib/error/error.snackbar.component.d.ts +12 -23
- package/lib/error/error.snackbar.service.d.ts +1 -0
- package/lib/error/error.view.component.d.ts +10 -12
- package/lib/error/error.widget.component.d.ts +4 -8
- package/lib/error/error.widget.service.d.ts +1 -1
- package/lib/error/state.d.ts +3 -2
- package/lib/extension/calendar/_calendar.scss +20 -20
- package/lib/extension/download/text/download.text.component.d.ts +16 -14
- package/lib/extension/download/text/download.text.module.d.ts +4 -6
- package/lib/extension/model/index.d.ts +1 -1
- package/lib/extension/model/model.providers.d.ts +13 -0
- package/lib/extension/model/model.tracker.d.ts +7 -7
- package/lib/extension/model/model.tracker.service.d.ts +2 -2
- package/lib/extension/model/model.tracker.view.storage.d.ts +4 -1
- package/lib/extension/model/model.types.d.ts +6 -6
- package/lib/extension/model/model.types.service.d.ts +1 -1
- package/lib/extension/model/state/actions/actions.d.ts +1 -1
- package/lib/extension/model/state/actions/model.actions.d.ts +5 -5
- package/lib/extension/model/state/effects/tracker.effects.d.ts +1 -1
- package/lib/extension/model/state/reducers/model.module.config.d.ts +1 -1
- package/lib/extension/structure/structure.body.directive.d.ts +1 -1
- package/lib/extension/structure/structure.module.d.ts +4 -2
- package/lib/extension/structure/structure.structure.directive.d.ts +5 -2
- package/lib/extension/table/_table.scss +3 -3
- package/lib/extension/widget/widget.component.d.ts +5 -9
- package/lib/extension/widget/widget.list.component.d.ts +8 -4
- package/lib/extension/widget/widget.module.d.ts +8 -4
- package/lib/index.d.ts +1 -1
- package/lib/interaction/dialog/_dialog.scss +3 -3
- package/lib/interaction/dialog/dialog.action.directive.d.ts +7 -6
- package/lib/interaction/dialog/dialog.content.close.component.d.ts +4 -6
- package/lib/interaction/dialog/{dialog.content.component.d.ts → dialog.content.directive.d.ts} +3 -2
- package/lib/interaction/dialog/dialog.content.footer.component.d.ts +10 -10
- package/lib/interaction/dialog/dialog.module.d.ts +2 -9
- package/lib/interaction/dialog/index.d.ts +1 -1
- package/lib/interaction/filter/_filter.scss +3 -3
- package/lib/interaction/filter/filter.config.d.ts +62 -0
- package/lib/interaction/filter/filter.menu.d.ts +3 -3
- package/lib/interaction/filter/filter.module.d.ts +2 -11
- package/lib/interaction/filter/filter.partial.d.ts +5 -7
- package/lib/interaction/filter/filter.partial.list.component.d.ts +1 -1
- package/lib/interaction/filter/filter.partial.menu.component.d.ts +5 -5
- package/lib/interaction/filter/filter.popover.button.component.d.ts +5 -7
- package/lib/interaction/filter/filter.popover.button.directive.d.ts +7 -6
- package/lib/interaction/filter/filter.popover.component.d.ts +15 -71
- package/lib/interaction/filter/filter.preset.directive.d.ts +7 -11
- package/lib/interaction/filter/filter.preset.list.component.d.ts +1 -1
- package/lib/interaction/filter/filter.preset.menu.component.d.ts +5 -5
- package/lib/interaction/filter/filter.wrapper.component.d.ts +5 -5
- package/lib/interaction/filter/index.d.ts +1 -0
- package/lib/interaction/interaction.module.d.ts +13 -4
- package/lib/interaction/popover/_popover.scss +3 -3
- package/lib/interaction/popover/abstract.popover.ref.directive.d.ts +3 -4
- package/lib/interaction/popover/index.d.ts +1 -1
- package/lib/interaction/popover/popover.action.directive.d.ts +7 -6
- package/lib/interaction/popover/popover.close.component.d.ts +1 -1
- package/lib/interaction/popover/popover.component.d.ts +15 -9
- package/lib/interaction/popover/popover.content.component.d.ts +6 -4
- package/lib/interaction/popover/popover.content.module.d.ts +2 -11
- package/lib/interaction/popover/popover.controls.directive.d.ts +3 -2
- package/lib/interaction/popover/popover.coordinator.component.d.ts +2 -2
- package/lib/interaction/popover/popover.header.component.d.ts +4 -3
- package/lib/interaction/popover/popover.module.d.ts +2 -11
- package/lib/interaction/popover/popover.scroll.content.directive.d.ts +13 -0
- package/lib/interaction/popover/popover.service.d.ts +4 -4
- package/lib/interaction/popup/_popup.scss +6 -6
- package/lib/interaction/popup/popup.component.d.ts +19 -19
- package/lib/interaction/popup/popup.content.component.d.ts +2 -1
- package/lib/interaction/popup/popup.controls.buttons.component.d.ts +3 -1
- package/lib/interaction/popup/popup.controls.component.d.ts +2 -2
- package/lib/interaction/popup/popup.coordinator.component.d.ts +3 -2
- package/lib/interaction/popup/popup.coordinator.service.d.ts +1 -1
- package/lib/interaction/popup/popup.d.ts +7 -6
- package/lib/interaction/popup/popup.module.d.ts +1 -10
- package/lib/interaction/popup/popup.position.strategy.d.ts +2 -2
- package/lib/interaction/popup/popup.service.d.ts +4 -4
- package/lib/interaction/prompt/_prompt.scss +4 -4
- package/lib/interaction/prompt/index.d.ts +1 -1
- package/lib/interaction/prompt/prompt.box.directive.d.ts +6 -0
- package/lib/interaction/prompt/prompt.button.confirm.directive.d.ts +1 -1
- package/lib/interaction/prompt/prompt.component.d.ts +3 -3
- package/lib/interaction/prompt/prompt.confirm.component.d.ts +11 -23
- package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +2 -3
- package/lib/interaction/prompt/prompt.confirm.directive.d.ts +9 -5
- package/lib/interaction/prompt/prompt.module.d.ts +2 -11
- package/lib/interaction/prompt/prompt.page.component.d.ts +1 -1
- package/lib/interaction/style/_style.scss +6 -6
- package/lib/keypress/keydown.listener.directive.d.ts +1 -1
- package/lib/keypress/keypress.module.d.ts +4 -2
- package/lib/layout/bar/_bar.scss +8 -12
- package/lib/layout/bar/bar.directive.d.ts +3 -3
- package/lib/layout/bar/bar.header.component.d.ts +4 -5
- package/lib/layout/bar/bar.layout.module.d.ts +2 -5
- package/lib/layout/bar/pagebar.component.d.ts +3 -3
- package/lib/layout/block/_block.scss +3 -3
- package/lib/layout/block/block.layout.module.d.ts +3 -4
- package/lib/layout/block/two.block.component.d.ts +8 -8
- package/lib/layout/card/_card.scss +3 -3
- package/lib/layout/card/card.box.component.d.ts +3 -3
- package/lib/layout/card/card.box.container.directive.d.ts +8 -0
- package/lib/layout/card/card.box.layout.module.d.ts +2 -4
- package/lib/layout/card/index.d.ts +1 -1
- package/lib/layout/column/_column.scss +3 -3
- package/lib/layout/column/column.layout.module.d.ts +2 -2
- package/lib/layout/column/one/one.column.component.d.ts +3 -3
- package/lib/layout/column/one/one.column.module.d.ts +4 -3
- package/lib/layout/column/two/index.d.ts +1 -1
- package/lib/layout/column/two/two.column.back.directive.d.ts +3 -3
- package/lib/layout/column/two/two.column.component.d.ts +37 -20
- package/lib/layout/column/two/two.column.context.directive.d.ts +4 -7
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +4 -8
- package/lib/layout/column/two/two.column.head.directive.d.ts +11 -0
- package/lib/layout/column/two/two.column.module.d.ts +2 -8
- package/lib/layout/column/two/two.column.right.component.d.ts +12 -14
- package/lib/layout/column/two/two.column.sref.directive.d.ts +3 -2
- package/lib/layout/column/two/two.column.sref.showright.directive.d.ts +3 -4
- package/lib/layout/column/two/two.column.store.d.ts +17 -9
- package/lib/layout/content/_content.scss +10 -10
- package/lib/layout/content/content.border.directive.d.ts +3 -2
- package/lib/layout/content/content.box.directive.d.ts +3 -3
- package/lib/layout/content/content.container.directive.d.ts +5 -4
- package/lib/layout/content/content.directive.d.ts +1 -1
- package/lib/layout/content/content.elevate.directive.d.ts +2 -2
- package/lib/layout/content/content.layout.module.d.ts +1 -2
- package/lib/layout/content/content.page.directive.d.ts +1 -1
- package/lib/layout/content/content.pit.directive.d.ts +2 -2
- package/lib/layout/flag/_flag.scss +3 -3
- package/lib/layout/flag/flag.component.d.ts +2 -2
- package/lib/layout/flag/flag.layout.module.d.ts +1 -6
- package/lib/layout/flag/flag.prompt.component.d.ts +4 -3
- package/lib/layout/flex/_flex.scss +3 -3
- package/lib/layout/flex/flex.group.directive.d.ts +7 -14
- package/lib/layout/flex/flex.layout.module.d.ts +4 -2
- package/lib/layout/flex/flex.size.directive.d.ts +3 -2
- package/lib/layout/item/_item.scss +3 -3
- package/lib/layout/item/index.d.ts +0 -1
- package/lib/layout/item/item.icon.component.d.ts +3 -3
- package/lib/layout/layout.module.d.ts +5 -7
- package/lib/layout/list/_list.scss +19 -6
- package/lib/layout/list/grid/index.d.ts +2 -0
- package/lib/layout/list/{list.grid.view.component.d.ts → grid/list.grid.view.component.d.ts} +23 -31
- package/lib/layout/list/grid/list.grid.view.directive.d.ts +24 -0
- package/lib/layout/list/group/index.d.ts +3 -0
- package/lib/layout/list/{list.view.value.group.d.ts → group/list.view.value.group.d.ts} +2 -2
- package/lib/layout/list/{list.view.value.group.title.d.ts → group/list.view.value.group.title.d.ts} +1 -1
- package/lib/layout/list/group/list.view.value.group.title.directive.d.ts +15 -0
- package/lib/layout/list/group/list.view.value.group.title.header.component.d.ts +21 -0
- package/lib/layout/list/index.d.ts +5 -9
- package/lib/layout/list/list.component.d.ts +54 -50
- package/lib/layout/list/list.content.empty.component.d.ts +1 -1
- package/lib/layout/list/list.directive.d.ts +35 -15
- package/lib/layout/list/list.layout.module.d.ts +27 -18
- package/lib/layout/list/list.module.d.ts +13 -0
- package/lib/layout/list/list.view.d.ts +8 -8
- package/lib/layout/list/list.view.directive.d.ts +14 -9
- package/lib/layout/list/list.view.selection.directive.d.ts +12 -3
- package/lib/layout/list/list.view.value.component.d.ts +32 -39
- package/lib/layout/list/list.view.value.d.ts +4 -1
- package/lib/layout/list/list.view.value.directive.d.ts +5 -7
- package/lib/layout/list/list.view.value.selection.component.d.ts +14 -13
- package/lib/layout/list/list.wrapper.d.ts +13 -4
- package/lib/layout/list/meta/index.d.ts +1 -0
- package/lib/layout/list/{list.view.meta.icon.component.d.ts → meta/list.view.meta.icon.component.d.ts} +2 -2
- package/lib/layout/list/modifier/index.d.ts +4 -0
- package/lib/layout/list/modifier/list.modifier.module.d.ts +12 -0
- package/lib/layout/list/{list.view.value.modifier.directive.d.ts → modifier/list.view.value.modifier.directive.d.ts} +13 -12
- package/lib/layout/list/{list.view.value.modifier.ripple.directive.d.ts → modifier/list.view.value.modifier.ripple.directive.d.ts} +5 -6
- package/lib/layout/list/{list.view.value.modifier.selection.directive.d.ts → modifier/list.view.value.modifier.selection.directive.d.ts} +5 -6
- package/lib/layout/section/_section.scss +3 -3
- package/lib/layout/section/section.component.d.ts +3 -2
- package/lib/layout/section/section.d.ts +28 -6
- package/lib/layout/section/section.header.component.d.ts +12 -11
- package/lib/layout/section/section.intro.component.d.ts +7 -8
- package/lib/layout/section/section.layout.module.d.ts +2 -7
- package/lib/layout/section/section.page.component.d.ts +4 -3
- package/lib/layout/section/subsection.component.d.ts +1 -1
- package/lib/layout/step/_step.scss +3 -3
- package/lib/layout/step/step.component.d.ts +6 -5
- package/lib/layout/step/step.layout.module.d.ts +4 -3
- package/lib/layout/style/_style.scss +20 -3
- package/lib/layout/style/index.d.ts +1 -0
- package/lib/layout/style/spacer.directive.d.ts +1 -1
- package/lib/layout/style/style.body.directive.d.ts +8 -8
- package/lib/layout/style/style.color.directive.d.ts +3 -3
- package/lib/layout/style/style.d.ts +48 -1
- package/lib/layout/style/style.directive.d.ts +5 -5
- package/lib/layout/style/style.layout.module.d.ts +1 -2
- package/lib/layout/style/style.providers.d.ts +19 -0
- package/lib/layout/style/style.service.d.ts +28 -18
- package/lib/layout/style/style.set.directive.d.ts +18 -16
- package/lib/layout/text/_text.scss +8 -8
- package/lib/layout/text/address.component.d.ts +2 -2
- package/lib/layout/text/detail.block.component.d.ts +1 -1
- package/lib/layout/text/detail.block.header.component.d.ts +1 -1
- package/lib/layout/text/icon.spacer.component.d.ts +1 -1
- package/lib/layout/text/label.block.component.d.ts +1 -1
- package/lib/layout/text/linkify.component.d.ts +3 -2
- package/lib/layout/text/text.chip.directive.d.ts +1 -1
- package/lib/layout/text/text.chips.component.d.ts +3 -4
- package/lib/layout/text/text.module.d.ts +1 -5
- package/lib/loading/_loading.scss +3 -3
- package/lib/loading/basic-loading.component.d.ts +17 -36
- package/lib/loading/loading-progress.component.d.ts +12 -14
- package/lib/loading/loading.action.directive.d.ts +2 -4
- package/lib/loading/loading.component.d.ts +31 -29
- package/lib/loading/loading.module.d.ts +1 -5
- package/lib/router/layout/anchor/_anchor.scss +3 -3
- package/lib/router/layout/anchor/anchor.component.d.ts +7 -12
- package/lib/router/layout/anchor/anchor.content.component.d.ts +4 -3
- package/lib/router/layout/anchor/anchor.icon.component.d.ts +1 -1
- package/lib/router/layout/anchor/anchor.link.component.d.ts +3 -3
- package/lib/router/layout/anchor/anchor.module.d.ts +14 -5
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +5 -6
- package/lib/router/layout/anchorlist/_anchorlist.scss +6 -6
- package/lib/router/layout/anchorlist/anchorlist.component.d.ts +6 -9
- package/lib/router/layout/anchorlist/anchorlist.module.d.ts +4 -9
- package/lib/router/layout/list/list.module.d.ts +4 -1
- package/lib/router/layout/list/router.list.directive.d.ts +6 -8
- package/lib/router/layout/navbar/_navbar.scss +3 -3
- package/lib/router/layout/navbar/navbar.component.d.ts +22 -29
- package/lib/router/layout/navbar/navbar.module.d.ts +4 -9
- package/lib/router/layout/sidenav/_sidenav.scss +8 -8
- package/lib/router/layout/sidenav/sidenav.button.component.d.ts +3 -4
- package/lib/router/layout/sidenav/sidenav.component.d.ts +19 -18
- package/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.d.ts +7 -7
- package/lib/router/layout/sidenav/sidenav.module.d.ts +1 -14
- package/lib/router/layout/sidenav/sidenav.page.component.d.ts +7 -10
- package/lib/router/layout/sidenav/sidenav.pagebar.component.d.ts +2 -2
- package/lib/router/provider/ngrouter/anchor.component.d.ts +1 -1
- package/lib/router/provider/ngrouter/angular.router.providers.d.ts +7 -0
- package/lib/router/provider/ngrouter/index.d.ts +1 -1
- package/lib/router/provider/router.provider.config.d.ts +7 -0
- package/lib/router/provider/uirouter/anchor.component.d.ts +6 -5
- package/lib/router/provider/uirouter/index.d.ts +1 -1
- package/lib/router/provider/uirouter/uirouter.router.providers.d.ts +7 -0
- package/lib/screen/index.d.ts +1 -1
- package/lib/screen/screen.providers.d.ts +15 -0
- package/lib/screen/screen.service.d.ts +7 -7
- package/lib/style/_all-typography.scss +1 -1
- package/lib/style/_root-variables.scss +13 -13
- package/lib/style/_theming.scss +4 -2
- package/mapbox/lib/index.d.ts +2 -1
- package/mapbox/lib/mapbox.change.service.d.ts +3 -3
- package/mapbox/lib/mapbox.d.ts +33 -19
- package/mapbox/lib/mapbox.injection.component.d.ts +2 -4
- package/mapbox/lib/mapbox.injection.store.provide.d.ts +1 -1
- package/mapbox/lib/mapbox.layout.component.d.ts +36 -34
- package/mapbox/lib/mapbox.layout.drawer.component.d.ts +2 -2
- package/mapbox/lib/mapbox.layout.resize.sync.directive.d.ts +1 -1
- package/mapbox/lib/mapbox.marker.component.d.ts +6 -11
- package/mapbox/lib/mapbox.marker.d.ts +13 -13
- package/mapbox/lib/mapbox.markers.component.d.ts +5 -11
- package/mapbox/lib/mapbox.menu.component.d.ts +9 -11
- package/mapbox/lib/mapbox.module.d.ts +2 -12
- package/mapbox/lib/mapbox.options.d.ts +11 -0
- package/mapbox/lib/mapbox.providers.d.ts +17 -0
- package/mapbox/lib/mapbox.rxjs.d.ts +6 -6
- package/mapbox/lib/mapbox.service.d.ts +1 -1
- package/mapbox/lib/mapbox.store.d.ts +28 -6
- package/mapbox/lib/mapbox.store.map.directive.d.ts +1 -1
- package/mapbox/lib/mapbox.store.provide.d.ts +1 -1
- package/package.json +14 -16
- package/table/lib/date/date.table.column.header.component.d.ts +3 -3
- package/table/lib/date/daterange.table.cell.input.component.d.ts +14 -12
- package/table/lib/date/table.date.module.d.ts +1 -9
- package/table/lib/table.cell.action.component.d.ts +2 -1
- package/table/lib/table.cell.input.component.d.ts +2 -1
- package/table/lib/table.cell.summaryend.component.d.ts +2 -1
- package/table/lib/table.cell.summarystart.component.d.ts +2 -1
- package/table/lib/table.column.directive.d.ts +3 -6
- package/table/lib/table.column.footer.component.d.ts +3 -3
- package/table/lib/table.column.header.component.d.ts +3 -3
- package/table/lib/table.component.d.ts +13 -8
- package/table/lib/table.directive.d.ts +5 -4
- package/table/lib/table.item.action.component.d.ts +4 -2
- package/table/lib/table.item.cell.component.d.ts +3 -5
- package/table/lib/table.item.directive.d.ts +3 -6
- package/table/lib/table.item.header.component.d.ts +2 -1
- package/table/lib/table.module.d.ts +4 -6
- package/calendar/esm2022/dereekb-dbx-web-calendar.mjs +0 -5
- package/calendar/esm2022/index.mjs +0 -2
- package/calendar/esm2022/lib/calendar.base.component.mjs +0 -54
- package/calendar/esm2022/lib/calendar.component.mjs +0 -54
- package/calendar/esm2022/lib/calendar.mjs +0 -30
- package/calendar/esm2022/lib/calendar.module.mjs +0 -87
- package/calendar/esm2022/lib/calendar.store.mjs +0 -174
- package/calendar/esm2022/lib/index.mjs +0 -6
- package/calendar/fesm2022/dereekb-dbx-web-calendar.mjs +0 -385
- package/calendar/fesm2022/dereekb-dbx-web-calendar.mjs.map +0 -1
- package/calendar/package.json +0 -21
- package/esm2022/lib/button/button.spacer.component.mjs +0 -19
- package/esm2022/lib/button/progress/base.progress.button.directive.mjs +0 -107
- package/esm2022/lib/extension/model/model.module.mjs +0 -66
- package/esm2022/lib/interaction/dialog/dialog.content.component.mjs +0 -23
- package/esm2022/lib/interaction/popover/popover.scroll.content.component.mjs +0 -48
- package/esm2022/lib/interaction/prompt/prompt.box.component.mjs +0 -25
- package/esm2022/lib/layout/card/card.box.container.component.mjs +0 -25
- package/esm2022/lib/layout/column/two/two.column.head.component.mjs +0 -32
- package/esm2022/lib/layout/item/item.layout.module.mjs +0 -19
- package/esm2022/lib/layout/list/list.grid.view.component.mjs +0 -112
- package/esm2022/lib/layout/list/list.grid.view.directive.mjs +0 -15
- package/esm2022/lib/layout/list/list.view.meta.icon.component.mjs +0 -35
- package/esm2022/lib/layout/list/list.view.value.group.mjs +0 -32
- package/esm2022/lib/layout/list/list.view.value.group.title.directive.mjs +0 -131
- package/esm2022/lib/layout/list/list.view.value.group.title.mjs +0 -2
- package/esm2022/lib/layout/list/list.view.value.modifier.directive.mjs +0 -77
- package/esm2022/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +0 -41
- package/esm2022/lib/layout/list/list.view.value.modifier.selection.directive.mjs +0 -39
- package/esm2022/lib/router/provider/ngrouter/angular.router.module.mjs +0 -36
- package/esm2022/lib/router/provider/uirouter/uirouter.router.module.mjs +0 -36
- package/esm2022/lib/screen/screen.module.mjs +0 -24
- package/esm2022/mapbox/lib/options.mjs +0 -2
- package/lib/button/progress/base.progress.button.directive.d.ts +0 -32
- package/lib/extension/model/model.module.d.ts +0 -19
- package/lib/interaction/popover/popover.scroll.content.component.d.ts +0 -13
- package/lib/interaction/prompt/prompt.box.component.d.ts +0 -6
- package/lib/layout/card/card.box.container.component.d.ts +0 -8
- package/lib/layout/column/two/two.column.head.component.d.ts +0 -10
- package/lib/layout/item/item.layout.module.d.ts +0 -9
- package/lib/layout/list/list.grid.view.directive.d.ts +0 -10
- package/lib/layout/list/list.view.value.group.title.directive.d.ts +0 -35
- package/lib/router/provider/ngrouter/angular.router.module.d.ts +0 -12
- package/lib/router/provider/uirouter/uirouter.router.module.d.ts +0 -12
- package/lib/screen/screen.module.d.ts +0 -9
- package/mapbox/esm2022/dereekb-dbx-web-mapbox.mjs +0 -5
- package/mapbox/esm2022/index.mjs +0 -2
- package/mapbox/esm2022/lib/index.mjs +0 -21
- package/mapbox/esm2022/lib/mapbox.change.service.mjs +0 -40
- package/mapbox/esm2022/lib/mapbox.injection.component.mjs +0 -28
- package/mapbox/esm2022/lib/mapbox.injection.store.mjs +0 -39
- package/mapbox/esm2022/lib/mapbox.injection.store.provide.mjs +0 -47
- package/mapbox/esm2022/lib/mapbox.layout.component.mjs +0 -185
- package/mapbox/esm2022/lib/mapbox.layout.drawer.component.mjs +0 -21
- package/mapbox/esm2022/lib/mapbox.layout.resize.sync.directive.mjs +0 -32
- package/mapbox/esm2022/lib/mapbox.marker.component.mjs +0 -135
- package/mapbox/esm2022/lib/mapbox.marker.mjs +0 -16
- package/mapbox/esm2022/lib/mapbox.markers.component.mjs +0 -58
- package/mapbox/esm2022/lib/mapbox.menu.component.mjs +0 -91
- package/mapbox/esm2022/lib/mapbox.mjs +0 -19
- package/mapbox/esm2022/lib/mapbox.module.mjs +0 -108
- package/mapbox/esm2022/lib/mapbox.rxjs.mjs +0 -53
- package/mapbox/esm2022/lib/mapbox.service.mjs +0 -36
- package/mapbox/esm2022/lib/mapbox.store.map.directive.mjs +0 -33
- package/mapbox/esm2022/lib/mapbox.store.mjs +0 -525
- package/mapbox/esm2022/lib/mapbox.store.provide.mjs +0 -47
- package/mapbox/esm2022/lib/mapbox.util.mjs +0 -15
- package/mapbox/esm2022/lib/options.mjs +0 -2
- package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs +0 -1449
- package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs.map +0 -1
- package/mapbox/lib/options.d.ts +0 -7
- package/mapbox/package.json +0 -21
- package/table/esm2022/dereekb-dbx-web-table.mjs +0 -5
- package/table/esm2022/index.mjs +0 -2
- package/table/esm2022/lib/date/date.table.column.header.component.mjs +0 -49
- package/table/esm2022/lib/date/daterange.table.cell.input.component.mjs +0 -161
- package/table/esm2022/lib/date/index.mjs +0 -4
- package/table/esm2022/lib/date/table.date.module.mjs +0 -68
- package/table/esm2022/lib/index.mjs +0 -18
- package/table/esm2022/lib/table.cell.action.component.mjs +0 -25
- package/table/esm2022/lib/table.cell.input.component.mjs +0 -28
- package/table/esm2022/lib/table.cell.summaryend.component.mjs +0 -25
- package/table/esm2022/lib/table.cell.summarystart.component.mjs +0 -28
- package/table/esm2022/lib/table.column.directive.mjs +0 -27
- package/table/esm2022/lib/table.column.footer.component.mjs +0 -32
- package/table/esm2022/lib/table.column.header.component.mjs +0 -32
- package/table/esm2022/lib/table.component.mjs +0 -55
- package/table/esm2022/lib/table.directive.mjs +0 -34
- package/table/esm2022/lib/table.item.action.component.mjs +0 -32
- package/table/esm2022/lib/table.item.cell.component.mjs +0 -36
- package/table/esm2022/lib/table.item.directive.mjs +0 -27
- package/table/esm2022/lib/table.item.header.component.mjs +0 -24
- package/table/esm2022/lib/table.mjs +0 -2
- package/table/esm2022/lib/table.module.mjs +0 -74
- package/table/esm2022/lib/table.store.mjs +0 -53
- package/table/fesm2022/dereekb-dbx-web-table.mjs +0 -704
- package/table/fesm2022/dereekb-dbx-web-table.mjs.map +0 -1
- package/table/package.json +0 -21
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Injectable, inject, NgModule, Directive,
|
|
3
|
-
import
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { signal, Component, ChangeDetectionStrategy, Injectable, inject, computed, NgModule, input, Directive, effect } from '@angular/core';
|
|
3
|
+
import { DatePipe, AsyncPipe } from '@angular/common';
|
|
5
4
|
import { isSameDateDay } from '@dereekb/date';
|
|
6
|
-
import { filterMaybe, beginLoading,
|
|
5
|
+
import { filterMaybe, beginLoading, valueFromFinishedLoadingState, SubscriptionObject, maybeValueFromObservableOrValue, loadingStateContext } from '@dereekb/rxjs';
|
|
7
6
|
import { ComponentStore } from '@ngrx/component-store';
|
|
8
|
-
import { switchMap, first, tap, map, distinctUntilChanged, shareReplay, combineLatest, of,
|
|
9
|
-
import
|
|
10
|
-
import { DateRange, MAT_DATE_RANGE_SELECTION_STRATEGY, MatDatepickerModule } from '@angular/material/datepicker';
|
|
7
|
+
import { switchMap, first, tap, map, distinctUntilChanged, shareReplay, combineLatest, of, startWith, filter, throttleTime } from 'rxjs';
|
|
8
|
+
import { DateRange, MAT_DATE_RANGE_SELECTION_STRATEGY, MatDateRangeInput, MatDateRangePicker } from '@angular/material/datepicker';
|
|
11
9
|
import { DateAdapter } from '@angular/material/core';
|
|
12
10
|
import * as i1 from '@angular/forms';
|
|
13
|
-
import { FormGroup, FormControl,
|
|
11
|
+
import { FormGroup, FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
14
12
|
import { format, addDays } from 'date-fns';
|
|
15
|
-
import * as
|
|
13
|
+
import * as i2 from '@angular/material/button';
|
|
16
14
|
import { MatButtonModule } from '@angular/material/button';
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
15
|
+
import { toSignal, toObservable } from '@angular/core/rxjs-interop';
|
|
16
|
+
import { DbxInjectionComponent } from '@dereekb/dbx-core';
|
|
17
|
+
import { DbxLoadingComponent } from '@dereekb/dbx-web';
|
|
18
|
+
import { InfiniteScrollDirective } from 'ngx-infinite-scroll';
|
|
19
|
+
import * as i1$1 from '@angular/material/table';
|
|
21
20
|
import { MatTableModule } from '@angular/material/table';
|
|
22
|
-
import * as i1$1 from '@dereekb/dbx-core';
|
|
23
|
-
import { DbxInjectionComponentModule } from '@dereekb/dbx-core';
|
|
24
|
-
import * as i4 from 'ngx-infinite-scroll';
|
|
25
|
-
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
26
21
|
|
|
27
22
|
/**
|
|
28
23
|
* A table header component used for rendering date values on the header.
|
|
@@ -30,34 +25,40 @@ import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
|
30
25
|
class DbxTableDateHeaderComponent {
|
|
31
26
|
left = 'E';
|
|
32
27
|
right = 'MMM d';
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
_dateSignal = signal(undefined);
|
|
29
|
+
dateSignal = this._dateSignal.asReadonly();
|
|
35
30
|
get date() {
|
|
36
|
-
return this.
|
|
31
|
+
return this._dateSignal();
|
|
37
32
|
}
|
|
38
33
|
set date(date) {
|
|
39
|
-
this.
|
|
34
|
+
this._dateSignal.set(date);
|
|
40
35
|
}
|
|
41
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
42
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
43
|
-
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DbxTableDateHeaderComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
38
|
+
@if (dateSignal()) {
|
|
39
|
+
<div class="dbx-table-date-column-header">
|
|
40
|
+
<span class="dbx-table-date-column-header-left">{{ dateSignal() | date: left }}</span>
|
|
41
|
+
<span>{{ dateSignal() | date: right }}</span>
|
|
42
|
+
</div>
|
|
43
|
+
}
|
|
44
|
+
`, isInline: true, dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
48
45
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateHeaderComponent, decorators: [{
|
|
50
47
|
type: Component,
|
|
51
48
|
args: [{
|
|
52
49
|
template: `
|
|
53
|
-
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
@if (dateSignal()) {
|
|
51
|
+
<div class="dbx-table-date-column-header">
|
|
52
|
+
<span class="dbx-table-date-column-header-left">{{ dateSignal() | date: left }}</span>
|
|
53
|
+
<span>{{ dateSignal() | date: right }}</span>
|
|
54
|
+
</div>
|
|
55
|
+
}
|
|
57
56
|
`,
|
|
58
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
57
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
58
|
+
imports: [DatePipe],
|
|
59
|
+
standalone: true
|
|
59
60
|
}]
|
|
60
|
-
}]
|
|
61
|
+
}] });
|
|
61
62
|
function dbxTableDateHeaderInjectionFactory() {
|
|
62
63
|
return (column) => {
|
|
63
64
|
const config = {
|
|
@@ -103,20 +104,20 @@ class DbxTableStore extends ComponentStore {
|
|
|
103
104
|
}), shareReplay(1));
|
|
104
105
|
data$ = this.dataState$.pipe(
|
|
105
106
|
//
|
|
106
|
-
|
|
107
|
+
valueFromFinishedLoadingState(), filterMaybe(), distinctUntilChanged(), shareReplay(1));
|
|
107
108
|
columns$ = this.data$.pipe(map((x) => x.columns), shareReplay(1));
|
|
108
109
|
itemsState$ = this.data$.pipe(switchMap((x) => x.items$), shareReplay(1));
|
|
109
|
-
items$ = this.itemsState$.pipe(
|
|
110
|
+
items$ = this.itemsState$.pipe(valueFromFinishedLoadingState(), filterMaybe(), shareReplay(1));
|
|
110
111
|
// MARK: State Changes
|
|
111
112
|
setInput = this.updater((state, input) => ({ ...state, input }));
|
|
112
113
|
setDataDelegate = this.updater((state, dataDelegate) => ({ ...state, dataDelegate }));
|
|
113
114
|
setViewDelegate = this.updater((state, viewDelegate) => ({ ...state, viewDelegate }));
|
|
114
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
115
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
115
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
116
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableStore });
|
|
116
117
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableStore, decorators: [{
|
|
118
119
|
type: Injectable
|
|
119
|
-
}], ctorParameters:
|
|
120
|
+
}], ctorParameters: () => [] });
|
|
120
121
|
|
|
121
122
|
class DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy {
|
|
122
123
|
_dateAdapter = inject((DateAdapter));
|
|
@@ -135,10 +136,10 @@ class DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy {
|
|
|
135
136
|
}
|
|
136
137
|
return new DateRange(null, null);
|
|
137
138
|
}
|
|
138
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
139
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
139
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
140
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy });
|
|
140
141
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy, decorators: [{
|
|
142
143
|
type: Injectable
|
|
143
144
|
}] });
|
|
144
145
|
const DEFAULT_DBX_TABLE_DATE_RANGE_DAY_DISTIANCE_INPUT_CELL_COMPONENT_CONFIG = { daysDistance: 6 };
|
|
@@ -150,25 +151,27 @@ class DbxTableDateRangeDayDistanceInputCellInputComponent {
|
|
|
150
151
|
tableStore = inject((DbxTableStore));
|
|
151
152
|
_syncSub = new SubscriptionObject();
|
|
152
153
|
_valueSub = new SubscriptionObject();
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
_pickerOpenedSignal = signal(false);
|
|
155
|
+
_configSignal = signal(DEFAULT_DBX_TABLE_DATE_RANGE_DAY_DISTIANCE_INPUT_CELL_COMPONENT_CONFIG);
|
|
155
156
|
range = new FormGroup({
|
|
156
157
|
start: new FormControl(null),
|
|
157
158
|
end: new FormControl(null)
|
|
158
159
|
});
|
|
159
|
-
pickerOpened$ = this.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
pickerOpened$ = this.range.valueChanges.pipe(startWith(this.range.value));
|
|
161
|
+
minDateSignal = computed(() => this._configSignal().minDate);
|
|
162
|
+
maxDateSignal = computed(() => this._configSignal().maxDate);
|
|
163
|
+
buttonFormatSignal = computed(() => this._configSignal().buttonFormat ?? DEFAULT_DBX_TABLE_DATE_RANGE_DAY_BUTTON_FORMAT);
|
|
163
164
|
rangeValue$ = this.range.valueChanges.pipe(startWith(this.range.value));
|
|
164
|
-
|
|
165
|
+
dateRangeStringSignal = computed(() => {
|
|
166
|
+
const buttonFormat = this.buttonFormatSignal();
|
|
167
|
+
const { start, end } = this.range.value;
|
|
165
168
|
if (start && end) {
|
|
166
169
|
return `${format(start, buttonFormat)} - ${format(end, buttonFormat)}`;
|
|
167
170
|
}
|
|
168
171
|
else {
|
|
169
172
|
return `Select Date`;
|
|
170
173
|
}
|
|
171
|
-
})
|
|
174
|
+
});
|
|
172
175
|
ngOnInit() {
|
|
173
176
|
this._syncSub.subscription = this.tableStore.input$.subscribe((x) => {
|
|
174
177
|
const start = x?.date ?? null;
|
|
@@ -178,17 +181,8 @@ class DbxTableDateRangeDayDistanceInputCellInputComponent {
|
|
|
178
181
|
end
|
|
179
182
|
});
|
|
180
183
|
});
|
|
181
|
-
this._valueSub.subscription = this.
|
|
182
|
-
.pipe(
|
|
183
|
-
let obs;
|
|
184
|
-
if (opened) {
|
|
185
|
-
obs = of({});
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
obs = this.rangeValue$;
|
|
189
|
-
}
|
|
190
|
-
return obs;
|
|
191
|
-
}), filter((x) => Boolean(x.start)), distinctUntilChanged((a, b) => isSameDateDay(a.start, b.start)), throttleTime(100, undefined, { trailing: true }))
|
|
184
|
+
this._valueSub.subscription = this.rangeValue$
|
|
185
|
+
.pipe(filter((x) => Boolean(x.start)), distinctUntilChanged((a, b) => isSameDateDay(a?.start, b?.start)), throttleTime(100, undefined, { trailing: true }))
|
|
192
186
|
.subscribe((x) => {
|
|
193
187
|
if (x.start) {
|
|
194
188
|
this.tableStore.setInput({ date: x.start, distance: this.daysDistance });
|
|
@@ -196,53 +190,51 @@ class DbxTableDateRangeDayDistanceInputCellInputComponent {
|
|
|
196
190
|
});
|
|
197
191
|
}
|
|
198
192
|
ngOnDestroy() {
|
|
199
|
-
this._pickerOpened.complete();
|
|
200
|
-
this._config.complete();
|
|
201
193
|
this._syncSub.destroy();
|
|
202
194
|
this._valueSub.destroy();
|
|
203
195
|
}
|
|
204
196
|
get daysDistance() {
|
|
205
|
-
return this.
|
|
197
|
+
return this._configSignal().daysDistance;
|
|
206
198
|
}
|
|
207
199
|
get config() {
|
|
208
|
-
return this.
|
|
200
|
+
return this._configSignal();
|
|
209
201
|
}
|
|
210
202
|
set config(config) {
|
|
211
|
-
this.
|
|
203
|
+
this._configSignal.set(config || DEFAULT_DBX_TABLE_DATE_RANGE_DAY_DISTIANCE_INPUT_CELL_COMPONENT_CONFIG);
|
|
212
204
|
}
|
|
213
205
|
pickerOpened() {
|
|
214
|
-
this.
|
|
206
|
+
this._pickerOpenedSignal.set(true);
|
|
215
207
|
}
|
|
216
208
|
pickerClosed() {
|
|
217
|
-
this.
|
|
209
|
+
this._pickerOpenedSignal.set(false);
|
|
218
210
|
}
|
|
219
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
220
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
211
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
212
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableDateRangeDayDistanceInputCellInputComponent, isStandalone: true, selector: "ng-component", providers: [
|
|
221
213
|
{
|
|
222
214
|
provide: MAT_DATE_RANGE_SELECTION_STRATEGY,
|
|
223
215
|
useClass: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy
|
|
224
216
|
}
|
|
225
217
|
], ngImport: i0, template: `
|
|
226
218
|
<div class="dbx-table-date-range-distance-input-cell">
|
|
227
|
-
<mat-date-range-input class="dbx-table-date-range-distance-input" [min]="
|
|
219
|
+
<mat-date-range-input class="dbx-table-date-range-distance-input" [min]="minDateSignal()" [max]="maxDateSignal()" [formGroup]="range" [rangePicker]="picker">
|
|
228
220
|
<input matStartDate formControlName="start" placeholder="Start date" />
|
|
229
221
|
<input matEndDate formControlName="end" placeholder="End date" />
|
|
230
222
|
</mat-date-range-input>
|
|
231
|
-
<button mat-stroked-button color="primary" (click)="picker.open()">{{
|
|
223
|
+
<button mat-stroked-button color="primary" (click)="picker.open()">{{ dateRangeStringSignal() }}</button>
|
|
232
224
|
<mat-date-range-picker #picker (opened)="pickerOpened()" (closed)="pickerClosed()"></mat-date-range-picker>
|
|
233
225
|
</div>
|
|
234
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "
|
|
226
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
235
227
|
}
|
|
236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateRangeDayDistanceInputCellInputComponent, decorators: [{
|
|
237
229
|
type: Component,
|
|
238
230
|
args: [{
|
|
239
231
|
template: `
|
|
240
232
|
<div class="dbx-table-date-range-distance-input-cell">
|
|
241
|
-
<mat-date-range-input class="dbx-table-date-range-distance-input" [min]="
|
|
233
|
+
<mat-date-range-input class="dbx-table-date-range-distance-input" [min]="minDateSignal()" [max]="maxDateSignal()" [formGroup]="range" [rangePicker]="picker">
|
|
242
234
|
<input matStartDate formControlName="start" placeholder="Start date" />
|
|
243
235
|
<input matEndDate formControlName="end" placeholder="End date" />
|
|
244
236
|
</mat-date-range-input>
|
|
245
|
-
<button mat-stroked-button color="primary" (click)="picker.open()">{{
|
|
237
|
+
<button mat-stroked-button color="primary" (click)="picker.open()">{{ dateRangeStringSignal() }}</button>
|
|
246
238
|
<mat-date-range-picker #picker (opened)="pickerOpened()" (closed)="pickerClosed()"></mat-date-range-picker>
|
|
247
239
|
</div>
|
|
248
240
|
`,
|
|
@@ -252,7 +244,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
252
244
|
useClass: DbxTableDateRangeDayDistanceInputCellInputRangeSelectionStrategy
|
|
253
245
|
}
|
|
254
246
|
],
|
|
255
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
247
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
248
|
+
standalone: true,
|
|
249
|
+
imports: [MatDateRangeInput, ReactiveFormsModule, MatButtonModule, MatDateRangePicker, AsyncPipe]
|
|
256
250
|
}]
|
|
257
251
|
}] });
|
|
258
252
|
function dbxTableDateRangeDayDistanceInputCellInput(componentConfig) {
|
|
@@ -265,78 +259,39 @@ function dbxTableDateRangeDayDistanceInputCellInput(componentConfig) {
|
|
|
265
259
|
return config;
|
|
266
260
|
}
|
|
267
261
|
|
|
268
|
-
const
|
|
269
|
-
//
|
|
270
|
-
DbxTableDateHeaderComponent,
|
|
271
|
-
DbxTableDateRangeDayDistanceInputCellInputComponent
|
|
272
|
-
];
|
|
262
|
+
const importsAndExports$1 = [DbxTableDateHeaderComponent, DbxTableDateRangeDayDistanceInputCellInputComponent];
|
|
273
263
|
class DbxTableDateModule {
|
|
274
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
275
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
276
|
-
|
|
277
|
-
DbxTableDateHeaderComponent,
|
|
278
|
-
DbxTableDateRangeDayDistanceInputCellInputComponent], imports: [
|
|
279
|
-
//
|
|
280
|
-
CommonModule,
|
|
281
|
-
DbxLoadingModule,
|
|
282
|
-
DbxInjectionComponentModule,
|
|
283
|
-
FormsModule,
|
|
284
|
-
ReactiveFormsModule,
|
|
285
|
-
MatIconModule,
|
|
286
|
-
MatDatepickerModule,
|
|
287
|
-
MatButtonModule,
|
|
288
|
-
MatTableModule], exports: [
|
|
289
|
-
//
|
|
290
|
-
DbxTableDateHeaderComponent,
|
|
291
|
-
DbxTableDateRangeDayDistanceInputCellInputComponent] });
|
|
292
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableDateModule, imports: [
|
|
293
|
-
//
|
|
294
|
-
CommonModule,
|
|
295
|
-
DbxLoadingModule,
|
|
296
|
-
DbxInjectionComponentModule,
|
|
297
|
-
FormsModule,
|
|
298
|
-
ReactiveFormsModule,
|
|
299
|
-
MatIconModule,
|
|
300
|
-
MatDatepickerModule,
|
|
301
|
-
MatButtonModule,
|
|
302
|
-
MatTableModule] });
|
|
264
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
265
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateModule, imports: [DbxTableDateHeaderComponent, DbxTableDateRangeDayDistanceInputCellInputComponent], exports: [DbxTableDateHeaderComponent, DbxTableDateRangeDayDistanceInputCellInputComponent] });
|
|
266
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateModule, imports: [DbxTableDateRangeDayDistanceInputCellInputComponent] });
|
|
303
267
|
}
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDateModule, decorators: [{
|
|
305
269
|
type: NgModule,
|
|
306
270
|
args: [{
|
|
307
|
-
imports:
|
|
308
|
-
|
|
309
|
-
CommonModule,
|
|
310
|
-
DbxLoadingModule,
|
|
311
|
-
DbxInjectionComponentModule,
|
|
312
|
-
FormsModule,
|
|
313
|
-
ReactiveFormsModule,
|
|
314
|
-
MatIconModule,
|
|
315
|
-
MatDatepickerModule,
|
|
316
|
-
MatButtonModule,
|
|
317
|
-
MatTableModule
|
|
318
|
-
],
|
|
319
|
-
declarations,
|
|
320
|
-
exports: declarations
|
|
271
|
+
imports: importsAndExports$1,
|
|
272
|
+
exports: importsAndExports$1
|
|
321
273
|
}]
|
|
322
274
|
}] });
|
|
323
275
|
|
|
324
276
|
class DbxTableActionCellComponent {
|
|
325
277
|
tableStore = inject(DbxTableStore);
|
|
326
278
|
config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowEnd), distinctUntilChanged());
|
|
327
|
-
|
|
328
|
-
static
|
|
329
|
-
|
|
330
|
-
|
|
279
|
+
configSignal = toSignal(this.config$);
|
|
280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableActionCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
281
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableActionCellComponent, isStandalone: true, selector: "dbx-table-action-cell", ngImport: i0, template: `
|
|
282
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
283
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
331
284
|
}
|
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableActionCellComponent, decorators: [{
|
|
333
286
|
type: Component,
|
|
334
287
|
args: [{
|
|
335
288
|
selector: 'dbx-table-action-cell',
|
|
336
289
|
template: `
|
|
337
|
-
<dbx-injection [config]="
|
|
290
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
338
291
|
`,
|
|
339
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
292
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
293
|
+
standalone: true,
|
|
294
|
+
imports: [DbxInjectionComponent]
|
|
340
295
|
}]
|
|
341
296
|
}] });
|
|
342
297
|
|
|
@@ -346,38 +301,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
346
301
|
class DbxTableInputCellComponent {
|
|
347
302
|
tableStore = inject(DbxTableStore);
|
|
348
303
|
config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.inputHeader), distinctUntilChanged());
|
|
349
|
-
|
|
350
|
-
static
|
|
351
|
-
|
|
352
|
-
|
|
304
|
+
configSignal = toSignal(this.config$);
|
|
305
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableInputCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
306
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableInputCellComponent, isStandalone: true, selector: "dbx-table-input-cell", ngImport: i0, template: `
|
|
307
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
308
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
353
309
|
}
|
|
354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableInputCellComponent, decorators: [{
|
|
355
311
|
type: Component,
|
|
356
312
|
args: [{
|
|
357
313
|
selector: 'dbx-table-input-cell',
|
|
358
314
|
template: `
|
|
359
|
-
<dbx-injection [config]="
|
|
315
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
360
316
|
`,
|
|
361
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
317
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
318
|
+
standalone: true,
|
|
319
|
+
imports: [DbxInjectionComponent]
|
|
362
320
|
}]
|
|
363
321
|
}] });
|
|
364
322
|
|
|
365
323
|
class DbxTableSummaryEndCellComponent {
|
|
366
324
|
tableStore = inject(DbxTableStore);
|
|
367
325
|
config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowEnd), distinctUntilChanged());
|
|
368
|
-
|
|
369
|
-
static
|
|
370
|
-
|
|
371
|
-
|
|
326
|
+
configSignal = toSignal(this.config$);
|
|
327
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableSummaryEndCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
328
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableSummaryEndCellComponent, isStandalone: true, selector: "dbx-table-summary-end-cell", ngImport: i0, template: `
|
|
329
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
330
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
372
331
|
}
|
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableSummaryEndCellComponent, decorators: [{
|
|
374
333
|
type: Component,
|
|
375
334
|
args: [{
|
|
376
335
|
selector: 'dbx-table-summary-end-cell',
|
|
377
336
|
template: `
|
|
378
|
-
<dbx-injection [config]="
|
|
337
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
379
338
|
`,
|
|
380
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
339
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
340
|
+
standalone: true,
|
|
341
|
+
imports: [DbxInjectionComponent]
|
|
381
342
|
}]
|
|
382
343
|
}] });
|
|
383
344
|
|
|
@@ -387,19 +348,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
387
348
|
class DbxTableSummaryStartCellComponent {
|
|
388
349
|
tableStore = inject(DbxTableStore);
|
|
389
350
|
config$ = this.tableStore.viewDelegate$.pipe(map((x) => x.summaryRowHeader), distinctUntilChanged());
|
|
390
|
-
|
|
391
|
-
static
|
|
392
|
-
|
|
393
|
-
|
|
351
|
+
configSignal = toSignal(this.config$);
|
|
352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableSummaryStartCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
353
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableSummaryStartCellComponent, isStandalone: true, selector: "dbx-table-summary-start-cell", ngImport: i0, template: `
|
|
354
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
355
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
394
356
|
}
|
|
395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableSummaryStartCellComponent, decorators: [{
|
|
396
358
|
type: Component,
|
|
397
359
|
args: [{
|
|
398
360
|
selector: 'dbx-table-summary-start-cell',
|
|
399
361
|
template: `
|
|
400
|
-
<dbx-injection [config]="
|
|
362
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
401
363
|
`,
|
|
402
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
364
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
365
|
+
standalone: true,
|
|
366
|
+
imports: [DbxInjectionComponent]
|
|
403
367
|
}]
|
|
404
368
|
}] });
|
|
405
369
|
|
|
@@ -408,22 +372,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
408
372
|
*/
|
|
409
373
|
class AbstractDbxTableColumnDirective {
|
|
410
374
|
tableStore = inject((DbxTableStore));
|
|
411
|
-
|
|
412
|
-
column$ = this.
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}
|
|
416
|
-
ngOnDestroy() {
|
|
417
|
-
this._column.complete();
|
|
418
|
-
}
|
|
419
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractDbxTableColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
420
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AbstractDbxTableColumnDirective, inputs: { column: "column" }, ngImport: i0 });
|
|
375
|
+
column = input();
|
|
376
|
+
column$ = toObservable(this.column).pipe(filterMaybe(), distinctUntilChanged());
|
|
377
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractDbxTableColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
378
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: AbstractDbxTableColumnDirective, inputs: { column: { classPropertyName: "column", publicName: "column", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
421
379
|
}
|
|
422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractDbxTableColumnDirective, decorators: [{
|
|
423
381
|
type: Directive
|
|
424
|
-
}]
|
|
425
|
-
type: Input
|
|
426
|
-
}] } });
|
|
382
|
+
}] });
|
|
427
383
|
|
|
428
384
|
class DbxTableColumnHeaderComponent extends AbstractDbxTableColumnDirective {
|
|
429
385
|
config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => {
|
|
@@ -435,19 +391,22 @@ class DbxTableColumnHeaderComponent extends AbstractDbxTableColumnDirective {
|
|
|
435
391
|
return of(undefined);
|
|
436
392
|
}
|
|
437
393
|
}), distinctUntilChanged());
|
|
438
|
-
|
|
439
|
-
static
|
|
440
|
-
|
|
441
|
-
|
|
394
|
+
configSignal = toSignal(this.config$);
|
|
395
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableColumnHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
396
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableColumnHeaderComponent, isStandalone: true, selector: "dbx-table-column-header", usesInheritance: true, ngImport: i0, template: `
|
|
397
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
398
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
442
399
|
}
|
|
443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableColumnHeaderComponent, decorators: [{
|
|
444
401
|
type: Component,
|
|
445
402
|
args: [{
|
|
446
403
|
selector: 'dbx-table-column-header',
|
|
447
404
|
template: `
|
|
448
|
-
<dbx-injection [config]="
|
|
405
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
449
406
|
`,
|
|
450
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
407
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
408
|
+
standalone: true,
|
|
409
|
+
imports: [DbxInjectionComponent]
|
|
451
410
|
}]
|
|
452
411
|
}] });
|
|
453
412
|
|
|
@@ -461,19 +420,22 @@ class DbxTableColumnFooterComponent extends AbstractDbxTableColumnDirective {
|
|
|
461
420
|
return of(undefined);
|
|
462
421
|
}
|
|
463
422
|
}), distinctUntilChanged());
|
|
464
|
-
|
|
465
|
-
static
|
|
466
|
-
|
|
467
|
-
|
|
423
|
+
configSignal = toSignal(this.config$);
|
|
424
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableColumnFooterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
425
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableColumnFooterComponent, isStandalone: true, selector: "dbx-table-column-footer", usesInheritance: true, ngImport: i0, template: `
|
|
426
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
427
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
468
428
|
}
|
|
469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableColumnFooterComponent, decorators: [{
|
|
470
430
|
type: Component,
|
|
471
431
|
args: [{
|
|
472
432
|
selector: 'dbx-table-column-footer',
|
|
473
433
|
template: `
|
|
474
|
-
<dbx-injection [config]="
|
|
434
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
475
435
|
`,
|
|
476
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
436
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
437
|
+
standalone: true,
|
|
438
|
+
imports: [DbxInjectionComponent]
|
|
477
439
|
}]
|
|
478
440
|
}] });
|
|
479
441
|
|
|
@@ -482,93 +444,83 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
482
444
|
*/
|
|
483
445
|
class AbstractDbxTableElementDirective {
|
|
484
446
|
tableStore = inject((DbxTableStore));
|
|
485
|
-
|
|
486
|
-
element$ = this.
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
}
|
|
490
|
-
ngOnDestroy() {
|
|
491
|
-
this._element.complete();
|
|
492
|
-
}
|
|
493
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AbstractDbxTableElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
494
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AbstractDbxTableElementDirective, inputs: { element: "element" }, ngImport: i0 });
|
|
447
|
+
element = input();
|
|
448
|
+
element$ = toObservable(this.element).pipe(filterMaybe(), distinctUntilChanged());
|
|
449
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractDbxTableElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
450
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: AbstractDbxTableElementDirective, inputs: { element: { classPropertyName: "element", publicName: "element", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
495
451
|
}
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractDbxTableElementDirective, decorators: [{
|
|
497
453
|
type: Directive
|
|
498
|
-
}]
|
|
499
|
-
type: Input
|
|
500
|
-
}] } });
|
|
454
|
+
}] });
|
|
501
455
|
|
|
502
456
|
class DbxTableItemCellComponent extends AbstractDbxTableElementDirective {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
super.ngOnDestroy();
|
|
511
|
-
this._column.complete();
|
|
512
|
-
}
|
|
513
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableItemCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
514
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableItemCellComponent, selector: "dbx-table-item-cell", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: `
|
|
515
|
-
<dbx-injection [config]="config$ | async"></dbx-injection>
|
|
516
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
457
|
+
column = input();
|
|
458
|
+
config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => combineLatest([toObservable(this.column).pipe(filterMaybe()), this.element$]).pipe(map(([column, element]) => viewDelegate.itemCell(column, element)))), maybeValueFromObservableOrValue(), distinctUntilChanged());
|
|
459
|
+
configSignal = toSignal(this.config$);
|
|
460
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableItemCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
461
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: DbxTableItemCellComponent, isStandalone: true, selector: "dbx-table-item-cell", inputs: { column: { classPropertyName: "column", publicName: "column", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
462
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
463
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
517
464
|
}
|
|
518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableItemCellComponent, decorators: [{
|
|
519
466
|
type: Component,
|
|
520
467
|
args: [{
|
|
521
468
|
selector: 'dbx-table-item-cell',
|
|
522
469
|
template: `
|
|
523
|
-
<dbx-injection [config]="
|
|
470
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
524
471
|
`,
|
|
525
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
472
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
473
|
+
imports: [DbxInjectionComponent],
|
|
474
|
+
standalone: true
|
|
526
475
|
}]
|
|
527
|
-
}]
|
|
528
|
-
type: Input
|
|
529
|
-
}] } });
|
|
476
|
+
}] });
|
|
530
477
|
|
|
531
478
|
class DbxTableItemHeaderComponent extends AbstractDbxTableElementDirective {
|
|
532
|
-
config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => this.element$.pipe(map((x) => viewDelegate.itemHeader(x)))), distinctUntilChanged());
|
|
533
|
-
|
|
534
|
-
static
|
|
535
|
-
|
|
536
|
-
|
|
479
|
+
config$ = this.tableStore.viewDelegate$.pipe(switchMap((viewDelegate) => this.element$.pipe(map((x) => viewDelegate.itemHeader(x)))), maybeValueFromObservableOrValue(), distinctUntilChanged());
|
|
480
|
+
configSignal = toSignal(this.config$);
|
|
481
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableItemHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
482
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableItemHeaderComponent, isStandalone: true, selector: "dbx-table-item-header", usesInheritance: true, ngImport: i0, template: `
|
|
483
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
484
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
537
485
|
}
|
|
538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableItemHeaderComponent, decorators: [{
|
|
539
487
|
type: Component,
|
|
540
488
|
args: [{
|
|
541
489
|
selector: 'dbx-table-item-header',
|
|
542
490
|
template: `
|
|
543
|
-
<dbx-injection [config]="
|
|
491
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
544
492
|
`,
|
|
545
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
493
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
494
|
+
imports: [DbxInjectionComponent],
|
|
495
|
+
standalone: true
|
|
546
496
|
}]
|
|
547
497
|
}] });
|
|
548
498
|
|
|
549
499
|
class DbxTableItemActionComponent extends AbstractDbxTableElementDirective {
|
|
550
|
-
config$ = this.tableStore.viewDelegate$.pipe(
|
|
500
|
+
config$ = this.tableStore.viewDelegate$.pipe(map((viewDelegate) => {
|
|
551
501
|
const itemAction = viewDelegate.itemAction;
|
|
502
|
+
let obs = undefined;
|
|
552
503
|
if (itemAction) {
|
|
553
|
-
|
|
554
|
-
}
|
|
555
|
-
else {
|
|
556
|
-
return of(undefined);
|
|
504
|
+
obs = this.element$.pipe(map((x) => itemAction(x)));
|
|
557
505
|
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
506
|
+
return obs;
|
|
507
|
+
}), maybeValueFromObservableOrValue(), distinctUntilChanged());
|
|
508
|
+
configSignal = toSignal(this.config$);
|
|
509
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableItemActionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
510
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxTableItemActionComponent, isStandalone: true, selector: "dbx-table-item-action", usesInheritance: true, ngImport: i0, template: `
|
|
511
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
512
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
563
513
|
}
|
|
564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableItemActionComponent, decorators: [{
|
|
565
515
|
type: Component,
|
|
566
516
|
args: [{
|
|
567
517
|
selector: 'dbx-table-item-action',
|
|
568
518
|
template: `
|
|
569
|
-
<dbx-injection [config]="
|
|
519
|
+
<dbx-injection [config]="configSignal()"></dbx-injection>
|
|
570
520
|
`,
|
|
571
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
521
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
522
|
+
imports: [DbxInjectionComponent],
|
|
523
|
+
standalone: true
|
|
572
524
|
}]
|
|
573
525
|
}] });
|
|
574
526
|
|
|
@@ -582,31 +534,37 @@ class DbxTableViewComponent {
|
|
|
582
534
|
DEFAULT_TRACK_BY_FUNCTION = (index) => {
|
|
583
535
|
return index;
|
|
584
536
|
};
|
|
585
|
-
scrollDistance = 0.5;
|
|
586
|
-
throttleScroll = 50;
|
|
537
|
+
scrollDistance = input(0.5);
|
|
538
|
+
throttleScroll = input(50);
|
|
587
539
|
itemsColumnName = DBX_TABLE_ITEMS_COLUMN_NAME;
|
|
588
540
|
actionsColumnName = DBX_TABLE_ACTIONS_COLUMN_NAME;
|
|
589
541
|
innerColumns$ = this.tableStore.columns$;
|
|
590
542
|
innerColumnNames$ = this.innerColumns$.pipe(map((x) => x.map((y) => y.columnName)), shareReplay(1));
|
|
543
|
+
innerColumnsSignal = toSignal(this.innerColumns$);
|
|
544
|
+
innerColumnNamesSignal = toSignal(this.innerColumnNames$);
|
|
591
545
|
elements$ = this.tableStore.items$;
|
|
592
546
|
displayedColumns$ = this.innerColumnNames$.pipe(map((columnNames) => {
|
|
593
547
|
return [this.itemsColumnName, ...columnNames, this.actionsColumnName];
|
|
594
548
|
}), shareReplay(1));
|
|
549
|
+
displayedColumnsSignal = computed(() => {
|
|
550
|
+
const columnNames = this.innerColumnNamesSignal() || [];
|
|
551
|
+
return [this.itemsColumnName, ...columnNames, this.actionsColumnName];
|
|
552
|
+
});
|
|
595
553
|
trackByFunction$ = this.tableStore.viewDelegate$.pipe(map((x) => x.trackBy ?? this.DEFAULT_TRACK_BY_FUNCTION), shareReplay(1));
|
|
554
|
+
trackByFunctionSignal = toSignal(this.trackByFunction$, { initialValue: this.DEFAULT_TRACK_BY_FUNCTION });
|
|
596
555
|
context = loadingStateContext({ obs: this.tableStore.dataState$ });
|
|
597
556
|
dataLoadingContext = loadingStateContext({ obs: this.tableStore.itemsState$ });
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
}
|
|
557
|
+
contextSignal = toSignal(this.context.state$);
|
|
558
|
+
dataLoadingContextSignal = toSignal(this.dataLoadingContext.state$);
|
|
601
559
|
onScrollDown() {
|
|
602
560
|
this.tableStore.loadMore();
|
|
603
561
|
}
|
|
604
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
605
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
562
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
563
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DbxTableViewComponent, isStandalone: true, selector: "dbx-table-view", inputs: { scrollDistance: { classPropertyName: "scrollDistance", publicName: "scrollDistance", isSignal: true, isRequired: false, transformFunction: null }, throttleScroll: { classPropertyName: "throttleScroll", publicName: "throttleScroll", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<dbx-loading [context]=\"context\">\n <dbx-loading class=\"dbx-table-view-loading\" [linear]=\"true\" [context]=\"dataLoadingContext\"></dbx-loading>\n <section class=\"dbx-table-view\" infinite-scroll [infiniteScrollDistance]=\"scrollDistance()\" [infiniteScrollThrottle]=\"throttleScroll()\" [scrollWindow]=\"false\" (scrolled)=\"onScrollDown()\">\n <table class=\"dbx-table-view-table\" mat-table [dataSource]=\"elements$\" [trackBy]=\"trackByFunctionSignal() || DEFAULT_TRACK_BY_FUNCTION\">\n <!-- Header/Item column -->\n <ng-container [matColumnDef]=\"itemsColumnName\" [sticky]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-input-cell></dbx-table-input-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-header [element]=\"element\"></dbx-table-item-header>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-start-cell></dbx-table-summary-start-cell>\n </td>\n </ng-container>\n\n <!-- Column Definitions -->\n @for (column of innerColumnsSignal(); track column.columnName) {\n <ng-container [matColumnDef]=\"column.columnName\" [sticky]=\"false\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-column-header [column]=\"column\"></dbx-table-column-header>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-cell [element]=\"element\" [column]=\"column\"></dbx-table-item-cell>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-column-footer [column]=\"column\"></dbx-table-column-footer>\n </td>\n </ng-container>\n }\n\n <!-- Tail/Action column -->\n <ng-container [matColumnDef]=\"actionsColumnName\" [stickyEnd]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-action-cell></dbx-table-action-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-action [element]=\"element\"></dbx-table-item-action>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-end-cell></dbx-table-summary-end-cell>\n </td>\n </ng-container>\n\n <!-- Table View -->\n <tr mat-header-row *matHeaderRowDef=\"displayedColumnsSignal(); sticky: true\"></tr>\n\n <tr mat-row *matRowDef=\"let row; columns: displayedColumnsSignal()\"></tr>\n\n <tr mat-footer-row *matFooterRowDef=\"displayedColumnsSignal(); sticky: true\"></tr>\n </table>\n </section>\n</dbx-loading>\n", dependencies: [{ kind: "component", type: DbxLoadingComponent, selector: "dbx-loading", inputs: ["padding", "show", "text", "mode", "color", "diameter", "linear", "loading", "error", "context"] }, { kind: "directive", type: InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i1$1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i1$1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1$1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i1$1.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i1$1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1$1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i1$1.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i1$1.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i1$1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1$1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i1$1.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i1$1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i1$1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i1$1.MatFooterRow, selector: "mat-footer-row, tr[mat-footer-row]", exportAs: ["matFooterRow"] }, { kind: "component", type: DbxTableInputCellComponent, selector: "dbx-table-input-cell" }, { kind: "component", type: DbxTableItemHeaderComponent, selector: "dbx-table-item-header" }, { kind: "component", type: DbxTableItemCellComponent, selector: "dbx-table-item-cell", inputs: ["column"] }, { kind: "component", type: DbxTableItemActionComponent, selector: "dbx-table-item-action" }, { kind: "component", type: DbxTableActionCellComponent, selector: "dbx-table-action-cell" }, { kind: "component", type: DbxTableColumnHeaderComponent, selector: "dbx-table-column-header" }, { kind: "component", type: DbxTableColumnFooterComponent, selector: "dbx-table-column-footer" }, { kind: "component", type: DbxTableSummaryStartCellComponent, selector: "dbx-table-summary-start-cell" }, { kind: "component", type: DbxTableSummaryEndCellComponent, selector: "dbx-table-summary-end-cell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
606
564
|
}
|
|
607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableViewComponent, decorators: [{
|
|
608
566
|
type: Component,
|
|
609
|
-
args: [{ selector: 'dbx-table-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<dbx-loading [context]=\"context\">\n <dbx-loading class=\"dbx-table-view-loading\" [linear]=\"true\" [context]=\"dataLoadingContext\"></dbx-loading>\n <section class=\"dbx-table-view\" infinite-scroll [infiniteScrollDistance]=\"scrollDistance\" [infiniteScrollThrottle]=\"throttleScroll\" [scrollWindow]=\"false\" (scrolled)=\"onScrollDown()\">\n <table class=\"dbx-table-view-table\" mat-table [dataSource]=\"elements$\" [trackBy]=\"(
|
|
567
|
+
args: [{ selector: 'dbx-table-view', imports: [DbxLoadingComponent, InfiniteScrollDirective, MatTableModule, DbxTableInputCellComponent, DbxTableItemHeaderComponent, DbxTableItemCellComponent, DbxTableItemActionComponent, DbxTableActionCellComponent, DbxTableColumnHeaderComponent, DbxTableColumnFooterComponent, DbxTableSummaryStartCellComponent, DbxTableSummaryEndCellComponent], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<dbx-loading [context]=\"context\">\n <dbx-loading class=\"dbx-table-view-loading\" [linear]=\"true\" [context]=\"dataLoadingContext\"></dbx-loading>\n <section class=\"dbx-table-view\" infinite-scroll [infiniteScrollDistance]=\"scrollDistance()\" [infiniteScrollThrottle]=\"throttleScroll()\" [scrollWindow]=\"false\" (scrolled)=\"onScrollDown()\">\n <table class=\"dbx-table-view-table\" mat-table [dataSource]=\"elements$\" [trackBy]=\"trackByFunctionSignal() || DEFAULT_TRACK_BY_FUNCTION\">\n <!-- Header/Item column -->\n <ng-container [matColumnDef]=\"itemsColumnName\" [sticky]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-input-cell></dbx-table-input-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-header [element]=\"element\"></dbx-table-item-header>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-start-cell></dbx-table-summary-start-cell>\n </td>\n </ng-container>\n\n <!-- Column Definitions -->\n @for (column of innerColumnsSignal(); track column.columnName) {\n <ng-container [matColumnDef]=\"column.columnName\" [sticky]=\"false\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-column-header [column]=\"column\"></dbx-table-column-header>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-cell [element]=\"element\" [column]=\"column\"></dbx-table-item-cell>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-column-footer [column]=\"column\"></dbx-table-column-footer>\n </td>\n </ng-container>\n }\n\n <!-- Tail/Action column -->\n <ng-container [matColumnDef]=\"actionsColumnName\" [stickyEnd]=\"true\">\n <th mat-header-cell *matHeaderCellDef>\n <dbx-table-action-cell></dbx-table-action-cell>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <dbx-table-item-action [element]=\"element\"></dbx-table-item-action>\n </td>\n <td mat-footer-cell *matFooterCellDef>\n <dbx-table-summary-end-cell></dbx-table-summary-end-cell>\n </td>\n </ng-container>\n\n <!-- Table View -->\n <tr mat-header-row *matHeaderRowDef=\"displayedColumnsSignal(); sticky: true\"></tr>\n\n <tr mat-row *matRowDef=\"let row; columns: displayedColumnsSignal()\"></tr>\n\n <tr mat-footer-row *matFooterRowDef=\"displayedColumnsSignal(); sticky: true\"></tr>\n </table>\n </section>\n</dbx-loading>\n" }]
|
|
610
568
|
}] });
|
|
611
569
|
|
|
612
570
|
/**
|
|
@@ -614,85 +572,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
614
572
|
*/
|
|
615
573
|
class DbxTableDirective {
|
|
616
574
|
tableStore = inject((DbxTableStore));
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
this.tableStore.
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
}
|
|
626
|
-
static
|
|
627
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DbxTableDirective, selector: "[dbxTable]", inputs: { dbxTableInput: "dbxTableInput", dbxTableViewDelegate: "dbxTableViewDelegate", dbxTableDataDelegate: "dbxTableDataDelegate" }, providers: [DbxTableStore], ngImport: i0 });
|
|
575
|
+
dbxTableInput = input();
|
|
576
|
+
dbxTableViewDelegate = input();
|
|
577
|
+
dbxTableDataDelegate = input();
|
|
578
|
+
_setOnTableStoreEffect = effect(() => {
|
|
579
|
+
this.tableStore.setInput(this.dbxTableInput());
|
|
580
|
+
this.tableStore.setViewDelegate(this.dbxTableViewDelegate());
|
|
581
|
+
this.tableStore.setDataDelegate(this.dbxTableDataDelegate());
|
|
582
|
+
});
|
|
583
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
584
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: DbxTableDirective, isStandalone: true, selector: "[dbxTable]", inputs: { dbxTableInput: { classPropertyName: "dbxTableInput", publicName: "dbxTableInput", isSignal: true, isRequired: false, transformFunction: null }, dbxTableViewDelegate: { classPropertyName: "dbxTableViewDelegate", publicName: "dbxTableViewDelegate", isSignal: true, isRequired: false, transformFunction: null }, dbxTableDataDelegate: { classPropertyName: "dbxTableDataDelegate", publicName: "dbxTableDataDelegate", isSignal: true, isRequired: false, transformFunction: null } }, providers: [DbxTableStore], ngImport: i0 });
|
|
628
585
|
}
|
|
629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableDirective, decorators: [{
|
|
630
587
|
type: Directive,
|
|
631
588
|
args: [{
|
|
632
589
|
selector: '[dbxTable]',
|
|
633
|
-
providers: [DbxTableStore]
|
|
590
|
+
providers: [DbxTableStore],
|
|
591
|
+
standalone: true
|
|
634
592
|
}]
|
|
635
|
-
}]
|
|
636
|
-
type: Input
|
|
637
|
-
}], dbxTableViewDelegate: [{
|
|
638
|
-
type: Input
|
|
639
|
-
}], dbxTableDataDelegate: [{
|
|
640
|
-
type: Input
|
|
641
|
-
}] } });
|
|
593
|
+
}] });
|
|
642
594
|
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
DbxTableColumnFooterComponent,
|
|
648
|
-
DbxTableInputCellComponent,
|
|
649
|
-
DbxTableActionCellComponent,
|
|
650
|
-
DbxTableItemCellComponent,
|
|
651
|
-
DbxTableItemHeaderComponent,
|
|
652
|
-
DbxTableItemActionComponent,
|
|
653
|
-
DbxTableSummaryStartCellComponent,
|
|
654
|
-
DbxTableSummaryEndCellComponent
|
|
655
|
-
];
|
|
595
|
+
const importsAndExports = [DbxTableDirective, DbxTableViewComponent, DbxTableColumnHeaderComponent, DbxTableColumnFooterComponent, DbxTableInputCellComponent, DbxTableActionCellComponent, DbxTableItemCellComponent, DbxTableItemHeaderComponent, DbxTableItemActionComponent, DbxTableSummaryStartCellComponent, DbxTableSummaryEndCellComponent];
|
|
596
|
+
/**
|
|
597
|
+
* @deprecated import DbxTableDirective and DbxTableViewComponent directly instead.
|
|
598
|
+
*/
|
|
656
599
|
class DbxTableModule {
|
|
657
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
658
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
659
|
-
|
|
660
|
-
DbxTableColumnHeaderComponent,
|
|
661
|
-
DbxTableColumnFooterComponent,
|
|
662
|
-
DbxTableInputCellComponent,
|
|
663
|
-
DbxTableActionCellComponent,
|
|
664
|
-
DbxTableItemCellComponent,
|
|
665
|
-
DbxTableItemHeaderComponent,
|
|
666
|
-
DbxTableItemActionComponent,
|
|
667
|
-
DbxTableSummaryStartCellComponent,
|
|
668
|
-
DbxTableSummaryEndCellComponent], imports: [
|
|
669
|
-
//
|
|
670
|
-
CommonModule,
|
|
671
|
-
DbxLoadingModule,
|
|
672
|
-
DbxInjectionComponentModule,
|
|
673
|
-
MatTableModule,
|
|
674
|
-
InfiniteScrollModule], exports: [DbxTableDirective, DbxTableViewComponent] });
|
|
675
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTableModule, imports: [
|
|
676
|
-
//
|
|
677
|
-
CommonModule,
|
|
678
|
-
DbxLoadingModule,
|
|
679
|
-
DbxInjectionComponentModule,
|
|
680
|
-
MatTableModule,
|
|
681
|
-
InfiniteScrollModule] });
|
|
600
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
601
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxTableModule, imports: [DbxTableDirective, DbxTableViewComponent, DbxTableColumnHeaderComponent, DbxTableColumnFooterComponent, DbxTableInputCellComponent, DbxTableActionCellComponent, DbxTableItemCellComponent, DbxTableItemHeaderComponent, DbxTableItemActionComponent, DbxTableSummaryStartCellComponent, DbxTableSummaryEndCellComponent], exports: [DbxTableDirective, DbxTableViewComponent, DbxTableColumnHeaderComponent, DbxTableColumnFooterComponent, DbxTableInputCellComponent, DbxTableActionCellComponent, DbxTableItemCellComponent, DbxTableItemHeaderComponent, DbxTableItemActionComponent, DbxTableSummaryStartCellComponent, DbxTableSummaryEndCellComponent] });
|
|
602
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableModule, imports: [DbxTableViewComponent, DbxTableColumnHeaderComponent, DbxTableColumnFooterComponent, DbxTableInputCellComponent, DbxTableActionCellComponent, DbxTableItemCellComponent, DbxTableItemHeaderComponent, DbxTableItemActionComponent, DbxTableSummaryStartCellComponent, DbxTableSummaryEndCellComponent] });
|
|
682
603
|
}
|
|
683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxTableModule, decorators: [{
|
|
684
605
|
type: NgModule,
|
|
685
606
|
args: [{
|
|
686
|
-
imports:
|
|
687
|
-
|
|
688
|
-
CommonModule,
|
|
689
|
-
DbxLoadingModule,
|
|
690
|
-
DbxInjectionComponentModule,
|
|
691
|
-
MatTableModule,
|
|
692
|
-
InfiniteScrollModule
|
|
693
|
-
],
|
|
694
|
-
declarations: [...exports, ...internalDeclarations],
|
|
695
|
-
exports
|
|
607
|
+
imports: importsAndExports,
|
|
608
|
+
exports: importsAndExports
|
|
696
609
|
}]
|
|
697
610
|
}] });
|
|
698
611
|
|