@dereekb/dbx-web 11.1.8 → 12.0.1
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 +16 -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,385 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, inject, Component, EventEmitter, Output, NgModule } from '@angular/core';
|
|
3
|
-
import { startOfDay, endOfDay, startOfWeek, endOfWeek, startOfMonth, endOfMonth, differenceInDays, isAfter, isBefore, addDays, isSameDay, isSameMonth } from 'date-fns';
|
|
4
|
-
import { isDateInDateRange, isSameDateRange, isSameDateDay, isFullDateRange, clampDateToDateRange, formatToTimeAndDurationString, sortDateRangeStartAscendingCompareFunction } from '@dereekb/date';
|
|
5
|
-
import { invertDecision, reduceBooleansWithAndFn } from '@dereekb/util';
|
|
6
|
-
import { ComponentStore } from '@ngrx/component-store';
|
|
7
|
-
import { distinctUntilChanged, switchMap, first, tap, map, shareReplay, combineLatest, withLatestFrom } from 'rxjs';
|
|
8
|
-
import * as i1 from '@angular/common';
|
|
9
|
-
import { CommonModule } from '@angular/common';
|
|
10
|
-
import * as i2$1 from '@angular/material/button-toggle';
|
|
11
|
-
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
12
|
-
import * as i3$1 from 'angular-calendar';
|
|
13
|
-
import { CalendarModule, CalendarDayModule, CalendarWeekModule, DateAdapter } from 'angular-calendar';
|
|
14
|
-
import * as i6 from '@ngbracket/ngx-layout/extended';
|
|
15
|
-
import * as i2 from '@angular/material/icon';
|
|
16
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
17
|
-
import * as i3 from '@angular/material/button';
|
|
18
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
19
|
-
import * as i4 from '@dereekb/dbx-web';
|
|
20
|
-
import { DbxButtonModule, DbxPopoverInteractionModule } from '@dereekb/dbx-web';
|
|
21
|
-
import * as i5 from '@ngbracket/ngx-layout/flex';
|
|
22
|
-
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
|
|
23
|
-
import { FlexLayoutModule } from '@ngbracket/ngx-layout';
|
|
24
|
-
|
|
25
|
-
var CalendarDisplayType;
|
|
26
|
-
(function (CalendarDisplayType) {
|
|
27
|
-
CalendarDisplayType["MONTH"] = "month";
|
|
28
|
-
CalendarDisplayType["WEEK"] = "week";
|
|
29
|
-
CalendarDisplayType["DAY"] = "day";
|
|
30
|
-
})(CalendarDisplayType || (CalendarDisplayType = {}));
|
|
31
|
-
function visibleDateRangeForCalendarState(calendarState) {
|
|
32
|
-
const { navigationRangeLimit, type, date } = calendarState;
|
|
33
|
-
let start;
|
|
34
|
-
let end;
|
|
35
|
-
let distance;
|
|
36
|
-
switch (type) {
|
|
37
|
-
case CalendarDisplayType.MONTH:
|
|
38
|
-
start = startOfDay(startOfWeek(startOfMonth(date), { weekStartsOn: 0 }));
|
|
39
|
-
end = endOfWeek(endOfMonth(date));
|
|
40
|
-
distance = differenceInDays(end, start) + 1;
|
|
41
|
-
break;
|
|
42
|
-
case CalendarDisplayType.WEEK:
|
|
43
|
-
start = startOfWeek(date);
|
|
44
|
-
end = endOfWeek(start);
|
|
45
|
-
distance = 7; // 7 days in a week.
|
|
46
|
-
break;
|
|
47
|
-
case CalendarDisplayType.DAY:
|
|
48
|
-
start = startOfDay(date);
|
|
49
|
-
end = endOfDay(date);
|
|
50
|
-
distance = 1;
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
const isMinDateVisible = navigationRangeLimit?.start != null ? !isAfter(start, navigationRangeLimit.start) : false;
|
|
54
|
-
const isMaxDateVisible = navigationRangeLimit?.end != null ? !isBefore(end, navigationRangeLimit.end) : false;
|
|
55
|
-
// TODO: Consider changing min/max date visible logical utility to be fully within the current month or not,
|
|
56
|
-
// not just visible, since it can change to a locked out calendar and doesn't feel as UI friendly.
|
|
57
|
-
return {
|
|
58
|
-
type,
|
|
59
|
-
start,
|
|
60
|
-
end,
|
|
61
|
-
distance,
|
|
62
|
-
isMinDateVisible,
|
|
63
|
-
isMaxDateVisible
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
const distinctUntilDateOrTypeOrEventsChanged = distinctUntilChanged((a, b) => a?.date === b?.date && a?.type === b?.type && a?.events === b?.events);
|
|
67
|
-
class DbxCalendarStore extends ComponentStore {
|
|
68
|
-
constructor() {
|
|
69
|
-
super({
|
|
70
|
-
type: CalendarDisplayType.MONTH,
|
|
71
|
-
showTodayButton: true,
|
|
72
|
-
date: new Date(),
|
|
73
|
-
dateTappedTwice: false,
|
|
74
|
-
events: []
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
// MARK: Effects
|
|
78
|
-
tapFirstPage = this.effect((input) => {
|
|
79
|
-
return input.pipe(switchMap(() => this.minNavigationDate$.pipe(first(), tap((x) => {
|
|
80
|
-
if (x) {
|
|
81
|
-
this.tapDay(x);
|
|
82
|
-
}
|
|
83
|
-
}))));
|
|
84
|
-
});
|
|
85
|
-
tapNext = this.effect((input) => {
|
|
86
|
-
return input.pipe(switchMap(() => this.visibleDateRange$.pipe(first(), tap(({ end, isMaxDateVisible }) => {
|
|
87
|
-
if (!isMaxDateVisible) {
|
|
88
|
-
this.tapDay(addDays(end, 1));
|
|
89
|
-
}
|
|
90
|
-
}))));
|
|
91
|
-
});
|
|
92
|
-
tapPrevious = this.effect((input) => {
|
|
93
|
-
return input.pipe(switchMap(() => this.visibleDateRange$.pipe(first(), tap(({ start, isMinDateVisible }) => {
|
|
94
|
-
if (!isMinDateVisible) {
|
|
95
|
-
this.tapDay(addDays(start, -1));
|
|
96
|
-
}
|
|
97
|
-
}))));
|
|
98
|
-
});
|
|
99
|
-
tapLastPage = this.effect((input) => {
|
|
100
|
-
return input.pipe(switchMap(() => this.maxNavigationDate$.pipe(first(), tap((x) => {
|
|
101
|
-
if (x) {
|
|
102
|
-
this.tapDay(x);
|
|
103
|
-
}
|
|
104
|
-
}))));
|
|
105
|
-
});
|
|
106
|
-
// MARK: Accessors
|
|
107
|
-
showTodayButton$ = this.state$.pipe(map((x) => x.showTodayButton), distinctUntilChanged(), shareReplay(1));
|
|
108
|
-
date$ = this.state$.pipe(map((x) => x.date));
|
|
109
|
-
dateTappedTwice$ = this.state$.pipe(map((x) => x.dateTappedTwice));
|
|
110
|
-
events$ = this.state$.pipe(map((x) => x.events));
|
|
111
|
-
// TODO: Filter to be events that will only be displayed based on the current calendar.
|
|
112
|
-
visibleEvents$ = this.state$.pipe(map((x) => x.events), shareReplay(1));
|
|
113
|
-
eventsForDateState$ = this.state$.pipe(distinctUntilDateOrTypeOrEventsChanged, map((state) => ({
|
|
114
|
-
date: state.date,
|
|
115
|
-
events: state.events.filter((x) => isSameDay(x.start, state.date) || (x.end && isBefore(x.start, state.date) && isAfter(x.end, state.date))),
|
|
116
|
-
dateTappedTwice: state.dateTappedTwice
|
|
117
|
-
})), shareReplay(1));
|
|
118
|
-
eventsForDate$ = this.eventsForDateState$.pipe(map((state) => state.events));
|
|
119
|
-
visibleDateRange$ = this.state$.pipe(
|
|
120
|
-
// If the date or type changes, check again.
|
|
121
|
-
distinctUntilChanged((a, b) => a?.date === b?.date && a?.type === b?.type), map(visibleDateRangeForCalendarState), distinctUntilChanged((a, b) => {
|
|
122
|
-
if (a.type === b.type) {
|
|
123
|
-
return isSameDay(a.start, b.start);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return false; // Type changed, date range changed.
|
|
127
|
-
}
|
|
128
|
-
}), shareReplay(1));
|
|
129
|
-
isLookingAtToday$ = this.visibleDateRange$.pipe(map((x) => isDateInDateRange(new Date(), x)), distinctUntilChanged(), shareReplay(1));
|
|
130
|
-
isLookingAtMinimumDate$ = this.visibleDateRange$.pipe(map((x) => x.isMinDateVisible), distinctUntilChanged(), shareReplay(1));
|
|
131
|
-
isLookingAtMaximumDate$ = this.visibleDateRange$.pipe(map((x) => x.isMaxDateVisible), distinctUntilChanged(), shareReplay(1));
|
|
132
|
-
hasMultiplePages$ = combineLatest([this.isLookingAtMinimumDate$, this.isLookingAtMaximumDate$]).pipe(map(invertDecision(reduceBooleansWithAndFn(true))), distinctUntilChanged(), shareReplay(1));
|
|
133
|
-
displayType$ = this.state$.pipe(map((x) => x.type), distinctUntilChanged((a, b) => a === b), shareReplay(1));
|
|
134
|
-
navigationRangeLimit$ = this.state$.pipe(map((x) => x.navigationRangeLimit), distinctUntilChanged(isSameDateRange), shareReplay(1));
|
|
135
|
-
minNavigationDate$ = this.navigationRangeLimit$.pipe(map((x) => x?.start), distinctUntilChanged(isSameDateDay), shareReplay(1));
|
|
136
|
-
maxNavigationDate$ = this.navigationRangeLimit$.pipe(map((x) => x?.end), distinctUntilChanged(isSameDateDay), shareReplay(1));
|
|
137
|
-
isTodayInNavigationRangeLimit$ = this.navigationRangeLimit$.pipe(map((x) => isDateInDateRange(new Date(), x ?? {})), distinctUntilChanged(), shareReplay(1));
|
|
138
|
-
canJumpToToday$ = combineLatest([this.isLookingAtToday$, this.isTodayInNavigationRangeLimit$]).pipe(map(([isLookingAtToday, isTodayInNavigationRangeLimit]) => !isLookingAtToday && isTodayInNavigationRangeLimit), distinctUntilChanged(), shareReplay(1));
|
|
139
|
-
canShowPageButtons$ = this.state$.pipe(map((x) => x.showPageButtons && x.navigationRangeLimit && isFullDateRange(x.navigationRangeLimit)), distinctUntilChanged(), shareReplay(1));
|
|
140
|
-
showPageButtons$ = combineLatest([this.canShowPageButtons$, this.isLookingAtMinimumDate$, this.isLookingAtMaximumDate$]).pipe(map(([canShowPageButtons, isLookingAtMinimumDate, isLookingAtMaximumDate]) => {
|
|
141
|
-
return canShowPageButtons && !(isLookingAtMinimumDate && isLookingAtMaximumDate);
|
|
142
|
-
}), distinctUntilChanged(), shareReplay(1));
|
|
143
|
-
// MARK: State Changes
|
|
144
|
-
/**
|
|
145
|
-
* Tap a day.
|
|
146
|
-
*
|
|
147
|
-
* - If the same day is presented, dateTappedTwice is flipped.
|
|
148
|
-
*/
|
|
149
|
-
tapDay = this.updater((state, date) => updateCalendarStateWithTappedDate(state, date));
|
|
150
|
-
/**
|
|
151
|
-
* Set all events on the calendar.
|
|
152
|
-
*/
|
|
153
|
-
setEvents = this.updater((state, events) => ({ ...state, events }));
|
|
154
|
-
/**
|
|
155
|
-
* Set all events on the calendar.
|
|
156
|
-
*/
|
|
157
|
-
setDisplayType = this.updater((state, type) => ({ ...state, type }));
|
|
158
|
-
/**
|
|
159
|
-
* Sets the navigation limit.
|
|
160
|
-
*/
|
|
161
|
-
setNavigationRangeLimit = this.updater((state, navigationRangeLimit) => updateCalendarStateWithNavigationRangeLimit(state, navigationRangeLimit));
|
|
162
|
-
setShowTodayButton = this.updater((state, showTodayButton) => ({ ...state, showTodayButton: showTodayButton != null ? showTodayButton : true }));
|
|
163
|
-
setShowPageButtons = this.updater((state, showPageButtons) => ({ ...state, showPageButtons: showPageButtons != null ? showPageButtons : false }));
|
|
164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
165
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarStore });
|
|
166
|
-
}
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarStore, decorators: [{
|
|
168
|
-
type: Injectable
|
|
169
|
-
}], ctorParameters: function () { return []; } });
|
|
170
|
-
function updateCalendarStateWithTappedDate(state, date) {
|
|
171
|
-
// only update the date if it is different
|
|
172
|
-
if (!isSameDateDay(state.date, date)) {
|
|
173
|
-
// Only update the date if it is within the date range
|
|
174
|
-
if (!state.navigationRangeLimit || isDateInDateRange(date, state.navigationRangeLimit)) {
|
|
175
|
-
state = { ...state, date, dateTappedTwice: isSameDay(date, state.date) ? !state.dateTappedTwice : false };
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
return state;
|
|
179
|
-
}
|
|
180
|
-
function updateCalendarStateWithNavigationRangeLimit(state, navigationRangeLimit) {
|
|
181
|
-
const { date } = state;
|
|
182
|
-
// cap the date if it doesn't fall within the range.
|
|
183
|
-
if (navigationRangeLimit && !isDateInDateRange(date, navigationRangeLimit)) {
|
|
184
|
-
const clampedDate = clampDateToDateRange(date, navigationRangeLimit);
|
|
185
|
-
return { ...state, date: clampedDate, navigationRangeLimit };
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
return { ...state, navigationRangeLimit };
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
function timeSubtitleForEvent(event) {
|
|
193
|
-
let subtitle;
|
|
194
|
-
if (event.allDay) {
|
|
195
|
-
subtitle = `(All Day)`;
|
|
196
|
-
}
|
|
197
|
-
else {
|
|
198
|
-
subtitle = formatToTimeAndDurationString(event.start, event.end ?? new Date());
|
|
199
|
-
}
|
|
200
|
-
return subtitle;
|
|
201
|
-
}
|
|
202
|
-
function prepareAndSortCalendarEvents(events) {
|
|
203
|
-
return events
|
|
204
|
-
.map((event) => {
|
|
205
|
-
const subtitle = timeSubtitleForEvent(event);
|
|
206
|
-
let title;
|
|
207
|
-
if (event.allDay) {
|
|
208
|
-
title = event.title + ' ' + subtitle;
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
title = `${event.title} - ${subtitle}`;
|
|
212
|
-
}
|
|
213
|
-
return {
|
|
214
|
-
...event,
|
|
215
|
-
title
|
|
216
|
-
};
|
|
217
|
-
})
|
|
218
|
-
.sort(sortDateRangeStartAscendingCompareFunction);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
class DbxCalendarBaseComponent {
|
|
222
|
-
calendarStore = inject((DbxCalendarStore));
|
|
223
|
-
viewDate$ = this.calendarStore.date$;
|
|
224
|
-
showTodayButton$ = this.calendarStore.showTodayButton$;
|
|
225
|
-
canJumpToToday$ = this.calendarStore.canJumpToToday$;
|
|
226
|
-
isLookingAtMinimumDate$ = this.calendarStore.isLookingAtMinimumDate$;
|
|
227
|
-
isLookingAtMaximumDate$ = this.calendarStore.isLookingAtMaximumDate$;
|
|
228
|
-
hasMultiplePages$ = this.calendarStore.hasMultiplePages$;
|
|
229
|
-
showPageButtons$ = this.calendarStore.showPageButtons$;
|
|
230
|
-
activeDayIsOpen$ = this.calendarStore.eventsForDateState$.pipe(withLatestFrom(this.calendarStore.date$), map(([x, date]) => {
|
|
231
|
-
if (x.events.length && isSameMonth(x.date, date)) {
|
|
232
|
-
return !x.dateTappedTwice;
|
|
233
|
-
}
|
|
234
|
-
return false;
|
|
235
|
-
}));
|
|
236
|
-
displayType$ = this.calendarStore.displayType$;
|
|
237
|
-
todayClicked() {
|
|
238
|
-
this.calendarStore.tapDay(new Date());
|
|
239
|
-
}
|
|
240
|
-
firstPageButtonClicked() {
|
|
241
|
-
this.calendarStore.tapFirstPage();
|
|
242
|
-
}
|
|
243
|
-
nextButtonClicked() {
|
|
244
|
-
this.calendarStore.tapNext();
|
|
245
|
-
}
|
|
246
|
-
previousButtonClicked() {
|
|
247
|
-
this.calendarStore.tapPrevious();
|
|
248
|
-
}
|
|
249
|
-
lastPageButtonClicked() {
|
|
250
|
-
this.calendarStore.tapLastPage();
|
|
251
|
-
}
|
|
252
|
-
typeToggleChanged(event) {
|
|
253
|
-
this.calendarStore.setDisplayType(event.value);
|
|
254
|
-
}
|
|
255
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
256
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxCalendarBaseComponent, selector: "dbx-calendar-base", ngImport: i0, template: "<div class=\"dbx-calendar\">\n <h3 class=\"dbx-calendar-title\">{{ (viewDate$ | async)! | calendarDate: (displayType$ | async) + 'ViewTitle':'en' }}</h3>\n <div class=\"dbx-calendar-header\">\n <div class=\"dbx-calendar-controls\" fxLayout=\"row\" fxLayout.xs=\"column\" ngClass.xs=\"dbx-calendar-controls-compact\">\n <span class=\"dbx-calendar-controls-left dbx-flex-bar\" fxFlex=\"nogrow\">\n <button *ngIf=\"showTodayButton$ | async\" mat-stroked-button [disabled]=\"!(canJumpToToday$ | async)\" (click)=\"todayClicked()\">Today</button>\n <dbx-button-spacer></dbx-button-spacer>\n <div class=\"d-iblock\" *ngIf=\"hasMultiplePages$ | async\">\n <button *ngIf=\"showPageButtons$ | async\" mat-icon-button [disabled]=\"isLookingAtMinimumDate$ | async\" aria-label=\"first page button\" (click)=\"firstPageButtonClicked()\">\n <mat-icon>first_page</mat-icon>\n </button>\n <button mat-icon-button [disabled]=\"isLookingAtMinimumDate$ | async\" [attr.aria-label]=\"'Previous ' + (displayType$ | async) + ' button'\" (click)=\"previousButtonClicked()\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n <button mat-icon-button [disabled]=\"isLookingAtMaximumDate$ | async\" [attr.aria-label]=\"'Next' + (displayType$ | async)! + ' button'\" (click)=\"nextButtonClicked()\">\n <mat-icon>navigate_next</mat-icon>\n </button>\n <button *ngIf=\"showPageButtons$ | async\" mat-icon-button [disabled]=\"isLookingAtMaximumDate$ | async\" aria-label=\"last page button\" (click)=\"lastPageButtonClicked()\">\n <mat-icon>last_page</mat-icon>\n </button>\n </div>\n </span>\n <span class=\"spacer\"></span>\n <span class=\"dbx-calendar-controls-right\" fxFlex=\"nogrow\">\n <ng-content select=\"[controls]\"></ng-content>\n </span>\n </div>\n </div>\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i4.DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.ɵCalendarDatePipe, name: "calendarDate" }] });
|
|
257
|
-
}
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarBaseComponent, decorators: [{
|
|
259
|
-
type: Component,
|
|
260
|
-
args: [{ selector: 'dbx-calendar-base', template: "<div class=\"dbx-calendar\">\n <h3 class=\"dbx-calendar-title\">{{ (viewDate$ | async)! | calendarDate: (displayType$ | async) + 'ViewTitle':'en' }}</h3>\n <div class=\"dbx-calendar-header\">\n <div class=\"dbx-calendar-controls\" fxLayout=\"row\" fxLayout.xs=\"column\" ngClass.xs=\"dbx-calendar-controls-compact\">\n <span class=\"dbx-calendar-controls-left dbx-flex-bar\" fxFlex=\"nogrow\">\n <button *ngIf=\"showTodayButton$ | async\" mat-stroked-button [disabled]=\"!(canJumpToToday$ | async)\" (click)=\"todayClicked()\">Today</button>\n <dbx-button-spacer></dbx-button-spacer>\n <div class=\"d-iblock\" *ngIf=\"hasMultiplePages$ | async\">\n <button *ngIf=\"showPageButtons$ | async\" mat-icon-button [disabled]=\"isLookingAtMinimumDate$ | async\" aria-label=\"first page button\" (click)=\"firstPageButtonClicked()\">\n <mat-icon>first_page</mat-icon>\n </button>\n <button mat-icon-button [disabled]=\"isLookingAtMinimumDate$ | async\" [attr.aria-label]=\"'Previous ' + (displayType$ | async) + ' button'\" (click)=\"previousButtonClicked()\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n <button mat-icon-button [disabled]=\"isLookingAtMaximumDate$ | async\" [attr.aria-label]=\"'Next' + (displayType$ | async)! + ' button'\" (click)=\"nextButtonClicked()\">\n <mat-icon>navigate_next</mat-icon>\n </button>\n <button *ngIf=\"showPageButtons$ | async\" mat-icon-button [disabled]=\"isLookingAtMaximumDate$ | async\" aria-label=\"last page button\" (click)=\"lastPageButtonClicked()\">\n <mat-icon>last_page</mat-icon>\n </button>\n </div>\n </span>\n <span class=\"spacer\"></span>\n <span class=\"dbx-calendar-controls-right\" fxFlex=\"nogrow\">\n <ng-content select=\"[controls]\"></ng-content>\n </span>\n </div>\n </div>\n <ng-content></ng-content>\n</div>\n" }]
|
|
261
|
-
}] });
|
|
262
|
-
|
|
263
|
-
class DbxCalendarComponent {
|
|
264
|
-
calendarStore = inject((DbxCalendarStore));
|
|
265
|
-
clickEvent = new EventEmitter();
|
|
266
|
-
viewDate$ = this.calendarStore.date$;
|
|
267
|
-
events$ = this.calendarStore.visibleEvents$.pipe(map(prepareAndSortCalendarEvents), shareReplay(1));
|
|
268
|
-
activeDayIsOpen$ = this.calendarStore.eventsForDateState$.pipe(withLatestFrom(this.calendarStore.date$), map(([x, date]) => {
|
|
269
|
-
if (x.events.length && isSameMonth(x.date, date)) {
|
|
270
|
-
return !x.dateTappedTwice;
|
|
271
|
-
}
|
|
272
|
-
return false;
|
|
273
|
-
}), distinctUntilChanged(), shareReplay(1));
|
|
274
|
-
displayType$ = this.calendarStore.displayType$;
|
|
275
|
-
ngOnDestroy() {
|
|
276
|
-
this.clickEvent.complete();
|
|
277
|
-
}
|
|
278
|
-
todayClicked() {
|
|
279
|
-
this.dayClicked({ date: new Date() });
|
|
280
|
-
}
|
|
281
|
-
nextButtonClicked() {
|
|
282
|
-
this.calendarStore.tapNext();
|
|
283
|
-
}
|
|
284
|
-
previousButtonClicked() {
|
|
285
|
-
this.calendarStore.tapPrevious();
|
|
286
|
-
}
|
|
287
|
-
dayClicked({ date }) {
|
|
288
|
-
this.calendarStore.tapDay(date);
|
|
289
|
-
}
|
|
290
|
-
eventClicked(action, event) {
|
|
291
|
-
this.clickEvent.emit({ action, event });
|
|
292
|
-
}
|
|
293
|
-
typeToggleChanged(event) {
|
|
294
|
-
this.calendarStore.setDisplayType(event.value);
|
|
295
|
-
}
|
|
296
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
297
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxCalendarComponent, selector: "dbx-calendar", outputs: { clickEvent: "clickEvent" }, ngImport: i0, template: "<dbx-calendar-base>\n <ng-container controls>\n <mat-button-toggle-group name=\"calendarDisplayStyle\" [value]=\"(displayType$ | async)!\" (change)=\"typeToggleChanged($event)\" aria-label=\"Display Style\">\n <mat-button-toggle value=\"month\">Month</mat-button-toggle>\n <mat-button-toggle value=\"week\">Week</mat-button-toggle>\n <mat-button-toggle value=\"day\">Day</mat-button-toggle>\n </mat-button-toggle-group>\n </ng-container>\n <div class=\"dbx-calendar-content\" [ngClass]=\"'dbx-calendar-content-' + (displayType$ | async)!\" [ngSwitch]=\"displayType$ | async\">\n <mwl-calendar-month-view *ngSwitchCase=\"'month'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" [activeDayIsOpen]=\"(activeDayIsOpen$ | async)!\" (dayClicked)=\"dayClicked($event.day)\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-month-view>\n <mwl-calendar-week-view *ngSwitchCase=\"'week'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-week-view>\n <mwl-calendar-day-view *ngSwitchCase=\"'day'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-day-view>\n </div>\n</dbx-calendar-base>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2$1.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i2$1.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "component", type: i3$1.CalendarMonthViewComponent, selector: "mwl-calendar-month-view", inputs: ["viewDate", "events", "excludeDays", "activeDayIsOpen", "activeDay", "refresh", "locale", "tooltipPlacement", "tooltipTemplate", "tooltipAppendToBody", "tooltipDelay", "weekStartsOn", "headerTemplate", "cellTemplate", "openDayEventsTemplate", "eventTitleTemplate", "eventActionsTemplate", "weekendDays"], outputs: ["beforeViewRender", "dayClicked", "eventClicked", "columnHeaderClicked", "eventTimesChanged"] }, { kind: "component", type: i3$1.CalendarWeekViewComponent, selector: "mwl-calendar-week-view", inputs: ["viewDate", "events", "excludeDays", "refresh", "locale", "tooltipPlacement", "tooltipTemplate", "tooltipAppendToBody", "tooltipDelay", "weekStartsOn", "headerTemplate", "eventTemplate", "eventTitleTemplate", "eventActionsTemplate", "precision", "weekendDays", "snapDraggedEvents", "hourSegments", "hourDuration", "hourSegmentHeight", "minimumEventHeight", "dayStartHour", "dayStartMinute", "dayEndHour", "dayEndMinute", "hourSegmentTemplate", "eventSnapSize", "allDayEventsLabelTemplate", "daysInWeek", "currentTimeMarkerTemplate", "validateEventTimesChanged", "resizeCursors"], outputs: ["dayHeaderClicked", "eventClicked", "eventTimesChanged", "beforeViewRender", "hourSegmentClicked"] }, { kind: "component", type: i3$1.CalendarDayViewComponent, selector: "mwl-calendar-day-view", inputs: ["viewDate", "events", "hourSegments", "hourSegmentHeight", "hourDuration", "minimumEventHeight", "dayStartHour", "dayStartMinute", "dayEndHour", "dayEndMinute", "refresh", "locale", "eventSnapSize", "tooltipPlacement", "tooltipTemplate", "tooltipAppendToBody", "tooltipDelay", "hourSegmentTemplate", "eventTemplate", "eventTitleTemplate", "eventActionsTemplate", "snapDraggedEvents", "allDayEventsLabelTemplate", "currentTimeMarkerTemplate", "validateEventTimesChanged", "resizeCursors"], outputs: ["eventClicked", "hourSegmentClicked", "eventTimesChanged", "beforeViewRender"] }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: DbxCalendarBaseComponent, selector: "dbx-calendar-base" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
|
|
298
|
-
}
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarComponent, decorators: [{
|
|
300
|
-
type: Component,
|
|
301
|
-
args: [{ selector: 'dbx-calendar', template: "<dbx-calendar-base>\n <ng-container controls>\n <mat-button-toggle-group name=\"calendarDisplayStyle\" [value]=\"(displayType$ | async)!\" (change)=\"typeToggleChanged($event)\" aria-label=\"Display Style\">\n <mat-button-toggle value=\"month\">Month</mat-button-toggle>\n <mat-button-toggle value=\"week\">Week</mat-button-toggle>\n <mat-button-toggle value=\"day\">Day</mat-button-toggle>\n </mat-button-toggle-group>\n </ng-container>\n <div class=\"dbx-calendar-content\" [ngClass]=\"'dbx-calendar-content-' + (displayType$ | async)!\" [ngSwitch]=\"displayType$ | async\">\n <mwl-calendar-month-view *ngSwitchCase=\"'month'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" [activeDayIsOpen]=\"(activeDayIsOpen$ | async)!\" (dayClicked)=\"dayClicked($event.day)\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-month-view>\n <mwl-calendar-week-view *ngSwitchCase=\"'week'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-week-view>\n <mwl-calendar-day-view *ngSwitchCase=\"'day'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-day-view>\n </div>\n</dbx-calendar-base>\n" }]
|
|
302
|
-
}], propDecorators: { clickEvent: [{
|
|
303
|
-
type: Output
|
|
304
|
-
}] } });
|
|
305
|
-
|
|
306
|
-
const declarations = [
|
|
307
|
-
//
|
|
308
|
-
DbxCalendarBaseComponent,
|
|
309
|
-
DbxCalendarComponent
|
|
310
|
-
];
|
|
311
|
-
class DbxCalendarModule {
|
|
312
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
313
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarModule, declarations: [
|
|
314
|
-
//
|
|
315
|
-
DbxCalendarBaseComponent,
|
|
316
|
-
DbxCalendarComponent], imports: [
|
|
317
|
-
//
|
|
318
|
-
CommonModule,
|
|
319
|
-
MatIconModule,
|
|
320
|
-
MatButtonModule,
|
|
321
|
-
MatButtonToggleModule,
|
|
322
|
-
DbxButtonModule,
|
|
323
|
-
DbxPopoverInteractionModule,
|
|
324
|
-
CalendarModule,
|
|
325
|
-
CalendarDayModule,
|
|
326
|
-
FlexLayoutModule,
|
|
327
|
-
CalendarWeekModule], exports: [
|
|
328
|
-
//
|
|
329
|
-
DbxCalendarBaseComponent,
|
|
330
|
-
DbxCalendarComponent] });
|
|
331
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarModule, imports: [
|
|
332
|
-
//
|
|
333
|
-
CommonModule,
|
|
334
|
-
MatIconModule,
|
|
335
|
-
MatButtonModule,
|
|
336
|
-
MatButtonToggleModule,
|
|
337
|
-
DbxButtonModule,
|
|
338
|
-
DbxPopoverInteractionModule,
|
|
339
|
-
CalendarModule,
|
|
340
|
-
CalendarDayModule,
|
|
341
|
-
FlexLayoutModule,
|
|
342
|
-
CalendarWeekModule] });
|
|
343
|
-
}
|
|
344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarModule, decorators: [{
|
|
345
|
-
type: NgModule,
|
|
346
|
-
args: [{
|
|
347
|
-
imports: [
|
|
348
|
-
//
|
|
349
|
-
CommonModule,
|
|
350
|
-
MatIconModule,
|
|
351
|
-
MatButtonModule,
|
|
352
|
-
MatButtonToggleModule,
|
|
353
|
-
DbxButtonModule,
|
|
354
|
-
DbxPopoverInteractionModule,
|
|
355
|
-
CalendarModule,
|
|
356
|
-
CalendarDayModule,
|
|
357
|
-
FlexLayoutModule,
|
|
358
|
-
CalendarWeekModule
|
|
359
|
-
],
|
|
360
|
-
declarations,
|
|
361
|
-
exports: declarations
|
|
362
|
-
}]
|
|
363
|
-
}] });
|
|
364
|
-
/**
|
|
365
|
-
* Provides default configuration for the DbxCalendarModule
|
|
366
|
-
*/
|
|
367
|
-
class DbxCalendarRootModule {
|
|
368
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarRootModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
369
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarRootModule, imports: [i3$1.CalendarModule], exports: [DbxCalendarModule] });
|
|
370
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarRootModule, imports: [CalendarModule.forRoot({ provide: DateAdapter, useFactory: adapterFactory }), DbxCalendarModule] });
|
|
371
|
-
}
|
|
372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarRootModule, decorators: [{
|
|
373
|
-
type: NgModule,
|
|
374
|
-
args: [{
|
|
375
|
-
imports: [CalendarModule.forRoot({ provide: DateAdapter, useFactory: adapterFactory })],
|
|
376
|
-
exports: [DbxCalendarModule]
|
|
377
|
-
}]
|
|
378
|
-
}] });
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Generated bundle index. Do not edit.
|
|
382
|
-
*/
|
|
383
|
-
|
|
384
|
-
export { CalendarDisplayType, DbxCalendarBaseComponent, DbxCalendarComponent, DbxCalendarModule, DbxCalendarRootModule, DbxCalendarStore, prepareAndSortCalendarEvents, updateCalendarStateWithNavigationRangeLimit, updateCalendarStateWithTappedDate, visibleDateRangeForCalendarState };
|
|
385
|
-
//# sourceMappingURL=dereekb-dbx-web-calendar.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dereekb-dbx-web-calendar.mjs","sources":["../../../../../packages/dbx-web/calendar/src/lib/calendar.store.ts","../../../../../packages/dbx-web/calendar/src/lib/calendar.ts","../../../../../packages/dbx-web/calendar/src/lib/calendar.base.component.ts","../../../../../packages/dbx-web/calendar/src/lib/calendar.base.component.html","../../../../../packages/dbx-web/calendar/src/lib/calendar.component.ts","../../../../../packages/dbx-web/calendar/src/lib/calendar.component.html","../../../../../packages/dbx-web/calendar/src/lib/calendar.module.ts","../../../../../packages/dbx-web/calendar/src/dereekb-dbx-web-calendar.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { clampDateToDateRange, DateRange, isDateInDateRange, isFullDateRange, isSameDateDay, isSameDateRange } from '@dereekb/date';\nimport { invertDecision, Maybe, reduceBooleansWithAndFn } from '@dereekb/util';\nimport { ComponentStore } from '@ngrx/component-store';\nimport { CalendarEvent } from 'angular-calendar';\nimport { differenceInDays, addDays, endOfDay, endOfMonth, endOfWeek, isSameDay, startOfDay, startOfMonth, startOfWeek, isBefore, isAfter } from 'date-fns';\nimport { Observable, distinctUntilChanged, first, map, shareReplay, switchMap, tap, combineLatest } from 'rxjs';\n\nexport enum CalendarDisplayType {\n MONTH = 'month',\n WEEK = 'week',\n DAY = 'day'\n}\n\nexport interface CalendarViewDateRange {\n type: CalendarDisplayType;\n start: Date;\n end: Date;\n distance: number;\n /**\n * Whether or not the min navigation date is currently visible. This implies that we're at the minimum date.\n */\n isMinDateVisible: boolean;\n /**\n * Whether or not the maximum navigation date is visible. This implies that we're at the maximum date.\n */\n isMaxDateVisible: boolean;\n}\n\nexport interface CalendarState<T = any> {\n /**\n * Calendar display mode\n */\n readonly type: CalendarDisplayType;\n /**\n * Whether or not to show the today button. Defaults to true.\n */\n readonly showTodayButton?: boolean;\n /**\n * Date that is selected.\n */\n readonly date: Date;\n /**\n * Whether or not the day was tapped/set twice.\n */\n readonly dateTappedTwice: boolean;\n /**\n * Set of calendar events.\n */\n readonly events: CalendarEvent<T>[];\n /**\n * Optional navigation range limitation that limits which dates can be navigated to.\n */\n readonly navigationRangeLimit?: Maybe<Partial<DateRange>>;\n /**\n * Whether or not to display the page buttons when applicable. Can only be displayed when a navigationRangeLimit is set.\n */\n readonly showPageButtons?: boolean;\n}\n\nexport function visibleDateRangeForCalendarState(calendarState: CalendarState): CalendarViewDateRange {\n const { navigationRangeLimit, type, date } = calendarState;\n let start: Date;\n let end: Date;\n let distance: number;\n\n switch (type) {\n case CalendarDisplayType.MONTH:\n start = startOfDay(startOfWeek(startOfMonth(date), { weekStartsOn: 0 }));\n end = endOfWeek(endOfMonth(date));\n distance = differenceInDays(end, start) + 1;\n break;\n case CalendarDisplayType.WEEK:\n start = startOfWeek(date);\n end = endOfWeek(start);\n distance = 7; // 7 days in a week.\n break;\n case CalendarDisplayType.DAY:\n start = startOfDay(date);\n end = endOfDay(date);\n distance = 1;\n break;\n }\n\n const isMinDateVisible: boolean = navigationRangeLimit?.start != null ? !isAfter(start, navigationRangeLimit.start) : false;\n const isMaxDateVisible: boolean = navigationRangeLimit?.end != null ? !isBefore(end, navigationRangeLimit.end) : false;\n\n // TODO: Consider changing min/max date visible logical utility to be fully within the current month or not,\n // not just visible, since it can change to a locked out calendar and doesn't feel as UI friendly.\n\n return {\n type,\n start,\n end,\n distance,\n isMinDateVisible,\n isMaxDateVisible\n };\n}\n\nconst distinctUntilDateOrTypeOrEventsChanged = distinctUntilChanged<CalendarState>((a, b) => a?.date === b?.date && a?.type === b?.type && a?.events === b?.events);\n\n@Injectable()\nexport class DbxCalendarStore<T = any> extends ComponentStore<CalendarState<T>> {\n constructor() {\n super({\n type: CalendarDisplayType.MONTH,\n showTodayButton: true,\n date: new Date(),\n dateTappedTwice: false,\n events: []\n });\n }\n\n // MARK: Effects\n readonly tapFirstPage = this.effect((input: Observable<void>) => {\n return input.pipe(\n switchMap(() =>\n this.minNavigationDate$.pipe(\n first(),\n tap((x) => {\n if (x) {\n this.tapDay(x);\n }\n })\n )\n )\n );\n });\n\n readonly tapNext = this.effect((input: Observable<void>) => {\n return input.pipe(\n switchMap(() =>\n this.visibleDateRange$.pipe(\n first(),\n tap(({ end, isMaxDateVisible }) => {\n if (!isMaxDateVisible) {\n this.tapDay(addDays(end, 1));\n }\n })\n )\n )\n );\n });\n\n readonly tapPrevious = this.effect((input: Observable<void>) => {\n return input.pipe(\n switchMap(() =>\n this.visibleDateRange$.pipe(\n first(),\n tap(({ start, isMinDateVisible }) => {\n if (!isMinDateVisible) {\n this.tapDay(addDays(start, -1));\n }\n })\n )\n )\n );\n });\n\n readonly tapLastPage = this.effect((input: Observable<void>) => {\n return input.pipe(\n switchMap(() =>\n this.maxNavigationDate$.pipe(\n first(),\n tap((x) => {\n if (x) {\n this.tapDay(x);\n }\n })\n )\n )\n );\n });\n\n // MARK: Accessors\n\n readonly showTodayButton$ = this.state$.pipe(\n map((x) => x.showTodayButton),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n readonly date$ = this.state$.pipe(map((x) => x.date));\n readonly dateTappedTwice$ = this.state$.pipe(map((x) => x.dateTappedTwice));\n\n readonly events$ = this.state$.pipe(map((x) => x.events));\n\n // TODO: Filter to be events that will only be displayed based on the current calendar.\n readonly visibleEvents$ = this.state$.pipe(\n map((x) => x.events),\n shareReplay(1)\n );\n\n readonly eventsForDateState$ = this.state$.pipe(\n distinctUntilDateOrTypeOrEventsChanged,\n map((state) => ({\n date: state.date,\n events: state.events.filter((x) => isSameDay(x.start, state.date) || (x.end && isBefore(x.start, state.date) && isAfter(x.end, state.date))),\n dateTappedTwice: state.dateTappedTwice\n })),\n shareReplay(1)\n );\n\n readonly eventsForDate$ = this.eventsForDateState$.pipe(map((state) => state.events));\n\n readonly visibleDateRange$: Observable<CalendarViewDateRange> = this.state$.pipe(\n // If the date or type changes, check again.\n distinctUntilChanged((a, b) => a?.date === b?.date && a?.type === b?.type),\n map(visibleDateRangeForCalendarState),\n distinctUntilChanged((a, b) => {\n if (a.type === b.type) {\n return isSameDay(a.start, b.start);\n } else {\n return false; // Type changed, date range changed.\n }\n }),\n shareReplay(1)\n );\n\n readonly isLookingAtToday$ = this.visibleDateRange$.pipe(\n map((x) => isDateInDateRange(new Date(), x)),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n readonly isLookingAtMinimumDate$ = this.visibleDateRange$.pipe(\n map((x) => x.isMinDateVisible),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n readonly isLookingAtMaximumDate$ = this.visibleDateRange$.pipe(\n map((x) => x.isMaxDateVisible),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n readonly hasMultiplePages$ = combineLatest([this.isLookingAtMinimumDate$, this.isLookingAtMaximumDate$]).pipe(map(invertDecision(reduceBooleansWithAndFn(true))), distinctUntilChanged(), shareReplay(1));\n\n readonly displayType$ = this.state$.pipe(\n map((x) => x.type),\n distinctUntilChanged((a, b) => a === b),\n shareReplay(1)\n );\n\n readonly navigationRangeLimit$ = this.state$.pipe(\n map((x) => x.navigationRangeLimit),\n distinctUntilChanged(isSameDateRange),\n shareReplay(1)\n );\n\n readonly minNavigationDate$: Observable<Maybe<Date>> = this.navigationRangeLimit$.pipe(\n map((x) => x?.start),\n distinctUntilChanged(isSameDateDay),\n shareReplay(1)\n );\n\n readonly maxNavigationDate$: Observable<Maybe<Date>> = this.navigationRangeLimit$.pipe(\n map((x) => x?.end),\n distinctUntilChanged(isSameDateDay),\n shareReplay(1)\n );\n\n readonly isTodayInNavigationRangeLimit$ = this.navigationRangeLimit$.pipe(\n map((x) => isDateInDateRange(new Date(), x ?? {})),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n readonly canJumpToToday$ = combineLatest([this.isLookingAtToday$, this.isTodayInNavigationRangeLimit$]).pipe(\n map(([isLookingAtToday, isTodayInNavigationRangeLimit]) => !isLookingAtToday && isTodayInNavigationRangeLimit),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n readonly canShowPageButtons$ = this.state$.pipe(\n map((x) => x.showPageButtons && x.navigationRangeLimit && isFullDateRange(x.navigationRangeLimit)),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n readonly showPageButtons$ = combineLatest([this.canShowPageButtons$, this.isLookingAtMinimumDate$, this.isLookingAtMaximumDate$]).pipe(\n map(([canShowPageButtons, isLookingAtMinimumDate, isLookingAtMaximumDate]) => {\n return canShowPageButtons && !(isLookingAtMinimumDate && isLookingAtMaximumDate);\n }),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n // MARK: State Changes\n /**\n * Tap a day.\n *\n * - If the same day is presented, dateTappedTwice is flipped.\n */\n readonly tapDay = this.updater((state, date: Date) => updateCalendarStateWithTappedDate(state, date));\n\n /**\n * Set all events on the calendar.\n */\n readonly setEvents = this.updater((state, events: CalendarEvent<T>[]) => ({ ...state, events }));\n\n /**\n * Set all events on the calendar.\n */\n readonly setDisplayType = this.updater((state, type: CalendarDisplayType) => ({ ...state, type }));\n\n /**\n * Sets the navigation limit.\n */\n readonly setNavigationRangeLimit = this.updater((state, navigationRangeLimit: Maybe<Partial<DateRange>>) => updateCalendarStateWithNavigationRangeLimit(state, navigationRangeLimit));\n\n readonly setShowTodayButton = this.updater((state, showTodayButton: Maybe<boolean>) => ({ ...state, showTodayButton: showTodayButton != null ? showTodayButton : true }));\n readonly setShowPageButtons = this.updater((state, showPageButtons: Maybe<boolean>) => ({ ...state, showPageButtons: showPageButtons != null ? showPageButtons : false }));\n}\n\nexport function updateCalendarStateWithTappedDate(state: CalendarState, date: Date) {\n // only update the date if it is different\n if (!isSameDateDay(state.date, date)) {\n // Only update the date if it is within the date range\n if (!state.navigationRangeLimit || isDateInDateRange(date, state.navigationRangeLimit)) {\n state = { ...state, date, dateTappedTwice: isSameDay(date, state.date) ? !state.dateTappedTwice : false };\n }\n }\n\n return state;\n}\n\nexport function updateCalendarStateWithNavigationRangeLimit(state: CalendarState, navigationRangeLimit: Maybe<Partial<DateRange>>) {\n const { date } = state;\n\n // cap the date if it doesn't fall within the range.\n if (navigationRangeLimit && !isDateInDateRange(date, navigationRangeLimit)) {\n const clampedDate = clampDateToDateRange(date, navigationRangeLimit);\n return { ...state, date: clampedDate, navigationRangeLimit };\n } else {\n return { ...state, navigationRangeLimit };\n }\n}\n","import { formatToTimeAndDurationString, sortDateRangeStartAscendingCompareFunction } from '@dereekb/date';\nimport { CalendarEvent } from 'angular-calendar';\n\nexport interface DbxCalendarEvent<T> {\n event: CalendarEvent<T>;\n action?: string;\n}\n\nfunction timeSubtitleForEvent(event: CalendarEvent): string {\n let subtitle;\n\n if (event.allDay) {\n subtitle = `(All Day)`;\n } else {\n subtitle = formatToTimeAndDurationString(event.start, event.end ?? new Date());\n }\n\n return subtitle;\n}\n\nexport function prepareAndSortCalendarEvents(events: CalendarEvent[]): CalendarEvent[] {\n return events\n .map((event: CalendarEvent) => {\n const subtitle = timeSubtitleForEvent(event);\n let title;\n\n if (event.allDay) {\n title = event.title + ' ' + subtitle;\n } else {\n title = `${event.title} - ${subtitle}`;\n }\n\n return {\n ...event,\n title\n };\n })\n .sort(sortDateRangeStartAscendingCompareFunction);\n}\n","import { Component, inject } from '@angular/core';\nimport { isSameMonth } from 'date-fns';\nimport { DbxCalendarStore } from './calendar.store';\nimport { map, withLatestFrom } from 'rxjs';\nimport { MatButtonToggleChange } from '@angular/material/button-toggle';\n\n@Component({\n selector: 'dbx-calendar-base',\n templateUrl: './calendar.base.component.html'\n})\nexport class DbxCalendarBaseComponent<T> {\n readonly calendarStore = inject(DbxCalendarStore<T>);\n\n readonly viewDate$ = this.calendarStore.date$;\n\n readonly showTodayButton$ = this.calendarStore.showTodayButton$;\n readonly canJumpToToday$ = this.calendarStore.canJumpToToday$;\n\n readonly isLookingAtMinimumDate$ = this.calendarStore.isLookingAtMinimumDate$;\n readonly isLookingAtMaximumDate$ = this.calendarStore.isLookingAtMaximumDate$;\n readonly hasMultiplePages$ = this.calendarStore.hasMultiplePages$;\n\n readonly showPageButtons$ = this.calendarStore.showPageButtons$;\n\n readonly activeDayIsOpen$ = this.calendarStore.eventsForDateState$.pipe(\n withLatestFrom(this.calendarStore.date$),\n map(([x, date]) => {\n if (x.events.length && isSameMonth(x.date, date)) {\n return !x.dateTappedTwice;\n }\n\n return false;\n })\n );\n\n readonly displayType$ = this.calendarStore.displayType$;\n\n todayClicked(): void {\n this.calendarStore.tapDay(new Date());\n }\n\n firstPageButtonClicked(): void {\n this.calendarStore.tapFirstPage();\n }\n\n nextButtonClicked(): void {\n this.calendarStore.tapNext();\n }\n\n previousButtonClicked(): void {\n this.calendarStore.tapPrevious();\n }\n\n lastPageButtonClicked(): void {\n this.calendarStore.tapLastPage();\n }\n\n typeToggleChanged(event: MatButtonToggleChange): void {\n this.calendarStore.setDisplayType(event.value);\n }\n}\n","<div class=\"dbx-calendar\">\n <h3 class=\"dbx-calendar-title\">{{ (viewDate$ | async)! | calendarDate: (displayType$ | async) + 'ViewTitle':'en' }}</h3>\n <div class=\"dbx-calendar-header\">\n <div class=\"dbx-calendar-controls\" fxLayout=\"row\" fxLayout.xs=\"column\" ngClass.xs=\"dbx-calendar-controls-compact\">\n <span class=\"dbx-calendar-controls-left dbx-flex-bar\" fxFlex=\"nogrow\">\n <button *ngIf=\"showTodayButton$ | async\" mat-stroked-button [disabled]=\"!(canJumpToToday$ | async)\" (click)=\"todayClicked()\">Today</button>\n <dbx-button-spacer></dbx-button-spacer>\n <div class=\"d-iblock\" *ngIf=\"hasMultiplePages$ | async\">\n <button *ngIf=\"showPageButtons$ | async\" mat-icon-button [disabled]=\"isLookingAtMinimumDate$ | async\" aria-label=\"first page button\" (click)=\"firstPageButtonClicked()\">\n <mat-icon>first_page</mat-icon>\n </button>\n <button mat-icon-button [disabled]=\"isLookingAtMinimumDate$ | async\" [attr.aria-label]=\"'Previous ' + (displayType$ | async) + ' button'\" (click)=\"previousButtonClicked()\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n <button mat-icon-button [disabled]=\"isLookingAtMaximumDate$ | async\" [attr.aria-label]=\"'Next' + (displayType$ | async)! + ' button'\" (click)=\"nextButtonClicked()\">\n <mat-icon>navigate_next</mat-icon>\n </button>\n <button *ngIf=\"showPageButtons$ | async\" mat-icon-button [disabled]=\"isLookingAtMaximumDate$ | async\" aria-label=\"last page button\" (click)=\"lastPageButtonClicked()\">\n <mat-icon>last_page</mat-icon>\n </button>\n </div>\n </span>\n <span class=\"spacer\"></span>\n <span class=\"dbx-calendar-controls-right\" fxFlex=\"nogrow\">\n <ng-content select=\"[controls]\"></ng-content>\n </span>\n </div>\n </div>\n <ng-content></ng-content>\n</div>\n","import { Component, EventEmitter, Output, OnDestroy, inject } from '@angular/core';\nimport { isSameMonth } from 'date-fns';\nimport { CalendarEvent } from 'angular-calendar';\nimport { DbxCalendarStore } from './calendar.store';\nimport { distinctUntilChanged, map, shareReplay, withLatestFrom } from 'rxjs';\nimport { MatButtonToggleChange } from '@angular/material/button-toggle';\nimport { DbxCalendarEvent, prepareAndSortCalendarEvents } from './calendar';\n\n@Component({\n selector: 'dbx-calendar',\n templateUrl: './calendar.component.html'\n})\nexport class DbxCalendarComponent<T> implements OnDestroy {\n readonly calendarStore = inject(DbxCalendarStore<T>);\n\n @Output()\n readonly clickEvent = new EventEmitter<DbxCalendarEvent<T>>();\n\n readonly viewDate$ = this.calendarStore.date$;\n\n readonly events$ = this.calendarStore.visibleEvents$.pipe(map(prepareAndSortCalendarEvents), shareReplay(1));\n\n readonly activeDayIsOpen$ = this.calendarStore.eventsForDateState$.pipe(\n withLatestFrom(this.calendarStore.date$),\n map(([x, date]) => {\n if (x.events.length && isSameMonth(x.date, date)) {\n return !x.dateTappedTwice;\n }\n\n return false;\n }),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n readonly displayType$ = this.calendarStore.displayType$;\n\n ngOnDestroy(): void {\n this.clickEvent.complete();\n }\n\n todayClicked(): void {\n this.dayClicked({ date: new Date() });\n }\n\n nextButtonClicked(): void {\n this.calendarStore.tapNext();\n }\n\n previousButtonClicked(): void {\n this.calendarStore.tapPrevious();\n }\n\n dayClicked({ date }: { date: Date }): void {\n this.calendarStore.tapDay(date);\n }\n\n eventClicked(action: string, event: CalendarEvent<T>): void {\n this.clickEvent.emit({ action, event });\n }\n\n typeToggleChanged(event: MatButtonToggleChange): void {\n this.calendarStore.setDisplayType(event.value);\n }\n}\n","<dbx-calendar-base>\n <ng-container controls>\n <mat-button-toggle-group name=\"calendarDisplayStyle\" [value]=\"(displayType$ | async)!\" (change)=\"typeToggleChanged($event)\" aria-label=\"Display Style\">\n <mat-button-toggle value=\"month\">Month</mat-button-toggle>\n <mat-button-toggle value=\"week\">Week</mat-button-toggle>\n <mat-button-toggle value=\"day\">Day</mat-button-toggle>\n </mat-button-toggle-group>\n </ng-container>\n <div class=\"dbx-calendar-content\" [ngClass]=\"'dbx-calendar-content-' + (displayType$ | async)!\" [ngSwitch]=\"displayType$ | async\">\n <mwl-calendar-month-view *ngSwitchCase=\"'month'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" [activeDayIsOpen]=\"(activeDayIsOpen$ | async)!\" (dayClicked)=\"dayClicked($event.day)\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-month-view>\n <mwl-calendar-week-view *ngSwitchCase=\"'week'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-week-view>\n <mwl-calendar-day-view *ngSwitchCase=\"'day'\" [viewDate]=\"(viewDate$ | async)!\" [events]=\"(events$ | async)!\" (eventClicked)=\"eventClicked('Clicked', $event.event)\"></mwl-calendar-day-view>\n </div>\n</dbx-calendar-base>\n","import { NgModule } from '@angular/core';\nimport { DbxCalendarComponent } from './calendar.component';\nimport { CalendarDayModule, CalendarModule, CalendarWeekModule, DateAdapter } from 'angular-calendar';\nimport { CommonModule } from '@angular/common';\nimport { DbxButtonModule, DbxPopoverInteractionModule } from '@dereekb/dbx-web';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { adapterFactory as dateAdapterFactory } from 'angular-calendar/date-adapters/date-fns';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexLayoutModule } from '@ngbracket/ngx-layout';\nimport { DbxCalendarBaseComponent } from './calendar.base.component';\n\nconst declarations = [\n //\n DbxCalendarBaseComponent,\n DbxCalendarComponent\n];\n\n@NgModule({\n imports: [\n //\n CommonModule,\n MatIconModule,\n MatButtonModule,\n MatButtonToggleModule,\n DbxButtonModule,\n DbxPopoverInteractionModule,\n CalendarModule,\n CalendarDayModule,\n FlexLayoutModule,\n CalendarWeekModule\n ],\n declarations,\n exports: declarations\n})\nexport class DbxCalendarModule {}\n\n/**\n * Provides default configuration for the DbxCalendarModule\n */\n@NgModule({\n imports: [CalendarModule.forRoot({ provide: DateAdapter, useFactory: dateAdapterFactory })],\n exports: [DbxCalendarModule]\n})\nexport class DbxCalendarRootModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i7","i2","i3","i4","i5.DbxCalendarBaseComponent","dateAdapterFactory"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;IAQY,oBAIX;AAJD,CAAA,UAAY,mBAAmB,EAAA;AAC7B,IAAA,mBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,mBAAA,CAAA,MAAA,CAAA,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calendar.mjs",
|
|
5
|
-
"typings": "index.d.ts",
|
|
6
|
-
"exports": {
|
|
7
|
-
"./package.json": {
|
|
8
|
-
"default": "./package.json"
|
|
9
|
-
},
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./index.d.ts",
|
|
12
|
-
"esm2022": "./esm2022/dereekb-dbx-web-calendar.mjs",
|
|
13
|
-
"esm": "./esm2022/dereekb-dbx-web-calendar.mjs",
|
|
14
|
-
"default": "./fesm2022/dereekb-dbx-web-calendar.mjs"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"sideEffects": false,
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"tslib": "^2.3.0"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Button spacer directive.
|
|
5
|
-
*/
|
|
6
|
-
export class DbxButtonSpacerDirective {
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxButtonSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]", host: { classAttribute: "dbx-button-spacer d-inline" }, ngImport: i0 });
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxButtonSpacerDirective, decorators: [{
|
|
11
|
-
type: Directive,
|
|
12
|
-
args: [{
|
|
13
|
-
selector: 'dbx-button-spacer,[dbxButtonSpacer]',
|
|
14
|
-
host: {
|
|
15
|
-
class: 'dbx-button-spacer d-inline'
|
|
16
|
-
}
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLnNwYWNlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9kYngtd2ViL3NyYy9saWIvYnV0dG9uL2J1dHRvbi5zcGFjZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRTFDOztHQUVHO0FBT0gsTUFBTSxPQUFPLHdCQUF3Qjt3R0FBeEIsd0JBQXdCOzRGQUF4Qix3QkFBd0I7OzRGQUF4Qix3QkFBd0I7a0JBTnBDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHFDQUFxQztvQkFDL0MsSUFBSSxFQUFFO3dCQUNKLEtBQUssRUFBRSw0QkFBNEI7cUJBQ3BDO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbi8qKlxuICogQnV0dG9uIHNwYWNlciBkaXJlY3RpdmUuXG4gKi9cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ2RieC1idXR0b24tc3BhY2VyLFtkYnhCdXR0b25TcGFjZXJdJyxcbiAgaG9zdDoge1xuICAgIGNsYXNzOiAnZGJ4LWJ1dHRvbi1zcGFjZXIgZC1pbmxpbmUnXG4gIH1cbn0pXG5leHBvcnQgY2xhc3MgRGJ4QnV0dG9uU3BhY2VyRGlyZWN0aXZlIHt9XG4iXX0=
|