@dereekb/dbx-web 2.1.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/action/action.confirm.directive.mjs +3 -3
- package/esm2020/lib/action/action.module.mjs +16 -7
- package/esm2020/lib/action/action.progress.component.mjs +20 -0
- package/esm2020/lib/action/index.mjs +2 -1
- package/esm2020/lib/action/key.trigger.directive.mjs +3 -3
- package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +5 -5
- package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +3 -3
- package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +5 -5
- package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +4 -4
- package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +3 -3
- package/esm2020/lib/action/transition/action.transition.module.mjs +4 -4
- package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +4 -4
- package/esm2020/lib/action/transition/transition.safety.directive.mjs +3 -3
- package/esm2020/lib/button/button.component.mjs +31 -12
- package/esm2020/lib/button/button.module.mjs +12 -12
- package/esm2020/lib/button/button.spacer.component.mjs +3 -3
- package/esm2020/lib/button/index.mjs +2 -1
- package/esm2020/lib/button/progress/bar.button.component.mjs +16 -0
- package/esm2020/lib/button/progress/base.progress.button.directive.mjs +104 -0
- package/esm2020/lib/button/progress/button.progress.config.mjs +3 -0
- package/esm2020/lib/button/progress/button.progress.module.mjs +61 -0
- package/esm2020/lib/button/progress/index.mjs +5 -0
- package/esm2020/lib/button/progress/spinner.button.component.mjs +40 -0
- package/esm2020/lib/dbx-web.module.mjs +10 -17
- package/esm2020/lib/error/error.action.directive.mjs +3 -3
- package/esm2020/lib/error/error.component.mjs +5 -5
- package/esm2020/lib/error/error.loading.directive.mjs +3 -3
- package/esm2020/lib/error/error.module.mjs +4 -4
- package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +6 -6
- package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +3 -3
- package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +4 -4
- package/esm2020/lib/interaction/dialog/dialog.module.mjs +4 -4
- package/esm2020/lib/interaction/filter/filter.module.mjs +9 -9
- package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +3 -3
- package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +3 -3
- package/esm2020/lib/interaction/filter/filter.popover.component.mjs +5 -5
- package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +3 -3
- package/esm2020/lib/interaction/interaction.module.mjs +4 -4
- package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +3 -3
- package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +6 -6
- package/esm2020/lib/interaction/popover/popover.action.directive.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.component.mjs +9 -9
- package/esm2020/lib/interaction/popover/popover.content.component.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +11 -5
- package/esm2020/lib/interaction/popover/popover.header.component.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.module.mjs +13 -22
- package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.service.mjs +3 -3
- package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +3 -3
- package/esm2020/lib/interaction/popup/popup.component.mjs +9 -9
- package/esm2020/lib/interaction/popup/popup.content.component.mjs +3 -3
- package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +4 -4
- package/esm2020/lib/interaction/popup/popup.controls.component.mjs +3 -3
- package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +3 -3
- package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +11 -5
- package/esm2020/lib/interaction/popup/popup.module.mjs +13 -22
- package/esm2020/lib/interaction/popup/popup.service.mjs +3 -3
- package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +3 -3
- package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +3 -3
- package/esm2020/lib/interaction/prompt/prompt.component.mjs +3 -3
- package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +3 -3
- package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +8 -8
- package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +6 -6
- package/esm2020/lib/interaction/prompt/prompt.module.mjs +9 -9
- package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +3 -3
- package/esm2020/lib/keypress/keydown.listener.directive.mjs +3 -3
- package/esm2020/lib/keypress/keypress.module.mjs +4 -4
- package/esm2020/lib/layout/bar/bar.directive.mjs +3 -3
- package/esm2020/lib/layout/bar/bar.header.component.mjs +3 -3
- package/esm2020/lib/layout/bar/bar.layout.module.mjs +4 -4
- package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
- package/esm2020/lib/layout/block/block.layout.module.mjs +9 -9
- package/esm2020/lib/layout/block/two.block.component.mjs +22 -10
- package/esm2020/lib/layout/card/card.box.component.mjs +3 -3
- package/esm2020/lib/layout/card/card.box.container.component.mjs +3 -3
- package/esm2020/lib/layout/card/card.box.layout.module.mjs +4 -4
- package/esm2020/lib/layout/column/column.layout.module.mjs +4 -4
- package/esm2020/lib/layout/column/one/one.column.component.mjs +9 -9
- package/esm2020/lib/layout/column/one/one.column.module.mjs +4 -4
- package/esm2020/lib/layout/column/two/index.mjs +2 -1
- package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +8 -8
- package/esm2020/lib/layout/column/two/two.column.component.mjs +51 -14
- package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +36 -0
- package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +8 -8
- package/esm2020/lib/layout/column/two/two.column.head.component.mjs +8 -8
- package/esm2020/lib/layout/column/two/two.column.module.mjs +43 -38
- package/esm2020/lib/layout/column/two/two.column.right.component.mjs +11 -6
- package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +12 -17
- package/esm2020/lib/layout/column/two/two.column.store.mjs +8 -7
- package/esm2020/lib/layout/compact/compact.directive.mjs +3 -3
- package/esm2020/lib/layout/compact/compact.layout.module.mjs +4 -4
- package/esm2020/lib/layout/compact/compact.store.mjs +3 -3
- package/esm2020/lib/layout/content/content.border.directive.mjs +3 -3
- package/esm2020/lib/layout/content/content.box.directive.mjs +9 -5
- package/esm2020/lib/layout/content/content.container.directive.mjs +4 -4
- package/esm2020/lib/layout/content/content.directive.mjs +3 -3
- package/esm2020/lib/layout/content/content.elevate.directive.mjs +3 -3
- package/esm2020/lib/layout/content/content.layout.module.mjs +4 -4
- package/esm2020/lib/layout/content/content.page.directive.mjs +3 -3
- package/esm2020/lib/layout/flag/flag.component.mjs +3 -3
- package/esm2020/lib/layout/flag/flag.layout.module.mjs +4 -4
- package/esm2020/lib/layout/flag/flag.prompt.component.mjs +3 -3
- package/esm2020/lib/layout/flex/flex.group.directive.mjs +8 -4
- package/esm2020/lib/layout/flex/flex.layout.module.mjs +4 -4
- package/esm2020/lib/layout/flex/flex.size.directive.mjs +3 -3
- package/esm2020/lib/layout/item/item.icon.component.mjs +3 -3
- package/esm2020/lib/layout/item/item.layout.module.mjs +4 -4
- package/esm2020/lib/layout/layout.module.mjs +4 -4
- package/esm2020/lib/layout/list/index.mjs +5 -1
- package/esm2020/lib/layout/list/list.component.mjs +22 -9
- package/esm2020/lib/layout/list/list.content.empty.component.mjs +3 -3
- package/esm2020/lib/layout/list/list.directive.mjs +12 -10
- package/esm2020/lib/layout/list/list.layout.module.mjs +32 -18
- package/esm2020/lib/layout/list/list.view.directive.mjs +11 -4
- package/esm2020/lib/layout/list/list.view.mjs +1 -1
- package/esm2020/lib/layout/list/list.view.selection.directive.mjs +8 -7
- package/esm2020/lib/layout/list/list.view.value.component.mjs +57 -28
- package/esm2020/lib/layout/list/list.view.value.directive.mjs +18 -10
- package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +7 -7
- package/esm2020/lib/layout/list/list.view.value.mjs +36 -24
- package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +81 -0
- package/esm2020/lib/layout/list/list.view.value.modifier.mjs +15 -0
- package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +45 -0
- package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +57 -43
- package/esm2020/lib/layout/list/list.wrapper.mjs +13 -0
- package/esm2020/lib/layout/section/section.component.mjs +3 -3
- package/esm2020/lib/layout/section/section.header.component.mjs +3 -3
- package/esm2020/lib/layout/section/section.intro.component.mjs +3 -3
- package/esm2020/lib/layout/section/section.layout.module.mjs +9 -9
- package/esm2020/lib/layout/section/section.page.component.mjs +3 -3
- package/esm2020/lib/layout/section/subsection.component.mjs +3 -3
- package/esm2020/lib/layout/step/step.component.mjs +3 -3
- package/esm2020/lib/layout/step/step.layout.module.mjs +4 -4
- package/esm2020/lib/layout/style/spacer.directive.mjs +3 -3
- package/esm2020/lib/layout/style/style.body.directive.mjs +3 -3
- package/esm2020/lib/layout/style/style.directive.mjs +3 -3
- package/esm2020/lib/layout/style/style.layout.module.mjs +4 -4
- package/esm2020/lib/layout/style/style.service.mjs +6 -4
- package/esm2020/lib/layout/style/style.set.directive.mjs +5 -4
- package/esm2020/lib/layout/text/hint.component.mjs +3 -3
- package/esm2020/lib/layout/text/icon.spacer.component.mjs +3 -3
- package/esm2020/lib/layout/text/label.component.mjs +3 -3
- package/esm2020/lib/layout/text/linkify.component.mjs +3 -3
- package/esm2020/lib/layout/text/note.component.mjs +3 -3
- package/esm2020/lib/layout/text/notice.component.mjs +3 -3
- package/esm2020/lib/layout/text/ok.component.mjs +3 -3
- package/esm2020/lib/layout/text/success.component.mjs +3 -3
- package/esm2020/lib/layout/text/text.chips.component.mjs +3 -3
- package/esm2020/lib/layout/text/text.module.mjs +4 -4
- package/esm2020/lib/layout/text/warn.component.mjs +3 -3
- package/esm2020/lib/loading/basic-loading.component.mjs +3 -3
- package/esm2020/lib/loading/loading-progress.component.mjs +4 -4
- package/esm2020/lib/loading/loading.action.directive.mjs +3 -3
- package/esm2020/lib/loading/loading.component.mjs +3 -3
- package/esm2020/lib/loading/loading.module.mjs +4 -4
- package/esm2020/lib/router/layout/anchor/anchor.component.mjs +9 -5
- package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +3 -3
- package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +3 -3
- package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +3 -3
- package/esm2020/lib/router/layout/anchor/anchor.module.mjs +10 -10
- package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +4 -4
- package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +5 -5
- package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +10 -10
- package/esm2020/lib/router/layout/index.mjs +2 -1
- package/esm2020/lib/router/layout/layout.module.mjs +23 -19
- package/esm2020/lib/router/layout/list/index.mjs +3 -0
- package/esm2020/lib/router/layout/list/list.module.mjs +21 -0
- package/esm2020/lib/router/layout/list/router.list.directive.mjs +42 -0
- package/esm2020/lib/router/layout/navbar/navbar.component.mjs +4 -4
- package/esm2020/lib/router/layout/navbar/navbar.module.mjs +10 -10
- package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +3 -3
- package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
- package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +14 -14
- package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +7 -4
- package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +4 -4
- package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +5 -5
- package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +9 -9
- package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
- package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +5 -5
- package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +9 -9
- package/esm2020/lib/screen/screen.module.mjs +4 -4
- package/esm2020/lib/screen/screen.service.mjs +5 -4
- package/fesm2015/dereekb-dbx-web.mjs +1581 -972
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +1578 -970
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/action.module.d.ts +10 -8
- package/lib/action/action.progress.component.d.ts +5 -0
- package/lib/action/index.d.ts +1 -0
- package/lib/action/snackbar/action.snackbar.generator.d.ts +5 -5
- package/lib/button/_button.scss +21 -0
- package/lib/button/button.component.d.ts +7 -3
- package/lib/button/button.module.d.ts +2 -2
- package/lib/button/index.d.ts +1 -0
- package/lib/button/progress/bar.button.component.d.ts +6 -0
- package/lib/button/progress/bar.button.component.scss +23 -0
- package/lib/button/progress/base.progress.button.directive.d.ts +37 -0
- package/lib/button/progress/button.progress.config.d.ts +51 -0
- package/lib/button/progress/button.progress.module.d.ts +17 -0
- package/lib/button/progress/index.d.ts +4 -0
- package/lib/button/progress/spinner.button.component.d.ts +9 -0
- package/lib/button/progress/spinner.button.component.scss +44 -0
- package/lib/dbx-web.module.d.ts +1 -3
- package/lib/interaction/dialog/_dialog.scss +18 -2
- package/lib/interaction/dialog/abstract.dialog.directive.d.ts +1 -1
- package/lib/interaction/filter/filter.module.d.ts +1 -1
- package/lib/interaction/filter/filter.popover.component.d.ts +2 -2
- package/lib/interaction/popover/popover.component.d.ts +3 -3
- package/lib/interaction/popover/popover.coordinator.service.d.ts +3 -1
- package/lib/interaction/popover/popover.module.d.ts +1 -3
- package/lib/interaction/popup/popup.component.d.ts +3 -3
- package/lib/interaction/popup/popup.coordinator.service.d.ts +3 -1
- package/lib/interaction/popup/popup.module.d.ts +1 -3
- package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +3 -3
- package/lib/interaction/prompt/prompt.module.d.ts +1 -1
- package/lib/layout/block/_block.scss +11 -8
- package/lib/layout/block/block.layout.module.d.ts +1 -1
- package/lib/layout/block/two.block.component.d.ts +5 -1
- package/lib/layout/column/_column.scss +119 -3
- package/lib/layout/column/two/index.d.ts +1 -0
- package/lib/layout/column/two/two.column.back.directive.d.ts +4 -4
- package/lib/layout/column/two/two.column.component.d.ts +23 -7
- package/lib/layout/column/two/two.column.context.directive.d.ts +18 -0
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +4 -4
- package/lib/layout/column/two/two.column.head.component.d.ts +3 -3
- package/lib/layout/column/two/two.column.module.d.ts +7 -6
- package/lib/layout/column/two/two.column.right.component.d.ts +6 -4
- package/lib/layout/column/two/two.column.sref.directive.d.ts +6 -7
- package/lib/layout/column/two/two.column.store.d.ts +4 -3
- package/lib/layout/content/_content.scss +25 -3
- package/lib/layout/content/content.box.directive.d.ts +2 -1
- package/lib/layout/content/content.container.directive.d.ts +2 -2
- package/lib/layout/flex/_flex.scss +4 -0
- package/lib/layout/flex/flex.group.directive.d.ts +1 -0
- package/lib/layout/list/index.d.ts +4 -0
- package/lib/layout/list/list.component.d.ts +14 -5
- package/lib/layout/list/list.directive.d.ts +9 -7
- package/lib/layout/list/list.layout.module.d.ts +10 -8
- package/lib/layout/list/list.view.d.ts +11 -1
- package/lib/layout/list/list.view.directive.d.ts +4 -1
- package/lib/layout/list/list.view.selection.directive.d.ts +4 -3
- package/lib/layout/list/list.view.value.component.d.ts +18 -3
- package/lib/layout/list/list.view.value.d.ts +27 -11
- package/lib/layout/list/list.view.value.directive.d.ts +9 -6
- package/lib/layout/list/list.view.value.item.directive.d.ts +4 -4
- package/lib/layout/list/list.view.value.modifier.d.ts +12 -0
- package/lib/layout/list/list.view.value.modifier.directive.d.ts +37 -0
- package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +17 -0
- package/lib/layout/list/list.view.value.selection.component.d.ts +10 -11
- package/lib/layout/list/list.wrapper.d.ts +11 -0
- package/lib/layout/section/section.layout.module.d.ts +1 -1
- package/lib/layout/style/_style.scss +12 -1
- package/lib/layout/text/_text.scss +9 -0
- package/lib/router/layout/anchor/_anchor.scss +5 -0
- package/lib/router/layout/anchor/anchor.component.d.ts +5 -4
- package/lib/router/layout/anchor/anchor.module.d.ts +4 -4
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +2 -2
- package/lib/router/layout/anchorlist/_anchorlist.scss +7 -0
- package/lib/router/layout/anchorlist/anchorlist.module.d.ts +4 -4
- package/lib/router/layout/index.d.ts +1 -0
- package/lib/router/layout/layout.module.d.ts +4 -3
- package/lib/router/layout/list/index.d.ts +2 -0
- package/lib/router/layout/list/list.module.d.ts +7 -0
- package/lib/router/layout/list/router.list.directive.d.ts +17 -0
- package/lib/router/layout/navbar/navbar.component.d.ts +4 -4
- package/lib/router/layout/navbar/navbar.module.d.ts +4 -4
- package/lib/router/layout/sidenav/sidenav.module.d.ts +4 -4
- package/lib/router/layout/sidenav/sidenav.page.component.d.ts +4 -2
- package/lib/router/provider/ngrouter/angular.router.module.d.ts +1 -1
- package/lib/router/provider/router.provider.config.d.ts +2 -2
- package/lib/router/provider/uirouter/uirouter.router.module.d.ts +1 -1
- package/lib/screen/screen.service.d.ts +2 -2
- package/lib/style/_config.scss +7 -1
- package/lib/style/_root-variables.scss +2 -0
- package/lib/style/_variables.scss +4 -0
- package/package.json +5 -23
- package/lib/layout/column/two.scss +0 -114
|
@@ -1,88 +1,102 @@
|
|
|
1
|
-
import { map, shareReplay, distinctUntilChanged } from 'rxjs';
|
|
1
|
+
import { map, shareReplay, distinctUntilChanged, of } from 'rxjs';
|
|
2
2
|
import { Component, Input } from '@angular/core';
|
|
3
3
|
import { DbxListView } from './list.view';
|
|
4
4
|
import { AbstractDbxValueListViewDirective } from './list.view.value.directive';
|
|
5
|
+
import { DbxValueListItemViewComponent } from './list.view.value.component';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "
|
|
9
|
-
import * as i4 from "@angular/material/
|
|
10
|
-
import * as i5 from "@
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "./list.view";
|
|
9
|
+
import * as i3 from "./list.view.value.component";
|
|
10
|
+
import * as i4 from "@angular/material/list";
|
|
11
|
+
import * as i5 from "@angular/material/icon";
|
|
12
|
+
import * as i6 from "@dereekb/dbx-core";
|
|
11
13
|
/**
|
|
12
|
-
*
|
|
14
|
+
* Renders a selection list view using input configuration. Requires a parent DbxListView.
|
|
13
15
|
*/
|
|
14
16
|
export class DbxSelectionValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
15
|
-
constructor(
|
|
16
|
-
super(
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.selectionMode$ = (this.dbxListView.selectionMode$ ?? of('select'))
|
|
20
|
+
.pipe(map(x => x ?? 'select'), distinctUntilChanged());
|
|
17
21
|
this.multiple$ = this.config$.pipe(map(x => x.multiple ?? true), distinctUntilChanged(), shareReplay(1));
|
|
18
22
|
}
|
|
19
23
|
}
|
|
20
|
-
DbxSelectionValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
21
|
-
DbxSelectionValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
|
22
|
-
<dbx-selection-list-view-content [multiple]="multiple$ | async" [items]="items$ | async"></dbx-selection-list-view-content>
|
|
23
|
-
`, isInline: true, components: [{ type: i0.forwardRef(function () { return DbxSelectionValueListItemViewComponent; }), selector: "dbx-selection-list-view-content", inputs: ["multiple", "
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
24
|
+
DbxSelectionValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSelectionValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
DbxSelectionValueListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view", usesInheritance: true, ngImport: i0, template: `
|
|
26
|
+
<dbx-selection-list-view-content [selectionMode]="selectionMode$ | async" [multiple]="multiple$ | async" [items]="items$ | async"></dbx-selection-list-view-content>
|
|
27
|
+
`, isInline: true, components: [{ type: i0.forwardRef(function () { return DbxSelectionValueListItemViewComponent; }), selector: "dbx-selection-list-view-content", inputs: ["multiple", "selectionMode"] }], pipes: { "async": i0.forwardRef(function () { return i1.AsyncPipe; }) } });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSelectionValueListViewComponent, decorators: [{
|
|
25
29
|
type: Component,
|
|
26
30
|
args: [{
|
|
27
31
|
selector: 'dbx-selection-list-view',
|
|
28
32
|
template: `
|
|
29
|
-
<dbx-selection-list-view-content [multiple]="multiple$ | async" [items]="items$ | async"></dbx-selection-list-view-content>
|
|
33
|
+
<dbx-selection-list-view-content [selectionMode]="selectionMode$ | async" [multiple]="multiple$ | async" [items]="items$ | async"></dbx-selection-list-view-content>
|
|
30
34
|
`
|
|
31
35
|
}]
|
|
32
|
-
}]
|
|
36
|
+
}] });
|
|
33
37
|
/**
|
|
34
38
|
* Content view for a DbxSelectionValueListView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
|
|
35
39
|
*/
|
|
36
|
-
export class DbxSelectionValueListItemViewComponent {
|
|
40
|
+
export class DbxSelectionValueListItemViewComponent extends DbxValueListItemViewComponent {
|
|
37
41
|
constructor(dbxListView) {
|
|
38
|
-
|
|
39
|
-
this.disabled$ = this.dbxListView.disabled$;
|
|
42
|
+
super(dbxListView);
|
|
40
43
|
if (!dbxListView.selectionChange) {
|
|
41
44
|
throw new Error('Parent dbxListView to DbxSelectionValueListViewComponent has no selectionChange emitter.');
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
|
-
onClickValue(value) {
|
|
45
|
-
this.dbxListView.clickValue?.next(value);
|
|
46
|
-
}
|
|
47
47
|
matSelectionChanged(selection) {
|
|
48
48
|
const options = selection.source.selectedOptions.selected;
|
|
49
49
|
const items = options.map(x => {
|
|
50
|
-
const { value, selected, disabled } = x;
|
|
51
|
-
return ({
|
|
50
|
+
const { value: itemValue, selected, disabled } = x;
|
|
51
|
+
return ({ itemValue, selected, disabled });
|
|
52
52
|
});
|
|
53
53
|
this.dbxListView.selectionChange.next({
|
|
54
54
|
items
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
DbxSelectionValueListItemViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
59
|
-
DbxSelectionValueListItemViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
|
60
|
-
<
|
|
61
|
-
<
|
|
62
|
-
<
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
58
|
+
DbxSelectionValueListItemViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSelectionValueListItemViewComponent, deps: [{ token: i2.DbxListView }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
+
DbxSelectionValueListItemViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSelectionValueListItemViewComponent, selector: "dbx-selection-list-view-content", inputs: { multiple: "multiple", selectionMode: "selectionMode" }, host: { classAttribute: "dbx-list-view dbx-selection-list-view" }, usesInheritance: true, ngImport: i0, template: `
|
|
60
|
+
<ng-container [ngSwitch]="selectionMode">
|
|
61
|
+
<ng-container *ngSwitchCase="'view'">
|
|
62
|
+
<dbx-list-view-content [items]="items"></dbx-list-view-content>
|
|
63
|
+
</ng-container>
|
|
64
|
+
<ng-container *ngSwitchDefault>
|
|
65
|
+
<mat-selection-list [disabled]="disabled$ | async" [multiple]="multiple" (selectionChange)="matSelectionChanged($event)">
|
|
66
|
+
<mat-list-option class="dbx-list-view-item" *ngFor="let item of items" [selected]="item.selected" [disabled]="item.disabled" [value]="item.itemValue" (click)="onClickValue(item.itemValue)">
|
|
67
|
+
<mat-icon matListIcon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
68
|
+
<div dbx-injection [config]="item.config"></div>
|
|
69
|
+
</mat-list-option>
|
|
70
|
+
</mat-selection-list>
|
|
71
|
+
</ng-container>
|
|
72
|
+
</ng-container>
|
|
73
|
+
`, isInline: true, components: [{ type: i3.DbxValueListItemViewComponent, selector: "dbx-list-view-content", inputs: ["emitAllClicks", "items"] }, { type: i4.MatSelectionList, selector: "mat-selection-list", inputs: ["disableRipple", "tabIndex", "color", "compareWith", "disabled", "multiple"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { type: i4.MatListOption, selector: "mat-list-option", inputs: ["disableRipple", "checkboxPosition", "color", "value", "disabled", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i6.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }], pipes: { "async": i1.AsyncPipe } });
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSelectionValueListItemViewComponent, decorators: [{
|
|
68
75
|
type: Component,
|
|
69
76
|
args: [{
|
|
70
77
|
selector: 'dbx-selection-list-view-content',
|
|
71
78
|
template: `
|
|
72
|
-
<
|
|
73
|
-
<
|
|
74
|
-
<
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
<ng-container [ngSwitch]="selectionMode">
|
|
80
|
+
<ng-container *ngSwitchCase="'view'">
|
|
81
|
+
<dbx-list-view-content [items]="items"></dbx-list-view-content>
|
|
82
|
+
</ng-container>
|
|
83
|
+
<ng-container *ngSwitchDefault>
|
|
84
|
+
<mat-selection-list [disabled]="disabled$ | async" [multiple]="multiple" (selectionChange)="matSelectionChanged($event)">
|
|
85
|
+
<mat-list-option class="dbx-list-view-item" *ngFor="let item of items" [selected]="item.selected" [disabled]="item.disabled" [value]="item.itemValue" (click)="onClickValue(item.itemValue)">
|
|
86
|
+
<mat-icon matListIcon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
87
|
+
<div dbx-injection [config]="item.config"></div>
|
|
88
|
+
</mat-list-option>
|
|
89
|
+
</mat-selection-list>
|
|
90
|
+
</ng-container>
|
|
91
|
+
</ng-container>
|
|
78
92
|
`,
|
|
79
93
|
host: {
|
|
80
94
|
'class': 'dbx-list-view dbx-selection-list-view'
|
|
81
95
|
}
|
|
82
96
|
}]
|
|
83
|
-
}], ctorParameters: function () { return [{ type:
|
|
97
|
+
}], ctorParameters: function () { return [{ type: i2.DbxListView }]; }, propDecorators: { multiple: [{
|
|
84
98
|
type: Input
|
|
85
|
-
}],
|
|
99
|
+
}], selectionMode: [{
|
|
86
100
|
type: Input
|
|
87
101
|
}] } });
|
|
88
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
102
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC52aWV3LnZhbHVlLnNlbGVjdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ij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GVjdGlvbk1vZGU+O1xuXG4gIGNvbnN0cnVjdG9yKGRieExpc3RWaWV3OiBEYnhMaXN0VmlldzxUPikge1xuICAgIHN1cGVyKGRieExpc3RWaWV3KTtcblxuICAgIGlmICghZGJ4TGlzdFZpZXcuc2VsZWN0aW9uQ2hhbmdlKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ1BhcmVudCBkYnhMaXN0VmlldyB0byBEYnhTZWxlY3Rpb25WYWx1ZUxpc3RWaWV3Q29tcG9uZW50IGhhcyBubyBzZWxlY3Rpb25DaGFuZ2UgZW1pdHRlci4nKTtcbiAgICB9XG4gIH1cblxuICBtYXRTZWxlY3Rpb25DaGFuZ2VkKHNlbGVjdGlvbjogTWF0U2VsZWN0aW9uTGlzdENoYW5nZSk6IHZvaWQge1xuICAgIGNvbnN0IG9wdGlvbnMgPSBzZWxlY3Rpb24uc291cmNlLnNlbGVjdGVkT3B0aW9ucy5zZWxlY3RlZDtcbiAgICBjb25zdCBpdGVtczogTGlzdFNlbGVjdGlvblN0YXRlSXRlbTxUPltdID0gb3B0aW9ucy5tYXAoeCA9PiB7XG4gICAgICBjb25zdCB7IHZhbHVlOiBpdGVtVmFsdWUsIHNlbGVjdGVkLCBkaXNhYmxlZCB9ID0geDtcbiAgICAgIHJldHVybiAoeyBpdGVtVmFsdWUsIHNlbGVjdGVkLCBkaXNhYmxlZCB9KTtcbiAgICB9KTtcblxuICAgIHRoaXMuZGJ4TGlzdFZpZXcuc2VsZWN0aW9uQ2hhbmdlIS5uZXh0KHtcbiAgICAgIGl0ZW1zXG4gICAgfSk7XG4gIH1cblxufVxuIl19
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { forwardRef } from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Common interface for views that may wrap a DbxListView, and pass values through to it.
|
|
4
|
+
*/
|
|
5
|
+
export class DbxListViewWrapper {
|
|
6
|
+
}
|
|
7
|
+
export function ProvideDbxListViewWrapper(sourceType) {
|
|
8
|
+
return [{
|
|
9
|
+
provide: DbxListViewWrapper,
|
|
10
|
+
useExisting: forwardRef(() => sourceType)
|
|
11
|
+
}];
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZGJ4LXdlYi9zcmMvbGliL2xheW91dC9saXN0L2xpc3Qud3JhcHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsVUFBVSxFQUFrQixNQUFNLGVBQWUsQ0FBQztBQUczRDs7R0FFRztBQUNGLE1BQU0sT0FBZ0Isa0JBQWtCO0NBRXhDO0FBRUQsTUFBTSxVQUFVLHlCQUF5QixDQUFvQyxVQUFtQjtJQUM5RixPQUFPLENBQUM7WUFDTixPQUFPLEVBQUUsa0JBQWtCO1lBQzNCLFdBQVcsRUFBRSxVQUFVLENBQUMsR0FBRyxFQUFFLENBQUMsVUFBVSxDQUFDO1NBQzFDLENBQUMsQ0FBQztBQUNMLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBPYnNlcnZhYmxlIH0gZnJvbSAncnhqcyc7XG5pbXBvcnQgeyBMaXN0TG9hZGluZ1N0YXRlIH0gZnJvbSBcIkBkZXJlZWtiL3J4anNcIjtcbmltcG9ydCB7IGZvcndhcmRSZWYsIFByb3ZpZGVyLCBUeXBlIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcbmltcG9ydCB7IE1heWJlIH0gZnJvbSAnQGRlcmVla2IvdXRpbCc7XG5cbi8qKlxuICogQ29tbW9uIGludGVyZmFjZSBmb3Igdmlld3MgdGhhdCBtYXkgd3JhcCBhIERieExpc3RWaWV3LCBhbmQgcGFzcyB2YWx1ZXMgdGhyb3VnaCB0byBpdC5cbiAqL1xuIGV4cG9ydCBhYnN0cmFjdCBjbGFzcyBEYnhMaXN0Vmlld1dyYXBwZXI8VCwgUyBleHRlbmRzIExpc3RMb2FkaW5nU3RhdGU8VD4gPSBMaXN0TG9hZGluZ1N0YXRlPFQ+PiB7XG4gIHN0YXRlJD86IE1heWJlPE9ic2VydmFibGU8Uz4+O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gUHJvdmlkZURieExpc3RWaWV3V3JhcHBlcjxWIGV4dGVuZHMgRGJ4TGlzdFZpZXdXcmFwcGVyPGFueT4+KHNvdXJjZVR5cGU6IFR5cGU8Vj4pOiBQcm92aWRlcltdIHtcbiAgcmV0dXJuIFt7XG4gICAgcHJvdmlkZTogRGJ4TGlzdFZpZXdXcmFwcGVyLFxuICAgIHVzZUV4aXN0aW5nOiBmb3J3YXJkUmVmKCgpID0+IHNvdXJjZVR5cGUpXG4gIH1dO1xufVxuIl19
|
|
@@ -11,8 +11,8 @@ export class DbxSectionComponent extends DbxSectionHeaderComponent {
|
|
|
11
11
|
this.elevated = false;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
DbxSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
15
|
-
DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
|
14
|
+
DbxSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSectionComponent, selector: "dbx-section", inputs: { elevated: "elevated" }, host: { properties: { "class": "(elevated) ? 'dbx-section-elevated' : ''" }, classAttribute: "d-block, dbx-section" }, usesInheritance: true, ngImport: i0, template: `
|
|
16
16
|
<div class="dbx-section-header" [h]="3" [header]="header" [icon]="icon" [hint]="hint">
|
|
17
17
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
18
18
|
</div>
|
|
@@ -20,7 +20,7 @@ DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
20
20
|
<ng-content></ng-content>
|
|
21
21
|
</div>
|
|
22
22
|
`, isInline: true, components: [{ type: i1.DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: 'dbx-section',
|
|
@@ -10,8 +10,8 @@ export class DbxSectionHeaderComponent {
|
|
|
10
10
|
return Boolean(this.header || this.icon);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
DbxSectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
14
|
-
DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
|
13
|
+
DbxSectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: { h: "h", header: "header", icon: "icon", hint: "hint" }, ngImport: i0, template: `
|
|
15
15
|
<div class="dbx-section-header-content">
|
|
16
16
|
<ng-container [ngSwitch]="showTitle && (h ?? 1)">
|
|
17
17
|
<h1 *ngSwitchCase="1" class="dbx-section-header-content-title">
|
|
@@ -38,7 +38,7 @@ DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
38
38
|
<mat-icon *ngIf="icon">{{icon}}</mat-icon><span class="title-text">{{ header }}</span>
|
|
39
39
|
</ng-template>
|
|
40
40
|
`, isInline: true, components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionHeaderComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{
|
|
44
44
|
selector: '.dbx-section-header',
|
|
@@ -18,8 +18,8 @@ export class DbxIntroActionSectionComponent extends DbxSectionComponent {
|
|
|
18
18
|
this.showAction.next();
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
DbxIntroActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
22
|
-
DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
|
21
|
+
DbxIntroActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIntroActionSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxIntroActionSectionComponent, selector: "dbx-intro-action-section", inputs: { showIntro: "showIntro", action: "action" }, outputs: { showAction: "showAction" }, usesInheritance: true, ngImport: i0, template: `
|
|
23
23
|
<div class="dbx-intro-action-section" [ngSwitch]="showIntro">
|
|
24
24
|
<div *ngSwitchCase="true" class="dbx-intro-action-section-intro">
|
|
25
25
|
<p>{{ hint }}</p>
|
|
@@ -35,7 +35,7 @@ DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
35
35
|
</ng-container>
|
|
36
36
|
</div>
|
|
37
37
|
`, isInline: true, components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }] });
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIntroActionSectionComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: 'dbx-intro-action-section',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbxRouterAnchorModule } from '../../router';
|
|
2
2
|
import { MatButtonModule } from '@angular/material/button';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { NgModule } from '@angular/core';
|
|
@@ -15,13 +15,13 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
*/
|
|
16
16
|
export class DbxSectionLayoutModule {
|
|
17
17
|
}
|
|
18
|
-
DbxSectionLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
19
|
-
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
|
18
|
+
DbxSectionLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, declarations: [DbxSectionHeaderComponent,
|
|
20
20
|
DbxSectionPageComponent,
|
|
21
21
|
DbxSectionComponent,
|
|
22
22
|
DbxSubSectionComponent,
|
|
23
23
|
DbxIntroActionSectionComponent], imports: [CommonModule,
|
|
24
|
-
|
|
24
|
+
DbxRouterAnchorModule,
|
|
25
25
|
MatButtonModule,
|
|
26
26
|
MatRippleModule,
|
|
27
27
|
MatIconModule], exports: [DbxSectionHeaderComponent,
|
|
@@ -29,19 +29,19 @@ DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
29
29
|
DbxSectionComponent,
|
|
30
30
|
DbxSubSectionComponent,
|
|
31
31
|
DbxIntroActionSectionComponent] });
|
|
32
|
-
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
|
32
|
+
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, imports: [[
|
|
33
33
|
CommonModule,
|
|
34
|
-
|
|
34
|
+
DbxRouterAnchorModule,
|
|
35
35
|
MatButtonModule,
|
|
36
36
|
MatRippleModule,
|
|
37
37
|
MatIconModule
|
|
38
38
|
]] });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, decorators: [{
|
|
40
40
|
type: NgModule,
|
|
41
41
|
args: [{
|
|
42
42
|
imports: [
|
|
43
43
|
CommonModule,
|
|
44
|
-
|
|
44
|
+
DbxRouterAnchorModule,
|
|
45
45
|
MatButtonModule,
|
|
46
46
|
MatRippleModule,
|
|
47
47
|
MatIconModule
|
|
@@ -62,4 +62,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImpor
|
|
|
62
62
|
]
|
|
63
63
|
}]
|
|
64
64
|
}] });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi5sYXlvdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZGJ4LXdlYi9zcmMvbGliL2xheW91dC9zZWN0aW9uL3NlY3Rpb24ubGF5b3V0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDckQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzNELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDdkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU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HtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBEYnhSb3V0ZXJBbmNob3JNb2R1bGUsXG4gICAgTWF0QnV0dG9uTW9kdWxlLFxuICAgIE1hdFJpcHBsZU1vZHVsZSxcbiAgICBNYXRJY29uTW9kdWxlXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERieFNlY3Rpb25IZWFkZXJDb21wb25lbnQsXG4gICAgRGJ4U2VjdGlvblBhZ2VDb21wb25lbnQsXG4gICAgRGJ4U2VjdGlvbkNvbXBvbmVudCxcbiAgICBEYnhTdWJTZWN0aW9uQ29tcG9uZW50LFxuICAgIERieEludHJvQWN0aW9uU2VjdGlvbkNvbXBvbmVudFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRGJ4U2VjdGlvbkhlYWRlckNvbXBvbmVudCxcbiAgICBEYnhTZWN0aW9uUGFnZUNvbXBvbmVudCxcbiAgICBEYnhTZWN0aW9uQ29tcG9uZW50LFxuICAgIERieFN1YlNlY3Rpb25Db21wb25lbnQsXG4gICAgRGJ4SW50cm9BY3Rpb25TZWN0aW9uQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRGJ4U2VjdGlvbkxheW91dE1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -7,8 +7,8 @@ import * as i1 from "./section.header.component";
|
|
|
7
7
|
*/
|
|
8
8
|
export class DbxSectionPageComponent extends DbxSectionHeaderComponent {
|
|
9
9
|
}
|
|
10
|
-
DbxSectionPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
11
|
-
DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
|
10
|
+
DbxSectionPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSectionPageComponent, selector: "dbx-section-page", usesInheritance: true, ngImport: i0, template: `
|
|
12
12
|
<div class="dbx-content-page dbx-section-page">
|
|
13
13
|
<div class="dbx-section-header" [h]="h ?? 2" [header]="header" [icon]="icon" [hint]="hint">
|
|
14
14
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
@@ -16,7 +16,7 @@ DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
16
16
|
<ng-content></ng-content>
|
|
17
17
|
</div>
|
|
18
18
|
`, isInline: true, components: [{ type: i1.DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionPageComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: 'dbx-section-page',
|
|
@@ -7,8 +7,8 @@ import * as i1 from "./section.header.component";
|
|
|
7
7
|
*/
|
|
8
8
|
export class DbxSubSectionComponent extends DbxSectionComponent {
|
|
9
9
|
}
|
|
10
|
-
DbxSubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
11
|
-
DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
|
10
|
+
DbxSubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSubSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSubSectionComponent, selector: "dbx-subsection", usesInheritance: true, ngImport: i0, template: `
|
|
12
12
|
<div class="dbx-subsection">
|
|
13
13
|
<div class="dbx-section-header" [h]="h ?? 4" [header]="header" [icon]="icon" [hint]="hint">
|
|
14
14
|
<ng-content select="[sectionHeader]"></ng-content>
|
|
@@ -18,7 +18,7 @@ DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
20
|
`, isInline: true, components: [{ type: i1.DbxSectionHeaderComponent, selector: ".dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSubSectionComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{
|
|
24
24
|
selector: 'dbx-subsection',
|
|
@@ -4,9 +4,9 @@ import * as i1 from "@angular/material/icon";
|
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
5
|
export class DbxStepComponent {
|
|
6
6
|
}
|
|
7
|
-
DbxStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
8
|
-
DbxStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
7
|
+
DbxStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
DbxStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxStepComponent, selector: "dbx-step", inputs: { done: "done", step: "step", text: "text", hint: "hint" }, ngImport: i0, template: "<div class=\"step-section\" [ngClass]=\"(done) ? 'done' : ''\">\n <div class=\"step-section-header\">\n <span class=\"step\">{{ step }}.</span>\n <mat-icon class=\"done-check\" *ngIf=\"done\">done</mat-icon>\n <span class=\"text\">{{ text }}</span>\n <p *ngIf=\"hint\" class=\"hint\">{{ hint }}</p>\n </div>\n <div class=\"step-section-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepComponent, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{ selector: 'dbx-step', template: "<div class=\"step-section\" [ngClass]=\"(done) ? 'done' : ''\">\n <div class=\"step-section-header\">\n <span class=\"step\">{{ step }}.</span>\n <mat-icon class=\"done-check\" *ngIf=\"done\">done</mat-icon>\n <span class=\"text\">{{ text }}</span>\n <p *ngIf=\"hint\" class=\"hint\">{{ hint }}</p>\n </div>\n <div class=\"step-section-content\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
12
12
|
}], propDecorators: { done: [{
|
|
@@ -5,14 +5,14 @@ import { DbxStepComponent } from './step.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class DbxStepLayoutModule {
|
|
7
7
|
}
|
|
8
|
-
DbxStepLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
9
|
-
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
|
8
|
+
DbxStepLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, declarations: [DbxStepComponent], imports: [CommonModule,
|
|
10
10
|
MatIconModule], exports: [DbxStepComponent] });
|
|
11
|
-
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
|
11
|
+
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, imports: [[
|
|
12
12
|
CommonModule,
|
|
13
13
|
MatIconModule
|
|
14
14
|
]] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
imports: [
|
|
@@ -2,9 +2,9 @@ import { Directive } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class DbxSpacerDirective {
|
|
4
4
|
}
|
|
5
|
-
DbxSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
6
|
-
DbxSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
5
|
+
DbxSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6
|
+
DbxSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxSpacerDirective, selector: "dbx-spacer, [dbx-spacer]", host: { classAttribute: "dbx-spacer" }, ngImport: i0 });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSpacerDirective, decorators: [{
|
|
8
8
|
type: Directive,
|
|
9
9
|
args: [{
|
|
10
10
|
selector: 'dbx-spacer, [dbx-spacer]',
|
|
@@ -21,9 +21,9 @@ export class DbxStyleBodyDirective extends AbstractSubscriptionDirective {
|
|
|
21
21
|
this._currentStyle = '';
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
DbxStyleBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
25
|
-
DbxStyleBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
24
|
+
DbxStyleBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleBodyDirective, deps: [{ token: i0.Renderer2 }, { token: i1.DbxStyleService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
DbxStyleBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxStyleBodyDirective, selector: "[dbxStyleBody]", host: { properties: { "class": "style" } }, usesInheritance: true, ngImport: i0 });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleBodyDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
selector: '[dbxStyleBody]',
|
|
@@ -18,9 +18,9 @@ export class DbxStyleDirective extends AbstractSubscriptionDirective {
|
|
|
18
18
|
this.style = '';
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
DbxStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
22
|
-
DbxStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
21
|
+
DbxStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleDirective, deps: [{ token: i1.DbxStyleService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
DbxStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxStyleDirective, selector: "dbx-style, [dbx-style], .dbx-style", host: { properties: { "class": "style" } }, usesInheritance: true, ngImport: i0 });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleDirective, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: 'dbx-style, [dbx-style], .dbx-style',
|
|
@@ -7,18 +7,18 @@ import { DbxStyleBodyDirective } from './style.body.directive';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export class DbxStyleLayoutModule {
|
|
9
9
|
}
|
|
10
|
-
DbxStyleLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
11
|
-
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2
|
|
10
|
+
DbxStyleLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, declarations: [DbxSpacerDirective,
|
|
12
12
|
DbxStyleDirective,
|
|
13
13
|
DbxSetStyleDirective,
|
|
14
14
|
DbxStyleBodyDirective], imports: [CommonModule], exports: [DbxSpacerDirective,
|
|
15
15
|
DbxStyleDirective,
|
|
16
16
|
DbxSetStyleDirective,
|
|
17
17
|
DbxStyleBodyDirective] });
|
|
18
|
-
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2
|
|
18
|
+
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, imports: [[
|
|
19
19
|
CommonModule
|
|
20
20
|
]] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
imports: [
|
|
@@ -57,12 +57,14 @@ export class DbxStyleService {
|
|
|
57
57
|
this._config.next(config);
|
|
58
58
|
}
|
|
59
59
|
destroy() {
|
|
60
|
+
this._defaultConfig.complete();
|
|
60
61
|
this._config.complete();
|
|
62
|
+
this._suffix.complete();
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
|
-
DbxStyleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2
|
|
64
|
-
DbxStyleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2
|
|
65
|
+
DbxStyleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleService, deps: [{ token: DBX_STYLE_DEFAULT_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
66
|
+
DbxStyleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleService, providedIn: 'root' });
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleService, decorators: [{
|
|
66
68
|
type: Injectable,
|
|
67
69
|
args: [{
|
|
68
70
|
providedIn: 'root'
|
|
@@ -73,4 +75,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImpor
|
|
|
73
75
|
type: Inject,
|
|
74
76
|
args: [DBX_STYLE_DEFAULT_CONFIG_TOKEN]
|
|
75
77
|
}] }]; } });
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2RieC13ZWIvc3JjL2xpYi9sYXlvdXQvc3R5bGUvc3R5bGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQXFCLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvRCxPQUFPLEVBQUUsZUFBZSxFQUFjLGFBQWEsRUFBRSxvQkFBb0IsRUFBRSxHQUFHLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNySCxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxjQUFjLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUc3RSxNQUFNLENBQUMsTUFBTSw4Qk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