@dereekb/dbx-web 11.1.7 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/lib/calendar.base.component.d.ts +10 -1
- package/calendar/lib/calendar.component.d.ts +8 -5
- package/calendar/lib/calendar.module.d.ts +4 -16
- package/calendar/lib/calendar.provider.d.ts +5 -0
- package/calendar/lib/calendar.store.d.ts +13 -9
- package/calendar/lib/index.d.ts +1 -0
- package/esm2022/calendar/lib/calendar.base.component.mjs +26 -12
- package/esm2022/calendar/lib/calendar.component.mjs +19 -17
- package/esm2022/calendar/lib/calendar.mjs +1 -1
- package/esm2022/calendar/lib/calendar.module.mjs +10 -76
- package/esm2022/calendar/lib/calendar.provider.mjs +11 -0
- package/esm2022/calendar/lib/calendar.store.mjs +19 -19
- package/esm2022/calendar/lib/index.mjs +2 -1
- package/esm2022/lib/action/action.confirm.directive.mjs +10 -12
- package/esm2022/lib/action/action.module.mjs +12 -16
- package/esm2022/lib/action/key.trigger.directive.mjs +6 -5
- package/esm2022/lib/action/snackbar/action.snackbar.component.mjs +29 -36
- package/esm2022/lib/action/snackbar/action.snackbar.directive.mjs +14 -27
- package/esm2022/lib/action/snackbar/action.snackbar.generator.mjs +1 -1
- package/esm2022/lib/action/snackbar/action.snackbar.module.mjs +8 -14
- package/esm2022/lib/action/snackbar/action.snackbar.service.mjs +4 -4
- package/esm2022/lib/action/transition/action.transition.module.mjs +14 -13
- package/esm2022/lib/action/transition/transition.safety.dialog.component.mjs +18 -24
- package/esm2022/lib/action/transition/transition.safety.directive.mjs +30 -33
- package/esm2022/lib/button/button.component.mjs +71 -104
- package/esm2022/lib/button/button.module.mjs +44 -12
- package/esm2022/lib/button/button.spacer.directive.mjs +20 -0
- package/esm2022/lib/button/icon/icon.button.component.mjs +48 -32
- package/esm2022/lib/button/icon/icon.button.module.mjs +10 -24
- package/esm2022/lib/button/index.mjs +2 -2
- package/esm2022/lib/button/progress/abstract.progress.button.directive.mjs +103 -0
- package/esm2022/lib/button/progress/bar.button.component.mjs +15 -11
- package/esm2022/lib/button/progress/button.progress.config.mjs +2 -2
- package/esm2022/lib/button/progress/button.progress.module.mjs +13 -28
- package/esm2022/lib/button/progress/button.progress.providers.mjs +18 -0
- package/esm2022/lib/button/progress/index.mjs +2 -1
- package/esm2022/lib/button/progress/spinner.button.component.mjs +66 -38
- package/esm2022/lib/dbx-web.module.mjs +4 -4
- package/esm2022/lib/error/default.error.widget.component.mjs +22 -15
- package/esm2022/lib/error/error.action.directive.mjs +9 -8
- package/esm2022/lib/error/error.api.mjs +1 -1
- package/esm2022/lib/error/error.component.mjs +56 -94
- package/esm2022/lib/error/error.details.component.mjs +15 -14
- package/esm2022/lib/error/error.loading.directive.mjs +20 -20
- package/esm2022/lib/error/error.module.mjs +21 -18
- package/esm2022/lib/error/error.popover.component.mjs +14 -17
- package/esm2022/lib/error/error.snackbar.action.directive.mjs +6 -5
- package/esm2022/lib/error/error.snackbar.component.mjs +57 -39
- package/esm2022/lib/error/error.snackbar.service.mjs +11 -10
- package/esm2022/lib/error/error.view.component.mjs +40 -33
- package/esm2022/lib/error/error.widget.component.mjs +19 -25
- package/esm2022/lib/error/error.widget.directive.mjs +3 -3
- package/esm2022/lib/error/error.widget.service.mjs +7 -7
- package/esm2022/lib/error/state.mjs +1 -1
- package/esm2022/lib/extension/download/text/download.text.component.mjs +46 -56
- package/esm2022/lib/extension/download/text/download.text.module.mjs +11 -33
- package/esm2022/lib/extension/model/index.mjs +2 -2
- package/esm2022/lib/extension/model/model.providers.mjs +42 -0
- package/esm2022/lib/extension/model/model.state.service.mjs +5 -8
- package/esm2022/lib/extension/model/model.tracker.mjs +1 -1
- package/esm2022/lib/extension/model/model.tracker.service.mjs +5 -8
- package/esm2022/lib/extension/model/model.tracker.view.storage.mjs +8 -8
- package/esm2022/lib/extension/model/model.types.mjs +1 -1
- package/esm2022/lib/extension/model/model.types.service.mjs +5 -5
- package/esm2022/lib/extension/model/state/actions/model.actions.mjs +1 -1
- package/esm2022/lib/extension/model/state/effects/tracker.effects.mjs +3 -3
- package/esm2022/lib/extension/structure/structure.body.directive.mjs +6 -5
- package/esm2022/lib/extension/structure/structure.module.mjs +11 -17
- package/esm2022/lib/extension/structure/structure.structure.directive.mjs +10 -6
- package/esm2022/lib/extension/widget/widget.component.mjs +32 -37
- package/esm2022/lib/extension/widget/widget.directive.mjs +3 -3
- package/esm2022/lib/extension/widget/widget.list.component.mjs +31 -20
- package/esm2022/lib/extension/widget/widget.module.mjs +15 -24
- package/esm2022/lib/extension/widget/widget.service.mjs +4 -4
- package/esm2022/lib/index.mjs +2 -2
- package/esm2022/lib/interaction/dialog/abstract.dialog.directive.mjs +3 -3
- package/esm2022/lib/interaction/dialog/dialog.action.directive.mjs +19 -23
- package/esm2022/lib/interaction/dialog/dialog.content.close.component.mjs +23 -22
- package/esm2022/lib/interaction/dialog/dialog.content.directive.mjs +23 -0
- package/esm2022/lib/interaction/dialog/dialog.content.footer.component.mjs +21 -29
- package/esm2022/lib/interaction/dialog/dialog.module.mjs +9 -16
- package/esm2022/lib/interaction/dialog/index.mjs +2 -2
- package/esm2022/lib/interaction/filter/filter.config.mjs +2 -0
- package/esm2022/lib/interaction/filter/filter.menu.mjs +1 -1
- package/esm2022/lib/interaction/filter/filter.module.mjs +9 -54
- package/esm2022/lib/interaction/filter/filter.partial.list.component.mjs +13 -11
- package/esm2022/lib/interaction/filter/filter.partial.menu.component.mjs +22 -29
- package/esm2022/lib/interaction/filter/filter.partial.mjs +13 -24
- package/esm2022/lib/interaction/filter/filter.popover.button.component.mjs +17 -31
- package/esm2022/lib/interaction/filter/filter.popover.button.directive.mjs +10 -12
- package/esm2022/lib/interaction/filter/filter.popover.component.mjs +25 -30
- package/esm2022/lib/interaction/filter/filter.preset.directive.mjs +17 -29
- package/esm2022/lib/interaction/filter/filter.preset.list.component.mjs +13 -11
- package/esm2022/lib/interaction/filter/filter.preset.menu.component.mjs +22 -29
- package/esm2022/lib/interaction/filter/filter.wrapper.component.mjs +23 -29
- package/esm2022/lib/interaction/filter/index.mjs +2 -1
- package/esm2022/lib/interaction/interaction.module.mjs +17 -6
- package/esm2022/lib/interaction/popover/abstract.popover.directive.mjs +3 -3
- package/esm2022/lib/interaction/popover/abstract.popover.ref.directive.mjs +13 -22
- package/esm2022/lib/interaction/popover/index.mjs +2 -2
- package/esm2022/lib/interaction/popover/popover.action.directive.mjs +20 -23
- package/esm2022/lib/interaction/popover/popover.close.component.mjs +12 -8
- package/esm2022/lib/interaction/popover/popover.component.mjs +15 -13
- package/esm2022/lib/interaction/popover/popover.content.component.mjs +20 -13
- package/esm2022/lib/interaction/popover/popover.content.module.mjs +9 -19
- package/esm2022/lib/interaction/popover/popover.controls.directive.mjs +7 -6
- package/esm2022/lib/interaction/popover/popover.coordinator.component.mjs +17 -15
- package/esm2022/lib/interaction/popover/popover.coordinator.service.mjs +4 -4
- package/esm2022/lib/interaction/popover/popover.header.component.mjs +25 -22
- package/esm2022/lib/interaction/popover/popover.module.mjs +8 -18
- package/esm2022/lib/interaction/popover/popover.scroll.content.directive.mjs +41 -0
- package/esm2022/lib/interaction/popover/popover.service.mjs +4 -4
- package/esm2022/lib/interaction/popup/abstract.popup.directive.mjs +3 -3
- package/esm2022/lib/interaction/popup/popup.component.mjs +20 -23
- package/esm2022/lib/interaction/popup/popup.content.component.mjs +21 -14
- package/esm2022/lib/interaction/popup/popup.controls.buttons.component.mjs +49 -26
- package/esm2022/lib/interaction/popup/popup.controls.component.mjs +15 -14
- package/esm2022/lib/interaction/popup/popup.coordinator.component.mjs +15 -12
- package/esm2022/lib/interaction/popup/popup.coordinator.service.mjs +4 -4
- package/esm2022/lib/interaction/popup/popup.mjs +6 -7
- package/esm2022/lib/interaction/popup/popup.module.mjs +8 -19
- package/esm2022/lib/interaction/popup/popup.position.strategy.mjs +1 -1
- package/esm2022/lib/interaction/popup/popup.service.mjs +8 -5
- package/esm2022/lib/interaction/prompt/index.mjs +2 -2
- package/esm2022/lib/interaction/prompt/prompt.box.directive.mjs +19 -0
- package/esm2022/lib/interaction/prompt/prompt.button.confirm.directive.mjs +6 -5
- package/esm2022/lib/interaction/prompt/prompt.component.mjs +16 -17
- package/esm2022/lib/interaction/prompt/prompt.confirm.component.mjs +35 -35
- package/esm2022/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +14 -13
- package/esm2022/lib/interaction/prompt/prompt.confirm.directive.mjs +28 -23
- package/esm2022/lib/interaction/prompt/prompt.module.mjs +9 -18
- package/esm2022/lib/interaction/prompt/prompt.page.component.mjs +11 -8
- package/esm2022/lib/keypress/keydown.listener.directive.mjs +6 -5
- package/esm2022/lib/keypress/keypress.module.mjs +9 -8
- package/esm2022/lib/layout/bar/bar.directive.mjs +14 -11
- package/esm2022/lib/layout/bar/bar.header.component.mjs +31 -26
- package/esm2022/lib/layout/bar/bar.layout.module.mjs +9 -12
- package/esm2022/lib/layout/bar/pagebar.component.mjs +33 -12
- package/esm2022/lib/layout/block/block.layout.module.mjs +10 -12
- package/esm2022/lib/layout/block/two.block.component.mjs +25 -32
- package/esm2022/lib/layout/card/card.box.component.mjs +27 -20
- package/esm2022/lib/layout/card/card.box.container.directive.mjs +20 -0
- package/esm2022/lib/layout/card/card.box.layout.module.mjs +10 -12
- package/esm2022/lib/layout/card/index.mjs +2 -2
- package/esm2022/lib/layout/column/column.layout.module.mjs +9 -7
- package/esm2022/lib/layout/column/one/one.column.component.mjs +16 -15
- package/esm2022/lib/layout/column/one/one.column.module.mjs +9 -9
- package/esm2022/lib/layout/column/two/index.mjs +2 -2
- package/esm2022/lib/layout/column/two/two.column.back.directive.mjs +10 -12
- package/esm2022/lib/layout/column/two/two.column.component.mjs +77 -51
- package/esm2022/lib/layout/column/two/two.column.context.directive.mjs +14 -21
- package/esm2022/lib/layout/column/two/two.column.full.left.directive.mjs +13 -28
- package/esm2022/lib/layout/column/two/two.column.head.directive.mjs +24 -0
- package/esm2022/lib/layout/column/two/two.column.module.mjs +9 -15
- package/esm2022/lib/layout/column/two/two.column.right.component.mjs +90 -49
- package/esm2022/lib/layout/column/two/two.column.sref.directive.mjs +13 -13
- package/esm2022/lib/layout/column/two/two.column.sref.showright.directive.mjs +9 -7
- package/esm2022/lib/layout/column/two/two.column.store.mjs +15 -11
- package/esm2022/lib/layout/compact/compact.directive.mjs +3 -3
- package/esm2022/lib/layout/compact/compact.layout.module.mjs +4 -4
- package/esm2022/lib/layout/compact/compact.mjs +1 -1
- package/esm2022/lib/layout/compact/compact.store.mjs +4 -4
- package/esm2022/lib/layout/content/content.border.directive.mjs +11 -11
- package/esm2022/lib/layout/content/content.box.directive.mjs +12 -15
- package/esm2022/lib/layout/content/content.container.directive.mjs +16 -17
- package/esm2022/lib/layout/content/content.directive.mjs +6 -5
- package/esm2022/lib/layout/content/content.elevate.directive.mjs +10 -11
- package/esm2022/lib/layout/content/content.layout.module.mjs +9 -11
- package/esm2022/lib/layout/content/content.page.directive.mjs +6 -5
- package/esm2022/lib/layout/content/content.pit.directive.mjs +10 -11
- package/esm2022/lib/layout/flag/flag.component.mjs +15 -14
- package/esm2022/lib/layout/flag/flag.layout.module.mjs +8 -13
- package/esm2022/lib/layout/flag/flag.prompt.component.mjs +18 -20
- package/esm2022/lib/layout/flex/flex.group.directive.mjs +21 -47
- package/esm2022/lib/layout/flex/flex.layout.module.mjs +11 -9
- package/esm2022/lib/layout/flex/flex.size.directive.mjs +11 -12
- package/esm2022/lib/layout/item/index.mjs +1 -2
- package/esm2022/lib/layout/item/item.icon.component.mjs +31 -24
- package/esm2022/lib/layout/layout.module.mjs +6 -8
- package/esm2022/lib/layout/list/grid/index.mjs +3 -0
- package/esm2022/lib/layout/list/grid/list.grid.view.component.mjs +98 -0
- package/esm2022/lib/layout/list/grid/list.grid.view.directive.mjs +34 -0
- package/esm2022/lib/layout/list/group/index.mjs +4 -0
- package/esm2022/lib/layout/list/group/list.view.value.group.mjs +32 -0
- package/esm2022/lib/layout/list/group/list.view.value.group.title.directive.mjs +70 -0
- package/esm2022/lib/layout/list/group/list.view.value.group.title.header.component.mjs +60 -0
- package/esm2022/lib/layout/list/group/list.view.value.group.title.mjs +2 -0
- package/esm2022/lib/layout/list/index.mjs +6 -10
- package/esm2022/lib/layout/list/list.component.mjs +109 -135
- package/esm2022/lib/layout/list/list.content.empty.component.mjs +9 -7
- package/esm2022/lib/layout/list/list.directive.mjs +70 -56
- package/esm2022/lib/layout/list/list.layout.module.mjs +59 -49
- package/esm2022/lib/layout/list/list.module.mjs +40 -0
- package/esm2022/lib/layout/list/list.view.directive.mjs +35 -28
- package/esm2022/lib/layout/list/list.view.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.selection.directive.mjs +26 -10
- package/esm2022/lib/layout/list/list.view.value.component.mjs +135 -143
- package/esm2022/lib/layout/list/list.view.value.directive.mjs +12 -18
- package/esm2022/lib/layout/list/list.view.value.item.directive.mjs +3 -3
- package/esm2022/lib/layout/list/list.view.value.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.value.modifier.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.value.selection.component.mjs +80 -68
- package/esm2022/lib/layout/list/list.wrapper.mjs +1 -3
- package/esm2022/lib/layout/list/meta/index.mjs +2 -0
- package/esm2022/lib/layout/list/meta/list.view.meta.icon.component.mjs +39 -0
- package/esm2022/lib/layout/list/modifier/index.mjs +5 -0
- package/esm2022/lib/layout/list/modifier/list.modifier.module.mjs +22 -0
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.directive.mjs +75 -0
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.ripple.directive.mjs +37 -0
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.selection.directive.mjs +35 -0
- package/esm2022/lib/layout/section/section.component.mjs +18 -15
- package/esm2022/lib/layout/section/section.header.component.mjs +123 -106
- package/esm2022/lib/layout/section/section.intro.component.mjs +53 -51
- package/esm2022/lib/layout/section/section.layout.module.mjs +9 -15
- package/esm2022/lib/layout/section/section.mjs +1 -1
- package/esm2022/lib/layout/section/section.page.component.mjs +22 -18
- package/esm2022/lib/layout/section/subsection.component.mjs +13 -10
- package/esm2022/lib/layout/step/step.component.mjs +56 -21
- package/esm2022/lib/layout/step/step.layout.module.mjs +11 -10
- package/esm2022/lib/layout/style/index.mjs +2 -1
- package/esm2022/lib/layout/style/spacer.directive.mjs +6 -5
- package/esm2022/lib/layout/style/style.body.directive.mjs +22 -17
- package/esm2022/lib/layout/style/style.color.directive.mjs +11 -14
- package/esm2022/lib/layout/style/style.directive.mjs +13 -17
- package/esm2022/lib/layout/style/style.layout.module.mjs +8 -10
- package/esm2022/lib/layout/style/style.mjs +4 -1
- package/esm2022/lib/layout/style/style.providers.mjs +21 -0
- package/esm2022/lib/layout/style/style.service.mjs +54 -32
- package/esm2022/lib/layout/style/style.set.directive.mjs +31 -47
- package/esm2022/lib/layout/text/address.component.mjs +43 -22
- package/esm2022/lib/layout/text/compat/form.description.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/hint.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/label.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/note.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/notice.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/ok.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/success.component.mjs +3 -3
- package/esm2022/lib/layout/text/compat/text.compat.module.mjs +4 -4
- package/esm2022/lib/layout/text/compat/warn.component.mjs +3 -3
- package/esm2022/lib/layout/text/detail.block.component.mjs +11 -8
- package/esm2022/lib/layout/text/detail.block.header.component.mjs +24 -13
- package/esm2022/lib/layout/text/icon.spacer.component.mjs +6 -5
- package/esm2022/lib/layout/text/label.block.component.mjs +9 -7
- package/esm2022/lib/layout/text/linkify.component.mjs +13 -10
- package/esm2022/lib/layout/text/text.chip.directive.mjs +6 -5
- package/esm2022/lib/layout/text/text.chips.component.mjs +34 -29
- package/esm2022/lib/layout/text/text.module.mjs +8 -13
- package/esm2022/lib/loading/basic-loading.component.mjs +31 -97
- package/esm2022/lib/loading/loading-progress.component.mjs +47 -54
- package/esm2022/lib/loading/loading.action.directive.mjs +9 -11
- package/esm2022/lib/loading/loading.component.mjs +60 -81
- package/esm2022/lib/loading/loading.module.mjs +8 -13
- package/esm2022/lib/router/layout/anchor/anchor.component.mjs +86 -36
- package/esm2022/lib/router/layout/anchor/anchor.content.component.mjs +26 -14
- package/esm2022/lib/router/layout/anchor/anchor.icon.component.mjs +10 -6
- package/esm2022/lib/router/layout/anchor/anchor.link.component.mjs +9 -7
- package/esm2022/lib/router/layout/anchor/anchor.module.mjs +17 -13
- package/esm2022/lib/router/layout/anchor/anchor.segue.directive.mjs +11 -13
- package/esm2022/lib/router/layout/anchorlist/anchorlist.component.mjs +22 -28
- package/esm2022/lib/router/layout/anchorlist/anchorlist.module.mjs +9 -15
- package/esm2022/lib/router/layout/layout.module.mjs +4 -4
- package/esm2022/lib/router/layout/list/list.module.mjs +9 -7
- package/esm2022/lib/router/layout/list/router.list.directive.mjs +16 -20
- package/esm2022/lib/router/layout/navbar/navbar.component.mjs +41 -87
- package/esm2022/lib/router/layout/navbar/navbar.module.mjs +9 -43
- package/esm2022/lib/router/layout/sidenav/sidenav.button.component.mjs +28 -24
- package/esm2022/lib/router/layout/sidenav/sidenav.component.mjs +91 -71
- package/esm2022/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.mjs +18 -23
- package/esm2022/lib/router/layout/sidenav/sidenav.module.mjs +8 -22
- package/esm2022/lib/router/layout/sidenav/sidenav.page.component.mjs +37 -46
- package/esm2022/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +18 -18
- package/esm2022/lib/router/provider/ngrouter/anchor.component.mjs +6 -7
- package/esm2022/lib/router/provider/ngrouter/angular.router.providers.mjs +23 -0
- package/esm2022/lib/router/provider/ngrouter/index.mjs +2 -2
- package/esm2022/lib/router/provider/router.provider.config.mjs +8 -1
- package/esm2022/lib/router/provider/uirouter/anchor.component.mjs +14 -12
- package/esm2022/lib/router/provider/uirouter/index.mjs +2 -2
- package/esm2022/lib/router/provider/uirouter/uirouter.router.providers.mjs +23 -0
- package/esm2022/lib/screen/index.mjs +2 -2
- package/esm2022/lib/screen/screen.providers.mjs +22 -0
- package/esm2022/lib/screen/screen.service.mjs +6 -6
- package/esm2022/lib/util/cdk.mjs +1 -1
- package/esm2022/mapbox/lib/index.mjs +3 -2
- package/esm2022/mapbox/lib/mapbox.change.service.mjs +4 -4
- package/esm2022/mapbox/lib/mapbox.injection.component.mjs +13 -12
- package/esm2022/mapbox/lib/mapbox.injection.store.mjs +5 -5
- package/esm2022/mapbox/lib/mapbox.injection.store.provide.mjs +9 -8
- package/esm2022/mapbox/lib/mapbox.layout.component.mjs +93 -117
- package/esm2022/mapbox/lib/mapbox.layout.drawer.component.mjs +8 -8
- package/esm2022/mapbox/lib/mapbox.layout.resize.sync.directive.mjs +9 -8
- package/esm2022/mapbox/lib/mapbox.marker.component.mjs +69 -72
- package/esm2022/mapbox/lib/mapbox.marker.mjs +2 -2
- package/esm2022/mapbox/lib/mapbox.markers.component.mjs +22 -36
- package/esm2022/mapbox/lib/mapbox.menu.component.mjs +33 -31
- package/esm2022/mapbox/lib/mapbox.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.module.mjs +24 -61
- package/esm2022/mapbox/lib/mapbox.options.mjs +2 -0
- package/esm2022/mapbox/lib/mapbox.providers.mjs +25 -0
- package/esm2022/mapbox/lib/mapbox.rxjs.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.service.mjs +5 -8
- package/esm2022/mapbox/lib/mapbox.store.map.directive.mjs +7 -6
- package/esm2022/mapbox/lib/mapbox.store.mjs +39 -15
- package/esm2022/mapbox/lib/mapbox.store.provide.mjs +9 -8
- package/esm2022/table/lib/date/date.table.column.header.component.mjs +27 -21
- package/esm2022/table/lib/date/daterange.table.cell.input.component.mjs +39 -46
- package/esm2022/table/lib/date/table.date.module.mjs +8 -58
- package/esm2022/table/lib/table.cell.action.component.mjs +13 -10
- package/esm2022/table/lib/table.cell.input.component.mjs +13 -10
- package/esm2022/table/lib/table.cell.summaryend.component.mjs +13 -10
- package/esm2022/table/lib/table.cell.summarystart.component.mjs +13 -10
- package/esm2022/table/lib/table.column.directive.mjs +10 -17
- package/esm2022/table/lib/table.column.footer.component.mjs +13 -10
- package/esm2022/table/lib/table.column.header.component.mjs +13 -10
- package/esm2022/table/lib/table.component.mjs +31 -24
- package/esm2022/table/lib/table.directive.mjs +16 -22
- package/esm2022/table/lib/table.item.action.component.mjs +20 -17
- package/esm2022/table/lib/table.item.cell.component.mjs +19 -26
- package/esm2022/table/lib/table.item.directive.mjs +10 -17
- package/esm2022/table/lib/table.item.header.component.mjs +15 -11
- package/esm2022/table/lib/table.module.mjs +11 -55
- package/esm2022/table/lib/table.store.mjs +8 -8
- package/fesm2022/dereekb-dbx-web-calendar.mjs +69 -110
- package/fesm2022/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-mapbox.mjs +340 -365
- package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-table.mjs +230 -317
- package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +8063 -8083
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/action.confirm.directive.d.ts +4 -5
- package/lib/action/action.module.d.ts +7 -10
- package/lib/action/key.trigger.directive.d.ts +1 -1
- package/lib/action/snackbar/_snackbar.scss +3 -3
- package/lib/action/snackbar/action.snackbar.component.d.ts +15 -14
- package/lib/action/snackbar/action.snackbar.directive.d.ts +5 -7
- package/lib/action/snackbar/action.snackbar.generator.d.ts +9 -9
- package/lib/action/snackbar/action.snackbar.module.d.ts +1 -6
- package/lib/action/transition/action.transition.module.d.ts +7 -6
- package/lib/action/transition/transition.safety.dialog.component.d.ts +5 -9
- package/lib/action/transition/transition.safety.directive.d.ts +10 -7
- package/lib/button/_button.scss +3 -3
- package/lib/button/button.component.d.ts +16 -21
- package/lib/button/button.module.d.ts +10 -7
- package/lib/button/{button.spacer.component.d.ts → button.spacer.directive.d.ts} +1 -1
- package/lib/button/icon/icon.button.component.d.ts +1 -1
- package/lib/button/icon/icon.button.module.d.ts +4 -4
- package/lib/button/index.d.ts +1 -1
- package/lib/button/progress/abstract.progress.button.directive.d.ts +25 -0
- package/lib/button/progress/bar.button.component.d.ts +5 -4
- package/lib/button/progress/bar.button.component.scss +1 -1
- package/lib/button/progress/button.progress.config.d.ts +62 -34
- package/lib/button/progress/button.progress.module.d.ts +4 -10
- package/lib/button/progress/button.progress.providers.d.ts +9 -0
- package/lib/button/progress/index.d.ts +1 -0
- package/lib/button/progress/spinner.button.component.d.ts +18 -7
- package/lib/button/progress/spinner.button.component.scss +34 -7
- package/lib/error/_error.scss +3 -3
- package/lib/error/default.error.widget.component.d.ts +3 -3
- package/lib/error/error.action.directive.d.ts +3 -3
- package/lib/error/error.component.d.ts +21 -28
- package/lib/error/error.details.component.d.ts +2 -2
- package/lib/error/error.loading.directive.d.ts +8 -8
- package/lib/error/error.module.d.ts +4 -7
- package/lib/error/error.popover.component.d.ts +6 -6
- package/lib/error/error.snackbar.action.directive.d.ts +1 -1
- package/lib/error/error.snackbar.component.d.ts +12 -23
- package/lib/error/error.snackbar.service.d.ts +1 -0
- package/lib/error/error.view.component.d.ts +10 -12
- package/lib/error/error.widget.component.d.ts +4 -8
- package/lib/error/error.widget.service.d.ts +1 -1
- package/lib/error/state.d.ts +3 -2
- package/lib/extension/calendar/_calendar.scss +20 -20
- package/lib/extension/download/text/download.text.component.d.ts +16 -14
- package/lib/extension/download/text/download.text.module.d.ts +4 -6
- package/lib/extension/model/index.d.ts +1 -1
- package/lib/extension/model/model.providers.d.ts +13 -0
- package/lib/extension/model/model.tracker.d.ts +7 -7
- package/lib/extension/model/model.tracker.service.d.ts +2 -2
- package/lib/extension/model/model.tracker.view.storage.d.ts +4 -1
- package/lib/extension/model/model.types.d.ts +6 -6
- package/lib/extension/model/model.types.service.d.ts +1 -1
- package/lib/extension/model/state/actions/actions.d.ts +1 -1
- package/lib/extension/model/state/actions/model.actions.d.ts +5 -5
- package/lib/extension/model/state/effects/tracker.effects.d.ts +1 -1
- package/lib/extension/model/state/reducers/model.module.config.d.ts +1 -1
- package/lib/extension/structure/structure.body.directive.d.ts +1 -1
- package/lib/extension/structure/structure.module.d.ts +4 -2
- package/lib/extension/structure/structure.structure.directive.d.ts +5 -2
- package/lib/extension/table/_table.scss +3 -3
- package/lib/extension/widget/widget.component.d.ts +5 -9
- package/lib/extension/widget/widget.list.component.d.ts +8 -4
- package/lib/extension/widget/widget.module.d.ts +8 -4
- package/lib/index.d.ts +1 -1
- package/lib/interaction/dialog/_dialog.scss +3 -3
- package/lib/interaction/dialog/dialog.action.directive.d.ts +7 -6
- package/lib/interaction/dialog/dialog.content.close.component.d.ts +4 -6
- package/lib/interaction/dialog/{dialog.content.component.d.ts → dialog.content.directive.d.ts} +3 -2
- package/lib/interaction/dialog/dialog.content.footer.component.d.ts +10 -10
- package/lib/interaction/dialog/dialog.module.d.ts +2 -9
- package/lib/interaction/dialog/index.d.ts +1 -1
- package/lib/interaction/filter/_filter.scss +3 -3
- package/lib/interaction/filter/filter.config.d.ts +62 -0
- package/lib/interaction/filter/filter.menu.d.ts +3 -3
- package/lib/interaction/filter/filter.module.d.ts +2 -11
- package/lib/interaction/filter/filter.partial.d.ts +5 -7
- package/lib/interaction/filter/filter.partial.list.component.d.ts +1 -1
- package/lib/interaction/filter/filter.partial.menu.component.d.ts +5 -5
- package/lib/interaction/filter/filter.popover.button.component.d.ts +5 -7
- package/lib/interaction/filter/filter.popover.button.directive.d.ts +7 -6
- package/lib/interaction/filter/filter.popover.component.d.ts +15 -71
- package/lib/interaction/filter/filter.preset.directive.d.ts +7 -11
- package/lib/interaction/filter/filter.preset.list.component.d.ts +1 -1
- package/lib/interaction/filter/filter.preset.menu.component.d.ts +5 -5
- package/lib/interaction/filter/filter.wrapper.component.d.ts +5 -5
- package/lib/interaction/filter/index.d.ts +1 -0
- package/lib/interaction/interaction.module.d.ts +13 -4
- package/lib/interaction/popover/_popover.scss +3 -3
- package/lib/interaction/popover/abstract.popover.ref.directive.d.ts +3 -4
- package/lib/interaction/popover/index.d.ts +1 -1
- package/lib/interaction/popover/popover.action.directive.d.ts +7 -6
- package/lib/interaction/popover/popover.close.component.d.ts +1 -1
- package/lib/interaction/popover/popover.component.d.ts +15 -9
- package/lib/interaction/popover/popover.content.component.d.ts +6 -4
- package/lib/interaction/popover/popover.content.module.d.ts +2 -11
- package/lib/interaction/popover/popover.controls.directive.d.ts +3 -2
- package/lib/interaction/popover/popover.coordinator.component.d.ts +2 -2
- package/lib/interaction/popover/popover.header.component.d.ts +4 -3
- package/lib/interaction/popover/popover.module.d.ts +2 -11
- package/lib/interaction/popover/popover.scroll.content.directive.d.ts +13 -0
- package/lib/interaction/popover/popover.service.d.ts +4 -4
- package/lib/interaction/popup/_popup.scss +6 -6
- package/lib/interaction/popup/popup.component.d.ts +19 -19
- package/lib/interaction/popup/popup.content.component.d.ts +2 -1
- package/lib/interaction/popup/popup.controls.buttons.component.d.ts +3 -1
- package/lib/interaction/popup/popup.controls.component.d.ts +2 -2
- package/lib/interaction/popup/popup.coordinator.component.d.ts +3 -2
- package/lib/interaction/popup/popup.coordinator.service.d.ts +1 -1
- package/lib/interaction/popup/popup.d.ts +7 -6
- package/lib/interaction/popup/popup.module.d.ts +1 -10
- package/lib/interaction/popup/popup.position.strategy.d.ts +2 -2
- package/lib/interaction/popup/popup.service.d.ts +4 -4
- package/lib/interaction/prompt/_prompt.scss +4 -4
- package/lib/interaction/prompt/index.d.ts +1 -1
- package/lib/interaction/prompt/prompt.box.directive.d.ts +6 -0
- package/lib/interaction/prompt/prompt.button.confirm.directive.d.ts +1 -1
- package/lib/interaction/prompt/prompt.component.d.ts +3 -3
- package/lib/interaction/prompt/prompt.confirm.component.d.ts +11 -23
- package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +2 -3
- package/lib/interaction/prompt/prompt.confirm.directive.d.ts +9 -5
- package/lib/interaction/prompt/prompt.module.d.ts +2 -11
- package/lib/interaction/prompt/prompt.page.component.d.ts +1 -1
- package/lib/interaction/style/_style.scss +6 -6
- package/lib/keypress/keydown.listener.directive.d.ts +1 -1
- package/lib/keypress/keypress.module.d.ts +4 -2
- package/lib/layout/bar/_bar.scss +8 -12
- package/lib/layout/bar/bar.directive.d.ts +3 -3
- package/lib/layout/bar/bar.header.component.d.ts +4 -5
- package/lib/layout/bar/bar.layout.module.d.ts +2 -5
- package/lib/layout/bar/pagebar.component.d.ts +3 -3
- package/lib/layout/block/_block.scss +3 -3
- package/lib/layout/block/block.layout.module.d.ts +3 -4
- package/lib/layout/block/two.block.component.d.ts +8 -8
- package/lib/layout/card/_card.scss +3 -3
- package/lib/layout/card/card.box.component.d.ts +3 -3
- package/lib/layout/card/card.box.container.directive.d.ts +8 -0
- package/lib/layout/card/card.box.layout.module.d.ts +2 -4
- package/lib/layout/card/index.d.ts +1 -1
- package/lib/layout/column/_column.scss +3 -3
- package/lib/layout/column/column.layout.module.d.ts +2 -2
- package/lib/layout/column/one/one.column.component.d.ts +3 -3
- package/lib/layout/column/one/one.column.module.d.ts +4 -3
- package/lib/layout/column/two/index.d.ts +1 -1
- package/lib/layout/column/two/two.column.back.directive.d.ts +3 -3
- package/lib/layout/column/two/two.column.component.d.ts +37 -20
- package/lib/layout/column/two/two.column.context.directive.d.ts +4 -7
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +4 -8
- package/lib/layout/column/two/two.column.head.directive.d.ts +11 -0
- package/lib/layout/column/two/two.column.module.d.ts +2 -8
- package/lib/layout/column/two/two.column.right.component.d.ts +12 -14
- package/lib/layout/column/two/two.column.sref.directive.d.ts +3 -2
- package/lib/layout/column/two/two.column.sref.showright.directive.d.ts +3 -4
- package/lib/layout/column/two/two.column.store.d.ts +17 -9
- package/lib/layout/content/_content.scss +10 -10
- package/lib/layout/content/content.border.directive.d.ts +3 -2
- package/lib/layout/content/content.box.directive.d.ts +3 -3
- package/lib/layout/content/content.container.directive.d.ts +5 -4
- package/lib/layout/content/content.directive.d.ts +1 -1
- package/lib/layout/content/content.elevate.directive.d.ts +2 -2
- package/lib/layout/content/content.layout.module.d.ts +1 -2
- package/lib/layout/content/content.page.directive.d.ts +1 -1
- package/lib/layout/content/content.pit.directive.d.ts +2 -2
- package/lib/layout/flag/_flag.scss +3 -3
- package/lib/layout/flag/flag.component.d.ts +2 -2
- package/lib/layout/flag/flag.layout.module.d.ts +1 -6
- package/lib/layout/flag/flag.prompt.component.d.ts +4 -3
- package/lib/layout/flex/_flex.scss +3 -3
- package/lib/layout/flex/flex.group.directive.d.ts +7 -14
- package/lib/layout/flex/flex.layout.module.d.ts +4 -2
- package/lib/layout/flex/flex.size.directive.d.ts +3 -2
- package/lib/layout/item/_item.scss +3 -3
- package/lib/layout/item/index.d.ts +0 -1
- package/lib/layout/item/item.icon.component.d.ts +3 -3
- package/lib/layout/layout.module.d.ts +5 -7
- package/lib/layout/list/_list.scss +19 -6
- package/lib/layout/list/grid/index.d.ts +2 -0
- package/lib/layout/list/{list.grid.view.component.d.ts → grid/list.grid.view.component.d.ts} +23 -31
- package/lib/layout/list/grid/list.grid.view.directive.d.ts +24 -0
- package/lib/layout/list/group/index.d.ts +3 -0
- package/lib/layout/list/{list.view.value.group.d.ts → group/list.view.value.group.d.ts} +2 -2
- package/lib/layout/list/{list.view.value.group.title.d.ts → group/list.view.value.group.title.d.ts} +1 -1
- package/lib/layout/list/group/list.view.value.group.title.directive.d.ts +15 -0
- package/lib/layout/list/group/list.view.value.group.title.header.component.d.ts +21 -0
- package/lib/layout/list/index.d.ts +5 -9
- package/lib/layout/list/list.component.d.ts +54 -50
- package/lib/layout/list/list.content.empty.component.d.ts +1 -1
- package/lib/layout/list/list.directive.d.ts +35 -15
- package/lib/layout/list/list.layout.module.d.ts +27 -18
- package/lib/layout/list/list.module.d.ts +13 -0
- package/lib/layout/list/list.view.d.ts +8 -8
- package/lib/layout/list/list.view.directive.d.ts +14 -9
- package/lib/layout/list/list.view.selection.directive.d.ts +12 -3
- package/lib/layout/list/list.view.value.component.d.ts +32 -39
- package/lib/layout/list/list.view.value.d.ts +4 -1
- package/lib/layout/list/list.view.value.directive.d.ts +5 -7
- package/lib/layout/list/list.view.value.selection.component.d.ts +14 -13
- package/lib/layout/list/list.wrapper.d.ts +13 -4
- package/lib/layout/list/meta/index.d.ts +1 -0
- package/lib/layout/list/{list.view.meta.icon.component.d.ts → meta/list.view.meta.icon.component.d.ts} +2 -2
- package/lib/layout/list/modifier/index.d.ts +4 -0
- package/lib/layout/list/modifier/list.modifier.module.d.ts +12 -0
- package/lib/layout/list/{list.view.value.modifier.directive.d.ts → modifier/list.view.value.modifier.directive.d.ts} +13 -12
- package/lib/layout/list/{list.view.value.modifier.ripple.directive.d.ts → modifier/list.view.value.modifier.ripple.directive.d.ts} +5 -6
- package/lib/layout/list/{list.view.value.modifier.selection.directive.d.ts → modifier/list.view.value.modifier.selection.directive.d.ts} +5 -6
- package/lib/layout/section/_section.scss +3 -3
- package/lib/layout/section/section.component.d.ts +3 -2
- package/lib/layout/section/section.d.ts +28 -6
- package/lib/layout/section/section.header.component.d.ts +12 -11
- package/lib/layout/section/section.intro.component.d.ts +7 -8
- package/lib/layout/section/section.layout.module.d.ts +2 -7
- package/lib/layout/section/section.page.component.d.ts +4 -3
- package/lib/layout/section/subsection.component.d.ts +1 -1
- package/lib/layout/step/_step.scss +3 -3
- package/lib/layout/step/step.component.d.ts +6 -5
- package/lib/layout/step/step.layout.module.d.ts +4 -3
- package/lib/layout/style/_style.scss +20 -3
- package/lib/layout/style/index.d.ts +1 -0
- package/lib/layout/style/spacer.directive.d.ts +1 -1
- package/lib/layout/style/style.body.directive.d.ts +8 -8
- package/lib/layout/style/style.color.directive.d.ts +3 -3
- package/lib/layout/style/style.d.ts +48 -1
- package/lib/layout/style/style.directive.d.ts +5 -5
- package/lib/layout/style/style.layout.module.d.ts +1 -2
- package/lib/layout/style/style.providers.d.ts +19 -0
- package/lib/layout/style/style.service.d.ts +28 -18
- package/lib/layout/style/style.set.directive.d.ts +18 -16
- package/lib/layout/text/_text.scss +8 -8
- package/lib/layout/text/address.component.d.ts +2 -2
- package/lib/layout/text/detail.block.component.d.ts +1 -1
- package/lib/layout/text/detail.block.header.component.d.ts +1 -1
- package/lib/layout/text/icon.spacer.component.d.ts +1 -1
- package/lib/layout/text/label.block.component.d.ts +1 -1
- package/lib/layout/text/linkify.component.d.ts +3 -2
- package/lib/layout/text/text.chip.directive.d.ts +1 -1
- package/lib/layout/text/text.chips.component.d.ts +3 -4
- package/lib/layout/text/text.module.d.ts +1 -5
- package/lib/loading/_loading.scss +3 -3
- package/lib/loading/basic-loading.component.d.ts +17 -36
- package/lib/loading/loading-progress.component.d.ts +12 -14
- package/lib/loading/loading.action.directive.d.ts +2 -4
- package/lib/loading/loading.component.d.ts +31 -29
- package/lib/loading/loading.module.d.ts +1 -5
- package/lib/router/layout/anchor/_anchor.scss +3 -3
- package/lib/router/layout/anchor/anchor.component.d.ts +7 -12
- package/lib/router/layout/anchor/anchor.content.component.d.ts +4 -3
- package/lib/router/layout/anchor/anchor.icon.component.d.ts +1 -1
- package/lib/router/layout/anchor/anchor.link.component.d.ts +3 -3
- package/lib/router/layout/anchor/anchor.module.d.ts +14 -5
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +5 -6
- package/lib/router/layout/anchorlist/_anchorlist.scss +6 -6
- package/lib/router/layout/anchorlist/anchorlist.component.d.ts +6 -9
- package/lib/router/layout/anchorlist/anchorlist.module.d.ts +4 -9
- package/lib/router/layout/list/list.module.d.ts +4 -1
- package/lib/router/layout/list/router.list.directive.d.ts +6 -8
- package/lib/router/layout/navbar/_navbar.scss +3 -3
- package/lib/router/layout/navbar/navbar.component.d.ts +22 -29
- package/lib/router/layout/navbar/navbar.module.d.ts +4 -9
- package/lib/router/layout/sidenav/_sidenav.scss +8 -8
- package/lib/router/layout/sidenav/sidenav.button.component.d.ts +3 -4
- package/lib/router/layout/sidenav/sidenav.component.d.ts +19 -18
- package/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.d.ts +7 -7
- package/lib/router/layout/sidenav/sidenav.module.d.ts +1 -14
- package/lib/router/layout/sidenav/sidenav.page.component.d.ts +7 -10
- package/lib/router/layout/sidenav/sidenav.pagebar.component.d.ts +2 -2
- package/lib/router/provider/ngrouter/anchor.component.d.ts +1 -1
- package/lib/router/provider/ngrouter/angular.router.providers.d.ts +7 -0
- package/lib/router/provider/ngrouter/index.d.ts +1 -1
- package/lib/router/provider/router.provider.config.d.ts +7 -0
- package/lib/router/provider/uirouter/anchor.component.d.ts +6 -5
- package/lib/router/provider/uirouter/index.d.ts +1 -1
- package/lib/router/provider/uirouter/uirouter.router.providers.d.ts +7 -0
- package/lib/screen/index.d.ts +1 -1
- package/lib/screen/screen.providers.d.ts +15 -0
- package/lib/screen/screen.service.d.ts +7 -7
- package/lib/style/_all-typography.scss +1 -1
- package/lib/style/_root-variables.scss +13 -13
- package/lib/style/_theming.scss +4 -2
- package/mapbox/lib/index.d.ts +2 -1
- package/mapbox/lib/mapbox.change.service.d.ts +3 -3
- package/mapbox/lib/mapbox.d.ts +33 -19
- package/mapbox/lib/mapbox.injection.component.d.ts +2 -4
- package/mapbox/lib/mapbox.injection.store.provide.d.ts +1 -1
- package/mapbox/lib/mapbox.layout.component.d.ts +36 -34
- package/mapbox/lib/mapbox.layout.drawer.component.d.ts +2 -2
- package/mapbox/lib/mapbox.layout.resize.sync.directive.d.ts +1 -1
- package/mapbox/lib/mapbox.marker.component.d.ts +6 -11
- package/mapbox/lib/mapbox.marker.d.ts +13 -13
- package/mapbox/lib/mapbox.markers.component.d.ts +5 -11
- package/mapbox/lib/mapbox.menu.component.d.ts +9 -11
- package/mapbox/lib/mapbox.module.d.ts +2 -12
- package/mapbox/lib/mapbox.options.d.ts +11 -0
- package/mapbox/lib/mapbox.providers.d.ts +17 -0
- package/mapbox/lib/mapbox.rxjs.d.ts +6 -6
- package/mapbox/lib/mapbox.service.d.ts +1 -1
- package/mapbox/lib/mapbox.store.d.ts +28 -6
- package/mapbox/lib/mapbox.store.map.directive.d.ts +1 -1
- package/mapbox/lib/mapbox.store.provide.d.ts +1 -1
- package/package.json +14 -16
- package/table/lib/date/date.table.column.header.component.d.ts +3 -3
- package/table/lib/date/daterange.table.cell.input.component.d.ts +14 -12
- package/table/lib/date/table.date.module.d.ts +1 -9
- package/table/lib/table.cell.action.component.d.ts +2 -1
- package/table/lib/table.cell.input.component.d.ts +2 -1
- package/table/lib/table.cell.summaryend.component.d.ts +2 -1
- package/table/lib/table.cell.summarystart.component.d.ts +2 -1
- package/table/lib/table.column.directive.d.ts +3 -6
- package/table/lib/table.column.footer.component.d.ts +3 -3
- package/table/lib/table.column.header.component.d.ts +3 -3
- package/table/lib/table.component.d.ts +13 -8
- package/table/lib/table.directive.d.ts +5 -4
- package/table/lib/table.item.action.component.d.ts +4 -2
- package/table/lib/table.item.cell.component.d.ts +3 -5
- package/table/lib/table.item.directive.d.ts +3 -6
- package/table/lib/table.item.header.component.d.ts +2 -1
- package/table/lib/table.module.d.ts +4 -6
- package/calendar/esm2022/dereekb-dbx-web-calendar.mjs +0 -5
- package/calendar/esm2022/index.mjs +0 -2
- package/calendar/esm2022/lib/calendar.base.component.mjs +0 -54
- package/calendar/esm2022/lib/calendar.component.mjs +0 -54
- package/calendar/esm2022/lib/calendar.mjs +0 -30
- package/calendar/esm2022/lib/calendar.module.mjs +0 -87
- package/calendar/esm2022/lib/calendar.store.mjs +0 -174
- package/calendar/esm2022/lib/index.mjs +0 -6
- package/calendar/fesm2022/dereekb-dbx-web-calendar.mjs +0 -385
- package/calendar/fesm2022/dereekb-dbx-web-calendar.mjs.map +0 -1
- package/calendar/package.json +0 -21
- package/esm2022/lib/button/button.spacer.component.mjs +0 -19
- package/esm2022/lib/button/progress/base.progress.button.directive.mjs +0 -107
- package/esm2022/lib/extension/model/model.module.mjs +0 -66
- package/esm2022/lib/interaction/dialog/dialog.content.component.mjs +0 -23
- package/esm2022/lib/interaction/popover/popover.scroll.content.component.mjs +0 -48
- package/esm2022/lib/interaction/prompt/prompt.box.component.mjs +0 -25
- package/esm2022/lib/layout/card/card.box.container.component.mjs +0 -25
- package/esm2022/lib/layout/column/two/two.column.head.component.mjs +0 -32
- package/esm2022/lib/layout/item/item.layout.module.mjs +0 -19
- package/esm2022/lib/layout/list/list.grid.view.component.mjs +0 -112
- package/esm2022/lib/layout/list/list.grid.view.directive.mjs +0 -15
- package/esm2022/lib/layout/list/list.view.meta.icon.component.mjs +0 -35
- package/esm2022/lib/layout/list/list.view.value.group.mjs +0 -32
- package/esm2022/lib/layout/list/list.view.value.group.title.directive.mjs +0 -131
- package/esm2022/lib/layout/list/list.view.value.group.title.mjs +0 -2
- package/esm2022/lib/layout/list/list.view.value.modifier.directive.mjs +0 -77
- package/esm2022/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +0 -41
- package/esm2022/lib/layout/list/list.view.value.modifier.selection.directive.mjs +0 -39
- package/esm2022/lib/router/provider/ngrouter/angular.router.module.mjs +0 -36
- package/esm2022/lib/router/provider/uirouter/uirouter.router.module.mjs +0 -36
- package/esm2022/lib/screen/screen.module.mjs +0 -24
- package/esm2022/mapbox/lib/options.mjs +0 -2
- package/lib/button/progress/base.progress.button.directive.d.ts +0 -32
- package/lib/extension/model/model.module.d.ts +0 -19
- package/lib/interaction/popover/popover.scroll.content.component.d.ts +0 -13
- package/lib/interaction/prompt/prompt.box.component.d.ts +0 -6
- package/lib/layout/card/card.box.container.component.d.ts +0 -8
- package/lib/layout/column/two/two.column.head.component.d.ts +0 -10
- package/lib/layout/item/item.layout.module.d.ts +0 -9
- package/lib/layout/list/list.grid.view.directive.d.ts +0 -10
- package/lib/layout/list/list.view.value.group.title.directive.d.ts +0 -35
- package/lib/router/provider/ngrouter/angular.router.module.d.ts +0 -12
- package/lib/router/provider/uirouter/uirouter.router.module.d.ts +0 -12
- package/lib/screen/screen.module.d.ts +0 -9
- package/mapbox/esm2022/dereekb-dbx-web-mapbox.mjs +0 -5
- package/mapbox/esm2022/index.mjs +0 -2
- package/mapbox/esm2022/lib/index.mjs +0 -21
- package/mapbox/esm2022/lib/mapbox.change.service.mjs +0 -40
- package/mapbox/esm2022/lib/mapbox.injection.component.mjs +0 -28
- package/mapbox/esm2022/lib/mapbox.injection.store.mjs +0 -39
- package/mapbox/esm2022/lib/mapbox.injection.store.provide.mjs +0 -47
- package/mapbox/esm2022/lib/mapbox.layout.component.mjs +0 -185
- package/mapbox/esm2022/lib/mapbox.layout.drawer.component.mjs +0 -21
- package/mapbox/esm2022/lib/mapbox.layout.resize.sync.directive.mjs +0 -32
- package/mapbox/esm2022/lib/mapbox.marker.component.mjs +0 -135
- package/mapbox/esm2022/lib/mapbox.marker.mjs +0 -16
- package/mapbox/esm2022/lib/mapbox.markers.component.mjs +0 -58
- package/mapbox/esm2022/lib/mapbox.menu.component.mjs +0 -91
- package/mapbox/esm2022/lib/mapbox.mjs +0 -19
- package/mapbox/esm2022/lib/mapbox.module.mjs +0 -108
- package/mapbox/esm2022/lib/mapbox.rxjs.mjs +0 -53
- package/mapbox/esm2022/lib/mapbox.service.mjs +0 -36
- package/mapbox/esm2022/lib/mapbox.store.map.directive.mjs +0 -33
- package/mapbox/esm2022/lib/mapbox.store.mjs +0 -525
- package/mapbox/esm2022/lib/mapbox.store.provide.mjs +0 -47
- package/mapbox/esm2022/lib/mapbox.util.mjs +0 -15
- package/mapbox/esm2022/lib/options.mjs +0 -2
- package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs +0 -1449
- package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs.map +0 -1
- package/mapbox/lib/options.d.ts +0 -7
- package/mapbox/package.json +0 -21
- package/table/esm2022/dereekb-dbx-web-table.mjs +0 -5
- package/table/esm2022/index.mjs +0 -2
- package/table/esm2022/lib/date/date.table.column.header.component.mjs +0 -49
- package/table/esm2022/lib/date/daterange.table.cell.input.component.mjs +0 -161
- package/table/esm2022/lib/date/index.mjs +0 -4
- package/table/esm2022/lib/date/table.date.module.mjs +0 -68
- package/table/esm2022/lib/index.mjs +0 -18
- package/table/esm2022/lib/table.cell.action.component.mjs +0 -25
- package/table/esm2022/lib/table.cell.input.component.mjs +0 -28
- package/table/esm2022/lib/table.cell.summaryend.component.mjs +0 -25
- package/table/esm2022/lib/table.cell.summarystart.component.mjs +0 -28
- package/table/esm2022/lib/table.column.directive.mjs +0 -27
- package/table/esm2022/lib/table.column.footer.component.mjs +0 -32
- package/table/esm2022/lib/table.column.header.component.mjs +0 -32
- package/table/esm2022/lib/table.component.mjs +0 -55
- package/table/esm2022/lib/table.directive.mjs +0 -34
- package/table/esm2022/lib/table.item.action.component.mjs +0 -32
- package/table/esm2022/lib/table.item.cell.component.mjs +0 -36
- package/table/esm2022/lib/table.item.directive.mjs +0 -27
- package/table/esm2022/lib/table.item.header.component.mjs +0 -24
- package/table/esm2022/lib/table.mjs +0 -2
- package/table/esm2022/lib/table.module.mjs +0 -74
- package/table/esm2022/lib/table.store.mjs +0 -53
- package/table/fesm2022/dereekb-dbx-web-table.mjs +0 -704
- package/table/fesm2022/dereekb-dbx-web-table.mjs.map +0 -1
- package/table/package.json +0 -21
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable, Component, ChangeDetectionStrategy, Directive, Injector, Optional, SkipSelf,
|
|
2
|
+
import { inject, Injectable, Component, ChangeDetectionStrategy, Directive, Injector, Optional, SkipSelf, output, viewChild, ElementRef, input, signal, computed, effect, NgModule, importProvidersFrom, makeEnvironmentProviders } from '@angular/core';
|
|
3
3
|
import { asObservable, cleanup, filterMaybe, onTrueToFalse, SubscriptionObject, distinctUntilMapHasDifferentKeys } from '@dereekb/rxjs';
|
|
4
|
-
import { distinctUntilChanged, switchMap, map, combineLatestWith, shareReplay, NEVER, defaultIfEmpty, tap, EMPTY, interval, of, first, combineLatest, filter, startWith, throttleTime, Subject, merge,
|
|
5
|
-
import { LAT_LONG_10M_PRECISION, latLngPointFunction, roundNumberToStepFunction, latLngBoundFunction, latLngBoundFromInput, filterUndefinedValues, diffLatLngBoundPoints, latLngBoundCenterPoint, addLatLngPoints, isSameLatLngPoint, isSameVector, vectorMinimumSizeResizeFunction, isSameLatLngBound, isDefaultLatLngPoint, swMostLatLngPoint, neMostLatLngPoint, latLngBoundWrapsMap, isWithinLatLngBoundFunction, overlapsLatLngBoundFunction, latLngPoint, DestroyFunctionObject, getValueFromGetter } from '@dereekb/util';
|
|
4
|
+
import { distinctUntilChanged, switchMap, map, combineLatestWith, shareReplay, NEVER, defaultIfEmpty, tap, EMPTY, interval, of, first, combineLatest, filter, startWith, throttleTime, Subject, merge, delay } from 'rxjs';
|
|
5
|
+
import { LAT_LONG_10M_PRECISION, latLngPointFunction, roundNumberToStepFunction, latLngBoundFunction, latLngBoundFromInput, filterUndefinedValues, diffLatLngBoundPoints, latLngBoundCenterPoint, addLatLngPoints, isSameLatLngPoint, isSameVector, vectorMinimumSizeResizeFunction, isSameLatLngBound, isDefaultLatLngPoint, swMostLatLngPoint, neMostLatLngPoint, latLngBoundWrapsMap, isWithinLatLngBoundFunction, overlapsLatLngBoundFunction, latLngPoint, isNotFalse, DestroyFunctionObject, getValueFromGetter, pushItemOrArrayItemsIntoArray, spaceSeparatedCssClasses } from '@dereekb/util';
|
|
6
6
|
import { ComponentStore } from '@ngrx/component-store';
|
|
7
7
|
import * as MapboxGl from 'mapbox-gl';
|
|
8
8
|
import { bounds } from '@placemarkio/geo-viewport';
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import * as i1$1 from '
|
|
12
|
-
import { CommonModule } from '@angular/common';
|
|
13
|
-
import * as i4$1 from 'ngx-mapbox-gl';
|
|
9
|
+
import { DbxInjectionArrayComponent, DbxInjectionComponent, AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
10
|
+
import { toSignal, toObservable } from '@angular/core/rxjs-interop';
|
|
11
|
+
import * as i1$1 from 'ngx-mapbox-gl';
|
|
14
12
|
import { MapService, MapComponent, NgxMapboxGLModule } from 'ngx-mapbox-gl';
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import * as
|
|
13
|
+
import { DbxColorDirective, disableRightClickInCdkBackdrop, DbxAnchorComponent } from '@dereekb/dbx-web';
|
|
14
|
+
import * as i1 from 'angular-resize-event-package';
|
|
15
|
+
import { AngularResizeEventModule } from 'angular-resize-event-package';
|
|
16
|
+
import { MatDrawerContainer, MatDrawer, MatDrawerContent } from '@angular/material/sidenav';
|
|
17
|
+
import { NgClass, NgStyle } from '@angular/common';
|
|
18
|
+
import { MatIconButton } from '@angular/material/button';
|
|
19
|
+
import * as i2 from '@angular/material/icon';
|
|
22
20
|
import { MatIconModule } from '@angular/material/icon';
|
|
23
|
-
import * as i6 from 'angular-resize-event';
|
|
24
|
-
import { AngularResizeEventModule } from 'angular-resize-event';
|
|
25
21
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
26
22
|
|
|
27
23
|
class DbxMapboxConfig {
|
|
@@ -48,14 +44,11 @@ class DbxMapboxService {
|
|
|
48
44
|
get mapboxMapStoreTimerRefreshPeriod() {
|
|
49
45
|
return this._config.defaultStoreRefreshPeriod ?? DEFAULT_MAPBOX_MAP_STORE_TIMER_REFRESH_PERIOD;
|
|
50
46
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
48
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxService });
|
|
53
49
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
-
type: Injectable
|
|
56
|
-
args: [{
|
|
57
|
-
providedIn: 'root'
|
|
58
|
-
}]
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxService, decorators: [{
|
|
51
|
+
type: Injectable
|
|
59
52
|
}] });
|
|
60
53
|
|
|
61
54
|
function mapboxViewportBoundFunction(config) {
|
|
@@ -559,12 +552,16 @@ class DbxMapboxMapStore extends ComponentStore {
|
|
|
559
552
|
}), shareReplay(1));
|
|
560
553
|
rawBoundNow$ = this.whenInitialized$.pipe(switchMap(() => this.mapInstance$.pipe(switchMap((x) => this._renderingTimer.pipe(map(() => {
|
|
561
554
|
const bound = x.getBounds();
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
555
|
+
let result = null;
|
|
556
|
+
if (bound != null) {
|
|
557
|
+
const boundSw = bound.getSouthWest();
|
|
558
|
+
const boundNe = bound.getNorthEast();
|
|
559
|
+
const sw = isDefaultLatLngPoint(boundSw) ? swMostLatLngPoint() : { lat: boundSw.lat, lng: boundSw.lng };
|
|
560
|
+
const ne = isDefaultLatLngPoint(boundNe) ? neMostLatLngPoint() : { lat: boundNe.lat, lng: boundNe.lng };
|
|
561
|
+
result = this.latLngBound(sw, ne);
|
|
562
|
+
}
|
|
563
|
+
return result;
|
|
564
|
+
}), filterMaybe())))), distinctUntilChanged(isSameLatLngBound), shareReplay(1));
|
|
568
565
|
rawBound$ = this.whenInitialized$.pipe(switchMap(() => {
|
|
569
566
|
return this.boundRefreshSettings$.pipe(switchMap((settings) => {
|
|
570
567
|
const { throttle: throttleMs, refreshType } = settings;
|
|
@@ -608,8 +605,8 @@ class DbxMapboxMapStore extends ComponentStore {
|
|
|
608
605
|
bearing$ = this.whenInitialized$.pipe(switchMap(() => {
|
|
609
606
|
return this.isRotating$.pipe(onTrueToFalse(), startWith(undefined), switchMap(() => this.bearingNow$.pipe(first())), distinctUntilChanged(), shareReplay(1));
|
|
610
607
|
}));
|
|
611
|
-
|
|
612
|
-
|
|
608
|
+
drawerContent$ = this.state$.pipe(map((x) => x.drawerContent), distinctUntilChanged(), shareReplay(1));
|
|
609
|
+
hasDrawerContent$ = this.drawerContent$.pipe(map(Boolean));
|
|
613
610
|
clickEvent$ = this.state$.pipe(map((x) => x.clickEvent), distinctUntilChanged(), shareReplay(1));
|
|
614
611
|
doubleClickEvent$ = this.state$.pipe(map((x) => x.doubleClickEvent), distinctUntilChanged(), shareReplay(1));
|
|
615
612
|
rightClickEvent$ = this.state$.pipe(map((x) => x.rightClickEvent), distinctUntilChanged(), shareReplay(1));
|
|
@@ -628,14 +625,34 @@ class DbxMapboxMapStore extends ComponentStore {
|
|
|
628
625
|
_setDoubleClickEvent = this.updater((state, doubleClickEvent) => ({ ...state, doubleClickEvent }));
|
|
629
626
|
_setRightClickEvent = this.updater((state, rightClickEvent) => ({ ...state, rightClickEvent }));
|
|
630
627
|
_setError = this.updater((state, error) => ({ ...state, error }));
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
628
|
+
clearDrawerContent = this.updater((state) => setDrawerContent(state, undefined));
|
|
629
|
+
setDrawerContent = this.updater(setDrawerContent);
|
|
630
|
+
// MARK: Compat
|
|
631
|
+
/**
|
|
632
|
+
* @deprecated use drawerContent$ instead.
|
|
633
|
+
*/
|
|
634
|
+
content$ = this.drawerContent$;
|
|
635
|
+
/**
|
|
636
|
+
* @deprecated use hasDrawerContent$ instead.
|
|
637
|
+
*/
|
|
638
|
+
hasContent$ = this.hasDrawerContent$;
|
|
639
|
+
/**
|
|
640
|
+
* @deprecated use clearDrawerContent instead.
|
|
641
|
+
*/
|
|
642
|
+
clearContent = this.updater((state) => setDrawerContent(state, undefined));
|
|
643
|
+
/**
|
|
644
|
+
* @deprecated use setDrawerContent instead.
|
|
645
|
+
*/
|
|
646
|
+
setContent = this.updater(setDrawerContent);
|
|
647
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
648
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapStore });
|
|
635
649
|
}
|
|
636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapStore, decorators: [{
|
|
637
651
|
type: Injectable
|
|
638
|
-
}], ctorParameters:
|
|
652
|
+
}], ctorParameters: () => [] });
|
|
653
|
+
function setDrawerContent(state, drawerContent) {
|
|
654
|
+
return { ...state, drawerContent, content: drawerContent };
|
|
655
|
+
}
|
|
639
656
|
|
|
640
657
|
/**
|
|
641
658
|
* Provided in the parent component that allows children to emit events related to their lifecycles.
|
|
@@ -662,10 +679,10 @@ class DbxMapboxChangeService {
|
|
|
662
679
|
this._applyChanges.complete();
|
|
663
680
|
this._applyChangesSub.destroy();
|
|
664
681
|
}
|
|
665
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
666
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
682
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxChangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
683
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxChangeService, providedIn: null });
|
|
667
684
|
}
|
|
668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxChangeService, decorators: [{
|
|
669
686
|
type: Injectable,
|
|
670
687
|
args: [{
|
|
671
688
|
providedIn: null
|
|
@@ -686,12 +703,12 @@ class DbxMapboxInjectionStore extends ComponentStore {
|
|
|
686
703
|
// MARK: State Changes
|
|
687
704
|
addInjectionConfig = this.updater(updateDbxMapboxMapInjectionStoreStateWithInjectionConfig);
|
|
688
705
|
removeInjectionConfigWithKey = this.updater(updateDbxMapboxMapInjectionStoreStateWithRemovedKey);
|
|
689
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
690
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
706
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
707
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionStore });
|
|
691
708
|
}
|
|
692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionStore, decorators: [{
|
|
693
710
|
type: Injectable
|
|
694
|
-
}], ctorParameters:
|
|
711
|
+
}], ctorParameters: () => [] });
|
|
695
712
|
function updateDbxMapboxMapInjectionStoreStateWithInjectionConfig(state, config) {
|
|
696
713
|
const map = new Map(state.map).set(config.key, config);
|
|
697
714
|
return { ...state, map };
|
|
@@ -711,20 +728,22 @@ function updateDbxMapboxMapInjectionStoreStateWithRemovedKey(state, key) {
|
|
|
711
728
|
*/
|
|
712
729
|
class DbxMapboxInjectionComponent {
|
|
713
730
|
dbxMapboxMapKeyInjectionStore = inject(DbxMapboxInjectionStore);
|
|
714
|
-
|
|
715
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
716
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
717
|
-
<dbx-injection-array [entries]="
|
|
718
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
731
|
+
entriesSignal = toSignal(this.dbxMapboxMapKeyInjectionStore.allInjectionConfigs$);
|
|
732
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
733
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxMapboxInjectionComponent, isStandalone: true, selector: "dbx-mapbox-injection", ngImport: i0, template: `
|
|
734
|
+
<dbx-injection-array [entries]="entriesSignal()"></dbx-injection-array>
|
|
735
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionArrayComponent, selector: "dbx-injection-array", inputs: ["entries"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
719
736
|
}
|
|
720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionComponent, decorators: [{
|
|
721
738
|
type: Component,
|
|
722
739
|
args: [{
|
|
723
740
|
selector: 'dbx-mapbox-injection',
|
|
724
741
|
template: `
|
|
725
|
-
<dbx-injection-array [entries]="
|
|
742
|
+
<dbx-injection-array [entries]="entriesSignal()"></dbx-injection-array>
|
|
726
743
|
`,
|
|
727
|
-
|
|
744
|
+
imports: [DbxInjectionArrayComponent],
|
|
745
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
746
|
+
standalone: true
|
|
728
747
|
}]
|
|
729
748
|
}] });
|
|
730
749
|
|
|
@@ -733,21 +752,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
733
752
|
*/
|
|
734
753
|
class DbxMapboxInjectionStoreProviderBlock {
|
|
735
754
|
dbxMapboxInjectionStore = inject(DbxMapboxInjectionStore, { skipSelf: true });
|
|
736
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
737
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
755
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionStoreProviderBlock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
756
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionStoreProviderBlock });
|
|
738
757
|
}
|
|
739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionStoreProviderBlock, decorators: [{
|
|
740
759
|
type: Injectable
|
|
741
760
|
}] });
|
|
742
761
|
class DbxMapboxInjectionStoreInjectionBlockDirective {
|
|
743
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
744
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
762
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionStoreInjectionBlockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
763
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxMapboxInjectionStoreInjectionBlockDirective, isStandalone: true, selector: "[dbxMapboxInjectionStoreParentBlocker]", providers: [DbxMapboxInjectionStoreProviderBlock], ngImport: i0 });
|
|
745
764
|
}
|
|
746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxInjectionStoreInjectionBlockDirective, decorators: [{
|
|
747
766
|
type: Directive,
|
|
748
767
|
args: [{
|
|
749
768
|
selector: '[dbxMapboxInjectionStoreParentBlocker]',
|
|
750
|
-
providers: [DbxMapboxInjectionStoreProviderBlock]
|
|
769
|
+
providers: [DbxMapboxInjectionStoreProviderBlock],
|
|
770
|
+
standalone: true
|
|
751
771
|
}]
|
|
752
772
|
}] });
|
|
753
773
|
/**
|
|
@@ -783,19 +803,20 @@ class DbxMapboxMapDirective {
|
|
|
783
803
|
ngOnInit() {
|
|
784
804
|
// style must be provided first before the map will load.
|
|
785
805
|
this.mapboxMap.style = this.dbxMapboxService.defaultStyle;
|
|
786
|
-
this.mapboxMap.zoom =
|
|
806
|
+
this.mapboxMap.zoom = this.dbxMapboxService.defaultZoom;
|
|
787
807
|
this.mapboxMap.center = latLngPoint(this.dbxMapboxService.defaultCenter);
|
|
788
808
|
if (this.dbxMapboxMapStore) {
|
|
789
809
|
this.dbxMapboxMapStore.setMapService(this.mapService);
|
|
790
810
|
}
|
|
791
811
|
}
|
|
792
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
793
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
812
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
813
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxMapboxMapDirective, isStandalone: true, selector: "[dbxMapboxMap]", ngImport: i0 });
|
|
794
814
|
}
|
|
795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapDirective, decorators: [{
|
|
796
816
|
type: Directive,
|
|
797
817
|
args: [{
|
|
798
|
-
selector: '[dbxMapboxMap]'
|
|
818
|
+
selector: '[dbxMapboxMap]',
|
|
819
|
+
standalone: true
|
|
799
820
|
}]
|
|
800
821
|
}] });
|
|
801
822
|
|
|
@@ -804,15 +825,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
804
825
|
*/
|
|
805
826
|
class DbxMapboxLayoutDrawerComponent {
|
|
806
827
|
dbxMapboxMapStore = inject(DbxMapboxMapStore);
|
|
807
|
-
|
|
808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
809
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
828
|
+
drawerConfigSignal = toSignal(this.dbxMapboxMapStore.drawerContent$);
|
|
829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxLayoutDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
830
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxMapboxLayoutDrawerComponent, isStandalone: true, selector: "dbx-mapbox-layout-drawer", host: { classAttribute: "dbx-mapbox-layout-drawer" }, ngImport: i0, template: "<div>\n <dbx-injection [config]=\"drawerConfigSignal()\"></dbx-injection>\n</div>\n", dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
810
831
|
}
|
|
811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxLayoutDrawerComponent, decorators: [{
|
|
812
833
|
type: Component,
|
|
813
834
|
args: [{ selector: 'dbx-mapbox-layout-drawer', host: {
|
|
814
835
|
class: 'dbx-mapbox-layout-drawer'
|
|
815
|
-
}, template: "<div>\n <dbx-injection [config]=\"
|
|
836
|
+
}, imports: [DbxInjectionComponent], standalone: true, template: "<div>\n <dbx-injection [config]=\"drawerConfigSignal()\"></dbx-injection>\n</div>\n" }]
|
|
816
837
|
}] });
|
|
817
838
|
|
|
818
839
|
/**
|
|
@@ -822,65 +843,88 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
822
843
|
*
|
|
823
844
|
* Requires a TwoColumnsContextStore to be provided.
|
|
824
845
|
*/
|
|
825
|
-
class DbxMapboxLayoutComponent
|
|
846
|
+
class DbxMapboxLayoutComponent {
|
|
826
847
|
dbxMapboxMapStore = inject(DbxMapboxMapStore);
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
848
|
+
_viewResized = new Subject();
|
|
849
|
+
_refreshContentMargins = new Subject();
|
|
850
|
+
drawerOpenedChange = output();
|
|
851
|
+
drawerContainer = viewChild.required(MatDrawerContainer);
|
|
852
|
+
drawerContainerElement = viewChild.required(MatDrawerContainer, { read: (ElementRef) });
|
|
853
|
+
drawerContent = viewChild.required('drawerContent');
|
|
854
|
+
side = input('right', { transform: (x) => x || 'right' });
|
|
855
|
+
mode = input('side', { transform: (x) => x || 'side' });
|
|
856
|
+
/**
|
|
857
|
+
* Forces the drawer to assume the drawer has content if true, or assume it has no content if false.
|
|
858
|
+
*/
|
|
859
|
+
forceHasDrawerContent = input(undefined);
|
|
860
|
+
drawerButtonColor = input('background', { transform: (x) => x ?? 'background' });
|
|
861
|
+
openDrawer = input(undefined); // input open/close drawer config
|
|
862
|
+
toggleDrawerSignal = signal(undefined); // Signal to toggle the drawer
|
|
863
|
+
isDrawerOpenSignal = computed(() => {
|
|
864
|
+
const toggleDrawer = this.toggleDrawerSignal();
|
|
865
|
+
let drawerOpened = toggleDrawer;
|
|
866
|
+
if (toggleDrawer == null) {
|
|
867
|
+
drawerOpened = this.openDrawer();
|
|
868
|
+
}
|
|
869
|
+
return drawerOpened;
|
|
870
|
+
});
|
|
871
|
+
storeHasDrawerContent = toSignal(this.dbxMapboxMapStore.hasDrawerContent$);
|
|
872
|
+
drawerHasContentSignal = computed(() => this.forceHasDrawerContent() ?? this.storeHasDrawerContent());
|
|
873
|
+
refreshContentMargins$ = this._refreshContentMargins;
|
|
874
|
+
isOpenAndHasContentSignal = computed(() => {
|
|
875
|
+
return this.drawerHasContentSignal() && this.isDrawerOpenSignal();
|
|
876
|
+
});
|
|
877
|
+
viewResized$ = this._viewResized.asObservable();
|
|
878
|
+
side$ = toObservable(this.side);
|
|
879
|
+
mode$ = toObservable(this.mode);
|
|
880
|
+
drawerHasContent$ = toObservable(this.drawerHasContentSignal);
|
|
881
|
+
isOpenAndHasContent$ = toObservable(this.isOpenAndHasContentSignal);
|
|
882
|
+
positionSignal = computed(() => {
|
|
883
|
+
return this.side() === 'right' ? 'end' : 'start';
|
|
884
|
+
});
|
|
885
|
+
drawerClassesSignal = computed(() => {
|
|
886
|
+
const side = this.side();
|
|
887
|
+
const hasContent = this.drawerHasContentSignal();
|
|
888
|
+
const isOpen = this.isDrawerOpenSignal(); // NOTE: isOpenAndHasContentSignal is not used here
|
|
889
|
+
return (hasContent ? 'has-drawer-content' : 'no-drawer-content') + ` ${side}-drawer ` + (isOpen ? 'open-drawer' : '');
|
|
890
|
+
});
|
|
891
|
+
buttonIconSignal = computed(() => {
|
|
892
|
+
const side = this.side();
|
|
893
|
+
const opened = this.isDrawerOpenSignal(); // NOTE: isOpenAndHasContentSignal is not used here
|
|
851
894
|
let icons = ['chevron_right', 'chevron_left'];
|
|
852
895
|
if (side === 'left') {
|
|
853
896
|
icons = icons.reverse();
|
|
854
897
|
}
|
|
855
898
|
return opened ? icons[0] : icons[1];
|
|
856
|
-
})
|
|
899
|
+
});
|
|
900
|
+
_reszieSyncSub = new SubscriptionObject();
|
|
901
|
+
_toggleSyncSub = new SubscriptionObject();
|
|
857
902
|
ngOnInit() {
|
|
858
|
-
this.
|
|
903
|
+
this._reszieSyncSub.subscription = this.side$.pipe(switchMap(() => this._viewResized.pipe(throttleTime(100, undefined, { leading: true, trailing: true }), map(() => 'r'), startWith('s')))).subscribe((reason) => {
|
|
859
904
|
this.dbxMapboxMapStore.mapInstance$.subscribe((x) => {
|
|
860
905
|
x.resize();
|
|
861
906
|
// side changed
|
|
862
907
|
if (reason === 's') {
|
|
863
|
-
|
|
864
|
-
this._updateMargins.next();
|
|
865
|
-
});
|
|
908
|
+
this._refreshContentMargins.next();
|
|
866
909
|
}
|
|
867
910
|
});
|
|
868
911
|
});
|
|
869
912
|
let init = false;
|
|
870
|
-
this.
|
|
913
|
+
this._toggleSyncSub.subscription = this.mode$
|
|
871
914
|
.pipe(switchMap((mode) => {
|
|
872
915
|
let obs;
|
|
873
916
|
if (mode === 'push') {
|
|
874
|
-
obs = combineLatest([this.isOpenAndHasContent$.pipe(distinctUntilChanged()), this.
|
|
875
|
-
|
|
876
|
-
|
|
917
|
+
obs = combineLatest([this.isOpenAndHasContent$.pipe(distinctUntilChanged()), this.refreshContentMargins$]).pipe(tap(([opened]) => {
|
|
918
|
+
const drawerContainer = this.drawerContainer();
|
|
919
|
+
let { right } = drawerContainer._contentMargins;
|
|
920
|
+
drawerContainer.updateContentMargins();
|
|
877
921
|
setTimeout(() => {
|
|
878
922
|
const flip = opened ? 1 : -1;
|
|
879
923
|
if (opened) {
|
|
880
|
-
right =
|
|
924
|
+
right = drawerContainer._contentMargins.right;
|
|
881
925
|
}
|
|
882
926
|
right = (right || 0) * flip;
|
|
883
|
-
const element = this.
|
|
927
|
+
const element = this.drawerContent().nativeElement;
|
|
884
928
|
const width = element.clientWidth;
|
|
885
929
|
const margin = {
|
|
886
930
|
leftMargin: 0,
|
|
@@ -899,9 +943,9 @@ class DbxMapboxLayoutComponent extends AbstractSubscriptionDirective {
|
|
|
899
943
|
}));
|
|
900
944
|
}
|
|
901
945
|
else {
|
|
902
|
-
obs = combineLatest([this.isOpenAndHasContent$.pipe(distinctUntilChanged()), this.
|
|
903
|
-
this.drawerContainer.updateContentMargins();
|
|
904
|
-
|
|
946
|
+
obs = combineLatest([this.isOpenAndHasContent$.pipe(distinctUntilChanged()), this._refreshContentMargins.pipe(delay(0))]).pipe(switchMap((_) => this.dbxMapboxMapStore.mapInstance$), tap((map) => {
|
|
947
|
+
this.drawerContainer().updateContentMargins();
|
|
948
|
+
map.triggerRepaint();
|
|
905
949
|
}));
|
|
906
950
|
}
|
|
907
951
|
return obs;
|
|
@@ -909,82 +953,34 @@ class DbxMapboxLayoutComponent extends AbstractSubscriptionDirective {
|
|
|
909
953
|
.subscribe();
|
|
910
954
|
}
|
|
911
955
|
ngOnDestroy() {
|
|
912
|
-
|
|
913
|
-
this.
|
|
914
|
-
this.
|
|
915
|
-
this.
|
|
916
|
-
this._side.complete();
|
|
917
|
-
this._isOpen.complete();
|
|
918
|
-
this._color.complete();
|
|
919
|
-
this._toggleSub.destroy();
|
|
920
|
-
this._forceHasContent.complete();
|
|
956
|
+
this._viewResized.complete();
|
|
957
|
+
this._refreshContentMargins.complete();
|
|
958
|
+
this._reszieSyncSub.destroy();
|
|
959
|
+
this._toggleSyncSub.destroy();
|
|
921
960
|
}
|
|
922
961
|
toggleDrawer(open) {
|
|
923
962
|
if (open == null) {
|
|
924
|
-
open = !this.
|
|
925
|
-
}
|
|
926
|
-
this._isOpen.next(open);
|
|
927
|
-
}
|
|
928
|
-
set side(side) {
|
|
929
|
-
if (side != null) {
|
|
930
|
-
this._side.next(side);
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
set mode(mode) {
|
|
934
|
-
if (mode != null) {
|
|
935
|
-
this._mode.next(mode);
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
set opened(opened) {
|
|
939
|
-
if (opened != null) {
|
|
940
|
-
this._isOpen.next(opened);
|
|
963
|
+
open = !this.isDrawerOpenSignal();
|
|
941
964
|
}
|
|
965
|
+
this.toggleDrawerSignal.set(open);
|
|
942
966
|
}
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
this._forceHasContent.next(hasContent);
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
set drawerButtonColor(color) {
|
|
949
|
-
this._color.next(color);
|
|
950
|
-
}
|
|
951
|
-
onResized(event) {
|
|
952
|
-
this._resized.next(event);
|
|
967
|
+
viewResized(event) {
|
|
968
|
+
this._viewResized.next(event);
|
|
953
969
|
}
|
|
954
|
-
|
|
955
|
-
this.
|
|
956
|
-
if (
|
|
957
|
-
this.
|
|
970
|
+
drawerOpened(opened) {
|
|
971
|
+
const currentToggleState = this.toggleDrawerSignal();
|
|
972
|
+
if (currentToggleState !== opened) {
|
|
973
|
+
this.toggleDrawer(opened); // sync with drawer toggling
|
|
974
|
+
this.drawerOpenedChange.emit(opened);
|
|
958
975
|
}
|
|
959
976
|
}
|
|
960
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
961
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
977
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
978
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.13", type: DbxMapboxLayoutComponent, isStandalone: true, selector: "dbx-mapbox-layout", inputs: { side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, forceHasDrawerContent: { classPropertyName: "forceHasDrawerContent", publicName: "forceHasDrawerContent", isSignal: true, isRequired: false, transformFunction: null }, drawerButtonColor: { classPropertyName: "drawerButtonColor", publicName: "drawerButtonColor", isSignal: true, isRequired: false, transformFunction: null }, openDrawer: { classPropertyName: "openDrawer", publicName: "openDrawer", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { drawerOpenedChange: "drawerOpenedChange" }, viewQueries: [{ propertyName: "drawerContainer", first: true, predicate: MatDrawerContainer, descendants: true, isSignal: true }, { propertyName: "drawerContainerElement", first: true, predicate: MatDrawerContainer, descendants: true, read: ElementRef, isSignal: true }, { propertyName: "drawerContent", first: true, predicate: ["drawerContent"], descendants: true, isSignal: true }], ngImport: i0, template: "<mat-drawer-container #containerElement class=\"dbx-mapbox-layout-container\" [ngClass]=\"drawerClassesSignal()\" [hasBackdrop]=\"false\">\n <mat-drawer class=\"dbx-mapbox-layout-drawer\" #drawer (openedChange)=\"drawerOpened($event)\" [opened]=\"isOpenAndHasContentSignal()\" [mode]=\"mode()\" [position]=\"positionSignal()\">\n <div class=\"dbx-mapbox-layout-drawer-content\" [ngClass]=\"drawerClassesSignal()\">\n <ng-content select=\"[drawer]\"></ng-content>\n <dbx-mapbox-layout-drawer></dbx-mapbox-layout-drawer>\n </div>\n </mat-drawer>\n <mat-drawer-content #content class=\"dbx-mapbox-layout-content\" (resized)=\"viewResized($event)\">\n <button mat-icon-button (click)=\"toggleDrawer()\" class=\"dbx-mapbox-layout-drawer-button\" [dbxColor]=\"drawerButtonColor()\">\n <mat-icon>{{ buttonIconSignal() }}</mat-icon>\n </button>\n <ng-content></ng-content>\n </mat-drawer-content>\n</mat-drawer-container>\n", styles: [".dbx-mapbox-layout-container{height:100%;max-width:100%}.dbx-mapbox-layout-container .mat-drawer-container{height:100%}.dbx-mapbox-layout-container .dbx-mapbox-layout-drawer{max-width:calc(100% - var(--dbx-mapbox-min-width-var, 33px))}.dbx-mapbox-layout-container .dbx-mapbox-layout-drawer-content{height:100%;width:100%;overflow:hidden}.dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{position:absolute;z-index:2;top:40%;border:none;display:flex;overflow:hidden}.dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button.mat-mdc-icon-button{padding-left:0}.dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button.mat-mdc-icon-button ::ng-deep>.mat-mdc-button-persistent-ripple{border-radius:unset}.left-drawer .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{left:0;border-radius:0 20px 20px 0}.right-drawer .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{right:0;border-radius:20px 0 0 20px}.has-drawer-content .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{width:35px}.has-drawer-content.open-drawer .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{width:35px}.no-drawer-content .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{width:0px}.dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button mat-icon{padding-left:8px}\n"], dependencies: [{ kind: "ngmodule", type: AngularResizeEventModule }, { kind: "directive", type: i1.ResizedDirective, selector: "[resized]", outputs: ["resized"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: DbxMapboxLayoutDrawerComponent, selector: "dbx-mapbox-layout-drawer" }, { kind: "component", type: MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: MatDrawerContent, selector: "mat-drawer-content" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: DbxColorDirective, selector: "[dbxColor]", inputs: ["dbxColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
962
979
|
}
|
|
963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxLayoutComponent, decorators: [{
|
|
964
981
|
type: Component,
|
|
965
|
-
args: [{ selector: 'dbx-mapbox-layout', template: "<mat-drawer-container #containerElement class=\"dbx-mapbox-layout-container\" [ngClass]=\"(
|
|
966
|
-
}]
|
|
967
|
-
type: Output
|
|
968
|
-
}], containerElement: [{
|
|
969
|
-
type: ViewChild,
|
|
970
|
-
args: [MatDrawerContainer, { read: ElementRef }]
|
|
971
|
-
}], drawerContainer: [{
|
|
972
|
-
type: ViewChild,
|
|
973
|
-
args: [MatDrawerContainer]
|
|
974
|
-
}], content: [{
|
|
975
|
-
type: ViewChild,
|
|
976
|
-
args: ['content', { read: ElementRef, static: true }]
|
|
977
|
-
}], side: [{
|
|
978
|
-
type: Input
|
|
979
|
-
}], mode: [{
|
|
980
|
-
type: Input
|
|
981
|
-
}], opened: [{
|
|
982
|
-
type: Input
|
|
983
|
-
}], hasContent: [{
|
|
984
|
-
type: Input
|
|
985
|
-
}], drawerButtonColor: [{
|
|
986
|
-
type: Input
|
|
987
|
-
}] } });
|
|
982
|
+
args: [{ selector: 'dbx-mapbox-layout', imports: [AngularResizeEventModule, NgClass, DbxMapboxLayoutDrawerComponent, MatDrawer, MatDrawerContainer, MatDrawerContent, MatIconModule, MatIconButton, DbxColorDirective], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<mat-drawer-container #containerElement class=\"dbx-mapbox-layout-container\" [ngClass]=\"drawerClassesSignal()\" [hasBackdrop]=\"false\">\n <mat-drawer class=\"dbx-mapbox-layout-drawer\" #drawer (openedChange)=\"drawerOpened($event)\" [opened]=\"isOpenAndHasContentSignal()\" [mode]=\"mode()\" [position]=\"positionSignal()\">\n <div class=\"dbx-mapbox-layout-drawer-content\" [ngClass]=\"drawerClassesSignal()\">\n <ng-content select=\"[drawer]\"></ng-content>\n <dbx-mapbox-layout-drawer></dbx-mapbox-layout-drawer>\n </div>\n </mat-drawer>\n <mat-drawer-content #content class=\"dbx-mapbox-layout-content\" (resized)=\"viewResized($event)\">\n <button mat-icon-button (click)=\"toggleDrawer()\" class=\"dbx-mapbox-layout-drawer-button\" [dbxColor]=\"drawerButtonColor()\">\n <mat-icon>{{ buttonIconSignal() }}</mat-icon>\n </button>\n <ng-content></ng-content>\n </mat-drawer-content>\n</mat-drawer-container>\n", styles: [".dbx-mapbox-layout-container{height:100%;max-width:100%}.dbx-mapbox-layout-container .mat-drawer-container{height:100%}.dbx-mapbox-layout-container .dbx-mapbox-layout-drawer{max-width:calc(100% - var(--dbx-mapbox-min-width-var, 33px))}.dbx-mapbox-layout-container .dbx-mapbox-layout-drawer-content{height:100%;width:100%;overflow:hidden}.dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{position:absolute;z-index:2;top:40%;border:none;display:flex;overflow:hidden}.dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button.mat-mdc-icon-button{padding-left:0}.dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button.mat-mdc-icon-button ::ng-deep>.mat-mdc-button-persistent-ripple{border-radius:unset}.left-drawer .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{left:0;border-radius:0 20px 20px 0}.right-drawer .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{right:0;border-radius:20px 0 0 20px}.has-drawer-content .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{width:35px}.has-drawer-content.open-drawer .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{width:35px}.no-drawer-content .dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button{width:0px}.dbx-mapbox-layout-content>.dbx-mapbox-layout-drawer-button mat-icon{padding-left:8px}\n"] }]
|
|
983
|
+
}] });
|
|
988
984
|
|
|
989
985
|
/**
|
|
990
986
|
* Directive that connects a host MatMenuTrigger to a DbxMapboxMapStore and listens for right-clicks on the map.
|
|
@@ -994,20 +990,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
994
990
|
class DbxMapboxMenuComponent extends AbstractSubscriptionDirective {
|
|
995
991
|
dbxMapboxMapStore = inject(DbxMapboxMapStore);
|
|
996
992
|
matMenuTrigger = inject(MatMenuTrigger, { host: true });
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
993
|
+
active = input(true, { transform: isNotFalse });
|
|
994
|
+
openCloseSignal = signal(undefined);
|
|
995
|
+
posSignal = signal({ x: `0`, y: `0` });
|
|
996
|
+
_openCloseEffect = effect(() => {
|
|
997
|
+
const openOrClose = this.openCloseSignal();
|
|
998
|
+
switch (openOrClose) {
|
|
999
|
+
case true:
|
|
1000
|
+
this.matMenuTrigger.openMenu();
|
|
1001
|
+
break;
|
|
1002
|
+
case false:
|
|
1003
|
+
this.matMenuTrigger.closeMenu();
|
|
1004
|
+
break;
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1001
1007
|
_menuCloseSub = new SubscriptionObject();
|
|
1002
1008
|
_preventRightClick = new DestroyFunctionObject();
|
|
1003
|
-
get pos() {
|
|
1004
|
-
return this._pos;
|
|
1005
|
-
}
|
|
1006
|
-
set active(active) {
|
|
1007
|
-
this._active.next(active ?? true);
|
|
1008
|
-
}
|
|
1009
1009
|
ngOnInit() {
|
|
1010
|
-
this.sub = this.
|
|
1010
|
+
this.sub = toObservable(this.active)
|
|
1011
1011
|
.pipe(switchMap((active) => {
|
|
1012
1012
|
if (active) {
|
|
1013
1013
|
return this.dbxMapboxMapStore.rightClickEvent$;
|
|
@@ -1022,16 +1022,15 @@ class DbxMapboxMenuComponent extends AbstractSubscriptionDirective {
|
|
|
1022
1022
|
if (menu && buttonEvent) {
|
|
1023
1023
|
buttonEvent.preventDefault();
|
|
1024
1024
|
// update position of this component for menu to open at
|
|
1025
|
-
this.
|
|
1025
|
+
this.posSignal.set({
|
|
1026
1026
|
x: `${buttonEvent.x}px`,
|
|
1027
1027
|
y: `${buttonEvent.y}px`
|
|
1028
|
-
};
|
|
1029
|
-
safeMarkForCheck(this.cdRef);
|
|
1028
|
+
});
|
|
1030
1029
|
// open menu
|
|
1031
|
-
this.
|
|
1030
|
+
this.matMenuTrigger.openMenu();
|
|
1032
1031
|
// prevent right clicks in the cdkOverlay while the menu is open
|
|
1033
1032
|
this._preventRightClick.destroy = disableRightClickInCdkBackdrop(undefined, () => {
|
|
1034
|
-
this.
|
|
1033
|
+
this.matMenuTrigger.closeMenu();
|
|
1035
1034
|
});
|
|
1036
1035
|
}
|
|
1037
1036
|
});
|
|
@@ -1042,52 +1041,51 @@ class DbxMapboxMenuComponent extends AbstractSubscriptionDirective {
|
|
|
1042
1041
|
}
|
|
1043
1042
|
ngOnDestroy() {
|
|
1044
1043
|
super.ngOnDestroy();
|
|
1045
|
-
this._active.complete();
|
|
1046
1044
|
this._menuCloseSub.destroy();
|
|
1047
1045
|
this._preventRightClick.destroy();
|
|
1048
1046
|
if (this.matMenuTrigger) {
|
|
1049
1047
|
this.matMenuTrigger.closeMenu();
|
|
1050
1048
|
}
|
|
1051
1049
|
}
|
|
1052
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1053
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1050
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMenuComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1051
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: DbxMapboxMenuComponent, isStandalone: true, selector: "dbx-mapbox-menu", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.top": "posSignal().y", "style.left": "posSignal().x" }, styleAttribute: "visibility: hidden; position: fixed" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1054
1052
|
}
|
|
1055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMenuComponent, decorators: [{
|
|
1056
1054
|
type: Component,
|
|
1057
1055
|
args: [{
|
|
1058
1056
|
selector: 'dbx-mapbox-menu',
|
|
1059
1057
|
template: '',
|
|
1060
1058
|
host: {
|
|
1061
1059
|
style: 'visibility: hidden; position: fixed',
|
|
1062
|
-
'[style.top]': '
|
|
1063
|
-
'[style.left]': '
|
|
1060
|
+
'[style.top]': 'posSignal().y',
|
|
1061
|
+
'[style.left]': 'posSignal().x'
|
|
1064
1062
|
},
|
|
1065
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1063
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1064
|
+
standalone: true
|
|
1066
1065
|
}]
|
|
1067
|
-
}]
|
|
1068
|
-
type: Input
|
|
1069
|
-
}] } });
|
|
1066
|
+
}] });
|
|
1070
1067
|
|
|
1071
1068
|
/**
|
|
1072
1069
|
* Token used by provideMapboxStoreIfDoesNotExist() to prevent injecting a parent DbxMapboxMapStore into the child view.
|
|
1073
1070
|
*/
|
|
1074
1071
|
class DbxMapboxMapStoreProviderBlock {
|
|
1075
1072
|
dbxMapboxMapStore = inject(DbxMapboxMapStore, { skipSelf: true });
|
|
1076
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1077
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1073
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapStoreProviderBlock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1074
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapStoreProviderBlock });
|
|
1078
1075
|
}
|
|
1079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapStoreProviderBlock, decorators: [{
|
|
1080
1077
|
type: Injectable
|
|
1081
1078
|
}] });
|
|
1082
1079
|
class DbxMapboxMapStoreInjectionBlockDirective {
|
|
1083
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1084
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1080
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapStoreInjectionBlockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1081
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxMapboxMapStoreInjectionBlockDirective, isStandalone: true, selector: "[dbxMapboxStoreParentBlocker]", providers: [DbxMapboxMapStoreProviderBlock], ngImport: i0 });
|
|
1085
1082
|
}
|
|
1086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMapStoreInjectionBlockDirective, decorators: [{
|
|
1087
1084
|
type: Directive,
|
|
1088
1085
|
args: [{
|
|
1089
1086
|
selector: '[dbxMapboxStoreParentBlocker]',
|
|
1090
|
-
providers: [DbxMapboxMapStoreProviderBlock]
|
|
1087
|
+
providers: [DbxMapboxMapStoreProviderBlock],
|
|
1088
|
+
standalone: true
|
|
1091
1089
|
}]
|
|
1092
1090
|
}] });
|
|
1093
1091
|
/**
|
|
@@ -1115,31 +1113,18 @@ function provideMapboxStoreIfParentIsUnavailable() {
|
|
|
1115
1113
|
class DbxMapboxMarkerComponent {
|
|
1116
1114
|
_dbxMapboxChangeService = inject(DbxMapboxChangeService, { optional: true });
|
|
1117
1115
|
static _latLngPoint = latLngPointFunction({ wrap: true });
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
const input = this._marker?.latLng;
|
|
1127
|
-
return input ? DbxMapboxMarkerComponent._latLngPoint(input) : undefined;
|
|
1128
|
-
}
|
|
1129
|
-
get anchor() {
|
|
1130
|
-
return this._marker?.anchor;
|
|
1131
|
-
}
|
|
1132
|
-
get label() {
|
|
1133
|
-
return this._marker?.label;
|
|
1134
|
-
}
|
|
1135
|
-
get icon() {
|
|
1136
|
-
return this._marker?.icon;
|
|
1137
|
-
}
|
|
1138
|
-
get style() {
|
|
1116
|
+
marker = input.required();
|
|
1117
|
+
latLngSignal = computed(() => {
|
|
1118
|
+
const marker = this.marker();
|
|
1119
|
+
return marker?.latLng ? DbxMapboxMarkerComponent._latLngPoint(marker.latLng) : undefined;
|
|
1120
|
+
});
|
|
1121
|
+
presentationSignal = computed(() => this.marker()?.presentation ?? 'normal');
|
|
1122
|
+
styleSignal = computed(() => {
|
|
1123
|
+
const marker = this.marker();
|
|
1139
1124
|
let width = 0;
|
|
1140
1125
|
let height = 0;
|
|
1141
|
-
const size =
|
|
1142
|
-
switch (
|
|
1126
|
+
const size = marker?.size || 'medium';
|
|
1127
|
+
switch (marker?.presentation) {
|
|
1143
1128
|
case 'normal':
|
|
1144
1129
|
if (typeof size === 'number') {
|
|
1145
1130
|
width = size;
|
|
@@ -1167,10 +1152,10 @@ class DbxMapboxMarkerComponent {
|
|
|
1167
1152
|
if (!height) {
|
|
1168
1153
|
height = width;
|
|
1169
1154
|
}
|
|
1170
|
-
const imageInput =
|
|
1155
|
+
const imageInput = marker?.image;
|
|
1171
1156
|
const image = imageInput ? (typeof imageInput === 'string' ? imageInput : getValueFromGetter(imageInput, width)) : undefined;
|
|
1172
1157
|
const style = {
|
|
1173
|
-
...
|
|
1158
|
+
...marker?.style,
|
|
1174
1159
|
'background-image': image
|
|
1175
1160
|
};
|
|
1176
1161
|
if (width && height) {
|
|
@@ -1179,126 +1164,122 @@ class DbxMapboxMarkerComponent {
|
|
|
1179
1164
|
style['font-size'] = width + 'px';
|
|
1180
1165
|
}
|
|
1181
1166
|
return style;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
const markerClasses = this._marker?.markerClasses;
|
|
1189
|
-
let cssClasses = '';
|
|
1167
|
+
});
|
|
1168
|
+
presentationCssClassSignal = computed(() => {
|
|
1169
|
+
const marker = this.marker();
|
|
1170
|
+
const presentation = this.presentationSignal();
|
|
1171
|
+
const markerClasses = marker?.markerClasses;
|
|
1172
|
+
let cssClasses = [];
|
|
1190
1173
|
switch (presentation) {
|
|
1191
1174
|
case 'chip':
|
|
1192
1175
|
case 'chip-small':
|
|
1193
|
-
cssClasses = 'dbx-mapbox-marker-chip dbx-chip mat-standard-chip dbx-bg';
|
|
1176
|
+
cssClasses = ['dbx-mapbox-marker-chip', 'dbx-chip', 'mat-standard-chip', 'dbx-bg'];
|
|
1194
1177
|
if (presentation === 'chip-small') {
|
|
1195
|
-
cssClasses
|
|
1178
|
+
cssClasses.push('dbx-chip-small');
|
|
1196
1179
|
}
|
|
1197
1180
|
break;
|
|
1198
1181
|
}
|
|
1199
|
-
if (!
|
|
1200
|
-
cssClasses
|
|
1182
|
+
if (!marker?.icon) {
|
|
1183
|
+
cssClasses.push('dbx-mapbox-marker-no-icon');
|
|
1201
1184
|
}
|
|
1202
1185
|
if (markerClasses) {
|
|
1203
|
-
cssClasses
|
|
1186
|
+
pushItemOrArrayItemsIntoArray(cssClasses, markerClasses);
|
|
1204
1187
|
}
|
|
1205
|
-
return cssClasses;
|
|
1206
|
-
}
|
|
1188
|
+
return spaceSeparatedCssClasses(cssClasses);
|
|
1189
|
+
});
|
|
1207
1190
|
ngOnDestroy() {
|
|
1208
1191
|
this._dbxMapboxChangeService?.emitMarkerDestroyed();
|
|
1209
1192
|
}
|
|
1210
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1211
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1212
|
-
|
|
1213
|
-
<
|
|
1214
|
-
<
|
|
1215
|
-
<div class="dbx-mapbox-marker
|
|
1216
|
-
<
|
|
1193
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMarkerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1194
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DbxMapboxMarkerComponent, isStandalone: true, selector: "dbx-mapbox-marker", inputs: { marker: { classPropertyName: "marker", publicName: "marker", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
1195
|
+
@if (marker()) {
|
|
1196
|
+
<mgl-marker [lngLat]="latLngSignal()">
|
|
1197
|
+
<dbx-anchor [anchor]="marker()?.anchor">
|
|
1198
|
+
<div class="dbx-mapbox-marker" [ngClass]="presentationCssClassSignal()">
|
|
1199
|
+
<div class="dbx-mapbox-marker-icon-content" [ngStyle]="styleSignal()">
|
|
1200
|
+
@if (marker()?.icon) {
|
|
1201
|
+
<mat-icon>{{ marker()?.icon }}</mat-icon>
|
|
1202
|
+
}
|
|
1203
|
+
</div>
|
|
1204
|
+
@if (marker()?.label) {
|
|
1205
|
+
<div class="dbx-mapbox-marker-label dbx-outlined-text">{{ marker()?.label }}</div>
|
|
1206
|
+
}
|
|
1217
1207
|
</div>
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
`, isInline: true, styles: [".dbx-mapbox-marker{display:flex;align-items:center;flex-direction:column}.dbx-mapbox-marker .dbx-mapbox-marker-icon-content{display:flex;align-items:center;justify-content:center}.dbx-mapbox-marker .dbx-mapbox-marker-icon-content mat-icon{width:100%;height:100%;font-size:inherit}.dbx-mapbox-marker .dbx-mapbox-marker-label{font-size:.9em}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip{flex-direction:row;font-size:1em}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip .dbx-mapbox-marker-icon-content{width:18px;height:18px;font-size:18px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-chip-small .dbx-mapbox-marker-label{padding-left:3px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-chip-small .dbx-mapbox-marker-icon-content{padding:0!important;width:16px;height:16px;font-size:16px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-mapbox-marker-no-icon>.dbx-mapbox-marker-icon-content{display:none}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-mapbox-marker-no-icon>.dbx-mapbox-marker-icon-content .dbx-mapbox-marker-label{padding-left:0}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip .dbx-mapbox-marker-label{padding-left:4px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { kind: "component", type: i4$1.MarkerComponent, selector: "mgl-marker", inputs: ["offset", "anchor", "clickTolerance", "feature", "lngLat", "draggable", "popupShown", "className", "pitchAlignment", "rotationAlignment"], outputs: ["markerDragStart", "markerDragEnd", "markerDrag", "dragStart", "dragEnd", "drag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1208
|
+
</dbx-anchor>
|
|
1209
|
+
</mgl-marker>
|
|
1210
|
+
}
|
|
1211
|
+
`, isInline: true, styles: [".dbx-mapbox-marker{display:flex;align-items:center;flex-direction:column}.dbx-mapbox-marker .dbx-mapbox-marker-icon-content{display:flex;align-items:center;justify-content:center}.dbx-mapbox-marker .dbx-mapbox-marker-icon-content mat-icon{width:100%;height:100%;font-size:inherit}.dbx-mapbox-marker .dbx-mapbox-marker-label{font-size:.9em}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip{flex-direction:row;font-size:1em}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip .dbx-mapbox-marker-icon-content{width:18px;height:18px;font-size:18px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-chip-small .dbx-mapbox-marker-label{padding-left:3px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-chip-small .dbx-mapbox-marker-icon-content{padding:0!important;width:16px;height:16px;font-size:16px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-mapbox-marker-no-icon>.dbx-mapbox-marker-icon-content{display:none}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-mapbox-marker-no-icon>.dbx-mapbox-marker-icon-content .dbx-mapbox-marker-label{padding-left:0}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip .dbx-mapbox-marker-label{padding-left:4px}\n"], dependencies: [{ kind: "ngmodule", type: NgxMapboxGLModule }, { kind: "component", type: i1$1.MarkerComponent, selector: "mgl-marker", inputs: ["offset", "anchor", "clickTolerance", "feature", "lngLat", "draggable", "popupShown", "className", "pitchAlignment", "rotationAlignment"], outputs: ["markerDragStart", "markerDragEnd", "markerDrag"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1223
1212
|
}
|
|
1224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMarkerComponent, decorators: [{
|
|
1225
1214
|
type: Component,
|
|
1226
1215
|
args: [{ selector: 'dbx-mapbox-marker', template: `
|
|
1227
|
-
|
|
1228
|
-
<
|
|
1229
|
-
<
|
|
1230
|
-
<div class="dbx-mapbox-marker
|
|
1231
|
-
<
|
|
1216
|
+
@if (marker()) {
|
|
1217
|
+
<mgl-marker [lngLat]="latLngSignal()">
|
|
1218
|
+
<dbx-anchor [anchor]="marker()?.anchor">
|
|
1219
|
+
<div class="dbx-mapbox-marker" [ngClass]="presentationCssClassSignal()">
|
|
1220
|
+
<div class="dbx-mapbox-marker-icon-content" [ngStyle]="styleSignal()">
|
|
1221
|
+
@if (marker()?.icon) {
|
|
1222
|
+
<mat-icon>{{ marker()?.icon }}</mat-icon>
|
|
1223
|
+
}
|
|
1224
|
+
</div>
|
|
1225
|
+
@if (marker()?.label) {
|
|
1226
|
+
<div class="dbx-mapbox-marker-label dbx-outlined-text">{{ marker()?.label }}</div>
|
|
1227
|
+
}
|
|
1232
1228
|
</div>
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
}], propDecorators: { marker: [{
|
|
1239
|
-
type: Input
|
|
1240
|
-
}] } });
|
|
1229
|
+
</dbx-anchor>
|
|
1230
|
+
</mgl-marker>
|
|
1231
|
+
}
|
|
1232
|
+
`, imports: [NgxMapboxGLModule, DbxAnchorComponent, MatIconModule, NgStyle, NgClass], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, styles: [".dbx-mapbox-marker{display:flex;align-items:center;flex-direction:column}.dbx-mapbox-marker .dbx-mapbox-marker-icon-content{display:flex;align-items:center;justify-content:center}.dbx-mapbox-marker .dbx-mapbox-marker-icon-content mat-icon{width:100%;height:100%;font-size:inherit}.dbx-mapbox-marker .dbx-mapbox-marker-label{font-size:.9em}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip{flex-direction:row;font-size:1em}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip .dbx-mapbox-marker-icon-content{width:18px;height:18px;font-size:18px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-chip-small .dbx-mapbox-marker-label{padding-left:3px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-chip-small .dbx-mapbox-marker-icon-content{padding:0!important;width:16px;height:16px;font-size:16px}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-mapbox-marker-no-icon>.dbx-mapbox-marker-icon-content{display:none}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip.dbx-mapbox-marker-no-icon>.dbx-mapbox-marker-icon-content .dbx-mapbox-marker-label{padding-left:0}.dbx-mapbox-marker.dbx-mapbox-marker-chip.dbx-chip .dbx-mapbox-marker-label{padding-left:4px}\n"] }]
|
|
1233
|
+
}] });
|
|
1241
1234
|
|
|
1242
1235
|
/**
|
|
1243
1236
|
* Component used to render a set of DbxMapboxMarker values from the input data and marker factory.
|
|
1244
1237
|
*/
|
|
1245
1238
|
class DbxMapboxMarkersComponent {
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1239
|
+
data = input.required();
|
|
1240
|
+
markerFactory = input.required();
|
|
1241
|
+
markersSignal = computed(() => {
|
|
1242
|
+
const data = this.data();
|
|
1243
|
+
const markerFactory = this.markerFactory();
|
|
1249
1244
|
if (data?.length && markerFactory) {
|
|
1250
1245
|
return data.map(markerFactory);
|
|
1251
1246
|
}
|
|
1252
1247
|
else {
|
|
1253
1248
|
return [];
|
|
1254
1249
|
}
|
|
1255
|
-
})
|
|
1250
|
+
});
|
|
1256
1251
|
trackMarkerById(index, marker) {
|
|
1257
1252
|
return marker.id;
|
|
1258
1253
|
}
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
this._data.next(data || []);
|
|
1264
|
-
}
|
|
1265
|
-
get markerFactory() {
|
|
1266
|
-
return this._markerFactory.value;
|
|
1254
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMarkersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1255
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DbxMapboxMarkersComponent, isStandalone: true, selector: "dbx-mapbox-markers", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, markerFactory: { classPropertyName: "markerFactory", publicName: "markerFactory", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
1256
|
+
@for (marker of markersSignal(); track trackMarkerById($index, marker)) {
|
|
1257
|
+
<dbx-mapbox-marker [marker]="marker"></dbx-mapbox-marker>
|
|
1267
1258
|
}
|
|
1268
|
-
|
|
1269
|
-
this._markerFactory.next(markerFactory);
|
|
1270
|
-
}
|
|
1271
|
-
ngOnDestroy() {
|
|
1272
|
-
this._data.complete();
|
|
1273
|
-
this._markerFactory.complete();
|
|
1274
|
-
}
|
|
1275
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxMapboxMarkersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1276
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxMapboxMarkersComponent, selector: "dbx-mapbox-markers", inputs: { data: "data", markerFactory: "markerFactory" }, ngImport: i0, template: `
|
|
1277
|
-
<dbx-mapbox-marker *ngFor="let marker of markers$ | async; trackBy: trackMarkerById" [marker]="marker"></dbx-mapbox-marker>
|
|
1278
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: DbxMapboxMarkerComponent, selector: "dbx-mapbox-marker", inputs: ["marker"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1259
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxMapboxMarkerComponent, selector: "dbx-mapbox-marker", inputs: ["marker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1279
1260
|
}
|
|
1280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxMarkersComponent, decorators: [{
|
|
1281
1262
|
type: Component,
|
|
1282
1263
|
args: [{
|
|
1283
1264
|
selector: 'dbx-mapbox-markers',
|
|
1284
1265
|
template: `
|
|
1285
|
-
|
|
1266
|
+
@for (marker of markersSignal(); track trackMarkerById($index, marker)) {
|
|
1267
|
+
<dbx-mapbox-marker [marker]="marker"></dbx-mapbox-marker>
|
|
1268
|
+
}
|
|
1286
1269
|
`,
|
|
1287
|
-
|
|
1270
|
+
imports: [DbxMapboxMarkerComponent],
|
|
1271
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1272
|
+
standalone: true
|
|
1288
1273
|
}]
|
|
1289
|
-
}]
|
|
1290
|
-
type: Input
|
|
1291
|
-
}], markerFactory: [{
|
|
1292
|
-
type: Input
|
|
1293
|
-
}] } });
|
|
1274
|
+
}] });
|
|
1294
1275
|
|
|
1295
1276
|
/**
|
|
1296
1277
|
* Directive that synchronizes a map's virtual size with the size of the element.
|
|
1297
1278
|
*/
|
|
1298
1279
|
class DbxMapboxLayoutVirtualResizeSyncComponent extends AbstractSubscriptionDirective {
|
|
1299
1280
|
dbxMapboxLayoutComponent = inject(DbxMapboxLayoutComponent, { host: true });
|
|
1300
|
-
resizedVector$ = this.dbxMapboxLayoutComponent.
|
|
1301
|
-
const element = this.dbxMapboxLayoutComponent.
|
|
1281
|
+
resizedVector$ = this.dbxMapboxLayoutComponent.viewResized$.pipe(map(() => {
|
|
1282
|
+
const element = this.dbxMapboxLayoutComponent.drawerContainerElement()?.nativeElement;
|
|
1302
1283
|
const { clientWidth, clientHeight } = element;
|
|
1303
1284
|
return {
|
|
1304
1285
|
x: clientWidth,
|
|
@@ -1306,19 +1287,20 @@ class DbxMapboxLayoutVirtualResizeSyncComponent extends AbstractSubscriptionDire
|
|
|
1306
1287
|
};
|
|
1307
1288
|
}), distinctUntilChanged(isSameVector), shareReplay(1));
|
|
1308
1289
|
ngOnInit() {
|
|
1309
|
-
this.sub = this.dbxMapboxLayoutComponent.dbxMapboxMapStore.setMinimumVirtualViewportSize(this.resizedVector$)
|
|
1290
|
+
this.sub = this.dbxMapboxLayoutComponent.dbxMapboxMapStore.setMinimumVirtualViewportSize(this.resizedVector$);
|
|
1310
1291
|
}
|
|
1311
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1312
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1292
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxLayoutVirtualResizeSyncComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1293
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxMapboxLayoutVirtualResizeSyncComponent, isStandalone: true, selector: "[dbxMapboxLayoutVirtualResizeSync]", usesInheritance: true, ngImport: i0 });
|
|
1313
1294
|
}
|
|
1314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxLayoutVirtualResizeSyncComponent, decorators: [{
|
|
1315
1296
|
type: Directive,
|
|
1316
1297
|
args: [{
|
|
1317
|
-
selector: '[dbxMapboxLayoutVirtualResizeSync]'
|
|
1298
|
+
selector: '[dbxMapboxLayoutVirtualResizeSync]',
|
|
1299
|
+
standalone: true
|
|
1318
1300
|
}]
|
|
1319
1301
|
}] });
|
|
1320
1302
|
|
|
1321
|
-
const
|
|
1303
|
+
const importsAndExports = [
|
|
1322
1304
|
//
|
|
1323
1305
|
DbxMapboxLayoutVirtualResizeSyncComponent,
|
|
1324
1306
|
DbxMapboxMapDirective,
|
|
@@ -1328,22 +1310,13 @@ const declarations = [
|
|
|
1328
1310
|
DbxMapboxMenuComponent,
|
|
1329
1311
|
DbxMapboxMarkerComponent,
|
|
1330
1312
|
DbxMapboxMarkersComponent,
|
|
1331
|
-
DbxMapboxMapStoreInjectionBlockDirective
|
|
1313
|
+
DbxMapboxMapStoreInjectionBlockDirective,
|
|
1314
|
+
// modules
|
|
1315
|
+
NgxMapboxGLModule
|
|
1332
1316
|
];
|
|
1333
1317
|
class DbxMapboxModule {
|
|
1334
|
-
static
|
|
1335
|
-
|
|
1336
|
-
ngModule: DbxMapboxModule,
|
|
1337
|
-
providers: [
|
|
1338
|
-
{
|
|
1339
|
-
provide: DbxMapboxConfig,
|
|
1340
|
-
useValue: config
|
|
1341
|
-
}
|
|
1342
|
-
]
|
|
1343
|
-
};
|
|
1344
|
-
}
|
|
1345
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxMapboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1346
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxMapboxModule, declarations: [
|
|
1318
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1319
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxModule, imports: [
|
|
1347
1320
|
//
|
|
1348
1321
|
DbxMapboxLayoutVirtualResizeSyncComponent,
|
|
1349
1322
|
DbxMapboxMapDirective,
|
|
@@ -1353,16 +1326,8 @@ class DbxMapboxModule {
|
|
|
1353
1326
|
DbxMapboxMenuComponent,
|
|
1354
1327
|
DbxMapboxMarkerComponent,
|
|
1355
1328
|
DbxMapboxMarkersComponent,
|
|
1356
|
-
DbxMapboxMapStoreInjectionBlockDirective
|
|
1357
|
-
//
|
|
1358
|
-
CommonModule,
|
|
1359
|
-
MatSidenavModule,
|
|
1360
|
-
DbxStyleLayoutModule,
|
|
1361
|
-
DbxInjectionComponentModule,
|
|
1362
|
-
MatButtonModule,
|
|
1363
|
-
MatIconModule,
|
|
1364
|
-
AngularResizeEventModule,
|
|
1365
|
-
DbxRouterAnchorModule,
|
|
1329
|
+
DbxMapboxMapStoreInjectionBlockDirective,
|
|
1330
|
+
// modules
|
|
1366
1331
|
NgxMapboxGLModule], exports: [
|
|
1367
1332
|
//
|
|
1368
1333
|
DbxMapboxLayoutVirtualResizeSyncComponent,
|
|
@@ -1373,39 +1338,49 @@ class DbxMapboxModule {
|
|
|
1373
1338
|
DbxMapboxMenuComponent,
|
|
1374
1339
|
DbxMapboxMarkerComponent,
|
|
1375
1340
|
DbxMapboxMarkersComponent,
|
|
1376
|
-
DbxMapboxMapStoreInjectionBlockDirective
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1341
|
+
DbxMapboxMapStoreInjectionBlockDirective,
|
|
1342
|
+
// modules
|
|
1343
|
+
NgxMapboxGLModule] });
|
|
1344
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxModule, imports: [DbxMapboxLayoutComponent,
|
|
1345
|
+
DbxMapboxLayoutDrawerComponent,
|
|
1346
|
+
DbxMapboxInjectionComponent,
|
|
1347
|
+
DbxMapboxMarkerComponent,
|
|
1348
|
+
DbxMapboxMarkersComponent,
|
|
1349
|
+
// modules
|
|
1350
|
+
NgxMapboxGLModule,
|
|
1351
|
+
// modules
|
|
1387
1352
|
NgxMapboxGLModule] });
|
|
1388
1353
|
}
|
|
1389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMapboxModule, decorators: [{
|
|
1390
1355
|
type: NgModule,
|
|
1391
1356
|
args: [{
|
|
1392
|
-
imports:
|
|
1393
|
-
|
|
1394
|
-
CommonModule,
|
|
1395
|
-
MatSidenavModule,
|
|
1396
|
-
DbxStyleLayoutModule,
|
|
1397
|
-
DbxInjectionComponentModule,
|
|
1398
|
-
MatButtonModule,
|
|
1399
|
-
MatIconModule,
|
|
1400
|
-
AngularResizeEventModule,
|
|
1401
|
-
DbxRouterAnchorModule,
|
|
1402
|
-
NgxMapboxGLModule
|
|
1403
|
-
],
|
|
1404
|
-
declarations,
|
|
1405
|
-
exports: declarations
|
|
1357
|
+
imports: importsAndExports,
|
|
1358
|
+
exports: importsAndExports
|
|
1406
1359
|
}]
|
|
1407
1360
|
}] });
|
|
1408
1361
|
|
|
1362
|
+
/**
|
|
1363
|
+
* Creates EnvironmentProviders for providing DbxMapboxConfig and configuring the NgxMapboxGLModule.
|
|
1364
|
+
*
|
|
1365
|
+
* @param config Configuration
|
|
1366
|
+
* @returns EnvironmentProviders
|
|
1367
|
+
*/
|
|
1368
|
+
function provideDbxMapbox(config) {
|
|
1369
|
+
const { dbxMapboxConfig, ngxMapboxGLModuleConfig } = config;
|
|
1370
|
+
const providers = [
|
|
1371
|
+
// config
|
|
1372
|
+
{
|
|
1373
|
+
provide: DbxMapboxConfig,
|
|
1374
|
+
useValue: dbxMapboxConfig
|
|
1375
|
+
},
|
|
1376
|
+
// service
|
|
1377
|
+
DbxMapboxService,
|
|
1378
|
+
// ngxMapboxGL
|
|
1379
|
+
importProvidersFrom(NgxMapboxGLModule.withConfig(ngxMapboxGLModuleConfig))
|
|
1380
|
+
];
|
|
1381
|
+
return makeEnvironmentProviders(providers);
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1409
1384
|
/**
|
|
1410
1385
|
* Creates the styling for rendering a dot.
|
|
1411
1386
|
*
|
|
@@ -1417,7 +1392,7 @@ function dbxMapboxColoredDotStyle(background, color) {
|
|
|
1417
1392
|
return {
|
|
1418
1393
|
background,
|
|
1419
1394
|
padding: '2px',
|
|
1420
|
-
color: color ?? background ? 'white' : undefined,
|
|
1395
|
+
color: (color ?? background) ? 'white' : undefined,
|
|
1421
1396
|
'border-radius': '50%'
|
|
1422
1397
|
};
|
|
1423
1398
|
}
|
|
@@ -1445,5 +1420,5 @@ function mapboxZoomLevel(input) {
|
|
|
1445
1420
|
* Generated bundle index. Do not edit.
|
|
1446
1421
|
*/
|
|
1447
1422
|
|
|
1448
|
-
export { DEFAULT_MAPBOX_CENTER, DEFAULT_MAPBOX_MAP_STORE_TIMER_REFRESH_PERIOD, DEFAULT_MAPBOX_STYLE, DEFAULT_MAPBOX_ZOOM, DbxMapboxChangeService, DbxMapboxConfig, DbxMapboxInjectionComponent, DbxMapboxInjectionStore, DbxMapboxInjectionStoreInjectionBlockDirective, DbxMapboxInjectionStoreProviderBlock, DbxMapboxLayoutComponent, DbxMapboxLayoutDrawerComponent, DbxMapboxLayoutVirtualResizeSyncComponent, DbxMapboxMapDirective, DbxMapboxMapStore, DbxMapboxMapStoreInjectionBlockDirective, DbxMapboxMapStoreProviderBlock, DbxMapboxMarkerComponent, DbxMapboxMarkersComponent, DbxMapboxMenuComponent, DbxMapboxModule, DbxMapboxService, KNOWN_MAPBOX_STYLES, MAPBOX_MAX_ZOOM_LEVEL, MAPBOX_MIN_ZOOM_LEVEL, dbxMapboxColoredDotStyle, filterByMapboxViewportBound, mapboxViewportBoundFunction, mapboxZoomLevel, provideMapboxInjectionStoreIfParentIsUnavailable, provideMapboxStoreIfParentIsUnavailable, updateDbxMapboxMapInjectionStoreStateWithInjectionConfig, updateDbxMapboxMapInjectionStoreStateWithRemovedKey };
|
|
1423
|
+
export { DEFAULT_MAPBOX_CENTER, DEFAULT_MAPBOX_MAP_STORE_TIMER_REFRESH_PERIOD, DEFAULT_MAPBOX_STYLE, DEFAULT_MAPBOX_ZOOM, DbxMapboxChangeService, DbxMapboxConfig, DbxMapboxInjectionComponent, DbxMapboxInjectionStore, DbxMapboxInjectionStoreInjectionBlockDirective, DbxMapboxInjectionStoreProviderBlock, DbxMapboxLayoutComponent, DbxMapboxLayoutDrawerComponent, DbxMapboxLayoutVirtualResizeSyncComponent, DbxMapboxMapDirective, DbxMapboxMapStore, DbxMapboxMapStoreInjectionBlockDirective, DbxMapboxMapStoreProviderBlock, DbxMapboxMarkerComponent, DbxMapboxMarkersComponent, DbxMapboxMenuComponent, DbxMapboxModule, DbxMapboxService, KNOWN_MAPBOX_STYLES, MAPBOX_MAX_ZOOM_LEVEL, MAPBOX_MIN_ZOOM_LEVEL, dbxMapboxColoredDotStyle, filterByMapboxViewportBound, mapboxViewportBoundFunction, mapboxZoomLevel, provideDbxMapbox, provideMapboxInjectionStoreIfParentIsUnavailable, provideMapboxStoreIfParentIsUnavailable, updateDbxMapboxMapInjectionStoreStateWithInjectionConfig, updateDbxMapboxMapInjectionStoreStateWithRemovedKey };
|
|
1449
1424
|
//# sourceMappingURL=dereekb-dbx-web-mapbox.mjs.map
|