@dereekb/dbx-web 10.2.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/esm2022/lib/calendar.base.component.mjs +27 -30
- package/calendar/esm2022/lib/calendar.component.mjs +21 -24
- package/calendar/esm2022/lib/calendar.module.mjs +9 -9
- package/calendar/esm2022/lib/calendar.store.mjs +89 -89
- package/calendar/fesm2022/dereekb-dbx-web-calendar.mjs +137 -141
- package/calendar/fesm2022/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/calendar/lib/calendar.base.component.d.ts +0 -1
- package/calendar/lib/calendar.component.d.ts +1 -2
- package/calendar/package.json +1 -1
- package/esm2022/calendar/lib/calendar.base.component.mjs +27 -30
- package/esm2022/calendar/lib/calendar.component.mjs +21 -24
- package/esm2022/calendar/lib/calendar.module.mjs +9 -9
- package/esm2022/calendar/lib/calendar.store.mjs +89 -89
- package/esm2022/lib/action/action.confirm.directive.mjs +8 -15
- package/esm2022/lib/action/action.module.mjs +4 -4
- package/esm2022/lib/action/key.trigger.directive.mjs +7 -11
- package/esm2022/lib/action/snackbar/action.snackbar.component.mjs +40 -48
- package/esm2022/lib/action/snackbar/action.snackbar.directive.mjs +10 -14
- package/esm2022/lib/action/snackbar/action.snackbar.module.mjs +4 -4
- package/esm2022/lib/action/snackbar/action.snackbar.service.mjs +14 -21
- package/esm2022/lib/action/transition/action.transition.module.mjs +4 -4
- package/esm2022/lib/action/transition/transition.safety.dialog.component.mjs +11 -14
- package/esm2022/lib/action/transition/transition.safety.directive.mjs +15 -20
- package/esm2022/lib/button/button.component.mjs +10 -9
- package/esm2022/lib/button/button.module.mjs +4 -4
- package/esm2022/lib/button/button.spacer.component.mjs +3 -3
- package/esm2022/lib/button/icon/icon.button.component.mjs +4 -4
- package/esm2022/lib/button/icon/icon.button.module.mjs +6 -6
- package/esm2022/lib/button/progress/bar.button.component.mjs +4 -7
- package/esm2022/lib/button/progress/base.progress.button.directive.mjs +45 -53
- package/esm2022/lib/button/progress/button.progress.module.mjs +4 -4
- package/esm2022/lib/button/progress/spinner.button.component.mjs +15 -17
- package/esm2022/lib/dbx-web.module.mjs +4 -4
- package/esm2022/lib/error/default.error.widget.component.mjs +4 -4
- package/esm2022/lib/error/error.action.directive.mjs +7 -14
- package/esm2022/lib/error/error.component.mjs +57 -62
- package/esm2022/lib/error/error.details.component.mjs +5 -4
- package/esm2022/lib/error/error.loading.directive.mjs +6 -12
- package/esm2022/lib/error/error.module.mjs +5 -5
- package/esm2022/lib/error/error.popover.component.mjs +4 -4
- package/esm2022/lib/error/error.snackbar.action.directive.mjs +8 -12
- package/esm2022/lib/error/error.snackbar.component.mjs +16 -22
- package/esm2022/lib/error/error.snackbar.service.mjs +12 -15
- package/esm2022/lib/error/error.view.component.mjs +12 -7
- package/esm2022/lib/error/error.widget.component.mjs +33 -36
- package/esm2022/lib/error/error.widget.directive.mjs +6 -11
- package/esm2022/lib/error/error.widget.service.mjs +4 -4
- package/esm2022/lib/extension/download/text/download.text.component.mjs +79 -82
- package/esm2022/lib/extension/download/text/download.text.module.mjs +6 -6
- package/esm2022/lib/extension/model/model.module.mjs +11 -11
- package/esm2022/lib/extension/model/model.state.service.mjs +6 -9
- package/esm2022/lib/extension/model/model.tracker.service.mjs +11 -13
- package/esm2022/lib/extension/model/model.tracker.view.storage.mjs +13 -13
- package/esm2022/lib/extension/model/model.types.service.mjs +34 -36
- package/esm2022/lib/extension/model/state/effects/tracker.effects.mjs +13 -17
- package/esm2022/lib/extension/structure/structure.body.directive.mjs +4 -4
- package/esm2022/lib/extension/structure/structure.module.mjs +6 -6
- package/esm2022/lib/extension/structure/structure.structure.directive.mjs +8 -10
- package/esm2022/lib/extension/widget/widget.component.mjs +22 -25
- package/esm2022/lib/extension/widget/widget.directive.mjs +6 -11
- package/esm2022/lib/extension/widget/widget.list.component.mjs +17 -20
- package/esm2022/lib/extension/widget/widget.module.mjs +6 -6
- package/esm2022/lib/extension/widget/widget.service.mjs +4 -6
- package/esm2022/lib/interaction/dialog/abstract.dialog.directive.mjs +8 -21
- package/esm2022/lib/interaction/dialog/dialog.action.directive.mjs +11 -10
- package/esm2022/lib/interaction/dialog/dialog.content.close.component.mjs +6 -8
- package/esm2022/lib/interaction/dialog/dialog.content.component.mjs +4 -6
- package/esm2022/lib/interaction/dialog/dialog.content.footer.component.mjs +7 -9
- package/esm2022/lib/interaction/dialog/dialog.module.mjs +4 -4
- package/esm2022/lib/interaction/filter/filter.module.mjs +6 -6
- package/esm2022/lib/interaction/filter/filter.partial.list.component.mjs +4 -4
- package/esm2022/lib/interaction/filter/filter.partial.menu.component.mjs +6 -9
- package/esm2022/lib/interaction/filter/filter.partial.mjs +24 -27
- package/esm2022/lib/interaction/filter/filter.popover.button.component.mjs +7 -8
- package/esm2022/lib/interaction/filter/filter.popover.button.directive.mjs +7 -10
- package/esm2022/lib/interaction/filter/filter.popover.component.mjs +52 -57
- package/esm2022/lib/interaction/filter/filter.preset.directive.mjs +90 -0
- package/esm2022/lib/interaction/filter/filter.preset.list.component.mjs +6 -6
- package/esm2022/lib/interaction/filter/filter.preset.menu.component.mjs +8 -11
- package/esm2022/lib/interaction/filter/filter.wrapper.component.mjs +15 -15
- package/esm2022/lib/interaction/interaction.module.mjs +4 -4
- package/esm2022/lib/interaction/popover/abstract.popover.directive.mjs +6 -9
- package/esm2022/lib/interaction/popover/abstract.popover.ref.directive.mjs +8 -10
- package/esm2022/lib/interaction/popover/popover.action.directive.mjs +11 -10
- package/esm2022/lib/interaction/popover/popover.close.component.mjs +9 -12
- package/esm2022/lib/interaction/popover/popover.component.mjs +27 -27
- package/esm2022/lib/interaction/popover/popover.content.component.mjs +8 -10
- package/esm2022/lib/interaction/popover/popover.content.module.mjs +4 -4
- package/esm2022/lib/interaction/popover/popover.controls.directive.mjs +9 -11
- package/esm2022/lib/interaction/popover/popover.coordinator.component.mjs +14 -17
- package/esm2022/lib/interaction/popover/popover.coordinator.service.mjs +5 -7
- package/esm2022/lib/interaction/popover/popover.header.component.mjs +15 -15
- package/esm2022/lib/interaction/popover/popover.module.mjs +4 -4
- package/esm2022/lib/interaction/popover/popover.scroll.content.component.mjs +7 -10
- package/esm2022/lib/interaction/popover/popover.service.mjs +8 -11
- package/esm2022/lib/interaction/popup/abstract.popup.directive.mjs +6 -9
- package/esm2022/lib/interaction/popup/popup.component.mjs +25 -24
- package/esm2022/lib/interaction/popup/popup.content.component.mjs +9 -12
- package/esm2022/lib/interaction/popup/popup.controls.buttons.component.mjs +17 -20
- package/esm2022/lib/interaction/popup/popup.controls.component.mjs +5 -4
- package/esm2022/lib/interaction/popup/popup.coordinator.component.mjs +13 -17
- package/esm2022/lib/interaction/popup/popup.coordinator.service.mjs +5 -7
- package/esm2022/lib/interaction/popup/popup.module.mjs +4 -4
- package/esm2022/lib/interaction/popup/popup.position.strategy.mjs +3 -2
- package/esm2022/lib/interaction/popup/popup.service.mjs +8 -11
- package/esm2022/lib/interaction/prompt/prompt.box.component.mjs +5 -7
- package/esm2022/lib/interaction/prompt/prompt.button.confirm.directive.mjs +12 -20
- package/esm2022/lib/interaction/prompt/prompt.component.mjs +6 -4
- package/esm2022/lib/interaction/prompt/prompt.confirm.component.mjs +6 -8
- package/esm2022/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +4 -4
- package/esm2022/lib/interaction/prompt/prompt.confirm.directive.mjs +12 -15
- package/esm2022/lib/interaction/prompt/prompt.module.mjs +4 -4
- package/esm2022/lib/interaction/prompt/prompt.page.component.mjs +4 -4
- package/esm2022/lib/keypress/keydown.listener.directive.mjs +6 -7
- package/esm2022/lib/keypress/keypress.module.mjs +4 -4
- package/esm2022/lib/layout/bar/bar.directive.mjs +4 -3
- package/esm2022/lib/layout/bar/bar.header.component.mjs +7 -4
- package/esm2022/lib/layout/bar/bar.layout.module.mjs +4 -4
- package/esm2022/lib/layout/bar/pagebar.component.mjs +4 -3
- package/esm2022/lib/layout/block/block.layout.module.mjs +4 -4
- package/esm2022/lib/layout/block/two.block.component.mjs +9 -10
- package/esm2022/lib/layout/card/card.box.component.mjs +6 -4
- package/esm2022/lib/layout/card/card.box.container.component.mjs +4 -4
- package/esm2022/lib/layout/card/card.box.layout.module.mjs +4 -4
- package/esm2022/lib/layout/column/column.layout.module.mjs +4 -4
- package/esm2022/lib/layout/column/one/one.column.component.mjs +10 -14
- package/esm2022/lib/layout/column/one/one.column.module.mjs +4 -4
- package/esm2022/lib/layout/column/two/two.column.back.directive.mjs +7 -11
- package/esm2022/lib/layout/column/two/two.column.component.mjs +17 -21
- package/esm2022/lib/layout/column/two/two.column.context.directive.mjs +7 -10
- package/esm2022/lib/layout/column/two/two.column.full.left.directive.mjs +7 -10
- package/esm2022/lib/layout/column/two/two.column.head.component.mjs +6 -4
- package/esm2022/lib/layout/column/two/two.column.module.mjs +4 -4
- package/esm2022/lib/layout/column/two/two.column.right.component.mjs +15 -19
- package/esm2022/lib/layout/column/two/two.column.sref.directive.mjs +6 -9
- package/esm2022/lib/layout/column/two/two.column.sref.showright.directive.mjs +10 -15
- package/esm2022/lib/layout/column/two/two.column.store.mjs +81 -81
- package/esm2022/lib/layout/compact/compact.directive.mjs +7 -10
- package/esm2022/lib/layout/compact/compact.layout.module.mjs +4 -4
- package/esm2022/lib/layout/compact/compact.store.mjs +6 -6
- package/esm2022/lib/layout/content/content.border.directive.mjs +4 -6
- package/esm2022/lib/layout/content/content.box.directive.mjs +5 -7
- package/esm2022/lib/layout/content/content.container.directive.mjs +6 -8
- package/esm2022/lib/layout/content/content.directive.mjs +3 -3
- package/esm2022/lib/layout/content/content.elevate.directive.mjs +4 -6
- package/esm2022/lib/layout/content/content.layout.module.mjs +5 -5
- package/esm2022/lib/layout/content/content.page.directive.mjs +3 -3
- package/esm2022/lib/layout/content/content.pit.directive.mjs +4 -3
- package/esm2022/lib/layout/flag/flag.component.mjs +5 -7
- package/esm2022/lib/layout/flag/flag.layout.module.mjs +4 -4
- package/esm2022/lib/layout/flag/flag.prompt.component.mjs +6 -7
- package/esm2022/lib/layout/flex/flex.group.directive.mjs +14 -15
- package/esm2022/lib/layout/flex/flex.layout.module.mjs +4 -4
- package/esm2022/lib/layout/flex/flex.size.directive.mjs +4 -6
- package/esm2022/lib/layout/item/item.icon.component.mjs +6 -4
- package/esm2022/lib/layout/item/item.layout.module.mjs +4 -4
- package/esm2022/lib/layout/layout.module.mjs +4 -4
- package/esm2022/lib/layout/list/list.component.mjs +102 -103
- package/esm2022/lib/layout/list/list.content.empty.component.mjs +4 -4
- package/esm2022/lib/layout/list/list.directive.mjs +14 -15
- package/esm2022/lib/layout/list/list.grid.view.component.mjs +27 -39
- package/esm2022/lib/layout/list/list.grid.view.directive.mjs +3 -3
- package/esm2022/lib/layout/list/list.layout.module.mjs +5 -5
- package/esm2022/lib/layout/list/list.view.directive.mjs +11 -12
- package/esm2022/lib/layout/list/list.view.meta.icon.component.mjs +9 -19
- package/esm2022/lib/layout/list/list.view.selection.directive.mjs +4 -7
- package/esm2022/lib/layout/list/list.view.value.component.mjs +36 -43
- package/esm2022/lib/layout/list/list.view.value.directive.mjs +11 -17
- package/esm2022/lib/layout/list/list.view.value.group.title.directive.mjs +57 -59
- package/esm2022/lib/layout/list/list.view.value.item.directive.mjs +6 -11
- package/esm2022/lib/layout/list/list.view.value.modifier.directive.mjs +15 -19
- package/esm2022/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +14 -17
- package/esm2022/lib/layout/list/list.view.value.modifier.selection.directive.mjs +13 -16
- package/esm2022/lib/layout/list/list.view.value.selection.component.mjs +20 -29
- package/esm2022/lib/layout/list/list.wrapper.mjs +3 -1
- package/esm2022/lib/layout/section/section.component.mjs +5 -8
- package/esm2022/lib/layout/section/section.header.component.mjs +12 -7
- package/esm2022/lib/layout/section/section.intro.component.mjs +7 -8
- package/esm2022/lib/layout/section/section.layout.module.mjs +4 -4
- package/esm2022/lib/layout/section/section.page.component.mjs +6 -9
- package/esm2022/lib/layout/section/subsection.component.mjs +4 -4
- package/esm2022/lib/layout/step/step.component.mjs +7 -3
- package/esm2022/lib/layout/step/step.layout.module.mjs +4 -4
- package/esm2022/lib/layout/style/spacer.directive.mjs +3 -3
- package/esm2022/lib/layout/style/style.body.directive.mjs +14 -15
- package/esm2022/lib/layout/style/style.color.directive.mjs +4 -6
- package/esm2022/lib/layout/style/style.directive.mjs +15 -13
- package/esm2022/lib/layout/style/style.layout.module.mjs +4 -4
- package/esm2022/lib/layout/style/style.service.mjs +18 -26
- package/esm2022/lib/layout/style/style.set.directive.mjs +15 -16
- package/esm2022/lib/layout/text/address.component.mjs +5 -4
- package/esm2022/lib/layout/text/compat/form.description.component.mjs +19 -0
- package/esm2022/lib/layout/text/compat/hint.component.mjs +19 -0
- package/esm2022/lib/layout/text/compat/index.mjs +10 -0
- package/esm2022/lib/layout/text/compat/label.component.mjs +19 -0
- package/esm2022/lib/layout/text/compat/note.component.mjs +19 -0
- package/esm2022/lib/layout/text/compat/notice.component.mjs +19 -0
- package/esm2022/lib/layout/text/compat/ok.component.mjs +19 -0
- package/esm2022/lib/layout/text/compat/success.component.mjs +19 -0
- package/esm2022/lib/layout/text/compat/text.compat.module.mjs +32 -0
- package/esm2022/lib/layout/text/compat/warn.component.mjs +19 -0
- package/esm2022/lib/layout/text/detail.block.component.mjs +6 -4
- package/esm2022/lib/layout/text/detail.block.header.component.mjs +6 -4
- package/esm2022/lib/layout/text/icon.spacer.component.mjs +3 -3
- package/esm2022/lib/layout/text/index.mjs +2 -9
- package/esm2022/lib/layout/text/label.block.component.mjs +7 -7
- package/esm2022/lib/layout/text/linkify.component.mjs +20 -23
- package/esm2022/lib/layout/text/text.chip.directive.mjs +5 -3
- package/esm2022/lib/layout/text/text.chips.component.mjs +6 -4
- package/esm2022/lib/layout/text/text.module.mjs +5 -13
- package/esm2022/lib/loading/basic-loading.component.mjs +33 -33
- package/esm2022/lib/loading/loading-progress.component.mjs +11 -10
- package/esm2022/lib/loading/loading.action.directive.mjs +8 -14
- package/esm2022/lib/loading/loading.component.mjs +33 -27
- package/esm2022/lib/loading/loading.module.mjs +4 -4
- package/esm2022/lib/router/layout/anchor/anchor.component.mjs +14 -17
- package/esm2022/lib/router/layout/anchor/anchor.content.component.mjs +14 -19
- package/esm2022/lib/router/layout/anchor/anchor.icon.component.mjs +5 -4
- package/esm2022/lib/router/layout/anchor/anchor.link.component.mjs +5 -4
- package/esm2022/lib/router/layout/anchor/anchor.module.mjs +4 -4
- package/esm2022/lib/router/layout/anchor/anchor.segue.directive.mjs +13 -16
- package/esm2022/lib/router/layout/anchorlist/anchorlist.component.mjs +8 -10
- package/esm2022/lib/router/layout/anchorlist/anchorlist.module.mjs +4 -4
- package/esm2022/lib/router/layout/layout.module.mjs +4 -4
- package/esm2022/lib/router/layout/list/list.module.mjs +4 -4
- package/esm2022/lib/router/layout/list/router.list.directive.mjs +16 -19
- package/esm2022/lib/router/layout/navbar/navbar.component.mjs +65 -70
- package/esm2022/lib/router/layout/navbar/navbar.module.mjs +6 -6
- package/esm2022/lib/router/layout/sidenav/sidenav.button.component.mjs +13 -16
- package/esm2022/lib/router/layout/sidenav/sidenav.component.mjs +54 -57
- package/esm2022/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.mjs +10 -14
- package/esm2022/lib/router/layout/sidenav/sidenav.module.mjs +4 -4
- package/esm2022/lib/router/layout/sidenav/sidenav.page.component.mjs +13 -14
- package/esm2022/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +5 -4
- package/esm2022/lib/router/provider/ngrouter/anchor.component.mjs +3 -3
- package/esm2022/lib/router/provider/ngrouter/angular.router.module.mjs +4 -4
- package/esm2022/lib/router/provider/uirouter/anchor.component.mjs +5 -8
- package/esm2022/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -4
- package/esm2022/lib/screen/screen.module.mjs +4 -4
- package/esm2022/lib/screen/screen.service.mjs +19 -12
- package/esm2022/mapbox/lib/mapbox.change.service.mjs +15 -18
- package/esm2022/mapbox/lib/mapbox.injection.component.mjs +10 -14
- package/esm2022/mapbox/lib/mapbox.injection.store.mjs +8 -8
- package/esm2022/mapbox/lib/mapbox.injection.store.provide.mjs +8 -13
- package/esm2022/mapbox/lib/mapbox.layout.component.mjs +47 -46
- package/esm2022/mapbox/lib/mapbox.layout.drawer.component.mjs +9 -12
- package/esm2022/mapbox/lib/mapbox.layout.resize.sync.directive.mjs +17 -23
- package/esm2022/mapbox/lib/mapbox.marker.component.mjs +13 -17
- package/esm2022/mapbox/lib/mapbox.markers.component.mjs +14 -16
- package/esm2022/mapbox/lib/mapbox.menu.component.mjs +14 -21
- package/esm2022/mapbox/lib/mapbox.module.mjs +6 -6
- package/esm2022/mapbox/lib/mapbox.service.mjs +10 -10
- package/esm2022/mapbox/lib/mapbox.store.map.directive.mjs +9 -22
- package/esm2022/mapbox/lib/mapbox.store.mjs +395 -399
- package/esm2022/mapbox/lib/mapbox.store.provide.mjs +8 -13
- package/esm2022/table/lib/date/date.table.column.header.component.mjs +8 -8
- package/esm2022/table/lib/date/daterange.table.cell.input.component.mjs +37 -43
- package/esm2022/table/lib/date/table.date.module.mjs +6 -6
- package/esm2022/table/lib/table.cell.action.component.mjs +10 -13
- package/esm2022/table/lib/table.cell.input.component.mjs +10 -13
- package/esm2022/table/lib/table.cell.summaryend.component.mjs +10 -13
- package/esm2022/table/lib/table.cell.summarystart.component.mjs +10 -13
- package/esm2022/table/lib/table.column.directive.mjs +8 -11
- package/esm2022/table/lib/table.column.footer.component.mjs +13 -16
- package/esm2022/table/lib/table.column.header.component.mjs +13 -16
- package/esm2022/table/lib/table.component.mjs +35 -38
- package/esm2022/table/lib/table.directive.mjs +6 -9
- package/esm2022/table/lib/table.item.action.component.mjs +13 -16
- package/esm2022/table/lib/table.item.cell.component.mjs +7 -10
- package/esm2022/table/lib/table.item.directive.mjs +8 -11
- package/esm2022/table/lib/table.item.header.component.mjs +5 -8
- package/esm2022/table/lib/table.module.mjs +6 -6
- package/esm2022/table/lib/table.store.mjs +36 -36
- package/fesm2022/dereekb-dbx-web-calendar.mjs +137 -141
- package/fesm2022/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-mapbox.mjs +552 -594
- package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-table.mjs +197 -232
- package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +2243 -2460
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/action.confirm.directive.d.ts +1 -3
- package/lib/action/key.trigger.directive.d.ts +1 -2
- package/lib/action/snackbar/action.snackbar.component.d.ts +4 -5
- package/lib/action/snackbar/action.snackbar.directive.d.ts +2 -3
- package/lib/action/snackbar/action.snackbar.service.d.ts +1 -2
- package/lib/action/transition/transition.safety.directive.d.ts +1 -2
- package/lib/button/progress/base.progress.button.directive.d.ts +7 -8
- package/lib/error/error.action.directive.d.ts +2 -3
- package/lib/error/error.component.d.ts +2 -3
- package/lib/error/error.loading.directive.d.ts +1 -2
- package/lib/error/error.snackbar.action.directive.d.ts +1 -2
- package/lib/error/error.snackbar.component.d.ts +2 -3
- package/lib/error/error.snackbar.service.d.ts +0 -1
- package/lib/error/error.widget.component.d.ts +0 -1
- package/lib/error/error.widget.directive.d.ts +0 -1
- package/lib/extension/download/text/download.text.component.d.ts +3 -6
- package/lib/extension/model/model.module.d.ts +3 -3
- package/lib/extension/model/model.state.service.d.ts +1 -3
- package/lib/extension/model/model.tracker.service.d.ts +1 -3
- package/lib/extension/model/model.tracker.view.storage.d.ts +5 -3
- package/lib/extension/model/model.types.service.d.ts +2 -3
- package/lib/extension/model/state/effects/tracker.effects.d.ts +0 -3
- package/lib/extension/structure/structure.structure.directive.d.ts +1 -2
- package/lib/extension/widget/widget.component.d.ts +0 -1
- package/lib/extension/widget/widget.directive.d.ts +0 -1
- package/lib/interaction/dialog/abstract.dialog.directive.d.ts +3 -5
- package/lib/interaction/dialog/dialog.action.directive.d.ts +3 -3
- package/lib/interaction/filter/filter.partial.d.ts +1 -2
- package/lib/interaction/filter/filter.popover.button.directive.d.ts +0 -2
- package/lib/interaction/filter/filter.popover.component.d.ts +0 -2
- package/lib/interaction/filter/{filter.preset.d.ts → filter.preset.directive.d.ts} +5 -6
- package/lib/interaction/filter/filter.preset.list.component.d.ts +2 -2
- package/lib/interaction/filter/filter.preset.menu.component.d.ts +2 -2
- package/lib/interaction/filter/filter.wrapper.component.d.ts +3 -3
- package/lib/interaction/popover/abstract.popover.directive.d.ts +0 -1
- package/lib/interaction/popover/popover.action.directive.d.ts +3 -3
- package/lib/interaction/popover/popover.close.component.d.ts +1 -2
- package/lib/interaction/popover/popover.component.d.ts +6 -7
- package/lib/interaction/popover/popover.controls.directive.d.ts +3 -2
- package/lib/interaction/popover/popover.coordinator.component.d.ts +3 -5
- package/lib/interaction/popover/popover.header.component.d.ts +5 -3
- package/lib/interaction/popover/popover.scroll.content.component.d.ts +0 -1
- package/lib/interaction/popover/popover.service.d.ts +0 -2
- package/lib/interaction/popup/abstract.popup.directive.d.ts +0 -1
- package/lib/interaction/popup/popup.component.d.ts +3 -5
- package/lib/interaction/popup/popup.content.component.d.ts +1 -3
- package/lib/interaction/popup/popup.controls.buttons.component.d.ts +1 -3
- package/lib/interaction/popup/popup.coordinator.component.d.ts +2 -5
- package/lib/interaction/popup/popup.service.d.ts +0 -2
- package/lib/interaction/prompt/prompt.button.confirm.directive.d.ts +3 -4
- package/lib/interaction/prompt/prompt.confirm.component.d.ts +2 -2
- package/lib/interaction/prompt/prompt.confirm.directive.d.ts +1 -3
- package/lib/layout/column/one/one.column.component.d.ts +1 -1
- package/lib/layout/column/two/two.column.back.directive.d.ts +0 -1
- package/lib/layout/column/two/two.column.component.d.ts +4 -4
- package/lib/layout/column/two/two.column.context.directive.d.ts +0 -1
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +0 -2
- package/lib/layout/column/two/two.column.right.component.d.ts +1 -2
- package/lib/layout/column/two/two.column.sref.directive.d.ts +0 -2
- package/lib/layout/column/two/two.column.sref.showright.directive.d.ts +1 -3
- package/lib/layout/compact/compact.directive.d.ts +1 -2
- package/lib/layout/flex/flex.group.directive.d.ts +2 -3
- package/lib/layout/list/list.component.d.ts +3 -4
- package/lib/layout/list/list.directive.d.ts +4 -5
- package/lib/layout/list/list.grid.view.component.d.ts +3 -5
- package/lib/layout/list/list.view.directive.d.ts +1 -1
- package/lib/layout/list/list.view.meta.icon.component.d.ts +3 -2
- package/lib/layout/list/list.view.selection.directive.d.ts +1 -1
- package/lib/layout/list/list.view.value.component.d.ts +4 -5
- package/lib/layout/list/list.view.value.directive.d.ts +3 -4
- package/lib/layout/list/list.view.value.group.title.directive.d.ts +7 -3
- package/lib/layout/list/list.view.value.item.directive.d.ts +0 -1
- package/lib/layout/list/list.view.value.modifier.directive.d.ts +0 -1
- package/lib/layout/list/list.view.value.selection.component.d.ts +3 -4
- package/lib/layout/section/section.intro.component.d.ts +1 -1
- package/lib/layout/style/style.body.directive.d.ts +4 -4
- package/lib/layout/style/style.directive.d.ts +4 -5
- package/lib/layout/style/style.service.d.ts +1 -2
- package/lib/layout/style/style.set.directive.d.ts +3 -3
- package/lib/layout/text/compat/index.d.ts +9 -0
- package/lib/layout/text/compat/text.compat.module.d.ts +21 -0
- package/lib/layout/text/index.d.ts +1 -8
- package/lib/layout/text/linkify.component.d.ts +0 -2
- package/lib/layout/text/text.module.d.ts +9 -17
- package/lib/loading/loading.action.directive.d.ts +3 -4
- package/lib/loading/loading.component.d.ts +0 -1
- package/lib/router/layout/anchor/anchor.component.d.ts +0 -2
- package/lib/router/layout/anchor/anchor.content.component.d.ts +3 -4
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +0 -1
- package/lib/router/layout/navbar/navbar.component.d.ts +2 -4
- package/lib/router/layout/sidenav/sidenav.button.component.d.ts +0 -1
- package/lib/router/layout/sidenav/sidenav.component.d.ts +2 -4
- package/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.d.ts +2 -3
- package/lib/router/layout/sidenav/sidenav.page.component.d.ts +0 -1
- package/lib/screen/screen.service.d.ts +1 -2
- package/mapbox/esm2022/lib/mapbox.change.service.mjs +15 -18
- package/mapbox/esm2022/lib/mapbox.injection.component.mjs +10 -14
- package/mapbox/esm2022/lib/mapbox.injection.store.mjs +8 -8
- package/mapbox/esm2022/lib/mapbox.injection.store.provide.mjs +8 -13
- package/mapbox/esm2022/lib/mapbox.layout.component.mjs +47 -46
- package/mapbox/esm2022/lib/mapbox.layout.drawer.component.mjs +9 -12
- package/mapbox/esm2022/lib/mapbox.layout.resize.sync.directive.mjs +17 -23
- package/mapbox/esm2022/lib/mapbox.marker.component.mjs +13 -17
- package/mapbox/esm2022/lib/mapbox.markers.component.mjs +14 -16
- package/mapbox/esm2022/lib/mapbox.menu.component.mjs +14 -21
- package/mapbox/esm2022/lib/mapbox.module.mjs +6 -6
- package/mapbox/esm2022/lib/mapbox.service.mjs +10 -10
- package/mapbox/esm2022/lib/mapbox.store.map.directive.mjs +9 -22
- package/mapbox/esm2022/lib/mapbox.store.mjs +395 -399
- package/mapbox/esm2022/lib/mapbox.store.provide.mjs +8 -13
- package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs +552 -594
- package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/lib/mapbox.change.service.d.ts +0 -1
- package/mapbox/lib/mapbox.injection.component.d.ts +0 -3
- package/mapbox/lib/mapbox.injection.store.provide.d.ts +1 -2
- package/mapbox/lib/mapbox.layout.component.d.ts +10 -11
- package/mapbox/lib/mapbox.layout.drawer.component.d.ts +0 -1
- package/mapbox/lib/mapbox.layout.resize.sync.directive.d.ts +3 -4
- package/mapbox/lib/mapbox.marker.component.d.ts +2 -4
- package/mapbox/lib/mapbox.menu.component.d.ts +4 -5
- package/mapbox/lib/mapbox.service.d.ts +1 -2
- package/mapbox/lib/mapbox.store.d.ts +1 -2
- package/mapbox/lib/mapbox.store.map.directive.d.ts +2 -3
- package/mapbox/lib/mapbox.store.provide.d.ts +1 -2
- package/mapbox/package.json +1 -1
- package/package.json +1 -1
- package/table/esm2022/lib/date/date.table.column.header.component.mjs +8 -8
- package/table/esm2022/lib/date/daterange.table.cell.input.component.mjs +37 -43
- package/table/esm2022/lib/date/table.date.module.mjs +6 -6
- package/table/esm2022/lib/table.cell.action.component.mjs +10 -13
- package/table/esm2022/lib/table.cell.input.component.mjs +10 -13
- package/table/esm2022/lib/table.cell.summaryend.component.mjs +10 -13
- package/table/esm2022/lib/table.cell.summarystart.component.mjs +10 -13
- package/table/esm2022/lib/table.column.directive.mjs +8 -11
- package/table/esm2022/lib/table.column.footer.component.mjs +13 -16
- package/table/esm2022/lib/table.column.header.component.mjs +13 -16
- package/table/esm2022/lib/table.component.mjs +35 -38
- package/table/esm2022/lib/table.directive.mjs +6 -9
- package/table/esm2022/lib/table.item.action.component.mjs +13 -16
- package/table/esm2022/lib/table.item.cell.component.mjs +7 -10
- package/table/esm2022/lib/table.item.directive.mjs +8 -11
- package/table/esm2022/lib/table.item.header.component.mjs +5 -8
- package/table/esm2022/lib/table.module.mjs +6 -6
- package/table/esm2022/lib/table.store.mjs +36 -36
- package/table/fesm2022/dereekb-dbx-web-table.mjs +197 -232
- package/table/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/table/lib/date/daterange.table.cell.input.component.d.ts +3 -6
- package/table/lib/table.cell.action.component.d.ts +1 -2
- package/table/lib/table.cell.input.component.d.ts +1 -2
- package/table/lib/table.cell.summaryend.component.d.ts +1 -2
- package/table/lib/table.cell.summarystart.component.d.ts +1 -2
- package/table/lib/table.column.directive.d.ts +1 -2
- package/table/lib/table.component.d.ts +0 -1
- package/table/lib/table.directive.d.ts +0 -1
- package/table/lib/table.item.directive.d.ts +0 -1
- package/table/package.json +1 -1
- package/esm2022/lib/interaction/filter/filter.preset.mjs +0 -94
- package/esm2022/lib/layout/text/form.description.component.mjs +0 -19
- package/esm2022/lib/layout/text/hint.component.mjs +0 -19
- package/esm2022/lib/layout/text/label.component.mjs +0 -19
- package/esm2022/lib/layout/text/note.component.mjs +0 -19
- package/esm2022/lib/layout/text/notice.component.mjs +0 -19
- package/esm2022/lib/layout/text/ok.component.mjs +0 -19
- package/esm2022/lib/layout/text/success.component.mjs +0 -19
- package/esm2022/lib/layout/text/warn.component.mjs +0 -19
- /package/lib/layout/text/{form.description.component.d.ts → compat/form.description.component.d.ts} +0 -0
- /package/lib/layout/text/{hint.component.d.ts → compat/hint.component.d.ts} +0 -0
- /package/lib/layout/text/{label.component.d.ts → compat/label.component.d.ts} +0 -0
- /package/lib/layout/text/{note.component.d.ts → compat/note.component.d.ts} +0 -0
- /package/lib/layout/text/{notice.component.d.ts → compat/notice.component.d.ts} +0 -0
- /package/lib/layout/text/{ok.component.d.ts → compat/ok.component.d.ts} +0 -0
- /package/lib/layout/text/{success.component.d.ts → compat/success.component.d.ts} +0 -0
- /package/lib/layout/text/{warn.component.d.ts → compat/warn.component.d.ts} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Component, EventEmitter, Output, NgModule } from '@angular/core';
|
|
2
|
+
import { Injectable, inject, Component, EventEmitter, Output, NgModule } from '@angular/core';
|
|
3
3
|
import { startOfDay, endOfDay, startOfWeek, endOfWeek, startOfMonth, endOfMonth, differenceInDays, isAfter, isBefore, addDays, isSameDay, isSameMonth } from 'date-fns';
|
|
4
4
|
import { isDateInDateRange, isSameDateRange, isSameDateDay, isFullDateRange, clampDateToDateRange, formatToTimeAndDurationString, sortDateRangeStartAscendingCompareFunction } from '@dereekb/date';
|
|
5
5
|
import { invertDecision, reduceBooleansWithAndFn } from '@dereekb/util';
|
|
6
6
|
import { ComponentStore } from '@ngrx/component-store';
|
|
7
7
|
import { distinctUntilChanged, switchMap, first, tap, map, shareReplay, combineLatest, withLatestFrom } from 'rxjs';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i1 from '@angular/common';
|
|
9
9
|
import { CommonModule } from '@angular/common';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i2$1 from '@angular/material/button-toggle';
|
|
11
11
|
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
12
|
-
import * as
|
|
12
|
+
import * as i3$1 from 'angular-calendar';
|
|
13
13
|
import { CalendarModule, CalendarDayModule, CalendarWeekModule, DateAdapter } from 'angular-calendar';
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
14
|
+
import * as i6 from '@ngbracket/ngx-layout/extended';
|
|
15
|
+
import * as i2 from '@angular/material/icon';
|
|
16
16
|
import { MatIconModule } from '@angular/material/icon';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i3 from '@angular/material/button';
|
|
18
18
|
import { MatButtonModule } from '@angular/material/button';
|
|
19
|
-
import * as
|
|
19
|
+
import * as i4 from '@dereekb/dbx-web';
|
|
20
20
|
import { DbxButtonModule, DbxPopoverInteractionModule } from '@dereekb/dbx-web';
|
|
21
|
-
import * as
|
|
21
|
+
import * as i5 from '@ngbracket/ngx-layout/flex';
|
|
22
22
|
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
|
|
23
23
|
import { FlexLayoutModule } from '@ngbracket/ngx-layout';
|
|
24
24
|
|
|
@@ -73,96 +73,96 @@ class DbxCalendarStore extends ComponentStore {
|
|
|
73
73
|
dateTappedTwice: false,
|
|
74
74
|
events: []
|
|
75
75
|
});
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}))));
|
|
83
|
-
});
|
|
84
|
-
this.tapNext = this.effect((input) => {
|
|
85
|
-
return input.pipe(switchMap(() => this.visibleDateRange$.pipe(first(), tap(({ end, isMaxDateVisible }) => {
|
|
86
|
-
if (!isMaxDateVisible) {
|
|
87
|
-
this.tapDay(addDays(end, 1));
|
|
88
|
-
}
|
|
89
|
-
}))));
|
|
90
|
-
});
|
|
91
|
-
this.tapPrevious = this.effect((input) => {
|
|
92
|
-
return input.pipe(switchMap(() => this.visibleDateRange$.pipe(first(), tap(({ start, isMinDateVisible }) => {
|
|
93
|
-
if (!isMinDateVisible) {
|
|
94
|
-
this.tapDay(addDays(start, -1));
|
|
95
|
-
}
|
|
96
|
-
}))));
|
|
97
|
-
});
|
|
98
|
-
this.tapLastPage = this.effect((input) => {
|
|
99
|
-
return input.pipe(switchMap(() => this.maxNavigationDate$.pipe(first(), tap((x) => {
|
|
100
|
-
if (x) {
|
|
101
|
-
this.tapDay(x);
|
|
102
|
-
}
|
|
103
|
-
}))));
|
|
104
|
-
});
|
|
105
|
-
// MARK: Accessors
|
|
106
|
-
this.showTodayButton$ = this.state$.pipe(map((x) => x.showTodayButton), distinctUntilChanged(), shareReplay(1));
|
|
107
|
-
this.date$ = this.state$.pipe(map((x) => x.date));
|
|
108
|
-
this.dateTappedTwice$ = this.state$.pipe(map((x) => x.dateTappedTwice));
|
|
109
|
-
this.events$ = this.state$.pipe(map((x) => x.events));
|
|
110
|
-
// TODO: Filter to be events that will only be displayed based on the current calendar.
|
|
111
|
-
this.visibleEvents$ = this.state$.pipe(map((x) => x.events), shareReplay(1));
|
|
112
|
-
this.eventsForDateState$ = this.state$.pipe(distinctUntilDateOrTypeOrEventsChanged, map((state) => ({
|
|
113
|
-
date: state.date,
|
|
114
|
-
events: state.events.filter((x) => isSameDay(x.start, state.date) || (x.end && isBefore(x.start, state.date) && isAfter(x.end, state.date))),
|
|
115
|
-
dateTappedTwice: state.dateTappedTwice
|
|
116
|
-
})), shareReplay(1));
|
|
117
|
-
this.eventsForDate$ = this.eventsForDateState$.pipe(map((state) => state.events));
|
|
118
|
-
this.visibleDateRange$ = this.state$.pipe(
|
|
119
|
-
// If the date or type changes, check again.
|
|
120
|
-
distinctUntilChanged((a, b) => a?.date === b?.date && a?.type === b?.type), map(visibleDateRangeForCalendarState), distinctUntilChanged((a, b) => {
|
|
121
|
-
if (a.type === b.type) {
|
|
122
|
-
return isSameDay(a.start, b.start);
|
|
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);
|
|
123
82
|
}
|
|
124
|
-
|
|
125
|
-
|
|
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));
|
|
126
89
|
}
|
|
127
|
-
})
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
})
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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
166
|
}
|
|
167
167
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarStore, decorators: [{
|
|
168
168
|
type: Injectable
|
|
@@ -219,23 +219,21 @@ function prepareAndSortCalendarEvents(events) {
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
class DbxCalendarBaseComponent {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
this.displayType$ = this.calendarStore.displayType$;
|
|
238
|
-
}
|
|
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$;
|
|
239
237
|
todayClicked() {
|
|
240
238
|
this.calendarStore.tapDay(new Date());
|
|
241
239
|
}
|
|
@@ -254,28 +252,26 @@ class DbxCalendarBaseComponent {
|
|
|
254
252
|
typeToggleChanged(event) {
|
|
255
253
|
this.calendarStore.setDisplayType(event.value);
|
|
256
254
|
}
|
|
257
|
-
static
|
|
258
|
-
static
|
|
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" }] });
|
|
259
257
|
}
|
|
260
258
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarBaseComponent, decorators: [{
|
|
261
259
|
type: Component,
|
|
262
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" }]
|
|
263
|
-
}]
|
|
261
|
+
}] });
|
|
264
262
|
|
|
265
263
|
class DbxCalendarComponent {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
this.displayType$ = this.calendarStore.displayType$;
|
|
278
|
-
}
|
|
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$;
|
|
279
275
|
ngOnDestroy() {
|
|
280
276
|
this.clickEvent.complete();
|
|
281
277
|
}
|
|
@@ -297,13 +293,13 @@ class DbxCalendarComponent {
|
|
|
297
293
|
typeToggleChanged(event) {
|
|
298
294
|
this.calendarStore.setDisplayType(event.value);
|
|
299
295
|
}
|
|
300
|
-
static
|
|
301
|
-
static
|
|
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" }] });
|
|
302
298
|
}
|
|
303
299
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarComponent, decorators: [{
|
|
304
300
|
type: Component,
|
|
305
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" }]
|
|
306
|
-
}],
|
|
302
|
+
}], propDecorators: { clickEvent: [{
|
|
307
303
|
type: Output
|
|
308
304
|
}] } });
|
|
309
305
|
|
|
@@ -313,8 +309,8 @@ const declarations = [
|
|
|
313
309
|
DbxCalendarComponent
|
|
314
310
|
];
|
|
315
311
|
class DbxCalendarModule {
|
|
316
|
-
static
|
|
317
|
-
static
|
|
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: [
|
|
318
314
|
//
|
|
319
315
|
DbxCalendarBaseComponent,
|
|
320
316
|
DbxCalendarComponent], imports: [
|
|
@@ -331,8 +327,8 @@ class DbxCalendarModule {
|
|
|
331
327
|
CalendarWeekModule], exports: [
|
|
332
328
|
//
|
|
333
329
|
DbxCalendarBaseComponent,
|
|
334
|
-
DbxCalendarComponent] });
|
|
335
|
-
static
|
|
330
|
+
DbxCalendarComponent] });
|
|
331
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarModule, imports: [
|
|
336
332
|
//
|
|
337
333
|
CommonModule,
|
|
338
334
|
MatIconModule,
|
|
@@ -343,7 +339,7 @@ class DbxCalendarModule {
|
|
|
343
339
|
CalendarModule,
|
|
344
340
|
CalendarDayModule,
|
|
345
341
|
FlexLayoutModule,
|
|
346
|
-
CalendarWeekModule] });
|
|
342
|
+
CalendarWeekModule] });
|
|
347
343
|
}
|
|
348
344
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarModule, decorators: [{
|
|
349
345
|
type: NgModule,
|
|
@@ -369,9 +365,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
369
365
|
* Provides default configuration for the DbxCalendarModule
|
|
370
366
|
*/
|
|
371
367
|
class DbxCalendarRootModule {
|
|
372
|
-
static
|
|
373
|
-
static
|
|
374
|
-
static
|
|
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] });
|
|
375
371
|
}
|
|
376
372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxCalendarRootModule, decorators: [{
|
|
377
373
|
type: NgModule,
|